[
  {
    "path": ".gitignore",
    "content": ".DS_Store\n*/node_modules\n"
  },
  {
    "path": "README.md",
    "content": "## What's up ya'll, welcome to Obscurify\r\n\r\nThe goal here is to show you as many interesting things about\r\nyour Spotify listening history as possible, and to quantify\r\nhow unique your taste is compared to everyone else.\r\n\r\nObscurify is designed with a serverless architecture hosted in AWS. It uses API Gateway with Lambda to host the backend, while the frontend is deployed with Amplify.\r\n\r\nThis project contains two elements: on the backend are some Lambda functions in the `/lambda` directory, and in `/frontend` an Angular 9 app.\r\n"
  },
  {
    "path": "frontend/README.md",
    "content": "# Obscurify3\n\nThis project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.3.21.\n\n## Development server\n\nRun `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.\n\n## Code scaffolding\n\nRun `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.\n\n## Build\n\nRun `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.\n\n## Running unit tests\n\nRun `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).\n\n## Running end-to-end tests\n\nRun `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).\n\n## Further help\n\nTo get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).\n"
  },
  {
    "path": "frontend/angular.json",
    "content": "{\n  \"$schema\": \"./node_modules/@angular/cli/lib/config/schema.json\",\n  \"version\": 1,\n  \"newProjectRoot\": \"projects\",\n  \"projects\": {\n    \"obscurify3\": {\n      \"projectType\": \"application\",\n      \"schematics\": {\n        \"@schematics/angular:component\": {\n          \"style\": \"scss\"\n        }\n      },\n      \"root\": \"\",\n      \"sourceRoot\": \"src\",\n      \"prefix\": \"app\",\n      \"architect\": {\n        \"build\": {\n          \"builder\": \"@angular-devkit/build-angular:browser\",\n          \"options\": {\n            \"outputPath\": \"dist/obscurify3\",\n            \"index\": \"src/index.html\",\n            \"main\": \"src/main.ts\",\n            \"polyfills\": \"src/polyfills.ts\",\n            \"tsConfig\": \"tsconfig.app.json\",\n            \"aot\": true,\n            \"assets\": [\n              \"src/favicon.ico\",\n              \"src/assets\",\n              \"src/manifest.webmanifest\"\n            ],\n            \"styles\": [\n              \"src/styles.scss\"\n            ],\n            \"stylePreprocessorOptions\": {\n              \"includePaths\": [\n                \"src/app/scss\"\n              ]\n            },\n            \"scripts\": []\n          },\n          \"configurations\": {\n            \"production\": {\n              \"fileReplacements\": [\n                {\n                  \"replace\": \"src/environments/environment.ts\",\n                  \"with\": \"src/environments/environment.prod.ts\"\n                }\n              ],\n              \"optimization\": true,\n              \"outputHashing\": \"all\",\n              \"sourceMap\": false,\n              \"extractCss\": true,\n              \"namedChunks\": false,\n              \"extractLicenses\": true,\n              \"vendorChunk\": false,\n              \"buildOptimizer\": false,\n              \"budgets\": [\n                {\n                  \"type\": \"initial\",\n                  \"maximumWarning\": \"2mb\",\n                  \"maximumError\": \"5mb\"\n                },\n                {\n                  \"type\": \"anyComponentStyle\",\n                  \"maximumWarning\": \"6kb\",\n                  \"maximumError\": \"100kb\"\n                }\n              ],\n              \"serviceWorker\": true,\n              \"ngswConfigPath\": \"ngsw-config.json\"\n            },\n            \"develop\": {\n              \"fileReplacements\": [\n                {\n                  \"replace\": \"src/environments/environment.ts\",\n                  \"with\": \"src/environments/environment.dev.ts\"\n                }\n              ],\n              \"outputHashing\": \"all\",\n              \"sourceMap\": true,\n              \"extractCss\": true,\n              \"namedChunks\": false,\n              \"extractLicenses\": true,\n              \"vendorChunk\": false,\n              \"buildOptimizer\": false,\n              \"serviceWorker\": true,\n              \"ngswConfigPath\": \"ngsw-config.json\"\n            }\n          }\n        },\n        \"serve\": {\n          \"builder\": \"@angular-devkit/build-angular:dev-server\",\n          \"options\": {\n            \"port\": 3000,\n            \"browserTarget\": \"obscurify3:build\"\n          },\n          \"configurations\": {\n            \"production\": {\n              \"browserTarget\": \"obscurify3:build:production\"\n            }\n          }\n        },\n        \"extract-i18n\": {\n          \"builder\": \"@angular-devkit/build-angular:extract-i18n\",\n          \"options\": {\n            \"browserTarget\": \"obscurify3:build\"\n          }\n        },\n        \"test\": {\n          \"builder\": \"@angular-devkit/build-angular:karma\",\n          \"options\": {\n            \"main\": \"src/test.ts\",\n            \"polyfills\": \"src/polyfills.ts\",\n            \"tsConfig\": \"tsconfig.spec.json\",\n            \"karmaConfig\": \"karma.conf.js\",\n            \"assets\": [\n              \"src/favicon.ico\",\n              \"src/assets\",\n              \"src/manifest.webmanifest\"\n            ],\n            \"styles\": [\n              \"src/styles.scss\"\n            ],\n            \"scripts\": []\n          }\n        },\n        \"lint\": {\n          \"builder\": \"@angular-devkit/build-angular:tslint\",\n          \"options\": {\n            \"tsConfig\": [\n              \"tsconfig.app.json\",\n              \"tsconfig.spec.json\",\n              \"e2e/tsconfig.json\"\n            ],\n            \"exclude\": [\n              \"**/node_modules/**\"\n            ]\n          }\n        },\n        \"e2e\": {\n          \"builder\": \"@angular-devkit/build-angular:protractor\",\n          \"options\": {\n            \"protractorConfig\": \"e2e/protractor.conf.js\",\n            \"devServerTarget\": \"obscurify3:serve\"\n          },\n          \"configurations\": {\n            \"production\": {\n              \"devServerTarget\": \"obscurify3:serve:production\"\n            }\n          }\n        }\n      }\n    }},\n  \"defaultProject\": \"obscurify3\"\n}\n"
  },
  {
    "path": "frontend/browserslist",
    "content": "# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.\n# For additional information regarding the format and rule options, please see:\n# https://github.com/browserslist/browserslist#queries\n\n# You can see what browsers were selected by your queries by running:\n#   npx browserslist\n\n> 0.5%\nlast 2 versions\nFirefox ESR\nnot dead\nnot IE 9-11 # For IE 9-11 support, remove 'not'."
  },
  {
    "path": "frontend/dist/obscurify3/index.html",
    "content": "<!doctype html>\n<html lang=\"en\">\n<head>\n  <meta charset=\"utf-8\">\n  <title>Obscurify3</title>\n  <base href=\"/\">\n  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n  <link rel=\"icon\" type=\"image/x-icon\" href=\"favicon.ico\">\n\n  <script src=\"https://kit.fontawesome.com/432e11ca7a.js\" crossorigin=\"anonymous\"></script>\n\n</head>\n<body>\n  <app-root></app-root>\n<script src=\"runtime-es2015.js\" type=\"module\"></script><script src=\"runtime-es5.js\" nomodule defer></script><script src=\"polyfills-es5.js\" nomodule defer></script><script src=\"polyfills-es2015.js\" type=\"module\"></script><script src=\"styles-es2015.js\" type=\"module\"></script><script src=\"styles-es5.js\" nomodule defer></script><script src=\"vendor-es2015.js\" type=\"module\"></script><script src=\"vendor-es5.js\" nomodule defer></script><script src=\"main-es2015.js\" type=\"module\"></script><script src=\"main-es5.js\" nomodule defer></script></body>\n</html>\n"
  },
  {
    "path": "frontend/dist/obscurify3/main-es2015.js",
    "content": "(window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || []).push([[\"main\"],{\n\n/***/ \"./$$_lazy_route_resource lazy recursive\":\n/*!******************************************************!*\\\n  !*** ./$$_lazy_route_resource lazy namespace object ***!\n  \\******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nfunction webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = \"./$$_lazy_route_resource lazy recursive\";\n\n/***/ }),\n\n/***/ \"./node_modules/raw-loader/dist/cjs.js!./src/app/app.component.html\":\n/*!**************************************************************************!*\\\n  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/app.component.html ***!\n  \\**************************************************************************/\n/*! exports provided: default */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\"<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\\n<!-- * * * * * * * * * * * The content below * * * * * * * * * * * -->\\n<!-- * * * * * * * * * * is only a placeholder * * * * * * * * * * -->\\n<!-- * * * * * * * * * * and can be replaced. * * * * * * * * * * * -->\\n<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\\n<!-- * * * * * * * * * Delete the template below * * * * * * * * * * -->\\n<!-- * * * * * * * to get started with your project! * * * * * * * * -->\\n<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\\n\\n<!-- <style>\\n  :host {\\n    font-family: -apple-system, BlinkMacSystemFont, \\\"Segoe UI\\\", Roboto, Helvetica, Arial, sans-serif, \\\"Apple Color Emoji\\\", \\\"Segoe UI Emoji\\\", \\\"Segoe UI Symbol\\\";\\n    font-size: 14px;\\n    color: #333;\\n    box-sizing: border-box;\\n    -webkit-font-smoothing: antialiased;\\n    -moz-osx-font-smoothing: grayscale;\\n  }\\n\\n  h1,\\n  h2,\\n  h3,\\n  h4,\\n  h5,\\n  h6 {\\n    margin: 8px 0;\\n  }\\n\\n  p {\\n    margin: 0;\\n  }\\n\\n  .spacer {\\n    flex: 1;\\n  }\\n\\n  .toolbar {\\n    height: 60px;\\n    margin: -8px;\\n    display: flex;\\n    align-items: center;\\n    background-color: #1976d2;\\n    color: white;\\n    font-weight: 600;\\n  }\\n\\n  .toolbar img {\\n    margin: 0 16px;\\n  }\\n\\n  .toolbar #twitter-logo {\\n    height: 40px;\\n    margin: 0 16px;\\n  }\\n\\n  .toolbar #twitter-logo:hover {\\n    opacity: 0.8;\\n  }\\n\\n  .content {\\n    display: flex;\\n    margin: 32px auto;\\n    padding: 0 16px;\\n    max-width: 960px;\\n    flex-direction: column;\\n    align-items: center;\\n  }\\n\\n  svg.material-icons {\\n    height: 24px;\\n    width: auto;\\n  }\\n\\n  svg.material-icons:not(:last-child) {\\n    margin-right: 8px;\\n  }\\n\\n  .card svg.material-icons path {\\n    fill: #888;\\n  }\\n\\n  .card-container {\\n    display: flex;\\n    flex-wrap: wrap;\\n    justify-content: center;\\n    margin-top: 16px;\\n  }\\n\\n  .card {\\n    border-radius: 4px;\\n    border: 1px solid #eee;\\n    background-color: #fafafa;\\n    height: 40px;\\n    width: 200px;\\n    margin: 0 8px 16px;\\n    padding: 16px;\\n    display: flex;\\n    flex-direction: row;\\n    justify-content: center;\\n    align-items: center;\\n    transition: all 0.2s ease-in-out;\\n    line-height: 24px;\\n  }\\n\\n  .card-container .card:not(:last-child) {\\n    margin-right: 0;\\n  }\\n\\n  .card.card-small {\\n    height: 16px;\\n    width: 168px;\\n  }\\n\\n  .card-container .card:not(.highlight-card) {\\n    cursor: pointer;\\n  }\\n\\n  .card-container .card:not(.highlight-card):hover {\\n    transform: translateY(-3px);\\n    box-shadow: 0 4px 17px rgba(black, 0.35);\\n  }\\n\\n  .card-container .card:not(.highlight-card):hover .material-icons path {\\n    fill: rgb(105, 103, 103);\\n  }\\n\\n  .card.highlight-card {\\n    background-color: #1976d2;\\n    color: white;\\n    font-weight: 600;\\n    border: none;\\n    width: auto;\\n    min-width: 30%;\\n    position: relative;\\n  }\\n\\n  .card.card.highlight-card span {\\n    margin-left: 60px;\\n  }\\n\\n  svg#rocket {\\n    width: 80px;\\n    position: absolute;\\n    left: -10px;\\n    top: -24px;\\n  }\\n\\n  svg#rocket-smoke {\\n    height: 100vh;\\n    position: absolute;\\n    top: 10px;\\n    right: 180px;\\n    z-index: -10;\\n  }\\n\\n  a,\\n  a:visited,\\n  a:hover {\\n    color: #1976d2;\\n    text-decoration: none;\\n  }\\n\\n  a:hover {\\n    color: #125699;\\n  }\\n\\n  .terminal {\\n    position: relative;\\n    width: 80%;\\n    max-width: 600px;\\n    border-radius: 6px;\\n    padding-top: 45px;\\n    margin-top: 8px;\\n    overflow: hidden;\\n    background-color: rgb(15, 15, 16);\\n  }\\n\\n  .terminal::before {\\n    content: \\\"\\\\2022 \\\\2022 \\\\2022\\\";\\n    position: absolute;\\n    top: 0;\\n    left: 0;\\n    height: 4px;\\n    background: rgb(58, 58, 58);\\n    color: #c2c3c4;\\n    width: 100%;\\n    font-size: 2rem;\\n    line-height: 0;\\n    padding: 14px 0;\\n    text-indent: 4px;\\n  }\\n\\n  .terminal pre {\\n    font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;\\n    color: white;\\n    padding: 0 1rem 1rem;\\n    margin: 0;\\n  }\\n\\n  .circle-link {\\n    height: 40px;\\n    width: 40px;\\n    border-radius: 40px;\\n    margin: 8px;\\n    background-color: white;\\n    border: 1px solid #eeeeee;\\n    display: flex;\\n    justify-content: center;\\n    align-items: center;\\n    cursor: pointer;\\n    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);\\n    transition: 1s ease-out;\\n  }\\n\\n  .circle-link:hover {\\n    transform: translateY(-0.25rem);\\n    box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.2);\\n  }\\n\\n  footer {\\n    margin-top: 8px;\\n    display: flex;\\n    align-items: center;\\n    line-height: 20px;\\n  }\\n\\n  footer a {\\n    display: flex;\\n    align-items: center;\\n  }\\n\\n  .github-star-badge {\\n    color: #24292e;\\n    display: flex;\\n    align-items: center;\\n    font-size: 12px;\\n    padding: 3px 10px;\\n    border: 1px solid rgba(27,31,35,.2);\\n    border-radius: 3px;\\n    background-image: linear-gradient(-180deg,#fafbfc,#eff3f6 90%);\\n    margin-left: 4px;\\n    font-weight: 600;\\n    font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;\\n  }\\n\\n  .github-star-badge:hover {\\n    background-image: linear-gradient(-180deg,#f0f3f6,#e6ebf1 90%);\\n    border-color: rgba(27,31,35,.35);\\n    background-position: -.5em;\\n  }\\n\\n  .github-star-badge .material-icons {\\n    height: 16px;\\n    width: 16px;\\n    margin-right: 4px;\\n  }\\n\\n  svg#clouds {\\n    position: fixed;\\n    bottom: -160px;\\n    left: -230px;\\n    z-index: -10;\\n    width: 1920px;\\n  }\\n\\n\\n  /* Responsive Styles */\\n  @media screen and (max-width: 767px) {\\n\\n    .card-container > *:not(.circle-link) ,\\n    .terminal {\\n      width: 100%;\\n    }\\n\\n    .card:not(.highlight-card) {\\n      height: 16px;\\n      margin: 8px 0;\\n    }\\n\\n    .card.highlight-card span {\\n      margin-left: 72px;\\n    }\\n\\n    svg#rocket-smoke {\\n      right: 120px;\\n      transform: rotate(-5deg);\\n    }\\n  }\\n\\n  @media screen and (max-width: 575px) {\\n    svg#rocket-smoke {\\n      display: none;\\n      visibility: hidden;\\n    }\\n  }\\n</style> -->\\n\\n\\n<router-outlet></router-outlet>\\n\");\n\n/***/ }),\n\n/***/ \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/about/about.component.html\":\n/*!*********************************************************************************************!*\\\n  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/components/about/about.component.html ***!\n  \\*********************************************************************************************/\n/*! exports provided: default */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\"<main fxLayout=\\\"column\\\">\\n    <section fxFlex=\\\"1 1 100%\\\">\\n        <a class=\\\"back__btn\\\" routerLink=\\\"/login\\\"> <i class=\\\"fas fa-arrow-left\\\"></i> Go back </a>\\n    </section>\\n    <section>\\n        <h2>\\n            About\\n          </h2>\\n          <p>\\n            The goal of Obscurify is to help you better understand your own music taste. It uses\\n            Spotify's <a href=\\\"https://developer.spotify.com/web-api/\\\">Web API</a> to display your listening history, define\\n            your top genres, and to recommend under-the-radar songs you might like.\\n          </p>\\n          <p>\\n            The global popularity ratings of the artists in your lists are aggregated to result in an Obscurity score\\n            which is compared to the Obscurify users in your country to show how unique (or energetic, danceable, and happy) a music taste you have.\\n          </p>\\n          <p>\\n            Obscurify can also make playlists of the music in your track lists and place them in your Spotify library - including the historical snapshots\\n            that are saved when you view your Obscurify profile each month.\\n          </p>\\n\\n          <p>\\n            Background Photo on login page by Photo by MARK S. on Unsplash. \\n          </p>\\n    </section>\\n    \\n    <section>\\n        <h2>F.A.Q.</h2>\\n    \\n        <h3>How is my data used?</h3>\\n        <p>\\n          To use Obscurify, you'll need to allow the app to have access to some of your account information -\\n          that being your username, the country your account is registered to, and the artists/tracks\\n          that appear on your lists.\\n        </p>\\n      \\n        <h3>Where does the artist and track ranking come from?</h3>\\n        <p>\\n        The content and order of your lists come directly from <a href=\\\"https://developer.spotify.com/web-api/\\\">Spotify's API</a>.\\n        Popularity, genres, and musical traits are all determined by Spotify.\\n        </p>\\n      \\n        <h3>Why are there no (or few) results showing up in my All-Time and Current lists?</h3>\\n        <p>\\n        If you listen in Private Mode, those songs will not be recorded and won't be reflected in either list.\\n        If your account is fairly new, it is normal for your All-Time list to be short, as it takes some time for Spotify to update their information.\\n        </p>\\n      \\n        <h3>Some of the genres seem a little off...</h3>\\n        <p>\\n        Spotify can attribute some artists with a few dozen genres. These range from very general (like \\\"rock\\\") to a little\\n        more interesting (like \\\"escape room\\\").\\n        </p>\\n      \\n        <h3>My lists aren't updating</h3>\\n        <p>\\n        There is no defined schedule for when Spotify updates the data in your lists - it's normal for delays, but expect an average of one to two weeks.\\n        </p>\\n      \\n        <h3>I have some other issue (or concern, compliment, maybe a suggestion)</h3>\\n        <p>\\n          I'd like to know about it! <a href=\\\"mailto:oliveroalex@gmail.com\\\">Send me an email!</a>\\n        </p>  \\n    </section>\\n     \\n</main>\\n\");\n\n/***/ }),\n\n/***/ \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/artist/artist-card/artist-card.component.html\":\n/*!****************************************************************************************************************!*\\\n  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/components/artist/artist-card/artist-card.component.html ***!\n  \\****************************************************************************************************************/\n/*! exports provided: default */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\"<div class=\\\"artist__card\\\" [ngClass]=\\\"{'active': activeView}\\\">\\n    <img [src]=\\\"artist.images[1].url\\\" />\\n    <div class=\\\"artist__card__info\\\">\\n        <div fxLayout=\\\"row\\\" fxLayoutAlign=\\\"flex-start start\\\">\\n            <span fxFlex=\\\"0 0 auto\\\"> {{ i + 1 }} /</span> \\n\\n            <div fxLayout=\\\"column\\\" fxFlex=\\\"1 1 auto\\\" fxLayoutAlign=\\\"center start\\\">\\n                <p class=\\\"artist__card__info--primary\\\">\\n                    {{(artist.name.length < 20) ? (artist.name):(artist.name | slice:0:20)+'...' }}\\n                </p>\\n                <p *ngIf=\\\"activeView\\\" class=\\\"artist__card__info--secondary\\\">\\n                    {{ artist.genres[0] }}, {{ artist.genres[1] }}\\n                </p>\\n            </div>\\n            <a class=\\\"artist__card__external\\\" [href]=\\\"this.sanitizer.bypassSecurityTrustResourceUrl(artist.uri)\\\" *ngIf=\\\"activeView\\\" fxFlex=\\\"0 1 auto\\\"><i class=\\\"fas fa-external-link-alt\\\"></i></a>\\n        </div>\\n\\n        <div *ngIf=\\\"activeView\\\">\\n            <button >More Like This</button>\\n        </div>\\n\\n\\n    </div>\\n</div>\");\n\n/***/ }),\n\n/***/ \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/artist/artist-list/artist-list.component.html\":\n/*!****************************************************************************************************************!*\\\n  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/components/artist/artist-list/artist-list.component.html ***!\n  \\****************************************************************************************************************/\n/*! exports provided: default */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\"<div class=\\\"artist\\\">\\n    <div class=\\\"header\\\">\\n        <h2 class=\\\"header__title\\\">\\n            {{ this.navState.selectedHistory.name }} Top {{ navState.listType}}\\n        </h2>\\n    </div>\\n\\n    <div  class=\\\"artist__container\\\" fxlayout=\\\"column\\\" fxLayout.gt-sm=\\\"row\\\">\\n        <div fxLayout=\\\"column\\\">   \\n            <div *ngIf=\\\"this.navState.selectedHistory.value == 'allTime' && this.navState.listType === 'artists'\\\" \\n                class=\\\"artist__container__grid\\\" \\n                fxFLex=\\\"100%\\\" \\n                fxLayout.gt-xs=\\\"row wrap\\\" \\n                fxLayout=\\\"column nowrap\\\" \\n                fxLayoutGap=\\\"16px\\\">\\n\\n                    <app-artist-card [artist]=\\\"artist\\\" [i]=\\\"i\\\" *ngFor=\\\"let artist of allTimeArtists | slice:0:sliceLimit; let i = index\\\"></app-artist-card>\\n\\n            </div>\\n            <div *ngIf=\\\"this.navState.selectedHistory.value == 'current'  && this.navState.listType === 'artists'\\\"\\n                class=\\\"artist__container__grid\\\" \\n                fxFLex=\\\"100%\\\" \\n                fxLayout.gt-xs=\\\"row wrap\\\" \\n                fxLayout=\\\"column nowrap\\\" \\n                fxLayoutGap=\\\"16px\\\"> \\n\\n                <app-artist-card [artist]=\\\"artist\\\" [i]=\\\"i\\\" *ngFor=\\\"let artist of currentArtists | slice:0:sliceLimit; let i = index\\\"></app-artist-card>\\n\\n            </div>\\n\\n            <div *ngIf=\\\"this.navState.selectedHistory.value == 'allTime' && this.navState.listType === 'songs'\\\" \\n            class=\\\"artist__container__grid\\\" \\n            fxFLex=\\\"100%\\\" \\n            fxLayout.gt-xs=\\\"row wrap\\\" \\n            fxLayout=\\\"column nowrap\\\" \\n            fxLayoutGap=\\\"16px\\\">\\n\\n                <app-track-card [track]=\\\"track\\\" [i]=\\\"i\\\" *ngFor=\\\"let track of allTimeTracks | slice:0:sliceLimit; let i = index\\\"></app-track-card>\\n\\n        </div>\\n        <div *ngIf=\\\"this.navState.selectedHistory.value == 'current' && this.navState.listType === 'songs'\\\"\\n            class=\\\"artist__container__grid\\\" \\n            fxFLex=\\\"100%\\\" \\n            fxLayout.gt-xs=\\\"row wrap\\\" \\n            fxLayout=\\\"column nowrap\\\" \\n            fxLayoutGap=\\\"16px\\\"> \\n\\n            <app-track-card [track]=\\\"track\\\" [i]=\\\"i\\\" *ngFor=\\\"let track of currentTracks | slice:0:sliceLimit; let i = index\\\"></app-track-card>\\n\\n        </div>\\n\\n            <div fxLayoutAlign=\\\"center center\\\">\\n                <button *ngIf=\\\"this.sliceLimit === 10\\\" class=\\\"artist__button artist__button--primary\\\" (click)=\\\"showMore()\\\">Show More</button>\\n                <button *ngIf=\\\"this.sliceLimit === 50\\\" class=\\\"artist__button artist__button--primary\\\" (click)=\\\"showLess()\\\">Show Less</button>\\n\\n            </div>\\n        </div>\\n\\n\\n        <div fxFlex.gt-sm=\\\"30%\\\">\\n            <app-artist-nav *ngIf=\\\"showNav\\\" [navState]=\\\"navState\\\" (createPlaylist)=\\\"createPlaylist($event)\\\" (updateHistory)=\\\"getHistory($event)\\\"></app-artist-nav>\\n        </div>\\n    </div>\\n</div>\");\n\n/***/ }),\n\n/***/ \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/artist/artist-nav/artist-nav.component.html\":\n/*!**************************************************************************************************************!*\\\n  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/components/artist/artist-nav/artist-nav.component.html ***!\n  \\**************************************************************************************************************/\n/*! exports provided: default */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\"<div class=\\\"artist__nav\\\" [ngClass]=\\\"{'active': navOpen}\\\">\\n    <div class=\\\"artist__nav__container\\\">\\n\\n        <div class=\\\"artist__nav__mobile\\\">\\n            <button (click)=\\\"navOpen = !navOpen\\\">\\n                <span>Options</span> <i class=\\\"fas fa-chevron-up\\\"></i>\\n            </button>\\n        </div>\\n        <div class=\\\"artist__nav__content\\\">\\n            <h2>Select</h2>\\n            <div class=\\\"artist__nav__main\\\" fxLayout=\\\"row\\\" fxLayoutAlign=\\\"flex-start start\\\">\\n                <button class=\\\"artist__nav__button\\\" [ngClass]=\\\"{'active': navState.listType === 'artists'}\\\" (click)=\\\"updateArtistTrack('artists')\\\">Artists</button>\\n                <button class=\\\"artist__nav__button\\\" [ngClass]=\\\"{'active': navState.listType === 'songs'}\\\" (click)=\\\"updateArtistTrack('songs')\\\">Songs</button>\\n            </div>\\n            <div class=\\\"artist__nav__history\\\">\\n                <h3> View History </h3>\\n    \\n                <mat-radio-group\\n                    aria-labelledby=\\\"select history date\\\"\\n                    class=\\\"artist__nav__history--select\\\"\\n                    [(ngModel)]=\\\"selectedHistory\\\"\\n                    fxLayout=\\\"column\\\"\\n                    (change)=\\\"getRadioValue($event)\\\"\\n                    [required]=\\\"true\\\">\\n                <mat-radio-button class=\\\"select__item\\\" \\n                    *ngFor=\\\"let date of historyList\\\" \\n                    [value]=\\\"date\\\"\\n                    >\\n                    {{ date.name }}\\n                </mat-radio-button>\\n            </mat-radio-group>\\n            </div>\\n    \\n            <div class=\\\"artist__nav__playlist\\\" fxLayout=\\\"row\\\" fxLayoutAlign=\\\"center\\\">\\n                <button \\n                    class=\\\"artist__nav__button\\\" \\n                    (click)=\\\"emitCreatePlaylist()\\\">\\n                    <i class=\\\"fas fa-plus-circle\\\"></i>Create Playlist\\n                </button>\\n            </div>\\n        </div>\\n        \\n    </div>\\n</div>\");\n\n/***/ }),\n\n/***/ \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/artist/track-card/track-card.component.html\":\n/*!**************************************************************************************************************!*\\\n  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/components/artist/track-card/track-card.component.html ***!\n  \\**************************************************************************************************************/\n/*! exports provided: default */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\"<div class=\\\"artist__card\\\" [ngClass]=\\\"{'active': activeView}\\\">\\n\\n    <img [src]=\\\"track.album.images[1].url\\\" />\\n    \\n    <div class=\\\"artist__card__info\\\">\\n        <div fxLayout=\\\"row\\\" fxLayoutAlign=\\\"flex-start start\\\">\\n            <span fxFlex=\\\"0 1 auto\\\"> {{ i + 1 }} </span> /\\n\\n            <div fxLayout=\\\"column\\\" fxFlex=\\\"1 1 auto\\\" fxLayoutAlign=\\\"center start\\\">\\n                <p class=\\\"artist__card__info--primary\\\">\\n                    {{(track.name.length < 20) ? (track.name):(track.name | slice:0:20)+'...' }}\\n                </p>\\n                <p *ngIf=\\\"activeView\\\" class=\\\"artist__card__info--secondary\\\">\\n                    {{ track.artists[0].name }}\\n                </p>\\n            </div>\\n            <a class=\\\"artist__card__external\\\" [href]=\\\"this.sanitizer.bypassSecurityTrustResourceUrl(track.uri)\\\" *ngIf=\\\"activeView\\\" fxFlex=\\\"0 1 auto\\\"><i class=\\\"fas fa-external-link-alt\\\"></i></a>\\n        </div>\\n\\n        <div *ngIf=\\\"activeView\\\">\\n            <button >More Like This</button>\\n        </div>\\n\\n\\n    </div>\\n</div>\");\n\n/***/ }),\n\n/***/ \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/footer/footer.component.html\":\n/*!***********************************************************************************************!*\\\n  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/components/footer/footer.component.html ***!\n  \\***********************************************************************************************/\n/*! exports provided: default */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\"<footer fxflex=\\\"\\\">\\n    <div class=\\\"footer__links\\\" fxLayout=\\\"column nowrap\\\">\\n        <a routerLink=\\\"/about\\\"> About</a>\\n        <a (click)=\\\"login()\\\" *ngIf=\\\"login\\\">Login</a>\\n        <a (click)=\\\"login()\\\" *ngIf=\\\"!login\\\"> Log Out</a>\\n    </div>\\n\\n    <div class=\\\"social__links\\\">\\n\\n\\n    </div>\\n</footer>\");\n\n/***/ }),\n\n/***/ \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/home/home.component.html\":\n/*!*******************************************************************************************!*\\\n  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/components/home/home.component.html ***!\n  \\*******************************************************************************************/\n/*! exports provided: default */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\"\\n<div class=\\\"app\\\" [ngStyle]=\\\"{'background-color': this.bgColor}\\\">\\n    <app-intro (appColor)=\\\"setColor($event)\\\"></app-intro>\\n    <app-top-genres (appColor)=\\\"setColor($event)\\\"></app-top-genres>\\n    <app-obscurity-rating (appColor)=\\\"setColor($event)\\\"></app-obscurity-rating> \\n    <app-artist-list (appColor)=\\\"setColor($event)\\\"></app-artist-list>\\n    <app-moods-graph (appColor)=\\\"setColor($event)\\\"></app-moods-graph>\\n    <app-recommendations (appColor)=\\\"setColor($event)\\\"></app-recommendations>    \\n</div>\\n\\n<app-footer [login]=\\\"false\\\"></app-footer>\\n\\n\");\n\n/***/ }),\n\n/***/ \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/intro/intro.component.html\":\n/*!*********************************************************************************************!*\\\n  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/components/intro/intro.component.html ***!\n  \\*********************************************************************************************/\n/*! exports provided: default */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\"<nav>\\n    <div fxLayout=\\\"row\\\" fxLayoutAlign=\\\"end start\\\">\\n        <button [matMenuTriggerFor]=\\\"appMenu\\\"> Settings <i class=\\\"fas fa-cog\\\"> </i> </button>\\n    </div>\\n\\n    <mat-menu #appMenu=\\\"matMenu\\\">\\n        <button mat-menu-item>Logout</button>\\n        <button mat-menu-item>About</button>\\n        <a  mat-menu-item href=\\\"https://www.spotify.com/us/account/apps/\\\">Remove Obscurify Account</a>\\n      </mat-menu>\\n</nav>\\n\\n<div class=\\\"welcome\\\" fxLayout=\\\"column\\\" fxLayoutAlign=\\\"center center\\\">\\n    <h1>Welcome to <br /> Obscurify<span>.</span></h1>\\n</div>\\n\\n<div class=\\\"profile\\\" fxLayout=\\\"column\\\" fxLayoutAlign=\\\"center center\\\">\\n    <div class=\\\"profile__image\\\">\\n        <img [src]=\\\"this.userImage ? this.userImage : 'assets/images/app/profile-placeholder.png'\\\"/>\\n    </div>\\n    <h1 class=\\\"profile__header\\\">Hello, <span>{{ userName }}</span>. Let's see how obscure your taste is...</h1>\\n</div>\\n\");\n\n/***/ }),\n\n/***/ \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/login/login.component.html\":\n/*!*********************************************************************************************!*\\\n  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/components/login/login.component.html ***!\n  \\*********************************************************************************************/\n/*! exports provided: default */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\"<main>\\n    <div class=\\\"login__container\\\">\\n        <h1>Obscurify<span>.</span></h1>\\n\\n        <p>Learn more about your music taste and compare it to others' with Obscurify.</p>\\n\\n        <div class=\\\"login\\\">\\n            <a (click)=\\\"login($event)\\\" class=\\\"login__btn\\\">\\n                Log in with Spotify\\n            </a>\\n        </div>\\n\\n      </div>\\n</main>\\n\\n<app-footer [login]=\\\"true\\\"></app-footer>\\n\");\n\n/***/ }),\n\n/***/ \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/moods-graph/moods-graph.component.html\":\n/*!*********************************************************************************************************!*\\\n  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/components/moods-graph/moods-graph.component.html ***!\n  \\*********************************************************************************************************/\n/*! exports provided: default */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\"<div class=\\\"slate\\\" >\\n    <div class=\\\"moods-graph\\\" [ngClass]=\\\"{'show': this.show}\\\">\\n        <div class=\\\"header\\\">\\n            <h2 class=\\\"header__title\\\">\\n                Your Moods\\n            </h2>\\n        </div>\\n        \\n        <div class=\\\"moods-graph__container\\\">\\n            <div class=\\\"moods-graph__content\\\">\\n                <h3>Happiness</h3>\\n\\n                <div class=\\\"moods-graph__card\\\">\\n                    <div class=\\\"moods-graph__card__container\\\">\\n                        <p class=\\\"moods-graph__card__header\\\">All Time</p>\\n                        <p class=\\\"moods-graph__card__paragraph\\\">2.4% Lower than U.S Average</p>\\n                    </div>\\n\\n                    <div class=\\\"moods-graph__card__container\\\">\\n                        <div class=\\\"equalizer-container level-one\\\">\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                        </div>\\n                    </div>\\n                    \\n                </div>\\n\\n                <div class=\\\"moods-graph__card moods-graph__card--reverse\\\">\\n                    <div class=\\\"moods-graph__card__container\\\">\\n                        <p class=\\\"moods-graph__card__header\\\">All Time</p>\\n                        <p class=\\\"moods-graph__card__paragraph\\\">2.4% Lower than U.S Average</p>\\n                    </div>\\n\\n                    <div class=\\\"moods-graph__card__container\\\">\\n                        <div class=\\\"equalizer-container level-one\\\">\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                        </div>\\n                    </div>\\n                    \\n                </div>\\n            </div>\\n        </div>\\n\\n        <div class=\\\"moods-graph__container moods-graph__container--right\\\">\\n            <div class=\\\"moods-graph__content\\\">\\n                <h3>Danceability</h3>\\n\\n                <div class=\\\"moods-graph__card\\\">\\n                    <div class=\\\"moods-graph__card__container\\\">\\n                        <p class=\\\"moods-graph__card__header\\\">All Time</p>\\n                        <p class=\\\"moods-graph__card__paragraph\\\">2.4% Lower than U.S Average</p>\\n                    </div>\\n\\n                    <div class=\\\"moods-graph__card__container\\\">\\n                        <div class=\\\"equalizer-container level-one\\\">\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                        </div>\\n                    </div>\\n                    \\n                </div>\\n\\n                <div class=\\\"moods-graph__card moods-graph__card--reverse\\\">\\n                    <div class=\\\"moods-graph__card__container\\\">\\n                        <p class=\\\"moods-graph__card__header\\\">All Time</p>\\n                        <p class=\\\"moods-graph__card__paragraph\\\">2.4% Lower than U.S Average</p>\\n                    </div>\\n\\n                    <div class=\\\"moods-graph__card__container\\\">\\n                        <div class=\\\"equalizer-container level-one\\\">\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                        </div>\\n                    </div>\\n                    \\n                </div>\\n            </div>\\n        </div>\\n\\n        \\n    </div>\\n</div>\");\n\n/***/ }),\n\n/***/ \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/obscurity-graph/obscurity-graph.component.html\":\n/*!*****************************************************************************************************************!*\\\n  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/components/obscurity-graph/obscurity-graph.component.html ***!\n  \\*****************************************************************************************************************/\n/*! exports provided: default */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\"<div fxLayout=\\\"row\\\" fxLayoutAlign=\\\"end center\\\">\\n    <div class=\\\"obscurity__graph\\\" fxLayout=\\\"column\\\" fxLayoutAlign=\\\"center center\\\" fxFlexAlign=\\\"end\\\">\\n            <div class=\\\"obscurity__graph__container\\\" fxFlexOffset=\\\"5%\\\">\\n                <div class=\\\"obscurity__avg-bar\\\" style=\\\"height: 20px;\\\" #globalAvgBar [ngClass]=\\\"{'active': barActive}\\\">\\n                    <p class=\\\"bar-value\\\">100</p>\\n                    <p class=\\\"bar-title\\\">Global Avg</p>\\n                </div>\\n                <div class=\\\"obscurity__avg-bar\\\" style=\\\"height: 20px;\\\" #countryAvgBar [ngClass]=\\\"{'active': barActive}\\\">\\n                    <p class=\\\"bar-value\\\">100</p>\\n                    <!-- <p class=\\\"bar-title\\\">{{data.label}} Avg</p> -->\\n                    <p class=\\\"bar-title\\\">Avg</p> \\n                </div>\\n                <div class=\\\"obscurity__avg-bar\\\" style=\\\"height: 20px;\\\" #allTimeBar [ngClass]=\\\"{'active': barActive}\\\">\\n                    <p class=\\\"bar-value\\\">100</p>\\n                    <p class=\\\"bar-title\\\">My All-Time</p>\\n                </div>\\n                \\n                <div class=\\\"obscurity__avg-bar\\\" style=\\\"height: 20px;\\\" #recentBar [ngClass]=\\\"{'active': barActive}\\\">\\n                    <p class=\\\"bar-value\\\">100</p>\\n                    <p class=\\\"bar-title\\\">My Recent</p>\\n                </div>\\n            </div>\\n            <div class=\\\"obscurity__graph__info\\\">\\n                <p>The lower your score, the more obscure your music taste is. The higher, the more relatable.</p>\\n                <!-- <p class=\\\"graph-info\\\">Global Average is based on {{ data.userCount | number }} Obscurify users.</p> -->\\n            </div>\\n        </div>\\n</div>\\n\\n    \");\n\n/***/ }),\n\n/***/ \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/obscurity-rating/obscurity-rating.component.html\":\n/*!*******************************************************************************************************************!*\\\n  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/components/obscurity-rating/obscurity-rating.component.html ***!\n  \\*******************************************************************************************************************/\n/*! exports provided: default */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\"\\n<div class=\\\"slate\\\">\\n    <div class=\\\"obscurity\\\" [ngClass]=\\\"{'show': this.show}\\\">\\n\\n        <div class=\\\"header\\\">\\n            <h2 class=\\\"header__title\\\">\\n                Obscurity Rating\\n            </h2>\\n        </div>\\n\\n        <div class=\\\"percentile\\\">\\n            <div class=\\\"percentile__card\\\">\\n                <!-- <h2>{{this.data.percentileByCountry}}%</h2> -->\\n                <h2>80%</h2>\\n\\n                <p>Your music is more obscure than\\n                    <strong>80%</strong>\\n                    of 300000 US users on Obscurify.\\n                </p>\\n\\n                <!-- <p>Your music is more obscure than\\n                    <strong>{{this.data.percentileByCountry}}%</strong>\\n                    of {{this.data.userCountByCountry | number}} {{this.data.label}} users on Obscurify.\\n                </p> -->\\n            </div>\\n        \\n        </div>\\n\\n        <app-obscurity-graph>\\n            \\n        </app-obscurity-graph>\\n        \\n\\n        \\n    </div>\\n</div>\");\n\n/***/ }),\n\n/***/ \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/recommendations/recommendations.component.html\":\n/*!*****************************************************************************************************************!*\\\n  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/components/recommendations/recommendations.component.html ***!\n  \\*****************************************************************************************************************/\n/*! exports provided: default */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\"<div class=\\\"slate\\\">\\n    <div class=\\\"recommendations\\\" [ngClass]=\\\"{'show': this.show}\\\">\\n        <div class=\\\"header\\\">\\n            <h2 class=\\\"header__title\\\">\\n                Recommendations\\n            </h2>\\n        </div>\\n        <div class=\\\"recommendations__content\\\">\\n            <div class=\\\"recommendations__container\\\">\\n                <!-- <button id=\\\"filter-btn\\\" class=\\\"filter-btn\\\" (click)=\\\"toggleFilter()\\\">\\n                  <i class=\\\"fas fa-sliders-h\\\"></i>\\n                </button> -->\\n\\n                <button class=\\\"refresh-btn\\\" (click)=\\\"refreshTracks()\\\">\\n                  <span>Refresh</span>\\n                  <i class=\\\"fas fa-sync\\\"></i>\\n                </button>\\n          \\n                <button class=\\\"add-playlist-btn\\\" (click)=\\\"makePlaylist()\\\">\\n                  <span>Create Playlist</span>\\n                  <i class=\\\"fas fa-plus-circle\\\"></i>\\n                </button>\\n                <div class=\\\"track-container\\\">\\n                  <div class=\\\"card-track\\\">\\n                    <div class=\\\"card\\\" *ngFor=\\\"let track of recommendedTracks\\\">\\n                      <div class=\\\"card-content\\\">\\n                          <img item-start [src]=\\\"track.album.images[1].url\\\">\\n                      </div>\\n                      <div class=\\\"card-info\\\">\\n                        <a [href]=\\\"this.sanitizer.bypassSecurityTrustResourceUrl(track.uri)\\\">\\n                          <h3>\\n                            {{ (track.name.length < 30) ? (track.name):(track.name | slice:0:25)+'...' }}\\n                          </h3>\\n                          <p>\\n                            {{ track.artists[0].name }}\\n                          </p>\\n                        </a>\\n                      </div>\\n                    </div>\\n                  </div>\\n                </div>\\n              </div>\\n        </div>\\n\\n\\n    </div>\\n</div>\");\n\n/***/ }),\n\n/***/ \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/top-genres/top-genres.component.html\":\n/*!*******************************************************************************************************!*\\\n  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/components/top-genres/top-genres.component.html ***!\n  \\*******************************************************************************************************/\n/*! exports provided: default */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\"<div class=\\\"slate\\\" *ngIf=\\\"genres\\\">\\n    <div class=\\\"genre\\\" [ngClass]=\\\"{'show': show}\\\">\\n        <div class=\\\"header\\\">\\n            <h2 class=\\\"header__title\\\">\\n                Top Genres\\n            </h2>\\n        </div>\\n\\n        <div class=\\\"genre__list\\\" fxLayout=\\\"column\\\" fxLayoutAlign=\\\"start stretch\\\" fxLayoutGap=\\\"1em\\\">\\n            <div class=\\\"genre__card genre__card--{{i}}\\\" fxFlex=\\\"1 1 100%\\\" *ngFor=\\\"let item of genres; let i = index\\\">\\n                <h3>{{ i + 1 }} / {{ item[0] }}</h3>\\n            </div>\\n\\n            \\n        </div>\\n    </div>\\n</div>\");\n\n/***/ }),\n\n/***/ \"./node_modules/tslib/tslib.es6.js\":\n/*!*****************************************!*\\\n  !*** ./node_modules/tslib/tslib.es6.js ***!\n  \\*****************************************/\n/*! exports provided: __extends, __assign, __rest, __decorate, __param, __metadata, __awaiter, __generator, __exportStar, __values, __read, __spread, __spreadArrays, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__extends\", function() { return __extends; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__assign\", function() { return __assign; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__rest\", function() { return __rest; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__decorate\", function() { return __decorate; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__param\", function() { return __param; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__metadata\", function() { return __metadata; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__awaiter\", function() { return __awaiter; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__generator\", function() { return __generator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__exportStar\", function() { return __exportStar; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__values\", function() { return __values; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__read\", function() { return __read; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__spread\", function() { return __spread; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__spreadArrays\", function() { return __spreadArrays; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__await\", function() { return __await; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__asyncGenerator\", function() { return __asyncGenerator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__asyncDelegator\", function() { return __asyncDelegator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__asyncValues\", function() { return __asyncValues; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__makeTemplateObject\", function() { return __makeTemplateObject; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__importStar\", function() { return __importStar; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__importDefault\", function() { return __importDefault; });\n/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n    extendStatics = Object.setPrototypeOf ||\r\n        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n    return extendStatics(d, b);\r\n};\r\n\r\nfunction __extends(d, b) {\r\n    extendStatics(d, b);\r\n    function __() { this.constructor = d; }\r\n    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nvar __assign = function() {\r\n    __assign = Object.assign || function __assign(t) {\r\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n            s = arguments[i];\r\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n        }\r\n        return t;\r\n    }\r\n    return __assign.apply(this, arguments);\r\n}\r\n\r\nfunction __rest(s, e) {\r\n    var t = {};\r\n    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n        t[p] = s[p];\r\n    if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n            if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n                t[p[i]] = s[p[i]];\r\n        }\r\n    return t;\r\n}\r\n\r\nfunction __decorate(decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nfunction __param(paramIndex, decorator) {\r\n    return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nfunction __metadata(metadataKey, metadataValue) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nfunction __awaiter(thisArg, _arguments, P, generator) {\r\n    return new (P || (P = Promise))(function (resolve, reject) {\r\n        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n        function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n        function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n    });\r\n}\r\n\r\nfunction __generator(thisArg, body) {\r\n    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n    function verb(n) { return function (v) { return step([n, v]); }; }\r\n    function step(op) {\r\n        if (f) throw new TypeError(\"Generator is already executing.\");\r\n        while (_) try {\r\n            if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n            if (y = 0, t) op = [op[0] & 2, t.value];\r\n            switch (op[0]) {\r\n                case 0: case 1: t = op; break;\r\n                case 4: _.label++; return { value: op[1], done: false };\r\n                case 5: _.label++; y = op[1]; op = [0]; continue;\r\n                case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n                default:\r\n                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n                    if (t[2]) _.ops.pop();\r\n                    _.trys.pop(); continue;\r\n            }\r\n            op = body.call(thisArg, _);\r\n        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n    }\r\n}\r\n\r\nfunction __exportStar(m, exports) {\r\n    for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nfunction __values(o) {\r\n    var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n    if (m) return m.call(o);\r\n    return {\r\n        next: function () {\r\n            if (o && i >= o.length) o = void 0;\r\n            return { value: o && o[i++], done: !o };\r\n        }\r\n    };\r\n}\r\n\r\nfunction __read(o, n) {\r\n    var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n    if (!m) return o;\r\n    var i = m.call(o), r, ar = [], e;\r\n    try {\r\n        while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n    }\r\n    catch (error) { e = { error: error }; }\r\n    finally {\r\n        try {\r\n            if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n        }\r\n        finally { if (e) throw e.error; }\r\n    }\r\n    return ar;\r\n}\r\n\r\nfunction __spread() {\r\n    for (var ar = [], i = 0; i < arguments.length; i++)\r\n        ar = ar.concat(__read(arguments[i]));\r\n    return ar;\r\n}\r\n\r\nfunction __spreadArrays() {\r\n    for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n    for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n        for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n            r[k] = a[j];\r\n    return r;\r\n};\r\n\r\nfunction __await(v) {\r\n    return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nfunction __asyncGenerator(thisArg, _arguments, generator) {\r\n    if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n    var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n    return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n    function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n    function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n    function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n    function fulfill(value) { resume(\"next\", value); }\r\n    function reject(value) { resume(\"throw\", value); }\r\n    function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nfunction __asyncDelegator(o) {\r\n    var i, p;\r\n    return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n    function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nfunction __asyncValues(o) {\r\n    if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n    var m = o[Symbol.asyncIterator], i;\r\n    return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n    function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n    function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nfunction __makeTemplateObject(cooked, raw) {\r\n    if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n    return cooked;\r\n};\r\n\r\nfunction __importStar(mod) {\r\n    if (mod && mod.__esModule) return mod;\r\n    var result = {};\r\n    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n    result.default = mod;\r\n    return result;\r\n}\r\n\r\nfunction __importDefault(mod) {\r\n    return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\n\n/***/ }),\n\n/***/ \"./src/app/app-routing.module.ts\":\n/*!***************************************!*\\\n  !*** ./src/app/app-routing.module.ts ***!\n  \\***************************************/\n/*! exports provided: AppRoutingModule */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AppRoutingModule\", function() { return AppRoutingModule; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/router */ \"./node_modules/@angular/router/fesm2015/router.js\");\n/* harmony import */ var _components_login_login_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./components/login/login.component */ \"./src/app/components/login/login.component.ts\");\n/* harmony import */ var _components_home_home_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./components/home/home.component */ \"./src/app/components/home/home.component.ts\");\n/* harmony import */ var _services_spotifyAuth__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./services/spotifyAuth */ \"./src/app/services/spotifyAuth/index.ts\");\n/* harmony import */ var _components_spotify_auth_spotify_auth_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./components/spotify-auth/spotify-auth.component */ \"./src/app/components/spotify-auth/spotify-auth.component.ts\");\n/* harmony import */ var _components_about_about_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./components/about/about.component */ \"./src/app/components/about/about.component.ts\");\n\n\n\n\n\n\n\n\nconst routes = [\n    {\n        path: 'about',\n        component: _components_about_about_component__WEBPACK_IMPORTED_MODULE_7__[\"AboutComponent\"]\n    },\n    {\n        path: 'login',\n        component: _components_login_login_component__WEBPACK_IMPORTED_MODULE_3__[\"LoginComponent\"]\n    },\n    {\n        path: 'home',\n        component: _components_home_home_component__WEBPACK_IMPORTED_MODULE_4__[\"HomeComponent\"]\n    },\n    {\n        path: '',\n        redirectTo: 'login',\n        pathMatch: 'full'\n    },\n    {\n        path: 'authorized',\n        canActivate: [_services_spotifyAuth__WEBPACK_IMPORTED_MODULE_5__[\"AuthGuard\"]],\n        component: _components_spotify_auth_spotify_auth_component__WEBPACK_IMPORTED_MODULE_6__[\"SpotifyAuthComponent\"]\n    }\n];\nlet AppRoutingModule = class AppRoutingModule {\n};\nAppRoutingModule = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgModule\"])({\n        imports: [_angular_router__WEBPACK_IMPORTED_MODULE_2__[\"RouterModule\"].forRoot(routes)],\n        exports: [_angular_router__WEBPACK_IMPORTED_MODULE_2__[\"RouterModule\"]]\n    })\n], AppRoutingModule);\n\n\n\n/***/ }),\n\n/***/ \"./src/app/app.component.scss\":\n/*!************************************!*\\\n  !*** ./src/app/app.component.scss ***!\n  \\************************************/\n/*! exports provided: default */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\".app {\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n  padding: 0 1em;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9Vc2Vycy9hbGV4L0Rlc2t0b3Avb2JzY3VyaWZ5My9zcmMvYXBwL2FwcC5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvYXBwLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUdBO0VBQ0ksaURBQUE7RUFDQSxjQUFBO0FDRkoiLCJmaWxlIjoic3JjL2FwcC9hcHAuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyJAaW1wb3J0ICdtaXhpbnMnO1xuXG5cbi5hcHAge1xuICAgIHRyYW5zaXRpb246IC4zcyBjdWJpYy1iZXppZXIoLjI1LC4xLC4yNSwxKTtcbiAgICBwYWRkaW5nOiAwIDFlbTtcbn0iLCIuYXBwIHtcbiAgdHJhbnNpdGlvbjogMC4zcyBjdWJpYy1iZXppZXIoMC4yNSwgMC4xLCAwLjI1LCAxKTtcbiAgcGFkZGluZzogMCAxZW07XG59Il19 */\");\n\n/***/ }),\n\n/***/ \"./src/app/app.component.ts\":\n/*!**********************************!*\\\n  !*** ./src/app/app.component.ts ***!\n  \\**********************************/\n/*! exports provided: AppComponent */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AppComponent\", function() { return AppComponent; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var _services_spotifyAuth__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./services/spotifyAuth */ \"./src/app/services/spotifyAuth/index.ts\");\n/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/router */ \"./node_modules/@angular/router/fesm2015/router.js\");\n\n\n\n\nlet AppComponent = class AppComponent {\n    constructor(tokenSvc, authService, router) {\n        this.tokenSvc = tokenSvc;\n        this.authService = authService;\n        this.router = router;\n        this.title = 'obscurify3';\n    }\n    ngOnInit() {\n        this.authService.authorizedStream.subscribe((x) => {\n            if (x) {\n                this.router.navigate(['home']);\n            }\n        });\n    }\n    getUserInfo() {\n    }\n    logout() {\n        this.tokenSvc.clearToken();\n        this.router.navigate(['login']);\n    }\n};\nAppComponent.ctorParameters = () => [\n    { type: _services_spotifyAuth__WEBPACK_IMPORTED_MODULE_2__[\"TokenService\"] },\n    { type: _services_spotifyAuth__WEBPACK_IMPORTED_MODULE_2__[\"AuthService\"] },\n    { type: _angular_router__WEBPACK_IMPORTED_MODULE_3__[\"Router\"] }\n];\nAppComponent = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Component\"])({\n        selector: 'app-root',\n        template: tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(/*! raw-loader!./app.component.html */ \"./node_modules/raw-loader/dist/cjs.js!./src/app/app.component.html\")).default,\n        styles: [tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(/*! ./app.component.scss */ \"./src/app/app.component.scss\")).default]\n    })\n], AppComponent);\n\n\n\n/***/ }),\n\n/***/ \"./src/app/app.module.ts\":\n/*!*******************************!*\\\n  !*** ./src/app/app.module.ts ***!\n  \\*******************************/\n/*! exports provided: AppModule */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AppModule\", function() { return AppModule; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/platform-browser */ \"./node_modules/@angular/platform-browser/fesm2015/platform-browser.js\");\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/platform-browser/animations */ \"./node_modules/@angular/platform-browser/fesm2015/animations.js\");\n/* harmony import */ var _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/cdk/platform */ \"./node_modules/@angular/cdk/esm2015/platform.js\");\n/* harmony import */ var _angular_material_radio__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/material/radio */ \"./node_modules/@angular/material/esm2015/radio.js\");\n/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/forms */ \"./node_modules/@angular/forms/fesm2015/forms.js\");\n/* harmony import */ var _angular_flex_layout__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/flex-layout */ \"./node_modules/@angular/flex-layout/esm2015/flex-layout.js\");\n/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/common/http */ \"./node_modules/@angular/common/fesm2015/http.js\");\n/* harmony import */ var _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/material/snack-bar */ \"./node_modules/@angular/material/esm2015/snack-bar.js\");\n/* harmony import */ var _angular_material_menu__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/material/menu */ \"./node_modules/@angular/material/esm2015/menu.js\");\n/* harmony import */ var ngx_cookie_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ngx-cookie-service */ \"./node_modules/ngx-cookie-service/fesm2015/ngx-cookie-service.js\");\n/* harmony import */ var _app_routing_module__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./app-routing.module */ \"./src/app/app-routing.module.ts\");\n/* harmony import */ var _app_component__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./app.component */ \"./src/app/app.component.ts\");\n/* harmony import */ var _components_home_home_component__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./components/home/home.component */ \"./src/app/components/home/home.component.ts\");\n/* harmony import */ var _components_intro_intro_component__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./components/intro/intro.component */ \"./src/app/components/intro/intro.component.ts\");\n/* harmony import */ var _components_top_genres_top_genres_component__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./components/top-genres/top-genres.component */ \"./src/app/components/top-genres/top-genres.component.ts\");\n/* harmony import */ var _components_obscurity_rating_obscurity_rating_component__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./components/obscurity-rating/obscurity-rating.component */ \"./src/app/components/obscurity-rating/obscurity-rating.component.ts\");\n/* harmony import */ var _components_obscurity_graph_obscurity_graph_component__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./components/obscurity-graph/obscurity-graph.component */ \"./src/app/components/obscurity-graph/obscurity-graph.component.ts\");\n/* harmony import */ var _components_artist_artist_list_artist_list_component__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./components/artist/artist-list/artist-list.component */ \"./src/app/components/artist/artist-list/artist-list.component.ts\");\n/* harmony import */ var _components_artist_artist_card_artist_card_component__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./components/artist/artist-card/artist-card.component */ \"./src/app/components/artist/artist-card/artist-card.component.ts\");\n/* harmony import */ var _components_artist_artist_nav_artist_nav_component__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./components/artist/artist-nav/artist-nav.component */ \"./src/app/components/artist/artist-nav/artist-nav.component.ts\");\n/* harmony import */ var _components_moods_graph_moods_graph_component__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./components/moods-graph/moods-graph.component */ \"./src/app/components/moods-graph/moods-graph.component.ts\");\n/* harmony import */ var _components_recommendations_recommendations_component__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./components/recommendations/recommendations.component */ \"./src/app/components/recommendations/recommendations.component.ts\");\n/* harmony import */ var _components_login_login_component__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./components/login/login.component */ \"./src/app/components/login/login.component.ts\");\n/* harmony import */ var _services_spotifyAuth__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./services/spotifyAuth */ \"./src/app/services/spotifyAuth/index.ts\");\n/* harmony import */ var _components_spotify_auth_spotify_auth_component__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./components/spotify-auth/spotify-auth.component */ \"./src/app/components/spotify-auth/spotify-auth.component.ts\");\n/* harmony import */ var _services_infoService__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./services/infoService */ \"./src/app/services/infoService.ts\");\n/* harmony import */ var _utilities_obscurityFuncs__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./utilities/obscurityFuncs */ \"./src/app/utilities/obscurityFuncs.ts\");\n/* harmony import */ var _components_artist_track_card_track_card_component__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./components/artist/track-card/track-card.component */ \"./src/app/components/artist/track-card/track-card.component.ts\");\n/* harmony import */ var _services_spotifyService__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./services/spotifyService */ \"./src/app/services/spotifyService.ts\");\n/* harmony import */ var _components_about_about_component__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./components/about/about.component */ \"./src/app/components/about/about.component.ts\");\n/* harmony import */ var _components_footer_footer_component__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./components/footer/footer.component */ \"./src/app/components/footer/footer.component.ts\");\n/* harmony import */ var _services_obscurifyService__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./services/obscurifyService */ \"./src/app/services/obscurifyService.ts\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nlet AppModule = class AppModule {\n};\nAppModule = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_2__[\"NgModule\"])({\n        declarations: [\n            _app_component__WEBPACK_IMPORTED_MODULE_13__[\"AppComponent\"],\n            _components_home_home_component__WEBPACK_IMPORTED_MODULE_14__[\"HomeComponent\"],\n            _components_intro_intro_component__WEBPACK_IMPORTED_MODULE_15__[\"IntroComponent\"],\n            _components_top_genres_top_genres_component__WEBPACK_IMPORTED_MODULE_16__[\"TopGenresComponent\"],\n            _components_obscurity_rating_obscurity_rating_component__WEBPACK_IMPORTED_MODULE_17__[\"ObscurityRatingComponent\"],\n            _components_obscurity_graph_obscurity_graph_component__WEBPACK_IMPORTED_MODULE_18__[\"ObscurityGraphComponent\"],\n            _components_artist_artist_list_artist_list_component__WEBPACK_IMPORTED_MODULE_19__[\"ArtistListComponent\"],\n            _components_artist_artist_card_artist_card_component__WEBPACK_IMPORTED_MODULE_20__[\"ArtistCardComponent\"],\n            _components_artist_artist_nav_artist_nav_component__WEBPACK_IMPORTED_MODULE_21__[\"ArtistNavComponent\"],\n            _components_moods_graph_moods_graph_component__WEBPACK_IMPORTED_MODULE_22__[\"MoodsGraphComponent\"],\n            _components_recommendations_recommendations_component__WEBPACK_IMPORTED_MODULE_23__[\"RecommendationsComponent\"],\n            _components_login_login_component__WEBPACK_IMPORTED_MODULE_24__[\"LoginComponent\"],\n            _components_spotify_auth_spotify_auth_component__WEBPACK_IMPORTED_MODULE_26__[\"SpotifyAuthComponent\"],\n            _components_artist_track_card_track_card_component__WEBPACK_IMPORTED_MODULE_29__[\"TrackCardComponent\"],\n            _components_about_about_component__WEBPACK_IMPORTED_MODULE_31__[\"AboutComponent\"],\n            _components_footer_footer_component__WEBPACK_IMPORTED_MODULE_32__[\"FooterComponent\"],\n        ],\n        imports: [\n            _angular_flex_layout__WEBPACK_IMPORTED_MODULE_7__[\"FlexLayoutModule\"],\n            _angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__[\"BrowserModule\"],\n            _app_routing_module__WEBPACK_IMPORTED_MODULE_12__[\"AppRoutingModule\"],\n            _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_3__[\"BrowserAnimationsModule\"],\n            _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_4__[\"PlatformModule\"],\n            _angular_material_radio__WEBPACK_IMPORTED_MODULE_5__[\"MatRadioModule\"],\n            _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_9__[\"MatSnackBarModule\"],\n            _angular_forms__WEBPACK_IMPORTED_MODULE_6__[\"FormsModule\"],\n            _app_routing_module__WEBPACK_IMPORTED_MODULE_12__[\"AppRoutingModule\"],\n            _angular_common_http__WEBPACK_IMPORTED_MODULE_8__[\"HttpClientModule\"],\n            _angular_material_menu__WEBPACK_IMPORTED_MODULE_10__[\"MatMenuModule\"]\n        ],\n        providers: [\n            _utilities_obscurityFuncs__WEBPACK_IMPORTED_MODULE_28__[\"default\"],\n            _services_spotifyAuth__WEBPACK_IMPORTED_MODULE_25__[\"AuthService\"],\n            _services_spotifyAuth__WEBPACK_IMPORTED_MODULE_25__[\"TokenService\"],\n            _services_spotifyAuth__WEBPACK_IMPORTED_MODULE_25__[\"AuthGuard\"],\n            ngx_cookie_service__WEBPACK_IMPORTED_MODULE_11__[\"CookieService\"],\n            _services_infoService__WEBPACK_IMPORTED_MODULE_27__[\"InfoService\"],\n            _services_obscurifyService__WEBPACK_IMPORTED_MODULE_33__[\"default\"],\n            _services_spotifyService__WEBPACK_IMPORTED_MODULE_30__[\"SpotifyService\"],\n            [{\n                    provide: _angular_common_http__WEBPACK_IMPORTED_MODULE_8__[\"HTTP_INTERCEPTORS\"],\n                    // Force interception to use your new shiny headers!\n                    useClass: _services_spotifyAuth__WEBPACK_IMPORTED_MODULE_25__[\"SpotifyAuthInterceptor\"],\n                    multi: true\n                }]\n        ],\n        bootstrap: [_app_component__WEBPACK_IMPORTED_MODULE_13__[\"AppComponent\"]]\n    })\n], AppModule);\n\n\n\n/***/ }),\n\n/***/ \"./src/app/components/about/about.component.scss\":\n/*!*******************************************************!*\\\n  !*** ./src/app/components/about/about.component.scss ***!\n  \\*******************************************************/\n/*! exports provided: default */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\"main {\\n  width: 100%;\\n  background-color: #A9E5AC;\\n}\\n\\nsection {\\n  margin: 2em 0;\\n  max-width: 772px;\\n  padding: 0 2em;\\n}\\n\\nsection p {\\n  margin-bottom: 1em;\\n}\\n\\nsection h2, section h3 {\\n  margin-bottom: 1em;\\n}\\n\\n.back__btn {\\n  padding: 1em 1em;\\n  color: black;\\n  width: 200px;\\n  background-color: white;\\n  text-decoration: none;\\n  border-radius: 5px;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9Vc2Vycy9hbGV4L0Rlc2t0b3Avb2JzY3VyaWZ5My9zcmMv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Z3JvdW5kLWNvbG9yOiAjQTlFNUFDO1xufVxuXG5zZWN0aW9uIHtcbiAgbWFyZ2luOiAyZW0gMDtcbiAgbWF4LXdpZHRoOiA3NzJweDtcbiAgcGFkZGluZzogMCAyZW07XG59XG5zZWN0aW9uIHAge1xuICBtYXJnaW4tYm90dG9tOiAxZW07XG59XG5zZWN0aW9uIGgyLCBzZWN0aW9uIGgzIHtcbiAgbWFyZ2luLWJvdHRvbTogMWVtO1xufVxuXG4uYmFja19fYnRuIHtcbiAgcGFkZGluZzogMWVtIDFlbTtcbiAgY29sb3I6IGJsYWNrO1xuICB3aWR0aDogMjAwcHg7XG4gIGJhY2tncm91bmQtY29sb3I6IHdoaXRlO1xuICB0ZXh0LWRlY29yYXRpb246IG5vbmU7XG4gIGJvcmRlci1yYWRpdXM6IDVweDtcbn0iXX0= */\");\n\n/***/ }),\n\n/***/ \"./src/app/components/about/about.component.ts\":\n/*!*****************************************************!*\\\n  !*** ./src/app/components/about/about.component.ts ***!\n  \\*****************************************************/\n/*! exports provided: AboutComponent */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AboutComponent\", function() { return AboutComponent; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n\n\nlet AboutComponent = class AboutComponent {\n    constructor() { }\n    ngOnInit() {\n    }\n};\nAboutComponent = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Component\"])({\n        selector: 'app-about',\n        template: tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(/*! raw-loader!./about.component.html */ \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/about/about.component.html\")).default,\n        styles: [tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(/*! ./about.component.scss */ \"./src/app/components/about/about.component.scss\")).default]\n    })\n], AboutComponent);\n\n\n\n/***/ }),\n\n/***/ \"./src/app/components/artist/artist-card/artist-card.component.scss\":\n/*!**************************************************************************!*\\\n  !*** ./src/app/components/artist/artist-card/artist-card.component.scss ***!\n  \\**************************************************************************/\n/*! exports provided: default */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\".artist__card {\\n  width: 100%;\\n  min-width: 200px;\\n  height: 75px;\\n  position: relative;\\n  overflow: hidden;\\n  border-radius: 5px;\\n  box-shadow: 5px 5px 4px 4px rgba(0, 0, 0, 0.5);\\n  color: white;\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n}\\n.artist__card img {\\n  position: absolute;\\n  -o-object-fit: cover;\\n     object-fit: cover;\\n  width: 100%;\\n}\\n.artist__card.active {\\n  height: 200px;\\n}\\n.artist__card.active .artist__card__info {\\n  height: 100%;\\n}\\n.artist__card span {\\n  margin-top: 2px;\\n}\\n.artist__card__info {\\n  height: 60px;\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n  position: absolute;\\n  width: 100%;\\n  background: rgba(0, 0, 0, 0.55);\\n  border-radius: 5px;\\n  bottom: 0;\\n  box-sizing: border-box;\\n  padding: 1rem 0.5rem;\\n  font-size: 1.2rem;\\n}\\n.artist__card__info--secondary, .artist__card__info--primary {\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n  margin-left: 1rem;\\n}\\n.artist__card__info--primary {\\n  font-size: 1.2em;\\n  margin-bottom: 0.5rem;\\n}\\n.artist__card__external {\\n  color: white;\\n  cursor: pointer;\\n}\\n.artist__card button {\\n  margin-top: 1em;\\n  background: transparent;\\n  width: 125px;\\n  text-align: center;\\n  font-size: 12px;\\n  color: #fff;\\n  display: block;\\n  border-radius: 25px;\\n  font-weight: 700;\\n  margin: 1em auto 0;\\n  border: 2px solid #A9E5AC;\\n  padding: 1em;\\n  cursor: pointer;\\n}\\n@media (min-width: 768px) and (max-width: 1023px) {\\n  .artist__card {\\n    height: 150px;\\n    width: 200px;\\n    margin-bottom: 1em;\\n  }\\n  .artist__card.active {\\n    height: 150px;\\n  }\\n}\\n@media (min-width: 1024px) {\\n  .artist__card {\\n    height: 170px;\\n    width: 220px;\\n    margin-bottom: 1em;\\n  }\\n  .artist__card__info {\\n    font-size: 1rem;\\n  }\\n  .artist__card.active {\\n    height: 170px;\\n  }\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9Vc2Vycy9hbGV4L0Rlc2t0b3Avb2JzY3VyaWZ5My9zcmMvYXBwL2NvbXBvbmVudHMvYXJ0aXN0L2FydGlzdC1jYXJkL2FydGlzdC1jYXJkLmNvbXBvbmVudC5zY3NzIiwic3JjL2FwcC9jb21wb25lbnRzL2FydGlzdC9hcnRpc3QtY2FyZC9hcnRpc3QtY2FyZC5jb21wb25lbnQuc2NzcyIsIi9Vc2Vycy9hbGV4L0Rlc2t0b3Avb2JzY3VyaWZ5My9zcmMvYXBwL3Njc3MvX21peGlucy5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUdBO0VBQ0ksV0FBQTtFQUNBLGdCQUFBO0VBQ0EsWUFBQTtFQUNBLGtCQUFBO0VBQ0EsZ0JBQUE7RUFDQSxrQkFBQTtFQUNBLDhDQUFBO0VBQ0EsWUFBQTtFQUNBLGlEQUFBO0FDRko7QURJSTtFQUNJLGtCQUFBO0VBQ0Esb0JBQUE7S0FBQSxpQkFBQTtFQUNBLFdBQUE7QUNGUjtBREtJO0VBQ0ksYUFBQTtBQ0hSO0FES1E7RUFDS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0aW9uOiByZWxhdGl2ZTtcbiAgICBvdmVyZmxvdzogaGlkZGVuO1xuICAgIGJvcmRlci1yYWRpdXM6IDVweDtcbiAgICBib3gtc2hhZG93OiA1cHggNXB4IDRweCA0cHggcmdiYSgwLCAwLCAwLCAwLjUpO1xuICAgIGNvbG9yOiB3aGl0ZTtcbiAgICB0cmFuc2l0aW9uOiAuM3MgY3ViaWMtYmV6aWVyKC4yNSwuMSwuMjUsMSk7XG5cbiAgICBpbWcge1xuICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgICAgIG9iamVjdC1maXQ6IGNvdmVyO1xuICAgICAgICB3aWR0aDogMTAwJTtcbiAgICB9XG5cbiAgICAmLmFjdGl2ZSB7XG4gICAgICAgIGhlaWdodDogMjAwcHg7XG4gICAgICAgIFxuICAgICAgICAuYXJ0aXN0X19jYXJkX19pbmZvIHtcbiAgICAgICAgICAgIGhlaWdodDogMTAwJTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIHNwYW4ge1xuICAgICAgICBtYXJnaW4tdG9wOiAycHg7XG4gICAgfVxuICAgIFxuICAgICZfX2luZm8ge1xuICAgICAgICBoZWlnaHQ6IDYwcHg7XG4gICAgICAgIHRyYW5zaXRpb246IC4zcyBjdWJpYy1iZXppZXIoLjI1LC4xLC4yNSwxKTtcbiAgICAgICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgICAgICB3aWR0aDogMTAwJTtcbiAgICAgICAgYmFja2dyb3VuZDogcmdiYSgwLDAsMCwuNTUpO1xuICAgICAgICBib3JkZXItcmFkaXVzOiA1cHg7XG4gICAgICAgIGJvdHRvbTogMDsgIFxuICAgICAgICBib3gtc2l6aW5nOiBib3JkZXItYm94OyAgXG4gICAgICAgIHBhZGRpbmc6IDFyZW0gMC41cmVtO1xuICAgICAgICBmb250LXNpemU6IDEuMnJlbTtcblxuICAgICAgICAmLS1zZWNvbmRhcnksICYtLXByaW1hcnkge1xuICAgICAgICAgICAgdHJhbnNpdGlvbjogLjNzIGN1YmljLWJlemllciguMjUsLjEsLjI1LDEpO1xuICAgICAgICAgICAgbWFyZ2luLWxlZnQ6IDFyZW07XG4gICAgICAgIH1cblxuICAgICAgICAmLS1wcmltYXJ5IHtcbiAgICAgICAgICAgIGZvbnQtc2l6ZTogMS4yZW07XG4gICAgICAgICAgICBtYXJnaW4tYm90dG9tOiAwLjVyZW07XG5cbiAgICAgICAgfVxuICAgIH1cblxuICAgICZfX2V4dGVybmFsIHtcbiAgICAgICAgY29sb3I6IHdoaXRlO1xuICAgICAgICBjdXJzb3I6IHBvaW50ZXI7XG4gICAgfVxuXG4gICAgYnV0dG9uIHtcbiAgICAgICAgbWFyZ2luLXRvcDogMWVtO1xuICAgICAgICBiYWNrZ3JvdW5kOiB0cmFuc3BhcmVudDtcbiAgICAgICAgd2lkdGg6IDEyNXB4O1xuICAgICAgICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gICAgICAgIGZvbnQtc2l6ZTogMTJweDtcbiAgICAgICAgY29sb3I6ICNmZmY7XG4gICAgICAgIGRpc3BsYXk6IGJsb2NrO1xuICAgICAgICBib3JkZXItcmFkaXVzOiAyNXB4O1xuICAgICAgICBmb250LXdlaWdodDogNzAwO1xuICAgICAgICBtYXJnaW46IDFlbSBhdXRvIDA7XG4gICAgICAgIGJvcmRlcjogMnB4IHNvbGlkICRwcmltYXJ5LWNvbG9yO1xuICAgICAgICBwYWRkaW5nOiAxZW07XG4gICAgICAgIGN1cnNvcjogcG9pbnRlcjtcbiAgICB9XG59XG5cbkBpbmNsdWRlIHRhYmxldCB7XG4gICAgLmFydGlzdF9fY2FyZCB7XG4gICAgICAgIGhlaWdodDogMTUwcHg7XG4gICAgICAgIHdpZHRoOiAyMDBweDtcbiAgICAgICAgbWFyZ2luLWJvdHRvbTogMWVtO1xuICAgICAgICAmLmFjdGl2ZSB7XG4gICAgICAgICAgICBoZWlnaHQ6IDE1MHB4O1xuICAgICAgICB9XG5cbiAgICB9XG59XG5cbkBpbmNsdWR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QGNvbnRlbnRcbiAgfVxufVxuXG5AbWl4aW4gZ3QteHMge1xuICBAbWVkaWEgc2NyZWVuIGFuZCAobWluLXdpZHRoOiA2MDBweCkge1xuICAgIEBjb250ZW50XG4gIH1cbn0iXX0= */\");\n\n/***/ }),\n\n/***/ \"./src/app/components/artist/artist-card/artist-card.component.ts\":\n/*!************************************************************************!*\\\n  !*** ./src/app/components/artist/artist-card/artist-card.component.ts ***!\n  \\************************************************************************/\n/*! exports provided: ArtistCardComponent */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ArtistCardComponent\", function() { return ArtistCardComponent; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var src_app_services_browserCheck__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/app/services/browserCheck */ \"./src/app/services/browserCheck.ts\");\n/* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/platform-browser */ \"./node_modules/@angular/platform-browser/fesm2015/platform-browser.js\");\n\n\n\n\nlet ArtistCardComponent = class ArtistCardComponent {\n    constructor(browserCheck, sanitizer) {\n        this.browserCheck = browserCheck;\n        this.sanitizer = sanitizer;\n        this.activeView = false;\n    }\n    onClick(btn) {\n        if (this.browserCheck.isDevice) {\n            this.activeView = !this.activeView;\n        }\n    }\n    onMouseEnter(btn) {\n        if (this.browserCheck.checkIfBrowser && !this.browserCheck.isDevice) {\n            this.activeView = true;\n        }\n    }\n    onMouseLeave(btn) {\n        if (this.browserCheck.checkIfBrowser && !this.browserCheck.isDevice) {\n            this.activeView = false;\n        }\n    }\n    ngOnInit() {\n    }\n};\nArtistCardComponent.ctorParameters = () => [\n    { type: src_app_services_browserCheck__WEBPACK_IMPORTED_MODULE_2__[\"default\"] },\n    { type: _angular_platform_browser__WEBPACK_IMPORTED_MODULE_3__[\"DomSanitizer\"] }\n];\ntslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"])()\n], ArtistCardComponent.prototype, \"artist\", void 0);\ntslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"])()\n], ArtistCardComponent.prototype, \"i\", void 0);\ntslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"HostListener\"])('touchend', ['$event.target'])\n], ArtistCardComponent.prototype, \"onClick\", null);\ntslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"HostListener\"])('mouseenter', ['$event.target'])\n], ArtistCardComponent.prototype, \"onMouseEnter\", null);\ntslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"HostListener\"])('mouseleave', ['$event.target'])\n], ArtistCardComponent.prototype, \"onMouseLeave\", null);\nArtistCardComponent = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Component\"])({\n        selector: 'app-artist-card',\n        template: tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(/*! raw-loader!./artist-card.component.html */ \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/artist/artist-card/artist-card.component.html\")).default,\n        styles: [tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(/*! ./artist-card.component.scss */ \"./src/app/components/artist/artist-card/artist-card.component.scss\")).default]\n    })\n], ArtistCardComponent);\n\n\n\n/***/ }),\n\n/***/ \"./src/app/components/artist/artist-list/artist-list.component.scss\":\n/*!**************************************************************************!*\\\n  !*** ./src/app/components/artist/artist-list/artist-list.component.scss ***!\n  \\**************************************************************************/\n/*! exports provided: default */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\".header__title {\\n  font-size: 3em;\\n  border-bottom: 8px black solid;\\n  width: -webkit-fit-content;\\n  width: -moz-fit-content;\\n  width: fit-content;\\n  padding-bottom: 0.2em;\\n  margin: 0;\\n}\\n\\n.artist {\\n  max-width: 1024px;\\n  margin: 0 auto;\\n  padding: 2rem 0px;\\n}\\n\\n.artist .header__title {\\n  text-transform: capitalize;\\n}\\n\\n.artist__container {\\n  margin-top: 2em;\\n}\\n\\n.artist__container__grid::after {\\n  content: \\\"\\\";\\n  flex: auto;\\n}\\n\\n.artist__button {\\n  margin-top: 2em;\\n  background: #D8D8D8;\\n  border-radius: 23.5px;\\n  font-size: 16px;\\n  color: #090909;\\n  text-align: center;\\n  padding: 1em 2em;\\n  border: none;\\n  font-weight: bold;\\n}\\n\\n.artist__button:hover {\\n  border: none;\\n  cursor: pointer;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9Vc2Vycy9hbGV4L0Rlc2t0b3Avb2JzY3VyaWZ5My9zcmMvYXBwL3Njc3MvY29tcG9uZW50cy9faGVhZGVyLnNjc3MiLCJzcmMvYXBwL2NvbXBvbmVudHMvYXJ0aXN0L2FydGlzdC1saXN0L2FydGlzdC1saXN0LmNvbXBvbmVudC5zY3NzIiwiL1VzZXJzL2FsZXgvRGVza3RvcC9vYnNjdXJpZnkzL3NyYy9hcHAvY29tcG9uZW50cy9hcnRpc3QvYXJ0aXN0LWxpc3QvYXJ0aXN0LWxpc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bmVyX19ncmlkIHtcbiAgICAgICAgJjo6YWZ0ZXIge1xuICAgICAgICAgICAgY29udGVudDogXCJcIjtcbiAgICAgICAgICAgIGZsZXg6IGF1dG87XG4gICAgICAgICAgfVxuICAgIH1cblxuICAgICZfX2J1dHRvbiB7XG4gICAgICAgIG1hcmdpbi10b3A6IDJlbTtcbiAgICAgICAgYmFja2dyb3VuZDogI0Q4RDhEODtcbiAgICAgICAgYm9yZGVyLXJhZGl1czogMjMuNXB4O1xuICAgICAgICBmb250LXNpemU6IDE2cHg7XG4gICAgICAgIGNvbG9yOiAjMDkwOTA5O1xuICAgICAgICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gICAgICAgIHBhZGRpbmc6IDFlbSAyZW07XG4gICAgICAgIGJvcmRlcjogbm9uZTtcbiAgICAgICAgZm9udC13ZWlnaHQ6IGJvbGQ7XG4gICAgICAgICY6aG92ZXIge1xuICAgICAgICAgICAgYm9yZGVyOiBub25lO1xuICAgICAgICAgICAgY3Vyc29yOiBwb2ludGVyO1xuICAgICAgICB9XG4gICAgfVxufSJdfQ== */\");\n\n/***/ }),\n\n/***/ \"./src/app/components/artist/artist-list/artist-list.component.ts\":\n/*!************************************************************************!*\\\n  !*** ./src/app/components/artist/artist-list/artist-list.component.ts ***!\n  \\************************************************************************/\n/*! exports provided: ArtistListComponent */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ArtistListComponent\", function() { return ArtistListComponent; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/material/snack-bar */ \"./node_modules/@angular/material/esm2015/snack-bar.js\");\n/* harmony import */ var src_app_services_intersectionObserver__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/app/services/intersectionObserver */ \"./src/app/services/intersectionObserver.ts\");\n/* harmony import */ var src_app_services_infoService__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/app/services/infoService */ \"./src/app/services/infoService.ts\");\n/* harmony import */ var src_app_services_spotifyAuth__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! src/app/services/spotifyAuth */ \"./src/app/services/spotifyAuth/index.ts\");\n/* harmony import */ var src_app_services_spotifyService__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! src/app/services/spotifyService */ \"./src/app/services/spotifyService.ts\");\n\n\n\n\n\n\n\nlet ArtistListComponent = class ArtistListComponent {\n    constructor(element, intersectionObserverService, infoSvc, tokenSvc, spotifyService, snackBar) {\n        this.element = element;\n        this.intersectionObserverService = intersectionObserverService;\n        this.infoSvc = infoSvc;\n        this.tokenSvc = tokenSvc;\n        this.spotifyService = spotifyService;\n        this.snackBar = snackBar;\n        this.appColor = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"EventEmitter\"]();\n        this.navState = {\n            listType: 'artists',\n            historyList: [\n                { name: 'Current', value: 'current' },\n                { name: 'All Time', value: 'allTime' },\n            ],\n            selectedHistory: { name: 'Current', value: 'current' }\n        };\n        this.allTimeArtists = [];\n        this.currentArtists = [];\n        this.allTimeTracks = [];\n        this.currentTracks = [];\n        this.sliceLimit = 10;\n        this.showNav = false;\n    }\n    updateAppBackgroundColor() {\n        this.appColor.emit(4);\n    }\n    ngOnInit() {\n        this.infoSvc.fetchAllTimeArtists().subscribe((x) => {\n            if (x.items) {\n                this.allTimeArtists = [...x.items];\n            }\n        });\n        this.infoSvc.fetchAllTimeTracks().subscribe((x) => {\n            if (x.items) {\n                this.allTimeTracks = [...x.items];\n            }\n        });\n        this.infoSvc.fetchCurrentTracks().subscribe((x) => {\n            if (x.items) {\n                this.currentTracks = [...x.items];\n            }\n        });\n        this.infoSvc.fetchCurrentArtists().subscribe((x) => {\n            if (x.items) {\n                this.currentArtists = [...x.items];\n            }\n        });\n        this.infoSvc.getUserStream().subscribe((user) => {\n            this.userInfo = Object.assign({}, user.userInfo);\n        });\n    }\n    ngAfterViewInit() {\n        this.intersectionObserverService.init(this.element.nativeElement, {\n            threshold: 0.20\n        });\n        this.intersectionObserverSubs = this.intersectionObserverService\n            .getSubject()\n            .subscribe(el => {\n            if (el.isIntersecting) {\n                console.log('is intersecting artists');\n                this.updateAppBackgroundColor();\n                this.showNav = true;\n            }\n            else {\n                this.showNav = false;\n            }\n        });\n    }\n    getHistory(data) {\n        this.navState = Object.assign({}, data);\n        console.log(this.navState);\n    }\n    createPlaylist() {\n        let playlistName = '';\n        if (this.navState.selectedHistory.name === 'Current') {\n            playlistName = 'Current';\n        }\n        else {\n            playlistName = 'All-Time Top Tracks // Obscurify';\n        }\n        if (playlistName === 'Current') {\n            const monthNames = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',\n                'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'\n            ];\n            const dateObj = new Date();\n            const month = monthNames[dateObj.getMonth()]; // months from 1-12\n            const day = dateObj.getDate();\n            const year = dateObj.getFullYear() % 100;\n            const newdate = month + ' ' + day + ' \\'' + year;\n            playlistName = newdate + ' // Obscurify';\n        }\n        const config = {\n            userID: this.userInfo.id,\n            token: this.tokenSvc.oAuthToken,\n            playlistName: (playlistName),\n            tracks: null\n        };\n        if (this.navState.selectedHistory.value === 'current') {\n            config.tracks = this.currentTracks;\n        }\n        else {\n            config.tracks = this.allTimeTracks;\n        }\n        this.spotifyService.makePlaylist(config).then((results) => {\n            console.log('playlist', results);\n            this.snackBar.open('Playlist Created in Spotify!', '', { duration: 5000, panelClass: 'panel-success' });\n        }).catch((err) => {\n            console.log('playlist error', err);\n            this.snackBar.open('Server Error. Please Try Again Later.', '', { duration: 5000, panelClass: 'panel-error' });\n        });\n    }\n    showMore() {\n        this.sliceLimit = 50;\n    }\n    showLess() {\n        this.sliceLimit = 10;\n    }\n};\nArtistListComponent.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ElementRef\"] },\n    { type: src_app_services_intersectionObserver__WEBPACK_IMPORTED_MODULE_3__[\"default\"] },\n    { type: src_app_services_infoService__WEBPACK_IMPORTED_MODULE_4__[\"InfoService\"] },\n    { type: src_app_services_spotifyAuth__WEBPACK_IMPORTED_MODULE_5__[\"TokenService\"] },\n    { type: src_app_services_spotifyService__WEBPACK_IMPORTED_MODULE_6__[\"SpotifyService\"] },\n    { type: _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_2__[\"MatSnackBar\"] }\n];\ntslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Output\"])()\n], ArtistListComponent.prototype, \"appColor\", void 0);\nArtistListComponent = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Component\"])({\n        selector: 'app-artist-list',\n        template: tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(/*! raw-loader!./artist-list.component.html */ \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/artist/artist-list/artist-list.component.html\")).default,\n        providers: [src_app_services_intersectionObserver__WEBPACK_IMPORTED_MODULE_3__[\"default\"]],\n        styles: [tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(/*! ./artist-list.component.scss */ \"./src/app/components/artist/artist-list/artist-list.component.scss\")).default]\n    })\n], ArtistListComponent);\n\n\n\n/***/ }),\n\n/***/ \"./src/app/components/artist/artist-nav/artist-nav.component.scss\":\n/*!************************************************************************!*\\\n  !*** ./src/app/components/artist/artist-nav/artist-nav.component.scss ***!\n  \\************************************************************************/\n/*! exports provided: default */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\".artist__nav {\\n  padding: 0em 2em 1em;\\n  height: 4em;\\n  width: 100%;\\n  box-sizing: border-box;\\n  position: fixed;\\n  bottom: 0;\\n  background: white;\\n  margin-left: -1em;\\n  border: 1px solid #E4E4E4;\\n}\\n.artist__nav.active {\\n  height: 70vh;\\n}\\n.artist__nav__mobile {\\n  margin-bottom: 2em;\\n  display: flex;\\n  justify-content: stretch;\\n}\\n.artist__nav__mobile button {\\n  font-size: 1em;\\n  border: none;\\n  background: none;\\n  width: 100%;\\n  text-align: right;\\n  margin-top: 1em;\\n}\\n.artist__nav__mobile button span {\\n  float: left;\\n  font-size: 24px;\\n  font-weight: bold;\\n}\\n.artist__nav__mobile button i {\\n  margin-left: 1em;\\n}\\n.artist__nav__content h2 {\\n  margin-bottom: 0.5em;\\n}\\n.artist__nav__main {\\n  margin-bottom: 2em;\\n}\\n.artist__nav__main .artist__nav__button {\\n  margin-right: 1em;\\n  font-size: 1em;\\n}\\n.artist__nav__history {\\n  margin-bottom: 2em;\\n}\\n.artist__nav__history h3 {\\n  margin-bottom: 1em;\\n}\\n.artist__nav__playlist button {\\n  background: #D8D8D8;\\n  padding: 8px 1em;\\n  font-size: 1em;\\n  border: none;\\n  font-weight: bold;\\n}\\n.artist__nav__playlist button i {\\n  margin-right: 5px;\\n}\\n.artist__nav__button {\\n  background: transparent;\\n  border: none;\\n  border-radius: 5px;\\n  font-size: 1.5em;\\n  padding: 8px 1em;\\n  border: 2px solid #e4e4e4;\\n  font-weight: bold;\\n}\\n.artist__nav__button.active {\\n  background: #A9E5AC;\\n  border: 2px solid #A9E5AC;\\n}\\n.artist__nav .select__item {\\n  margin-bottom: 1em;\\n}\\n@media screen and (min-width: 600px) {\\n  .artist__nav__content {\\n    width: 60%;\\n    max-width: 310px;\\n  }\\n}\\n@media screen and (max-width: 959px) {\\n  .artist__nav {\\n    box-shadow: 3px 14px 16px 8px #000;\\n  }\\n  .artist__nav__container {\\n    margin: 0em 0 0;\\n  }\\n\\n  .artist__nav__content {\\n    margin: 0 auto;\\n  }\\n}\\n@media screen and (min-width: 960px) {\\n  .artist__nav {\\n    padding: 1em 1em;\\n    border-radius: 5px;\\n    height: auto;\\n    box-sizing: border-box;\\n    position: static;\\n    background: white;\\n    margin-left: 0em;\\n  }\\n  .artist__nav__container {\\n    margin: 0em 0 0;\\n  }\\n  .artist__nav__content {\\n    width: 100%;\\n  }\\n  .artist__nav__mobile {\\n    display: none;\\n  }\\n  .artist__nav.active {\\n    height: auto;\\n  }\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9Vc2Vycy9hbGV4L0Rlc2t0b3Avb2JzY3VyaWZ5My9zcmMvYXBwL2NvbXBvbmVudHMvYXJ0aXN0L2FydGlzdC1uYXYvYXJ0aXN0LW5hdi5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvY29tcG9uZW50cy9hcnRpc3QvYXJ0aXN0LW5hdi9hcnRpc3QtbmF2LmNvbXBvbmVudC5zY3NzIiwiL1VzZXJzL2FsZXgvRGVza3RvcC9vYnNjdXJpZnkzL3NyYy9hcHAvc2Nzcy9fdmFyaWFibGVzLnNjc3MiLCIvVXNlcnMvYWxleC9EZXNrdG9wL29ic2N1cmlmeTMvc3JjL2FwcC9zY3NzL19taXhpbnMuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHQTtFQUNJLG9CQUFBO0VBRUEsV0FBQTtFQUNBLFdBQUE7RUFDQSxzQkFBQTtFQUNBLGVBQUE7RUFDQSxTQUFBO0VBQ0EsaUJBQUE7RUFDQSxpQkFBQTtFQUNBLHlCQUFBO0FDSEo7QURLSTtFQUNJLFlBQUE7QUNIUjtBRE1JO0VBQ0ksa0JBQUE7RUFDQSxhQUFBO0VBQ0Esd0JBQUE7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gICBmb250LXNpemU6IDI0cHg7XG4gICAgICAgICAgICAgICAgZm9udC13ZWlnaHQ6IGJvbGQ7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIGkge1xuICAgICAgICAgICAgICAgIG1hcmdpbi1sZWZ0OiAxZW07XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAmX19jb250ZW50IHtcbiAgICAgICAgaDIge1xuICAgICAgICAgICAgbWFyZ2luLWJvdHRvbTogLjVlbTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIFxuICAgICZfX21haW4ge1xuICAgICAgICBtYXJnaW4tYm90dG9tOiAyZW07XG5cbiAgICAgICAgLmFydGlzdF9fbmF2X19idXR0b24ge1xuICAgICAgICAgICAgbWFyZ2luLXJpZ2h0OiAxZW07XG4gICAgICAgICAgICBmb250LXNpemU6IDFlbTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgICZfX2hpc3Rvcnkge1xuICAgICAgICBoMyB7XG4gICAgICAgICAgICBtYXJnaW4tYm90dG9tOiAxZW07XG4gICAgICAgIH1cbiAgICAgICAgbWFyZ2luLWJvdHRvbTogMmVtO1xuICAgIH1cblxuICAgICZfX3BsYXlsaXN0IHtcbiAgICAgICAgYnV0dG9uIHtcbiAgICAgICAgICAgIGJhY2tncm91bmQ6ICNEOEQ4RDg7XG4gICAgICAgICAgICBwYWRkaW5nOiA4cHggMWVtO1xuICAgICAgICAgICAgZm9udC1zaXplOiAxZW07XG4gICAgICAgICAgICBib3JkZXI6IG5vbmU7XG4gICAgICAgICAgICBmb250LXdlaWdodDogYm9sZDtcbiAgICAgICAgICAgIGkge1xuICAgICAgICAgICAgICAgIG1hcmdpbi1yaWdodDogNXB4O1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuXG4gICAgJl9fYnV0dG9uIHtcbiAgICAgICAgYmFja2dyb3VuZDogdHJhbnNwYXJlbnQ7XG4gICAgICAgIGJvcmRlcjogbm9uZTtcbiAgICAgICAgYm9yZGVyLXJhZGl1czogNXB4O1xuICAgICAgICBmb250LXNpemU6IDEuNWVtO1xuICAgICAgICBwYWRkaW5nOiA4cHggMWVtO1xuICAgICAgICBib3JkZXI6IDJweCBzb2xpZCAjZTRlNGU0O1xuICAgICAgICBmb250LXdlaWdodDogYm9sZDtcbiAgICAgICAgJi5hY3RpdmUge1xuICAgICAgICAgICAgYmFja2dyb3VuZDogJHByaW1hcnktY29sb3I7XG4gICAgICAgICAgICBib3JkZXI6IDJweCBzb2xpZCAkcHJpbWFyeS1jb2xvcjtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIC5zZWxlY3RfX2l0ZW0ge1xuICAgICAgICBtYXJnaW4tYm90dG9tOiAxZW07XG4gICAgfSAgIFxufVxuXG5AaW5jbHVkZSBndC14cyB7XG4gICAgLmFydGlzdF9fbmF2X19jb250ZW50IHtcbiAgICAgICAgd2lkdGg6IDYwJTtcbiAgICAgICAgbWF4LXdpZHRoOiAzMTBweDtcbiAgICB9XG59XG5cbkBpbmNsdWRlIGx0LW1kIHtcblxuICAgIC5hcnRpc3RfX25hdiB7XG4gICAgICAgIGJveC1zaGFkb3c6IDNweCAxNHB4IDE2cHggOHB4ICMwMDA7XG5cbiAgICAgICAgJl9fY29udGFpbmVyIHtcbiAgICAgICAgICAgIG1hcmdpbjogMGVtIDAgMDtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIC5hcnRpc3RfX25hdl9fY29udGVudCB7XG4gICAgICAgIG1hcmdpbjogMCBhdXRvO1xuICAgIH1cbn1cblxuQGluY2x1ZGUgZ3QtbWQge1xuXG4gICAgLmFydGlzdF9fbmF2IHtcbiAgICAgICAgcGFkZGluZzogMWVtIDFlbTtcbiAgICAgICAgYm9yZGVyLXJhZGl1czogNXB4O1xuXG4gICAgICAgIGhlaWdodDogYXV0bztcbiAgICAgICAgYm94LXNpemluZzogYm9yZGVyLWJveDtcbiAgICAgICAgcG9zaXRpb246IHN0YXRpYztcbiAgICAgICAgYmFja2dyb3VuZDogd2hpdGU7XG4gICAgICAgIG1hcmdpbi1sZWZ0OiAwZW07XG5cblxuICAgICAgICAmX19jb250YWluZXIge1xuICAgICAgICAgICAgbWFyZ2luOiAwZW0gMCAwO1xuICAgICAgICB9XG5cbiAgICAgICAgJl9fY29udGVudCB7XG4gICAgICAgICAgICB3aWR0aDogMTAwJTtcbiAgICAgICAgfVxuXG4gICAgICAgICZfX21vYmlsZSB7XG4gICAgICAgICAgICBkaXNwbGF5OiBub25lO1xuICAgICAgICB9XG5cbiAgICAgICAgJi5hY3RpdmUge1xuICAgICAgICAgICAgaGVpZ2h0OiBhdXRvO1xuICAgICAgICB9XG4gICAgXG4gICAgfVxuXG59IiwiLmFydGlzdF9fbmF2IHtcbiAgcGFkZGluZzogMGVtIDJlbSAxZW07XG4gIGhlaWdodDogNGVtO1xuICB3aWR0aDogMTAwJTtcbiAgYm94LXNpemluZzogYm9yZGVyLWJveDtcbiAgcG9zaXRpb246IGZpeGVkO1xuICBib3R0b206IDA7XG4gIGJhY2tncm91bmQ6IHdoaXRlO1xuICBtYXJnaW4tbGVmdDogLTFlbTtcbiAgYm9yZGVyOiAxcHggc29saWQgI0U0RTRFNDtcbn1cbi5hcnRpc3RfX25hdi5hY3RpdmUge1xuICBoZWlnaHQ6IDcwdmg7XG59XG4uYXJ0aXN0X19uYXZfX21vYmlsZSB7XG4gIG1hcmdpbi1ib3R0b206IDJlbTtcbiAgZGlzcGxheTogZmxleDtcbiAganVzdGlmeS1jb250ZW50OiBzdHJldGNoO1xufVxuLmFydGlzdF9fbmF2X19tb2JpbGUgYnV0dG9uIHtcbiAgZm9udC1zaXplOiAxZW07XG4gIGJvcmRlcjogbm9uZTtcbiAgYmFja2dyb3VuZDogbm9uZTtcbiAgd2lkdGg6IDEwMCU7XG4gIHRleHQtYWxpZ246IHJpZ2h0O1xuICBtYXJnaW4tdG9wOiAxZW07XG59XG4uYXJ0aXN0X19uYXZfX21vYmlsZSBidXR0b24gc3BhbiB7XG4gIG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6IG5vbmU7XG4gIH1cbiAgLmFydGlzdF9fbmF2LmFjdGl2ZSB7XG4gICAgaGVpZ2h0OiBhdXRvO1xuICB9XG59IiwiXG4kcHJpbWFyeS1mb250OiAnSGVsdmV0aWNhIE5ldWUnLCBzYW5zLXNlcmlmO1xuJHNlY29uZGFyeS1mb250OiAtYXBwbGUtc3lzdGVtLCBCbGlua01hY1N5c3RlbUZvbnQsICdTZWdvZSBVSSc7XG5cbi8vIENvbG9yc1xuXG4kcHJpbWFyeS1jb2xvcjogI0E5RTVBQzsiLCIkdGFibGV0LXdpZHRoOiA3NjhweDtcbiRkZXNrdG9wLXdpZHRoOiAxMDI0cHg7XG5cbkBtaXhpbiB0YWJsZXQge1xuICBAbWVkaWEgKG1pbi13aWR0aDogI3skdGFibGV0LXdpZHRofSkgYW5kIChtYXgtd2lkdGg6ICN7JGRlc2t0b3Atd2lkdGggLSAxcHh9KSB7XG4gICAgQGNvbnRlbnQ7XG4gIH1cbn1cblxuQG1peGluIGRlc2t0b3Age1xuICBAbWVkaWEgKG1pbi13aWR0aDogI3skZGVza3RvcC13aWR0aH0pIHtcbiAgICBAY29udGVudDtcbiAgfVxufVxuXG5AbWl4aW4gbHQtbWQge1xuICBAbWVkaWEgc2NyZWVuIGFuZCAobWF4LXdpZHRoOiA5NTlweCkge1xuICAgIEBjb250ZW50XG4gIH1cbn1cblxuQG1peGluIGd0LW1kIHtcbiAgQG1lZGlhIHNjcmVlbiBhbmQgKG1pbi13aWR0aDogOTYwcHgpIHtcbiAgICBAY29udGVudFxuICB9XG59XG5cbkBtaXhpbiBndC14cyB7XG4gIEBtZWRpYSBzY3JlZW4gYW5kIChtaW4td2lkdGg6IDYwMHB4KSB7XG4gICAgQGNvbnRlbnRcbiAgfVxufSJdfQ== */\");\n\n/***/ }),\n\n/***/ \"./src/app/components/artist/artist-nav/artist-nav.component.ts\":\n/*!**********************************************************************!*\\\n  !*** ./src/app/components/artist/artist-nav/artist-nav.component.ts ***!\n  \\**********************************************************************/\n/*! exports provided: ArtistNavComponent */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ArtistNavComponent\", function() { return ArtistNavComponent; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n\n\n\nlet ArtistNavComponent = class ArtistNavComponent {\n    constructor() {\n        this.updateHistory = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"EventEmitter\"]();\n        this.createPlaylist = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"EventEmitter\"]();\n        this.historyList = [];\n        this.selectedHistory = { name: 'Current', value: 'songs' };\n    }\n    ngOnInit() {\n        console.log(this.navState);\n        this.historyList = [...this.navState.historyList];\n        this.selectedHistory = this.historyList[0];\n    }\n    getRadioValue(data) {\n        const navState = {\n            listType: this.navState.listType,\n            selectedHistory: this.selectedHistory,\n            historyList: this.navState.historyList\n        };\n        this.updateHistory.next(navState);\n    }\n    updateArtistTrack(type) {\n        const navState = {\n            listType: type,\n            selectedHistory: this.selectedHistory,\n            historyList: this.navState.historyList\n        };\n        this.updateHistory.next(navState);\n    }\n    emitCreatePlaylist() {\n        this.createPlaylist.next(true);\n    }\n};\ntslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"])()\n], ArtistNavComponent.prototype, \"navState\", void 0);\ntslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Output\"])()\n], ArtistNavComponent.prototype, \"updateHistory\", void 0);\ntslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Output\"])()\n], ArtistNavComponent.prototype, \"createPlaylist\", void 0);\nArtistNavComponent = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Component\"])({\n        selector: 'app-artist-nav',\n        template: tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(/*! raw-loader!./artist-nav.component.html */ \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/artist/artist-nav/artist-nav.component.html\")).default,\n        styles: [tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(/*! ./artist-nav.component.scss */ \"./src/app/components/artist/artist-nav/artist-nav.component.scss\")).default]\n    })\n], ArtistNavComponent);\n\n\n\n/***/ }),\n\n/***/ \"./src/app/components/artist/track-card/track-card.component.scss\":\n/*!************************************************************************!*\\\n  !*** ./src/app/components/artist/track-card/track-card.component.scss ***!\n  \\************************************************************************/\n/*! exports provided: default */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\".artist__card {\\n  width: 100%;\\n  min-width: 200px;\\n  height: 150px;\\n  position: relative;\\n  overflow: hidden;\\n  border-radius: 5px;\\n  box-shadow: 5px 5px 4px 4px rgba(0, 0, 0, 0.5);\\n  color: white;\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n}\\n.artist__card img {\\n  position: absolute;\\n  -o-object-fit: cover;\\n     object-fit: cover;\\n  width: 100%;\\n}\\n.artist__card.active {\\n  height: 200px;\\n}\\n.artist__card.active .artist__card__info {\\n  height: 100%;\\n}\\n.artist__card span {\\n  margin-top: 2px;\\n}\\n.artist__card__info {\\n  height: 60px;\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n  position: absolute;\\n  width: 100%;\\n  background: rgba(0, 0, 0, 0.55);\\n  border-radius: 5px;\\n  bottom: 0;\\n  box-sizing: border-box;\\n  padding: 1rem 0.5rem;\\n  font-size: 1.2rem;\\n}\\n.artist__card__info--secondary, .artist__card__info--primary {\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n  margin-left: 1rem;\\n}\\n.artist__card__info--primary {\\n  font-size: 1.2em;\\n  margin-bottom: 0.5rem;\\n}\\n.artist__card__external {\\n  color: white;\\n  cursor: pointer;\\n}\\n.artist__card button {\\n  margin-top: 1em;\\n  background: transparent;\\n  width: 125px;\\n  text-align: center;\\n  font-size: 12px;\\n  color: #fff;\\n  display: block;\\n  border-radius: 25px;\\n  font-weight: 700;\\n  margin: 1em auto 0;\\n  border: 2px solid #A9E5AC;\\n  padding: 1em;\\n  cursor: pointer;\\n}\\n@media (min-width: 768px) and (max-width: 1023px) {\\n  .artist__card {\\n    height: 150px;\\n    width: 200px;\\n    margin-bottom: 1em;\\n  }\\n  .artist__card.active {\\n    height: 150px;\\n  }\\n}\\n@media (min-width: 1024px) {\\n  .artist__card {\\n    height: 170px;\\n    width: 220px;\\n    margin-bottom: 1em;\\n  }\\n  .artist__card__info {\\n    font-size: 1rem;\\n  }\\n  .artist__card.active {\\n    height: 170px;\\n  }\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9Vc2Vycy9hbGV4L0Rlc2t0b3Avb2JzY3VyaWZ5My9zcmMvYXBwL2NvbXBvbmVudHMvYXJ0aXN0L3RyYWNrLWNhcmQvdHJhY2stY2FyZC5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvY29tcG9uZW50cy9hcnRpc3QvdHJhY2stY2FyZC90cmFjay1jYXJkLmNvbXBvbmVudC5zY3NzIiwiL1VzZXJzL2FsZXgvRGVza3RvcC9vYnNjdXJpZnkzL3NyYy9hcHAvc2Nzcy9fbWl4aW5zLnNjc3MiXSwibmFtZXMiOltdLCJtYXB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2tncm91bmQ6IHJnYmEoMCwwLDAsLjU1KTtcbiAgICAgICAgYm9yZGVyLXJhZGl1czogNXB4O1xuICAgICAgICBib3R0b206IDA7ICBcbiAgICAgICAgYm94LXNpemluZzogYm9yZGVyLWJveDsgIFxuICAgICAgICBwYWRkaW5nOiAxcmVtIDAuNXJlbTtcbiAgICAgICAgZm9udC1zaXplOiAxLjJyZW07XG5cbiAgICAgICAgJi0tc2Vjb25kYXJ5LCAmLS1wcmltYXJ5IHtcbiAgICAgICAgICAgIHRyYW5zaXRpb246IC4zcyBjdWJpYy1iZXppZXIoLjI1LC4xLC4yNSwxKTtcbiAgICAgICAgICAgIG1hcmdpbi1sZWZ0OiAxcmVtO1xuICAgICAgICB9XG5cbiAgICAgICAgJi0tcHJpbWFyeSB7XG4gICAgICAgICAgICBmb250LXNpemU6IDEuMmVtO1xuICAgICAgICAgICAgbWFyZ2luLWJvdHRvbTogMC41cmVtO1xuXG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAmX19leHRlcm5hbCB7XG4gICAgICAgIGNvbG9yOiB3aGl0ZTtcbiAgICAgICAgY3Vyc29yOiBwb2ludGVyO1xuICAgIH1cblxuICAgIGJ1dHRvbiB7XG4gICAgICAgIG1hcmdpbi10b3A6IDFlbTtcbiAgICAgICAgYmFja2dyb3VuZDogdHJhbnNwYXJlbnQ7XG4gICAgICAgIHdpZHRoOiAxMjVweDtcbiAgICAgICAgdGV4dC1hbGlnbjogY2VudGVyO1xuICAgICAgICBmb250LXNpemU6IDEycHg7XG4gICAgICAgIGNvbG9yOiAjZmZmO1xuICAgICAgICBkaXNwbGF5OiBibG9jaztcbiAgICAgICAgYm9yZGVyLXJhZGl1czogMjVweDtcbiAgICAgICAgZm9udC13ZWlnaHQ6IDcwMDtcbiAgICAgICAgbWFyZ2luOiAxZW0gYXV0byAwO1xuICAgICAgICBib3JkZXI6IDJweCBzb2xpZCAkcHJpbWFyeS1jb2xvcjtcbiAgICAgICAgcGFkZGluZzogMWVtO1xu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IH1cbn1cblxuQG1peGluIGRlc2t0b3Age1xuICBAbWVkaWEgKG1pbi13aWR0aDogI3skZGVza3RvcC13aWR0aH0pIHtcbiAgICBAY29udGVudDtcbiAgfVxufVxuXG5AbWl4aW4gbHQtbWQge1xuICBAbWVkaWEgc2NyZWVuIGFuZCAobWF4LXdpZHRoOiA5NTlweCkge1xuICAgIEBjb250ZW50XG4gIH1cbn1cblxuQG1peGluIGd0LW1kIHtcbiAgQG1lZGlhIHNjcmVlbiBhbmQgKG1pbi13aWR0aDogOTYwcHgpIHtcbiAgICBAY29udGVudFxuICB9XG59XG5cbkBtaXhpbiBndC14cyB7XG4gIEBtZWRpYSBzY3JlZW4gYW5kIChtaW4td2lkdGg6IDYwMHB4KSB7XG4gICAgQGNvbnRlbnRcbiAgfVxufSJdfQ== */\");\n\n/***/ }),\n\n/***/ \"./src/app/components/artist/track-card/track-card.component.ts\":\n/*!**********************************************************************!*\\\n  !*** ./src/app/components/artist/track-card/track-card.component.ts ***!\n  \\**********************************************************************/\n/*! exports provided: TrackCardComponent */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TrackCardComponent\", function() { return TrackCardComponent; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var src_app_services_browserCheck__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/app/services/browserCheck */ \"./src/app/services/browserCheck.ts\");\n/* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/platform-browser */ \"./node_modules/@angular/platform-browser/fesm2015/platform-browser.js\");\n\n\n\n\nlet TrackCardComponent = class TrackCardComponent {\n    constructor(browserCheck, sanitizer) {\n        this.browserCheck = browserCheck;\n        this.sanitizer = sanitizer;\n        this.activeView = false;\n    }\n    onClick(btn) {\n        if (this.browserCheck.isDevice) {\n            this.activeView = !this.activeView;\n        }\n    }\n    onMouseEnter(btn) {\n        if (this.browserCheck.checkIfBrowser && !this.browserCheck.isDevice) {\n            this.activeView = true;\n        }\n    }\n    onMouseLeave(btn) {\n        if (this.browserCheck.checkIfBrowser && !this.browserCheck.isDevice) {\n            this.activeView = false;\n        }\n    }\n    ngOnInit() {\n    }\n};\nTrackCardComponent.ctorParameters = () => [\n    { type: src_app_services_browserCheck__WEBPACK_IMPORTED_MODULE_2__[\"default\"] },\n    { type: _angular_platform_browser__WEBPACK_IMPORTED_MODULE_3__[\"DomSanitizer\"] }\n];\ntslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"])()\n], TrackCardComponent.prototype, \"track\", void 0);\ntslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"])()\n], TrackCardComponent.prototype, \"i\", void 0);\ntslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"HostListener\"])('touchend', ['$event.target'])\n], TrackCardComponent.prototype, \"onClick\", null);\ntslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"HostListener\"])('mouseenter', ['$event.target'])\n], TrackCardComponent.prototype, \"onMouseEnter\", null);\ntslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"HostListener\"])('mouseleave', ['$event.target'])\n], TrackCardComponent.prototype, \"onMouseLeave\", null);\nTrackCardComponent = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Component\"])({\n        selector: 'app-track-card',\n        template: tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(/*! raw-loader!./track-card.component.html */ \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/artist/track-card/track-card.component.html\")).default,\n        styles: [tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(/*! ./track-card.component.scss */ \"./src/app/components/artist/track-card/track-card.component.scss\")).default]\n    })\n], TrackCardComponent);\n\n\n\n/***/ }),\n\n/***/ \"./src/app/components/footer/footer.component.scss\":\n/*!*********************************************************!*\\\n  !*** ./src/app/components/footer/footer.component.scss ***!\n  \\*********************************************************/\n/*! exports provided: default */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\"footer {\\n  min-height: 100px;\\n  padding: 3em;\\n  background-color: rgba(0, 0, 0, 0.8);\\n  color: white;\\n  bottom: 0;\\n}\\nfooter a {\\n  color: white;\\n  text-decoration: none;\\n  margin-bottom: 1em;\\n}\\nfooter a:hover, footer a:focus {\\n  text-decoration: underline;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9Vc2Vycy9hbGV4L0Rlc2t0b3Avb2JzY3VyaWZ5My9zcmMvYXBwL2NvbXBvbmVudHMvZm9vdGVyL2Zvb3Rlci5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvY29tcG9uZW50cy9mb290ZXIvZm9vdGVyLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0ksaUJBQUE7RUFDQSxZQUFBO0VBQ0Esb0NBQUE7RUFDQSxZQUFBO0VBQ0EsU0FBQTtBQ0NKO0FEQ0k7RUFDSSxZQUFBO0VBQ0EscUJBQUE7RUFDQSxrQkFBQTtBQ0NSO0FEQ1E7RUFDSSwwQkFBQTtBQ0NaIiwiZmlsZSI6InNyYy9hcHAvY29tcG9uZW50cy9mb290ZXIvZm9vdGVyLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiZm9vdGVyIHtcbiAgICBtaW4taGVpZ2h0OiAxMDBweDtcbiAgICBwYWRkaW5nOiAzZW07XG4gICAgYmFja2dyb3VuZC1jb2xvcjogcmdiYSgwLDAsMCwwLjgpO1xuICAgIGNvbG9yOiB3aGl0ZTtcbiAgICBib3R0b206IDA7XG5cbiAgICBhIHtcbiAgICAgICAgY29sb3I6IHdoaXRlO1xuICAgICAgICB0ZXh0LWRlY29yYXRpb246IG5vbmU7XG4gICAgICAgIG1hcmdpbi1ib3R0b206IDFlbTtcblxuICAgICAgICAmOmhvdmVyLCAmOmZvY3VzIHtcbiAgICAgICAgICAgIHRleHQtZGVjb3JhdGlvbjogdW5kZXJsaW5lO1xuICAgICAgICB9XG4gICAgfVxufSIsImZvb3RlciB7XG4gIG1pbi1oZWlnaHQ6IDEwMHB4O1xuICBwYWRkaW5nOiAzZW07XG4gIGJhY2tncm91bmQtY29sb3I6IHJnYmEoMCwgMCwgMCwgMC44KTtcbiAgY29sb3I6IHdoaXRlO1xuICBib3R0b206IDA7XG59XG5mb290ZXIgYSB7XG4gIGNvbG9yOiB3aGl0ZTtcbiAgdGV4dC1kZWNvcmF0aW9uOiBub25lO1xuICBtYXJnaW4tYm90dG9tOiAxZW07XG59XG5mb290ZXIgYTpob3ZlciwgZm9vdGVyIGE6Zm9jdXMge1xuICB0ZXh0LWRlY29yYXRpb246IHVuZGVybGluZTtcbn0iXX0= */\");\n\n/***/ }),\n\n/***/ \"./src/app/components/footer/footer.component.ts\":\n/*!*******************************************************!*\\\n  !*** ./src/app/components/footer/footer.component.ts ***!\n  \\*******************************************************/\n/*! exports provided: FooterComponent */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FooterComponent\", function() { return FooterComponent; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/router */ \"./node_modules/@angular/router/fesm2015/router.js\");\n\n\n\nlet FooterComponent = class FooterComponent {\n    constructor(router) {\n        this.router = router;\n    }\n    ngOnInit() {\n    }\n};\nFooterComponent.ctorParameters = () => [\n    { type: _angular_router__WEBPACK_IMPORTED_MODULE_2__[\"Router\"] }\n];\ntslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"])()\n], FooterComponent.prototype, \"login\", void 0);\nFooterComponent = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Component\"])({\n        selector: 'app-footer',\n        template: tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(/*! raw-loader!./footer.component.html */ \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/footer/footer.component.html\")).default,\n        styles: [tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(/*! ./footer.component.scss */ \"./src/app/components/footer/footer.component.scss\")).default]\n    })\n], FooterComponent);\n\n\n\n/***/ }),\n\n/***/ \"./src/app/components/home/home.component.scss\":\n/*!*****************************************************!*\\\n  !*** ./src/app/components/home/home.component.scss ***!\n  \\*****************************************************/\n/*! exports provided: default */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\".app {\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n  padding: 0 1em;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9Vc2Vycy9hbGV4L0Rlc2t0b3Avb2JzY3VyaWZ5My9zcmMvYXBwL2NvbXBvbmVudHMvaG9tZS9ob21lLmNvbXBvbmVudC5zY3NzIiwic3JjL2FwcC9jb21wb25lbnRzL2hvbWUvaG9tZS5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNJLGlEQUFBO0VBQ0EsY0FBQTtBQ0NKIiwiZmlsZSI6InNyYy9hcHAvY29tcG9uZW50cy9ob21lL2hvbWUuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuYXBwIHtcbiAgICB0cmFuc2l0aW9uOiAuM3MgY3ViaWMtYmV6aWVyKC4yNSwuMSwuMjUsMSk7XG4gICAgcGFkZGluZzogMCAxZW07XG59IiwiLmFwcCB7XG4gIHRyYW5zaXRpb246IDAuM3MgY3ViaWMtYmV6aWVyKDAuMjUsIDAuMSwgMC4yNSwgMSk7XG4gIHBhZGRpbmc6IDAgMWVtO1xufSJdfQ== */\");\n\n/***/ }),\n\n/***/ \"./src/app/components/home/home.component.ts\":\n/*!***************************************************!*\\\n  !*** ./src/app/components/home/home.component.ts ***!\n  \\***************************************************/\n/*! exports provided: HomeComponent */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"HomeComponent\", function() { return HomeComponent; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var _services_spotifyAuth__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../services/spotifyAuth */ \"./src/app/services/spotifyAuth/index.ts\");\n/* harmony import */ var ngx_cookie_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ngx-cookie-service */ \"./node_modules/ngx-cookie-service/fesm2015/ngx-cookie-service.js\");\n/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/router */ \"./node_modules/@angular/router/fesm2015/router.js\");\n/* harmony import */ var _services_infoService__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../services/infoService */ \"./src/app/services/infoService.ts\");\n/* harmony import */ var src_app_services_obscurifyService__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! src/app/services/obscurifyService */ \"./src/app/services/obscurifyService.ts\");\n\n\n\n\n\n\n\nlet HomeComponent = class HomeComponent {\n    constructor(tokenSvc, cookieService, router, infoSvc, authService, obscurifyService) {\n        this.tokenSvc = tokenSvc;\n        this.cookieService = cookieService;\n        this.router = router;\n        this.infoSvc = infoSvc;\n        this.authService = authService;\n        this.obscurifyService = obscurifyService;\n        this.stream = null;\n        this.bgColor = '#A9E5AC';\n    }\n    setColor(val) {\n        switch (val) {\n            case 1:\n                this.bgColor = '#A9E5AC';\n                break;\n            case 2:\n                this.bgColor = '#FFA69E';\n                break;\n            case 3:\n                this.bgColor = 'rgba(0,0,0,0.9)';\n                break;\n            case 4:\n                this.bgColor = '#FFF';\n                break;\n            case 5:\n                this.bgColor = '#759398';\n                break;\n        }\n    }\n    ngOnInit() {\n        const cookie = this.cookieService.get('spotifyResponse');\n        if (cookie || this.tokenSvc.oAuthToken.spotifyToken) {\n            this.tokenSvc.setAuthTokenCache(cookie);\n            this.authService.authorized();\n        }\n        else {\n            this.tokenSvc.clearToken();\n            this.router.navigate(['login']);\n        }\n        const stream = this.tokenSvc.authTokens.pipe((x) => {\n            return this.infoSvc.fetchUserInfo();\n        });\n        stream.subscribe((user) => {\n        });\n        this.infoSvc.getUserStream().subscribe((user) => {\n            if (user.userInfo && user.allTimeObscurifyScore) {\n                this.obscurifyService.getObscurifyData(user.userInfo.country, user.allTimeObscurifyScore, user.recentObscurifyScore).subscribe((data) => {\n                    console.log('obscurify data', data);\n                });\n            }\n        });\n    }\n};\nHomeComponent.ctorParameters = () => [\n    { type: _services_spotifyAuth__WEBPACK_IMPORTED_MODULE_2__[\"TokenService\"] },\n    { type: ngx_cookie_service__WEBPACK_IMPORTED_MODULE_3__[\"CookieService\"] },\n    { type: _angular_router__WEBPACK_IMPORTED_MODULE_4__[\"Router\"] },\n    { type: _services_infoService__WEBPACK_IMPORTED_MODULE_5__[\"InfoService\"] },\n    { type: _services_spotifyAuth__WEBPACK_IMPORTED_MODULE_2__[\"AuthService\"] },\n    { type: src_app_services_obscurifyService__WEBPACK_IMPORTED_MODULE_6__[\"default\"] }\n];\nHomeComponent = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Component\"])({\n        selector: 'app-home',\n        template: tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(/*! raw-loader!./home.component.html */ \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/home/home.component.html\")).default,\n        styles: [tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(/*! ./home.component.scss */ \"./src/app/components/home/home.component.scss\")).default]\n    })\n], HomeComponent);\n\n\n\n/***/ }),\n\n/***/ \"./src/app/components/intro/intro.component.scss\":\n/*!*******************************************************!*\\\n  !*** ./src/app/components/intro/intro.component.scss ***!\n  \\*******************************************************/\n/*! exports provided: default */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\"nav {\\n  max-width: 1024px;\\n  padding: 1em 1em;\\n  margin: 0 auto;\\n  color: rgba(0, 0, 0, 0.5);\\n}\\nnav i {\\n  font-size: 2em;\\n  cursor: pointer;\\n}\\nnav button {\\n  background: none;\\n  border: none;\\n  display: flex;\\n  flex-direction: row;\\n  align-items: center;\\n  font-size: 1em;\\n  font-weight: bold;\\n}\\nnav button i {\\n  margin-left: 5px;\\n}\\n.welcome {\\n  width: 100%;\\n  font-size: 2em;\\n  padding-top: 140px;\\n  text-align: center;\\n}\\n.welcome span {\\n  color: #A9E5AC;\\n}\\n.profile {\\n  width: 100%;\\n  padding: 140px 0;\\n  text-align: center;\\n}\\n.profile__image {\\n  width: 100px;\\n  height: 100px;\\n  margin: 0 auto 2em;\\n  background: #e5e5e5;\\n  border-radius: 50%;\\n}\\n.profile__image img {\\n  width: 100%;\\n  height: auto;\\n  border-radius: 50%;\\n}\\n.profile__header {\\n  max-width: 600px;\\n  text-align: center;\\n  font-size: 2em;\\n}\\n@media (min-width: 1024px) {\\n  .profile__image {\\n    width: 200px;\\n    height: 200px;\\n  }\\n  .profile__header {\\n    font-size: 3em;\\n  }\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9Vc2Vycy9hbGV4L0Rlc2t0b3Avb2JzY3VyaWZ5My9zcmMvYXBwL2NvbXBvbmVudHMvaW50cm8vaW50cm8uY29tcG9uZW50LnNjc3MiLCJzcmMvYXBwL2NvbXBvbmVudHMvaW50cm8vaW50cm8uY29tcG9uZW50LnNjc3MiLCIvVXNlcnMvYWxleC9EZXNrdG9wL29ic2N1cmlmeTMvc3JjL2FwcC9zY3NzL192YXJpYWJsZXMuc2NzcyIsIi9Vc2Vycy9hbGV4L0Rlc2t0b3Avb2JzY3VyaWZ5My9zcmMvYXBwL3Njc3MvX21peGlucy5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3M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gY3Vyc29yOiBwb2ludGVyO1xuICAgIH1cblxuICAgIGJ1dHRvbiB7XG4gICAgICAgIGJhY2tncm91bmQ6IG5vbmU7XG4gICAgICAgIGJvcmRlcjogbm9uZTtcbiAgICAgICAgZGlzcGxheTogZmxleDtcbiAgICAgICAgZmxleC1kaXJlY3Rpb246IHJvdztcbiAgICAgICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgICAgICAgZm9udC1zaXplOiAxZW07XG4gICAgICAgIGZvbnQtd2VpZ2h0OiBib2xkO1xuICAgICAgICBpIHtcbiAgICAgICAgICAgIG1hcmdpbi1sZWZ0OiA1cHg7XG4gICAgICAgIH1cbiAgICB9XG59XG5cbi53ZWxjb21lIHtcbiAgICB3aWR0aDogMTAwJTtcbiAgICBmb250LXNpemU6IDJlbTtcbiAgICBwYWRkaW5nLXRvcDogMTQwcHg7XG4gICAgdGV4dC1hbGlnbjogY2VudGVyO1xuICAgIHNwYW4ge1xuICAgICAgICBjb2xvcjogJHByaW1hcnktY29sb3I7XG4gICAgfVxufVxuXG4ucHJvZmlsZSB7XG4gICAgd2lkdGg6IDEwMCU7XG4gICAgcGFkZGluZzogMTQwcHggMDtcbiAgICB0ZXh0LWFsaWduOiBjZW50ZXI7XG5cbiAgICAmX19pbWFnZSB7XG4gICAgICAgIHdpZHRoOiAxMDBweDtcbiAgICAgICAgaGVpZ2h0OiAxMDBweDtcbiAgICAgICAgbWFyZ2luOiAwIGF1dG8gMmVtO1xuICAgICAgICBiYWNrZ3JvdW5kOiAjZTVlNWU1O1xuICAgICAgICBib3JkZXItcmFkaXVzOiA1MCU7XG5cbiAgICAgICAgaW1nIHtcbiAgICAgICAgICAgIHdpZHRoOiAxMDAlO1xuICAgICAgICAgICAgaGVpZ2h0OiBhdXRvO1xuICAgICAgICAgICAgYm9yZGVyLXJhZGl1czogNTAlO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgJl9faGVhZGVyIHtcbiAgICAgICAgbWF4LXdpZHRoOiA2MDB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luLXdpZHRoOiAjeyRkZXNrdG9wLXdpZHRofSkge1xuICAgIEBjb250ZW50O1xuICB9XG59XG5cbkBtaXhpbiBsdC1tZCB7XG4gIEBtZWRpYSBzY3JlZW4gYW5kIChtYXgtd2lkdGg6IDk1OXB4KSB7XG4gICAgQGNvbnRlbnRcbiAgfVxufVxuXG5AbWl4aW4gZ3QtbWQge1xuICBAbWVkaWEgc2NyZWVuIGFuZCAobWluLXdpZHRoOiA5NjBweCkge1xuICAgIEBjb250ZW50XG4gIH1cbn1cblxuQG1peGluIGd0LXhzIHtcbiAgQG1lZGlhIHNjcmVlbiBhbmQgKG1pbi13aWR0aDogNjAwcHgpIHtcbiAgICBAY29udGVudFxuICB9XG59Il19 */\");\n\n/***/ }),\n\n/***/ \"./src/app/components/intro/intro.component.ts\":\n/*!*****************************************************!*\\\n  !*** ./src/app/components/intro/intro.component.ts ***!\n  \\*****************************************************/\n/*! exports provided: IntroComponent */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"IntroComponent\", function() { return IntroComponent; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var src_app_services_intersectionObserver__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/app/services/intersectionObserver */ \"./src/app/services/intersectionObserver.ts\");\n/* harmony import */ var src_app_services_infoService__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/app/services/infoService */ \"./src/app/services/infoService.ts\");\n\n\n\n\nlet IntroComponent = class IntroComponent {\n    constructor(element, intersectionObserverService, infoSvc) {\n        this.element = element;\n        this.intersectionObserverService = intersectionObserverService;\n        this.infoSvc = infoSvc;\n        this.appColor = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"EventEmitter\"]();\n    }\n    updateAppBackgroundColor() {\n        this.appColor.emit(4);\n    }\n    ngOnInit() {\n        this.infoSvc.getUserStream().subscribe((user) => {\n            console.log('user', user);\n            if (user.userInfo) {\n                this.userImage = user.userInfo.images[0].url;\n                this.userName = user.userInfo.display_name;\n            }\n        });\n    }\n    ngAfterViewInit() {\n        this.intersectionObserverService.init(this.element.nativeElement, {\n            threshold: 0.70\n        });\n        this.intersectionObserverSubs = this.intersectionObserverService\n            .getSubject()\n            .subscribe(el => {\n            if (el.isIntersecting) {\n                this.updateAppBackgroundColor();\n            }\n        });\n    }\n};\nIntroComponent.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ElementRef\"] },\n    { type: src_app_services_intersectionObserver__WEBPACK_IMPORTED_MODULE_2__[\"default\"] },\n    { type: src_app_services_infoService__WEBPACK_IMPORTED_MODULE_3__[\"InfoService\"] }\n];\ntslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Output\"])()\n], IntroComponent.prototype, \"appColor\", void 0);\nIntroComponent = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Component\"])({\n        selector: 'app-intro',\n        template: tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(/*! raw-loader!./intro.component.html */ \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/intro/intro.component.html\")).default,\n        providers: [src_app_services_intersectionObserver__WEBPACK_IMPORTED_MODULE_2__[\"default\"]],\n        styles: [tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(/*! ./intro.component.scss */ \"./src/app/components/intro/intro.component.scss\")).default]\n    })\n], IntroComponent);\n\n\n\n/***/ }),\n\n/***/ \"./src/app/components/login/login.component.scss\":\n/*!*******************************************************!*\\\n  !*** ./src/app/components/login/login.component.scss ***!\n  \\*******************************************************/\n/*! exports provided: default */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\"main {\\n  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('login-background.jpg');\\n  background-size: cover;\\n  background-position: center;\\n  width: 100%;\\n  height: 100%;\\n  display: flex;\\n  flex-direction: column;\\n  justify-content: center;\\n  align-items: center;\\n  color: white;\\n}\\nmain .login__container {\\n  width: 320px;\\n}\\nmain h1 {\\n  color: #fff;\\n  font-size: 48px;\\n  color: #FFFFFF;\\n  letter-spacing: 1.92px;\\n  text-align: center;\\n  top: 118px;\\n  font-weight: bold;\\n  margin-bottom: 1rem;\\n}\\nmain h1 span {\\n  color: #65D26E;\\n  font-size: inherit;\\n  letter-spacing: 1.92px;\\n  text-align: center;\\n  font-weight: bold;\\n}\\nmain p {\\n  margin-bottom: 3rem;\\n}\\nmain .login {\\n  width: 258px;\\n  height: 70px;\\n  margin: 0 auto;\\n  border-radius: 2px;\\n  background: #65d26e;\\n  display: flex;\\n  justify-content: center;\\n  align-items: center;\\n  cursor: pointer;\\n}\\nmain .login:hover .login__btn, main .login :focus .login__btn {\\n  opacity: 0.7;\\n}\\nmain .login__btn {\\n  font-size: 16px;\\n  color: #FFFFFF;\\n  letter-spacing: 1.49px;\\n  text-align: center;\\n  text-decoration: none;\\n  font-weight: bold;\\n  background: transparent;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9Vc2Vycy9hbGV4L0Rlc2t0b3Avb2JzY3VyaWZ5My9zcmMvYXBwL2NvbXBvbmVudHMvbG9naW4vbG9naW4uY29tcG9uZW50LnNjc3MiLCJzcmMvYXBwL2NvbXBvbmVudHMvbG9naW4vbG9na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AgICBiYWNrZ3JvdW5kLXNpemU6IGNvdmVyO1xuICAgIGJhY2tncm91bmQtcG9zaXRpb246IGNlbnRlcjtcbiAgICB3aWR0aDogMTAwJTtcbiAgICBoZWlnaHQ6IDEwMCU7XG4gICAgZGlzcGxheTogZmxleDtcbiAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG5cbiAgICBjb2xvcjogd2hpdGU7XG5cbiAgICAubG9naW5fX2NvbnRhaW5lciB7XG4gICAgICAgIHdpZHRoOiAzMjBweDtcbiAgICB9XG5cbiAgICBoMSB7XG4gICAgICAgIGNvbG9yOiAjZmZmO1xuICAgICAgICBmb250LXNpemU6IDQ4cHg7XG4gICAgICAgIGNvbG9yOiAjRkZGRkZGO1xuICAgICAgICBsZXR0ZXItc3BhY2luZzogMS45MnB4O1xuICAgICAgICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gICAgICAgIHRvcDogMTE4cHg7XG4gICAgICAgIGZvbnQtd2VpZ2h0OiBib2xkO1xuICAgICAgICBtYXJnaW4tYm90dG9tOiAxcmVtO1xuICAgICAgICBzcGFuIHtcbiAgICAgICAgICBjb2xvcjogIzY1RDI2RTtcbiAgICAgICAgICBmb250LXNpemU6IGluaGVyaXQ7XG4gICAgICAgICAgbGV0dGVyLXNwYWNpbmc6IDEuOTJweDtcbiAgICAgICAgICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gICAgICAgICAgZm9udC13ZWlnaHQ6IGJvbGQ7XG4gICAgXG4gICAgICAgIH1cbiAgICAgIH1cbiAgICAgIHAge1xuICAgICAgICAgIG1hcmdpbi1ib3R0b206IDNyZW07XG4gICAgICB9XG5cbiAgICAubG9naW4ge1xuICAgICAgICB3aWR0aDogMjU4cHg7XG4gICAgICAgIGhlaWdodDogNzBweDtcbiAgICAgICAgbWFyZ2luOiAwIGF1dG87XG4gICAgICAgIGJv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uICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gIHRleHQtZGVjb3JhdGlvbjogbm9uZTtcbiAgZm9udC13ZWlnaHQ6IGJvbGQ7XG4gIGJhY2tncm91bmQ6IHRyYW5zcGFyZW50O1xufSJdfQ== */\");\n\n/***/ }),\n\n/***/ \"./src/app/components/login/login.component.ts\":\n/*!*****************************************************!*\\\n  !*** ./src/app/components/login/login.component.ts ***!\n  \\*****************************************************/\n/*! exports provided: LoginComponent */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LoginComponent\", function() { return LoginComponent; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var _services_spotifyAuth_index__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../services/spotifyAuth/index */ \"./src/app/services/spotifyAuth/index.ts\");\n/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/router */ \"./node_modules/@angular/router/fesm2015/router.js\");\n/* harmony import */ var ngx_cookie_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ngx-cookie-service */ \"./node_modules/ngx-cookie-service/fesm2015/ngx-cookie-service.js\");\n\n\n\n\n\nlet LoginComponent = class LoginComponent {\n    constructor(authService, tokenSvc, router, cookieService) {\n        this.authService = authService;\n        this.tokenSvc = tokenSvc;\n        this.router = router;\n        this.cookieService = cookieService;\n    }\n    ngOnInit() {\n        if (!!this.tokenSvc.oAuthToken.spotifyToken) {\n            this.router.navigate(['home']);\n        }\n    }\n    login() {\n        const cookie = this.cookieService.get('spotifyResponse');\n        if (cookie) {\n            // this.tokenSvc.setAuthTokenCache(cookie);\n            this.authService.authorized();\n        }\n        else {\n            this.authService.authorize();\n        }\n    }\n};\nLoginComponent.ctorParameters = () => [\n    { type: _services_spotifyAuth_index__WEBPACK_IMPORTED_MODULE_2__[\"AuthService\"] },\n    { type: _services_spotifyAuth_index__WEBPACK_IMPORTED_MODULE_2__[\"TokenService\"] },\n    { type: _angular_router__WEBPACK_IMPORTED_MODULE_3__[\"Router\"] },\n    { type: ngx_cookie_service__WEBPACK_IMPORTED_MODULE_4__[\"CookieService\"] }\n];\nLoginComponent = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Component\"])({\n        selector: 'app-login',\n        template: tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(/*! raw-loader!./login.component.html */ \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/login/login.component.html\")).default,\n        styles: [tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(/*! ./login.component.scss */ \"./src/app/components/login/login.component.scss\")).default]\n    })\n], LoginComponent);\n\n\n\n/***/ }),\n\n/***/ \"./src/app/components/moods-graph/moods-graph.component.scss\":\n/*!*******************************************************************!*\\\n  !*** ./src/app/components/moods-graph/moods-graph.component.scss ***!\n  \\*******************************************************************/\n/*! exports provided: default */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\".header__title {\\n  font-size: 3em;\\n  border-bottom: 8px black solid;\\n  width: -webkit-fit-content;\\n  width: -moz-fit-content;\\n  width: fit-content;\\n  padding-bottom: 0.2em;\\n  margin: 0;\\n}\\n\\n.moods-graph {\\n  max-width: 620px;\\n  margin: 0 auto;\\n  display: flex;\\n  flex-direction: column;\\n  padding: 5rem 0;\\n  opacity: 0;\\n  transform: translateY(100px);\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n  align-items: flex-start;\\n}\\n\\n.moods-graph.show {\\n  opacity: 1;\\n  transform: translateY(0px);\\n}\\n\\n.moods-graph__container {\\n  margin-top: 1em;\\n}\\n\\n.moods-graph__container--right {\\n  align-self: flex-end;\\n}\\n\\n.moods-graph__container--right h3 {\\n  text-align: right;\\n}\\n\\n.moods-graph__content {\\n  margin-top: 2em;\\n}\\n\\n.moods-graph__content h3 {\\n  font-size: 36px;\\n}\\n\\n.moods-graph__card {\\n  padding: 1em;\\n  background-color: white;\\n  margin-top: 1em;\\n  display: flex;\\n  border-radius: 5px;\\n}\\n\\n.moods-graph__card--reverse {\\n  flex-direction: row-reverse;\\n}\\n\\n.moods-graph__card__header {\\n  font-size: 24px;\\n  margin-bottom: 0.5em;\\n}\\n\\n.moods-graph__card__paragraph {\\n  font-family: -apple-system, BlinkMacSystemFont, \\\"Segoe UI\\\";\\n  font-weight: normal;\\n}\\n\\n.moods-graph__card__container {\\n  width: 50%;\\n}\\n\\n.equalizer-container {\\n  height: 100px;\\n  display: flex;\\n  align-items: center;\\n  position: relative;\\n  justify-content: center;\\n}\\n\\n.equalizer-container .bar {\\n  width: 8px;\\n  min-height: 10px;\\n  margin-right: 2px;\\n  transition: all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);\\n  will-change: transform;\\n  transform: scaleY(1);\\n  position: relative;\\n}\\n\\n.equalizer-container.level-one .bar:nth-child(0) {\\n  background-color: #81D6E3;\\n  -webkit-animation: grow-one0 2134ms alternate infinite;\\n          animation: grow-one0 2134ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-one0 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-one0 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-one .bar:nth-child(1) {\\n  background-color: #81D6E3;\\n  -webkit-animation: grow-one1 2198ms alternate infinite;\\n          animation: grow-one1 2198ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-one1 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-one1 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-one .bar:nth-child(2) {\\n  background-color: #81D6E3;\\n  -webkit-animation: grow-one2 1651ms alternate infinite;\\n          animation: grow-one2 1651ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-one2 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-one2 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-one .bar:nth-child(3) {\\n  background-color: #81D6E3;\\n  -webkit-animation: grow-one3 1676ms alternate infinite;\\n          animation: grow-one3 1676ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-one3 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-one3 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-one .bar:nth-child(4) {\\n  background-color: #81D6E3;\\n  -webkit-animation: grow-one4 1690ms alternate infinite;\\n          animation: grow-one4 1690ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-one4 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-one4 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-one .bar:nth-child(5) {\\n  background-color: #81D6E3;\\n  -webkit-animation: grow-one5 2043ms alternate infinite;\\n          animation: grow-one5 2043ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-one5 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-one5 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-one .bar:nth-child(6) {\\n  background-color: #81D6E3;\\n  -webkit-animation: grow-one6 1642ms alternate infinite;\\n          animation: grow-one6 1642ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-one6 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-one6 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-one .bar:nth-child(7) {\\n  background-color: #81D6E3;\\n  -webkit-animation: grow-one7 1833ms alternate infinite;\\n          animation: grow-one7 1833ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-one7 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-one7 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-one .bar:nth-child(8) {\\n  background-color: #81D6E3;\\n  -webkit-animation: grow-one8 1861ms alternate infinite;\\n          animation: grow-one8 1861ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-one8 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-one8 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-one .bar:nth-child(9) {\\n  background-color: #81D6E3;\\n  -webkit-animation: grow-one9 1945ms alternate infinite;\\n          animation: grow-one9 1945ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-one9 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-one9 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-one .bar:nth-child(10) {\\n  background-color: #81D6E3;\\n  -webkit-animation: grow-one10 1960ms alternate infinite;\\n          animation: grow-one10 1960ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-one10 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-one10 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-one .bar:nth-child(11) {\\n  background-color: #81D6E3;\\n  -webkit-animation: grow-one11 2068ms alternate infinite;\\n          animation: grow-one11 2068ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-one11 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-one11 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-one .bar:nth-child(12) {\\n  background-color: #81D6E3;\\n  -webkit-animation: grow-one12 1708ms alternate infinite;\\n          animation: grow-one12 1708ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-one12 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-one12 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-two .bar:nth-child(0) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-two0 1611ms alternate infinite;\\n          animation: grow-two0 1611ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-two0 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-two0 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-two .bar:nth-child(1) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-two1 1844ms alternate infinite;\\n          animation: grow-two1 1844ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-two1 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-two1 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-two .bar:nth-child(2) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-two2 1744ms alternate infinite;\\n          animation: grow-two2 1744ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-two2 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-two2 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-two .bar:nth-child(3) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-two3 2052ms alternate infinite;\\n          animation: grow-two3 2052ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-two3 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-two3 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-two .bar:nth-child(4) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-two4 2139ms alternate infinite;\\n          animation: grow-two4 2139ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-two4 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-two4 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-two .bar:nth-child(5) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-two5 1506ms alternate infinite;\\n          animation: grow-two5 1506ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-two5 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-two5 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-two .bar:nth-child(6) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-two6 2051ms alternate infinite;\\n          animation: grow-two6 2051ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-two6 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-two6 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-two .bar:nth-child(7) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-two7 2113ms alternate infinite;\\n          animation: grow-two7 2113ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-two7 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-two7 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-two .bar:nth-child(8) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-two8 1621ms alternate infinite;\\n          animation: grow-two8 1621ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-two8 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-two8 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-two .bar:nth-child(9) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-two9 1681ms alternate infinite;\\n          animation: grow-two9 1681ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-two9 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-two9 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-two .bar:nth-child(10) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-two10 1964ms alternate infinite;\\n          animation: grow-two10 1964ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-two10 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-two10 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-two .bar:nth-child(11) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-two11 1671ms alternate infinite;\\n          animation: grow-two11 1671ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-two11 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-two11 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-two .bar:nth-child(12) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-two12 1830ms alternate infinite;\\n          animation: grow-two12 1830ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-two12 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-two12 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-three .bar:nth-child(0) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-three0 2088ms alternate infinite;\\n          animation: grow-three0 2088ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-three0 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-three0 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-three .bar:nth-child(1) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-three1 2053ms alternate infinite;\\n          animation: grow-three1 2053ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-three1 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-three1 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-three .bar:nth-child(2) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-three2 1922ms alternate infinite;\\n          animation: grow-three2 1922ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-three2 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-three2 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-three .bar:nth-child(3) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-three3 2158ms alternate infinite;\\n          animation: grow-three3 2158ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-three3 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n@keyframes grow-three3 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n.equalizer-container.level-three .bar:nth-child(4) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-three4 1733ms alternate infinite;\\n          animation: grow-three4 1733ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-three4 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-three4 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-three .bar:nth-child(5) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-three5 1710ms alternate infinite;\\n          animation: grow-three5 1710ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-three5 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-three5 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-three .bar:nth-child(6) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-three6 1600ms alternate infinite;\\n          animation: grow-three6 1600ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-three6 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-three6 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-three .bar:nth-child(7) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-three7 1665ms alternate infinite;\\n          animation: grow-three7 1665ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-three7 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n@keyframes grow-three7 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n.equalizer-container.level-three .bar:nth-child(8) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-three8 1633ms alternate infinite;\\n          animation: grow-three8 1633ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-three8 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-three8 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-three .bar:nth-child(9) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-three9 1731ms alternate infinite;\\n          animation: grow-three9 1731ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-three9 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-three9 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-three .bar:nth-child(10) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-three10 2051ms alternate infinite;\\n          animation: grow-three10 2051ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-three10 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n@keyframes grow-three10 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n.equalizer-container.level-three .bar:nth-child(11) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-three11 2098ms alternate infinite;\\n          animation: grow-three11 2098ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-three11 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-three11 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-three .bar:nth-child(12) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-three12 2175ms alternate infinite;\\n          animation: grow-three12 2175ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-three12 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n@keyframes grow-three12 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n.equalizer-container.level-four .bar:nth-child(0) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-four0 1901ms alternate infinite;\\n          animation: grow-four0 1901ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-four0 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n@keyframes grow-four0 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n.equalizer-container.level-four .bar:nth-child(1) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-four1 2010ms alternate infinite;\\n          animation: grow-four1 2010ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-four1 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(4);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n@keyframes grow-four1 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(4);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n.equalizer-container.level-four .bar:nth-child(2) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-four2 2187ms alternate infinite;\\n          animation: grow-four2 2187ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-four2 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(4);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(4);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n@keyframes grow-four2 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(4);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(4);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n.equalizer-container.level-four .bar:nth-child(3) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-four3 1836ms alternate infinite;\\n          animation: grow-four3 1836ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-four3 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-four3 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-four .bar:nth-child(4) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-four4 1554ms alternate infinite;\\n          animation: grow-four4 1554ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-four4 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(4);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-four4 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(4);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-four .bar:nth-child(5) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-four5 1700ms alternate infinite;\\n          animation: grow-four5 1700ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-four5 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-four5 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-four .bar:nth-child(6) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-four6 1750ms alternate infinite;\\n          animation: grow-four6 1750ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-four6 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(4);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(4);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-four6 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(4);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(4);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-four .bar:nth-child(7) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-four7 1561ms alternate infinite;\\n          animation: grow-four7 1561ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-four7 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n@keyframes grow-four7 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n.equalizer-container.level-four .bar:nth-child(8) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-four8 1648ms alternate infinite;\\n          animation: grow-four8 1648ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-four8 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-four8 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-four .bar:nth-child(9) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-four9 1551ms alternate infinite;\\n          animation: grow-four9 1551ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-four9 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(4);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(4);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n@keyframes grow-four9 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(4);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(4);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n.equalizer-container.level-four .bar:nth-child(10) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-four10 1716ms alternate infinite;\\n          animation: grow-four10 1716ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-four10 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-four10 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-four .bar:nth-child(11) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-four11 2099ms alternate infinite;\\n          animation: grow-four11 2099ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-four11 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(4);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(4);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n@keyframes grow-four11 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(4);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(4);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n.equalizer-container.level-four .bar:nth-child(12) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-four12 1779ms alternate infinite;\\n          animation: grow-four12 1779ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-four12 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(4);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n@keyframes grow-four12 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(4);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n.equalizer-container.level-five .bar:nth-child(0) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-five0 1967ms alternate infinite;\\n          animation: grow-five0 1967ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-five0 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(4);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n@keyframes grow-five0 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(4);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n.equalizer-container.level-five .bar:nth-child(1) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-five1 1680ms alternate infinite;\\n          animation: grow-five1 1680ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-five1 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(5);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-five1 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(5);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-five .bar:nth-child(2) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-five2 1849ms alternate infinite;\\n          animation: grow-five2 1849ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-five2 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(4);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n@keyframes grow-five2 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(4);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n.equalizer-container.level-five .bar:nth-child(3) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-five3 1960ms alternate infinite;\\n          animation: grow-five3 1960ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-five3 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(5);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(5);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(4);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n@keyframes grow-five3 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(5);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(5);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(4);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n.equalizer-container.level-five .bar:nth-child(4) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-five4 1926ms alternate infinite;\\n          animation: grow-five4 1926ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-five4 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n@keyframes grow-five4 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n.equalizer-container.level-five .bar:nth-child(5) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-five5 1819ms alternate infinite;\\n          animation: grow-five5 1819ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-five5 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n@keyframes grow-five5 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n.equalizer-container.level-five .bar:nth-child(6) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-five6 1536ms alternate infinite;\\n          animation: grow-five6 1536ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-five6 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(4);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(4);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n@keyframes grow-five6 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(4);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(4);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n.equalizer-container.level-five .bar:nth-child(7) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-five7 2028ms alternate infinite;\\n          animation: grow-five7 2028ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-five7 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(5);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(4);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-five7 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(5);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(4);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-five .bar:nth-child(8) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-five8 1967ms alternate infinite;\\n          animation: grow-five8 1967ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-five8 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(5);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(5);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(4);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-five8 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(5);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(5);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(4);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-five .bar:nth-child(9) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-five9 1609ms alternate infinite;\\n          animation: grow-five9 1609ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-five9 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(5);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n@keyframes grow-five9 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(5);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n.equalizer-container.level-five .bar:nth-child(10) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-five10 1720ms alternate infinite;\\n          animation: grow-five10 1720ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-five10 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(5);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n@keyframes grow-five10 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(5);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n.equalizer-container.level-five .bar:nth-child(11) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-five11 1916ms alternate infinite;\\n          animation: grow-five11 1916ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-five11 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(5);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n@keyframes grow-five11 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(5);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n.equalizer-container.level-five .bar:nth-child(12) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-five12 1964ms alternate infinite;\\n          animation: grow-five12 1964ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-five12 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-five12 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-six .bar:nth-child(0) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-six0 1640ms alternate infinite;\\n          animation: grow-six0 1640ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-six0 {\\n  0% {\\n    transform: scaleY(6);\\n  }\\n  10% {\\n    transform: scaleY(5);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(6);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(6);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(6);\\n  }\\n}\\n\\n@keyframes grow-six0 {\\n  0% {\\n    transform: scaleY(6);\\n  }\\n  10% {\\n    transform: scaleY(5);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(6);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(6);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(6);\\n  }\\n}\\n\\n.equalizer-container.level-six .bar:nth-child(1) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-six1 1807ms alternate infinite;\\n          animation: grow-six1 1807ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-six1 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(6);\\n  }\\n  70% {\\n    transform: scaleY(6);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-six1 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(6);\\n  }\\n  70% {\\n    transform: scaleY(6);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-six .bar:nth-child(2) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-six2 1576ms alternate infinite;\\n          animation: grow-six2 1576ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-six2 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(4);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(6);\\n  }\\n  60% {\\n    transform: scaleY(6);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(6);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-six2 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(4);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(6);\\n  }\\n  60% {\\n    transform: scaleY(6);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(6);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-six .bar:nth-child(3) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-six3 1695ms alternate infinite;\\n          animation: grow-six3 1695ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-six3 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(5);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(4);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n@keyframes grow-six3 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(5);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(4);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n.equalizer-container.level-six .bar:nth-child(4) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-six4 2167ms alternate infinite;\\n          animation: grow-six4 2167ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-six4 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(6);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(5);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(5);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-six4 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(6);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(5);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(5);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-six .bar:nth-child(5) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-six5 2184ms alternate infinite;\\n          animation: grow-six5 2184ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-six5 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(5);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(6);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n@keyframes grow-six5 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(5);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(6);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n.equalizer-container.level-six .bar:nth-child(6) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-six6 1993ms alternate infinite;\\n          animation: grow-six6 1993ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-six6 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(5);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(4);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n@keyframes grow-six6 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(5);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(4);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n.equalizer-container.level-six .bar:nth-child(7) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-six7 2157ms alternate infinite;\\n          animation: grow-six7 2157ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-six7 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(6);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(6);\\n  }\\n}\\n\\n@keyframes grow-six7 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(6);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(6);\\n  }\\n}\\n\\n.equalizer-container.level-six .bar:nth-child(8) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-six8 1606ms alternate infinite;\\n          animation: grow-six8 1606ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-six8 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(5);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(5);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(5);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-six8 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(5);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(5);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(5);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-six .bar:nth-child(9) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-six9 2055ms alternate infinite;\\n          animation: grow-six9 2055ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-six9 {\\n  0% {\\n    transform: scaleY(5);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(6);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n@keyframes grow-six9 {\\n  0% {\\n    transform: scaleY(5);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(6);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n.equalizer-container.level-six .bar:nth-child(10) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-six10 1541ms alternate infinite;\\n          animation: grow-six10 1541ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-six10 {\\n  0% {\\n    transform: scaleY(5);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(6);\\n  }\\n  50% {\\n    transform: scaleY(5);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(5);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n@keyframes grow-six10 {\\n  0% {\\n    transform: scaleY(5);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(6);\\n  }\\n  50% {\\n    transform: scaleY(5);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(5);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n.equalizer-container.level-six .bar:nth-child(11) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-six11 1878ms alternate infinite;\\n          animation: grow-six11 1878ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-six11 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-six11 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-six .bar:nth-child(12) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-six12 1727ms alternate infinite;\\n          animation: grow-six12 1727ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-six12 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(6);\\n  }\\n  50% {\\n    transform: scaleY(6);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-six12 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(6);\\n  }\\n  50% {\\n    transform: scaleY(6);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-seven .bar:nth-child(0) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-seven0 1895ms alternate infinite;\\n          animation: grow-seven0 1895ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-seven0 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(7);\\n  }\\n  50% {\\n    transform: scaleY(6);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(6);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n@keyframes grow-seven0 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(7);\\n  }\\n  50% {\\n    transform: scaleY(6);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(6);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n.equalizer-container.level-seven .bar:nth-child(1) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-seven1 1584ms alternate infinite;\\n          animation: grow-seven1 1584ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-seven1 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(7);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(7);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n@keyframes grow-seven1 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(7);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(7);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n.equalizer-container.level-seven .bar:nth-child(2) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-seven2 1784ms alternate infinite;\\n          animation: grow-seven2 1784ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-seven2 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(6);\\n  }\\n  60% {\\n    transform: scaleY(6);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-seven2 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(6);\\n  }\\n  60% {\\n    transform: scaleY(6);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-seven .bar:nth-child(3) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-seven3 2162ms alternate infinite;\\n          animation: grow-seven3 2162ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-seven3 {\\n  0% {\\n    transform: scaleY(5);\\n  }\\n  10% {\\n    transform: scaleY(5);\\n  }\\n  20% {\\n    transform: scaleY(6);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(7);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(8);\\n  }\\n  100% {\\n    transform: scaleY(6);\\n  }\\n}\\n\\n@keyframes grow-seven3 {\\n  0% {\\n    transform: scaleY(5);\\n  }\\n  10% {\\n    transform: scaleY(5);\\n  }\\n  20% {\\n    transform: scaleY(6);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(7);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(8);\\n  }\\n  100% {\\n    transform: scaleY(6);\\n  }\\n}\\n\\n.equalizer-container.level-seven .bar:nth-child(4) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-seven4 1930ms alternate infinite;\\n          animation: grow-seven4 1930ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-seven4 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(6);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(8);\\n  }\\n  50% {\\n    transform: scaleY(6);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n@keyframes grow-seven4 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(6);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(8);\\n  }\\n  50% {\\n    transform: scaleY(6);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n.equalizer-container.level-seven .bar:nth-child(5) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-seven5 1578ms alternate infinite;\\n          animation: grow-seven5 1578ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-seven5 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(4);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(7);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n@keyframes grow-seven5 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(4);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(7);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n.equalizer-container.level-seven .bar:nth-child(6) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-seven6 1561ms alternate infinite;\\n          animation: grow-seven6 1561ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-seven6 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(6);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-seven6 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(6);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-seven .bar:nth-child(7) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-seven7 1685ms alternate infinite;\\n          animation: grow-seven7 1685ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-seven7 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(7);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n@keyframes grow-seven7 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(7);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n.equalizer-container.level-seven .bar:nth-child(8) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-seven8 1815ms alternate infinite;\\n          animation: grow-seven8 1815ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-seven8 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(7);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n@keyframes grow-seven8 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(7);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n.equalizer-container.level-seven .bar:nth-child(9) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-seven9 1935ms alternate infinite;\\n          animation: grow-seven9 1935ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-seven9 {\\n  0% {\\n    transform: scaleY(5);\\n  }\\n  10% {\\n    transform: scaleY(7);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(8);\\n  }\\n  60% {\\n    transform: scaleY(4);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(6);\\n  }\\n}\\n\\n@keyframes grow-seven9 {\\n  0% {\\n    transform: scaleY(5);\\n  }\\n  10% {\\n    transform: scaleY(7);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(8);\\n  }\\n  60% {\\n    transform: scaleY(4);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(6);\\n  }\\n}\\n\\n.equalizer-container.level-seven .bar:nth-child(10) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-seven10 1599ms alternate infinite;\\n          animation: grow-seven10 1599ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-seven10 {\\n  0% {\\n    transform: scaleY(6);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(7);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(8);\\n  }\\n  80% {\\n    transform: scaleY(6);\\n  }\\n  90% {\\n    transform: scaleY(7);\\n  }\\n  100% {\\n    transform: scaleY(8);\\n  }\\n}\\n\\n@keyframes grow-seven10 {\\n  0% {\\n    transform: scaleY(6);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(7);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(8);\\n  }\\n  80% {\\n    transform: scaleY(6);\\n  }\\n  90% {\\n    transform: scaleY(7);\\n  }\\n  100% {\\n    transform: scaleY(8);\\n  }\\n}\\n\\n.equalizer-container.level-seven .bar:nth-child(11) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-seven11 2083ms alternate infinite;\\n          animation: grow-seven11 2083ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-seven11 {\\n  0% {\\n    transform: scaleY(8);\\n  }\\n  10% {\\n    transform: scaleY(8);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(5);\\n  }\\n  50% {\\n    transform: scaleY(5);\\n  }\\n  60% {\\n    transform: scaleY(8);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(6);\\n  }\\n}\\n\\n@keyframes grow-seven11 {\\n  0% {\\n    transform: scaleY(8);\\n  }\\n  10% {\\n    transform: scaleY(8);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(5);\\n  }\\n  50% {\\n    transform: scaleY(5);\\n  }\\n  60% {\\n    transform: scaleY(8);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(6);\\n  }\\n}\\n\\n.equalizer-container.level-seven .bar:nth-child(12) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-seven12 1979ms alternate infinite;\\n          animation: grow-seven12 1979ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-seven12 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(5);\\n  }\\n  20% {\\n    transform: scaleY(6);\\n  }\\n  30% {\\n    transform: scaleY(8);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(7);\\n  }\\n  60% {\\n    transform: scaleY(4);\\n  }\\n  70% {\\n    transform: scaleY(7);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n@keyframes grow-seven12 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(5);\\n  }\\n  20% {\\n    transform: scaleY(6);\\n  }\\n  30% {\\n    transform: scaleY(8);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(7);\\n  }\\n  60% {\\n    transform: scaleY(4);\\n  }\\n  70% {\\n    transform: scaleY(7);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n.equalizer-container.level-eight .bar:nth-child(0) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-eight0 2147ms alternate infinite;\\n          animation: grow-eight0 2147ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-eight0 {\\n  0% {\\n    transform: scaleY(5);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(6);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(8);\\n  }\\n  60% {\\n    transform: scaleY(6);\\n  }\\n  70% {\\n    transform: scaleY(8);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-eight0 {\\n  0% {\\n    transform: scaleY(5);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(6);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(8);\\n  }\\n  60% {\\n    transform: scaleY(6);\\n  }\\n  70% {\\n    transform: scaleY(8);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-eight .bar:nth-child(1) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-eight1 2087ms alternate infinite;\\n          animation: grow-eight1 2087ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-eight1 {\\n  0% {\\n    transform: scaleY(8);\\n  }\\n  10% {\\n    transform: scaleY(8);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(8);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(7);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n@keyframes grow-eight1 {\\n  0% {\\n    transform: scaleY(8);\\n  }\\n  10% {\\n    transform: scaleY(8);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(8);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(7);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n.equalizer-container.level-eight .bar:nth-child(2) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-eight2 2145ms alternate infinite;\\n          animation: grow-eight2 2145ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-eight2 {\\n  0% {\\n    transform: scaleY(7);\\n  }\\n  10% {\\n    transform: scaleY(8);\\n  }\\n  20% {\\n    transform: scaleY(7);\\n  }\\n  30% {\\n    transform: scaleY(6);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(6);\\n  }\\n  60% {\\n    transform: scaleY(4);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(9);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n@keyframes grow-eight2 {\\n  0% {\\n    transform: scaleY(7);\\n  }\\n  10% {\\n    transform: scaleY(8);\\n  }\\n  20% {\\n    transform: scaleY(7);\\n  }\\n  30% {\\n    transform: scaleY(6);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(6);\\n  }\\n  60% {\\n    transform: scaleY(4);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(9);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n.equalizer-container.level-eight .bar:nth-child(3) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-eight3 1850ms alternate infinite;\\n          animation: grow-eight3 1850ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-eight3 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(5);\\n  }\\n  20% {\\n    transform: scaleY(6);\\n  }\\n  30% {\\n    transform: scaleY(7);\\n  }\\n  40% {\\n    transform: scaleY(7);\\n  }\\n  50% {\\n    transform: scaleY(6);\\n  }\\n  60% {\\n    transform: scaleY(4);\\n  }\\n  70% {\\n    transform: scaleY(9);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(8);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-eight3 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(5);\\n  }\\n  20% {\\n    transform: scaleY(6);\\n  }\\n  30% {\\n    transform: scaleY(7);\\n  }\\n  40% {\\n    transform: scaleY(7);\\n  }\\n  50% {\\n    transform: scaleY(6);\\n  }\\n  60% {\\n    transform: scaleY(4);\\n  }\\n  70% {\\n    transform: scaleY(9);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(8);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-eight .bar:nth-child(4) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-eight4 1737ms alternate infinite;\\n          animation: grow-eight4 1737ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-eight4 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(7);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(7);\\n  }\\n  50% {\\n    transform: scaleY(9);\\n  }\\n  60% {\\n    transform: scaleY(9);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(8);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n@keyframes grow-eight4 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(7);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(7);\\n  }\\n  50% {\\n    transform: scaleY(9);\\n  }\\n  60% {\\n    transform: scaleY(9);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(8);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n.equalizer-container.level-eight .bar:nth-child(5) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-eight5 2088ms alternate infinite;\\n          animation: grow-eight5 2088ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-eight5 {\\n  0% {\\n    transform: scaleY(5);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(9);\\n  }\\n  40% {\\n    transform: scaleY(9);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(9);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-eight5 {\\n  0% {\\n    transform: scaleY(5);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(9);\\n  }\\n  40% {\\n    transform: scaleY(9);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(9);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-eight .bar:nth-child(6) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-eight6 2033ms alternate infinite;\\n          animation: grow-eight6 2033ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-eight6 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(5);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(7);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(9);\\n  }\\n  80% {\\n    transform: scaleY(9);\\n  }\\n  90% {\\n    transform: scaleY(8);\\n  }\\n  100% {\\n    transform: scaleY(7);\\n  }\\n}\\n\\n@keyframes grow-eight6 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(5);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(7);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(9);\\n  }\\n  80% {\\n    transform: scaleY(9);\\n  }\\n  90% {\\n    transform: scaleY(8);\\n  }\\n  100% {\\n    transform: scaleY(7);\\n  }\\n}\\n\\n.equalizer-container.level-eight .bar:nth-child(7) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-eight7 2008ms alternate infinite;\\n          animation: grow-eight7 2008ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-eight7 {\\n  0% {\\n    transform: scaleY(6);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(9);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(7);\\n  }\\n  50% {\\n    transform: scaleY(9);\\n  }\\n  60% {\\n    transform: scaleY(8);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-eight7 {\\n  0% {\\n    transform: scaleY(6);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(9);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(7);\\n  }\\n  50% {\\n    transform: scaleY(9);\\n  }\\n  60% {\\n    transform: scaleY(8);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-eight .bar:nth-child(8) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-eight8 1853ms alternate infinite;\\n          animation: grow-eight8 1853ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-eight8 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(9);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(7);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(7);\\n  }\\n  80% {\\n    transform: scaleY(5);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n@keyframes grow-eight8 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(9);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(7);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(7);\\n  }\\n  80% {\\n    transform: scaleY(5);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n.equalizer-container.level-eight .bar:nth-child(9) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-eight9 1586ms alternate infinite;\\n          animation: grow-eight9 1586ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-eight9 {\\n  0% {\\n    transform: scaleY(5);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(6);\\n  }\\n  30% {\\n    transform: scaleY(7);\\n  }\\n  40% {\\n    transform: scaleY(8);\\n  }\\n  50% {\\n    transform: scaleY(9);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(9);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(9);\\n  }\\n  100% {\\n    transform: scaleY(8);\\n  }\\n}\\n\\n@keyframes grow-eight9 {\\n  0% {\\n    transform: scaleY(5);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(6);\\n  }\\n  30% {\\n    transform: scaleY(7);\\n  }\\n  40% {\\n    transform: scaleY(8);\\n  }\\n  50% {\\n    transform: scaleY(9);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(9);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(9);\\n  }\\n  100% {\\n    transform: scaleY(8);\\n  }\\n}\\n\\n.equalizer-container.level-eight .bar:nth-child(10) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-eight10 2005ms alternate infinite;\\n          animation: grow-eight10 2005ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-eight10 {\\n  0% {\\n    transform: scaleY(9);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(6);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(8);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(6);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(6);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n@keyframes grow-eight10 {\\n  0% {\\n    transform: scaleY(9);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(6);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(8);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(6);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(6);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n.equalizer-container.level-eight .bar:nth-child(11) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-eight11 2095ms alternate infinite;\\n          animation: grow-eight11 2095ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-eight11 {\\n  0% {\\n    transform: scaleY(8);\\n  }\\n  10% {\\n    transform: scaleY(9);\\n  }\\n  20% {\\n    transform: scaleY(6);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(7);\\n  }\\n  50% {\\n    transform: scaleY(9);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(8);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n@keyframes grow-eight11 {\\n  0% {\\n    transform: scaleY(8);\\n  }\\n  10% {\\n    transform: scaleY(9);\\n  }\\n  20% {\\n    transform: scaleY(6);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(7);\\n  }\\n  50% {\\n    transform: scaleY(9);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(8);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n.equalizer-container.level-eight .bar:nth-child(12) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-eight12 1975ms alternate infinite;\\n          animation: grow-eight12 1975ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-eight12 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(8);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(5);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(7);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(6);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n@keyframes grow-eight12 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(8);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(5);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(7);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(6);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n.equalizer-container.level-nine .bar:nth-child(0) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-nine0 1921ms alternate infinite;\\n          animation: grow-nine0 1921ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-nine0 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(5);\\n  }\\n  20% {\\n    transform: scaleY(5);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(8);\\n  }\\n  50% {\\n    transform: scaleY(9);\\n  }\\n  60% {\\n    transform: scaleY(10);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-nine0 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(5);\\n  }\\n  20% {\\n    transform: scaleY(5);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(8);\\n  }\\n  50% {\\n    transform: scaleY(9);\\n  }\\n  60% {\\n    transform: scaleY(10);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-nine .bar:nth-child(1) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-nine1 2185ms alternate infinite;\\n          animation: grow-nine1 2185ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-nine1 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(7);\\n  }\\n  40% {\\n    transform: scaleY(8);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(8);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(8);\\n  }\\n  90% {\\n    transform: scaleY(6);\\n  }\\n  100% {\\n    transform: scaleY(9);\\n  }\\n}\\n\\n@keyframes grow-nine1 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(7);\\n  }\\n  40% {\\n    transform: scaleY(8);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(8);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(8);\\n  }\\n  90% {\\n    transform: scaleY(6);\\n  }\\n  100% {\\n    transform: scaleY(9);\\n  }\\n}\\n\\n.equalizer-container.level-nine .bar:nth-child(2) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-nine2 1736ms alternate infinite;\\n          animation: grow-nine2 1736ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-nine2 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(6);\\n  }\\n  40% {\\n    transform: scaleY(5);\\n  }\\n  50% {\\n    transform: scaleY(5);\\n  }\\n  60% {\\n    transform: scaleY(9);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-nine2 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(6);\\n  }\\n  40% {\\n    transform: scaleY(5);\\n  }\\n  50% {\\n    transform: scaleY(5);\\n  }\\n  60% {\\n    transform: scaleY(9);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-nine .bar:nth-child(3) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-nine3 1989ms alternate infinite;\\n          animation: grow-nine3 1989ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-nine3 {\\n  0% {\\n    transform: scaleY(5);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(6);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(6);\\n  }\\n  80% {\\n    transform: scaleY(8);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n@keyframes grow-nine3 {\\n  0% {\\n    transform: scaleY(5);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(6);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(6);\\n  }\\n  80% {\\n    transform: scaleY(8);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n.equalizer-container.level-nine .bar:nth-child(4) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-nine4 1673ms alternate infinite;\\n          animation: grow-nine4 1673ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-nine4 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(8);\\n  }\\n  30% {\\n    transform: scaleY(6);\\n  }\\n  40% {\\n    transform: scaleY(7);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(10);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(6);\\n  }\\n}\\n\\n@keyframes grow-nine4 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(8);\\n  }\\n  30% {\\n    transform: scaleY(6);\\n  }\\n  40% {\\n    transform: scaleY(7);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(10);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(6);\\n  }\\n}\\n\\n.equalizer-container.level-nine .bar:nth-child(5) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-nine5 1825ms alternate infinite;\\n          animation: grow-nine5 1825ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-nine5 {\\n  0% {\\n    transform: scaleY(9);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(8);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(8);\\n  }\\n  60% {\\n    transform: scaleY(10);\\n  }\\n  70% {\\n    transform: scaleY(6);\\n  }\\n  80% {\\n    transform: scaleY(10);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n@keyframes grow-nine5 {\\n  0% {\\n    transform: scaleY(9);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(8);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(8);\\n  }\\n  60% {\\n    transform: scaleY(10);\\n  }\\n  70% {\\n    transform: scaleY(6);\\n  }\\n  80% {\\n    transform: scaleY(10);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n.equalizer-container.level-nine .bar:nth-child(6) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-nine6 1887ms alternate infinite;\\n          animation: grow-nine6 1887ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-nine6 {\\n  0% {\\n    transform: scaleY(5);\\n  }\\n  10% {\\n    transform: scaleY(4);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(7);\\n  }\\n  40% {\\n    transform: scaleY(8);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(7);\\n  }\\n  80% {\\n    transform: scaleY(7);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(9);\\n  }\\n}\\n\\n@keyframes grow-nine6 {\\n  0% {\\n    transform: scaleY(5);\\n  }\\n  10% {\\n    transform: scaleY(4);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(7);\\n  }\\n  40% {\\n    transform: scaleY(8);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(7);\\n  }\\n  80% {\\n    transform: scaleY(7);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(9);\\n  }\\n}\\n\\n.equalizer-container.level-nine .bar:nth-child(7) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-nine7 2107ms alternate infinite;\\n          animation: grow-nine7 2107ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-nine7 {\\n  0% {\\n    transform: scaleY(10);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(7);\\n  }\\n  30% {\\n    transform: scaleY(8);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(10);\\n  }\\n  60% {\\n    transform: scaleY(8);\\n  }\\n  70% {\\n    transform: scaleY(9);\\n  }\\n  80% {\\n    transform: scaleY(7);\\n  }\\n  90% {\\n    transform: scaleY(7);\\n  }\\n  100% {\\n    transform: scaleY(9);\\n  }\\n}\\n\\n@keyframes grow-nine7 {\\n  0% {\\n    transform: scaleY(10);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(7);\\n  }\\n  30% {\\n    transform: scaleY(8);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(10);\\n  }\\n  60% {\\n    transform: scaleY(8);\\n  }\\n  70% {\\n    transform: scaleY(9);\\n  }\\n  80% {\\n    transform: scaleY(7);\\n  }\\n  90% {\\n    transform: scaleY(7);\\n  }\\n  100% {\\n    transform: scaleY(9);\\n  }\\n}\\n\\n.equalizer-container.level-nine .bar:nth-child(8) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-nine8 2015ms alternate infinite;\\n          animation: grow-nine8 2015ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-nine8 {\\n  0% {\\n    transform: scaleY(8);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(7);\\n  }\\n  40% {\\n    transform: scaleY(7);\\n  }\\n  50% {\\n    transform: scaleY(6);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(10);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(9);\\n  }\\n}\\n\\n@keyframes grow-nine8 {\\n  0% {\\n    transform: scaleY(8);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(7);\\n  }\\n  40% {\\n    transform: scaleY(7);\\n  }\\n  50% {\\n    transform: scaleY(6);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(10);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(9);\\n  }\\n}\\n\\n.equalizer-container.level-nine .bar:nth-child(9) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-nine9 1937ms alternate infinite;\\n          animation: grow-nine9 1937ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-nine9 {\\n  0% {\\n    transform: scaleY(8);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(8);\\n  }\\n  50% {\\n    transform: scaleY(8);\\n  }\\n  60% {\\n    transform: scaleY(7);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(8);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(7);\\n  }\\n}\\n\\n@keyframes grow-nine9 {\\n  0% {\\n    transform: scaleY(8);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(8);\\n  }\\n  50% {\\n    transform: scaleY(8);\\n  }\\n  60% {\\n    transform: scaleY(7);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(8);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(7);\\n  }\\n}\\n\\n.equalizer-container.level-nine .bar:nth-child(10) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-nine10 1928ms alternate infinite;\\n          animation: grow-nine10 1928ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-nine10 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(10);\\n  }\\n  30% {\\n    transform: scaleY(10);\\n  }\\n  40% {\\n    transform: scaleY(9);\\n  }\\n  50% {\\n    transform: scaleY(8);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(10);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(9);\\n  }\\n}\\n\\n@keyframes grow-nine10 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(10);\\n  }\\n  30% {\\n    transform: scaleY(10);\\n  }\\n  40% {\\n    transform: scaleY(9);\\n  }\\n  50% {\\n    transform: scaleY(8);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(10);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(9);\\n  }\\n}\\n\\n.equalizer-container.level-nine .bar:nth-child(11) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-nine11 1913ms alternate infinite;\\n          animation: grow-nine11 1913ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-nine11 {\\n  0% {\\n    transform: scaleY(6);\\n  }\\n  10% {\\n    transform: scaleY(5);\\n  }\\n  20% {\\n    transform: scaleY(10);\\n  }\\n  30% {\\n    transform: scaleY(6);\\n  }\\n  40% {\\n    transform: scaleY(5);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(8);\\n  }\\n  70% {\\n    transform: scaleY(8);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(9);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n@keyframes grow-nine11 {\\n  0% {\\n    transform: scaleY(6);\\n  }\\n  10% {\\n    transform: scaleY(5);\\n  }\\n  20% {\\n    transform: scaleY(10);\\n  }\\n  30% {\\n    transform: scaleY(6);\\n  }\\n  40% {\\n    transform: scaleY(5);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(8);\\n  }\\n  70% {\\n    transform: scaleY(8);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(9);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n.equalizer-container.level-nine .bar:nth-child(12) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-nine12 1649ms alternate infinite;\\n          animation: grow-nine12 1649ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-nine12 {\\n  0% {\\n    transform: scaleY(5);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(9);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(6);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(10);\\n  }\\n}\\n\\n@keyframes grow-nine12 {\\n  0% {\\n    transform: scaleY(5);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(9);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(6);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(10);\\n  }\\n}\\n\\n@media (min-width: 1024px) {\\n  .moods-graph__container {\\n    width: 65%;\\n  }\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9Vc2Vycy9hbGV4L0Rlc2t0b3Avb2JzY3VyaWZ5My9zcmMvYXBwL3Njc3MvY29tcG9uZW50cy9faGVhZGVyLnNjc3MiLCJzcmMvYXBwL2NvbXBvbmVudHMvbW9vZHMtZ3JhcGgvbW9vZHMtZ3JhcGguY29tcG9uZW50LnNjc3MiLCIvVXNlcnMvYWxleC9EZXNrdG9wL29ic2N1cmlmeTMvc3JjL2FwcC9jb21wb25lbnRzL21vb2RzLWdyYXBoL21vb2RzLWdyYXBoLmNvbXBvbmVudC5zY3NzIiwiL1VzZXJzL2FsZXgvRGVza3RvcC9vYnNjdXJpZnkzL3NyYy9hcHAvc2Nzcy9fdmFyaWFibGVzLnNjc3MiLCIvVXNlcnMvYWxleC9EZXNrdG9wL29ic2N1cmlmeTMvc3JjL2FwcC9zY3NzL19taXhpbnMuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFSTtFQUNJLGNBQUE7RUFDQSw4QkFBQTtFQUNBLDBCQUFBO0VBQUEsdUJBQUE7RUFBQSxrQkFBQTtFQUNBLHFCQUFBO0VBQ0EsU0FBQTtBQ0RSOztBQ0RBO0VBQ0ksZ0JBQUE7RUFDQSxjQUFBO0VBQ0EsYUFBQTtFQUNBLHNCQUFBO0VBQ0EsZUFBQTtFQUNBLFVBQUE7RUFDQSw0QkFBQTtFQUNBLGlEQUFBO0VBQ0EsdUJBQUE7QURJSjs7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oOiA2NSU7XG4gIH1cbn0iLCJAaW1wb3J0ICdjb21wb25lbnRzL2hlYWRlcic7XG5AaW1wb3J0ICdtaXhpbnMnO1xuQGltcG9ydCAndmFyaWFibGVzJztcblxuXG4ubW9vZHMtZ3JhcGgge1xuICAgIG1heC13aWR0aDogNjIwcHg7XG4gICAgbWFyZ2luOiAwIGF1dG87XG4gICAgZGlzcGxheTogZmxleDtcbiAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuICAgIHBhZGRpbmc6IDVyZW0gMDtcbiAgICBvcGFjaXR5OiAwO1xuICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWSgxMDBweCk7XG4gICAgdHJhbnNpdGlvbjogLjNzIGN1YmljLWJlemllciguMjUsLjEsLjI1LDEpO1xuICAgIGFsaWduLWl0ZW1zOiBmbGV4LXN0YXJ0O1xuXG4gICAgJi5zaG93IHtcbiAgICAgICAgb3BhY2l0eTogMTtcbiAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVZKDBweCk7XG5cbiAgICB9XG5cbiAgICAmX19jb250YWluZXIge1xuICAgICAgICBtYXJnaW4tdG9wOiAxZW07XG4gICAgfVxuXG4gICAgJl9fY29udGFpbmVyLS1yaWdodCB7XG4gICAgICAgIGFsaWduLXNlbGY6IGZsZXgtZW5kO1xuXG4gICAgICAgIGgzIHtcbiAgICAgICAgICAgIHRleHQtYWxpZ246IHJpZ2h0O1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgJl9fY29udGVudCB7XG4gICAgICAgIG1hcmdpbi10b3A6IDJlbTtcbiAgICAgICAgXG4gICAgICAgIGgzIHtcbiAgICAgICAgICAgIGZvbnQtc2l6ZTogMzZweDtcbiAgICAgICAgfVxuICAgIH1cblxuICAgICZfX2NhcmQge1xuICAgICAgICBwYWRkaW5nOiAxZW07XG4gICAgICAgIGJhY2tncm91bmQtY29sb3I6IHdoaXRlO1xuICAgICAgICBtYXJnaW4tdG9wOiAxZW07XG4gICAgICAgIGRpc3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tcblxuICAgICYubGV2ZWwtb25lIHtcbiAgICAgIEBmb3IgJGkgZnJvbSAwIHRocm91Z2ggJGJhcnMge1xuICAgICAgICAgIC5iYXI6bnRoLWNoaWxkKCN7JGl9KSB7XG4gICAgICAgICAgICAgICRzYXR1cmF0aW9uOiAxMDAgLSAoKCRpICsgMSkgKiAkbXVsdGlwbGllcik7XG4gICAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6ICM4MUQ2RTM7O1xuICAgICAgICAgICAgICBhbmltYXRpb246IGdyb3ctb25lI3skaX0gI3tyYW5kb20oNzAwKSArIDE1MDB9bXMgYWx0ZXJuYXRlIGluZmluaXRlO1xuXG4gICAgICAgICAgfVxuXG4gICAgICAgICAgQGtleWZyYW1lcyBncm93LW9uZSN7JGl9IHtcbiAgICAgICAgICAgICAgQGZvciAkaiBmcm9tIDAgdGhyb3VnaCAxMCB7XG4gICAgICAgICAgICAgICAgICAjeyRqICogMTB9JSB7XG4gICAgICAgICAgICAgICAgICAgICAgdHJhbnNmb3JtOiBzY2FsZVkoI3tyYW5kb20oMSl9KTtcbiAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG5cbiAgICAmLmxldmVsLXR3byB7XG4gICAgICBAZm9yICRpIGZyb20gMCB0aHJvdWdoICRiYXJzIHtcbiAgICAgICAgICAuYmFyOm50aC1jaGlsZCgjeyRpfSkge1xuICAgICAgICAgICAgICAkc2F0dXJhdGlvbjogMTAwIC0gKCgkaSArIDEpICogJG11bHRpcGxpZXIpO1xuICAgICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiBoc2xhKDE0MCwgNzMlLCA0MiUsIDEpO1xuICAgICAgICAgICAgICBhbmltYXRpb246IGdyb3ctdHdvI3skaX0gI3tyYW5kb20oNzAwKSArIDE1MDB9bXMgYWx0ZXJuYXRlIGluZmluaXRlO1xuICAgICAgICAgIH1cblxuICAgICAgICAgIEBrZXlmcmFtZXMgZ3Jvdy10d28jeyRpfSB7XG4gICAgICAgICAgICAgIEBmb3IgJGogZnJvbSAwIHRocm91Z2ggMTAge1xuICAgICAgICAgICAgICAgICAgI3skaiAqIDEwfSUge1xuICAgICAgICAgICAgICAgICAgICB0cmFuc2Zvcm06IHNjYWxlWSgje3JhbmRvbSgyKX0pO1xuICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICB9XG4gICAgICAgICAgfVxuICAgICAgfVxuICAgIH1cblxuICAgICYubGV2ZWwtdGhyZWUge1xuICAgICAgQGZvciAkaSBmcm9tIDAgdGhyb3VnaCAkYmFycyB7XG4gICAgICAgICAgLmJhcjpudGgtY2hpbGQoI3skaX0pIHtcbiAgICAgICAgICAgICAgJHNhdHVyYXRpb246IDEwMCAtICgoJGkgKyAxKSAqICRtdWx0aXBsaWVyKTtcbiAgICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogaHNsYSgxNDAsIDczJSwgNDIlLCAxKTtcbiAgICAgICAgICAgICAgYW5pbWF0aW9uOiBncm93LXRocmVlI3skaX0gI3tyYW5kb20oNzAwKSArIDE1MDB9bXMgYWx0ZXJuYXRlIGluZmluaXRlO1xuICAgICAgICAgIH1cblxuICAgICAgICAgIEBrZXlmcmFtZXMgZ3Jvdy10aHJlZSN7JGl9IHtcbiAgICAgICAgICAgICAgQGZvciAkaiBmcm9tIDAgdGhyb3VnaCAxMCB7XG4gICAgICAgICAgICAgICAgICAjeyRqICogMTB9JSB7XG4gICAgICAgICAgICAgICAgICAgIHRyYW5zZm9ybTogc2NhbGVZKCN7cmFuZG9tKDMpfSk7XG4gICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgIH1cbiAgICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuXG4gICAgJi5sZXZlbC1mb3VyIHtcbiAgICAgIEBmb3IgJGkgZnJvbSAwIHRocm91Z2ggJGJhcnMge1xuICAgICAgICAgIC5iYXI6bnRoLWNoaWxkKCN7JGl9KSB7XG4gICAgICAgICAgICAgICRzYXR1cmF0aW9uOiAxMDAgLSAoKCRpICsgMSkgKiAkbXVsdGlwbGllcik7XG4gICAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IGhzbGEoMTQwLCA3MyUsIDQyJSwgMSk7XG4gICAgICAgICAgICAgIGFuaW1hdGlvbjogZ3Jvdy1mb3VyI3skaX0gI3tyYW5kb20oNzAwKSArIDE1MDB9bXMgYWx0ZXJuYXRlIGluZmluaXRlO1xuICAgICAgICAgIH1cblxuICAgICAgICAgIEBrZXlmcmFtZXMgZ3Jvdy1mb3VyI3skaX0ge1xuICAgICAgICAgICAgICBAZm9yICRqIGZyb20gMCB0aHJvdWdoIDEwIHtcbiAgICAgICAgICAgICAgICAgICN7JGogKiAxMH0lIHtcbiAgICAgICAgICAgICAgICAgICAgdHJhbnNmb3JtOiBzY2FsZVkoI3tyYW5kb20oNCl9KTtcbiAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG5cbiAgICAmLmxldmVsLWZpdmUge1xuICAgICAgQGZvciAkaSBmcm9tIDAgdGhyb3VnaCAkYmFycyB7XG4gICAgICAgICAgLmJhcjpudGgtY2hpbGQoI3skaX0pIHtcbiAgICAgICAgICAgICAgJHNhdHVyYXRpb246IDEwMCAtICgoJGkgKyAxKSAqICRtdWx0aXBsaWVyKTtcbiAgICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogaHNsYSgxNDAsIDczJSwgNDIlLCAxKTtcbiAgICAgICAgICAgICAgYW5pbWF0aW9uOiBncm93LWZpdmUjeyRpfSAje3JhbmRvbSg3MDApICsgMTUwMH1tcyBhbHRlcm5hdGUgaW5maW5pdGU7XG4gICAgICAgICAgfVxuXG4gICAgICAgICAgQGtleWZyYW1lcyBncm93LWZpdmUjeyRpfSB7XG4gICAgICAgICAgICAgIEBmb3IgJGogZnJvbSAwIHRocm91Z2ggMTAge1xuICAgICAgICAgICAgICAgICAgI3skaiAqIDEwfSUge1xuICAgICAgICAgICAgICAgICAgICB0cmFuc2Zvcm06IHNjYWxlWSgje3JhbmRvbSg1KX0pO1xuICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICB9XG4gICAgICAgICAgfVxuICAgICAgfVxuICAgIH1cblxuICAgICYubGV2ZWwtc2l4IHtcbiAgICAgIEBmb3IgJGkgZnJvbSAwIHRocm91Z2ggJGJhcnMge1xuICAgICAgICAgIC5iYXI6bnRoLWNoaWxkKCN7JGl9KSB7XG4gICAgICAgICAgICAgICRzYXR1cmF0aW9uOiAxMDAgLSAoKCRpICsgMSkgKiAkbXVsdGlwbGllcik7XG4gICAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IGhzbGEoMTQwLCA3MyUsIDQyJSwgMSk7XG4gICAgICAgICAgICAgIGFuaW1hdGlvbjogZ3Jvdy1zaXgjeyRpfSAje3JhbmRvbSg3MDApICsgMTUwMH1tcyBhbHRlcm5hdGUgaW5maW5pdGU7XG4gICAgICAgICAgfVxuXG4gICAgICAgICAgQGtleWZyYW1lcyBncm93LXNpeCN7JGl9IHtcbiAgICAgICAgICAgICAgQGZvciAkaiBmcm9tIDAgdGhyb3VnaCAxMCB7XG4gICAgICAgICAgICAgICAgICAjeyRqICogMTB9JSB7XG4gICAgICAgICAgICAgICAgICAgIHRyYW5zZm9ybTogc2NhbGVZKCN7cmFuZG9tKDYpfSk7XG4gICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgIH1cbiAgICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuXG4gICAgJi5sZXZlbC1zZXZlbiB7XG4gICAgICBAZm9yICRpIGZyb20gMCB0aHJvdWdoICRiYXJzIHtcbiAgICAgICAgICAuYmFyOm50aC1jaGlsZCgjeyRpfSkge1xuICAgICAgICAgICAgICAkc2F0dXJhdGlvbjogMTAwIC0gKCgkaSArIDEpICogJG11bHRpcGxpZXIpO1xuICAgICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiBoc2xhKDE0MCwgNzMlLCA0MiUsIDEpO1xuICAgICAgICAgICAgICBhbmltYXRpb246IGdyb3ctc2V2ZW4jeyRpfSAje3JhbmRvbSg3MDApICsgMTUwMH1tcyBhbHRlcm5hdGUgaW5maW5pdGU7XG4gICAgICAgICAgfVxuXG4gICAgICAgICAgQGtleWZyYW1lcyBncm93LXNldmVuI3skaX0ge1xuICAgICAgICAgICAgICBAZm9yICRqIGZyb20gMCB0aHJvdWdoIDEwIHtcbiAgICAgICAgICAgICAgICAgICN7JGogKiAxMH0lIHtcbiAgICAgICAgICAgICAgICAgICAgdHJhbnNmb3JtOiBzY2FsZVkoI3tyYW5kb20oOCl9KTtcbiAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG5cbiAgICAmLmxldmVsLWVpZ2h0IHtcbiAgICAgIEBmb3IgJGkgZnJvbSAwIHRocm91Z2ggJGJhcnMge1xuICAgICAgICAgIC5iYXI6bnRoLWNoaWxkKCN7JGl9KSB7XG4gICAgICAgICAgICAgICRzYXR1cmF0aW9uOiAxMDAgLSAoKCRpICsgMSkgKiAkbXVsdGlwbGllcik7XG4gICAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IGhzbGEoMTQwLCA3MyUsIDQyJSwgMSk7XG4gICAgICAgICAgICAgIGFuaW1hdGlvbjogZ3Jvdy1laWdodCN7JGl9ICN7cmFuZG9tKDcwMCkgKyAxNTAwfW1zIGFsdGVybmF0ZSBpbmZpbml0ZTtcbiAgICAgICAgICB9XG5cbiAgICAgICAgICBAa2V5ZnJhbWVzIGdyb3ctZWlnaHQjeyRpfSB7XG4gICAgICAgICAgICAgIEBmb3IgJGogZnJvbSAwIHRocm91Z2ggMTAge1xuICAgICAgICAgICAgICAgICAgI3skaiAqIDEwfSUge1xuICAgICAgICAgICAgICAgICAgICB0cmFuc2Zvcm06IHNjYWxlWSgje3JhbmRvbSg5KX0pO1xuICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICB9XG4gICAgICAgICAgfVxuICAgICAgfVxuICAgIH1cblxuICAgICYubGV2ZWwtbmluZSB7XG4gICAgICBAZm9yICRpIGZyb20gMCB0aHJvdWdoICRiYXJzIHtcbiAgICAgICAgICAuYmFyOm50aC1jaGlsZCgjeyRpfSkge1xuICAgICAgICAgICAgICAkc2F0dXJhdGlvbjogMTAwIC0gKCgkaSArIDEpICogJG11bHRpcGxpZXIpO1xuICAgICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiBoc2xhKDE0MCwgNzMlLCA0MiUsIDEpO1xuICAgICAgICAgICAgICBhbmltYXRpb246IGdyb3ctbmluZSN7JGl9ICN7cmFuZG9tKDcwMCkgKyAxNTAwfW1zIGFsdGVybmF0ZSBpbmZpbml0ZTtcbiAgICAgICAgICB9XG5cbiAgICAgICAgICBAa2V5ZnJhbWVzIGdyb3ctbmluZSN7JGl9IHtcbiAgICAgICAgICAgICAgQGZvciAkaiBmcm9tIDAgdGhyb3VnaCAxMCB7XG4gICAgICAgICAgICAgICAgICAjeyRqICogMTB9JSB7XG4gICAgICAgICAgICAgICAgICAgIHRyYW5zZm9ybTogc2NhbGVZKCN7cmFuZG9tKDEwKX0pO1xuICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICB9XG4gICAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgfVxuXG5AaW5jbHVkZSBkZXNrdG9wIHtcbiAgICAubW9vZHMtZ3JhcGgge1xuICAgICAgICAmX19jb250YWluZXIge1xuICAgICAgICAgICAgd2lkdGg6IDY1JTtcbiAgICAgICAgfVxuICAgIH1cbn0iLCJcbiRwcmltYXJ5LWZvbnQ6ICdIZWx2ZXRpY2EgTmV1ZScsIHNhbnMtc2VyaWY7XG4kc2Vjb25kYXJ5LWZvbnQ6IC1hcHBsZS1zeXN0ZW0sIEJsaW5rTWFjU3lzdGVtRm9udCwgJ1NlZ29lIFVJJztcblxuLy8gQ29sb3JzXG5cbiRwcmltYXJ5LWNvbG9yOiAjQTlFNUFDOyIsIiR0YWJsZXQtd2lkdGg6IDc2OHB4O1xuJGRlc2t0b3Atd2lkdGg6IDEwMjRweDtcblxuQG1peGluIHRhYmxldCB7XG4gIEBtZWRpYSAobWluLXdpZHRoOiAjeyR0YWJsZXQtd2lkdGh9KSBhbmQgKG1heC13aWR0aDogI3skZGVza3RvcC13aWR0aCAtIDFweH0pIHtcbiAgICBAY29udGVudDtcbiAgfVxufVxuXG5AbWl4aW4gZGVza3RvcCB7XG4gIEBtZWRpYSAobWluLXdpZHRoOiAjeyRkZXNrdG9wLXdpZHRofSkge1xuICAgIEBjb250ZW50O1xuICB9XG59XG5cbkBtaXhpbiBsdC1tZCB7XG4gIEBtZWRpYSBzY3JlZW4gYW5kIChtYXgtd2lkdGg6IDk1OXB4KSB7XG4gICAgQGNvbnRlbnRcbiAgfVxufVxuXG5AbWl4aW4gZ3QtbWQge1xuICBAbWVkaWEgc2NyZWVuIGFuZCAobWluLXdpZHRoOiA5NjBweCkge1xuICAgIEBjb250ZW50XG4gIH1cbn1cblxuQG1peGluIGd0LXhzIHtcbiAgQG1lZGlhIHNjcmVlbiBhbmQgKG1pbi13aWR0aDogNjAwcHgpIHtcbiAgICBAY29udGVudFxuICB9XG59Il19 */\");\n\n/***/ }),\n\n/***/ \"./src/app/components/moods-graph/moods-graph.component.ts\":\n/*!*****************************************************************!*\\\n  !*** ./src/app/components/moods-graph/moods-graph.component.ts ***!\n  \\*****************************************************************/\n/*! exports provided: MoodsGraphComponent */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MoodsGraphComponent\", function() { return MoodsGraphComponent; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var src_app_services_intersectionObserver__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/app/services/intersectionObserver */ \"./src/app/services/intersectionObserver.ts\");\n\n\n\nlet MoodsGraphComponent = class MoodsGraphComponent {\n    constructor(element, intersectionObserverService) {\n        this.element = element;\n        this.intersectionObserverService = intersectionObserverService;\n        this.appColor = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"EventEmitter\"]();\n        this.show = false;\n    }\n    updateAppBackgroundColor() {\n        this.appColor.emit(2);\n    }\n    ngOnInit() { }\n    ngAfterViewInit() {\n        this.intersectionObserverService.init(this.element.nativeElement, {\n            threshold: 0.30\n        });\n        this.intersectionObserverSubs = this.intersectionObserverService\n            .getSubject()\n            .subscribe(el => {\n            if (el.isIntersecting) {\n                this.updateAppBackgroundColor();\n                this.show = true;\n            }\n            else {\n                this.show = false;\n            }\n        });\n    }\n};\nMoodsGraphComponent.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ElementRef\"] },\n    { type: src_app_services_intersectionObserver__WEBPACK_IMPORTED_MODULE_2__[\"default\"] }\n];\ntslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Output\"])()\n], MoodsGraphComponent.prototype, \"appColor\", void 0);\nMoodsGraphComponent = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Component\"])({\n        selector: 'app-moods-graph',\n        template: tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(/*! raw-loader!./moods-graph.component.html */ \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/moods-graph/moods-graph.component.html\")).default,\n        providers: [src_app_services_intersectionObserver__WEBPACK_IMPORTED_MODULE_2__[\"default\"]],\n        styles: [tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(/*! ./moods-graph.component.scss */ \"./src/app/components/moods-graph/moods-graph.component.scss\")).default]\n    })\n], MoodsGraphComponent);\n\n\n\n/***/ }),\n\n/***/ \"./src/app/components/obscurity-graph/obscurity-graph.component.scss\":\n/*!***************************************************************************!*\\\n  !*** ./src/app/components/obscurity-graph/obscurity-graph.component.scss ***!\n  \\***************************************************************************/\n/*! exports provided: default */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\".obscurity__graph {\\n  margin-top: 2em;\\n  border-radius: 5px;\\n  width: 100%;\\n  padding: 2em 1em;\\n  display: flex;\\n  justify-content: space-around;\\n  align-items: flex-end;\\n  background-color: #A9E5AC;\\n  box-shadow: 22px 21px 1px 0 rgba(0, 0, 0, 0.5);\\n}\\n.obscurity__graph__container {\\n  display: flex;\\n  justify-content: space-around;\\n  align-items: flex-end;\\n  width: 100%;\\n  height: 300px;\\n}\\n.obscurity__graph__container .obscurity__avg-bar {\\n  will-change: height, opacity;\\n  background: #FFFBFA;\\n  box-shadow: 12px 12px 1px 0 rgba(0, 0, 0, 0.25);\\n  width: 60px;\\n  display: flex;\\n  justify-content: center;\\n  align-items: center;\\n  position: relative;\\n  margin-bottom: 5rem;\\n}\\n.obscurity__graph__container .obscurity__avg-bar.active .bar-value {\\n  opacity: 1;\\n  visibility: visible;\\n}\\n.obscurity__graph__container .obscurity__avg-bar .bar-value {\\n  color: grey;\\n  opacity: 0;\\n  transition: all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1) 1s;\\n}\\n.obscurity__graph__container .obscurity__avg-bar .bar-title {\\n  position: absolute;\\n  bottom: -5em;\\n  font-weight: bold;\\n  font-size: 14px;\\n  color: #000000;\\n  letter-spacing: 0.87px;\\n  text-align: center;\\n  height: 35px;\\n}\\n.obscurity__graph__container .obscurity-avg-bar:nth-child(1) {\\n  transition: all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);\\n}\\n.obscurity__graph__container .obscurity-avg-bar:nth-child(2) {\\n  transition: all 1s cubic-bezier(0.645, 0.045, 0.355, 1);\\n}\\n.obscurity__graph__container .obscurity-avg-bar:nth-child(3) {\\n  transition: all 1.5s cubic-bezier(0.645, 0.045, 0.355, 1);\\n}\\n.obscurity__graph__container .obscurity-avg-bar:nth-child(4) {\\n  transition: all 2s cubic-bezier(0.645, 0.045, 0.355, 1);\\n}\\n.obscurity__graph__info {\\n  text-align: left;\\n  padding: 0 2em;\\n  margin-top: 1em;\\n  font-size: 0.8rem;\\n}\\n@media (min-width: 1024px) {\\n  .obscurity__graph {\\n    max-width: 600px;\\n    box-sizing: border-box;\\n  }\\n  .obscurity__graph__info {\\n    font-size: 1rem;\\n  }\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9Vc2Vycy9hbGV4L0Rlc2t0b3Avb2JzY3VyaWZ5My9zcmMvYXBwL2NvbXBvbmVudHMvb2JzY3VyaXR5LWdyYXBoL29ic2N1cml0eS1ncmFwaC5jb21wb25lbnQuc2NzcyIsIi9Vc2Vycy9hbGV4L0Rlc2t0b3Avb2JzY3VyaWZ5My9zcmMvYXBwL3Njc3MvX3ZhcmlhYmxlcy5zY3NzIiwic3JjL2FwcC9jb21wb25lbnRzL29ic2N1cml0eS1ncmFwaC9vYnNjdXJpdHktZ3JhcGguY29tcG9uZW50LnNjc3MiLCIvVXNlcnMvYWxleC9EZXNrdG9wL29ic2N1cmlmeTMvc3JjL2FwcC9zY3NzL19taXhpbnMuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHQTtFQUNJLGVBQUE7RUFDQSxrQkFBQTtFQUNBLFdBQUE7RUFDQSxnQkFBQTtFQUNBLGFBQUE7RUFDQSw2QkFBQTtFQUNBLHFCQ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VweDtcbiAgICB3aWR0aDogMTAwJTtcbiAgICBwYWRkaW5nOiAyZW0gMWVtO1xuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAganVzdGlmeS1jb250ZW50OiBzcGFjZS1hcm91bmQ7XG4gICAgYWxpZ24taXRlbXM6IGZsZXgtZW5kO1xuICAgIGJhY2tncm91bmQtY29sb3I6ICRwcmltYXJ5LWNvbG9yO1xuICAgIGJveC1zaGFkb3c6IDIycHggMjFweCAxcHggMCByZ2JhKDAsIDAsIDAsIDAuNSk7XG5cbiAgICAmX19jb250YWluZXIge1xuICAgICAgICBkaXNwbGF5OiBmbGV4O1xuICAgICAgICBqdXN0aWZ5LWNvbnRlbnQ6IHNwYWNlLWFyb3VuZDtcbiAgICAgICAgYWxpZ24taXRlbXM6IGZsZXgtZW5kO1xuICAgICAgICB3aWR0aDogMTAwJTtcbiAgICAgICAgaGVpZ2h0OiAzMDBweDtcbiAgICBcbiAgICAgICAgLm9ic2N1cml0eV9fYXZnLWJhciB7XG4gICAgICAgICAgICAvLyBoZWlnaHQ6IDI2M3B4O1xuICAgICAgICAgICAgd2lsbC1jaGFuZ2U6IGhlaWdodCwgb3BhY2l0eTtcbiAgICBcbiAgICAgICAgICAgIGJhY2tncm91bmQ6ICNGRkZCRkE7XG4gICAgICAgICAgICBib3gtc2hhZG93OiAxMnB4IDEycHggMXB4IDAgcmdiYSgwLDAsMCwwLjI1KTtcbiAgICAgICAgICAgIHdpZHRoOiA2MHB4O1xuICAgICAgICAgICAgZGlzcGxheTogZmxleDtcbiAgICAgICAgICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuICAgICAgICAgICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgICAgICAgICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IDVyZW07XG4gICAgXG4gICAgICAgICAgICAmLmFjdGl2ZSB7XG4gICAgICAgICAgICAgICAgLmJhci12YWx1ZSB7XG4gICAgICAgICAgICAgICAgICAgIG9wYWNpdHk6IDE7XG4gICAgICAgICAgICAgICAgICAgIHZpc2liaWxpdHk6IHZpc2libGU7XG4gICAgXG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgIFxuICAgICAgICAgICAgLmJhci12YWx1ZXtcbiAgICAgICAgICAgICAgICBjb2xvcjogZ3JleTtcbiAgICAgICAgICAgICAgICBvcGFjaXR5OiAwO1xuICAgICAgICAgICAgICAgIHRyYW5zaXRpb246IGFsbCAuNXMgY3ViaWMtYmV6aWVyKDAuNjQ1LCAwLjA0NSwgMC4zNTUsIDEpIDFzO1xuICAgIFxuICAgICAgICAgICAgfVxuICAgIFxuICAgICAgICAgICAgLmJhci10aXRsZSB7XG4gICAgICAgICAgICAgICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgICAgICAgICAgICAgIGJvdHRvbTogLTVlbTtcbiAgICAgICAgICAgICAgICBmb250LXdlaWdodDogYm9sZDtcbiAgICAgICAgICAgICAgICBmb250LXNpemU6IDE0cHg7XG4gICAgICAgICAgICAgICAgY29sb3I6ICMwMDAwMDA7XG4gICAgICAgICAgICAgICAgbGV0dGVyLXNwYWNpbmc6IDAuODdweDtcbiAgICAgICAgICAgICAgICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gICAgICAgICAgICAgICAgaGVpZ2h0OiAzNXB4O1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgXG4gICAgICAgICR0aW1lTGlzdDogMC41LCAxLCAxLjUsIDI7XG4gICAgICAgICRjb3VudDogMTtcbiAgICBcbiAgICAgICAgQGVhY2ggJHRpbWUgaW4gJHRpbWVMaXN0IHtcbiAgICAgICAgLm9ic2N1cml0eS1hdmctYmFyOm50aC1jaGlsZCgjeyRjb3VudH0pIHtcbiAgICAgICAgICAgIHRyYW5zaXRpb246IGFsbCAjeyR0aW1lfXMgY3ViaWMtYmV6aWVyKDAuNjQ1LCAwLjA0NSwgMC4zNTUsIDEpO1xuICAgIC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ib3g7XG4gIH1cbiAgLm9ic2N1cml0eV9fZ3JhcGhfX2luZm8ge1xuICAgIGZvbnQtc2l6ZTogMXJlbTtcbiAgfVxufSIsIiR0YWJsZXQtd2lkdGg6IDc2OHB4O1xuJGRlc2t0b3Atd2lkdGg6IDEwMjRweDtcblxuQG1peGluIHRhYmxldCB7XG4gIEBtZWRpYSAobWluLXdpZHRoOiAjeyR0YWJsZXQtd2lkdGh9KSBhbmQgKG1heC13aWR0aDogI3skZGVza3RvcC13aWR0aCAtIDFweH0pIHtcbiAgICBAY29udGVudDtcbiAgfVxufVxuXG5AbWl4aW4gZGVza3RvcCB7XG4gIEBtZWRpYSAobWluLXdpZHRoOiAjeyRkZXNrdG9wLXdpZHRofSkge1xuICAgIEBjb250ZW50O1xuICB9XG59XG5cbkBtaXhpbiBsdC1tZCB7XG4gIEBtZWRpYSBzY3JlZW4gYW5kIChtYXgtd2lkdGg6IDk1OXB4KSB7XG4gICAgQGNvbnRlbnRcbiAgfVxufVxuXG5AbWl4aW4gZ3QtbWQge1xuICBAbWVkaWEgc2NyZWVuIGFuZCAobWluLXdpZHRoOiA5NjBweCkge1xuICAgIEBjb250ZW50XG4gIH1cbn1cblxuQG1peGluIGd0LXhzIHtcbiAgQG1lZGlhIHNjcmVlbiBhbmQgKG1pbi13aWR0aDogNjAwcHgpIHtcbiAgICBAY29udGVudFxuICB9XG59Il19 */\");\n\n/***/ }),\n\n/***/ \"./src/app/components/obscurity-graph/obscurity-graph.component.ts\":\n/*!*************************************************************************!*\\\n  !*** ./src/app/components/obscurity-graph/obscurity-graph.component.ts ***!\n  \\*************************************************************************/\n/*! exports provided: ObscurityGraphComponent */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ObscurityGraphComponent\", function() { return ObscurityGraphComponent; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/platform-browser */ \"./node_modules/@angular/platform-browser/fesm2015/platform-browser.js\");\n\n\n\nlet ObscurityGraphComponent = class ObscurityGraphComponent {\n    constructor(renderer, el, sanitizer) {\n        // events.subscribe('graphInit', () => {\n        this.renderer = renderer;\n        this.el = el;\n        this.sanitizer = sanitizer;\n        this.imageURL = '';\n        this.country = '';\n        this.doneLoading = false;\n        this.barActive = false;\n        //   this.setGraph();\n        // });\n    }\n};\nObscurityGraphComponent.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Renderer2\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ElementRef\"] },\n    { type: _angular_platform_browser__WEBPACK_IMPORTED_MODULE_2__[\"DomSanitizer\"] }\n];\ntslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"])()\n], ObscurityGraphComponent.prototype, \"data\", void 0);\ntslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ViewChild\"])('globalAvgBar', { static: true })\n], ObscurityGraphComponent.prototype, \"globalBar\", void 0);\ntslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ViewChild\"])('countryAvgBar', { static: true })\n], ObscurityGraphComponent.prototype, \"countryBar\", void 0);\ntslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ViewChild\"])('allTimeBar', { static: true })\n], ObscurityGraphComponent.prototype, \"allTimeBar\", void 0);\ntslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ViewChild\"])('recentBar', { static: true })\n], ObscurityGraphComponent.prototype, \"recentBar\", void 0);\nObscurityGraphComponent = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Component\"])({\n        selector: 'app-obscurity-graph',\n        template: tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(/*! raw-loader!./obscurity-graph.component.html */ \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/obscurity-graph/obscurity-graph.component.html\")).default,\n        styles: [tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(/*! ./obscurity-graph.component.scss */ \"./src/app/components/obscurity-graph/obscurity-graph.component.scss\")).default]\n    })\n], ObscurityGraphComponent);\n\n\n\n/***/ }),\n\n/***/ \"./src/app/components/obscurity-rating/obscurity-rating.component.scss\":\n/*!*****************************************************************************!*\\\n  !*** ./src/app/components/obscurity-rating/obscurity-rating.component.scss ***!\n  \\*****************************************************************************/\n/*! exports provided: default */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\".header__title {\\n  font-size: 3em;\\n  border-bottom: 8px black solid;\\n  width: -webkit-fit-content;\\n  width: -moz-fit-content;\\n  width: fit-content;\\n  padding-bottom: 0.2em;\\n  margin: 0;\\n}\\n\\n.obscurity {\\n  max-width: 1024px;\\n  margin: 0 auto;\\n  padding: 2rem 0px;\\n  transform: translateY(100px);\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n  opacity: 0;\\n  transform: translateY(100px);\\n}\\n\\n.obscurity.show {\\n  opacity: 1;\\n  transform: translateY(0px);\\n}\\n\\n.header__title {\\n  color: white;\\n  border-bottom: 5px #A9E5AC solid;\\n}\\n\\n.percentile {\\n  display: flex;\\n  justify-content: flex-start;\\n  margin-top: 3em;\\n}\\n\\n.percentile h2 {\\n  font-size: 4em;\\n  text-align: center;\\n}\\n\\n.percentile p {\\n  font-size: 1em;\\n  margin-top: 1em;\\n}\\n\\n.percentile__card {\\n  border-radius: 5px;\\n  background-color: #fff;\\n  display: flex;\\n  flex-wrap: wrap;\\n  flex-direction: column;\\n  justify-content: flex-start;\\n  align-items: stretch;\\n  padding: 2em 2em 5em;\\n  box-shadow: 22px 21px 4px 4px rgba(0, 0, 0, 0.5);\\n}\\n\\n@media (min-width: 1024px) {\\n  .percentile__card {\\n    padding: 2em 2em 5em;\\n    min-width: 600px;\\n    box-sizing: border-box;\\n  }\\n  .percentile h2 {\\n    font-size: 8em;\\n  }\\n  .percentile p {\\n    font-size: 1em;\\n    margin-top: 1em;\\n  }\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9Vc2Vycy9hbGV4L0Rlc2t0b3Avb2JzY3VyaWZ5My9zcmMvYXBwL3Njc3MvY29tcG9uZW50cy9faGVhZGVyLnNjc3MiLCJzcmMvYXBwL2NvbXBvbmVudHMvb2JzY3VyaXR5LXJhdGluZy9vYnNjdXJpdHktcmF0aW5nLmNvbXBvbmVudC5zY3NzIiwiL1VzZXJzL2FsZXgvRGVza3RvcC9vYnNjdXJpZnkzL3NyYy9hcHAvY29tcG9uZW50cy9vYnNjdXJpdHktcmF0aW5nL29ic2N1cml0eS1yYXRpbmcuY29tcG9uZW50LnNjc3MiLCIvVXNlcnMvYWxleC9EZXNrdG9wL29ic2N1cmlmeTMvc3JjL2FwcC9zY3NzL19taXhpbnMuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFSTtFQUNJLGNBQUE7RUFDQSw4QkFBQTtFQUNBLDBCQUFBO0VBQUEsdUJBQUE7RUFBQS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vbG9yOiB3aGl0ZTtcbiAgICBib3JkZXItYm90dG9tOiA1cHggJHByaW1hcnktY29sb3Igc29saWQ7XG59XG5cbi5wZXJjZW50aWxlIHtcbiAgICBkaXNwbGF5OmZsZXg7XG4gICAganVzdGlmeS1jb250ZW50OiBmbGV4LXN0YXJ0O1xuICAgIG1hcmdpbi10b3A6IDNlbTtcblxuICAgIGgyIHtcbiAgICAgIGZvbnQtc2l6ZTogNGVtO1xuICAgICAgdGV4dC1hbGlnbjogY2VudGVyO1xuICAgIH1cbiAgXG4gICAgcCB7XG4gICAgICAgIGZvbnQtc2l6ZTogMWVtO1xuICAgICAgICBtYXJnaW4tdG9wOiAxZW07XG4gICAgfVxuICBcbiAgICAmX19jYXJkIHtcbiAgICAgIGJvcmRlci1yYWRpdXM6IDVweDtcbiAgICAgIGJhY2tncm91bmQtY29sb3I6ICNmZmY7XG4gICAgICBkaXNwbGF5OiBmbGV4O1xuICAgICAgZmxleC13cmFwOiB3cmFwO1xuICAgICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcbiAgICAgIGp1c3RpZnktY29udGVudDogZmxleC1zdGFydDtcbiAgICAgIGFsaWduLWl0ZW1zOiBzdHJldGNoO1xuICAgICAgcGFkZGluZzogMmVtIDJlbSA1ZW07XG4gICAgICBib3gtc2hhZG93OiAyMnB4IDIxcHggNHB4IDRweCByZ2JhKDAsIDAsIDAsIDAuNSk7XG4gICAgfVxuICB9XG5cblxuQGluY2x1ZGUgZGVza3RvcCB7XG5cbiAgICAucGVyY2VudGlsZSB7XG5cbiAgICAgICAgJl9fY2FyZCB7XG4gICAgICAgICAgICBwYWRkaW5nOiAyZW0gMmVtIDVlbTtcbiAgICAgICAgICAgIG1pbi13aWR0aDogNjAwcHg7XG4gICAgICAgICAgICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xuICAgICAgICB9XG5cbiAgICAgICAgICBcbiAgICAgICAgaDIge1xuICAgICAgICAgIGZvbnQtc2l6ZTogOGVtO1xuICAgICAgICB9XG4gICAgICBcbiAgICAgICAgcCB7XG4gICAgICAgICAgICBmb250LXNpemU6IDFlbTtcbiAgICAgICAgICAgIG1hcmdpbi10b3A6IDFlbTtcbiAgICAgICAgfVxuICAgIH0gXG5cbn1cbiAgIiwiJHRhYmxldC13aWR0aDogNzY4cHg7XG4kZGVza3RvcC13aWR0aDogMTAyNHB4O1xuXG5AbWl4aW4gdGFibGV0IHtcbiAgQG1lZGlhIChtaW4td2lkdGg6ICN7JHRhYmxldC13aWR0aH0pIGFuZCAobWF4LXdpZHRoOiAjeyRkZXNrdG9wLXdpZHRoIC0gMXB4fSkge1xuICAgIEBjb250ZW50O1xuICB9XG59XG5cbkBtaXhpbiBkZXNrdG9wIHtcbiAgQG1lZGlhIChtaW4td2lkdGg6ICN7JGRlc2t0b3Atd2lkdGh9KSB7XG4gICAgQGNvbnRlbnQ7XG4gIH1cbn1cblxuQG1peGluIGx0LW1kIHtcbiAgQG1lZGlhIHNjcmVlbiBhbmQgKG1heC13aWR0aDogOTU5cHgpIHtcbiAgICBAY29udGVudFxuICB9XG59XG5cbkBtaXhpbiBndC1tZCB7XG4gIEBtZWRpYSBzY3JlZW4gYW5kIChtaW4td2lkdGg6IDk2MHB4KSB7XG4gICAgQGNvbnRlbnRcbiAgfVxufVxuXG5AbWl4aW4gZ3QteHMge1xuICBAbWVkaWEgc2NyZWVuIGFuZCAobWluLXdpZHRoOiA2MDBweCkge1xuICAgIEBjb250ZW50XG4gIH1cbn0iXX0= */\");\n\n/***/ }),\n\n/***/ \"./src/app/components/obscurity-rating/obscurity-rating.component.ts\":\n/*!***************************************************************************!*\\\n  !*** ./src/app/components/obscurity-rating/obscurity-rating.component.ts ***!\n  \\***************************************************************************/\n/*! exports provided: ObscurityRatingComponent */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ObscurityRatingComponent\", function() { return ObscurityRatingComponent; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var src_app_services_intersectionObserver__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/app/services/intersectionObserver */ \"./src/app/services/intersectionObserver.ts\");\n\n\n\nlet ObscurityRatingComponent = class ObscurityRatingComponent {\n    constructor(element, intersectionObserverService) {\n        this.element = element;\n        this.intersectionObserverService = intersectionObserverService;\n        this.appColor = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"EventEmitter\"]();\n        this.show = false;\n    }\n    updateAppBackgroundColor(val) {\n        if (val) {\n            this.appColor.emit(3);\n        }\n        else {\n            this.appColor.emit(2);\n        }\n    }\n    ngOnInit() { }\n    ngAfterViewInit() {\n        this.intersectionObserverService.init(this.element.nativeElement, {\n            threshold: 0.20\n        });\n        this.intersectionObserverSubs = this.intersectionObserverService\n            .getSubject()\n            .subscribe(el => {\n            if (el.isIntersecting) {\n                this.updateAppBackgroundColor(true);\n                this.show = true;\n            }\n            else {\n                this.show = false;\n            }\n            if (el.isVisible) {\n                this.updateAppBackgroundColor(false);\n            }\n        });\n    }\n};\nObscurityRatingComponent.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ElementRef\"] },\n    { type: src_app_services_intersectionObserver__WEBPACK_IMPORTED_MODULE_2__[\"default\"] }\n];\ntslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Output\"])()\n], ObscurityRatingComponent.prototype, \"appColor\", void 0);\nObscurityRatingComponent = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Component\"])({\n        selector: 'app-obscurity-rating',\n        template: tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(/*! raw-loader!./obscurity-rating.component.html */ \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/obscurity-rating/obscurity-rating.component.html\")).default,\n        providers: [src_app_services_intersectionObserver__WEBPACK_IMPORTED_MODULE_2__[\"default\"]],\n        styles: [tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(/*! ./obscurity-rating.component.scss */ \"./src/app/components/obscurity-rating/obscurity-rating.component.scss\")).default]\n    })\n], ObscurityRatingComponent);\n\n\n\n/***/ }),\n\n/***/ \"./src/app/components/recommendations/recommendations.component.scss\":\n/*!***************************************************************************!*\\\n  !*** ./src/app/components/recommendations/recommendations.component.scss ***!\n  \\***************************************************************************/\n/*! exports provided: default */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\".header__title {\\n  font-size: 3em;\\n  border-bottom: 8px black solid;\\n  width: -webkit-fit-content;\\n  width: -moz-fit-content;\\n  width: fit-content;\\n  padding-bottom: 0.2em;\\n  margin: 0;\\n}\\n\\n.recommendations {\\n  max-width: 620px;\\n  margin: 0 auto;\\n  display: flex;\\n  flex-direction: column;\\n  padding: 5rem 0;\\n  position: relative;\\n  height: 100%;\\n  min-height: 620px;\\n  opacity: 0;\\n  transform: translateY(100px);\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n}\\n\\n.recommendations.show {\\n  opacity: 1;\\n  transform: translateY(0px);\\n}\\n\\n.recommendations .header {\\n  color: white;\\n}\\n\\n.recommendations .header__title {\\n  border-color: white;\\n  font-size: 2.3em;\\n}\\n\\n.recommendations__content {\\n  position: relative;\\n}\\n\\n.recommendations__container {\\n  position: absolute;\\n  left: 0;\\n  top: 0;\\n  width: 100%;\\n  height: 100%;\\n  border-radius: 25px 25px 0 0;\\n  overflow: hidden;\\n  box-sizing: content-box;\\n  padding-top: 80px;\\n  min-height: 620px;\\n}\\n\\n.filter-btn {\\n  background-color: #2d3436;\\n  border: none;\\n  height: 29px;\\n  width: 44px;\\n  border-radius: 19px;\\n  color: white;\\n  font-size: 17px;\\n  padding-top: 1px;\\n  top: 20px;\\n  left: 10px;\\n  position: absolute;\\n  z-index: 3;\\n}\\n\\n.add-playlist-btn, .refresh-btn {\\n  background-color: transparent;\\n  border: none;\\n  height: 29px;\\n  border-radius: 19px;\\n  color: #2d3436;\\n  font-size: 17px;\\n  padding-top: 1px;\\n  top: 20px;\\n  right: 10px;\\n  position: absolute;\\n  z-index: 1;\\n  display: inline-block;\\n  cursor: pointer;\\n}\\n\\n.add-playlist-btn span, .refresh-btn span {\\n  /* Create Playlist: */\\n  font-size: 14px;\\n  font-weight: bold;\\n  color: #fffbfa;\\n  letter-spacing: 1.35px;\\n  text-align: center;\\n  margin-right: 6px;\\n  z-index: 1;\\n}\\n\\n.refresh-btn {\\n  right: auto;\\n}\\n\\n.content {\\n  position: relative;\\n}\\n\\n.track-container {\\n  overflow-x: auto;\\n  width: 100%;\\n  height: 100%;\\n  -ms-overflow-style: none;\\n  overflow: -moz-scrollbars-none;\\n  overflow-y: hidden;\\n}\\n\\n.track-container::-webkit-scrollbar {\\n  display: none;\\n}\\n\\n.card-track {\\n  display: flex;\\n  overflow-y: hidden;\\n  overflow-x: scroll;\\n  width: 2700px;\\n  z-index: 1;\\n  padding-left: 42px;\\n  flex-wrap: wrap;\\n  height: 470px;\\n  align-items: flex-start;\\n  align-content: baseline;\\n}\\n\\n.card-track::-webkit-scrollbar {\\n  display: none;\\n}\\n\\n.card-track .card {\\n  background: none;\\n  width: 252px;\\n  height: 168px;\\n  margin-right: 70px;\\n  position: relative;\\n}\\n\\n.card-track .card img {\\n  -o-object-fit: cover;\\n     object-fit: cover;\\n  width: 100%;\\n  max-height: 100%;\\n}\\n\\n.card-track .card .card-info {\\n  background: #2d3436;\\n  box-shadow: -12px 5px 4px 0 rgba(0, 0, 0, 0.5);\\n  width: 252px;\\n  height: 142px;\\n  position: absolute;\\n  left: -16px;\\n  top: 16px;\\n  display: flex;\\n  flex-wrap: wrap;\\n  align-content: flex-end;\\n  justify-content: flex-start;\\n  padding: 16px 16px 8px;\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n  top: 50px;\\n  box-sizing: border-box;\\n}\\n\\n.card-track .card .card-info h3 {\\n  font-size: 14px;\\n  margin: 0;\\n  width: 100%;\\n  color: #fff;\\n}\\n\\n.card-track .card .card-info p {\\n  color: #fff;\\n  font-size: 10px;\\n  margin: 0;\\n}\\n\\n.card-track .card .card-info a {\\n  text-decoration: none;\\n  color: #fff;\\n  display: flex;\\n  flex-wrap: wrap;\\n  align-content: flex-end;\\n}\\n\\n.card-track .card .card-content {\\n  background: #fffbfa;\\n  width: 252px;\\n  height: 142px;\\n  margin-right: 70px;\\n  position: relative;\\n  z-index: 1;\\n}\\n\\n.card-track .card:nth-child(9) {\\n  margin-left: 40px;\\n}\\n\\n.card-track .card:nth-child(1n+9) {\\n  margin-top: 50px;\\n}\\n\\n.track-container {\\n  overflow-x: auto;\\n  width: 100%;\\n  height: 100%;\\n  -ms-overflow-style: none;\\n  overflow: -moz-scrollbars-none;\\n  overflow-y: hidden;\\n}\\n\\n.track-container::-webkit-scrollbar {\\n  display: none;\\n}\\n\\n.card-track {\\n  display: flex;\\n  overflow-y: hidden;\\n  overflow-x: scroll;\\n  width: 2700px;\\n  z-index: 1;\\n  padding-left: 42px;\\n  flex-wrap: wrap;\\n  height: 470px;\\n  align-items: flex-start;\\n  align-content: baseline;\\n  box-sizing: content-box;\\n}\\n\\n.card-track::-webkit-scrollbar {\\n  display: none;\\n}\\n\\n.card-track .card {\\n  background: none;\\n  width: 252px;\\n  height: 168px;\\n  position: relative;\\n}\\n\\n.card-track .card img {\\n  -o-object-fit: cover;\\n     object-fit: cover;\\n  width: 100%;\\n  max-height: 100%;\\n}\\n\\n.card-track .card .card-info {\\n  background: #2D3436;\\n  box-shadow: -12px 5px 4px 0 rgba(0, 0, 0, 0.5);\\n  width: 252px;\\n  height: 142px;\\n  position: absolute;\\n  left: -16px;\\n  top: 16px;\\n  display: flex;\\n  flex-wrap: wrap;\\n  align-content: flex-end;\\n  justify-content: flex-start;\\n  padding: 16px 16px 8px;\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n  top: 50px;\\n}\\n\\n.card-track .card .card-info h3 {\\n  font-size: 14px;\\n  margin: 0;\\n  width: 100%;\\n  color: #fff;\\n}\\n\\n.card-track .card .card-info p {\\n  color: #fff;\\n  font-size: 10px;\\n  margin: 0;\\n}\\n\\n.card-track .card .card-info a {\\n  text-decoration: none;\\n  color: #fff;\\n  display: flex;\\n  flex-wrap: wrap;\\n  align-content: flex-end;\\n}\\n\\n.card-track .card .card-content {\\n  background: #FFFBFA;\\n  width: 252px;\\n  height: 142px;\\n  margin-right: 70px;\\n  position: relative;\\n  z-index: 1;\\n}\\n\\n.card-track .card:nth-child(9) {\\n  margin-left: 40px;\\n}\\n\\n.card-track .card:nth-child(1n+9) {\\n  margin-top: 50px;\\n}\\n\\n@media (min-width: 1024px) {\\n  .recommendations {\\n    max-width: 820px;\\n  }\\n  .recommendations .header__title {\\n    border-color: white;\\n    font-size: 3em;\\n  }\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9Vc2Vycy9hbGV4L0Rlc2t0b3Avb2JzY3VyaWZ5My9zcmMvYXBwL3Njc3MvY29tcG9uZW50cy9faGVhZGVyLnNjc3MiLCJzcmMvYXBwL2NvbXBvbmVudHMvcmVjb21tZW5kYXRpb25zL3JlY29tbWVuZGF0aW9ucy5jb21wb25lbnQuc2NzcyIsIi9Vc2Vycy9hbGV4L0Rlc2t0b3Avb2JzY3VyaWZ5My9zcmMvYXBwL2NvbXBvbmVudHMvcmVjb21tZW5kYXRpb25zL3JlY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NpdGlvbjogYWJzb2x1dGU7XG4gICAgICAgIGxlZnQ6IC0xNnB4O1xuICAgICAgICB0b3A6IDE2cHg7XG4gICAgICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgICAgIGZsZXgtd3JhcDogd3JhcDtcbiAgICAgICAgYWxpZ24tY29udGVudDogZmxleC1lbmQ7XG4gICAgICAgIGp1c3RpZnktY29udGVudDogZmxleC1zdGFydDtcbiAgICAgICAgcGFkZGluZzogMTZweCAxNnB4IDhweDtcbiAgICAgICAgdHJhbnNpdGlvbjogLjNzIGN1YmljLWJlemllciguMjUsLjEsLjI1LDEpO1xuICAgICAgICB0b3A6IDUwcHg7XG5cbiAgICAgICAgaDMge1xuICAgICAgICAgIGZvbnQtc2l6ZTogMTRweDtcbiAgICAgICAgICBtYXJnaW46IDA7XG4gICAgICAgICAgd2lkdGg6IDEwMCU7XG4gICAgICAgICAgY29sb3I6ICNmZmY7XG4gICAgICAgIH1cblxuICAgICAgICBwIHtcbiAgICAgICAgICBjb2xvcjogI2ZmZjtcbiAgICAgICAgICBmb250LXNpemU6IDEwcHg7XG4gICAgICAgICAgbWFyZ2luOiAwO1xuICAgICAgICB9XG4gICAgICAgIGEge1xuICAgICAgICAgIHRleHQtZGVjb3JhdGlvbjogbm9uZTtcbiAgICAgICAgICBjb2xvcjogI2ZmZjtcbiAgICAgICAgICBkaXNwbGF5OiBmbGV4O1xuICAgICAgICAgIGZsZXgtd3JhcDogd3JhcDtcbiAgICAgICAgICBhbGlnbi1jb250ZW50OiBmbGV4LWVuZDtcbiAgICAgICAgfVxuICAgICAgfVxuICAgICAgLmNhcmQtY29udGVudCB7XG4gICAgICAgIGJhY2tncm91bmQ6ICNGRkZCRkE7XG4gICAgICAgIHdpZHRoOiAyNTJweDtcbiAgICAgICAgaGVpZ2h0OiAxNDJweDtcbiAgICAgICAgbWFyZ2luLXJpZ2h0OiA3MHB4O1xuICAgICAgICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gICAgICAgIHotaW5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nRcbiAgfVxufSJdfQ== */\");\n\n/***/ }),\n\n/***/ \"./src/app/components/recommendations/recommendations.component.ts\":\n/*!*************************************************************************!*\\\n  !*** ./src/app/components/recommendations/recommendations.component.ts ***!\n  \\*************************************************************************/\n/*! exports provided: RecommendationsComponent */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RecommendationsComponent\", function() { return RecommendationsComponent; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var src_app_services_intersectionObserver__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/app/services/intersectionObserver */ \"./src/app/services/intersectionObserver.ts\");\n/* harmony import */ var src_app_services_infoService__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/app/services/infoService */ \"./src/app/services/infoService.ts\");\n/* harmony import */ var src_app_services_spotifyService__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/app/services/spotifyService */ \"./src/app/services/spotifyService.ts\");\n/* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/platform-browser */ \"./node_modules/@angular/platform-browser/fesm2015/platform-browser.js\");\n/* harmony import */ var _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/material/snack-bar */ \"./node_modules/@angular/material/esm2015/snack-bar.js\");\n\n\n\n\n\n\n\nlet RecommendationsComponent = class RecommendationsComponent {\n    constructor(element, intersectionObserverService, infoSvc, spotifyService, sanitizer, snackBar) {\n        this.element = element;\n        this.intersectionObserverService = intersectionObserverService;\n        this.infoSvc = infoSvc;\n        this.spotifyService = spotifyService;\n        this.sanitizer = sanitizer;\n        this.snackBar = snackBar;\n        this.appColor = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"EventEmitter\"]();\n        this.show = false;\n        this.initialTracks = false;\n    }\n    updateAppBackgroundColor() {\n        this.appColor.emit(5);\n    }\n    ngOnInit() {\n        this.infoSvc.getUserStream().subscribe((user) => {\n            console.log('recommendations');\n            this.user = Object.assign({}, user);\n        });\n    }\n    ngAfterViewInit() {\n        this.intersectionObserverService.init(this.element.nativeElement, {\n            threshold: 0.70\n        });\n        this.intersectionObserverSubs = this.intersectionObserverService\n            .getSubject()\n            .subscribe(el => {\n            if (el.isIntersecting) {\n                this.updateAppBackgroundColor();\n                this.show = true;\n                const config = {\n                    allTimeArtistIDs: this.user.allTimeArtistIDs,\n                    currentArtistsIDs: this.user.currentArtistsIDs,\n                    allTimeTrackIDs: this.user.allTimeTrackIDs,\n                    currentTrackIDs: this.user.currentTrackIDs,\n                    country: this.user.userInfo.country\n                };\n                if (!this.initialTracks) {\n                    this.spotifyService.getRecommendations(config)\n                        .then((data) => {\n                        this.recommendedTracks = data.tracks;\n                        this.initialTracks = true;\n                    })\n                        .catch((err) => {\n                        console.log('Error getting recommended Tracks');\n                    });\n                }\n            }\n            else {\n                this.show = false;\n            }\n        });\n    }\n    refreshTracks() {\n        const config = {\n            allTimeArtistIDs: this.user.allTimeArtistIDs,\n            currentArtistsIDs: this.user.currentArtistsIDs,\n            allTimeTrackIDs: this.user.allTimeTrackIDs,\n            currentTrackIDs: this.user.currentTrackIDs,\n            country: this.user.userInfo.country\n        };\n        this.spotifyService.getRecommendations(config).then((data) => {\n            this.recommendedTracks = data.tracks;\n        }).catch((err) => {\n            console.log('playlist error', err);\n            this.snackBar.open('Server Error. Please Try Again Later.', '', { duration: 5000, panelClass: 'panel-error' });\n        });\n    }\n    makePlaylist() {\n        const config = {\n            userID: this.user.userInfo.id,\n            playlistName: 'Recommended for You // Obscurify',\n            tracks: this.recommendedTracks\n        };\n        this.spotifyService.makePlaylist(config).then((results) => {\n            console.log('playlist', results);\n            this.snackBar.open('Playlist Created in Spotify!', '', { duration: 5000, panelClass: 'panel-success' });\n        }).catch((err) => {\n            console.log('playlist error', err);\n            this.snackBar.open('Server Error. Please Try Again Later.', '', { duration: 5000, panelClass: 'panel-error' });\n        });\n    }\n};\nRecommendationsComponent.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ElementRef\"] },\n    { type: src_app_services_intersectionObserver__WEBPACK_IMPORTED_MODULE_2__[\"default\"] },\n    { type: src_app_services_infoService__WEBPACK_IMPORTED_MODULE_3__[\"InfoService\"] },\n    { type: src_app_services_spotifyService__WEBPACK_IMPORTED_MODULE_4__[\"SpotifyService\"] },\n    { type: _angular_platform_browser__WEBPACK_IMPORTED_MODULE_5__[\"DomSanitizer\"] },\n    { type: _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_6__[\"MatSnackBar\"] }\n];\ntslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Output\"])()\n], RecommendationsComponent.prototype, \"appColor\", void 0);\nRecommendationsComponent = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Component\"])({\n        selector: 'app-recommendations',\n        template: tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(/*! raw-loader!./recommendations.component.html */ \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/recommendations/recommendations.component.html\")).default,\n        providers: [src_app_services_intersectionObserver__WEBPACK_IMPORTED_MODULE_2__[\"default\"]],\n        styles: [tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(/*! ./recommendations.component.scss */ \"./src/app/components/recommendations/recommendations.component.scss\")).default]\n    })\n], RecommendationsComponent);\n\n\n\n/***/ }),\n\n/***/ \"./src/app/components/spotify-auth/spotify-auth.component.ts\":\n/*!*******************************************************************!*\\\n  !*** ./src/app/components/spotify-auth/spotify-auth.component.ts ***!\n  \\*******************************************************************/\n/*! exports provided: SpotifyAuthComponent */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SpotifyAuthComponent\", function() { return SpotifyAuthComponent; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var src_app_services_spotifyAuth__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/app/services/spotifyAuth */ \"./src/app/services/spotifyAuth/index.ts\");\n/* harmony import */ var ngx_cookie_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ngx-cookie-service */ \"./node_modules/ngx-cookie-service/fesm2015/ngx-cookie-service.js\");\n\n\n\n\nlet SpotifyAuthComponent = class SpotifyAuthComponent {\n    constructor(authService, cookieService, tknService) {\n        this.authService = authService;\n        this.cookieService = cookieService;\n        this.tknService = tknService;\n    }\n    ngOnInit() {\n        // Send it back to app home\n        this.authService.authorized();\n    }\n};\nSpotifyAuthComponent.ctorParameters = () => [\n    { type: src_app_services_spotifyAuth__WEBPACK_IMPORTED_MODULE_2__[\"AuthService\"] },\n    { type: ngx_cookie_service__WEBPACK_IMPORTED_MODULE_3__[\"CookieService\"] },\n    { type: src_app_services_spotifyAuth__WEBPACK_IMPORTED_MODULE_2__[\"TokenService\"] }\n];\nSpotifyAuthComponent = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Component\"])({\n        selector: 'app-spotify-auth',\n        template: `<h3>Authorizing&hellip;</h3>`,\n        styles: [\"\"]\n    })\n], SpotifyAuthComponent);\n\n\n\n/***/ }),\n\n/***/ \"./src/app/components/top-genres/top-genres.component.scss\":\n/*!*****************************************************************!*\\\n  !*** ./src/app/components/top-genres/top-genres.component.scss ***!\n  \\*****************************************************************/\n/*! exports provided: default */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\".header__title {\\n  font-size: 3em;\\n  border-bottom: 8px black solid;\\n  width: -webkit-fit-content;\\n  width: -moz-fit-content;\\n  width: fit-content;\\n  padding-bottom: 0.2em;\\n  margin: 0;\\n}\\n\\n.slate {\\n  padding: 2rem 0px;\\n}\\n\\n.genre {\\n  max-width: 1024px;\\n  margin: 0 auto;\\n  opacity: 0;\\n  transition: opacity 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n}\\n\\n.genre__list {\\n  margin-top: 2em;\\n}\\n\\n.genre__card {\\n  background-color: rgba(0, 0, 0, 0.2);\\n  border-radius: 5px;\\n  padding: 1.5em 1.5em;\\n  opacity: 0;\\n  transform: translateY(50px);\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n}\\n\\n.genre__card h3 {\\n  font-size: 2em;\\n}\\n\\n@media (min-width: 1024px) {\\n  .genre__card {\\n    min-width: 636px;\\n  }\\n  .genre__card h3 {\\n    font-size: 3em;\\n  }\\n}\\n\\n.genre.show {\\n  opacity: 1;\\n  transform: translateY(0px);\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n}\\n\\n.genre.show .genre__card {\\n  opacity: 1;\\n  transform: translateY(0px);\\n}\\n\\n.genre.show .genre__card:nth-child(1) {\\n  transition: 0s;\\n}\\n\\n.genre.show {\\n  opacity: 1;\\n  transform: translateY(0px);\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n}\\n\\n.genre.show .genre__card {\\n  opacity: 1;\\n  transform: translateY(0px);\\n}\\n\\n.genre.show .genre__card:nth-child(2) {\\n  transition: 0.3s;\\n}\\n\\n.genre.show {\\n  opacity: 1;\\n  transform: translateY(0px);\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n}\\n\\n.genre.show .genre__card {\\n  opacity: 1;\\n  transform: translateY(0px);\\n}\\n\\n.genre.show .genre__card:nth-child(3) {\\n  transition: 0.6s;\\n}\\n\\n.genre.show {\\n  opacity: 1;\\n  transform: translateY(0px);\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n}\\n\\n.genre.show .genre__card {\\n  opacity: 1;\\n  transform: translateY(0px);\\n}\\n\\n.genre.show .genre__card:nth-child(4) {\\n  transition: 0.9s;\\n}\\n\\n.genre.show {\\n  opacity: 1;\\n  transform: translateY(0px);\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n}\\n\\n.genre.show .genre__card {\\n  opacity: 1;\\n  transform: translateY(0px);\\n}\\n\\n.genre.show .genre__card:nth-child(5) {\\n  transition: 1.2s;\\n}\\n\\n.genre.show {\\n  opacity: 1;\\n  transform: translateY(0px);\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n}\\n\\n.genre.show .genre__card {\\n  opacity: 1;\\n  transform: translateY(0px);\\n}\\n\\n.genre.show .genre__card:nth-child(6) {\\n  transition: 1.5s;\\n}\\n\\n.genre.show {\\n  opacity: 1;\\n  transform: translateY(0px);\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n}\\n\\n.genre.show .genre__card {\\n  opacity: 1;\\n  transform: translateY(0px);\\n}\\n\\n.genre.show .genre__card:nth-child(7) {\\n  transition: 1.8s;\\n}\\n\\n.genre.show {\\n  opacity: 1;\\n  transform: translateY(0px);\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n}\\n\\n.genre.show .genre__card {\\n  opacity: 1;\\n  transform: translateY(0px);\\n}\\n\\n.genre.show .genre__card:nth-child(8) {\\n  transition: 2.1s;\\n}\\n\\n.genre.show {\\n  opacity: 1;\\n  transform: translateY(0px);\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n}\\n\\n.genre.show .genre__card {\\n  opacity: 1;\\n  transform: translateY(0px);\\n}\\n\\n.genre.show .genre__card:nth-child(9) {\\n  transition: 2.4s;\\n}\\n\\n.genre.show {\\n  opacity: 1;\\n  transform: translateY(0px);\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n}\\n\\n.genre.show .genre__card {\\n  opacity: 1;\\n  transform: translateY(0px);\\n}\\n\\n.genre.show .genre__card:nth-child(10) {\\n  transition: 2.7s;\\n}\\n\\n.genre.show {\\n  opacity: 1;\\n  transform: translateY(0px);\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n}\\n\\n.genre.show .genre__card {\\n  opacity: 1;\\n  transform: translateY(0px);\\n}\\n\\n.genre.show .genre__card:nth-child(11) {\\n  transition: 3s;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9Vc2Vycy9hbGV4L0Rlc2t0b3Avb2JzY3VyaWZ5My9zcmMvYXBwL3Njc3MvY29tcG9uZW50cy9faGVhZGVyLnNjc3MiLCJzcmMvYXBwL2NvbXBvbmVudHMvdG9wLWdlbnJlcy90b3AtZ2VucmVzLmNvbXBvbmVudC5zY3NzIiwiL1VzZXJzL2FsZXgvRGVza3RvcC9vYnNjdXJpZnkzL3NyYy9hcHAvY29tcG9uZW50cy90b3AtZ2VucmVzL3RvcC1nZW5yZXMuY29tcG9uZW50LnNjc3MiLCIvVXNlcnMvYWxleC9EZXNrdG9wL29ic2N1cmlmeTMvc3JjL2FwcC9zY3NzL19taXhpbnMuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFSTtFQUNJLGNBQUE7RUFDQSw4QkFBQTtFQUNBLDBCQUFBO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XJkIHtcbiAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogcmdiYSgwLCAwLCAwLCAuMik7XG4gICAgICAgIGJvcmRlci1yYWRpdXM6IDVweDtcbiAgICAgICAgcGFkZGluZzogMS41ZW0gMS41ZW07XG4gICAgICAgIG9wYWNpdHk6IDA7XG4gICAgICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWSg1MHB4KTtcbiAgICAgICAgdHJhbnNpdGlvbjogLjNzIGN1YmljLWJlemllciguMjUsLjEsLjI1LDEpO1xuICAgICAgICBoMyB7XG4gICAgICAgICAgICBmb250LXNpemU6IDJlbTtcbiAgICAgICAgfVxuXG4gICAgfVxuICAgIFxufVxuXG5AaW5jbHVkZSBkZXNrdG9wIHtcblxuICAgIC5nZW5yZSB7XG5cbiAgICAgICAgJl9fY2FyZCB7XG4gICAgICAgICAgICBtaW4td2lkdGg6IDYzNnB4O1xuXG4gICAgICAgICAgICBoMyB7XG4gICAgICAgICAgICAgICAgZm9udC1zaXplOiAzZW07XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbn1cblxuQGZvciAkaSBmcm9tIDAgdGhyb3VnaCAxMCB7XG4gICAgLmdlbnJlLnNob3cge1xuICAgICAgICBvcGFjaXR5OiAxO1xuICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVkoMHB4KTtcbiAgICAgICAgdHJhbnNpdGlvbjogLjNzIGN1YmljLWJlemllciguMjUsLjEsLjI1LDEpO1xuXG4gICAgICAgIC5nZW5yZV9fY2FyZCB7XG4gICAgICAgICAgICBvcGFjaXR5OiAxO1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVZKDBweClcbiAgICAgICAgfVxuICAgICAgICAuZ2VucmVfX2NhcmQ6bnRoLWNoaWxkKCN7JGkgKyAxfSkge1xuICAgICAgICAgICAgdHJhbnNpdGlvbjogIDAuM3MgKiAkaTtcbiAgICAgICAgfVxuICAgIH1cblxuICB9IiwiJHRhYmxldC13aWR0aDogNzY4cHg7XG4kZGVza3RvcC13aWR0aDogMTAyNHB4O1xuXG5AbWl4aW4gdGFibGV0IHtcbiAgQG1lZGlhIChtaW4td2lkdGg6ICN7JHRhYmxldC13aWR0aH0pIGFuZCAobWF4LXdpZHRoOiAjeyRkZXNrdG9wLXdpZHRoIC0gMXB4fSkge1xuICAgIEBjb250ZW50O1xuICB9XG59XG5cbkBtaXhpbiBkZXNrdG9wIHtcbiAgQG1lZGlhIChtaW4td2lkdGg6ICN7JGRlc2t0b3Atd2lkdGh9KSB7XG4gICAgQGNvbnRlbnQ7XG4gIH1cbn1cblxuQG1peGluIGx0LW1kIHtcbiAgQG1lZGlhIHNjcmVlbiBhbmQgKG1heC13aWR0aDogOTU5cHgpIHtcbiAgICBAY29udGVudFxuICB9XG59XG5cbkBtaXhpbiBndC1tZCB7XG4gIEBtZWRpYSBzY3JlZW4gYW5kIChtaW4td2lkdGg6IDk2MHB4KSB7XG4gICAgQGNvbnRlbnRcbiAgfVxufVxuXG5AbWl4aW4gZ3QteHMge1xuICBAbWVkaWEgc2NyZWVuIGFuZCAobWluLXdpZHRoOiA2MDBweCkge1xuICAgIEBjb250ZW50XG4gIH1cbn0iXX0= */\");\n\n/***/ }),\n\n/***/ \"./src/app/components/top-genres/top-genres.component.ts\":\n/*!***************************************************************!*\\\n  !*** ./src/app/components/top-genres/top-genres.component.ts ***!\n  \\***************************************************************/\n/*! exports provided: TopGenresComponent */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TopGenresComponent\", function() { return TopGenresComponent; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var src_app_services_intersectionObserver__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/app/services/intersectionObserver */ \"./src/app/services/intersectionObserver.ts\");\n/* harmony import */ var src_app_services_infoService__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/app/services/infoService */ \"./src/app/services/infoService.ts\");\n\n\n\n\nlet TopGenresComponent = class TopGenresComponent {\n    constructor(element, intersectionObserverService, infoSvc) {\n        this.element = element;\n        this.intersectionObserverService = intersectionObserverService;\n        this.infoSvc = infoSvc;\n        this.appColor = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"EventEmitter\"]();\n        this.items = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];\n        this.show = false;\n        this.genres = [];\n    }\n    updateAppBackgroundColor() {\n        this.appColor.emit(2);\n    }\n    ngOnInit() {\n        this.infoSvc.getUserStream().subscribe((x) => {\n            console.log('User in Genres', x);\n            if (x.topGenres) {\n                console.log('x.genres');\n                const genreArry = x.topGenres.slice(0, 10);\n                console.log(genreArry);\n                this.genres = [...genreArry];\n            }\n        });\n    }\n    ngAfterViewInit() {\n        this.intersectionObserverService.init(this.element.nativeElement, {\n            threshold: 0.20\n        });\n        this.intersectionObserverSubs = this.intersectionObserverService\n            .getSubject()\n            .subscribe(el => {\n            if (el.isIntersecting) {\n                this.updateAppBackgroundColor();\n                this.show = true;\n            }\n            else {\n                this.show = false;\n            }\n        });\n    }\n};\nTopGenresComponent.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ElementRef\"] },\n    { type: src_app_services_intersectionObserver__WEBPACK_IMPORTED_MODULE_2__[\"default\"] },\n    { type: src_app_services_infoService__WEBPACK_IMPORTED_MODULE_3__[\"InfoService\"] }\n];\ntslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Output\"])()\n], TopGenresComponent.prototype, \"appColor\", void 0);\nTopGenresComponent = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Component\"])({\n        selector: 'app-top-genres',\n        template: tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(/*! raw-loader!./top-genres.component.html */ \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/top-genres/top-genres.component.html\")).default,\n        providers: [src_app_services_intersectionObserver__WEBPACK_IMPORTED_MODULE_2__[\"default\"]],\n        styles: [tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(/*! ./top-genres.component.scss */ \"./src/app/components/top-genres/top-genres.component.scss\")).default]\n    })\n], TopGenresComponent);\n\n\n\n/***/ }),\n\n/***/ \"./src/app/services/browserCheck.ts\":\n/*!******************************************!*\\\n  !*** ./src/app/services/browserCheck.ts ***!\n  \\******************************************/\n/*! exports provided: default */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/cdk/platform */ \"./node_modules/@angular/cdk/esm2015/platform.js\");\n\n\n\nlet BrowserCheck = class BrowserCheck {\n    constructor(platform) {\n        this.platform = platform;\n        if (window.screen.width < 1021) {\n            this.isDevice = true;\n        }\n        else {\n            this.isDevice = false;\n        }\n    }\n    checkIfBrowser() {\n        return this.platform.isBrowser;\n    }\n};\nBrowserCheck.ctorParameters = () => [\n    { type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__[\"Platform\"] }\n];\nBrowserCheck = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"])({\n        providedIn: 'root',\n    })\n], BrowserCheck);\n/* harmony default export */ __webpack_exports__[\"default\"] = (BrowserCheck);\n\n\n/***/ }),\n\n/***/ \"./src/app/services/infoService.ts\":\n/*!*****************************************!*\\\n  !*** ./src/app/services/infoService.ts ***!\n  \\*****************************************/\n/*! exports provided: InfoService */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"InfoService\", function() { return InfoService; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ \"./node_modules/rxjs/_esm2015/index.js\");\n/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/router */ \"./node_modules/@angular/router/fesm2015/router.js\");\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ \"./node_modules/rxjs/_esm2015/operators/index.js\");\n/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common/http */ \"./node_modules/@angular/common/fesm2015/http.js\");\n/* harmony import */ var _utilities_obscurityFuncs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utilities/obscurityFuncs */ \"./src/app/utilities/obscurityFuncs.ts\");\n\n\n\n\n\n\n\n\nlet InfoService = class InfoService {\n    constructor(http, router, obscurifyFuncs) {\n        this.http = http;\n        this.router = router;\n        this.obscurifyFuncs = obscurifyFuncs;\n        this.apiUserUrl = 'https://api.spotify.com/v1/me';\n        this.apiAllTimeArtists = 'https://api.spotify.com/v1/me/top/artists?limit=50&time_range=long_term';\n        this.apiCurrentArtists = 'https://api.spotify.com/v1/me/top/artists?limit=50&time_range=short_term';\n        this.apiAllTimeTracks = 'https://api.spotify.com/v1/me/top/tracks?limit=50&time_range=long_term';\n        this.apiCurrentTracks = 'https://api.spotify.com/v1/me/top/tracks?limit=50&time_range=short_term';\n        this.user = {};\n        this.user$ = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"BehaviorSubject\"](this.user);\n    }\n    fetchUserInfo() {\n        return this.http.get(this.apiUserUrl).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"tap\"])((user) => {\n            console.log('user info', user);\n            this.user = Object.assign({}, this.user, { userInfo: user });\n            this.user$.next(this.user);\n        }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"catchError\"])(this.handleError('getSelf')));\n    }\n    fetchAllTimeTracks() {\n        return this.http.get(this.apiAllTimeTracks).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"tap\"])((tracks) => {\n            const allTimeTrackIDs = [];\n            for (const track of tracks.items) {\n                allTimeTrackIDs.push(track.id);\n            }\n            console.log('info service', tracks.items);\n            this.user = Object.assign({}, this.user, { allTimeTracks: tracks.items, allTimeTrackIDs: [...allTimeTrackIDs] });\n            this.user$.next(this.user);\n        }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"catchError\"])(this.handleError('getSelfAlbums')));\n    }\n    fetchCurrentTracks() {\n        return this.http.get(this.apiCurrentTracks).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"tap\"])((tracks) => {\n            const currentTrackIDs = [];\n            for (const track of tracks.items) {\n                currentTrackIDs.push(track.id);\n            }\n            this.user = Object.assign({}, this.user, { currentTracks: tracks.items, currentTrackIDs: [...currentTrackIDs] });\n            this.user$.next(this.user);\n        }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"catchError\"])(this.handleError('getSelfAlbums')));\n    }\n    fetchAllTimeArtists() {\n        return this.http.get(this.apiAllTimeArtists).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"tap\"])((artists) => {\n            let allTimeObscurifyScore = 0;\n            const genres = {};\n            const topGenres = [];\n            const allTimeArtistIDs = [];\n            // Loop Through All Time Artists\n            // Get Obscure Score and Top Genres\n            for (let i = 0; i < artists.items.length; i++) {\n                allTimeObscurifyScore = allTimeObscurifyScore + (50 / artists.items.length) *\n                    Math.floor(artists.items[i].popularity * (1 - i / artists.items.length));\n                allTimeArtistIDs.push(artists.items[i].id);\n                for (let y = 0; y < artists.items[i].genres.length; y++) {\n                    if (genres[artists.items[i].genres[y]] != null) {\n                        genres[artists.items[i].genres[y]] = genres[artists.items[i].genres[y]] + 1;\n                    }\n                    else {\n                        genres[artists.items[i].genres[y]] = 1;\n                    }\n                }\n            }\n            for (const g in genres) {\n                if (genres.hasOwnProperty(g)) {\n                    topGenres.push([g, genres[g]]);\n                }\n            }\n            topGenres.sort(this.obscurifyFuncs.comparator);\n            allTimeObscurifyScore = Math.floor(allTimeObscurifyScore / 10);\n            this.user = Object.assign({}, this.user, { allTimeArtists: artists.items, allTimeObscurifyScore: (allTimeObscurifyScore), topGenres: (topGenres), allTimeArtistIDs: (allTimeArtistIDs) });\n            this.user$.next(this.user);\n        }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"catchError\"])(this.handleError('getSelfAlbums')));\n    }\n    fetchCurrentArtists() {\n        return this.http.get(this.apiCurrentArtists).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"tap\"])((artists) => {\n            let recentObscurifyScore = 0;\n            const currentArtistsIDs = [];\n            for (let i = 0; i < artists.items.length; i++) {\n                currentArtistsIDs.push(artists.items[i]);\n                recentObscurifyScore = recentObscurifyScore + (50 / artists.items.length) *\n                    Math.floor(artists.items[i].popularity * (1 - i / artists.items.length));\n            }\n            recentObscurifyScore = Math.floor(recentObscurifyScore / 10);\n            this.user = Object.assign({}, this.user, { currentArtistsIDs: [...currentArtistsIDs], currentArtists: artists.items, recentObscurifyScore: (recentObscurifyScore) });\n            this.user$.next(this.user);\n        }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"catchError\"])(this.handleError('getSelfAlbums')));\n    }\n    fetchRecommendations() {\n        return this.http.get(this.apiCurrentArtists).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"tap\"])((artists) => {\n            this.user = Object.assign({}, this.user, { currentArtists: artists });\n            this.user$.next(this.user);\n        }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"catchError\"])(this.handleError('getSelfAlbums')));\n    }\n    getUserStream() {\n        return this.user$.asObservable();\n    }\n    handleError(operation = 'operation', result) {\n        return (error) => {\n            result = error;\n            return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(result);\n        };\n    }\n};\nInfoService.ctorParameters = () => [\n    { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_5__[\"HttpClient\"] },\n    { type: _angular_router__WEBPACK_IMPORTED_MODULE_3__[\"Router\"] },\n    { type: _utilities_obscurityFuncs__WEBPACK_IMPORTED_MODULE_6__[\"default\"] }\n];\nInfoService = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"])()\n], InfoService);\n\n\n\n/***/ }),\n\n/***/ \"./src/app/services/intersectionObserver.ts\":\n/*!**************************************************!*\\\n  !*** ./src/app/services/intersectionObserver.ts ***!\n  \\**************************************************/\n/*! exports provided: default */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ \"./node_modules/rxjs/_esm2015/index.js\");\n\n\nclass IntersectionObserverService {\n    constructor() {\n        this.intersectionObserverSubject = new rxjs__WEBPACK_IMPORTED_MODULE_1__[\"Subject\"]();\n    }\n    getSubject() {\n        return this.intersectionObserverSubject;\n    }\n    init(el, options) {\n        const OBS = new IntersectionObserver(entries => {\n            this.intersectionObserverSubject.next(entries[0]);\n        }, options);\n        OBS.observe(el);\n    }\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (IntersectionObserverService);\n\n\n/***/ }),\n\n/***/ \"./src/app/services/obscurifyService.ts\":\n/*!**********************************************!*\\\n  !*** ./src/app/services/obscurifyService.ts ***!\n  \\**********************************************/\n/*! exports provided: ObscurifyService, default */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ObscurifyService\", function() { return ObscurifyService; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common/http */ \"./node_modules/@angular/common/fesm2015/http.js\");\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs */ \"./node_modules/rxjs/_esm2015/index.js\");\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ \"./node_modules/rxjs/_esm2015/operators/index.js\");\n\n\n\n\n\nlet ObscurifyService = class ObscurifyService {\n    constructor(http) {\n        this.http = http;\n        this.obscurifyData = {};\n        this.obscurifyUrl = 'https://ktp0b5os1g.execute-api.us-east-2.amazonaws.com/dev';\n        this.obscurifyData$ = new rxjs__WEBPACK_IMPORTED_MODULE_3__[\"BehaviorSubject\"](this.obscurifyData);\n    }\n    getObscurifyData(countryID, obscurifyScore, recentObscurifyScore) {\n        return this.http.get(this.obscurifyUrl +\n            `/getObscurifyData?code=${countryID}&obscurifyScore=${obscurifyScore}&recentObscurifyScore=${recentObscurifyScore}`, {\n            headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_1__[\"HttpHeaders\"]().set('Authorization', 'asdf')\n        })\n            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"tap\"])((data) => {\n            console.log('user info', data);\n            this.obscurifyData = Object.assign({}, data);\n            this.obscurifyData$.next(this.obscurifyData);\n        }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"catchError\"])(this.handleError('Error')));\n    }\n    handleError(operation = 'operation', result) {\n        return (error) => {\n            result = error;\n            return Object(rxjs__WEBPACK_IMPORTED_MODULE_3__[\"of\"])(result);\n        };\n    }\n};\nObscurifyService.ctorParameters = () => [\n    { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_1__[\"HttpClient\"] }\n];\nObscurifyService = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_2__[\"Injectable\"])()\n], ObscurifyService);\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (ObscurifyService);\n\n\n/***/ }),\n\n/***/ \"./src/app/services/spotifyAuth/index.ts\":\n/*!***********************************************!*\\\n  !*** ./src/app/services/spotifyAuth/index.ts ***!\n  \\***********************************************/\n/*! exports provided: ScopesBuilder, TokenService, AuthService, AuthGuard, SpotifyAuthInterceptor */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _shared_scopes_builder__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./shared/scopes-builder */ \"./src/app/services/spotifyAuth/shared/scopes-builder.ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ScopesBuilder\", function() { return _shared_scopes_builder__WEBPACK_IMPORTED_MODULE_1__[\"ScopesBuilder\"]; });\n\n/* harmony import */ var _service_token_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./service/token.service */ \"./src/app/services/spotifyAuth/service/token.service.ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TokenService\", function() { return _service_token_service__WEBPACK_IMPORTED_MODULE_2__[\"TokenService\"]; });\n\n/* harmony import */ var _service_auth_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./service/auth.service */ \"./src/app/services/spotifyAuth/service/auth.service.ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"AuthService\", function() { return _service_auth_service__WEBPACK_IMPORTED_MODULE_3__[\"AuthService\"]; });\n\n/* harmony import */ var _service_auth_guard__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./service/auth.guard */ \"./src/app/services/spotifyAuth/service/auth.guard.ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"AuthGuard\", function() { return _service_auth_guard__WEBPACK_IMPORTED_MODULE_4__[\"AuthGuard\"]; });\n\n/* harmony import */ var _service_spotify_auth_interceptor__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./service/spotify-auth.interceptor */ \"./src/app/services/spotifyAuth/service/spotify-auth.interceptor.ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SpotifyAuthInterceptor\", function() { return _service_spotify_auth_interceptor__WEBPACK_IMPORTED_MODULE_5__[\"SpotifyAuthInterceptor\"]; });\n\n\n\n\n\n\n\n\n\n/***/ }),\n\n/***/ \"./src/app/services/spotifyAuth/service/auth.guard.ts\":\n/*!************************************************************!*\\\n  !*** ./src/app/services/spotifyAuth/service/auth.guard.ts ***!\n  \\************************************************************/\n/*! exports provided: AuthGuard */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AuthGuard\", function() { return AuthGuard; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var _auth_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./auth.service */ \"./src/app/services/spotifyAuth/service/auth.service.ts\");\n/* harmony import */ var _token_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./token.service */ \"./src/app/services/spotifyAuth/service/token.service.ts\");\n\n\n\n\nlet AuthGuard = class AuthGuard {\n    constructor(authService, tokenSvc) {\n        this.authService = authService;\n        this.tokenSvc = tokenSvc;\n    }\n    canActivate(next, state) {\n        return this.canActivateChild(next, state);\n    }\n    canActivateChild(next, state) {\n        const response = next.queryParams;\n        if (response.spotifyToken && response.obscurifyToken) {\n            this.tokenSvc.setAuthToken(response);\n        }\n        return !!response;\n    }\n};\nAuthGuard.ctorParameters = () => [\n    { type: _auth_service__WEBPACK_IMPORTED_MODULE_2__[\"AuthService\"] },\n    { type: _token_service__WEBPACK_IMPORTED_MODULE_3__[\"TokenService\"] }\n];\nAuthGuard = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"])()\n], AuthGuard);\n\n\n\n/***/ }),\n\n/***/ \"./src/app/services/spotifyAuth/service/auth.service.ts\":\n/*!**************************************************************!*\\\n  !*** ./src/app/services/spotifyAuth/service/auth.service.ts ***!\n  \\**************************************************************/\n/*! exports provided: AuthService */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AuthService\", function() { return AuthService; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ \"./node_modules/rxjs/_esm2015/index.js\");\n/* harmony import */ var ngx_cookie_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ngx-cookie-service */ \"./node_modules/ngx-cookie-service/fesm2015/ngx-cookie-service.js\");\n/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../environments/environment */ \"./src/environments/environment.ts\");\n\n\n\n\n\nlet AuthService = class AuthService {\n    constructor(cookieService) {\n        this.cookieService = cookieService;\n        this.requestAuthUrl = 'https://accounts.spotify.com/authorize';\n        this.authorized$ = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"BehaviorSubject\"](false);\n        this.state = this.generateRandomString();\n        this.authConfig = {\n            client_id: _environments_environment__WEBPACK_IMPORTED_MODULE_4__[\"environment\"].client_id,\n            response_type: 'code',\n            redirect_uri: _environments_environment__WEBPACK_IMPORTED_MODULE_4__[\"environment\"].redirect_uri,\n            state: this.state,\n            show_dialog: false,\n            scope: 'user-read-private user-top-read playlist-modify-public playlist-modify-private'\n        };\n    }\n    generateRandomString() {\n        var text = '';\n        var possible = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';\n        for (var i = 0; i < 16; i++) {\n            text += possible.charAt(Math.floor(Math.random() * possible.length));\n        }\n        return text;\n    }\n    ;\n    authorize() {\n        console.log('authorize()');\n        console.log(this.buildAuthUrl());\n        this.cookieService.set('spotify_auth_state', this.state);\n        window.location.href = this.buildAuthUrl();\n    }\n    // Signal someone, that router can navigate somewhere\n    authorized() {\n        console.log('Called auth');\n        this.authorized$.next(true);\n    }\n    get authorizedStream() {\n        return this.authorized$.asObservable();\n    }\n    configure(config) {\n        // Validate Config\n        this.authConfig = config;\n        return this;\n    }\n    buildAuthUrl() {\n        const params = [];\n        for (const [key, value] of Object.entries(this.authConfig)) {\n            if (typeof (value) === 'object') {\n                params.push(`${key}=${value.join(' ')}`);\n            }\n            else {\n                params.push(`${key}=${value}`);\n            }\n        }\n        return `${this.requestAuthUrl}?${params.join('&')}`;\n    }\n};\nAuthService.ctorParameters = () => [\n    { type: ngx_cookie_service__WEBPACK_IMPORTED_MODULE_3__[\"CookieService\"] }\n];\nAuthService = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"])()\n], AuthService);\n\n\n\n/***/ }),\n\n/***/ \"./src/app/services/spotifyAuth/service/spotify-auth.interceptor.ts\":\n/*!**************************************************************************!*\\\n  !*** ./src/app/services/spotifyAuth/service/spotify-auth.interceptor.ts ***!\n  \\**************************************************************************/\n/*! exports provided: SpotifyAuthInterceptor */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SpotifyAuthInterceptor\", function() { return SpotifyAuthInterceptor; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var _token_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./token.service */ \"./src/app/services/spotifyAuth/service/token.service.ts\");\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ \"./node_modules/rxjs/_esm2015/operators/index.js\");\n\n\n\n\nlet SpotifyAuthInterceptor = class SpotifyAuthInterceptor {\n    constructor(tokenSvc) {\n        this.tokenSvc = tokenSvc;\n    }\n    intercept(req, next) {\n        const authReq = req.clone({ setHeaders: this.tokenSvc.authHeader });\n        return next.handle(authReq).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"tap\"])((event) => { }, this.doOnError));\n    }\n};\nSpotifyAuthInterceptor.ctorParameters = () => [\n    { type: _token_service__WEBPACK_IMPORTED_MODULE_2__[\"TokenService\"] }\n];\nSpotifyAuthInterceptor = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"])()\n], SpotifyAuthInterceptor);\n\n\n\n/***/ }),\n\n/***/ \"./src/app/services/spotifyAuth/service/token.service.ts\":\n/*!***************************************************************!*\\\n  !*** ./src/app/services/spotifyAuth/service/token.service.ts ***!\n  \\***************************************************************/\n/*! exports provided: TokenService */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TokenService\", function() { return TokenService; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ \"./node_modules/rxjs/_esm2015/index.js\");\n/* harmony import */ var ngx_cookie_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ngx-cookie-service */ \"./node_modules/ngx-cookie-service/fesm2015/ngx-cookie-service.js\");\n\n\n\n\nlet TokenService = class TokenService {\n    constructor(cookieService) {\n        this.cookieService = cookieService;\n        this.token = {\n            spotifyToken: '',\n            obscurifyToken: ''\n        };\n        this.token$ = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"BehaviorSubject\"](this.token);\n    }\n    get oAuthToken() {\n        return this.token;\n    }\n    clearToken() {\n        this.token = {\n            spotifyToken: '',\n            obscurifyToken: ''\n        };\n        this.token$.next(this.token);\n    }\n    get authHeader() {\n        return this.token.spotifyToken ? { Authorization: `Bearer ${this.token.spotifyToken}` } : {};\n    }\n    get authTokens() {\n        return this.token$.asObservable();\n    }\n    setAuthTokenCache(tokenCookie) {\n        if (!!tokenCookie) {\n            this.token.spotifyToken = tokenCookie;\n        }\n        else {\n            this.token.spotifyToken = '';\n        }\n        this.token$.next(this.token);\n        return !!this.token;\n    }\n    setAuthToken(spotifyResponse) {\n        if (!!spotifyResponse && !!spotifyResponse.spotifyToken && !!spotifyResponse.obscurifyToken) {\n            console.log('Spotify Repsonse', spotifyResponse);\n            console.log('Spotify Time', spotifyResponse.expires_in);\n            const now = new Date();\n            now.setTime(now.getTime() + 1 * 3600 * 1000);\n            this.cookieService.set('spotifyResponse', spotifyResponse.spotifyToken, now);\n            this.token.spotifyToken = spotifyResponse.spotifyToken;\n            this.token.obscurifyToken = spotifyResponse.obscurifyToken;\n        }\n        else {\n            this.token = {\n                spotifyToken: '',\n                obscurifyToken: ''\n            };\n        }\n        this.token$.next(this.token);\n        return !!this.token;\n    }\n};\nTokenService.ctorParameters = () => [\n    { type: ngx_cookie_service__WEBPACK_IMPORTED_MODULE_3__[\"CookieService\"] }\n];\nTokenService = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"])()\n], TokenService);\n\n\n\n/***/ }),\n\n/***/ \"./src/app/services/spotifyAuth/shared/scopes-builder.ts\":\n/*!***************************************************************!*\\\n  !*** ./src/app/services/spotifyAuth/shared/scopes-builder.ts ***!\n  \\***************************************************************/\n/*! exports provided: ScopesBuilder */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ScopesBuilder\", function() { return ScopesBuilder; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\n\nclass ScopesBuilder {\n    constructor() {\n        this.scopes = [\n            ScopesBuilder.USERS,\n            ScopesBuilder.PLAYLISTS,\n            ScopesBuilder.HISTORY,\n            ScopesBuilder.LIBRARY,\n            ScopesBuilder.CONNECT,\n            ScopesBuilder.FOLLOW,\n            ScopesBuilder.PLAYBACK\n        ];\n    }\n    /**\n     *\n     * @param args [] means no particular scopes or public only\n     */\n    withScopes(...args) {\n        this.scopes = args;\n        return this;\n    }\n    build() {\n        const buffer = [];\n        this.scopes.forEach(scope => {\n            if (typeof (scope) === 'string') {\n                buffer.push(scope);\n            }\n            else {\n                Object.keys(scope).forEach((property) => buffer.push(scope[property]));\n            }\n        });\n        return buffer.join(' ');\n    }\n}\nScopesBuilder.USERS = {\n    READ_PRIVATE: 'user-read-private',\n    READ_EMAIL: 'user-read-email',\n    READ_BIRTHDATE: 'user-read-birthdate'\n};\nScopesBuilder.PLAYLISTS = {\n    READ_PRIVATE: 'playlist-read-private',\n    MODIFY_PRIVATE: 'playlist-modify-private',\n    MODIFY_PPUBLIC: 'playlist-modify-public',\n    READ_COLLABORATIVE: 'playlist-read-collaborative'\n};\nScopesBuilder.HISTORY = {\n    TOP_READ: 'user-top-read',\n    READ_RECENTLY_PLAYED: 'user-read-recently-played'\n};\nScopesBuilder.LIBRARY = {\n    READ: 'user-library-read',\n    MODIFY: 'user-library-modify'\n};\nScopesBuilder.CONNECT = {\n    READ_CURRENTLY_PLAYING: 'user-read-currently-playing',\n    MODIFY_PLAYBACK_STATE: 'user-modify-playback-state',\n    READ_PLAYBACK_STATE: 'user-read-playback-state'\n};\nScopesBuilder.FOLLOW = {\n    READ: 'user-follow-read',\n    MODIFY: 'user-follow-modify'\n};\nScopesBuilder.PLAYBACK = {\n    STREAMING: 'streaming'\n};\n\n\n/***/ }),\n\n/***/ \"./src/app/services/spotifyService.ts\":\n/*!********************************************!*\\\n  !*** ./src/app/services/spotifyService.ts ***!\n  \\********************************************/\n/*! exports provided: SpotifyService */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SpotifyService\", function() { return SpotifyService; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common/http */ \"./node_modules/@angular/common/fesm2015/http.js\");\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/cdk/platform */ \"./node_modules/@angular/cdk/esm2015/platform.js\");\n\n\n\n\nlet SpotifyService = class SpotifyService {\n    constructor(http, platform) {\n        this.http = http;\n        this.platform = platform;\n    }\n    getRecommendations(config) {\n        let url;\n        if (config.allTimeArtistIDs && config.allTimeTrackIDs) {\n            url = 'https://api.spotify.com/v1/recommendations?seed_artists?country=' + ',' +\n                config.allTimeArtistIDs[Math.floor(Math.random() * config.allTimeArtistIDs.length)] +\n                config.currentArtistsIDs[Math.floor(Math.random() * config.currentArtistsIDs.length)] + '&seed_tracks='\n                + config.allTimeTrackIDs[Math.floor(Math.random() * config.allTimeTrackIDs.length)] + ','\n                + config.currentTrackIDs[Math.floor(Math.random() * config.currentTrackIDs.length)]\n                + '&market=' + config.country + '&max_popularity=55' + '&min_popularity=25' + '&limit=16';\n        }\n        else {\n            url = 'https://api.spotify.com/v1/recommendations?seed_artists?country=' + ',' +\n                config.currentArtistsIDs[Math.floor(Math.random() * config.currentArtistsIDs.length)] + '&seed_tracks='\n                + config.currentTrackIDs[Math.floor(Math.random() * config.currentTrackIDs.length)]\n                + '&market=' + config.country + '&max_popularity=55' + '&min_popularity=25' + '&limit=16';\n        }\n        return new Promise((resolve, reject) => {\n            this.http.get(url).subscribe((data) => {\n                resolve(data);\n            }, err => {\n                reject(err);\n            });\n        });\n    }\n    makePlaylist(config) {\n        const { userID, token, playlistName, tracks } = config;\n        const url = 'https://api.spotify.com/v1/users/' + userID + '/playlists';\n        const headers = new _angular_common_http__WEBPACK_IMPORTED_MODULE_1__[\"HttpHeaders\"]()\n            .set('Authorization', 'Bearer ' + token)\n            .set('Accept', 'application/json');\n        const that = this;\n        return new Promise((resolve, reject) => {\n            this.http.post(url, { name: playlistName }, { headers: (headers) }).subscribe((data) => {\n                resolve(data);\n                const uriArray = [];\n                const playlistID = data.id;\n                for (const track of tracks) {\n                    uriArray.push(track.uri);\n                }\n                that.fillPlaylistWithTracks(config, uriArray, playlistID);\n            }, (err) => {\n                reject(err);\n            });\n        });\n    }\n    fillPlaylistWithTracks(config, uriArray, playlistID) {\n        const url = 'https://api.spotify.com/v1/users/' + config.userID + '/playlists/' + playlistID + '/tracks';\n        const headers = new _angular_common_http__WEBPACK_IMPORTED_MODULE_1__[\"HttpHeaders\"]()\n            .set('Authorization', 'Bearer ')\n            .set('Accept', 'application/json');\n        return new Promise((resolve, reject) => {\n            this.http.post(url, { uris: uriArray }, { headers: (headers) }).subscribe((data) => {\n                resolve(data);\n            }, (err) => {\n                reject(err);\n            });\n        });\n    }\n};\nSpotifyService.ctorParameters = () => [\n    { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_1__[\"HttpClient\"] },\n    { type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_3__[\"Platform\"] }\n];\nSpotifyService = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_2__[\"Injectable\"])()\n], SpotifyService);\n\n\n\n/***/ }),\n\n/***/ \"./src/app/utilities/obscurityFuncs.ts\":\n/*!*********************************************!*\\\n  !*** ./src/app/utilities/obscurityFuncs.ts ***!\n  \\*********************************************/\n/*! exports provided: default */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\n\nclass ObscurityFuncs {\n    findRandomGenres(artist) {\n        if (artist.genres.length > 1) {\n            const random1 = Math.floor(Math.random() * artist.genres.length);\n            let random2 = Math.floor(Math.random() * artist.genres.length);\n            while (random1 == random2) {\n                random2 = Math.floor(Math.random() * artist.genres.length);\n            }\n            const returnData = { randomGenre1: artist.genres[random1], randomGenre2: artist.genres[random2] };\n            // check to see if these genres contain the word \"christmas\", if so remove it\n            if (returnData.randomGenre1.indexOf('christmas') > -1) {\n                returnData.randomGenre1 = returnData.randomGenre1.replace('christmas', '');\n            }\n            if (returnData.randomGenre2.indexOf('christmas') > -1) {\n                returnData.randomGenre2 = returnData.randomGenre2.replace('christmas', '');\n            }\n            return returnData;\n        }\n        else if (artist.genres.length == 1) {\n            return { randomGenre1: artist.genres[0], randomGenre2: null };\n        }\n        else {\n            return { randomGenre1: null, randomGenre2: null };\n        }\n    }\n    findStarRating(popularity) {\n        switch (popularity) {\n            case (popularity >= 90):\n                return '★★★★★';\n            case (popularity >= 80):\n                return '★★★★';\n            case (popularity >= 65):\n                return '★★★';\n            case (popularity >= 50):\n                return '★★';\n            case (popularity >= 35):\n                return '★';\n            default:\n                return '';\n        }\n    }\n    comparator(a, b) {\n        if (a[1] > b[1]) {\n            return -1;\n        }\n        if (a[1] < b[1]) {\n            return 1;\n        }\n        return 0;\n    }\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (ObscurityFuncs);\n\n\n/***/ }),\n\n/***/ \"./src/environments/environment.ts\":\n/*!*****************************************!*\\\n  !*** ./src/environments/environment.ts ***!\n  \\*****************************************/\n/*! exports provided: environment */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"environment\", function() { return environment; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\n// This file can be replaced during build by using the `fileReplacements` array.\n// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.\n// The list of file replacements can be found in `angular.json`.\n\nconst environment = {\n    production: false,\n    redirect_uri: 'https://ktp0b5os1g.execute-api.us-east-2.amazonaws.com/dev/callbackLocal',\n    client_id: '31e362f6085c4309a2e1a6d2c0f8d8ec'\n};\n/*\n * For easier debugging in development mode, you can import the following file\n * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.\n *\n * This import should be commented out in production mode because it will have a negative impact\n * on performance if an error is thrown.\n */\n// import 'zone.js/dist/zone-error';  // Included with Angular CLI.\n\n\n/***/ }),\n\n/***/ \"./src/main.ts\":\n/*!*********************!*\\\n  !*** ./src/main.ts ***!\n  \\*********************/\n/*! no exports provided */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var hammerjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! hammerjs */ \"./node_modules/hammerjs/hammer.js\");\n/* harmony import */ var hammerjs__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(hammerjs__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var _angular_platform_browser_dynamic__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/platform-browser-dynamic */ \"./node_modules/@angular/platform-browser-dynamic/fesm2015/platform-browser-dynamic.js\");\n/* harmony import */ var _app_app_module__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./app/app.module */ \"./src/app/app.module.ts\");\n/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./environments/environment */ \"./src/environments/environment.ts\");\n\n\n\n\n\n\nif (_environments_environment__WEBPACK_IMPORTED_MODULE_5__[\"environment\"].production) {\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_2__[\"enableProdMode\"])();\n}\nObject(_angular_platform_browser_dynamic__WEBPACK_IMPORTED_MODULE_3__[\"platformBrowserDynamic\"])().bootstrapModule(_app_app_module__WEBPACK_IMPORTED_MODULE_4__[\"AppModule\"])\n    .catch(err => console.error(err));\n\n\n/***/ }),\n\n/***/ 0:\n/*!***************************!*\\\n  !*** multi ./src/main.ts ***!\n  \\***************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = __webpack_require__(/*! /Users/alex/Desktop/obscurify3/src/main.ts */\"./src/main.ts\");\n\n\n/***/ })\n\n},[[0,\"runtime\",\"vendor\"]]]);"
  },
  {
    "path": "frontend/dist/obscurify3/main-es5.js",
    "content": "function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); }\n\nfunction _iterableToArrayLimit(arr, i) { if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === \"[object Arguments]\")) { return; } var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance\"); }\n\nfunction _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\n(window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || []).push([[\"main\"], {\n  /***/\n  \"./$$_lazy_route_resource lazy recursive\":\n  /*!******************************************************!*\\\n    !*** ./$$_lazy_route_resource lazy namespace object ***!\n    \\******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function $$_lazy_route_resourceLazyRecursive(module, exports) {\n    function webpackEmptyAsyncContext(req) {\n      // Here Promise.resolve().then() is used instead of new Promise() to prevent\n      // uncaught exception popping up in devtools\n      return Promise.resolve().then(function () {\n        var e = new Error(\"Cannot find module '\" + req + \"'\");\n        e.code = 'MODULE_NOT_FOUND';\n        throw e;\n      });\n    }\n\n    webpackEmptyAsyncContext.keys = function () {\n      return [];\n    };\n\n    webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\n    module.exports = webpackEmptyAsyncContext;\n    webpackEmptyAsyncContext.id = \"./$$_lazy_route_resource lazy recursive\";\n    /***/\n  },\n\n  /***/\n  \"./node_modules/raw-loader/dist/cjs.js!./src/app/app.component.html\":\n  /*!**************************************************************************!*\\\n    !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/app.component.html ***!\n    \\**************************************************************************/\n\n  /*! exports provided: default */\n\n  /***/\n  function node_modulesRawLoaderDistCjsJsSrcAppAppComponentHtml(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony default export */\n\n\n    __webpack_exports__[\"default\"] = \"<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\\n<!-- * * * * * * * * * * * The content below * * * * * * * * * * * -->\\n<!-- * * * * * * * * * * is only a placeholder * * * * * * * * * * -->\\n<!-- * * * * * * * * * * and can be replaced. * * * * * * * * * * * -->\\n<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\\n<!-- * * * * * * * * * Delete the template below * * * * * * * * * * -->\\n<!-- * * * * * * * to get started with your project! * * * * * * * * -->\\n<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\\n\\n<!-- <style>\\n  :host {\\n    font-family: -apple-system, BlinkMacSystemFont, \\\"Segoe UI\\\", Roboto, Helvetica, Arial, sans-serif, \\\"Apple Color Emoji\\\", \\\"Segoe UI Emoji\\\", \\\"Segoe UI Symbol\\\";\\n    font-size: 14px;\\n    color: #333;\\n    box-sizing: border-box;\\n    -webkit-font-smoothing: antialiased;\\n    -moz-osx-font-smoothing: grayscale;\\n  }\\n\\n  h1,\\n  h2,\\n  h3,\\n  h4,\\n  h5,\\n  h6 {\\n    margin: 8px 0;\\n  }\\n\\n  p {\\n    margin: 0;\\n  }\\n\\n  .spacer {\\n    flex: 1;\\n  }\\n\\n  .toolbar {\\n    height: 60px;\\n    margin: -8px;\\n    display: flex;\\n    align-items: center;\\n    background-color: #1976d2;\\n    color: white;\\n    font-weight: 600;\\n  }\\n\\n  .toolbar img {\\n    margin: 0 16px;\\n  }\\n\\n  .toolbar #twitter-logo {\\n    height: 40px;\\n    margin: 0 16px;\\n  }\\n\\n  .toolbar #twitter-logo:hover {\\n    opacity: 0.8;\\n  }\\n\\n  .content {\\n    display: flex;\\n    margin: 32px auto;\\n    padding: 0 16px;\\n    max-width: 960px;\\n    flex-direction: column;\\n    align-items: center;\\n  }\\n\\n  svg.material-icons {\\n    height: 24px;\\n    width: auto;\\n  }\\n\\n  svg.material-icons:not(:last-child) {\\n    margin-right: 8px;\\n  }\\n\\n  .card svg.material-icons path {\\n    fill: #888;\\n  }\\n\\n  .card-container {\\n    display: flex;\\n    flex-wrap: wrap;\\n    justify-content: center;\\n    margin-top: 16px;\\n  }\\n\\n  .card {\\n    border-radius: 4px;\\n    border: 1px solid #eee;\\n    background-color: #fafafa;\\n    height: 40px;\\n    width: 200px;\\n    margin: 0 8px 16px;\\n    padding: 16px;\\n    display: flex;\\n    flex-direction: row;\\n    justify-content: center;\\n    align-items: center;\\n    transition: all 0.2s ease-in-out;\\n    line-height: 24px;\\n  }\\n\\n  .card-container .card:not(:last-child) {\\n    margin-right: 0;\\n  }\\n\\n  .card.card-small {\\n    height: 16px;\\n    width: 168px;\\n  }\\n\\n  .card-container .card:not(.highlight-card) {\\n    cursor: pointer;\\n  }\\n\\n  .card-container .card:not(.highlight-card):hover {\\n    transform: translateY(-3px);\\n    box-shadow: 0 4px 17px rgba(black, 0.35);\\n  }\\n\\n  .card-container .card:not(.highlight-card):hover .material-icons path {\\n    fill: rgb(105, 103, 103);\\n  }\\n\\n  .card.highlight-card {\\n    background-color: #1976d2;\\n    color: white;\\n    font-weight: 600;\\n    border: none;\\n    width: auto;\\n    min-width: 30%;\\n    position: relative;\\n  }\\n\\n  .card.card.highlight-card span {\\n    margin-left: 60px;\\n  }\\n\\n  svg#rocket {\\n    width: 80px;\\n    position: absolute;\\n    left: -10px;\\n    top: -24px;\\n  }\\n\\n  svg#rocket-smoke {\\n    height: 100vh;\\n    position: absolute;\\n    top: 10px;\\n    right: 180px;\\n    z-index: -10;\\n  }\\n\\n  a,\\n  a:visited,\\n  a:hover {\\n    color: #1976d2;\\n    text-decoration: none;\\n  }\\n\\n  a:hover {\\n    color: #125699;\\n  }\\n\\n  .terminal {\\n    position: relative;\\n    width: 80%;\\n    max-width: 600px;\\n    border-radius: 6px;\\n    padding-top: 45px;\\n    margin-top: 8px;\\n    overflow: hidden;\\n    background-color: rgb(15, 15, 16);\\n  }\\n\\n  .terminal::before {\\n    content: \\\"\\\\2022 \\\\2022 \\\\2022\\\";\\n    position: absolute;\\n    top: 0;\\n    left: 0;\\n    height: 4px;\\n    background: rgb(58, 58, 58);\\n    color: #c2c3c4;\\n    width: 100%;\\n    font-size: 2rem;\\n    line-height: 0;\\n    padding: 14px 0;\\n    text-indent: 4px;\\n  }\\n\\n  .terminal pre {\\n    font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;\\n    color: white;\\n    padding: 0 1rem 1rem;\\n    margin: 0;\\n  }\\n\\n  .circle-link {\\n    height: 40px;\\n    width: 40px;\\n    border-radius: 40px;\\n    margin: 8px;\\n    background-color: white;\\n    border: 1px solid #eeeeee;\\n    display: flex;\\n    justify-content: center;\\n    align-items: center;\\n    cursor: pointer;\\n    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);\\n    transition: 1s ease-out;\\n  }\\n\\n  .circle-link:hover {\\n    transform: translateY(-0.25rem);\\n    box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.2);\\n  }\\n\\n  footer {\\n    margin-top: 8px;\\n    display: flex;\\n    align-items: center;\\n    line-height: 20px;\\n  }\\n\\n  footer a {\\n    display: flex;\\n    align-items: center;\\n  }\\n\\n  .github-star-badge {\\n    color: #24292e;\\n    display: flex;\\n    align-items: center;\\n    font-size: 12px;\\n    padding: 3px 10px;\\n    border: 1px solid rgba(27,31,35,.2);\\n    border-radius: 3px;\\n    background-image: linear-gradient(-180deg,#fafbfc,#eff3f6 90%);\\n    margin-left: 4px;\\n    font-weight: 600;\\n    font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;\\n  }\\n\\n  .github-star-badge:hover {\\n    background-image: linear-gradient(-180deg,#f0f3f6,#e6ebf1 90%);\\n    border-color: rgba(27,31,35,.35);\\n    background-position: -.5em;\\n  }\\n\\n  .github-star-badge .material-icons {\\n    height: 16px;\\n    width: 16px;\\n    margin-right: 4px;\\n  }\\n\\n  svg#clouds {\\n    position: fixed;\\n    bottom: -160px;\\n    left: -230px;\\n    z-index: -10;\\n    width: 1920px;\\n  }\\n\\n\\n  /* Responsive Styles */\\n  @media screen and (max-width: 767px) {\\n\\n    .card-container > *:not(.circle-link) ,\\n    .terminal {\\n      width: 100%;\\n    }\\n\\n    .card:not(.highlight-card) {\\n      height: 16px;\\n      margin: 8px 0;\\n    }\\n\\n    .card.highlight-card span {\\n      margin-left: 72px;\\n    }\\n\\n    svg#rocket-smoke {\\n      right: 120px;\\n      transform: rotate(-5deg);\\n    }\\n  }\\n\\n  @media screen and (max-width: 575px) {\\n    svg#rocket-smoke {\\n      display: none;\\n      visibility: hidden;\\n    }\\n  }\\n</style> -->\\n\\n\\n<router-outlet></router-outlet>\\n\";\n    /***/\n  },\n\n  /***/\n  \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/about/about.component.html\":\n  /*!*********************************************************************************************!*\\\n    !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/components/about/about.component.html ***!\n    \\*********************************************************************************************/\n\n  /*! exports provided: default */\n\n  /***/\n  function node_modulesRawLoaderDistCjsJsSrcAppComponentsAboutAboutComponentHtml(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony default export */\n\n\n    __webpack_exports__[\"default\"] = \"<main fxLayout=\\\"column\\\">\\n    <section fxFlex=\\\"1 1 100%\\\">\\n        <a class=\\\"back__btn\\\" routerLink=\\\"/login\\\"> <i class=\\\"fas fa-arrow-left\\\"></i> Go back </a>\\n    </section>\\n    <section>\\n        <h2>\\n            About\\n          </h2>\\n          <p>\\n            The goal of Obscurify is to help you better understand your own music taste. It uses\\n            Spotify's <a href=\\\"https://developer.spotify.com/web-api/\\\">Web API</a> to display your listening history, define\\n            your top genres, and to recommend under-the-radar songs you might like.\\n          </p>\\n          <p>\\n            The global popularity ratings of the artists in your lists are aggregated to result in an Obscurity score\\n            which is compared to the Obscurify users in your country to show how unique (or energetic, danceable, and happy) a music taste you have.\\n          </p>\\n          <p>\\n            Obscurify can also make playlists of the music in your track lists and place them in your Spotify library - including the historical snapshots\\n            that are saved when you view your Obscurify profile each month.\\n          </p>\\n\\n          <p>\\n            Background Photo on login page by Photo by MARK S. on Unsplash. \\n          </p>\\n    </section>\\n    \\n    <section>\\n        <h2>F.A.Q.</h2>\\n    \\n        <h3>How is my data used?</h3>\\n        <p>\\n          To use Obscurify, you'll need to allow the app to have access to some of your account information -\\n          that being your username, the country your account is registered to, and the artists/tracks\\n          that appear on your lists.\\n        </p>\\n      \\n        <h3>Where does the artist and track ranking come from?</h3>\\n        <p>\\n        The content and order of your lists come directly from <a href=\\\"https://developer.spotify.com/web-api/\\\">Spotify's API</a>.\\n        Popularity, genres, and musical traits are all determined by Spotify.\\n        </p>\\n      \\n        <h3>Why are there no (or few) results showing up in my All-Time and Current lists?</h3>\\n        <p>\\n        If you listen in Private Mode, those songs will not be recorded and won't be reflected in either list.\\n        If your account is fairly new, it is normal for your All-Time list to be short, as it takes some time for Spotify to update their information.\\n        </p>\\n      \\n        <h3>Some of the genres seem a little off...</h3>\\n        <p>\\n        Spotify can attribute some artists with a few dozen genres. These range from very general (like \\\"rock\\\") to a little\\n        more interesting (like \\\"escape room\\\").\\n        </p>\\n      \\n        <h3>My lists aren't updating</h3>\\n        <p>\\n        There is no defined schedule for when Spotify updates the data in your lists - it's normal for delays, but expect an average of one to two weeks.\\n        </p>\\n      \\n        <h3>I have some other issue (or concern, compliment, maybe a suggestion)</h3>\\n        <p>\\n          I'd like to know about it! <a href=\\\"mailto:oliveroalex@gmail.com\\\">Send me an email!</a>\\n        </p>  \\n    </section>\\n     \\n</main>\\n\";\n    /***/\n  },\n\n  /***/\n  \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/artist/artist-card/artist-card.component.html\":\n  /*!****************************************************************************************************************!*\\\n    !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/components/artist/artist-card/artist-card.component.html ***!\n    \\****************************************************************************************************************/\n\n  /*! exports provided: default */\n\n  /***/\n  function node_modulesRawLoaderDistCjsJsSrcAppComponentsArtistArtistCardArtistCardComponentHtml(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony default export */\n\n\n    __webpack_exports__[\"default\"] = \"<div class=\\\"artist__card\\\" [ngClass]=\\\"{'active': activeView}\\\">\\n    <img [src]=\\\"artist.images[1].url\\\" />\\n    <div class=\\\"artist__card__info\\\">\\n        <div fxLayout=\\\"row\\\" fxLayoutAlign=\\\"flex-start start\\\">\\n            <span fxFlex=\\\"0 0 auto\\\"> {{ i + 1 }} /</span> \\n\\n            <div fxLayout=\\\"column\\\" fxFlex=\\\"1 1 auto\\\" fxLayoutAlign=\\\"center start\\\">\\n                <p class=\\\"artist__card__info--primary\\\">\\n                    {{(artist.name.length < 20) ? (artist.name):(artist.name | slice:0:20)+'...' }}\\n                </p>\\n                <p *ngIf=\\\"activeView\\\" class=\\\"artist__card__info--secondary\\\">\\n                    {{ artist.genres[0] }}, {{ artist.genres[1] }}\\n                </p>\\n            </div>\\n            <a class=\\\"artist__card__external\\\" [href]=\\\"this.sanitizer.bypassSecurityTrustResourceUrl(artist.uri)\\\" *ngIf=\\\"activeView\\\" fxFlex=\\\"0 1 auto\\\"><i class=\\\"fas fa-external-link-alt\\\"></i></a>\\n        </div>\\n\\n        <div *ngIf=\\\"activeView\\\">\\n            <button >More Like This</button>\\n        </div>\\n\\n\\n    </div>\\n</div>\";\n    /***/\n  },\n\n  /***/\n  \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/artist/artist-list/artist-list.component.html\":\n  /*!****************************************************************************************************************!*\\\n    !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/components/artist/artist-list/artist-list.component.html ***!\n    \\****************************************************************************************************************/\n\n  /*! exports provided: default */\n\n  /***/\n  function node_modulesRawLoaderDistCjsJsSrcAppComponentsArtistArtistListArtistListComponentHtml(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony default export */\n\n\n    __webpack_exports__[\"default\"] = \"<div class=\\\"artist\\\">\\n    <div class=\\\"header\\\">\\n        <h2 class=\\\"header__title\\\">\\n            {{ this.navState.selectedHistory.name }} Top {{ navState.listType}}\\n        </h2>\\n    </div>\\n\\n    <div  class=\\\"artist__container\\\" fxlayout=\\\"column\\\" fxLayout.gt-sm=\\\"row\\\">\\n        <div fxLayout=\\\"column\\\">   \\n            <div *ngIf=\\\"this.navState.selectedHistory.value == 'allTime' && this.navState.listType === 'artists'\\\" \\n                class=\\\"artist__container__grid\\\" \\n                fxFLex=\\\"100%\\\" \\n                fxLayout.gt-xs=\\\"row wrap\\\" \\n                fxLayout=\\\"column nowrap\\\" \\n                fxLayoutGap=\\\"16px\\\">\\n\\n                    <app-artist-card [artist]=\\\"artist\\\" [i]=\\\"i\\\" *ngFor=\\\"let artist of allTimeArtists | slice:0:sliceLimit; let i = index\\\"></app-artist-card>\\n\\n            </div>\\n            <div *ngIf=\\\"this.navState.selectedHistory.value == 'current'  && this.navState.listType === 'artists'\\\"\\n                class=\\\"artist__container__grid\\\" \\n                fxFLex=\\\"100%\\\" \\n                fxLayout.gt-xs=\\\"row wrap\\\" \\n                fxLayout=\\\"column nowrap\\\" \\n                fxLayoutGap=\\\"16px\\\"> \\n\\n                <app-artist-card [artist]=\\\"artist\\\" [i]=\\\"i\\\" *ngFor=\\\"let artist of currentArtists | slice:0:sliceLimit; let i = index\\\"></app-artist-card>\\n\\n            </div>\\n\\n            <div *ngIf=\\\"this.navState.selectedHistory.value == 'allTime' && this.navState.listType === 'songs'\\\" \\n            class=\\\"artist__container__grid\\\" \\n            fxFLex=\\\"100%\\\" \\n            fxLayout.gt-xs=\\\"row wrap\\\" \\n            fxLayout=\\\"column nowrap\\\" \\n            fxLayoutGap=\\\"16px\\\">\\n\\n                <app-track-card [track]=\\\"track\\\" [i]=\\\"i\\\" *ngFor=\\\"let track of allTimeTracks | slice:0:sliceLimit; let i = index\\\"></app-track-card>\\n\\n        </div>\\n        <div *ngIf=\\\"this.navState.selectedHistory.value == 'current' && this.navState.listType === 'songs'\\\"\\n            class=\\\"artist__container__grid\\\" \\n            fxFLex=\\\"100%\\\" \\n            fxLayout.gt-xs=\\\"row wrap\\\" \\n            fxLayout=\\\"column nowrap\\\" \\n            fxLayoutGap=\\\"16px\\\"> \\n\\n            <app-track-card [track]=\\\"track\\\" [i]=\\\"i\\\" *ngFor=\\\"let track of currentTracks | slice:0:sliceLimit; let i = index\\\"></app-track-card>\\n\\n        </div>\\n\\n            <div fxLayoutAlign=\\\"center center\\\">\\n                <button *ngIf=\\\"this.sliceLimit === 10\\\" class=\\\"artist__button artist__button--primary\\\" (click)=\\\"showMore()\\\">Show More</button>\\n                <button *ngIf=\\\"this.sliceLimit === 50\\\" class=\\\"artist__button artist__button--primary\\\" (click)=\\\"showLess()\\\">Show Less</button>\\n\\n            </div>\\n        </div>\\n\\n\\n        <div fxFlex.gt-sm=\\\"30%\\\">\\n            <app-artist-nav *ngIf=\\\"showNav\\\" [navState]=\\\"navState\\\" (createPlaylist)=\\\"createPlaylist($event)\\\" (updateHistory)=\\\"getHistory($event)\\\"></app-artist-nav>\\n        </div>\\n    </div>\\n</div>\";\n    /***/\n  },\n\n  /***/\n  \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/artist/artist-nav/artist-nav.component.html\":\n  /*!**************************************************************************************************************!*\\\n    !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/components/artist/artist-nav/artist-nav.component.html ***!\n    \\**************************************************************************************************************/\n\n  /*! exports provided: default */\n\n  /***/\n  function node_modulesRawLoaderDistCjsJsSrcAppComponentsArtistArtistNavArtistNavComponentHtml(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony default export */\n\n\n    __webpack_exports__[\"default\"] = \"<div class=\\\"artist__nav\\\" [ngClass]=\\\"{'active': navOpen}\\\">\\n    <div class=\\\"artist__nav__container\\\">\\n\\n        <div class=\\\"artist__nav__mobile\\\">\\n            <button (click)=\\\"navOpen = !navOpen\\\">\\n                <span>Options</span> <i class=\\\"fas fa-chevron-up\\\"></i>\\n            </button>\\n        </div>\\n        <div class=\\\"artist__nav__content\\\">\\n            <h2>Select</h2>\\n            <div class=\\\"artist__nav__main\\\" fxLayout=\\\"row\\\" fxLayoutAlign=\\\"flex-start start\\\">\\n                <button class=\\\"artist__nav__button\\\" [ngClass]=\\\"{'active': navState.listType === 'artists'}\\\" (click)=\\\"updateArtistTrack('artists')\\\">Artists</button>\\n                <button class=\\\"artist__nav__button\\\" [ngClass]=\\\"{'active': navState.listType === 'songs'}\\\" (click)=\\\"updateArtistTrack('songs')\\\">Songs</button>\\n            </div>\\n            <div class=\\\"artist__nav__history\\\">\\n                <h3> View History </h3>\\n    \\n                <mat-radio-group\\n                    aria-labelledby=\\\"select history date\\\"\\n                    class=\\\"artist__nav__history--select\\\"\\n                    [(ngModel)]=\\\"selectedHistory\\\"\\n                    fxLayout=\\\"column\\\"\\n                    (change)=\\\"getRadioValue($event)\\\"\\n                    [required]=\\\"true\\\">\\n                <mat-radio-button class=\\\"select__item\\\" \\n                    *ngFor=\\\"let date of historyList\\\" \\n                    [value]=\\\"date\\\"\\n                    >\\n                    {{ date.name }}\\n                </mat-radio-button>\\n            </mat-radio-group>\\n            </div>\\n    \\n            <div class=\\\"artist__nav__playlist\\\" fxLayout=\\\"row\\\" fxLayoutAlign=\\\"center\\\">\\n                <button \\n                    class=\\\"artist__nav__button\\\" \\n                    (click)=\\\"emitCreatePlaylist()\\\">\\n                    <i class=\\\"fas fa-plus-circle\\\"></i>Create Playlist\\n                </button>\\n            </div>\\n        </div>\\n        \\n    </div>\\n</div>\";\n    /***/\n  },\n\n  /***/\n  \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/artist/track-card/track-card.component.html\":\n  /*!**************************************************************************************************************!*\\\n    !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/components/artist/track-card/track-card.component.html ***!\n    \\**************************************************************************************************************/\n\n  /*! exports provided: default */\n\n  /***/\n  function node_modulesRawLoaderDistCjsJsSrcAppComponentsArtistTrackCardTrackCardComponentHtml(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony default export */\n\n\n    __webpack_exports__[\"default\"] = \"<div class=\\\"artist__card\\\" [ngClass]=\\\"{'active': activeView}\\\">\\n\\n    <img [src]=\\\"track.album.images[1].url\\\" />\\n    \\n    <div class=\\\"artist__card__info\\\">\\n        <div fxLayout=\\\"row\\\" fxLayoutAlign=\\\"flex-start start\\\">\\n            <span fxFlex=\\\"0 1 auto\\\"> {{ i + 1 }} </span> /\\n\\n            <div fxLayout=\\\"column\\\" fxFlex=\\\"1 1 auto\\\" fxLayoutAlign=\\\"center start\\\">\\n                <p class=\\\"artist__card__info--primary\\\">\\n                    {{(track.name.length < 20) ? (track.name):(track.name | slice:0:20)+'...' }}\\n                </p>\\n                <p *ngIf=\\\"activeView\\\" class=\\\"artist__card__info--secondary\\\">\\n                    {{ track.artists[0].name }}\\n                </p>\\n            </div>\\n            <a class=\\\"artist__card__external\\\" [href]=\\\"this.sanitizer.bypassSecurityTrustResourceUrl(track.uri)\\\" *ngIf=\\\"activeView\\\" fxFlex=\\\"0 1 auto\\\"><i class=\\\"fas fa-external-link-alt\\\"></i></a>\\n        </div>\\n\\n        <div *ngIf=\\\"activeView\\\">\\n            <button >More Like This</button>\\n        </div>\\n\\n\\n    </div>\\n</div>\";\n    /***/\n  },\n\n  /***/\n  \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/footer/footer.component.html\":\n  /*!***********************************************************************************************!*\\\n    !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/components/footer/footer.component.html ***!\n    \\***********************************************************************************************/\n\n  /*! exports provided: default */\n\n  /***/\n  function node_modulesRawLoaderDistCjsJsSrcAppComponentsFooterFooterComponentHtml(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony default export */\n\n\n    __webpack_exports__[\"default\"] = \"<footer fxflex=\\\"\\\">\\n    <div class=\\\"footer__links\\\" fxLayout=\\\"column nowrap\\\">\\n        <a routerLink=\\\"/about\\\"> About</a>\\n        <a (click)=\\\"login()\\\" *ngIf=\\\"login\\\">Login</a>\\n        <a (click)=\\\"login()\\\" *ngIf=\\\"!login\\\"> Log Out</a>\\n    </div>\\n\\n    <div class=\\\"social__links\\\">\\n\\n\\n    </div>\\n</footer>\";\n    /***/\n  },\n\n  /***/\n  \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/home/home.component.html\":\n  /*!*******************************************************************************************!*\\\n    !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/components/home/home.component.html ***!\n    \\*******************************************************************************************/\n\n  /*! exports provided: default */\n\n  /***/\n  function node_modulesRawLoaderDistCjsJsSrcAppComponentsHomeHomeComponentHtml(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony default export */\n\n\n    __webpack_exports__[\"default\"] = \"\\n<div class=\\\"app\\\" [ngStyle]=\\\"{'background-color': this.bgColor}\\\">\\n    <app-intro (appColor)=\\\"setColor($event)\\\"></app-intro>\\n    <app-top-genres (appColor)=\\\"setColor($event)\\\"></app-top-genres>\\n    <app-obscurity-rating (appColor)=\\\"setColor($event)\\\"></app-obscurity-rating> \\n    <app-artist-list (appColor)=\\\"setColor($event)\\\"></app-artist-list>\\n    <app-moods-graph (appColor)=\\\"setColor($event)\\\"></app-moods-graph>\\n    <app-recommendations (appColor)=\\\"setColor($event)\\\"></app-recommendations>    \\n</div>\\n\\n<app-footer [login]=\\\"false\\\"></app-footer>\\n\\n\";\n    /***/\n  },\n\n  /***/\n  \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/intro/intro.component.html\":\n  /*!*********************************************************************************************!*\\\n    !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/components/intro/intro.component.html ***!\n    \\*********************************************************************************************/\n\n  /*! exports provided: default */\n\n  /***/\n  function node_modulesRawLoaderDistCjsJsSrcAppComponentsIntroIntroComponentHtml(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony default export */\n\n\n    __webpack_exports__[\"default\"] = \"<nav>\\n    <div fxLayout=\\\"row\\\" fxLayoutAlign=\\\"end start\\\">\\n        <button [matMenuTriggerFor]=\\\"appMenu\\\"> Settings <i class=\\\"fas fa-cog\\\"> </i> </button>\\n    </div>\\n\\n    <mat-menu #appMenu=\\\"matMenu\\\">\\n        <button mat-menu-item>Logout</button>\\n        <button mat-menu-item>About</button>\\n        <a  mat-menu-item href=\\\"https://www.spotify.com/us/account/apps/\\\">Remove Obscurify Account</a>\\n      </mat-menu>\\n</nav>\\n\\n<div class=\\\"welcome\\\" fxLayout=\\\"column\\\" fxLayoutAlign=\\\"center center\\\">\\n    <h1>Welcome to <br /> Obscurify<span>.</span></h1>\\n</div>\\n\\n<div class=\\\"profile\\\" fxLayout=\\\"column\\\" fxLayoutAlign=\\\"center center\\\">\\n    <div class=\\\"profile__image\\\">\\n        <img [src]=\\\"this.userImage ? this.userImage : 'assets/images/app/profile-placeholder.png'\\\"/>\\n    </div>\\n    <h1 class=\\\"profile__header\\\">Hello, <span>{{ userName }}</span>. Let's see how obscure your taste is...</h1>\\n</div>\\n\";\n    /***/\n  },\n\n  /***/\n  \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/login/login.component.html\":\n  /*!*********************************************************************************************!*\\\n    !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/components/login/login.component.html ***!\n    \\*********************************************************************************************/\n\n  /*! exports provided: default */\n\n  /***/\n  function node_modulesRawLoaderDistCjsJsSrcAppComponentsLoginLoginComponentHtml(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony default export */\n\n\n    __webpack_exports__[\"default\"] = \"<main>\\n    <div class=\\\"login__container\\\">\\n        <h1>Obscurify<span>.</span></h1>\\n\\n        <p>Learn more about your music taste and compare it to others' with Obscurify.</p>\\n\\n        <div class=\\\"login\\\">\\n            <a (click)=\\\"login($event)\\\" class=\\\"login__btn\\\">\\n                Log in with Spotify\\n            </a>\\n        </div>\\n\\n      </div>\\n</main>\\n\\n<app-footer [login]=\\\"true\\\"></app-footer>\\n\";\n    /***/\n  },\n\n  /***/\n  \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/moods-graph/moods-graph.component.html\":\n  /*!*********************************************************************************************************!*\\\n    !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/components/moods-graph/moods-graph.component.html ***!\n    \\*********************************************************************************************************/\n\n  /*! exports provided: default */\n\n  /***/\n  function node_modulesRawLoaderDistCjsJsSrcAppComponentsMoodsGraphMoodsGraphComponentHtml(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony default export */\n\n\n    __webpack_exports__[\"default\"] = \"<div class=\\\"slate\\\" >\\n    <div class=\\\"moods-graph\\\" [ngClass]=\\\"{'show': this.show}\\\">\\n        <div class=\\\"header\\\">\\n            <h2 class=\\\"header__title\\\">\\n                Your Moods\\n            </h2>\\n        </div>\\n        \\n        <div class=\\\"moods-graph__container\\\">\\n            <div class=\\\"moods-graph__content\\\">\\n                <h3>Happiness</h3>\\n\\n                <div class=\\\"moods-graph__card\\\">\\n                    <div class=\\\"moods-graph__card__container\\\">\\n                        <p class=\\\"moods-graph__card__header\\\">All Time</p>\\n                        <p class=\\\"moods-graph__card__paragraph\\\">2.4% Lower than U.S Average</p>\\n                    </div>\\n\\n                    <div class=\\\"moods-graph__card__container\\\">\\n                        <div class=\\\"equalizer-container level-one\\\">\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                        </div>\\n                    </div>\\n                    \\n                </div>\\n\\n                <div class=\\\"moods-graph__card moods-graph__card--reverse\\\">\\n                    <div class=\\\"moods-graph__card__container\\\">\\n                        <p class=\\\"moods-graph__card__header\\\">All Time</p>\\n                        <p class=\\\"moods-graph__card__paragraph\\\">2.4% Lower than U.S Average</p>\\n                    </div>\\n\\n                    <div class=\\\"moods-graph__card__container\\\">\\n                        <div class=\\\"equalizer-container level-one\\\">\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                        </div>\\n                    </div>\\n                    \\n                </div>\\n            </div>\\n        </div>\\n\\n        <div class=\\\"moods-graph__container moods-graph__container--right\\\">\\n            <div class=\\\"moods-graph__content\\\">\\n                <h3>Danceability</h3>\\n\\n                <div class=\\\"moods-graph__card\\\">\\n                    <div class=\\\"moods-graph__card__container\\\">\\n                        <p class=\\\"moods-graph__card__header\\\">All Time</p>\\n                        <p class=\\\"moods-graph__card__paragraph\\\">2.4% Lower than U.S Average</p>\\n                    </div>\\n\\n                    <div class=\\\"moods-graph__card__container\\\">\\n                        <div class=\\\"equalizer-container level-one\\\">\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                        </div>\\n                    </div>\\n                    \\n                </div>\\n\\n                <div class=\\\"moods-graph__card moods-graph__card--reverse\\\">\\n                    <div class=\\\"moods-graph__card__container\\\">\\n                        <p class=\\\"moods-graph__card__header\\\">All Time</p>\\n                        <p class=\\\"moods-graph__card__paragraph\\\">2.4% Lower than U.S Average</p>\\n                    </div>\\n\\n                    <div class=\\\"moods-graph__card__container\\\">\\n                        <div class=\\\"equalizer-container level-one\\\">\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                            <div class=\\\"bar\\\"></div>\\n                        </div>\\n                    </div>\\n                    \\n                </div>\\n            </div>\\n        </div>\\n\\n        \\n    </div>\\n</div>\";\n    /***/\n  },\n\n  /***/\n  \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/obscurity-graph/obscurity-graph.component.html\":\n  /*!*****************************************************************************************************************!*\\\n    !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/components/obscurity-graph/obscurity-graph.component.html ***!\n    \\*****************************************************************************************************************/\n\n  /*! exports provided: default */\n\n  /***/\n  function node_modulesRawLoaderDistCjsJsSrcAppComponentsObscurityGraphObscurityGraphComponentHtml(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony default export */\n\n\n    __webpack_exports__[\"default\"] = \"<div fxLayout=\\\"row\\\" fxLayoutAlign=\\\"end center\\\">\\n    <div class=\\\"obscurity__graph\\\" fxLayout=\\\"column\\\" fxLayoutAlign=\\\"center center\\\" fxFlexAlign=\\\"end\\\">\\n            <div class=\\\"obscurity__graph__container\\\" fxFlexOffset=\\\"5%\\\">\\n                <div class=\\\"obscurity__avg-bar\\\" style=\\\"height: 20px;\\\" #globalAvgBar [ngClass]=\\\"{'active': barActive}\\\">\\n                    <p class=\\\"bar-value\\\">100</p>\\n                    <p class=\\\"bar-title\\\">Global Avg</p>\\n                </div>\\n                <div class=\\\"obscurity__avg-bar\\\" style=\\\"height: 20px;\\\" #countryAvgBar [ngClass]=\\\"{'active': barActive}\\\">\\n                    <p class=\\\"bar-value\\\">100</p>\\n                    <!-- <p class=\\\"bar-title\\\">{{data.label}} Avg</p> -->\\n                    <p class=\\\"bar-title\\\">Avg</p> \\n                </div>\\n                <div class=\\\"obscurity__avg-bar\\\" style=\\\"height: 20px;\\\" #allTimeBar [ngClass]=\\\"{'active': barActive}\\\">\\n                    <p class=\\\"bar-value\\\">100</p>\\n                    <p class=\\\"bar-title\\\">My All-Time</p>\\n                </div>\\n                \\n                <div class=\\\"obscurity__avg-bar\\\" style=\\\"height: 20px;\\\" #recentBar [ngClass]=\\\"{'active': barActive}\\\">\\n                    <p class=\\\"bar-value\\\">100</p>\\n                    <p class=\\\"bar-title\\\">My Recent</p>\\n                </div>\\n            </div>\\n            <div class=\\\"obscurity__graph__info\\\">\\n                <p>The lower your score, the more obscure your music taste is. The higher, the more relatable.</p>\\n                <!-- <p class=\\\"graph-info\\\">Global Average is based on {{ data.userCount | number }} Obscurify users.</p> -->\\n            </div>\\n        </div>\\n</div>\\n\\n    \";\n    /***/\n  },\n\n  /***/\n  \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/obscurity-rating/obscurity-rating.component.html\":\n  /*!*******************************************************************************************************************!*\\\n    !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/components/obscurity-rating/obscurity-rating.component.html ***!\n    \\*******************************************************************************************************************/\n\n  /*! exports provided: default */\n\n  /***/\n  function node_modulesRawLoaderDistCjsJsSrcAppComponentsObscurityRatingObscurityRatingComponentHtml(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony default export */\n\n\n    __webpack_exports__[\"default\"] = \"\\n<div class=\\\"slate\\\">\\n    <div class=\\\"obscurity\\\" [ngClass]=\\\"{'show': this.show}\\\">\\n\\n        <div class=\\\"header\\\">\\n            <h2 class=\\\"header__title\\\">\\n                Obscurity Rating\\n            </h2>\\n        </div>\\n\\n        <div class=\\\"percentile\\\">\\n            <div class=\\\"percentile__card\\\">\\n                <!-- <h2>{{this.data.percentileByCountry}}%</h2> -->\\n                <h2>80%</h2>\\n\\n                <p>Your music is more obscure than\\n                    <strong>80%</strong>\\n                    of 300000 US users on Obscurify.\\n                </p>\\n\\n                <!-- <p>Your music is more obscure than\\n                    <strong>{{this.data.percentileByCountry}}%</strong>\\n                    of {{this.data.userCountByCountry | number}} {{this.data.label}} users on Obscurify.\\n                </p> -->\\n            </div>\\n        \\n        </div>\\n\\n        <app-obscurity-graph>\\n            \\n        </app-obscurity-graph>\\n        \\n\\n        \\n    </div>\\n</div>\";\n    /***/\n  },\n\n  /***/\n  \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/recommendations/recommendations.component.html\":\n  /*!*****************************************************************************************************************!*\\\n    !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/components/recommendations/recommendations.component.html ***!\n    \\*****************************************************************************************************************/\n\n  /*! exports provided: default */\n\n  /***/\n  function node_modulesRawLoaderDistCjsJsSrcAppComponentsRecommendationsRecommendationsComponentHtml(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony default export */\n\n\n    __webpack_exports__[\"default\"] = \"<div class=\\\"slate\\\">\\n    <div class=\\\"recommendations\\\" [ngClass]=\\\"{'show': this.show}\\\">\\n        <div class=\\\"header\\\">\\n            <h2 class=\\\"header__title\\\">\\n                Recommendations\\n            </h2>\\n        </div>\\n        <div class=\\\"recommendations__content\\\">\\n            <div class=\\\"recommendations__container\\\">\\n                <!-- <button id=\\\"filter-btn\\\" class=\\\"filter-btn\\\" (click)=\\\"toggleFilter()\\\">\\n                  <i class=\\\"fas fa-sliders-h\\\"></i>\\n                </button> -->\\n\\n                <button class=\\\"refresh-btn\\\" (click)=\\\"refreshTracks()\\\">\\n                  <span>Refresh</span>\\n                  <i class=\\\"fas fa-sync\\\"></i>\\n                </button>\\n          \\n                <button class=\\\"add-playlist-btn\\\" (click)=\\\"makePlaylist()\\\">\\n                  <span>Create Playlist</span>\\n                  <i class=\\\"fas fa-plus-circle\\\"></i>\\n                </button>\\n                <div class=\\\"track-container\\\">\\n                  <div class=\\\"card-track\\\">\\n                    <div class=\\\"card\\\" *ngFor=\\\"let track of recommendedTracks\\\">\\n                      <div class=\\\"card-content\\\">\\n                          <img item-start [src]=\\\"track.album.images[1].url\\\">\\n                      </div>\\n                      <div class=\\\"card-info\\\">\\n                        <a [href]=\\\"this.sanitizer.bypassSecurityTrustResourceUrl(track.uri)\\\">\\n                          <h3>\\n                            {{ (track.name.length < 30) ? (track.name):(track.name | slice:0:25)+'...' }}\\n                          </h3>\\n                          <p>\\n                            {{ track.artists[0].name }}\\n                          </p>\\n                        </a>\\n                      </div>\\n                    </div>\\n                  </div>\\n                </div>\\n              </div>\\n        </div>\\n\\n\\n    </div>\\n</div>\";\n    /***/\n  },\n\n  /***/\n  \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/top-genres/top-genres.component.html\":\n  /*!*******************************************************************************************************!*\\\n    !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/components/top-genres/top-genres.component.html ***!\n    \\*******************************************************************************************************/\n\n  /*! exports provided: default */\n\n  /***/\n  function node_modulesRawLoaderDistCjsJsSrcAppComponentsTopGenresTopGenresComponentHtml(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony default export */\n\n\n    __webpack_exports__[\"default\"] = \"<div class=\\\"slate\\\" *ngIf=\\\"genres\\\">\\n    <div class=\\\"genre\\\" [ngClass]=\\\"{'show': show}\\\">\\n        <div class=\\\"header\\\">\\n            <h2 class=\\\"header__title\\\">\\n                Top Genres\\n            </h2>\\n        </div>\\n\\n        <div class=\\\"genre__list\\\" fxLayout=\\\"column\\\" fxLayoutAlign=\\\"start stretch\\\" fxLayoutGap=\\\"1em\\\">\\n            <div class=\\\"genre__card genre__card--{{i}}\\\" fxFlex=\\\"1 1 100%\\\" *ngFor=\\\"let item of genres; let i = index\\\">\\n                <h3>{{ i + 1 }} / {{ item[0] }}</h3>\\n            </div>\\n\\n            \\n        </div>\\n    </div>\\n</div>\";\n    /***/\n  },\n\n  /***/\n  \"./node_modules/tslib/tslib.es6.js\":\n  /*!*****************************************!*\\\n    !*** ./node_modules/tslib/tslib.es6.js ***!\n    \\*****************************************/\n\n  /*! exports provided: __extends, __assign, __rest, __decorate, __param, __metadata, __awaiter, __generator, __exportStar, __values, __read, __spread, __spreadArrays, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault */\n\n  /***/\n  function node_modulesTslibTslibEs6Js(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"__extends\", function () {\n      return __extends;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"__assign\", function () {\n      return _assign;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"__rest\", function () {\n      return __rest;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"__decorate\", function () {\n      return __decorate;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"__param\", function () {\n      return __param;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"__metadata\", function () {\n      return __metadata;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"__awaiter\", function () {\n      return __awaiter;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"__generator\", function () {\n      return __generator;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"__exportStar\", function () {\n      return __exportStar;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"__values\", function () {\n      return __values;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"__read\", function () {\n      return __read;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"__spread\", function () {\n      return __spread;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"__spreadArrays\", function () {\n      return __spreadArrays;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"__await\", function () {\n      return __await;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"__asyncGenerator\", function () {\n      return __asyncGenerator;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"__asyncDelegator\", function () {\n      return __asyncDelegator;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"__asyncValues\", function () {\n      return __asyncValues;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"__makeTemplateObject\", function () {\n      return __makeTemplateObject;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"__importStar\", function () {\n      return __importStar;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"__importDefault\", function () {\n      return __importDefault;\n    });\n    /*! *****************************************************************************\r\n    Copyright (c) Microsoft Corporation. All rights reserved.\r\n    Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\n    this file except in compliance with the License. You may obtain a copy of the\r\n    License at http://www.apache.org/licenses/LICENSE-2.0\r\n    \r\n    THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n    KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\n    WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\n    MERCHANTABLITY OR NON-INFRINGEMENT.\r\n    \r\n    See the Apache Version 2.0 License for specific language governing permissions\r\n    and limitations under the License.\r\n    ***************************************************************************** */\n\n    /* global Reflect, Promise */\n\n\n    var _extendStatics = function extendStatics(d, b) {\n      _extendStatics = Object.setPrototypeOf || {\n        __proto__: []\n      } instanceof Array && function (d, b) {\n        d.__proto__ = b;\n      } || function (d, b) {\n        for (var p in b) {\n          if (b.hasOwnProperty(p)) d[p] = b[p];\n        }\n      };\n\n      return _extendStatics(d, b);\n    };\n\n    function __extends(d, b) {\n      _extendStatics(d, b);\n\n      function __() {\n        this.constructor = d;\n      }\n\n      d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n    }\n\n    var _assign = function __assign() {\n      _assign = Object.assign || function __assign(t) {\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\n          s = arguments[i];\n\n          for (var p in s) {\n            if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n          }\n        }\n\n        return t;\n      };\n\n      return _assign.apply(this, arguments);\n    };\n\n    function __rest(s, e) {\n      var t = {};\n\n      for (var p in s) {\n        if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n      }\n\n      if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n        if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n      }\n      return t;\n    }\n\n    function __decorate(decorators, target, key, desc) {\n      var c = arguments.length,\n          r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n          d;\n      if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) {\n        if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n      }\n      return c > 3 && r && Object.defineProperty(target, key, r), r;\n    }\n\n    function __param(paramIndex, decorator) {\n      return function (target, key) {\n        decorator(target, key, paramIndex);\n      };\n    }\n\n    function __metadata(metadataKey, metadataValue) {\n      if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n    }\n\n    function __awaiter(thisArg, _arguments, P, generator) {\n      return new (P || (P = Promise))(function (resolve, reject) {\n        function fulfilled(value) {\n          try {\n            step(generator.next(value));\n          } catch (e) {\n            reject(e);\n          }\n        }\n\n        function rejected(value) {\n          try {\n            step(generator[\"throw\"](value));\n          } catch (e) {\n            reject(e);\n          }\n        }\n\n        function step(result) {\n          result.done ? resolve(result.value) : new P(function (resolve) {\n            resolve(result.value);\n          }).then(fulfilled, rejected);\n        }\n\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\n      });\n    }\n\n    function __generator(thisArg, body) {\n      var _ = {\n        label: 0,\n        sent: function sent() {\n          if (t[0] & 1) throw t[1];\n          return t[1];\n        },\n        trys: [],\n        ops: []\n      },\n          f,\n          y,\n          t,\n          g;\n      return g = {\n        next: verb(0),\n        \"throw\": verb(1),\n        \"return\": verb(2)\n      }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function () {\n        return this;\n      }), g;\n\n      function verb(n) {\n        return function (v) {\n          return step([n, v]);\n        };\n      }\n\n      function step(op) {\n        if (f) throw new TypeError(\"Generator is already executing.\");\n\n        while (_) {\n          try {\n            if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n            if (y = 0, t) op = [op[0] & 2, t.value];\n\n            switch (op[0]) {\n              case 0:\n              case 1:\n                t = op;\n                break;\n\n              case 4:\n                _.label++;\n                return {\n                  value: op[1],\n                  done: false\n                };\n\n              case 5:\n                _.label++;\n                y = op[1];\n                op = [0];\n                continue;\n\n              case 7:\n                op = _.ops.pop();\n\n                _.trys.pop();\n\n                continue;\n\n              default:\n                if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n                  _ = 0;\n                  continue;\n                }\n\n                if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n                  _.label = op[1];\n                  break;\n                }\n\n                if (op[0] === 6 && _.label < t[1]) {\n                  _.label = t[1];\n                  t = op;\n                  break;\n                }\n\n                if (t && _.label < t[2]) {\n                  _.label = t[2];\n\n                  _.ops.push(op);\n\n                  break;\n                }\n\n                if (t[2]) _.ops.pop();\n\n                _.trys.pop();\n\n                continue;\n            }\n\n            op = body.call(thisArg, _);\n          } catch (e) {\n            op = [6, e];\n            y = 0;\n          } finally {\n            f = t = 0;\n          }\n        }\n\n        if (op[0] & 5) throw op[1];\n        return {\n          value: op[0] ? op[1] : void 0,\n          done: true\n        };\n      }\n    }\n\n    function __exportStar(m, exports) {\n      for (var p in m) {\n        if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n      }\n    }\n\n    function __values(o) {\n      var m = typeof Symbol === \"function\" && o[Symbol.iterator],\n          i = 0;\n      if (m) return m.call(o);\n      return {\n        next: function next() {\n          if (o && i >= o.length) o = void 0;\n          return {\n            value: o && o[i++],\n            done: !o\n          };\n        }\n      };\n    }\n\n    function __read(o, n) {\n      var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n      if (!m) return o;\n      var i = m.call(o),\n          r,\n          ar = [],\n          e;\n\n      try {\n        while ((n === void 0 || n-- > 0) && !(r = i.next()).done) {\n          ar.push(r.value);\n        }\n      } catch (error) {\n        e = {\n          error: error\n        };\n      } finally {\n        try {\n          if (r && !r.done && (m = i[\"return\"])) m.call(i);\n        } finally {\n          if (e) throw e.error;\n        }\n      }\n\n      return ar;\n    }\n\n    function __spread() {\n      for (var ar = [], i = 0; i < arguments.length; i++) {\n        ar = ar.concat(__read(arguments[i]));\n      }\n\n      return ar;\n    }\n\n    function __spreadArrays() {\n      for (var s = 0, i = 0, il = arguments.length; i < il; i++) {\n        s += arguments[i].length;\n      }\n\n      for (var r = Array(s), k = 0, i = 0; i < il; i++) {\n        for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) {\n          r[k] = a[j];\n        }\n      }\n\n      return r;\n    }\n\n    ;\n\n    function __await(v) {\n      return this instanceof __await ? (this.v = v, this) : new __await(v);\n    }\n\n    function __asyncGenerator(thisArg, _arguments, generator) {\n      if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n      var g = generator.apply(thisArg, _arguments || []),\n          i,\n          q = [];\n      return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () {\n        return this;\n      }, i;\n\n      function verb(n) {\n        if (g[n]) i[n] = function (v) {\n          return new Promise(function (a, b) {\n            q.push([n, v, a, b]) > 1 || resume(n, v);\n          });\n        };\n      }\n\n      function resume(n, v) {\n        try {\n          step(g[n](v));\n        } catch (e) {\n          settle(q[0][3], e);\n        }\n      }\n\n      function step(r) {\n        r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r);\n      }\n\n      function fulfill(value) {\n        resume(\"next\", value);\n      }\n\n      function reject(value) {\n        resume(\"throw\", value);\n      }\n\n      function settle(f, v) {\n        if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]);\n      }\n    }\n\n    function __asyncDelegator(o) {\n      var i, p;\n      return i = {}, verb(\"next\"), verb(\"throw\", function (e) {\n        throw e;\n      }), verb(\"return\"), i[Symbol.iterator] = function () {\n        return this;\n      }, i;\n\n      function verb(n, f) {\n        i[n] = o[n] ? function (v) {\n          return (p = !p) ? {\n            value: __await(o[n](v)),\n            done: n === \"return\"\n          } : f ? f(v) : v;\n        } : f;\n      }\n    }\n\n    function __asyncValues(o) {\n      if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n      var m = o[Symbol.asyncIterator],\n          i;\n      return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () {\n        return this;\n      }, i);\n\n      function verb(n) {\n        i[n] = o[n] && function (v) {\n          return new Promise(function (resolve, reject) {\n            v = o[n](v), settle(resolve, reject, v.done, v.value);\n          });\n        };\n      }\n\n      function settle(resolve, reject, d, v) {\n        Promise.resolve(v).then(function (v) {\n          resolve({\n            value: v,\n            done: d\n          });\n        }, reject);\n      }\n    }\n\n    function __makeTemplateObject(cooked, raw) {\n      if (Object.defineProperty) {\n        Object.defineProperty(cooked, \"raw\", {\n          value: raw\n        });\n      } else {\n        cooked.raw = raw;\n      }\n\n      return cooked;\n    }\n\n    ;\n\n    function __importStar(mod) {\n      if (mod && mod.__esModule) return mod;\n      var result = {};\n      if (mod != null) for (var k in mod) {\n        if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n      }\n      result.default = mod;\n      return result;\n    }\n\n    function __importDefault(mod) {\n      return mod && mod.__esModule ? mod : {\n        default: mod\n      };\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./src/app/app-routing.module.ts\":\n  /*!***************************************!*\\\n    !*** ./src/app/app-routing.module.ts ***!\n    \\***************************************/\n\n  /*! exports provided: AppRoutingModule */\n\n  /***/\n  function srcAppAppRoutingModuleTs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"AppRoutingModule\", function () {\n      return AppRoutingModule;\n    });\n    /* harmony import */\n\n\n    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! tslib */\n    \"./node_modules/tslib/tslib.es6.js\");\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! @angular/router */\n    \"./node_modules/@angular/router/fesm2015/router.js\");\n    /* harmony import */\n\n\n    var _components_login_login_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ./components/login/login.component */\n    \"./src/app/components/login/login.component.ts\");\n    /* harmony import */\n\n\n    var _components_home_home_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! ./components/home/home.component */\n    \"./src/app/components/home/home.component.ts\");\n    /* harmony import */\n\n\n    var _services_spotifyAuth__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\n    /*! ./services/spotifyAuth */\n    \"./src/app/services/spotifyAuth/index.ts\");\n    /* harmony import */\n\n\n    var _components_spotify_auth_spotify_auth_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(\n    /*! ./components/spotify-auth/spotify-auth.component */\n    \"./src/app/components/spotify-auth/spotify-auth.component.ts\");\n    /* harmony import */\n\n\n    var _components_about_about_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(\n    /*! ./components/about/about.component */\n    \"./src/app/components/about/about.component.ts\");\n\n    var routes = [{\n      path: 'about',\n      component: _components_about_about_component__WEBPACK_IMPORTED_MODULE_7__[\"AboutComponent\"]\n    }, {\n      path: 'login',\n      component: _components_login_login_component__WEBPACK_IMPORTED_MODULE_3__[\"LoginComponent\"]\n    }, {\n      path: 'home',\n      component: _components_home_home_component__WEBPACK_IMPORTED_MODULE_4__[\"HomeComponent\"]\n    }, {\n      path: '',\n      redirectTo: 'login',\n      pathMatch: 'full'\n    }, {\n      path: 'authorized',\n      canActivate: [_services_spotifyAuth__WEBPACK_IMPORTED_MODULE_5__[\"AuthGuard\"]],\n      component: _components_spotify_auth_spotify_auth_component__WEBPACK_IMPORTED_MODULE_6__[\"SpotifyAuthComponent\"]\n    }];\n\n    var AppRoutingModule = function AppRoutingModule() {\n      _classCallCheck(this, AppRoutingModule);\n    };\n\n    AppRoutingModule = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgModule\"])({\n      imports: [_angular_router__WEBPACK_IMPORTED_MODULE_2__[\"RouterModule\"].forRoot(routes)],\n      exports: [_angular_router__WEBPACK_IMPORTED_MODULE_2__[\"RouterModule\"]]\n    })], AppRoutingModule);\n    /***/\n  },\n\n  /***/\n  \"./src/app/app.component.scss\":\n  /*!************************************!*\\\n    !*** ./src/app/app.component.scss ***!\n    \\************************************/\n\n  /*! exports provided: default */\n\n  /***/\n  function srcAppAppComponentScss(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony default export */\n\n\n    __webpack_exports__[\"default\"] = \".app {\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n  padding: 0 1em;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9Vc2Vycy9hbGV4L0Rlc2t0b3Avb2JzY3VyaWZ5My9zcmMvYXBwL2FwcC5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvYXBwLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUdBO0VBQ0ksaURBQUE7RUFDQSxjQUFBO0FDRkoiLCJmaWxlIjoic3JjL2FwcC9hcHAuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyJAaW1wb3J0ICdtaXhpbnMnO1xuXG5cbi5hcHAge1xuICAgIHRyYW5zaXRpb246IC4zcyBjdWJpYy1iZXppZXIoLjI1LC4xLC4yNSwxKTtcbiAgICBwYWRkaW5nOiAwIDFlbTtcbn0iLCIuYXBwIHtcbiAgdHJhbnNpdGlvbjogMC4zcyBjdWJpYy1iZXppZXIoMC4yNSwgMC4xLCAwLjI1LCAxKTtcbiAgcGFkZGluZzogMCAxZW07XG59Il19 */\";\n    /***/\n  },\n\n  /***/\n  \"./src/app/app.component.ts\":\n  /*!**********************************!*\\\n    !*** ./src/app/app.component.ts ***!\n    \\**********************************/\n\n  /*! exports provided: AppComponent */\n\n  /***/\n  function srcAppAppComponentTs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"AppComponent\", function () {\n      return AppComponent;\n    });\n    /* harmony import */\n\n\n    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! tslib */\n    \"./node_modules/tslib/tslib.es6.js\");\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var _services_spotifyAuth__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ./services/spotifyAuth */\n    \"./src/app/services/spotifyAuth/index.ts\");\n    /* harmony import */\n\n\n    var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! @angular/router */\n    \"./node_modules/@angular/router/fesm2015/router.js\");\n\n    var AppComponent =\n    /*#__PURE__*/\n    function () {\n      function AppComponent(tokenSvc, authService, router) {\n        _classCallCheck(this, AppComponent);\n\n        this.tokenSvc = tokenSvc;\n        this.authService = authService;\n        this.router = router;\n        this.title = 'obscurify3';\n      }\n\n      _createClass(AppComponent, [{\n        key: \"ngOnInit\",\n        value: function ngOnInit() {\n          var _this = this;\n\n          this.authService.authorizedStream.subscribe(function (x) {\n            if (x) {\n              _this.router.navigate(['home']);\n            }\n          });\n        }\n      }, {\n        key: \"getUserInfo\",\n        value: function getUserInfo() {}\n      }, {\n        key: \"logout\",\n        value: function logout() {\n          this.tokenSvc.clearToken();\n          this.router.navigate(['login']);\n        }\n      }]);\n\n      return AppComponent;\n    }();\n\n    AppComponent.ctorParameters = function () {\n      return [{\n        type: _services_spotifyAuth__WEBPACK_IMPORTED_MODULE_2__[\"TokenService\"]\n      }, {\n        type: _services_spotifyAuth__WEBPACK_IMPORTED_MODULE_2__[\"AuthService\"]\n      }, {\n        type: _angular_router__WEBPACK_IMPORTED_MODULE_3__[\"Router\"]\n      }];\n    };\n\n    AppComponent = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Component\"])({\n      selector: 'app-root',\n      template: tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(\n      /*! raw-loader!./app.component.html */\n      \"./node_modules/raw-loader/dist/cjs.js!./src/app/app.component.html\")).default,\n      styles: [tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(\n      /*! ./app.component.scss */\n      \"./src/app/app.component.scss\")).default]\n    })], AppComponent);\n    /***/\n  },\n\n  /***/\n  \"./src/app/app.module.ts\":\n  /*!*******************************!*\\\n    !*** ./src/app/app.module.ts ***!\n    \\*******************************/\n\n  /*! exports provided: AppModule */\n\n  /***/\n  function srcAppAppModuleTs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"AppModule\", function () {\n      return AppModule;\n    });\n    /* harmony import */\n\n\n    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! tslib */\n    \"./node_modules/tslib/tslib.es6.js\");\n    /* harmony import */\n\n\n    var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/platform-browser */\n    \"./node_modules/@angular/platform-browser/fesm2015/platform-browser.js\");\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! @angular/platform-browser/animations */\n    \"./node_modules/@angular/platform-browser/fesm2015/animations.js\");\n    /* harmony import */\n\n\n    var _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! @angular/cdk/platform */\n    \"./node_modules/@angular/cdk/esm2015/platform.js\");\n    /* harmony import */\n\n\n    var _angular_material_radio__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\n    /*! @angular/material/radio */\n    \"./node_modules/@angular/material/esm2015/radio.js\");\n    /* harmony import */\n\n\n    var _angular_forms__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(\n    /*! @angular/forms */\n    \"./node_modules/@angular/forms/fesm2015/forms.js\");\n    /* harmony import */\n\n\n    var _angular_flex_layout__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(\n    /*! @angular/flex-layout */\n    \"./node_modules/@angular/flex-layout/esm2015/flex-layout.js\");\n    /* harmony import */\n\n\n    var _angular_common_http__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(\n    /*! @angular/common/http */\n    \"./node_modules/@angular/common/fesm2015/http.js\");\n    /* harmony import */\n\n\n    var _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(\n    /*! @angular/material/snack-bar */\n    \"./node_modules/@angular/material/esm2015/snack-bar.js\");\n    /* harmony import */\n\n\n    var _angular_material_menu__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(\n    /*! @angular/material/menu */\n    \"./node_modules/@angular/material/esm2015/menu.js\");\n    /* harmony import */\n\n\n    var ngx_cookie_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(\n    /*! ngx-cookie-service */\n    \"./node_modules/ngx-cookie-service/fesm2015/ngx-cookie-service.js\");\n    /* harmony import */\n\n\n    var _app_routing_module__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(\n    /*! ./app-routing.module */\n    \"./src/app/app-routing.module.ts\");\n    /* harmony import */\n\n\n    var _app_component__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(\n    /*! ./app.component */\n    \"./src/app/app.component.ts\");\n    /* harmony import */\n\n\n    var _components_home_home_component__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(\n    /*! ./components/home/home.component */\n    \"./src/app/components/home/home.component.ts\");\n    /* harmony import */\n\n\n    var _components_intro_intro_component__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(\n    /*! ./components/intro/intro.component */\n    \"./src/app/components/intro/intro.component.ts\");\n    /* harmony import */\n\n\n    var _components_top_genres_top_genres_component__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(\n    /*! ./components/top-genres/top-genres.component */\n    \"./src/app/components/top-genres/top-genres.component.ts\");\n    /* harmony import */\n\n\n    var _components_obscurity_rating_obscurity_rating_component__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(\n    /*! ./components/obscurity-rating/obscurity-rating.component */\n    \"./src/app/components/obscurity-rating/obscurity-rating.component.ts\");\n    /* harmony import */\n\n\n    var _components_obscurity_graph_obscurity_graph_component__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(\n    /*! ./components/obscurity-graph/obscurity-graph.component */\n    \"./src/app/components/obscurity-graph/obscurity-graph.component.ts\");\n    /* harmony import */\n\n\n    var _components_artist_artist_list_artist_list_component__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(\n    /*! ./components/artist/artist-list/artist-list.component */\n    \"./src/app/components/artist/artist-list/artist-list.component.ts\");\n    /* harmony import */\n\n\n    var _components_artist_artist_card_artist_card_component__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(\n    /*! ./components/artist/artist-card/artist-card.component */\n    \"./src/app/components/artist/artist-card/artist-card.component.ts\");\n    /* harmony import */\n\n\n    var _components_artist_artist_nav_artist_nav_component__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(\n    /*! ./components/artist/artist-nav/artist-nav.component */\n    \"./src/app/components/artist/artist-nav/artist-nav.component.ts\");\n    /* harmony import */\n\n\n    var _components_moods_graph_moods_graph_component__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(\n    /*! ./components/moods-graph/moods-graph.component */\n    \"./src/app/components/moods-graph/moods-graph.component.ts\");\n    /* harmony import */\n\n\n    var _components_recommendations_recommendations_component__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(\n    /*! ./components/recommendations/recommendations.component */\n    \"./src/app/components/recommendations/recommendations.component.ts\");\n    /* harmony import */\n\n\n    var _components_login_login_component__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(\n    /*! ./components/login/login.component */\n    \"./src/app/components/login/login.component.ts\");\n    /* harmony import */\n\n\n    var _services_spotifyAuth__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(\n    /*! ./services/spotifyAuth */\n    \"./src/app/services/spotifyAuth/index.ts\");\n    /* harmony import */\n\n\n    var _components_spotify_auth_spotify_auth_component__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(\n    /*! ./components/spotify-auth/spotify-auth.component */\n    \"./src/app/components/spotify-auth/spotify-auth.component.ts\");\n    /* harmony import */\n\n\n    var _services_infoService__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(\n    /*! ./services/infoService */\n    \"./src/app/services/infoService.ts\");\n    /* harmony import */\n\n\n    var _utilities_obscurityFuncs__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(\n    /*! ./utilities/obscurityFuncs */\n    \"./src/app/utilities/obscurityFuncs.ts\");\n    /* harmony import */\n\n\n    var _components_artist_track_card_track_card_component__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(\n    /*! ./components/artist/track-card/track-card.component */\n    \"./src/app/components/artist/track-card/track-card.component.ts\");\n    /* harmony import */\n\n\n    var _services_spotifyService__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(\n    /*! ./services/spotifyService */\n    \"./src/app/services/spotifyService.ts\");\n    /* harmony import */\n\n\n    var _components_about_about_component__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(\n    /*! ./components/about/about.component */\n    \"./src/app/components/about/about.component.ts\");\n    /* harmony import */\n\n\n    var _components_footer_footer_component__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(\n    /*! ./components/footer/footer.component */\n    \"./src/app/components/footer/footer.component.ts\");\n    /* harmony import */\n\n\n    var _services_obscurifyService__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(\n    /*! ./services/obscurifyService */\n    \"./src/app/services/obscurifyService.ts\");\n\n    var AppModule = function AppModule() {\n      _classCallCheck(this, AppModule);\n    };\n\n    AppModule = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_2__[\"NgModule\"])({\n      declarations: [_app_component__WEBPACK_IMPORTED_MODULE_13__[\"AppComponent\"], _components_home_home_component__WEBPACK_IMPORTED_MODULE_14__[\"HomeComponent\"], _components_intro_intro_component__WEBPACK_IMPORTED_MODULE_15__[\"IntroComponent\"], _components_top_genres_top_genres_component__WEBPACK_IMPORTED_MODULE_16__[\"TopGenresComponent\"], _components_obscurity_rating_obscurity_rating_component__WEBPACK_IMPORTED_MODULE_17__[\"ObscurityRatingComponent\"], _components_obscurity_graph_obscurity_graph_component__WEBPACK_IMPORTED_MODULE_18__[\"ObscurityGraphComponent\"], _components_artist_artist_list_artist_list_component__WEBPACK_IMPORTED_MODULE_19__[\"ArtistListComponent\"], _components_artist_artist_card_artist_card_component__WEBPACK_IMPORTED_MODULE_20__[\"ArtistCardComponent\"], _components_artist_artist_nav_artist_nav_component__WEBPACK_IMPORTED_MODULE_21__[\"ArtistNavComponent\"], _components_moods_graph_moods_graph_component__WEBPACK_IMPORTED_MODULE_22__[\"MoodsGraphComponent\"], _components_recommendations_recommendations_component__WEBPACK_IMPORTED_MODULE_23__[\"RecommendationsComponent\"], _components_login_login_component__WEBPACK_IMPORTED_MODULE_24__[\"LoginComponent\"], _components_spotify_auth_spotify_auth_component__WEBPACK_IMPORTED_MODULE_26__[\"SpotifyAuthComponent\"], _components_artist_track_card_track_card_component__WEBPACK_IMPORTED_MODULE_29__[\"TrackCardComponent\"], _components_about_about_component__WEBPACK_IMPORTED_MODULE_31__[\"AboutComponent\"], _components_footer_footer_component__WEBPACK_IMPORTED_MODULE_32__[\"FooterComponent\"]],\n      imports: [_angular_flex_layout__WEBPACK_IMPORTED_MODULE_7__[\"FlexLayoutModule\"], _angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__[\"BrowserModule\"], _app_routing_module__WEBPACK_IMPORTED_MODULE_12__[\"AppRoutingModule\"], _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_3__[\"BrowserAnimationsModule\"], _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_4__[\"PlatformModule\"], _angular_material_radio__WEBPACK_IMPORTED_MODULE_5__[\"MatRadioModule\"], _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_9__[\"MatSnackBarModule\"], _angular_forms__WEBPACK_IMPORTED_MODULE_6__[\"FormsModule\"], _app_routing_module__WEBPACK_IMPORTED_MODULE_12__[\"AppRoutingModule\"], _angular_common_http__WEBPACK_IMPORTED_MODULE_8__[\"HttpClientModule\"], _angular_material_menu__WEBPACK_IMPORTED_MODULE_10__[\"MatMenuModule\"]],\n      providers: [_utilities_obscurityFuncs__WEBPACK_IMPORTED_MODULE_28__[\"default\"], _services_spotifyAuth__WEBPACK_IMPORTED_MODULE_25__[\"AuthService\"], _services_spotifyAuth__WEBPACK_IMPORTED_MODULE_25__[\"TokenService\"], _services_spotifyAuth__WEBPACK_IMPORTED_MODULE_25__[\"AuthGuard\"], ngx_cookie_service__WEBPACK_IMPORTED_MODULE_11__[\"CookieService\"], _services_infoService__WEBPACK_IMPORTED_MODULE_27__[\"InfoService\"], _services_obscurifyService__WEBPACK_IMPORTED_MODULE_33__[\"default\"], _services_spotifyService__WEBPACK_IMPORTED_MODULE_30__[\"SpotifyService\"], [{\n        provide: _angular_common_http__WEBPACK_IMPORTED_MODULE_8__[\"HTTP_INTERCEPTORS\"],\n        // Force interception to use your new shiny headers!\n        useClass: _services_spotifyAuth__WEBPACK_IMPORTED_MODULE_25__[\"SpotifyAuthInterceptor\"],\n        multi: true\n      }]],\n      bootstrap: [_app_component__WEBPACK_IMPORTED_MODULE_13__[\"AppComponent\"]]\n    })], AppModule);\n    /***/\n  },\n\n  /***/\n  \"./src/app/components/about/about.component.scss\":\n  /*!*******************************************************!*\\\n    !*** ./src/app/components/about/about.component.scss ***!\n    \\*******************************************************/\n\n  /*! exports provided: default */\n\n  /***/\n  function srcAppComponentsAboutAboutComponentScss(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony default export */\n\n\n    __webpack_exports__[\"default\"] = \"main {\\n  width: 100%;\\n  background-color: #A9E5AC;\\n}\\n\\nsection {\\n  margin: 2em 0;\\n  max-width: 772px;\\n  padding: 0 2em;\\n}\\n\\nsection p {\\n  margin-bottom: 1em;\\n}\\n\\nsection h2, section h3 {\\n  margin-bottom: 1em;\\n}\\n\\n.back__btn {\\n  padding: 1em 1em;\\n  color: black;\\n  width: 200px;\\n  background-color: white;\\n  text-decoration: none;\\n  border-radius: 5px;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9Vc2Vycy9hbGV4L0Rlc2t0b3Avb2JzY3VyaWZ5My9zcmMvYXBwL2NvbXBvbmVudHMvYWJvdXQvYWJvdXQuY29tcG9uZW50LnNjc3MiLCJzcmMvYXBwL2NvbXBvbmVudHMvYWJvdXQvYWJvdXQuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDSSxXQUFBO0VBQ0EseUJBQUE7QUNDSjs7QURFQTtFQUNJLGFBQUE7RUFDQSxnQkFBQTtFQUNBLGNBQUE7QUNDSjs7QURDSTtFQUNJLGtCQUFBO0FDQ1I7O0FERUk7RUFDSSxrQkFBQTtBQ0FSOztBRElBO0VBQ0ksZ0JBQUE7RUFDQSxZQUFBO0VBQ0EsWUFBQTtF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I6IHdoaXRlO1xuICB0ZXh0LWRlY29yYXRpb246IG5vbmU7XG4gIGJvcmRlci1yYWRpdXM6IDVweDtcbn0iXX0= */\";\n    /***/\n  },\n\n  /***/\n  \"./src/app/components/about/about.component.ts\":\n  /*!*****************************************************!*\\\n    !*** ./src/app/components/about/about.component.ts ***!\n    \\*****************************************************/\n\n  /*! exports provided: AboutComponent */\n\n  /***/\n  function srcAppComponentsAboutAboutComponentTs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"AboutComponent\", function () {\n      return AboutComponent;\n    });\n    /* harmony import */\n\n\n    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! tslib */\n    \"./node_modules/tslib/tslib.es6.js\");\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n\n    var AboutComponent =\n    /*#__PURE__*/\n    function () {\n      function AboutComponent() {\n        _classCallCheck(this, AboutComponent);\n      }\n\n      _createClass(AboutComponent, [{\n        key: \"ngOnInit\",\n        value: function ngOnInit() {}\n      }]);\n\n      return AboutComponent;\n    }();\n\n    AboutComponent = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Component\"])({\n      selector: 'app-about',\n      template: tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(\n      /*! raw-loader!./about.component.html */\n      \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/about/about.component.html\")).default,\n      styles: [tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(\n      /*! ./about.component.scss */\n      \"./src/app/components/about/about.component.scss\")).default]\n    })], AboutComponent);\n    /***/\n  },\n\n  /***/\n  \"./src/app/components/artist/artist-card/artist-card.component.scss\":\n  /*!**************************************************************************!*\\\n    !*** ./src/app/components/artist/artist-card/artist-card.component.scss ***!\n    \\**************************************************************************/\n\n  /*! exports provided: default */\n\n  /***/\n  function srcAppComponentsArtistArtistCardArtistCardComponentScss(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony default export */\n\n\n    __webpack_exports__[\"default\"] = \".artist__card {\\n  width: 100%;\\n  min-width: 200px;\\n  height: 75px;\\n  position: relative;\\n  overflow: hidden;\\n  border-radius: 5px;\\n  box-shadow: 5px 5px 4px 4px rgba(0, 0, 0, 0.5);\\n  color: white;\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n}\\n.artist__card img {\\n  position: absolute;\\n  -o-object-fit: cover;\\n     object-fit: cover;\\n  width: 100%;\\n}\\n.artist__card.active {\\n  height: 200px;\\n}\\n.artist__card.active .artist__card__info {\\n  height: 100%;\\n}\\n.artist__card span {\\n  margin-top: 2px;\\n}\\n.artist__card__info {\\n  height: 60px;\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n  position: absolute;\\n  width: 100%;\\n  background: rgba(0, 0, 0, 0.55);\\n  border-radius: 5px;\\n  bottom: 0;\\n  box-sizing: border-box;\\n  padding: 1rem 0.5rem;\\n  font-size: 1.2rem;\\n}\\n.artist__card__info--secondary, .artist__card__info--primary {\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n  margin-left: 1rem;\\n}\\n.artist__card__info--primary {\\n  font-size: 1.2em;\\n  margin-bottom: 0.5rem;\\n}\\n.artist__card__external {\\n  color: white;\\n  cursor: pointer;\\n}\\n.artist__card button {\\n  margin-top: 1em;\\n  background: transparent;\\n  width: 125px;\\n  text-align: center;\\n  font-size: 12px;\\n  color: #fff;\\n  display: block;\\n  border-radius: 25px;\\n  font-weight: 700;\\n  margin: 1em auto 0;\\n  border: 2px solid #A9E5AC;\\n  padding: 1em;\\n  cursor: pointer;\\n}\\n@media (min-width: 768px) and (max-width: 1023px) {\\n  .artist__card {\\n    height: 150px;\\n    width: 200px;\\n    margin-bottom: 1em;\\n  }\\n  .artist__card.active {\\n    height: 150px;\\n  }\\n}\\n@media (min-width: 1024px) {\\n  .artist__card {\\n    height: 170px;\\n    width: 220px;\\n    margin-bottom: 1em;\\n  }\\n  .artist__card__info {\\n    font-size: 1rem;\\n  }\\n  .artist__card.active {\\n    height: 170px;\\n  }\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9Vc2Vycy9hbGV4L0Rlc2t0b3Avb2JzY3VyaWZ5My9zcmMvYXBwL2NvbXBvbmVudHMvYXJ0aXN0L2FydGlzdC1jYXJkL2FydGlzdC1jYXJkLmNvbXBvbmVudC5zY3NzIiwic3JjL2FwcC9jb21wb25lbnRzL2FydGlzdC9hcnRpc3QtY2FyZC9hcnRpc3QtY2FyZC5jb21wb25lbnQuc2NzcyIsIi9Vc2Vycy9hbGV4L0Rlc2t0b3Avb2JzY3VyaWZ5My9zcmMvYXBwL3Njc3MvX21peGlucy5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUdBO0VBQ0ksV0FBQTtFQUNBLGdCQUFBO0VBQ0EsWUFBQTtFQUNBLGtCQUFBO0VBQ0EsZ0JBQUE7RUFDQSxrQkFBQTtFQUNBLDhDQUFBO0VBQ0EsWUFBQTtFQUNBLGlEQUFBO0FDRko7QURJSTtFQUNJLGtCQUFBO0VBQ0Esb0JBQUE7S0FBQSxpQkFBQTtFQUNBLFdBQUE7QUNGUjtBREtJO0VBQ0ksYUFBQTtBQ0hSO0FES1E7RUFDSSxZQUFBO0FDSFo7QURPSTtFQUNJLGVBQUE7QUNMUjtBRFFJO0VBQ0ksWUFBQTtFQUNBLGlEQUFBO0VBQ0Esa0JBQUE7RUFDQSxXQUFBO0VBQ0EsK0JBQUE7RUFDQSxrQkFBQTtFQUNBLF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1xuICAgIGNvbG9yOiB3aGl0ZTtcbiAgICB0cmFuc2l0aW9uOiAuM3MgY3ViaWMtYmV6aWVyKC4yNSwuMSwuMjUsMSk7XG5cbiAgICBpbWcge1xuICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgICAgIG9iamVjdC1maXQ6IGNvdmVyO1xuICAgICAgICB3aWR0aDogMTAwJTtcbiAgICB9XG5cbiAgICAmLmFjdGl2ZSB7XG4gICAgICAgIGhlaWdodDogMjAwcHg7XG4gICAgICAgIFxuICAgICAgICAuYXJ0aXN0X19jYXJkX19pbmZvIHtcbiAgICAgICAgICAgIGhlaWdodDogMTAwJTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIHNwYW4ge1xuICAgICAgICBtYXJnaW4tdG9wOiAycHg7XG4gICAgfVxuICAgIFxuICAgICZfX2luZm8ge1xuICAgICAgICBoZWlnaHQ6IDYwcHg7XG4gICAgICAgIHRyYW5zaXRpb246IC4zcyBjdWJpYy1iZXppZXIoLjI1LC4xLC4yNSwxKTtcbiAgICAgICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgICAgICB3aWR0aDogMTAwJTtcbiAgICAgICAgYmFja2dyb3VuZDogcmdiYSgwLDAsMCwuNTUpO1xuICAgICAgICBib3JkZXItcmFkaXVzOiA1cHg7XG4gICAgICAgIGJvdHRvbTogMDsgIFxuICAgICAgICBib3gtc2l6aW5nOiBib3JkZXItYm94OyAgXG4gICAgICAgIHBhZGRpbmc6IDFyZW0gMC41cmVtO1xuICAgICAgICBmb250LXNpemU6IDEuMnJlbTtcblxuICAgICAgICAmLS1zZWNvbmRhcnksICYtLXByaW1hcnkge1xuICAgICAgICAgICAgdHJhbnNpdGlvbjogLjNzIGN1YmljLWJlemllciguMjUsLjEsLjI1LDEpO1xuICAgICAgICAgICAgbWFyZ2luLWxlZnQ6IDFyZW07XG4gICAgICAgIH1cblxuICAgICAgICAmLS1wcmltYXJ5IHtcbiAgICAgICAgICAgIGZvbnQtc2l6ZTogMS4yZW07XG4gICAgICAgICAgICBtYXJnaW4tYm90dG9tOiAwLjVyZW07XG5cbiAgICAgICAgfVxuICAgIH1cblxuICAgICZfX2V4dGVybmFsIHtcbiAgICAgICAgY29sb3I6IHdoaXRlO1xuICAgICAgICBjdXJzb3I6IHBvaW50ZXI7XG4gICAgfVxuXG4gICAgYnV0dG9uIHtcbiAgICAgICAgbWFyZ2luLXRvcDogMWVtO1xuICAgICAgICBiYWNrZ3JvdW5kOiB0cmFuc3BhcmVudDtcbiAgICAgICAgd2lkdGg6IDEyNXB4O1xuICAgICAgICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gICAgICAgIGZvbnQtc2l6ZTogMTJweDtcbiAgICAgICAgY29sb3I6ICNmZmY7XG4gICAgICAgIGRpc3BsYXk6IGJsb2NrO1xuICAgICAgICBib3JkZXItcmFkaXVzOiAyNXB4O1xuICAgICAgICBmb250LXdlaWdodDogNzAwO1xuICAgICAgICBtYXJnaW46IDFlbSBhdXRvIDA7XG4gICAgICAgIGJvcmRlcjogMnB4IHNvbGlkICRwcmltYXJ5LWNvbG9yO1xuICAgICAgICBwYWRkaW5nOiAxZW07XG4gICAgICAgIGN1cnNvcjogcG9pbnRlcjtcbiAgICB9XG59XG5cbkBpbmNsdWRlIHRhYmxldCB7XG4gICAgLmFydGlzdF9fY2FyZCB7XG4gICAgICAgIGhlaWdodDogMTUwcHg7XG4gICAgICAgIHdpZHRoOiAyMDBweDtcbiAgICAgICAgbWFyZ2luLWJvdHRvbTogMWVtO1xuICAgICAgICAmLmFjdGl2ZSB7XG4gICAgICAgICAgICBoZWlnaHQ6IDE1MHB4O1xuICAgICAgICB9XG5cbiAgICB9XG59XG5cbkBpbmNsdWRlIGRlc2t0b3Age1xuICAgIC5hcnRpc3RfX2NhcmQge1xuICAgICAgICBoZWlnaHQ6IDE3MHB4O1xuICAgICAgICB3aWR0aDogMjIwcHg7XG4gICAgICAgIG1hcmdpbi1ib3R0b206IDFlbTtcblxuICAgICAgICA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  /***/\n  \"./src/app/components/artist/artist-card/artist-card.component.ts\":\n  /*!************************************************************************!*\\\n    !*** ./src/app/components/artist/artist-card/artist-card.component.ts ***!\n    \\************************************************************************/\n\n  /*! exports provided: ArtistCardComponent */\n\n  /***/\n  function srcAppComponentsArtistArtistCardArtistCardComponentTs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ArtistCardComponent\", function () {\n      return ArtistCardComponent;\n    });\n    /* harmony import */\n\n\n    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! tslib */\n    \"./node_modules/tslib/tslib.es6.js\");\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var src_app_services_browserCheck__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! src/app/services/browserCheck */\n    \"./src/app/services/browserCheck.ts\");\n    /* harmony import */\n\n\n    var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! @angular/platform-browser */\n    \"./node_modules/@angular/platform-browser/fesm2015/platform-browser.js\");\n\n    var ArtistCardComponent =\n    /*#__PURE__*/\n    function () {\n      function ArtistCardComponent(browserCheck, sanitizer) {\n        _classCallCheck(this, ArtistCardComponent);\n\n        this.browserCheck = browserCheck;\n        this.sanitizer = sanitizer;\n        this.activeView = false;\n      }\n\n      _createClass(ArtistCardComponent, [{\n        key: \"onClick\",\n        value: function onClick(btn) {\n          if (this.browserCheck.isDevice) {\n            this.activeView = !this.activeView;\n          }\n        }\n      }, {\n        key: \"onMouseEnter\",\n        value: function onMouseEnter(btn) {\n          if (this.browserCheck.checkIfBrowser && !this.browserCheck.isDevice) {\n            this.activeView = true;\n          }\n        }\n      }, {\n        key: \"onMouseLeave\",\n        value: function onMouseLeave(btn) {\n          if (this.browserCheck.checkIfBrowser && !this.browserCheck.isDevice) {\n            this.activeView = false;\n          }\n        }\n      }, {\n        key: \"ngOnInit\",\n        value: function ngOnInit() {}\n      }]);\n\n      return ArtistCardComponent;\n    }();\n\n    ArtistCardComponent.ctorParameters = function () {\n      return [{\n        type: src_app_services_browserCheck__WEBPACK_IMPORTED_MODULE_2__[\"default\"]\n      }, {\n        type: _angular_platform_browser__WEBPACK_IMPORTED_MODULE_3__[\"DomSanitizer\"]\n      }];\n    };\n\n    tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"])()], ArtistCardComponent.prototype, \"artist\", void 0);\n    tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"])()], ArtistCardComponent.prototype, \"i\", void 0);\n    tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"HostListener\"])('touchend', ['$event.target'])], ArtistCardComponent.prototype, \"onClick\", null);\n    tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"HostListener\"])('mouseenter', ['$event.target'])], ArtistCardComponent.prototype, \"onMouseEnter\", null);\n    tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"HostListener\"])('mouseleave', ['$event.target'])], ArtistCardComponent.prototype, \"onMouseLeave\", null);\n    ArtistCardComponent = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Component\"])({\n      selector: 'app-artist-card',\n      template: tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(\n      /*! raw-loader!./artist-card.component.html */\n      \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/artist/artist-card/artist-card.component.html\")).default,\n      styles: [tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(\n      /*! ./artist-card.component.scss */\n      \"./src/app/components/artist/artist-card/artist-card.component.scss\")).default]\n    })], ArtistCardComponent);\n    /***/\n  },\n\n  /***/\n  \"./src/app/components/artist/artist-list/artist-list.component.scss\":\n  /*!**************************************************************************!*\\\n    !*** ./src/app/components/artist/artist-list/artist-list.component.scss ***!\n    \\**************************************************************************/\n\n  /*! exports provided: default */\n\n  /***/\n  function srcAppComponentsArtistArtistListArtistListComponentScss(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony default export */\n\n\n    __webpack_exports__[\"default\"] = \".header__title {\\n  font-size: 3em;\\n  border-bottom: 8px black solid;\\n  width: -webkit-fit-content;\\n  width: -moz-fit-content;\\n  width: fit-content;\\n  padding-bottom: 0.2em;\\n  margin: 0;\\n}\\n\\n.artist {\\n  max-width: 1024px;\\n  margin: 0 auto;\\n  padding: 2rem 0px;\\n}\\n\\n.artist .header__title {\\n  text-transform: capitalize;\\n}\\n\\n.artist__container {\\n  margin-top: 2em;\\n}\\n\\n.artist__container__grid::after {\\n  content: \\\"\\\";\\n  flex: auto;\\n}\\n\\n.artist__button {\\n  margin-top: 2em;\\n  background: #D8D8D8;\\n  border-radius: 23.5px;\\n  font-size: 16px;\\n  color: #090909;\\n  text-align: center;\\n  padding: 1em 2em;\\n  border: none;\\n  font-weight: bold;\\n}\\n\\n.artist__button:hover {\\n  border: none;\\n  cursor: pointer;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9Vc2Vycy9hbGV4L0Rlc2t0b3Avb2JzY3VyaWZ5My9zcmMvYXBwL3Njc3MvY29tcG9uZW50cy9faGVhZGVyLnNjc3MiLCJzcmMvYXBwL2NvbXBvbm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O1xuXG4gICAgLmhlYWRlcl9fdGl0bGUge1xuICAgICAgICB0ZXh0LXRyYW5zZm9ybTogY2FwaXRhbGl6ZTtcbiAgICB9XG5cbiAgICAmX19jb250YWluZXIge1xuICAgICAgICBtYXJnaW4tdG9wOiAyZW07XG4gICAgfVxuXG4gICAgJl9fY29udGFpbmVyX19ncmlkIHtcbiAgICAgICAgJjo6YWZ0ZXIge1xuICAgICAgICAgICAgY29udGVudDogXCJcIjtcbiAgICAgICAgICAgIGZsZXg6IGF1dG87XG4gICAgICAgICAgfVxuICAgIH1cblxuICAgICZfX2J1dHRvbiB7XG4gICAgICAgIG1hcmdpbi10b3A6IDJlbTtcbiAgICAgICAgYmFja2dyb3VuZDogI0Q4RDhEODtcbiAgICAgICAgYm9yZGVyLXJhZGl1czogMjMuNXB4O1xuICAgICAgICBmb250LXNpemU6IDE2cHg7XG4gICAgICAgIGNvbG9yOiAjMDkwOTA5O1xuICAgICAgICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gICAgICAgIHBhZGRpbmc6IDFlbSAyZW07XG4gICAgICAgIGJvcmRlcjogbm9uZTtcbiAgICAgICAgZm9udC13ZWlnaHQ6IGJvbGQ7XG4gICAgICAgICY6aG92ZXIge1xuICAgICAgICAgICAgYm9yZGVyOiBub25lO1xuICAgICAgICAgICAgY3Vyc29yOiBwb2ludGVyO1xuICAgICAgICB9XG4gICAgfVxufSJdfQ== */\";\n    /***/\n  },\n\n  /***/\n  \"./src/app/components/artist/artist-list/artist-list.component.ts\":\n  /*!************************************************************************!*\\\n    !*** ./src/app/components/artist/artist-list/artist-list.component.ts ***!\n    \\************************************************************************/\n\n  /*! exports provided: ArtistListComponent */\n\n  /***/\n  function srcAppComponentsArtistArtistListArtistListComponentTs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ArtistListComponent\", function () {\n      return ArtistListComponent;\n    });\n    /* harmony import */\n\n\n    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! tslib */\n    \"./node_modules/tslib/tslib.es6.js\");\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! @angular/material/snack-bar */\n    \"./node_modules/@angular/material/esm2015/snack-bar.js\");\n    /* harmony import */\n\n\n    var src_app_services_intersectionObserver__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! src/app/services/intersectionObserver */\n    \"./src/app/services/intersectionObserver.ts\");\n    /* harmony import */\n\n\n    var src_app_services_infoService__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! src/app/services/infoService */\n    \"./src/app/services/infoService.ts\");\n    /* harmony import */\n\n\n    var src_app_services_spotifyAuth__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\n    /*! src/app/services/spotifyAuth */\n    \"./src/app/services/spotifyAuth/index.ts\");\n    /* harmony import */\n\n\n    var src_app_services_spotifyService__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(\n    /*! src/app/services/spotifyService */\n    \"./src/app/services/spotifyService.ts\");\n\n    var ArtistListComponent =\n    /*#__PURE__*/\n    function () {\n      function ArtistListComponent(element, intersectionObserverService, infoSvc, tokenSvc, spotifyService, snackBar) {\n        _classCallCheck(this, ArtistListComponent);\n\n        this.element = element;\n        this.intersectionObserverService = intersectionObserverService;\n        this.infoSvc = infoSvc;\n        this.tokenSvc = tokenSvc;\n        this.spotifyService = spotifyService;\n        this.snackBar = snackBar;\n        this.appColor = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"EventEmitter\"]();\n        this.navState = {\n          listType: 'artists',\n          historyList: [{\n            name: 'Current',\n            value: 'current'\n          }, {\n            name: 'All Time',\n            value: 'allTime'\n          }],\n          selectedHistory: {\n            name: 'Current',\n            value: 'current'\n          }\n        };\n        this.allTimeArtists = [];\n        this.currentArtists = [];\n        this.allTimeTracks = [];\n        this.currentTracks = [];\n        this.sliceLimit = 10;\n        this.showNav = false;\n      }\n\n      _createClass(ArtistListComponent, [{\n        key: \"updateAppBackgroundColor\",\n        value: function updateAppBackgroundColor() {\n          this.appColor.emit(4);\n        }\n      }, {\n        key: \"ngOnInit\",\n        value: function ngOnInit() {\n          var _this2 = this;\n\n          this.infoSvc.fetchAllTimeArtists().subscribe(function (x) {\n            if (x.items) {\n              _this2.allTimeArtists = _toConsumableArray(x.items);\n            }\n          });\n          this.infoSvc.fetchAllTimeTracks().subscribe(function (x) {\n            if (x.items) {\n              _this2.allTimeTracks = _toConsumableArray(x.items);\n            }\n          });\n          this.infoSvc.fetchCurrentTracks().subscribe(function (x) {\n            if (x.items) {\n              _this2.currentTracks = _toConsumableArray(x.items);\n            }\n          });\n          this.infoSvc.fetchCurrentArtists().subscribe(function (x) {\n            if (x.items) {\n              _this2.currentArtists = _toConsumableArray(x.items);\n            }\n          });\n          this.infoSvc.getUserStream().subscribe(function (user) {\n            _this2.userInfo = Object.assign({}, user.userInfo);\n          });\n        }\n      }, {\n        key: \"ngAfterViewInit\",\n        value: function ngAfterViewInit() {\n          var _this3 = this;\n\n          this.intersectionObserverService.init(this.element.nativeElement, {\n            threshold: 0.20\n          });\n          this.intersectionObserverSubs = this.intersectionObserverService.getSubject().subscribe(function (el) {\n            if (el.isIntersecting) {\n              console.log('is intersecting artists');\n\n              _this3.updateAppBackgroundColor();\n\n              _this3.showNav = true;\n            } else {\n              _this3.showNav = false;\n            }\n          });\n        }\n      }, {\n        key: \"getHistory\",\n        value: function getHistory(data) {\n          this.navState = Object.assign({}, data);\n          console.log(this.navState);\n        }\n      }, {\n        key: \"createPlaylist\",\n        value: function createPlaylist() {\n          var _this4 = this;\n\n          var playlistName = '';\n\n          if (this.navState.selectedHistory.name === 'Current') {\n            playlistName = 'Current';\n          } else {\n            playlistName = 'All-Time Top Tracks // Obscurify';\n          }\n\n          if (playlistName === 'Current') {\n            var monthNames = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];\n            var dateObj = new Date();\n            var month = monthNames[dateObj.getMonth()]; // months from 1-12\n\n            var day = dateObj.getDate();\n            var year = dateObj.getFullYear() % 100;\n            var newdate = month + ' ' + day + ' \\'' + year;\n            playlistName = newdate + ' // Obscurify';\n          }\n\n          var config = {\n            userID: this.userInfo.id,\n            token: this.tokenSvc.oAuthToken,\n            playlistName: playlistName,\n            tracks: null\n          };\n\n          if (this.navState.selectedHistory.value === 'current') {\n            config.tracks = this.currentTracks;\n          } else {\n            config.tracks = this.allTimeTracks;\n          }\n\n          this.spotifyService.makePlaylist(config).then(function (results) {\n            console.log('playlist', results);\n\n            _this4.snackBar.open('Playlist Created in Spotify!', '', {\n              duration: 5000,\n              panelClass: 'panel-success'\n            });\n          }).catch(function (err) {\n            console.log('playlist error', err);\n\n            _this4.snackBar.open('Server Error. Please Try Again Later.', '', {\n              duration: 5000,\n              panelClass: 'panel-error'\n            });\n          });\n        }\n      }, {\n        key: \"showMore\",\n        value: function showMore() {\n          this.sliceLimit = 50;\n        }\n      }, {\n        key: \"showLess\",\n        value: function showLess() {\n          this.sliceLimit = 10;\n        }\n      }]);\n\n      return ArtistListComponent;\n    }();\n\n    ArtistListComponent.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ElementRef\"]\n      }, {\n        type: src_app_services_intersectionObserver__WEBPACK_IMPORTED_MODULE_3__[\"default\"]\n      }, {\n        type: src_app_services_infoService__WEBPACK_IMPORTED_MODULE_4__[\"InfoService\"]\n      }, {\n        type: src_app_services_spotifyAuth__WEBPACK_IMPORTED_MODULE_5__[\"TokenService\"]\n      }, {\n        type: src_app_services_spotifyService__WEBPACK_IMPORTED_MODULE_6__[\"SpotifyService\"]\n      }, {\n        type: _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_2__[\"MatSnackBar\"]\n      }];\n    };\n\n    tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Output\"])()], ArtistListComponent.prototype, \"appColor\", void 0);\n    ArtistListComponent = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Component\"])({\n      selector: 'app-artist-list',\n      template: tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(\n      /*! raw-loader!./artist-list.component.html */\n      \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/artist/artist-list/artist-list.component.html\")).default,\n      providers: [src_app_services_intersectionObserver__WEBPACK_IMPORTED_MODULE_3__[\"default\"]],\n      styles: [tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(\n      /*! ./artist-list.component.scss */\n      \"./src/app/components/artist/artist-list/artist-list.component.scss\")).default]\n    })], ArtistListComponent);\n    /***/\n  },\n\n  /***/\n  \"./src/app/components/artist/artist-nav/artist-nav.component.scss\":\n  /*!************************************************************************!*\\\n    !*** ./src/app/components/artist/artist-nav/artist-nav.component.scss ***!\n    \\************************************************************************/\n\n  /*! exports provided: default */\n\n  /***/\n  function srcAppComponentsArtistArtistNavArtistNavComponentScss(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony default export */\n\n\n    __webpack_exports__[\"default\"] = \".artist__nav {\\n  padding: 0em 2em 1em;\\n  height: 4em;\\n  width: 100%;\\n  box-sizing: border-box;\\n  position: fixed;\\n  bottom: 0;\\n  background: white;\\n  margin-left: -1em;\\n  border: 1px solid #E4E4E4;\\n}\\n.artist__nav.active {\\n  height: 70vh;\\n}\\n.artist__nav__mobile {\\n  margin-bottom: 2em;\\n  display: flex;\\n  justify-content: stretch;\\n}\\n.artist__nav__mobile button {\\n  font-size: 1em;\\n  border: none;\\n  background: none;\\n  width: 100%;\\n  text-align: right;\\n  margin-top: 1em;\\n}\\n.artist__nav__mobile button span {\\n  float: left;\\n  font-size: 24px;\\n  font-weight: bold;\\n}\\n.artist__nav__mobile button i {\\n  margin-left: 1em;\\n}\\n.artist__nav__content h2 {\\n  margin-bottom: 0.5em;\\n}\\n.artist__nav__main {\\n  margin-bottom: 2em;\\n}\\n.artist__nav__main .artist__nav__button {\\n  margin-right: 1em;\\n  font-size: 1em;\\n}\\n.artist__nav__history {\\n  margin-bottom: 2em;\\n}\\n.artist__nav__history h3 {\\n  margin-bottom: 1em;\\n}\\n.artist__nav__playlist button {\\n  background: #D8D8D8;\\n  padding: 8px 1em;\\n  font-size: 1em;\\n  border: none;\\n  font-weight: bold;\\n}\\n.artist__nav__playlist button i {\\n  margin-right: 5px;\\n}\\n.artist__nav__button {\\n  background: transparent;\\n  border: none;\\n  border-radius: 5px;\\n  font-size: 1.5em;\\n  padding: 8px 1em;\\n  border: 2px solid #e4e4e4;\\n  font-weight: bold;\\n}\\n.artist__nav__button.active {\\n  background: #A9E5AC;\\n  border: 2px solid #A9E5AC;\\n}\\n.artist__nav .select__item {\\n  margin-bottom: 1em;\\n}\\n@media screen and (min-width: 600px) {\\n  .artist__nav__content {\\n    width: 60%;\\n    max-width: 310px;\\n  }\\n}\\n@media screen and (max-width: 959px) {\\n  .artist__nav {\\n    box-shadow: 3px 14px 16px 8px #000;\\n  }\\n  .artist__nav__container {\\n    margin: 0em 0 0;\\n  }\\n\\n  .artist__nav__content {\\n    margin: 0 auto;\\n  }\\n}\\n@media screen and (min-width: 960px) {\\n  .artist__nav {\\n    padding: 1em 1em;\\n    border-radius: 5px;\\n    height: auto;\\n    box-sizing: border-box;\\n    position: static;\\n    background: white;\\n    margin-left: 0em;\\n  }\\n  .artist__nav__container {\\n    margin: 0em 0 0;\\n  }\\n  .artist__nav__content {\\n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bSAyZW0gMWVtO1xuXG4gICAgaGVpZ2h0OiA0ZW07XG4gICAgd2lkdGg6IDEwMCU7XG4gICAgYm94LXNpemluZzogYm9yZGVyLWJveDtcbiAgICBwb3NpdGlvbjogZml4ZWQ7XG4gICAgYm90dG9tOiAwO1xuICAgIGJhY2tncm91bmQ6IHdoaXRlO1xuICAgIG1hcmdpbi1sZWZ0OiAtMWVtO1xuICAgIGJvcmRlcjogMXB4IHNvbGlkICNFNEU0RTQ7XG5cbiAgICAmLmFjdGl2ZSB7XG4gICAgICAgIGhlaWdodDogNzB2aDtcbiAgICB9XG5cbiAgICAmX19tb2JpbGUge1xuICAgICAgICBtYXJnaW4tYm90dG9tOiAyZW07XG4gICAgICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgICAgIGp1c3RpZnktY29udGVudDogc3RyZXRjaDtcbiAgICAgICAgXG4gICAgICAgIGJ1dHRvbiB7XG4gICAgICAgICAgICBmb250LXNpemU6IDFlbTtcbiAgICAgICAgICAgIGJvcmRlcjogbm9uZTtcbiAgICAgICAgICAgIGJhY2tncm91bmQ6IG5vbmU7XG4gICAgICAgICAgICB3aWR0aDogMTAwJTtcbiAgICAgICAgICAgIHRleHQtYWxpZ246IHJpZ2h0O1xuICAgICAgICAgICAgbWFyZ2luLXRvcDogMWVtO1xuXG4gICAgICAgICAgICBzcGFuIHtcbiAgICAgICAgICAgICAgICBmbG9hdDogbGVmdDtcbiAgICAgICAgICAgICAgICBmb250LXNpemU6IDI0cHg7XG4gICAgICAgICAgICAgICAgZm9udC13ZWlnaHQ6IGJvbGQ7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIGkge1xuICAgICAgICAgICAgICAgIG1hcmdpbi1sZWZ0OiAxZW07XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAmX19jb250ZW50IHtcbiAgICAgICAgaDIge1xuICAgICAgICAgICAgbWFyZ2luLWJvdHRvbTogLjVlbTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIFxuICAgICZfX21haW4ge1xuICAgICAgICBtYXJnaW4tYm90dG9tOiAyZW07XG5cbiAgICAgICAgLmFydGlzdF9fbmF2X19idXR0b24ge1xuICAgICAgICAgICAgbWFyZ2luLXJpZ2h0OiAxZW07XG4gICAgICAgICAgICBmb250LXNpemU6IDFlbTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgICZfX2hpc3Rvcnkge1xuICAgICAgICBoMyB7XG4gICAgICAgICAgICBtYXJnaW4tYm90dG9tOiAxZW07XG4gICAgICAgIH1cbiAgICAgICAgbWFyZ2luLWJvdHRvbTogMmVtO1xuICAgIH1cblxuICAgICZfX3BsYXlsaXN0IHtcbiAgICAgICAgYnV0dG9uIHtcbiAgICAgICAgICAgIGJhY2tncm91bmQ6ICNEOEQ4RDg7XG4gICAgICAgICAgICBwYWRkaW5nOiA4cHggMWVtO1xuICAgICAgICAgICAgZm9udC1zaXplOiAxZW07XG4gICAgICAgICAgICBib3JkZXI6IG5vbmU7XG4gICAgICAgICAgICBmb250LXdlaWdodDogYm9sZDtcbiAgICAgICAgICAgIGkge1xuICAgICAgICAgICAgICAgIG1hcmdpbi1yaWdodDogNXB4O1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuXG4gICAgJl9fYnV0dG9uIHtcbiAgICAgICAgYmFja2dyb3VuZDogdHJhbnNwYXJlbnQ7XG4gICAgICAgIGJvcmRlcjogbm9uZTtcbiAgICAgICAgYm9yZGVyLXJhZGl1czogNXB4O1xuICAgICAgICBmb250LXNpemU6IDEuNWVtO1xuICAgICAgICBwYWRkaW5nOiA4cHggMWVtO1xuICAgICAgICBib3JkZXI6IDJweCBzb2xpZCAjZTRlNGU0O1xuICAgICAgICBmb250LXdlaWdodDogYm9sZDtcbiAgICAgICAgJi5hY3RpdmUge1xuICAgICAgICAgICAgYmFja2dyb3VuZDogJHByaW1hcnktY29sb3I7XG4gICAgICAgICAgICBib3JkZXI6IDJweCBzb2xpZCAkcHJpbWFyeS1jb2xvcjtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIC5zZWxlY3RfX2l0ZW0ge1xuICAgICAgICBtYXJnaW4tYm90dG9tOiAxZW07XG4gICAgfSAgIFxufVxuXG5AaW5jbHVkZSBndC14cyB7XG4gICAgLmFydGlzdF9fbmF2X19jb250ZW50IHtcbiAgICAgICAgd2lkdGg6IDYwJTtcbiAgICAgICAgbWF4LXdpZHRoOiAzMTBweDtcbiAgICB9XG59XG5cbkBpbmNsdWRlIGx0LW1kIHtcblxuICAgIC5hcnRpc3RfX25hdiB7XG4gICAgICAgIGJveC1zaGFkb3c6IDNweCAxNHB4IDE2cHggOHB4ICMwMDA7XG5cbiAgICAgICAgJl9fY29udGFpbmVyIHtcbiAgICAgICAgICAgIG1hcmdpbjogMGVtIDAgMDtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIC5hcnRpc3RfX25hdl9fY29udGVudCB7XG4gICAgICAgIG1hcmdpbjogMCBhdXRvO1xuICAgIH1cbn1cblxuQGluY2x1ZGUgZ3QtbWQge1xuXG4gICAgLmFydGlzdF9fbmF2IHtcbiAgICAgICAgcGFkZGluZzogMWVtIDFlbTtcbiAgICAgICAgYm9yZGVyLXJhZGl1czogNXB4O1xuXG4gICAgICAgIGhlaWdodDogYXV0bztcbiAgICAgICAgYm94LXNpemluZzogYm9yZGVyLWJveDtcbiAgICAgICAgcG9zaXRpb246IHN0YXRpYztcbiAgICAgICAgYmFja2dyb3VuZDogd2hpdGU7XG4gICAgICAgIG1hcmdpbi1sZWZ0OiAwZW07XG5cblxuICAgICAgICAmX19jb250YWluZXIge1xuICAgICAgICAgICAgbWFyZ2luOiAwZW0gMCAwO1xuICAgICAgICB9XG5cbiAgICAgICAgJl9fY29udGVudCB7XG4gICAgICAgICAgICB3aWR0aDogMTAwJTtcbiAgICAgICAgfVxuXG4gICAgICAgICZfX21vYmlsZSB7XG4gICAgICAgICAgICBkaXNwbGF5OiBub25lO1xuICAgICAgICB9XG5cbiAgICAgICAg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siLCIkdGFibGV0LXdpZHRoOiA3NjhweDtcbiRkZXNrdG9wLXdpZHRoOiAxMDI0cHg7XG5cbkBtaXhpbiB0YWJsZXQge1xuICBAbWVkaWEgKG1pbi13aWR0aDogI3skdGFibGV0LXdpZHRofSkgYW5kIChtYXgtd2lkdGg6ICN7JGRlc2t0b3Atd2lkdGggLSAxcHh9KSB7XG4gICAgQGNvbnRlbnQ7XG4gIH1cbn1cblxuQG1peGluIGRlc2t0b3Age1xuICBAbWVkaWEgKG1pbi13aWR0aDogI3skZGVza3RvcC13aWR0aH0pIHtcbiAgICBAY29udGVudDtcbiAgfVxufVxuXG5AbWl4aW4gbHQtbWQge1xuICBAbWVkaWEgc2NyZWVuIGFuZCAobWF4LXdpZHRoOiA5NTlweCkge1xuICAgIEBjb250ZW50XG4gIH1cbn1cblxuQG1peGluIGd0LW1kIHtcbiAgQG1lZGlhIHNjcmVlbiBhbmQgKG1pbi13aWR0aDogOTYwcHgpIHtcbiAgICBAY29udGVudFxuICB9XG59XG5cbkBtaXhpbiBndC14cyB7XG4gIEBtZWRpYSBzY3JlZW4gYW5kIChtaW4td2lkdGg6IDYwMHB4KSB7XG4gICAgQGNvbnRlbnRcbiAgfVxufSJdfQ== */\";\n    /***/\n  },\n\n  /***/\n  \"./src/app/components/artist/artist-nav/artist-nav.component.ts\":\n  /*!**********************************************************************!*\\\n    !*** ./src/app/components/artist/artist-nav/artist-nav.component.ts ***!\n    \\**********************************************************************/\n\n  /*! exports provided: ArtistNavComponent */\n\n  /***/\n  function srcAppComponentsArtistArtistNavArtistNavComponentTs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ArtistNavComponent\", function () {\n      return ArtistNavComponent;\n    });\n    /* harmony import */\n\n\n    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! tslib */\n    \"./node_modules/tslib/tslib.es6.js\");\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n\n    var ArtistNavComponent =\n    /*#__PURE__*/\n    function () {\n      function ArtistNavComponent() {\n        _classCallCheck(this, ArtistNavComponent);\n\n        this.updateHistory = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"EventEmitter\"]();\n        this.createPlaylist = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"EventEmitter\"]();\n        this.historyList = [];\n        this.selectedHistory = {\n          name: 'Current',\n          value: 'songs'\n        };\n      }\n\n      _createClass(ArtistNavComponent, [{\n        key: \"ngOnInit\",\n        value: function ngOnInit() {\n          console.log(this.navState);\n          this.historyList = _toConsumableArray(this.navState.historyList);\n          this.selectedHistory = this.historyList[0];\n        }\n      }, {\n        key: \"getRadioValue\",\n        value: function getRadioValue(data) {\n          var navState = {\n            listType: this.navState.listType,\n            selectedHistory: this.selectedHistory,\n            historyList: this.navState.historyList\n          };\n          this.updateHistory.next(navState);\n        }\n      }, {\n        key: \"updateArtistTrack\",\n        value: function updateArtistTrack(type) {\n          var navState = {\n            listType: type,\n            selectedHistory: this.selectedHistory,\n            historyList: this.navState.historyList\n          };\n          this.updateHistory.next(navState);\n        }\n      }, {\n        key: \"emitCreatePlaylist\",\n        value: function emitCreatePlaylist() {\n          this.createPlaylist.next(true);\n        }\n      }]);\n\n      return ArtistNavComponent;\n    }();\n\n    tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"])()], ArtistNavComponent.prototype, \"navState\", void 0);\n    tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Output\"])()], ArtistNavComponent.prototype, \"updateHistory\", void 0);\n    tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Output\"])()], ArtistNavComponent.prototype, \"createPlaylist\", void 0);\n    ArtistNavComponent = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Component\"])({\n      selector: 'app-artist-nav',\n      template: tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(\n      /*! raw-loader!./artist-nav.component.html */\n      \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/artist/artist-nav/artist-nav.component.html\")).default,\n      styles: [tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(\n      /*! ./artist-nav.component.scss */\n      \"./src/app/components/artist/artist-nav/artist-nav.component.scss\")).default]\n    })], ArtistNavComponent);\n    /***/\n  },\n\n  /***/\n  \"./src/app/components/artist/track-card/track-card.component.scss\":\n  /*!************************************************************************!*\\\n    !*** ./src/app/components/artist/track-card/track-card.component.scss ***!\n    \\************************************************************************/\n\n  /*! exports provided: default */\n\n  /***/\n  function srcAppComponentsArtistTrackCardTrackCardComponentScss(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony default export */\n\n\n    __webpack_exports__[\"default\"] = \".artist__card {\\n  width: 100%;\\n  min-width: 200px;\\n  height: 150px;\\n  position: relative;\\n  overflow: hidden;\\n  border-radius: 5px;\\n  box-shadow: 5px 5px 4px 4px rgba(0, 0, 0, 0.5);\\n  color: white;\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n}\\n.artist__card img {\\n  position: absolute;\\n  -o-object-fit: cover;\\n     object-fit: cover;\\n  width: 100%;\\n}\\n.artist__card.active {\\n  height: 200px;\\n}\\n.artist__card.active .artist__card__info {\\n  height: 100%;\\n}\\n.artist__card span {\\n  margin-top: 2px;\\n}\\n.artist__card__info {\\n  height: 60px;\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n  position: absolute;\\n  width: 100%;\\n  background: rgba(0, 0, 0, 0.55);\\n  border-radius: 5px;\\n  bottom: 0;\\n  box-sizing: border-box;\\n  padding: 1rem 0.5rem;\\n  font-size: 1.2rem;\\n}\\n.artist__card__info--secondary, .artist__card__info--primary {\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n  margin-left: 1rem;\\n}\\n.artist__card__info--primary {\\n  font-size: 1.2em;\\n  margin-bottom: 0.5rem;\\n}\\n.artist__card__external {\\n  color: white;\\n  cursor: pointer;\\n}\\n.artist__card button {\\n  margin-top: 1em;\\n  background: transparent;\\n  width: 125px;\\n  text-align: center;\\n  font-size: 12px;\\n  color: #fff;\\n  display: block;\\n  border-radius: 25px;\\n  font-weight: 700;\\n  margin: 1em auto 0;\\n  border: 2px solid #A9E5AC;\\n  padding: 1em;\\n  cursor: pointer;\\n}\\n@media (min-width: 768px) and (max-width: 1023px) {\\n  .artist__card {\\n    height: 150px;\\n    width: 200px;\\n    margin-bottom: 1em;\\n  }\\n  .artist__card.active {\\n    height: 150px;\\n  }\\n}\\n@media (min-width: 1024px) {\\n  .artist__card {\\n    height: 170px;\\n    width: 220px;\\n    margin-bottom: 1em;\\n  }\\n  .artist__card__info {\\n    font-size: 1rem;\\n  }\\n  .artist__card.active {\\n    height: 170px;\\n  }\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9Vc2Vycy9hbGV4L0Rlc2t0b3Avb2JzY3VyaWZ5My9zcmMvYXBwL2NvbXBvbmVudHMvYXJ0aXN0L3RyYWNrLWNhcmQvdHJhY2stY2FyZC5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvY29tcG9uZW50cy9hcnRpc3QvdHJhY2stY2FyZC90cmFjay1jYXJkLmNvbXBvbmVudC5zY3NzIiwiL1VzZXJzL2FsZXgvRGVza3RvcC9vYnNjdXJpZnkzL3NyYy9hcHAvc2Nzcy9fbWl4aW5z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lkdGg6IDEwMCU7XG4gICAgICAgIGJhY2tncm91bmQ6IHJnYmEoMCwwLDAsLjU1KTtcbiAgICAgICAgYm9yZGVyLXJhZGl1czogNXB4O1xuICAgICAgICBib3R0b206IDA7ICBcbiAgICAgICAgYm94LXNpemluZzogYm9yZGVyLWJveDsgIFxuICAgICAgICBwYWRkaW5nOiAxcmVtIDAuNXJlbTtcbiAgICAgICAgZm9udC1zaXplOiAxLjJyZW07XG5cbiAgICAgICAgJi0tc2Vjb25kYXJ5LCAmLS1wcmltYXJ5IHtcbiAgICAgICAgICAgIHRyYW5zaXRpb246IC4zcyBjdWJpYy1iZXppZXIoLjI1LC4xLC4yNSwxKTtcbiAgICAgICAgICAgIG1hcmdpbi1sZWZ0OiAxcmVtO1xuICAgICAgICB9XG5cbiAgICAgICAgJi0tcHJpbWFyeSB7XG4gICAgICAgICAgICBmb250LXNpemU6IDEuMmVtO1xuICAgICAgICAgICAgbWFyZ2luLWJvdHRvbTogMC41cmVtO1xuXG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAmX19leHRlcm5hbCB7XG4gICAgICAgIGNvbG9yOiB3aGl0ZTtcbiAgICAgICAgY3Vyc29yOiBwb2ludGVyO1xuICAgIH1cblxuICAgIGJ1dHRvbiB7XG4gICAgICAgIG1hcmdpbi10b3A6IDFlbTtcbiAgICAgICAgYmFja2dyb3VuZDogdHJhbnNwYXJlbnQ7XG4gICAgICAgIHdpZHRoOiAxMjVweDtcbiAgICAgICAgdGV4dC1hbGlnbjogY2VudGVyO1xuICAgICAgICBmb250LXNpemU6IDEycHg7XG4gICAgICAgIGNvbG9yOiAjZmZmO1xuICAgICAgICBkaXNwbGF5OiBibG9jaztcbiAgICAgICAgYm9yZGVyLXJhZGl1czogMjVweDtcbiAgICAgICAgZm9udC13ZWlnaHQ6IDcwMDtcbiAgICAgICAgbWFyZ2luOiAxZW0gYXV0byAwO1xuICAgICAgICBib3JkZXI6IDJweCBzb2xpZCAkcHJpbWFyeS1jb2xvcjt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9KSB7XG4gICAgQGNvbnRlbnQ7XG4gIH1cbn1cblxuQG1peGluIGRlc2t0b3Age1xuICBAbWVkaWEgKG1pbi13aWR0aDogI3skZGVza3RvcC13aWR0aH0pIHtcbiAgICBAY29udGVudDtcbiAgfVxufVxuXG5AbWl4aW4gbHQtbWQge1xuICBAbWVkaWEgc2NyZWVuIGFuZCAobWF4LXdpZHRoOiA5NTlweCkge1xuICAgIEBjb250ZW50XG4gIH1cbn1cblxuQG1peGluIGd0LW1kIHtcbiAgQG1lZGlhIHNjcmVlbiBhbmQgKG1pbi13aWR0aDogOTYwcHgpIHtcbiAgICBAY29udGVudFxuICB9XG59XG5cbkBtaXhpbiBndC14cyB7XG4gIEBtZWRpYSBzY3JlZW4gYW5kIChtaW4td2lkdGg6IDYwMHB4KSB7XG4gICAgQGNvbnRlbnRcbiAgfVxufSJdfQ== */\";\n    /***/\n  },\n\n  /***/\n  \"./src/app/components/artist/track-card/track-card.component.ts\":\n  /*!**********************************************************************!*\\\n    !*** ./src/app/components/artist/track-card/track-card.component.ts ***!\n    \\**********************************************************************/\n\n  /*! exports provided: TrackCardComponent */\n\n  /***/\n  function srcAppComponentsArtistTrackCardTrackCardComponentTs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TrackCardComponent\", function () {\n      return TrackCardComponent;\n    });\n    /* harmony import */\n\n\n    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! tslib */\n    \"./node_modules/tslib/tslib.es6.js\");\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var src_app_services_browserCheck__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! src/app/services/browserCheck */\n    \"./src/app/services/browserCheck.ts\");\n    /* harmony import */\n\n\n    var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! @angular/platform-browser */\n    \"./node_modules/@angular/platform-browser/fesm2015/platform-browser.js\");\n\n    var TrackCardComponent =\n    /*#__PURE__*/\n    function () {\n      function TrackCardComponent(browserCheck, sanitizer) {\n        _classCallCheck(this, TrackCardComponent);\n\n        this.browserCheck = browserCheck;\n        this.sanitizer = sanitizer;\n        this.activeView = false;\n      }\n\n      _createClass(TrackCardComponent, [{\n        key: \"onClick\",\n        value: function onClick(btn) {\n          if (this.browserCheck.isDevice) {\n            this.activeView = !this.activeView;\n          }\n        }\n      }, {\n        key: \"onMouseEnter\",\n        value: function onMouseEnter(btn) {\n          if (this.browserCheck.checkIfBrowser && !this.browserCheck.isDevice) {\n            this.activeView = true;\n          }\n        }\n      }, {\n        key: \"onMouseLeave\",\n        value: function onMouseLeave(btn) {\n          if (this.browserCheck.checkIfBrowser && !this.browserCheck.isDevice) {\n            this.activeView = false;\n          }\n        }\n      }, {\n        key: \"ngOnInit\",\n        value: function ngOnInit() {}\n      }]);\n\n      return TrackCardComponent;\n    }();\n\n    TrackCardComponent.ctorParameters = function () {\n      return [{\n        type: src_app_services_browserCheck__WEBPACK_IMPORTED_MODULE_2__[\"default\"]\n      }, {\n        type: _angular_platform_browser__WEBPACK_IMPORTED_MODULE_3__[\"DomSanitizer\"]\n      }];\n    };\n\n    tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"])()], TrackCardComponent.prototype, \"track\", void 0);\n    tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"])()], TrackCardComponent.prototype, \"i\", void 0);\n    tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"HostListener\"])('touchend', ['$event.target'])], TrackCardComponent.prototype, \"onClick\", null);\n    tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"HostListener\"])('mouseenter', ['$event.target'])], TrackCardComponent.prototype, \"onMouseEnter\", null);\n    tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"HostListener\"])('mouseleave', ['$event.target'])], TrackCardComponent.prototype, \"onMouseLeave\", null);\n    TrackCardComponent = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Component\"])({\n      selector: 'app-track-card',\n      template: tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(\n      /*! raw-loader!./track-card.component.html */\n      \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/artist/track-card/track-card.component.html\")).default,\n      styles: [tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(\n      /*! ./track-card.component.scss */\n      \"./src/app/components/artist/track-card/track-card.component.scss\")).default]\n    })], TrackCardComponent);\n    /***/\n  },\n\n  /***/\n  \"./src/app/components/footer/footer.component.scss\":\n  /*!*********************************************************!*\\\n    !*** ./src/app/components/footer/footer.component.scss ***!\n    \\*********************************************************/\n\n  /*! exports provided: default */\n\n  /***/\n  function srcAppComponentsFooterFooterComponentScss(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony default export */\n\n\n    __webpack_exports__[\"default\"] = \"footer {\\n  min-height: 100px;\\n  padding: 3em;\\n  background-color: rgba(0, 0, 0, 0.8);\\n  color: white;\\n  bottom: 0;\\n}\\nfooter a {\\n  color: white;\\n  text-decoration: none;\\n  margin-bottom: 1em;\\n}\\nfooter a:hover, footer a:focus {\\n  text-decoration: underline;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2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IDA7XG59XG5mb290ZXIgYSB7XG4gIGNvbG9yOiB3aGl0ZTtcbiAgdGV4dC1kZWNvcmF0aW9uOiBub25lO1xuICBtYXJnaW4tYm90dG9tOiAxZW07XG59XG5mb290ZXIgYTpob3ZlciwgZm9vdGVyIGE6Zm9jdXMge1xuICB0ZXh0LWRlY29yYXRpb246IHVuZGVybGluZTtcbn0iXX0= */\";\n    /***/\n  },\n\n  /***/\n  \"./src/app/components/footer/footer.component.ts\":\n  /*!*******************************************************!*\\\n    !*** ./src/app/components/footer/footer.component.ts ***!\n    \\*******************************************************/\n\n  /*! exports provided: FooterComponent */\n\n  /***/\n  function srcAppComponentsFooterFooterComponentTs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FooterComponent\", function () {\n      return FooterComponent;\n    });\n    /* harmony import */\n\n\n    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! tslib */\n    \"./node_modules/tslib/tslib.es6.js\");\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! @angular/router */\n    \"./node_modules/@angular/router/fesm2015/router.js\");\n\n    var FooterComponent =\n    /*#__PURE__*/\n    function () {\n      function FooterComponent(router) {\n        _classCallCheck(this, FooterComponent);\n\n        this.router = router;\n      }\n\n      _createClass(FooterComponent, [{\n        key: \"ngOnInit\",\n        value: function ngOnInit() {}\n      }]);\n\n      return FooterComponent;\n    }();\n\n    FooterComponent.ctorParameters = function () {\n      return [{\n        type: _angular_router__WEBPACK_IMPORTED_MODULE_2__[\"Router\"]\n      }];\n    };\n\n    tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"])()], FooterComponent.prototype, \"login\", void 0);\n    FooterComponent = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Component\"])({\n      selector: 'app-footer',\n      template: tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(\n      /*! raw-loader!./footer.component.html */\n      \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/footer/footer.component.html\")).default,\n      styles: [tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(\n      /*! ./footer.component.scss */\n      \"./src/app/components/footer/footer.component.scss\")).default]\n    })], FooterComponent);\n    /***/\n  },\n\n  /***/\n  \"./src/app/components/home/home.component.scss\":\n  /*!*****************************************************!*\\\n    !*** ./src/app/components/home/home.component.scss ***!\n    \\*****************************************************/\n\n  /*! exports provided: default */\n\n  /***/\n  function srcAppComponentsHomeHomeComponentScss(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony default export */\n\n\n    __webpack_exports__[\"default\"] = \".app {\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n  padding: 0 1em;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9Vc2Vycy9hbGV4L0Rlc2t0b3Avb2JzY3VyaWZ5My9zcmMvYXBwL2NvbXBvbmVudHMvaG9tZS9ob21lLmNvbXBvbmVudC5zY3NzIiwic3JjL2FwcC9jb21wb25lbnRzL2hvbWUvaG9tZS5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNJLGlEQUFBO0VBQ0EsY0FBQTtBQ0NKIiwiZmlsZSI6InNyYy9hcHAvY29tcG9uZW50cy9ob21lL2hvbWUuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuYXBwIHtcbiAgICB0cmFuc2l0aW9uOiAuM3MgY3ViaWMtYmV6aWVyKC4yNSwuMSwuMjUsMSk7XG4gICAgcGFkZGluZzogMCAxZW07XG59IiwiLmFwcCB7XG4gIHRyYW5zaXRpb246IDAuM3MgY3ViaWMtYmV6aWVyKDAuMjUsIDAuMSwgMC4yNSwgMSk7XG4gIHBhZGRpbmc6IDAgMWVtO1xufSJdfQ== */\";\n    /***/\n  },\n\n  /***/\n  \"./src/app/components/home/home.component.ts\":\n  /*!***************************************************!*\\\n    !*** ./src/app/components/home/home.component.ts ***!\n    \\***************************************************/\n\n  /*! exports provided: HomeComponent */\n\n  /***/\n  function srcAppComponentsHomeHomeComponentTs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"HomeComponent\", function () {\n      return HomeComponent;\n    });\n    /* harmony import */\n\n\n    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! tslib */\n    \"./node_modules/tslib/tslib.es6.js\");\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var _services_spotifyAuth__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../../services/spotifyAuth */\n    \"./src/app/services/spotifyAuth/index.ts\");\n    /* harmony import */\n\n\n    var ngx_cookie_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ngx-cookie-service */\n    \"./node_modules/ngx-cookie-service/fesm2015/ngx-cookie-service.js\");\n    /* harmony import */\n\n\n    var _angular_router__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! @angular/router */\n    \"./node_modules/@angular/router/fesm2015/router.js\");\n    /* harmony import */\n\n\n    var _services_infoService__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\n    /*! ../../services/infoService */\n    \"./src/app/services/infoService.ts\");\n    /* harmony import */\n\n\n    var src_app_services_obscurifyService__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(\n    /*! src/app/services/obscurifyService */\n    \"./src/app/services/obscurifyService.ts\");\n\n    var HomeComponent =\n    /*#__PURE__*/\n    function () {\n      function HomeComponent(tokenSvc, cookieService, router, infoSvc, authService, obscurifyService) {\n        _classCallCheck(this, HomeComponent);\n\n        this.tokenSvc = tokenSvc;\n        this.cookieService = cookieService;\n        this.router = router;\n        this.infoSvc = infoSvc;\n        this.authService = authService;\n        this.obscurifyService = obscurifyService;\n        this.stream = null;\n        this.bgColor = '#A9E5AC';\n      }\n\n      _createClass(HomeComponent, [{\n        key: \"setColor\",\n        value: function setColor(val) {\n          switch (val) {\n            case 1:\n              this.bgColor = '#A9E5AC';\n              break;\n\n            case 2:\n              this.bgColor = '#FFA69E';\n              break;\n\n            case 3:\n              this.bgColor = 'rgba(0,0,0,0.9)';\n              break;\n\n            case 4:\n              this.bgColor = '#FFF';\n              break;\n\n            case 5:\n              this.bgColor = '#759398';\n              break;\n          }\n        }\n      }, {\n        key: \"ngOnInit\",\n        value: function ngOnInit() {\n          var _this5 = this;\n\n          var cookie = this.cookieService.get('spotifyResponse');\n\n          if (cookie || this.tokenSvc.oAuthToken.spotifyToken) {\n            this.tokenSvc.setAuthTokenCache(cookie);\n            this.authService.authorized();\n          } else {\n            this.tokenSvc.clearToken();\n            this.router.navigate(['login']);\n          }\n\n          var stream = this.tokenSvc.authTokens.pipe(function (x) {\n            return _this5.infoSvc.fetchUserInfo();\n          });\n          stream.subscribe(function (user) {});\n          this.infoSvc.getUserStream().subscribe(function (user) {\n            if (user.userInfo && user.allTimeObscurifyScore) {\n              _this5.obscurifyService.getObscurifyData(user.userInfo.country, user.allTimeObscurifyScore, user.recentObscurifyScore).subscribe(function (data) {\n                console.log('obscurify data', data);\n              });\n            }\n          });\n        }\n      }]);\n\n      return HomeComponent;\n    }();\n\n    HomeComponent.ctorParameters = function () {\n      return [{\n        type: _services_spotifyAuth__WEBPACK_IMPORTED_MODULE_2__[\"TokenService\"]\n      }, {\n        type: ngx_cookie_service__WEBPACK_IMPORTED_MODULE_3__[\"CookieService\"]\n      }, {\n        type: _angular_router__WEBPACK_IMPORTED_MODULE_4__[\"Router\"]\n      }, {\n        type: _services_infoService__WEBPACK_IMPORTED_MODULE_5__[\"InfoService\"]\n      }, {\n        type: _services_spotifyAuth__WEBPACK_IMPORTED_MODULE_2__[\"AuthService\"]\n      }, {\n        type: src_app_services_obscurifyService__WEBPACK_IMPORTED_MODULE_6__[\"default\"]\n      }];\n    };\n\n    HomeComponent = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Component\"])({\n      selector: 'app-home',\n      template: tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(\n      /*! raw-loader!./home.component.html */\n      \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/home/home.component.html\")).default,\n      styles: [tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(\n      /*! ./home.component.scss */\n      \"./src/app/components/home/home.component.scss\")).default]\n    })], HomeComponent);\n    /***/\n  },\n\n  /***/\n  \"./src/app/components/intro/intro.component.scss\":\n  /*!*******************************************************!*\\\n    !*** ./src/app/components/intro/intro.component.scss ***!\n    \\*******************************************************/\n\n  /*! exports provided: default */\n\n  /***/\n  function srcAppComponentsIntroIntroComponentScss(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony default export */\n\n\n    __webpack_exports__[\"default\"] = \"nav {\\n  max-width: 1024px;\\n  padding: 1em 1em;\\n  margin: 0 auto;\\n  color: rgba(0, 0, 0, 0.5);\\n}\\nnav i {\\n  font-size: 2em;\\n  cursor: pointer;\\n}\\nnav button {\\n  background: none;\\n  border: none;\\n  display: flex;\\n  flex-direction: row;\\n  align-items: center;\\n  font-size: 1em;\\n  font-weight: bold;\\n}\\nnav button i {\\n  margin-left: 5px;\\n}\\n.welcome {\\n  width: 100%;\\n  font-size: 2em;\\n  padding-top: 140px;\\n  text-align: center;\\n}\\n.welcome span {\\n  color: #A9E5AC;\\n}\\n.profile {\\n  width: 100%;\\n  padding: 140px 0;\\n  text-align: center;\\n}\\n.profile__image {\\n  width: 100px;\\n  height: 100px;\\n  margin: 0 auto 2em;\\n  background: #e5e5e5;\\n  border-radius: 50%;\\n}\\n.profile__image img {\\n  width: 100%;\\n  height: auto;\\n  border-radius: 50%;\\n}\\n.profile__header {\\n  max-width: 600px;\\n  text-align: center;\\n  font-size: 2em;\\n}\\n@media (min-width: 1024px) {\\n  .profile__image {\\n    width: 200px;\\n    height: 200px;\\n  }\\n  .profile__header {\\n    font-size: 3em;\\n  }\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9Vc2Vycy9hbGV4L0Rlc2t0b3Avb2JzY3VyaWZ5My9zcmMvYXBwL2NvbXBvbmVudHMvaW50cm8vaW50cm8uY29tcG9uZW50LnNjc3MiLCJzcmMvYXBwL2NvbXBvbmVudHMvaW50cm8vaW50cm8uY29tcG9uZW50LnNjc3MiLCIvVXNlcnMvYWxleC9EZXNrdG9wL29ic2N1cmlmeTMvc3JjL2FwcC9zY3NzL192YXJpYWJsZXMuc2NzcyIsIi9Vc2Vycy9hbGV4L0Rlc2t0b3Avb2JzY3VyaWZ5My9zcmMvYXBwL3Njc3MvX21peGlucy5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUdBO0VBQ0ksaUJBQUE7RUFDQSxnQkFBQTtFQUNBLGNBQUE7RUFFQSx5QkFBQTtBQ0hKO0FES0k7RUFDSSxjQUFBO0VBQ0EsZUFBQTtBQ0hSO0FETUk7RUFDSSxnQkFBQTtF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biAgICAgICAgZmxleC1kaXJlY3Rpb246IHJvdztcbiAgICAgICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgICAgICAgZm9udC1zaXplOiAxZW07XG4gICAgICAgIGZvbnQtd2VpZ2h0OiBib2xkO1xuICAgICAgICBpIHtcbiAgICAgICAgICAgIG1hcmdpbi1sZWZ0OiA1cHg7XG4gICAgICAgIH1cbiAgICB9XG59XG5cbi53ZWxjb21lIHtcbiAgICB3aWR0aDogMTAwJTtcbiAgICBmb250LXNpemU6IDJlbTtcbiAgICBwYWRkaW5nLXRvcDogMTQwcHg7XG4gICAgdGV4dC1hbGlnbjogY2VudGVyO1xuICAgIHNwYW4ge1xuICAgICAgICBjb2xvcjogJHByaW1hcnktY29sb3I7XG4gICAgfVxufVxuXG4ucHJvZmlsZSB7XG4gICAgd2lkdGg6IDEwMCU7XG4gICAgcGFkZGluZzogMTQwcHggMDtcbiAgICB0ZXh0LWFsaWduOiBjZW50ZXI7XG5cbiAgICAmX19pbWFnZSB7XG4gICAgICAgIHdpZHRoOiAxMDBweDtcbiAgICAgICAgaGVpZ2h0OiAxMDBweDtcbiAgICAgICAgbWFyZ2luOiAwIGF1dG8gMmVtO1xuICAgICAgICBiYWNrZ3JvdW5kOiAjZTVlNWU1O1xuICAgICAgICBib3JkZXItcmFkaXVzOiA1MCU7XG5cbiAgICAgICAgaW1nIHtcbiAgICAgICAgICAgIHdpZHRoOiAxMDAlO1xuICAgICAgICAgICAgaGVpZ2h0OiBhdXRvO1xuICAgICAgICAgICAgYm9yZGVyLXJhZGl1czogNTAlO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgJl9faGVhZGVyIHtcbiAgICAgICAgbWF4LXdpZHRoOiA2MDBweDtcbiAgICAgICAgdGV4dC1hbGlnbjogY2VudGVyO1xuICAgICAgICBmb250LXNpemU6IDJlbTtcbiAgICB9XG59XG5cblxuQGluY2x1ZGUgZGVza3RvcCB7XG5cbiAgICAucHJvZmlsZSB7XG4gICAgICAgIC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B7XG4gICAgQGNvbnRlbnRcbiAgfVxufVxuXG5AbWl4aW4gZ3QtbWQge1xuICBAbWVkaWEgc2NyZWVuIGFuZCAobWluLXdpZHRoOiA5NjBweCkge1xuICAgIEBjb250ZW50XG4gIH1cbn1cblxuQG1peGluIGd0LXhzIHtcbiAgQG1lZGlhIHNjcmVlbiBhbmQgKG1pbi13aWR0aDogNjAwcHgpIHtcbiAgICBAY29udGVudFxuICB9XG59Il19 */\";\n    /***/\n  },\n\n  /***/\n  \"./src/app/components/intro/intro.component.ts\":\n  /*!*****************************************************!*\\\n    !*** ./src/app/components/intro/intro.component.ts ***!\n    \\*****************************************************/\n\n  /*! exports provided: IntroComponent */\n\n  /***/\n  function srcAppComponentsIntroIntroComponentTs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"IntroComponent\", function () {\n      return IntroComponent;\n    });\n    /* harmony import */\n\n\n    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! tslib */\n    \"./node_modules/tslib/tslib.es6.js\");\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var src_app_services_intersectionObserver__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! src/app/services/intersectionObserver */\n    \"./src/app/services/intersectionObserver.ts\");\n    /* harmony import */\n\n\n    var src_app_services_infoService__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! src/app/services/infoService */\n    \"./src/app/services/infoService.ts\");\n\n    var IntroComponent =\n    /*#__PURE__*/\n    function () {\n      function IntroComponent(element, intersectionObserverService, infoSvc) {\n        _classCallCheck(this, IntroComponent);\n\n        this.element = element;\n        this.intersectionObserverService = intersectionObserverService;\n        this.infoSvc = infoSvc;\n        this.appColor = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"EventEmitter\"]();\n      }\n\n      _createClass(IntroComponent, [{\n        key: \"updateAppBackgroundColor\",\n        value: function updateAppBackgroundColor() {\n          this.appColor.emit(4);\n        }\n      }, {\n        key: \"ngOnInit\",\n        value: function ngOnInit() {\n          var _this6 = this;\n\n          this.infoSvc.getUserStream().subscribe(function (user) {\n            console.log('user', user);\n\n            if (user.userInfo) {\n              _this6.userImage = user.userInfo.images[0].url;\n              _this6.userName = user.userInfo.display_name;\n            }\n          });\n        }\n      }, {\n        key: \"ngAfterViewInit\",\n        value: function ngAfterViewInit() {\n          var _this7 = this;\n\n          this.intersectionObserverService.init(this.element.nativeElement, {\n            threshold: 0.70\n          });\n          this.intersectionObserverSubs = this.intersectionObserverService.getSubject().subscribe(function (el) {\n            if (el.isIntersecting) {\n              _this7.updateAppBackgroundColor();\n            }\n          });\n        }\n      }]);\n\n      return IntroComponent;\n    }();\n\n    IntroComponent.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ElementRef\"]\n      }, {\n        type: src_app_services_intersectionObserver__WEBPACK_IMPORTED_MODULE_2__[\"default\"]\n      }, {\n        type: src_app_services_infoService__WEBPACK_IMPORTED_MODULE_3__[\"InfoService\"]\n      }];\n    };\n\n    tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Output\"])()], IntroComponent.prototype, \"appColor\", void 0);\n    IntroComponent = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Component\"])({\n      selector: 'app-intro',\n      template: tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(\n      /*! raw-loader!./intro.component.html */\n      \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/intro/intro.component.html\")).default,\n      providers: [src_app_services_intersectionObserver__WEBPACK_IMPORTED_MODULE_2__[\"default\"]],\n      styles: [tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(\n      /*! ./intro.component.scss */\n      \"./src/app/components/intro/intro.component.scss\")).default]\n    })], IntroComponent);\n    /***/\n  },\n\n  /***/\n  \"./src/app/components/login/login.component.scss\":\n  /*!*******************************************************!*\\\n    !*** ./src/app/components/login/login.component.scss ***!\n    \\*******************************************************/\n\n  /*! exports provided: default */\n\n  /***/\n  function srcAppComponentsLoginLoginComponentScss(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony default export */\n\n\n    __webpack_exports__[\"default\"] = \"main {\\n  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('login-background.jpg');\\n  background-size: cover;\\n  background-position: center;\\n  width: 100%;\\n  height: 100%;\\n  display: flex;\\n  flex-direction: column;\\n  justify-content: center;\\n  align-items: center;\\n  color: white;\\n}\\nmain .login__container {\\n  width: 320px;\\n}\\nmain h1 {\\n  color: #fff;\\n  font-size: 48px;\\n  color: #FFFFFF;\\n  letter-spacing: 1.92px;\\n  text-align: center;\\n  top: 118px;\\n  font-weight: bold;\\n  margin-bottom: 1rem;\\n}\\nmain h1 span {\\n  color: #65D26E;\\n  font-size: inherit;\\n  letter-spacing: 1.92px;\\n  text-align: center;\\n  font-weight: bold;\\n}\\nmain p {\\n  margin-bottom: 3rem;\\n}\\nmain .login {\\n  width: 258px;\\n  height: 70px;\\n  margin: 0 auto;\\n  border-radius: 2px;\\n  background: #65d26e;\\n  display: flex;\\n  justify-content: center;\\n  align-items: center;\\n  cursor: pointer;\\n}\\nmain .login:hover .login__btn, main .login :focus .login__btn {\\n  opacity: 0.7;\\n}\\nmain .login__btn {\\n  font-size: 16px;\\n  color: #FFFFFF;\\n  letter-spacing: 1.49px;\\n  text-align: center;\\n  text-decoration: none;\\n  font-weight: bold;\\n  background: transparent;\\n}\\n/*# sour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XIgLmxvZ2luX19idG4sIG1haW4gLmxvZ2luIDpmb2N1cyAubG9naW5fX2J0biB7XG4gIG9wYWNpdHk6IDAuNztcbn1cbm1haW4gLmxvZ2luX19idG4ge1xuICBmb250LXNpemU6IDE2cHg7XG4gIGNvbG9yOiAjRkZGRkZGO1xuICBsZXR0ZXItc3BhY2luZzogMS40OXB4O1xuICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gIHRleHQtZGVjb3JhdGlvbjogbm9uZTtcbiAgZm9udC13ZWlnaHQ6IGJvbGQ7XG4gIGJhY2tncm91bmQ6IHRyYW5zcGFyZW50O1xufSJdfQ== */\";\n    /***/\n  },\n\n  /***/\n  \"./src/app/components/login/login.component.ts\":\n  /*!*****************************************************!*\\\n    !*** ./src/app/components/login/login.component.ts ***!\n    \\*****************************************************/\n\n  /*! exports provided: LoginComponent */\n\n  /***/\n  function srcAppComponentsLoginLoginComponentTs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"LoginComponent\", function () {\n      return LoginComponent;\n    });\n    /* harmony import */\n\n\n    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! tslib */\n    \"./node_modules/tslib/tslib.es6.js\");\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var _services_spotifyAuth_index__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../../services/spotifyAuth/index */\n    \"./src/app/services/spotifyAuth/index.ts\");\n    /* harmony import */\n\n\n    var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! @angular/router */\n    \"./node_modules/@angular/router/fesm2015/router.js\");\n    /* harmony import */\n\n\n    var ngx_cookie_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! ngx-cookie-service */\n    \"./node_modules/ngx-cookie-service/fesm2015/ngx-cookie-service.js\");\n\n    var LoginComponent =\n    /*#__PURE__*/\n    function () {\n      function LoginComponent(authService, tokenSvc, router, cookieService) {\n        _classCallCheck(this, LoginComponent);\n\n        this.authService = authService;\n        this.tokenSvc = tokenSvc;\n        this.router = router;\n        this.cookieService = cookieService;\n      }\n\n      _createClass(LoginComponent, [{\n        key: \"ngOnInit\",\n        value: function ngOnInit() {\n          if (!!this.tokenSvc.oAuthToken.spotifyToken) {\n            this.router.navigate(['home']);\n          }\n        }\n      }, {\n        key: \"login\",\n        value: function login() {\n          var cookie = this.cookieService.get('spotifyResponse');\n\n          if (cookie) {\n            // this.tokenSvc.setAuthTokenCache(cookie);\n            this.authService.authorized();\n          } else {\n            this.authService.authorize();\n          }\n        }\n      }]);\n\n      return LoginComponent;\n    }();\n\n    LoginComponent.ctorParameters = function () {\n      return [{\n        type: _services_spotifyAuth_index__WEBPACK_IMPORTED_MODULE_2__[\"AuthService\"]\n      }, {\n        type: _services_spotifyAuth_index__WEBPACK_IMPORTED_MODULE_2__[\"TokenService\"]\n      }, {\n        type: _angular_router__WEBPACK_IMPORTED_MODULE_3__[\"Router\"]\n      }, {\n        type: ngx_cookie_service__WEBPACK_IMPORTED_MODULE_4__[\"CookieService\"]\n      }];\n    };\n\n    LoginComponent = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Component\"])({\n      selector: 'app-login',\n      template: tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(\n      /*! raw-loader!./login.component.html */\n      \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/login/login.component.html\")).default,\n      styles: [tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(\n      /*! ./login.component.scss */\n      \"./src/app/components/login/login.component.scss\")).default]\n    })], LoginComponent);\n    /***/\n  },\n\n  /***/\n  \"./src/app/components/moods-graph/moods-graph.component.scss\":\n  /*!*******************************************************************!*\\\n    !*** ./src/app/components/moods-graph/moods-graph.component.scss ***!\n    \\*******************************************************************/\n\n  /*! exports provided: default */\n\n  /***/\n  function srcAppComponentsMoodsGraphMoodsGraphComponentScss(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony default export */\n\n\n    __webpack_exports__[\"default\"] = \".header__title {\\n  font-size: 3em;\\n  border-bottom: 8px black solid;\\n  width: -webkit-fit-content;\\n  width: -moz-fit-content;\\n  width: fit-content;\\n  padding-bottom: 0.2em;\\n  margin: 0;\\n}\\n\\n.moods-graph {\\n  max-width: 620px;\\n  margin: 0 auto;\\n  display: flex;\\n  flex-direction: column;\\n  padding: 5rem 0;\\n  opacity: 0;\\n  transform: translateY(100px);\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n  align-items: flex-start;\\n}\\n\\n.moods-graph.show {\\n  opacity: 1;\\n  transform: translateY(0px);\\n}\\n\\n.moods-graph__container {\\n  margin-top: 1em;\\n}\\n\\n.moods-graph__container--right {\\n  align-self: flex-end;\\n}\\n\\n.moods-graph__container--right h3 {\\n  text-align: right;\\n}\\n\\n.moods-graph__content {\\n  margin-top: 2em;\\n}\\n\\n.moods-graph__content h3 {\\n  font-size: 36px;\\n}\\n\\n.moods-graph__card {\\n  padding: 1em;\\n  background-color: white;\\n  margin-top: 1em;\\n  display: flex;\\n  border-radius: 5px;\\n}\\n\\n.moods-graph__card--reverse {\\n  flex-direction: row-reverse;\\n}\\n\\n.moods-graph__card__header {\\n  font-size: 24px;\\n  margin-bottom: 0.5em;\\n}\\n\\n.moods-graph__card__paragraph {\\n  font-family: -apple-system, BlinkMacSystemFont, \\\"Segoe UI\\\";\\n  font-weight: normal;\\n}\\n\\n.moods-graph__card__container {\\n  width: 50%;\\n}\\n\\n.equalizer-container {\\n  height: 100px;\\n  display: flex;\\n  align-items: center;\\n  position: relative;\\n  justify-content: center;\\n}\\n\\n.equalizer-container .bar {\\n  width: 8px;\\n  min-height: 10px;\\n  margin-right: 2px;\\n  transition: all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);\\n  will-change: transform;\\n  transform: scaleY(1);\\n  position: relative;\\n}\\n\\n.equalizer-container.level-one .bar:nth-child(0) {\\n  background-color: #81D6E3;\\n  -webkit-animation: grow-one0 2134ms alternate infinite;\\n          animation: grow-one0 2134ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-one0 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-one0 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-one .bar:nth-child(1) {\\n  background-color: #81D6E3;\\n  -webkit-animation: grow-one1 2198ms alternate infinite;\\n          animation: grow-one1 2198ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-one1 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-one1 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-one .bar:nth-child(2) {\\n  background-color: #81D6E3;\\n  -webkit-animation: grow-one2 1651ms alternate infinite;\\n          animation: grow-one2 1651ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-one2 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-one2 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-one .bar:nth-child(3) {\\n  background-color: #81D6E3;\\n  -webkit-animation: grow-one3 1676ms alternate infinite;\\n          animation: grow-one3 1676ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-one3 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-one3 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-one .bar:nth-child(4) {\\n  background-color: #81D6E3;\\n  -webkit-animation: grow-one4 1690ms alternate infinite;\\n          animation: grow-one4 1690ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-one4 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-one4 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-one .bar:nth-child(5) {\\n  background-color: #81D6E3;\\n  -webkit-animation: grow-one5 2043ms alternate infinite;\\n          animation: grow-one5 2043ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-one5 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-one5 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-one .bar:nth-child(6) {\\n  background-color: #81D6E3;\\n  -webkit-animation: grow-one6 1642ms alternate infinite;\\n          animation: grow-one6 1642ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-one6 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-one6 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-one .bar:nth-child(7) {\\n  background-color: #81D6E3;\\n  -webkit-animation: grow-one7 1833ms alternate infinite;\\n          animation: grow-one7 1833ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-one7 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-one7 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-one .bar:nth-child(8) {\\n  background-color: #81D6E3;\\n  -webkit-animation: grow-one8 1861ms alternate infinite;\\n          animation: grow-one8 1861ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-one8 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-one8 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-one .bar:nth-child(9) {\\n  background-color: #81D6E3;\\n  -webkit-animation: grow-one9 1945ms alternate infinite;\\n          animation: grow-one9 1945ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-one9 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-one9 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-one .bar:nth-child(10) {\\n  background-color: #81D6E3;\\n  -webkit-animation: grow-one10 1960ms alternate infinite;\\n          animation: grow-one10 1960ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-one10 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-one10 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-one .bar:nth-child(11) {\\n  background-color: #81D6E3;\\n  -webkit-animation: grow-one11 2068ms alternate infinite;\\n          animation: grow-one11 2068ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-one11 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-one11 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-one .bar:nth-child(12) {\\n  background-color: #81D6E3;\\n  -webkit-animation: grow-one12 1708ms alternate infinite;\\n          animation: grow-one12 1708ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-one12 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-one12 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-two .bar:nth-child(0) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-two0 1611ms alternate infinite;\\n          animation: grow-two0 1611ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-two0 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-two0 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-two .bar:nth-child(1) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-two1 1844ms alternate infinite;\\n          animation: grow-two1 1844ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-two1 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-two1 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-two .bar:nth-child(2) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-two2 1744ms alternate infinite;\\n          animation: grow-two2 1744ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-two2 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-two2 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-two .bar:nth-child(3) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-two3 2052ms alternate infinite;\\n          animation: grow-two3 2052ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-two3 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-two3 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-two .bar:nth-child(4) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-two4 2139ms alternate infinite;\\n          animation: grow-two4 2139ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-two4 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-two4 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-two .bar:nth-child(5) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-two5 1506ms alternate infinite;\\n          animation: grow-two5 1506ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-two5 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-two5 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-two .bar:nth-child(6) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-two6 2051ms alternate infinite;\\n          animation: grow-two6 2051ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-two6 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-two6 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-two .bar:nth-child(7) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-two7 2113ms alternate infinite;\\n          animation: grow-two7 2113ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-two7 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-two7 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-two .bar:nth-child(8) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-two8 1621ms alternate infinite;\\n          animation: grow-two8 1621ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-two8 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-two8 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-two .bar:nth-child(9) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-two9 1681ms alternate infinite;\\n          animation: grow-two9 1681ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-two9 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-two9 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-two .bar:nth-child(10) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-two10 1964ms alternate infinite;\\n          animation: grow-two10 1964ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-two10 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-two10 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-two .bar:nth-child(11) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-two11 1671ms alternate infinite;\\n          animation: grow-two11 1671ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-two11 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-two11 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-two .bar:nth-child(12) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-two12 1830ms alternate infinite;\\n          animation: grow-two12 1830ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-two12 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-two12 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-three .bar:nth-child(0) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-three0 2088ms alternate infinite;\\n          animation: grow-three0 2088ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-three0 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-three0 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-three .bar:nth-child(1) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-three1 2053ms alternate infinite;\\n          animation: grow-three1 2053ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-three1 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-three1 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-three .bar:nth-child(2) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-three2 1922ms alternate infinite;\\n          animation: grow-three2 1922ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-three2 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-three2 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-three .bar:nth-child(3) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-three3 2158ms alternate infinite;\\n          animation: grow-three3 2158ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-three3 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n@keyframes grow-three3 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n.equalizer-container.level-three .bar:nth-child(4) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-three4 1733ms alternate infinite;\\n          animation: grow-three4 1733ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-three4 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-three4 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-three .bar:nth-child(5) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-three5 1710ms alternate infinite;\\n          animation: grow-three5 1710ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-three5 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-three5 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-three .bar:nth-child(6) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-three6 1600ms alternate infinite;\\n          animation: grow-three6 1600ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-three6 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-three6 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-three .bar:nth-child(7) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-three7 1665ms alternate infinite;\\n          animation: grow-three7 1665ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-three7 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n@keyframes grow-three7 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n.equalizer-container.level-three .bar:nth-child(8) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-three8 1633ms alternate infinite;\\n          animation: grow-three8 1633ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-three8 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-three8 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-three .bar:nth-child(9) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-three9 1731ms alternate infinite;\\n          animation: grow-three9 1731ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-three9 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-three9 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-three .bar:nth-child(10) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-three10 2051ms alternate infinite;\\n          animation: grow-three10 2051ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-three10 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n@keyframes grow-three10 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n.equalizer-container.level-three .bar:nth-child(11) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-three11 2098ms alternate infinite;\\n          animation: grow-three11 2098ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-three11 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-three11 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-three .bar:nth-child(12) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-three12 2175ms alternate infinite;\\n          animation: grow-three12 2175ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-three12 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n@keyframes grow-three12 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n.equalizer-container.level-four .bar:nth-child(0) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-four0 1901ms alternate infinite;\\n          animation: grow-four0 1901ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-four0 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n@keyframes grow-four0 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n.equalizer-container.level-four .bar:nth-child(1) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-four1 2010ms alternate infinite;\\n          animation: grow-four1 2010ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-four1 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(4);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n@keyframes grow-four1 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(4);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n.equalizer-container.level-four .bar:nth-child(2) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-four2 2187ms alternate infinite;\\n          animation: grow-four2 2187ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-four2 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(4);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(4);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n@keyframes grow-four2 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(4);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(4);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n.equalizer-container.level-four .bar:nth-child(3) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-four3 1836ms alternate infinite;\\n          animation: grow-four3 1836ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-four3 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-four3 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-four .bar:nth-child(4) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-four4 1554ms alternate infinite;\\n          animation: grow-four4 1554ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-four4 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(4);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-four4 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(4);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-four .bar:nth-child(5) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-four5 1700ms alternate infinite;\\n          animation: grow-four5 1700ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-four5 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-four5 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-four .bar:nth-child(6) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-four6 1750ms alternate infinite;\\n          animation: grow-four6 1750ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-four6 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(4);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(4);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-four6 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(4);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(4);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-four .bar:nth-child(7) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-four7 1561ms alternate infinite;\\n          animation: grow-four7 1561ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-four7 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n@keyframes grow-four7 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n.equalizer-container.level-four .bar:nth-child(8) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-four8 1648ms alternate infinite;\\n          animation: grow-four8 1648ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-four8 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-four8 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-four .bar:nth-child(9) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-four9 1551ms alternate infinite;\\n          animation: grow-four9 1551ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-four9 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(4);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(4);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n@keyframes grow-four9 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(4);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(4);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n.equalizer-container.level-four .bar:nth-child(10) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-four10 1716ms alternate infinite;\\n          animation: grow-four10 1716ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-four10 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-four10 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-four .bar:nth-child(11) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-four11 2099ms alternate infinite;\\n          animation: grow-four11 2099ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-four11 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(4);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(4);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n@keyframes grow-four11 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(4);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(4);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n.equalizer-container.level-four .bar:nth-child(12) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-four12 1779ms alternate infinite;\\n          animation: grow-four12 1779ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-four12 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(4);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n@keyframes grow-four12 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(4);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n.equalizer-container.level-five .bar:nth-child(0) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-five0 1967ms alternate infinite;\\n          animation: grow-five0 1967ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-five0 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(4);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n@keyframes grow-five0 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(4);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n.equalizer-container.level-five .bar:nth-child(1) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-five1 1680ms alternate infinite;\\n          animation: grow-five1 1680ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-five1 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(5);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-five1 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(5);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-five .bar:nth-child(2) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-five2 1849ms alternate infinite;\\n          animation: grow-five2 1849ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-five2 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(4);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n@keyframes grow-five2 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(4);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n.equalizer-container.level-five .bar:nth-child(3) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-five3 1960ms alternate infinite;\\n          animation: grow-five3 1960ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-five3 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(5);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(5);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(4);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n@keyframes grow-five3 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(5);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(5);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(4);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n.equalizer-container.level-five .bar:nth-child(4) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-five4 1926ms alternate infinite;\\n          animation: grow-five4 1926ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-five4 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n@keyframes grow-five4 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n.equalizer-container.level-five .bar:nth-child(5) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-five5 1819ms alternate infinite;\\n          animation: grow-five5 1819ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-five5 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n@keyframes grow-five5 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n.equalizer-container.level-five .bar:nth-child(6) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-five6 1536ms alternate infinite;\\n          animation: grow-five6 1536ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-five6 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(4);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(4);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n@keyframes grow-five6 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(4);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(4);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n.equalizer-container.level-five .bar:nth-child(7) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-five7 2028ms alternate infinite;\\n          animation: grow-five7 2028ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-five7 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(5);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(4);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-five7 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(5);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(4);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-five .bar:nth-child(8) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-five8 1967ms alternate infinite;\\n          animation: grow-five8 1967ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-five8 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(5);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(5);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(4);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-five8 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(5);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(5);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(4);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-five .bar:nth-child(9) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-five9 1609ms alternate infinite;\\n          animation: grow-five9 1609ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-five9 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(5);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n@keyframes grow-five9 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(5);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n.equalizer-container.level-five .bar:nth-child(10) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-five10 1720ms alternate infinite;\\n          animation: grow-five10 1720ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-five10 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(5);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n@keyframes grow-five10 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(5);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n.equalizer-container.level-five .bar:nth-child(11) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-five11 1916ms alternate infinite;\\n          animation: grow-five11 1916ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-five11 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(5);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n@keyframes grow-five11 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(5);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n.equalizer-container.level-five .bar:nth-child(12) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-five12 1964ms alternate infinite;\\n          animation: grow-five12 1964ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-five12 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-five12 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(2);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-six .bar:nth-child(0) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-six0 1640ms alternate infinite;\\n          animation: grow-six0 1640ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-six0 {\\n  0% {\\n    transform: scaleY(6);\\n  }\\n  10% {\\n    transform: scaleY(5);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(6);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(6);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(6);\\n  }\\n}\\n\\n@keyframes grow-six0 {\\n  0% {\\n    transform: scaleY(6);\\n  }\\n  10% {\\n    transform: scaleY(5);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(6);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(6);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(6);\\n  }\\n}\\n\\n.equalizer-container.level-six .bar:nth-child(1) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-six1 1807ms alternate infinite;\\n          animation: grow-six1 1807ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-six1 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(6);\\n  }\\n  70% {\\n    transform: scaleY(6);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-six1 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(6);\\n  }\\n  70% {\\n    transform: scaleY(6);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-six .bar:nth-child(2) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-six2 1576ms alternate infinite;\\n          animation: grow-six2 1576ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-six2 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(4);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(6);\\n  }\\n  60% {\\n    transform: scaleY(6);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(6);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-six2 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(4);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(6);\\n  }\\n  60% {\\n    transform: scaleY(6);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(6);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-six .bar:nth-child(3) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-six3 1695ms alternate infinite;\\n          animation: grow-six3 1695ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-six3 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(5);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(4);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n@keyframes grow-six3 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(5);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(4);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n.equalizer-container.level-six .bar:nth-child(4) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-six4 2167ms alternate infinite;\\n          animation: grow-six4 2167ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-six4 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(6);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(5);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(5);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-six4 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(6);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(5);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(5);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-six .bar:nth-child(5) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-six5 2184ms alternate infinite;\\n          animation: grow-six5 2184ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-six5 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(5);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(6);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n@keyframes grow-six5 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(5);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(6);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n.equalizer-container.level-six .bar:nth-child(6) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-six6 1993ms alternate infinite;\\n          animation: grow-six6 1993ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-six6 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(5);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(4);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n@keyframes grow-six6 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(5);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(4);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n.equalizer-container.level-six .bar:nth-child(7) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-six7 2157ms alternate infinite;\\n          animation: grow-six7 2157ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-six7 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(6);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(6);\\n  }\\n}\\n\\n@keyframes grow-six7 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(6);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(6);\\n  }\\n}\\n\\n.equalizer-container.level-six .bar:nth-child(8) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-six8 1606ms alternate infinite;\\n          animation: grow-six8 1606ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-six8 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(5);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(5);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(5);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-six8 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(5);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(5);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(5);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-six .bar:nth-child(9) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-six9 2055ms alternate infinite;\\n          animation: grow-six9 2055ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-six9 {\\n  0% {\\n    transform: scaleY(5);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(6);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n@keyframes grow-six9 {\\n  0% {\\n    transform: scaleY(5);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(6);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n.equalizer-container.level-six .bar:nth-child(10) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-six10 1541ms alternate infinite;\\n          animation: grow-six10 1541ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-six10 {\\n  0% {\\n    transform: scaleY(5);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(6);\\n  }\\n  50% {\\n    transform: scaleY(5);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(5);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n@keyframes grow-six10 {\\n  0% {\\n    transform: scaleY(5);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(6);\\n  }\\n  50% {\\n    transform: scaleY(5);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(5);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n.equalizer-container.level-six .bar:nth-child(11) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-six11 1878ms alternate infinite;\\n          animation: grow-six11 1878ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-six11 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-six11 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-six .bar:nth-child(12) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-six12 1727ms alternate infinite;\\n          animation: grow-six12 1727ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-six12 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(6);\\n  }\\n  50% {\\n    transform: scaleY(6);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-six12 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(6);\\n  }\\n  50% {\\n    transform: scaleY(6);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-seven .bar:nth-child(0) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-seven0 1895ms alternate infinite;\\n          animation: grow-seven0 1895ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-seven0 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(7);\\n  }\\n  50% {\\n    transform: scaleY(6);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(6);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n@keyframes grow-seven0 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(7);\\n  }\\n  50% {\\n    transform: scaleY(6);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(6);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n.equalizer-container.level-seven .bar:nth-child(1) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-seven1 1584ms alternate infinite;\\n          animation: grow-seven1 1584ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-seven1 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(7);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(7);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n@keyframes grow-seven1 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(7);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(7);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n.equalizer-container.level-seven .bar:nth-child(2) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-seven2 1784ms alternate infinite;\\n          animation: grow-seven2 1784ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-seven2 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(6);\\n  }\\n  60% {\\n    transform: scaleY(6);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-seven2 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(6);\\n  }\\n  60% {\\n    transform: scaleY(6);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-seven .bar:nth-child(3) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-seven3 2162ms alternate infinite;\\n          animation: grow-seven3 2162ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-seven3 {\\n  0% {\\n    transform: scaleY(5);\\n  }\\n  10% {\\n    transform: scaleY(5);\\n  }\\n  20% {\\n    transform: scaleY(6);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(7);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(8);\\n  }\\n  100% {\\n    transform: scaleY(6);\\n  }\\n}\\n\\n@keyframes grow-seven3 {\\n  0% {\\n    transform: scaleY(5);\\n  }\\n  10% {\\n    transform: scaleY(5);\\n  }\\n  20% {\\n    transform: scaleY(6);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(7);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(8);\\n  }\\n  100% {\\n    transform: scaleY(6);\\n  }\\n}\\n\\n.equalizer-container.level-seven .bar:nth-child(4) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-seven4 1930ms alternate infinite;\\n          animation: grow-seven4 1930ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-seven4 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(6);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(8);\\n  }\\n  50% {\\n    transform: scaleY(6);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n@keyframes grow-seven4 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(6);\\n  }\\n  30% {\\n    transform: scaleY(1);\\n  }\\n  40% {\\n    transform: scaleY(8);\\n  }\\n  50% {\\n    transform: scaleY(6);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n.equalizer-container.level-seven .bar:nth-child(5) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-seven5 1578ms alternate infinite;\\n          animation: grow-seven5 1578ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-seven5 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(4);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(7);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n@keyframes grow-seven5 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(4);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(7);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n.equalizer-container.level-seven .bar:nth-child(6) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-seven6 1561ms alternate infinite;\\n          animation: grow-seven6 1561ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-seven6 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(6);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-seven6 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(6);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-seven .bar:nth-child(7) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-seven7 1685ms alternate infinite;\\n          animation: grow-seven7 1685ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-seven7 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(7);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n@keyframes grow-seven7 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(7);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n.equalizer-container.level-seven .bar:nth-child(8) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-seven8 1815ms alternate infinite;\\n          animation: grow-seven8 1815ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-seven8 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(7);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n@keyframes grow-seven8 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(7);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n.equalizer-container.level-seven .bar:nth-child(9) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-seven9 1935ms alternate infinite;\\n          animation: grow-seven9 1935ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-seven9 {\\n  0% {\\n    transform: scaleY(5);\\n  }\\n  10% {\\n    transform: scaleY(7);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(8);\\n  }\\n  60% {\\n    transform: scaleY(4);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(6);\\n  }\\n}\\n\\n@keyframes grow-seven9 {\\n  0% {\\n    transform: scaleY(5);\\n  }\\n  10% {\\n    transform: scaleY(7);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(8);\\n  }\\n  60% {\\n    transform: scaleY(4);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(6);\\n  }\\n}\\n\\n.equalizer-container.level-seven .bar:nth-child(10) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-seven10 1599ms alternate infinite;\\n          animation: grow-seven10 1599ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-seven10 {\\n  0% {\\n    transform: scaleY(6);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(7);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(8);\\n  }\\n  80% {\\n    transform: scaleY(6);\\n  }\\n  90% {\\n    transform: scaleY(7);\\n  }\\n  100% {\\n    transform: scaleY(8);\\n  }\\n}\\n\\n@keyframes grow-seven10 {\\n  0% {\\n    transform: scaleY(6);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(7);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(8);\\n  }\\n  80% {\\n    transform: scaleY(6);\\n  }\\n  90% {\\n    transform: scaleY(7);\\n  }\\n  100% {\\n    transform: scaleY(8);\\n  }\\n}\\n\\n.equalizer-container.level-seven .bar:nth-child(11) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-seven11 2083ms alternate infinite;\\n          animation: grow-seven11 2083ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-seven11 {\\n  0% {\\n    transform: scaleY(8);\\n  }\\n  10% {\\n    transform: scaleY(8);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(5);\\n  }\\n  50% {\\n    transform: scaleY(5);\\n  }\\n  60% {\\n    transform: scaleY(8);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(6);\\n  }\\n}\\n\\n@keyframes grow-seven11 {\\n  0% {\\n    transform: scaleY(8);\\n  }\\n  10% {\\n    transform: scaleY(8);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(5);\\n  }\\n  50% {\\n    transform: scaleY(5);\\n  }\\n  60% {\\n    transform: scaleY(8);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(6);\\n  }\\n}\\n\\n.equalizer-container.level-seven .bar:nth-child(12) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-seven12 1979ms alternate infinite;\\n          animation: grow-seven12 1979ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-seven12 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(5);\\n  }\\n  20% {\\n    transform: scaleY(6);\\n  }\\n  30% {\\n    transform: scaleY(8);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(7);\\n  }\\n  60% {\\n    transform: scaleY(4);\\n  }\\n  70% {\\n    transform: scaleY(7);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n@keyframes grow-seven12 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(5);\\n  }\\n  20% {\\n    transform: scaleY(6);\\n  }\\n  30% {\\n    transform: scaleY(8);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(7);\\n  }\\n  60% {\\n    transform: scaleY(4);\\n  }\\n  70% {\\n    transform: scaleY(7);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n.equalizer-container.level-eight .bar:nth-child(0) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-eight0 2147ms alternate infinite;\\n          animation: grow-eight0 2147ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-eight0 {\\n  0% {\\n    transform: scaleY(5);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(6);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(8);\\n  }\\n  60% {\\n    transform: scaleY(6);\\n  }\\n  70% {\\n    transform: scaleY(8);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-eight0 {\\n  0% {\\n    transform: scaleY(5);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(6);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(8);\\n  }\\n  60% {\\n    transform: scaleY(6);\\n  }\\n  70% {\\n    transform: scaleY(8);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-eight .bar:nth-child(1) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-eight1 2087ms alternate infinite;\\n          animation: grow-eight1 2087ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-eight1 {\\n  0% {\\n    transform: scaleY(8);\\n  }\\n  10% {\\n    transform: scaleY(8);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(8);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(7);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n@keyframes grow-eight1 {\\n  0% {\\n    transform: scaleY(8);\\n  }\\n  10% {\\n    transform: scaleY(8);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(8);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(7);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n.equalizer-container.level-eight .bar:nth-child(2) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-eight2 2145ms alternate infinite;\\n          animation: grow-eight2 2145ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-eight2 {\\n  0% {\\n    transform: scaleY(7);\\n  }\\n  10% {\\n    transform: scaleY(8);\\n  }\\n  20% {\\n    transform: scaleY(7);\\n  }\\n  30% {\\n    transform: scaleY(6);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(6);\\n  }\\n  60% {\\n    transform: scaleY(4);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(9);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n@keyframes grow-eight2 {\\n  0% {\\n    transform: scaleY(7);\\n  }\\n  10% {\\n    transform: scaleY(8);\\n  }\\n  20% {\\n    transform: scaleY(7);\\n  }\\n  30% {\\n    transform: scaleY(6);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(6);\\n  }\\n  60% {\\n    transform: scaleY(4);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(9);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n.equalizer-container.level-eight .bar:nth-child(3) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-eight3 1850ms alternate infinite;\\n          animation: grow-eight3 1850ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-eight3 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(5);\\n  }\\n  20% {\\n    transform: scaleY(6);\\n  }\\n  30% {\\n    transform: scaleY(7);\\n  }\\n  40% {\\n    transform: scaleY(7);\\n  }\\n  50% {\\n    transform: scaleY(6);\\n  }\\n  60% {\\n    transform: scaleY(4);\\n  }\\n  70% {\\n    transform: scaleY(9);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(8);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-eight3 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(5);\\n  }\\n  20% {\\n    transform: scaleY(6);\\n  }\\n  30% {\\n    transform: scaleY(7);\\n  }\\n  40% {\\n    transform: scaleY(7);\\n  }\\n  50% {\\n    transform: scaleY(6);\\n  }\\n  60% {\\n    transform: scaleY(4);\\n  }\\n  70% {\\n    transform: scaleY(9);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(8);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-eight .bar:nth-child(4) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-eight4 1737ms alternate infinite;\\n          animation: grow-eight4 1737ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-eight4 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(7);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(7);\\n  }\\n  50% {\\n    transform: scaleY(9);\\n  }\\n  60% {\\n    transform: scaleY(9);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(8);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n@keyframes grow-eight4 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(7);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(7);\\n  }\\n  50% {\\n    transform: scaleY(9);\\n  }\\n  60% {\\n    transform: scaleY(9);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(8);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n.equalizer-container.level-eight .bar:nth-child(5) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-eight5 2088ms alternate infinite;\\n          animation: grow-eight5 2088ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-eight5 {\\n  0% {\\n    transform: scaleY(5);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(9);\\n  }\\n  40% {\\n    transform: scaleY(9);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(9);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-eight5 {\\n  0% {\\n    transform: scaleY(5);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(9);\\n  }\\n  40% {\\n    transform: scaleY(9);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(9);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-eight .bar:nth-child(6) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-eight6 2033ms alternate infinite;\\n          animation: grow-eight6 2033ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-eight6 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(5);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(7);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(9);\\n  }\\n  80% {\\n    transform: scaleY(9);\\n  }\\n  90% {\\n    transform: scaleY(8);\\n  }\\n  100% {\\n    transform: scaleY(7);\\n  }\\n}\\n\\n@keyframes grow-eight6 {\\n  0% {\\n    transform: scaleY(2);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(5);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(7);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(9);\\n  }\\n  80% {\\n    transform: scaleY(9);\\n  }\\n  90% {\\n    transform: scaleY(8);\\n  }\\n  100% {\\n    transform: scaleY(7);\\n  }\\n}\\n\\n.equalizer-container.level-eight .bar:nth-child(7) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-eight7 2008ms alternate infinite;\\n          animation: grow-eight7 2008ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-eight7 {\\n  0% {\\n    transform: scaleY(6);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(9);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(7);\\n  }\\n  50% {\\n    transform: scaleY(9);\\n  }\\n  60% {\\n    transform: scaleY(8);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-eight7 {\\n  0% {\\n    transform: scaleY(6);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(9);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(7);\\n  }\\n  50% {\\n    transform: scaleY(9);\\n  }\\n  60% {\\n    transform: scaleY(8);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-eight .bar:nth-child(8) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-eight8 1853ms alternate infinite;\\n          animation: grow-eight8 1853ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-eight8 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(9);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(7);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(7);\\n  }\\n  80% {\\n    transform: scaleY(5);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n@keyframes grow-eight8 {\\n  0% {\\n    transform: scaleY(4);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(9);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(3);\\n  }\\n  50% {\\n    transform: scaleY(7);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(7);\\n  }\\n  80% {\\n    transform: scaleY(5);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n.equalizer-container.level-eight .bar:nth-child(9) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-eight9 1586ms alternate infinite;\\n          animation: grow-eight9 1586ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-eight9 {\\n  0% {\\n    transform: scaleY(5);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(6);\\n  }\\n  30% {\\n    transform: scaleY(7);\\n  }\\n  40% {\\n    transform: scaleY(8);\\n  }\\n  50% {\\n    transform: scaleY(9);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(9);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(9);\\n  }\\n  100% {\\n    transform: scaleY(8);\\n  }\\n}\\n\\n@keyframes grow-eight9 {\\n  0% {\\n    transform: scaleY(5);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(6);\\n  }\\n  30% {\\n    transform: scaleY(7);\\n  }\\n  40% {\\n    transform: scaleY(8);\\n  }\\n  50% {\\n    transform: scaleY(9);\\n  }\\n  60% {\\n    transform: scaleY(3);\\n  }\\n  70% {\\n    transform: scaleY(9);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(9);\\n  }\\n  100% {\\n    transform: scaleY(8);\\n  }\\n}\\n\\n.equalizer-container.level-eight .bar:nth-child(10) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-eight10 2005ms alternate infinite;\\n          animation: grow-eight10 2005ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-eight10 {\\n  0% {\\n    transform: scaleY(9);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(6);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(8);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(6);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(6);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n@keyframes grow-eight10 {\\n  0% {\\n    transform: scaleY(9);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(6);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(8);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(6);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(6);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n.equalizer-container.level-eight .bar:nth-child(11) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-eight11 2095ms alternate infinite;\\n          animation: grow-eight11 2095ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-eight11 {\\n  0% {\\n    transform: scaleY(8);\\n  }\\n  10% {\\n    transform: scaleY(9);\\n  }\\n  20% {\\n    transform: scaleY(6);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(7);\\n  }\\n  50% {\\n    transform: scaleY(9);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(8);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n@keyframes grow-eight11 {\\n  0% {\\n    transform: scaleY(8);\\n  }\\n  10% {\\n    transform: scaleY(9);\\n  }\\n  20% {\\n    transform: scaleY(6);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(7);\\n  }\\n  50% {\\n    transform: scaleY(9);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(4);\\n  }\\n  90% {\\n    transform: scaleY(8);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n.equalizer-container.level-eight .bar:nth-child(12) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-eight12 1975ms alternate infinite;\\n          animation: grow-eight12 1975ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-eight12 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(8);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(5);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(7);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(6);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n@keyframes grow-eight12 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(8);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(5);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(7);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(6);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n.equalizer-container.level-nine .bar:nth-child(0) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-nine0 1921ms alternate infinite;\\n          animation: grow-nine0 1921ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-nine0 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(5);\\n  }\\n  20% {\\n    transform: scaleY(5);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(8);\\n  }\\n  50% {\\n    transform: scaleY(9);\\n  }\\n  60% {\\n    transform: scaleY(10);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n@keyframes grow-nine0 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(5);\\n  }\\n  20% {\\n    transform: scaleY(5);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(8);\\n  }\\n  50% {\\n    transform: scaleY(9);\\n  }\\n  60% {\\n    transform: scaleY(10);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(2);\\n  }\\n}\\n\\n.equalizer-container.level-nine .bar:nth-child(1) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-nine1 2185ms alternate infinite;\\n          animation: grow-nine1 2185ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-nine1 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(7);\\n  }\\n  40% {\\n    transform: scaleY(8);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(8);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(8);\\n  }\\n  90% {\\n    transform: scaleY(6);\\n  }\\n  100% {\\n    transform: scaleY(9);\\n  }\\n}\\n\\n@keyframes grow-nine1 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(3);\\n  }\\n  30% {\\n    transform: scaleY(7);\\n  }\\n  40% {\\n    transform: scaleY(8);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(8);\\n  }\\n  70% {\\n    transform: scaleY(1);\\n  }\\n  80% {\\n    transform: scaleY(8);\\n  }\\n  90% {\\n    transform: scaleY(6);\\n  }\\n  100% {\\n    transform: scaleY(9);\\n  }\\n}\\n\\n.equalizer-container.level-nine .bar:nth-child(2) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-nine2 1736ms alternate infinite;\\n          animation: grow-nine2 1736ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-nine2 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(6);\\n  }\\n  40% {\\n    transform: scaleY(5);\\n  }\\n  50% {\\n    transform: scaleY(5);\\n  }\\n  60% {\\n    transform: scaleY(9);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n@keyframes grow-nine2 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(4);\\n  }\\n  30% {\\n    transform: scaleY(6);\\n  }\\n  40% {\\n    transform: scaleY(5);\\n  }\\n  50% {\\n    transform: scaleY(5);\\n  }\\n  60% {\\n    transform: scaleY(9);\\n  }\\n  70% {\\n    transform: scaleY(3);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(1);\\n  }\\n}\\n\\n.equalizer-container.level-nine .bar:nth-child(3) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-nine3 1989ms alternate infinite;\\n          animation: grow-nine3 1989ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-nine3 {\\n  0% {\\n    transform: scaleY(5);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(6);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(6);\\n  }\\n  80% {\\n    transform: scaleY(8);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n@keyframes grow-nine3 {\\n  0% {\\n    transform: scaleY(5);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(5);\\n  }\\n  40% {\\n    transform: scaleY(1);\\n  }\\n  50% {\\n    transform: scaleY(6);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(6);\\n  }\\n  80% {\\n    transform: scaleY(8);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(3);\\n  }\\n}\\n\\n.equalizer-container.level-nine .bar:nth-child(4) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-nine4 1673ms alternate infinite;\\n          animation: grow-nine4 1673ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-nine4 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(8);\\n  }\\n  30% {\\n    transform: scaleY(6);\\n  }\\n  40% {\\n    transform: scaleY(7);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(10);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(6);\\n  }\\n}\\n\\n@keyframes grow-nine4 {\\n  0% {\\n    transform: scaleY(1);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(8);\\n  }\\n  30% {\\n    transform: scaleY(6);\\n  }\\n  40% {\\n    transform: scaleY(7);\\n  }\\n  50% {\\n    transform: scaleY(2);\\n  }\\n  60% {\\n    transform: scaleY(5);\\n  }\\n  70% {\\n    transform: scaleY(10);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(5);\\n  }\\n  100% {\\n    transform: scaleY(6);\\n  }\\n}\\n\\n.equalizer-container.level-nine .bar:nth-child(5) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-nine5 1825ms alternate infinite;\\n          animation: grow-nine5 1825ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-nine5 {\\n  0% {\\n    transform: scaleY(9);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(8);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(8);\\n  }\\n  60% {\\n    transform: scaleY(10);\\n  }\\n  70% {\\n    transform: scaleY(6);\\n  }\\n  80% {\\n    transform: scaleY(10);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n@keyframes grow-nine5 {\\n  0% {\\n    transform: scaleY(9);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(8);\\n  }\\n  30% {\\n    transform: scaleY(3);\\n  }\\n  40% {\\n    transform: scaleY(4);\\n  }\\n  50% {\\n    transform: scaleY(8);\\n  }\\n  60% {\\n    transform: scaleY(10);\\n  }\\n  70% {\\n    transform: scaleY(6);\\n  }\\n  80% {\\n    transform: scaleY(10);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(5);\\n  }\\n}\\n\\n.equalizer-container.level-nine .bar:nth-child(6) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-nine6 1887ms alternate infinite;\\n          animation: grow-nine6 1887ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-nine6 {\\n  0% {\\n    transform: scaleY(5);\\n  }\\n  10% {\\n    transform: scaleY(4);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(7);\\n  }\\n  40% {\\n    transform: scaleY(8);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(7);\\n  }\\n  80% {\\n    transform: scaleY(7);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(9);\\n  }\\n}\\n\\n@keyframes grow-nine6 {\\n  0% {\\n    transform: scaleY(5);\\n  }\\n  10% {\\n    transform: scaleY(4);\\n  }\\n  20% {\\n    transform: scaleY(2);\\n  }\\n  30% {\\n    transform: scaleY(7);\\n  }\\n  40% {\\n    transform: scaleY(8);\\n  }\\n  50% {\\n    transform: scaleY(3);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(7);\\n  }\\n  80% {\\n    transform: scaleY(7);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(9);\\n  }\\n}\\n\\n.equalizer-container.level-nine .bar:nth-child(7) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-nine7 2107ms alternate infinite;\\n          animation: grow-nine7 2107ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-nine7 {\\n  0% {\\n    transform: scaleY(10);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(7);\\n  }\\n  30% {\\n    transform: scaleY(8);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(10);\\n  }\\n  60% {\\n    transform: scaleY(8);\\n  }\\n  70% {\\n    transform: scaleY(9);\\n  }\\n  80% {\\n    transform: scaleY(7);\\n  }\\n  90% {\\n    transform: scaleY(7);\\n  }\\n  100% {\\n    transform: scaleY(9);\\n  }\\n}\\n\\n@keyframes grow-nine7 {\\n  0% {\\n    transform: scaleY(10);\\n  }\\n  10% {\\n    transform: scaleY(3);\\n  }\\n  20% {\\n    transform: scaleY(7);\\n  }\\n  30% {\\n    transform: scaleY(8);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(10);\\n  }\\n  60% {\\n    transform: scaleY(8);\\n  }\\n  70% {\\n    transform: scaleY(9);\\n  }\\n  80% {\\n    transform: scaleY(7);\\n  }\\n  90% {\\n    transform: scaleY(7);\\n  }\\n  100% {\\n    transform: scaleY(9);\\n  }\\n}\\n\\n.equalizer-container.level-nine .bar:nth-child(8) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-nine8 2015ms alternate infinite;\\n          animation: grow-nine8 2015ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-nine8 {\\n  0% {\\n    transform: scaleY(8);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(7);\\n  }\\n  40% {\\n    transform: scaleY(7);\\n  }\\n  50% {\\n    transform: scaleY(6);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(10);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(9);\\n  }\\n}\\n\\n@keyframes grow-nine8 {\\n  0% {\\n    transform: scaleY(8);\\n  }\\n  10% {\\n    transform: scaleY(1);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(7);\\n  }\\n  40% {\\n    transform: scaleY(7);\\n  }\\n  50% {\\n    transform: scaleY(6);\\n  }\\n  60% {\\n    transform: scaleY(2);\\n  }\\n  70% {\\n    transform: scaleY(10);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(4);\\n  }\\n  100% {\\n    transform: scaleY(9);\\n  }\\n}\\n\\n.equalizer-container.level-nine .bar:nth-child(9) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-nine9 1937ms alternate infinite;\\n          animation: grow-nine9 1937ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-nine9 {\\n  0% {\\n    transform: scaleY(8);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(8);\\n  }\\n  50% {\\n    transform: scaleY(8);\\n  }\\n  60% {\\n    transform: scaleY(7);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(8);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(7);\\n  }\\n}\\n\\n@keyframes grow-nine9 {\\n  0% {\\n    transform: scaleY(8);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(1);\\n  }\\n  30% {\\n    transform: scaleY(2);\\n  }\\n  40% {\\n    transform: scaleY(8);\\n  }\\n  50% {\\n    transform: scaleY(8);\\n  }\\n  60% {\\n    transform: scaleY(7);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(8);\\n  }\\n  90% {\\n    transform: scaleY(1);\\n  }\\n  100% {\\n    transform: scaleY(7);\\n  }\\n}\\n\\n.equalizer-container.level-nine .bar:nth-child(10) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-nine10 1928ms alternate infinite;\\n          animation: grow-nine10 1928ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-nine10 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(10);\\n  }\\n  30% {\\n    transform: scaleY(10);\\n  }\\n  40% {\\n    transform: scaleY(9);\\n  }\\n  50% {\\n    transform: scaleY(8);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(10);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(9);\\n  }\\n}\\n\\n@keyframes grow-nine10 {\\n  0% {\\n    transform: scaleY(3);\\n  }\\n  10% {\\n    transform: scaleY(2);\\n  }\\n  20% {\\n    transform: scaleY(10);\\n  }\\n  30% {\\n    transform: scaleY(10);\\n  }\\n  40% {\\n    transform: scaleY(9);\\n  }\\n  50% {\\n    transform: scaleY(8);\\n  }\\n  60% {\\n    transform: scaleY(1);\\n  }\\n  70% {\\n    transform: scaleY(10);\\n  }\\n  80% {\\n    transform: scaleY(3);\\n  }\\n  90% {\\n    transform: scaleY(3);\\n  }\\n  100% {\\n    transform: scaleY(9);\\n  }\\n}\\n\\n.equalizer-container.level-nine .bar:nth-child(11) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-nine11 1913ms alternate infinite;\\n          animation: grow-nine11 1913ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-nine11 {\\n  0% {\\n    transform: scaleY(6);\\n  }\\n  10% {\\n    transform: scaleY(5);\\n  }\\n  20% {\\n    transform: scaleY(10);\\n  }\\n  30% {\\n    transform: scaleY(6);\\n  }\\n  40% {\\n    transform: scaleY(5);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(8);\\n  }\\n  70% {\\n    transform: scaleY(8);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(9);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n@keyframes grow-nine11 {\\n  0% {\\n    transform: scaleY(6);\\n  }\\n  10% {\\n    transform: scaleY(5);\\n  }\\n  20% {\\n    transform: scaleY(10);\\n  }\\n  30% {\\n    transform: scaleY(6);\\n  }\\n  40% {\\n    transform: scaleY(5);\\n  }\\n  50% {\\n    transform: scaleY(1);\\n  }\\n  60% {\\n    transform: scaleY(8);\\n  }\\n  70% {\\n    transform: scaleY(8);\\n  }\\n  80% {\\n    transform: scaleY(1);\\n  }\\n  90% {\\n    transform: scaleY(9);\\n  }\\n  100% {\\n    transform: scaleY(4);\\n  }\\n}\\n\\n.equalizer-container.level-nine .bar:nth-child(12) {\\n  background-color: #1db951;\\n  -webkit-animation: grow-nine12 1649ms alternate infinite;\\n          animation: grow-nine12 1649ms alternate infinite;\\n}\\n\\n@-webkit-keyframes grow-nine12 {\\n  0% {\\n    transform: scaleY(5);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(9);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(6);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(10);\\n  }\\n}\\n\\n@keyframes grow-nine12 {\\n  0% {\\n    transform: scaleY(5);\\n  }\\n  10% {\\n    transform: scaleY(6);\\n  }\\n  20% {\\n    transform: scaleY(9);\\n  }\\n  30% {\\n    transform: scaleY(4);\\n  }\\n  40% {\\n    transform: scaleY(2);\\n  }\\n  50% {\\n    transform: scaleY(4);\\n  }\\n  60% {\\n    transform: scaleY(6);\\n  }\\n  70% {\\n    transform: scaleY(5);\\n  }\\n  80% {\\n    transform: scaleY(2);\\n  }\\n  90% {\\n    transform: scaleY(2);\\n  }\\n  100% {\\n    transform: scaleY(10);\\n  }\\n}\\n\\n@media (min-width: 1024px) {\\n  .moods-graph__container {\\n    width: 65%;\\n  }\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9Vc2Vycy9hbGV4L0Rlc2t0b3Avb2JzY3VyaWZ5My9zcmMvYXBwL3Njc3MvY29tcG9uZW50cy9faGVhZGVyLnNjc3MiLCJzcmMvYXBwL2NvbXBvbmVudHMvbW9vZHMtZ3JhcGgvbW9vZHMtZ3JhcGguY29tcG9uZW50LnNjc3MiLCIvVXNlcnMvYWxleC9EZXNrdG9wL29ic2N1cmlmeTMvc3JjL2FwcC9jb21wb25lbnRzL21vb2RzLWdyYXBoL21vb2RzLWdyYX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19jb250YWluZXIge1xuICAgICAgICBtYXJnaW4tdG9wOiAxZW07XG4gICAgfVxuXG4gICAgJl9fY29udGFpbmVyLS1yaWdodCB7XG4gICAgICAgIGFsaWduLXNlbGY6IGZsZXgtZW5kO1xuXG4gICAgICAgIGgzIHtcbiAgICAgICAgICAgIHRleHQtYWxpZ246IHJpZ2h0O1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgJl9fY29udGVudCB7XG4gICAgICAgIG1hcmdpbi10b3A6IDJlbTtcbiAgICAgICAgXG4gICAgICAgIGgzIHtcbiAgICAgICAgICAgIGZvbnQtc2l6ZTogMzZweDtcbiAgICAgICAgfVxuICAgIH1cblxuICAgICZfX2NhcmQge1xuICAgICAgICBwYWRkaW5nOiAxZW07XG4gICAgICAgIGJhY2tncm91bmQtY29sb3I6IHdoaXRlO1xuICAgICAgICBtYXJnaW4tdG9wOiAxZW07XG4gICAgICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgICAgIGJvcmRlci1yYWRpdXM6IDVweDtcbiAgICB9XG5cbiAgICAmX19jYXJkLS1yZXZlcnNlIHtcbiAgICAgICAgZmxleC1kaXJlY3Rpb246IHJvdy1yZXZlcnNlO1xuICAgIH1cblxuICAgICZfX2NhcmRfX2hlYWRlciB7XG4gICAgICAgIGZvbnQtc2l6ZTogMjRweDtcbiAgICAgICAgbWFyZ2luLWJvdHRvbTogMC41ZW07XG4gICAgfVxuXG4gICAgJl9fY2FyZF9fcGFyYWdyYXBoIHtcbiAgICAgICAgZm9udC1mYW1pbHk6ICRzZWNvbmRhcnktZm9udDtcbiAgICAgICAgZm9udC13ZWlnaHQ6IG5vcm1hbDtcbiAgICB9XG5cbiAgICAmX19jYXJkX19jb250YWluZXIge1xuICAgICAgICB3aWR0aDogNTAlO1xuICAgIH1cbn1cblxuXG4uZXF1YWxpemVyLWNvbnRhaW5lciB7XG4gICAgaGVpZ2h0OiAxMDBweDtcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIGFsaWduLWl0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MSl9KTtcbiAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG5cbiAgICAmLmxldmVsLXR3byB7XG4gICAgICBAZm9yICRpIGZyb20gMCB0aHJvdWdoICRiYXJzIHtcbiAgICAgICAgICAuYmFyOm50aC1jaGlsZCgjeyRpfSkge1xuICAgICAgICAgICAgICAkc2F0dXJhdGlvbjogMTAwIC0gKCgkaSArIDEpICogJG11bHRpcGxpZXIpO1xuICAgICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiBoc2xhKDE0MCwgNzMlLCA0MiUsIDEpO1xuICAgICAgICAgICAgICBhbmltYXRpb246IGdyb3ctdHdvI3skaX0gI3tyYW5kb20oNzAwKSArIDE1MDB9bXMgYWx0ZXJuYXRlIGluZmluaXRlO1xuICAgICAgICAgIH1cblxuICAgICAgICAgIEBrZXlmcmFtZXMgZ3Jvdy10d28jeyRpfSB7XG4gICAgICAgICAgICAgIEBmb3IgJGogZnJvbSAwIHRocm91Z2ggMTAge1xuICAgICAgICAgICAgICAgICAgI3skaiAqIDEwfSUge1xuICAgICAgICAgICAgICAgICAgICB0cmFuc2Zvcm06IHNjYWxlWSgje3JhbmRvbSgyKX0pO1xuICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICB9XG4gICAgICAgICAgfVxuICAgICAgfVxuICAgIH1cblxuICAgICYubGV2ZWwtdGhyZWUge1xuICAgICAgQGZvciAkaSBmcm9tIDAgdGhyb3VnaCAkYmFycyB7XG4gICAgICAgICAgLmJhcjpudGgtY2hpbGQoI3skaX0pIHtcbiAgICAgICAgICAgICAgJHNhdHVyYXRpb246IDEwMCAtICgoJGkgKyAxKSAqICRtdWx0aXBsaWVyKTtcbiAgICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogaHNsYSgxNDAsIDczJSwgNDIlLCAxKTtcbiAgICAgICAgICAgICAgYW5pbWF0aW9uOiBncm93LXRocmVlI3skaX0gI3tyYW5kb20oNzAwKSArIDE1MDB9bXMgYWx0ZXJuYXRlIGluZmluaXRlO1xuICAgICAgICAgIH1cblxuICAgICAgICAgIEBrZXlmcmFtZXMgZ3Jvdy10aHJlZSN7JGl9IHtcbiAgICAgICAgICAgICAgQGZvciAkaiBmcm9tIDAgdGhyb3VnaCAxMCB7XG4gICAgICAgICAgICAgICAgICAjeyRqICogMTB9JSB7XG4gICAgICAgICAgICAgICAgICAgIHRyYW5zZm9ybTogc2NhbGVZKCN7cmFuZG9tKDMpfSk7XG4gICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgIH1cbiAgICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuXG4gICAgJi5sZXZlbC1mb3VyIHtcbiAgICAgIEBmb3IgJGkgZnJvbSAwIHRocm91Z2ggJGJhcnMge1xuICAgICAgICAgIC5iYXI6bnRoLWNoaWxkKCN7JGl9KSB7XG4gICAgICAgICAgICAgICRzYXR1cmF0aW9uOiAxMDAgLSAoKCRpICsgMSkgKiAkbXVsdGlwbGllcik7XG4gICAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IGhzbGEoMTQwLCA3MyUsIDQyJSwgMSk7XG4gICAgICAgICAgICAgIGFuaW1hdGlvbjogZ3Jvdy1mb3VyI3skaX0gI3tyYW5kb20oNzAwKSArIDE1MDB9bXMgYWx0ZXJuYXRlIGluZmluaXRlO1xuICAgICAgICAgIH1cblxuICAgICAgICAgIEBrZXlmcmFtZXMgZ3Jvdy1mb3VyI3skaX0ge1xuICAgICAgICAgICAgICBAZm9yICRqIGZyb20gMCB0aHJvdWdoIDEwIHtcbiAgICAgICAgICAgICAgICAgICN7JGogKiAxMH0lIHtcbiAgICAgICAgICAgICAgICAgICAgdHJhbnNmb3JtOiBzY2FsZVkoI3tyYW5kb20oNCl9KTtcbiAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG5cbiAgICAmLmxldmVsLWZpdmUge1xuICAgICAgQGZvciAkaSBmcm9tIDAgdGhyb3VnaCAkYmFycyB7XG4gICAgICAgICAgLmJhcjpudGgtY2hpbGQoI3skaX0pIHtcbiAgICAgICAgICAgICAgJHNhdHVyYXRpb246IDEwMCAtICgoJGkgKyAxKSAqICRtdWx0aXBsaWVyKTtcbiAgICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogaHNsYSgxNDAsIDczJSwgNDIlLCAxKTtcbiAgICAgICAgICAgICAgYW5pbWF0aW9uOiBncm93LWZpdmUjeyRpfSAje3JhbmRvbSg3MDApICsgMTUwMH1tcyBhbHRlcm5hdGUgaW5maW5pdGU7XG4gICAgICAgICAgfVxuXG4gICAgICAgICAgQGtleWZyYW1lcyBncm93LWZpdmUjeyRpfSB7XG4gICAgICAgICAgICAgIEBmb3IgJGogZnJvbSAwIHRocm91Z2ggMTAge1xuICAgICAgICAgICAgICAgICAgI3skaiAqIDEwfSUge1xuICAgICAgICAgICAgICAgICAgICB0cmFuc2Zvcm06IHNjYWxlWSgje3JhbmRvbSg1KX0pO1xuICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICB9XG4gICAgICAgICAgfVxuICAgICAgfVxuICAgIH1cblxuICAgICYubGV2ZWwtc2l4IHtcbiAgICAgIEBmb3IgJGkgZnJvbSAwIHRocm91Z2ggJGJhcnMge1xuICAgICAgICAgIC5iYXI6bnRoLWNoaWxkKCN7JGl9KSB7XG4gICAgICAgICAgICAgICRzYXR1cmF0aW9uOiAxMDAgLSAoKCRpICsgMSkgKiAkbXVsdGlwbGllcik7XG4gICAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IGhzbGEoMTQwLCA3MyUsIDQyJSwgMSk7XG4gICAgICAgICAgICAgIGFuaW1hdGlvbjogZ3Jvdy1zaXgjeyRpfSAje3JhbmRvbSg3MDApICsgMTUwMH1tcyBhbHRlcm5hdGUgaW5maW5pdGU7XG4gICAgICAgICAgfVxuXG4gICAgICAgICAgQGtleWZyYW1lcyBncm93LXNpeCN7JGl9IHtcbiAgICAgICAgICAgICAgQGZvciAkaiBmcm9tIDAgdGhyb3VnaCAxMCB7XG4gICAgICAgICAgICAgICAgICAjeyRqICogMTB9JSB7XG4gICAgICAgICAgICAgICAgICAgIHRyYW5zZm9ybTogc2NhbGVZKCN7cmFuZG9tKDYpfSk7XG4gICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgIH1cbiAgICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuXG4gICAgJi5sZXZlbC1zZXZlbiB7XG4gICAgICBAZm9yICRpIGZyb20gMCB0aHJvdWdoICRiYXJzIHtcbiAgICAgICAgICAuYmFyOm50aC1jaGlsZCgjeyRpfSkge1xuICAgICAgICAgICAgICAkc2F0dXJhdGlvbjogMTAwIC0gKCgkaSArIDEpICogJG11bHRpcGxpZXIpO1xuICAgICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiBoc2xhKDE0MCwgNzMlLCA0MiUsIDEpO1xuICAgICAgICAgICAgICBhbmltYXRpb246IGdyb3ctc2V2ZW4jeyRpfSAje3JhbmRvbSg3MDApICsgMTUwMH1tcyBhbHRlcm5hdGUgaW5maW5pdGU7XG4gICAgICAgICAgfVxuXG4gICAgICAgICAgQGtleWZyYW1lcyBncm93LXNldmVuI3skaX0ge1xuICAgICAgICAgICAgICBAZm9yICRqIGZyb20gMCB0aHJvdWdoIDEwIHtcbiAgICAgICAgICAgICAgICAgICN7JGogKiAxMH0lIHtcbiAgICAgICAgICAgICAgICAgICAgdHJhbnNmb3JtOiBzY2FsZVkoI3tyYW5kb20oOCl9KTtcbiAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG5cbiAgICAmLmxldmVsLWVpZ2h0IHtcbiAgICAgIEBmb3IgJGkgZnJvbSAwIHRocm91Z2ggJGJhcnMge1xuICAgICAgICAgIC5iYXI6bnRoLWNoaWxkKCN7JGl9KSB7XG4gICAgICAgICAgICAgICRzYXR1cmF0aW9uOiAxMDAgLSAoKCRpICsgMSkgKiAkbXVsdGlwbGllcik7XG4gICAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IGhzbGEoMTQwLCA3MyUsIDQyJSwgMSk7XG4gICAgICAgICAgICAgIGFuaW1hdGlvbjogZ3Jvdy1laWdodCN7JGl9ICN7cmFuZG9tKDcwMCkgKyAxNTAwfW1zIGFsdGVybmF0ZSBpbmZpbml0ZTtcbiAgICAgICAgICB9XG5cbiAgICAgICAgICBAa2V5ZnJhbWVzIGdyb3ctZWlnaHQjeyRpfSB7XG4gICAgICAgICAgICAgIEBmb3IgJGogZnJvbSAwIHRocm91Z2ggMTAge1xuICAgICAgICAgICAgICAgICAgI3skaiAqIDEwfSUge1xuICAgICAgICAgICAgICAgICAgICB0cmFuc2Zvcm06IHNjYWxlWSgje3JhbmRvbSg5KX0pO1xuICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICB9XG4gICAgICAgICAgfVxuICAgICAgfVxuICAgIH1cblxuICAgICYubGV2ZWwtbmluZSB7XG4gICAgICBAZm9yICRpIGZyb20gMCB0aHJvdWdoICRiYXJzIHtcbiAgICAgICAgICAuYmFyOm50aC1jaGlsZCgjeyRpfSkge1xuICAgICAgICAgICAgICAkc2F0dXJhdGlvbjogMTAwIC0gKCgkaSArIDEpICogJG11bHRpcGxpZXIpO1xuICAgICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiBoc2xhKDE0MCwgNzMlLCA0MiUsIDEpO1xuICAgICAgICAgICAgICBhbmltYXRpb246IGdyb3ctbmluZSN7JGl9ICN7cmFuZG9tKDcwMCkgKyAxNTAwfW1zIGFsdGVybmF0ZSBpbmZpbml0ZTtcbiAgICAgICAgICB9XG5cbiAgICAgICAgICBAa2V5ZnJhbWVzIGdyb3ctbmluZSN7JGl9IHtcbiAgICAgICAgICAgICAgQGZvciAkaiBmcm9tIDAgdGhyb3VnaCA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Ckge1xuICAgIEBjb250ZW50XG4gIH1cbn1cblxuQG1peGluIGd0LXhzIHtcbiAgQG1lZGlhIHNjcmVlbiBhbmQgKG1pbi13aWR0aDogNjAwcHgpIHtcbiAgICBAY29udGVudFxuICB9XG59Il19 */\";\n    /***/\n  },\n\n  /***/\n  \"./src/app/components/moods-graph/moods-graph.component.ts\":\n  /*!*****************************************************************!*\\\n    !*** ./src/app/components/moods-graph/moods-graph.component.ts ***!\n    \\*****************************************************************/\n\n  /*! exports provided: MoodsGraphComponent */\n\n  /***/\n  function srcAppComponentsMoodsGraphMoodsGraphComponentTs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MoodsGraphComponent\", function () {\n      return MoodsGraphComponent;\n    });\n    /* harmony import */\n\n\n    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! tslib */\n    \"./node_modules/tslib/tslib.es6.js\");\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var src_app_services_intersectionObserver__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! src/app/services/intersectionObserver */\n    \"./src/app/services/intersectionObserver.ts\");\n\n    var MoodsGraphComponent =\n    /*#__PURE__*/\n    function () {\n      function MoodsGraphComponent(element, intersectionObserverService) {\n        _classCallCheck(this, MoodsGraphComponent);\n\n        this.element = element;\n        this.intersectionObserverService = intersectionObserverService;\n        this.appColor = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"EventEmitter\"]();\n        this.show = false;\n      }\n\n      _createClass(MoodsGraphComponent, [{\n        key: \"updateAppBackgroundColor\",\n        value: function updateAppBackgroundColor() {\n          this.appColor.emit(2);\n        }\n      }, {\n        key: \"ngOnInit\",\n        value: function ngOnInit() {}\n      }, {\n        key: \"ngAfterViewInit\",\n        value: function ngAfterViewInit() {\n          var _this8 = this;\n\n          this.intersectionObserverService.init(this.element.nativeElement, {\n            threshold: 0.30\n          });\n          this.intersectionObserverSubs = this.intersectionObserverService.getSubject().subscribe(function (el) {\n            if (el.isIntersecting) {\n              _this8.updateAppBackgroundColor();\n\n              _this8.show = true;\n            } else {\n              _this8.show = false;\n            }\n          });\n        }\n      }]);\n\n      return MoodsGraphComponent;\n    }();\n\n    MoodsGraphComponent.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ElementRef\"]\n      }, {\n        type: src_app_services_intersectionObserver__WEBPACK_IMPORTED_MODULE_2__[\"default\"]\n      }];\n    };\n\n    tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Output\"])()], MoodsGraphComponent.prototype, \"appColor\", void 0);\n    MoodsGraphComponent = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Component\"])({\n      selector: 'app-moods-graph',\n      template: tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(\n      /*! raw-loader!./moods-graph.component.html */\n      \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/moods-graph/moods-graph.component.html\")).default,\n      providers: [src_app_services_intersectionObserver__WEBPACK_IMPORTED_MODULE_2__[\"default\"]],\n      styles: [tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(\n      /*! ./moods-graph.component.scss */\n      \"./src/app/components/moods-graph/moods-graph.component.scss\")).default]\n    })], MoodsGraphComponent);\n    /***/\n  },\n\n  /***/\n  \"./src/app/components/obscurity-graph/obscurity-graph.component.scss\":\n  /*!***************************************************************************!*\\\n    !*** ./src/app/components/obscurity-graph/obscurity-graph.component.scss ***!\n    \\***************************************************************************/\n\n  /*! exports provided: default */\n\n  /***/\n  function srcAppComponentsObscurityGraphObscurityGraphComponentScss(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony default export */\n\n\n    __webpack_exports__[\"default\"] = \".obscurity__graph {\\n  margin-top: 2em;\\n  border-radius: 5px;\\n  width: 100%;\\n  padding: 2em 1em;\\n  display: flex;\\n  justify-content: space-around;\\n  align-items: flex-end;\\n  background-color: #A9E5AC;\\n  box-shadow: 22px 21px 1px 0 rgba(0, 0, 0, 0.5);\\n}\\n.obscurity__graph__container {\\n  display: flex;\\n  justify-content: space-around;\\n  align-items: flex-end;\\n  width: 100%;\\n  height: 300px;\\n}\\n.obscurity__graph__container .obscurity__avg-bar {\\n  will-change: height, opacity;\\n  background: #FFFBFA;\\n  box-shadow: 12px 12px 1px 0 rgba(0, 0, 0, 0.25);\\n  width: 60px;\\n  display: flex;\\n  justify-content: center;\\n  align-items: center;\\n  position: relative;\\n  margin-bottom: 5rem;\\n}\\n.obscurity__graph__container .obscurity__avg-bar.active .bar-value {\\n  opacity: 1;\\n  visibility: visible;\\n}\\n.obscurity__graph__container .obscurity__avg-bar .bar-value {\\n  color: grey;\\n  opacity: 0;\\n  transition: all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1) 1s;\\n}\\n.obscurity__graph__container .obscurity__avg-bar .bar-title {\\n  position: absolute;\\n  bottom: -5em;\\n  font-weight: bold;\\n  font-size: 14px;\\n  color: #000000;\\n  letter-spacing: 0.87px;\\n  text-align: center;\\n  height: 35px;\\n}\\n.obscurity__graph__container .obscurity-avg-bar:nth-child(1) {\\n  transition: all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);\\n}\\n.obscurity__graph__container .obscurity-avg-bar:nth-child(2) {\\n  transition: all 1s cubic-bezier(0.645, 0.045, 0.355, 1);\\n}\\n.obscurity__graph__container .obscurity-avg-bar:nth-child(3) {\\n  transition: all 1.5s cubic-bezier(0.645, 0.045, 0.355, 1);\\n}\\n.obscurity__graph__container .obscurity-avg-bar:nth-child(4) {\\n  transition: all 2s cubic-bezier(0.645, 0.045, 0.355, 1);\\n}\\n.obscurity__graph__info {\\n  text-align: left;\\n  padding: 0 2em;\\n  margin-top: 1em;\\n  font-size: 0.8rem;\\n}\\n@media (min-width: 1024px) {\\n  .obscurity__graph {\\n    max-width: 600px;\\n    box-sizing: border-box;\\n  }\\n  .obscurity__graph__info {\\n    font-size: 1rem;\\n  }\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9Vc2Vycy9hbGV4L0Rlc2t0b3Avb2JzY3VyaWZ5My9zcmMvYXBwL2NvbXBvbmVudHMvb2JzY3VyaXR5LWdyYXBoL29ic2N1cml0eS1ncmFwaC5jb21wb25lbnQuc2NzcyIsIi9Vc2Vycy9hbGV4L0Rlc2t0b3Avb2JzY3VyaWZ5My9zcmMvYXBwL3Njc3MvX3ZhcmlhYmxlcy5zY3NzIiwic3JjL2FwcC9jb21wb25lbnRzL29ic2N1cml0eS1ncmFwaC9vYnNjdXJpdHktZ3JhcGguY29tcG9uZW50LnNjc3MiLCIvVXNlcnMvYWxleC9EZXNrdG9wL29ic2N1cmlmeTMvc3JjL2FwcC9zY3NzL19taXhpbnMuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHQTtFQUNJLGVBQUE7RUFDQSxrQkFBQTtFQUNBLFdBQUE7RUFDQSxnQkFBQTtFQUNBLGFBQUE7RUFDQSw2QkFBQTtFQUNBLHFCQUFBO0VBQ0EseUJDTFk7RURNWiw4Q0FBQTtBRUZKO0FGSUk7RUFDSSxhQUFBO0VBQ0EsNkJBQUE7RUFDQSxxQkFBQTtFQUNBLFdBQUE7RUFDQSxhQUFBO0FFRlI7QUZJUTtFQUVJLDRCQUFBO0VBRUEsbUJBQUE7RUFDQSwrQ0FBQTtFQUNBLFdBQUE7RUFDQSxhQUFBO0VBQ0EsdUJBQUE7RUFDQSxtQ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6IDIycHggMjFweCAxcHggMCByZ2JhKDAsIDAsIDAsIDAuNSk7XG5cbiAgICAmX19jb250YWluZXIge1xuICAgICAgICBkaXNwbGF5OiBmbGV4O1xuICAgICAgICBqdXN0aWZ5LWNvbnRlbnQ6IHNwYWNlLWFyb3VuZDtcbiAgICAgICAgYWxpZ24taXRlbXM6IGZsZXgtZW5kO1xuICAgICAgICB3aWR0aDogMTAwJTtcbiAgICAgICAgaGVpZ2h0OiAzMDBweDtcbiAgICBcbiAgICAgICAgLm9ic2N1cml0eV9fYXZnLWJhciB7XG4gICAgICAgICAgICAvLyBoZWlnaHQ6IDI2M3B4O1xuICAgICAgICAgICAgd2lsbC1jaGFuZ2U6IGhlaWdodCwgb3BhY2l0eTtcbiAgICBcbiAgICAgICAgICAgIGJhY2tncm91bmQ6ICNGRkZCRkE7XG4gICAgICAgICAgICBib3gtc2hhZG93OiAxMnB4IDEycHggMXB4IDAgcmdiYSgwLDAsMCwwLjI1KTtcbiAgICAgICAgICAgIHdpZHRoOiA2MHB4O1xuICAgICAgICAgICAgZGlzcGxheTogZmxleDtcbiAgICAgICAgICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuICAgICAgICAgICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgICAgICAgICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IDVyZW07XG4gICAgXG4gICAgICAgICAgICAmLmFjdGl2ZSB7XG4gICAgICAgICAgICAgICAgLmJhci12YWx1ZSB7XG4gICAgICAgICAgICAgICAgICAgIG9wYWNpdHk6IDE7XG4gICAgICAgICAgICAgICAgICAgIHZpc2liaWxpdHk6IHZpc2libGU7XG4gICAgXG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgIFxuICAgICAgICAgICAgLmJhci12YWx1ZXtcbiAgICAgICAgICAgICAgICBjb2xvcjogZ3JleTtcbiAgICAgICAgICAgICAgICBvcGFjaXR5OiAwO1xuICAgICAgICAgICAgICAgIHRyYW5zaXRpb246IGFsbCAuNXMgY3ViaWMtYmV6aWVyKDAuNjQ1LCAwLjA0NSwgMC4zNTUsIDEpIDFzO1xuICAgIFxuICAgICAgICAgICAgfVxuICAgIFxuICAgICAgICAgICAgLmJhci10aXRsZSB7XG4gICAgICAgICAgICAgICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgICAgICAgICAgICAgIGJvdHRvbTogLTVlbTtcbiAgICAgICAgICAgICAgICBmb250LXdlaWdodDogYm9sZDtcbiAgICAgICAgICAgICAgICBmb250LXNpemU6IDE0cHg7XG4gICAgICAgICAgICAgICAgY29sb3I6ICMwMDAwMDA7XG4gICAgICAgICAgICAgICAgbGV0dGVyLXNwYWNpbmc6IDAuODdweDtcbiAgICAgICAgICAgICAgICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gICAgICAgICAgICAgICAgaGVpZ2h0OiAzNXB4O1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgXG4gICAgICAgICR0aW1lTGlzdDogMC41LCAxLCAxLjUsIDI7XG4gICAgICAgICRjb3VudDogMTtcbiAgICBcbiAgICAgICAgQGVhY2ggJHRpbWUgaW4gJHRpbWVMaXN0IHtcbiAgICAgICAgLm9ic2N1cml0eS1hdmctYmFyOm50aC1jaGlsZCgjeyRjb3VudH0pIHtcbiAgICAgICAgICAgIHRyYW5zaXRpb246IGFsbCAjeyR0aW1lfXMgY3ViaWMtYmV6aWVyKDAuNjQ1LCAwLjA0NSwgMC4zNTUsIDEpO1xuICAgICAgICB9XG4gICAgICAgICRjb3VudDogJGNvdW50ICsgMTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgICZfX2luZm8ge1xuICAgICAgICB0ZXh0LWFsaWduOiBsZWZ0O1xuICAgICAgICBwYWRkaW5nOiAwIDJlbTtcbiAgICAgICAgbWFyZ2luLXRvcDogMWVtO1xuICAgICAgICBmb250LXNpemU6IDAuOHJlbTtcbiAgICB9XG59XG5cbkBpbmN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bmQgKG1heC13aWR0aDogI3skZGVza3RvcC13aWR0aCAtIDFweH0pIHtcbiAgICBAY29udGVudDtcbiAgfVxufVxuXG5AbWl4aW4gZGVza3RvcCB7XG4gIEBtZWRpYSAobWluLXdpZHRoOiAjeyRkZXNrdG9wLXdpZHRofSkge1xuICAgIEBjb250ZW50O1xuICB9XG59XG5cbkBtaXhpbiBsdC1tZCB7XG4gIEBtZWRpYSBzY3JlZW4gYW5kIChtYXgtd2lkdGg6IDk1OXB4KSB7XG4gICAgQGNvbnRlbnRcbiAgfVxufVxuXG5AbWl4aW4gZ3QtbWQge1xuICBAbWVkaWEgc2NyZWVuIGFuZCAobWluLXdpZHRoOiA5NjBweCkge1xuICAgIEBjb250ZW50XG4gIH1cbn1cblxuQG1peGluIGd0LXhzIHtcbiAgQG1lZGlhIHNjcmVlbiBhbmQgKG1pbi13aWR0aDogNjAwcHgpIHtcbiAgICBAY29udGVudFxuICB9XG59Il19 */\";\n    /***/\n  },\n\n  /***/\n  \"./src/app/components/obscurity-graph/obscurity-graph.component.ts\":\n  /*!*************************************************************************!*\\\n    !*** ./src/app/components/obscurity-graph/obscurity-graph.component.ts ***!\n    \\*************************************************************************/\n\n  /*! exports provided: ObscurityGraphComponent */\n\n  /***/\n  function srcAppComponentsObscurityGraphObscurityGraphComponentTs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ObscurityGraphComponent\", function () {\n      return ObscurityGraphComponent;\n    });\n    /* harmony import */\n\n\n    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! tslib */\n    \"./node_modules/tslib/tslib.es6.js\");\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! @angular/platform-browser */\n    \"./node_modules/@angular/platform-browser/fesm2015/platform-browser.js\");\n\n    var ObscurityGraphComponent = function ObscurityGraphComponent(renderer, el, sanitizer) {\n      _classCallCheck(this, ObscurityGraphComponent);\n\n      // events.subscribe('graphInit', () => {\n      this.renderer = renderer;\n      this.el = el;\n      this.sanitizer = sanitizer;\n      this.imageURL = '';\n      this.country = '';\n      this.doneLoading = false;\n      this.barActive = false; //   this.setGraph();\n      // });\n    };\n\n    ObscurityGraphComponent.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Renderer2\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ElementRef\"]\n      }, {\n        type: _angular_platform_browser__WEBPACK_IMPORTED_MODULE_2__[\"DomSanitizer\"]\n      }];\n    };\n\n    tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"])()], ObscurityGraphComponent.prototype, \"data\", void 0);\n    tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ViewChild\"])('globalAvgBar', {\n      static: true\n    })], ObscurityGraphComponent.prototype, \"globalBar\", void 0);\n    tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ViewChild\"])('countryAvgBar', {\n      static: true\n    })], ObscurityGraphComponent.prototype, \"countryBar\", void 0);\n    tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ViewChild\"])('allTimeBar', {\n      static: true\n    })], ObscurityGraphComponent.prototype, \"allTimeBar\", void 0);\n    tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ViewChild\"])('recentBar', {\n      static: true\n    })], ObscurityGraphComponent.prototype, \"recentBar\", void 0);\n    ObscurityGraphComponent = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Component\"])({\n      selector: 'app-obscurity-graph',\n      template: tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(\n      /*! raw-loader!./obscurity-graph.component.html */\n      \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/obscurity-graph/obscurity-graph.component.html\")).default,\n      styles: [tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(\n      /*! ./obscurity-graph.component.scss */\n      \"./src/app/components/obscurity-graph/obscurity-graph.component.scss\")).default]\n    })], ObscurityGraphComponent);\n    /***/\n  },\n\n  /***/\n  \"./src/app/components/obscurity-rating/obscurity-rating.component.scss\":\n  /*!*****************************************************************************!*\\\n    !*** ./src/app/components/obscurity-rating/obscurity-rating.component.scss ***!\n    \\*****************************************************************************/\n\n  /*! exports provided: default */\n\n  /***/\n  function srcAppComponentsObscurityRatingObscurityRatingComponentScss(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony default export */\n\n\n    __webpack_exports__[\"default\"] = \".header__title {\\n  font-size: 3em;\\n  border-bottom: 8px black solid;\\n  width: -webkit-fit-content;\\n  width: -moz-fit-content;\\n  width: fit-content;\\n  padding-bottom: 0.2em;\\n  margin: 0;\\n}\\n\\n.obscurity {\\n  max-width: 1024px;\\n  margin: 0 auto;\\n  padding: 2rem 0px;\\n  transform: translateY(100px);\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n  opacity: 0;\\n  transform: translateY(100px);\\n}\\n\\n.obscurity.show {\\n  opacity: 1;\\n  transform: translateY(0px);\\n}\\n\\n.header__title {\\n  color: white;\\n  border-bottom: 5px #A9E5AC solid;\\n}\\n\\n.percentile {\\n  display: flex;\\n  justify-content: flex-start;\\n  margin-top: 3em;\\n}\\n\\n.percentile h2 {\\n  font-size: 4em;\\n  text-align: center;\\n}\\n\\n.percentile p {\\n  font-size: 1em;\\n  margin-top: 1em;\\n}\\n\\n.percentile__card {\\n  border-radius: 5px;\\n  background-color: #fff;\\n  display: flex;\\n  flex-wrap: wrap;\\n  flex-direction: column;\\n  justify-content: flex-start;\\n  align-items: stretch;\\n  padding: 2em 2em 5em;\\n  box-shadow: 22px 21px 4px 4px rgba(0, 0, 0, 0.5);\\n}\\n\\n@media (min-width: 1024px) {\\n  .percentile__card {\\n    padding: 2em 2em 5em;\\n    min-width: 600px;\\n    box-sizing: border-box;\\n  }\\n  .percentile h2 {\\n    font-size: 8em;\\n  }\\n  .percentile p {\\n    font-size: 1em;\\n    margin-top: 1em;\\n  }\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9Vc2Vycy9hbGV4L0Rlc2t0b3Avb2JzY3VyaWZ5My9zcmMvYXBwL3Njc3MvY29tcG9uZW50cy9faGVhZGVyLnNjc3MiLCJzcmMvYXBwL2NvbXBvbmVudHMvb2JzY3VyaXR5LXJhdGluZy9vYnNjdXJpdHktcmF0aW5nLmNvbXBvbmVudC5zY3NzIiwiL1VzZXJzL2FsZXgvRGVza3RvcC9vYnNjdXJpZnkzL3NyYy9hcHAvY29tcG9uZW50cy9vYnNjdXJpdHktcmF0aW5nL29ic2N1cml0eS1yYXRpbmcuY29tcG9uZW50LnNjc3MiLCIvVXNlcnMvYWxleC9EZXNrdG9wL29ic2N1cmlmeTMvc3JjL2FwcC9zY3NzL19taXhpbnMuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFSTtFQUNJLGNBQUE7RUFDQSw4QkFBQTtFQUNBLDBCQUFBO0VBQUEsdUJBQUE7RUFBQSxrQkFBQTtFQUNBLHFCQUFBO0VBQ0EsU0FBQTtBQ0RSOztBQ0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hcnktY29sb3Igc29saWQ7XG59XG5cbi5wZXJjZW50aWxlIHtcbiAgICBkaXNwbGF5OmZsZXg7XG4gICAganVzdGlmeS1jb250ZW50OiBmbGV4LXN0YXJ0O1xuICAgIG1hcmdpbi10b3A6IDNlbTtcblxuICAgIGgyIHtcbiAgICAgIGZvbnQtc2l6ZTogNGVtO1xuICAgICAgdGV4dC1hbGlnbjogY2VudGVyO1xuICAgIH1cbiAgXG4gICAgcCB7XG4gICAgICAgIGZvbnQtc2l6ZTogMWVtO1xuICAgICAgICBtYXJnaW4tdG9wOiAxZW07XG4gICAgfVxuICBcbiAgICAmX19jYXJkIHtcbiAgICAgIGJvcmRlci1yYWRpdXM6IDVweDtcbiAgICAgIGJhY2tncm91bmQtY29sb3I6ICNmZmY7XG4gICAgICBkaXNwbGF5OiBmbGV4O1xuICAgICAgZmxleC13cmFwOiB3cmFwO1xuICAgICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcbiAgICAgIGp1c3RpZnktY29udGVudDogZmxleC1zdGFydDtcbiAgICAgIGFsaWduLWl0ZW1zOiBzdHJldGNoO1xuICAgICAgcGFkZGluZzogMmVtIDJlbSA1ZW07XG4gICAgICBib3gtc2hhZG93OiAyMnB4IDIxcHggNHB4IDRweCByZ2JhKDAsIDAsIDAsIDAuNSk7XG4gICAgfVxuICB9XG5cblxuQGluY2x1ZGUgZGVza3RvcCB7XG5cbiAgICAucGVyY2VudGlsZSB7XG5cbiAgICAgICAgJl9fY2FyZCB7XG4gICAgICAgICAgICBwYWRkaW5nOiAyZW0gMmVtIDVlbTtcbiAgICAgICAgICAgIG1pbi13aWR0aDogNjAwcHg7XG4gICAgICAgICAgICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xuICAgICAgICB9XG5cbiAgICAgICAgICBcbiAgICAgICAgaDIge1xuICAgICAgICAgIGZvbnQtc2l6ZTogOGVtO1xuICAgICAgICB9XG4gICAgICBcbiAgICAgICAgcCB7XG4gICAgICAgICAgICBmb250LXNpemU6IDFlbTtcbiAgICAgICAgICAgIG1hcmdpbi10b3A6IDFlbTtcbiAgICAgICAgfVxuICAgIH0gXG5cbn1cbiAgIiwiJHRhYmxldC13aWR0aDogNzY4cHg7XG4kZGVza3RvcC13aWR0aDogMTAyNHB4O1xuXG5AbWl4aW4gdGFibGV0IHtcbiAgQG1lZGlhIChtaW4td2lkdGg6ICN7JHRhYmxldC13aWR0aH0pIGFuZCAobWF4LXdpZHRoOiAjeyRkZXNrdG9wLXdpZHRoIC0gMXB4fSkge1xuICAgIEBjb250ZW50O1xuICB9XG59XG5cbkBtaXhpbiBkZXNrdG9wIHtcbiAgQG1lZGlhIChtaW4td2lkdGg6ICN7JGRlc2t0b3Atd2lkdGh9KSB7XG4gICAgQGNvbnRlbnQ7XG4gIH1cbn1cblxuQG1peGluIGx0LW1kIHtcbiAgQG1lZGlhIHNjcmVlbiBhbmQgKG1heC13aWR0aDogOTU5cHgpIHtcbiAgICBAY29udGVudFxuICB9XG59XG5cbkBtaXhpbiBndC1tZCB7XG4gIEBtZWRpYSBzY3JlZW4gYW5kIChtaW4td2lkdGg6IDk2MHB4KSB7XG4gICAgQGNvbnRlbnRcbiAgfVxufVxuXG5AbWl4aW4gZ3QteHMge1xuICBAbWVkaWEgc2NyZWVuIGFuZCAobWluLXdpZHRoOiA2MDBweCkge1xuICAgIEBjb250ZW50XG4gIH1cbn0iXX0= */\";\n    /***/\n  },\n\n  /***/\n  \"./src/app/components/obscurity-rating/obscurity-rating.component.ts\":\n  /*!***************************************************************************!*\\\n    !*** ./src/app/components/obscurity-rating/obscurity-rating.component.ts ***!\n    \\***************************************************************************/\n\n  /*! exports provided: ObscurityRatingComponent */\n\n  /***/\n  function srcAppComponentsObscurityRatingObscurityRatingComponentTs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ObscurityRatingComponent\", function () {\n      return ObscurityRatingComponent;\n    });\n    /* harmony import */\n\n\n    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! tslib */\n    \"./node_modules/tslib/tslib.es6.js\");\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var src_app_services_intersectionObserver__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! src/app/services/intersectionObserver */\n    \"./src/app/services/intersectionObserver.ts\");\n\n    var ObscurityRatingComponent =\n    /*#__PURE__*/\n    function () {\n      function ObscurityRatingComponent(element, intersectionObserverService) {\n        _classCallCheck(this, ObscurityRatingComponent);\n\n        this.element = element;\n        this.intersectionObserverService = intersectionObserverService;\n        this.appColor = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"EventEmitter\"]();\n        this.show = false;\n      }\n\n      _createClass(ObscurityRatingComponent, [{\n        key: \"updateAppBackgroundColor\",\n        value: function updateAppBackgroundColor(val) {\n          if (val) {\n            this.appColor.emit(3);\n          } else {\n            this.appColor.emit(2);\n          }\n        }\n      }, {\n        key: \"ngOnInit\",\n        value: function ngOnInit() {}\n      }, {\n        key: \"ngAfterViewInit\",\n        value: function ngAfterViewInit() {\n          var _this9 = this;\n\n          this.intersectionObserverService.init(this.element.nativeElement, {\n            threshold: 0.20\n          });\n          this.intersectionObserverSubs = this.intersectionObserverService.getSubject().subscribe(function (el) {\n            if (el.isIntersecting) {\n              _this9.updateAppBackgroundColor(true);\n\n              _this9.show = true;\n            } else {\n              _this9.show = false;\n            }\n\n            if (el.isVisible) {\n              _this9.updateAppBackgroundColor(false);\n            }\n          });\n        }\n      }]);\n\n      return ObscurityRatingComponent;\n    }();\n\n    ObscurityRatingComponent.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ElementRef\"]\n      }, {\n        type: src_app_services_intersectionObserver__WEBPACK_IMPORTED_MODULE_2__[\"default\"]\n      }];\n    };\n\n    tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Output\"])()], ObscurityRatingComponent.prototype, \"appColor\", void 0);\n    ObscurityRatingComponent = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Component\"])({\n      selector: 'app-obscurity-rating',\n      template: tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(\n      /*! raw-loader!./obscurity-rating.component.html */\n      \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/obscurity-rating/obscurity-rating.component.html\")).default,\n      providers: [src_app_services_intersectionObserver__WEBPACK_IMPORTED_MODULE_2__[\"default\"]],\n      styles: [tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(\n      /*! ./obscurity-rating.component.scss */\n      \"./src/app/components/obscurity-rating/obscurity-rating.component.scss\")).default]\n    })], ObscurityRatingComponent);\n    /***/\n  },\n\n  /***/\n  \"./src/app/components/recommendations/recommendations.component.scss\":\n  /*!***************************************************************************!*\\\n    !*** ./src/app/components/recommendations/recommendations.component.scss ***!\n    \\***************************************************************************/\n\n  /*! exports provided: default */\n\n  /***/\n  function srcAppComponentsRecommendationsRecommendationsComponentScss(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony default export */\n\n\n    __webpack_exports__[\"default\"] = \".header__title {\\n  font-size: 3em;\\n  border-bottom: 8px black solid;\\n  width: -webkit-fit-content;\\n  width: -moz-fit-content;\\n  width: fit-content;\\n  padding-bottom: 0.2em;\\n  margin: 0;\\n}\\n\\n.recommendations {\\n  max-width: 620px;\\n  margin: 0 auto;\\n  display: flex;\\n  flex-direction: column;\\n  padding: 5rem 0;\\n  position: relative;\\n  height: 100%;\\n  min-height: 620px;\\n  opacity: 0;\\n  transform: translateY(100px);\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n}\\n\\n.recommendations.show {\\n  opacity: 1;\\n  transform: translateY(0px);\\n}\\n\\n.recommendations .header {\\n  color: white;\\n}\\n\\n.recommendations .header__title {\\n  border-color: white;\\n  font-size: 2.3em;\\n}\\n\\n.recommendations__content {\\n  position: relative;\\n}\\n\\n.recommendations__container {\\n  position: absolute;\\n  left: 0;\\n  top: 0;\\n  width: 100%;\\n  height: 100%;\\n  border-radius: 25px 25px 0 0;\\n  overflow: hidden;\\n  box-sizing: content-box;\\n  padding-top: 80px;\\n  min-height: 620px;\\n}\\n\\n.filter-btn {\\n  background-color: #2d3436;\\n  border: none;\\n  height: 29px;\\n  width: 44px;\\n  border-radius: 19px;\\n  color: white;\\n  font-size: 17px;\\n  padding-top: 1px;\\n  top: 20px;\\n  left: 10px;\\n  position: absolute;\\n  z-index: 3;\\n}\\n\\n.add-playlist-btn, .refresh-btn {\\n  background-color: transparent;\\n  border: none;\\n  height: 29px;\\n  border-radius: 19px;\\n  color: #2d3436;\\n  font-size: 17px;\\n  padding-top: 1px;\\n  top: 20px;\\n  right: 10px;\\n  position: absolute;\\n  z-index: 1;\\n  display: inline-block;\\n  cursor: pointer;\\n}\\n\\n.add-playlist-btn span, .refresh-btn span {\\n  /* Create Playlist: */\\n  font-size: 14px;\\n  font-weight: bold;\\n  color: #fffbfa;\\n  letter-spacing: 1.35px;\\n  text-align: center;\\n  margin-right: 6px;\\n  z-index: 1;\\n}\\n\\n.refresh-btn {\\n  right: auto;\\n}\\n\\n.content {\\n  position: relative;\\n}\\n\\n.track-container {\\n  overflow-x: auto;\\n  width: 100%;\\n  height: 100%;\\n  -ms-overflow-style: none;\\n  overflow: -moz-scrollbars-none;\\n  overflow-y: hidden;\\n}\\n\\n.track-container::-webkit-scrollbar {\\n  display: none;\\n}\\n\\n.card-track {\\n  display: flex;\\n  overflow-y: hidden;\\n  overflow-x: scroll;\\n  width: 2700px;\\n  z-index: 1;\\n  padding-left: 42px;\\n  flex-wrap: wrap;\\n  height: 470px;\\n  align-items: flex-start;\\n  align-content: baseline;\\n}\\n\\n.card-track::-webkit-scrollbar {\\n  display: none;\\n}\\n\\n.card-track .card {\\n  background: none;\\n  width: 252px;\\n  height: 168px;\\n  margin-right: 70px;\\n  position: relative;\\n}\\n\\n.card-track .card img {\\n  -o-object-fit: cover;\\n     object-fit: cover;\\n  width: 100%;\\n  max-height: 100%;\\n}\\n\\n.card-track .card .card-info {\\n  background: #2d3436;\\n  box-shadow: -12px 5px 4px 0 rgba(0, 0, 0, 0.5);\\n  width: 252px;\\n  height: 142px;\\n  position: absolute;\\n  left: -16px;\\n  top: 16px;\\n  display: flex;\\n  flex-wrap: wrap;\\n  align-content: flex-end;\\n  justify-content: flex-start;\\n  padding: 16px 16px 8px;\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n  top: 50px;\\n  box-sizing: border-box;\\n}\\n\\n.card-track .card .card-info h3 {\\n  font-size: 14px;\\n  margin: 0;\\n  width: 100%;\\n  color: #fff;\\n}\\n\\n.card-track .card .card-info p {\\n  color: #fff;\\n  font-size: 10px;\\n  margin: 0;\\n}\\n\\n.card-track .card .card-info a {\\n  text-decoration: none;\\n  color: #fff;\\n  display: flex;\\n  flex-wrap: wrap;\\n  align-content: flex-end;\\n}\\n\\n.card-track .card .card-content {\\n  background: #fffbfa;\\n  width: 252px;\\n  height: 142px;\\n  margin-right: 70px;\\n  position: relative;\\n  z-index: 1;\\n}\\n\\n.card-track .card:nth-child(9) {\\n  margin-left: 40px;\\n}\\n\\n.card-track .card:nth-child(1n+9) {\\n  margin-top: 50px;\\n}\\n\\n.track-container {\\n  overflow-x: auto;\\n  width: 100%;\\n  height: 100%;\\n  -ms-overflow-style: none;\\n  overflow: -moz-scrollbars-none;\\n  overflow-y: hidden;\\n}\\n\\n.track-container::-webkit-scrollbar {\\n  display: none;\\n}\\n\\n.card-track {\\n  display: flex;\\n  overflow-y: hidden;\\n  overflow-x: scroll;\\n  width: 2700px;\\n  z-index: 1;\\n  padding-left: 42px;\\n  flex-wrap: wrap;\\n  height: 470px;\\n  align-items: flex-start;\\n  align-content: baseline;\\n  box-sizing: content-box;\\n}\\n\\n.card-track::-webkit-scrollbar {\\n  display: none;\\n}\\n\\n.card-track .card {\\n  background: none;\\n  width: 252px;\\n  height: 168px;\\n  position: relative;\\n}\\n\\n.card-track .card img {\\n  -o-object-fit: cover;\\n     object-fit: cover;\\n  width: 100%;\\n  max-height: 100%;\\n}\\n\\n.card-track .card .card-info {\\n  background: #2D3436;\\n  box-shadow: -12px 5px 4px 0 rgba(0, 0, 0, 0.5);\\n  width: 252px;\\n  height: 142px;\\n  position: absolute;\\n  left: -16px;\\n  top: 16px;\\n  display: flex;\\n  flex-wrap: wrap;\\n  align-content: flex-end;\\n  justify-content: flex-start;\\n  padding: 16px 16px 8px;\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n  top: 50px;\\n}\\n\\n.card-track .card .card-info h3 {\\n  font-size: 14px;\\n  margin: 0;\\n  width: 100%;\\n  color: #fff;\\n}\\n\\n.card-track .card .card-info p {\\n  color: #fff;\\n  font-size: 10px;\\n  margin: 0;\\n}\\n\\n.card-track .card .card-info a {\\n  text-decoration: none;\\n  color: #fff;\\n  display: flex;\\n  flex-wrap: wrap;\\n  align-content: flex-end;\\n}\\n\\n.card-track .card .card-content {\\n  background: #FFFBFA;\\n  width: 252px;\\n  height: 142px;\\n  margin-right: 70px;\\n  position: relative;\\n  z-index: 1;\\n}\\n\\n.card-track .card:nth-child(9) {\\n  margin-left: 40px;\\n}\\n\\n.card-track .card:nth-child(1n+9) {\\n  margin-top: 50px;\\n}\\n\\n@media (min-width: 1024px) {\\n  .recommendations {\\n    max-width: 820px;\\n  }\\n  .recommendations .header__title {\\n    border-color: white;\\n    font-size: 3em;\\n  }\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3Vy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cGxheTogZmxleDtcbiAgICAgIGZsZXgtd3JhcDogd3JhcDtcbiAgICAgIGFsaWduLWNvbnRlbnQ6IGZsZXgtZW5kO1xuICAgICAganVzdGlmeS1jb250ZW50OiBmbGV4LXN0YXJ0O1xuICAgICAgcGFkZGluZzogMTZweCAxNnB4IDhweDtcbiAgICAgIHRyYW5zaXRpb246IC4zcyBjdWJpYy1iZXppZXIoLjI1LC4xLC4yNSwxKTtcbiAgICAgIHRvcDogNTBweDtcbiAgICAgIGJveC1zaXppbmc6IGJvcmRlci1ib3g7XG5cbiAgICAgIGgzIHtcbiAgICAgICAgZm9udC1zaXplOiAxNHB4O1xuICAgICAgICBtYXJnaW46IDA7XG4gICAgICAgIHdpZHRoOiAxMDAlO1xuICAgICAgICBjb2xvcjogI2ZmZjtcbiAgICAgIH1cblxuICAgICAgcCB7XG4gICAgICAgIGNvbG9yOiAjZmZmO1xuICAgICAgICBmb250LXNpemU6IDEwcHg7XG4gICAgICAgIG1hcmdpbjogMDtcbiAgICAgIH1cbiAgICAgIGEge1xuICAgICAgICB0ZXh0LWRlY29yYXRpb246IG5vbmU7XG4gICAgICAgIGNvbG9yOiAjZmZmO1xuICAgICAgICBkaXNwbGF5OiBmbGV4O1xuICAgICAgICBmbGV4LXdyYXA6IHdyYXA7XG4gICAgICAgIGFsaWduLWNvbnRlbnQ6IGZsZXgtZW5kO1xuICAgICAgfVxuICAgIH1cbiAgICAuY2FyZC1jb250ZW50IHtcbiAgICAgIGJhY2tncm91bmQ6ICNmZmZiZmE7XG4gICAgICB3aWR0aDogMjUycHg7XG4gICAgICBoZWlnaHQ6IDE0MnB4O1xuICAgICAgbWFyZ2luLXJpZ2h0OiA3MHB4O1xuICAgICAgcG9zaXRpb246IHJlbGF0aXZlO1xuICAgICAgei1pbmRleDogMTtcbiAgICB9XG5cbiAgICAmOm50aC1jaGlsZCg5KSB7XG4gICAgICBtYXJnaW4tbGVmdDogNDBweDtcbiAgICB9XG5cbiAgICAmOm50aC1jaGls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jtcbiAgICAgICAgd2lkdGg6IDEwMCU7XG4gICAgICAgIG1heC1oZWlnaHQ6IDEwMCU7XG4gICAgICB9XG5cbiAgICAgIC5jYXJkLWluZm8ge1xuICAgICAgICBiYWNrZ3JvdW5kOiAjMkQzNDM2O1xuICAgICAgICBib3gtc2hhZG93OiAtMTJweCA1cHggNHB4IDAgcmdiYSgwLDAsMCwwLjUwKTtcbiAgICAgICAgd2lkdGg6IDI1MnB4O1xuICAgICAgICBoZWlnaHQ6IDE0MnB4O1xuICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgICAgIGxlZnQ6IC0xNnB4O1xuICAgICAgICB0b3A6IDE2cHg7XG4gICAgICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgICAgIGZsZXgtd3JhcDogd3JhcDtcbiAgICAgICAgYWxpZ24tY29udGVudDogZmxleC1lbmQ7XG4gICAgICAgIGp1c3RpZnktY29udGVudDogZmxleC1zdGFydDtcbiAgICAgICAgcGFkZGluZzogMTZweCAxNnB4IDhweDtcbiAgICAgICAgdHJhbnNpdGlvbjogLjNzIGN1YmljLWJlemllciguMjUsLjEsLjI1LDEpO1xuICAgICAgICB0b3A6IDUwcHg7XG5cbiAgICAgICAgaDMge1xuICAgICAgICAgIGZvbnQtc2l6ZTogMTRweDtcbiAgICAgICAgICBtYXJnaW46IDA7XG4gICAgICAgICAgd2lkdGg6IDEwMCU7XG4gICAgICAgICAgY29sb3I6ICNmZmY7XG4gICAgICAgIH1cblxuICAgICAgICBwIHtcbiAgICAgICAgICBjb2xvcjogI2ZmZjtcbiAgICAgICAgICBmb250LXNpemU6IDEwcHg7XG4gICAgICAgICAgbWFyZ2luOiAwO1xuICAgICAgICB9XG4gICAgICAgIGEge1xuICAgICAgICAgIHRleHQtZGVjb3JhdGlvbjogbm9uZTtcbiAgICAgICAgICBjb2xvcjogI2ZmZjtcbiAgICAgICAgICBkaXNwbGF5OiBmbGV4O1xuICAgICAgICAgIGZsZXgtd3JhcDogd3Jh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bHQtbWQge1xuICBAbWVkaWEgc2NyZWVuIGFuZCAobWF4LXdpZHRoOiA5NTlweCkge1xuICAgIEBjb250ZW50XG4gIH1cbn1cblxuQG1peGluIGd0LW1kIHtcbiAgQG1lZGlhIHNjcmVlbiBhbmQgKG1pbi13aWR0aDogOTYwcHgpIHtcbiAgICBAY29udGVudFxuICB9XG59XG5cbkBtaXhpbiBndC14cyB7XG4gIEBtZWRpYSBzY3JlZW4gYW5kIChtaW4td2lkdGg6IDYwMHB4KSB7XG4gICAgQGNvbnRlbnRcbiAgfVxufSJdfQ== */\";\n    /***/\n  },\n\n  /***/\n  \"./src/app/components/recommendations/recommendations.component.ts\":\n  /*!*************************************************************************!*\\\n    !*** ./src/app/components/recommendations/recommendations.component.ts ***!\n    \\*************************************************************************/\n\n  /*! exports provided: RecommendationsComponent */\n\n  /***/\n  function srcAppComponentsRecommendationsRecommendationsComponentTs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"RecommendationsComponent\", function () {\n      return RecommendationsComponent;\n    });\n    /* harmony import */\n\n\n    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! tslib */\n    \"./node_modules/tslib/tslib.es6.js\");\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var src_app_services_intersectionObserver__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! src/app/services/intersectionObserver */\n    \"./src/app/services/intersectionObserver.ts\");\n    /* harmony import */\n\n\n    var src_app_services_infoService__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! src/app/services/infoService */\n    \"./src/app/services/infoService.ts\");\n    /* harmony import */\n\n\n    var src_app_services_spotifyService__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! src/app/services/spotifyService */\n    \"./src/app/services/spotifyService.ts\");\n    /* harmony import */\n\n\n    var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\n    /*! @angular/platform-browser */\n    \"./node_modules/@angular/platform-browser/fesm2015/platform-browser.js\");\n    /* harmony import */\n\n\n    var _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(\n    /*! @angular/material/snack-bar */\n    \"./node_modules/@angular/material/esm2015/snack-bar.js\");\n\n    var RecommendationsComponent =\n    /*#__PURE__*/\n    function () {\n      function RecommendationsComponent(element, intersectionObserverService, infoSvc, spotifyService, sanitizer, snackBar) {\n        _classCallCheck(this, RecommendationsComponent);\n\n        this.element = element;\n        this.intersectionObserverService = intersectionObserverService;\n        this.infoSvc = infoSvc;\n        this.spotifyService = spotifyService;\n        this.sanitizer = sanitizer;\n        this.snackBar = snackBar;\n        this.appColor = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"EventEmitter\"]();\n        this.show = false;\n        this.initialTracks = false;\n      }\n\n      _createClass(RecommendationsComponent, [{\n        key: \"updateAppBackgroundColor\",\n        value: function updateAppBackgroundColor() {\n          this.appColor.emit(5);\n        }\n      }, {\n        key: \"ngOnInit\",\n        value: function ngOnInit() {\n          var _this10 = this;\n\n          this.infoSvc.getUserStream().subscribe(function (user) {\n            console.log('recommendations');\n            _this10.user = Object.assign({}, user);\n          });\n        }\n      }, {\n        key: \"ngAfterViewInit\",\n        value: function ngAfterViewInit() {\n          var _this11 = this;\n\n          this.intersectionObserverService.init(this.element.nativeElement, {\n            threshold: 0.70\n          });\n          this.intersectionObserverSubs = this.intersectionObserverService.getSubject().subscribe(function (el) {\n            if (el.isIntersecting) {\n              _this11.updateAppBackgroundColor();\n\n              _this11.show = true;\n              var config = {\n                allTimeArtistIDs: _this11.user.allTimeArtistIDs,\n                currentArtistsIDs: _this11.user.currentArtistsIDs,\n                allTimeTrackIDs: _this11.user.allTimeTrackIDs,\n                currentTrackIDs: _this11.user.currentTrackIDs,\n                country: _this11.user.userInfo.country\n              };\n\n              if (!_this11.initialTracks) {\n                _this11.spotifyService.getRecommendations(config).then(function (data) {\n                  _this11.recommendedTracks = data.tracks;\n                  _this11.initialTracks = true;\n                }).catch(function (err) {\n                  console.log('Error getting recommended Tracks');\n                });\n              }\n            } else {\n              _this11.show = false;\n            }\n          });\n        }\n      }, {\n        key: \"refreshTracks\",\n        value: function refreshTracks() {\n          var _this12 = this;\n\n          var config = {\n            allTimeArtistIDs: this.user.allTimeArtistIDs,\n            currentArtistsIDs: this.user.currentArtistsIDs,\n            allTimeTrackIDs: this.user.allTimeTrackIDs,\n            currentTrackIDs: this.user.currentTrackIDs,\n            country: this.user.userInfo.country\n          };\n          this.spotifyService.getRecommendations(config).then(function (data) {\n            _this12.recommendedTracks = data.tracks;\n          }).catch(function (err) {\n            console.log('playlist error', err);\n\n            _this12.snackBar.open('Server Error. Please Try Again Later.', '', {\n              duration: 5000,\n              panelClass: 'panel-error'\n            });\n          });\n        }\n      }, {\n        key: \"makePlaylist\",\n        value: function makePlaylist() {\n          var _this13 = this;\n\n          var config = {\n            userID: this.user.userInfo.id,\n            playlistName: 'Recommended for You // Obscurify',\n            tracks: this.recommendedTracks\n          };\n          this.spotifyService.makePlaylist(config).then(function (results) {\n            console.log('playlist', results);\n\n            _this13.snackBar.open('Playlist Created in Spotify!', '', {\n              duration: 5000,\n              panelClass: 'panel-success'\n            });\n          }).catch(function (err) {\n            console.log('playlist error', err);\n\n            _this13.snackBar.open('Server Error. Please Try Again Later.', '', {\n              duration: 5000,\n              panelClass: 'panel-error'\n            });\n          });\n        }\n      }]);\n\n      return RecommendationsComponent;\n    }();\n\n    RecommendationsComponent.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ElementRef\"]\n      }, {\n        type: src_app_services_intersectionObserver__WEBPACK_IMPORTED_MODULE_2__[\"default\"]\n      }, {\n        type: src_app_services_infoService__WEBPACK_IMPORTED_MODULE_3__[\"InfoService\"]\n      }, {\n        type: src_app_services_spotifyService__WEBPACK_IMPORTED_MODULE_4__[\"SpotifyService\"]\n      }, {\n        type: _angular_platform_browser__WEBPACK_IMPORTED_MODULE_5__[\"DomSanitizer\"]\n      }, {\n        type: _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_6__[\"MatSnackBar\"]\n      }];\n    };\n\n    tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Output\"])()], RecommendationsComponent.prototype, \"appColor\", void 0);\n    RecommendationsComponent = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Component\"])({\n      selector: 'app-recommendations',\n      template: tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(\n      /*! raw-loader!./recommendations.component.html */\n      \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/recommendations/recommendations.component.html\")).default,\n      providers: [src_app_services_intersectionObserver__WEBPACK_IMPORTED_MODULE_2__[\"default\"]],\n      styles: [tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(\n      /*! ./recommendations.component.scss */\n      \"./src/app/components/recommendations/recommendations.component.scss\")).default]\n    })], RecommendationsComponent);\n    /***/\n  },\n\n  /***/\n  \"./src/app/components/spotify-auth/spotify-auth.component.ts\":\n  /*!*******************************************************************!*\\\n    !*** ./src/app/components/spotify-auth/spotify-auth.component.ts ***!\n    \\*******************************************************************/\n\n  /*! exports provided: SpotifyAuthComponent */\n\n  /***/\n  function srcAppComponentsSpotifyAuthSpotifyAuthComponentTs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"SpotifyAuthComponent\", function () {\n      return SpotifyAuthComponent;\n    });\n    /* harmony import */\n\n\n    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! tslib */\n    \"./node_modules/tslib/tslib.es6.js\");\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var src_app_services_spotifyAuth__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! src/app/services/spotifyAuth */\n    \"./src/app/services/spotifyAuth/index.ts\");\n    /* harmony import */\n\n\n    var ngx_cookie_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ngx-cookie-service */\n    \"./node_modules/ngx-cookie-service/fesm2015/ngx-cookie-service.js\");\n\n    var SpotifyAuthComponent =\n    /*#__PURE__*/\n    function () {\n      function SpotifyAuthComponent(authService, cookieService, tknService) {\n        _classCallCheck(this, SpotifyAuthComponent);\n\n        this.authService = authService;\n        this.cookieService = cookieService;\n        this.tknService = tknService;\n      }\n\n      _createClass(SpotifyAuthComponent, [{\n        key: \"ngOnInit\",\n        value: function ngOnInit() {\n          // Send it back to app home\n          this.authService.authorized();\n        }\n      }]);\n\n      return SpotifyAuthComponent;\n    }();\n\n    SpotifyAuthComponent.ctorParameters = function () {\n      return [{\n        type: src_app_services_spotifyAuth__WEBPACK_IMPORTED_MODULE_2__[\"AuthService\"]\n      }, {\n        type: ngx_cookie_service__WEBPACK_IMPORTED_MODULE_3__[\"CookieService\"]\n      }, {\n        type: src_app_services_spotifyAuth__WEBPACK_IMPORTED_MODULE_2__[\"TokenService\"]\n      }];\n    };\n\n    SpotifyAuthComponent = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Component\"])({\n      selector: 'app-spotify-auth',\n      template: \"<h3>Authorizing&hellip;</h3>\",\n      styles: [\"\"]\n    })], SpotifyAuthComponent);\n    /***/\n  },\n\n  /***/\n  \"./src/app/components/top-genres/top-genres.component.scss\":\n  /*!*****************************************************************!*\\\n    !*** ./src/app/components/top-genres/top-genres.component.scss ***!\n    \\*****************************************************************/\n\n  /*! exports provided: default */\n\n  /***/\n  function srcAppComponentsTopGenresTopGenresComponentScss(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony default export */\n\n\n    __webpack_exports__[\"default\"] = \".header__title {\\n  font-size: 3em;\\n  border-bottom: 8px black solid;\\n  width: -webkit-fit-content;\\n  width: -moz-fit-content;\\n  width: fit-content;\\n  padding-bottom: 0.2em;\\n  margin: 0;\\n}\\n\\n.slate {\\n  padding: 2rem 0px;\\n}\\n\\n.genre {\\n  max-width: 1024px;\\n  margin: 0 auto;\\n  opacity: 0;\\n  transition: opacity 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n}\\n\\n.genre__list {\\n  margin-top: 2em;\\n}\\n\\n.genre__card {\\n  background-color: rgba(0, 0, 0, 0.2);\\n  border-radius: 5px;\\n  padding: 1.5em 1.5em;\\n  opacity: 0;\\n  transform: translateY(50px);\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n}\\n\\n.genre__card h3 {\\n  font-size: 2em;\\n}\\n\\n@media (min-width: 1024px) {\\n  .genre__card {\\n    min-width: 636px;\\n  }\\n  .genre__card h3 {\\n    font-size: 3em;\\n  }\\n}\\n\\n.genre.show {\\n  opacity: 1;\\n  transform: translateY(0px);\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n}\\n\\n.genre.show .genre__card {\\n  opacity: 1;\\n  transform: translateY(0px);\\n}\\n\\n.genre.show .genre__card:nth-child(1) {\\n  transition: 0s;\\n}\\n\\n.genre.show {\\n  opacity: 1;\\n  transform: translateY(0px);\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n}\\n\\n.genre.show .genre__card {\\n  opacity: 1;\\n  transform: translateY(0px);\\n}\\n\\n.genre.show .genre__card:nth-child(2) {\\n  transition: 0.3s;\\n}\\n\\n.genre.show {\\n  opacity: 1;\\n  transform: translateY(0px);\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n}\\n\\n.genre.show .genre__card {\\n  opacity: 1;\\n  transform: translateY(0px);\\n}\\n\\n.genre.show .genre__card:nth-child(3) {\\n  transition: 0.6s;\\n}\\n\\n.genre.show {\\n  opacity: 1;\\n  transform: translateY(0px);\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n}\\n\\n.genre.show .genre__card {\\n  opacity: 1;\\n  transform: translateY(0px);\\n}\\n\\n.genre.show .genre__card:nth-child(4) {\\n  transition: 0.9s;\\n}\\n\\n.genre.show {\\n  opacity: 1;\\n  transform: translateY(0px);\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n}\\n\\n.genre.show .genre__card {\\n  opacity: 1;\\n  transform: translateY(0px);\\n}\\n\\n.genre.show .genre__card:nth-child(5) {\\n  transition: 1.2s;\\n}\\n\\n.genre.show {\\n  opacity: 1;\\n  transform: translateY(0px);\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n}\\n\\n.genre.show .genre__card {\\n  opacity: 1;\\n  transform: translateY(0px);\\n}\\n\\n.genre.show .genre__card:nth-child(6) {\\n  transition: 1.5s;\\n}\\n\\n.genre.show {\\n  opacity: 1;\\n  transform: translateY(0px);\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n}\\n\\n.genre.show .genre__card {\\n  opacity: 1;\\n  transform: translateY(0px);\\n}\\n\\n.genre.show .genre__card:nth-child(7) {\\n  transition: 1.8s;\\n}\\n\\n.genre.show {\\n  opacity: 1;\\n  transform: translateY(0px);\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n}\\n\\n.genre.show .genre__card {\\n  opacity: 1;\\n  transform: translateY(0px);\\n}\\n\\n.genre.show .genre__card:nth-child(8) {\\n  transition: 2.1s;\\n}\\n\\n.genre.show {\\n  opacity: 1;\\n  transform: translateY(0px);\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n}\\n\\n.genre.show .genre__card {\\n  opacity: 1;\\n  transform: translateY(0px);\\n}\\n\\n.genre.show .genre__card:nth-child(9) {\\n  transition: 2.4s;\\n}\\n\\n.genre.show {\\n  opacity: 1;\\n  transform: translateY(0px);\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n}\\n\\n.genre.show .genre__card {\\n  opacity: 1;\\n  transform: translateY(0px);\\n}\\n\\n.genre.show .genre__card:nth-child(10) {\\n  transition: 2.7s;\\n}\\n\\n.genre.show {\\n  opacity: 1;\\n  transform: translateY(0px);\\n  transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\\n}\\n\\n.genre.show .genre__card {\\n  opacity: 1;\\n  transform: translateY(0px);\\n}\\n\\n.genre.show .genre__card:nth-child(11) {\\n  transition: 3s;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9Vc2Vycy9hbGV4L0Rlc2t0b3Avb2JzY3VyaWZ5My9zcmMvYXBwL3Njc3MvY29tcG9uZW50cy9faGVhZGVyLnNjc3MiLCJzcmMvYXBwL2NvbXBvbmVudHMvdG9wLWdlbnJlcy90b3AtZ2VucmVzLmNvbXBvbmVudC5zY3NzIiwiL1VzZXJzL2FsZXgvRGVza3RvcC9vYnNjdXJpZnkzL3NyYy9hcHAvY29tcG9uZW50cy90b3AtZ2VucmVzL3RvcC1nZW5yZXMuY29tcG9uZW50LnNjc3MiLCIvVXNlcnMvYWxleC9EZXNrdG9wL29ic2N1cmlmeTMvc3JjL2FwcC9zY3NzL19taXhpbnMuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFSTtFQUNJLGNBQUE7RUFDQSw4QkFBQTtFQUNBLDBCQUFBO0VBQUEsdUJBQU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gICAgYmFja2dyb3VuZC1jb2xvcjogcmdiYSgwLCAwLCAwLCAuMik7XG4gICAgICAgIGJvcmRlci1yYWRpdXM6IDVweDtcbiAgICAgICAgcGFkZGluZzogMS41ZW0gMS41ZW07XG4gICAgICAgIG9wYWNpdHk6IDA7XG4gICAgICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWSg1MHB4KTtcbiAgICAgICAgdHJhbnNpdGlvbjogLjNzIGN1YmljLWJlemllciguMjUsLjEsLjI1LDEpO1xuICAgICAgICBoMyB7XG4gICAgICAgICAgICBmb250LXNpemU6IDJlbTtcbiAgICAgICAgfVxuXG4gICAgfVxuICAgIFxufVxuXG5AaW5jbHVkZSBkZXNrdG9wIHtcblxuICAgIC5nZW5yZSB7XG5cbiAgICAgICAgJl9fY2FyZCB7XG4gICAgICAgICAgICBtaW4td2lkdGg6IDYzNnB4O1xuXG4gICAgICAgICAgICBoMyB7XG4gICAgICAgICAgICAgICAgZm9udC1zaXplOiAzZW07XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbn1cblxuQGZvciAkaSBmcm9tIDAgdGhyb3VnaCAxMCB7XG4gICAgLmdlbnJlLnNob3cge1xuICAgICAgICBvcGFjaXR5OiAxO1xuICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVkoMHB4KTtcbiAgICAgICAgdHJhbnNpdGlvbjogLjNzIGN1YmljLWJlemllciguMjUsLjEsLjI1LDEpO1xuXG4gICAgICAgIC5nZW5yZV9fY2FyZCB7XG4gICAgICAgICAgICBvcGFjaXR5OiAxO1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVZKDBweClcbiAgICAgICAgfVxuICAgICAgICAuZ2VucmVfX2NhcmQ6bnRoLWNoaWxkKCN7JGkgKyAxfSkge1xuICAgICAgICAgICAgdHJhbnNpdGlvbjogIDAuM3MgKiAkaTtcbiAgICAgICAgfVxuICAgIH1cblxuICB9IiwiJHRhYmxldC13aWR0aDogNzY4cHg7XG4kZGVza3RvcC13aWR0aDogMTAyNHB4O1xuXG5AbWl4aW4gdGFibGV0IHtcbiAgQG1lZGlhIChtaW4td2lkdGg6ICN7JHRhYmxldC13aWR0aH0pIGFuZCAobWF4LXdpZHRoOiAjeyRkZXNrdG9wLXdpZHRoIC0gMXB4fSkge1xuICAgIEBjb250ZW50O1xuICB9XG59XG5cbkBtaXhpbiBkZXNrdG9wIHtcbiAgQG1lZGlhIChtaW4td2lkdGg6ICN7JGRlc2t0b3Atd2lkdGh9KSB7XG4gICAgQGNvbnRlbnQ7XG4gIH1cbn1cblxuQG1peGluIGx0LW1kIHtcbiAgQG1lZGlhIHNjcmVlbiBhbmQgKG1heC13aWR0aDogOTU5cHgpIHtcbiAgICBAY29udGVudFxuICB9XG59XG5cbkBtaXhpbiBndC1tZCB7XG4gIEBtZWRpYSBzY3JlZW4gYW5kIChtaW4td2lkdGg6IDk2MHB4KSB7XG4gICAgQGNvbnRlbnRcbiAgfVxufVxuXG5AbWl4aW4gZ3QteHMge1xuICBAbWVkaWEgc2NyZWVuIGFuZCAobWluLXdpZHRoOiA2MDBweCkge1xuICAgIEBjb250ZW50XG4gIH1cbn0iXX0= */\";\n    /***/\n  },\n\n  /***/\n  \"./src/app/components/top-genres/top-genres.component.ts\":\n  /*!***************************************************************!*\\\n    !*** ./src/app/components/top-genres/top-genres.component.ts ***!\n    \\***************************************************************/\n\n  /*! exports provided: TopGenresComponent */\n\n  /***/\n  function srcAppComponentsTopGenresTopGenresComponentTs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TopGenresComponent\", function () {\n      return TopGenresComponent;\n    });\n    /* harmony import */\n\n\n    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! tslib */\n    \"./node_modules/tslib/tslib.es6.js\");\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var src_app_services_intersectionObserver__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! src/app/services/intersectionObserver */\n    \"./src/app/services/intersectionObserver.ts\");\n    /* harmony import */\n\n\n    var src_app_services_infoService__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! src/app/services/infoService */\n    \"./src/app/services/infoService.ts\");\n\n    var TopGenresComponent =\n    /*#__PURE__*/\n    function () {\n      function TopGenresComponent(element, intersectionObserverService, infoSvc) {\n        _classCallCheck(this, TopGenresComponent);\n\n        this.element = element;\n        this.intersectionObserverService = intersectionObserverService;\n        this.infoSvc = infoSvc;\n        this.appColor = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"EventEmitter\"]();\n        this.items = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];\n        this.show = false;\n        this.genres = [];\n      }\n\n      _createClass(TopGenresComponent, [{\n        key: \"updateAppBackgroundColor\",\n        value: function updateAppBackgroundColor() {\n          this.appColor.emit(2);\n        }\n      }, {\n        key: \"ngOnInit\",\n        value: function ngOnInit() {\n          var _this14 = this;\n\n          this.infoSvc.getUserStream().subscribe(function (x) {\n            console.log('User in Genres', x);\n\n            if (x.topGenres) {\n              console.log('x.genres');\n              var genreArry = x.topGenres.slice(0, 10);\n              console.log(genreArry);\n              _this14.genres = _toConsumableArray(genreArry);\n            }\n          });\n        }\n      }, {\n        key: \"ngAfterViewInit\",\n        value: function ngAfterViewInit() {\n          var _this15 = this;\n\n          this.intersectionObserverService.init(this.element.nativeElement, {\n            threshold: 0.20\n          });\n          this.intersectionObserverSubs = this.intersectionObserverService.getSubject().subscribe(function (el) {\n            if (el.isIntersecting) {\n              _this15.updateAppBackgroundColor();\n\n              _this15.show = true;\n            } else {\n              _this15.show = false;\n            }\n          });\n        }\n      }]);\n\n      return TopGenresComponent;\n    }();\n\n    TopGenresComponent.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ElementRef\"]\n      }, {\n        type: src_app_services_intersectionObserver__WEBPACK_IMPORTED_MODULE_2__[\"default\"]\n      }, {\n        type: src_app_services_infoService__WEBPACK_IMPORTED_MODULE_3__[\"InfoService\"]\n      }];\n    };\n\n    tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Output\"])()], TopGenresComponent.prototype, \"appColor\", void 0);\n    TopGenresComponent = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Component\"])({\n      selector: 'app-top-genres',\n      template: tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(\n      /*! raw-loader!./top-genres.component.html */\n      \"./node_modules/raw-loader/dist/cjs.js!./src/app/components/top-genres/top-genres.component.html\")).default,\n      providers: [src_app_services_intersectionObserver__WEBPACK_IMPORTED_MODULE_2__[\"default\"]],\n      styles: [tslib__WEBPACK_IMPORTED_MODULE_0__[\"__importDefault\"](__webpack_require__(\n      /*! ./top-genres.component.scss */\n      \"./src/app/components/top-genres/top-genres.component.scss\")).default]\n    })], TopGenresComponent);\n    /***/\n  },\n\n  /***/\n  \"./src/app/services/browserCheck.ts\":\n  /*!******************************************!*\\\n    !*** ./src/app/services/browserCheck.ts ***!\n    \\******************************************/\n\n  /*! exports provided: default */\n\n  /***/\n  function srcAppServicesBrowserCheckTs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony import */\n\n\n    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! tslib */\n    \"./node_modules/tslib/tslib.es6.js\");\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! @angular/cdk/platform */\n    \"./node_modules/@angular/cdk/esm2015/platform.js\");\n\n    var BrowserCheck =\n    /*#__PURE__*/\n    function () {\n      function BrowserCheck(platform) {\n        _classCallCheck(this, BrowserCheck);\n\n        this.platform = platform;\n\n        if (window.screen.width < 1021) {\n          this.isDevice = true;\n        } else {\n          this.isDevice = false;\n        }\n      }\n\n      _createClass(BrowserCheck, [{\n        key: \"checkIfBrowser\",\n        value: function checkIfBrowser() {\n          return this.platform.isBrowser;\n        }\n      }]);\n\n      return BrowserCheck;\n    }();\n\n    BrowserCheck.ctorParameters = function () {\n      return [{\n        type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__[\"Platform\"]\n      }];\n    };\n\n    BrowserCheck = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"])({\n      providedIn: 'root'\n    })], BrowserCheck);\n    /* harmony default export */\n\n    __webpack_exports__[\"default\"] = BrowserCheck;\n    /***/\n  },\n\n  /***/\n  \"./src/app/services/infoService.ts\":\n  /*!*****************************************!*\\\n    !*** ./src/app/services/infoService.ts ***!\n    \\*****************************************/\n\n  /*! exports provided: InfoService */\n\n  /***/\n  function srcAppServicesInfoServiceTs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"InfoService\", function () {\n      return InfoService;\n    });\n    /* harmony import */\n\n\n    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! tslib */\n    \"./node_modules/tslib/tslib.es6.js\");\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! rxjs */\n    \"./node_modules/rxjs/_esm2015/index.js\");\n    /* harmony import */\n\n\n    var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! @angular/router */\n    \"./node_modules/@angular/router/fesm2015/router.js\");\n    /* harmony import */\n\n\n    var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! rxjs/operators */\n    \"./node_modules/rxjs/_esm2015/operators/index.js\");\n    /* harmony import */\n\n\n    var _angular_common_http__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\n    /*! @angular/common/http */\n    \"./node_modules/@angular/common/fesm2015/http.js\");\n    /* harmony import */\n\n\n    var _utilities_obscurityFuncs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(\n    /*! ../utilities/obscurityFuncs */\n    \"./src/app/utilities/obscurityFuncs.ts\");\n\n    var InfoService =\n    /*#__PURE__*/\n    function () {\n      function InfoService(http, router, obscurifyFuncs) {\n        _classCallCheck(this, InfoService);\n\n        this.http = http;\n        this.router = router;\n        this.obscurifyFuncs = obscurifyFuncs;\n        this.apiUserUrl = 'https://api.spotify.com/v1/me';\n        this.apiAllTimeArtists = 'https://api.spotify.com/v1/me/top/artists?limit=50&time_range=long_term';\n        this.apiCurrentArtists = 'https://api.spotify.com/v1/me/top/artists?limit=50&time_range=short_term';\n        this.apiAllTimeTracks = 'https://api.spotify.com/v1/me/top/tracks?limit=50&time_range=long_term';\n        this.apiCurrentTracks = 'https://api.spotify.com/v1/me/top/tracks?limit=50&time_range=short_term';\n        this.user = {};\n        this.user$ = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"BehaviorSubject\"](this.user);\n      }\n\n      _createClass(InfoService, [{\n        key: \"fetchUserInfo\",\n        value: function fetchUserInfo() {\n          var _this16 = this;\n\n          return this.http.get(this.apiUserUrl).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"tap\"])(function (user) {\n            console.log('user info', user);\n            _this16.user = Object.assign({}, _this16.user, {\n              userInfo: user\n            });\n\n            _this16.user$.next(_this16.user);\n          }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"catchError\"])(this.handleError('getSelf')));\n        }\n      }, {\n        key: \"fetchAllTimeTracks\",\n        value: function fetchAllTimeTracks() {\n          var _this17 = this;\n\n          return this.http.get(this.apiAllTimeTracks).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"tap\"])(function (tracks) {\n            var allTimeTrackIDs = [];\n            var _iteratorNormalCompletion = true;\n            var _didIteratorError = false;\n            var _iteratorError = undefined;\n\n            try {\n              for (var _iterator = tracks.items[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n                var track = _step.value;\n                allTimeTrackIDs.push(track.id);\n              }\n            } catch (err) {\n              _didIteratorError = true;\n              _iteratorError = err;\n            } finally {\n              try {\n                if (!_iteratorNormalCompletion && _iterator.return != null) {\n                  _iterator.return();\n                }\n              } finally {\n                if (_didIteratorError) {\n                  throw _iteratorError;\n                }\n              }\n            }\n\n            console.log('info service', tracks.items);\n            _this17.user = Object.assign({}, _this17.user, {\n              allTimeTracks: tracks.items,\n              allTimeTrackIDs: [].concat(allTimeTrackIDs)\n            });\n\n            _this17.user$.next(_this17.user);\n          }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"catchError\"])(this.handleError('getSelfAlbums')));\n        }\n      }, {\n        key: \"fetchCurrentTracks\",\n        value: function fetchCurrentTracks() {\n          var _this18 = this;\n\n          return this.http.get(this.apiCurrentTracks).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"tap\"])(function (tracks) {\n            var currentTrackIDs = [];\n            var _iteratorNormalCompletion2 = true;\n            var _didIteratorError2 = false;\n            var _iteratorError2 = undefined;\n\n            try {\n              for (var _iterator2 = tracks.items[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {\n                var track = _step2.value;\n                currentTrackIDs.push(track.id);\n              }\n            } catch (err) {\n              _didIteratorError2 = true;\n              _iteratorError2 = err;\n            } finally {\n              try {\n                if (!_iteratorNormalCompletion2 && _iterator2.return != null) {\n                  _iterator2.return();\n                }\n              } finally {\n                if (_didIteratorError2) {\n                  throw _iteratorError2;\n                }\n              }\n            }\n\n            _this18.user = Object.assign({}, _this18.user, {\n              currentTracks: tracks.items,\n              currentTrackIDs: [].concat(currentTrackIDs)\n            });\n\n            _this18.user$.next(_this18.user);\n          }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"catchError\"])(this.handleError('getSelfAlbums')));\n        }\n      }, {\n        key: \"fetchAllTimeArtists\",\n        value: function fetchAllTimeArtists() {\n          var _this19 = this;\n\n          return this.http.get(this.apiAllTimeArtists).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"tap\"])(function (artists) {\n            var allTimeObscurifyScore = 0;\n            var genres = {};\n            var topGenres = [];\n            var allTimeArtistIDs = []; // Loop Through All Time Artists\n            // Get Obscure Score and Top Genres\n\n            for (var i = 0; i < artists.items.length; i++) {\n              allTimeObscurifyScore = allTimeObscurifyScore + 50 / artists.items.length * Math.floor(artists.items[i].popularity * (1 - i / artists.items.length));\n              allTimeArtistIDs.push(artists.items[i].id);\n\n              for (var y = 0; y < artists.items[i].genres.length; y++) {\n                if (genres[artists.items[i].genres[y]] != null) {\n                  genres[artists.items[i].genres[y]] = genres[artists.items[i].genres[y]] + 1;\n                } else {\n                  genres[artists.items[i].genres[y]] = 1;\n                }\n              }\n            }\n\n            for (var g in genres) {\n              if (genres.hasOwnProperty(g)) {\n                topGenres.push([g, genres[g]]);\n              }\n            }\n\n            topGenres.sort(_this19.obscurifyFuncs.comparator);\n            allTimeObscurifyScore = Math.floor(allTimeObscurifyScore / 10);\n            _this19.user = Object.assign({}, _this19.user, {\n              allTimeArtists: artists.items,\n              allTimeObscurifyScore: allTimeObscurifyScore,\n              topGenres: topGenres,\n              allTimeArtistIDs: allTimeArtistIDs\n            });\n\n            _this19.user$.next(_this19.user);\n          }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"catchError\"])(this.handleError('getSelfAlbums')));\n        }\n      }, {\n        key: \"fetchCurrentArtists\",\n        value: function fetchCurrentArtists() {\n          var _this20 = this;\n\n          return this.http.get(this.apiCurrentArtists).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"tap\"])(function (artists) {\n            var recentObscurifyScore = 0;\n            var currentArtistsIDs = [];\n\n            for (var i = 0; i < artists.items.length; i++) {\n              currentArtistsIDs.push(artists.items[i]);\n              recentObscurifyScore = recentObscurifyScore + 50 / artists.items.length * Math.floor(artists.items[i].popularity * (1 - i / artists.items.length));\n            }\n\n            recentObscurifyScore = Math.floor(recentObscurifyScore / 10);\n            _this20.user = Object.assign({}, _this20.user, {\n              currentArtistsIDs: [].concat(currentArtistsIDs),\n              currentArtists: artists.items,\n              recentObscurifyScore: recentObscurifyScore\n            });\n\n            _this20.user$.next(_this20.user);\n          }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"catchError\"])(this.handleError('getSelfAlbums')));\n        }\n      }, {\n        key: \"fetchRecommendations\",\n        value: function fetchRecommendations() {\n          var _this21 = this;\n\n          return this.http.get(this.apiCurrentArtists).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"tap\"])(function (artists) {\n            _this21.user = Object.assign({}, _this21.user, {\n              currentArtists: artists\n            });\n\n            _this21.user$.next(_this21.user);\n          }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"catchError\"])(this.handleError('getSelfAlbums')));\n        }\n      }, {\n        key: \"getUserStream\",\n        value: function getUserStream() {\n          return this.user$.asObservable();\n        }\n      }, {\n        key: \"handleError\",\n        value: function handleError() {\n          var operation = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'operation';\n          var result = arguments.length > 1 ? arguments[1] : undefined;\n          return function (error) {\n            result = error;\n            return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(result);\n          };\n        }\n      }]);\n\n      return InfoService;\n    }();\n\n    InfoService.ctorParameters = function () {\n      return [{\n        type: _angular_common_http__WEBPACK_IMPORTED_MODULE_5__[\"HttpClient\"]\n      }, {\n        type: _angular_router__WEBPACK_IMPORTED_MODULE_3__[\"Router\"]\n      }, {\n        type: _utilities_obscurityFuncs__WEBPACK_IMPORTED_MODULE_6__[\"default\"]\n      }];\n    };\n\n    InfoService = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"])()], InfoService);\n    /***/\n  },\n\n  /***/\n  \"./src/app/services/intersectionObserver.ts\":\n  /*!**************************************************!*\\\n    !*** ./src/app/services/intersectionObserver.ts ***!\n    \\**************************************************/\n\n  /*! exports provided: default */\n\n  /***/\n  function srcAppServicesIntersectionObserverTs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony import */\n\n\n    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! tslib */\n    \"./node_modules/tslib/tslib.es6.js\");\n    /* harmony import */\n\n\n    var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! rxjs */\n    \"./node_modules/rxjs/_esm2015/index.js\");\n\n    var IntersectionObserverService =\n    /*#__PURE__*/\n    function () {\n      function IntersectionObserverService() {\n        _classCallCheck(this, IntersectionObserverService);\n\n        this.intersectionObserverSubject = new rxjs__WEBPACK_IMPORTED_MODULE_1__[\"Subject\"]();\n      }\n\n      _createClass(IntersectionObserverService, [{\n        key: \"getSubject\",\n        value: function getSubject() {\n          return this.intersectionObserverSubject;\n        }\n      }, {\n        key: \"init\",\n        value: function init(el, options) {\n          var _this22 = this;\n\n          var OBS = new IntersectionObserver(function (entries) {\n            _this22.intersectionObserverSubject.next(entries[0]);\n          }, options);\n          OBS.observe(el);\n        }\n      }]);\n\n      return IntersectionObserverService;\n    }();\n    /* harmony default export */\n\n\n    __webpack_exports__[\"default\"] = IntersectionObserverService;\n    /***/\n  },\n\n  /***/\n  \"./src/app/services/obscurifyService.ts\":\n  /*!**********************************************!*\\\n    !*** ./src/app/services/obscurifyService.ts ***!\n    \\**********************************************/\n\n  /*! exports provided: ObscurifyService, default */\n\n  /***/\n  function srcAppServicesObscurifyServiceTs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ObscurifyService\", function () {\n      return ObscurifyService;\n    });\n    /* harmony import */\n\n\n    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! tslib */\n    \"./node_modules/tslib/tslib.es6.js\");\n    /* harmony import */\n\n\n    var _angular_common_http__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/common/http */\n    \"./node_modules/@angular/common/fesm2015/http.js\");\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var rxjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! rxjs */\n    \"./node_modules/rxjs/_esm2015/index.js\");\n    /* harmony import */\n\n\n    var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! rxjs/operators */\n    \"./node_modules/rxjs/_esm2015/operators/index.js\");\n\n    var ObscurifyService =\n    /*#__PURE__*/\n    function () {\n      function ObscurifyService(http) {\n        _classCallCheck(this, ObscurifyService);\n\n        this.http = http;\n        this.obscurifyData = {};\n        this.obscurifyUrl = 'https://ktp0b5os1g.execute-api.us-east-2.amazonaws.com/dev';\n        this.obscurifyData$ = new rxjs__WEBPACK_IMPORTED_MODULE_3__[\"BehaviorSubject\"](this.obscurifyData);\n      }\n\n      _createClass(ObscurifyService, [{\n        key: \"getObscurifyData\",\n        value: function getObscurifyData(countryID, obscurifyScore, recentObscurifyScore) {\n          var _this23 = this;\n\n          return this.http.get(this.obscurifyUrl + \"/getObscurifyData?code=\".concat(countryID, \"&obscurifyScore=\").concat(obscurifyScore, \"&recentObscurifyScore=\").concat(recentObscurifyScore), {\n            headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_1__[\"HttpHeaders\"]().set('Authorization', 'asdf')\n          }).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"tap\"])(function (data) {\n            console.log('user info', data);\n            _this23.obscurifyData = Object.assign({}, data);\n\n            _this23.obscurifyData$.next(_this23.obscurifyData);\n          }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"catchError\"])(this.handleError('Error')));\n        }\n      }, {\n        key: \"handleError\",\n        value: function handleError() {\n          var operation = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'operation';\n          var result = arguments.length > 1 ? arguments[1] : undefined;\n          return function (error) {\n            result = error;\n            return Object(rxjs__WEBPACK_IMPORTED_MODULE_3__[\"of\"])(result);\n          };\n        }\n      }]);\n\n      return ObscurifyService;\n    }();\n\n    ObscurifyService.ctorParameters = function () {\n      return [{\n        type: _angular_common_http__WEBPACK_IMPORTED_MODULE_1__[\"HttpClient\"]\n      }];\n    };\n\n    ObscurifyService = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_2__[\"Injectable\"])()], ObscurifyService);\n    /* harmony default export */\n\n    __webpack_exports__[\"default\"] = ObscurifyService;\n    /***/\n  },\n\n  /***/\n  \"./src/app/services/spotifyAuth/index.ts\":\n  /*!***********************************************!*\\\n    !*** ./src/app/services/spotifyAuth/index.ts ***!\n    \\***********************************************/\n\n  /*! exports provided: ScopesBuilder, TokenService, AuthService, AuthGuard, SpotifyAuthInterceptor */\n\n  /***/\n  function srcAppServicesSpotifyAuthIndexTs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony import */\n\n\n    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! tslib */\n    \"./node_modules/tslib/tslib.es6.js\");\n    /* harmony import */\n\n\n    var _shared_scopes_builder__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ./shared/scopes-builder */\n    \"./src/app/services/spotifyAuth/shared/scopes-builder.ts\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ScopesBuilder\", function () {\n      return _shared_scopes_builder__WEBPACK_IMPORTED_MODULE_1__[\"ScopesBuilder\"];\n    });\n    /* harmony import */\n\n\n    var _service_token_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ./service/token.service */\n    \"./src/app/services/spotifyAuth/service/token.service.ts\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TokenService\", function () {\n      return _service_token_service__WEBPACK_IMPORTED_MODULE_2__[\"TokenService\"];\n    });\n    /* harmony import */\n\n\n    var _service_auth_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ./service/auth.service */\n    \"./src/app/services/spotifyAuth/service/auth.service.ts\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"AuthService\", function () {\n      return _service_auth_service__WEBPACK_IMPORTED_MODULE_3__[\"AuthService\"];\n    });\n    /* harmony import */\n\n\n    var _service_auth_guard__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! ./service/auth.guard */\n    \"./src/app/services/spotifyAuth/service/auth.guard.ts\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"AuthGuard\", function () {\n      return _service_auth_guard__WEBPACK_IMPORTED_MODULE_4__[\"AuthGuard\"];\n    });\n    /* harmony import */\n\n\n    var _service_spotify_auth_interceptor__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\n    /*! ./service/spotify-auth.interceptor */\n    \"./src/app/services/spotifyAuth/service/spotify-auth.interceptor.ts\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"SpotifyAuthInterceptor\", function () {\n      return _service_spotify_auth_interceptor__WEBPACK_IMPORTED_MODULE_5__[\"SpotifyAuthInterceptor\"];\n    });\n    /***/\n\n  },\n\n  /***/\n  \"./src/app/services/spotifyAuth/service/auth.guard.ts\":\n  /*!************************************************************!*\\\n    !*** ./src/app/services/spotifyAuth/service/auth.guard.ts ***!\n    \\************************************************************/\n\n  /*! exports provided: AuthGuard */\n\n  /***/\n  function srcAppServicesSpotifyAuthServiceAuthGuardTs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"AuthGuard\", function () {\n      return AuthGuard;\n    });\n    /* harmony import */\n\n\n    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! tslib */\n    \"./node_modules/tslib/tslib.es6.js\");\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var _auth_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ./auth.service */\n    \"./src/app/services/spotifyAuth/service/auth.service.ts\");\n    /* harmony import */\n\n\n    var _token_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ./token.service */\n    \"./src/app/services/spotifyAuth/service/token.service.ts\");\n\n    var AuthGuard =\n    /*#__PURE__*/\n    function () {\n      function AuthGuard(authService, tokenSvc) {\n        _classCallCheck(this, AuthGuard);\n\n        this.authService = authService;\n        this.tokenSvc = tokenSvc;\n      }\n\n      _createClass(AuthGuard, [{\n        key: \"canActivate\",\n        value: function canActivate(next, state) {\n          return this.canActivateChild(next, state);\n        }\n      }, {\n        key: \"canActivateChild\",\n        value: function canActivateChild(next, state) {\n          var response = next.queryParams;\n\n          if (response.spotifyToken && response.obscurifyToken) {\n            this.tokenSvc.setAuthToken(response);\n          }\n\n          return !!response;\n        }\n      }]);\n\n      return AuthGuard;\n    }();\n\n    AuthGuard.ctorParameters = function () {\n      return [{\n        type: _auth_service__WEBPACK_IMPORTED_MODULE_2__[\"AuthService\"]\n      }, {\n        type: _token_service__WEBPACK_IMPORTED_MODULE_3__[\"TokenService\"]\n      }];\n    };\n\n    AuthGuard = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"])()], AuthGuard);\n    /***/\n  },\n\n  /***/\n  \"./src/app/services/spotifyAuth/service/auth.service.ts\":\n  /*!**************************************************************!*\\\n    !*** ./src/app/services/spotifyAuth/service/auth.service.ts ***!\n    \\**************************************************************/\n\n  /*! exports provided: AuthService */\n\n  /***/\n  function srcAppServicesSpotifyAuthServiceAuthServiceTs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"AuthService\", function () {\n      return AuthService;\n    });\n    /* harmony import */\n\n\n    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! tslib */\n    \"./node_modules/tslib/tslib.es6.js\");\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! rxjs */\n    \"./node_modules/rxjs/_esm2015/index.js\");\n    /* harmony import */\n\n\n    var ngx_cookie_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ngx-cookie-service */\n    \"./node_modules/ngx-cookie-service/fesm2015/ngx-cookie-service.js\");\n    /* harmony import */\n\n\n    var _environments_environment__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! ../../../../environments/environment */\n    \"./src/environments/environment.ts\");\n\n    var AuthService =\n    /*#__PURE__*/\n    function () {\n      function AuthService(cookieService) {\n        _classCallCheck(this, AuthService);\n\n        this.cookieService = cookieService;\n        this.requestAuthUrl = 'https://accounts.spotify.com/authorize';\n        this.authorized$ = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"BehaviorSubject\"](false);\n        this.state = this.generateRandomString();\n        this.authConfig = {\n          client_id: _environments_environment__WEBPACK_IMPORTED_MODULE_4__[\"environment\"].client_id,\n          response_type: 'code',\n          redirect_uri: _environments_environment__WEBPACK_IMPORTED_MODULE_4__[\"environment\"].redirect_uri,\n          state: this.state,\n          show_dialog: false,\n          scope: 'user-read-private user-top-read playlist-modify-public playlist-modify-private'\n        };\n      }\n\n      _createClass(AuthService, [{\n        key: \"generateRandomString\",\n        value: function generateRandomString() {\n          var text = '';\n          var possible = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';\n\n          for (var i = 0; i < 16; i++) {\n            text += possible.charAt(Math.floor(Math.random() * possible.length));\n          }\n\n          return text;\n        }\n      }, {\n        key: \"authorize\",\n        value: function authorize() {\n          console.log('authorize()');\n          console.log(this.buildAuthUrl());\n          this.cookieService.set('spotify_auth_state', this.state);\n          window.location.href = this.buildAuthUrl();\n        } // Signal someone, that router can navigate somewhere\n\n      }, {\n        key: \"authorized\",\n        value: function authorized() {\n          console.log('Called auth');\n          this.authorized$.next(true);\n        }\n      }, {\n        key: \"configure\",\n        value: function configure(config) {\n          // Validate Config\n          this.authConfig = config;\n          return this;\n        }\n      }, {\n        key: \"buildAuthUrl\",\n        value: function buildAuthUrl() {\n          var params = [];\n\n          for (var _i = 0, _Object$entries = Object.entries(this.authConfig); _i < _Object$entries.length; _i++) {\n            var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2),\n                key = _Object$entries$_i[0],\n                value = _Object$entries$_i[1];\n\n            if (typeof value === 'object') {\n              params.push(\"\".concat(key, \"=\").concat(value.join(' ')));\n            } else {\n              params.push(\"\".concat(key, \"=\").concat(value));\n            }\n          }\n\n          return \"\".concat(this.requestAuthUrl, \"?\").concat(params.join('&'));\n        }\n      }, {\n        key: \"authorizedStream\",\n        get: function get() {\n          return this.authorized$.asObservable();\n        }\n      }]);\n\n      return AuthService;\n    }();\n\n    AuthService.ctorParameters = function () {\n      return [{\n        type: ngx_cookie_service__WEBPACK_IMPORTED_MODULE_3__[\"CookieService\"]\n      }];\n    };\n\n    AuthService = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"])()], AuthService);\n    /***/\n  },\n\n  /***/\n  \"./src/app/services/spotifyAuth/service/spotify-auth.interceptor.ts\":\n  /*!**************************************************************************!*\\\n    !*** ./src/app/services/spotifyAuth/service/spotify-auth.interceptor.ts ***!\n    \\**************************************************************************/\n\n  /*! exports provided: SpotifyAuthInterceptor */\n\n  /***/\n  function srcAppServicesSpotifyAuthServiceSpotifyAuthInterceptorTs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"SpotifyAuthInterceptor\", function () {\n      return SpotifyAuthInterceptor;\n    });\n    /* harmony import */\n\n\n    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! tslib */\n    \"./node_modules/tslib/tslib.es6.js\");\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var _token_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ./token.service */\n    \"./src/app/services/spotifyAuth/service/token.service.ts\");\n    /* harmony import */\n\n\n    var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! rxjs/operators */\n    \"./node_modules/rxjs/_esm2015/operators/index.js\");\n\n    var SpotifyAuthInterceptor =\n    /*#__PURE__*/\n    function () {\n      function SpotifyAuthInterceptor(tokenSvc) {\n        _classCallCheck(this, SpotifyAuthInterceptor);\n\n        this.tokenSvc = tokenSvc;\n      }\n\n      _createClass(SpotifyAuthInterceptor, [{\n        key: \"intercept\",\n        value: function intercept(req, next) {\n          var authReq = req.clone({\n            setHeaders: this.tokenSvc.authHeader\n          });\n          return next.handle(authReq).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"tap\"])(function (event) {}, this.doOnError));\n        }\n      }]);\n\n      return SpotifyAuthInterceptor;\n    }();\n\n    SpotifyAuthInterceptor.ctorParameters = function () {\n      return [{\n        type: _token_service__WEBPACK_IMPORTED_MODULE_2__[\"TokenService\"]\n      }];\n    };\n\n    SpotifyAuthInterceptor = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"])()], SpotifyAuthInterceptor);\n    /***/\n  },\n\n  /***/\n  \"./src/app/services/spotifyAuth/service/token.service.ts\":\n  /*!***************************************************************!*\\\n    !*** ./src/app/services/spotifyAuth/service/token.service.ts ***!\n    \\***************************************************************/\n\n  /*! exports provided: TokenService */\n\n  /***/\n  function srcAppServicesSpotifyAuthServiceTokenServiceTs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TokenService\", function () {\n      return TokenService;\n    });\n    /* harmony import */\n\n\n    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! tslib */\n    \"./node_modules/tslib/tslib.es6.js\");\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! rxjs */\n    \"./node_modules/rxjs/_esm2015/index.js\");\n    /* harmony import */\n\n\n    var ngx_cookie_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ngx-cookie-service */\n    \"./node_modules/ngx-cookie-service/fesm2015/ngx-cookie-service.js\");\n\n    var TokenService =\n    /*#__PURE__*/\n    function () {\n      function TokenService(cookieService) {\n        _classCallCheck(this, TokenService);\n\n        this.cookieService = cookieService;\n        this.token = {\n          spotifyToken: '',\n          obscurifyToken: ''\n        };\n        this.token$ = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"BehaviorSubject\"](this.token);\n      }\n\n      _createClass(TokenService, [{\n        key: \"clearToken\",\n        value: function clearToken() {\n          this.token = {\n            spotifyToken: '',\n            obscurifyToken: ''\n          };\n          this.token$.next(this.token);\n        }\n      }, {\n        key: \"setAuthTokenCache\",\n        value: function setAuthTokenCache(tokenCookie) {\n          if (!!tokenCookie) {\n            this.token.spotifyToken = tokenCookie;\n          } else {\n            this.token.spotifyToken = '';\n          }\n\n          this.token$.next(this.token);\n          return !!this.token;\n        }\n      }, {\n        key: \"setAuthToken\",\n        value: function setAuthToken(spotifyResponse) {\n          if (!!spotifyResponse && !!spotifyResponse.spotifyToken && !!spotifyResponse.obscurifyToken) {\n            console.log('Spotify Repsonse', spotifyResponse);\n            console.log('Spotify Time', spotifyResponse.expires_in);\n            var now = new Date();\n            now.setTime(now.getTime() + 1 * 3600 * 1000);\n            this.cookieService.set('spotifyResponse', spotifyResponse.spotifyToken, now);\n            this.token.spotifyToken = spotifyResponse.spotifyToken;\n            this.token.obscurifyToken = spotifyResponse.obscurifyToken;\n          } else {\n            this.token = {\n              spotifyToken: '',\n              obscurifyToken: ''\n            };\n          }\n\n          this.token$.next(this.token);\n          return !!this.token;\n        }\n      }, {\n        key: \"oAuthToken\",\n        get: function get() {\n          return this.token;\n        }\n      }, {\n        key: \"authHeader\",\n        get: function get() {\n          return this.token.spotifyToken ? {\n            Authorization: \"Bearer \".concat(this.token.spotifyToken)\n          } : {};\n        }\n      }, {\n        key: \"authTokens\",\n        get: function get() {\n          return this.token$.asObservable();\n        }\n      }]);\n\n      return TokenService;\n    }();\n\n    TokenService.ctorParameters = function () {\n      return [{\n        type: ngx_cookie_service__WEBPACK_IMPORTED_MODULE_3__[\"CookieService\"]\n      }];\n    };\n\n    TokenService = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"])()], TokenService);\n    /***/\n  },\n\n  /***/\n  \"./src/app/services/spotifyAuth/shared/scopes-builder.ts\":\n  /*!***************************************************************!*\\\n    !*** ./src/app/services/spotifyAuth/shared/scopes-builder.ts ***!\n    \\***************************************************************/\n\n  /*! exports provided: ScopesBuilder */\n\n  /***/\n  function srcAppServicesSpotifyAuthSharedScopesBuilderTs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ScopesBuilder\", function () {\n      return ScopesBuilder;\n    });\n    /* harmony import */\n\n\n    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! tslib */\n    \"./node_modules/tslib/tslib.es6.js\");\n\n    var ScopesBuilder =\n    /*#__PURE__*/\n    function () {\n      function ScopesBuilder() {\n        _classCallCheck(this, ScopesBuilder);\n\n        this.scopes = [ScopesBuilder.USERS, ScopesBuilder.PLAYLISTS, ScopesBuilder.HISTORY, ScopesBuilder.LIBRARY, ScopesBuilder.CONNECT, ScopesBuilder.FOLLOW, ScopesBuilder.PLAYBACK];\n      }\n      /**\n       *\n       * @param args [] means no particular scopes or public only\n       */\n\n\n      _createClass(ScopesBuilder, [{\n        key: \"withScopes\",\n        value: function withScopes() {\n          for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n            args[_key] = arguments[_key];\n          }\n\n          this.scopes = args;\n          return this;\n        }\n      }, {\n        key: \"build\",\n        value: function build() {\n          var buffer = [];\n          this.scopes.forEach(function (scope) {\n            if (typeof scope === 'string') {\n              buffer.push(scope);\n            } else {\n              Object.keys(scope).forEach(function (property) {\n                return buffer.push(scope[property]);\n              });\n            }\n          });\n          return buffer.join(' ');\n        }\n      }]);\n\n      return ScopesBuilder;\n    }();\n\n    ScopesBuilder.USERS = {\n      READ_PRIVATE: 'user-read-private',\n      READ_EMAIL: 'user-read-email',\n      READ_BIRTHDATE: 'user-read-birthdate'\n    };\n    ScopesBuilder.PLAYLISTS = {\n      READ_PRIVATE: 'playlist-read-private',\n      MODIFY_PRIVATE: 'playlist-modify-private',\n      MODIFY_PPUBLIC: 'playlist-modify-public',\n      READ_COLLABORATIVE: 'playlist-read-collaborative'\n    };\n    ScopesBuilder.HISTORY = {\n      TOP_READ: 'user-top-read',\n      READ_RECENTLY_PLAYED: 'user-read-recently-played'\n    };\n    ScopesBuilder.LIBRARY = {\n      READ: 'user-library-read',\n      MODIFY: 'user-library-modify'\n    };\n    ScopesBuilder.CONNECT = {\n      READ_CURRENTLY_PLAYING: 'user-read-currently-playing',\n      MODIFY_PLAYBACK_STATE: 'user-modify-playback-state',\n      READ_PLAYBACK_STATE: 'user-read-playback-state'\n    };\n    ScopesBuilder.FOLLOW = {\n      READ: 'user-follow-read',\n      MODIFY: 'user-follow-modify'\n    };\n    ScopesBuilder.PLAYBACK = {\n      STREAMING: 'streaming'\n    };\n    /***/\n  },\n\n  /***/\n  \"./src/app/services/spotifyService.ts\":\n  /*!********************************************!*\\\n    !*** ./src/app/services/spotifyService.ts ***!\n    \\********************************************/\n\n  /*! exports provided: SpotifyService */\n\n  /***/\n  function srcAppServicesSpotifyServiceTs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"SpotifyService\", function () {\n      return SpotifyService;\n    });\n    /* harmony import */\n\n\n    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! tslib */\n    \"./node_modules/tslib/tslib.es6.js\");\n    /* harmony import */\n\n\n    var _angular_common_http__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/common/http */\n    \"./node_modules/@angular/common/fesm2015/http.js\");\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! @angular/cdk/platform */\n    \"./node_modules/@angular/cdk/esm2015/platform.js\");\n\n    var SpotifyService =\n    /*#__PURE__*/\n    function () {\n      function SpotifyService(http, platform) {\n        _classCallCheck(this, SpotifyService);\n\n        this.http = http;\n        this.platform = platform;\n      }\n\n      _createClass(SpotifyService, [{\n        key: \"getRecommendations\",\n        value: function getRecommendations(config) {\n          var _this24 = this;\n\n          var url;\n\n          if (config.allTimeArtistIDs && config.allTimeTrackIDs) {\n            url = 'https://api.spotify.com/v1/recommendations?seed_artists?country=' + ',' + config.allTimeArtistIDs[Math.floor(Math.random() * config.allTimeArtistIDs.length)] + config.currentArtistsIDs[Math.floor(Math.random() * config.currentArtistsIDs.length)] + '&seed_tracks=' + config.allTimeTrackIDs[Math.floor(Math.random() * config.allTimeTrackIDs.length)] + ',' + config.currentTrackIDs[Math.floor(Math.random() * config.currentTrackIDs.length)] + '&market=' + config.country + '&max_popularity=55' + '&min_popularity=25' + '&limit=16';\n          } else {\n            url = 'https://api.spotify.com/v1/recommendations?seed_artists?country=' + ',' + config.currentArtistsIDs[Math.floor(Math.random() * config.currentArtistsIDs.length)] + '&seed_tracks=' + config.currentTrackIDs[Math.floor(Math.random() * config.currentTrackIDs.length)] + '&market=' + config.country + '&max_popularity=55' + '&min_popularity=25' + '&limit=16';\n          }\n\n          return new Promise(function (resolve, reject) {\n            _this24.http.get(url).subscribe(function (data) {\n              resolve(data);\n            }, function (err) {\n              reject(err);\n            });\n          });\n        }\n      }, {\n        key: \"makePlaylist\",\n        value: function makePlaylist(config) {\n          var _this25 = this;\n\n          var userID = config.userID,\n              token = config.token,\n              playlistName = config.playlistName,\n              tracks = config.tracks;\n          var url = 'https://api.spotify.com/v1/users/' + userID + '/playlists';\n          var headers = new _angular_common_http__WEBPACK_IMPORTED_MODULE_1__[\"HttpHeaders\"]().set('Authorization', 'Bearer ' + token).set('Accept', 'application/json');\n          var that = this;\n          return new Promise(function (resolve, reject) {\n            _this25.http.post(url, {\n              name: playlistName\n            }, {\n              headers: headers\n            }).subscribe(function (data) {\n              resolve(data);\n              var uriArray = [];\n              var playlistID = data.id;\n              var _iteratorNormalCompletion3 = true;\n              var _didIteratorError3 = false;\n              var _iteratorError3 = undefined;\n\n              try {\n                for (var _iterator3 = tracks[Symbol.iterator](), _step3; !(_iteratorNormalCompletion3 = (_step3 = _iterator3.next()).done); _iteratorNormalCompletion3 = true) {\n                  var track = _step3.value;\n                  uriArray.push(track.uri);\n                }\n              } catch (err) {\n                _didIteratorError3 = true;\n                _iteratorError3 = err;\n              } finally {\n                try {\n                  if (!_iteratorNormalCompletion3 && _iterator3.return != null) {\n                    _iterator3.return();\n                  }\n                } finally {\n                  if (_didIteratorError3) {\n                    throw _iteratorError3;\n                  }\n                }\n              }\n\n              that.fillPlaylistWithTracks(config, uriArray, playlistID);\n            }, function (err) {\n              reject(err);\n            });\n          });\n        }\n      }, {\n        key: \"fillPlaylistWithTracks\",\n        value: function fillPlaylistWithTracks(config, uriArray, playlistID) {\n          var _this26 = this;\n\n          var url = 'https://api.spotify.com/v1/users/' + config.userID + '/playlists/' + playlistID + '/tracks';\n          var headers = new _angular_common_http__WEBPACK_IMPORTED_MODULE_1__[\"HttpHeaders\"]().set('Authorization', 'Bearer ').set('Accept', 'application/json');\n          return new Promise(function (resolve, reject) {\n            _this26.http.post(url, {\n              uris: uriArray\n            }, {\n              headers: headers\n            }).subscribe(function (data) {\n              resolve(data);\n            }, function (err) {\n              reject(err);\n            });\n          });\n        }\n      }]);\n\n      return SpotifyService;\n    }();\n\n    SpotifyService.ctorParameters = function () {\n      return [{\n        type: _angular_common_http__WEBPACK_IMPORTED_MODULE_1__[\"HttpClient\"]\n      }, {\n        type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_3__[\"Platform\"]\n      }];\n    };\n\n    SpotifyService = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"]([Object(_angular_core__WEBPACK_IMPORTED_MODULE_2__[\"Injectable\"])()], SpotifyService);\n    /***/\n  },\n\n  /***/\n  \"./src/app/utilities/obscurityFuncs.ts\":\n  /*!*********************************************!*\\\n    !*** ./src/app/utilities/obscurityFuncs.ts ***!\n    \\*********************************************/\n\n  /*! exports provided: default */\n\n  /***/\n  function srcAppUtilitiesObscurityFuncsTs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony import */\n\n\n    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! tslib */\n    \"./node_modules/tslib/tslib.es6.js\");\n\n    var ObscurityFuncs =\n    /*#__PURE__*/\n    function () {\n      function ObscurityFuncs() {\n        _classCallCheck(this, ObscurityFuncs);\n      }\n\n      _createClass(ObscurityFuncs, [{\n        key: \"findRandomGenres\",\n        value: function findRandomGenres(artist) {\n          if (artist.genres.length > 1) {\n            var random1 = Math.floor(Math.random() * artist.genres.length);\n            var random2 = Math.floor(Math.random() * artist.genres.length);\n\n            while (random1 == random2) {\n              random2 = Math.floor(Math.random() * artist.genres.length);\n            }\n\n            var returnData = {\n              randomGenre1: artist.genres[random1],\n              randomGenre2: artist.genres[random2]\n            }; // check to see if these genres contain the word \"christmas\", if so remove it\n\n            if (returnData.randomGenre1.indexOf('christmas') > -1) {\n              returnData.randomGenre1 = returnData.randomGenre1.replace('christmas', '');\n            }\n\n            if (returnData.randomGenre2.indexOf('christmas') > -1) {\n              returnData.randomGenre2 = returnData.randomGenre2.replace('christmas', '');\n            }\n\n            return returnData;\n          } else if (artist.genres.length == 1) {\n            return {\n              randomGenre1: artist.genres[0],\n              randomGenre2: null\n            };\n          } else {\n            return {\n              randomGenre1: null,\n              randomGenre2: null\n            };\n          }\n        }\n      }, {\n        key: \"findStarRating\",\n        value: function findStarRating(popularity) {\n          switch (popularity) {\n            case popularity >= 90:\n              return '★★★★★';\n\n            case popularity >= 80:\n              return '★★★★';\n\n            case popularity >= 65:\n              return '★★★';\n\n            case popularity >= 50:\n              return '★★';\n\n            case popularity >= 35:\n              return '★';\n\n            default:\n              return '';\n          }\n        }\n      }, {\n        key: \"comparator\",\n        value: function comparator(a, b) {\n          if (a[1] > b[1]) {\n            return -1;\n          }\n\n          if (a[1] < b[1]) {\n            return 1;\n          }\n\n          return 0;\n        }\n      }]);\n\n      return ObscurityFuncs;\n    }();\n    /* harmony default export */\n\n\n    __webpack_exports__[\"default\"] = ObscurityFuncs;\n    /***/\n  },\n\n  /***/\n  \"./src/environments/environment.ts\":\n  /*!*****************************************!*\\\n    !*** ./src/environments/environment.ts ***!\n    \\*****************************************/\n\n  /*! exports provided: environment */\n\n  /***/\n  function srcEnvironmentsEnvironmentTs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"environment\", function () {\n      return environment;\n    });\n    /* harmony import */\n\n\n    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! tslib */\n    \"./node_modules/tslib/tslib.es6.js\"); // This file can be replaced during build by using the `fileReplacements` array.\n    // `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.\n    // The list of file replacements can be found in `angular.json`.\n\n\n    var environment = {\n      production: false,\n      redirect_uri: 'https://ktp0b5os1g.execute-api.us-east-2.amazonaws.com/dev/callbackLocal',\n      client_id: '31e362f6085c4309a2e1a6d2c0f8d8ec'\n    };\n    /*\n     * For easier debugging in development mode, you can import the following file\n     * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.\n     *\n     * This import should be commented out in production mode because it will have a negative impact\n     * on performance if an error is thrown.\n     */\n    // import 'zone.js/dist/zone-error';  // Included with Angular CLI.\n\n    /***/\n  },\n\n  /***/\n  \"./src/main.ts\":\n  /*!*********************!*\\\n    !*** ./src/main.ts ***!\n    \\*********************/\n\n  /*! no exports provided */\n\n  /***/\n  function srcMainTs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony import */\n\n\n    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! tslib */\n    \"./node_modules/tslib/tslib.es6.js\");\n    /* harmony import */\n\n\n    var hammerjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! hammerjs */\n    \"./node_modules/hammerjs/hammer.js\");\n    /* harmony import */\n\n\n    var hammerjs__WEBPACK_IMPORTED_MODULE_1___default =\n    /*#__PURE__*/\n    __webpack_require__.n(hammerjs__WEBPACK_IMPORTED_MODULE_1__);\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var _angular_platform_browser_dynamic__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! @angular/platform-browser-dynamic */\n    \"./node_modules/@angular/platform-browser-dynamic/fesm2015/platform-browser-dynamic.js\");\n    /* harmony import */\n\n\n    var _app_app_module__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! ./app/app.module */\n    \"./src/app/app.module.ts\");\n    /* harmony import */\n\n\n    var _environments_environment__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\n    /*! ./environments/environment */\n    \"./src/environments/environment.ts\");\n\n    if (_environments_environment__WEBPACK_IMPORTED_MODULE_5__[\"environment\"].production) {\n      Object(_angular_core__WEBPACK_IMPORTED_MODULE_2__[\"enableProdMode\"])();\n    }\n\n    Object(_angular_platform_browser_dynamic__WEBPACK_IMPORTED_MODULE_3__[\"platformBrowserDynamic\"])().bootstrapModule(_app_app_module__WEBPACK_IMPORTED_MODULE_4__[\"AppModule\"]).catch(function (err) {\n      return console.error(err);\n    });\n    /***/\n  },\n\n  /***/\n  0:\n  /*!***************************!*\\\n    !*** multi ./src/main.ts ***!\n    \\***************************/\n\n  /*! no static exports found */\n\n  /***/\n  function _(module, exports, __webpack_require__) {\n    module.exports = __webpack_require__(\n    /*! /Users/alex/Desktop/obscurify3/src/main.ts */\n    \"./src/main.ts\");\n    /***/\n  }\n}, [[0, \"runtime\", \"vendor\"]]]);\n//# sourceMappingURL=main-es5.js.map"
  },
  {
    "path": "frontend/dist/obscurify3/polyfills-es2015.js",
    "content": "(window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || []).push([[\"polyfills\"],{\n\n/***/ \"./node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/jit-polyfills.js\":\n/*!**************************************************************************************************!*\\\n  !*** ./node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/jit-polyfills.js ***!\n  \\**************************************************************************************************/\n/*! no exports provided */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_proposals_reflect_metadata__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/proposals/reflect-metadata */ \"./node_modules/core-js/proposals/reflect-metadata.js\");\n/* harmony import */ var core_js_proposals_reflect_metadata__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_proposals_reflect_metadata__WEBPACK_IMPORTED_MODULE_0__);\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/a-function.js\":\n/*!******************************************************!*\\\n  !*** ./node_modules/core-js/internals/a-function.js ***!\n  \\******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = function (it) {\n  if (typeof it != 'function') {\n    throw TypeError(String(it) + ' is not a function');\n  } return it;\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/a-possible-prototype.js\":\n/*!****************************************************************!*\\\n  !*** ./node_modules/core-js/internals/a-possible-prototype.js ***!\n  \\****************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar isObject = __webpack_require__(/*! ../internals/is-object */ \"./node_modules/core-js/internals/is-object.js\");\n\nmodule.exports = function (it) {\n  if (!isObject(it) && it !== null) {\n    throw TypeError(\"Can't set \" + String(it) + ' as a prototype');\n  } return it;\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/an-instance.js\":\n/*!*******************************************************!*\\\n  !*** ./node_modules/core-js/internals/an-instance.js ***!\n  \\*******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = function (it, Constructor, name) {\n  if (!(it instanceof Constructor)) {\n    throw TypeError('Incorrect ' + (name ? name + ' ' : '') + 'invocation');\n  } return it;\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/an-object.js\":\n/*!*****************************************************!*\\\n  !*** ./node_modules/core-js/internals/an-object.js ***!\n  \\*****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar isObject = __webpack_require__(/*! ../internals/is-object */ \"./node_modules/core-js/internals/is-object.js\");\n\nmodule.exports = function (it) {\n  if (!isObject(it)) {\n    throw TypeError(String(it) + ' is not an object');\n  } return it;\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/array-includes.js\":\n/*!**********************************************************!*\\\n  !*** ./node_modules/core-js/internals/array-includes.js ***!\n  \\**********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ \"./node_modules/core-js/internals/to-indexed-object.js\");\nvar toLength = __webpack_require__(/*! ../internals/to-length */ \"./node_modules/core-js/internals/to-length.js\");\nvar toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ \"./node_modules/core-js/internals/to-absolute-index.js\");\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n  return function ($this, el, fromIndex) {\n    var O = toIndexedObject($this);\n    var length = toLength(O.length);\n    var index = toAbsoluteIndex(fromIndex, length);\n    var value;\n    // Array#includes uses SameValueZero equality algorithm\n    // eslint-disable-next-line no-self-compare\n    if (IS_INCLUDES && el != el) while (length > index) {\n      value = O[index++];\n      // eslint-disable-next-line no-self-compare\n      if (value != value) return true;\n    // Array#indexOf ignores holes, Array#includes - not\n    } else for (;length > index; index++) {\n      if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n    } return !IS_INCLUDES && -1;\n  };\n};\n\nmodule.exports = {\n  // `Array.prototype.includes` method\n  // https://tc39.github.io/ecma262/#sec-array.prototype.includes\n  includes: createMethod(true),\n  // `Array.prototype.indexOf` method\n  // https://tc39.github.io/ecma262/#sec-array.prototype.indexof\n  indexOf: createMethod(false)\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/array-iteration.js\":\n/*!***********************************************************!*\\\n  !*** ./node_modules/core-js/internals/array-iteration.js ***!\n  \\***********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar bind = __webpack_require__(/*! ../internals/bind-context */ \"./node_modules/core-js/internals/bind-context.js\");\nvar IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ \"./node_modules/core-js/internals/indexed-object.js\");\nvar toObject = __webpack_require__(/*! ../internals/to-object */ \"./node_modules/core-js/internals/to-object.js\");\nvar toLength = __webpack_require__(/*! ../internals/to-length */ \"./node_modules/core-js/internals/to-length.js\");\nvar arraySpeciesCreate = __webpack_require__(/*! ../internals/array-species-create */ \"./node_modules/core-js/internals/array-species-create.js\");\n\nvar push = [].push;\n\n// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex }` methods implementation\nvar createMethod = function (TYPE) {\n  var IS_MAP = TYPE == 1;\n  var IS_FILTER = TYPE == 2;\n  var IS_SOME = TYPE == 3;\n  var IS_EVERY = TYPE == 4;\n  var IS_FIND_INDEX = TYPE == 6;\n  var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n  return function ($this, callbackfn, that, specificCreate) {\n    var O = toObject($this);\n    var self = IndexedObject(O);\n    var boundFunction = bind(callbackfn, that, 3);\n    var length = toLength(self.length);\n    var index = 0;\n    var create = specificCreate || arraySpeciesCreate;\n    var target = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;\n    var value, result;\n    for (;length > index; index++) if (NO_HOLES || index in self) {\n      value = self[index];\n      result = boundFunction(value, index, O);\n      if (TYPE) {\n        if (IS_MAP) target[index] = result; // map\n        else if (result) switch (TYPE) {\n          case 3: return true;              // some\n          case 5: return value;             // find\n          case 6: return index;             // findIndex\n          case 2: push.call(target, value); // filter\n        } else if (IS_EVERY) return false;  // every\n      }\n    }\n    return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;\n  };\n};\n\nmodule.exports = {\n  // `Array.prototype.forEach` method\n  // https://tc39.github.io/ecma262/#sec-array.prototype.foreach\n  forEach: createMethod(0),\n  // `Array.prototype.map` method\n  // https://tc39.github.io/ecma262/#sec-array.prototype.map\n  map: createMethod(1),\n  // `Array.prototype.filter` method\n  // https://tc39.github.io/ecma262/#sec-array.prototype.filter\n  filter: createMethod(2),\n  // `Array.prototype.some` method\n  // https://tc39.github.io/ecma262/#sec-array.prototype.some\n  some: createMethod(3),\n  // `Array.prototype.every` method\n  // https://tc39.github.io/ecma262/#sec-array.prototype.every\n  every: createMethod(4),\n  // `Array.prototype.find` method\n  // https://tc39.github.io/ecma262/#sec-array.prototype.find\n  find: createMethod(5),\n  // `Array.prototype.findIndex` method\n  // https://tc39.github.io/ecma262/#sec-array.prototype.findIndex\n  findIndex: createMethod(6)\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/array-species-create.js\":\n/*!****************************************************************!*\\\n  !*** ./node_modules/core-js/internals/array-species-create.js ***!\n  \\****************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar isObject = __webpack_require__(/*! ../internals/is-object */ \"./node_modules/core-js/internals/is-object.js\");\nvar isArray = __webpack_require__(/*! ../internals/is-array */ \"./node_modules/core-js/internals/is-array.js\");\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ \"./node_modules/core-js/internals/well-known-symbol.js\");\n\nvar SPECIES = wellKnownSymbol('species');\n\n// `ArraySpeciesCreate` abstract operation\n// https://tc39.github.io/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray, length) {\n  var C;\n  if (isArray(originalArray)) {\n    C = originalArray.constructor;\n    // cross-realm fallback\n    if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;\n    else if (isObject(C)) {\n      C = C[SPECIES];\n      if (C === null) C = undefined;\n    }\n  } return new (C === undefined ? Array : C)(length === 0 ? 0 : length);\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/bind-context.js\":\n/*!********************************************************!*\\\n  !*** ./node_modules/core-js/internals/bind-context.js ***!\n  \\********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar aFunction = __webpack_require__(/*! ../internals/a-function */ \"./node_modules/core-js/internals/a-function.js\");\n\n// optional / simple context binding\nmodule.exports = function (fn, that, length) {\n  aFunction(fn);\n  if (that === undefined) return fn;\n  switch (length) {\n    case 0: return function () {\n      return fn.call(that);\n    };\n    case 1: return function (a) {\n      return fn.call(that, a);\n    };\n    case 2: return function (a, b) {\n      return fn.call(that, a, b);\n    };\n    case 3: return function (a, b, c) {\n      return fn.call(that, a, b, c);\n    };\n  }\n  return function (/* ...args */) {\n    return fn.apply(that, arguments);\n  };\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/call-with-safe-iteration-closing.js\":\n/*!****************************************************************************!*\\\n  !*** ./node_modules/core-js/internals/call-with-safe-iteration-closing.js ***!\n  \\****************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar anObject = __webpack_require__(/*! ../internals/an-object */ \"./node_modules/core-js/internals/an-object.js\");\n\n// call something on iterator step with safe closing on error\nmodule.exports = function (iterator, fn, value, ENTRIES) {\n  try {\n    return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);\n  // 7.4.6 IteratorClose(iterator, completion)\n  } catch (error) {\n    var returnMethod = iterator['return'];\n    if (returnMethod !== undefined) anObject(returnMethod.call(iterator));\n    throw error;\n  }\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/check-correctness-of-iteration.js\":\n/*!**************************************************************************!*\\\n  !*** ./node_modules/core-js/internals/check-correctness-of-iteration.js ***!\n  \\**************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ \"./node_modules/core-js/internals/well-known-symbol.js\");\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n  var called = 0;\n  var iteratorWithReturn = {\n    next: function () {\n      return { done: !!called++ };\n    },\n    'return': function () {\n      SAFE_CLOSING = true;\n    }\n  };\n  iteratorWithReturn[ITERATOR] = function () {\n    return this;\n  };\n  // eslint-disable-next-line no-throw-literal\n  Array.from(iteratorWithReturn, function () { throw 2; });\n} catch (error) { /* empty */ }\n\nmodule.exports = function (exec, SKIP_CLOSING) {\n  if (!SKIP_CLOSING && !SAFE_CLOSING) return false;\n  var ITERATION_SUPPORT = false;\n  try {\n    var object = {};\n    object[ITERATOR] = function () {\n      return {\n        next: function () {\n          return { done: ITERATION_SUPPORT = true };\n        }\n      };\n    };\n    exec(object);\n  } catch (error) { /* empty */ }\n  return ITERATION_SUPPORT;\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/classof-raw.js\":\n/*!*******************************************************!*\\\n  !*** ./node_modules/core-js/internals/classof-raw.js ***!\n  \\*******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nvar toString = {}.toString;\n\nmodule.exports = function (it) {\n  return toString.call(it).slice(8, -1);\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/classof.js\":\n/*!***************************************************!*\\\n  !*** ./node_modules/core-js/internals/classof.js ***!\n  \\***************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar classofRaw = __webpack_require__(/*! ../internals/classof-raw */ \"./node_modules/core-js/internals/classof-raw.js\");\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ \"./node_modules/core-js/internals/well-known-symbol.js\");\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n  try {\n    return it[key];\n  } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = function (it) {\n  var O, tag, result;\n  return it === undefined ? 'Undefined' : it === null ? 'Null'\n    // @@toStringTag case\n    : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag\n    // builtinTag case\n    : CORRECT_ARGUMENTS ? classofRaw(O)\n    // ES3 arguments fallback\n    : (result = classofRaw(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : result;\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/collection-strong.js\":\n/*!*************************************************************!*\\\n  !*** ./node_modules/core-js/internals/collection-strong.js ***!\n  \\*************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar defineProperty = __webpack_require__(/*! ../internals/object-define-property */ \"./node_modules/core-js/internals/object-define-property.js\").f;\nvar create = __webpack_require__(/*! ../internals/object-create */ \"./node_modules/core-js/internals/object-create.js\");\nvar redefineAll = __webpack_require__(/*! ../internals/redefine-all */ \"./node_modules/core-js/internals/redefine-all.js\");\nvar bind = __webpack_require__(/*! ../internals/bind-context */ \"./node_modules/core-js/internals/bind-context.js\");\nvar anInstance = __webpack_require__(/*! ../internals/an-instance */ \"./node_modules/core-js/internals/an-instance.js\");\nvar iterate = __webpack_require__(/*! ../internals/iterate */ \"./node_modules/core-js/internals/iterate.js\");\nvar defineIterator = __webpack_require__(/*! ../internals/define-iterator */ \"./node_modules/core-js/internals/define-iterator.js\");\nvar setSpecies = __webpack_require__(/*! ../internals/set-species */ \"./node_modules/core-js/internals/set-species.js\");\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ \"./node_modules/core-js/internals/descriptors.js\");\nvar fastKey = __webpack_require__(/*! ../internals/internal-metadata */ \"./node_modules/core-js/internals/internal-metadata.js\").fastKey;\nvar InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ \"./node_modules/core-js/internals/internal-state.js\");\n\nvar setInternalState = InternalStateModule.set;\nvar internalStateGetterFor = InternalStateModule.getterFor;\n\nmodule.exports = {\n  getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {\n    var C = wrapper(function (that, iterable) {\n      anInstance(that, C, CONSTRUCTOR_NAME);\n      setInternalState(that, {\n        type: CONSTRUCTOR_NAME,\n        index: create(null),\n        first: undefined,\n        last: undefined,\n        size: 0\n      });\n      if (!DESCRIPTORS) that.size = 0;\n      if (iterable != undefined) iterate(iterable, that[ADDER], that, IS_MAP);\n    });\n\n    var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);\n\n    var define = function (that, key, value) {\n      var state = getInternalState(that);\n      var entry = getEntry(that, key);\n      var previous, index;\n      // change existing entry\n      if (entry) {\n        entry.value = value;\n      // create new entry\n      } else {\n        state.last = entry = {\n          index: index = fastKey(key, true),\n          key: key,\n          value: value,\n          previous: previous = state.last,\n          next: undefined,\n          removed: false\n        };\n        if (!state.first) state.first = entry;\n        if (previous) previous.next = entry;\n        if (DESCRIPTORS) state.size++;\n        else that.size++;\n        // add to index\n        if (index !== 'F') state.index[index] = entry;\n      } return that;\n    };\n\n    var getEntry = function (that, key) {\n      var state = getInternalState(that);\n      // fast case\n      var index = fastKey(key);\n      var entry;\n      if (index !== 'F') return state.index[index];\n      // frozen object case\n      for (entry = state.first; entry; entry = entry.next) {\n        if (entry.key == key) return entry;\n      }\n    };\n\n    redefineAll(C.prototype, {\n      // 23.1.3.1 Map.prototype.clear()\n      // 23.2.3.2 Set.prototype.clear()\n      clear: function clear() {\n        var that = this;\n        var state = getInternalState(that);\n        var data = state.index;\n        var entry = state.first;\n        while (entry) {\n          entry.removed = true;\n          if (entry.previous) entry.previous = entry.previous.next = undefined;\n          delete data[entry.index];\n          entry = entry.next;\n        }\n        state.first = state.last = undefined;\n        if (DESCRIPTORS) state.size = 0;\n        else that.size = 0;\n      },\n      // 23.1.3.3 Map.prototype.delete(key)\n      // 23.2.3.4 Set.prototype.delete(value)\n      'delete': function (key) {\n        var that = this;\n        var state = getInternalState(that);\n        var entry = getEntry(that, key);\n        if (entry) {\n          var next = entry.next;\n          var prev = entry.previous;\n          delete state.index[entry.index];\n          entry.removed = true;\n          if (prev) prev.next = next;\n          if (next) next.previous = prev;\n          if (state.first == entry) state.first = next;\n          if (state.last == entry) state.last = prev;\n          if (DESCRIPTORS) state.size--;\n          else that.size--;\n        } return !!entry;\n      },\n      // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined)\n      // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined)\n      forEach: function forEach(callbackfn /* , that = undefined */) {\n        var state = getInternalState(this);\n        var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);\n        var entry;\n        while (entry = entry ? entry.next : state.first) {\n          boundFunction(entry.value, entry.key, this);\n          // revert to the last existing entry\n          while (entry && entry.removed) entry = entry.previous;\n        }\n      },\n      // 23.1.3.7 Map.prototype.has(key)\n      // 23.2.3.7 Set.prototype.has(value)\n      has: function has(key) {\n        return !!getEntry(this, key);\n      }\n    });\n\n    redefineAll(C.prototype, IS_MAP ? {\n      // 23.1.3.6 Map.prototype.get(key)\n      get: function get(key) {\n        var entry = getEntry(this, key);\n        return entry && entry.value;\n      },\n      // 23.1.3.9 Map.prototype.set(key, value)\n      set: function set(key, value) {\n        return define(this, key === 0 ? 0 : key, value);\n      }\n    } : {\n      // 23.2.3.1 Set.prototype.add(value)\n      add: function add(value) {\n        return define(this, value = value === 0 ? 0 : value, value);\n      }\n    });\n    if (DESCRIPTORS) defineProperty(C.prototype, 'size', {\n      get: function () {\n        return getInternalState(this).size;\n      }\n    });\n    return C;\n  },\n  setStrong: function (C, CONSTRUCTOR_NAME, IS_MAP) {\n    var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator';\n    var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME);\n    var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME);\n    // add .keys, .values, .entries, [@@iterator]\n    // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11\n    defineIterator(C, CONSTRUCTOR_NAME, function (iterated, kind) {\n      setInternalState(this, {\n        type: ITERATOR_NAME,\n        target: iterated,\n        state: getInternalCollectionState(iterated),\n        kind: kind,\n        last: undefined\n      });\n    }, function () {\n      var state = getInternalIteratorState(this);\n      var kind = state.kind;\n      var entry = state.last;\n      // revert to the last existing entry\n      while (entry && entry.removed) entry = entry.previous;\n      // get next entry\n      if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) {\n        // or finish the iteration\n        state.target = undefined;\n        return { value: undefined, done: true };\n      }\n      // return step by kind\n      if (kind == 'keys') return { value: entry.key, done: false };\n      if (kind == 'values') return { value: entry.value, done: false };\n      return { value: [entry.key, entry.value], done: false };\n    }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);\n\n    // add [@@species], 23.1.2.2, 23.2.2.2\n    setSpecies(CONSTRUCTOR_NAME);\n  }\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/collection-weak.js\":\n/*!***********************************************************!*\\\n  !*** ./node_modules/core-js/internals/collection-weak.js ***!\n  \\***********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar redefineAll = __webpack_require__(/*! ../internals/redefine-all */ \"./node_modules/core-js/internals/redefine-all.js\");\nvar getWeakData = __webpack_require__(/*! ../internals/internal-metadata */ \"./node_modules/core-js/internals/internal-metadata.js\").getWeakData;\nvar anObject = __webpack_require__(/*! ../internals/an-object */ \"./node_modules/core-js/internals/an-object.js\");\nvar isObject = __webpack_require__(/*! ../internals/is-object */ \"./node_modules/core-js/internals/is-object.js\");\nvar anInstance = __webpack_require__(/*! ../internals/an-instance */ \"./node_modules/core-js/internals/an-instance.js\");\nvar iterate = __webpack_require__(/*! ../internals/iterate */ \"./node_modules/core-js/internals/iterate.js\");\nvar ArrayIterationModule = __webpack_require__(/*! ../internals/array-iteration */ \"./node_modules/core-js/internals/array-iteration.js\");\nvar $has = __webpack_require__(/*! ../internals/has */ \"./node_modules/core-js/internals/has.js\");\nvar InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ \"./node_modules/core-js/internals/internal-state.js\");\n\nvar setInternalState = InternalStateModule.set;\nvar internalStateGetterFor = InternalStateModule.getterFor;\nvar find = ArrayIterationModule.find;\nvar findIndex = ArrayIterationModule.findIndex;\nvar id = 0;\n\n// fallback for uncaught frozen keys\nvar uncaughtFrozenStore = function (store) {\n  return store.frozen || (store.frozen = new UncaughtFrozenStore());\n};\n\nvar UncaughtFrozenStore = function () {\n  this.entries = [];\n};\n\nvar findUncaughtFrozen = function (store, key) {\n  return find(store.entries, function (it) {\n    return it[0] === key;\n  });\n};\n\nUncaughtFrozenStore.prototype = {\n  get: function (key) {\n    var entry = findUncaughtFrozen(this, key);\n    if (entry) return entry[1];\n  },\n  has: function (key) {\n    return !!findUncaughtFrozen(this, key);\n  },\n  set: function (key, value) {\n    var entry = findUncaughtFrozen(this, key);\n    if (entry) entry[1] = value;\n    else this.entries.push([key, value]);\n  },\n  'delete': function (key) {\n    var index = findIndex(this.entries, function (it) {\n      return it[0] === key;\n    });\n    if (~index) this.entries.splice(index, 1);\n    return !!~index;\n  }\n};\n\nmodule.exports = {\n  getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {\n    var C = wrapper(function (that, iterable) {\n      anInstance(that, C, CONSTRUCTOR_NAME);\n      setInternalState(that, {\n        type: CONSTRUCTOR_NAME,\n        id: id++,\n        frozen: undefined\n      });\n      if (iterable != undefined) iterate(iterable, that[ADDER], that, IS_MAP);\n    });\n\n    var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);\n\n    var define = function (that, key, value) {\n      var state = getInternalState(that);\n      var data = getWeakData(anObject(key), true);\n      if (data === true) uncaughtFrozenStore(state).set(key, value);\n      else data[state.id] = value;\n      return that;\n    };\n\n    redefineAll(C.prototype, {\n      // 23.3.3.2 WeakMap.prototype.delete(key)\n      // 23.4.3.3 WeakSet.prototype.delete(value)\n      'delete': function (key) {\n        var state = getInternalState(this);\n        if (!isObject(key)) return false;\n        var data = getWeakData(key);\n        if (data === true) return uncaughtFrozenStore(state)['delete'](key);\n        return data && $has(data, state.id) && delete data[state.id];\n      },\n      // 23.3.3.4 WeakMap.prototype.has(key)\n      // 23.4.3.4 WeakSet.prototype.has(value)\n      has: function has(key) {\n        var state = getInternalState(this);\n        if (!isObject(key)) return false;\n        var data = getWeakData(key);\n        if (data === true) return uncaughtFrozenStore(state).has(key);\n        return data && $has(data, state.id);\n      }\n    });\n\n    redefineAll(C.prototype, IS_MAP ? {\n      // 23.3.3.3 WeakMap.prototype.get(key)\n      get: function get(key) {\n        var state = getInternalState(this);\n        if (isObject(key)) {\n          var data = getWeakData(key);\n          if (data === true) return uncaughtFrozenStore(state).get(key);\n          return data ? data[state.id] : undefined;\n        }\n      },\n      // 23.3.3.5 WeakMap.prototype.set(key, value)\n      set: function set(key, value) {\n        return define(this, key, value);\n      }\n    } : {\n      // 23.4.3.1 WeakSet.prototype.add(value)\n      add: function add(value) {\n        return define(this, value, true);\n      }\n    });\n\n    return C;\n  }\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/collection.js\":\n/*!******************************************************!*\\\n  !*** ./node_modules/core-js/internals/collection.js ***!\n  \\******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar $ = __webpack_require__(/*! ../internals/export */ \"./node_modules/core-js/internals/export.js\");\nvar global = __webpack_require__(/*! ../internals/global */ \"./node_modules/core-js/internals/global.js\");\nvar isForced = __webpack_require__(/*! ../internals/is-forced */ \"./node_modules/core-js/internals/is-forced.js\");\nvar redefine = __webpack_require__(/*! ../internals/redefine */ \"./node_modules/core-js/internals/redefine.js\");\nvar InternalMetadataModule = __webpack_require__(/*! ../internals/internal-metadata */ \"./node_modules/core-js/internals/internal-metadata.js\");\nvar iterate = __webpack_require__(/*! ../internals/iterate */ \"./node_modules/core-js/internals/iterate.js\");\nvar anInstance = __webpack_require__(/*! ../internals/an-instance */ \"./node_modules/core-js/internals/an-instance.js\");\nvar isObject = __webpack_require__(/*! ../internals/is-object */ \"./node_modules/core-js/internals/is-object.js\");\nvar fails = __webpack_require__(/*! ../internals/fails */ \"./node_modules/core-js/internals/fails.js\");\nvar checkCorrectnessOfIteration = __webpack_require__(/*! ../internals/check-correctness-of-iteration */ \"./node_modules/core-js/internals/check-correctness-of-iteration.js\");\nvar setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ \"./node_modules/core-js/internals/set-to-string-tag.js\");\nvar inheritIfRequired = __webpack_require__(/*! ../internals/inherit-if-required */ \"./node_modules/core-js/internals/inherit-if-required.js\");\n\nmodule.exports = function (CONSTRUCTOR_NAME, wrapper, common, IS_MAP, IS_WEAK) {\n  var NativeConstructor = global[CONSTRUCTOR_NAME];\n  var NativePrototype = NativeConstructor && NativeConstructor.prototype;\n  var Constructor = NativeConstructor;\n  var ADDER = IS_MAP ? 'set' : 'add';\n  var exported = {};\n\n  var fixMethod = function (KEY) {\n    var nativeMethod = NativePrototype[KEY];\n    redefine(NativePrototype, KEY,\n      KEY == 'add' ? function add(value) {\n        nativeMethod.call(this, value === 0 ? 0 : value);\n        return this;\n      } : KEY == 'delete' ? function (key) {\n        return IS_WEAK && !isObject(key) ? false : nativeMethod.call(this, key === 0 ? 0 : key);\n      } : KEY == 'get' ? function get(key) {\n        return IS_WEAK && !isObject(key) ? undefined : nativeMethod.call(this, key === 0 ? 0 : key);\n      } : KEY == 'has' ? function has(key) {\n        return IS_WEAK && !isObject(key) ? false : nativeMethod.call(this, key === 0 ? 0 : key);\n      } : function set(key, value) {\n        nativeMethod.call(this, key === 0 ? 0 : key, value);\n        return this;\n      }\n    );\n  };\n\n  // eslint-disable-next-line max-len\n  if (isForced(CONSTRUCTOR_NAME, typeof NativeConstructor != 'function' || !(IS_WEAK || NativePrototype.forEach && !fails(function () {\n    new NativeConstructor().entries().next();\n  })))) {\n    // create collection constructor\n    Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER);\n    InternalMetadataModule.REQUIRED = true;\n  } else if (isForced(CONSTRUCTOR_NAME, true)) {\n    var instance = new Constructor();\n    // early implementations not supports chaining\n    var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;\n    // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false\n    var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });\n    // most early implementations doesn't supports iterables, most modern - not close it correctly\n    // eslint-disable-next-line no-new\n    var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) { new NativeConstructor(iterable); });\n    // for early implementations -0 and +0 not the same\n    var BUGGY_ZERO = !IS_WEAK && fails(function () {\n      // V8 ~ Chromium 42- fails only with 5+ elements\n      var $instance = new NativeConstructor();\n      var index = 5;\n      while (index--) $instance[ADDER](index, index);\n      return !$instance.has(-0);\n    });\n\n    if (!ACCEPT_ITERABLES) {\n      Constructor = wrapper(function (dummy, iterable) {\n        anInstance(dummy, Constructor, CONSTRUCTOR_NAME);\n        var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor);\n        if (iterable != undefined) iterate(iterable, that[ADDER], that, IS_MAP);\n        return that;\n      });\n      Constructor.prototype = NativePrototype;\n      NativePrototype.constructor = Constructor;\n    }\n\n    if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {\n      fixMethod('delete');\n      fixMethod('has');\n      IS_MAP && fixMethod('get');\n    }\n\n    if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);\n\n    // weak collections should not contains .clear method\n    if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear;\n  }\n\n  exported[CONSTRUCTOR_NAME] = Constructor;\n  $({ global: true, forced: Constructor != NativeConstructor }, exported);\n\n  setToStringTag(Constructor, CONSTRUCTOR_NAME);\n\n  if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP);\n\n  return Constructor;\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/copy-constructor-properties.js\":\n/*!***********************************************************************!*\\\n  !*** ./node_modules/core-js/internals/copy-constructor-properties.js ***!\n  \\***********************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar has = __webpack_require__(/*! ../internals/has */ \"./node_modules/core-js/internals/has.js\");\nvar ownKeys = __webpack_require__(/*! ../internals/own-keys */ \"./node_modules/core-js/internals/own-keys.js\");\nvar getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ \"./node_modules/core-js/internals/object-get-own-property-descriptor.js\");\nvar definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ \"./node_modules/core-js/internals/object-define-property.js\");\n\nmodule.exports = function (target, source) {\n  var keys = ownKeys(source);\n  var defineProperty = definePropertyModule.f;\n  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n  for (var i = 0; i < keys.length; i++) {\n    var key = keys[i];\n    if (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n  }\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/correct-prototype-getter.js\":\n/*!********************************************************************!*\\\n  !*** ./node_modules/core-js/internals/correct-prototype-getter.js ***!\n  \\********************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar fails = __webpack_require__(/*! ../internals/fails */ \"./node_modules/core-js/internals/fails.js\");\n\nmodule.exports = !fails(function () {\n  function F() { /* empty */ }\n  F.prototype.constructor = null;\n  return Object.getPrototypeOf(new F()) !== F.prototype;\n});\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/create-iterator-constructor.js\":\n/*!***********************************************************************!*\\\n  !*** ./node_modules/core-js/internals/create-iterator-constructor.js ***!\n  \\***********************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar IteratorPrototype = __webpack_require__(/*! ../internals/iterators-core */ \"./node_modules/core-js/internals/iterators-core.js\").IteratorPrototype;\nvar create = __webpack_require__(/*! ../internals/object-create */ \"./node_modules/core-js/internals/object-create.js\");\nvar createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ \"./node_modules/core-js/internals/create-property-descriptor.js\");\nvar setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ \"./node_modules/core-js/internals/set-to-string-tag.js\");\nvar Iterators = __webpack_require__(/*! ../internals/iterators */ \"./node_modules/core-js/internals/iterators.js\");\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (IteratorConstructor, NAME, next) {\n  var TO_STRING_TAG = NAME + ' Iterator';\n  IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(1, next) });\n  setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);\n  Iterators[TO_STRING_TAG] = returnThis;\n  return IteratorConstructor;\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/create-property-descriptor.js\":\n/*!**********************************************************************!*\\\n  !*** ./node_modules/core-js/internals/create-property-descriptor.js ***!\n  \\**********************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = function (bitmap, value) {\n  return {\n    enumerable: !(bitmap & 1),\n    configurable: !(bitmap & 2),\n    writable: !(bitmap & 4),\n    value: value\n  };\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/define-iterator.js\":\n/*!***********************************************************!*\\\n  !*** ./node_modules/core-js/internals/define-iterator.js ***!\n  \\***********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar $ = __webpack_require__(/*! ../internals/export */ \"./node_modules/core-js/internals/export.js\");\nvar createIteratorConstructor = __webpack_require__(/*! ../internals/create-iterator-constructor */ \"./node_modules/core-js/internals/create-iterator-constructor.js\");\nvar getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ \"./node_modules/core-js/internals/object-get-prototype-of.js\");\nvar setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ \"./node_modules/core-js/internals/object-set-prototype-of.js\");\nvar setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ \"./node_modules/core-js/internals/set-to-string-tag.js\");\nvar hide = __webpack_require__(/*! ../internals/hide */ \"./node_modules/core-js/internals/hide.js\");\nvar redefine = __webpack_require__(/*! ../internals/redefine */ \"./node_modules/core-js/internals/redefine.js\");\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ \"./node_modules/core-js/internals/well-known-symbol.js\");\nvar IS_PURE = __webpack_require__(/*! ../internals/is-pure */ \"./node_modules/core-js/internals/is-pure.js\");\nvar Iterators = __webpack_require__(/*! ../internals/iterators */ \"./node_modules/core-js/internals/iterators.js\");\nvar IteratorsCore = __webpack_require__(/*! ../internals/iterators-core */ \"./node_modules/core-js/internals/iterators-core.js\");\n\nvar IteratorPrototype = IteratorsCore.IteratorPrototype;\nvar BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;\nvar ITERATOR = wellKnownSymbol('iterator');\nvar KEYS = 'keys';\nvar VALUES = 'values';\nvar ENTRIES = 'entries';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {\n  createIteratorConstructor(IteratorConstructor, NAME, next);\n\n  var getIterationMethod = function (KIND) {\n    if (KIND === DEFAULT && defaultIterator) return defaultIterator;\n    if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];\n    switch (KIND) {\n      case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };\n      case VALUES: return function values() { return new IteratorConstructor(this, KIND); };\n      case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };\n    } return function () { return new IteratorConstructor(this); };\n  };\n\n  var TO_STRING_TAG = NAME + ' Iterator';\n  var INCORRECT_VALUES_NAME = false;\n  var IterablePrototype = Iterable.prototype;\n  var nativeIterator = IterablePrototype[ITERATOR]\n    || IterablePrototype['@@iterator']\n    || DEFAULT && IterablePrototype[DEFAULT];\n  var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);\n  var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;\n  var CurrentIteratorPrototype, methods, KEY;\n\n  // fix native\n  if (anyNativeIterator) {\n    CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));\n    if (IteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {\n      if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {\n        if (setPrototypeOf) {\n          setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);\n        } else if (typeof CurrentIteratorPrototype[ITERATOR] != 'function') {\n          hide(CurrentIteratorPrototype, ITERATOR, returnThis);\n        }\n      }\n      // Set @@toStringTag to native iterators\n      setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);\n      if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;\n    }\n  }\n\n  // fix Array#{values, @@iterator}.name in V8 / FF\n  if (DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {\n    INCORRECT_VALUES_NAME = true;\n    defaultIterator = function values() { return nativeIterator.call(this); };\n  }\n\n  // define iterator\n  if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {\n    hide(IterablePrototype, ITERATOR, defaultIterator);\n  }\n  Iterators[NAME] = defaultIterator;\n\n  // export additional methods\n  if (DEFAULT) {\n    methods = {\n      values: getIterationMethod(VALUES),\n      keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),\n      entries: getIterationMethod(ENTRIES)\n    };\n    if (FORCED) for (KEY in methods) {\n      if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {\n        redefine(IterablePrototype, KEY, methods[KEY]);\n      }\n    } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);\n  }\n\n  return methods;\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/descriptors.js\":\n/*!*******************************************************!*\\\n  !*** ./node_modules/core-js/internals/descriptors.js ***!\n  \\*******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar fails = __webpack_require__(/*! ../internals/fails */ \"./node_modules/core-js/internals/fails.js\");\n\n// Thank's IE8 for his funny defineProperty\nmodule.exports = !fails(function () {\n  return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/document-create-element.js\":\n/*!*******************************************************************!*\\\n  !*** ./node_modules/core-js/internals/document-create-element.js ***!\n  \\*******************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar global = __webpack_require__(/*! ../internals/global */ \"./node_modules/core-js/internals/global.js\");\nvar isObject = __webpack_require__(/*! ../internals/is-object */ \"./node_modules/core-js/internals/is-object.js\");\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n  return EXISTS ? document.createElement(it) : {};\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/enum-bug-keys.js\":\n/*!*********************************************************!*\\\n  !*** ./node_modules/core-js/internals/enum-bug-keys.js ***!\n  \\*********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\n// IE8- don't enum bug keys\nmodule.exports = [\n  'constructor',\n  'hasOwnProperty',\n  'isPrototypeOf',\n  'propertyIsEnumerable',\n  'toLocaleString',\n  'toString',\n  'valueOf'\n];\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/export.js\":\n/*!**************************************************!*\\\n  !*** ./node_modules/core-js/internals/export.js ***!\n  \\**************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar global = __webpack_require__(/*! ../internals/global */ \"./node_modules/core-js/internals/global.js\");\nvar getOwnPropertyDescriptor = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ \"./node_modules/core-js/internals/object-get-own-property-descriptor.js\").f;\nvar hide = __webpack_require__(/*! ../internals/hide */ \"./node_modules/core-js/internals/hide.js\");\nvar redefine = __webpack_require__(/*! ../internals/redefine */ \"./node_modules/core-js/internals/redefine.js\");\nvar setGlobal = __webpack_require__(/*! ../internals/set-global */ \"./node_modules/core-js/internals/set-global.js\");\nvar copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ \"./node_modules/core-js/internals/copy-constructor-properties.js\");\nvar isForced = __webpack_require__(/*! ../internals/is-forced */ \"./node_modules/core-js/internals/is-forced.js\");\n\n/*\n  options.target      - name of the target object\n  options.global      - target is the global object\n  options.stat        - export as static methods of target\n  options.proto       - export as prototype methods of target\n  options.real        - real prototype method for the `pure` version\n  options.forced      - export even if the native feature is available\n  options.bind        - bind methods to the target, required for the `pure` version\n  options.wrap        - wrap constructors to preventing global pollution, required for the `pure` version\n  options.unsafe      - use the simple assignment of property instead of delete + defineProperty\n  options.sham        - add a flag to not completely full polyfills\n  options.enumerable  - export as enumerable property\n  options.noTargetGet - prevent calling a getter on target\n*/\nmodule.exports = function (options, source) {\n  var TARGET = options.target;\n  var GLOBAL = options.global;\n  var STATIC = options.stat;\n  var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n  if (GLOBAL) {\n    target = global;\n  } else if (STATIC) {\n    target = global[TARGET] || setGlobal(TARGET, {});\n  } else {\n    target = (global[TARGET] || {}).prototype;\n  }\n  if (target) for (key in source) {\n    sourceProperty = source[key];\n    if (options.noTargetGet) {\n      descriptor = getOwnPropertyDescriptor(target, key);\n      targetProperty = descriptor && descriptor.value;\n    } else targetProperty = target[key];\n    FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n    // contained in target\n    if (!FORCED && targetProperty !== undefined) {\n      if (typeof sourceProperty === typeof targetProperty) continue;\n      copyConstructorProperties(sourceProperty, targetProperty);\n    }\n    // add a flag to not completely full polyfills\n    if (options.sham || (targetProperty && targetProperty.sham)) {\n      hide(sourceProperty, 'sham', true);\n    }\n    // extend global\n    redefine(target, key, sourceProperty, options);\n  }\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/fails.js\":\n/*!*************************************************!*\\\n  !*** ./node_modules/core-js/internals/fails.js ***!\n  \\*************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = function (exec) {\n  try {\n    return !!exec();\n  } catch (error) {\n    return true;\n  }\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/freezing.js\":\n/*!****************************************************!*\\\n  !*** ./node_modules/core-js/internals/freezing.js ***!\n  \\****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar fails = __webpack_require__(/*! ../internals/fails */ \"./node_modules/core-js/internals/fails.js\");\n\nmodule.exports = !fails(function () {\n  return Object.isExtensible(Object.preventExtensions({}));\n});\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/function-to-string.js\":\n/*!**************************************************************!*\\\n  !*** ./node_modules/core-js/internals/function-to-string.js ***!\n  \\**************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar shared = __webpack_require__(/*! ../internals/shared */ \"./node_modules/core-js/internals/shared.js\");\n\nmodule.exports = shared('native-function-to-string', Function.toString);\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/get-built-in.js\":\n/*!********************************************************!*\\\n  !*** ./node_modules/core-js/internals/get-built-in.js ***!\n  \\********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar path = __webpack_require__(/*! ../internals/path */ \"./node_modules/core-js/internals/path.js\");\nvar global = __webpack_require__(/*! ../internals/global */ \"./node_modules/core-js/internals/global.js\");\n\nvar aFunction = function (variable) {\n  return typeof variable == 'function' ? variable : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n  return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace])\n    : path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method];\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/get-iterator-method.js\":\n/*!***************************************************************!*\\\n  !*** ./node_modules/core-js/internals/get-iterator-method.js ***!\n  \\***************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar classof = __webpack_require__(/*! ../internals/classof */ \"./node_modules/core-js/internals/classof.js\");\nvar Iterators = __webpack_require__(/*! ../internals/iterators */ \"./node_modules/core-js/internals/iterators.js\");\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ \"./node_modules/core-js/internals/well-known-symbol.js\");\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = function (it) {\n  if (it != undefined) return it[ITERATOR]\n    || it['@@iterator']\n    || Iterators[classof(it)];\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/global.js\":\n/*!**************************************************!*\\\n  !*** ./node_modules/core-js/internals/global.js ***!\n  \\**************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nvar O = 'object';\nvar check = function (it) {\n  return it && it.Math == Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n  // eslint-disable-next-line no-undef\n  check(typeof globalThis == O && globalThis) ||\n  check(typeof window == O && window) ||\n  check(typeof self == O && self) ||\n  check(typeof global == O && global) ||\n  // eslint-disable-next-line no-new-func\n  Function('return this')();\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/has.js\":\n/*!***********************************************!*\\\n  !*** ./node_modules/core-js/internals/has.js ***!\n  \\***********************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nvar hasOwnProperty = {}.hasOwnProperty;\n\nmodule.exports = function (it, key) {\n  return hasOwnProperty.call(it, key);\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/hidden-keys.js\":\n/*!*******************************************************!*\\\n  !*** ./node_modules/core-js/internals/hidden-keys.js ***!\n  \\*******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = {};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/hide.js\":\n/*!************************************************!*\\\n  !*** ./node_modules/core-js/internals/hide.js ***!\n  \\************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ \"./node_modules/core-js/internals/descriptors.js\");\nvar definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ \"./node_modules/core-js/internals/object-define-property.js\");\nvar createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ \"./node_modules/core-js/internals/create-property-descriptor.js\");\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n  return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n  object[key] = value;\n  return object;\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/html.js\":\n/*!************************************************!*\\\n  !*** ./node_modules/core-js/internals/html.js ***!\n  \\************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ \"./node_modules/core-js/internals/get-built-in.js\");\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/ie8-dom-define.js\":\n/*!**********************************************************!*\\\n  !*** ./node_modules/core-js/internals/ie8-dom-define.js ***!\n  \\**********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ \"./node_modules/core-js/internals/descriptors.js\");\nvar fails = __webpack_require__(/*! ../internals/fails */ \"./node_modules/core-js/internals/fails.js\");\nvar createElement = __webpack_require__(/*! ../internals/document-create-element */ \"./node_modules/core-js/internals/document-create-element.js\");\n\n// Thank's IE8 for his funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n  return Object.defineProperty(createElement('div'), 'a', {\n    get: function () { return 7; }\n  }).a != 7;\n});\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/indexed-object.js\":\n/*!**********************************************************!*\\\n  !*** ./node_modules/core-js/internals/indexed-object.js ***!\n  \\**********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar fails = __webpack_require__(/*! ../internals/fails */ \"./node_modules/core-js/internals/fails.js\");\nvar classof = __webpack_require__(/*! ../internals/classof-raw */ \"./node_modules/core-js/internals/classof-raw.js\");\n\nvar split = ''.split;\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n  // eslint-disable-next-line no-prototype-builtins\n  return !Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n  return classof(it) == 'String' ? split.call(it, '') : Object(it);\n} : Object;\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/inherit-if-required.js\":\n/*!***************************************************************!*\\\n  !*** ./node_modules/core-js/internals/inherit-if-required.js ***!\n  \\***************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar isObject = __webpack_require__(/*! ../internals/is-object */ \"./node_modules/core-js/internals/is-object.js\");\nvar setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ \"./node_modules/core-js/internals/object-set-prototype-of.js\");\n\n// makes subclassing work correct for wrapped built-ins\nmodule.exports = function ($this, dummy, Wrapper) {\n  var NewTarget, NewTargetPrototype;\n  if (\n    // it can work only with native `setPrototypeOf`\n    setPrototypeOf &&\n    // we haven't completely correct pre-ES6 way for getting `new.target`, so use this\n    typeof (NewTarget = dummy.constructor) == 'function' &&\n    NewTarget !== Wrapper &&\n    isObject(NewTargetPrototype = NewTarget.prototype) &&\n    NewTargetPrototype !== Wrapper.prototype\n  ) setPrototypeOf($this, NewTargetPrototype);\n  return $this;\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/internal-metadata.js\":\n/*!*************************************************************!*\\\n  !*** ./node_modules/core-js/internals/internal-metadata.js ***!\n  \\*************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ \"./node_modules/core-js/internals/hidden-keys.js\");\nvar isObject = __webpack_require__(/*! ../internals/is-object */ \"./node_modules/core-js/internals/is-object.js\");\nvar has = __webpack_require__(/*! ../internals/has */ \"./node_modules/core-js/internals/has.js\");\nvar defineProperty = __webpack_require__(/*! ../internals/object-define-property */ \"./node_modules/core-js/internals/object-define-property.js\").f;\nvar uid = __webpack_require__(/*! ../internals/uid */ \"./node_modules/core-js/internals/uid.js\");\nvar FREEZING = __webpack_require__(/*! ../internals/freezing */ \"./node_modules/core-js/internals/freezing.js\");\n\nvar METADATA = uid('meta');\nvar id = 0;\n\nvar isExtensible = Object.isExtensible || function () {\n  return true;\n};\n\nvar setMetadata = function (it) {\n  defineProperty(it, METADATA, { value: {\n    objectID: 'O' + ++id, // object ID\n    weakData: {}          // weak collections IDs\n  } });\n};\n\nvar fastKey = function (it, create) {\n  // return a primitive with prefix\n  if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n  if (!has(it, METADATA)) {\n    // can't set metadata to uncaught frozen object\n    if (!isExtensible(it)) return 'F';\n    // not necessary to add metadata\n    if (!create) return 'E';\n    // add missing metadata\n    setMetadata(it);\n  // return object ID\n  } return it[METADATA].objectID;\n};\n\nvar getWeakData = function (it, create) {\n  if (!has(it, METADATA)) {\n    // can't set metadata to uncaught frozen object\n    if (!isExtensible(it)) return true;\n    // not necessary to add metadata\n    if (!create) return false;\n    // add missing metadata\n    setMetadata(it);\n  // return the store of weak collections IDs\n  } return it[METADATA].weakData;\n};\n\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n  if (FREEZING && meta.REQUIRED && isExtensible(it) && !has(it, METADATA)) setMetadata(it);\n  return it;\n};\n\nvar meta = module.exports = {\n  REQUIRED: false,\n  fastKey: fastKey,\n  getWeakData: getWeakData,\n  onFreeze: onFreeze\n};\n\nhiddenKeys[METADATA] = true;\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/internal-state.js\":\n/*!**********************************************************!*\\\n  !*** ./node_modules/core-js/internals/internal-state.js ***!\n  \\**********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar NATIVE_WEAK_MAP = __webpack_require__(/*! ../internals/native-weak-map */ \"./node_modules/core-js/internals/native-weak-map.js\");\nvar global = __webpack_require__(/*! ../internals/global */ \"./node_modules/core-js/internals/global.js\");\nvar isObject = __webpack_require__(/*! ../internals/is-object */ \"./node_modules/core-js/internals/is-object.js\");\nvar hide = __webpack_require__(/*! ../internals/hide */ \"./node_modules/core-js/internals/hide.js\");\nvar objectHas = __webpack_require__(/*! ../internals/has */ \"./node_modules/core-js/internals/has.js\");\nvar sharedKey = __webpack_require__(/*! ../internals/shared-key */ \"./node_modules/core-js/internals/shared-key.js\");\nvar hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ \"./node_modules/core-js/internals/hidden-keys.js\");\n\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n  return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n  return function (it) {\n    var state;\n    if (!isObject(it) || (state = get(it)).type !== TYPE) {\n      throw TypeError('Incompatible receiver, ' + TYPE + ' required');\n    } return state;\n  };\n};\n\nif (NATIVE_WEAK_MAP) {\n  var store = new WeakMap();\n  var wmget = store.get;\n  var wmhas = store.has;\n  var wmset = store.set;\n  set = function (it, metadata) {\n    wmset.call(store, it, metadata);\n    return metadata;\n  };\n  get = function (it) {\n    return wmget.call(store, it) || {};\n  };\n  has = function (it) {\n    return wmhas.call(store, it);\n  };\n} else {\n  var STATE = sharedKey('state');\n  hiddenKeys[STATE] = true;\n  set = function (it, metadata) {\n    hide(it, STATE, metadata);\n    return metadata;\n  };\n  get = function (it) {\n    return objectHas(it, STATE) ? it[STATE] : {};\n  };\n  has = function (it) {\n    return objectHas(it, STATE);\n  };\n}\n\nmodule.exports = {\n  set: set,\n  get: get,\n  has: has,\n  enforce: enforce,\n  getterFor: getterFor\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/is-array-iterator-method.js\":\n/*!********************************************************************!*\\\n  !*** ./node_modules/core-js/internals/is-array-iterator-method.js ***!\n  \\********************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ \"./node_modules/core-js/internals/well-known-symbol.js\");\nvar Iterators = __webpack_require__(/*! ../internals/iterators */ \"./node_modules/core-js/internals/iterators.js\");\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar ArrayPrototype = Array.prototype;\n\n// check on default Array iterator\nmodule.exports = function (it) {\n  return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/is-array.js\":\n/*!****************************************************!*\\\n  !*** ./node_modules/core-js/internals/is-array.js ***!\n  \\****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar classof = __webpack_require__(/*! ../internals/classof-raw */ \"./node_modules/core-js/internals/classof-raw.js\");\n\n// `IsArray` abstract operation\n// https://tc39.github.io/ecma262/#sec-isarray\nmodule.exports = Array.isArray || function isArray(arg) {\n  return classof(arg) == 'Array';\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/is-forced.js\":\n/*!*****************************************************!*\\\n  !*** ./node_modules/core-js/internals/is-forced.js ***!\n  \\*****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar fails = __webpack_require__(/*! ../internals/fails */ \"./node_modules/core-js/internals/fails.js\");\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n  var value = data[normalize(feature)];\n  return value == POLYFILL ? true\n    : value == NATIVE ? false\n    : typeof detection == 'function' ? fails(detection)\n    : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n  return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/is-object.js\":\n/*!*****************************************************!*\\\n  !*** ./node_modules/core-js/internals/is-object.js ***!\n  \\*****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = function (it) {\n  return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/is-pure.js\":\n/*!***************************************************!*\\\n  !*** ./node_modules/core-js/internals/is-pure.js ***!\n  \\***************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = false;\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/iterate.js\":\n/*!***************************************************!*\\\n  !*** ./node_modules/core-js/internals/iterate.js ***!\n  \\***************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar anObject = __webpack_require__(/*! ../internals/an-object */ \"./node_modules/core-js/internals/an-object.js\");\nvar isArrayIteratorMethod = __webpack_require__(/*! ../internals/is-array-iterator-method */ \"./node_modules/core-js/internals/is-array-iterator-method.js\");\nvar toLength = __webpack_require__(/*! ../internals/to-length */ \"./node_modules/core-js/internals/to-length.js\");\nvar bind = __webpack_require__(/*! ../internals/bind-context */ \"./node_modules/core-js/internals/bind-context.js\");\nvar getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ \"./node_modules/core-js/internals/get-iterator-method.js\");\nvar callWithSafeIterationClosing = __webpack_require__(/*! ../internals/call-with-safe-iteration-closing */ \"./node_modules/core-js/internals/call-with-safe-iteration-closing.js\");\n\nvar Result = function (stopped, result) {\n  this.stopped = stopped;\n  this.result = result;\n};\n\nvar iterate = module.exports = function (iterable, fn, that, AS_ENTRIES, IS_ITERATOR) {\n  var boundFunction = bind(fn, that, AS_ENTRIES ? 2 : 1);\n  var iterator, iterFn, index, length, result, step;\n\n  if (IS_ITERATOR) {\n    iterator = iterable;\n  } else {\n    iterFn = getIteratorMethod(iterable);\n    if (typeof iterFn != 'function') throw TypeError('Target is not iterable');\n    // optimisation for array iterators\n    if (isArrayIteratorMethod(iterFn)) {\n      for (index = 0, length = toLength(iterable.length); length > index; index++) {\n        result = AS_ENTRIES\n          ? boundFunction(anObject(step = iterable[index])[0], step[1])\n          : boundFunction(iterable[index]);\n        if (result && result instanceof Result) return result;\n      } return new Result(false);\n    }\n    iterator = iterFn.call(iterable);\n  }\n\n  while (!(step = iterator.next()).done) {\n    result = callWithSafeIterationClosing(iterator, boundFunction, step.value, AS_ENTRIES);\n    if (result && result instanceof Result) return result;\n  } return new Result(false);\n};\n\niterate.stop = function (result) {\n  return new Result(true, result);\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/iterators-core.js\":\n/*!**********************************************************!*\\\n  !*** ./node_modules/core-js/internals/iterators-core.js ***!\n  \\**********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ \"./node_modules/core-js/internals/object-get-prototype-of.js\");\nvar hide = __webpack_require__(/*! ../internals/hide */ \"./node_modules/core-js/internals/hide.js\");\nvar has = __webpack_require__(/*! ../internals/has */ \"./node_modules/core-js/internals/has.js\");\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ \"./node_modules/core-js/internals/well-known-symbol.js\");\nvar IS_PURE = __webpack_require__(/*! ../internals/is-pure */ \"./node_modules/core-js/internals/is-pure.js\");\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar BUGGY_SAFARI_ITERATORS = false;\n\nvar returnThis = function () { return this; };\n\n// `%IteratorPrototype%` object\n// https://tc39.github.io/ecma262/#sec-%iteratorprototype%-object\nvar IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;\n\nif ([].keys) {\n  arrayIterator = [].keys();\n  // Safari 8 has buggy iterators w/o `next`\n  if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;\n  else {\n    PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));\n    if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;\n  }\n}\n\nif (IteratorPrototype == undefined) IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\nif (!IS_PURE && !has(IteratorPrototype, ITERATOR)) hide(IteratorPrototype, ITERATOR, returnThis);\n\nmodule.exports = {\n  IteratorPrototype: IteratorPrototype,\n  BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/iterators.js\":\n/*!*****************************************************!*\\\n  !*** ./node_modules/core-js/internals/iterators.js ***!\n  \\*****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = {};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/native-symbol.js\":\n/*!*********************************************************!*\\\n  !*** ./node_modules/core-js/internals/native-symbol.js ***!\n  \\*********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar fails = __webpack_require__(/*! ../internals/fails */ \"./node_modules/core-js/internals/fails.js\");\n\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n  // Chrome 38 Symbol has incorrect toString conversion\n  // eslint-disable-next-line no-undef\n  return !String(Symbol());\n});\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/native-weak-map.js\":\n/*!***********************************************************!*\\\n  !*** ./node_modules/core-js/internals/native-weak-map.js ***!\n  \\***********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar global = __webpack_require__(/*! ../internals/global */ \"./node_modules/core-js/internals/global.js\");\nvar nativeFunctionToString = __webpack_require__(/*! ../internals/function-to-string */ \"./node_modules/core-js/internals/function-to-string.js\");\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = typeof WeakMap === 'function' && /native code/.test(nativeFunctionToString.call(WeakMap));\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/object-create.js\":\n/*!*********************************************************!*\\\n  !*** ./node_modules/core-js/internals/object-create.js ***!\n  \\*********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar anObject = __webpack_require__(/*! ../internals/an-object */ \"./node_modules/core-js/internals/an-object.js\");\nvar defineProperties = __webpack_require__(/*! ../internals/object-define-properties */ \"./node_modules/core-js/internals/object-define-properties.js\");\nvar enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ \"./node_modules/core-js/internals/enum-bug-keys.js\");\nvar hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ \"./node_modules/core-js/internals/hidden-keys.js\");\nvar html = __webpack_require__(/*! ../internals/html */ \"./node_modules/core-js/internals/html.js\");\nvar documentCreateElement = __webpack_require__(/*! ../internals/document-create-element */ \"./node_modules/core-js/internals/document-create-element.js\");\nvar sharedKey = __webpack_require__(/*! ../internals/shared-key */ \"./node_modules/core-js/internals/shared-key.js\");\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar PROTOTYPE = 'prototype';\nvar Empty = function () { /* empty */ };\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar createDict = function () {\n  // Thrash, waste and sodomy: IE GC bug\n  var iframe = documentCreateElement('iframe');\n  var length = enumBugKeys.length;\n  var lt = '<';\n  var script = 'script';\n  var gt = '>';\n  var js = 'java' + script + ':';\n  var iframeDocument;\n  iframe.style.display = 'none';\n  html.appendChild(iframe);\n  iframe.src = String(js);\n  iframeDocument = iframe.contentWindow.document;\n  iframeDocument.open();\n  iframeDocument.write(lt + script + gt + 'document.F=Object' + lt + '/' + script + gt);\n  iframeDocument.close();\n  createDict = iframeDocument.F;\n  while (length--) delete createDict[PROTOTYPE][enumBugKeys[length]];\n  return createDict();\n};\n\n// `Object.create` method\n// https://tc39.github.io/ecma262/#sec-object.create\nmodule.exports = Object.create || function create(O, Properties) {\n  var result;\n  if (O !== null) {\n    Empty[PROTOTYPE] = anObject(O);\n    result = new Empty();\n    Empty[PROTOTYPE] = null;\n    // add \"__proto__\" for Object.getPrototypeOf polyfill\n    result[IE_PROTO] = O;\n  } else result = createDict();\n  return Properties === undefined ? result : defineProperties(result, Properties);\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/object-define-properties.js\":\n/*!********************************************************************!*\\\n  !*** ./node_modules/core-js/internals/object-define-properties.js ***!\n  \\********************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ \"./node_modules/core-js/internals/descriptors.js\");\nvar definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ \"./node_modules/core-js/internals/object-define-property.js\");\nvar anObject = __webpack_require__(/*! ../internals/an-object */ \"./node_modules/core-js/internals/an-object.js\");\nvar objectKeys = __webpack_require__(/*! ../internals/object-keys */ \"./node_modules/core-js/internals/object-keys.js\");\n\n// `Object.defineProperties` method\n// https://tc39.github.io/ecma262/#sec-object.defineproperties\nmodule.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) {\n  anObject(O);\n  var keys = objectKeys(Properties);\n  var length = keys.length;\n  var index = 0;\n  var key;\n  while (length > index) definePropertyModule.f(O, key = keys[index++], Properties[key]);\n  return O;\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/object-define-property.js\":\n/*!******************************************************************!*\\\n  !*** ./node_modules/core-js/internals/object-define-property.js ***!\n  \\******************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ \"./node_modules/core-js/internals/descriptors.js\");\nvar IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ \"./node_modules/core-js/internals/ie8-dom-define.js\");\nvar anObject = __webpack_require__(/*! ../internals/an-object */ \"./node_modules/core-js/internals/an-object.js\");\nvar toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ \"./node_modules/core-js/internals/to-primitive.js\");\n\nvar nativeDefineProperty = Object.defineProperty;\n\n// `Object.defineProperty` method\n// https://tc39.github.io/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? nativeDefineProperty : function defineProperty(O, P, Attributes) {\n  anObject(O);\n  P = toPrimitive(P, true);\n  anObject(Attributes);\n  if (IE8_DOM_DEFINE) try {\n    return nativeDefineProperty(O, P, Attributes);\n  } catch (error) { /* empty */ }\n  if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');\n  if ('value' in Attributes) O[P] = Attributes.value;\n  return O;\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/object-get-own-property-descriptor.js\":\n/*!******************************************************************************!*\\\n  !*** ./node_modules/core-js/internals/object-get-own-property-descriptor.js ***!\n  \\******************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ \"./node_modules/core-js/internals/descriptors.js\");\nvar propertyIsEnumerableModule = __webpack_require__(/*! ../internals/object-property-is-enumerable */ \"./node_modules/core-js/internals/object-property-is-enumerable.js\");\nvar createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ \"./node_modules/core-js/internals/create-property-descriptor.js\");\nvar toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ \"./node_modules/core-js/internals/to-indexed-object.js\");\nvar toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ \"./node_modules/core-js/internals/to-primitive.js\");\nvar has = __webpack_require__(/*! ../internals/has */ \"./node_modules/core-js/internals/has.js\");\nvar IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ \"./node_modules/core-js/internals/ie8-dom-define.js\");\n\nvar nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n  O = toIndexedObject(O);\n  P = toPrimitive(P, true);\n  if (IE8_DOM_DEFINE) try {\n    return nativeGetOwnPropertyDescriptor(O, P);\n  } catch (error) { /* empty */ }\n  if (has(O, P)) return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O, P), O[P]);\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/object-get-own-property-names.js\":\n/*!*************************************************************************!*\\\n  !*** ./node_modules/core-js/internals/object-get-own-property-names.js ***!\n  \\*************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar internalObjectKeys = __webpack_require__(/*! ../internals/object-keys-internal */ \"./node_modules/core-js/internals/object-keys-internal.js\");\nvar enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ \"./node_modules/core-js/internals/enum-bug-keys.js\");\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.github.io/ecma262/#sec-object.getownpropertynames\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n  return internalObjectKeys(O, hiddenKeys);\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/object-get-own-property-symbols.js\":\n/*!***************************************************************************!*\\\n  !*** ./node_modules/core-js/internals/object-get-own-property-symbols.js ***!\n  \\***************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nexports.f = Object.getOwnPropertySymbols;\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/object-get-prototype-of.js\":\n/*!*******************************************************************!*\\\n  !*** ./node_modules/core-js/internals/object-get-prototype-of.js ***!\n  \\*******************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar has = __webpack_require__(/*! ../internals/has */ \"./node_modules/core-js/internals/has.js\");\nvar toObject = __webpack_require__(/*! ../internals/to-object */ \"./node_modules/core-js/internals/to-object.js\");\nvar sharedKey = __webpack_require__(/*! ../internals/shared-key */ \"./node_modules/core-js/internals/shared-key.js\");\nvar CORRECT_PROTOTYPE_GETTER = __webpack_require__(/*! ../internals/correct-prototype-getter */ \"./node_modules/core-js/internals/correct-prototype-getter.js\");\n\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar ObjectPrototype = Object.prototype;\n\n// `Object.getPrototypeOf` method\n// https://tc39.github.io/ecma262/#sec-object.getprototypeof\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) {\n  O = toObject(O);\n  if (has(O, IE_PROTO)) return O[IE_PROTO];\n  if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n    return O.constructor.prototype;\n  } return O instanceof Object ? ObjectPrototype : null;\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/object-keys-internal.js\":\n/*!****************************************************************!*\\\n  !*** ./node_modules/core-js/internals/object-keys-internal.js ***!\n  \\****************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar has = __webpack_require__(/*! ../internals/has */ \"./node_modules/core-js/internals/has.js\");\nvar toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ \"./node_modules/core-js/internals/to-indexed-object.js\");\nvar indexOf = __webpack_require__(/*! ../internals/array-includes */ \"./node_modules/core-js/internals/array-includes.js\").indexOf;\nvar hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ \"./node_modules/core-js/internals/hidden-keys.js\");\n\nmodule.exports = function (object, names) {\n  var O = toIndexedObject(object);\n  var i = 0;\n  var result = [];\n  var key;\n  for (key in O) !has(hiddenKeys, key) && has(O, key) && result.push(key);\n  // Don't enum bug & hidden keys\n  while (names.length > i) if (has(O, key = names[i++])) {\n    ~indexOf(result, key) || result.push(key);\n  }\n  return result;\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/object-keys.js\":\n/*!*******************************************************!*\\\n  !*** ./node_modules/core-js/internals/object-keys.js ***!\n  \\*******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar internalObjectKeys = __webpack_require__(/*! ../internals/object-keys-internal */ \"./node_modules/core-js/internals/object-keys-internal.js\");\nvar enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ \"./node_modules/core-js/internals/enum-bug-keys.js\");\n\n// `Object.keys` method\n// https://tc39.github.io/ecma262/#sec-object.keys\nmodule.exports = Object.keys || function keys(O) {\n  return internalObjectKeys(O, enumBugKeys);\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/object-property-is-enumerable.js\":\n/*!*************************************************************************!*\\\n  !*** ./node_modules/core-js/internals/object-property-is-enumerable.js ***!\n  \\*************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar nativePropertyIsEnumerable = {}.propertyIsEnumerable;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !nativePropertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.github.io/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n  var descriptor = getOwnPropertyDescriptor(this, V);\n  return !!descriptor && descriptor.enumerable;\n} : nativePropertyIsEnumerable;\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/object-set-prototype-of.js\":\n/*!*******************************************************************!*\\\n  !*** ./node_modules/core-js/internals/object-set-prototype-of.js ***!\n  \\*******************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar anObject = __webpack_require__(/*! ../internals/an-object */ \"./node_modules/core-js/internals/an-object.js\");\nvar aPossiblePrototype = __webpack_require__(/*! ../internals/a-possible-prototype */ \"./node_modules/core-js/internals/a-possible-prototype.js\");\n\n// `Object.setPrototypeOf` method\n// https://tc39.github.io/ecma262/#sec-object.setprototypeof\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nmodule.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {\n  var CORRECT_SETTER = false;\n  var test = {};\n  var setter;\n  try {\n    setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set;\n    setter.call(test, []);\n    CORRECT_SETTER = test instanceof Array;\n  } catch (error) { /* empty */ }\n  return function setPrototypeOf(O, proto) {\n    anObject(O);\n    aPossiblePrototype(proto);\n    if (CORRECT_SETTER) setter.call(O, proto);\n    else O.__proto__ = proto;\n    return O;\n  };\n}() : undefined);\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/own-keys.js\":\n/*!****************************************************!*\\\n  !*** ./node_modules/core-js/internals/own-keys.js ***!\n  \\****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ \"./node_modules/core-js/internals/get-built-in.js\");\nvar getOwnPropertyNamesModule = __webpack_require__(/*! ../internals/object-get-own-property-names */ \"./node_modules/core-js/internals/object-get-own-property-names.js\");\nvar getOwnPropertySymbolsModule = __webpack_require__(/*! ../internals/object-get-own-property-symbols */ \"./node_modules/core-js/internals/object-get-own-property-symbols.js\");\nvar anObject = __webpack_require__(/*! ../internals/an-object */ \"./node_modules/core-js/internals/an-object.js\");\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n  var keys = getOwnPropertyNamesModule.f(anObject(it));\n  var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n  return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/path.js\":\n/*!************************************************!*\\\n  !*** ./node_modules/core-js/internals/path.js ***!\n  \\************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = __webpack_require__(/*! ../internals/global */ \"./node_modules/core-js/internals/global.js\");\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/redefine-all.js\":\n/*!********************************************************!*\\\n  !*** ./node_modules/core-js/internals/redefine-all.js ***!\n  \\********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar redefine = __webpack_require__(/*! ../internals/redefine */ \"./node_modules/core-js/internals/redefine.js\");\n\nmodule.exports = function (target, src, options) {\n  for (var key in src) redefine(target, key, src[key], options);\n  return target;\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/redefine.js\":\n/*!****************************************************!*\\\n  !*** ./node_modules/core-js/internals/redefine.js ***!\n  \\****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar global = __webpack_require__(/*! ../internals/global */ \"./node_modules/core-js/internals/global.js\");\nvar shared = __webpack_require__(/*! ../internals/shared */ \"./node_modules/core-js/internals/shared.js\");\nvar hide = __webpack_require__(/*! ../internals/hide */ \"./node_modules/core-js/internals/hide.js\");\nvar has = __webpack_require__(/*! ../internals/has */ \"./node_modules/core-js/internals/has.js\");\nvar setGlobal = __webpack_require__(/*! ../internals/set-global */ \"./node_modules/core-js/internals/set-global.js\");\nvar nativeFunctionToString = __webpack_require__(/*! ../internals/function-to-string */ \"./node_modules/core-js/internals/function-to-string.js\");\nvar InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ \"./node_modules/core-js/internals/internal-state.js\");\n\nvar getInternalState = InternalStateModule.get;\nvar enforceInternalState = InternalStateModule.enforce;\nvar TEMPLATE = String(nativeFunctionToString).split('toString');\n\nshared('inspectSource', function (it) {\n  return nativeFunctionToString.call(it);\n});\n\n(module.exports = function (O, key, value, options) {\n  var unsafe = options ? !!options.unsafe : false;\n  var simple = options ? !!options.enumerable : false;\n  var noTargetGet = options ? !!options.noTargetGet : false;\n  if (typeof value == 'function') {\n    if (typeof key == 'string' && !has(value, 'name')) hide(value, 'name', key);\n    enforceInternalState(value).source = TEMPLATE.join(typeof key == 'string' ? key : '');\n  }\n  if (O === global) {\n    if (simple) O[key] = value;\n    else setGlobal(key, value);\n    return;\n  } else if (!unsafe) {\n    delete O[key];\n  } else if (!noTargetGet && O[key]) {\n    simple = true;\n  }\n  if (simple) O[key] = value;\n  else hide(O, key, value);\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, 'toString', function toString() {\n  return typeof this == 'function' && getInternalState(this).source || nativeFunctionToString.call(this);\n});\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/reflect-metadata.js\":\n/*!************************************************************!*\\\n  !*** ./node_modules/core-js/internals/reflect-metadata.js ***!\n  \\************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`\nvar Map = __webpack_require__(/*! ../modules/es.map */ \"./node_modules/core-js/modules/es.map.js\");\nvar WeakMap = __webpack_require__(/*! ../modules/es.weak-map */ \"./node_modules/core-js/modules/es.weak-map.js\");\nvar shared = __webpack_require__(/*! ../internals/shared */ \"./node_modules/core-js/internals/shared.js\");\n\nvar metadata = shared('metadata');\nvar store = metadata.store || (metadata.store = new WeakMap());\n\nvar getOrCreateMetadataMap = function (target, targetKey, create) {\n  var targetMetadata = store.get(target);\n  if (!targetMetadata) {\n    if (!create) return;\n    store.set(target, targetMetadata = new Map());\n  }\n  var keyMetadata = targetMetadata.get(targetKey);\n  if (!keyMetadata) {\n    if (!create) return;\n    targetMetadata.set(targetKey, keyMetadata = new Map());\n  } return keyMetadata;\n};\n\nvar ordinaryHasOwnMetadata = function (MetadataKey, O, P) {\n  var metadataMap = getOrCreateMetadataMap(O, P, false);\n  return metadataMap === undefined ? false : metadataMap.has(MetadataKey);\n};\n\nvar ordinaryGetOwnMetadata = function (MetadataKey, O, P) {\n  var metadataMap = getOrCreateMetadataMap(O, P, false);\n  return metadataMap === undefined ? undefined : metadataMap.get(MetadataKey);\n};\n\nvar ordinaryDefineOwnMetadata = function (MetadataKey, MetadataValue, O, P) {\n  getOrCreateMetadataMap(O, P, true).set(MetadataKey, MetadataValue);\n};\n\nvar ordinaryOwnMetadataKeys = function (target, targetKey) {\n  var metadataMap = getOrCreateMetadataMap(target, targetKey, false);\n  var keys = [];\n  if (metadataMap) metadataMap.forEach(function (_, key) { keys.push(key); });\n  return keys;\n};\n\nvar toMetadataKey = function (it) {\n  return it === undefined || typeof it == 'symbol' ? it : String(it);\n};\n\nmodule.exports = {\n  store: store,\n  getMap: getOrCreateMetadataMap,\n  has: ordinaryHasOwnMetadata,\n  get: ordinaryGetOwnMetadata,\n  set: ordinaryDefineOwnMetadata,\n  keys: ordinaryOwnMetadataKeys,\n  toKey: toMetadataKey\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/require-object-coercible.js\":\n/*!********************************************************************!*\\\n  !*** ./node_modules/core-js/internals/require-object-coercible.js ***!\n  \\********************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.github.io/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n  if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n  return it;\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/set-global.js\":\n/*!******************************************************!*\\\n  !*** ./node_modules/core-js/internals/set-global.js ***!\n  \\******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar global = __webpack_require__(/*! ../internals/global */ \"./node_modules/core-js/internals/global.js\");\nvar hide = __webpack_require__(/*! ../internals/hide */ \"./node_modules/core-js/internals/hide.js\");\n\nmodule.exports = function (key, value) {\n  try {\n    hide(global, key, value);\n  } catch (error) {\n    global[key] = value;\n  } return value;\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/set-species.js\":\n/*!*******************************************************!*\\\n  !*** ./node_modules/core-js/internals/set-species.js ***!\n  \\*******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ \"./node_modules/core-js/internals/get-built-in.js\");\nvar definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ \"./node_modules/core-js/internals/object-define-property.js\");\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ \"./node_modules/core-js/internals/well-known-symbol.js\");\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ \"./node_modules/core-js/internals/descriptors.js\");\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (CONSTRUCTOR_NAME) {\n  var Constructor = getBuiltIn(CONSTRUCTOR_NAME);\n  var defineProperty = definePropertyModule.f;\n\n  if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) {\n    defineProperty(Constructor, SPECIES, {\n      configurable: true,\n      get: function () { return this; }\n    });\n  }\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/set-to-string-tag.js\":\n/*!*************************************************************!*\\\n  !*** ./node_modules/core-js/internals/set-to-string-tag.js ***!\n  \\*************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar defineProperty = __webpack_require__(/*! ../internals/object-define-property */ \"./node_modules/core-js/internals/object-define-property.js\").f;\nvar has = __webpack_require__(/*! ../internals/has */ \"./node_modules/core-js/internals/has.js\");\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ \"./node_modules/core-js/internals/well-known-symbol.js\");\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nmodule.exports = function (it, TAG, STATIC) {\n  if (it && !has(it = STATIC ? it : it.prototype, TO_STRING_TAG)) {\n    defineProperty(it, TO_STRING_TAG, { configurable: true, value: TAG });\n  }\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/shared-key.js\":\n/*!******************************************************!*\\\n  !*** ./node_modules/core-js/internals/shared-key.js ***!\n  \\******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar shared = __webpack_require__(/*! ../internals/shared */ \"./node_modules/core-js/internals/shared.js\");\nvar uid = __webpack_require__(/*! ../internals/uid */ \"./node_modules/core-js/internals/uid.js\");\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n  return keys[key] || (keys[key] = uid(key));\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/shared.js\":\n/*!**************************************************!*\\\n  !*** ./node_modules/core-js/internals/shared.js ***!\n  \\**************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar global = __webpack_require__(/*! ../internals/global */ \"./node_modules/core-js/internals/global.js\");\nvar setGlobal = __webpack_require__(/*! ../internals/set-global */ \"./node_modules/core-js/internals/set-global.js\");\nvar IS_PURE = __webpack_require__(/*! ../internals/is-pure */ \"./node_modules/core-js/internals/is-pure.js\");\n\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || setGlobal(SHARED, {});\n\n(module.exports = function (key, value) {\n  return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n  version: '3.2.1',\n  mode: IS_PURE ? 'pure' : 'global',\n  copyright: '© 2019 Denis Pushkarev (zloirock.ru)'\n});\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/to-absolute-index.js\":\n/*!*************************************************************!*\\\n  !*** ./node_modules/core-js/internals/to-absolute-index.js ***!\n  \\*************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar toInteger = __webpack_require__(/*! ../internals/to-integer */ \"./node_modules/core-js/internals/to-integer.js\");\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(length, length).\nmodule.exports = function (index, length) {\n  var integer = toInteger(index);\n  return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/to-indexed-object.js\":\n/*!*************************************************************!*\\\n  !*** ./node_modules/core-js/internals/to-indexed-object.js ***!\n  \\*************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ \"./node_modules/core-js/internals/indexed-object.js\");\nvar requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ \"./node_modules/core-js/internals/require-object-coercible.js\");\n\nmodule.exports = function (it) {\n  return IndexedObject(requireObjectCoercible(it));\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/to-integer.js\":\n/*!******************************************************!*\\\n  !*** ./node_modules/core-js/internals/to-integer.js ***!\n  \\******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nvar ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `ToInteger` abstract operation\n// https://tc39.github.io/ecma262/#sec-tointeger\nmodule.exports = function (argument) {\n  return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/to-length.js\":\n/*!*****************************************************!*\\\n  !*** ./node_modules/core-js/internals/to-length.js ***!\n  \\*****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar toInteger = __webpack_require__(/*! ../internals/to-integer */ \"./node_modules/core-js/internals/to-integer.js\");\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.github.io/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n  return argument > 0 ? min(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/to-object.js\":\n/*!*****************************************************!*\\\n  !*** ./node_modules/core-js/internals/to-object.js ***!\n  \\*****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ \"./node_modules/core-js/internals/require-object-coercible.js\");\n\n// `ToObject` abstract operation\n// https://tc39.github.io/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n  return Object(requireObjectCoercible(argument));\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/to-primitive.js\":\n/*!********************************************************!*\\\n  !*** ./node_modules/core-js/internals/to-primitive.js ***!\n  \\********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar isObject = __webpack_require__(/*! ../internals/is-object */ \"./node_modules/core-js/internals/is-object.js\");\n\n// `ToPrimitive` abstract operation\n// https://tc39.github.io/ecma262/#sec-toprimitive\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (input, PREFERRED_STRING) {\n  if (!isObject(input)) return input;\n  var fn, val;\n  if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;\n  if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val;\n  if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;\n  throw TypeError(\"Can't convert object to primitive value\");\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/uid.js\":\n/*!***********************************************!*\\\n  !*** ./node_modules/core-js/internals/uid.js ***!\n  \\***********************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nvar id = 0;\nvar postfix = Math.random();\n\nmodule.exports = function (key) {\n  return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/well-known-symbol.js\":\n/*!*************************************************************!*\\\n  !*** ./node_modules/core-js/internals/well-known-symbol.js ***!\n  \\*************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar global = __webpack_require__(/*! ../internals/global */ \"./node_modules/core-js/internals/global.js\");\nvar shared = __webpack_require__(/*! ../internals/shared */ \"./node_modules/core-js/internals/shared.js\");\nvar uid = __webpack_require__(/*! ../internals/uid */ \"./node_modules/core-js/internals/uid.js\");\nvar NATIVE_SYMBOL = __webpack_require__(/*! ../internals/native-symbol */ \"./node_modules/core-js/internals/native-symbol.js\");\n\nvar Symbol = global.Symbol;\nvar store = shared('wks');\n\nmodule.exports = function (name) {\n  return store[name] || (store[name] = NATIVE_SYMBOL && Symbol[name]\n    || (NATIVE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/modules/es.map.js\":\n/*!************************************************!*\\\n  !*** ./node_modules/core-js/modules/es.map.js ***!\n  \\************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar collection = __webpack_require__(/*! ../internals/collection */ \"./node_modules/core-js/internals/collection.js\");\nvar collectionStrong = __webpack_require__(/*! ../internals/collection-strong */ \"./node_modules/core-js/internals/collection-strong.js\");\n\n// `Map` constructor\n// https://tc39.github.io/ecma262/#sec-map-objects\nmodule.exports = collection('Map', function (get) {\n  return function Map() { return get(this, arguments.length ? arguments[0] : undefined); };\n}, collectionStrong, true);\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/modules/es.set.js\":\n/*!************************************************!*\\\n  !*** ./node_modules/core-js/modules/es.set.js ***!\n  \\************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar collection = __webpack_require__(/*! ../internals/collection */ \"./node_modules/core-js/internals/collection.js\");\nvar collectionStrong = __webpack_require__(/*! ../internals/collection-strong */ \"./node_modules/core-js/internals/collection-strong.js\");\n\n// `Set` constructor\n// https://tc39.github.io/ecma262/#sec-set-objects\nmodule.exports = collection('Set', function (get) {\n  return function Set() { return get(this, arguments.length ? arguments[0] : undefined); };\n}, collectionStrong);\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/modules/es.weak-map.js\":\n/*!*****************************************************!*\\\n  !*** ./node_modules/core-js/modules/es.weak-map.js ***!\n  \\*****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar global = __webpack_require__(/*! ../internals/global */ \"./node_modules/core-js/internals/global.js\");\nvar redefineAll = __webpack_require__(/*! ../internals/redefine-all */ \"./node_modules/core-js/internals/redefine-all.js\");\nvar InternalMetadataModule = __webpack_require__(/*! ../internals/internal-metadata */ \"./node_modules/core-js/internals/internal-metadata.js\");\nvar collection = __webpack_require__(/*! ../internals/collection */ \"./node_modules/core-js/internals/collection.js\");\nvar collectionWeak = __webpack_require__(/*! ../internals/collection-weak */ \"./node_modules/core-js/internals/collection-weak.js\");\nvar isObject = __webpack_require__(/*! ../internals/is-object */ \"./node_modules/core-js/internals/is-object.js\");\nvar enforceIternalState = __webpack_require__(/*! ../internals/internal-state */ \"./node_modules/core-js/internals/internal-state.js\").enforce;\nvar NATIVE_WEAK_MAP = __webpack_require__(/*! ../internals/native-weak-map */ \"./node_modules/core-js/internals/native-weak-map.js\");\n\nvar IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global;\nvar isExtensible = Object.isExtensible;\nvar InternalWeakMap;\n\nvar wrapper = function (get) {\n  return function WeakMap() {\n    return get(this, arguments.length ? arguments[0] : undefined);\n  };\n};\n\n// `WeakMap` constructor\n// https://tc39.github.io/ecma262/#sec-weakmap-constructor\nvar $WeakMap = module.exports = collection('WeakMap', wrapper, collectionWeak, true, true);\n\n// IE11 WeakMap frozen keys fix\n// We can't use feature detection because it crash some old IE builds\n// https://github.com/zloirock/core-js/issues/485\nif (NATIVE_WEAK_MAP && IS_IE11) {\n  InternalWeakMap = collectionWeak.getConstructor(wrapper, 'WeakMap', true);\n  InternalMetadataModule.REQUIRED = true;\n  var WeakMapPrototype = $WeakMap.prototype;\n  var nativeDelete = WeakMapPrototype['delete'];\n  var nativeHas = WeakMapPrototype.has;\n  var nativeGet = WeakMapPrototype.get;\n  var nativeSet = WeakMapPrototype.set;\n  redefineAll(WeakMapPrototype, {\n    'delete': function (key) {\n      if (isObject(key) && !isExtensible(key)) {\n        var state = enforceIternalState(this);\n        if (!state.frozen) state.frozen = new InternalWeakMap();\n        return nativeDelete.call(this, key) || state.frozen['delete'](key);\n      } return nativeDelete.call(this, key);\n    },\n    has: function has(key) {\n      if (isObject(key) && !isExtensible(key)) {\n        var state = enforceIternalState(this);\n        if (!state.frozen) state.frozen = new InternalWeakMap();\n        return nativeHas.call(this, key) || state.frozen.has(key);\n      } return nativeHas.call(this, key);\n    },\n    get: function get(key) {\n      if (isObject(key) && !isExtensible(key)) {\n        var state = enforceIternalState(this);\n        if (!state.frozen) state.frozen = new InternalWeakMap();\n        return nativeHas.call(this, key) ? nativeGet.call(this, key) : state.frozen.get(key);\n      } return nativeGet.call(this, key);\n    },\n    set: function set(key, value) {\n      if (isObject(key) && !isExtensible(key)) {\n        var state = enforceIternalState(this);\n        if (!state.frozen) state.frozen = new InternalWeakMap();\n        nativeHas.call(this, key) ? nativeSet.call(this, key, value) : state.frozen.set(key, value);\n      } else nativeSet.call(this, key, value);\n      return this;\n    }\n  });\n}\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/modules/esnext.reflect.define-metadata.js\":\n/*!************************************************************************!*\\\n  !*** ./node_modules/core-js/modules/esnext.reflect.define-metadata.js ***!\n  \\************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar $ = __webpack_require__(/*! ../internals/export */ \"./node_modules/core-js/internals/export.js\");\nvar ReflectMetadataModule = __webpack_require__(/*! ../internals/reflect-metadata */ \"./node_modules/core-js/internals/reflect-metadata.js\");\nvar anObject = __webpack_require__(/*! ../internals/an-object */ \"./node_modules/core-js/internals/an-object.js\");\n\nvar toMetadataKey = ReflectMetadataModule.toKey;\nvar ordinaryDefineOwnMetadata = ReflectMetadataModule.set;\n\n// `Reflect.defineMetadata` method\n// https://github.com/rbuckton/reflect-metadata\n$({ target: 'Reflect', stat: true }, {\n  defineMetadata: function defineMetadata(metadataKey, metadataValue, target /* , targetKey */) {\n    var targetKey = arguments.length < 4 ? undefined : toMetadataKey(arguments[3]);\n    ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), targetKey);\n  }\n});\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/modules/esnext.reflect.delete-metadata.js\":\n/*!************************************************************************!*\\\n  !*** ./node_modules/core-js/modules/esnext.reflect.delete-metadata.js ***!\n  \\************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar $ = __webpack_require__(/*! ../internals/export */ \"./node_modules/core-js/internals/export.js\");\nvar ReflectMetadataModule = __webpack_require__(/*! ../internals/reflect-metadata */ \"./node_modules/core-js/internals/reflect-metadata.js\");\nvar anObject = __webpack_require__(/*! ../internals/an-object */ \"./node_modules/core-js/internals/an-object.js\");\n\nvar toMetadataKey = ReflectMetadataModule.toKey;\nvar getOrCreateMetadataMap = ReflectMetadataModule.getMap;\nvar store = ReflectMetadataModule.store;\n\n// `Reflect.deleteMetadata` method\n// https://github.com/rbuckton/reflect-metadata\n$({ target: 'Reflect', stat: true }, {\n  deleteMetadata: function deleteMetadata(metadataKey, target /* , targetKey */) {\n    var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]);\n    var metadataMap = getOrCreateMetadataMap(anObject(target), targetKey, false);\n    if (metadataMap === undefined || !metadataMap['delete'](metadataKey)) return false;\n    if (metadataMap.size) return true;\n    var targetMetadata = store.get(target);\n    targetMetadata['delete'](targetKey);\n    return !!targetMetadata.size || store['delete'](target);\n  }\n});\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/modules/esnext.reflect.get-metadata-keys.js\":\n/*!**************************************************************************!*\\\n  !*** ./node_modules/core-js/modules/esnext.reflect.get-metadata-keys.js ***!\n  \\**************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar $ = __webpack_require__(/*! ../internals/export */ \"./node_modules/core-js/internals/export.js\");\n// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`\nvar Set = __webpack_require__(/*! ../modules/es.set */ \"./node_modules/core-js/modules/es.set.js\");\nvar ReflectMetadataModule = __webpack_require__(/*! ../internals/reflect-metadata */ \"./node_modules/core-js/internals/reflect-metadata.js\");\nvar anObject = __webpack_require__(/*! ../internals/an-object */ \"./node_modules/core-js/internals/an-object.js\");\nvar getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ \"./node_modules/core-js/internals/object-get-prototype-of.js\");\nvar iterate = __webpack_require__(/*! ../internals/iterate */ \"./node_modules/core-js/internals/iterate.js\");\n\nvar ordinaryOwnMetadataKeys = ReflectMetadataModule.keys;\nvar toMetadataKey = ReflectMetadataModule.toKey;\n\nvar from = function (iter) {\n  var result = [];\n  iterate(iter, result.push, result);\n  return result;\n};\n\nvar ordinaryMetadataKeys = function (O, P) {\n  var oKeys = ordinaryOwnMetadataKeys(O, P);\n  var parent = getPrototypeOf(O);\n  if (parent === null) return oKeys;\n  var pKeys = ordinaryMetadataKeys(parent, P);\n  return pKeys.length ? oKeys.length ? from(new Set(oKeys.concat(pKeys))) : pKeys : oKeys;\n};\n\n// `Reflect.getMetadataKeys` method\n// https://github.com/rbuckton/reflect-metadata\n$({ target: 'Reflect', stat: true }, {\n  getMetadataKeys: function getMetadataKeys(target /* , targetKey */) {\n    var targetKey = arguments.length < 2 ? undefined : toMetadataKey(arguments[1]);\n    return ordinaryMetadataKeys(anObject(target), targetKey);\n  }\n});\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/modules/esnext.reflect.get-metadata.js\":\n/*!*********************************************************************!*\\\n  !*** ./node_modules/core-js/modules/esnext.reflect.get-metadata.js ***!\n  \\*********************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar $ = __webpack_require__(/*! ../internals/export */ \"./node_modules/core-js/internals/export.js\");\nvar ReflectMetadataModule = __webpack_require__(/*! ../internals/reflect-metadata */ \"./node_modules/core-js/internals/reflect-metadata.js\");\nvar anObject = __webpack_require__(/*! ../internals/an-object */ \"./node_modules/core-js/internals/an-object.js\");\nvar getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ \"./node_modules/core-js/internals/object-get-prototype-of.js\");\n\nvar ordinaryHasOwnMetadata = ReflectMetadataModule.has;\nvar ordinaryGetOwnMetadata = ReflectMetadataModule.get;\nvar toMetadataKey = ReflectMetadataModule.toKey;\n\nvar ordinaryGetMetadata = function (MetadataKey, O, P) {\n  var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P);\n  if (hasOwn) return ordinaryGetOwnMetadata(MetadataKey, O, P);\n  var parent = getPrototypeOf(O);\n  return parent !== null ? ordinaryGetMetadata(MetadataKey, parent, P) : undefined;\n};\n\n// `Reflect.getMetadata` method\n// https://github.com/rbuckton/reflect-metadata\n$({ target: 'Reflect', stat: true }, {\n  getMetadata: function getMetadata(metadataKey, target /* , targetKey */) {\n    var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]);\n    return ordinaryGetMetadata(metadataKey, anObject(target), targetKey);\n  }\n});\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/modules/esnext.reflect.get-own-metadata-keys.js\":\n/*!******************************************************************************!*\\\n  !*** ./node_modules/core-js/modules/esnext.reflect.get-own-metadata-keys.js ***!\n  \\******************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar $ = __webpack_require__(/*! ../internals/export */ \"./node_modules/core-js/internals/export.js\");\nvar ReflectMetadataModule = __webpack_require__(/*! ../internals/reflect-metadata */ \"./node_modules/core-js/internals/reflect-metadata.js\");\nvar anObject = __webpack_require__(/*! ../internals/an-object */ \"./node_modules/core-js/internals/an-object.js\");\n\nvar ordinaryOwnMetadataKeys = ReflectMetadataModule.keys;\nvar toMetadataKey = ReflectMetadataModule.toKey;\n\n// `Reflect.getOwnMetadataKeys` method\n// https://github.com/rbuckton/reflect-metadata\n$({ target: 'Reflect', stat: true }, {\n  getOwnMetadataKeys: function getOwnMetadataKeys(target /* , targetKey */) {\n    var targetKey = arguments.length < 2 ? undefined : toMetadataKey(arguments[1]);\n    return ordinaryOwnMetadataKeys(anObject(target), targetKey);\n  }\n});\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/modules/esnext.reflect.get-own-metadata.js\":\n/*!*************************************************************************!*\\\n  !*** ./node_modules/core-js/modules/esnext.reflect.get-own-metadata.js ***!\n  \\*************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar $ = __webpack_require__(/*! ../internals/export */ \"./node_modules/core-js/internals/export.js\");\nvar ReflectMetadataModule = __webpack_require__(/*! ../internals/reflect-metadata */ \"./node_modules/core-js/internals/reflect-metadata.js\");\nvar anObject = __webpack_require__(/*! ../internals/an-object */ \"./node_modules/core-js/internals/an-object.js\");\n\nvar ordinaryGetOwnMetadata = ReflectMetadataModule.get;\nvar toMetadataKey = ReflectMetadataModule.toKey;\n\n// `Reflect.getOwnMetadata` method\n// https://github.com/rbuckton/reflect-metadata\n$({ target: 'Reflect', stat: true }, {\n  getOwnMetadata: function getOwnMetadata(metadataKey, target /* , targetKey */) {\n    var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]);\n    return ordinaryGetOwnMetadata(metadataKey, anObject(target), targetKey);\n  }\n});\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/modules/esnext.reflect.has-metadata.js\":\n/*!*********************************************************************!*\\\n  !*** ./node_modules/core-js/modules/esnext.reflect.has-metadata.js ***!\n  \\*********************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar $ = __webpack_require__(/*! ../internals/export */ \"./node_modules/core-js/internals/export.js\");\nvar ReflectMetadataModule = __webpack_require__(/*! ../internals/reflect-metadata */ \"./node_modules/core-js/internals/reflect-metadata.js\");\nvar anObject = __webpack_require__(/*! ../internals/an-object */ \"./node_modules/core-js/internals/an-object.js\");\nvar getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ \"./node_modules/core-js/internals/object-get-prototype-of.js\");\n\nvar ordinaryHasOwnMetadata = ReflectMetadataModule.has;\nvar toMetadataKey = ReflectMetadataModule.toKey;\n\nvar ordinaryHasMetadata = function (MetadataKey, O, P) {\n  var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P);\n  if (hasOwn) return true;\n  var parent = getPrototypeOf(O);\n  return parent !== null ? ordinaryHasMetadata(MetadataKey, parent, P) : false;\n};\n\n// `Reflect.hasMetadata` method\n// https://github.com/rbuckton/reflect-metadata\n$({ target: 'Reflect', stat: true }, {\n  hasMetadata: function hasMetadata(metadataKey, target /* , targetKey */) {\n    var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]);\n    return ordinaryHasMetadata(metadataKey, anObject(target), targetKey);\n  }\n});\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/modules/esnext.reflect.has-own-metadata.js\":\n/*!*************************************************************************!*\\\n  !*** ./node_modules/core-js/modules/esnext.reflect.has-own-metadata.js ***!\n  \\*************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar $ = __webpack_require__(/*! ../internals/export */ \"./node_modules/core-js/internals/export.js\");\nvar ReflectMetadataModule = __webpack_require__(/*! ../internals/reflect-metadata */ \"./node_modules/core-js/internals/reflect-metadata.js\");\nvar anObject = __webpack_require__(/*! ../internals/an-object */ \"./node_modules/core-js/internals/an-object.js\");\n\nvar ordinaryHasOwnMetadata = ReflectMetadataModule.has;\nvar toMetadataKey = ReflectMetadataModule.toKey;\n\n// `Reflect.hasOwnMetadata` method\n// https://github.com/rbuckton/reflect-metadata\n$({ target: 'Reflect', stat: true }, {\n  hasOwnMetadata: function hasOwnMetadata(metadataKey, target /* , targetKey */) {\n    var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]);\n    return ordinaryHasOwnMetadata(metadataKey, anObject(target), targetKey);\n  }\n});\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/modules/esnext.reflect.metadata.js\":\n/*!*****************************************************************!*\\\n  !*** ./node_modules/core-js/modules/esnext.reflect.metadata.js ***!\n  \\*****************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar $ = __webpack_require__(/*! ../internals/export */ \"./node_modules/core-js/internals/export.js\");\nvar ReflectMetadataModule = __webpack_require__(/*! ../internals/reflect-metadata */ \"./node_modules/core-js/internals/reflect-metadata.js\");\nvar anObject = __webpack_require__(/*! ../internals/an-object */ \"./node_modules/core-js/internals/an-object.js\");\n\nvar toMetadataKey = ReflectMetadataModule.toKey;\nvar ordinaryDefineOwnMetadata = ReflectMetadataModule.set;\n\n// `Reflect.metadata` method\n// https://github.com/rbuckton/reflect-metadata\n$({ target: 'Reflect', stat: true }, {\n  metadata: function metadata(metadataKey, metadataValue) {\n    return function decorator(target, key) {\n      ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), toMetadataKey(key));\n    };\n  }\n});\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/proposals/reflect-metadata.js\":\n/*!************************************************************!*\\\n  !*** ./node_modules/core-js/proposals/reflect-metadata.js ***!\n  \\************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(/*! ../modules/esnext.reflect.define-metadata */ \"./node_modules/core-js/modules/esnext.reflect.define-metadata.js\");\n__webpack_require__(/*! ../modules/esnext.reflect.delete-metadata */ \"./node_modules/core-js/modules/esnext.reflect.delete-metadata.js\");\n__webpack_require__(/*! ../modules/esnext.reflect.get-metadata */ \"./node_modules/core-js/modules/esnext.reflect.get-metadata.js\");\n__webpack_require__(/*! ../modules/esnext.reflect.get-metadata-keys */ \"./node_modules/core-js/modules/esnext.reflect.get-metadata-keys.js\");\n__webpack_require__(/*! ../modules/esnext.reflect.get-own-metadata */ \"./node_modules/core-js/modules/esnext.reflect.get-own-metadata.js\");\n__webpack_require__(/*! ../modules/esnext.reflect.get-own-metadata-keys */ \"./node_modules/core-js/modules/esnext.reflect.get-own-metadata-keys.js\");\n__webpack_require__(/*! ../modules/esnext.reflect.has-metadata */ \"./node_modules/core-js/modules/esnext.reflect.has-metadata.js\");\n__webpack_require__(/*! ../modules/esnext.reflect.has-own-metadata */ \"./node_modules/core-js/modules/esnext.reflect.has-own-metadata.js\");\n__webpack_require__(/*! ../modules/esnext.reflect.metadata */ \"./node_modules/core-js/modules/esnext.reflect.metadata.js\");\n\n\n/***/ }),\n\n/***/ \"./node_modules/tslib/tslib.es6.js\":\n/*!*****************************************!*\\\n  !*** ./node_modules/tslib/tslib.es6.js ***!\n  \\*****************************************/\n/*! exports provided: __extends, __assign, __rest, __decorate, __param, __metadata, __awaiter, __generator, __exportStar, __values, __read, __spread, __spreadArrays, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__extends\", function() { return __extends; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__assign\", function() { return __assign; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__rest\", function() { return __rest; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__decorate\", function() { return __decorate; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__param\", function() { return __param; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__metadata\", function() { return __metadata; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__awaiter\", function() { return __awaiter; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__generator\", function() { return __generator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__exportStar\", function() { return __exportStar; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__values\", function() { return __values; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__read\", function() { return __read; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__spread\", function() { return __spread; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__spreadArrays\", function() { return __spreadArrays; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__await\", function() { return __await; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__asyncGenerator\", function() { return __asyncGenerator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__asyncDelegator\", function() { return __asyncDelegator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__asyncValues\", function() { return __asyncValues; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__makeTemplateObject\", function() { return __makeTemplateObject; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__importStar\", function() { return __importStar; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__importDefault\", function() { return __importDefault; });\n/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n    extendStatics = Object.setPrototypeOf ||\r\n        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n    return extendStatics(d, b);\r\n};\r\n\r\nfunction __extends(d, b) {\r\n    extendStatics(d, b);\r\n    function __() { this.constructor = d; }\r\n    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nvar __assign = function() {\r\n    __assign = Object.assign || function __assign(t) {\r\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n            s = arguments[i];\r\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n        }\r\n        return t;\r\n    }\r\n    return __assign.apply(this, arguments);\r\n}\r\n\r\nfunction __rest(s, e) {\r\n    var t = {};\r\n    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n        t[p] = s[p];\r\n    if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n            if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n                t[p[i]] = s[p[i]];\r\n        }\r\n    return t;\r\n}\r\n\r\nfunction __decorate(decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nfunction __param(paramIndex, decorator) {\r\n    return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nfunction __metadata(metadataKey, metadataValue) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nfunction __awaiter(thisArg, _arguments, P, generator) {\r\n    return new (P || (P = Promise))(function (resolve, reject) {\r\n        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n        function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n        function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n    });\r\n}\r\n\r\nfunction __generator(thisArg, body) {\r\n    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n    function verb(n) { return function (v) { return step([n, v]); }; }\r\n    function step(op) {\r\n        if (f) throw new TypeError(\"Generator is already executing.\");\r\n        while (_) try {\r\n            if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n            if (y = 0, t) op = [op[0] & 2, t.value];\r\n            switch (op[0]) {\r\n                case 0: case 1: t = op; break;\r\n                case 4: _.label++; return { value: op[1], done: false };\r\n                case 5: _.label++; y = op[1]; op = [0]; continue;\r\n                case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n                default:\r\n                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n                    if (t[2]) _.ops.pop();\r\n                    _.trys.pop(); continue;\r\n            }\r\n            op = body.call(thisArg, _);\r\n        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n    }\r\n}\r\n\r\nfunction __exportStar(m, exports) {\r\n    for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nfunction __values(o) {\r\n    var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n    if (m) return m.call(o);\r\n    return {\r\n        next: function () {\r\n            if (o && i >= o.length) o = void 0;\r\n            return { value: o && o[i++], done: !o };\r\n        }\r\n    };\r\n}\r\n\r\nfunction __read(o, n) {\r\n    var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n    if (!m) return o;\r\n    var i = m.call(o), r, ar = [], e;\r\n    try {\r\n        while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n    }\r\n    catch (error) { e = { error: error }; }\r\n    finally {\r\n        try {\r\n            if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n        }\r\n        finally { if (e) throw e.error; }\r\n    }\r\n    return ar;\r\n}\r\n\r\nfunction __spread() {\r\n    for (var ar = [], i = 0; i < arguments.length; i++)\r\n        ar = ar.concat(__read(arguments[i]));\r\n    return ar;\r\n}\r\n\r\nfunction __spreadArrays() {\r\n    for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n    for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n        for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n            r[k] = a[j];\r\n    return r;\r\n};\r\n\r\nfunction __await(v) {\r\n    return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nfunction __asyncGenerator(thisArg, _arguments, generator) {\r\n    if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n    var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n    return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n    function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n    function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n    function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n    function fulfill(value) { resume(\"next\", value); }\r\n    function reject(value) { resume(\"throw\", value); }\r\n    function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nfunction __asyncDelegator(o) {\r\n    var i, p;\r\n    return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n    function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nfunction __asyncValues(o) {\r\n    if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n    var m = o[Symbol.asyncIterator], i;\r\n    return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n    function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n    function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nfunction __makeTemplateObject(cooked, raw) {\r\n    if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n    return cooked;\r\n};\r\n\r\nfunction __importStar(mod) {\r\n    if (mod && mod.__esModule) return mod;\r\n    var result = {};\r\n    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n    result.default = mod;\r\n    return result;\r\n}\r\n\r\nfunction __importDefault(mod) {\r\n    return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\n\n/***/ }),\n\n/***/ \"./node_modules/zone.js/dist/zone-evergreen.js\":\n/*!*****************************************************!*\\\n  !*** ./node_modules/zone.js/dist/zone-evergreen.js ***!\n  \\*****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\n/**\n* @license\n* Copyright Google Inc. All Rights Reserved.\n*\n* Use of this source code is governed by an MIT-style license that can be\n* found in the LICENSE file at https://angular.io/license\n*/\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst Zone$1 = (function (global) {\n    const performance = global['performance'];\n    function mark(name) {\n        performance && performance['mark'] && performance['mark'](name);\n    }\n    function performanceMeasure(name, label) {\n        performance && performance['measure'] && performance['measure'](name, label);\n    }\n    mark('Zone');\n    const checkDuplicate = global[('__zone_symbol__forceDuplicateZoneCheck')] === true;\n    if (global['Zone']) {\n        // if global['Zone'] already exists (maybe zone.js was already loaded or\n        // some other lib also registered a global object named Zone), we may need\n        // to throw an error, but sometimes user may not want this error.\n        // For example,\n        // we have two web pages, page1 includes zone.js, page2 doesn't.\n        // and the 1st time user load page1 and page2, everything work fine,\n        // but when user load page2 again, error occurs because global['Zone'] already exists.\n        // so we add a flag to let user choose whether to throw this error or not.\n        // By default, if existing Zone is from zone.js, we will not throw the error.\n        if (checkDuplicate || typeof global['Zone'].__symbol__ !== 'function') {\n            throw new Error('Zone already loaded.');\n        }\n        else {\n            return global['Zone'];\n        }\n    }\n    class Zone {\n        constructor(parent, zoneSpec) {\n            this._parent = parent;\n            this._name = zoneSpec ? zoneSpec.name || 'unnamed' : '<root>';\n            this._properties = zoneSpec && zoneSpec.properties || {};\n            this._zoneDelegate =\n                new ZoneDelegate(this, this._parent && this._parent._zoneDelegate, zoneSpec);\n        }\n        static assertZonePatched() {\n            if (global['Promise'] !== patches['ZoneAwarePromise']) {\n                throw new Error('Zone.js has detected that ZoneAwarePromise `(window|global).Promise` ' +\n                    'has been overwritten.\\n' +\n                    'Most likely cause is that a Promise polyfill has been loaded ' +\n                    'after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. ' +\n                    'If you must load one, do so before loading zone.js.)');\n            }\n        }\n        static get root() {\n            let zone = Zone.current;\n            while (zone.parent) {\n                zone = zone.parent;\n            }\n            return zone;\n        }\n        static get current() {\n            return _currentZoneFrame.zone;\n        }\n        static get currentTask() {\n            return _currentTask;\n        }\n        static __load_patch(name, fn) {\n            if (patches.hasOwnProperty(name)) {\n                if (checkDuplicate) {\n                    throw Error('Already loaded patch: ' + name);\n                }\n            }\n            else if (!global['__Zone_disable_' + name]) {\n                const perfName = 'Zone:' + name;\n                mark(perfName);\n                patches[name] = fn(global, Zone, _api);\n                performanceMeasure(perfName, perfName);\n            }\n        }\n        get parent() {\n            return this._parent;\n        }\n        get name() {\n            return this._name;\n        }\n        get(key) {\n            const zone = this.getZoneWith(key);\n            if (zone)\n                return zone._properties[key];\n        }\n        getZoneWith(key) {\n            let current = this;\n            while (current) {\n                if (current._properties.hasOwnProperty(key)) {\n                    return current;\n                }\n                current = current._parent;\n            }\n            return null;\n        }\n        fork(zoneSpec) {\n            if (!zoneSpec)\n                throw new Error('ZoneSpec required!');\n            return this._zoneDelegate.fork(this, zoneSpec);\n        }\n        wrap(callback, source) {\n            if (typeof callback !== 'function') {\n                throw new Error('Expecting function got: ' + callback);\n            }\n            const _callback = this._zoneDelegate.intercept(this, callback, source);\n            const zone = this;\n            return function () {\n                return zone.runGuarded(_callback, this, arguments, source);\n            };\n        }\n        run(callback, applyThis, applyArgs, source) {\n            _currentZoneFrame = { parent: _currentZoneFrame, zone: this };\n            try {\n                return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source);\n            }\n            finally {\n                _currentZoneFrame = _currentZoneFrame.parent;\n            }\n        }\n        runGuarded(callback, applyThis = null, applyArgs, source) {\n            _currentZoneFrame = { parent: _currentZoneFrame, zone: this };\n            try {\n                try {\n                    return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source);\n                }\n                catch (error) {\n                    if (this._zoneDelegate.handleError(this, error)) {\n                        throw error;\n                    }\n                }\n            }\n            finally {\n                _currentZoneFrame = _currentZoneFrame.parent;\n            }\n        }\n        runTask(task, applyThis, applyArgs) {\n            if (task.zone != this) {\n                throw new Error('A task can only be run in the zone of creation! (Creation: ' +\n                    (task.zone || NO_ZONE).name + '; Execution: ' + this.name + ')');\n            }\n            // https://github.com/angular/zone.js/issues/778, sometimes eventTask\n            // will run in notScheduled(canceled) state, we should not try to\n            // run such kind of task but just return\n            if (task.state === notScheduled && (task.type === eventTask || task.type === macroTask)) {\n                return;\n            }\n            const reEntryGuard = task.state != running;\n            reEntryGuard && task._transitionTo(running, scheduled);\n            task.runCount++;\n            const previousTask = _currentTask;\n            _currentTask = task;\n            _currentZoneFrame = { parent: _currentZoneFrame, zone: this };\n            try {\n                if (task.type == macroTask && task.data && !task.data.isPeriodic) {\n                    task.cancelFn = undefined;\n                }\n                try {\n                    return this._zoneDelegate.invokeTask(this, task, applyThis, applyArgs);\n                }\n                catch (error) {\n                    if (this._zoneDelegate.handleError(this, error)) {\n                        throw error;\n                    }\n                }\n            }\n            finally {\n                // if the task's state is notScheduled or unknown, then it has already been cancelled\n                // we should not reset the state to scheduled\n                if (task.state !== notScheduled && task.state !== unknown) {\n                    if (task.type == eventTask || (task.data && task.data.isPeriodic)) {\n                        reEntryGuard && task._transitionTo(scheduled, running);\n                    }\n                    else {\n                        task.runCount = 0;\n                        this._updateTaskCount(task, -1);\n                        reEntryGuard &&\n                            task._transitionTo(notScheduled, running, notScheduled);\n                    }\n                }\n                _currentZoneFrame = _currentZoneFrame.parent;\n                _currentTask = previousTask;\n            }\n        }\n        scheduleTask(task) {\n            if (task.zone && task.zone !== this) {\n                // check if the task was rescheduled, the newZone\n                // should not be the children of the original zone\n                let newZone = this;\n                while (newZone) {\n                    if (newZone === task.zone) {\n                        throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${task.zone.name}`);\n                    }\n                    newZone = newZone.parent;\n                }\n            }\n            task._transitionTo(scheduling, notScheduled);\n            const zoneDelegates = [];\n            task._zoneDelegates = zoneDelegates;\n            task._zone = this;\n            try {\n                task = this._zoneDelegate.scheduleTask(this, task);\n            }\n            catch (err) {\n                // should set task's state to unknown when scheduleTask throw error\n                // because the err may from reschedule, so the fromState maybe notScheduled\n                task._transitionTo(unknown, scheduling, notScheduled);\n                // TODO: @JiaLiPassion, should we check the result from handleError?\n                this._zoneDelegate.handleError(this, err);\n                throw err;\n            }\n            if (task._zoneDelegates === zoneDelegates) {\n                // we have to check because internally the delegate can reschedule the task.\n                this._updateTaskCount(task, 1);\n            }\n            if (task.state == scheduling) {\n                task._transitionTo(scheduled, scheduling);\n            }\n            return task;\n        }\n        scheduleMicroTask(source, callback, data, customSchedule) {\n            return this.scheduleTask(new ZoneTask(microTask, source, callback, data, customSchedule, undefined));\n        }\n        scheduleMacroTask(source, callback, data, customSchedule, customCancel) {\n            return this.scheduleTask(new ZoneTask(macroTask, source, callback, data, customSchedule, customCancel));\n        }\n        scheduleEventTask(source, callback, data, customSchedule, customCancel) {\n            return this.scheduleTask(new ZoneTask(eventTask, source, callback, data, customSchedule, customCancel));\n        }\n        cancelTask(task) {\n            if (task.zone != this)\n                throw new Error('A task can only be cancelled in the zone of creation! (Creation: ' +\n                    (task.zone || NO_ZONE).name + '; Execution: ' + this.name + ')');\n            task._transitionTo(canceling, scheduled, running);\n            try {\n                this._zoneDelegate.cancelTask(this, task);\n            }\n            catch (err) {\n                // if error occurs when cancelTask, transit the state to unknown\n                task._transitionTo(unknown, canceling);\n                this._zoneDelegate.handleError(this, err);\n                throw err;\n            }\n            this._updateTaskCount(task, -1);\n            task._transitionTo(notScheduled, canceling);\n            task.runCount = 0;\n            return task;\n        }\n        _updateTaskCount(task, count) {\n            const zoneDelegates = task._zoneDelegates;\n            if (count == -1) {\n                task._zoneDelegates = null;\n            }\n            for (let i = 0; i < zoneDelegates.length; i++) {\n                zoneDelegates[i]._updateTaskCount(task.type, count);\n            }\n        }\n    }\n    Zone.__symbol__ = __symbol__;\n    const DELEGATE_ZS = {\n        name: '',\n        onHasTask: (delegate, _, target, hasTaskState) => delegate.hasTask(target, hasTaskState),\n        onScheduleTask: (delegate, _, target, task) => delegate.scheduleTask(target, task),\n        onInvokeTask: (delegate, _, target, task, applyThis, applyArgs) => delegate.invokeTask(target, task, applyThis, applyArgs),\n        onCancelTask: (delegate, _, target, task) => delegate.cancelTask(target, task)\n    };\n    class ZoneDelegate {\n        constructor(zone, parentDelegate, zoneSpec) {\n            this._taskCounts = { 'microTask': 0, 'macroTask': 0, 'eventTask': 0 };\n            this.zone = zone;\n            this._parentDelegate = parentDelegate;\n            this._forkZS = zoneSpec && (zoneSpec && zoneSpec.onFork ? zoneSpec : parentDelegate._forkZS);\n            this._forkDlgt = zoneSpec && (zoneSpec.onFork ? parentDelegate : parentDelegate._forkDlgt);\n            this._forkCurrZone = zoneSpec && (zoneSpec.onFork ? this.zone : parentDelegate.zone);\n            this._interceptZS =\n                zoneSpec && (zoneSpec.onIntercept ? zoneSpec : parentDelegate._interceptZS);\n            this._interceptDlgt =\n                zoneSpec && (zoneSpec.onIntercept ? parentDelegate : parentDelegate._interceptDlgt);\n            this._interceptCurrZone =\n                zoneSpec && (zoneSpec.onIntercept ? this.zone : parentDelegate.zone);\n            this._invokeZS = zoneSpec && (zoneSpec.onInvoke ? zoneSpec : parentDelegate._invokeZS);\n            this._invokeDlgt =\n                zoneSpec && (zoneSpec.onInvoke ? parentDelegate : parentDelegate._invokeDlgt);\n            this._invokeCurrZone = zoneSpec && (zoneSpec.onInvoke ? this.zone : parentDelegate.zone);\n            this._handleErrorZS =\n                zoneSpec && (zoneSpec.onHandleError ? zoneSpec : parentDelegate._handleErrorZS);\n            this._handleErrorDlgt =\n                zoneSpec && (zoneSpec.onHandleError ? parentDelegate : parentDelegate._handleErrorDlgt);\n            this._handleErrorCurrZone =\n                zoneSpec && (zoneSpec.onHandleError ? this.zone : parentDelegate.zone);\n            this._scheduleTaskZS =\n                zoneSpec && (zoneSpec.onScheduleTask ? zoneSpec : parentDelegate._scheduleTaskZS);\n            this._scheduleTaskDlgt = zoneSpec &&\n                (zoneSpec.onScheduleTask ? parentDelegate : parentDelegate._scheduleTaskDlgt);\n            this._scheduleTaskCurrZone =\n                zoneSpec && (zoneSpec.onScheduleTask ? this.zone : parentDelegate.zone);\n            this._invokeTaskZS =\n                zoneSpec && (zoneSpec.onInvokeTask ? zoneSpec : parentDelegate._invokeTaskZS);\n            this._invokeTaskDlgt =\n                zoneSpec && (zoneSpec.onInvokeTask ? parentDelegate : parentDelegate._invokeTaskDlgt);\n            this._invokeTaskCurrZone =\n                zoneSpec && (zoneSpec.onInvokeTask ? this.zone : parentDelegate.zone);\n            this._cancelTaskZS =\n                zoneSpec && (zoneSpec.onCancelTask ? zoneSpec : parentDelegate._cancelTaskZS);\n            this._cancelTaskDlgt =\n                zoneSpec && (zoneSpec.onCancelTask ? parentDelegate : parentDelegate._cancelTaskDlgt);\n            this._cancelTaskCurrZone =\n                zoneSpec && (zoneSpec.onCancelTask ? this.zone : parentDelegate.zone);\n            this._hasTaskZS = null;\n            this._hasTaskDlgt = null;\n            this._hasTaskDlgtOwner = null;\n            this._hasTaskCurrZone = null;\n            const zoneSpecHasTask = zoneSpec && zoneSpec.onHasTask;\n            const parentHasTask = parentDelegate && parentDelegate._hasTaskZS;\n            if (zoneSpecHasTask || parentHasTask) {\n                // If we need to report hasTask, than this ZS needs to do ref counting on tasks. In such\n                // a case all task related interceptors must go through this ZD. We can't short circuit it.\n                this._hasTaskZS = zoneSpecHasTask ? zoneSpec : DELEGATE_ZS;\n                this._hasTaskDlgt = parentDelegate;\n                this._hasTaskDlgtOwner = this;\n                this._hasTaskCurrZone = zone;\n                if (!zoneSpec.onScheduleTask) {\n                    this._scheduleTaskZS = DELEGATE_ZS;\n                    this._scheduleTaskDlgt = parentDelegate;\n                    this._scheduleTaskCurrZone = this.zone;\n                }\n                if (!zoneSpec.onInvokeTask) {\n                    this._invokeTaskZS = DELEGATE_ZS;\n                    this._invokeTaskDlgt = parentDelegate;\n                    this._invokeTaskCurrZone = this.zone;\n                }\n                if (!zoneSpec.onCancelTask) {\n                    this._cancelTaskZS = DELEGATE_ZS;\n                    this._cancelTaskDlgt = parentDelegate;\n                    this._cancelTaskCurrZone = this.zone;\n                }\n            }\n        }\n        fork(targetZone, zoneSpec) {\n            return this._forkZS ? this._forkZS.onFork(this._forkDlgt, this.zone, targetZone, zoneSpec) :\n                new Zone(targetZone, zoneSpec);\n        }\n        intercept(targetZone, callback, source) {\n            return this._interceptZS ?\n                this._interceptZS.onIntercept(this._interceptDlgt, this._interceptCurrZone, targetZone, callback, source) :\n                callback;\n        }\n        invoke(targetZone, callback, applyThis, applyArgs, source) {\n            return this._invokeZS ? this._invokeZS.onInvoke(this._invokeDlgt, this._invokeCurrZone, targetZone, callback, applyThis, applyArgs, source) :\n                callback.apply(applyThis, applyArgs);\n        }\n        handleError(targetZone, error) {\n            return this._handleErrorZS ?\n                this._handleErrorZS.onHandleError(this._handleErrorDlgt, this._handleErrorCurrZone, targetZone, error) :\n                true;\n        }\n        scheduleTask(targetZone, task) {\n            let returnTask = task;\n            if (this._scheduleTaskZS) {\n                if (this._hasTaskZS) {\n                    returnTask._zoneDelegates.push(this._hasTaskDlgtOwner);\n                }\n                returnTask = this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt, this._scheduleTaskCurrZone, targetZone, task);\n                if (!returnTask)\n                    returnTask = task;\n            }\n            else {\n                if (task.scheduleFn) {\n                    task.scheduleFn(task);\n                }\n                else if (task.type == microTask) {\n                    scheduleMicroTask(task);\n                }\n                else {\n                    throw new Error('Task is missing scheduleFn.');\n                }\n            }\n            return returnTask;\n        }\n        invokeTask(targetZone, task, applyThis, applyArgs) {\n            return this._invokeTaskZS ? this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt, this._invokeTaskCurrZone, targetZone, task, applyThis, applyArgs) :\n                task.callback.apply(applyThis, applyArgs);\n        }\n        cancelTask(targetZone, task) {\n            let value;\n            if (this._cancelTaskZS) {\n                value = this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt, this._cancelTaskCurrZone, targetZone, task);\n            }\n            else {\n                if (!task.cancelFn) {\n                    throw Error('Task is not cancelable');\n                }\n                value = task.cancelFn(task);\n            }\n            return value;\n        }\n        hasTask(targetZone, isEmpty) {\n            // hasTask should not throw error so other ZoneDelegate\n            // can still trigger hasTask callback\n            try {\n                this._hasTaskZS &&\n                    this._hasTaskZS.onHasTask(this._hasTaskDlgt, this._hasTaskCurrZone, targetZone, isEmpty);\n            }\n            catch (err) {\n                this.handleError(targetZone, err);\n            }\n        }\n        _updateTaskCount(type, count) {\n            const counts = this._taskCounts;\n            const prev = counts[type];\n            const next = counts[type] = prev + count;\n            if (next < 0) {\n                throw new Error('More tasks executed then were scheduled.');\n            }\n            if (prev == 0 || next == 0) {\n                const isEmpty = {\n                    microTask: counts['microTask'] > 0,\n                    macroTask: counts['macroTask'] > 0,\n                    eventTask: counts['eventTask'] > 0,\n                    change: type\n                };\n                this.hasTask(this.zone, isEmpty);\n            }\n        }\n    }\n    class ZoneTask {\n        constructor(type, source, callback, options, scheduleFn, cancelFn) {\n            this._zone = null;\n            this.runCount = 0;\n            this._zoneDelegates = null;\n            this._state = 'notScheduled';\n            this.type = type;\n            this.source = source;\n            this.data = options;\n            this.scheduleFn = scheduleFn;\n            this.cancelFn = cancelFn;\n            this.callback = callback;\n            const self = this;\n            // TODO: @JiaLiPassion options should have interface\n            if (type === eventTask && options && options.useG) {\n                this.invoke = ZoneTask.invokeTask;\n            }\n            else {\n                this.invoke = function () {\n                    return ZoneTask.invokeTask.call(global, self, this, arguments);\n                };\n            }\n        }\n        static invokeTask(task, target, args) {\n            if (!task) {\n                task = this;\n            }\n            _numberOfNestedTaskFrames++;\n            try {\n                task.runCount++;\n                return task.zone.runTask(task, target, args);\n            }\n            finally {\n                if (_numberOfNestedTaskFrames == 1) {\n                    drainMicroTaskQueue();\n                }\n                _numberOfNestedTaskFrames--;\n            }\n        }\n        get zone() {\n            return this._zone;\n        }\n        get state() {\n            return this._state;\n        }\n        cancelScheduleRequest() {\n            this._transitionTo(notScheduled, scheduling);\n        }\n        _transitionTo(toState, fromState1, fromState2) {\n            if (this._state === fromState1 || this._state === fromState2) {\n                this._state = toState;\n                if (toState == notScheduled) {\n                    this._zoneDelegates = null;\n                }\n            }\n            else {\n                throw new Error(`${this.type} '${this.source}': can not transition to '${toState}', expecting state '${fromState1}'${fromState2 ? ' or \\'' + fromState2 + '\\'' : ''}, was '${this._state}'.`);\n            }\n        }\n        toString() {\n            if (this.data && typeof this.data.handleId !== 'undefined') {\n                return this.data.handleId.toString();\n            }\n            else {\n                return Object.prototype.toString.call(this);\n            }\n        }\n        // add toJSON method to prevent cyclic error when\n        // call JSON.stringify(zoneTask)\n        toJSON() {\n            return {\n                type: this.type,\n                state: this.state,\n                source: this.source,\n                zone: this.zone.name,\n                runCount: this.runCount\n            };\n        }\n    }\n    //////////////////////////////////////////////////////\n    //////////////////////////////////////////////////////\n    ///  MICROTASK QUEUE\n    //////////////////////////////////////////////////////\n    //////////////////////////////////////////////////////\n    const symbolSetTimeout = __symbol__('setTimeout');\n    const symbolPromise = __symbol__('Promise');\n    const symbolThen = __symbol__('then');\n    let _microTaskQueue = [];\n    let _isDrainingMicrotaskQueue = false;\n    let nativeMicroTaskQueuePromise;\n    function scheduleMicroTask(task) {\n        // if we are not running in any task, and there has not been anything scheduled\n        // we must bootstrap the initial task creation by manually scheduling the drain\n        if (_numberOfNestedTaskFrames === 0 && _microTaskQueue.length === 0) {\n            // We are not running in Task, so we need to kickstart the microtask queue.\n            if (!nativeMicroTaskQueuePromise) {\n                if (global[symbolPromise]) {\n                    nativeMicroTaskQueuePromise = global[symbolPromise].resolve(0);\n                }\n            }\n            if (nativeMicroTaskQueuePromise) {\n                let nativeThen = nativeMicroTaskQueuePromise[symbolThen];\n                if (!nativeThen) {\n                    // native Promise is not patchable, we need to use `then` directly\n                    // issue 1078\n                    nativeThen = nativeMicroTaskQueuePromise['then'];\n                }\n                nativeThen.call(nativeMicroTaskQueuePromise, drainMicroTaskQueue);\n            }\n            else {\n                global[symbolSetTimeout](drainMicroTaskQueue, 0);\n            }\n        }\n        task && _microTaskQueue.push(task);\n    }\n    function drainMicroTaskQueue() {\n        if (!_isDrainingMicrotaskQueue) {\n            _isDrainingMicrotaskQueue = true;\n            while (_microTaskQueue.length) {\n                const queue = _microTaskQueue;\n                _microTaskQueue = [];\n                for (let i = 0; i < queue.length; i++) {\n                    const task = queue[i];\n                    try {\n                        task.zone.runTask(task, null, null);\n                    }\n                    catch (error) {\n                        _api.onUnhandledError(error);\n                    }\n                }\n            }\n            _api.microtaskDrainDone();\n            _isDrainingMicrotaskQueue = false;\n        }\n    }\n    //////////////////////////////////////////////////////\n    //////////////////////////////////////////////////////\n    ///  BOOTSTRAP\n    //////////////////////////////////////////////////////\n    //////////////////////////////////////////////////////\n    const NO_ZONE = { name: 'NO ZONE' };\n    const notScheduled = 'notScheduled', scheduling = 'scheduling', scheduled = 'scheduled', running = 'running', canceling = 'canceling', unknown = 'unknown';\n    const microTask = 'microTask', macroTask = 'macroTask', eventTask = 'eventTask';\n    const patches = {};\n    const _api = {\n        symbol: __symbol__,\n        currentZoneFrame: () => _currentZoneFrame,\n        onUnhandledError: noop,\n        microtaskDrainDone: noop,\n        scheduleMicroTask: scheduleMicroTask,\n        showUncaughtError: () => !Zone[__symbol__('ignoreConsoleErrorUncaughtError')],\n        patchEventTarget: () => [],\n        patchOnProperties: noop,\n        patchMethod: () => noop,\n        bindArguments: () => [],\n        patchThen: () => noop,\n        patchMacroTask: () => noop,\n        setNativePromise: (NativePromise) => {\n            // sometimes NativePromise.resolve static function\n            // is not ready yet, (such as core-js/es6.promise)\n            // so we need to check here.\n            if (NativePromise && typeof NativePromise.resolve === 'function') {\n                nativeMicroTaskQueuePromise = NativePromise.resolve(0);\n            }\n        },\n        patchEventPrototype: () => noop,\n        isIEOrEdge: () => false,\n        getGlobalObjects: () => undefined,\n        ObjectDefineProperty: () => noop,\n        ObjectGetOwnPropertyDescriptor: () => undefined,\n        ObjectCreate: () => undefined,\n        ArraySlice: () => [],\n        patchClass: () => noop,\n        wrapWithCurrentZone: () => noop,\n        filterProperties: () => [],\n        attachOriginToPatched: () => noop,\n        _redefineProperty: () => noop,\n        patchCallbacks: () => noop\n    };\n    let _currentZoneFrame = { parent: null, zone: new Zone(null, null) };\n    let _currentTask = null;\n    let _numberOfNestedTaskFrames = 0;\n    function noop() { }\n    function __symbol__(name) {\n        return '__zone_symbol__' + name;\n    }\n    performanceMeasure('Zone', 'Zone');\n    return global['Zone'] = Zone;\n})(typeof window !== 'undefined' && window || typeof self !== 'undefined' && self || global);\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nZone.__load_patch('ZoneAwarePromise', (global, Zone, api) => {\n    const ObjectGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n    const ObjectDefineProperty = Object.defineProperty;\n    function readableObjectToString(obj) {\n        if (obj && obj.toString === Object.prototype.toString) {\n            const className = obj.constructor && obj.constructor.name;\n            return (className ? className : '') + ': ' + JSON.stringify(obj);\n        }\n        return obj ? obj.toString() : Object.prototype.toString.call(obj);\n    }\n    const __symbol__ = api.symbol;\n    const _uncaughtPromiseErrors = [];\n    const symbolPromise = __symbol__('Promise');\n    const symbolThen = __symbol__('then');\n    const creationTrace = '__creationTrace__';\n    api.onUnhandledError = (e) => {\n        if (api.showUncaughtError()) {\n            const rejection = e && e.rejection;\n            if (rejection) {\n                console.error('Unhandled Promise rejection:', rejection instanceof Error ? rejection.message : rejection, '; Zone:', e.zone.name, '; Task:', e.task && e.task.source, '; Value:', rejection, rejection instanceof Error ? rejection.stack : undefined);\n            }\n            else {\n                console.error(e);\n            }\n        }\n    };\n    api.microtaskDrainDone = () => {\n        while (_uncaughtPromiseErrors.length) {\n            while (_uncaughtPromiseErrors.length) {\n                const uncaughtPromiseError = _uncaughtPromiseErrors.shift();\n                try {\n                    uncaughtPromiseError.zone.runGuarded(() => {\n                        throw uncaughtPromiseError;\n                    });\n                }\n                catch (error) {\n                    handleUnhandledRejection(error);\n                }\n            }\n        }\n    };\n    const UNHANDLED_PROMISE_REJECTION_HANDLER_SYMBOL = __symbol__('unhandledPromiseRejectionHandler');\n    function handleUnhandledRejection(e) {\n        api.onUnhandledError(e);\n        try {\n            const handler = Zone[UNHANDLED_PROMISE_REJECTION_HANDLER_SYMBOL];\n            if (handler && typeof handler === 'function') {\n                handler.call(this, e);\n            }\n        }\n        catch (err) {\n        }\n    }\n    function isThenable(value) {\n        return value && value.then;\n    }\n    function forwardResolution(value) {\n        return value;\n    }\n    function forwardRejection(rejection) {\n        return ZoneAwarePromise.reject(rejection);\n    }\n    const symbolState = __symbol__('state');\n    const symbolValue = __symbol__('value');\n    const symbolFinally = __symbol__('finally');\n    const symbolParentPromiseValue = __symbol__('parentPromiseValue');\n    const symbolParentPromiseState = __symbol__('parentPromiseState');\n    const source = 'Promise.then';\n    const UNRESOLVED = null;\n    const RESOLVED = true;\n    const REJECTED = false;\n    const REJECTED_NO_CATCH = 0;\n    function makeResolver(promise, state) {\n        return (v) => {\n            try {\n                resolvePromise(promise, state, v);\n            }\n            catch (err) {\n                resolvePromise(promise, false, err);\n            }\n            // Do not return value or you will break the Promise spec.\n        };\n    }\n    const once = function () {\n        let wasCalled = false;\n        return function wrapper(wrappedFunction) {\n            return function () {\n                if (wasCalled) {\n                    return;\n                }\n                wasCalled = true;\n                wrappedFunction.apply(null, arguments);\n            };\n        };\n    };\n    const TYPE_ERROR = 'Promise resolved with itself';\n    const CURRENT_TASK_TRACE_SYMBOL = __symbol__('currentTaskTrace');\n    // Promise Resolution\n    function resolvePromise(promise, state, value) {\n        const onceWrapper = once();\n        if (promise === value) {\n            throw new TypeError(TYPE_ERROR);\n        }\n        if (promise[symbolState] === UNRESOLVED) {\n            // should only get value.then once based on promise spec.\n            let then = null;\n            try {\n                if (typeof value === 'object' || typeof value === 'function') {\n                    then = value && value.then;\n                }\n            }\n            catch (err) {\n                onceWrapper(() => {\n                    resolvePromise(promise, false, err);\n                })();\n                return promise;\n            }\n            // if (value instanceof ZoneAwarePromise) {\n            if (state !== REJECTED && value instanceof ZoneAwarePromise &&\n                value.hasOwnProperty(symbolState) && value.hasOwnProperty(symbolValue) &&\n                value[symbolState] !== UNRESOLVED) {\n                clearRejectedNoCatch(value);\n                resolvePromise(promise, value[symbolState], value[symbolValue]);\n            }\n            else if (state !== REJECTED && typeof then === 'function') {\n                try {\n                    then.call(value, onceWrapper(makeResolver(promise, state)), onceWrapper(makeResolver(promise, false)));\n                }\n                catch (err) {\n                    onceWrapper(() => {\n                        resolvePromise(promise, false, err);\n                    })();\n                }\n            }\n            else {\n                promise[symbolState] = state;\n                const queue = promise[symbolValue];\n                promise[symbolValue] = value;\n                if (promise[symbolFinally] === symbolFinally) {\n                    // the promise is generated by Promise.prototype.finally\n                    if (state === RESOLVED) {\n                        // the state is resolved, should ignore the value\n                        // and use parent promise value\n                        promise[symbolState] = promise[symbolParentPromiseState];\n                        promise[symbolValue] = promise[symbolParentPromiseValue];\n                    }\n                }\n                // record task information in value when error occurs, so we can\n                // do some additional work such as render longStackTrace\n                if (state === REJECTED && value instanceof Error) {\n                    // check if longStackTraceZone is here\n                    const trace = Zone.currentTask && Zone.currentTask.data &&\n                        Zone.currentTask.data[creationTrace];\n                    if (trace) {\n                        // only keep the long stack trace into error when in longStackTraceZone\n                        ObjectDefineProperty(value, CURRENT_TASK_TRACE_SYMBOL, { configurable: true, enumerable: false, writable: true, value: trace });\n                    }\n                }\n                for (let i = 0; i < queue.length;) {\n                    scheduleResolveOrReject(promise, queue[i++], queue[i++], queue[i++], queue[i++]);\n                }\n                if (queue.length == 0 && state == REJECTED) {\n                    promise[symbolState] = REJECTED_NO_CATCH;\n                    try {\n                        // try to print more readable error log\n                        throw new Error('Uncaught (in promise): ' + readableObjectToString(value) +\n                            (value && value.stack ? '\\n' + value.stack : ''));\n                    }\n                    catch (err) {\n                        const error = err;\n                        error.rejection = value;\n                        error.promise = promise;\n                        error.zone = Zone.current;\n                        error.task = Zone.currentTask;\n                        _uncaughtPromiseErrors.push(error);\n                        api.scheduleMicroTask(); // to make sure that it is running\n                    }\n                }\n            }\n        }\n        // Resolving an already resolved promise is a noop.\n        return promise;\n    }\n    const REJECTION_HANDLED_HANDLER = __symbol__('rejectionHandledHandler');\n    function clearRejectedNoCatch(promise) {\n        if (promise[symbolState] === REJECTED_NO_CATCH) {\n            // if the promise is rejected no catch status\n            // and queue.length > 0, means there is a error handler\n            // here to handle the rejected promise, we should trigger\n            // windows.rejectionhandled eventHandler or nodejs rejectionHandled\n            // eventHandler\n            try {\n                const handler = Zone[REJECTION_HANDLED_HANDLER];\n                if (handler && typeof handler === 'function') {\n                    handler.call(this, { rejection: promise[symbolValue], promise: promise });\n                }\n            }\n            catch (err) {\n            }\n            promise[symbolState] = REJECTED;\n            for (let i = 0; i < _uncaughtPromiseErrors.length; i++) {\n                if (promise === _uncaughtPromiseErrors[i].promise) {\n                    _uncaughtPromiseErrors.splice(i, 1);\n                }\n            }\n        }\n    }\n    function scheduleResolveOrReject(promise, zone, chainPromise, onFulfilled, onRejected) {\n        clearRejectedNoCatch(promise);\n        const promiseState = promise[symbolState];\n        const delegate = promiseState ?\n            (typeof onFulfilled === 'function') ? onFulfilled : forwardResolution :\n            (typeof onRejected === 'function') ? onRejected : forwardRejection;\n        zone.scheduleMicroTask(source, () => {\n            try {\n                const parentPromiseValue = promise[symbolValue];\n                const isFinallyPromise = chainPromise && symbolFinally === chainPromise[symbolFinally];\n                if (isFinallyPromise) {\n                    // if the promise is generated from finally call, keep parent promise's state and value\n                    chainPromise[symbolParentPromiseValue] = parentPromiseValue;\n                    chainPromise[symbolParentPromiseState] = promiseState;\n                }\n                // should not pass value to finally callback\n                const value = zone.run(delegate, undefined, isFinallyPromise && delegate !== forwardRejection && delegate !== forwardResolution ?\n                    [] :\n                    [parentPromiseValue]);\n                resolvePromise(chainPromise, true, value);\n            }\n            catch (error) {\n                // if error occurs, should always return this error\n                resolvePromise(chainPromise, false, error);\n            }\n        }, chainPromise);\n    }\n    const ZONE_AWARE_PROMISE_TO_STRING = 'function ZoneAwarePromise() { [native code] }';\n    class ZoneAwarePromise {\n        constructor(executor) {\n            const promise = this;\n            if (!(promise instanceof ZoneAwarePromise)) {\n                throw new Error('Must be an instanceof Promise.');\n            }\n            promise[symbolState] = UNRESOLVED;\n            promise[symbolValue] = []; // queue;\n            try {\n                executor && executor(makeResolver(promise, RESOLVED), makeResolver(promise, REJECTED));\n            }\n            catch (error) {\n                resolvePromise(promise, false, error);\n            }\n        }\n        static toString() {\n            return ZONE_AWARE_PROMISE_TO_STRING;\n        }\n        static resolve(value) {\n            return resolvePromise(new this(null), RESOLVED, value);\n        }\n        static reject(error) {\n            return resolvePromise(new this(null), REJECTED, error);\n        }\n        static race(values) {\n            let resolve;\n            let reject;\n            let promise = new this((res, rej) => {\n                resolve = res;\n                reject = rej;\n            });\n            function onResolve(value) {\n                resolve(value);\n            }\n            function onReject(error) {\n                reject(error);\n            }\n            for (let value of values) {\n                if (!isThenable(value)) {\n                    value = this.resolve(value);\n                }\n                value.then(onResolve, onReject);\n            }\n            return promise;\n        }\n        static all(values) {\n            let resolve;\n            let reject;\n            let promise = new this((res, rej) => {\n                resolve = res;\n                reject = rej;\n            });\n            // Start at 2 to prevent prematurely resolving if .then is called immediately.\n            let unresolvedCount = 2;\n            let valueIndex = 0;\n            const resolvedValues = [];\n            for (let value of values) {\n                if (!isThenable(value)) {\n                    value = this.resolve(value);\n                }\n                const curValueIndex = valueIndex;\n                value.then((value) => {\n                    resolvedValues[curValueIndex] = value;\n                    unresolvedCount--;\n                    if (unresolvedCount === 0) {\n                        resolve(resolvedValues);\n                    }\n                }, reject);\n                unresolvedCount++;\n                valueIndex++;\n            }\n            // Make the unresolvedCount zero-based again.\n            unresolvedCount -= 2;\n            if (unresolvedCount === 0) {\n                resolve(resolvedValues);\n            }\n            return promise;\n        }\n        get [Symbol.toStringTag]() {\n            return 'Promise';\n        }\n        then(onFulfilled, onRejected) {\n            const chainPromise = new this.constructor(null);\n            const zone = Zone.current;\n            if (this[symbolState] == UNRESOLVED) {\n                this[symbolValue].push(zone, chainPromise, onFulfilled, onRejected);\n            }\n            else {\n                scheduleResolveOrReject(this, zone, chainPromise, onFulfilled, onRejected);\n            }\n            return chainPromise;\n        }\n        catch(onRejected) {\n            return this.then(null, onRejected);\n        }\n        finally(onFinally) {\n            const chainPromise = new this.constructor(null);\n            chainPromise[symbolFinally] = symbolFinally;\n            const zone = Zone.current;\n            if (this[symbolState] == UNRESOLVED) {\n                this[symbolValue].push(zone, chainPromise, onFinally, onFinally);\n            }\n            else {\n                scheduleResolveOrReject(this, zone, chainPromise, onFinally, onFinally);\n            }\n            return chainPromise;\n        }\n    }\n    // Protect against aggressive optimizers dropping seemingly unused properties.\n    // E.g. Closure Compiler in advanced mode.\n    ZoneAwarePromise['resolve'] = ZoneAwarePromise.resolve;\n    ZoneAwarePromise['reject'] = ZoneAwarePromise.reject;\n    ZoneAwarePromise['race'] = ZoneAwarePromise.race;\n    ZoneAwarePromise['all'] = ZoneAwarePromise.all;\n    const NativePromise = global[symbolPromise] = global['Promise'];\n    const ZONE_AWARE_PROMISE = Zone.__symbol__('ZoneAwarePromise');\n    let desc = ObjectGetOwnPropertyDescriptor(global, 'Promise');\n    if (!desc || desc.configurable) {\n        desc && delete desc.writable;\n        desc && delete desc.value;\n        if (!desc) {\n            desc = { configurable: true, enumerable: true };\n        }\n        desc.get = function () {\n            // if we already set ZoneAwarePromise, use patched one\n            // otherwise return native one.\n            return global[ZONE_AWARE_PROMISE] ? global[ZONE_AWARE_PROMISE] : global[symbolPromise];\n        };\n        desc.set = function (NewNativePromise) {\n            if (NewNativePromise === ZoneAwarePromise) {\n                // if the NewNativePromise is ZoneAwarePromise\n                // save to global\n                global[ZONE_AWARE_PROMISE] = NewNativePromise;\n            }\n            else {\n                // if the NewNativePromise is not ZoneAwarePromise\n                // for example: after load zone.js, some library just\n                // set es6-promise to global, if we set it to global\n                // directly, assertZonePatched will fail and angular\n                // will not loaded, so we just set the NewNativePromise\n                // to global[symbolPromise], so the result is just like\n                // we load ES6 Promise before zone.js\n                global[symbolPromise] = NewNativePromise;\n                if (!NewNativePromise.prototype[symbolThen]) {\n                    patchThen(NewNativePromise);\n                }\n                api.setNativePromise(NewNativePromise);\n            }\n        };\n        ObjectDefineProperty(global, 'Promise', desc);\n    }\n    global['Promise'] = ZoneAwarePromise;\n    const symbolThenPatched = __symbol__('thenPatched');\n    function patchThen(Ctor) {\n        const proto = Ctor.prototype;\n        const prop = ObjectGetOwnPropertyDescriptor(proto, 'then');\n        if (prop && (prop.writable === false || !prop.configurable)) {\n            // check Ctor.prototype.then propertyDescriptor is writable or not\n            // in meteor env, writable is false, we should ignore such case\n            return;\n        }\n        const originalThen = proto.then;\n        // Keep a reference to the original method.\n        proto[symbolThen] = originalThen;\n        Ctor.prototype.then = function (onResolve, onReject) {\n            const wrapped = new ZoneAwarePromise((resolve, reject) => {\n                originalThen.call(this, resolve, reject);\n            });\n            return wrapped.then(onResolve, onReject);\n        };\n        Ctor[symbolThenPatched] = true;\n    }\n    api.patchThen = patchThen;\n    function zoneify(fn) {\n        return function () {\n            let resultPromise = fn.apply(this, arguments);\n            if (resultPromise instanceof ZoneAwarePromise) {\n                return resultPromise;\n            }\n            let ctor = resultPromise.constructor;\n            if (!ctor[symbolThenPatched]) {\n                patchThen(ctor);\n            }\n            return resultPromise;\n        };\n    }\n    if (NativePromise) {\n        patchThen(NativePromise);\n        const fetch = global['fetch'];\n        if (typeof fetch == 'function') {\n            global[api.symbol('fetch')] = fetch;\n            global['fetch'] = zoneify(fetch);\n        }\n    }\n    // This is not part of public API, but it is useful for tests, so we expose it.\n    Promise[Zone.__symbol__('uncaughtPromiseErrors')] = _uncaughtPromiseErrors;\n    return ZoneAwarePromise;\n});\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Suppress closure compiler errors about unknown 'Zone' variable\n * @fileoverview\n * @suppress {undefinedVars,globalThis,missingRequire}\n */\n// issue #989, to reduce bundle size, use short name\n/** Object.getOwnPropertyDescriptor */\nconst ObjectGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n/** Object.defineProperty */\nconst ObjectDefineProperty = Object.defineProperty;\n/** Object.getPrototypeOf */\nconst ObjectGetPrototypeOf = Object.getPrototypeOf;\n/** Object.create */\nconst ObjectCreate = Object.create;\n/** Array.prototype.slice */\nconst ArraySlice = Array.prototype.slice;\n/** addEventListener string const */\nconst ADD_EVENT_LISTENER_STR = 'addEventListener';\n/** removeEventListener string const */\nconst REMOVE_EVENT_LISTENER_STR = 'removeEventListener';\n/** zoneSymbol addEventListener */\nconst ZONE_SYMBOL_ADD_EVENT_LISTENER = Zone.__symbol__(ADD_EVENT_LISTENER_STR);\n/** zoneSymbol removeEventListener */\nconst ZONE_SYMBOL_REMOVE_EVENT_LISTENER = Zone.__symbol__(REMOVE_EVENT_LISTENER_STR);\n/** true string const */\nconst TRUE_STR = 'true';\n/** false string const */\nconst FALSE_STR = 'false';\n/** __zone_symbol__ string const */\nconst ZONE_SYMBOL_PREFIX = '__zone_symbol__';\nfunction wrapWithCurrentZone(callback, source) {\n    return Zone.current.wrap(callback, source);\n}\nfunction scheduleMacroTaskWithCurrentZone(source, callback, data, customSchedule, customCancel) {\n    return Zone.current.scheduleMacroTask(source, callback, data, customSchedule, customCancel);\n}\nconst zoneSymbol = Zone.__symbol__;\nconst isWindowExists = typeof window !== 'undefined';\nconst internalWindow = isWindowExists ? window : undefined;\nconst _global = isWindowExists && internalWindow || typeof self === 'object' && self || global;\nconst REMOVE_ATTRIBUTE = 'removeAttribute';\nconst NULL_ON_PROP_VALUE = [null];\nfunction bindArguments(args, source) {\n    for (let i = args.length - 1; i >= 0; i--) {\n        if (typeof args[i] === 'function') {\n            args[i] = wrapWithCurrentZone(args[i], source + '_' + i);\n        }\n    }\n    return args;\n}\nfunction patchPrototype(prototype, fnNames) {\n    const source = prototype.constructor['name'];\n    for (let i = 0; i < fnNames.length; i++) {\n        const name = fnNames[i];\n        const delegate = prototype[name];\n        if (delegate) {\n            const prototypeDesc = ObjectGetOwnPropertyDescriptor(prototype, name);\n            if (!isPropertyWritable(prototypeDesc)) {\n                continue;\n            }\n            prototype[name] = ((delegate) => {\n                const patched = function () {\n                    return delegate.apply(this, bindArguments(arguments, source + '.' + name));\n                };\n                attachOriginToPatched(patched, delegate);\n                return patched;\n            })(delegate);\n        }\n    }\n}\nfunction isPropertyWritable(propertyDesc) {\n    if (!propertyDesc) {\n        return true;\n    }\n    if (propertyDesc.writable === false) {\n        return false;\n    }\n    return !(typeof propertyDesc.get === 'function' && typeof propertyDesc.set === 'undefined');\n}\nconst isWebWorker = (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope);\n// Make sure to access `process` through `_global` so that WebPack does not accidentally browserify\n// this code.\nconst isNode = (!('nw' in _global) && typeof _global.process !== 'undefined' &&\n    {}.toString.call(_global.process) === '[object process]');\nconst isBrowser = !isNode && !isWebWorker && !!(isWindowExists && internalWindow['HTMLElement']);\n// we are in electron of nw, so we are both browser and nodejs\n// Make sure to access `process` through `_global` so that WebPack does not accidentally browserify\n// this code.\nconst isMix = typeof _global.process !== 'undefined' &&\n    {}.toString.call(_global.process) === '[object process]' && !isWebWorker &&\n    !!(isWindowExists && internalWindow['HTMLElement']);\nconst zoneSymbolEventNames = {};\nconst wrapFn = function (event) {\n    // https://github.com/angular/zone.js/issues/911, in IE, sometimes\n    // event will be undefined, so we need to use window.event\n    event = event || _global.event;\n    if (!event) {\n        return;\n    }\n    let eventNameSymbol = zoneSymbolEventNames[event.type];\n    if (!eventNameSymbol) {\n        eventNameSymbol = zoneSymbolEventNames[event.type] = zoneSymbol('ON_PROPERTY' + event.type);\n    }\n    const target = this || event.target || _global;\n    const listener = target[eventNameSymbol];\n    let result;\n    if (isBrowser && target === internalWindow && event.type === 'error') {\n        // window.onerror have different signiture\n        // https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror#window.onerror\n        // and onerror callback will prevent default when callback return true\n        const errorEvent = event;\n        result = listener &&\n            listener.call(this, errorEvent.message, errorEvent.filename, errorEvent.lineno, errorEvent.colno, errorEvent.error);\n        if (result === true) {\n            event.preventDefault();\n        }\n    }\n    else {\n        result = listener && listener.apply(this, arguments);\n        if (result != undefined && !result) {\n            event.preventDefault();\n        }\n    }\n    return result;\n};\nfunction patchProperty(obj, prop, prototype) {\n    let desc = ObjectGetOwnPropertyDescriptor(obj, prop);\n    if (!desc && prototype) {\n        // when patch window object, use prototype to check prop exist or not\n        const prototypeDesc = ObjectGetOwnPropertyDescriptor(prototype, prop);\n        if (prototypeDesc) {\n            desc = { enumerable: true, configurable: true };\n        }\n    }\n    // if the descriptor not exists or is not configurable\n    // just return\n    if (!desc || !desc.configurable) {\n        return;\n    }\n    const onPropPatchedSymbol = zoneSymbol('on' + prop + 'patched');\n    if (obj.hasOwnProperty(onPropPatchedSymbol) && obj[onPropPatchedSymbol]) {\n        return;\n    }\n    // A property descriptor cannot have getter/setter and be writable\n    // deleting the writable and value properties avoids this error:\n    //\n    // TypeError: property descriptors must not specify a value or be writable when a\n    // getter or setter has been specified\n    delete desc.writable;\n    delete desc.value;\n    const originalDescGet = desc.get;\n    const originalDescSet = desc.set;\n    // substr(2) cuz 'onclick' -> 'click', etc\n    const eventName = prop.substr(2);\n    let eventNameSymbol = zoneSymbolEventNames[eventName];\n    if (!eventNameSymbol) {\n        eventNameSymbol = zoneSymbolEventNames[eventName] = zoneSymbol('ON_PROPERTY' + eventName);\n    }\n    desc.set = function (newValue) {\n        // in some of windows's onproperty callback, this is undefined\n        // so we need to check it\n        let target = this;\n        if (!target && obj === _global) {\n            target = _global;\n        }\n        if (!target) {\n            return;\n        }\n        let previousValue = target[eventNameSymbol];\n        if (previousValue) {\n            target.removeEventListener(eventName, wrapFn);\n        }\n        // issue #978, when onload handler was added before loading zone.js\n        // we should remove it with originalDescSet\n        if (originalDescSet) {\n            originalDescSet.apply(target, NULL_ON_PROP_VALUE);\n        }\n        if (typeof newValue === 'function') {\n            target[eventNameSymbol] = newValue;\n            target.addEventListener(eventName, wrapFn, false);\n        }\n        else {\n            target[eventNameSymbol] = null;\n        }\n    };\n    // The getter would return undefined for unassigned properties but the default value of an\n    // unassigned property is null\n    desc.get = function () {\n        // in some of windows's onproperty callback, this is undefined\n        // so we need to check it\n        let target = this;\n        if (!target && obj === _global) {\n            target = _global;\n        }\n        if (!target) {\n            return null;\n        }\n        const listener = target[eventNameSymbol];\n        if (listener) {\n            return listener;\n        }\n        else if (originalDescGet) {\n            // result will be null when use inline event attribute,\n            // such as <button onclick=\"func();\">OK</button>\n            // because the onclick function is internal raw uncompiled handler\n            // the onclick will be evaluated when first time event was triggered or\n            // the property is accessed, https://github.com/angular/zone.js/issues/525\n            // so we should use original native get to retrieve the handler\n            let value = originalDescGet && originalDescGet.call(this);\n            if (value) {\n                desc.set.call(this, value);\n                if (typeof target[REMOVE_ATTRIBUTE] === 'function') {\n                    target.removeAttribute(prop);\n                }\n                return value;\n            }\n        }\n        return null;\n    };\n    ObjectDefineProperty(obj, prop, desc);\n    obj[onPropPatchedSymbol] = true;\n}\nfunction patchOnProperties(obj, properties, prototype) {\n    if (properties) {\n        for (let i = 0; i < properties.length; i++) {\n            patchProperty(obj, 'on' + properties[i], prototype);\n        }\n    }\n    else {\n        const onProperties = [];\n        for (const prop in obj) {\n            if (prop.substr(0, 2) == 'on') {\n                onProperties.push(prop);\n            }\n        }\n        for (let j = 0; j < onProperties.length; j++) {\n            patchProperty(obj, onProperties[j], prototype);\n        }\n    }\n}\nconst originalInstanceKey = zoneSymbol('originalInstance');\n// wrap some native API on `window`\nfunction patchClass(className) {\n    const OriginalClass = _global[className];\n    if (!OriginalClass)\n        return;\n    // keep original class in global\n    _global[zoneSymbol(className)] = OriginalClass;\n    _global[className] = function () {\n        const a = bindArguments(arguments, className);\n        switch (a.length) {\n            case 0:\n                this[originalInstanceKey] = new OriginalClass();\n                break;\n            case 1:\n                this[originalInstanceKey] = new OriginalClass(a[0]);\n                break;\n            case 2:\n                this[originalInstanceKey] = new OriginalClass(a[0], a[1]);\n                break;\n            case 3:\n                this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2]);\n                break;\n            case 4:\n                this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2], a[3]);\n                break;\n            default:\n                throw new Error('Arg list too long.');\n        }\n    };\n    // attach original delegate to patched function\n    attachOriginToPatched(_global[className], OriginalClass);\n    const instance = new OriginalClass(function () { });\n    let prop;\n    for (prop in instance) {\n        // https://bugs.webkit.org/show_bug.cgi?id=44721\n        if (className === 'XMLHttpRequest' && prop === 'responseBlob')\n            continue;\n        (function (prop) {\n            if (typeof instance[prop] === 'function') {\n                _global[className].prototype[prop] = function () {\n                    return this[originalInstanceKey][prop].apply(this[originalInstanceKey], arguments);\n                };\n            }\n            else {\n                ObjectDefineProperty(_global[className].prototype, prop, {\n                    set: function (fn) {\n                        if (typeof fn === 'function') {\n                            this[originalInstanceKey][prop] = wrapWithCurrentZone(fn, className + '.' + prop);\n                            // keep callback in wrapped function so we can\n                            // use it in Function.prototype.toString to return\n                            // the native one.\n                            attachOriginToPatched(this[originalInstanceKey][prop], fn);\n                        }\n                        else {\n                            this[originalInstanceKey][prop] = fn;\n                        }\n                    },\n                    get: function () {\n                        return this[originalInstanceKey][prop];\n                    }\n                });\n            }\n        }(prop));\n    }\n    for (prop in OriginalClass) {\n        if (prop !== 'prototype' && OriginalClass.hasOwnProperty(prop)) {\n            _global[className][prop] = OriginalClass[prop];\n        }\n    }\n}\nfunction copySymbolProperties(src, dest) {\n    if (typeof Object.getOwnPropertySymbols !== 'function') {\n        return;\n    }\n    const symbols = Object.getOwnPropertySymbols(src);\n    symbols.forEach((symbol) => {\n        const desc = Object.getOwnPropertyDescriptor(src, symbol);\n        Object.defineProperty(dest, symbol, {\n            get: function () {\n                return src[symbol];\n            },\n            set: function (value) {\n                if (desc && (!desc.writable || typeof desc.set !== 'function')) {\n                    // if src[symbol] is not writable or not have a setter, just return\n                    return;\n                }\n                src[symbol] = value;\n            },\n            enumerable: desc ? desc.enumerable : true,\n            configurable: desc ? desc.configurable : true\n        });\n    });\n}\nlet shouldCopySymbolProperties = false;\n\nfunction patchMethod(target, name, patchFn) {\n    let proto = target;\n    while (proto && !proto.hasOwnProperty(name)) {\n        proto = ObjectGetPrototypeOf(proto);\n    }\n    if (!proto && target[name]) {\n        // somehow we did not find it, but we can see it. This happens on IE for Window properties.\n        proto = target;\n    }\n    const delegateName = zoneSymbol(name);\n    let delegate = null;\n    if (proto && !(delegate = proto[delegateName])) {\n        delegate = proto[delegateName] = proto[name];\n        // check whether proto[name] is writable\n        // some property is readonly in safari, such as HtmlCanvasElement.prototype.toBlob\n        const desc = proto && ObjectGetOwnPropertyDescriptor(proto, name);\n        if (isPropertyWritable(desc)) {\n            const patchDelegate = patchFn(delegate, delegateName, name);\n            proto[name] = function () {\n                return patchDelegate(this, arguments);\n            };\n            attachOriginToPatched(proto[name], delegate);\n            if (shouldCopySymbolProperties) {\n                copySymbolProperties(delegate, proto[name]);\n            }\n        }\n    }\n    return delegate;\n}\n// TODO: @JiaLiPassion, support cancel task later if necessary\nfunction patchMacroTask(obj, funcName, metaCreator) {\n    let setNative = null;\n    function scheduleTask(task) {\n        const data = task.data;\n        data.args[data.cbIdx] = function () {\n            task.invoke.apply(this, arguments);\n        };\n        setNative.apply(data.target, data.args);\n        return task;\n    }\n    setNative = patchMethod(obj, funcName, (delegate) => function (self, args) {\n        const meta = metaCreator(self, args);\n        if (meta.cbIdx >= 0 && typeof args[meta.cbIdx] === 'function') {\n            return scheduleMacroTaskWithCurrentZone(meta.name, args[meta.cbIdx], meta, scheduleTask);\n        }\n        else {\n            // cause an error by calling it directly.\n            return delegate.apply(self, args);\n        }\n    });\n}\n\nfunction attachOriginToPatched(patched, original) {\n    patched[zoneSymbol('OriginalDelegate')] = original;\n}\nlet isDetectedIEOrEdge = false;\nlet ieOrEdge = false;\nfunction isIE() {\n    try {\n        const ua = internalWindow.navigator.userAgent;\n        if (ua.indexOf('MSIE ') !== -1 || ua.indexOf('Trident/') !== -1) {\n            return true;\n        }\n    }\n    catch (error) {\n    }\n    return false;\n}\nfunction isIEOrEdge() {\n    if (isDetectedIEOrEdge) {\n        return ieOrEdge;\n    }\n    isDetectedIEOrEdge = true;\n    try {\n        const ua = internalWindow.navigator.userAgent;\n        if (ua.indexOf('MSIE ') !== -1 || ua.indexOf('Trident/') !== -1 || ua.indexOf('Edge/') !== -1) {\n            ieOrEdge = true;\n        }\n    }\n    catch (error) {\n    }\n    return ieOrEdge;\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n// override Function.prototype.toString to make zone.js patched function\n// look like native function\nZone.__load_patch('toString', (global) => {\n    // patch Func.prototype.toString to let them look like native\n    const originalFunctionToString = Function.prototype.toString;\n    const ORIGINAL_DELEGATE_SYMBOL = zoneSymbol('OriginalDelegate');\n    const PROMISE_SYMBOL = zoneSymbol('Promise');\n    const ERROR_SYMBOL = zoneSymbol('Error');\n    const newFunctionToString = function toString() {\n        if (typeof this === 'function') {\n            const originalDelegate = this[ORIGINAL_DELEGATE_SYMBOL];\n            if (originalDelegate) {\n                if (typeof originalDelegate === 'function') {\n                    return originalFunctionToString.call(originalDelegate);\n                }\n                else {\n                    return Object.prototype.toString.call(originalDelegate);\n                }\n            }\n            if (this === Promise) {\n                const nativePromise = global[PROMISE_SYMBOL];\n                if (nativePromise) {\n                    return originalFunctionToString.call(nativePromise);\n                }\n            }\n            if (this === Error) {\n                const nativeError = global[ERROR_SYMBOL];\n                if (nativeError) {\n                    return originalFunctionToString.call(nativeError);\n                }\n            }\n        }\n        return originalFunctionToString.call(this);\n    };\n    newFunctionToString[ORIGINAL_DELEGATE_SYMBOL] = originalFunctionToString;\n    Function.prototype.toString = newFunctionToString;\n    // patch Object.prototype.toString to let them look like native\n    const originalObjectToString = Object.prototype.toString;\n    const PROMISE_OBJECT_TO_STRING = '[object Promise]';\n    Object.prototype.toString = function () {\n        if (this instanceof Promise) {\n            return PROMISE_OBJECT_TO_STRING;\n        }\n        return originalObjectToString.call(this);\n    };\n});\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * @fileoverview\n * @suppress {missingRequire}\n */\nlet passiveSupported = false;\nif (typeof window !== 'undefined') {\n    try {\n        const options = Object.defineProperty({}, 'passive', {\n            get: function () {\n                passiveSupported = true;\n            }\n        });\n        window.addEventListener('test', options, options);\n        window.removeEventListener('test', options, options);\n    }\n    catch (err) {\n        passiveSupported = false;\n    }\n}\n// an identifier to tell ZoneTask do not create a new invoke closure\nconst OPTIMIZED_ZONE_EVENT_TASK_DATA = {\n    useG: true\n};\nconst zoneSymbolEventNames$1 = {};\nconst globalSources = {};\nconst EVENT_NAME_SYMBOL_REGX = /^__zone_symbol__(\\w+)(true|false)$/;\nconst IMMEDIATE_PROPAGATION_SYMBOL = ('__zone_symbol__propagationStopped');\nfunction patchEventTarget(_global, apis, patchOptions) {\n    const ADD_EVENT_LISTENER = (patchOptions && patchOptions.add) || ADD_EVENT_LISTENER_STR;\n    const REMOVE_EVENT_LISTENER = (patchOptions && patchOptions.rm) || REMOVE_EVENT_LISTENER_STR;\n    const LISTENERS_EVENT_LISTENER = (patchOptions && patchOptions.listeners) || 'eventListeners';\n    const REMOVE_ALL_LISTENERS_EVENT_LISTENER = (patchOptions && patchOptions.rmAll) || 'removeAllListeners';\n    const zoneSymbolAddEventListener = zoneSymbol(ADD_EVENT_LISTENER);\n    const ADD_EVENT_LISTENER_SOURCE = '.' + ADD_EVENT_LISTENER + ':';\n    const PREPEND_EVENT_LISTENER = 'prependListener';\n    const PREPEND_EVENT_LISTENER_SOURCE = '.' + PREPEND_EVENT_LISTENER + ':';\n    const invokeTask = function (task, target, event) {\n        // for better performance, check isRemoved which is set\n        // by removeEventListener\n        if (task.isRemoved) {\n            return;\n        }\n        const delegate = task.callback;\n        if (typeof delegate === 'object' && delegate.handleEvent) {\n            // create the bind version of handleEvent when invoke\n            task.callback = (event) => delegate.handleEvent(event);\n            task.originalDelegate = delegate;\n        }\n        // invoke static task.invoke\n        task.invoke(task, target, [event]);\n        const options = task.options;\n        if (options && typeof options === 'object' && options.once) {\n            // if options.once is true, after invoke once remove listener here\n            // only browser need to do this, nodejs eventEmitter will cal removeListener\n            // inside EventEmitter.once\n            const delegate = task.originalDelegate ? task.originalDelegate : task.callback;\n            target[REMOVE_EVENT_LISTENER].call(target, event.type, delegate, options);\n        }\n    };\n    // global shared zoneAwareCallback to handle all event callback with capture = false\n    const globalZoneAwareCallback = function (event) {\n        // https://github.com/angular/zone.js/issues/911, in IE, sometimes\n        // event will be undefined, so we need to use window.event\n        event = event || _global.event;\n        if (!event) {\n            return;\n        }\n        // event.target is needed for Samsung TV and SourceBuffer\n        // || global is needed https://github.com/angular/zone.js/issues/190\n        const target = this || event.target || _global;\n        const tasks = target[zoneSymbolEventNames$1[event.type][FALSE_STR]];\n        if (tasks) {\n            // invoke all tasks which attached to current target with given event.type and capture = false\n            // for performance concern, if task.length === 1, just invoke\n            if (tasks.length === 1) {\n                invokeTask(tasks[0], target, event);\n            }\n            else {\n                // https://github.com/angular/zone.js/issues/836\n                // copy the tasks array before invoke, to avoid\n                // the callback will remove itself or other listener\n                const copyTasks = tasks.slice();\n                for (let i = 0; i < copyTasks.length; i++) {\n                    if (event && event[IMMEDIATE_PROPAGATION_SYMBOL] === true) {\n                        break;\n                    }\n                    invokeTask(copyTasks[i], target, event);\n                }\n            }\n        }\n    };\n    // global shared zoneAwareCallback to handle all event callback with capture = true\n    const globalZoneAwareCaptureCallback = function (event) {\n        // https://github.com/angular/zone.js/issues/911, in IE, sometimes\n        // event will be undefined, so we need to use window.event\n        event = event || _global.event;\n        if (!event) {\n            return;\n        }\n        // event.target is needed for Samsung TV and SourceBuffer\n        // || global is needed https://github.com/angular/zone.js/issues/190\n        const target = this || event.target || _global;\n        const tasks = target[zoneSymbolEventNames$1[event.type][TRUE_STR]];\n        if (tasks) {\n            // invoke all tasks which attached to current target with given event.type and capture = false\n            // for performance concern, if task.length === 1, just invoke\n            if (tasks.length === 1) {\n                invokeTask(tasks[0], target, event);\n            }\n            else {\n                // https://github.com/angular/zone.js/issues/836\n                // copy the tasks array before invoke, to avoid\n                // the callback will remove itself or other listener\n                const copyTasks = tasks.slice();\n                for (let i = 0; i < copyTasks.length; i++) {\n                    if (event && event[IMMEDIATE_PROPAGATION_SYMBOL] === true) {\n                        break;\n                    }\n                    invokeTask(copyTasks[i], target, event);\n                }\n            }\n        }\n    };\n    function patchEventTargetMethods(obj, patchOptions) {\n        if (!obj) {\n            return false;\n        }\n        let useGlobalCallback = true;\n        if (patchOptions && patchOptions.useG !== undefined) {\n            useGlobalCallback = patchOptions.useG;\n        }\n        const validateHandler = patchOptions && patchOptions.vh;\n        let checkDuplicate = true;\n        if (patchOptions && patchOptions.chkDup !== undefined) {\n            checkDuplicate = patchOptions.chkDup;\n        }\n        let returnTarget = false;\n        if (patchOptions && patchOptions.rt !== undefined) {\n            returnTarget = patchOptions.rt;\n        }\n        let proto = obj;\n        while (proto && !proto.hasOwnProperty(ADD_EVENT_LISTENER)) {\n            proto = ObjectGetPrototypeOf(proto);\n        }\n        if (!proto && obj[ADD_EVENT_LISTENER]) {\n            // somehow we did not find it, but we can see it. This happens on IE for Window properties.\n            proto = obj;\n        }\n        if (!proto) {\n            return false;\n        }\n        if (proto[zoneSymbolAddEventListener]) {\n            return false;\n        }\n        const eventNameToString = patchOptions && patchOptions.eventNameToString;\n        // a shared global taskData to pass data for scheduleEventTask\n        // so we do not need to create a new object just for pass some data\n        const taskData = {};\n        const nativeAddEventListener = proto[zoneSymbolAddEventListener] = proto[ADD_EVENT_LISTENER];\n        const nativeRemoveEventListener = proto[zoneSymbol(REMOVE_EVENT_LISTENER)] =\n            proto[REMOVE_EVENT_LISTENER];\n        const nativeListeners = proto[zoneSymbol(LISTENERS_EVENT_LISTENER)] =\n            proto[LISTENERS_EVENT_LISTENER];\n        const nativeRemoveAllListeners = proto[zoneSymbol(REMOVE_ALL_LISTENERS_EVENT_LISTENER)] =\n            proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER];\n        let nativePrependEventListener;\n        if (patchOptions && patchOptions.prepend) {\n            nativePrependEventListener = proto[zoneSymbol(patchOptions.prepend)] =\n                proto[patchOptions.prepend];\n        }\n        function checkIsPassive(task) {\n            if (!passiveSupported && typeof taskData.options !== 'boolean' &&\n                typeof taskData.options !== 'undefined' && taskData.options !== null) {\n                // options is a non-null non-undefined object\n                // passive is not supported\n                // don't pass options as object\n                // just pass capture as a boolean\n                task.options = !!taskData.options.capture;\n                taskData.options = task.options;\n            }\n        }\n        const customScheduleGlobal = function (task) {\n            // if there is already a task for the eventName + capture,\n            // just return, because we use the shared globalZoneAwareCallback here.\n            if (taskData.isExisting) {\n                return;\n            }\n            checkIsPassive(task);\n            return nativeAddEventListener.call(taskData.target, taskData.eventName, taskData.capture ? globalZoneAwareCaptureCallback : globalZoneAwareCallback, taskData.options);\n        };\n        const customCancelGlobal = function (task) {\n            // if task is not marked as isRemoved, this call is directly\n            // from Zone.prototype.cancelTask, we should remove the task\n            // from tasksList of target first\n            if (!task.isRemoved) {\n                const symbolEventNames = zoneSymbolEventNames$1[task.eventName];\n                let symbolEventName;\n                if (symbolEventNames) {\n                    symbolEventName = symbolEventNames[task.capture ? TRUE_STR : FALSE_STR];\n                }\n                const existingTasks = symbolEventName && task.target[symbolEventName];\n                if (existingTasks) {\n                    for (let i = 0; i < existingTasks.length; i++) {\n                        const existingTask = existingTasks[i];\n                        if (existingTask === task) {\n                            existingTasks.splice(i, 1);\n                            // set isRemoved to data for faster invokeTask check\n                            task.isRemoved = true;\n                            if (existingTasks.length === 0) {\n                                // all tasks for the eventName + capture have gone,\n                                // remove globalZoneAwareCallback and remove the task cache from target\n                                task.allRemoved = true;\n                                task.target[symbolEventName] = null;\n                            }\n                            break;\n                        }\n                    }\n                }\n            }\n            // if all tasks for the eventName + capture have gone,\n            // we will really remove the global event callback,\n            // if not, return\n            if (!task.allRemoved) {\n                return;\n            }\n            return nativeRemoveEventListener.call(task.target, task.eventName, task.capture ? globalZoneAwareCaptureCallback : globalZoneAwareCallback, task.options);\n        };\n        const customScheduleNonGlobal = function (task) {\n            checkIsPassive(task);\n            return nativeAddEventListener.call(taskData.target, taskData.eventName, task.invoke, taskData.options);\n        };\n        const customSchedulePrepend = function (task) {\n            return nativePrependEventListener.call(taskData.target, taskData.eventName, task.invoke, taskData.options);\n        };\n        const customCancelNonGlobal = function (task) {\n            return nativeRemoveEventListener.call(task.target, task.eventName, task.invoke, task.options);\n        };\n        const customSchedule = useGlobalCallback ? customScheduleGlobal : customScheduleNonGlobal;\n        const customCancel = useGlobalCallback ? customCancelGlobal : customCancelNonGlobal;\n        const compareTaskCallbackVsDelegate = function (task, delegate) {\n            const typeOfDelegate = typeof delegate;\n            return (typeOfDelegate === 'function' && task.callback === delegate) ||\n                (typeOfDelegate === 'object' && task.originalDelegate === delegate);\n        };\n        const compare = (patchOptions && patchOptions.diff) ? patchOptions.diff : compareTaskCallbackVsDelegate;\n        const blackListedEvents = Zone[Zone.__symbol__('BLACK_LISTED_EVENTS')];\n        const makeAddListener = function (nativeListener, addSource, customScheduleFn, customCancelFn, returnTarget = false, prepend = false) {\n            return function () {\n                const target = this || _global;\n                const eventName = arguments[0];\n                let delegate = arguments[1];\n                if (!delegate) {\n                    return nativeListener.apply(this, arguments);\n                }\n                if (isNode && eventName === 'uncaughtException') {\n                    // don't patch uncaughtException of nodejs to prevent endless loop\n                    return nativeListener.apply(this, arguments);\n                }\n                // don't create the bind delegate function for handleEvent\n                // case here to improve addEventListener performance\n                // we will create the bind delegate when invoke\n                let isHandleEvent = false;\n                if (typeof delegate !== 'function') {\n                    if (!delegate.handleEvent) {\n                        return nativeListener.apply(this, arguments);\n                    }\n                    isHandleEvent = true;\n                }\n                if (validateHandler && !validateHandler(nativeListener, delegate, target, arguments)) {\n                    return;\n                }\n                const options = arguments[2];\n                if (blackListedEvents) {\n                    // check black list\n                    for (let i = 0; i < blackListedEvents.length; i++) {\n                        if (eventName === blackListedEvents[i]) {\n                            return nativeListener.apply(this, arguments);\n                        }\n                    }\n                }\n                let capture;\n                let once = false;\n                if (options === undefined) {\n                    capture = false;\n                }\n                else if (options === true) {\n                    capture = true;\n                }\n                else if (options === false) {\n                    capture = false;\n                }\n                else {\n                    capture = options ? !!options.capture : false;\n                    once = options ? !!options.once : false;\n                }\n                const zone = Zone.current;\n                const symbolEventNames = zoneSymbolEventNames$1[eventName];\n                let symbolEventName;\n                if (!symbolEventNames) {\n                    // the code is duplicate, but I just want to get some better performance\n                    const falseEventName = (eventNameToString ? eventNameToString(eventName) : eventName) + FALSE_STR;\n                    const trueEventName = (eventNameToString ? eventNameToString(eventName) : eventName) + TRUE_STR;\n                    const symbol = ZONE_SYMBOL_PREFIX + falseEventName;\n                    const symbolCapture = ZONE_SYMBOL_PREFIX + trueEventName;\n                    zoneSymbolEventNames$1[eventName] = {};\n                    zoneSymbolEventNames$1[eventName][FALSE_STR] = symbol;\n                    zoneSymbolEventNames$1[eventName][TRUE_STR] = symbolCapture;\n                    symbolEventName = capture ? symbolCapture : symbol;\n                }\n                else {\n                    symbolEventName = symbolEventNames[capture ? TRUE_STR : FALSE_STR];\n                }\n                let existingTasks = target[symbolEventName];\n                let isExisting = false;\n                if (existingTasks) {\n                    // already have task registered\n                    isExisting = true;\n                    if (checkDuplicate) {\n                        for (let i = 0; i < existingTasks.length; i++) {\n                            if (compare(existingTasks[i], delegate)) {\n                                // same callback, same capture, same event name, just return\n                                return;\n                            }\n                        }\n                    }\n                }\n                else {\n                    existingTasks = target[symbolEventName] = [];\n                }\n                let source;\n                const constructorName = target.constructor['name'];\n                const targetSource = globalSources[constructorName];\n                if (targetSource) {\n                    source = targetSource[eventName];\n                }\n                if (!source) {\n                    source = constructorName + addSource +\n                        (eventNameToString ? eventNameToString(eventName) : eventName);\n                }\n                // do not create a new object as task.data to pass those things\n                // just use the global shared one\n                taskData.options = options;\n                if (once) {\n                    // if addEventListener with once options, we don't pass it to\n                    // native addEventListener, instead we keep the once setting\n                    // and handle ourselves.\n                    taskData.options.once = false;\n                }\n                taskData.target = target;\n                taskData.capture = capture;\n                taskData.eventName = eventName;\n                taskData.isExisting = isExisting;\n                const data = useGlobalCallback ? OPTIMIZED_ZONE_EVENT_TASK_DATA : undefined;\n                // keep taskData into data to allow onScheduleEventTask to access the task information\n                if (data) {\n                    data.taskData = taskData;\n                }\n                const task = zone.scheduleEventTask(source, delegate, data, customScheduleFn, customCancelFn);\n                // should clear taskData.target to avoid memory leak\n                // issue, https://github.com/angular/angular/issues/20442\n                taskData.target = null;\n                // need to clear up taskData because it is a global object\n                if (data) {\n                    data.taskData = null;\n                }\n                // have to save those information to task in case\n                // application may call task.zone.cancelTask() directly\n                if (once) {\n                    options.once = true;\n                }\n                if (!(!passiveSupported && typeof task.options === 'boolean')) {\n                    // if not support passive, and we pass an option object\n                    // to addEventListener, we should save the options to task\n                    task.options = options;\n                }\n                task.target = target;\n                task.capture = capture;\n                task.eventName = eventName;\n                if (isHandleEvent) {\n                    // save original delegate for compare to check duplicate\n                    task.originalDelegate = delegate;\n                }\n                if (!prepend) {\n                    existingTasks.push(task);\n                }\n                else {\n                    existingTasks.unshift(task);\n                }\n                if (returnTarget) {\n                    return target;\n                }\n            };\n        };\n        proto[ADD_EVENT_LISTENER] = makeAddListener(nativeAddEventListener, ADD_EVENT_LISTENER_SOURCE, customSchedule, customCancel, returnTarget);\n        if (nativePrependEventListener) {\n            proto[PREPEND_EVENT_LISTENER] = makeAddListener(nativePrependEventListener, PREPEND_EVENT_LISTENER_SOURCE, customSchedulePrepend, customCancel, returnTarget, true);\n        }\n        proto[REMOVE_EVENT_LISTENER] = function () {\n            const target = this || _global;\n            const eventName = arguments[0];\n            const options = arguments[2];\n            let capture;\n            if (options === undefined) {\n                capture = false;\n            }\n            else if (options === true) {\n                capture = true;\n            }\n            else if (options === false) {\n                capture = false;\n            }\n            else {\n                capture = options ? !!options.capture : false;\n            }\n            const delegate = arguments[1];\n            if (!delegate) {\n                return nativeRemoveEventListener.apply(this, arguments);\n            }\n            if (validateHandler &&\n                !validateHandler(nativeRemoveEventListener, delegate, target, arguments)) {\n                return;\n            }\n            const symbolEventNames = zoneSymbolEventNames$1[eventName];\n            let symbolEventName;\n            if (symbolEventNames) {\n                symbolEventName = symbolEventNames[capture ? TRUE_STR : FALSE_STR];\n            }\n            const existingTasks = symbolEventName && target[symbolEventName];\n            if (existingTasks) {\n                for (let i = 0; i < existingTasks.length; i++) {\n                    const existingTask = existingTasks[i];\n                    if (compare(existingTask, delegate)) {\n                        existingTasks.splice(i, 1);\n                        // set isRemoved to data for faster invokeTask check\n                        existingTask.isRemoved = true;\n                        if (existingTasks.length === 0) {\n                            // all tasks for the eventName + capture have gone,\n                            // remove globalZoneAwareCallback and remove the task cache from target\n                            existingTask.allRemoved = true;\n                            target[symbolEventName] = null;\n                        }\n                        existingTask.zone.cancelTask(existingTask);\n                        if (returnTarget) {\n                            return target;\n                        }\n                        return;\n                    }\n                }\n            }\n            // issue 930, didn't find the event name or callback\n            // from zone kept existingTasks, the callback maybe\n            // added outside of zone, we need to call native removeEventListener\n            // to try to remove it.\n            return nativeRemoveEventListener.apply(this, arguments);\n        };\n        proto[LISTENERS_EVENT_LISTENER] = function () {\n            const target = this || _global;\n            const eventName = arguments[0];\n            const listeners = [];\n            const tasks = findEventTasks(target, eventNameToString ? eventNameToString(eventName) : eventName);\n            for (let i = 0; i < tasks.length; i++) {\n                const task = tasks[i];\n                let delegate = task.originalDelegate ? task.originalDelegate : task.callback;\n                listeners.push(delegate);\n            }\n            return listeners;\n        };\n        proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER] = function () {\n            const target = this || _global;\n            const eventName = arguments[0];\n            if (!eventName) {\n                const keys = Object.keys(target);\n                for (let i = 0; i < keys.length; i++) {\n                    const prop = keys[i];\n                    const match = EVENT_NAME_SYMBOL_REGX.exec(prop);\n                    let evtName = match && match[1];\n                    // in nodejs EventEmitter, removeListener event is\n                    // used for monitoring the removeListener call,\n                    // so just keep removeListener eventListener until\n                    // all other eventListeners are removed\n                    if (evtName && evtName !== 'removeListener') {\n                        this[REMOVE_ALL_LISTENERS_EVENT_LISTENER].call(this, evtName);\n                    }\n                }\n                // remove removeListener listener finally\n                this[REMOVE_ALL_LISTENERS_EVENT_LISTENER].call(this, 'removeListener');\n            }\n            else {\n                const symbolEventNames = zoneSymbolEventNames$1[eventName];\n                if (symbolEventNames) {\n                    const symbolEventName = symbolEventNames[FALSE_STR];\n                    const symbolCaptureEventName = symbolEventNames[TRUE_STR];\n                    const tasks = target[symbolEventName];\n                    const captureTasks = target[symbolCaptureEventName];\n                    if (tasks) {\n                        const removeTasks = tasks.slice();\n                        for (let i = 0; i < removeTasks.length; i++) {\n                            const task = removeTasks[i];\n                            let delegate = task.originalDelegate ? task.originalDelegate : task.callback;\n                            this[REMOVE_EVENT_LISTENER].call(this, eventName, delegate, task.options);\n                        }\n                    }\n                    if (captureTasks) {\n                        const removeTasks = captureTasks.slice();\n                        for (let i = 0; i < removeTasks.length; i++) {\n                            const task = removeTasks[i];\n                            let delegate = task.originalDelegate ? task.originalDelegate : task.callback;\n                            this[REMOVE_EVENT_LISTENER].call(this, eventName, delegate, task.options);\n                        }\n                    }\n                }\n            }\n            if (returnTarget) {\n                return this;\n            }\n        };\n        // for native toString patch\n        attachOriginToPatched(proto[ADD_EVENT_LISTENER], nativeAddEventListener);\n        attachOriginToPatched(proto[REMOVE_EVENT_LISTENER], nativeRemoveEventListener);\n        if (nativeRemoveAllListeners) {\n            attachOriginToPatched(proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER], nativeRemoveAllListeners);\n        }\n        if (nativeListeners) {\n            attachOriginToPatched(proto[LISTENERS_EVENT_LISTENER], nativeListeners);\n        }\n        return true;\n    }\n    let results = [];\n    for (let i = 0; i < apis.length; i++) {\n        results[i] = patchEventTargetMethods(apis[i], patchOptions);\n    }\n    return results;\n}\nfunction findEventTasks(target, eventName) {\n    const foundTasks = [];\n    for (let prop in target) {\n        const match = EVENT_NAME_SYMBOL_REGX.exec(prop);\n        let evtName = match && match[1];\n        if (evtName && (!eventName || evtName === eventName)) {\n            const tasks = target[prop];\n            if (tasks) {\n                for (let i = 0; i < tasks.length; i++) {\n                    foundTasks.push(tasks[i]);\n                }\n            }\n        }\n    }\n    return foundTasks;\n}\nfunction patchEventPrototype(global, api) {\n    const Event = global['Event'];\n    if (Event && Event.prototype) {\n        api.patchMethod(Event.prototype, 'stopImmediatePropagation', (delegate) => function (self, args) {\n            self[IMMEDIATE_PROPAGATION_SYMBOL] = true;\n            // we need to call the native stopImmediatePropagation\n            // in case in some hybrid application, some part of\n            // application will be controlled by zone, some are not\n            delegate && delegate.apply(self, args);\n        });\n    }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction patchCallbacks(api, target, targetName, method, callbacks) {\n    const symbol = Zone.__symbol__(method);\n    if (target[symbol]) {\n        return;\n    }\n    const nativeDelegate = target[symbol] = target[method];\n    target[method] = function (name, opts, options) {\n        if (opts && opts.prototype) {\n            callbacks.forEach(function (callback) {\n                const source = `${targetName}.${method}::` + callback;\n                const prototype = opts.prototype;\n                if (prototype.hasOwnProperty(callback)) {\n                    const descriptor = api.ObjectGetOwnPropertyDescriptor(prototype, callback);\n                    if (descriptor && descriptor.value) {\n                        descriptor.value = api.wrapWithCurrentZone(descriptor.value, source);\n                        api._redefineProperty(opts.prototype, callback, descriptor);\n                    }\n                    else if (prototype[callback]) {\n                        prototype[callback] = api.wrapWithCurrentZone(prototype[callback], source);\n                    }\n                }\n                else if (prototype[callback]) {\n                    prototype[callback] = api.wrapWithCurrentZone(prototype[callback], source);\n                }\n            });\n        }\n        return nativeDelegate.call(target, name, opts, options);\n    };\n    api.attachOriginToPatched(target[method], nativeDelegate);\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/*\n * This is necessary for Chrome and Chrome mobile, to enable\n * things like redefining `createdCallback` on an element.\n */\nconst zoneSymbol$1 = Zone.__symbol__;\nconst _defineProperty = Object[zoneSymbol$1('defineProperty')] = Object.defineProperty;\nconst _getOwnPropertyDescriptor = Object[zoneSymbol$1('getOwnPropertyDescriptor')] =\n    Object.getOwnPropertyDescriptor;\nconst _create = Object.create;\nconst unconfigurablesKey = zoneSymbol$1('unconfigurables');\nfunction propertyPatch() {\n    Object.defineProperty = function (obj, prop, desc) {\n        if (isUnconfigurable(obj, prop)) {\n            throw new TypeError('Cannot assign to read only property \\'' + prop + '\\' of ' + obj);\n        }\n        const originalConfigurableFlag = desc.configurable;\n        if (prop !== 'prototype') {\n            desc = rewriteDescriptor(obj, prop, desc);\n        }\n        return _tryDefineProperty(obj, prop, desc, originalConfigurableFlag);\n    };\n    Object.defineProperties = function (obj, props) {\n        Object.keys(props).forEach(function (prop) {\n            Object.defineProperty(obj, prop, props[prop]);\n        });\n        return obj;\n    };\n    Object.create = function (obj, proto) {\n        if (typeof proto === 'object' && !Object.isFrozen(proto)) {\n            Object.keys(proto).forEach(function (prop) {\n                proto[prop] = rewriteDescriptor(obj, prop, proto[prop]);\n            });\n        }\n        return _create(obj, proto);\n    };\n    Object.getOwnPropertyDescriptor = function (obj, prop) {\n        const desc = _getOwnPropertyDescriptor(obj, prop);\n        if (desc && isUnconfigurable(obj, prop)) {\n            desc.configurable = false;\n        }\n        return desc;\n    };\n}\nfunction _redefineProperty(obj, prop, desc) {\n    const originalConfigurableFlag = desc.configurable;\n    desc = rewriteDescriptor(obj, prop, desc);\n    return _tryDefineProperty(obj, prop, desc, originalConfigurableFlag);\n}\nfunction isUnconfigurable(obj, prop) {\n    return obj && obj[unconfigurablesKey] && obj[unconfigurablesKey][prop];\n}\nfunction rewriteDescriptor(obj, prop, desc) {\n    // issue-927, if the desc is frozen, don't try to change the desc\n    if (!Object.isFrozen(desc)) {\n        desc.configurable = true;\n    }\n    if (!desc.configurable) {\n        // issue-927, if the obj is frozen, don't try to set the desc to obj\n        if (!obj[unconfigurablesKey] && !Object.isFrozen(obj)) {\n            _defineProperty(obj, unconfigurablesKey, { writable: true, value: {} });\n        }\n        if (obj[unconfigurablesKey]) {\n            obj[unconfigurablesKey][prop] = true;\n        }\n    }\n    return desc;\n}\nfunction _tryDefineProperty(obj, prop, desc, originalConfigurableFlag) {\n    try {\n        return _defineProperty(obj, prop, desc);\n    }\n    catch (error) {\n        if (desc.configurable) {\n            // In case of errors, when the configurable flag was likely set by rewriteDescriptor(), let's\n            // retry with the original flag value\n            if (typeof originalConfigurableFlag == 'undefined') {\n                delete desc.configurable;\n            }\n            else {\n                desc.configurable = originalConfigurableFlag;\n            }\n            try {\n                return _defineProperty(obj, prop, desc);\n            }\n            catch (error) {\n                let descJson = null;\n                try {\n                    descJson = JSON.stringify(desc);\n                }\n                catch (error) {\n                    descJson = desc.toString();\n                }\n                console.log(`Attempting to configure '${prop}' with descriptor '${descJson}' on object '${obj}' and got error, giving up: ${error}`);\n            }\n        }\n        else {\n            throw error;\n        }\n    }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * @fileoverview\n * @suppress {globalThis}\n */\nconst globalEventHandlersEventNames = [\n    'abort',\n    'animationcancel',\n    'animationend',\n    'animationiteration',\n    'auxclick',\n    'beforeinput',\n    'blur',\n    'cancel',\n    'canplay',\n    'canplaythrough',\n    'change',\n    'compositionstart',\n    'compositionupdate',\n    'compositionend',\n    'cuechange',\n    'click',\n    'close',\n    'contextmenu',\n    'curechange',\n    'dblclick',\n    'drag',\n    'dragend',\n    'dragenter',\n    'dragexit',\n    'dragleave',\n    'dragover',\n    'drop',\n    'durationchange',\n    'emptied',\n    'ended',\n    'error',\n    'focus',\n    'focusin',\n    'focusout',\n    'gotpointercapture',\n    'input',\n    'invalid',\n    'keydown',\n    'keypress',\n    'keyup',\n    'load',\n    'loadstart',\n    'loadeddata',\n    'loadedmetadata',\n    'lostpointercapture',\n    'mousedown',\n    'mouseenter',\n    'mouseleave',\n    'mousemove',\n    'mouseout',\n    'mouseover',\n    'mouseup',\n    'mousewheel',\n    'orientationchange',\n    'pause',\n    'play',\n    'playing',\n    'pointercancel',\n    'pointerdown',\n    'pointerenter',\n    'pointerleave',\n    'pointerlockchange',\n    'mozpointerlockchange',\n    'webkitpointerlockerchange',\n    'pointerlockerror',\n    'mozpointerlockerror',\n    'webkitpointerlockerror',\n    'pointermove',\n    'pointout',\n    'pointerover',\n    'pointerup',\n    'progress',\n    'ratechange',\n    'reset',\n    'resize',\n    'scroll',\n    'seeked',\n    'seeking',\n    'select',\n    'selectionchange',\n    'selectstart',\n    'show',\n    'sort',\n    'stalled',\n    'submit',\n    'suspend',\n    'timeupdate',\n    'volumechange',\n    'touchcancel',\n    'touchmove',\n    'touchstart',\n    'touchend',\n    'transitioncancel',\n    'transitionend',\n    'waiting',\n    'wheel'\n];\nconst documentEventNames = [\n    'afterscriptexecute', 'beforescriptexecute', 'DOMContentLoaded', 'freeze', 'fullscreenchange',\n    'mozfullscreenchange', 'webkitfullscreenchange', 'msfullscreenchange', 'fullscreenerror',\n    'mozfullscreenerror', 'webkitfullscreenerror', 'msfullscreenerror', 'readystatechange',\n    'visibilitychange', 'resume'\n];\nconst windowEventNames = [\n    'absolutedeviceorientation',\n    'afterinput',\n    'afterprint',\n    'appinstalled',\n    'beforeinstallprompt',\n    'beforeprint',\n    'beforeunload',\n    'devicelight',\n    'devicemotion',\n    'deviceorientation',\n    'deviceorientationabsolute',\n    'deviceproximity',\n    'hashchange',\n    'languagechange',\n    'message',\n    'mozbeforepaint',\n    'offline',\n    'online',\n    'paint',\n    'pageshow',\n    'pagehide',\n    'popstate',\n    'rejectionhandled',\n    'storage',\n    'unhandledrejection',\n    'unload',\n    'userproximity',\n    'vrdisplyconnected',\n    'vrdisplaydisconnected',\n    'vrdisplaypresentchange'\n];\nconst htmlElementEventNames = [\n    'beforecopy', 'beforecut', 'beforepaste', 'copy', 'cut', 'paste', 'dragstart', 'loadend',\n    'animationstart', 'search', 'transitionrun', 'transitionstart', 'webkitanimationend',\n    'webkitanimationiteration', 'webkitanimationstart', 'webkittransitionend'\n];\nconst mediaElementEventNames = ['encrypted', 'waitingforkey', 'msneedkey', 'mozinterruptbegin', 'mozinterruptend'];\nconst ieElementEventNames = [\n    'activate',\n    'afterupdate',\n    'ariarequest',\n    'beforeactivate',\n    'beforedeactivate',\n    'beforeeditfocus',\n    'beforeupdate',\n    'cellchange',\n    'controlselect',\n    'dataavailable',\n    'datasetchanged',\n    'datasetcomplete',\n    'errorupdate',\n    'filterchange',\n    'layoutcomplete',\n    'losecapture',\n    'move',\n    'moveend',\n    'movestart',\n    'propertychange',\n    'resizeend',\n    'resizestart',\n    'rowenter',\n    'rowexit',\n    'rowsdelete',\n    'rowsinserted',\n    'command',\n    'compassneedscalibration',\n    'deactivate',\n    'help',\n    'mscontentzoom',\n    'msmanipulationstatechanged',\n    'msgesturechange',\n    'msgesturedoubletap',\n    'msgestureend',\n    'msgesturehold',\n    'msgesturestart',\n    'msgesturetap',\n    'msgotpointercapture',\n    'msinertiastart',\n    'mslostpointercapture',\n    'mspointercancel',\n    'mspointerdown',\n    'mspointerenter',\n    'mspointerhover',\n    'mspointerleave',\n    'mspointermove',\n    'mspointerout',\n    'mspointerover',\n    'mspointerup',\n    'pointerout',\n    'mssitemodejumplistitemremoved',\n    'msthumbnailclick',\n    'stop',\n    'storagecommit'\n];\nconst webglEventNames = ['webglcontextrestored', 'webglcontextlost', 'webglcontextcreationerror'];\nconst formEventNames = ['autocomplete', 'autocompleteerror'];\nconst detailEventNames = ['toggle'];\nconst frameEventNames = ['load'];\nconst frameSetEventNames = ['blur', 'error', 'focus', 'load', 'resize', 'scroll', 'messageerror'];\nconst marqueeEventNames = ['bounce', 'finish', 'start'];\nconst XMLHttpRequestEventNames = [\n    'loadstart', 'progress', 'abort', 'error', 'load', 'progress', 'timeout', 'loadend',\n    'readystatechange'\n];\nconst IDBIndexEventNames = ['upgradeneeded', 'complete', 'abort', 'success', 'error', 'blocked', 'versionchange', 'close'];\nconst websocketEventNames = ['close', 'error', 'open', 'message'];\nconst workerEventNames = ['error', 'message'];\nconst eventNames = globalEventHandlersEventNames.concat(webglEventNames, formEventNames, detailEventNames, documentEventNames, windowEventNames, htmlElementEventNames, ieElementEventNames);\nfunction filterProperties(target, onProperties, ignoreProperties) {\n    if (!ignoreProperties || ignoreProperties.length === 0) {\n        return onProperties;\n    }\n    const tip = ignoreProperties.filter(ip => ip.target === target);\n    if (!tip || tip.length === 0) {\n        return onProperties;\n    }\n    const targetIgnoreProperties = tip[0].ignoreProperties;\n    return onProperties.filter(op => targetIgnoreProperties.indexOf(op) === -1);\n}\nfunction patchFilteredProperties(target, onProperties, ignoreProperties, prototype) {\n    // check whether target is available, sometimes target will be undefined\n    // because different browser or some 3rd party plugin.\n    if (!target) {\n        return;\n    }\n    const filteredProperties = filterProperties(target, onProperties, ignoreProperties);\n    patchOnProperties(target, filteredProperties, prototype);\n}\nfunction propertyDescriptorPatch(api, _global) {\n    if (isNode && !isMix) {\n        return;\n    }\n    if (Zone[api.symbol('patchEvents')]) {\n        // events are already been patched by legacy patch.\n        return;\n    }\n    const supportsWebSocket = typeof WebSocket !== 'undefined';\n    const ignoreProperties = _global['__Zone_ignore_on_properties'];\n    // for browsers that we can patch the descriptor:  Chrome & Firefox\n    if (isBrowser) {\n        const internalWindow = window;\n        const ignoreErrorProperties = isIE ? [{ target: internalWindow, ignoreProperties: ['error'] }] : [];\n        // in IE/Edge, onProp not exist in window object, but in WindowPrototype\n        // so we need to pass WindowPrototype to check onProp exist or not\n        patchFilteredProperties(internalWindow, eventNames.concat(['messageerror']), ignoreProperties ? ignoreProperties.concat(ignoreErrorProperties) : ignoreProperties, ObjectGetPrototypeOf(internalWindow));\n        patchFilteredProperties(Document.prototype, eventNames, ignoreProperties);\n        if (typeof internalWindow['SVGElement'] !== 'undefined') {\n            patchFilteredProperties(internalWindow['SVGElement'].prototype, eventNames, ignoreProperties);\n        }\n        patchFilteredProperties(Element.prototype, eventNames, ignoreProperties);\n        patchFilteredProperties(HTMLElement.prototype, eventNames, ignoreProperties);\n        patchFilteredProperties(HTMLMediaElement.prototype, mediaElementEventNames, ignoreProperties);\n        patchFilteredProperties(HTMLFrameSetElement.prototype, windowEventNames.concat(frameSetEventNames), ignoreProperties);\n        patchFilteredProperties(HTMLBodyElement.prototype, windowEventNames.concat(frameSetEventNames), ignoreProperties);\n        patchFilteredProperties(HTMLFrameElement.prototype, frameEventNames, ignoreProperties);\n        patchFilteredProperties(HTMLIFrameElement.prototype, frameEventNames, ignoreProperties);\n        const HTMLMarqueeElement = internalWindow['HTMLMarqueeElement'];\n        if (HTMLMarqueeElement) {\n            patchFilteredProperties(HTMLMarqueeElement.prototype, marqueeEventNames, ignoreProperties);\n        }\n        const Worker = internalWindow['Worker'];\n        if (Worker) {\n            patchFilteredProperties(Worker.prototype, workerEventNames, ignoreProperties);\n        }\n    }\n    const XMLHttpRequest = _global['XMLHttpRequest'];\n    if (XMLHttpRequest) {\n        // XMLHttpRequest is not available in ServiceWorker, so we need to check here\n        patchFilteredProperties(XMLHttpRequest.prototype, XMLHttpRequestEventNames, ignoreProperties);\n    }\n    const XMLHttpRequestEventTarget = _global['XMLHttpRequestEventTarget'];\n    if (XMLHttpRequestEventTarget) {\n        patchFilteredProperties(XMLHttpRequestEventTarget && XMLHttpRequestEventTarget.prototype, XMLHttpRequestEventNames, ignoreProperties);\n    }\n    if (typeof IDBIndex !== 'undefined') {\n        patchFilteredProperties(IDBIndex.prototype, IDBIndexEventNames, ignoreProperties);\n        patchFilteredProperties(IDBRequest.prototype, IDBIndexEventNames, ignoreProperties);\n        patchFilteredProperties(IDBOpenDBRequest.prototype, IDBIndexEventNames, ignoreProperties);\n        patchFilteredProperties(IDBDatabase.prototype, IDBIndexEventNames, ignoreProperties);\n        patchFilteredProperties(IDBTransaction.prototype, IDBIndexEventNames, ignoreProperties);\n        patchFilteredProperties(IDBCursor.prototype, IDBIndexEventNames, ignoreProperties);\n    }\n    if (supportsWebSocket) {\n        patchFilteredProperties(WebSocket.prototype, websocketEventNames, ignoreProperties);\n    }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nZone.__load_patch('util', (global, Zone, api) => {\n    api.patchOnProperties = patchOnProperties;\n    api.patchMethod = patchMethod;\n    api.bindArguments = bindArguments;\n    api.patchMacroTask = patchMacroTask;\n    // In earlier version of zone.js (<0.9.0), we use env name `__zone_symbol__BLACK_LISTED_EVENTS` to\n    // define which events will not be patched by `Zone.js`.\n    // In newer version (>=0.9.0), we change the env name to `__zone_symbol__UNPATCHED_EVENTS` to keep\n    // the name consistent with angular repo.\n    // The  `__zone_symbol__BLACK_LISTED_EVENTS` is deprecated, but it is still be supported for\n    // backwards compatibility.\n    const SYMBOL_BLACK_LISTED_EVENTS = Zone.__symbol__('BLACK_LISTED_EVENTS');\n    const SYMBOL_UNPATCHED_EVENTS = Zone.__symbol__('UNPATCHED_EVENTS');\n    if (global[SYMBOL_UNPATCHED_EVENTS]) {\n        global[SYMBOL_BLACK_LISTED_EVENTS] = global[SYMBOL_UNPATCHED_EVENTS];\n    }\n    if (global[SYMBOL_BLACK_LISTED_EVENTS]) {\n        Zone[SYMBOL_BLACK_LISTED_EVENTS] = Zone[SYMBOL_UNPATCHED_EVENTS] =\n            global[SYMBOL_BLACK_LISTED_EVENTS];\n    }\n    api.patchEventPrototype = patchEventPrototype;\n    api.patchEventTarget = patchEventTarget;\n    api.isIEOrEdge = isIEOrEdge;\n    api.ObjectDefineProperty = ObjectDefineProperty;\n    api.ObjectGetOwnPropertyDescriptor = ObjectGetOwnPropertyDescriptor;\n    api.ObjectCreate = ObjectCreate;\n    api.ArraySlice = ArraySlice;\n    api.patchClass = patchClass;\n    api.wrapWithCurrentZone = wrapWithCurrentZone;\n    api.filterProperties = filterProperties;\n    api.attachOriginToPatched = attachOriginToPatched;\n    api._redefineProperty = _redefineProperty;\n    api.patchCallbacks = patchCallbacks;\n    api.getGlobalObjects = () => ({\n        globalSources,\n        zoneSymbolEventNames: zoneSymbolEventNames$1,\n        eventNames,\n        isBrowser,\n        isMix,\n        isNode,\n        TRUE_STR,\n        FALSE_STR,\n        ZONE_SYMBOL_PREFIX,\n        ADD_EVENT_LISTENER_STR,\n        REMOVE_EVENT_LISTENER_STR\n    });\n});\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * @fileoverview\n * @suppress {missingRequire}\n */\nconst taskSymbol = zoneSymbol('zoneTask');\nfunction patchTimer(window, setName, cancelName, nameSuffix) {\n    let setNative = null;\n    let clearNative = null;\n    setName += nameSuffix;\n    cancelName += nameSuffix;\n    const tasksByHandleId = {};\n    function scheduleTask(task) {\n        const data = task.data;\n        function timer() {\n            try {\n                task.invoke.apply(this, arguments);\n            }\n            finally {\n                // issue-934, task will be cancelled\n                // even it is a periodic task such as\n                // setInterval\n                if (!(task.data && task.data.isPeriodic)) {\n                    if (typeof data.handleId === 'number') {\n                        // in non-nodejs env, we remove timerId\n                        // from local cache\n                        delete tasksByHandleId[data.handleId];\n                    }\n                    else if (data.handleId) {\n                        // Node returns complex objects as handleIds\n                        // we remove task reference from timer object\n                        data.handleId[taskSymbol] = null;\n                    }\n                }\n            }\n        }\n        data.args[0] = timer;\n        data.handleId = setNative.apply(window, data.args);\n        return task;\n    }\n    function clearTask(task) {\n        return clearNative(task.data.handleId);\n    }\n    setNative =\n        patchMethod(window, setName, (delegate) => function (self, args) {\n            if (typeof args[0] === 'function') {\n                const options = {\n                    isPeriodic: nameSuffix === 'Interval',\n                    delay: (nameSuffix === 'Timeout' || nameSuffix === 'Interval') ? args[1] || 0 :\n                        undefined,\n                    args: args\n                };\n                const task = scheduleMacroTaskWithCurrentZone(setName, args[0], options, scheduleTask, clearTask);\n                if (!task) {\n                    return task;\n                }\n                // Node.js must additionally support the ref and unref functions.\n                const handle = task.data.handleId;\n                if (typeof handle === 'number') {\n                    // for non nodejs env, we save handleId: task\n                    // mapping in local cache for clearTimeout\n                    tasksByHandleId[handle] = task;\n                }\n                else if (handle) {\n                    // for nodejs env, we save task\n                    // reference in timerId Object for clearTimeout\n                    handle[taskSymbol] = task;\n                }\n                // check whether handle is null, because some polyfill or browser\n                // may return undefined from setTimeout/setInterval/setImmediate/requestAnimationFrame\n                if (handle && handle.ref && handle.unref && typeof handle.ref === 'function' &&\n                    typeof handle.unref === 'function') {\n                    task.ref = handle.ref.bind(handle);\n                    task.unref = handle.unref.bind(handle);\n                }\n                if (typeof handle === 'number' || handle) {\n                    return handle;\n                }\n                return task;\n            }\n            else {\n                // cause an error by calling it directly.\n                return delegate.apply(window, args);\n            }\n        });\n    clearNative =\n        patchMethod(window, cancelName, (delegate) => function (self, args) {\n            const id = args[0];\n            let task;\n            if (typeof id === 'number') {\n                // non nodejs env.\n                task = tasksByHandleId[id];\n            }\n            else {\n                // nodejs env.\n                task = id && id[taskSymbol];\n                // other environments.\n                if (!task) {\n                    task = id;\n                }\n            }\n            if (task && typeof task.type === 'string') {\n                if (task.state !== 'notScheduled' &&\n                    (task.cancelFn && task.data.isPeriodic || task.runCount === 0)) {\n                    if (typeof id === 'number') {\n                        delete tasksByHandleId[id];\n                    }\n                    else if (id) {\n                        id[taskSymbol] = null;\n                    }\n                    // Do not cancel already canceled functions\n                    task.zone.cancelTask(task);\n                }\n            }\n            else {\n                // cause an error by calling it directly.\n                delegate.apply(window, args);\n            }\n        });\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction patchCustomElements(_global, api) {\n    const { isBrowser, isMix } = api.getGlobalObjects();\n    if ((!isBrowser && !isMix) || !_global['customElements'] || !('customElements' in _global)) {\n        return;\n    }\n    const callbacks = ['connectedCallback', 'disconnectedCallback', 'adoptedCallback', 'attributeChangedCallback'];\n    api.patchCallbacks(api, _global.customElements, 'customElements', 'define', callbacks);\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction eventTargetPatch(_global, api) {\n    if (Zone[api.symbol('patchEventTarget')]) {\n        // EventTarget is already patched.\n        return;\n    }\n    const { eventNames, zoneSymbolEventNames, TRUE_STR, FALSE_STR, ZONE_SYMBOL_PREFIX } = api.getGlobalObjects();\n    //  predefine all __zone_symbol__ + eventName + true/false string\n    for (let i = 0; i < eventNames.length; i++) {\n        const eventName = eventNames[i];\n        const falseEventName = eventName + FALSE_STR;\n        const trueEventName = eventName + TRUE_STR;\n        const symbol = ZONE_SYMBOL_PREFIX + falseEventName;\n        const symbolCapture = ZONE_SYMBOL_PREFIX + trueEventName;\n        zoneSymbolEventNames[eventName] = {};\n        zoneSymbolEventNames[eventName][FALSE_STR] = symbol;\n        zoneSymbolEventNames[eventName][TRUE_STR] = symbolCapture;\n    }\n    const EVENT_TARGET = _global['EventTarget'];\n    if (!EVENT_TARGET || !EVENT_TARGET.prototype) {\n        return;\n    }\n    api.patchEventTarget(_global, [EVENT_TARGET && EVENT_TARGET.prototype]);\n    return true;\n}\nfunction patchEvent(global, api) {\n    api.patchEventPrototype(global, api);\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * @fileoverview\n * @suppress {missingRequire}\n */\nZone.__load_patch('legacy', (global) => {\n    const legacyPatch = global[Zone.__symbol__('legacyPatch')];\n    if (legacyPatch) {\n        legacyPatch();\n    }\n});\nZone.__load_patch('timers', (global) => {\n    const set = 'set';\n    const clear = 'clear';\n    patchTimer(global, set, clear, 'Timeout');\n    patchTimer(global, set, clear, 'Interval');\n    patchTimer(global, set, clear, 'Immediate');\n});\nZone.__load_patch('requestAnimationFrame', (global) => {\n    patchTimer(global, 'request', 'cancel', 'AnimationFrame');\n    patchTimer(global, 'mozRequest', 'mozCancel', 'AnimationFrame');\n    patchTimer(global, 'webkitRequest', 'webkitCancel', 'AnimationFrame');\n});\nZone.__load_patch('blocking', (global, Zone) => {\n    const blockingMethods = ['alert', 'prompt', 'confirm'];\n    for (let i = 0; i < blockingMethods.length; i++) {\n        const name = blockingMethods[i];\n        patchMethod(global, name, (delegate, symbol, name) => {\n            return function (s, args) {\n                return Zone.current.run(delegate, global, args, name);\n            };\n        });\n    }\n});\nZone.__load_patch('EventTarget', (global, Zone, api) => {\n    patchEvent(global, api);\n    eventTargetPatch(global, api);\n    // patch XMLHttpRequestEventTarget's addEventListener/removeEventListener\n    const XMLHttpRequestEventTarget = global['XMLHttpRequestEventTarget'];\n    if (XMLHttpRequestEventTarget && XMLHttpRequestEventTarget.prototype) {\n        api.patchEventTarget(global, [XMLHttpRequestEventTarget.prototype]);\n    }\n    patchClass('MutationObserver');\n    patchClass('WebKitMutationObserver');\n    patchClass('IntersectionObserver');\n    patchClass('FileReader');\n});\nZone.__load_patch('on_property', (global, Zone, api) => {\n    propertyDescriptorPatch(api, global);\n    propertyPatch();\n});\nZone.__load_patch('customElements', (global, Zone, api) => {\n    patchCustomElements(global, api);\n});\nZone.__load_patch('XHR', (global, Zone) => {\n    // Treat XMLHttpRequest as a macrotask.\n    patchXHR(global);\n    const XHR_TASK = zoneSymbol('xhrTask');\n    const XHR_SYNC = zoneSymbol('xhrSync');\n    const XHR_LISTENER = zoneSymbol('xhrListener');\n    const XHR_SCHEDULED = zoneSymbol('xhrScheduled');\n    const XHR_URL = zoneSymbol('xhrURL');\n    const XHR_ERROR_BEFORE_SCHEDULED = zoneSymbol('xhrErrorBeforeScheduled');\n    function patchXHR(window) {\n        const XMLHttpRequest = window['XMLHttpRequest'];\n        if (!XMLHttpRequest) {\n            // XMLHttpRequest is not available in service worker\n            return;\n        }\n        const XMLHttpRequestPrototype = XMLHttpRequest.prototype;\n        function findPendingTask(target) {\n            return target[XHR_TASK];\n        }\n        let oriAddListener = XMLHttpRequestPrototype[ZONE_SYMBOL_ADD_EVENT_LISTENER];\n        let oriRemoveListener = XMLHttpRequestPrototype[ZONE_SYMBOL_REMOVE_EVENT_LISTENER];\n        if (!oriAddListener) {\n            const XMLHttpRequestEventTarget = window['XMLHttpRequestEventTarget'];\n            if (XMLHttpRequestEventTarget) {\n                const XMLHttpRequestEventTargetPrototype = XMLHttpRequestEventTarget.prototype;\n                oriAddListener = XMLHttpRequestEventTargetPrototype[ZONE_SYMBOL_ADD_EVENT_LISTENER];\n                oriRemoveListener = XMLHttpRequestEventTargetPrototype[ZONE_SYMBOL_REMOVE_EVENT_LISTENER];\n            }\n        }\n        const READY_STATE_CHANGE = 'readystatechange';\n        const SCHEDULED = 'scheduled';\n        function scheduleTask(task) {\n            const data = task.data;\n            const target = data.target;\n            target[XHR_SCHEDULED] = false;\n            target[XHR_ERROR_BEFORE_SCHEDULED] = false;\n            // remove existing event listener\n            const listener = target[XHR_LISTENER];\n            if (!oriAddListener) {\n                oriAddListener = target[ZONE_SYMBOL_ADD_EVENT_LISTENER];\n                oriRemoveListener = target[ZONE_SYMBOL_REMOVE_EVENT_LISTENER];\n            }\n            if (listener) {\n                oriRemoveListener.call(target, READY_STATE_CHANGE, listener);\n            }\n            const newListener = target[XHR_LISTENER] = () => {\n                if (target.readyState === target.DONE) {\n                    // sometimes on some browsers XMLHttpRequest will fire onreadystatechange with\n                    // readyState=4 multiple times, so we need to check task state here\n                    if (!data.aborted && target[XHR_SCHEDULED] && task.state === SCHEDULED) {\n                        // check whether the xhr has registered onload listener\n                        // if that is the case, the task should invoke after all\n                        // onload listeners finish.\n                        const loadTasks = target['__zone_symbol__loadfalse'];\n                        if (loadTasks && loadTasks.length > 0) {\n                            const oriInvoke = task.invoke;\n                            task.invoke = function () {\n                                // need to load the tasks again, because in other\n                                // load listener, they may remove themselves\n                                const loadTasks = target['__zone_symbol__loadfalse'];\n                                for (let i = 0; i < loadTasks.length; i++) {\n                                    if (loadTasks[i] === task) {\n                                        loadTasks.splice(i, 1);\n                                    }\n                                }\n                                if (!data.aborted && task.state === SCHEDULED) {\n                                    oriInvoke.call(task);\n                                }\n                            };\n                            loadTasks.push(task);\n                        }\n                        else {\n                            task.invoke();\n                        }\n                    }\n                    else if (!data.aborted && target[XHR_SCHEDULED] === false) {\n                        // error occurs when xhr.send()\n                        target[XHR_ERROR_BEFORE_SCHEDULED] = true;\n                    }\n                }\n            };\n            oriAddListener.call(target, READY_STATE_CHANGE, newListener);\n            const storedTask = target[XHR_TASK];\n            if (!storedTask) {\n                target[XHR_TASK] = task;\n            }\n            sendNative.apply(target, data.args);\n            target[XHR_SCHEDULED] = true;\n            return task;\n        }\n        function placeholderCallback() { }\n        function clearTask(task) {\n            const data = task.data;\n            // Note - ideally, we would call data.target.removeEventListener here, but it's too late\n            // to prevent it from firing. So instead, we store info for the event listener.\n            data.aborted = true;\n            return abortNative.apply(data.target, data.args);\n        }\n        const openNative = patchMethod(XMLHttpRequestPrototype, 'open', () => function (self, args) {\n            self[XHR_SYNC] = args[2] == false;\n            self[XHR_URL] = args[1];\n            return openNative.apply(self, args);\n        });\n        const XMLHTTPREQUEST_SOURCE = 'XMLHttpRequest.send';\n        const fetchTaskAborting = zoneSymbol('fetchTaskAborting');\n        const fetchTaskScheduling = zoneSymbol('fetchTaskScheduling');\n        const sendNative = patchMethod(XMLHttpRequestPrototype, 'send', () => function (self, args) {\n            if (Zone.current[fetchTaskScheduling] === true) {\n                // a fetch is scheduling, so we are using xhr to polyfill fetch\n                // and because we already schedule macroTask for fetch, we should\n                // not schedule a macroTask for xhr again\n                return sendNative.apply(self, args);\n            }\n            if (self[XHR_SYNC]) {\n                // if the XHR is sync there is no task to schedule, just execute the code.\n                return sendNative.apply(self, args);\n            }\n            else {\n                const options = { target: self, url: self[XHR_URL], isPeriodic: false, args: args, aborted: false };\n                const task = scheduleMacroTaskWithCurrentZone(XMLHTTPREQUEST_SOURCE, placeholderCallback, options, scheduleTask, clearTask);\n                if (self && self[XHR_ERROR_BEFORE_SCHEDULED] === true && !options.aborted &&\n                    task.state === SCHEDULED) {\n                    // xhr request throw error when send\n                    // we should invoke task instead of leaving a scheduled\n                    // pending macroTask\n                    task.invoke();\n                }\n            }\n        });\n        const abortNative = patchMethod(XMLHttpRequestPrototype, 'abort', () => function (self, args) {\n            const task = findPendingTask(self);\n            if (task && typeof task.type == 'string') {\n                // If the XHR has already completed, do nothing.\n                // If the XHR has already been aborted, do nothing.\n                // Fix #569, call abort multiple times before done will cause\n                // macroTask task count be negative number\n                if (task.cancelFn == null || (task.data && task.data.aborted)) {\n                    return;\n                }\n                task.zone.cancelTask(task);\n            }\n            else if (Zone.current[fetchTaskAborting] === true) {\n                // the abort is called from fetch polyfill, we need to call native abort of XHR.\n                return abortNative.apply(self, args);\n            }\n            // Otherwise, we are trying to abort an XHR which has not yet been sent, so there is no\n            // task\n            // to cancel. Do nothing.\n        });\n    }\n});\nZone.__load_patch('geolocation', (global) => {\n    /// GEO_LOCATION\n    if (global['navigator'] && global['navigator'].geolocation) {\n        patchPrototype(global['navigator'].geolocation, ['getCurrentPosition', 'watchPosition']);\n    }\n});\nZone.__load_patch('PromiseRejectionEvent', (global, Zone) => {\n    // handle unhandled promise rejection\n    function findPromiseRejectionHandler(evtName) {\n        return function (e) {\n            const eventTasks = findEventTasks(global, evtName);\n            eventTasks.forEach(eventTask => {\n                // windows has added unhandledrejection event listener\n                // trigger the event listener\n                const PromiseRejectionEvent = global['PromiseRejectionEvent'];\n                if (PromiseRejectionEvent) {\n                    const evt = new PromiseRejectionEvent(evtName, { promise: e.promise, reason: e.rejection });\n                    eventTask.invoke(evt);\n                }\n            });\n        };\n    }\n    if (global['PromiseRejectionEvent']) {\n        Zone[zoneSymbol('unhandledPromiseRejectionHandler')] =\n            findPromiseRejectionHandler('unhandledrejection');\n        Zone[zoneSymbol('rejectionHandledHandler')] =\n            findPromiseRejectionHandler('rejectionhandled');\n    }\n});\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\n/***/ }),\n\n/***/ \"./src/polyfills.ts\":\n/*!**************************!*\\\n  !*** ./src/polyfills.ts ***!\n  \\**************************/\n/*! no exports provided */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var zone_js_dist_zone__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! zone.js/dist/zone */ \"./node_modules/zone.js/dist/zone-evergreen.js\");\n/* harmony import */ var zone_js_dist_zone__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(zone_js_dist_zone__WEBPACK_IMPORTED_MODULE_1__);\n/**\n * This file includes polyfills needed by Angular and is loaded before the app.\n * You can add your own extra polyfills to this file.\n *\n * This file is divided into 2 sections:\n *   1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.\n *   2. Application imports. Files imported after ZoneJS that should be loaded before your main\n *      file.\n *\n * The current setup is for so-called \"evergreen\" browsers; the last versions of browsers that\n * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),\n * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.\n *\n * Learn more in https://angular.io/guide/browser-support\n */\n\n/***************************************************************************************************\n * BROWSER POLYFILLS\n */\n/** IE10 and IE11 requires the following for NgClass support on SVG elements */\n// import 'classlist.js';  // Run `npm install --save classlist.js`.\n/**\n * Web Animations `@angular/platform-browser/animations`\n * Only required if AnimationBuilder is used within the application and using IE/Edge or Safari.\n * Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0).\n */\n// import 'web-animations-js';  // Run `npm install --save web-animations-js`.\n/**\n * By default, zone.js will patch all possible macroTask and DomEvents\n * user can disable parts of macroTask/DomEvents patch by setting following flags\n * because those flags need to be set before `zone.js` being loaded, and webpack\n * will put import in the top of bundle, so user need to create a separate file\n * in this directory (for example: zone-flags.ts), and put the following flags\n * into that file, and then add the following code before importing zone.js.\n * import './zone-flags.ts';\n *\n * The flags allowed in zone-flags.ts are listed here.\n *\n * The following flags will work for all browsers.\n *\n * (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame\n * (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick\n * (window as any).__zone_symbol__UNPATCHED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames\n *\n *  in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js\n *  with the following flag, it will bypass `zone.js` patch for IE/Edge\n *\n *  (window as any).__Zone_enable_cross_context_check = true;\n *\n */\n/***************************************************************************************************\n * Zone JS is required by default for Angular itself.\n */\n // Included with Angular CLI.\n/***************************************************************************************************\n * APPLICATION IMPORTS\n */\n\n\n/***/ }),\n\n/***/ 2:\n/*!***************************************************************************************************************************!*\\\n  !*** multi ./src/polyfills.ts ./node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/jit-polyfills.js ***!\n  \\***************************************************************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(/*! /Users/alex/Desktop/obscurify3/src/polyfills.ts */\"./src/polyfills.ts\");\nmodule.exports = __webpack_require__(/*! /Users/alex/Desktop/obscurify3/node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/jit-polyfills.js */\"./node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/jit-polyfills.js\");\n\n\n/***/ })\n\n},[[2,\"runtime\"]]]);"
  },
  {
    "path": "frontend/dist/obscurify3/polyfills-es5.js",
    "content": "function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\n(window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || []).push([[\"polyfills-es5\"], {\n  /***/\n  \"./node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/es5-jit-polyfills.js\":\n  /*!******************************************************************************************************!*\\\n    !*** ./node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/es5-jit-polyfills.js ***!\n    \\******************************************************************************************************/\n\n  /*! no exports provided */\n\n  /***/\n  function node_modulesAngularDevkitBuildAngularSrcAngularCliFilesModelsEs5JitPolyfillsJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony import */\n\n\n    var core_js_es_reflect__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! core-js/es/reflect */\n    \"./node_modules/core-js/es/reflect/index.js\");\n    /* harmony import */\n\n\n    var core_js_es_reflect__WEBPACK_IMPORTED_MODULE_0___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_es_reflect__WEBPACK_IMPORTED_MODULE_0__);\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/es5-polyfills.js\":\n  /*!**************************************************************************************************!*\\\n    !*** ./node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/es5-polyfills.js ***!\n    \\**************************************************************************************************/\n\n  /*! no exports provided */\n\n  /***/\n  function node_modulesAngularDevkitBuildAngularSrcAngularCliFilesModelsEs5PolyfillsJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony import */\n\n\n    var core_js_es_symbol__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! core-js/es/symbol */\n    \"./node_modules/core-js/es/symbol/index.js\");\n    /* harmony import */\n\n\n    var core_js_es_symbol__WEBPACK_IMPORTED_MODULE_0___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_es_symbol__WEBPACK_IMPORTED_MODULE_0__);\n    /* harmony import */\n\n\n    var core_js_modules_es_function_bind__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! core-js/modules/es.function.bind */\n    \"./node_modules/core-js/modules/es.function.bind.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_function_bind__WEBPACK_IMPORTED_MODULE_1___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_function_bind__WEBPACK_IMPORTED_MODULE_1__);\n    /* harmony import */\n\n\n    var core_js_modules_es_function_name__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! core-js/modules/es.function.name */\n    \"./node_modules/core-js/modules/es.function.name.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_function_name__WEBPACK_IMPORTED_MODULE_2___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_function_name__WEBPACK_IMPORTED_MODULE_2__);\n    /* harmony import */\n\n\n    var core_js_modules_es_function_has_instance__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! core-js/modules/es.function.has-instance */\n    \"./node_modules/core-js/modules/es.function.has-instance.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_function_has_instance__WEBPACK_IMPORTED_MODULE_3___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_function_has_instance__WEBPACK_IMPORTED_MODULE_3__);\n    /* harmony import */\n\n\n    var core_js_modules_es_object_create__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! core-js/modules/es.object.create */\n    \"./node_modules/core-js/modules/es.object.create.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_object_create__WEBPACK_IMPORTED_MODULE_4___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_object_create__WEBPACK_IMPORTED_MODULE_4__);\n    /* harmony import */\n\n\n    var core_js_modules_es_object_define_property__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\n    /*! core-js/modules/es.object.define-property */\n    \"./node_modules/core-js/modules/es.object.define-property.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_object_define_property__WEBPACK_IMPORTED_MODULE_5___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_object_define_property__WEBPACK_IMPORTED_MODULE_5__);\n    /* harmony import */\n\n\n    var core_js_modules_es_object_define_properties__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(\n    /*! core-js/modules/es.object.define-properties */\n    \"./node_modules/core-js/modules/es.object.define-properties.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_object_define_properties__WEBPACK_IMPORTED_MODULE_6___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_object_define_properties__WEBPACK_IMPORTED_MODULE_6__);\n    /* harmony import */\n\n\n    var core_js_modules_es_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(\n    /*! core-js/modules/es.object.get-own-property-descriptor */\n    \"./node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_7___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_7__);\n    /* harmony import */\n\n\n    var core_js_modules_es_object_get_prototype_of__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(\n    /*! core-js/modules/es.object.get-prototype-of */\n    \"./node_modules/core-js/modules/es.object.get-prototype-of.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_object_get_prototype_of__WEBPACK_IMPORTED_MODULE_8___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_object_get_prototype_of__WEBPACK_IMPORTED_MODULE_8__);\n    /* harmony import */\n\n\n    var core_js_modules_es_object_keys__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(\n    /*! core-js/modules/es.object.keys */\n    \"./node_modules/core-js/modules/es.object.keys.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_object_keys__WEBPACK_IMPORTED_MODULE_9___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_object_keys__WEBPACK_IMPORTED_MODULE_9__);\n    /* harmony import */\n\n\n    var core_js_modules_es_object_get_own_property_names__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(\n    /*! core-js/modules/es.object.get-own-property-names */\n    \"./node_modules/core-js/modules/es.object.get-own-property-names.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_object_get_own_property_names__WEBPACK_IMPORTED_MODULE_10___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_object_get_own_property_names__WEBPACK_IMPORTED_MODULE_10__);\n    /* harmony import */\n\n\n    var core_js_modules_es_object_freeze__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(\n    /*! core-js/modules/es.object.freeze */\n    \"./node_modules/core-js/modules/es.object.freeze.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_object_freeze__WEBPACK_IMPORTED_MODULE_11___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_object_freeze__WEBPACK_IMPORTED_MODULE_11__);\n    /* harmony import */\n\n\n    var core_js_modules_es_object_seal__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(\n    /*! core-js/modules/es.object.seal */\n    \"./node_modules/core-js/modules/es.object.seal.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_object_seal__WEBPACK_IMPORTED_MODULE_12___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_object_seal__WEBPACK_IMPORTED_MODULE_12__);\n    /* harmony import */\n\n\n    var core_js_modules_es_object_prevent_extensions__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(\n    /*! core-js/modules/es.object.prevent-extensions */\n    \"./node_modules/core-js/modules/es.object.prevent-extensions.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_object_prevent_extensions__WEBPACK_IMPORTED_MODULE_13___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_object_prevent_extensions__WEBPACK_IMPORTED_MODULE_13__);\n    /* harmony import */\n\n\n    var core_js_modules_es_object_is_frozen__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(\n    /*! core-js/modules/es.object.is-frozen */\n    \"./node_modules/core-js/modules/es.object.is-frozen.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_object_is_frozen__WEBPACK_IMPORTED_MODULE_14___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_object_is_frozen__WEBPACK_IMPORTED_MODULE_14__);\n    /* harmony import */\n\n\n    var core_js_modules_es_object_is_sealed__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(\n    /*! core-js/modules/es.object.is-sealed */\n    \"./node_modules/core-js/modules/es.object.is-sealed.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_object_is_sealed__WEBPACK_IMPORTED_MODULE_15___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_object_is_sealed__WEBPACK_IMPORTED_MODULE_15__);\n    /* harmony import */\n\n\n    var core_js_modules_es_object_is_extensible__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(\n    /*! core-js/modules/es.object.is-extensible */\n    \"./node_modules/core-js/modules/es.object.is-extensible.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_object_is_extensible__WEBPACK_IMPORTED_MODULE_16___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_object_is_extensible__WEBPACK_IMPORTED_MODULE_16__);\n    /* harmony import */\n\n\n    var core_js_modules_es_object_assign__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(\n    /*! core-js/modules/es.object.assign */\n    \"./node_modules/core-js/modules/es.object.assign.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_object_assign__WEBPACK_IMPORTED_MODULE_17___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_object_assign__WEBPACK_IMPORTED_MODULE_17__);\n    /* harmony import */\n\n\n    var core_js_modules_es_object_is__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(\n    /*! core-js/modules/es.object.is */\n    \"./node_modules/core-js/modules/es.object.is.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_object_is__WEBPACK_IMPORTED_MODULE_18___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_object_is__WEBPACK_IMPORTED_MODULE_18__);\n    /* harmony import */\n\n\n    var core_js_modules_es_object_set_prototype_of__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(\n    /*! core-js/modules/es.object.set-prototype-of */\n    \"./node_modules/core-js/modules/es.object.set-prototype-of.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_object_set_prototype_of__WEBPACK_IMPORTED_MODULE_19___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_object_set_prototype_of__WEBPACK_IMPORTED_MODULE_19__);\n    /* harmony import */\n\n\n    var core_js_modules_es_object_to_string__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(\n    /*! core-js/modules/es.object.to-string */\n    \"./node_modules/core-js/modules/es.object.to-string.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_object_to_string__WEBPACK_IMPORTED_MODULE_20___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_object_to_string__WEBPACK_IMPORTED_MODULE_20__);\n    /* harmony import */\n\n\n    var core_js_modules_es_array_concat__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(\n    /*! core-js/modules/es.array.concat */\n    \"./node_modules/core-js/modules/es.array.concat.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_array_concat__WEBPACK_IMPORTED_MODULE_21___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_array_concat__WEBPACK_IMPORTED_MODULE_21__);\n    /* harmony import */\n\n\n    var core_js_modules_es_array_is_array__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(\n    /*! core-js/modules/es.array.is-array */\n    \"./node_modules/core-js/modules/es.array.is-array.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_array_is_array__WEBPACK_IMPORTED_MODULE_22___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_array_is_array__WEBPACK_IMPORTED_MODULE_22__);\n    /* harmony import */\n\n\n    var core_js_modules_es_array_from__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(\n    /*! core-js/modules/es.array.from */\n    \"./node_modules/core-js/modules/es.array.from.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_array_from__WEBPACK_IMPORTED_MODULE_23___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_array_from__WEBPACK_IMPORTED_MODULE_23__);\n    /* harmony import */\n\n\n    var core_js_modules_es_array_of__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(\n    /*! core-js/modules/es.array.of */\n    \"./node_modules/core-js/modules/es.array.of.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_array_of__WEBPACK_IMPORTED_MODULE_24___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_array_of__WEBPACK_IMPORTED_MODULE_24__);\n    /* harmony import */\n\n\n    var core_js_modules_es_array_join__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(\n    /*! core-js/modules/es.array.join */\n    \"./node_modules/core-js/modules/es.array.join.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_array_join__WEBPACK_IMPORTED_MODULE_25___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_array_join__WEBPACK_IMPORTED_MODULE_25__);\n    /* harmony import */\n\n\n    var core_js_modules_es_array_slice__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(\n    /*! core-js/modules/es.array.slice */\n    \"./node_modules/core-js/modules/es.array.slice.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_array_slice__WEBPACK_IMPORTED_MODULE_26___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_array_slice__WEBPACK_IMPORTED_MODULE_26__);\n    /* harmony import */\n\n\n    var core_js_modules_es_array_splice__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(\n    /*! core-js/modules/es.array.splice */\n    \"./node_modules/core-js/modules/es.array.splice.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_array_splice__WEBPACK_IMPORTED_MODULE_27___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_array_splice__WEBPACK_IMPORTED_MODULE_27__);\n    /* harmony import */\n\n\n    var core_js_modules_es_array_sort__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(\n    /*! core-js/modules/es.array.sort */\n    \"./node_modules/core-js/modules/es.array.sort.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_array_sort__WEBPACK_IMPORTED_MODULE_28___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_array_sort__WEBPACK_IMPORTED_MODULE_28__);\n    /* harmony import */\n\n\n    var core_js_modules_es_array_for_each__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(\n    /*! core-js/modules/es.array.for-each */\n    \"./node_modules/core-js/modules/es.array.for-each.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_array_for_each__WEBPACK_IMPORTED_MODULE_29___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_array_for_each__WEBPACK_IMPORTED_MODULE_29__);\n    /* harmony import */\n\n\n    var core_js_modules_es_array_map__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(\n    /*! core-js/modules/es.array.map */\n    \"./node_modules/core-js/modules/es.array.map.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_array_map__WEBPACK_IMPORTED_MODULE_30___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_array_map__WEBPACK_IMPORTED_MODULE_30__);\n    /* harmony import */\n\n\n    var core_js_modules_es_array_filter__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(\n    /*! core-js/modules/es.array.filter */\n    \"./node_modules/core-js/modules/es.array.filter.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_array_filter__WEBPACK_IMPORTED_MODULE_31___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_array_filter__WEBPACK_IMPORTED_MODULE_31__);\n    /* harmony import */\n\n\n    var core_js_modules_es_array_some__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(\n    /*! core-js/modules/es.array.some */\n    \"./node_modules/core-js/modules/es.array.some.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_array_some__WEBPACK_IMPORTED_MODULE_32___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_array_some__WEBPACK_IMPORTED_MODULE_32__);\n    /* harmony import */\n\n\n    var core_js_modules_es_array_every__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(\n    /*! core-js/modules/es.array.every */\n    \"./node_modules/core-js/modules/es.array.every.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_array_every__WEBPACK_IMPORTED_MODULE_33___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_array_every__WEBPACK_IMPORTED_MODULE_33__);\n    /* harmony import */\n\n\n    var core_js_modules_es_array_reduce__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(\n    /*! core-js/modules/es.array.reduce */\n    \"./node_modules/core-js/modules/es.array.reduce.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_array_reduce__WEBPACK_IMPORTED_MODULE_34___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_array_reduce__WEBPACK_IMPORTED_MODULE_34__);\n    /* harmony import */\n\n\n    var core_js_modules_es_array_reduce_right__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(\n    /*! core-js/modules/es.array.reduce-right */\n    \"./node_modules/core-js/modules/es.array.reduce-right.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_array_reduce_right__WEBPACK_IMPORTED_MODULE_35___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_array_reduce_right__WEBPACK_IMPORTED_MODULE_35__);\n    /* harmony import */\n\n\n    var core_js_modules_es_array_index_of__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(\n    /*! core-js/modules/es.array.index-of */\n    \"./node_modules/core-js/modules/es.array.index-of.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_array_index_of__WEBPACK_IMPORTED_MODULE_36___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_array_index_of__WEBPACK_IMPORTED_MODULE_36__);\n    /* harmony import */\n\n\n    var core_js_modules_es_array_last_index_of__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(\n    /*! core-js/modules/es.array.last-index-of */\n    \"./node_modules/core-js/modules/es.array.last-index-of.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_array_last_index_of__WEBPACK_IMPORTED_MODULE_37___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_array_last_index_of__WEBPACK_IMPORTED_MODULE_37__);\n    /* harmony import */\n\n\n    var core_js_modules_es_array_copy_within__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(\n    /*! core-js/modules/es.array.copy-within */\n    \"./node_modules/core-js/modules/es.array.copy-within.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_array_copy_within__WEBPACK_IMPORTED_MODULE_38___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_array_copy_within__WEBPACK_IMPORTED_MODULE_38__);\n    /* harmony import */\n\n\n    var core_js_modules_es_array_fill__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(\n    /*! core-js/modules/es.array.fill */\n    \"./node_modules/core-js/modules/es.array.fill.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_array_fill__WEBPACK_IMPORTED_MODULE_39___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_array_fill__WEBPACK_IMPORTED_MODULE_39__);\n    /* harmony import */\n\n\n    var core_js_modules_es_array_find__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(\n    /*! core-js/modules/es.array.find */\n    \"./node_modules/core-js/modules/es.array.find.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_array_find__WEBPACK_IMPORTED_MODULE_40___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_array_find__WEBPACK_IMPORTED_MODULE_40__);\n    /* harmony import */\n\n\n    var core_js_modules_es_array_find_index__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(\n    /*! core-js/modules/es.array.find-index */\n    \"./node_modules/core-js/modules/es.array.find-index.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_array_find_index__WEBPACK_IMPORTED_MODULE_41___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_array_find_index__WEBPACK_IMPORTED_MODULE_41__);\n    /* harmony import */\n\n\n    var core_js_modules_es_array_iterator__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(\n    /*! core-js/modules/es.array.iterator */\n    \"./node_modules/core-js/modules/es.array.iterator.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_array_iterator__WEBPACK_IMPORTED_MODULE_42___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_array_iterator__WEBPACK_IMPORTED_MODULE_42__);\n    /* harmony import */\n\n\n    var core_js_modules_es_string_from_code_point__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(\n    /*! core-js/modules/es.string.from-code-point */\n    \"./node_modules/core-js/modules/es.string.from-code-point.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_string_from_code_point__WEBPACK_IMPORTED_MODULE_43___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_string_from_code_point__WEBPACK_IMPORTED_MODULE_43__);\n    /* harmony import */\n\n\n    var core_js_modules_es_string_raw__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(\n    /*! core-js/modules/es.string.raw */\n    \"./node_modules/core-js/modules/es.string.raw.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_string_raw__WEBPACK_IMPORTED_MODULE_44___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_string_raw__WEBPACK_IMPORTED_MODULE_44__);\n    /* harmony import */\n\n\n    var core_js_modules_es_string_trim__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(\n    /*! core-js/modules/es.string.trim */\n    \"./node_modules/core-js/modules/es.string.trim.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_string_trim__WEBPACK_IMPORTED_MODULE_45___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_string_trim__WEBPACK_IMPORTED_MODULE_45__);\n    /* harmony import */\n\n\n    var core_js_modules_es_string_iterator__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(\n    /*! core-js/modules/es.string.iterator */\n    \"./node_modules/core-js/modules/es.string.iterator.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_string_iterator__WEBPACK_IMPORTED_MODULE_46___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_string_iterator__WEBPACK_IMPORTED_MODULE_46__);\n    /* harmony import */\n\n\n    var core_js_modules_es_string_code_point_at__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(\n    /*! core-js/modules/es.string.code-point-at */\n    \"./node_modules/core-js/modules/es.string.code-point-at.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_string_code_point_at__WEBPACK_IMPORTED_MODULE_47___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_string_code_point_at__WEBPACK_IMPORTED_MODULE_47__);\n    /* harmony import */\n\n\n    var core_js_modules_es_string_ends_with__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(\n    /*! core-js/modules/es.string.ends-with */\n    \"./node_modules/core-js/modules/es.string.ends-with.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_string_ends_with__WEBPACK_IMPORTED_MODULE_48___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_string_ends_with__WEBPACK_IMPORTED_MODULE_48__);\n    /* harmony import */\n\n\n    var core_js_modules_es_string_includes__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(\n    /*! core-js/modules/es.string.includes */\n    \"./node_modules/core-js/modules/es.string.includes.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_string_includes__WEBPACK_IMPORTED_MODULE_49___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_string_includes__WEBPACK_IMPORTED_MODULE_49__);\n    /* harmony import */\n\n\n    var core_js_modules_es_string_repeat__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(\n    /*! core-js/modules/es.string.repeat */\n    \"./node_modules/core-js/modules/es.string.repeat.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_string_repeat__WEBPACK_IMPORTED_MODULE_50___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_string_repeat__WEBPACK_IMPORTED_MODULE_50__);\n    /* harmony import */\n\n\n    var core_js_modules_es_string_starts_with__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(\n    /*! core-js/modules/es.string.starts-with */\n    \"./node_modules/core-js/modules/es.string.starts-with.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_string_starts_with__WEBPACK_IMPORTED_MODULE_51___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_string_starts_with__WEBPACK_IMPORTED_MODULE_51__);\n    /* harmony import */\n\n\n    var core_js_modules_es_string_anchor__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(\n    /*! core-js/modules/es.string.anchor */\n    \"./node_modules/core-js/modules/es.string.anchor.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_string_anchor__WEBPACK_IMPORTED_MODULE_52___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_string_anchor__WEBPACK_IMPORTED_MODULE_52__);\n    /* harmony import */\n\n\n    var core_js_modules_es_string_big__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(\n    /*! core-js/modules/es.string.big */\n    \"./node_modules/core-js/modules/es.string.big.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_string_big__WEBPACK_IMPORTED_MODULE_53___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_string_big__WEBPACK_IMPORTED_MODULE_53__);\n    /* harmony import */\n\n\n    var core_js_modules_es_string_blink__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(\n    /*! core-js/modules/es.string.blink */\n    \"./node_modules/core-js/modules/es.string.blink.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_string_blink__WEBPACK_IMPORTED_MODULE_54___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_string_blink__WEBPACK_IMPORTED_MODULE_54__);\n    /* harmony import */\n\n\n    var core_js_modules_es_string_bold__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(\n    /*! core-js/modules/es.string.bold */\n    \"./node_modules/core-js/modules/es.string.bold.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_string_bold__WEBPACK_IMPORTED_MODULE_55___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_string_bold__WEBPACK_IMPORTED_MODULE_55__);\n    /* harmony import */\n\n\n    var core_js_modules_es_string_fixed__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(\n    /*! core-js/modules/es.string.fixed */\n    \"./node_modules/core-js/modules/es.string.fixed.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_string_fixed__WEBPACK_IMPORTED_MODULE_56___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_string_fixed__WEBPACK_IMPORTED_MODULE_56__);\n    /* harmony import */\n\n\n    var core_js_modules_es_string_fontcolor__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(\n    /*! core-js/modules/es.string.fontcolor */\n    \"./node_modules/core-js/modules/es.string.fontcolor.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_string_fontcolor__WEBPACK_IMPORTED_MODULE_57___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_string_fontcolor__WEBPACK_IMPORTED_MODULE_57__);\n    /* harmony import */\n\n\n    var core_js_modules_es_string_fontsize__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(\n    /*! core-js/modules/es.string.fontsize */\n    \"./node_modules/core-js/modules/es.string.fontsize.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_string_fontsize__WEBPACK_IMPORTED_MODULE_58___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_string_fontsize__WEBPACK_IMPORTED_MODULE_58__);\n    /* harmony import */\n\n\n    var core_js_modules_es_string_italics__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(\n    /*! core-js/modules/es.string.italics */\n    \"./node_modules/core-js/modules/es.string.italics.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_string_italics__WEBPACK_IMPORTED_MODULE_59___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_string_italics__WEBPACK_IMPORTED_MODULE_59__);\n    /* harmony import */\n\n\n    var core_js_modules_es_string_link__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(\n    /*! core-js/modules/es.string.link */\n    \"./node_modules/core-js/modules/es.string.link.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_string_link__WEBPACK_IMPORTED_MODULE_60___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_string_link__WEBPACK_IMPORTED_MODULE_60__);\n    /* harmony import */\n\n\n    var core_js_modules_es_string_small__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(\n    /*! core-js/modules/es.string.small */\n    \"./node_modules/core-js/modules/es.string.small.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_string_small__WEBPACK_IMPORTED_MODULE_61___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_string_small__WEBPACK_IMPORTED_MODULE_61__);\n    /* harmony import */\n\n\n    var core_js_modules_es_string_strike__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(\n    /*! core-js/modules/es.string.strike */\n    \"./node_modules/core-js/modules/es.string.strike.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_string_strike__WEBPACK_IMPORTED_MODULE_62___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_string_strike__WEBPACK_IMPORTED_MODULE_62__);\n    /* harmony import */\n\n\n    var core_js_modules_es_string_sub__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(\n    /*! core-js/modules/es.string.sub */\n    \"./node_modules/core-js/modules/es.string.sub.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_string_sub__WEBPACK_IMPORTED_MODULE_63___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_string_sub__WEBPACK_IMPORTED_MODULE_63__);\n    /* harmony import */\n\n\n    var core_js_modules_es_string_sup__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(\n    /*! core-js/modules/es.string.sup */\n    \"./node_modules/core-js/modules/es.string.sup.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_string_sup__WEBPACK_IMPORTED_MODULE_64___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_string_sup__WEBPACK_IMPORTED_MODULE_64__);\n    /* harmony import */\n\n\n    var core_js_modules_es_string_match__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(\n    /*! core-js/modules/es.string.match */\n    \"./node_modules/core-js/modules/es.string.match.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_string_match__WEBPACK_IMPORTED_MODULE_65___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_string_match__WEBPACK_IMPORTED_MODULE_65__);\n    /* harmony import */\n\n\n    var core_js_modules_es_string_replace__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(\n    /*! core-js/modules/es.string.replace */\n    \"./node_modules/core-js/modules/es.string.replace.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_string_replace__WEBPACK_IMPORTED_MODULE_66___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_string_replace__WEBPACK_IMPORTED_MODULE_66__);\n    /* harmony import */\n\n\n    var core_js_modules_es_string_search__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(\n    /*! core-js/modules/es.string.search */\n    \"./node_modules/core-js/modules/es.string.search.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_string_search__WEBPACK_IMPORTED_MODULE_67___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_string_search__WEBPACK_IMPORTED_MODULE_67__);\n    /* harmony import */\n\n\n    var core_js_modules_es_string_split__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(\n    /*! core-js/modules/es.string.split */\n    \"./node_modules/core-js/modules/es.string.split.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_string_split__WEBPACK_IMPORTED_MODULE_68___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_string_split__WEBPACK_IMPORTED_MODULE_68__);\n    /* harmony import */\n\n\n    var core_js_modules_es_parse_int__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(\n    /*! core-js/modules/es.parse-int */\n    \"./node_modules/core-js/modules/es.parse-int.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_parse_int__WEBPACK_IMPORTED_MODULE_69___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_parse_int__WEBPACK_IMPORTED_MODULE_69__);\n    /* harmony import */\n\n\n    var core_js_modules_es_parse_float__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(\n    /*! core-js/modules/es.parse-float */\n    \"./node_modules/core-js/modules/es.parse-float.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_parse_float__WEBPACK_IMPORTED_MODULE_70___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_parse_float__WEBPACK_IMPORTED_MODULE_70__);\n    /* harmony import */\n\n\n    var core_js_es_number__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(\n    /*! core-js/es/number */\n    \"./node_modules/core-js/es/number/index.js\");\n    /* harmony import */\n\n\n    var core_js_es_number__WEBPACK_IMPORTED_MODULE_71___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_es_number__WEBPACK_IMPORTED_MODULE_71__);\n    /* harmony import */\n\n\n    var core_js_es_math__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(\n    /*! core-js/es/math */\n    \"./node_modules/core-js/es/math/index.js\");\n    /* harmony import */\n\n\n    var core_js_es_math__WEBPACK_IMPORTED_MODULE_72___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_es_math__WEBPACK_IMPORTED_MODULE_72__);\n    /* harmony import */\n\n\n    var core_js_es_date__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(\n    /*! core-js/es/date */\n    \"./node_modules/core-js/es/date/index.js\");\n    /* harmony import */\n\n\n    var core_js_es_date__WEBPACK_IMPORTED_MODULE_73___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_es_date__WEBPACK_IMPORTED_MODULE_73__);\n    /* harmony import */\n\n\n    var core_js_es_regexp__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(\n    /*! core-js/es/regexp */\n    \"./node_modules/core-js/es/regexp/index.js\");\n    /* harmony import */\n\n\n    var core_js_es_regexp__WEBPACK_IMPORTED_MODULE_74___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_es_regexp__WEBPACK_IMPORTED_MODULE_74__);\n    /* harmony import */\n\n\n    var core_js_modules_es_map__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(\n    /*! core-js/modules/es.map */\n    \"./node_modules/core-js/modules/es.map.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_map__WEBPACK_IMPORTED_MODULE_75___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_map__WEBPACK_IMPORTED_MODULE_75__);\n    /* harmony import */\n\n\n    var core_js_modules_es_weak_map__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(\n    /*! core-js/modules/es.weak-map */\n    \"./node_modules/core-js/modules/es.weak-map.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_weak_map__WEBPACK_IMPORTED_MODULE_76___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_weak_map__WEBPACK_IMPORTED_MODULE_76__);\n    /* harmony import */\n\n\n    var core_js_modules_es_set__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(\n    /*! core-js/modules/es.set */\n    \"./node_modules/core-js/modules/es.set.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_set__WEBPACK_IMPORTED_MODULE_77___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_set__WEBPACK_IMPORTED_MODULE_77__);\n    /* harmony import */\n\n\n    var core_js_modules_web_dom_collections_for_each__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(\n    /*! core-js/modules/web.dom-collections.for-each */\n    \"./node_modules/core-js/modules/web.dom-collections.for-each.js\");\n    /* harmony import */\n\n\n    var core_js_modules_web_dom_collections_for_each__WEBPACK_IMPORTED_MODULE_78___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_web_dom_collections_for_each__WEBPACK_IMPORTED_MODULE_78__);\n    /* harmony import */\n\n\n    var core_js_modules_web_dom_collections_iterator__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(\n    /*! core-js/modules/web.dom-collections.iterator */\n    \"./node_modules/core-js/modules/web.dom-collections.iterator.js\");\n    /* harmony import */\n\n\n    var core_js_modules_web_dom_collections_iterator__WEBPACK_IMPORTED_MODULE_79___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_web_dom_collections_iterator__WEBPACK_IMPORTED_MODULE_79__);\n    /* harmony import */\n\n\n    var core_js_modules_es_promise__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__(\n    /*! core-js/modules/es.promise */\n    \"./node_modules/core-js/modules/es.promise.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_promise__WEBPACK_IMPORTED_MODULE_80___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_promise__WEBPACK_IMPORTED_MODULE_80__);\n    /* harmony import */\n\n\n    var core_js_modules_es_json_to_string_tag__WEBPACK_IMPORTED_MODULE_81__ = __webpack_require__(\n    /*! core-js/modules/es.json.to-string-tag */\n    \"./node_modules/core-js/modules/es.json.to-string-tag.js\");\n    /* harmony import */\n\n\n    var core_js_modules_es_json_to_string_tag__WEBPACK_IMPORTED_MODULE_81___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_modules_es_json_to_string_tag__WEBPACK_IMPORTED_MODULE_81__);\n    /* harmony import */\n\n\n    var regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_82__ = __webpack_require__(\n    /*! regenerator-runtime/runtime */\n    \"./node_modules/regenerator-runtime/runtime.js\");\n    /* harmony import */\n\n\n    var regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_82___default =\n    /*#__PURE__*/\n    __webpack_require__.n(regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_82__);\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n    // ES2015 symbol capabilities\n    // ES2015 function capabilities\n    // ES2015 object capabilities\n    // ES2015 array capabilities\n    // ES2015 string capabilities\n\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/jit-polyfills.js\":\n  /*!**************************************************************************************************!*\\\n    !*** ./node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/jit-polyfills.js ***!\n    \\**************************************************************************************************/\n\n  /*! no exports provided */\n\n  /***/\n  function node_modulesAngularDevkitBuildAngularSrcAngularCliFilesModelsJitPolyfillsJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony import */\n\n\n    var core_js_proposals_reflect_metadata__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! core-js/proposals/reflect-metadata */\n    \"./node_modules/core-js/proposals/reflect-metadata.js\");\n    /* harmony import */\n\n\n    var core_js_proposals_reflect_metadata__WEBPACK_IMPORTED_MODULE_0___default =\n    /*#__PURE__*/\n    __webpack_require__.n(core_js_proposals_reflect_metadata__WEBPACK_IMPORTED_MODULE_0__);\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/es/date/index.js\":\n  /*!***********************************************!*\\\n    !*** ./node_modules/core-js/es/date/index.js ***!\n    \\***********************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsEsDateIndexJs(module, exports, __webpack_require__) {\n    __webpack_require__(\n    /*! ../../modules/es.date.now */\n    \"./node_modules/core-js/modules/es.date.now.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.date.to-json */\n    \"./node_modules/core-js/modules/es.date.to-json.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.date.to-iso-string */\n    \"./node_modules/core-js/modules/es.date.to-iso-string.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.date.to-string */\n    \"./node_modules/core-js/modules/es.date.to-string.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.date.to-primitive */\n    \"./node_modules/core-js/modules/es.date.to-primitive.js\");\n\n    var path = __webpack_require__(\n    /*! ../../internals/path */\n    \"./node_modules/core-js/internals/path.js\");\n\n    module.exports = path.Date;\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/es/math/index.js\":\n  /*!***********************************************!*\\\n    !*** ./node_modules/core-js/es/math/index.js ***!\n    \\***********************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsEsMathIndexJs(module, exports, __webpack_require__) {\n    __webpack_require__(\n    /*! ../../modules/es.math.acosh */\n    \"./node_modules/core-js/modules/es.math.acosh.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.math.asinh */\n    \"./node_modules/core-js/modules/es.math.asinh.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.math.atanh */\n    \"./node_modules/core-js/modules/es.math.atanh.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.math.cbrt */\n    \"./node_modules/core-js/modules/es.math.cbrt.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.math.clz32 */\n    \"./node_modules/core-js/modules/es.math.clz32.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.math.cosh */\n    \"./node_modules/core-js/modules/es.math.cosh.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.math.expm1 */\n    \"./node_modules/core-js/modules/es.math.expm1.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.math.fround */\n    \"./node_modules/core-js/modules/es.math.fround.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.math.hypot */\n    \"./node_modules/core-js/modules/es.math.hypot.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.math.imul */\n    \"./node_modules/core-js/modules/es.math.imul.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.math.log10 */\n    \"./node_modules/core-js/modules/es.math.log10.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.math.log1p */\n    \"./node_modules/core-js/modules/es.math.log1p.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.math.log2 */\n    \"./node_modules/core-js/modules/es.math.log2.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.math.sign */\n    \"./node_modules/core-js/modules/es.math.sign.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.math.sinh */\n    \"./node_modules/core-js/modules/es.math.sinh.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.math.tanh */\n    \"./node_modules/core-js/modules/es.math.tanh.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.math.to-string-tag */\n    \"./node_modules/core-js/modules/es.math.to-string-tag.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.math.trunc */\n    \"./node_modules/core-js/modules/es.math.trunc.js\");\n\n    var path = __webpack_require__(\n    /*! ../../internals/path */\n    \"./node_modules/core-js/internals/path.js\");\n\n    module.exports = path.Math;\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/es/number/index.js\":\n  /*!*************************************************!*\\\n    !*** ./node_modules/core-js/es/number/index.js ***!\n    \\*************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsEsNumberIndexJs(module, exports, __webpack_require__) {\n    __webpack_require__(\n    /*! ../../modules/es.number.constructor */\n    \"./node_modules/core-js/modules/es.number.constructor.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.number.epsilon */\n    \"./node_modules/core-js/modules/es.number.epsilon.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.number.is-finite */\n    \"./node_modules/core-js/modules/es.number.is-finite.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.number.is-integer */\n    \"./node_modules/core-js/modules/es.number.is-integer.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.number.is-nan */\n    \"./node_modules/core-js/modules/es.number.is-nan.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.number.is-safe-integer */\n    \"./node_modules/core-js/modules/es.number.is-safe-integer.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.number.max-safe-integer */\n    \"./node_modules/core-js/modules/es.number.max-safe-integer.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.number.min-safe-integer */\n    \"./node_modules/core-js/modules/es.number.min-safe-integer.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.number.parse-float */\n    \"./node_modules/core-js/modules/es.number.parse-float.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.number.parse-int */\n    \"./node_modules/core-js/modules/es.number.parse-int.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.number.to-fixed */\n    \"./node_modules/core-js/modules/es.number.to-fixed.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.number.to-precision */\n    \"./node_modules/core-js/modules/es.number.to-precision.js\");\n\n    var path = __webpack_require__(\n    /*! ../../internals/path */\n    \"./node_modules/core-js/internals/path.js\");\n\n    module.exports = path.Number;\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/es/reflect/index.js\":\n  /*!**************************************************!*\\\n    !*** ./node_modules/core-js/es/reflect/index.js ***!\n    \\**************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsEsReflectIndexJs(module, exports, __webpack_require__) {\n    __webpack_require__(\n    /*! ../../modules/es.reflect.apply */\n    \"./node_modules/core-js/modules/es.reflect.apply.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.reflect.construct */\n    \"./node_modules/core-js/modules/es.reflect.construct.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.reflect.define-property */\n    \"./node_modules/core-js/modules/es.reflect.define-property.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.reflect.delete-property */\n    \"./node_modules/core-js/modules/es.reflect.delete-property.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.reflect.get */\n    \"./node_modules/core-js/modules/es.reflect.get.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.reflect.get-own-property-descriptor */\n    \"./node_modules/core-js/modules/es.reflect.get-own-property-descriptor.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.reflect.get-prototype-of */\n    \"./node_modules/core-js/modules/es.reflect.get-prototype-of.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.reflect.has */\n    \"./node_modules/core-js/modules/es.reflect.has.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.reflect.is-extensible */\n    \"./node_modules/core-js/modules/es.reflect.is-extensible.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.reflect.own-keys */\n    \"./node_modules/core-js/modules/es.reflect.own-keys.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.reflect.prevent-extensions */\n    \"./node_modules/core-js/modules/es.reflect.prevent-extensions.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.reflect.set */\n    \"./node_modules/core-js/modules/es.reflect.set.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.reflect.set-prototype-of */\n    \"./node_modules/core-js/modules/es.reflect.set-prototype-of.js\");\n\n    var path = __webpack_require__(\n    /*! ../../internals/path */\n    \"./node_modules/core-js/internals/path.js\");\n\n    module.exports = path.Reflect;\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/es/regexp/index.js\":\n  /*!*************************************************!*\\\n    !*** ./node_modules/core-js/es/regexp/index.js ***!\n    \\*************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsEsRegexpIndexJs(module, exports, __webpack_require__) {\n    __webpack_require__(\n    /*! ../../modules/es.regexp.constructor */\n    \"./node_modules/core-js/modules/es.regexp.constructor.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.regexp.to-string */\n    \"./node_modules/core-js/modules/es.regexp.to-string.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.regexp.exec */\n    \"./node_modules/core-js/modules/es.regexp.exec.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.regexp.flags */\n    \"./node_modules/core-js/modules/es.regexp.flags.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.string.match */\n    \"./node_modules/core-js/modules/es.string.match.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.string.replace */\n    \"./node_modules/core-js/modules/es.string.replace.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.string.search */\n    \"./node_modules/core-js/modules/es.string.search.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.string.split */\n    \"./node_modules/core-js/modules/es.string.split.js\");\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/es/symbol/index.js\":\n  /*!*************************************************!*\\\n    !*** ./node_modules/core-js/es/symbol/index.js ***!\n    \\*************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsEsSymbolIndexJs(module, exports, __webpack_require__) {\n    __webpack_require__(\n    /*! ../../modules/es.array.concat */\n    \"./node_modules/core-js/modules/es.array.concat.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.object.to-string */\n    \"./node_modules/core-js/modules/es.object.to-string.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.symbol */\n    \"./node_modules/core-js/modules/es.symbol.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.symbol.async-iterator */\n    \"./node_modules/core-js/modules/es.symbol.async-iterator.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.symbol.description */\n    \"./node_modules/core-js/modules/es.symbol.description.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.symbol.has-instance */\n    \"./node_modules/core-js/modules/es.symbol.has-instance.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.symbol.is-concat-spreadable */\n    \"./node_modules/core-js/modules/es.symbol.is-concat-spreadable.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.symbol.iterator */\n    \"./node_modules/core-js/modules/es.symbol.iterator.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.symbol.match */\n    \"./node_modules/core-js/modules/es.symbol.match.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.symbol.match-all */\n    \"./node_modules/core-js/modules/es.symbol.match-all.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.symbol.replace */\n    \"./node_modules/core-js/modules/es.symbol.replace.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.symbol.search */\n    \"./node_modules/core-js/modules/es.symbol.search.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.symbol.species */\n    \"./node_modules/core-js/modules/es.symbol.species.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.symbol.split */\n    \"./node_modules/core-js/modules/es.symbol.split.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.symbol.to-primitive */\n    \"./node_modules/core-js/modules/es.symbol.to-primitive.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.symbol.to-string-tag */\n    \"./node_modules/core-js/modules/es.symbol.to-string-tag.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.symbol.unscopables */\n    \"./node_modules/core-js/modules/es.symbol.unscopables.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.math.to-string-tag */\n    \"./node_modules/core-js/modules/es.math.to-string-tag.js\");\n\n    __webpack_require__(\n    /*! ../../modules/es.json.to-string-tag */\n    \"./node_modules/core-js/modules/es.json.to-string-tag.js\");\n\n    var path = __webpack_require__(\n    /*! ../../internals/path */\n    \"./node_modules/core-js/internals/path.js\");\n\n    module.exports = path.Symbol;\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/a-function.js\":\n  /*!******************************************************!*\\\n    !*** ./node_modules/core-js/internals/a-function.js ***!\n    \\******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsAFunctionJs(module, exports) {\n    module.exports = function (it) {\n      if (typeof it != 'function') {\n        throw TypeError(String(it) + ' is not a function');\n      }\n\n      return it;\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/a-possible-prototype.js\":\n  /*!****************************************************************!*\\\n    !*** ./node_modules/core-js/internals/a-possible-prototype.js ***!\n    \\****************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsAPossiblePrototypeJs(module, exports, __webpack_require__) {\n    var isObject = __webpack_require__(\n    /*! ../internals/is-object */\n    \"./node_modules/core-js/internals/is-object.js\");\n\n    module.exports = function (it) {\n      if (!isObject(it) && it !== null) {\n        throw TypeError(\"Can't set \" + String(it) + ' as a prototype');\n      }\n\n      return it;\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/add-to-unscopables.js\":\n  /*!**************************************************************!*\\\n    !*** ./node_modules/core-js/internals/add-to-unscopables.js ***!\n    \\**************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsAddToUnscopablesJs(module, exports, __webpack_require__) {\n    var wellKnownSymbol = __webpack_require__(\n    /*! ../internals/well-known-symbol */\n    \"./node_modules/core-js/internals/well-known-symbol.js\");\n\n    var create = __webpack_require__(\n    /*! ../internals/object-create */\n    \"./node_modules/core-js/internals/object-create.js\");\n\n    var hide = __webpack_require__(\n    /*! ../internals/hide */\n    \"./node_modules/core-js/internals/hide.js\");\n\n    var UNSCOPABLES = wellKnownSymbol('unscopables');\n    var ArrayPrototype = Array.prototype; // Array.prototype[@@unscopables]\n    // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables\n\n    if (ArrayPrototype[UNSCOPABLES] == undefined) {\n      hide(ArrayPrototype, UNSCOPABLES, create(null));\n    } // add a key to Array.prototype[@@unscopables]\n\n\n    module.exports = function (key) {\n      ArrayPrototype[UNSCOPABLES][key] = true;\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/advance-string-index.js\":\n  /*!****************************************************************!*\\\n    !*** ./node_modules/core-js/internals/advance-string-index.js ***!\n    \\****************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsAdvanceStringIndexJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var charAt = __webpack_require__(\n    /*! ../internals/string-multibyte */\n    \"./node_modules/core-js/internals/string-multibyte.js\").charAt; // `AdvanceStringIndex` abstract operation\n    // https://tc39.github.io/ecma262/#sec-advancestringindex\n\n\n    module.exports = function (S, index, unicode) {\n      return index + (unicode ? charAt(S, index).length : 1);\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/an-instance.js\":\n  /*!*******************************************************!*\\\n    !*** ./node_modules/core-js/internals/an-instance.js ***!\n    \\*******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsAnInstanceJs(module, exports) {\n    module.exports = function (it, Constructor, name) {\n      if (!(it instanceof Constructor)) {\n        throw TypeError('Incorrect ' + (name ? name + ' ' : '') + 'invocation');\n      }\n\n      return it;\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/an-object.js\":\n  /*!*****************************************************!*\\\n    !*** ./node_modules/core-js/internals/an-object.js ***!\n    \\*****************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsAnObjectJs(module, exports, __webpack_require__) {\n    var isObject = __webpack_require__(\n    /*! ../internals/is-object */\n    \"./node_modules/core-js/internals/is-object.js\");\n\n    module.exports = function (it) {\n      if (!isObject(it)) {\n        throw TypeError(String(it) + ' is not an object');\n      }\n\n      return it;\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/array-copy-within.js\":\n  /*!*************************************************************!*\\\n    !*** ./node_modules/core-js/internals/array-copy-within.js ***!\n    \\*************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsArrayCopyWithinJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var toObject = __webpack_require__(\n    /*! ../internals/to-object */\n    \"./node_modules/core-js/internals/to-object.js\");\n\n    var toAbsoluteIndex = __webpack_require__(\n    /*! ../internals/to-absolute-index */\n    \"./node_modules/core-js/internals/to-absolute-index.js\");\n\n    var toLength = __webpack_require__(\n    /*! ../internals/to-length */\n    \"./node_modules/core-js/internals/to-length.js\");\n\n    var min = Math.min; // `Array.prototype.copyWithin` method implementation\n    // https://tc39.github.io/ecma262/#sec-array.prototype.copywithin\n\n    module.exports = [].copyWithin || function copyWithin(target\n    /* = 0 */\n    , start\n    /* = 0, end = @length */\n    ) {\n      var O = toObject(this);\n      var len = toLength(O.length);\n      var to = toAbsoluteIndex(target, len);\n      var from = toAbsoluteIndex(start, len);\n      var end = arguments.length > 2 ? arguments[2] : undefined;\n      var count = min((end === undefined ? len : toAbsoluteIndex(end, len)) - from, len - to);\n      var inc = 1;\n\n      if (from < to && to < from + count) {\n        inc = -1;\n        from += count - 1;\n        to += count - 1;\n      }\n\n      while (count-- > 0) {\n        if (from in O) O[to] = O[from];else delete O[to];\n        to += inc;\n        from += inc;\n      }\n\n      return O;\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/array-fill.js\":\n  /*!******************************************************!*\\\n    !*** ./node_modules/core-js/internals/array-fill.js ***!\n    \\******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsArrayFillJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var toObject = __webpack_require__(\n    /*! ../internals/to-object */\n    \"./node_modules/core-js/internals/to-object.js\");\n\n    var toAbsoluteIndex = __webpack_require__(\n    /*! ../internals/to-absolute-index */\n    \"./node_modules/core-js/internals/to-absolute-index.js\");\n\n    var toLength = __webpack_require__(\n    /*! ../internals/to-length */\n    \"./node_modules/core-js/internals/to-length.js\"); // `Array.prototype.fill` method implementation\n    // https://tc39.github.io/ecma262/#sec-array.prototype.fill\n\n\n    module.exports = function fill(value\n    /* , start = 0, end = @length */\n    ) {\n      var O = toObject(this);\n      var length = toLength(O.length);\n      var argumentsLength = arguments.length;\n      var index = toAbsoluteIndex(argumentsLength > 1 ? arguments[1] : undefined, length);\n      var end = argumentsLength > 2 ? arguments[2] : undefined;\n      var endPos = end === undefined ? length : toAbsoluteIndex(end, length);\n\n      while (endPos > index) {\n        O[index++] = value;\n      }\n\n      return O;\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/array-for-each.js\":\n  /*!**********************************************************!*\\\n    !*** ./node_modules/core-js/internals/array-for-each.js ***!\n    \\**********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsArrayForEachJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var $forEach = __webpack_require__(\n    /*! ../internals/array-iteration */\n    \"./node_modules/core-js/internals/array-iteration.js\").forEach;\n\n    var sloppyArrayMethod = __webpack_require__(\n    /*! ../internals/sloppy-array-method */\n    \"./node_modules/core-js/internals/sloppy-array-method.js\"); // `Array.prototype.forEach` method implementation\n    // https://tc39.github.io/ecma262/#sec-array.prototype.foreach\n\n\n    module.exports = sloppyArrayMethod('forEach') ? function forEach(callbackfn\n    /* , thisArg */\n    ) {\n      return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n    } : [].forEach;\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/array-from.js\":\n  /*!******************************************************!*\\\n    !*** ./node_modules/core-js/internals/array-from.js ***!\n    \\******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsArrayFromJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var bind = __webpack_require__(\n    /*! ../internals/bind-context */\n    \"./node_modules/core-js/internals/bind-context.js\");\n\n    var toObject = __webpack_require__(\n    /*! ../internals/to-object */\n    \"./node_modules/core-js/internals/to-object.js\");\n\n    var callWithSafeIterationClosing = __webpack_require__(\n    /*! ../internals/call-with-safe-iteration-closing */\n    \"./node_modules/core-js/internals/call-with-safe-iteration-closing.js\");\n\n    var isArrayIteratorMethod = __webpack_require__(\n    /*! ../internals/is-array-iterator-method */\n    \"./node_modules/core-js/internals/is-array-iterator-method.js\");\n\n    var toLength = __webpack_require__(\n    /*! ../internals/to-length */\n    \"./node_modules/core-js/internals/to-length.js\");\n\n    var createProperty = __webpack_require__(\n    /*! ../internals/create-property */\n    \"./node_modules/core-js/internals/create-property.js\");\n\n    var getIteratorMethod = __webpack_require__(\n    /*! ../internals/get-iterator-method */\n    \"./node_modules/core-js/internals/get-iterator-method.js\"); // `Array.from` method implementation\n    // https://tc39.github.io/ecma262/#sec-array.from\n\n\n    module.exports = function from(arrayLike\n    /* , mapfn = undefined, thisArg = undefined */\n    ) {\n      var O = toObject(arrayLike);\n      var C = typeof this == 'function' ? this : Array;\n      var argumentsLength = arguments.length;\n      var mapfn = argumentsLength > 1 ? arguments[1] : undefined;\n      var mapping = mapfn !== undefined;\n      var index = 0;\n      var iteratorMethod = getIteratorMethod(O);\n      var length, result, step, iterator;\n      if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined, 2); // if the target is not iterable or it's an array with the default iterator - use a simple case\n\n      if (iteratorMethod != undefined && !(C == Array && isArrayIteratorMethod(iteratorMethod))) {\n        iterator = iteratorMethod.call(O);\n        result = new C();\n\n        for (; !(step = iterator.next()).done; index++) {\n          createProperty(result, index, mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value);\n        }\n      } else {\n        length = toLength(O.length);\n        result = new C(length);\n\n        for (; length > index; index++) {\n          createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]);\n        }\n      }\n\n      result.length = index;\n      return result;\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/array-includes.js\":\n  /*!**********************************************************!*\\\n    !*** ./node_modules/core-js/internals/array-includes.js ***!\n    \\**********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsArrayIncludesJs(module, exports, __webpack_require__) {\n    var toIndexedObject = __webpack_require__(\n    /*! ../internals/to-indexed-object */\n    \"./node_modules/core-js/internals/to-indexed-object.js\");\n\n    var toLength = __webpack_require__(\n    /*! ../internals/to-length */\n    \"./node_modules/core-js/internals/to-length.js\");\n\n    var toAbsoluteIndex = __webpack_require__(\n    /*! ../internals/to-absolute-index */\n    \"./node_modules/core-js/internals/to-absolute-index.js\"); // `Array.prototype.{ indexOf, includes }` methods implementation\n\n\n    var createMethod = function createMethod(IS_INCLUDES) {\n      return function ($this, el, fromIndex) {\n        var O = toIndexedObject($this);\n        var length = toLength(O.length);\n        var index = toAbsoluteIndex(fromIndex, length);\n        var value; // Array#includes uses SameValueZero equality algorithm\n        // eslint-disable-next-line no-self-compare\n\n        if (IS_INCLUDES && el != el) while (length > index) {\n          value = O[index++]; // eslint-disable-next-line no-self-compare\n\n          if (value != value) return true; // Array#indexOf ignores holes, Array#includes - not\n        } else for (; length > index; index++) {\n          if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n        }\n        return !IS_INCLUDES && -1;\n      };\n    };\n\n    module.exports = {\n      // `Array.prototype.includes` method\n      // https://tc39.github.io/ecma262/#sec-array.prototype.includes\n      includes: createMethod(true),\n      // `Array.prototype.indexOf` method\n      // https://tc39.github.io/ecma262/#sec-array.prototype.indexof\n      indexOf: createMethod(false)\n    };\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/array-iteration.js\":\n  /*!***********************************************************!*\\\n    !*** ./node_modules/core-js/internals/array-iteration.js ***!\n    \\***********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsArrayIterationJs(module, exports, __webpack_require__) {\n    var bind = __webpack_require__(\n    /*! ../internals/bind-context */\n    \"./node_modules/core-js/internals/bind-context.js\");\n\n    var IndexedObject = __webpack_require__(\n    /*! ../internals/indexed-object */\n    \"./node_modules/core-js/internals/indexed-object.js\");\n\n    var toObject = __webpack_require__(\n    /*! ../internals/to-object */\n    \"./node_modules/core-js/internals/to-object.js\");\n\n    var toLength = __webpack_require__(\n    /*! ../internals/to-length */\n    \"./node_modules/core-js/internals/to-length.js\");\n\n    var arraySpeciesCreate = __webpack_require__(\n    /*! ../internals/array-species-create */\n    \"./node_modules/core-js/internals/array-species-create.js\");\n\n    var push = [].push; // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex }` methods implementation\n\n    var createMethod = function createMethod(TYPE) {\n      var IS_MAP = TYPE == 1;\n      var IS_FILTER = TYPE == 2;\n      var IS_SOME = TYPE == 3;\n      var IS_EVERY = TYPE == 4;\n      var IS_FIND_INDEX = TYPE == 6;\n      var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n      return function ($this, callbackfn, that, specificCreate) {\n        var O = toObject($this);\n        var self = IndexedObject(O);\n        var boundFunction = bind(callbackfn, that, 3);\n        var length = toLength(self.length);\n        var index = 0;\n        var create = specificCreate || arraySpeciesCreate;\n        var target = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;\n        var value, result;\n\n        for (; length > index; index++) {\n          if (NO_HOLES || index in self) {\n            value = self[index];\n            result = boundFunction(value, index, O);\n\n            if (TYPE) {\n              if (IS_MAP) target[index] = result; // map\n              else if (result) switch (TYPE) {\n                  case 3:\n                    return true;\n                  // some\n\n                  case 5:\n                    return value;\n                  // find\n\n                  case 6:\n                    return index;\n                  // findIndex\n\n                  case 2:\n                    push.call(target, value);\n                  // filter\n                } else if (IS_EVERY) return false; // every\n            }\n          }\n        }\n\n        return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;\n      };\n    };\n\n    module.exports = {\n      // `Array.prototype.forEach` method\n      // https://tc39.github.io/ecma262/#sec-array.prototype.foreach\n      forEach: createMethod(0),\n      // `Array.prototype.map` method\n      // https://tc39.github.io/ecma262/#sec-array.prototype.map\n      map: createMethod(1),\n      // `Array.prototype.filter` method\n      // https://tc39.github.io/ecma262/#sec-array.prototype.filter\n      filter: createMethod(2),\n      // `Array.prototype.some` method\n      // https://tc39.github.io/ecma262/#sec-array.prototype.some\n      some: createMethod(3),\n      // `Array.prototype.every` method\n      // https://tc39.github.io/ecma262/#sec-array.prototype.every\n      every: createMethod(4),\n      // `Array.prototype.find` method\n      // https://tc39.github.io/ecma262/#sec-array.prototype.find\n      find: createMethod(5),\n      // `Array.prototype.findIndex` method\n      // https://tc39.github.io/ecma262/#sec-array.prototype.findIndex\n      findIndex: createMethod(6)\n    };\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/array-last-index-of.js\":\n  /*!***************************************************************!*\\\n    !*** ./node_modules/core-js/internals/array-last-index-of.js ***!\n    \\***************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsArrayLastIndexOfJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var toIndexedObject = __webpack_require__(\n    /*! ../internals/to-indexed-object */\n    \"./node_modules/core-js/internals/to-indexed-object.js\");\n\n    var toInteger = __webpack_require__(\n    /*! ../internals/to-integer */\n    \"./node_modules/core-js/internals/to-integer.js\");\n\n    var toLength = __webpack_require__(\n    /*! ../internals/to-length */\n    \"./node_modules/core-js/internals/to-length.js\");\n\n    var sloppyArrayMethod = __webpack_require__(\n    /*! ../internals/sloppy-array-method */\n    \"./node_modules/core-js/internals/sloppy-array-method.js\");\n\n    var min = Math.min;\n    var nativeLastIndexOf = [].lastIndexOf;\n    var NEGATIVE_ZERO = !!nativeLastIndexOf && 1 / [1].lastIndexOf(1, -0) < 0;\n    var SLOPPY_METHOD = sloppyArrayMethod('lastIndexOf'); // `Array.prototype.lastIndexOf` method implementation\n    // https://tc39.github.io/ecma262/#sec-array.prototype.lastindexof\n\n    module.exports = NEGATIVE_ZERO || SLOPPY_METHOD ? function lastIndexOf(searchElement\n    /* , fromIndex = @[*-1] */\n    ) {\n      // convert -0 to +0\n      if (NEGATIVE_ZERO) return nativeLastIndexOf.apply(this, arguments) || 0;\n      var O = toIndexedObject(this);\n      var length = toLength(O.length);\n      var index = length - 1;\n      if (arguments.length > 1) index = min(index, toInteger(arguments[1]));\n      if (index < 0) index = length + index;\n\n      for (; index >= 0; index--) {\n        if (index in O && O[index] === searchElement) return index || 0;\n      }\n\n      return -1;\n    } : nativeLastIndexOf;\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/array-method-has-species-support.js\":\n  /*!****************************************************************************!*\\\n    !*** ./node_modules/core-js/internals/array-method-has-species-support.js ***!\n    \\****************************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsArrayMethodHasSpeciesSupportJs(module, exports, __webpack_require__) {\n    var fails = __webpack_require__(\n    /*! ../internals/fails */\n    \"./node_modules/core-js/internals/fails.js\");\n\n    var wellKnownSymbol = __webpack_require__(\n    /*! ../internals/well-known-symbol */\n    \"./node_modules/core-js/internals/well-known-symbol.js\");\n\n    var SPECIES = wellKnownSymbol('species');\n\n    module.exports = function (METHOD_NAME) {\n      return !fails(function () {\n        var array = [];\n        var constructor = array.constructor = {};\n\n        constructor[SPECIES] = function () {\n          return {\n            foo: 1\n          };\n        };\n\n        return array[METHOD_NAME](Boolean).foo !== 1;\n      });\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/array-reduce.js\":\n  /*!********************************************************!*\\\n    !*** ./node_modules/core-js/internals/array-reduce.js ***!\n    \\********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsArrayReduceJs(module, exports, __webpack_require__) {\n    var aFunction = __webpack_require__(\n    /*! ../internals/a-function */\n    \"./node_modules/core-js/internals/a-function.js\");\n\n    var toObject = __webpack_require__(\n    /*! ../internals/to-object */\n    \"./node_modules/core-js/internals/to-object.js\");\n\n    var IndexedObject = __webpack_require__(\n    /*! ../internals/indexed-object */\n    \"./node_modules/core-js/internals/indexed-object.js\");\n\n    var toLength = __webpack_require__(\n    /*! ../internals/to-length */\n    \"./node_modules/core-js/internals/to-length.js\"); // `Array.prototype.{ reduce, reduceRight }` methods implementation\n\n\n    var createMethod = function createMethod(IS_RIGHT) {\n      return function (that, callbackfn, argumentsLength, memo) {\n        aFunction(callbackfn);\n        var O = toObject(that);\n        var self = IndexedObject(O);\n        var length = toLength(O.length);\n        var index = IS_RIGHT ? length - 1 : 0;\n        var i = IS_RIGHT ? -1 : 1;\n        if (argumentsLength < 2) while (true) {\n          if (index in self) {\n            memo = self[index];\n            index += i;\n            break;\n          }\n\n          index += i;\n\n          if (IS_RIGHT ? index < 0 : length <= index) {\n            throw TypeError('Reduce of empty array with no initial value');\n          }\n        }\n\n        for (; IS_RIGHT ? index >= 0 : length > index; index += i) {\n          if (index in self) {\n            memo = callbackfn(memo, self[index], index, O);\n          }\n        }\n\n        return memo;\n      };\n    };\n\n    module.exports = {\n      // `Array.prototype.reduce` method\n      // https://tc39.github.io/ecma262/#sec-array.prototype.reduce\n      left: createMethod(false),\n      // `Array.prototype.reduceRight` method\n      // https://tc39.github.io/ecma262/#sec-array.prototype.reduceright\n      right: createMethod(true)\n    };\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/array-species-create.js\":\n  /*!****************************************************************!*\\\n    !*** ./node_modules/core-js/internals/array-species-create.js ***!\n    \\****************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsArraySpeciesCreateJs(module, exports, __webpack_require__) {\n    var isObject = __webpack_require__(\n    /*! ../internals/is-object */\n    \"./node_modules/core-js/internals/is-object.js\");\n\n    var isArray = __webpack_require__(\n    /*! ../internals/is-array */\n    \"./node_modules/core-js/internals/is-array.js\");\n\n    var wellKnownSymbol = __webpack_require__(\n    /*! ../internals/well-known-symbol */\n    \"./node_modules/core-js/internals/well-known-symbol.js\");\n\n    var SPECIES = wellKnownSymbol('species'); // `ArraySpeciesCreate` abstract operation\n    // https://tc39.github.io/ecma262/#sec-arrayspeciescreate\n\n    module.exports = function (originalArray, length) {\n      var C;\n\n      if (isArray(originalArray)) {\n        C = originalArray.constructor; // cross-realm fallback\n\n        if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;else if (isObject(C)) {\n          C = C[SPECIES];\n          if (C === null) C = undefined;\n        }\n      }\n\n      return new (C === undefined ? Array : C)(length === 0 ? 0 : length);\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/bind-context.js\":\n  /*!********************************************************!*\\\n    !*** ./node_modules/core-js/internals/bind-context.js ***!\n    \\********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsBindContextJs(module, exports, __webpack_require__) {\n    var aFunction = __webpack_require__(\n    /*! ../internals/a-function */\n    \"./node_modules/core-js/internals/a-function.js\"); // optional / simple context binding\n\n\n    module.exports = function (fn, that, length) {\n      aFunction(fn);\n      if (that === undefined) return fn;\n\n      switch (length) {\n        case 0:\n          return function () {\n            return fn.call(that);\n          };\n\n        case 1:\n          return function (a) {\n            return fn.call(that, a);\n          };\n\n        case 2:\n          return function (a, b) {\n            return fn.call(that, a, b);\n          };\n\n        case 3:\n          return function (a, b, c) {\n            return fn.call(that, a, b, c);\n          };\n      }\n\n      return function ()\n      /* ...args */\n      {\n        return fn.apply(that, arguments);\n      };\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/call-with-safe-iteration-closing.js\":\n  /*!****************************************************************************!*\\\n    !*** ./node_modules/core-js/internals/call-with-safe-iteration-closing.js ***!\n    \\****************************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsCallWithSafeIterationClosingJs(module, exports, __webpack_require__) {\n    var anObject = __webpack_require__(\n    /*! ../internals/an-object */\n    \"./node_modules/core-js/internals/an-object.js\"); // call something on iterator step with safe closing on error\n\n\n    module.exports = function (iterator, fn, value, ENTRIES) {\n      try {\n        return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value); // 7.4.6 IteratorClose(iterator, completion)\n      } catch (error) {\n        var returnMethod = iterator['return'];\n        if (returnMethod !== undefined) anObject(returnMethod.call(iterator));\n        throw error;\n      }\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/check-correctness-of-iteration.js\":\n  /*!**************************************************************************!*\\\n    !*** ./node_modules/core-js/internals/check-correctness-of-iteration.js ***!\n    \\**************************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsCheckCorrectnessOfIterationJs(module, exports, __webpack_require__) {\n    var wellKnownSymbol = __webpack_require__(\n    /*! ../internals/well-known-symbol */\n    \"./node_modules/core-js/internals/well-known-symbol.js\");\n\n    var ITERATOR = wellKnownSymbol('iterator');\n    var SAFE_CLOSING = false;\n\n    try {\n      var called = 0;\n      var iteratorWithReturn = {\n        next: function next() {\n          return {\n            done: !!called++\n          };\n        },\n        'return': function _return() {\n          SAFE_CLOSING = true;\n        }\n      };\n\n      iteratorWithReturn[ITERATOR] = function () {\n        return this;\n      }; // eslint-disable-next-line no-throw-literal\n\n\n      Array.from(iteratorWithReturn, function () {\n        throw 2;\n      });\n    } catch (error) {\n      /* empty */\n    }\n\n    module.exports = function (exec, SKIP_CLOSING) {\n      if (!SKIP_CLOSING && !SAFE_CLOSING) return false;\n      var ITERATION_SUPPORT = false;\n\n      try {\n        var object = {};\n\n        object[ITERATOR] = function () {\n          return {\n            next: function next() {\n              return {\n                done: ITERATION_SUPPORT = true\n              };\n            }\n          };\n        };\n\n        exec(object);\n      } catch (error) {\n        /* empty */\n      }\n\n      return ITERATION_SUPPORT;\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/classof-raw.js\":\n  /*!*******************************************************!*\\\n    !*** ./node_modules/core-js/internals/classof-raw.js ***!\n    \\*******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsClassofRawJs(module, exports) {\n    var toString = {}.toString;\n\n    module.exports = function (it) {\n      return toString.call(it).slice(8, -1);\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/classof.js\":\n  /*!***************************************************!*\\\n    !*** ./node_modules/core-js/internals/classof.js ***!\n    \\***************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsClassofJs(module, exports, __webpack_require__) {\n    var classofRaw = __webpack_require__(\n    /*! ../internals/classof-raw */\n    \"./node_modules/core-js/internals/classof-raw.js\");\n\n    var wellKnownSymbol = __webpack_require__(\n    /*! ../internals/well-known-symbol */\n    \"./node_modules/core-js/internals/well-known-symbol.js\");\n\n    var TO_STRING_TAG = wellKnownSymbol('toStringTag'); // ES3 wrong here\n\n    var CORRECT_ARGUMENTS = classofRaw(function () {\n      return arguments;\n    }()) == 'Arguments'; // fallback for IE11 Script Access Denied error\n\n    var tryGet = function tryGet(it, key) {\n      try {\n        return it[key];\n      } catch (error) {\n        /* empty */\n      }\n    }; // getting tag from ES6+ `Object.prototype.toString`\n\n\n    module.exports = function (it) {\n      var O, tag, result;\n      return it === undefined ? 'Undefined' : it === null ? 'Null' // @@toStringTag case\n      : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag // builtinTag case\n      : CORRECT_ARGUMENTS ? classofRaw(O) // ES3 arguments fallback\n      : (result = classofRaw(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : result;\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/collection-strong.js\":\n  /*!*************************************************************!*\\\n    !*** ./node_modules/core-js/internals/collection-strong.js ***!\n    \\*************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsCollectionStrongJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var defineProperty = __webpack_require__(\n    /*! ../internals/object-define-property */\n    \"./node_modules/core-js/internals/object-define-property.js\").f;\n\n    var create = __webpack_require__(\n    /*! ../internals/object-create */\n    \"./node_modules/core-js/internals/object-create.js\");\n\n    var redefineAll = __webpack_require__(\n    /*! ../internals/redefine-all */\n    \"./node_modules/core-js/internals/redefine-all.js\");\n\n    var bind = __webpack_require__(\n    /*! ../internals/bind-context */\n    \"./node_modules/core-js/internals/bind-context.js\");\n\n    var anInstance = __webpack_require__(\n    /*! ../internals/an-instance */\n    \"./node_modules/core-js/internals/an-instance.js\");\n\n    var iterate = __webpack_require__(\n    /*! ../internals/iterate */\n    \"./node_modules/core-js/internals/iterate.js\");\n\n    var defineIterator = __webpack_require__(\n    /*! ../internals/define-iterator */\n    \"./node_modules/core-js/internals/define-iterator.js\");\n\n    var setSpecies = __webpack_require__(\n    /*! ../internals/set-species */\n    \"./node_modules/core-js/internals/set-species.js\");\n\n    var DESCRIPTORS = __webpack_require__(\n    /*! ../internals/descriptors */\n    \"./node_modules/core-js/internals/descriptors.js\");\n\n    var fastKey = __webpack_require__(\n    /*! ../internals/internal-metadata */\n    \"./node_modules/core-js/internals/internal-metadata.js\").fastKey;\n\n    var InternalStateModule = __webpack_require__(\n    /*! ../internals/internal-state */\n    \"./node_modules/core-js/internals/internal-state.js\");\n\n    var setInternalState = InternalStateModule.set;\n    var internalStateGetterFor = InternalStateModule.getterFor;\n    module.exports = {\n      getConstructor: function getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {\n        var C = wrapper(function (that, iterable) {\n          anInstance(that, C, CONSTRUCTOR_NAME);\n          setInternalState(that, {\n            type: CONSTRUCTOR_NAME,\n            index: create(null),\n            first: undefined,\n            last: undefined,\n            size: 0\n          });\n          if (!DESCRIPTORS) that.size = 0;\n          if (iterable != undefined) iterate(iterable, that[ADDER], that, IS_MAP);\n        });\n        var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);\n\n        var define = function define(that, key, value) {\n          var state = getInternalState(that);\n          var entry = getEntry(that, key);\n          var previous, index; // change existing entry\n\n          if (entry) {\n            entry.value = value; // create new entry\n          } else {\n            state.last = entry = {\n              index: index = fastKey(key, true),\n              key: key,\n              value: value,\n              previous: previous = state.last,\n              next: undefined,\n              removed: false\n            };\n            if (!state.first) state.first = entry;\n            if (previous) previous.next = entry;\n            if (DESCRIPTORS) state.size++;else that.size++; // add to index\n\n            if (index !== 'F') state.index[index] = entry;\n          }\n\n          return that;\n        };\n\n        var getEntry = function getEntry(that, key) {\n          var state = getInternalState(that); // fast case\n\n          var index = fastKey(key);\n          var entry;\n          if (index !== 'F') return state.index[index]; // frozen object case\n\n          for (entry = state.first; entry; entry = entry.next) {\n            if (entry.key == key) return entry;\n          }\n        };\n\n        redefineAll(C.prototype, {\n          // 23.1.3.1 Map.prototype.clear()\n          // 23.2.3.2 Set.prototype.clear()\n          clear: function clear() {\n            var that = this;\n            var state = getInternalState(that);\n            var data = state.index;\n            var entry = state.first;\n\n            while (entry) {\n              entry.removed = true;\n              if (entry.previous) entry.previous = entry.previous.next = undefined;\n              delete data[entry.index];\n              entry = entry.next;\n            }\n\n            state.first = state.last = undefined;\n            if (DESCRIPTORS) state.size = 0;else that.size = 0;\n          },\n          // 23.1.3.3 Map.prototype.delete(key)\n          // 23.2.3.4 Set.prototype.delete(value)\n          'delete': function _delete(key) {\n            var that = this;\n            var state = getInternalState(that);\n            var entry = getEntry(that, key);\n\n            if (entry) {\n              var next = entry.next;\n              var prev = entry.previous;\n              delete state.index[entry.index];\n              entry.removed = true;\n              if (prev) prev.next = next;\n              if (next) next.previous = prev;\n              if (state.first == entry) state.first = next;\n              if (state.last == entry) state.last = prev;\n              if (DESCRIPTORS) state.size--;else that.size--;\n            }\n\n            return !!entry;\n          },\n          // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined)\n          // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined)\n          forEach: function forEach(callbackfn\n          /* , that = undefined */\n          ) {\n            var state = getInternalState(this);\n            var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);\n            var entry;\n\n            while (entry = entry ? entry.next : state.first) {\n              boundFunction(entry.value, entry.key, this); // revert to the last existing entry\n\n              while (entry && entry.removed) {\n                entry = entry.previous;\n              }\n            }\n          },\n          // 23.1.3.7 Map.prototype.has(key)\n          // 23.2.3.7 Set.prototype.has(value)\n          has: function has(key) {\n            return !!getEntry(this, key);\n          }\n        });\n        redefineAll(C.prototype, IS_MAP ? {\n          // 23.1.3.6 Map.prototype.get(key)\n          get: function get(key) {\n            var entry = getEntry(this, key);\n            return entry && entry.value;\n          },\n          // 23.1.3.9 Map.prototype.set(key, value)\n          set: function set(key, value) {\n            return define(this, key === 0 ? 0 : key, value);\n          }\n        } : {\n          // 23.2.3.1 Set.prototype.add(value)\n          add: function add(value) {\n            return define(this, value = value === 0 ? 0 : value, value);\n          }\n        });\n        if (DESCRIPTORS) defineProperty(C.prototype, 'size', {\n          get: function get() {\n            return getInternalState(this).size;\n          }\n        });\n        return C;\n      },\n      setStrong: function setStrong(C, CONSTRUCTOR_NAME, IS_MAP) {\n        var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator';\n        var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME);\n        var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME); // add .keys, .values, .entries, [@@iterator]\n        // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11\n\n        defineIterator(C, CONSTRUCTOR_NAME, function (iterated, kind) {\n          setInternalState(this, {\n            type: ITERATOR_NAME,\n            target: iterated,\n            state: getInternalCollectionState(iterated),\n            kind: kind,\n            last: undefined\n          });\n        }, function () {\n          var state = getInternalIteratorState(this);\n          var kind = state.kind;\n          var entry = state.last; // revert to the last existing entry\n\n          while (entry && entry.removed) {\n            entry = entry.previous;\n          } // get next entry\n\n\n          if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) {\n            // or finish the iteration\n            state.target = undefined;\n            return {\n              value: undefined,\n              done: true\n            };\n          } // return step by kind\n\n\n          if (kind == 'keys') return {\n            value: entry.key,\n            done: false\n          };\n          if (kind == 'values') return {\n            value: entry.value,\n            done: false\n          };\n          return {\n            value: [entry.key, entry.value],\n            done: false\n          };\n        }, IS_MAP ? 'entries' : 'values', !IS_MAP, true); // add [@@species], 23.1.2.2, 23.2.2.2\n\n        setSpecies(CONSTRUCTOR_NAME);\n      }\n    };\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/collection-weak.js\":\n  /*!***********************************************************!*\\\n    !*** ./node_modules/core-js/internals/collection-weak.js ***!\n    \\***********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsCollectionWeakJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var redefineAll = __webpack_require__(\n    /*! ../internals/redefine-all */\n    \"./node_modules/core-js/internals/redefine-all.js\");\n\n    var getWeakData = __webpack_require__(\n    /*! ../internals/internal-metadata */\n    \"./node_modules/core-js/internals/internal-metadata.js\").getWeakData;\n\n    var anObject = __webpack_require__(\n    /*! ../internals/an-object */\n    \"./node_modules/core-js/internals/an-object.js\");\n\n    var isObject = __webpack_require__(\n    /*! ../internals/is-object */\n    \"./node_modules/core-js/internals/is-object.js\");\n\n    var anInstance = __webpack_require__(\n    /*! ../internals/an-instance */\n    \"./node_modules/core-js/internals/an-instance.js\");\n\n    var iterate = __webpack_require__(\n    /*! ../internals/iterate */\n    \"./node_modules/core-js/internals/iterate.js\");\n\n    var ArrayIterationModule = __webpack_require__(\n    /*! ../internals/array-iteration */\n    \"./node_modules/core-js/internals/array-iteration.js\");\n\n    var $has = __webpack_require__(\n    /*! ../internals/has */\n    \"./node_modules/core-js/internals/has.js\");\n\n    var InternalStateModule = __webpack_require__(\n    /*! ../internals/internal-state */\n    \"./node_modules/core-js/internals/internal-state.js\");\n\n    var setInternalState = InternalStateModule.set;\n    var internalStateGetterFor = InternalStateModule.getterFor;\n    var find = ArrayIterationModule.find;\n    var findIndex = ArrayIterationModule.findIndex;\n    var id = 0; // fallback for uncaught frozen keys\n\n    var uncaughtFrozenStore = function uncaughtFrozenStore(store) {\n      return store.frozen || (store.frozen = new UncaughtFrozenStore());\n    };\n\n    var UncaughtFrozenStore = function UncaughtFrozenStore() {\n      this.entries = [];\n    };\n\n    var findUncaughtFrozen = function findUncaughtFrozen(store, key) {\n      return find(store.entries, function (it) {\n        return it[0] === key;\n      });\n    };\n\n    UncaughtFrozenStore.prototype = {\n      get: function get(key) {\n        var entry = findUncaughtFrozen(this, key);\n        if (entry) return entry[1];\n      },\n      has: function has(key) {\n        return !!findUncaughtFrozen(this, key);\n      },\n      set: function set(key, value) {\n        var entry = findUncaughtFrozen(this, key);\n        if (entry) entry[1] = value;else this.entries.push([key, value]);\n      },\n      'delete': function _delete(key) {\n        var index = findIndex(this.entries, function (it) {\n          return it[0] === key;\n        });\n        if (~index) this.entries.splice(index, 1);\n        return !!~index;\n      }\n    };\n    module.exports = {\n      getConstructor: function getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {\n        var C = wrapper(function (that, iterable) {\n          anInstance(that, C, CONSTRUCTOR_NAME);\n          setInternalState(that, {\n            type: CONSTRUCTOR_NAME,\n            id: id++,\n            frozen: undefined\n          });\n          if (iterable != undefined) iterate(iterable, that[ADDER], that, IS_MAP);\n        });\n        var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);\n\n        var define = function define(that, key, value) {\n          var state = getInternalState(that);\n          var data = getWeakData(anObject(key), true);\n          if (data === true) uncaughtFrozenStore(state).set(key, value);else data[state.id] = value;\n          return that;\n        };\n\n        redefineAll(C.prototype, {\n          // 23.3.3.2 WeakMap.prototype.delete(key)\n          // 23.4.3.3 WeakSet.prototype.delete(value)\n          'delete': function _delete(key) {\n            var state = getInternalState(this);\n            if (!isObject(key)) return false;\n            var data = getWeakData(key);\n            if (data === true) return uncaughtFrozenStore(state)['delete'](key);\n            return data && $has(data, state.id) && delete data[state.id];\n          },\n          // 23.3.3.4 WeakMap.prototype.has(key)\n          // 23.4.3.4 WeakSet.prototype.has(value)\n          has: function has(key) {\n            var state = getInternalState(this);\n            if (!isObject(key)) return false;\n            var data = getWeakData(key);\n            if (data === true) return uncaughtFrozenStore(state).has(key);\n            return data && $has(data, state.id);\n          }\n        });\n        redefineAll(C.prototype, IS_MAP ? {\n          // 23.3.3.3 WeakMap.prototype.get(key)\n          get: function get(key) {\n            var state = getInternalState(this);\n\n            if (isObject(key)) {\n              var data = getWeakData(key);\n              if (data === true) return uncaughtFrozenStore(state).get(key);\n              return data ? data[state.id] : undefined;\n            }\n          },\n          // 23.3.3.5 WeakMap.prototype.set(key, value)\n          set: function set(key, value) {\n            return define(this, key, value);\n          }\n        } : {\n          // 23.4.3.1 WeakSet.prototype.add(value)\n          add: function add(value) {\n            return define(this, value, true);\n          }\n        });\n        return C;\n      }\n    };\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/collection.js\":\n  /*!******************************************************!*\\\n    !*** ./node_modules/core-js/internals/collection.js ***!\n    \\******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsCollectionJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var global = __webpack_require__(\n    /*! ../internals/global */\n    \"./node_modules/core-js/internals/global.js\");\n\n    var isForced = __webpack_require__(\n    /*! ../internals/is-forced */\n    \"./node_modules/core-js/internals/is-forced.js\");\n\n    var redefine = __webpack_require__(\n    /*! ../internals/redefine */\n    \"./node_modules/core-js/internals/redefine.js\");\n\n    var InternalMetadataModule = __webpack_require__(\n    /*! ../internals/internal-metadata */\n    \"./node_modules/core-js/internals/internal-metadata.js\");\n\n    var iterate = __webpack_require__(\n    /*! ../internals/iterate */\n    \"./node_modules/core-js/internals/iterate.js\");\n\n    var anInstance = __webpack_require__(\n    /*! ../internals/an-instance */\n    \"./node_modules/core-js/internals/an-instance.js\");\n\n    var isObject = __webpack_require__(\n    /*! ../internals/is-object */\n    \"./node_modules/core-js/internals/is-object.js\");\n\n    var fails = __webpack_require__(\n    /*! ../internals/fails */\n    \"./node_modules/core-js/internals/fails.js\");\n\n    var checkCorrectnessOfIteration = __webpack_require__(\n    /*! ../internals/check-correctness-of-iteration */\n    \"./node_modules/core-js/internals/check-correctness-of-iteration.js\");\n\n    var setToStringTag = __webpack_require__(\n    /*! ../internals/set-to-string-tag */\n    \"./node_modules/core-js/internals/set-to-string-tag.js\");\n\n    var inheritIfRequired = __webpack_require__(\n    /*! ../internals/inherit-if-required */\n    \"./node_modules/core-js/internals/inherit-if-required.js\");\n\n    module.exports = function (CONSTRUCTOR_NAME, wrapper, common, IS_MAP, IS_WEAK) {\n      var NativeConstructor = global[CONSTRUCTOR_NAME];\n      var NativePrototype = NativeConstructor && NativeConstructor.prototype;\n      var Constructor = NativeConstructor;\n      var ADDER = IS_MAP ? 'set' : 'add';\n      var exported = {};\n\n      var fixMethod = function fixMethod(KEY) {\n        var nativeMethod = NativePrototype[KEY];\n        redefine(NativePrototype, KEY, KEY == 'add' ? function add(value) {\n          nativeMethod.call(this, value === 0 ? 0 : value);\n          return this;\n        } : KEY == 'delete' ? function (key) {\n          return IS_WEAK && !isObject(key) ? false : nativeMethod.call(this, key === 0 ? 0 : key);\n        } : KEY == 'get' ? function get(key) {\n          return IS_WEAK && !isObject(key) ? undefined : nativeMethod.call(this, key === 0 ? 0 : key);\n        } : KEY == 'has' ? function has(key) {\n          return IS_WEAK && !isObject(key) ? false : nativeMethod.call(this, key === 0 ? 0 : key);\n        } : function set(key, value) {\n          nativeMethod.call(this, key === 0 ? 0 : key, value);\n          return this;\n        });\n      }; // eslint-disable-next-line max-len\n\n\n      if (isForced(CONSTRUCTOR_NAME, typeof NativeConstructor != 'function' || !(IS_WEAK || NativePrototype.forEach && !fails(function () {\n        new NativeConstructor().entries().next();\n      })))) {\n        // create collection constructor\n        Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER);\n        InternalMetadataModule.REQUIRED = true;\n      } else if (isForced(CONSTRUCTOR_NAME, true)) {\n        var instance = new Constructor(); // early implementations not supports chaining\n\n        var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance; // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false\n\n        var THROWS_ON_PRIMITIVES = fails(function () {\n          instance.has(1);\n        }); // most early implementations doesn't supports iterables, most modern - not close it correctly\n        // eslint-disable-next-line no-new\n\n        var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) {\n          new NativeConstructor(iterable);\n        }); // for early implementations -0 and +0 not the same\n\n        var BUGGY_ZERO = !IS_WEAK && fails(function () {\n          // V8 ~ Chromium 42- fails only with 5+ elements\n          var $instance = new NativeConstructor();\n          var index = 5;\n\n          while (index--) {\n            $instance[ADDER](index, index);\n          }\n\n          return !$instance.has(-0);\n        });\n\n        if (!ACCEPT_ITERABLES) {\n          Constructor = wrapper(function (dummy, iterable) {\n            anInstance(dummy, Constructor, CONSTRUCTOR_NAME);\n            var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor);\n            if (iterable != undefined) iterate(iterable, that[ADDER], that, IS_MAP);\n            return that;\n          });\n          Constructor.prototype = NativePrototype;\n          NativePrototype.constructor = Constructor;\n        }\n\n        if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {\n          fixMethod('delete');\n          fixMethod('has');\n          IS_MAP && fixMethod('get');\n        }\n\n        if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER); // weak collections should not contains .clear method\n\n        if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear;\n      }\n\n      exported[CONSTRUCTOR_NAME] = Constructor;\n      $({\n        global: true,\n        forced: Constructor != NativeConstructor\n      }, exported);\n      setToStringTag(Constructor, CONSTRUCTOR_NAME);\n      if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP);\n      return Constructor;\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/copy-constructor-properties.js\":\n  /*!***********************************************************************!*\\\n    !*** ./node_modules/core-js/internals/copy-constructor-properties.js ***!\n    \\***********************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsCopyConstructorPropertiesJs(module, exports, __webpack_require__) {\n    var has = __webpack_require__(\n    /*! ../internals/has */\n    \"./node_modules/core-js/internals/has.js\");\n\n    var ownKeys = __webpack_require__(\n    /*! ../internals/own-keys */\n    \"./node_modules/core-js/internals/own-keys.js\");\n\n    var getOwnPropertyDescriptorModule = __webpack_require__(\n    /*! ../internals/object-get-own-property-descriptor */\n    \"./node_modules/core-js/internals/object-get-own-property-descriptor.js\");\n\n    var definePropertyModule = __webpack_require__(\n    /*! ../internals/object-define-property */\n    \"./node_modules/core-js/internals/object-define-property.js\");\n\n    module.exports = function (target, source) {\n      var keys = ownKeys(source);\n      var defineProperty = definePropertyModule.f;\n      var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n\n      for (var i = 0; i < keys.length; i++) {\n        var key = keys[i];\n        if (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n      }\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/correct-is-regexp-logic.js\":\n  /*!*******************************************************************!*\\\n    !*** ./node_modules/core-js/internals/correct-is-regexp-logic.js ***!\n    \\*******************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsCorrectIsRegexpLogicJs(module, exports, __webpack_require__) {\n    var wellKnownSymbol = __webpack_require__(\n    /*! ../internals/well-known-symbol */\n    \"./node_modules/core-js/internals/well-known-symbol.js\");\n\n    var MATCH = wellKnownSymbol('match');\n\n    module.exports = function (METHOD_NAME) {\n      var regexp = /./;\n\n      try {\n        '/./'[METHOD_NAME](regexp);\n      } catch (e) {\n        try {\n          regexp[MATCH] = false;\n          return '/./'[METHOD_NAME](regexp);\n        } catch (f) {\n          /* empty */\n        }\n      }\n\n      return false;\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/correct-prototype-getter.js\":\n  /*!********************************************************************!*\\\n    !*** ./node_modules/core-js/internals/correct-prototype-getter.js ***!\n    \\********************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsCorrectPrototypeGetterJs(module, exports, __webpack_require__) {\n    var fails = __webpack_require__(\n    /*! ../internals/fails */\n    \"./node_modules/core-js/internals/fails.js\");\n\n    module.exports = !fails(function () {\n      function F() {\n        /* empty */\n      }\n\n      F.prototype.constructor = null;\n      return Object.getPrototypeOf(new F()) !== F.prototype;\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/create-html.js\":\n  /*!*******************************************************!*\\\n    !*** ./node_modules/core-js/internals/create-html.js ***!\n    \\*******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsCreateHtmlJs(module, exports, __webpack_require__) {\n    var requireObjectCoercible = __webpack_require__(\n    /*! ../internals/require-object-coercible */\n    \"./node_modules/core-js/internals/require-object-coercible.js\");\n\n    var quot = /\"/g; // B.2.3.2.1 CreateHTML(string, tag, attribute, value)\n    // https://tc39.github.io/ecma262/#sec-createhtml\n\n    module.exports = function (string, tag, attribute, value) {\n      var S = String(requireObjectCoercible(string));\n      var p1 = '<' + tag;\n      if (attribute !== '') p1 += ' ' + attribute + '=\"' + String(value).replace(quot, '&quot;') + '\"';\n      return p1 + '>' + S + '</' + tag + '>';\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/create-iterator-constructor.js\":\n  /*!***********************************************************************!*\\\n    !*** ./node_modules/core-js/internals/create-iterator-constructor.js ***!\n    \\***********************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsCreateIteratorConstructorJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var IteratorPrototype = __webpack_require__(\n    /*! ../internals/iterators-core */\n    \"./node_modules/core-js/internals/iterators-core.js\").IteratorPrototype;\n\n    var create = __webpack_require__(\n    /*! ../internals/object-create */\n    \"./node_modules/core-js/internals/object-create.js\");\n\n    var createPropertyDescriptor = __webpack_require__(\n    /*! ../internals/create-property-descriptor */\n    \"./node_modules/core-js/internals/create-property-descriptor.js\");\n\n    var setToStringTag = __webpack_require__(\n    /*! ../internals/set-to-string-tag */\n    \"./node_modules/core-js/internals/set-to-string-tag.js\");\n\n    var Iterators = __webpack_require__(\n    /*! ../internals/iterators */\n    \"./node_modules/core-js/internals/iterators.js\");\n\n    var returnThis = function returnThis() {\n      return this;\n    };\n\n    module.exports = function (IteratorConstructor, NAME, next) {\n      var TO_STRING_TAG = NAME + ' Iterator';\n      IteratorConstructor.prototype = create(IteratorPrototype, {\n        next: createPropertyDescriptor(1, next)\n      });\n      setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);\n      Iterators[TO_STRING_TAG] = returnThis;\n      return IteratorConstructor;\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/create-property-descriptor.js\":\n  /*!**********************************************************************!*\\\n    !*** ./node_modules/core-js/internals/create-property-descriptor.js ***!\n    \\**********************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsCreatePropertyDescriptorJs(module, exports) {\n    module.exports = function (bitmap, value) {\n      return {\n        enumerable: !(bitmap & 1),\n        configurable: !(bitmap & 2),\n        writable: !(bitmap & 4),\n        value: value\n      };\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/create-property.js\":\n  /*!***********************************************************!*\\\n    !*** ./node_modules/core-js/internals/create-property.js ***!\n    \\***********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsCreatePropertyJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var toPrimitive = __webpack_require__(\n    /*! ../internals/to-primitive */\n    \"./node_modules/core-js/internals/to-primitive.js\");\n\n    var definePropertyModule = __webpack_require__(\n    /*! ../internals/object-define-property */\n    \"./node_modules/core-js/internals/object-define-property.js\");\n\n    var createPropertyDescriptor = __webpack_require__(\n    /*! ../internals/create-property-descriptor */\n    \"./node_modules/core-js/internals/create-property-descriptor.js\");\n\n    module.exports = function (object, key, value) {\n      var propertyKey = toPrimitive(key);\n      if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));else object[propertyKey] = value;\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/date-to-iso-string.js\":\n  /*!**************************************************************!*\\\n    !*** ./node_modules/core-js/internals/date-to-iso-string.js ***!\n    \\**************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsDateToIsoStringJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var fails = __webpack_require__(\n    /*! ../internals/fails */\n    \"./node_modules/core-js/internals/fails.js\");\n\n    var padStart = __webpack_require__(\n    /*! ../internals/string-pad */\n    \"./node_modules/core-js/internals/string-pad.js\").start;\n\n    var abs = Math.abs;\n    var DatePrototype = Date.prototype;\n    var getTime = DatePrototype.getTime;\n    var nativeDateToISOString = DatePrototype.toISOString; // `Date.prototype.toISOString` method implementation\n    // https://tc39.github.io/ecma262/#sec-date.prototype.toisostring\n    // PhantomJS / old WebKit fails here:\n\n    module.exports = fails(function () {\n      return nativeDateToISOString.call(new Date(-5e13 - 1)) != '0385-07-25T07:06:39.999Z';\n    }) || !fails(function () {\n      nativeDateToISOString.call(new Date(NaN));\n    }) ? function toISOString() {\n      if (!isFinite(getTime.call(this))) throw RangeError('Invalid time value');\n      var date = this;\n      var year = date.getUTCFullYear();\n      var milliseconds = date.getUTCMilliseconds();\n      var sign = year < 0 ? '-' : year > 9999 ? '+' : '';\n      return sign + padStart(abs(year), sign ? 6 : 4, 0) + '-' + padStart(date.getUTCMonth() + 1, 2, 0) + '-' + padStart(date.getUTCDate(), 2, 0) + 'T' + padStart(date.getUTCHours(), 2, 0) + ':' + padStart(date.getUTCMinutes(), 2, 0) + ':' + padStart(date.getUTCSeconds(), 2, 0) + '.' + padStart(milliseconds, 3, 0) + 'Z';\n    } : nativeDateToISOString;\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/date-to-primitive.js\":\n  /*!*************************************************************!*\\\n    !*** ./node_modules/core-js/internals/date-to-primitive.js ***!\n    \\*************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsDateToPrimitiveJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var anObject = __webpack_require__(\n    /*! ../internals/an-object */\n    \"./node_modules/core-js/internals/an-object.js\");\n\n    var toPrimitive = __webpack_require__(\n    /*! ../internals/to-primitive */\n    \"./node_modules/core-js/internals/to-primitive.js\");\n\n    module.exports = function (hint) {\n      if (hint !== 'string' && hint !== 'number' && hint !== 'default') {\n        throw TypeError('Incorrect hint');\n      }\n\n      return toPrimitive(anObject(this), hint !== 'number');\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/define-iterator.js\":\n  /*!***********************************************************!*\\\n    !*** ./node_modules/core-js/internals/define-iterator.js ***!\n    \\***********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsDefineIteratorJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var createIteratorConstructor = __webpack_require__(\n    /*! ../internals/create-iterator-constructor */\n    \"./node_modules/core-js/internals/create-iterator-constructor.js\");\n\n    var getPrototypeOf = __webpack_require__(\n    /*! ../internals/object-get-prototype-of */\n    \"./node_modules/core-js/internals/object-get-prototype-of.js\");\n\n    var setPrototypeOf = __webpack_require__(\n    /*! ../internals/object-set-prototype-of */\n    \"./node_modules/core-js/internals/object-set-prototype-of.js\");\n\n    var setToStringTag = __webpack_require__(\n    /*! ../internals/set-to-string-tag */\n    \"./node_modules/core-js/internals/set-to-string-tag.js\");\n\n    var hide = __webpack_require__(\n    /*! ../internals/hide */\n    \"./node_modules/core-js/internals/hide.js\");\n\n    var redefine = __webpack_require__(\n    /*! ../internals/redefine */\n    \"./node_modules/core-js/internals/redefine.js\");\n\n    var wellKnownSymbol = __webpack_require__(\n    /*! ../internals/well-known-symbol */\n    \"./node_modules/core-js/internals/well-known-symbol.js\");\n\n    var IS_PURE = __webpack_require__(\n    /*! ../internals/is-pure */\n    \"./node_modules/core-js/internals/is-pure.js\");\n\n    var Iterators = __webpack_require__(\n    /*! ../internals/iterators */\n    \"./node_modules/core-js/internals/iterators.js\");\n\n    var IteratorsCore = __webpack_require__(\n    /*! ../internals/iterators-core */\n    \"./node_modules/core-js/internals/iterators-core.js\");\n\n    var IteratorPrototype = IteratorsCore.IteratorPrototype;\n    var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;\n    var ITERATOR = wellKnownSymbol('iterator');\n    var KEYS = 'keys';\n    var VALUES = 'values';\n    var ENTRIES = 'entries';\n\n    var returnThis = function returnThis() {\n      return this;\n    };\n\n    module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {\n      createIteratorConstructor(IteratorConstructor, NAME, next);\n\n      var getIterationMethod = function getIterationMethod(KIND) {\n        if (KIND === DEFAULT && defaultIterator) return defaultIterator;\n        if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];\n\n        switch (KIND) {\n          case KEYS:\n            return function keys() {\n              return new IteratorConstructor(this, KIND);\n            };\n\n          case VALUES:\n            return function values() {\n              return new IteratorConstructor(this, KIND);\n            };\n\n          case ENTRIES:\n            return function entries() {\n              return new IteratorConstructor(this, KIND);\n            };\n        }\n\n        return function () {\n          return new IteratorConstructor(this);\n        };\n      };\n\n      var TO_STRING_TAG = NAME + ' Iterator';\n      var INCORRECT_VALUES_NAME = false;\n      var IterablePrototype = Iterable.prototype;\n      var nativeIterator = IterablePrototype[ITERATOR] || IterablePrototype['@@iterator'] || DEFAULT && IterablePrototype[DEFAULT];\n      var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);\n      var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;\n      var CurrentIteratorPrototype, methods, KEY; // fix native\n\n      if (anyNativeIterator) {\n        CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));\n\n        if (IteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {\n          if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {\n            if (setPrototypeOf) {\n              setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);\n            } else if (typeof CurrentIteratorPrototype[ITERATOR] != 'function') {\n              hide(CurrentIteratorPrototype, ITERATOR, returnThis);\n            }\n          } // Set @@toStringTag to native iterators\n\n\n          setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);\n          if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;\n        }\n      } // fix Array#{values, @@iterator}.name in V8 / FF\n\n\n      if (DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {\n        INCORRECT_VALUES_NAME = true;\n\n        defaultIterator = function values() {\n          return nativeIterator.call(this);\n        };\n      } // define iterator\n\n\n      if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {\n        hide(IterablePrototype, ITERATOR, defaultIterator);\n      }\n\n      Iterators[NAME] = defaultIterator; // export additional methods\n\n      if (DEFAULT) {\n        methods = {\n          values: getIterationMethod(VALUES),\n          keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),\n          entries: getIterationMethod(ENTRIES)\n        };\n        if (FORCED) for (KEY in methods) {\n          if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {\n            redefine(IterablePrototype, KEY, methods[KEY]);\n          }\n        } else $({\n          target: NAME,\n          proto: true,\n          forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME\n        }, methods);\n      }\n\n      return methods;\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/define-well-known-symbol.js\":\n  /*!********************************************************************!*\\\n    !*** ./node_modules/core-js/internals/define-well-known-symbol.js ***!\n    \\********************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsDefineWellKnownSymbolJs(module, exports, __webpack_require__) {\n    var path = __webpack_require__(\n    /*! ../internals/path */\n    \"./node_modules/core-js/internals/path.js\");\n\n    var has = __webpack_require__(\n    /*! ../internals/has */\n    \"./node_modules/core-js/internals/has.js\");\n\n    var wrappedWellKnownSymbolModule = __webpack_require__(\n    /*! ../internals/wrapped-well-known-symbol */\n    \"./node_modules/core-js/internals/wrapped-well-known-symbol.js\");\n\n    var defineProperty = __webpack_require__(\n    /*! ../internals/object-define-property */\n    \"./node_modules/core-js/internals/object-define-property.js\").f;\n\n    module.exports = function (NAME) {\n      var Symbol = path.Symbol || (path.Symbol = {});\n      if (!has(Symbol, NAME)) defineProperty(Symbol, NAME, {\n        value: wrappedWellKnownSymbolModule.f(NAME)\n      });\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/descriptors.js\":\n  /*!*******************************************************!*\\\n    !*** ./node_modules/core-js/internals/descriptors.js ***!\n    \\*******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsDescriptorsJs(module, exports, __webpack_require__) {\n    var fails = __webpack_require__(\n    /*! ../internals/fails */\n    \"./node_modules/core-js/internals/fails.js\"); // Thank's IE8 for his funny defineProperty\n\n\n    module.exports = !fails(function () {\n      return Object.defineProperty({}, 'a', {\n        get: function get() {\n          return 7;\n        }\n      }).a != 7;\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/document-create-element.js\":\n  /*!*******************************************************************!*\\\n    !*** ./node_modules/core-js/internals/document-create-element.js ***!\n    \\*******************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsDocumentCreateElementJs(module, exports, __webpack_require__) {\n    var global = __webpack_require__(\n    /*! ../internals/global */\n    \"./node_modules/core-js/internals/global.js\");\n\n    var isObject = __webpack_require__(\n    /*! ../internals/is-object */\n    \"./node_modules/core-js/internals/is-object.js\");\n\n    var document = global.document; // typeof document.createElement is 'object' in old IE\n\n    var EXISTS = isObject(document) && isObject(document.createElement);\n\n    module.exports = function (it) {\n      return EXISTS ? document.createElement(it) : {};\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/dom-iterables.js\":\n  /*!*********************************************************!*\\\n    !*** ./node_modules/core-js/internals/dom-iterables.js ***!\n    \\*********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsDomIterablesJs(module, exports) {\n    // iterable DOM collections\n    // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods\n    module.exports = {\n      CSSRuleList: 0,\n      CSSStyleDeclaration: 0,\n      CSSValueList: 0,\n      ClientRectList: 0,\n      DOMRectList: 0,\n      DOMStringList: 0,\n      DOMTokenList: 1,\n      DataTransferItemList: 0,\n      FileList: 0,\n      HTMLAllCollection: 0,\n      HTMLCollection: 0,\n      HTMLFormElement: 0,\n      HTMLSelectElement: 0,\n      MediaList: 0,\n      MimeTypeArray: 0,\n      NamedNodeMap: 0,\n      NodeList: 1,\n      PaintRequestList: 0,\n      Plugin: 0,\n      PluginArray: 0,\n      SVGLengthList: 0,\n      SVGNumberList: 0,\n      SVGPathSegList: 0,\n      SVGPointList: 0,\n      SVGStringList: 0,\n      SVGTransformList: 0,\n      SourceBufferList: 0,\n      StyleSheetList: 0,\n      TextTrackCueList: 0,\n      TextTrackList: 0,\n      TouchList: 0\n    };\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/enum-bug-keys.js\":\n  /*!*********************************************************!*\\\n    !*** ./node_modules/core-js/internals/enum-bug-keys.js ***!\n    \\*********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsEnumBugKeysJs(module, exports) {\n    // IE8- don't enum bug keys\n    module.exports = ['constructor', 'hasOwnProperty', 'isPrototypeOf', 'propertyIsEnumerable', 'toLocaleString', 'toString', 'valueOf'];\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/export.js\":\n  /*!**************************************************!*\\\n    !*** ./node_modules/core-js/internals/export.js ***!\n    \\**************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsExportJs(module, exports, __webpack_require__) {\n    var global = __webpack_require__(\n    /*! ../internals/global */\n    \"./node_modules/core-js/internals/global.js\");\n\n    var getOwnPropertyDescriptor = __webpack_require__(\n    /*! ../internals/object-get-own-property-descriptor */\n    \"./node_modules/core-js/internals/object-get-own-property-descriptor.js\").f;\n\n    var hide = __webpack_require__(\n    /*! ../internals/hide */\n    \"./node_modules/core-js/internals/hide.js\");\n\n    var redefine = __webpack_require__(\n    /*! ../internals/redefine */\n    \"./node_modules/core-js/internals/redefine.js\");\n\n    var setGlobal = __webpack_require__(\n    /*! ../internals/set-global */\n    \"./node_modules/core-js/internals/set-global.js\");\n\n    var copyConstructorProperties = __webpack_require__(\n    /*! ../internals/copy-constructor-properties */\n    \"./node_modules/core-js/internals/copy-constructor-properties.js\");\n\n    var isForced = __webpack_require__(\n    /*! ../internals/is-forced */\n    \"./node_modules/core-js/internals/is-forced.js\");\n    /*\n      options.target      - name of the target object\n      options.global      - target is the global object\n      options.stat        - export as static methods of target\n      options.proto       - export as prototype methods of target\n      options.real        - real prototype method for the `pure` version\n      options.forced      - export even if the native feature is available\n      options.bind        - bind methods to the target, required for the `pure` version\n      options.wrap        - wrap constructors to preventing global pollution, required for the `pure` version\n      options.unsafe      - use the simple assignment of property instead of delete + defineProperty\n      options.sham        - add a flag to not completely full polyfills\n      options.enumerable  - export as enumerable property\n      options.noTargetGet - prevent calling a getter on target\n    */\n\n\n    module.exports = function (options, source) {\n      var TARGET = options.target;\n      var GLOBAL = options.global;\n      var STATIC = options.stat;\n      var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n\n      if (GLOBAL) {\n        target = global;\n      } else if (STATIC) {\n        target = global[TARGET] || setGlobal(TARGET, {});\n      } else {\n        target = (global[TARGET] || {}).prototype;\n      }\n\n      if (target) for (key in source) {\n        sourceProperty = source[key];\n\n        if (options.noTargetGet) {\n          descriptor = getOwnPropertyDescriptor(target, key);\n          targetProperty = descriptor && descriptor.value;\n        } else targetProperty = target[key];\n\n        FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced); // contained in target\n\n        if (!FORCED && targetProperty !== undefined) {\n          if (typeof sourceProperty === typeof targetProperty) continue;\n          copyConstructorProperties(sourceProperty, targetProperty);\n        } // add a flag to not completely full polyfills\n\n\n        if (options.sham || targetProperty && targetProperty.sham) {\n          hide(sourceProperty, 'sham', true);\n        } // extend global\n\n\n        redefine(target, key, sourceProperty, options);\n      }\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/fails.js\":\n  /*!*************************************************!*\\\n    !*** ./node_modules/core-js/internals/fails.js ***!\n    \\*************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsFailsJs(module, exports) {\n    module.exports = function (exec) {\n      try {\n        return !!exec();\n      } catch (error) {\n        return true;\n      }\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js\":\n  /*!******************************************************************************!*\\\n    !*** ./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js ***!\n    \\******************************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsFixRegexpWellKnownSymbolLogicJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var hide = __webpack_require__(\n    /*! ../internals/hide */\n    \"./node_modules/core-js/internals/hide.js\");\n\n    var redefine = __webpack_require__(\n    /*! ../internals/redefine */\n    \"./node_modules/core-js/internals/redefine.js\");\n\n    var fails = __webpack_require__(\n    /*! ../internals/fails */\n    \"./node_modules/core-js/internals/fails.js\");\n\n    var wellKnownSymbol = __webpack_require__(\n    /*! ../internals/well-known-symbol */\n    \"./node_modules/core-js/internals/well-known-symbol.js\");\n\n    var regexpExec = __webpack_require__(\n    /*! ../internals/regexp-exec */\n    \"./node_modules/core-js/internals/regexp-exec.js\");\n\n    var SPECIES = wellKnownSymbol('species');\n    var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {\n      // #replace needs built-in support for named groups.\n      // #match works fine because it just return the exec results, even if it has\n      // a \"grops\" property.\n      var re = /./;\n\n      re.exec = function () {\n        var result = [];\n        result.groups = {\n          a: '7'\n        };\n        return result;\n      };\n\n      return ''.replace(re, '$<a>') !== '7';\n    }); // Chrome 51 has a buggy \"split\" implementation when RegExp#exec !== nativeExec\n    // Weex JS has frozen built-in prototypes, so use try / catch wrapper\n\n    var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {\n      var re = /(?:)/;\n      var originalExec = re.exec;\n\n      re.exec = function () {\n        return originalExec.apply(this, arguments);\n      };\n\n      var result = 'ab'.split(re);\n      return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b';\n    });\n\n    module.exports = function (KEY, length, exec, sham) {\n      var SYMBOL = wellKnownSymbol(KEY);\n      var DELEGATES_TO_SYMBOL = !fails(function () {\n        // String methods call symbol-named RegEp methods\n        var O = {};\n\n        O[SYMBOL] = function () {\n          return 7;\n        };\n\n        return ''[KEY](O) != 7;\n      });\n      var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {\n        // Symbol-named RegExp methods call .exec\n        var execCalled = false;\n        var re = /a/;\n\n        re.exec = function () {\n          execCalled = true;\n          return null;\n        };\n\n        if (KEY === 'split') {\n          // RegExp[@@split] doesn't call the regex's exec method, but first creates\n          // a new one. We need to return the patched regex when creating the new one.\n          re.constructor = {};\n\n          re.constructor[SPECIES] = function () {\n            return re;\n          };\n        }\n\n        re[SYMBOL]('');\n        return !execCalled;\n      });\n\n      if (!DELEGATES_TO_SYMBOL || !DELEGATES_TO_EXEC || KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS || KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC) {\n        var nativeRegExpMethod = /./[SYMBOL];\n        var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {\n          if (regexp.exec === regexpExec) {\n            if (DELEGATES_TO_SYMBOL && !forceStringMethod) {\n              // The native String method already delegates to @@method (this\n              // polyfilled function), leasing to infinite recursion.\n              // We avoid it by directly calling the native @@method method.\n              return {\n                done: true,\n                value: nativeRegExpMethod.call(regexp, str, arg2)\n              };\n            }\n\n            return {\n              done: true,\n              value: nativeMethod.call(str, regexp, arg2)\n            };\n          }\n\n          return {\n            done: false\n          };\n        });\n        var stringMethod = methods[0];\n        var regexMethod = methods[1];\n        redefine(String.prototype, KEY, stringMethod);\n        redefine(RegExp.prototype, SYMBOL, length == 2 // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)\n        // 21.2.5.11 RegExp.prototype[@@split](string, limit)\n        ? function (string, arg) {\n          return regexMethod.call(string, this, arg);\n        } // 21.2.5.6 RegExp.prototype[@@match](string)\n        // 21.2.5.9 RegExp.prototype[@@search](string)\n        : function (string) {\n          return regexMethod.call(string, this);\n        });\n        if (sham) hide(RegExp.prototype[SYMBOL], 'sham', true);\n      }\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/forced-string-html-method.js\":\n  /*!*********************************************************************!*\\\n    !*** ./node_modules/core-js/internals/forced-string-html-method.js ***!\n    \\*********************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsForcedStringHtmlMethodJs(module, exports, __webpack_require__) {\n    var fails = __webpack_require__(\n    /*! ../internals/fails */\n    \"./node_modules/core-js/internals/fails.js\"); // check the existence of a method, lowercase\n    // of a tag and escaping quotes in arguments\n\n\n    module.exports = function (METHOD_NAME) {\n      return fails(function () {\n        var test = ''[METHOD_NAME]('\"');\n        return test !== test.toLowerCase() || test.split('\"').length > 3;\n      });\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/forced-string-trim-method.js\":\n  /*!*********************************************************************!*\\\n    !*** ./node_modules/core-js/internals/forced-string-trim-method.js ***!\n    \\*********************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsForcedStringTrimMethodJs(module, exports, __webpack_require__) {\n    var fails = __webpack_require__(\n    /*! ../internals/fails */\n    \"./node_modules/core-js/internals/fails.js\");\n\n    var whitespaces = __webpack_require__(\n    /*! ../internals/whitespaces */\n    \"./node_modules/core-js/internals/whitespaces.js\");\n\n    var non = \"\\u200B\\x85\\u180E\"; // check that a method works with the correct list\n    // of whitespaces and has a correct name\n\n    module.exports = function (METHOD_NAME) {\n      return fails(function () {\n        return !!whitespaces[METHOD_NAME]() || non[METHOD_NAME]() != non || whitespaces[METHOD_NAME].name !== METHOD_NAME;\n      });\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/freezing.js\":\n  /*!****************************************************!*\\\n    !*** ./node_modules/core-js/internals/freezing.js ***!\n    \\****************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsFreezingJs(module, exports, __webpack_require__) {\n    var fails = __webpack_require__(\n    /*! ../internals/fails */\n    \"./node_modules/core-js/internals/fails.js\");\n\n    module.exports = !fails(function () {\n      return Object.isExtensible(Object.preventExtensions({}));\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/function-bind.js\":\n  /*!*********************************************************!*\\\n    !*** ./node_modules/core-js/internals/function-bind.js ***!\n    \\*********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsFunctionBindJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var aFunction = __webpack_require__(\n    /*! ../internals/a-function */\n    \"./node_modules/core-js/internals/a-function.js\");\n\n    var isObject = __webpack_require__(\n    /*! ../internals/is-object */\n    \"./node_modules/core-js/internals/is-object.js\");\n\n    var slice = [].slice;\n    var factories = {};\n\n    var construct = function construct(C, argsLength, args) {\n      if (!(argsLength in factories)) {\n        for (var list = [], i = 0; i < argsLength; i++) {\n          list[i] = 'a[' + i + ']';\n        } // eslint-disable-next-line no-new-func\n\n\n        factories[argsLength] = Function('C,a', 'return new C(' + list.join(',') + ')');\n      }\n\n      return factories[argsLength](C, args);\n    }; // `Function.prototype.bind` method implementation\n    // https://tc39.github.io/ecma262/#sec-function.prototype.bind\n\n\n    module.exports = Function.bind || function bind(that\n    /* , ...args */\n    ) {\n      var fn = aFunction(this);\n      var partArgs = slice.call(arguments, 1);\n\n      var boundFunction = function bound()\n      /* args... */\n      {\n        var args = partArgs.concat(slice.call(arguments));\n        return this instanceof boundFunction ? construct(fn, args.length, args) : fn.apply(that, args);\n      };\n\n      if (isObject(fn.prototype)) boundFunction.prototype = fn.prototype;\n      return boundFunction;\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/function-to-string.js\":\n  /*!**************************************************************!*\\\n    !*** ./node_modules/core-js/internals/function-to-string.js ***!\n    \\**************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsFunctionToStringJs(module, exports, __webpack_require__) {\n    var shared = __webpack_require__(\n    /*! ../internals/shared */\n    \"./node_modules/core-js/internals/shared.js\");\n\n    module.exports = shared('native-function-to-string', Function.toString);\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/get-built-in.js\":\n  /*!********************************************************!*\\\n    !*** ./node_modules/core-js/internals/get-built-in.js ***!\n    \\********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsGetBuiltInJs(module, exports, __webpack_require__) {\n    var path = __webpack_require__(\n    /*! ../internals/path */\n    \"./node_modules/core-js/internals/path.js\");\n\n    var global = __webpack_require__(\n    /*! ../internals/global */\n    \"./node_modules/core-js/internals/global.js\");\n\n    var aFunction = function aFunction(variable) {\n      return typeof variable == 'function' ? variable : undefined;\n    };\n\n    module.exports = function (namespace, method) {\n      return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace]) : path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method];\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/get-iterator-method.js\":\n  /*!***************************************************************!*\\\n    !*** ./node_modules/core-js/internals/get-iterator-method.js ***!\n    \\***************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsGetIteratorMethodJs(module, exports, __webpack_require__) {\n    var classof = __webpack_require__(\n    /*! ../internals/classof */\n    \"./node_modules/core-js/internals/classof.js\");\n\n    var Iterators = __webpack_require__(\n    /*! ../internals/iterators */\n    \"./node_modules/core-js/internals/iterators.js\");\n\n    var wellKnownSymbol = __webpack_require__(\n    /*! ../internals/well-known-symbol */\n    \"./node_modules/core-js/internals/well-known-symbol.js\");\n\n    var ITERATOR = wellKnownSymbol('iterator');\n\n    module.exports = function (it) {\n      if (it != undefined) return it[ITERATOR] || it['@@iterator'] || Iterators[classof(it)];\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/global.js\":\n  /*!**************************************************!*\\\n    !*** ./node_modules/core-js/internals/global.js ***!\n    \\**************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsGlobalJs(module, exports) {\n    var O = 'object';\n\n    var check = function check(it) {\n      return it && it.Math == Math && it;\n    }; // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\n\n\n    module.exports = // eslint-disable-next-line no-undef\n    check(typeof globalThis == O && globalThis) || check(typeof window == O && window) || check(typeof self == O && self) || check(typeof global == O && global) || // eslint-disable-next-line no-new-func\n    Function('return this')();\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/has.js\":\n  /*!***********************************************!*\\\n    !*** ./node_modules/core-js/internals/has.js ***!\n    \\***********************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsHasJs(module, exports) {\n    var hasOwnProperty = {}.hasOwnProperty;\n\n    module.exports = function (it, key) {\n      return hasOwnProperty.call(it, key);\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/hidden-keys.js\":\n  /*!*******************************************************!*\\\n    !*** ./node_modules/core-js/internals/hidden-keys.js ***!\n    \\*******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsHiddenKeysJs(module, exports) {\n    module.exports = {};\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/hide.js\":\n  /*!************************************************!*\\\n    !*** ./node_modules/core-js/internals/hide.js ***!\n    \\************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsHideJs(module, exports, __webpack_require__) {\n    var DESCRIPTORS = __webpack_require__(\n    /*! ../internals/descriptors */\n    \"./node_modules/core-js/internals/descriptors.js\");\n\n    var definePropertyModule = __webpack_require__(\n    /*! ../internals/object-define-property */\n    \"./node_modules/core-js/internals/object-define-property.js\");\n\n    var createPropertyDescriptor = __webpack_require__(\n    /*! ../internals/create-property-descriptor */\n    \"./node_modules/core-js/internals/create-property-descriptor.js\");\n\n    module.exports = DESCRIPTORS ? function (object, key, value) {\n      return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n    } : function (object, key, value) {\n      object[key] = value;\n      return object;\n    };\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/host-report-errors.js\":\n  /*!**************************************************************!*\\\n    !*** ./node_modules/core-js/internals/host-report-errors.js ***!\n    \\**************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsHostReportErrorsJs(module, exports, __webpack_require__) {\n    var global = __webpack_require__(\n    /*! ../internals/global */\n    \"./node_modules/core-js/internals/global.js\");\n\n    module.exports = function (a, b) {\n      var console = global.console;\n\n      if (console && console.error) {\n        arguments.length === 1 ? console.error(a) : console.error(a, b);\n      }\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/html.js\":\n  /*!************************************************!*\\\n    !*** ./node_modules/core-js/internals/html.js ***!\n    \\************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsHtmlJs(module, exports, __webpack_require__) {\n    var getBuiltIn = __webpack_require__(\n    /*! ../internals/get-built-in */\n    \"./node_modules/core-js/internals/get-built-in.js\");\n\n    module.exports = getBuiltIn('document', 'documentElement');\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/ie8-dom-define.js\":\n  /*!**********************************************************!*\\\n    !*** ./node_modules/core-js/internals/ie8-dom-define.js ***!\n    \\**********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsIe8DomDefineJs(module, exports, __webpack_require__) {\n    var DESCRIPTORS = __webpack_require__(\n    /*! ../internals/descriptors */\n    \"./node_modules/core-js/internals/descriptors.js\");\n\n    var fails = __webpack_require__(\n    /*! ../internals/fails */\n    \"./node_modules/core-js/internals/fails.js\");\n\n    var createElement = __webpack_require__(\n    /*! ../internals/document-create-element */\n    \"./node_modules/core-js/internals/document-create-element.js\"); // Thank's IE8 for his funny defineProperty\n\n\n    module.exports = !DESCRIPTORS && !fails(function () {\n      return Object.defineProperty(createElement('div'), 'a', {\n        get: function get() {\n          return 7;\n        }\n      }).a != 7;\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/indexed-object.js\":\n  /*!**********************************************************!*\\\n    !*** ./node_modules/core-js/internals/indexed-object.js ***!\n    \\**********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsIndexedObjectJs(module, exports, __webpack_require__) {\n    var fails = __webpack_require__(\n    /*! ../internals/fails */\n    \"./node_modules/core-js/internals/fails.js\");\n\n    var classof = __webpack_require__(\n    /*! ../internals/classof-raw */\n    \"./node_modules/core-js/internals/classof-raw.js\");\n\n    var split = ''.split; // fallback for non-array-like ES3 and non-enumerable old V8 strings\n\n    module.exports = fails(function () {\n      // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n      // eslint-disable-next-line no-prototype-builtins\n      return !Object('z').propertyIsEnumerable(0);\n    }) ? function (it) {\n      return classof(it) == 'String' ? split.call(it, '') : Object(it);\n    } : Object;\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/inherit-if-required.js\":\n  /*!***************************************************************!*\\\n    !*** ./node_modules/core-js/internals/inherit-if-required.js ***!\n    \\***************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsInheritIfRequiredJs(module, exports, __webpack_require__) {\n    var isObject = __webpack_require__(\n    /*! ../internals/is-object */\n    \"./node_modules/core-js/internals/is-object.js\");\n\n    var setPrototypeOf = __webpack_require__(\n    /*! ../internals/object-set-prototype-of */\n    \"./node_modules/core-js/internals/object-set-prototype-of.js\"); // makes subclassing work correct for wrapped built-ins\n\n\n    module.exports = function ($this, dummy, Wrapper) {\n      var NewTarget, NewTargetPrototype;\n      if ( // it can work only with native `setPrototypeOf`\n      setPrototypeOf && // we haven't completely correct pre-ES6 way for getting `new.target`, so use this\n      typeof (NewTarget = dummy.constructor) == 'function' && NewTarget !== Wrapper && isObject(NewTargetPrototype = NewTarget.prototype) && NewTargetPrototype !== Wrapper.prototype) setPrototypeOf($this, NewTargetPrototype);\n      return $this;\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/internal-metadata.js\":\n  /*!*************************************************************!*\\\n    !*** ./node_modules/core-js/internals/internal-metadata.js ***!\n    \\*************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsInternalMetadataJs(module, exports, __webpack_require__) {\n    var hiddenKeys = __webpack_require__(\n    /*! ../internals/hidden-keys */\n    \"./node_modules/core-js/internals/hidden-keys.js\");\n\n    var isObject = __webpack_require__(\n    /*! ../internals/is-object */\n    \"./node_modules/core-js/internals/is-object.js\");\n\n    var has = __webpack_require__(\n    /*! ../internals/has */\n    \"./node_modules/core-js/internals/has.js\");\n\n    var defineProperty = __webpack_require__(\n    /*! ../internals/object-define-property */\n    \"./node_modules/core-js/internals/object-define-property.js\").f;\n\n    var uid = __webpack_require__(\n    /*! ../internals/uid */\n    \"./node_modules/core-js/internals/uid.js\");\n\n    var FREEZING = __webpack_require__(\n    /*! ../internals/freezing */\n    \"./node_modules/core-js/internals/freezing.js\");\n\n    var METADATA = uid('meta');\n    var id = 0;\n\n    var isExtensible = Object.isExtensible || function () {\n      return true;\n    };\n\n    var setMetadata = function setMetadata(it) {\n      defineProperty(it, METADATA, {\n        value: {\n          objectID: 'O' + ++id,\n          // object ID\n          weakData: {} // weak collections IDs\n\n        }\n      });\n    };\n\n    var fastKey = function fastKey(it, create) {\n      // return a primitive with prefix\n      if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n\n      if (!has(it, METADATA)) {\n        // can't set metadata to uncaught frozen object\n        if (!isExtensible(it)) return 'F'; // not necessary to add metadata\n\n        if (!create) return 'E'; // add missing metadata\n\n        setMetadata(it); // return object ID\n      }\n\n      return it[METADATA].objectID;\n    };\n\n    var getWeakData = function getWeakData(it, create) {\n      if (!has(it, METADATA)) {\n        // can't set metadata to uncaught frozen object\n        if (!isExtensible(it)) return true; // not necessary to add metadata\n\n        if (!create) return false; // add missing metadata\n\n        setMetadata(it); // return the store of weak collections IDs\n      }\n\n      return it[METADATA].weakData;\n    }; // add metadata on freeze-family methods calling\n\n\n    var onFreeze = function onFreeze(it) {\n      if (FREEZING && meta.REQUIRED && isExtensible(it) && !has(it, METADATA)) setMetadata(it);\n      return it;\n    };\n\n    var meta = module.exports = {\n      REQUIRED: false,\n      fastKey: fastKey,\n      getWeakData: getWeakData,\n      onFreeze: onFreeze\n    };\n    hiddenKeys[METADATA] = true;\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/internal-state.js\":\n  /*!**********************************************************!*\\\n    !*** ./node_modules/core-js/internals/internal-state.js ***!\n    \\**********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsInternalStateJs(module, exports, __webpack_require__) {\n    var NATIVE_WEAK_MAP = __webpack_require__(\n    /*! ../internals/native-weak-map */\n    \"./node_modules/core-js/internals/native-weak-map.js\");\n\n    var global = __webpack_require__(\n    /*! ../internals/global */\n    \"./node_modules/core-js/internals/global.js\");\n\n    var isObject = __webpack_require__(\n    /*! ../internals/is-object */\n    \"./node_modules/core-js/internals/is-object.js\");\n\n    var hide = __webpack_require__(\n    /*! ../internals/hide */\n    \"./node_modules/core-js/internals/hide.js\");\n\n    var objectHas = __webpack_require__(\n    /*! ../internals/has */\n    \"./node_modules/core-js/internals/has.js\");\n\n    var sharedKey = __webpack_require__(\n    /*! ../internals/shared-key */\n    \"./node_modules/core-js/internals/shared-key.js\");\n\n    var hiddenKeys = __webpack_require__(\n    /*! ../internals/hidden-keys */\n    \"./node_modules/core-js/internals/hidden-keys.js\");\n\n    var WeakMap = global.WeakMap;\n    var set, get, has;\n\n    var enforce = function enforce(it) {\n      return has(it) ? get(it) : set(it, {});\n    };\n\n    var getterFor = function getterFor(TYPE) {\n      return function (it) {\n        var state;\n\n        if (!isObject(it) || (state = get(it)).type !== TYPE) {\n          throw TypeError('Incompatible receiver, ' + TYPE + ' required');\n        }\n\n        return state;\n      };\n    };\n\n    if (NATIVE_WEAK_MAP) {\n      var store = new WeakMap();\n      var wmget = store.get;\n      var wmhas = store.has;\n      var wmset = store.set;\n\n      set = function set(it, metadata) {\n        wmset.call(store, it, metadata);\n        return metadata;\n      };\n\n      get = function get(it) {\n        return wmget.call(store, it) || {};\n      };\n\n      has = function has(it) {\n        return wmhas.call(store, it);\n      };\n    } else {\n      var STATE = sharedKey('state');\n      hiddenKeys[STATE] = true;\n\n      set = function set(it, metadata) {\n        hide(it, STATE, metadata);\n        return metadata;\n      };\n\n      get = function get(it) {\n        return objectHas(it, STATE) ? it[STATE] : {};\n      };\n\n      has = function has(it) {\n        return objectHas(it, STATE);\n      };\n    }\n\n    module.exports = {\n      set: set,\n      get: get,\n      has: has,\n      enforce: enforce,\n      getterFor: getterFor\n    };\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/is-array-iterator-method.js\":\n  /*!********************************************************************!*\\\n    !*** ./node_modules/core-js/internals/is-array-iterator-method.js ***!\n    \\********************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsIsArrayIteratorMethodJs(module, exports, __webpack_require__) {\n    var wellKnownSymbol = __webpack_require__(\n    /*! ../internals/well-known-symbol */\n    \"./node_modules/core-js/internals/well-known-symbol.js\");\n\n    var Iterators = __webpack_require__(\n    /*! ../internals/iterators */\n    \"./node_modules/core-js/internals/iterators.js\");\n\n    var ITERATOR = wellKnownSymbol('iterator');\n    var ArrayPrototype = Array.prototype; // check on default Array iterator\n\n    module.exports = function (it) {\n      return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/is-array.js\":\n  /*!****************************************************!*\\\n    !*** ./node_modules/core-js/internals/is-array.js ***!\n    \\****************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsIsArrayJs(module, exports, __webpack_require__) {\n    var classof = __webpack_require__(\n    /*! ../internals/classof-raw */\n    \"./node_modules/core-js/internals/classof-raw.js\"); // `IsArray` abstract operation\n    // https://tc39.github.io/ecma262/#sec-isarray\n\n\n    module.exports = Array.isArray || function isArray(arg) {\n      return classof(arg) == 'Array';\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/is-forced.js\":\n  /*!*****************************************************!*\\\n    !*** ./node_modules/core-js/internals/is-forced.js ***!\n    \\*****************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsIsForcedJs(module, exports, __webpack_require__) {\n    var fails = __webpack_require__(\n    /*! ../internals/fails */\n    \"./node_modules/core-js/internals/fails.js\");\n\n    var replacement = /#|\\.prototype\\./;\n\n    var isForced = function isForced(feature, detection) {\n      var value = data[normalize(feature)];\n      return value == POLYFILL ? true : value == NATIVE ? false : typeof detection == 'function' ? fails(detection) : !!detection;\n    };\n\n    var normalize = isForced.normalize = function (string) {\n      return String(string).replace(replacement, '.').toLowerCase();\n    };\n\n    var data = isForced.data = {};\n    var NATIVE = isForced.NATIVE = 'N';\n    var POLYFILL = isForced.POLYFILL = 'P';\n    module.exports = isForced;\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/is-integer.js\":\n  /*!******************************************************!*\\\n    !*** ./node_modules/core-js/internals/is-integer.js ***!\n    \\******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsIsIntegerJs(module, exports, __webpack_require__) {\n    var isObject = __webpack_require__(\n    /*! ../internals/is-object */\n    \"./node_modules/core-js/internals/is-object.js\");\n\n    var floor = Math.floor; // `Number.isInteger` method implementation\n    // https://tc39.github.io/ecma262/#sec-number.isinteger\n\n    module.exports = function isInteger(it) {\n      return !isObject(it) && isFinite(it) && floor(it) === it;\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/is-object.js\":\n  /*!*****************************************************!*\\\n    !*** ./node_modules/core-js/internals/is-object.js ***!\n    \\*****************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsIsObjectJs(module, exports) {\n    module.exports = function (it) {\n      return typeof it === 'object' ? it !== null : typeof it === 'function';\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/is-pure.js\":\n  /*!***************************************************!*\\\n    !*** ./node_modules/core-js/internals/is-pure.js ***!\n    \\***************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsIsPureJs(module, exports) {\n    module.exports = false;\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/is-regexp.js\":\n  /*!*****************************************************!*\\\n    !*** ./node_modules/core-js/internals/is-regexp.js ***!\n    \\*****************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsIsRegexpJs(module, exports, __webpack_require__) {\n    var isObject = __webpack_require__(\n    /*! ../internals/is-object */\n    \"./node_modules/core-js/internals/is-object.js\");\n\n    var classof = __webpack_require__(\n    /*! ../internals/classof-raw */\n    \"./node_modules/core-js/internals/classof-raw.js\");\n\n    var wellKnownSymbol = __webpack_require__(\n    /*! ../internals/well-known-symbol */\n    \"./node_modules/core-js/internals/well-known-symbol.js\");\n\n    var MATCH = wellKnownSymbol('match'); // `IsRegExp` abstract operation\n    // https://tc39.github.io/ecma262/#sec-isregexp\n\n    module.exports = function (it) {\n      var isRegExp;\n      return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) == 'RegExp');\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/iterate.js\":\n  /*!***************************************************!*\\\n    !*** ./node_modules/core-js/internals/iterate.js ***!\n    \\***************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsIterateJs(module, exports, __webpack_require__) {\n    var anObject = __webpack_require__(\n    /*! ../internals/an-object */\n    \"./node_modules/core-js/internals/an-object.js\");\n\n    var isArrayIteratorMethod = __webpack_require__(\n    /*! ../internals/is-array-iterator-method */\n    \"./node_modules/core-js/internals/is-array-iterator-method.js\");\n\n    var toLength = __webpack_require__(\n    /*! ../internals/to-length */\n    \"./node_modules/core-js/internals/to-length.js\");\n\n    var bind = __webpack_require__(\n    /*! ../internals/bind-context */\n    \"./node_modules/core-js/internals/bind-context.js\");\n\n    var getIteratorMethod = __webpack_require__(\n    /*! ../internals/get-iterator-method */\n    \"./node_modules/core-js/internals/get-iterator-method.js\");\n\n    var callWithSafeIterationClosing = __webpack_require__(\n    /*! ../internals/call-with-safe-iteration-closing */\n    \"./node_modules/core-js/internals/call-with-safe-iteration-closing.js\");\n\n    var Result = function Result(stopped, result) {\n      this.stopped = stopped;\n      this.result = result;\n    };\n\n    var iterate = module.exports = function (iterable, fn, that, AS_ENTRIES, IS_ITERATOR) {\n      var boundFunction = bind(fn, that, AS_ENTRIES ? 2 : 1);\n      var iterator, iterFn, index, length, result, step;\n\n      if (IS_ITERATOR) {\n        iterator = iterable;\n      } else {\n        iterFn = getIteratorMethod(iterable);\n        if (typeof iterFn != 'function') throw TypeError('Target is not iterable'); // optimisation for array iterators\n\n        if (isArrayIteratorMethod(iterFn)) {\n          for (index = 0, length = toLength(iterable.length); length > index; index++) {\n            result = AS_ENTRIES ? boundFunction(anObject(step = iterable[index])[0], step[1]) : boundFunction(iterable[index]);\n            if (result && result instanceof Result) return result;\n          }\n\n          return new Result(false);\n        }\n\n        iterator = iterFn.call(iterable);\n      }\n\n      while (!(step = iterator.next()).done) {\n        result = callWithSafeIterationClosing(iterator, boundFunction, step.value, AS_ENTRIES);\n        if (result && result instanceof Result) return result;\n      }\n\n      return new Result(false);\n    };\n\n    iterate.stop = function (result) {\n      return new Result(true, result);\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/iterators-core.js\":\n  /*!**********************************************************!*\\\n    !*** ./node_modules/core-js/internals/iterators-core.js ***!\n    \\**********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsIteratorsCoreJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var getPrototypeOf = __webpack_require__(\n    /*! ../internals/object-get-prototype-of */\n    \"./node_modules/core-js/internals/object-get-prototype-of.js\");\n\n    var hide = __webpack_require__(\n    /*! ../internals/hide */\n    \"./node_modules/core-js/internals/hide.js\");\n\n    var has = __webpack_require__(\n    /*! ../internals/has */\n    \"./node_modules/core-js/internals/has.js\");\n\n    var wellKnownSymbol = __webpack_require__(\n    /*! ../internals/well-known-symbol */\n    \"./node_modules/core-js/internals/well-known-symbol.js\");\n\n    var IS_PURE = __webpack_require__(\n    /*! ../internals/is-pure */\n    \"./node_modules/core-js/internals/is-pure.js\");\n\n    var ITERATOR = wellKnownSymbol('iterator');\n    var BUGGY_SAFARI_ITERATORS = false;\n\n    var returnThis = function returnThis() {\n      return this;\n    }; // `%IteratorPrototype%` object\n    // https://tc39.github.io/ecma262/#sec-%iteratorprototype%-object\n\n\n    var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;\n\n    if ([].keys) {\n      arrayIterator = [].keys(); // Safari 8 has buggy iterators w/o `next`\n\n      if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;else {\n        PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));\n        if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;\n      }\n    }\n\n    if (IteratorPrototype == undefined) IteratorPrototype = {}; // 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\n\n    if (!IS_PURE && !has(IteratorPrototype, ITERATOR)) hide(IteratorPrototype, ITERATOR, returnThis);\n    module.exports = {\n      IteratorPrototype: IteratorPrototype,\n      BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS\n    };\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/iterators.js\":\n  /*!*****************************************************!*\\\n    !*** ./node_modules/core-js/internals/iterators.js ***!\n    \\*****************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsIteratorsJs(module, exports) {\n    module.exports = {};\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/math-expm1.js\":\n  /*!******************************************************!*\\\n    !*** ./node_modules/core-js/internals/math-expm1.js ***!\n    \\******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsMathExpm1Js(module, exports) {\n    var nativeExpm1 = Math.expm1;\n    var exp = Math.exp; // `Math.expm1` method implementation\n    // https://tc39.github.io/ecma262/#sec-math.expm1\n\n    module.exports = !nativeExpm1 // Old FF bug\n    || nativeExpm1(10) > 22025.465794806719 || nativeExpm1(10) < 22025.4657948067165168 // Tor Browser bug\n    || nativeExpm1(-2e-17) != -2e-17 ? function expm1(x) {\n      return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : exp(x) - 1;\n    } : nativeExpm1;\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/math-fround.js\":\n  /*!*******************************************************!*\\\n    !*** ./node_modules/core-js/internals/math-fround.js ***!\n    \\*******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsMathFroundJs(module, exports, __webpack_require__) {\n    var sign = __webpack_require__(\n    /*! ../internals/math-sign */\n    \"./node_modules/core-js/internals/math-sign.js\");\n\n    var abs = Math.abs;\n    var pow = Math.pow;\n    var EPSILON = pow(2, -52);\n    var EPSILON32 = pow(2, -23);\n    var MAX32 = pow(2, 127) * (2 - EPSILON32);\n    var MIN32 = pow(2, -126);\n\n    var roundTiesToEven = function roundTiesToEven(n) {\n      return n + 1 / EPSILON - 1 / EPSILON;\n    }; // `Math.fround` method implementation\n    // https://tc39.github.io/ecma262/#sec-math.fround\n\n\n    module.exports = Math.fround || function fround(x) {\n      var $abs = abs(x);\n      var $sign = sign(x);\n      var a, result;\n      if ($abs < MIN32) return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32;\n      a = (1 + EPSILON32 / EPSILON) * $abs;\n      result = a - (a - $abs); // eslint-disable-next-line no-self-compare\n\n      if (result > MAX32 || result != result) return $sign * Infinity;\n      return $sign * result;\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/math-log1p.js\":\n  /*!******************************************************!*\\\n    !*** ./node_modules/core-js/internals/math-log1p.js ***!\n    \\******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsMathLog1pJs(module, exports) {\n    var log = Math.log; // `Math.log1p` method implementation\n    // https://tc39.github.io/ecma262/#sec-math.log1p\n\n    module.exports = Math.log1p || function log1p(x) {\n      return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : log(1 + x);\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/math-sign.js\":\n  /*!*****************************************************!*\\\n    !*** ./node_modules/core-js/internals/math-sign.js ***!\n    \\*****************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsMathSignJs(module, exports) {\n    // `Math.sign` method implementation\n    // https://tc39.github.io/ecma262/#sec-math.sign\n    module.exports = Math.sign || function sign(x) {\n      // eslint-disable-next-line no-self-compare\n      return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1;\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/microtask.js\":\n  /*!*****************************************************!*\\\n    !*** ./node_modules/core-js/internals/microtask.js ***!\n    \\*****************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsMicrotaskJs(module, exports, __webpack_require__) {\n    var global = __webpack_require__(\n    /*! ../internals/global */\n    \"./node_modules/core-js/internals/global.js\");\n\n    var getOwnPropertyDescriptor = __webpack_require__(\n    /*! ../internals/object-get-own-property-descriptor */\n    \"./node_modules/core-js/internals/object-get-own-property-descriptor.js\").f;\n\n    var classof = __webpack_require__(\n    /*! ../internals/classof-raw */\n    \"./node_modules/core-js/internals/classof-raw.js\");\n\n    var macrotask = __webpack_require__(\n    /*! ../internals/task */\n    \"./node_modules/core-js/internals/task.js\").set;\n\n    var userAgent = __webpack_require__(\n    /*! ../internals/user-agent */\n    \"./node_modules/core-js/internals/user-agent.js\");\n\n    var MutationObserver = global.MutationObserver || global.WebKitMutationObserver;\n    var process = global.process;\n    var Promise = global.Promise;\n    var IS_NODE = classof(process) == 'process'; // Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`\n\n    var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask');\n    var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;\n    var flush, head, last, notify, toggle, node, promise, then; // modern engines have queueMicrotask method\n\n    if (!queueMicrotask) {\n      flush = function flush() {\n        var parent, fn;\n        if (IS_NODE && (parent = process.domain)) parent.exit();\n\n        while (head) {\n          fn = head.fn;\n          head = head.next;\n\n          try {\n            fn();\n          } catch (error) {\n            if (head) notify();else last = undefined;\n            throw error;\n          }\n        }\n\n        last = undefined;\n        if (parent) parent.enter();\n      }; // Node.js\n\n\n      if (IS_NODE) {\n        notify = function notify() {\n          process.nextTick(flush);\n        }; // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339\n\n      } else if (MutationObserver && !/(iphone|ipod|ipad).*applewebkit/i.test(userAgent)) {\n        toggle = true;\n        node = document.createTextNode('');\n        new MutationObserver(flush).observe(node, {\n          characterData: true\n        }); // eslint-disable-line no-new\n\n        notify = function notify() {\n          node.data = toggle = !toggle;\n        }; // environments with maybe non-completely correct, but existent Promise\n\n      } else if (Promise && Promise.resolve) {\n        // Promise.resolve without an argument throws an error in LG WebOS 2\n        promise = Promise.resolve(undefined);\n        then = promise.then;\n\n        notify = function notify() {\n          then.call(promise, flush);\n        }; // for other environments - macrotask based on:\n        // - setImmediate\n        // - MessageChannel\n        // - window.postMessag\n        // - onreadystatechange\n        // - setTimeout\n\n      } else {\n        notify = function notify() {\n          // strange IE + webpack dev server bug - use .call(global)\n          macrotask.call(global, flush);\n        };\n      }\n    }\n\n    module.exports = queueMicrotask || function (fn) {\n      var task = {\n        fn: fn,\n        next: undefined\n      };\n      if (last) last.next = task;\n\n      if (!head) {\n        head = task;\n        notify();\n      }\n\n      last = task;\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/native-promise-constructor.js\":\n  /*!**********************************************************************!*\\\n    !*** ./node_modules/core-js/internals/native-promise-constructor.js ***!\n    \\**********************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsNativePromiseConstructorJs(module, exports, __webpack_require__) {\n    var global = __webpack_require__(\n    /*! ../internals/global */\n    \"./node_modules/core-js/internals/global.js\");\n\n    module.exports = global.Promise;\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/native-symbol.js\":\n  /*!*********************************************************!*\\\n    !*** ./node_modules/core-js/internals/native-symbol.js ***!\n    \\*********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsNativeSymbolJs(module, exports, __webpack_require__) {\n    var fails = __webpack_require__(\n    /*! ../internals/fails */\n    \"./node_modules/core-js/internals/fails.js\");\n\n    module.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n      // Chrome 38 Symbol has incorrect toString conversion\n      // eslint-disable-next-line no-undef\n      return !String(Symbol());\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/native-weak-map.js\":\n  /*!***********************************************************!*\\\n    !*** ./node_modules/core-js/internals/native-weak-map.js ***!\n    \\***********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsNativeWeakMapJs(module, exports, __webpack_require__) {\n    var global = __webpack_require__(\n    /*! ../internals/global */\n    \"./node_modules/core-js/internals/global.js\");\n\n    var nativeFunctionToString = __webpack_require__(\n    /*! ../internals/function-to-string */\n    \"./node_modules/core-js/internals/function-to-string.js\");\n\n    var WeakMap = global.WeakMap;\n    module.exports = typeof WeakMap === 'function' && /native code/.test(nativeFunctionToString.call(WeakMap));\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/new-promise-capability.js\":\n  /*!******************************************************************!*\\\n    !*** ./node_modules/core-js/internals/new-promise-capability.js ***!\n    \\******************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsNewPromiseCapabilityJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var aFunction = __webpack_require__(\n    /*! ../internals/a-function */\n    \"./node_modules/core-js/internals/a-function.js\");\n\n    var PromiseCapability = function PromiseCapability(C) {\n      var resolve, reject;\n      this.promise = new C(function ($$resolve, $$reject) {\n        if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');\n        resolve = $$resolve;\n        reject = $$reject;\n      });\n      this.resolve = aFunction(resolve);\n      this.reject = aFunction(reject);\n    }; // 25.4.1.5 NewPromiseCapability(C)\n\n\n    module.exports.f = function (C) {\n      return new PromiseCapability(C);\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/not-a-regexp.js\":\n  /*!********************************************************!*\\\n    !*** ./node_modules/core-js/internals/not-a-regexp.js ***!\n    \\********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsNotARegexpJs(module, exports, __webpack_require__) {\n    var isRegExp = __webpack_require__(\n    /*! ../internals/is-regexp */\n    \"./node_modules/core-js/internals/is-regexp.js\");\n\n    module.exports = function (it) {\n      if (isRegExp(it)) {\n        throw TypeError(\"The method doesn't accept regular expressions\");\n      }\n\n      return it;\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/number-is-finite.js\":\n  /*!************************************************************!*\\\n    !*** ./node_modules/core-js/internals/number-is-finite.js ***!\n    \\************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsNumberIsFiniteJs(module, exports, __webpack_require__) {\n    var global = __webpack_require__(\n    /*! ../internals/global */\n    \"./node_modules/core-js/internals/global.js\");\n\n    var globalIsFinite = global.isFinite; // `Number.isFinite` method\n    // https://tc39.github.io/ecma262/#sec-number.isfinite\n\n    module.exports = Number.isFinite || function isFinite(it) {\n      return typeof it == 'number' && globalIsFinite(it);\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/object-assign.js\":\n  /*!*********************************************************!*\\\n    !*** ./node_modules/core-js/internals/object-assign.js ***!\n    \\*********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsObjectAssignJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var DESCRIPTORS = __webpack_require__(\n    /*! ../internals/descriptors */\n    \"./node_modules/core-js/internals/descriptors.js\");\n\n    var fails = __webpack_require__(\n    /*! ../internals/fails */\n    \"./node_modules/core-js/internals/fails.js\");\n\n    var objectKeys = __webpack_require__(\n    /*! ../internals/object-keys */\n    \"./node_modules/core-js/internals/object-keys.js\");\n\n    var getOwnPropertySymbolsModule = __webpack_require__(\n    /*! ../internals/object-get-own-property-symbols */\n    \"./node_modules/core-js/internals/object-get-own-property-symbols.js\");\n\n    var propertyIsEnumerableModule = __webpack_require__(\n    /*! ../internals/object-property-is-enumerable */\n    \"./node_modules/core-js/internals/object-property-is-enumerable.js\");\n\n    var toObject = __webpack_require__(\n    /*! ../internals/to-object */\n    \"./node_modules/core-js/internals/to-object.js\");\n\n    var IndexedObject = __webpack_require__(\n    /*! ../internals/indexed-object */\n    \"./node_modules/core-js/internals/indexed-object.js\");\n\n    var nativeAssign = Object.assign; // `Object.assign` method\n    // https://tc39.github.io/ecma262/#sec-object.assign\n    // should work with symbols and should have deterministic property order (V8 bug)\n\n    module.exports = !nativeAssign || fails(function () {\n      var A = {};\n      var B = {}; // eslint-disable-next-line no-undef\n\n      var symbol = Symbol();\n      var alphabet = 'abcdefghijklmnopqrst';\n      A[symbol] = 7;\n      alphabet.split('').forEach(function (chr) {\n        B[chr] = chr;\n      });\n      return nativeAssign({}, A)[symbol] != 7 || objectKeys(nativeAssign({}, B)).join('') != alphabet;\n    }) ? function assign(target, source) {\n      // eslint-disable-line no-unused-vars\n      var T = toObject(target);\n      var argumentsLength = arguments.length;\n      var index = 1;\n      var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n      var propertyIsEnumerable = propertyIsEnumerableModule.f;\n\n      while (argumentsLength > index) {\n        var S = IndexedObject(arguments[index++]);\n        var keys = getOwnPropertySymbols ? objectKeys(S).concat(getOwnPropertySymbols(S)) : objectKeys(S);\n        var length = keys.length;\n        var j = 0;\n        var key;\n\n        while (length > j) {\n          key = keys[j++];\n          if (!DESCRIPTORS || propertyIsEnumerable.call(S, key)) T[key] = S[key];\n        }\n      }\n\n      return T;\n    } : nativeAssign;\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/object-create.js\":\n  /*!*********************************************************!*\\\n    !*** ./node_modules/core-js/internals/object-create.js ***!\n    \\*********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsObjectCreateJs(module, exports, __webpack_require__) {\n    var anObject = __webpack_require__(\n    /*! ../internals/an-object */\n    \"./node_modules/core-js/internals/an-object.js\");\n\n    var defineProperties = __webpack_require__(\n    /*! ../internals/object-define-properties */\n    \"./node_modules/core-js/internals/object-define-properties.js\");\n\n    var enumBugKeys = __webpack_require__(\n    /*! ../internals/enum-bug-keys */\n    \"./node_modules/core-js/internals/enum-bug-keys.js\");\n\n    var hiddenKeys = __webpack_require__(\n    /*! ../internals/hidden-keys */\n    \"./node_modules/core-js/internals/hidden-keys.js\");\n\n    var html = __webpack_require__(\n    /*! ../internals/html */\n    \"./node_modules/core-js/internals/html.js\");\n\n    var documentCreateElement = __webpack_require__(\n    /*! ../internals/document-create-element */\n    \"./node_modules/core-js/internals/document-create-element.js\");\n\n    var sharedKey = __webpack_require__(\n    /*! ../internals/shared-key */\n    \"./node_modules/core-js/internals/shared-key.js\");\n\n    var IE_PROTO = sharedKey('IE_PROTO');\n    var PROTOTYPE = 'prototype';\n\n    var Empty = function Empty() {\n      /* empty */\n    }; // Create object with fake `null` prototype: use iframe Object with cleared prototype\n\n\n    var _createDict = function createDict() {\n      // Thrash, waste and sodomy: IE GC bug\n      var iframe = documentCreateElement('iframe');\n      var length = enumBugKeys.length;\n      var lt = '<';\n      var script = 'script';\n      var gt = '>';\n      var js = 'java' + script + ':';\n      var iframeDocument;\n      iframe.style.display = 'none';\n      html.appendChild(iframe);\n      iframe.src = String(js);\n      iframeDocument = iframe.contentWindow.document;\n      iframeDocument.open();\n      iframeDocument.write(lt + script + gt + 'document.F=Object' + lt + '/' + script + gt);\n      iframeDocument.close();\n      _createDict = iframeDocument.F;\n\n      while (length--) {\n        delete _createDict[PROTOTYPE][enumBugKeys[length]];\n      }\n\n      return _createDict();\n    }; // `Object.create` method\n    // https://tc39.github.io/ecma262/#sec-object.create\n\n\n    module.exports = Object.create || function create(O, Properties) {\n      var result;\n\n      if (O !== null) {\n        Empty[PROTOTYPE] = anObject(O);\n        result = new Empty();\n        Empty[PROTOTYPE] = null; // add \"__proto__\" for Object.getPrototypeOf polyfill\n\n        result[IE_PROTO] = O;\n      } else result = _createDict();\n\n      return Properties === undefined ? result : defineProperties(result, Properties);\n    };\n\n    hiddenKeys[IE_PROTO] = true;\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/object-define-properties.js\":\n  /*!********************************************************************!*\\\n    !*** ./node_modules/core-js/internals/object-define-properties.js ***!\n    \\********************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsObjectDefinePropertiesJs(module, exports, __webpack_require__) {\n    var DESCRIPTORS = __webpack_require__(\n    /*! ../internals/descriptors */\n    \"./node_modules/core-js/internals/descriptors.js\");\n\n    var definePropertyModule = __webpack_require__(\n    /*! ../internals/object-define-property */\n    \"./node_modules/core-js/internals/object-define-property.js\");\n\n    var anObject = __webpack_require__(\n    /*! ../internals/an-object */\n    \"./node_modules/core-js/internals/an-object.js\");\n\n    var objectKeys = __webpack_require__(\n    /*! ../internals/object-keys */\n    \"./node_modules/core-js/internals/object-keys.js\"); // `Object.defineProperties` method\n    // https://tc39.github.io/ecma262/#sec-object.defineproperties\n\n\n    module.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) {\n      anObject(O);\n      var keys = objectKeys(Properties);\n      var length = keys.length;\n      var index = 0;\n      var key;\n\n      while (length > index) {\n        definePropertyModule.f(O, key = keys[index++], Properties[key]);\n      }\n\n      return O;\n    };\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/object-define-property.js\":\n  /*!******************************************************************!*\\\n    !*** ./node_modules/core-js/internals/object-define-property.js ***!\n    \\******************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsObjectDefinePropertyJs(module, exports, __webpack_require__) {\n    var DESCRIPTORS = __webpack_require__(\n    /*! ../internals/descriptors */\n    \"./node_modules/core-js/internals/descriptors.js\");\n\n    var IE8_DOM_DEFINE = __webpack_require__(\n    /*! ../internals/ie8-dom-define */\n    \"./node_modules/core-js/internals/ie8-dom-define.js\");\n\n    var anObject = __webpack_require__(\n    /*! ../internals/an-object */\n    \"./node_modules/core-js/internals/an-object.js\");\n\n    var toPrimitive = __webpack_require__(\n    /*! ../internals/to-primitive */\n    \"./node_modules/core-js/internals/to-primitive.js\");\n\n    var nativeDefineProperty = Object.defineProperty; // `Object.defineProperty` method\n    // https://tc39.github.io/ecma262/#sec-object.defineproperty\n\n    exports.f = DESCRIPTORS ? nativeDefineProperty : function defineProperty(O, P, Attributes) {\n      anObject(O);\n      P = toPrimitive(P, true);\n      anObject(Attributes);\n      if (IE8_DOM_DEFINE) try {\n        return nativeDefineProperty(O, P, Attributes);\n      } catch (error) {\n        /* empty */\n      }\n      if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');\n      if ('value' in Attributes) O[P] = Attributes.value;\n      return O;\n    };\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/object-get-own-property-descriptor.js\":\n  /*!******************************************************************************!*\\\n    !*** ./node_modules/core-js/internals/object-get-own-property-descriptor.js ***!\n    \\******************************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsObjectGetOwnPropertyDescriptorJs(module, exports, __webpack_require__) {\n    var DESCRIPTORS = __webpack_require__(\n    /*! ../internals/descriptors */\n    \"./node_modules/core-js/internals/descriptors.js\");\n\n    var propertyIsEnumerableModule = __webpack_require__(\n    /*! ../internals/object-property-is-enumerable */\n    \"./node_modules/core-js/internals/object-property-is-enumerable.js\");\n\n    var createPropertyDescriptor = __webpack_require__(\n    /*! ../internals/create-property-descriptor */\n    \"./node_modules/core-js/internals/create-property-descriptor.js\");\n\n    var toIndexedObject = __webpack_require__(\n    /*! ../internals/to-indexed-object */\n    \"./node_modules/core-js/internals/to-indexed-object.js\");\n\n    var toPrimitive = __webpack_require__(\n    /*! ../internals/to-primitive */\n    \"./node_modules/core-js/internals/to-primitive.js\");\n\n    var has = __webpack_require__(\n    /*! ../internals/has */\n    \"./node_modules/core-js/internals/has.js\");\n\n    var IE8_DOM_DEFINE = __webpack_require__(\n    /*! ../internals/ie8-dom-define */\n    \"./node_modules/core-js/internals/ie8-dom-define.js\");\n\n    var nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; // `Object.getOwnPropertyDescriptor` method\n    // https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptor\n\n    exports.f = DESCRIPTORS ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n      O = toIndexedObject(O);\n      P = toPrimitive(P, true);\n      if (IE8_DOM_DEFINE) try {\n        return nativeGetOwnPropertyDescriptor(O, P);\n      } catch (error) {\n        /* empty */\n      }\n      if (has(O, P)) return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O, P), O[P]);\n    };\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/object-get-own-property-names-external.js\":\n  /*!**********************************************************************************!*\\\n    !*** ./node_modules/core-js/internals/object-get-own-property-names-external.js ***!\n    \\**********************************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsObjectGetOwnPropertyNamesExternalJs(module, exports, __webpack_require__) {\n    var toIndexedObject = __webpack_require__(\n    /*! ../internals/to-indexed-object */\n    \"./node_modules/core-js/internals/to-indexed-object.js\");\n\n    var nativeGetOwnPropertyNames = __webpack_require__(\n    /*! ../internals/object-get-own-property-names */\n    \"./node_modules/core-js/internals/object-get-own-property-names.js\").f;\n\n    var toString = {}.toString;\n    var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [];\n\n    var getWindowNames = function getWindowNames(it) {\n      try {\n        return nativeGetOwnPropertyNames(it);\n      } catch (error) {\n        return windowNames.slice();\n      }\n    }; // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\n\n\n    module.exports.f = function getOwnPropertyNames(it) {\n      return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : nativeGetOwnPropertyNames(toIndexedObject(it));\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/object-get-own-property-names.js\":\n  /*!*************************************************************************!*\\\n    !*** ./node_modules/core-js/internals/object-get-own-property-names.js ***!\n    \\*************************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsObjectGetOwnPropertyNamesJs(module, exports, __webpack_require__) {\n    var internalObjectKeys = __webpack_require__(\n    /*! ../internals/object-keys-internal */\n    \"./node_modules/core-js/internals/object-keys-internal.js\");\n\n    var enumBugKeys = __webpack_require__(\n    /*! ../internals/enum-bug-keys */\n    \"./node_modules/core-js/internals/enum-bug-keys.js\");\n\n    var hiddenKeys = enumBugKeys.concat('length', 'prototype'); // `Object.getOwnPropertyNames` method\n    // https://tc39.github.io/ecma262/#sec-object.getownpropertynames\n\n    exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n      return internalObjectKeys(O, hiddenKeys);\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/object-get-own-property-symbols.js\":\n  /*!***************************************************************************!*\\\n    !*** ./node_modules/core-js/internals/object-get-own-property-symbols.js ***!\n    \\***************************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsObjectGetOwnPropertySymbolsJs(module, exports) {\n    exports.f = Object.getOwnPropertySymbols;\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/object-get-prototype-of.js\":\n  /*!*******************************************************************!*\\\n    !*** ./node_modules/core-js/internals/object-get-prototype-of.js ***!\n    \\*******************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsObjectGetPrototypeOfJs(module, exports, __webpack_require__) {\n    var has = __webpack_require__(\n    /*! ../internals/has */\n    \"./node_modules/core-js/internals/has.js\");\n\n    var toObject = __webpack_require__(\n    /*! ../internals/to-object */\n    \"./node_modules/core-js/internals/to-object.js\");\n\n    var sharedKey = __webpack_require__(\n    /*! ../internals/shared-key */\n    \"./node_modules/core-js/internals/shared-key.js\");\n\n    var CORRECT_PROTOTYPE_GETTER = __webpack_require__(\n    /*! ../internals/correct-prototype-getter */\n    \"./node_modules/core-js/internals/correct-prototype-getter.js\");\n\n    var IE_PROTO = sharedKey('IE_PROTO');\n    var ObjectPrototype = Object.prototype; // `Object.getPrototypeOf` method\n    // https://tc39.github.io/ecma262/#sec-object.getprototypeof\n\n    module.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) {\n      O = toObject(O);\n      if (has(O, IE_PROTO)) return O[IE_PROTO];\n\n      if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n        return O.constructor.prototype;\n      }\n\n      return O instanceof Object ? ObjectPrototype : null;\n    };\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/object-keys-internal.js\":\n  /*!****************************************************************!*\\\n    !*** ./node_modules/core-js/internals/object-keys-internal.js ***!\n    \\****************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsObjectKeysInternalJs(module, exports, __webpack_require__) {\n    var has = __webpack_require__(\n    /*! ../internals/has */\n    \"./node_modules/core-js/internals/has.js\");\n\n    var toIndexedObject = __webpack_require__(\n    /*! ../internals/to-indexed-object */\n    \"./node_modules/core-js/internals/to-indexed-object.js\");\n\n    var indexOf = __webpack_require__(\n    /*! ../internals/array-includes */\n    \"./node_modules/core-js/internals/array-includes.js\").indexOf;\n\n    var hiddenKeys = __webpack_require__(\n    /*! ../internals/hidden-keys */\n    \"./node_modules/core-js/internals/hidden-keys.js\");\n\n    module.exports = function (object, names) {\n      var O = toIndexedObject(object);\n      var i = 0;\n      var result = [];\n      var key;\n\n      for (key in O) {\n        !has(hiddenKeys, key) && has(O, key) && result.push(key);\n      } // Don't enum bug & hidden keys\n\n\n      while (names.length > i) {\n        if (has(O, key = names[i++])) {\n          ~indexOf(result, key) || result.push(key);\n        }\n      }\n\n      return result;\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/object-keys.js\":\n  /*!*******************************************************!*\\\n    !*** ./node_modules/core-js/internals/object-keys.js ***!\n    \\*******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsObjectKeysJs(module, exports, __webpack_require__) {\n    var internalObjectKeys = __webpack_require__(\n    /*! ../internals/object-keys-internal */\n    \"./node_modules/core-js/internals/object-keys-internal.js\");\n\n    var enumBugKeys = __webpack_require__(\n    /*! ../internals/enum-bug-keys */\n    \"./node_modules/core-js/internals/enum-bug-keys.js\"); // `Object.keys` method\n    // https://tc39.github.io/ecma262/#sec-object.keys\n\n\n    module.exports = Object.keys || function keys(O) {\n      return internalObjectKeys(O, enumBugKeys);\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/object-property-is-enumerable.js\":\n  /*!*************************************************************************!*\\\n    !*** ./node_modules/core-js/internals/object-property-is-enumerable.js ***!\n    \\*************************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsObjectPropertyIsEnumerableJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var nativePropertyIsEnumerable = {}.propertyIsEnumerable;\n    var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; // Nashorn ~ JDK8 bug\n\n    var NASHORN_BUG = getOwnPropertyDescriptor && !nativePropertyIsEnumerable.call({\n      1: 2\n    }, 1); // `Object.prototype.propertyIsEnumerable` method implementation\n    // https://tc39.github.io/ecma262/#sec-object.prototype.propertyisenumerable\n\n    exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n      var descriptor = getOwnPropertyDescriptor(this, V);\n      return !!descriptor && descriptor.enumerable;\n    } : nativePropertyIsEnumerable;\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/object-set-prototype-of.js\":\n  /*!*******************************************************************!*\\\n    !*** ./node_modules/core-js/internals/object-set-prototype-of.js ***!\n    \\*******************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsObjectSetPrototypeOfJs(module, exports, __webpack_require__) {\n    var anObject = __webpack_require__(\n    /*! ../internals/an-object */\n    \"./node_modules/core-js/internals/an-object.js\");\n\n    var aPossiblePrototype = __webpack_require__(\n    /*! ../internals/a-possible-prototype */\n    \"./node_modules/core-js/internals/a-possible-prototype.js\"); // `Object.setPrototypeOf` method\n    // https://tc39.github.io/ecma262/#sec-object.setprototypeof\n    // Works with __proto__ only. Old v8 can't work with null proto objects.\n\n    /* eslint-disable no-proto */\n\n\n    module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {\n      var CORRECT_SETTER = false;\n      var test = {};\n      var setter;\n\n      try {\n        setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set;\n        setter.call(test, []);\n        CORRECT_SETTER = test instanceof Array;\n      } catch (error) {\n        /* empty */\n      }\n\n      return function setPrototypeOf(O, proto) {\n        anObject(O);\n        aPossiblePrototype(proto);\n        if (CORRECT_SETTER) setter.call(O, proto);else O.__proto__ = proto;\n        return O;\n      };\n    }() : undefined);\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/object-to-string.js\":\n  /*!************************************************************!*\\\n    !*** ./node_modules/core-js/internals/object-to-string.js ***!\n    \\************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsObjectToStringJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var classof = __webpack_require__(\n    /*! ../internals/classof */\n    \"./node_modules/core-js/internals/classof.js\");\n\n    var wellKnownSymbol = __webpack_require__(\n    /*! ../internals/well-known-symbol */\n    \"./node_modules/core-js/internals/well-known-symbol.js\");\n\n    var TO_STRING_TAG = wellKnownSymbol('toStringTag');\n    var test = {};\n    test[TO_STRING_TAG] = 'z'; // `Object.prototype.toString` method implementation\n    // https://tc39.github.io/ecma262/#sec-object.prototype.tostring\n\n    module.exports = String(test) !== '[object z]' ? function toString() {\n      return '[object ' + classof(this) + ']';\n    } : test.toString;\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/own-keys.js\":\n  /*!****************************************************!*\\\n    !*** ./node_modules/core-js/internals/own-keys.js ***!\n    \\****************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsOwnKeysJs(module, exports, __webpack_require__) {\n    var getBuiltIn = __webpack_require__(\n    /*! ../internals/get-built-in */\n    \"./node_modules/core-js/internals/get-built-in.js\");\n\n    var getOwnPropertyNamesModule = __webpack_require__(\n    /*! ../internals/object-get-own-property-names */\n    \"./node_modules/core-js/internals/object-get-own-property-names.js\");\n\n    var getOwnPropertySymbolsModule = __webpack_require__(\n    /*! ../internals/object-get-own-property-symbols */\n    \"./node_modules/core-js/internals/object-get-own-property-symbols.js\");\n\n    var anObject = __webpack_require__(\n    /*! ../internals/an-object */\n    \"./node_modules/core-js/internals/an-object.js\"); // all object keys, includes non-enumerable and symbols\n\n\n    module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n      var keys = getOwnPropertyNamesModule.f(anObject(it));\n      var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n      return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/parse-float.js\":\n  /*!*******************************************************!*\\\n    !*** ./node_modules/core-js/internals/parse-float.js ***!\n    \\*******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsParseFloatJs(module, exports, __webpack_require__) {\n    var global = __webpack_require__(\n    /*! ../internals/global */\n    \"./node_modules/core-js/internals/global.js\");\n\n    var trim = __webpack_require__(\n    /*! ../internals/string-trim */\n    \"./node_modules/core-js/internals/string-trim.js\").trim;\n\n    var whitespaces = __webpack_require__(\n    /*! ../internals/whitespaces */\n    \"./node_modules/core-js/internals/whitespaces.js\");\n\n    var nativeParseFloat = global.parseFloat;\n    var FORCED = 1 / nativeParseFloat(whitespaces + '-0') !== -Infinity; // `parseFloat` method\n    // https://tc39.github.io/ecma262/#sec-parsefloat-string\n\n    module.exports = FORCED ? function parseFloat(string) {\n      var trimmedString = trim(String(string));\n      var result = nativeParseFloat(trimmedString);\n      return result === 0 && trimmedString.charAt(0) == '-' ? -0 : result;\n    } : nativeParseFloat;\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/parse-int.js\":\n  /*!*****************************************************!*\\\n    !*** ./node_modules/core-js/internals/parse-int.js ***!\n    \\*****************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsParseIntJs(module, exports, __webpack_require__) {\n    var global = __webpack_require__(\n    /*! ../internals/global */\n    \"./node_modules/core-js/internals/global.js\");\n\n    var trim = __webpack_require__(\n    /*! ../internals/string-trim */\n    \"./node_modules/core-js/internals/string-trim.js\").trim;\n\n    var whitespaces = __webpack_require__(\n    /*! ../internals/whitespaces */\n    \"./node_modules/core-js/internals/whitespaces.js\");\n\n    var nativeParseInt = global.parseInt;\n    var hex = /^[+-]?0[Xx]/;\n    var FORCED = nativeParseInt(whitespaces + '08') !== 8 || nativeParseInt(whitespaces + '0x16') !== 22; // `parseInt` method\n    // https://tc39.github.io/ecma262/#sec-parseint-string-radix\n\n    module.exports = FORCED ? function parseInt(string, radix) {\n      var S = trim(String(string));\n      return nativeParseInt(S, radix >>> 0 || (hex.test(S) ? 16 : 10));\n    } : nativeParseInt;\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/path.js\":\n  /*!************************************************!*\\\n    !*** ./node_modules/core-js/internals/path.js ***!\n    \\************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsPathJs(module, exports, __webpack_require__) {\n    module.exports = __webpack_require__(\n    /*! ../internals/global */\n    \"./node_modules/core-js/internals/global.js\");\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/perform.js\":\n  /*!***************************************************!*\\\n    !*** ./node_modules/core-js/internals/perform.js ***!\n    \\***************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsPerformJs(module, exports) {\n    module.exports = function (exec) {\n      try {\n        return {\n          error: false,\n          value: exec()\n        };\n      } catch (error) {\n        return {\n          error: true,\n          value: error\n        };\n      }\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/promise-resolve.js\":\n  /*!***********************************************************!*\\\n    !*** ./node_modules/core-js/internals/promise-resolve.js ***!\n    \\***********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsPromiseResolveJs(module, exports, __webpack_require__) {\n    var anObject = __webpack_require__(\n    /*! ../internals/an-object */\n    \"./node_modules/core-js/internals/an-object.js\");\n\n    var isObject = __webpack_require__(\n    /*! ../internals/is-object */\n    \"./node_modules/core-js/internals/is-object.js\");\n\n    var newPromiseCapability = __webpack_require__(\n    /*! ../internals/new-promise-capability */\n    \"./node_modules/core-js/internals/new-promise-capability.js\");\n\n    module.exports = function (C, x) {\n      anObject(C);\n      if (isObject(x) && x.constructor === C) return x;\n      var promiseCapability = newPromiseCapability.f(C);\n      var resolve = promiseCapability.resolve;\n      resolve(x);\n      return promiseCapability.promise;\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/redefine-all.js\":\n  /*!********************************************************!*\\\n    !*** ./node_modules/core-js/internals/redefine-all.js ***!\n    \\********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsRedefineAllJs(module, exports, __webpack_require__) {\n    var redefine = __webpack_require__(\n    /*! ../internals/redefine */\n    \"./node_modules/core-js/internals/redefine.js\");\n\n    module.exports = function (target, src, options) {\n      for (var key in src) {\n        redefine(target, key, src[key], options);\n      }\n\n      return target;\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/redefine.js\":\n  /*!****************************************************!*\\\n    !*** ./node_modules/core-js/internals/redefine.js ***!\n    \\****************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsRedefineJs(module, exports, __webpack_require__) {\n    var global = __webpack_require__(\n    /*! ../internals/global */\n    \"./node_modules/core-js/internals/global.js\");\n\n    var shared = __webpack_require__(\n    /*! ../internals/shared */\n    \"./node_modules/core-js/internals/shared.js\");\n\n    var hide = __webpack_require__(\n    /*! ../internals/hide */\n    \"./node_modules/core-js/internals/hide.js\");\n\n    var has = __webpack_require__(\n    /*! ../internals/has */\n    \"./node_modules/core-js/internals/has.js\");\n\n    var setGlobal = __webpack_require__(\n    /*! ../internals/set-global */\n    \"./node_modules/core-js/internals/set-global.js\");\n\n    var nativeFunctionToString = __webpack_require__(\n    /*! ../internals/function-to-string */\n    \"./node_modules/core-js/internals/function-to-string.js\");\n\n    var InternalStateModule = __webpack_require__(\n    /*! ../internals/internal-state */\n    \"./node_modules/core-js/internals/internal-state.js\");\n\n    var getInternalState = InternalStateModule.get;\n    var enforceInternalState = InternalStateModule.enforce;\n    var TEMPLATE = String(nativeFunctionToString).split('toString');\n    shared('inspectSource', function (it) {\n      return nativeFunctionToString.call(it);\n    });\n    (module.exports = function (O, key, value, options) {\n      var unsafe = options ? !!options.unsafe : false;\n      var simple = options ? !!options.enumerable : false;\n      var noTargetGet = options ? !!options.noTargetGet : false;\n\n      if (typeof value == 'function') {\n        if (typeof key == 'string' && !has(value, 'name')) hide(value, 'name', key);\n        enforceInternalState(value).source = TEMPLATE.join(typeof key == 'string' ? key : '');\n      }\n\n      if (O === global) {\n        if (simple) O[key] = value;else setGlobal(key, value);\n        return;\n      } else if (!unsafe) {\n        delete O[key];\n      } else if (!noTargetGet && O[key]) {\n        simple = true;\n      }\n\n      if (simple) O[key] = value;else hide(O, key, value); // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n    })(Function.prototype, 'toString', function toString() {\n      return typeof this == 'function' && getInternalState(this).source || nativeFunctionToString.call(this);\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/reflect-metadata.js\":\n  /*!************************************************************!*\\\n    !*** ./node_modules/core-js/internals/reflect-metadata.js ***!\n    \\************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsReflectMetadataJs(module, exports, __webpack_require__) {\n    // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`\n    var Map = __webpack_require__(\n    /*! ../modules/es.map */\n    \"./node_modules/core-js/modules/es.map.js\");\n\n    var WeakMap = __webpack_require__(\n    /*! ../modules/es.weak-map */\n    \"./node_modules/core-js/modules/es.weak-map.js\");\n\n    var shared = __webpack_require__(\n    /*! ../internals/shared */\n    \"./node_modules/core-js/internals/shared.js\");\n\n    var metadata = shared('metadata');\n    var store = metadata.store || (metadata.store = new WeakMap());\n\n    var getOrCreateMetadataMap = function getOrCreateMetadataMap(target, targetKey, create) {\n      var targetMetadata = store.get(target);\n\n      if (!targetMetadata) {\n        if (!create) return;\n        store.set(target, targetMetadata = new Map());\n      }\n\n      var keyMetadata = targetMetadata.get(targetKey);\n\n      if (!keyMetadata) {\n        if (!create) return;\n        targetMetadata.set(targetKey, keyMetadata = new Map());\n      }\n\n      return keyMetadata;\n    };\n\n    var ordinaryHasOwnMetadata = function ordinaryHasOwnMetadata(MetadataKey, O, P) {\n      var metadataMap = getOrCreateMetadataMap(O, P, false);\n      return metadataMap === undefined ? false : metadataMap.has(MetadataKey);\n    };\n\n    var ordinaryGetOwnMetadata = function ordinaryGetOwnMetadata(MetadataKey, O, P) {\n      var metadataMap = getOrCreateMetadataMap(O, P, false);\n      return metadataMap === undefined ? undefined : metadataMap.get(MetadataKey);\n    };\n\n    var ordinaryDefineOwnMetadata = function ordinaryDefineOwnMetadata(MetadataKey, MetadataValue, O, P) {\n      getOrCreateMetadataMap(O, P, true).set(MetadataKey, MetadataValue);\n    };\n\n    var ordinaryOwnMetadataKeys = function ordinaryOwnMetadataKeys(target, targetKey) {\n      var metadataMap = getOrCreateMetadataMap(target, targetKey, false);\n      var keys = [];\n      if (metadataMap) metadataMap.forEach(function (_, key) {\n        keys.push(key);\n      });\n      return keys;\n    };\n\n    var toMetadataKey = function toMetadataKey(it) {\n      return it === undefined || typeof it == 'symbol' ? it : String(it);\n    };\n\n    module.exports = {\n      store: store,\n      getMap: getOrCreateMetadataMap,\n      has: ordinaryHasOwnMetadata,\n      get: ordinaryGetOwnMetadata,\n      set: ordinaryDefineOwnMetadata,\n      keys: ordinaryOwnMetadataKeys,\n      toKey: toMetadataKey\n    };\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/regexp-exec-abstract.js\":\n  /*!****************************************************************!*\\\n    !*** ./node_modules/core-js/internals/regexp-exec-abstract.js ***!\n    \\****************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsRegexpExecAbstractJs(module, exports, __webpack_require__) {\n    var classof = __webpack_require__(\n    /*! ./classof-raw */\n    \"./node_modules/core-js/internals/classof-raw.js\");\n\n    var regexpExec = __webpack_require__(\n    /*! ./regexp-exec */\n    \"./node_modules/core-js/internals/regexp-exec.js\"); // `RegExpExec` abstract operation\n    // https://tc39.github.io/ecma262/#sec-regexpexec\n\n\n    module.exports = function (R, S) {\n      var exec = R.exec;\n\n      if (typeof exec === 'function') {\n        var result = exec.call(R, S);\n\n        if (typeof result !== 'object') {\n          throw TypeError('RegExp exec method returned something other than an Object or null');\n        }\n\n        return result;\n      }\n\n      if (classof(R) !== 'RegExp') {\n        throw TypeError('RegExp#exec called on incompatible receiver');\n      }\n\n      return regexpExec.call(R, S);\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/regexp-exec.js\":\n  /*!*******************************************************!*\\\n    !*** ./node_modules/core-js/internals/regexp-exec.js ***!\n    \\*******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsRegexpExecJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var regexpFlags = __webpack_require__(\n    /*! ./regexp-flags */\n    \"./node_modules/core-js/internals/regexp-flags.js\");\n\n    var nativeExec = RegExp.prototype.exec; // This always refers to the native implementation, because the\n    // String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js,\n    // which loads this file before patching the method.\n\n    var nativeReplace = String.prototype.replace;\n    var patchedExec = nativeExec;\n\n    var UPDATES_LAST_INDEX_WRONG = function () {\n      var re1 = /a/;\n      var re2 = /b*/g;\n      nativeExec.call(re1, 'a');\n      nativeExec.call(re2, 'a');\n      return re1.lastIndex !== 0 || re2.lastIndex !== 0;\n    }(); // nonparticipating capturing group, copied from es5-shim's String#split patch.\n\n\n    var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;\n    var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED;\n\n    if (PATCH) {\n      patchedExec = function exec(str) {\n        var re = this;\n        var lastIndex, reCopy, match, i;\n\n        if (NPCG_INCLUDED) {\n          reCopy = new RegExp('^' + re.source + '$(?!\\\\s)', regexpFlags.call(re));\n        }\n\n        if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;\n        match = nativeExec.call(re, str);\n\n        if (UPDATES_LAST_INDEX_WRONG && match) {\n          re.lastIndex = re.global ? match.index + match[0].length : lastIndex;\n        }\n\n        if (NPCG_INCLUDED && match && match.length > 1) {\n          // Fix browsers whose `exec` methods don't consistently return `undefined`\n          // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/\n          nativeReplace.call(match[0], reCopy, function () {\n            for (i = 1; i < arguments.length - 2; i++) {\n              if (arguments[i] === undefined) match[i] = undefined;\n            }\n          });\n        }\n\n        return match;\n      };\n    }\n\n    module.exports = patchedExec;\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/regexp-flags.js\":\n  /*!********************************************************!*\\\n    !*** ./node_modules/core-js/internals/regexp-flags.js ***!\n    \\********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsRegexpFlagsJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var anObject = __webpack_require__(\n    /*! ../internals/an-object */\n    \"./node_modules/core-js/internals/an-object.js\"); // `RegExp.prototype.flags` getter implementation\n    // https://tc39.github.io/ecma262/#sec-get-regexp.prototype.flags\n\n\n    module.exports = function () {\n      var that = anObject(this);\n      var result = '';\n      if (that.global) result += 'g';\n      if (that.ignoreCase) result += 'i';\n      if (that.multiline) result += 'm';\n      if (that.dotAll) result += 's';\n      if (that.unicode) result += 'u';\n      if (that.sticky) result += 'y';\n      return result;\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/require-object-coercible.js\":\n  /*!********************************************************************!*\\\n    !*** ./node_modules/core-js/internals/require-object-coercible.js ***!\n    \\********************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsRequireObjectCoercibleJs(module, exports) {\n    // `RequireObjectCoercible` abstract operation\n    // https://tc39.github.io/ecma262/#sec-requireobjectcoercible\n    module.exports = function (it) {\n      if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n      return it;\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/same-value.js\":\n  /*!******************************************************!*\\\n    !*** ./node_modules/core-js/internals/same-value.js ***!\n    \\******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsSameValueJs(module, exports) {\n    // `SameValue` abstract operation\n    // https://tc39.github.io/ecma262/#sec-samevalue\n    module.exports = Object.is || function is(x, y) {\n      // eslint-disable-next-line no-self-compare\n      return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/set-global.js\":\n  /*!******************************************************!*\\\n    !*** ./node_modules/core-js/internals/set-global.js ***!\n    \\******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsSetGlobalJs(module, exports, __webpack_require__) {\n    var global = __webpack_require__(\n    /*! ../internals/global */\n    \"./node_modules/core-js/internals/global.js\");\n\n    var hide = __webpack_require__(\n    /*! ../internals/hide */\n    \"./node_modules/core-js/internals/hide.js\");\n\n    module.exports = function (key, value) {\n      try {\n        hide(global, key, value);\n      } catch (error) {\n        global[key] = value;\n      }\n\n      return value;\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/set-species.js\":\n  /*!*******************************************************!*\\\n    !*** ./node_modules/core-js/internals/set-species.js ***!\n    \\*******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsSetSpeciesJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var getBuiltIn = __webpack_require__(\n    /*! ../internals/get-built-in */\n    \"./node_modules/core-js/internals/get-built-in.js\");\n\n    var definePropertyModule = __webpack_require__(\n    /*! ../internals/object-define-property */\n    \"./node_modules/core-js/internals/object-define-property.js\");\n\n    var wellKnownSymbol = __webpack_require__(\n    /*! ../internals/well-known-symbol */\n    \"./node_modules/core-js/internals/well-known-symbol.js\");\n\n    var DESCRIPTORS = __webpack_require__(\n    /*! ../internals/descriptors */\n    \"./node_modules/core-js/internals/descriptors.js\");\n\n    var SPECIES = wellKnownSymbol('species');\n\n    module.exports = function (CONSTRUCTOR_NAME) {\n      var Constructor = getBuiltIn(CONSTRUCTOR_NAME);\n      var defineProperty = definePropertyModule.f;\n\n      if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) {\n        defineProperty(Constructor, SPECIES, {\n          configurable: true,\n          get: function get() {\n            return this;\n          }\n        });\n      }\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/set-to-string-tag.js\":\n  /*!*************************************************************!*\\\n    !*** ./node_modules/core-js/internals/set-to-string-tag.js ***!\n    \\*************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsSetToStringTagJs(module, exports, __webpack_require__) {\n    var defineProperty = __webpack_require__(\n    /*! ../internals/object-define-property */\n    \"./node_modules/core-js/internals/object-define-property.js\").f;\n\n    var has = __webpack_require__(\n    /*! ../internals/has */\n    \"./node_modules/core-js/internals/has.js\");\n\n    var wellKnownSymbol = __webpack_require__(\n    /*! ../internals/well-known-symbol */\n    \"./node_modules/core-js/internals/well-known-symbol.js\");\n\n    var TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\n    module.exports = function (it, TAG, STATIC) {\n      if (it && !has(it = STATIC ? it : it.prototype, TO_STRING_TAG)) {\n        defineProperty(it, TO_STRING_TAG, {\n          configurable: true,\n          value: TAG\n        });\n      }\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/shared-key.js\":\n  /*!******************************************************!*\\\n    !*** ./node_modules/core-js/internals/shared-key.js ***!\n    \\******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsSharedKeyJs(module, exports, __webpack_require__) {\n    var shared = __webpack_require__(\n    /*! ../internals/shared */\n    \"./node_modules/core-js/internals/shared.js\");\n\n    var uid = __webpack_require__(\n    /*! ../internals/uid */\n    \"./node_modules/core-js/internals/uid.js\");\n\n    var keys = shared('keys');\n\n    module.exports = function (key) {\n      return keys[key] || (keys[key] = uid(key));\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/shared.js\":\n  /*!**************************************************!*\\\n    !*** ./node_modules/core-js/internals/shared.js ***!\n    \\**************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsSharedJs(module, exports, __webpack_require__) {\n    var global = __webpack_require__(\n    /*! ../internals/global */\n    \"./node_modules/core-js/internals/global.js\");\n\n    var setGlobal = __webpack_require__(\n    /*! ../internals/set-global */\n    \"./node_modules/core-js/internals/set-global.js\");\n\n    var IS_PURE = __webpack_require__(\n    /*! ../internals/is-pure */\n    \"./node_modules/core-js/internals/is-pure.js\");\n\n    var SHARED = '__core-js_shared__';\n    var store = global[SHARED] || setGlobal(SHARED, {});\n    (module.exports = function (key, value) {\n      return store[key] || (store[key] = value !== undefined ? value : {});\n    })('versions', []).push({\n      version: '3.2.1',\n      mode: IS_PURE ? 'pure' : 'global',\n      copyright: '© 2019 Denis Pushkarev (zloirock.ru)'\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/sloppy-array-method.js\":\n  /*!***************************************************************!*\\\n    !*** ./node_modules/core-js/internals/sloppy-array-method.js ***!\n    \\***************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsSloppyArrayMethodJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var fails = __webpack_require__(\n    /*! ../internals/fails */\n    \"./node_modules/core-js/internals/fails.js\");\n\n    module.exports = function (METHOD_NAME, argument) {\n      var method = [][METHOD_NAME];\n      return !method || !fails(function () {\n        // eslint-disable-next-line no-useless-call,no-throw-literal\n        method.call(null, argument || function () {\n          throw 1;\n        }, 1);\n      });\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/species-constructor.js\":\n  /*!***************************************************************!*\\\n    !*** ./node_modules/core-js/internals/species-constructor.js ***!\n    \\***************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsSpeciesConstructorJs(module, exports, __webpack_require__) {\n    var anObject = __webpack_require__(\n    /*! ../internals/an-object */\n    \"./node_modules/core-js/internals/an-object.js\");\n\n    var aFunction = __webpack_require__(\n    /*! ../internals/a-function */\n    \"./node_modules/core-js/internals/a-function.js\");\n\n    var wellKnownSymbol = __webpack_require__(\n    /*! ../internals/well-known-symbol */\n    \"./node_modules/core-js/internals/well-known-symbol.js\");\n\n    var SPECIES = wellKnownSymbol('species'); // `SpeciesConstructor` abstract operation\n    // https://tc39.github.io/ecma262/#sec-speciesconstructor\n\n    module.exports = function (O, defaultConstructor) {\n      var C = anObject(O).constructor;\n      var S;\n      return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? defaultConstructor : aFunction(S);\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/string-multibyte.js\":\n  /*!************************************************************!*\\\n    !*** ./node_modules/core-js/internals/string-multibyte.js ***!\n    \\************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsStringMultibyteJs(module, exports, __webpack_require__) {\n    var toInteger = __webpack_require__(\n    /*! ../internals/to-integer */\n    \"./node_modules/core-js/internals/to-integer.js\");\n\n    var requireObjectCoercible = __webpack_require__(\n    /*! ../internals/require-object-coercible */\n    \"./node_modules/core-js/internals/require-object-coercible.js\"); // `String.prototype.{ codePointAt, at }` methods implementation\n\n\n    var createMethod = function createMethod(CONVERT_TO_STRING) {\n      return function ($this, pos) {\n        var S = String(requireObjectCoercible($this));\n        var position = toInteger(pos);\n        var size = S.length;\n        var first, second;\n        if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;\n        first = S.charCodeAt(position);\n        return first < 0xD800 || first > 0xDBFF || position + 1 === size || (second = S.charCodeAt(position + 1)) < 0xDC00 || second > 0xDFFF ? CONVERT_TO_STRING ? S.charAt(position) : first : CONVERT_TO_STRING ? S.slice(position, position + 2) : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;\n      };\n    };\n\n    module.exports = {\n      // `String.prototype.codePointAt` method\n      // https://tc39.github.io/ecma262/#sec-string.prototype.codepointat\n      codeAt: createMethod(false),\n      // `String.prototype.at` method\n      // https://github.com/mathiasbynens/String.prototype.at\n      charAt: createMethod(true)\n    };\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/string-pad.js\":\n  /*!******************************************************!*\\\n    !*** ./node_modules/core-js/internals/string-pad.js ***!\n    \\******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsStringPadJs(module, exports, __webpack_require__) {\n    // https://github.com/tc39/proposal-string-pad-start-end\n    var toLength = __webpack_require__(\n    /*! ../internals/to-length */\n    \"./node_modules/core-js/internals/to-length.js\");\n\n    var repeat = __webpack_require__(\n    /*! ../internals/string-repeat */\n    \"./node_modules/core-js/internals/string-repeat.js\");\n\n    var requireObjectCoercible = __webpack_require__(\n    /*! ../internals/require-object-coercible */\n    \"./node_modules/core-js/internals/require-object-coercible.js\");\n\n    var ceil = Math.ceil; // `String.prototype.{ padStart, padEnd }` methods implementation\n\n    var createMethod = function createMethod(IS_END) {\n      return function ($this, maxLength, fillString) {\n        var S = String(requireObjectCoercible($this));\n        var stringLength = S.length;\n        var fillStr = fillString === undefined ? ' ' : String(fillString);\n        var intMaxLength = toLength(maxLength);\n        var fillLen, stringFiller;\n        if (intMaxLength <= stringLength || fillStr == '') return S;\n        fillLen = intMaxLength - stringLength;\n        stringFiller = repeat.call(fillStr, ceil(fillLen / fillStr.length));\n        if (stringFiller.length > fillLen) stringFiller = stringFiller.slice(0, fillLen);\n        return IS_END ? S + stringFiller : stringFiller + S;\n      };\n    };\n\n    module.exports = {\n      // `String.prototype.padStart` method\n      // https://tc39.github.io/ecma262/#sec-string.prototype.padstart\n      start: createMethod(false),\n      // `String.prototype.padEnd` method\n      // https://tc39.github.io/ecma262/#sec-string.prototype.padend\n      end: createMethod(true)\n    };\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/string-repeat.js\":\n  /*!*********************************************************!*\\\n    !*** ./node_modules/core-js/internals/string-repeat.js ***!\n    \\*********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsStringRepeatJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var toInteger = __webpack_require__(\n    /*! ../internals/to-integer */\n    \"./node_modules/core-js/internals/to-integer.js\");\n\n    var requireObjectCoercible = __webpack_require__(\n    /*! ../internals/require-object-coercible */\n    \"./node_modules/core-js/internals/require-object-coercible.js\"); // `String.prototype.repeat` method implementation\n    // https://tc39.github.io/ecma262/#sec-string.prototype.repeat\n\n\n    module.exports = ''.repeat || function repeat(count) {\n      var str = String(requireObjectCoercible(this));\n      var result = '';\n      var n = toInteger(count);\n      if (n < 0 || n == Infinity) throw RangeError('Wrong number of repetitions');\n\n      for (; n > 0; (n >>>= 1) && (str += str)) {\n        if (n & 1) result += str;\n      }\n\n      return result;\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/string-trim.js\":\n  /*!*******************************************************!*\\\n    !*** ./node_modules/core-js/internals/string-trim.js ***!\n    \\*******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsStringTrimJs(module, exports, __webpack_require__) {\n    var requireObjectCoercible = __webpack_require__(\n    /*! ../internals/require-object-coercible */\n    \"./node_modules/core-js/internals/require-object-coercible.js\");\n\n    var whitespaces = __webpack_require__(\n    /*! ../internals/whitespaces */\n    \"./node_modules/core-js/internals/whitespaces.js\");\n\n    var whitespace = '[' + whitespaces + ']';\n    var ltrim = RegExp('^' + whitespace + whitespace + '*');\n    var rtrim = RegExp(whitespace + whitespace + '*$'); // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation\n\n    var createMethod = function createMethod(TYPE) {\n      return function ($this) {\n        var string = String(requireObjectCoercible($this));\n        if (TYPE & 1) string = string.replace(ltrim, '');\n        if (TYPE & 2) string = string.replace(rtrim, '');\n        return string;\n      };\n    };\n\n    module.exports = {\n      // `String.prototype.{ trimLeft, trimStart }` methods\n      // https://tc39.github.io/ecma262/#sec-string.prototype.trimstart\n      start: createMethod(1),\n      // `String.prototype.{ trimRight, trimEnd }` methods\n      // https://tc39.github.io/ecma262/#sec-string.prototype.trimend\n      end: createMethod(2),\n      // `String.prototype.trim` method\n      // https://tc39.github.io/ecma262/#sec-string.prototype.trim\n      trim: createMethod(3)\n    };\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/task.js\":\n  /*!************************************************!*\\\n    !*** ./node_modules/core-js/internals/task.js ***!\n    \\************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsTaskJs(module, exports, __webpack_require__) {\n    var global = __webpack_require__(\n    /*! ../internals/global */\n    \"./node_modules/core-js/internals/global.js\");\n\n    var fails = __webpack_require__(\n    /*! ../internals/fails */\n    \"./node_modules/core-js/internals/fails.js\");\n\n    var classof = __webpack_require__(\n    /*! ../internals/classof-raw */\n    \"./node_modules/core-js/internals/classof-raw.js\");\n\n    var bind = __webpack_require__(\n    /*! ../internals/bind-context */\n    \"./node_modules/core-js/internals/bind-context.js\");\n\n    var html = __webpack_require__(\n    /*! ../internals/html */\n    \"./node_modules/core-js/internals/html.js\");\n\n    var createElement = __webpack_require__(\n    /*! ../internals/document-create-element */\n    \"./node_modules/core-js/internals/document-create-element.js\");\n\n    var location = global.location;\n    var set = global.setImmediate;\n    var clear = global.clearImmediate;\n    var process = global.process;\n    var MessageChannel = global.MessageChannel;\n    var Dispatch = global.Dispatch;\n    var counter = 0;\n    var queue = {};\n    var ONREADYSTATECHANGE = 'onreadystatechange';\n    var defer, channel, port;\n\n    var run = function run(id) {\n      // eslint-disable-next-line no-prototype-builtins\n      if (queue.hasOwnProperty(id)) {\n        var fn = queue[id];\n        delete queue[id];\n        fn();\n      }\n    };\n\n    var runner = function runner(id) {\n      return function () {\n        run(id);\n      };\n    };\n\n    var listener = function listener(event) {\n      run(event.data);\n    };\n\n    var post = function post(id) {\n      // old engines have not location.origin\n      global.postMessage(id + '', location.protocol + '//' + location.host);\n    }; // Node.js 0.9+ & IE10+ has setImmediate, otherwise:\n\n\n    if (!set || !clear) {\n      set = function setImmediate(fn) {\n        var args = [];\n        var i = 1;\n\n        while (arguments.length > i) {\n          args.push(arguments[i++]);\n        }\n\n        queue[++counter] = function () {\n          // eslint-disable-next-line no-new-func\n          (typeof fn == 'function' ? fn : Function(fn)).apply(undefined, args);\n        };\n\n        defer(counter);\n        return counter;\n      };\n\n      clear = function clearImmediate(id) {\n        delete queue[id];\n      }; // Node.js 0.8-\n\n\n      if (classof(process) == 'process') {\n        defer = function defer(id) {\n          process.nextTick(runner(id));\n        }; // Sphere (JS game engine) Dispatch API\n\n      } else if (Dispatch && Dispatch.now) {\n        defer = function defer(id) {\n          Dispatch.now(runner(id));\n        }; // Browsers with MessageChannel, includes WebWorkers\n\n      } else if (MessageChannel) {\n        channel = new MessageChannel();\n        port = channel.port2;\n        channel.port1.onmessage = listener;\n        defer = bind(port.postMessage, port, 1); // Browsers with postMessage, skip WebWorkers\n        // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'\n      } else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts && !fails(post)) {\n        defer = post;\n        global.addEventListener('message', listener, false); // IE8-\n      } else if (ONREADYSTATECHANGE in createElement('script')) {\n        defer = function defer(id) {\n          html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () {\n            html.removeChild(this);\n            run(id);\n          };\n        }; // Rest old browsers\n\n      } else {\n        defer = function defer(id) {\n          setTimeout(runner(id), 0);\n        };\n      }\n    }\n\n    module.exports = {\n      set: set,\n      clear: clear\n    };\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/this-number-value.js\":\n  /*!*************************************************************!*\\\n    !*** ./node_modules/core-js/internals/this-number-value.js ***!\n    \\*************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsThisNumberValueJs(module, exports, __webpack_require__) {\n    var classof = __webpack_require__(\n    /*! ../internals/classof-raw */\n    \"./node_modules/core-js/internals/classof-raw.js\"); // `thisNumberValue` abstract operation\n    // https://tc39.github.io/ecma262/#sec-thisnumbervalue\n\n\n    module.exports = function (value) {\n      if (typeof value != 'number' && classof(value) != 'Number') {\n        throw TypeError('Incorrect invocation');\n      }\n\n      return +value;\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/to-absolute-index.js\":\n  /*!*************************************************************!*\\\n    !*** ./node_modules/core-js/internals/to-absolute-index.js ***!\n    \\*************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsToAbsoluteIndexJs(module, exports, __webpack_require__) {\n    var toInteger = __webpack_require__(\n    /*! ../internals/to-integer */\n    \"./node_modules/core-js/internals/to-integer.js\");\n\n    var max = Math.max;\n    var min = Math.min; // Helper for a popular repeating case of the spec:\n    // Let integer be ? ToInteger(index).\n    // If integer < 0, let result be max((length + integer), 0); else let result be min(length, length).\n\n    module.exports = function (index, length) {\n      var integer = toInteger(index);\n      return integer < 0 ? max(integer + length, 0) : min(integer, length);\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/to-indexed-object.js\":\n  /*!*************************************************************!*\\\n    !*** ./node_modules/core-js/internals/to-indexed-object.js ***!\n    \\*************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsToIndexedObjectJs(module, exports, __webpack_require__) {\n    // toObject with fallback for non-array-like ES3 strings\n    var IndexedObject = __webpack_require__(\n    /*! ../internals/indexed-object */\n    \"./node_modules/core-js/internals/indexed-object.js\");\n\n    var requireObjectCoercible = __webpack_require__(\n    /*! ../internals/require-object-coercible */\n    \"./node_modules/core-js/internals/require-object-coercible.js\");\n\n    module.exports = function (it) {\n      return IndexedObject(requireObjectCoercible(it));\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/to-integer.js\":\n  /*!******************************************************!*\\\n    !*** ./node_modules/core-js/internals/to-integer.js ***!\n    \\******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsToIntegerJs(module, exports) {\n    var ceil = Math.ceil;\n    var floor = Math.floor; // `ToInteger` abstract operation\n    // https://tc39.github.io/ecma262/#sec-tointeger\n\n    module.exports = function (argument) {\n      return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/to-length.js\":\n  /*!*****************************************************!*\\\n    !*** ./node_modules/core-js/internals/to-length.js ***!\n    \\*****************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsToLengthJs(module, exports, __webpack_require__) {\n    var toInteger = __webpack_require__(\n    /*! ../internals/to-integer */\n    \"./node_modules/core-js/internals/to-integer.js\");\n\n    var min = Math.min; // `ToLength` abstract operation\n    // https://tc39.github.io/ecma262/#sec-tolength\n\n    module.exports = function (argument) {\n      return argument > 0 ? min(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/to-object.js\":\n  /*!*****************************************************!*\\\n    !*** ./node_modules/core-js/internals/to-object.js ***!\n    \\*****************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsToObjectJs(module, exports, __webpack_require__) {\n    var requireObjectCoercible = __webpack_require__(\n    /*! ../internals/require-object-coercible */\n    \"./node_modules/core-js/internals/require-object-coercible.js\"); // `ToObject` abstract operation\n    // https://tc39.github.io/ecma262/#sec-toobject\n\n\n    module.exports = function (argument) {\n      return Object(requireObjectCoercible(argument));\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/to-primitive.js\":\n  /*!********************************************************!*\\\n    !*** ./node_modules/core-js/internals/to-primitive.js ***!\n    \\********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsToPrimitiveJs(module, exports, __webpack_require__) {\n    var isObject = __webpack_require__(\n    /*! ../internals/is-object */\n    \"./node_modules/core-js/internals/is-object.js\"); // `ToPrimitive` abstract operation\n    // https://tc39.github.io/ecma262/#sec-toprimitive\n    // instead of the ES6 spec version, we didn't implement @@toPrimitive case\n    // and the second argument - flag - preferred type is a string\n\n\n    module.exports = function (input, PREFERRED_STRING) {\n      if (!isObject(input)) return input;\n      var fn, val;\n      if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;\n      if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val;\n      if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;\n      throw TypeError(\"Can't convert object to primitive value\");\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/uid.js\":\n  /*!***********************************************!*\\\n    !*** ./node_modules/core-js/internals/uid.js ***!\n    \\***********************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsUidJs(module, exports) {\n    var id = 0;\n    var postfix = Math.random();\n\n    module.exports = function (key) {\n      return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/user-agent.js\":\n  /*!******************************************************!*\\\n    !*** ./node_modules/core-js/internals/user-agent.js ***!\n    \\******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsUserAgentJs(module, exports, __webpack_require__) {\n    var getBuiltIn = __webpack_require__(\n    /*! ../internals/get-built-in */\n    \"./node_modules/core-js/internals/get-built-in.js\");\n\n    module.exports = getBuiltIn('navigator', 'userAgent') || '';\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/well-known-symbol.js\":\n  /*!*************************************************************!*\\\n    !*** ./node_modules/core-js/internals/well-known-symbol.js ***!\n    \\*************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsWellKnownSymbolJs(module, exports, __webpack_require__) {\n    var global = __webpack_require__(\n    /*! ../internals/global */\n    \"./node_modules/core-js/internals/global.js\");\n\n    var shared = __webpack_require__(\n    /*! ../internals/shared */\n    \"./node_modules/core-js/internals/shared.js\");\n\n    var uid = __webpack_require__(\n    /*! ../internals/uid */\n    \"./node_modules/core-js/internals/uid.js\");\n\n    var NATIVE_SYMBOL = __webpack_require__(\n    /*! ../internals/native-symbol */\n    \"./node_modules/core-js/internals/native-symbol.js\");\n\n    var Symbol = global.Symbol;\n    var store = shared('wks');\n\n    module.exports = function (name) {\n      return store[name] || (store[name] = NATIVE_SYMBOL && Symbol[name] || (NATIVE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/whitespaces.js\":\n  /*!*******************************************************!*\\\n    !*** ./node_modules/core-js/internals/whitespaces.js ***!\n    \\*******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsWhitespacesJs(module, exports) {\n    // a string of all valid unicode whitespaces\n    // eslint-disable-next-line max-len\n    module.exports = \"\\t\\n\\x0B\\f\\r \\xA0\\u1680\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF\";\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/internals/wrapped-well-known-symbol.js\":\n  /*!*********************************************************************!*\\\n    !*** ./node_modules/core-js/internals/wrapped-well-known-symbol.js ***!\n    \\*********************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsInternalsWrappedWellKnownSymbolJs(module, exports, __webpack_require__) {\n    exports.f = __webpack_require__(\n    /*! ../internals/well-known-symbol */\n    \"./node_modules/core-js/internals/well-known-symbol.js\");\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.array.concat.js\":\n  /*!*********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.array.concat.js ***!\n    \\*********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsArrayConcatJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var fails = __webpack_require__(\n    /*! ../internals/fails */\n    \"./node_modules/core-js/internals/fails.js\");\n\n    var isArray = __webpack_require__(\n    /*! ../internals/is-array */\n    \"./node_modules/core-js/internals/is-array.js\");\n\n    var isObject = __webpack_require__(\n    /*! ../internals/is-object */\n    \"./node_modules/core-js/internals/is-object.js\");\n\n    var toObject = __webpack_require__(\n    /*! ../internals/to-object */\n    \"./node_modules/core-js/internals/to-object.js\");\n\n    var toLength = __webpack_require__(\n    /*! ../internals/to-length */\n    \"./node_modules/core-js/internals/to-length.js\");\n\n    var createProperty = __webpack_require__(\n    /*! ../internals/create-property */\n    \"./node_modules/core-js/internals/create-property.js\");\n\n    var arraySpeciesCreate = __webpack_require__(\n    /*! ../internals/array-species-create */\n    \"./node_modules/core-js/internals/array-species-create.js\");\n\n    var arrayMethodHasSpeciesSupport = __webpack_require__(\n    /*! ../internals/array-method-has-species-support */\n    \"./node_modules/core-js/internals/array-method-has-species-support.js\");\n\n    var wellKnownSymbol = __webpack_require__(\n    /*! ../internals/well-known-symbol */\n    \"./node_modules/core-js/internals/well-known-symbol.js\");\n\n    var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');\n    var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;\n    var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';\n    var IS_CONCAT_SPREADABLE_SUPPORT = !fails(function () {\n      var array = [];\n      array[IS_CONCAT_SPREADABLE] = false;\n      return array.concat()[0] !== array;\n    });\n    var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');\n\n    var isConcatSpreadable = function isConcatSpreadable(O) {\n      if (!isObject(O)) return false;\n      var spreadable = O[IS_CONCAT_SPREADABLE];\n      return spreadable !== undefined ? !!spreadable : isArray(O);\n    };\n\n    var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT; // `Array.prototype.concat` method\n    // https://tc39.github.io/ecma262/#sec-array.prototype.concat\n    // with adding support of @@isConcatSpreadable and @@species\n\n    $({\n      target: 'Array',\n      proto: true,\n      forced: FORCED\n    }, {\n      concat: function concat(arg) {\n        // eslint-disable-line no-unused-vars\n        var O = toObject(this);\n        var A = arraySpeciesCreate(O, 0);\n        var n = 0;\n        var i, k, length, len, E;\n\n        for (i = -1, length = arguments.length; i < length; i++) {\n          E = i === -1 ? O : arguments[i];\n\n          if (isConcatSpreadable(E)) {\n            len = toLength(E.length);\n            if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);\n\n            for (k = 0; k < len; k++, n++) {\n              if (k in E) createProperty(A, n, E[k]);\n            }\n          } else {\n            if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);\n            createProperty(A, n++, E);\n          }\n        }\n\n        A.length = n;\n        return A;\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.array.copy-within.js\":\n  /*!**************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.array.copy-within.js ***!\n    \\**************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsArrayCopyWithinJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var copyWithin = __webpack_require__(\n    /*! ../internals/array-copy-within */\n    \"./node_modules/core-js/internals/array-copy-within.js\");\n\n    var addToUnscopables = __webpack_require__(\n    /*! ../internals/add-to-unscopables */\n    \"./node_modules/core-js/internals/add-to-unscopables.js\"); // `Array.prototype.copyWithin` method\n    // https://tc39.github.io/ecma262/#sec-array.prototype.copywithin\n\n\n    $({\n      target: 'Array',\n      proto: true\n    }, {\n      copyWithin: copyWithin\n    }); // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables\n\n    addToUnscopables('copyWithin');\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.array.every.js\":\n  /*!********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.array.every.js ***!\n    \\********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsArrayEveryJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var $every = __webpack_require__(\n    /*! ../internals/array-iteration */\n    \"./node_modules/core-js/internals/array-iteration.js\").every;\n\n    var sloppyArrayMethod = __webpack_require__(\n    /*! ../internals/sloppy-array-method */\n    \"./node_modules/core-js/internals/sloppy-array-method.js\"); // `Array.prototype.every` method\n    // https://tc39.github.io/ecma262/#sec-array.prototype.every\n\n\n    $({\n      target: 'Array',\n      proto: true,\n      forced: sloppyArrayMethod('every')\n    }, {\n      every: function every(callbackfn\n      /* , thisArg */\n      ) {\n        return $every(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.array.fill.js\":\n  /*!*******************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.array.fill.js ***!\n    \\*******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsArrayFillJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var fill = __webpack_require__(\n    /*! ../internals/array-fill */\n    \"./node_modules/core-js/internals/array-fill.js\");\n\n    var addToUnscopables = __webpack_require__(\n    /*! ../internals/add-to-unscopables */\n    \"./node_modules/core-js/internals/add-to-unscopables.js\"); // `Array.prototype.fill` method\n    // https://tc39.github.io/ecma262/#sec-array.prototype.fill\n\n\n    $({\n      target: 'Array',\n      proto: true\n    }, {\n      fill: fill\n    }); // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables\n\n    addToUnscopables('fill');\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.array.filter.js\":\n  /*!*********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.array.filter.js ***!\n    \\*********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsArrayFilterJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var $filter = __webpack_require__(\n    /*! ../internals/array-iteration */\n    \"./node_modules/core-js/internals/array-iteration.js\").filter;\n\n    var arrayMethodHasSpeciesSupport = __webpack_require__(\n    /*! ../internals/array-method-has-species-support */\n    \"./node_modules/core-js/internals/array-method-has-species-support.js\"); // `Array.prototype.filter` method\n    // https://tc39.github.io/ecma262/#sec-array.prototype.filter\n    // with adding support of @@species\n\n\n    $({\n      target: 'Array',\n      proto: true,\n      forced: !arrayMethodHasSpeciesSupport('filter')\n    }, {\n      filter: function filter(callbackfn\n      /* , thisArg */\n      ) {\n        return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.array.find-index.js\":\n  /*!*************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.array.find-index.js ***!\n    \\*************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsArrayFindIndexJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var $findIndex = __webpack_require__(\n    /*! ../internals/array-iteration */\n    \"./node_modules/core-js/internals/array-iteration.js\").findIndex;\n\n    var addToUnscopables = __webpack_require__(\n    /*! ../internals/add-to-unscopables */\n    \"./node_modules/core-js/internals/add-to-unscopables.js\");\n\n    var FIND_INDEX = 'findIndex';\n    var SKIPS_HOLES = true; // Shouldn't skip holes\n\n    if (FIND_INDEX in []) Array(1)[FIND_INDEX](function () {\n      SKIPS_HOLES = false;\n    }); // `Array.prototype.findIndex` method\n    // https://tc39.github.io/ecma262/#sec-array.prototype.findindex\n\n    $({\n      target: 'Array',\n      proto: true,\n      forced: SKIPS_HOLES\n    }, {\n      findIndex: function findIndex(callbackfn\n      /* , that = undefined */\n      ) {\n        return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n      }\n    }); // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables\n\n    addToUnscopables(FIND_INDEX);\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.array.find.js\":\n  /*!*******************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.array.find.js ***!\n    \\*******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsArrayFindJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var $find = __webpack_require__(\n    /*! ../internals/array-iteration */\n    \"./node_modules/core-js/internals/array-iteration.js\").find;\n\n    var addToUnscopables = __webpack_require__(\n    /*! ../internals/add-to-unscopables */\n    \"./node_modules/core-js/internals/add-to-unscopables.js\");\n\n    var FIND = 'find';\n    var SKIPS_HOLES = true; // Shouldn't skip holes\n\n    if (FIND in []) Array(1)[FIND](function () {\n      SKIPS_HOLES = false;\n    }); // `Array.prototype.find` method\n    // https://tc39.github.io/ecma262/#sec-array.prototype.find\n\n    $({\n      target: 'Array',\n      proto: true,\n      forced: SKIPS_HOLES\n    }, {\n      find: function find(callbackfn\n      /* , that = undefined */\n      ) {\n        return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n      }\n    }); // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables\n\n    addToUnscopables(FIND);\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.array.for-each.js\":\n  /*!***********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.array.for-each.js ***!\n    \\***********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsArrayForEachJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var forEach = __webpack_require__(\n    /*! ../internals/array-for-each */\n    \"./node_modules/core-js/internals/array-for-each.js\"); // `Array.prototype.forEach` method\n    // https://tc39.github.io/ecma262/#sec-array.prototype.foreach\n\n\n    $({\n      target: 'Array',\n      proto: true,\n      forced: [].forEach != forEach\n    }, {\n      forEach: forEach\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.array.from.js\":\n  /*!*******************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.array.from.js ***!\n    \\*******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsArrayFromJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var from = __webpack_require__(\n    /*! ../internals/array-from */\n    \"./node_modules/core-js/internals/array-from.js\");\n\n    var checkCorrectnessOfIteration = __webpack_require__(\n    /*! ../internals/check-correctness-of-iteration */\n    \"./node_modules/core-js/internals/check-correctness-of-iteration.js\");\n\n    var INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {\n      Array.from(iterable);\n    }); // `Array.from` method\n    // https://tc39.github.io/ecma262/#sec-array.from\n\n    $({\n      target: 'Array',\n      stat: true,\n      forced: INCORRECT_ITERATION\n    }, {\n      from: from\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.array.index-of.js\":\n  /*!***********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.array.index-of.js ***!\n    \\***********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsArrayIndexOfJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var $indexOf = __webpack_require__(\n    /*! ../internals/array-includes */\n    \"./node_modules/core-js/internals/array-includes.js\").indexOf;\n\n    var sloppyArrayMethod = __webpack_require__(\n    /*! ../internals/sloppy-array-method */\n    \"./node_modules/core-js/internals/sloppy-array-method.js\");\n\n    var nativeIndexOf = [].indexOf;\n    var NEGATIVE_ZERO = !!nativeIndexOf && 1 / [1].indexOf(1, -0) < 0;\n    var SLOPPY_METHOD = sloppyArrayMethod('indexOf'); // `Array.prototype.indexOf` method\n    // https://tc39.github.io/ecma262/#sec-array.prototype.indexof\n\n    $({\n      target: 'Array',\n      proto: true,\n      forced: NEGATIVE_ZERO || SLOPPY_METHOD\n    }, {\n      indexOf: function indexOf(searchElement\n      /* , fromIndex = 0 */\n      ) {\n        return NEGATIVE_ZERO // convert -0 to +0\n        ? nativeIndexOf.apply(this, arguments) || 0 : $indexOf(this, searchElement, arguments.length > 1 ? arguments[1] : undefined);\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.array.is-array.js\":\n  /*!***********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.array.is-array.js ***!\n    \\***********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsArrayIsArrayJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var isArray = __webpack_require__(\n    /*! ../internals/is-array */\n    \"./node_modules/core-js/internals/is-array.js\"); // `Array.isArray` method\n    // https://tc39.github.io/ecma262/#sec-array.isarray\n\n\n    $({\n      target: 'Array',\n      stat: true\n    }, {\n      isArray: isArray\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.array.iterator.js\":\n  /*!***********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.array.iterator.js ***!\n    \\***********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsArrayIteratorJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var toIndexedObject = __webpack_require__(\n    /*! ../internals/to-indexed-object */\n    \"./node_modules/core-js/internals/to-indexed-object.js\");\n\n    var addToUnscopables = __webpack_require__(\n    /*! ../internals/add-to-unscopables */\n    \"./node_modules/core-js/internals/add-to-unscopables.js\");\n\n    var Iterators = __webpack_require__(\n    /*! ../internals/iterators */\n    \"./node_modules/core-js/internals/iterators.js\");\n\n    var InternalStateModule = __webpack_require__(\n    /*! ../internals/internal-state */\n    \"./node_modules/core-js/internals/internal-state.js\");\n\n    var defineIterator = __webpack_require__(\n    /*! ../internals/define-iterator */\n    \"./node_modules/core-js/internals/define-iterator.js\");\n\n    var ARRAY_ITERATOR = 'Array Iterator';\n    var setInternalState = InternalStateModule.set;\n    var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR); // `Array.prototype.entries` method\n    // https://tc39.github.io/ecma262/#sec-array.prototype.entries\n    // `Array.prototype.keys` method\n    // https://tc39.github.io/ecma262/#sec-array.prototype.keys\n    // `Array.prototype.values` method\n    // https://tc39.github.io/ecma262/#sec-array.prototype.values\n    // `Array.prototype[@@iterator]` method\n    // https://tc39.github.io/ecma262/#sec-array.prototype-@@iterator\n    // `CreateArrayIterator` internal method\n    // https://tc39.github.io/ecma262/#sec-createarrayiterator\n\n    module.exports = defineIterator(Array, 'Array', function (iterated, kind) {\n      setInternalState(this, {\n        type: ARRAY_ITERATOR,\n        target: toIndexedObject(iterated),\n        // target\n        index: 0,\n        // next index\n        kind: kind // kind\n\n      }); // `%ArrayIteratorPrototype%.next` method\n      // https://tc39.github.io/ecma262/#sec-%arrayiteratorprototype%.next\n    }, function () {\n      var state = getInternalState(this);\n      var target = state.target;\n      var kind = state.kind;\n      var index = state.index++;\n\n      if (!target || index >= target.length) {\n        state.target = undefined;\n        return {\n          value: undefined,\n          done: true\n        };\n      }\n\n      if (kind == 'keys') return {\n        value: index,\n        done: false\n      };\n      if (kind == 'values') return {\n        value: target[index],\n        done: false\n      };\n      return {\n        value: [index, target[index]],\n        done: false\n      };\n    }, 'values'); // argumentsList[@@iterator] is %ArrayProto_values%\n    // https://tc39.github.io/ecma262/#sec-createunmappedargumentsobject\n    // https://tc39.github.io/ecma262/#sec-createmappedargumentsobject\n\n    Iterators.Arguments = Iterators.Array; // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables\n\n    addToUnscopables('keys');\n    addToUnscopables('values');\n    addToUnscopables('entries');\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.array.join.js\":\n  /*!*******************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.array.join.js ***!\n    \\*******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsArrayJoinJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var IndexedObject = __webpack_require__(\n    /*! ../internals/indexed-object */\n    \"./node_modules/core-js/internals/indexed-object.js\");\n\n    var toIndexedObject = __webpack_require__(\n    /*! ../internals/to-indexed-object */\n    \"./node_modules/core-js/internals/to-indexed-object.js\");\n\n    var sloppyArrayMethod = __webpack_require__(\n    /*! ../internals/sloppy-array-method */\n    \"./node_modules/core-js/internals/sloppy-array-method.js\");\n\n    var nativeJoin = [].join;\n    var ES3_STRINGS = IndexedObject != Object;\n    var SLOPPY_METHOD = sloppyArrayMethod('join', ','); // `Array.prototype.join` method\n    // https://tc39.github.io/ecma262/#sec-array.prototype.join\n\n    $({\n      target: 'Array',\n      proto: true,\n      forced: ES3_STRINGS || SLOPPY_METHOD\n    }, {\n      join: function join(separator) {\n        return nativeJoin.call(toIndexedObject(this), separator === undefined ? ',' : separator);\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.array.last-index-of.js\":\n  /*!****************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.array.last-index-of.js ***!\n    \\****************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsArrayLastIndexOfJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var lastIndexOf = __webpack_require__(\n    /*! ../internals/array-last-index-of */\n    \"./node_modules/core-js/internals/array-last-index-of.js\"); // `Array.prototype.lastIndexOf` method\n    // https://tc39.github.io/ecma262/#sec-array.prototype.lastindexof\n\n\n    $({\n      target: 'Array',\n      proto: true,\n      forced: lastIndexOf !== [].lastIndexOf\n    }, {\n      lastIndexOf: lastIndexOf\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.array.map.js\":\n  /*!******************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.array.map.js ***!\n    \\******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsArrayMapJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var $map = __webpack_require__(\n    /*! ../internals/array-iteration */\n    \"./node_modules/core-js/internals/array-iteration.js\").map;\n\n    var arrayMethodHasSpeciesSupport = __webpack_require__(\n    /*! ../internals/array-method-has-species-support */\n    \"./node_modules/core-js/internals/array-method-has-species-support.js\"); // `Array.prototype.map` method\n    // https://tc39.github.io/ecma262/#sec-array.prototype.map\n    // with adding support of @@species\n\n\n    $({\n      target: 'Array',\n      proto: true,\n      forced: !arrayMethodHasSpeciesSupport('map')\n    }, {\n      map: function map(callbackfn\n      /* , thisArg */\n      ) {\n        return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.array.of.js\":\n  /*!*****************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.array.of.js ***!\n    \\*****************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsArrayOfJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var fails = __webpack_require__(\n    /*! ../internals/fails */\n    \"./node_modules/core-js/internals/fails.js\");\n\n    var createProperty = __webpack_require__(\n    /*! ../internals/create-property */\n    \"./node_modules/core-js/internals/create-property.js\");\n\n    var ISNT_GENERIC = fails(function () {\n      function F() {\n        /* empty */\n      }\n\n      return !(Array.of.call(F) instanceof F);\n    }); // `Array.of` method\n    // https://tc39.github.io/ecma262/#sec-array.of\n    // WebKit Array.of isn't generic\n\n    $({\n      target: 'Array',\n      stat: true,\n      forced: ISNT_GENERIC\n    }, {\n      of: function of()\n      /* ...args */\n      {\n        var index = 0;\n        var argumentsLength = arguments.length;\n        var result = new (typeof this == 'function' ? this : Array)(argumentsLength);\n\n        while (argumentsLength > index) {\n          createProperty(result, index, arguments[index++]);\n        }\n\n        result.length = argumentsLength;\n        return result;\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.array.reduce-right.js\":\n  /*!***************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.array.reduce-right.js ***!\n    \\***************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsArrayReduceRightJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var $reduceRight = __webpack_require__(\n    /*! ../internals/array-reduce */\n    \"./node_modules/core-js/internals/array-reduce.js\").right;\n\n    var sloppyArrayMethod = __webpack_require__(\n    /*! ../internals/sloppy-array-method */\n    \"./node_modules/core-js/internals/sloppy-array-method.js\"); // `Array.prototype.reduceRight` method\n    // https://tc39.github.io/ecma262/#sec-array.prototype.reduceright\n\n\n    $({\n      target: 'Array',\n      proto: true,\n      forced: sloppyArrayMethod('reduceRight')\n    }, {\n      reduceRight: function reduceRight(callbackfn\n      /* , initialValue */\n      ) {\n        return $reduceRight(this, callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined);\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.array.reduce.js\":\n  /*!*********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.array.reduce.js ***!\n    \\*********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsArrayReduceJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var $reduce = __webpack_require__(\n    /*! ../internals/array-reduce */\n    \"./node_modules/core-js/internals/array-reduce.js\").left;\n\n    var sloppyArrayMethod = __webpack_require__(\n    /*! ../internals/sloppy-array-method */\n    \"./node_modules/core-js/internals/sloppy-array-method.js\"); // `Array.prototype.reduce` method\n    // https://tc39.github.io/ecma262/#sec-array.prototype.reduce\n\n\n    $({\n      target: 'Array',\n      proto: true,\n      forced: sloppyArrayMethod('reduce')\n    }, {\n      reduce: function reduce(callbackfn\n      /* , initialValue */\n      ) {\n        return $reduce(this, callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined);\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.array.slice.js\":\n  /*!********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.array.slice.js ***!\n    \\********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsArraySliceJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var isObject = __webpack_require__(\n    /*! ../internals/is-object */\n    \"./node_modules/core-js/internals/is-object.js\");\n\n    var isArray = __webpack_require__(\n    /*! ../internals/is-array */\n    \"./node_modules/core-js/internals/is-array.js\");\n\n    var toAbsoluteIndex = __webpack_require__(\n    /*! ../internals/to-absolute-index */\n    \"./node_modules/core-js/internals/to-absolute-index.js\");\n\n    var toLength = __webpack_require__(\n    /*! ../internals/to-length */\n    \"./node_modules/core-js/internals/to-length.js\");\n\n    var toIndexedObject = __webpack_require__(\n    /*! ../internals/to-indexed-object */\n    \"./node_modules/core-js/internals/to-indexed-object.js\");\n\n    var createProperty = __webpack_require__(\n    /*! ../internals/create-property */\n    \"./node_modules/core-js/internals/create-property.js\");\n\n    var arrayMethodHasSpeciesSupport = __webpack_require__(\n    /*! ../internals/array-method-has-species-support */\n    \"./node_modules/core-js/internals/array-method-has-species-support.js\");\n\n    var wellKnownSymbol = __webpack_require__(\n    /*! ../internals/well-known-symbol */\n    \"./node_modules/core-js/internals/well-known-symbol.js\");\n\n    var SPECIES = wellKnownSymbol('species');\n    var nativeSlice = [].slice;\n    var max = Math.max; // `Array.prototype.slice` method\n    // https://tc39.github.io/ecma262/#sec-array.prototype.slice\n    // fallback for not array-like ES3 strings and DOM objects\n\n    $({\n      target: 'Array',\n      proto: true,\n      forced: !arrayMethodHasSpeciesSupport('slice')\n    }, {\n      slice: function slice(start, end) {\n        var O = toIndexedObject(this);\n        var length = toLength(O.length);\n        var k = toAbsoluteIndex(start, length);\n        var fin = toAbsoluteIndex(end === undefined ? length : end, length); // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible\n\n        var Constructor, result, n;\n\n        if (isArray(O)) {\n          Constructor = O.constructor; // cross-realm fallback\n\n          if (typeof Constructor == 'function' && (Constructor === Array || isArray(Constructor.prototype))) {\n            Constructor = undefined;\n          } else if (isObject(Constructor)) {\n            Constructor = Constructor[SPECIES];\n            if (Constructor === null) Constructor = undefined;\n          }\n\n          if (Constructor === Array || Constructor === undefined) {\n            return nativeSlice.call(O, k, fin);\n          }\n        }\n\n        result = new (Constructor === undefined ? Array : Constructor)(max(fin - k, 0));\n\n        for (n = 0; k < fin; k++, n++) {\n          if (k in O) createProperty(result, n, O[k]);\n        }\n\n        result.length = n;\n        return result;\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.array.some.js\":\n  /*!*******************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.array.some.js ***!\n    \\*******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsArraySomeJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var $some = __webpack_require__(\n    /*! ../internals/array-iteration */\n    \"./node_modules/core-js/internals/array-iteration.js\").some;\n\n    var sloppyArrayMethod = __webpack_require__(\n    /*! ../internals/sloppy-array-method */\n    \"./node_modules/core-js/internals/sloppy-array-method.js\"); // `Array.prototype.some` method\n    // https://tc39.github.io/ecma262/#sec-array.prototype.some\n\n\n    $({\n      target: 'Array',\n      proto: true,\n      forced: sloppyArrayMethod('some')\n    }, {\n      some: function some(callbackfn\n      /* , thisArg */\n      ) {\n        return $some(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.array.sort.js\":\n  /*!*******************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.array.sort.js ***!\n    \\*******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsArraySortJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var aFunction = __webpack_require__(\n    /*! ../internals/a-function */\n    \"./node_modules/core-js/internals/a-function.js\");\n\n    var toObject = __webpack_require__(\n    /*! ../internals/to-object */\n    \"./node_modules/core-js/internals/to-object.js\");\n\n    var fails = __webpack_require__(\n    /*! ../internals/fails */\n    \"./node_modules/core-js/internals/fails.js\");\n\n    var sloppyArrayMethod = __webpack_require__(\n    /*! ../internals/sloppy-array-method */\n    \"./node_modules/core-js/internals/sloppy-array-method.js\");\n\n    var nativeSort = [].sort;\n    var test = [1, 2, 3]; // IE8-\n\n    var FAILS_ON_UNDEFINED = fails(function () {\n      test.sort(undefined);\n    }); // V8 bug\n\n    var FAILS_ON_NULL = fails(function () {\n      test.sort(null);\n    }); // Old WebKit\n\n    var SLOPPY_METHOD = sloppyArrayMethod('sort');\n    var FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || SLOPPY_METHOD; // `Array.prototype.sort` method\n    // https://tc39.github.io/ecma262/#sec-array.prototype.sort\n\n    $({\n      target: 'Array',\n      proto: true,\n      forced: FORCED\n    }, {\n      sort: function sort(comparefn) {\n        return comparefn === undefined ? nativeSort.call(toObject(this)) : nativeSort.call(toObject(this), aFunction(comparefn));\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.array.splice.js\":\n  /*!*********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.array.splice.js ***!\n    \\*********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsArraySpliceJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var toAbsoluteIndex = __webpack_require__(\n    /*! ../internals/to-absolute-index */\n    \"./node_modules/core-js/internals/to-absolute-index.js\");\n\n    var toInteger = __webpack_require__(\n    /*! ../internals/to-integer */\n    \"./node_modules/core-js/internals/to-integer.js\");\n\n    var toLength = __webpack_require__(\n    /*! ../internals/to-length */\n    \"./node_modules/core-js/internals/to-length.js\");\n\n    var toObject = __webpack_require__(\n    /*! ../internals/to-object */\n    \"./node_modules/core-js/internals/to-object.js\");\n\n    var arraySpeciesCreate = __webpack_require__(\n    /*! ../internals/array-species-create */\n    \"./node_modules/core-js/internals/array-species-create.js\");\n\n    var createProperty = __webpack_require__(\n    /*! ../internals/create-property */\n    \"./node_modules/core-js/internals/create-property.js\");\n\n    var arrayMethodHasSpeciesSupport = __webpack_require__(\n    /*! ../internals/array-method-has-species-support */\n    \"./node_modules/core-js/internals/array-method-has-species-support.js\");\n\n    var max = Math.max;\n    var min = Math.min;\n    var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;\n    var MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded'; // `Array.prototype.splice` method\n    // https://tc39.github.io/ecma262/#sec-array.prototype.splice\n    // with adding support of @@species\n\n    $({\n      target: 'Array',\n      proto: true,\n      forced: !arrayMethodHasSpeciesSupport('splice')\n    }, {\n      splice: function splice(start, deleteCount\n      /* , ...items */\n      ) {\n        var O = toObject(this);\n        var len = toLength(O.length);\n        var actualStart = toAbsoluteIndex(start, len);\n        var argumentsLength = arguments.length;\n        var insertCount, actualDeleteCount, A, k, from, to;\n\n        if (argumentsLength === 0) {\n          insertCount = actualDeleteCount = 0;\n        } else if (argumentsLength === 1) {\n          insertCount = 0;\n          actualDeleteCount = len - actualStart;\n        } else {\n          insertCount = argumentsLength - 2;\n          actualDeleteCount = min(max(toInteger(deleteCount), 0), len - actualStart);\n        }\n\n        if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER) {\n          throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED);\n        }\n\n        A = arraySpeciesCreate(O, actualDeleteCount);\n\n        for (k = 0; k < actualDeleteCount; k++) {\n          from = actualStart + k;\n          if (from in O) createProperty(A, k, O[from]);\n        }\n\n        A.length = actualDeleteCount;\n\n        if (insertCount < actualDeleteCount) {\n          for (k = actualStart; k < len - actualDeleteCount; k++) {\n            from = k + actualDeleteCount;\n            to = k + insertCount;\n            if (from in O) O[to] = O[from];else delete O[to];\n          }\n\n          for (k = len; k > len - actualDeleteCount + insertCount; k--) {\n            delete O[k - 1];\n          }\n        } else if (insertCount > actualDeleteCount) {\n          for (k = len - actualDeleteCount; k > actualStart; k--) {\n            from = k + actualDeleteCount - 1;\n            to = k + insertCount - 1;\n            if (from in O) O[to] = O[from];else delete O[to];\n          }\n        }\n\n        for (k = 0; k < insertCount; k++) {\n          O[k + actualStart] = arguments[k + 2];\n        }\n\n        O.length = len - actualDeleteCount + insertCount;\n        return A;\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.date.now.js\":\n  /*!*****************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.date.now.js ***!\n    \\*****************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsDateNowJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\"); // `Date.now` method\n    // https://tc39.github.io/ecma262/#sec-date.now\n\n\n    $({\n      target: 'Date',\n      stat: true\n    }, {\n      now: function now() {\n        return new Date().getTime();\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.date.to-iso-string.js\":\n  /*!***************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.date.to-iso-string.js ***!\n    \\***************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsDateToIsoStringJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var toISOString = __webpack_require__(\n    /*! ../internals/date-to-iso-string */\n    \"./node_modules/core-js/internals/date-to-iso-string.js\"); // `Date.prototype.toISOString` method\n    // https://tc39.github.io/ecma262/#sec-date.prototype.toisostring\n    // PhantomJS / old WebKit has a broken implementations\n\n\n    $({\n      target: 'Date',\n      proto: true,\n      forced: Date.prototype.toISOString !== toISOString\n    }, {\n      toISOString: toISOString\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.date.to-json.js\":\n  /*!*********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.date.to-json.js ***!\n    \\*********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsDateToJsonJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var fails = __webpack_require__(\n    /*! ../internals/fails */\n    \"./node_modules/core-js/internals/fails.js\");\n\n    var toObject = __webpack_require__(\n    /*! ../internals/to-object */\n    \"./node_modules/core-js/internals/to-object.js\");\n\n    var toPrimitive = __webpack_require__(\n    /*! ../internals/to-primitive */\n    \"./node_modules/core-js/internals/to-primitive.js\");\n\n    var FORCED = fails(function () {\n      return new Date(NaN).toJSON() !== null || Date.prototype.toJSON.call({\n        toISOString: function toISOString() {\n          return 1;\n        }\n      }) !== 1;\n    }); // `Date.prototype.toJSON` method\n    // https://tc39.github.io/ecma262/#sec-date.prototype.tojson\n\n    $({\n      target: 'Date',\n      proto: true,\n      forced: FORCED\n    }, {\n      // eslint-disable-next-line no-unused-vars\n      toJSON: function toJSON(key) {\n        var O = toObject(this);\n        var pv = toPrimitive(O);\n        return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString();\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.date.to-primitive.js\":\n  /*!**************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.date.to-primitive.js ***!\n    \\**************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsDateToPrimitiveJs(module, exports, __webpack_require__) {\n    var hide = __webpack_require__(\n    /*! ../internals/hide */\n    \"./node_modules/core-js/internals/hide.js\");\n\n    var dateToPrimitive = __webpack_require__(\n    /*! ../internals/date-to-primitive */\n    \"./node_modules/core-js/internals/date-to-primitive.js\");\n\n    var wellKnownSymbol = __webpack_require__(\n    /*! ../internals/well-known-symbol */\n    \"./node_modules/core-js/internals/well-known-symbol.js\");\n\n    var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n    var DatePrototype = Date.prototype; // `Date.prototype[@@toPrimitive]` method\n    // https://tc39.github.io/ecma262/#sec-date.prototype-@@toprimitive\n\n    if (!(TO_PRIMITIVE in DatePrototype)) hide(DatePrototype, TO_PRIMITIVE, dateToPrimitive);\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.date.to-string.js\":\n  /*!***********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.date.to-string.js ***!\n    \\***********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsDateToStringJs(module, exports, __webpack_require__) {\n    var redefine = __webpack_require__(\n    /*! ../internals/redefine */\n    \"./node_modules/core-js/internals/redefine.js\");\n\n    var DatePrototype = Date.prototype;\n    var INVALID_DATE = 'Invalid Date';\n    var TO_STRING = 'toString';\n    var nativeDateToString = DatePrototype[TO_STRING];\n    var getTime = DatePrototype.getTime; // `Date.prototype.toString` method\n    // https://tc39.github.io/ecma262/#sec-date.prototype.tostring\n\n    if (new Date(NaN) + '' != INVALID_DATE) {\n      redefine(DatePrototype, TO_STRING, function toString() {\n        var value = getTime.call(this); // eslint-disable-next-line no-self-compare\n\n        return value === value ? nativeDateToString.call(this) : INVALID_DATE;\n      });\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.function.bind.js\":\n  /*!**********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.function.bind.js ***!\n    \\**********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsFunctionBindJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var bind = __webpack_require__(\n    /*! ../internals/function-bind */\n    \"./node_modules/core-js/internals/function-bind.js\"); // `Function.prototype.bind` method\n    // https://tc39.github.io/ecma262/#sec-function.prototype.bind\n\n\n    $({\n      target: 'Function',\n      proto: true\n    }, {\n      bind: bind\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.function.has-instance.js\":\n  /*!******************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.function.has-instance.js ***!\n    \\******************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsFunctionHasInstanceJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var isObject = __webpack_require__(\n    /*! ../internals/is-object */\n    \"./node_modules/core-js/internals/is-object.js\");\n\n    var definePropertyModule = __webpack_require__(\n    /*! ../internals/object-define-property */\n    \"./node_modules/core-js/internals/object-define-property.js\");\n\n    var getPrototypeOf = __webpack_require__(\n    /*! ../internals/object-get-prototype-of */\n    \"./node_modules/core-js/internals/object-get-prototype-of.js\");\n\n    var wellKnownSymbol = __webpack_require__(\n    /*! ../internals/well-known-symbol */\n    \"./node_modules/core-js/internals/well-known-symbol.js\");\n\n    var HAS_INSTANCE = wellKnownSymbol('hasInstance');\n    var FunctionPrototype = Function.prototype; // `Function.prototype[@@hasInstance]` method\n    // https://tc39.github.io/ecma262/#sec-function.prototype-@@hasinstance\n\n    if (!(HAS_INSTANCE in FunctionPrototype)) {\n      definePropertyModule.f(FunctionPrototype, HAS_INSTANCE, {\n        value: function value(O) {\n          if (typeof this != 'function' || !isObject(O)) return false;\n          if (!isObject(this.prototype)) return O instanceof this; // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this:\n\n          while (O = getPrototypeOf(O)) {\n            if (this.prototype === O) return true;\n          }\n\n          return false;\n        }\n      });\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.function.name.js\":\n  /*!**********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.function.name.js ***!\n    \\**********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsFunctionNameJs(module, exports, __webpack_require__) {\n    var DESCRIPTORS = __webpack_require__(\n    /*! ../internals/descriptors */\n    \"./node_modules/core-js/internals/descriptors.js\");\n\n    var defineProperty = __webpack_require__(\n    /*! ../internals/object-define-property */\n    \"./node_modules/core-js/internals/object-define-property.js\").f;\n\n    var FunctionPrototype = Function.prototype;\n    var FunctionPrototypeToString = FunctionPrototype.toString;\n    var nameRE = /^\\s*function ([^ (]*)/;\n    var NAME = 'name'; // Function instances `.name` property\n    // https://tc39.github.io/ecma262/#sec-function-instances-name\n\n    if (DESCRIPTORS && !(NAME in FunctionPrototype)) {\n      defineProperty(FunctionPrototype, NAME, {\n        configurable: true,\n        get: function get() {\n          try {\n            return FunctionPrototypeToString.call(this).match(nameRE)[1];\n          } catch (error) {\n            return '';\n          }\n        }\n      });\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.json.to-string-tag.js\":\n  /*!***************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.json.to-string-tag.js ***!\n    \\***************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsJsonToStringTagJs(module, exports, __webpack_require__) {\n    var global = __webpack_require__(\n    /*! ../internals/global */\n    \"./node_modules/core-js/internals/global.js\");\n\n    var setToStringTag = __webpack_require__(\n    /*! ../internals/set-to-string-tag */\n    \"./node_modules/core-js/internals/set-to-string-tag.js\"); // JSON[@@toStringTag] property\n    // https://tc39.github.io/ecma262/#sec-json-@@tostringtag\n\n\n    setToStringTag(global.JSON, 'JSON', true);\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.map.js\":\n  /*!************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.map.js ***!\n    \\************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsMapJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var collection = __webpack_require__(\n    /*! ../internals/collection */\n    \"./node_modules/core-js/internals/collection.js\");\n\n    var collectionStrong = __webpack_require__(\n    /*! ../internals/collection-strong */\n    \"./node_modules/core-js/internals/collection-strong.js\"); // `Map` constructor\n    // https://tc39.github.io/ecma262/#sec-map-objects\n\n\n    module.exports = collection('Map', function (get) {\n      return function Map() {\n        return get(this, arguments.length ? arguments[0] : undefined);\n      };\n    }, collectionStrong, true);\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.math.acosh.js\":\n  /*!*******************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.math.acosh.js ***!\n    \\*******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsMathAcoshJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var log1p = __webpack_require__(\n    /*! ../internals/math-log1p */\n    \"./node_modules/core-js/internals/math-log1p.js\");\n\n    var nativeAcosh = Math.acosh;\n    var log = Math.log;\n    var sqrt = Math.sqrt;\n    var LN2 = Math.LN2;\n    var FORCED = !nativeAcosh // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509\n    || Math.floor(nativeAcosh(Number.MAX_VALUE)) != 710 // Tor Browser bug: Math.acosh(Infinity) -> NaN\n    || nativeAcosh(Infinity) != Infinity; // `Math.acosh` method\n    // https://tc39.github.io/ecma262/#sec-math.acosh\n\n    $({\n      target: 'Math',\n      stat: true,\n      forced: FORCED\n    }, {\n      acosh: function acosh(x) {\n        return (x = +x) < 1 ? NaN : x > 94906265.62425156 ? log(x) + LN2 : log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1));\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.math.asinh.js\":\n  /*!*******************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.math.asinh.js ***!\n    \\*******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsMathAsinhJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var nativeAsinh = Math.asinh;\n    var log = Math.log;\n    var sqrt = Math.sqrt;\n\n    function asinh(x) {\n      return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : log(x + sqrt(x * x + 1));\n    } // `Math.asinh` method\n    // https://tc39.github.io/ecma262/#sec-math.asinh\n    // Tor Browser bug: Math.asinh(0) -> -0\n\n\n    $({\n      target: 'Math',\n      stat: true,\n      forced: !(nativeAsinh && 1 / nativeAsinh(0) > 0)\n    }, {\n      asinh: asinh\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.math.atanh.js\":\n  /*!*******************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.math.atanh.js ***!\n    \\*******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsMathAtanhJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var nativeAtanh = Math.atanh;\n    var log = Math.log; // `Math.atanh` method\n    // https://tc39.github.io/ecma262/#sec-math.atanh\n    // Tor Browser bug: Math.atanh(-0) -> 0\n\n    $({\n      target: 'Math',\n      stat: true,\n      forced: !(nativeAtanh && 1 / nativeAtanh(-0) < 0)\n    }, {\n      atanh: function atanh(x) {\n        return (x = +x) == 0 ? x : log((1 + x) / (1 - x)) / 2;\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.math.cbrt.js\":\n  /*!******************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.math.cbrt.js ***!\n    \\******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsMathCbrtJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var sign = __webpack_require__(\n    /*! ../internals/math-sign */\n    \"./node_modules/core-js/internals/math-sign.js\");\n\n    var abs = Math.abs;\n    var pow = Math.pow; // `Math.cbrt` method\n    // https://tc39.github.io/ecma262/#sec-math.cbrt\n\n    $({\n      target: 'Math',\n      stat: true\n    }, {\n      cbrt: function cbrt(x) {\n        return sign(x = +x) * pow(abs(x), 1 / 3);\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.math.clz32.js\":\n  /*!*******************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.math.clz32.js ***!\n    \\*******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsMathClz32Js(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var floor = Math.floor;\n    var log = Math.log;\n    var LOG2E = Math.LOG2E; // `Math.clz32` method\n    // https://tc39.github.io/ecma262/#sec-math.clz32\n\n    $({\n      target: 'Math',\n      stat: true\n    }, {\n      clz32: function clz32(x) {\n        return (x >>>= 0) ? 31 - floor(log(x + 0.5) * LOG2E) : 32;\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.math.cosh.js\":\n  /*!******************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.math.cosh.js ***!\n    \\******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsMathCoshJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var expm1 = __webpack_require__(\n    /*! ../internals/math-expm1 */\n    \"./node_modules/core-js/internals/math-expm1.js\");\n\n    var nativeCosh = Math.cosh;\n    var abs = Math.abs;\n    var E = Math.E; // `Math.cosh` method\n    // https://tc39.github.io/ecma262/#sec-math.cosh\n\n    $({\n      target: 'Math',\n      stat: true,\n      forced: !nativeCosh || nativeCosh(710) === Infinity\n    }, {\n      cosh: function cosh(x) {\n        var t = expm1(abs(x) - 1) + 1;\n        return (t + 1 / (t * E * E)) * (E / 2);\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.math.expm1.js\":\n  /*!*******************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.math.expm1.js ***!\n    \\*******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsMathExpm1Js(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var expm1 = __webpack_require__(\n    /*! ../internals/math-expm1 */\n    \"./node_modules/core-js/internals/math-expm1.js\"); // `Math.expm1` method\n    // https://tc39.github.io/ecma262/#sec-math.expm1\n\n\n    $({\n      target: 'Math',\n      stat: true,\n      forced: expm1 != Math.expm1\n    }, {\n      expm1: expm1\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.math.fround.js\":\n  /*!********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.math.fround.js ***!\n    \\********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsMathFroundJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var fround = __webpack_require__(\n    /*! ../internals/math-fround */\n    \"./node_modules/core-js/internals/math-fround.js\"); // `Math.fround` method\n    // https://tc39.github.io/ecma262/#sec-math.fround\n\n\n    $({\n      target: 'Math',\n      stat: true\n    }, {\n      fround: fround\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.math.hypot.js\":\n  /*!*******************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.math.hypot.js ***!\n    \\*******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsMathHypotJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var $hypot = Math.hypot;\n    var abs = Math.abs;\n    var sqrt = Math.sqrt; // Chrome 77 bug\n    // https://bugs.chromium.org/p/v8/issues/detail?id=9546\n\n    var BUGGY = !!$hypot && $hypot(Infinity, NaN) !== Infinity; // `Math.hypot` method\n    // https://tc39.github.io/ecma262/#sec-math.hypot\n\n    $({\n      target: 'Math',\n      stat: true,\n      forced: BUGGY\n    }, {\n      hypot: function hypot(value1, value2) {\n        // eslint-disable-line no-unused-vars\n        var sum = 0;\n        var i = 0;\n        var aLen = arguments.length;\n        var larg = 0;\n        var arg, div;\n\n        while (i < aLen) {\n          arg = abs(arguments[i++]);\n\n          if (larg < arg) {\n            div = larg / arg;\n            sum = sum * div * div + 1;\n            larg = arg;\n          } else if (arg > 0) {\n            div = arg / larg;\n            sum += div * div;\n          } else sum += arg;\n        }\n\n        return larg === Infinity ? Infinity : larg * sqrt(sum);\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.math.imul.js\":\n  /*!******************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.math.imul.js ***!\n    \\******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsMathImulJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var fails = __webpack_require__(\n    /*! ../internals/fails */\n    \"./node_modules/core-js/internals/fails.js\");\n\n    var nativeImul = Math.imul;\n    var FORCED = fails(function () {\n      return nativeImul(0xFFFFFFFF, 5) != -5 || nativeImul.length != 2;\n    }); // `Math.imul` method\n    // https://tc39.github.io/ecma262/#sec-math.imul\n    // some WebKit versions fails with big numbers, some has wrong arity\n\n    $({\n      target: 'Math',\n      stat: true,\n      forced: FORCED\n    }, {\n      imul: function imul(x, y) {\n        var UINT16 = 0xFFFF;\n        var xn = +x;\n        var yn = +y;\n        var xl = UINT16 & xn;\n        var yl = UINT16 & yn;\n        return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0);\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.math.log10.js\":\n  /*!*******************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.math.log10.js ***!\n    \\*******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsMathLog10Js(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var log = Math.log;\n    var LOG10E = Math.LOG10E; // `Math.log10` method\n    // https://tc39.github.io/ecma262/#sec-math.log10\n\n    $({\n      target: 'Math',\n      stat: true\n    }, {\n      log10: function log10(x) {\n        return log(x) * LOG10E;\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.math.log1p.js\":\n  /*!*******************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.math.log1p.js ***!\n    \\*******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsMathLog1pJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var log1p = __webpack_require__(\n    /*! ../internals/math-log1p */\n    \"./node_modules/core-js/internals/math-log1p.js\"); // `Math.log1p` method\n    // https://tc39.github.io/ecma262/#sec-math.log1p\n\n\n    $({\n      target: 'Math',\n      stat: true\n    }, {\n      log1p: log1p\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.math.log2.js\":\n  /*!******************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.math.log2.js ***!\n    \\******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsMathLog2Js(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var log = Math.log;\n    var LN2 = Math.LN2; // `Math.log2` method\n    // https://tc39.github.io/ecma262/#sec-math.log2\n\n    $({\n      target: 'Math',\n      stat: true\n    }, {\n      log2: function log2(x) {\n        return log(x) / LN2;\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.math.sign.js\":\n  /*!******************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.math.sign.js ***!\n    \\******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsMathSignJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var sign = __webpack_require__(\n    /*! ../internals/math-sign */\n    \"./node_modules/core-js/internals/math-sign.js\"); // `Math.sign` method\n    // https://tc39.github.io/ecma262/#sec-math.sign\n\n\n    $({\n      target: 'Math',\n      stat: true\n    }, {\n      sign: sign\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.math.sinh.js\":\n  /*!******************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.math.sinh.js ***!\n    \\******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsMathSinhJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var fails = __webpack_require__(\n    /*! ../internals/fails */\n    \"./node_modules/core-js/internals/fails.js\");\n\n    var expm1 = __webpack_require__(\n    /*! ../internals/math-expm1 */\n    \"./node_modules/core-js/internals/math-expm1.js\");\n\n    var abs = Math.abs;\n    var exp = Math.exp;\n    var E = Math.E;\n    var FORCED = fails(function () {\n      return Math.sinh(-2e-17) != -2e-17;\n    }); // `Math.sinh` method\n    // https://tc39.github.io/ecma262/#sec-math.sinh\n    // V8 near Chromium 38 has a problem with very small numbers\n\n    $({\n      target: 'Math',\n      stat: true,\n      forced: FORCED\n    }, {\n      sinh: function sinh(x) {\n        return abs(x = +x) < 1 ? (expm1(x) - expm1(-x)) / 2 : (exp(x - 1) - exp(-x - 1)) * (E / 2);\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.math.tanh.js\":\n  /*!******************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.math.tanh.js ***!\n    \\******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsMathTanhJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var expm1 = __webpack_require__(\n    /*! ../internals/math-expm1 */\n    \"./node_modules/core-js/internals/math-expm1.js\");\n\n    var exp = Math.exp; // `Math.tanh` method\n    // https://tc39.github.io/ecma262/#sec-math.tanh\n\n    $({\n      target: 'Math',\n      stat: true\n    }, {\n      tanh: function tanh(x) {\n        var a = expm1(x = +x);\n        var b = expm1(-x);\n        return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x));\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.math.to-string-tag.js\":\n  /*!***************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.math.to-string-tag.js ***!\n    \\***************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsMathToStringTagJs(module, exports, __webpack_require__) {\n    var setToStringTag = __webpack_require__(\n    /*! ../internals/set-to-string-tag */\n    \"./node_modules/core-js/internals/set-to-string-tag.js\"); // Math[@@toStringTag] property\n    // https://tc39.github.io/ecma262/#sec-math-@@tostringtag\n\n\n    setToStringTag(Math, 'Math', true);\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.math.trunc.js\":\n  /*!*******************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.math.trunc.js ***!\n    \\*******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsMathTruncJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var ceil = Math.ceil;\n    var floor = Math.floor; // `Math.trunc` method\n    // https://tc39.github.io/ecma262/#sec-math.trunc\n\n    $({\n      target: 'Math',\n      stat: true\n    }, {\n      trunc: function trunc(it) {\n        return (it > 0 ? floor : ceil)(it);\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.number.constructor.js\":\n  /*!***************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.number.constructor.js ***!\n    \\***************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsNumberConstructorJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var DESCRIPTORS = __webpack_require__(\n    /*! ../internals/descriptors */\n    \"./node_modules/core-js/internals/descriptors.js\");\n\n    var global = __webpack_require__(\n    /*! ../internals/global */\n    \"./node_modules/core-js/internals/global.js\");\n\n    var isForced = __webpack_require__(\n    /*! ../internals/is-forced */\n    \"./node_modules/core-js/internals/is-forced.js\");\n\n    var redefine = __webpack_require__(\n    /*! ../internals/redefine */\n    \"./node_modules/core-js/internals/redefine.js\");\n\n    var has = __webpack_require__(\n    /*! ../internals/has */\n    \"./node_modules/core-js/internals/has.js\");\n\n    var classof = __webpack_require__(\n    /*! ../internals/classof-raw */\n    \"./node_modules/core-js/internals/classof-raw.js\");\n\n    var inheritIfRequired = __webpack_require__(\n    /*! ../internals/inherit-if-required */\n    \"./node_modules/core-js/internals/inherit-if-required.js\");\n\n    var toPrimitive = __webpack_require__(\n    /*! ../internals/to-primitive */\n    \"./node_modules/core-js/internals/to-primitive.js\");\n\n    var fails = __webpack_require__(\n    /*! ../internals/fails */\n    \"./node_modules/core-js/internals/fails.js\");\n\n    var create = __webpack_require__(\n    /*! ../internals/object-create */\n    \"./node_modules/core-js/internals/object-create.js\");\n\n    var getOwnPropertyNames = __webpack_require__(\n    /*! ../internals/object-get-own-property-names */\n    \"./node_modules/core-js/internals/object-get-own-property-names.js\").f;\n\n    var getOwnPropertyDescriptor = __webpack_require__(\n    /*! ../internals/object-get-own-property-descriptor */\n    \"./node_modules/core-js/internals/object-get-own-property-descriptor.js\").f;\n\n    var defineProperty = __webpack_require__(\n    /*! ../internals/object-define-property */\n    \"./node_modules/core-js/internals/object-define-property.js\").f;\n\n    var trim = __webpack_require__(\n    /*! ../internals/string-trim */\n    \"./node_modules/core-js/internals/string-trim.js\").trim;\n\n    var NUMBER = 'Number';\n    var NativeNumber = global[NUMBER];\n    var NumberPrototype = NativeNumber.prototype; // Opera ~12 has broken Object#toString\n\n    var BROKEN_CLASSOF = classof(create(NumberPrototype)) == NUMBER; // `ToNumber` abstract operation\n    // https://tc39.github.io/ecma262/#sec-tonumber\n\n    var toNumber = function toNumber(argument) {\n      var it = toPrimitive(argument, false);\n      var first, third, radix, maxCode, digits, length, index, code;\n\n      if (typeof it == 'string' && it.length > 2) {\n        it = trim(it);\n        first = it.charCodeAt(0);\n\n        if (first === 43 || first === 45) {\n          third = it.charCodeAt(2);\n          if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix\n        } else if (first === 48) {\n          switch (it.charCodeAt(1)) {\n            case 66:\n            case 98:\n              radix = 2;\n              maxCode = 49;\n              break;\n            // fast equal of /^0b[01]+$/i\n\n            case 79:\n            case 111:\n              radix = 8;\n              maxCode = 55;\n              break;\n            // fast equal of /^0o[0-7]+$/i\n\n            default:\n              return +it;\n          }\n\n          digits = it.slice(2);\n          length = digits.length;\n\n          for (index = 0; index < length; index++) {\n            code = digits.charCodeAt(index); // parseInt parses a string to a first unavailable symbol\n            // but ToNumber should return NaN if a string contains unavailable symbols\n\n            if (code < 48 || code > maxCode) return NaN;\n          }\n\n          return parseInt(digits, radix);\n        }\n      }\n\n      return +it;\n    }; // `Number` constructor\n    // https://tc39.github.io/ecma262/#sec-number-constructor\n\n\n    if (isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'))) {\n      var NumberWrapper = function Number(value) {\n        var it = arguments.length < 1 ? 0 : value;\n        var dummy = this;\n        return dummy instanceof NumberWrapper // check on 1..constructor(foo) case\n        && (BROKEN_CLASSOF ? fails(function () {\n          NumberPrototype.valueOf.call(dummy);\n        }) : classof(dummy) != NUMBER) ? inheritIfRequired(new NativeNumber(toNumber(it)), dummy, NumberWrapper) : toNumber(it);\n      };\n\n      for (var keys = DESCRIPTORS ? getOwnPropertyNames(NativeNumber) : ( // ES3:\n      'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' + // ES2015 (in case, if modules with ES2015 Number statics required before):\n      'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' + 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger').split(','), j = 0, key; keys.length > j; j++) {\n        if (has(NativeNumber, key = keys[j]) && !has(NumberWrapper, key)) {\n          defineProperty(NumberWrapper, key, getOwnPropertyDescriptor(NativeNumber, key));\n        }\n      }\n\n      NumberWrapper.prototype = NumberPrototype;\n      NumberPrototype.constructor = NumberWrapper;\n      redefine(global, NUMBER, NumberWrapper);\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.number.epsilon.js\":\n  /*!***********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.number.epsilon.js ***!\n    \\***********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsNumberEpsilonJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\"); // `Number.EPSILON` constant\n    // https://tc39.github.io/ecma262/#sec-number.epsilon\n\n\n    $({\n      target: 'Number',\n      stat: true\n    }, {\n      EPSILON: Math.pow(2, -52)\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.number.is-finite.js\":\n  /*!*************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.number.is-finite.js ***!\n    \\*************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsNumberIsFiniteJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var numberIsFinite = __webpack_require__(\n    /*! ../internals/number-is-finite */\n    \"./node_modules/core-js/internals/number-is-finite.js\"); // `Number.isFinite` method\n    // https://tc39.github.io/ecma262/#sec-number.isfinite\n\n\n    $({\n      target: 'Number',\n      stat: true\n    }, {\n      isFinite: numberIsFinite\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.number.is-integer.js\":\n  /*!**************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.number.is-integer.js ***!\n    \\**************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsNumberIsIntegerJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var isInteger = __webpack_require__(\n    /*! ../internals/is-integer */\n    \"./node_modules/core-js/internals/is-integer.js\"); // `Number.isInteger` method\n    // https://tc39.github.io/ecma262/#sec-number.isinteger\n\n\n    $({\n      target: 'Number',\n      stat: true\n    }, {\n      isInteger: isInteger\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.number.is-nan.js\":\n  /*!**********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.number.is-nan.js ***!\n    \\**********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsNumberIsNanJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\"); // `Number.isNaN` method\n    // https://tc39.github.io/ecma262/#sec-number.isnan\n\n\n    $({\n      target: 'Number',\n      stat: true\n    }, {\n      isNaN: function isNaN(number) {\n        // eslint-disable-next-line no-self-compare\n        return number != number;\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.number.is-safe-integer.js\":\n  /*!*******************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.number.is-safe-integer.js ***!\n    \\*******************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsNumberIsSafeIntegerJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var isInteger = __webpack_require__(\n    /*! ../internals/is-integer */\n    \"./node_modules/core-js/internals/is-integer.js\");\n\n    var abs = Math.abs; // `Number.isSafeInteger` method\n    // https://tc39.github.io/ecma262/#sec-number.issafeinteger\n\n    $({\n      target: 'Number',\n      stat: true\n    }, {\n      isSafeInteger: function isSafeInteger(number) {\n        return isInteger(number) && abs(number) <= 0x1FFFFFFFFFFFFF;\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.number.max-safe-integer.js\":\n  /*!********************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.number.max-safe-integer.js ***!\n    \\********************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsNumberMaxSafeIntegerJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\"); // `Number.MAX_SAFE_INTEGER` constant\n    // https://tc39.github.io/ecma262/#sec-number.max_safe_integer\n\n\n    $({\n      target: 'Number',\n      stat: true\n    }, {\n      MAX_SAFE_INTEGER: 0x1FFFFFFFFFFFFF\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.number.min-safe-integer.js\":\n  /*!********************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.number.min-safe-integer.js ***!\n    \\********************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsNumberMinSafeIntegerJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\"); // `Number.MIN_SAFE_INTEGER` constant\n    // https://tc39.github.io/ecma262/#sec-number.min_safe_integer\n\n\n    $({\n      target: 'Number',\n      stat: true\n    }, {\n      MIN_SAFE_INTEGER: -0x1FFFFFFFFFFFFF\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.number.parse-float.js\":\n  /*!***************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.number.parse-float.js ***!\n    \\***************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsNumberParseFloatJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var parseFloat = __webpack_require__(\n    /*! ../internals/parse-float */\n    \"./node_modules/core-js/internals/parse-float.js\"); // `Number.parseFloat` method\n    // https://tc39.github.io/ecma262/#sec-number.parseFloat\n\n\n    $({\n      target: 'Number',\n      stat: true,\n      forced: Number.parseFloat != parseFloat\n    }, {\n      parseFloat: parseFloat\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.number.parse-int.js\":\n  /*!*************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.number.parse-int.js ***!\n    \\*************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsNumberParseIntJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var parseInt = __webpack_require__(\n    /*! ../internals/parse-int */\n    \"./node_modules/core-js/internals/parse-int.js\"); // `Number.parseInt` method\n    // https://tc39.github.io/ecma262/#sec-number.parseint\n\n\n    $({\n      target: 'Number',\n      stat: true,\n      forced: Number.parseInt != parseInt\n    }, {\n      parseInt: parseInt\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.number.to-fixed.js\":\n  /*!************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.number.to-fixed.js ***!\n    \\************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsNumberToFixedJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var toInteger = __webpack_require__(\n    /*! ../internals/to-integer */\n    \"./node_modules/core-js/internals/to-integer.js\");\n\n    var thisNumberValue = __webpack_require__(\n    /*! ../internals/this-number-value */\n    \"./node_modules/core-js/internals/this-number-value.js\");\n\n    var repeat = __webpack_require__(\n    /*! ../internals/string-repeat */\n    \"./node_modules/core-js/internals/string-repeat.js\");\n\n    var fails = __webpack_require__(\n    /*! ../internals/fails */\n    \"./node_modules/core-js/internals/fails.js\");\n\n    var nativeToFixed = 1.0.toFixed;\n    var floor = Math.floor;\n\n    var pow = function pow(x, n, acc) {\n      return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);\n    };\n\n    var log = function log(x) {\n      var n = 0;\n      var x2 = x;\n\n      while (x2 >= 4096) {\n        n += 12;\n        x2 /= 4096;\n      }\n\n      while (x2 >= 2) {\n        n += 1;\n        x2 /= 2;\n      }\n\n      return n;\n    };\n\n    var FORCED = nativeToFixed && (0.00008.toFixed(3) !== '0.000' || 0.9.toFixed(0) !== '1' || 1.255.toFixed(2) !== '1.25' || 1000000000000000128.0.toFixed(0) !== '1000000000000000128') || !fails(function () {\n      // V8 ~ Android 4.3-\n      nativeToFixed.call({});\n    }); // `Number.prototype.toFixed` method\n    // https://tc39.github.io/ecma262/#sec-number.prototype.tofixed\n\n    $({\n      target: 'Number',\n      proto: true,\n      forced: FORCED\n    }, {\n      // eslint-disable-next-line max-statements\n      toFixed: function toFixed(fractionDigits) {\n        var number = thisNumberValue(this);\n        var fractDigits = toInteger(fractionDigits);\n        var data = [0, 0, 0, 0, 0, 0];\n        var sign = '';\n        var result = '0';\n        var e, z, j, k;\n\n        var multiply = function multiply(n, c) {\n          var index = -1;\n          var c2 = c;\n\n          while (++index < 6) {\n            c2 += n * data[index];\n            data[index] = c2 % 1e7;\n            c2 = floor(c2 / 1e7);\n          }\n        };\n\n        var divide = function divide(n) {\n          var index = 6;\n          var c = 0;\n\n          while (--index >= 0) {\n            c += data[index];\n            data[index] = floor(c / n);\n            c = c % n * 1e7;\n          }\n        };\n\n        var dataToString = function dataToString() {\n          var index = 6;\n          var s = '';\n\n          while (--index >= 0) {\n            if (s !== '' || index === 0 || data[index] !== 0) {\n              var t = String(data[index]);\n              s = s === '' ? t : s + repeat.call('0', 7 - t.length) + t;\n            }\n          }\n\n          return s;\n        };\n\n        if (fractDigits < 0 || fractDigits > 20) throw RangeError('Incorrect fraction digits'); // eslint-disable-next-line no-self-compare\n\n        if (number != number) return 'NaN';\n        if (number <= -1e21 || number >= 1e21) return String(number);\n\n        if (number < 0) {\n          sign = '-';\n          number = -number;\n        }\n\n        if (number > 1e-21) {\n          e = log(number * pow(2, 69, 1)) - 69;\n          z = e < 0 ? number * pow(2, -e, 1) : number / pow(2, e, 1);\n          z *= 0x10000000000000;\n          e = 52 - e;\n\n          if (e > 0) {\n            multiply(0, z);\n            j = fractDigits;\n\n            while (j >= 7) {\n              multiply(1e7, 0);\n              j -= 7;\n            }\n\n            multiply(pow(10, j, 1), 0);\n            j = e - 1;\n\n            while (j >= 23) {\n              divide(1 << 23);\n              j -= 23;\n            }\n\n            divide(1 << j);\n            multiply(1, 1);\n            divide(2);\n            result = dataToString();\n          } else {\n            multiply(0, z);\n            multiply(1 << -e, 0);\n            result = dataToString() + repeat.call('0', fractDigits);\n          }\n        }\n\n        if (fractDigits > 0) {\n          k = result.length;\n          result = sign + (k <= fractDigits ? '0.' + repeat.call('0', fractDigits - k) + result : result.slice(0, k - fractDigits) + '.' + result.slice(k - fractDigits));\n        } else {\n          result = sign + result;\n        }\n\n        return result;\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.number.to-precision.js\":\n  /*!****************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.number.to-precision.js ***!\n    \\****************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsNumberToPrecisionJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var fails = __webpack_require__(\n    /*! ../internals/fails */\n    \"./node_modules/core-js/internals/fails.js\");\n\n    var thisNumberValue = __webpack_require__(\n    /*! ../internals/this-number-value */\n    \"./node_modules/core-js/internals/this-number-value.js\");\n\n    var nativeToPrecision = 1.0.toPrecision;\n    var FORCED = fails(function () {\n      // IE7-\n      return nativeToPrecision.call(1, undefined) !== '1';\n    }) || !fails(function () {\n      // V8 ~ Android 4.3-\n      nativeToPrecision.call({});\n    }); // `Number.prototype.toPrecision` method\n    // https://tc39.github.io/ecma262/#sec-number.prototype.toprecision\n\n    $({\n      target: 'Number',\n      proto: true,\n      forced: FORCED\n    }, {\n      toPrecision: function toPrecision(precision) {\n        return precision === undefined ? nativeToPrecision.call(thisNumberValue(this)) : nativeToPrecision.call(thisNumberValue(this), precision);\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.object.assign.js\":\n  /*!**********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.object.assign.js ***!\n    \\**********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsObjectAssignJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var assign = __webpack_require__(\n    /*! ../internals/object-assign */\n    \"./node_modules/core-js/internals/object-assign.js\"); // `Object.assign` method\n    // https://tc39.github.io/ecma262/#sec-object.assign\n\n\n    $({\n      target: 'Object',\n      stat: true,\n      forced: Object.assign !== assign\n    }, {\n      assign: assign\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.object.create.js\":\n  /*!**********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.object.create.js ***!\n    \\**********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsObjectCreateJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var DESCRIPTORS = __webpack_require__(\n    /*! ../internals/descriptors */\n    \"./node_modules/core-js/internals/descriptors.js\");\n\n    var create = __webpack_require__(\n    /*! ../internals/object-create */\n    \"./node_modules/core-js/internals/object-create.js\"); // `Object.create` method\n    // https://tc39.github.io/ecma262/#sec-object.create\n\n\n    $({\n      target: 'Object',\n      stat: true,\n      sham: !DESCRIPTORS\n    }, {\n      create: create\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.object.define-properties.js\":\n  /*!*********************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.object.define-properties.js ***!\n    \\*********************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsObjectDefinePropertiesJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var DESCRIPTORS = __webpack_require__(\n    /*! ../internals/descriptors */\n    \"./node_modules/core-js/internals/descriptors.js\");\n\n    var defineProperties = __webpack_require__(\n    /*! ../internals/object-define-properties */\n    \"./node_modules/core-js/internals/object-define-properties.js\"); // `Object.defineProperties` method\n    // https://tc39.github.io/ecma262/#sec-object.defineproperties\n\n\n    $({\n      target: 'Object',\n      stat: true,\n      forced: !DESCRIPTORS,\n      sham: !DESCRIPTORS\n    }, {\n      defineProperties: defineProperties\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.object.define-property.js\":\n  /*!*******************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.object.define-property.js ***!\n    \\*******************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsObjectDefinePropertyJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var DESCRIPTORS = __webpack_require__(\n    /*! ../internals/descriptors */\n    \"./node_modules/core-js/internals/descriptors.js\");\n\n    var objectDefinePropertyModile = __webpack_require__(\n    /*! ../internals/object-define-property */\n    \"./node_modules/core-js/internals/object-define-property.js\"); // `Object.defineProperty` method\n    // https://tc39.github.io/ecma262/#sec-object.defineproperty\n\n\n    $({\n      target: 'Object',\n      stat: true,\n      forced: !DESCRIPTORS,\n      sham: !DESCRIPTORS\n    }, {\n      defineProperty: objectDefinePropertyModile.f\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.object.freeze.js\":\n  /*!**********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.object.freeze.js ***!\n    \\**********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsObjectFreezeJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var FREEZING = __webpack_require__(\n    /*! ../internals/freezing */\n    \"./node_modules/core-js/internals/freezing.js\");\n\n    var fails = __webpack_require__(\n    /*! ../internals/fails */\n    \"./node_modules/core-js/internals/fails.js\");\n\n    var isObject = __webpack_require__(\n    /*! ../internals/is-object */\n    \"./node_modules/core-js/internals/is-object.js\");\n\n    var onFreeze = __webpack_require__(\n    /*! ../internals/internal-metadata */\n    \"./node_modules/core-js/internals/internal-metadata.js\").onFreeze;\n\n    var nativeFreeze = Object.freeze;\n    var FAILS_ON_PRIMITIVES = fails(function () {\n      nativeFreeze(1);\n    }); // `Object.freeze` method\n    // https://tc39.github.io/ecma262/#sec-object.freeze\n\n    $({\n      target: 'Object',\n      stat: true,\n      forced: FAILS_ON_PRIMITIVES,\n      sham: !FREEZING\n    }, {\n      freeze: function freeze(it) {\n        return nativeFreeze && isObject(it) ? nativeFreeze(onFreeze(it)) : it;\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.object.get-own-property-descriptor.js\":\n  /*!*******************************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.object.get-own-property-descriptor.js ***!\n    \\*******************************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsObjectGetOwnPropertyDescriptorJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var fails = __webpack_require__(\n    /*! ../internals/fails */\n    \"./node_modules/core-js/internals/fails.js\");\n\n    var toIndexedObject = __webpack_require__(\n    /*! ../internals/to-indexed-object */\n    \"./node_modules/core-js/internals/to-indexed-object.js\");\n\n    var nativeGetOwnPropertyDescriptor = __webpack_require__(\n    /*! ../internals/object-get-own-property-descriptor */\n    \"./node_modules/core-js/internals/object-get-own-property-descriptor.js\").f;\n\n    var DESCRIPTORS = __webpack_require__(\n    /*! ../internals/descriptors */\n    \"./node_modules/core-js/internals/descriptors.js\");\n\n    var FAILS_ON_PRIMITIVES = fails(function () {\n      nativeGetOwnPropertyDescriptor(1);\n    });\n    var FORCED = !DESCRIPTORS || FAILS_ON_PRIMITIVES; // `Object.getOwnPropertyDescriptor` method\n    // https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptor\n\n    $({\n      target: 'Object',\n      stat: true,\n      forced: FORCED,\n      sham: !DESCRIPTORS\n    }, {\n      getOwnPropertyDescriptor: function getOwnPropertyDescriptor(it, key) {\n        return nativeGetOwnPropertyDescriptor(toIndexedObject(it), key);\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.object.get-own-property-names.js\":\n  /*!**************************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.object.get-own-property-names.js ***!\n    \\**************************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsObjectGetOwnPropertyNamesJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var fails = __webpack_require__(\n    /*! ../internals/fails */\n    \"./node_modules/core-js/internals/fails.js\");\n\n    var nativeGetOwnPropertyNames = __webpack_require__(\n    /*! ../internals/object-get-own-property-names-external */\n    \"./node_modules/core-js/internals/object-get-own-property-names-external.js\").f;\n\n    var FAILS_ON_PRIMITIVES = fails(function () {\n      return !Object.getOwnPropertyNames(1);\n    }); // `Object.getOwnPropertyNames` method\n    // https://tc39.github.io/ecma262/#sec-object.getownpropertynames\n\n    $({\n      target: 'Object',\n      stat: true,\n      forced: FAILS_ON_PRIMITIVES\n    }, {\n      getOwnPropertyNames: nativeGetOwnPropertyNames\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.object.get-prototype-of.js\":\n  /*!********************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.object.get-prototype-of.js ***!\n    \\********************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsObjectGetPrototypeOfJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var fails = __webpack_require__(\n    /*! ../internals/fails */\n    \"./node_modules/core-js/internals/fails.js\");\n\n    var toObject = __webpack_require__(\n    /*! ../internals/to-object */\n    \"./node_modules/core-js/internals/to-object.js\");\n\n    var nativeGetPrototypeOf = __webpack_require__(\n    /*! ../internals/object-get-prototype-of */\n    \"./node_modules/core-js/internals/object-get-prototype-of.js\");\n\n    var CORRECT_PROTOTYPE_GETTER = __webpack_require__(\n    /*! ../internals/correct-prototype-getter */\n    \"./node_modules/core-js/internals/correct-prototype-getter.js\");\n\n    var FAILS_ON_PRIMITIVES = fails(function () {\n      nativeGetPrototypeOf(1);\n    }); // `Object.getPrototypeOf` method\n    // https://tc39.github.io/ecma262/#sec-object.getprototypeof\n\n    $({\n      target: 'Object',\n      stat: true,\n      forced: FAILS_ON_PRIMITIVES,\n      sham: !CORRECT_PROTOTYPE_GETTER\n    }, {\n      getPrototypeOf: function getPrototypeOf(it) {\n        return nativeGetPrototypeOf(toObject(it));\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.object.is-extensible.js\":\n  /*!*****************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.object.is-extensible.js ***!\n    \\*****************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsObjectIsExtensibleJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var fails = __webpack_require__(\n    /*! ../internals/fails */\n    \"./node_modules/core-js/internals/fails.js\");\n\n    var isObject = __webpack_require__(\n    /*! ../internals/is-object */\n    \"./node_modules/core-js/internals/is-object.js\");\n\n    var nativeIsExtensible = Object.isExtensible;\n    var FAILS_ON_PRIMITIVES = fails(function () {\n      nativeIsExtensible(1);\n    }); // `Object.isExtensible` method\n    // https://tc39.github.io/ecma262/#sec-object.isextensible\n\n    $({\n      target: 'Object',\n      stat: true,\n      forced: FAILS_ON_PRIMITIVES\n    }, {\n      isExtensible: function isExtensible(it) {\n        return isObject(it) ? nativeIsExtensible ? nativeIsExtensible(it) : true : false;\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.object.is-frozen.js\":\n  /*!*************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.object.is-frozen.js ***!\n    \\*************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsObjectIsFrozenJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var fails = __webpack_require__(\n    /*! ../internals/fails */\n    \"./node_modules/core-js/internals/fails.js\");\n\n    var isObject = __webpack_require__(\n    /*! ../internals/is-object */\n    \"./node_modules/core-js/internals/is-object.js\");\n\n    var nativeIsFrozen = Object.isFrozen;\n    var FAILS_ON_PRIMITIVES = fails(function () {\n      nativeIsFrozen(1);\n    }); // `Object.isFrozen` method\n    // https://tc39.github.io/ecma262/#sec-object.isfrozen\n\n    $({\n      target: 'Object',\n      stat: true,\n      forced: FAILS_ON_PRIMITIVES\n    }, {\n      isFrozen: function isFrozen(it) {\n        return isObject(it) ? nativeIsFrozen ? nativeIsFrozen(it) : false : true;\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.object.is-sealed.js\":\n  /*!*************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.object.is-sealed.js ***!\n    \\*************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsObjectIsSealedJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var fails = __webpack_require__(\n    /*! ../internals/fails */\n    \"./node_modules/core-js/internals/fails.js\");\n\n    var isObject = __webpack_require__(\n    /*! ../internals/is-object */\n    \"./node_modules/core-js/internals/is-object.js\");\n\n    var nativeIsSealed = Object.isSealed;\n    var FAILS_ON_PRIMITIVES = fails(function () {\n      nativeIsSealed(1);\n    }); // `Object.isSealed` method\n    // https://tc39.github.io/ecma262/#sec-object.issealed\n\n    $({\n      target: 'Object',\n      stat: true,\n      forced: FAILS_ON_PRIMITIVES\n    }, {\n      isSealed: function isSealed(it) {\n        return isObject(it) ? nativeIsSealed ? nativeIsSealed(it) : false : true;\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.object.is.js\":\n  /*!******************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.object.is.js ***!\n    \\******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsObjectIsJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var is = __webpack_require__(\n    /*! ../internals/same-value */\n    \"./node_modules/core-js/internals/same-value.js\"); // `Object.is` method\n    // https://tc39.github.io/ecma262/#sec-object.is\n\n\n    $({\n      target: 'Object',\n      stat: true\n    }, {\n      is: is\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.object.keys.js\":\n  /*!********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.object.keys.js ***!\n    \\********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsObjectKeysJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var toObject = __webpack_require__(\n    /*! ../internals/to-object */\n    \"./node_modules/core-js/internals/to-object.js\");\n\n    var nativeKeys = __webpack_require__(\n    /*! ../internals/object-keys */\n    \"./node_modules/core-js/internals/object-keys.js\");\n\n    var fails = __webpack_require__(\n    /*! ../internals/fails */\n    \"./node_modules/core-js/internals/fails.js\");\n\n    var FAILS_ON_PRIMITIVES = fails(function () {\n      nativeKeys(1);\n    }); // `Object.keys` method\n    // https://tc39.github.io/ecma262/#sec-object.keys\n\n    $({\n      target: 'Object',\n      stat: true,\n      forced: FAILS_ON_PRIMITIVES\n    }, {\n      keys: function keys(it) {\n        return nativeKeys(toObject(it));\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.object.prevent-extensions.js\":\n  /*!**********************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.object.prevent-extensions.js ***!\n    \\**********************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsObjectPreventExtensionsJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var isObject = __webpack_require__(\n    /*! ../internals/is-object */\n    \"./node_modules/core-js/internals/is-object.js\");\n\n    var onFreeze = __webpack_require__(\n    /*! ../internals/internal-metadata */\n    \"./node_modules/core-js/internals/internal-metadata.js\").onFreeze;\n\n    var FREEZING = __webpack_require__(\n    /*! ../internals/freezing */\n    \"./node_modules/core-js/internals/freezing.js\");\n\n    var fails = __webpack_require__(\n    /*! ../internals/fails */\n    \"./node_modules/core-js/internals/fails.js\");\n\n    var nativePreventExtensions = Object.preventExtensions;\n    var FAILS_ON_PRIMITIVES = fails(function () {\n      nativePreventExtensions(1);\n    }); // `Object.preventExtensions` method\n    // https://tc39.github.io/ecma262/#sec-object.preventextensions\n\n    $({\n      target: 'Object',\n      stat: true,\n      forced: FAILS_ON_PRIMITIVES,\n      sham: !FREEZING\n    }, {\n      preventExtensions: function preventExtensions(it) {\n        return nativePreventExtensions && isObject(it) ? nativePreventExtensions(onFreeze(it)) : it;\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.object.seal.js\":\n  /*!********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.object.seal.js ***!\n    \\********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsObjectSealJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var isObject = __webpack_require__(\n    /*! ../internals/is-object */\n    \"./node_modules/core-js/internals/is-object.js\");\n\n    var onFreeze = __webpack_require__(\n    /*! ../internals/internal-metadata */\n    \"./node_modules/core-js/internals/internal-metadata.js\").onFreeze;\n\n    var FREEZING = __webpack_require__(\n    /*! ../internals/freezing */\n    \"./node_modules/core-js/internals/freezing.js\");\n\n    var fails = __webpack_require__(\n    /*! ../internals/fails */\n    \"./node_modules/core-js/internals/fails.js\");\n\n    var nativeSeal = Object.seal;\n    var FAILS_ON_PRIMITIVES = fails(function () {\n      nativeSeal(1);\n    }); // `Object.seal` method\n    // https://tc39.github.io/ecma262/#sec-object.seal\n\n    $({\n      target: 'Object',\n      stat: true,\n      forced: FAILS_ON_PRIMITIVES,\n      sham: !FREEZING\n    }, {\n      seal: function seal(it) {\n        return nativeSeal && isObject(it) ? nativeSeal(onFreeze(it)) : it;\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.object.set-prototype-of.js\":\n  /*!********************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.object.set-prototype-of.js ***!\n    \\********************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsObjectSetPrototypeOfJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var setPrototypeOf = __webpack_require__(\n    /*! ../internals/object-set-prototype-of */\n    \"./node_modules/core-js/internals/object-set-prototype-of.js\"); // `Object.setPrototypeOf` method\n    // https://tc39.github.io/ecma262/#sec-object.setprototypeof\n\n\n    $({\n      target: 'Object',\n      stat: true\n    }, {\n      setPrototypeOf: setPrototypeOf\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.object.to-string.js\":\n  /*!*************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.object.to-string.js ***!\n    \\*************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsObjectToStringJs(module, exports, __webpack_require__) {\n    var redefine = __webpack_require__(\n    /*! ../internals/redefine */\n    \"./node_modules/core-js/internals/redefine.js\");\n\n    var toString = __webpack_require__(\n    /*! ../internals/object-to-string */\n    \"./node_modules/core-js/internals/object-to-string.js\");\n\n    var ObjectPrototype = Object.prototype; // `Object.prototype.toString` method\n    // https://tc39.github.io/ecma262/#sec-object.prototype.tostring\n\n    if (toString !== ObjectPrototype.toString) {\n      redefine(ObjectPrototype, 'toString', toString, {\n        unsafe: true\n      });\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.parse-float.js\":\n  /*!********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.parse-float.js ***!\n    \\********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsParseFloatJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var parseFloatImplementation = __webpack_require__(\n    /*! ../internals/parse-float */\n    \"./node_modules/core-js/internals/parse-float.js\"); // `parseFloat` method\n    // https://tc39.github.io/ecma262/#sec-parsefloat-string\n\n\n    $({\n      global: true,\n      forced: parseFloat != parseFloatImplementation\n    }, {\n      parseFloat: parseFloatImplementation\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.parse-int.js\":\n  /*!******************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.parse-int.js ***!\n    \\******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsParseIntJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var parseIntImplementation = __webpack_require__(\n    /*! ../internals/parse-int */\n    \"./node_modules/core-js/internals/parse-int.js\"); // `parseInt` method\n    // https://tc39.github.io/ecma262/#sec-parseint-string-radix\n\n\n    $({\n      global: true,\n      forced: parseInt != parseIntImplementation\n    }, {\n      parseInt: parseIntImplementation\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.promise.js\":\n  /*!****************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.promise.js ***!\n    \\****************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsPromiseJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var IS_PURE = __webpack_require__(\n    /*! ../internals/is-pure */\n    \"./node_modules/core-js/internals/is-pure.js\");\n\n    var global = __webpack_require__(\n    /*! ../internals/global */\n    \"./node_modules/core-js/internals/global.js\");\n\n    var path = __webpack_require__(\n    /*! ../internals/path */\n    \"./node_modules/core-js/internals/path.js\");\n\n    var NativePromise = __webpack_require__(\n    /*! ../internals/native-promise-constructor */\n    \"./node_modules/core-js/internals/native-promise-constructor.js\");\n\n    var redefine = __webpack_require__(\n    /*! ../internals/redefine */\n    \"./node_modules/core-js/internals/redefine.js\");\n\n    var redefineAll = __webpack_require__(\n    /*! ../internals/redefine-all */\n    \"./node_modules/core-js/internals/redefine-all.js\");\n\n    var setToStringTag = __webpack_require__(\n    /*! ../internals/set-to-string-tag */\n    \"./node_modules/core-js/internals/set-to-string-tag.js\");\n\n    var setSpecies = __webpack_require__(\n    /*! ../internals/set-species */\n    \"./node_modules/core-js/internals/set-species.js\");\n\n    var isObject = __webpack_require__(\n    /*! ../internals/is-object */\n    \"./node_modules/core-js/internals/is-object.js\");\n\n    var aFunction = __webpack_require__(\n    /*! ../internals/a-function */\n    \"./node_modules/core-js/internals/a-function.js\");\n\n    var anInstance = __webpack_require__(\n    /*! ../internals/an-instance */\n    \"./node_modules/core-js/internals/an-instance.js\");\n\n    var classof = __webpack_require__(\n    /*! ../internals/classof-raw */\n    \"./node_modules/core-js/internals/classof-raw.js\");\n\n    var iterate = __webpack_require__(\n    /*! ../internals/iterate */\n    \"./node_modules/core-js/internals/iterate.js\");\n\n    var checkCorrectnessOfIteration = __webpack_require__(\n    /*! ../internals/check-correctness-of-iteration */\n    \"./node_modules/core-js/internals/check-correctness-of-iteration.js\");\n\n    var speciesConstructor = __webpack_require__(\n    /*! ../internals/species-constructor */\n    \"./node_modules/core-js/internals/species-constructor.js\");\n\n    var task = __webpack_require__(\n    /*! ../internals/task */\n    \"./node_modules/core-js/internals/task.js\").set;\n\n    var microtask = __webpack_require__(\n    /*! ../internals/microtask */\n    \"./node_modules/core-js/internals/microtask.js\");\n\n    var promiseResolve = __webpack_require__(\n    /*! ../internals/promise-resolve */\n    \"./node_modules/core-js/internals/promise-resolve.js\");\n\n    var hostReportErrors = __webpack_require__(\n    /*! ../internals/host-report-errors */\n    \"./node_modules/core-js/internals/host-report-errors.js\");\n\n    var newPromiseCapabilityModule = __webpack_require__(\n    /*! ../internals/new-promise-capability */\n    \"./node_modules/core-js/internals/new-promise-capability.js\");\n\n    var perform = __webpack_require__(\n    /*! ../internals/perform */\n    \"./node_modules/core-js/internals/perform.js\");\n\n    var userAgent = __webpack_require__(\n    /*! ../internals/user-agent */\n    \"./node_modules/core-js/internals/user-agent.js\");\n\n    var InternalStateModule = __webpack_require__(\n    /*! ../internals/internal-state */\n    \"./node_modules/core-js/internals/internal-state.js\");\n\n    var isForced = __webpack_require__(\n    /*! ../internals/is-forced */\n    \"./node_modules/core-js/internals/is-forced.js\");\n\n    var wellKnownSymbol = __webpack_require__(\n    /*! ../internals/well-known-symbol */\n    \"./node_modules/core-js/internals/well-known-symbol.js\");\n\n    var SPECIES = wellKnownSymbol('species');\n    var PROMISE = 'Promise';\n    var getInternalState = InternalStateModule.get;\n    var setInternalState = InternalStateModule.set;\n    var getInternalPromiseState = InternalStateModule.getterFor(PROMISE);\n    var PromiseConstructor = NativePromise;\n    var TypeError = global.TypeError;\n    var document = global.document;\n    var process = global.process;\n    var $fetch = global.fetch;\n    var versions = process && process.versions;\n    var v8 = versions && versions.v8 || '';\n    var newPromiseCapability = newPromiseCapabilityModule.f;\n    var newGenericPromiseCapability = newPromiseCapability;\n    var IS_NODE = classof(process) == 'process';\n    var DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent);\n    var UNHANDLED_REJECTION = 'unhandledrejection';\n    var REJECTION_HANDLED = 'rejectionhandled';\n    var PENDING = 0;\n    var FULFILLED = 1;\n    var REJECTED = 2;\n    var HANDLED = 1;\n    var UNHANDLED = 2;\n    var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;\n    var FORCED = isForced(PROMISE, function () {\n      // correct subclassing with @@species support\n      var promise = PromiseConstructor.resolve(1);\n\n      var empty = function empty() {\n        /* empty */\n      };\n\n      var FakePromise = (promise.constructor = {})[SPECIES] = function (exec) {\n        exec(empty, empty);\n      }; // unhandled rejections tracking support, NodeJS Promise without it fails @@species test\n\n\n      return !((IS_NODE || typeof PromiseRejectionEvent == 'function') && (!IS_PURE || promise['finally']) && promise.then(empty) instanceof FakePromise // v8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables\n      // https://bugs.chromium.org/p/chromium/issues/detail?id=830565\n      // we can't detect it synchronously, so just check versions\n      && v8.indexOf('6.6') !== 0 && userAgent.indexOf('Chrome/66') === -1);\n    });\n    var INCORRECT_ITERATION = FORCED || !checkCorrectnessOfIteration(function (iterable) {\n      PromiseConstructor.all(iterable)['catch'](function () {\n        /* empty */\n      });\n    }); // helpers\n\n    var isThenable = function isThenable(it) {\n      var then;\n      return isObject(it) && typeof (then = it.then) == 'function' ? then : false;\n    };\n\n    var notify = function notify(promise, state, isReject) {\n      if (state.notified) return;\n      state.notified = true;\n      var chain = state.reactions;\n      microtask(function () {\n        var value = state.value;\n        var ok = state.state == FULFILLED;\n        var index = 0; // variable length - can't use forEach\n\n        while (chain.length > index) {\n          var reaction = chain[index++];\n          var handler = ok ? reaction.ok : reaction.fail;\n          var resolve = reaction.resolve;\n          var reject = reaction.reject;\n          var domain = reaction.domain;\n          var result, then, exited;\n\n          try {\n            if (handler) {\n              if (!ok) {\n                if (state.rejection === UNHANDLED) onHandleUnhandled(promise, state);\n                state.rejection = HANDLED;\n              }\n\n              if (handler === true) result = value;else {\n                if (domain) domain.enter();\n                result = handler(value); // can throw\n\n                if (domain) {\n                  domain.exit();\n                  exited = true;\n                }\n              }\n\n              if (result === reaction.promise) {\n                reject(TypeError('Promise-chain cycle'));\n              } else if (then = isThenable(result)) {\n                then.call(result, resolve, reject);\n              } else resolve(result);\n            } else reject(value);\n          } catch (error) {\n            if (domain && !exited) domain.exit();\n            reject(error);\n          }\n        }\n\n        state.reactions = [];\n        state.notified = false;\n        if (isReject && !state.rejection) onUnhandled(promise, state);\n      });\n    };\n\n    var dispatchEvent = function dispatchEvent(name, promise, reason) {\n      var event, handler;\n\n      if (DISPATCH_EVENT) {\n        event = document.createEvent('Event');\n        event.promise = promise;\n        event.reason = reason;\n        event.initEvent(name, false, true);\n        global.dispatchEvent(event);\n      } else event = {\n        promise: promise,\n        reason: reason\n      };\n\n      if (handler = global['on' + name]) handler(event);else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);\n    };\n\n    var onUnhandled = function onUnhandled(promise, state) {\n      task.call(global, function () {\n        var value = state.value;\n        var IS_UNHANDLED = isUnhandled(state);\n        var result;\n\n        if (IS_UNHANDLED) {\n          result = perform(function () {\n            if (IS_NODE) {\n              process.emit('unhandledRejection', value, promise);\n            } else dispatchEvent(UNHANDLED_REJECTION, promise, value);\n          }); // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should\n\n          state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED;\n          if (result.error) throw result.value;\n        }\n      });\n    };\n\n    var isUnhandled = function isUnhandled(state) {\n      return state.rejection !== HANDLED && !state.parent;\n    };\n\n    var onHandleUnhandled = function onHandleUnhandled(promise, state) {\n      task.call(global, function () {\n        if (IS_NODE) {\n          process.emit('rejectionHandled', promise);\n        } else dispatchEvent(REJECTION_HANDLED, promise, state.value);\n      });\n    };\n\n    var bind = function bind(fn, promise, state, unwrap) {\n      return function (value) {\n        fn(promise, state, value, unwrap);\n      };\n    };\n\n    var internalReject = function internalReject(promise, state, value, unwrap) {\n      if (state.done) return;\n      state.done = true;\n      if (unwrap) state = unwrap;\n      state.value = value;\n      state.state = REJECTED;\n      notify(promise, state, true);\n    };\n\n    var internalResolve = function internalResolve(promise, state, value, unwrap) {\n      if (state.done) return;\n      state.done = true;\n      if (unwrap) state = unwrap;\n\n      try {\n        if (promise === value) throw TypeError(\"Promise can't be resolved itself\");\n        var then = isThenable(value);\n\n        if (then) {\n          microtask(function () {\n            var wrapper = {\n              done: false\n            };\n\n            try {\n              then.call(value, bind(internalResolve, promise, wrapper, state), bind(internalReject, promise, wrapper, state));\n            } catch (error) {\n              internalReject(promise, wrapper, error, state);\n            }\n          });\n        } else {\n          state.value = value;\n          state.state = FULFILLED;\n          notify(promise, state, false);\n        }\n      } catch (error) {\n        internalReject(promise, {\n          done: false\n        }, error, state);\n      }\n    }; // constructor polyfill\n\n\n    if (FORCED) {\n      // 25.4.3.1 Promise(executor)\n      PromiseConstructor = function Promise(executor) {\n        anInstance(this, PromiseConstructor, PROMISE);\n        aFunction(executor);\n        Internal.call(this);\n        var state = getInternalState(this);\n\n        try {\n          executor(bind(internalResolve, this, state), bind(internalReject, this, state));\n        } catch (error) {\n          internalReject(this, state, error);\n        }\n      }; // eslint-disable-next-line no-unused-vars\n\n\n      Internal = function Promise(executor) {\n        setInternalState(this, {\n          type: PROMISE,\n          done: false,\n          notified: false,\n          parent: false,\n          reactions: [],\n          rejection: false,\n          state: PENDING,\n          value: undefined\n        });\n      };\n\n      Internal.prototype = redefineAll(PromiseConstructor.prototype, {\n        // `Promise.prototype.then` method\n        // https://tc39.github.io/ecma262/#sec-promise.prototype.then\n        then: function then(onFulfilled, onRejected) {\n          var state = getInternalPromiseState(this);\n          var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));\n          reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;\n          reaction.fail = typeof onRejected == 'function' && onRejected;\n          reaction.domain = IS_NODE ? process.domain : undefined;\n          state.parent = true;\n          state.reactions.push(reaction);\n          if (state.state != PENDING) notify(this, state, false);\n          return reaction.promise;\n        },\n        // `Promise.prototype.catch` method\n        // https://tc39.github.io/ecma262/#sec-promise.prototype.catch\n        'catch': function _catch(onRejected) {\n          return this.then(undefined, onRejected);\n        }\n      });\n\n      OwnPromiseCapability = function OwnPromiseCapability() {\n        var promise = new Internal();\n        var state = getInternalState(promise);\n        this.promise = promise;\n        this.resolve = bind(internalResolve, promise, state);\n        this.reject = bind(internalReject, promise, state);\n      };\n\n      newPromiseCapabilityModule.f = newPromiseCapability = function newPromiseCapability(C) {\n        return C === PromiseConstructor || C === PromiseWrapper ? new OwnPromiseCapability(C) : newGenericPromiseCapability(C);\n      };\n\n      if (!IS_PURE && typeof NativePromise == 'function') {\n        nativeThen = NativePromise.prototype.then; // wrap native Promise#then for native async functions\n\n        redefine(NativePromise.prototype, 'then', function then(onFulfilled, onRejected) {\n          var that = this;\n          return new PromiseConstructor(function (resolve, reject) {\n            nativeThen.call(that, resolve, reject);\n          }).then(onFulfilled, onRejected);\n        }); // wrap fetch result\n\n        if (typeof $fetch == 'function') $({\n          global: true,\n          enumerable: true,\n          forced: true\n        }, {\n          // eslint-disable-next-line no-unused-vars\n          fetch: function fetch(input) {\n            return promiseResolve(PromiseConstructor, $fetch.apply(global, arguments));\n          }\n        });\n      }\n    }\n\n    $({\n      global: true,\n      wrap: true,\n      forced: FORCED\n    }, {\n      Promise: PromiseConstructor\n    });\n    setToStringTag(PromiseConstructor, PROMISE, false, true);\n    setSpecies(PROMISE);\n    PromiseWrapper = path[PROMISE]; // statics\n\n    $({\n      target: PROMISE,\n      stat: true,\n      forced: FORCED\n    }, {\n      // `Promise.reject` method\n      // https://tc39.github.io/ecma262/#sec-promise.reject\n      reject: function reject(r) {\n        var capability = newPromiseCapability(this);\n        capability.reject.call(undefined, r);\n        return capability.promise;\n      }\n    });\n    $({\n      target: PROMISE,\n      stat: true,\n      forced: IS_PURE || FORCED\n    }, {\n      // `Promise.resolve` method\n      // https://tc39.github.io/ecma262/#sec-promise.resolve\n      resolve: function resolve(x) {\n        return promiseResolve(IS_PURE && this === PromiseWrapper ? PromiseConstructor : this, x);\n      }\n    });\n    $({\n      target: PROMISE,\n      stat: true,\n      forced: INCORRECT_ITERATION\n    }, {\n      // `Promise.all` method\n      // https://tc39.github.io/ecma262/#sec-promise.all\n      all: function all(iterable) {\n        var C = this;\n        var capability = newPromiseCapability(C);\n        var resolve = capability.resolve;\n        var reject = capability.reject;\n        var result = perform(function () {\n          var $promiseResolve = aFunction(C.resolve);\n          var values = [];\n          var counter = 0;\n          var remaining = 1;\n          iterate(iterable, function (promise) {\n            var index = counter++;\n            var alreadyCalled = false;\n            values.push(undefined);\n            remaining++;\n            $promiseResolve.call(C, promise).then(function (value) {\n              if (alreadyCalled) return;\n              alreadyCalled = true;\n              values[index] = value;\n              --remaining || resolve(values);\n            }, reject);\n          });\n          --remaining || resolve(values);\n        });\n        if (result.error) reject(result.value);\n        return capability.promise;\n      },\n      // `Promise.race` method\n      // https://tc39.github.io/ecma262/#sec-promise.race\n      race: function race(iterable) {\n        var C = this;\n        var capability = newPromiseCapability(C);\n        var reject = capability.reject;\n        var result = perform(function () {\n          var $promiseResolve = aFunction(C.resolve);\n          iterate(iterable, function (promise) {\n            $promiseResolve.call(C, promise).then(capability.resolve, reject);\n          });\n        });\n        if (result.error) reject(result.value);\n        return capability.promise;\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.reflect.apply.js\":\n  /*!**********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.reflect.apply.js ***!\n    \\**********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsReflectApplyJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var getBuiltIn = __webpack_require__(\n    /*! ../internals/get-built-in */\n    \"./node_modules/core-js/internals/get-built-in.js\");\n\n    var aFunction = __webpack_require__(\n    /*! ../internals/a-function */\n    \"./node_modules/core-js/internals/a-function.js\");\n\n    var anObject = __webpack_require__(\n    /*! ../internals/an-object */\n    \"./node_modules/core-js/internals/an-object.js\");\n\n    var fails = __webpack_require__(\n    /*! ../internals/fails */\n    \"./node_modules/core-js/internals/fails.js\");\n\n    var nativeApply = getBuiltIn('Reflect', 'apply');\n    var functionApply = Function.apply; // MS Edge argumentsList argument is optional\n\n    var OPTIONAL_ARGUMENTS_LIST = !fails(function () {\n      nativeApply(function () {\n        /* empty */\n      });\n    }); // `Reflect.apply` method\n    // https://tc39.github.io/ecma262/#sec-reflect.apply\n\n    $({\n      target: 'Reflect',\n      stat: true,\n      forced: OPTIONAL_ARGUMENTS_LIST\n    }, {\n      apply: function apply(target, thisArgument, argumentsList) {\n        aFunction(target);\n        anObject(argumentsList);\n        return nativeApply ? nativeApply(target, thisArgument, argumentsList) : functionApply.call(target, thisArgument, argumentsList);\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.reflect.construct.js\":\n  /*!**************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.reflect.construct.js ***!\n    \\**************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsReflectConstructJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var getBuiltIn = __webpack_require__(\n    /*! ../internals/get-built-in */\n    \"./node_modules/core-js/internals/get-built-in.js\");\n\n    var aFunction = __webpack_require__(\n    /*! ../internals/a-function */\n    \"./node_modules/core-js/internals/a-function.js\");\n\n    var anObject = __webpack_require__(\n    /*! ../internals/an-object */\n    \"./node_modules/core-js/internals/an-object.js\");\n\n    var isObject = __webpack_require__(\n    /*! ../internals/is-object */\n    \"./node_modules/core-js/internals/is-object.js\");\n\n    var create = __webpack_require__(\n    /*! ../internals/object-create */\n    \"./node_modules/core-js/internals/object-create.js\");\n\n    var bind = __webpack_require__(\n    /*! ../internals/function-bind */\n    \"./node_modules/core-js/internals/function-bind.js\");\n\n    var fails = __webpack_require__(\n    /*! ../internals/fails */\n    \"./node_modules/core-js/internals/fails.js\");\n\n    var nativeConstruct = getBuiltIn('Reflect', 'construct'); // `Reflect.construct` method\n    // https://tc39.github.io/ecma262/#sec-reflect.construct\n    // MS Edge supports only 2 arguments and argumentsList argument is optional\n    // FF Nightly sets third argument as `new.target`, but does not create `this` from it\n\n    var NEW_TARGET_BUG = fails(function () {\n      function F() {\n        /* empty */\n      }\n\n      return !(nativeConstruct(function () {\n        /* empty */\n      }, [], F) instanceof F);\n    });\n    var ARGS_BUG = !fails(function () {\n      nativeConstruct(function () {\n        /* empty */\n      });\n    });\n    var FORCED = NEW_TARGET_BUG || ARGS_BUG;\n    $({\n      target: 'Reflect',\n      stat: true,\n      forced: FORCED,\n      sham: FORCED\n    }, {\n      construct: function construct(Target, args\n      /* , newTarget */\n      ) {\n        aFunction(Target);\n        anObject(args);\n        var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]);\n        if (ARGS_BUG && !NEW_TARGET_BUG) return nativeConstruct(Target, args, newTarget);\n\n        if (Target == newTarget) {\n          // w/o altered newTarget, optimization for 0-4 arguments\n          switch (args.length) {\n            case 0:\n              return new Target();\n\n            case 1:\n              return new Target(args[0]);\n\n            case 2:\n              return new Target(args[0], args[1]);\n\n            case 3:\n              return new Target(args[0], args[1], args[2]);\n\n            case 4:\n              return new Target(args[0], args[1], args[2], args[3]);\n          } // w/o altered newTarget, lot of arguments case\n\n\n          var $args = [null];\n          $args.push.apply($args, args);\n          return new (bind.apply(Target, $args))();\n        } // with altered newTarget, not support built-in constructors\n\n\n        var proto = newTarget.prototype;\n        var instance = create(isObject(proto) ? proto : Object.prototype);\n        var result = Function.apply.call(Target, instance, args);\n        return isObject(result) ? result : instance;\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.reflect.define-property.js\":\n  /*!********************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.reflect.define-property.js ***!\n    \\********************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsReflectDefinePropertyJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var DESCRIPTORS = __webpack_require__(\n    /*! ../internals/descriptors */\n    \"./node_modules/core-js/internals/descriptors.js\");\n\n    var anObject = __webpack_require__(\n    /*! ../internals/an-object */\n    \"./node_modules/core-js/internals/an-object.js\");\n\n    var toPrimitive = __webpack_require__(\n    /*! ../internals/to-primitive */\n    \"./node_modules/core-js/internals/to-primitive.js\");\n\n    var definePropertyModule = __webpack_require__(\n    /*! ../internals/object-define-property */\n    \"./node_modules/core-js/internals/object-define-property.js\");\n\n    var fails = __webpack_require__(\n    /*! ../internals/fails */\n    \"./node_modules/core-js/internals/fails.js\"); // MS Edge has broken Reflect.defineProperty - throwing instead of returning false\n\n\n    var ERROR_INSTEAD_OF_FALSE = fails(function () {\n      // eslint-disable-next-line no-undef\n      Reflect.defineProperty(definePropertyModule.f({}, 1, {\n        value: 1\n      }), 1, {\n        value: 2\n      });\n    }); // `Reflect.defineProperty` method\n    // https://tc39.github.io/ecma262/#sec-reflect.defineproperty\n\n    $({\n      target: 'Reflect',\n      stat: true,\n      forced: ERROR_INSTEAD_OF_FALSE,\n      sham: !DESCRIPTORS\n    }, {\n      defineProperty: function defineProperty(target, propertyKey, attributes) {\n        anObject(target);\n        var key = toPrimitive(propertyKey, true);\n        anObject(attributes);\n\n        try {\n          definePropertyModule.f(target, key, attributes);\n          return true;\n        } catch (error) {\n          return false;\n        }\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.reflect.delete-property.js\":\n  /*!********************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.reflect.delete-property.js ***!\n    \\********************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsReflectDeletePropertyJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var anObject = __webpack_require__(\n    /*! ../internals/an-object */\n    \"./node_modules/core-js/internals/an-object.js\");\n\n    var getOwnPropertyDescriptor = __webpack_require__(\n    /*! ../internals/object-get-own-property-descriptor */\n    \"./node_modules/core-js/internals/object-get-own-property-descriptor.js\").f; // `Reflect.deleteProperty` method\n    // https://tc39.github.io/ecma262/#sec-reflect.deleteproperty\n\n\n    $({\n      target: 'Reflect',\n      stat: true\n    }, {\n      deleteProperty: function deleteProperty(target, propertyKey) {\n        var descriptor = getOwnPropertyDescriptor(anObject(target), propertyKey);\n        return descriptor && !descriptor.configurable ? false : delete target[propertyKey];\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.reflect.get-own-property-descriptor.js\":\n  /*!********************************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.reflect.get-own-property-descriptor.js ***!\n    \\********************************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsReflectGetOwnPropertyDescriptorJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var DESCRIPTORS = __webpack_require__(\n    /*! ../internals/descriptors */\n    \"./node_modules/core-js/internals/descriptors.js\");\n\n    var anObject = __webpack_require__(\n    /*! ../internals/an-object */\n    \"./node_modules/core-js/internals/an-object.js\");\n\n    var getOwnPropertyDescriptorModule = __webpack_require__(\n    /*! ../internals/object-get-own-property-descriptor */\n    \"./node_modules/core-js/internals/object-get-own-property-descriptor.js\"); // `Reflect.getOwnPropertyDescriptor` method\n    // https://tc39.github.io/ecma262/#sec-reflect.getownpropertydescriptor\n\n\n    $({\n      target: 'Reflect',\n      stat: true,\n      sham: !DESCRIPTORS\n    }, {\n      getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) {\n        return getOwnPropertyDescriptorModule.f(anObject(target), propertyKey);\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.reflect.get-prototype-of.js\":\n  /*!*********************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.reflect.get-prototype-of.js ***!\n    \\*********************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsReflectGetPrototypeOfJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var anObject = __webpack_require__(\n    /*! ../internals/an-object */\n    \"./node_modules/core-js/internals/an-object.js\");\n\n    var objectGetPrototypeOf = __webpack_require__(\n    /*! ../internals/object-get-prototype-of */\n    \"./node_modules/core-js/internals/object-get-prototype-of.js\");\n\n    var CORRECT_PROTOTYPE_GETTER = __webpack_require__(\n    /*! ../internals/correct-prototype-getter */\n    \"./node_modules/core-js/internals/correct-prototype-getter.js\"); // `Reflect.getPrototypeOf` method\n    // https://tc39.github.io/ecma262/#sec-reflect.getprototypeof\n\n\n    $({\n      target: 'Reflect',\n      stat: true,\n      sham: !CORRECT_PROTOTYPE_GETTER\n    }, {\n      getPrototypeOf: function getPrototypeOf(target) {\n        return objectGetPrototypeOf(anObject(target));\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.reflect.get.js\":\n  /*!********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.reflect.get.js ***!\n    \\********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsReflectGetJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var isObject = __webpack_require__(\n    /*! ../internals/is-object */\n    \"./node_modules/core-js/internals/is-object.js\");\n\n    var anObject = __webpack_require__(\n    /*! ../internals/an-object */\n    \"./node_modules/core-js/internals/an-object.js\");\n\n    var has = __webpack_require__(\n    /*! ../internals/has */\n    \"./node_modules/core-js/internals/has.js\");\n\n    var getOwnPropertyDescriptorModule = __webpack_require__(\n    /*! ../internals/object-get-own-property-descriptor */\n    \"./node_modules/core-js/internals/object-get-own-property-descriptor.js\");\n\n    var getPrototypeOf = __webpack_require__(\n    /*! ../internals/object-get-prototype-of */\n    \"./node_modules/core-js/internals/object-get-prototype-of.js\"); // `Reflect.get` method\n    // https://tc39.github.io/ecma262/#sec-reflect.get\n\n\n    function get(target, propertyKey\n    /* , receiver */\n    ) {\n      var receiver = arguments.length < 3 ? target : arguments[2];\n      var descriptor, prototype;\n      if (anObject(target) === receiver) return target[propertyKey];\n      if (descriptor = getOwnPropertyDescriptorModule.f(target, propertyKey)) return has(descriptor, 'value') ? descriptor.value : descriptor.get === undefined ? undefined : descriptor.get.call(receiver);\n      if (isObject(prototype = getPrototypeOf(target))) return get(prototype, propertyKey, receiver);\n    }\n\n    $({\n      target: 'Reflect',\n      stat: true\n    }, {\n      get: get\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.reflect.has.js\":\n  /*!********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.reflect.has.js ***!\n    \\********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsReflectHasJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\"); // `Reflect.has` method\n    // https://tc39.github.io/ecma262/#sec-reflect.has\n\n\n    $({\n      target: 'Reflect',\n      stat: true\n    }, {\n      has: function has(target, propertyKey) {\n        return propertyKey in target;\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.reflect.is-extensible.js\":\n  /*!******************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.reflect.is-extensible.js ***!\n    \\******************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsReflectIsExtensibleJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var anObject = __webpack_require__(\n    /*! ../internals/an-object */\n    \"./node_modules/core-js/internals/an-object.js\");\n\n    var objectIsExtensible = Object.isExtensible; // `Reflect.isExtensible` method\n    // https://tc39.github.io/ecma262/#sec-reflect.isextensible\n\n    $({\n      target: 'Reflect',\n      stat: true\n    }, {\n      isExtensible: function isExtensible(target) {\n        anObject(target);\n        return objectIsExtensible ? objectIsExtensible(target) : true;\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.reflect.own-keys.js\":\n  /*!*************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.reflect.own-keys.js ***!\n    \\*************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsReflectOwnKeysJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var ownKeys = __webpack_require__(\n    /*! ../internals/own-keys */\n    \"./node_modules/core-js/internals/own-keys.js\"); // `Reflect.ownKeys` method\n    // https://tc39.github.io/ecma262/#sec-reflect.ownkeys\n\n\n    $({\n      target: 'Reflect',\n      stat: true\n    }, {\n      ownKeys: ownKeys\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.reflect.prevent-extensions.js\":\n  /*!***********************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.reflect.prevent-extensions.js ***!\n    \\***********************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsReflectPreventExtensionsJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var getBuiltIn = __webpack_require__(\n    /*! ../internals/get-built-in */\n    \"./node_modules/core-js/internals/get-built-in.js\");\n\n    var anObject = __webpack_require__(\n    /*! ../internals/an-object */\n    \"./node_modules/core-js/internals/an-object.js\");\n\n    var FREEZING = __webpack_require__(\n    /*! ../internals/freezing */\n    \"./node_modules/core-js/internals/freezing.js\"); // `Reflect.preventExtensions` method\n    // https://tc39.github.io/ecma262/#sec-reflect.preventextensions\n\n\n    $({\n      target: 'Reflect',\n      stat: true,\n      sham: !FREEZING\n    }, {\n      preventExtensions: function preventExtensions(target) {\n        anObject(target);\n\n        try {\n          var objectPreventExtensions = getBuiltIn('Object', 'preventExtensions');\n          if (objectPreventExtensions) objectPreventExtensions(target);\n          return true;\n        } catch (error) {\n          return false;\n        }\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.reflect.set-prototype-of.js\":\n  /*!*********************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.reflect.set-prototype-of.js ***!\n    \\*********************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsReflectSetPrototypeOfJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var anObject = __webpack_require__(\n    /*! ../internals/an-object */\n    \"./node_modules/core-js/internals/an-object.js\");\n\n    var aPossiblePrototype = __webpack_require__(\n    /*! ../internals/a-possible-prototype */\n    \"./node_modules/core-js/internals/a-possible-prototype.js\");\n\n    var objectSetPrototypeOf = __webpack_require__(\n    /*! ../internals/object-set-prototype-of */\n    \"./node_modules/core-js/internals/object-set-prototype-of.js\"); // `Reflect.setPrototypeOf` method\n    // https://tc39.github.io/ecma262/#sec-reflect.setprototypeof\n\n\n    if (objectSetPrototypeOf) $({\n      target: 'Reflect',\n      stat: true\n    }, {\n      setPrototypeOf: function setPrototypeOf(target, proto) {\n        anObject(target);\n        aPossiblePrototype(proto);\n\n        try {\n          objectSetPrototypeOf(target, proto);\n          return true;\n        } catch (error) {\n          return false;\n        }\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.reflect.set.js\":\n  /*!********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.reflect.set.js ***!\n    \\********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsReflectSetJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var anObject = __webpack_require__(\n    /*! ../internals/an-object */\n    \"./node_modules/core-js/internals/an-object.js\");\n\n    var isObject = __webpack_require__(\n    /*! ../internals/is-object */\n    \"./node_modules/core-js/internals/is-object.js\");\n\n    var has = __webpack_require__(\n    /*! ../internals/has */\n    \"./node_modules/core-js/internals/has.js\");\n\n    var definePropertyModule = __webpack_require__(\n    /*! ../internals/object-define-property */\n    \"./node_modules/core-js/internals/object-define-property.js\");\n\n    var getOwnPropertyDescriptorModule = __webpack_require__(\n    /*! ../internals/object-get-own-property-descriptor */\n    \"./node_modules/core-js/internals/object-get-own-property-descriptor.js\");\n\n    var getPrototypeOf = __webpack_require__(\n    /*! ../internals/object-get-prototype-of */\n    \"./node_modules/core-js/internals/object-get-prototype-of.js\");\n\n    var createPropertyDescriptor = __webpack_require__(\n    /*! ../internals/create-property-descriptor */\n    \"./node_modules/core-js/internals/create-property-descriptor.js\"); // `Reflect.set` method\n    // https://tc39.github.io/ecma262/#sec-reflect.set\n\n\n    function set(target, propertyKey, V\n    /* , receiver */\n    ) {\n      var receiver = arguments.length < 4 ? target : arguments[3];\n      var ownDescriptor = getOwnPropertyDescriptorModule.f(anObject(target), propertyKey);\n      var existingDescriptor, prototype;\n\n      if (!ownDescriptor) {\n        if (isObject(prototype = getPrototypeOf(target))) {\n          return set(prototype, propertyKey, V, receiver);\n        }\n\n        ownDescriptor = createPropertyDescriptor(0);\n      }\n\n      if (has(ownDescriptor, 'value')) {\n        if (ownDescriptor.writable === false || !isObject(receiver)) return false;\n\n        if (existingDescriptor = getOwnPropertyDescriptorModule.f(receiver, propertyKey)) {\n          if (existingDescriptor.get || existingDescriptor.set || existingDescriptor.writable === false) return false;\n          existingDescriptor.value = V;\n          definePropertyModule.f(receiver, propertyKey, existingDescriptor);\n        } else definePropertyModule.f(receiver, propertyKey, createPropertyDescriptor(0, V));\n\n        return true;\n      }\n\n      return ownDescriptor.set === undefined ? false : (ownDescriptor.set.call(receiver, V), true);\n    }\n\n    $({\n      target: 'Reflect',\n      stat: true\n    }, {\n      set: set\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.regexp.constructor.js\":\n  /*!***************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.regexp.constructor.js ***!\n    \\***************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsRegexpConstructorJs(module, exports, __webpack_require__) {\n    var DESCRIPTORS = __webpack_require__(\n    /*! ../internals/descriptors */\n    \"./node_modules/core-js/internals/descriptors.js\");\n\n    var global = __webpack_require__(\n    /*! ../internals/global */\n    \"./node_modules/core-js/internals/global.js\");\n\n    var isForced = __webpack_require__(\n    /*! ../internals/is-forced */\n    \"./node_modules/core-js/internals/is-forced.js\");\n\n    var inheritIfRequired = __webpack_require__(\n    /*! ../internals/inherit-if-required */\n    \"./node_modules/core-js/internals/inherit-if-required.js\");\n\n    var defineProperty = __webpack_require__(\n    /*! ../internals/object-define-property */\n    \"./node_modules/core-js/internals/object-define-property.js\").f;\n\n    var getOwnPropertyNames = __webpack_require__(\n    /*! ../internals/object-get-own-property-names */\n    \"./node_modules/core-js/internals/object-get-own-property-names.js\").f;\n\n    var isRegExp = __webpack_require__(\n    /*! ../internals/is-regexp */\n    \"./node_modules/core-js/internals/is-regexp.js\");\n\n    var getFlags = __webpack_require__(\n    /*! ../internals/regexp-flags */\n    \"./node_modules/core-js/internals/regexp-flags.js\");\n\n    var redefine = __webpack_require__(\n    /*! ../internals/redefine */\n    \"./node_modules/core-js/internals/redefine.js\");\n\n    var fails = __webpack_require__(\n    /*! ../internals/fails */\n    \"./node_modules/core-js/internals/fails.js\");\n\n    var setSpecies = __webpack_require__(\n    /*! ../internals/set-species */\n    \"./node_modules/core-js/internals/set-species.js\");\n\n    var wellKnownSymbol = __webpack_require__(\n    /*! ../internals/well-known-symbol */\n    \"./node_modules/core-js/internals/well-known-symbol.js\");\n\n    var MATCH = wellKnownSymbol('match');\n    var NativeRegExp = global.RegExp;\n    var RegExpPrototype = NativeRegExp.prototype;\n    var re1 = /a/g;\n    var re2 = /a/g; // \"new\" should create a new object, old webkit bug\n\n    var CORRECT_NEW = new NativeRegExp(re1) !== re1;\n    var FORCED = DESCRIPTORS && isForced('RegExp', !CORRECT_NEW || fails(function () {\n      re2[MATCH] = false; // RegExp constructor can alter flags and IsRegExp works correct with @@match\n\n      return NativeRegExp(re1) != re1 || NativeRegExp(re2) == re2 || NativeRegExp(re1, 'i') != '/a/i';\n    })); // `RegExp` constructor\n    // https://tc39.github.io/ecma262/#sec-regexp-constructor\n\n    if (FORCED) {\n      var RegExpWrapper = function RegExp(pattern, flags) {\n        var thisIsRegExp = this instanceof RegExpWrapper;\n        var patternIsRegExp = isRegExp(pattern);\n        var flagsAreUndefined = flags === undefined;\n        return !thisIsRegExp && patternIsRegExp && pattern.constructor === RegExpWrapper && flagsAreUndefined ? pattern : inheritIfRequired(CORRECT_NEW ? new NativeRegExp(patternIsRegExp && !flagsAreUndefined ? pattern.source : pattern, flags) : NativeRegExp((patternIsRegExp = pattern instanceof RegExpWrapper) ? pattern.source : pattern, patternIsRegExp && flagsAreUndefined ? getFlags.call(pattern) : flags), thisIsRegExp ? this : RegExpPrototype, RegExpWrapper);\n      };\n\n      var proxy = function proxy(key) {\n        key in RegExpWrapper || defineProperty(RegExpWrapper, key, {\n          configurable: true,\n          get: function get() {\n            return NativeRegExp[key];\n          },\n          set: function set(it) {\n            NativeRegExp[key] = it;\n          }\n        });\n      };\n\n      var keys = getOwnPropertyNames(NativeRegExp);\n      var index = 0;\n\n      while (keys.length > index) {\n        proxy(keys[index++]);\n      }\n\n      RegExpPrototype.constructor = RegExpWrapper;\n      RegExpWrapper.prototype = RegExpPrototype;\n      redefine(global, 'RegExp', RegExpWrapper);\n    } // https://tc39.github.io/ecma262/#sec-get-regexp-@@species\n\n\n    setSpecies('RegExp');\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.regexp.exec.js\":\n  /*!********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.regexp.exec.js ***!\n    \\********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsRegexpExecJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var exec = __webpack_require__(\n    /*! ../internals/regexp-exec */\n    \"./node_modules/core-js/internals/regexp-exec.js\");\n\n    $({\n      target: 'RegExp',\n      proto: true,\n      forced: /./.exec !== exec\n    }, {\n      exec: exec\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.regexp.flags.js\":\n  /*!*********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.regexp.flags.js ***!\n    \\*********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsRegexpFlagsJs(module, exports, __webpack_require__) {\n    var DESCRIPTORS = __webpack_require__(\n    /*! ../internals/descriptors */\n    \"./node_modules/core-js/internals/descriptors.js\");\n\n    var objectDefinePropertyModule = __webpack_require__(\n    /*! ../internals/object-define-property */\n    \"./node_modules/core-js/internals/object-define-property.js\");\n\n    var regExpFlags = __webpack_require__(\n    /*! ../internals/regexp-flags */\n    \"./node_modules/core-js/internals/regexp-flags.js\"); // `RegExp.prototype.flags` getter\n    // https://tc39.github.io/ecma262/#sec-get-regexp.prototype.flags\n\n\n    if (DESCRIPTORS && /./g.flags != 'g') {\n      objectDefinePropertyModule.f(RegExp.prototype, 'flags', {\n        configurable: true,\n        get: regExpFlags\n      });\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.regexp.to-string.js\":\n  /*!*************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.regexp.to-string.js ***!\n    \\*************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsRegexpToStringJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var redefine = __webpack_require__(\n    /*! ../internals/redefine */\n    \"./node_modules/core-js/internals/redefine.js\");\n\n    var anObject = __webpack_require__(\n    /*! ../internals/an-object */\n    \"./node_modules/core-js/internals/an-object.js\");\n\n    var fails = __webpack_require__(\n    /*! ../internals/fails */\n    \"./node_modules/core-js/internals/fails.js\");\n\n    var flags = __webpack_require__(\n    /*! ../internals/regexp-flags */\n    \"./node_modules/core-js/internals/regexp-flags.js\");\n\n    var TO_STRING = 'toString';\n    var RegExpPrototype = RegExp.prototype;\n    var nativeToString = RegExpPrototype[TO_STRING];\n    var NOT_GENERIC = fails(function () {\n      return nativeToString.call({\n        source: 'a',\n        flags: 'b'\n      }) != '/a/b';\n    }); // FF44- RegExp#toString has a wrong name\n\n    var INCORRECT_NAME = nativeToString.name != TO_STRING; // `RegExp.prototype.toString` method\n    // https://tc39.github.io/ecma262/#sec-regexp.prototype.tostring\n\n    if (NOT_GENERIC || INCORRECT_NAME) {\n      redefine(RegExp.prototype, TO_STRING, function toString() {\n        var R = anObject(this);\n        var p = String(R.source);\n        var rf = R.flags;\n        var f = String(rf === undefined && R instanceof RegExp && !('flags' in RegExpPrototype) ? flags.call(R) : rf);\n        return '/' + p + '/' + f;\n      }, {\n        unsafe: true\n      });\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.set.js\":\n  /*!************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.set.js ***!\n    \\************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsSetJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var collection = __webpack_require__(\n    /*! ../internals/collection */\n    \"./node_modules/core-js/internals/collection.js\");\n\n    var collectionStrong = __webpack_require__(\n    /*! ../internals/collection-strong */\n    \"./node_modules/core-js/internals/collection-strong.js\"); // `Set` constructor\n    // https://tc39.github.io/ecma262/#sec-set-objects\n\n\n    module.exports = collection('Set', function (get) {\n      return function Set() {\n        return get(this, arguments.length ? arguments[0] : undefined);\n      };\n    }, collectionStrong);\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.string.anchor.js\":\n  /*!**********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.string.anchor.js ***!\n    \\**********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsStringAnchorJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var createHTML = __webpack_require__(\n    /*! ../internals/create-html */\n    \"./node_modules/core-js/internals/create-html.js\");\n\n    var forcedStringHTMLMethod = __webpack_require__(\n    /*! ../internals/forced-string-html-method */\n    \"./node_modules/core-js/internals/forced-string-html-method.js\"); // `String.prototype.anchor` method\n    // https://tc39.github.io/ecma262/#sec-string.prototype.anchor\n\n\n    $({\n      target: 'String',\n      proto: true,\n      forced: forcedStringHTMLMethod('anchor')\n    }, {\n      anchor: function anchor(name) {\n        return createHTML(this, 'a', 'name', name);\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.string.big.js\":\n  /*!*******************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.string.big.js ***!\n    \\*******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsStringBigJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var createHTML = __webpack_require__(\n    /*! ../internals/create-html */\n    \"./node_modules/core-js/internals/create-html.js\");\n\n    var forcedStringHTMLMethod = __webpack_require__(\n    /*! ../internals/forced-string-html-method */\n    \"./node_modules/core-js/internals/forced-string-html-method.js\"); // `String.prototype.big` method\n    // https://tc39.github.io/ecma262/#sec-string.prototype.big\n\n\n    $({\n      target: 'String',\n      proto: true,\n      forced: forcedStringHTMLMethod('big')\n    }, {\n      big: function big() {\n        return createHTML(this, 'big', '', '');\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.string.blink.js\":\n  /*!*********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.string.blink.js ***!\n    \\*********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsStringBlinkJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var createHTML = __webpack_require__(\n    /*! ../internals/create-html */\n    \"./node_modules/core-js/internals/create-html.js\");\n\n    var forcedStringHTMLMethod = __webpack_require__(\n    /*! ../internals/forced-string-html-method */\n    \"./node_modules/core-js/internals/forced-string-html-method.js\"); // `String.prototype.blink` method\n    // https://tc39.github.io/ecma262/#sec-string.prototype.blink\n\n\n    $({\n      target: 'String',\n      proto: true,\n      forced: forcedStringHTMLMethod('blink')\n    }, {\n      blink: function blink() {\n        return createHTML(this, 'blink', '', '');\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.string.bold.js\":\n  /*!********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.string.bold.js ***!\n    \\********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsStringBoldJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var createHTML = __webpack_require__(\n    /*! ../internals/create-html */\n    \"./node_modules/core-js/internals/create-html.js\");\n\n    var forcedStringHTMLMethod = __webpack_require__(\n    /*! ../internals/forced-string-html-method */\n    \"./node_modules/core-js/internals/forced-string-html-method.js\"); // `String.prototype.bold` method\n    // https://tc39.github.io/ecma262/#sec-string.prototype.bold\n\n\n    $({\n      target: 'String',\n      proto: true,\n      forced: forcedStringHTMLMethod('bold')\n    }, {\n      bold: function bold() {\n        return createHTML(this, 'b', '', '');\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.string.code-point-at.js\":\n  /*!*****************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.string.code-point-at.js ***!\n    \\*****************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsStringCodePointAtJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var codeAt = __webpack_require__(\n    /*! ../internals/string-multibyte */\n    \"./node_modules/core-js/internals/string-multibyte.js\").codeAt; // `String.prototype.codePointAt` method\n    // https://tc39.github.io/ecma262/#sec-string.prototype.codepointat\n\n\n    $({\n      target: 'String',\n      proto: true\n    }, {\n      codePointAt: function codePointAt(pos) {\n        return codeAt(this, pos);\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.string.ends-with.js\":\n  /*!*************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.string.ends-with.js ***!\n    \\*************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsStringEndsWithJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var toLength = __webpack_require__(\n    /*! ../internals/to-length */\n    \"./node_modules/core-js/internals/to-length.js\");\n\n    var notARegExp = __webpack_require__(\n    /*! ../internals/not-a-regexp */\n    \"./node_modules/core-js/internals/not-a-regexp.js\");\n\n    var requireObjectCoercible = __webpack_require__(\n    /*! ../internals/require-object-coercible */\n    \"./node_modules/core-js/internals/require-object-coercible.js\");\n\n    var correctIsRegExpLogic = __webpack_require__(\n    /*! ../internals/correct-is-regexp-logic */\n    \"./node_modules/core-js/internals/correct-is-regexp-logic.js\");\n\n    var nativeEndsWith = ''.endsWith;\n    var min = Math.min; // `String.prototype.endsWith` method\n    // https://tc39.github.io/ecma262/#sec-string.prototype.endswith\n\n    $({\n      target: 'String',\n      proto: true,\n      forced: !correctIsRegExpLogic('endsWith')\n    }, {\n      endsWith: function endsWith(searchString\n      /* , endPosition = @length */\n      ) {\n        var that = String(requireObjectCoercible(this));\n        notARegExp(searchString);\n        var endPosition = arguments.length > 1 ? arguments[1] : undefined;\n        var len = toLength(that.length);\n        var end = endPosition === undefined ? len : min(toLength(endPosition), len);\n        var search = String(searchString);\n        return nativeEndsWith ? nativeEndsWith.call(that, search, end) : that.slice(end - search.length, end) === search;\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.string.fixed.js\":\n  /*!*********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.string.fixed.js ***!\n    \\*********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsStringFixedJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var createHTML = __webpack_require__(\n    /*! ../internals/create-html */\n    \"./node_modules/core-js/internals/create-html.js\");\n\n    var forcedStringHTMLMethod = __webpack_require__(\n    /*! ../internals/forced-string-html-method */\n    \"./node_modules/core-js/internals/forced-string-html-method.js\"); // `String.prototype.fixed` method\n    // https://tc39.github.io/ecma262/#sec-string.prototype.fixed\n\n\n    $({\n      target: 'String',\n      proto: true,\n      forced: forcedStringHTMLMethod('fixed')\n    }, {\n      fixed: function fixed() {\n        return createHTML(this, 'tt', '', '');\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.string.fontcolor.js\":\n  /*!*************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.string.fontcolor.js ***!\n    \\*************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsStringFontcolorJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var createHTML = __webpack_require__(\n    /*! ../internals/create-html */\n    \"./node_modules/core-js/internals/create-html.js\");\n\n    var forcedStringHTMLMethod = __webpack_require__(\n    /*! ../internals/forced-string-html-method */\n    \"./node_modules/core-js/internals/forced-string-html-method.js\"); // `String.prototype.fontcolor` method\n    // https://tc39.github.io/ecma262/#sec-string.prototype.fontcolor\n\n\n    $({\n      target: 'String',\n      proto: true,\n      forced: forcedStringHTMLMethod('fontcolor')\n    }, {\n      fontcolor: function fontcolor(color) {\n        return createHTML(this, 'font', 'color', color);\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.string.fontsize.js\":\n  /*!************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.string.fontsize.js ***!\n    \\************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsStringFontsizeJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var createHTML = __webpack_require__(\n    /*! ../internals/create-html */\n    \"./node_modules/core-js/internals/create-html.js\");\n\n    var forcedStringHTMLMethod = __webpack_require__(\n    /*! ../internals/forced-string-html-method */\n    \"./node_modules/core-js/internals/forced-string-html-method.js\"); // `String.prototype.fontsize` method\n    // https://tc39.github.io/ecma262/#sec-string.prototype.fontsize\n\n\n    $({\n      target: 'String',\n      proto: true,\n      forced: forcedStringHTMLMethod('fontsize')\n    }, {\n      fontsize: function fontsize(size) {\n        return createHTML(this, 'font', 'size', size);\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.string.from-code-point.js\":\n  /*!*******************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.string.from-code-point.js ***!\n    \\*******************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsStringFromCodePointJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var toAbsoluteIndex = __webpack_require__(\n    /*! ../internals/to-absolute-index */\n    \"./node_modules/core-js/internals/to-absolute-index.js\");\n\n    var fromCharCode = String.fromCharCode;\n    var nativeFromCodePoint = String.fromCodePoint; // length should be 1, old FF problem\n\n    var INCORRECT_LENGTH = !!nativeFromCodePoint && nativeFromCodePoint.length != 1; // `String.fromCodePoint` method\n    // https://tc39.github.io/ecma262/#sec-string.fromcodepoint\n\n    $({\n      target: 'String',\n      stat: true,\n      forced: INCORRECT_LENGTH\n    }, {\n      fromCodePoint: function fromCodePoint(x) {\n        // eslint-disable-line no-unused-vars\n        var elements = [];\n        var length = arguments.length;\n        var i = 0;\n        var code;\n\n        while (length > i) {\n          code = +arguments[i++];\n          if (toAbsoluteIndex(code, 0x10FFFF) !== code) throw RangeError(code + ' is not a valid code point');\n          elements.push(code < 0x10000 ? fromCharCode(code) : fromCharCode(((code -= 0x10000) >> 10) + 0xD800, code % 0x400 + 0xDC00));\n        }\n\n        return elements.join('');\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.string.includes.js\":\n  /*!************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.string.includes.js ***!\n    \\************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsStringIncludesJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var notARegExp = __webpack_require__(\n    /*! ../internals/not-a-regexp */\n    \"./node_modules/core-js/internals/not-a-regexp.js\");\n\n    var requireObjectCoercible = __webpack_require__(\n    /*! ../internals/require-object-coercible */\n    \"./node_modules/core-js/internals/require-object-coercible.js\");\n\n    var correctIsRegExpLogic = __webpack_require__(\n    /*! ../internals/correct-is-regexp-logic */\n    \"./node_modules/core-js/internals/correct-is-regexp-logic.js\"); // `String.prototype.includes` method\n    // https://tc39.github.io/ecma262/#sec-string.prototype.includes\n\n\n    $({\n      target: 'String',\n      proto: true,\n      forced: !correctIsRegExpLogic('includes')\n    }, {\n      includes: function includes(searchString\n      /* , position = 0 */\n      ) {\n        return !!~String(requireObjectCoercible(this)).indexOf(notARegExp(searchString), arguments.length > 1 ? arguments[1] : undefined);\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.string.italics.js\":\n  /*!***********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.string.italics.js ***!\n    \\***********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsStringItalicsJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var createHTML = __webpack_require__(\n    /*! ../internals/create-html */\n    \"./node_modules/core-js/internals/create-html.js\");\n\n    var forcedStringHTMLMethod = __webpack_require__(\n    /*! ../internals/forced-string-html-method */\n    \"./node_modules/core-js/internals/forced-string-html-method.js\"); // `String.prototype.italics` method\n    // https://tc39.github.io/ecma262/#sec-string.prototype.italics\n\n\n    $({\n      target: 'String',\n      proto: true,\n      forced: forcedStringHTMLMethod('italics')\n    }, {\n      italics: function italics() {\n        return createHTML(this, 'i', '', '');\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.string.iterator.js\":\n  /*!************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.string.iterator.js ***!\n    \\************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsStringIteratorJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var charAt = __webpack_require__(\n    /*! ../internals/string-multibyte */\n    \"./node_modules/core-js/internals/string-multibyte.js\").charAt;\n\n    var InternalStateModule = __webpack_require__(\n    /*! ../internals/internal-state */\n    \"./node_modules/core-js/internals/internal-state.js\");\n\n    var defineIterator = __webpack_require__(\n    /*! ../internals/define-iterator */\n    \"./node_modules/core-js/internals/define-iterator.js\");\n\n    var STRING_ITERATOR = 'String Iterator';\n    var setInternalState = InternalStateModule.set;\n    var getInternalState = InternalStateModule.getterFor(STRING_ITERATOR); // `String.prototype[@@iterator]` method\n    // https://tc39.github.io/ecma262/#sec-string.prototype-@@iterator\n\n    defineIterator(String, 'String', function (iterated) {\n      setInternalState(this, {\n        type: STRING_ITERATOR,\n        string: String(iterated),\n        index: 0\n      }); // `%StringIteratorPrototype%.next` method\n      // https://tc39.github.io/ecma262/#sec-%stringiteratorprototype%.next\n    }, function next() {\n      var state = getInternalState(this);\n      var string = state.string;\n      var index = state.index;\n      var point;\n      if (index >= string.length) return {\n        value: undefined,\n        done: true\n      };\n      point = charAt(string, index);\n      state.index += point.length;\n      return {\n        value: point,\n        done: false\n      };\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.string.link.js\":\n  /*!********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.string.link.js ***!\n    \\********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsStringLinkJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var createHTML = __webpack_require__(\n    /*! ../internals/create-html */\n    \"./node_modules/core-js/internals/create-html.js\");\n\n    var forcedStringHTMLMethod = __webpack_require__(\n    /*! ../internals/forced-string-html-method */\n    \"./node_modules/core-js/internals/forced-string-html-method.js\"); // `String.prototype.link` method\n    // https://tc39.github.io/ecma262/#sec-string.prototype.link\n\n\n    $({\n      target: 'String',\n      proto: true,\n      forced: forcedStringHTMLMethod('link')\n    }, {\n      link: function link(url) {\n        return createHTML(this, 'a', 'href', url);\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.string.match.js\":\n  /*!*********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.string.match.js ***!\n    \\*********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsStringMatchJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var fixRegExpWellKnownSymbolLogic = __webpack_require__(\n    /*! ../internals/fix-regexp-well-known-symbol-logic */\n    \"./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js\");\n\n    var anObject = __webpack_require__(\n    /*! ../internals/an-object */\n    \"./node_modules/core-js/internals/an-object.js\");\n\n    var toLength = __webpack_require__(\n    /*! ../internals/to-length */\n    \"./node_modules/core-js/internals/to-length.js\");\n\n    var requireObjectCoercible = __webpack_require__(\n    /*! ../internals/require-object-coercible */\n    \"./node_modules/core-js/internals/require-object-coercible.js\");\n\n    var advanceStringIndex = __webpack_require__(\n    /*! ../internals/advance-string-index */\n    \"./node_modules/core-js/internals/advance-string-index.js\");\n\n    var regExpExec = __webpack_require__(\n    /*! ../internals/regexp-exec-abstract */\n    \"./node_modules/core-js/internals/regexp-exec-abstract.js\"); // @@match logic\n\n\n    fixRegExpWellKnownSymbolLogic('match', 1, function (MATCH, nativeMatch, maybeCallNative) {\n      return [// `String.prototype.match` method\n      // https://tc39.github.io/ecma262/#sec-string.prototype.match\n      function match(regexp) {\n        var O = requireObjectCoercible(this);\n        var matcher = regexp == undefined ? undefined : regexp[MATCH];\n        return matcher !== undefined ? matcher.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));\n      }, // `RegExp.prototype[@@match]` method\n      // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@match\n      function (regexp) {\n        var res = maybeCallNative(nativeMatch, regexp, this);\n        if (res.done) return res.value;\n        var rx = anObject(regexp);\n        var S = String(this);\n        if (!rx.global) return regExpExec(rx, S);\n        var fullUnicode = rx.unicode;\n        rx.lastIndex = 0;\n        var A = [];\n        var n = 0;\n        var result;\n\n        while ((result = regExpExec(rx, S)) !== null) {\n          var matchStr = String(result[0]);\n          A[n] = matchStr;\n          if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n          n++;\n        }\n\n        return n === 0 ? null : A;\n      }];\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.string.raw.js\":\n  /*!*******************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.string.raw.js ***!\n    \\*******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsStringRawJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var toIndexedObject = __webpack_require__(\n    /*! ../internals/to-indexed-object */\n    \"./node_modules/core-js/internals/to-indexed-object.js\");\n\n    var toLength = __webpack_require__(\n    /*! ../internals/to-length */\n    \"./node_modules/core-js/internals/to-length.js\"); // `String.raw` method\n    // https://tc39.github.io/ecma262/#sec-string.raw\n\n\n    $({\n      target: 'String',\n      stat: true\n    }, {\n      raw: function raw(template) {\n        var rawTemplate = toIndexedObject(template.raw);\n        var literalSegments = toLength(rawTemplate.length);\n        var argumentsLength = arguments.length;\n        var elements = [];\n        var i = 0;\n\n        while (literalSegments > i) {\n          elements.push(String(rawTemplate[i++]));\n          if (i < argumentsLength) elements.push(String(arguments[i]));\n        }\n\n        return elements.join('');\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.string.repeat.js\":\n  /*!**********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.string.repeat.js ***!\n    \\**********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsStringRepeatJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var repeat = __webpack_require__(\n    /*! ../internals/string-repeat */\n    \"./node_modules/core-js/internals/string-repeat.js\"); // `String.prototype.repeat` method\n    // https://tc39.github.io/ecma262/#sec-string.prototype.repeat\n\n\n    $({\n      target: 'String',\n      proto: true\n    }, {\n      repeat: repeat\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.string.replace.js\":\n  /*!***********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.string.replace.js ***!\n    \\***********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsStringReplaceJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var fixRegExpWellKnownSymbolLogic = __webpack_require__(\n    /*! ../internals/fix-regexp-well-known-symbol-logic */\n    \"./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js\");\n\n    var anObject = __webpack_require__(\n    /*! ../internals/an-object */\n    \"./node_modules/core-js/internals/an-object.js\");\n\n    var toObject = __webpack_require__(\n    /*! ../internals/to-object */\n    \"./node_modules/core-js/internals/to-object.js\");\n\n    var toLength = __webpack_require__(\n    /*! ../internals/to-length */\n    \"./node_modules/core-js/internals/to-length.js\");\n\n    var toInteger = __webpack_require__(\n    /*! ../internals/to-integer */\n    \"./node_modules/core-js/internals/to-integer.js\");\n\n    var requireObjectCoercible = __webpack_require__(\n    /*! ../internals/require-object-coercible */\n    \"./node_modules/core-js/internals/require-object-coercible.js\");\n\n    var advanceStringIndex = __webpack_require__(\n    /*! ../internals/advance-string-index */\n    \"./node_modules/core-js/internals/advance-string-index.js\");\n\n    var regExpExec = __webpack_require__(\n    /*! ../internals/regexp-exec-abstract */\n    \"./node_modules/core-js/internals/regexp-exec-abstract.js\");\n\n    var max = Math.max;\n    var min = Math.min;\n    var floor = Math.floor;\n    var SUBSTITUTION_SYMBOLS = /\\$([$&'`]|\\d\\d?|<[^>]*>)/g;\n    var SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&'`]|\\d\\d?)/g;\n\n    var maybeToString = function maybeToString(it) {\n      return it === undefined ? it : String(it);\n    }; // @@replace logic\n\n\n    fixRegExpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, maybeCallNative) {\n      return [// `String.prototype.replace` method\n      // https://tc39.github.io/ecma262/#sec-string.prototype.replace\n      function replace(searchValue, replaceValue) {\n        var O = requireObjectCoercible(this);\n        var replacer = searchValue == undefined ? undefined : searchValue[REPLACE];\n        return replacer !== undefined ? replacer.call(searchValue, O, replaceValue) : nativeReplace.call(String(O), searchValue, replaceValue);\n      }, // `RegExp.prototype[@@replace]` method\n      // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace\n      function (regexp, replaceValue) {\n        var res = maybeCallNative(nativeReplace, regexp, this, replaceValue);\n        if (res.done) return res.value;\n        var rx = anObject(regexp);\n        var S = String(this);\n        var functionalReplace = typeof replaceValue === 'function';\n        if (!functionalReplace) replaceValue = String(replaceValue);\n        var global = rx.global;\n\n        if (global) {\n          var fullUnicode = rx.unicode;\n          rx.lastIndex = 0;\n        }\n\n        var results = [];\n\n        while (true) {\n          var result = regExpExec(rx, S);\n          if (result === null) break;\n          results.push(result);\n          if (!global) break;\n          var matchStr = String(result[0]);\n          if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n        }\n\n        var accumulatedResult = '';\n        var nextSourcePosition = 0;\n\n        for (var i = 0; i < results.length; i++) {\n          result = results[i];\n          var matched = String(result[0]);\n          var position = max(min(toInteger(result.index), S.length), 0);\n          var captures = []; // NOTE: This is equivalent to\n          //   captures = result.slice(1).map(maybeToString)\n          // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n          // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n          // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n\n          for (var j = 1; j < result.length; j++) {\n            captures.push(maybeToString(result[j]));\n          }\n\n          var namedCaptures = result.groups;\n\n          if (functionalReplace) {\n            var replacerArgs = [matched].concat(captures, position, S);\n            if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);\n            var replacement = String(replaceValue.apply(undefined, replacerArgs));\n          } else {\n            replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n          }\n\n          if (position >= nextSourcePosition) {\n            accumulatedResult += S.slice(nextSourcePosition, position) + replacement;\n            nextSourcePosition = position + matched.length;\n          }\n        }\n\n        return accumulatedResult + S.slice(nextSourcePosition);\n      }]; // https://tc39.github.io/ecma262/#sec-getsubstitution\n\n      function getSubstitution(matched, str, position, captures, namedCaptures, replacement) {\n        var tailPos = position + matched.length;\n        var m = captures.length;\n        var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n\n        if (namedCaptures !== undefined) {\n          namedCaptures = toObject(namedCaptures);\n          symbols = SUBSTITUTION_SYMBOLS;\n        }\n\n        return nativeReplace.call(replacement, symbols, function (match, ch) {\n          var capture;\n\n          switch (ch.charAt(0)) {\n            case '$':\n              return '$';\n\n            case '&':\n              return matched;\n\n            case '`':\n              return str.slice(0, position);\n\n            case \"'\":\n              return str.slice(tailPos);\n\n            case '<':\n              capture = namedCaptures[ch.slice(1, -1)];\n              break;\n\n            default:\n              // \\d\\d?\n              var n = +ch;\n              if (n === 0) return match;\n\n              if (n > m) {\n                var f = floor(n / 10);\n                if (f === 0) return match;\n                if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);\n                return match;\n              }\n\n              capture = captures[n - 1];\n          }\n\n          return capture === undefined ? '' : capture;\n        });\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.string.search.js\":\n  /*!**********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.string.search.js ***!\n    \\**********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsStringSearchJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var fixRegExpWellKnownSymbolLogic = __webpack_require__(\n    /*! ../internals/fix-regexp-well-known-symbol-logic */\n    \"./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js\");\n\n    var anObject = __webpack_require__(\n    /*! ../internals/an-object */\n    \"./node_modules/core-js/internals/an-object.js\");\n\n    var requireObjectCoercible = __webpack_require__(\n    /*! ../internals/require-object-coercible */\n    \"./node_modules/core-js/internals/require-object-coercible.js\");\n\n    var sameValue = __webpack_require__(\n    /*! ../internals/same-value */\n    \"./node_modules/core-js/internals/same-value.js\");\n\n    var regExpExec = __webpack_require__(\n    /*! ../internals/regexp-exec-abstract */\n    \"./node_modules/core-js/internals/regexp-exec-abstract.js\"); // @@search logic\n\n\n    fixRegExpWellKnownSymbolLogic('search', 1, function (SEARCH, nativeSearch, maybeCallNative) {\n      return [// `String.prototype.search` method\n      // https://tc39.github.io/ecma262/#sec-string.prototype.search\n      function search(regexp) {\n        var O = requireObjectCoercible(this);\n        var searcher = regexp == undefined ? undefined : regexp[SEARCH];\n        return searcher !== undefined ? searcher.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O));\n      }, // `RegExp.prototype[@@search]` method\n      // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@search\n      function (regexp) {\n        var res = maybeCallNative(nativeSearch, regexp, this);\n        if (res.done) return res.value;\n        var rx = anObject(regexp);\n        var S = String(this);\n        var previousLastIndex = rx.lastIndex;\n        if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;\n        var result = regExpExec(rx, S);\n        if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;\n        return result === null ? -1 : result.index;\n      }];\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.string.small.js\":\n  /*!*********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.string.small.js ***!\n    \\*********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsStringSmallJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var createHTML = __webpack_require__(\n    /*! ../internals/create-html */\n    \"./node_modules/core-js/internals/create-html.js\");\n\n    var forcedStringHTMLMethod = __webpack_require__(\n    /*! ../internals/forced-string-html-method */\n    \"./node_modules/core-js/internals/forced-string-html-method.js\"); // `String.prototype.small` method\n    // https://tc39.github.io/ecma262/#sec-string.prototype.small\n\n\n    $({\n      target: 'String',\n      proto: true,\n      forced: forcedStringHTMLMethod('small')\n    }, {\n      small: function small() {\n        return createHTML(this, 'small', '', '');\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.string.split.js\":\n  /*!*********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.string.split.js ***!\n    \\*********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsStringSplitJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var fixRegExpWellKnownSymbolLogic = __webpack_require__(\n    /*! ../internals/fix-regexp-well-known-symbol-logic */\n    \"./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js\");\n\n    var isRegExp = __webpack_require__(\n    /*! ../internals/is-regexp */\n    \"./node_modules/core-js/internals/is-regexp.js\");\n\n    var anObject = __webpack_require__(\n    /*! ../internals/an-object */\n    \"./node_modules/core-js/internals/an-object.js\");\n\n    var requireObjectCoercible = __webpack_require__(\n    /*! ../internals/require-object-coercible */\n    \"./node_modules/core-js/internals/require-object-coercible.js\");\n\n    var speciesConstructor = __webpack_require__(\n    /*! ../internals/species-constructor */\n    \"./node_modules/core-js/internals/species-constructor.js\");\n\n    var advanceStringIndex = __webpack_require__(\n    /*! ../internals/advance-string-index */\n    \"./node_modules/core-js/internals/advance-string-index.js\");\n\n    var toLength = __webpack_require__(\n    /*! ../internals/to-length */\n    \"./node_modules/core-js/internals/to-length.js\");\n\n    var callRegExpExec = __webpack_require__(\n    /*! ../internals/regexp-exec-abstract */\n    \"./node_modules/core-js/internals/regexp-exec-abstract.js\");\n\n    var regexpExec = __webpack_require__(\n    /*! ../internals/regexp-exec */\n    \"./node_modules/core-js/internals/regexp-exec.js\");\n\n    var fails = __webpack_require__(\n    /*! ../internals/fails */\n    \"./node_modules/core-js/internals/fails.js\");\n\n    var arrayPush = [].push;\n    var min = Math.min;\n    var MAX_UINT32 = 0xFFFFFFFF; // babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError\n\n    var SUPPORTS_Y = !fails(function () {\n      return !RegExp(MAX_UINT32, 'y');\n    }); // @@split logic\n\n    fixRegExpWellKnownSymbolLogic('split', 2, function (SPLIT, nativeSplit, maybeCallNative) {\n      var internalSplit;\n\n      if ('abbc'.split(/(b)*/)[1] == 'c' || 'test'.split(/(?:)/, -1).length != 4 || 'ab'.split(/(?:ab)*/).length != 2 || '.'.split(/(.?)(.?)/).length != 4 || '.'.split(/()()/).length > 1 || ''.split(/.?/).length) {\n        // based on es5-shim implementation, need to rework it\n        internalSplit = function internalSplit(separator, limit) {\n          var string = String(requireObjectCoercible(this));\n          var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n          if (lim === 0) return [];\n          if (separator === undefined) return [string]; // If `separator` is not a regex, use native split\n\n          if (!isRegExp(separator)) {\n            return nativeSplit.call(string, separator, lim);\n          }\n\n          var output = [];\n          var flags = (separator.ignoreCase ? 'i' : '') + (separator.multiline ? 'm' : '') + (separator.unicode ? 'u' : '') + (separator.sticky ? 'y' : '');\n          var lastLastIndex = 0; // Make `global` and avoid `lastIndex` issues by working with a copy\n\n          var separatorCopy = new RegExp(separator.source, flags + 'g');\n          var match, lastIndex, lastLength;\n\n          while (match = regexpExec.call(separatorCopy, string)) {\n            lastIndex = separatorCopy.lastIndex;\n\n            if (lastIndex > lastLastIndex) {\n              output.push(string.slice(lastLastIndex, match.index));\n              if (match.length > 1 && match.index < string.length) arrayPush.apply(output, match.slice(1));\n              lastLength = match[0].length;\n              lastLastIndex = lastIndex;\n              if (output.length >= lim) break;\n            }\n\n            if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop\n          }\n\n          if (lastLastIndex === string.length) {\n            if (lastLength || !separatorCopy.test('')) output.push('');\n          } else output.push(string.slice(lastLastIndex));\n\n          return output.length > lim ? output.slice(0, lim) : output;\n        }; // Chakra, V8\n\n      } else if ('0'.split(undefined, 0).length) {\n        internalSplit = function internalSplit(separator, limit) {\n          return separator === undefined && limit === 0 ? [] : nativeSplit.call(this, separator, limit);\n        };\n      } else internalSplit = nativeSplit;\n\n      return [// `String.prototype.split` method\n      // https://tc39.github.io/ecma262/#sec-string.prototype.split\n      function split(separator, limit) {\n        var O = requireObjectCoercible(this);\n        var splitter = separator == undefined ? undefined : separator[SPLIT];\n        return splitter !== undefined ? splitter.call(separator, O, limit) : internalSplit.call(String(O), separator, limit);\n      }, // `RegExp.prototype[@@split]` method\n      // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split\n      //\n      // NOTE: This cannot be properly polyfilled in engines that don't support\n      // the 'y' flag.\n      function (regexp, limit) {\n        var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== nativeSplit);\n        if (res.done) return res.value;\n        var rx = anObject(regexp);\n        var S = String(this);\n        var C = speciesConstructor(rx, RegExp);\n        var unicodeMatching = rx.unicode;\n        var flags = (rx.ignoreCase ? 'i' : '') + (rx.multiline ? 'm' : '') + (rx.unicode ? 'u' : '') + (SUPPORTS_Y ? 'y' : 'g'); // ^(? + rx + ) is needed, in combination with some S slicing, to\n        // simulate the 'y' flag.\n\n        var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags);\n        var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n        if (lim === 0) return [];\n        if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];\n        var p = 0;\n        var q = 0;\n        var A = [];\n\n        while (q < S.length) {\n          splitter.lastIndex = SUPPORTS_Y ? q : 0;\n          var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q));\n          var e;\n\n          if (z === null || (e = min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p) {\n            q = advanceStringIndex(S, q, unicodeMatching);\n          } else {\n            A.push(S.slice(p, q));\n            if (A.length === lim) return A;\n\n            for (var i = 1; i <= z.length - 1; i++) {\n              A.push(z[i]);\n              if (A.length === lim) return A;\n            }\n\n            q = p = e;\n          }\n        }\n\n        A.push(S.slice(p));\n        return A;\n      }];\n    }, !SUPPORTS_Y);\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.string.starts-with.js\":\n  /*!***************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.string.starts-with.js ***!\n    \\***************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsStringStartsWithJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var toLength = __webpack_require__(\n    /*! ../internals/to-length */\n    \"./node_modules/core-js/internals/to-length.js\");\n\n    var notARegExp = __webpack_require__(\n    /*! ../internals/not-a-regexp */\n    \"./node_modules/core-js/internals/not-a-regexp.js\");\n\n    var requireObjectCoercible = __webpack_require__(\n    /*! ../internals/require-object-coercible */\n    \"./node_modules/core-js/internals/require-object-coercible.js\");\n\n    var correctIsRegExpLogic = __webpack_require__(\n    /*! ../internals/correct-is-regexp-logic */\n    \"./node_modules/core-js/internals/correct-is-regexp-logic.js\");\n\n    var nativeStartsWith = ''.startsWith;\n    var min = Math.min; // `String.prototype.startsWith` method\n    // https://tc39.github.io/ecma262/#sec-string.prototype.startswith\n\n    $({\n      target: 'String',\n      proto: true,\n      forced: !correctIsRegExpLogic('startsWith')\n    }, {\n      startsWith: function startsWith(searchString\n      /* , position = 0 */\n      ) {\n        var that = String(requireObjectCoercible(this));\n        notARegExp(searchString);\n        var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length));\n        var search = String(searchString);\n        return nativeStartsWith ? nativeStartsWith.call(that, search, index) : that.slice(index, index + search.length) === search;\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.string.strike.js\":\n  /*!**********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.string.strike.js ***!\n    \\**********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsStringStrikeJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var createHTML = __webpack_require__(\n    /*! ../internals/create-html */\n    \"./node_modules/core-js/internals/create-html.js\");\n\n    var forcedStringHTMLMethod = __webpack_require__(\n    /*! ../internals/forced-string-html-method */\n    \"./node_modules/core-js/internals/forced-string-html-method.js\"); // `String.prototype.strike` method\n    // https://tc39.github.io/ecma262/#sec-string.prototype.strike\n\n\n    $({\n      target: 'String',\n      proto: true,\n      forced: forcedStringHTMLMethod('strike')\n    }, {\n      strike: function strike() {\n        return createHTML(this, 'strike', '', '');\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.string.sub.js\":\n  /*!*******************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.string.sub.js ***!\n    \\*******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsStringSubJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var createHTML = __webpack_require__(\n    /*! ../internals/create-html */\n    \"./node_modules/core-js/internals/create-html.js\");\n\n    var forcedStringHTMLMethod = __webpack_require__(\n    /*! ../internals/forced-string-html-method */\n    \"./node_modules/core-js/internals/forced-string-html-method.js\"); // `String.prototype.sub` method\n    // https://tc39.github.io/ecma262/#sec-string.prototype.sub\n\n\n    $({\n      target: 'String',\n      proto: true,\n      forced: forcedStringHTMLMethod('sub')\n    }, {\n      sub: function sub() {\n        return createHTML(this, 'sub', '', '');\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.string.sup.js\":\n  /*!*******************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.string.sup.js ***!\n    \\*******************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsStringSupJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var createHTML = __webpack_require__(\n    /*! ../internals/create-html */\n    \"./node_modules/core-js/internals/create-html.js\");\n\n    var forcedStringHTMLMethod = __webpack_require__(\n    /*! ../internals/forced-string-html-method */\n    \"./node_modules/core-js/internals/forced-string-html-method.js\"); // `String.prototype.sup` method\n    // https://tc39.github.io/ecma262/#sec-string.prototype.sup\n\n\n    $({\n      target: 'String',\n      proto: true,\n      forced: forcedStringHTMLMethod('sup')\n    }, {\n      sup: function sup() {\n        return createHTML(this, 'sup', '', '');\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.string.trim.js\":\n  /*!********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.string.trim.js ***!\n    \\********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsStringTrimJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var $trim = __webpack_require__(\n    /*! ../internals/string-trim */\n    \"./node_modules/core-js/internals/string-trim.js\").trim;\n\n    var forcedStringTrimMethod = __webpack_require__(\n    /*! ../internals/forced-string-trim-method */\n    \"./node_modules/core-js/internals/forced-string-trim-method.js\"); // `String.prototype.trim` method\n    // https://tc39.github.io/ecma262/#sec-string.prototype.trim\n\n\n    $({\n      target: 'String',\n      proto: true,\n      forced: forcedStringTrimMethod('trim')\n    }, {\n      trim: function trim() {\n        return $trim(this);\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.symbol.async-iterator.js\":\n  /*!******************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.symbol.async-iterator.js ***!\n    \\******************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsSymbolAsyncIteratorJs(module, exports, __webpack_require__) {\n    var defineWellKnownSymbol = __webpack_require__(\n    /*! ../internals/define-well-known-symbol */\n    \"./node_modules/core-js/internals/define-well-known-symbol.js\"); // `Symbol.asyncIterator` well-known symbol\n    // https://tc39.github.io/ecma262/#sec-symbol.asynciterator\n\n\n    defineWellKnownSymbol('asyncIterator');\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.symbol.description.js\":\n  /*!***************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.symbol.description.js ***!\n    \\***************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsSymbolDescriptionJs(module, exports, __webpack_require__) {\n    \"use strict\"; // `Symbol.prototype.description` getter\n    // https://tc39.github.io/ecma262/#sec-symbol.prototype.description\n\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var DESCRIPTORS = __webpack_require__(\n    /*! ../internals/descriptors */\n    \"./node_modules/core-js/internals/descriptors.js\");\n\n    var global = __webpack_require__(\n    /*! ../internals/global */\n    \"./node_modules/core-js/internals/global.js\");\n\n    var has = __webpack_require__(\n    /*! ../internals/has */\n    \"./node_modules/core-js/internals/has.js\");\n\n    var isObject = __webpack_require__(\n    /*! ../internals/is-object */\n    \"./node_modules/core-js/internals/is-object.js\");\n\n    var defineProperty = __webpack_require__(\n    /*! ../internals/object-define-property */\n    \"./node_modules/core-js/internals/object-define-property.js\").f;\n\n    var copyConstructorProperties = __webpack_require__(\n    /*! ../internals/copy-constructor-properties */\n    \"./node_modules/core-js/internals/copy-constructor-properties.js\");\n\n    var NativeSymbol = global.Symbol;\n\n    if (DESCRIPTORS && typeof NativeSymbol == 'function' && (!('description' in NativeSymbol.prototype) || // Safari 12 bug\n    NativeSymbol().description !== undefined)) {\n      var EmptyStringDescriptionStore = {}; // wrap Symbol constructor for correct work with undefined description\n\n      var SymbolWrapper = function Symbol() {\n        var description = arguments.length < 1 || arguments[0] === undefined ? undefined : String(arguments[0]);\n        var result = this instanceof SymbolWrapper ? new NativeSymbol(description) // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'\n        : description === undefined ? NativeSymbol() : NativeSymbol(description);\n        if (description === '') EmptyStringDescriptionStore[result] = true;\n        return result;\n      };\n\n      copyConstructorProperties(SymbolWrapper, NativeSymbol);\n      var symbolPrototype = SymbolWrapper.prototype = NativeSymbol.prototype;\n      symbolPrototype.constructor = SymbolWrapper;\n      var symbolToString = symbolPrototype.toString;\n      var native = String(NativeSymbol('test')) == 'Symbol(test)';\n      var regexp = /^Symbol\\((.*)\\)[^)]+$/;\n      defineProperty(symbolPrototype, 'description', {\n        configurable: true,\n        get: function description() {\n          var symbol = isObject(this) ? this.valueOf() : this;\n          var string = symbolToString.call(symbol);\n          if (has(EmptyStringDescriptionStore, symbol)) return '';\n          var desc = native ? string.slice(7, -1) : string.replace(regexp, '$1');\n          return desc === '' ? undefined : desc;\n        }\n      });\n      $({\n        global: true,\n        forced: true\n      }, {\n        Symbol: SymbolWrapper\n      });\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.symbol.has-instance.js\":\n  /*!****************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.symbol.has-instance.js ***!\n    \\****************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsSymbolHasInstanceJs(module, exports, __webpack_require__) {\n    var defineWellKnownSymbol = __webpack_require__(\n    /*! ../internals/define-well-known-symbol */\n    \"./node_modules/core-js/internals/define-well-known-symbol.js\"); // `Symbol.hasInstance` well-known symbol\n    // https://tc39.github.io/ecma262/#sec-symbol.hasinstance\n\n\n    defineWellKnownSymbol('hasInstance');\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.symbol.is-concat-spreadable.js\":\n  /*!************************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.symbol.is-concat-spreadable.js ***!\n    \\************************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsSymbolIsConcatSpreadableJs(module, exports, __webpack_require__) {\n    var defineWellKnownSymbol = __webpack_require__(\n    /*! ../internals/define-well-known-symbol */\n    \"./node_modules/core-js/internals/define-well-known-symbol.js\"); // `Symbol.isConcatSpreadable` well-known symbol\n    // https://tc39.github.io/ecma262/#sec-symbol.isconcatspreadable\n\n\n    defineWellKnownSymbol('isConcatSpreadable');\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.symbol.iterator.js\":\n  /*!************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.symbol.iterator.js ***!\n    \\************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsSymbolIteratorJs(module, exports, __webpack_require__) {\n    var defineWellKnownSymbol = __webpack_require__(\n    /*! ../internals/define-well-known-symbol */\n    \"./node_modules/core-js/internals/define-well-known-symbol.js\"); // `Symbol.iterator` well-known symbol\n    // https://tc39.github.io/ecma262/#sec-symbol.iterator\n\n\n    defineWellKnownSymbol('iterator');\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.symbol.js\":\n  /*!***************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.symbol.js ***!\n    \\***************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsSymbolJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var global = __webpack_require__(\n    /*! ../internals/global */\n    \"./node_modules/core-js/internals/global.js\");\n\n    var IS_PURE = __webpack_require__(\n    /*! ../internals/is-pure */\n    \"./node_modules/core-js/internals/is-pure.js\");\n\n    var DESCRIPTORS = __webpack_require__(\n    /*! ../internals/descriptors */\n    \"./node_modules/core-js/internals/descriptors.js\");\n\n    var NATIVE_SYMBOL = __webpack_require__(\n    /*! ../internals/native-symbol */\n    \"./node_modules/core-js/internals/native-symbol.js\");\n\n    var fails = __webpack_require__(\n    /*! ../internals/fails */\n    \"./node_modules/core-js/internals/fails.js\");\n\n    var has = __webpack_require__(\n    /*! ../internals/has */\n    \"./node_modules/core-js/internals/has.js\");\n\n    var isArray = __webpack_require__(\n    /*! ../internals/is-array */\n    \"./node_modules/core-js/internals/is-array.js\");\n\n    var isObject = __webpack_require__(\n    /*! ../internals/is-object */\n    \"./node_modules/core-js/internals/is-object.js\");\n\n    var anObject = __webpack_require__(\n    /*! ../internals/an-object */\n    \"./node_modules/core-js/internals/an-object.js\");\n\n    var toObject = __webpack_require__(\n    /*! ../internals/to-object */\n    \"./node_modules/core-js/internals/to-object.js\");\n\n    var toIndexedObject = __webpack_require__(\n    /*! ../internals/to-indexed-object */\n    \"./node_modules/core-js/internals/to-indexed-object.js\");\n\n    var toPrimitive = __webpack_require__(\n    /*! ../internals/to-primitive */\n    \"./node_modules/core-js/internals/to-primitive.js\");\n\n    var createPropertyDescriptor = __webpack_require__(\n    /*! ../internals/create-property-descriptor */\n    \"./node_modules/core-js/internals/create-property-descriptor.js\");\n\n    var nativeObjectCreate = __webpack_require__(\n    /*! ../internals/object-create */\n    \"./node_modules/core-js/internals/object-create.js\");\n\n    var objectKeys = __webpack_require__(\n    /*! ../internals/object-keys */\n    \"./node_modules/core-js/internals/object-keys.js\");\n\n    var getOwnPropertyNamesModule = __webpack_require__(\n    /*! ../internals/object-get-own-property-names */\n    \"./node_modules/core-js/internals/object-get-own-property-names.js\");\n\n    var getOwnPropertyNamesExternal = __webpack_require__(\n    /*! ../internals/object-get-own-property-names-external */\n    \"./node_modules/core-js/internals/object-get-own-property-names-external.js\");\n\n    var getOwnPropertySymbolsModule = __webpack_require__(\n    /*! ../internals/object-get-own-property-symbols */\n    \"./node_modules/core-js/internals/object-get-own-property-symbols.js\");\n\n    var getOwnPropertyDescriptorModule = __webpack_require__(\n    /*! ../internals/object-get-own-property-descriptor */\n    \"./node_modules/core-js/internals/object-get-own-property-descriptor.js\");\n\n    var definePropertyModule = __webpack_require__(\n    /*! ../internals/object-define-property */\n    \"./node_modules/core-js/internals/object-define-property.js\");\n\n    var propertyIsEnumerableModule = __webpack_require__(\n    /*! ../internals/object-property-is-enumerable */\n    \"./node_modules/core-js/internals/object-property-is-enumerable.js\");\n\n    var hide = __webpack_require__(\n    /*! ../internals/hide */\n    \"./node_modules/core-js/internals/hide.js\");\n\n    var redefine = __webpack_require__(\n    /*! ../internals/redefine */\n    \"./node_modules/core-js/internals/redefine.js\");\n\n    var shared = __webpack_require__(\n    /*! ../internals/shared */\n    \"./node_modules/core-js/internals/shared.js\");\n\n    var sharedKey = __webpack_require__(\n    /*! ../internals/shared-key */\n    \"./node_modules/core-js/internals/shared-key.js\");\n\n    var hiddenKeys = __webpack_require__(\n    /*! ../internals/hidden-keys */\n    \"./node_modules/core-js/internals/hidden-keys.js\");\n\n    var uid = __webpack_require__(\n    /*! ../internals/uid */\n    \"./node_modules/core-js/internals/uid.js\");\n\n    var wellKnownSymbol = __webpack_require__(\n    /*! ../internals/well-known-symbol */\n    \"./node_modules/core-js/internals/well-known-symbol.js\");\n\n    var wrappedWellKnownSymbolModule = __webpack_require__(\n    /*! ../internals/wrapped-well-known-symbol */\n    \"./node_modules/core-js/internals/wrapped-well-known-symbol.js\");\n\n    var defineWellKnownSymbol = __webpack_require__(\n    /*! ../internals/define-well-known-symbol */\n    \"./node_modules/core-js/internals/define-well-known-symbol.js\");\n\n    var setToStringTag = __webpack_require__(\n    /*! ../internals/set-to-string-tag */\n    \"./node_modules/core-js/internals/set-to-string-tag.js\");\n\n    var InternalStateModule = __webpack_require__(\n    /*! ../internals/internal-state */\n    \"./node_modules/core-js/internals/internal-state.js\");\n\n    var $forEach = __webpack_require__(\n    /*! ../internals/array-iteration */\n    \"./node_modules/core-js/internals/array-iteration.js\").forEach;\n\n    var HIDDEN = sharedKey('hidden');\n    var SYMBOL = 'Symbol';\n    var PROTOTYPE = 'prototype';\n    var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n    var setInternalState = InternalStateModule.set;\n    var getInternalState = InternalStateModule.getterFor(SYMBOL);\n    var ObjectPrototype = Object[PROTOTYPE];\n    var $Symbol = global.Symbol;\n    var JSON = global.JSON;\n    var nativeJSONStringify = JSON && JSON.stringify;\n    var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n    var nativeDefineProperty = definePropertyModule.f;\n    var nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f;\n    var nativePropertyIsEnumerable = propertyIsEnumerableModule.f;\n    var AllSymbols = shared('symbols');\n    var ObjectPrototypeSymbols = shared('op-symbols');\n    var StringToSymbolRegistry = shared('string-to-symbol-registry');\n    var SymbolToStringRegistry = shared('symbol-to-string-registry');\n    var WellKnownSymbolsStore = shared('wks');\n    var QObject = global.QObject; // Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\n\n    var USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild; // fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\n\n    var setSymbolDescriptor = DESCRIPTORS && fails(function () {\n      return nativeObjectCreate(nativeDefineProperty({}, 'a', {\n        get: function get() {\n          return nativeDefineProperty(this, 'a', {\n            value: 7\n          }).a;\n        }\n      })).a != 7;\n    }) ? function (O, P, Attributes) {\n      var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, P);\n      if (ObjectPrototypeDescriptor) delete ObjectPrototype[P];\n      nativeDefineProperty(O, P, Attributes);\n\n      if (ObjectPrototypeDescriptor && O !== ObjectPrototype) {\n        nativeDefineProperty(ObjectPrototype, P, ObjectPrototypeDescriptor);\n      }\n    } : nativeDefineProperty;\n\n    var wrap = function wrap(tag, description) {\n      var symbol = AllSymbols[tag] = nativeObjectCreate($Symbol[PROTOTYPE]);\n      setInternalState(symbol, {\n        type: SYMBOL,\n        tag: tag,\n        description: description\n      });\n      if (!DESCRIPTORS) symbol.description = description;\n      return symbol;\n    };\n\n    var isSymbol = NATIVE_SYMBOL && typeof $Symbol.iterator == 'symbol' ? function (it) {\n      return typeof it == 'symbol';\n    } : function (it) {\n      return Object(it) instanceof $Symbol;\n    };\n\n    var $defineProperty = function defineProperty(O, P, Attributes) {\n      if (O === ObjectPrototype) $defineProperty(ObjectPrototypeSymbols, P, Attributes);\n      anObject(O);\n      var key = toPrimitive(P, true);\n      anObject(Attributes);\n\n      if (has(AllSymbols, key)) {\n        if (!Attributes.enumerable) {\n          if (!has(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, {}));\n          O[HIDDEN][key] = true;\n        } else {\n          if (has(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false;\n          Attributes = nativeObjectCreate(Attributes, {\n            enumerable: createPropertyDescriptor(0, false)\n          });\n        }\n\n        return setSymbolDescriptor(O, key, Attributes);\n      }\n\n      return nativeDefineProperty(O, key, Attributes);\n    };\n\n    var $defineProperties = function defineProperties(O, Properties) {\n      anObject(O);\n      var properties = toIndexedObject(Properties);\n      var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties));\n      $forEach(keys, function (key) {\n        if (!DESCRIPTORS || $propertyIsEnumerable.call(properties, key)) $defineProperty(O, key, properties[key]);\n      });\n      return O;\n    };\n\n    var $create = function create(O, Properties) {\n      return Properties === undefined ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties);\n    };\n\n    var $propertyIsEnumerable = function propertyIsEnumerable(V) {\n      var P = toPrimitive(V, true);\n      var enumerable = nativePropertyIsEnumerable.call(this, P);\n      if (this === ObjectPrototype && has(AllSymbols, P) && !has(ObjectPrototypeSymbols, P)) return false;\n      return enumerable || !has(this, P) || !has(AllSymbols, P) || has(this, HIDDEN) && this[HIDDEN][P] ? enumerable : true;\n    };\n\n    var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) {\n      var it = toIndexedObject(O);\n      var key = toPrimitive(P, true);\n      if (it === ObjectPrototype && has(AllSymbols, key) && !has(ObjectPrototypeSymbols, key)) return;\n      var descriptor = nativeGetOwnPropertyDescriptor(it, key);\n\n      if (descriptor && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) {\n        descriptor.enumerable = true;\n      }\n\n      return descriptor;\n    };\n\n    var $getOwnPropertyNames = function getOwnPropertyNames(O) {\n      var names = nativeGetOwnPropertyNames(toIndexedObject(O));\n      var result = [];\n      $forEach(names, function (key) {\n        if (!has(AllSymbols, key) && !has(hiddenKeys, key)) result.push(key);\n      });\n      return result;\n    };\n\n    var $getOwnPropertySymbols = function getOwnPropertySymbols(O) {\n      var IS_OBJECT_PROTOTYPE = O === ObjectPrototype;\n      var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O));\n      var result = [];\n      $forEach(names, function (key) {\n        if (has(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || has(ObjectPrototype, key))) {\n          result.push(AllSymbols[key]);\n        }\n      });\n      return result;\n    }; // `Symbol` constructor\n    // https://tc39.github.io/ecma262/#sec-symbol-constructor\n\n\n    if (!NATIVE_SYMBOL) {\n      $Symbol = function Symbol() {\n        if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor');\n        var description = !arguments.length || arguments[0] === undefined ? undefined : String(arguments[0]);\n        var tag = uid(description);\n\n        var setter = function setter(value) {\n          if (this === ObjectPrototype) setter.call(ObjectPrototypeSymbols, value);\n          if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;\n          setSymbolDescriptor(this, tag, createPropertyDescriptor(1, value));\n        };\n\n        if (DESCRIPTORS && USE_SETTER) setSymbolDescriptor(ObjectPrototype, tag, {\n          configurable: true,\n          set: setter\n        });\n        return wrap(tag, description);\n      };\n\n      redefine($Symbol[PROTOTYPE], 'toString', function toString() {\n        return getInternalState(this).tag;\n      });\n      propertyIsEnumerableModule.f = $propertyIsEnumerable;\n      definePropertyModule.f = $defineProperty;\n      getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor;\n      getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames;\n      getOwnPropertySymbolsModule.f = $getOwnPropertySymbols;\n\n      if (DESCRIPTORS) {\n        // https://github.com/tc39/proposal-Symbol-description\n        nativeDefineProperty($Symbol[PROTOTYPE], 'description', {\n          configurable: true,\n          get: function description() {\n            return getInternalState(this).description;\n          }\n        });\n\n        if (!IS_PURE) {\n          redefine(ObjectPrototype, 'propertyIsEnumerable', $propertyIsEnumerable, {\n            unsafe: true\n          });\n        }\n      }\n\n      wrappedWellKnownSymbolModule.f = function (name) {\n        return wrap(wellKnownSymbol(name), name);\n      };\n    }\n\n    $({\n      global: true,\n      wrap: true,\n      forced: !NATIVE_SYMBOL,\n      sham: !NATIVE_SYMBOL\n    }, {\n      Symbol: $Symbol\n    });\n    $forEach(objectKeys(WellKnownSymbolsStore), function (name) {\n      defineWellKnownSymbol(name);\n    });\n    $({\n      target: SYMBOL,\n      stat: true,\n      forced: !NATIVE_SYMBOL\n    }, {\n      // `Symbol.for` method\n      // https://tc39.github.io/ecma262/#sec-symbol.for\n      'for': function _for(key) {\n        var string = String(key);\n        if (has(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string];\n        var symbol = $Symbol(string);\n        StringToSymbolRegistry[string] = symbol;\n        SymbolToStringRegistry[symbol] = string;\n        return symbol;\n      },\n      // `Symbol.keyFor` method\n      // https://tc39.github.io/ecma262/#sec-symbol.keyfor\n      keyFor: function keyFor(sym) {\n        if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol');\n        if (has(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym];\n      },\n      useSetter: function useSetter() {\n        USE_SETTER = true;\n      },\n      useSimple: function useSimple() {\n        USE_SETTER = false;\n      }\n    });\n    $({\n      target: 'Object',\n      stat: true,\n      forced: !NATIVE_SYMBOL,\n      sham: !DESCRIPTORS\n    }, {\n      // `Object.create` method\n      // https://tc39.github.io/ecma262/#sec-object.create\n      create: $create,\n      // `Object.defineProperty` method\n      // https://tc39.github.io/ecma262/#sec-object.defineproperty\n      defineProperty: $defineProperty,\n      // `Object.defineProperties` method\n      // https://tc39.github.io/ecma262/#sec-object.defineproperties\n      defineProperties: $defineProperties,\n      // `Object.getOwnPropertyDescriptor` method\n      // https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptors\n      getOwnPropertyDescriptor: $getOwnPropertyDescriptor\n    });\n    $({\n      target: 'Object',\n      stat: true,\n      forced: !NATIVE_SYMBOL\n    }, {\n      // `Object.getOwnPropertyNames` method\n      // https://tc39.github.io/ecma262/#sec-object.getownpropertynames\n      getOwnPropertyNames: $getOwnPropertyNames,\n      // `Object.getOwnPropertySymbols` method\n      // https://tc39.github.io/ecma262/#sec-object.getownpropertysymbols\n      getOwnPropertySymbols: $getOwnPropertySymbols\n    }); // Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives\n    // https://bugs.chromium.org/p/v8/issues/detail?id=3443\n\n    $({\n      target: 'Object',\n      stat: true,\n      forced: fails(function () {\n        getOwnPropertySymbolsModule.f(1);\n      })\n    }, {\n      getOwnPropertySymbols: function getOwnPropertySymbols(it) {\n        return getOwnPropertySymbolsModule.f(toObject(it));\n      }\n    }); // `JSON.stringify` method behavior with symbols\n    // https://tc39.github.io/ecma262/#sec-json.stringify\n\n    JSON && $({\n      target: 'JSON',\n      stat: true,\n      forced: !NATIVE_SYMBOL || fails(function () {\n        var symbol = $Symbol(); // MS Edge converts symbol values to JSON as {}\n\n        return nativeJSONStringify([symbol]) != '[null]' // WebKit converts symbol values to JSON as null\n        || nativeJSONStringify({\n          a: symbol\n        }) != '{}' // V8 throws on boxed symbols\n        || nativeJSONStringify(Object(symbol)) != '{}';\n      })\n    }, {\n      stringify: function stringify(it) {\n        var args = [it];\n        var index = 1;\n        var replacer, $replacer;\n\n        while (arguments.length > index) {\n          args.push(arguments[index++]);\n        }\n\n        $replacer = replacer = args[1];\n        if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined\n\n        if (!isArray(replacer)) replacer = function replacer(key, value) {\n          if (typeof $replacer == 'function') value = $replacer.call(this, key, value);\n          if (!isSymbol(value)) return value;\n        };\n        args[1] = replacer;\n        return nativeJSONStringify.apply(JSON, args);\n      }\n    }); // `Symbol.prototype[@@toPrimitive]` method\n    // https://tc39.github.io/ecma262/#sec-symbol.prototype-@@toprimitive\n\n    if (!$Symbol[PROTOTYPE][TO_PRIMITIVE]) hide($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf); // `Symbol.prototype[@@toStringTag]` property\n    // https://tc39.github.io/ecma262/#sec-symbol.prototype-@@tostringtag\n\n    setToStringTag($Symbol, SYMBOL);\n    hiddenKeys[HIDDEN] = true;\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.symbol.match-all.js\":\n  /*!*************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.symbol.match-all.js ***!\n    \\*************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsSymbolMatchAllJs(module, exports, __webpack_require__) {\n    var defineWellKnownSymbol = __webpack_require__(\n    /*! ../internals/define-well-known-symbol */\n    \"./node_modules/core-js/internals/define-well-known-symbol.js\"); // `Symbol.matchAll` well-known symbol\n\n\n    defineWellKnownSymbol('matchAll');\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.symbol.match.js\":\n  /*!*********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.symbol.match.js ***!\n    \\*********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsSymbolMatchJs(module, exports, __webpack_require__) {\n    var defineWellKnownSymbol = __webpack_require__(\n    /*! ../internals/define-well-known-symbol */\n    \"./node_modules/core-js/internals/define-well-known-symbol.js\"); // `Symbol.match` well-known symbol\n    // https://tc39.github.io/ecma262/#sec-symbol.match\n\n\n    defineWellKnownSymbol('match');\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.symbol.replace.js\":\n  /*!***********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.symbol.replace.js ***!\n    \\***********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsSymbolReplaceJs(module, exports, __webpack_require__) {\n    var defineWellKnownSymbol = __webpack_require__(\n    /*! ../internals/define-well-known-symbol */\n    \"./node_modules/core-js/internals/define-well-known-symbol.js\"); // `Symbol.replace` well-known symbol\n    // https://tc39.github.io/ecma262/#sec-symbol.replace\n\n\n    defineWellKnownSymbol('replace');\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.symbol.search.js\":\n  /*!**********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.symbol.search.js ***!\n    \\**********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsSymbolSearchJs(module, exports, __webpack_require__) {\n    var defineWellKnownSymbol = __webpack_require__(\n    /*! ../internals/define-well-known-symbol */\n    \"./node_modules/core-js/internals/define-well-known-symbol.js\"); // `Symbol.search` well-known symbol\n    // https://tc39.github.io/ecma262/#sec-symbol.search\n\n\n    defineWellKnownSymbol('search');\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.symbol.species.js\":\n  /*!***********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.symbol.species.js ***!\n    \\***********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsSymbolSpeciesJs(module, exports, __webpack_require__) {\n    var defineWellKnownSymbol = __webpack_require__(\n    /*! ../internals/define-well-known-symbol */\n    \"./node_modules/core-js/internals/define-well-known-symbol.js\"); // `Symbol.species` well-known symbol\n    // https://tc39.github.io/ecma262/#sec-symbol.species\n\n\n    defineWellKnownSymbol('species');\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.symbol.split.js\":\n  /*!*********************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.symbol.split.js ***!\n    \\*********************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsSymbolSplitJs(module, exports, __webpack_require__) {\n    var defineWellKnownSymbol = __webpack_require__(\n    /*! ../internals/define-well-known-symbol */\n    \"./node_modules/core-js/internals/define-well-known-symbol.js\"); // `Symbol.split` well-known symbol\n    // https://tc39.github.io/ecma262/#sec-symbol.split\n\n\n    defineWellKnownSymbol('split');\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.symbol.to-primitive.js\":\n  /*!****************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.symbol.to-primitive.js ***!\n    \\****************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsSymbolToPrimitiveJs(module, exports, __webpack_require__) {\n    var defineWellKnownSymbol = __webpack_require__(\n    /*! ../internals/define-well-known-symbol */\n    \"./node_modules/core-js/internals/define-well-known-symbol.js\"); // `Symbol.toPrimitive` well-known symbol\n    // https://tc39.github.io/ecma262/#sec-symbol.toprimitive\n\n\n    defineWellKnownSymbol('toPrimitive');\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.symbol.to-string-tag.js\":\n  /*!*****************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.symbol.to-string-tag.js ***!\n    \\*****************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsSymbolToStringTagJs(module, exports, __webpack_require__) {\n    var defineWellKnownSymbol = __webpack_require__(\n    /*! ../internals/define-well-known-symbol */\n    \"./node_modules/core-js/internals/define-well-known-symbol.js\"); // `Symbol.toStringTag` well-known symbol\n    // https://tc39.github.io/ecma262/#sec-symbol.tostringtag\n\n\n    defineWellKnownSymbol('toStringTag');\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.symbol.unscopables.js\":\n  /*!***************************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.symbol.unscopables.js ***!\n    \\***************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsSymbolUnscopablesJs(module, exports, __webpack_require__) {\n    var defineWellKnownSymbol = __webpack_require__(\n    /*! ../internals/define-well-known-symbol */\n    \"./node_modules/core-js/internals/define-well-known-symbol.js\"); // `Symbol.unscopables` well-known symbol\n    // https://tc39.github.io/ecma262/#sec-symbol.unscopables\n\n\n    defineWellKnownSymbol('unscopables');\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/es.weak-map.js\":\n  /*!*****************************************************!*\\\n    !*** ./node_modules/core-js/modules/es.weak-map.js ***!\n    \\*****************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsWeakMapJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var global = __webpack_require__(\n    /*! ../internals/global */\n    \"./node_modules/core-js/internals/global.js\");\n\n    var redefineAll = __webpack_require__(\n    /*! ../internals/redefine-all */\n    \"./node_modules/core-js/internals/redefine-all.js\");\n\n    var InternalMetadataModule = __webpack_require__(\n    /*! ../internals/internal-metadata */\n    \"./node_modules/core-js/internals/internal-metadata.js\");\n\n    var collection = __webpack_require__(\n    /*! ../internals/collection */\n    \"./node_modules/core-js/internals/collection.js\");\n\n    var collectionWeak = __webpack_require__(\n    /*! ../internals/collection-weak */\n    \"./node_modules/core-js/internals/collection-weak.js\");\n\n    var isObject = __webpack_require__(\n    /*! ../internals/is-object */\n    \"./node_modules/core-js/internals/is-object.js\");\n\n    var enforceIternalState = __webpack_require__(\n    /*! ../internals/internal-state */\n    \"./node_modules/core-js/internals/internal-state.js\").enforce;\n\n    var NATIVE_WEAK_MAP = __webpack_require__(\n    /*! ../internals/native-weak-map */\n    \"./node_modules/core-js/internals/native-weak-map.js\");\n\n    var IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global;\n    var isExtensible = Object.isExtensible;\n    var InternalWeakMap;\n\n    var wrapper = function wrapper(get) {\n      return function WeakMap() {\n        return get(this, arguments.length ? arguments[0] : undefined);\n      };\n    }; // `WeakMap` constructor\n    // https://tc39.github.io/ecma262/#sec-weakmap-constructor\n\n\n    var $WeakMap = module.exports = collection('WeakMap', wrapper, collectionWeak, true, true); // IE11 WeakMap frozen keys fix\n    // We can't use feature detection because it crash some old IE builds\n    // https://github.com/zloirock/core-js/issues/485\n\n    if (NATIVE_WEAK_MAP && IS_IE11) {\n      InternalWeakMap = collectionWeak.getConstructor(wrapper, 'WeakMap', true);\n      InternalMetadataModule.REQUIRED = true;\n      var WeakMapPrototype = $WeakMap.prototype;\n      var nativeDelete = WeakMapPrototype['delete'];\n      var nativeHas = WeakMapPrototype.has;\n      var nativeGet = WeakMapPrototype.get;\n      var nativeSet = WeakMapPrototype.set;\n      redefineAll(WeakMapPrototype, {\n        'delete': function _delete(key) {\n          if (isObject(key) && !isExtensible(key)) {\n            var state = enforceIternalState(this);\n            if (!state.frozen) state.frozen = new InternalWeakMap();\n            return nativeDelete.call(this, key) || state.frozen['delete'](key);\n          }\n\n          return nativeDelete.call(this, key);\n        },\n        has: function has(key) {\n          if (isObject(key) && !isExtensible(key)) {\n            var state = enforceIternalState(this);\n            if (!state.frozen) state.frozen = new InternalWeakMap();\n            return nativeHas.call(this, key) || state.frozen.has(key);\n          }\n\n          return nativeHas.call(this, key);\n        },\n        get: function get(key) {\n          if (isObject(key) && !isExtensible(key)) {\n            var state = enforceIternalState(this);\n            if (!state.frozen) state.frozen = new InternalWeakMap();\n            return nativeHas.call(this, key) ? nativeGet.call(this, key) : state.frozen.get(key);\n          }\n\n          return nativeGet.call(this, key);\n        },\n        set: function set(key, value) {\n          if (isObject(key) && !isExtensible(key)) {\n            var state = enforceIternalState(this);\n            if (!state.frozen) state.frozen = new InternalWeakMap();\n            nativeHas.call(this, key) ? nativeSet.call(this, key, value) : state.frozen.set(key, value);\n          } else nativeSet.call(this, key, value);\n\n          return this;\n        }\n      });\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/esnext.reflect.define-metadata.js\":\n  /*!************************************************************************!*\\\n    !*** ./node_modules/core-js/modules/esnext.reflect.define-metadata.js ***!\n    \\************************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsnextReflectDefineMetadataJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var ReflectMetadataModule = __webpack_require__(\n    /*! ../internals/reflect-metadata */\n    \"./node_modules/core-js/internals/reflect-metadata.js\");\n\n    var anObject = __webpack_require__(\n    /*! ../internals/an-object */\n    \"./node_modules/core-js/internals/an-object.js\");\n\n    var toMetadataKey = ReflectMetadataModule.toKey;\n    var ordinaryDefineOwnMetadata = ReflectMetadataModule.set; // `Reflect.defineMetadata` method\n    // https://github.com/rbuckton/reflect-metadata\n\n    $({\n      target: 'Reflect',\n      stat: true\n    }, {\n      defineMetadata: function defineMetadata(metadataKey, metadataValue, target\n      /* , targetKey */\n      ) {\n        var targetKey = arguments.length < 4 ? undefined : toMetadataKey(arguments[3]);\n        ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), targetKey);\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/esnext.reflect.delete-metadata.js\":\n  /*!************************************************************************!*\\\n    !*** ./node_modules/core-js/modules/esnext.reflect.delete-metadata.js ***!\n    \\************************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsnextReflectDeleteMetadataJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var ReflectMetadataModule = __webpack_require__(\n    /*! ../internals/reflect-metadata */\n    \"./node_modules/core-js/internals/reflect-metadata.js\");\n\n    var anObject = __webpack_require__(\n    /*! ../internals/an-object */\n    \"./node_modules/core-js/internals/an-object.js\");\n\n    var toMetadataKey = ReflectMetadataModule.toKey;\n    var getOrCreateMetadataMap = ReflectMetadataModule.getMap;\n    var store = ReflectMetadataModule.store; // `Reflect.deleteMetadata` method\n    // https://github.com/rbuckton/reflect-metadata\n\n    $({\n      target: 'Reflect',\n      stat: true\n    }, {\n      deleteMetadata: function deleteMetadata(metadataKey, target\n      /* , targetKey */\n      ) {\n        var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]);\n        var metadataMap = getOrCreateMetadataMap(anObject(target), targetKey, false);\n        if (metadataMap === undefined || !metadataMap['delete'](metadataKey)) return false;\n        if (metadataMap.size) return true;\n        var targetMetadata = store.get(target);\n        targetMetadata['delete'](targetKey);\n        return !!targetMetadata.size || store['delete'](target);\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/esnext.reflect.get-metadata-keys.js\":\n  /*!**************************************************************************!*\\\n    !*** ./node_modules/core-js/modules/esnext.reflect.get-metadata-keys.js ***!\n    \\**************************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsnextReflectGetMetadataKeysJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\"); // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`\n\n\n    var Set = __webpack_require__(\n    /*! ../modules/es.set */\n    \"./node_modules/core-js/modules/es.set.js\");\n\n    var ReflectMetadataModule = __webpack_require__(\n    /*! ../internals/reflect-metadata */\n    \"./node_modules/core-js/internals/reflect-metadata.js\");\n\n    var anObject = __webpack_require__(\n    /*! ../internals/an-object */\n    \"./node_modules/core-js/internals/an-object.js\");\n\n    var getPrototypeOf = __webpack_require__(\n    /*! ../internals/object-get-prototype-of */\n    \"./node_modules/core-js/internals/object-get-prototype-of.js\");\n\n    var iterate = __webpack_require__(\n    /*! ../internals/iterate */\n    \"./node_modules/core-js/internals/iterate.js\");\n\n    var ordinaryOwnMetadataKeys = ReflectMetadataModule.keys;\n    var toMetadataKey = ReflectMetadataModule.toKey;\n\n    var from = function from(iter) {\n      var result = [];\n      iterate(iter, result.push, result);\n      return result;\n    };\n\n    var ordinaryMetadataKeys = function ordinaryMetadataKeys(O, P) {\n      var oKeys = ordinaryOwnMetadataKeys(O, P);\n      var parent = getPrototypeOf(O);\n      if (parent === null) return oKeys;\n      var pKeys = ordinaryMetadataKeys(parent, P);\n      return pKeys.length ? oKeys.length ? from(new Set(oKeys.concat(pKeys))) : pKeys : oKeys;\n    }; // `Reflect.getMetadataKeys` method\n    // https://github.com/rbuckton/reflect-metadata\n\n\n    $({\n      target: 'Reflect',\n      stat: true\n    }, {\n      getMetadataKeys: function getMetadataKeys(target\n      /* , targetKey */\n      ) {\n        var targetKey = arguments.length < 2 ? undefined : toMetadataKey(arguments[1]);\n        return ordinaryMetadataKeys(anObject(target), targetKey);\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/esnext.reflect.get-metadata.js\":\n  /*!*********************************************************************!*\\\n    !*** ./node_modules/core-js/modules/esnext.reflect.get-metadata.js ***!\n    \\*********************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsnextReflectGetMetadataJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var ReflectMetadataModule = __webpack_require__(\n    /*! ../internals/reflect-metadata */\n    \"./node_modules/core-js/internals/reflect-metadata.js\");\n\n    var anObject = __webpack_require__(\n    /*! ../internals/an-object */\n    \"./node_modules/core-js/internals/an-object.js\");\n\n    var getPrototypeOf = __webpack_require__(\n    /*! ../internals/object-get-prototype-of */\n    \"./node_modules/core-js/internals/object-get-prototype-of.js\");\n\n    var ordinaryHasOwnMetadata = ReflectMetadataModule.has;\n    var ordinaryGetOwnMetadata = ReflectMetadataModule.get;\n    var toMetadataKey = ReflectMetadataModule.toKey;\n\n    var ordinaryGetMetadata = function ordinaryGetMetadata(MetadataKey, O, P) {\n      var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P);\n      if (hasOwn) return ordinaryGetOwnMetadata(MetadataKey, O, P);\n      var parent = getPrototypeOf(O);\n      return parent !== null ? ordinaryGetMetadata(MetadataKey, parent, P) : undefined;\n    }; // `Reflect.getMetadata` method\n    // https://github.com/rbuckton/reflect-metadata\n\n\n    $({\n      target: 'Reflect',\n      stat: true\n    }, {\n      getMetadata: function getMetadata(metadataKey, target\n      /* , targetKey */\n      ) {\n        var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]);\n        return ordinaryGetMetadata(metadataKey, anObject(target), targetKey);\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/esnext.reflect.get-own-metadata-keys.js\":\n  /*!******************************************************************************!*\\\n    !*** ./node_modules/core-js/modules/esnext.reflect.get-own-metadata-keys.js ***!\n    \\******************************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsnextReflectGetOwnMetadataKeysJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var ReflectMetadataModule = __webpack_require__(\n    /*! ../internals/reflect-metadata */\n    \"./node_modules/core-js/internals/reflect-metadata.js\");\n\n    var anObject = __webpack_require__(\n    /*! ../internals/an-object */\n    \"./node_modules/core-js/internals/an-object.js\");\n\n    var ordinaryOwnMetadataKeys = ReflectMetadataModule.keys;\n    var toMetadataKey = ReflectMetadataModule.toKey; // `Reflect.getOwnMetadataKeys` method\n    // https://github.com/rbuckton/reflect-metadata\n\n    $({\n      target: 'Reflect',\n      stat: true\n    }, {\n      getOwnMetadataKeys: function getOwnMetadataKeys(target\n      /* , targetKey */\n      ) {\n        var targetKey = arguments.length < 2 ? undefined : toMetadataKey(arguments[1]);\n        return ordinaryOwnMetadataKeys(anObject(target), targetKey);\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/esnext.reflect.get-own-metadata.js\":\n  /*!*************************************************************************!*\\\n    !*** ./node_modules/core-js/modules/esnext.reflect.get-own-metadata.js ***!\n    \\*************************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsnextReflectGetOwnMetadataJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var ReflectMetadataModule = __webpack_require__(\n    /*! ../internals/reflect-metadata */\n    \"./node_modules/core-js/internals/reflect-metadata.js\");\n\n    var anObject = __webpack_require__(\n    /*! ../internals/an-object */\n    \"./node_modules/core-js/internals/an-object.js\");\n\n    var ordinaryGetOwnMetadata = ReflectMetadataModule.get;\n    var toMetadataKey = ReflectMetadataModule.toKey; // `Reflect.getOwnMetadata` method\n    // https://github.com/rbuckton/reflect-metadata\n\n    $({\n      target: 'Reflect',\n      stat: true\n    }, {\n      getOwnMetadata: function getOwnMetadata(metadataKey, target\n      /* , targetKey */\n      ) {\n        var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]);\n        return ordinaryGetOwnMetadata(metadataKey, anObject(target), targetKey);\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/esnext.reflect.has-metadata.js\":\n  /*!*********************************************************************!*\\\n    !*** ./node_modules/core-js/modules/esnext.reflect.has-metadata.js ***!\n    \\*********************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsnextReflectHasMetadataJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var ReflectMetadataModule = __webpack_require__(\n    /*! ../internals/reflect-metadata */\n    \"./node_modules/core-js/internals/reflect-metadata.js\");\n\n    var anObject = __webpack_require__(\n    /*! ../internals/an-object */\n    \"./node_modules/core-js/internals/an-object.js\");\n\n    var getPrototypeOf = __webpack_require__(\n    /*! ../internals/object-get-prototype-of */\n    \"./node_modules/core-js/internals/object-get-prototype-of.js\");\n\n    var ordinaryHasOwnMetadata = ReflectMetadataModule.has;\n    var toMetadataKey = ReflectMetadataModule.toKey;\n\n    var ordinaryHasMetadata = function ordinaryHasMetadata(MetadataKey, O, P) {\n      var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P);\n      if (hasOwn) return true;\n      var parent = getPrototypeOf(O);\n      return parent !== null ? ordinaryHasMetadata(MetadataKey, parent, P) : false;\n    }; // `Reflect.hasMetadata` method\n    // https://github.com/rbuckton/reflect-metadata\n\n\n    $({\n      target: 'Reflect',\n      stat: true\n    }, {\n      hasMetadata: function hasMetadata(metadataKey, target\n      /* , targetKey */\n      ) {\n        var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]);\n        return ordinaryHasMetadata(metadataKey, anObject(target), targetKey);\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/esnext.reflect.has-own-metadata.js\":\n  /*!*************************************************************************!*\\\n    !*** ./node_modules/core-js/modules/esnext.reflect.has-own-metadata.js ***!\n    \\*************************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsnextReflectHasOwnMetadataJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var ReflectMetadataModule = __webpack_require__(\n    /*! ../internals/reflect-metadata */\n    \"./node_modules/core-js/internals/reflect-metadata.js\");\n\n    var anObject = __webpack_require__(\n    /*! ../internals/an-object */\n    \"./node_modules/core-js/internals/an-object.js\");\n\n    var ordinaryHasOwnMetadata = ReflectMetadataModule.has;\n    var toMetadataKey = ReflectMetadataModule.toKey; // `Reflect.hasOwnMetadata` method\n    // https://github.com/rbuckton/reflect-metadata\n\n    $({\n      target: 'Reflect',\n      stat: true\n    }, {\n      hasOwnMetadata: function hasOwnMetadata(metadataKey, target\n      /* , targetKey */\n      ) {\n        var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]);\n        return ordinaryHasOwnMetadata(metadataKey, anObject(target), targetKey);\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/esnext.reflect.metadata.js\":\n  /*!*****************************************************************!*\\\n    !*** ./node_modules/core-js/modules/esnext.reflect.metadata.js ***!\n    \\*****************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesEsnextReflectMetadataJs(module, exports, __webpack_require__) {\n    var $ = __webpack_require__(\n    /*! ../internals/export */\n    \"./node_modules/core-js/internals/export.js\");\n\n    var ReflectMetadataModule = __webpack_require__(\n    /*! ../internals/reflect-metadata */\n    \"./node_modules/core-js/internals/reflect-metadata.js\");\n\n    var anObject = __webpack_require__(\n    /*! ../internals/an-object */\n    \"./node_modules/core-js/internals/an-object.js\");\n\n    var toMetadataKey = ReflectMetadataModule.toKey;\n    var ordinaryDefineOwnMetadata = ReflectMetadataModule.set; // `Reflect.metadata` method\n    // https://github.com/rbuckton/reflect-metadata\n\n    $({\n      target: 'Reflect',\n      stat: true\n    }, {\n      metadata: function metadata(metadataKey, metadataValue) {\n        return function decorator(target, key) {\n          ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), toMetadataKey(key));\n        };\n      }\n    });\n    /***/\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/web.dom-collections.for-each.js\":\n  /*!**********************************************************************!*\\\n    !*** ./node_modules/core-js/modules/web.dom-collections.for-each.js ***!\n    \\**********************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesWebDomCollectionsForEachJs(module, exports, __webpack_require__) {\n    var global = __webpack_require__(\n    /*! ../internals/global */\n    \"./node_modules/core-js/internals/global.js\");\n\n    var DOMIterables = __webpack_require__(\n    /*! ../internals/dom-iterables */\n    \"./node_modules/core-js/internals/dom-iterables.js\");\n\n    var forEach = __webpack_require__(\n    /*! ../internals/array-for-each */\n    \"./node_modules/core-js/internals/array-for-each.js\");\n\n    var hide = __webpack_require__(\n    /*! ../internals/hide */\n    \"./node_modules/core-js/internals/hide.js\");\n\n    for (var COLLECTION_NAME in DOMIterables) {\n      var Collection = global[COLLECTION_NAME];\n      var CollectionPrototype = Collection && Collection.prototype; // some Chrome versions have non-configurable methods on DOMTokenList\n\n      if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {\n        hide(CollectionPrototype, 'forEach', forEach);\n      } catch (error) {\n        CollectionPrototype.forEach = forEach;\n      }\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/modules/web.dom-collections.iterator.js\":\n  /*!**********************************************************************!*\\\n    !*** ./node_modules/core-js/modules/web.dom-collections.iterator.js ***!\n    \\**********************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsModulesWebDomCollectionsIteratorJs(module, exports, __webpack_require__) {\n    var global = __webpack_require__(\n    /*! ../internals/global */\n    \"./node_modules/core-js/internals/global.js\");\n\n    var DOMIterables = __webpack_require__(\n    /*! ../internals/dom-iterables */\n    \"./node_modules/core-js/internals/dom-iterables.js\");\n\n    var ArrayIteratorMethods = __webpack_require__(\n    /*! ../modules/es.array.iterator */\n    \"./node_modules/core-js/modules/es.array.iterator.js\");\n\n    var hide = __webpack_require__(\n    /*! ../internals/hide */\n    \"./node_modules/core-js/internals/hide.js\");\n\n    var wellKnownSymbol = __webpack_require__(\n    /*! ../internals/well-known-symbol */\n    \"./node_modules/core-js/internals/well-known-symbol.js\");\n\n    var ITERATOR = wellKnownSymbol('iterator');\n    var TO_STRING_TAG = wellKnownSymbol('toStringTag');\n    var ArrayValues = ArrayIteratorMethods.values;\n\n    for (var COLLECTION_NAME in DOMIterables) {\n      var Collection = global[COLLECTION_NAME];\n      var CollectionPrototype = Collection && Collection.prototype;\n\n      if (CollectionPrototype) {\n        // some Chrome versions have non-configurable methods on DOMTokenList\n        if (CollectionPrototype[ITERATOR] !== ArrayValues) try {\n          hide(CollectionPrototype, ITERATOR, ArrayValues);\n        } catch (error) {\n          CollectionPrototype[ITERATOR] = ArrayValues;\n        }\n        if (!CollectionPrototype[TO_STRING_TAG]) hide(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);\n        if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {\n          // some Chrome versions have non-configurable methods on DOMTokenList\n          if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {\n            hide(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);\n          } catch (error) {\n            CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];\n          }\n        }\n      }\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/core-js/proposals/reflect-metadata.js\":\n  /*!************************************************************!*\\\n    !*** ./node_modules/core-js/proposals/reflect-metadata.js ***!\n    \\************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesCoreJsProposalsReflectMetadataJs(module, exports, __webpack_require__) {\n    __webpack_require__(\n    /*! ../modules/esnext.reflect.define-metadata */\n    \"./node_modules/core-js/modules/esnext.reflect.define-metadata.js\");\n\n    __webpack_require__(\n    /*! ../modules/esnext.reflect.delete-metadata */\n    \"./node_modules/core-js/modules/esnext.reflect.delete-metadata.js\");\n\n    __webpack_require__(\n    /*! ../modules/esnext.reflect.get-metadata */\n    \"./node_modules/core-js/modules/esnext.reflect.get-metadata.js\");\n\n    __webpack_require__(\n    /*! ../modules/esnext.reflect.get-metadata-keys */\n    \"./node_modules/core-js/modules/esnext.reflect.get-metadata-keys.js\");\n\n    __webpack_require__(\n    /*! ../modules/esnext.reflect.get-own-metadata */\n    \"./node_modules/core-js/modules/esnext.reflect.get-own-metadata.js\");\n\n    __webpack_require__(\n    /*! ../modules/esnext.reflect.get-own-metadata-keys */\n    \"./node_modules/core-js/modules/esnext.reflect.get-own-metadata-keys.js\");\n\n    __webpack_require__(\n    /*! ../modules/esnext.reflect.has-metadata */\n    \"./node_modules/core-js/modules/esnext.reflect.has-metadata.js\");\n\n    __webpack_require__(\n    /*! ../modules/esnext.reflect.has-own-metadata */\n    \"./node_modules/core-js/modules/esnext.reflect.has-own-metadata.js\");\n\n    __webpack_require__(\n    /*! ../modules/esnext.reflect.metadata */\n    \"./node_modules/core-js/modules/esnext.reflect.metadata.js\");\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/regenerator-runtime/runtime.js\":\n  /*!*****************************************************!*\\\n    !*** ./node_modules/regenerator-runtime/runtime.js ***!\n    \\*****************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesRegeneratorRuntimeRuntimeJs(module, exports, __webpack_require__) {\n    /**\n     * Copyright (c) 2014-present, Facebook, Inc.\n     *\n     * This source code is licensed under the MIT license found in the\n     * LICENSE file in the root directory of this source tree.\n     */\n    var runtime = function (exports) {\n      \"use strict\";\n\n      var Op = Object.prototype;\n      var hasOwn = Op.hasOwnProperty;\n      var undefined; // More compressible than void 0.\n\n      var $Symbol = typeof Symbol === \"function\" ? Symbol : {};\n      var iteratorSymbol = $Symbol.iterator || \"@@iterator\";\n      var asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\";\n      var toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n\n      function wrap(innerFn, outerFn, self, tryLocsList) {\n        // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.\n        var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;\n        var generator = Object.create(protoGenerator.prototype);\n        var context = new Context(tryLocsList || []); // The ._invoke method unifies the implementations of the .next,\n        // .throw, and .return methods.\n\n        generator._invoke = makeInvokeMethod(innerFn, self, context);\n        return generator;\n      }\n\n      exports.wrap = wrap; // Try/catch helper to minimize deoptimizations. Returns a completion\n      // record like context.tryEntries[i].completion. This interface could\n      // have been (and was previously) designed to take a closure to be\n      // invoked without arguments, but in all the cases we care about we\n      // already have an existing method we want to call, so there's no need\n      // to create a new function object. We can even get away with assuming\n      // the method takes exactly one argument, since that happens to be true\n      // in every case, so we don't have to touch the arguments object. The\n      // only additional allocation required is the completion record, which\n      // has a stable shape and so hopefully should be cheap to allocate.\n\n      function tryCatch(fn, obj, arg) {\n        try {\n          return {\n            type: \"normal\",\n            arg: fn.call(obj, arg)\n          };\n        } catch (err) {\n          return {\n            type: \"throw\",\n            arg: err\n          };\n        }\n      }\n\n      var GenStateSuspendedStart = \"suspendedStart\";\n      var GenStateSuspendedYield = \"suspendedYield\";\n      var GenStateExecuting = \"executing\";\n      var GenStateCompleted = \"completed\"; // Returning this object from the innerFn has the same effect as\n      // breaking out of the dispatch switch statement.\n\n      var ContinueSentinel = {}; // Dummy constructor functions that we use as the .constructor and\n      // .constructor.prototype properties for functions that return Generator\n      // objects. For full spec compliance, you may wish to configure your\n      // minifier not to mangle the names of these two functions.\n\n      function Generator() {}\n\n      function GeneratorFunction() {}\n\n      function GeneratorFunctionPrototype() {} // This is a polyfill for %IteratorPrototype% for environments that\n      // don't natively support it.\n\n\n      var IteratorPrototype = {};\n\n      IteratorPrototype[iteratorSymbol] = function () {\n        return this;\n      };\n\n      var getProto = Object.getPrototypeOf;\n      var NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n\n      if (NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {\n        // This environment has a native %IteratorPrototype%; use it instead\n        // of the polyfill.\n        IteratorPrototype = NativeIteratorPrototype;\n      }\n\n      var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);\n      GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;\n      GeneratorFunctionPrototype.constructor = GeneratorFunction;\n      GeneratorFunctionPrototype[toStringTagSymbol] = GeneratorFunction.displayName = \"GeneratorFunction\"; // Helper for defining the .next, .throw, and .return methods of the\n      // Iterator interface in terms of a single ._invoke method.\n\n      function defineIteratorMethods(prototype) {\n        [\"next\", \"throw\", \"return\"].forEach(function (method) {\n          prototype[method] = function (arg) {\n            return this._invoke(method, arg);\n          };\n        });\n      }\n\n      exports.isGeneratorFunction = function (genFun) {\n        var ctor = typeof genFun === \"function\" && genFun.constructor;\n        return ctor ? ctor === GeneratorFunction || // For the native GeneratorFunction constructor, the best we can\n        // do is to check its .name property.\n        (ctor.displayName || ctor.name) === \"GeneratorFunction\" : false;\n      };\n\n      exports.mark = function (genFun) {\n        if (Object.setPrototypeOf) {\n          Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);\n        } else {\n          genFun.__proto__ = GeneratorFunctionPrototype;\n\n          if (!(toStringTagSymbol in genFun)) {\n            genFun[toStringTagSymbol] = \"GeneratorFunction\";\n          }\n        }\n\n        genFun.prototype = Object.create(Gp);\n        return genFun;\n      }; // Within the body of any async function, `await x` is transformed to\n      // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test\n      // `hasOwn.call(value, \"__await\")` to determine if the yielded value is\n      // meant to be awaited.\n\n\n      exports.awrap = function (arg) {\n        return {\n          __await: arg\n        };\n      };\n\n      function AsyncIterator(generator) {\n        function invoke(method, arg, resolve, reject) {\n          var record = tryCatch(generator[method], generator, arg);\n\n          if (record.type === \"throw\") {\n            reject(record.arg);\n          } else {\n            var result = record.arg;\n            var value = result.value;\n\n            if (value && typeof value === \"object\" && hasOwn.call(value, \"__await\")) {\n              return Promise.resolve(value.__await).then(function (value) {\n                invoke(\"next\", value, resolve, reject);\n              }, function (err) {\n                invoke(\"throw\", err, resolve, reject);\n              });\n            }\n\n            return Promise.resolve(value).then(function (unwrapped) {\n              // When a yielded Promise is resolved, its final value becomes\n              // the .value of the Promise<{value,done}> result for the\n              // current iteration.\n              result.value = unwrapped;\n              resolve(result);\n            }, function (error) {\n              // If a rejected Promise was yielded, throw the rejection back\n              // into the async generator function so it can be handled there.\n              return invoke(\"throw\", error, resolve, reject);\n            });\n          }\n        }\n\n        var previousPromise;\n\n        function enqueue(method, arg) {\n          function callInvokeWithMethodAndArg() {\n            return new Promise(function (resolve, reject) {\n              invoke(method, arg, resolve, reject);\n            });\n          }\n\n          return previousPromise = // If enqueue has been called before, then we want to wait until\n          // all previous Promises have been resolved before calling invoke,\n          // so that results are always delivered in the correct order. If\n          // enqueue has not been called before, then it is important to\n          // call invoke immediately, without waiting on a callback to fire,\n          // so that the async generator function has the opportunity to do\n          // any necessary setup in a predictable way. This predictability\n          // is why the Promise constructor synchronously invokes its\n          // executor callback, and why async functions synchronously\n          // execute code before the first await. Since we implement simple\n          // async functions in terms of async generators, it is especially\n          // important to get this right, even though it requires care.\n          previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, // Avoid propagating failures to Promises returned by later\n          // invocations of the iterator.\n          callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();\n        } // Define the unified helper method that is used to implement .next,\n        // .throw, and .return (see defineIteratorMethods).\n\n\n        this._invoke = enqueue;\n      }\n\n      defineIteratorMethods(AsyncIterator.prototype);\n\n      AsyncIterator.prototype[asyncIteratorSymbol] = function () {\n        return this;\n      };\n\n      exports.AsyncIterator = AsyncIterator; // Note that simple async functions are implemented on top of\n      // AsyncIterator objects; they just return a Promise for the value of\n      // the final result produced by the iterator.\n\n      exports.async = function (innerFn, outerFn, self, tryLocsList) {\n        var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList));\n        return exports.isGeneratorFunction(outerFn) ? iter // If outerFn is a generator, return the full iterator.\n        : iter.next().then(function (result) {\n          return result.done ? result.value : iter.next();\n        });\n      };\n\n      function makeInvokeMethod(innerFn, self, context) {\n        var state = GenStateSuspendedStart;\n        return function invoke(method, arg) {\n          if (state === GenStateExecuting) {\n            throw new Error(\"Generator is already running\");\n          }\n\n          if (state === GenStateCompleted) {\n            if (method === \"throw\") {\n              throw arg;\n            } // Be forgiving, per 25.3.3.3.3 of the spec:\n            // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume\n\n\n            return doneResult();\n          }\n\n          context.method = method;\n          context.arg = arg;\n\n          while (true) {\n            var delegate = context.delegate;\n\n            if (delegate) {\n              var delegateResult = maybeInvokeDelegate(delegate, context);\n\n              if (delegateResult) {\n                if (delegateResult === ContinueSentinel) continue;\n                return delegateResult;\n              }\n            }\n\n            if (context.method === \"next\") {\n              // Setting context._sent for legacy support of Babel's\n              // function.sent implementation.\n              context.sent = context._sent = context.arg;\n            } else if (context.method === \"throw\") {\n              if (state === GenStateSuspendedStart) {\n                state = GenStateCompleted;\n                throw context.arg;\n              }\n\n              context.dispatchException(context.arg);\n            } else if (context.method === \"return\") {\n              context.abrupt(\"return\", context.arg);\n            }\n\n            state = GenStateExecuting;\n            var record = tryCatch(innerFn, self, context);\n\n            if (record.type === \"normal\") {\n              // If an exception is thrown from innerFn, we leave state ===\n              // GenStateExecuting and loop back for another invocation.\n              state = context.done ? GenStateCompleted : GenStateSuspendedYield;\n\n              if (record.arg === ContinueSentinel) {\n                continue;\n              }\n\n              return {\n                value: record.arg,\n                done: context.done\n              };\n            } else if (record.type === \"throw\") {\n              state = GenStateCompleted; // Dispatch the exception by looping back around to the\n              // context.dispatchException(context.arg) call above.\n\n              context.method = \"throw\";\n              context.arg = record.arg;\n            }\n          }\n        };\n      } // Call delegate.iterator[context.method](context.arg) and handle the\n      // result, either by returning a { value, done } result from the\n      // delegate iterator, or by modifying context.method and context.arg,\n      // setting context.delegate to null, and returning the ContinueSentinel.\n\n\n      function maybeInvokeDelegate(delegate, context) {\n        var method = delegate.iterator[context.method];\n\n        if (method === undefined) {\n          // A .throw or .return when the delegate iterator has no .throw\n          // method always terminates the yield* loop.\n          context.delegate = null;\n\n          if (context.method === \"throw\") {\n            // Note: [\"return\"] must be used for ES3 parsing compatibility.\n            if (delegate.iterator[\"return\"]) {\n              // If the delegate iterator has a return method, give it a\n              // chance to clean up.\n              context.method = \"return\";\n              context.arg = undefined;\n              maybeInvokeDelegate(delegate, context);\n\n              if (context.method === \"throw\") {\n                // If maybeInvokeDelegate(context) changed context.method from\n                // \"return\" to \"throw\", let that override the TypeError below.\n                return ContinueSentinel;\n              }\n            }\n\n            context.method = \"throw\";\n            context.arg = new TypeError(\"The iterator does not provide a 'throw' method\");\n          }\n\n          return ContinueSentinel;\n        }\n\n        var record = tryCatch(method, delegate.iterator, context.arg);\n\n        if (record.type === \"throw\") {\n          context.method = \"throw\";\n          context.arg = record.arg;\n          context.delegate = null;\n          return ContinueSentinel;\n        }\n\n        var info = record.arg;\n\n        if (!info) {\n          context.method = \"throw\";\n          context.arg = new TypeError(\"iterator result is not an object\");\n          context.delegate = null;\n          return ContinueSentinel;\n        }\n\n        if (info.done) {\n          // Assign the result of the finished delegate to the temporary\n          // variable specified by delegate.resultName (see delegateYield).\n          context[delegate.resultName] = info.value; // Resume execution at the desired location (see delegateYield).\n\n          context.next = delegate.nextLoc; // If context.method was \"throw\" but the delegate handled the\n          // exception, let the outer generator proceed normally. If\n          // context.method was \"next\", forget context.arg since it has been\n          // \"consumed\" by the delegate iterator. If context.method was\n          // \"return\", allow the original .return call to continue in the\n          // outer generator.\n\n          if (context.method !== \"return\") {\n            context.method = \"next\";\n            context.arg = undefined;\n          }\n        } else {\n          // Re-yield the result returned by the delegate method.\n          return info;\n        } // The delegate iterator is finished, so forget it and continue with\n        // the outer generator.\n\n\n        context.delegate = null;\n        return ContinueSentinel;\n      } // Define Generator.prototype.{next,throw,return} in terms of the\n      // unified ._invoke helper method.\n\n\n      defineIteratorMethods(Gp);\n      Gp[toStringTagSymbol] = \"Generator\"; // A Generator should always return itself as the iterator object when the\n      // @@iterator function is called on it. Some browsers' implementations of the\n      // iterator prototype chain incorrectly implement this, causing the Generator\n      // object to not be returned from this call. This ensures that doesn't happen.\n      // See https://github.com/facebook/regenerator/issues/274 for more details.\n\n      Gp[iteratorSymbol] = function () {\n        return this;\n      };\n\n      Gp.toString = function () {\n        return \"[object Generator]\";\n      };\n\n      function pushTryEntry(locs) {\n        var entry = {\n          tryLoc: locs[0]\n        };\n\n        if (1 in locs) {\n          entry.catchLoc = locs[1];\n        }\n\n        if (2 in locs) {\n          entry.finallyLoc = locs[2];\n          entry.afterLoc = locs[3];\n        }\n\n        this.tryEntries.push(entry);\n      }\n\n      function resetTryEntry(entry) {\n        var record = entry.completion || {};\n        record.type = \"normal\";\n        delete record.arg;\n        entry.completion = record;\n      }\n\n      function Context(tryLocsList) {\n        // The root entry object (effectively a try statement without a catch\n        // or a finally block) gives us a place to store values thrown from\n        // locations where there is no enclosing try statement.\n        this.tryEntries = [{\n          tryLoc: \"root\"\n        }];\n        tryLocsList.forEach(pushTryEntry, this);\n        this.reset(true);\n      }\n\n      exports.keys = function (object) {\n        var keys = [];\n\n        for (var key in object) {\n          keys.push(key);\n        }\n\n        keys.reverse(); // Rather than returning an object with a next method, we keep\n        // things simple and return the next function itself.\n\n        return function next() {\n          while (keys.length) {\n            var key = keys.pop();\n\n            if (key in object) {\n              next.value = key;\n              next.done = false;\n              return next;\n            }\n          } // To avoid creating an additional object, we just hang the .value\n          // and .done properties off the next function object itself. This\n          // also ensures that the minifier will not anonymize the function.\n\n\n          next.done = true;\n          return next;\n        };\n      };\n\n      function values(iterable) {\n        if (iterable) {\n          var iteratorMethod = iterable[iteratorSymbol];\n\n          if (iteratorMethod) {\n            return iteratorMethod.call(iterable);\n          }\n\n          if (typeof iterable.next === \"function\") {\n            return iterable;\n          }\n\n          if (!isNaN(iterable.length)) {\n            var i = -1,\n                next = function next() {\n              while (++i < iterable.length) {\n                if (hasOwn.call(iterable, i)) {\n                  next.value = iterable[i];\n                  next.done = false;\n                  return next;\n                }\n              }\n\n              next.value = undefined;\n              next.done = true;\n              return next;\n            };\n\n            return next.next = next;\n          }\n        } // Return an iterator with no values.\n\n\n        return {\n          next: doneResult\n        };\n      }\n\n      exports.values = values;\n\n      function doneResult() {\n        return {\n          value: undefined,\n          done: true\n        };\n      }\n\n      Context.prototype = {\n        constructor: Context,\n        reset: function reset(skipTempReset) {\n          this.prev = 0;\n          this.next = 0; // Resetting context._sent for legacy support of Babel's\n          // function.sent implementation.\n\n          this.sent = this._sent = undefined;\n          this.done = false;\n          this.delegate = null;\n          this.method = \"next\";\n          this.arg = undefined;\n          this.tryEntries.forEach(resetTryEntry);\n\n          if (!skipTempReset) {\n            for (var name in this) {\n              // Not sure about the optimal order of these conditions:\n              if (name.charAt(0) === \"t\" && hasOwn.call(this, name) && !isNaN(+name.slice(1))) {\n                this[name] = undefined;\n              }\n            }\n          }\n        },\n        stop: function stop() {\n          this.done = true;\n          var rootEntry = this.tryEntries[0];\n          var rootRecord = rootEntry.completion;\n\n          if (rootRecord.type === \"throw\") {\n            throw rootRecord.arg;\n          }\n\n          return this.rval;\n        },\n        dispatchException: function dispatchException(exception) {\n          if (this.done) {\n            throw exception;\n          }\n\n          var context = this;\n\n          function handle(loc, caught) {\n            record.type = \"throw\";\n            record.arg = exception;\n            context.next = loc;\n\n            if (caught) {\n              // If the dispatched exception was caught by a catch block,\n              // then let that catch block handle the exception normally.\n              context.method = \"next\";\n              context.arg = undefined;\n            }\n\n            return !!caught;\n          }\n\n          for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n            var entry = this.tryEntries[i];\n            var record = entry.completion;\n\n            if (entry.tryLoc === \"root\") {\n              // Exception thrown outside of any try block that could handle\n              // it, so set the completion value of the entire function to\n              // throw the exception.\n              return handle(\"end\");\n            }\n\n            if (entry.tryLoc <= this.prev) {\n              var hasCatch = hasOwn.call(entry, \"catchLoc\");\n              var hasFinally = hasOwn.call(entry, \"finallyLoc\");\n\n              if (hasCatch && hasFinally) {\n                if (this.prev < entry.catchLoc) {\n                  return handle(entry.catchLoc, true);\n                } else if (this.prev < entry.finallyLoc) {\n                  return handle(entry.finallyLoc);\n                }\n              } else if (hasCatch) {\n                if (this.prev < entry.catchLoc) {\n                  return handle(entry.catchLoc, true);\n                }\n              } else if (hasFinally) {\n                if (this.prev < entry.finallyLoc) {\n                  return handle(entry.finallyLoc);\n                }\n              } else {\n                throw new Error(\"try statement without catch or finally\");\n              }\n            }\n          }\n        },\n        abrupt: function abrupt(type, arg) {\n          for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n            var entry = this.tryEntries[i];\n\n            if (entry.tryLoc <= this.prev && hasOwn.call(entry, \"finallyLoc\") && this.prev < entry.finallyLoc) {\n              var finallyEntry = entry;\n              break;\n            }\n          }\n\n          if (finallyEntry && (type === \"break\" || type === \"continue\") && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc) {\n            // Ignore the finally entry if control is not jumping to a\n            // location outside the try/catch block.\n            finallyEntry = null;\n          }\n\n          var record = finallyEntry ? finallyEntry.completion : {};\n          record.type = type;\n          record.arg = arg;\n\n          if (finallyEntry) {\n            this.method = \"next\";\n            this.next = finallyEntry.finallyLoc;\n            return ContinueSentinel;\n          }\n\n          return this.complete(record);\n        },\n        complete: function complete(record, afterLoc) {\n          if (record.type === \"throw\") {\n            throw record.arg;\n          }\n\n          if (record.type === \"break\" || record.type === \"continue\") {\n            this.next = record.arg;\n          } else if (record.type === \"return\") {\n            this.rval = this.arg = record.arg;\n            this.method = \"return\";\n            this.next = \"end\";\n          } else if (record.type === \"normal\" && afterLoc) {\n            this.next = afterLoc;\n          }\n\n          return ContinueSentinel;\n        },\n        finish: function finish(finallyLoc) {\n          for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n            var entry = this.tryEntries[i];\n\n            if (entry.finallyLoc === finallyLoc) {\n              this.complete(entry.completion, entry.afterLoc);\n              resetTryEntry(entry);\n              return ContinueSentinel;\n            }\n          }\n        },\n        \"catch\": function _catch(tryLoc) {\n          for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n            var entry = this.tryEntries[i];\n\n            if (entry.tryLoc === tryLoc) {\n              var record = entry.completion;\n\n              if (record.type === \"throw\") {\n                var thrown = record.arg;\n                resetTryEntry(entry);\n              }\n\n              return thrown;\n            }\n          } // The context.catch method must only be called with a location\n          // argument that corresponds to a known catch block.\n\n\n          throw new Error(\"illegal catch attempt\");\n        },\n        delegateYield: function delegateYield(iterable, resultName, nextLoc) {\n          this.delegate = {\n            iterator: values(iterable),\n            resultName: resultName,\n            nextLoc: nextLoc\n          };\n\n          if (this.method === \"next\") {\n            // Deliberately forget the last sent value so that we don't\n            // accidentally pass it on to the delegate.\n            this.arg = undefined;\n          }\n\n          return ContinueSentinel;\n        }\n      }; // Regardless of whether this script is executing as a CommonJS module\n      // or not, return the runtime object so that we can declare the variable\n      // regeneratorRuntime in the outer scope, which allows this module to be\n      // injected easily by `bin/regenerator --include-runtime script.js`.\n\n      return exports;\n    }( // If this script is executing as a CommonJS module, use module.exports\n    // as the regeneratorRuntime namespace. Otherwise create a new empty\n    // object. Either way, the resulting object will be used to initialize\n    // the regeneratorRuntime variable at the top of this file.\n    true ? module.exports : undefined);\n\n    try {\n      regeneratorRuntime = runtime;\n    } catch (accidentalStrictMode) {\n      // This module should not be running in strict mode, so the above\n      // assignment should always work unless something is misconfigured. Just\n      // in case runtime.js accidentally runs in strict mode, we can escape\n      // strict mode using a global Function call. This could conceivably fail\n      // if a Content Security Policy forbids using Function, but in that case\n      // the proper solution is to fix the accidental strict mode problem. If\n      // you've misconfigured your bundler to force strict mode and applied a\n      // CSP to forbid Function, and you're not willing to fix either of those\n      // problems, please detail your unique predicament in a GitHub issue.\n      Function(\"r\", \"regeneratorRuntime = r\")(runtime);\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/tslib/tslib.es6.js\":\n  /*!*****************************************!*\\\n    !*** ./node_modules/tslib/tslib.es6.js ***!\n    \\*****************************************/\n\n  /*! exports provided: __extends, __assign, __rest, __decorate, __param, __metadata, __awaiter, __generator, __exportStar, __values, __read, __spread, __spreadArrays, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault */\n\n  /***/\n  function node_modulesTslibTslibEs6Js(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"__extends\", function () {\n      return __extends;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"__assign\", function () {\n      return _assign;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"__rest\", function () {\n      return __rest;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"__decorate\", function () {\n      return __decorate;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"__param\", function () {\n      return __param;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"__metadata\", function () {\n      return __metadata;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"__awaiter\", function () {\n      return __awaiter;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"__generator\", function () {\n      return __generator;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"__exportStar\", function () {\n      return __exportStar;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"__values\", function () {\n      return __values;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"__read\", function () {\n      return __read;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"__spread\", function () {\n      return __spread;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"__spreadArrays\", function () {\n      return __spreadArrays;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"__await\", function () {\n      return __await;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"__asyncGenerator\", function () {\n      return __asyncGenerator;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"__asyncDelegator\", function () {\n      return __asyncDelegator;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"__asyncValues\", function () {\n      return __asyncValues;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"__makeTemplateObject\", function () {\n      return __makeTemplateObject;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"__importStar\", function () {\n      return __importStar;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"__importDefault\", function () {\n      return __importDefault;\n    });\n    /*! *****************************************************************************\r\n    Copyright (c) Microsoft Corporation. All rights reserved.\r\n    Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\n    this file except in compliance with the License. You may obtain a copy of the\r\n    License at http://www.apache.org/licenses/LICENSE-2.0\r\n    \r\n    THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n    KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\n    WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\n    MERCHANTABLITY OR NON-INFRINGEMENT.\r\n    \r\n    See the Apache Version 2.0 License for specific language governing permissions\r\n    and limitations under the License.\r\n    ***************************************************************************** */\n\n    /* global Reflect, Promise */\n\n\n    var _extendStatics = function extendStatics(d, b) {\n      _extendStatics = Object.setPrototypeOf || {\n        __proto__: []\n      } instanceof Array && function (d, b) {\n        d.__proto__ = b;\n      } || function (d, b) {\n        for (var p in b) {\n          if (b.hasOwnProperty(p)) d[p] = b[p];\n        }\n      };\n\n      return _extendStatics(d, b);\n    };\n\n    function __extends(d, b) {\n      _extendStatics(d, b);\n\n      function __() {\n        this.constructor = d;\n      }\n\n      d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n    }\n\n    var _assign = function __assign() {\n      _assign = Object.assign || function __assign(t) {\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\n          s = arguments[i];\n\n          for (var p in s) {\n            if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n          }\n        }\n\n        return t;\n      };\n\n      return _assign.apply(this, arguments);\n    };\n\n    function __rest(s, e) {\n      var t = {};\n\n      for (var p in s) {\n        if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n      }\n\n      if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n        if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n      }\n      return t;\n    }\n\n    function __decorate(decorators, target, key, desc) {\n      var c = arguments.length,\n          r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n          d;\n      if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) {\n        if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n      }\n      return c > 3 && r && Object.defineProperty(target, key, r), r;\n    }\n\n    function __param(paramIndex, decorator) {\n      return function (target, key) {\n        decorator(target, key, paramIndex);\n      };\n    }\n\n    function __metadata(metadataKey, metadataValue) {\n      if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n    }\n\n    function __awaiter(thisArg, _arguments, P, generator) {\n      return new (P || (P = Promise))(function (resolve, reject) {\n        function fulfilled(value) {\n          try {\n            step(generator.next(value));\n          } catch (e) {\n            reject(e);\n          }\n        }\n\n        function rejected(value) {\n          try {\n            step(generator[\"throw\"](value));\n          } catch (e) {\n            reject(e);\n          }\n        }\n\n        function step(result) {\n          result.done ? resolve(result.value) : new P(function (resolve) {\n            resolve(result.value);\n          }).then(fulfilled, rejected);\n        }\n\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\n      });\n    }\n\n    function __generator(thisArg, body) {\n      var _ = {\n        label: 0,\n        sent: function sent() {\n          if (t[0] & 1) throw t[1];\n          return t[1];\n        },\n        trys: [],\n        ops: []\n      },\n          f,\n          y,\n          t,\n          g;\n      return g = {\n        next: verb(0),\n        \"throw\": verb(1),\n        \"return\": verb(2)\n      }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function () {\n        return this;\n      }), g;\n\n      function verb(n) {\n        return function (v) {\n          return step([n, v]);\n        };\n      }\n\n      function step(op) {\n        if (f) throw new TypeError(\"Generator is already executing.\");\n\n        while (_) {\n          try {\n            if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n            if (y = 0, t) op = [op[0] & 2, t.value];\n\n            switch (op[0]) {\n              case 0:\n              case 1:\n                t = op;\n                break;\n\n              case 4:\n                _.label++;\n                return {\n                  value: op[1],\n                  done: false\n                };\n\n              case 5:\n                _.label++;\n                y = op[1];\n                op = [0];\n                continue;\n\n              case 7:\n                op = _.ops.pop();\n\n                _.trys.pop();\n\n                continue;\n\n              default:\n                if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n                  _ = 0;\n                  continue;\n                }\n\n                if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n                  _.label = op[1];\n                  break;\n                }\n\n                if (op[0] === 6 && _.label < t[1]) {\n                  _.label = t[1];\n                  t = op;\n                  break;\n                }\n\n                if (t && _.label < t[2]) {\n                  _.label = t[2];\n\n                  _.ops.push(op);\n\n                  break;\n                }\n\n                if (t[2]) _.ops.pop();\n\n                _.trys.pop();\n\n                continue;\n            }\n\n            op = body.call(thisArg, _);\n          } catch (e) {\n            op = [6, e];\n            y = 0;\n          } finally {\n            f = t = 0;\n          }\n        }\n\n        if (op[0] & 5) throw op[1];\n        return {\n          value: op[0] ? op[1] : void 0,\n          done: true\n        };\n      }\n    }\n\n    function __exportStar(m, exports) {\n      for (var p in m) {\n        if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n      }\n    }\n\n    function __values(o) {\n      var m = typeof Symbol === \"function\" && o[Symbol.iterator],\n          i = 0;\n      if (m) return m.call(o);\n      return {\n        next: function next() {\n          if (o && i >= o.length) o = void 0;\n          return {\n            value: o && o[i++],\n            done: !o\n          };\n        }\n      };\n    }\n\n    function __read(o, n) {\n      var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n      if (!m) return o;\n      var i = m.call(o),\n          r,\n          ar = [],\n          e;\n\n      try {\n        while ((n === void 0 || n-- > 0) && !(r = i.next()).done) {\n          ar.push(r.value);\n        }\n      } catch (error) {\n        e = {\n          error: error\n        };\n      } finally {\n        try {\n          if (r && !r.done && (m = i[\"return\"])) m.call(i);\n        } finally {\n          if (e) throw e.error;\n        }\n      }\n\n      return ar;\n    }\n\n    function __spread() {\n      for (var ar = [], i = 0; i < arguments.length; i++) {\n        ar = ar.concat(__read(arguments[i]));\n      }\n\n      return ar;\n    }\n\n    function __spreadArrays() {\n      for (var s = 0, i = 0, il = arguments.length; i < il; i++) {\n        s += arguments[i].length;\n      }\n\n      for (var r = Array(s), k = 0, i = 0; i < il; i++) {\n        for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) {\n          r[k] = a[j];\n        }\n      }\n\n      return r;\n    }\n\n    ;\n\n    function __await(v) {\n      return this instanceof __await ? (this.v = v, this) : new __await(v);\n    }\n\n    function __asyncGenerator(thisArg, _arguments, generator) {\n      if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n      var g = generator.apply(thisArg, _arguments || []),\n          i,\n          q = [];\n      return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () {\n        return this;\n      }, i;\n\n      function verb(n) {\n        if (g[n]) i[n] = function (v) {\n          return new Promise(function (a, b) {\n            q.push([n, v, a, b]) > 1 || resume(n, v);\n          });\n        };\n      }\n\n      function resume(n, v) {\n        try {\n          step(g[n](v));\n        } catch (e) {\n          settle(q[0][3], e);\n        }\n      }\n\n      function step(r) {\n        r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r);\n      }\n\n      function fulfill(value) {\n        resume(\"next\", value);\n      }\n\n      function reject(value) {\n        resume(\"throw\", value);\n      }\n\n      function settle(f, v) {\n        if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]);\n      }\n    }\n\n    function __asyncDelegator(o) {\n      var i, p;\n      return i = {}, verb(\"next\"), verb(\"throw\", function (e) {\n        throw e;\n      }), verb(\"return\"), i[Symbol.iterator] = function () {\n        return this;\n      }, i;\n\n      function verb(n, f) {\n        i[n] = o[n] ? function (v) {\n          return (p = !p) ? {\n            value: __await(o[n](v)),\n            done: n === \"return\"\n          } : f ? f(v) : v;\n        } : f;\n      }\n    }\n\n    function __asyncValues(o) {\n      if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n      var m = o[Symbol.asyncIterator],\n          i;\n      return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () {\n        return this;\n      }, i);\n\n      function verb(n) {\n        i[n] = o[n] && function (v) {\n          return new Promise(function (resolve, reject) {\n            v = o[n](v), settle(resolve, reject, v.done, v.value);\n          });\n        };\n      }\n\n      function settle(resolve, reject, d, v) {\n        Promise.resolve(v).then(function (v) {\n          resolve({\n            value: v,\n            done: d\n          });\n        }, reject);\n      }\n    }\n\n    function __makeTemplateObject(cooked, raw) {\n      if (Object.defineProperty) {\n        Object.defineProperty(cooked, \"raw\", {\n          value: raw\n        });\n      } else {\n        cooked.raw = raw;\n      }\n\n      return cooked;\n    }\n\n    ;\n\n    function __importStar(mod) {\n      if (mod && mod.__esModule) return mod;\n      var result = {};\n      if (mod != null) for (var k in mod) {\n        if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n      }\n      result.default = mod;\n      return result;\n    }\n\n    function __importDefault(mod) {\n      return mod && mod.__esModule ? mod : {\n        default: mod\n      };\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/zone.js/dist/zone-evergreen.js\":\n  /*!*****************************************************!*\\\n    !*** ./node_modules/zone.js/dist/zone-evergreen.js ***!\n    \\*****************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesZoneJsDistZoneEvergreenJs(module, exports) {\n    /**\n    * @license\n    * Copyright Google Inc. All Rights Reserved.\n    *\n    * Use of this source code is governed by an MIT-style license that can be\n    * found in the LICENSE file at https://angular.io/license\n    */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n    var Zone$1 = function (global) {\n      var performance = global['performance'];\n\n      function mark(name) {\n        performance && performance['mark'] && performance['mark'](name);\n      }\n\n      function performanceMeasure(name, label) {\n        performance && performance['measure'] && performance['measure'](name, label);\n      }\n\n      mark('Zone');\n      var checkDuplicate = global['__zone_symbol__forceDuplicateZoneCheck'] === true;\n\n      if (global['Zone']) {\n        // if global['Zone'] already exists (maybe zone.js was already loaded or\n        // some other lib also registered a global object named Zone), we may need\n        // to throw an error, but sometimes user may not want this error.\n        // For example,\n        // we have two web pages, page1 includes zone.js, page2 doesn't.\n        // and the 1st time user load page1 and page2, everything work fine,\n        // but when user load page2 again, error occurs because global['Zone'] already exists.\n        // so we add a flag to let user choose whether to throw this error or not.\n        // By default, if existing Zone is from zone.js, we will not throw the error.\n        if (checkDuplicate || typeof global['Zone'].__symbol__ !== 'function') {\n          throw new Error('Zone already loaded.');\n        } else {\n          return global['Zone'];\n        }\n      }\n\n      var Zone =\n      /*#__PURE__*/\n      function () {\n        function Zone(parent, zoneSpec) {\n          _classCallCheck(this, Zone);\n\n          this._parent = parent;\n          this._name = zoneSpec ? zoneSpec.name || 'unnamed' : '<root>';\n          this._properties = zoneSpec && zoneSpec.properties || {};\n          this._zoneDelegate = new ZoneDelegate(this, this._parent && this._parent._zoneDelegate, zoneSpec);\n        }\n\n        _createClass(Zone, [{\n          key: \"get\",\n          value: function get(key) {\n            var zone = this.getZoneWith(key);\n            if (zone) return zone._properties[key];\n          }\n        }, {\n          key: \"getZoneWith\",\n          value: function getZoneWith(key) {\n            var current = this;\n\n            while (current) {\n              if (current._properties.hasOwnProperty(key)) {\n                return current;\n              }\n\n              current = current._parent;\n            }\n\n            return null;\n          }\n        }, {\n          key: \"fork\",\n          value: function fork(zoneSpec) {\n            if (!zoneSpec) throw new Error('ZoneSpec required!');\n            return this._zoneDelegate.fork(this, zoneSpec);\n          }\n        }, {\n          key: \"wrap\",\n          value: function wrap(callback, source) {\n            if (typeof callback !== 'function') {\n              throw new Error('Expecting function got: ' + callback);\n            }\n\n            var _callback = this._zoneDelegate.intercept(this, callback, source);\n\n            var zone = this;\n            return function () {\n              return zone.runGuarded(_callback, this, arguments, source);\n            };\n          }\n        }, {\n          key: \"run\",\n          value: function run(callback, applyThis, applyArgs, source) {\n            _currentZoneFrame = {\n              parent: _currentZoneFrame,\n              zone: this\n            };\n\n            try {\n              return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source);\n            } finally {\n              _currentZoneFrame = _currentZoneFrame.parent;\n            }\n          }\n        }, {\n          key: \"runGuarded\",\n          value: function runGuarded(callback) {\n            var applyThis = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n            var applyArgs = arguments.length > 2 ? arguments[2] : undefined;\n            var source = arguments.length > 3 ? arguments[3] : undefined;\n            _currentZoneFrame = {\n              parent: _currentZoneFrame,\n              zone: this\n            };\n\n            try {\n              try {\n                return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source);\n              } catch (error) {\n                if (this._zoneDelegate.handleError(this, error)) {\n                  throw error;\n                }\n              }\n            } finally {\n              _currentZoneFrame = _currentZoneFrame.parent;\n            }\n          }\n        }, {\n          key: \"runTask\",\n          value: function runTask(task, applyThis, applyArgs) {\n            if (task.zone != this) {\n              throw new Error('A task can only be run in the zone of creation! (Creation: ' + (task.zone || NO_ZONE).name + '; Execution: ' + this.name + ')');\n            } // https://github.com/angular/zone.js/issues/778, sometimes eventTask\n            // will run in notScheduled(canceled) state, we should not try to\n            // run such kind of task but just return\n\n\n            if (task.state === notScheduled && (task.type === eventTask || task.type === macroTask)) {\n              return;\n            }\n\n            var reEntryGuard = task.state != running;\n            reEntryGuard && task._transitionTo(running, scheduled);\n            task.runCount++;\n            var previousTask = _currentTask;\n            _currentTask = task;\n            _currentZoneFrame = {\n              parent: _currentZoneFrame,\n              zone: this\n            };\n\n            try {\n              if (task.type == macroTask && task.data && !task.data.isPeriodic) {\n                task.cancelFn = undefined;\n              }\n\n              try {\n                return this._zoneDelegate.invokeTask(this, task, applyThis, applyArgs);\n              } catch (error) {\n                if (this._zoneDelegate.handleError(this, error)) {\n                  throw error;\n                }\n              }\n            } finally {\n              // if the task's state is notScheduled or unknown, then it has already been cancelled\n              // we should not reset the state to scheduled\n              if (task.state !== notScheduled && task.state !== unknown) {\n                if (task.type == eventTask || task.data && task.data.isPeriodic) {\n                  reEntryGuard && task._transitionTo(scheduled, running);\n                } else {\n                  task.runCount = 0;\n\n                  this._updateTaskCount(task, -1);\n\n                  reEntryGuard && task._transitionTo(notScheduled, running, notScheduled);\n                }\n              }\n\n              _currentZoneFrame = _currentZoneFrame.parent;\n              _currentTask = previousTask;\n            }\n          }\n        }, {\n          key: \"scheduleTask\",\n          value: function scheduleTask(task) {\n            if (task.zone && task.zone !== this) {\n              // check if the task was rescheduled, the newZone\n              // should not be the children of the original zone\n              var newZone = this;\n\n              while (newZone) {\n                if (newZone === task.zone) {\n                  throw Error(\"can not reschedule task to \".concat(this.name, \" which is descendants of the original zone \").concat(task.zone.name));\n                }\n\n                newZone = newZone.parent;\n              }\n            }\n\n            task._transitionTo(scheduling, notScheduled);\n\n            var zoneDelegates = [];\n            task._zoneDelegates = zoneDelegates;\n            task._zone = this;\n\n            try {\n              task = this._zoneDelegate.scheduleTask(this, task);\n            } catch (err) {\n              // should set task's state to unknown when scheduleTask throw error\n              // because the err may from reschedule, so the fromState maybe notScheduled\n              task._transitionTo(unknown, scheduling, notScheduled); // TODO: @JiaLiPassion, should we check the result from handleError?\n\n\n              this._zoneDelegate.handleError(this, err);\n\n              throw err;\n            }\n\n            if (task._zoneDelegates === zoneDelegates) {\n              // we have to check because internally the delegate can reschedule the task.\n              this._updateTaskCount(task, 1);\n            }\n\n            if (task.state == scheduling) {\n              task._transitionTo(scheduled, scheduling);\n            }\n\n            return task;\n          }\n        }, {\n          key: \"scheduleMicroTask\",\n          value: function scheduleMicroTask(source, callback, data, customSchedule) {\n            return this.scheduleTask(new ZoneTask(microTask, source, callback, data, customSchedule, undefined));\n          }\n        }, {\n          key: \"scheduleMacroTask\",\n          value: function scheduleMacroTask(source, callback, data, customSchedule, customCancel) {\n            return this.scheduleTask(new ZoneTask(macroTask, source, callback, data, customSchedule, customCancel));\n          }\n        }, {\n          key: \"scheduleEventTask\",\n          value: function scheduleEventTask(source, callback, data, customSchedule, customCancel) {\n            return this.scheduleTask(new ZoneTask(eventTask, source, callback, data, customSchedule, customCancel));\n          }\n        }, {\n          key: \"cancelTask\",\n          value: function cancelTask(task) {\n            if (task.zone != this) throw new Error('A task can only be cancelled in the zone of creation! (Creation: ' + (task.zone || NO_ZONE).name + '; Execution: ' + this.name + ')');\n\n            task._transitionTo(canceling, scheduled, running);\n\n            try {\n              this._zoneDelegate.cancelTask(this, task);\n            } catch (err) {\n              // if error occurs when cancelTask, transit the state to unknown\n              task._transitionTo(unknown, canceling);\n\n              this._zoneDelegate.handleError(this, err);\n\n              throw err;\n            }\n\n            this._updateTaskCount(task, -1);\n\n            task._transitionTo(notScheduled, canceling);\n\n            task.runCount = 0;\n            return task;\n          }\n        }, {\n          key: \"_updateTaskCount\",\n          value: function _updateTaskCount(task, count) {\n            var zoneDelegates = task._zoneDelegates;\n\n            if (count == -1) {\n              task._zoneDelegates = null;\n            }\n\n            for (var i = 0; i < zoneDelegates.length; i++) {\n              zoneDelegates[i]._updateTaskCount(task.type, count);\n            }\n          }\n        }, {\n          key: \"parent\",\n          get: function get() {\n            return this._parent;\n          }\n        }, {\n          key: \"name\",\n          get: function get() {\n            return this._name;\n          }\n        }], [{\n          key: \"assertZonePatched\",\n          value: function assertZonePatched() {\n            if (global['Promise'] !== patches['ZoneAwarePromise']) {\n              throw new Error('Zone.js has detected that ZoneAwarePromise `(window|global).Promise` ' + 'has been overwritten.\\n' + 'Most 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.)');\n            }\n          }\n        }, {\n          key: \"__load_patch\",\n          value: function __load_patch(name, fn) {\n            if (patches.hasOwnProperty(name)) {\n              if (checkDuplicate) {\n                throw Error('Already loaded patch: ' + name);\n              }\n            } else if (!global['__Zone_disable_' + name]) {\n              var perfName = 'Zone:' + name;\n              mark(perfName);\n              patches[name] = fn(global, Zone, _api);\n              performanceMeasure(perfName, perfName);\n            }\n          }\n        }, {\n          key: \"root\",\n          get: function get() {\n            var zone = Zone.current;\n\n            while (zone.parent) {\n              zone = zone.parent;\n            }\n\n            return zone;\n          }\n        }, {\n          key: \"current\",\n          get: function get() {\n            return _currentZoneFrame.zone;\n          }\n        }, {\n          key: \"currentTask\",\n          get: function get() {\n            return _currentTask;\n          }\n        }]);\n\n        return Zone;\n      }();\n\n      Zone.__symbol__ = __symbol__;\n      var DELEGATE_ZS = {\n        name: '',\n        onHasTask: function onHasTask(delegate, _, target, hasTaskState) {\n          return delegate.hasTask(target, hasTaskState);\n        },\n        onScheduleTask: function onScheduleTask(delegate, _, target, task) {\n          return delegate.scheduleTask(target, task);\n        },\n        onInvokeTask: function onInvokeTask(delegate, _, target, task, applyThis, applyArgs) {\n          return delegate.invokeTask(target, task, applyThis, applyArgs);\n        },\n        onCancelTask: function onCancelTask(delegate, _, target, task) {\n          return delegate.cancelTask(target, task);\n        }\n      };\n\n      var ZoneDelegate =\n      /*#__PURE__*/\n      function () {\n        function ZoneDelegate(zone, parentDelegate, zoneSpec) {\n          _classCallCheck(this, ZoneDelegate);\n\n          this._taskCounts = {\n            'microTask': 0,\n            'macroTask': 0,\n            'eventTask': 0\n          };\n          this.zone = zone;\n          this._parentDelegate = parentDelegate;\n          this._forkZS = zoneSpec && (zoneSpec && zoneSpec.onFork ? zoneSpec : parentDelegate._forkZS);\n          this._forkDlgt = zoneSpec && (zoneSpec.onFork ? parentDelegate : parentDelegate._forkDlgt);\n          this._forkCurrZone = zoneSpec && (zoneSpec.onFork ? this.zone : parentDelegate.zone);\n          this._interceptZS = zoneSpec && (zoneSpec.onIntercept ? zoneSpec : parentDelegate._interceptZS);\n          this._interceptDlgt = zoneSpec && (zoneSpec.onIntercept ? parentDelegate : parentDelegate._interceptDlgt);\n          this._interceptCurrZone = zoneSpec && (zoneSpec.onIntercept ? this.zone : parentDelegate.zone);\n          this._invokeZS = zoneSpec && (zoneSpec.onInvoke ? zoneSpec : parentDelegate._invokeZS);\n          this._invokeDlgt = zoneSpec && (zoneSpec.onInvoke ? parentDelegate : parentDelegate._invokeDlgt);\n          this._invokeCurrZone = zoneSpec && (zoneSpec.onInvoke ? this.zone : parentDelegate.zone);\n          this._handleErrorZS = zoneSpec && (zoneSpec.onHandleError ? zoneSpec : parentDelegate._handleErrorZS);\n          this._handleErrorDlgt = zoneSpec && (zoneSpec.onHandleError ? parentDelegate : parentDelegate._handleErrorDlgt);\n          this._handleErrorCurrZone = zoneSpec && (zoneSpec.onHandleError ? this.zone : parentDelegate.zone);\n          this._scheduleTaskZS = zoneSpec && (zoneSpec.onScheduleTask ? zoneSpec : parentDelegate._scheduleTaskZS);\n          this._scheduleTaskDlgt = zoneSpec && (zoneSpec.onScheduleTask ? parentDelegate : parentDelegate._scheduleTaskDlgt);\n          this._scheduleTaskCurrZone = zoneSpec && (zoneSpec.onScheduleTask ? this.zone : parentDelegate.zone);\n          this._invokeTaskZS = zoneSpec && (zoneSpec.onInvokeTask ? zoneSpec : parentDelegate._invokeTaskZS);\n          this._invokeTaskDlgt = zoneSpec && (zoneSpec.onInvokeTask ? parentDelegate : parentDelegate._invokeTaskDlgt);\n          this._invokeTaskCurrZone = zoneSpec && (zoneSpec.onInvokeTask ? this.zone : parentDelegate.zone);\n          this._cancelTaskZS = zoneSpec && (zoneSpec.onCancelTask ? zoneSpec : parentDelegate._cancelTaskZS);\n          this._cancelTaskDlgt = zoneSpec && (zoneSpec.onCancelTask ? parentDelegate : parentDelegate._cancelTaskDlgt);\n          this._cancelTaskCurrZone = zoneSpec && (zoneSpec.onCancelTask ? this.zone : parentDelegate.zone);\n          this._hasTaskZS = null;\n          this._hasTaskDlgt = null;\n          this._hasTaskDlgtOwner = null;\n          this._hasTaskCurrZone = null;\n          var zoneSpecHasTask = zoneSpec && zoneSpec.onHasTask;\n          var parentHasTask = parentDelegate && parentDelegate._hasTaskZS;\n\n          if (zoneSpecHasTask || parentHasTask) {\n            // If we need to report hasTask, than this ZS needs to do ref counting on tasks. In such\n            // a case all task related interceptors must go through this ZD. We can't short circuit it.\n            this._hasTaskZS = zoneSpecHasTask ? zoneSpec : DELEGATE_ZS;\n            this._hasTaskDlgt = parentDelegate;\n            this._hasTaskDlgtOwner = this;\n            this._hasTaskCurrZone = zone;\n\n            if (!zoneSpec.onScheduleTask) {\n              this._scheduleTaskZS = DELEGATE_ZS;\n              this._scheduleTaskDlgt = parentDelegate;\n              this._scheduleTaskCurrZone = this.zone;\n            }\n\n            if (!zoneSpec.onInvokeTask) {\n              this._invokeTaskZS = DELEGATE_ZS;\n              this._invokeTaskDlgt = parentDelegate;\n              this._invokeTaskCurrZone = this.zone;\n            }\n\n            if (!zoneSpec.onCancelTask) {\n              this._cancelTaskZS = DELEGATE_ZS;\n              this._cancelTaskDlgt = parentDelegate;\n              this._cancelTaskCurrZone = this.zone;\n            }\n          }\n        }\n\n        _createClass(ZoneDelegate, [{\n          key: \"fork\",\n          value: function fork(targetZone, zoneSpec) {\n            return this._forkZS ? this._forkZS.onFork(this._forkDlgt, this.zone, targetZone, zoneSpec) : new Zone(targetZone, zoneSpec);\n          }\n        }, {\n          key: \"intercept\",\n          value: function intercept(targetZone, callback, source) {\n            return this._interceptZS ? this._interceptZS.onIntercept(this._interceptDlgt, this._interceptCurrZone, targetZone, callback, source) : callback;\n          }\n        }, {\n          key: \"invoke\",\n          value: function invoke(targetZone, callback, applyThis, applyArgs, source) {\n            return this._invokeZS ? this._invokeZS.onInvoke(this._invokeDlgt, this._invokeCurrZone, targetZone, callback, applyThis, applyArgs, source) : callback.apply(applyThis, applyArgs);\n          }\n        }, {\n          key: \"handleError\",\n          value: function handleError(targetZone, error) {\n            return this._handleErrorZS ? this._handleErrorZS.onHandleError(this._handleErrorDlgt, this._handleErrorCurrZone, targetZone, error) : true;\n          }\n        }, {\n          key: \"scheduleTask\",\n          value: function scheduleTask(targetZone, task) {\n            var returnTask = task;\n\n            if (this._scheduleTaskZS) {\n              if (this._hasTaskZS) {\n                returnTask._zoneDelegates.push(this._hasTaskDlgtOwner);\n              }\n\n              returnTask = this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt, this._scheduleTaskCurrZone, targetZone, task);\n              if (!returnTask) returnTask = task;\n            } else {\n              if (task.scheduleFn) {\n                task.scheduleFn(task);\n              } else if (task.type == microTask) {\n                scheduleMicroTask(task);\n              } else {\n                throw new Error('Task is missing scheduleFn.');\n              }\n            }\n\n            return returnTask;\n          }\n        }, {\n          key: \"invokeTask\",\n          value: function invokeTask(targetZone, task, applyThis, applyArgs) {\n            return this._invokeTaskZS ? this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt, this._invokeTaskCurrZone, targetZone, task, applyThis, applyArgs) : task.callback.apply(applyThis, applyArgs);\n          }\n        }, {\n          key: \"cancelTask\",\n          value: function cancelTask(targetZone, task) {\n            var value;\n\n            if (this._cancelTaskZS) {\n              value = this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt, this._cancelTaskCurrZone, targetZone, task);\n            } else {\n              if (!task.cancelFn) {\n                throw Error('Task is not cancelable');\n              }\n\n              value = task.cancelFn(task);\n            }\n\n            return value;\n          }\n        }, {\n          key: \"hasTask\",\n          value: function hasTask(targetZone, isEmpty) {\n            // hasTask should not throw error so other ZoneDelegate\n            // can still trigger hasTask callback\n            try {\n              this._hasTaskZS && this._hasTaskZS.onHasTask(this._hasTaskDlgt, this._hasTaskCurrZone, targetZone, isEmpty);\n            } catch (err) {\n              this.handleError(targetZone, err);\n            }\n          }\n        }, {\n          key: \"_updateTaskCount\",\n          value: function _updateTaskCount(type, count) {\n            var counts = this._taskCounts;\n            var prev = counts[type];\n            var next = counts[type] = prev + count;\n\n            if (next < 0) {\n              throw new Error('More tasks executed then were scheduled.');\n            }\n\n            if (prev == 0 || next == 0) {\n              var isEmpty = {\n                microTask: counts['microTask'] > 0,\n                macroTask: counts['macroTask'] > 0,\n                eventTask: counts['eventTask'] > 0,\n                change: type\n              };\n              this.hasTask(this.zone, isEmpty);\n            }\n          }\n        }]);\n\n        return ZoneDelegate;\n      }();\n\n      var ZoneTask =\n      /*#__PURE__*/\n      function () {\n        function ZoneTask(type, source, callback, options, scheduleFn, cancelFn) {\n          _classCallCheck(this, ZoneTask);\n\n          this._zone = null;\n          this.runCount = 0;\n          this._zoneDelegates = null;\n          this._state = 'notScheduled';\n          this.type = type;\n          this.source = source;\n          this.data = options;\n          this.scheduleFn = scheduleFn;\n          this.cancelFn = cancelFn;\n          this.callback = callback;\n          var self = this; // TODO: @JiaLiPassion options should have interface\n\n          if (type === eventTask && options && options.useG) {\n            this.invoke = ZoneTask.invokeTask;\n          } else {\n            this.invoke = function () {\n              return ZoneTask.invokeTask.call(global, self, this, arguments);\n            };\n          }\n        }\n\n        _createClass(ZoneTask, [{\n          key: \"cancelScheduleRequest\",\n          value: function cancelScheduleRequest() {\n            this._transitionTo(notScheduled, scheduling);\n          }\n        }, {\n          key: \"_transitionTo\",\n          value: function _transitionTo(toState, fromState1, fromState2) {\n            if (this._state === fromState1 || this._state === fromState2) {\n              this._state = toState;\n\n              if (toState == notScheduled) {\n                this._zoneDelegates = null;\n              }\n            } else {\n              throw new Error(\"\".concat(this.type, \" '\").concat(this.source, \"': can not transition to '\").concat(toState, \"', expecting state '\").concat(fromState1, \"'\").concat(fromState2 ? ' or \\'' + fromState2 + '\\'' : '', \", was '\").concat(this._state, \"'.\"));\n            }\n          }\n        }, {\n          key: \"toString\",\n          value: function toString() {\n            if (this.data && typeof this.data.handleId !== 'undefined') {\n              return this.data.handleId.toString();\n            } else {\n              return Object.prototype.toString.call(this);\n            }\n          } // add toJSON method to prevent cyclic error when\n          // call JSON.stringify(zoneTask)\n\n        }, {\n          key: \"toJSON\",\n          value: function toJSON() {\n            return {\n              type: this.type,\n              state: this.state,\n              source: this.source,\n              zone: this.zone.name,\n              runCount: this.runCount\n            };\n          }\n        }, {\n          key: \"zone\",\n          get: function get() {\n            return this._zone;\n          }\n        }, {\n          key: \"state\",\n          get: function get() {\n            return this._state;\n          }\n        }], [{\n          key: \"invokeTask\",\n          value: function invokeTask(task, target, args) {\n            if (!task) {\n              task = this;\n            }\n\n            _numberOfNestedTaskFrames++;\n\n            try {\n              task.runCount++;\n              return task.zone.runTask(task, target, args);\n            } finally {\n              if (_numberOfNestedTaskFrames == 1) {\n                drainMicroTaskQueue();\n              }\n\n              _numberOfNestedTaskFrames--;\n            }\n          }\n        }]);\n\n        return ZoneTask;\n      }(); //////////////////////////////////////////////////////\n      //////////////////////////////////////////////////////\n      ///  MICROTASK QUEUE\n      //////////////////////////////////////////////////////\n      //////////////////////////////////////////////////////\n\n\n      var symbolSetTimeout = __symbol__('setTimeout');\n\n      var symbolPromise = __symbol__('Promise');\n\n      var symbolThen = __symbol__('then');\n\n      var _microTaskQueue = [];\n      var _isDrainingMicrotaskQueue = false;\n      var nativeMicroTaskQueuePromise;\n\n      function scheduleMicroTask(task) {\n        // if we are not running in any task, and there has not been anything scheduled\n        // we must bootstrap the initial task creation by manually scheduling the drain\n        if (_numberOfNestedTaskFrames === 0 && _microTaskQueue.length === 0) {\n          // We are not running in Task, so we need to kickstart the microtask queue.\n          if (!nativeMicroTaskQueuePromise) {\n            if (global[symbolPromise]) {\n              nativeMicroTaskQueuePromise = global[symbolPromise].resolve(0);\n            }\n          }\n\n          if (nativeMicroTaskQueuePromise) {\n            var nativeThen = nativeMicroTaskQueuePromise[symbolThen];\n\n            if (!nativeThen) {\n              // native Promise is not patchable, we need to use `then` directly\n              // issue 1078\n              nativeThen = nativeMicroTaskQueuePromise['then'];\n            }\n\n            nativeThen.call(nativeMicroTaskQueuePromise, drainMicroTaskQueue);\n          } else {\n            global[symbolSetTimeout](drainMicroTaskQueue, 0);\n          }\n        }\n\n        task && _microTaskQueue.push(task);\n      }\n\n      function drainMicroTaskQueue() {\n        if (!_isDrainingMicrotaskQueue) {\n          _isDrainingMicrotaskQueue = true;\n\n          while (_microTaskQueue.length) {\n            var queue = _microTaskQueue;\n            _microTaskQueue = [];\n\n            for (var i = 0; i < queue.length; i++) {\n              var task = queue[i];\n\n              try {\n                task.zone.runTask(task, null, null);\n              } catch (error) {\n                _api.onUnhandledError(error);\n              }\n            }\n          }\n\n          _api.microtaskDrainDone();\n\n          _isDrainingMicrotaskQueue = false;\n        }\n      } //////////////////////////////////////////////////////\n      //////////////////////////////////////////////////////\n      ///  BOOTSTRAP\n      //////////////////////////////////////////////////////\n      //////////////////////////////////////////////////////\n\n\n      var NO_ZONE = {\n        name: 'NO ZONE'\n      };\n      var notScheduled = 'notScheduled',\n          scheduling = 'scheduling',\n          scheduled = 'scheduled',\n          running = 'running',\n          canceling = 'canceling',\n          unknown = 'unknown';\n      var microTask = 'microTask',\n          macroTask = 'macroTask',\n          eventTask = 'eventTask';\n      var patches = {};\n      var _api = {\n        symbol: __symbol__,\n        currentZoneFrame: function currentZoneFrame() {\n          return _currentZoneFrame;\n        },\n        onUnhandledError: noop,\n        microtaskDrainDone: noop,\n        scheduleMicroTask: scheduleMicroTask,\n        showUncaughtError: function showUncaughtError() {\n          return !Zone[__symbol__('ignoreConsoleErrorUncaughtError')];\n        },\n        patchEventTarget: function patchEventTarget() {\n          return [];\n        },\n        patchOnProperties: noop,\n        patchMethod: function patchMethod() {\n          return noop;\n        },\n        bindArguments: function bindArguments() {\n          return [];\n        },\n        patchThen: function patchThen() {\n          return noop;\n        },\n        patchMacroTask: function patchMacroTask() {\n          return noop;\n        },\n        setNativePromise: function setNativePromise(NativePromise) {\n          // sometimes NativePromise.resolve static function\n          // is not ready yet, (such as core-js/es6.promise)\n          // so we need to check here.\n          if (NativePromise && typeof NativePromise.resolve === 'function') {\n            nativeMicroTaskQueuePromise = NativePromise.resolve(0);\n          }\n        },\n        patchEventPrototype: function patchEventPrototype() {\n          return noop;\n        },\n        isIEOrEdge: function isIEOrEdge() {\n          return false;\n        },\n        getGlobalObjects: function getGlobalObjects() {\n          return undefined;\n        },\n        ObjectDefineProperty: function ObjectDefineProperty() {\n          return noop;\n        },\n        ObjectGetOwnPropertyDescriptor: function ObjectGetOwnPropertyDescriptor() {\n          return undefined;\n        },\n        ObjectCreate: function ObjectCreate() {\n          return undefined;\n        },\n        ArraySlice: function ArraySlice() {\n          return [];\n        },\n        patchClass: function patchClass() {\n          return noop;\n        },\n        wrapWithCurrentZone: function wrapWithCurrentZone() {\n          return noop;\n        },\n        filterProperties: function filterProperties() {\n          return [];\n        },\n        attachOriginToPatched: function attachOriginToPatched() {\n          return noop;\n        },\n        _redefineProperty: function _redefineProperty() {\n          return noop;\n        },\n        patchCallbacks: function patchCallbacks() {\n          return noop;\n        }\n      };\n      var _currentZoneFrame = {\n        parent: null,\n        zone: new Zone(null, null)\n      };\n      var _currentTask = null;\n      var _numberOfNestedTaskFrames = 0;\n\n      function noop() {}\n\n      function __symbol__(name) {\n        return '__zone_symbol__' + name;\n      }\n\n      performanceMeasure('Zone', 'Zone');\n      return global['Zone'] = Zone;\n    }(typeof window !== 'undefined' && window || typeof self !== 'undefined' && self || global);\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    Zone.__load_patch('ZoneAwarePromise', function (global, Zone, api) {\n      var ObjectGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n      var ObjectDefineProperty = Object.defineProperty;\n\n      function readableObjectToString(obj) {\n        if (obj && obj.toString === Object.prototype.toString) {\n          var className = obj.constructor && obj.constructor.name;\n          return (className ? className : '') + ': ' + JSON.stringify(obj);\n        }\n\n        return obj ? obj.toString() : Object.prototype.toString.call(obj);\n      }\n\n      var __symbol__ = api.symbol;\n      var _uncaughtPromiseErrors = [];\n\n      var symbolPromise = __symbol__('Promise');\n\n      var symbolThen = __symbol__('then');\n\n      var creationTrace = '__creationTrace__';\n\n      api.onUnhandledError = function (e) {\n        if (api.showUncaughtError()) {\n          var rejection = e && e.rejection;\n\n          if (rejection) {\n            console.error('Unhandled Promise rejection:', rejection instanceof Error ? rejection.message : rejection, '; Zone:', e.zone.name, '; Task:', e.task && e.task.source, '; Value:', rejection, rejection instanceof Error ? rejection.stack : undefined);\n          } else {\n            console.error(e);\n          }\n        }\n      };\n\n      api.microtaskDrainDone = function () {\n        while (_uncaughtPromiseErrors.length) {\n          var _loop = function _loop() {\n            var uncaughtPromiseError = _uncaughtPromiseErrors.shift();\n\n            try {\n              uncaughtPromiseError.zone.runGuarded(function () {\n                throw uncaughtPromiseError;\n              });\n            } catch (error) {\n              handleUnhandledRejection(error);\n            }\n          };\n\n          while (_uncaughtPromiseErrors.length) {\n            _loop();\n          }\n        }\n      };\n\n      var UNHANDLED_PROMISE_REJECTION_HANDLER_SYMBOL = __symbol__('unhandledPromiseRejectionHandler');\n\n      function handleUnhandledRejection(e) {\n        api.onUnhandledError(e);\n\n        try {\n          var handler = Zone[UNHANDLED_PROMISE_REJECTION_HANDLER_SYMBOL];\n\n          if (handler && typeof handler === 'function') {\n            handler.call(this, e);\n          }\n        } catch (err) {}\n      }\n\n      function isThenable(value) {\n        return value && value.then;\n      }\n\n      function forwardResolution(value) {\n        return value;\n      }\n\n      function forwardRejection(rejection) {\n        return ZoneAwarePromise.reject(rejection);\n      }\n\n      var symbolState = __symbol__('state');\n\n      var symbolValue = __symbol__('value');\n\n      var symbolFinally = __symbol__('finally');\n\n      var symbolParentPromiseValue = __symbol__('parentPromiseValue');\n\n      var symbolParentPromiseState = __symbol__('parentPromiseState');\n\n      var source = 'Promise.then';\n      var UNRESOLVED = null;\n      var RESOLVED = true;\n      var REJECTED = false;\n      var REJECTED_NO_CATCH = 0;\n\n      function makeResolver(promise, state) {\n        return function (v) {\n          try {\n            resolvePromise(promise, state, v);\n          } catch (err) {\n            resolvePromise(promise, false, err);\n          } // Do not return value or you will break the Promise spec.\n\n        };\n      }\n\n      var once = function once() {\n        var wasCalled = false;\n        return function wrapper(wrappedFunction) {\n          return function () {\n            if (wasCalled) {\n              return;\n            }\n\n            wasCalled = true;\n            wrappedFunction.apply(null, arguments);\n          };\n        };\n      };\n\n      var TYPE_ERROR = 'Promise resolved with itself';\n\n      var CURRENT_TASK_TRACE_SYMBOL = __symbol__('currentTaskTrace'); // Promise Resolution\n\n\n      function resolvePromise(promise, state, value) {\n        var onceWrapper = once();\n\n        if (promise === value) {\n          throw new TypeError(TYPE_ERROR);\n        }\n\n        if (promise[symbolState] === UNRESOLVED) {\n          // should only get value.then once based on promise spec.\n          var then = null;\n\n          try {\n            if (typeof value === 'object' || typeof value === 'function') {\n              then = value && value.then;\n            }\n          } catch (err) {\n            onceWrapper(function () {\n              resolvePromise(promise, false, err);\n            })();\n            return promise;\n          } // if (value instanceof ZoneAwarePromise) {\n\n\n          if (state !== REJECTED && value instanceof ZoneAwarePromise && value.hasOwnProperty(symbolState) && value.hasOwnProperty(symbolValue) && value[symbolState] !== UNRESOLVED) {\n            clearRejectedNoCatch(value);\n            resolvePromise(promise, value[symbolState], value[symbolValue]);\n          } else if (state !== REJECTED && typeof then === 'function') {\n            try {\n              then.call(value, onceWrapper(makeResolver(promise, state)), onceWrapper(makeResolver(promise, false)));\n            } catch (err) {\n              onceWrapper(function () {\n                resolvePromise(promise, false, err);\n              })();\n            }\n          } else {\n            promise[symbolState] = state;\n            var queue = promise[symbolValue];\n            promise[symbolValue] = value;\n\n            if (promise[symbolFinally] === symbolFinally) {\n              // the promise is generated by Promise.prototype.finally\n              if (state === RESOLVED) {\n                // the state is resolved, should ignore the value\n                // and use parent promise value\n                promise[symbolState] = promise[symbolParentPromiseState];\n                promise[symbolValue] = promise[symbolParentPromiseValue];\n              }\n            } // record task information in value when error occurs, so we can\n            // do some additional work such as render longStackTrace\n\n\n            if (state === REJECTED && value instanceof Error) {\n              // check if longStackTraceZone is here\n              var trace = Zone.currentTask && Zone.currentTask.data && Zone.currentTask.data[creationTrace];\n\n              if (trace) {\n                // only keep the long stack trace into error when in longStackTraceZone\n                ObjectDefineProperty(value, CURRENT_TASK_TRACE_SYMBOL, {\n                  configurable: true,\n                  enumerable: false,\n                  writable: true,\n                  value: trace\n                });\n              }\n            }\n\n            for (var i = 0; i < queue.length;) {\n              scheduleResolveOrReject(promise, queue[i++], queue[i++], queue[i++], queue[i++]);\n            }\n\n            if (queue.length == 0 && state == REJECTED) {\n              promise[symbolState] = REJECTED_NO_CATCH;\n\n              try {\n                // try to print more readable error log\n                throw new Error('Uncaught (in promise): ' + readableObjectToString(value) + (value && value.stack ? '\\n' + value.stack : ''));\n              } catch (err) {\n                var error = err;\n                error.rejection = value;\n                error.promise = promise;\n                error.zone = Zone.current;\n                error.task = Zone.currentTask;\n\n                _uncaughtPromiseErrors.push(error);\n\n                api.scheduleMicroTask(); // to make sure that it is running\n              }\n            }\n          }\n        } // Resolving an already resolved promise is a noop.\n\n\n        return promise;\n      }\n\n      var REJECTION_HANDLED_HANDLER = __symbol__('rejectionHandledHandler');\n\n      function clearRejectedNoCatch(promise) {\n        if (promise[symbolState] === REJECTED_NO_CATCH) {\n          // if the promise is rejected no catch status\n          // and queue.length > 0, means there is a error handler\n          // here to handle the rejected promise, we should trigger\n          // windows.rejectionhandled eventHandler or nodejs rejectionHandled\n          // eventHandler\n          try {\n            var handler = Zone[REJECTION_HANDLED_HANDLER];\n\n            if (handler && typeof handler === 'function') {\n              handler.call(this, {\n                rejection: promise[symbolValue],\n                promise: promise\n              });\n            }\n          } catch (err) {}\n\n          promise[symbolState] = REJECTED;\n\n          for (var i = 0; i < _uncaughtPromiseErrors.length; i++) {\n            if (promise === _uncaughtPromiseErrors[i].promise) {\n              _uncaughtPromiseErrors.splice(i, 1);\n            }\n          }\n        }\n      }\n\n      function scheduleResolveOrReject(promise, zone, chainPromise, onFulfilled, onRejected) {\n        clearRejectedNoCatch(promise);\n        var promiseState = promise[symbolState];\n        var delegate = promiseState ? typeof onFulfilled === 'function' ? onFulfilled : forwardResolution : typeof onRejected === 'function' ? onRejected : forwardRejection;\n        zone.scheduleMicroTask(source, function () {\n          try {\n            var parentPromiseValue = promise[symbolValue];\n            var isFinallyPromise = chainPromise && symbolFinally === chainPromise[symbolFinally];\n\n            if (isFinallyPromise) {\n              // if the promise is generated from finally call, keep parent promise's state and value\n              chainPromise[symbolParentPromiseValue] = parentPromiseValue;\n              chainPromise[symbolParentPromiseState] = promiseState;\n            } // should not pass value to finally callback\n\n\n            var value = zone.run(delegate, undefined, isFinallyPromise && delegate !== forwardRejection && delegate !== forwardResolution ? [] : [parentPromiseValue]);\n            resolvePromise(chainPromise, true, value);\n          } catch (error) {\n            // if error occurs, should always return this error\n            resolvePromise(chainPromise, false, error);\n          }\n        }, chainPromise);\n      }\n\n      var ZONE_AWARE_PROMISE_TO_STRING = 'function ZoneAwarePromise() { [native code] }';\n\n      var ZoneAwarePromise =\n      /*#__PURE__*/\n      function () {\n        function ZoneAwarePromise(executor) {\n          _classCallCheck(this, ZoneAwarePromise);\n\n          var promise = this;\n\n          if (!(promise instanceof ZoneAwarePromise)) {\n            throw new Error('Must be an instanceof Promise.');\n          }\n\n          promise[symbolState] = UNRESOLVED;\n          promise[symbolValue] = []; // queue;\n\n          try {\n            executor && executor(makeResolver(promise, RESOLVED), makeResolver(promise, REJECTED));\n          } catch (error) {\n            resolvePromise(promise, false, error);\n          }\n        }\n\n        _createClass(ZoneAwarePromise, [{\n          key: \"then\",\n          value: function then(onFulfilled, onRejected) {\n            var chainPromise = new this.constructor(null);\n            var zone = Zone.current;\n\n            if (this[symbolState] == UNRESOLVED) {\n              this[symbolValue].push(zone, chainPromise, onFulfilled, onRejected);\n            } else {\n              scheduleResolveOrReject(this, zone, chainPromise, onFulfilled, onRejected);\n            }\n\n            return chainPromise;\n          }\n        }, {\n          key: \"catch\",\n          value: function _catch(onRejected) {\n            return this.then(null, onRejected);\n          }\n        }, {\n          key: \"finally\",\n          value: function _finally(onFinally) {\n            var chainPromise = new this.constructor(null);\n            chainPromise[symbolFinally] = symbolFinally;\n            var zone = Zone.current;\n\n            if (this[symbolState] == UNRESOLVED) {\n              this[symbolValue].push(zone, chainPromise, onFinally, onFinally);\n            } else {\n              scheduleResolveOrReject(this, zone, chainPromise, onFinally, onFinally);\n            }\n\n            return chainPromise;\n          }\n        }, {\n          key: Symbol.toStringTag,\n          get: function get() {\n            return 'Promise';\n          }\n        }], [{\n          key: \"toString\",\n          value: function toString() {\n            return ZONE_AWARE_PROMISE_TO_STRING;\n          }\n        }, {\n          key: \"resolve\",\n          value: function resolve(value) {\n            return resolvePromise(new this(null), RESOLVED, value);\n          }\n        }, {\n          key: \"reject\",\n          value: function reject(error) {\n            return resolvePromise(new this(null), REJECTED, error);\n          }\n        }, {\n          key: \"race\",\n          value: function race(values) {\n            var resolve;\n            var reject;\n            var promise = new this(function (res, rej) {\n              resolve = res;\n              reject = rej;\n            });\n\n            function onResolve(value) {\n              resolve(value);\n            }\n\n            function onReject(error) {\n              reject(error);\n            }\n\n            var _iteratorNormalCompletion = true;\n            var _didIteratorError = false;\n            var _iteratorError = undefined;\n\n            try {\n              for (var _iterator = values[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n                var value = _step.value;\n\n                if (!isThenable(value)) {\n                  value = this.resolve(value);\n                }\n\n                value.then(onResolve, onReject);\n              }\n            } catch (err) {\n              _didIteratorError = true;\n              _iteratorError = err;\n            } finally {\n              try {\n                if (!_iteratorNormalCompletion && _iterator.return != null) {\n                  _iterator.return();\n                }\n              } finally {\n                if (_didIteratorError) {\n                  throw _iteratorError;\n                }\n              }\n            }\n\n            return promise;\n          }\n        }, {\n          key: \"all\",\n          value: function all(values) {\n            var _this = this;\n\n            var resolve;\n            var reject;\n            var promise = new this(function (res, rej) {\n              resolve = res;\n              reject = rej;\n            }); // Start at 2 to prevent prematurely resolving if .then is called immediately.\n\n            var unresolvedCount = 2;\n            var valueIndex = 0;\n            var resolvedValues = [];\n            var _iteratorNormalCompletion2 = true;\n            var _didIteratorError2 = false;\n            var _iteratorError2 = undefined;\n\n            try {\n              var _loop2 = function _loop2() {\n                var value = _step2.value;\n\n                if (!isThenable(value)) {\n                  value = _this.resolve(value);\n                }\n\n                var curValueIndex = valueIndex;\n                value.then(function (value) {\n                  resolvedValues[curValueIndex] = value;\n                  unresolvedCount--;\n\n                  if (unresolvedCount === 0) {\n                    resolve(resolvedValues);\n                  }\n                }, reject);\n                unresolvedCount++;\n                valueIndex++;\n              };\n\n              for (var _iterator2 = values[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {\n                _loop2();\n              } // Make the unresolvedCount zero-based again.\n\n            } catch (err) {\n              _didIteratorError2 = true;\n              _iteratorError2 = err;\n            } finally {\n              try {\n                if (!_iteratorNormalCompletion2 && _iterator2.return != null) {\n                  _iterator2.return();\n                }\n              } finally {\n                if (_didIteratorError2) {\n                  throw _iteratorError2;\n                }\n              }\n            }\n\n            unresolvedCount -= 2;\n\n            if (unresolvedCount === 0) {\n              resolve(resolvedValues);\n            }\n\n            return promise;\n          }\n        }]);\n\n        return ZoneAwarePromise;\n      }(); // Protect against aggressive optimizers dropping seemingly unused properties.\n      // E.g. Closure Compiler in advanced mode.\n\n\n      ZoneAwarePromise['resolve'] = ZoneAwarePromise.resolve;\n      ZoneAwarePromise['reject'] = ZoneAwarePromise.reject;\n      ZoneAwarePromise['race'] = ZoneAwarePromise.race;\n      ZoneAwarePromise['all'] = ZoneAwarePromise.all;\n      var NativePromise = global[symbolPromise] = global['Promise'];\n\n      var ZONE_AWARE_PROMISE = Zone.__symbol__('ZoneAwarePromise');\n\n      var desc = ObjectGetOwnPropertyDescriptor(global, 'Promise');\n\n      if (!desc || desc.configurable) {\n        desc && delete desc.writable;\n        desc && delete desc.value;\n\n        if (!desc) {\n          desc = {\n            configurable: true,\n            enumerable: true\n          };\n        }\n\n        desc.get = function () {\n          // if we already set ZoneAwarePromise, use patched one\n          // otherwise return native one.\n          return global[ZONE_AWARE_PROMISE] ? global[ZONE_AWARE_PROMISE] : global[symbolPromise];\n        };\n\n        desc.set = function (NewNativePromise) {\n          if (NewNativePromise === ZoneAwarePromise) {\n            // if the NewNativePromise is ZoneAwarePromise\n            // save to global\n            global[ZONE_AWARE_PROMISE] = NewNativePromise;\n          } else {\n            // if the NewNativePromise is not ZoneAwarePromise\n            // for example: after load zone.js, some library just\n            // set es6-promise to global, if we set it to global\n            // directly, assertZonePatched will fail and angular\n            // will not loaded, so we just set the NewNativePromise\n            // to global[symbolPromise], so the result is just like\n            // we load ES6 Promise before zone.js\n            global[symbolPromise] = NewNativePromise;\n\n            if (!NewNativePromise.prototype[symbolThen]) {\n              patchThen(NewNativePromise);\n            }\n\n            api.setNativePromise(NewNativePromise);\n          }\n        };\n\n        ObjectDefineProperty(global, 'Promise', desc);\n      }\n\n      global['Promise'] = ZoneAwarePromise;\n\n      var symbolThenPatched = __symbol__('thenPatched');\n\n      function patchThen(Ctor) {\n        var proto = Ctor.prototype;\n        var prop = ObjectGetOwnPropertyDescriptor(proto, 'then');\n\n        if (prop && (prop.writable === false || !prop.configurable)) {\n          // check Ctor.prototype.then propertyDescriptor is writable or not\n          // in meteor env, writable is false, we should ignore such case\n          return;\n        }\n\n        var originalThen = proto.then; // Keep a reference to the original method.\n\n        proto[symbolThen] = originalThen;\n\n        Ctor.prototype.then = function (onResolve, onReject) {\n          var _this2 = this;\n\n          var wrapped = new ZoneAwarePromise(function (resolve, reject) {\n            originalThen.call(_this2, resolve, reject);\n          });\n          return wrapped.then(onResolve, onReject);\n        };\n\n        Ctor[symbolThenPatched] = true;\n      }\n\n      api.patchThen = patchThen;\n\n      function zoneify(fn) {\n        return function () {\n          var resultPromise = fn.apply(this, arguments);\n\n          if (resultPromise instanceof ZoneAwarePromise) {\n            return resultPromise;\n          }\n\n          var ctor = resultPromise.constructor;\n\n          if (!ctor[symbolThenPatched]) {\n            patchThen(ctor);\n          }\n\n          return resultPromise;\n        };\n      }\n\n      if (NativePromise) {\n        patchThen(NativePromise);\n        var fetch = global['fetch'];\n\n        if (typeof fetch == 'function') {\n          global[api.symbol('fetch')] = fetch;\n          global['fetch'] = zoneify(fetch);\n        }\n      } // This is not part of public API, but it is useful for tests, so we expose it.\n\n\n      Promise[Zone.__symbol__('uncaughtPromiseErrors')] = _uncaughtPromiseErrors;\n      return ZoneAwarePromise;\n    });\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * Suppress closure compiler errors about unknown 'Zone' variable\n     * @fileoverview\n     * @suppress {undefinedVars,globalThis,missingRequire}\n     */\n    // issue #989, to reduce bundle size, use short name\n\n    /** Object.getOwnPropertyDescriptor */\n\n\n    var ObjectGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n    /** Object.defineProperty */\n\n    var ObjectDefineProperty = Object.defineProperty;\n    /** Object.getPrototypeOf */\n\n    var ObjectGetPrototypeOf = Object.getPrototypeOf;\n    /** Object.create */\n\n    var ObjectCreate = Object.create;\n    /** Array.prototype.slice */\n\n    var ArraySlice = Array.prototype.slice;\n    /** addEventListener string const */\n\n    var ADD_EVENT_LISTENER_STR = 'addEventListener';\n    /** removeEventListener string const */\n\n    var REMOVE_EVENT_LISTENER_STR = 'removeEventListener';\n    /** zoneSymbol addEventListener */\n\n    var ZONE_SYMBOL_ADD_EVENT_LISTENER = Zone.__symbol__(ADD_EVENT_LISTENER_STR);\n    /** zoneSymbol removeEventListener */\n\n\n    var ZONE_SYMBOL_REMOVE_EVENT_LISTENER = Zone.__symbol__(REMOVE_EVENT_LISTENER_STR);\n    /** true string const */\n\n\n    var TRUE_STR = 'true';\n    /** false string const */\n\n    var FALSE_STR = 'false';\n    /** __zone_symbol__ string const */\n\n    var ZONE_SYMBOL_PREFIX = '__zone_symbol__';\n\n    function wrapWithCurrentZone(callback, source) {\n      return Zone.current.wrap(callback, source);\n    }\n\n    function scheduleMacroTaskWithCurrentZone(source, callback, data, customSchedule, customCancel) {\n      return Zone.current.scheduleMacroTask(source, callback, data, customSchedule, customCancel);\n    }\n\n    var zoneSymbol = Zone.__symbol__;\n    var isWindowExists = typeof window !== 'undefined';\n    var internalWindow = isWindowExists ? window : undefined;\n\n    var _global = isWindowExists && internalWindow || typeof self === 'object' && self || global;\n\n    var REMOVE_ATTRIBUTE = 'removeAttribute';\n    var NULL_ON_PROP_VALUE = [null];\n\n    function bindArguments(args, source) {\n      for (var i = args.length - 1; i >= 0; i--) {\n        if (typeof args[i] === 'function') {\n          args[i] = wrapWithCurrentZone(args[i], source + '_' + i);\n        }\n      }\n\n      return args;\n    }\n\n    function patchPrototype(prototype, fnNames) {\n      var source = prototype.constructor['name'];\n\n      var _loop3 = function _loop3(i) {\n        var name = fnNames[i];\n        var delegate = prototype[name];\n\n        if (delegate) {\n          var prototypeDesc = ObjectGetOwnPropertyDescriptor(prototype, name);\n\n          if (!isPropertyWritable(prototypeDesc)) {\n            return \"continue\";\n          }\n\n          prototype[name] = function (delegate) {\n            var patched = function patched() {\n              return delegate.apply(this, bindArguments(arguments, source + '.' + name));\n            };\n\n            attachOriginToPatched(patched, delegate);\n            return patched;\n          }(delegate);\n        }\n      };\n\n      for (var i = 0; i < fnNames.length; i++) {\n        var _ret = _loop3(i);\n\n        if (_ret === \"continue\") continue;\n      }\n    }\n\n    function isPropertyWritable(propertyDesc) {\n      if (!propertyDesc) {\n        return true;\n      }\n\n      if (propertyDesc.writable === false) {\n        return false;\n      }\n\n      return !(typeof propertyDesc.get === 'function' && typeof propertyDesc.set === 'undefined');\n    }\n\n    var isWebWorker = typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope; // Make sure to access `process` through `_global` so that WebPack does not accidentally browserify\n    // this code.\n\n    var isNode = !('nw' in _global) && typeof _global.process !== 'undefined' && {}.toString.call(_global.process) === '[object process]';\n    var isBrowser = !isNode && !isWebWorker && !!(isWindowExists && internalWindow['HTMLElement']); // we are in electron of nw, so we are both browser and nodejs\n    // Make sure to access `process` through `_global` so that WebPack does not accidentally browserify\n    // this code.\n\n    var isMix = typeof _global.process !== 'undefined' && {}.toString.call(_global.process) === '[object process]' && !isWebWorker && !!(isWindowExists && internalWindow['HTMLElement']);\n    var zoneSymbolEventNames = {};\n\n    var wrapFn = function wrapFn(event) {\n      // https://github.com/angular/zone.js/issues/911, in IE, sometimes\n      // event will be undefined, so we need to use window.event\n      event = event || _global.event;\n\n      if (!event) {\n        return;\n      }\n\n      var eventNameSymbol = zoneSymbolEventNames[event.type];\n\n      if (!eventNameSymbol) {\n        eventNameSymbol = zoneSymbolEventNames[event.type] = zoneSymbol('ON_PROPERTY' + event.type);\n      }\n\n      var target = this || event.target || _global;\n      var listener = target[eventNameSymbol];\n      var result;\n\n      if (isBrowser && target === internalWindow && event.type === 'error') {\n        // window.onerror have different signiture\n        // https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror#window.onerror\n        // and onerror callback will prevent default when callback return true\n        var errorEvent = event;\n        result = listener && listener.call(this, errorEvent.message, errorEvent.filename, errorEvent.lineno, errorEvent.colno, errorEvent.error);\n\n        if (result === true) {\n          event.preventDefault();\n        }\n      } else {\n        result = listener && listener.apply(this, arguments);\n\n        if (result != undefined && !result) {\n          event.preventDefault();\n        }\n      }\n\n      return result;\n    };\n\n    function patchProperty(obj, prop, prototype) {\n      var desc = ObjectGetOwnPropertyDescriptor(obj, prop);\n\n      if (!desc && prototype) {\n        // when patch window object, use prototype to check prop exist or not\n        var prototypeDesc = ObjectGetOwnPropertyDescriptor(prototype, prop);\n\n        if (prototypeDesc) {\n          desc = {\n            enumerable: true,\n            configurable: true\n          };\n        }\n      } // if the descriptor not exists or is not configurable\n      // just return\n\n\n      if (!desc || !desc.configurable) {\n        return;\n      }\n\n      var onPropPatchedSymbol = zoneSymbol('on' + prop + 'patched');\n\n      if (obj.hasOwnProperty(onPropPatchedSymbol) && obj[onPropPatchedSymbol]) {\n        return;\n      } // A property descriptor cannot have getter/setter and be writable\n      // deleting the writable and value properties avoids this error:\n      //\n      // TypeError: property descriptors must not specify a value or be writable when a\n      // getter or setter has been specified\n\n\n      delete desc.writable;\n      delete desc.value;\n      var originalDescGet = desc.get;\n      var originalDescSet = desc.set; // substr(2) cuz 'onclick' -> 'click', etc\n\n      var eventName = prop.substr(2);\n      var eventNameSymbol = zoneSymbolEventNames[eventName];\n\n      if (!eventNameSymbol) {\n        eventNameSymbol = zoneSymbolEventNames[eventName] = zoneSymbol('ON_PROPERTY' + eventName);\n      }\n\n      desc.set = function (newValue) {\n        // in some of windows's onproperty callback, this is undefined\n        // so we need to check it\n        var target = this;\n\n        if (!target && obj === _global) {\n          target = _global;\n        }\n\n        if (!target) {\n          return;\n        }\n\n        var previousValue = target[eventNameSymbol];\n\n        if (previousValue) {\n          target.removeEventListener(eventName, wrapFn);\n        } // issue #978, when onload handler was added before loading zone.js\n        // we should remove it with originalDescSet\n\n\n        if (originalDescSet) {\n          originalDescSet.apply(target, NULL_ON_PROP_VALUE);\n        }\n\n        if (typeof newValue === 'function') {\n          target[eventNameSymbol] = newValue;\n          target.addEventListener(eventName, wrapFn, false);\n        } else {\n          target[eventNameSymbol] = null;\n        }\n      }; // The getter would return undefined for unassigned properties but the default value of an\n      // unassigned property is null\n\n\n      desc.get = function () {\n        // in some of windows's onproperty callback, this is undefined\n        // so we need to check it\n        var target = this;\n\n        if (!target && obj === _global) {\n          target = _global;\n        }\n\n        if (!target) {\n          return null;\n        }\n\n        var listener = target[eventNameSymbol];\n\n        if (listener) {\n          return listener;\n        } else if (originalDescGet) {\n          // result will be null when use inline event attribute,\n          // such as <button onclick=\"func();\">OK</button>\n          // because the onclick function is internal raw uncompiled handler\n          // the onclick will be evaluated when first time event was triggered or\n          // the property is accessed, https://github.com/angular/zone.js/issues/525\n          // so we should use original native get to retrieve the handler\n          var value = originalDescGet && originalDescGet.call(this);\n\n          if (value) {\n            desc.set.call(this, value);\n\n            if (typeof target[REMOVE_ATTRIBUTE] === 'function') {\n              target.removeAttribute(prop);\n            }\n\n            return value;\n          }\n        }\n\n        return null;\n      };\n\n      ObjectDefineProperty(obj, prop, desc);\n      obj[onPropPatchedSymbol] = true;\n    }\n\n    function patchOnProperties(obj, properties, prototype) {\n      if (properties) {\n        for (var i = 0; i < properties.length; i++) {\n          patchProperty(obj, 'on' + properties[i], prototype);\n        }\n      } else {\n        var onProperties = [];\n\n        for (var prop in obj) {\n          if (prop.substr(0, 2) == 'on') {\n            onProperties.push(prop);\n          }\n        }\n\n        for (var j = 0; j < onProperties.length; j++) {\n          patchProperty(obj, onProperties[j], prototype);\n        }\n      }\n    }\n\n    var originalInstanceKey = zoneSymbol('originalInstance'); // wrap some native API on `window`\n\n    function patchClass(className) {\n      var OriginalClass = _global[className];\n      if (!OriginalClass) return; // keep original class in global\n\n      _global[zoneSymbol(className)] = OriginalClass;\n\n      _global[className] = function () {\n        var a = bindArguments(arguments, className);\n\n        switch (a.length) {\n          case 0:\n            this[originalInstanceKey] = new OriginalClass();\n            break;\n\n          case 1:\n            this[originalInstanceKey] = new OriginalClass(a[0]);\n            break;\n\n          case 2:\n            this[originalInstanceKey] = new OriginalClass(a[0], a[1]);\n            break;\n\n          case 3:\n            this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2]);\n            break;\n\n          case 4:\n            this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2], a[3]);\n            break;\n\n          default:\n            throw new Error('Arg list too long.');\n        }\n      }; // attach original delegate to patched function\n\n\n      attachOriginToPatched(_global[className], OriginalClass);\n      var instance = new OriginalClass(function () {});\n      var prop;\n\n      for (prop in instance) {\n        // https://bugs.webkit.org/show_bug.cgi?id=44721\n        if (className === 'XMLHttpRequest' && prop === 'responseBlob') continue;\n\n        (function (prop) {\n          if (typeof instance[prop] === 'function') {\n            _global[className].prototype[prop] = function () {\n              return this[originalInstanceKey][prop].apply(this[originalInstanceKey], arguments);\n            };\n          } else {\n            ObjectDefineProperty(_global[className].prototype, prop, {\n              set: function set(fn) {\n                if (typeof fn === 'function') {\n                  this[originalInstanceKey][prop] = wrapWithCurrentZone(fn, className + '.' + prop); // keep callback in wrapped function so we can\n                  // use it in Function.prototype.toString to return\n                  // the native one.\n\n                  attachOriginToPatched(this[originalInstanceKey][prop], fn);\n                } else {\n                  this[originalInstanceKey][prop] = fn;\n                }\n              },\n              get: function get() {\n                return this[originalInstanceKey][prop];\n              }\n            });\n          }\n        })(prop);\n      }\n\n      for (prop in OriginalClass) {\n        if (prop !== 'prototype' && OriginalClass.hasOwnProperty(prop)) {\n          _global[className][prop] = OriginalClass[prop];\n        }\n      }\n    }\n\n    function copySymbolProperties(src, dest) {\n      if (typeof Object.getOwnPropertySymbols !== 'function') {\n        return;\n      }\n\n      var symbols = Object.getOwnPropertySymbols(src);\n      symbols.forEach(function (symbol) {\n        var desc = Object.getOwnPropertyDescriptor(src, symbol);\n        Object.defineProperty(dest, symbol, {\n          get: function get() {\n            return src[symbol];\n          },\n          set: function set(value) {\n            if (desc && (!desc.writable || typeof desc.set !== 'function')) {\n              // if src[symbol] is not writable or not have a setter, just return\n              return;\n            }\n\n            src[symbol] = value;\n          },\n          enumerable: desc ? desc.enumerable : true,\n          configurable: desc ? desc.configurable : true\n        });\n      });\n    }\n\n    var shouldCopySymbolProperties = false;\n\n    function patchMethod(target, name, patchFn) {\n      var proto = target;\n\n      while (proto && !proto.hasOwnProperty(name)) {\n        proto = ObjectGetPrototypeOf(proto);\n      }\n\n      if (!proto && target[name]) {\n        // somehow we did not find it, but we can see it. This happens on IE for Window properties.\n        proto = target;\n      }\n\n      var delegateName = zoneSymbol(name);\n      var delegate = null;\n\n      if (proto && !(delegate = proto[delegateName])) {\n        delegate = proto[delegateName] = proto[name]; // check whether proto[name] is writable\n        // some property is readonly in safari, such as HtmlCanvasElement.prototype.toBlob\n\n        var desc = proto && ObjectGetOwnPropertyDescriptor(proto, name);\n\n        if (isPropertyWritable(desc)) {\n          var patchDelegate = patchFn(delegate, delegateName, name);\n\n          proto[name] = function () {\n            return patchDelegate(this, arguments);\n          };\n\n          attachOriginToPatched(proto[name], delegate);\n\n          if (shouldCopySymbolProperties) {\n            copySymbolProperties(delegate, proto[name]);\n          }\n        }\n      }\n\n      return delegate;\n    } // TODO: @JiaLiPassion, support cancel task later if necessary\n\n\n    function patchMacroTask(obj, funcName, metaCreator) {\n      var setNative = null;\n\n      function scheduleTask(task) {\n        var data = task.data;\n\n        data.args[data.cbIdx] = function () {\n          task.invoke.apply(this, arguments);\n        };\n\n        setNative.apply(data.target, data.args);\n        return task;\n      }\n\n      setNative = patchMethod(obj, funcName, function (delegate) {\n        return function (self, args) {\n          var meta = metaCreator(self, args);\n\n          if (meta.cbIdx >= 0 && typeof args[meta.cbIdx] === 'function') {\n            return scheduleMacroTaskWithCurrentZone(meta.name, args[meta.cbIdx], meta, scheduleTask);\n          } else {\n            // cause an error by calling it directly.\n            return delegate.apply(self, args);\n          }\n        };\n      });\n    }\n\n    function attachOriginToPatched(patched, original) {\n      patched[zoneSymbol('OriginalDelegate')] = original;\n    }\n\n    var isDetectedIEOrEdge = false;\n    var ieOrEdge = false;\n\n    function isIE() {\n      try {\n        var ua = internalWindow.navigator.userAgent;\n\n        if (ua.indexOf('MSIE ') !== -1 || ua.indexOf('Trident/') !== -1) {\n          return true;\n        }\n      } catch (error) {}\n\n      return false;\n    }\n\n    function isIEOrEdge() {\n      if (isDetectedIEOrEdge) {\n        return ieOrEdge;\n      }\n\n      isDetectedIEOrEdge = true;\n\n      try {\n        var ua = internalWindow.navigator.userAgent;\n\n        if (ua.indexOf('MSIE ') !== -1 || ua.indexOf('Trident/') !== -1 || ua.indexOf('Edge/') !== -1) {\n          ieOrEdge = true;\n        }\n      } catch (error) {}\n\n      return ieOrEdge;\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n    // override Function.prototype.toString to make zone.js patched function\n    // look like native function\n\n\n    Zone.__load_patch('toString', function (global) {\n      // patch Func.prototype.toString to let them look like native\n      var originalFunctionToString = Function.prototype.toString;\n      var ORIGINAL_DELEGATE_SYMBOL = zoneSymbol('OriginalDelegate');\n      var PROMISE_SYMBOL = zoneSymbol('Promise');\n      var ERROR_SYMBOL = zoneSymbol('Error');\n\n      var newFunctionToString = function toString() {\n        if (typeof this === 'function') {\n          var originalDelegate = this[ORIGINAL_DELEGATE_SYMBOL];\n\n          if (originalDelegate) {\n            if (typeof originalDelegate === 'function') {\n              return originalFunctionToString.call(originalDelegate);\n            } else {\n              return Object.prototype.toString.call(originalDelegate);\n            }\n          }\n\n          if (this === Promise) {\n            var nativePromise = global[PROMISE_SYMBOL];\n\n            if (nativePromise) {\n              return originalFunctionToString.call(nativePromise);\n            }\n          }\n\n          if (this === Error) {\n            var nativeError = global[ERROR_SYMBOL];\n\n            if (nativeError) {\n              return originalFunctionToString.call(nativeError);\n            }\n          }\n        }\n\n        return originalFunctionToString.call(this);\n      };\n\n      newFunctionToString[ORIGINAL_DELEGATE_SYMBOL] = originalFunctionToString;\n      Function.prototype.toString = newFunctionToString; // patch Object.prototype.toString to let them look like native\n\n      var originalObjectToString = Object.prototype.toString;\n      var PROMISE_OBJECT_TO_STRING = '[object Promise]';\n\n      Object.prototype.toString = function () {\n        if (this instanceof Promise) {\n          return PROMISE_OBJECT_TO_STRING;\n        }\n\n        return originalObjectToString.call(this);\n      };\n    });\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * @fileoverview\n     * @suppress {missingRequire}\n     */\n\n\n    var passiveSupported = false;\n\n    if (typeof window !== 'undefined') {\n      try {\n        var options = Object.defineProperty({}, 'passive', {\n          get: function get() {\n            passiveSupported = true;\n          }\n        });\n        window.addEventListener('test', options, options);\n        window.removeEventListener('test', options, options);\n      } catch (err) {\n        passiveSupported = false;\n      }\n    } // an identifier to tell ZoneTask do not create a new invoke closure\n\n\n    var OPTIMIZED_ZONE_EVENT_TASK_DATA = {\n      useG: true\n    };\n    var zoneSymbolEventNames$1 = {};\n    var globalSources = {};\n    var EVENT_NAME_SYMBOL_REGX = /^__zone_symbol__(\\w+)(true|false)$/;\n    var IMMEDIATE_PROPAGATION_SYMBOL = '__zone_symbol__propagationStopped';\n\n    function patchEventTarget(_global, apis, patchOptions) {\n      var ADD_EVENT_LISTENER = patchOptions && patchOptions.add || ADD_EVENT_LISTENER_STR;\n      var REMOVE_EVENT_LISTENER = patchOptions && patchOptions.rm || REMOVE_EVENT_LISTENER_STR;\n      var LISTENERS_EVENT_LISTENER = patchOptions && patchOptions.listeners || 'eventListeners';\n      var REMOVE_ALL_LISTENERS_EVENT_LISTENER = patchOptions && patchOptions.rmAll || 'removeAllListeners';\n      var zoneSymbolAddEventListener = zoneSymbol(ADD_EVENT_LISTENER);\n      var ADD_EVENT_LISTENER_SOURCE = '.' + ADD_EVENT_LISTENER + ':';\n      var PREPEND_EVENT_LISTENER = 'prependListener';\n      var PREPEND_EVENT_LISTENER_SOURCE = '.' + PREPEND_EVENT_LISTENER + ':';\n\n      var invokeTask = function invokeTask(task, target, event) {\n        // for better performance, check isRemoved which is set\n        // by removeEventListener\n        if (task.isRemoved) {\n          return;\n        }\n\n        var delegate = task.callback;\n\n        if (typeof delegate === 'object' && delegate.handleEvent) {\n          // create the bind version of handleEvent when invoke\n          task.callback = function (event) {\n            return delegate.handleEvent(event);\n          };\n\n          task.originalDelegate = delegate;\n        } // invoke static task.invoke\n\n\n        task.invoke(task, target, [event]);\n        var options = task.options;\n\n        if (options && typeof options === 'object' && options.once) {\n          // if options.once is true, after invoke once remove listener here\n          // only browser need to do this, nodejs eventEmitter will cal removeListener\n          // inside EventEmitter.once\n          var _delegate = task.originalDelegate ? task.originalDelegate : task.callback;\n\n          target[REMOVE_EVENT_LISTENER].call(target, event.type, _delegate, options);\n        }\n      }; // global shared zoneAwareCallback to handle all event callback with capture = false\n\n\n      var globalZoneAwareCallback = function globalZoneAwareCallback(event) {\n        // https://github.com/angular/zone.js/issues/911, in IE, sometimes\n        // event will be undefined, so we need to use window.event\n        event = event || _global.event;\n\n        if (!event) {\n          return;\n        } // event.target is needed for Samsung TV and SourceBuffer\n        // || global is needed https://github.com/angular/zone.js/issues/190\n\n\n        var target = this || event.target || _global;\n        var tasks = target[zoneSymbolEventNames$1[event.type][FALSE_STR]];\n\n        if (tasks) {\n          // invoke all tasks which attached to current target with given event.type and capture = false\n          // for performance concern, if task.length === 1, just invoke\n          if (tasks.length === 1) {\n            invokeTask(tasks[0], target, event);\n          } else {\n            // https://github.com/angular/zone.js/issues/836\n            // copy the tasks array before invoke, to avoid\n            // the callback will remove itself or other listener\n            var copyTasks = tasks.slice();\n\n            for (var i = 0; i < copyTasks.length; i++) {\n              if (event && event[IMMEDIATE_PROPAGATION_SYMBOL] === true) {\n                break;\n              }\n\n              invokeTask(copyTasks[i], target, event);\n            }\n          }\n        }\n      }; // global shared zoneAwareCallback to handle all event callback with capture = true\n\n\n      var globalZoneAwareCaptureCallback = function globalZoneAwareCaptureCallback(event) {\n        // https://github.com/angular/zone.js/issues/911, in IE, sometimes\n        // event will be undefined, so we need to use window.event\n        event = event || _global.event;\n\n        if (!event) {\n          return;\n        } // event.target is needed for Samsung TV and SourceBuffer\n        // || global is needed https://github.com/angular/zone.js/issues/190\n\n\n        var target = this || event.target || _global;\n        var tasks = target[zoneSymbolEventNames$1[event.type][TRUE_STR]];\n\n        if (tasks) {\n          // invoke all tasks which attached to current target with given event.type and capture = false\n          // for performance concern, if task.length === 1, just invoke\n          if (tasks.length === 1) {\n            invokeTask(tasks[0], target, event);\n          } else {\n            // https://github.com/angular/zone.js/issues/836\n            // copy the tasks array before invoke, to avoid\n            // the callback will remove itself or other listener\n            var copyTasks = tasks.slice();\n\n            for (var i = 0; i < copyTasks.length; i++) {\n              if (event && event[IMMEDIATE_PROPAGATION_SYMBOL] === true) {\n                break;\n              }\n\n              invokeTask(copyTasks[i], target, event);\n            }\n          }\n        }\n      };\n\n      function patchEventTargetMethods(obj, patchOptions) {\n        if (!obj) {\n          return false;\n        }\n\n        var useGlobalCallback = true;\n\n        if (patchOptions && patchOptions.useG !== undefined) {\n          useGlobalCallback = patchOptions.useG;\n        }\n\n        var validateHandler = patchOptions && patchOptions.vh;\n        var checkDuplicate = true;\n\n        if (patchOptions && patchOptions.chkDup !== undefined) {\n          checkDuplicate = patchOptions.chkDup;\n        }\n\n        var returnTarget = false;\n\n        if (patchOptions && patchOptions.rt !== undefined) {\n          returnTarget = patchOptions.rt;\n        }\n\n        var proto = obj;\n\n        while (proto && !proto.hasOwnProperty(ADD_EVENT_LISTENER)) {\n          proto = ObjectGetPrototypeOf(proto);\n        }\n\n        if (!proto && obj[ADD_EVENT_LISTENER]) {\n          // somehow we did not find it, but we can see it. This happens on IE for Window properties.\n          proto = obj;\n        }\n\n        if (!proto) {\n          return false;\n        }\n\n        if (proto[zoneSymbolAddEventListener]) {\n          return false;\n        }\n\n        var eventNameToString = patchOptions && patchOptions.eventNameToString; // a shared global taskData to pass data for scheduleEventTask\n        // so we do not need to create a new object just for pass some data\n\n        var taskData = {};\n        var nativeAddEventListener = proto[zoneSymbolAddEventListener] = proto[ADD_EVENT_LISTENER];\n        var nativeRemoveEventListener = proto[zoneSymbol(REMOVE_EVENT_LISTENER)] = proto[REMOVE_EVENT_LISTENER];\n        var nativeListeners = proto[zoneSymbol(LISTENERS_EVENT_LISTENER)] = proto[LISTENERS_EVENT_LISTENER];\n        var nativeRemoveAllListeners = proto[zoneSymbol(REMOVE_ALL_LISTENERS_EVENT_LISTENER)] = proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER];\n        var nativePrependEventListener;\n\n        if (patchOptions && patchOptions.prepend) {\n          nativePrependEventListener = proto[zoneSymbol(patchOptions.prepend)] = proto[patchOptions.prepend];\n        }\n\n        function checkIsPassive(task) {\n          if (!passiveSupported && typeof taskData.options !== 'boolean' && typeof taskData.options !== 'undefined' && taskData.options !== null) {\n            // options is a non-null non-undefined object\n            // passive is not supported\n            // don't pass options as object\n            // just pass capture as a boolean\n            task.options = !!taskData.options.capture;\n            taskData.options = task.options;\n          }\n        }\n\n        var customScheduleGlobal = function customScheduleGlobal(task) {\n          // if there is already a task for the eventName + capture,\n          // just return, because we use the shared globalZoneAwareCallback here.\n          if (taskData.isExisting) {\n            return;\n          }\n\n          checkIsPassive(task);\n          return nativeAddEventListener.call(taskData.target, taskData.eventName, taskData.capture ? globalZoneAwareCaptureCallback : globalZoneAwareCallback, taskData.options);\n        };\n\n        var customCancelGlobal = function customCancelGlobal(task) {\n          // if task is not marked as isRemoved, this call is directly\n          // from Zone.prototype.cancelTask, we should remove the task\n          // from tasksList of target first\n          if (!task.isRemoved) {\n            var symbolEventNames = zoneSymbolEventNames$1[task.eventName];\n            var symbolEventName;\n\n            if (symbolEventNames) {\n              symbolEventName = symbolEventNames[task.capture ? TRUE_STR : FALSE_STR];\n            }\n\n            var existingTasks = symbolEventName && task.target[symbolEventName];\n\n            if (existingTasks) {\n              for (var i = 0; i < existingTasks.length; i++) {\n                var existingTask = existingTasks[i];\n\n                if (existingTask === task) {\n                  existingTasks.splice(i, 1); // set isRemoved to data for faster invokeTask check\n\n                  task.isRemoved = true;\n\n                  if (existingTasks.length === 0) {\n                    // all tasks for the eventName + capture have gone,\n                    // remove globalZoneAwareCallback and remove the task cache from target\n                    task.allRemoved = true;\n                    task.target[symbolEventName] = null;\n                  }\n\n                  break;\n                }\n              }\n            }\n          } // if all tasks for the eventName + capture have gone,\n          // we will really remove the global event callback,\n          // if not, return\n\n\n          if (!task.allRemoved) {\n            return;\n          }\n\n          return nativeRemoveEventListener.call(task.target, task.eventName, task.capture ? globalZoneAwareCaptureCallback : globalZoneAwareCallback, task.options);\n        };\n\n        var customScheduleNonGlobal = function customScheduleNonGlobal(task) {\n          checkIsPassive(task);\n          return nativeAddEventListener.call(taskData.target, taskData.eventName, task.invoke, taskData.options);\n        };\n\n        var customSchedulePrepend = function customSchedulePrepend(task) {\n          return nativePrependEventListener.call(taskData.target, taskData.eventName, task.invoke, taskData.options);\n        };\n\n        var customCancelNonGlobal = function customCancelNonGlobal(task) {\n          return nativeRemoveEventListener.call(task.target, task.eventName, task.invoke, task.options);\n        };\n\n        var customSchedule = useGlobalCallback ? customScheduleGlobal : customScheduleNonGlobal;\n        var customCancel = useGlobalCallback ? customCancelGlobal : customCancelNonGlobal;\n\n        var compareTaskCallbackVsDelegate = function compareTaskCallbackVsDelegate(task, delegate) {\n          var typeOfDelegate = typeof delegate;\n          return typeOfDelegate === 'function' && task.callback === delegate || typeOfDelegate === 'object' && task.originalDelegate === delegate;\n        };\n\n        var compare = patchOptions && patchOptions.diff ? patchOptions.diff : compareTaskCallbackVsDelegate;\n\n        var blackListedEvents = Zone[Zone.__symbol__('BLACK_LISTED_EVENTS')];\n\n        var makeAddListener = function makeAddListener(nativeListener, addSource, customScheduleFn, customCancelFn) {\n          var returnTarget = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;\n          var prepend = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : false;\n          return function () {\n            var target = this || _global;\n            var eventName = arguments[0];\n            var delegate = arguments[1];\n\n            if (!delegate) {\n              return nativeListener.apply(this, arguments);\n            }\n\n            if (isNode && eventName === 'uncaughtException') {\n              // don't patch uncaughtException of nodejs to prevent endless loop\n              return nativeListener.apply(this, arguments);\n            } // don't create the bind delegate function for handleEvent\n            // case here to improve addEventListener performance\n            // we will create the bind delegate when invoke\n\n\n            var isHandleEvent = false;\n\n            if (typeof delegate !== 'function') {\n              if (!delegate.handleEvent) {\n                return nativeListener.apply(this, arguments);\n              }\n\n              isHandleEvent = true;\n            }\n\n            if (validateHandler && !validateHandler(nativeListener, delegate, target, arguments)) {\n              return;\n            }\n\n            var options = arguments[2];\n\n            if (blackListedEvents) {\n              // check black list\n              for (var i = 0; i < blackListedEvents.length; i++) {\n                if (eventName === blackListedEvents[i]) {\n                  return nativeListener.apply(this, arguments);\n                }\n              }\n            }\n\n            var capture;\n            var once = false;\n\n            if (options === undefined) {\n              capture = false;\n            } else if (options === true) {\n              capture = true;\n            } else if (options === false) {\n              capture = false;\n            } else {\n              capture = options ? !!options.capture : false;\n              once = options ? !!options.once : false;\n            }\n\n            var zone = Zone.current;\n            var symbolEventNames = zoneSymbolEventNames$1[eventName];\n            var symbolEventName;\n\n            if (!symbolEventNames) {\n              // the code is duplicate, but I just want to get some better performance\n              var falseEventName = (eventNameToString ? eventNameToString(eventName) : eventName) + FALSE_STR;\n              var trueEventName = (eventNameToString ? eventNameToString(eventName) : eventName) + TRUE_STR;\n              var symbol = ZONE_SYMBOL_PREFIX + falseEventName;\n              var symbolCapture = ZONE_SYMBOL_PREFIX + trueEventName;\n              zoneSymbolEventNames$1[eventName] = {};\n              zoneSymbolEventNames$1[eventName][FALSE_STR] = symbol;\n              zoneSymbolEventNames$1[eventName][TRUE_STR] = symbolCapture;\n              symbolEventName = capture ? symbolCapture : symbol;\n            } else {\n              symbolEventName = symbolEventNames[capture ? TRUE_STR : FALSE_STR];\n            }\n\n            var existingTasks = target[symbolEventName];\n            var isExisting = false;\n\n            if (existingTasks) {\n              // already have task registered\n              isExisting = true;\n\n              if (checkDuplicate) {\n                for (var _i = 0; _i < existingTasks.length; _i++) {\n                  if (compare(existingTasks[_i], delegate)) {\n                    // same callback, same capture, same event name, just return\n                    return;\n                  }\n                }\n              }\n            } else {\n              existingTasks = target[symbolEventName] = [];\n            }\n\n            var source;\n            var constructorName = target.constructor['name'];\n            var targetSource = globalSources[constructorName];\n\n            if (targetSource) {\n              source = targetSource[eventName];\n            }\n\n            if (!source) {\n              source = constructorName + addSource + (eventNameToString ? eventNameToString(eventName) : eventName);\n            } // do not create a new object as task.data to pass those things\n            // just use the global shared one\n\n\n            taskData.options = options;\n\n            if (once) {\n              // if addEventListener with once options, we don't pass it to\n              // native addEventListener, instead we keep the once setting\n              // and handle ourselves.\n              taskData.options.once = false;\n            }\n\n            taskData.target = target;\n            taskData.capture = capture;\n            taskData.eventName = eventName;\n            taskData.isExisting = isExisting;\n            var data = useGlobalCallback ? OPTIMIZED_ZONE_EVENT_TASK_DATA : undefined; // keep taskData into data to allow onScheduleEventTask to access the task information\n\n            if (data) {\n              data.taskData = taskData;\n            }\n\n            var task = zone.scheduleEventTask(source, delegate, data, customScheduleFn, customCancelFn); // should clear taskData.target to avoid memory leak\n            // issue, https://github.com/angular/angular/issues/20442\n\n            taskData.target = null; // need to clear up taskData because it is a global object\n\n            if (data) {\n              data.taskData = null;\n            } // have to save those information to task in case\n            // application may call task.zone.cancelTask() directly\n\n\n            if (once) {\n              options.once = true;\n            }\n\n            if (!(!passiveSupported && typeof task.options === 'boolean')) {\n              // if not support passive, and we pass an option object\n              // to addEventListener, we should save the options to task\n              task.options = options;\n            }\n\n            task.target = target;\n            task.capture = capture;\n            task.eventName = eventName;\n\n            if (isHandleEvent) {\n              // save original delegate for compare to check duplicate\n              task.originalDelegate = delegate;\n            }\n\n            if (!prepend) {\n              existingTasks.push(task);\n            } else {\n              existingTasks.unshift(task);\n            }\n\n            if (returnTarget) {\n              return target;\n            }\n          };\n        };\n\n        proto[ADD_EVENT_LISTENER] = makeAddListener(nativeAddEventListener, ADD_EVENT_LISTENER_SOURCE, customSchedule, customCancel, returnTarget);\n\n        if (nativePrependEventListener) {\n          proto[PREPEND_EVENT_LISTENER] = makeAddListener(nativePrependEventListener, PREPEND_EVENT_LISTENER_SOURCE, customSchedulePrepend, customCancel, returnTarget, true);\n        }\n\n        proto[REMOVE_EVENT_LISTENER] = function () {\n          var target = this || _global;\n          var eventName = arguments[0];\n          var options = arguments[2];\n          var capture;\n\n          if (options === undefined) {\n            capture = false;\n          } else if (options === true) {\n            capture = true;\n          } else if (options === false) {\n            capture = false;\n          } else {\n            capture = options ? !!options.capture : false;\n          }\n\n          var delegate = arguments[1];\n\n          if (!delegate) {\n            return nativeRemoveEventListener.apply(this, arguments);\n          }\n\n          if (validateHandler && !validateHandler(nativeRemoveEventListener, delegate, target, arguments)) {\n            return;\n          }\n\n          var symbolEventNames = zoneSymbolEventNames$1[eventName];\n          var symbolEventName;\n\n          if (symbolEventNames) {\n            symbolEventName = symbolEventNames[capture ? TRUE_STR : FALSE_STR];\n          }\n\n          var existingTasks = symbolEventName && target[symbolEventName];\n\n          if (existingTasks) {\n            for (var i = 0; i < existingTasks.length; i++) {\n              var existingTask = existingTasks[i];\n\n              if (compare(existingTask, delegate)) {\n                existingTasks.splice(i, 1); // set isRemoved to data for faster invokeTask check\n\n                existingTask.isRemoved = true;\n\n                if (existingTasks.length === 0) {\n                  // all tasks for the eventName + capture have gone,\n                  // remove globalZoneAwareCallback and remove the task cache from target\n                  existingTask.allRemoved = true;\n                  target[symbolEventName] = null;\n                }\n\n                existingTask.zone.cancelTask(existingTask);\n\n                if (returnTarget) {\n                  return target;\n                }\n\n                return;\n              }\n            }\n          } // issue 930, didn't find the event name or callback\n          // from zone kept existingTasks, the callback maybe\n          // added outside of zone, we need to call native removeEventListener\n          // to try to remove it.\n\n\n          return nativeRemoveEventListener.apply(this, arguments);\n        };\n\n        proto[LISTENERS_EVENT_LISTENER] = function () {\n          var target = this || _global;\n          var eventName = arguments[0];\n          var listeners = [];\n          var tasks = findEventTasks(target, eventNameToString ? eventNameToString(eventName) : eventName);\n\n          for (var i = 0; i < tasks.length; i++) {\n            var task = tasks[i];\n            var delegate = task.originalDelegate ? task.originalDelegate : task.callback;\n            listeners.push(delegate);\n          }\n\n          return listeners;\n        };\n\n        proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER] = function () {\n          var target = this || _global;\n          var eventName = arguments[0];\n\n          if (!eventName) {\n            var keys = Object.keys(target);\n\n            for (var i = 0; i < keys.length; i++) {\n              var prop = keys[i];\n              var match = EVENT_NAME_SYMBOL_REGX.exec(prop);\n              var evtName = match && match[1]; // in nodejs EventEmitter, removeListener event is\n              // used for monitoring the removeListener call,\n              // so just keep removeListener eventListener until\n              // all other eventListeners are removed\n\n              if (evtName && evtName !== 'removeListener') {\n                this[REMOVE_ALL_LISTENERS_EVENT_LISTENER].call(this, evtName);\n              }\n            } // remove removeListener listener finally\n\n\n            this[REMOVE_ALL_LISTENERS_EVENT_LISTENER].call(this, 'removeListener');\n          } else {\n            var symbolEventNames = zoneSymbolEventNames$1[eventName];\n\n            if (symbolEventNames) {\n              var symbolEventName = symbolEventNames[FALSE_STR];\n              var symbolCaptureEventName = symbolEventNames[TRUE_STR];\n              var tasks = target[symbolEventName];\n              var captureTasks = target[symbolCaptureEventName];\n\n              if (tasks) {\n                var removeTasks = tasks.slice();\n\n                for (var _i2 = 0; _i2 < removeTasks.length; _i2++) {\n                  var task = removeTasks[_i2];\n                  var delegate = task.originalDelegate ? task.originalDelegate : task.callback;\n                  this[REMOVE_EVENT_LISTENER].call(this, eventName, delegate, task.options);\n                }\n              }\n\n              if (captureTasks) {\n                var _removeTasks = captureTasks.slice();\n\n                for (var _i3 = 0; _i3 < _removeTasks.length; _i3++) {\n                  var _task = _removeTasks[_i3];\n\n                  var _delegate2 = _task.originalDelegate ? _task.originalDelegate : _task.callback;\n\n                  this[REMOVE_EVENT_LISTENER].call(this, eventName, _delegate2, _task.options);\n                }\n              }\n            }\n          }\n\n          if (returnTarget) {\n            return this;\n          }\n        }; // for native toString patch\n\n\n        attachOriginToPatched(proto[ADD_EVENT_LISTENER], nativeAddEventListener);\n        attachOriginToPatched(proto[REMOVE_EVENT_LISTENER], nativeRemoveEventListener);\n\n        if (nativeRemoveAllListeners) {\n          attachOriginToPatched(proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER], nativeRemoveAllListeners);\n        }\n\n        if (nativeListeners) {\n          attachOriginToPatched(proto[LISTENERS_EVENT_LISTENER], nativeListeners);\n        }\n\n        return true;\n      }\n\n      var results = [];\n\n      for (var i = 0; i < apis.length; i++) {\n        results[i] = patchEventTargetMethods(apis[i], patchOptions);\n      }\n\n      return results;\n    }\n\n    function findEventTasks(target, eventName) {\n      var foundTasks = [];\n\n      for (var prop in target) {\n        var match = EVENT_NAME_SYMBOL_REGX.exec(prop);\n        var evtName = match && match[1];\n\n        if (evtName && (!eventName || evtName === eventName)) {\n          var tasks = target[prop];\n\n          if (tasks) {\n            for (var i = 0; i < tasks.length; i++) {\n              foundTasks.push(tasks[i]);\n            }\n          }\n        }\n      }\n\n      return foundTasks;\n    }\n\n    function patchEventPrototype(global, api) {\n      var Event = global['Event'];\n\n      if (Event && Event.prototype) {\n        api.patchMethod(Event.prototype, 'stopImmediatePropagation', function (delegate) {\n          return function (self, args) {\n            self[IMMEDIATE_PROPAGATION_SYMBOL] = true; // we need to call the native stopImmediatePropagation\n            // in case in some hybrid application, some part of\n            // application will be controlled by zone, some are not\n\n            delegate && delegate.apply(self, args);\n          };\n        });\n      }\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    function patchCallbacks(api, target, targetName, method, callbacks) {\n      var symbol = Zone.__symbol__(method);\n\n      if (target[symbol]) {\n        return;\n      }\n\n      var nativeDelegate = target[symbol] = target[method];\n\n      target[method] = function (name, opts, options) {\n        if (opts && opts.prototype) {\n          callbacks.forEach(function (callback) {\n            var source = \"\".concat(targetName, \".\").concat(method, \"::\") + callback;\n            var prototype = opts.prototype;\n\n            if (prototype.hasOwnProperty(callback)) {\n              var descriptor = api.ObjectGetOwnPropertyDescriptor(prototype, callback);\n\n              if (descriptor && descriptor.value) {\n                descriptor.value = api.wrapWithCurrentZone(descriptor.value, source);\n\n                api._redefineProperty(opts.prototype, callback, descriptor);\n              } else if (prototype[callback]) {\n                prototype[callback] = api.wrapWithCurrentZone(prototype[callback], source);\n              }\n            } else if (prototype[callback]) {\n              prototype[callback] = api.wrapWithCurrentZone(prototype[callback], source);\n            }\n          });\n        }\n\n        return nativeDelegate.call(target, name, opts, options);\n      };\n\n      api.attachOriginToPatched(target[method], nativeDelegate);\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /*\n     * This is necessary for Chrome and Chrome mobile, to enable\n     * things like redefining `createdCallback` on an element.\n     */\n\n\n    var zoneSymbol$1 = Zone.__symbol__;\n\n    var _defineProperty = Object[zoneSymbol$1('defineProperty')] = Object.defineProperty;\n\n    var _getOwnPropertyDescriptor = Object[zoneSymbol$1('getOwnPropertyDescriptor')] = Object.getOwnPropertyDescriptor;\n\n    var _create = Object.create;\n    var unconfigurablesKey = zoneSymbol$1('unconfigurables');\n\n    function propertyPatch() {\n      Object.defineProperty = function (obj, prop, desc) {\n        if (isUnconfigurable(obj, prop)) {\n          throw new TypeError('Cannot assign to read only property \\'' + prop + '\\' of ' + obj);\n        }\n\n        var originalConfigurableFlag = desc.configurable;\n\n        if (prop !== 'prototype') {\n          desc = rewriteDescriptor(obj, prop, desc);\n        }\n\n        return _tryDefineProperty(obj, prop, desc, originalConfigurableFlag);\n      };\n\n      Object.defineProperties = function (obj, props) {\n        Object.keys(props).forEach(function (prop) {\n          Object.defineProperty(obj, prop, props[prop]);\n        });\n        return obj;\n      };\n\n      Object.create = function (obj, proto) {\n        if (typeof proto === 'object' && !Object.isFrozen(proto)) {\n          Object.keys(proto).forEach(function (prop) {\n            proto[prop] = rewriteDescriptor(obj, prop, proto[prop]);\n          });\n        }\n\n        return _create(obj, proto);\n      };\n\n      Object.getOwnPropertyDescriptor = function (obj, prop) {\n        var desc = _getOwnPropertyDescriptor(obj, prop);\n\n        if (desc && isUnconfigurable(obj, prop)) {\n          desc.configurable = false;\n        }\n\n        return desc;\n      };\n    }\n\n    function _redefineProperty(obj, prop, desc) {\n      var originalConfigurableFlag = desc.configurable;\n      desc = rewriteDescriptor(obj, prop, desc);\n      return _tryDefineProperty(obj, prop, desc, originalConfigurableFlag);\n    }\n\n    function isUnconfigurable(obj, prop) {\n      return obj && obj[unconfigurablesKey] && obj[unconfigurablesKey][prop];\n    }\n\n    function rewriteDescriptor(obj, prop, desc) {\n      // issue-927, if the desc is frozen, don't try to change the desc\n      if (!Object.isFrozen(desc)) {\n        desc.configurable = true;\n      }\n\n      if (!desc.configurable) {\n        // issue-927, if the obj is frozen, don't try to set the desc to obj\n        if (!obj[unconfigurablesKey] && !Object.isFrozen(obj)) {\n          _defineProperty(obj, unconfigurablesKey, {\n            writable: true,\n            value: {}\n          });\n        }\n\n        if (obj[unconfigurablesKey]) {\n          obj[unconfigurablesKey][prop] = true;\n        }\n      }\n\n      return desc;\n    }\n\n    function _tryDefineProperty(obj, prop, desc, originalConfigurableFlag) {\n      try {\n        return _defineProperty(obj, prop, desc);\n      } catch (error) {\n        if (desc.configurable) {\n          // In case of errors, when the configurable flag was likely set by rewriteDescriptor(), let's\n          // retry with the original flag value\n          if (typeof originalConfigurableFlag == 'undefined') {\n            delete desc.configurable;\n          } else {\n            desc.configurable = originalConfigurableFlag;\n          }\n\n          try {\n            return _defineProperty(obj, prop, desc);\n          } catch (error) {\n            var descJson = null;\n\n            try {\n              descJson = JSON.stringify(desc);\n            } catch (error) {\n              descJson = desc.toString();\n            }\n\n            console.log(\"Attempting to configure '\".concat(prop, \"' with descriptor '\").concat(descJson, \"' on object '\").concat(obj, \"' and got error, giving up: \").concat(error));\n          }\n        } else {\n          throw error;\n        }\n      }\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * @fileoverview\n     * @suppress {globalThis}\n     */\n\n\n    var globalEventHandlersEventNames = ['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'];\n    var documentEventNames = ['afterscriptexecute', 'beforescriptexecute', 'DOMContentLoaded', 'freeze', 'fullscreenchange', 'mozfullscreenchange', 'webkitfullscreenchange', 'msfullscreenchange', 'fullscreenerror', 'mozfullscreenerror', 'webkitfullscreenerror', 'msfullscreenerror', 'readystatechange', 'visibilitychange', 'resume'];\n    var windowEventNames = ['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'];\n    var htmlElementEventNames = ['beforecopy', 'beforecut', 'beforepaste', 'copy', 'cut', 'paste', 'dragstart', 'loadend', 'animationstart', 'search', 'transitionrun', 'transitionstart', 'webkitanimationend', 'webkitanimationiteration', 'webkitanimationstart', 'webkittransitionend'];\n    var mediaElementEventNames = ['encrypted', 'waitingforkey', 'msneedkey', 'mozinterruptbegin', 'mozinterruptend'];\n    var ieElementEventNames = ['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'];\n    var webglEventNames = ['webglcontextrestored', 'webglcontextlost', 'webglcontextcreationerror'];\n    var formEventNames = ['autocomplete', 'autocompleteerror'];\n    var detailEventNames = ['toggle'];\n    var frameEventNames = ['load'];\n    var frameSetEventNames = ['blur', 'error', 'focus', 'load', 'resize', 'scroll', 'messageerror'];\n    var marqueeEventNames = ['bounce', 'finish', 'start'];\n    var XMLHttpRequestEventNames = ['loadstart', 'progress', 'abort', 'error', 'load', 'progress', 'timeout', 'loadend', 'readystatechange'];\n    var IDBIndexEventNames = ['upgradeneeded', 'complete', 'abort', 'success', 'error', 'blocked', 'versionchange', 'close'];\n    var websocketEventNames = ['close', 'error', 'open', 'message'];\n    var workerEventNames = ['error', 'message'];\n    var eventNames = globalEventHandlersEventNames.concat(webglEventNames, formEventNames, detailEventNames, documentEventNames, windowEventNames, htmlElementEventNames, ieElementEventNames);\n\n    function filterProperties(target, onProperties, ignoreProperties) {\n      if (!ignoreProperties || ignoreProperties.length === 0) {\n        return onProperties;\n      }\n\n      var tip = ignoreProperties.filter(function (ip) {\n        return ip.target === target;\n      });\n\n      if (!tip || tip.length === 0) {\n        return onProperties;\n      }\n\n      var targetIgnoreProperties = tip[0].ignoreProperties;\n      return onProperties.filter(function (op) {\n        return targetIgnoreProperties.indexOf(op) === -1;\n      });\n    }\n\n    function patchFilteredProperties(target, onProperties, ignoreProperties, prototype) {\n      // check whether target is available, sometimes target will be undefined\n      // because different browser or some 3rd party plugin.\n      if (!target) {\n        return;\n      }\n\n      var filteredProperties = filterProperties(target, onProperties, ignoreProperties);\n      patchOnProperties(target, filteredProperties, prototype);\n    }\n\n    function propertyDescriptorPatch(api, _global) {\n      if (isNode && !isMix) {\n        return;\n      }\n\n      if (Zone[api.symbol('patchEvents')]) {\n        // events are already been patched by legacy patch.\n        return;\n      }\n\n      var supportsWebSocket = typeof WebSocket !== 'undefined';\n      var ignoreProperties = _global['__Zone_ignore_on_properties']; // for browsers that we can patch the descriptor:  Chrome & Firefox\n\n      if (isBrowser) {\n        var _internalWindow = window;\n        var ignoreErrorProperties = isIE ? [{\n          target: _internalWindow,\n          ignoreProperties: ['error']\n        }] : []; // in IE/Edge, onProp not exist in window object, but in WindowPrototype\n        // so we need to pass WindowPrototype to check onProp exist or not\n\n        patchFilteredProperties(_internalWindow, eventNames.concat(['messageerror']), ignoreProperties ? ignoreProperties.concat(ignoreErrorProperties) : ignoreProperties, ObjectGetPrototypeOf(_internalWindow));\n        patchFilteredProperties(Document.prototype, eventNames, ignoreProperties);\n\n        if (typeof _internalWindow['SVGElement'] !== 'undefined') {\n          patchFilteredProperties(_internalWindow['SVGElement'].prototype, eventNames, ignoreProperties);\n        }\n\n        patchFilteredProperties(Element.prototype, eventNames, ignoreProperties);\n        patchFilteredProperties(HTMLElement.prototype, eventNames, ignoreProperties);\n        patchFilteredProperties(HTMLMediaElement.prototype, mediaElementEventNames, ignoreProperties);\n        patchFilteredProperties(HTMLFrameSetElement.prototype, windowEventNames.concat(frameSetEventNames), ignoreProperties);\n        patchFilteredProperties(HTMLBodyElement.prototype, windowEventNames.concat(frameSetEventNames), ignoreProperties);\n        patchFilteredProperties(HTMLFrameElement.prototype, frameEventNames, ignoreProperties);\n        patchFilteredProperties(HTMLIFrameElement.prototype, frameEventNames, ignoreProperties);\n        var HTMLMarqueeElement = _internalWindow['HTMLMarqueeElement'];\n\n        if (HTMLMarqueeElement) {\n          patchFilteredProperties(HTMLMarqueeElement.prototype, marqueeEventNames, ignoreProperties);\n        }\n\n        var Worker = _internalWindow['Worker'];\n\n        if (Worker) {\n          patchFilteredProperties(Worker.prototype, workerEventNames, ignoreProperties);\n        }\n      }\n\n      var XMLHttpRequest = _global['XMLHttpRequest'];\n\n      if (XMLHttpRequest) {\n        // XMLHttpRequest is not available in ServiceWorker, so we need to check here\n        patchFilteredProperties(XMLHttpRequest.prototype, XMLHttpRequestEventNames, ignoreProperties);\n      }\n\n      var XMLHttpRequestEventTarget = _global['XMLHttpRequestEventTarget'];\n\n      if (XMLHttpRequestEventTarget) {\n        patchFilteredProperties(XMLHttpRequestEventTarget && XMLHttpRequestEventTarget.prototype, XMLHttpRequestEventNames, ignoreProperties);\n      }\n\n      if (typeof IDBIndex !== 'undefined') {\n        patchFilteredProperties(IDBIndex.prototype, IDBIndexEventNames, ignoreProperties);\n        patchFilteredProperties(IDBRequest.prototype, IDBIndexEventNames, ignoreProperties);\n        patchFilteredProperties(IDBOpenDBRequest.prototype, IDBIndexEventNames, ignoreProperties);\n        patchFilteredProperties(IDBDatabase.prototype, IDBIndexEventNames, ignoreProperties);\n        patchFilteredProperties(IDBTransaction.prototype, IDBIndexEventNames, ignoreProperties);\n        patchFilteredProperties(IDBCursor.prototype, IDBIndexEventNames, ignoreProperties);\n      }\n\n      if (supportsWebSocket) {\n        patchFilteredProperties(WebSocket.prototype, websocketEventNames, ignoreProperties);\n      }\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    Zone.__load_patch('util', function (global, Zone, api) {\n      api.patchOnProperties = patchOnProperties;\n      api.patchMethod = patchMethod;\n      api.bindArguments = bindArguments;\n      api.patchMacroTask = patchMacroTask; // In earlier version of zone.js (<0.9.0), we use env name `__zone_symbol__BLACK_LISTED_EVENTS` to\n      // define which events will not be patched by `Zone.js`.\n      // In newer version (>=0.9.0), we change the env name to `__zone_symbol__UNPATCHED_EVENTS` to keep\n      // the name consistent with angular repo.\n      // The  `__zone_symbol__BLACK_LISTED_EVENTS` is deprecated, but it is still be supported for\n      // backwards compatibility.\n\n      var SYMBOL_BLACK_LISTED_EVENTS = Zone.__symbol__('BLACK_LISTED_EVENTS');\n\n      var SYMBOL_UNPATCHED_EVENTS = Zone.__symbol__('UNPATCHED_EVENTS');\n\n      if (global[SYMBOL_UNPATCHED_EVENTS]) {\n        global[SYMBOL_BLACK_LISTED_EVENTS] = global[SYMBOL_UNPATCHED_EVENTS];\n      }\n\n      if (global[SYMBOL_BLACK_LISTED_EVENTS]) {\n        Zone[SYMBOL_BLACK_LISTED_EVENTS] = Zone[SYMBOL_UNPATCHED_EVENTS] = global[SYMBOL_BLACK_LISTED_EVENTS];\n      }\n\n      api.patchEventPrototype = patchEventPrototype;\n      api.patchEventTarget = patchEventTarget;\n      api.isIEOrEdge = isIEOrEdge;\n      api.ObjectDefineProperty = ObjectDefineProperty;\n      api.ObjectGetOwnPropertyDescriptor = ObjectGetOwnPropertyDescriptor;\n      api.ObjectCreate = ObjectCreate;\n      api.ArraySlice = ArraySlice;\n      api.patchClass = patchClass;\n      api.wrapWithCurrentZone = wrapWithCurrentZone;\n      api.filterProperties = filterProperties;\n      api.attachOriginToPatched = attachOriginToPatched;\n      api._redefineProperty = _redefineProperty;\n      api.patchCallbacks = patchCallbacks;\n\n      api.getGlobalObjects = function () {\n        return {\n          globalSources: globalSources,\n          zoneSymbolEventNames: zoneSymbolEventNames$1,\n          eventNames: eventNames,\n          isBrowser: isBrowser,\n          isMix: isMix,\n          isNode: isNode,\n          TRUE_STR: TRUE_STR,\n          FALSE_STR: FALSE_STR,\n          ZONE_SYMBOL_PREFIX: ZONE_SYMBOL_PREFIX,\n          ADD_EVENT_LISTENER_STR: ADD_EVENT_LISTENER_STR,\n          REMOVE_EVENT_LISTENER_STR: REMOVE_EVENT_LISTENER_STR\n        };\n      };\n    });\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * @fileoverview\n     * @suppress {missingRequire}\n     */\n\n\n    var taskSymbol = zoneSymbol('zoneTask');\n\n    function patchTimer(window, setName, cancelName, nameSuffix) {\n      var setNative = null;\n      var clearNative = null;\n      setName += nameSuffix;\n      cancelName += nameSuffix;\n      var tasksByHandleId = {};\n\n      function scheduleTask(task) {\n        var data = task.data;\n\n        function timer() {\n          try {\n            task.invoke.apply(this, arguments);\n          } finally {\n            // issue-934, task will be cancelled\n            // even it is a periodic task such as\n            // setInterval\n            if (!(task.data && task.data.isPeriodic)) {\n              if (typeof data.handleId === 'number') {\n                // in non-nodejs env, we remove timerId\n                // from local cache\n                delete tasksByHandleId[data.handleId];\n              } else if (data.handleId) {\n                // Node returns complex objects as handleIds\n                // we remove task reference from timer object\n                data.handleId[taskSymbol] = null;\n              }\n            }\n          }\n        }\n\n        data.args[0] = timer;\n        data.handleId = setNative.apply(window, data.args);\n        return task;\n      }\n\n      function clearTask(task) {\n        return clearNative(task.data.handleId);\n      }\n\n      setNative = patchMethod(window, setName, function (delegate) {\n        return function (self, args) {\n          if (typeof args[0] === 'function') {\n            var _options = {\n              isPeriodic: nameSuffix === 'Interval',\n              delay: nameSuffix === 'Timeout' || nameSuffix === 'Interval' ? args[1] || 0 : undefined,\n              args: args\n            };\n            var task = scheduleMacroTaskWithCurrentZone(setName, args[0], _options, scheduleTask, clearTask);\n\n            if (!task) {\n              return task;\n            } // Node.js must additionally support the ref and unref functions.\n\n\n            var handle = task.data.handleId;\n\n            if (typeof handle === 'number') {\n              // for non nodejs env, we save handleId: task\n              // mapping in local cache for clearTimeout\n              tasksByHandleId[handle] = task;\n            } else if (handle) {\n              // for nodejs env, we save task\n              // reference in timerId Object for clearTimeout\n              handle[taskSymbol] = task;\n            } // check whether handle is null, because some polyfill or browser\n            // may return undefined from setTimeout/setInterval/setImmediate/requestAnimationFrame\n\n\n            if (handle && handle.ref && handle.unref && typeof handle.ref === 'function' && typeof handle.unref === 'function') {\n              task.ref = handle.ref.bind(handle);\n              task.unref = handle.unref.bind(handle);\n            }\n\n            if (typeof handle === 'number' || handle) {\n              return handle;\n            }\n\n            return task;\n          } else {\n            // cause an error by calling it directly.\n            return delegate.apply(window, args);\n          }\n        };\n      });\n      clearNative = patchMethod(window, cancelName, function (delegate) {\n        return function (self, args) {\n          var id = args[0];\n          var task;\n\n          if (typeof id === 'number') {\n            // non nodejs env.\n            task = tasksByHandleId[id];\n          } else {\n            // nodejs env.\n            task = id && id[taskSymbol]; // other environments.\n\n            if (!task) {\n              task = id;\n            }\n          }\n\n          if (task && typeof task.type === 'string') {\n            if (task.state !== 'notScheduled' && (task.cancelFn && task.data.isPeriodic || task.runCount === 0)) {\n              if (typeof id === 'number') {\n                delete tasksByHandleId[id];\n              } else if (id) {\n                id[taskSymbol] = null;\n              } // Do not cancel already canceled functions\n\n\n              task.zone.cancelTask(task);\n            }\n          } else {\n            // cause an error by calling it directly.\n            delegate.apply(window, args);\n          }\n        };\n      });\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    function patchCustomElements(_global, api) {\n      var _api$getGlobalObjects = api.getGlobalObjects(),\n          isBrowser = _api$getGlobalObjects.isBrowser,\n          isMix = _api$getGlobalObjects.isMix;\n\n      if (!isBrowser && !isMix || !_global['customElements'] || !('customElements' in _global)) {\n        return;\n      }\n\n      var callbacks = ['connectedCallback', 'disconnectedCallback', 'adoptedCallback', 'attributeChangedCallback'];\n      api.patchCallbacks(api, _global.customElements, 'customElements', 'define', callbacks);\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    function eventTargetPatch(_global, api) {\n      if (Zone[api.symbol('patchEventTarget')]) {\n        // EventTarget is already patched.\n        return;\n      }\n\n      var _api$getGlobalObjects2 = api.getGlobalObjects(),\n          eventNames = _api$getGlobalObjects2.eventNames,\n          zoneSymbolEventNames = _api$getGlobalObjects2.zoneSymbolEventNames,\n          TRUE_STR = _api$getGlobalObjects2.TRUE_STR,\n          FALSE_STR = _api$getGlobalObjects2.FALSE_STR,\n          ZONE_SYMBOL_PREFIX = _api$getGlobalObjects2.ZONE_SYMBOL_PREFIX; //  predefine all __zone_symbol__ + eventName + true/false string\n\n\n      for (var i = 0; i < eventNames.length; i++) {\n        var eventName = eventNames[i];\n        var falseEventName = eventName + FALSE_STR;\n        var trueEventName = eventName + TRUE_STR;\n        var symbol = ZONE_SYMBOL_PREFIX + falseEventName;\n        var symbolCapture = ZONE_SYMBOL_PREFIX + trueEventName;\n        zoneSymbolEventNames[eventName] = {};\n        zoneSymbolEventNames[eventName][FALSE_STR] = symbol;\n        zoneSymbolEventNames[eventName][TRUE_STR] = symbolCapture;\n      }\n\n      var EVENT_TARGET = _global['EventTarget'];\n\n      if (!EVENT_TARGET || !EVENT_TARGET.prototype) {\n        return;\n      }\n\n      api.patchEventTarget(_global, [EVENT_TARGET && EVENT_TARGET.prototype]);\n      return true;\n    }\n\n    function patchEvent(global, api) {\n      api.patchEventPrototype(global, api);\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * @fileoverview\n     * @suppress {missingRequire}\n     */\n\n\n    Zone.__load_patch('legacy', function (global) {\n      var legacyPatch = global[Zone.__symbol__('legacyPatch')];\n\n      if (legacyPatch) {\n        legacyPatch();\n      }\n    });\n\n    Zone.__load_patch('timers', function (global) {\n      var set = 'set';\n      var clear = 'clear';\n      patchTimer(global, set, clear, 'Timeout');\n      patchTimer(global, set, clear, 'Interval');\n      patchTimer(global, set, clear, 'Immediate');\n    });\n\n    Zone.__load_patch('requestAnimationFrame', function (global) {\n      patchTimer(global, 'request', 'cancel', 'AnimationFrame');\n      patchTimer(global, 'mozRequest', 'mozCancel', 'AnimationFrame');\n      patchTimer(global, 'webkitRequest', 'webkitCancel', 'AnimationFrame');\n    });\n\n    Zone.__load_patch('blocking', function (global, Zone) {\n      var blockingMethods = ['alert', 'prompt', 'confirm'];\n\n      for (var i = 0; i < blockingMethods.length; i++) {\n        var name = blockingMethods[i];\n        patchMethod(global, name, function (delegate, symbol, name) {\n          return function (s, args) {\n            return Zone.current.run(delegate, global, args, name);\n          };\n        });\n      }\n    });\n\n    Zone.__load_patch('EventTarget', function (global, Zone, api) {\n      patchEvent(global, api);\n      eventTargetPatch(global, api); // patch XMLHttpRequestEventTarget's addEventListener/removeEventListener\n\n      var XMLHttpRequestEventTarget = global['XMLHttpRequestEventTarget'];\n\n      if (XMLHttpRequestEventTarget && XMLHttpRequestEventTarget.prototype) {\n        api.patchEventTarget(global, [XMLHttpRequestEventTarget.prototype]);\n      }\n\n      patchClass('MutationObserver');\n      patchClass('WebKitMutationObserver');\n      patchClass('IntersectionObserver');\n      patchClass('FileReader');\n    });\n\n    Zone.__load_patch('on_property', function (global, Zone, api) {\n      propertyDescriptorPatch(api, global);\n      propertyPatch();\n    });\n\n    Zone.__load_patch('customElements', function (global, Zone, api) {\n      patchCustomElements(global, api);\n    });\n\n    Zone.__load_patch('XHR', function (global, Zone) {\n      // Treat XMLHttpRequest as a macrotask.\n      patchXHR(global);\n      var XHR_TASK = zoneSymbol('xhrTask');\n      var XHR_SYNC = zoneSymbol('xhrSync');\n      var XHR_LISTENER = zoneSymbol('xhrListener');\n      var XHR_SCHEDULED = zoneSymbol('xhrScheduled');\n      var XHR_URL = zoneSymbol('xhrURL');\n      var XHR_ERROR_BEFORE_SCHEDULED = zoneSymbol('xhrErrorBeforeScheduled');\n\n      function patchXHR(window) {\n        var XMLHttpRequest = window['XMLHttpRequest'];\n\n        if (!XMLHttpRequest) {\n          // XMLHttpRequest is not available in service worker\n          return;\n        }\n\n        var XMLHttpRequestPrototype = XMLHttpRequest.prototype;\n\n        function findPendingTask(target) {\n          return target[XHR_TASK];\n        }\n\n        var oriAddListener = XMLHttpRequestPrototype[ZONE_SYMBOL_ADD_EVENT_LISTENER];\n        var oriRemoveListener = XMLHttpRequestPrototype[ZONE_SYMBOL_REMOVE_EVENT_LISTENER];\n\n        if (!oriAddListener) {\n          var XMLHttpRequestEventTarget = window['XMLHttpRequestEventTarget'];\n\n          if (XMLHttpRequestEventTarget) {\n            var XMLHttpRequestEventTargetPrototype = XMLHttpRequestEventTarget.prototype;\n            oriAddListener = XMLHttpRequestEventTargetPrototype[ZONE_SYMBOL_ADD_EVENT_LISTENER];\n            oriRemoveListener = XMLHttpRequestEventTargetPrototype[ZONE_SYMBOL_REMOVE_EVENT_LISTENER];\n          }\n        }\n\n        var READY_STATE_CHANGE = 'readystatechange';\n        var SCHEDULED = 'scheduled';\n\n        function scheduleTask(task) {\n          var data = task.data;\n          var target = data.target;\n          target[XHR_SCHEDULED] = false;\n          target[XHR_ERROR_BEFORE_SCHEDULED] = false; // remove existing event listener\n\n          var listener = target[XHR_LISTENER];\n\n          if (!oriAddListener) {\n            oriAddListener = target[ZONE_SYMBOL_ADD_EVENT_LISTENER];\n            oriRemoveListener = target[ZONE_SYMBOL_REMOVE_EVENT_LISTENER];\n          }\n\n          if (listener) {\n            oriRemoveListener.call(target, READY_STATE_CHANGE, listener);\n          }\n\n          var newListener = target[XHR_LISTENER] = function () {\n            if (target.readyState === target.DONE) {\n              // sometimes on some browsers XMLHttpRequest will fire onreadystatechange with\n              // readyState=4 multiple times, so we need to check task state here\n              if (!data.aborted && target[XHR_SCHEDULED] && task.state === SCHEDULED) {\n                // check whether the xhr has registered onload listener\n                // if that is the case, the task should invoke after all\n                // onload listeners finish.\n                var loadTasks = target['__zone_symbol__loadfalse'];\n\n                if (loadTasks && loadTasks.length > 0) {\n                  var oriInvoke = task.invoke;\n\n                  task.invoke = function () {\n                    // need to load the tasks again, because in other\n                    // load listener, they may remove themselves\n                    var loadTasks = target['__zone_symbol__loadfalse'];\n\n                    for (var i = 0; i < loadTasks.length; i++) {\n                      if (loadTasks[i] === task) {\n                        loadTasks.splice(i, 1);\n                      }\n                    }\n\n                    if (!data.aborted && task.state === SCHEDULED) {\n                      oriInvoke.call(task);\n                    }\n                  };\n\n                  loadTasks.push(task);\n                } else {\n                  task.invoke();\n                }\n              } else if (!data.aborted && target[XHR_SCHEDULED] === false) {\n                // error occurs when xhr.send()\n                target[XHR_ERROR_BEFORE_SCHEDULED] = true;\n              }\n            }\n          };\n\n          oriAddListener.call(target, READY_STATE_CHANGE, newListener);\n          var storedTask = target[XHR_TASK];\n\n          if (!storedTask) {\n            target[XHR_TASK] = task;\n          }\n\n          sendNative.apply(target, data.args);\n          target[XHR_SCHEDULED] = true;\n          return task;\n        }\n\n        function placeholderCallback() {}\n\n        function clearTask(task) {\n          var data = task.data; // Note - ideally, we would call data.target.removeEventListener here, but it's too late\n          // to prevent it from firing. So instead, we store info for the event listener.\n\n          data.aborted = true;\n          return abortNative.apply(data.target, data.args);\n        }\n\n        var openNative = patchMethod(XMLHttpRequestPrototype, 'open', function () {\n          return function (self, args) {\n            self[XHR_SYNC] = args[2] == false;\n            self[XHR_URL] = args[1];\n            return openNative.apply(self, args);\n          };\n        });\n        var XMLHTTPREQUEST_SOURCE = 'XMLHttpRequest.send';\n        var fetchTaskAborting = zoneSymbol('fetchTaskAborting');\n        var fetchTaskScheduling = zoneSymbol('fetchTaskScheduling');\n        var sendNative = patchMethod(XMLHttpRequestPrototype, 'send', function () {\n          return function (self, args) {\n            if (Zone.current[fetchTaskScheduling] === true) {\n              // a fetch is scheduling, so we are using xhr to polyfill fetch\n              // and because we already schedule macroTask for fetch, we should\n              // not schedule a macroTask for xhr again\n              return sendNative.apply(self, args);\n            }\n\n            if (self[XHR_SYNC]) {\n              // if the XHR is sync there is no task to schedule, just execute the code.\n              return sendNative.apply(self, args);\n            } else {\n              var _options2 = {\n                target: self,\n                url: self[XHR_URL],\n                isPeriodic: false,\n                args: args,\n                aborted: false\n              };\n              var task = scheduleMacroTaskWithCurrentZone(XMLHTTPREQUEST_SOURCE, placeholderCallback, _options2, scheduleTask, clearTask);\n\n              if (self && self[XHR_ERROR_BEFORE_SCHEDULED] === true && !_options2.aborted && task.state === SCHEDULED) {\n                // xhr request throw error when send\n                // we should invoke task instead of leaving a scheduled\n                // pending macroTask\n                task.invoke();\n              }\n            }\n          };\n        });\n        var abortNative = patchMethod(XMLHttpRequestPrototype, 'abort', function () {\n          return function (self, args) {\n            var task = findPendingTask(self);\n\n            if (task && typeof task.type == 'string') {\n              // If the XHR has already completed, do nothing.\n              // If the XHR has already been aborted, do nothing.\n              // Fix #569, call abort multiple times before done will cause\n              // macroTask task count be negative number\n              if (task.cancelFn == null || task.data && task.data.aborted) {\n                return;\n              }\n\n              task.zone.cancelTask(task);\n            } else if (Zone.current[fetchTaskAborting] === true) {\n              // the abort is called from fetch polyfill, we need to call native abort of XHR.\n              return abortNative.apply(self, args);\n            } // Otherwise, we are trying to abort an XHR which has not yet been sent, so there is no\n            // task\n            // to cancel. Do nothing.\n\n          };\n        });\n      }\n    });\n\n    Zone.__load_patch('geolocation', function (global) {\n      /// GEO_LOCATION\n      if (global['navigator'] && global['navigator'].geolocation) {\n        patchPrototype(global['navigator'].geolocation, ['getCurrentPosition', 'watchPosition']);\n      }\n    });\n\n    Zone.__load_patch('PromiseRejectionEvent', function (global, Zone) {\n      // handle unhandled promise rejection\n      function findPromiseRejectionHandler(evtName) {\n        return function (e) {\n          var eventTasks = findEventTasks(global, evtName);\n          eventTasks.forEach(function (eventTask) {\n            // windows has added unhandledrejection event listener\n            // trigger the event listener\n            var PromiseRejectionEvent = global['PromiseRejectionEvent'];\n\n            if (PromiseRejectionEvent) {\n              var evt = new PromiseRejectionEvent(evtName, {\n                promise: e.promise,\n                reason: e.rejection\n              });\n              eventTask.invoke(evt);\n            }\n          });\n        };\n      }\n\n      if (global['PromiseRejectionEvent']) {\n        Zone[zoneSymbol('unhandledPromiseRejectionHandler')] = findPromiseRejectionHandler('unhandledrejection');\n        Zone[zoneSymbol('rejectionHandledHandler')] = findPromiseRejectionHandler('rejectionhandled');\n      }\n    });\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/zone.js/dist/zone-legacy.js\":\n  /*!**************************************************!*\\\n    !*** ./node_modules/zone.js/dist/zone-legacy.js ***!\n    \\**************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesZoneJsDistZoneLegacyJs(module, exports, __webpack_require__) {\n    /**\n    * @license\n    * Copyright Google Inc. All Rights Reserved.\n    *\n    * Use of this source code is governed by an MIT-style license that can be\n    * found in the LICENSE file at https://angular.io/license\n    */\n    (function (global, factory) {\n      true ? factory() : undefined;\n    })(this, function () {\n      'use strict';\n      /**\n       * @license\n       * Copyright Google Inc. All Rights Reserved.\n       *\n       * Use of this source code is governed by an MIT-style license that can be\n       * found in the LICENSE file at https://angular.io/license\n       */\n\n      function eventTargetLegacyPatch(_global, api) {\n        var _a = api.getGlobalObjects(),\n            eventNames = _a.eventNames,\n            globalSources = _a.globalSources,\n            zoneSymbolEventNames = _a.zoneSymbolEventNames,\n            TRUE_STR = _a.TRUE_STR,\n            FALSE_STR = _a.FALSE_STR,\n            ZONE_SYMBOL_PREFIX = _a.ZONE_SYMBOL_PREFIX;\n\n        var WTF_ISSUE_555 = 'Anchor,Area,Audio,BR,Base,BaseFont,Body,Button,Canvas,Content,DList,Directory,Div,Embed,FieldSet,Font,Form,Frame,FrameSet,HR,Head,Heading,Html,IFrame,Image,Input,Keygen,LI,Label,Legend,Link,Map,Marquee,Media,Menu,Meta,Meter,Mod,OList,Object,OptGroup,Option,Output,Paragraph,Pre,Progress,Quote,Script,Select,Source,Span,Style,TableCaption,TableCell,TableCol,Table,TableRow,TableSection,TextArea,Title,Track,UList,Unknown,Video';\n        var NO_EVENT_TARGET = 'ApplicationCache,EventSource,FileReader,InputMethodContext,MediaController,MessagePort,Node,Performance,SVGElementInstance,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebKitNamedFlow,Window,Worker,WorkerGlobalScope,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload,IDBRequest,IDBOpenDBRequest,IDBDatabase,IDBTransaction,IDBCursor,DBIndex,WebSocket'.split(',');\n        var EVENT_TARGET = 'EventTarget';\n        var apis = [];\n        var isWtf = _global['wtf'];\n        var WTF_ISSUE_555_ARRAY = WTF_ISSUE_555.split(',');\n\n        if (isWtf) {\n          // Workaround for: https://github.com/google/tracing-framework/issues/555\n          apis = WTF_ISSUE_555_ARRAY.map(function (v) {\n            return 'HTML' + v + 'Element';\n          }).concat(NO_EVENT_TARGET);\n        } else if (_global[EVENT_TARGET]) {\n          apis.push(EVENT_TARGET);\n        } else {\n          // Note: EventTarget is not available in all browsers,\n          // if it's not available, we instead patch the APIs in the IDL that inherit from EventTarget\n          apis = NO_EVENT_TARGET;\n        }\n\n        var isDisableIECheck = _global['__Zone_disable_IE_check'] || false;\n        var isEnableCrossContextCheck = _global['__Zone_enable_cross_context_check'] || false;\n        var ieOrEdge = api.isIEOrEdge();\n        var ADD_EVENT_LISTENER_SOURCE = '.addEventListener:';\n        var FUNCTION_WRAPPER = '[object FunctionWrapper]';\n        var BROWSER_TOOLS = 'function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }'; //  predefine all __zone_symbol__ + eventName + true/false string\n\n        for (var i = 0; i < eventNames.length; i++) {\n          var eventName = eventNames[i];\n          var falseEventName = eventName + FALSE_STR;\n          var trueEventName = eventName + TRUE_STR;\n          var symbol = ZONE_SYMBOL_PREFIX + falseEventName;\n          var symbolCapture = ZONE_SYMBOL_PREFIX + trueEventName;\n          zoneSymbolEventNames[eventName] = {};\n          zoneSymbolEventNames[eventName][FALSE_STR] = symbol;\n          zoneSymbolEventNames[eventName][TRUE_STR] = symbolCapture;\n        } //  predefine all task.source string\n\n\n        for (var i = 0; i < WTF_ISSUE_555.length; i++) {\n          var target = WTF_ISSUE_555_ARRAY[i];\n          var targets = globalSources[target] = {};\n\n          for (var j = 0; j < eventNames.length; j++) {\n            var eventName = eventNames[j];\n            targets[eventName] = target + ADD_EVENT_LISTENER_SOURCE + eventName;\n          }\n        }\n\n        var checkIEAndCrossContext = function checkIEAndCrossContext(nativeDelegate, delegate, target, args) {\n          if (!isDisableIECheck && ieOrEdge) {\n            if (isEnableCrossContextCheck) {\n              try {\n                var testString = delegate.toString();\n\n                if (testString === FUNCTION_WRAPPER || testString == BROWSER_TOOLS) {\n                  nativeDelegate.apply(target, args);\n                  return false;\n                }\n              } catch (error) {\n                nativeDelegate.apply(target, args);\n                return false;\n              }\n            } else {\n              var testString = delegate.toString();\n\n              if (testString === FUNCTION_WRAPPER || testString == BROWSER_TOOLS) {\n                nativeDelegate.apply(target, args);\n                return false;\n              }\n            }\n          } else if (isEnableCrossContextCheck) {\n            try {\n              delegate.toString();\n            } catch (error) {\n              nativeDelegate.apply(target, args);\n              return false;\n            }\n          }\n\n          return true;\n        };\n\n        var apiTypes = [];\n\n        for (var i = 0; i < apis.length; i++) {\n          var type = _global[apis[i]];\n          apiTypes.push(type && type.prototype);\n        } // vh is validateHandler to check event handler\n        // is valid or not(for security check)\n\n\n        api.patchEventTarget(_global, apiTypes, {\n          vh: checkIEAndCrossContext\n        });\n        Zone[api.symbol('patchEventTarget')] = !!_global[EVENT_TARGET];\n        return true;\n      }\n      /**\n       * @license\n       * Copyright Google Inc. All Rights Reserved.\n       *\n       * Use of this source code is governed by an MIT-style license that can be\n       * found in the LICENSE file at https://angular.io/license\n       */\n      // we have to patch the instance since the proto is non-configurable\n\n\n      function apply(api, _global) {\n        var _a = api.getGlobalObjects(),\n            ADD_EVENT_LISTENER_STR = _a.ADD_EVENT_LISTENER_STR,\n            REMOVE_EVENT_LISTENER_STR = _a.REMOVE_EVENT_LISTENER_STR;\n\n        var WS = _global.WebSocket; // On Safari window.EventTarget doesn't exist so need to patch WS add/removeEventListener\n        // On older Chrome, no need since EventTarget was already patched\n\n        if (!_global.EventTarget) {\n          api.patchEventTarget(_global, [WS.prototype]);\n        }\n\n        _global.WebSocket = function (x, y) {\n          var socket = arguments.length > 1 ? new WS(x, y) : new WS(x);\n          var proxySocket;\n          var proxySocketProto; // Safari 7.0 has non-configurable own 'onmessage' and friends properties on the socket instance\n\n          var onmessageDesc = api.ObjectGetOwnPropertyDescriptor(socket, 'onmessage');\n\n          if (onmessageDesc && onmessageDesc.configurable === false) {\n            proxySocket = api.ObjectCreate(socket); // socket have own property descriptor 'onopen', 'onmessage', 'onclose', 'onerror'\n            // but proxySocket not, so we will keep socket as prototype and pass it to\n            // patchOnProperties method\n\n            proxySocketProto = socket;\n            [ADD_EVENT_LISTENER_STR, REMOVE_EVENT_LISTENER_STR, 'send', 'close'].forEach(function (propName) {\n              proxySocket[propName] = function () {\n                var args = api.ArraySlice.call(arguments);\n\n                if (propName === ADD_EVENT_LISTENER_STR || propName === REMOVE_EVENT_LISTENER_STR) {\n                  var eventName = args.length > 0 ? args[0] : undefined;\n\n                  if (eventName) {\n                    var propertySymbol = Zone.__symbol__('ON_PROPERTY' + eventName);\n\n                    socket[propertySymbol] = proxySocket[propertySymbol];\n                  }\n                }\n\n                return socket[propName].apply(socket, args);\n              };\n            });\n          } else {\n            // we can patch the real socket\n            proxySocket = socket;\n          }\n\n          api.patchOnProperties(proxySocket, ['close', 'error', 'message', 'open'], proxySocketProto);\n          return proxySocket;\n        };\n\n        var globalWebSocket = _global['WebSocket'];\n\n        for (var prop in WS) {\n          globalWebSocket[prop] = WS[prop];\n        }\n      }\n      /**\n       * @license\n       * Copyright Google Inc. All Rights Reserved.\n       *\n       * Use of this source code is governed by an MIT-style license that can be\n       * found in the LICENSE file at https://angular.io/license\n       */\n\n      /**\n       * @fileoverview\n       * @suppress {globalThis}\n       */\n\n\n      function propertyDescriptorLegacyPatch(api, _global) {\n        var _a = api.getGlobalObjects(),\n            isNode = _a.isNode,\n            isMix = _a.isMix;\n\n        if (isNode && !isMix) {\n          return;\n        }\n\n        if (!canPatchViaPropertyDescriptor(api, _global)) {\n          var supportsWebSocket = typeof WebSocket !== 'undefined'; // Safari, Android browsers (Jelly Bean)\n\n          patchViaCapturingAllTheEvents(api);\n          api.patchClass('XMLHttpRequest');\n\n          if (supportsWebSocket) {\n            apply(api, _global);\n          }\n\n          Zone[api.symbol('patchEvents')] = true;\n        }\n      }\n\n      function canPatchViaPropertyDescriptor(api, _global) {\n        var _a = api.getGlobalObjects(),\n            isBrowser = _a.isBrowser,\n            isMix = _a.isMix;\n\n        if ((isBrowser || isMix) && !api.ObjectGetOwnPropertyDescriptor(HTMLElement.prototype, 'onclick') && typeof Element !== 'undefined') {\n          // WebKit https://bugs.webkit.org/show_bug.cgi?id=134364\n          // IDL interface attributes are not configurable\n          var desc = api.ObjectGetOwnPropertyDescriptor(Element.prototype, 'onclick');\n          if (desc && !desc.configurable) return false; // try to use onclick to detect whether we can patch via propertyDescriptor\n          // because XMLHttpRequest is not available in service worker\n\n          if (desc) {\n            api.ObjectDefineProperty(Element.prototype, 'onclick', {\n              enumerable: true,\n              configurable: true,\n              get: function get() {\n                return true;\n              }\n            });\n            var div = document.createElement('div');\n            var result = !!div.onclick;\n            api.ObjectDefineProperty(Element.prototype, 'onclick', desc);\n            return result;\n          }\n        }\n\n        var XMLHttpRequest = _global['XMLHttpRequest'];\n\n        if (!XMLHttpRequest) {\n          // XMLHttpRequest is not available in service worker\n          return false;\n        }\n\n        var ON_READY_STATE_CHANGE = 'onreadystatechange';\n        var XMLHttpRequestPrototype = XMLHttpRequest.prototype;\n        var xhrDesc = api.ObjectGetOwnPropertyDescriptor(XMLHttpRequestPrototype, ON_READY_STATE_CHANGE); // add enumerable and configurable here because in opera\n        // by default XMLHttpRequest.prototype.onreadystatechange is undefined\n        // without adding enumerable and configurable will cause onreadystatechange\n        // non-configurable\n        // and if XMLHttpRequest.prototype.onreadystatechange is undefined,\n        // we should set a real desc instead a fake one\n\n        if (xhrDesc) {\n          api.ObjectDefineProperty(XMLHttpRequestPrototype, ON_READY_STATE_CHANGE, {\n            enumerable: true,\n            configurable: true,\n            get: function get() {\n              return true;\n            }\n          });\n          var req = new XMLHttpRequest();\n          var result = !!req.onreadystatechange; // restore original desc\n\n          api.ObjectDefineProperty(XMLHttpRequestPrototype, ON_READY_STATE_CHANGE, xhrDesc || {});\n          return result;\n        } else {\n          var SYMBOL_FAKE_ONREADYSTATECHANGE_1 = api.symbol('fake');\n          api.ObjectDefineProperty(XMLHttpRequestPrototype, ON_READY_STATE_CHANGE, {\n            enumerable: true,\n            configurable: true,\n            get: function get() {\n              return this[SYMBOL_FAKE_ONREADYSTATECHANGE_1];\n            },\n            set: function set(value) {\n              this[SYMBOL_FAKE_ONREADYSTATECHANGE_1] = value;\n            }\n          });\n          var req = new XMLHttpRequest();\n\n          var detectFunc = function detectFunc() {};\n\n          req.onreadystatechange = detectFunc;\n          var result = req[SYMBOL_FAKE_ONREADYSTATECHANGE_1] === detectFunc;\n          req.onreadystatechange = null;\n          return result;\n        }\n      } // Whenever any eventListener fires, we check the eventListener target and all parents\n      // for `onwhatever` properties and replace them with zone-bound functions\n      // - Chrome (for now)\n\n\n      function patchViaCapturingAllTheEvents(api) {\n        var eventNames = api.getGlobalObjects().eventNames;\n        var unboundKey = api.symbol('unbound');\n\n        var _loop_1 = function _loop_1(i) {\n          var property = eventNames[i];\n          var onproperty = 'on' + property;\n          self.addEventListener(property, function (event) {\n            var elt = event.target,\n                bound,\n                source;\n\n            if (elt) {\n              source = elt.constructor['name'] + '.' + onproperty;\n            } else {\n              source = 'unknown.' + onproperty;\n            }\n\n            while (elt) {\n              if (elt[onproperty] && !elt[onproperty][unboundKey]) {\n                bound = api.wrapWithCurrentZone(elt[onproperty], source);\n                bound[unboundKey] = elt[onproperty];\n                elt[onproperty] = bound;\n              }\n\n              elt = elt.parentElement;\n            }\n          }, true);\n        };\n\n        for (var i = 0; i < eventNames.length; i++) {\n          _loop_1(i);\n        }\n      }\n      /**\n       * @license\n       * Copyright Google Inc. All Rights Reserved.\n       *\n       * Use of this source code is governed by an MIT-style license that can be\n       * found in the LICENSE file at https://angular.io/license\n       */\n\n\n      function registerElementPatch(_global, api) {\n        var _a = api.getGlobalObjects(),\n            isBrowser = _a.isBrowser,\n            isMix = _a.isMix;\n\n        if (!isBrowser && !isMix || !('registerElement' in _global.document)) {\n          return;\n        }\n\n        var callbacks = ['createdCallback', 'attachedCallback', 'detachedCallback', 'attributeChangedCallback'];\n        api.patchCallbacks(api, document, 'Document', 'registerElement', callbacks);\n      }\n      /**\n       * @license\n       * Copyright Google Inc. All Rights Reserved.\n       *\n       * Use of this source code is governed by an MIT-style license that can be\n       * found in the LICENSE file at https://angular.io/license\n       */\n\n      /**\n       * @fileoverview\n       * @suppress {missingRequire}\n       */\n\n\n      (function (_global) {\n        _global['__zone_symbol__legacyPatch'] = function () {\n          var Zone = _global['Zone'];\n\n          Zone.__load_patch('registerElement', function (global, Zone, api) {\n            registerElementPatch(global, api);\n          });\n\n          Zone.__load_patch('EventTargetLegacy', function (global, Zone, api) {\n            eventTargetLegacyPatch(global, api);\n            propertyDescriptorLegacyPatch(api, global);\n          });\n        };\n      })(typeof window !== 'undefined' && window || typeof self !== 'undefined' && self || global);\n    });\n    /***/\n\n  },\n\n  /***/\n  \"./src/polyfills.ts\":\n  /*!**************************!*\\\n    !*** ./src/polyfills.ts ***!\n    \\**************************/\n\n  /*! no exports provided */\n\n  /***/\n  function srcPolyfillsTs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony import */\n\n\n    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! tslib */\n    \"./node_modules/tslib/tslib.es6.js\");\n    /* harmony import */\n\n\n    var zone_js_dist_zone__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! zone.js/dist/zone */\n    \"./node_modules/zone.js/dist/zone-evergreen.js\");\n    /* harmony import */\n\n\n    var zone_js_dist_zone__WEBPACK_IMPORTED_MODULE_1___default =\n    /*#__PURE__*/\n    __webpack_require__.n(zone_js_dist_zone__WEBPACK_IMPORTED_MODULE_1__);\n    /**\n     * This file includes polyfills needed by Angular and is loaded before the app.\n     * You can add your own extra polyfills to this file.\n     *\n     * This file is divided into 2 sections:\n     *   1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.\n     *   2. Application imports. Files imported after ZoneJS that should be loaded before your main\n     *      file.\n     *\n     * The current setup is for so-called \"evergreen\" browsers; the last versions of browsers that\n     * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),\n     * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.\n     *\n     * Learn more in https://angular.io/guide/browser-support\n     */\n\n    /***************************************************************************************************\n     * BROWSER POLYFILLS\n     */\n\n    /** IE10 and IE11 requires the following for NgClass support on SVG elements */\n    // import 'classlist.js';  // Run `npm install --save classlist.js`.\n\n    /**\n     * Web Animations `@angular/platform-browser/animations`\n     * Only required if AnimationBuilder is used within the application and using IE/Edge or Safari.\n     * Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0).\n     */\n    // import 'web-animations-js';  // Run `npm install --save web-animations-js`.\n\n    /**\n     * By default, zone.js will patch all possible macroTask and DomEvents\n     * user can disable parts of macroTask/DomEvents patch by setting following flags\n     * because those flags need to be set before `zone.js` being loaded, and webpack\n     * will put import in the top of bundle, so user need to create a separate file\n     * in this directory (for example: zone-flags.ts), and put the following flags\n     * into that file, and then add the following code before importing zone.js.\n     * import './zone-flags.ts';\n     *\n     * The flags allowed in zone-flags.ts are listed here.\n     *\n     * The following flags will work for all browsers.\n     *\n     * (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame\n     * (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick\n     * (window as any).__zone_symbol__UNPATCHED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames\n     *\n     *  in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js\n     *  with the following flag, it will bypass `zone.js` patch for IE/Edge\n     *\n     *  (window as any).__Zone_enable_cross_context_check = true;\n     *\n     */\n\n    /***************************************************************************************************\n     * Zone JS is required by default for Angular itself.\n     */\n    // Included with Angular CLI.\n\n    /***************************************************************************************************\n     * APPLICATION IMPORTS\n     */\n\n    /***/\n\n  },\n\n  /***/\n  1:\n  /*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\\\n    !*** multi ./node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/es5-polyfills.js zone.js/dist/zone-legacy ./node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/jit-polyfills.js ./node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/es5-jit-polyfills.js ./src/polyfills.ts ***!\n    \\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function _(module, exports, __webpack_require__) {\n    __webpack_require__(\n    /*! /Users/alex/Desktop/obscurify3/node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/es5-polyfills.js */\n    \"./node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/es5-polyfills.js\");\n\n    __webpack_require__(\n    /*! zone.js/dist/zone-legacy */\n    \"./node_modules/zone.js/dist/zone-legacy.js\");\n\n    __webpack_require__(\n    /*! /Users/alex/Desktop/obscurify3/node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/jit-polyfills.js */\n    \"./node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/jit-polyfills.js\");\n\n    __webpack_require__(\n    /*! /Users/alex/Desktop/obscurify3/node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/es5-jit-polyfills.js */\n    \"./node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/es5-jit-polyfills.js\");\n\n    module.exports = __webpack_require__(\n    /*! /Users/alex/Desktop/obscurify3/src/polyfills.ts */\n    \"./src/polyfills.ts\");\n    /***/\n  }\n}, [[1, \"runtime\"]]]);\n//# sourceMappingURL=polyfills-es5.js.map"
  },
  {
    "path": "frontend/dist/obscurify3/runtime-es2015.js",
    "content": "/******/ (function(modules) { // webpackBootstrap\n/******/ \t// install a JSONP callback for chunk loading\n/******/ \tfunction webpackJsonpCallback(data) {\n/******/ \t\tvar chunkIds = data[0];\n/******/ \t\tvar moreModules = data[1];\n/******/ \t\tvar executeModules = data[2];\n/******/\n/******/ \t\t// add \"moreModules\" to the modules object,\n/******/ \t\t// then flag all \"chunkIds\" as loaded and fire callback\n/******/ \t\tvar moduleId, chunkId, i = 0, resolves = [];\n/******/ \t\tfor(;i < chunkIds.length; i++) {\n/******/ \t\t\tchunkId = chunkIds[i];\n/******/ \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n/******/ \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n/******/ \t\t\t}\n/******/ \t\t\tinstalledChunks[chunkId] = 0;\n/******/ \t\t}\n/******/ \t\tfor(moduleId in moreModules) {\n/******/ \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n/******/ \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n/******/ \t\t\t}\n/******/ \t\t}\n/******/ \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n/******/\n/******/ \t\twhile(resolves.length) {\n/******/ \t\t\tresolves.shift()();\n/******/ \t\t}\n/******/\n/******/ \t\t// add entry modules from loaded chunk to deferred list\n/******/ \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n/******/\n/******/ \t\t// run deferred modules when all chunks ready\n/******/ \t\treturn checkDeferredModules();\n/******/ \t};\n/******/ \tfunction checkDeferredModules() {\n/******/ \t\tvar result;\n/******/ \t\tfor(var i = 0; i < deferredModules.length; i++) {\n/******/ \t\t\tvar deferredModule = deferredModules[i];\n/******/ \t\t\tvar fulfilled = true;\n/******/ \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n/******/ \t\t\t\tvar depId = deferredModule[j];\n/******/ \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n/******/ \t\t\t}\n/******/ \t\t\tif(fulfilled) {\n/******/ \t\t\t\tdeferredModules.splice(i--, 1);\n/******/ \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n/******/ \t\t\t}\n/******/ \t\t}\n/******/\n/******/ \t\treturn result;\n/******/ \t}\n/******/\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// object to store loaded and loading chunks\n/******/ \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n/******/ \t// Promise = chunk loading, 0 = chunk loaded\n/******/ \tvar installedChunks = {\n/******/ \t\t\"runtime\": 0\n/******/ \t};\n/******/\n/******/ \tvar deferredModules = [];\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// define __esModule on exports\n/******/ \t__webpack_require__.r = function(exports) {\n/******/ \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n/******/ \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n/******/ \t\t}\n/******/ \t\tObject.defineProperty(exports, '__esModule', { value: true });\n/******/ \t};\n/******/\n/******/ \t// create a fake namespace object\n/******/ \t// mode & 1: value is a module id, require it\n/******/ \t// mode & 2: merge all properties of value into the ns\n/******/ \t// mode & 4: return value when already ns object\n/******/ \t// mode & 8|1: behave like require\n/******/ \t__webpack_require__.t = function(value, mode) {\n/******/ \t\tif(mode & 1) value = __webpack_require__(value);\n/******/ \t\tif(mode & 8) return value;\n/******/ \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n/******/ \t\tvar ns = Object.create(null);\n/******/ \t\t__webpack_require__.r(ns);\n/******/ \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n/******/ \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n/******/ \t\treturn ns;\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n/******/ \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n/******/ \tjsonpArray.push = webpackJsonpCallback;\n/******/ \tjsonpArray = jsonpArray.slice();\n/******/ \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n/******/ \tvar parentJsonpFunction = oldJsonpFunction;\n/******/\n/******/\n/******/ \t// run deferred modules from other chunks\n/******/ \tcheckDeferredModules();\n/******/ })\n/************************************************************************/\n/******/ ([]);"
  },
  {
    "path": "frontend/dist/obscurify3/runtime-es5.js",
    "content": "/******/ (function(modules) { // webpackBootstrap\n/******/ \t// install a JSONP callback for chunk loading\n/******/ \tfunction webpackJsonpCallback(data) {\n/******/ \t\tvar chunkIds = data[0];\n/******/ \t\tvar moreModules = data[1];\n/******/ \t\tvar executeModules = data[2];\n/******/\n/******/ \t\t// add \"moreModules\" to the modules object,\n/******/ \t\t// then flag all \"chunkIds\" as loaded and fire callback\n/******/ \t\tvar moduleId, chunkId, i = 0, resolves = [];\n/******/ \t\tfor(;i < chunkIds.length; i++) {\n/******/ \t\t\tchunkId = chunkIds[i];\n/******/ \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n/******/ \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n/******/ \t\t\t}\n/******/ \t\t\tinstalledChunks[chunkId] = 0;\n/******/ \t\t}\n/******/ \t\tfor(moduleId in moreModules) {\n/******/ \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n/******/ \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n/******/ \t\t\t}\n/******/ \t\t}\n/******/ \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n/******/\n/******/ \t\twhile(resolves.length) {\n/******/ \t\t\tresolves.shift()();\n/******/ \t\t}\n/******/\n/******/ \t\t// add entry modules from loaded chunk to deferred list\n/******/ \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n/******/\n/******/ \t\t// run deferred modules when all chunks ready\n/******/ \t\treturn checkDeferredModules();\n/******/ \t};\n/******/ \tfunction checkDeferredModules() {\n/******/ \t\tvar result;\n/******/ \t\tfor(var i = 0; i < deferredModules.length; i++) {\n/******/ \t\t\tvar deferredModule = deferredModules[i];\n/******/ \t\t\tvar fulfilled = true;\n/******/ \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n/******/ \t\t\t\tvar depId = deferredModule[j];\n/******/ \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n/******/ \t\t\t}\n/******/ \t\t\tif(fulfilled) {\n/******/ \t\t\t\tdeferredModules.splice(i--, 1);\n/******/ \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n/******/ \t\t\t}\n/******/ \t\t}\n/******/\n/******/ \t\treturn result;\n/******/ \t}\n/******/\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// object to store loaded and loading chunks\n/******/ \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n/******/ \t// Promise = chunk loading, 0 = chunk loaded\n/******/ \tvar installedChunks = {\n/******/ \t\t\"runtime\": 0\n/******/ \t};\n/******/\n/******/ \tvar deferredModules = [];\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// define __esModule on exports\n/******/ \t__webpack_require__.r = function(exports) {\n/******/ \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n/******/ \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n/******/ \t\t}\n/******/ \t\tObject.defineProperty(exports, '__esModule', { value: true });\n/******/ \t};\n/******/\n/******/ \t// create a fake namespace object\n/******/ \t// mode & 1: value is a module id, require it\n/******/ \t// mode & 2: merge all properties of value into the ns\n/******/ \t// mode & 4: return value when already ns object\n/******/ \t// mode & 8|1: behave like require\n/******/ \t__webpack_require__.t = function(value, mode) {\n/******/ \t\tif(mode & 1) value = __webpack_require__(value);\n/******/ \t\tif(mode & 8) return value;\n/******/ \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n/******/ \t\tvar ns = Object.create(null);\n/******/ \t\t__webpack_require__.r(ns);\n/******/ \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n/******/ \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n/******/ \t\treturn ns;\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n/******/ \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n/******/ \tjsonpArray.push = webpackJsonpCallback;\n/******/ \tjsonpArray = jsonpArray.slice();\n/******/ \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n/******/ \tvar parentJsonpFunction = oldJsonpFunction;\n/******/\n/******/\n/******/ \t// run deferred modules from other chunks\n/******/ \tcheckDeferredModules();\n/******/ })\n/************************************************************************/\n/******/ ([]);\n//# sourceMappingURL=runtime-es5.js.map"
  },
  {
    "path": "frontend/dist/obscurify3/styles-es2015.js",
    "content": "(window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || []).push([[\"styles\"],{\n\n/***/ \"./node_modules/@angular-devkit/build-angular/src/angular-cli-files/plugins/raw-css-loader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/lib/loader.js?!./src/styles.scss\":\n/*!**********************************************************************************************************************************************************************************************************************!*\\\n  !*** ./node_modules/@angular-devkit/build-angular/src/angular-cli-files/plugins/raw-css-loader.js!./node_modules/postcss-loader/src??embedded!./node_modules/sass-loader/lib/loader.js??ref--15-3!./src/styles.scss ***!\n  \\**********************************************************************************************************************************************************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = [[module.i, \"/* Theme for the ripple elements.*/\\n/* stylelint-disable material/no-prefixes */\\n/* stylelint-enable */\\n.mat-badge-content {\\n  font-weight: 600;\\n  font-size: 12px;\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-badge-small .mat-badge-content {\\n  font-size: 9px;\\n}\\n.mat-badge-large .mat-badge-content {\\n  font-size: 24px;\\n}\\n.mat-h1, .mat-headline, .mat-typography h1 {\\n  font: 400 24px/32px Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  margin: 0 0 16px;\\n}\\n.mat-h2, .mat-title, .mat-typography h2 {\\n  font: 500 20px/32px Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  margin: 0 0 16px;\\n}\\n.mat-h3, .mat-subheading-2, .mat-typography h3 {\\n  font: 400 16px/28px Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  margin: 0 0 16px;\\n}\\n.mat-h4, .mat-subheading-1, .mat-typography h4 {\\n  font: 400 15px/24px Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  margin: 0 0 16px;\\n}\\n.mat-h5, .mat-typography h5 {\\n  font: 400 calc(14px * 0.83)/20px Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  margin: 0 0 12px;\\n}\\n.mat-h6, .mat-typography h6 {\\n  font: 400 calc(14px * 0.67)/20px Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  margin: 0 0 12px;\\n}\\n.mat-body-strong, .mat-body-2 {\\n  font: 500 14px/24px Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-body, .mat-body-1, .mat-typography {\\n  font: 400 14px/20px Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-body p, .mat-body-1 p, .mat-typography p {\\n  margin: 0 0 12px;\\n}\\n.mat-small, .mat-caption {\\n  font: 400 12px/20px Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-display-4, .mat-typography .mat-display-4 {\\n  font: 300 112px/112px Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  letter-spacing: -0.05em;\\n  margin: 0 0 56px;\\n}\\n.mat-display-3, .mat-typography .mat-display-3 {\\n  font: 400 56px/56px Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  letter-spacing: -0.02em;\\n  margin: 0 0 64px;\\n}\\n.mat-display-2, .mat-typography .mat-display-2 {\\n  font: 400 45px/48px Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  letter-spacing: -0.005em;\\n  margin: 0 0 64px;\\n}\\n.mat-display-1, .mat-typography .mat-display-1 {\\n  font: 400 34px/40px Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  margin: 0 0 64px;\\n}\\n.mat-bottom-sheet-container {\\n  font: 400 14px/20px Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-button, .mat-raised-button, .mat-icon-button, .mat-stroked-button,\\n.mat-flat-button, .mat-fab, .mat-mini-fab {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  font-size: 14px;\\n  font-weight: 500;\\n}\\n.mat-button-toggle {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-card {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-card-title {\\n  font-size: 24px;\\n  font-weight: 500;\\n}\\n.mat-card-header .mat-card-title {\\n  font-size: 20px;\\n}\\n.mat-card-subtitle,\\n.mat-card-content {\\n  font-size: 14px;\\n}\\n.mat-checkbox {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-checkbox-layout .mat-checkbox-label {\\n  line-height: 24px;\\n}\\n.mat-chip {\\n  font-size: 14px;\\n  font-weight: 500;\\n}\\n.mat-chip .mat-chip-trailing-icon.mat-icon,\\n.mat-chip .mat-chip-remove.mat-icon {\\n  font-size: 18px;\\n}\\n.mat-table {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-header-cell {\\n  font-size: 12px;\\n  font-weight: 500;\\n}\\n.mat-cell, .mat-footer-cell {\\n  font-size: 14px;\\n}\\n.mat-calendar {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-calendar-body {\\n  font-size: 13px;\\n}\\n.mat-calendar-body-label,\\n.mat-calendar-period-button {\\n  font-size: 14px;\\n  font-weight: 500;\\n}\\n.mat-calendar-table-header th {\\n  font-size: 11px;\\n  font-weight: 400;\\n}\\n.mat-dialog-title {\\n  font: 500 20px/32px Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-expansion-panel-header {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  font-size: 15px;\\n  font-weight: 400;\\n}\\n.mat-expansion-panel-content {\\n  font: 400 14px/20px Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-form-field {\\n  font-size: inherit;\\n  font-weight: 400;\\n  line-height: 1.125;\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-form-field-wrapper {\\n  padding-bottom: 1.34375em;\\n}\\n.mat-form-field-prefix .mat-icon,\\n.mat-form-field-suffix .mat-icon {\\n  font-size: 150%;\\n  line-height: 1.125;\\n}\\n.mat-form-field-prefix .mat-icon-button,\\n.mat-form-field-suffix .mat-icon-button {\\n  height: 1.5em;\\n  width: 1.5em;\\n}\\n.mat-form-field-prefix .mat-icon-button .mat-icon,\\n.mat-form-field-suffix .mat-icon-button .mat-icon {\\n  height: 1.125em;\\n  line-height: 1.125;\\n}\\n.mat-form-field-infix {\\n  padding: 0.5em 0;\\n  border-top: 0.84375em solid transparent;\\n}\\n.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,\\n.mat-form-field-can-float .mat-input-server:focus + .mat-form-field-label-wrapper .mat-form-field-label {\\n  transform: translateY(-1.34375em) scale(0.75);\\n  width: 133.3333333333%;\\n}\\n.mat-form-field-can-float .mat-input-server[label]:not(:label-shown) + .mat-form-field-label-wrapper .mat-form-field-label {\\n  transform: translateY(-1.34374em) scale(0.75);\\n  width: 133.3333433333%;\\n}\\n.mat-form-field-label-wrapper {\\n  top: -0.84375em;\\n  padding-top: 0.84375em;\\n}\\n.mat-form-field-label {\\n  top: 1.34375em;\\n}\\n.mat-form-field-underline {\\n  bottom: 1.34375em;\\n}\\n.mat-form-field-subscript-wrapper {\\n  font-size: 75%;\\n  margin-top: 0.6666666667em;\\n  top: calc(100% - 1.7916666667em);\\n}\\n.mat-form-field-appearance-legacy .mat-form-field-wrapper {\\n  padding-bottom: 1.25em;\\n}\\n.mat-form-field-appearance-legacy .mat-form-field-infix {\\n  padding: 0.4375em 0;\\n}\\n.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,\\n.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus + .mat-form-field-label-wrapper .mat-form-field-label {\\n  transform: translateY(-1.28125em) scale(0.75) perspective(100px) translateZ(0.001px);\\n  -ms-transform: translateY(-1.28125em) scale(0.75);\\n  width: 133.3333333333%;\\n}\\n.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 {\\n  transform: translateY(-1.28125em) scale(0.75) perspective(100px) translateZ(0.00101px);\\n  -ms-transform: translateY(-1.28124em) scale(0.75);\\n  width: 133.3333433333%;\\n}\\n.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 {\\n  transform: translateY(-1.28125em) scale(0.75) perspective(100px) translateZ(0.00102px);\\n  -ms-transform: translateY(-1.28123em) scale(0.75);\\n  width: 133.3333533333%;\\n}\\n.mat-form-field-appearance-legacy .mat-form-field-label {\\n  top: 1.28125em;\\n}\\n.mat-form-field-appearance-legacy .mat-form-field-underline {\\n  bottom: 1.25em;\\n}\\n.mat-form-field-appearance-legacy .mat-form-field-subscript-wrapper {\\n  margin-top: 0.5416666667em;\\n  top: calc(100% - 1.6666666667em);\\n}\\n@media print {\\n  .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,\\n.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus + .mat-form-field-label-wrapper .mat-form-field-label {\\n    transform: translateY(-1.28122em) scale(0.75);\\n  }\\n  .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 {\\n    transform: translateY(-1.28121em) scale(0.75);\\n  }\\n  .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 {\\n    transform: translateY(-1.2812em) scale(0.75);\\n  }\\n}\\n.mat-form-field-appearance-fill .mat-form-field-infix {\\n  padding: 0.25em 0 0.75em 0;\\n}\\n.mat-form-field-appearance-fill .mat-form-field-label {\\n  top: 1.09375em;\\n  margin-top: -0.5em;\\n}\\n.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,\\n.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server:focus + .mat-form-field-label-wrapper .mat-form-field-label {\\n  transform: translateY(-0.59375em) scale(0.75);\\n  width: 133.3333333333%;\\n}\\n.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 {\\n  transform: translateY(-0.59374em) scale(0.75);\\n  width: 133.3333433333%;\\n}\\n.mat-form-field-appearance-outline .mat-form-field-infix {\\n  padding: 1em 0 1em 0;\\n}\\n.mat-form-field-appearance-outline .mat-form-field-label {\\n  top: 1.84375em;\\n  margin-top: -0.25em;\\n}\\n.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,\\n.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server:focus + .mat-form-field-label-wrapper .mat-form-field-label {\\n  transform: translateY(-1.59375em) scale(0.75);\\n  width: 133.3333333333%;\\n}\\n.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 {\\n  transform: translateY(-1.59374em) scale(0.75);\\n  width: 133.3333433333%;\\n}\\n.mat-grid-tile-header,\\n.mat-grid-tile-footer {\\n  font-size: 14px;\\n}\\n.mat-grid-tile-header .mat-line,\\n.mat-grid-tile-footer .mat-line {\\n  white-space: nowrap;\\n  overflow: hidden;\\n  text-overflow: ellipsis;\\n  display: block;\\n  box-sizing: border-box;\\n}\\n.mat-grid-tile-header .mat-line:nth-child(n+2),\\n.mat-grid-tile-footer .mat-line:nth-child(n+2) {\\n  font-size: 12px;\\n}\\ninput.mat-input-element {\\n  margin-top: -0.0625em;\\n}\\n.mat-menu-item {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  font-size: 14px;\\n  font-weight: 400;\\n}\\n.mat-paginator,\\n.mat-paginator-page-size .mat-select-trigger {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  font-size: 12px;\\n}\\n.mat-radio-button {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-select {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-select-trigger {\\n  height: 1.125em;\\n}\\n.mat-slide-toggle-content {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-slider-thumb-label-text {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  font-size: 12px;\\n  font-weight: 500;\\n}\\n.mat-stepper-vertical, .mat-stepper-horizontal {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-step-label {\\n  font-size: 14px;\\n  font-weight: 400;\\n}\\n.mat-step-sub-label-error {\\n  font-weight: normal;\\n}\\n.mat-step-label-error {\\n  font-size: 14px;\\n}\\n.mat-step-label-selected {\\n  font-size: 14px;\\n  font-weight: 500;\\n}\\n.mat-tab-group {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-tab-label, .mat-tab-link {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  font-size: 14px;\\n  font-weight: 500;\\n}\\n.mat-toolbar,\\n.mat-toolbar h1,\\n.mat-toolbar h2,\\n.mat-toolbar h3,\\n.mat-toolbar h4,\\n.mat-toolbar h5,\\n.mat-toolbar h6 {\\n  font: 500 20px/32px Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  margin: 0;\\n}\\n.mat-tooltip {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  font-size: 10px;\\n  padding-top: 6px;\\n  padding-bottom: 6px;\\n}\\n.mat-tooltip-handset {\\n  font-size: 14px;\\n  padding-top: 8px;\\n  padding-bottom: 8px;\\n}\\n.mat-list-item {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-list-option {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-list-base .mat-list-item {\\n  font-size: 16px;\\n}\\n.mat-list-base .mat-list-item .mat-line {\\n  white-space: nowrap;\\n  overflow: hidden;\\n  text-overflow: ellipsis;\\n  display: block;\\n  box-sizing: border-box;\\n}\\n.mat-list-base .mat-list-item .mat-line:nth-child(n+2) {\\n  font-size: 14px;\\n}\\n.mat-list-base .mat-list-option {\\n  font-size: 16px;\\n}\\n.mat-list-base .mat-list-option .mat-line {\\n  white-space: nowrap;\\n  overflow: hidden;\\n  text-overflow: ellipsis;\\n  display: block;\\n  box-sizing: border-box;\\n}\\n.mat-list-base .mat-list-option .mat-line:nth-child(n+2) {\\n  font-size: 14px;\\n}\\n.mat-list-base .mat-subheader {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  font-size: 14px;\\n  font-weight: 500;\\n}\\n.mat-list-base[dense] .mat-list-item {\\n  font-size: 12px;\\n}\\n.mat-list-base[dense] .mat-list-item .mat-line {\\n  white-space: nowrap;\\n  overflow: hidden;\\n  text-overflow: ellipsis;\\n  display: block;\\n  box-sizing: border-box;\\n}\\n.mat-list-base[dense] .mat-list-item .mat-line:nth-child(n+2) {\\n  font-size: 12px;\\n}\\n.mat-list-base[dense] .mat-list-option {\\n  font-size: 12px;\\n}\\n.mat-list-base[dense] .mat-list-option .mat-line {\\n  white-space: nowrap;\\n  overflow: hidden;\\n  text-overflow: ellipsis;\\n  display: block;\\n  box-sizing: border-box;\\n}\\n.mat-list-base[dense] .mat-list-option .mat-line:nth-child(n+2) {\\n  font-size: 12px;\\n}\\n.mat-list-base[dense] .mat-subheader {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  font-size: 12px;\\n  font-weight: 500;\\n}\\n.mat-option {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  font-size: 16px;\\n}\\n.mat-optgroup-label {\\n  font: 500 14px/24px Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-simple-snackbar {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  font-size: 14px;\\n}\\n.mat-simple-snackbar-action {\\n  line-height: 1;\\n  font-family: inherit;\\n  font-size: inherit;\\n  font-weight: 500;\\n}\\n.mat-tree {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-tree-node,\\n.mat-nested-tree-node {\\n  font-weight: 400;\\n  font-size: 14px;\\n}\\n.mat-ripple {\\n  overflow: hidden;\\n  position: relative;\\n}\\n.mat-ripple.mat-ripple-unbounded {\\n  overflow: visible;\\n}\\n.mat-ripple-element {\\n  position: absolute;\\n  border-radius: 50%;\\n  pointer-events: none;\\n  transition: opacity, transform 0ms cubic-bezier(0, 0, 0.2, 1);\\n  transform: scale(0);\\n}\\n@media (-ms-high-contrast: active) {\\n  .mat-ripple-element {\\n    display: none;\\n  }\\n}\\n.cdk-visually-hidden {\\n  border: 0;\\n  clip: rect(0 0 0 0);\\n  height: 1px;\\n  margin: -1px;\\n  overflow: hidden;\\n  padding: 0;\\n  position: absolute;\\n  width: 1px;\\n  outline: 0;\\n  -webkit-appearance: none;\\n  -moz-appearance: none;\\n}\\n.cdk-overlay-container, .cdk-global-overlay-wrapper {\\n  pointer-events: none;\\n  top: 0;\\n  left: 0;\\n  height: 100%;\\n  width: 100%;\\n}\\n.cdk-overlay-container {\\n  position: fixed;\\n  z-index: 1000;\\n}\\n.cdk-overlay-container:empty {\\n  display: none;\\n}\\n.cdk-global-overlay-wrapper {\\n  display: flex;\\n  position: absolute;\\n  z-index: 1000;\\n}\\n.cdk-overlay-pane {\\n  position: absolute;\\n  pointer-events: auto;\\n  box-sizing: border-box;\\n  z-index: 1000;\\n  display: flex;\\n  max-width: 100%;\\n  max-height: 100%;\\n}\\n.cdk-overlay-backdrop {\\n  position: absolute;\\n  top: 0;\\n  bottom: 0;\\n  left: 0;\\n  right: 0;\\n  z-index: 1000;\\n  pointer-events: auto;\\n  -webkit-tap-highlight-color: transparent;\\n  transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);\\n  opacity: 0;\\n}\\n.cdk-overlay-backdrop.cdk-overlay-backdrop-showing {\\n  opacity: 1;\\n}\\n@media screen and (-ms-high-contrast: active) {\\n  .cdk-overlay-backdrop.cdk-overlay-backdrop-showing {\\n    opacity: 0.6;\\n  }\\n}\\n.cdk-overlay-dark-backdrop {\\n  background: rgba(0, 0, 0, 0.32);\\n}\\n.cdk-overlay-transparent-backdrop, .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing {\\n  opacity: 0;\\n}\\n.cdk-overlay-connected-position-bounding-box {\\n  position: absolute;\\n  z-index: 1000;\\n  display: flex;\\n  flex-direction: column;\\n  min-width: 1px;\\n  min-height: 1px;\\n}\\n.cdk-global-scrollblock {\\n  position: fixed;\\n  width: 100%;\\n  overflow-y: scroll;\\n}\\n@-webkit-keyframes cdk-text-field-autofill-start {\\n  /*!*/\\n}\\n@keyframes cdk-text-field-autofill-start {\\n  /*!*/\\n}\\n@-webkit-keyframes cdk-text-field-autofill-end {\\n  /*!*/\\n}\\n@keyframes cdk-text-field-autofill-end {\\n  /*!*/\\n}\\n.cdk-text-field-autofill-monitored:-webkit-autofill {\\n  -webkit-animation-name: cdk-text-field-autofill-start;\\n          animation-name: cdk-text-field-autofill-start;\\n}\\n.cdk-text-field-autofill-monitored:not(:-webkit-autofill) {\\n  -webkit-animation-name: cdk-text-field-autofill-end;\\n          animation-name: cdk-text-field-autofill-end;\\n}\\ntextarea.cdk-textarea-autosize {\\n  resize: none;\\n}\\ntextarea.cdk-textarea-autosize-measuring {\\n  height: auto !important;\\n  overflow: hidden !important;\\n  padding: 2px 0 !important;\\n  box-sizing: content-box !important;\\n}\\n.mat-ripple-element {\\n  background-color: rgba(0, 0, 0, 0.1);\\n}\\n.mat-option {\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-option:hover:not(.mat-option-disabled), .mat-option:focus:not(.mat-option-disabled) {\\n  background: rgba(0, 0, 0, 0.04);\\n}\\n.mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled) {\\n  background: rgba(0, 0, 0, 0.04);\\n}\\n.mat-option.mat-active {\\n  background: rgba(0, 0, 0, 0.04);\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-option.mat-option-disabled {\\n  color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-primary .mat-option.mat-selected:not(.mat-option-disabled) {\\n  color: #3f51b5;\\n}\\n.mat-accent .mat-option.mat-selected:not(.mat-option-disabled) {\\n  color: #ff4081;\\n}\\n.mat-warn .mat-option.mat-selected:not(.mat-option-disabled) {\\n  color: #f44336;\\n}\\n.mat-optgroup-label {\\n  color: rgba(0, 0, 0, 0.54);\\n}\\n.mat-optgroup-disabled .mat-optgroup-label {\\n  color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-pseudo-checkbox {\\n  color: rgba(0, 0, 0, 0.54);\\n}\\n.mat-pseudo-checkbox::after {\\n  color: #fafafa;\\n}\\n.mat-pseudo-checkbox-disabled {\\n  color: #b0b0b0;\\n}\\n.mat-primary .mat-pseudo-checkbox-checked,\\n.mat-primary .mat-pseudo-checkbox-indeterminate {\\n  background: #3f51b5;\\n}\\n.mat-pseudo-checkbox-checked,\\n.mat-pseudo-checkbox-indeterminate,\\n.mat-accent .mat-pseudo-checkbox-checked,\\n.mat-accent .mat-pseudo-checkbox-indeterminate {\\n  background: #ff4081;\\n}\\n.mat-warn .mat-pseudo-checkbox-checked,\\n.mat-warn .mat-pseudo-checkbox-indeterminate {\\n  background: #f44336;\\n}\\n.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,\\n.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled {\\n  background: #b0b0b0;\\n}\\n.mat-elevation-z0 {\\n  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z1 {\\n  box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z2 {\\n  box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z3 {\\n  box-shadow: 0px 3px 3px -2px rgba(0, 0, 0, 0.2), 0px 3px 4px 0px rgba(0, 0, 0, 0.14), 0px 1px 8px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z4 {\\n  box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z5 {\\n  box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 5px 8px 0px rgba(0, 0, 0, 0.14), 0px 1px 14px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z6 {\\n  box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z7 {\\n  box-shadow: 0px 4px 5px -2px rgba(0, 0, 0, 0.2), 0px 7px 10px 1px rgba(0, 0, 0, 0.14), 0px 2px 16px 1px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z8 {\\n  box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z9 {\\n  box-shadow: 0px 5px 6px -3px rgba(0, 0, 0, 0.2), 0px 9px 12px 1px rgba(0, 0, 0, 0.14), 0px 3px 16px 2px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z10 {\\n  box-shadow: 0px 6px 6px -3px rgba(0, 0, 0, 0.2), 0px 10px 14px 1px rgba(0, 0, 0, 0.14), 0px 4px 18px 3px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z11 {\\n  box-shadow: 0px 6px 7px -4px rgba(0, 0, 0, 0.2), 0px 11px 15px 1px rgba(0, 0, 0, 0.14), 0px 4px 20px 3px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z12 {\\n  box-shadow: 0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z13 {\\n  box-shadow: 0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 13px 19px 2px rgba(0, 0, 0, 0.14), 0px 5px 24px 4px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z14 {\\n  box-shadow: 0px 7px 9px -4px rgba(0, 0, 0, 0.2), 0px 14px 21px 2px rgba(0, 0, 0, 0.14), 0px 5px 26px 4px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z15 {\\n  box-shadow: 0px 8px 9px -5px rgba(0, 0, 0, 0.2), 0px 15px 22px 2px rgba(0, 0, 0, 0.14), 0px 6px 28px 5px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z16 {\\n  box-shadow: 0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z17 {\\n  box-shadow: 0px 8px 11px -5px rgba(0, 0, 0, 0.2), 0px 17px 26px 2px rgba(0, 0, 0, 0.14), 0px 6px 32px 5px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z18 {\\n  box-shadow: 0px 9px 11px -5px rgba(0, 0, 0, 0.2), 0px 18px 28px 2px rgba(0, 0, 0, 0.14), 0px 7px 34px 6px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z19 {\\n  box-shadow: 0px 9px 12px -6px rgba(0, 0, 0, 0.2), 0px 19px 29px 2px rgba(0, 0, 0, 0.14), 0px 7px 36px 6px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z20 {\\n  box-shadow: 0px 10px 13px -6px rgba(0, 0, 0, 0.2), 0px 20px 31px 3px rgba(0, 0, 0, 0.14), 0px 8px 38px 7px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z21 {\\n  box-shadow: 0px 10px 13px -6px rgba(0, 0, 0, 0.2), 0px 21px 33px 3px rgba(0, 0, 0, 0.14), 0px 8px 40px 7px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z22 {\\n  box-shadow: 0px 10px 14px -6px rgba(0, 0, 0, 0.2), 0px 22px 35px 3px rgba(0, 0, 0, 0.14), 0px 8px 42px 7px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z23 {\\n  box-shadow: 0px 11px 14px -7px rgba(0, 0, 0, 0.2), 0px 23px 36px 3px rgba(0, 0, 0, 0.14), 0px 9px 44px 8px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z24 {\\n  box-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);\\n}\\n.mat-app-background {\\n  background-color: #fafafa;\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-theme-loaded-marker {\\n  display: none;\\n}\\n.mat-autocomplete-panel {\\n  background: white;\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-autocomplete-panel:not([class*=mat-elevation-z]) {\\n  box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover) {\\n  background: white;\\n}\\n.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled) {\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-badge-content {\\n  color: white;\\n  background: #3f51b5;\\n}\\n@media (-ms-high-contrast: active) {\\n  .mat-badge-content {\\n    outline: solid 1px;\\n    border-radius: 0;\\n  }\\n}\\n.mat-badge-accent .mat-badge-content {\\n  background: #ff4081;\\n  color: white;\\n}\\n.mat-badge-warn .mat-badge-content {\\n  color: white;\\n  background: #f44336;\\n}\\n.mat-badge {\\n  position: relative;\\n}\\n.mat-badge-hidden .mat-badge-content {\\n  display: none;\\n}\\n.mat-badge-disabled .mat-badge-content {\\n  background: #b9b9b9;\\n  color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-badge-content {\\n  position: absolute;\\n  text-align: center;\\n  display: inline-block;\\n  border-radius: 50%;\\n  transition: transform 200ms ease-in-out;\\n  transform: scale(0.6);\\n  overflow: hidden;\\n  white-space: nowrap;\\n  text-overflow: ellipsis;\\n  pointer-events: none;\\n}\\n.ng-animate-disabled .mat-badge-content,\\n.mat-badge-content._mat-animation-noopable {\\n  transition: none;\\n}\\n.mat-badge-content.mat-badge-active {\\n  transform: none;\\n}\\n.mat-badge-small .mat-badge-content {\\n  width: 16px;\\n  height: 16px;\\n  line-height: 16px;\\n}\\n.mat-badge-small.mat-badge-above .mat-badge-content {\\n  top: -8px;\\n}\\n.mat-badge-small.mat-badge-below .mat-badge-content {\\n  bottom: -8px;\\n}\\n.mat-badge-small.mat-badge-before .mat-badge-content {\\n  left: -16px;\\n}\\n[dir=rtl] .mat-badge-small.mat-badge-before .mat-badge-content {\\n  left: auto;\\n  right: -16px;\\n}\\n.mat-badge-small.mat-badge-after .mat-badge-content {\\n  right: -16px;\\n}\\n[dir=rtl] .mat-badge-small.mat-badge-after .mat-badge-content {\\n  right: auto;\\n  left: -16px;\\n}\\n.mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content {\\n  left: -8px;\\n}\\n[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content {\\n  left: auto;\\n  right: -8px;\\n}\\n.mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content {\\n  right: -8px;\\n}\\n[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content {\\n  right: auto;\\n  left: -8px;\\n}\\n.mat-badge-medium .mat-badge-content {\\n  width: 22px;\\n  height: 22px;\\n  line-height: 22px;\\n}\\n.mat-badge-medium.mat-badge-above .mat-badge-content {\\n  top: -11px;\\n}\\n.mat-badge-medium.mat-badge-below .mat-badge-content {\\n  bottom: -11px;\\n}\\n.mat-badge-medium.mat-badge-before .mat-badge-content {\\n  left: -22px;\\n}\\n[dir=rtl] .mat-badge-medium.mat-badge-before .mat-badge-content {\\n  left: auto;\\n  right: -22px;\\n}\\n.mat-badge-medium.mat-badge-after .mat-badge-content {\\n  right: -22px;\\n}\\n[dir=rtl] .mat-badge-medium.mat-badge-after .mat-badge-content {\\n  right: auto;\\n  left: -22px;\\n}\\n.mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content {\\n  left: -11px;\\n}\\n[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content {\\n  left: auto;\\n  right: -11px;\\n}\\n.mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content {\\n  right: -11px;\\n}\\n[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content {\\n  right: auto;\\n  left: -11px;\\n}\\n.mat-badge-large .mat-badge-content {\\n  width: 28px;\\n  height: 28px;\\n  line-height: 28px;\\n}\\n.mat-badge-large.mat-badge-above .mat-badge-content {\\n  top: -14px;\\n}\\n.mat-badge-large.mat-badge-below .mat-badge-content {\\n  bottom: -14px;\\n}\\n.mat-badge-large.mat-badge-before .mat-badge-content {\\n  left: -28px;\\n}\\n[dir=rtl] .mat-badge-large.mat-badge-before .mat-badge-content {\\n  left: auto;\\n  right: -28px;\\n}\\n.mat-badge-large.mat-badge-after .mat-badge-content {\\n  right: -28px;\\n}\\n[dir=rtl] .mat-badge-large.mat-badge-after .mat-badge-content {\\n  right: auto;\\n  left: -28px;\\n}\\n.mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content {\\n  left: -14px;\\n}\\n[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content {\\n  left: auto;\\n  right: -14px;\\n}\\n.mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content {\\n  right: -14px;\\n}\\n[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content {\\n  right: auto;\\n  left: -14px;\\n}\\n.mat-bottom-sheet-container {\\n  box-shadow: 0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);\\n  background: white;\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-button, .mat-icon-button, .mat-stroked-button {\\n  color: inherit;\\n  background: transparent;\\n}\\n.mat-button.mat-primary, .mat-icon-button.mat-primary, .mat-stroked-button.mat-primary {\\n  color: #3f51b5;\\n}\\n.mat-button.mat-accent, .mat-icon-button.mat-accent, .mat-stroked-button.mat-accent {\\n  color: #ff4081;\\n}\\n.mat-button.mat-warn, .mat-icon-button.mat-warn, .mat-stroked-button.mat-warn {\\n  color: #f44336;\\n}\\n.mat-button.mat-primary[disabled], .mat-button.mat-accent[disabled], .mat-button.mat-warn[disabled], .mat-button[disabled][disabled], .mat-icon-button.mat-primary[disabled], .mat-icon-button.mat-accent[disabled], .mat-icon-button.mat-warn[disabled], .mat-icon-button[disabled][disabled], .mat-stroked-button.mat-primary[disabled], .mat-stroked-button.mat-accent[disabled], .mat-stroked-button.mat-warn[disabled], .mat-stroked-button[disabled][disabled] {\\n  color: rgba(0, 0, 0, 0.26);\\n}\\n.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 {\\n  background-color: #3f51b5;\\n}\\n.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 {\\n  background-color: #ff4081;\\n}\\n.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 {\\n  background-color: #f44336;\\n}\\n.mat-button[disabled] .mat-button-focus-overlay, .mat-icon-button[disabled] .mat-button-focus-overlay, .mat-stroked-button[disabled] .mat-button-focus-overlay {\\n  background-color: transparent;\\n}\\n.mat-button .mat-ripple-element, .mat-icon-button .mat-ripple-element, .mat-stroked-button .mat-ripple-element {\\n  opacity: 0.1;\\n  background-color: currentColor;\\n}\\n.mat-button-focus-overlay {\\n  background: black;\\n}\\n.mat-stroked-button:not([disabled]) {\\n  border-color: rgba(0, 0, 0, 0.12);\\n}\\n.mat-flat-button, .mat-raised-button, .mat-fab, .mat-mini-fab {\\n  color: rgba(0, 0, 0, 0.87);\\n  background-color: white;\\n}\\n.mat-flat-button.mat-primary, .mat-raised-button.mat-primary, .mat-fab.mat-primary, .mat-mini-fab.mat-primary {\\n  color: white;\\n}\\n.mat-flat-button.mat-accent, .mat-raised-button.mat-accent, .mat-fab.mat-accent, .mat-mini-fab.mat-accent {\\n  color: white;\\n}\\n.mat-flat-button.mat-warn, .mat-raised-button.mat-warn, .mat-fab.mat-warn, .mat-mini-fab.mat-warn {\\n  color: white;\\n}\\n.mat-flat-button.mat-primary[disabled], .mat-flat-button.mat-accent[disabled], .mat-flat-button.mat-warn[disabled], .mat-flat-button[disabled][disabled], .mat-raised-button.mat-primary[disabled], .mat-raised-button.mat-accent[disabled], .mat-raised-button.mat-warn[disabled], .mat-raised-button[disabled][disabled], .mat-fab.mat-primary[disabled], .mat-fab.mat-accent[disabled], .mat-fab.mat-warn[disabled], .mat-fab[disabled][disabled], .mat-mini-fab.mat-primary[disabled], .mat-mini-fab.mat-accent[disabled], .mat-mini-fab.mat-warn[disabled], .mat-mini-fab[disabled][disabled] {\\n  color: rgba(0, 0, 0, 0.26);\\n}\\n.mat-flat-button.mat-primary, .mat-raised-button.mat-primary, .mat-fab.mat-primary, .mat-mini-fab.mat-primary {\\n  background-color: #3f51b5;\\n}\\n.mat-flat-button.mat-accent, .mat-raised-button.mat-accent, .mat-fab.mat-accent, .mat-mini-fab.mat-accent {\\n  background-color: #ff4081;\\n}\\n.mat-flat-button.mat-warn, .mat-raised-button.mat-warn, .mat-fab.mat-warn, .mat-mini-fab.mat-warn {\\n  background-color: #f44336;\\n}\\n.mat-flat-button.mat-primary[disabled], .mat-flat-button.mat-accent[disabled], .mat-flat-button.mat-warn[disabled], .mat-flat-button[disabled][disabled], .mat-raised-button.mat-primary[disabled], .mat-raised-button.mat-accent[disabled], .mat-raised-button.mat-warn[disabled], .mat-raised-button[disabled][disabled], .mat-fab.mat-primary[disabled], .mat-fab.mat-accent[disabled], .mat-fab.mat-warn[disabled], .mat-fab[disabled][disabled], .mat-mini-fab.mat-primary[disabled], .mat-mini-fab.mat-accent[disabled], .mat-mini-fab.mat-warn[disabled], .mat-mini-fab[disabled][disabled] {\\n  background-color: rgba(0, 0, 0, 0.12);\\n}\\n.mat-flat-button.mat-primary .mat-ripple-element, .mat-raised-button.mat-primary .mat-ripple-element, .mat-fab.mat-primary .mat-ripple-element, .mat-mini-fab.mat-primary .mat-ripple-element {\\n  background-color: rgba(255, 255, 255, 0.1);\\n}\\n.mat-flat-button.mat-accent .mat-ripple-element, .mat-raised-button.mat-accent .mat-ripple-element, .mat-fab.mat-accent .mat-ripple-element, .mat-mini-fab.mat-accent .mat-ripple-element {\\n  background-color: rgba(255, 255, 255, 0.1);\\n}\\n.mat-flat-button.mat-warn .mat-ripple-element, .mat-raised-button.mat-warn .mat-ripple-element, .mat-fab.mat-warn .mat-ripple-element, .mat-mini-fab.mat-warn .mat-ripple-element {\\n  background-color: rgba(255, 255, 255, 0.1);\\n}\\n.mat-stroked-button:not([class*=mat-elevation-z]), .mat-flat-button:not([class*=mat-elevation-z]) {\\n  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-raised-button:not([class*=mat-elevation-z]) {\\n  box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-raised-button:not([disabled]):active:not([class*=mat-elevation-z]) {\\n  box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);\\n}\\n.mat-raised-button[disabled]:not([class*=mat-elevation-z]) {\\n  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-fab:not([class*=mat-elevation-z]), .mat-mini-fab:not([class*=mat-elevation-z]) {\\n  box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-fab:not([disabled]):active:not([class*=mat-elevation-z]), .mat-mini-fab:not([disabled]):active:not([class*=mat-elevation-z]) {\\n  box-shadow: 0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12);\\n}\\n.mat-fab[disabled]:not([class*=mat-elevation-z]), .mat-mini-fab[disabled]:not([class*=mat-elevation-z]) {\\n  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-button-toggle-standalone,\\n.mat-button-toggle-group {\\n  box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,\\n.mat-button-toggle-group-appearance-standard {\\n  box-shadow: none;\\n}\\n.mat-button-toggle {\\n  color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-button-toggle .mat-button-toggle-focus-overlay {\\n  background-color: rgba(0, 0, 0, 0.12);\\n}\\n.mat-button-toggle-appearance-standard {\\n  color: rgba(0, 0, 0, 0.87);\\n  background: white;\\n}\\n.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay {\\n  background-color: black;\\n}\\n.mat-button-toggle-group-appearance-standard .mat-button-toggle + .mat-button-toggle {\\n  border-left: solid 1px rgba(0, 0, 0, 0.12);\\n}\\n[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle + .mat-button-toggle {\\n  border-left: none;\\n  border-right: solid 1px rgba(0, 0, 0, 0.12);\\n}\\n.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle + .mat-button-toggle {\\n  border-left: none;\\n  border-right: none;\\n  border-top: solid 1px rgba(0, 0, 0, 0.12);\\n}\\n.mat-button-toggle-checked {\\n  background-color: #e0e0e0;\\n  color: rgba(0, 0, 0, 0.54);\\n}\\n.mat-button-toggle-checked.mat-button-toggle-appearance-standard {\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-button-toggle-disabled {\\n  color: rgba(0, 0, 0, 0.26);\\n  background-color: #eeeeee;\\n}\\n.mat-button-toggle-disabled.mat-button-toggle-appearance-standard {\\n  background: white;\\n}\\n.mat-button-toggle-disabled.mat-button-toggle-checked {\\n  background-color: #bdbdbd;\\n}\\n.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,\\n.mat-button-toggle-group-appearance-standard {\\n  border: solid 1px rgba(0, 0, 0, 0.12);\\n}\\n.mat-card {\\n  background: white;\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-card:not([class*=mat-elevation-z]) {\\n  box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-card.mat-card-flat:not([class*=mat-elevation-z]) {\\n  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-card-subtitle {\\n  color: rgba(0, 0, 0, 0.54);\\n}\\n.mat-checkbox-frame {\\n  border-color: rgba(0, 0, 0, 0.54);\\n}\\n.mat-checkbox-checkmark {\\n  fill: #fafafa;\\n}\\n.mat-checkbox-checkmark-path {\\n  stroke: #fafafa !important;\\n}\\n@media (-ms-high-contrast: black-on-white) {\\n  .mat-checkbox-checkmark-path {\\n    stroke: #000 !important;\\n  }\\n}\\n.mat-checkbox-mixedmark {\\n  background-color: #fafafa;\\n}\\n.mat-checkbox-indeterminate.mat-primary .mat-checkbox-background, .mat-checkbox-checked.mat-primary .mat-checkbox-background {\\n  background-color: #3f51b5;\\n}\\n.mat-checkbox-indeterminate.mat-accent .mat-checkbox-background, .mat-checkbox-checked.mat-accent .mat-checkbox-background {\\n  background-color: #ff4081;\\n}\\n.mat-checkbox-indeterminate.mat-warn .mat-checkbox-background, .mat-checkbox-checked.mat-warn .mat-checkbox-background {\\n  background-color: #f44336;\\n}\\n.mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background, .mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background {\\n  background-color: #b0b0b0;\\n}\\n.mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame {\\n  border-color: #b0b0b0;\\n}\\n.mat-checkbox-disabled .mat-checkbox-label {\\n  color: rgba(0, 0, 0, 0.54);\\n}\\n@media (-ms-high-contrast: active) {\\n  .mat-checkbox-disabled {\\n    opacity: 0.5;\\n  }\\n}\\n@media (-ms-high-contrast: active) {\\n  .mat-checkbox-background {\\n    background: none;\\n  }\\n}\\n.mat-checkbox .mat-ripple-element {\\n  background-color: black;\\n}\\n.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,\\n.mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element {\\n  background: #3f51b5;\\n}\\n.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,\\n.mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element {\\n  background: #ff4081;\\n}\\n.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,\\n.mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element {\\n  background: #f44336;\\n}\\n.mat-chip.mat-standard-chip {\\n  background-color: #e0e0e0;\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-chip.mat-standard-chip .mat-chip-remove {\\n  color: rgba(0, 0, 0, 0.87);\\n  opacity: 0.4;\\n}\\n.mat-chip.mat-standard-chip:not(.mat-chip-disabled):active {\\n  box-shadow: 0px 3px 3px -2px rgba(0, 0, 0, 0.2), 0px 3px 4px 0px rgba(0, 0, 0, 0.14), 0px 1px 8px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover {\\n  opacity: 0.54;\\n}\\n.mat-chip.mat-standard-chip.mat-chip-disabled {\\n  opacity: 0.4;\\n}\\n.mat-chip.mat-standard-chip::after {\\n  background: black;\\n}\\n.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary {\\n  background-color: #3f51b5;\\n  color: white;\\n}\\n.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove {\\n  color: white;\\n  opacity: 0.4;\\n}\\n.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element {\\n  background: rgba(255, 255, 255, 0.1);\\n}\\n.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn {\\n  background-color: #f44336;\\n  color: white;\\n}\\n.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove {\\n  color: white;\\n  opacity: 0.4;\\n}\\n.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element {\\n  background: rgba(255, 255, 255, 0.1);\\n}\\n.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent {\\n  background-color: #ff4081;\\n  color: white;\\n}\\n.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove {\\n  color: white;\\n  opacity: 0.4;\\n}\\n.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element {\\n  background: rgba(255, 255, 255, 0.1);\\n}\\n.mat-table {\\n  background: white;\\n}\\n.mat-table thead, .mat-table tbody, .mat-table tfoot,\\nmat-header-row, mat-row, mat-footer-row,\\n[mat-header-row], [mat-row], [mat-footer-row],\\n.mat-table-sticky {\\n  background: inherit;\\n}\\nmat-row, mat-header-row, mat-footer-row,\\nth.mat-header-cell, td.mat-cell, td.mat-footer-cell {\\n  border-bottom-color: rgba(0, 0, 0, 0.12);\\n}\\n.mat-header-cell {\\n  color: rgba(0, 0, 0, 0.54);\\n}\\n.mat-cell, .mat-footer-cell {\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-calendar-arrow {\\n  border-top-color: rgba(0, 0, 0, 0.54);\\n}\\n.mat-datepicker-toggle,\\n.mat-datepicker-content .mat-calendar-next-button,\\n.mat-datepicker-content .mat-calendar-previous-button {\\n  color: rgba(0, 0, 0, 0.54);\\n}\\n.mat-calendar-table-header {\\n  color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-calendar-table-header-divider::after {\\n  background: rgba(0, 0, 0, 0.12);\\n}\\n.mat-calendar-body-label {\\n  color: rgba(0, 0, 0, 0.54);\\n}\\n.mat-calendar-body-cell-content {\\n  color: rgba(0, 0, 0, 0.87);\\n  border-color: transparent;\\n}\\n.mat-calendar-body-disabled > .mat-calendar-body-cell-content:not(.mat-calendar-body-selected) {\\n  color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover > .mat-calendar-body-cell-content:not(.mat-calendar-body-selected),\\n.cdk-keyboard-focused .mat-calendar-body-active > .mat-calendar-body-cell-content:not(.mat-calendar-body-selected),\\n.cdk-program-focused .mat-calendar-body-active > .mat-calendar-body-cell-content:not(.mat-calendar-body-selected) {\\n  background-color: rgba(0, 0, 0, 0.04);\\n}\\n.mat-calendar-body-today:not(.mat-calendar-body-selected) {\\n  border-color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-calendar-body-disabled > .mat-calendar-body-today:not(.mat-calendar-body-selected) {\\n  border-color: rgba(0, 0, 0, 0.18);\\n}\\n.mat-calendar-body-selected {\\n  background-color: #3f51b5;\\n  color: white;\\n}\\n.mat-calendar-body-disabled > .mat-calendar-body-selected {\\n  background-color: rgba(63, 81, 181, 0.4);\\n}\\n.mat-calendar-body-today.mat-calendar-body-selected {\\n  box-shadow: inset 0 0 0 1px white;\\n}\\n.mat-datepicker-content {\\n  box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);\\n  background-color: white;\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-datepicker-content.mat-accent .mat-calendar-body-selected {\\n  background-color: #ff4081;\\n  color: white;\\n}\\n.mat-datepicker-content.mat-accent .mat-calendar-body-disabled > .mat-calendar-body-selected {\\n  background-color: rgba(255, 64, 129, 0.4);\\n}\\n.mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected {\\n  box-shadow: inset 0 0 0 1px white;\\n}\\n.mat-datepicker-content.mat-warn .mat-calendar-body-selected {\\n  background-color: #f44336;\\n  color: white;\\n}\\n.mat-datepicker-content.mat-warn .mat-calendar-body-disabled > .mat-calendar-body-selected {\\n  background-color: rgba(244, 67, 54, 0.4);\\n}\\n.mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected {\\n  box-shadow: inset 0 0 0 1px white;\\n}\\n.mat-datepicker-content-touch {\\n  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-datepicker-toggle-active {\\n  color: #3f51b5;\\n}\\n.mat-datepicker-toggle-active.mat-accent {\\n  color: #ff4081;\\n}\\n.mat-datepicker-toggle-active.mat-warn {\\n  color: #f44336;\\n}\\n.mat-dialog-container {\\n  box-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);\\n  background: white;\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-divider {\\n  border-top-color: rgba(0, 0, 0, 0.12);\\n}\\n.mat-divider-vertical {\\n  border-right-color: rgba(0, 0, 0, 0.12);\\n}\\n.mat-expansion-panel {\\n  background: white;\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-expansion-panel:not([class*=mat-elevation-z]) {\\n  box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-action-row {\\n  border-top-color: rgba(0, 0, 0, 0.12);\\n}\\n.mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]), .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]), .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]) {\\n  background: rgba(0, 0, 0, 0.04);\\n}\\n@media (hover: none) {\\n  .mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover {\\n    background: white;\\n  }\\n}\\n.mat-expansion-panel-header-title {\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-expansion-panel-header-description,\\n.mat-expansion-indicator::after {\\n  color: rgba(0, 0, 0, 0.54);\\n}\\n.mat-expansion-panel-header[aria-disabled=true] {\\n  color: rgba(0, 0, 0, 0.26);\\n}\\n.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,\\n.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description {\\n  color: inherit;\\n}\\n.mat-form-field-label {\\n  color: rgba(0, 0, 0, 0.6);\\n}\\n.mat-hint {\\n  color: rgba(0, 0, 0, 0.6);\\n}\\n.mat-form-field.mat-focused .mat-form-field-label {\\n  color: #3f51b5;\\n}\\n.mat-form-field.mat-focused .mat-form-field-label.mat-accent {\\n  color: #ff4081;\\n}\\n.mat-form-field.mat-focused .mat-form-field-label.mat-warn {\\n  color: #f44336;\\n}\\n.mat-focused .mat-form-field-required-marker {\\n  color: #ff4081;\\n}\\n.mat-form-field-ripple {\\n  background-color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-form-field.mat-focused .mat-form-field-ripple {\\n  background-color: #3f51b5;\\n}\\n.mat-form-field.mat-focused .mat-form-field-ripple.mat-accent {\\n  background-color: #ff4081;\\n}\\n.mat-form-field.mat-focused .mat-form-field-ripple.mat-warn {\\n  background-color: #f44336;\\n}\\n.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix::after {\\n  color: #3f51b5;\\n}\\n.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix::after {\\n  color: #ff4081;\\n}\\n.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix::after {\\n  color: #f44336;\\n}\\n.mat-form-field.mat-form-field-invalid .mat-form-field-label {\\n  color: #f44336;\\n}\\n.mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,\\n.mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker {\\n  color: #f44336;\\n}\\n.mat-form-field.mat-form-field-invalid .mat-form-field-ripple,\\n.mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent {\\n  background-color: #f44336;\\n}\\n.mat-error {\\n  color: #f44336;\\n}\\n.mat-form-field-appearance-legacy .mat-form-field-label {\\n  color: rgba(0, 0, 0, 0.54);\\n}\\n.mat-form-field-appearance-legacy .mat-hint {\\n  color: rgba(0, 0, 0, 0.54);\\n}\\n.mat-form-field-appearance-legacy .mat-form-field-underline {\\n  background-color: rgba(0, 0, 0, 0.42);\\n}\\n.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline {\\n  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.42) 33%, transparent 0%);\\n  background-size: 4px 100%;\\n  background-repeat: repeat-x;\\n}\\n.mat-form-field-appearance-standard .mat-form-field-underline {\\n  background-color: rgba(0, 0, 0, 0.42);\\n}\\n.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline {\\n  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.42) 33%, transparent 0%);\\n  background-size: 4px 100%;\\n  background-repeat: repeat-x;\\n}\\n.mat-form-field-appearance-fill .mat-form-field-flex {\\n  background-color: rgba(0, 0, 0, 0.04);\\n}\\n.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex {\\n  background-color: rgba(0, 0, 0, 0.02);\\n}\\n.mat-form-field-appearance-fill .mat-form-field-underline::before {\\n  background-color: rgba(0, 0, 0, 0.42);\\n}\\n.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label {\\n  color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline::before {\\n  background-color: transparent;\\n}\\n.mat-form-field-appearance-outline .mat-form-field-outline {\\n  color: rgba(0, 0, 0, 0.12);\\n}\\n.mat-form-field-appearance-outline .mat-form-field-outline-thick {\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick {\\n  color: #3f51b5;\\n}\\n.mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick {\\n  color: #ff4081;\\n}\\n.mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick {\\n  color: #f44336;\\n}\\n.mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick {\\n  color: #f44336;\\n}\\n.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label {\\n  color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline {\\n  color: rgba(0, 0, 0, 0.06);\\n}\\n.mat-icon.mat-primary {\\n  color: #3f51b5;\\n}\\n.mat-icon.mat-accent {\\n  color: #ff4081;\\n}\\n.mat-icon.mat-warn {\\n  color: #f44336;\\n}\\n.mat-form-field-type-mat-native-select .mat-form-field-infix::after {\\n  color: rgba(0, 0, 0, 0.54);\\n}\\n.mat-input-element:disabled,\\n.mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix::after {\\n  color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-input-element {\\n  caret-color: #3f51b5;\\n}\\n.mat-input-element::-webkit-input-placeholder {\\n  color: rgba(0, 0, 0, 0.42);\\n}\\n.mat-input-element::-moz-placeholder {\\n  color: rgba(0, 0, 0, 0.42);\\n}\\n.mat-input-element::-ms-input-placeholder {\\n  color: rgba(0, 0, 0, 0.42);\\n}\\n.mat-input-element::placeholder {\\n  color: rgba(0, 0, 0, 0.42);\\n}\\n.mat-input-element::-moz-placeholder {\\n  color: rgba(0, 0, 0, 0.42);\\n}\\n.mat-input-element::-webkit-input-placeholder {\\n  color: rgba(0, 0, 0, 0.42);\\n}\\n.mat-input-element:-ms-input-placeholder {\\n  color: rgba(0, 0, 0, 0.42);\\n}\\n.mat-accent .mat-input-element {\\n  caret-color: #ff4081;\\n}\\n.mat-warn .mat-input-element,\\n.mat-form-field-invalid .mat-input-element {\\n  caret-color: #f44336;\\n}\\n.mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix::after {\\n  color: #f44336;\\n}\\n.mat-list-base .mat-list-item {\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-list-base .mat-list-option {\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-list-base .mat-subheader {\\n  color: rgba(0, 0, 0, 0.54);\\n}\\n.mat-list-item-disabled {\\n  background-color: #eeeeee;\\n}\\n.mat-list-option:hover, .mat-list-option:focus,\\n.mat-nav-list .mat-list-item:hover,\\n.mat-nav-list .mat-list-item:focus,\\n.mat-action-list .mat-list-item:hover,\\n.mat-action-list .mat-list-item:focus {\\n  background: rgba(0, 0, 0, 0.04);\\n}\\n.mat-menu-panel {\\n  background: white;\\n}\\n.mat-menu-panel:not([class*=mat-elevation-z]) {\\n  box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-menu-item {\\n  background: transparent;\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-menu-item[disabled], .mat-menu-item[disabled]::after {\\n  color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-menu-item .mat-icon-no-color,\\n.mat-menu-item-submenu-trigger::after {\\n  color: rgba(0, 0, 0, 0.54);\\n}\\n.mat-menu-item:hover:not([disabled]),\\n.mat-menu-item.cdk-program-focused:not([disabled]),\\n.mat-menu-item.cdk-keyboard-focused:not([disabled]),\\n.mat-menu-item-highlighted:not([disabled]) {\\n  background: rgba(0, 0, 0, 0.04);\\n}\\n.mat-paginator {\\n  background: white;\\n}\\n.mat-paginator,\\n.mat-paginator-page-size .mat-select-trigger {\\n  color: rgba(0, 0, 0, 0.54);\\n}\\n.mat-paginator-decrement,\\n.mat-paginator-increment {\\n  border-top: 2px solid rgba(0, 0, 0, 0.54);\\n  border-right: 2px solid rgba(0, 0, 0, 0.54);\\n}\\n.mat-paginator-first,\\n.mat-paginator-last {\\n  border-top: 2px solid rgba(0, 0, 0, 0.54);\\n}\\n.mat-icon-button[disabled] .mat-paginator-decrement,\\n.mat-icon-button[disabled] .mat-paginator-increment,\\n.mat-icon-button[disabled] .mat-paginator-first,\\n.mat-icon-button[disabled] .mat-paginator-last {\\n  border-color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-progress-bar-background {\\n  fill: #c5cae9;\\n}\\n.mat-progress-bar-buffer {\\n  background-color: #c5cae9;\\n}\\n.mat-progress-bar-fill::after {\\n  background-color: #3f51b5;\\n}\\n.mat-progress-bar.mat-accent .mat-progress-bar-background {\\n  fill: #ff80ab;\\n}\\n.mat-progress-bar.mat-accent .mat-progress-bar-buffer {\\n  background-color: #ff80ab;\\n}\\n.mat-progress-bar.mat-accent .mat-progress-bar-fill::after {\\n  background-color: #ff4081;\\n}\\n.mat-progress-bar.mat-warn .mat-progress-bar-background {\\n  fill: #ffcdd2;\\n}\\n.mat-progress-bar.mat-warn .mat-progress-bar-buffer {\\n  background-color: #ffcdd2;\\n}\\n.mat-progress-bar.mat-warn .mat-progress-bar-fill::after {\\n  background-color: #f44336;\\n}\\n.mat-progress-spinner circle, .mat-spinner circle {\\n  stroke: #3f51b5;\\n}\\n.mat-progress-spinner.mat-accent circle, .mat-spinner.mat-accent circle {\\n  stroke: #ff4081;\\n}\\n.mat-progress-spinner.mat-warn circle, .mat-spinner.mat-warn circle {\\n  stroke: #f44336;\\n}\\n.mat-radio-outer-circle {\\n  border-color: rgba(0, 0, 0, 0.54);\\n}\\n.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle {\\n  border-color: #3f51b5;\\n}\\n.mat-radio-button.mat-primary .mat-radio-inner-circle,\\n.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 {\\n  background-color: #3f51b5;\\n}\\n.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle {\\n  border-color: #ff4081;\\n}\\n.mat-radio-button.mat-accent .mat-radio-inner-circle,\\n.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 {\\n  background-color: #ff4081;\\n}\\n.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle {\\n  border-color: #f44336;\\n}\\n.mat-radio-button.mat-warn .mat-radio-inner-circle,\\n.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 {\\n  background-color: #f44336;\\n}\\n.mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,\\n.mat-radio-button.mat-radio-disabled .mat-radio-outer-circle {\\n  border-color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element,\\n.mat-radio-button.mat-radio-disabled .mat-radio-inner-circle {\\n  background-color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-radio-button.mat-radio-disabled .mat-radio-label-content {\\n  color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-radio-button .mat-ripple-element {\\n  background-color: black;\\n}\\n.mat-select-value {\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-select-placeholder {\\n  color: rgba(0, 0, 0, 0.42);\\n}\\n.mat-select-disabled .mat-select-value {\\n  color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-select-arrow {\\n  color: rgba(0, 0, 0, 0.54);\\n}\\n.mat-select-panel {\\n  background: white;\\n}\\n.mat-select-panel:not([class*=mat-elevation-z]) {\\n  box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple) {\\n  background: rgba(0, 0, 0, 0.12);\\n}\\n.mat-form-field.mat-focused.mat-primary .mat-select-arrow {\\n  color: #3f51b5;\\n}\\n.mat-form-field.mat-focused.mat-accent .mat-select-arrow {\\n  color: #ff4081;\\n}\\n.mat-form-field.mat-focused.mat-warn .mat-select-arrow {\\n  color: #f44336;\\n}\\n.mat-form-field .mat-select.mat-select-invalid .mat-select-arrow {\\n  color: #f44336;\\n}\\n.mat-form-field .mat-select.mat-select-disabled .mat-select-arrow {\\n  color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-drawer-container {\\n  background-color: #fafafa;\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-drawer {\\n  background-color: white;\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-drawer.mat-drawer-push {\\n  background-color: white;\\n}\\n.mat-drawer:not(.mat-drawer-side) {\\n  box-shadow: 0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);\\n}\\n.mat-drawer-side {\\n  border-right: solid 1px rgba(0, 0, 0, 0.12);\\n}\\n.mat-drawer-side.mat-drawer-end {\\n  border-left: solid 1px rgba(0, 0, 0, 0.12);\\n  border-right: none;\\n}\\n[dir=rtl] .mat-drawer-side {\\n  border-left: solid 1px rgba(0, 0, 0, 0.12);\\n  border-right: none;\\n}\\n[dir=rtl] .mat-drawer-side.mat-drawer-end {\\n  border-left: none;\\n  border-right: solid 1px rgba(0, 0, 0, 0.12);\\n}\\n.mat-drawer-backdrop.mat-drawer-shown {\\n  background-color: rgba(0, 0, 0, 0.6);\\n}\\n.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb {\\n  background-color: #ff4081;\\n}\\n.mat-slide-toggle.mat-checked .mat-slide-toggle-bar {\\n  background-color: rgba(255, 64, 129, 0.54);\\n}\\n.mat-slide-toggle.mat-checked .mat-ripple-element {\\n  background-color: #ff4081;\\n}\\n.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb {\\n  background-color: #3f51b5;\\n}\\n.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar {\\n  background-color: rgba(63, 81, 181, 0.54);\\n}\\n.mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element {\\n  background-color: #3f51b5;\\n}\\n.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb {\\n  background-color: #f44336;\\n}\\n.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar {\\n  background-color: rgba(244, 67, 54, 0.54);\\n}\\n.mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element {\\n  background-color: #f44336;\\n}\\n.mat-slide-toggle:not(.mat-checked) .mat-ripple-element {\\n  background-color: black;\\n}\\n.mat-slide-toggle-thumb {\\n  box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);\\n  background-color: #fafafa;\\n}\\n.mat-slide-toggle-bar {\\n  background-color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-slider-track-background {\\n  background-color: rgba(0, 0, 0, 0.26);\\n}\\n.mat-primary .mat-slider-track-fill,\\n.mat-primary .mat-slider-thumb,\\n.mat-primary .mat-slider-thumb-label {\\n  background-color: #3f51b5;\\n}\\n.mat-primary .mat-slider-thumb-label-text {\\n  color: white;\\n}\\n.mat-accent .mat-slider-track-fill,\\n.mat-accent .mat-slider-thumb,\\n.mat-accent .mat-slider-thumb-label {\\n  background-color: #ff4081;\\n}\\n.mat-accent .mat-slider-thumb-label-text {\\n  color: white;\\n}\\n.mat-warn .mat-slider-track-fill,\\n.mat-warn .mat-slider-thumb,\\n.mat-warn .mat-slider-thumb-label {\\n  background-color: #f44336;\\n}\\n.mat-warn .mat-slider-thumb-label-text {\\n  color: white;\\n}\\n.mat-slider-focus-ring {\\n  background-color: rgba(255, 64, 129, 0.2);\\n}\\n.mat-slider:hover .mat-slider-track-background,\\n.cdk-focused .mat-slider-track-background {\\n  background-color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-slider-disabled .mat-slider-track-background,\\n.mat-slider-disabled .mat-slider-track-fill,\\n.mat-slider-disabled .mat-slider-thumb {\\n  background-color: rgba(0, 0, 0, 0.26);\\n}\\n.mat-slider-disabled:hover .mat-slider-track-background {\\n  background-color: rgba(0, 0, 0, 0.26);\\n}\\n.mat-slider-min-value .mat-slider-focus-ring {\\n  background-color: rgba(0, 0, 0, 0.12);\\n}\\n.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,\\n.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label {\\n  background-color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,\\n.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label {\\n  background-color: rgba(0, 0, 0, 0.26);\\n}\\n.mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb {\\n  border-color: rgba(0, 0, 0, 0.26);\\n  background-color: transparent;\\n}\\n.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb, .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb {\\n  border-color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb, .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb {\\n  border-color: rgba(0, 0, 0, 0.26);\\n}\\n.mat-slider-has-ticks .mat-slider-wrapper::after {\\n  border-color: rgba(0, 0, 0, 0.7);\\n}\\n.mat-slider-horizontal .mat-slider-ticks {\\n  background-image: repeating-linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7) 2px, transparent 0, transparent);\\n  background-image: -moz-repeating-linear-gradient(0.0001deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7) 2px, transparent 0, transparent);\\n}\\n.mat-slider-vertical .mat-slider-ticks {\\n  background-image: repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7) 2px, transparent 0, transparent);\\n}\\n.mat-step-header.cdk-keyboard-focused, .mat-step-header.cdk-program-focused, .mat-step-header:hover {\\n  background-color: rgba(0, 0, 0, 0.04);\\n}\\n@media (hover: none) {\\n  .mat-step-header:hover {\\n    background: none;\\n  }\\n}\\n.mat-step-header .mat-step-label,\\n.mat-step-header .mat-step-optional {\\n  color: rgba(0, 0, 0, 0.54);\\n}\\n.mat-step-header .mat-step-icon {\\n  background-color: rgba(0, 0, 0, 0.54);\\n  color: white;\\n}\\n.mat-step-header .mat-step-icon-selected,\\n.mat-step-header .mat-step-icon-state-done,\\n.mat-step-header .mat-step-icon-state-edit {\\n  background-color: #3f51b5;\\n  color: white;\\n}\\n.mat-step-header .mat-step-icon-state-error {\\n  background-color: transparent;\\n  color: #f44336;\\n}\\n.mat-step-header .mat-step-label.mat-step-label-active {\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-step-header .mat-step-label.mat-step-label-error {\\n  color: #f44336;\\n}\\n.mat-stepper-horizontal, .mat-stepper-vertical {\\n  background-color: white;\\n}\\n.mat-stepper-vertical-line::before {\\n  border-left-color: rgba(0, 0, 0, 0.12);\\n}\\n.mat-horizontal-stepper-header::before,\\n.mat-horizontal-stepper-header::after,\\n.mat-stepper-horizontal-line {\\n  border-top-color: rgba(0, 0, 0, 0.12);\\n}\\n.mat-sort-header-arrow {\\n  color: #757575;\\n}\\n.mat-tab-nav-bar,\\n.mat-tab-header {\\n  border-bottom: 1px solid rgba(0, 0, 0, 0.12);\\n}\\n.mat-tab-group-inverted-header .mat-tab-nav-bar,\\n.mat-tab-group-inverted-header .mat-tab-header {\\n  border-top: 1px solid rgba(0, 0, 0, 0.12);\\n  border-bottom: none;\\n}\\n.mat-tab-label, .mat-tab-link {\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-tab-label.mat-tab-disabled, .mat-tab-link.mat-tab-disabled {\\n  color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-tab-header-pagination-chevron {\\n  border-color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron {\\n  border-color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-tab-group[class*=mat-background-] .mat-tab-header,\\n.mat-tab-nav-bar[class*=mat-background-] {\\n  border-bottom: none;\\n  border-top: none;\\n}\\n.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),\\n.mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),\\n.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),\\n.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),\\n.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled) {\\n  background-color: rgba(197, 202, 233, 0.3);\\n}\\n.mat-tab-group.mat-primary .mat-ink-bar, .mat-tab-nav-bar.mat-primary .mat-ink-bar {\\n  background-color: #3f51b5;\\n}\\n.mat-tab-group.mat-primary.mat-background-primary .mat-ink-bar, .mat-tab-nav-bar.mat-primary.mat-background-primary .mat-ink-bar {\\n  background-color: white;\\n}\\n.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),\\n.mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),\\n.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),\\n.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),\\n.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled) {\\n  background-color: rgba(255, 128, 171, 0.3);\\n}\\n.mat-tab-group.mat-accent .mat-ink-bar, .mat-tab-nav-bar.mat-accent .mat-ink-bar {\\n  background-color: #ff4081;\\n}\\n.mat-tab-group.mat-accent.mat-background-accent .mat-ink-bar, .mat-tab-nav-bar.mat-accent.mat-background-accent .mat-ink-bar {\\n  background-color: white;\\n}\\n.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),\\n.mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),\\n.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),\\n.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),\\n.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled) {\\n  background-color: rgba(255, 205, 210, 0.3);\\n}\\n.mat-tab-group.mat-warn .mat-ink-bar, .mat-tab-nav-bar.mat-warn .mat-ink-bar {\\n  background-color: #f44336;\\n}\\n.mat-tab-group.mat-warn.mat-background-warn .mat-ink-bar, .mat-tab-nav-bar.mat-warn.mat-background-warn .mat-ink-bar {\\n  background-color: white;\\n}\\n.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),\\n.mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),\\n.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),\\n.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),\\n.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled) {\\n  background-color: rgba(197, 202, 233, 0.3);\\n}\\n.mat-tab-group.mat-background-primary .mat-tab-header, .mat-tab-group.mat-background-primary .mat-tab-links, .mat-tab-group.mat-background-primary .mat-tab-header-pagination, .mat-tab-nav-bar.mat-background-primary .mat-tab-header, .mat-tab-nav-bar.mat-background-primary .mat-tab-links, .mat-tab-nav-bar.mat-background-primary .mat-tab-header-pagination {\\n  background-color: #3f51b5;\\n}\\n.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 {\\n  color: white;\\n}\\n.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 {\\n  color: rgba(255, 255, 255, 0.4);\\n}\\n.mat-tab-group.mat-background-primary .mat-tab-header-pagination-chevron, .mat-tab-nav-bar.mat-background-primary .mat-tab-header-pagination-chevron {\\n  border-color: white;\\n}\\n.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 {\\n  border-color: rgba(255, 255, 255, 0.4);\\n}\\n.mat-tab-group.mat-background-primary .mat-ripple-element, .mat-tab-nav-bar.mat-background-primary .mat-ripple-element {\\n  background-color: rgba(255, 255, 255, 0.12);\\n}\\n.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),\\n.mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),\\n.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),\\n.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),\\n.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled) {\\n  background-color: rgba(255, 128, 171, 0.3);\\n}\\n.mat-tab-group.mat-background-accent .mat-tab-header, .mat-tab-group.mat-background-accent .mat-tab-links, .mat-tab-group.mat-background-accent .mat-tab-header-pagination, .mat-tab-nav-bar.mat-background-accent .mat-tab-header, .mat-tab-nav-bar.mat-background-accent .mat-tab-links, .mat-tab-nav-bar.mat-background-accent .mat-tab-header-pagination {\\n  background-color: #ff4081;\\n}\\n.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 {\\n  color: white;\\n}\\n.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 {\\n  color: rgba(255, 255, 255, 0.4);\\n}\\n.mat-tab-group.mat-background-accent .mat-tab-header-pagination-chevron, .mat-tab-nav-bar.mat-background-accent .mat-tab-header-pagination-chevron {\\n  border-color: white;\\n}\\n.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 {\\n  border-color: rgba(255, 255, 255, 0.4);\\n}\\n.mat-tab-group.mat-background-accent .mat-ripple-element, .mat-tab-nav-bar.mat-background-accent .mat-ripple-element {\\n  background-color: rgba(255, 255, 255, 0.12);\\n}\\n.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),\\n.mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),\\n.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),\\n.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),\\n.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled) {\\n  background-color: rgba(255, 205, 210, 0.3);\\n}\\n.mat-tab-group.mat-background-warn .mat-tab-header, .mat-tab-group.mat-background-warn .mat-tab-links, .mat-tab-group.mat-background-warn .mat-tab-header-pagination, .mat-tab-nav-bar.mat-background-warn .mat-tab-header, .mat-tab-nav-bar.mat-background-warn .mat-tab-links, .mat-tab-nav-bar.mat-background-warn .mat-tab-header-pagination {\\n  background-color: #f44336;\\n}\\n.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 {\\n  color: white;\\n}\\n.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 {\\n  color: rgba(255, 255, 255, 0.4);\\n}\\n.mat-tab-group.mat-background-warn .mat-tab-header-pagination-chevron, .mat-tab-nav-bar.mat-background-warn .mat-tab-header-pagination-chevron {\\n  border-color: white;\\n}\\n.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 {\\n  border-color: rgba(255, 255, 255, 0.4);\\n}\\n.mat-tab-group.mat-background-warn .mat-ripple-element, .mat-tab-nav-bar.mat-background-warn .mat-ripple-element {\\n  background-color: rgba(255, 255, 255, 0.12);\\n}\\n.mat-toolbar {\\n  background: whitesmoke;\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-toolbar.mat-primary {\\n  background: #3f51b5;\\n  color: white;\\n}\\n.mat-toolbar.mat-accent {\\n  background: #ff4081;\\n  color: white;\\n}\\n.mat-toolbar.mat-warn {\\n  background: #f44336;\\n  color: white;\\n}\\n.mat-toolbar .mat-form-field-underline,\\n.mat-toolbar .mat-form-field-ripple,\\n.mat-toolbar .mat-focused .mat-form-field-ripple {\\n  background-color: currentColor;\\n}\\n.mat-toolbar .mat-form-field-label,\\n.mat-toolbar .mat-focused .mat-form-field-label,\\n.mat-toolbar .mat-select-value,\\n.mat-toolbar .mat-select-arrow,\\n.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow {\\n  color: inherit;\\n}\\n.mat-toolbar .mat-input-element {\\n  caret-color: currentColor;\\n}\\n.mat-tooltip {\\n  background: rgba(97, 97, 97, 0.9);\\n}\\n.mat-tree {\\n  background: white;\\n}\\n.mat-tree-node,\\n.mat-nested-tree-node {\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-snack-bar-container {\\n  color: rgba(255, 255, 255, 0.7);\\n  background: #323232;\\n  box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-simple-snackbar-action {\\n  color: #ff4081;\\n}\\n/* You can add global styles to this file, and also import other style files */\\nhtml, body {\\n  height: 100%;\\n}\\nbody {\\n  margin: 0;\\n  font-family: \\\"Helvetica Neue\\\", sans-serif;\\n  font-size: 16px;\\n  font-weight: bold;\\n  -webkit-font-smoothing: antialiased;\\n}\\nh1, h2, h3, h4, h5, p, li, ul {\\n  margin: 0;\\n  padding: 0;\\n}\\n.panel-success {\\n  color: #A9E5AC;\\n}\\n.panel-error {\\n  color: red;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9Vc2Vycy9hbGV4L0Rlc2t0b3Avb2JzY3VyaWZ5My9ub2RlX21vZHVsZXMvQGFuZ3VsYXIvbWF0ZXJpYWwvX3RoZW1pbmcuc2NzcyIsInNyYy9zdHlsZXMuc2NzcyIsIi9Vc2Vycy9hbGV4L0Rlc2t0b3Avb2JzY3VyaWZ5My9zcmMvc3R5bGVzLnNjc3MiLCIvVXNlcnMvYWxleC9EZXNrdG9wL29ic2N1cmlmeTMvc3JjL2FwcC9zY3NzL192YXJpYWJsZXMuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUEwMUNBLGtDQUFBO0FBNmlEQSwyQ0FBQTtBQXdDQSxxQkFBQTtBQXgvQkU7RUFDRSxnQkFyTG9CO0VBc0xwQixlQXZMa0I7RUF3TGxCLGlEQUFBO0FDbjdESjtBRHM3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3IsICRvcGFjaXR5KSB7XG4gICRzaGFkb3ctY29sb3I6IGlmKHR5cGUtb2YoJGNvbG9yKSA9PSBjb2xvciwgcmdiYSgkY29sb3IsICRvcGFjaXR5ICogMC4xNCksICRjb2xvcik7XG5cbiAgQHJldHVybiAoXG4gICAgMDogJzBweCAwcHggMHB4IDBweCAjeyRzaGFkb3ctY29sb3J9JyxcbiAgICAxOiAnMHB4IDFweCAxcHggMHB4ICN7JHNoYWRvdy1jb2xvcn0nLFxuICAgIDI6ICcwcHggMnB4IDJweCAwcHggI3skc2hhZG93LWNvbG9yfScsXG4gICAgMzogJzBweCAzcHggNHB4IDBweCAjeyRzaGFkb3ctY29sb3J9JyxcbiAgICA0OiAnMHB4IDRweCA1cHggMHB4ICN7JHNoYWRvdy1jb2xvcn0nLFxuICAgIDU6ICcwcHggNXB4IDhweCAwcHggI3skc2hhZG93LWNvbG9yfScsXG4gICAgNjogJzBweCA2cHggMTBweCAwcHggI3skc2hhZG93LWNvbG9yfScsXG4gICAgNzogJzBweCA3cHggMTBweCAxcHggI3skc2hhZG93LWNvbG9yfScsXG4gICAgODogJzBweCA4cHggMTBweCAxcHggI3skc2hhZG93LWNvbG9yfScsXG4gICAgOTogJzBweCA5cHggMTJweCAxcHggI3skc2hhZG93LWNvbG9yfScsXG4gICAgMTA6ICcwcHggMTBweCAxNHB4IDFweCAjeyRzaGFkb3ctY29sb3J9JyxcbiAgICAxMTogJzBweCAxMXB4IDE1cHggMXB4ICN7JHNoYWRvdy1jb2xvcn0nLFxuICAgIDEyOiAnMHB4IDEycHggMTdweCAycHggI3skc2hhZG93LWNvbG9yfScsXG4gICAgMTM6ICcwcHggMTNweCAxOXB4IDJweCAjeyRzaGFkb3ctY29sb3J9JyxcbiAgICAxNDogJzBweCAxNHB4IDIxcHggMnB4ICN7JHNoYWRvdy1jb2xvcn0nLFxuICAgIDE1OiAnMHB4IDE1cHggMjJweCAycHggI3skc2hhZG93LWNvbG9yfScsXG4gICAgMTY6ICcwcH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NjogJzBweCAxcHggMThweCAwcHggI3skc2hhZG93LWNvbG9yfScsXG4gICAgNzogJzBweCAycHggMTZweCAxcHggI3skc2hhZG93LWNvbG9yfScsXG4gICAgODogJzBweCAzcHggMTRweCAycHggI3skc2hhZG93LWNvbG9yfScsXG4gICAgOTogJzBweCAzcHggMTZweCAycHggI3skc2hhZG93LWNvbG9yfScsXG4gICAgMTA6ICcwcHggNHB4IDE4cHggM3B4ICN7JHNoYWRvdy1jb2xvcn0nLFxuICAgIDExOiAnMHB4IDRweCAyMHB4IDNweCAjeyRzaGFkb3ctY29sb3J9JyxcbiAgICAxMjogJzBweCA1cHggMjJweCA0cHggI3skc2hhZG93LWNvbG9yfScsXG4gICAgMTM6ICcwcHggNXB4IDI0cHggNHB4ICN7JHNoYWRvdy1jb2xvcn0nLFxuICAgIDE0OiAnMHB4IDVweCAyNnB4IDRweCAjeyRzaGFkb3ctY29sb3J9JyxcbiAgICAxNTogJzBweCA2cHggMjhweCA1cHggI3skc2hhZG93LWNvbG9yfScsXG4gICAgMTY6ICcwcHggNnB4IDMwcHggNXB4ICN7JHNoYWRvdy1jb2xvcn0nLFxuICAgIDE3OiAnMHB4IDZweCAzMnB4IDVweCAjeyRzaGFkb3ctY29sb3J9JyxcbiAgICAxODogJzBweCA3cHggMzRweCA2cHggI3skc2hhZG93LWNvbG9yfScsXG4gICAgMTk6ICcwcHggN3B4IDM2cHggNnB4ICN7JHNoYWRvdy1jb2xvcn0nLFxuICAgIDIwOiAnMHB4IDhweCAzOHB4IDdweCAjeyRzaGFkb3ctY29sb3J9JyxcbiAgICAyMTogJzBweCA4cHggNDBweCA3cHggI3skc2hhZG93LWNvbG9yfScsXG4gICAgMjI6ICcwcHggOHB4IDQycHggN3B4ICN7JHNoYWRvdy1jb2xvcn0nLFxuICAgIDIzOiAnMHB4IDlweCA0NHB4IDhweCAjeyRzaGFkb3ctY29sb3J9JyxcbiAgICAyNDogJzBweCA5cHggNDZweCA4cHggI3skc2hhZG93LWNvbG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JveC1taXhlZG1hcmsge1xuICAgIGJhY2tncm91bmQtY29sb3I6ICRjaGVja2JveC1tYXJrLWNvbG9yO1xuICB9XG5cbiAgLm1hdC1jaGVja2JveC1pbmRldGVybWluYXRlLCAubWF0LWNoZWNrYm94LWNoZWNrZWQge1xuICAgICYubWF0LXByaW1hcnkgLm1hdC1jaGVja2JveC1iYWNrZ3JvdW5kIHtcbiAgICAgIGJhY2tncm91bmQtY29sb3I6IG1hdC1jb2xvcigkcHJpbWFyeSk7XG4gICAgfVxuXG4gICAgJi5tYXQtYWNjZW50IC5tYXQtY2hlY2tib3gtYmFja2dyb3VuZCB7XG4gICAgICBiYWNrZ3JvdW5kLWNvbG9yOiBtYXQtY29sb3IoJGFjY2VudCk7XG4gICAgfVxuXG4gICAgJi5tYXQtd2FybiAubWF0LWNoZWNrYm94LWJhY2tncm91bmQge1xuICAgICAgYmFja2dyb3VuZC1jb2xvcjogbWF0LWNvbG9yKCR3YXJuKTtcbiAgICB9XG4gIH1cblxuICAubWF0LWNoZWNrYm94LWRpc2FibGVkIHtcbiAgICAmLm1hdC1jaGVja2JveC1jaGVja2VkLFxuICAgICYubWF0LWNoZWNrYm94LWluZGV0ZXJtaW5hdGUge1xuICAgICAgLm1hdC1jaGVja2JveC1iYWNrZ3JvdW5kIHtcbiAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogJGRpc2FibGVkLWNvbG9yO1xuICAgICAgfVxuICAgIH1cblxuICAgICY6bm90KC5tYXQtY2hlY2tib3gtY2hlY2tlZCkge1xuICAgICAgLm1hdC1jaGVja2JveC1mcmFtZSB7XG4gICAgICAgIGJvcmRlci1jb2xvcjogJGRpc2FibGVkLWNvbG9yO1xuICAgICAgfVxuICAgIH1cblxuICAgIC5tYXQtY2hlY2tib3gtbGFiZWwge1xuICAgICAgY29sb3I6IG1hdC1jb2xvcigkZm9yZWdyb3VuZCwgc2Vjb25kYXJ5LXRleHQpO1xuICAgIH1cblxuICAgIEBpbmNsdWRlIGNkay1oaW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S1mb250OiAnSGVsdmV0aWNhIE5ldWUnLCBzYW5zLXNlcmlmO1xuJHNlY29uZGFyeS1mb250OiAtYXBwbGUtc3lzdGVtLCBCbGlua01hY1N5c3RlbUZvbnQsICdTZWdvZSBVSSc7XG5cbi8vIENvbG9yc1xuXG4kcHJpbWFyeS1jb2xvcjogI0E5RTVBQzsiXX0= */\", '', '']]\n\n/***/ }),\n\n/***/ \"./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\":\n/*!****************************************************************************!*\\\n  !*** ./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js ***!\n  \\****************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar stylesInDom = {};\n\nvar isOldIE = function isOldIE() {\n  var memo;\n  return function memorize() {\n    if (typeof memo === 'undefined') {\n      // Test for IE <= 9 as proposed by Browserhacks\n      // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805\n      // Tests for existence of standard globals is to allow style-loader\n      // to operate correctly into non-standard environments\n      // @see https://github.com/webpack-contrib/style-loader/issues/177\n      memo = Boolean(window && document && document.all && !window.atob);\n    }\n\n    return memo;\n  };\n}();\n\nvar getTarget = function getTarget() {\n  var memo = {};\n  return function memorize(target) {\n    if (typeof memo[target] === 'undefined') {\n      var styleTarget = document.querySelector(target); // Special case to return head of iframe instead of iframe itself\n\n      if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n        try {\n          // This will throw an exception if access to iframe is blocked\n          // due to cross-origin restrictions\n          styleTarget = styleTarget.contentDocument.head;\n        } catch (e) {\n          // istanbul ignore next\n          styleTarget = null;\n        }\n      }\n\n      memo[target] = styleTarget;\n    }\n\n    return memo[target];\n  };\n}();\n\nfunction listToStyles(list, options) {\n  var styles = [];\n  var newStyles = {};\n\n  for (var i = 0; i < list.length; i++) {\n    var item = list[i];\n    var id = options.base ? item[0] + options.base : item[0];\n    var css = item[1];\n    var media = item[2];\n    var sourceMap = item[3];\n    var part = {\n      css: css,\n      media: media,\n      sourceMap: sourceMap\n    };\n\n    if (!newStyles[id]) {\n      styles.push(newStyles[id] = {\n        id: id,\n        parts: [part]\n      });\n    } else {\n      newStyles[id].parts.push(part);\n    }\n  }\n\n  return styles;\n}\n\nfunction addStylesToDom(styles, options) {\n  for (var i = 0; i < styles.length; i++) {\n    var item = styles[i];\n    var domStyle = stylesInDom[item.id];\n    var j = 0;\n\n    if (domStyle) {\n      domStyle.refs++;\n\n      for (; j < domStyle.parts.length; j++) {\n        domStyle.parts[j](item.parts[j]);\n      }\n\n      for (; j < item.parts.length; j++) {\n        domStyle.parts.push(addStyle(item.parts[j], options));\n      }\n    } else {\n      var parts = [];\n\n      for (; j < item.parts.length; j++) {\n        parts.push(addStyle(item.parts[j], options));\n      }\n\n      stylesInDom[item.id] = {\n        id: item.id,\n        refs: 1,\n        parts: parts\n      };\n    }\n  }\n}\n\nfunction insertStyleElement(options) {\n  var style = document.createElement('style');\n\n  if (typeof options.attributes.nonce === 'undefined') {\n    var nonce =  true ? __webpack_require__.nc : undefined;\n\n    if (nonce) {\n      options.attributes.nonce = nonce;\n    }\n  }\n\n  Object.keys(options.attributes).forEach(function (key) {\n    style.setAttribute(key, options.attributes[key]);\n  });\n\n  if (typeof options.insert === 'function') {\n    options.insert(style);\n  } else {\n    var target = getTarget(options.insert || 'head');\n\n    if (!target) {\n      throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n    }\n\n    target.appendChild(style);\n  }\n\n  return style;\n}\n\nfunction removeStyleElement(style) {\n  // istanbul ignore if\n  if (style.parentNode === null) {\n    return false;\n  }\n\n  style.parentNode.removeChild(style);\n}\n/* istanbul ignore next  */\n\n\nvar replaceText = function replaceText() {\n  var textStore = [];\n  return function replace(index, replacement) {\n    textStore[index] = replacement;\n    return textStore.filter(Boolean).join('\\n');\n  };\n}();\n\nfunction applyToSingletonTag(style, index, remove, obj) {\n  var css = remove ? '' : obj.css; // For old IE\n\n  /* istanbul ignore if  */\n\n  if (style.styleSheet) {\n    style.styleSheet.cssText = replaceText(index, css);\n  } else {\n    var cssNode = document.createTextNode(css);\n    var childNodes = style.childNodes;\n\n    if (childNodes[index]) {\n      style.removeChild(childNodes[index]);\n    }\n\n    if (childNodes.length) {\n      style.insertBefore(cssNode, childNodes[index]);\n    } else {\n      style.appendChild(cssNode);\n    }\n  }\n}\n\nfunction applyToTag(style, options, obj) {\n  var css = obj.css;\n  var media = obj.media;\n  var sourceMap = obj.sourceMap;\n\n  if (media) {\n    style.setAttribute('media', media);\n  }\n\n  if (sourceMap && btoa) {\n    css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n  } // For old IE\n\n  /* istanbul ignore if  */\n\n\n  if (style.styleSheet) {\n    style.styleSheet.cssText = css;\n  } else {\n    while (style.firstChild) {\n      style.removeChild(style.firstChild);\n    }\n\n    style.appendChild(document.createTextNode(css));\n  }\n}\n\nvar singleton = null;\nvar singletonCounter = 0;\n\nfunction addStyle(obj, options) {\n  var style;\n  var update;\n  var remove;\n\n  if (options.singleton) {\n    var styleIndex = singletonCounter++;\n    style = singleton || (singleton = insertStyleElement(options));\n    update = applyToSingletonTag.bind(null, style, styleIndex, false);\n    remove = applyToSingletonTag.bind(null, style, styleIndex, true);\n  } else {\n    style = insertStyleElement(options);\n    update = applyToTag.bind(null, style, options);\n\n    remove = function remove() {\n      removeStyleElement(style);\n    };\n  }\n\n  update(obj);\n  return function updateStyle(newObj) {\n    if (newObj) {\n      if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap) {\n        return;\n      }\n\n      update(obj = newObj);\n    } else {\n      remove();\n    }\n  };\n}\n\nmodule.exports = function (list, options) {\n  options = options || {};\n  options.attributes = typeof options.attributes === 'object' ? options.attributes : {}; // Force single-tag solution on IE6-9, which has a hard limit on the # of <style>\n  // tags it will allow on a page\n\n  if (!options.singleton && typeof options.singleton !== 'boolean') {\n    options.singleton = isOldIE();\n  }\n\n  var styles = listToStyles(list, options);\n  addStylesToDom(styles, options);\n  return function update(newList) {\n    var mayRemove = [];\n\n    for (var i = 0; i < styles.length; i++) {\n      var item = styles[i];\n      var domStyle = stylesInDom[item.id];\n\n      if (domStyle) {\n        domStyle.refs--;\n        mayRemove.push(domStyle);\n      }\n    }\n\n    if (newList) {\n      var newStyles = listToStyles(newList, options);\n      addStylesToDom(newStyles, options);\n    }\n\n    for (var _i = 0; _i < mayRemove.length; _i++) {\n      var _domStyle = mayRemove[_i];\n\n      if (_domStyle.refs === 0) {\n        for (var j = 0; j < _domStyle.parts.length; j++) {\n          _domStyle.parts[j]();\n        }\n\n        delete stylesInDom[_domStyle.id];\n      }\n    }\n  };\n};\n\n/***/ }),\n\n/***/ \"./src/styles.scss\":\n/*!*************************!*\\\n  !*** ./src/styles.scss ***!\n  \\*************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar content = __webpack_require__(/*! !../node_modules/@angular-devkit/build-angular/src/angular-cli-files/plugins/raw-css-loader.js!../node_modules/postcss-loader/src??embedded!../node_modules/sass-loader/lib/loader.js??ref--15-3!./styles.scss */ \"./node_modules/@angular-devkit/build-angular/src/angular-cli-files/plugins/raw-css-loader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/lib/loader.js?!./src/styles.scss\");\n\nif (typeof content === 'string') {\n  content = [[module.i, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = __webpack_require__(/*! ../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ \"./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n  module.exports = content.locals;\n}\n\n\n/***/ }),\n\n/***/ 3:\n/*!*******************************!*\\\n  !*** multi ./src/styles.scss ***!\n  \\*******************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = __webpack_require__(/*! /Users/alex/Desktop/obscurify3/src/styles.scss */\"./src/styles.scss\");\n\n\n/***/ })\n\n},[[3,\"runtime\"]]]);"
  },
  {
    "path": "frontend/dist/obscurify3/styles-es5.js",
    "content": "(window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || []).push([[\"styles\"], {\n  /***/\n  \"./node_modules/@angular-devkit/build-angular/src/angular-cli-files/plugins/raw-css-loader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/lib/loader.js?!./src/styles.scss\":\n  /*!**********************************************************************************************************************************************************************************************************************!*\\\n    !*** ./node_modules/@angular-devkit/build-angular/src/angular-cli-files/plugins/raw-css-loader.js!./node_modules/postcss-loader/src??embedded!./node_modules/sass-loader/lib/loader.js??ref--15-3!./src/styles.scss ***!\n    \\**********************************************************************************************************************************************************************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesAngularDevkitBuildAngularSrcAngularCliFilesPluginsRawCssLoaderJsNode_modulesPostcssLoaderSrcIndexJsNode_modulesSassLoaderLibLoaderJsSrcStylesScss(module, exports) {\n    module.exports = [[module.i, \"/* Theme for the ripple elements.*/\\n/* stylelint-disable material/no-prefixes */\\n/* stylelint-enable */\\n.mat-badge-content {\\n  font-weight: 600;\\n  font-size: 12px;\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-badge-small .mat-badge-content {\\n  font-size: 9px;\\n}\\n.mat-badge-large .mat-badge-content {\\n  font-size: 24px;\\n}\\n.mat-h1, .mat-headline, .mat-typography h1 {\\n  font: 400 24px/32px Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  margin: 0 0 16px;\\n}\\n.mat-h2, .mat-title, .mat-typography h2 {\\n  font: 500 20px/32px Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  margin: 0 0 16px;\\n}\\n.mat-h3, .mat-subheading-2, .mat-typography h3 {\\n  font: 400 16px/28px Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  margin: 0 0 16px;\\n}\\n.mat-h4, .mat-subheading-1, .mat-typography h4 {\\n  font: 400 15px/24px Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  margin: 0 0 16px;\\n}\\n.mat-h5, .mat-typography h5 {\\n  font: 400 calc(14px * 0.83)/20px Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  margin: 0 0 12px;\\n}\\n.mat-h6, .mat-typography h6 {\\n  font: 400 calc(14px * 0.67)/20px Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  margin: 0 0 12px;\\n}\\n.mat-body-strong, .mat-body-2 {\\n  font: 500 14px/24px Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-body, .mat-body-1, .mat-typography {\\n  font: 400 14px/20px Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-body p, .mat-body-1 p, .mat-typography p {\\n  margin: 0 0 12px;\\n}\\n.mat-small, .mat-caption {\\n  font: 400 12px/20px Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-display-4, .mat-typography .mat-display-4 {\\n  font: 300 112px/112px Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  letter-spacing: -0.05em;\\n  margin: 0 0 56px;\\n}\\n.mat-display-3, .mat-typography .mat-display-3 {\\n  font: 400 56px/56px Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  letter-spacing: -0.02em;\\n  margin: 0 0 64px;\\n}\\n.mat-display-2, .mat-typography .mat-display-2 {\\n  font: 400 45px/48px Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  letter-spacing: -0.005em;\\n  margin: 0 0 64px;\\n}\\n.mat-display-1, .mat-typography .mat-display-1 {\\n  font: 400 34px/40px Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  margin: 0 0 64px;\\n}\\n.mat-bottom-sheet-container {\\n  font: 400 14px/20px Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-button, .mat-raised-button, .mat-icon-button, .mat-stroked-button,\\n.mat-flat-button, .mat-fab, .mat-mini-fab {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  font-size: 14px;\\n  font-weight: 500;\\n}\\n.mat-button-toggle {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-card {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-card-title {\\n  font-size: 24px;\\n  font-weight: 500;\\n}\\n.mat-card-header .mat-card-title {\\n  font-size: 20px;\\n}\\n.mat-card-subtitle,\\n.mat-card-content {\\n  font-size: 14px;\\n}\\n.mat-checkbox {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-checkbox-layout .mat-checkbox-label {\\n  line-height: 24px;\\n}\\n.mat-chip {\\n  font-size: 14px;\\n  font-weight: 500;\\n}\\n.mat-chip .mat-chip-trailing-icon.mat-icon,\\n.mat-chip .mat-chip-remove.mat-icon {\\n  font-size: 18px;\\n}\\n.mat-table {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-header-cell {\\n  font-size: 12px;\\n  font-weight: 500;\\n}\\n.mat-cell, .mat-footer-cell {\\n  font-size: 14px;\\n}\\n.mat-calendar {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-calendar-body {\\n  font-size: 13px;\\n}\\n.mat-calendar-body-label,\\n.mat-calendar-period-button {\\n  font-size: 14px;\\n  font-weight: 500;\\n}\\n.mat-calendar-table-header th {\\n  font-size: 11px;\\n  font-weight: 400;\\n}\\n.mat-dialog-title {\\n  font: 500 20px/32px Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-expansion-panel-header {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  font-size: 15px;\\n  font-weight: 400;\\n}\\n.mat-expansion-panel-content {\\n  font: 400 14px/20px Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-form-field {\\n  font-size: inherit;\\n  font-weight: 400;\\n  line-height: 1.125;\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-form-field-wrapper {\\n  padding-bottom: 1.34375em;\\n}\\n.mat-form-field-prefix .mat-icon,\\n.mat-form-field-suffix .mat-icon {\\n  font-size: 150%;\\n  line-height: 1.125;\\n}\\n.mat-form-field-prefix .mat-icon-button,\\n.mat-form-field-suffix .mat-icon-button {\\n  height: 1.5em;\\n  width: 1.5em;\\n}\\n.mat-form-field-prefix .mat-icon-button .mat-icon,\\n.mat-form-field-suffix .mat-icon-button .mat-icon {\\n  height: 1.125em;\\n  line-height: 1.125;\\n}\\n.mat-form-field-infix {\\n  padding: 0.5em 0;\\n  border-top: 0.84375em solid transparent;\\n}\\n.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,\\n.mat-form-field-can-float .mat-input-server:focus + .mat-form-field-label-wrapper .mat-form-field-label {\\n  transform: translateY(-1.34375em) scale(0.75);\\n  width: 133.3333333333%;\\n}\\n.mat-form-field-can-float .mat-input-server[label]:not(:label-shown) + .mat-form-field-label-wrapper .mat-form-field-label {\\n  transform: translateY(-1.34374em) scale(0.75);\\n  width: 133.3333433333%;\\n}\\n.mat-form-field-label-wrapper {\\n  top: -0.84375em;\\n  padding-top: 0.84375em;\\n}\\n.mat-form-field-label {\\n  top: 1.34375em;\\n}\\n.mat-form-field-underline {\\n  bottom: 1.34375em;\\n}\\n.mat-form-field-subscript-wrapper {\\n  font-size: 75%;\\n  margin-top: 0.6666666667em;\\n  top: calc(100% - 1.7916666667em);\\n}\\n.mat-form-field-appearance-legacy .mat-form-field-wrapper {\\n  padding-bottom: 1.25em;\\n}\\n.mat-form-field-appearance-legacy .mat-form-field-infix {\\n  padding: 0.4375em 0;\\n}\\n.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,\\n.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus + .mat-form-field-label-wrapper .mat-form-field-label {\\n  transform: translateY(-1.28125em) scale(0.75) perspective(100px) translateZ(0.001px);\\n  -ms-transform: translateY(-1.28125em) scale(0.75);\\n  width: 133.3333333333%;\\n}\\n.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 {\\n  transform: translateY(-1.28125em) scale(0.75) perspective(100px) translateZ(0.00101px);\\n  -ms-transform: translateY(-1.28124em) scale(0.75);\\n  width: 133.3333433333%;\\n}\\n.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 {\\n  transform: translateY(-1.28125em) scale(0.75) perspective(100px) translateZ(0.00102px);\\n  -ms-transform: translateY(-1.28123em) scale(0.75);\\n  width: 133.3333533333%;\\n}\\n.mat-form-field-appearance-legacy .mat-form-field-label {\\n  top: 1.28125em;\\n}\\n.mat-form-field-appearance-legacy .mat-form-field-underline {\\n  bottom: 1.25em;\\n}\\n.mat-form-field-appearance-legacy .mat-form-field-subscript-wrapper {\\n  margin-top: 0.5416666667em;\\n  top: calc(100% - 1.6666666667em);\\n}\\n@media print {\\n  .mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,\\n.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus + .mat-form-field-label-wrapper .mat-form-field-label {\\n    transform: translateY(-1.28122em) scale(0.75);\\n  }\\n  .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 {\\n    transform: translateY(-1.28121em) scale(0.75);\\n  }\\n  .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 {\\n    transform: translateY(-1.2812em) scale(0.75);\\n  }\\n}\\n.mat-form-field-appearance-fill .mat-form-field-infix {\\n  padding: 0.25em 0 0.75em 0;\\n}\\n.mat-form-field-appearance-fill .mat-form-field-label {\\n  top: 1.09375em;\\n  margin-top: -0.5em;\\n}\\n.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,\\n.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server:focus + .mat-form-field-label-wrapper .mat-form-field-label {\\n  transform: translateY(-0.59375em) scale(0.75);\\n  width: 133.3333333333%;\\n}\\n.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 {\\n  transform: translateY(-0.59374em) scale(0.75);\\n  width: 133.3333433333%;\\n}\\n.mat-form-field-appearance-outline .mat-form-field-infix {\\n  padding: 1em 0 1em 0;\\n}\\n.mat-form-field-appearance-outline .mat-form-field-label {\\n  top: 1.84375em;\\n  margin-top: -0.25em;\\n}\\n.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,\\n.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server:focus + .mat-form-field-label-wrapper .mat-form-field-label {\\n  transform: translateY(-1.59375em) scale(0.75);\\n  width: 133.3333333333%;\\n}\\n.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 {\\n  transform: translateY(-1.59374em) scale(0.75);\\n  width: 133.3333433333%;\\n}\\n.mat-grid-tile-header,\\n.mat-grid-tile-footer {\\n  font-size: 14px;\\n}\\n.mat-grid-tile-header .mat-line,\\n.mat-grid-tile-footer .mat-line {\\n  white-space: nowrap;\\n  overflow: hidden;\\n  text-overflow: ellipsis;\\n  display: block;\\n  box-sizing: border-box;\\n}\\n.mat-grid-tile-header .mat-line:nth-child(n+2),\\n.mat-grid-tile-footer .mat-line:nth-child(n+2) {\\n  font-size: 12px;\\n}\\ninput.mat-input-element {\\n  margin-top: -0.0625em;\\n}\\n.mat-menu-item {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  font-size: 14px;\\n  font-weight: 400;\\n}\\n.mat-paginator,\\n.mat-paginator-page-size .mat-select-trigger {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  font-size: 12px;\\n}\\n.mat-radio-button {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-select {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-select-trigger {\\n  height: 1.125em;\\n}\\n.mat-slide-toggle-content {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-slider-thumb-label-text {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  font-size: 12px;\\n  font-weight: 500;\\n}\\n.mat-stepper-vertical, .mat-stepper-horizontal {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-step-label {\\n  font-size: 14px;\\n  font-weight: 400;\\n}\\n.mat-step-sub-label-error {\\n  font-weight: normal;\\n}\\n.mat-step-label-error {\\n  font-size: 14px;\\n}\\n.mat-step-label-selected {\\n  font-size: 14px;\\n  font-weight: 500;\\n}\\n.mat-tab-group {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-tab-label, .mat-tab-link {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  font-size: 14px;\\n  font-weight: 500;\\n}\\n.mat-toolbar,\\n.mat-toolbar h1,\\n.mat-toolbar h2,\\n.mat-toolbar h3,\\n.mat-toolbar h4,\\n.mat-toolbar h5,\\n.mat-toolbar h6 {\\n  font: 500 20px/32px Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  margin: 0;\\n}\\n.mat-tooltip {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  font-size: 10px;\\n  padding-top: 6px;\\n  padding-bottom: 6px;\\n}\\n.mat-tooltip-handset {\\n  font-size: 14px;\\n  padding-top: 8px;\\n  padding-bottom: 8px;\\n}\\n.mat-list-item {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-list-option {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-list-base .mat-list-item {\\n  font-size: 16px;\\n}\\n.mat-list-base .mat-list-item .mat-line {\\n  white-space: nowrap;\\n  overflow: hidden;\\n  text-overflow: ellipsis;\\n  display: block;\\n  box-sizing: border-box;\\n}\\n.mat-list-base .mat-list-item .mat-line:nth-child(n+2) {\\n  font-size: 14px;\\n}\\n.mat-list-base .mat-list-option {\\n  font-size: 16px;\\n}\\n.mat-list-base .mat-list-option .mat-line {\\n  white-space: nowrap;\\n  overflow: hidden;\\n  text-overflow: ellipsis;\\n  display: block;\\n  box-sizing: border-box;\\n}\\n.mat-list-base .mat-list-option .mat-line:nth-child(n+2) {\\n  font-size: 14px;\\n}\\n.mat-list-base .mat-subheader {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  font-size: 14px;\\n  font-weight: 500;\\n}\\n.mat-list-base[dense] .mat-list-item {\\n  font-size: 12px;\\n}\\n.mat-list-base[dense] .mat-list-item .mat-line {\\n  white-space: nowrap;\\n  overflow: hidden;\\n  text-overflow: ellipsis;\\n  display: block;\\n  box-sizing: border-box;\\n}\\n.mat-list-base[dense] .mat-list-item .mat-line:nth-child(n+2) {\\n  font-size: 12px;\\n}\\n.mat-list-base[dense] .mat-list-option {\\n  font-size: 12px;\\n}\\n.mat-list-base[dense] .mat-list-option .mat-line {\\n  white-space: nowrap;\\n  overflow: hidden;\\n  text-overflow: ellipsis;\\n  display: block;\\n  box-sizing: border-box;\\n}\\n.mat-list-base[dense] .mat-list-option .mat-line:nth-child(n+2) {\\n  font-size: 12px;\\n}\\n.mat-list-base[dense] .mat-subheader {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  font-size: 12px;\\n  font-weight: 500;\\n}\\n.mat-option {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  font-size: 16px;\\n}\\n.mat-optgroup-label {\\n  font: 500 14px/24px Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-simple-snackbar {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n  font-size: 14px;\\n}\\n.mat-simple-snackbar-action {\\n  line-height: 1;\\n  font-family: inherit;\\n  font-size: inherit;\\n  font-weight: 500;\\n}\\n.mat-tree {\\n  font-family: Roboto, \\\"Helvetica Neue\\\", sans-serif;\\n}\\n.mat-tree-node,\\n.mat-nested-tree-node {\\n  font-weight: 400;\\n  font-size: 14px;\\n}\\n.mat-ripple {\\n  overflow: hidden;\\n  position: relative;\\n}\\n.mat-ripple.mat-ripple-unbounded {\\n  overflow: visible;\\n}\\n.mat-ripple-element {\\n  position: absolute;\\n  border-radius: 50%;\\n  pointer-events: none;\\n  transition: opacity, transform 0ms cubic-bezier(0, 0, 0.2, 1);\\n  transform: scale(0);\\n}\\n@media (-ms-high-contrast: active) {\\n  .mat-ripple-element {\\n    display: none;\\n  }\\n}\\n.cdk-visually-hidden {\\n  border: 0;\\n  clip: rect(0 0 0 0);\\n  height: 1px;\\n  margin: -1px;\\n  overflow: hidden;\\n  padding: 0;\\n  position: absolute;\\n  width: 1px;\\n  outline: 0;\\n  -webkit-appearance: none;\\n  -moz-appearance: none;\\n}\\n.cdk-overlay-container, .cdk-global-overlay-wrapper {\\n  pointer-events: none;\\n  top: 0;\\n  left: 0;\\n  height: 100%;\\n  width: 100%;\\n}\\n.cdk-overlay-container {\\n  position: fixed;\\n  z-index: 1000;\\n}\\n.cdk-overlay-container:empty {\\n  display: none;\\n}\\n.cdk-global-overlay-wrapper {\\n  display: flex;\\n  position: absolute;\\n  z-index: 1000;\\n}\\n.cdk-overlay-pane {\\n  position: absolute;\\n  pointer-events: auto;\\n  box-sizing: border-box;\\n  z-index: 1000;\\n  display: flex;\\n  max-width: 100%;\\n  max-height: 100%;\\n}\\n.cdk-overlay-backdrop {\\n  position: absolute;\\n  top: 0;\\n  bottom: 0;\\n  left: 0;\\n  right: 0;\\n  z-index: 1000;\\n  pointer-events: auto;\\n  -webkit-tap-highlight-color: transparent;\\n  transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);\\n  opacity: 0;\\n}\\n.cdk-overlay-backdrop.cdk-overlay-backdrop-showing {\\n  opacity: 1;\\n}\\n@media screen and (-ms-high-contrast: active) {\\n  .cdk-overlay-backdrop.cdk-overlay-backdrop-showing {\\n    opacity: 0.6;\\n  }\\n}\\n.cdk-overlay-dark-backdrop {\\n  background: rgba(0, 0, 0, 0.32);\\n}\\n.cdk-overlay-transparent-backdrop, .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing {\\n  opacity: 0;\\n}\\n.cdk-overlay-connected-position-bounding-box {\\n  position: absolute;\\n  z-index: 1000;\\n  display: flex;\\n  flex-direction: column;\\n  min-width: 1px;\\n  min-height: 1px;\\n}\\n.cdk-global-scrollblock {\\n  position: fixed;\\n  width: 100%;\\n  overflow-y: scroll;\\n}\\n@-webkit-keyframes cdk-text-field-autofill-start {\\n  /*!*/\\n}\\n@keyframes cdk-text-field-autofill-start {\\n  /*!*/\\n}\\n@-webkit-keyframes cdk-text-field-autofill-end {\\n  /*!*/\\n}\\n@keyframes cdk-text-field-autofill-end {\\n  /*!*/\\n}\\n.cdk-text-field-autofill-monitored:-webkit-autofill {\\n  -webkit-animation-name: cdk-text-field-autofill-start;\\n          animation-name: cdk-text-field-autofill-start;\\n}\\n.cdk-text-field-autofill-monitored:not(:-webkit-autofill) {\\n  -webkit-animation-name: cdk-text-field-autofill-end;\\n          animation-name: cdk-text-field-autofill-end;\\n}\\ntextarea.cdk-textarea-autosize {\\n  resize: none;\\n}\\ntextarea.cdk-textarea-autosize-measuring {\\n  height: auto !important;\\n  overflow: hidden !important;\\n  padding: 2px 0 !important;\\n  box-sizing: content-box !important;\\n}\\n.mat-ripple-element {\\n  background-color: rgba(0, 0, 0, 0.1);\\n}\\n.mat-option {\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-option:hover:not(.mat-option-disabled), .mat-option:focus:not(.mat-option-disabled) {\\n  background: rgba(0, 0, 0, 0.04);\\n}\\n.mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled) {\\n  background: rgba(0, 0, 0, 0.04);\\n}\\n.mat-option.mat-active {\\n  background: rgba(0, 0, 0, 0.04);\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-option.mat-option-disabled {\\n  color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-primary .mat-option.mat-selected:not(.mat-option-disabled) {\\n  color: #3f51b5;\\n}\\n.mat-accent .mat-option.mat-selected:not(.mat-option-disabled) {\\n  color: #ff4081;\\n}\\n.mat-warn .mat-option.mat-selected:not(.mat-option-disabled) {\\n  color: #f44336;\\n}\\n.mat-optgroup-label {\\n  color: rgba(0, 0, 0, 0.54);\\n}\\n.mat-optgroup-disabled .mat-optgroup-label {\\n  color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-pseudo-checkbox {\\n  color: rgba(0, 0, 0, 0.54);\\n}\\n.mat-pseudo-checkbox::after {\\n  color: #fafafa;\\n}\\n.mat-pseudo-checkbox-disabled {\\n  color: #b0b0b0;\\n}\\n.mat-primary .mat-pseudo-checkbox-checked,\\n.mat-primary .mat-pseudo-checkbox-indeterminate {\\n  background: #3f51b5;\\n}\\n.mat-pseudo-checkbox-checked,\\n.mat-pseudo-checkbox-indeterminate,\\n.mat-accent .mat-pseudo-checkbox-checked,\\n.mat-accent .mat-pseudo-checkbox-indeterminate {\\n  background: #ff4081;\\n}\\n.mat-warn .mat-pseudo-checkbox-checked,\\n.mat-warn .mat-pseudo-checkbox-indeterminate {\\n  background: #f44336;\\n}\\n.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,\\n.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled {\\n  background: #b0b0b0;\\n}\\n.mat-elevation-z0 {\\n  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z1 {\\n  box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z2 {\\n  box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z3 {\\n  box-shadow: 0px 3px 3px -2px rgba(0, 0, 0, 0.2), 0px 3px 4px 0px rgba(0, 0, 0, 0.14), 0px 1px 8px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z4 {\\n  box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z5 {\\n  box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 5px 8px 0px rgba(0, 0, 0, 0.14), 0px 1px 14px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z6 {\\n  box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z7 {\\n  box-shadow: 0px 4px 5px -2px rgba(0, 0, 0, 0.2), 0px 7px 10px 1px rgba(0, 0, 0, 0.14), 0px 2px 16px 1px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z8 {\\n  box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z9 {\\n  box-shadow: 0px 5px 6px -3px rgba(0, 0, 0, 0.2), 0px 9px 12px 1px rgba(0, 0, 0, 0.14), 0px 3px 16px 2px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z10 {\\n  box-shadow: 0px 6px 6px -3px rgba(0, 0, 0, 0.2), 0px 10px 14px 1px rgba(0, 0, 0, 0.14), 0px 4px 18px 3px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z11 {\\n  box-shadow: 0px 6px 7px -4px rgba(0, 0, 0, 0.2), 0px 11px 15px 1px rgba(0, 0, 0, 0.14), 0px 4px 20px 3px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z12 {\\n  box-shadow: 0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z13 {\\n  box-shadow: 0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 13px 19px 2px rgba(0, 0, 0, 0.14), 0px 5px 24px 4px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z14 {\\n  box-shadow: 0px 7px 9px -4px rgba(0, 0, 0, 0.2), 0px 14px 21px 2px rgba(0, 0, 0, 0.14), 0px 5px 26px 4px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z15 {\\n  box-shadow: 0px 8px 9px -5px rgba(0, 0, 0, 0.2), 0px 15px 22px 2px rgba(0, 0, 0, 0.14), 0px 6px 28px 5px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z16 {\\n  box-shadow: 0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z17 {\\n  box-shadow: 0px 8px 11px -5px rgba(0, 0, 0, 0.2), 0px 17px 26px 2px rgba(0, 0, 0, 0.14), 0px 6px 32px 5px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z18 {\\n  box-shadow: 0px 9px 11px -5px rgba(0, 0, 0, 0.2), 0px 18px 28px 2px rgba(0, 0, 0, 0.14), 0px 7px 34px 6px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z19 {\\n  box-shadow: 0px 9px 12px -6px rgba(0, 0, 0, 0.2), 0px 19px 29px 2px rgba(0, 0, 0, 0.14), 0px 7px 36px 6px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z20 {\\n  box-shadow: 0px 10px 13px -6px rgba(0, 0, 0, 0.2), 0px 20px 31px 3px rgba(0, 0, 0, 0.14), 0px 8px 38px 7px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z21 {\\n  box-shadow: 0px 10px 13px -6px rgba(0, 0, 0, 0.2), 0px 21px 33px 3px rgba(0, 0, 0, 0.14), 0px 8px 40px 7px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z22 {\\n  box-shadow: 0px 10px 14px -6px rgba(0, 0, 0, 0.2), 0px 22px 35px 3px rgba(0, 0, 0, 0.14), 0px 8px 42px 7px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z23 {\\n  box-shadow: 0px 11px 14px -7px rgba(0, 0, 0, 0.2), 0px 23px 36px 3px rgba(0, 0, 0, 0.14), 0px 9px 44px 8px rgba(0, 0, 0, 0.12);\\n}\\n.mat-elevation-z24 {\\n  box-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);\\n}\\n.mat-app-background {\\n  background-color: #fafafa;\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-theme-loaded-marker {\\n  display: none;\\n}\\n.mat-autocomplete-panel {\\n  background: white;\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-autocomplete-panel:not([class*=mat-elevation-z]) {\\n  box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover) {\\n  background: white;\\n}\\n.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled) {\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-badge-content {\\n  color: white;\\n  background: #3f51b5;\\n}\\n@media (-ms-high-contrast: active) {\\n  .mat-badge-content {\\n    outline: solid 1px;\\n    border-radius: 0;\\n  }\\n}\\n.mat-badge-accent .mat-badge-content {\\n  background: #ff4081;\\n  color: white;\\n}\\n.mat-badge-warn .mat-badge-content {\\n  color: white;\\n  background: #f44336;\\n}\\n.mat-badge {\\n  position: relative;\\n}\\n.mat-badge-hidden .mat-badge-content {\\n  display: none;\\n}\\n.mat-badge-disabled .mat-badge-content {\\n  background: #b9b9b9;\\n  color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-badge-content {\\n  position: absolute;\\n  text-align: center;\\n  display: inline-block;\\n  border-radius: 50%;\\n  transition: transform 200ms ease-in-out;\\n  transform: scale(0.6);\\n  overflow: hidden;\\n  white-space: nowrap;\\n  text-overflow: ellipsis;\\n  pointer-events: none;\\n}\\n.ng-animate-disabled .mat-badge-content,\\n.mat-badge-content._mat-animation-noopable {\\n  transition: none;\\n}\\n.mat-badge-content.mat-badge-active {\\n  transform: none;\\n}\\n.mat-badge-small .mat-badge-content {\\n  width: 16px;\\n  height: 16px;\\n  line-height: 16px;\\n}\\n.mat-badge-small.mat-badge-above .mat-badge-content {\\n  top: -8px;\\n}\\n.mat-badge-small.mat-badge-below .mat-badge-content {\\n  bottom: -8px;\\n}\\n.mat-badge-small.mat-badge-before .mat-badge-content {\\n  left: -16px;\\n}\\n[dir=rtl] .mat-badge-small.mat-badge-before .mat-badge-content {\\n  left: auto;\\n  right: -16px;\\n}\\n.mat-badge-small.mat-badge-after .mat-badge-content {\\n  right: -16px;\\n}\\n[dir=rtl] .mat-badge-small.mat-badge-after .mat-badge-content {\\n  right: auto;\\n  left: -16px;\\n}\\n.mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content {\\n  left: -8px;\\n}\\n[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content {\\n  left: auto;\\n  right: -8px;\\n}\\n.mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content {\\n  right: -8px;\\n}\\n[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content {\\n  right: auto;\\n  left: -8px;\\n}\\n.mat-badge-medium .mat-badge-content {\\n  width: 22px;\\n  height: 22px;\\n  line-height: 22px;\\n}\\n.mat-badge-medium.mat-badge-above .mat-badge-content {\\n  top: -11px;\\n}\\n.mat-badge-medium.mat-badge-below .mat-badge-content {\\n  bottom: -11px;\\n}\\n.mat-badge-medium.mat-badge-before .mat-badge-content {\\n  left: -22px;\\n}\\n[dir=rtl] .mat-badge-medium.mat-badge-before .mat-badge-content {\\n  left: auto;\\n  right: -22px;\\n}\\n.mat-badge-medium.mat-badge-after .mat-badge-content {\\n  right: -22px;\\n}\\n[dir=rtl] .mat-badge-medium.mat-badge-after .mat-badge-content {\\n  right: auto;\\n  left: -22px;\\n}\\n.mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content {\\n  left: -11px;\\n}\\n[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content {\\n  left: auto;\\n  right: -11px;\\n}\\n.mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content {\\n  right: -11px;\\n}\\n[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content {\\n  right: auto;\\n  left: -11px;\\n}\\n.mat-badge-large .mat-badge-content {\\n  width: 28px;\\n  height: 28px;\\n  line-height: 28px;\\n}\\n.mat-badge-large.mat-badge-above .mat-badge-content {\\n  top: -14px;\\n}\\n.mat-badge-large.mat-badge-below .mat-badge-content {\\n  bottom: -14px;\\n}\\n.mat-badge-large.mat-badge-before .mat-badge-content {\\n  left: -28px;\\n}\\n[dir=rtl] .mat-badge-large.mat-badge-before .mat-badge-content {\\n  left: auto;\\n  right: -28px;\\n}\\n.mat-badge-large.mat-badge-after .mat-badge-content {\\n  right: -28px;\\n}\\n[dir=rtl] .mat-badge-large.mat-badge-after .mat-badge-content {\\n  right: auto;\\n  left: -28px;\\n}\\n.mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content {\\n  left: -14px;\\n}\\n[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content {\\n  left: auto;\\n  right: -14px;\\n}\\n.mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content {\\n  right: -14px;\\n}\\n[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content {\\n  right: auto;\\n  left: -14px;\\n}\\n.mat-bottom-sheet-container {\\n  box-shadow: 0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);\\n  background: white;\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-button, .mat-icon-button, .mat-stroked-button {\\n  color: inherit;\\n  background: transparent;\\n}\\n.mat-button.mat-primary, .mat-icon-button.mat-primary, .mat-stroked-button.mat-primary {\\n  color: #3f51b5;\\n}\\n.mat-button.mat-accent, .mat-icon-button.mat-accent, .mat-stroked-button.mat-accent {\\n  color: #ff4081;\\n}\\n.mat-button.mat-warn, .mat-icon-button.mat-warn, .mat-stroked-button.mat-warn {\\n  color: #f44336;\\n}\\n.mat-button.mat-primary[disabled], .mat-button.mat-accent[disabled], .mat-button.mat-warn[disabled], .mat-button[disabled][disabled], .mat-icon-button.mat-primary[disabled], .mat-icon-button.mat-accent[disabled], .mat-icon-button.mat-warn[disabled], .mat-icon-button[disabled][disabled], .mat-stroked-button.mat-primary[disabled], .mat-stroked-button.mat-accent[disabled], .mat-stroked-button.mat-warn[disabled], .mat-stroked-button[disabled][disabled] {\\n  color: rgba(0, 0, 0, 0.26);\\n}\\n.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 {\\n  background-color: #3f51b5;\\n}\\n.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 {\\n  background-color: #ff4081;\\n}\\n.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 {\\n  background-color: #f44336;\\n}\\n.mat-button[disabled] .mat-button-focus-overlay, .mat-icon-button[disabled] .mat-button-focus-overlay, .mat-stroked-button[disabled] .mat-button-focus-overlay {\\n  background-color: transparent;\\n}\\n.mat-button .mat-ripple-element, .mat-icon-button .mat-ripple-element, .mat-stroked-button .mat-ripple-element {\\n  opacity: 0.1;\\n  background-color: currentColor;\\n}\\n.mat-button-focus-overlay {\\n  background: black;\\n}\\n.mat-stroked-button:not([disabled]) {\\n  border-color: rgba(0, 0, 0, 0.12);\\n}\\n.mat-flat-button, .mat-raised-button, .mat-fab, .mat-mini-fab {\\n  color: rgba(0, 0, 0, 0.87);\\n  background-color: white;\\n}\\n.mat-flat-button.mat-primary, .mat-raised-button.mat-primary, .mat-fab.mat-primary, .mat-mini-fab.mat-primary {\\n  color: white;\\n}\\n.mat-flat-button.mat-accent, .mat-raised-button.mat-accent, .mat-fab.mat-accent, .mat-mini-fab.mat-accent {\\n  color: white;\\n}\\n.mat-flat-button.mat-warn, .mat-raised-button.mat-warn, .mat-fab.mat-warn, .mat-mini-fab.mat-warn {\\n  color: white;\\n}\\n.mat-flat-button.mat-primary[disabled], .mat-flat-button.mat-accent[disabled], .mat-flat-button.mat-warn[disabled], .mat-flat-button[disabled][disabled], .mat-raised-button.mat-primary[disabled], .mat-raised-button.mat-accent[disabled], .mat-raised-button.mat-warn[disabled], .mat-raised-button[disabled][disabled], .mat-fab.mat-primary[disabled], .mat-fab.mat-accent[disabled], .mat-fab.mat-warn[disabled], .mat-fab[disabled][disabled], .mat-mini-fab.mat-primary[disabled], .mat-mini-fab.mat-accent[disabled], .mat-mini-fab.mat-warn[disabled], .mat-mini-fab[disabled][disabled] {\\n  color: rgba(0, 0, 0, 0.26);\\n}\\n.mat-flat-button.mat-primary, .mat-raised-button.mat-primary, .mat-fab.mat-primary, .mat-mini-fab.mat-primary {\\n  background-color: #3f51b5;\\n}\\n.mat-flat-button.mat-accent, .mat-raised-button.mat-accent, .mat-fab.mat-accent, .mat-mini-fab.mat-accent {\\n  background-color: #ff4081;\\n}\\n.mat-flat-button.mat-warn, .mat-raised-button.mat-warn, .mat-fab.mat-warn, .mat-mini-fab.mat-warn {\\n  background-color: #f44336;\\n}\\n.mat-flat-button.mat-primary[disabled], .mat-flat-button.mat-accent[disabled], .mat-flat-button.mat-warn[disabled], .mat-flat-button[disabled][disabled], .mat-raised-button.mat-primary[disabled], .mat-raised-button.mat-accent[disabled], .mat-raised-button.mat-warn[disabled], .mat-raised-button[disabled][disabled], .mat-fab.mat-primary[disabled], .mat-fab.mat-accent[disabled], .mat-fab.mat-warn[disabled], .mat-fab[disabled][disabled], .mat-mini-fab.mat-primary[disabled], .mat-mini-fab.mat-accent[disabled], .mat-mini-fab.mat-warn[disabled], .mat-mini-fab[disabled][disabled] {\\n  background-color: rgba(0, 0, 0, 0.12);\\n}\\n.mat-flat-button.mat-primary .mat-ripple-element, .mat-raised-button.mat-primary .mat-ripple-element, .mat-fab.mat-primary .mat-ripple-element, .mat-mini-fab.mat-primary .mat-ripple-element {\\n  background-color: rgba(255, 255, 255, 0.1);\\n}\\n.mat-flat-button.mat-accent .mat-ripple-element, .mat-raised-button.mat-accent .mat-ripple-element, .mat-fab.mat-accent .mat-ripple-element, .mat-mini-fab.mat-accent .mat-ripple-element {\\n  background-color: rgba(255, 255, 255, 0.1);\\n}\\n.mat-flat-button.mat-warn .mat-ripple-element, .mat-raised-button.mat-warn .mat-ripple-element, .mat-fab.mat-warn .mat-ripple-element, .mat-mini-fab.mat-warn .mat-ripple-element {\\n  background-color: rgba(255, 255, 255, 0.1);\\n}\\n.mat-stroked-button:not([class*=mat-elevation-z]), .mat-flat-button:not([class*=mat-elevation-z]) {\\n  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-raised-button:not([class*=mat-elevation-z]) {\\n  box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-raised-button:not([disabled]):active:not([class*=mat-elevation-z]) {\\n  box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);\\n}\\n.mat-raised-button[disabled]:not([class*=mat-elevation-z]) {\\n  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-fab:not([class*=mat-elevation-z]), .mat-mini-fab:not([class*=mat-elevation-z]) {\\n  box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-fab:not([disabled]):active:not([class*=mat-elevation-z]), .mat-mini-fab:not([disabled]):active:not([class*=mat-elevation-z]) {\\n  box-shadow: 0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12);\\n}\\n.mat-fab[disabled]:not([class*=mat-elevation-z]), .mat-mini-fab[disabled]:not([class*=mat-elevation-z]) {\\n  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-button-toggle-standalone,\\n.mat-button-toggle-group {\\n  box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,\\n.mat-button-toggle-group-appearance-standard {\\n  box-shadow: none;\\n}\\n.mat-button-toggle {\\n  color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-button-toggle .mat-button-toggle-focus-overlay {\\n  background-color: rgba(0, 0, 0, 0.12);\\n}\\n.mat-button-toggle-appearance-standard {\\n  color: rgba(0, 0, 0, 0.87);\\n  background: white;\\n}\\n.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay {\\n  background-color: black;\\n}\\n.mat-button-toggle-group-appearance-standard .mat-button-toggle + .mat-button-toggle {\\n  border-left: solid 1px rgba(0, 0, 0, 0.12);\\n}\\n[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle + .mat-button-toggle {\\n  border-left: none;\\n  border-right: solid 1px rgba(0, 0, 0, 0.12);\\n}\\n.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle + .mat-button-toggle {\\n  border-left: none;\\n  border-right: none;\\n  border-top: solid 1px rgba(0, 0, 0, 0.12);\\n}\\n.mat-button-toggle-checked {\\n  background-color: #e0e0e0;\\n  color: rgba(0, 0, 0, 0.54);\\n}\\n.mat-button-toggle-checked.mat-button-toggle-appearance-standard {\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-button-toggle-disabled {\\n  color: rgba(0, 0, 0, 0.26);\\n  background-color: #eeeeee;\\n}\\n.mat-button-toggle-disabled.mat-button-toggle-appearance-standard {\\n  background: white;\\n}\\n.mat-button-toggle-disabled.mat-button-toggle-checked {\\n  background-color: #bdbdbd;\\n}\\n.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,\\n.mat-button-toggle-group-appearance-standard {\\n  border: solid 1px rgba(0, 0, 0, 0.12);\\n}\\n.mat-card {\\n  background: white;\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-card:not([class*=mat-elevation-z]) {\\n  box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-card.mat-card-flat:not([class*=mat-elevation-z]) {\\n  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-card-subtitle {\\n  color: rgba(0, 0, 0, 0.54);\\n}\\n.mat-checkbox-frame {\\n  border-color: rgba(0, 0, 0, 0.54);\\n}\\n.mat-checkbox-checkmark {\\n  fill: #fafafa;\\n}\\n.mat-checkbox-checkmark-path {\\n  stroke: #fafafa !important;\\n}\\n@media (-ms-high-contrast: black-on-white) {\\n  .mat-checkbox-checkmark-path {\\n    stroke: #000 !important;\\n  }\\n}\\n.mat-checkbox-mixedmark {\\n  background-color: #fafafa;\\n}\\n.mat-checkbox-indeterminate.mat-primary .mat-checkbox-background, .mat-checkbox-checked.mat-primary .mat-checkbox-background {\\n  background-color: #3f51b5;\\n}\\n.mat-checkbox-indeterminate.mat-accent .mat-checkbox-background, .mat-checkbox-checked.mat-accent .mat-checkbox-background {\\n  background-color: #ff4081;\\n}\\n.mat-checkbox-indeterminate.mat-warn .mat-checkbox-background, .mat-checkbox-checked.mat-warn .mat-checkbox-background {\\n  background-color: #f44336;\\n}\\n.mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background, .mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background {\\n  background-color: #b0b0b0;\\n}\\n.mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame {\\n  border-color: #b0b0b0;\\n}\\n.mat-checkbox-disabled .mat-checkbox-label {\\n  color: rgba(0, 0, 0, 0.54);\\n}\\n@media (-ms-high-contrast: active) {\\n  .mat-checkbox-disabled {\\n    opacity: 0.5;\\n  }\\n}\\n@media (-ms-high-contrast: active) {\\n  .mat-checkbox-background {\\n    background: none;\\n  }\\n}\\n.mat-checkbox .mat-ripple-element {\\n  background-color: black;\\n}\\n.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,\\n.mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element {\\n  background: #3f51b5;\\n}\\n.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,\\n.mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element {\\n  background: #ff4081;\\n}\\n.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,\\n.mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element {\\n  background: #f44336;\\n}\\n.mat-chip.mat-standard-chip {\\n  background-color: #e0e0e0;\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-chip.mat-standard-chip .mat-chip-remove {\\n  color: rgba(0, 0, 0, 0.87);\\n  opacity: 0.4;\\n}\\n.mat-chip.mat-standard-chip:not(.mat-chip-disabled):active {\\n  box-shadow: 0px 3px 3px -2px rgba(0, 0, 0, 0.2), 0px 3px 4px 0px rgba(0, 0, 0, 0.14), 0px 1px 8px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover {\\n  opacity: 0.54;\\n}\\n.mat-chip.mat-standard-chip.mat-chip-disabled {\\n  opacity: 0.4;\\n}\\n.mat-chip.mat-standard-chip::after {\\n  background: black;\\n}\\n.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary {\\n  background-color: #3f51b5;\\n  color: white;\\n}\\n.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove {\\n  color: white;\\n  opacity: 0.4;\\n}\\n.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element {\\n  background: rgba(255, 255, 255, 0.1);\\n}\\n.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn {\\n  background-color: #f44336;\\n  color: white;\\n}\\n.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove {\\n  color: white;\\n  opacity: 0.4;\\n}\\n.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element {\\n  background: rgba(255, 255, 255, 0.1);\\n}\\n.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent {\\n  background-color: #ff4081;\\n  color: white;\\n}\\n.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove {\\n  color: white;\\n  opacity: 0.4;\\n}\\n.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element {\\n  background: rgba(255, 255, 255, 0.1);\\n}\\n.mat-table {\\n  background: white;\\n}\\n.mat-table thead, .mat-table tbody, .mat-table tfoot,\\nmat-header-row, mat-row, mat-footer-row,\\n[mat-header-row], [mat-row], [mat-footer-row],\\n.mat-table-sticky {\\n  background: inherit;\\n}\\nmat-row, mat-header-row, mat-footer-row,\\nth.mat-header-cell, td.mat-cell, td.mat-footer-cell {\\n  border-bottom-color: rgba(0, 0, 0, 0.12);\\n}\\n.mat-header-cell {\\n  color: rgba(0, 0, 0, 0.54);\\n}\\n.mat-cell, .mat-footer-cell {\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-calendar-arrow {\\n  border-top-color: rgba(0, 0, 0, 0.54);\\n}\\n.mat-datepicker-toggle,\\n.mat-datepicker-content .mat-calendar-next-button,\\n.mat-datepicker-content .mat-calendar-previous-button {\\n  color: rgba(0, 0, 0, 0.54);\\n}\\n.mat-calendar-table-header {\\n  color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-calendar-table-header-divider::after {\\n  background: rgba(0, 0, 0, 0.12);\\n}\\n.mat-calendar-body-label {\\n  color: rgba(0, 0, 0, 0.54);\\n}\\n.mat-calendar-body-cell-content {\\n  color: rgba(0, 0, 0, 0.87);\\n  border-color: transparent;\\n}\\n.mat-calendar-body-disabled > .mat-calendar-body-cell-content:not(.mat-calendar-body-selected) {\\n  color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover > .mat-calendar-body-cell-content:not(.mat-calendar-body-selected),\\n.cdk-keyboard-focused .mat-calendar-body-active > .mat-calendar-body-cell-content:not(.mat-calendar-body-selected),\\n.cdk-program-focused .mat-calendar-body-active > .mat-calendar-body-cell-content:not(.mat-calendar-body-selected) {\\n  background-color: rgba(0, 0, 0, 0.04);\\n}\\n.mat-calendar-body-today:not(.mat-calendar-body-selected) {\\n  border-color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-calendar-body-disabled > .mat-calendar-body-today:not(.mat-calendar-body-selected) {\\n  border-color: rgba(0, 0, 0, 0.18);\\n}\\n.mat-calendar-body-selected {\\n  background-color: #3f51b5;\\n  color: white;\\n}\\n.mat-calendar-body-disabled > .mat-calendar-body-selected {\\n  background-color: rgba(63, 81, 181, 0.4);\\n}\\n.mat-calendar-body-today.mat-calendar-body-selected {\\n  box-shadow: inset 0 0 0 1px white;\\n}\\n.mat-datepicker-content {\\n  box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);\\n  background-color: white;\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-datepicker-content.mat-accent .mat-calendar-body-selected {\\n  background-color: #ff4081;\\n  color: white;\\n}\\n.mat-datepicker-content.mat-accent .mat-calendar-body-disabled > .mat-calendar-body-selected {\\n  background-color: rgba(255, 64, 129, 0.4);\\n}\\n.mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected {\\n  box-shadow: inset 0 0 0 1px white;\\n}\\n.mat-datepicker-content.mat-warn .mat-calendar-body-selected {\\n  background-color: #f44336;\\n  color: white;\\n}\\n.mat-datepicker-content.mat-warn .mat-calendar-body-disabled > .mat-calendar-body-selected {\\n  background-color: rgba(244, 67, 54, 0.4);\\n}\\n.mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected {\\n  box-shadow: inset 0 0 0 1px white;\\n}\\n.mat-datepicker-content-touch {\\n  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-datepicker-toggle-active {\\n  color: #3f51b5;\\n}\\n.mat-datepicker-toggle-active.mat-accent {\\n  color: #ff4081;\\n}\\n.mat-datepicker-toggle-active.mat-warn {\\n  color: #f44336;\\n}\\n.mat-dialog-container {\\n  box-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);\\n  background: white;\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-divider {\\n  border-top-color: rgba(0, 0, 0, 0.12);\\n}\\n.mat-divider-vertical {\\n  border-right-color: rgba(0, 0, 0, 0.12);\\n}\\n.mat-expansion-panel {\\n  background: white;\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-expansion-panel:not([class*=mat-elevation-z]) {\\n  box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-action-row {\\n  border-top-color: rgba(0, 0, 0, 0.12);\\n}\\n.mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]), .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]), .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]) {\\n  background: rgba(0, 0, 0, 0.04);\\n}\\n@media (hover: none) {\\n  .mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover {\\n    background: white;\\n  }\\n}\\n.mat-expansion-panel-header-title {\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-expansion-panel-header-description,\\n.mat-expansion-indicator::after {\\n  color: rgba(0, 0, 0, 0.54);\\n}\\n.mat-expansion-panel-header[aria-disabled=true] {\\n  color: rgba(0, 0, 0, 0.26);\\n}\\n.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,\\n.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description {\\n  color: inherit;\\n}\\n.mat-form-field-label {\\n  color: rgba(0, 0, 0, 0.6);\\n}\\n.mat-hint {\\n  color: rgba(0, 0, 0, 0.6);\\n}\\n.mat-form-field.mat-focused .mat-form-field-label {\\n  color: #3f51b5;\\n}\\n.mat-form-field.mat-focused .mat-form-field-label.mat-accent {\\n  color: #ff4081;\\n}\\n.mat-form-field.mat-focused .mat-form-field-label.mat-warn {\\n  color: #f44336;\\n}\\n.mat-focused .mat-form-field-required-marker {\\n  color: #ff4081;\\n}\\n.mat-form-field-ripple {\\n  background-color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-form-field.mat-focused .mat-form-field-ripple {\\n  background-color: #3f51b5;\\n}\\n.mat-form-field.mat-focused .mat-form-field-ripple.mat-accent {\\n  background-color: #ff4081;\\n}\\n.mat-form-field.mat-focused .mat-form-field-ripple.mat-warn {\\n  background-color: #f44336;\\n}\\n.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix::after {\\n  color: #3f51b5;\\n}\\n.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix::after {\\n  color: #ff4081;\\n}\\n.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix::after {\\n  color: #f44336;\\n}\\n.mat-form-field.mat-form-field-invalid .mat-form-field-label {\\n  color: #f44336;\\n}\\n.mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,\\n.mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker {\\n  color: #f44336;\\n}\\n.mat-form-field.mat-form-field-invalid .mat-form-field-ripple,\\n.mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent {\\n  background-color: #f44336;\\n}\\n.mat-error {\\n  color: #f44336;\\n}\\n.mat-form-field-appearance-legacy .mat-form-field-label {\\n  color: rgba(0, 0, 0, 0.54);\\n}\\n.mat-form-field-appearance-legacy .mat-hint {\\n  color: rgba(0, 0, 0, 0.54);\\n}\\n.mat-form-field-appearance-legacy .mat-form-field-underline {\\n  background-color: rgba(0, 0, 0, 0.42);\\n}\\n.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline {\\n  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.42) 33%, transparent 0%);\\n  background-size: 4px 100%;\\n  background-repeat: repeat-x;\\n}\\n.mat-form-field-appearance-standard .mat-form-field-underline {\\n  background-color: rgba(0, 0, 0, 0.42);\\n}\\n.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline {\\n  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.42) 33%, transparent 0%);\\n  background-size: 4px 100%;\\n  background-repeat: repeat-x;\\n}\\n.mat-form-field-appearance-fill .mat-form-field-flex {\\n  background-color: rgba(0, 0, 0, 0.04);\\n}\\n.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex {\\n  background-color: rgba(0, 0, 0, 0.02);\\n}\\n.mat-form-field-appearance-fill .mat-form-field-underline::before {\\n  background-color: rgba(0, 0, 0, 0.42);\\n}\\n.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label {\\n  color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline::before {\\n  background-color: transparent;\\n}\\n.mat-form-field-appearance-outline .mat-form-field-outline {\\n  color: rgba(0, 0, 0, 0.12);\\n}\\n.mat-form-field-appearance-outline .mat-form-field-outline-thick {\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick {\\n  color: #3f51b5;\\n}\\n.mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick {\\n  color: #ff4081;\\n}\\n.mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick {\\n  color: #f44336;\\n}\\n.mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick {\\n  color: #f44336;\\n}\\n.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label {\\n  color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline {\\n  color: rgba(0, 0, 0, 0.06);\\n}\\n.mat-icon.mat-primary {\\n  color: #3f51b5;\\n}\\n.mat-icon.mat-accent {\\n  color: #ff4081;\\n}\\n.mat-icon.mat-warn {\\n  color: #f44336;\\n}\\n.mat-form-field-type-mat-native-select .mat-form-field-infix::after {\\n  color: rgba(0, 0, 0, 0.54);\\n}\\n.mat-input-element:disabled,\\n.mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix::after {\\n  color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-input-element {\\n  caret-color: #3f51b5;\\n}\\n.mat-input-element::-webkit-input-placeholder {\\n  color: rgba(0, 0, 0, 0.42);\\n}\\n.mat-input-element::-moz-placeholder {\\n  color: rgba(0, 0, 0, 0.42);\\n}\\n.mat-input-element::-ms-input-placeholder {\\n  color: rgba(0, 0, 0, 0.42);\\n}\\n.mat-input-element::placeholder {\\n  color: rgba(0, 0, 0, 0.42);\\n}\\n.mat-input-element::-moz-placeholder {\\n  color: rgba(0, 0, 0, 0.42);\\n}\\n.mat-input-element::-webkit-input-placeholder {\\n  color: rgba(0, 0, 0, 0.42);\\n}\\n.mat-input-element:-ms-input-placeholder {\\n  color: rgba(0, 0, 0, 0.42);\\n}\\n.mat-accent .mat-input-element {\\n  caret-color: #ff4081;\\n}\\n.mat-warn .mat-input-element,\\n.mat-form-field-invalid .mat-input-element {\\n  caret-color: #f44336;\\n}\\n.mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix::after {\\n  color: #f44336;\\n}\\n.mat-list-base .mat-list-item {\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-list-base .mat-list-option {\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-list-base .mat-subheader {\\n  color: rgba(0, 0, 0, 0.54);\\n}\\n.mat-list-item-disabled {\\n  background-color: #eeeeee;\\n}\\n.mat-list-option:hover, .mat-list-option:focus,\\n.mat-nav-list .mat-list-item:hover,\\n.mat-nav-list .mat-list-item:focus,\\n.mat-action-list .mat-list-item:hover,\\n.mat-action-list .mat-list-item:focus {\\n  background: rgba(0, 0, 0, 0.04);\\n}\\n.mat-menu-panel {\\n  background: white;\\n}\\n.mat-menu-panel:not([class*=mat-elevation-z]) {\\n  box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-menu-item {\\n  background: transparent;\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-menu-item[disabled], .mat-menu-item[disabled]::after {\\n  color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-menu-item .mat-icon-no-color,\\n.mat-menu-item-submenu-trigger::after {\\n  color: rgba(0, 0, 0, 0.54);\\n}\\n.mat-menu-item:hover:not([disabled]),\\n.mat-menu-item.cdk-program-focused:not([disabled]),\\n.mat-menu-item.cdk-keyboard-focused:not([disabled]),\\n.mat-menu-item-highlighted:not([disabled]) {\\n  background: rgba(0, 0, 0, 0.04);\\n}\\n.mat-paginator {\\n  background: white;\\n}\\n.mat-paginator,\\n.mat-paginator-page-size .mat-select-trigger {\\n  color: rgba(0, 0, 0, 0.54);\\n}\\n.mat-paginator-decrement,\\n.mat-paginator-increment {\\n  border-top: 2px solid rgba(0, 0, 0, 0.54);\\n  border-right: 2px solid rgba(0, 0, 0, 0.54);\\n}\\n.mat-paginator-first,\\n.mat-paginator-last {\\n  border-top: 2px solid rgba(0, 0, 0, 0.54);\\n}\\n.mat-icon-button[disabled] .mat-paginator-decrement,\\n.mat-icon-button[disabled] .mat-paginator-increment,\\n.mat-icon-button[disabled] .mat-paginator-first,\\n.mat-icon-button[disabled] .mat-paginator-last {\\n  border-color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-progress-bar-background {\\n  fill: #c5cae9;\\n}\\n.mat-progress-bar-buffer {\\n  background-color: #c5cae9;\\n}\\n.mat-progress-bar-fill::after {\\n  background-color: #3f51b5;\\n}\\n.mat-progress-bar.mat-accent .mat-progress-bar-background {\\n  fill: #ff80ab;\\n}\\n.mat-progress-bar.mat-accent .mat-progress-bar-buffer {\\n  background-color: #ff80ab;\\n}\\n.mat-progress-bar.mat-accent .mat-progress-bar-fill::after {\\n  background-color: #ff4081;\\n}\\n.mat-progress-bar.mat-warn .mat-progress-bar-background {\\n  fill: #ffcdd2;\\n}\\n.mat-progress-bar.mat-warn .mat-progress-bar-buffer {\\n  background-color: #ffcdd2;\\n}\\n.mat-progress-bar.mat-warn .mat-progress-bar-fill::after {\\n  background-color: #f44336;\\n}\\n.mat-progress-spinner circle, .mat-spinner circle {\\n  stroke: #3f51b5;\\n}\\n.mat-progress-spinner.mat-accent circle, .mat-spinner.mat-accent circle {\\n  stroke: #ff4081;\\n}\\n.mat-progress-spinner.mat-warn circle, .mat-spinner.mat-warn circle {\\n  stroke: #f44336;\\n}\\n.mat-radio-outer-circle {\\n  border-color: rgba(0, 0, 0, 0.54);\\n}\\n.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle {\\n  border-color: #3f51b5;\\n}\\n.mat-radio-button.mat-primary .mat-radio-inner-circle,\\n.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 {\\n  background-color: #3f51b5;\\n}\\n.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle {\\n  border-color: #ff4081;\\n}\\n.mat-radio-button.mat-accent .mat-radio-inner-circle,\\n.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 {\\n  background-color: #ff4081;\\n}\\n.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle {\\n  border-color: #f44336;\\n}\\n.mat-radio-button.mat-warn .mat-radio-inner-circle,\\n.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 {\\n  background-color: #f44336;\\n}\\n.mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,\\n.mat-radio-button.mat-radio-disabled .mat-radio-outer-circle {\\n  border-color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element,\\n.mat-radio-button.mat-radio-disabled .mat-radio-inner-circle {\\n  background-color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-radio-button.mat-radio-disabled .mat-radio-label-content {\\n  color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-radio-button .mat-ripple-element {\\n  background-color: black;\\n}\\n.mat-select-value {\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-select-placeholder {\\n  color: rgba(0, 0, 0, 0.42);\\n}\\n.mat-select-disabled .mat-select-value {\\n  color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-select-arrow {\\n  color: rgba(0, 0, 0, 0.54);\\n}\\n.mat-select-panel {\\n  background: white;\\n}\\n.mat-select-panel:not([class*=mat-elevation-z]) {\\n  box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple) {\\n  background: rgba(0, 0, 0, 0.12);\\n}\\n.mat-form-field.mat-focused.mat-primary .mat-select-arrow {\\n  color: #3f51b5;\\n}\\n.mat-form-field.mat-focused.mat-accent .mat-select-arrow {\\n  color: #ff4081;\\n}\\n.mat-form-field.mat-focused.mat-warn .mat-select-arrow {\\n  color: #f44336;\\n}\\n.mat-form-field .mat-select.mat-select-invalid .mat-select-arrow {\\n  color: #f44336;\\n}\\n.mat-form-field .mat-select.mat-select-disabled .mat-select-arrow {\\n  color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-drawer-container {\\n  background-color: #fafafa;\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-drawer {\\n  background-color: white;\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-drawer.mat-drawer-push {\\n  background-color: white;\\n}\\n.mat-drawer:not(.mat-drawer-side) {\\n  box-shadow: 0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);\\n}\\n.mat-drawer-side {\\n  border-right: solid 1px rgba(0, 0, 0, 0.12);\\n}\\n.mat-drawer-side.mat-drawer-end {\\n  border-left: solid 1px rgba(0, 0, 0, 0.12);\\n  border-right: none;\\n}\\n[dir=rtl] .mat-drawer-side {\\n  border-left: solid 1px rgba(0, 0, 0, 0.12);\\n  border-right: none;\\n}\\n[dir=rtl] .mat-drawer-side.mat-drawer-end {\\n  border-left: none;\\n  border-right: solid 1px rgba(0, 0, 0, 0.12);\\n}\\n.mat-drawer-backdrop.mat-drawer-shown {\\n  background-color: rgba(0, 0, 0, 0.6);\\n}\\n.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb {\\n  background-color: #ff4081;\\n}\\n.mat-slide-toggle.mat-checked .mat-slide-toggle-bar {\\n  background-color: rgba(255, 64, 129, 0.54);\\n}\\n.mat-slide-toggle.mat-checked .mat-ripple-element {\\n  background-color: #ff4081;\\n}\\n.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb {\\n  background-color: #3f51b5;\\n}\\n.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar {\\n  background-color: rgba(63, 81, 181, 0.54);\\n}\\n.mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element {\\n  background-color: #3f51b5;\\n}\\n.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb {\\n  background-color: #f44336;\\n}\\n.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar {\\n  background-color: rgba(244, 67, 54, 0.54);\\n}\\n.mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element {\\n  background-color: #f44336;\\n}\\n.mat-slide-toggle:not(.mat-checked) .mat-ripple-element {\\n  background-color: black;\\n}\\n.mat-slide-toggle-thumb {\\n  box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);\\n  background-color: #fafafa;\\n}\\n.mat-slide-toggle-bar {\\n  background-color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-slider-track-background {\\n  background-color: rgba(0, 0, 0, 0.26);\\n}\\n.mat-primary .mat-slider-track-fill,\\n.mat-primary .mat-slider-thumb,\\n.mat-primary .mat-slider-thumb-label {\\n  background-color: #3f51b5;\\n}\\n.mat-primary .mat-slider-thumb-label-text {\\n  color: white;\\n}\\n.mat-accent .mat-slider-track-fill,\\n.mat-accent .mat-slider-thumb,\\n.mat-accent .mat-slider-thumb-label {\\n  background-color: #ff4081;\\n}\\n.mat-accent .mat-slider-thumb-label-text {\\n  color: white;\\n}\\n.mat-warn .mat-slider-track-fill,\\n.mat-warn .mat-slider-thumb,\\n.mat-warn .mat-slider-thumb-label {\\n  background-color: #f44336;\\n}\\n.mat-warn .mat-slider-thumb-label-text {\\n  color: white;\\n}\\n.mat-slider-focus-ring {\\n  background-color: rgba(255, 64, 129, 0.2);\\n}\\n.mat-slider:hover .mat-slider-track-background,\\n.cdk-focused .mat-slider-track-background {\\n  background-color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-slider-disabled .mat-slider-track-background,\\n.mat-slider-disabled .mat-slider-track-fill,\\n.mat-slider-disabled .mat-slider-thumb {\\n  background-color: rgba(0, 0, 0, 0.26);\\n}\\n.mat-slider-disabled:hover .mat-slider-track-background {\\n  background-color: rgba(0, 0, 0, 0.26);\\n}\\n.mat-slider-min-value .mat-slider-focus-ring {\\n  background-color: rgba(0, 0, 0, 0.12);\\n}\\n.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,\\n.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label {\\n  background-color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,\\n.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label {\\n  background-color: rgba(0, 0, 0, 0.26);\\n}\\n.mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb {\\n  border-color: rgba(0, 0, 0, 0.26);\\n  background-color: transparent;\\n}\\n.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb, .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb {\\n  border-color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb, .mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb {\\n  border-color: rgba(0, 0, 0, 0.26);\\n}\\n.mat-slider-has-ticks .mat-slider-wrapper::after {\\n  border-color: rgba(0, 0, 0, 0.7);\\n}\\n.mat-slider-horizontal .mat-slider-ticks {\\n  background-image: repeating-linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7) 2px, transparent 0, transparent);\\n  background-image: -moz-repeating-linear-gradient(0.0001deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7) 2px, transparent 0, transparent);\\n}\\n.mat-slider-vertical .mat-slider-ticks {\\n  background-image: repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7) 2px, transparent 0, transparent);\\n}\\n.mat-step-header.cdk-keyboard-focused, .mat-step-header.cdk-program-focused, .mat-step-header:hover {\\n  background-color: rgba(0, 0, 0, 0.04);\\n}\\n@media (hover: none) {\\n  .mat-step-header:hover {\\n    background: none;\\n  }\\n}\\n.mat-step-header .mat-step-label,\\n.mat-step-header .mat-step-optional {\\n  color: rgba(0, 0, 0, 0.54);\\n}\\n.mat-step-header .mat-step-icon {\\n  background-color: rgba(0, 0, 0, 0.54);\\n  color: white;\\n}\\n.mat-step-header .mat-step-icon-selected,\\n.mat-step-header .mat-step-icon-state-done,\\n.mat-step-header .mat-step-icon-state-edit {\\n  background-color: #3f51b5;\\n  color: white;\\n}\\n.mat-step-header .mat-step-icon-state-error {\\n  background-color: transparent;\\n  color: #f44336;\\n}\\n.mat-step-header .mat-step-label.mat-step-label-active {\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-step-header .mat-step-label.mat-step-label-error {\\n  color: #f44336;\\n}\\n.mat-stepper-horizontal, .mat-stepper-vertical {\\n  background-color: white;\\n}\\n.mat-stepper-vertical-line::before {\\n  border-left-color: rgba(0, 0, 0, 0.12);\\n}\\n.mat-horizontal-stepper-header::before,\\n.mat-horizontal-stepper-header::after,\\n.mat-stepper-horizontal-line {\\n  border-top-color: rgba(0, 0, 0, 0.12);\\n}\\n.mat-sort-header-arrow {\\n  color: #757575;\\n}\\n.mat-tab-nav-bar,\\n.mat-tab-header {\\n  border-bottom: 1px solid rgba(0, 0, 0, 0.12);\\n}\\n.mat-tab-group-inverted-header .mat-tab-nav-bar,\\n.mat-tab-group-inverted-header .mat-tab-header {\\n  border-top: 1px solid rgba(0, 0, 0, 0.12);\\n  border-bottom: none;\\n}\\n.mat-tab-label, .mat-tab-link {\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-tab-label.mat-tab-disabled, .mat-tab-link.mat-tab-disabled {\\n  color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-tab-header-pagination-chevron {\\n  border-color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron {\\n  border-color: rgba(0, 0, 0, 0.38);\\n}\\n.mat-tab-group[class*=mat-background-] .mat-tab-header,\\n.mat-tab-nav-bar[class*=mat-background-] {\\n  border-bottom: none;\\n  border-top: none;\\n}\\n.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),\\n.mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),\\n.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),\\n.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),\\n.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled) {\\n  background-color: rgba(197, 202, 233, 0.3);\\n}\\n.mat-tab-group.mat-primary .mat-ink-bar, .mat-tab-nav-bar.mat-primary .mat-ink-bar {\\n  background-color: #3f51b5;\\n}\\n.mat-tab-group.mat-primary.mat-background-primary .mat-ink-bar, .mat-tab-nav-bar.mat-primary.mat-background-primary .mat-ink-bar {\\n  background-color: white;\\n}\\n.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),\\n.mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),\\n.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),\\n.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),\\n.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled) {\\n  background-color: rgba(255, 128, 171, 0.3);\\n}\\n.mat-tab-group.mat-accent .mat-ink-bar, .mat-tab-nav-bar.mat-accent .mat-ink-bar {\\n  background-color: #ff4081;\\n}\\n.mat-tab-group.mat-accent.mat-background-accent .mat-ink-bar, .mat-tab-nav-bar.mat-accent.mat-background-accent .mat-ink-bar {\\n  background-color: white;\\n}\\n.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),\\n.mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),\\n.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),\\n.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),\\n.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled) {\\n  background-color: rgba(255, 205, 210, 0.3);\\n}\\n.mat-tab-group.mat-warn .mat-ink-bar, .mat-tab-nav-bar.mat-warn .mat-ink-bar {\\n  background-color: #f44336;\\n}\\n.mat-tab-group.mat-warn.mat-background-warn .mat-ink-bar, .mat-tab-nav-bar.mat-warn.mat-background-warn .mat-ink-bar {\\n  background-color: white;\\n}\\n.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),\\n.mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),\\n.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),\\n.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),\\n.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled) {\\n  background-color: rgba(197, 202, 233, 0.3);\\n}\\n.mat-tab-group.mat-background-primary .mat-tab-header, .mat-tab-group.mat-background-primary .mat-tab-links, .mat-tab-group.mat-background-primary .mat-tab-header-pagination, .mat-tab-nav-bar.mat-background-primary .mat-tab-header, .mat-tab-nav-bar.mat-background-primary .mat-tab-links, .mat-tab-nav-bar.mat-background-primary .mat-tab-header-pagination {\\n  background-color: #3f51b5;\\n}\\n.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 {\\n  color: white;\\n}\\n.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 {\\n  color: rgba(255, 255, 255, 0.4);\\n}\\n.mat-tab-group.mat-background-primary .mat-tab-header-pagination-chevron, .mat-tab-nav-bar.mat-background-primary .mat-tab-header-pagination-chevron {\\n  border-color: white;\\n}\\n.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 {\\n  border-color: rgba(255, 255, 255, 0.4);\\n}\\n.mat-tab-group.mat-background-primary .mat-ripple-element, .mat-tab-nav-bar.mat-background-primary .mat-ripple-element {\\n  background-color: rgba(255, 255, 255, 0.12);\\n}\\n.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),\\n.mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),\\n.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),\\n.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),\\n.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled) {\\n  background-color: rgba(255, 128, 171, 0.3);\\n}\\n.mat-tab-group.mat-background-accent .mat-tab-header, .mat-tab-group.mat-background-accent .mat-tab-links, .mat-tab-group.mat-background-accent .mat-tab-header-pagination, .mat-tab-nav-bar.mat-background-accent .mat-tab-header, .mat-tab-nav-bar.mat-background-accent .mat-tab-links, .mat-tab-nav-bar.mat-background-accent .mat-tab-header-pagination {\\n  background-color: #ff4081;\\n}\\n.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 {\\n  color: white;\\n}\\n.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 {\\n  color: rgba(255, 255, 255, 0.4);\\n}\\n.mat-tab-group.mat-background-accent .mat-tab-header-pagination-chevron, .mat-tab-nav-bar.mat-background-accent .mat-tab-header-pagination-chevron {\\n  border-color: white;\\n}\\n.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 {\\n  border-color: rgba(255, 255, 255, 0.4);\\n}\\n.mat-tab-group.mat-background-accent .mat-ripple-element, .mat-tab-nav-bar.mat-background-accent .mat-ripple-element {\\n  background-color: rgba(255, 255, 255, 0.12);\\n}\\n.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),\\n.mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),\\n.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),\\n.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),\\n.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled) {\\n  background-color: rgba(255, 205, 210, 0.3);\\n}\\n.mat-tab-group.mat-background-warn .mat-tab-header, .mat-tab-group.mat-background-warn .mat-tab-links, .mat-tab-group.mat-background-warn .mat-tab-header-pagination, .mat-tab-nav-bar.mat-background-warn .mat-tab-header, .mat-tab-nav-bar.mat-background-warn .mat-tab-links, .mat-tab-nav-bar.mat-background-warn .mat-tab-header-pagination {\\n  background-color: #f44336;\\n}\\n.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 {\\n  color: white;\\n}\\n.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 {\\n  color: rgba(255, 255, 255, 0.4);\\n}\\n.mat-tab-group.mat-background-warn .mat-tab-header-pagination-chevron, .mat-tab-nav-bar.mat-background-warn .mat-tab-header-pagination-chevron {\\n  border-color: white;\\n}\\n.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 {\\n  border-color: rgba(255, 255, 255, 0.4);\\n}\\n.mat-tab-group.mat-background-warn .mat-ripple-element, .mat-tab-nav-bar.mat-background-warn .mat-ripple-element {\\n  background-color: rgba(255, 255, 255, 0.12);\\n}\\n.mat-toolbar {\\n  background: whitesmoke;\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-toolbar.mat-primary {\\n  background: #3f51b5;\\n  color: white;\\n}\\n.mat-toolbar.mat-accent {\\n  background: #ff4081;\\n  color: white;\\n}\\n.mat-toolbar.mat-warn {\\n  background: #f44336;\\n  color: white;\\n}\\n.mat-toolbar .mat-form-field-underline,\\n.mat-toolbar .mat-form-field-ripple,\\n.mat-toolbar .mat-focused .mat-form-field-ripple {\\n  background-color: currentColor;\\n}\\n.mat-toolbar .mat-form-field-label,\\n.mat-toolbar .mat-focused .mat-form-field-label,\\n.mat-toolbar .mat-select-value,\\n.mat-toolbar .mat-select-arrow,\\n.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow {\\n  color: inherit;\\n}\\n.mat-toolbar .mat-input-element {\\n  caret-color: currentColor;\\n}\\n.mat-tooltip {\\n  background: rgba(97, 97, 97, 0.9);\\n}\\n.mat-tree {\\n  background: white;\\n}\\n.mat-tree-node,\\n.mat-nested-tree-node {\\n  color: rgba(0, 0, 0, 0.87);\\n}\\n.mat-snack-bar-container {\\n  color: rgba(255, 255, 255, 0.7);\\n  background: #323232;\\n  box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);\\n}\\n.mat-simple-snackbar-action {\\n  color: #ff4081;\\n}\\n/* You can add global styles to this file, and also import other style files */\\nhtml, body {\\n  height: 100%;\\n}\\nbody {\\n  margin: 0;\\n  font-family: \\\"Helvetica Neue\\\", sans-serif;\\n  font-size: 16px;\\n  font-weight: bold;\\n  -webkit-font-smoothing: antialiased;\\n}\\nh1, h2, h3, h4, h5, p, li, ul {\\n  margin: 0;\\n  padding: 0;\\n}\\n.panel-success {\\n  color: #A9E5AC;\\n}\\n.panel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ICAgNzogJzBweCA3cHggMTBweCAxcHggI3skc2hhZG93LWNvbG9yfScsXG4gICAgODogJzBweCA4cHggMTBweCAxcHggI3skc2hhZG93LWNvbG9yfScsXG4gICAgOTogJzBweCA5cHggMTJweCAxcHggI3skc2hhZG93LWNvbG9yfScsXG4gICAgMTA6ICcwcHggMTBweCAxNHB4IDFweCAjeyRzaGFkb3ctY29sb3J9JyxcbiAgICAxMTogJzBweCAxMXB4IDE1cHggMXB4ICN7JHNoYWRvdy1jb2xvcn0nLFxuICAgIDEyOiAnMHB4IDEycHggMTdweCAycHggI3skc2hhZG93LWNvbG9yfScsXG4gICAgMTM6ICcwcHggMTNweCAxOXB4IDJweCAjeyRzaGFkb3ctY29sb3J9JyxcbiAgICAxNDogJzBweCAxNHB4IDIxcHggMnB4ICN7JHNoYWRvdy1jb2xvcn0nLFxuICAgIDE1OiAnMHB4IDE1cHggMjJweCAycHggI3skc2hhZG93LWNvbG9yfScsXG4gICAgMTY6ICcwcHggMTZweCAyNHB4IDJweCAjeyRzaGFkb3ctY29sb3J9JyxcbiAgICAxNzogJzBweCAxN3B4IDI2cHggMnB4ICN7JHNoYWRvdy1jb2xvcn0nLFxuICAgIDE4OiAnMHB4IDE4cHggMjhweCAycHggI3skc2hhZG93LWNvbG9yfScsXG4gICAgMTk6ICcwcHggMTlweCAyOXB4IDJweCAjeyRzaGFkb3ctY29sb3J9JyxcbiAgICAyMDogJzBweCAyMHB4IDMxcHggM3B4ICN7JHNoYWRvdy1jb2xvcn0nLFxuICAgIDIxOiAnMHB4IDIxcHggMzNweCAzcHggI3skc2hhZG93LWNvbG9yfScsXG4gICAgMjI6ICcwcHggMjJweCAzNXB4IDNweCAjeyRzaGFkb3ctY29sb3J9JyxcbiAgICAyMzogJzBweCAyM3B4IDM2cHggM3B4ICN7JHNoYWRvdy1jb2xvcn0nLFxuICAgIDI0OiAnMHB4IDI0cHggMzhweCAzcHggI3skc2hhZG93LWNvbG9yfSdcbiAgKTtcbn1cblxuQGZ1bmN0aW9uIF9nZXQtYW1iaWVudC1tYXAoJGNvbG9yLCAkb3BhY2l0eSkge1xuICAkc2hhZG93LWNvbG9yOiBpZih0eXBlLW9mKCRjb2xvcikgPT0gY29sb3IsIHJnYmEoJGNvbG9yLCAkb3BhY2l0eSAqIDAuMTIpLCAkY29sb3IpO1xuXG4gIEByZXR1cm4gKFxuICAgIDA6ICcwcHggMHB4IDBweCAwcHggI3skc2hhZG93LWNvbG9yfScsXG4gICAgMTogJzBweCAxcHggM3B4IDBweCAjeyRzaGFkb3ctY29sb3J9JyxcbiAgICAyOiAnMHB4IDFweCA1cHggMHB4ICN7JHNoYWRvdy1jb2xvcn0nLFxuICAgIDM6ICcwcHggMXB4IDhweCAwcHggI3skc2hhZG93LWNvbG9yfScsXG4gICAgNDogJzBweCAxcHggMTBweCAwcHggI3skc2hhZG93LWNvbG9yfScsXG4gICAgNTogJzBweCAxcHggMTRweCAwcHggI3skc2hhZG93LWNvbG9yfScsXG4gICAgNjogJzBweCAxcHggMThweCAwcHggI3skc2hhZG93LWNvbG9yfScsXG4gICAgNzogJzBweCAycHggMTZweCAxcHggI3skc2hhZG93LWNvbG9yfScsXG4gICAgODogJzBweCAzcHggMTRweCAycHggI3skc2hhZG93LWNvbG9yfScsXG4gICAgOTogJzBweCAzcHggMTZweCAycHggI3skc2hhZG93LWNvbG9yfScsXG4gICAgMTA6ICcwcHggNHB4IDE4cHggM3B4ICN7JHNoYWRvdy1jb2xvcn0nLFxuICAgIDExOiAnMHB4IDRweCAyMHB4IDNweCAjeyRzaGFkb3ctY29sb3J9JyxcbiAgICAxMjogJzBweCA1cHggMjJweCA0cHggI3skc2hhZG93LWNvbG9yfScsXG4gICAgMTM6ICcwcHggNXB4IDI0cHggNHB4ICN7JHNoYWRvdy1jb2xvcn0nLFxuICAgIDE0OiAnMHB4IDVweCAyNnB4IDRweCAjeyRzaGFkb3ctY29sb3J9JyxcbiAgICAxNTogJzBweCA2cHggMjhweCA1cHggI3skc2hhZG93LW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VxuYm9keSB7IG1hcmdpbjogMDsgZm9udC1mYW1pbHk6ICRwcmltYXJ5LWZvbnQ7IGZvbnQtc2l6ZTogMTZweDsgZm9udC13ZWlnaHQ6IGJvbGQ7IC13ZWJraXQtZm9udC1zbW9vdGhpbmc6IGFudGlhbGlhc2VkfVxuXG5oMSxoMixoMyxoNCxoNSxwLGxpLHVsIHtcbiAgICBtYXJnaW46IDA7XG4gICAgcGFkZGluZzogMDtcbn1cblxuJHByaW1hcnktZm9udDogJ0hlbHZldGljYSBOZXVlJywgc2Fucy1zZXJpZjtcbiRzZWNvbmRhcnktZm9udDogLWFwcGxlLXN5c3RlbSwgQmxpbmtNYWNTeXN0ZW1Gb250LCAnU2Vnb2UgVUknO1xuXG4ucGFuZWwtc3VjY2VzcyB7XG4gICAgY29sb3I6ICRwcmltYXJ5LWNvbG9yO1xufVxuXG4ucGFuZWwtZXJyb3Ige1xuICAgIGNvbG9yOiByZWQ7XG59IiwiXG4kcHJpbWFyeS1mb250OiAnSGVsdmV0aWNhIE5ldWUnLCBzYW5zLXNlcmlmO1xuJHNlY29uZGFyeS1mb250OiAtYXBwbGUtc3lzdGVtLCBCbGlua01hY1N5c3RlbUZvbnQsICdTZWdvZSBVSSc7XG5cbi8vIENvbG9yc1xuXG4kcHJpbWFyeS1jb2xvcjogI0E5RTVBQzsiXX0= */\", '', '']];\n    /***/\n  },\n\n  /***/\n  \"./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\":\n  /*!****************************************************************************!*\\\n    !*** ./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js ***!\n    \\****************************************************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesStyleLoaderDistRuntimeInjectStylesIntoStyleTagJs(module, exports, __webpack_require__) {\n    \"use strict\";\n\n    var stylesInDom = {};\n\n    var isOldIE = function isOldIE() {\n      var memo;\n      return function memorize() {\n        if (typeof memo === 'undefined') {\n          // Test for IE <= 9 as proposed by Browserhacks\n          // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805\n          // Tests for existence of standard globals is to allow style-loader\n          // to operate correctly into non-standard environments\n          // @see https://github.com/webpack-contrib/style-loader/issues/177\n          memo = Boolean(window && document && document.all && !window.atob);\n        }\n\n        return memo;\n      };\n    }();\n\n    var getTarget = function getTarget() {\n      var memo = {};\n      return function memorize(target) {\n        if (typeof memo[target] === 'undefined') {\n          var styleTarget = document.querySelector(target); // Special case to return head of iframe instead of iframe itself\n\n          if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n            try {\n              // This will throw an exception if access to iframe is blocked\n              // due to cross-origin restrictions\n              styleTarget = styleTarget.contentDocument.head;\n            } catch (e) {\n              // istanbul ignore next\n              styleTarget = null;\n            }\n          }\n\n          memo[target] = styleTarget;\n        }\n\n        return memo[target];\n      };\n    }();\n\n    function listToStyles(list, options) {\n      var styles = [];\n      var newStyles = {};\n\n      for (var i = 0; i < list.length; i++) {\n        var item = list[i];\n        var id = options.base ? item[0] + options.base : item[0];\n        var css = item[1];\n        var media = item[2];\n        var sourceMap = item[3];\n        var part = {\n          css: css,\n          media: media,\n          sourceMap: sourceMap\n        };\n\n        if (!newStyles[id]) {\n          styles.push(newStyles[id] = {\n            id: id,\n            parts: [part]\n          });\n        } else {\n          newStyles[id].parts.push(part);\n        }\n      }\n\n      return styles;\n    }\n\n    function addStylesToDom(styles, options) {\n      for (var i = 0; i < styles.length; i++) {\n        var item = styles[i];\n        var domStyle = stylesInDom[item.id];\n        var j = 0;\n\n        if (domStyle) {\n          domStyle.refs++;\n\n          for (; j < domStyle.parts.length; j++) {\n            domStyle.parts[j](item.parts[j]);\n          }\n\n          for (; j < item.parts.length; j++) {\n            domStyle.parts.push(addStyle(item.parts[j], options));\n          }\n        } else {\n          var parts = [];\n\n          for (; j < item.parts.length; j++) {\n            parts.push(addStyle(item.parts[j], options));\n          }\n\n          stylesInDom[item.id] = {\n            id: item.id,\n            refs: 1,\n            parts: parts\n          };\n        }\n      }\n    }\n\n    function insertStyleElement(options) {\n      var style = document.createElement('style');\n\n      if (typeof options.attributes.nonce === 'undefined') {\n        var nonce = true ? __webpack_require__.nc : undefined;\n\n        if (nonce) {\n          options.attributes.nonce = nonce;\n        }\n      }\n\n      Object.keys(options.attributes).forEach(function (key) {\n        style.setAttribute(key, options.attributes[key]);\n      });\n\n      if (typeof options.insert === 'function') {\n        options.insert(style);\n      } else {\n        var target = getTarget(options.insert || 'head');\n\n        if (!target) {\n          throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n        }\n\n        target.appendChild(style);\n      }\n\n      return style;\n    }\n\n    function removeStyleElement(style) {\n      // istanbul ignore if\n      if (style.parentNode === null) {\n        return false;\n      }\n\n      style.parentNode.removeChild(style);\n    }\n    /* istanbul ignore next  */\n\n\n    var replaceText = function replaceText() {\n      var textStore = [];\n      return function replace(index, replacement) {\n        textStore[index] = replacement;\n        return textStore.filter(Boolean).join('\\n');\n      };\n    }();\n\n    function applyToSingletonTag(style, index, remove, obj) {\n      var css = remove ? '' : obj.css; // For old IE\n\n      /* istanbul ignore if  */\n\n      if (style.styleSheet) {\n        style.styleSheet.cssText = replaceText(index, css);\n      } else {\n        var cssNode = document.createTextNode(css);\n        var childNodes = style.childNodes;\n\n        if (childNodes[index]) {\n          style.removeChild(childNodes[index]);\n        }\n\n        if (childNodes.length) {\n          style.insertBefore(cssNode, childNodes[index]);\n        } else {\n          style.appendChild(cssNode);\n        }\n      }\n    }\n\n    function applyToTag(style, options, obj) {\n      var css = obj.css;\n      var media = obj.media;\n      var sourceMap = obj.sourceMap;\n\n      if (media) {\n        style.setAttribute('media', media);\n      }\n\n      if (sourceMap && btoa) {\n        css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n      } // For old IE\n\n      /* istanbul ignore if  */\n\n\n      if (style.styleSheet) {\n        style.styleSheet.cssText = css;\n      } else {\n        while (style.firstChild) {\n          style.removeChild(style.firstChild);\n        }\n\n        style.appendChild(document.createTextNode(css));\n      }\n    }\n\n    var singleton = null;\n    var singletonCounter = 0;\n\n    function addStyle(obj, options) {\n      var style;\n      var update;\n      var remove;\n\n      if (options.singleton) {\n        var styleIndex = singletonCounter++;\n        style = singleton || (singleton = insertStyleElement(options));\n        update = applyToSingletonTag.bind(null, style, styleIndex, false);\n        remove = applyToSingletonTag.bind(null, style, styleIndex, true);\n      } else {\n        style = insertStyleElement(options);\n        update = applyToTag.bind(null, style, options);\n\n        remove = function remove() {\n          removeStyleElement(style);\n        };\n      }\n\n      update(obj);\n      return function updateStyle(newObj) {\n        if (newObj) {\n          if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap) {\n            return;\n          }\n\n          update(obj = newObj);\n        } else {\n          remove();\n        }\n      };\n    }\n\n    module.exports = function (list, options) {\n      options = options || {};\n      options.attributes = typeof options.attributes === 'object' ? options.attributes : {}; // Force single-tag solution on IE6-9, which has a hard limit on the # of <style>\n      // tags it will allow on a page\n\n      if (!options.singleton && typeof options.singleton !== 'boolean') {\n        options.singleton = isOldIE();\n      }\n\n      var styles = listToStyles(list, options);\n      addStylesToDom(styles, options);\n      return function update(newList) {\n        var mayRemove = [];\n\n        for (var i = 0; i < styles.length; i++) {\n          var item = styles[i];\n          var domStyle = stylesInDom[item.id];\n\n          if (domStyle) {\n            domStyle.refs--;\n            mayRemove.push(domStyle);\n          }\n        }\n\n        if (newList) {\n          var newStyles = listToStyles(newList, options);\n          addStylesToDom(newStyles, options);\n        }\n\n        for (var _i = 0; _i < mayRemove.length; _i++) {\n          var _domStyle = mayRemove[_i];\n\n          if (_domStyle.refs === 0) {\n            for (var j = 0; j < _domStyle.parts.length; j++) {\n              _domStyle.parts[j]();\n            }\n\n            delete stylesInDom[_domStyle.id];\n          }\n        }\n      };\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./src/styles.scss\":\n  /*!*************************!*\\\n    !*** ./src/styles.scss ***!\n    \\*************************/\n\n  /*! no static exports found */\n\n  /***/\n  function srcStylesScss(module, exports, __webpack_require__) {\n    var content = __webpack_require__(\n    /*! !../node_modules/@angular-devkit/build-angular/src/angular-cli-files/plugins/raw-css-loader.js!../node_modules/postcss-loader/src??embedded!../node_modules/sass-loader/lib/loader.js??ref--15-3!./styles.scss */\n    \"./node_modules/@angular-devkit/build-angular/src/angular-cli-files/plugins/raw-css-loader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/lib/loader.js?!./src/styles.scss\");\n\n    if (typeof content === 'string') {\n      content = [[module.i, content, '']];\n    }\n\n    var options = {};\n    options.insert = \"head\";\n    options.singleton = false;\n\n    var update = __webpack_require__(\n    /*! ../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */\n    \"./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\n    if (content.locals) {\n      module.exports = content.locals;\n    }\n    /***/\n\n  },\n\n  /***/\n  3:\n  /*!*******************************!*\\\n    !*** multi ./src/styles.scss ***!\n    \\*******************************/\n\n  /*! no static exports found */\n\n  /***/\n  function _(module, exports, __webpack_require__) {\n    module.exports = __webpack_require__(\n    /*! /Users/alex/Desktop/obscurify3/src/styles.scss */\n    \"./src/styles.scss\");\n    /***/\n  }\n}, [[3, \"runtime\"]]]);\n//# sourceMappingURL=styles-es5.js.map"
  },
  {
    "path": "frontend/dist/obscurify3/vendor-es2015.js",
    "content": "(window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || []).push([[\"vendor\"],{\n\n/***/ \"./node_modules/@angular/animations/fesm2015/animations.js\":\n/*!*****************************************************************!*\\\n  !*** ./node_modules/@angular/animations/fesm2015/animations.js ***!\n  \\*****************************************************************/\n/*! exports provided: AnimationBuilder, AnimationFactory, AUTO_STYLE, animate, animateChild, animation, group, keyframes, query, sequence, stagger, state, style, transition, trigger, useAnimation, NoopAnimationPlayer, ɵAnimationGroupPlayer, ɵPRE_STYLE */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AnimationBuilder\", function() { return AnimationBuilder; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AnimationFactory\", function() { return AnimationFactory; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AUTO_STYLE\", function() { return AUTO_STYLE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"animate\", function() { return animate; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"animateChild\", function() { return animateChild; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"animation\", function() { return animation; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"group\", function() { return group; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"keyframes\", function() { return keyframes; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"query\", function() { return query; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"sequence\", function() { return sequence; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"stagger\", function() { return stagger; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"state\", function() { return state; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"style\", function() { return style; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"transition\", function() { return transition; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"trigger\", function() { return trigger; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"useAnimation\", function() { return useAnimation; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NoopAnimationPlayer\", function() { return NoopAnimationPlayer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵAnimationGroupPlayer\", function() { return AnimationGroupPlayer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵPRE_STYLE\", function() { return ɵPRE_STYLE; });\n/**\n * @license Angular v8.2.14\n * (c) 2010-2019 Google LLC. https://angular.io/\n * License: MIT\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * An injectable service that produces an animation sequence programmatically within an\n * Angular component or directive.\n * Provided by the `BrowserAnimationsModule` or `NoopAnimationsModule`.\n *\n * \\@usageNotes\n *\n * To use this service, add it to your component or directive as a dependency.\n * The service is instantiated along with your component.\n *\n * Apps do not typically need to create their own animation players, but if you\n * do need to, follow these steps:\n *\n * 1. Use the `build()` method to create a programmatic animation using the\n * `animate()` function. The method returns an `AnimationFactory` instance.\n *\n * 2. Use the factory object to create an `AnimationPlayer` and attach it to a DOM element.\n *\n * 3. Use the player object to control the animation programmatically.\n *\n * For example:\n *\n * ```ts\n * // import the service from BrowserAnimationsModule\n * import {AnimationBuilder} from '\\@angular/animations';\n * // require the service as a dependency\n * class MyCmp {\n *   constructor(private _builder: AnimationBuilder) {}\n *\n *   makeAnimation(element: any) {\n *     // first define a reusable animation\n *     const myAnimation = this._builder.build([\n *       style({ width: 0 }),\n *       animate(1000, style({ width: '100px' }))\n *     ]);\n *\n *     // use the returned factory object to create a player\n *     const player = myAnimation.create(element);\n *\n *     player.play();\n *   }\n * }\n * ```\n *\n * \\@publicApi\n * @abstract\n */\nclass AnimationBuilder {\n}\nif (false) {}\n/**\n * A factory object returned from the `AnimationBuilder`.`build()` method.\n *\n * \\@publicApi\n * @abstract\n */\nclass AnimationFactory {\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Represents a set of CSS styles for use in an animation style.\n * @record\n */\nfunction ɵStyleData() { }\n/** @enum {number} */\nconst AnimationMetadataType = {\n    /**\n     * Associates a named animation state with a set of CSS styles.\n     * See `state()`\n     */\n    State: 0,\n    /**\n     * Data for a transition from one animation state to another.\n     * See `transition()`\n     */\n    Transition: 1,\n    /**\n     * Contains a set of animation steps.\n     * See `sequence()`\n     */\n    Sequence: 2,\n    /**\n     * Contains a set of animation steps.\n     * See `{@link animations/group group()}`\n     */\n    Group: 3,\n    /**\n     * Contains an animation step.\n     * See `animate()`\n     */\n    Animate: 4,\n    /**\n     * Contains a set of animation steps.\n     * See `keyframes()`\n     */\n    Keyframes: 5,\n    /**\n     * Contains a set of CSS property-value pairs into a named style.\n     * See `style()`\n     */\n    Style: 6,\n    /**\n     * Associates an animation with an entry trigger that can be attached to an element.\n     * See `trigger()`\n     */\n    Trigger: 7,\n    /**\n     * Contains a re-usable animation.\n     * See `animation()`\n     */\n    Reference: 8,\n    /**\n     * Contains data to use in executing child animations returned by a query.\n     * See `animateChild()`\n     */\n    AnimateChild: 9,\n    /**\n     * Contains animation parameters for a re-usable animation.\n     * See `useAnimation()`\n     */\n    AnimateRef: 10,\n    /**\n     * Contains child-animation query data.\n     * See `query()`\n     */\n    Query: 11,\n    /**\n     * Contains data for staggering an animation sequence.\n     * See `stagger()`\n     */\n    Stagger: 12,\n};\n/**\n * Specifies automatic styling.\n *\n * \\@publicApi\n * @type {?}\n */\nconst AUTO_STYLE = '*';\n/**\n * Base for animation data structures.\n *\n * \\@publicApi\n * @record\n */\nfunction AnimationMetadata() { }\nif (false) {}\n/**\n * Contains an animation trigger. Instantiated and returned by the\n * `trigger()` function.\n *\n * \\@publicApi\n * @record\n */\nfunction AnimationTriggerMetadata() { }\nif (false) {}\n/**\n * Encapsulates an animation state by associating a state name with a set of CSS styles.\n * Instantiated and returned by the `state()` function.\n *\n * \\@publicApi\n * @record\n */\nfunction AnimationStateMetadata() { }\nif (false) {}\n/**\n * Encapsulates an animation transition. Instantiated and returned by the\n * `transition()` function.\n *\n * \\@publicApi\n * @record\n */\nfunction AnimationTransitionMetadata() { }\nif (false) {}\n/**\n * Encapsulates a reusable animation, which is a collection of individual animation steps.\n * Instantiated and returned by the `animation()` function, and\n * passed to the `useAnimation()` function.\n *\n * \\@publicApi\n * @record\n */\nfunction AnimationReferenceMetadata() { }\nif (false) {}\n/**\n * Encapsulates an animation query. Instantiated and returned by\n * the `query()` function.\n *\n * \\@publicApi\n * @record\n */\nfunction AnimationQueryMetadata() { }\nif (false) {}\n/**\n * Encapsulates a keyframes sequence. Instantiated and returned by\n * the `keyframes()` function.\n *\n * \\@publicApi\n * @record\n */\nfunction AnimationKeyframesSequenceMetadata() { }\nif (false) {}\n/**\n * Encapsulates an animation style. Instantiated and returned by\n * the `style()` function.\n *\n * \\@publicApi\n * @record\n */\nfunction AnimationStyleMetadata() { }\nif (false) {}\n/**\n * Encapsulates an animation step. Instantiated and returned by\n * the `animate()` function.\n *\n * \\@publicApi\n * @record\n */\nfunction AnimationAnimateMetadata() { }\nif (false) {}\n/**\n * Encapsulates a child animation, that can be run explicitly when the parent is run.\n * Instantiated and returned by the `animateChild` function.\n *\n * \\@publicApi\n * @record\n */\nfunction AnimationAnimateChildMetadata() { }\nif (false) {}\n/**\n * Encapsulates a reusable animation.\n * Instantiated and returned by the `useAnimation()` function.\n *\n * \\@publicApi\n * @record\n */\nfunction AnimationAnimateRefMetadata() { }\nif (false) {}\n/**\n * Encapsulates an animation sequence.\n * Instantiated and returned by the `sequence()` function.\n *\n * \\@publicApi\n * @record\n */\nfunction AnimationSequenceMetadata() { }\nif (false) {}\n/**\n * Encapsulates an animation group.\n * Instantiated and returned by the `{\\@link animations/group group()}` function.\n *\n * \\@publicApi\n * @record\n */\nfunction AnimationGroupMetadata() { }\nif (false) {}\n/**\n * Encapsulates parameters for staggering the start times of a set of animation steps.\n * Instantiated and returned by the `stagger()` function.\n *\n * \\@publicApi\n *\n * @record\n */\nfunction AnimationStaggerMetadata() { }\nif (false) {}\n/**\n * Creates a named animation trigger, containing a  list of `state()`\n * and `transition()` entries to be evaluated when the expression\n * bound to the trigger changes.\n *\n * \\@usageNotes\n * Define an animation trigger in the `animations` section of `\\@Component` metadata.\n * In the template, reference the trigger by name and bind it to a trigger expression that\n * evaluates to a defined animation state, using the following format:\n *\n * `[\\@triggerName]=\"expression\"`\n *\n * Animation trigger bindings convert all values to strings, and then match the\n * previous and current values against any linked transitions.\n * Booleans can be specified as `1` or `true` and `0` or `false`.\n *\n * ### Usage Example\n *\n * The following example creates an animation trigger reference based on the provided\n * name value.\n * The provided animation value is expected to be an array consisting of state and\n * transition declarations.\n *\n * ```typescript\n * \\@Component({\n *   selector: \"my-component\",\n *   templateUrl: \"my-component-tpl.html\",\n *   animations: [\n *     trigger(\"myAnimationTrigger\", [\n *       state(...),\n *       state(...),\n *       transition(...),\n *       transition(...)\n *     ])\n *   ]\n * })\n * class MyComponent {\n *   myStatusExp = \"something\";\n * }\n * ```\n *\n * The template associated with this component makes use of the defined trigger\n * by binding to an element within its template code.\n *\n * ```html\n * <!-- somewhere inside of my-component-tpl.html -->\n * <div [\\@myAnimationTrigger]=\"myStatusExp\">...</div>\n * ```\n *\n * ### Using an inline function\n * The `transition` animation method also supports reading an inline function which can decide\n * if its associated animation should be run.\n *\n * ```typescript\n * // this method is run each time the `myAnimationTrigger` trigger value changes.\n * function myInlineMatcherFn(fromState: string, toState: string, element: any, params: {[key:\n * string]: any}): boolean {\n *   // notice that `element` and `params` are also available here\n *   return toState == 'yes-please-animate';\n * }\n *  /\n *   selector: 'my-component',\n *   templateUrl: 'my-component-tpl.html',\n *   animations: [\n *     trigger('myAnimationTrigger', [\n *       transition(myInlineMatcherFn, [\n *         // the animation sequence code\n *       ]),\n *     ])\n *   ]\n * })\n * class MyComponent {\n *   myStatusExp = \"yes-please-animate\";\n * }\n * ```\n *\n * ### Disabling Animations\n * When true, the special animation control binding `\\@.disabled` binding prevents\n * all animations from rendering.\n * Place the  `\\@.disabled` binding on an element to disable\n * animations on the element itself, as well as any inner animation triggers\n * within the element.\n *\n * The following example shows how to use this feature:\n *\n * ```typescript /\n *   selector: 'my-component',\n *   template: `\n *     <div [\\@.disabled]=\"isDisabled\">\n *       <div [\\@childAnimation]=\"exp\"></div>\n *     </div>\n *   `,\n *   animations: [\n *     trigger(\"childAnimation\", [\n *       // ...\n *     ])\n *   ]\n * })\n * class MyComponent {\n *   isDisabled = true;\n *   exp = '...';\n * }\n * ```\n *\n * When `\\@.disabled` is true, it prevents the `\\@childAnimation` trigger from animating,\n * along with any inner animations.\n *\n * ### Disable animations application-wide\n * When an area of the template is set to have animations disabled,\n * **all** inner components have their animations disabled as well.\n * This means that you can disable all animations for an app\n * by placing a host binding set on `\\@.disabled` on the topmost Angular component.\n *\n * ```typescript\n * import {Component, HostBinding} from '\\@angular/core';\n *  /\n *   selector: 'app-component',\n *   templateUrl: 'app.component.html',\n * })\n * class AppComponent {\n * \\@HostBinding('@.disabled')\n *   public animationsDisabled = true;\n * }\n * ```\n *\n * ### Overriding disablement of inner animations\n * Despite inner animations being disabled, a parent animation can `query()`\n * for inner elements located in disabled areas of the template and still animate\n * them if needed. This is also the case for when a sub animation is\n * queried by a parent and then later animated using `animateChild()`.\n *\n * ### Detecting when an animation is disabled\n * If a region of the DOM (or the entire application) has its animations disabled, the animation\n * trigger callbacks still fire, but for zero seconds. When the callback fires, it provides\n * an instance of an `AnimationEvent`. If animations are disabled,\n * the `.disabled` flag on the event is true.\n *\n * \\@publicApi\n * @param {?} name An identifying string.\n * @param {?} definitions  An animation definition object, containing an array of `state()`\n * and `transition()` declarations.\n *\n * @return {?} An object that encapsulates the trigger data.\n *\n */\nfunction trigger(name, definitions) {\n    return { type: 7 /* Trigger */, name, definitions, options: {} };\n}\n/**\n * Defines an animation step that combines styling information with timing information.\n *\n * \\@usageNotes\n * Call within an animation `sequence()`, `{\\@link animations/group group()}`, or\n * `transition()` call to specify an animation step\n * that applies given style data to the parent animation for a given amount of time.\n *\n * ### Syntax Examples\n * **Timing examples**\n *\n * The following examples show various `timings` specifications.\n * - `animate(500)` : Duration is 500 milliseconds.\n * - `animate(\"1s\")` : Duration is 1000 milliseconds.\n * - `animate(\"100ms 0.5s\")` : Duration is 100 milliseconds, delay is 500 milliseconds.\n * - `animate(\"5s ease-in\")` : Duration is 5000 milliseconds, easing in.\n * - `animate(\"5s 10ms cubic-bezier(.17,.67,.88,.1)\")` : Duration is 5000 milliseconds, delay is 10\n * milliseconds, easing according to a bezier curve.\n *\n * **Style examples**\n *\n * The following example calls `style()` to set a single CSS style.\n * ```typescript\n * animate(500, style({ background: \"red\" }))\n * ```\n * The following example calls `keyframes()` to set a CSS style\n * to different values for successive keyframes.\n * ```typescript\n * animate(500, keyframes(\n *  [\n *   style({ background: \"blue\" })),\n *   style({ background: \"red\" }))\n *  ])\n * ```\n *\n * \\@publicApi\n * @param {?} timings Sets `AnimateTimings` for the parent animation.\n * A string in the format \"duration [delay] [easing]\".\n *  - Duration and delay are expressed as a number and optional time unit,\n * such as \"1s\" or \"10ms\" for one second and 10 milliseconds, respectively.\n * The default unit is milliseconds.\n *  - The easing value controls how the animation accelerates and decelerates\n * during its runtime. Value is one of  `ease`, `ease-in`, `ease-out`,\n * `ease-in-out`, or a `cubic-bezier()` function call.\n * If not supplied, no easing is applied.\n *\n * For example, the string \"1s 100ms ease-out\" specifies a duration of\n * 1000 milliseconds, and delay of 100 ms, and the \"ease-out\" easing style,\n * which decelerates near the end of the duration.\n * @param {?=} styles Sets AnimationStyles for the parent animation.\n * A function call to either `style()` or `keyframes()`\n * that returns a collection of CSS style entries to be applied to the parent animation.\n * When null, uses the styles from the destination state.\n * This is useful when describing an animation step that will complete an animation;\n * see \"Animating to the final state\" in `transitions()`.\n * @return {?} An object that encapsulates the animation step.\n *\n */\nfunction animate(timings, styles = null) {\n    return { type: 4 /* Animate */, styles, timings };\n}\n/**\n * \\@description Defines a list of animation steps to be run in parallel.\n *\n * \\@usageNotes\n * Grouped animations are useful when a series of styles must be\n * animated at different starting times and closed off at different ending times.\n *\n * When called within a `sequence()` or a\n * `transition()` call, does not continue to the next\n * instruction until all of the inner animation steps have completed.\n *\n * \\@publicApi\n * @param {?} steps An array of animation step objects.\n * - When steps are defined by `style()` or `animate()`\n * function calls, each call within the group is executed instantly.\n * - To specify offset styles to be applied at a later time, define steps with\n * `keyframes()`, or use `animate()` calls with a delay value.\n * For example:\n *\n * ```typescript\n * group([\n *   animate(\"1s\", style({ background: \"black\" })),\n *   animate(\"2s\", style({ color: \"white\" }))\n * ])\n * ```\n *\n * @param {?=} options An options object containing a delay and\n * developer-defined parameters that provide styling defaults and\n * can be overridden on invocation.\n *\n * @return {?} An object that encapsulates the group data.\n *\n */\nfunction group(steps, options = null) {\n    return { type: 3 /* Group */, steps, options };\n}\n/**\n * Defines a list of animation steps to be run sequentially, one by one.\n *\n * \\@usageNotes\n * When you pass an array of steps to a\n * `transition()` call, the steps run sequentially by default.\n * Compare this to the `{\\@link animations/group group()}` call, which runs animation steps in parallel.\n *\n * When a sequence is used within a `{\\@link animations/group group()}` or a `transition()` call,\n * execution continues to the next instruction only after each of the inner animation\n * steps have completed.\n *\n * \\@publicApi\n *\n * @param {?} steps An array of animation step objects.\n * - Steps defined by `style()` calls apply the styling data immediately.\n * - Steps defined by `animate()` calls apply the styling data over time\n *   as specified by the timing data.\n *\n * ```typescript\n * sequence([\n *   style({ opacity: 0 }),\n *   animate(\"1s\", style({ opacity: 1 }))\n * ])\n * ```\n *\n * @param {?=} options An options object containing a delay and\n * developer-defined parameters that provide styling defaults and\n * can be overridden on invocation.\n *\n * @return {?} An object that encapsulates the sequence data.\n *\n */\nfunction sequence(steps, options = null) {\n    return { type: 2 /* Sequence */, steps, options };\n}\n/**\n * Declares a key/value object containing CSS properties/styles that\n * can then be used for an animation `state`, within an animation `sequence`,\n * or as styling data for calls to `animate()` and `keyframes()`.\n *\n * \\@usageNotes\n * The following examples create animation styles that collect a set of\n * CSS property values:\n *\n * ```typescript\n * // string values for CSS properties\n * style({ background: \"red\", color: \"blue\" })\n *\n * // numerical pixel values\n * style({ width: 100, height: 0 })\n * ```\n *\n * The following example uses auto-styling to allow a component to animate from\n * a height of 0 up to the height of the parent element:\n *\n * ```\n * style({ height: 0 }),\n * animate(\"1s\", style({ height: \"*\" }))\n * ```\n *\n * \\@publicApi\n *\n * @param {?} tokens A set of CSS styles or HTML styles associated with an animation state.\n * The value can be any of the following:\n * - A key-value style pair associating a CSS property with a value.\n * - An array of key-value style pairs.\n * - An asterisk (*), to use auto-styling, where styles are derived from the element\n * being animated and applied to the animation when it starts.\n *\n * Auto-styling can be used to define a state that depends on layout or other\n * environmental factors.\n *\n * @return {?} An object that encapsulates the style data.\n *\n */\nfunction style(tokens) {\n    return { type: 6 /* Style */, styles: tokens, offset: null };\n}\n/**\n * Declares an animation state within a trigger attached to an element.\n *\n * \\@usageNotes\n * Use the `trigger()` function to register states to an animation trigger.\n * Use the `transition()` function to animate between states.\n * When a state is active within a component, its associated styles persist on the element,\n * even when the animation ends.\n *\n * \\@publicApi\n *\n * @param {?} name One or more names for the defined state in a comma-separated string.\n * The following reserved state names can be supplied to define a style for specific use\n * cases:\n *\n * - `void` You can associate styles with this name to be used when\n * the element is detached from the application. For example, when an `ngIf` evaluates\n * to false, the state of the associated element is void.\n *  - `*` (asterisk) Indicates the default state. You can associate styles with this name\n * to be used as the fallback when the state that is being animated is not declared\n * within the trigger.\n *\n * @param {?} styles A set of CSS styles associated with this state, created using the\n * `style()` function.\n * This set of styles persists on the element once the state has been reached.\n * @param {?=} options Parameters that can be passed to the state when it is invoked.\n * 0 or more key-value pairs.\n * @return {?} An object that encapsulates the new state data.\n *\n */\nfunction state(name, styles, options) {\n    return { type: 0 /* State */, name, styles, options };\n}\n/**\n * Defines a set of animation styles, associating each style with an optional `offset` value.\n *\n * \\@usageNotes\n * Use with the `animate()` call. Instead of applying animations\n * from the current state\n * to the destination state, keyframes describe how each style entry is applied and at what point\n * within the animation arc.\n * Compare [CSS Keyframe Animations](https://www.w3schools.com/css/css3_animations.asp).\n *\n * ### Usage\n *\n * In the following example, the offset values describe\n * when each `backgroundColor` value is applied. The color is red at the start, and changes to\n * blue when 20% of the total time has elapsed.\n *\n * ```typescript\n * // the provided offset values\n * animate(\"5s\", keyframes([\n *   style({ backgroundColor: \"red\", offset: 0 }),\n *   style({ backgroundColor: \"blue\", offset: 0.2 }),\n *   style({ backgroundColor: \"orange\", offset: 0.3 }),\n *   style({ backgroundColor: \"black\", offset: 1 })\n * ]))\n * ```\n *\n * If there are no `offset` values specified in the style entries, the offsets\n * are calculated automatically.\n *\n * ```typescript\n * animate(\"5s\", keyframes([\n *   style({ backgroundColor: \"red\" }) // offset = 0\n *   style({ backgroundColor: \"blue\" }) // offset = 0.33\n *   style({ backgroundColor: \"orange\" }) // offset = 0.66\n *   style({ backgroundColor: \"black\" }) // offset = 1\n * ]))\n * ```\n * \\@publicApi\n * @param {?} steps A set of animation styles with optional offset data.\n * The optional `offset` value for a style specifies a percentage of the total animation\n * time at which that style is applied.\n * @return {?} An object that encapsulates the keyframes data.\n *\n */\nfunction keyframes(steps) {\n    return { type: 5 /* Keyframes */, steps };\n}\n/**\n * Declares an animation transition as a sequence of animation steps to run when a given\n * condition is satisfied. The condition is a Boolean expression or function that compares\n * the previous and current animation states, and returns true if this transition should occur.\n * When the state criteria of a defined transition are met, the associated animation is\n * triggered.\n *\n * \\@usageNotes\n * The template associated with a component binds an animation trigger to an element.\n *\n * ```HTML\n * <!-- somewhere inside of my-component-tpl.html -->\n * <div [\\@myAnimationTrigger]=\"myStatusExp\">...</div>\n * ```\n *\n * All transitions are defined within an animation trigger,\n * along with named states that the transitions change to and from.\n *\n * ```typescript\n * trigger(\"myAnimationTrigger\", [\n *  // define states\n *  state(\"on\", style({ background: \"green\" })),\n *  state(\"off\", style({ background: \"grey\" })),\n *  ...]\n * ```\n *\n * Note that when you call the `sequence()` function within a `{\\@link animations/group group()}`\n * or a `transition()` call, execution does not continue to the next instruction\n * until each of the inner animation steps have completed.\n *\n * ### Syntax examples\n *\n * The following examples define transitions between the two defined states (and default states),\n * using various options:\n *\n * ```typescript\n * // Transition occurs when the state value\n * // bound to \"myAnimationTrigger\" changes from \"on\" to \"off\"\n * transition(\"on => off\", animate(500))\n * // Run the same animation for both directions\n * transition(\"on <=> off\", animate(500))\n * // Define multiple state-change pairs separated by commas\n * transition(\"on => off, off => void\", animate(500))\n * ```\n *\n * ### Special values for state-change expressions\n *\n * - Catch-all state change for when an element is inserted into the page and the\n * destination state is unknown:\n *\n * ```typescript\n * transition(\"void => *\", [\n *  style({ opacity: 0 }),\n *  animate(500)\n *  ])\n * ```\n *\n * - Capture a state change between any states:\n *\n *  `transition(\"* => *\", animate(\"1s 0s\"))`\n *\n * - Entry and exit transitions:\n *\n * ```typescript\n * transition(\":enter\", [\n *   style({ opacity: 0 }),\n *   animate(500, style({ opacity: 1 }))\n *   ]),\n * transition(\":leave\", [\n *   animate(500, style({ opacity: 0 }))\n *   ])\n * ```\n *\n * - Use `:increment` and `:decrement` to initiate transitions:\n *\n * ```typescript\n * transition(\":increment\", group([\n *  query(':enter', [\n *     style({ left: '100%' }),\n *     animate('0.5s ease-out', style('*'))\n *   ]),\n *  query(':leave', [\n *     animate('0.5s ease-out', style({ left: '-100%' }))\n *  ])\n * ]))\n *\n * transition(\":decrement\", group([\n *  query(':enter', [\n *     style({ left: '100%' }),\n *     animate('0.5s ease-out', style('*'))\n *   ]),\n *  query(':leave', [\n *     animate('0.5s ease-out', style({ left: '-100%' }))\n *  ])\n * ]))\n * ```\n *\n * ### State-change functions\n *\n * Here is an example of a `fromState` specified as a state-change function that invokes an\n * animation when true:\n *\n * ```typescript\n * transition((fromState, toState) =>\n *  {\n *   return fromState == \"off\" && toState == \"on\";\n *  },\n *  animate(\"1s 0s\"))\n * ```\n *\n * ### Animating to the final state\n *\n * If the final step in a transition is a call to `animate()` that uses a timing value\n * with no style data, that step is automatically considered the final animation arc,\n * for the element to reach the final state. Angular automatically adds or removes\n * CSS styles to ensure that the element is in the correct final state.\n *\n * The following example defines a transition that starts by hiding the element,\n * then makes sure that it animates properly to whatever state is currently active for trigger:\n *\n * ```typescript\n * transition(\"void => *\", [\n *   style({ opacity: 0 }),\n *   animate(500)\n *  ])\n * ```\n * ### Boolean value matching\n * If a trigger binding value is a Boolean, it can be matched using a transition expression\n * that compares true and false or 1 and 0. For example:\n *\n * ```\n * // in the template\n * <div [\\@openClose]=\"open ? true : false\">...</div>\n * // in the component metadata\n * trigger('openClose', [\n *   state('true', style({ height: '*' })),\n *   state('false', style({ height: '0px' })),\n *   transition('false <=> true', animate(500))\n * ])\n * ```\n *\n * \\@publicApi\n *\n * @param {?} stateChangeExpr A Boolean expression or function that compares the previous and current\n * animation states, and returns true if this transition should occur. Note that  \"true\" and \"false\"\n * match 1 and 0, respectively. An expression is evaluated each time a state change occurs in the\n * animation trigger element.\n * The animation steps run when the expression evaluates to true.\n *\n * - A state-change string takes the form \"state1 => state2\", where each side is a defined animation\n * state, or an asterix (*) to refer to a dynamic start or end state.\n *   - The expression string can contain multiple comma-separated statements;\n * for example \"state1 => state2, state3 => state4\".\n *   - Special values `:enter` and `:leave` initiate a transition on the entry and exit states,\n * equivalent to  \"void => *\"  and \"* => void\".\n *   - Special values `:increment` and `:decrement` initiate a transition when a numeric value has\n * increased or decreased in value.\n * - A function is executed each time a state change occurs in the animation trigger element.\n * The animation steps run when the function returns true.\n *\n * @param {?} steps One or more animation objects, as returned by the `animate()` or\n * `sequence()` function, that form a transformation from one state to another.\n * A sequence is used by default when you pass an array.\n * @param {?=} options An options object that can contain a delay value for the start of the animation,\n * and additional developer-defined parameters. Provided values for additional parameters are used\n * as defaults, and override values can be passed to the caller on invocation.\n * @return {?} An object that encapsulates the transition data.\n *\n */\nfunction transition(stateChangeExpr, steps, options = null) {\n    return { type: 1 /* Transition */, expr: stateChangeExpr, animation: steps, options };\n}\n/**\n * Produces a reusable animation that can be invoked in another animation or sequence,\n * by calling the `useAnimation()` function.\n *\n * \\@usageNotes\n * The following example defines a reusable animation, providing some default parameter\n * values.\n *\n * ```typescript\n * var fadeAnimation = animation([\n *   style({ opacity: '{{ start }}' }),\n *   animate('{{ time }}',\n *   style({ opacity: '{{ end }}'}))\n *   ],\n *   { params: { time: '1000ms', start: 0, end: 1 }});\n * ```\n *\n * The following invokes the defined animation with a call to `useAnimation()`,\n * passing in override parameter values.\n *\n * ```js\n * useAnimation(fadeAnimation, {\n *   params: {\n *     time: '2s',\n *     start: 1,\n *     end: 0\n *   }\n * })\n * ```\n *\n * If any of the passed-in parameter values are missing from this call,\n * the default values are used. If one or more parameter values are missing before a step is\n * animated, `useAnimation()` throws an error.\n *\n * \\@publicApi\n * @param {?} steps One or more animation objects, as returned by the `animate()`\n * or `sequence()` function, that form a transformation from one state to another.\n * A sequence is used by default when you pass an array.\n * @param {?=} options An options object that can contain a delay value for the start of the\n * animation, and additional developer-defined parameters.\n * Provided values for additional parameters are used as defaults,\n * and override values can be passed to the caller on invocation.\n * @return {?} An object that encapsulates the animation data.\n *\n */\nfunction animation(steps, options = null) {\n    return { type: 8 /* Reference */, animation: steps, options };\n}\n/**\n * Executes a queried inner animation element within an animation sequence.\n *\n * \\@usageNotes\n * Each time an animation is triggered in Angular, the parent animation\n * has priority and any child animations are blocked. In order\n * for a child animation to run, the parent animation must query each of the elements\n * containing child animations, and run them using this function.\n *\n * Note that this feature is designed to be used with `query()` and it will only work\n * with animations that are assigned using the Angular animation library. CSS keyframes\n * and transitions are not handled by this API.\n *\n * \\@publicApi\n * @param {?=} options An options object that can contain a delay value for the start of the\n * animation, and additional override values for developer-defined parameters.\n * @return {?} An object that encapsulates the child animation data.\n *\n */\nfunction animateChild(options = null) {\n    return { type: 9 /* AnimateChild */, options };\n}\n/**\n * Starts a reusable animation that is created using the `animation()` function.\n *\n * \\@publicApi\n * @param {?} animation The reusable animation to start.\n * @param {?=} options An options object that can contain a delay value for the start of\n * the animation, and additional override values for developer-defined parameters.\n * @return {?} An object that contains the animation parameters.\n *\n */\nfunction useAnimation(animation, options = null) {\n    return { type: 10 /* AnimateRef */, animation, options };\n}\n/**\n * Finds one or more inner elements within the current element that is\n * being animated within a sequence. Use with `animate()`.\n *\n * \\@usageNotes\n * Tokens can be merged into a combined query selector string. For example:\n *\n * ```typescript\n *  query(':self, .record:enter, .record:leave, \\@subTrigger', [...])\n * ```\n *\n * The `query()` function collects multiple elements and works internally by using\n * `element.querySelectorAll`. Use the `limit` field of an options object to limit\n * the total number of items to be collected. For example:\n *\n * ```js\n * query('div', [\n *   animate(...),\n *   animate(...)\n * ], { limit: 1 })\n * ```\n *\n * By default, throws an error when zero items are found. Set the\n * `optional` flag to ignore this error. For example:\n *\n * ```js\n * query('.some-element-that-may-not-be-there', [\n *   animate(...),\n *   animate(...)\n * ], { optional: true })\n * ```\n *\n * ### Usage Example\n *\n * The following example queries for inner elements and animates them\n * individually using `animate()`.\n *\n * ```typescript\n * \\@Component({\n *   selector: 'inner',\n *   template: `\n *     <div [\\@queryAnimation]=\"exp\">\n *       <h1>Title</h1>\n *       <div class=\"content\">\n *         Blah blah blah\n *       </div>\n *     </div>\n *   `,\n *   animations: [\n *    trigger('queryAnimation', [\n *      transition('* => goAnimate', [\n *        // hide the inner elements\n *        query('h1', style({ opacity: 0 })),\n *        query('.content', style({ opacity: 0 })),\n *\n *        // animate the inner elements in, one by one\n *        query('h1', animate(1000, style({ opacity: 1 }))),\n *        query('.content', animate(1000, style({ opacity: 1 }))),\n *      ])\n *    ])\n *  ]\n * })\n * class Cmp {\n *   exp = '';\n *\n *   goAnimate() {\n *     this.exp = 'goAnimate';\n *   }\n * }\n * ```\n *\n * \\@publicApi\n * @param {?} selector The element to query, or a set of elements that contain Angular-specific\n * characteristics, specified with one or more of the following tokens.\n *  - `query(\":enter\")` or `query(\":leave\")` : Query for newly inserted/removed elements.\n *  - `query(\":animating\")` : Query all currently animating elements.\n *  - `query(\"\\@triggerName\")` : Query elements that contain an animation trigger.\n *  - `query(\"\\@*\")` : Query all elements that contain an animation triggers.\n *  - `query(\":self\")` : Include the current element into the animation sequence.\n *\n * @param {?} animation One or more animation steps to apply to the queried element or elements.\n * An array is treated as an animation sequence.\n * @param {?=} options An options object. Use the 'limit' field to limit the total number of\n * items to collect.\n * @return {?} An object that encapsulates the query data.\n *\n */\nfunction query(selector, animation, options = null) {\n    return { type: 11 /* Query */, selector, animation, options };\n}\n/**\n * Use within an animation `query()` call to issue a timing gap after\n * each queried item is animated.\n *\n * \\@usageNotes\n * In the following example, a container element wraps a list of items stamped out\n * by an `ngFor`. The container element contains an animation trigger that will later be set\n * to query for each of the inner items.\n *\n * Each time items are added, the opacity fade-in animation runs,\n * and each removed item is faded out.\n * When either of these animations occur, the stagger effect is\n * applied after each item's animation is started.\n *\n * ```html\n * <!-- list.component.html -->\n * <button (click)=\"toggle()\">Show / Hide Items</button>\n * <hr />\n * <div [\\@listAnimation]=\"items.length\">\n *   <div *ngFor=\"let item of items\">\n *     {{ item }}\n *   </div>\n * </div>\n * ```\n *\n * Here is the component code:\n *\n * ```typescript\n * import {trigger, transition, style, animate, query, stagger} from '\\@angular/animations';\n * \\@Component({\n *   templateUrl: 'list.component.html',\n *   animations: [\n *     trigger('listAnimation', [\n *     ...\n *     ])\n *   ]\n * })\n * class ListComponent {\n *   items = [];\n *\n *   showItems() {\n *     this.items = [0,1,2,3,4];\n *   }\n *\n *   hideItems() {\n *     this.items = [];\n *   }\n *\n *   toggle() {\n *     this.items.length ? this.hideItems() : this.showItems();\n *    }\n *  }\n * ```\n *\n * Here is the animation trigger code:\n *\n * ```typescript\n * trigger('listAnimation', [\n *   transition('* => *', [ // each time the binding value changes\n *     query(':leave', [\n *       stagger(100, [\n *         animate('0.5s', style({ opacity: 0 }))\n *       ])\n *     ]),\n *     query(':enter', [\n *       style({ opacity: 0 }),\n *       stagger(100, [\n *         animate('0.5s', style({ opacity: 1 }))\n *       ])\n *     ])\n *   ])\n * ])\n * ```\n *\n * \\@publicApi\n * @param {?} timings A delay value.\n * @param {?} animation One ore more animation steps.\n * @return {?} An object that encapsulates the stagger data.\n *\n */\nfunction stagger(timings, animation) {\n    return { type: 12 /* Stagger */, timings, animation };\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n * @param {?} cb\n * @return {?}\n */\nfunction scheduleMicroTask(cb) {\n    Promise.resolve(null).then(cb);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Provides programmatic control of a reusable animation sequence,\n * built using the `build()` method of `AnimationBuilder`. The `build()` method\n * returns a factory, whose `create()` method instantiates and initializes this interface.\n *\n * @see `AnimationBuilder`\n * @see `AnimationFactory`\n * @see `animate()`\n *\n * \\@publicApi\n * @record\n */\nfunction AnimationPlayer() { }\nif (false) {}\n/**\n * An empty programmatic controller for reusable animations.\n * Used internally when animations are disabled, to avoid\n * checking for the null case when an animation player is expected.\n *\n * @see `animate()`\n * @see `AnimationPlayer`\n * @see `GroupPlayer`\n *\n * \\@publicApi\n */\nclass NoopAnimationPlayer {\n    /**\n     * @param {?=} duration\n     * @param {?=} delay\n     */\n    constructor(duration = 0, delay = 0) {\n        this._onDoneFns = [];\n        this._onStartFns = [];\n        this._onDestroyFns = [];\n        this._started = false;\n        this._destroyed = false;\n        this._finished = false;\n        this.parentPlayer = null;\n        this.totalTime = duration + delay;\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _onFinish() {\n        if (!this._finished) {\n            this._finished = true;\n            this._onDoneFns.forEach((/**\n             * @param {?} fn\n             * @return {?}\n             */\n            fn => fn()));\n            this._onDoneFns = [];\n        }\n    }\n    /**\n     * @param {?} fn\n     * @return {?}\n     */\n    onStart(fn) { this._onStartFns.push(fn); }\n    /**\n     * @param {?} fn\n     * @return {?}\n     */\n    onDone(fn) { this._onDoneFns.push(fn); }\n    /**\n     * @param {?} fn\n     * @return {?}\n     */\n    onDestroy(fn) { this._onDestroyFns.push(fn); }\n    /**\n     * @return {?}\n     */\n    hasStarted() { return this._started; }\n    /**\n     * @return {?}\n     */\n    init() { }\n    /**\n     * @return {?}\n     */\n    play() {\n        if (!this.hasStarted()) {\n            this._onStart();\n            this.triggerMicrotask();\n        }\n        this._started = true;\n    }\n    /**\n     * \\@internal\n     * @return {?}\n     */\n    triggerMicrotask() { scheduleMicroTask((/**\n     * @return {?}\n     */\n    () => this._onFinish())); }\n    /**\n     * @private\n     * @return {?}\n     */\n    _onStart() {\n        this._onStartFns.forEach((/**\n         * @param {?} fn\n         * @return {?}\n         */\n        fn => fn()));\n        this._onStartFns = [];\n    }\n    /**\n     * @return {?}\n     */\n    pause() { }\n    /**\n     * @return {?}\n     */\n    restart() { }\n    /**\n     * @return {?}\n     */\n    finish() { this._onFinish(); }\n    /**\n     * @return {?}\n     */\n    destroy() {\n        if (!this._destroyed) {\n            this._destroyed = true;\n            if (!this.hasStarted()) {\n                this._onStart();\n            }\n            this.finish();\n            this._onDestroyFns.forEach((/**\n             * @param {?} fn\n             * @return {?}\n             */\n            fn => fn()));\n            this._onDestroyFns = [];\n        }\n    }\n    /**\n     * @return {?}\n     */\n    reset() { }\n    /**\n     * @param {?} position\n     * @return {?}\n     */\n    setPosition(position) { }\n    /**\n     * @return {?}\n     */\n    getPosition() { return 0; }\n    /**\n     * \\@internal\n     * @param {?} phaseName\n     * @return {?}\n     */\n    triggerCallback(phaseName) {\n        /** @type {?} */\n        const methods = phaseName == 'start' ? this._onStartFns : this._onDoneFns;\n        methods.forEach((/**\n         * @param {?} fn\n         * @return {?}\n         */\n        fn => fn()));\n        methods.length = 0;\n    }\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * A programmatic controller for a group of reusable animations.\n * Used internally to control animations.\n *\n * @see `AnimationPlayer`\n * @see `{\\@link animations/group group()}`\n *\n */\nclass AnimationGroupPlayer {\n    /**\n     * @param {?} _players\n     */\n    constructor(_players) {\n        this._onDoneFns = [];\n        this._onStartFns = [];\n        this._finished = false;\n        this._started = false;\n        this._destroyed = false;\n        this._onDestroyFns = [];\n        this.parentPlayer = null;\n        this.totalTime = 0;\n        this.players = _players;\n        /** @type {?} */\n        let doneCount = 0;\n        /** @type {?} */\n        let destroyCount = 0;\n        /** @type {?} */\n        let startCount = 0;\n        /** @type {?} */\n        const total = this.players.length;\n        if (total == 0) {\n            scheduleMicroTask((/**\n             * @return {?}\n             */\n            () => this._onFinish()));\n        }\n        else {\n            this.players.forEach((/**\n             * @param {?} player\n             * @return {?}\n             */\n            player => {\n                player.onDone((/**\n                 * @return {?}\n                 */\n                () => {\n                    if (++doneCount == total) {\n                        this._onFinish();\n                    }\n                }));\n                player.onDestroy((/**\n                 * @return {?}\n                 */\n                () => {\n                    if (++destroyCount == total) {\n                        this._onDestroy();\n                    }\n                }));\n                player.onStart((/**\n                 * @return {?}\n                 */\n                () => {\n                    if (++startCount == total) {\n                        this._onStart();\n                    }\n                }));\n            }));\n        }\n        this.totalTime = this.players.reduce((/**\n         * @param {?} time\n         * @param {?} player\n         * @return {?}\n         */\n        (time, player) => Math.max(time, player.totalTime)), 0);\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _onFinish() {\n        if (!this._finished) {\n            this._finished = true;\n            this._onDoneFns.forEach((/**\n             * @param {?} fn\n             * @return {?}\n             */\n            fn => fn()));\n            this._onDoneFns = [];\n        }\n    }\n    /**\n     * @return {?}\n     */\n    init() { this.players.forEach((/**\n     * @param {?} player\n     * @return {?}\n     */\n    player => player.init())); }\n    /**\n     * @param {?} fn\n     * @return {?}\n     */\n    onStart(fn) { this._onStartFns.push(fn); }\n    /**\n     * @private\n     * @return {?}\n     */\n    _onStart() {\n        if (!this.hasStarted()) {\n            this._started = true;\n            this._onStartFns.forEach((/**\n             * @param {?} fn\n             * @return {?}\n             */\n            fn => fn()));\n            this._onStartFns = [];\n        }\n    }\n    /**\n     * @param {?} fn\n     * @return {?}\n     */\n    onDone(fn) { this._onDoneFns.push(fn); }\n    /**\n     * @param {?} fn\n     * @return {?}\n     */\n    onDestroy(fn) { this._onDestroyFns.push(fn); }\n    /**\n     * @return {?}\n     */\n    hasStarted() { return this._started; }\n    /**\n     * @return {?}\n     */\n    play() {\n        if (!this.parentPlayer) {\n            this.init();\n        }\n        this._onStart();\n        this.players.forEach((/**\n         * @param {?} player\n         * @return {?}\n         */\n        player => player.play()));\n    }\n    /**\n     * @return {?}\n     */\n    pause() { this.players.forEach((/**\n     * @param {?} player\n     * @return {?}\n     */\n    player => player.pause())); }\n    /**\n     * @return {?}\n     */\n    restart() { this.players.forEach((/**\n     * @param {?} player\n     * @return {?}\n     */\n    player => player.restart())); }\n    /**\n     * @return {?}\n     */\n    finish() {\n        this._onFinish();\n        this.players.forEach((/**\n         * @param {?} player\n         * @return {?}\n         */\n        player => player.finish()));\n    }\n    /**\n     * @return {?}\n     */\n    destroy() { this._onDestroy(); }\n    /**\n     * @private\n     * @return {?}\n     */\n    _onDestroy() {\n        if (!this._destroyed) {\n            this._destroyed = true;\n            this._onFinish();\n            this.players.forEach((/**\n             * @param {?} player\n             * @return {?}\n             */\n            player => player.destroy()));\n            this._onDestroyFns.forEach((/**\n             * @param {?} fn\n             * @return {?}\n             */\n            fn => fn()));\n            this._onDestroyFns = [];\n        }\n    }\n    /**\n     * @return {?}\n     */\n    reset() {\n        this.players.forEach((/**\n         * @param {?} player\n         * @return {?}\n         */\n        player => player.reset()));\n        this._destroyed = false;\n        this._finished = false;\n        this._started = false;\n    }\n    /**\n     * @param {?} p\n     * @return {?}\n     */\n    setPosition(p) {\n        /** @type {?} */\n        const timeAtPosition = p * this.totalTime;\n        this.players.forEach((/**\n         * @param {?} player\n         * @return {?}\n         */\n        player => {\n            /** @type {?} */\n            const position = player.totalTime ? Math.min(1, timeAtPosition / player.totalTime) : 1;\n            player.setPosition(position);\n        }));\n    }\n    /**\n     * @return {?}\n     */\n    getPosition() {\n        /** @type {?} */\n        let min = 0;\n        this.players.forEach((/**\n         * @param {?} player\n         * @return {?}\n         */\n        player => {\n            /** @type {?} */\n            const p = player.getPosition();\n            min = Math.min(p, min);\n        }));\n        return min;\n    }\n    /**\n     * @return {?}\n     */\n    beforeDestroy() {\n        this.players.forEach((/**\n         * @param {?} player\n         * @return {?}\n         */\n        player => {\n            if (player.beforeDestroy) {\n                player.beforeDestroy();\n            }\n        }));\n    }\n    /**\n     * \\@internal\n     * @param {?} phaseName\n     * @return {?}\n     */\n    triggerCallback(phaseName) {\n        /** @type {?} */\n        const methods = phaseName == 'start' ? this._onStartFns : this._onDoneFns;\n        methods.forEach((/**\n         * @param {?} fn\n         * @return {?}\n         */\n        fn => fn()));\n        methods.length = 0;\n    }\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst ɵPRE_STYLE = '!';\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\n\n//# sourceMappingURL=animations.js.map\n\n\n/***/ }),\n\n/***/ \"./node_modules/@angular/animations/fesm2015/browser.js\":\n/*!**************************************************************!*\\\n  !*** ./node_modules/@angular/animations/fesm2015/browser.js ***!\n  \\**************************************************************/\n/*! exports provided: ɵangular_packages_animations_browser_browser_a, AnimationDriver, ɵAnimationDriver, ɵAnimation, ɵAnimationStyleNormalizer, ɵNoopAnimationStyleNormalizer, ɵWebAnimationsStyleNormalizer, ɵNoopAnimationDriver, ɵAnimationEngine, ɵCssKeyframesDriver, ɵCssKeyframesPlayer, ɵcontainsElement, ɵinvokeQuery, ɵmatchesElement, ɵvalidateStyleProperty, ɵWebAnimationsDriver, ɵsupportsWebAnimations, ɵWebAnimationsPlayer, ɵallowPreviousPlayerStylesMerge */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_animations_browser_browser_a\", function() { return SpecialCasedStyles; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AnimationDriver\", function() { return AnimationDriver; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵAnimationDriver\", function() { return AnimationDriver; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵAnimation\", function() { return Animation; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵAnimationStyleNormalizer\", function() { return AnimationStyleNormalizer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵNoopAnimationStyleNormalizer\", function() { return NoopAnimationStyleNormalizer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵWebAnimationsStyleNormalizer\", function() { return WebAnimationsStyleNormalizer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵNoopAnimationDriver\", function() { return NoopAnimationDriver; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵAnimationEngine\", function() { return AnimationEngine; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵCssKeyframesDriver\", function() { return CssKeyframesDriver; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵCssKeyframesPlayer\", function() { return CssKeyframesPlayer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵcontainsElement\", function() { return containsElement; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵinvokeQuery\", function() { return invokeQuery; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵmatchesElement\", function() { return matchesElement; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵvalidateStyleProperty\", function() { return validateStyleProperty; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵWebAnimationsDriver\", function() { return WebAnimationsDriver; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵsupportsWebAnimations\", function() { return supportsWebAnimations; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵWebAnimationsPlayer\", function() { return WebAnimationsPlayer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵallowPreviousPlayerStylesMerge\", function() { return allowPreviousPlayerStylesMerge; });\n/* harmony import */ var _angular_animations__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/animations */ \"./node_modules/@angular/animations/fesm2015/animations.js\");\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/**\n * @license Angular v8.2.14\n * (c) 2010-2019 Google LLC. https://angular.io/\n * License: MIT\n */\n\n\n\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @return {?}\n */\nfunction isBrowser() {\n    return (typeof window !== 'undefined' && typeof window.document !== 'undefined');\n}\n/**\n * @return {?}\n */\nfunction isNode() {\n    return (typeof process !== 'undefined');\n}\n/**\n * @param {?} players\n * @return {?}\n */\nfunction optimizeGroupPlayer(players) {\n    switch (players.length) {\n        case 0:\n            return new _angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"NoopAnimationPlayer\"]();\n        case 1:\n            return players[0];\n        default:\n            return new _angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"ɵAnimationGroupPlayer\"](players);\n    }\n}\n/**\n * @param {?} driver\n * @param {?} normalizer\n * @param {?} element\n * @param {?} keyframes\n * @param {?=} preStyles\n * @param {?=} postStyles\n * @return {?}\n */\nfunction normalizeKeyframes(driver, normalizer, element, keyframes, preStyles = {}, postStyles = {}) {\n    /** @type {?} */\n    const errors = [];\n    /** @type {?} */\n    const normalizedKeyframes = [];\n    /** @type {?} */\n    let previousOffset = -1;\n    /** @type {?} */\n    let previousKeyframe = null;\n    keyframes.forEach((/**\n     * @param {?} kf\n     * @return {?}\n     */\n    kf => {\n        /** @type {?} */\n        const offset = (/** @type {?} */ (kf['offset']));\n        /** @type {?} */\n        const isSameOffset = offset == previousOffset;\n        /** @type {?} */\n        const normalizedKeyframe = (isSameOffset && previousKeyframe) || {};\n        Object.keys(kf).forEach((/**\n         * @param {?} prop\n         * @return {?}\n         */\n        prop => {\n            /** @type {?} */\n            let normalizedProp = prop;\n            /** @type {?} */\n            let normalizedValue = kf[prop];\n            if (prop !== 'offset') {\n                normalizedProp = normalizer.normalizePropertyName(normalizedProp, errors);\n                switch (normalizedValue) {\n                    case _angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"ɵPRE_STYLE\"]:\n                        normalizedValue = preStyles[prop];\n                        break;\n                    case _angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"AUTO_STYLE\"]:\n                        normalizedValue = postStyles[prop];\n                        break;\n                    default:\n                        normalizedValue =\n                            normalizer.normalizeStyleValue(prop, normalizedProp, normalizedValue, errors);\n                        break;\n                }\n            }\n            normalizedKeyframe[normalizedProp] = normalizedValue;\n        }));\n        if (!isSameOffset) {\n            normalizedKeyframes.push(normalizedKeyframe);\n        }\n        previousKeyframe = normalizedKeyframe;\n        previousOffset = offset;\n    }));\n    if (errors.length) {\n        /** @type {?} */\n        const LINE_START = '\\n - ';\n        throw new Error(`Unable to animate due to the following errors:${LINE_START}${errors.join(LINE_START)}`);\n    }\n    return normalizedKeyframes;\n}\n/**\n * @param {?} player\n * @param {?} eventName\n * @param {?} event\n * @param {?} callback\n * @return {?}\n */\nfunction listenOnPlayer(player, eventName, event, callback) {\n    switch (eventName) {\n        case 'start':\n            player.onStart((/**\n             * @return {?}\n             */\n            () => callback(event && copyAnimationEvent(event, 'start', player))));\n            break;\n        case 'done':\n            player.onDone((/**\n             * @return {?}\n             */\n            () => callback(event && copyAnimationEvent(event, 'done', player))));\n            break;\n        case 'destroy':\n            player.onDestroy((/**\n             * @return {?}\n             */\n            () => callback(event && copyAnimationEvent(event, 'destroy', player))));\n            break;\n    }\n}\n/**\n * @param {?} e\n * @param {?} phaseName\n * @param {?} player\n * @return {?}\n */\nfunction copyAnimationEvent(e, phaseName, player) {\n    /** @type {?} */\n    const totalTime = player.totalTime;\n    /** @type {?} */\n    const disabled = ((/** @type {?} */ (player))).disabled ? true : false;\n    /** @type {?} */\n    const event = makeAnimationEvent(e.element, e.triggerName, e.fromState, e.toState, phaseName || e.phaseName, totalTime == undefined ? e.totalTime : totalTime, disabled);\n    /** @type {?} */\n    const data = ((/** @type {?} */ (e)))['_data'];\n    if (data != null) {\n        ((/** @type {?} */ (event)))['_data'] = data;\n    }\n    return event;\n}\n/**\n * @param {?} element\n * @param {?} triggerName\n * @param {?} fromState\n * @param {?} toState\n * @param {?=} phaseName\n * @param {?=} totalTime\n * @param {?=} disabled\n * @return {?}\n */\nfunction makeAnimationEvent(element, triggerName, fromState, toState, phaseName = '', totalTime = 0, disabled) {\n    return { element, triggerName, fromState, toState, phaseName, totalTime, disabled: !!disabled };\n}\n/**\n * @param {?} map\n * @param {?} key\n * @param {?} defaultValue\n * @return {?}\n */\nfunction getOrSetAsInMap(map, key, defaultValue) {\n    /** @type {?} */\n    let value;\n    if (map instanceof Map) {\n        value = map.get(key);\n        if (!value) {\n            map.set(key, value = defaultValue);\n        }\n    }\n    else {\n        value = map[key];\n        if (!value) {\n            value = map[key] = defaultValue;\n        }\n    }\n    return value;\n}\n/**\n * @param {?} command\n * @return {?}\n */\nfunction parseTimelineCommand(command) {\n    /** @type {?} */\n    const separatorPos = command.indexOf(':');\n    /** @type {?} */\n    const id = command.substring(1, separatorPos);\n    /** @type {?} */\n    const action = command.substr(separatorPos + 1);\n    return [id, action];\n}\n/** @type {?} */\nlet _contains = (/**\n * @param {?} elm1\n * @param {?} elm2\n * @return {?}\n */\n(elm1, elm2) => false);\nconst ɵ0 = _contains;\n/** @type {?} */\nlet _matches = (/**\n * @param {?} element\n * @param {?} selector\n * @return {?}\n */\n(element, selector) => false);\nconst ɵ1 = _matches;\n/** @type {?} */\nlet _query = (/**\n * @param {?} element\n * @param {?} selector\n * @param {?} multi\n * @return {?}\n */\n(element, selector, multi) => {\n    return [];\n});\nconst ɵ2 = _query;\n// Define utility methods for browsers and platform-server(domino) where Element\n// and utility methods exist.\n/** @type {?} */\nconst _isNode = isNode();\nif (_isNode || typeof Element !== 'undefined') {\n    // this is well supported in all browsers\n    _contains = (/**\n     * @param {?} elm1\n     * @param {?} elm2\n     * @return {?}\n     */\n    (elm1, elm2) => { return (/** @type {?} */ (elm1.contains(elm2))); });\n    _matches = ((/**\n     * @return {?}\n     */\n    () => {\n        if (_isNode || Element.prototype.matches) {\n            return (/**\n             * @param {?} element\n             * @param {?} selector\n             * @return {?}\n             */\n            (element, selector) => element.matches(selector));\n        }\n        else {\n            /** @type {?} */\n            const proto = (/** @type {?} */ (Element.prototype));\n            /** @type {?} */\n            const fn = proto.matchesSelector || proto.mozMatchesSelector || proto.msMatchesSelector ||\n                proto.oMatchesSelector || proto.webkitMatchesSelector;\n            if (fn) {\n                return (/**\n                 * @param {?} element\n                 * @param {?} selector\n                 * @return {?}\n                 */\n                (element, selector) => fn.apply(element, [selector]));\n            }\n            else {\n                return _matches;\n            }\n        }\n    }))();\n    _query = (/**\n     * @param {?} element\n     * @param {?} selector\n     * @param {?} multi\n     * @return {?}\n     */\n    (element, selector, multi) => {\n        /** @type {?} */\n        let results = [];\n        if (multi) {\n            results.push(...element.querySelectorAll(selector));\n        }\n        else {\n            /** @type {?} */\n            const elm = element.querySelector(selector);\n            if (elm) {\n                results.push(elm);\n            }\n        }\n        return results;\n    });\n}\n/**\n * @param {?} prop\n * @return {?}\n */\nfunction containsVendorPrefix(prop) {\n    // Webkit is the only real popular vendor prefix nowadays\n    // cc: http://shouldiprefix.com/\n    return prop.substring(1, 6) == 'ebkit'; // webkit or Webkit\n}\n/** @type {?} */\nlet _CACHED_BODY = null;\n/** @type {?} */\nlet _IS_WEBKIT = false;\n/**\n * @param {?} prop\n * @return {?}\n */\nfunction validateStyleProperty(prop) {\n    if (!_CACHED_BODY) {\n        _CACHED_BODY = getBodyNode() || {};\n        _IS_WEBKIT = (/** @type {?} */ (_CACHED_BODY)).style ? ('WebkitAppearance' in (/** @type {?} */ (_CACHED_BODY)).style) : false;\n    }\n    /** @type {?} */\n    let result = true;\n    if ((/** @type {?} */ (_CACHED_BODY)).style && !containsVendorPrefix(prop)) {\n        result = prop in (/** @type {?} */ (_CACHED_BODY)).style;\n        if (!result && _IS_WEBKIT) {\n            /** @type {?} */\n            const camelProp = 'Webkit' + prop.charAt(0).toUpperCase() + prop.substr(1);\n            result = camelProp in (/** @type {?} */ (_CACHED_BODY)).style;\n        }\n    }\n    return result;\n}\n/**\n * @return {?}\n */\nfunction getBodyNode() {\n    if (typeof document != 'undefined') {\n        return document.body;\n    }\n    return null;\n}\n/** @type {?} */\nconst matchesElement = _matches;\n/** @type {?} */\nconst containsElement = _contains;\n/** @type {?} */\nconst invokeQuery = _query;\n/**\n * @param {?} object\n * @return {?}\n */\nfunction hypenatePropsObject(object) {\n    /** @type {?} */\n    const newObj = {};\n    Object.keys(object).forEach((/**\n     * @param {?} prop\n     * @return {?}\n     */\n    prop => {\n        /** @type {?} */\n        const newProp = prop.replace(/([a-z])([A-Z])/g, '$1-$2');\n        newObj[newProp] = object[prop];\n    }));\n    return newObj;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@publicApi\n */\nclass NoopAnimationDriver {\n    /**\n     * @param {?} prop\n     * @return {?}\n     */\n    validateStyleProperty(prop) { return validateStyleProperty(prop); }\n    /**\n     * @param {?} element\n     * @param {?} selector\n     * @return {?}\n     */\n    matchesElement(element, selector) {\n        return matchesElement(element, selector);\n    }\n    /**\n     * @param {?} elm1\n     * @param {?} elm2\n     * @return {?}\n     */\n    containsElement(elm1, elm2) { return containsElement(elm1, elm2); }\n    /**\n     * @param {?} element\n     * @param {?} selector\n     * @param {?} multi\n     * @return {?}\n     */\n    query(element, selector, multi) {\n        return invokeQuery(element, selector, multi);\n    }\n    /**\n     * @param {?} element\n     * @param {?} prop\n     * @param {?=} defaultValue\n     * @return {?}\n     */\n    computeStyle(element, prop, defaultValue) {\n        return defaultValue || '';\n    }\n    /**\n     * @param {?} element\n     * @param {?} keyframes\n     * @param {?} duration\n     * @param {?} delay\n     * @param {?} easing\n     * @param {?=} previousPlayers\n     * @param {?=} scrubberAccessRequested\n     * @return {?}\n     */\n    animate(element, keyframes, duration, delay, easing, previousPlayers = [], scrubberAccessRequested) {\n        return new _angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"NoopAnimationPlayer\"](duration, delay);\n    }\n}\nNoopAnimationDriver.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"] }\n];\n/**\n * \\@publicApi\n * @abstract\n */\nclass AnimationDriver {\n}\nAnimationDriver.NOOP = new NoopAnimationDriver();\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst ONE_SECOND = 1000;\n/** @type {?} */\nconst SUBSTITUTION_EXPR_START = '{{';\n/** @type {?} */\nconst SUBSTITUTION_EXPR_END = '}}';\n/** @type {?} */\nconst ENTER_CLASSNAME = 'ng-enter';\n/** @type {?} */\nconst LEAVE_CLASSNAME = 'ng-leave';\n/** @type {?} */\nconst ENTER_SELECTOR = '.ng-enter';\n/** @type {?} */\nconst LEAVE_SELECTOR = '.ng-leave';\n/** @type {?} */\nconst NG_TRIGGER_CLASSNAME = 'ng-trigger';\n/** @type {?} */\nconst NG_TRIGGER_SELECTOR = '.ng-trigger';\n/** @type {?} */\nconst NG_ANIMATING_CLASSNAME = 'ng-animating';\n/** @type {?} */\nconst NG_ANIMATING_SELECTOR = '.ng-animating';\n/**\n * @param {?} value\n * @return {?}\n */\nfunction resolveTimingValue(value) {\n    if (typeof value == 'number')\n        return value;\n    /** @type {?} */\n    const matches = ((/** @type {?} */ (value))).match(/^(-?[\\.\\d]+)(m?s)/);\n    if (!matches || matches.length < 2)\n        return 0;\n    return _convertTimeValueToMS(parseFloat(matches[1]), matches[2]);\n}\n/**\n * @param {?} value\n * @param {?} unit\n * @return {?}\n */\nfunction _convertTimeValueToMS(value, unit) {\n    switch (unit) {\n        case 's':\n            return value * ONE_SECOND;\n        default: // ms or something else\n            return value;\n    }\n}\n/**\n * @param {?} timings\n * @param {?} errors\n * @param {?=} allowNegativeValues\n * @return {?}\n */\nfunction resolveTiming(timings, errors, allowNegativeValues) {\n    return timings.hasOwnProperty('duration') ?\n        (/** @type {?} */ (timings)) :\n        parseTimeExpression((/** @type {?} */ (timings)), errors, allowNegativeValues);\n}\n/**\n * @param {?} exp\n * @param {?} errors\n * @param {?=} allowNegativeValues\n * @return {?}\n */\nfunction parseTimeExpression(exp, errors, allowNegativeValues) {\n    /** @type {?} */\n    const regex = /^(-?[\\.\\d]+)(m?s)(?:\\s+(-?[\\.\\d]+)(m?s))?(?:\\s+([-a-z]+(?:\\(.+?\\))?))?$/i;\n    /** @type {?} */\n    let duration;\n    /** @type {?} */\n    let delay = 0;\n    /** @type {?} */\n    let easing = '';\n    if (typeof exp === 'string') {\n        /** @type {?} */\n        const matches = exp.match(regex);\n        if (matches === null) {\n            errors.push(`The provided timing value \"${exp}\" is invalid.`);\n            return { duration: 0, delay: 0, easing: '' };\n        }\n        duration = _convertTimeValueToMS(parseFloat(matches[1]), matches[2]);\n        /** @type {?} */\n        const delayMatch = matches[3];\n        if (delayMatch != null) {\n            delay = _convertTimeValueToMS(parseFloat(delayMatch), matches[4]);\n        }\n        /** @type {?} */\n        const easingVal = matches[5];\n        if (easingVal) {\n            easing = easingVal;\n        }\n    }\n    else {\n        duration = (/** @type {?} */ (exp));\n    }\n    if (!allowNegativeValues) {\n        /** @type {?} */\n        let containsErrors = false;\n        /** @type {?} */\n        let startIndex = errors.length;\n        if (duration < 0) {\n            errors.push(`Duration values below 0 are not allowed for this animation step.`);\n            containsErrors = true;\n        }\n        if (delay < 0) {\n            errors.push(`Delay values below 0 are not allowed for this animation step.`);\n            containsErrors = true;\n        }\n        if (containsErrors) {\n            errors.splice(startIndex, 0, `The provided timing value \"${exp}\" is invalid.`);\n        }\n    }\n    return { duration, delay, easing };\n}\n/**\n * @param {?} obj\n * @param {?=} destination\n * @return {?}\n */\nfunction copyObj(obj, destination = {}) {\n    Object.keys(obj).forEach((/**\n     * @param {?} prop\n     * @return {?}\n     */\n    prop => { destination[prop] = obj[prop]; }));\n    return destination;\n}\n/**\n * @param {?} styles\n * @return {?}\n */\nfunction normalizeStyles(styles) {\n    /** @type {?} */\n    const normalizedStyles = {};\n    if (Array.isArray(styles)) {\n        styles.forEach((/**\n         * @param {?} data\n         * @return {?}\n         */\n        data => copyStyles(data, false, normalizedStyles)));\n    }\n    else {\n        copyStyles(styles, false, normalizedStyles);\n    }\n    return normalizedStyles;\n}\n/**\n * @param {?} styles\n * @param {?} readPrototype\n * @param {?=} destination\n * @return {?}\n */\nfunction copyStyles(styles, readPrototype, destination = {}) {\n    if (readPrototype) {\n        // we make use of a for-in loop so that the\n        // prototypically inherited properties are\n        // revealed from the backFill map\n        for (let prop in styles) {\n            destination[prop] = styles[prop];\n        }\n    }\n    else {\n        copyObj(styles, destination);\n    }\n    return destination;\n}\n/**\n * @param {?} element\n * @param {?} key\n * @param {?} value\n * @return {?}\n */\nfunction getStyleAttributeString(element, key, value) {\n    // Return the key-value pair string to be added to the style attribute for the\n    // given CSS style key.\n    if (value) {\n        return key + ':' + value + ';';\n    }\n    else {\n        return '';\n    }\n}\n/**\n * @param {?} element\n * @return {?}\n */\nfunction writeStyleAttribute(element) {\n    // Read the style property of the element and manually reflect it to the\n    // style attribute. This is needed because Domino on platform-server doesn't\n    // understand the full set of allowed CSS properties and doesn't reflect some\n    // of them automatically.\n    /** @type {?} */\n    let styleAttrValue = '';\n    for (let i = 0; i < element.style.length; i++) {\n        /** @type {?} */\n        const key = element.style.item(i);\n        styleAttrValue += getStyleAttributeString(element, key, element.style.getPropertyValue(key));\n    }\n    for (const key in element.style) {\n        // Skip internal Domino properties that don't need to be reflected.\n        if (!element.style.hasOwnProperty(key) || key.startsWith('_')) {\n            continue;\n        }\n        /** @type {?} */\n        const dashKey = camelCaseToDashCase(key);\n        styleAttrValue += getStyleAttributeString(element, dashKey, element.style[key]);\n    }\n    element.setAttribute('style', styleAttrValue);\n}\n/**\n * @param {?} element\n * @param {?} styles\n * @param {?=} formerStyles\n * @return {?}\n */\nfunction setStyles(element, styles, formerStyles) {\n    if (element['style']) {\n        Object.keys(styles).forEach((/**\n         * @param {?} prop\n         * @return {?}\n         */\n        prop => {\n            /** @type {?} */\n            const camelProp = dashCaseToCamelCase(prop);\n            if (formerStyles && !formerStyles.hasOwnProperty(prop)) {\n                formerStyles[prop] = element.style[camelProp];\n            }\n            element.style[camelProp] = styles[prop];\n        }));\n        // On the server set the 'style' attribute since it's not automatically reflected.\n        if (isNode()) {\n            writeStyleAttribute(element);\n        }\n    }\n}\n/**\n * @param {?} element\n * @param {?} styles\n * @return {?}\n */\nfunction eraseStyles(element, styles) {\n    if (element['style']) {\n        Object.keys(styles).forEach((/**\n         * @param {?} prop\n         * @return {?}\n         */\n        prop => {\n            /** @type {?} */\n            const camelProp = dashCaseToCamelCase(prop);\n            element.style[camelProp] = '';\n        }));\n        // On the server set the 'style' attribute since it's not automatically reflected.\n        if (isNode()) {\n            writeStyleAttribute(element);\n        }\n    }\n}\n/**\n * @param {?} steps\n * @return {?}\n */\nfunction normalizeAnimationEntry(steps) {\n    if (Array.isArray(steps)) {\n        if (steps.length == 1)\n            return steps[0];\n        return Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"sequence\"])(steps);\n    }\n    return (/** @type {?} */ (steps));\n}\n/**\n * @param {?} value\n * @param {?} options\n * @param {?} errors\n * @return {?}\n */\nfunction validateStyleParams(value, options, errors) {\n    /** @type {?} */\n    const params = options.params || {};\n    /** @type {?} */\n    const matches = extractStyleParams(value);\n    if (matches.length) {\n        matches.forEach((/**\n         * @param {?} varName\n         * @return {?}\n         */\n        varName => {\n            if (!params.hasOwnProperty(varName)) {\n                errors.push(`Unable to resolve the local animation param ${varName} in the given list of values`);\n            }\n        }));\n    }\n}\n/** @type {?} */\nconst PARAM_REGEX = new RegExp(`${SUBSTITUTION_EXPR_START}\\\\s*(.+?)\\\\s*${SUBSTITUTION_EXPR_END}`, 'g');\n/**\n * @param {?} value\n * @return {?}\n */\nfunction extractStyleParams(value) {\n    /** @type {?} */\n    let params = [];\n    if (typeof value === 'string') {\n        /** @type {?} */\n        const val = value.toString();\n        /** @type {?} */\n        let match;\n        while (match = PARAM_REGEX.exec(val)) {\n            params.push((/** @type {?} */ (match[1])));\n        }\n        PARAM_REGEX.lastIndex = 0;\n    }\n    return params;\n}\n/**\n * @param {?} value\n * @param {?} params\n * @param {?} errors\n * @return {?}\n */\nfunction interpolateParams(value, params, errors) {\n    /** @type {?} */\n    const original = value.toString();\n    /** @type {?} */\n    const str = original.replace(PARAM_REGEX, (/**\n     * @param {?} _\n     * @param {?} varName\n     * @return {?}\n     */\n    (_, varName) => {\n        /** @type {?} */\n        let localVal = params[varName];\n        // this means that the value was never overridden by the data passed in by the user\n        if (!params.hasOwnProperty(varName)) {\n            errors.push(`Please provide a value for the animation param ${varName}`);\n            localVal = '';\n        }\n        return localVal.toString();\n    }));\n    // we do this to assert that numeric values stay as they are\n    return str == original ? value : str;\n}\n/**\n * @param {?} iterator\n * @return {?}\n */\nfunction iteratorToArray(iterator) {\n    /** @type {?} */\n    const arr = [];\n    /** @type {?} */\n    let item = iterator.next();\n    while (!item.done) {\n        arr.push(item.value);\n        item = iterator.next();\n    }\n    return arr;\n}\n/**\n * @param {?} source\n * @param {?} destination\n * @return {?}\n */\nfunction mergeAnimationOptions(source, destination) {\n    if (source.params) {\n        /** @type {?} */\n        const p0 = source.params;\n        if (!destination.params) {\n            destination.params = {};\n        }\n        /** @type {?} */\n        const p1 = destination.params;\n        Object.keys(p0).forEach((/**\n         * @param {?} param\n         * @return {?}\n         */\n        param => {\n            if (!p1.hasOwnProperty(param)) {\n                p1[param] = p0[param];\n            }\n        }));\n    }\n    return destination;\n}\n/** @type {?} */\nconst DASH_CASE_REGEXP = /-+([a-z0-9])/g;\n/**\n * @param {?} input\n * @return {?}\n */\nfunction dashCaseToCamelCase(input) {\n    return input.replace(DASH_CASE_REGEXP, (/**\n     * @param {...?} m\n     * @return {?}\n     */\n    (...m) => m[1].toUpperCase()));\n}\n/**\n * @param {?} input\n * @return {?}\n */\nfunction camelCaseToDashCase(input) {\n    return input.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();\n}\n/**\n * @param {?} duration\n * @param {?} delay\n * @return {?}\n */\nfunction allowPreviousPlayerStylesMerge(duration, delay) {\n    return duration === 0 || delay === 0;\n}\n/**\n * @param {?} element\n * @param {?} keyframes\n * @param {?} previousStyles\n * @return {?}\n */\nfunction balancePreviousStylesIntoKeyframes(element, keyframes, previousStyles) {\n    /** @type {?} */\n    const previousStyleProps = Object.keys(previousStyles);\n    if (previousStyleProps.length && keyframes.length) {\n        /** @type {?} */\n        let startingKeyframe = keyframes[0];\n        /** @type {?} */\n        let missingStyleProps = [];\n        previousStyleProps.forEach((/**\n         * @param {?} prop\n         * @return {?}\n         */\n        prop => {\n            if (!startingKeyframe.hasOwnProperty(prop)) {\n                missingStyleProps.push(prop);\n            }\n            startingKeyframe[prop] = previousStyles[prop];\n        }));\n        if (missingStyleProps.length) {\n            // tslint:disable-next-line\n            for (var i = 1; i < keyframes.length; i++) {\n                /** @type {?} */\n                let kf = keyframes[i];\n                missingStyleProps.forEach((/**\n                 * @param {?} prop\n                 * @return {?}\n                 */\n                function (prop) { kf[prop] = computeStyle(element, prop); }));\n            }\n        }\n    }\n    return keyframes;\n}\n/**\n * @param {?} visitor\n * @param {?} node\n * @param {?} context\n * @return {?}\n */\nfunction visitDslNode(visitor, node, context) {\n    switch (node.type) {\n        case 7 /* Trigger */:\n            return visitor.visitTrigger(node, context);\n        case 0 /* State */:\n            return visitor.visitState(node, context);\n        case 1 /* Transition */:\n            return visitor.visitTransition(node, context);\n        case 2 /* Sequence */:\n            return visitor.visitSequence(node, context);\n        case 3 /* Group */:\n            return visitor.visitGroup(node, context);\n        case 4 /* Animate */:\n            return visitor.visitAnimate(node, context);\n        case 5 /* Keyframes */:\n            return visitor.visitKeyframes(node, context);\n        case 6 /* Style */:\n            return visitor.visitStyle(node, context);\n        case 8 /* Reference */:\n            return visitor.visitReference(node, context);\n        case 9 /* AnimateChild */:\n            return visitor.visitAnimateChild(node, context);\n        case 10 /* AnimateRef */:\n            return visitor.visitAnimateRef(node, context);\n        case 11 /* Query */:\n            return visitor.visitQuery(node, context);\n        case 12 /* Stagger */:\n            return visitor.visitStagger(node, context);\n        default:\n            throw new Error(`Unable to resolve animation metadata node #${node.type}`);\n    }\n}\n/**\n * @param {?} element\n * @param {?} prop\n * @return {?}\n */\nfunction computeStyle(element, prop) {\n    return ((/** @type {?} */ (window.getComputedStyle(element))))[prop];\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n * @type {?}\n */\nconst ANY_STATE = '*';\n/**\n * @param {?} transitionValue\n * @param {?} errors\n * @return {?}\n */\nfunction parseTransitionExpr(transitionValue, errors) {\n    /** @type {?} */\n    const expressions = [];\n    if (typeof transitionValue == 'string') {\n        ((/** @type {?} */ (transitionValue)))\n            .split(/\\s*,\\s*/)\n            .forEach((/**\n         * @param {?} str\n         * @return {?}\n         */\n        str => parseInnerTransitionStr(str, expressions, errors)));\n    }\n    else {\n        expressions.push((/** @type {?} */ (transitionValue)));\n    }\n    return expressions;\n}\n/**\n * @param {?} eventStr\n * @param {?} expressions\n * @param {?} errors\n * @return {?}\n */\nfunction parseInnerTransitionStr(eventStr, expressions, errors) {\n    if (eventStr[0] == ':') {\n        /** @type {?} */\n        const result = parseAnimationAlias(eventStr, errors);\n        if (typeof result == 'function') {\n            expressions.push(result);\n            return;\n        }\n        eventStr = (/** @type {?} */ (result));\n    }\n    /** @type {?} */\n    const match = eventStr.match(/^(\\*|[-\\w]+)\\s*(<?[=-]>)\\s*(\\*|[-\\w]+)$/);\n    if (match == null || match.length < 4) {\n        errors.push(`The provided transition expression \"${eventStr}\" is not supported`);\n        return expressions;\n    }\n    /** @type {?} */\n    const fromState = match[1];\n    /** @type {?} */\n    const separator = match[2];\n    /** @type {?} */\n    const toState = match[3];\n    expressions.push(makeLambdaFromStates(fromState, toState));\n    /** @type {?} */\n    const isFullAnyStateExpr = fromState == ANY_STATE && toState == ANY_STATE;\n    if (separator[0] == '<' && !isFullAnyStateExpr) {\n        expressions.push(makeLambdaFromStates(toState, fromState));\n    }\n}\n/**\n * @param {?} alias\n * @param {?} errors\n * @return {?}\n */\nfunction parseAnimationAlias(alias, errors) {\n    switch (alias) {\n        case ':enter':\n            return 'void => *';\n        case ':leave':\n            return '* => void';\n        case ':increment':\n            return (/**\n             * @param {?} fromState\n             * @param {?} toState\n             * @return {?}\n             */\n            (fromState, toState) => parseFloat(toState) > parseFloat(fromState));\n        case ':decrement':\n            return (/**\n             * @param {?} fromState\n             * @param {?} toState\n             * @return {?}\n             */\n            (fromState, toState) => parseFloat(toState) < parseFloat(fromState));\n        default:\n            errors.push(`The transition alias value \"${alias}\" is not supported`);\n            return '* => *';\n    }\n}\n// DO NOT REFACTOR ... keep the follow set instantiations\n// with the values intact (closure compiler for some reason\n// removes follow-up lines that add the values outside of\n// the constructor...\n/** @type {?} */\nconst TRUE_BOOLEAN_VALUES = new Set(['true', '1']);\n/** @type {?} */\nconst FALSE_BOOLEAN_VALUES = new Set(['false', '0']);\n/**\n * @param {?} lhs\n * @param {?} rhs\n * @return {?}\n */\nfunction makeLambdaFromStates(lhs, rhs) {\n    /** @type {?} */\n    const LHS_MATCH_BOOLEAN = TRUE_BOOLEAN_VALUES.has(lhs) || FALSE_BOOLEAN_VALUES.has(lhs);\n    /** @type {?} */\n    const RHS_MATCH_BOOLEAN = TRUE_BOOLEAN_VALUES.has(rhs) || FALSE_BOOLEAN_VALUES.has(rhs);\n    return (/**\n     * @param {?} fromState\n     * @param {?} toState\n     * @return {?}\n     */\n    (fromState, toState) => {\n        /** @type {?} */\n        let lhsMatch = lhs == ANY_STATE || lhs == fromState;\n        /** @type {?} */\n        let rhsMatch = rhs == ANY_STATE || rhs == toState;\n        if (!lhsMatch && LHS_MATCH_BOOLEAN && typeof fromState === 'boolean') {\n            lhsMatch = fromState ? TRUE_BOOLEAN_VALUES.has(lhs) : FALSE_BOOLEAN_VALUES.has(lhs);\n        }\n        if (!rhsMatch && RHS_MATCH_BOOLEAN && typeof toState === 'boolean') {\n            rhsMatch = toState ? TRUE_BOOLEAN_VALUES.has(rhs) : FALSE_BOOLEAN_VALUES.has(rhs);\n        }\n        return lhsMatch && rhsMatch;\n    });\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst SELF_TOKEN = ':self';\n/** @type {?} */\nconst SELF_TOKEN_REGEX = new RegExp(`\\s*${SELF_TOKEN}\\s*,?`, 'g');\n/*\n * [Validation]\n * The visitor code below will traverse the animation AST generated by the animation verb functions\n * (the output is a tree of objects) and attempt to perform a series of validations on the data. The\n * following corner-cases will be validated:\n *\n * 1. Overlap of animations\n * Given that a CSS property cannot be animated in more than one place at the same time, it's\n * important that this behavior is detected and validated. The way in which this occurs is that\n * each time a style property is examined, a string-map containing the property will be updated with\n * the start and end times for when the property is used within an animation step.\n *\n * If there are two or more parallel animations that are currently running (these are invoked by the\n * group()) on the same element then the validator will throw an error. Since the start/end timing\n * values are collected for each property then if the current animation step is animating the same\n * property and its timing values fall anywhere into the window of time that the property is\n * currently being animated within then this is what causes an error.\n *\n * 2. Timing values\n * The validator will validate to see if a timing value of `duration delay easing` or\n * `durationNumber` is valid or not.\n *\n * (note that upon validation the code below will replace the timing data with an object containing\n * {duration,delay,easing}.\n *\n * 3. Offset Validation\n * Each of the style() calls are allowed to have an offset value when placed inside of keyframes().\n * Offsets within keyframes() are considered valid when:\n *\n *   - No offsets are used at all\n *   - Each style() entry contains an offset value\n *   - Each offset is between 0 and 1\n *   - Each offset is greater to or equal than the previous one\n *\n * Otherwise an error will be thrown.\n */\n/**\n * @param {?} driver\n * @param {?} metadata\n * @param {?} errors\n * @return {?}\n */\nfunction buildAnimationAst(driver, metadata, errors) {\n    return new AnimationAstBuilderVisitor(driver).build(metadata, errors);\n}\n/** @type {?} */\nconst ROOT_SELECTOR = '';\nclass AnimationAstBuilderVisitor {\n    /**\n     * @param {?} _driver\n     */\n    constructor(_driver) {\n        this._driver = _driver;\n    }\n    /**\n     * @param {?} metadata\n     * @param {?} errors\n     * @return {?}\n     */\n    build(metadata, errors) {\n        /** @type {?} */\n        const context = new AnimationAstBuilderContext(errors);\n        this._resetContextStyleTimingState(context);\n        return (/** @type {?} */ (visitDslNode(this, normalizeAnimationEntry(metadata), context)));\n    }\n    /**\n     * @private\n     * @param {?} context\n     * @return {?}\n     */\n    _resetContextStyleTimingState(context) {\n        context.currentQuerySelector = ROOT_SELECTOR;\n        context.collectedStyles = {};\n        context.collectedStyles[ROOT_SELECTOR] = {};\n        context.currentTime = 0;\n    }\n    /**\n     * @param {?} metadata\n     * @param {?} context\n     * @return {?}\n     */\n    visitTrigger(metadata, context) {\n        /** @type {?} */\n        let queryCount = context.queryCount = 0;\n        /** @type {?} */\n        let depCount = context.depCount = 0;\n        /** @type {?} */\n        const states = [];\n        /** @type {?} */\n        const transitions = [];\n        if (metadata.name.charAt(0) == '@') {\n            context.errors.push('animation triggers cannot be prefixed with an `@` sign (e.g. trigger(\\'@foo\\', [...]))');\n        }\n        metadata.definitions.forEach((/**\n         * @param {?} def\n         * @return {?}\n         */\n        def => {\n            this._resetContextStyleTimingState(context);\n            if (def.type == 0 /* State */) {\n                /** @type {?} */\n                const stateDef = (/** @type {?} */ (def));\n                /** @type {?} */\n                const name = stateDef.name;\n                name.toString().split(/\\s*,\\s*/).forEach((/**\n                 * @param {?} n\n                 * @return {?}\n                 */\n                n => {\n                    stateDef.name = n;\n                    states.push(this.visitState(stateDef, context));\n                }));\n                stateDef.name = name;\n            }\n            else if (def.type == 1 /* Transition */) {\n                /** @type {?} */\n                const transition = this.visitTransition((/** @type {?} */ (def)), context);\n                queryCount += transition.queryCount;\n                depCount += transition.depCount;\n                transitions.push(transition);\n            }\n            else {\n                context.errors.push('only state() and transition() definitions can sit inside of a trigger()');\n            }\n        }));\n        return {\n            type: 7 /* Trigger */,\n            name: metadata.name, states, transitions, queryCount, depCount,\n            options: null\n        };\n    }\n    /**\n     * @param {?} metadata\n     * @param {?} context\n     * @return {?}\n     */\n    visitState(metadata, context) {\n        /** @type {?} */\n        const styleAst = this.visitStyle(metadata.styles, context);\n        /** @type {?} */\n        const astParams = (metadata.options && metadata.options.params) || null;\n        if (styleAst.containsDynamicStyles) {\n            /** @type {?} */\n            const missingSubs = new Set();\n            /** @type {?} */\n            const params = astParams || {};\n            styleAst.styles.forEach((/**\n             * @param {?} value\n             * @return {?}\n             */\n            value => {\n                if (isObject(value)) {\n                    /** @type {?} */\n                    const stylesObj = (/** @type {?} */ (value));\n                    Object.keys(stylesObj).forEach((/**\n                     * @param {?} prop\n                     * @return {?}\n                     */\n                    prop => {\n                        extractStyleParams(stylesObj[prop]).forEach((/**\n                         * @param {?} sub\n                         * @return {?}\n                         */\n                        sub => {\n                            if (!params.hasOwnProperty(sub)) {\n                                missingSubs.add(sub);\n                            }\n                        }));\n                    }));\n                }\n            }));\n            if (missingSubs.size) {\n                /** @type {?} */\n                const missingSubsArr = iteratorToArray(missingSubs.values());\n                context.errors.push(`state(\"${metadata.name}\", ...) must define default values for all the following style substitutions: ${missingSubsArr.join(', ')}`);\n            }\n        }\n        return {\n            type: 0 /* State */,\n            name: metadata.name,\n            style: styleAst,\n            options: astParams ? { params: astParams } : null\n        };\n    }\n    /**\n     * @param {?} metadata\n     * @param {?} context\n     * @return {?}\n     */\n    visitTransition(metadata, context) {\n        context.queryCount = 0;\n        context.depCount = 0;\n        /** @type {?} */\n        const animation = visitDslNode(this, normalizeAnimationEntry(metadata.animation), context);\n        /** @type {?} */\n        const matchers = parseTransitionExpr(metadata.expr, context.errors);\n        return {\n            type: 1 /* Transition */,\n            matchers,\n            animation,\n            queryCount: context.queryCount,\n            depCount: context.depCount,\n            options: normalizeAnimationOptions(metadata.options)\n        };\n    }\n    /**\n     * @param {?} metadata\n     * @param {?} context\n     * @return {?}\n     */\n    visitSequence(metadata, context) {\n        return {\n            type: 2 /* Sequence */,\n            steps: metadata.steps.map((/**\n             * @param {?} s\n             * @return {?}\n             */\n            s => visitDslNode(this, s, context))),\n            options: normalizeAnimationOptions(metadata.options)\n        };\n    }\n    /**\n     * @param {?} metadata\n     * @param {?} context\n     * @return {?}\n     */\n    visitGroup(metadata, context) {\n        /** @type {?} */\n        const currentTime = context.currentTime;\n        /** @type {?} */\n        let furthestTime = 0;\n        /** @type {?} */\n        const steps = metadata.steps.map((/**\n         * @param {?} step\n         * @return {?}\n         */\n        step => {\n            context.currentTime = currentTime;\n            /** @type {?} */\n            const innerAst = visitDslNode(this, step, context);\n            furthestTime = Math.max(furthestTime, context.currentTime);\n            return innerAst;\n        }));\n        context.currentTime = furthestTime;\n        return {\n            type: 3 /* Group */,\n            steps,\n            options: normalizeAnimationOptions(metadata.options)\n        };\n    }\n    /**\n     * @param {?} metadata\n     * @param {?} context\n     * @return {?}\n     */\n    visitAnimate(metadata, context) {\n        /** @type {?} */\n        const timingAst = constructTimingAst(metadata.timings, context.errors);\n        context.currentAnimateTimings = timingAst;\n        /** @type {?} */\n        let styleAst;\n        /** @type {?} */\n        let styleMetadata = metadata.styles ? metadata.styles : Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"style\"])({});\n        if (styleMetadata.type == 5 /* Keyframes */) {\n            styleAst = this.visitKeyframes((/** @type {?} */ (styleMetadata)), context);\n        }\n        else {\n            /** @type {?} */\n            let styleMetadata = (/** @type {?} */ (metadata.styles));\n            /** @type {?} */\n            let isEmpty = false;\n            if (!styleMetadata) {\n                isEmpty = true;\n                /** @type {?} */\n                const newStyleData = {};\n                if (timingAst.easing) {\n                    newStyleData['easing'] = timingAst.easing;\n                }\n                styleMetadata = Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"style\"])(newStyleData);\n            }\n            context.currentTime += timingAst.duration + timingAst.delay;\n            /** @type {?} */\n            const _styleAst = this.visitStyle(styleMetadata, context);\n            _styleAst.isEmptyStep = isEmpty;\n            styleAst = _styleAst;\n        }\n        context.currentAnimateTimings = null;\n        return {\n            type: 4 /* Animate */,\n            timings: timingAst,\n            style: styleAst,\n            options: null\n        };\n    }\n    /**\n     * @param {?} metadata\n     * @param {?} context\n     * @return {?}\n     */\n    visitStyle(metadata, context) {\n        /** @type {?} */\n        const ast = this._makeStyleAst(metadata, context);\n        this._validateStyleAst(ast, context);\n        return ast;\n    }\n    /**\n     * @private\n     * @param {?} metadata\n     * @param {?} context\n     * @return {?}\n     */\n    _makeStyleAst(metadata, context) {\n        /** @type {?} */\n        const styles = [];\n        if (Array.isArray(metadata.styles)) {\n            ((/** @type {?} */ (metadata.styles))).forEach((/**\n             * @param {?} styleTuple\n             * @return {?}\n             */\n            styleTuple => {\n                if (typeof styleTuple == 'string') {\n                    if (styleTuple == _angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"AUTO_STYLE\"]) {\n                        styles.push((/** @type {?} */ (styleTuple)));\n                    }\n                    else {\n                        context.errors.push(`The provided style string value ${styleTuple} is not allowed.`);\n                    }\n                }\n                else {\n                    styles.push((/** @type {?} */ (styleTuple)));\n                }\n            }));\n        }\n        else {\n            styles.push(metadata.styles);\n        }\n        /** @type {?} */\n        let containsDynamicStyles = false;\n        /** @type {?} */\n        let collectedEasing = null;\n        styles.forEach((/**\n         * @param {?} styleData\n         * @return {?}\n         */\n        styleData => {\n            if (isObject(styleData)) {\n                /** @type {?} */\n                const styleMap = (/** @type {?} */ (styleData));\n                /** @type {?} */\n                const easing = styleMap['easing'];\n                if (easing) {\n                    collectedEasing = (/** @type {?} */ (easing));\n                    delete styleMap['easing'];\n                }\n                if (!containsDynamicStyles) {\n                    for (let prop in styleMap) {\n                        /** @type {?} */\n                        const value = styleMap[prop];\n                        if (value.toString().indexOf(SUBSTITUTION_EXPR_START) >= 0) {\n                            containsDynamicStyles = true;\n                            break;\n                        }\n                    }\n                }\n            }\n        }));\n        return {\n            type: 6 /* Style */,\n            styles,\n            easing: collectedEasing,\n            offset: metadata.offset, containsDynamicStyles,\n            options: null\n        };\n    }\n    /**\n     * @private\n     * @param {?} ast\n     * @param {?} context\n     * @return {?}\n     */\n    _validateStyleAst(ast, context) {\n        /** @type {?} */\n        const timings = context.currentAnimateTimings;\n        /** @type {?} */\n        let endTime = context.currentTime;\n        /** @type {?} */\n        let startTime = context.currentTime;\n        if (timings && startTime > 0) {\n            startTime -= timings.duration + timings.delay;\n        }\n        ast.styles.forEach((/**\n         * @param {?} tuple\n         * @return {?}\n         */\n        tuple => {\n            if (typeof tuple == 'string')\n                return;\n            Object.keys(tuple).forEach((/**\n             * @param {?} prop\n             * @return {?}\n             */\n            prop => {\n                if (!this._driver.validateStyleProperty(prop)) {\n                    context.errors.push(`The provided animation property \"${prop}\" is not a supported CSS property for animations`);\n                    return;\n                }\n                /** @type {?} */\n                const collectedStyles = context.collectedStyles[(/** @type {?} */ (context.currentQuerySelector))];\n                /** @type {?} */\n                const collectedEntry = collectedStyles[prop];\n                /** @type {?} */\n                let updateCollectedStyle = true;\n                if (collectedEntry) {\n                    if (startTime != endTime && startTime >= collectedEntry.startTime &&\n                        endTime <= collectedEntry.endTime) {\n                        context.errors.push(`The CSS property \"${prop}\" that exists between the times of \"${collectedEntry.startTime}ms\" and \"${collectedEntry.endTime}ms\" is also being animated in a parallel animation between the times of \"${startTime}ms\" and \"${endTime}ms\"`);\n                        updateCollectedStyle = false;\n                    }\n                    // we always choose the smaller start time value since we\n                    // want to have a record of the entire animation window where\n                    // the style property is being animated in between\n                    startTime = collectedEntry.startTime;\n                }\n                if (updateCollectedStyle) {\n                    collectedStyles[prop] = { startTime, endTime };\n                }\n                if (context.options) {\n                    validateStyleParams(tuple[prop], context.options, context.errors);\n                }\n            }));\n        }));\n    }\n    /**\n     * @param {?} metadata\n     * @param {?} context\n     * @return {?}\n     */\n    visitKeyframes(metadata, context) {\n        /** @type {?} */\n        const ast = { type: 5 /* Keyframes */, styles: [], options: null };\n        if (!context.currentAnimateTimings) {\n            context.errors.push(`keyframes() must be placed inside of a call to animate()`);\n            return ast;\n        }\n        /** @type {?} */\n        const MAX_KEYFRAME_OFFSET = 1;\n        /** @type {?} */\n        let totalKeyframesWithOffsets = 0;\n        /** @type {?} */\n        const offsets = [];\n        /** @type {?} */\n        let offsetsOutOfOrder = false;\n        /** @type {?} */\n        let keyframesOutOfRange = false;\n        /** @type {?} */\n        let previousOffset = 0;\n        /** @type {?} */\n        const keyframes = metadata.steps.map((/**\n         * @param {?} styles\n         * @return {?}\n         */\n        styles => {\n            /** @type {?} */\n            const style = this._makeStyleAst(styles, context);\n            /** @type {?} */\n            let offsetVal = style.offset != null ? style.offset : consumeOffset(style.styles);\n            /** @type {?} */\n            let offset = 0;\n            if (offsetVal != null) {\n                totalKeyframesWithOffsets++;\n                offset = style.offset = offsetVal;\n            }\n            keyframesOutOfRange = keyframesOutOfRange || offset < 0 || offset > 1;\n            offsetsOutOfOrder = offsetsOutOfOrder || offset < previousOffset;\n            previousOffset = offset;\n            offsets.push(offset);\n            return style;\n        }));\n        if (keyframesOutOfRange) {\n            context.errors.push(`Please ensure that all keyframe offsets are between 0 and 1`);\n        }\n        if (offsetsOutOfOrder) {\n            context.errors.push(`Please ensure that all keyframe offsets are in order`);\n        }\n        /** @type {?} */\n        const length = metadata.steps.length;\n        /** @type {?} */\n        let generatedOffset = 0;\n        if (totalKeyframesWithOffsets > 0 && totalKeyframesWithOffsets < length) {\n            context.errors.push(`Not all style() steps within the declared keyframes() contain offsets`);\n        }\n        else if (totalKeyframesWithOffsets == 0) {\n            generatedOffset = MAX_KEYFRAME_OFFSET / (length - 1);\n        }\n        /** @type {?} */\n        const limit = length - 1;\n        /** @type {?} */\n        const currentTime = context.currentTime;\n        /** @type {?} */\n        const currentAnimateTimings = (/** @type {?} */ (context.currentAnimateTimings));\n        /** @type {?} */\n        const animateDuration = currentAnimateTimings.duration;\n        keyframes.forEach((/**\n         * @param {?} kf\n         * @param {?} i\n         * @return {?}\n         */\n        (kf, i) => {\n            /** @type {?} */\n            const offset = generatedOffset > 0 ? (i == limit ? 1 : (generatedOffset * i)) : offsets[i];\n            /** @type {?} */\n            const durationUpToThisFrame = offset * animateDuration;\n            context.currentTime = currentTime + currentAnimateTimings.delay + durationUpToThisFrame;\n            currentAnimateTimings.duration = durationUpToThisFrame;\n            this._validateStyleAst(kf, context);\n            kf.offset = offset;\n            ast.styles.push(kf);\n        }));\n        return ast;\n    }\n    /**\n     * @param {?} metadata\n     * @param {?} context\n     * @return {?}\n     */\n    visitReference(metadata, context) {\n        return {\n            type: 8 /* Reference */,\n            animation: visitDslNode(this, normalizeAnimationEntry(metadata.animation), context),\n            options: normalizeAnimationOptions(metadata.options)\n        };\n    }\n    /**\n     * @param {?} metadata\n     * @param {?} context\n     * @return {?}\n     */\n    visitAnimateChild(metadata, context) {\n        context.depCount++;\n        return {\n            type: 9 /* AnimateChild */,\n            options: normalizeAnimationOptions(metadata.options)\n        };\n    }\n    /**\n     * @param {?} metadata\n     * @param {?} context\n     * @return {?}\n     */\n    visitAnimateRef(metadata, context) {\n        return {\n            type: 10 /* AnimateRef */,\n            animation: this.visitReference(metadata.animation, context),\n            options: normalizeAnimationOptions(metadata.options)\n        };\n    }\n    /**\n     * @param {?} metadata\n     * @param {?} context\n     * @return {?}\n     */\n    visitQuery(metadata, context) {\n        /** @type {?} */\n        const parentSelector = (/** @type {?} */ (context.currentQuerySelector));\n        /** @type {?} */\n        const options = (/** @type {?} */ ((metadata.options || {})));\n        context.queryCount++;\n        context.currentQuery = metadata;\n        const [selector, includeSelf] = normalizeSelector(metadata.selector);\n        context.currentQuerySelector =\n            parentSelector.length ? (parentSelector + ' ' + selector) : selector;\n        getOrSetAsInMap(context.collectedStyles, context.currentQuerySelector, {});\n        /** @type {?} */\n        const animation = visitDslNode(this, normalizeAnimationEntry(metadata.animation), context);\n        context.currentQuery = null;\n        context.currentQuerySelector = parentSelector;\n        return {\n            type: 11 /* Query */,\n            selector,\n            limit: options.limit || 0,\n            optional: !!options.optional, includeSelf, animation,\n            originalSelector: metadata.selector,\n            options: normalizeAnimationOptions(metadata.options)\n        };\n    }\n    /**\n     * @param {?} metadata\n     * @param {?} context\n     * @return {?}\n     */\n    visitStagger(metadata, context) {\n        if (!context.currentQuery) {\n            context.errors.push(`stagger() can only be used inside of query()`);\n        }\n        /** @type {?} */\n        const timings = metadata.timings === 'full' ?\n            { duration: 0, delay: 0, easing: 'full' } :\n            resolveTiming(metadata.timings, context.errors, true);\n        return {\n            type: 12 /* Stagger */,\n            animation: visitDslNode(this, normalizeAnimationEntry(metadata.animation), context), timings,\n            options: null\n        };\n    }\n}\nif (false) {}\n/**\n * @param {?} selector\n * @return {?}\n */\nfunction normalizeSelector(selector) {\n    /** @type {?} */\n    const hasAmpersand = selector.split(/\\s*,\\s*/).find((/**\n     * @param {?} token\n     * @return {?}\n     */\n    token => token == SELF_TOKEN)) ? true : false;\n    if (hasAmpersand) {\n        selector = selector.replace(SELF_TOKEN_REGEX, '');\n    }\n    // the :enter and :leave selectors are filled in at runtime during timeline building\n    selector = selector.replace(/@\\*/g, NG_TRIGGER_SELECTOR)\n        .replace(/@\\w+/g, (/**\n     * @param {?} match\n     * @return {?}\n     */\n    match => NG_TRIGGER_SELECTOR + '-' + match.substr(1)))\n        .replace(/:animating/g, NG_ANIMATING_SELECTOR);\n    return [selector, hasAmpersand];\n}\n/**\n * @param {?} obj\n * @return {?}\n */\nfunction normalizeParams(obj) {\n    return obj ? copyObj(obj) : null;\n}\nclass AnimationAstBuilderContext {\n    /**\n     * @param {?} errors\n     */\n    constructor(errors) {\n        this.errors = errors;\n        this.queryCount = 0;\n        this.depCount = 0;\n        this.currentTransition = null;\n        this.currentQuery = null;\n        this.currentQuerySelector = null;\n        this.currentAnimateTimings = null;\n        this.currentTime = 0;\n        this.collectedStyles = {};\n        this.options = null;\n    }\n}\nif (false) {}\n/**\n * @param {?} styles\n * @return {?}\n */\nfunction consumeOffset(styles) {\n    if (typeof styles == 'string')\n        return null;\n    /** @type {?} */\n    let offset = null;\n    if (Array.isArray(styles)) {\n        styles.forEach((/**\n         * @param {?} styleTuple\n         * @return {?}\n         */\n        styleTuple => {\n            if (isObject(styleTuple) && styleTuple.hasOwnProperty('offset')) {\n                /** @type {?} */\n                const obj = (/** @type {?} */ (styleTuple));\n                offset = parseFloat((/** @type {?} */ (obj['offset'])));\n                delete obj['offset'];\n            }\n        }));\n    }\n    else if (isObject(styles) && styles.hasOwnProperty('offset')) {\n        /** @type {?} */\n        const obj = (/** @type {?} */ (styles));\n        offset = parseFloat((/** @type {?} */ (obj['offset'])));\n        delete obj['offset'];\n    }\n    return offset;\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction isObject(value) {\n    return !Array.isArray(value) && typeof value == 'object';\n}\n/**\n * @param {?} value\n * @param {?} errors\n * @return {?}\n */\nfunction constructTimingAst(value, errors) {\n    /** @type {?} */\n    let timings = null;\n    if (value.hasOwnProperty('duration')) {\n        timings = (/** @type {?} */ (value));\n    }\n    else if (typeof value == 'number') {\n        /** @type {?} */\n        const duration = resolveTiming((/** @type {?} */ (value)), errors).duration;\n        return makeTimingAst((/** @type {?} */ (duration)), 0, '');\n    }\n    /** @type {?} */\n    const strValue = (/** @type {?} */ (value));\n    /** @type {?} */\n    const isDynamic = strValue.split(/\\s+/).some((/**\n     * @param {?} v\n     * @return {?}\n     */\n    v => v.charAt(0) == '{' && v.charAt(1) == '{'));\n    if (isDynamic) {\n        /** @type {?} */\n        const ast = (/** @type {?} */ (makeTimingAst(0, 0, '')));\n        ast.dynamic = true;\n        ast.strValue = strValue;\n        return (/** @type {?} */ (ast));\n    }\n    timings = timings || resolveTiming(strValue, errors);\n    return makeTimingAst(timings.duration, timings.delay, timings.easing);\n}\n/**\n * @param {?} options\n * @return {?}\n */\nfunction normalizeAnimationOptions(options) {\n    if (options) {\n        options = copyObj(options);\n        if (options['params']) {\n            options['params'] = (/** @type {?} */ (normalizeParams(options['params'])));\n        }\n    }\n    else {\n        options = {};\n    }\n    return options;\n}\n/**\n * @param {?} duration\n * @param {?} delay\n * @param {?} easing\n * @return {?}\n */\nfunction makeTimingAst(duration, delay, easing) {\n    return { duration, delay, easing };\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @record\n */\nfunction AnimationTimelineInstruction() { }\nif (false) {}\n/**\n * @param {?} element\n * @param {?} keyframes\n * @param {?} preStyleProps\n * @param {?} postStyleProps\n * @param {?} duration\n * @param {?} delay\n * @param {?=} easing\n * @param {?=} subTimeline\n * @return {?}\n */\nfunction createTimelineInstruction(element, keyframes, preStyleProps, postStyleProps, duration, delay, easing = null, subTimeline = false) {\n    return {\n        type: 1 /* TimelineAnimation */,\n        element,\n        keyframes,\n        preStyleProps,\n        postStyleProps,\n        duration,\n        delay,\n        totalTime: duration + delay, easing, subTimeline\n    };\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass ElementInstructionMap {\n    constructor() {\n        this._map = new Map();\n    }\n    /**\n     * @param {?} element\n     * @return {?}\n     */\n    consume(element) {\n        /** @type {?} */\n        let instructions = this._map.get(element);\n        if (instructions) {\n            this._map.delete(element);\n        }\n        else {\n            instructions = [];\n        }\n        return instructions;\n    }\n    /**\n     * @param {?} element\n     * @param {?} instructions\n     * @return {?}\n     */\n    append(element, instructions) {\n        /** @type {?} */\n        let existingInstructions = this._map.get(element);\n        if (!existingInstructions) {\n            this._map.set(element, existingInstructions = []);\n        }\n        existingInstructions.push(...instructions);\n    }\n    /**\n     * @param {?} element\n     * @return {?}\n     */\n    has(element) { return this._map.has(element); }\n    /**\n     * @return {?}\n     */\n    clear() { this._map.clear(); }\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst ONE_FRAME_IN_MILLISECONDS = 1;\n/** @type {?} */\nconst ENTER_TOKEN = ':enter';\n/** @type {?} */\nconst ENTER_TOKEN_REGEX = new RegExp(ENTER_TOKEN, 'g');\n/** @type {?} */\nconst LEAVE_TOKEN = ':leave';\n/** @type {?} */\nconst LEAVE_TOKEN_REGEX = new RegExp(LEAVE_TOKEN, 'g');\n/*\n * The code within this file aims to generate web-animations-compatible keyframes from Angular's\n * animation DSL code.\n *\n * The code below will be converted from:\n *\n * ```\n * sequence([\n *   style({ opacity: 0 }),\n *   animate(1000, style({ opacity: 0 }))\n * ])\n * ```\n *\n * To:\n * ```\n * keyframes = [{ opacity: 0, offset: 0 }, { opacity: 1, offset: 1 }]\n * duration = 1000\n * delay = 0\n * easing = ''\n * ```\n *\n * For this operation to cover the combination of animation verbs (style, animate, group, etc...) a\n * combination of prototypical inheritance, AST traversal and merge-sort-like algorithms are used.\n *\n * [AST Traversal]\n * Each of the animation verbs, when executed, will return an string-map object representing what\n * type of action it is (style, animate, group, etc...) and the data associated with it. This means\n * that when functional composition mix of these functions is evaluated (like in the example above)\n * then it will end up producing a tree of objects representing the animation itself.\n *\n * When this animation object tree is processed by the visitor code below it will visit each of the\n * verb statements within the visitor. And during each visit it will build the context of the\n * animation keyframes by interacting with the `TimelineBuilder`.\n *\n * [TimelineBuilder]\n * This class is responsible for tracking the styles and building a series of keyframe objects for a\n * timeline between a start and end time. The builder starts off with an initial timeline and each\n * time the AST comes across a `group()`, `keyframes()` or a combination of the two wihtin a\n * `sequence()` then it will generate a sub timeline for each step as well as a new one after\n * they are complete.\n *\n * As the AST is traversed, the timing state on each of the timelines will be incremented. If a sub\n * timeline was created (based on one of the cases above) then the parent timeline will attempt to\n * merge the styles used within the sub timelines into itself (only with group() this will happen).\n * This happens with a merge operation (much like how the merge works in mergesort) and it will only\n * copy the most recently used styles from the sub timelines into the parent timeline. This ensures\n * that if the styles are used later on in another phase of the animation then they will be the most\n * up-to-date values.\n *\n * [How Missing Styles Are Updated]\n * Each timeline has a `backFill` property which is responsible for filling in new styles into\n * already processed keyframes if a new style shows up later within the animation sequence.\n *\n * ```\n * sequence([\n *   style({ width: 0 }),\n *   animate(1000, style({ width: 100 })),\n *   animate(1000, style({ width: 200 })),\n *   animate(1000, style({ width: 300 }))\n *   animate(1000, style({ width: 400, height: 400 })) // notice how `height` doesn't exist anywhere\n * else\n * ])\n * ```\n *\n * What is happening here is that the `height` value is added later in the sequence, but is missing\n * from all previous animation steps. Therefore when a keyframe is created it would also be missing\n * from all previous keyframes up until where it is first used. For the timeline keyframe generation\n * to properly fill in the style it will place the previous value (the value from the parent\n * timeline) or a default value of `*` into the backFill object. Given that each of the keyframe\n * styles are objects that prototypically inhert from the backFill object, this means that if a\n * value is added into the backFill then it will automatically propagate any missing values to all\n * keyframes. Therefore the missing `height` value will be properly filled into the already\n * processed keyframes.\n *\n * When a sub-timeline is created it will have its own backFill property. This is done so that\n * styles present within the sub-timeline do not accidentally seep into the previous/future timeline\n * keyframes\n *\n * (For prototypically-inherited contents to be detected a `for(i in obj)` loop must be used.)\n *\n * [Validation]\n * The code in this file is not responsible for validation. That functionality happens with within\n * the `AnimationValidatorVisitor` code.\n */\n/**\n * @param {?} driver\n * @param {?} rootElement\n * @param {?} ast\n * @param {?} enterClassName\n * @param {?} leaveClassName\n * @param {?=} startingStyles\n * @param {?=} finalStyles\n * @param {?=} options\n * @param {?=} subInstructions\n * @param {?=} errors\n * @return {?}\n */\nfunction buildAnimationTimelines(driver, rootElement, ast, enterClassName, leaveClassName, startingStyles = {}, finalStyles = {}, options, subInstructions, errors = []) {\n    return new AnimationTimelineBuilderVisitor().buildKeyframes(driver, rootElement, ast, enterClassName, leaveClassName, startingStyles, finalStyles, options, subInstructions, errors);\n}\nclass AnimationTimelineBuilderVisitor {\n    /**\n     * @param {?} driver\n     * @param {?} rootElement\n     * @param {?} ast\n     * @param {?} enterClassName\n     * @param {?} leaveClassName\n     * @param {?} startingStyles\n     * @param {?} finalStyles\n     * @param {?} options\n     * @param {?=} subInstructions\n     * @param {?=} errors\n     * @return {?}\n     */\n    buildKeyframes(driver, rootElement, ast, enterClassName, leaveClassName, startingStyles, finalStyles, options, subInstructions, errors = []) {\n        subInstructions = subInstructions || new ElementInstructionMap();\n        /** @type {?} */\n        const context = new AnimationTimelineContext(driver, rootElement, subInstructions, enterClassName, leaveClassName, errors, []);\n        context.options = options;\n        context.currentTimeline.setStyles([startingStyles], null, context.errors, options);\n        visitDslNode(this, ast, context);\n        // this checks to see if an actual animation happened\n        /** @type {?} */\n        const timelines = context.timelines.filter((/**\n         * @param {?} timeline\n         * @return {?}\n         */\n        timeline => timeline.containsAnimation()));\n        if (timelines.length && Object.keys(finalStyles).length) {\n            /** @type {?} */\n            const tl = timelines[timelines.length - 1];\n            if (!tl.allowOnlyTimelineStyles()) {\n                tl.setStyles([finalStyles], null, context.errors, options);\n            }\n        }\n        return timelines.length ? timelines.map((/**\n         * @param {?} timeline\n         * @return {?}\n         */\n        timeline => timeline.buildKeyframes())) :\n            [createTimelineInstruction(rootElement, [], [], [], 0, 0, '', false)];\n    }\n    /**\n     * @param {?} ast\n     * @param {?} context\n     * @return {?}\n     */\n    visitTrigger(ast, context) {\n        // these values are not visited in this AST\n    }\n    /**\n     * @param {?} ast\n     * @param {?} context\n     * @return {?}\n     */\n    visitState(ast, context) {\n        // these values are not visited in this AST\n    }\n    /**\n     * @param {?} ast\n     * @param {?} context\n     * @return {?}\n     */\n    visitTransition(ast, context) {\n        // these values are not visited in this AST\n    }\n    /**\n     * @param {?} ast\n     * @param {?} context\n     * @return {?}\n     */\n    visitAnimateChild(ast, context) {\n        /** @type {?} */\n        const elementInstructions = context.subInstructions.consume(context.element);\n        if (elementInstructions) {\n            /** @type {?} */\n            const innerContext = context.createSubContext(ast.options);\n            /** @type {?} */\n            const startTime = context.currentTimeline.currentTime;\n            /** @type {?} */\n            const endTime = this._visitSubInstructions(elementInstructions, innerContext, (/** @type {?} */ (innerContext.options)));\n            if (startTime != endTime) {\n                // we do this on the upper context because we created a sub context for\n                // the sub child animations\n                context.transformIntoNewTimeline(endTime);\n            }\n        }\n        context.previousNode = ast;\n    }\n    /**\n     * @param {?} ast\n     * @param {?} context\n     * @return {?}\n     */\n    visitAnimateRef(ast, context) {\n        /** @type {?} */\n        const innerContext = context.createSubContext(ast.options);\n        innerContext.transformIntoNewTimeline();\n        this.visitReference(ast.animation, innerContext);\n        context.transformIntoNewTimeline(innerContext.currentTimeline.currentTime);\n        context.previousNode = ast;\n    }\n    /**\n     * @private\n     * @param {?} instructions\n     * @param {?} context\n     * @param {?} options\n     * @return {?}\n     */\n    _visitSubInstructions(instructions, context, options) {\n        /** @type {?} */\n        const startTime = context.currentTimeline.currentTime;\n        /** @type {?} */\n        let furthestTime = startTime;\n        // this is a special-case for when a user wants to skip a sub\n        // animation from being fired entirely.\n        /** @type {?} */\n        const duration = options.duration != null ? resolveTimingValue(options.duration) : null;\n        /** @type {?} */\n        const delay = options.delay != null ? resolveTimingValue(options.delay) : null;\n        if (duration !== 0) {\n            instructions.forEach((/**\n             * @param {?} instruction\n             * @return {?}\n             */\n            instruction => {\n                /** @type {?} */\n                const instructionTimings = context.appendInstructionToTimeline(instruction, duration, delay);\n                furthestTime =\n                    Math.max(furthestTime, instructionTimings.duration + instructionTimings.delay);\n            }));\n        }\n        return furthestTime;\n    }\n    /**\n     * @param {?} ast\n     * @param {?} context\n     * @return {?}\n     */\n    visitReference(ast, context) {\n        context.updateOptions(ast.options, true);\n        visitDslNode(this, ast.animation, context);\n        context.previousNode = ast;\n    }\n    /**\n     * @param {?} ast\n     * @param {?} context\n     * @return {?}\n     */\n    visitSequence(ast, context) {\n        /** @type {?} */\n        const subContextCount = context.subContextCount;\n        /** @type {?} */\n        let ctx = context;\n        /** @type {?} */\n        const options = ast.options;\n        if (options && (options.params || options.delay)) {\n            ctx = context.createSubContext(options);\n            ctx.transformIntoNewTimeline();\n            if (options.delay != null) {\n                if (ctx.previousNode.type == 6 /* Style */) {\n                    ctx.currentTimeline.snapshotCurrentStyles();\n                    ctx.previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n                }\n                /** @type {?} */\n                const delay = resolveTimingValue(options.delay);\n                ctx.delayNextStep(delay);\n            }\n        }\n        if (ast.steps.length) {\n            ast.steps.forEach((/**\n             * @param {?} s\n             * @return {?}\n             */\n            s => visitDslNode(this, s, ctx)));\n            // this is here just incase the inner steps only contain or end with a style() call\n            ctx.currentTimeline.applyStylesToKeyframe();\n            // this means that some animation function within the sequence\n            // ended up creating a sub timeline (which means the current\n            // timeline cannot overlap with the contents of the sequence)\n            if (ctx.subContextCount > subContextCount) {\n                ctx.transformIntoNewTimeline();\n            }\n        }\n        context.previousNode = ast;\n    }\n    /**\n     * @param {?} ast\n     * @param {?} context\n     * @return {?}\n     */\n    visitGroup(ast, context) {\n        /** @type {?} */\n        const innerTimelines = [];\n        /** @type {?} */\n        let furthestTime = context.currentTimeline.currentTime;\n        /** @type {?} */\n        const delay = ast.options && ast.options.delay ? resolveTimingValue(ast.options.delay) : 0;\n        ast.steps.forEach((/**\n         * @param {?} s\n         * @return {?}\n         */\n        s => {\n            /** @type {?} */\n            const innerContext = context.createSubContext(ast.options);\n            if (delay) {\n                innerContext.delayNextStep(delay);\n            }\n            visitDslNode(this, s, innerContext);\n            furthestTime = Math.max(furthestTime, innerContext.currentTimeline.currentTime);\n            innerTimelines.push(innerContext.currentTimeline);\n        }));\n        // this operation is run after the AST loop because otherwise\n        // if the parent timeline's collected styles were updated then\n        // it would pass in invalid data into the new-to-be forked items\n        innerTimelines.forEach((/**\n         * @param {?} timeline\n         * @return {?}\n         */\n        timeline => context.currentTimeline.mergeTimelineCollectedStyles(timeline)));\n        context.transformIntoNewTimeline(furthestTime);\n        context.previousNode = ast;\n    }\n    /**\n     * @private\n     * @param {?} ast\n     * @param {?} context\n     * @return {?}\n     */\n    _visitTiming(ast, context) {\n        if (((/** @type {?} */ (ast))).dynamic) {\n            /** @type {?} */\n            const strValue = ((/** @type {?} */ (ast))).strValue;\n            /** @type {?} */\n            const timingValue = context.params ? interpolateParams(strValue, context.params, context.errors) : strValue;\n            return resolveTiming(timingValue, context.errors);\n        }\n        else {\n            return { duration: ast.duration, delay: ast.delay, easing: ast.easing };\n        }\n    }\n    /**\n     * @param {?} ast\n     * @param {?} context\n     * @return {?}\n     */\n    visitAnimate(ast, context) {\n        /** @type {?} */\n        const timings = context.currentAnimateTimings = this._visitTiming(ast.timings, context);\n        /** @type {?} */\n        const timeline = context.currentTimeline;\n        if (timings.delay) {\n            context.incrementTime(timings.delay);\n            timeline.snapshotCurrentStyles();\n        }\n        /** @type {?} */\n        const style = ast.style;\n        if (style.type == 5 /* Keyframes */) {\n            this.visitKeyframes(style, context);\n        }\n        else {\n            context.incrementTime(timings.duration);\n            this.visitStyle((/** @type {?} */ (style)), context);\n            timeline.applyStylesToKeyframe();\n        }\n        context.currentAnimateTimings = null;\n        context.previousNode = ast;\n    }\n    /**\n     * @param {?} ast\n     * @param {?} context\n     * @return {?}\n     */\n    visitStyle(ast, context) {\n        /** @type {?} */\n        const timeline = context.currentTimeline;\n        /** @type {?} */\n        const timings = (/** @type {?} */ (context.currentAnimateTimings));\n        // this is a special case for when a style() call\n        // directly follows  an animate() call (but not inside of an animate() call)\n        if (!timings && timeline.getCurrentStyleProperties().length) {\n            timeline.forwardFrame();\n        }\n        /** @type {?} */\n        const easing = (timings && timings.easing) || ast.easing;\n        if (ast.isEmptyStep) {\n            timeline.applyEmptyStep(easing);\n        }\n        else {\n            timeline.setStyles(ast.styles, easing, context.errors, context.options);\n        }\n        context.previousNode = ast;\n    }\n    /**\n     * @param {?} ast\n     * @param {?} context\n     * @return {?}\n     */\n    visitKeyframes(ast, context) {\n        /** @type {?} */\n        const currentAnimateTimings = (/** @type {?} */ (context.currentAnimateTimings));\n        /** @type {?} */\n        const startTime = ((/** @type {?} */ (context.currentTimeline))).duration;\n        /** @type {?} */\n        const duration = currentAnimateTimings.duration;\n        /** @type {?} */\n        const innerContext = context.createSubContext();\n        /** @type {?} */\n        const innerTimeline = innerContext.currentTimeline;\n        innerTimeline.easing = currentAnimateTimings.easing;\n        ast.styles.forEach((/**\n         * @param {?} step\n         * @return {?}\n         */\n        step => {\n            /** @type {?} */\n            const offset = step.offset || 0;\n            innerTimeline.forwardTime(offset * duration);\n            innerTimeline.setStyles(step.styles, step.easing, context.errors, context.options);\n            innerTimeline.applyStylesToKeyframe();\n        }));\n        // this will ensure that the parent timeline gets all the styles from\n        // the child even if the new timeline below is not used\n        context.currentTimeline.mergeTimelineCollectedStyles(innerTimeline);\n        // we do this because the window between this timeline and the sub timeline\n        // should ensure that the styles within are exactly the same as they were before\n        context.transformIntoNewTimeline(startTime + duration);\n        context.previousNode = ast;\n    }\n    /**\n     * @param {?} ast\n     * @param {?} context\n     * @return {?}\n     */\n    visitQuery(ast, context) {\n        // in the event that the first step before this is a style step we need\n        // to ensure the styles are applied before the children are animated\n        /** @type {?} */\n        const startTime = context.currentTimeline.currentTime;\n        /** @type {?} */\n        const options = (/** @type {?} */ ((ast.options || {})));\n        /** @type {?} */\n        const delay = options.delay ? resolveTimingValue(options.delay) : 0;\n        if (delay && (context.previousNode.type === 6 /* Style */ ||\n            (startTime == 0 && context.currentTimeline.getCurrentStyleProperties().length))) {\n            context.currentTimeline.snapshotCurrentStyles();\n            context.previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n        }\n        /** @type {?} */\n        let furthestTime = startTime;\n        /** @type {?} */\n        const elms = context.invokeQuery(ast.selector, ast.originalSelector, ast.limit, ast.includeSelf, options.optional ? true : false, context.errors);\n        context.currentQueryTotal = elms.length;\n        /** @type {?} */\n        let sameElementTimeline = null;\n        elms.forEach((/**\n         * @param {?} element\n         * @param {?} i\n         * @return {?}\n         */\n        (element, i) => {\n            context.currentQueryIndex = i;\n            /** @type {?} */\n            const innerContext = context.createSubContext(ast.options, element);\n            if (delay) {\n                innerContext.delayNextStep(delay);\n            }\n            if (element === context.element) {\n                sameElementTimeline = innerContext.currentTimeline;\n            }\n            visitDslNode(this, ast.animation, innerContext);\n            // this is here just incase the inner steps only contain or end\n            // with a style() call (which is here to signal that this is a preparatory\n            // call to style an element before it is animated again)\n            innerContext.currentTimeline.applyStylesToKeyframe();\n            /** @type {?} */\n            const endTime = innerContext.currentTimeline.currentTime;\n            furthestTime = Math.max(furthestTime, endTime);\n        }));\n        context.currentQueryIndex = 0;\n        context.currentQueryTotal = 0;\n        context.transformIntoNewTimeline(furthestTime);\n        if (sameElementTimeline) {\n            context.currentTimeline.mergeTimelineCollectedStyles(sameElementTimeline);\n            context.currentTimeline.snapshotCurrentStyles();\n        }\n        context.previousNode = ast;\n    }\n    /**\n     * @param {?} ast\n     * @param {?} context\n     * @return {?}\n     */\n    visitStagger(ast, context) {\n        /** @type {?} */\n        const parentContext = (/** @type {?} */ (context.parentContext));\n        /** @type {?} */\n        const tl = context.currentTimeline;\n        /** @type {?} */\n        const timings = ast.timings;\n        /** @type {?} */\n        const duration = Math.abs(timings.duration);\n        /** @type {?} */\n        const maxTime = duration * (context.currentQueryTotal - 1);\n        /** @type {?} */\n        let delay = duration * context.currentQueryIndex;\n        /** @type {?} */\n        let staggerTransformer = timings.duration < 0 ? 'reverse' : timings.easing;\n        switch (staggerTransformer) {\n            case 'reverse':\n                delay = maxTime - delay;\n                break;\n            case 'full':\n                delay = parentContext.currentStaggerTime;\n                break;\n        }\n        /** @type {?} */\n        const timeline = context.currentTimeline;\n        if (delay) {\n            timeline.delayNextStep(delay);\n        }\n        /** @type {?} */\n        const startingTime = timeline.currentTime;\n        visitDslNode(this, ast.animation, context);\n        context.previousNode = ast;\n        // time = duration + delay\n        // the reason why this computation is so complex is because\n        // the inner timeline may either have a delay value or a stretched\n        // keyframe depending on if a subtimeline is not used or is used.\n        parentContext.currentStaggerTime =\n            (tl.currentTime - startingTime) + (tl.startTime - parentContext.currentTimeline.startTime);\n    }\n}\n/** @type {?} */\nconst DEFAULT_NOOP_PREVIOUS_NODE = (/** @type {?} */ ({}));\nclass AnimationTimelineContext {\n    /**\n     * @param {?} _driver\n     * @param {?} element\n     * @param {?} subInstructions\n     * @param {?} _enterClassName\n     * @param {?} _leaveClassName\n     * @param {?} errors\n     * @param {?} timelines\n     * @param {?=} initialTimeline\n     */\n    constructor(_driver, element, subInstructions, _enterClassName, _leaveClassName, errors, timelines, initialTimeline) {\n        this._driver = _driver;\n        this.element = element;\n        this.subInstructions = subInstructions;\n        this._enterClassName = _enterClassName;\n        this._leaveClassName = _leaveClassName;\n        this.errors = errors;\n        this.timelines = timelines;\n        this.parentContext = null;\n        this.currentAnimateTimings = null;\n        this.previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n        this.subContextCount = 0;\n        this.options = {};\n        this.currentQueryIndex = 0;\n        this.currentQueryTotal = 0;\n        this.currentStaggerTime = 0;\n        this.currentTimeline = initialTimeline || new TimelineBuilder(this._driver, element, 0);\n        timelines.push(this.currentTimeline);\n    }\n    /**\n     * @return {?}\n     */\n    get params() { return this.options.params; }\n    /**\n     * @param {?} options\n     * @param {?=} skipIfExists\n     * @return {?}\n     */\n    updateOptions(options, skipIfExists) {\n        if (!options)\n            return;\n        /** @type {?} */\n        const newOptions = (/** @type {?} */ (options));\n        /** @type {?} */\n        let optionsToUpdate = this.options;\n        // NOTE: this will get patched up when other animation methods support duration overrides\n        if (newOptions.duration != null) {\n            ((/** @type {?} */ (optionsToUpdate))).duration = resolveTimingValue(newOptions.duration);\n        }\n        if (newOptions.delay != null) {\n            optionsToUpdate.delay = resolveTimingValue(newOptions.delay);\n        }\n        /** @type {?} */\n        const newParams = newOptions.params;\n        if (newParams) {\n            /** @type {?} */\n            let paramsToUpdate = (/** @type {?} */ (optionsToUpdate.params));\n            if (!paramsToUpdate) {\n                paramsToUpdate = this.options.params = {};\n            }\n            Object.keys(newParams).forEach((/**\n             * @param {?} name\n             * @return {?}\n             */\n            name => {\n                if (!skipIfExists || !paramsToUpdate.hasOwnProperty(name)) {\n                    paramsToUpdate[name] = interpolateParams(newParams[name], paramsToUpdate, this.errors);\n                }\n            }));\n        }\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _copyOptions() {\n        /** @type {?} */\n        const options = {};\n        if (this.options) {\n            /** @type {?} */\n            const oldParams = this.options.params;\n            if (oldParams) {\n                /** @type {?} */\n                const params = options['params'] = {};\n                Object.keys(oldParams).forEach((/**\n                 * @param {?} name\n                 * @return {?}\n                 */\n                name => { params[name] = oldParams[name]; }));\n            }\n        }\n        return options;\n    }\n    /**\n     * @param {?=} options\n     * @param {?=} element\n     * @param {?=} newTime\n     * @return {?}\n     */\n    createSubContext(options = null, element, newTime) {\n        /** @type {?} */\n        const target = element || this.element;\n        /** @type {?} */\n        const context = new AnimationTimelineContext(this._driver, target, this.subInstructions, this._enterClassName, this._leaveClassName, this.errors, this.timelines, this.currentTimeline.fork(target, newTime || 0));\n        context.previousNode = this.previousNode;\n        context.currentAnimateTimings = this.currentAnimateTimings;\n        context.options = this._copyOptions();\n        context.updateOptions(options);\n        context.currentQueryIndex = this.currentQueryIndex;\n        context.currentQueryTotal = this.currentQueryTotal;\n        context.parentContext = this;\n        this.subContextCount++;\n        return context;\n    }\n    /**\n     * @param {?=} newTime\n     * @return {?}\n     */\n    transformIntoNewTimeline(newTime) {\n        this.previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n        this.currentTimeline = this.currentTimeline.fork(this.element, newTime);\n        this.timelines.push(this.currentTimeline);\n        return this.currentTimeline;\n    }\n    /**\n     * @param {?} instruction\n     * @param {?} duration\n     * @param {?} delay\n     * @return {?}\n     */\n    appendInstructionToTimeline(instruction, duration, delay) {\n        /** @type {?} */\n        const updatedTimings = {\n            duration: duration != null ? duration : instruction.duration,\n            delay: this.currentTimeline.currentTime + (delay != null ? delay : 0) + instruction.delay,\n            easing: ''\n        };\n        /** @type {?} */\n        const builder = new SubTimelineBuilder(this._driver, instruction.element, instruction.keyframes, instruction.preStyleProps, instruction.postStyleProps, updatedTimings, instruction.stretchStartingKeyframe);\n        this.timelines.push(builder);\n        return updatedTimings;\n    }\n    /**\n     * @param {?} time\n     * @return {?}\n     */\n    incrementTime(time) {\n        this.currentTimeline.forwardTime(this.currentTimeline.duration + time);\n    }\n    /**\n     * @param {?} delay\n     * @return {?}\n     */\n    delayNextStep(delay) {\n        // negative delays are not yet supported\n        if (delay > 0) {\n            this.currentTimeline.delayNextStep(delay);\n        }\n    }\n    /**\n     * @param {?} selector\n     * @param {?} originalSelector\n     * @param {?} limit\n     * @param {?} includeSelf\n     * @param {?} optional\n     * @param {?} errors\n     * @return {?}\n     */\n    invokeQuery(selector, originalSelector, limit, includeSelf, optional, errors) {\n        /** @type {?} */\n        let results = [];\n        if (includeSelf) {\n            results.push(this.element);\n        }\n        if (selector.length > 0) { // if :self is only used then the selector is empty\n            selector = selector.replace(ENTER_TOKEN_REGEX, '.' + this._enterClassName);\n            selector = selector.replace(LEAVE_TOKEN_REGEX, '.' + this._leaveClassName);\n            /** @type {?} */\n            const multi = limit != 1;\n            /** @type {?} */\n            let elements = this._driver.query(this.element, selector, multi);\n            if (limit !== 0) {\n                elements = limit < 0 ? elements.slice(elements.length + limit, elements.length) :\n                    elements.slice(0, limit);\n            }\n            results.push(...elements);\n        }\n        if (!optional && results.length == 0) {\n            errors.push(`\\`query(\"${originalSelector}\")\\` returned zero elements. (Use \\`query(\"${originalSelector}\", { optional: true })\\` if you wish to allow this.)`);\n        }\n        return results;\n    }\n}\nif (false) {}\nclass TimelineBuilder {\n    /**\n     * @param {?} _driver\n     * @param {?} element\n     * @param {?} startTime\n     * @param {?=} _elementTimelineStylesLookup\n     */\n    constructor(_driver, element, startTime, _elementTimelineStylesLookup) {\n        this._driver = _driver;\n        this.element = element;\n        this.startTime = startTime;\n        this._elementTimelineStylesLookup = _elementTimelineStylesLookup;\n        this.duration = 0;\n        this._previousKeyframe = {};\n        this._currentKeyframe = {};\n        this._keyframes = new Map();\n        this._styleSummary = {};\n        this._pendingStyles = {};\n        this._backFill = {};\n        this._currentEmptyStepKeyframe = null;\n        if (!this._elementTimelineStylesLookup) {\n            this._elementTimelineStylesLookup = new Map();\n        }\n        this._localTimelineStyles = Object.create(this._backFill, {});\n        this._globalTimelineStyles = (/** @type {?} */ (this._elementTimelineStylesLookup.get(element)));\n        if (!this._globalTimelineStyles) {\n            this._globalTimelineStyles = this._localTimelineStyles;\n            this._elementTimelineStylesLookup.set(element, this._localTimelineStyles);\n        }\n        this._loadKeyframe();\n    }\n    /**\n     * @return {?}\n     */\n    containsAnimation() {\n        switch (this._keyframes.size) {\n            case 0:\n                return false;\n            case 1:\n                return this.getCurrentStyleProperties().length > 0;\n            default:\n                return true;\n        }\n    }\n    /**\n     * @return {?}\n     */\n    getCurrentStyleProperties() { return Object.keys(this._currentKeyframe); }\n    /**\n     * @return {?}\n     */\n    get currentTime() { return this.startTime + this.duration; }\n    /**\n     * @param {?} delay\n     * @return {?}\n     */\n    delayNextStep(delay) {\n        // in the event that a style() step is placed right before a stagger()\n        // and that style() step is the very first style() value in the animation\n        // then we need to make a copy of the keyframe [0, copy, 1] so that the delay\n        // properly applies the style() values to work with the stagger...\n        /** @type {?} */\n        const hasPreStyleStep = this._keyframes.size == 1 && Object.keys(this._pendingStyles).length;\n        if (this.duration || hasPreStyleStep) {\n            this.forwardTime(this.currentTime + delay);\n            if (hasPreStyleStep) {\n                this.snapshotCurrentStyles();\n            }\n        }\n        else {\n            this.startTime += delay;\n        }\n    }\n    /**\n     * @param {?} element\n     * @param {?=} currentTime\n     * @return {?}\n     */\n    fork(element, currentTime) {\n        this.applyStylesToKeyframe();\n        return new TimelineBuilder(this._driver, element, currentTime || this.currentTime, this._elementTimelineStylesLookup);\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _loadKeyframe() {\n        if (this._currentKeyframe) {\n            this._previousKeyframe = this._currentKeyframe;\n        }\n        this._currentKeyframe = (/** @type {?} */ (this._keyframes.get(this.duration)));\n        if (!this._currentKeyframe) {\n            this._currentKeyframe = Object.create(this._backFill, {});\n            this._keyframes.set(this.duration, this._currentKeyframe);\n        }\n    }\n    /**\n     * @return {?}\n     */\n    forwardFrame() {\n        this.duration += ONE_FRAME_IN_MILLISECONDS;\n        this._loadKeyframe();\n    }\n    /**\n     * @param {?} time\n     * @return {?}\n     */\n    forwardTime(time) {\n        this.applyStylesToKeyframe();\n        this.duration = time;\n        this._loadKeyframe();\n    }\n    /**\n     * @private\n     * @param {?} prop\n     * @param {?} value\n     * @return {?}\n     */\n    _updateStyle(prop, value) {\n        this._localTimelineStyles[prop] = value;\n        this._globalTimelineStyles[prop] = value;\n        this._styleSummary[prop] = { time: this.currentTime, value };\n    }\n    /**\n     * @return {?}\n     */\n    allowOnlyTimelineStyles() { return this._currentEmptyStepKeyframe !== this._currentKeyframe; }\n    /**\n     * @param {?} easing\n     * @return {?}\n     */\n    applyEmptyStep(easing) {\n        if (easing) {\n            this._previousKeyframe['easing'] = easing;\n        }\n        // special case for animate(duration):\n        // all missing styles are filled with a `*` value then\n        // if any destination styles are filled in later on the same\n        // keyframe then they will override the overridden styles\n        // We use `_globalTimelineStyles` here because there may be\n        // styles in previous keyframes that are not present in this timeline\n        Object.keys(this._globalTimelineStyles).forEach((/**\n         * @param {?} prop\n         * @return {?}\n         */\n        prop => {\n            this._backFill[prop] = this._globalTimelineStyles[prop] || _angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"AUTO_STYLE\"];\n            this._currentKeyframe[prop] = _angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"AUTO_STYLE\"];\n        }));\n        this._currentEmptyStepKeyframe = this._currentKeyframe;\n    }\n    /**\n     * @param {?} input\n     * @param {?} easing\n     * @param {?} errors\n     * @param {?=} options\n     * @return {?}\n     */\n    setStyles(input, easing, errors, options) {\n        if (easing) {\n            this._previousKeyframe['easing'] = easing;\n        }\n        /** @type {?} */\n        const params = (options && options.params) || {};\n        /** @type {?} */\n        const styles = flattenStyles(input, this._globalTimelineStyles);\n        Object.keys(styles).forEach((/**\n         * @param {?} prop\n         * @return {?}\n         */\n        prop => {\n            /** @type {?} */\n            const val = interpolateParams(styles[prop], params, errors);\n            this._pendingStyles[prop] = val;\n            if (!this._localTimelineStyles.hasOwnProperty(prop)) {\n                this._backFill[prop] = this._globalTimelineStyles.hasOwnProperty(prop) ?\n                    this._globalTimelineStyles[prop] :\n                    _angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"AUTO_STYLE\"];\n            }\n            this._updateStyle(prop, val);\n        }));\n    }\n    /**\n     * @return {?}\n     */\n    applyStylesToKeyframe() {\n        /** @type {?} */\n        const styles = this._pendingStyles;\n        /** @type {?} */\n        const props = Object.keys(styles);\n        if (props.length == 0)\n            return;\n        this._pendingStyles = {};\n        props.forEach((/**\n         * @param {?} prop\n         * @return {?}\n         */\n        prop => {\n            /** @type {?} */\n            const val = styles[prop];\n            this._currentKeyframe[prop] = val;\n        }));\n        Object.keys(this._localTimelineStyles).forEach((/**\n         * @param {?} prop\n         * @return {?}\n         */\n        prop => {\n            if (!this._currentKeyframe.hasOwnProperty(prop)) {\n                this._currentKeyframe[prop] = this._localTimelineStyles[prop];\n            }\n        }));\n    }\n    /**\n     * @return {?}\n     */\n    snapshotCurrentStyles() {\n        Object.keys(this._localTimelineStyles).forEach((/**\n         * @param {?} prop\n         * @return {?}\n         */\n        prop => {\n            /** @type {?} */\n            const val = this._localTimelineStyles[prop];\n            this._pendingStyles[prop] = val;\n            this._updateStyle(prop, val);\n        }));\n    }\n    /**\n     * @return {?}\n     */\n    getFinalKeyframe() { return this._keyframes.get(this.duration); }\n    /**\n     * @return {?}\n     */\n    get properties() {\n        /** @type {?} */\n        const properties = [];\n        for (let prop in this._currentKeyframe) {\n            properties.push(prop);\n        }\n        return properties;\n    }\n    /**\n     * @param {?} timeline\n     * @return {?}\n     */\n    mergeTimelineCollectedStyles(timeline) {\n        Object.keys(timeline._styleSummary).forEach((/**\n         * @param {?} prop\n         * @return {?}\n         */\n        prop => {\n            /** @type {?} */\n            const details0 = this._styleSummary[prop];\n            /** @type {?} */\n            const details1 = timeline._styleSummary[prop];\n            if (!details0 || details1.time > details0.time) {\n                this._updateStyle(prop, details1.value);\n            }\n        }));\n    }\n    /**\n     * @return {?}\n     */\n    buildKeyframes() {\n        this.applyStylesToKeyframe();\n        /** @type {?} */\n        const preStyleProps = new Set();\n        /** @type {?} */\n        const postStyleProps = new Set();\n        /** @type {?} */\n        const isEmpty = this._keyframes.size === 1 && this.duration === 0;\n        /** @type {?} */\n        let finalKeyframes = [];\n        this._keyframes.forEach((/**\n         * @param {?} keyframe\n         * @param {?} time\n         * @return {?}\n         */\n        (keyframe, time) => {\n            /** @type {?} */\n            const finalKeyframe = copyStyles(keyframe, true);\n            Object.keys(finalKeyframe).forEach((/**\n             * @param {?} prop\n             * @return {?}\n             */\n            prop => {\n                /** @type {?} */\n                const value = finalKeyframe[prop];\n                if (value == _angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"ɵPRE_STYLE\"]) {\n                    preStyleProps.add(prop);\n                }\n                else if (value == _angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"AUTO_STYLE\"]) {\n                    postStyleProps.add(prop);\n                }\n            }));\n            if (!isEmpty) {\n                finalKeyframe['offset'] = time / this.duration;\n            }\n            finalKeyframes.push(finalKeyframe);\n        }));\n        /** @type {?} */\n        const preProps = preStyleProps.size ? iteratorToArray(preStyleProps.values()) : [];\n        /** @type {?} */\n        const postProps = postStyleProps.size ? iteratorToArray(postStyleProps.values()) : [];\n        // special case for a 0-second animation (which is designed just to place styles onscreen)\n        if (isEmpty) {\n            /** @type {?} */\n            const kf0 = finalKeyframes[0];\n            /** @type {?} */\n            const kf1 = copyObj(kf0);\n            kf0['offset'] = 0;\n            kf1['offset'] = 1;\n            finalKeyframes = [kf0, kf1];\n        }\n        return createTimelineInstruction(this.element, finalKeyframes, preProps, postProps, this.duration, this.startTime, this.easing, false);\n    }\n}\nif (false) {}\nclass SubTimelineBuilder extends TimelineBuilder {\n    /**\n     * @param {?} driver\n     * @param {?} element\n     * @param {?} keyframes\n     * @param {?} preStyleProps\n     * @param {?} postStyleProps\n     * @param {?} timings\n     * @param {?=} _stretchStartingKeyframe\n     */\n    constructor(driver, element, keyframes, preStyleProps, postStyleProps, timings, _stretchStartingKeyframe = false) {\n        super(driver, element, timings.delay);\n        this.element = element;\n        this.keyframes = keyframes;\n        this.preStyleProps = preStyleProps;\n        this.postStyleProps = postStyleProps;\n        this._stretchStartingKeyframe = _stretchStartingKeyframe;\n        this.timings = { duration: timings.duration, delay: timings.delay, easing: timings.easing };\n    }\n    /**\n     * @return {?}\n     */\n    containsAnimation() { return this.keyframes.length > 1; }\n    /**\n     * @return {?}\n     */\n    buildKeyframes() {\n        /** @type {?} */\n        let keyframes = this.keyframes;\n        let { delay, duration, easing } = this.timings;\n        if (this._stretchStartingKeyframe && delay) {\n            /** @type {?} */\n            const newKeyframes = [];\n            /** @type {?} */\n            const totalTime = duration + delay;\n            /** @type {?} */\n            const startingGap = delay / totalTime;\n            // the original starting keyframe now starts once the delay is done\n            /** @type {?} */\n            const newFirstKeyframe = copyStyles(keyframes[0], false);\n            newFirstKeyframe['offset'] = 0;\n            newKeyframes.push(newFirstKeyframe);\n            /** @type {?} */\n            const oldFirstKeyframe = copyStyles(keyframes[0], false);\n            oldFirstKeyframe['offset'] = roundOffset(startingGap);\n            newKeyframes.push(oldFirstKeyframe);\n            /*\n                    When the keyframe is stretched then it means that the delay before the animation\n                    starts is gone. Instead the first keyframe is placed at the start of the animation\n                    and it is then copied to where it starts when the original delay is over. This basically\n                    means nothing animates during that delay, but the styles are still renderered. For this\n                    to work the original offset values that exist in the original keyframes must be \"warped\"\n                    so that they can take the new keyframe + delay into account.\n            \n                    delay=1000, duration=1000, keyframes = 0 .5 1\n            \n                    turns into\n            \n                    delay=0, duration=2000, keyframes = 0 .33 .66 1\n                   */\n            // offsets between 1 ... n -1 are all warped by the keyframe stretch\n            /** @type {?} */\n            const limit = keyframes.length - 1;\n            for (let i = 1; i <= limit; i++) {\n                /** @type {?} */\n                let kf = copyStyles(keyframes[i], false);\n                /** @type {?} */\n                const oldOffset = (/** @type {?} */ (kf['offset']));\n                /** @type {?} */\n                const timeAtKeyframe = delay + oldOffset * duration;\n                kf['offset'] = roundOffset(timeAtKeyframe / totalTime);\n                newKeyframes.push(kf);\n            }\n            // the new starting keyframe should be added at the start\n            duration = totalTime;\n            delay = 0;\n            easing = '';\n            keyframes = newKeyframes;\n        }\n        return createTimelineInstruction(this.element, keyframes, this.preStyleProps, this.postStyleProps, duration, delay, easing, true);\n    }\n}\nif (false) {}\n/**\n * @param {?} offset\n * @param {?=} decimalPoints\n * @return {?}\n */\nfunction roundOffset(offset, decimalPoints = 3) {\n    /** @type {?} */\n    const mult = Math.pow(10, decimalPoints - 1);\n    return Math.round(offset * mult) / mult;\n}\n/**\n * @param {?} input\n * @param {?} allStyles\n * @return {?}\n */\nfunction flattenStyles(input, allStyles) {\n    /** @type {?} */\n    const styles = {};\n    /** @type {?} */\n    let allProperties;\n    input.forEach((/**\n     * @param {?} token\n     * @return {?}\n     */\n    token => {\n        if (token === '*') {\n            allProperties = allProperties || Object.keys(allStyles);\n            allProperties.forEach((/**\n             * @param {?} prop\n             * @return {?}\n             */\n            prop => { styles[prop] = _angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"AUTO_STYLE\"]; }));\n        }\n        else {\n            copyStyles((/** @type {?} */ (token)), false, styles);\n        }\n    }));\n    return styles;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass Animation {\n    /**\n     * @param {?} _driver\n     * @param {?} input\n     */\n    constructor(_driver, input) {\n        this._driver = _driver;\n        /** @type {?} */\n        const errors = [];\n        /** @type {?} */\n        const ast = buildAnimationAst(_driver, input, errors);\n        if (errors.length) {\n            /** @type {?} */\n            const errorMessage = `animation validation failed:\\n${errors.join(\"\\n\")}`;\n            throw new Error(errorMessage);\n        }\n        this._animationAst = ast;\n    }\n    /**\n     * @param {?} element\n     * @param {?} startingStyles\n     * @param {?} destinationStyles\n     * @param {?} options\n     * @param {?=} subInstructions\n     * @return {?}\n     */\n    buildTimelines(element, startingStyles, destinationStyles, options, subInstructions) {\n        /** @type {?} */\n        const start = Array.isArray(startingStyles) ? normalizeStyles(startingStyles) :\n            (/** @type {?} */ (startingStyles));\n        /** @type {?} */\n        const dest = Array.isArray(destinationStyles) ? normalizeStyles(destinationStyles) :\n            (/** @type {?} */ (destinationStyles));\n        /** @type {?} */\n        const errors = [];\n        subInstructions = subInstructions || new ElementInstructionMap();\n        /** @type {?} */\n        const result = buildAnimationTimelines(this._driver, element, this._animationAst, ENTER_CLASSNAME, LEAVE_CLASSNAME, start, dest, options, subInstructions, errors);\n        if (errors.length) {\n            /** @type {?} */\n            const errorMessage = `animation building failed:\\n${errors.join(\"\\n\")}`;\n            throw new Error(errorMessage);\n        }\n        return result;\n    }\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * \\@publicApi\n * @abstract\n */\nclass AnimationStyleNormalizer {\n}\nif (false) {}\n/**\n * \\@publicApi\n */\nclass NoopAnimationStyleNormalizer {\n    /**\n     * @param {?} propertyName\n     * @param {?} errors\n     * @return {?}\n     */\n    normalizePropertyName(propertyName, errors) { return propertyName; }\n    /**\n     * @param {?} userProvidedProperty\n     * @param {?} normalizedProperty\n     * @param {?} value\n     * @param {?} errors\n     * @return {?}\n     */\n    normalizeStyleValue(userProvidedProperty, normalizedProperty, value, errors) {\n        return (/** @type {?} */ (value));\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass WebAnimationsStyleNormalizer extends AnimationStyleNormalizer {\n    /**\n     * @param {?} propertyName\n     * @param {?} errors\n     * @return {?}\n     */\n    normalizePropertyName(propertyName, errors) {\n        return dashCaseToCamelCase(propertyName);\n    }\n    /**\n     * @param {?} userProvidedProperty\n     * @param {?} normalizedProperty\n     * @param {?} value\n     * @param {?} errors\n     * @return {?}\n     */\n    normalizeStyleValue(userProvidedProperty, normalizedProperty, value, errors) {\n        /** @type {?} */\n        let unit = '';\n        /** @type {?} */\n        const strVal = value.toString().trim();\n        if (DIMENSIONAL_PROP_MAP[normalizedProperty] && value !== 0 && value !== '0') {\n            if (typeof value === 'number') {\n                unit = 'px';\n            }\n            else {\n                /** @type {?} */\n                const valAndSuffixMatch = value.match(/^[+-]?[\\d\\.]+([a-z]*)$/);\n                if (valAndSuffixMatch && valAndSuffixMatch[1].length == 0) {\n                    errors.push(`Please provide a CSS unit value for ${userProvidedProperty}:${value}`);\n                }\n            }\n        }\n        return strVal + unit;\n    }\n}\nconst ɵ0$1 = /**\n * @return {?}\n */\n() => makeBooleanMap('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'\n    .split(','));\n/** @type {?} */\nconst DIMENSIONAL_PROP_MAP = ((ɵ0$1))();\n/**\n * @param {?} keys\n * @return {?}\n */\nfunction makeBooleanMap(keys) {\n    /** @type {?} */\n    const map = {};\n    keys.forEach((/**\n     * @param {?} key\n     * @return {?}\n     */\n    key => map[key] = true));\n    return map;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @record\n */\nfunction AnimationTransitionInstruction() { }\nif (false) {}\n/**\n * @param {?} element\n * @param {?} triggerName\n * @param {?} fromState\n * @param {?} toState\n * @param {?} isRemovalTransition\n * @param {?} fromStyles\n * @param {?} toStyles\n * @param {?} timelines\n * @param {?} queriedElements\n * @param {?} preStyleProps\n * @param {?} postStyleProps\n * @param {?} totalTime\n * @param {?=} errors\n * @return {?}\n */\nfunction createTransitionInstruction(element, triggerName, fromState, toState, isRemovalTransition, fromStyles, toStyles, timelines, queriedElements, preStyleProps, postStyleProps, totalTime, errors) {\n    return {\n        type: 0 /* TransitionAnimation */,\n        element,\n        triggerName,\n        isRemovalTransition,\n        fromState,\n        fromStyles,\n        toState,\n        toStyles,\n        timelines,\n        queriedElements,\n        preStyleProps,\n        postStyleProps,\n        totalTime,\n        errors\n    };\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst EMPTY_OBJECT = {};\nclass AnimationTransitionFactory {\n    /**\n     * @param {?} _triggerName\n     * @param {?} ast\n     * @param {?} _stateStyles\n     */\n    constructor(_triggerName, ast, _stateStyles) {\n        this._triggerName = _triggerName;\n        this.ast = ast;\n        this._stateStyles = _stateStyles;\n    }\n    /**\n     * @param {?} currentState\n     * @param {?} nextState\n     * @param {?} element\n     * @param {?} params\n     * @return {?}\n     */\n    match(currentState, nextState, element, params) {\n        return oneOrMoreTransitionsMatch(this.ast.matchers, currentState, nextState, element, params);\n    }\n    /**\n     * @param {?} stateName\n     * @param {?} params\n     * @param {?} errors\n     * @return {?}\n     */\n    buildStyles(stateName, params, errors) {\n        /** @type {?} */\n        const backupStateStyler = this._stateStyles['*'];\n        /** @type {?} */\n        const stateStyler = this._stateStyles[stateName];\n        /** @type {?} */\n        const backupStyles = backupStateStyler ? backupStateStyler.buildStyles(params, errors) : {};\n        return stateStyler ? stateStyler.buildStyles(params, errors) : backupStyles;\n    }\n    /**\n     * @param {?} driver\n     * @param {?} element\n     * @param {?} currentState\n     * @param {?} nextState\n     * @param {?} enterClassName\n     * @param {?} leaveClassName\n     * @param {?=} currentOptions\n     * @param {?=} nextOptions\n     * @param {?=} subInstructions\n     * @param {?=} skipAstBuild\n     * @return {?}\n     */\n    build(driver, element, currentState, nextState, enterClassName, leaveClassName, currentOptions, nextOptions, subInstructions, skipAstBuild) {\n        /** @type {?} */\n        const errors = [];\n        /** @type {?} */\n        const transitionAnimationParams = this.ast.options && this.ast.options.params || EMPTY_OBJECT;\n        /** @type {?} */\n        const currentAnimationParams = currentOptions && currentOptions.params || EMPTY_OBJECT;\n        /** @type {?} */\n        const currentStateStyles = this.buildStyles(currentState, currentAnimationParams, errors);\n        /** @type {?} */\n        const nextAnimationParams = nextOptions && nextOptions.params || EMPTY_OBJECT;\n        /** @type {?} */\n        const nextStateStyles = this.buildStyles(nextState, nextAnimationParams, errors);\n        /** @type {?} */\n        const queriedElements = new Set();\n        /** @type {?} */\n        const preStyleMap = new Map();\n        /** @type {?} */\n        const postStyleMap = new Map();\n        /** @type {?} */\n        const isRemoval = nextState === 'void';\n        /** @type {?} */\n        const animationOptions = { params: Object.assign({}, transitionAnimationParams, nextAnimationParams) };\n        /** @type {?} */\n        const timelines = skipAstBuild ? [] : buildAnimationTimelines(driver, element, this.ast.animation, enterClassName, leaveClassName, currentStateStyles, nextStateStyles, animationOptions, subInstructions, errors);\n        /** @type {?} */\n        let totalTime = 0;\n        timelines.forEach((/**\n         * @param {?} tl\n         * @return {?}\n         */\n        tl => { totalTime = Math.max(tl.duration + tl.delay, totalTime); }));\n        if (errors.length) {\n            return createTransitionInstruction(element, this._triggerName, currentState, nextState, isRemoval, currentStateStyles, nextStateStyles, [], [], preStyleMap, postStyleMap, totalTime, errors);\n        }\n        timelines.forEach((/**\n         * @param {?} tl\n         * @return {?}\n         */\n        tl => {\n            /** @type {?} */\n            const elm = tl.element;\n            /** @type {?} */\n            const preProps = getOrSetAsInMap(preStyleMap, elm, {});\n            tl.preStyleProps.forEach((/**\n             * @param {?} prop\n             * @return {?}\n             */\n            prop => preProps[prop] = true));\n            /** @type {?} */\n            const postProps = getOrSetAsInMap(postStyleMap, elm, {});\n            tl.postStyleProps.forEach((/**\n             * @param {?} prop\n             * @return {?}\n             */\n            prop => postProps[prop] = true));\n            if (elm !== element) {\n                queriedElements.add(elm);\n            }\n        }));\n        /** @type {?} */\n        const queriedElementsList = iteratorToArray(queriedElements.values());\n        return createTransitionInstruction(element, this._triggerName, currentState, nextState, isRemoval, currentStateStyles, nextStateStyles, timelines, queriedElementsList, preStyleMap, postStyleMap, totalTime);\n    }\n}\nif (false) {}\n/**\n * @param {?} matchFns\n * @param {?} currentState\n * @param {?} nextState\n * @param {?} element\n * @param {?} params\n * @return {?}\n */\nfunction oneOrMoreTransitionsMatch(matchFns, currentState, nextState, element, params) {\n    return matchFns.some((/**\n     * @param {?} fn\n     * @return {?}\n     */\n    fn => fn(currentState, nextState, element, params)));\n}\nclass AnimationStateStyles {\n    /**\n     * @param {?} styles\n     * @param {?} defaultParams\n     */\n    constructor(styles, defaultParams) {\n        this.styles = styles;\n        this.defaultParams = defaultParams;\n    }\n    /**\n     * @param {?} params\n     * @param {?} errors\n     * @return {?}\n     */\n    buildStyles(params, errors) {\n        /** @type {?} */\n        const finalStyles = {};\n        /** @type {?} */\n        const combinedParams = copyObj(this.defaultParams);\n        Object.keys(params).forEach((/**\n         * @param {?} key\n         * @return {?}\n         */\n        key => {\n            /** @type {?} */\n            const value = params[key];\n            if (value != null) {\n                combinedParams[key] = value;\n            }\n        }));\n        this.styles.styles.forEach((/**\n         * @param {?} value\n         * @return {?}\n         */\n        value => {\n            if (typeof value !== 'string') {\n                /** @type {?} */\n                const styleObj = (/** @type {?} */ (value));\n                Object.keys(styleObj).forEach((/**\n                 * @param {?} prop\n                 * @return {?}\n                 */\n                prop => {\n                    /** @type {?} */\n                    let val = styleObj[prop];\n                    if (val.length > 1) {\n                        val = interpolateParams(val, combinedParams, errors);\n                    }\n                    finalStyles[prop] = val;\n                }));\n            }\n        }));\n        return finalStyles;\n    }\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@publicApi\n * @param {?} name\n * @param {?} ast\n * @return {?}\n */\nfunction buildTrigger(name, ast) {\n    return new AnimationTrigger(name, ast);\n}\n/**\n * \\@publicApi\n */\nclass AnimationTrigger {\n    /**\n     * @param {?} name\n     * @param {?} ast\n     */\n    constructor(name, ast) {\n        this.name = name;\n        this.ast = ast;\n        this.transitionFactories = [];\n        this.states = {};\n        ast.states.forEach((/**\n         * @param {?} ast\n         * @return {?}\n         */\n        ast => {\n            /** @type {?} */\n            const defaultParams = (ast.options && ast.options.params) || {};\n            this.states[ast.name] = new AnimationStateStyles(ast.style, defaultParams);\n        }));\n        balanceProperties(this.states, 'true', '1');\n        balanceProperties(this.states, 'false', '0');\n        ast.transitions.forEach((/**\n         * @param {?} ast\n         * @return {?}\n         */\n        ast => {\n            this.transitionFactories.push(new AnimationTransitionFactory(name, ast, this.states));\n        }));\n        this.fallbackTransition = createFallbackTransition(name, this.states);\n    }\n    /**\n     * @return {?}\n     */\n    get containsQueries() { return this.ast.queryCount > 0; }\n    /**\n     * @param {?} currentState\n     * @param {?} nextState\n     * @param {?} element\n     * @param {?} params\n     * @return {?}\n     */\n    matchTransition(currentState, nextState, element, params) {\n        /** @type {?} */\n        const entry = this.transitionFactories.find((/**\n         * @param {?} f\n         * @return {?}\n         */\n        f => f.match(currentState, nextState, element, params)));\n        return entry || null;\n    }\n    /**\n     * @param {?} currentState\n     * @param {?} params\n     * @param {?} errors\n     * @return {?}\n     */\n    matchStyles(currentState, params, errors) {\n        return this.fallbackTransition.buildStyles(currentState, params, errors);\n    }\n}\nif (false) {}\n/**\n * @param {?} triggerName\n * @param {?} states\n * @return {?}\n */\nfunction createFallbackTransition(triggerName, states) {\n    /** @type {?} */\n    const matchers = [(/**\n         * @param {?} fromState\n         * @param {?} toState\n         * @return {?}\n         */\n        (fromState, toState) => true)];\n    /** @type {?} */\n    const animation = { type: 2 /* Sequence */, steps: [], options: null };\n    /** @type {?} */\n    const transition = {\n        type: 1 /* Transition */,\n        animation,\n        matchers,\n        options: null,\n        queryCount: 0,\n        depCount: 0\n    };\n    return new AnimationTransitionFactory(triggerName, transition, states);\n}\n/**\n * @param {?} obj\n * @param {?} key1\n * @param {?} key2\n * @return {?}\n */\nfunction balanceProperties(obj, key1, key2) {\n    if (obj.hasOwnProperty(key1)) {\n        if (!obj.hasOwnProperty(key2)) {\n            obj[key2] = obj[key1];\n        }\n    }\n    else if (obj.hasOwnProperty(key2)) {\n        obj[key1] = obj[key2];\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst EMPTY_INSTRUCTION_MAP = new ElementInstructionMap();\nclass TimelineAnimationEngine {\n    /**\n     * @param {?} bodyNode\n     * @param {?} _driver\n     * @param {?} _normalizer\n     */\n    constructor(bodyNode, _driver, _normalizer) {\n        this.bodyNode = bodyNode;\n        this._driver = _driver;\n        this._normalizer = _normalizer;\n        this._animations = {};\n        this._playersById = {};\n        this.players = [];\n    }\n    /**\n     * @param {?} id\n     * @param {?} metadata\n     * @return {?}\n     */\n    register(id, metadata) {\n        /** @type {?} */\n        const errors = [];\n        /** @type {?} */\n        const ast = buildAnimationAst(this._driver, metadata, errors);\n        if (errors.length) {\n            throw new Error(`Unable to build the animation due to the following errors: ${errors.join(\"\\n\")}`);\n        }\n        else {\n            this._animations[id] = ast;\n        }\n    }\n    /**\n     * @private\n     * @param {?} i\n     * @param {?} preStyles\n     * @param {?=} postStyles\n     * @return {?}\n     */\n    _buildPlayer(i, preStyles, postStyles) {\n        /** @type {?} */\n        const element = i.element;\n        /** @type {?} */\n        const keyframes = normalizeKeyframes(this._driver, this._normalizer, element, i.keyframes, preStyles, postStyles);\n        return this._driver.animate(element, keyframes, i.duration, i.delay, i.easing, [], true);\n    }\n    /**\n     * @param {?} id\n     * @param {?} element\n     * @param {?=} options\n     * @return {?}\n     */\n    create(id, element, options = {}) {\n        /** @type {?} */\n        const errors = [];\n        /** @type {?} */\n        const ast = this._animations[id];\n        /** @type {?} */\n        let instructions;\n        /** @type {?} */\n        const autoStylesMap = new Map();\n        if (ast) {\n            instructions = buildAnimationTimelines(this._driver, element, ast, ENTER_CLASSNAME, LEAVE_CLASSNAME, {}, {}, options, EMPTY_INSTRUCTION_MAP, errors);\n            instructions.forEach((/**\n             * @param {?} inst\n             * @return {?}\n             */\n            inst => {\n                /** @type {?} */\n                const styles = getOrSetAsInMap(autoStylesMap, inst.element, {});\n                inst.postStyleProps.forEach((/**\n                 * @param {?} prop\n                 * @return {?}\n                 */\n                prop => styles[prop] = null));\n            }));\n        }\n        else {\n            errors.push('The requested animation doesn\\'t exist or has already been destroyed');\n            instructions = [];\n        }\n        if (errors.length) {\n            throw new Error(`Unable to create the animation due to the following errors: ${errors.join(\"\\n\")}`);\n        }\n        autoStylesMap.forEach((/**\n         * @param {?} styles\n         * @param {?} element\n         * @return {?}\n         */\n        (styles, element) => {\n            Object.keys(styles).forEach((/**\n             * @param {?} prop\n             * @return {?}\n             */\n            prop => { styles[prop] = this._driver.computeStyle(element, prop, _angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"AUTO_STYLE\"]); }));\n        }));\n        /** @type {?} */\n        const players = instructions.map((/**\n         * @param {?} i\n         * @return {?}\n         */\n        i => {\n            /** @type {?} */\n            const styles = autoStylesMap.get(i.element);\n            return this._buildPlayer(i, {}, styles);\n        }));\n        /** @type {?} */\n        const player = optimizeGroupPlayer(players);\n        this._playersById[id] = player;\n        player.onDestroy((/**\n         * @return {?}\n         */\n        () => this.destroy(id)));\n        this.players.push(player);\n        return player;\n    }\n    /**\n     * @param {?} id\n     * @return {?}\n     */\n    destroy(id) {\n        /** @type {?} */\n        const player = this._getPlayer(id);\n        player.destroy();\n        delete this._playersById[id];\n        /** @type {?} */\n        const index = this.players.indexOf(player);\n        if (index >= 0) {\n            this.players.splice(index, 1);\n        }\n    }\n    /**\n     * @private\n     * @param {?} id\n     * @return {?}\n     */\n    _getPlayer(id) {\n        /** @type {?} */\n        const player = this._playersById[id];\n        if (!player) {\n            throw new Error(`Unable to find the timeline player referenced by ${id}`);\n        }\n        return player;\n    }\n    /**\n     * @param {?} id\n     * @param {?} element\n     * @param {?} eventName\n     * @param {?} callback\n     * @return {?}\n     */\n    listen(id, element, eventName, callback) {\n        // triggerName, fromState, toState are all ignored for timeline animations\n        /** @type {?} */\n        const baseEvent = makeAnimationEvent(element, '', '', '');\n        listenOnPlayer(this._getPlayer(id), eventName, baseEvent, callback);\n        return (/**\n         * @return {?}\n         */\n        () => { });\n    }\n    /**\n     * @param {?} id\n     * @param {?} element\n     * @param {?} command\n     * @param {?} args\n     * @return {?}\n     */\n    command(id, element, command, args) {\n        if (command == 'register') {\n            this.register(id, (/** @type {?} */ (args[0])));\n            return;\n        }\n        if (command == 'create') {\n            /** @type {?} */\n            const options = (/** @type {?} */ ((args[0] || {})));\n            this.create(id, element, options);\n            return;\n        }\n        /** @type {?} */\n        const player = this._getPlayer(id);\n        switch (command) {\n            case 'play':\n                player.play();\n                break;\n            case 'pause':\n                player.pause();\n                break;\n            case 'reset':\n                player.reset();\n                break;\n            case 'restart':\n                player.restart();\n                break;\n            case 'finish':\n                player.finish();\n                break;\n            case 'init':\n                player.init();\n                break;\n            case 'setPosition':\n                player.setPosition(parseFloat((/** @type {?} */ (args[0]))));\n                break;\n            case 'destroy':\n                this.destroy(id);\n                break;\n        }\n    }\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst QUEUED_CLASSNAME = 'ng-animate-queued';\n/** @type {?} */\nconst QUEUED_SELECTOR = '.ng-animate-queued';\n/** @type {?} */\nconst DISABLED_CLASSNAME = 'ng-animate-disabled';\n/** @type {?} */\nconst DISABLED_SELECTOR = '.ng-animate-disabled';\n/** @type {?} */\nconst STAR_CLASSNAME = 'ng-star-inserted';\n/** @type {?} */\nconst STAR_SELECTOR = '.ng-star-inserted';\n/** @type {?} */\nconst EMPTY_PLAYER_ARRAY = [];\n/** @type {?} */\nconst NULL_REMOVAL_STATE = {\n    namespaceId: '',\n    setForRemoval: false,\n    setForMove: false,\n    hasAnimation: false,\n    removedBeforeQueried: false\n};\n/** @type {?} */\nconst NULL_REMOVED_QUERIED_STATE = {\n    namespaceId: '',\n    setForMove: false,\n    setForRemoval: false,\n    hasAnimation: false,\n    removedBeforeQueried: true\n};\n/**\n * @record\n */\nfunction TriggerListener() { }\nif (false) {}\n/**\n * @record\n */\nfunction QueueInstruction() { }\nif (false) {}\n/** @type {?} */\nconst REMOVAL_FLAG = '__ng_removed';\n/**\n * @record\n */\nfunction ElementAnimationState() { }\nif (false) {}\nclass StateValue {\n    /**\n     * @param {?} input\n     * @param {?=} namespaceId\n     */\n    constructor(input, namespaceId = '') {\n        this.namespaceId = namespaceId;\n        /** @type {?} */\n        const isObj = input && input.hasOwnProperty('value');\n        /** @type {?} */\n        const value = isObj ? input['value'] : input;\n        this.value = normalizeTriggerValue(value);\n        if (isObj) {\n            /** @type {?} */\n            const options = copyObj((/** @type {?} */ (input)));\n            delete options['value'];\n            this.options = (/** @type {?} */ (options));\n        }\n        else {\n            this.options = {};\n        }\n        if (!this.options.params) {\n            this.options.params = {};\n        }\n    }\n    /**\n     * @return {?}\n     */\n    get params() { return (/** @type {?} */ (this.options.params)); }\n    /**\n     * @param {?} options\n     * @return {?}\n     */\n    absorbOptions(options) {\n        /** @type {?} */\n        const newParams = options.params;\n        if (newParams) {\n            /** @type {?} */\n            const oldParams = (/** @type {?} */ (this.options.params));\n            Object.keys(newParams).forEach((/**\n             * @param {?} prop\n             * @return {?}\n             */\n            prop => {\n                if (oldParams[prop] == null) {\n                    oldParams[prop] = newParams[prop];\n                }\n            }));\n        }\n    }\n}\nif (false) {}\n/** @type {?} */\nconst VOID_VALUE = 'void';\n/** @type {?} */\nconst DEFAULT_STATE_VALUE = new StateValue(VOID_VALUE);\nclass AnimationTransitionNamespace {\n    /**\n     * @param {?} id\n     * @param {?} hostElement\n     * @param {?} _engine\n     */\n    constructor(id, hostElement, _engine) {\n        this.id = id;\n        this.hostElement = hostElement;\n        this._engine = _engine;\n        this.players = [];\n        this._triggers = {};\n        this._queue = [];\n        this._elementListeners = new Map();\n        this._hostClassName = 'ng-tns-' + id;\n        addClass(hostElement, this._hostClassName);\n    }\n    /**\n     * @param {?} element\n     * @param {?} name\n     * @param {?} phase\n     * @param {?} callback\n     * @return {?}\n     */\n    listen(element, name, phase, callback) {\n        if (!this._triggers.hasOwnProperty(name)) {\n            throw new Error(`Unable to listen on the animation trigger event \"${phase}\" because the animation trigger \"${name}\" doesn\\'t exist!`);\n        }\n        if (phase == null || phase.length == 0) {\n            throw new Error(`Unable to listen on the animation trigger \"${name}\" because the provided event is undefined!`);\n        }\n        if (!isTriggerEventValid(phase)) {\n            throw new Error(`The provided animation trigger event \"${phase}\" for the animation trigger \"${name}\" is not supported!`);\n        }\n        /** @type {?} */\n        const listeners = getOrSetAsInMap(this._elementListeners, element, []);\n        /** @type {?} */\n        const data = { name, phase, callback };\n        listeners.push(data);\n        /** @type {?} */\n        const triggersWithStates = getOrSetAsInMap(this._engine.statesByElement, element, {});\n        if (!triggersWithStates.hasOwnProperty(name)) {\n            addClass(element, NG_TRIGGER_CLASSNAME);\n            addClass(element, NG_TRIGGER_CLASSNAME + '-' + name);\n            triggersWithStates[name] = DEFAULT_STATE_VALUE;\n        }\n        return (/**\n         * @return {?}\n         */\n        () => {\n            // the event listener is removed AFTER the flush has occurred such\n            // that leave animations callbacks can fire (otherwise if the node\n            // is removed in between then the listeners would be deregistered)\n            this._engine.afterFlush((/**\n             * @return {?}\n             */\n            () => {\n                /** @type {?} */\n                const index = listeners.indexOf(data);\n                if (index >= 0) {\n                    listeners.splice(index, 1);\n                }\n                if (!this._triggers[name]) {\n                    delete triggersWithStates[name];\n                }\n            }));\n        });\n    }\n    /**\n     * @param {?} name\n     * @param {?} ast\n     * @return {?}\n     */\n    register(name, ast) {\n        if (this._triggers[name]) {\n            // throw\n            return false;\n        }\n        else {\n            this._triggers[name] = ast;\n            return true;\n        }\n    }\n    /**\n     * @private\n     * @param {?} name\n     * @return {?}\n     */\n    _getTrigger(name) {\n        /** @type {?} */\n        const trigger = this._triggers[name];\n        if (!trigger) {\n            throw new Error(`The provided animation trigger \"${name}\" has not been registered!`);\n        }\n        return trigger;\n    }\n    /**\n     * @param {?} element\n     * @param {?} triggerName\n     * @param {?} value\n     * @param {?=} defaultToFallback\n     * @return {?}\n     */\n    trigger(element, triggerName, value, defaultToFallback = true) {\n        /** @type {?} */\n        const trigger = this._getTrigger(triggerName);\n        /** @type {?} */\n        const player = new TransitionAnimationPlayer(this.id, triggerName, element);\n        /** @type {?} */\n        let triggersWithStates = this._engine.statesByElement.get(element);\n        if (!triggersWithStates) {\n            addClass(element, NG_TRIGGER_CLASSNAME);\n            addClass(element, NG_TRIGGER_CLASSNAME + '-' + triggerName);\n            this._engine.statesByElement.set(element, triggersWithStates = {});\n        }\n        /** @type {?} */\n        let fromState = triggersWithStates[triggerName];\n        /** @type {?} */\n        const toState = new StateValue(value, this.id);\n        /** @type {?} */\n        const isObj = value && value.hasOwnProperty('value');\n        if (!isObj && fromState) {\n            toState.absorbOptions(fromState.options);\n        }\n        triggersWithStates[triggerName] = toState;\n        if (!fromState) {\n            fromState = DEFAULT_STATE_VALUE;\n        }\n        /** @type {?} */\n        const isRemoval = toState.value === VOID_VALUE;\n        // normally this isn't reached by here, however, if an object expression\n        // is passed in then it may be a new object each time. Comparing the value\n        // is important since that will stay the same despite there being a new object.\n        // The removal arc here is special cased because the same element is triggered\n        // twice in the event that it contains animations on the outer/inner portions\n        // of the host container\n        if (!isRemoval && fromState.value === toState.value) {\n            // this means that despite the value not changing, some inner params\n            // have changed which means that the animation final styles need to be applied\n            if (!objEquals(fromState.params, toState.params)) {\n                /** @type {?} */\n                const errors = [];\n                /** @type {?} */\n                const fromStyles = trigger.matchStyles(fromState.value, fromState.params, errors);\n                /** @type {?} */\n                const toStyles = trigger.matchStyles(toState.value, toState.params, errors);\n                if (errors.length) {\n                    this._engine.reportError(errors);\n                }\n                else {\n                    this._engine.afterFlush((/**\n                     * @return {?}\n                     */\n                    () => {\n                        eraseStyles(element, fromStyles);\n                        setStyles(element, toStyles);\n                    }));\n                }\n            }\n            return;\n        }\n        /** @type {?} */\n        const playersOnElement = getOrSetAsInMap(this._engine.playersByElement, element, []);\n        playersOnElement.forEach((/**\n         * @param {?} player\n         * @return {?}\n         */\n        player => {\n            // only remove the player if it is queued on the EXACT same trigger/namespace\n            // we only also deal with queued players here because if the animation has\n            // started then we want to keep the player alive until the flush happens\n            // (which is where the previousPlayers are passed into the new palyer)\n            if (player.namespaceId == this.id && player.triggerName == triggerName && player.queued) {\n                player.destroy();\n            }\n        }));\n        /** @type {?} */\n        let transition = trigger.matchTransition(fromState.value, toState.value, element, toState.params);\n        /** @type {?} */\n        let isFallbackTransition = false;\n        if (!transition) {\n            if (!defaultToFallback)\n                return;\n            transition = trigger.fallbackTransition;\n            isFallbackTransition = true;\n        }\n        this._engine.totalQueuedPlayers++;\n        this._queue.push({ element, triggerName, transition, fromState, toState, player, isFallbackTransition });\n        if (!isFallbackTransition) {\n            addClass(element, QUEUED_CLASSNAME);\n            player.onStart((/**\n             * @return {?}\n             */\n            () => { removeClass(element, QUEUED_CLASSNAME); }));\n        }\n        player.onDone((/**\n         * @return {?}\n         */\n        () => {\n            /** @type {?} */\n            let index = this.players.indexOf(player);\n            if (index >= 0) {\n                this.players.splice(index, 1);\n            }\n            /** @type {?} */\n            const players = this._engine.playersByElement.get(element);\n            if (players) {\n                /** @type {?} */\n                let index = players.indexOf(player);\n                if (index >= 0) {\n                    players.splice(index, 1);\n                }\n            }\n        }));\n        this.players.push(player);\n        playersOnElement.push(player);\n        return player;\n    }\n    /**\n     * @param {?} name\n     * @return {?}\n     */\n    deregister(name) {\n        delete this._triggers[name];\n        this._engine.statesByElement.forEach((/**\n         * @param {?} stateMap\n         * @param {?} element\n         * @return {?}\n         */\n        (stateMap, element) => { delete stateMap[name]; }));\n        this._elementListeners.forEach((/**\n         * @param {?} listeners\n         * @param {?} element\n         * @return {?}\n         */\n        (listeners, element) => {\n            this._elementListeners.set(element, listeners.filter((/**\n             * @param {?} entry\n             * @return {?}\n             */\n            entry => { return entry.name != name; })));\n        }));\n    }\n    /**\n     * @param {?} element\n     * @return {?}\n     */\n    clearElementCache(element) {\n        this._engine.statesByElement.delete(element);\n        this._elementListeners.delete(element);\n        /** @type {?} */\n        const elementPlayers = this._engine.playersByElement.get(element);\n        if (elementPlayers) {\n            elementPlayers.forEach((/**\n             * @param {?} player\n             * @return {?}\n             */\n            player => player.destroy()));\n            this._engine.playersByElement.delete(element);\n        }\n    }\n    /**\n     * @private\n     * @param {?} rootElement\n     * @param {?} context\n     * @param {?=} animate\n     * @return {?}\n     */\n    _signalRemovalForInnerTriggers(rootElement, context, animate = false) {\n        // emulate a leave animation for all inner nodes within this node.\n        // If there are no animations found for any of the nodes then clear the cache\n        // for the element.\n        this._engine.driver.query(rootElement, NG_TRIGGER_SELECTOR, true).forEach((/**\n         * @param {?} elm\n         * @return {?}\n         */\n        elm => {\n            // this means that an inner remove() operation has already kicked off\n            // the animation on this element...\n            if (elm[REMOVAL_FLAG])\n                return;\n            /** @type {?} */\n            const namespaces = this._engine.fetchNamespacesByElement(elm);\n            if (namespaces.size) {\n                namespaces.forEach((/**\n                 * @param {?} ns\n                 * @return {?}\n                 */\n                ns => ns.triggerLeaveAnimation(elm, context, false, true)));\n            }\n            else {\n                this.clearElementCache(elm);\n            }\n        }));\n    }\n    /**\n     * @param {?} element\n     * @param {?} context\n     * @param {?=} destroyAfterComplete\n     * @param {?=} defaultToFallback\n     * @return {?}\n     */\n    triggerLeaveAnimation(element, context, destroyAfterComplete, defaultToFallback) {\n        /** @type {?} */\n        const triggerStates = this._engine.statesByElement.get(element);\n        if (triggerStates) {\n            /** @type {?} */\n            const players = [];\n            Object.keys(triggerStates).forEach((/**\n             * @param {?} triggerName\n             * @return {?}\n             */\n            triggerName => {\n                // this check is here in the event that an element is removed\n                // twice (both on the host level and the component level)\n                if (this._triggers[triggerName]) {\n                    /** @type {?} */\n                    const player = this.trigger(element, triggerName, VOID_VALUE, defaultToFallback);\n                    if (player) {\n                        players.push(player);\n                    }\n                }\n            }));\n            if (players.length) {\n                this._engine.markElementAsRemoved(this.id, element, true, context);\n                if (destroyAfterComplete) {\n                    optimizeGroupPlayer(players).onDone((/**\n                     * @return {?}\n                     */\n                    () => this._engine.processLeaveNode(element)));\n                }\n                return true;\n            }\n        }\n        return false;\n    }\n    /**\n     * @param {?} element\n     * @return {?}\n     */\n    prepareLeaveAnimationListeners(element) {\n        /** @type {?} */\n        const listeners = this._elementListeners.get(element);\n        if (listeners) {\n            /** @type {?} */\n            const visitedTriggers = new Set();\n            listeners.forEach((/**\n             * @param {?} listener\n             * @return {?}\n             */\n            listener => {\n                /** @type {?} */\n                const triggerName = listener.name;\n                if (visitedTriggers.has(triggerName))\n                    return;\n                visitedTriggers.add(triggerName);\n                /** @type {?} */\n                const trigger = this._triggers[triggerName];\n                /** @type {?} */\n                const transition = trigger.fallbackTransition;\n                /** @type {?} */\n                const elementStates = (/** @type {?} */ (this._engine.statesByElement.get(element)));\n                /** @type {?} */\n                const fromState = elementStates[triggerName] || DEFAULT_STATE_VALUE;\n                /** @type {?} */\n                const toState = new StateValue(VOID_VALUE);\n                /** @type {?} */\n                const player = new TransitionAnimationPlayer(this.id, triggerName, element);\n                this._engine.totalQueuedPlayers++;\n                this._queue.push({\n                    element,\n                    triggerName,\n                    transition,\n                    fromState,\n                    toState,\n                    player,\n                    isFallbackTransition: true\n                });\n            }));\n        }\n    }\n    /**\n     * @param {?} element\n     * @param {?} context\n     * @return {?}\n     */\n    removeNode(element, context) {\n        /** @type {?} */\n        const engine = this._engine;\n        if (element.childElementCount) {\n            this._signalRemovalForInnerTriggers(element, context, true);\n        }\n        // this means that a * => VOID animation was detected and kicked off\n        if (this.triggerLeaveAnimation(element, context, true))\n            return;\n        // find the player that is animating and make sure that the\n        // removal is delayed until that player has completed\n        /** @type {?} */\n        let containsPotentialParentTransition = false;\n        if (engine.totalAnimations) {\n            /** @type {?} */\n            const currentPlayers = engine.players.length ? engine.playersByQueriedElement.get(element) : [];\n            // when this `if statement` does not continue forward it means that\n            // a previous animation query has selected the current element and\n            // is animating it. In this situation want to continue forwards and\n            // allow the element to be queued up for animation later.\n            if (currentPlayers && currentPlayers.length) {\n                containsPotentialParentTransition = true;\n            }\n            else {\n                /** @type {?} */\n                let parent = element;\n                while (parent = parent.parentNode) {\n                    /** @type {?} */\n                    const triggers = engine.statesByElement.get(parent);\n                    if (triggers) {\n                        containsPotentialParentTransition = true;\n                        break;\n                    }\n                }\n            }\n        }\n        // at this stage we know that the element will either get removed\n        // during flush or will be picked up by a parent query. Either way\n        // we need to fire the listeners for this element when it DOES get\n        // removed (once the query parent animation is done or after flush)\n        this.prepareLeaveAnimationListeners(element);\n        // whether or not a parent has an animation we need to delay the deferral of the leave\n        // operation until we have more information (which we do after flush() has been called)\n        if (containsPotentialParentTransition) {\n            engine.markElementAsRemoved(this.id, element, false, context);\n        }\n        else {\n            // we do this after the flush has occurred such\n            // that the callbacks can be fired\n            engine.afterFlush((/**\n             * @return {?}\n             */\n            () => this.clearElementCache(element)));\n            engine.destroyInnerAnimations(element);\n            engine._onRemovalComplete(element, context);\n        }\n    }\n    /**\n     * @param {?} element\n     * @param {?} parent\n     * @return {?}\n     */\n    insertNode(element, parent) { addClass(element, this._hostClassName); }\n    /**\n     * @param {?} microtaskId\n     * @return {?}\n     */\n    drainQueuedTransitions(microtaskId) {\n        /** @type {?} */\n        const instructions = [];\n        this._queue.forEach((/**\n         * @param {?} entry\n         * @return {?}\n         */\n        entry => {\n            /** @type {?} */\n            const player = entry.player;\n            if (player.destroyed)\n                return;\n            /** @type {?} */\n            const element = entry.element;\n            /** @type {?} */\n            const listeners = this._elementListeners.get(element);\n            if (listeners) {\n                listeners.forEach((/**\n                 * @param {?} listener\n                 * @return {?}\n                 */\n                (listener) => {\n                    if (listener.name == entry.triggerName) {\n                        /** @type {?} */\n                        const baseEvent = makeAnimationEvent(element, entry.triggerName, entry.fromState.value, entry.toState.value);\n                        ((/** @type {?} */ (baseEvent)))['_data'] = microtaskId;\n                        listenOnPlayer(entry.player, listener.phase, baseEvent, listener.callback);\n                    }\n                }));\n            }\n            if (player.markedForDestroy) {\n                this._engine.afterFlush((/**\n                 * @return {?}\n                 */\n                () => {\n                    // now we can destroy the element properly since the event listeners have\n                    // been bound to the player\n                    player.destroy();\n                }));\n            }\n            else {\n                instructions.push(entry);\n            }\n        }));\n        this._queue = [];\n        return instructions.sort((/**\n         * @param {?} a\n         * @param {?} b\n         * @return {?}\n         */\n        (a, b) => {\n            // if depCount == 0 them move to front\n            // otherwise if a contains b then move back\n            /** @type {?} */\n            const d0 = a.transition.ast.depCount;\n            /** @type {?} */\n            const d1 = b.transition.ast.depCount;\n            if (d0 == 0 || d1 == 0) {\n                return d0 - d1;\n            }\n            return this._engine.driver.containsElement(a.element, b.element) ? 1 : -1;\n        }));\n    }\n    /**\n     * @param {?} context\n     * @return {?}\n     */\n    destroy(context) {\n        this.players.forEach((/**\n         * @param {?} p\n         * @return {?}\n         */\n        p => p.destroy()));\n        this._signalRemovalForInnerTriggers(this.hostElement, context);\n    }\n    /**\n     * @param {?} element\n     * @return {?}\n     */\n    elementContainsData(element) {\n        /** @type {?} */\n        let containsData = false;\n        if (this._elementListeners.has(element))\n            containsData = true;\n        containsData =\n            (this._queue.find((/**\n             * @param {?} entry\n             * @return {?}\n             */\n            entry => entry.element === element)) ? true : false) || containsData;\n        return containsData;\n    }\n}\nif (false) {}\n/**\n * @record\n */\nfunction QueuedTransition() { }\nif (false) {}\nclass TransitionAnimationEngine {\n    /**\n     * @param {?} bodyNode\n     * @param {?} driver\n     * @param {?} _normalizer\n     */\n    constructor(bodyNode, driver, _normalizer) {\n        this.bodyNode = bodyNode;\n        this.driver = driver;\n        this._normalizer = _normalizer;\n        this.players = [];\n        this.newHostElements = new Map();\n        this.playersByElement = new Map();\n        this.playersByQueriedElement = new Map();\n        this.statesByElement = new Map();\n        this.disabledNodes = new Set();\n        this.totalAnimations = 0;\n        this.totalQueuedPlayers = 0;\n        this._namespaceLookup = {};\n        this._namespaceList = [];\n        this._flushFns = [];\n        this._whenQuietFns = [];\n        this.namespacesByHostElement = new Map();\n        this.collectedEnterElements = [];\n        this.collectedLeaveElements = [];\n        // this method is designed to be overridden by the code that uses this engine\n        this.onRemovalComplete = (/**\n         * @param {?} element\n         * @param {?} context\n         * @return {?}\n         */\n        (element, context) => { });\n    }\n    /**\n     * \\@internal\n     * @param {?} element\n     * @param {?} context\n     * @return {?}\n     */\n    _onRemovalComplete(element, context) { this.onRemovalComplete(element, context); }\n    /**\n     * @return {?}\n     */\n    get queuedPlayers() {\n        /** @type {?} */\n        const players = [];\n        this._namespaceList.forEach((/**\n         * @param {?} ns\n         * @return {?}\n         */\n        ns => {\n            ns.players.forEach((/**\n             * @param {?} player\n             * @return {?}\n             */\n            player => {\n                if (player.queued) {\n                    players.push(player);\n                }\n            }));\n        }));\n        return players;\n    }\n    /**\n     * @param {?} namespaceId\n     * @param {?} hostElement\n     * @return {?}\n     */\n    createNamespace(namespaceId, hostElement) {\n        /** @type {?} */\n        const ns = new AnimationTransitionNamespace(namespaceId, hostElement, this);\n        if (hostElement.parentNode) {\n            this._balanceNamespaceList(ns, hostElement);\n        }\n        else {\n            // defer this later until flush during when the host element has\n            // been inserted so that we know exactly where to place it in\n            // the namespace list\n            this.newHostElements.set(hostElement, ns);\n            // given that this host element is apart of the animation code, it\n            // may or may not be inserted by a parent node that is an of an\n            // animation renderer type. If this happens then we can still have\n            // access to this item when we query for :enter nodes. If the parent\n            // is a renderer then the set data-structure will normalize the entry\n            this.collectEnterElement(hostElement);\n        }\n        return this._namespaceLookup[namespaceId] = ns;\n    }\n    /**\n     * @private\n     * @param {?} ns\n     * @param {?} hostElement\n     * @return {?}\n     */\n    _balanceNamespaceList(ns, hostElement) {\n        /** @type {?} */\n        const limit = this._namespaceList.length - 1;\n        if (limit >= 0) {\n            /** @type {?} */\n            let found = false;\n            for (let i = limit; i >= 0; i--) {\n                /** @type {?} */\n                const nextNamespace = this._namespaceList[i];\n                if (this.driver.containsElement(nextNamespace.hostElement, hostElement)) {\n                    this._namespaceList.splice(i + 1, 0, ns);\n                    found = true;\n                    break;\n                }\n            }\n            if (!found) {\n                this._namespaceList.splice(0, 0, ns);\n            }\n        }\n        else {\n            this._namespaceList.push(ns);\n        }\n        this.namespacesByHostElement.set(hostElement, ns);\n        return ns;\n    }\n    /**\n     * @param {?} namespaceId\n     * @param {?} hostElement\n     * @return {?}\n     */\n    register(namespaceId, hostElement) {\n        /** @type {?} */\n        let ns = this._namespaceLookup[namespaceId];\n        if (!ns) {\n            ns = this.createNamespace(namespaceId, hostElement);\n        }\n        return ns;\n    }\n    /**\n     * @param {?} namespaceId\n     * @param {?} name\n     * @param {?} trigger\n     * @return {?}\n     */\n    registerTrigger(namespaceId, name, trigger) {\n        /** @type {?} */\n        let ns = this._namespaceLookup[namespaceId];\n        if (ns && ns.register(name, trigger)) {\n            this.totalAnimations++;\n        }\n    }\n    /**\n     * @param {?} namespaceId\n     * @param {?} context\n     * @return {?}\n     */\n    destroy(namespaceId, context) {\n        if (!namespaceId)\n            return;\n        /** @type {?} */\n        const ns = this._fetchNamespace(namespaceId);\n        this.afterFlush((/**\n         * @return {?}\n         */\n        () => {\n            this.namespacesByHostElement.delete(ns.hostElement);\n            delete this._namespaceLookup[namespaceId];\n            /** @type {?} */\n            const index = this._namespaceList.indexOf(ns);\n            if (index >= 0) {\n                this._namespaceList.splice(index, 1);\n            }\n        }));\n        this.afterFlushAnimationsDone((/**\n         * @return {?}\n         */\n        () => ns.destroy(context)));\n    }\n    /**\n     * @private\n     * @param {?} id\n     * @return {?}\n     */\n    _fetchNamespace(id) { return this._namespaceLookup[id]; }\n    /**\n     * @param {?} element\n     * @return {?}\n     */\n    fetchNamespacesByElement(element) {\n        // normally there should only be one namespace per element, however\n        // if @triggers are placed on both the component element and then\n        // its host element (within the component code) then there will be\n        // two namespaces returned. We use a set here to simply the dedupe\n        // of namespaces incase there are multiple triggers both the elm and host\n        /** @type {?} */\n        const namespaces = new Set();\n        /** @type {?} */\n        const elementStates = this.statesByElement.get(element);\n        if (elementStates) {\n            /** @type {?} */\n            const keys = Object.keys(elementStates);\n            for (let i = 0; i < keys.length; i++) {\n                /** @type {?} */\n                const nsId = elementStates[keys[i]].namespaceId;\n                if (nsId) {\n                    /** @type {?} */\n                    const ns = this._fetchNamespace(nsId);\n                    if (ns) {\n                        namespaces.add(ns);\n                    }\n                }\n            }\n        }\n        return namespaces;\n    }\n    /**\n     * @param {?} namespaceId\n     * @param {?} element\n     * @param {?} name\n     * @param {?} value\n     * @return {?}\n     */\n    trigger(namespaceId, element, name, value) {\n        if (isElementNode(element)) {\n            /** @type {?} */\n            const ns = this._fetchNamespace(namespaceId);\n            if (ns) {\n                ns.trigger(element, name, value);\n                return true;\n            }\n        }\n        return false;\n    }\n    /**\n     * @param {?} namespaceId\n     * @param {?} element\n     * @param {?} parent\n     * @param {?} insertBefore\n     * @return {?}\n     */\n    insertNode(namespaceId, element, parent, insertBefore) {\n        if (!isElementNode(element))\n            return;\n        // special case for when an element is removed and reinserted (move operation)\n        // when this occurs we do not want to use the element for deletion later\n        /** @type {?} */\n        const details = (/** @type {?} */ (element[REMOVAL_FLAG]));\n        if (details && details.setForRemoval) {\n            details.setForRemoval = false;\n            details.setForMove = true;\n            /** @type {?} */\n            const index = this.collectedLeaveElements.indexOf(element);\n            if (index >= 0) {\n                this.collectedLeaveElements.splice(index, 1);\n            }\n        }\n        // in the event that the namespaceId is blank then the caller\n        // code does not contain any animation code in it, but it is\n        // just being called so that the node is marked as being inserted\n        if (namespaceId) {\n            /** @type {?} */\n            const ns = this._fetchNamespace(namespaceId);\n            // This if-statement is a workaround for router issue #21947.\n            // The router sometimes hits a race condition where while a route\n            // is being instantiated a new navigation arrives, triggering leave\n            // animation of DOM that has not been fully initialized, until this\n            // is resolved, we need to handle the scenario when DOM is not in a\n            // consistent state during the animation.\n            if (ns) {\n                ns.insertNode(element, parent);\n            }\n        }\n        // only *directives and host elements are inserted before\n        if (insertBefore) {\n            this.collectEnterElement(element);\n        }\n    }\n    /**\n     * @param {?} element\n     * @return {?}\n     */\n    collectEnterElement(element) { this.collectedEnterElements.push(element); }\n    /**\n     * @param {?} element\n     * @param {?} value\n     * @return {?}\n     */\n    markElementAsDisabled(element, value) {\n        if (value) {\n            if (!this.disabledNodes.has(element)) {\n                this.disabledNodes.add(element);\n                addClass(element, DISABLED_CLASSNAME);\n            }\n        }\n        else if (this.disabledNodes.has(element)) {\n            this.disabledNodes.delete(element);\n            removeClass(element, DISABLED_CLASSNAME);\n        }\n    }\n    /**\n     * @param {?} namespaceId\n     * @param {?} element\n     * @param {?} isHostElement\n     * @param {?} context\n     * @return {?}\n     */\n    removeNode(namespaceId, element, isHostElement, context) {\n        if (isElementNode(element)) {\n            /** @type {?} */\n            const ns = namespaceId ? this._fetchNamespace(namespaceId) : null;\n            if (ns) {\n                ns.removeNode(element, context);\n            }\n            else {\n                this.markElementAsRemoved(namespaceId, element, false, context);\n            }\n            if (isHostElement) {\n                /** @type {?} */\n                const hostNS = this.namespacesByHostElement.get(element);\n                if (hostNS && hostNS.id !== namespaceId) {\n                    hostNS.removeNode(element, context);\n                }\n            }\n        }\n        else {\n            this._onRemovalComplete(element, context);\n        }\n    }\n    /**\n     * @param {?} namespaceId\n     * @param {?} element\n     * @param {?=} hasAnimation\n     * @param {?=} context\n     * @return {?}\n     */\n    markElementAsRemoved(namespaceId, element, hasAnimation, context) {\n        this.collectedLeaveElements.push(element);\n        element[REMOVAL_FLAG] = {\n            namespaceId,\n            setForRemoval: context, hasAnimation,\n            removedBeforeQueried: false\n        };\n    }\n    /**\n     * @param {?} namespaceId\n     * @param {?} element\n     * @param {?} name\n     * @param {?} phase\n     * @param {?} callback\n     * @return {?}\n     */\n    listen(namespaceId, element, name, phase, callback) {\n        if (isElementNode(element)) {\n            return this._fetchNamespace(namespaceId).listen(element, name, phase, callback);\n        }\n        return (/**\n         * @return {?}\n         */\n        () => { });\n    }\n    /**\n     * @private\n     * @param {?} entry\n     * @param {?} subTimelines\n     * @param {?} enterClassName\n     * @param {?} leaveClassName\n     * @param {?=} skipBuildAst\n     * @return {?}\n     */\n    _buildInstruction(entry, subTimelines, enterClassName, leaveClassName, skipBuildAst) {\n        return entry.transition.build(this.driver, entry.element, entry.fromState.value, entry.toState.value, enterClassName, leaveClassName, entry.fromState.options, entry.toState.options, subTimelines, skipBuildAst);\n    }\n    /**\n     * @param {?} containerElement\n     * @return {?}\n     */\n    destroyInnerAnimations(containerElement) {\n        /** @type {?} */\n        let elements = this.driver.query(containerElement, NG_TRIGGER_SELECTOR, true);\n        elements.forEach((/**\n         * @param {?} element\n         * @return {?}\n         */\n        element => this.destroyActiveAnimationsForElement(element)));\n        if (this.playersByQueriedElement.size == 0)\n            return;\n        elements = this.driver.query(containerElement, NG_ANIMATING_SELECTOR, true);\n        elements.forEach((/**\n         * @param {?} element\n         * @return {?}\n         */\n        element => this.finishActiveQueriedAnimationOnElement(element)));\n    }\n    /**\n     * @param {?} element\n     * @return {?}\n     */\n    destroyActiveAnimationsForElement(element) {\n        /** @type {?} */\n        const players = this.playersByElement.get(element);\n        if (players) {\n            players.forEach((/**\n             * @param {?} player\n             * @return {?}\n             */\n            player => {\n                // special case for when an element is set for destruction, but hasn't started.\n                // in this situation we want to delay the destruction until the flush occurs\n                // so that any event listeners attached to the player are triggered.\n                if (player.queued) {\n                    player.markedForDestroy = true;\n                }\n                else {\n                    player.destroy();\n                }\n            }));\n        }\n    }\n    /**\n     * @param {?} element\n     * @return {?}\n     */\n    finishActiveQueriedAnimationOnElement(element) {\n        /** @type {?} */\n        const players = this.playersByQueriedElement.get(element);\n        if (players) {\n            players.forEach((/**\n             * @param {?} player\n             * @return {?}\n             */\n            player => player.finish()));\n        }\n    }\n    /**\n     * @return {?}\n     */\n    whenRenderingDone() {\n        return new Promise((/**\n         * @param {?} resolve\n         * @return {?}\n         */\n        resolve => {\n            if (this.players.length) {\n                return optimizeGroupPlayer(this.players).onDone((/**\n                 * @return {?}\n                 */\n                () => resolve()));\n            }\n            else {\n                resolve();\n            }\n        }));\n    }\n    /**\n     * @param {?} element\n     * @return {?}\n     */\n    processLeaveNode(element) {\n        /** @type {?} */\n        const details = (/** @type {?} */ (element[REMOVAL_FLAG]));\n        if (details && details.setForRemoval) {\n            // this will prevent it from removing it twice\n            element[REMOVAL_FLAG] = NULL_REMOVAL_STATE;\n            if (details.namespaceId) {\n                this.destroyInnerAnimations(element);\n                /** @type {?} */\n                const ns = this._fetchNamespace(details.namespaceId);\n                if (ns) {\n                    ns.clearElementCache(element);\n                }\n            }\n            this._onRemovalComplete(element, details.setForRemoval);\n        }\n        if (this.driver.matchesElement(element, DISABLED_SELECTOR)) {\n            this.markElementAsDisabled(element, false);\n        }\n        this.driver.query(element, DISABLED_SELECTOR, true).forEach((/**\n         * @param {?} node\n         * @return {?}\n         */\n        node => {\n            this.markElementAsDisabled(node, false);\n        }));\n    }\n    /**\n     * @param {?=} microtaskId\n     * @return {?}\n     */\n    flush(microtaskId = -1) {\n        /** @type {?} */\n        let players = [];\n        if (this.newHostElements.size) {\n            this.newHostElements.forEach((/**\n             * @param {?} ns\n             * @param {?} element\n             * @return {?}\n             */\n            (ns, element) => this._balanceNamespaceList(ns, element)));\n            this.newHostElements.clear();\n        }\n        if (this.totalAnimations && this.collectedEnterElements.length) {\n            for (let i = 0; i < this.collectedEnterElements.length; i++) {\n                /** @type {?} */\n                const elm = this.collectedEnterElements[i];\n                addClass(elm, STAR_CLASSNAME);\n            }\n        }\n        if (this._namespaceList.length &&\n            (this.totalQueuedPlayers || this.collectedLeaveElements.length)) {\n            /** @type {?} */\n            const cleanupFns = [];\n            try {\n                players = this._flushAnimations(cleanupFns, microtaskId);\n            }\n            finally {\n                for (let i = 0; i < cleanupFns.length; i++) {\n                    cleanupFns[i]();\n                }\n            }\n        }\n        else {\n            for (let i = 0; i < this.collectedLeaveElements.length; i++) {\n                /** @type {?} */\n                const element = this.collectedLeaveElements[i];\n                this.processLeaveNode(element);\n            }\n        }\n        this.totalQueuedPlayers = 0;\n        this.collectedEnterElements.length = 0;\n        this.collectedLeaveElements.length = 0;\n        this._flushFns.forEach((/**\n         * @param {?} fn\n         * @return {?}\n         */\n        fn => fn()));\n        this._flushFns = [];\n        if (this._whenQuietFns.length) {\n            // we move these over to a variable so that\n            // if any new callbacks are registered in another\n            // flush they do not populate the existing set\n            /** @type {?} */\n            const quietFns = this._whenQuietFns;\n            this._whenQuietFns = [];\n            if (players.length) {\n                optimizeGroupPlayer(players).onDone((/**\n                 * @return {?}\n                 */\n                () => { quietFns.forEach((/**\n                 * @param {?} fn\n                 * @return {?}\n                 */\n                fn => fn())); }));\n            }\n            else {\n                quietFns.forEach((/**\n                 * @param {?} fn\n                 * @return {?}\n                 */\n                fn => fn()));\n            }\n        }\n    }\n    /**\n     * @param {?} errors\n     * @return {?}\n     */\n    reportError(errors) {\n        throw new Error(`Unable to process animations due to the following failed trigger transitions\\n ${errors.join('\\n')}`);\n    }\n    /**\n     * @private\n     * @param {?} cleanupFns\n     * @param {?} microtaskId\n     * @return {?}\n     */\n    _flushAnimations(cleanupFns, microtaskId) {\n        /** @type {?} */\n        const subTimelines = new ElementInstructionMap();\n        /** @type {?} */\n        const skippedPlayers = [];\n        /** @type {?} */\n        const skippedPlayersMap = new Map();\n        /** @type {?} */\n        const queuedInstructions = [];\n        /** @type {?} */\n        const queriedElements = new Map();\n        /** @type {?} */\n        const allPreStyleElements = new Map();\n        /** @type {?} */\n        const allPostStyleElements = new Map();\n        /** @type {?} */\n        const disabledElementsSet = new Set();\n        this.disabledNodes.forEach((/**\n         * @param {?} node\n         * @return {?}\n         */\n        node => {\n            disabledElementsSet.add(node);\n            /** @type {?} */\n            const nodesThatAreDisabled = this.driver.query(node, QUEUED_SELECTOR, true);\n            for (let i = 0; i < nodesThatAreDisabled.length; i++) {\n                disabledElementsSet.add(nodesThatAreDisabled[i]);\n            }\n        }));\n        /** @type {?} */\n        const bodyNode = this.bodyNode;\n        /** @type {?} */\n        const allTriggerElements = Array.from(this.statesByElement.keys());\n        /** @type {?} */\n        const enterNodeMap = buildRootMap(allTriggerElements, this.collectedEnterElements);\n        // this must occur before the instructions are built below such that\n        // the :enter queries match the elements (since the timeline queries\n        // are fired during instruction building).\n        /** @type {?} */\n        const enterNodeMapIds = new Map();\n        /** @type {?} */\n        let i = 0;\n        enterNodeMap.forEach((/**\n         * @param {?} nodes\n         * @param {?} root\n         * @return {?}\n         */\n        (nodes, root) => {\n            /** @type {?} */\n            const className = ENTER_CLASSNAME + i++;\n            enterNodeMapIds.set(root, className);\n            nodes.forEach((/**\n             * @param {?} node\n             * @return {?}\n             */\n            node => addClass(node, className)));\n        }));\n        /** @type {?} */\n        const allLeaveNodes = [];\n        /** @type {?} */\n        const mergedLeaveNodes = new Set();\n        /** @type {?} */\n        const leaveNodesWithoutAnimations = new Set();\n        for (let i = 0; i < this.collectedLeaveElements.length; i++) {\n            /** @type {?} */\n            const element = this.collectedLeaveElements[i];\n            /** @type {?} */\n            const details = (/** @type {?} */ (element[REMOVAL_FLAG]));\n            if (details && details.setForRemoval) {\n                allLeaveNodes.push(element);\n                mergedLeaveNodes.add(element);\n                if (details.hasAnimation) {\n                    this.driver.query(element, STAR_SELECTOR, true).forEach((/**\n                     * @param {?} elm\n                     * @return {?}\n                     */\n                    elm => mergedLeaveNodes.add(elm)));\n                }\n                else {\n                    leaveNodesWithoutAnimations.add(element);\n                }\n            }\n        }\n        /** @type {?} */\n        const leaveNodeMapIds = new Map();\n        /** @type {?} */\n        const leaveNodeMap = buildRootMap(allTriggerElements, Array.from(mergedLeaveNodes));\n        leaveNodeMap.forEach((/**\n         * @param {?} nodes\n         * @param {?} root\n         * @return {?}\n         */\n        (nodes, root) => {\n            /** @type {?} */\n            const className = LEAVE_CLASSNAME + i++;\n            leaveNodeMapIds.set(root, className);\n            nodes.forEach((/**\n             * @param {?} node\n             * @return {?}\n             */\n            node => addClass(node, className)));\n        }));\n        cleanupFns.push((/**\n         * @return {?}\n         */\n        () => {\n            enterNodeMap.forEach((/**\n             * @param {?} nodes\n             * @param {?} root\n             * @return {?}\n             */\n            (nodes, root) => {\n                /** @type {?} */\n                const className = (/** @type {?} */ (enterNodeMapIds.get(root)));\n                nodes.forEach((/**\n                 * @param {?} node\n                 * @return {?}\n                 */\n                node => removeClass(node, className)));\n            }));\n            leaveNodeMap.forEach((/**\n             * @param {?} nodes\n             * @param {?} root\n             * @return {?}\n             */\n            (nodes, root) => {\n                /** @type {?} */\n                const className = (/** @type {?} */ (leaveNodeMapIds.get(root)));\n                nodes.forEach((/**\n                 * @param {?} node\n                 * @return {?}\n                 */\n                node => removeClass(node, className)));\n            }));\n            allLeaveNodes.forEach((/**\n             * @param {?} element\n             * @return {?}\n             */\n            element => { this.processLeaveNode(element); }));\n        }));\n        /** @type {?} */\n        const allPlayers = [];\n        /** @type {?} */\n        const erroneousTransitions = [];\n        for (let i = this._namespaceList.length - 1; i >= 0; i--) {\n            /** @type {?} */\n            const ns = this._namespaceList[i];\n            ns.drainQueuedTransitions(microtaskId).forEach((/**\n             * @param {?} entry\n             * @return {?}\n             */\n            entry => {\n                /** @type {?} */\n                const player = entry.player;\n                /** @type {?} */\n                const element = entry.element;\n                allPlayers.push(player);\n                if (this.collectedEnterElements.length) {\n                    /** @type {?} */\n                    const details = (/** @type {?} */ (element[REMOVAL_FLAG]));\n                    // move animations are currently not supported...\n                    if (details && details.setForMove) {\n                        player.destroy();\n                        return;\n                    }\n                }\n                /** @type {?} */\n                const nodeIsOrphaned = !bodyNode || !this.driver.containsElement(bodyNode, element);\n                /** @type {?} */\n                const leaveClassName = (/** @type {?} */ (leaveNodeMapIds.get(element)));\n                /** @type {?} */\n                const enterClassName = (/** @type {?} */ (enterNodeMapIds.get(element)));\n                /** @type {?} */\n                const instruction = (/** @type {?} */ (this._buildInstruction(entry, subTimelines, enterClassName, leaveClassName, nodeIsOrphaned)));\n                if (instruction.errors && instruction.errors.length) {\n                    erroneousTransitions.push(instruction);\n                    return;\n                }\n                // even though the element may not be apart of the DOM, it may\n                // still be added at a later point (due to the mechanics of content\n                // projection and/or dynamic component insertion) therefore it's\n                // important we still style the element.\n                if (nodeIsOrphaned) {\n                    player.onStart((/**\n                     * @return {?}\n                     */\n                    () => eraseStyles(element, instruction.fromStyles)));\n                    player.onDestroy((/**\n                     * @return {?}\n                     */\n                    () => setStyles(element, instruction.toStyles)));\n                    skippedPlayers.push(player);\n                    return;\n                }\n                // if a unmatched transition is queued to go then it SHOULD NOT render\n                // an animation and cancel the previously running animations.\n                if (entry.isFallbackTransition) {\n                    player.onStart((/**\n                     * @return {?}\n                     */\n                    () => eraseStyles(element, instruction.fromStyles)));\n                    player.onDestroy((/**\n                     * @return {?}\n                     */\n                    () => setStyles(element, instruction.toStyles)));\n                    skippedPlayers.push(player);\n                    return;\n                }\n                // this means that if a parent animation uses this animation as a sub trigger\n                // then it will instruct the timeline builder to not add a player delay, but\n                // instead stretch the first keyframe gap up until the animation starts. The\n                // reason this is important is to prevent extra initialization styles from being\n                // required by the user in the animation.\n                instruction.timelines.forEach((/**\n                 * @param {?} tl\n                 * @return {?}\n                 */\n                tl => tl.stretchStartingKeyframe = true));\n                subTimelines.append(element, instruction.timelines);\n                /** @type {?} */\n                const tuple = { instruction, player, element };\n                queuedInstructions.push(tuple);\n                instruction.queriedElements.forEach((/**\n                 * @param {?} element\n                 * @return {?}\n                 */\n                element => getOrSetAsInMap(queriedElements, element, []).push(player)));\n                instruction.preStyleProps.forEach((/**\n                 * @param {?} stringMap\n                 * @param {?} element\n                 * @return {?}\n                 */\n                (stringMap, element) => {\n                    /** @type {?} */\n                    const props = Object.keys(stringMap);\n                    if (props.length) {\n                        /** @type {?} */\n                        let setVal = (/** @type {?} */ (allPreStyleElements.get(element)));\n                        if (!setVal) {\n                            allPreStyleElements.set(element, setVal = new Set());\n                        }\n                        props.forEach((/**\n                         * @param {?} prop\n                         * @return {?}\n                         */\n                        prop => setVal.add(prop)));\n                    }\n                }));\n                instruction.postStyleProps.forEach((/**\n                 * @param {?} stringMap\n                 * @param {?} element\n                 * @return {?}\n                 */\n                (stringMap, element) => {\n                    /** @type {?} */\n                    const props = Object.keys(stringMap);\n                    /** @type {?} */\n                    let setVal = (/** @type {?} */ (allPostStyleElements.get(element)));\n                    if (!setVal) {\n                        allPostStyleElements.set(element, setVal = new Set());\n                    }\n                    props.forEach((/**\n                     * @param {?} prop\n                     * @return {?}\n                     */\n                    prop => setVal.add(prop)));\n                }));\n            }));\n        }\n        if (erroneousTransitions.length) {\n            /** @type {?} */\n            const errors = [];\n            erroneousTransitions.forEach((/**\n             * @param {?} instruction\n             * @return {?}\n             */\n            instruction => {\n                errors.push(`@${instruction.triggerName} has failed due to:\\n`);\n                (/** @type {?} */ (instruction.errors)).forEach((/**\n                 * @param {?} error\n                 * @return {?}\n                 */\n                error => errors.push(`- ${error}\\n`)));\n            }));\n            allPlayers.forEach((/**\n             * @param {?} player\n             * @return {?}\n             */\n            player => player.destroy()));\n            this.reportError(errors);\n        }\n        /** @type {?} */\n        const allPreviousPlayersMap = new Map();\n        // this map works to tell which element in the DOM tree is contained by\n        // which animation. Further down below this map will get populated once\n        // the players are built and in doing so it can efficiently figure out\n        // if a sub player is skipped due to a parent player having priority.\n        /** @type {?} */\n        const animationElementMap = new Map();\n        queuedInstructions.forEach((/**\n         * @param {?} entry\n         * @return {?}\n         */\n        entry => {\n            /** @type {?} */\n            const element = entry.element;\n            if (subTimelines.has(element)) {\n                animationElementMap.set(element, element);\n                this._beforeAnimationBuild(entry.player.namespaceId, entry.instruction, allPreviousPlayersMap);\n            }\n        }));\n        skippedPlayers.forEach((/**\n         * @param {?} player\n         * @return {?}\n         */\n        player => {\n            /** @type {?} */\n            const element = player.element;\n            /** @type {?} */\n            const previousPlayers = this._getPreviousPlayers(element, false, player.namespaceId, player.triggerName, null);\n            previousPlayers.forEach((/**\n             * @param {?} prevPlayer\n             * @return {?}\n             */\n            prevPlayer => {\n                getOrSetAsInMap(allPreviousPlayersMap, element, []).push(prevPlayer);\n                prevPlayer.destroy();\n            }));\n        }));\n        // this is a special case for nodes that will be removed (either by)\n        // having their own leave animations or by being queried in a container\n        // that will be removed once a parent animation is complete. The idea\n        // here is that * styles must be identical to ! styles because of\n        // backwards compatibility (* is also filled in by default in many places).\n        // Otherwise * styles will return an empty value or auto since the element\n        // that is being getComputedStyle'd will not be visible (since * = destination)\n        /** @type {?} */\n        const replaceNodes = allLeaveNodes.filter((/**\n         * @param {?} node\n         * @return {?}\n         */\n        node => {\n            return replacePostStylesAsPre(node, allPreStyleElements, allPostStyleElements);\n        }));\n        // POST STAGE: fill the * styles\n        /** @type {?} */\n        const postStylesMap = new Map();\n        /** @type {?} */\n        const allLeaveQueriedNodes = cloakAndComputeStyles(postStylesMap, this.driver, leaveNodesWithoutAnimations, allPostStyleElements, _angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"AUTO_STYLE\"]);\n        allLeaveQueriedNodes.forEach((/**\n         * @param {?} node\n         * @return {?}\n         */\n        node => {\n            if (replacePostStylesAsPre(node, allPreStyleElements, allPostStyleElements)) {\n                replaceNodes.push(node);\n            }\n        }));\n        // PRE STAGE: fill the ! styles\n        /** @type {?} */\n        const preStylesMap = new Map();\n        enterNodeMap.forEach((/**\n         * @param {?} nodes\n         * @param {?} root\n         * @return {?}\n         */\n        (nodes, root) => {\n            cloakAndComputeStyles(preStylesMap, this.driver, new Set(nodes), allPreStyleElements, _angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"ɵPRE_STYLE\"]);\n        }));\n        replaceNodes.forEach((/**\n         * @param {?} node\n         * @return {?}\n         */\n        node => {\n            /** @type {?} */\n            const post = postStylesMap.get(node);\n            /** @type {?} */\n            const pre = preStylesMap.get(node);\n            postStylesMap.set(node, (/** @type {?} */ (Object.assign({}, post, pre))));\n        }));\n        /** @type {?} */\n        const rootPlayers = [];\n        /** @type {?} */\n        const subPlayers = [];\n        /** @type {?} */\n        const NO_PARENT_ANIMATION_ELEMENT_DETECTED = {};\n        queuedInstructions.forEach((/**\n         * @param {?} entry\n         * @return {?}\n         */\n        entry => {\n            const { element, player, instruction } = entry;\n            // this means that it was never consumed by a parent animation which\n            // means that it is independent and therefore should be set for animation\n            if (subTimelines.has(element)) {\n                if (disabledElementsSet.has(element)) {\n                    player.onDestroy((/**\n                     * @return {?}\n                     */\n                    () => setStyles(element, instruction.toStyles)));\n                    player.disabled = true;\n                    player.overrideTotalTime(instruction.totalTime);\n                    skippedPlayers.push(player);\n                    return;\n                }\n                // this will flow up the DOM and query the map to figure out\n                // if a parent animation has priority over it. In the situation\n                // that a parent is detected then it will cancel the loop. If\n                // nothing is detected, or it takes a few hops to find a parent,\n                // then it will fill in the missing nodes and signal them as having\n                // a detected parent (or a NO_PARENT value via a special constant).\n                /** @type {?} */\n                let parentWithAnimation = NO_PARENT_ANIMATION_ELEMENT_DETECTED;\n                if (animationElementMap.size > 1) {\n                    /** @type {?} */\n                    let elm = element;\n                    /** @type {?} */\n                    const parentsToAdd = [];\n                    while (elm = elm.parentNode) {\n                        /** @type {?} */\n                        const detectedParent = animationElementMap.get(elm);\n                        if (detectedParent) {\n                            parentWithAnimation = detectedParent;\n                            break;\n                        }\n                        parentsToAdd.push(elm);\n                    }\n                    parentsToAdd.forEach((/**\n                     * @param {?} parent\n                     * @return {?}\n                     */\n                    parent => animationElementMap.set(parent, parentWithAnimation)));\n                }\n                /** @type {?} */\n                const innerPlayer = this._buildAnimation(player.namespaceId, instruction, allPreviousPlayersMap, skippedPlayersMap, preStylesMap, postStylesMap);\n                player.setRealPlayer(innerPlayer);\n                if (parentWithAnimation === NO_PARENT_ANIMATION_ELEMENT_DETECTED) {\n                    rootPlayers.push(player);\n                }\n                else {\n                    /** @type {?} */\n                    const parentPlayers = this.playersByElement.get(parentWithAnimation);\n                    if (parentPlayers && parentPlayers.length) {\n                        player.parentPlayer = optimizeGroupPlayer(parentPlayers);\n                    }\n                    skippedPlayers.push(player);\n                }\n            }\n            else {\n                eraseStyles(element, instruction.fromStyles);\n                player.onDestroy((/**\n                 * @return {?}\n                 */\n                () => setStyles(element, instruction.toStyles)));\n                // there still might be a ancestor player animating this\n                // element therefore we will still add it as a sub player\n                // even if its animation may be disabled\n                subPlayers.push(player);\n                if (disabledElementsSet.has(element)) {\n                    skippedPlayers.push(player);\n                }\n            }\n        }));\n        // find all of the sub players' corresponding inner animation player\n        subPlayers.forEach((/**\n         * @param {?} player\n         * @return {?}\n         */\n        player => {\n            // even if any players are not found for a sub animation then it\n            // will still complete itself after the next tick since it's Noop\n            /** @type {?} */\n            const playersForElement = skippedPlayersMap.get(player.element);\n            if (playersForElement && playersForElement.length) {\n                /** @type {?} */\n                const innerPlayer = optimizeGroupPlayer(playersForElement);\n                player.setRealPlayer(innerPlayer);\n            }\n        }));\n        // the reason why we don't actually play the animation is\n        // because all that a skipped player is designed to do is to\n        // fire the start/done transition callback events\n        skippedPlayers.forEach((/**\n         * @param {?} player\n         * @return {?}\n         */\n        player => {\n            if (player.parentPlayer) {\n                player.syncPlayerEvents(player.parentPlayer);\n            }\n            else {\n                player.destroy();\n            }\n        }));\n        // run through all of the queued removals and see if they\n        // were picked up by a query. If not then perform the removal\n        // operation right away unless a parent animation is ongoing.\n        for (let i = 0; i < allLeaveNodes.length; i++) {\n            /** @type {?} */\n            const element = allLeaveNodes[i];\n            /** @type {?} */\n            const details = (/** @type {?} */ (element[REMOVAL_FLAG]));\n            removeClass(element, LEAVE_CLASSNAME);\n            // this means the element has a removal animation that is being\n            // taken care of and therefore the inner elements will hang around\n            // until that animation is over (or the parent queried animation)\n            if (details && details.hasAnimation)\n                continue;\n            /** @type {?} */\n            let players = [];\n            // if this element is queried or if it contains queried children\n            // then we want for the element not to be removed from the page\n            // until the queried animations have finished\n            if (queriedElements.size) {\n                /** @type {?} */\n                let queriedPlayerResults = queriedElements.get(element);\n                if (queriedPlayerResults && queriedPlayerResults.length) {\n                    players.push(...queriedPlayerResults);\n                }\n                /** @type {?} */\n                let queriedInnerElements = this.driver.query(element, NG_ANIMATING_SELECTOR, true);\n                for (let j = 0; j < queriedInnerElements.length; j++) {\n                    /** @type {?} */\n                    let queriedPlayers = queriedElements.get(queriedInnerElements[j]);\n                    if (queriedPlayers && queriedPlayers.length) {\n                        players.push(...queriedPlayers);\n                    }\n                }\n            }\n            /** @type {?} */\n            const activePlayers = players.filter((/**\n             * @param {?} p\n             * @return {?}\n             */\n            p => !p.destroyed));\n            if (activePlayers.length) {\n                removeNodesAfterAnimationDone(this, element, activePlayers);\n            }\n            else {\n                this.processLeaveNode(element);\n            }\n        }\n        // this is required so the cleanup method doesn't remove them\n        allLeaveNodes.length = 0;\n        rootPlayers.forEach((/**\n         * @param {?} player\n         * @return {?}\n         */\n        player => {\n            this.players.push(player);\n            player.onDone((/**\n             * @return {?}\n             */\n            () => {\n                player.destroy();\n                /** @type {?} */\n                const index = this.players.indexOf(player);\n                this.players.splice(index, 1);\n            }));\n            player.play();\n        }));\n        return rootPlayers;\n    }\n    /**\n     * @param {?} namespaceId\n     * @param {?} element\n     * @return {?}\n     */\n    elementContainsData(namespaceId, element) {\n        /** @type {?} */\n        let containsData = false;\n        /** @type {?} */\n        const details = (/** @type {?} */ (element[REMOVAL_FLAG]));\n        if (details && details.setForRemoval)\n            containsData = true;\n        if (this.playersByElement.has(element))\n            containsData = true;\n        if (this.playersByQueriedElement.has(element))\n            containsData = true;\n        if (this.statesByElement.has(element))\n            containsData = true;\n        return this._fetchNamespace(namespaceId).elementContainsData(element) || containsData;\n    }\n    /**\n     * @param {?} callback\n     * @return {?}\n     */\n    afterFlush(callback) { this._flushFns.push(callback); }\n    /**\n     * @param {?} callback\n     * @return {?}\n     */\n    afterFlushAnimationsDone(callback) { this._whenQuietFns.push(callback); }\n    /**\n     * @private\n     * @param {?} element\n     * @param {?} isQueriedElement\n     * @param {?=} namespaceId\n     * @param {?=} triggerName\n     * @param {?=} toStateValue\n     * @return {?}\n     */\n    _getPreviousPlayers(element, isQueriedElement, namespaceId, triggerName, toStateValue) {\n        /** @type {?} */\n        let players = [];\n        if (isQueriedElement) {\n            /** @type {?} */\n            const queriedElementPlayers = this.playersByQueriedElement.get(element);\n            if (queriedElementPlayers) {\n                players = queriedElementPlayers;\n            }\n        }\n        else {\n            /** @type {?} */\n            const elementPlayers = this.playersByElement.get(element);\n            if (elementPlayers) {\n                /** @type {?} */\n                const isRemovalAnimation = !toStateValue || toStateValue == VOID_VALUE;\n                elementPlayers.forEach((/**\n                 * @param {?} player\n                 * @return {?}\n                 */\n                player => {\n                    if (player.queued)\n                        return;\n                    if (!isRemovalAnimation && player.triggerName != triggerName)\n                        return;\n                    players.push(player);\n                }));\n            }\n        }\n        if (namespaceId || triggerName) {\n            players = players.filter((/**\n             * @param {?} player\n             * @return {?}\n             */\n            player => {\n                if (namespaceId && namespaceId != player.namespaceId)\n                    return false;\n                if (triggerName && triggerName != player.triggerName)\n                    return false;\n                return true;\n            }));\n        }\n        return players;\n    }\n    /**\n     * @private\n     * @param {?} namespaceId\n     * @param {?} instruction\n     * @param {?} allPreviousPlayersMap\n     * @return {?}\n     */\n    _beforeAnimationBuild(namespaceId, instruction, allPreviousPlayersMap) {\n        /** @type {?} */\n        const triggerName = instruction.triggerName;\n        /** @type {?} */\n        const rootElement = instruction.element;\n        // when a removal animation occurs, ALL previous players are collected\n        // and destroyed (even if they are outside of the current namespace)\n        /** @type {?} */\n        const targetNameSpaceId = instruction.isRemovalTransition ? undefined : namespaceId;\n        /** @type {?} */\n        const targetTriggerName = instruction.isRemovalTransition ? undefined : triggerName;\n        for (const timelineInstruction of instruction.timelines) {\n            /** @type {?} */\n            const element = timelineInstruction.element;\n            /** @type {?} */\n            const isQueriedElement = element !== rootElement;\n            /** @type {?} */\n            const players = getOrSetAsInMap(allPreviousPlayersMap, element, []);\n            /** @type {?} */\n            const previousPlayers = this._getPreviousPlayers(element, isQueriedElement, targetNameSpaceId, targetTriggerName, instruction.toState);\n            previousPlayers.forEach((/**\n             * @param {?} player\n             * @return {?}\n             */\n            player => {\n                /** @type {?} */\n                const realPlayer = (/** @type {?} */ (player.getRealPlayer()));\n                if (realPlayer.beforeDestroy) {\n                    realPlayer.beforeDestroy();\n                }\n                player.destroy();\n                players.push(player);\n            }));\n        }\n        // this needs to be done so that the PRE/POST styles can be\n        // computed properly without interfering with the previous animation\n        eraseStyles(rootElement, instruction.fromStyles);\n    }\n    /**\n     * @private\n     * @param {?} namespaceId\n     * @param {?} instruction\n     * @param {?} allPreviousPlayersMap\n     * @param {?} skippedPlayersMap\n     * @param {?} preStylesMap\n     * @param {?} postStylesMap\n     * @return {?}\n     */\n    _buildAnimation(namespaceId, instruction, allPreviousPlayersMap, skippedPlayersMap, preStylesMap, postStylesMap) {\n        /** @type {?} */\n        const triggerName = instruction.triggerName;\n        /** @type {?} */\n        const rootElement = instruction.element;\n        // we first run this so that the previous animation player\n        // data can be passed into the successive animation players\n        /** @type {?} */\n        const allQueriedPlayers = [];\n        /** @type {?} */\n        const allConsumedElements = new Set();\n        /** @type {?} */\n        const allSubElements = new Set();\n        /** @type {?} */\n        const allNewPlayers = instruction.timelines.map((/**\n         * @param {?} timelineInstruction\n         * @return {?}\n         */\n        timelineInstruction => {\n            /** @type {?} */\n            const element = timelineInstruction.element;\n            allConsumedElements.add(element);\n            // FIXME (matsko): make sure to-be-removed animations are removed properly\n            /** @type {?} */\n            const details = element[REMOVAL_FLAG];\n            if (details && details.removedBeforeQueried)\n                return new _angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"NoopAnimationPlayer\"](timelineInstruction.duration, timelineInstruction.delay);\n            /** @type {?} */\n            const isQueriedElement = element !== rootElement;\n            /** @type {?} */\n            const previousPlayers = flattenGroupPlayers((allPreviousPlayersMap.get(element) || EMPTY_PLAYER_ARRAY)\n                .map((/**\n             * @param {?} p\n             * @return {?}\n             */\n            p => p.getRealPlayer())))\n                .filter((/**\n             * @param {?} p\n             * @return {?}\n             */\n            p => {\n                // the `element` is not apart of the AnimationPlayer definition, but\n                // Mock/WebAnimations\n                // use the element within their implementation. This will be added in Angular5 to\n                // AnimationPlayer\n                /** @type {?} */\n                const pp = (/** @type {?} */ (p));\n                return pp.element ? pp.element === element : false;\n            }));\n            /** @type {?} */\n            const preStyles = preStylesMap.get(element);\n            /** @type {?} */\n            const postStyles = postStylesMap.get(element);\n            /** @type {?} */\n            const keyframes = normalizeKeyframes(this.driver, this._normalizer, element, timelineInstruction.keyframes, preStyles, postStyles);\n            /** @type {?} */\n            const player = this._buildPlayer(timelineInstruction, keyframes, previousPlayers);\n            // this means that this particular player belongs to a sub trigger. It is\n            // important that we match this player up with the corresponding (@trigger.listener)\n            if (timelineInstruction.subTimeline && skippedPlayersMap) {\n                allSubElements.add(element);\n            }\n            if (isQueriedElement) {\n                /** @type {?} */\n                const wrappedPlayer = new TransitionAnimationPlayer(namespaceId, triggerName, element);\n                wrappedPlayer.setRealPlayer(player);\n                allQueriedPlayers.push(wrappedPlayer);\n            }\n            return player;\n        }));\n        allQueriedPlayers.forEach((/**\n         * @param {?} player\n         * @return {?}\n         */\n        player => {\n            getOrSetAsInMap(this.playersByQueriedElement, player.element, []).push(player);\n            player.onDone((/**\n             * @return {?}\n             */\n            () => deleteOrUnsetInMap(this.playersByQueriedElement, player.element, player)));\n        }));\n        allConsumedElements.forEach((/**\n         * @param {?} element\n         * @return {?}\n         */\n        element => addClass(element, NG_ANIMATING_CLASSNAME)));\n        /** @type {?} */\n        const player = optimizeGroupPlayer(allNewPlayers);\n        player.onDestroy((/**\n         * @return {?}\n         */\n        () => {\n            allConsumedElements.forEach((/**\n             * @param {?} element\n             * @return {?}\n             */\n            element => removeClass(element, NG_ANIMATING_CLASSNAME)));\n            setStyles(rootElement, instruction.toStyles);\n        }));\n        // this basically makes all of the callbacks for sub element animations\n        // be dependent on the upper players for when they finish\n        allSubElements.forEach((/**\n         * @param {?} element\n         * @return {?}\n         */\n        element => { getOrSetAsInMap(skippedPlayersMap, element, []).push(player); }));\n        return player;\n    }\n    /**\n     * @private\n     * @param {?} instruction\n     * @param {?} keyframes\n     * @param {?} previousPlayers\n     * @return {?}\n     */\n    _buildPlayer(instruction, keyframes, previousPlayers) {\n        if (keyframes.length > 0) {\n            return this.driver.animate(instruction.element, keyframes, instruction.duration, instruction.delay, instruction.easing, previousPlayers);\n        }\n        // special case for when an empty transition|definition is provided\n        // ... there is no point in rendering an empty animation\n        return new _angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"NoopAnimationPlayer\"](instruction.duration, instruction.delay);\n    }\n}\nif (false) {}\nclass TransitionAnimationPlayer {\n    /**\n     * @param {?} namespaceId\n     * @param {?} triggerName\n     * @param {?} element\n     */\n    constructor(namespaceId, triggerName, element) {\n        this.namespaceId = namespaceId;\n        this.triggerName = triggerName;\n        this.element = element;\n        this._player = new _angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"NoopAnimationPlayer\"]();\n        this._containsRealPlayer = false;\n        this._queuedCallbacks = {};\n        this.destroyed = false;\n        this.markedForDestroy = false;\n        this.disabled = false;\n        this.queued = true;\n        this.totalTime = 0;\n    }\n    /**\n     * @param {?} player\n     * @return {?}\n     */\n    setRealPlayer(player) {\n        if (this._containsRealPlayer)\n            return;\n        this._player = player;\n        Object.keys(this._queuedCallbacks).forEach((/**\n         * @param {?} phase\n         * @return {?}\n         */\n        phase => {\n            this._queuedCallbacks[phase].forEach((/**\n             * @param {?} callback\n             * @return {?}\n             */\n            callback => listenOnPlayer(player, phase, undefined, callback)));\n        }));\n        this._queuedCallbacks = {};\n        this._containsRealPlayer = true;\n        this.overrideTotalTime(player.totalTime);\n        ((/** @type {?} */ (this))).queued = false;\n    }\n    /**\n     * @return {?}\n     */\n    getRealPlayer() { return this._player; }\n    /**\n     * @param {?} totalTime\n     * @return {?}\n     */\n    overrideTotalTime(totalTime) { ((/** @type {?} */ (this))).totalTime = totalTime; }\n    /**\n     * @param {?} player\n     * @return {?}\n     */\n    syncPlayerEvents(player) {\n        /** @type {?} */\n        const p = (/** @type {?} */ (this._player));\n        if (p.triggerCallback) {\n            player.onStart((/**\n             * @return {?}\n             */\n            () => (/** @type {?} */ (p.triggerCallback))('start')));\n        }\n        player.onDone((/**\n         * @return {?}\n         */\n        () => this.finish()));\n        player.onDestroy((/**\n         * @return {?}\n         */\n        () => this.destroy()));\n    }\n    /**\n     * @private\n     * @param {?} name\n     * @param {?} callback\n     * @return {?}\n     */\n    _queueEvent(name, callback) {\n        getOrSetAsInMap(this._queuedCallbacks, name, []).push(callback);\n    }\n    /**\n     * @param {?} fn\n     * @return {?}\n     */\n    onDone(fn) {\n        if (this.queued) {\n            this._queueEvent('done', fn);\n        }\n        this._player.onDone(fn);\n    }\n    /**\n     * @param {?} fn\n     * @return {?}\n     */\n    onStart(fn) {\n        if (this.queued) {\n            this._queueEvent('start', fn);\n        }\n        this._player.onStart(fn);\n    }\n    /**\n     * @param {?} fn\n     * @return {?}\n     */\n    onDestroy(fn) {\n        if (this.queued) {\n            this._queueEvent('destroy', fn);\n        }\n        this._player.onDestroy(fn);\n    }\n    /**\n     * @return {?}\n     */\n    init() { this._player.init(); }\n    /**\n     * @return {?}\n     */\n    hasStarted() { return this.queued ? false : this._player.hasStarted(); }\n    /**\n     * @return {?}\n     */\n    play() { !this.queued && this._player.play(); }\n    /**\n     * @return {?}\n     */\n    pause() { !this.queued && this._player.pause(); }\n    /**\n     * @return {?}\n     */\n    restart() { !this.queued && this._player.restart(); }\n    /**\n     * @return {?}\n     */\n    finish() { this._player.finish(); }\n    /**\n     * @return {?}\n     */\n    destroy() {\n        ((/** @type {?} */ (this))).destroyed = true;\n        this._player.destroy();\n    }\n    /**\n     * @return {?}\n     */\n    reset() { !this.queued && this._player.reset(); }\n    /**\n     * @param {?} p\n     * @return {?}\n     */\n    setPosition(p) {\n        if (!this.queued) {\n            this._player.setPosition(p);\n        }\n    }\n    /**\n     * @return {?}\n     */\n    getPosition() { return this.queued ? 0 : this._player.getPosition(); }\n    /**\n     * \\@internal\n     * @param {?} phaseName\n     * @return {?}\n     */\n    triggerCallback(phaseName) {\n        /** @type {?} */\n        const p = (/** @type {?} */ (this._player));\n        if (p.triggerCallback) {\n            p.triggerCallback(phaseName);\n        }\n    }\n}\nif (false) {}\n/**\n * @param {?} map\n * @param {?} key\n * @param {?} value\n * @return {?}\n */\nfunction deleteOrUnsetInMap(map, key, value) {\n    /** @type {?} */\n    let currentValues;\n    if (map instanceof Map) {\n        currentValues = map.get(key);\n        if (currentValues) {\n            if (currentValues.length) {\n                /** @type {?} */\n                const index = currentValues.indexOf(value);\n                currentValues.splice(index, 1);\n            }\n            if (currentValues.length == 0) {\n                map.delete(key);\n            }\n        }\n    }\n    else {\n        currentValues = map[key];\n        if (currentValues) {\n            if (currentValues.length) {\n                /** @type {?} */\n                const index = currentValues.indexOf(value);\n                currentValues.splice(index, 1);\n            }\n            if (currentValues.length == 0) {\n                delete map[key];\n            }\n        }\n    }\n    return currentValues;\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction normalizeTriggerValue(value) {\n    // we use `!= null` here because it's the most simple\n    // way to test against a \"falsy\" value without mixing\n    // in empty strings or a zero value. DO NOT OPTIMIZE.\n    return value != null ? value : null;\n}\n/**\n * @param {?} node\n * @return {?}\n */\nfunction isElementNode(node) {\n    return node && node['nodeType'] === 1;\n}\n/**\n * @param {?} eventName\n * @return {?}\n */\nfunction isTriggerEventValid(eventName) {\n    return eventName == 'start' || eventName == 'done';\n}\n/**\n * @param {?} element\n * @param {?=} value\n * @return {?}\n */\nfunction cloakElement(element, value) {\n    /** @type {?} */\n    const oldValue = element.style.display;\n    element.style.display = value != null ? value : 'none';\n    return oldValue;\n}\n/**\n * @param {?} valuesMap\n * @param {?} driver\n * @param {?} elements\n * @param {?} elementPropsMap\n * @param {?} defaultStyle\n * @return {?}\n */\nfunction cloakAndComputeStyles(valuesMap, driver, elements, elementPropsMap, defaultStyle) {\n    /** @type {?} */\n    const cloakVals = [];\n    elements.forEach((/**\n     * @param {?} element\n     * @return {?}\n     */\n    element => cloakVals.push(cloakElement(element))));\n    /** @type {?} */\n    const failedElements = [];\n    elementPropsMap.forEach((/**\n     * @param {?} props\n     * @param {?} element\n     * @return {?}\n     */\n    (props, element) => {\n        /** @type {?} */\n        const styles = {};\n        props.forEach((/**\n         * @param {?} prop\n         * @return {?}\n         */\n        prop => {\n            /** @type {?} */\n            const value = styles[prop] = driver.computeStyle(element, prop, defaultStyle);\n            // there is no easy way to detect this because a sub element could be removed\n            // by a parent animation element being detached.\n            if (!value || value.length == 0) {\n                element[REMOVAL_FLAG] = NULL_REMOVED_QUERIED_STATE;\n                failedElements.push(element);\n            }\n        }));\n        valuesMap.set(element, styles);\n    }));\n    // we use a index variable here since Set.forEach(a, i) does not return\n    // an index value for the closure (but instead just the value)\n    /** @type {?} */\n    let i = 0;\n    elements.forEach((/**\n     * @param {?} element\n     * @return {?}\n     */\n    element => cloakElement(element, cloakVals[i++])));\n    return failedElements;\n}\n/*\nSince the Angular renderer code will return a collection of inserted\nnodes in all areas of a DOM tree, it's up to this algorithm to figure\nout which nodes are roots for each animation @trigger.\n\nBy placing each inserted node into a Set and traversing upwards, it\nis possible to find the @trigger elements and well any direct *star\ninsertion nodes, if a @trigger root is found then the enter element\nis placed into the Map[@trigger] spot.\n */\n/**\n * @param {?} roots\n * @param {?} nodes\n * @return {?}\n */\nfunction buildRootMap(roots, nodes) {\n    /** @type {?} */\n    const rootMap = new Map();\n    roots.forEach((/**\n     * @param {?} root\n     * @return {?}\n     */\n    root => rootMap.set(root, [])));\n    if (nodes.length == 0)\n        return rootMap;\n    /** @type {?} */\n    const NULL_NODE = 1;\n    /** @type {?} */\n    const nodeSet = new Set(nodes);\n    /** @type {?} */\n    const localRootMap = new Map();\n    /**\n     * @param {?} node\n     * @return {?}\n     */\n    function getRoot(node) {\n        if (!node)\n            return NULL_NODE;\n        /** @type {?} */\n        let root = localRootMap.get(node);\n        if (root)\n            return root;\n        /** @type {?} */\n        const parent = node.parentNode;\n        if (rootMap.has(parent)) { // ngIf inside @trigger\n            root = parent;\n        }\n        else if (nodeSet.has(parent)) { // ngIf inside ngIf\n            root = NULL_NODE;\n        }\n        else { // recurse upwards\n            root = getRoot(parent);\n        }\n        localRootMap.set(node, root);\n        return root;\n    }\n    nodes.forEach((/**\n     * @param {?} node\n     * @return {?}\n     */\n    node => {\n        /** @type {?} */\n        const root = getRoot(node);\n        if (root !== NULL_NODE) {\n            (/** @type {?} */ (rootMap.get(root))).push(node);\n        }\n    }));\n    return rootMap;\n}\n/** @type {?} */\nconst CLASSES_CACHE_KEY = '$$classes';\n/**\n * @param {?} element\n * @param {?} className\n * @return {?}\n */\nfunction containsClass(element, className) {\n    if (element.classList) {\n        return element.classList.contains(className);\n    }\n    else {\n        /** @type {?} */\n        const classes = element[CLASSES_CACHE_KEY];\n        return classes && classes[className];\n    }\n}\n/**\n * @param {?} element\n * @param {?} className\n * @return {?}\n */\nfunction addClass(element, className) {\n    if (element.classList) {\n        element.classList.add(className);\n    }\n    else {\n        /** @type {?} */\n        let classes = element[CLASSES_CACHE_KEY];\n        if (!classes) {\n            classes = element[CLASSES_CACHE_KEY] = {};\n        }\n        classes[className] = true;\n    }\n}\n/**\n * @param {?} element\n * @param {?} className\n * @return {?}\n */\nfunction removeClass(element, className) {\n    if (element.classList) {\n        element.classList.remove(className);\n    }\n    else {\n        /** @type {?} */\n        let classes = element[CLASSES_CACHE_KEY];\n        if (classes) {\n            delete classes[className];\n        }\n    }\n}\n/**\n * @param {?} engine\n * @param {?} element\n * @param {?} players\n * @return {?}\n */\nfunction removeNodesAfterAnimationDone(engine, element, players) {\n    optimizeGroupPlayer(players).onDone((/**\n     * @return {?}\n     */\n    () => engine.processLeaveNode(element)));\n}\n/**\n * @param {?} players\n * @return {?}\n */\nfunction flattenGroupPlayers(players) {\n    /** @type {?} */\n    const finalPlayers = [];\n    _flattenGroupPlayersRecur(players, finalPlayers);\n    return finalPlayers;\n}\n/**\n * @param {?} players\n * @param {?} finalPlayers\n * @return {?}\n */\nfunction _flattenGroupPlayersRecur(players, finalPlayers) {\n    for (let i = 0; i < players.length; i++) {\n        /** @type {?} */\n        const player = players[i];\n        if (player instanceof _angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"ɵAnimationGroupPlayer\"]) {\n            _flattenGroupPlayersRecur(player.players, finalPlayers);\n        }\n        else {\n            finalPlayers.push((/** @type {?} */ (player)));\n        }\n    }\n}\n/**\n * @param {?} a\n * @param {?} b\n * @return {?}\n */\nfunction objEquals(a, b) {\n    /** @type {?} */\n    const k1 = Object.keys(a);\n    /** @type {?} */\n    const k2 = Object.keys(b);\n    if (k1.length != k2.length)\n        return false;\n    for (let i = 0; i < k1.length; i++) {\n        /** @type {?} */\n        const prop = k1[i];\n        if (!b.hasOwnProperty(prop) || a[prop] !== b[prop])\n            return false;\n    }\n    return true;\n}\n/**\n * @param {?} element\n * @param {?} allPreStyleElements\n * @param {?} allPostStyleElements\n * @return {?}\n */\nfunction replacePostStylesAsPre(element, allPreStyleElements, allPostStyleElements) {\n    /** @type {?} */\n    const postEntry = allPostStyleElements.get(element);\n    if (!postEntry)\n        return false;\n    /** @type {?} */\n    let preEntry = allPreStyleElements.get(element);\n    if (preEntry) {\n        postEntry.forEach((/**\n         * @param {?} data\n         * @return {?}\n         */\n        data => (/** @type {?} */ (preEntry)).add(data)));\n    }\n    else {\n        allPreStyleElements.set(element, postEntry);\n    }\n    allPostStyleElements.delete(element);\n    return true;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass AnimationEngine {\n    /**\n     * @param {?} bodyNode\n     * @param {?} _driver\n     * @param {?} normalizer\n     */\n    constructor(bodyNode, _driver, normalizer) {\n        this.bodyNode = bodyNode;\n        this._driver = _driver;\n        this._triggerCache = {};\n        // this method is designed to be overridden by the code that uses this engine\n        this.onRemovalComplete = (/**\n         * @param {?} element\n         * @param {?} context\n         * @return {?}\n         */\n        (element, context) => { });\n        this._transitionEngine = new TransitionAnimationEngine(bodyNode, _driver, normalizer);\n        this._timelineEngine = new TimelineAnimationEngine(bodyNode, _driver, normalizer);\n        this._transitionEngine.onRemovalComplete = (/**\n         * @param {?} element\n         * @param {?} context\n         * @return {?}\n         */\n        (element, context) => this.onRemovalComplete(element, context));\n    }\n    /**\n     * @param {?} componentId\n     * @param {?} namespaceId\n     * @param {?} hostElement\n     * @param {?} name\n     * @param {?} metadata\n     * @return {?}\n     */\n    registerTrigger(componentId, namespaceId, hostElement, name, metadata) {\n        /** @type {?} */\n        const cacheKey = componentId + '-' + name;\n        /** @type {?} */\n        let trigger = this._triggerCache[cacheKey];\n        if (!trigger) {\n            /** @type {?} */\n            const errors = [];\n            /** @type {?} */\n            const ast = (/** @type {?} */ (buildAnimationAst(this._driver, (/** @type {?} */ (metadata)), errors)));\n            if (errors.length) {\n                throw new Error(`The animation trigger \"${name}\" has failed to build due to the following errors:\\n - ${errors.join(\"\\n - \")}`);\n            }\n            trigger = buildTrigger(name, ast);\n            this._triggerCache[cacheKey] = trigger;\n        }\n        this._transitionEngine.registerTrigger(namespaceId, name, trigger);\n    }\n    /**\n     * @param {?} namespaceId\n     * @param {?} hostElement\n     * @return {?}\n     */\n    register(namespaceId, hostElement) {\n        this._transitionEngine.register(namespaceId, hostElement);\n    }\n    /**\n     * @param {?} namespaceId\n     * @param {?} context\n     * @return {?}\n     */\n    destroy(namespaceId, context) {\n        this._transitionEngine.destroy(namespaceId, context);\n    }\n    /**\n     * @param {?} namespaceId\n     * @param {?} element\n     * @param {?} parent\n     * @param {?} insertBefore\n     * @return {?}\n     */\n    onInsert(namespaceId, element, parent, insertBefore) {\n        this._transitionEngine.insertNode(namespaceId, element, parent, insertBefore);\n    }\n    /**\n     * @param {?} namespaceId\n     * @param {?} element\n     * @param {?} context\n     * @param {?=} isHostElement\n     * @return {?}\n     */\n    onRemove(namespaceId, element, context, isHostElement) {\n        this._transitionEngine.removeNode(namespaceId, element, isHostElement || false, context);\n    }\n    /**\n     * @param {?} element\n     * @param {?} disable\n     * @return {?}\n     */\n    disableAnimations(element, disable) {\n        this._transitionEngine.markElementAsDisabled(element, disable);\n    }\n    /**\n     * @param {?} namespaceId\n     * @param {?} element\n     * @param {?} property\n     * @param {?} value\n     * @return {?}\n     */\n    process(namespaceId, element, property, value) {\n        if (property.charAt(0) == '@') {\n            const [id, action] = parseTimelineCommand(property);\n            /** @type {?} */\n            const args = (/** @type {?} */ (value));\n            this._timelineEngine.command(id, element, action, args);\n        }\n        else {\n            this._transitionEngine.trigger(namespaceId, element, property, value);\n        }\n    }\n    /**\n     * @param {?} namespaceId\n     * @param {?} element\n     * @param {?} eventName\n     * @param {?} eventPhase\n     * @param {?} callback\n     * @return {?}\n     */\n    listen(namespaceId, element, eventName, eventPhase, callback) {\n        // @@listen\n        if (eventName.charAt(0) == '@') {\n            const [id, action] = parseTimelineCommand(eventName);\n            return this._timelineEngine.listen(id, element, action, callback);\n        }\n        return this._transitionEngine.listen(namespaceId, element, eventName, eventPhase, callback);\n    }\n    /**\n     * @param {?=} microtaskId\n     * @return {?}\n     */\n    flush(microtaskId = -1) { this._transitionEngine.flush(microtaskId); }\n    /**\n     * @return {?}\n     */\n    get players() {\n        return ((/** @type {?} */ (this._transitionEngine.players)))\n            .concat((/** @type {?} */ (this._timelineEngine.players)));\n    }\n    /**\n     * @return {?}\n     */\n    whenRenderingDone() { return this._transitionEngine.whenRenderingDone(); }\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Returns an instance of `SpecialCasedStyles` if and when any special (non animateable) styles are\n * detected.\n *\n * In CSS there exist properties that cannot be animated within a keyframe animation\n * (whether it be via CSS keyframes or web-animations) and the animation implementation\n * will ignore them. This function is designed to detect those special cased styles and\n * return a container that will be executed at the start and end of the animation.\n *\n * @param {?} element\n * @param {?} styles\n * @return {?} an instance of `SpecialCasedStyles` if any special styles are detected otherwise `null`\n */\nfunction packageNonAnimatableStyles(element, styles) {\n    /** @type {?} */\n    let startStyles = null;\n    /** @type {?} */\n    let endStyles = null;\n    if (Array.isArray(styles) && styles.length) {\n        startStyles = filterNonAnimatableStyles(styles[0]);\n        if (styles.length > 1) {\n            endStyles = filterNonAnimatableStyles(styles[styles.length - 1]);\n        }\n    }\n    else if (styles) {\n        startStyles = filterNonAnimatableStyles(styles);\n    }\n    return (startStyles || endStyles) ? new SpecialCasedStyles(element, startStyles, endStyles) :\n        null;\n}\n/**\n * Designed to be executed during a keyframe-based animation to apply any special-cased styles.\n *\n * When started (when the `start()` method is run) then the provided `startStyles`\n * will be applied. When finished (when the `finish()` method is called) the\n * `endStyles` will be applied as well any any starting styles. Finally when\n * `destroy()` is called then all styles will be removed.\n */\nclass SpecialCasedStyles {\n    /**\n     * @param {?} _element\n     * @param {?} _startStyles\n     * @param {?} _endStyles\n     */\n    constructor(_element, _startStyles, _endStyles) {\n        this._element = _element;\n        this._startStyles = _startStyles;\n        this._endStyles = _endStyles;\n        this._state = 0 /* Pending */;\n        /** @type {?} */\n        let initialStyles = SpecialCasedStyles.initialStylesByElement.get(_element);\n        if (!initialStyles) {\n            SpecialCasedStyles.initialStylesByElement.set(_element, initialStyles = {});\n        }\n        this._initialStyles = initialStyles;\n    }\n    /**\n     * @return {?}\n     */\n    start() {\n        if (this._state < 1 /* Started */) {\n            if (this._startStyles) {\n                setStyles(this._element, this._startStyles, this._initialStyles);\n            }\n            this._state = 1 /* Started */;\n        }\n    }\n    /**\n     * @return {?}\n     */\n    finish() {\n        this.start();\n        if (this._state < 2 /* Finished */) {\n            setStyles(this._element, this._initialStyles);\n            if (this._endStyles) {\n                setStyles(this._element, this._endStyles);\n                this._endStyles = null;\n            }\n            this._state = 1 /* Started */;\n        }\n    }\n    /**\n     * @return {?}\n     */\n    destroy() {\n        this.finish();\n        if (this._state < 3 /* Destroyed */) {\n            SpecialCasedStyles.initialStylesByElement.delete(this._element);\n            if (this._startStyles) {\n                eraseStyles(this._element, this._startStyles);\n                this._endStyles = null;\n            }\n            if (this._endStyles) {\n                eraseStyles(this._element, this._endStyles);\n                this._endStyles = null;\n            }\n            setStyles(this._element, this._initialStyles);\n            this._state = 3 /* Destroyed */;\n        }\n    }\n}\nSpecialCasedStyles.initialStylesByElement = new WeakMap();\nif (false) {}\n/** @enum {number} */\nconst SpecialCasedStylesState = {\n    Pending: 0,\n    Started: 1,\n    Finished: 2,\n    Destroyed: 3,\n};\n/**\n * @param {?} styles\n * @return {?}\n */\nfunction filterNonAnimatableStyles(styles) {\n    /** @type {?} */\n    let result = null;\n    /** @type {?} */\n    const props = Object.keys(styles);\n    for (let i = 0; i < props.length; i++) {\n        /** @type {?} */\n        const prop = props[i];\n        if (isNonAnimatableStyle(prop)) {\n            result = result || {};\n            result[prop] = styles[prop];\n        }\n    }\n    return result;\n}\n/**\n * @param {?} prop\n * @return {?}\n */\nfunction isNonAnimatableStyle(prop) {\n    return prop === 'display' || prop === 'position';\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n * @type {?}\n */\nconst ELAPSED_TIME_MAX_DECIMAL_PLACES = 3;\n/** @type {?} */\nconst ANIMATION_PROP = 'animation';\n/** @type {?} */\nconst ANIMATIONEND_EVENT = 'animationend';\n/** @type {?} */\nconst ONE_SECOND$1 = 1000;\nclass ElementAnimationStyleHandler {\n    /**\n     * @param {?} _element\n     * @param {?} _name\n     * @param {?} _duration\n     * @param {?} _delay\n     * @param {?} _easing\n     * @param {?} _fillMode\n     * @param {?} _onDoneFn\n     */\n    constructor(_element, _name, _duration, _delay, _easing, _fillMode, _onDoneFn) {\n        this._element = _element;\n        this._name = _name;\n        this._duration = _duration;\n        this._delay = _delay;\n        this._easing = _easing;\n        this._fillMode = _fillMode;\n        this._onDoneFn = _onDoneFn;\n        this._finished = false;\n        this._destroyed = false;\n        this._startTime = 0;\n        this._position = 0;\n        this._eventFn = (/**\n         * @param {?} e\n         * @return {?}\n         */\n        (e) => this._handleCallback(e));\n    }\n    /**\n     * @return {?}\n     */\n    apply() {\n        applyKeyframeAnimation(this._element, `${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`);\n        addRemoveAnimationEvent(this._element, this._eventFn, false);\n        this._startTime = Date.now();\n    }\n    /**\n     * @return {?}\n     */\n    pause() { playPauseAnimation(this._element, this._name, 'paused'); }\n    /**\n     * @return {?}\n     */\n    resume() { playPauseAnimation(this._element, this._name, 'running'); }\n    /**\n     * @param {?} position\n     * @return {?}\n     */\n    setPosition(position) {\n        /** @type {?} */\n        const index = findIndexForAnimation(this._element, this._name);\n        this._position = position * this._duration;\n        setAnimationStyle(this._element, 'Delay', `-${this._position}ms`, index);\n    }\n    /**\n     * @return {?}\n     */\n    getPosition() { return this._position; }\n    /**\n     * @private\n     * @param {?} event\n     * @return {?}\n     */\n    _handleCallback(event) {\n        /** @type {?} */\n        const timestamp = event._ngTestManualTimestamp || Date.now();\n        /** @type {?} */\n        const elapsedTime = parseFloat(event.elapsedTime.toFixed(ELAPSED_TIME_MAX_DECIMAL_PLACES)) * ONE_SECOND$1;\n        if (event.animationName == this._name &&\n            Math.max(timestamp - this._startTime, 0) >= this._delay && elapsedTime >= this._duration) {\n            this.finish();\n        }\n    }\n    /**\n     * @return {?}\n     */\n    finish() {\n        if (this._finished)\n            return;\n        this._finished = true;\n        this._onDoneFn();\n        addRemoveAnimationEvent(this._element, this._eventFn, true);\n    }\n    /**\n     * @return {?}\n     */\n    destroy() {\n        if (this._destroyed)\n            return;\n        this._destroyed = true;\n        this.finish();\n        removeKeyframeAnimation(this._element, this._name);\n    }\n}\nif (false) {}\n/**\n * @param {?} element\n * @param {?} name\n * @param {?} status\n * @return {?}\n */\nfunction playPauseAnimation(element, name, status) {\n    /** @type {?} */\n    const index = findIndexForAnimation(element, name);\n    setAnimationStyle(element, 'PlayState', status, index);\n}\n/**\n * @param {?} element\n * @param {?} value\n * @return {?}\n */\nfunction applyKeyframeAnimation(element, value) {\n    /** @type {?} */\n    const anim = getAnimationStyle(element, '').trim();\n    /** @type {?} */\n    let index = 0;\n    if (anim.length) {\n        index = countChars(anim, ',') + 1;\n        value = `${anim}, ${value}`;\n    }\n    setAnimationStyle(element, '', value);\n    return index;\n}\n/**\n * @param {?} element\n * @param {?} name\n * @return {?}\n */\nfunction removeKeyframeAnimation(element, name) {\n    /** @type {?} */\n    const anim = getAnimationStyle(element, '');\n    /** @type {?} */\n    const tokens = anim.split(',');\n    /** @type {?} */\n    const index = findMatchingTokenIndex(tokens, name);\n    if (index >= 0) {\n        tokens.splice(index, 1);\n        /** @type {?} */\n        const newValue = tokens.join(',');\n        setAnimationStyle(element, '', newValue);\n    }\n}\n/**\n * @param {?} element\n * @param {?} value\n * @return {?}\n */\nfunction findIndexForAnimation(element, value) {\n    /** @type {?} */\n    const anim = getAnimationStyle(element, '');\n    if (anim.indexOf(',') > 0) {\n        /** @type {?} */\n        const tokens = anim.split(',');\n        return findMatchingTokenIndex(tokens, value);\n    }\n    return findMatchingTokenIndex([anim], value);\n}\n/**\n * @param {?} tokens\n * @param {?} searchToken\n * @return {?}\n */\nfunction findMatchingTokenIndex(tokens, searchToken) {\n    for (let i = 0; i < tokens.length; i++) {\n        if (tokens[i].indexOf(searchToken) >= 0) {\n            return i;\n        }\n    }\n    return -1;\n}\n/**\n * @param {?} element\n * @param {?} fn\n * @param {?} doRemove\n * @return {?}\n */\nfunction addRemoveAnimationEvent(element, fn, doRemove) {\n    doRemove ? element.removeEventListener(ANIMATIONEND_EVENT, fn) :\n        element.addEventListener(ANIMATIONEND_EVENT, fn);\n}\n/**\n * @param {?} element\n * @param {?} name\n * @param {?} value\n * @param {?=} index\n * @return {?}\n */\nfunction setAnimationStyle(element, name, value, index) {\n    /** @type {?} */\n    const prop = ANIMATION_PROP + name;\n    if (index != null) {\n        /** @type {?} */\n        const oldValue = element.style[prop];\n        if (oldValue.length) {\n            /** @type {?} */\n            const tokens = oldValue.split(',');\n            tokens[index] = value;\n            value = tokens.join(',');\n        }\n    }\n    element.style[prop] = value;\n}\n/**\n * @param {?} element\n * @param {?} name\n * @return {?}\n */\nfunction getAnimationStyle(element, name) {\n    return element.style[ANIMATION_PROP + name];\n}\n/**\n * @param {?} value\n * @param {?} char\n * @return {?}\n */\nfunction countChars(value, char) {\n    /** @type {?} */\n    let count = 0;\n    for (let i = 0; i < value.length; i++) {\n        /** @type {?} */\n        const c = value.charAt(i);\n        if (c === char)\n            count++;\n    }\n    return count;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst DEFAULT_FILL_MODE = 'forwards';\n/** @type {?} */\nconst DEFAULT_EASING = 'linear';\n/** @enum {number} */\nconst AnimatorControlState = {\n    INITIALIZED: 1, STARTED: 2, FINISHED: 3, DESTROYED: 4,\n};\nclass CssKeyframesPlayer {\n    /**\n     * @param {?} element\n     * @param {?} keyframes\n     * @param {?} animationName\n     * @param {?} _duration\n     * @param {?} _delay\n     * @param {?} easing\n     * @param {?} _finalStyles\n     * @param {?=} _specialStyles\n     */\n    constructor(element, keyframes, animationName, _duration, _delay, easing, _finalStyles, _specialStyles) {\n        this.element = element;\n        this.keyframes = keyframes;\n        this.animationName = animationName;\n        this._duration = _duration;\n        this._delay = _delay;\n        this._finalStyles = _finalStyles;\n        this._specialStyles = _specialStyles;\n        this._onDoneFns = [];\n        this._onStartFns = [];\n        this._onDestroyFns = [];\n        this._started = false;\n        this.currentSnapshot = {};\n        this._state = 0;\n        this.easing = easing || DEFAULT_EASING;\n        this.totalTime = _duration + _delay;\n        this._buildStyler();\n    }\n    /**\n     * @param {?} fn\n     * @return {?}\n     */\n    onStart(fn) { this._onStartFns.push(fn); }\n    /**\n     * @param {?} fn\n     * @return {?}\n     */\n    onDone(fn) { this._onDoneFns.push(fn); }\n    /**\n     * @param {?} fn\n     * @return {?}\n     */\n    onDestroy(fn) { this._onDestroyFns.push(fn); }\n    /**\n     * @return {?}\n     */\n    destroy() {\n        this.init();\n        if (this._state >= 4 /* DESTROYED */)\n            return;\n        this._state = 4 /* DESTROYED */;\n        this._styler.destroy();\n        this._flushStartFns();\n        this._flushDoneFns();\n        if (this._specialStyles) {\n            this._specialStyles.destroy();\n        }\n        this._onDestroyFns.forEach((/**\n         * @param {?} fn\n         * @return {?}\n         */\n        fn => fn()));\n        this._onDestroyFns = [];\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _flushDoneFns() {\n        this._onDoneFns.forEach((/**\n         * @param {?} fn\n         * @return {?}\n         */\n        fn => fn()));\n        this._onDoneFns = [];\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _flushStartFns() {\n        this._onStartFns.forEach((/**\n         * @param {?} fn\n         * @return {?}\n         */\n        fn => fn()));\n        this._onStartFns = [];\n    }\n    /**\n     * @return {?}\n     */\n    finish() {\n        this.init();\n        if (this._state >= 3 /* FINISHED */)\n            return;\n        this._state = 3 /* FINISHED */;\n        this._styler.finish();\n        this._flushStartFns();\n        if (this._specialStyles) {\n            this._specialStyles.finish();\n        }\n        this._flushDoneFns();\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    setPosition(value) { this._styler.setPosition(value); }\n    /**\n     * @return {?}\n     */\n    getPosition() { return this._styler.getPosition(); }\n    /**\n     * @return {?}\n     */\n    hasStarted() { return this._state >= 2 /* STARTED */; }\n    /**\n     * @return {?}\n     */\n    init() {\n        if (this._state >= 1 /* INITIALIZED */)\n            return;\n        this._state = 1 /* INITIALIZED */;\n        /** @type {?} */\n        const elm = this.element;\n        this._styler.apply();\n        if (this._delay) {\n            this._styler.pause();\n        }\n    }\n    /**\n     * @return {?}\n     */\n    play() {\n        this.init();\n        if (!this.hasStarted()) {\n            this._flushStartFns();\n            this._state = 2 /* STARTED */;\n            if (this._specialStyles) {\n                this._specialStyles.start();\n            }\n        }\n        this._styler.resume();\n    }\n    /**\n     * @return {?}\n     */\n    pause() {\n        this.init();\n        this._styler.pause();\n    }\n    /**\n     * @return {?}\n     */\n    restart() {\n        this.reset();\n        this.play();\n    }\n    /**\n     * @return {?}\n     */\n    reset() {\n        this._styler.destroy();\n        this._buildStyler();\n        this._styler.apply();\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _buildStyler() {\n        this._styler = new ElementAnimationStyleHandler(this.element, this.animationName, this._duration, this._delay, this.easing, DEFAULT_FILL_MODE, (/**\n         * @return {?}\n         */\n        () => this.finish()));\n    }\n    /**\n     * \\@internal\n     * @param {?} phaseName\n     * @return {?}\n     */\n    triggerCallback(phaseName) {\n        /** @type {?} */\n        const methods = phaseName == 'start' ? this._onStartFns : this._onDoneFns;\n        methods.forEach((/**\n         * @param {?} fn\n         * @return {?}\n         */\n        fn => fn()));\n        methods.length = 0;\n    }\n    /**\n     * @return {?}\n     */\n    beforeDestroy() {\n        this.init();\n        /** @type {?} */\n        const styles = {};\n        if (this.hasStarted()) {\n            /** @type {?} */\n            const finished = this._state >= 3 /* FINISHED */;\n            Object.keys(this._finalStyles).forEach((/**\n             * @param {?} prop\n             * @return {?}\n             */\n            prop => {\n                if (prop != 'offset') {\n                    styles[prop] = finished ? this._finalStyles[prop] : computeStyle(this.element, prop);\n                }\n            }));\n        }\n        this.currentSnapshot = styles;\n    }\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass DirectStylePlayer extends _angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"NoopAnimationPlayer\"] {\n    /**\n     * @param {?} element\n     * @param {?} styles\n     */\n    constructor(element, styles) {\n        super();\n        this.element = element;\n        this._startingStyles = {};\n        this.__initialized = false;\n        this._styles = hypenatePropsObject(styles);\n    }\n    /**\n     * @return {?}\n     */\n    init() {\n        if (this.__initialized || !this._startingStyles)\n            return;\n        this.__initialized = true;\n        Object.keys(this._styles).forEach((/**\n         * @param {?} prop\n         * @return {?}\n         */\n        prop => {\n            (/** @type {?} */ (this._startingStyles))[prop] = this.element.style[prop];\n        }));\n        super.init();\n    }\n    /**\n     * @return {?}\n     */\n    play() {\n        if (!this._startingStyles)\n            return;\n        this.init();\n        Object.keys(this._styles)\n            .forEach((/**\n         * @param {?} prop\n         * @return {?}\n         */\n        prop => this.element.style.setProperty(prop, this._styles[prop])));\n        super.play();\n    }\n    /**\n     * @return {?}\n     */\n    destroy() {\n        if (!this._startingStyles)\n            return;\n        Object.keys(this._startingStyles).forEach((/**\n         * @param {?} prop\n         * @return {?}\n         */\n        prop => {\n            /** @type {?} */\n            const value = (/** @type {?} */ (this._startingStyles))[prop];\n            if (value) {\n                this.element.style.setProperty(prop, value);\n            }\n            else {\n                this.element.style.removeProperty(prop);\n            }\n        }));\n        this._startingStyles = null;\n        super.destroy();\n    }\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst KEYFRAMES_NAME_PREFIX = 'gen_css_kf_';\n/** @type {?} */\nconst TAB_SPACE = ' ';\nclass CssKeyframesDriver {\n    constructor() {\n        this._count = 0;\n        this._head = document.querySelector('head');\n        this._warningIssued = false;\n    }\n    /**\n     * @param {?} prop\n     * @return {?}\n     */\n    validateStyleProperty(prop) { return validateStyleProperty(prop); }\n    /**\n     * @param {?} element\n     * @param {?} selector\n     * @return {?}\n     */\n    matchesElement(element, selector) {\n        return matchesElement(element, selector);\n    }\n    /**\n     * @param {?} elm1\n     * @param {?} elm2\n     * @return {?}\n     */\n    containsElement(elm1, elm2) { return containsElement(elm1, elm2); }\n    /**\n     * @param {?} element\n     * @param {?} selector\n     * @param {?} multi\n     * @return {?}\n     */\n    query(element, selector, multi) {\n        return invokeQuery(element, selector, multi);\n    }\n    /**\n     * @param {?} element\n     * @param {?} prop\n     * @param {?=} defaultValue\n     * @return {?}\n     */\n    computeStyle(element, prop, defaultValue) {\n        return (/** @type {?} */ (((/** @type {?} */ (window.getComputedStyle(element))))[prop]));\n    }\n    /**\n     * @param {?} element\n     * @param {?} name\n     * @param {?} keyframes\n     * @return {?}\n     */\n    buildKeyframeElement(element, name, keyframes) {\n        keyframes = keyframes.map((/**\n         * @param {?} kf\n         * @return {?}\n         */\n        kf => hypenatePropsObject(kf)));\n        /** @type {?} */\n        let keyframeStr = `@keyframes ${name} {\\n`;\n        /** @type {?} */\n        let tab = '';\n        keyframes.forEach((/**\n         * @param {?} kf\n         * @return {?}\n         */\n        kf => {\n            tab = TAB_SPACE;\n            /** @type {?} */\n            const offset = parseFloat(kf['offset']);\n            keyframeStr += `${tab}${offset * 100}% {\\n`;\n            tab += TAB_SPACE;\n            Object.keys(kf).forEach((/**\n             * @param {?} prop\n             * @return {?}\n             */\n            prop => {\n                /** @type {?} */\n                const value = kf[prop];\n                switch (prop) {\n                    case 'offset':\n                        return;\n                    case 'easing':\n                        if (value) {\n                            keyframeStr += `${tab}animation-timing-function: ${value};\\n`;\n                        }\n                        return;\n                    default:\n                        keyframeStr += `${tab}${prop}: ${value};\\n`;\n                        return;\n                }\n            }));\n            keyframeStr += `${tab}}\\n`;\n        }));\n        keyframeStr += `}\\n`;\n        /** @type {?} */\n        const kfElm = document.createElement('style');\n        kfElm.innerHTML = keyframeStr;\n        return kfElm;\n    }\n    /**\n     * @param {?} element\n     * @param {?} keyframes\n     * @param {?} duration\n     * @param {?} delay\n     * @param {?} easing\n     * @param {?=} previousPlayers\n     * @param {?=} scrubberAccessRequested\n     * @return {?}\n     */\n    animate(element, keyframes, duration, delay, easing, previousPlayers = [], scrubberAccessRequested) {\n        if (scrubberAccessRequested) {\n            this._notifyFaultyScrubber();\n        }\n        /** @type {?} */\n        const previousCssKeyframePlayers = (/** @type {?} */ (previousPlayers.filter((/**\n         * @param {?} player\n         * @return {?}\n         */\n        player => player instanceof CssKeyframesPlayer))));\n        /** @type {?} */\n        const previousStyles = {};\n        if (allowPreviousPlayerStylesMerge(duration, delay)) {\n            previousCssKeyframePlayers.forEach((/**\n             * @param {?} player\n             * @return {?}\n             */\n            player => {\n                /** @type {?} */\n                let styles = player.currentSnapshot;\n                Object.keys(styles).forEach((/**\n                 * @param {?} prop\n                 * @return {?}\n                 */\n                prop => previousStyles[prop] = styles[prop]));\n            }));\n        }\n        keyframes = balancePreviousStylesIntoKeyframes(element, keyframes, previousStyles);\n        /** @type {?} */\n        const finalStyles = flattenKeyframesIntoStyles(keyframes);\n        // if there is no animation then there is no point in applying\n        // styles and waiting for an event to get fired. This causes lag.\n        // It's better to just directly apply the styles to the element\n        // via the direct styling animation player.\n        if (duration == 0) {\n            return new DirectStylePlayer(element, finalStyles);\n        }\n        /** @type {?} */\n        const animationName = `${KEYFRAMES_NAME_PREFIX}${this._count++}`;\n        /** @type {?} */\n        const kfElm = this.buildKeyframeElement(element, animationName, keyframes);\n        (/** @type {?} */ (document.querySelector('head'))).appendChild(kfElm);\n        /** @type {?} */\n        const specialStyles = packageNonAnimatableStyles(element, keyframes);\n        /** @type {?} */\n        const player = new CssKeyframesPlayer(element, keyframes, animationName, duration, delay, easing, finalStyles, specialStyles);\n        player.onDestroy((/**\n         * @return {?}\n         */\n        () => removeElement(kfElm)));\n        return player;\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _notifyFaultyScrubber() {\n        if (!this._warningIssued) {\n            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.');\n            this._warningIssued = true;\n        }\n    }\n}\nif (false) {}\n/**\n * @param {?} keyframes\n * @return {?}\n */\nfunction flattenKeyframesIntoStyles(keyframes) {\n    /** @type {?} */\n    let flatKeyframes = {};\n    if (keyframes) {\n        /** @type {?} */\n        const kfs = Array.isArray(keyframes) ? keyframes : [keyframes];\n        kfs.forEach((/**\n         * @param {?} kf\n         * @return {?}\n         */\n        kf => {\n            Object.keys(kf).forEach((/**\n             * @param {?} prop\n             * @return {?}\n             */\n            prop => {\n                if (prop == 'offset' || prop == 'easing')\n                    return;\n                flatKeyframes[prop] = kf[prop];\n            }));\n        }));\n    }\n    return flatKeyframes;\n}\n/**\n * @param {?} node\n * @return {?}\n */\nfunction removeElement(node) {\n    node.parentNode.removeChild(node);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass WebAnimationsPlayer {\n    /**\n     * @param {?} element\n     * @param {?} keyframes\n     * @param {?} options\n     * @param {?=} _specialStyles\n     */\n    constructor(element, keyframes, options, _specialStyles) {\n        this.element = element;\n        this.keyframes = keyframes;\n        this.options = options;\n        this._specialStyles = _specialStyles;\n        this._onDoneFns = [];\n        this._onStartFns = [];\n        this._onDestroyFns = [];\n        this._initialized = false;\n        this._finished = false;\n        this._started = false;\n        this._destroyed = false;\n        this.time = 0;\n        this.parentPlayer = null;\n        this.currentSnapshot = {};\n        this._duration = (/** @type {?} */ (options['duration']));\n        this._delay = (/** @type {?} */ (options['delay'])) || 0;\n        this.time = this._duration + this._delay;\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _onFinish() {\n        if (!this._finished) {\n            this._finished = true;\n            this._onDoneFns.forEach((/**\n             * @param {?} fn\n             * @return {?}\n             */\n            fn => fn()));\n            this._onDoneFns = [];\n        }\n    }\n    /**\n     * @return {?}\n     */\n    init() {\n        this._buildPlayer();\n        this._preparePlayerBeforeStart();\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _buildPlayer() {\n        if (this._initialized)\n            return;\n        this._initialized = true;\n        /** @type {?} */\n        const keyframes = this.keyframes;\n        ((/** @type {?} */ (this))).domPlayer =\n            this._triggerWebAnimation(this.element, keyframes, this.options);\n        this._finalKeyframe = keyframes.length ? keyframes[keyframes.length - 1] : {};\n        this.domPlayer.addEventListener('finish', (/**\n         * @return {?}\n         */\n        () => this._onFinish()));\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _preparePlayerBeforeStart() {\n        // this is required so that the player doesn't start to animate right away\n        if (this._delay) {\n            this._resetDomPlayerState();\n        }\n        else {\n            this.domPlayer.pause();\n        }\n    }\n    /**\n     * \\@internal\n     * @param {?} element\n     * @param {?} keyframes\n     * @param {?} options\n     * @return {?}\n     */\n    _triggerWebAnimation(element, keyframes, options) {\n        // jscompiler doesn't seem to know animate is a native property because it's not fully\n        // supported yet across common browsers (we polyfill it for Edge/Safari) [CL #143630929]\n        return (/** @type {?} */ (element['animate'](keyframes, options)));\n    }\n    /**\n     * @param {?} fn\n     * @return {?}\n     */\n    onStart(fn) { this._onStartFns.push(fn); }\n    /**\n     * @param {?} fn\n     * @return {?}\n     */\n    onDone(fn) { this._onDoneFns.push(fn); }\n    /**\n     * @param {?} fn\n     * @return {?}\n     */\n    onDestroy(fn) { this._onDestroyFns.push(fn); }\n    /**\n     * @return {?}\n     */\n    play() {\n        this._buildPlayer();\n        if (!this.hasStarted()) {\n            this._onStartFns.forEach((/**\n             * @param {?} fn\n             * @return {?}\n             */\n            fn => fn()));\n            this._onStartFns = [];\n            this._started = true;\n            if (this._specialStyles) {\n                this._specialStyles.start();\n            }\n        }\n        this.domPlayer.play();\n    }\n    /**\n     * @return {?}\n     */\n    pause() {\n        this.init();\n        this.domPlayer.pause();\n    }\n    /**\n     * @return {?}\n     */\n    finish() {\n        this.init();\n        if (this._specialStyles) {\n            this._specialStyles.finish();\n        }\n        this._onFinish();\n        this.domPlayer.finish();\n    }\n    /**\n     * @return {?}\n     */\n    reset() {\n        this._resetDomPlayerState();\n        this._destroyed = false;\n        this._finished = false;\n        this._started = false;\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _resetDomPlayerState() {\n        if (this.domPlayer) {\n            this.domPlayer.cancel();\n        }\n    }\n    /**\n     * @return {?}\n     */\n    restart() {\n        this.reset();\n        this.play();\n    }\n    /**\n     * @return {?}\n     */\n    hasStarted() { return this._started; }\n    /**\n     * @return {?}\n     */\n    destroy() {\n        if (!this._destroyed) {\n            this._destroyed = true;\n            this._resetDomPlayerState();\n            this._onFinish();\n            if (this._specialStyles) {\n                this._specialStyles.destroy();\n            }\n            this._onDestroyFns.forEach((/**\n             * @param {?} fn\n             * @return {?}\n             */\n            fn => fn()));\n            this._onDestroyFns = [];\n        }\n    }\n    /**\n     * @param {?} p\n     * @return {?}\n     */\n    setPosition(p) { this.domPlayer.currentTime = p * this.time; }\n    /**\n     * @return {?}\n     */\n    getPosition() { return this.domPlayer.currentTime / this.time; }\n    /**\n     * @return {?}\n     */\n    get totalTime() { return this._delay + this._duration; }\n    /**\n     * @return {?}\n     */\n    beforeDestroy() {\n        /** @type {?} */\n        const styles = {};\n        if (this.hasStarted()) {\n            Object.keys(this._finalKeyframe).forEach((/**\n             * @param {?} prop\n             * @return {?}\n             */\n            prop => {\n                if (prop != 'offset') {\n                    styles[prop] =\n                        this._finished ? this._finalKeyframe[prop] : computeStyle(this.element, prop);\n                }\n            }));\n        }\n        this.currentSnapshot = styles;\n    }\n    /**\n     * \\@internal\n     * @param {?} phaseName\n     * @return {?}\n     */\n    triggerCallback(phaseName) {\n        /** @type {?} */\n        const methods = phaseName == 'start' ? this._onStartFns : this._onDoneFns;\n        methods.forEach((/**\n         * @param {?} fn\n         * @return {?}\n         */\n        fn => fn()));\n        methods.length = 0;\n    }\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass WebAnimationsDriver {\n    constructor() {\n        this._isNativeImpl = /\\{\\s*\\[native\\s+code\\]\\s*\\}/.test(getElementAnimateFn().toString());\n        this._cssKeyframesDriver = new CssKeyframesDriver();\n    }\n    /**\n     * @param {?} prop\n     * @return {?}\n     */\n    validateStyleProperty(prop) { return validateStyleProperty(prop); }\n    /**\n     * @param {?} element\n     * @param {?} selector\n     * @return {?}\n     */\n    matchesElement(element, selector) {\n        return matchesElement(element, selector);\n    }\n    /**\n     * @param {?} elm1\n     * @param {?} elm2\n     * @return {?}\n     */\n    containsElement(elm1, elm2) { return containsElement(elm1, elm2); }\n    /**\n     * @param {?} element\n     * @param {?} selector\n     * @param {?} multi\n     * @return {?}\n     */\n    query(element, selector, multi) {\n        return invokeQuery(element, selector, multi);\n    }\n    /**\n     * @param {?} element\n     * @param {?} prop\n     * @param {?=} defaultValue\n     * @return {?}\n     */\n    computeStyle(element, prop, defaultValue) {\n        return (/** @type {?} */ (((/** @type {?} */ (window.getComputedStyle(element))))[prop]));\n    }\n    /**\n     * @param {?} supported\n     * @return {?}\n     */\n    overrideWebAnimationsSupport(supported) { this._isNativeImpl = supported; }\n    /**\n     * @param {?} element\n     * @param {?} keyframes\n     * @param {?} duration\n     * @param {?} delay\n     * @param {?} easing\n     * @param {?=} previousPlayers\n     * @param {?=} scrubberAccessRequested\n     * @return {?}\n     */\n    animate(element, keyframes, duration, delay, easing, previousPlayers = [], scrubberAccessRequested) {\n        /** @type {?} */\n        const useKeyframes = !scrubberAccessRequested && !this._isNativeImpl;\n        if (useKeyframes) {\n            return this._cssKeyframesDriver.animate(element, keyframes, duration, delay, easing, previousPlayers);\n        }\n        /** @type {?} */\n        const fill = delay == 0 ? 'both' : 'forwards';\n        /** @type {?} */\n        const playerOptions = { duration, delay, fill };\n        // we check for this to avoid having a null|undefined value be present\n        // for the easing (which results in an error for certain browsers #9752)\n        if (easing) {\n            playerOptions['easing'] = easing;\n        }\n        /** @type {?} */\n        const previousStyles = {};\n        /** @type {?} */\n        const previousWebAnimationPlayers = (/** @type {?} */ (previousPlayers.filter((/**\n         * @param {?} player\n         * @return {?}\n         */\n        player => player instanceof WebAnimationsPlayer))));\n        if (allowPreviousPlayerStylesMerge(duration, delay)) {\n            previousWebAnimationPlayers.forEach((/**\n             * @param {?} player\n             * @return {?}\n             */\n            player => {\n                /** @type {?} */\n                let styles = player.currentSnapshot;\n                Object.keys(styles).forEach((/**\n                 * @param {?} prop\n                 * @return {?}\n                 */\n                prop => previousStyles[prop] = styles[prop]));\n            }));\n        }\n        keyframes = keyframes.map((/**\n         * @param {?} styles\n         * @return {?}\n         */\n        styles => copyStyles(styles, false)));\n        keyframes = balancePreviousStylesIntoKeyframes(element, keyframes, previousStyles);\n        /** @type {?} */\n        const specialStyles = packageNonAnimatableStyles(element, keyframes);\n        return new WebAnimationsPlayer(element, keyframes, playerOptions, specialStyles);\n    }\n}\nif (false) {}\n/**\n * @return {?}\n */\nfunction supportsWebAnimations() {\n    return typeof getElementAnimateFn() === 'function';\n}\n/**\n * @return {?}\n */\nfunction getElementAnimateFn() {\n    return (isBrowser() && ((/** @type {?} */ (Element))).prototype['animate']) || {};\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\n\n//# sourceMappingURL=browser.js.map\n\n\n/***/ }),\n\n/***/ \"./node_modules/@angular/cdk/esm2015/a11y.js\":\n/*!***************************************************!*\\\n  !*** ./node_modules/@angular/cdk/esm2015/a11y.js ***!\n  \\***************************************************/\n/*! exports provided: ARIA_DESCRIBER_PROVIDER_FACTORY, MESSAGES_CONTAINER_ID, CDK_DESCRIBEDBY_ID_PREFIX, CDK_DESCRIBEDBY_HOST_ATTRIBUTE, AriaDescriber, ARIA_DESCRIBER_PROVIDER, ActiveDescendantKeyManager, FocusKeyManager, ListKeyManager, FocusTrap, FocusTrapFactory, CdkTrapFocus, InteractivityChecker, LIVE_ANNOUNCER_PROVIDER_FACTORY, LiveAnnouncer, CdkAriaLive, LIVE_ANNOUNCER_PROVIDER, LIVE_ANNOUNCER_ELEMENT_TOKEN_FACTORY, LIVE_ANNOUNCER_ELEMENT_TOKEN, LIVE_ANNOUNCER_DEFAULT_OPTIONS, FOCUS_MONITOR_PROVIDER_FACTORY, TOUCH_BUFFER_MS, FocusMonitor, CdkMonitorFocus, FOCUS_MONITOR_PROVIDER, isFakeMousedownFromScreenReader, A11yModule */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ARIA_DESCRIBER_PROVIDER_FACTORY\", function() { return ARIA_DESCRIBER_PROVIDER_FACTORY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MESSAGES_CONTAINER_ID\", function() { return MESSAGES_CONTAINER_ID; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CDK_DESCRIBEDBY_ID_PREFIX\", function() { return CDK_DESCRIBEDBY_ID_PREFIX; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CDK_DESCRIBEDBY_HOST_ATTRIBUTE\", function() { return CDK_DESCRIBEDBY_HOST_ATTRIBUTE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AriaDescriber\", function() { return AriaDescriber; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ARIA_DESCRIBER_PROVIDER\", function() { return ARIA_DESCRIBER_PROVIDER; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ActiveDescendantKeyManager\", function() { return ActiveDescendantKeyManager; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FocusKeyManager\", function() { return FocusKeyManager; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ListKeyManager\", function() { return ListKeyManager; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FocusTrap\", function() { return FocusTrap; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FocusTrapFactory\", function() { return FocusTrapFactory; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CdkTrapFocus\", function() { return CdkTrapFocus; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"InteractivityChecker\", function() { return InteractivityChecker; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LIVE_ANNOUNCER_PROVIDER_FACTORY\", function() { return LIVE_ANNOUNCER_PROVIDER_FACTORY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LiveAnnouncer\", function() { return LiveAnnouncer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CdkAriaLive\", function() { return CdkAriaLive; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LIVE_ANNOUNCER_PROVIDER\", function() { return LIVE_ANNOUNCER_PROVIDER; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LIVE_ANNOUNCER_ELEMENT_TOKEN_FACTORY\", function() { return LIVE_ANNOUNCER_ELEMENT_TOKEN_FACTORY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LIVE_ANNOUNCER_ELEMENT_TOKEN\", function() { return LIVE_ANNOUNCER_ELEMENT_TOKEN; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LIVE_ANNOUNCER_DEFAULT_OPTIONS\", function() { return LIVE_ANNOUNCER_DEFAULT_OPTIONS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FOCUS_MONITOR_PROVIDER_FACTORY\", function() { return FOCUS_MONITOR_PROVIDER_FACTORY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TOUCH_BUFFER_MS\", function() { return TOUCH_BUFFER_MS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FocusMonitor\", function() { return FocusMonitor; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CdkMonitorFocus\", function() { return CdkMonitorFocus; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FOCUS_MONITOR_PROVIDER\", function() { return FOCUS_MONITOR_PROVIDER; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isFakeMousedownFromScreenReader\", function() { return isFakeMousedownFromScreenReader; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"A11yModule\", function() { return A11yModule; });\n/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/common */ \"./node_modules/@angular/common/fesm2015/common.js\");\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ \"./node_modules/rxjs/_esm2015/index.js\");\n/* harmony import */ var _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/cdk/keycodes */ \"./node_modules/@angular/cdk/esm2015/keycodes.js\");\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ \"./node_modules/rxjs/_esm2015/operators/index.js\");\n/* harmony import */ var _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/cdk/platform */ \"./node_modules/@angular/cdk/esm2015/platform.js\");\n/* harmony import */ var _angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/cdk/coercion */ \"./node_modules/@angular/cdk/esm2015/coercion.js\");\n/* harmony import */ var _angular_cdk_observers__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/cdk/observers */ \"./node_modules/@angular/cdk/esm2015/observers.js\");\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\n\n\n\n\n\n\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * IDs are deliminated by an empty space, as per the spec.\n * @type {?}\n */\nconst ID_DELIMINATOR = ' ';\n/**\n * Adds the given ID to the specified ARIA attribute on an element.\n * Used for attributes such as aria-labelledby, aria-owns, etc.\n * @param {?} el\n * @param {?} attr\n * @param {?} id\n * @return {?}\n */\nfunction addAriaReferencedId(el, attr, id) {\n    /** @type {?} */\n    const ids = getAriaReferenceIds(el, attr);\n    if (ids.some((/**\n     * @param {?} existingId\n     * @return {?}\n     */\n    existingId => existingId.trim() == id.trim()))) {\n        return;\n    }\n    ids.push(id.trim());\n    el.setAttribute(attr, ids.join(ID_DELIMINATOR));\n}\n/**\n * Removes the given ID from the specified ARIA attribute on an element.\n * Used for attributes such as aria-labelledby, aria-owns, etc.\n * @param {?} el\n * @param {?} attr\n * @param {?} id\n * @return {?}\n */\nfunction removeAriaReferencedId(el, attr, id) {\n    /** @type {?} */\n    const ids = getAriaReferenceIds(el, attr);\n    /** @type {?} */\n    const filteredIds = ids.filter((/**\n     * @param {?} val\n     * @return {?}\n     */\n    val => val != id.trim()));\n    if (filteredIds.length) {\n        el.setAttribute(attr, filteredIds.join(ID_DELIMINATOR));\n    }\n    else {\n        el.removeAttribute(attr);\n    }\n}\n/**\n * Gets the list of IDs referenced by the given ARIA attribute on an element.\n * Used for attributes such as aria-labelledby, aria-owns, etc.\n * @param {?} el\n * @param {?} attr\n * @return {?}\n */\nfunction getAriaReferenceIds(el, attr) {\n    // Get string array of all individual ids (whitespace deliminated) in the attribute value\n    return (el.getAttribute(attr) || '').match(/\\S+/g) || [];\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * ID used for the body container where all messages are appended.\n * @type {?}\n */\nconst MESSAGES_CONTAINER_ID = 'cdk-describedby-message-container';\n/**\n * ID prefix used for each created message element.\n * @type {?}\n */\nconst CDK_DESCRIBEDBY_ID_PREFIX = 'cdk-describedby-message';\n/**\n * Attribute given to each host element that is described by a message element.\n * @type {?}\n */\nconst CDK_DESCRIBEDBY_HOST_ATTRIBUTE = 'cdk-describedby-host';\n/**\n * Global incremental identifier for each registered message element.\n * @type {?}\n */\nlet nextId = 0;\n/**\n * Global map of all registered message elements that have been placed into the document.\n * @type {?}\n */\nconst messageRegistry = new Map();\n/**\n * Container for all registered messages.\n * @type {?}\n */\nlet messagesContainer = null;\n/**\n * Utility that creates visually hidden elements with a message content. Useful for elements that\n * want to use aria-describedby to further describe themselves without adding additional visual\n * content.\n */\nclass AriaDescriber {\n    /**\n     * @param {?} _document\n     */\n    constructor(_document) {\n        this._document = _document;\n    }\n    /**\n     * Adds to the host element an aria-describedby reference to a hidden element that contains\n     * the message. If the same message has already been registered, then it will reuse the created\n     * message element.\n     * @param {?} hostElement\n     * @param {?} message\n     * @return {?}\n     */\n    describe(hostElement, message) {\n        if (!this._canBeDescribed(hostElement, message)) {\n            return;\n        }\n        if (typeof message !== 'string') {\n            // We need to ensure that the element has an ID.\n            this._setMessageId(message);\n            messageRegistry.set(message, { messageElement: message, referenceCount: 0 });\n        }\n        else if (!messageRegistry.has(message)) {\n            this._createMessageElement(message);\n        }\n        if (!this._isElementDescribedByMessage(hostElement, message)) {\n            this._addMessageReference(hostElement, message);\n        }\n    }\n    /**\n     * Removes the host element's aria-describedby reference to the message element.\n     * @param {?} hostElement\n     * @param {?} message\n     * @return {?}\n     */\n    removeDescription(hostElement, message) {\n        if (!this._isElementNode(hostElement)) {\n            return;\n        }\n        if (this._isElementDescribedByMessage(hostElement, message)) {\n            this._removeMessageReference(hostElement, message);\n        }\n        // If the message is a string, it means that it's one that we created for the\n        // consumer so we can remove it safely, otherwise we should leave it in place.\n        if (typeof message === 'string') {\n            /** @type {?} */\n            const registeredMessage = messageRegistry.get(message);\n            if (registeredMessage && registeredMessage.referenceCount === 0) {\n                this._deleteMessageElement(message);\n            }\n        }\n        if (messagesContainer && messagesContainer.childNodes.length === 0) {\n            this._deleteMessagesContainer();\n        }\n    }\n    /**\n     * Unregisters all created message elements and removes the message container.\n     * @return {?}\n     */\n    ngOnDestroy() {\n        /** @type {?} */\n        const describedElements = this._document.querySelectorAll(`[${CDK_DESCRIBEDBY_HOST_ATTRIBUTE}]`);\n        for (let i = 0; i < describedElements.length; i++) {\n            this._removeCdkDescribedByReferenceIds(describedElements[i]);\n            describedElements[i].removeAttribute(CDK_DESCRIBEDBY_HOST_ATTRIBUTE);\n        }\n        if (messagesContainer) {\n            this._deleteMessagesContainer();\n        }\n        messageRegistry.clear();\n    }\n    /**\n     * Creates a new element in the visually hidden message container element with the message\n     * as its content and adds it to the message registry.\n     * @private\n     * @param {?} message\n     * @return {?}\n     */\n    _createMessageElement(message) {\n        /** @type {?} */\n        const messageElement = this._document.createElement('div');\n        this._setMessageId(messageElement);\n        messageElement.textContent = message;\n        this._createMessagesContainer();\n        (/** @type {?} */ (messagesContainer)).appendChild(messageElement);\n        messageRegistry.set(message, { messageElement, referenceCount: 0 });\n    }\n    /**\n     * Assigns a unique ID to an element, if it doesn't have one already.\n     * @private\n     * @param {?} element\n     * @return {?}\n     */\n    _setMessageId(element) {\n        if (!element.id) {\n            element.id = `${CDK_DESCRIBEDBY_ID_PREFIX}-${nextId++}`;\n        }\n    }\n    /**\n     * Deletes the message element from the global messages container.\n     * @private\n     * @param {?} message\n     * @return {?}\n     */\n    _deleteMessageElement(message) {\n        /** @type {?} */\n        const registeredMessage = messageRegistry.get(message);\n        /** @type {?} */\n        const messageElement = registeredMessage && registeredMessage.messageElement;\n        if (messagesContainer && messageElement) {\n            messagesContainer.removeChild(messageElement);\n        }\n        messageRegistry.delete(message);\n    }\n    /**\n     * Creates the global container for all aria-describedby messages.\n     * @private\n     * @return {?}\n     */\n    _createMessagesContainer() {\n        if (!messagesContainer) {\n            /** @type {?} */\n            const preExistingContainer = this._document.getElementById(MESSAGES_CONTAINER_ID);\n            // When going from the server to the client, we may end up in a situation where there's\n            // already a container on the page, but we don't have a reference to it. Clear the\n            // old container so we don't get duplicates. Doing this, instead of emptying the previous\n            // container, should be slightly faster.\n            if (preExistingContainer) {\n                (/** @type {?} */ (preExistingContainer.parentNode)).removeChild(preExistingContainer);\n            }\n            messagesContainer = this._document.createElement('div');\n            messagesContainer.id = MESSAGES_CONTAINER_ID;\n            messagesContainer.setAttribute('aria-hidden', 'true');\n            messagesContainer.style.display = 'none';\n            this._document.body.appendChild(messagesContainer);\n        }\n    }\n    /**\n     * Deletes the global messages container.\n     * @private\n     * @return {?}\n     */\n    _deleteMessagesContainer() {\n        if (messagesContainer && messagesContainer.parentNode) {\n            messagesContainer.parentNode.removeChild(messagesContainer);\n            messagesContainer = null;\n        }\n    }\n    /**\n     * Removes all cdk-describedby messages that are hosted through the element.\n     * @private\n     * @param {?} element\n     * @return {?}\n     */\n    _removeCdkDescribedByReferenceIds(element) {\n        // Remove all aria-describedby reference IDs that are prefixed by CDK_DESCRIBEDBY_ID_PREFIX\n        /** @type {?} */\n        const originalReferenceIds = getAriaReferenceIds(element, 'aria-describedby')\n            .filter((/**\n         * @param {?} id\n         * @return {?}\n         */\n        id => id.indexOf(CDK_DESCRIBEDBY_ID_PREFIX) != 0));\n        element.setAttribute('aria-describedby', originalReferenceIds.join(' '));\n    }\n    /**\n     * Adds a message reference to the element using aria-describedby and increments the registered\n     * message's reference count.\n     * @private\n     * @param {?} element\n     * @param {?} message\n     * @return {?}\n     */\n    _addMessageReference(element, message) {\n        /** @type {?} */\n        const registeredMessage = (/** @type {?} */ (messageRegistry.get(message)));\n        // Add the aria-describedby reference and set the\n        // describedby_host attribute to mark the element.\n        addAriaReferencedId(element, 'aria-describedby', registeredMessage.messageElement.id);\n        element.setAttribute(CDK_DESCRIBEDBY_HOST_ATTRIBUTE, '');\n        registeredMessage.referenceCount++;\n    }\n    /**\n     * Removes a message reference from the element using aria-describedby\n     * and decrements the registered message's reference count.\n     * @private\n     * @param {?} element\n     * @param {?} message\n     * @return {?}\n     */\n    _removeMessageReference(element, message) {\n        /** @type {?} */\n        const registeredMessage = (/** @type {?} */ (messageRegistry.get(message)));\n        registeredMessage.referenceCount--;\n        removeAriaReferencedId(element, 'aria-describedby', registeredMessage.messageElement.id);\n        element.removeAttribute(CDK_DESCRIBEDBY_HOST_ATTRIBUTE);\n    }\n    /**\n     * Returns true if the element has been described by the provided message ID.\n     * @private\n     * @param {?} element\n     * @param {?} message\n     * @return {?}\n     */\n    _isElementDescribedByMessage(element, message) {\n        /** @type {?} */\n        const referenceIds = getAriaReferenceIds(element, 'aria-describedby');\n        /** @type {?} */\n        const registeredMessage = messageRegistry.get(message);\n        /** @type {?} */\n        const messageId = registeredMessage && registeredMessage.messageElement.id;\n        return !!messageId && referenceIds.indexOf(messageId) != -1;\n    }\n    /**\n     * Determines whether a message can be described on a particular element.\n     * @private\n     * @param {?} element\n     * @param {?} message\n     * @return {?}\n     */\n    _canBeDescribed(element, message) {\n        if (!this._isElementNode(element)) {\n            return false;\n        }\n        if (message && typeof message === 'object') {\n            // We'd have to make some assumptions about the description element's text, if the consumer\n            // passed in an element. Assume that if an element is passed in, the consumer has verified\n            // that it can be used as a description.\n            return true;\n        }\n        /** @type {?} */\n        const trimmedMessage = message == null ? '' : `${message}`.trim();\n        /** @type {?} */\n        const ariaLabel = element.getAttribute('aria-label');\n        // We shouldn't set descriptions if they're exactly the same as the `aria-label` of the\n        // element, because screen readers will end up reading out the same text twice in a row.\n        return trimmedMessage ? (!ariaLabel || ariaLabel.trim() !== trimmedMessage) : false;\n    }\n    /**\n     * Checks whether a node is an Element node.\n     * @private\n     * @param {?} element\n     * @return {?}\n     */\n    _isElementNode(element) {\n        return element.nodeType === this._document.ELEMENT_NODE;\n    }\n}\nAriaDescriber.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */\nAriaDescriber.ctorParameters = () => [\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"],] }] }\n];\n/** @nocollapse */ AriaDescriber.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵdefineInjectable\"])({ factory: function AriaDescriber_Factory() { return new AriaDescriber(Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"])); }, token: AriaDescriber, providedIn: \"root\" });\n/**\n * \\@docs-private \\@deprecated \\@breaking-change 8.0.0\n * @param {?} parentDispatcher\n * @param {?} _document\n * @return {?}\n */\nfunction ARIA_DESCRIBER_PROVIDER_FACTORY(parentDispatcher, _document) {\n    return parentDispatcher || new AriaDescriber(_document);\n}\n/**\n * \\@docs-private \\@deprecated \\@breaking-change 8.0.0\n * @type {?}\n */\nconst ARIA_DESCRIBER_PROVIDER = {\n    // If there is already an AriaDescriber available, use that. Otherwise, provide a new one.\n    provide: AriaDescriber,\n    deps: [\n        [new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"](), new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"SkipSelf\"](), AriaDescriber],\n        (/** @type {?} */ (_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"]))\n    ],\n    useFactory: ARIA_DESCRIBER_PROVIDER_FACTORY\n};\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * This class manages keyboard events for selectable lists. If you pass it a query list\n * of items, it will set the active item correctly when arrow events occur.\n * @template T\n */\nclass ListKeyManager {\n    /**\n     * @param {?} _items\n     */\n    constructor(_items) {\n        this._items = _items;\n        this._activeItemIndex = -1;\n        this._activeItem = null;\n        this._wrap = false;\n        this._letterKeyStream = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Subject\"]();\n        this._typeaheadSubscription = rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Subscription\"].EMPTY;\n        this._vertical = true;\n        this._allowedModifierKeys = [];\n        /**\n         * Predicate function that can be used to check whether an item should be skipped\n         * by the key manager. By default, disabled items are skipped.\n         */\n        this._skipPredicateFn = (/**\n         * @param {?} item\n         * @return {?}\n         */\n        (item) => item.disabled);\n        // Buffer for the letters that the user has pressed when the typeahead option is turned on.\n        this._pressedLetters = [];\n        /**\n         * Stream that emits any time the TAB key is pressed, so components can react\n         * when focus is shifted off of the list.\n         */\n        this.tabOut = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Subject\"]();\n        /**\n         * Stream that emits whenever the active item of the list manager changes.\n         */\n        this.change = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Subject\"]();\n        // We allow for the items to be an array because, in some cases, the consumer may\n        // not have access to a QueryList of the items they want to manage (e.g. when the\n        // items aren't being collected via `ViewChildren` or `ContentChildren`).\n        if (_items instanceof _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"QueryList\"]) {\n            _items.changes.subscribe((/**\n             * @param {?} newItems\n             * @return {?}\n             */\n            (newItems) => {\n                if (this._activeItem) {\n                    /** @type {?} */\n                    const itemArray = newItems.toArray();\n                    /** @type {?} */\n                    const newIndex = itemArray.indexOf(this._activeItem);\n                    if (newIndex > -1 && newIndex !== this._activeItemIndex) {\n                        this._activeItemIndex = newIndex;\n                    }\n                }\n            }));\n        }\n    }\n    /**\n     * Sets the predicate function that determines which items should be skipped by the\n     * list key manager.\n     * @template THIS\n     * @this {THIS}\n     * @param {?} predicate Function that determines whether the given item should be skipped.\n     * @return {THIS}\n     */\n    skipPredicate(predicate) {\n        (/** @type {?} */ (this))._skipPredicateFn = predicate;\n        return (/** @type {?} */ (this));\n    }\n    /**\n     * Configures wrapping mode, which determines whether the active item will wrap to\n     * the other end of list when there are no more items in the given direction.\n     * @template THIS\n     * @this {THIS}\n     * @param {?=} shouldWrap Whether the list should wrap when reaching the end.\n     * @return {THIS}\n     */\n    withWrap(shouldWrap = true) {\n        (/** @type {?} */ (this))._wrap = shouldWrap;\n        return (/** @type {?} */ (this));\n    }\n    /**\n     * Configures whether the key manager should be able to move the selection vertically.\n     * @template THIS\n     * @this {THIS}\n     * @param {?=} enabled Whether vertical selection should be enabled.\n     * @return {THIS}\n     */\n    withVerticalOrientation(enabled = true) {\n        (/** @type {?} */ (this))._vertical = enabled;\n        return (/** @type {?} */ (this));\n    }\n    /**\n     * Configures the key manager to move the selection horizontally.\n     * Passing in `null` will disable horizontal movement.\n     * @template THIS\n     * @this {THIS}\n     * @param {?} direction Direction in which the selection can be moved.\n     * @return {THIS}\n     */\n    withHorizontalOrientation(direction) {\n        (/** @type {?} */ (this))._horizontal = direction;\n        return (/** @type {?} */ (this));\n    }\n    /**\n     * Modifier keys which are allowed to be held down and whose default actions will be prevented\n     * as the user is pressing the arrow keys. Defaults to not allowing any modifier keys.\n     * @template THIS\n     * @this {THIS}\n     * @param {?} keys\n     * @return {THIS}\n     */\n    withAllowedModifierKeys(keys) {\n        (/** @type {?} */ (this))._allowedModifierKeys = keys;\n        return (/** @type {?} */ (this));\n    }\n    /**\n     * Turns on typeahead mode which allows users to set the active item by typing.\n     * @template THIS\n     * @this {THIS}\n     * @param {?=} debounceInterval Time to wait after the last keystroke before setting the active item.\n     * @return {THIS}\n     */\n    withTypeAhead(debounceInterval = 200) {\n        if ((/** @type {?} */ (this))._items.length && (/** @type {?} */ (this))._items.some((/**\n         * @param {?} item\n         * @return {?}\n         */\n        item => typeof item.getLabel !== 'function'))) {\n            throw Error('ListKeyManager items in typeahead mode must implement the `getLabel` method.');\n        }\n        (/** @type {?} */ (this))._typeaheadSubscription.unsubscribe();\n        // Debounce the presses of non-navigational keys, collect the ones that correspond to letters\n        // and convert those letters back into a string. Afterwards find the first item that starts\n        // with that string and select it.\n        (/** @type {?} */ (this))._typeaheadSubscription = (/** @type {?} */ (this))._letterKeyStream.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"tap\"])((/**\n         * @param {?} keyCode\n         * @return {?}\n         */\n        keyCode => (/** @type {?} */ (this))._pressedLetters.push(keyCode))), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"debounceTime\"])(debounceInterval), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"filter\"])((/**\n         * @return {?}\n         */\n        () => (/** @type {?} */ (this))._pressedLetters.length > 0)), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"map\"])((/**\n         * @return {?}\n         */\n        () => (/** @type {?} */ (this))._pressedLetters.join('')))).subscribe((/**\n         * @param {?} inputString\n         * @return {?}\n         */\n        inputString => {\n            /** @type {?} */\n            const items = (/** @type {?} */ (this))._getItemsArray();\n            // Start at 1 because we want to start searching at the item immediately\n            // following the current active item.\n            for (let i = 1; i < items.length + 1; i++) {\n                /** @type {?} */\n                const index = ((/** @type {?} */ (this))._activeItemIndex + i) % items.length;\n                /** @type {?} */\n                const item = items[index];\n                if (!(/** @type {?} */ (this))._skipPredicateFn(item) &&\n                    (/** @type {?} */ (item.getLabel))().toUpperCase().trim().indexOf(inputString) === 0) {\n                    (/** @type {?} */ (this)).setActiveItem(index);\n                    break;\n                }\n            }\n            (/** @type {?} */ (this))._pressedLetters = [];\n        }));\n        return (/** @type {?} */ (this));\n    }\n    /**\n     * @param {?} item\n     * @return {?}\n     */\n    setActiveItem(item) {\n        /** @type {?} */\n        const previousIndex = this._activeItemIndex;\n        this.updateActiveItem(item);\n        if (this._activeItemIndex !== previousIndex) {\n            this.change.next(this._activeItemIndex);\n        }\n    }\n    /**\n     * Sets the active item depending on the key event passed in.\n     * @param {?} event Keyboard event to be used for determining which element should be active.\n     * @return {?}\n     */\n    onKeydown(event) {\n        /** @type {?} */\n        const keyCode = event.keyCode;\n        /** @type {?} */\n        const modifiers = ['altKey', 'ctrlKey', 'metaKey', 'shiftKey'];\n        /** @type {?} */\n        const isModifierAllowed = modifiers.every((/**\n         * @param {?} modifier\n         * @return {?}\n         */\n        modifier => {\n            return !event[modifier] || this._allowedModifierKeys.indexOf(modifier) > -1;\n        }));\n        switch (keyCode) {\n            case _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_3__[\"TAB\"]:\n                this.tabOut.next();\n                return;\n            case _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_3__[\"DOWN_ARROW\"]:\n                if (this._vertical && isModifierAllowed) {\n                    this.setNextItemActive();\n                    break;\n                }\n                else {\n                    return;\n                }\n            case _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_3__[\"UP_ARROW\"]:\n                if (this._vertical && isModifierAllowed) {\n                    this.setPreviousItemActive();\n                    break;\n                }\n                else {\n                    return;\n                }\n            case _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_3__[\"RIGHT_ARROW\"]:\n                if (this._horizontal && isModifierAllowed) {\n                    this._horizontal === 'rtl' ? this.setPreviousItemActive() : this.setNextItemActive();\n                    break;\n                }\n                else {\n                    return;\n                }\n            case _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_3__[\"LEFT_ARROW\"]:\n                if (this._horizontal && isModifierAllowed) {\n                    this._horizontal === 'rtl' ? this.setNextItemActive() : this.setPreviousItemActive();\n                    break;\n                }\n                else {\n                    return;\n                }\n            default:\n                if (isModifierAllowed || Object(_angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_3__[\"hasModifierKey\"])(event, 'shiftKey')) {\n                    // Attempt to use the `event.key` which also maps it to the user's keyboard language,\n                    // otherwise fall back to resolving alphanumeric characters via the keyCode.\n                    if (event.key && event.key.length === 1) {\n                        this._letterKeyStream.next(event.key.toLocaleUpperCase());\n                    }\n                    else if ((keyCode >= _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_3__[\"A\"] && keyCode <= _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_3__[\"Z\"]) || (keyCode >= _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_3__[\"ZERO\"] && keyCode <= _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_3__[\"NINE\"])) {\n                        this._letterKeyStream.next(String.fromCharCode(keyCode));\n                    }\n                }\n                // Note that we return here, in order to avoid preventing\n                // the default action of non-navigational keys.\n                return;\n        }\n        this._pressedLetters = [];\n        event.preventDefault();\n    }\n    /**\n     * Index of the currently active item.\n     * @return {?}\n     */\n    get activeItemIndex() {\n        return this._activeItemIndex;\n    }\n    /**\n     * The active item.\n     * @return {?}\n     */\n    get activeItem() {\n        return this._activeItem;\n    }\n    /**\n     * Sets the active item to the first enabled item in the list.\n     * @return {?}\n     */\n    setFirstItemActive() {\n        this._setActiveItemByIndex(0, 1);\n    }\n    /**\n     * Sets the active item to the last enabled item in the list.\n     * @return {?}\n     */\n    setLastItemActive() {\n        this._setActiveItemByIndex(this._items.length - 1, -1);\n    }\n    /**\n     * Sets the active item to the next enabled item in the list.\n     * @return {?}\n     */\n    setNextItemActive() {\n        this._activeItemIndex < 0 ? this.setFirstItemActive() : this._setActiveItemByDelta(1);\n    }\n    /**\n     * Sets the active item to a previous enabled item in the list.\n     * @return {?}\n     */\n    setPreviousItemActive() {\n        this._activeItemIndex < 0 && this._wrap ? this.setLastItemActive()\n            : this._setActiveItemByDelta(-1);\n    }\n    /**\n     * @param {?} item\n     * @return {?}\n     */\n    updateActiveItem(item) {\n        /** @type {?} */\n        const itemArray = this._getItemsArray();\n        /** @type {?} */\n        const index = typeof item === 'number' ? item : itemArray.indexOf(item);\n        /** @type {?} */\n        const activeItem = itemArray[index];\n        // Explicitly check for `null` and `undefined` because other falsy values are valid.\n        this._activeItem = activeItem == null ? null : activeItem;\n        this._activeItemIndex = index;\n    }\n    /**\n     * Allows setting of the activeItemIndex without any other effects.\n     * @deprecated Use `updateActiveItem` instead.\n     * \\@breaking-change 8.0.0\n     * @param {?} index The new activeItemIndex.\n     * @return {?}\n     */\n    updateActiveItemIndex(index) {\n        this.updateActiveItem(index);\n    }\n    /**\n     * This method sets the active item, given a list of items and the delta between the\n     * currently active item and the new active item. It will calculate differently\n     * depending on whether wrap mode is turned on.\n     * @private\n     * @param {?} delta\n     * @return {?}\n     */\n    _setActiveItemByDelta(delta) {\n        this._wrap ? this._setActiveInWrapMode(delta) : this._setActiveInDefaultMode(delta);\n    }\n    /**\n     * Sets the active item properly given \"wrap\" mode. In other words, it will continue to move\n     * down the list until it finds an item that is not disabled, and it will wrap if it\n     * encounters either end of the list.\n     * @private\n     * @param {?} delta\n     * @return {?}\n     */\n    _setActiveInWrapMode(delta) {\n        /** @type {?} */\n        const items = this._getItemsArray();\n        for (let i = 1; i <= items.length; i++) {\n            /** @type {?} */\n            const index = (this._activeItemIndex + (delta * i) + items.length) % items.length;\n            /** @type {?} */\n            const item = items[index];\n            if (!this._skipPredicateFn(item)) {\n                this.setActiveItem(index);\n                return;\n            }\n        }\n    }\n    /**\n     * Sets the active item properly given the default mode. In other words, it will\n     * continue to move down the list until it finds an item that is not disabled. If\n     * it encounters either end of the list, it will stop and not wrap.\n     * @private\n     * @param {?} delta\n     * @return {?}\n     */\n    _setActiveInDefaultMode(delta) {\n        this._setActiveItemByIndex(this._activeItemIndex + delta, delta);\n    }\n    /**\n     * Sets the active item to the first enabled item starting at the index specified. If the\n     * item is disabled, it will move in the fallbackDelta direction until it either\n     * finds an enabled item or encounters the end of the list.\n     * @private\n     * @param {?} index\n     * @param {?} fallbackDelta\n     * @return {?}\n     */\n    _setActiveItemByIndex(index, fallbackDelta) {\n        /** @type {?} */\n        const items = this._getItemsArray();\n        if (!items[index]) {\n            return;\n        }\n        while (this._skipPredicateFn(items[index])) {\n            index += fallbackDelta;\n            if (!items[index]) {\n                return;\n            }\n        }\n        this.setActiveItem(index);\n    }\n    /**\n     * Returns the items as an array.\n     * @private\n     * @return {?}\n     */\n    _getItemsArray() {\n        return this._items instanceof _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"QueryList\"] ? this._items.toArray() : this._items;\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @template T\n */\nclass ActiveDescendantKeyManager extends ListKeyManager {\n    /**\n     * @param {?} index\n     * @return {?}\n     */\n    setActiveItem(index) {\n        if (this.activeItem) {\n            this.activeItem.setInactiveStyles();\n        }\n        super.setActiveItem(index);\n        if (this.activeItem) {\n            this.activeItem.setActiveStyles();\n        }\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @template T\n */\nclass FocusKeyManager extends ListKeyManager {\n    constructor() {\n        super(...arguments);\n        this._origin = 'program';\n    }\n    /**\n     * Sets the focus origin that will be passed in to the items for any subsequent `focus` calls.\n     * @template THIS\n     * @this {THIS}\n     * @param {?} origin Focus origin to be used when focusing items.\n     * @return {THIS}\n     */\n    setFocusOrigin(origin) {\n        (/** @type {?} */ (this))._origin = origin;\n        return (/** @type {?} */ (this));\n    }\n    /**\n     * @param {?} item\n     * @return {?}\n     */\n    setActiveItem(item) {\n        super.setActiveItem(item);\n        if (this.activeItem) {\n            this.activeItem.focus(this._origin);\n        }\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n// The InteractivityChecker leans heavily on the ally.js accessibility utilities.\n// Methods like `isTabbable` are only covering specific edge-cases for the browsers which are\n// supported.\n/**\n * Utility for checking the interactivity of an element, such as whether is is focusable or\n * tabbable.\n */\nclass InteractivityChecker {\n    /**\n     * @param {?} _platform\n     */\n    constructor(_platform) {\n        this._platform = _platform;\n    }\n    /**\n     * Gets whether an element is disabled.\n     *\n     * @param {?} element Element to be checked.\n     * @return {?} Whether the element is disabled.\n     */\n    isDisabled(element) {\n        // This does not capture some cases, such as a non-form control with a disabled attribute or\n        // a form control inside of a disabled form, but should capture the most common cases.\n        return element.hasAttribute('disabled');\n    }\n    /**\n     * Gets whether an element is visible for the purposes of interactivity.\n     *\n     * This will capture states like `display: none` and `visibility: hidden`, but not things like\n     * being clipped by an `overflow: hidden` parent or being outside the viewport.\n     *\n     * @param {?} element\n     * @return {?} Whether the element is visible.\n     */\n    isVisible(element) {\n        return hasGeometry(element) && getComputedStyle(element).visibility === 'visible';\n    }\n    /**\n     * Gets whether an element can be reached via Tab key.\n     * Assumes that the element has already been checked with isFocusable.\n     *\n     * @param {?} element Element to be checked.\n     * @return {?} Whether the element is tabbable.\n     */\n    isTabbable(element) {\n        // Nothing is tabbable on the server 😎\n        if (!this._platform.isBrowser) {\n            return false;\n        }\n        /** @type {?} */\n        const frameElement = getFrameElement(getWindow(element));\n        if (frameElement) {\n            /** @type {?} */\n            const frameType = frameElement && frameElement.nodeName.toLowerCase();\n            // Frame elements inherit their tabindex onto all child elements.\n            if (getTabIndexValue(frameElement) === -1) {\n                return false;\n            }\n            // Webkit and Blink consider anything inside of an <object> element as non-tabbable.\n            if ((this._platform.BLINK || this._platform.WEBKIT) && frameType === 'object') {\n                return false;\n            }\n            // Webkit and Blink disable tabbing to an element inside of an invisible frame.\n            if ((this._platform.BLINK || this._platform.WEBKIT) && !this.isVisible(frameElement)) {\n                return false;\n            }\n        }\n        /** @type {?} */\n        let nodeName = element.nodeName.toLowerCase();\n        /** @type {?} */\n        let tabIndexValue = getTabIndexValue(element);\n        if (element.hasAttribute('contenteditable')) {\n            return tabIndexValue !== -1;\n        }\n        if (nodeName === 'iframe') {\n            // The frames may be tabbable depending on content, but it's not possibly to reliably\n            // investigate the content of the frames.\n            return false;\n        }\n        if (nodeName === 'audio') {\n            if (!element.hasAttribute('controls')) {\n                // By default an <audio> element without the controls enabled is not tabbable.\n                return false;\n            }\n            else if (this._platform.BLINK) {\n                // In Blink <audio controls> elements are always tabbable.\n                return true;\n            }\n        }\n        if (nodeName === 'video') {\n            if (!element.hasAttribute('controls') && this._platform.TRIDENT) {\n                // In Trident a <video> element without the controls enabled is not tabbable.\n                return false;\n            }\n            else if (this._platform.BLINK || this._platform.FIREFOX) {\n                // In Chrome and Firefox <video controls> elements are always tabbable.\n                return true;\n            }\n        }\n        if (nodeName === 'object' && (this._platform.BLINK || this._platform.WEBKIT)) {\n            // In all Blink and WebKit based browsers <object> elements are never tabbable.\n            return false;\n        }\n        // In iOS the browser only considers some specific elements as tabbable.\n        if (this._platform.WEBKIT && this._platform.IOS && !isPotentiallyTabbableIOS(element)) {\n            return false;\n        }\n        return element.tabIndex >= 0;\n    }\n    /**\n     * Gets whether an element can be focused by the user.\n     *\n     * @param {?} element Element to be checked.\n     * @return {?} Whether the element is focusable.\n     */\n    isFocusable(element) {\n        // Perform checks in order of left to most expensive.\n        // Again, naive approach that does not capture many edge cases and browser quirks.\n        return isPotentiallyFocusable(element) && !this.isDisabled(element) && this.isVisible(element);\n    }\n}\nInteractivityChecker.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */\nInteractivityChecker.ctorParameters = () => [\n    { type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_5__[\"Platform\"] }\n];\n/** @nocollapse */ InteractivityChecker.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵdefineInjectable\"])({ factory: function InteractivityChecker_Factory() { return new InteractivityChecker(Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_5__[\"Platform\"])); }, token: InteractivityChecker, providedIn: \"root\" });\n/**\n * Returns the frame element from a window object. Since browsers like MS Edge throw errors if\n * the frameElement property is being accessed from a different host address, this property\n * should be accessed carefully.\n * @param {?} window\n * @return {?}\n */\nfunction getFrameElement(window) {\n    try {\n        return (/** @type {?} */ (window.frameElement));\n    }\n    catch (_a) {\n        return null;\n    }\n}\n/**\n * Checks whether the specified element has any geometry / rectangles.\n * @param {?} element\n * @return {?}\n */\nfunction hasGeometry(element) {\n    // Use logic from jQuery to check for an invisible element.\n    // See https://github.com/jquery/jquery/blob/master/src/css/hiddenVisibleSelectors.js#L12\n    return !!(element.offsetWidth || element.offsetHeight ||\n        (typeof element.getClientRects === 'function' && element.getClientRects().length));\n}\n/**\n * Gets whether an element's\n * @param {?} element\n * @return {?}\n */\nfunction isNativeFormElement(element) {\n    /** @type {?} */\n    let nodeName = element.nodeName.toLowerCase();\n    return nodeName === 'input' ||\n        nodeName === 'select' ||\n        nodeName === 'button' ||\n        nodeName === 'textarea';\n}\n/**\n * Gets whether an element is an `<input type=\"hidden\">`.\n * @param {?} element\n * @return {?}\n */\nfunction isHiddenInput(element) {\n    return isInputElement(element) && element.type == 'hidden';\n}\n/**\n * Gets whether an element is an anchor that has an href attribute.\n * @param {?} element\n * @return {?}\n */\nfunction isAnchorWithHref(element) {\n    return isAnchorElement(element) && element.hasAttribute('href');\n}\n/**\n * Gets whether an element is an input element.\n * @param {?} element\n * @return {?}\n */\nfunction isInputElement(element) {\n    return element.nodeName.toLowerCase() == 'input';\n}\n/**\n * Gets whether an element is an anchor element.\n * @param {?} element\n * @return {?}\n */\nfunction isAnchorElement(element) {\n    return element.nodeName.toLowerCase() == 'a';\n}\n/**\n * Gets whether an element has a valid tabindex.\n * @param {?} element\n * @return {?}\n */\nfunction hasValidTabIndex(element) {\n    if (!element.hasAttribute('tabindex') || element.tabIndex === undefined) {\n        return false;\n    }\n    /** @type {?} */\n    let tabIndex = element.getAttribute('tabindex');\n    // IE11 parses tabindex=\"\" as the value \"-32768\"\n    if (tabIndex == '-32768') {\n        return false;\n    }\n    return !!(tabIndex && !isNaN(parseInt(tabIndex, 10)));\n}\n/**\n * Returns the parsed tabindex from the element attributes instead of returning the\n * evaluated tabindex from the browsers defaults.\n * @param {?} element\n * @return {?}\n */\nfunction getTabIndexValue(element) {\n    if (!hasValidTabIndex(element)) {\n        return null;\n    }\n    // See browser issue in Gecko https://bugzilla.mozilla.org/show_bug.cgi?id=1128054\n    /** @type {?} */\n    const tabIndex = parseInt(element.getAttribute('tabindex') || '', 10);\n    return isNaN(tabIndex) ? -1 : tabIndex;\n}\n/**\n * Checks whether the specified element is potentially tabbable on iOS\n * @param {?} element\n * @return {?}\n */\nfunction isPotentiallyTabbableIOS(element) {\n    /** @type {?} */\n    let nodeName = element.nodeName.toLowerCase();\n    /** @type {?} */\n    let inputType = nodeName === 'input' && ((/** @type {?} */ (element))).type;\n    return inputType === 'text'\n        || inputType === 'password'\n        || nodeName === 'select'\n        || nodeName === 'textarea';\n}\n/**\n * Gets whether an element is potentially focusable without taking current visible/disabled state\n * into account.\n * @param {?} element\n * @return {?}\n */\nfunction isPotentiallyFocusable(element) {\n    // Inputs are potentially focusable *unless* they're type=\"hidden\".\n    if (isHiddenInput(element)) {\n        return false;\n    }\n    return isNativeFormElement(element) ||\n        isAnchorWithHref(element) ||\n        element.hasAttribute('contenteditable') ||\n        hasValidTabIndex(element);\n}\n/**\n * Gets the parent window of a DOM node with regards of being inside of an iframe.\n * @param {?} node\n * @return {?}\n */\nfunction getWindow(node) {\n    // ownerDocument is null if `node` itself *is* a document.\n    return node.ownerDocument && node.ownerDocument.defaultView || window;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Class that allows for trapping focus within a DOM element.\n *\n * This class currently uses a relatively simple approach to focus trapping.\n * It assumes that the tab order is the same as DOM order, which is not necessarily true.\n * Things like `tabIndex > 0`, flex `order`, and shadow roots can cause to two to misalign.\n */\nclass FocusTrap {\n    /**\n     * @param {?} _element\n     * @param {?} _checker\n     * @param {?} _ngZone\n     * @param {?} _document\n     * @param {?=} deferAnchors\n     */\n    constructor(_element, _checker, _ngZone, _document, deferAnchors = false) {\n        this._element = _element;\n        this._checker = _checker;\n        this._ngZone = _ngZone;\n        this._document = _document;\n        this._hasAttached = false;\n        // Event listeners for the anchors. Need to be regular functions so that we can unbind them later.\n        this.startAnchorListener = (/**\n         * @return {?}\n         */\n        () => this.focusLastTabbableElement());\n        this.endAnchorListener = (/**\n         * @return {?}\n         */\n        () => this.focusFirstTabbableElement());\n        this._enabled = true;\n        if (!deferAnchors) {\n            this.attachAnchors();\n        }\n    }\n    /**\n     * Whether the focus trap is active.\n     * @return {?}\n     */\n    get enabled() { return this._enabled; }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    set enabled(value) {\n        this._enabled = value;\n        if (this._startAnchor && this._endAnchor) {\n            this._toggleAnchorTabIndex(value, this._startAnchor);\n            this._toggleAnchorTabIndex(value, this._endAnchor);\n        }\n    }\n    /**\n     * Destroys the focus trap by cleaning up the anchors.\n     * @return {?}\n     */\n    destroy() {\n        /** @type {?} */\n        const startAnchor = this._startAnchor;\n        /** @type {?} */\n        const endAnchor = this._endAnchor;\n        if (startAnchor) {\n            startAnchor.removeEventListener('focus', this.startAnchorListener);\n            if (startAnchor.parentNode) {\n                startAnchor.parentNode.removeChild(startAnchor);\n            }\n        }\n        if (endAnchor) {\n            endAnchor.removeEventListener('focus', this.endAnchorListener);\n            if (endAnchor.parentNode) {\n                endAnchor.parentNode.removeChild(endAnchor);\n            }\n        }\n        this._startAnchor = this._endAnchor = null;\n    }\n    /**\n     * Inserts the anchors into the DOM. This is usually done automatically\n     * in the constructor, but can be deferred for cases like directives with `*ngIf`.\n     * @return {?} Whether the focus trap managed to attach successfuly. This may not be the case\n     * if the target element isn't currently in the DOM.\n     */\n    attachAnchors() {\n        // If we're not on the browser, there can be no focus to trap.\n        if (this._hasAttached) {\n            return true;\n        }\n        this._ngZone.runOutsideAngular((/**\n         * @return {?}\n         */\n        () => {\n            if (!this._startAnchor) {\n                this._startAnchor = this._createAnchor();\n                (/** @type {?} */ (this._startAnchor)).addEventListener('focus', this.startAnchorListener);\n            }\n            if (!this._endAnchor) {\n                this._endAnchor = this._createAnchor();\n                (/** @type {?} */ (this._endAnchor)).addEventListener('focus', this.endAnchorListener);\n            }\n        }));\n        if (this._element.parentNode) {\n            this._element.parentNode.insertBefore((/** @type {?} */ (this._startAnchor)), this._element);\n            this._element.parentNode.insertBefore((/** @type {?} */ (this._endAnchor)), this._element.nextSibling);\n            this._hasAttached = true;\n        }\n        return this._hasAttached;\n    }\n    /**\n     * Waits for the zone to stabilize, then either focuses the first element that the\n     * user specified, or the first tabbable element.\n     * @return {?} Returns a promise that resolves with a boolean, depending\n     * on whether focus was moved successfuly.\n     */\n    focusInitialElementWhenReady() {\n        return new Promise((/**\n         * @param {?} resolve\n         * @return {?}\n         */\n        resolve => {\n            this._executeOnStable((/**\n             * @return {?}\n             */\n            () => resolve(this.focusInitialElement())));\n        }));\n    }\n    /**\n     * Waits for the zone to stabilize, then focuses\n     * the first tabbable element within the focus trap region.\n     * @return {?} Returns a promise that resolves with a boolean, depending\n     * on whether focus was moved successfuly.\n     */\n    focusFirstTabbableElementWhenReady() {\n        return new Promise((/**\n         * @param {?} resolve\n         * @return {?}\n         */\n        resolve => {\n            this._executeOnStable((/**\n             * @return {?}\n             */\n            () => resolve(this.focusFirstTabbableElement())));\n        }));\n    }\n    /**\n     * Waits for the zone to stabilize, then focuses\n     * the last tabbable element within the focus trap region.\n     * @return {?} Returns a promise that resolves with a boolean, depending\n     * on whether focus was moved successfuly.\n     */\n    focusLastTabbableElementWhenReady() {\n        return new Promise((/**\n         * @param {?} resolve\n         * @return {?}\n         */\n        resolve => {\n            this._executeOnStable((/**\n             * @return {?}\n             */\n            () => resolve(this.focusLastTabbableElement())));\n        }));\n    }\n    /**\n     * Get the specified boundary element of the trapped region.\n     * @private\n     * @param {?} bound The boundary to get (start or end of trapped region).\n     * @return {?} The boundary element.\n     */\n    _getRegionBoundary(bound) {\n        // Contains the deprecated version of selector, for temporary backwards comparability.\n        /** @type {?} */\n        let markers = (/** @type {?} */ (this._element.querySelectorAll(`[cdk-focus-region-${bound}], ` +\n            `[cdkFocusRegion${bound}], ` +\n            `[cdk-focus-${bound}]`)));\n        for (let i = 0; i < markers.length; i++) {\n            // @breaking-change 8.0.0\n            if (markers[i].hasAttribute(`cdk-focus-${bound}`)) {\n                console.warn(`Found use of deprecated attribute 'cdk-focus-${bound}', ` +\n                    `use 'cdkFocusRegion${bound}' instead. The deprecated ` +\n                    `attribute will be removed in 8.0.0.`, markers[i]);\n            }\n            else if (markers[i].hasAttribute(`cdk-focus-region-${bound}`)) {\n                console.warn(`Found use of deprecated attribute 'cdk-focus-region-${bound}', ` +\n                    `use 'cdkFocusRegion${bound}' instead. The deprecated attribute ` +\n                    `will be removed in 8.0.0.`, markers[i]);\n            }\n        }\n        if (bound == 'start') {\n            return markers.length ? markers[0] : this._getFirstTabbableElement(this._element);\n        }\n        return markers.length ?\n            markers[markers.length - 1] : this._getLastTabbableElement(this._element);\n    }\n    /**\n     * Focuses the element that should be focused when the focus trap is initialized.\n     * @return {?} Whether focus was moved successfuly.\n     */\n    focusInitialElement() {\n        // Contains the deprecated version of selector, for temporary backwards comparability.\n        /** @type {?} */\n        const redirectToElement = (/** @type {?} */ (this._element.querySelector(`[cdk-focus-initial], ` +\n            `[cdkFocusInitial]`)));\n        if (redirectToElement) {\n            // @breaking-change 8.0.0\n            if (redirectToElement.hasAttribute(`cdk-focus-initial`)) {\n                console.warn(`Found use of deprecated attribute 'cdk-focus-initial', ` +\n                    `use 'cdkFocusInitial' instead. The deprecated attribute ` +\n                    `will be removed in 8.0.0`, redirectToElement);\n            }\n            // Warn the consumer if the element they've pointed to\n            // isn't focusable, when not in production mode.\n            if (Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"isDevMode\"])() && !this._checker.isFocusable(redirectToElement)) {\n                console.warn(`Element matching '[cdkFocusInitial]' is not focusable.`, redirectToElement);\n            }\n            redirectToElement.focus();\n            return true;\n        }\n        return this.focusFirstTabbableElement();\n    }\n    /**\n     * Focuses the first tabbable element within the focus trap region.\n     * @return {?} Whether focus was moved successfuly.\n     */\n    focusFirstTabbableElement() {\n        /** @type {?} */\n        const redirectToElement = this._getRegionBoundary('start');\n        if (redirectToElement) {\n            redirectToElement.focus();\n        }\n        return !!redirectToElement;\n    }\n    /**\n     * Focuses the last tabbable element within the focus trap region.\n     * @return {?} Whether focus was moved successfuly.\n     */\n    focusLastTabbableElement() {\n        /** @type {?} */\n        const redirectToElement = this._getRegionBoundary('end');\n        if (redirectToElement) {\n            redirectToElement.focus();\n        }\n        return !!redirectToElement;\n    }\n    /**\n     * Checks whether the focus trap has successfuly been attached.\n     * @return {?}\n     */\n    hasAttached() {\n        return this._hasAttached;\n    }\n    /**\n     * Get the first tabbable element from a DOM subtree (inclusive).\n     * @private\n     * @param {?} root\n     * @return {?}\n     */\n    _getFirstTabbableElement(root) {\n        if (this._checker.isFocusable(root) && this._checker.isTabbable(root)) {\n            return root;\n        }\n        // Iterate in DOM order. Note that IE doesn't have `children` for SVG so we fall\n        // back to `childNodes` which includes text nodes, comments etc.\n        /** @type {?} */\n        let children = root.children || root.childNodes;\n        for (let i = 0; i < children.length; i++) {\n            /** @type {?} */\n            let tabbableChild = children[i].nodeType === this._document.ELEMENT_NODE ?\n                this._getFirstTabbableElement((/** @type {?} */ (children[i]))) :\n                null;\n            if (tabbableChild) {\n                return tabbableChild;\n            }\n        }\n        return null;\n    }\n    /**\n     * Get the last tabbable element from a DOM subtree (inclusive).\n     * @private\n     * @param {?} root\n     * @return {?}\n     */\n    _getLastTabbableElement(root) {\n        if (this._checker.isFocusable(root) && this._checker.isTabbable(root)) {\n            return root;\n        }\n        // Iterate in reverse DOM order.\n        /** @type {?} */\n        let children = root.children || root.childNodes;\n        for (let i = children.length - 1; i >= 0; i--) {\n            /** @type {?} */\n            let tabbableChild = children[i].nodeType === this._document.ELEMENT_NODE ?\n                this._getLastTabbableElement((/** @type {?} */ (children[i]))) :\n                null;\n            if (tabbableChild) {\n                return tabbableChild;\n            }\n        }\n        return null;\n    }\n    /**\n     * Creates an anchor element.\n     * @private\n     * @return {?}\n     */\n    _createAnchor() {\n        /** @type {?} */\n        const anchor = this._document.createElement('div');\n        this._toggleAnchorTabIndex(this._enabled, anchor);\n        anchor.classList.add('cdk-visually-hidden');\n        anchor.classList.add('cdk-focus-trap-anchor');\n        anchor.setAttribute('aria-hidden', 'true');\n        return anchor;\n    }\n    /**\n     * Toggles the `tabindex` of an anchor, based on the enabled state of the focus trap.\n     * @private\n     * @param {?} isEnabled Whether the focus trap is enabled.\n     * @param {?} anchor Anchor on which to toggle the tabindex.\n     * @return {?}\n     */\n    _toggleAnchorTabIndex(isEnabled, anchor) {\n        // Remove the tabindex completely, rather than setting it to -1, because if the\n        // element has a tabindex, the user might still hit it when navigating with the arrow keys.\n        isEnabled ? anchor.setAttribute('tabindex', '0') : anchor.removeAttribute('tabindex');\n    }\n    /**\n     * Executes a function when the zone is stable.\n     * @private\n     * @param {?} fn\n     * @return {?}\n     */\n    _executeOnStable(fn) {\n        if (this._ngZone.isStable) {\n            fn();\n        }\n        else {\n            this._ngZone.onStable.asObservable().pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"take\"])(1)).subscribe(fn);\n        }\n    }\n}\n/**\n * Factory that allows easy instantiation of focus traps.\n */\nclass FocusTrapFactory {\n    /**\n     * @param {?} _checker\n     * @param {?} _ngZone\n     * @param {?} _document\n     */\n    constructor(_checker, _ngZone, _document) {\n        this._checker = _checker;\n        this._ngZone = _ngZone;\n        this._document = _document;\n    }\n    /**\n     * Creates a focus-trapped region around the given element.\n     * @param {?} element The element around which focus will be trapped.\n     * @param {?=} deferCaptureElements Defers the creation of focus-capturing elements to be done\n     *     manually by the user.\n     * @return {?} The created focus trap instance.\n     */\n    create(element, deferCaptureElements = false) {\n        return new FocusTrap(element, this._checker, this._ngZone, this._document, deferCaptureElements);\n    }\n}\nFocusTrapFactory.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */\nFocusTrapFactory.ctorParameters = () => [\n    { type: InteractivityChecker },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgZone\"] },\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"],] }] }\n];\n/** @nocollapse */ FocusTrapFactory.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵdefineInjectable\"])({ factory: function FocusTrapFactory_Factory() { return new FocusTrapFactory(Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(InteractivityChecker), Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgZone\"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"])); }, token: FocusTrapFactory, providedIn: \"root\" });\n/**\n * Directive for trapping focus within a region.\n */\nclass CdkTrapFocus {\n    /**\n     * @param {?} _elementRef\n     * @param {?} _focusTrapFactory\n     * @param {?} _document\n     */\n    constructor(_elementRef, _focusTrapFactory, _document) {\n        this._elementRef = _elementRef;\n        this._focusTrapFactory = _focusTrapFactory;\n        /**\n         * Previously focused element to restore focus to upon destroy when using autoCapture.\n         */\n        this._previouslyFocusedElement = null;\n        this._document = _document;\n        this.focusTrap = this._focusTrapFactory.create(this._elementRef.nativeElement, true);\n    }\n    /**\n     * Whether the focus trap is active.\n     * @return {?}\n     */\n    get enabled() { return this.focusTrap.enabled; }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    set enabled(value) { this.focusTrap.enabled = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_6__[\"coerceBooleanProperty\"])(value); }\n    /**\n     * Whether the directive should automatially move focus into the trapped region upon\n     * initialization and return focus to the previous activeElement upon destruction.\n     * @return {?}\n     */\n    get autoCapture() { return this._autoCapture; }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    set autoCapture(value) { this._autoCapture = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_6__[\"coerceBooleanProperty\"])(value); }\n    /**\n     * @return {?}\n     */\n    ngOnDestroy() {\n        this.focusTrap.destroy();\n        // If we stored a previously focused element when using autoCapture, return focus to that\n        // element now that the trapped region is being destroyed.\n        if (this._previouslyFocusedElement) {\n            this._previouslyFocusedElement.focus();\n            this._previouslyFocusedElement = null;\n        }\n    }\n    /**\n     * @return {?}\n     */\n    ngAfterContentInit() {\n        this.focusTrap.attachAnchors();\n        if (this.autoCapture) {\n            this._previouslyFocusedElement = (/** @type {?} */ (this._document.activeElement));\n            this.focusTrap.focusInitialElementWhenReady();\n        }\n    }\n    /**\n     * @return {?}\n     */\n    ngDoCheck() {\n        if (!this.focusTrap.hasAttached()) {\n            this.focusTrap.attachAnchors();\n        }\n    }\n}\nCdkTrapFocus.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Directive\"], args: [{\n                selector: '[cdkTrapFocus]',\n                exportAs: 'cdkTrapFocus',\n            },] },\n];\n/** @nocollapse */\nCdkTrapFocus.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ElementRef\"] },\n    { type: FocusTrapFactory },\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"],] }] }\n];\nCdkTrapFocus.propDecorators = {\n    enabled: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"], args: ['cdkTrapFocus',] }],\n    autoCapture: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"], args: ['cdkTrapFocusAutoCapture',] }]\n};\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst LIVE_ANNOUNCER_ELEMENT_TOKEN = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"InjectionToken\"]('liveAnnouncerElement', {\n    providedIn: 'root',\n    factory: LIVE_ANNOUNCER_ELEMENT_TOKEN_FACTORY,\n});\n/**\n * \\@docs-private\n * @return {?}\n */\nfunction LIVE_ANNOUNCER_ELEMENT_TOKEN_FACTORY() {\n    return null;\n}\n/**\n * Injection token that can be used to configure the default options for the LiveAnnouncer.\n * @type {?}\n */\nconst LIVE_ANNOUNCER_DEFAULT_OPTIONS = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"InjectionToken\"]('LIVE_ANNOUNCER_DEFAULT_OPTIONS');\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass LiveAnnouncer {\n    /**\n     * @param {?} elementToken\n     * @param {?} _ngZone\n     * @param {?} _document\n     * @param {?=} _defaultOptions\n     */\n    constructor(elementToken, _ngZone, _document, _defaultOptions) {\n        this._ngZone = _ngZone;\n        this._defaultOptions = _defaultOptions;\n        // We inject the live element and document as `any` because the constructor signature cannot\n        // reference browser globals (HTMLElement, Document) on non-browser environments, since having\n        // a class decorator causes TypeScript to preserve the constructor signature types.\n        this._document = _document;\n        this._liveElement = elementToken || this._createLiveElement();\n    }\n    /**\n     * @param {?} message\n     * @param {...?} args\n     * @return {?}\n     */\n    announce(message, ...args) {\n        /** @type {?} */\n        const defaultOptions = this._defaultOptions;\n        /** @type {?} */\n        let politeness;\n        /** @type {?} */\n        let duration;\n        if (args.length === 1 && typeof args[0] === 'number') {\n            duration = args[0];\n        }\n        else {\n            [politeness, duration] = args;\n        }\n        this.clear();\n        clearTimeout(this._previousTimeout);\n        if (!politeness) {\n            politeness =\n                (defaultOptions && defaultOptions.politeness) ? defaultOptions.politeness : 'polite';\n        }\n        if (duration == null && defaultOptions) {\n            duration = defaultOptions.duration;\n        }\n        // TODO: ensure changing the politeness works on all environments we support.\n        this._liveElement.setAttribute('aria-live', politeness);\n        // This 100ms timeout is necessary for some browser + screen-reader combinations:\n        // - Both JAWS and NVDA over IE11 will not announce anything without a non-zero timeout.\n        // - With Chrome and IE11 with NVDA or JAWS, a repeated (identical) message won't be read a\n        //   second time without clearing and then using a non-zero delay.\n        // (using JAWS 17 at time of this writing).\n        return this._ngZone.runOutsideAngular((/**\n         * @return {?}\n         */\n        () => {\n            return new Promise((/**\n             * @param {?} resolve\n             * @return {?}\n             */\n            resolve => {\n                clearTimeout(this._previousTimeout);\n                this._previousTimeout = setTimeout((/**\n                 * @return {?}\n                 */\n                () => {\n                    this._liveElement.textContent = message;\n                    resolve();\n                    if (typeof duration === 'number') {\n                        this._previousTimeout = setTimeout((/**\n                         * @return {?}\n                         */\n                        () => this.clear()), duration);\n                    }\n                }), 100);\n            }));\n        }));\n    }\n    /**\n     * Clears the current text from the announcer element. Can be used to prevent\n     * screen readers from reading the text out again while the user is going\n     * through the page landmarks.\n     * @return {?}\n     */\n    clear() {\n        if (this._liveElement) {\n            this._liveElement.textContent = '';\n        }\n    }\n    /**\n     * @return {?}\n     */\n    ngOnDestroy() {\n        clearTimeout(this._previousTimeout);\n        if (this._liveElement && this._liveElement.parentNode) {\n            this._liveElement.parentNode.removeChild(this._liveElement);\n            this._liveElement = (/** @type {?} */ (null));\n        }\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _createLiveElement() {\n        /** @type {?} */\n        const elementClass = 'cdk-live-announcer-element';\n        /** @type {?} */\n        const previousElements = this._document.getElementsByClassName(elementClass);\n        /** @type {?} */\n        const liveEl = this._document.createElement('div');\n        // Remove any old containers. This can happen when coming in from a server-side-rendered page.\n        for (let i = 0; i < previousElements.length; i++) {\n            (/** @type {?} */ (previousElements[i].parentNode)).removeChild(previousElements[i]);\n        }\n        liveEl.classList.add(elementClass);\n        liveEl.classList.add('cdk-visually-hidden');\n        liveEl.setAttribute('aria-atomic', 'true');\n        liveEl.setAttribute('aria-live', 'polite');\n        this._document.body.appendChild(liveEl);\n        return liveEl;\n    }\n}\nLiveAnnouncer.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */\nLiveAnnouncer.ctorParameters = () => [\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"], args: [LIVE_ANNOUNCER_ELEMENT_TOKEN,] }] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgZone\"] },\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"],] }] },\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"], args: [LIVE_ANNOUNCER_DEFAULT_OPTIONS,] }] }\n];\n/** @nocollapse */ LiveAnnouncer.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵdefineInjectable\"])({ factory: function LiveAnnouncer_Factory() { return new LiveAnnouncer(Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(LIVE_ANNOUNCER_ELEMENT_TOKEN, 8), Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgZone\"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(LIVE_ANNOUNCER_DEFAULT_OPTIONS, 8)); }, token: LiveAnnouncer, providedIn: \"root\" });\n/**\n * A directive that works similarly to aria-live, but uses the LiveAnnouncer to ensure compatibility\n * with a wider range of browsers and screen readers.\n */\nclass CdkAriaLive {\n    /**\n     * @param {?} _elementRef\n     * @param {?} _liveAnnouncer\n     * @param {?} _contentObserver\n     * @param {?} _ngZone\n     */\n    constructor(_elementRef, _liveAnnouncer, _contentObserver, _ngZone) {\n        this._elementRef = _elementRef;\n        this._liveAnnouncer = _liveAnnouncer;\n        this._contentObserver = _contentObserver;\n        this._ngZone = _ngZone;\n        this._politeness = 'off';\n    }\n    /**\n     * The aria-live politeness level to use when announcing messages.\n     * @return {?}\n     */\n    get politeness() { return this._politeness; }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    set politeness(value) {\n        this._politeness = value === 'polite' || value === 'assertive' ? value : 'off';\n        if (this._politeness === 'off') {\n            if (this._subscription) {\n                this._subscription.unsubscribe();\n                this._subscription = null;\n            }\n        }\n        else if (!this._subscription) {\n            this._subscription = this._ngZone.runOutsideAngular((/**\n             * @return {?}\n             */\n            () => {\n                return this._contentObserver\n                    .observe(this._elementRef)\n                    .subscribe((/**\n                 * @return {?}\n                 */\n                () => {\n                    // Note that we use textContent here, rather than innerText, in order to avoid a reflow.\n                    /** @type {?} */\n                    const elementText = this._elementRef.nativeElement.textContent;\n                    // The `MutationObserver` fires also for attribute\n                    // changes which we don't want to announce.\n                    if (elementText !== this._previousAnnouncedText) {\n                        this._liveAnnouncer.announce(elementText, this._politeness);\n                        this._previousAnnouncedText = elementText;\n                    }\n                }));\n            }));\n        }\n    }\n    /**\n     * @return {?}\n     */\n    ngOnDestroy() {\n        if (this._subscription) {\n            this._subscription.unsubscribe();\n        }\n    }\n}\nCdkAriaLive.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Directive\"], args: [{\n                selector: '[cdkAriaLive]',\n                exportAs: 'cdkAriaLive',\n            },] },\n];\n/** @nocollapse */\nCdkAriaLive.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ElementRef\"] },\n    { type: LiveAnnouncer },\n    { type: _angular_cdk_observers__WEBPACK_IMPORTED_MODULE_7__[\"ContentObserver\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgZone\"] }\n];\nCdkAriaLive.propDecorators = {\n    politeness: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"], args: ['cdkAriaLive',] }]\n};\n/**\n * \\@docs-private \\@deprecated \\@breaking-change 8.0.0\n * @param {?} parentAnnouncer\n * @param {?} liveElement\n * @param {?} _document\n * @param {?} ngZone\n * @return {?}\n */\nfunction LIVE_ANNOUNCER_PROVIDER_FACTORY(parentAnnouncer, liveElement, _document, ngZone) {\n    return parentAnnouncer || new LiveAnnouncer(liveElement, ngZone, _document);\n}\n/**\n * \\@docs-private \\@deprecated \\@breaking-change 8.0.0\n * @type {?}\n */\nconst LIVE_ANNOUNCER_PROVIDER = {\n    // If there is already a LiveAnnouncer available, use that. Otherwise, provide a new one.\n    provide: LiveAnnouncer,\n    deps: [\n        [new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"](), new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"SkipSelf\"](), LiveAnnouncer],\n        [new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"](), new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"](LIVE_ANNOUNCER_ELEMENT_TOKEN)],\n        _angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"],\n        _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgZone\"],\n    ],\n    useFactory: LIVE_ANNOUNCER_PROVIDER_FACTORY\n};\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n// This is the value used by AngularJS Material. Through trial and error (on iPhone 6S) they found\n// that a value of around 650ms seems appropriate.\n/** @type {?} */\nconst TOUCH_BUFFER_MS = 650;\n/**\n * Event listener options that enable capturing and also\n * mark the listener as passive if the browser supports it.\n * @type {?}\n */\nconst captureEventListenerOptions = Object(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_5__[\"normalizePassiveListenerOptions\"])({\n    passive: true,\n    capture: true\n});\n/**\n * Monitors mouse and keyboard events to determine the cause of focus events.\n */\nclass FocusMonitor {\n    /**\n     * @param {?} _ngZone\n     * @param {?} _platform\n     */\n    constructor(_ngZone, _platform) {\n        this._ngZone = _ngZone;\n        this._platform = _platform;\n        /**\n         * The focus origin that the next focus event is a result of.\n         */\n        this._origin = null;\n        /**\n         * Whether the window has just been focused.\n         */\n        this._windowFocused = false;\n        /**\n         * Map of elements being monitored to their info.\n         */\n        this._elementInfo = new Map();\n        /**\n         * The number of elements currently being monitored.\n         */\n        this._monitoredElementCount = 0;\n        /**\n         * Event listener for `keydown` events on the document.\n         * Needs to be an arrow function in order to preserve the context when it gets bound.\n         */\n        this._documentKeydownListener = (/**\n         * @return {?}\n         */\n        () => {\n            // On keydown record the origin and clear any touch event that may be in progress.\n            this._lastTouchTarget = null;\n            this._setOriginForCurrentEventQueue('keyboard');\n        });\n        /**\n         * Event listener for `mousedown` events on the document.\n         * Needs to be an arrow function in order to preserve the context when it gets bound.\n         */\n        this._documentMousedownListener = (/**\n         * @return {?}\n         */\n        () => {\n            // On mousedown record the origin only if there is not touch\n            // target, since a mousedown can happen as a result of a touch event.\n            if (!this._lastTouchTarget) {\n                this._setOriginForCurrentEventQueue('mouse');\n            }\n        });\n        /**\n         * Event listener for `touchstart` events on the document.\n         * Needs to be an arrow function in order to preserve the context when it gets bound.\n         */\n        this._documentTouchstartListener = (/**\n         * @param {?} event\n         * @return {?}\n         */\n        (event) => {\n            // When the touchstart event fires the focus event is not yet in the event queue. This means\n            // we can't rely on the trick used above (setting timeout of 1ms). Instead we wait 650ms to\n            // see if a focus happens.\n            if (this._touchTimeoutId != null) {\n                clearTimeout(this._touchTimeoutId);\n            }\n            // Since this listener is bound on the `document` level, any events coming from the shadow DOM\n            // will have their `target` set to the shadow root. If available, use `composedPath` to\n            // figure out the event target.\n            this._lastTouchTarget = event.composedPath ? event.composedPath()[0] : event.target;\n            this._touchTimeoutId = setTimeout((/**\n             * @return {?}\n             */\n            () => this._lastTouchTarget = null), TOUCH_BUFFER_MS);\n        });\n        /**\n         * Event listener for `focus` events on the window.\n         * Needs to be an arrow function in order to preserve the context when it gets bound.\n         */\n        this._windowFocusListener = (/**\n         * @return {?}\n         */\n        () => {\n            // Make a note of when the window regains focus, so we can\n            // restore the origin info for the focused element.\n            this._windowFocused = true;\n            this._windowFocusTimeoutId = setTimeout((/**\n             * @return {?}\n             */\n            () => this._windowFocused = false));\n        });\n    }\n    /**\n     * @param {?} element\n     * @param {?=} checkChildren\n     * @return {?}\n     */\n    monitor(element, checkChildren = false) {\n        // Do nothing if we're not on the browser platform.\n        if (!this._platform.isBrowser) {\n            return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(null);\n        }\n        /** @type {?} */\n        const nativeElement = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_6__[\"coerceElement\"])(element);\n        // Check if we're already monitoring this element.\n        if (this._elementInfo.has(nativeElement)) {\n            /** @type {?} */\n            let cachedInfo = this._elementInfo.get(nativeElement);\n            (/** @type {?} */ (cachedInfo)).checkChildren = checkChildren;\n            return (/** @type {?} */ (cachedInfo)).subject.asObservable();\n        }\n        // Create monitored element info.\n        /** @type {?} */\n        let info = {\n            unlisten: (/**\n             * @return {?}\n             */\n            () => { }),\n            checkChildren: checkChildren,\n            subject: new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Subject\"]()\n        };\n        this._elementInfo.set(nativeElement, info);\n        this._incrementMonitoredElementCount();\n        // Start listening. We need to listen in capture phase since focus events don't bubble.\n        /** @type {?} */\n        let focusListener = (/**\n         * @param {?} event\n         * @return {?}\n         */\n        (event) => this._onFocus(event, nativeElement));\n        /** @type {?} */\n        let blurListener = (/**\n         * @param {?} event\n         * @return {?}\n         */\n        (event) => this._onBlur(event, nativeElement));\n        this._ngZone.runOutsideAngular((/**\n         * @return {?}\n         */\n        () => {\n            nativeElement.addEventListener('focus', focusListener, true);\n            nativeElement.addEventListener('blur', blurListener, true);\n        }));\n        // Create an unlisten function for later.\n        info.unlisten = (/**\n         * @return {?}\n         */\n        () => {\n            nativeElement.removeEventListener('focus', focusListener, true);\n            nativeElement.removeEventListener('blur', blurListener, true);\n        });\n        return info.subject.asObservable();\n    }\n    /**\n     * @param {?} element\n     * @return {?}\n     */\n    stopMonitoring(element) {\n        /** @type {?} */\n        const nativeElement = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_6__[\"coerceElement\"])(element);\n        /** @type {?} */\n        const elementInfo = this._elementInfo.get(nativeElement);\n        if (elementInfo) {\n            elementInfo.unlisten();\n            elementInfo.subject.complete();\n            this._setClasses(nativeElement);\n            this._elementInfo.delete(nativeElement);\n            this._decrementMonitoredElementCount();\n        }\n    }\n    /**\n     * @param {?} element\n     * @param {?} origin\n     * @param {?=} options\n     * @return {?}\n     */\n    focusVia(element, origin, options) {\n        /** @type {?} */\n        const nativeElement = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_6__[\"coerceElement\"])(element);\n        this._setOriginForCurrentEventQueue(origin);\n        // `focus` isn't available on the server\n        if (typeof nativeElement.focus === 'function') {\n            // Cast the element to `any`, because the TS typings don't have the `options` parameter yet.\n            ((/** @type {?} */ (nativeElement))).focus(options);\n        }\n    }\n    /**\n     * @return {?}\n     */\n    ngOnDestroy() {\n        this._elementInfo.forEach((/**\n         * @param {?} _info\n         * @param {?} element\n         * @return {?}\n         */\n        (_info, element) => this.stopMonitoring(element)));\n    }\n    /**\n     * @private\n     * @param {?} element\n     * @param {?} className\n     * @param {?} shouldSet\n     * @return {?}\n     */\n    _toggleClass(element, className, shouldSet) {\n        if (shouldSet) {\n            element.classList.add(className);\n        }\n        else {\n            element.classList.remove(className);\n        }\n    }\n    /**\n     * Sets the focus classes on the element based on the given focus origin.\n     * @private\n     * @param {?} element The element to update the classes on.\n     * @param {?=} origin The focus origin.\n     * @return {?}\n     */\n    _setClasses(element, origin) {\n        /** @type {?} */\n        const elementInfo = this._elementInfo.get(element);\n        if (elementInfo) {\n            this._toggleClass(element, 'cdk-focused', !!origin);\n            this._toggleClass(element, 'cdk-touch-focused', origin === 'touch');\n            this._toggleClass(element, 'cdk-keyboard-focused', origin === 'keyboard');\n            this._toggleClass(element, 'cdk-mouse-focused', origin === 'mouse');\n            this._toggleClass(element, 'cdk-program-focused', origin === 'program');\n        }\n    }\n    /**\n     * Sets the origin and schedules an async function to clear it at the end of the event queue.\n     * @private\n     * @param {?} origin The origin to set.\n     * @return {?}\n     */\n    _setOriginForCurrentEventQueue(origin) {\n        this._ngZone.runOutsideAngular((/**\n         * @return {?}\n         */\n        () => {\n            this._origin = origin;\n            // Sometimes the focus origin won't be valid in Firefox because Firefox seems to focus *one*\n            // tick after the interaction event fired. To ensure the focus origin is always correct,\n            // the focus origin will be determined at the beginning of the next tick.\n            this._originTimeoutId = setTimeout((/**\n             * @return {?}\n             */\n            () => this._origin = null), 1);\n        }));\n    }\n    /**\n     * Checks whether the given focus event was caused by a touchstart event.\n     * @private\n     * @param {?} event The focus event to check.\n     * @return {?} Whether the event was caused by a touch.\n     */\n    _wasCausedByTouch(event) {\n        // Note(mmalerba): This implementation is not quite perfect, there is a small edge case.\n        // Consider the following dom structure:\n        //\n        // <div #parent tabindex=\"0\" cdkFocusClasses>\n        //   <div #child (click)=\"#parent.focus()\"></div>\n        // </div>\n        //\n        // If the user touches the #child element and the #parent is programmatically focused as a\n        // result, this code will still consider it to have been caused by the touch event and will\n        // apply the cdk-touch-focused class rather than the cdk-program-focused class. This is a\n        // relatively small edge-case that can be worked around by using\n        // focusVia(parentEl, 'program') to focus the parent element.\n        //\n        // If we decide that we absolutely must handle this case correctly, we can do so by listening\n        // for the first focus event after the touchstart, and then the first blur event after that\n        // focus event. When that blur event fires we know that whatever follows is not a result of the\n        // touchstart.\n        /** @type {?} */\n        let focusTarget = event.target;\n        return this._lastTouchTarget instanceof Node && focusTarget instanceof Node &&\n            (focusTarget === this._lastTouchTarget || focusTarget.contains(this._lastTouchTarget));\n    }\n    /**\n     * Handles focus events on a registered element.\n     * @private\n     * @param {?} event The focus event.\n     * @param {?} element The monitored element.\n     * @return {?}\n     */\n    _onFocus(event, element) {\n        // NOTE(mmalerba): We currently set the classes based on the focus origin of the most recent\n        // focus event affecting the monitored element. If we want to use the origin of the first event\n        // instead we should check for the cdk-focused class here and return if the element already has\n        // it. (This only matters for elements that have includesChildren = true).\n        // NOTE(mmalerba): We currently set the classes based on the focus origin of the most recent\n        // focus event affecting the monitored element. If we want to use the origin of the first event\n        // instead we should check for the cdk-focused class here and return if the element already has\n        // it. (This only matters for elements that have includesChildren = true).\n        // If we are not counting child-element-focus as focused, make sure that the event target is the\n        // monitored element itself.\n        /** @type {?} */\n        const elementInfo = this._elementInfo.get(element);\n        if (!elementInfo || (!elementInfo.checkChildren && element !== event.target)) {\n            return;\n        }\n        // If we couldn't detect a cause for the focus event, it's due to one of three reasons:\n        // 1) The window has just regained focus, in which case we want to restore the focused state of\n        //    the element from before the window blurred.\n        // 2) It was caused by a touch event, in which case we mark the origin as 'touch'.\n        // 3) The element was programmatically focused, in which case we should mark the origin as\n        //    'program'.\n        /** @type {?} */\n        let origin = this._origin;\n        if (!origin) {\n            if (this._windowFocused && this._lastFocusOrigin) {\n                origin = this._lastFocusOrigin;\n            }\n            else if (this._wasCausedByTouch(event)) {\n                origin = 'touch';\n            }\n            else {\n                origin = 'program';\n            }\n        }\n        this._setClasses(element, origin);\n        this._emitOrigin(elementInfo.subject, origin);\n        this._lastFocusOrigin = origin;\n    }\n    /**\n     * Handles blur events on a registered element.\n     * @param {?} event The blur event.\n     * @param {?} element The monitored element.\n     * @return {?}\n     */\n    _onBlur(event, element) {\n        // If we are counting child-element-focus as focused, make sure that we aren't just blurring in\n        // order to focus another child of the monitored element.\n        /** @type {?} */\n        const elementInfo = this._elementInfo.get(element);\n        if (!elementInfo || (elementInfo.checkChildren && event.relatedTarget instanceof Node &&\n            element.contains(event.relatedTarget))) {\n            return;\n        }\n        this._setClasses(element);\n        this._emitOrigin(elementInfo.subject, null);\n    }\n    /**\n     * @private\n     * @param {?} subject\n     * @param {?} origin\n     * @return {?}\n     */\n    _emitOrigin(subject, origin) {\n        this._ngZone.run((/**\n         * @return {?}\n         */\n        () => subject.next(origin)));\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _incrementMonitoredElementCount() {\n        // Register global listeners when first element is monitored.\n        if (++this._monitoredElementCount == 1 && this._platform.isBrowser) {\n            // Note: we listen to events in the capture phase so we\n            // can detect them even if the user stops propagation.\n            this._ngZone.runOutsideAngular((/**\n             * @return {?}\n             */\n            () => {\n                document.addEventListener('keydown', this._documentKeydownListener, captureEventListenerOptions);\n                document.addEventListener('mousedown', this._documentMousedownListener, captureEventListenerOptions);\n                document.addEventListener('touchstart', this._documentTouchstartListener, captureEventListenerOptions);\n                window.addEventListener('focus', this._windowFocusListener);\n            }));\n        }\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _decrementMonitoredElementCount() {\n        // Unregister global listeners when last element is unmonitored.\n        if (!--this._monitoredElementCount) {\n            document.removeEventListener('keydown', this._documentKeydownListener, captureEventListenerOptions);\n            document.removeEventListener('mousedown', this._documentMousedownListener, captureEventListenerOptions);\n            document.removeEventListener('touchstart', this._documentTouchstartListener, captureEventListenerOptions);\n            window.removeEventListener('focus', this._windowFocusListener);\n            // Clear timeouts for all potentially pending timeouts to prevent the leaks.\n            clearTimeout(this._windowFocusTimeoutId);\n            clearTimeout(this._touchTimeoutId);\n            clearTimeout(this._originTimeoutId);\n        }\n    }\n}\nFocusMonitor.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */\nFocusMonitor.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgZone\"] },\n    { type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_5__[\"Platform\"] }\n];\n/** @nocollapse */ FocusMonitor.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵdefineInjectable\"])({ factory: function FocusMonitor_Factory() { return new FocusMonitor(Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgZone\"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_5__[\"Platform\"])); }, token: FocusMonitor, providedIn: \"root\" });\n/**\n * Directive that determines how a particular element was focused (via keyboard, mouse, touch, or\n * programmatically) and adds corresponding classes to the element.\n *\n * There are two variants of this directive:\n * 1) cdkMonitorElementFocus: does not consider an element to be focused if one of its children is\n *    focused.\n * 2) cdkMonitorSubtreeFocus: considers an element focused if it or any of its children are focused.\n */\nclass CdkMonitorFocus {\n    /**\n     * @param {?} _elementRef\n     * @param {?} _focusMonitor\n     */\n    constructor(_elementRef, _focusMonitor) {\n        this._elementRef = _elementRef;\n        this._focusMonitor = _focusMonitor;\n        this.cdkFocusChange = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"EventEmitter\"]();\n        this._monitorSubscription = this._focusMonitor.monitor(this._elementRef, this._elementRef.nativeElement.hasAttribute('cdkMonitorSubtreeFocus'))\n            .subscribe((/**\n         * @param {?} origin\n         * @return {?}\n         */\n        origin => this.cdkFocusChange.emit(origin)));\n    }\n    /**\n     * @return {?}\n     */\n    ngOnDestroy() {\n        this._focusMonitor.stopMonitoring(this._elementRef);\n        this._monitorSubscription.unsubscribe();\n    }\n}\nCdkMonitorFocus.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Directive\"], args: [{\n                selector: '[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]',\n            },] },\n];\n/** @nocollapse */\nCdkMonitorFocus.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ElementRef\"] },\n    { type: FocusMonitor }\n];\nCdkMonitorFocus.propDecorators = {\n    cdkFocusChange: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Output\"] }]\n};\n/**\n * \\@docs-private \\@deprecated \\@breaking-change 8.0.0\n * @param {?} parentDispatcher\n * @param {?} ngZone\n * @param {?} platform\n * @return {?}\n */\nfunction FOCUS_MONITOR_PROVIDER_FACTORY(parentDispatcher, ngZone, platform) {\n    return parentDispatcher || new FocusMonitor(ngZone, platform);\n}\n/**\n * \\@docs-private \\@deprecated \\@breaking-change 8.0.0\n * @type {?}\n */\nconst FOCUS_MONITOR_PROVIDER = {\n    // If there is already a FocusMonitor available, use that. Otherwise, provide a new one.\n    provide: FocusMonitor,\n    deps: [[new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"](), new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"SkipSelf\"](), FocusMonitor], _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgZone\"], _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_5__[\"Platform\"]],\n    useFactory: FOCUS_MONITOR_PROVIDER_FACTORY\n};\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * Screenreaders will often fire fake mousedown events when a focusable element\n * is activated using the keyboard. We can typically distinguish between these faked\n * mousedown events and real mousedown events using the \"buttons\" property. While\n * real mousedowns will indicate the mouse button that was pressed (e.g. \"1\" for\n * the left mouse button), faked mousedowns will usually set the property value to 0.\n * @param {?} event\n * @return {?}\n */\nfunction isFakeMousedownFromScreenReader(event) {\n    return event.buttons === 0;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass A11yModule {\n}\nA11yModule.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgModule\"], args: [{\n                imports: [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"CommonModule\"], _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_5__[\"PlatformModule\"], _angular_cdk_observers__WEBPACK_IMPORTED_MODULE_7__[\"ObserversModule\"]],\n                declarations: [CdkAriaLive, CdkTrapFocus, CdkMonitorFocus],\n                exports: [CdkAriaLive, CdkTrapFocus, CdkMonitorFocus],\n            },] },\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n\n//# sourceMappingURL=a11y.js.map\n\n\n/***/ }),\n\n/***/ \"./node_modules/@angular/cdk/esm2015/bidi.js\":\n/*!***************************************************!*\\\n  !*** ./node_modules/@angular/cdk/esm2015/bidi.js ***!\n  \\***************************************************/\n/*! exports provided: Directionality, DIR_DOCUMENT, Dir, BidiModule, ɵa */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Directionality\", function() { return Directionality; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DIR_DOCUMENT\", function() { return DIR_DOCUMENT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Dir\", function() { return Dir; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BidiModule\", function() { return BidiModule; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵa\", function() { return DIR_DOCUMENT_FACTORY; });\n/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/common */ \"./node_modules/@angular/common/fesm2015/common.js\");\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Injection token used to inject the document into Directionality.\n * This is used so that the value can be faked in tests.\n *\n * We can't use the real document in tests because changing the real `dir` causes geometry-based\n * tests in Safari to fail.\n *\n * We also can't re-provide the DOCUMENT token from platform-brower because the unit tests\n * themselves use things like `querySelector` in test code.\n *\n * This token is defined in a separate file from Directionality as a workaround for\n * https://github.com/angular/angular/issues/22559\n *\n * \\@docs-private\n * @type {?}\n */\nconst DIR_DOCUMENT = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"InjectionToken\"]('cdk-dir-doc', {\n    providedIn: 'root',\n    factory: DIR_DOCUMENT_FACTORY,\n});\n/**\n * \\@docs-private\n * @return {?}\n */\nfunction DIR_DOCUMENT_FACTORY() {\n    return Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"inject\"])(_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"]);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * The directionality (LTR / RTL) context for the application (or a subtree of it).\n * Exposes the current direction and a stream of direction changes.\n */\nclass Directionality {\n    /**\n     * @param {?=} _document\n     */\n    constructor(_document) {\n        /**\n         * The current 'ltr' or 'rtl' value.\n         */\n        this.value = 'ltr';\n        /**\n         * Stream that emits whenever the 'ltr' / 'rtl' state changes.\n         */\n        this.change = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"EventEmitter\"]();\n        if (_document) {\n            // TODO: handle 'auto' value -\n            // We still need to account for dir=\"auto\".\n            // It looks like HTMLElemenet.dir is also \"auto\" when that's set to the attribute,\n            // but getComputedStyle return either \"ltr\" or \"rtl\". avoiding getComputedStyle for now\n            /** @type {?} */\n            const bodyDir = _document.body ? _document.body.dir : null;\n            /** @type {?} */\n            const htmlDir = _document.documentElement ? _document.documentElement.dir : null;\n            /** @type {?} */\n            const value = bodyDir || htmlDir;\n            this.value = (value === 'ltr' || value === 'rtl') ? value : 'ltr';\n        }\n    }\n    /**\n     * @return {?}\n     */\n    ngOnDestroy() {\n        this.change.complete();\n    }\n}\nDirectionality.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */\nDirectionality.ctorParameters = () => [\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"], args: [DIR_DOCUMENT,] }] }\n];\n/** @nocollapse */ Directionality.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵdefineInjectable\"])({ factory: function Directionality_Factory() { return new Directionality(Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(DIR_DOCUMENT, 8)); }, token: Directionality, providedIn: \"root\" });\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Directive to listen for changes of direction of part of the DOM.\n *\n * Provides itself as Directionality such that descendant directives only need to ever inject\n * Directionality to get the closest direction.\n */\nclass Dir {\n    constructor() {\n        /**\n         * Normalized direction that accounts for invalid/unsupported values.\n         */\n        this._dir = 'ltr';\n        /**\n         * Whether the `value` has been set to its initial value.\n         */\n        this._isInitialized = false;\n        /**\n         * Event emitted when the direction changes.\n         */\n        this.change = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"EventEmitter\"]();\n    }\n    /**\n     * \\@docs-private\n     * @return {?}\n     */\n    get dir() { return this._dir; }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    set dir(value) {\n        /** @type {?} */\n        const old = this._dir;\n        /** @type {?} */\n        const normalizedValue = value ? value.toLowerCase() : value;\n        this._rawDir = value;\n        this._dir = (normalizedValue === 'ltr' || normalizedValue === 'rtl') ? normalizedValue : 'ltr';\n        if (old !== this._dir && this._isInitialized) {\n            this.change.emit(this._dir);\n        }\n    }\n    /**\n     * Current layout direction of the element.\n     * @return {?}\n     */\n    get value() { return this.dir; }\n    /**\n     * Initialize once default value has been set.\n     * @return {?}\n     */\n    ngAfterContentInit() {\n        this._isInitialized = true;\n    }\n    /**\n     * @return {?}\n     */\n    ngOnDestroy() {\n        this.change.complete();\n    }\n}\nDir.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Directive\"], args: [{\n                selector: '[dir]',\n                providers: [{ provide: Directionality, useExisting: Dir }],\n                host: { '[attr.dir]': '_rawDir' },\n                exportAs: 'dir',\n            },] },\n];\nDir.propDecorators = {\n    change: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Output\"], args: ['dirChange',] }],\n    dir: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"] }]\n};\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass BidiModule {\n}\nBidiModule.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgModule\"], args: [{\n                exports: [Dir],\n                declarations: [Dir],\n            },] },\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n\n//# sourceMappingURL=bidi.js.map\n\n\n/***/ }),\n\n/***/ \"./node_modules/@angular/cdk/esm2015/cdk.js\":\n/*!**************************************************!*\\\n  !*** ./node_modules/@angular/cdk/esm2015/cdk.js ***!\n  \\**************************************************/\n/*! exports provided: VERSION */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VERSION\", function() { return VERSION; });\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Current version of the Angular Component Development Kit.\n * @type {?}\n */\nconst VERSION = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Version\"]('8.2.3');\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n\n//# sourceMappingURL=cdk.js.map\n\n\n/***/ }),\n\n/***/ \"./node_modules/@angular/cdk/esm2015/coercion.js\":\n/*!*******************************************************!*\\\n  !*** ./node_modules/@angular/cdk/esm2015/coercion.js ***!\n  \\*******************************************************/\n/*! exports provided: coerceBooleanProperty, coerceNumberProperty, _isNumberValue, coerceArray, coerceCssPixelValue, coerceElement */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"coerceBooleanProperty\", function() { return coerceBooleanProperty; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"coerceNumberProperty\", function() { return coerceNumberProperty; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"_isNumberValue\", function() { return _isNumberValue; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"coerceArray\", function() { return coerceArray; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"coerceCssPixelValue\", function() { return coerceCssPixelValue; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"coerceElement\", function() { return coerceElement; });\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * Coerces a data-bound value (typically a string) to a boolean.\n * @param {?} value\n * @return {?}\n */\nfunction coerceBooleanProperty(value) {\n    return value != null && `${value}` !== 'false';\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @param {?} value\n * @param {?=} fallbackValue\n * @return {?}\n */\nfunction coerceNumberProperty(value, fallbackValue = 0) {\n    return _isNumberValue(value) ? Number(value) : fallbackValue;\n}\n/**\n * Whether the provided value is considered a number.\n * \\@docs-private\n * @param {?} value\n * @return {?}\n */\nfunction _isNumberValue(value) {\n    // parseFloat(value) handles most of the cases we're interested in (it treats null, empty string,\n    // and other non-number values as NaN, where Number just uses 0) but it considers the string\n    // '123hello' to be a valid number. Therefore we also check if Number(value) is NaN.\n    return !isNaN(parseFloat((/** @type {?} */ (value)))) && !isNaN(Number(value));\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * Wraps the provided value in an array, unless the provided value is an array.\n * @template T\n * @param {?} value\n * @return {?}\n */\nfunction coerceArray(value) {\n    return Array.isArray(value) ? value : [value];\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * Coerces a value to a CSS pixel value.\n * @param {?} value\n * @return {?}\n */\nfunction coerceCssPixelValue(value) {\n    if (value == null) {\n        return '';\n    }\n    return typeof value === 'string' ? value : `${value}px`;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Coerces an ElementRef or an Element into an element.\n * Useful for APIs that can accept either a ref or the native element itself.\n * @template T\n * @param {?} elementOrRef\n * @return {?}\n */\nfunction coerceElement(elementOrRef) {\n    return elementOrRef instanceof _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"] ? elementOrRef.nativeElement : elementOrRef;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n\n//# sourceMappingURL=coercion.js.map\n\n\n/***/ }),\n\n/***/ \"./node_modules/@angular/cdk/esm2015/collections.js\":\n/*!**********************************************************!*\\\n  !*** ./node_modules/@angular/cdk/esm2015/collections.js ***!\n  \\**********************************************************/\n/*! exports provided: UniqueSelectionDispatcher, ArrayDataSource, isDataSource, DataSource, getMultipleValuesInSingleSelectionError, SelectionModel */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"UniqueSelectionDispatcher\", function() { return UniqueSelectionDispatcher; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ArrayDataSource\", function() { return ArrayDataSource; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isDataSource\", function() { return isDataSource; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DataSource\", function() { return DataSource; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getMultipleValuesInSingleSelectionError\", function() { return getMultipleValuesInSingleSelectionError; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SelectionModel\", function() { return SelectionModel; });\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ \"./node_modules/rxjs/_esm2015/index.js\");\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @abstract\n * @template T\n */\nclass DataSource {\n}\n/**\n * Checks whether an object is a data source.\n * @param {?} value\n * @return {?}\n */\nfunction isDataSource(value) {\n    // Check if the value is a DataSource by observing if it has a connect function. Cannot\n    // be checked as an `instanceof DataSource` since people could create their own sources\n    // that match the interface, but don't extend DataSource.\n    return value && typeof value.connect === 'function';\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * DataSource wrapper for a native array.\n * @template T\n */\nclass ArrayDataSource extends DataSource {\n    /**\n     * @param {?} _data\n     */\n    constructor(_data) {\n        super();\n        this._data = _data;\n    }\n    /**\n     * @return {?}\n     */\n    connect() {\n        return this._data instanceof rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"] ? this._data : Object(rxjs__WEBPACK_IMPORTED_MODULE_0__[\"of\"])(this._data);\n    }\n    /**\n     * @return {?}\n     */\n    disconnect() { }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Class to be used to power selecting one or more options from a list.\n * @template T\n */\nclass SelectionModel {\n    /**\n     * @param {?=} _multiple\n     * @param {?=} initiallySelectedValues\n     * @param {?=} _emitChanges\n     */\n    constructor(_multiple = false, initiallySelectedValues, _emitChanges = true) {\n        this._multiple = _multiple;\n        this._emitChanges = _emitChanges;\n        /**\n         * Currently-selected values.\n         */\n        this._selection = new Set();\n        /**\n         * Keeps track of the deselected options that haven't been emitted by the change event.\n         */\n        this._deselectedToEmit = [];\n        /**\n         * Keeps track of the selected options that haven't been emitted by the change event.\n         */\n        this._selectedToEmit = [];\n        /**\n         * Event emitted when the value has changed.\n         */\n        this.changed = new rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]();\n        /**\n         * Event emitted when the value has changed.\n         * @deprecated Use `changed` instead.\n         * \\@breaking-change 8.0.0 To be changed to `changed`\n         */\n        this.onChange = this.changed;\n        if (initiallySelectedValues && initiallySelectedValues.length) {\n            if (_multiple) {\n                initiallySelectedValues.forEach((/**\n                 * @param {?} value\n                 * @return {?}\n                 */\n                value => this._markSelected(value)));\n            }\n            else {\n                this._markSelected(initiallySelectedValues[0]);\n            }\n            // Clear the array in order to avoid firing the change event for preselected values.\n            this._selectedToEmit.length = 0;\n        }\n    }\n    /**\n     * Selected values.\n     * @return {?}\n     */\n    get selected() {\n        if (!this._selected) {\n            this._selected = Array.from(this._selection.values());\n        }\n        return this._selected;\n    }\n    /**\n     * Selects a value or an array of values.\n     * @param {...?} values\n     * @return {?}\n     */\n    select(...values) {\n        this._verifyValueAssignment(values);\n        values.forEach((/**\n         * @param {?} value\n         * @return {?}\n         */\n        value => this._markSelected(value)));\n        this._emitChangeEvent();\n    }\n    /**\n     * Deselects a value or an array of values.\n     * @param {...?} values\n     * @return {?}\n     */\n    deselect(...values) {\n        this._verifyValueAssignment(values);\n        values.forEach((/**\n         * @param {?} value\n         * @return {?}\n         */\n        value => this._unmarkSelected(value)));\n        this._emitChangeEvent();\n    }\n    /**\n     * Toggles a value between selected and deselected.\n     * @param {?} value\n     * @return {?}\n     */\n    toggle(value) {\n        this.isSelected(value) ? this.deselect(value) : this.select(value);\n    }\n    /**\n     * Clears all of the selected values.\n     * @return {?}\n     */\n    clear() {\n        this._unmarkAll();\n        this._emitChangeEvent();\n    }\n    /**\n     * Determines whether a value is selected.\n     * @param {?} value\n     * @return {?}\n     */\n    isSelected(value) {\n        return this._selection.has(value);\n    }\n    /**\n     * Determines whether the model does not have a value.\n     * @return {?}\n     */\n    isEmpty() {\n        return this._selection.size === 0;\n    }\n    /**\n     * Determines whether the model has a value.\n     * @return {?}\n     */\n    hasValue() {\n        return !this.isEmpty();\n    }\n    /**\n     * Sorts the selected values based on a predicate function.\n     * @param {?=} predicate\n     * @return {?}\n     */\n    sort(predicate) {\n        if (this._multiple && this.selected) {\n            (/** @type {?} */ (this._selected)).sort(predicate);\n        }\n    }\n    /**\n     * Gets whether multiple values can be selected.\n     * @return {?}\n     */\n    isMultipleSelection() {\n        return this._multiple;\n    }\n    /**\n     * Emits a change event and clears the records of selected and deselected values.\n     * @private\n     * @return {?}\n     */\n    _emitChangeEvent() {\n        // Clear the selected values so they can be re-cached.\n        this._selected = null;\n        if (this._selectedToEmit.length || this._deselectedToEmit.length) {\n            this.changed.next({\n                source: this,\n                added: this._selectedToEmit,\n                removed: this._deselectedToEmit\n            });\n            this._deselectedToEmit = [];\n            this._selectedToEmit = [];\n        }\n    }\n    /**\n     * Selects a value.\n     * @private\n     * @param {?} value\n     * @return {?}\n     */\n    _markSelected(value) {\n        if (!this.isSelected(value)) {\n            if (!this._multiple) {\n                this._unmarkAll();\n            }\n            this._selection.add(value);\n            if (this._emitChanges) {\n                this._selectedToEmit.push(value);\n            }\n        }\n    }\n    /**\n     * Deselects a value.\n     * @private\n     * @param {?} value\n     * @return {?}\n     */\n    _unmarkSelected(value) {\n        if (this.isSelected(value)) {\n            this._selection.delete(value);\n            if (this._emitChanges) {\n                this._deselectedToEmit.push(value);\n            }\n        }\n    }\n    /**\n     * Clears out the selected values.\n     * @private\n     * @return {?}\n     */\n    _unmarkAll() {\n        if (!this.isEmpty()) {\n            this._selection.forEach((/**\n             * @param {?} value\n             * @return {?}\n             */\n            value => this._unmarkSelected(value)));\n        }\n    }\n    /**\n     * Verifies the value assignment and throws an error if the specified value array is\n     * including multiple values while the selection model is not supporting multiple values.\n     * @private\n     * @param {?} values\n     * @return {?}\n     */\n    _verifyValueAssignment(values) {\n        if (values.length > 1 && !this._multiple) {\n            throw getMultipleValuesInSingleSelectionError();\n        }\n    }\n}\n/**\n * Returns an error that reports that multiple values are passed into a selection model\n * with a single value.\n * \\@docs-private\n * @return {?}\n */\nfunction getMultipleValuesInSingleSelectionError() {\n    return Error('Cannot pass multiple values into SelectionModel with single-value mode.');\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Class to coordinate unique selection based on name.\n * Intended to be consumed as an Angular service.\n * This service is needed because native radio change events are only fired on the item currently\n * being selected, and we still need to uncheck the previous selection.\n *\n * This service does not *store* any IDs and names because they may change at any time, so it is\n * less error-prone if they are simply passed through when the events occur.\n */\nclass UniqueSelectionDispatcher {\n    constructor() {\n        this._listeners = [];\n    }\n    /**\n     * Notify other items that selection for the given name has been set.\n     * @param {?} id ID of the item.\n     * @param {?} name Name of the item.\n     * @return {?}\n     */\n    notify(id, name) {\n        for (let listener of this._listeners) {\n            listener(id, name);\n        }\n    }\n    /**\n     * Listen for future changes to item selection.\n     * @param {?} listener\n     * @return {?} Function used to deregister listener\n     */\n    listen(listener) {\n        this._listeners.push(listener);\n        return (/**\n         * @return {?}\n         */\n        () => {\n            this._listeners = this._listeners.filter((/**\n             * @param {?} registered\n             * @return {?}\n             */\n            (registered) => {\n                return listener !== registered;\n            }));\n        });\n    }\n    /**\n     * @return {?}\n     */\n    ngOnDestroy() {\n        this._listeners = [];\n    }\n}\nUniqueSelectionDispatcher.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */ UniqueSelectionDispatcher.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵdefineInjectable\"])({ factory: function UniqueSelectionDispatcher_Factory() { return new UniqueSelectionDispatcher(); }, token: UniqueSelectionDispatcher, providedIn: \"root\" });\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n\n//# sourceMappingURL=collections.js.map\n\n\n/***/ }),\n\n/***/ \"./node_modules/@angular/cdk/esm2015/keycodes.js\":\n/*!*******************************************************!*\\\n  !*** ./node_modules/@angular/cdk/esm2015/keycodes.js ***!\n  \\*******************************************************/\n/*! exports provided: MAC_ENTER, BACKSPACE, TAB, NUM_CENTER, ENTER, SHIFT, CONTROL, ALT, PAUSE, CAPS_LOCK, ESCAPE, SPACE, PAGE_UP, PAGE_DOWN, END, HOME, LEFT_ARROW, UP_ARROW, RIGHT_ARROW, DOWN_ARROW, PLUS_SIGN, PRINT_SCREEN, INSERT, DELETE, ZERO, ONE, TWO, THREE, FOUR, FIVE, SIX, SEVEN, EIGHT, NINE, FF_SEMICOLON, FF_EQUALS, QUESTION_MARK, AT_SIGN, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, META, MAC_WK_CMD_LEFT, MAC_WK_CMD_RIGHT, CONTEXT_MENU, NUMPAD_ZERO, NUMPAD_ONE, NUMPAD_TWO, NUMPAD_THREE, NUMPAD_FOUR, NUMPAD_FIVE, NUMPAD_SIX, NUMPAD_SEVEN, NUMPAD_EIGHT, NUMPAD_NINE, NUMPAD_MULTIPLY, NUMPAD_PLUS, NUMPAD_MINUS, NUMPAD_PERIOD, NUMPAD_DIVIDE, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, NUM_LOCK, SCROLL_LOCK, FIRST_MEDIA, FF_MINUS, MUTE, VOLUME_DOWN, VOLUME_UP, FF_MUTE, FF_VOLUME_DOWN, LAST_MEDIA, FF_VOLUME_UP, SEMICOLON, EQUALS, COMMA, DASH, SLASH, APOSTROPHE, TILDE, OPEN_SQUARE_BRACKET, BACKSLASH, CLOSE_SQUARE_BRACKET, SINGLE_QUOTE, MAC_META, hasModifierKey */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MAC_ENTER\", function() { return MAC_ENTER; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BACKSPACE\", function() { return BACKSPACE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TAB\", function() { return TAB; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NUM_CENTER\", function() { return NUM_CENTER; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ENTER\", function() { return ENTER; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SHIFT\", function() { return SHIFT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CONTROL\", function() { return CONTROL; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ALT\", function() { return ALT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PAUSE\", function() { return PAUSE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CAPS_LOCK\", function() { return CAPS_LOCK; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ESCAPE\", function() { return ESCAPE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SPACE\", function() { return SPACE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PAGE_UP\", function() { return PAGE_UP; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PAGE_DOWN\", function() { return PAGE_DOWN; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"END\", function() { return END; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"HOME\", function() { return HOME; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LEFT_ARROW\", function() { return LEFT_ARROW; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"UP_ARROW\", function() { return UP_ARROW; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RIGHT_ARROW\", function() { return RIGHT_ARROW; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DOWN_ARROW\", function() { return DOWN_ARROW; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PLUS_SIGN\", function() { return PLUS_SIGN; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PRINT_SCREEN\", function() { return PRINT_SCREEN; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"INSERT\", function() { return INSERT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DELETE\", function() { return DELETE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ZERO\", function() { return ZERO; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ONE\", function() { return ONE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TWO\", function() { return TWO; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"THREE\", function() { return THREE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FOUR\", function() { return FOUR; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FIVE\", function() { return FIVE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SIX\", function() { return SIX; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SEVEN\", function() { return SEVEN; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"EIGHT\", function() { return EIGHT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NINE\", function() { return NINE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FF_SEMICOLON\", function() { return FF_SEMICOLON; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FF_EQUALS\", function() { return FF_EQUALS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"QUESTION_MARK\", function() { return QUESTION_MARK; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AT_SIGN\", function() { return AT_SIGN; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"A\", function() { return A; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"B\", function() { return B; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"C\", function() { return C; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"D\", function() { return D; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"E\", function() { return E; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"F\", function() { return F; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"G\", function() { return G; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"H\", function() { return H; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"I\", function() { return I; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"J\", function() { return J; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"K\", function() { return K; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"L\", function() { return L; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"M\", function() { return M; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"N\", function() { return N; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"O\", function() { return O; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"P\", function() { return P; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Q\", function() { return Q; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"R\", function() { return R; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"S\", function() { return S; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"T\", function() { return T; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"U\", function() { return U; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"V\", function() { return V; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"W\", function() { return W; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"X\", function() { return X; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Y\", function() { return Y; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Z\", function() { return Z; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"META\", function() { return META; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MAC_WK_CMD_LEFT\", function() { return MAC_WK_CMD_LEFT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MAC_WK_CMD_RIGHT\", function() { return MAC_WK_CMD_RIGHT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CONTEXT_MENU\", function() { return CONTEXT_MENU; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NUMPAD_ZERO\", function() { return NUMPAD_ZERO; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NUMPAD_ONE\", function() { return NUMPAD_ONE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NUMPAD_TWO\", function() { return NUMPAD_TWO; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NUMPAD_THREE\", function() { return NUMPAD_THREE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NUMPAD_FOUR\", function() { return NUMPAD_FOUR; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NUMPAD_FIVE\", function() { return NUMPAD_FIVE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NUMPAD_SIX\", function() { return NUMPAD_SIX; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NUMPAD_SEVEN\", function() { return NUMPAD_SEVEN; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NUMPAD_EIGHT\", function() { return NUMPAD_EIGHT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NUMPAD_NINE\", function() { return NUMPAD_NINE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NUMPAD_MULTIPLY\", function() { return NUMPAD_MULTIPLY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NUMPAD_PLUS\", function() { return NUMPAD_PLUS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NUMPAD_MINUS\", function() { return NUMPAD_MINUS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NUMPAD_PERIOD\", function() { return NUMPAD_PERIOD; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NUMPAD_DIVIDE\", function() { return NUMPAD_DIVIDE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"F1\", function() { return F1; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"F2\", function() { return F2; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"F3\", function() { return F3; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"F4\", function() { return F4; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"F5\", function() { return F5; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"F6\", function() { return F6; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"F7\", function() { return F7; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"F8\", function() { return F8; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"F9\", function() { return F9; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"F10\", function() { return F10; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"F11\", function() { return F11; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"F12\", function() { return F12; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NUM_LOCK\", function() { return NUM_LOCK; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SCROLL_LOCK\", function() { return SCROLL_LOCK; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FIRST_MEDIA\", function() { return FIRST_MEDIA; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FF_MINUS\", function() { return FF_MINUS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MUTE\", function() { return MUTE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VOLUME_DOWN\", function() { return VOLUME_DOWN; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VOLUME_UP\", function() { return VOLUME_UP; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FF_MUTE\", function() { return FF_MUTE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FF_VOLUME_DOWN\", function() { return FF_VOLUME_DOWN; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LAST_MEDIA\", function() { return LAST_MEDIA; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FF_VOLUME_UP\", function() { return FF_VOLUME_UP; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SEMICOLON\", function() { return SEMICOLON; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"EQUALS\", function() { return EQUALS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"COMMA\", function() { return COMMA; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DASH\", function() { return DASH; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SLASH\", function() { return SLASH; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"APOSTROPHE\", function() { return APOSTROPHE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TILDE\", function() { return TILDE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"OPEN_SQUARE_BRACKET\", function() { return OPEN_SQUARE_BRACKET; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BACKSLASH\", function() { return BACKSLASH; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CLOSE_SQUARE_BRACKET\", function() { return CLOSE_SQUARE_BRACKET; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SINGLE_QUOTE\", function() { return SINGLE_QUOTE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MAC_META\", function() { return MAC_META; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"hasModifierKey\", function() { return hasModifierKey; });\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/** @type {?} */\nconst MAC_ENTER = 3;\n/** @type {?} */\nconst BACKSPACE = 8;\n/** @type {?} */\nconst TAB = 9;\n/** @type {?} */\nconst NUM_CENTER = 12;\n/** @type {?} */\nconst ENTER = 13;\n/** @type {?} */\nconst SHIFT = 16;\n/** @type {?} */\nconst CONTROL = 17;\n/** @type {?} */\nconst ALT = 18;\n/** @type {?} */\nconst PAUSE = 19;\n/** @type {?} */\nconst CAPS_LOCK = 20;\n/** @type {?} */\nconst ESCAPE = 27;\n/** @type {?} */\nconst SPACE = 32;\n/** @type {?} */\nconst PAGE_UP = 33;\n/** @type {?} */\nconst PAGE_DOWN = 34;\n/** @type {?} */\nconst END = 35;\n/** @type {?} */\nconst HOME = 36;\n/** @type {?} */\nconst LEFT_ARROW = 37;\n/** @type {?} */\nconst UP_ARROW = 38;\n/** @type {?} */\nconst RIGHT_ARROW = 39;\n/** @type {?} */\nconst DOWN_ARROW = 40;\n/** @type {?} */\nconst PLUS_SIGN = 43;\n/** @type {?} */\nconst PRINT_SCREEN = 44;\n/** @type {?} */\nconst INSERT = 45;\n/** @type {?} */\nconst DELETE = 46;\n/** @type {?} */\nconst ZERO = 48;\n/** @type {?} */\nconst ONE = 49;\n/** @type {?} */\nconst TWO = 50;\n/** @type {?} */\nconst THREE = 51;\n/** @type {?} */\nconst FOUR = 52;\n/** @type {?} */\nconst FIVE = 53;\n/** @type {?} */\nconst SIX = 54;\n/** @type {?} */\nconst SEVEN = 55;\n/** @type {?} */\nconst EIGHT = 56;\n/** @type {?} */\nconst NINE = 57;\n/** @type {?} */\nconst FF_SEMICOLON = 59;\n// Firefox (Gecko) fires this for semicolon instead of 186\n/** @type {?} */\nconst FF_EQUALS = 61;\n// Firefox (Gecko) fires this for equals instead of 187\n/** @type {?} */\nconst QUESTION_MARK = 63;\n/** @type {?} */\nconst AT_SIGN = 64;\n/** @type {?} */\nconst A = 65;\n/** @type {?} */\nconst B = 66;\n/** @type {?} */\nconst C = 67;\n/** @type {?} */\nconst D = 68;\n/** @type {?} */\nconst E = 69;\n/** @type {?} */\nconst F = 70;\n/** @type {?} */\nconst G = 71;\n/** @type {?} */\nconst H = 72;\n/** @type {?} */\nconst I = 73;\n/** @type {?} */\nconst J = 74;\n/** @type {?} */\nconst K = 75;\n/** @type {?} */\nconst L = 76;\n/** @type {?} */\nconst M = 77;\n/** @type {?} */\nconst N = 78;\n/** @type {?} */\nconst O = 79;\n/** @type {?} */\nconst P = 80;\n/** @type {?} */\nconst Q = 81;\n/** @type {?} */\nconst R = 82;\n/** @type {?} */\nconst S = 83;\n/** @type {?} */\nconst T = 84;\n/** @type {?} */\nconst U = 85;\n/** @type {?} */\nconst V = 86;\n/** @type {?} */\nconst W = 87;\n/** @type {?} */\nconst X = 88;\n/** @type {?} */\nconst Y = 89;\n/** @type {?} */\nconst Z = 90;\n/** @type {?} */\nconst META = 91;\n// WIN_KEY_LEFT\n/** @type {?} */\nconst MAC_WK_CMD_LEFT = 91;\n/** @type {?} */\nconst MAC_WK_CMD_RIGHT = 93;\n/** @type {?} */\nconst CONTEXT_MENU = 93;\n/** @type {?} */\nconst NUMPAD_ZERO = 96;\n/** @type {?} */\nconst NUMPAD_ONE = 97;\n/** @type {?} */\nconst NUMPAD_TWO = 98;\n/** @type {?} */\nconst NUMPAD_THREE = 99;\n/** @type {?} */\nconst NUMPAD_FOUR = 100;\n/** @type {?} */\nconst NUMPAD_FIVE = 101;\n/** @type {?} */\nconst NUMPAD_SIX = 102;\n/** @type {?} */\nconst NUMPAD_SEVEN = 103;\n/** @type {?} */\nconst NUMPAD_EIGHT = 104;\n/** @type {?} */\nconst NUMPAD_NINE = 105;\n/** @type {?} */\nconst NUMPAD_MULTIPLY = 106;\n/** @type {?} */\nconst NUMPAD_PLUS = 107;\n/** @type {?} */\nconst NUMPAD_MINUS = 109;\n/** @type {?} */\nconst NUMPAD_PERIOD = 110;\n/** @type {?} */\nconst NUMPAD_DIVIDE = 111;\n/** @type {?} */\nconst F1 = 112;\n/** @type {?} */\nconst F2 = 113;\n/** @type {?} */\nconst F3 = 114;\n/** @type {?} */\nconst F4 = 115;\n/** @type {?} */\nconst F5 = 116;\n/** @type {?} */\nconst F6 = 117;\n/** @type {?} */\nconst F7 = 118;\n/** @type {?} */\nconst F8 = 119;\n/** @type {?} */\nconst F9 = 120;\n/** @type {?} */\nconst F10 = 121;\n/** @type {?} */\nconst F11 = 122;\n/** @type {?} */\nconst F12 = 123;\n/** @type {?} */\nconst NUM_LOCK = 144;\n/** @type {?} */\nconst SCROLL_LOCK = 145;\n/** @type {?} */\nconst FIRST_MEDIA = 166;\n/** @type {?} */\nconst FF_MINUS = 173;\n/** @type {?} */\nconst MUTE = 173;\n// Firefox (Gecko) fires 181 for MUTE\n/** @type {?} */\nconst VOLUME_DOWN = 174;\n// Firefox (Gecko) fires 182 for VOLUME_DOWN\n/** @type {?} */\nconst VOLUME_UP = 175;\n// Firefox (Gecko) fires 183 for VOLUME_UP\n/** @type {?} */\nconst FF_MUTE = 181;\n/** @type {?} */\nconst FF_VOLUME_DOWN = 182;\n/** @type {?} */\nconst LAST_MEDIA = 183;\n/** @type {?} */\nconst FF_VOLUME_UP = 183;\n/** @type {?} */\nconst SEMICOLON = 186;\n// Firefox (Gecko) fires 59 for SEMICOLON\n/** @type {?} */\nconst EQUALS = 187;\n// Firefox (Gecko) fires 61 for EQUALS\n/** @type {?} */\nconst COMMA = 188;\n/** @type {?} */\nconst DASH = 189;\n// Firefox (Gecko) fires 173 for DASH/MINUS\n/** @type {?} */\nconst SLASH = 191;\n/** @type {?} */\nconst APOSTROPHE = 192;\n/** @type {?} */\nconst TILDE = 192;\n/** @type {?} */\nconst OPEN_SQUARE_BRACKET = 219;\n/** @type {?} */\nconst BACKSLASH = 220;\n/** @type {?} */\nconst CLOSE_SQUARE_BRACKET = 221;\n/** @type {?} */\nconst SINGLE_QUOTE = 222;\n/** @type {?} */\nconst MAC_META = 224;\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * Checks whether a modifier key is pressed.\n * @param {?} event Event to be checked.\n * @param {...?} modifiers\n * @return {?}\n */\nfunction hasModifierKey(event, ...modifiers) {\n    if (modifiers.length) {\n        return modifiers.some((/**\n         * @param {?} modifier\n         * @return {?}\n         */\n        modifier => event[modifier]));\n    }\n    return event.altKey || event.shiftKey || event.ctrlKey || event.metaKey;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n\n//# sourceMappingURL=keycodes.js.map\n\n\n/***/ }),\n\n/***/ \"./node_modules/@angular/cdk/esm2015/layout.js\":\n/*!*****************************************************!*\\\n  !*** ./node_modules/@angular/cdk/esm2015/layout.js ***!\n  \\*****************************************************/\n/*! exports provided: LayoutModule, BreakpointObserver, Breakpoints, MediaMatcher */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LayoutModule\", function() { return LayoutModule; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BreakpointObserver\", function() { return BreakpointObserver; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Breakpoints\", function() { return Breakpoints; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MediaMatcher\", function() { return MediaMatcher; });\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/cdk/platform */ \"./node_modules/@angular/cdk/esm2015/platform.js\");\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ \"./node_modules/rxjs/_esm2015/index.js\");\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ \"./node_modules/rxjs/_esm2015/operators/index.js\");\n/* harmony import */ var _angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/cdk/coercion */ \"./node_modules/@angular/cdk/esm2015/coercion.js\");\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\n\n\n\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass LayoutModule {\n}\nLayoutModule.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"], args: [{},] },\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Global registry for all dynamically-created, injected media queries.\n * @type {?}\n */\nconst mediaQueriesForWebkitCompatibility = new Set();\n/**\n * Style tag that holds all of the dynamically-created media queries.\n * @type {?}\n */\nlet mediaQueryStyleNode;\n/**\n * A utility for calling matchMedia queries.\n */\nclass MediaMatcher {\n    /**\n     * @param {?} _platform\n     */\n    constructor(_platform) {\n        this._platform = _platform;\n        this._matchMedia = this._platform.isBrowser && window.matchMedia ?\n            // matchMedia is bound to the window scope intentionally as it is an illegal invocation to\n            // call it from a different scope.\n            window.matchMedia.bind(window) :\n            noopMatchMedia;\n    }\n    /**\n     * Evaluates the given media query and returns the native MediaQueryList from which results\n     * can be retrieved.\n     * Confirms the layout engine will trigger for the selector query provided and returns the\n     * MediaQueryList for the query provided.\n     * @param {?} query\n     * @return {?}\n     */\n    matchMedia(query) {\n        if (this._platform.WEBKIT) {\n            createEmptyStyleRule(query);\n        }\n        return this._matchMedia(query);\n    }\n}\nMediaMatcher.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */\nMediaMatcher.ctorParameters = () => [\n    { type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_1__[\"Platform\"] }\n];\n/** @nocollapse */ MediaMatcher.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({ factory: function MediaMatcher_Factory() { return new MediaMatcher(Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_1__[\"Platform\"])); }, token: MediaMatcher, providedIn: \"root\" });\n/**\n * For Webkit engines that only trigger the MediaQueryListListener when\n * there is at least one CSS selector for the respective media query.\n * @param {?} query\n * @return {?}\n */\nfunction createEmptyStyleRule(query) {\n    if (mediaQueriesForWebkitCompatibility.has(query)) {\n        return;\n    }\n    try {\n        if (!mediaQueryStyleNode) {\n            mediaQueryStyleNode = document.createElement('style');\n            mediaQueryStyleNode.setAttribute('type', 'text/css');\n            (/** @type {?} */ (document.head)).appendChild(mediaQueryStyleNode);\n        }\n        if (mediaQueryStyleNode.sheet) {\n            ((/** @type {?} */ (mediaQueryStyleNode.sheet)))\n                .insertRule(`@media ${query} {.fx-query-test{ }}`, 0);\n            mediaQueriesForWebkitCompatibility.add(query);\n        }\n    }\n    catch (e) {\n        console.error(e);\n    }\n}\n/**\n * No-op matchMedia replacement for non-browser platforms.\n * @param {?} query\n * @return {?}\n */\nfunction noopMatchMedia(query) {\n    // Use `as any` here to avoid adding additional necessary properties for\n    // the noop matcher.\n    return (/** @type {?} */ ({\n        matches: query === 'all' || query === '',\n        media: query,\n        addListener: (/**\n         * @return {?}\n         */\n        () => { }),\n        removeListener: (/**\n         * @return {?}\n         */\n        () => { })\n    }));\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Utility for checking the matching state of \\@media queries.\n */\nclass BreakpointObserver {\n    /**\n     * @param {?} _mediaMatcher\n     * @param {?} _zone\n     */\n    constructor(_mediaMatcher, _zone) {\n        this._mediaMatcher = _mediaMatcher;\n        this._zone = _zone;\n        /**\n         * A map of all media queries currently being listened for.\n         */\n        this._queries = new Map();\n        /**\n         * A subject for all other observables to takeUntil based on.\n         */\n        this._destroySubject = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Subject\"]();\n    }\n    /**\n     * Completes the active subject, signalling to all other observables to complete.\n     * @return {?}\n     */\n    ngOnDestroy() {\n        this._destroySubject.next();\n        this._destroySubject.complete();\n    }\n    /**\n     * Whether one or more media queries match the current viewport size.\n     * @param {?} value One or more media queries to check.\n     * @return {?} Whether any of the media queries match.\n     */\n    isMatched(value) {\n        /** @type {?} */\n        const queries = splitQueries(Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_4__[\"coerceArray\"])(value));\n        return queries.some((/**\n         * @param {?} mediaQuery\n         * @return {?}\n         */\n        mediaQuery => this._registerQuery(mediaQuery).mql.matches));\n    }\n    /**\n     * Gets an observable of results for the given queries that will emit new results for any changes\n     * in matching of the given queries.\n     * @param {?} value One or more media queries to check.\n     * @return {?} A stream of matches for the given queries.\n     */\n    observe(value) {\n        /** @type {?} */\n        const queries = splitQueries(Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_4__[\"coerceArray\"])(value));\n        /** @type {?} */\n        const observables = queries.map((/**\n         * @param {?} query\n         * @return {?}\n         */\n        query => this._registerQuery(query).observable));\n        /** @type {?} */\n        let stateObservable = Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"combineLatest\"])(observables);\n        // Emit the first state immediately, and then debounce the subsequent emissions.\n        stateObservable = Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"concat\"])(stateObservable.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"take\"])(1)), stateObservable.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"skip\"])(1), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"debounceTime\"])(0)));\n        return stateObservable.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])((/**\n         * @param {?} breakpointStates\n         * @return {?}\n         */\n        (breakpointStates) => {\n            /** @type {?} */\n            const response = {\n                matches: false,\n                breakpoints: {},\n            };\n            breakpointStates.forEach((/**\n             * @param {?} state\n             * @return {?}\n             */\n            (state) => {\n                response.matches = response.matches || state.matches;\n                response.breakpoints[state.query] = state.matches;\n            }));\n            return response;\n        })));\n    }\n    /**\n     * Registers a specific query to be listened for.\n     * @private\n     * @param {?} query\n     * @return {?}\n     */\n    _registerQuery(query) {\n        // Only set up a new MediaQueryList if it is not already being listened for.\n        if (this._queries.has(query)) {\n            return (/** @type {?} */ (this._queries.get(query)));\n        }\n        /** @type {?} */\n        const mql = this._mediaMatcher.matchMedia(query);\n        // Create callback for match changes and add it is as a listener.\n        /** @type {?} */\n        const queryObservable = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Observable\"]((/**\n         * @param {?} observer\n         * @return {?}\n         */\n        (observer) => {\n            // Listener callback methods are wrapped to be placed back in ngZone. Callbacks must be placed\n            // back into the zone because matchMedia is only included in Zone.js by loading the\n            // webapis-media-query.js file alongside the zone.js file.  Additionally, some browsers do not\n            // have MediaQueryList inherit from EventTarget, which causes inconsistencies in how Zone.js\n            // patches it.\n            /** @type {?} */\n            const handler = (/**\n             * @param {?} e\n             * @return {?}\n             */\n            (e) => this._zone.run((/**\n             * @return {?}\n             */\n            () => observer.next(e))));\n            mql.addListener(handler);\n            return (/**\n             * @return {?}\n             */\n            () => {\n                mql.removeListener(handler);\n            });\n        })).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"startWith\"])(mql), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])((/**\n         * @param {?} nextMql\n         * @return {?}\n         */\n        (nextMql) => ({ query, matches: nextMql.matches }))), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"takeUntil\"])(this._destroySubject));\n        // Add the MediaQueryList to the set of queries.\n        /** @type {?} */\n        const output = { observable: queryObservable, mql };\n        this._queries.set(query, output);\n        return output;\n    }\n}\nBreakpointObserver.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */\nBreakpointObserver.ctorParameters = () => [\n    { type: MediaMatcher },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgZone\"] }\n];\n/** @nocollapse */ BreakpointObserver.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({ factory: function BreakpointObserver_Factory() { return new BreakpointObserver(Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(MediaMatcher), Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgZone\"])); }, token: BreakpointObserver, providedIn: \"root\" });\n/**\n * Split each query string into separate query strings if two queries are provided as comma\n * separated.\n * @param {?} queries\n * @return {?}\n */\nfunction splitQueries(queries) {\n    return queries.map((/**\n     * @param {?} query\n     * @return {?}\n     */\n    (query) => query.split(',')))\n        .reduce((/**\n     * @param {?} a1\n     * @param {?} a2\n     * @return {?}\n     */\n    (a1, a2) => a1.concat(a2)))\n        .map((/**\n     * @param {?} query\n     * @return {?}\n     */\n    query => query.trim()));\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n// PascalCase is being used as Breakpoints is used like an enum.\n// tslint:disable-next-line:variable-name\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n * @type {?}\n */\nconst Breakpoints = {\n    XSmall: '(max-width: 599.99px)',\n    Small: '(min-width: 600px) and (max-width: 959.99px)',\n    Medium: '(min-width: 960px) and (max-width: 1279.99px)',\n    Large: '(min-width: 1280px) and (max-width: 1919.99px)',\n    XLarge: '(min-width: 1920px)',\n    Handset: '(max-width: 599.99px) and (orientation: portrait), ' +\n        '(max-width: 959.99px) and (orientation: landscape)',\n    Tablet: '(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait), ' +\n        '(min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)',\n    Web: '(min-width: 840px) and (orientation: portrait), ' +\n        '(min-width: 1280px) and (orientation: landscape)',\n    HandsetPortrait: '(max-width: 599.99px) and (orientation: portrait)',\n    TabletPortrait: '(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait)',\n    WebPortrait: '(min-width: 840px) and (orientation: portrait)',\n    HandsetLandscape: '(max-width: 959.99px) and (orientation: landscape)',\n    TabletLandscape: '(min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)',\n    WebLandscape: '(min-width: 1280px) and (orientation: landscape)',\n};\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n\n//# sourceMappingURL=layout.js.map\n\n\n/***/ }),\n\n/***/ \"./node_modules/@angular/cdk/esm2015/observers.js\":\n/*!********************************************************!*\\\n  !*** ./node_modules/@angular/cdk/esm2015/observers.js ***!\n  \\********************************************************/\n/*! exports provided: MutationObserverFactory, ContentObserver, CdkObserveContent, ObserversModule */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MutationObserverFactory\", function() { return MutationObserverFactory; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ContentObserver\", function() { return ContentObserver; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CdkObserveContent\", function() { return CdkObserveContent; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ObserversModule\", function() { return ObserversModule; });\n/* harmony import */ var _angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/cdk/coercion */ \"./node_modules/@angular/cdk/esm2015/coercion.js\");\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ \"./node_modules/rxjs/_esm2015/index.js\");\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ \"./node_modules/rxjs/_esm2015/operators/index.js\");\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\n\n\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Factory that creates a new MutationObserver and allows us to stub it out in unit tests.\n * \\@docs-private\n */\nclass MutationObserverFactory {\n    /**\n     * @param {?} callback\n     * @return {?}\n     */\n    create(callback) {\n        return typeof MutationObserver === 'undefined' ? null : new MutationObserver(callback);\n    }\n}\nMutationObserverFactory.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */ MutationObserverFactory.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵdefineInjectable\"])({ factory: function MutationObserverFactory_Factory() { return new MutationObserverFactory(); }, token: MutationObserverFactory, providedIn: \"root\" });\n/**\n * An injectable service that allows watching elements for changes to their content.\n */\nclass ContentObserver {\n    /**\n     * @param {?} _mutationObserverFactory\n     */\n    constructor(_mutationObserverFactory) {\n        this._mutationObserverFactory = _mutationObserverFactory;\n        /**\n         * Keeps track of the existing MutationObservers so they can be reused.\n         */\n        this._observedElements = new Map();\n    }\n    /**\n     * @return {?}\n     */\n    ngOnDestroy() {\n        this._observedElements.forEach((/**\n         * @param {?} _\n         * @param {?} element\n         * @return {?}\n         */\n        (_, element) => this._cleanupObserver(element)));\n    }\n    /**\n     * @param {?} elementOrRef\n     * @return {?}\n     */\n    observe(elementOrRef) {\n        /** @type {?} */\n        const element = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceElement\"])(elementOrRef);\n        return new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Observable\"]((/**\n         * @param {?} observer\n         * @return {?}\n         */\n        (observer) => {\n            /** @type {?} */\n            const stream = this._observeElement(element);\n            /** @type {?} */\n            const subscription = stream.subscribe(observer);\n            return (/**\n             * @return {?}\n             */\n            () => {\n                subscription.unsubscribe();\n                this._unobserveElement(element);\n            });\n        }));\n    }\n    /**\n     * Observes the given element by using the existing MutationObserver if available, or creating a\n     * new one if not.\n     * @private\n     * @param {?} element\n     * @return {?}\n     */\n    _observeElement(element) {\n        if (!this._observedElements.has(element)) {\n            /** @type {?} */\n            const stream = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Subject\"]();\n            /** @type {?} */\n            const observer = this._mutationObserverFactory.create((/**\n             * @param {?} mutations\n             * @return {?}\n             */\n            mutations => stream.next(mutations)));\n            if (observer) {\n                observer.observe(element, {\n                    characterData: true,\n                    childList: true,\n                    subtree: true\n                });\n            }\n            this._observedElements.set(element, { observer, stream, count: 1 });\n        }\n        else {\n            (/** @type {?} */ (this._observedElements.get(element))).count++;\n        }\n        return (/** @type {?} */ (this._observedElements.get(element))).stream;\n    }\n    /**\n     * Un-observes the given element and cleans up the underlying MutationObserver if nobody else is\n     * observing this element.\n     * @private\n     * @param {?} element\n     * @return {?}\n     */\n    _unobserveElement(element) {\n        if (this._observedElements.has(element)) {\n            (/** @type {?} */ (this._observedElements.get(element))).count--;\n            if (!(/** @type {?} */ (this._observedElements.get(element))).count) {\n                this._cleanupObserver(element);\n            }\n        }\n    }\n    /**\n     * Clean up the underlying MutationObserver for the specified element.\n     * @private\n     * @param {?} element\n     * @return {?}\n     */\n    _cleanupObserver(element) {\n        if (this._observedElements.has(element)) {\n            const { observer, stream } = (/** @type {?} */ (this._observedElements.get(element)));\n            if (observer) {\n                observer.disconnect();\n            }\n            stream.complete();\n            this._observedElements.delete(element);\n        }\n    }\n}\nContentObserver.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */\nContentObserver.ctorParameters = () => [\n    { type: MutationObserverFactory }\n];\n/** @nocollapse */ ContentObserver.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵdefineInjectable\"])({ factory: function ContentObserver_Factory() { return new ContentObserver(Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(MutationObserverFactory)); }, token: ContentObserver, providedIn: \"root\" });\n/**\n * Directive that triggers a callback whenever the content of\n * its associated element has changed.\n */\nclass CdkObserveContent {\n    /**\n     * @param {?} _contentObserver\n     * @param {?} _elementRef\n     * @param {?} _ngZone\n     */\n    constructor(_contentObserver, _elementRef, _ngZone) {\n        this._contentObserver = _contentObserver;\n        this._elementRef = _elementRef;\n        this._ngZone = _ngZone;\n        /**\n         * Event emitted for each change in the element's content.\n         */\n        this.event = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"EventEmitter\"]();\n        this._disabled = false;\n        this._currentSubscription = null;\n    }\n    /**\n     * Whether observing content is disabled. This option can be used\n     * to disconnect the underlying MutationObserver until it is needed.\n     * @return {?}\n     */\n    get disabled() { return this._disabled; }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    set disabled(value) {\n        this._disabled = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceBooleanProperty\"])(value);\n        this._disabled ? this._unsubscribe() : this._subscribe();\n    }\n    /**\n     * Debounce interval for emitting the changes.\n     * @return {?}\n     */\n    get debounce() { return this._debounce; }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    set debounce(value) {\n        this._debounce = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceNumberProperty\"])(value);\n        this._subscribe();\n    }\n    /**\n     * @return {?}\n     */\n    ngAfterContentInit() {\n        if (!this._currentSubscription && !this.disabled) {\n            this._subscribe();\n        }\n    }\n    /**\n     * @return {?}\n     */\n    ngOnDestroy() {\n        this._unsubscribe();\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _subscribe() {\n        this._unsubscribe();\n        /** @type {?} */\n        const stream = this._contentObserver.observe(this._elementRef);\n        // TODO(mmalerba): We shouldn't be emitting on this @Output() outside the zone.\n        // Consider brining it back inside the zone next time we're making breaking changes.\n        // Bringing it back inside can cause things like infinite change detection loops and changed\n        // after checked errors if people's code isn't handling it properly.\n        this._ngZone.runOutsideAngular((/**\n         * @return {?}\n         */\n        () => {\n            this._currentSubscription =\n                (this.debounce ? stream.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"debounceTime\"])(this.debounce)) : stream).subscribe(this.event);\n        }));\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _unsubscribe() {\n        if (this._currentSubscription) {\n            this._currentSubscription.unsubscribe();\n        }\n    }\n}\nCdkObserveContent.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Directive\"], args: [{\n                selector: '[cdkObserveContent]',\n                exportAs: 'cdkObserveContent',\n            },] },\n];\n/** @nocollapse */\nCdkObserveContent.ctorParameters = () => [\n    { type: ContentObserver },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ElementRef\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgZone\"] }\n];\nCdkObserveContent.propDecorators = {\n    event: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Output\"], args: ['cdkObserveContent',] }],\n    disabled: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"], args: ['cdkObserveContentDisabled',] }],\n    debounce: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"] }]\n};\nclass ObserversModule {\n}\nObserversModule.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgModule\"], args: [{\n                exports: [CdkObserveContent],\n                declarations: [CdkObserveContent],\n                providers: [MutationObserverFactory]\n            },] },\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n\n//# sourceMappingURL=observers.js.map\n\n\n/***/ }),\n\n/***/ \"./node_modules/@angular/cdk/esm2015/overlay.js\":\n/*!******************************************************!*\\\n  !*** ./node_modules/@angular/cdk/esm2015/overlay.js ***!\n  \\******************************************************/\n/*! exports provided: ViewportRuler, VIEWPORT_RULER_PROVIDER, CdkScrollable, ScrollDispatcher, Overlay, OverlayContainer, CdkOverlayOrigin, CdkConnectedOverlay, FullscreenOverlayContainer, OverlayRef, OverlayKeyboardDispatcher, OverlayPositionBuilder, GlobalPositionStrategy, ConnectedPositionStrategy, FlexibleConnectedPositionStrategy, OverlayConfig, validateVerticalPosition, validateHorizontalPosition, ConnectionPositionPair, ScrollingVisibility, ConnectedOverlayPositionChange, ScrollStrategyOptions, RepositionScrollStrategy, CloseScrollStrategy, NoopScrollStrategy, BlockScrollStrategy, OverlayModule, OVERLAY_PROVIDERS, ɵg, ɵf, ɵb, ɵa, ɵc, ɵe, ɵd */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Overlay\", function() { return Overlay; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"OverlayContainer\", function() { return OverlayContainer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CdkOverlayOrigin\", function() { return CdkOverlayOrigin; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CdkConnectedOverlay\", function() { return CdkConnectedOverlay; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FullscreenOverlayContainer\", function() { return FullscreenOverlayContainer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"OverlayRef\", function() { return OverlayRef; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"OverlayKeyboardDispatcher\", function() { return OverlayKeyboardDispatcher; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"OverlayPositionBuilder\", function() { return OverlayPositionBuilder; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"GlobalPositionStrategy\", function() { return GlobalPositionStrategy; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ConnectedPositionStrategy\", function() { return ConnectedPositionStrategy; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FlexibleConnectedPositionStrategy\", function() { return FlexibleConnectedPositionStrategy; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"OverlayConfig\", function() { return OverlayConfig; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"validateVerticalPosition\", function() { return validateVerticalPosition; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"validateHorizontalPosition\", function() { return validateHorizontalPosition; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ConnectionPositionPair\", function() { return ConnectionPositionPair; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ScrollingVisibility\", function() { return ScrollingVisibility; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ConnectedOverlayPositionChange\", function() { return ConnectedOverlayPositionChange; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ScrollStrategyOptions\", function() { return ScrollStrategyOptions; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RepositionScrollStrategy\", function() { return RepositionScrollStrategy; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CloseScrollStrategy\", function() { return CloseScrollStrategy; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NoopScrollStrategy\", function() { return NoopScrollStrategy; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BlockScrollStrategy\", function() { return BlockScrollStrategy; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"OverlayModule\", function() { return OverlayModule; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"OVERLAY_PROVIDERS\", function() { return OVERLAY_PROVIDERS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵg\", function() { return OVERLAY_KEYBOARD_DISPATCHER_PROVIDER; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵf\", function() { return OVERLAY_KEYBOARD_DISPATCHER_PROVIDER_FACTORY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵb\", function() { return OVERLAY_CONTAINER_PROVIDER; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵa\", function() { return OVERLAY_CONTAINER_PROVIDER_FACTORY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵc\", function() { return CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵe\", function() { return CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵd\", function() { return CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER_FACTORY; });\n/* harmony import */ var _angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/cdk/coercion */ \"./node_modules/@angular/cdk/esm2015/coercion.js\");\n/* harmony import */ var _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/cdk/scrolling */ \"./node_modules/@angular/cdk/esm2015/scrolling.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ViewportRuler\", function() { return _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_1__[\"ViewportRuler\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"VIEWPORT_RULER_PROVIDER\", function() { return _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_1__[\"VIEWPORT_RULER_PROVIDER\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CdkScrollable\", function() { return _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_1__[\"CdkScrollable\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ScrollDispatcher\", function() { return _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_1__[\"ScrollDispatcher\"]; });\n\n/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ \"./node_modules/@angular/common/fesm2015/common.js\");\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs */ \"./node_modules/rxjs/_esm2015/index.js\");\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rxjs/operators */ \"./node_modules/rxjs/_esm2015/operators/index.js\");\n/* harmony import */ var _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/cdk/platform */ \"./node_modules/@angular/cdk/esm2015/platform.js\");\n/* harmony import */ var _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/cdk/bidi */ \"./node_modules/@angular/cdk/esm2015/bidi.js\");\n/* harmony import */ var _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/cdk/portal */ \"./node_modules/@angular/cdk/esm2015/portal.js\");\n/* harmony import */ var _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/cdk/keycodes */ \"./node_modules/@angular/cdk/esm2015/keycodes.js\");\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\n\n\n\n\n\n\n\n\n\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Strategy that will prevent the user from scrolling while the overlay is visible.\n */\nclass BlockScrollStrategy {\n    /**\n     * @param {?} _viewportRuler\n     * @param {?} document\n     */\n    constructor(_viewportRuler, document) {\n        this._viewportRuler = _viewportRuler;\n        this._previousHTMLStyles = { top: '', left: '' };\n        this._isEnabled = false;\n        this._document = document;\n    }\n    /**\n     * Attaches this scroll strategy to an overlay.\n     * @return {?}\n     */\n    attach() { }\n    /**\n     * Blocks page-level scroll while the attached overlay is open.\n     * @return {?}\n     */\n    enable() {\n        if (this._canBeEnabled()) {\n            /** @type {?} */\n            const root = (/** @type {?} */ (this._document.documentElement));\n            this._previousScrollPosition = this._viewportRuler.getViewportScrollPosition();\n            // Cache the previous inline styles in case the user had set them.\n            this._previousHTMLStyles.left = root.style.left || '';\n            this._previousHTMLStyles.top = root.style.top || '';\n            // Note: we're using the `html` node, instead of the `body`, because the `body` may\n            // have the user agent margin, whereas the `html` is guaranteed not to have one.\n            root.style.left = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceCssPixelValue\"])(-this._previousScrollPosition.left);\n            root.style.top = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceCssPixelValue\"])(-this._previousScrollPosition.top);\n            root.classList.add('cdk-global-scrollblock');\n            this._isEnabled = true;\n        }\n    }\n    /**\n     * Unblocks page-level scroll while the attached overlay is open.\n     * @return {?}\n     */\n    disable() {\n        if (this._isEnabled) {\n            /** @type {?} */\n            const html = (/** @type {?} */ (this._document.documentElement));\n            /** @type {?} */\n            const body = (/** @type {?} */ (this._document.body));\n            /** @type {?} */\n            const htmlStyle = (/** @type {?} */ (html.style));\n            /** @type {?} */\n            const bodyStyle = (/** @type {?} */ (body.style));\n            /** @type {?} */\n            const previousHtmlScrollBehavior = htmlStyle.scrollBehavior || '';\n            /** @type {?} */\n            const previousBodyScrollBehavior = bodyStyle.scrollBehavior || '';\n            this._isEnabled = false;\n            htmlStyle.left = this._previousHTMLStyles.left;\n            htmlStyle.top = this._previousHTMLStyles.top;\n            html.classList.remove('cdk-global-scrollblock');\n            // Disable user-defined smooth scrolling temporarily while we restore the scroll position.\n            // See https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-behavior\n            htmlStyle.scrollBehavior = bodyStyle.scrollBehavior = 'auto';\n            window.scroll(this._previousScrollPosition.left, this._previousScrollPosition.top);\n            htmlStyle.scrollBehavior = previousHtmlScrollBehavior;\n            bodyStyle.scrollBehavior = previousBodyScrollBehavior;\n        }\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _canBeEnabled() {\n        // Since the scroll strategies can't be singletons, we have to use a global CSS class\n        // (`cdk-global-scrollblock`) to make sure that we don't try to disable global\n        // scrolling multiple times.\n        /** @type {?} */\n        const html = (/** @type {?} */ (this._document.documentElement));\n        if (html.classList.contains('cdk-global-scrollblock') || this._isEnabled) {\n            return false;\n        }\n        /** @type {?} */\n        const body = this._document.body;\n        /** @type {?} */\n        const viewport = this._viewportRuler.getViewportSize();\n        return body.scrollHeight > viewport.height || body.scrollWidth > viewport.width;\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Returns an error to be thrown when attempting to attach an already-attached scroll strategy.\n * @return {?}\n */\nfunction getMatScrollStrategyAlreadyAttachedError() {\n    return Error(`Scroll strategy has already been attached.`);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Strategy that will close the overlay as soon as the user starts scrolling.\n */\nclass CloseScrollStrategy {\n    /**\n     * @param {?} _scrollDispatcher\n     * @param {?} _ngZone\n     * @param {?} _viewportRuler\n     * @param {?=} _config\n     */\n    constructor(_scrollDispatcher, _ngZone, _viewportRuler, _config) {\n        this._scrollDispatcher = _scrollDispatcher;\n        this._ngZone = _ngZone;\n        this._viewportRuler = _viewportRuler;\n        this._config = _config;\n        this._scrollSubscription = null;\n        /**\n         * Detaches the overlay ref and disables the scroll strategy.\n         */\n        this._detach = (/**\n         * @return {?}\n         */\n        () => {\n            this.disable();\n            if (this._overlayRef.hasAttached()) {\n                this._ngZone.run((/**\n                 * @return {?}\n                 */\n                () => this._overlayRef.detach()));\n            }\n        });\n    }\n    /**\n     * Attaches this scroll strategy to an overlay.\n     * @param {?} overlayRef\n     * @return {?}\n     */\n    attach(overlayRef) {\n        if (this._overlayRef) {\n            throw getMatScrollStrategyAlreadyAttachedError();\n        }\n        this._overlayRef = overlayRef;\n    }\n    /**\n     * Enables the closing of the attached overlay on scroll.\n     * @return {?}\n     */\n    enable() {\n        if (this._scrollSubscription) {\n            return;\n        }\n        /** @type {?} */\n        const stream = this._scrollDispatcher.scrolled(0);\n        if (this._config && this._config.threshold && this._config.threshold > 1) {\n            this._initialScrollPosition = this._viewportRuler.getViewportScrollPosition().top;\n            this._scrollSubscription = stream.subscribe((/**\n             * @return {?}\n             */\n            () => {\n                /** @type {?} */\n                const scrollPosition = this._viewportRuler.getViewportScrollPosition().top;\n                if (Math.abs(scrollPosition - this._initialScrollPosition) > (/** @type {?} */ ((/** @type {?} */ (this._config)).threshold))) {\n                    this._detach();\n                }\n                else {\n                    this._overlayRef.updatePosition();\n                }\n            }));\n        }\n        else {\n            this._scrollSubscription = stream.subscribe(this._detach);\n        }\n    }\n    /**\n     * Disables the closing the attached overlay on scroll.\n     * @return {?}\n     */\n    disable() {\n        if (this._scrollSubscription) {\n            this._scrollSubscription.unsubscribe();\n            this._scrollSubscription = null;\n        }\n    }\n    /**\n     * @return {?}\n     */\n    detach() {\n        this.disable();\n        this._overlayRef = (/** @type {?} */ (null));\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * Scroll strategy that doesn't do anything.\n */\nclass NoopScrollStrategy {\n    /**\n     * Does nothing, as this scroll strategy is a no-op.\n     * @return {?}\n     */\n    enable() { }\n    /**\n     * Does nothing, as this scroll strategy is a no-op.\n     * @return {?}\n     */\n    disable() { }\n    /**\n     * Does nothing, as this scroll strategy is a no-op.\n     * @return {?}\n     */\n    attach() { }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n// TODO(jelbourn): move this to live with the rest of the scrolling code\n// TODO(jelbourn): someday replace this with IntersectionObservers\n/**\n * Gets whether an element is scrolled outside of view by any of its parent scrolling containers.\n * \\@docs-private\n * @param {?} element Dimensions of the element (from getBoundingClientRect)\n * @param {?} scrollContainers Dimensions of element's scrolling containers (from getBoundingClientRect)\n * @return {?} Whether the element is scrolled out of view\n */\nfunction isElementScrolledOutsideView(element, scrollContainers) {\n    return scrollContainers.some((/**\n     * @param {?} containerBounds\n     * @return {?}\n     */\n    containerBounds => {\n        /** @type {?} */\n        const outsideAbove = element.bottom < containerBounds.top;\n        /** @type {?} */\n        const outsideBelow = element.top > containerBounds.bottom;\n        /** @type {?} */\n        const outsideLeft = element.right < containerBounds.left;\n        /** @type {?} */\n        const outsideRight = element.left > containerBounds.right;\n        return outsideAbove || outsideBelow || outsideLeft || outsideRight;\n    }));\n}\n/**\n * Gets whether an element is clipped by any of its scrolling containers.\n * \\@docs-private\n * @param {?} element Dimensions of the element (from getBoundingClientRect)\n * @param {?} scrollContainers Dimensions of element's scrolling containers (from getBoundingClientRect)\n * @return {?} Whether the element is clipped\n */\nfunction isElementClippedByScrolling(element, scrollContainers) {\n    return scrollContainers.some((/**\n     * @param {?} scrollContainerRect\n     * @return {?}\n     */\n    scrollContainerRect => {\n        /** @type {?} */\n        const clippedAbove = element.top < scrollContainerRect.top;\n        /** @type {?} */\n        const clippedBelow = element.bottom > scrollContainerRect.bottom;\n        /** @type {?} */\n        const clippedLeft = element.left < scrollContainerRect.left;\n        /** @type {?} */\n        const clippedRight = element.right > scrollContainerRect.right;\n        return clippedAbove || clippedBelow || clippedLeft || clippedRight;\n    }));\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Strategy that will update the element position as the user is scrolling.\n */\nclass RepositionScrollStrategy {\n    /**\n     * @param {?} _scrollDispatcher\n     * @param {?} _viewportRuler\n     * @param {?} _ngZone\n     * @param {?=} _config\n     */\n    constructor(_scrollDispatcher, _viewportRuler, _ngZone, _config) {\n        this._scrollDispatcher = _scrollDispatcher;\n        this._viewportRuler = _viewportRuler;\n        this._ngZone = _ngZone;\n        this._config = _config;\n        this._scrollSubscription = null;\n    }\n    /**\n     * Attaches this scroll strategy to an overlay.\n     * @param {?} overlayRef\n     * @return {?}\n     */\n    attach(overlayRef) {\n        if (this._overlayRef) {\n            throw getMatScrollStrategyAlreadyAttachedError();\n        }\n        this._overlayRef = overlayRef;\n    }\n    /**\n     * Enables repositioning of the attached overlay on scroll.\n     * @return {?}\n     */\n    enable() {\n        if (!this._scrollSubscription) {\n            /** @type {?} */\n            const throttle = this._config ? this._config.scrollThrottle : 0;\n            this._scrollSubscription = this._scrollDispatcher.scrolled(throttle).subscribe((/**\n             * @return {?}\n             */\n            () => {\n                this._overlayRef.updatePosition();\n                // TODO(crisbeto): make `close` on by default once all components can handle it.\n                if (this._config && this._config.autoClose) {\n                    /** @type {?} */\n                    const overlayRect = this._overlayRef.overlayElement.getBoundingClientRect();\n                    const { width, height } = this._viewportRuler.getViewportSize();\n                    // TODO(crisbeto): include all ancestor scroll containers here once\n                    // we have a way of exposing the trigger element to the scroll strategy.\n                    /** @type {?} */\n                    const parentRects = [{ width, height, bottom: height, right: width, top: 0, left: 0 }];\n                    if (isElementScrolledOutsideView(overlayRect, parentRects)) {\n                        this.disable();\n                        this._ngZone.run((/**\n                         * @return {?}\n                         */\n                        () => this._overlayRef.detach()));\n                    }\n                }\n            }));\n        }\n    }\n    /**\n     * Disables repositioning of the attached overlay on scroll.\n     * @return {?}\n     */\n    disable() {\n        if (this._scrollSubscription) {\n            this._scrollSubscription.unsubscribe();\n            this._scrollSubscription = null;\n        }\n    }\n    /**\n     * @return {?}\n     */\n    detach() {\n        this.disable();\n        this._overlayRef = (/** @type {?} */ (null));\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Options for how an overlay will handle scrolling.\n *\n * Users can provide a custom value for `ScrollStrategyOptions` to replace the default\n * behaviors. This class primarily acts as a factory for ScrollStrategy instances.\n */\nclass ScrollStrategyOptions {\n    /**\n     * @param {?} _scrollDispatcher\n     * @param {?} _viewportRuler\n     * @param {?} _ngZone\n     * @param {?} document\n     */\n    constructor(_scrollDispatcher, _viewportRuler, _ngZone, document) {\n        this._scrollDispatcher = _scrollDispatcher;\n        this._viewportRuler = _viewportRuler;\n        this._ngZone = _ngZone;\n        /**\n         * Do nothing on scroll.\n         */\n        this.noop = (/**\n         * @return {?}\n         */\n        () => new NoopScrollStrategy());\n        /**\n         * Close the overlay as soon as the user scrolls.\n         * @param config Configuration to be used inside the scroll strategy.\n         */\n        this.close = (/**\n         * @param {?=} config\n         * @return {?}\n         */\n        (config) => new CloseScrollStrategy(this._scrollDispatcher, this._ngZone, this._viewportRuler, config));\n        /**\n         * Block scrolling.\n         */\n        this.block = (/**\n         * @return {?}\n         */\n        () => new BlockScrollStrategy(this._viewportRuler, this._document));\n        /**\n         * Update the overlay's position on scroll.\n         * @param config Configuration to be used inside the scroll strategy.\n         * Allows debouncing the reposition calls.\n         */\n        this.reposition = (/**\n         * @param {?=} config\n         * @return {?}\n         */\n        (config) => new RepositionScrollStrategy(this._scrollDispatcher, this._viewportRuler, this._ngZone, config));\n        this._document = document;\n    }\n}\nScrollStrategyOptions.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */\nScrollStrategyOptions.ctorParameters = () => [\n    { type: _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_1__[\"ScrollDispatcher\"] },\n    { type: _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_1__[\"ViewportRuler\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"NgZone\"] },\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Inject\"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_2__[\"DOCUMENT\"],] }] }\n];\n/** @nocollapse */ ScrollStrategyOptions.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ɵɵdefineInjectable\"])({ factory: function ScrollStrategyOptions_Factory() { return new ScrollStrategyOptions(Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ɵɵinject\"])(_angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_1__[\"ScrollDispatcher\"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ɵɵinject\"])(_angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_1__[\"ViewportRuler\"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ɵɵinject\"])(_angular_core__WEBPACK_IMPORTED_MODULE_3__[\"NgZone\"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ɵɵinject\"])(_angular_common__WEBPACK_IMPORTED_MODULE_2__[\"DOCUMENT\"])); }, token: ScrollStrategyOptions, providedIn: \"root\" });\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Initial configuration used when creating an overlay.\n */\nclass OverlayConfig {\n    /**\n     * @param {?=} config\n     */\n    constructor(config) {\n        /**\n         * Strategy to be used when handling scroll events while the overlay is open.\n         */\n        this.scrollStrategy = new NoopScrollStrategy();\n        /**\n         * Custom class to add to the overlay pane.\n         */\n        this.panelClass = '';\n        /**\n         * Whether the overlay has a backdrop.\n         */\n        this.hasBackdrop = false;\n        /**\n         * Custom class to add to the backdrop\n         */\n        this.backdropClass = 'cdk-overlay-dark-backdrop';\n        /**\n         * Whether the overlay should be disposed of when the user goes backwards/forwards in history.\n         * Note that this usually doesn't include clicking on links (unless the user is using\n         * the `HashLocationStrategy`).\n         */\n        this.disposeOnNavigation = false;\n        if (config) {\n            /** @type {?} */\n            const configKeys = (/** @type {?} */ (Object.keys(config)));\n            for (const key of configKeys) {\n                if (config[key] !== undefined) {\n                    // TypeScript, as of version 3.5, sees the left-hand-side of this expression\n                    // as \"I don't know *which* key this is, so the only valid value is the intersection\n                    // of all the posible values.\" In this case, that happens to be `undefined`. TypeScript\n                    // is not smart enough to see that the right-hand-side is actually an access of the same\n                    // exact type with the same exact key, meaning that the value type must be identical.\n                    // So we use `any` to work around this.\n                    this[key] = (/** @type {?} */ (config[key]));\n                }\n            }\n        }\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * The points of the origin element and the overlay element to connect.\n */\nclass ConnectionPositionPair {\n    /**\n     * @param {?} origin\n     * @param {?} overlay\n     * @param {?=} offsetX\n     * @param {?=} offsetY\n     * @param {?=} panelClass\n     */\n    constructor(origin, overlay, offsetX, offsetY, panelClass) {\n        this.offsetX = offsetX;\n        this.offsetY = offsetY;\n        this.panelClass = panelClass;\n        this.originX = origin.originX;\n        this.originY = origin.originY;\n        this.overlayX = overlay.overlayX;\n        this.overlayY = overlay.overlayY;\n    }\n}\n/**\n * Set of properties regarding the position of the origin and overlay relative to the viewport\n * with respect to the containing Scrollable elements.\n *\n * The overlay and origin are clipped if any part of their bounding client rectangle exceeds the\n * bounds of any one of the strategy's Scrollable's bounding client rectangle.\n *\n * The overlay and origin are outside view if there is no overlap between their bounding client\n * rectangle and any one of the strategy's Scrollable's bounding client rectangle.\n *\n *       -----------                    -----------\n *       | outside |                    | clipped |\n *       |  view   |              --------------------------\n *       |         |              |     |         |        |\n *       ----------               |     -----------        |\n *  --------------------------    |                        |\n *  |                        |    |      Scrollable        |\n *  |                        |    |                        |\n *  |                        |     --------------------------\n *  |      Scrollable        |\n *  |                        |\n *  --------------------------\n *\n * \\@docs-private\n */\nclass ScrollingVisibility {\n}\n/**\n * The change event emitted by the strategy when a fallback position is used.\n */\nclass ConnectedOverlayPositionChange {\n    /**\n     * @param {?} connectionPair\n     * @param {?} scrollableViewProperties\n     */\n    constructor(connectionPair, scrollableViewProperties) {\n        this.connectionPair = connectionPair;\n        this.scrollableViewProperties = scrollableViewProperties;\n    }\n}\n/** @nocollapse */\nConnectedOverlayPositionChange.ctorParameters = () => [\n    { type: ConnectionPositionPair },\n    { type: ScrollingVisibility, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Optional\"] }] }\n];\n/**\n * Validates whether a vertical position property matches the expected values.\n * \\@docs-private\n * @param {?} property Name of the property being validated.\n * @param {?} value Value of the property being validated.\n * @return {?}\n */\nfunction validateVerticalPosition(property, value) {\n    if (value !== 'top' && value !== 'bottom' && value !== 'center') {\n        throw Error(`ConnectedPosition: Invalid ${property} \"${value}\". ` +\n            `Expected \"top\", \"bottom\" or \"center\".`);\n    }\n}\n/**\n * Validates whether a horizontal position property matches the expected values.\n * \\@docs-private\n * @param {?} property Name of the property being validated.\n * @param {?} value Value of the property being validated.\n * @return {?}\n */\nfunction validateHorizontalPosition(property, value) {\n    if (value !== 'start' && value !== 'end' && value !== 'center') {\n        throw Error(`ConnectedPosition: Invalid ${property} \"${value}\". ` +\n            `Expected \"start\", \"end\" or \"center\".`);\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Service for dispatching keyboard events that land on the body to appropriate overlay ref,\n * if any. It maintains a list of attached overlays to determine best suited overlay based\n * on event target and order of overlay opens.\n */\nclass OverlayKeyboardDispatcher {\n    /**\n     * @param {?} document\n     */\n    constructor(document) {\n        /**\n         * Currently attached overlays in the order they were attached.\n         */\n        this._attachedOverlays = [];\n        /**\n         * Keyboard event listener that will be attached to the body.\n         */\n        this._keydownListener = (/**\n         * @param {?} event\n         * @return {?}\n         */\n        (event) => {\n            /** @type {?} */\n            const overlays = this._attachedOverlays;\n            for (let i = overlays.length - 1; i > -1; i--) {\n                // Dispatch the keydown event to the top overlay which has subscribers to its keydown events.\n                // We want to target the most recent overlay, rather than trying to match where the event came\n                // from, because some components might open an overlay, but keep focus on a trigger element\n                // (e.g. for select and autocomplete). We skip overlays without keydown event subscriptions,\n                // because we don't want overlays that don't handle keyboard events to block the ones below\n                // them that do.\n                if (overlays[i]._keydownEventSubscriptions > 0) {\n                    overlays[i]._keydownEvents.next(event);\n                    break;\n                }\n            }\n        });\n        this._document = document;\n    }\n    /**\n     * @return {?}\n     */\n    ngOnDestroy() {\n        this._detach();\n    }\n    /**\n     * Add a new overlay to the list of attached overlay refs.\n     * @param {?} overlayRef\n     * @return {?}\n     */\n    add(overlayRef) {\n        // Ensure that we don't get the same overlay multiple times.\n        this.remove(overlayRef);\n        // Lazily start dispatcher once first overlay is added\n        if (!this._isAttached) {\n            this._document.body.addEventListener('keydown', this._keydownListener);\n            this._isAttached = true;\n        }\n        this._attachedOverlays.push(overlayRef);\n    }\n    /**\n     * Remove an overlay from the list of attached overlay refs.\n     * @param {?} overlayRef\n     * @return {?}\n     */\n    remove(overlayRef) {\n        /** @type {?} */\n        const index = this._attachedOverlays.indexOf(overlayRef);\n        if (index > -1) {\n            this._attachedOverlays.splice(index, 1);\n        }\n        // Remove the global listener once there are no more overlays.\n        if (this._attachedOverlays.length === 0) {\n            this._detach();\n        }\n    }\n    /**\n     * Detaches the global keyboard event listener.\n     * @private\n     * @return {?}\n     */\n    _detach() {\n        if (this._isAttached) {\n            this._document.body.removeEventListener('keydown', this._keydownListener);\n            this._isAttached = false;\n        }\n    }\n}\nOverlayKeyboardDispatcher.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */\nOverlayKeyboardDispatcher.ctorParameters = () => [\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Inject\"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_2__[\"DOCUMENT\"],] }] }\n];\n/** @nocollapse */ OverlayKeyboardDispatcher.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ɵɵdefineInjectable\"])({ factory: function OverlayKeyboardDispatcher_Factory() { return new OverlayKeyboardDispatcher(Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ɵɵinject\"])(_angular_common__WEBPACK_IMPORTED_MODULE_2__[\"DOCUMENT\"])); }, token: OverlayKeyboardDispatcher, providedIn: \"root\" });\n/**\n * \\@docs-private \\@deprecated \\@breaking-change 8.0.0\n * @param {?} dispatcher\n * @param {?} _document\n * @return {?}\n */\nfunction OVERLAY_KEYBOARD_DISPATCHER_PROVIDER_FACTORY(dispatcher, _document) {\n    return dispatcher || new OverlayKeyboardDispatcher(_document);\n}\n/**\n * \\@docs-private \\@deprecated \\@breaking-change 8.0.0\n * @type {?}\n */\nconst OVERLAY_KEYBOARD_DISPATCHER_PROVIDER = {\n    // If there is already an OverlayKeyboardDispatcher available, use that.\n    // Otherwise, provide a new one.\n    provide: OverlayKeyboardDispatcher,\n    deps: [\n        [new _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Optional\"](), new _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"SkipSelf\"](), OverlayKeyboardDispatcher],\n        (/** @type {?} */ (\n        // Coerce to `InjectionToken` so that the `deps` match the \"shape\"\n        // of the type expected by Angular\n        _angular_common__WEBPACK_IMPORTED_MODULE_2__[\"DOCUMENT\"]))\n    ],\n    useFactory: OVERLAY_KEYBOARD_DISPATCHER_PROVIDER_FACTORY\n};\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Container inside which all overlays will render.\n */\nclass OverlayContainer {\n    /**\n     * @param {?} document\n     */\n    constructor(document) {\n        this._document = document;\n    }\n    /**\n     * @return {?}\n     */\n    ngOnDestroy() {\n        if (this._containerElement && this._containerElement.parentNode) {\n            this._containerElement.parentNode.removeChild(this._containerElement);\n        }\n    }\n    /**\n     * This method returns the overlay container element. It will lazily\n     * create the element the first time  it is called to facilitate using\n     * the container in non-browser environments.\n     * @return {?} the container element\n     */\n    getContainerElement() {\n        if (!this._containerElement) {\n            this._createContainer();\n        }\n        return this._containerElement;\n    }\n    /**\n     * Create the overlay container element, which is simply a div\n     * with the 'cdk-overlay-container' class on the document body.\n     * @protected\n     * @return {?}\n     */\n    _createContainer() {\n        /** @type {?} */\n        const containerClass = 'cdk-overlay-container';\n        /** @type {?} */\n        const previousContainers = this._document.getElementsByClassName(containerClass);\n        // Remove any old containers. This can happen when transitioning from the server to the client.\n        for (let i = 0; i < previousContainers.length; i++) {\n            (/** @type {?} */ (previousContainers[i].parentNode)).removeChild(previousContainers[i]);\n        }\n        /** @type {?} */\n        const container = this._document.createElement('div');\n        container.classList.add(containerClass);\n        this._document.body.appendChild(container);\n        this._containerElement = container;\n    }\n}\nOverlayContainer.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */\nOverlayContainer.ctorParameters = () => [\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Inject\"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_2__[\"DOCUMENT\"],] }] }\n];\n/** @nocollapse */ OverlayContainer.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ɵɵdefineInjectable\"])({ factory: function OverlayContainer_Factory() { return new OverlayContainer(Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ɵɵinject\"])(_angular_common__WEBPACK_IMPORTED_MODULE_2__[\"DOCUMENT\"])); }, token: OverlayContainer, providedIn: \"root\" });\n/**\n * \\@docs-private \\@deprecated \\@breaking-change 8.0.0\n * @param {?} parentContainer\n * @param {?} _document\n * @return {?}\n */\nfunction OVERLAY_CONTAINER_PROVIDER_FACTORY(parentContainer, _document) {\n    return parentContainer || new OverlayContainer(_document);\n}\n/**\n * \\@docs-private \\@deprecated \\@breaking-change 8.0.0\n * @type {?}\n */\nconst OVERLAY_CONTAINER_PROVIDER = {\n    // If there is already an OverlayContainer available, use that. Otherwise, provide a new one.\n    provide: OverlayContainer,\n    deps: [\n        [new _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Optional\"](), new _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"SkipSelf\"](), OverlayContainer],\n        (/** @type {?} */ (_angular_common__WEBPACK_IMPORTED_MODULE_2__[\"DOCUMENT\"]))\n    ],\n    useFactory: OVERLAY_CONTAINER_PROVIDER_FACTORY\n};\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Reference to an overlay that has been created with the Overlay service.\n * Used to manipulate or dispose of said overlay.\n */\nclass OverlayRef {\n    /**\n     * @param {?} _portalOutlet\n     * @param {?} _host\n     * @param {?} _pane\n     * @param {?} _config\n     * @param {?} _ngZone\n     * @param {?} _keyboardDispatcher\n     * @param {?} _document\n     * @param {?=} _location\n     */\n    constructor(_portalOutlet, _host, _pane, _config, _ngZone, _keyboardDispatcher, _document, _location) {\n        this._portalOutlet = _portalOutlet;\n        this._host = _host;\n        this._pane = _pane;\n        this._config = _config;\n        this._ngZone = _ngZone;\n        this._keyboardDispatcher = _keyboardDispatcher;\n        this._document = _document;\n        this._location = _location;\n        this._backdropElement = null;\n        this._backdropClick = new rxjs__WEBPACK_IMPORTED_MODULE_4__[\"Subject\"]();\n        this._attachments = new rxjs__WEBPACK_IMPORTED_MODULE_4__[\"Subject\"]();\n        this._detachments = new rxjs__WEBPACK_IMPORTED_MODULE_4__[\"Subject\"]();\n        this._locationChanges = rxjs__WEBPACK_IMPORTED_MODULE_4__[\"Subscription\"].EMPTY;\n        this._backdropClickHandler = (/**\n         * @param {?} event\n         * @return {?}\n         */\n        (event) => this._backdropClick.next(event));\n        this._keydownEventsObservable = new rxjs__WEBPACK_IMPORTED_MODULE_4__[\"Observable\"]((/**\n         * @param {?} observer\n         * @return {?}\n         */\n        (observer) => {\n            /** @type {?} */\n            const subscription = this._keydownEvents.subscribe(observer);\n            this._keydownEventSubscriptions++;\n            return (/**\n             * @return {?}\n             */\n            () => {\n                subscription.unsubscribe();\n                this._keydownEventSubscriptions--;\n            });\n        }));\n        /**\n         * Stream of keydown events dispatched to this overlay.\n         */\n        this._keydownEvents = new rxjs__WEBPACK_IMPORTED_MODULE_4__[\"Subject\"]();\n        /**\n         * Amount of subscriptions to the keydown events.\n         */\n        this._keydownEventSubscriptions = 0;\n        if (_config.scrollStrategy) {\n            this._scrollStrategy = _config.scrollStrategy;\n            this._scrollStrategy.attach(this);\n        }\n        this._positionStrategy = _config.positionStrategy;\n    }\n    /**\n     * The overlay's HTML element\n     * @return {?}\n     */\n    get overlayElement() {\n        return this._pane;\n    }\n    /**\n     * The overlay's backdrop HTML element.\n     * @return {?}\n     */\n    get backdropElement() {\n        return this._backdropElement;\n    }\n    /**\n     * Wrapper around the panel element. Can be used for advanced\n     * positioning where a wrapper with specific styling is\n     * required around the overlay pane.\n     * @return {?}\n     */\n    get hostElement() {\n        return this._host;\n    }\n    /**\n     * Attaches content, given via a Portal, to the overlay.\n     * If the overlay is configured to have a backdrop, it will be created.\n     *\n     * @param {?} portal Portal instance to which to attach the overlay.\n     * @return {?} The portal attachment result.\n     */\n    attach(portal) {\n        /** @type {?} */\n        let attachResult = this._portalOutlet.attach(portal);\n        if (this._positionStrategy) {\n            this._positionStrategy.attach(this);\n        }\n        // Update the pane element with the given configuration.\n        if (!this._host.parentElement && this._previousHostParent) {\n            this._previousHostParent.appendChild(this._host);\n        }\n        this._updateStackingOrder();\n        this._updateElementSize();\n        this._updateElementDirection();\n        if (this._scrollStrategy) {\n            this._scrollStrategy.enable();\n        }\n        // Update the position once the zone is stable so that the overlay will be fully rendered\n        // before attempting to position it, as the position may depend on the size of the rendered\n        // content.\n        this._ngZone.onStable\n            .asObservable()\n            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__[\"take\"])(1))\n            .subscribe((/**\n         * @return {?}\n         */\n        () => {\n            // The overlay could've been detached before the zone has stabilized.\n            if (this.hasAttached()) {\n                this.updatePosition();\n            }\n        }));\n        // Enable pointer events for the overlay pane element.\n        this._togglePointerEvents(true);\n        if (this._config.hasBackdrop) {\n            this._attachBackdrop();\n        }\n        if (this._config.panelClass) {\n            this._toggleClasses(this._pane, this._config.panelClass, true);\n        }\n        // Only emit the `attachments` event once all other setup is done.\n        this._attachments.next();\n        // Track this overlay by the keyboard dispatcher\n        this._keyboardDispatcher.add(this);\n        // @breaking-change 8.0.0 remove the null check for `_location`\n        // once the constructor parameter is made required.\n        if (this._config.disposeOnNavigation && this._location) {\n            this._locationChanges = this._location.subscribe((/**\n             * @return {?}\n             */\n            () => this.dispose()));\n        }\n        return attachResult;\n    }\n    /**\n     * Detaches an overlay from a portal.\n     * @return {?} The portal detachment result.\n     */\n    detach() {\n        if (!this.hasAttached()) {\n            return;\n        }\n        this.detachBackdrop();\n        // When the overlay is detached, the pane element should disable pointer events.\n        // This is necessary because otherwise the pane element will cover the page and disable\n        // pointer events therefore. Depends on the position strategy and the applied pane boundaries.\n        this._togglePointerEvents(false);\n        if (this._positionStrategy && this._positionStrategy.detach) {\n            this._positionStrategy.detach();\n        }\n        if (this._scrollStrategy) {\n            this._scrollStrategy.disable();\n        }\n        /** @type {?} */\n        const detachmentResult = this._portalOutlet.detach();\n        // Only emit after everything is detached.\n        this._detachments.next();\n        // Remove this overlay from keyboard dispatcher tracking.\n        this._keyboardDispatcher.remove(this);\n        // Keeping the host element in DOM the can cause scroll jank, because it still gets\n        // rendered, even though it's transparent and unclickable which is why we remove it.\n        this._detachContentWhenStable();\n        // Stop listening for location changes.\n        this._locationChanges.unsubscribe();\n        return detachmentResult;\n    }\n    /**\n     * Cleans up the overlay from the DOM.\n     * @return {?}\n     */\n    dispose() {\n        /** @type {?} */\n        const isAttached = this.hasAttached();\n        if (this._positionStrategy) {\n            this._positionStrategy.dispose();\n        }\n        this._disposeScrollStrategy();\n        this.detachBackdrop();\n        this._locationChanges.unsubscribe();\n        this._keyboardDispatcher.remove(this);\n        this._portalOutlet.dispose();\n        this._attachments.complete();\n        this._backdropClick.complete();\n        this._keydownEvents.complete();\n        if (this._host && this._host.parentNode) {\n            this._host.parentNode.removeChild(this._host);\n            this._host = (/** @type {?} */ (null));\n        }\n        this._previousHostParent = this._pane = (/** @type {?} */ (null));\n        if (isAttached) {\n            this._detachments.next();\n        }\n        this._detachments.complete();\n    }\n    /**\n     * Whether the overlay has attached content.\n     * @return {?}\n     */\n    hasAttached() {\n        return this._portalOutlet.hasAttached();\n    }\n    /**\n     * Gets an observable that emits when the backdrop has been clicked.\n     * @return {?}\n     */\n    backdropClick() {\n        return this._backdropClick.asObservable();\n    }\n    /**\n     * Gets an observable that emits when the overlay has been attached.\n     * @return {?}\n     */\n    attachments() {\n        return this._attachments.asObservable();\n    }\n    /**\n     * Gets an observable that emits when the overlay has been detached.\n     * @return {?}\n     */\n    detachments() {\n        return this._detachments.asObservable();\n    }\n    /**\n     * Gets an observable of keydown events targeted to this overlay.\n     * @return {?}\n     */\n    keydownEvents() {\n        return this._keydownEventsObservable;\n    }\n    /**\n     * Gets the current overlay configuration, which is immutable.\n     * @return {?}\n     */\n    getConfig() {\n        return this._config;\n    }\n    /**\n     * Updates the position of the overlay based on the position strategy.\n     * @return {?}\n     */\n    updatePosition() {\n        if (this._positionStrategy) {\n            this._positionStrategy.apply();\n        }\n    }\n    /**\n     * Switches to a new position strategy and updates the overlay position.\n     * @param {?} strategy\n     * @return {?}\n     */\n    updatePositionStrategy(strategy) {\n        if (strategy === this._positionStrategy) {\n            return;\n        }\n        if (this._positionStrategy) {\n            this._positionStrategy.dispose();\n        }\n        this._positionStrategy = strategy;\n        if (this.hasAttached()) {\n            strategy.attach(this);\n            this.updatePosition();\n        }\n    }\n    /**\n     * Update the size properties of the overlay.\n     * @param {?} sizeConfig\n     * @return {?}\n     */\n    updateSize(sizeConfig) {\n        this._config = Object.assign({}, this._config, sizeConfig);\n        this._updateElementSize();\n    }\n    /**\n     * Sets the LTR/RTL direction for the overlay.\n     * @param {?} dir\n     * @return {?}\n     */\n    setDirection(dir) {\n        this._config = Object.assign({}, this._config, { direction: dir });\n        this._updateElementDirection();\n    }\n    /**\n     * Add a CSS class or an array of classes to the overlay pane.\n     * @param {?} classes\n     * @return {?}\n     */\n    addPanelClass(classes) {\n        if (this._pane) {\n            this._toggleClasses(this._pane, classes, true);\n        }\n    }\n    /**\n     * Remove a CSS class or an array of classes from the overlay pane.\n     * @param {?} classes\n     * @return {?}\n     */\n    removePanelClass(classes) {\n        if (this._pane) {\n            this._toggleClasses(this._pane, classes, false);\n        }\n    }\n    /**\n     * Returns the layout direction of the overlay panel.\n     * @return {?}\n     */\n    getDirection() {\n        /** @type {?} */\n        const direction = this._config.direction;\n        if (!direction) {\n            return 'ltr';\n        }\n        return typeof direction === 'string' ? direction : direction.value;\n    }\n    /**\n     * Switches to a new scroll strategy.\n     * @param {?} strategy\n     * @return {?}\n     */\n    updateScrollStrategy(strategy) {\n        if (strategy === this._scrollStrategy) {\n            return;\n        }\n        this._disposeScrollStrategy();\n        this._scrollStrategy = strategy;\n        if (this.hasAttached()) {\n            strategy.attach(this);\n            strategy.enable();\n        }\n    }\n    /**\n     * Updates the text direction of the overlay panel.\n     * @private\n     * @return {?}\n     */\n    _updateElementDirection() {\n        this._host.setAttribute('dir', this.getDirection());\n    }\n    /**\n     * Updates the size of the overlay element based on the overlay config.\n     * @private\n     * @return {?}\n     */\n    _updateElementSize() {\n        if (!this._pane) {\n            return;\n        }\n        /** @type {?} */\n        const style = this._pane.style;\n        style.width = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceCssPixelValue\"])(this._config.width);\n        style.height = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceCssPixelValue\"])(this._config.height);\n        style.minWidth = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceCssPixelValue\"])(this._config.minWidth);\n        style.minHeight = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceCssPixelValue\"])(this._config.minHeight);\n        style.maxWidth = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceCssPixelValue\"])(this._config.maxWidth);\n        style.maxHeight = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceCssPixelValue\"])(this._config.maxHeight);\n    }\n    /**\n     * Toggles the pointer events for the overlay pane element.\n     * @private\n     * @param {?} enablePointer\n     * @return {?}\n     */\n    _togglePointerEvents(enablePointer) {\n        this._pane.style.pointerEvents = enablePointer ? 'auto' : 'none';\n    }\n    /**\n     * Attaches a backdrop for this overlay.\n     * @private\n     * @return {?}\n     */\n    _attachBackdrop() {\n        /** @type {?} */\n        const showingClass = 'cdk-overlay-backdrop-showing';\n        this._backdropElement = this._document.createElement('div');\n        this._backdropElement.classList.add('cdk-overlay-backdrop');\n        if (this._config.backdropClass) {\n            this._toggleClasses(this._backdropElement, this._config.backdropClass, true);\n        }\n        // Insert the backdrop before the pane in the DOM order,\n        // in order to handle stacked overlays properly.\n        (/** @type {?} */ (this._host.parentElement)).insertBefore(this._backdropElement, this._host);\n        // Forward backdrop clicks such that the consumer of the overlay can perform whatever\n        // action desired when such a click occurs (usually closing the overlay).\n        this._backdropElement.addEventListener('click', this._backdropClickHandler);\n        // Add class to fade-in the backdrop after one frame.\n        if (typeof requestAnimationFrame !== 'undefined') {\n            this._ngZone.runOutsideAngular((/**\n             * @return {?}\n             */\n            () => {\n                requestAnimationFrame((/**\n                 * @return {?}\n                 */\n                () => {\n                    if (this._backdropElement) {\n                        this._backdropElement.classList.add(showingClass);\n                    }\n                }));\n            }));\n        }\n        else {\n            this._backdropElement.classList.add(showingClass);\n        }\n    }\n    /**\n     * Updates the stacking order of the element, moving it to the top if necessary.\n     * This is required in cases where one overlay was detached, while another one,\n     * that should be behind it, was destroyed. The next time both of them are opened,\n     * the stacking will be wrong, because the detached element's pane will still be\n     * in its original DOM position.\n     * @private\n     * @return {?}\n     */\n    _updateStackingOrder() {\n        if (this._host.nextSibling) {\n            (/** @type {?} */ (this._host.parentNode)).appendChild(this._host);\n        }\n    }\n    /**\n     * Detaches the backdrop (if any) associated with the overlay.\n     * @return {?}\n     */\n    detachBackdrop() {\n        /** @type {?} */\n        let backdropToDetach = this._backdropElement;\n        if (!backdropToDetach) {\n            return;\n        }\n        /** @type {?} */\n        let timeoutId;\n        /** @type {?} */\n        let finishDetach = (/**\n         * @return {?}\n         */\n        () => {\n            // It may not be attached to anything in certain cases (e.g. unit tests).\n            if (backdropToDetach) {\n                backdropToDetach.removeEventListener('click', this._backdropClickHandler);\n                backdropToDetach.removeEventListener('transitionend', finishDetach);\n                if (backdropToDetach.parentNode) {\n                    backdropToDetach.parentNode.removeChild(backdropToDetach);\n                }\n            }\n            // It is possible that a new portal has been attached to this overlay since we started\n            // removing the backdrop. If that is the case, only clear the backdrop reference if it\n            // is still the same instance that we started to remove.\n            if (this._backdropElement == backdropToDetach) {\n                this._backdropElement = null;\n            }\n            if (this._config.backdropClass) {\n                this._toggleClasses((/** @type {?} */ (backdropToDetach)), this._config.backdropClass, false);\n            }\n            clearTimeout(timeoutId);\n        });\n        backdropToDetach.classList.remove('cdk-overlay-backdrop-showing');\n        this._ngZone.runOutsideAngular((/**\n         * @return {?}\n         */\n        () => {\n            (/** @type {?} */ (backdropToDetach)).addEventListener('transitionend', finishDetach);\n        }));\n        // If the backdrop doesn't have a transition, the `transitionend` event won't fire.\n        // In this case we make it unclickable and we try to remove it after a delay.\n        backdropToDetach.style.pointerEvents = 'none';\n        // Run this outside the Angular zone because there's nothing that Angular cares about.\n        // If it were to run inside the Angular zone, every test that used Overlay would have to be\n        // either async or fakeAsync.\n        timeoutId = this._ngZone.runOutsideAngular((/**\n         * @return {?}\n         */\n        () => setTimeout(finishDetach, 500)));\n    }\n    /**\n     * Toggles a single CSS class or an array of classes on an element.\n     * @private\n     * @param {?} element\n     * @param {?} cssClasses\n     * @param {?} isAdd\n     * @return {?}\n     */\n    _toggleClasses(element, cssClasses, isAdd) {\n        /** @type {?} */\n        const classList = element.classList;\n        Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceArray\"])(cssClasses).forEach((/**\n         * @param {?} cssClass\n         * @return {?}\n         */\n        cssClass => {\n            // We can't do a spread here, because IE doesn't support setting multiple classes.\n            // Also trying to add an empty string to a DOMTokenList will throw.\n            if (cssClass) {\n                isAdd ? classList.add(cssClass) : classList.remove(cssClass);\n            }\n        }));\n    }\n    /**\n     * Detaches the overlay content next time the zone stabilizes.\n     * @private\n     * @return {?}\n     */\n    _detachContentWhenStable() {\n        // Normally we wouldn't have to explicitly run this outside the `NgZone`, however\n        // if the consumer is using `zone-patch-rxjs`, the `Subscription.unsubscribe` call will\n        // be patched to run inside the zone, which will throw us into an infinite loop.\n        this._ngZone.runOutsideAngular((/**\n         * @return {?}\n         */\n        () => {\n            // We can't remove the host here immediately, because the overlay pane's content\n            // might still be animating. This stream helps us avoid interrupting the animation\n            // by waiting for the pane to become empty.\n            /** @type {?} */\n            const subscription = this._ngZone.onStable\n                .asObservable()\n                .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__[\"takeUntil\"])(Object(rxjs__WEBPACK_IMPORTED_MODULE_4__[\"merge\"])(this._attachments, this._detachments)))\n                .subscribe((/**\n             * @return {?}\n             */\n            () => {\n                // Needs a couple of checks for the pane and host, because\n                // they may have been removed by the time the zone stabilizes.\n                if (!this._pane || !this._host || this._pane.children.length === 0) {\n                    if (this._pane && this._config.panelClass) {\n                        this._toggleClasses(this._pane, this._config.panelClass, false);\n                    }\n                    if (this._host && this._host.parentElement) {\n                        this._previousHostParent = this._host.parentElement;\n                        this._previousHostParent.removeChild(this._host);\n                    }\n                    subscription.unsubscribe();\n                }\n            }));\n        }));\n    }\n    /**\n     * Disposes of a scroll strategy.\n     * @private\n     * @return {?}\n     */\n    _disposeScrollStrategy() {\n        /** @type {?} */\n        const scrollStrategy = this._scrollStrategy;\n        if (scrollStrategy) {\n            scrollStrategy.disable();\n            if (scrollStrategy.detach) {\n                scrollStrategy.detach();\n            }\n        }\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n// TODO: refactor clipping detection into a separate thing (part of scrolling module)\n// TODO: doesn't handle both flexible width and height when it has to scroll along both axis.\n/**\n * Class to be added to the overlay bounding box.\n * @type {?}\n */\nconst boundingBoxClass = 'cdk-overlay-connected-position-bounding-box';\n/**\n * A strategy for positioning overlays. Using this strategy, an overlay is given an\n * implicit position relative some origin element. The relative position is defined in terms of\n * a point on the origin element that is connected to a point on the overlay element. For example,\n * a basic dropdown is connecting the bottom-left corner of the origin to the top-left corner\n * of the overlay.\n */\nclass FlexibleConnectedPositionStrategy {\n    /**\n     * @param {?} connectedTo\n     * @param {?} _viewportRuler\n     * @param {?} _document\n     * @param {?} _platform\n     * @param {?} _overlayContainer\n     */\n    constructor(connectedTo, _viewportRuler, _document, _platform, _overlayContainer) {\n        this._viewportRuler = _viewportRuler;\n        this._document = _document;\n        this._platform = _platform;\n        this._overlayContainer = _overlayContainer;\n        /**\n         * Last size used for the bounding box. Used to avoid resizing the overlay after open.\n         */\n        this._lastBoundingBoxSize = { width: 0, height: 0 };\n        /**\n         * Whether the overlay was pushed in a previous positioning.\n         */\n        this._isPushed = false;\n        /**\n         * Whether the overlay can be pushed on-screen on the initial open.\n         */\n        this._canPush = true;\n        /**\n         * Whether the overlay can grow via flexible width/height after the initial open.\n         */\n        this._growAfterOpen = false;\n        /**\n         * Whether the overlay's width and height can be constrained to fit within the viewport.\n         */\n        this._hasFlexibleDimensions = true;\n        /**\n         * Whether the overlay position is locked.\n         */\n        this._positionLocked = false;\n        /**\n         * Amount of space that must be maintained between the overlay and the edge of the viewport.\n         */\n        this._viewportMargin = 0;\n        /**\n         * The Scrollable containers used to check scrollable view properties on position change.\n         */\n        this._scrollables = [];\n        /**\n         * Ordered list of preferred positions, from most to least desirable.\n         */\n        this._preferredPositions = [];\n        /**\n         * Subject that emits whenever the position changes.\n         */\n        this._positionChanges = new rxjs__WEBPACK_IMPORTED_MODULE_4__[\"Subject\"]();\n        /**\n         * Subscription to viewport size changes.\n         */\n        this._resizeSubscription = rxjs__WEBPACK_IMPORTED_MODULE_4__[\"Subscription\"].EMPTY;\n        /**\n         * Default offset for the overlay along the x axis.\n         */\n        this._offsetX = 0;\n        /**\n         * Default offset for the overlay along the y axis.\n         */\n        this._offsetY = 0;\n        /**\n         * Keeps track of the CSS classes that the position strategy has applied on the overlay panel.\n         */\n        this._appliedPanelClasses = [];\n        /**\n         * Observable sequence of position changes.\n         */\n        this.positionChanges = this._positionChanges.asObservable();\n        this.setOrigin(connectedTo);\n    }\n    /**\n     * Ordered list of preferred positions, from most to least desirable.\n     * @return {?}\n     */\n    get positions() {\n        return this._preferredPositions;\n    }\n    /**\n     * Attaches this position strategy to an overlay.\n     * @param {?} overlayRef\n     * @return {?}\n     */\n    attach(overlayRef) {\n        if (this._overlayRef && overlayRef !== this._overlayRef) {\n            throw Error('This position strategy is already attached to an overlay');\n        }\n        this._validatePositions();\n        overlayRef.hostElement.classList.add(boundingBoxClass);\n        this._overlayRef = overlayRef;\n        this._boundingBox = overlayRef.hostElement;\n        this._pane = overlayRef.overlayElement;\n        this._isDisposed = false;\n        this._isInitialRender = true;\n        this._lastPosition = null;\n        this._resizeSubscription.unsubscribe();\n        this._resizeSubscription = this._viewportRuler.change().subscribe((/**\n         * @return {?}\n         */\n        () => {\n            // When the window is resized, we want to trigger the next reposition as if it\n            // was an initial render, in order for the strategy to pick a new optimal position,\n            // otherwise position locking will cause it to stay at the old one.\n            this._isInitialRender = true;\n            this.apply();\n        }));\n    }\n    /**\n     * Updates the position of the overlay element, using whichever preferred position relative\n     * to the origin best fits on-screen.\n     *\n     * The selection of a position goes as follows:\n     *  - If any positions fit completely within the viewport as-is,\n     *      choose the first position that does so.\n     *  - If flexible dimensions are enabled and at least one satifies the given minimum width/height,\n     *      choose the position with the greatest available size modified by the positions' weight.\n     *  - If pushing is enabled, take the position that went off-screen the least and push it\n     *      on-screen.\n     *  - If none of the previous criteria were met, use the position that goes off-screen the least.\n     * \\@docs-private\n     * @return {?}\n     */\n    apply() {\n        // We shouldn't do anything if the strategy was disposed or we're on the server.\n        if (this._isDisposed || !this._platform.isBrowser) {\n            return;\n        }\n        // If the position has been applied already (e.g. when the overlay was opened) and the\n        // consumer opted into locking in the position, re-use the old position, in order to\n        // prevent the overlay from jumping around.\n        if (!this._isInitialRender && this._positionLocked && this._lastPosition) {\n            this.reapplyLastPosition();\n            return;\n        }\n        this._clearPanelClasses();\n        this._resetOverlayElementStyles();\n        this._resetBoundingBoxStyles();\n        // We need the bounding rects for the origin and the overlay to determine how to position\n        // the overlay relative to the origin.\n        // We use the viewport rect to determine whether a position would go off-screen.\n        this._viewportRect = this._getNarrowedViewportRect();\n        this._originRect = this._getOriginRect();\n        this._overlayRect = this._pane.getBoundingClientRect();\n        /** @type {?} */\n        const originRect = this._originRect;\n        /** @type {?} */\n        const overlayRect = this._overlayRect;\n        /** @type {?} */\n        const viewportRect = this._viewportRect;\n        // Positions where the overlay will fit with flexible dimensions.\n        /** @type {?} */\n        const flexibleFits = [];\n        // Fallback if none of the preferred positions fit within the viewport.\n        /** @type {?} */\n        let fallback;\n        // Go through each of the preferred positions looking for a good fit.\n        // If a good fit is found, it will be applied immediately.\n        for (let pos of this._preferredPositions) {\n            // Get the exact (x, y) coordinate for the point-of-origin on the origin element.\n            /** @type {?} */\n            let originPoint = this._getOriginPoint(originRect, pos);\n            // From that point-of-origin, get the exact (x, y) coordinate for the top-left corner of the\n            // overlay in this position. We use the top-left corner for calculations and later translate\n            // this into an appropriate (top, left, bottom, right) style.\n            /** @type {?} */\n            let overlayPoint = this._getOverlayPoint(originPoint, overlayRect, pos);\n            // Calculate how well the overlay would fit into the viewport with this point.\n            /** @type {?} */\n            let overlayFit = this._getOverlayFit(overlayPoint, overlayRect, viewportRect, pos);\n            // If the overlay, without any further work, fits into the viewport, use this position.\n            if (overlayFit.isCompletelyWithinViewport) {\n                this._isPushed = false;\n                this._applyPosition(pos, originPoint);\n                return;\n            }\n            // If the overlay has flexible dimensions, we can use this position\n            // so long as there's enough space for the minimum dimensions.\n            if (this._canFitWithFlexibleDimensions(overlayFit, overlayPoint, viewportRect)) {\n                // Save positions where the overlay will fit with flexible dimensions. We will use these\n                // if none of the positions fit *without* flexible dimensions.\n                flexibleFits.push({\n                    position: pos,\n                    origin: originPoint,\n                    overlayRect,\n                    boundingBoxRect: this._calculateBoundingBoxRect(originPoint, pos)\n                });\n                continue;\n            }\n            // If the current preferred position does not fit on the screen, remember the position\n            // if it has more visible area on-screen than we've seen and move onto the next preferred\n            // position.\n            if (!fallback || fallback.overlayFit.visibleArea < overlayFit.visibleArea) {\n                fallback = { overlayFit, overlayPoint, originPoint, position: pos, overlayRect };\n            }\n        }\n        // If there are any positions where the overlay would fit with flexible dimensions, choose the\n        // one that has the greatest area available modified by the position's weight\n        if (flexibleFits.length) {\n            /** @type {?} */\n            let bestFit = null;\n            /** @type {?} */\n            let bestScore = -1;\n            for (const fit of flexibleFits) {\n                /** @type {?} */\n                const score = fit.boundingBoxRect.width * fit.boundingBoxRect.height * (fit.position.weight || 1);\n                if (score > bestScore) {\n                    bestScore = score;\n                    bestFit = fit;\n                }\n            }\n            this._isPushed = false;\n            this._applyPosition((/** @type {?} */ (bestFit)).position, (/** @type {?} */ (bestFit)).origin);\n            return;\n        }\n        // When none of the preferred positions fit within the viewport, take the position\n        // that went off-screen the least and attempt to push it on-screen.\n        if (this._canPush) {\n            // TODO(jelbourn): after pushing, the opening \"direction\" of the overlay might not make sense.\n            this._isPushed = true;\n            this._applyPosition((/** @type {?} */ (fallback)).position, (/** @type {?} */ (fallback)).originPoint);\n            return;\n        }\n        // All options for getting the overlay within the viewport have been exhausted, so go with the\n        // position that went off-screen the least.\n        this._applyPosition((/** @type {?} */ (fallback)).position, (/** @type {?} */ (fallback)).originPoint);\n    }\n    /**\n     * @return {?}\n     */\n    detach() {\n        this._clearPanelClasses();\n        this._lastPosition = null;\n        this._previousPushAmount = null;\n        this._resizeSubscription.unsubscribe();\n    }\n    /**\n     * Cleanup after the element gets destroyed.\n     * @return {?}\n     */\n    dispose() {\n        if (this._isDisposed) {\n            return;\n        }\n        // We can't use `_resetBoundingBoxStyles` here, because it resets\n        // some properties to zero, rather than removing them.\n        if (this._boundingBox) {\n            extendStyles(this._boundingBox.style, (/** @type {?} */ ({\n                top: '',\n                left: '',\n                right: '',\n                bottom: '',\n                height: '',\n                width: '',\n                alignItems: '',\n                justifyContent: '',\n            })));\n        }\n        if (this._pane) {\n            this._resetOverlayElementStyles();\n        }\n        if (this._overlayRef) {\n            this._overlayRef.hostElement.classList.remove(boundingBoxClass);\n        }\n        this.detach();\n        this._positionChanges.complete();\n        this._overlayRef = this._boundingBox = (/** @type {?} */ (null));\n        this._isDisposed = true;\n    }\n    /**\n     * This re-aligns the overlay element with the trigger in its last calculated position,\n     * even if a position higher in the \"preferred positions\" list would now fit. This\n     * allows one to re-align the panel without changing the orientation of the panel.\n     * @return {?}\n     */\n    reapplyLastPosition() {\n        if (!this._isDisposed && (!this._platform || this._platform.isBrowser)) {\n            this._originRect = this._getOriginRect();\n            this._overlayRect = this._pane.getBoundingClientRect();\n            this._viewportRect = this._getNarrowedViewportRect();\n            /** @type {?} */\n            const lastPosition = this._lastPosition || this._preferredPositions[0];\n            /** @type {?} */\n            const originPoint = this._getOriginPoint(this._originRect, lastPosition);\n            this._applyPosition(lastPosition, originPoint);\n        }\n    }\n    /**\n     * Sets the list of Scrollable containers that host the origin element so that\n     * on reposition we can evaluate if it or the overlay has been clipped or outside view. Every\n     * Scrollable must be an ancestor element of the strategy's origin element.\n     * @template THIS\n     * @this {THIS}\n     * @param {?} scrollables\n     * @return {THIS}\n     */\n    withScrollableContainers(scrollables) {\n        (/** @type {?} */ (this))._scrollables = scrollables;\n        return (/** @type {?} */ (this));\n    }\n    /**\n     * Adds new preferred positions.\n     * @template THIS\n     * @this {THIS}\n     * @param {?} positions List of positions options for this overlay.\n     * @return {THIS}\n     */\n    withPositions(positions) {\n        (/** @type {?} */ (this))._preferredPositions = positions;\n        // If the last calculated position object isn't part of the positions anymore, clear\n        // it in order to avoid it being picked up if the consumer tries to re-apply.\n        if (positions.indexOf((/** @type {?} */ ((/** @type {?} */ (this))._lastPosition))) === -1) {\n            (/** @type {?} */ (this))._lastPosition = null;\n        }\n        (/** @type {?} */ (this))._validatePositions();\n        return (/** @type {?} */ (this));\n    }\n    /**\n     * Sets a minimum distance the overlay may be positioned to the edge of the viewport.\n     * @template THIS\n     * @this {THIS}\n     * @param {?} margin Required margin between the overlay and the viewport edge in pixels.\n     * @return {THIS}\n     */\n    withViewportMargin(margin) {\n        (/** @type {?} */ (this))._viewportMargin = margin;\n        return (/** @type {?} */ (this));\n    }\n    /**\n     * Sets whether the overlay's width and height can be constrained to fit within the viewport.\n     * @template THIS\n     * @this {THIS}\n     * @param {?=} flexibleDimensions\n     * @return {THIS}\n     */\n    withFlexibleDimensions(flexibleDimensions = true) {\n        (/** @type {?} */ (this))._hasFlexibleDimensions = flexibleDimensions;\n        return (/** @type {?} */ (this));\n    }\n    /**\n     * Sets whether the overlay can grow after the initial open via flexible width/height.\n     * @template THIS\n     * @this {THIS}\n     * @param {?=} growAfterOpen\n     * @return {THIS}\n     */\n    withGrowAfterOpen(growAfterOpen = true) {\n        (/** @type {?} */ (this))._growAfterOpen = growAfterOpen;\n        return (/** @type {?} */ (this));\n    }\n    /**\n     * Sets whether the overlay can be pushed on-screen if none of the provided positions fit.\n     * @template THIS\n     * @this {THIS}\n     * @param {?=} canPush\n     * @return {THIS}\n     */\n    withPush(canPush = true) {\n        (/** @type {?} */ (this))._canPush = canPush;\n        return (/** @type {?} */ (this));\n    }\n    /**\n     * Sets whether the overlay's position should be locked in after it is positioned\n     * initially. When an overlay is locked in, it won't attempt to reposition itself\n     * when the position is re-applied (e.g. when the user scrolls away).\n     * @template THIS\n     * @this {THIS}\n     * @param {?=} isLocked Whether the overlay should locked in.\n     * @return {THIS}\n     */\n    withLockedPosition(isLocked = true) {\n        (/** @type {?} */ (this))._positionLocked = isLocked;\n        return (/** @type {?} */ (this));\n    }\n    /**\n     * Sets the origin, relative to which to position the overlay.\n     * Using an element origin is useful for building components that need to be positioned\n     * relatively to a trigger (e.g. dropdown menus or tooltips), whereas using a point can be\n     * used for cases like contextual menus which open relative to the user's pointer.\n     * @template THIS\n     * @this {THIS}\n     * @param {?} origin Reference to the new origin.\n     * @return {THIS}\n     */\n    setOrigin(origin) {\n        (/** @type {?} */ (this))._origin = origin;\n        return (/** @type {?} */ (this));\n    }\n    /**\n     * Sets the default offset for the overlay's connection point on the x-axis.\n     * @template THIS\n     * @this {THIS}\n     * @param {?} offset New offset in the X axis.\n     * @return {THIS}\n     */\n    withDefaultOffsetX(offset) {\n        (/** @type {?} */ (this))._offsetX = offset;\n        return (/** @type {?} */ (this));\n    }\n    /**\n     * Sets the default offset for the overlay's connection point on the y-axis.\n     * @template THIS\n     * @this {THIS}\n     * @param {?} offset New offset in the Y axis.\n     * @return {THIS}\n     */\n    withDefaultOffsetY(offset) {\n        (/** @type {?} */ (this))._offsetY = offset;\n        return (/** @type {?} */ (this));\n    }\n    /**\n     * Configures that the position strategy should set a `transform-origin` on some elements\n     * inside the overlay, depending on the current position that is being applied. This is\n     * useful for the cases where the origin of an animation can change depending on the\n     * alignment of the overlay.\n     * @template THIS\n     * @this {THIS}\n     * @param {?} selector CSS selector that will be used to find the target\n     *    elements onto which to set the transform origin.\n     * @return {THIS}\n     */\n    withTransformOriginOn(selector) {\n        (/** @type {?} */ (this))._transformOriginSelector = selector;\n        return (/** @type {?} */ (this));\n    }\n    /**\n     * Gets the (x, y) coordinate of a connection point on the origin based on a relative position.\n     * @private\n     * @param {?} originRect\n     * @param {?} pos\n     * @return {?}\n     */\n    _getOriginPoint(originRect, pos) {\n        /** @type {?} */\n        let x;\n        if (pos.originX == 'center') {\n            // Note: when centering we should always use the `left`\n            // offset, otherwise the position will be wrong in RTL.\n            x = originRect.left + (originRect.width / 2);\n        }\n        else {\n            /** @type {?} */\n            const startX = this._isRtl() ? originRect.right : originRect.left;\n            /** @type {?} */\n            const endX = this._isRtl() ? originRect.left : originRect.right;\n            x = pos.originX == 'start' ? startX : endX;\n        }\n        /** @type {?} */\n        let y;\n        if (pos.originY == 'center') {\n            y = originRect.top + (originRect.height / 2);\n        }\n        else {\n            y = pos.originY == 'top' ? originRect.top : originRect.bottom;\n        }\n        return { x, y };\n    }\n    /**\n     * Gets the (x, y) coordinate of the top-left corner of the overlay given a given position and\n     * origin point to which the overlay should be connected.\n     * @private\n     * @param {?} originPoint\n     * @param {?} overlayRect\n     * @param {?} pos\n     * @return {?}\n     */\n    _getOverlayPoint(originPoint, overlayRect, pos) {\n        // Calculate the (overlayStartX, overlayStartY), the start of the\n        // potential overlay position relative to the origin point.\n        /** @type {?} */\n        let overlayStartX;\n        if (pos.overlayX == 'center') {\n            overlayStartX = -overlayRect.width / 2;\n        }\n        else if (pos.overlayX === 'start') {\n            overlayStartX = this._isRtl() ? -overlayRect.width : 0;\n        }\n        else {\n            overlayStartX = this._isRtl() ? 0 : -overlayRect.width;\n        }\n        /** @type {?} */\n        let overlayStartY;\n        if (pos.overlayY == 'center') {\n            overlayStartY = -overlayRect.height / 2;\n        }\n        else {\n            overlayStartY = pos.overlayY == 'top' ? 0 : -overlayRect.height;\n        }\n        // The (x, y) coordinates of the overlay.\n        return {\n            x: originPoint.x + overlayStartX,\n            y: originPoint.y + overlayStartY,\n        };\n    }\n    /**\n     * Gets how well an overlay at the given point will fit within the viewport.\n     * @private\n     * @param {?} point\n     * @param {?} overlay\n     * @param {?} viewport\n     * @param {?} position\n     * @return {?}\n     */\n    _getOverlayFit(point, overlay, viewport, position) {\n        let { x, y } = point;\n        /** @type {?} */\n        let offsetX = this._getOffset(position, 'x');\n        /** @type {?} */\n        let offsetY = this._getOffset(position, 'y');\n        // Account for the offsets since they could push the overlay out of the viewport.\n        if (offsetX) {\n            x += offsetX;\n        }\n        if (offsetY) {\n            y += offsetY;\n        }\n        // How much the overlay would overflow at this position, on each side.\n        /** @type {?} */\n        let leftOverflow = 0 - x;\n        /** @type {?} */\n        let rightOverflow = (x + overlay.width) - viewport.width;\n        /** @type {?} */\n        let topOverflow = 0 - y;\n        /** @type {?} */\n        let bottomOverflow = (y + overlay.height) - viewport.height;\n        // Visible parts of the element on each axis.\n        /** @type {?} */\n        let visibleWidth = this._subtractOverflows(overlay.width, leftOverflow, rightOverflow);\n        /** @type {?} */\n        let visibleHeight = this._subtractOverflows(overlay.height, topOverflow, bottomOverflow);\n        /** @type {?} */\n        let visibleArea = visibleWidth * visibleHeight;\n        return {\n            visibleArea,\n            isCompletelyWithinViewport: (overlay.width * overlay.height) === visibleArea,\n            fitsInViewportVertically: visibleHeight === overlay.height,\n            fitsInViewportHorizontally: visibleWidth == overlay.width,\n        };\n    }\n    /**\n     * Whether the overlay can fit within the viewport when it may resize either its width or height.\n     * @private\n     * @param {?} fit How well the overlay fits in the viewport at some position.\n     * @param {?} point The (x, y) coordinates of the overlat at some position.\n     * @param {?} viewport The geometry of the viewport.\n     * @return {?}\n     */\n    _canFitWithFlexibleDimensions(fit, point, viewport) {\n        if (this._hasFlexibleDimensions) {\n            /** @type {?} */\n            const availableHeight = viewport.bottom - point.y;\n            /** @type {?} */\n            const availableWidth = viewport.right - point.x;\n            /** @type {?} */\n            const minHeight = this._overlayRef.getConfig().minHeight;\n            /** @type {?} */\n            const minWidth = this._overlayRef.getConfig().minWidth;\n            /** @type {?} */\n            const verticalFit = fit.fitsInViewportVertically ||\n                (minHeight != null && minHeight <= availableHeight);\n            /** @type {?} */\n            const horizontalFit = fit.fitsInViewportHorizontally ||\n                (minWidth != null && minWidth <= availableWidth);\n            return verticalFit && horizontalFit;\n        }\n        return false;\n    }\n    /**\n     * Gets the point at which the overlay can be \"pushed\" on-screen. If the overlay is larger than\n     * the viewport, the top-left corner will be pushed on-screen (with overflow occuring on the\n     * right and bottom).\n     *\n     * @private\n     * @param {?} start Starting point from which the overlay is pushed.\n     * @param {?} overlay Dimensions of the overlay.\n     * @param {?} scrollPosition Current viewport scroll position.\n     * @return {?} The point at which to position the overlay after pushing. This is effectively a new\n     *     originPoint.\n     */\n    _pushOverlayOnScreen(start, overlay, scrollPosition) {\n        // If the position is locked and we've pushed the overlay already, reuse the previous push\n        // amount, rather than pushing it again. If we were to continue pushing, the element would\n        // remain in the viewport, which goes against the expectations when position locking is enabled.\n        if (this._previousPushAmount && this._positionLocked) {\n            return {\n                x: start.x + this._previousPushAmount.x,\n                y: start.y + this._previousPushAmount.y\n            };\n        }\n        /** @type {?} */\n        const viewport = this._viewportRect;\n        // Determine how much the overlay goes outside the viewport on each\n        // side, which we'll use to decide which direction to push it.\n        /** @type {?} */\n        const overflowRight = Math.max(start.x + overlay.width - viewport.right, 0);\n        /** @type {?} */\n        const overflowBottom = Math.max(start.y + overlay.height - viewport.bottom, 0);\n        /** @type {?} */\n        const overflowTop = Math.max(viewport.top - scrollPosition.top - start.y, 0);\n        /** @type {?} */\n        const overflowLeft = Math.max(viewport.left - scrollPosition.left - start.x, 0);\n        // Amount by which to push the overlay in each axis such that it remains on-screen.\n        /** @type {?} */\n        let pushX = 0;\n        /** @type {?} */\n        let pushY = 0;\n        // If the overlay fits completely within the bounds of the viewport, push it from whichever\n        // direction is goes off-screen. Otherwise, push the top-left corner such that its in the\n        // viewport and allow for the trailing end of the overlay to go out of bounds.\n        if (overlay.width <= viewport.width) {\n            pushX = overflowLeft || -overflowRight;\n        }\n        else {\n            pushX = start.x < this._viewportMargin ? (viewport.left - scrollPosition.left) - start.x : 0;\n        }\n        if (overlay.height <= viewport.height) {\n            pushY = overflowTop || -overflowBottom;\n        }\n        else {\n            pushY = start.y < this._viewportMargin ? (viewport.top - scrollPosition.top) - start.y : 0;\n        }\n        this._previousPushAmount = { x: pushX, y: pushY };\n        return {\n            x: start.x + pushX,\n            y: start.y + pushY,\n        };\n    }\n    /**\n     * Applies a computed position to the overlay and emits a position change.\n     * @private\n     * @param {?} position The position preference\n     * @param {?} originPoint The point on the origin element where the overlay is connected.\n     * @return {?}\n     */\n    _applyPosition(position, originPoint) {\n        this._setTransformOrigin(position);\n        this._setOverlayElementStyles(originPoint, position);\n        this._setBoundingBoxStyles(originPoint, position);\n        if (position.panelClass) {\n            this._addPanelClasses(position.panelClass);\n        }\n        // Save the last connected position in case the position needs to be re-calculated.\n        this._lastPosition = position;\n        // Notify that the position has been changed along with its change properties.\n        // We only emit if we've got any subscriptions, because the scroll visibility\n        // calculcations can be somewhat expensive.\n        if (this._positionChanges.observers.length) {\n            /** @type {?} */\n            const scrollableViewProperties = this._getScrollVisibility();\n            /** @type {?} */\n            const changeEvent = new ConnectedOverlayPositionChange(position, scrollableViewProperties);\n            this._positionChanges.next(changeEvent);\n        }\n        this._isInitialRender = false;\n    }\n    /**\n     * Sets the transform origin based on the configured selector and the passed-in position.\n     * @private\n     * @param {?} position\n     * @return {?}\n     */\n    _setTransformOrigin(position) {\n        if (!this._transformOriginSelector) {\n            return;\n        }\n        /** @type {?} */\n        const elements = (/** @type {?} */ (this._boundingBox)).querySelectorAll(this._transformOriginSelector);\n        /** @type {?} */\n        let xOrigin;\n        /** @type {?} */\n        let yOrigin = position.overlayY;\n        if (position.overlayX === 'center') {\n            xOrigin = 'center';\n        }\n        else if (this._isRtl()) {\n            xOrigin = position.overlayX === 'start' ? 'right' : 'left';\n        }\n        else {\n            xOrigin = position.overlayX === 'start' ? 'left' : 'right';\n        }\n        for (let i = 0; i < elements.length; i++) {\n            elements[i].style.transformOrigin = `${xOrigin} ${yOrigin}`;\n        }\n    }\n    /**\n     * Gets the position and size of the overlay's sizing container.\n     *\n     * This method does no measuring and applies no styles so that we can cheaply compute the\n     * bounds for all positions and choose the best fit based on these results.\n     * @private\n     * @param {?} origin\n     * @param {?} position\n     * @return {?}\n     */\n    _calculateBoundingBoxRect(origin, position) {\n        /** @type {?} */\n        const viewport = this._viewportRect;\n        /** @type {?} */\n        const isRtl = this._isRtl();\n        /** @type {?} */\n        let height;\n        /** @type {?} */\n        let top;\n        /** @type {?} */\n        let bottom;\n        if (position.overlayY === 'top') {\n            // Overlay is opening \"downward\" and thus is bound by the bottom viewport edge.\n            top = origin.y;\n            height = viewport.height - top + this._viewportMargin;\n        }\n        else if (position.overlayY === 'bottom') {\n            // Overlay is opening \"upward\" and thus is bound by the top viewport edge. We need to add\n            // the viewport margin back in, because the viewport rect is narrowed down to remove the\n            // margin, whereas the `origin` position is calculated based on its `ClientRect`.\n            bottom = viewport.height - origin.y + this._viewportMargin * 2;\n            height = viewport.height - bottom + this._viewportMargin;\n        }\n        else {\n            // If neither top nor bottom, it means that the overlay is vertically centered on the\n            // origin point. Note that we want the position relative to the viewport, rather than\n            // the page, which is why we don't use something like `viewport.bottom - origin.y` and\n            // `origin.y - viewport.top`.\n            /** @type {?} */\n            const smallestDistanceToViewportEdge = Math.min(viewport.bottom - origin.y + viewport.top, origin.y);\n            /** @type {?} */\n            const previousHeight = this._lastBoundingBoxSize.height;\n            height = smallestDistanceToViewportEdge * 2;\n            top = origin.y - smallestDistanceToViewportEdge;\n            if (height > previousHeight && !this._isInitialRender && !this._growAfterOpen) {\n                top = origin.y - (previousHeight / 2);\n            }\n        }\n        // The overlay is opening 'right-ward' (the content flows to the right).\n        /** @type {?} */\n        const isBoundedByRightViewportEdge = (position.overlayX === 'start' && !isRtl) ||\n            (position.overlayX === 'end' && isRtl);\n        // The overlay is opening 'left-ward' (the content flows to the left).\n        /** @type {?} */\n        const isBoundedByLeftViewportEdge = (position.overlayX === 'end' && !isRtl) ||\n            (position.overlayX === 'start' && isRtl);\n        /** @type {?} */\n        let width;\n        /** @type {?} */\n        let left;\n        /** @type {?} */\n        let right;\n        if (isBoundedByLeftViewportEdge) {\n            right = viewport.width - origin.x + this._viewportMargin;\n            width = origin.x - this._viewportMargin;\n        }\n        else if (isBoundedByRightViewportEdge) {\n            left = origin.x;\n            width = viewport.right - origin.x;\n        }\n        else {\n            // If neither start nor end, it means that the overlay is horizontally centered on the\n            // origin point. Note that we want the position relative to the viewport, rather than\n            // the page, which is why we don't use something like `viewport.right - origin.x` and\n            // `origin.x - viewport.left`.\n            /** @type {?} */\n            const smallestDistanceToViewportEdge = Math.min(viewport.right - origin.x + viewport.left, origin.x);\n            /** @type {?} */\n            const previousWidth = this._lastBoundingBoxSize.width;\n            width = smallestDistanceToViewportEdge * 2;\n            left = origin.x - smallestDistanceToViewportEdge;\n            if (width > previousWidth && !this._isInitialRender && !this._growAfterOpen) {\n                left = origin.x - (previousWidth / 2);\n            }\n        }\n        return { top: (/** @type {?} */ (top)), left: (/** @type {?} */ (left)), bottom: (/** @type {?} */ (bottom)), right: (/** @type {?} */ (right)), width, height };\n    }\n    /**\n     * Sets the position and size of the overlay's sizing wrapper. The wrapper is positioned on the\n     * origin's connection point and stetches to the bounds of the viewport.\n     *\n     * @private\n     * @param {?} origin The point on the origin element where the overlay is connected.\n     * @param {?} position The position preference\n     * @return {?}\n     */\n    _setBoundingBoxStyles(origin, position) {\n        /** @type {?} */\n        const boundingBoxRect = this._calculateBoundingBoxRect(origin, position);\n        // It's weird if the overlay *grows* while scrolling, so we take the last size into account\n        // when applying a new size.\n        if (!this._isInitialRender && !this._growAfterOpen) {\n            boundingBoxRect.height = Math.min(boundingBoxRect.height, this._lastBoundingBoxSize.height);\n            boundingBoxRect.width = Math.min(boundingBoxRect.width, this._lastBoundingBoxSize.width);\n        }\n        /** @type {?} */\n        const styles = (/** @type {?} */ ({}));\n        if (this._hasExactPosition()) {\n            styles.top = styles.left = '0';\n            styles.bottom = styles.right = '';\n            styles.width = styles.height = '100%';\n        }\n        else {\n            /** @type {?} */\n            const maxHeight = this._overlayRef.getConfig().maxHeight;\n            /** @type {?} */\n            const maxWidth = this._overlayRef.getConfig().maxWidth;\n            styles.height = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceCssPixelValue\"])(boundingBoxRect.height);\n            styles.top = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceCssPixelValue\"])(boundingBoxRect.top);\n            styles.bottom = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceCssPixelValue\"])(boundingBoxRect.bottom);\n            styles.width = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceCssPixelValue\"])(boundingBoxRect.width);\n            styles.left = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceCssPixelValue\"])(boundingBoxRect.left);\n            styles.right = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceCssPixelValue\"])(boundingBoxRect.right);\n            // Push the pane content towards the proper direction.\n            if (position.overlayX === 'center') {\n                styles.alignItems = 'center';\n            }\n            else {\n                styles.alignItems = position.overlayX === 'end' ? 'flex-end' : 'flex-start';\n            }\n            if (position.overlayY === 'center') {\n                styles.justifyContent = 'center';\n            }\n            else {\n                styles.justifyContent = position.overlayY === 'bottom' ? 'flex-end' : 'flex-start';\n            }\n            if (maxHeight) {\n                styles.maxHeight = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceCssPixelValue\"])(maxHeight);\n            }\n            if (maxWidth) {\n                styles.maxWidth = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceCssPixelValue\"])(maxWidth);\n            }\n        }\n        this._lastBoundingBoxSize = boundingBoxRect;\n        extendStyles((/** @type {?} */ (this._boundingBox)).style, styles);\n    }\n    /**\n     * Resets the styles for the bounding box so that a new positioning can be computed.\n     * @private\n     * @return {?}\n     */\n    _resetBoundingBoxStyles() {\n        extendStyles((/** @type {?} */ (this._boundingBox)).style, (/** @type {?} */ ({\n            top: '0',\n            left: '0',\n            right: '0',\n            bottom: '0',\n            height: '',\n            width: '',\n            alignItems: '',\n            justifyContent: '',\n        })));\n    }\n    /**\n     * Resets the styles for the overlay pane so that a new positioning can be computed.\n     * @private\n     * @return {?}\n     */\n    _resetOverlayElementStyles() {\n        extendStyles(this._pane.style, (/** @type {?} */ ({\n            top: '',\n            left: '',\n            bottom: '',\n            right: '',\n            position: '',\n            transform: '',\n        })));\n    }\n    /**\n     * Sets positioning styles to the overlay element.\n     * @private\n     * @param {?} originPoint\n     * @param {?} position\n     * @return {?}\n     */\n    _setOverlayElementStyles(originPoint, position) {\n        /** @type {?} */\n        const styles = (/** @type {?} */ ({}));\n        if (this._hasExactPosition()) {\n            /** @type {?} */\n            const scrollPosition = this._viewportRuler.getViewportScrollPosition();\n            extendStyles(styles, this._getExactOverlayY(position, originPoint, scrollPosition));\n            extendStyles(styles, this._getExactOverlayX(position, originPoint, scrollPosition));\n        }\n        else {\n            styles.position = 'static';\n        }\n        // Use a transform to apply the offsets. We do this because the `center` positions rely on\n        // being in the normal flex flow and setting a `top` / `left` at all will completely throw\n        // off the position. We also can't use margins, because they won't have an effect in some\n        // cases where the element doesn't have anything to \"push off of\". Finally, this works\n        // better both with flexible and non-flexible positioning.\n        /** @type {?} */\n        let transformString = '';\n        /** @type {?} */\n        let offsetX = this._getOffset(position, 'x');\n        /** @type {?} */\n        let offsetY = this._getOffset(position, 'y');\n        if (offsetX) {\n            transformString += `translateX(${offsetX}px) `;\n        }\n        if (offsetY) {\n            transformString += `translateY(${offsetY}px)`;\n        }\n        styles.transform = transformString.trim();\n        // If a maxWidth or maxHeight is specified on the overlay, we remove them. We do this because\n        // we need these values to both be set to \"100%\" for the automatic flexible sizing to work.\n        // The maxHeight and maxWidth are set on the boundingBox in order to enforce the constraint.\n        if (this._hasFlexibleDimensions && this._overlayRef.getConfig().maxHeight) {\n            styles.maxHeight = '';\n        }\n        if (this._hasFlexibleDimensions && this._overlayRef.getConfig().maxWidth) {\n            styles.maxWidth = '';\n        }\n        extendStyles(this._pane.style, styles);\n    }\n    /**\n     * Gets the exact top/bottom for the overlay when not using flexible sizing or when pushing.\n     * @private\n     * @param {?} position\n     * @param {?} originPoint\n     * @param {?} scrollPosition\n     * @return {?}\n     */\n    _getExactOverlayY(position, originPoint, scrollPosition) {\n        // Reset any existing styles. This is necessary in case the\n        // preferred position has changed since the last `apply`.\n        /** @type {?} */\n        let styles = (/** @type {?} */ ({ top: null, bottom: null }));\n        /** @type {?} */\n        let overlayPoint = this._getOverlayPoint(originPoint, this._overlayRect, position);\n        if (this._isPushed) {\n            overlayPoint = this._pushOverlayOnScreen(overlayPoint, this._overlayRect, scrollPosition);\n        }\n        /** @type {?} */\n        let virtualKeyboardOffset = this._overlayContainer.getContainerElement().getBoundingClientRect().top;\n        // Normally this would be zero, however when the overlay is attached to an input (e.g. in an\n        // autocomplete), mobile browsers will shift everything in order to put the input in the middle\n        // of the screen and to make space for the virtual keyboard. We need to account for this offset,\n        // otherwise our positioning will be thrown off.\n        overlayPoint.y -= virtualKeyboardOffset;\n        // We want to set either `top` or `bottom` based on whether the overlay wants to appear\n        // above or below the origin and the direction in which the element will expand.\n        if (position.overlayY === 'bottom') {\n            // When using `bottom`, we adjust the y position such that it is the distance\n            // from the bottom of the viewport rather than the top.\n            /** @type {?} */\n            const documentHeight = (/** @type {?} */ (this._document.documentElement)).clientHeight;\n            styles.bottom = `${documentHeight - (overlayPoint.y + this._overlayRect.height)}px`;\n        }\n        else {\n            styles.top = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceCssPixelValue\"])(overlayPoint.y);\n        }\n        return styles;\n    }\n    /**\n     * Gets the exact left/right for the overlay when not using flexible sizing or when pushing.\n     * @private\n     * @param {?} position\n     * @param {?} originPoint\n     * @param {?} scrollPosition\n     * @return {?}\n     */\n    _getExactOverlayX(position, originPoint, scrollPosition) {\n        // Reset any existing styles. This is necessary in case the preferred position has\n        // changed since the last `apply`.\n        /** @type {?} */\n        let styles = (/** @type {?} */ ({ left: null, right: null }));\n        /** @type {?} */\n        let overlayPoint = this._getOverlayPoint(originPoint, this._overlayRect, position);\n        if (this._isPushed) {\n            overlayPoint = this._pushOverlayOnScreen(overlayPoint, this._overlayRect, scrollPosition);\n        }\n        // We want to set either `left` or `right` based on whether the overlay wants to appear \"before\"\n        // or \"after\" the origin, which determines the direction in which the element will expand.\n        // For the horizontal axis, the meaning of \"before\" and \"after\" change based on whether the\n        // page is in RTL or LTR.\n        /** @type {?} */\n        let horizontalStyleProperty;\n        if (this._isRtl()) {\n            horizontalStyleProperty = position.overlayX === 'end' ? 'left' : 'right';\n        }\n        else {\n            horizontalStyleProperty = position.overlayX === 'end' ? 'right' : 'left';\n        }\n        // When we're setting `right`, we adjust the x position such that it is the distance\n        // from the right edge of the viewport rather than the left edge.\n        if (horizontalStyleProperty === 'right') {\n            /** @type {?} */\n            const documentWidth = (/** @type {?} */ (this._document.documentElement)).clientWidth;\n            styles.right = `${documentWidth - (overlayPoint.x + this._overlayRect.width)}px`;\n        }\n        else {\n            styles.left = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceCssPixelValue\"])(overlayPoint.x);\n        }\n        return styles;\n    }\n    /**\n     * Gets the view properties of the trigger and overlay, including whether they are clipped\n     * or completely outside the view of any of the strategy's scrollables.\n     * @private\n     * @return {?}\n     */\n    _getScrollVisibility() {\n        // Note: needs fresh rects since the position could've changed.\n        /** @type {?} */\n        const originBounds = this._getOriginRect();\n        /** @type {?} */\n        const overlayBounds = this._pane.getBoundingClientRect();\n        // TODO(jelbourn): instead of needing all of the client rects for these scrolling containers\n        // every time, we should be able to use the scrollTop of the containers if the size of those\n        // containers hasn't changed.\n        /** @type {?} */\n        const scrollContainerBounds = this._scrollables.map((/**\n         * @param {?} scrollable\n         * @return {?}\n         */\n        scrollable => {\n            return scrollable.getElementRef().nativeElement.getBoundingClientRect();\n        }));\n        return {\n            isOriginClipped: isElementClippedByScrolling(originBounds, scrollContainerBounds),\n            isOriginOutsideView: isElementScrolledOutsideView(originBounds, scrollContainerBounds),\n            isOverlayClipped: isElementClippedByScrolling(overlayBounds, scrollContainerBounds),\n            isOverlayOutsideView: isElementScrolledOutsideView(overlayBounds, scrollContainerBounds),\n        };\n    }\n    /**\n     * Subtracts the amount that an element is overflowing on an axis from its length.\n     * @private\n     * @param {?} length\n     * @param {...?} overflows\n     * @return {?}\n     */\n    _subtractOverflows(length, ...overflows) {\n        return overflows.reduce((/**\n         * @param {?} currentValue\n         * @param {?} currentOverflow\n         * @return {?}\n         */\n        (currentValue, currentOverflow) => {\n            return currentValue - Math.max(currentOverflow, 0);\n        }), length);\n    }\n    /**\n     * Narrows the given viewport rect by the current _viewportMargin.\n     * @private\n     * @return {?}\n     */\n    _getNarrowedViewportRect() {\n        // We recalculate the viewport rect here ourselves, rather than using the ViewportRuler,\n        // because we want to use the `clientWidth` and `clientHeight` as the base. The difference\n        // being that the client properties don't include the scrollbar, as opposed to `innerWidth`\n        // and `innerHeight` that do. This is necessary, because the overlay container uses\n        // 100% `width` and `height` which don't include the scrollbar either.\n        /** @type {?} */\n        const width = (/** @type {?} */ (this._document.documentElement)).clientWidth;\n        /** @type {?} */\n        const height = (/** @type {?} */ (this._document.documentElement)).clientHeight;\n        /** @type {?} */\n        const scrollPosition = this._viewportRuler.getViewportScrollPosition();\n        return {\n            top: scrollPosition.top + this._viewportMargin,\n            left: scrollPosition.left + this._viewportMargin,\n            right: scrollPosition.left + width - this._viewportMargin,\n            bottom: scrollPosition.top + height - this._viewportMargin,\n            width: width - (2 * this._viewportMargin),\n            height: height - (2 * this._viewportMargin),\n        };\n    }\n    /**\n     * Whether the we're dealing with an RTL context\n     * @private\n     * @return {?}\n     */\n    _isRtl() {\n        return this._overlayRef.getDirection() === 'rtl';\n    }\n    /**\n     * Determines whether the overlay uses exact or flexible positioning.\n     * @private\n     * @return {?}\n     */\n    _hasExactPosition() {\n        return !this._hasFlexibleDimensions || this._isPushed;\n    }\n    /**\n     * Retrieves the offset of a position along the x or y axis.\n     * @private\n     * @param {?} position\n     * @param {?} axis\n     * @return {?}\n     */\n    _getOffset(position, axis) {\n        if (axis === 'x') {\n            // We don't do something like `position['offset' + axis]` in\n            // order to avoid breking minifiers that rename properties.\n            return position.offsetX == null ? this._offsetX : position.offsetX;\n        }\n        return position.offsetY == null ? this._offsetY : position.offsetY;\n    }\n    /**\n     * Validates that the current position match the expected values.\n     * @private\n     * @return {?}\n     */\n    _validatePositions() {\n        if (!this._preferredPositions.length) {\n            throw Error('FlexibleConnectedPositionStrategy: At least one position is required.');\n        }\n        // TODO(crisbeto): remove these once Angular's template type\n        // checking is advanced enough to catch these cases.\n        this._preferredPositions.forEach((/**\n         * @param {?} pair\n         * @return {?}\n         */\n        pair => {\n            validateHorizontalPosition('originX', pair.originX);\n            validateVerticalPosition('originY', pair.originY);\n            validateHorizontalPosition('overlayX', pair.overlayX);\n            validateVerticalPosition('overlayY', pair.overlayY);\n        }));\n    }\n    /**\n     * Adds a single CSS class or an array of classes on the overlay panel.\n     * @private\n     * @param {?} cssClasses\n     * @return {?}\n     */\n    _addPanelClasses(cssClasses) {\n        if (this._pane) {\n            Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceArray\"])(cssClasses).forEach((/**\n             * @param {?} cssClass\n             * @return {?}\n             */\n            cssClass => {\n                if (cssClass !== '' && this._appliedPanelClasses.indexOf(cssClass) === -1) {\n                    this._appliedPanelClasses.push(cssClass);\n                    this._pane.classList.add(cssClass);\n                }\n            }));\n        }\n    }\n    /**\n     * Clears the classes that the position strategy has applied from the overlay panel.\n     * @private\n     * @return {?}\n     */\n    _clearPanelClasses() {\n        if (this._pane) {\n            this._appliedPanelClasses.forEach((/**\n             * @param {?} cssClass\n             * @return {?}\n             */\n            cssClass => {\n                this._pane.classList.remove(cssClass);\n            }));\n            this._appliedPanelClasses = [];\n        }\n    }\n    /**\n     * Returns the ClientRect of the current origin.\n     * @private\n     * @return {?}\n     */\n    _getOriginRect() {\n        /** @type {?} */\n        const origin = this._origin;\n        if (origin instanceof _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ElementRef\"]) {\n            return origin.nativeElement.getBoundingClientRect();\n        }\n        if (origin instanceof HTMLElement) {\n            return origin.getBoundingClientRect();\n        }\n        /** @type {?} */\n        const width = origin.width || 0;\n        /** @type {?} */\n        const height = origin.height || 0;\n        // If the origin is a point, return a client rect as if it was a 0x0 element at the point.\n        return {\n            top: origin.y,\n            bottom: origin.y + height,\n            left: origin.x,\n            right: origin.x + width,\n            height,\n            width\n        };\n    }\n}\n/**\n * Shallow-extends a stylesheet object with another stylesheet object.\n * @param {?} dest\n * @param {?} source\n * @return {?}\n */\nfunction extendStyles(dest, source) {\n    for (let key in source) {\n        if (source.hasOwnProperty(key)) {\n            dest[key] = source[key];\n        }\n    }\n    return dest;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * A strategy for positioning overlays. Using this strategy, an overlay is given an\n * implicit position relative to some origin element. The relative position is defined in terms of\n * a point on the origin element that is connected to a point on the overlay element. For example,\n * a basic dropdown is connecting the bottom-left corner of the origin to the top-left corner\n * of the overlay.\n * @deprecated Use `FlexibleConnectedPositionStrategy` instead.\n * \\@breaking-change 8.0.0\n */\nclass ConnectedPositionStrategy {\n    /**\n     * @param {?} originPos\n     * @param {?} overlayPos\n     * @param {?} connectedTo\n     * @param {?} viewportRuler\n     * @param {?} document\n     * @param {?} platform\n     * @param {?} overlayContainer\n     */\n    constructor(originPos, overlayPos, connectedTo, viewportRuler, document, platform, overlayContainer) {\n        /**\n         * Ordered list of preferred positions, from most to least desirable.\n         */\n        this._preferredPositions = [];\n        // Since the `ConnectedPositionStrategy` is deprecated and we don't want to maintain\n        // the extra logic, we create an instance of the positioning strategy that has some\n        // defaults that make it behave as the old position strategy and to which we'll\n        // proxy all of the API calls.\n        this._positionStrategy = new FlexibleConnectedPositionStrategy(connectedTo, viewportRuler, document, platform, overlayContainer)\n            .withFlexibleDimensions(false)\n            .withPush(false)\n            .withViewportMargin(0);\n        this.withFallbackPosition(originPos, overlayPos);\n    }\n    /**\n     * Whether the we're dealing with an RTL context\n     * @return {?}\n     */\n    get _isRtl() {\n        return this._overlayRef.getDirection() === 'rtl';\n    }\n    /**\n     * Emits an event when the connection point changes.\n     * @return {?}\n     */\n    get onPositionChange() {\n        return this._positionStrategy.positionChanges;\n    }\n    /**\n     * Ordered list of preferred positions, from most to least desirable.\n     * @return {?}\n     */\n    get positions() {\n        return this._preferredPositions;\n    }\n    /**\n     * Attach this position strategy to an overlay.\n     * @param {?} overlayRef\n     * @return {?}\n     */\n    attach(overlayRef) {\n        this._overlayRef = overlayRef;\n        this._positionStrategy.attach(overlayRef);\n        if (this._direction) {\n            overlayRef.setDirection(this._direction);\n            this._direction = null;\n        }\n    }\n    /**\n     * Disposes all resources used by the position strategy.\n     * @return {?}\n     */\n    dispose() {\n        this._positionStrategy.dispose();\n    }\n    /**\n     * \\@docs-private\n     * @return {?}\n     */\n    detach() {\n        this._positionStrategy.detach();\n    }\n    /**\n     * Updates the position of the overlay element, using whichever preferred position relative\n     * to the origin fits on-screen.\n     * \\@docs-private\n     * @return {?}\n     */\n    apply() {\n        this._positionStrategy.apply();\n    }\n    /**\n     * Re-positions the overlay element with the trigger in its last calculated position,\n     * even if a position higher in the \"preferred positions\" list would now fit. This\n     * allows one to re-align the panel without changing the orientation of the panel.\n     * @return {?}\n     */\n    recalculateLastPosition() {\n        this._positionStrategy.reapplyLastPosition();\n    }\n    /**\n     * Sets the list of Scrollable containers that host the origin element so that\n     * on reposition we can evaluate if it or the overlay has been clipped or outside view. Every\n     * Scrollable must be an ancestor element of the strategy's origin element.\n     * @param {?} scrollables\n     * @return {?}\n     */\n    withScrollableContainers(scrollables) {\n        this._positionStrategy.withScrollableContainers(scrollables);\n    }\n    /**\n     * Adds a new preferred fallback position.\n     * @template THIS\n     * @this {THIS}\n     * @param {?} originPos\n     * @param {?} overlayPos\n     * @param {?=} offsetX\n     * @param {?=} offsetY\n     * @return {THIS}\n     */\n    withFallbackPosition(originPos, overlayPos, offsetX, offsetY) {\n        /** @type {?} */\n        const position = new ConnectionPositionPair(originPos, overlayPos, offsetX, offsetY);\n        (/** @type {?} */ (this))._preferredPositions.push(position);\n        (/** @type {?} */ (this))._positionStrategy.withPositions((/** @type {?} */ (this))._preferredPositions);\n        return (/** @type {?} */ (this));\n    }\n    /**\n     * Sets the layout direction so the overlay's position can be adjusted to match.\n     * @template THIS\n     * @this {THIS}\n     * @param {?} dir New layout direction.\n     * @return {THIS}\n     */\n    withDirection(dir) {\n        // Since the direction might be declared before the strategy is attached,\n        // we save the value in a temporary property and we'll transfer it to the\n        // overlay ref on attachment.\n        if ((/** @type {?} */ (this))._overlayRef) {\n            (/** @type {?} */ (this))._overlayRef.setDirection(dir);\n        }\n        else {\n            (/** @type {?} */ (this))._direction = dir;\n        }\n        return (/** @type {?} */ (this));\n    }\n    /**\n     * Sets an offset for the overlay's connection point on the x-axis\n     * @template THIS\n     * @this {THIS}\n     * @param {?} offset New offset in the X axis.\n     * @return {THIS}\n     */\n    withOffsetX(offset) {\n        (/** @type {?} */ (this))._positionStrategy.withDefaultOffsetX(offset);\n        return (/** @type {?} */ (this));\n    }\n    /**\n     * Sets an offset for the overlay's connection point on the y-axis\n     * @template THIS\n     * @this {THIS}\n     * @param {?} offset New offset in the Y axis.\n     * @return {THIS}\n     */\n    withOffsetY(offset) {\n        (/** @type {?} */ (this))._positionStrategy.withDefaultOffsetY(offset);\n        return (/** @type {?} */ (this));\n    }\n    /**\n     * Sets whether the overlay's position should be locked in after it is positioned\n     * initially. When an overlay is locked in, it won't attempt to reposition itself\n     * when the position is re-applied (e.g. when the user scrolls away).\n     * @template THIS\n     * @this {THIS}\n     * @param {?} isLocked Whether the overlay should locked in.\n     * @return {THIS}\n     */\n    withLockedPosition(isLocked) {\n        (/** @type {?} */ (this))._positionStrategy.withLockedPosition(isLocked);\n        return (/** @type {?} */ (this));\n    }\n    /**\n     * Overwrites the current set of positions with an array of new ones.\n     * @template THIS\n     * @this {THIS}\n     * @param {?} positions Position pairs to be set on the strategy.\n     * @return {THIS}\n     */\n    withPositions(positions) {\n        (/** @type {?} */ (this))._preferredPositions = positions.slice();\n        (/** @type {?} */ (this))._positionStrategy.withPositions((/** @type {?} */ (this))._preferredPositions);\n        return (/** @type {?} */ (this));\n    }\n    /**\n     * Sets the origin element, relative to which to position the overlay.\n     * @template THIS\n     * @this {THIS}\n     * @param {?} origin Reference to the new origin element.\n     * @return {THIS}\n     */\n    setOrigin(origin) {\n        (/** @type {?} */ (this))._positionStrategy.setOrigin(origin);\n        return (/** @type {?} */ (this));\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * Class to be added to the overlay pane wrapper.\n * @type {?}\n */\nconst wrapperClass = 'cdk-global-overlay-wrapper';\n/**\n * A strategy for positioning overlays. Using this strategy, an overlay is given an\n * explicit position relative to the browser's viewport. We use flexbox, instead of\n * transforms, in order to avoid issues with subpixel rendering which can cause the\n * element to become blurry.\n */\nclass GlobalPositionStrategy {\n    constructor() {\n        this._cssPosition = 'static';\n        this._topOffset = '';\n        this._bottomOffset = '';\n        this._leftOffset = '';\n        this._rightOffset = '';\n        this._alignItems = '';\n        this._justifyContent = '';\n        this._width = '';\n        this._height = '';\n    }\n    /**\n     * @param {?} overlayRef\n     * @return {?}\n     */\n    attach(overlayRef) {\n        /** @type {?} */\n        const config = overlayRef.getConfig();\n        this._overlayRef = overlayRef;\n        if (this._width && !config.width) {\n            overlayRef.updateSize({ width: this._width });\n        }\n        if (this._height && !config.height) {\n            overlayRef.updateSize({ height: this._height });\n        }\n        overlayRef.hostElement.classList.add(wrapperClass);\n        this._isDisposed = false;\n    }\n    /**\n     * Sets the top position of the overlay. Clears any previously set vertical position.\n     * @template THIS\n     * @this {THIS}\n     * @param {?=} value New top offset.\n     * @return {THIS}\n     */\n    top(value = '') {\n        (/** @type {?} */ (this))._bottomOffset = '';\n        (/** @type {?} */ (this))._topOffset = value;\n        (/** @type {?} */ (this))._alignItems = 'flex-start';\n        return (/** @type {?} */ (this));\n    }\n    /**\n     * Sets the left position of the overlay. Clears any previously set horizontal position.\n     * @template THIS\n     * @this {THIS}\n     * @param {?=} value New left offset.\n     * @return {THIS}\n     */\n    left(value = '') {\n        (/** @type {?} */ (this))._rightOffset = '';\n        (/** @type {?} */ (this))._leftOffset = value;\n        (/** @type {?} */ (this))._justifyContent = 'flex-start';\n        return (/** @type {?} */ (this));\n    }\n    /**\n     * Sets the bottom position of the overlay. Clears any previously set vertical position.\n     * @template THIS\n     * @this {THIS}\n     * @param {?=} value New bottom offset.\n     * @return {THIS}\n     */\n    bottom(value = '') {\n        (/** @type {?} */ (this))._topOffset = '';\n        (/** @type {?} */ (this))._bottomOffset = value;\n        (/** @type {?} */ (this))._alignItems = 'flex-end';\n        return (/** @type {?} */ (this));\n    }\n    /**\n     * Sets the right position of the overlay. Clears any previously set horizontal position.\n     * @template THIS\n     * @this {THIS}\n     * @param {?=} value New right offset.\n     * @return {THIS}\n     */\n    right(value = '') {\n        (/** @type {?} */ (this))._leftOffset = '';\n        (/** @type {?} */ (this))._rightOffset = value;\n        (/** @type {?} */ (this))._justifyContent = 'flex-end';\n        return (/** @type {?} */ (this));\n    }\n    /**\n     * Sets the overlay width and clears any previously set width.\n     * @deprecated Pass the `width` through the `OverlayConfig`.\n     * \\@breaking-change 8.0.0\n     * @template THIS\n     * @this {THIS}\n     * @param {?=} value New width for the overlay\n     * @return {THIS}\n     */\n    width(value = '') {\n        if ((/** @type {?} */ (this))._overlayRef) {\n            (/** @type {?} */ (this))._overlayRef.updateSize({ width: value });\n        }\n        else {\n            (/** @type {?} */ (this))._width = value;\n        }\n        return (/** @type {?} */ (this));\n    }\n    /**\n     * Sets the overlay height and clears any previously set height.\n     * @deprecated Pass the `height` through the `OverlayConfig`.\n     * \\@breaking-change 8.0.0\n     * @template THIS\n     * @this {THIS}\n     * @param {?=} value New height for the overlay\n     * @return {THIS}\n     */\n    height(value = '') {\n        if ((/** @type {?} */ (this))._overlayRef) {\n            (/** @type {?} */ (this))._overlayRef.updateSize({ height: value });\n        }\n        else {\n            (/** @type {?} */ (this))._height = value;\n        }\n        return (/** @type {?} */ (this));\n    }\n    /**\n     * Centers the overlay horizontally with an optional offset.\n     * Clears any previously set horizontal position.\n     *\n     * @template THIS\n     * @this {THIS}\n     * @param {?=} offset Overlay offset from the horizontal center.\n     * @return {THIS}\n     */\n    centerHorizontally(offset = '') {\n        (/** @type {?} */ (this)).left(offset);\n        (/** @type {?} */ (this))._justifyContent = 'center';\n        return (/** @type {?} */ (this));\n    }\n    /**\n     * Centers the overlay vertically with an optional offset.\n     * Clears any previously set vertical position.\n     *\n     * @template THIS\n     * @this {THIS}\n     * @param {?=} offset Overlay offset from the vertical center.\n     * @return {THIS}\n     */\n    centerVertically(offset = '') {\n        (/** @type {?} */ (this)).top(offset);\n        (/** @type {?} */ (this))._alignItems = 'center';\n        return (/** @type {?} */ (this));\n    }\n    /**\n     * Apply the position to the element.\n     * \\@docs-private\n     * @return {?}\n     */\n    apply() {\n        // Since the overlay ref applies the strategy asynchronously, it could\n        // have been disposed before it ends up being applied. If that is the\n        // case, we shouldn't do anything.\n        if (!this._overlayRef || !this._overlayRef.hasAttached()) {\n            return;\n        }\n        /** @type {?} */\n        const styles = this._overlayRef.overlayElement.style;\n        /** @type {?} */\n        const parentStyles = this._overlayRef.hostElement.style;\n        /** @type {?} */\n        const config = this._overlayRef.getConfig();\n        styles.position = this._cssPosition;\n        styles.marginLeft = config.width === '100%' ? '0' : this._leftOffset;\n        styles.marginTop = config.height === '100%' ? '0' : this._topOffset;\n        styles.marginBottom = this._bottomOffset;\n        styles.marginRight = this._rightOffset;\n        if (config.width === '100%') {\n            parentStyles.justifyContent = 'flex-start';\n        }\n        else if (this._justifyContent === 'center') {\n            parentStyles.justifyContent = 'center';\n        }\n        else if (this._overlayRef.getConfig().direction === 'rtl') {\n            // In RTL the browser will invert `flex-start` and `flex-end` automatically, but we\n            // don't want that because our positioning is explicitly `left` and `right`, hence\n            // why we do another inversion to ensure that the overlay stays in the same position.\n            // TODO: reconsider this if we add `start` and `end` methods.\n            if (this._justifyContent === 'flex-start') {\n                parentStyles.justifyContent = 'flex-end';\n            }\n            else if (this._justifyContent === 'flex-end') {\n                parentStyles.justifyContent = 'flex-start';\n            }\n        }\n        else {\n            parentStyles.justifyContent = this._justifyContent;\n        }\n        parentStyles.alignItems = config.height === '100%' ? 'flex-start' : this._alignItems;\n    }\n    /**\n     * Cleans up the DOM changes from the position strategy.\n     * \\@docs-private\n     * @return {?}\n     */\n    dispose() {\n        if (this._isDisposed || !this._overlayRef) {\n            return;\n        }\n        /** @type {?} */\n        const styles = this._overlayRef.overlayElement.style;\n        /** @type {?} */\n        const parent = this._overlayRef.hostElement;\n        /** @type {?} */\n        const parentStyles = parent.style;\n        parent.classList.remove(wrapperClass);\n        parentStyles.justifyContent = parentStyles.alignItems = styles.marginTop =\n            styles.marginBottom = styles.marginLeft = styles.marginRight = styles.position = '';\n        this._overlayRef = (/** @type {?} */ (null));\n        this._isDisposed = true;\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Builder for overlay position strategy.\n */\nclass OverlayPositionBuilder {\n    /**\n     * @param {?} _viewportRuler\n     * @param {?} _document\n     * @param {?} _platform\n     * @param {?} _overlayContainer\n     */\n    constructor(_viewportRuler, _document, _platform, _overlayContainer) {\n        this._viewportRuler = _viewportRuler;\n        this._document = _document;\n        this._platform = _platform;\n        this._overlayContainer = _overlayContainer;\n    }\n    /**\n     * Creates a global position strategy.\n     * @return {?}\n     */\n    global() {\n        return new GlobalPositionStrategy();\n    }\n    /**\n     * Creates a relative position strategy.\n     * @deprecated Use `flexibleConnectedTo` instead.\n     * \\@breaking-change 8.0.0\n     * @param {?} elementRef\n     * @param {?} originPos\n     * @param {?} overlayPos\n     * @return {?}\n     */\n    connectedTo(elementRef, originPos, overlayPos) {\n        return new ConnectedPositionStrategy(originPos, overlayPos, elementRef, this._viewportRuler, this._document, this._platform, this._overlayContainer);\n    }\n    /**\n     * Creates a flexible position strategy.\n     * @param {?} origin Origin relative to which to position the overlay.\n     * @return {?}\n     */\n    flexibleConnectedTo(origin) {\n        return new FlexibleConnectedPositionStrategy(origin, this._viewportRuler, this._document, this._platform, this._overlayContainer);\n    }\n}\nOverlayPositionBuilder.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */\nOverlayPositionBuilder.ctorParameters = () => [\n    { type: _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_1__[\"ViewportRuler\"] },\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Inject\"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_2__[\"DOCUMENT\"],] }] },\n    { type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_6__[\"Platform\"] },\n    { type: OverlayContainer }\n];\n/** @nocollapse */ OverlayPositionBuilder.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ɵɵdefineInjectable\"])({ factory: function OverlayPositionBuilder_Factory() { return new OverlayPositionBuilder(Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ɵɵinject\"])(_angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_1__[\"ViewportRuler\"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ɵɵinject\"])(_angular_common__WEBPACK_IMPORTED_MODULE_2__[\"DOCUMENT\"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ɵɵinject\"])(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_6__[\"Platform\"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ɵɵinject\"])(OverlayContainer)); }, token: OverlayPositionBuilder, providedIn: \"root\" });\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Next overlay unique ID.\n * @type {?}\n */\nlet nextUniqueId = 0;\n// Note that Overlay is *not* scoped to the app root because the ComponentFactoryResolver\n// it needs is different based on where OverlayModule is imported.\n/**\n * Service to create Overlays. Overlays are dynamically added pieces of floating UI, meant to be\n * used as a low-level building block for other components. Dialogs, tooltips, menus,\n * selects, etc. can all be built using overlays. The service should primarily be used by authors\n * of re-usable components rather than developers building end-user applications.\n *\n * An overlay *is* a PortalOutlet, so any kind of Portal can be loaded into one.\n */\nclass Overlay {\n    /**\n     * @param {?} scrollStrategies\n     * @param {?} _overlayContainer\n     * @param {?} _componentFactoryResolver\n     * @param {?} _positionBuilder\n     * @param {?} _keyboardDispatcher\n     * @param {?} _injector\n     * @param {?} _ngZone\n     * @param {?} _document\n     * @param {?} _directionality\n     * @param {?=} _location\n     */\n    constructor(scrollStrategies, _overlayContainer, _componentFactoryResolver, _positionBuilder, _keyboardDispatcher, _injector, _ngZone, _document, _directionality, _location) {\n        this.scrollStrategies = scrollStrategies;\n        this._overlayContainer = _overlayContainer;\n        this._componentFactoryResolver = _componentFactoryResolver;\n        this._positionBuilder = _positionBuilder;\n        this._keyboardDispatcher = _keyboardDispatcher;\n        this._injector = _injector;\n        this._ngZone = _ngZone;\n        this._document = _document;\n        this._directionality = _directionality;\n        this._location = _location;\n    }\n    /**\n     * Creates an overlay.\n     * @param {?=} config Configuration applied to the overlay.\n     * @return {?} Reference to the created overlay.\n     */\n    create(config) {\n        /** @type {?} */\n        const host = this._createHostElement();\n        /** @type {?} */\n        const pane = this._createPaneElement(host);\n        /** @type {?} */\n        const portalOutlet = this._createPortalOutlet(pane);\n        /** @type {?} */\n        const overlayConfig = new OverlayConfig(config);\n        overlayConfig.direction = overlayConfig.direction || this._directionality.value;\n        return new OverlayRef(portalOutlet, host, pane, overlayConfig, this._ngZone, this._keyboardDispatcher, this._document, this._location);\n    }\n    /**\n     * Gets a position builder that can be used, via fluent API,\n     * to construct and configure a position strategy.\n     * @return {?} An overlay position builder.\n     */\n    position() {\n        return this._positionBuilder;\n    }\n    /**\n     * Creates the DOM element for an overlay and appends it to the overlay container.\n     * @private\n     * @param {?} host\n     * @return {?} Newly-created pane element\n     */\n    _createPaneElement(host) {\n        /** @type {?} */\n        const pane = this._document.createElement('div');\n        pane.id = `cdk-overlay-${nextUniqueId++}`;\n        pane.classList.add('cdk-overlay-pane');\n        host.appendChild(pane);\n        return pane;\n    }\n    /**\n     * Creates the host element that wraps around an overlay\n     * and can be used for advanced positioning.\n     * @private\n     * @return {?} Newly-create host element.\n     */\n    _createHostElement() {\n        /** @type {?} */\n        const host = this._document.createElement('div');\n        this._overlayContainer.getContainerElement().appendChild(host);\n        return host;\n    }\n    /**\n     * Create a DomPortalOutlet into which the overlay content can be loaded.\n     * @private\n     * @param {?} pane The DOM element to turn into a portal outlet.\n     * @return {?} A portal outlet for the given DOM element.\n     */\n    _createPortalOutlet(pane) {\n        // We have to resolve the ApplicationRef later in order to allow people\n        // to use overlay-based providers during app initialization.\n        if (!this._appRef) {\n            this._appRef = this._injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ApplicationRef\"]);\n        }\n        return new _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_8__[\"DomPortalOutlet\"](pane, this._componentFactoryResolver, this._appRef, this._injector);\n    }\n}\nOverlay.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Injectable\"] },\n];\n/** @nocollapse */\nOverlay.ctorParameters = () => [\n    { type: ScrollStrategyOptions },\n    { type: OverlayContainer },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ComponentFactoryResolver\"] },\n    { type: OverlayPositionBuilder },\n    { type: OverlayKeyboardDispatcher },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Injector\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"NgZone\"] },\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Inject\"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_2__[\"DOCUMENT\"],] }] },\n    { type: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_7__[\"Directionality\"] },\n    { type: _angular_common__WEBPACK_IMPORTED_MODULE_2__[\"Location\"], decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Optional\"] }] }\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Default set of positions for the overlay. Follows the behavior of a dropdown.\n * @type {?}\n */\nconst defaultPositionList = [\n    {\n        originX: 'start',\n        originY: 'bottom',\n        overlayX: 'start',\n        overlayY: 'top'\n    },\n    {\n        originX: 'start',\n        originY: 'top',\n        overlayX: 'start',\n        overlayY: 'bottom'\n    },\n    {\n        originX: 'end',\n        originY: 'top',\n        overlayX: 'end',\n        overlayY: 'bottom'\n    },\n    {\n        originX: 'end',\n        originY: 'bottom',\n        overlayX: 'end',\n        overlayY: 'top'\n    }\n];\n/**\n * Injection token that determines the scroll handling while the connected overlay is open.\n * @type {?}\n */\nconst CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY = new _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"InjectionToken\"]('cdk-connected-overlay-scroll-strategy');\n/**\n * Directive applied to an element to make it usable as an origin for an Overlay using a\n * ConnectedPositionStrategy.\n */\nclass CdkOverlayOrigin {\n    /**\n     * @param {?} elementRef\n     */\n    constructor(elementRef) {\n        this.elementRef = elementRef;\n    }\n}\nCdkOverlayOrigin.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Directive\"], args: [{\n                selector: '[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]',\n                exportAs: 'cdkOverlayOrigin',\n            },] },\n];\n/** @nocollapse */\nCdkOverlayOrigin.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ElementRef\"] }\n];\n/**\n * Directive to facilitate declarative creation of an\n * Overlay using a FlexibleConnectedPositionStrategy.\n */\nclass CdkConnectedOverlay {\n    // TODO(jelbourn): inputs for size, scroll behavior, animation, etc.\n    /**\n     * @param {?} _overlay\n     * @param {?} templateRef\n     * @param {?} viewContainerRef\n     * @param {?} scrollStrategyFactory\n     * @param {?} _dir\n     */\n    constructor(_overlay, templateRef, viewContainerRef, scrollStrategyFactory, _dir) {\n        this._overlay = _overlay;\n        this._dir = _dir;\n        this._hasBackdrop = false;\n        this._lockPosition = false;\n        this._growAfterOpen = false;\n        this._flexibleDimensions = false;\n        this._push = false;\n        this._backdropSubscription = rxjs__WEBPACK_IMPORTED_MODULE_4__[\"Subscription\"].EMPTY;\n        /**\n         * Margin between the overlay and the viewport edges.\n         */\n        this.viewportMargin = 0;\n        /**\n         * Whether the overlay is open.\n         */\n        this.open = false;\n        /**\n         * Event emitted when the backdrop is clicked.\n         */\n        this.backdropClick = new _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"EventEmitter\"]();\n        /**\n         * Event emitted when the position has changed.\n         */\n        this.positionChange = new _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"EventEmitter\"]();\n        /**\n         * Event emitted when the overlay has been attached.\n         */\n        this.attach = new _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"EventEmitter\"]();\n        /**\n         * Event emitted when the overlay has been detached.\n         */\n        this.detach = new _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"EventEmitter\"]();\n        /**\n         * Emits when there are keyboard events that are targeted at the overlay.\n         */\n        this.overlayKeydown = new _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"EventEmitter\"]();\n        this._templatePortal = new _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_8__[\"TemplatePortal\"](templateRef, viewContainerRef);\n        this._scrollStrategyFactory = scrollStrategyFactory;\n        this.scrollStrategy = this._scrollStrategyFactory();\n    }\n    /**\n     * The offset in pixels for the overlay connection point on the x-axis\n     * @return {?}\n     */\n    get offsetX() { return this._offsetX; }\n    /**\n     * @param {?} offsetX\n     * @return {?}\n     */\n    set offsetX(offsetX) {\n        this._offsetX = offsetX;\n        if (this._position) {\n            this._updatePositionStrategy(this._position);\n        }\n    }\n    /**\n     * The offset in pixels for the overlay connection point on the y-axis\n     * @return {?}\n     */\n    get offsetY() { return this._offsetY; }\n    /**\n     * @param {?} offsetY\n     * @return {?}\n     */\n    set offsetY(offsetY) {\n        this._offsetY = offsetY;\n        if (this._position) {\n            this._updatePositionStrategy(this._position);\n        }\n    }\n    /**\n     * Whether or not the overlay should attach a backdrop.\n     * @return {?}\n     */\n    get hasBackdrop() { return this._hasBackdrop; }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    set hasBackdrop(value) { this._hasBackdrop = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceBooleanProperty\"])(value); }\n    /**\n     * Whether or not the overlay should be locked when scrolling.\n     * @return {?}\n     */\n    get lockPosition() { return this._lockPosition; }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    set lockPosition(value) { this._lockPosition = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceBooleanProperty\"])(value); }\n    /**\n     * Whether the overlay's width and height can be constrained to fit within the viewport.\n     * @return {?}\n     */\n    get flexibleDimensions() { return this._flexibleDimensions; }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    set flexibleDimensions(value) {\n        this._flexibleDimensions = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceBooleanProperty\"])(value);\n    }\n    /**\n     * Whether the overlay can grow after the initial open when flexible positioning is turned on.\n     * @return {?}\n     */\n    get growAfterOpen() { return this._growAfterOpen; }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    set growAfterOpen(value) { this._growAfterOpen = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceBooleanProperty\"])(value); }\n    /**\n     * Whether the overlay can be pushed on-screen if none of the provided positions fit.\n     * @return {?}\n     */\n    get push() { return this._push; }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    set push(value) { this._push = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceBooleanProperty\"])(value); }\n    /**\n     * The associated overlay reference.\n     * @return {?}\n     */\n    get overlayRef() {\n        return this._overlayRef;\n    }\n    /**\n     * The element's layout direction.\n     * @return {?}\n     */\n    get dir() {\n        return this._dir ? this._dir.value : 'ltr';\n    }\n    /**\n     * @return {?}\n     */\n    ngOnDestroy() {\n        if (this._overlayRef) {\n            this._overlayRef.dispose();\n        }\n        this._backdropSubscription.unsubscribe();\n    }\n    /**\n     * @param {?} changes\n     * @return {?}\n     */\n    ngOnChanges(changes) {\n        if (this._position) {\n            this._updatePositionStrategy(this._position);\n            this._overlayRef.updateSize({\n                width: this.width,\n                minWidth: this.minWidth,\n                height: this.height,\n                minHeight: this.minHeight,\n            });\n            if (changes['origin'] && this.open) {\n                this._position.apply();\n            }\n        }\n        if (changes['open']) {\n            this.open ? this._attachOverlay() : this._detachOverlay();\n        }\n    }\n    /**\n     * Creates an overlay\n     * @private\n     * @return {?}\n     */\n    _createOverlay() {\n        if (!this.positions || !this.positions.length) {\n            this.positions = defaultPositionList;\n        }\n        this._overlayRef = this._overlay.create(this._buildConfig());\n        this._overlayRef.keydownEvents().subscribe((/**\n         * @param {?} event\n         * @return {?}\n         */\n        (event) => {\n            this.overlayKeydown.next(event);\n            if (event.keyCode === _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_9__[\"ESCAPE\"] && !Object(_angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_9__[\"hasModifierKey\"])(event)) {\n                event.preventDefault();\n                this._detachOverlay();\n            }\n        }));\n    }\n    /**\n     * Builds the overlay config based on the directive's inputs\n     * @private\n     * @return {?}\n     */\n    _buildConfig() {\n        /** @type {?} */\n        const positionStrategy = this._position = this._createPositionStrategy();\n        /** @type {?} */\n        const overlayConfig = new OverlayConfig({\n            direction: this._dir,\n            positionStrategy,\n            scrollStrategy: this.scrollStrategy,\n            hasBackdrop: this.hasBackdrop\n        });\n        if (this.width || this.width === 0) {\n            overlayConfig.width = this.width;\n        }\n        if (this.height || this.height === 0) {\n            overlayConfig.height = this.height;\n        }\n        if (this.minWidth || this.minWidth === 0) {\n            overlayConfig.minWidth = this.minWidth;\n        }\n        if (this.minHeight || this.minHeight === 0) {\n            overlayConfig.minHeight = this.minHeight;\n        }\n        if (this.backdropClass) {\n            overlayConfig.backdropClass = this.backdropClass;\n        }\n        if (this.panelClass) {\n            overlayConfig.panelClass = this.panelClass;\n        }\n        return overlayConfig;\n    }\n    /**\n     * Updates the state of a position strategy, based on the values of the directive inputs.\n     * @private\n     * @param {?} positionStrategy\n     * @return {?}\n     */\n    _updatePositionStrategy(positionStrategy) {\n        /** @type {?} */\n        const positions = this.positions.map((/**\n         * @param {?} currentPosition\n         * @return {?}\n         */\n        currentPosition => ({\n            originX: currentPosition.originX,\n            originY: currentPosition.originY,\n            overlayX: currentPosition.overlayX,\n            overlayY: currentPosition.overlayY,\n            offsetX: currentPosition.offsetX || this.offsetX,\n            offsetY: currentPosition.offsetY || this.offsetY,\n            panelClass: currentPosition.panelClass || undefined,\n        })));\n        return positionStrategy\n            .setOrigin(this.origin.elementRef)\n            .withPositions(positions)\n            .withFlexibleDimensions(this.flexibleDimensions)\n            .withPush(this.push)\n            .withGrowAfterOpen(this.growAfterOpen)\n            .withViewportMargin(this.viewportMargin)\n            .withLockedPosition(this.lockPosition);\n    }\n    /**\n     * Returns the position strategy of the overlay to be set on the overlay config\n     * @private\n     * @return {?}\n     */\n    _createPositionStrategy() {\n        /** @type {?} */\n        const strategy = this._overlay.position().flexibleConnectedTo(this.origin.elementRef);\n        this._updatePositionStrategy(strategy);\n        strategy.positionChanges.subscribe((/**\n         * @param {?} p\n         * @return {?}\n         */\n        p => this.positionChange.emit(p)));\n        return strategy;\n    }\n    /**\n     * Attaches the overlay and subscribes to backdrop clicks if backdrop exists\n     * @private\n     * @return {?}\n     */\n    _attachOverlay() {\n        if (!this._overlayRef) {\n            this._createOverlay();\n        }\n        else {\n            // Update the overlay size, in case the directive's inputs have changed\n            this._overlayRef.getConfig().hasBackdrop = this.hasBackdrop;\n        }\n        if (!this._overlayRef.hasAttached()) {\n            this._overlayRef.attach(this._templatePortal);\n            this.attach.emit();\n        }\n        if (this.hasBackdrop) {\n            this._backdropSubscription = this._overlayRef.backdropClick().subscribe((/**\n             * @param {?} event\n             * @return {?}\n             */\n            event => {\n                this.backdropClick.emit(event);\n            }));\n        }\n        else {\n            this._backdropSubscription.unsubscribe();\n        }\n    }\n    /**\n     * Detaches the overlay and unsubscribes to backdrop clicks if backdrop exists\n     * @private\n     * @return {?}\n     */\n    _detachOverlay() {\n        if (this._overlayRef) {\n            this._overlayRef.detach();\n            this.detach.emit();\n        }\n        this._backdropSubscription.unsubscribe();\n    }\n}\nCdkConnectedOverlay.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Directive\"], args: [{\n                selector: '[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]',\n                exportAs: 'cdkConnectedOverlay'\n            },] },\n];\n/** @nocollapse */\nCdkConnectedOverlay.ctorParameters = () => [\n    { type: Overlay },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"TemplateRef\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ViewContainerRef\"] },\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Inject\"], args: [CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY,] }] },\n    { type: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_7__[\"Directionality\"], decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Optional\"] }] }\n];\nCdkConnectedOverlay.propDecorators = {\n    origin: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"], args: ['cdkConnectedOverlayOrigin',] }],\n    positions: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"], args: ['cdkConnectedOverlayPositions',] }],\n    offsetX: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"], args: ['cdkConnectedOverlayOffsetX',] }],\n    offsetY: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"], args: ['cdkConnectedOverlayOffsetY',] }],\n    width: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"], args: ['cdkConnectedOverlayWidth',] }],\n    height: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"], args: ['cdkConnectedOverlayHeight',] }],\n    minWidth: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"], args: ['cdkConnectedOverlayMinWidth',] }],\n    minHeight: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"], args: ['cdkConnectedOverlayMinHeight',] }],\n    backdropClass: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"], args: ['cdkConnectedOverlayBackdropClass',] }],\n    panelClass: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"], args: ['cdkConnectedOverlayPanelClass',] }],\n    viewportMargin: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"], args: ['cdkConnectedOverlayViewportMargin',] }],\n    scrollStrategy: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"], args: ['cdkConnectedOverlayScrollStrategy',] }],\n    open: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"], args: ['cdkConnectedOverlayOpen',] }],\n    hasBackdrop: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"], args: ['cdkConnectedOverlayHasBackdrop',] }],\n    lockPosition: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"], args: ['cdkConnectedOverlayLockPosition',] }],\n    flexibleDimensions: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"], args: ['cdkConnectedOverlayFlexibleDimensions',] }],\n    growAfterOpen: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"], args: ['cdkConnectedOverlayGrowAfterOpen',] }],\n    push: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"], args: ['cdkConnectedOverlayPush',] }],\n    backdropClick: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Output\"] }],\n    positionChange: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Output\"] }],\n    attach: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Output\"] }],\n    detach: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Output\"] }],\n    overlayKeydown: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Output\"] }]\n};\n/**\n * \\@docs-private\n * @param {?} overlay\n * @return {?}\n */\nfunction CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER_FACTORY(overlay) {\n    return (/**\n     * @return {?}\n     */\n    () => overlay.scrollStrategies.reposition());\n}\n/**\n * \\@docs-private\n * @type {?}\n */\nconst CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER = {\n    provide: CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY,\n    deps: [Overlay],\n    useFactory: CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER_FACTORY,\n};\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass OverlayModule {\n}\nOverlayModule.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"NgModule\"], args: [{\n                imports: [_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_7__[\"BidiModule\"], _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_8__[\"PortalModule\"], _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_1__[\"ScrollingModule\"]],\n                exports: [CdkConnectedOverlay, CdkOverlayOrigin, _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_1__[\"ScrollingModule\"]],\n                declarations: [CdkConnectedOverlay, CdkOverlayOrigin],\n                providers: [\n                    Overlay,\n                    CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER,\n                ],\n            },] },\n];\n/**\n * @deprecated Use `OverlayModule` instead.\n * \\@breaking-change 8.0.0\n * \\@docs-private\n * @type {?}\n */\nconst OVERLAY_PROVIDERS = [\n    Overlay,\n    OverlayPositionBuilder,\n    OVERLAY_KEYBOARD_DISPATCHER_PROVIDER,\n    _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_1__[\"VIEWPORT_RULER_PROVIDER\"],\n    OVERLAY_CONTAINER_PROVIDER,\n    CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER,\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Alternative to OverlayContainer that supports correct displaying of overlay elements in\n * Fullscreen mode\n * https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullScreen\n *\n * Should be provided in the root component.\n */\nclass FullscreenOverlayContainer extends OverlayContainer {\n    /**\n     * @param {?} _document\n     */\n    constructor(_document) {\n        super(_document);\n    }\n    /**\n     * @return {?}\n     */\n    ngOnDestroy() {\n        super.ngOnDestroy();\n        if (this._fullScreenEventName && this._fullScreenListener) {\n            this._document.removeEventListener(this._fullScreenEventName, this._fullScreenListener);\n        }\n    }\n    /**\n     * @protected\n     * @return {?}\n     */\n    _createContainer() {\n        super._createContainer();\n        this._adjustParentForFullscreenChange();\n        this._addFullscreenChangeListener((/**\n         * @return {?}\n         */\n        () => this._adjustParentForFullscreenChange()));\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _adjustParentForFullscreenChange() {\n        if (!this._containerElement) {\n            return;\n        }\n        /** @type {?} */\n        const fullscreenElement = this.getFullscreenElement();\n        /** @type {?} */\n        const parent = fullscreenElement || this._document.body;\n        parent.appendChild(this._containerElement);\n    }\n    /**\n     * @private\n     * @param {?} fn\n     * @return {?}\n     */\n    _addFullscreenChangeListener(fn) {\n        /** @type {?} */\n        const eventName = this._getEventName();\n        if (eventName) {\n            if (this._fullScreenListener) {\n                this._document.removeEventListener(eventName, this._fullScreenListener);\n            }\n            this._document.addEventListener(eventName, fn);\n            this._fullScreenListener = fn;\n        }\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _getEventName() {\n        if (!this._fullScreenEventName) {\n            /** @type {?} */\n            const _document = (/** @type {?} */ (this._document));\n            if (_document.fullscreenEnabled) {\n                this._fullScreenEventName = 'fullscreenchange';\n            }\n            else if (_document.webkitFullscreenEnabled) {\n                this._fullScreenEventName = 'webkitfullscreenchange';\n            }\n            else if (_document.mozFullScreenEnabled) {\n                this._fullScreenEventName = 'mozfullscreenchange';\n            }\n            else if (_document.msFullscreenEnabled) {\n                this._fullScreenEventName = 'MSFullscreenChange';\n            }\n        }\n        return this._fullScreenEventName;\n    }\n    /**\n     * When the page is put into fullscreen mode, a specific element is specified.\n     * Only that element and its children are visible when in fullscreen mode.\n     * @return {?}\n     */\n    getFullscreenElement() {\n        /** @type {?} */\n        const _document = (/** @type {?} */ (this._document));\n        return _document.fullscreenElement ||\n            _document.webkitFullscreenElement ||\n            _document.mozFullScreenElement ||\n            _document.msFullscreenElement ||\n            null;\n    }\n}\nFullscreenOverlayContainer.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */\nFullscreenOverlayContainer.ctorParameters = () => [\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Inject\"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_2__[\"DOCUMENT\"],] }] }\n];\n/** @nocollapse */ FullscreenOverlayContainer.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ɵɵdefineInjectable\"])({ factory: function FullscreenOverlayContainer_Factory() { return new FullscreenOverlayContainer(Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ɵɵinject\"])(_angular_common__WEBPACK_IMPORTED_MODULE_2__[\"DOCUMENT\"])); }, token: FullscreenOverlayContainer, providedIn: \"root\" });\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n\n//# sourceMappingURL=overlay.js.map\n\n\n/***/ }),\n\n/***/ \"./node_modules/@angular/cdk/esm2015/platform.js\":\n/*!*******************************************************!*\\\n  !*** ./node_modules/@angular/cdk/esm2015/platform.js ***!\n  \\*******************************************************/\n/*! exports provided: Platform, PlatformModule, getSupportedInputTypes, supportsPassiveEventListeners, normalizePassiveListenerOptions, supportsScrollBehavior, getRtlScrollAxisType, RtlScrollAxisType, _supportsShadowDom */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Platform\", function() { return Platform; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PlatformModule\", function() { return PlatformModule; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getSupportedInputTypes\", function() { return getSupportedInputTypes; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"supportsPassiveEventListeners\", function() { return supportsPassiveEventListeners; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"normalizePassiveListenerOptions\", function() { return normalizePassiveListenerOptions; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"supportsScrollBehavior\", function() { return supportsScrollBehavior; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getRtlScrollAxisType\", function() { return getRtlScrollAxisType; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RtlScrollAxisType\", function() { return RtlScrollAxisType; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"_supportsShadowDom\", function() { return _supportsShadowDom; });\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ \"./node_modules/@angular/common/fesm2015/common.js\");\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n// Whether the current platform supports the V8 Break Iterator. The V8 check\n// is necessary to detect all Blink based browsers.\n/** @type {?} */\nlet hasV8BreakIterator;\n// We need a try/catch around the reference to `Intl`, because accessing it in some cases can\n// cause IE to throw. These cases are tied to particular versions of Windows and can happen if\n// the consumer is providing a polyfilled `Map`. See:\n// https://github.com/Microsoft/ChakraCore/issues/3189\n// https://github.com/angular/components/issues/15687\ntry {\n    hasV8BreakIterator = (typeof Intl !== 'undefined' && ((/** @type {?} */ (Intl))).v8BreakIterator);\n}\ncatch (_a) {\n    hasV8BreakIterator = false;\n}\n/**\n * Service to detect the current platform by comparing the userAgent strings and\n * checking browser-specific global properties.\n */\nclass Platform {\n    /**\n     * \\@breaking-change 8.0.0 remove optional decorator\n     * @param {?=} _platformId\n     */\n    constructor(_platformId) {\n        this._platformId = _platformId;\n        /**\n         * Whether the Angular application is being rendered in the browser.\n         * We want to use the Angular platform check because if the Document is shimmed\n         * without the navigator, the following checks will fail. This is preferred because\n         * sometimes the Document may be shimmed without the user's knowledge or intention\n         */\n        this.isBrowser = this._platformId ?\n            Object(_angular_common__WEBPACK_IMPORTED_MODULE_1__[\"isPlatformBrowser\"])(this._platformId) : typeof document === 'object' && !!document;\n        /**\n         * Whether the current browser is Microsoft Edge.\n         */\n        this.EDGE = this.isBrowser && /(edge)/i.test(navigator.userAgent);\n        /**\n         * Whether the current rendering engine is Microsoft Trident.\n         */\n        this.TRIDENT = this.isBrowser && /(msie|trident)/i.test(navigator.userAgent);\n        /**\n         * Whether the current rendering engine is Blink.\n         */\n        // EdgeHTML and Trident mock Blink specific things and need to be excluded from this check.\n        this.BLINK = this.isBrowser && (!!(((/** @type {?} */ (window))).chrome || hasV8BreakIterator) &&\n            typeof CSS !== 'undefined' && !this.EDGE && !this.TRIDENT);\n        /**\n         * Whether the current rendering engine is WebKit.\n         */\n        // Webkit is part of the userAgent in EdgeHTML, Blink and Trident. Therefore we need to\n        // ensure that Webkit runs standalone and is not used as another engine's base.\n        this.WEBKIT = this.isBrowser &&\n            /AppleWebKit/i.test(navigator.userAgent) && !this.BLINK && !this.EDGE && !this.TRIDENT;\n        /**\n         * Whether the current platform is Apple iOS.\n         */\n        this.IOS = this.isBrowser && /iPad|iPhone|iPod/.test(navigator.userAgent) &&\n            !('MSStream' in window);\n        /**\n         * Whether the current browser is Firefox.\n         */\n        // It's difficult to detect the plain Gecko engine, because most of the browsers identify\n        // them self as Gecko-like browsers and modify the userAgent's according to that.\n        // Since we only cover one explicit Firefox case, we can simply check for Firefox\n        // instead of having an unstable check for Gecko.\n        this.FIREFOX = this.isBrowser && /(firefox|minefield)/i.test(navigator.userAgent);\n        /**\n         * Whether the current platform is Android.\n         */\n        // Trident on mobile adds the android platform to the userAgent to trick detections.\n        this.ANDROID = this.isBrowser && /android/i.test(navigator.userAgent) && !this.TRIDENT;\n        /**\n         * Whether the current browser is Safari.\n         */\n        // Safari browsers will include the Safari keyword in their userAgent. Some browsers may fake\n        // this and just place the Safari keyword in the userAgent. To be more safe about Safari every\n        // Safari browser should also use Webkit as its layout engine.\n        this.SAFARI = this.isBrowser && /safari/i.test(navigator.userAgent) && this.WEBKIT;\n    }\n}\nPlatform.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */\nPlatform.ctorParameters = () => [\n    { type: Object, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"PLATFORM_ID\"],] }] }\n];\n/** @nocollapse */ Platform.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({ factory: function Platform_Factory() { return new Platform(Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"PLATFORM_ID\"], 8)); }, token: Platform, providedIn: \"root\" });\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass PlatformModule {\n}\nPlatformModule.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"], args: [{},] },\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * Cached result Set of input types support by the current browser.\n * @type {?}\n */\nlet supportedInputTypes;\n/**\n * Types of `<input>` that *might* be supported.\n * @type {?}\n */\nconst candidateInputTypes = [\n    // `color` must come first. Chrome 56 shows a warning if we change the type to `color` after\n    // first changing it to something else:\n    // The specified value \"\" does not conform to the required format.\n    // The format is \"#rrggbb\" where rr, gg, bb are two-digit hexadecimal numbers.\n    'color',\n    'button',\n    'checkbox',\n    'date',\n    'datetime-local',\n    'email',\n    'file',\n    'hidden',\n    'image',\n    'month',\n    'number',\n    'password',\n    'radio',\n    'range',\n    'reset',\n    'search',\n    'submit',\n    'tel',\n    'text',\n    'time',\n    'url',\n    'week',\n];\n/**\n * @return {?} The input types supported by this browser.\n */\nfunction getSupportedInputTypes() {\n    // Result is cached.\n    if (supportedInputTypes) {\n        return supportedInputTypes;\n    }\n    // We can't check if an input type is not supported until we're on the browser, so say that\n    // everything is supported when not on the browser. We don't use `Platform` here since it's\n    // just a helper function and can't inject it.\n    if (typeof document !== 'object' || !document) {\n        supportedInputTypes = new Set(candidateInputTypes);\n        return supportedInputTypes;\n    }\n    /** @type {?} */\n    let featureTestInput = document.createElement('input');\n    supportedInputTypes = new Set(candidateInputTypes.filter((/**\n     * @param {?} value\n     * @return {?}\n     */\n    value => {\n        featureTestInput.setAttribute('type', value);\n        return featureTestInput.type === value;\n    })));\n    return supportedInputTypes;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * Cached result of whether the user's browser supports passive event listeners.\n * @type {?}\n */\nlet supportsPassiveEvents;\n/**\n * Checks whether the user's browser supports passive event listeners.\n * See: https://github.com/WICG/EventListenerOptions/blob/gh-pages/explainer.md\n * @return {?}\n */\nfunction supportsPassiveEventListeners() {\n    if (supportsPassiveEvents == null && typeof window !== 'undefined') {\n        try {\n            window.addEventListener('test', (/** @type {?} */ (null)), Object.defineProperty({}, 'passive', {\n                get: (/**\n                 * @return {?}\n                 */\n                () => supportsPassiveEvents = true)\n            }));\n        }\n        finally {\n            supportsPassiveEvents = supportsPassiveEvents || false;\n        }\n    }\n    return supportsPassiveEvents;\n}\n/**\n * Normalizes an `AddEventListener` object to something that can be passed\n * to `addEventListener` on any browser, no matter whether it supports the\n * `options` parameter.\n * @param {?} options Object to be normalized.\n * @return {?}\n */\nfunction normalizePassiveListenerOptions(options) {\n    return supportsPassiveEventListeners() ? options : !!options.capture;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/** @enum {number} */\nconst RtlScrollAxisType = {\n    /**\n     * scrollLeft is 0 when scrolled all the way left and (scrollWidth - clientWidth) when scrolled\n     * all the way right.\n     */\n    NORMAL: 0,\n    /**\n     * scrollLeft is -(scrollWidth - clientWidth) when scrolled all the way left and 0 when scrolled\n     * all the way right.\n     */\n    NEGATED: 1,\n    /**\n     * scrollLeft is (scrollWidth - clientWidth) when scrolled all the way left and 0 when scrolled\n     * all the way right.\n     */\n    INVERTED: 2,\n};\nRtlScrollAxisType[RtlScrollAxisType.NORMAL] = 'NORMAL';\nRtlScrollAxisType[RtlScrollAxisType.NEGATED] = 'NEGATED';\nRtlScrollAxisType[RtlScrollAxisType.INVERTED] = 'INVERTED';\n/**\n * Cached result of the way the browser handles the horizontal scroll axis in RTL mode.\n * @type {?}\n */\nlet rtlScrollAxisType;\n/**\n * Check whether the browser supports scroll behaviors.\n * @return {?}\n */\nfunction supportsScrollBehavior() {\n    return !!(typeof document == 'object' && 'scrollBehavior' in (/** @type {?} */ (document.documentElement)).style);\n}\n/**\n * Checks the type of RTL scroll axis used by this browser. As of time of writing, Chrome is NORMAL,\n * Firefox & Safari are NEGATED, and IE & Edge are INVERTED.\n * @return {?}\n */\nfunction getRtlScrollAxisType() {\n    // We can't check unless we're on the browser. Just assume 'normal' if we're not.\n    if (typeof document !== 'object' || !document) {\n        return RtlScrollAxisType.NORMAL;\n    }\n    if (!rtlScrollAxisType) {\n        // Create a 1px wide scrolling container and a 2px wide content element.\n        /** @type {?} */\n        const scrollContainer = document.createElement('div');\n        /** @type {?} */\n        const containerStyle = scrollContainer.style;\n        scrollContainer.dir = 'rtl';\n        containerStyle.height = '1px';\n        containerStyle.width = '1px';\n        containerStyle.overflow = 'auto';\n        containerStyle.visibility = 'hidden';\n        containerStyle.pointerEvents = 'none';\n        containerStyle.position = 'absolute';\n        /** @type {?} */\n        const content = document.createElement('div');\n        /** @type {?} */\n        const contentStyle = content.style;\n        contentStyle.width = '2px';\n        contentStyle.height = '1px';\n        scrollContainer.appendChild(content);\n        document.body.appendChild(scrollContainer);\n        rtlScrollAxisType = RtlScrollAxisType.NORMAL;\n        // The viewport starts scrolled all the way to the right in RTL mode. If we are in a NORMAL\n        // browser this would mean that the scrollLeft should be 1. If it's zero instead we know we're\n        // dealing with one of the other two types of browsers.\n        if (scrollContainer.scrollLeft === 0) {\n            // In a NEGATED browser the scrollLeft is always somewhere in [-maxScrollAmount, 0]. For an\n            // INVERTED browser it is always somewhere in [0, maxScrollAmount]. We can determine which by\n            // setting to the scrollLeft to 1. This is past the max for a NEGATED browser, so it will\n            // return 0 when we read it again.\n            scrollContainer.scrollLeft = 1;\n            rtlScrollAxisType =\n                scrollContainer.scrollLeft === 0 ? RtlScrollAxisType.NEGATED : RtlScrollAxisType.INVERTED;\n        }\n        (/** @type {?} */ (scrollContainer.parentNode)).removeChild(scrollContainer);\n    }\n    return rtlScrollAxisType;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/** @type {?} */\nlet shadowDomIsSupported;\n/**\n * Checks whether the user's browser support Shadow DOM.\n * @return {?}\n */\nfunction _supportsShadowDom() {\n    if (shadowDomIsSupported == null) {\n        /** @type {?} */\n        const head = typeof document !== 'undefined' ? document.head : null;\n        shadowDomIsSupported = !!(head && (((/** @type {?} */ (head))).createShadowRoot || head.attachShadow));\n    }\n    return shadowDomIsSupported;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n\n//# sourceMappingURL=platform.js.map\n\n\n/***/ }),\n\n/***/ \"./node_modules/@angular/cdk/esm2015/portal.js\":\n/*!*****************************************************!*\\\n  !*** ./node_modules/@angular/cdk/esm2015/portal.js ***!\n  \\*****************************************************/\n/*! exports provided: Portal, ComponentPortal, TemplatePortal, BasePortalOutlet, BasePortalHost, DomPortalOutlet, DomPortalHost, CdkPortal, TemplatePortalDirective, CdkPortalOutlet, PortalHostDirective, PortalModule, PortalInjector */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Portal\", function() { return Portal; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ComponentPortal\", function() { return ComponentPortal; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TemplatePortal\", function() { return TemplatePortal; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BasePortalOutlet\", function() { return BasePortalOutlet; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BasePortalHost\", function() { return BasePortalHost; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DomPortalOutlet\", function() { return DomPortalOutlet; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DomPortalHost\", function() { return DomPortalHost; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CdkPortal\", function() { return CdkPortal; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TemplatePortalDirective\", function() { return TemplatePortalDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CdkPortalOutlet\", function() { return CdkPortalOutlet; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PortalHostDirective\", function() { return PortalHostDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PortalModule\", function() { return PortalModule; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PortalInjector\", function() { return PortalInjector; });\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * Throws an exception when attempting to attach a null portal to a host.\n * \\@docs-private\n * @return {?}\n */\nfunction throwNullPortalError() {\n    throw Error('Must provide a portal to attach');\n}\n/**\n * Throws an exception when attempting to attach a portal to a host that is already attached.\n * \\@docs-private\n * @return {?}\n */\nfunction throwPortalAlreadyAttachedError() {\n    throw Error('Host already has a portal attached');\n}\n/**\n * Throws an exception when attempting to attach a portal to an already-disposed host.\n * \\@docs-private\n * @return {?}\n */\nfunction throwPortalOutletAlreadyDisposedError() {\n    throw Error('This PortalOutlet has already been disposed');\n}\n/**\n * Throws an exception when attempting to attach an unknown portal type.\n * \\@docs-private\n * @return {?}\n */\nfunction throwUnknownPortalTypeError() {\n    throw Error('Attempting to attach an unknown Portal type. BasePortalOutlet accepts either ' +\n        'a ComponentPortal or a TemplatePortal.');\n}\n/**\n * Throws an exception when attempting to attach a portal to a null host.\n * \\@docs-private\n * @return {?}\n */\nfunction throwNullPortalOutletError() {\n    throw Error('Attempting to attach a portal to a null PortalOutlet');\n}\n/**\n * Throws an exception when attempting to detach a portal that is not attached.\n * \\@docs-private\n * @return {?}\n */\nfunction throwNoPortalAttachedError() {\n    throw Error('Attempting to detach a portal that is not attached to a host');\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * A `Portal` is something that you want to render somewhere else.\n * It can be attach to / detached from a `PortalOutlet`.\n * @abstract\n * @template T\n */\nclass Portal {\n    /**\n     * Attach this portal to a host.\n     * @param {?} host\n     * @return {?}\n     */\n    attach(host) {\n        if (host == null) {\n            throwNullPortalOutletError();\n        }\n        if (host.hasAttached()) {\n            throwPortalAlreadyAttachedError();\n        }\n        this._attachedHost = host;\n        return (/** @type {?} */ (host.attach(this)));\n    }\n    /**\n     * Detach this portal from its host\n     * @return {?}\n     */\n    detach() {\n        /** @type {?} */\n        let host = this._attachedHost;\n        if (host == null) {\n            throwNoPortalAttachedError();\n        }\n        else {\n            this._attachedHost = null;\n            host.detach();\n        }\n    }\n    /**\n     * Whether this portal is attached to a host.\n     * @return {?}\n     */\n    get isAttached() {\n        return this._attachedHost != null;\n    }\n    /**\n     * Sets the PortalOutlet reference without performing `attach()`. This is used directly by\n     * the PortalOutlet when it is performing an `attach()` or `detach()`.\n     * @param {?} host\n     * @return {?}\n     */\n    setAttachedHost(host) {\n        this._attachedHost = host;\n    }\n}\n/**\n * A `ComponentPortal` is a portal that instantiates some Component upon attachment.\n * @template T\n */\nclass ComponentPortal extends Portal {\n    /**\n     * @param {?} component\n     * @param {?=} viewContainerRef\n     * @param {?=} injector\n     * @param {?=} componentFactoryResolver\n     */\n    constructor(component, viewContainerRef, injector, componentFactoryResolver) {\n        super();\n        this.component = component;\n        this.viewContainerRef = viewContainerRef;\n        this.injector = injector;\n        this.componentFactoryResolver = componentFactoryResolver;\n    }\n}\n/**\n * A `TemplatePortal` is a portal that represents some embedded template (TemplateRef).\n * @template C\n */\nclass TemplatePortal extends Portal {\n    /**\n     * @param {?} template\n     * @param {?} viewContainerRef\n     * @param {?=} context\n     */\n    constructor(template, viewContainerRef, context) {\n        super();\n        this.templateRef = template;\n        this.viewContainerRef = viewContainerRef;\n        this.context = context;\n    }\n    /**\n     * @return {?}\n     */\n    get origin() {\n        return this.templateRef.elementRef;\n    }\n    /**\n     * Attach the portal to the provided `PortalOutlet`.\n     * When a context is provided it will override the `context` property of the `TemplatePortal`\n     * instance.\n     * @param {?} host\n     * @param {?=} context\n     * @return {?}\n     */\n    attach(host, context = this.context) {\n        this.context = context;\n        return super.attach(host);\n    }\n    /**\n     * @return {?}\n     */\n    detach() {\n        this.context = undefined;\n        return super.detach();\n    }\n}\n/**\n * Partial implementation of PortalOutlet that handles attaching\n * ComponentPortal and TemplatePortal.\n * @abstract\n */\nclass BasePortalOutlet {\n    constructor() {\n        /**\n         * Whether this host has already been permanently disposed.\n         */\n        this._isDisposed = false;\n    }\n    /**\n     * Whether this host has an attached portal.\n     * @return {?}\n     */\n    hasAttached() {\n        return !!this._attachedPortal;\n    }\n    /**\n     * Attaches a portal.\n     * @param {?} portal\n     * @return {?}\n     */\n    attach(portal) {\n        if (!portal) {\n            throwNullPortalError();\n        }\n        if (this.hasAttached()) {\n            throwPortalAlreadyAttachedError();\n        }\n        if (this._isDisposed) {\n            throwPortalOutletAlreadyDisposedError();\n        }\n        if (portal instanceof ComponentPortal) {\n            this._attachedPortal = portal;\n            return this.attachComponentPortal(portal);\n        }\n        else if (portal instanceof TemplatePortal) {\n            this._attachedPortal = portal;\n            return this.attachTemplatePortal(portal);\n        }\n        throwUnknownPortalTypeError();\n    }\n    /**\n     * Detaches a previously attached portal.\n     * @return {?}\n     */\n    detach() {\n        if (this._attachedPortal) {\n            this._attachedPortal.setAttachedHost(null);\n            this._attachedPortal = null;\n        }\n        this._invokeDisposeFn();\n    }\n    /**\n     * Permanently dispose of this portal host.\n     * @return {?}\n     */\n    dispose() {\n        if (this.hasAttached()) {\n            this.detach();\n        }\n        this._invokeDisposeFn();\n        this._isDisposed = true;\n    }\n    /**\n     * \\@docs-private\n     * @param {?} fn\n     * @return {?}\n     */\n    setDisposeFn(fn) {\n        this._disposeFn = fn;\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _invokeDisposeFn() {\n        if (this._disposeFn) {\n            this._disposeFn();\n            this._disposeFn = null;\n        }\n    }\n}\n/**\n * @deprecated Use `BasePortalOutlet` instead.\n * \\@breaking-change 9.0.0\n * @abstract\n */\nclass BasePortalHost extends BasePortalOutlet {\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * A PortalOutlet for attaching portals to an arbitrary DOM element outside of the Angular\n * application context.\n */\nclass DomPortalOutlet extends BasePortalOutlet {\n    /**\n     * @param {?} outletElement\n     * @param {?} _componentFactoryResolver\n     * @param {?} _appRef\n     * @param {?} _defaultInjector\n     */\n    constructor(outletElement, _componentFactoryResolver, _appRef, _defaultInjector) {\n        super();\n        this.outletElement = outletElement;\n        this._componentFactoryResolver = _componentFactoryResolver;\n        this._appRef = _appRef;\n        this._defaultInjector = _defaultInjector;\n    }\n    /**\n     * Attach the given ComponentPortal to DOM element using the ComponentFactoryResolver.\n     * @template T\n     * @param {?} portal Portal to be attached\n     * @return {?} Reference to the created component.\n     */\n    attachComponentPortal(portal) {\n        /** @type {?} */\n        const resolver = portal.componentFactoryResolver || this._componentFactoryResolver;\n        /** @type {?} */\n        const componentFactory = resolver.resolveComponentFactory(portal.component);\n        /** @type {?} */\n        let componentRef;\n        // If the portal specifies a ViewContainerRef, we will use that as the attachment point\n        // for the component (in terms of Angular's component tree, not rendering).\n        // When the ViewContainerRef is missing, we use the factory to create the component directly\n        // and then manually attach the view to the application.\n        if (portal.viewContainerRef) {\n            componentRef = portal.viewContainerRef.createComponent(componentFactory, portal.viewContainerRef.length, portal.injector || portal.viewContainerRef.injector);\n            this.setDisposeFn((/**\n             * @return {?}\n             */\n            () => componentRef.destroy()));\n        }\n        else {\n            componentRef = componentFactory.create(portal.injector || this._defaultInjector);\n            this._appRef.attachView(componentRef.hostView);\n            this.setDisposeFn((/**\n             * @return {?}\n             */\n            () => {\n                this._appRef.detachView(componentRef.hostView);\n                componentRef.destroy();\n            }));\n        }\n        // At this point the component has been instantiated, so we move it to the location in the DOM\n        // where we want it to be rendered.\n        this.outletElement.appendChild(this._getComponentRootNode(componentRef));\n        return componentRef;\n    }\n    /**\n     * Attaches a template portal to the DOM as an embedded view.\n     * @template C\n     * @param {?} portal Portal to be attached.\n     * @return {?} Reference to the created embedded view.\n     */\n    attachTemplatePortal(portal) {\n        /** @type {?} */\n        let viewContainer = portal.viewContainerRef;\n        /** @type {?} */\n        let viewRef = viewContainer.createEmbeddedView(portal.templateRef, portal.context);\n        viewRef.detectChanges();\n        // The method `createEmbeddedView` will add the view as a child of the viewContainer.\n        // But for the DomPortalOutlet the view can be added everywhere in the DOM\n        // (e.g Overlay Container) To move the view to the specified host element. We just\n        // re-append the existing root nodes.\n        viewRef.rootNodes.forEach((/**\n         * @param {?} rootNode\n         * @return {?}\n         */\n        rootNode => this.outletElement.appendChild(rootNode)));\n        this.setDisposeFn(((/**\n         * @return {?}\n         */\n        () => {\n            /** @type {?} */\n            let index = viewContainer.indexOf(viewRef);\n            if (index !== -1) {\n                viewContainer.remove(index);\n            }\n        })));\n        // TODO(jelbourn): Return locals from view.\n        return viewRef;\n    }\n    /**\n     * Clears out a portal from the DOM.\n     * @return {?}\n     */\n    dispose() {\n        super.dispose();\n        if (this.outletElement.parentNode != null) {\n            this.outletElement.parentNode.removeChild(this.outletElement);\n        }\n    }\n    /**\n     * Gets the root HTMLElement for an instantiated component.\n     * @private\n     * @param {?} componentRef\n     * @return {?}\n     */\n    _getComponentRootNode(componentRef) {\n        return (/** @type {?} */ (((/** @type {?} */ (componentRef.hostView))).rootNodes[0]));\n    }\n}\n/**\n * @deprecated Use `DomPortalOutlet` instead.\n * \\@breaking-change 9.0.0\n */\nclass DomPortalHost extends DomPortalOutlet {\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Directive version of a `TemplatePortal`. Because the directive *is* a TemplatePortal,\n * the directive instance itself can be attached to a host, enabling declarative use of portals.\n */\nclass CdkPortal extends TemplatePortal {\n    /**\n     * @param {?} templateRef\n     * @param {?} viewContainerRef\n     */\n    constructor(templateRef, viewContainerRef) {\n        super(templateRef, viewContainerRef);\n    }\n}\nCdkPortal.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{\n                selector: '[cdkPortal]',\n                exportAs: 'cdkPortal',\n            },] },\n];\n/** @nocollapse */\nCdkPortal.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"TemplateRef\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ViewContainerRef\"] }\n];\n/**\n * @deprecated Use `CdkPortal` instead.\n * \\@breaking-change 9.0.0\n */\nclass TemplatePortalDirective extends CdkPortal {\n}\nTemplatePortalDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{\n                selector: '[cdk-portal], [portal]',\n                exportAs: 'cdkPortal',\n                providers: [{\n                        provide: CdkPortal,\n                        useExisting: TemplatePortalDirective\n                    }]\n            },] },\n];\n/**\n * Directive version of a PortalOutlet. Because the directive *is* a PortalOutlet, portals can be\n * directly attached to it, enabling declarative use.\n *\n * Usage:\n * `<ng-template [cdkPortalOutlet]=\"greeting\"></ng-template>`\n */\nclass CdkPortalOutlet extends BasePortalOutlet {\n    /**\n     * @param {?} _componentFactoryResolver\n     * @param {?} _viewContainerRef\n     */\n    constructor(_componentFactoryResolver, _viewContainerRef) {\n        super();\n        this._componentFactoryResolver = _componentFactoryResolver;\n        this._viewContainerRef = _viewContainerRef;\n        /**\n         * Whether the portal component is initialized.\n         */\n        this._isInitialized = false;\n        /**\n         * Emits when a portal is attached to the outlet.\n         */\n        this.attached = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"EventEmitter\"]();\n    }\n    /**\n     * Portal associated with the Portal outlet.\n     * @return {?}\n     */\n    get portal() {\n        return this._attachedPortal;\n    }\n    /**\n     * @param {?} portal\n     * @return {?}\n     */\n    set portal(portal) {\n        // Ignore the cases where the `portal` is set to a falsy value before the lifecycle hooks have\n        // run. This handles the cases where the user might do something like `<div cdkPortalOutlet>`\n        // and attach a portal programmatically in the parent component. When Angular does the first CD\n        // round, it will fire the setter with empty string, causing the user's content to be cleared.\n        if (this.hasAttached() && !portal && !this._isInitialized) {\n            return;\n        }\n        if (this.hasAttached()) {\n            super.detach();\n        }\n        if (portal) {\n            super.attach(portal);\n        }\n        this._attachedPortal = portal;\n    }\n    /**\n     * Component or view reference that is attached to the portal.\n     * @return {?}\n     */\n    get attachedRef() {\n        return this._attachedRef;\n    }\n    /**\n     * @return {?}\n     */\n    ngOnInit() {\n        this._isInitialized = true;\n    }\n    /**\n     * @return {?}\n     */\n    ngOnDestroy() {\n        super.dispose();\n        this._attachedPortal = null;\n        this._attachedRef = null;\n    }\n    /**\n     * Attach the given ComponentPortal to this PortalOutlet using the ComponentFactoryResolver.\n     *\n     * @template T\n     * @param {?} portal Portal to be attached to the portal outlet.\n     * @return {?} Reference to the created component.\n     */\n    attachComponentPortal(portal) {\n        portal.setAttachedHost(this);\n        // If the portal specifies an origin, use that as the logical location of the component\n        // in the application tree. Otherwise use the location of this PortalOutlet.\n        /** @type {?} */\n        const viewContainerRef = portal.viewContainerRef != null ?\n            portal.viewContainerRef :\n            this._viewContainerRef;\n        /** @type {?} */\n        const resolver = portal.componentFactoryResolver || this._componentFactoryResolver;\n        /** @type {?} */\n        const componentFactory = resolver.resolveComponentFactory(portal.component);\n        /** @type {?} */\n        const ref = viewContainerRef.createComponent(componentFactory, viewContainerRef.length, portal.injector || viewContainerRef.injector);\n        super.setDisposeFn((/**\n         * @return {?}\n         */\n        () => ref.destroy()));\n        this._attachedPortal = portal;\n        this._attachedRef = ref;\n        this.attached.emit(ref);\n        return ref;\n    }\n    /**\n     * Attach the given TemplatePortal to this PortlHost as an embedded View.\n     * @template C\n     * @param {?} portal Portal to be attached.\n     * @return {?} Reference to the created embedded view.\n     */\n    attachTemplatePortal(portal) {\n        portal.setAttachedHost(this);\n        /** @type {?} */\n        const viewRef = this._viewContainerRef.createEmbeddedView(portal.templateRef, portal.context);\n        super.setDisposeFn((/**\n         * @return {?}\n         */\n        () => this._viewContainerRef.clear()));\n        this._attachedPortal = portal;\n        this._attachedRef = viewRef;\n        this.attached.emit(viewRef);\n        return viewRef;\n    }\n}\nCdkPortalOutlet.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{\n                selector: '[cdkPortalOutlet]',\n                exportAs: 'cdkPortalOutlet',\n                inputs: ['portal: cdkPortalOutlet']\n            },] },\n];\n/** @nocollapse */\nCdkPortalOutlet.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ComponentFactoryResolver\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ViewContainerRef\"] }\n];\nCdkPortalOutlet.propDecorators = {\n    attached: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Output\"] }]\n};\n/**\n * @deprecated Use `CdkPortalOutlet` instead.\n * \\@breaking-change 9.0.0\n */\nclass PortalHostDirective extends CdkPortalOutlet {\n}\nPortalHostDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{\n                selector: '[cdkPortalHost], [portalHost]',\n                exportAs: 'cdkPortalHost',\n                inputs: ['portal: cdkPortalHost'],\n                providers: [{\n                        provide: CdkPortalOutlet,\n                        useExisting: PortalHostDirective\n                    }]\n            },] },\n];\nclass PortalModule {\n}\nPortalModule.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"], args: [{\n                exports: [CdkPortal, CdkPortalOutlet, TemplatePortalDirective, PortalHostDirective],\n                declarations: [CdkPortal, CdkPortalOutlet, TemplatePortalDirective, PortalHostDirective],\n            },] },\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * Custom injector to be used when providing custom\n * injection tokens to components inside a portal.\n * \\@docs-private\n */\nclass PortalInjector {\n    /**\n     * @param {?} _parentInjector\n     * @param {?} _customTokens\n     */\n    constructor(_parentInjector, _customTokens) {\n        this._parentInjector = _parentInjector;\n        this._customTokens = _customTokens;\n    }\n    /**\n     * @param {?} token\n     * @param {?=} notFoundValue\n     * @return {?}\n     */\n    get(token, notFoundValue) {\n        /** @type {?} */\n        const value = this._customTokens.get(token);\n        if (typeof value !== 'undefined') {\n            return value;\n        }\n        return this._parentInjector.get(token, notFoundValue);\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n\n//# sourceMappingURL=portal.js.map\n\n\n/***/ }),\n\n/***/ \"./node_modules/@angular/cdk/esm2015/scrolling.js\":\n/*!********************************************************!*\\\n  !*** ./node_modules/@angular/cdk/esm2015/scrolling.js ***!\n  \\********************************************************/\n/*! exports provided: _fixedSizeVirtualScrollStrategyFactory, FixedSizeVirtualScrollStrategy, CdkFixedSizeVirtualScroll, SCROLL_DISPATCHER_PROVIDER_FACTORY, DEFAULT_SCROLL_TIME, ScrollDispatcher, SCROLL_DISPATCHER_PROVIDER, CdkScrollable, ScrollingModule, ScrollDispatchModule, VIEWPORT_RULER_PROVIDER_FACTORY, DEFAULT_RESIZE_TIME, ViewportRuler, VIEWPORT_RULER_PROVIDER, CdkVirtualForOf, VIRTUAL_SCROLL_STRATEGY, CdkVirtualScrollViewport */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"_fixedSizeVirtualScrollStrategyFactory\", function() { return _fixedSizeVirtualScrollStrategyFactory; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FixedSizeVirtualScrollStrategy\", function() { return FixedSizeVirtualScrollStrategy; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CdkFixedSizeVirtualScroll\", function() { return CdkFixedSizeVirtualScroll; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SCROLL_DISPATCHER_PROVIDER_FACTORY\", function() { return SCROLL_DISPATCHER_PROVIDER_FACTORY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DEFAULT_SCROLL_TIME\", function() { return DEFAULT_SCROLL_TIME; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ScrollDispatcher\", function() { return ScrollDispatcher; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SCROLL_DISPATCHER_PROVIDER\", function() { return SCROLL_DISPATCHER_PROVIDER; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CdkScrollable\", function() { return CdkScrollable; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ScrollingModule\", function() { return ScrollingModule; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ScrollDispatchModule\", function() { return ScrollDispatchModule; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VIEWPORT_RULER_PROVIDER_FACTORY\", function() { return VIEWPORT_RULER_PROVIDER_FACTORY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DEFAULT_RESIZE_TIME\", function() { return DEFAULT_RESIZE_TIME; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ViewportRuler\", function() { return ViewportRuler; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VIEWPORT_RULER_PROVIDER\", function() { return VIEWPORT_RULER_PROVIDER; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CdkVirtualForOf\", function() { return CdkVirtualForOf; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VIRTUAL_SCROLL_STRATEGY\", function() { return VIRTUAL_SCROLL_STRATEGY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CdkVirtualScrollViewport\", function() { return CdkVirtualScrollViewport; });\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var _angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/cdk/coercion */ \"./node_modules/@angular/cdk/esm2015/coercion.js\");\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ \"./node_modules/rxjs/_esm2015/index.js\");\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ \"./node_modules/rxjs/_esm2015/operators/index.js\");\n/* harmony import */ var _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/cdk/platform */ \"./node_modules/@angular/cdk/esm2015/platform.js\");\n/* harmony import */ var _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/cdk/bidi */ \"./node_modules/@angular/cdk/esm2015/bidi.js\");\n/* harmony import */ var _angular_cdk_collections__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/cdk/collections */ \"./node_modules/@angular/cdk/esm2015/collections.js\");\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\n\n\n\n\n\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * The injection token used to specify the virtual scrolling strategy.\n * @type {?}\n */\nconst VIRTUAL_SCROLL_STRATEGY = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('VIRTUAL_SCROLL_STRATEGY');\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Virtual scrolling strategy for lists with items of known fixed size.\n */\nclass FixedSizeVirtualScrollStrategy {\n    /**\n     * @param {?} itemSize The size of the items in the virtually scrolling list.\n     * @param {?} minBufferPx The minimum amount of buffer (in pixels) before needing to render more\n     * @param {?} maxBufferPx The amount of buffer (in pixels) to render when rendering more.\n     */\n    constructor(itemSize, minBufferPx, maxBufferPx) {\n        this._scrolledIndexChange = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Subject\"]();\n        /**\n         * \\@docs-private Implemented as part of VirtualScrollStrategy.\n         */\n        this.scrolledIndexChange = this._scrolledIndexChange.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"distinctUntilChanged\"])());\n        /**\n         * The attached viewport.\n         */\n        this._viewport = null;\n        this._itemSize = itemSize;\n        this._minBufferPx = minBufferPx;\n        this._maxBufferPx = maxBufferPx;\n    }\n    /**\n     * Attaches this scroll strategy to a viewport.\n     * @param {?} viewport The viewport to attach this strategy to.\n     * @return {?}\n     */\n    attach(viewport) {\n        this._viewport = viewport;\n        this._updateTotalContentSize();\n        this._updateRenderedRange();\n    }\n    /**\n     * Detaches this scroll strategy from the currently attached viewport.\n     * @return {?}\n     */\n    detach() {\n        this._scrolledIndexChange.complete();\n        this._viewport = null;\n    }\n    /**\n     * Update the item size and buffer size.\n     * @param {?} itemSize The size of the items in the virtually scrolling list.\n     * @param {?} minBufferPx The minimum amount of buffer (in pixels) before needing to render more\n     * @param {?} maxBufferPx The amount of buffer (in pixels) to render when rendering more.\n     * @return {?}\n     */\n    updateItemAndBufferSize(itemSize, minBufferPx, maxBufferPx) {\n        if (maxBufferPx < minBufferPx) {\n            throw Error('CDK virtual scroll: maxBufferPx must be greater than or equal to minBufferPx');\n        }\n        this._itemSize = itemSize;\n        this._minBufferPx = minBufferPx;\n        this._maxBufferPx = maxBufferPx;\n        this._updateTotalContentSize();\n        this._updateRenderedRange();\n    }\n    /**\n     * \\@docs-private Implemented as part of VirtualScrollStrategy.\n     * @return {?}\n     */\n    onContentScrolled() {\n        this._updateRenderedRange();\n    }\n    /**\n     * \\@docs-private Implemented as part of VirtualScrollStrategy.\n     * @return {?}\n     */\n    onDataLengthChanged() {\n        this._updateTotalContentSize();\n        this._updateRenderedRange();\n    }\n    /**\n     * \\@docs-private Implemented as part of VirtualScrollStrategy.\n     * @return {?}\n     */\n    onContentRendered() { }\n    /**\n     * \\@docs-private Implemented as part of VirtualScrollStrategy.\n     * @return {?}\n     */\n    onRenderedOffsetChanged() { }\n    /**\n     * Scroll to the offset for the given index.\n     * @param {?} index The index of the element to scroll to.\n     * @param {?} behavior The ScrollBehavior to use when scrolling.\n     * @return {?}\n     */\n    scrollToIndex(index, behavior) {\n        if (this._viewport) {\n            this._viewport.scrollToOffset(index * this._itemSize, behavior);\n        }\n    }\n    /**\n     * Update the viewport's total content size.\n     * @private\n     * @return {?}\n     */\n    _updateTotalContentSize() {\n        if (!this._viewport) {\n            return;\n        }\n        this._viewport.setTotalContentSize(this._viewport.getDataLength() * this._itemSize);\n    }\n    /**\n     * Update the viewport's rendered range.\n     * @private\n     * @return {?}\n     */\n    _updateRenderedRange() {\n        if (!this._viewport) {\n            return;\n        }\n        /** @type {?} */\n        const scrollOffset = this._viewport.measureScrollOffset();\n        /** @type {?} */\n        const firstVisibleIndex = scrollOffset / this._itemSize;\n        /** @type {?} */\n        const renderedRange = this._viewport.getRenderedRange();\n        /** @type {?} */\n        const newRange = { start: renderedRange.start, end: renderedRange.end };\n        /** @type {?} */\n        const viewportSize = this._viewport.getViewportSize();\n        /** @type {?} */\n        const dataLength = this._viewport.getDataLength();\n        /** @type {?} */\n        const startBuffer = scrollOffset - newRange.start * this._itemSize;\n        if (startBuffer < this._minBufferPx && newRange.start != 0) {\n            /** @type {?} */\n            const expandStart = Math.ceil((this._maxBufferPx - startBuffer) / this._itemSize);\n            newRange.start = Math.max(0, newRange.start - expandStart);\n            newRange.end = Math.min(dataLength, Math.ceil(firstVisibleIndex + (viewportSize + this._minBufferPx) / this._itemSize));\n        }\n        else {\n            /** @type {?} */\n            const endBuffer = newRange.end * this._itemSize - (scrollOffset + viewportSize);\n            if (endBuffer < this._minBufferPx && newRange.end != dataLength) {\n                /** @type {?} */\n                const expandEnd = Math.ceil((this._maxBufferPx - endBuffer) / this._itemSize);\n                if (expandEnd > 0) {\n                    newRange.end = Math.min(dataLength, newRange.end + expandEnd);\n                    newRange.start = Math.max(0, Math.floor(firstVisibleIndex - this._minBufferPx / this._itemSize));\n                }\n            }\n        }\n        this._viewport.setRenderedRange(newRange);\n        this._viewport.setRenderedContentOffset(this._itemSize * newRange.start);\n        this._scrolledIndexChange.next(Math.floor(firstVisibleIndex));\n    }\n}\n/**\n * Provider factory for `FixedSizeVirtualScrollStrategy` that simply extracts the already created\n * `FixedSizeVirtualScrollStrategy` from the given directive.\n * @param {?} fixedSizeDir The instance of `CdkFixedSizeVirtualScroll` to extract the\n *     `FixedSizeVirtualScrollStrategy` from.\n * @return {?}\n */\nfunction _fixedSizeVirtualScrollStrategyFactory(fixedSizeDir) {\n    return fixedSizeDir._scrollStrategy;\n}\n/**\n * A virtual scroll strategy that supports fixed-size items.\n */\nclass CdkFixedSizeVirtualScroll {\n    constructor() {\n        this._itemSize = 20;\n        this._minBufferPx = 100;\n        this._maxBufferPx = 200;\n        /**\n         * The scroll strategy used by this directive.\n         */\n        this._scrollStrategy = new FixedSizeVirtualScrollStrategy(this.itemSize, this.minBufferPx, this.maxBufferPx);\n    }\n    /**\n     * The size of the items in the list (in pixels).\n     * @return {?}\n     */\n    get itemSize() { return this._itemSize; }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    set itemSize(value) { this._itemSize = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_1__[\"coerceNumberProperty\"])(value); }\n    /**\n     * The minimum amount of buffer rendered beyond the viewport (in pixels).\n     * If the amount of buffer dips below this number, more items will be rendered. Defaults to 100px.\n     * @return {?}\n     */\n    get minBufferPx() { return this._minBufferPx; }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    set minBufferPx(value) { this._minBufferPx = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_1__[\"coerceNumberProperty\"])(value); }\n    /**\n     * The number of pixels worth of buffer to render for when rendering new items. Defaults to 200px.\n     * @return {?}\n     */\n    get maxBufferPx() { return this._maxBufferPx; }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    set maxBufferPx(value) { this._maxBufferPx = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_1__[\"coerceNumberProperty\"])(value); }\n    /**\n     * @return {?}\n     */\n    ngOnChanges() {\n        this._scrollStrategy.updateItemAndBufferSize(this.itemSize, this.minBufferPx, this.maxBufferPx);\n    }\n}\nCdkFixedSizeVirtualScroll.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{\n                selector: 'cdk-virtual-scroll-viewport[itemSize]',\n                providers: [{\n                        provide: VIRTUAL_SCROLL_STRATEGY,\n                        useFactory: _fixedSizeVirtualScrollStrategyFactory,\n                        deps: [Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])((/**\n                             * @return {?}\n                             */\n                            () => CdkFixedSizeVirtualScroll))],\n                    }],\n            },] },\n];\nCdkFixedSizeVirtualScroll.propDecorators = {\n    itemSize: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"] }],\n    minBufferPx: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"] }],\n    maxBufferPx: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"] }]\n};\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Time in ms to throttle the scrolling events by default.\n * @type {?}\n */\nconst DEFAULT_SCROLL_TIME = 20;\n/**\n * Service contained all registered Scrollable references and emits an event when any one of the\n * Scrollable references emit a scrolled event.\n */\nclass ScrollDispatcher {\n    /**\n     * @param {?} _ngZone\n     * @param {?} _platform\n     */\n    constructor(_ngZone, _platform) {\n        this._ngZone = _ngZone;\n        this._platform = _platform;\n        /**\n         * Subject for notifying that a registered scrollable reference element has been scrolled.\n         */\n        this._scrolled = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Subject\"]();\n        /**\n         * Keeps track of the global `scroll` and `resize` subscriptions.\n         */\n        this._globalSubscription = null;\n        /**\n         * Keeps track of the amount of subscriptions to `scrolled`. Used for cleaning up afterwards.\n         */\n        this._scrolledCount = 0;\n        /**\n         * Map of all the scrollable references that are registered with the service and their\n         * scroll event subscriptions.\n         */\n        this.scrollContainers = new Map();\n    }\n    /**\n     * Registers a scrollable instance with the service and listens for its scrolled events. When the\n     * scrollable is scrolled, the service emits the event to its scrolled observable.\n     * @param {?} scrollable Scrollable instance to be registered.\n     * @return {?}\n     */\n    register(scrollable) {\n        if (!this.scrollContainers.has(scrollable)) {\n            this.scrollContainers.set(scrollable, scrollable.elementScrolled()\n                .subscribe((/**\n             * @return {?}\n             */\n            () => this._scrolled.next(scrollable))));\n        }\n    }\n    /**\n     * Deregisters a Scrollable reference and unsubscribes from its scroll event observable.\n     * @param {?} scrollable Scrollable instance to be deregistered.\n     * @return {?}\n     */\n    deregister(scrollable) {\n        /** @type {?} */\n        const scrollableReference = this.scrollContainers.get(scrollable);\n        if (scrollableReference) {\n            scrollableReference.unsubscribe();\n            this.scrollContainers.delete(scrollable);\n        }\n    }\n    /**\n     * Returns an observable that emits an event whenever any of the registered Scrollable\n     * references (or window, document, or body) fire a scrolled event. Can provide a time in ms\n     * to override the default \"throttle\" time.\n     *\n     * **Note:** in order to avoid hitting change detection for every scroll event,\n     * all of the events emitted from this stream will be run outside the Angular zone.\n     * If you need to update any data bindings as a result of a scroll event, you have\n     * to run the callback using `NgZone.run`.\n     * @param {?=} auditTimeInMs\n     * @return {?}\n     */\n    scrolled(auditTimeInMs = DEFAULT_SCROLL_TIME) {\n        if (!this._platform.isBrowser) {\n            return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])();\n        }\n        return new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Observable\"]((/**\n         * @param {?} observer\n         * @return {?}\n         */\n        (observer) => {\n            if (!this._globalSubscription) {\n                this._addGlobalListener();\n            }\n            // In the case of a 0ms delay, use an observable without auditTime\n            // since it does add a perceptible delay in processing overhead.\n            /** @type {?} */\n            const subscription = auditTimeInMs > 0 ?\n                this._scrolled.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"auditTime\"])(auditTimeInMs)).subscribe(observer) :\n                this._scrolled.subscribe(observer);\n            this._scrolledCount++;\n            return (/**\n             * @return {?}\n             */\n            () => {\n                subscription.unsubscribe();\n                this._scrolledCount--;\n                if (!this._scrolledCount) {\n                    this._removeGlobalListener();\n                }\n            });\n        }));\n    }\n    /**\n     * @return {?}\n     */\n    ngOnDestroy() {\n        this._removeGlobalListener();\n        this.scrollContainers.forEach((/**\n         * @param {?} _\n         * @param {?} container\n         * @return {?}\n         */\n        (_, container) => this.deregister(container)));\n        this._scrolled.complete();\n    }\n    /**\n     * Returns an observable that emits whenever any of the\n     * scrollable ancestors of an element are scrolled.\n     * @param {?} elementRef Element whose ancestors to listen for.\n     * @param {?=} auditTimeInMs Time to throttle the scroll events.\n     * @return {?}\n     */\n    ancestorScrolled(elementRef, auditTimeInMs) {\n        /** @type {?} */\n        const ancestors = this.getAncestorScrollContainers(elementRef);\n        return this.scrolled(auditTimeInMs).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"filter\"])((/**\n         * @param {?} target\n         * @return {?}\n         */\n        target => {\n            return !target || ancestors.indexOf(target) > -1;\n        })));\n    }\n    /**\n     * Returns all registered Scrollables that contain the provided element.\n     * @param {?} elementRef\n     * @return {?}\n     */\n    getAncestorScrollContainers(elementRef) {\n        /** @type {?} */\n        const scrollingContainers = [];\n        this.scrollContainers.forEach((/**\n         * @param {?} _subscription\n         * @param {?} scrollable\n         * @return {?}\n         */\n        (_subscription, scrollable) => {\n            if (this._scrollableContainsElement(scrollable, elementRef)) {\n                scrollingContainers.push(scrollable);\n            }\n        }));\n        return scrollingContainers;\n    }\n    /**\n     * Returns true if the element is contained within the provided Scrollable.\n     * @private\n     * @param {?} scrollable\n     * @param {?} elementRef\n     * @return {?}\n     */\n    _scrollableContainsElement(scrollable, elementRef) {\n        /** @type {?} */\n        let element = elementRef.nativeElement;\n        /** @type {?} */\n        let scrollableElement = scrollable.getElementRef().nativeElement;\n        // Traverse through the element parents until we reach null, checking if any of the elements\n        // are the scrollable's element.\n        do {\n            if (element == scrollableElement) {\n                return true;\n            }\n        } while (element = (/** @type {?} */ (element)).parentElement);\n        return false;\n    }\n    /**\n     * Sets up the global scroll listeners.\n     * @private\n     * @return {?}\n     */\n    _addGlobalListener() {\n        this._globalSubscription = this._ngZone.runOutsideAngular((/**\n         * @return {?}\n         */\n        () => {\n            return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"fromEvent\"])(window.document, 'scroll').subscribe((/**\n             * @return {?}\n             */\n            () => this._scrolled.next()));\n        }));\n    }\n    /**\n     * Cleans up the global scroll listener.\n     * @private\n     * @return {?}\n     */\n    _removeGlobalListener() {\n        if (this._globalSubscription) {\n            this._globalSubscription.unsubscribe();\n            this._globalSubscription = null;\n        }\n    }\n}\nScrollDispatcher.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */\nScrollDispatcher.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgZone\"] },\n    { type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_4__[\"Platform\"] }\n];\n/** @nocollapse */ ScrollDispatcher.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({ factory: function ScrollDispatcher_Factory() { return new ScrollDispatcher(Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgZone\"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_4__[\"Platform\"])); }, token: ScrollDispatcher, providedIn: \"root\" });\n/**\n * \\@docs-private \\@deprecated \\@breaking-change 8.0.0\n * @param {?} parentDispatcher\n * @param {?} ngZone\n * @param {?} platform\n * @return {?}\n */\nfunction SCROLL_DISPATCHER_PROVIDER_FACTORY(parentDispatcher, ngZone, platform) {\n    return parentDispatcher || new ScrollDispatcher(ngZone, platform);\n}\n/**\n * \\@docs-private \\@deprecated \\@breaking-change 8.0.0\n * @type {?}\n */\nconst SCROLL_DISPATCHER_PROVIDER = {\n    // If there is already a ScrollDispatcher available, use that. Otherwise, provide a new one.\n    provide: ScrollDispatcher,\n    deps: [[new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"](), new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"SkipSelf\"](), ScrollDispatcher], _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgZone\"], _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_4__[\"Platform\"]],\n    useFactory: SCROLL_DISPATCHER_PROVIDER_FACTORY\n};\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Sends an event when the directive's element is scrolled. Registers itself with the\n * ScrollDispatcher service to include itself as part of its collection of scrolling events that it\n * can be listened to through the service.\n */\nclass CdkScrollable {\n    /**\n     * @param {?} elementRef\n     * @param {?} scrollDispatcher\n     * @param {?} ngZone\n     * @param {?=} dir\n     */\n    constructor(elementRef, scrollDispatcher, ngZone, dir) {\n        this.elementRef = elementRef;\n        this.scrollDispatcher = scrollDispatcher;\n        this.ngZone = ngZone;\n        this.dir = dir;\n        this._destroyed = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Subject\"]();\n        this._elementScrolled = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Observable\"]((/**\n         * @param {?} observer\n         * @return {?}\n         */\n        (observer) => this.ngZone.runOutsideAngular((/**\n         * @return {?}\n         */\n        () => Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"fromEvent\"])(this.elementRef.nativeElement, 'scroll').pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"takeUntil\"])(this._destroyed))\n            .subscribe(observer)))));\n    }\n    /**\n     * @return {?}\n     */\n    ngOnInit() {\n        this.scrollDispatcher.register(this);\n    }\n    /**\n     * @return {?}\n     */\n    ngOnDestroy() {\n        this.scrollDispatcher.deregister(this);\n        this._destroyed.next();\n        this._destroyed.complete();\n    }\n    /**\n     * Returns observable that emits when a scroll event is fired on the host element.\n     * @return {?}\n     */\n    elementScrolled() {\n        return this._elementScrolled;\n    }\n    /**\n     * Gets the ElementRef for the viewport.\n     * @return {?}\n     */\n    getElementRef() {\n        return this.elementRef;\n    }\n    /**\n     * Scrolls to the specified offsets. This is a normalized version of the browser's native scrollTo\n     * method, since browsers are not consistent about what scrollLeft means in RTL. For this method\n     * left and right always refer to the left and right side of the scrolling container irrespective\n     * of the layout direction. start and end refer to left and right in an LTR context and vice-versa\n     * in an RTL context.\n     * @param {?} options specified the offsets to scroll to.\n     * @return {?}\n     */\n    scrollTo(options) {\n        /** @type {?} */\n        const el = this.elementRef.nativeElement;\n        /** @type {?} */\n        const isRtl = this.dir && this.dir.value == 'rtl';\n        // Rewrite start & end offsets as right or left offsets.\n        options.left = options.left == null ? (isRtl ? options.end : options.start) : options.left;\n        options.right = options.right == null ? (isRtl ? options.start : options.end) : options.right;\n        // Rewrite the bottom offset as a top offset.\n        if (options.bottom != null) {\n            ((/** @type {?} */ (options))).top =\n                el.scrollHeight - el.clientHeight - options.bottom;\n        }\n        // Rewrite the right offset as a left offset.\n        if (isRtl && Object(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_4__[\"getRtlScrollAxisType\"])() != _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_4__[\"RtlScrollAxisType\"].NORMAL) {\n            if (options.left != null) {\n                ((/** @type {?} */ (options))).right =\n                    el.scrollWidth - el.clientWidth - options.left;\n            }\n            if (Object(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_4__[\"getRtlScrollAxisType\"])() == _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_4__[\"RtlScrollAxisType\"].INVERTED) {\n                options.left = options.right;\n            }\n            else if (Object(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_4__[\"getRtlScrollAxisType\"])() == _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_4__[\"RtlScrollAxisType\"].NEGATED) {\n                options.left = options.right ? -options.right : options.right;\n            }\n        }\n        else {\n            if (options.right != null) {\n                ((/** @type {?} */ (options))).left =\n                    el.scrollWidth - el.clientWidth - options.right;\n            }\n        }\n        this._applyScrollToOptions(options);\n    }\n    /**\n     * @private\n     * @param {?} options\n     * @return {?}\n     */\n    _applyScrollToOptions(options) {\n        /** @type {?} */\n        const el = this.elementRef.nativeElement;\n        if (Object(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_4__[\"supportsScrollBehavior\"])()) {\n            el.scrollTo(options);\n        }\n        else {\n            if (options.top != null) {\n                el.scrollTop = options.top;\n            }\n            if (options.left != null) {\n                el.scrollLeft = options.left;\n            }\n        }\n    }\n    /**\n     * Measures the scroll offset relative to the specified edge of the viewport. This method can be\n     * used instead of directly checking scrollLeft or scrollTop, since browsers are not consistent\n     * about what scrollLeft means in RTL. The values returned by this method are normalized such that\n     * left and right always refer to the left and right side of the scrolling container irrespective\n     * of the layout direction. start and end refer to left and right in an LTR context and vice-versa\n     * in an RTL context.\n     * @param {?} from The edge to measure from.\n     * @return {?}\n     */\n    measureScrollOffset(from) {\n        /** @type {?} */\n        const LEFT = 'left';\n        /** @type {?} */\n        const RIGHT = 'right';\n        /** @type {?} */\n        const el = this.elementRef.nativeElement;\n        if (from == 'top') {\n            return el.scrollTop;\n        }\n        if (from == 'bottom') {\n            return el.scrollHeight - el.clientHeight - el.scrollTop;\n        }\n        // Rewrite start & end as left or right offsets.\n        /** @type {?} */\n        const isRtl = this.dir && this.dir.value == 'rtl';\n        if (from == 'start') {\n            from = isRtl ? RIGHT : LEFT;\n        }\n        else if (from == 'end') {\n            from = isRtl ? LEFT : RIGHT;\n        }\n        if (isRtl && Object(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_4__[\"getRtlScrollAxisType\"])() == _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_4__[\"RtlScrollAxisType\"].INVERTED) {\n            // For INVERTED, scrollLeft is (scrollWidth - clientWidth) when scrolled all the way left and\n            // 0 when scrolled all the way right.\n            if (from == LEFT) {\n                return el.scrollWidth - el.clientWidth - el.scrollLeft;\n            }\n            else {\n                return el.scrollLeft;\n            }\n        }\n        else if (isRtl && Object(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_4__[\"getRtlScrollAxisType\"])() == _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_4__[\"RtlScrollAxisType\"].NEGATED) {\n            // For NEGATED, scrollLeft is -(scrollWidth - clientWidth) when scrolled all the way left and\n            // 0 when scrolled all the way right.\n            if (from == LEFT) {\n                return el.scrollLeft + el.scrollWidth - el.clientWidth;\n            }\n            else {\n                return -el.scrollLeft;\n            }\n        }\n        else {\n            // For NORMAL, as well as non-RTL contexts, scrollLeft is 0 when scrolled all the way left and\n            // (scrollWidth - clientWidth) when scrolled all the way right.\n            if (from == LEFT) {\n                return el.scrollLeft;\n            }\n            else {\n                return el.scrollWidth - el.clientWidth - el.scrollLeft;\n            }\n        }\n    }\n}\nCdkScrollable.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{\n                selector: '[cdk-scrollable], [cdkScrollable]'\n            },] },\n];\n/** @nocollapse */\nCdkScrollable.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"] },\n    { type: ScrollDispatcher },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgZone\"] },\n    { type: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_5__[\"Directionality\"], decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }] }\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Checks if the given ranges are equal.\n * @param {?} r1\n * @param {?} r2\n * @return {?}\n */\nfunction rangesEqual(r1, r2) {\n    return r1.start == r2.start && r1.end == r2.end;\n}\n/**\n * Scheduler to be used for scroll events. Needs to fall back to\n * something that doesn't rely on requestAnimationFrame on environments\n * that don't support it (e.g. server-side rendering).\n * @type {?}\n */\nconst SCROLL_SCHEDULER = typeof requestAnimationFrame !== 'undefined' ? rxjs__WEBPACK_IMPORTED_MODULE_2__[\"animationFrameScheduler\"] : rxjs__WEBPACK_IMPORTED_MODULE_2__[\"asapScheduler\"];\n/**\n * A viewport that virtualizes its scrolling with the help of `CdkVirtualForOf`.\n */\nclass CdkVirtualScrollViewport extends CdkScrollable {\n    /**\n     * @param {?} elementRef\n     * @param {?} _changeDetectorRef\n     * @param {?} ngZone\n     * @param {?} _scrollStrategy\n     * @param {?} dir\n     * @param {?} scrollDispatcher\n     */\n    constructor(elementRef, _changeDetectorRef, ngZone, _scrollStrategy, dir, scrollDispatcher) {\n        super(elementRef, scrollDispatcher, ngZone, dir);\n        this.elementRef = elementRef;\n        this._changeDetectorRef = _changeDetectorRef;\n        this._scrollStrategy = _scrollStrategy;\n        /**\n         * Emits when the viewport is detached from a CdkVirtualForOf.\n         */\n        this._detachedSubject = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Subject\"]();\n        /**\n         * Emits when the rendered range changes.\n         */\n        this._renderedRangeSubject = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Subject\"]();\n        this._orientation = 'vertical';\n        // Note: we don't use the typical EventEmitter here because we need to subscribe to the scroll\n        // strategy lazily (i.e. only if the user is actually listening to the events). We do this because\n        // depending on how the strategy calculates the scrolled index, it may come at a cost to\n        // performance.\n        /**\n         * Emits when the index of the first element visible in the viewport changes.\n         */\n        this.scrolledIndexChange = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Observable\"]((/**\n         * @param {?} observer\n         * @return {?}\n         */\n        (observer) => this._scrollStrategy.scrolledIndexChange.subscribe((/**\n         * @param {?} index\n         * @return {?}\n         */\n        index => Promise.resolve().then((/**\n         * @return {?}\n         */\n        () => this.ngZone.run((/**\n         * @return {?}\n         */\n        () => observer.next(index)))))))));\n        /**\n         * A stream that emits whenever the rendered range changes.\n         */\n        this.renderedRangeStream = this._renderedRangeSubject.asObservable();\n        /**\n         * The total size of all content (in pixels), including content that is not currently rendered.\n         */\n        this._totalContentSize = 0;\n        /**\n         * A string representing the `style.width` property value to be used for the spacer element.\n         */\n        this._totalContentWidth = '';\n        /**\n         * A string representing the `style.height` property value to be used for the spacer element.\n         */\n        this._totalContentHeight = '';\n        /**\n         * The currently rendered range of indices.\n         */\n        this._renderedRange = { start: 0, end: 0 };\n        /**\n         * The length of the data bound to this viewport (in number of items).\n         */\n        this._dataLength = 0;\n        /**\n         * The size of the viewport (in pixels).\n         */\n        this._viewportSize = 0;\n        /**\n         * The last rendered content offset that was set.\n         */\n        this._renderedContentOffset = 0;\n        /**\n         * Whether the last rendered content offset was to the end of the content (and therefore needs to\n         * be rewritten as an offset to the start of the content).\n         */\n        this._renderedContentOffsetNeedsRewrite = false;\n        /**\n         * Whether there is a pending change detection cycle.\n         */\n        this._isChangeDetectionPending = false;\n        /**\n         * A list of functions to run after the next change detection cycle.\n         */\n        this._runAfterChangeDetection = [];\n        if (!_scrollStrategy) {\n            throw Error('Error: cdk-virtual-scroll-viewport requires the \"itemSize\" property to be set.');\n        }\n    }\n    /**\n     * The direction the viewport scrolls.\n     * @return {?}\n     */\n    get orientation() {\n        return this._orientation;\n    }\n    /**\n     * @param {?} orientation\n     * @return {?}\n     */\n    set orientation(orientation) {\n        if (this._orientation !== orientation) {\n            this._orientation = orientation;\n            this._calculateSpacerSize();\n        }\n    }\n    /**\n     * @return {?}\n     */\n    ngOnInit() {\n        super.ngOnInit();\n        // It's still too early to measure the viewport at this point. Deferring with a promise allows\n        // the Viewport to be rendered with the correct size before we measure. We run this outside the\n        // zone to avoid causing more change detection cycles. We handle the change detection loop\n        // ourselves instead.\n        this.ngZone.runOutsideAngular((/**\n         * @return {?}\n         */\n        () => Promise.resolve().then((/**\n         * @return {?}\n         */\n        () => {\n            this._measureViewportSize();\n            this._scrollStrategy.attach(this);\n            this.elementScrolled()\n                .pipe(\n            // Start off with a fake scroll event so we properly detect our initial position.\n            Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"startWith\"])((/** @type {?} */ (null))), \n            // Collect multiple events into one until the next animation frame. This way if\n            // there are multiple scroll events in the same frame we only need to recheck\n            // our layout once.\n            Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"auditTime\"])(0, SCROLL_SCHEDULER))\n                .subscribe((/**\n             * @return {?}\n             */\n            () => this._scrollStrategy.onContentScrolled()));\n            this._markChangeDetectionNeeded();\n        }))));\n    }\n    /**\n     * @return {?}\n     */\n    ngOnDestroy() {\n        this.detach();\n        this._scrollStrategy.detach();\n        // Complete all subjects\n        this._renderedRangeSubject.complete();\n        this._detachedSubject.complete();\n        super.ngOnDestroy();\n    }\n    /**\n     * Attaches a `CdkVirtualForOf` to this viewport.\n     * @param {?} forOf\n     * @return {?}\n     */\n    attach(forOf) {\n        if (this._forOf) {\n            throw Error('CdkVirtualScrollViewport is already attached.');\n        }\n        // Subscribe to the data stream of the CdkVirtualForOf to keep track of when the data length\n        // changes. Run outside the zone to avoid triggering change detection, since we're managing the\n        // change detection loop ourselves.\n        this.ngZone.runOutsideAngular((/**\n         * @return {?}\n         */\n        () => {\n            this._forOf = forOf;\n            this._forOf.dataStream.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"takeUntil\"])(this._detachedSubject)).subscribe((/**\n             * @param {?} data\n             * @return {?}\n             */\n            data => {\n                /** @type {?} */\n                const newLength = data.length;\n                if (newLength !== this._dataLength) {\n                    this._dataLength = newLength;\n                    this._scrollStrategy.onDataLengthChanged();\n                }\n                this._doChangeDetection();\n            }));\n        }));\n    }\n    /**\n     * Detaches the current `CdkVirtualForOf`.\n     * @return {?}\n     */\n    detach() {\n        this._forOf = null;\n        this._detachedSubject.next();\n    }\n    /**\n     * Gets the length of the data bound to this viewport (in number of items).\n     * @return {?}\n     */\n    getDataLength() {\n        return this._dataLength;\n    }\n    /**\n     * Gets the size of the viewport (in pixels).\n     * @return {?}\n     */\n    getViewportSize() {\n        return this._viewportSize;\n    }\n    // TODO(mmalerba): This is technically out of sync with what's really rendered until a render\n    // cycle happens. I'm being careful to only call it after the render cycle is complete and before\n    // setting it to something else, but its error prone and should probably be split into\n    // `pendingRange` and `renderedRange`, the latter reflecting whats actually in the DOM.\n    /**\n     * Get the current rendered range of items.\n     * @return {?}\n     */\n    getRenderedRange() {\n        return this._renderedRange;\n    }\n    /**\n     * Sets the total size of all content (in pixels), including content that is not currently\n     * rendered.\n     * @param {?} size\n     * @return {?}\n     */\n    setTotalContentSize(size) {\n        if (this._totalContentSize !== size) {\n            this._totalContentSize = size;\n            this._calculateSpacerSize();\n            this._markChangeDetectionNeeded();\n        }\n    }\n    /**\n     * Sets the currently rendered range of indices.\n     * @param {?} range\n     * @return {?}\n     */\n    setRenderedRange(range) {\n        if (!rangesEqual(this._renderedRange, range)) {\n            this._renderedRangeSubject.next(this._renderedRange = range);\n            this._markChangeDetectionNeeded((/**\n             * @return {?}\n             */\n            () => this._scrollStrategy.onContentRendered()));\n        }\n    }\n    /**\n     * Gets the offset from the start of the viewport to the start of the rendered data (in pixels).\n     * @return {?}\n     */\n    getOffsetToRenderedContentStart() {\n        return this._renderedContentOffsetNeedsRewrite ? null : this._renderedContentOffset;\n    }\n    /**\n     * Sets the offset from the start of the viewport to either the start or end of the rendered data\n     * (in pixels).\n     * @param {?} offset\n     * @param {?=} to\n     * @return {?}\n     */\n    setRenderedContentOffset(offset, to = 'to-start') {\n        // For a horizontal viewport in a right-to-left language we need to translate along the x-axis\n        // in the negative direction.\n        /** @type {?} */\n        const isRtl = this.dir && this.dir.value == 'rtl';\n        /** @type {?} */\n        const isHorizontal = this.orientation == 'horizontal';\n        /** @type {?} */\n        const axis = isHorizontal ? 'X' : 'Y';\n        /** @type {?} */\n        const axisDirection = isHorizontal && isRtl ? -1 : 1;\n        /** @type {?} */\n        let transform = `translate${axis}(${Number(axisDirection * offset)}px)`;\n        this._renderedContentOffset = offset;\n        if (to === 'to-end') {\n            transform += ` translate${axis}(-100%)`;\n            // The viewport should rewrite this as a `to-start` offset on the next render cycle. Otherwise\n            // elements will appear to expand in the wrong direction (e.g. `mat-expansion-panel` would\n            // expand upward).\n            this._renderedContentOffsetNeedsRewrite = true;\n        }\n        if (this._renderedContentTransform != transform) {\n            // We know this value is safe because we parse `offset` with `Number()` before passing it\n            // into the string.\n            this._renderedContentTransform = transform;\n            this._markChangeDetectionNeeded((/**\n             * @return {?}\n             */\n            () => {\n                if (this._renderedContentOffsetNeedsRewrite) {\n                    this._renderedContentOffset -= this.measureRenderedContentSize();\n                    this._renderedContentOffsetNeedsRewrite = false;\n                    this.setRenderedContentOffset(this._renderedContentOffset);\n                }\n                else {\n                    this._scrollStrategy.onRenderedOffsetChanged();\n                }\n            }));\n        }\n    }\n    /**\n     * Scrolls to the given offset from the start of the viewport. Please note that this is not always\n     * the same as setting `scrollTop` or `scrollLeft`. In a horizontal viewport with right-to-left\n     * direction, this would be the equivalent of setting a fictional `scrollRight` property.\n     * @param {?} offset The offset to scroll to.\n     * @param {?=} behavior The ScrollBehavior to use when scrolling. Default is behavior is `auto`.\n     * @return {?}\n     */\n    scrollToOffset(offset, behavior = 'auto') {\n        /** @type {?} */\n        const options = { behavior };\n        if (this.orientation === 'horizontal') {\n            options.start = offset;\n        }\n        else {\n            options.top = offset;\n        }\n        this.scrollTo(options);\n    }\n    /**\n     * Scrolls to the offset for the given index.\n     * @param {?} index The index of the element to scroll to.\n     * @param {?=} behavior The ScrollBehavior to use when scrolling. Default is behavior is `auto`.\n     * @return {?}\n     */\n    scrollToIndex(index, behavior = 'auto') {\n        this._scrollStrategy.scrollToIndex(index, behavior);\n    }\n    /**\n     * Gets the current scroll offset from the start of the viewport (in pixels).\n     * @param {?=} from The edge to measure the offset from. Defaults to 'top' in vertical mode and 'start'\n     *     in horizontal mode.\n     * @return {?}\n     */\n    measureScrollOffset(from) {\n        return super.measureScrollOffset(from ? from : this.orientation === 'horizontal' ? 'start' : 'top');\n    }\n    /**\n     * Measure the combined size of all of the rendered items.\n     * @return {?}\n     */\n    measureRenderedContentSize() {\n        /** @type {?} */\n        const contentEl = this._contentWrapper.nativeElement;\n        return this.orientation === 'horizontal' ? contentEl.offsetWidth : contentEl.offsetHeight;\n    }\n    /**\n     * Measure the total combined size of the given range. Throws if the range includes items that are\n     * not rendered.\n     * @param {?} range\n     * @return {?}\n     */\n    measureRangeSize(range) {\n        if (!this._forOf) {\n            return 0;\n        }\n        return this._forOf.measureRangeSize(range, this.orientation);\n    }\n    /**\n     * Update the viewport dimensions and re-render.\n     * @return {?}\n     */\n    checkViewportSize() {\n        // TODO: Cleanup later when add logic for handling content resize\n        this._measureViewportSize();\n        this._scrollStrategy.onDataLengthChanged();\n    }\n    /**\n     * Measure the viewport size.\n     * @private\n     * @return {?}\n     */\n    _measureViewportSize() {\n        /** @type {?} */\n        const viewportEl = this.elementRef.nativeElement;\n        this._viewportSize = this.orientation === 'horizontal' ?\n            viewportEl.clientWidth : viewportEl.clientHeight;\n    }\n    /**\n     * Queue up change detection to run.\n     * @private\n     * @param {?=} runAfter\n     * @return {?}\n     */\n    _markChangeDetectionNeeded(runAfter) {\n        if (runAfter) {\n            this._runAfterChangeDetection.push(runAfter);\n        }\n        // Use a Promise to batch together calls to `_doChangeDetection`. This way if we set a bunch of\n        // properties sequentially we only have to run `_doChangeDetection` once at the end.\n        if (!this._isChangeDetectionPending) {\n            this._isChangeDetectionPending = true;\n            this.ngZone.runOutsideAngular((/**\n             * @return {?}\n             */\n            () => Promise.resolve().then((/**\n             * @return {?}\n             */\n            () => {\n                this._doChangeDetection();\n            }))));\n        }\n    }\n    /**\n     * Run change detection.\n     * @private\n     * @return {?}\n     */\n    _doChangeDetection() {\n        this._isChangeDetectionPending = false;\n        // Apply changes to Angular bindings. Note: We must call `markForCheck` to run change detection\n        // from the root, since the repeated items are content projected in. Calling `detectChanges`\n        // instead does not properly check the projected content.\n        this.ngZone.run((/**\n         * @return {?}\n         */\n        () => this._changeDetectorRef.markForCheck()));\n        // Apply the content transform. The transform can't be set via an Angular binding because\n        // bypassSecurityTrustStyle is banned in Google. However the value is safe, it's composed of\n        // string literals, a variable that can only be 'X' or 'Y', and user input that is run through\n        // the `Number` function first to coerce it to a numeric value.\n        this._contentWrapper.nativeElement.style.transform = this._renderedContentTransform;\n        /** @type {?} */\n        const runAfterChangeDetection = this._runAfterChangeDetection;\n        this._runAfterChangeDetection = [];\n        for (const fn of runAfterChangeDetection) {\n            fn();\n        }\n    }\n    /**\n     * Calculates the `style.width` and `style.height` for the spacer element.\n     * @private\n     * @return {?}\n     */\n    _calculateSpacerSize() {\n        this._totalContentHeight =\n            this.orientation === 'horizontal' ? '' : `${this._totalContentSize}px`;\n        this._totalContentWidth =\n            this.orientation === 'horizontal' ? `${this._totalContentSize}px` : '';\n    }\n}\nCdkVirtualScrollViewport.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Component\"], args: [{selector: 'cdk-virtual-scroll-viewport',\n                template: \"<div #contentWrapper class=\\\"cdk-virtual-scroll-content-wrapper\\\"><ng-content></ng-content></div><div class=\\\"cdk-virtual-scroll-spacer\\\" [style.width]=\\\"_totalContentWidth\\\" [style.height]=\\\"_totalContentHeight\\\"></div>\",\n                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}\"],\n                host: {\n                    'class': 'cdk-virtual-scroll-viewport',\n                    '[class.cdk-virtual-scroll-orientation-horizontal]': 'orientation === \"horizontal\"',\n                    '[class.cdk-virtual-scroll-orientation-vertical]': 'orientation !== \"horizontal\"',\n                },\n                encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ViewEncapsulation\"].None,\n                changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ChangeDetectionStrategy\"].OnPush,\n                providers: [{\n                        provide: CdkScrollable,\n                        useExisting: CdkVirtualScrollViewport,\n                    }]\n            },] },\n];\n/** @nocollapse */\nCdkVirtualScrollViewport.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ChangeDetectorRef\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgZone\"] },\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [VIRTUAL_SCROLL_STRATEGY,] }] },\n    { type: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_5__[\"Directionality\"], decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }] },\n    { type: ScrollDispatcher }\n];\nCdkVirtualScrollViewport.propDecorators = {\n    orientation: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"] }],\n    scrolledIndexChange: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Output\"] }],\n    _contentWrapper: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ViewChild\"], args: ['contentWrapper', { static: true },] }]\n};\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Helper to extract size from a DOM Node.\n * @param {?} orientation\n * @param {?} node\n * @return {?}\n */\nfunction getSize(orientation, node) {\n    /** @type {?} */\n    const el = (/** @type {?} */ (node));\n    if (!el.getBoundingClientRect) {\n        return 0;\n    }\n    /** @type {?} */\n    const rect = el.getBoundingClientRect();\n    return orientation == 'horizontal' ? rect.width : rect.height;\n}\n/**\n * A directive similar to `ngForOf` to be used for rendering data inside a virtual scrolling\n * container.\n * @template T\n */\nclass CdkVirtualForOf {\n    /**\n     * @param {?} _viewContainerRef\n     * @param {?} _template\n     * @param {?} _differs\n     * @param {?} _viewport\n     * @param {?} ngZone\n     */\n    constructor(_viewContainerRef, _template, _differs, _viewport, ngZone) {\n        this._viewContainerRef = _viewContainerRef;\n        this._template = _template;\n        this._differs = _differs;\n        this._viewport = _viewport;\n        /**\n         * Emits when the rendered view of the data changes.\n         */\n        this.viewChange = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Subject\"]();\n        /**\n         * Subject that emits when a new DataSource instance is given.\n         */\n        this._dataSourceChanges = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Subject\"]();\n        /**\n         * The size of the cache used to store templates that are not being used for re-use later.\n         * Setting the cache size to `0` will disable caching. Defaults to 20 templates.\n         */\n        this.cdkVirtualForTemplateCacheSize = 20;\n        /**\n         * Emits whenever the data in the current DataSource changes.\n         */\n        this.dataStream = this._dataSourceChanges\n            .pipe(\n        // Start off with null `DataSource`.\n        Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"startWith\"])((/** @type {?} */ (null))), \n        // Bundle up the previous and current data sources so we can work with both.\n        Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"pairwise\"])(), \n        // Use `_changeDataSource` to disconnect from the previous data source and connect to the\n        // new one, passing back a stream of data changes which we run through `switchMap` to give\n        // us a data stream that emits the latest data from whatever the current `DataSource` is.\n        Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"switchMap\"])((/**\n         * @param {?} __0\n         * @return {?}\n         */\n        ([prev, cur]) => this._changeDataSource(prev, cur))), \n        // Replay the last emitted data when someone subscribes.\n        Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"shareReplay\"])(1));\n        /**\n         * The differ used to calculate changes to the data.\n         */\n        this._differ = null;\n        /**\n         * The template cache used to hold on ot template instancess that have been stamped out, but don't\n         * currently need to be rendered. These instances will be reused in the future rather than\n         * stamping out brand new ones.\n         */\n        this._templateCache = [];\n        /**\n         * Whether the rendered data should be updated during the next ngDoCheck cycle.\n         */\n        this._needsUpdate = false;\n        this._destroyed = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Subject\"]();\n        this.dataStream.subscribe((/**\n         * @param {?} data\n         * @return {?}\n         */\n        data => {\n            this._data = data;\n            this._onRenderedDataChange();\n        }));\n        this._viewport.renderedRangeStream.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"takeUntil\"])(this._destroyed)).subscribe((/**\n         * @param {?} range\n         * @return {?}\n         */\n        range => {\n            this._renderedRange = range;\n            ngZone.run((/**\n             * @return {?}\n             */\n            () => this.viewChange.next(this._renderedRange)));\n            this._onRenderedDataChange();\n        }));\n        this._viewport.attach(this);\n    }\n    /**\n     * The DataSource to display.\n     * @return {?}\n     */\n    get cdkVirtualForOf() {\n        return this._cdkVirtualForOf;\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    set cdkVirtualForOf(value) {\n        this._cdkVirtualForOf = value;\n        /** @type {?} */\n        const ds = Object(_angular_cdk_collections__WEBPACK_IMPORTED_MODULE_6__[\"isDataSource\"])(value) ? value :\n            // Slice the value if its an NgIterable to ensure we're working with an array.\n            new _angular_cdk_collections__WEBPACK_IMPORTED_MODULE_6__[\"ArrayDataSource\"](value instanceof rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Observable\"] ? value : Array.prototype.slice.call(value || []));\n        this._dataSourceChanges.next(ds);\n    }\n    /**\n     * The `TrackByFunction` to use for tracking changes. The `TrackByFunction` takes the index and\n     * the item and produces a value to be used as the item's identity when tracking changes.\n     * @return {?}\n     */\n    get cdkVirtualForTrackBy() {\n        return this._cdkVirtualForTrackBy;\n    }\n    /**\n     * @param {?} fn\n     * @return {?}\n     */\n    set cdkVirtualForTrackBy(fn) {\n        this._needsUpdate = true;\n        this._cdkVirtualForTrackBy = fn ?\n            (/**\n             * @param {?} index\n             * @param {?} item\n             * @return {?}\n             */\n            (index, item) => fn(index + (this._renderedRange ? this._renderedRange.start : 0), item)) :\n            undefined;\n    }\n    /**\n     * The template used to stamp out new elements.\n     * @param {?} value\n     * @return {?}\n     */\n    set cdkVirtualForTemplate(value) {\n        if (value) {\n            this._needsUpdate = true;\n            this._template = value;\n        }\n    }\n    /**\n     * Measures the combined size (width for horizontal orientation, height for vertical) of all items\n     * in the specified range. Throws an error if the range includes items that are not currently\n     * rendered.\n     * @param {?} range\n     * @param {?} orientation\n     * @return {?}\n     */\n    measureRangeSize(range, orientation) {\n        if (range.start >= range.end) {\n            return 0;\n        }\n        if (range.start < this._renderedRange.start || range.end > this._renderedRange.end) {\n            throw Error(`Error: attempted to measure an item that isn't rendered.`);\n        }\n        // The index into the list of rendered views for the first item in the range.\n        /** @type {?} */\n        const renderedStartIndex = range.start - this._renderedRange.start;\n        // The length of the range we're measuring.\n        /** @type {?} */\n        const rangeLen = range.end - range.start;\n        // Loop over all root nodes for all items in the range and sum up their size.\n        /** @type {?} */\n        let totalSize = 0;\n        /** @type {?} */\n        let i = rangeLen;\n        while (i--) {\n            /** @type {?} */\n            const view = (/** @type {?} */ (this._viewContainerRef.get(i + renderedStartIndex)));\n            /** @type {?} */\n            let j = view ? view.rootNodes.length : 0;\n            while (j--) {\n                totalSize += getSize(orientation, (/** @type {?} */ (view)).rootNodes[j]);\n            }\n        }\n        return totalSize;\n    }\n    /**\n     * @return {?}\n     */\n    ngDoCheck() {\n        if (this._differ && this._needsUpdate) {\n            // TODO(mmalerba): We should differentiate needs update due to scrolling and a new portion of\n            // this list being rendered (can use simpler algorithm) vs needs update due to data actually\n            // changing (need to do this diff).\n            /** @type {?} */\n            const changes = this._differ.diff(this._renderedItems);\n            if (!changes) {\n                this._updateContext();\n            }\n            else {\n                this._applyChanges(changes);\n            }\n            this._needsUpdate = false;\n        }\n    }\n    /**\n     * @return {?}\n     */\n    ngOnDestroy() {\n        this._viewport.detach();\n        this._dataSourceChanges.next();\n        this._dataSourceChanges.complete();\n        this.viewChange.complete();\n        this._destroyed.next();\n        this._destroyed.complete();\n        for (let view of this._templateCache) {\n            view.destroy();\n        }\n    }\n    /**\n     * React to scroll state changes in the viewport.\n     * @private\n     * @return {?}\n     */\n    _onRenderedDataChange() {\n        if (!this._renderedRange) {\n            return;\n        }\n        this._renderedItems = this._data.slice(this._renderedRange.start, this._renderedRange.end);\n        if (!this._differ) {\n            this._differ = this._differs.find(this._renderedItems).create(this.cdkVirtualForTrackBy);\n        }\n        this._needsUpdate = true;\n    }\n    /**\n     * Swap out one `DataSource` for another.\n     * @private\n     * @param {?} oldDs\n     * @param {?} newDs\n     * @return {?}\n     */\n    _changeDataSource(oldDs, newDs) {\n        if (oldDs) {\n            oldDs.disconnect(this);\n        }\n        this._needsUpdate = true;\n        return newDs ? newDs.connect(this) : Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])();\n    }\n    /**\n     * Update the `CdkVirtualForOfContext` for all views.\n     * @private\n     * @return {?}\n     */\n    _updateContext() {\n        /** @type {?} */\n        const count = this._data.length;\n        /** @type {?} */\n        let i = this._viewContainerRef.length;\n        while (i--) {\n            /** @type {?} */\n            let view = (/** @type {?} */ (this._viewContainerRef.get(i)));\n            view.context.index = this._renderedRange.start + i;\n            view.context.count = count;\n            this._updateComputedContextProperties(view.context);\n            view.detectChanges();\n        }\n    }\n    /**\n     * Apply changes to the DOM.\n     * @private\n     * @param {?} changes\n     * @return {?}\n     */\n    _applyChanges(changes) {\n        // Rearrange the views to put them in the right location.\n        changes.forEachOperation((/**\n         * @param {?} record\n         * @param {?} adjustedPreviousIndex\n         * @param {?} currentIndex\n         * @return {?}\n         */\n        (record, adjustedPreviousIndex, currentIndex) => {\n            if (record.previousIndex == null) { // Item added.\n                // Item added.\n                /** @type {?} */\n                const view = this._insertViewForNewItem((/** @type {?} */ (currentIndex)));\n                view.context.$implicit = record.item;\n            }\n            else if (currentIndex == null) { // Item removed.\n                this._cacheView(this._detachView((/** @type {?} */ (adjustedPreviousIndex))));\n            }\n            else { // Item moved.\n                // Item moved.\n                /** @type {?} */\n                const view = (/** @type {?} */ (this._viewContainerRef.get((/** @type {?} */ (adjustedPreviousIndex)))));\n                this._viewContainerRef.move(view, currentIndex);\n                view.context.$implicit = record.item;\n            }\n        }));\n        // Update $implicit for any items that had an identity change.\n        changes.forEachIdentityChange((/**\n         * @param {?} record\n         * @return {?}\n         */\n        (record) => {\n            /** @type {?} */\n            const view = (/** @type {?} */ (this._viewContainerRef.get((/** @type {?} */ (record.currentIndex)))));\n            view.context.$implicit = record.item;\n        }));\n        // Update the context variables on all items.\n        /** @type {?} */\n        const count = this._data.length;\n        /** @type {?} */\n        let i = this._viewContainerRef.length;\n        while (i--) {\n            /** @type {?} */\n            const view = (/** @type {?} */ (this._viewContainerRef.get(i)));\n            view.context.index = this._renderedRange.start + i;\n            view.context.count = count;\n            this._updateComputedContextProperties(view.context);\n        }\n    }\n    /**\n     * Cache the given detached view.\n     * @private\n     * @param {?} view\n     * @return {?}\n     */\n    _cacheView(view) {\n        if (this._templateCache.length < this.cdkVirtualForTemplateCacheSize) {\n            this._templateCache.push(view);\n        }\n        else {\n            /** @type {?} */\n            const index = this._viewContainerRef.indexOf(view);\n            // It's very unlikely that the index will ever be -1, but just in case,\n            // destroy the view on its own, otherwise destroy it through the\n            // container to ensure that all the references are removed.\n            if (index === -1) {\n                view.destroy();\n            }\n            else {\n                this._viewContainerRef.remove(index);\n            }\n        }\n    }\n    /**\n     * Inserts a view for a new item, either from the cache or by creating a new one.\n     * @private\n     * @param {?} index\n     * @return {?}\n     */\n    _insertViewForNewItem(index) {\n        return this._insertViewFromCache(index) || this._createEmbeddedViewAt(index);\n    }\n    /**\n     * Update the computed properties on the `CdkVirtualForOfContext`.\n     * @private\n     * @param {?} context\n     * @return {?}\n     */\n    _updateComputedContextProperties(context) {\n        context.first = context.index === 0;\n        context.last = context.index === context.count - 1;\n        context.even = context.index % 2 === 0;\n        context.odd = !context.even;\n    }\n    /**\n     * Creates a new embedded view and moves it to the given index\n     * @private\n     * @param {?} index\n     * @return {?}\n     */\n    _createEmbeddedViewAt(index) {\n        // Note that it's important that we insert the item directly at the proper index,\n        // rather than inserting it and the moving it in place, because if there's a directive\n        // on the same node that injects the `ViewContainerRef`, Angular will insert another\n        // comment node which can throw off the move when it's being repeated for all items.\n        return this._viewContainerRef.createEmbeddedView(this._template, {\n            $implicit: (/** @type {?} */ (null)),\n            cdkVirtualForOf: this._cdkVirtualForOf,\n            index: -1,\n            count: -1,\n            first: false,\n            last: false,\n            odd: false,\n            even: false\n        }, index);\n    }\n    /**\n     * Inserts a recycled view from the cache at the given index.\n     * @private\n     * @param {?} index\n     * @return {?}\n     */\n    _insertViewFromCache(index) {\n        /** @type {?} */\n        const cachedView = this._templateCache.pop();\n        if (cachedView) {\n            this._viewContainerRef.insert(cachedView, index);\n        }\n        return cachedView || null;\n    }\n    /**\n     * Detaches the embedded view at the given index.\n     * @private\n     * @param {?} index\n     * @return {?}\n     */\n    _detachView(index) {\n        return (/** @type {?} */ (this._viewContainerRef.detach(index)));\n    }\n}\nCdkVirtualForOf.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{\n                selector: '[cdkVirtualFor][cdkVirtualForOf]',\n            },] },\n];\n/** @nocollapse */\nCdkVirtualForOf.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ViewContainerRef\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"TemplateRef\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"IterableDiffers\"] },\n    { type: CdkVirtualScrollViewport, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"SkipSelf\"] }] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgZone\"] }\n];\nCdkVirtualForOf.propDecorators = {\n    cdkVirtualForOf: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"] }],\n    cdkVirtualForTrackBy: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"] }],\n    cdkVirtualForTemplate: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"] }],\n    cdkVirtualForTemplateCacheSize: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"] }]\n};\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass ScrollingModule {\n}\nScrollingModule.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"], args: [{\n                imports: [_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_5__[\"BidiModule\"], _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_4__[\"PlatformModule\"]],\n                exports: [\n                    _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_5__[\"BidiModule\"],\n                    CdkFixedSizeVirtualScroll,\n                    CdkScrollable,\n                    CdkVirtualForOf,\n                    CdkVirtualScrollViewport,\n                ],\n                declarations: [\n                    CdkFixedSizeVirtualScroll,\n                    CdkScrollable,\n                    CdkVirtualForOf,\n                    CdkVirtualScrollViewport,\n                ],\n            },] },\n];\n/**\n * @deprecated ScrollDispatchModule has been renamed to ScrollingModule.\n * \\@breaking-change 8.0.0 delete this alias\n */\nclass ScrollDispatchModule {\n}\nScrollDispatchModule.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"], args: [{\n                imports: [ScrollingModule],\n                exports: [ScrollingModule],\n            },] },\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Time in ms to throttle the resize events by default.\n * @type {?}\n */\nconst DEFAULT_RESIZE_TIME = 20;\n/**\n * Simple utility for getting the bounds of the browser viewport.\n * \\@docs-private\n */\nclass ViewportRuler {\n    /**\n     * @param {?} _platform\n     * @param {?} ngZone\n     */\n    constructor(_platform, ngZone) {\n        this._platform = _platform;\n        ngZone.runOutsideAngular((/**\n         * @return {?}\n         */\n        () => {\n            this._change = _platform.isBrowser ?\n                Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"merge\"])(Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"fromEvent\"])(window, 'resize'), Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"fromEvent\"])(window, 'orientationchange')) :\n                Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])();\n            // Note that we need to do the subscription inside `runOutsideAngular`\n            // since subscribing is what causes the event listener to be added.\n            this._invalidateCache = this.change().subscribe((/**\n             * @return {?}\n             */\n            () => this._updateViewportSize()));\n        }));\n    }\n    /**\n     * @return {?}\n     */\n    ngOnDestroy() {\n        this._invalidateCache.unsubscribe();\n    }\n    /**\n     * Returns the viewport's width and height.\n     * @return {?}\n     */\n    getViewportSize() {\n        if (!this._viewportSize) {\n            this._updateViewportSize();\n        }\n        /** @type {?} */\n        const output = { width: this._viewportSize.width, height: this._viewportSize.height };\n        // If we're not on a browser, don't cache the size since it'll be mocked out anyway.\n        if (!this._platform.isBrowser) {\n            this._viewportSize = (/** @type {?} */ (null));\n        }\n        return output;\n    }\n    /**\n     * Gets a ClientRect for the viewport's bounds.\n     * @return {?}\n     */\n    getViewportRect() {\n        // Use the document element's bounding rect rather than the window scroll properties\n        // (e.g. pageYOffset, scrollY) due to in issue in Chrome and IE where window scroll\n        // properties and client coordinates (boundingClientRect, clientX/Y, etc.) are in different\n        // conceptual viewports. Under most circumstances these viewports are equivalent, but they\n        // can disagree when the page is pinch-zoomed (on devices that support touch).\n        // See https://bugs.chromium.org/p/chromium/issues/detail?id=489206#c4\n        // We use the documentElement instead of the body because, by default (without a css reset)\n        // browsers typically give the document body an 8px margin, which is not included in\n        // getBoundingClientRect().\n        /** @type {?} */\n        const scrollPosition = this.getViewportScrollPosition();\n        const { width, height } = this.getViewportSize();\n        return {\n            top: scrollPosition.top,\n            left: scrollPosition.left,\n            bottom: scrollPosition.top + height,\n            right: scrollPosition.left + width,\n            height,\n            width,\n        };\n    }\n    /**\n     * Gets the (top, left) scroll position of the viewport.\n     * @return {?}\n     */\n    getViewportScrollPosition() {\n        // While we can get a reference to the fake document\n        // during SSR, it doesn't have getBoundingClientRect.\n        if (!this._platform.isBrowser) {\n            return { top: 0, left: 0 };\n        }\n        // The top-left-corner of the viewport is determined by the scroll position of the document\n        // body, normally just (scrollLeft, scrollTop). However, Chrome and Firefox disagree about\n        // whether `document.body` or `document.documentElement` is the scrolled element, so reading\n        // `scrollTop` and `scrollLeft` is inconsistent. However, using the bounding rect of\n        // `document.documentElement` works consistently, where the `top` and `left` values will\n        // equal negative the scroll position.\n        /** @type {?} */\n        const documentElement = (/** @type {?} */ (document.documentElement));\n        /** @type {?} */\n        const documentRect = documentElement.getBoundingClientRect();\n        /** @type {?} */\n        const top = -documentRect.top || document.body.scrollTop || window.scrollY ||\n            documentElement.scrollTop || 0;\n        /** @type {?} */\n        const left = -documentRect.left || document.body.scrollLeft || window.scrollX ||\n            documentElement.scrollLeft || 0;\n        return { top, left };\n    }\n    /**\n     * Returns a stream that emits whenever the size of the viewport changes.\n     * @param {?=} throttleTime Time in milliseconds to throttle the stream.\n     * @return {?}\n     */\n    change(throttleTime = DEFAULT_RESIZE_TIME) {\n        return throttleTime > 0 ? this._change.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"auditTime\"])(throttleTime)) : this._change;\n    }\n    /**\n     * Updates the cached viewport size.\n     * @private\n     * @return {?}\n     */\n    _updateViewportSize() {\n        this._viewportSize = this._platform.isBrowser ?\n            { width: window.innerWidth, height: window.innerHeight } :\n            { width: 0, height: 0 };\n    }\n}\nViewportRuler.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */\nViewportRuler.ctorParameters = () => [\n    { type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_4__[\"Platform\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgZone\"] }\n];\n/** @nocollapse */ ViewportRuler.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({ factory: function ViewportRuler_Factory() { return new ViewportRuler(Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_4__[\"Platform\"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgZone\"])); }, token: ViewportRuler, providedIn: \"root\" });\n/**\n * \\@docs-private \\@deprecated \\@breaking-change 8.0.0\n * @param {?} parentRuler\n * @param {?} platform\n * @param {?} ngZone\n * @return {?}\n */\nfunction VIEWPORT_RULER_PROVIDER_FACTORY(parentRuler, platform, ngZone) {\n    return parentRuler || new ViewportRuler(platform, ngZone);\n}\n/**\n * \\@docs-private \\@deprecated \\@breaking-change 8.0.0\n * @type {?}\n */\nconst VIEWPORT_RULER_PROVIDER = {\n    // If there is already a ViewportRuler available, use that. Otherwise, provide a new one.\n    provide: ViewportRuler,\n    deps: [[new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"](), new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"SkipSelf\"](), ViewportRuler], _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_4__[\"Platform\"], _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgZone\"]],\n    useFactory: VIEWPORT_RULER_PROVIDER_FACTORY\n};\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n\n//# sourceMappingURL=scrolling.js.map\n\n\n/***/ }),\n\n/***/ \"./node_modules/@angular/common/fesm2015/common.js\":\n/*!*********************************************************!*\\\n  !*** ./node_modules/@angular/common/fesm2015/common.js ***!\n  \\*********************************************************/\n/*! exports provided: ɵangular_packages_common_common_c, ɵangular_packages_common_common_h, ɵangular_packages_common_common_g, ɵangular_packages_common_common_f, ɵangular_packages_common_common_k, ɵangular_packages_common_common_j, ɵangular_packages_common_common_i, ɵangular_packages_common_common_a, ɵangular_packages_common_common_b, ɵangular_packages_common_common_e, ɵangular_packages_common_common_d, ɵregisterLocaleData, registerLocaleData, formatDate, formatCurrency, formatNumber, formatPercent, NgLocaleLocalization, NgLocalization, Plural, NumberFormatStyle, FormStyle, TranslationWidth, FormatWidth, NumberSymbol, WeekDay, getNumberOfCurrencyDigits, getCurrencySymbol, getLocaleDayPeriods, getLocaleDayNames, getLocaleMonthNames, getLocaleId, getLocaleEraNames, getLocaleWeekEndRange, getLocaleFirstDayOfWeek, getLocaleDateFormat, getLocaleDateTimeFormat, getLocaleExtraDayPeriodRules, getLocaleExtraDayPeriods, getLocalePluralCase, getLocaleTimeFormat, getLocaleNumberSymbol, getLocaleNumberFormat, getLocaleCurrencyName, getLocaleCurrencySymbol, ɵparseCookieValue, CommonModule, DeprecatedI18NPipesModule, NgClass, NgClassBase, NgForOf, NgForOfContext, NgIf, NgIfContext, NgPlural, NgPluralCase, NgStyle, NgStyleBase, NgSwitch, NgSwitchCase, NgSwitchDefault, NgTemplateOutlet, NgComponentOutlet, DOCUMENT, AsyncPipe, DatePipe, I18nPluralPipe, I18nSelectPipe, JsonPipe, LowerCasePipe, CurrencyPipe, DecimalPipe, PercentPipe, SlicePipe, UpperCasePipe, TitleCasePipe, KeyValuePipe, DeprecatedDatePipe, DeprecatedCurrencyPipe, DeprecatedDecimalPipe, DeprecatedPercentPipe, ɵPLATFORM_BROWSER_ID, ɵPLATFORM_SERVER_ID, ɵPLATFORM_WORKER_APP_ID, ɵPLATFORM_WORKER_UI_ID, isPlatformBrowser, isPlatformServer, isPlatformWorkerApp, isPlatformWorkerUi, VERSION, ViewportScroller, ɵNullViewportScroller, ɵNgClassImplProvider__POST_R3__, ɵNgClassR2Impl, ɵNgClassImpl, ɵNgStyleImplProvider__POST_R3__, ɵNgStyleR2Impl, ɵNgStyleImpl, ɵngStyleDirectiveDef__POST_R3__, ɵngClassDirectiveDef__POST_R3__, PlatformLocation, LOCATION_INITIALIZED, LocationStrategy, APP_BASE_HREF, HashLocationStrategy, PathLocationStrategy, Location */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_common_common_c\", function() { return COMMON_DIRECTIVES; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_common_common_h\", function() { return NgClassImplProvider; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_common_common_g\", function() { return NgClassImplProvider__PRE_R3__; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_common_common_f\", function() { return NgClassR3Impl; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_common_common_k\", function() { return NgStyleImplProvider; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_common_common_j\", function() { return NgStyleImplProvider__PRE_R3__; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_common_common_i\", function() { return NgStyleR3Impl; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_common_common_a\", function() { return DEPRECATED_PLURAL_FN; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_common_common_b\", function() { return getPluralCase; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_common_common_e\", function() { return COMMON_DEPRECATED_I18N_PIPES; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_common_common_d\", function() { return COMMON_PIPES; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵregisterLocaleData\", function() { return registerLocaleData; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"registerLocaleData\", function() { return registerLocaleData; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"formatDate\", function() { return formatDate; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"formatCurrency\", function() { return formatCurrency; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"formatNumber\", function() { return formatNumber; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"formatPercent\", function() { return formatPercent; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NgLocaleLocalization\", function() { return NgLocaleLocalization; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NgLocalization\", function() { return NgLocalization; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Plural\", function() { return Plural; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NumberFormatStyle\", function() { return NumberFormatStyle; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FormStyle\", function() { return FormStyle; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TranslationWidth\", function() { return TranslationWidth; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FormatWidth\", function() { return FormatWidth; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NumberSymbol\", function() { return NumberSymbol; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"WeekDay\", function() { return WeekDay; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getNumberOfCurrencyDigits\", function() { return getNumberOfCurrencyDigits; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getCurrencySymbol\", function() { return getCurrencySymbol; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getLocaleDayPeriods\", function() { return getLocaleDayPeriods; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getLocaleDayNames\", function() { return getLocaleDayNames; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getLocaleMonthNames\", function() { return getLocaleMonthNames; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getLocaleId\", function() { return getLocaleId; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getLocaleEraNames\", function() { return getLocaleEraNames; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getLocaleWeekEndRange\", function() { return getLocaleWeekEndRange; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getLocaleFirstDayOfWeek\", function() { return getLocaleFirstDayOfWeek; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getLocaleDateFormat\", function() { return getLocaleDateFormat; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getLocaleDateTimeFormat\", function() { return getLocaleDateTimeFormat; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getLocaleExtraDayPeriodRules\", function() { return getLocaleExtraDayPeriodRules; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getLocaleExtraDayPeriods\", function() { return getLocaleExtraDayPeriods; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getLocalePluralCase\", function() { return getLocalePluralCase; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getLocaleTimeFormat\", function() { return getLocaleTimeFormat; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getLocaleNumberSymbol\", function() { return getLocaleNumberSymbol; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getLocaleNumberFormat\", function() { return getLocaleNumberFormat; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getLocaleCurrencyName\", function() { return getLocaleCurrencyName; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getLocaleCurrencySymbol\", function() { return getLocaleCurrencySymbol; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵparseCookieValue\", function() { return parseCookieValue; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CommonModule\", function() { return CommonModule; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DeprecatedI18NPipesModule\", function() { return DeprecatedI18NPipesModule; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NgClass\", function() { return NgClass; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NgClassBase\", function() { return NgClassBase; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NgForOf\", function() { return NgForOf; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NgForOfContext\", function() { return NgForOfContext; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NgIf\", function() { return NgIf; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NgIfContext\", function() { return NgIfContext; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NgPlural\", function() { return NgPlural; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NgPluralCase\", function() { return NgPluralCase; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NgStyle\", function() { return NgStyle; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NgStyleBase\", function() { return NgStyleBase; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NgSwitch\", function() { return NgSwitch; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NgSwitchCase\", function() { return NgSwitchCase; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NgSwitchDefault\", function() { return NgSwitchDefault; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NgTemplateOutlet\", function() { return NgTemplateOutlet; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NgComponentOutlet\", function() { return NgComponentOutlet; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DOCUMENT\", function() { return DOCUMENT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AsyncPipe\", function() { return AsyncPipe; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DatePipe\", function() { return DatePipe; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"I18nPluralPipe\", function() { return I18nPluralPipe; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"I18nSelectPipe\", function() { return I18nSelectPipe; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"JsonPipe\", function() { return JsonPipe; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LowerCasePipe\", function() { return LowerCasePipe; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CurrencyPipe\", function() { return CurrencyPipe; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DecimalPipe\", function() { return DecimalPipe; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PercentPipe\", function() { return PercentPipe; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SlicePipe\", function() { return SlicePipe; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"UpperCasePipe\", function() { return UpperCasePipe; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TitleCasePipe\", function() { return TitleCasePipe; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KeyValuePipe\", function() { return KeyValuePipe; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DeprecatedDatePipe\", function() { return DeprecatedDatePipe; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DeprecatedCurrencyPipe\", function() { return DeprecatedCurrencyPipe; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DeprecatedDecimalPipe\", function() { return DeprecatedDecimalPipe; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DeprecatedPercentPipe\", function() { return DeprecatedPercentPipe; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵPLATFORM_BROWSER_ID\", function() { return PLATFORM_BROWSER_ID; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵPLATFORM_SERVER_ID\", function() { return PLATFORM_SERVER_ID; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵPLATFORM_WORKER_APP_ID\", function() { return PLATFORM_WORKER_APP_ID; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵPLATFORM_WORKER_UI_ID\", function() { return PLATFORM_WORKER_UI_ID; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isPlatformBrowser\", function() { return isPlatformBrowser; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isPlatformServer\", function() { return isPlatformServer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isPlatformWorkerApp\", function() { return isPlatformWorkerApp; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isPlatformWorkerUi\", function() { return isPlatformWorkerUi; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VERSION\", function() { return VERSION; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ViewportScroller\", function() { return ViewportScroller; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵNullViewportScroller\", function() { return NullViewportScroller; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵNgClassImplProvider__POST_R3__\", function() { return NgClassImplProvider__POST_R3__; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵNgClassR2Impl\", function() { return NgClassR2Impl; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵNgClassImpl\", function() { return NgClassImpl; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵNgStyleImplProvider__POST_R3__\", function() { return NgStyleImplProvider__POST_R3__; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵNgStyleR2Impl\", function() { return NgStyleR2Impl; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵNgStyleImpl\", function() { return NgStyleImpl; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵngStyleDirectiveDef__POST_R3__\", function() { return ngStyleDirectiveDef__POST_R3__; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵngClassDirectiveDef__POST_R3__\", function() { return ngClassDirectiveDef__POST_R3__; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PlatformLocation\", function() { return PlatformLocation; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LOCATION_INITIALIZED\", function() { return LOCATION_INITIALIZED; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LocationStrategy\", function() { return LocationStrategy; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"APP_BASE_HREF\", function() { return APP_BASE_HREF; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"HashLocationStrategy\", function() { return HashLocationStrategy; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PathLocationStrategy\", function() { return PathLocationStrategy; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Location\", function() { return Location; });\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/**\n * @license Angular v8.2.14\n * (c) 2010-2019 Google LLC. https://angular.io/\n * License: MIT\n */\n\n\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * This class should not be used directly by an application developer. Instead, use\n * {\\@link Location}.\n *\n * `PlatformLocation` encapsulates all calls to DOM apis, which allows the Router to be platform\n * agnostic.\n * This means that we can have different implementation of `PlatformLocation` for the different\n * platforms that angular supports. For example, `\\@angular/platform-browser` provides an\n * implementation specific to the browser environment, while `\\@angular/platform-webworker` provides\n * one suitable for use with web workers.\n *\n * The `PlatformLocation` class is used directly by all implementations of {\\@link LocationStrategy}\n * when they need to interact with the DOM apis like pushState, popState, etc...\n *\n * {\\@link LocationStrategy} in turn is used by the {\\@link Location} service which is used directly\n * by the {\\@link Router} in order to navigate between routes. Since all interactions between {\\@link\n * Router} /\n * {\\@link Location} / {\\@link LocationStrategy} and DOM apis flow through the `PlatformLocation`\n * class they are all platform independent.\n *\n * \\@publicApi\n * @abstract\n */\nclass PlatformLocation {\n}\nif (false) {}\n/**\n * \\@description\n * Indicates when a location is initialized.\n *\n * \\@publicApi\n * @type {?}\n */\nconst LOCATION_INITIALIZED = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('Location Initialized');\n/**\n * \\@description\n * A serializable version of the event from `onPopState` or `onHashChange`\n *\n * \\@publicApi\n * @record\n */\nfunction LocationChangeEvent() { }\nif (false) {}\n/**\n * \\@publicApi\n * @record\n */\nfunction LocationChangeListener() { }\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Enables the `Location` service to read route state from the browser's URL.\n * Angular provides two strategies:\n * `HashLocationStrategy` and `PathLocationStrategy`.\n *\n * Applications should use the `Router` or `Location` services to\n * interact with application route state.\n *\n * For instance, `HashLocationStrategy` produces URLs like\n * <code class=\"no-auto-link\">http://example.com#/foo</code>,\n * and `PathLocationStrategy` produces\n * <code class=\"no-auto-link\">http://example.com/foo</code> as an equivalent URL.\n *\n * See these two classes for more.\n *\n * \\@publicApi\n * @abstract\n */\nclass LocationStrategy {\n}\nif (false) {}\n/**\n * A predefined [DI token](guide/glossary#di-token) for the base href\n * to be used with the `PathLocationStrategy`.\n * The base href is the URL prefix that should be preserved when generating\n * and recognizing URLs.\n *\n * \\@usageNotes\n *\n * The following example shows how to use this token to configure the root app injector\n * with a base href value, so that the DI framework can supply the dependency anywhere in the app.\n *\n * ```typescript\n * import {Component, NgModule} from '\\@angular/core';\n * import {APP_BASE_HREF} from '\\@angular/common';\n *\n * \\@NgModule({\n *   providers: [{provide: APP_BASE_HREF, useValue: '/my/app'}]\n * })\n * class AppModule {}\n * ```\n *\n * \\@publicApi\n * @type {?}\n */\nconst APP_BASE_HREF = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('appBaseHref');\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@publicApi\n * @record\n */\nfunction PopStateEvent() { }\nif (false) {}\n/**\n * \\@description\n *\n * A service that applications can use to interact with a browser's URL.\n *\n * Depending on the `LocationStrategy` used, `Location` persists\n * to the URL's path or the URL's hash segment.\n *\n * \\@usageNotes\n *\n * It's better to use the `Router#navigate` service to trigger route changes. Use\n * `Location` only if you need to interact with or create normalized URLs outside of\n * routing.\n *\n * `Location` is responsible for normalizing the URL against the application's base href.\n * A normalized URL is absolute from the URL host, includes the application's base href, and has no\n * trailing slash:\n * - `/my/app/user/123` is normalized\n * - `my/app/user/123` **is not** normalized\n * - `/my/app/user/123/` **is not** normalized\n *\n * ### Example\n *\n * <code-example path='common/location/ts/path_location_component.ts'\n * region='LocationComponent'></code-example>\n *\n * \\@publicApi\n */\nclass Location {\n    /**\n     * @param {?} platformStrategy\n     * @param {?} platformLocation\n     */\n    constructor(platformStrategy, platformLocation) {\n        /**\n         * \\@internal\n         */\n        this._subject = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"EventEmitter\"]();\n        /**\n         * \\@internal\n         */\n        this._urlChangeListeners = [];\n        this._platformStrategy = platformStrategy;\n        /** @type {?} */\n        const browserBaseHref = this._platformStrategy.getBaseHref();\n        this._platformLocation = platformLocation;\n        this._baseHref = Location.stripTrailingSlash(_stripIndexHtml(browserBaseHref));\n        this._platformStrategy.onPopState((/**\n         * @param {?} ev\n         * @return {?}\n         */\n        (ev) => {\n            this._subject.emit({\n                'url': this.path(true),\n                'pop': true,\n                'state': ev.state,\n                'type': ev.type,\n            });\n        }));\n    }\n    /**\n     * Normalizes the URL path for this location.\n     *\n     * @param {?=} includeHash True to include an anchor fragment in the path.\n     *\n     * @return {?} The normalized URL path.\n     */\n    // TODO: vsavkin. Remove the boolean flag and always include hash once the deprecated router is\n    // removed.\n    path(includeHash = false) {\n        return this.normalize(this._platformStrategy.path(includeHash));\n    }\n    /**\n     * Reports the current state of the location history.\n     * @return {?} The current value of the `history.state` object.\n     */\n    getState() { return this._platformLocation.getState(); }\n    /**\n     * Normalizes the given path and compares to the current normalized path.\n     *\n     * @param {?} path The given URL path.\n     * @param {?=} query Query parameters.\n     *\n     * @return {?} True if the given URL path is equal to the current normalized path, false\n     * otherwise.\n     */\n    isCurrentPathEqualTo(path, query = '') {\n        return this.path() == this.normalize(path + Location.normalizeQueryParams(query));\n    }\n    /**\n     * Normalizes a URL path by stripping any trailing slashes.\n     *\n     * @param {?} url String representing a URL.\n     *\n     * @return {?} The normalized URL string.\n     */\n    normalize(url) {\n        return Location.stripTrailingSlash(_stripBaseHref(this._baseHref, _stripIndexHtml(url)));\n    }\n    /**\n     * Normalizes an external URL path.\n     * If the given URL doesn't begin with a leading slash (`'/'`), adds one\n     * before normalizing. Adds a hash if `HashLocationStrategy` is\n     * in use, or the `APP_BASE_HREF` if the `PathLocationStrategy` is in use.\n     *\n     * @param {?} url String representing a URL.\n     *\n     * @return {?} A normalized platform-specific URL.\n     */\n    prepareExternalUrl(url) {\n        if (url && url[0] !== '/') {\n            url = '/' + url;\n        }\n        return this._platformStrategy.prepareExternalUrl(url);\n    }\n    // TODO: rename this method to pushState\n    /**\n     * Changes the browser's URL to a normalized version of a given URL, and pushes a\n     * new item onto the platform's history.\n     *\n     * @param {?} path  URL path to normalize.\n     * @param {?=} query Query parameters.\n     * @param {?=} state Location history state.\n     *\n     * @return {?}\n     */\n    go(path, query = '', state = null) {\n        this._platformStrategy.pushState(state, '', path, query);\n        this._notifyUrlChangeListeners(this.prepareExternalUrl(path + Location.normalizeQueryParams(query)), state);\n    }\n    /**\n     * Changes the browser's URL to a normalized version of the given URL, and replaces\n     * the top item on the platform's history stack.\n     *\n     * @param {?} path  URL path to normalize.\n     * @param {?=} query Query parameters.\n     * @param {?=} state Location history state.\n     * @return {?}\n     */\n    replaceState(path, query = '', state = null) {\n        this._platformStrategy.replaceState(state, '', path, query);\n        this._notifyUrlChangeListeners(this.prepareExternalUrl(path + Location.normalizeQueryParams(query)), state);\n    }\n    /**\n     * Navigates forward in the platform's history.\n     * @return {?}\n     */\n    forward() { this._platformStrategy.forward(); }\n    /**\n     * Navigates back in the platform's history.\n     * @return {?}\n     */\n    back() { this._platformStrategy.back(); }\n    /**\n     * Registers a URL change listener. Use to catch updates performed by the Angular\n     * framework that are not detectible through \"popstate\" or \"hashchange\" events.\n     *\n     * @param {?} fn The change handler function, which take a URL and a location history state.\n     * @return {?}\n     */\n    onUrlChange(fn) {\n        this._urlChangeListeners.push(fn);\n        this.subscribe((/**\n         * @param {?} v\n         * @return {?}\n         */\n        v => { this._notifyUrlChangeListeners(v.url, v.state); }));\n    }\n    /**\n     * \\@internal\n     * @param {?=} url\n     * @param {?=} state\n     * @return {?}\n     */\n    _notifyUrlChangeListeners(url = '', state) {\n        this._urlChangeListeners.forEach((/**\n         * @param {?} fn\n         * @return {?}\n         */\n        fn => fn(url, state)));\n    }\n    /**\n     * Subscribes to the platform's `popState` events.\n     *\n     * @param {?} onNext\n     * @param {?=} onThrow\n     * @param {?=} onReturn\n     * @return {?} Subscribed events.\n     */\n    subscribe(onNext, onThrow, onReturn) {\n        return this._subject.subscribe({ next: onNext, error: onThrow, complete: onReturn });\n    }\n    /**\n     * Normalizes URL parameters by prepending with `?` if needed.\n     *\n     * @param {?} params String of URL parameters.\n     *\n     * @return {?} The normalized URL parameters string.\n     */\n    static normalizeQueryParams(params) {\n        return params && params[0] !== '?' ? '?' + params : params;\n    }\n    /**\n     * Joins two parts of a URL with a slash if needed.\n     *\n     * @param {?} start  URL string\n     * @param {?} end    URL string\n     *\n     *\n     * @return {?} The joined URL string.\n     */\n    static joinWithSlash(start, end) {\n        if (start.length == 0) {\n            return end;\n        }\n        if (end.length == 0) {\n            return start;\n        }\n        /** @type {?} */\n        let slashes = 0;\n        if (start.endsWith('/')) {\n            slashes++;\n        }\n        if (end.startsWith('/')) {\n            slashes++;\n        }\n        if (slashes == 2) {\n            return start + end.substring(1);\n        }\n        if (slashes == 1) {\n            return start + end;\n        }\n        return start + '/' + end;\n    }\n    /**\n     * Removes a trailing slash from a URL string if needed.\n     * Looks for the first occurrence of either `#`, `?`, or the end of the\n     * line as `/` characters and removes the trailing slash if one exists.\n     *\n     * @param {?} url URL string.\n     *\n     * @return {?} The URL string, modified if needed.\n     */\n    static stripTrailingSlash(url) {\n        /** @type {?} */\n        const match = url.match(/#|\\?|$/);\n        /** @type {?} */\n        const pathEndIdx = match && match.index || url.length;\n        /** @type {?} */\n        const droppedSlashIdx = pathEndIdx - (url[pathEndIdx - 1] === '/' ? 1 : 0);\n        return url.slice(0, droppedSlashIdx) + url.slice(pathEndIdx);\n    }\n}\nLocation.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"] }\n];\n/** @nocollapse */\nLocation.ctorParameters = () => [\n    { type: LocationStrategy },\n    { type: PlatformLocation }\n];\nif (false) {}\n/**\n * @param {?} baseHref\n * @param {?} url\n * @return {?}\n */\nfunction _stripBaseHref(baseHref, url) {\n    return baseHref && url.startsWith(baseHref) ? url.substring(baseHref.length) : url;\n}\n/**\n * @param {?} url\n * @return {?}\n */\nfunction _stripIndexHtml(url) {\n    return url.replace(/\\/index.html$/, '');\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@description\n * A {\\@link LocationStrategy} used to configure the {\\@link Location} service to\n * represent its state in the\n * [hash fragment](https://en.wikipedia.org/wiki/Uniform_Resource_Locator#Syntax)\n * of the browser's URL.\n *\n * For instance, if you call `location.go('/foo')`, the browser's URL will become\n * `example.com#/foo`.\n *\n * \\@usageNotes\n *\n * ### Example\n *\n * {\\@example common/location/ts/hash_location_component.ts region='LocationComponent'}\n *\n * \\@publicApi\n */\nclass HashLocationStrategy extends LocationStrategy {\n    /**\n     * @param {?} _platformLocation\n     * @param {?=} _baseHref\n     */\n    constructor(_platformLocation, _baseHref) {\n        super();\n        this._platformLocation = _platformLocation;\n        this._baseHref = '';\n        if (_baseHref != null) {\n            this._baseHref = _baseHref;\n        }\n    }\n    /**\n     * @param {?} fn\n     * @return {?}\n     */\n    onPopState(fn) {\n        this._platformLocation.onPopState(fn);\n        this._platformLocation.onHashChange(fn);\n    }\n    /**\n     * @return {?}\n     */\n    getBaseHref() { return this._baseHref; }\n    /**\n     * @param {?=} includeHash\n     * @return {?}\n     */\n    path(includeHash = false) {\n        // the hash value is always prefixed with a `#`\n        // and if it is empty then it will stay empty\n        /** @type {?} */\n        let path = this._platformLocation.hash;\n        if (path == null)\n            path = '#';\n        return path.length > 0 ? path.substring(1) : path;\n    }\n    /**\n     * @param {?} internal\n     * @return {?}\n     */\n    prepareExternalUrl(internal) {\n        /** @type {?} */\n        const url = Location.joinWithSlash(this._baseHref, internal);\n        return url.length > 0 ? ('#' + url) : url;\n    }\n    /**\n     * @param {?} state\n     * @param {?} title\n     * @param {?} path\n     * @param {?} queryParams\n     * @return {?}\n     */\n    pushState(state, title, path, queryParams) {\n        /** @type {?} */\n        let url = this.prepareExternalUrl(path + Location.normalizeQueryParams(queryParams));\n        if (url.length == 0) {\n            url = this._platformLocation.pathname;\n        }\n        this._platformLocation.pushState(state, title, url);\n    }\n    /**\n     * @param {?} state\n     * @param {?} title\n     * @param {?} path\n     * @param {?} queryParams\n     * @return {?}\n     */\n    replaceState(state, title, path, queryParams) {\n        /** @type {?} */\n        let url = this.prepareExternalUrl(path + Location.normalizeQueryParams(queryParams));\n        if (url.length == 0) {\n            url = this._platformLocation.pathname;\n        }\n        this._platformLocation.replaceState(state, title, url);\n    }\n    /**\n     * @return {?}\n     */\n    forward() { this._platformLocation.forward(); }\n    /**\n     * @return {?}\n     */\n    back() { this._platformLocation.back(); }\n}\nHashLocationStrategy.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"] }\n];\n/** @nocollapse */\nHashLocationStrategy.ctorParameters = () => [\n    { type: PlatformLocation },\n    { type: String, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [APP_BASE_HREF,] }] }\n];\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@description\n * A {\\@link LocationStrategy} used to configure the {\\@link Location} service to\n * represent its state in the\n * [path](https://en.wikipedia.org/wiki/Uniform_Resource_Locator#Syntax) of the\n * browser's URL.\n *\n * If you're using `PathLocationStrategy`, you must provide a {\\@link APP_BASE_HREF}\n * or add a base element to the document. This URL prefix that will be preserved\n * when generating and recognizing URLs.\n *\n * For instance, if you provide an `APP_BASE_HREF` of `'/my/app'` and call\n * `location.go('/foo')`, the browser's URL will become\n * `example.com/my/app/foo`.\n *\n * Similarly, if you add `<base href='/my/app'/>` to the document and call\n * `location.go('/foo')`, the browser's URL will become\n * `example.com/my/app/foo`.\n *\n * \\@usageNotes\n *\n * ### Example\n *\n * {\\@example common/location/ts/path_location_component.ts region='LocationComponent'}\n *\n * \\@publicApi\n */\nclass PathLocationStrategy extends LocationStrategy {\n    /**\n     * @param {?} _platformLocation\n     * @param {?=} href\n     */\n    constructor(_platformLocation, href) {\n        super();\n        this._platformLocation = _platformLocation;\n        if (href == null) {\n            href = this._platformLocation.getBaseHrefFromDOM();\n        }\n        if (href == 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.`);\n        }\n        this._baseHref = href;\n    }\n    /**\n     * @param {?} fn\n     * @return {?}\n     */\n    onPopState(fn) {\n        this._platformLocation.onPopState(fn);\n        this._platformLocation.onHashChange(fn);\n    }\n    /**\n     * @return {?}\n     */\n    getBaseHref() { return this._baseHref; }\n    /**\n     * @param {?} internal\n     * @return {?}\n     */\n    prepareExternalUrl(internal) {\n        return Location.joinWithSlash(this._baseHref, internal);\n    }\n    /**\n     * @param {?=} includeHash\n     * @return {?}\n     */\n    path(includeHash = false) {\n        /** @type {?} */\n        const pathname = this._platformLocation.pathname +\n            Location.normalizeQueryParams(this._platformLocation.search);\n        /** @type {?} */\n        const hash = this._platformLocation.hash;\n        return hash && includeHash ? `${pathname}${hash}` : pathname;\n    }\n    /**\n     * @param {?} state\n     * @param {?} title\n     * @param {?} url\n     * @param {?} queryParams\n     * @return {?}\n     */\n    pushState(state, title, url, queryParams) {\n        /** @type {?} */\n        const externalUrl = this.prepareExternalUrl(url + Location.normalizeQueryParams(queryParams));\n        this._platformLocation.pushState(state, title, externalUrl);\n    }\n    /**\n     * @param {?} state\n     * @param {?} title\n     * @param {?} url\n     * @param {?} queryParams\n     * @return {?}\n     */\n    replaceState(state, title, url, queryParams) {\n        /** @type {?} */\n        const externalUrl = this.prepareExternalUrl(url + Location.normalizeQueryParams(queryParams));\n        this._platformLocation.replaceState(state, title, externalUrl);\n    }\n    /**\n     * @return {?}\n     */\n    forward() { this._platformLocation.forward(); }\n    /**\n     * @return {?}\n     */\n    back() { this._platformLocation.back(); }\n}\nPathLocationStrategy.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"] }\n];\n/** @nocollapse */\nPathLocationStrategy.ctorParameters = () => [\n    { type: PlatformLocation },\n    { type: String, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [APP_BASE_HREF,] }] }\n];\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n// THIS CODE IS GENERATED - DO NOT MODIFY\n// See angular/tools/gulp-tasks/cldr/extract.js\n/**\n * \\@internal\n * @type {?}\n */\nconst CURRENCIES_EN = {\n    'ADP': [undefined, undefined, 0],\n    'AFN': [undefined, undefined, 0],\n    'ALL': [undefined, undefined, 0],\n    'AMD': [undefined, undefined, 0],\n    'AOA': [undefined, 'Kz'],\n    'ARS': [undefined, '$'],\n    'AUD': ['A$', '$'],\n    'BAM': [undefined, 'KM'],\n    'BBD': [undefined, '$'],\n    'BDT': [undefined, '৳'],\n    'BHD': [undefined, undefined, 3],\n    'BIF': [undefined, undefined, 0],\n    'BMD': [undefined, '$'],\n    'BND': [undefined, '$'],\n    'BOB': [undefined, 'Bs'],\n    'BRL': ['R$'],\n    'BSD': [undefined, '$'],\n    'BWP': [undefined, 'P'],\n    'BYN': [undefined, 'р.', 2],\n    'BYR': [undefined, undefined, 0],\n    'BZD': [undefined, '$'],\n    'CAD': ['CA$', '$', 2],\n    'CHF': [undefined, undefined, 2],\n    'CLF': [undefined, undefined, 4],\n    'CLP': [undefined, '$', 0],\n    'CNY': ['CN¥', '¥'],\n    'COP': [undefined, '$', 0],\n    'CRC': [undefined, '₡', 2],\n    'CUC': [undefined, '$'],\n    'CUP': [undefined, '$'],\n    'CZK': [undefined, 'Kč', 2],\n    'DJF': [undefined, undefined, 0],\n    'DKK': [undefined, 'kr', 2],\n    'DOP': [undefined, '$'],\n    'EGP': [undefined, 'E£'],\n    'ESP': [undefined, '₧', 0],\n    'EUR': ['€'],\n    'FJD': [undefined, '$'],\n    'FKP': [undefined, '£'],\n    'GBP': ['£'],\n    'GEL': [undefined, '₾'],\n    'GIP': [undefined, '£'],\n    'GNF': [undefined, 'FG', 0],\n    'GTQ': [undefined, 'Q'],\n    'GYD': [undefined, '$', 0],\n    'HKD': ['HK$', '$'],\n    'HNL': [undefined, 'L'],\n    'HRK': [undefined, 'kn'],\n    'HUF': [undefined, 'Ft', 2],\n    'IDR': [undefined, 'Rp', 0],\n    'ILS': ['₪'],\n    'INR': ['₹'],\n    'IQD': [undefined, undefined, 0],\n    'IRR': [undefined, undefined, 0],\n    'ISK': [undefined, 'kr', 0],\n    'ITL': [undefined, undefined, 0],\n    'JMD': [undefined, '$'],\n    'JOD': [undefined, undefined, 3],\n    'JPY': ['¥', undefined, 0],\n    'KHR': [undefined, '៛'],\n    'KMF': [undefined, 'CF', 0],\n    'KPW': [undefined, '₩', 0],\n    'KRW': ['₩', undefined, 0],\n    'KWD': [undefined, undefined, 3],\n    'KYD': [undefined, '$'],\n    'KZT': [undefined, '₸'],\n    'LAK': [undefined, '₭', 0],\n    'LBP': [undefined, 'L£', 0],\n    'LKR': [undefined, 'Rs'],\n    'LRD': [undefined, '$'],\n    'LTL': [undefined, 'Lt'],\n    'LUF': [undefined, undefined, 0],\n    'LVL': [undefined, 'Ls'],\n    'LYD': [undefined, undefined, 3],\n    'MGA': [undefined, 'Ar', 0],\n    'MGF': [undefined, undefined, 0],\n    'MMK': [undefined, 'K', 0],\n    'MNT': [undefined, '₮', 0],\n    'MRO': [undefined, undefined, 0],\n    'MUR': [undefined, 'Rs', 0],\n    'MXN': ['MX$', '$'],\n    'MYR': [undefined, 'RM'],\n    'NAD': [undefined, '$'],\n    'NGN': [undefined, '₦'],\n    'NIO': [undefined, 'C$'],\n    'NOK': [undefined, 'kr', 2],\n    'NPR': [undefined, 'Rs'],\n    'NZD': ['NZ$', '$'],\n    'OMR': [undefined, undefined, 3],\n    'PHP': [undefined, '₱'],\n    'PKR': [undefined, 'Rs', 0],\n    'PLN': [undefined, 'zł'],\n    'PYG': [undefined, '₲', 0],\n    'RON': [undefined, 'lei'],\n    'RSD': [undefined, undefined, 0],\n    'RUB': [undefined, '₽'],\n    'RUR': [undefined, 'р.'],\n    'RWF': [undefined, 'RF', 0],\n    'SBD': [undefined, '$'],\n    'SEK': [undefined, 'kr', 2],\n    'SGD': [undefined, '$'],\n    'SHP': [undefined, '£'],\n    'SLL': [undefined, undefined, 0],\n    'SOS': [undefined, undefined, 0],\n    'SRD': [undefined, '$'],\n    'SSP': [undefined, '£'],\n    'STD': [undefined, undefined, 0],\n    'STN': [undefined, 'Db'],\n    'SYP': [undefined, '£', 0],\n    'THB': [undefined, '฿'],\n    'TMM': [undefined, undefined, 0],\n    'TND': [undefined, undefined, 3],\n    'TOP': [undefined, 'T$'],\n    'TRL': [undefined, undefined, 0],\n    'TRY': [undefined, '₺'],\n    'TTD': [undefined, '$'],\n    'TWD': ['NT$', '$', 2],\n    'TZS': [undefined, undefined, 0],\n    'UAH': [undefined, '₴'],\n    'UGX': [undefined, undefined, 0],\n    'USD': ['$'],\n    'UYI': [undefined, undefined, 0],\n    'UYU': [undefined, '$'],\n    'UZS': [undefined, undefined, 0],\n    'VEF': [undefined, 'Bs'],\n    'VND': ['₫', undefined, 0],\n    'VUV': [undefined, undefined, 0],\n    'XAF': ['FCFA', undefined, 0],\n    'XCD': ['EC$', '$'],\n    'XOF': ['CFA', undefined, 0],\n    'XPF': ['CFPF', undefined, 0],\n    'YER': [undefined, undefined, 0],\n    'ZAR': [undefined, 'R'],\n    'ZMK': [undefined, undefined, 0],\n    'ZMW': [undefined, 'ZK'],\n    'ZWD': [undefined, undefined, 0]\n};\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @enum {number} */\nconst NumberFormatStyle = {\n    Decimal: 0,\n    Percent: 1,\n    Currency: 2,\n    Scientific: 3,\n};\nNumberFormatStyle[NumberFormatStyle.Decimal] = 'Decimal';\nNumberFormatStyle[NumberFormatStyle.Percent] = 'Percent';\nNumberFormatStyle[NumberFormatStyle.Currency] = 'Currency';\nNumberFormatStyle[NumberFormatStyle.Scientific] = 'Scientific';\n/** @enum {number} */\nconst Plural = {\n    Zero: 0,\n    One: 1,\n    Two: 2,\n    Few: 3,\n    Many: 4,\n    Other: 5,\n};\nPlural[Plural.Zero] = 'Zero';\nPlural[Plural.One] = 'One';\nPlural[Plural.Two] = 'Two';\nPlural[Plural.Few] = 'Few';\nPlural[Plural.Many] = 'Many';\nPlural[Plural.Other] = 'Other';\n/** @enum {number} */\nconst FormStyle = {\n    Format: 0,\n    Standalone: 1,\n};\nFormStyle[FormStyle.Format] = 'Format';\nFormStyle[FormStyle.Standalone] = 'Standalone';\n/** @enum {number} */\nconst TranslationWidth = {\n    /** 1 character for `en-US`. For example: 'S' */\n    Narrow: 0,\n    /** 3 characters for `en-US`. For example: 'Sun' */\n    Abbreviated: 1,\n    /** Full length for `en-US`. For example: \"Sunday\" */\n    Wide: 2,\n    /** 2 characters for `en-US`, For example: \"Su\" */\n    Short: 3,\n};\nTranslationWidth[TranslationWidth.Narrow] = 'Narrow';\nTranslationWidth[TranslationWidth.Abbreviated] = 'Abbreviated';\nTranslationWidth[TranslationWidth.Wide] = 'Wide';\nTranslationWidth[TranslationWidth.Short] = 'Short';\n/** @enum {number} */\nconst FormatWidth = {\n    /**\n     * For `en-US`, 'M/d/yy, h:mm a'`\n     * (Example: `6/15/15, 9:03 AM`)\n     */\n    Short: 0,\n    /**\n     * For `en-US`, `'MMM d, y, h:mm:ss a'`\n     * (Example: `Jun 15, 2015, 9:03:01 AM`)\n     */\n    Medium: 1,\n    /**\n     * For `en-US`, `'MMMM d, y, h:mm:ss a z'`\n     * (Example: `June 15, 2015 at 9:03:01 AM GMT+1`)\n     */\n    Long: 2,\n    /**\n     * For `en-US`, `'EEEE, MMMM d, y, h:mm:ss a zzzz'`\n     * (Example: `Monday, June 15, 2015 at 9:03:01 AM GMT+01:00`)\n     */\n    Full: 3,\n};\nFormatWidth[FormatWidth.Short] = 'Short';\nFormatWidth[FormatWidth.Medium] = 'Medium';\nFormatWidth[FormatWidth.Long] = 'Long';\nFormatWidth[FormatWidth.Full] = 'Full';\n/** @enum {number} */\nconst NumberSymbol = {\n    /**\n     * Decimal separator.\n     * For `en-US`, the dot character.\n     * Example : 2,345`.`67\n     */\n    Decimal: 0,\n    /**\n     * Grouping separator, typically for thousands.\n     * For `en-US`, the comma character.\n     * Example: 2`,`345.67\n     */\n    Group: 1,\n    /**\n     * List-item separator.\n     * Example: \"one, two, and three\"\n     */\n    List: 2,\n    /**\n     * Sign for percentage (out of 100).\n     * Example: 23.4%\n     */\n    PercentSign: 3,\n    /**\n     * Sign for positive numbers.\n     * Example: +23\n     */\n    PlusSign: 4,\n    /**\n     * Sign for negative numbers.\n     * Example: -23\n     */\n    MinusSign: 5,\n    /**\n     * Computer notation for exponential value (n times a power of 10).\n     * Example: 1.2E3\n     */\n    Exponential: 6,\n    /**\n     * Human-readable format of exponential.\n     * Example: 1.2x103\n     */\n    SuperscriptingExponent: 7,\n    /**\n     * Sign for permille (out of 1000).\n     * Example: 23.4‰\n     */\n    PerMille: 8,\n    /**\n     * Infinity, can be used with plus and minus.\n     * Example: ∞, +∞, -∞\n     */\n    Infinity: 9,\n    /**\n     * Not a number.\n     * Example: NaN\n     */\n    NaN: 10,\n    /**\n     * Symbol used between time units.\n     * Example: 10:52\n     */\n    TimeSeparator: 11,\n    /**\n     * Decimal separator for currency values (fallback to `Decimal`).\n     * Example: $2,345.67\n     */\n    CurrencyDecimal: 12,\n    /**\n     * Group separator for currency values (fallback to `Group`).\n     * Example: $2,345.67\n     */\n    CurrencyGroup: 13,\n};\nNumberSymbol[NumberSymbol.Decimal] = 'Decimal';\nNumberSymbol[NumberSymbol.Group] = 'Group';\nNumberSymbol[NumberSymbol.List] = 'List';\nNumberSymbol[NumberSymbol.PercentSign] = 'PercentSign';\nNumberSymbol[NumberSymbol.PlusSign] = 'PlusSign';\nNumberSymbol[NumberSymbol.MinusSign] = 'MinusSign';\nNumberSymbol[NumberSymbol.Exponential] = 'Exponential';\nNumberSymbol[NumberSymbol.SuperscriptingExponent] = 'SuperscriptingExponent';\nNumberSymbol[NumberSymbol.PerMille] = 'PerMille';\nNumberSymbol[NumberSymbol.Infinity] = 'Infinity';\nNumberSymbol[NumberSymbol.NaN] = 'NaN';\nNumberSymbol[NumberSymbol.TimeSeparator] = 'TimeSeparator';\nNumberSymbol[NumberSymbol.CurrencyDecimal] = 'CurrencyDecimal';\nNumberSymbol[NumberSymbol.CurrencyGroup] = 'CurrencyGroup';\n/** @enum {number} */\nconst WeekDay = {\n    Sunday: 0,\n    Monday: 1,\n    Tuesday: 2,\n    Wednesday: 3,\n    Thursday: 4,\n    Friday: 5,\n    Saturday: 6,\n};\nWeekDay[WeekDay.Sunday] = 'Sunday';\nWeekDay[WeekDay.Monday] = 'Monday';\nWeekDay[WeekDay.Tuesday] = 'Tuesday';\nWeekDay[WeekDay.Wednesday] = 'Wednesday';\nWeekDay[WeekDay.Thursday] = 'Thursday';\nWeekDay[WeekDay.Friday] = 'Friday';\nWeekDay[WeekDay.Saturday] = 'Saturday';\n/**\n * Retrieves the locale ID from the currently loaded locale.\n * The loaded locale could be, for example, a global one rather than a regional one.\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale A locale code, such as `fr-FR`.\n * @return {?} The locale code. For example, `fr`.\n */\nfunction getLocaleId(locale) {\n    return Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵfindLocaleData\"])(locale)[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].LocaleId];\n}\n/**\n * Retrieves day period strings for the given locale.\n *\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale A locale code for the locale format rules to use.\n * @param {?} formStyle The required grammatical form.\n * @param {?} width The required character width.\n * @return {?} An array of localized period strings. For example, `[AM, PM]` for `en-US`.\n */\nfunction getLocaleDayPeriods(locale, formStyle, width) {\n    /** @type {?} */\n    const data = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵfindLocaleData\"])(locale);\n    /** @type {?} */\n    const amPmData = (/** @type {?} */ ([data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].DayPeriodsFormat], data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].DayPeriodsStandalone]]));\n    /** @type {?} */\n    const amPm = getLastDefinedValue(amPmData, formStyle);\n    return getLastDefinedValue(amPm, width);\n}\n/**\n * Retrieves days of the week for the given locale, using the Gregorian calendar.\n *\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale A locale code for the locale format rules to use.\n * @param {?} formStyle The required grammatical form.\n * @param {?} width The required character width.\n * @return {?} An array of localized name strings.\n * For example,`[Sunday, Monday, ... Saturday]` for `en-US`.\n */\nfunction getLocaleDayNames(locale, formStyle, width) {\n    /** @type {?} */\n    const data = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵfindLocaleData\"])(locale);\n    /** @type {?} */\n    const daysData = (/** @type {?} */ ([data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].DaysFormat], data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].DaysStandalone]]));\n    /** @type {?} */\n    const days = getLastDefinedValue(daysData, formStyle);\n    return getLastDefinedValue(days, width);\n}\n/**\n * Retrieves months of the year for the given locale, using the Gregorian calendar.\n *\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale A locale code for the locale format rules to use.\n * @param {?} formStyle The required grammatical form.\n * @param {?} width The required character width.\n * @return {?} An array of localized name strings.\n * For example,  `[January, February, ...]` for `en-US`.\n */\nfunction getLocaleMonthNames(locale, formStyle, width) {\n    /** @type {?} */\n    const data = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵfindLocaleData\"])(locale);\n    /** @type {?} */\n    const monthsData = (/** @type {?} */ ([data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].MonthsFormat], data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].MonthsStandalone]]));\n    /** @type {?} */\n    const months = getLastDefinedValue(monthsData, formStyle);\n    return getLastDefinedValue(months, width);\n}\n/**\n * Retrieves Gregorian-calendar eras for the given locale.\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale A locale code for the locale format rules to use.\n * @param {?} width The required character width.\n * @return {?} An array of localized era strings.\n * For example, `[AD, BC]` for `en-US`.\n */\nfunction getLocaleEraNames(locale, width) {\n    /** @type {?} */\n    const data = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵfindLocaleData\"])(locale);\n    /** @type {?} */\n    const erasData = (/** @type {?} */ (data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].Eras]));\n    return getLastDefinedValue(erasData, width);\n}\n/**\n * Retrieves the first day of the week for the given locale.\n *\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale A locale code for the locale format rules to use.\n * @return {?} A day index number, using the 0-based week-day index for `en-US`\n * (Sunday = 0, Monday = 1, ...).\n * For example, for `fr-FR`, returns 1 to indicate that the first day is Monday.\n */\nfunction getLocaleFirstDayOfWeek(locale) {\n    /** @type {?} */\n    const data = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵfindLocaleData\"])(locale);\n    return data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].FirstDayOfWeek];\n}\n/**\n * Range of week days that are considered the week-end for the given locale.\n *\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale A locale code for the locale format rules to use.\n * @return {?} The range of day values, `[startDay, endDay]`.\n */\nfunction getLocaleWeekEndRange(locale) {\n    /** @type {?} */\n    const data = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵfindLocaleData\"])(locale);\n    return data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].WeekendRange];\n}\n/**\n * Retrieves a localized date-value formating string.\n *\n * @see `FormatWidth` / [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale A locale code for the locale format rules to use.\n * @param {?} width The format type.\n * @return {?} The localized formating string.\n */\nfunction getLocaleDateFormat(locale, width) {\n    /** @type {?} */\n    const data = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵfindLocaleData\"])(locale);\n    return getLastDefinedValue(data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].DateFormat], width);\n}\n/**\n * Retrieves a localized time-value formatting string.\n *\n * @see `FormatWidth` / [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n * \\@publicApi\n * @param {?} locale A locale code for the locale format rules to use.\n * @param {?} width The format type.\n * @return {?} The localized formatting string.\n */\nfunction getLocaleTimeFormat(locale, width) {\n    /** @type {?} */\n    const data = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵfindLocaleData\"])(locale);\n    return getLastDefinedValue(data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].TimeFormat], width);\n}\n/**\n * Retrieves a localized date-time formatting string.\n *\n * @see `FormatWidth` / [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale A locale code for the locale format rules to use.\n * @param {?} width The format type.\n * @return {?} The localized formatting string.\n */\nfunction getLocaleDateTimeFormat(locale, width) {\n    /** @type {?} */\n    const data = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵfindLocaleData\"])(locale);\n    /** @type {?} */\n    const dateTimeFormatData = (/** @type {?} */ (data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].DateTimeFormat]));\n    return getLastDefinedValue(dateTimeFormatData, width);\n}\n/**\n * Retrieves a localized number symbol that can be used to replace placeholders in number formats.\n * @see `NumberSymbol` / [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale The locale code.\n * @param {?} symbol The symbol to localize.\n * @return {?} The character for the localized symbol.\n */\nfunction getLocaleNumberSymbol(locale, symbol) {\n    /** @type {?} */\n    const data = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵfindLocaleData\"])(locale);\n    /** @type {?} */\n    const res = data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].NumberSymbols][symbol];\n    if (typeof res === 'undefined') {\n        if (symbol === NumberSymbol.CurrencyDecimal) {\n            return data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].NumberSymbols][NumberSymbol.Decimal];\n        }\n        else if (symbol === NumberSymbol.CurrencyGroup) {\n            return data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].NumberSymbols][NumberSymbol.Group];\n        }\n    }\n    return res;\n}\n/**\n * Retrieves a number format for a given locale.\n *\n * Numbers are formatted using patterns, like `#,###.00`. For example, the pattern `#,###.00`\n * when used to format the number 12345.678 could result in \"12'345,678\". That would happen if the\n * grouping separator for your language is an apostrophe, and the decimal separator is a comma.\n *\n * <b>Important:</b> The characters `.` `,` `0` `#` (and others below) are special placeholders\n * that stand for the decimal separator, and so on, and are NOT real characters.\n * You must NOT \"translate\" the placeholders. For example, don't change `.` to `,` even though in\n * your language the decimal point is written with a comma. The symbols should be replaced by the\n * local equivalents, using the appropriate `NumberSymbol` for your language.\n *\n * Here are the special characters used in number patterns:\n *\n * | Symbol | Meaning |\n * |--------|---------|\n * | . | Replaced automatically by the character used for the decimal point. |\n * | , | Replaced by the \"grouping\" (thousands) separator. |\n * | 0 | Replaced by a digit (or zero if there aren't enough digits). |\n * | # | Replaced by a digit (or nothing if there aren't enough). |\n * | ¤ | Replaced by a currency symbol, such as $ or USD. |\n * | % | Marks a percent format. The % symbol may change position, but must be retained. |\n * | E | Marks a scientific format. The E symbol may change position, but must be retained. |\n * | ' | Special characters used as literal characters are quoted with ASCII single quotes. |\n *\n * @see `NumberFormatStyle` / [CLDR website](http://cldr.unicode.org/translation/number-patterns) / [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale A locale code for the locale format rules to use.\n * @param {?} type The type of numeric value to be formatted (such as `Decimal` or `Currency`.)\n * @return {?} The localized format string.\n */\nfunction getLocaleNumberFormat(locale, type) {\n    /** @type {?} */\n    const data = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵfindLocaleData\"])(locale);\n    return data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].NumberFormats][type];\n}\n/**\n * Retrieves the symbol used to represent the currency for the main country\n * corresponding to a given locale. For example, '$' for `en-US`.\n *\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale A locale code for the locale format rules to use.\n * @return {?} The localized symbol character,\n * or `null` if the main country cannot be determined.\n */\nfunction getLocaleCurrencySymbol(locale) {\n    /** @type {?} */\n    const data = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵfindLocaleData\"])(locale);\n    return data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].CurrencySymbol] || null;\n}\n/**\n * Retrieves the name of the currency for the main country corresponding\n * to a given locale. For example, 'US Dollar' for `en-US`.\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale A locale code for the locale format rules to use.\n * @return {?} The currency name,\n * or `null` if the main country cannot be determined.\n */\nfunction getLocaleCurrencyName(locale) {\n    /** @type {?} */\n    const data = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵfindLocaleData\"])(locale);\n    return data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].CurrencyName] || null;\n}\n/**\n * Retrieves the currency values for a given locale.\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n * @param {?} locale A locale code for the locale format rules to use.\n * @return {?} The currency values.\n */\nfunction getLocaleCurrencies(locale) {\n    /** @type {?} */\n    const data = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵfindLocaleData\"])(locale);\n    return data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].Currencies];\n}\n/**\n * \\@alias core/ɵgetLocalePluralCase\n * \\@publicApi\n * @type {?}\n */\nconst getLocalePluralCase = _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵgetLocalePluralCase\"];\n/**\n * @param {?} data\n * @return {?}\n */\nfunction checkFullData(data) {\n    if (!data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].ExtraData]) {\n        throw new Error(`Missing extra locale data for the locale \"${data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].LocaleId]}\". Use \"registerLocaleData\" to load new data. See the \"I18n guide\" on angular.io to know more.`);\n    }\n}\n/**\n * Retrieves locale-specific rules used to determine which day period to use\n * when more than one period is defined for a locale.\n *\n * There is a rule for each defined day period. The\n * first rule is applied to the first day period and so on.\n * Fall back to AM/PM when no rules are available.\n *\n * A rule can specify a period as time range, or as a single time value.\n *\n * This functionality is only available when you have loaded the full locale data.\n * See the [\"I18n guide\"](guide/i18n#i18n-pipes).\n *\n * @see `getLocaleExtraDayPeriods()` / [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale A locale code for the locale format rules to use.\n * @return {?} The rules for the locale, a single time value or array of *from-time, to-time*,\n * or null if no periods are available.\n *\n */\nfunction getLocaleExtraDayPeriodRules(locale) {\n    /** @type {?} */\n    const data = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵfindLocaleData\"])(locale);\n    checkFullData(data);\n    /** @type {?} */\n    const rules = data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].ExtraData][2 /* ExtraDayPeriodsRules */] || [];\n    return rules.map((/**\n     * @param {?} rule\n     * @return {?}\n     */\n    (rule) => {\n        if (typeof rule === 'string') {\n            return extractTime(rule);\n        }\n        return [extractTime(rule[0]), extractTime(rule[1])];\n    }));\n}\n/**\n * Retrieves locale-specific day periods, which indicate roughly how a day is broken up\n * in different languages.\n * For example, for `en-US`, periods are morning, noon, afternoon, evening, and midnight.\n *\n * This functionality is only available when you have loaded the full locale data.\n * See the [\"I18n guide\"](guide/i18n#i18n-pipes).\n *\n * @see `getLocaleExtraDayPeriodRules()` / [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} locale A locale code for the locale format rules to use.\n * @param {?} formStyle The required grammatical form.\n * @param {?} width The required character width.\n * @return {?} The translated day-period strings.\n */\nfunction getLocaleExtraDayPeriods(locale, formStyle, width) {\n    /** @type {?} */\n    const data = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵfindLocaleData\"])(locale);\n    checkFullData(data);\n    /** @type {?} */\n    const dayPeriodsData = (/** @type {?} */ ([\n        data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].ExtraData][0 /* ExtraDayPeriodFormats */],\n        data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].ExtraData][1 /* ExtraDayPeriodStandalone */]\n    ]));\n    /** @type {?} */\n    const dayPeriods = getLastDefinedValue(dayPeriodsData, formStyle) || [];\n    return getLastDefinedValue(dayPeriods, width) || [];\n}\n/**\n * Retrieves the first value that is defined in an array, going backwards from an index position.\n *\n * To avoid repeating the same data (as when the \"format\" and \"standalone\" forms are the same)\n * add the first value to the locale data arrays, and add other values only if they are different.\n *\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @template T\n * @param {?} data The data array to retrieve from.\n * @param {?} index A 0-based index into the array to start from.\n * @return {?} The value immediately before the given index position.\n */\nfunction getLastDefinedValue(data, index) {\n    for (let i = index; i > -1; i--) {\n        if (typeof data[i] !== 'undefined') {\n            return data[i];\n        }\n    }\n    throw new Error('Locale data API: locale data undefined');\n}\n/**\n * Extracts the hours and minutes from a string like \"15:45\"\n * @param {?} time\n * @return {?}\n */\nfunction extractTime(time) {\n    const [h, m] = time.split(':');\n    return { hours: +h, minutes: +m };\n}\n/**\n * Retrieves the currency symbol for a given currency code.\n *\n * For example, for the default `en-US` locale, the code `USD` can\n * be represented by the narrow symbol `$` or the wide symbol `US$`.\n *\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} code The currency code.\n * @param {?} format The format, `wide` or `narrow`.\n * @param {?=} locale A locale code for the locale format rules to use.\n *\n * @return {?} The symbol, or the currency code if no symbol is available.0\n */\nfunction getCurrencySymbol(code, format, locale = 'en') {\n    /** @type {?} */\n    const currency = getLocaleCurrencies(locale)[code] || CURRENCIES_EN[code] || [];\n    /** @type {?} */\n    const symbolNarrow = currency[1 /* SymbolNarrow */];\n    if (format === 'narrow' && typeof symbolNarrow === 'string') {\n        return symbolNarrow;\n    }\n    return currency[0 /* Symbol */] || code;\n}\n// Most currencies have cents, that's why the default is 2\n/** @type {?} */\nconst DEFAULT_NB_OF_CURRENCY_DIGITS = 2;\n/**\n * Reports the number of decimal digits for a given currency.\n * The value depends upon the presence of cents in that particular currency.\n *\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} code The currency code.\n * @return {?} The number of decimal digits, typically 0 or 2.\n */\nfunction getNumberOfCurrencyDigits(code) {\n    /** @type {?} */\n    let digits;\n    /** @type {?} */\n    const currency = CURRENCIES_EN[code];\n    if (currency) {\n        digits = currency[2 /* NbOfDigits */];\n    }\n    return typeof digits === 'number' ? digits : DEFAULT_NB_OF_CURRENCY_DIGITS;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst ISO8601_DATE_REGEX = /^(\\d{4})-?(\\d\\d)-?(\\d\\d)(?:T(\\d\\d)(?::?(\\d\\d)(?::?(\\d\\d)(?:\\.(\\d+))?)?)?(Z|([+-])(\\d\\d):?(\\d\\d))?)?$/;\n//    1        2       3         4          5          6          7          8  9     10      11\n/** @type {?} */\nconst NAMED_FORMATS = {};\n/** @type {?} */\nconst DATE_FORMATS_SPLIT = /((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\\s\\S]*)/;\n/** @enum {number} */\nconst ZoneWidth = {\n    Short: 0,\n    ShortGMT: 1,\n    Long: 2,\n    Extended: 3,\n};\nZoneWidth[ZoneWidth.Short] = 'Short';\nZoneWidth[ZoneWidth.ShortGMT] = 'ShortGMT';\nZoneWidth[ZoneWidth.Long] = 'Long';\nZoneWidth[ZoneWidth.Extended] = 'Extended';\n/** @enum {number} */\nconst DateType = {\n    FullYear: 0,\n    Month: 1,\n    Date: 2,\n    Hours: 3,\n    Minutes: 4,\n    Seconds: 5,\n    FractionalSeconds: 6,\n    Day: 7,\n};\nDateType[DateType.FullYear] = 'FullYear';\nDateType[DateType.Month] = 'Month';\nDateType[DateType.Date] = 'Date';\nDateType[DateType.Hours] = 'Hours';\nDateType[DateType.Minutes] = 'Minutes';\nDateType[DateType.Seconds] = 'Seconds';\nDateType[DateType.FractionalSeconds] = 'FractionalSeconds';\nDateType[DateType.Day] = 'Day';\n/** @enum {number} */\nconst TranslationType = {\n    DayPeriods: 0,\n    Days: 1,\n    Months: 2,\n    Eras: 3,\n};\nTranslationType[TranslationType.DayPeriods] = 'DayPeriods';\nTranslationType[TranslationType.Days] = 'Days';\nTranslationType[TranslationType.Months] = 'Months';\nTranslationType[TranslationType.Eras] = 'Eras';\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Formats a date according to locale rules.\n *\n * @see `DatePipe` / [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} value The date to format, as a Date, or a number (milliseconds since UTC epoch)\n * or an [ISO date-time string](https://www.w3.org/TR/NOTE-datetime).\n * @param {?} format The date-time components to include. See `DatePipe` for details.\n * @param {?} locale A locale code for the locale format rules to use.\n * @param {?=} timezone The time zone. A time zone offset from GMT (such as `'+0430'`),\n * or a standard UTC/GMT or continental US time zone abbreviation.\n * If not specified, uses host system settings.\n *\n * @return {?} The formatted date string.\n *\n */\nfunction formatDate(value, format, locale, timezone) {\n    /** @type {?} */\n    let date = toDate(value);\n    /** @type {?} */\n    const namedFormat = getNamedFormat(locale, format);\n    format = namedFormat || format;\n    /** @type {?} */\n    let parts = [];\n    /** @type {?} */\n    let match;\n    while (format) {\n        match = DATE_FORMATS_SPLIT.exec(format);\n        if (match) {\n            parts = parts.concat(match.slice(1));\n            /** @type {?} */\n            const part = parts.pop();\n            if (!part) {\n                break;\n            }\n            format = part;\n        }\n        else {\n            parts.push(format);\n            break;\n        }\n    }\n    /** @type {?} */\n    let dateTimezoneOffset = date.getTimezoneOffset();\n    if (timezone) {\n        dateTimezoneOffset = timezoneToOffset(timezone, dateTimezoneOffset);\n        date = convertTimezoneToLocal(date, timezone, true);\n    }\n    /** @type {?} */\n    let text = '';\n    parts.forEach((/**\n     * @param {?} value\n     * @return {?}\n     */\n    value => {\n        /** @type {?} */\n        const dateFormatter = getDateFormatter(value);\n        text += dateFormatter ?\n            dateFormatter(date, locale, dateTimezoneOffset) :\n            value === '\\'\\'' ? '\\'' : value.replace(/(^'|'$)/g, '').replace(/''/g, '\\'');\n    }));\n    return text;\n}\n/**\n * @param {?} locale\n * @param {?} format\n * @return {?}\n */\nfunction getNamedFormat(locale, format) {\n    /** @type {?} */\n    const localeId = getLocaleId(locale);\n    NAMED_FORMATS[localeId] = NAMED_FORMATS[localeId] || {};\n    if (NAMED_FORMATS[localeId][format]) {\n        return NAMED_FORMATS[localeId][format];\n    }\n    /** @type {?} */\n    let formatValue = '';\n    switch (format) {\n        case 'shortDate':\n            formatValue = getLocaleDateFormat(locale, FormatWidth.Short);\n            break;\n        case 'mediumDate':\n            formatValue = getLocaleDateFormat(locale, FormatWidth.Medium);\n            break;\n        case 'longDate':\n            formatValue = getLocaleDateFormat(locale, FormatWidth.Long);\n            break;\n        case 'fullDate':\n            formatValue = getLocaleDateFormat(locale, FormatWidth.Full);\n            break;\n        case 'shortTime':\n            formatValue = getLocaleTimeFormat(locale, FormatWidth.Short);\n            break;\n        case 'mediumTime':\n            formatValue = getLocaleTimeFormat(locale, FormatWidth.Medium);\n            break;\n        case 'longTime':\n            formatValue = getLocaleTimeFormat(locale, FormatWidth.Long);\n            break;\n        case 'fullTime':\n            formatValue = getLocaleTimeFormat(locale, FormatWidth.Full);\n            break;\n        case 'short':\n            /** @type {?} */\n            const shortTime = getNamedFormat(locale, 'shortTime');\n            /** @type {?} */\n            const shortDate = getNamedFormat(locale, 'shortDate');\n            formatValue = formatDateTime(getLocaleDateTimeFormat(locale, FormatWidth.Short), [shortTime, shortDate]);\n            break;\n        case 'medium':\n            /** @type {?} */\n            const mediumTime = getNamedFormat(locale, 'mediumTime');\n            /** @type {?} */\n            const mediumDate = getNamedFormat(locale, 'mediumDate');\n            formatValue = formatDateTime(getLocaleDateTimeFormat(locale, FormatWidth.Medium), [mediumTime, mediumDate]);\n            break;\n        case 'long':\n            /** @type {?} */\n            const longTime = getNamedFormat(locale, 'longTime');\n            /** @type {?} */\n            const longDate = getNamedFormat(locale, 'longDate');\n            formatValue =\n                formatDateTime(getLocaleDateTimeFormat(locale, FormatWidth.Long), [longTime, longDate]);\n            break;\n        case 'full':\n            /** @type {?} */\n            const fullTime = getNamedFormat(locale, 'fullTime');\n            /** @type {?} */\n            const fullDate = getNamedFormat(locale, 'fullDate');\n            formatValue =\n                formatDateTime(getLocaleDateTimeFormat(locale, FormatWidth.Full), [fullTime, fullDate]);\n            break;\n    }\n    if (formatValue) {\n        NAMED_FORMATS[localeId][format] = formatValue;\n    }\n    return formatValue;\n}\n/**\n * @param {?} str\n * @param {?} opt_values\n * @return {?}\n */\nfunction formatDateTime(str, opt_values) {\n    if (opt_values) {\n        str = str.replace(/\\{([^}]+)}/g, (/**\n         * @param {?} match\n         * @param {?} key\n         * @return {?}\n         */\n        function (match, key) {\n            return (opt_values != null && key in opt_values) ? opt_values[key] : match;\n        }));\n    }\n    return str;\n}\n/**\n * @param {?} num\n * @param {?} digits\n * @param {?=} minusSign\n * @param {?=} trim\n * @param {?=} negWrap\n * @return {?}\n */\nfunction padNumber(num, digits, minusSign = '-', trim, negWrap) {\n    /** @type {?} */\n    let neg = '';\n    if (num < 0 || (negWrap && num <= 0)) {\n        if (negWrap) {\n            num = -num + 1;\n        }\n        else {\n            num = -num;\n            neg = minusSign;\n        }\n    }\n    /** @type {?} */\n    let strNum = String(num);\n    while (strNum.length < digits) {\n        strNum = '0' + strNum;\n    }\n    if (trim) {\n        strNum = strNum.substr(strNum.length - digits);\n    }\n    return neg + strNum;\n}\n/**\n * @param {?} milliseconds\n * @param {?} digits\n * @return {?}\n */\nfunction formatFractionalSeconds(milliseconds, digits) {\n    /** @type {?} */\n    const strMs = padNumber(milliseconds, 3);\n    return strMs.substr(0, digits);\n}\n/**\n * Returns a date formatter that transforms a date into its locale digit representation\n * @param {?} name\n * @param {?} size\n * @param {?=} offset\n * @param {?=} trim\n * @param {?=} negWrap\n * @return {?}\n */\nfunction dateGetter(name, size, offset = 0, trim = false, negWrap = false) {\n    return (/**\n     * @param {?} date\n     * @param {?} locale\n     * @return {?}\n     */\n    function (date, locale) {\n        /** @type {?} */\n        let part = getDatePart(name, date);\n        if (offset > 0 || part > -offset) {\n            part += offset;\n        }\n        if (name === DateType.Hours) {\n            if (part === 0 && offset === -12) {\n                part = 12;\n            }\n        }\n        else if (name === DateType.FractionalSeconds) {\n            return formatFractionalSeconds(part, size);\n        }\n        /** @type {?} */\n        const localeMinus = getLocaleNumberSymbol(locale, NumberSymbol.MinusSign);\n        return padNumber(part, size, localeMinus, trim, negWrap);\n    });\n}\n/**\n * @param {?} part\n * @param {?} date\n * @return {?}\n */\nfunction getDatePart(part, date) {\n    switch (part) {\n        case DateType.FullYear:\n            return date.getFullYear();\n        case DateType.Month:\n            return date.getMonth();\n        case DateType.Date:\n            return date.getDate();\n        case DateType.Hours:\n            return date.getHours();\n        case DateType.Minutes:\n            return date.getMinutes();\n        case DateType.Seconds:\n            return date.getSeconds();\n        case DateType.FractionalSeconds:\n            return date.getMilliseconds();\n        case DateType.Day:\n            return date.getDay();\n        default:\n            throw new Error(`Unknown DateType value \"${part}\".`);\n    }\n}\n/**\n * Returns a date formatter that transforms a date into its locale string representation\n * @param {?} name\n * @param {?} width\n * @param {?=} form\n * @param {?=} extended\n * @return {?}\n */\nfunction dateStrGetter(name, width, form = FormStyle.Format, extended = false) {\n    return (/**\n     * @param {?} date\n     * @param {?} locale\n     * @return {?}\n     */\n    function (date, locale) {\n        return getDateTranslation(date, locale, name, width, form, extended);\n    });\n}\n/**\n * Returns the locale translation of a date for a given form, type and width\n * @param {?} date\n * @param {?} locale\n * @param {?} name\n * @param {?} width\n * @param {?} form\n * @param {?} extended\n * @return {?}\n */\nfunction getDateTranslation(date, locale, name, width, form, extended) {\n    switch (name) {\n        case TranslationType.Months:\n            return getLocaleMonthNames(locale, form, width)[date.getMonth()];\n        case TranslationType.Days:\n            return getLocaleDayNames(locale, form, width)[date.getDay()];\n        case TranslationType.DayPeriods:\n            /** @type {?} */\n            const currentHours = date.getHours();\n            /** @type {?} */\n            const currentMinutes = date.getMinutes();\n            if (extended) {\n                /** @type {?} */\n                const rules = getLocaleExtraDayPeriodRules(locale);\n                /** @type {?} */\n                const dayPeriods = getLocaleExtraDayPeriods(locale, form, width);\n                /** @type {?} */\n                let result;\n                rules.forEach((/**\n                 * @param {?} rule\n                 * @param {?} index\n                 * @return {?}\n                 */\n                (rule, index) => {\n                    if (Array.isArray(rule)) {\n                        // morning, afternoon, evening, night\n                        const { hours: hoursFrom, minutes: minutesFrom } = rule[0];\n                        const { hours: hoursTo, minutes: minutesTo } = rule[1];\n                        if (currentHours >= hoursFrom && currentMinutes >= minutesFrom &&\n                            (currentHours < hoursTo ||\n                                (currentHours === hoursTo && currentMinutes < minutesTo))) {\n                            result = dayPeriods[index];\n                        }\n                    }\n                    else { // noon or midnight\n                        // noon or midnight\n                        const { hours, minutes } = rule;\n                        if (hours === currentHours && minutes === currentMinutes) {\n                            result = dayPeriods[index];\n                        }\n                    }\n                }));\n                if (result) {\n                    return result;\n                }\n            }\n            // if no rules for the day periods, we use am/pm by default\n            return getLocaleDayPeriods(locale, form, (/** @type {?} */ (width)))[currentHours < 12 ? 0 : 1];\n        case TranslationType.Eras:\n            return getLocaleEraNames(locale, (/** @type {?} */ (width)))[date.getFullYear() <= 0 ? 0 : 1];\n        default:\n            // This default case is not needed by TypeScript compiler, as the switch is exhaustive.\n            // However Closure Compiler does not understand that and reports an error in typed mode.\n            // The `throw new Error` below works around the problem, and the unexpected: never variable\n            // makes sure tsc still checks this code is unreachable.\n            /** @type {?} */\n            const unexpected = name;\n            throw new Error(`unexpected translation type ${unexpected}`);\n    }\n}\n/**\n * Returns a date formatter that transforms a date and an offset into a timezone with ISO8601 or\n * GMT format depending on the width (eg: short = +0430, short:GMT = GMT+4, long = GMT+04:30,\n * extended = +04:30)\n * @param {?} width\n * @return {?}\n */\nfunction timeZoneGetter(width) {\n    return (/**\n     * @param {?} date\n     * @param {?} locale\n     * @param {?} offset\n     * @return {?}\n     */\n    function (date, locale, offset) {\n        /** @type {?} */\n        const zone = -1 * offset;\n        /** @type {?} */\n        const minusSign = getLocaleNumberSymbol(locale, NumberSymbol.MinusSign);\n        /** @type {?} */\n        const hours = zone > 0 ? Math.floor(zone / 60) : Math.ceil(zone / 60);\n        switch (width) {\n            case ZoneWidth.Short:\n                return ((zone >= 0) ? '+' : '') + padNumber(hours, 2, minusSign) +\n                    padNumber(Math.abs(zone % 60), 2, minusSign);\n            case ZoneWidth.ShortGMT:\n                return 'GMT' + ((zone >= 0) ? '+' : '') + padNumber(hours, 1, minusSign);\n            case ZoneWidth.Long:\n                return 'GMT' + ((zone >= 0) ? '+' : '') + padNumber(hours, 2, minusSign) + ':' +\n                    padNumber(Math.abs(zone % 60), 2, minusSign);\n            case ZoneWidth.Extended:\n                if (offset === 0) {\n                    return 'Z';\n                }\n                else {\n                    return ((zone >= 0) ? '+' : '') + padNumber(hours, 2, minusSign) + ':' +\n                        padNumber(Math.abs(zone % 60), 2, minusSign);\n                }\n            default:\n                throw new Error(`Unknown zone width \"${width}\"`);\n        }\n    });\n}\n/** @type {?} */\nconst JANUARY = 0;\n/** @type {?} */\nconst THURSDAY = 4;\n/**\n * @param {?} year\n * @return {?}\n */\nfunction getFirstThursdayOfYear(year) {\n    /** @type {?} */\n    const firstDayOfYear = (new Date(year, JANUARY, 1)).getDay();\n    return new Date(year, 0, 1 + ((firstDayOfYear <= THURSDAY) ? THURSDAY : THURSDAY + 7) - firstDayOfYear);\n}\n/**\n * @param {?} datetime\n * @return {?}\n */\nfunction getThursdayThisWeek(datetime) {\n    return new Date(datetime.getFullYear(), datetime.getMonth(), datetime.getDate() + (THURSDAY - datetime.getDay()));\n}\n/**\n * @param {?} size\n * @param {?=} monthBased\n * @return {?}\n */\nfunction weekGetter(size, monthBased = false) {\n    return (/**\n     * @param {?} date\n     * @param {?} locale\n     * @return {?}\n     */\n    function (date, locale) {\n        /** @type {?} */\n        let result;\n        if (monthBased) {\n            /** @type {?} */\n            const nbDaysBefore1stDayOfMonth = new Date(date.getFullYear(), date.getMonth(), 1).getDay() - 1;\n            /** @type {?} */\n            const today = date.getDate();\n            result = 1 + Math.floor((today + nbDaysBefore1stDayOfMonth) / 7);\n        }\n        else {\n            /** @type {?} */\n            const firstThurs = getFirstThursdayOfYear(date.getFullYear());\n            /** @type {?} */\n            const thisThurs = getThursdayThisWeek(date);\n            /** @type {?} */\n            const diff = thisThurs.getTime() - firstThurs.getTime();\n            result = 1 + Math.round(diff / 6.048e8); // 6.048e8 ms per week\n        }\n        return padNumber(result, size, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign));\n    });\n}\n/** @type {?} */\nconst DATE_FORMATS = {};\n// Based on CLDR formats:\n// See complete list: http://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table\n// See also explanations: http://cldr.unicode.org/translation/date-time\n// TODO(ocombe): support all missing cldr formats: Y, U, Q, D, F, e, c, j, J, C, A, v, V, X, x\n/**\n * @param {?} format\n * @return {?}\n */\nfunction getDateFormatter(format) {\n    if (DATE_FORMATS[format]) {\n        return DATE_FORMATS[format];\n    }\n    /** @type {?} */\n    let formatter;\n    switch (format) {\n        // Era name (AD/BC)\n        case 'G':\n        case 'GG':\n        case 'GGG':\n            formatter = dateStrGetter(TranslationType.Eras, TranslationWidth.Abbreviated);\n            break;\n        case 'GGGG':\n            formatter = dateStrGetter(TranslationType.Eras, TranslationWidth.Wide);\n            break;\n        case 'GGGGG':\n            formatter = dateStrGetter(TranslationType.Eras, TranslationWidth.Narrow);\n            break;\n        // 1 digit representation of the year, e.g. (AD 1 => 1, AD 199 => 199)\n        case 'y':\n            formatter = dateGetter(DateType.FullYear, 1, 0, false, true);\n            break;\n        // 2 digit representation of the year, padded (00-99). (e.g. AD 2001 => 01, AD 2010 => 10)\n        case 'yy':\n            formatter = dateGetter(DateType.FullYear, 2, 0, true, true);\n            break;\n        // 3 digit representation of the year, padded (000-999). (e.g. AD 2001 => 01, AD 2010 => 10)\n        case 'yyy':\n            formatter = dateGetter(DateType.FullYear, 3, 0, false, true);\n            break;\n        // 4 digit representation of the year (e.g. AD 1 => 0001, AD 2010 => 2010)\n        case 'yyyy':\n            formatter = dateGetter(DateType.FullYear, 4, 0, false, true);\n            break;\n        // Month of the year (1-12), numeric\n        case 'M':\n        case 'L':\n            formatter = dateGetter(DateType.Month, 1, 1);\n            break;\n        case 'MM':\n        case 'LL':\n            formatter = dateGetter(DateType.Month, 2, 1);\n            break;\n        // Month of the year (January, ...), string, format\n        case 'MMM':\n            formatter = dateStrGetter(TranslationType.Months, TranslationWidth.Abbreviated);\n            break;\n        case 'MMMM':\n            formatter = dateStrGetter(TranslationType.Months, TranslationWidth.Wide);\n            break;\n        case 'MMMMM':\n            formatter = dateStrGetter(TranslationType.Months, TranslationWidth.Narrow);\n            break;\n        // Month of the year (January, ...), string, standalone\n        case 'LLL':\n            formatter =\n                dateStrGetter(TranslationType.Months, TranslationWidth.Abbreviated, FormStyle.Standalone);\n            break;\n        case 'LLLL':\n            formatter =\n                dateStrGetter(TranslationType.Months, TranslationWidth.Wide, FormStyle.Standalone);\n            break;\n        case 'LLLLL':\n            formatter =\n                dateStrGetter(TranslationType.Months, TranslationWidth.Narrow, FormStyle.Standalone);\n            break;\n        // Week of the year (1, ... 52)\n        case 'w':\n            formatter = weekGetter(1);\n            break;\n        case 'ww':\n            formatter = weekGetter(2);\n            break;\n        // Week of the month (1, ...)\n        case 'W':\n            formatter = weekGetter(1, true);\n            break;\n        // Day of the month (1-31)\n        case 'd':\n            formatter = dateGetter(DateType.Date, 1);\n            break;\n        case 'dd':\n            formatter = dateGetter(DateType.Date, 2);\n            break;\n        // Day of the Week\n        case 'E':\n        case 'EE':\n        case 'EEE':\n            formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Abbreviated);\n            break;\n        case 'EEEE':\n            formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Wide);\n            break;\n        case 'EEEEE':\n            formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Narrow);\n            break;\n        case 'EEEEEE':\n            formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Short);\n            break;\n        // Generic period of the day (am-pm)\n        case 'a':\n        case 'aa':\n        case 'aaa':\n            formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Abbreviated);\n            break;\n        case 'aaaa':\n            formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Wide);\n            break;\n        case 'aaaaa':\n            formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Narrow);\n            break;\n        // Extended period of the day (midnight, at night, ...), standalone\n        case 'b':\n        case 'bb':\n        case 'bbb':\n            formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Abbreviated, FormStyle.Standalone, true);\n            break;\n        case 'bbbb':\n            formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Wide, FormStyle.Standalone, true);\n            break;\n        case 'bbbbb':\n            formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Narrow, FormStyle.Standalone, true);\n            break;\n        // Extended period of the day (midnight, night, ...), standalone\n        case 'B':\n        case 'BB':\n        case 'BBB':\n            formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Abbreviated, FormStyle.Format, true);\n            break;\n        case 'BBBB':\n            formatter =\n                dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Wide, FormStyle.Format, true);\n            break;\n        case 'BBBBB':\n            formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Narrow, FormStyle.Format, true);\n            break;\n        // Hour in AM/PM, (1-12)\n        case 'h':\n            formatter = dateGetter(DateType.Hours, 1, -12);\n            break;\n        case 'hh':\n            formatter = dateGetter(DateType.Hours, 2, -12);\n            break;\n        // Hour of the day (0-23)\n        case 'H':\n            formatter = dateGetter(DateType.Hours, 1);\n            break;\n        // Hour in day, padded (00-23)\n        case 'HH':\n            formatter = dateGetter(DateType.Hours, 2);\n            break;\n        // Minute of the hour (0-59)\n        case 'm':\n            formatter = dateGetter(DateType.Minutes, 1);\n            break;\n        case 'mm':\n            formatter = dateGetter(DateType.Minutes, 2);\n            break;\n        // Second of the minute (0-59)\n        case 's':\n            formatter = dateGetter(DateType.Seconds, 1);\n            break;\n        case 'ss':\n            formatter = dateGetter(DateType.Seconds, 2);\n            break;\n        // Fractional second\n        case 'S':\n            formatter = dateGetter(DateType.FractionalSeconds, 1);\n            break;\n        case 'SS':\n            formatter = dateGetter(DateType.FractionalSeconds, 2);\n            break;\n        case 'SSS':\n            formatter = dateGetter(DateType.FractionalSeconds, 3);\n            break;\n        // Timezone ISO8601 short format (-0430)\n        case 'Z':\n        case 'ZZ':\n        case 'ZZZ':\n            formatter = timeZoneGetter(ZoneWidth.Short);\n            break;\n        // Timezone ISO8601 extended format (-04:30)\n        case 'ZZZZZ':\n            formatter = timeZoneGetter(ZoneWidth.Extended);\n            break;\n        // Timezone GMT short format (GMT+4)\n        case 'O':\n        case 'OO':\n        case 'OOO':\n        // Should be location, but fallback to format O instead because we don't have the data yet\n        case 'z':\n        case 'zz':\n        case 'zzz':\n            formatter = timeZoneGetter(ZoneWidth.ShortGMT);\n            break;\n        // Timezone GMT long format (GMT+0430)\n        case 'OOOO':\n        case 'ZZZZ':\n        // Should be location, but fallback to format O instead because we don't have the data yet\n        case 'zzzz':\n            formatter = timeZoneGetter(ZoneWidth.Long);\n            break;\n        default:\n            return null;\n    }\n    DATE_FORMATS[format] = formatter;\n    return formatter;\n}\n/**\n * @param {?} timezone\n * @param {?} fallback\n * @return {?}\n */\nfunction timezoneToOffset(timezone, fallback) {\n    // Support: IE 9-11 only, Edge 13-15+\n    // IE/Edge do not \"understand\" colon (`:`) in timezone\n    timezone = timezone.replace(/:/g, '');\n    /** @type {?} */\n    const requestedTimezoneOffset = Date.parse('Jan 01, 1970 00:00:00 ' + timezone) / 60000;\n    return isNaN(requestedTimezoneOffset) ? fallback : requestedTimezoneOffset;\n}\n/**\n * @param {?} date\n * @param {?} minutes\n * @return {?}\n */\nfunction addDateMinutes(date, minutes) {\n    date = new Date(date.getTime());\n    date.setMinutes(date.getMinutes() + minutes);\n    return date;\n}\n/**\n * @param {?} date\n * @param {?} timezone\n * @param {?} reverse\n * @return {?}\n */\nfunction convertTimezoneToLocal(date, timezone, reverse) {\n    /** @type {?} */\n    const reverseValue = reverse ? -1 : 1;\n    /** @type {?} */\n    const dateTimezoneOffset = date.getTimezoneOffset();\n    /** @type {?} */\n    const timezoneOffset = timezoneToOffset(timezone, dateTimezoneOffset);\n    return addDateMinutes(date, reverseValue * (timezoneOffset - dateTimezoneOffset));\n}\n/**\n * Converts a value to date.\n *\n * Supported input formats:\n * - `Date`\n * - number: timestamp\n * - string: numeric (e.g. \"1234\"), ISO and date strings in a format supported by\n *   [Date.parse()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/parse).\n *   Note: ISO strings without time return a date without timeoffset.\n *\n * Throws if unable to convert to a date.\n * @param {?} value\n * @return {?}\n */\nfunction toDate(value) {\n    if (isDate(value)) {\n        return value;\n    }\n    if (typeof value === 'number' && !isNaN(value)) {\n        return new Date(value);\n    }\n    if (typeof value === 'string') {\n        value = value.trim();\n        /** @type {?} */\n        const parsedNb = parseFloat(value);\n        // any string that only contains numbers, like \"1234\" but not like \"1234hello\"\n        if (!isNaN((/** @type {?} */ (value)) - parsedNb)) {\n            return new Date(parsedNb);\n        }\n        if (/^(\\d{4}-\\d{1,2}-\\d{1,2})$/.test(value)) {\n            /* For ISO Strings without time the day, month and year must be extracted from the ISO String\n                  before Date creation to avoid time offset and errors in the new Date.\n                  If we only replace '-' with ',' in the ISO String (\"2015,01,01\"), and try to create a new\n                  date, some browsers (e.g. IE 9) will throw an invalid Date error.\n                  If we leave the '-' (\"2015-01-01\") and try to create a new Date(\"2015-01-01\") the timeoffset\n                  is applied.\n                  Note: ISO months are 0 for January, 1 for February, ... */\n            const [y, m, d] = value.split('-').map((/**\n             * @param {?} val\n             * @return {?}\n             */\n            (val) => +val));\n            return new Date(y, m - 1, d);\n        }\n        /** @type {?} */\n        let match;\n        if (match = value.match(ISO8601_DATE_REGEX)) {\n            return isoStringToDate(match);\n        }\n    }\n    /** @type {?} */\n    const date = new Date((/** @type {?} */ (value)));\n    if (!isDate(date)) {\n        throw new Error(`Unable to convert \"${value}\" into a date`);\n    }\n    return date;\n}\n/**\n * Converts a date in ISO8601 to a Date.\n * Used instead of `Date.parse` because of browser discrepancies.\n * @param {?} match\n * @return {?}\n */\nfunction isoStringToDate(match) {\n    /** @type {?} */\n    const date = new Date(0);\n    /** @type {?} */\n    let tzHour = 0;\n    /** @type {?} */\n    let tzMin = 0;\n    // match[8] means that the string contains \"Z\" (UTC) or a timezone like \"+01:00\" or \"+0100\"\n    /** @type {?} */\n    const dateSetter = match[8] ? date.setUTCFullYear : date.setFullYear;\n    /** @type {?} */\n    const timeSetter = match[8] ? date.setUTCHours : date.setHours;\n    // if there is a timezone defined like \"+01:00\" or \"+0100\"\n    if (match[9]) {\n        tzHour = Number(match[9] + match[10]);\n        tzMin = Number(match[9] + match[11]);\n    }\n    dateSetter.call(date, Number(match[1]), Number(match[2]) - 1, Number(match[3]));\n    /** @type {?} */\n    const h = Number(match[4] || 0) - tzHour;\n    /** @type {?} */\n    const m = Number(match[5] || 0) - tzMin;\n    /** @type {?} */\n    const s = Number(match[6] || 0);\n    /** @type {?} */\n    const ms = Math.round(parseFloat('0.' + (match[7] || 0)) * 1000);\n    timeSetter.call(date, h, m, s, ms);\n    return date;\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction isDate(value) {\n    return value instanceof Date && !isNaN(value.valueOf());\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst NUMBER_FORMAT_REGEXP = /^(\\d+)?\\.((\\d+)(-(\\d+))?)?$/;\n/** @type {?} */\nconst MAX_DIGITS = 22;\n/** @type {?} */\nconst DECIMAL_SEP = '.';\n/** @type {?} */\nconst ZERO_CHAR = '0';\n/** @type {?} */\nconst PATTERN_SEP = ';';\n/** @type {?} */\nconst GROUP_SEP = ',';\n/** @type {?} */\nconst DIGIT_CHAR = '#';\n/** @type {?} */\nconst CURRENCY_CHAR = '¤';\n/** @type {?} */\nconst PERCENT_CHAR = '%';\n/**\n * Transforms a number to a locale string based on a style and a format.\n * @param {?} value\n * @param {?} pattern\n * @param {?} locale\n * @param {?} groupSymbol\n * @param {?} decimalSymbol\n * @param {?=} digitsInfo\n * @param {?=} isPercent\n * @return {?}\n */\nfunction formatNumberToLocaleString(value, pattern, locale, groupSymbol, decimalSymbol, digitsInfo, isPercent = false) {\n    /** @type {?} */\n    let formattedText = '';\n    /** @type {?} */\n    let isZero = false;\n    if (!isFinite(value)) {\n        formattedText = getLocaleNumberSymbol(locale, NumberSymbol.Infinity);\n    }\n    else {\n        /** @type {?} */\n        let parsedNumber = parseNumber(value);\n        if (isPercent) {\n            parsedNumber = toPercent(parsedNumber);\n        }\n        /** @type {?} */\n        let minInt = pattern.minInt;\n        /** @type {?} */\n        let minFraction = pattern.minFrac;\n        /** @type {?} */\n        let maxFraction = pattern.maxFrac;\n        if (digitsInfo) {\n            /** @type {?} */\n            const parts = digitsInfo.match(NUMBER_FORMAT_REGEXP);\n            if (parts === null) {\n                throw new Error(`${digitsInfo} is not a valid digit info`);\n            }\n            /** @type {?} */\n            const minIntPart = parts[1];\n            /** @type {?} */\n            const minFractionPart = parts[3];\n            /** @type {?} */\n            const maxFractionPart = parts[5];\n            if (minIntPart != null) {\n                minInt = parseIntAutoRadix(minIntPart);\n            }\n            if (minFractionPart != null) {\n                minFraction = parseIntAutoRadix(minFractionPart);\n            }\n            if (maxFractionPart != null) {\n                maxFraction = parseIntAutoRadix(maxFractionPart);\n            }\n            else if (minFractionPart != null && minFraction > maxFraction) {\n                maxFraction = minFraction;\n            }\n        }\n        roundNumber(parsedNumber, minFraction, maxFraction);\n        /** @type {?} */\n        let digits = parsedNumber.digits;\n        /** @type {?} */\n        let integerLen = parsedNumber.integerLen;\n        /** @type {?} */\n        const exponent = parsedNumber.exponent;\n        /** @type {?} */\n        let decimals = [];\n        isZero = digits.every((/**\n         * @param {?} d\n         * @return {?}\n         */\n        d => !d));\n        // pad zeros for small numbers\n        for (; integerLen < minInt; integerLen++) {\n            digits.unshift(0);\n        }\n        // pad zeros for small numbers\n        for (; integerLen < 0; integerLen++) {\n            digits.unshift(0);\n        }\n        // extract decimals digits\n        if (integerLen > 0) {\n            decimals = digits.splice(integerLen, digits.length);\n        }\n        else {\n            decimals = digits;\n            digits = [0];\n        }\n        // format the integer digits with grouping separators\n        /** @type {?} */\n        const groups = [];\n        if (digits.length >= pattern.lgSize) {\n            groups.unshift(digits.splice(-pattern.lgSize, digits.length).join(''));\n        }\n        while (digits.length > pattern.gSize) {\n            groups.unshift(digits.splice(-pattern.gSize, digits.length).join(''));\n        }\n        if (digits.length) {\n            groups.unshift(digits.join(''));\n        }\n        formattedText = groups.join(getLocaleNumberSymbol(locale, groupSymbol));\n        // append the decimal digits\n        if (decimals.length) {\n            formattedText += getLocaleNumberSymbol(locale, decimalSymbol) + decimals.join('');\n        }\n        if (exponent) {\n            formattedText += getLocaleNumberSymbol(locale, NumberSymbol.Exponential) + '+' + exponent;\n        }\n    }\n    if (value < 0 && !isZero) {\n        formattedText = pattern.negPre + formattedText + pattern.negSuf;\n    }\n    else {\n        formattedText = pattern.posPre + formattedText + pattern.posSuf;\n    }\n    return formattedText;\n}\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Formats a number as currency using locale rules.\n *\n * @see `formatNumber()` / `DecimalPipe` / [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} value The number to format.\n * @param {?} locale A locale code for the locale format rules to use.\n * @param {?} currency A string containing the currency symbol or its name,\n * such as \"$\" or \"Canadian Dollar\". Used in output string, but does not affect the operation\n * of the function.\n * @param {?=} currencyCode The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217)\n * currency code, such as `USD` for the US dollar and `EUR` for the euro.\n * Used to determine the number of digits in the decimal part.\n * @param {?=} digitsInfo\n * @return {?} The formatted currency value.\n *\n */\nfunction formatCurrency(value, locale, currency, currencyCode, digitsInfo) {\n    /** @type {?} */\n    const format = getLocaleNumberFormat(locale, NumberFormatStyle.Currency);\n    /** @type {?} */\n    const pattern = parseNumberFormat(format, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign));\n    pattern.minFrac = getNumberOfCurrencyDigits((/** @type {?} */ (currencyCode)));\n    pattern.maxFrac = pattern.minFrac;\n    /** @type {?} */\n    const res = formatNumberToLocaleString(value, pattern, locale, NumberSymbol.CurrencyGroup, NumberSymbol.CurrencyDecimal, digitsInfo);\n    return res\n        .replace(CURRENCY_CHAR, currency)\n        // if we have 2 time the currency character, the second one is ignored\n        .replace(CURRENCY_CHAR, '');\n}\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Formats a number as a percentage according to locale rules.\n *\n * @see `formatNumber()` / `DecimalPipe` / [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n * \\@publicApi\n *\n * @param {?} value The number to format.\n * @param {?} locale A locale code for the locale format rules to use.\n * @param {?=} digitsInfo\n * @return {?} The formatted percentage value.\n *\n */\nfunction formatPercent(value, locale, digitsInfo) {\n    /** @type {?} */\n    const format = getLocaleNumberFormat(locale, NumberFormatStyle.Percent);\n    /** @type {?} */\n    const pattern = parseNumberFormat(format, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign));\n    /** @type {?} */\n    const res = formatNumberToLocaleString(value, pattern, locale, NumberSymbol.Group, NumberSymbol.Decimal, digitsInfo, true);\n    return res.replace(new RegExp(PERCENT_CHAR, 'g'), getLocaleNumberSymbol(locale, NumberSymbol.PercentSign));\n}\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Formats a number as text, with group sizing, separator, and other\n * parameters based on the locale.\n *\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n *\n * \\@publicApi\n * @param {?} value The number to format.\n * @param {?} locale A locale code for the locale format rules to use.\n * @param {?=} digitsInfo\n * @return {?} The formatted text string.\n */\nfunction formatNumber(value, locale, digitsInfo) {\n    /** @type {?} */\n    const format = getLocaleNumberFormat(locale, NumberFormatStyle.Decimal);\n    /** @type {?} */\n    const pattern = parseNumberFormat(format, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign));\n    return formatNumberToLocaleString(value, pattern, locale, NumberSymbol.Group, NumberSymbol.Decimal, digitsInfo);\n}\n/**\n * @record\n */\nfunction ParsedNumberFormat() { }\nif (false) {}\n/**\n * @param {?} format\n * @param {?=} minusSign\n * @return {?}\n */\nfunction parseNumberFormat(format, minusSign = '-') {\n    /** @type {?} */\n    const p = {\n        minInt: 1,\n        minFrac: 0,\n        maxFrac: 0,\n        posPre: '',\n        posSuf: '',\n        negPre: '',\n        negSuf: '',\n        gSize: 0,\n        lgSize: 0\n    };\n    /** @type {?} */\n    const patternParts = format.split(PATTERN_SEP);\n    /** @type {?} */\n    const positive = patternParts[0];\n    /** @type {?} */\n    const negative = patternParts[1];\n    /** @type {?} */\n    const positiveParts = positive.indexOf(DECIMAL_SEP) !== -1 ?\n        positive.split(DECIMAL_SEP) :\n        [\n            positive.substring(0, positive.lastIndexOf(ZERO_CHAR) + 1),\n            positive.substring(positive.lastIndexOf(ZERO_CHAR) + 1)\n        ];\n    /** @type {?} */\n    const integer = positiveParts[0];\n    /** @type {?} */\n    const fraction = positiveParts[1] || '';\n    p.posPre = integer.substr(0, integer.indexOf(DIGIT_CHAR));\n    for (let i = 0; i < fraction.length; i++) {\n        /** @type {?} */\n        const ch = fraction.charAt(i);\n        if (ch === ZERO_CHAR) {\n            p.minFrac = p.maxFrac = i + 1;\n        }\n        else if (ch === DIGIT_CHAR) {\n            p.maxFrac = i + 1;\n        }\n        else {\n            p.posSuf += ch;\n        }\n    }\n    /** @type {?} */\n    const groups = integer.split(GROUP_SEP);\n    p.gSize = groups[1] ? groups[1].length : 0;\n    p.lgSize = (groups[2] || groups[1]) ? (groups[2] || groups[1]).length : 0;\n    if (negative) {\n        /** @type {?} */\n        const trunkLen = positive.length - p.posPre.length - p.posSuf.length;\n        /** @type {?} */\n        const pos = negative.indexOf(DIGIT_CHAR);\n        p.negPre = negative.substr(0, pos).replace(/'/g, '');\n        p.negSuf = negative.substr(pos + trunkLen).replace(/'/g, '');\n    }\n    else {\n        p.negPre = minusSign + p.posPre;\n        p.negSuf = p.posSuf;\n    }\n    return p;\n}\n/**\n * @record\n */\nfunction ParsedNumber() { }\nif (false) {}\n// Transforms a parsed number into a percentage by multiplying it by 100\n/**\n * @param {?} parsedNumber\n * @return {?}\n */\nfunction toPercent(parsedNumber) {\n    // if the number is 0, don't do anything\n    if (parsedNumber.digits[0] === 0) {\n        return parsedNumber;\n    }\n    // Getting the current number of decimals\n    /** @type {?} */\n    const fractionLen = parsedNumber.digits.length - parsedNumber.integerLen;\n    if (parsedNumber.exponent) {\n        parsedNumber.exponent += 2;\n    }\n    else {\n        if (fractionLen === 0) {\n            parsedNumber.digits.push(0, 0);\n        }\n        else if (fractionLen === 1) {\n            parsedNumber.digits.push(0);\n        }\n        parsedNumber.integerLen += 2;\n    }\n    return parsedNumber;\n}\n/**\n * Parses a number.\n * Significant bits of this parse algorithm came from https://github.com/MikeMcl/big.js/\n * @param {?} num\n * @return {?}\n */\nfunction parseNumber(num) {\n    /** @type {?} */\n    let numStr = Math.abs(num) + '';\n    /** @type {?} */\n    let exponent = 0;\n    /** @type {?} */\n    let digits;\n    /** @type {?} */\n    let integerLen;\n    /** @type {?} */\n    let i;\n    /** @type {?} */\n    let j;\n    /** @type {?} */\n    let zeros;\n    // Decimal point?\n    if ((integerLen = numStr.indexOf(DECIMAL_SEP)) > -1) {\n        numStr = numStr.replace(DECIMAL_SEP, '');\n    }\n    // Exponential form?\n    if ((i = numStr.search(/e/i)) > 0) {\n        // Work out the exponent.\n        if (integerLen < 0)\n            integerLen = i;\n        integerLen += +numStr.slice(i + 1);\n        numStr = numStr.substring(0, i);\n    }\n    else if (integerLen < 0) {\n        // There was no decimal point or exponent so it is an integer.\n        integerLen = numStr.length;\n    }\n    // Count the number of leading zeros.\n    for (i = 0; numStr.charAt(i) === ZERO_CHAR; i++) { /* empty */\n    }\n    if (i === (zeros = numStr.length)) {\n        // The digits are all zero.\n        digits = [0];\n        integerLen = 1;\n    }\n    else {\n        // Count the number of trailing zeros\n        zeros--;\n        while (numStr.charAt(zeros) === ZERO_CHAR)\n            zeros--;\n        // Trailing zeros are insignificant so ignore them\n        integerLen -= i;\n        digits = [];\n        // Convert string to array of digits without leading/trailing zeros.\n        for (j = 0; i <= zeros; i++, j++) {\n            digits[j] = Number(numStr.charAt(i));\n        }\n    }\n    // If the number overflows the maximum allowed digits then use an exponent.\n    if (integerLen > MAX_DIGITS) {\n        digits = digits.splice(0, MAX_DIGITS - 1);\n        exponent = integerLen - 1;\n        integerLen = 1;\n    }\n    return { digits, exponent, integerLen };\n}\n/**\n * Round the parsed number to the specified number of decimal places\n * This function changes the parsedNumber in-place\n * @param {?} parsedNumber\n * @param {?} minFrac\n * @param {?} maxFrac\n * @return {?}\n */\nfunction roundNumber(parsedNumber, minFrac, maxFrac) {\n    if (minFrac > maxFrac) {\n        throw new Error(`The minimum number of digits after fraction (${minFrac}) is higher than the maximum (${maxFrac}).`);\n    }\n    /** @type {?} */\n    let digits = parsedNumber.digits;\n    /** @type {?} */\n    let fractionLen = digits.length - parsedNumber.integerLen;\n    /** @type {?} */\n    const fractionSize = Math.min(Math.max(minFrac, fractionLen), maxFrac);\n    // The index of the digit to where rounding is to occur\n    /** @type {?} */\n    let roundAt = fractionSize + parsedNumber.integerLen;\n    /** @type {?} */\n    let digit = digits[roundAt];\n    if (roundAt > 0) {\n        // Drop fractional digits beyond `roundAt`\n        digits.splice(Math.max(parsedNumber.integerLen, roundAt));\n        // Set non-fractional digits beyond `roundAt` to 0\n        for (let j = roundAt; j < digits.length; j++) {\n            digits[j] = 0;\n        }\n    }\n    else {\n        // We rounded to zero so reset the parsedNumber\n        fractionLen = Math.max(0, fractionLen);\n        parsedNumber.integerLen = 1;\n        digits.length = Math.max(1, roundAt = fractionSize + 1);\n        digits[0] = 0;\n        for (let i = 1; i < roundAt; i++)\n            digits[i] = 0;\n    }\n    if (digit >= 5) {\n        if (roundAt - 1 < 0) {\n            for (let k = 0; k > roundAt; k--) {\n                digits.unshift(0);\n                parsedNumber.integerLen++;\n            }\n            digits.unshift(1);\n            parsedNumber.integerLen++;\n        }\n        else {\n            digits[roundAt - 1]++;\n        }\n    }\n    // Pad out with zeros to get the required fraction length\n    for (; fractionLen < Math.max(0, fractionSize); fractionLen++)\n        digits.push(0);\n    /** @type {?} */\n    let dropTrailingZeros = fractionSize !== 0;\n    // Minimal length = nb of decimals required + current nb of integers\n    // Any number besides that is optional and can be removed if it's a trailing 0\n    /** @type {?} */\n    const minLen = minFrac + parsedNumber.integerLen;\n    // Do any carrying, e.g. a digit was rounded up to 10\n    /** @type {?} */\n    const carry = digits.reduceRight((/**\n     * @param {?} carry\n     * @param {?} d\n     * @param {?} i\n     * @param {?} digits\n     * @return {?}\n     */\n    function (carry, d, i, digits) {\n        d = d + carry;\n        digits[i] = d < 10 ? d : d - 10; // d % 10\n        if (dropTrailingZeros) {\n            // Do not keep meaningless fractional trailing zeros (e.g. 15.52000 --> 15.52)\n            if (digits[i] === 0 && i >= minLen) {\n                digits.pop();\n            }\n            else {\n                dropTrailingZeros = false;\n            }\n        }\n        return d >= 10 ? 1 : 0; // Math.floor(d / 10);\n    }), 0);\n    if (carry) {\n        digits.unshift(carry);\n        parsedNumber.integerLen++;\n    }\n}\n/**\n * @param {?} text\n * @return {?}\n */\nfunction parseIntAutoRadix(text) {\n    /** @type {?} */\n    const result = parseInt(text);\n    if (isNaN(result)) {\n        throw new Error('Invalid integer literal when parsing ' + text);\n    }\n    return result;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @deprecated from v5\n * @type {?}\n */\nconst DEPRECATED_PLURAL_FN = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('UseV4Plurals');\n/**\n * \\@publicApi\n * @abstract\n */\nclass NgLocalization {\n}\nif (false) {}\n/**\n * Returns the plural category for a given value.\n * - \"=value\" when the case exists,\n * - the plural category otherwise\n * @param {?} value\n * @param {?} cases\n * @param {?} ngLocalization\n * @param {?=} locale\n * @return {?}\n */\nfunction getPluralCategory(value, cases, ngLocalization, locale) {\n    /** @type {?} */\n    let key = `=${value}`;\n    if (cases.indexOf(key) > -1) {\n        return key;\n    }\n    key = ngLocalization.getPluralCategory(value, locale);\n    if (cases.indexOf(key) > -1) {\n        return key;\n    }\n    if (cases.indexOf('other') > -1) {\n        return 'other';\n    }\n    throw new Error(`No plural message found for value \"${value}\"`);\n}\n/**\n * Returns the plural case based on the locale\n *\n * \\@publicApi\n */\nclass NgLocaleLocalization extends NgLocalization {\n    /**\n     * @param {?} locale\n     * @param {?=} deprecatedPluralFn\n     */\n    constructor(locale, deprecatedPluralFn) {\n        super();\n        this.locale = locale;\n        this.deprecatedPluralFn = deprecatedPluralFn;\n    }\n    /**\n     * @param {?} value\n     * @param {?=} locale\n     * @return {?}\n     */\n    getPluralCategory(value, locale) {\n        /** @type {?} */\n        const plural = this.deprecatedPluralFn ? this.deprecatedPluralFn(locale || this.locale, value) :\n            getLocalePluralCase(locale || this.locale)(value);\n        switch (plural) {\n            case Plural.Zero:\n                return 'zero';\n            case Plural.One:\n                return 'one';\n            case Plural.Two:\n                return 'two';\n            case Plural.Few:\n                return 'few';\n            case Plural.Many:\n                return 'many';\n            default:\n                return 'other';\n        }\n    }\n}\nNgLocaleLocalization.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"] }\n];\n/** @nocollapse */\nNgLocaleLocalization.ctorParameters = () => [\n    { type: String, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"LOCALE_ID\"],] }] },\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [DEPRECATED_PLURAL_FN,] }] }\n];\nif (false) {}\n/**\n * Returns the plural case based on the locale\n *\n * @deprecated from v5 the plural case function is in locale data files common/locales/*.ts\n * \\@publicApi\n * @param {?} locale\n * @param {?} nLike\n * @return {?}\n */\nfunction getPluralCase(locale, nLike) {\n    // TODO(vicb): lazy compute\n    if (typeof nLike === 'string') {\n        nLike = parseInt((/** @type {?} */ (nLike)), 10);\n    }\n    /** @type {?} */\n    const n = (/** @type {?} */ (nLike));\n    /** @type {?} */\n    const nDecimal = n.toString().replace(/^[^.]*\\.?/, '');\n    /** @type {?} */\n    const i = Math.floor(Math.abs(n));\n    /** @type {?} */\n    const v = nDecimal.length;\n    /** @type {?} */\n    const f = parseInt(nDecimal, 10);\n    /** @type {?} */\n    const t = parseInt(n.toString().replace(/^[^.]*\\.?|0+$/g, ''), 10) || 0;\n    /** @type {?} */\n    const lang = locale.split('-')[0].toLowerCase();\n    switch (lang) {\n        case 'af':\n        case 'asa':\n        case 'az':\n        case 'bem':\n        case 'bez':\n        case 'bg':\n        case 'brx':\n        case 'ce':\n        case 'cgg':\n        case 'chr':\n        case 'ckb':\n        case 'ee':\n        case 'el':\n        case 'eo':\n        case 'es':\n        case 'eu':\n        case 'fo':\n        case 'fur':\n        case 'gsw':\n        case 'ha':\n        case 'haw':\n        case 'hu':\n        case 'jgo':\n        case 'jmc':\n        case 'ka':\n        case 'kk':\n        case 'kkj':\n        case 'kl':\n        case 'ks':\n        case 'ksb':\n        case 'ky':\n        case 'lb':\n        case 'lg':\n        case 'mas':\n        case 'mgo':\n        case 'ml':\n        case 'mn':\n        case 'nb':\n        case 'nd':\n        case 'ne':\n        case 'nn':\n        case 'nnh':\n        case 'nyn':\n        case 'om':\n        case 'or':\n        case 'os':\n        case 'ps':\n        case 'rm':\n        case 'rof':\n        case 'rwk':\n        case 'saq':\n        case 'seh':\n        case 'sn':\n        case 'so':\n        case 'sq':\n        case 'ta':\n        case 'te':\n        case 'teo':\n        case 'tk':\n        case 'tr':\n        case 'ug':\n        case 'uz':\n        case 'vo':\n        case 'vun':\n        case 'wae':\n        case 'xog':\n            if (n === 1)\n                return Plural.One;\n            return Plural.Other;\n        case 'ak':\n        case 'ln':\n        case 'mg':\n        case 'pa':\n        case 'ti':\n            if (n === Math.floor(n) && n >= 0 && n <= 1)\n                return Plural.One;\n            return Plural.Other;\n        case 'am':\n        case 'as':\n        case 'bn':\n        case 'fa':\n        case 'gu':\n        case 'hi':\n        case 'kn':\n        case 'mr':\n        case 'zu':\n            if (i === 0 || n === 1)\n                return Plural.One;\n            return Plural.Other;\n        case 'ar':\n            if (n === 0)\n                return Plural.Zero;\n            if (n === 1)\n                return Plural.One;\n            if (n === 2)\n                return Plural.Two;\n            if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10)\n                return Plural.Few;\n            if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99)\n                return Plural.Many;\n            return Plural.Other;\n        case 'ast':\n        case 'ca':\n        case 'de':\n        case 'en':\n        case 'et':\n        case 'fi':\n        case 'fy':\n        case 'gl':\n        case 'it':\n        case 'nl':\n        case 'sv':\n        case 'sw':\n        case 'ur':\n        case 'yi':\n            if (i === 1 && v === 0)\n                return Plural.One;\n            return Plural.Other;\n        case 'be':\n            if (n % 10 === 1 && !(n % 100 === 11))\n                return Plural.One;\n            if (n % 10 === Math.floor(n % 10) && n % 10 >= 2 && n % 10 <= 4 &&\n                !(n % 100 >= 12 && n % 100 <= 14))\n                return Plural.Few;\n            if (n % 10 === 0 || n % 10 === Math.floor(n % 10) && n % 10 >= 5 && n % 10 <= 9 ||\n                n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 14)\n                return Plural.Many;\n            return Plural.Other;\n        case 'br':\n            if (n % 10 === 1 && !(n % 100 === 11 || n % 100 === 71 || n % 100 === 91))\n                return Plural.One;\n            if (n % 10 === 2 && !(n % 100 === 12 || n % 100 === 72 || n % 100 === 92))\n                return Plural.Two;\n            if (n % 10 === Math.floor(n % 10) && (n % 10 >= 3 && n % 10 <= 4 || n % 10 === 9) &&\n                !(n % 100 >= 10 && n % 100 <= 19 || n % 100 >= 70 && n % 100 <= 79 ||\n                    n % 100 >= 90 && n % 100 <= 99))\n                return Plural.Few;\n            if (!(n === 0) && n % 1e6 === 0)\n                return Plural.Many;\n            return Plural.Other;\n        case 'bs':\n        case 'hr':\n        case 'sr':\n            if (v === 0 && i % 10 === 1 && !(i % 100 === 11) || f % 10 === 1 && !(f % 100 === 11))\n                return Plural.One;\n            if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 &&\n                !(i % 100 >= 12 && i % 100 <= 14) ||\n                f % 10 === Math.floor(f % 10) && f % 10 >= 2 && f % 10 <= 4 &&\n                    !(f % 100 >= 12 && f % 100 <= 14))\n                return Plural.Few;\n            return Plural.Other;\n        case 'cs':\n        case 'sk':\n            if (i === 1 && v === 0)\n                return Plural.One;\n            if (i === Math.floor(i) && i >= 2 && i <= 4 && v === 0)\n                return Plural.Few;\n            if (!(v === 0))\n                return Plural.Many;\n            return Plural.Other;\n        case 'cy':\n            if (n === 0)\n                return Plural.Zero;\n            if (n === 1)\n                return Plural.One;\n            if (n === 2)\n                return Plural.Two;\n            if (n === 3)\n                return Plural.Few;\n            if (n === 6)\n                return Plural.Many;\n            return Plural.Other;\n        case 'da':\n            if (n === 1 || !(t === 0) && (i === 0 || i === 1))\n                return Plural.One;\n            return Plural.Other;\n        case 'dsb':\n        case 'hsb':\n            if (v === 0 && i % 100 === 1 || f % 100 === 1)\n                return Plural.One;\n            if (v === 0 && i % 100 === 2 || f % 100 === 2)\n                return Plural.Two;\n            if (v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 3 && i % 100 <= 4 ||\n                f % 100 === Math.floor(f % 100) && f % 100 >= 3 && f % 100 <= 4)\n                return Plural.Few;\n            return Plural.Other;\n        case 'ff':\n        case 'fr':\n        case 'hy':\n        case 'kab':\n            if (i === 0 || i === 1)\n                return Plural.One;\n            return Plural.Other;\n        case 'fil':\n            if (v === 0 && (i === 1 || i === 2 || i === 3) ||\n                v === 0 && !(i % 10 === 4 || i % 10 === 6 || i % 10 === 9) ||\n                !(v === 0) && !(f % 10 === 4 || f % 10 === 6 || f % 10 === 9))\n                return Plural.One;\n            return Plural.Other;\n        case 'ga':\n            if (n === 1)\n                return Plural.One;\n            if (n === 2)\n                return Plural.Two;\n            if (n === Math.floor(n) && n >= 3 && n <= 6)\n                return Plural.Few;\n            if (n === Math.floor(n) && n >= 7 && n <= 10)\n                return Plural.Many;\n            return Plural.Other;\n        case 'gd':\n            if (n === 1 || n === 11)\n                return Plural.One;\n            if (n === 2 || n === 12)\n                return Plural.Two;\n            if (n === Math.floor(n) && (n >= 3 && n <= 10 || n >= 13 && n <= 19))\n                return Plural.Few;\n            return Plural.Other;\n        case 'gv':\n            if (v === 0 && i % 10 === 1)\n                return Plural.One;\n            if (v === 0 && i % 10 === 2)\n                return Plural.Two;\n            if (v === 0 &&\n                (i % 100 === 0 || i % 100 === 20 || i % 100 === 40 || i % 100 === 60 || i % 100 === 80))\n                return Plural.Few;\n            if (!(v === 0))\n                return Plural.Many;\n            return Plural.Other;\n        case 'he':\n            if (i === 1 && v === 0)\n                return Plural.One;\n            if (i === 2 && v === 0)\n                return Plural.Two;\n            if (v === 0 && !(n >= 0 && n <= 10) && n % 10 === 0)\n                return Plural.Many;\n            return Plural.Other;\n        case 'is':\n            if (t === 0 && i % 10 === 1 && !(i % 100 === 11) || !(t === 0))\n                return Plural.One;\n            return Plural.Other;\n        case 'ksh':\n            if (n === 0)\n                return Plural.Zero;\n            if (n === 1)\n                return Plural.One;\n            return Plural.Other;\n        case 'kw':\n        case 'naq':\n        case 'se':\n        case 'smn':\n            if (n === 1)\n                return Plural.One;\n            if (n === 2)\n                return Plural.Two;\n            return Plural.Other;\n        case 'lag':\n            if (n === 0)\n                return Plural.Zero;\n            if ((i === 0 || i === 1) && !(n === 0))\n                return Plural.One;\n            return Plural.Other;\n        case 'lt':\n            if (n % 10 === 1 && !(n % 100 >= 11 && n % 100 <= 19))\n                return Plural.One;\n            if (n % 10 === Math.floor(n % 10) && n % 10 >= 2 && n % 10 <= 9 &&\n                !(n % 100 >= 11 && n % 100 <= 19))\n                return Plural.Few;\n            if (!(f === 0))\n                return Plural.Many;\n            return Plural.Other;\n        case 'lv':\n        case 'prg':\n            if (n % 10 === 0 || n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 19 ||\n                v === 2 && f % 100 === Math.floor(f % 100) && f % 100 >= 11 && f % 100 <= 19)\n                return Plural.Zero;\n            if (n % 10 === 1 && !(n % 100 === 11) || v === 2 && f % 10 === 1 && !(f % 100 === 11) ||\n                !(v === 2) && f % 10 === 1)\n                return Plural.One;\n            return Plural.Other;\n        case 'mk':\n            if (v === 0 && i % 10 === 1 || f % 10 === 1)\n                return Plural.One;\n            return Plural.Other;\n        case 'mt':\n            if (n === 1)\n                return Plural.One;\n            if (n === 0 || n % 100 === Math.floor(n % 100) && n % 100 >= 2 && n % 100 <= 10)\n                return Plural.Few;\n            if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 19)\n                return Plural.Many;\n            return Plural.Other;\n        case 'pl':\n            if (i === 1 && v === 0)\n                return Plural.One;\n            if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 &&\n                !(i % 100 >= 12 && i % 100 <= 14))\n                return Plural.Few;\n            if (v === 0 && !(i === 1) && i % 10 === Math.floor(i % 10) && i % 10 >= 0 && i % 10 <= 1 ||\n                v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 5 && i % 10 <= 9 ||\n                v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 12 && i % 100 <= 14)\n                return Plural.Many;\n            return Plural.Other;\n        case 'pt':\n            if (n === Math.floor(n) && n >= 0 && n <= 2 && !(n === 2))\n                return Plural.One;\n            return Plural.Other;\n        case 'ro':\n            if (i === 1 && v === 0)\n                return Plural.One;\n            if (!(v === 0) || n === 0 ||\n                !(n === 1) && n % 100 === Math.floor(n % 100) && n % 100 >= 1 && n % 100 <= 19)\n                return Plural.Few;\n            return Plural.Other;\n        case 'ru':\n        case 'uk':\n            if (v === 0 && i % 10 === 1 && !(i % 100 === 11))\n                return Plural.One;\n            if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 &&\n                !(i % 100 >= 12 && i % 100 <= 14))\n                return Plural.Few;\n            if (v === 0 && i % 10 === 0 ||\n                v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 5 && i % 10 <= 9 ||\n                v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 11 && i % 100 <= 14)\n                return Plural.Many;\n            return Plural.Other;\n        case 'shi':\n            if (i === 0 || n === 1)\n                return Plural.One;\n            if (n === Math.floor(n) && n >= 2 && n <= 10)\n                return Plural.Few;\n            return Plural.Other;\n        case 'si':\n            if (n === 0 || n === 1 || i === 0 && f === 1)\n                return Plural.One;\n            return Plural.Other;\n        case 'sl':\n            if (v === 0 && i % 100 === 1)\n                return Plural.One;\n            if (v === 0 && i % 100 === 2)\n                return Plural.Two;\n            if (v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 3 && i % 100 <= 4 || !(v === 0))\n                return Plural.Few;\n            return Plural.Other;\n        case 'tzm':\n            if (n === Math.floor(n) && n >= 0 && n <= 1 || n === Math.floor(n) && n >= 11 && n <= 99)\n                return Plural.One;\n            return Plural.Other;\n        // When there is no specification, the default is always \"other\"\n        // Spec: http://cldr.unicode.org/index/cldr-spec/plural-rules\n        // > other (required—general plural form — also used if the language only has a single form)\n        default:\n            return Plural.Other;\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Register global data to be used internally by Angular. See the\n * [\"I18n guide\"](guide/i18n#i18n-pipes) to know how to import additional locale data.\n *\n * \\@publicApi\n * @param {?} data\n * @param {?=} localeId\n * @param {?=} extraData\n * @return {?}\n */\n// The signature registerLocaleData(data: any, extraData?: any) is deprecated since v5.1\nfunction registerLocaleData(data, localeId, extraData) {\n    if (typeof localeId !== 'string') {\n        extraData = localeId;\n        localeId = data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].LocaleId];\n    }\n    localeId = localeId.toLowerCase().replace(/_/g, '-');\n    _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLOCALE_DATA\"][localeId] = data;\n    if (extraData) {\n        _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLOCALE_DATA\"][localeId][_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].ExtraData] = extraData;\n    }\n}\n/** @enum {number} */\nconst ExtraLocaleDataIndex = {\n    ExtraDayPeriodFormats: 0,\n    ExtraDayPeriodStandalone: 1,\n    ExtraDayPeriodsRules: 2,\n};\n/** @enum {number} */\nconst CurrencyIndex = {\n    Symbol: 0, SymbolNarrow: 1, NbOfDigits: 2,\n};\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * @param {?} cookieStr\n * @param {?} name\n * @return {?}\n */\nfunction parseCookieValue(cookieStr, name) {\n    name = encodeURIComponent(name);\n    for (const cookie of cookieStr.split(';')) {\n        /** @type {?} */\n        const eqIndex = cookie.indexOf('=');\n        const [cookieName, cookieValue] = eqIndex == -1 ? [cookie, ''] : [cookie.slice(0, eqIndex), cookie.slice(eqIndex + 1)];\n        if (cookieName.trim() === name) {\n            return decodeURIComponent(cookieValue);\n        }\n    }\n    return null;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Used to diff and convert ngStyle/ngClass instructions into [style] and [class] bindings.\n *\n * ngStyle and ngClass both accept various forms of input and behave differently than that\n * of how [style] and [class] behave in Angular.\n *\n * The differences are:\n *  - ngStyle and ngClass both **watch** their binding values for changes each time CD runs\n *    while [style] and [class] bindings do not (they check for identity changes)\n *  - ngStyle allows for unit-based keys (e.g. `{'max-width.px':value}`) and [style] does not\n *  - ngClass supports arrays of class values and [class] only accepts map and string values\n *  - ngClass allows for multiple className keys (space-separated) within an array or map\n *     (as the * key) while [class] only accepts a simple key/value map object\n *\n * Having Angular understand and adapt to all the different forms of behavior is complicated\n * and unnecessary. Instead, ngClass and ngStyle should have their input values be converted\n * into something that the core-level [style] and [class] bindings understand.\n *\n * This [StylingDiffer] class handles this conversion by creating a new input value each time\n * the inner representation of the binding value have changed.\n *\n * ## Why do we care about ngStyle/ngClass?\n * The styling algorithm code (documented inside of `render3/interfaces/styling.ts`) needs to\n * respect and understand the styling values emitted through ngStyle and ngClass (when they\n * are present and used in a template).\n *\n * Instead of having these directives manage styling on their own, they should be included\n * into the Angular styling algorithm that exists for [style] and [class] bindings.\n *\n * Here's why:\n *\n * - If ngStyle/ngClass is used in combination with [style]/[class] bindings then the\n *   styles and classes would fall out of sync and be applied and updated at\n *   inconsistent times\n * - Both ngClass/ngStyle do not respect [class.name] and [style.prop] bindings\n *   (they will write over them given the right combination of events)\n *\n *   ```\n *   <!-- if `w1` is updated then it will always override `w2`\n *        if `w2` is updated then it will always override `w1`\n *        if both are updated at the same time then `w1` wins -->\n *   <div [ngStyle]=\"{width:w1}\" [style.width]=\"w2\">...</div>\n *\n *   <!-- if `w1` is updated then it will always lose to `w2`\n *        if `w2` is updated then it will always override `w1`\n *        if both are updated at the same time then `w2` wins -->\n *   <div [style]=\"{width:w1}\" [style.width]=\"w2\">...</div>\n *   ```\n * - ngClass/ngStyle were written as a directives and made use of maps, closures and other\n *   expensive data structures which were evaluated each time CD runs\n * @template T\n */\nclass StylingDiffer {\n    /**\n     * @param {?} _name\n     * @param {?} _options\n     */\n    constructor(_name, _options) {\n        this._name = _name;\n        this._options = _options;\n        this.value = null;\n        this._lastSetValue = null;\n        this._lastSetValueType = 0 /* Null */;\n        this._lastSetValueIdentityChange = false;\n    }\n    /**\n     * Sets (updates) the styling value within the differ.\n     *\n     * Only when `hasValueChanged` is called then this new value will be evaluted\n     * and checked against the previous value.\n     *\n     * @param {?} value the new styling value provided from the ngClass/ngStyle binding\n     * @return {?}\n     */\n    setValue(value) {\n        if (Array.isArray(value)) {\n            this._lastSetValueType = 4 /* Array */;\n        }\n        else if (value instanceof Set) {\n            this._lastSetValueType = 8 /* Set */;\n        }\n        else if (value && typeof value === 'string') {\n            if (!(this._options & 4 /* AllowStringValue */)) {\n                throw new Error(this._name + ' string values are not allowed');\n            }\n            this._lastSetValueType = 1 /* String */;\n        }\n        else {\n            this._lastSetValueType = value ? 2 /* Map */ : 0 /* Null */;\n        }\n        this._lastSetValueIdentityChange = true;\n        this._lastSetValue = value || null;\n    }\n    /**\n     * Determines whether or not the value has changed.\n     *\n     * This function can be called right after `setValue()` is called, but it can also be\n     * called incase the existing value (if it's a collection) changes internally. If the\n     * value is indeed a collection it will do the necessary diffing work and produce a\n     * new object value as assign that to `value`.\n     *\n     * @return {?} whether or not the value has changed in some way.\n     */\n    hasValueChanged() {\n        /** @type {?} */\n        let valueHasChanged = this._lastSetValueIdentityChange;\n        if (!valueHasChanged && !(this._lastSetValueType & 14 /* Collection */))\n            return false;\n        /** @type {?} */\n        let finalValue = null;\n        /** @type {?} */\n        const trimValues = (this._options & 1 /* TrimProperties */) ? true : false;\n        /** @type {?} */\n        const parseOutUnits = (this._options & 8 /* AllowUnits */) ? true : false;\n        /** @type {?} */\n        const allowSubKeys = (this._options & 2 /* AllowSubKeys */) ? true : false;\n        switch (this._lastSetValueType) {\n            // case 1: [input]=\"string\"\n            case 1 /* String */:\n                /** @type {?} */\n                const tokens = ((/** @type {?} */ (this._lastSetValue))).split(/\\s+/g);\n                if (this._options & 16 /* ForceAsMap */) {\n                    finalValue = {};\n                    tokens.forEach((/**\n                     * @param {?} token\n                     * @param {?} i\n                     * @return {?}\n                     */\n                    (token, i) => ((/** @type {?} */ (finalValue)))[token] = true));\n                }\n                else {\n                    finalValue = tokens.reduce((/**\n                     * @param {?} str\n                     * @param {?} token\n                     * @param {?} i\n                     * @return {?}\n                     */\n                    (str, token, i) => str + (i ? ' ' : '') + token));\n                }\n                break;\n            // case 2: [input]=\"{key:value}\"\n            case 2 /* Map */:\n                /** @type {?} */\n                const map = (/** @type {?} */ (this._lastSetValue));\n                /** @type {?} */\n                const keys = Object.keys(map);\n                if (!valueHasChanged) {\n                    if (this.value) {\n                        // we know that the classExp value exists and that it is\n                        // a map (otherwise an identity change would have occurred)\n                        valueHasChanged = mapHasChanged(keys, (/** @type {?} */ (this.value)), map);\n                    }\n                    else {\n                        valueHasChanged = true;\n                    }\n                }\n                if (valueHasChanged) {\n                    finalValue =\n                        bulidMapFromValues(this._name, trimValues, parseOutUnits, allowSubKeys, map, keys);\n                }\n                break;\n            // case 3a: [input]=\"[str1, str2, ...]\"\n            // case 3b: [input]=\"Set\"\n            case 4 /* Array */:\n            case 8 /* Set */:\n                /** @type {?} */\n                const values = Array.from((/** @type {?} */ (this._lastSetValue)));\n                if (!valueHasChanged) {\n                    /** @type {?} */\n                    const keys = Object.keys((/** @type {?} */ (this.value)));\n                    valueHasChanged = !arrayEqualsArray(keys, values);\n                }\n                if (valueHasChanged) {\n                    finalValue =\n                        bulidMapFromValues(this._name, trimValues, parseOutUnits, allowSubKeys, values);\n                }\n                break;\n            // case 4: [input]=\"null|undefined\"\n            default:\n                finalValue = null;\n                break;\n        }\n        if (valueHasChanged) {\n            ((/** @type {?} */ (this))).value = (/** @type {?} */ (finalValue));\n        }\n        return valueHasChanged;\n    }\n}\nif (false) {}\n/** @enum {number} */\nconst StylingDifferOptions = {\n    None: 0,\n    TrimProperties: 1,\n    AllowSubKeys: 2,\n    AllowStringValue: 4,\n    AllowUnits: 8,\n    ForceAsMap: 16,\n};\n/** @enum {number} */\nconst StylingDifferValueTypes = {\n    Null: 0,\n    String: 1,\n    Map: 2,\n    Array: 4,\n    Set: 8,\n    Collection: 14,\n};\n/**\n * builds and returns a map based on the values input value\n *\n * If the `keys` param is provided then the `values` param is treated as a\n * string map. Otherwise `values` is treated as a string array.\n * @param {?} errorPrefix\n * @param {?} trim\n * @param {?} parseOutUnits\n * @param {?} allowSubKeys\n * @param {?} values\n * @param {?=} keys\n * @return {?}\n */\nfunction bulidMapFromValues(errorPrefix, trim, parseOutUnits, allowSubKeys, values, keys) {\n    /** @type {?} */\n    const map = {};\n    if (keys) {\n        // case 1: map\n        for (let i = 0; i < keys.length; i++) {\n            /** @type {?} */\n            let key = keys[i];\n            key = trim ? key.trim() : key;\n            /** @type {?} */\n            const value = ((/** @type {?} */ (values)))[key];\n            setMapValues(map, key, value, parseOutUnits, allowSubKeys);\n        }\n    }\n    else {\n        // case 2: array\n        for (let i = 0; i < values.length; i++) {\n            /** @type {?} */\n            let value = ((/** @type {?} */ (values)))[i];\n            assertValidValue(errorPrefix, value);\n            value = trim ? value.trim() : value;\n            setMapValues(map, value, true, false, allowSubKeys);\n        }\n    }\n    return map;\n}\n/**\n * @param {?} errorPrefix\n * @param {?} value\n * @return {?}\n */\nfunction assertValidValue(errorPrefix, value) {\n    if (typeof value !== 'string') {\n        throw new Error(`${errorPrefix} can only toggle CSS classes expressed as strings, got ${value}`);\n    }\n}\n/**\n * @param {?} map\n * @param {?} key\n * @param {?} value\n * @param {?} parseOutUnits\n * @param {?} allowSubKeys\n * @return {?}\n */\nfunction setMapValues(map, key, value, parseOutUnits, allowSubKeys) {\n    if (allowSubKeys && key.indexOf(' ') > 0) {\n        /** @type {?} */\n        const innerKeys = key.split(/\\s+/g);\n        for (let j = 0; j < innerKeys.length; j++) {\n            setIndividualMapValue(map, innerKeys[j], value, parseOutUnits);\n        }\n    }\n    else {\n        setIndividualMapValue(map, key, value, parseOutUnits);\n    }\n}\n/**\n * @param {?} map\n * @param {?} key\n * @param {?} value\n * @param {?} parseOutUnits\n * @return {?}\n */\nfunction setIndividualMapValue(map, key, value, parseOutUnits) {\n    if (parseOutUnits) {\n        /** @type {?} */\n        const values = normalizeStyleKeyAndValue(key, value);\n        value = values.value;\n        key = values.key;\n    }\n    map[key] = value;\n}\n/**\n * @param {?} key\n * @param {?} value\n * @return {?}\n */\nfunction normalizeStyleKeyAndValue(key, value) {\n    /** @type {?} */\n    const index = key.indexOf('.');\n    if (index > 0) {\n        /** @type {?} */\n        const unit = key.substr(index + 1);\n        key = key.substring(0, index);\n        if (value != null) { // we should not convert null values to string\n            value += unit;\n        }\n    }\n    return { key, value };\n}\n/**\n * @param {?} keys\n * @param {?} a\n * @param {?} b\n * @return {?}\n */\nfunction mapHasChanged(keys, a, b) {\n    /** @type {?} */\n    const oldKeys = Object.keys(a);\n    /** @type {?} */\n    const newKeys = keys;\n    // the keys are different which means the map changed\n    if (!arrayEqualsArray(oldKeys, newKeys)) {\n        return true;\n    }\n    for (let i = 0; i < newKeys.length; i++) {\n        /** @type {?} */\n        const key = newKeys[i];\n        if (a[key] !== b[key]) {\n            return true;\n        }\n    }\n    return false;\n}\n/**\n * @param {?} a\n * @param {?} b\n * @return {?}\n */\nfunction arrayEqualsArray(a, b) {\n    if (a && b) {\n        if (a.length !== b.length)\n            return false;\n        for (let i = 0; i < a.length; i++) {\n            if (b.indexOf(a[i]) === -1)\n                return false;\n        }\n        return true;\n    }\n    return false;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Used as a token for an injected service within the NgClass directive.\n *\n * NgClass behaves differenly whether or not VE is being used or not. If\n * present then the legacy ngClass diffing algorithm will be used as an\n * injected service. Otherwise the new diffing algorithm (which delegates\n * to the `[class]` binding) will be used. This toggle behavior is done so\n * via the ivy_switch mechanism.\n * @abstract\n */\nclass NgClassImpl {\n}\nif (false) {}\nclass NgClassR2Impl {\n    /**\n     * @param {?} _iterableDiffers\n     * @param {?} _keyValueDiffers\n     * @param {?} _ngEl\n     * @param {?} _renderer\n     */\n    constructor(_iterableDiffers, _keyValueDiffers, _ngEl, _renderer) {\n        this._iterableDiffers = _iterableDiffers;\n        this._keyValueDiffers = _keyValueDiffers;\n        this._ngEl = _ngEl;\n        this._renderer = _renderer;\n        this._initialClasses = [];\n    }\n    /**\n     * @return {?}\n     */\n    getValue() { return null; }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    setClass(value) {\n        this._removeClasses(this._initialClasses);\n        this._initialClasses = typeof value === 'string' ? value.split(/\\s+/) : [];\n        this._applyClasses(this._initialClasses);\n        this._applyClasses(this._rawClass);\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    setNgClass(value) {\n        this._removeClasses(this._rawClass);\n        this._applyClasses(this._initialClasses);\n        this._iterableDiffer = null;\n        this._keyValueDiffer = null;\n        this._rawClass = typeof value === 'string' ? value.split(/\\s+/) : value;\n        if (this._rawClass) {\n            if (Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵisListLikeIterable\"])(this._rawClass)) {\n                this._iterableDiffer = this._iterableDiffers.find(this._rawClass).create();\n            }\n            else {\n                this._keyValueDiffer = this._keyValueDiffers.find(this._rawClass).create();\n            }\n        }\n    }\n    /**\n     * @return {?}\n     */\n    applyChanges() {\n        if (this._iterableDiffer) {\n            /** @type {?} */\n            const iterableChanges = this._iterableDiffer.diff((/** @type {?} */ (this._rawClass)));\n            if (iterableChanges) {\n                this._applyIterableChanges(iterableChanges);\n            }\n        }\n        else if (this._keyValueDiffer) {\n            /** @type {?} */\n            const keyValueChanges = this._keyValueDiffer.diff((/** @type {?} */ (this._rawClass)));\n            if (keyValueChanges) {\n                this._applyKeyValueChanges(keyValueChanges);\n            }\n        }\n    }\n    /**\n     * @private\n     * @param {?} changes\n     * @return {?}\n     */\n    _applyKeyValueChanges(changes) {\n        changes.forEachAddedItem((/**\n         * @param {?} record\n         * @return {?}\n         */\n        (record) => this._toggleClass(record.key, record.currentValue)));\n        changes.forEachChangedItem((/**\n         * @param {?} record\n         * @return {?}\n         */\n        (record) => this._toggleClass(record.key, record.currentValue)));\n        changes.forEachRemovedItem((/**\n         * @param {?} record\n         * @return {?}\n         */\n        (record) => {\n            if (record.previousValue) {\n                this._toggleClass(record.key, false);\n            }\n        }));\n    }\n    /**\n     * @private\n     * @param {?} changes\n     * @return {?}\n     */\n    _applyIterableChanges(changes) {\n        changes.forEachAddedItem((/**\n         * @param {?} record\n         * @return {?}\n         */\n        (record) => {\n            if (typeof record.item === 'string') {\n                this._toggleClass(record.item, true);\n            }\n            else {\n                throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵstringify\"])(record.item)}`);\n            }\n        }));\n        changes.forEachRemovedItem((/**\n         * @param {?} record\n         * @return {?}\n         */\n        (record) => this._toggleClass(record.item, false)));\n    }\n    /**\n     * Applies a collection of CSS classes to the DOM element.\n     *\n     * For argument of type Set and Array CSS class names contained in those collections are always\n     * added.\n     * For argument of type Map CSS class name in the map's key is toggled based on the value (added\n     * for truthy and removed for falsy).\n     * @private\n     * @param {?} rawClassVal\n     * @return {?}\n     */\n    _applyClasses(rawClassVal) {\n        if (rawClassVal) {\n            if (Array.isArray(rawClassVal) || rawClassVal instanceof Set) {\n                ((/** @type {?} */ (rawClassVal))).forEach((/**\n                 * @param {?} klass\n                 * @return {?}\n                 */\n                (klass) => this._toggleClass(klass, true)));\n            }\n            else {\n                Object.keys(rawClassVal).forEach((/**\n                 * @param {?} klass\n                 * @return {?}\n                 */\n                klass => this._toggleClass(klass, !!rawClassVal[klass])));\n            }\n        }\n    }\n    /**\n     * Removes a collection of CSS classes from the DOM element. This is mostly useful for cleanup\n     * purposes.\n     * @private\n     * @param {?} rawClassVal\n     * @return {?}\n     */\n    _removeClasses(rawClassVal) {\n        if (rawClassVal) {\n            if (Array.isArray(rawClassVal) || rawClassVal instanceof Set) {\n                ((/** @type {?} */ (rawClassVal))).forEach((/**\n                 * @param {?} klass\n                 * @return {?}\n                 */\n                (klass) => this._toggleClass(klass, false)));\n            }\n            else {\n                Object.keys(rawClassVal).forEach((/**\n                 * @param {?} klass\n                 * @return {?}\n                 */\n                klass => this._toggleClass(klass, false)));\n            }\n        }\n    }\n    /**\n     * @private\n     * @param {?} klass\n     * @param {?} enabled\n     * @return {?}\n     */\n    _toggleClass(klass, enabled) {\n        klass = klass.trim();\n        if (klass) {\n            klass.split(/\\s+/g).forEach((/**\n             * @param {?} klass\n             * @return {?}\n             */\n            klass => {\n                if (enabled) {\n                    this._renderer.addClass(this._ngEl.nativeElement, klass);\n                }\n                else {\n                    this._renderer.removeClass(this._ngEl.nativeElement, klass);\n                }\n            }));\n        }\n    }\n}\nNgClassR2Impl.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"] }\n];\n/** @nocollapse */\nNgClassR2Impl.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"IterableDiffers\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"KeyValueDiffers\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Renderer2\"] }\n];\nif (false) {}\nclass NgClassR3Impl {\n    constructor() {\n        this._value = null;\n        this._ngClassDiffer = new StylingDiffer('NgClass', 1 /* TrimProperties */ |\n            2 /* AllowSubKeys */ |\n            4 /* AllowStringValue */ | 16 /* ForceAsMap */);\n        this._classStringDiffer = null;\n    }\n    /**\n     * @return {?}\n     */\n    getValue() { return this._value; }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    setClass(value) {\n        // early exit incase the binding gets emitted as an empty value which\n        // means there is no reason to instantiate and diff the values...\n        if (!value && !this._classStringDiffer)\n            return;\n        this._classStringDiffer = this._classStringDiffer ||\n            new StylingDiffer('class', 4 /* AllowStringValue */ | 16 /* ForceAsMap */);\n        this._classStringDiffer.setValue(value);\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    setNgClass(value) {\n        this._ngClassDiffer.setValue(value);\n    }\n    /**\n     * @return {?}\n     */\n    applyChanges() {\n        /** @type {?} */\n        const classChanged = this._classStringDiffer ? this._classStringDiffer.hasValueChanged() : false;\n        /** @type {?} */\n        const ngClassChanged = this._ngClassDiffer.hasValueChanged();\n        if (classChanged || ngClassChanged) {\n            /** @type {?} */\n            let value = this._ngClassDiffer.value;\n            if (this._classStringDiffer) {\n                /** @type {?} */\n                let classValue = this._classStringDiffer.value;\n                if (classValue) {\n                    value = value ? Object.assign({}, classValue, value) : classValue;\n                }\n            }\n            this._value = value;\n        }\n    }\n}\nNgClassR3Impl.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"] }\n];\nif (false) {}\n// the implementation for both NgStyleR2Impl and NgStyleR3Impl are\n// not ivy_switch'd away, instead they are only hooked up into the\n// DI via NgStyle's directive's provider property.\n/** @type {?} */\nconst NgClassImplProvider__PRE_R3__ = {\n    provide: NgClassImpl,\n    useClass: NgClassR2Impl\n};\n/** @type {?} */\nconst NgClassImplProvider__POST_R3__ = {\n    provide: NgClassImpl,\n    useClass: NgClassR3Impl\n};\n/** @type {?} */\nconst NgClassImplProvider = NgClassImplProvider__PRE_R3__;\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/*\n * NgClass (as well as NgStyle) behaves differently when loaded in the VE and when not.\n *\n * If the VE is present (which is for older versions of Angular) then NgClass will inject\n * the legacy diffing algorithm as a service and delegate all styling changes to that.\n *\n * If the VE is not present then NgStyle will normalize (through the injected service) and\n * then write all styling changes to the `[style]` binding directly (through a host binding).\n * Then Angular will notice the host binding change and treat the changes as styling\n * changes and apply them via the core styling instructions that exist within Angular.\n */\n// used when the VE is present\n/** @type {?} */\nconst ngClassDirectiveDef__PRE_R3__ = undefined;\n// used when the VE is not present (note the directive will\n// never be instantiated normally because it is apart of a\n// base class)\nconst ɵ0 = /**\n * @return {?}\n */\nfunction () { }, ɵ1 = /**\n * @return {?}\n */\n() => { }, ɵ2 = /**\n * @param {?} rf\n * @param {?} ctx\n * @param {?} elIndex\n * @return {?}\n */\nfunction (rf, ctx, elIndex) {\n    if (rf & 1 /* Create */) {\n        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵallocHostVars\"])(1);\n        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵstyling\"])();\n    }\n    if (rf & 2 /* Update */) {\n        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵclassMap\"])(ctx.getValue());\n        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵstylingApply\"])();\n    }\n};\n/** @type {?} */\nconst ngClassDirectiveDef__POST_R3__ = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineDirective\"])({\n    type: (/** @type {?} */ ((ɵ0))),\n    selectors: (/** @type {?} */ (null)),\n    factory: (ɵ1),\n    hostBindings: (ɵ2)\n});\n/** @type {?} */\nconst ngClassDirectiveDef = ngClassDirectiveDef__PRE_R3__;\n/**\n * Serves as the base non-VE container for NgClass.\n *\n * While this is a base class that NgClass extends from, the\n * class itself acts as a container for non-VE code to setup\n * a link to the `[class]` host binding (via the static\n * `ngDirectiveDef` property on the class).\n *\n * Note that the `ngDirectiveDef` property's code is switched\n * depending if VE is present or not (this allows for the\n * binding code to be set only for newer versions of Angular).\n *\n * \\@publicApi\n */\nclass NgClassBase {\n    /**\n     * @param {?} _delegate\n     */\n    constructor(_delegate) {\n        this._delegate = _delegate;\n    }\n    /**\n     * @return {?}\n     */\n    getValue() { return this._delegate.getValue(); }\n}\n/** @nocollapse */ NgClassBase.ngDirectiveDef = ngClassDirectiveDef;\nif (false) {}\n/**\n * \\@ngModule CommonModule\n *\n * \\@usageNotes\n * ```\n *     <some-element [ngClass]=\"'first second'\">...</some-element>\n *\n *     <some-element [ngClass]=\"['first', 'second']\">...</some-element>\n *\n *     <some-element [ngClass]=\"{'first': true, 'second': true, 'third': false}\">...</some-element>\n *\n *     <some-element [ngClass]=\"stringExp|arrayExp|objExp\">...</some-element>\n *\n *     <some-element [ngClass]=\"{'class1 class2 class3' : true}\">...</some-element>\n * ```\n *\n * \\@description\n *\n * Adds and removes CSS classes on an HTML element.\n *\n * The CSS classes are updated as follows, depending on the type of the expression evaluation:\n * - `string` - the CSS classes listed in the string (space delimited) are added,\n * - `Array` - the CSS classes declared as Array elements are added,\n * - `Object` - keys are CSS classes that get added when the expression given in the value\n *              evaluates to a truthy value, otherwise they are removed.\n *\n * \\@publicApi\n */\nclass NgClass extends NgClassBase {\n    /**\n     * @param {?} delegate\n     */\n    constructor(delegate) { super(delegate); }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    set klass(value) { this._delegate.setClass(value); }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    set ngClass(value) {\n        this._delegate.setNgClass(value);\n    }\n    /**\n     * @return {?}\n     */\n    ngDoCheck() { this._delegate.applyChanges(); }\n}\nNgClass.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: '[ngClass]', providers: [NgClassImplProvider] },] }\n];\n/** @nocollapse */\nNgClass.ctorParameters = () => [\n    { type: NgClassImpl }\n];\nNgClass.propDecorators = {\n    klass: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"], args: ['class',] }],\n    ngClass: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"], args: ['ngClass',] }]\n};\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Instantiates a single {\\@link Component} type and inserts its Host View into current View.\n * `NgComponentOutlet` provides a declarative approach for dynamic component creation.\n *\n * `NgComponentOutlet` requires a component type, if a falsy value is set the view will clear and\n * any existing component will get destroyed.\n *\n * \\@usageNotes\n *\n * ### Fine tune control\n *\n * You can control the component creation process by using the following optional attributes:\n *\n * * `ngComponentOutletInjector`: Optional custom {\\@link Injector} that will be used as parent for\n * the Component. Defaults to the injector of the current view container.\n *\n * * `ngComponentOutletContent`: Optional list of projectable nodes to insert into the content\n * section of the component, if exists.\n *\n * * `ngComponentOutletNgModuleFactory`: Optional module factory to allow dynamically loading other\n * module, then load a component from that module.\n *\n * ### Syntax\n *\n * Simple\n * ```\n * <ng-container *ngComponentOutlet=\"componentTypeExpression\"></ng-container>\n * ```\n *\n * Customized injector/content\n * ```\n * <ng-container *ngComponentOutlet=\"componentTypeExpression;\n *                                   injector: injectorExpression;\n *                                   content: contentNodesExpression;\">\n * </ng-container>\n * ```\n *\n * Customized ngModuleFactory\n * ```\n * <ng-container *ngComponentOutlet=\"componentTypeExpression;\n *                                   ngModuleFactory: moduleFactory;\">\n * </ng-container>\n * ```\n *\n * ### A simple example\n *\n * {\\@example common/ngComponentOutlet/ts/module.ts region='SimpleExample'}\n *\n * A more complete example with additional options:\n *\n * {\\@example common/ngComponentOutlet/ts/module.ts region='CompleteExample'}\n *\n * \\@publicApi\n * \\@ngModule CommonModule\n */\nclass NgComponentOutlet {\n    /**\n     * @param {?} _viewContainerRef\n     */\n    constructor(_viewContainerRef) {\n        this._viewContainerRef = _viewContainerRef;\n        this._componentRef = null;\n        this._moduleRef = null;\n    }\n    /**\n     * @param {?} changes\n     * @return {?}\n     */\n    ngOnChanges(changes) {\n        this._viewContainerRef.clear();\n        this._componentRef = null;\n        if (this.ngComponentOutlet) {\n            /** @type {?} */\n            const elInjector = this.ngComponentOutletInjector || this._viewContainerRef.parentInjector;\n            if (changes['ngComponentOutletNgModuleFactory']) {\n                if (this._moduleRef)\n                    this._moduleRef.destroy();\n                if (this.ngComponentOutletNgModuleFactory) {\n                    /** @type {?} */\n                    const parentModule = elInjector.get(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModuleRef\"]);\n                    this._moduleRef = this.ngComponentOutletNgModuleFactory.create(parentModule.injector);\n                }\n                else {\n                    this._moduleRef = null;\n                }\n            }\n            /** @type {?} */\n            const componentFactoryResolver = this._moduleRef ? this._moduleRef.componentFactoryResolver :\n                elInjector.get(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ComponentFactoryResolver\"]);\n            /** @type {?} */\n            const componentFactory = componentFactoryResolver.resolveComponentFactory(this.ngComponentOutlet);\n            this._componentRef = this._viewContainerRef.createComponent(componentFactory, this._viewContainerRef.length, elInjector, this.ngComponentOutletContent);\n        }\n    }\n    /**\n     * @return {?}\n     */\n    ngOnDestroy() {\n        if (this._moduleRef)\n            this._moduleRef.destroy();\n    }\n}\nNgComponentOutlet.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: '[ngComponentOutlet]' },] }\n];\n/** @nocollapse */\nNgComponentOutlet.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ViewContainerRef\"] }\n];\nNgComponentOutlet.propDecorators = {\n    ngComponentOutlet: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"] }],\n    ngComponentOutletInjector: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"] }],\n    ngComponentOutletContent: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"] }],\n    ngComponentOutletNgModuleFactory: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"] }]\n};\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@publicApi\n * @template T\n */\nclass NgForOfContext {\n    /**\n     * @param {?} $implicit\n     * @param {?} ngForOf\n     * @param {?} index\n     * @param {?} count\n     */\n    constructor($implicit, ngForOf, index, count) {\n        this.$implicit = $implicit;\n        this.ngForOf = ngForOf;\n        this.index = index;\n        this.count = count;\n    }\n    /**\n     * @return {?}\n     */\n    get first() { return this.index === 0; }\n    /**\n     * @return {?}\n     */\n    get last() { return this.index === this.count - 1; }\n    /**\n     * @return {?}\n     */\n    get even() { return this.index % 2 === 0; }\n    /**\n     * @return {?}\n     */\n    get odd() { return !this.even; }\n}\nif (false) {}\n/**\n * A [structural directive](guide/structural-directives) that renders\n * a template for each item in a collection.\n * The directive is placed on an element, which becomes the parent\n * of the cloned templates.\n *\n * The `ngForOf` directive is generally used in the\n * [shorthand form](guide/structural-directives#the-asterisk--prefix) `*ngFor`.\n * In this form, the template to be rendered for each iteration is the content\n * of an anchor element containing the directive.\n *\n * The following example shows the shorthand syntax with some options,\n * contained in an `<li>` element.\n *\n * ```\n * <li *ngFor=\"let item of items; index as i; trackBy: trackByFn\">...</li>\n * ```\n *\n * The shorthand form expands into a long form that uses the `ngForOf` selector\n * on an `<ng-template>` element.\n * The content of the `<ng-template>` element is the `<li>` element that held the\n * short-form directive.\n *\n * Here is the expanded version of the short-form example.\n *\n * ```\n * <ng-template ngFor let-item [ngForOf]=\"items\" let-i=\"index\" [ngForTrackBy]=\"trackByFn\">\n *   <li>...</li>\n * </ng-template>\n * ```\n *\n * Angular automatically expands the shorthand syntax as it compiles the template.\n * The context for each embedded view is logically merged to the current component\n * context according to its lexical position.\n *\n * When using the shorthand syntax, Angular allows only [one structural directive\n * on an element](guide/structural-directives#one-structural-directive-per-host-element).\n * If you want to iterate conditionally, for example,\n * put the `*ngIf` on a container element that wraps the `*ngFor` element.\n * For futher discussion, see\n * [Structural Directives](guide/structural-directives#one-per-element).\n *\n * \\@usageNotes\n *\n * ### Local variables\n *\n * `NgForOf` provides exported values that can be aliased to local variables.\n * For example:\n *\n *  ```\n * <li *ngFor=\"let user of userObservable | async as users; index as i; first as isFirst\">\n *    {{i}}/{{users.length}}. {{user}} <span *ngIf=\"isFirst\">default</span>\n * </li>\n * ```\n *\n * The following exported values can be aliased to local variables:\n *\n * - `$implicit: T`: The value of the individual items in the iterable (`ngForOf`).\n * - `ngForOf: NgIterable<T>`: The value of the iterable expression. Useful when the expression is\n * more complex then a property access, for example when using the async pipe (`userStreams |\n * async`).\n * - `index: number`: The index of the current item in the iterable.\n * - `first: boolean`: True when the item is the first item in the iterable.\n * - `last: boolean`: True when the item is the last item in the iterable.\n * - `even: boolean`: True when the item has an even index in the iterable.\n * - `odd: boolean`: True when the item has an odd index in the iterable.\n *\n * ### Change propagation\n *\n * When the contents of the iterator changes, `NgForOf` makes the corresponding changes to the DOM:\n *\n * * When an item is added, a new instance of the template is added to the DOM.\n * * When an item is removed, its template instance is removed from the DOM.\n * * When items are reordered, their respective templates are reordered in the DOM.\n *\n * Angular uses object identity to track insertions and deletions within the iterator and reproduce\n * those changes in the DOM. This has important implications for animations and any stateful\n * controls that are present, such as `<input>` elements that accept user input. Inserted rows can\n * be animated in, deleted rows can be animated out, and unchanged rows retain any unsaved state\n * such as user input.\n * For more on animations, see [Transitions and Triggers](guide/transition-and-triggers).\n *\n * The identities of elements in the iterator can change while the data does not.\n * This can happen, for example, if the iterator is produced from an RPC to the server, and that\n * RPC is re-run. Even if the data hasn't changed, the second response produces objects with\n * different identities, and Angular must tear down the entire DOM and rebuild it (as if all old\n * elements were deleted and all new elements inserted).\n *\n * To avoid this expensive operation, you can customize the default tracking algorithm.\n * by supplying the `trackBy` option to `NgForOf`.\n * `trackBy` takes a function that has two arguments: `index` and `item`.\n * If `trackBy` is given, Angular tracks changes by the return value of the function.\n *\n * @see [Structural Directives](guide/structural-directives)\n * \\@ngModule CommonModule\n * \\@publicApi\n * @template T\n */\nclass NgForOf {\n    /**\n     * @param {?} _viewContainer\n     * @param {?} _template\n     * @param {?} _differs\n     */\n    constructor(_viewContainer, _template, _differs) {\n        this._viewContainer = _viewContainer;\n        this._template = _template;\n        this._differs = _differs;\n        this._ngForOfDirty = true;\n        this._differ = null;\n    }\n    /**\n     * The value of the iterable expression, which can be used as a\n     * [template input variable](guide/structural-directives#template-input-variable).\n     * @param {?} ngForOf\n     * @return {?}\n     */\n    set ngForOf(ngForOf) {\n        this._ngForOf = ngForOf;\n        this._ngForOfDirty = true;\n    }\n    /**\n     * A function that defines how to track changes for items in the iterable.\n     *\n     * When items are added, moved, or removed in the iterable,\n     * the directive must re-render the appropriate DOM nodes.\n     * To minimize churn in the DOM, only nodes that have changed\n     * are re-rendered.\n     *\n     * By default, the change detector assumes that\n     * the object instance identifies the node in the iterable.\n     * When this function is supplied, the directive uses\n     * the result of calling this function to identify the item node,\n     * rather than the identity of the object itself.\n     *\n     * The function receives two inputs,\n     * the iteration index and the node object ID.\n     * @param {?} fn\n     * @return {?}\n     */\n    set ngForTrackBy(fn) {\n        if (Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"isDevMode\"])() && fn != null && typeof fn !== 'function') {\n            // TODO(vicb): use a log service once there is a public one available\n            if ((/** @type {?} */ (console)) && (/** @type {?} */ (console.warn))) {\n                console.warn(`trackBy must be a function, but received ${JSON.stringify(fn)}. ` +\n                    `See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information.`);\n            }\n        }\n        this._trackByFn = fn;\n    }\n    /**\n     * @return {?}\n     */\n    get ngForTrackBy() { return this._trackByFn; }\n    /**\n     * A reference to the template that is stamped out for each item in the iterable.\n     * @see [template reference variable](guide/template-syntax#template-reference-variables--var-)\n     * @param {?} value\n     * @return {?}\n     */\n    set ngForTemplate(value) {\n        // TODO(TS2.1): make TemplateRef<Partial<NgForRowOf<T>>> once we move to TS v2.1\n        // The current type is too restrictive; a template that just uses index, for example,\n        // should be acceptable.\n        if (value) {\n            this._template = value;\n        }\n    }\n    /**\n     * Applies the changes when needed.\n     * @return {?}\n     */\n    ngDoCheck() {\n        if (this._ngForOfDirty) {\n            this._ngForOfDirty = false;\n            // React on ngForOf changes only once all inputs have been initialized\n            /** @type {?} */\n            const value = this._ngForOf;\n            if (!this._differ && value) {\n                try {\n                    this._differ = this._differs.find(value).create(this.ngForTrackBy);\n                }\n                catch (_a) {\n                    throw new Error(`Cannot find a differ supporting object '${value}' of type '${getTypeName(value)}'. NgFor only supports binding to Iterables such as Arrays.`);\n                }\n            }\n        }\n        if (this._differ) {\n            /** @type {?} */\n            const changes = this._differ.diff(this._ngForOf);\n            if (changes)\n                this._applyChanges(changes);\n        }\n    }\n    /**\n     * @private\n     * @param {?} changes\n     * @return {?}\n     */\n    _applyChanges(changes) {\n        /** @type {?} */\n        const insertTuples = [];\n        changes.forEachOperation((/**\n         * @param {?} item\n         * @param {?} adjustedPreviousIndex\n         * @param {?} currentIndex\n         * @return {?}\n         */\n        (item, adjustedPreviousIndex, currentIndex) => {\n            if (item.previousIndex == null) {\n                /** @type {?} */\n                const view = this._viewContainer.createEmbeddedView(this._template, new NgForOfContext((/** @type {?} */ (null)), this._ngForOf, -1, -1), currentIndex === null ? undefined : currentIndex);\n                /** @type {?} */\n                const tuple = new RecordViewTuple(item, view);\n                insertTuples.push(tuple);\n            }\n            else if (currentIndex == null) {\n                this._viewContainer.remove(adjustedPreviousIndex === null ? undefined : adjustedPreviousIndex);\n            }\n            else if (adjustedPreviousIndex !== null) {\n                /** @type {?} */\n                const view = (/** @type {?} */ (this._viewContainer.get(adjustedPreviousIndex)));\n                this._viewContainer.move(view, currentIndex);\n                /** @type {?} */\n                const tuple = new RecordViewTuple(item, (/** @type {?} */ (view)));\n                insertTuples.push(tuple);\n            }\n        }));\n        for (let i = 0; i < insertTuples.length; i++) {\n            this._perViewChange(insertTuples[i].view, insertTuples[i].record);\n        }\n        for (let i = 0, ilen = this._viewContainer.length; i < ilen; i++) {\n            /** @type {?} */\n            const viewRef = (/** @type {?} */ (this._viewContainer.get(i)));\n            viewRef.context.index = i;\n            viewRef.context.count = ilen;\n            viewRef.context.ngForOf = this._ngForOf;\n        }\n        changes.forEachIdentityChange((/**\n         * @param {?} record\n         * @return {?}\n         */\n        (record) => {\n            /** @type {?} */\n            const viewRef = (/** @type {?} */ (this._viewContainer.get(record.currentIndex)));\n            viewRef.context.$implicit = record.item;\n        }));\n    }\n    /**\n     * @private\n     * @param {?} view\n     * @param {?} record\n     * @return {?}\n     */\n    _perViewChange(view, record) {\n        view.context.$implicit = record.item;\n    }\n    /**\n     * Asserts the correct type of the context for the template that `NgForOf` will render.\n     *\n     * The presence of this method is a signal to the Ivy template type-check compiler that the\n     * `NgForOf` structural directive renders its template with a specific context type.\n     * @template T\n     * @param {?} dir\n     * @param {?} ctx\n     * @return {?}\n     */\n    static ngTemplateContextGuard(dir, ctx) {\n        return true;\n    }\n}\nNgForOf.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: '[ngFor][ngForOf]' },] }\n];\n/** @nocollapse */\nNgForOf.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ViewContainerRef\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"TemplateRef\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"IterableDiffers\"] }\n];\nNgForOf.propDecorators = {\n    ngForOf: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"] }],\n    ngForTrackBy: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"] }],\n    ngForTemplate: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"] }]\n};\nif (false) {}\n/**\n * @template T\n */\nclass RecordViewTuple {\n    /**\n     * @param {?} record\n     * @param {?} view\n     */\n    constructor(record, view) {\n        this.record = record;\n        this.view = view;\n    }\n}\nif (false) {}\n/**\n * @param {?} type\n * @return {?}\n */\nfunction getTypeName(type) {\n    return type['name'] || typeof type;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * A structural directive that conditionally includes a template based on the value of\n * an expression coerced to Boolean.\n * When the expression evaluates to true, Angular renders the template\n * provided in a `then` clause, and when  false or null,\n * Angular renders the template provided in an optional `else` clause. The default\n * template for the `else` clause is blank.\n *\n * A [shorthand form](guide/structural-directives#the-asterisk--prefix) of the directive,\n * `*ngIf=\"condition\"`, is generally used, provided\n * as an attribute of the anchor element for the inserted template.\n * Angular expands this into a more explicit version, in which the anchor element\n * is contained in an `<ng-template>` element.\n *\n * Simple form with shorthand syntax:\n *\n * ```\n * <div *ngIf=\"condition\">Content to render when condition is true.</div>\n * ```\n *\n * Simple form with expanded syntax:\n *\n * ```\n * <ng-template [ngIf]=\"condition\"><div>Content to render when condition is\n * true.</div></ng-template>\n * ```\n *\n * Form with an \"else\" block:\n *\n * ```\n * <div *ngIf=\"condition; else elseBlock\">Content to render when condition is true.</div>\n * <ng-template #elseBlock>Content to render when condition is false.</ng-template>\n * ```\n *\n * Shorthand form with \"then\" and \"else\" blocks:\n *\n * ```\n * <div *ngIf=\"condition; then thenBlock else elseBlock\"></div>\n * <ng-template #thenBlock>Content to render when condition is true.</ng-template>\n * <ng-template #elseBlock>Content to render when condition is false.</ng-template>\n * ```\n *\n * Form with storing the value locally:\n *\n * ```\n * <div *ngIf=\"condition as value; else elseBlock\">{{value}}</div>\n * <ng-template #elseBlock>Content to render when value is null.</ng-template>\n * ```\n *\n * \\@usageNotes\n *\n * The `*ngIf` directive is most commonly used to conditionally show an inline template,\n * as seen in the following  example.\n * The default `else` template is blank.\n *\n * {\\@example common/ngIf/ts/module.ts region='NgIfSimple'}\n *\n * ### Showing an alternative template using `else`\n *\n * To display a template when `expression` evaluates to false, use an `else` template\n * binding as shown in the following example.\n * The `else` binding points to an `<ng-template>`  element labeled `#elseBlock`.\n * The template can be defined anywhere in the component view, but is typically placed right after\n * `ngIf` for readability.\n *\n * {\\@example common/ngIf/ts/module.ts region='NgIfElse'}\n *\n * ### Using an external `then` template\n *\n * In the previous example, the then-clause template is specified inline, as the content of the\n * tag that contains the `ngIf` directive. You can also specify a template that is defined\n * externally, by referencing a labeled `<ng-template>` element. When you do this, you can\n * change which template to use at runtime, as shown in the following example.\n *\n * {\\@example common/ngIf/ts/module.ts region='NgIfThenElse'}\n *\n * ### Storing a conditional result in a variable\n *\n * You might want to show a set of properties from the same object. If you are waiting\n * for asynchronous data, the object can be undefined.\n * In this case, you can use `ngIf` and store the result of the condition in a local\n * variable as shown in the the following example.\n *\n * {\\@example common/ngIf/ts/module.ts region='NgIfAs'}\n *\n * This code uses only one `AsyncPipe`, so only one subscription is created.\n * The conditional statement stores the result of `userStream|async` in the local variable `user`.\n * You can then bind the local `user` repeatedly.\n *\n * The conditional displays the data only if `userStream` returns a value,\n * so you don't need to use the\n * [safe-navigation-operator](guide/template-syntax#safe-navigation-operator) (`?.`)\n * to guard against null values when accessing properties.\n * You can display an alternative template while waiting for the data.\n *\n * ### Shorthand syntax\n *\n * The shorthand syntax `*ngIf` expands into two separate template specifications\n * for the \"then\" and \"else\" clauses. For example, consider the following shorthand statement,\n * that is meant to show a loading page while waiting for data to be loaded.\n *\n * ```\n * <div class=\"hero-list\" *ngIf=\"heroes else loading\">\n *  ...\n * </div>\n *\n * <ng-template #loading>\n *  <div>Loading...</div>\n * </ng-template>\n * ```\n *\n * You can see that the \"else\" clause references the `<ng-template>`\n * with the `#loading` label, and the template for the \"then\" clause\n * is provided as the content of the anchor element.\n *\n * However, when Angular expands the shorthand syntax, it creates\n * another `<ng-template>` tag, with `ngIf` and `ngIfElse` directives.\n * The anchor element containing the template for the \"then\" clause becomes\n * the content of this unlabeled `<ng-template>` tag.\n *\n * ```\n * <ng-template [ngIf]=\"hero-list\" [ngIfElse]=\"loading\">\n *  <div class=\"hero-list\">\n *   ...\n *  </div>\n * </ng-template>\n *\n * <ng-template #loading>\n *  <div>Loading...</div>\n * </ng-template>\n * ```\n *\n * The presence of the implicit template object has implications for the nesting of\n * structural directives. For more on this subject, see\n * [Structural Directives](https://angular.io/guide/structural-directives#one-per-element).\n *\n * \\@ngModule CommonModule\n * \\@publicApi\n */\nclass NgIf {\n    /**\n     * @param {?} _viewContainer\n     * @param {?} templateRef\n     */\n    constructor(_viewContainer, templateRef) {\n        this._viewContainer = _viewContainer;\n        this._context = new NgIfContext();\n        this._thenTemplateRef = null;\n        this._elseTemplateRef = null;\n        this._thenViewRef = null;\n        this._elseViewRef = null;\n        this._thenTemplateRef = templateRef;\n    }\n    /**\n     * The Boolean expression to evaluate as the condition for showing a template.\n     * @param {?} condition\n     * @return {?}\n     */\n    set ngIf(condition) {\n        this._context.$implicit = this._context.ngIf = condition;\n        this._updateView();\n    }\n    /**\n     * A template to show if the condition expression evaluates to true.\n     * @param {?} templateRef\n     * @return {?}\n     */\n    set ngIfThen(templateRef) {\n        assertTemplate('ngIfThen', templateRef);\n        this._thenTemplateRef = templateRef;\n        this._thenViewRef = null; // clear previous view if any.\n        this._updateView();\n    }\n    /**\n     * A template to show if the condition expression evaluates to false.\n     * @param {?} templateRef\n     * @return {?}\n     */\n    set ngIfElse(templateRef) {\n        assertTemplate('ngIfElse', templateRef);\n        this._elseTemplateRef = templateRef;\n        this._elseViewRef = null; // clear previous view if any.\n        this._updateView();\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _updateView() {\n        if (this._context.$implicit) {\n            if (!this._thenViewRef) {\n                this._viewContainer.clear();\n                this._elseViewRef = null;\n                if (this._thenTemplateRef) {\n                    this._thenViewRef =\n                        this._viewContainer.createEmbeddedView(this._thenTemplateRef, this._context);\n                }\n            }\n        }\n        else {\n            if (!this._elseViewRef) {\n                this._viewContainer.clear();\n                this._thenViewRef = null;\n                if (this._elseTemplateRef) {\n                    this._elseViewRef =\n                        this._viewContainer.createEmbeddedView(this._elseTemplateRef, this._context);\n                }\n            }\n        }\n    }\n}\nNgIf.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: '[ngIf]' },] }\n];\n/** @nocollapse */\nNgIf.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ViewContainerRef\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"TemplateRef\"] }\n];\nNgIf.propDecorators = {\n    ngIf: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"] }],\n    ngIfThen: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"] }],\n    ngIfElse: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"] }]\n};\nif (false) {}\n/**\n * \\@publicApi\n */\nclass NgIfContext {\n    constructor() {\n        this.$implicit = null;\n        this.ngIf = null;\n    }\n}\nif (false) {}\n/**\n * @param {?} property\n * @param {?} templateRef\n * @return {?}\n */\nfunction assertTemplate(property, templateRef) {\n    /** @type {?} */\n    const isTemplateRefOrNull = !!(!templateRef || templateRef.createEmbeddedView);\n    if (!isTemplateRefOrNull) {\n        throw new Error(`${property} must be a TemplateRef, but received '${Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵstringify\"])(templateRef)}'.`);\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass SwitchView {\n    /**\n     * @param {?} _viewContainerRef\n     * @param {?} _templateRef\n     */\n    constructor(_viewContainerRef, _templateRef) {\n        this._viewContainerRef = _viewContainerRef;\n        this._templateRef = _templateRef;\n        this._created = false;\n    }\n    /**\n     * @return {?}\n     */\n    create() {\n        this._created = true;\n        this._viewContainerRef.createEmbeddedView(this._templateRef);\n    }\n    /**\n     * @return {?}\n     */\n    destroy() {\n        this._created = false;\n        this._viewContainerRef.clear();\n    }\n    /**\n     * @param {?} created\n     * @return {?}\n     */\n    enforceState(created) {\n        if (created && !this._created) {\n            this.create();\n        }\n        else if (!created && this._created) {\n            this.destroy();\n        }\n    }\n}\nif (false) {}\n/**\n * \\@ngModule CommonModule\n *\n * \\@description A structural directive that adds or removes templates (displaying or hiding views)\n * when the next match expression matches the switch expression.\n *\n * The `[ngSwitch]` directive on a container specifies an expression to match against.\n * The expressions to match are provided by `ngSwitchCase` directives on views within the container.\n * - Every view that matches is rendered.\n * - If there are no matches, a view with the `ngSwitchDefault` directive is rendered.\n * - Elements within the `[NgSwitch]` statement but outside of any `NgSwitchCase`\n * or `ngSwitchDefault` directive are preserved at the location.\n *\n * \\@usageNotes\n * Define a container element for the directive, and specify the switch expression\n * to match against as an attribute:\n *\n * ```\n * <container-element [ngSwitch]=\"switch_expression\">\n * ```\n *\n * Within the container, `*ngSwitchCase` statements specify the match expressions\n * as attributes. Include `*ngSwitchDefault` as the final case.\n *\n * ```\n * <container-element [ngSwitch]=\"switch_expression\">\n *    <some-element *ngSwitchCase=\"match_expression_1\">...</some-element>\n * ...\n *    <some-element *ngSwitchDefault>...</some-element>\n * </container-element>\n * ```\n *\n * ### Usage Examples\n *\n * The following example shows how to use more than one case to display the same view:\n *\n * ```\n * <container-element [ngSwitch]=\"switch_expression\">\n *   <!-- the same view can be shown in more than one case -->\n *   <some-element *ngSwitchCase=\"match_expression_1\">...</some-element>\n *   <some-element *ngSwitchCase=\"match_expression_2\">...</some-element>\n *   <some-other-element *ngSwitchCase=\"match_expression_3\">...</some-other-element>\n *   <!--default case when there are no matches -->\n *   <some-element *ngSwitchDefault>...</some-element>\n * </container-element>\n * ```\n *\n * The following example shows how cases can be nested:\n * ```\n * <container-element [ngSwitch]=\"switch_expression\">\n *       <some-element *ngSwitchCase=\"match_expression_1\">...</some-element>\n *       <some-element *ngSwitchCase=\"match_expression_2\">...</some-element>\n *       <some-other-element *ngSwitchCase=\"match_expression_3\">...</some-other-element>\n *       <ng-container *ngSwitchCase=\"match_expression_3\">\n *         <!-- use a ng-container to group multiple root nodes -->\n *         <inner-element></inner-element>\n *         <inner-other-element></inner-other-element>\n *       </ng-container>\n *       <some-element *ngSwitchDefault>...</some-element>\n *     </container-element>\n * ```\n *\n * \\@publicApi\n * @see `NgSwitchCase`\n * @see `NgSwitchDefault`\n * @see [Structural Directives](guide/structural-directives)\n *\n */\nclass NgSwitch {\n    constructor() {\n        this._defaultUsed = false;\n        this._caseCount = 0;\n        this._lastCaseCheckIndex = 0;\n        this._lastCasesMatched = false;\n    }\n    /**\n     * @param {?} newValue\n     * @return {?}\n     */\n    set ngSwitch(newValue) {\n        this._ngSwitch = newValue;\n        if (this._caseCount === 0) {\n            this._updateDefaultCases(true);\n        }\n    }\n    /**\n     * \\@internal\n     * @return {?}\n     */\n    _addCase() { return this._caseCount++; }\n    /**\n     * \\@internal\n     * @param {?} view\n     * @return {?}\n     */\n    _addDefault(view) {\n        if (!this._defaultViews) {\n            this._defaultViews = [];\n        }\n        this._defaultViews.push(view);\n    }\n    /**\n     * \\@internal\n     * @param {?} value\n     * @return {?}\n     */\n    _matchCase(value) {\n        /** @type {?} */\n        const matched = value == this._ngSwitch;\n        this._lastCasesMatched = this._lastCasesMatched || matched;\n        this._lastCaseCheckIndex++;\n        if (this._lastCaseCheckIndex === this._caseCount) {\n            this._updateDefaultCases(!this._lastCasesMatched);\n            this._lastCaseCheckIndex = 0;\n            this._lastCasesMatched = false;\n        }\n        return matched;\n    }\n    /**\n     * @private\n     * @param {?} useDefault\n     * @return {?}\n     */\n    _updateDefaultCases(useDefault) {\n        if (this._defaultViews && useDefault !== this._defaultUsed) {\n            this._defaultUsed = useDefault;\n            for (let i = 0; i < this._defaultViews.length; i++) {\n                /** @type {?} */\n                const defaultView = this._defaultViews[i];\n                defaultView.enforceState(useDefault);\n            }\n        }\n    }\n}\nNgSwitch.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: '[ngSwitch]' },] }\n];\nNgSwitch.propDecorators = {\n    ngSwitch: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"] }]\n};\nif (false) {}\n/**\n * \\@ngModule CommonModule\n *\n * \\@description\n * Provides a switch case expression to match against an enclosing `ngSwitch` expression.\n * When the expressions match, the given `NgSwitchCase` template is rendered.\n * If multiple match expressions match the switch expression value, all of them are displayed.\n *\n * \\@usageNotes\n *\n * Within a switch container, `*ngSwitchCase` statements specify the match expressions\n * as attributes. Include `*ngSwitchDefault` as the final case.\n *\n * ```\n * <container-element [ngSwitch]=\"switch_expression\">\n *   <some-element *ngSwitchCase=\"match_expression_1\">...</some-element>\n *   ...\n *   <some-element *ngSwitchDefault>...</some-element>\n * </container-element>\n * ```\n *\n * Each switch-case statement contains an in-line HTML template or template reference\n * that defines the subtree to be selected if the value of the match expression\n * matches the value of the switch expression.\n *\n * Unlike JavaScript, which uses strict equality, Angular uses loose equality.\n * This means that the empty string, `\"\"` matches 0.\n *\n * \\@publicApi\n * @see `NgSwitch`\n * @see `NgSwitchDefault`\n *\n */\nclass NgSwitchCase {\n    /**\n     * @param {?} viewContainer\n     * @param {?} templateRef\n     * @param {?} ngSwitch\n     */\n    constructor(viewContainer, templateRef, ngSwitch) {\n        this.ngSwitch = ngSwitch;\n        ngSwitch._addCase();\n        this._view = new SwitchView(viewContainer, templateRef);\n    }\n    /**\n     * Performs case matching. For internal use only.\n     * @return {?}\n     */\n    ngDoCheck() { this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase)); }\n}\nNgSwitchCase.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: '[ngSwitchCase]' },] }\n];\n/** @nocollapse */\nNgSwitchCase.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ViewContainerRef\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"TemplateRef\"] },\n    { type: NgSwitch, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Host\"] }] }\n];\nNgSwitchCase.propDecorators = {\n    ngSwitchCase: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"] }]\n};\nif (false) {}\n/**\n * \\@ngModule CommonModule\n *\n * \\@description\n *\n * Creates a view that is rendered when no `NgSwitchCase` expressions\n * match the `NgSwitch` expression.\n * This statement should be the final case in an `NgSwitch`.\n *\n * \\@publicApi\n * @see `NgSwitch`\n * @see `NgSwitchCase`\n *\n */\nclass NgSwitchDefault {\n    /**\n     * @param {?} viewContainer\n     * @param {?} templateRef\n     * @param {?} ngSwitch\n     */\n    constructor(viewContainer, templateRef, ngSwitch) {\n        ngSwitch._addDefault(new SwitchView(viewContainer, templateRef));\n    }\n}\nNgSwitchDefault.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: '[ngSwitchDefault]' },] }\n];\n/** @nocollapse */\nNgSwitchDefault.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ViewContainerRef\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"TemplateRef\"] },\n    { type: NgSwitch, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Host\"] }] }\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@ngModule CommonModule\n *\n * \\@usageNotes\n * ```\n * <some-element [ngPlural]=\"value\">\n *   <ng-template ngPluralCase=\"=0\">there is nothing</ng-template>\n *   <ng-template ngPluralCase=\"=1\">there is one</ng-template>\n *   <ng-template ngPluralCase=\"few\">there are a few</ng-template>\n * </some-element>\n * ```\n *\n * \\@description\n *\n * Adds / removes DOM sub-trees based on a numeric value. Tailored for pluralization.\n *\n * Displays DOM sub-trees that match the switch expression value, or failing that, DOM sub-trees\n * that match the switch expression's pluralization category.\n *\n * To use this directive you must provide a container element that sets the `[ngPlural]` attribute\n * to a switch expression. Inner elements with a `[ngPluralCase]` will display based on their\n * expression:\n * - if `[ngPluralCase]` is set to a value starting with `=`, it will only display if the value\n *   matches the switch expression exactly,\n * - otherwise, the view will be treated as a \"category match\", and will only display if exact\n *   value matches aren't found and the value maps to its category for the defined locale.\n *\n * See http://cldr.unicode.org/index/cldr-spec/plural-rules\n *\n * \\@publicApi\n */\nclass NgPlural {\n    /**\n     * @param {?} _localization\n     */\n    constructor(_localization) {\n        this._localization = _localization;\n        this._caseViews = {};\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    set ngPlural(value) {\n        this._switchValue = value;\n        this._updateView();\n    }\n    /**\n     * @param {?} value\n     * @param {?} switchView\n     * @return {?}\n     */\n    addCase(value, switchView) { this._caseViews[value] = switchView; }\n    /**\n     * @private\n     * @return {?}\n     */\n    _updateView() {\n        this._clearViews();\n        /** @type {?} */\n        const cases = Object.keys(this._caseViews);\n        /** @type {?} */\n        const key = getPluralCategory(this._switchValue, cases, this._localization);\n        this._activateView(this._caseViews[key]);\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _clearViews() {\n        if (this._activeView)\n            this._activeView.destroy();\n    }\n    /**\n     * @private\n     * @param {?} view\n     * @return {?}\n     */\n    _activateView(view) {\n        if (view) {\n            this._activeView = view;\n            this._activeView.create();\n        }\n    }\n}\nNgPlural.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: '[ngPlural]' },] }\n];\n/** @nocollapse */\nNgPlural.ctorParameters = () => [\n    { type: NgLocalization }\n];\nNgPlural.propDecorators = {\n    ngPlural: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"] }]\n};\nif (false) {}\n/**\n * \\@ngModule CommonModule\n *\n * \\@description\n *\n * Creates a view that will be added/removed from the parent {\\@link NgPlural} when the\n * given expression matches the plural expression according to CLDR rules.\n *\n * \\@usageNotes\n * ```\n * <some-element [ngPlural]=\"value\">\n *   <ng-template ngPluralCase=\"=0\">...</ng-template>\n *   <ng-template ngPluralCase=\"other\">...</ng-template>\n * </some-element>\n * ```\n *\n * See {\\@link NgPlural} for more details and example.\n *\n * \\@publicApi\n */\nclass NgPluralCase {\n    /**\n     * @param {?} value\n     * @param {?} template\n     * @param {?} viewContainer\n     * @param {?} ngPlural\n     */\n    constructor(value, template, viewContainer, ngPlural) {\n        this.value = value;\n        /** @type {?} */\n        const isANumber = !isNaN(Number(value));\n        ngPlural.addCase(isANumber ? `=${value}` : value, new SwitchView(viewContainer, template));\n    }\n}\nNgPluralCase.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: '[ngPluralCase]' },] }\n];\n/** @nocollapse */\nNgPluralCase.ctorParameters = () => [\n    { type: String, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Attribute\"], args: ['ngPluralCase',] }] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"TemplateRef\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ViewContainerRef\"] },\n    { type: NgPlural, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Host\"] }] }\n];\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Used as a token for an injected service within the NgStyle directive.\n *\n * NgStyle behaves differenly whether or not VE is being used or not. If\n * present then the legacy ngClass diffing algorithm will be used as an\n * injected service. Otherwise the new diffing algorithm (which delegates\n * to the `[style]` binding) will be used. This toggle behavior is done so\n * via the ivy_switch mechanism.\n * @abstract\n */\nclass NgStyleImpl {\n}\nif (false) {}\nclass NgStyleR2Impl {\n    /**\n     * @param {?} _ngEl\n     * @param {?} _differs\n     * @param {?} _renderer\n     */\n    constructor(_ngEl, _differs, _renderer) {\n        this._ngEl = _ngEl;\n        this._differs = _differs;\n        this._renderer = _renderer;\n    }\n    /**\n     * @return {?}\n     */\n    getValue() { return null; }\n    /**\n     * A map of style properties, specified as colon-separated\n     * key-value pairs.\n     * * The key is a style name, with an optional `.<unit>` suffix\n     *    (such as 'top.px', 'font-style.em').\n     * * The value is an expression to be evaluated.\n     * @param {?} values\n     * @return {?}\n     */\n    setNgStyle(values) {\n        this._ngStyle = values;\n        if (!this._differ && values) {\n            this._differ = this._differs.find(values).create();\n        }\n    }\n    /**\n     * Applies the new styles if needed.\n     * @return {?}\n     */\n    applyChanges() {\n        if (this._differ) {\n            /** @type {?} */\n            const changes = this._differ.diff(this._ngStyle);\n            if (changes) {\n                this._applyChanges(changes);\n            }\n        }\n    }\n    /**\n     * @private\n     * @param {?} changes\n     * @return {?}\n     */\n    _applyChanges(changes) {\n        changes.forEachRemovedItem((/**\n         * @param {?} record\n         * @return {?}\n         */\n        (record) => this._setStyle(record.key, null)));\n        changes.forEachAddedItem((/**\n         * @param {?} record\n         * @return {?}\n         */\n        (record) => this._setStyle(record.key, record.currentValue)));\n        changes.forEachChangedItem((/**\n         * @param {?} record\n         * @return {?}\n         */\n        (record) => this._setStyle(record.key, record.currentValue)));\n    }\n    /**\n     * @private\n     * @param {?} nameAndUnit\n     * @param {?} value\n     * @return {?}\n     */\n    _setStyle(nameAndUnit, value) {\n        const [name, unit] = nameAndUnit.split('.');\n        value = value != null && unit ? `${value}${unit}` : value;\n        if (value != null) {\n            this._renderer.setStyle(this._ngEl.nativeElement, name, (/** @type {?} */ (value)));\n        }\n        else {\n            this._renderer.removeStyle(this._ngEl.nativeElement, name);\n        }\n    }\n}\nNgStyleR2Impl.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"] }\n];\n/** @nocollapse */\nNgStyleR2Impl.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"KeyValueDiffers\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Renderer2\"] }\n];\nif (false) {}\nclass NgStyleR3Impl {\n    constructor() {\n        this._differ = new StylingDiffer('NgStyle', 8 /* AllowUnits */);\n        this._value = null;\n    }\n    /**\n     * @return {?}\n     */\n    getValue() { return this._value; }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    setNgStyle(value) { this._differ.setValue(value); }\n    /**\n     * @return {?}\n     */\n    applyChanges() {\n        if (this._differ.hasValueChanged()) {\n            this._value = this._differ.value;\n        }\n    }\n}\nNgStyleR3Impl.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"] }\n];\nif (false) {}\n// the implementation for both NgClassR2Impl and NgClassR3Impl are\n// not ivy_switch'd away, instead they are only hooked up into the\n// DI via NgStyle's directive's provider property.\n/** @type {?} */\nconst NgStyleImplProvider__PRE_R3__ = {\n    provide: NgStyleImpl,\n    useClass: NgStyleR2Impl\n};\n/** @type {?} */\nconst NgStyleImplProvider__POST_R3__ = {\n    provide: NgStyleImpl,\n    useClass: NgStyleR3Impl\n};\n/** @type {?} */\nconst NgStyleImplProvider = NgStyleImplProvider__PRE_R3__;\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/*\n * NgStyle (as well as NgClass) behaves differently when loaded in the VE and when not.\n *\n * If the VE is present (which is for older versions of Angular) then NgStyle will inject\n * the legacy diffing algorithm as a service and delegate all styling changes to that.\n *\n * If the VE is not present then NgStyle will normalize (through the injected service) and\n * then write all styling changes to the `[style]` binding directly (through a host binding).\n * Then Angular will notice the host binding change and treat the changes as styling\n * changes and apply them via the core styling instructions that exist within Angular.\n */\n// used when the VE is present\n/** @type {?} */\nconst ngStyleDirectiveDef__PRE_R3__ = undefined;\n// used when the VE is not present (note the directive will\n// never be instantiated normally because it is apart of a\n// base class)\nconst ɵ0$1 = /**\n * @return {?}\n */\nfunction () { }, ɵ1$1 = /**\n * @return {?}\n */\n() => { }, ɵ2$1 = /**\n * @param {?} rf\n * @param {?} ctx\n * @param {?} elIndex\n * @return {?}\n */\nfunction (rf, ctx, elIndex) {\n    if (rf & 1 /* Create */) {\n        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵstyling\"])();\n    }\n    if (rf & 2 /* Update */) {\n        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵstyleMap\"])(ctx.getValue());\n        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵstylingApply\"])();\n    }\n};\n/** @type {?} */\nconst ngStyleDirectiveDef__POST_R3__ = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineDirective\"])({\n    type: (/** @type {?} */ ((ɵ0$1))),\n    selectors: (/** @type {?} */ (null)),\n    factory: (ɵ1$1),\n    hostBindings: (ɵ2$1)\n});\n/** @type {?} */\nconst ngStyleDirectiveDef = ngStyleDirectiveDef__PRE_R3__;\n/**\n * Serves as the base non-VE container for NgStyle.\n *\n * While this is a base class that NgStyle extends from, the\n * class itself acts as a container for non-VE code to setup\n * a link to the `[style]` host binding (via the static\n * `ngDirectiveDef` property on the class).\n *\n * Note that the `ngDirectiveDef` property's code is switched\n * depending if VE is present or not (this allows for the\n * binding code to be set only for newer versions of Angular).\n *\n * \\@publicApi\n */\nclass NgStyleBase {\n    /**\n     * @param {?} _delegate\n     */\n    constructor(_delegate) {\n        this._delegate = _delegate;\n    }\n    /**\n     * @return {?}\n     */\n    getValue() { return this._delegate.getValue(); }\n}\n/** @nocollapse */ NgStyleBase.ngDirectiveDef = ngStyleDirectiveDef;\nif (false) {}\n/**\n * \\@ngModule CommonModule\n *\n * \\@usageNotes\n *\n * Set the font of the containing element to the result of an expression.\n *\n * ```\n * <some-element [ngStyle]=\"{'font-style': styleExp}\">...</some-element>\n * ```\n *\n * Set the width of the containing element to a pixel value returned by an expression.\n *\n * ```\n * <some-element [ngStyle]=\"{'max-width.px': widthExp}\">...</some-element>\n * ```\n *\n * Set a collection of style values using an expression that returns key-value pairs.\n *\n * ```\n * <some-element [ngStyle]=\"objExp\">...</some-element>\n * ```\n *\n * \\@description\n *\n * An attribute directive that updates styles for the containing HTML element.\n * Sets one or more style properties, specified as colon-separated key-value pairs.\n * The key is a style name, with an optional `.<unit>` suffix\n * (such as 'top.px', 'font-style.em').\n * The value is an expression to be evaluated.\n * The resulting non-null value, expressed in the given unit,\n * is assigned to the given style property.\n * If the result of evaluation is null, the corresponding style is removed.\n *\n * \\@publicApi\n */\nclass NgStyle extends NgStyleBase {\n    /**\n     * @param {?} delegate\n     */\n    constructor(delegate) { super(delegate); }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    set ngStyle(value) { this._delegate.setNgStyle(value); }\n    /**\n     * @return {?}\n     */\n    ngDoCheck() { this._delegate.applyChanges(); }\n}\nNgStyle.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: '[ngStyle]', providers: [NgStyleImplProvider] },] }\n];\n/** @nocollapse */\nNgStyle.ctorParameters = () => [\n    { type: NgStyleImpl }\n];\nNgStyle.propDecorators = {\n    ngStyle: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"], args: ['ngStyle',] }]\n};\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@ngModule CommonModule\n *\n * \\@description\n *\n * Inserts an embedded view from a prepared `TemplateRef`.\n *\n * You can attach a context object to the `EmbeddedViewRef` by setting `[ngTemplateOutletContext]`.\n * `[ngTemplateOutletContext]` should be an object, the object's keys will be available for binding\n * by the local template `let` declarations.\n *\n * \\@usageNotes\n * ```\n * <ng-container *ngTemplateOutlet=\"templateRefExp; context: contextExp\"></ng-container>\n * ```\n *\n * Using the key `$implicit` in the context object will set its value as default.\n *\n * ### Example\n *\n * {\\@example common/ngTemplateOutlet/ts/module.ts region='NgTemplateOutlet'}\n *\n * \\@publicApi\n */\nclass NgTemplateOutlet {\n    /**\n     * @param {?} _viewContainerRef\n     */\n    constructor(_viewContainerRef) {\n        this._viewContainerRef = _viewContainerRef;\n        this._viewRef = null;\n        /**\n         * A context object to attach to the {\\@link EmbeddedViewRef}. This should be an\n         * object, the object's keys will be available for binding by the local template `let`\n         * declarations.\n         * Using the key `$implicit` in the context object will set its value as default.\n         */\n        this.ngTemplateOutletContext = null;\n        /**\n         * A string defining the template reference and optionally the context object for the template.\n         */\n        this.ngTemplateOutlet = null;\n    }\n    /**\n     * @param {?} changes\n     * @return {?}\n     */\n    ngOnChanges(changes) {\n        /** @type {?} */\n        const recreateView = this._shouldRecreateView(changes);\n        if (recreateView) {\n            if (this._viewRef) {\n                this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._viewRef));\n            }\n            if (this.ngTemplateOutlet) {\n                this._viewRef = this._viewContainerRef.createEmbeddedView(this.ngTemplateOutlet, this.ngTemplateOutletContext);\n            }\n        }\n        else {\n            if (this._viewRef && this.ngTemplateOutletContext) {\n                this._updateExistingContext(this.ngTemplateOutletContext);\n            }\n        }\n    }\n    /**\n     * We need to re-create existing embedded view if:\n     * - templateRef has changed\n     * - context has changes\n     *\n     * We mark context object as changed when the corresponding object\n     * shape changes (new properties are added or existing properties are removed).\n     * In other words we consider context with the same properties as \"the same\" even\n     * if object reference changes (see https://github.com/angular/angular/issues/13407).\n     * @private\n     * @param {?} changes\n     * @return {?}\n     */\n    _shouldRecreateView(changes) {\n        /** @type {?} */\n        const ctxChange = changes['ngTemplateOutletContext'];\n        return !!changes['ngTemplateOutlet'] || (ctxChange && this._hasContextShapeChanged(ctxChange));\n    }\n    /**\n     * @private\n     * @param {?} ctxChange\n     * @return {?}\n     */\n    _hasContextShapeChanged(ctxChange) {\n        /** @type {?} */\n        const prevCtxKeys = Object.keys(ctxChange.previousValue || {});\n        /** @type {?} */\n        const currCtxKeys = Object.keys(ctxChange.currentValue || {});\n        if (prevCtxKeys.length === currCtxKeys.length) {\n            for (let propName of currCtxKeys) {\n                if (prevCtxKeys.indexOf(propName) === -1) {\n                    return true;\n                }\n            }\n            return false;\n        }\n        else {\n            return true;\n        }\n    }\n    /**\n     * @private\n     * @param {?} ctx\n     * @return {?}\n     */\n    _updateExistingContext(ctx) {\n        for (let propName of Object.keys(ctx)) {\n            ((/** @type {?} */ ((/** @type {?} */ (this._viewRef)).context)))[propName] = ((/** @type {?} */ (this.ngTemplateOutletContext)))[propName];\n        }\n    }\n}\nNgTemplateOutlet.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: '[ngTemplateOutlet]' },] }\n];\n/** @nocollapse */\nNgTemplateOutlet.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ViewContainerRef\"] }\n];\nNgTemplateOutlet.propDecorators = {\n    ngTemplateOutletContext: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"] }],\n    ngTemplateOutlet: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"] }]\n};\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * A collection of Angular directives that are likely to be used in each and every Angular\n * application.\n * @type {?}\n */\nconst COMMON_DIRECTIVES = [\n    NgClass,\n    NgComponentOutlet,\n    NgForOf,\n    NgIf,\n    NgTemplateOutlet,\n    NgStyle,\n    NgSwitch,\n    NgSwitchCase,\n    NgSwitchDefault,\n    NgPlural,\n    NgPluralCase,\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @param {?} type\n * @param {?} value\n * @return {?}\n */\nfunction invalidPipeArgumentError(type, value) {\n    return Error(`InvalidPipeArgument: '${value}' for pipe '${Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵstringify\"])(type)}'`);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass NumberFormatter {\n    /**\n     * @param {?} num\n     * @param {?} locale\n     * @param {?} style\n     * @param {?=} opts\n     * @return {?}\n     */\n    static format(num, locale, style, opts = {}) {\n        const { minimumIntegerDigits, minimumFractionDigits, maximumFractionDigits, currency, currencyAsSymbol = false } = opts;\n        /** @type {?} */\n        const options = {\n            minimumIntegerDigits,\n            minimumFractionDigits,\n            maximumFractionDigits,\n            style: NumberFormatStyle[style].toLowerCase()\n        };\n        if (style == NumberFormatStyle.Currency) {\n            options.currency = typeof currency == 'string' ? currency : undefined;\n            options.currencyDisplay = currencyAsSymbol ? 'symbol' : 'code';\n        }\n        return new Intl.NumberFormat(locale, options).format(num);\n    }\n}\n/** @type {?} */\nconst DATE_FORMATS_SPLIT$1 = /((?:[^yMLdHhmsazZEwGjJ']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|J+|j+|m+|s+|a|z|Z|G+|w+))(.*)/;\n/** @type {?} */\nconst PATTERN_ALIASES = {\n    // Keys are quoted so they do not get renamed during closure compilation.\n    'yMMMdjms': datePartGetterFactory(combine([\n        digitCondition('year', 1),\n        nameCondition('month', 3),\n        digitCondition('day', 1),\n        digitCondition('hour', 1),\n        digitCondition('minute', 1),\n        digitCondition('second', 1),\n    ])),\n    'yMdjm': datePartGetterFactory(combine([\n        digitCondition('year', 1), digitCondition('month', 1), digitCondition('day', 1),\n        digitCondition('hour', 1), digitCondition('minute', 1)\n    ])),\n    'yMMMMEEEEd': datePartGetterFactory(combine([\n        digitCondition('year', 1), nameCondition('month', 4), nameCondition('weekday', 4),\n        digitCondition('day', 1)\n    ])),\n    'yMMMMd': datePartGetterFactory(combine([digitCondition('year', 1), nameCondition('month', 4), digitCondition('day', 1)])),\n    'yMMMd': datePartGetterFactory(combine([digitCondition('year', 1), nameCondition('month', 3), digitCondition('day', 1)])),\n    'yMd': datePartGetterFactory(combine([digitCondition('year', 1), digitCondition('month', 1), digitCondition('day', 1)])),\n    'jms': datePartGetterFactory(combine([digitCondition('hour', 1), digitCondition('second', 1), digitCondition('minute', 1)])),\n    'jm': datePartGetterFactory(combine([digitCondition('hour', 1), digitCondition('minute', 1)]))\n};\n/** @type {?} */\nconst DATE_FORMATS$1 = {\n    // Keys are quoted so they do not get renamed.\n    'yyyy': datePartGetterFactory(digitCondition('year', 4)),\n    'yy': datePartGetterFactory(digitCondition('year', 2)),\n    'y': datePartGetterFactory(digitCondition('year', 1)),\n    'MMMM': datePartGetterFactory(nameCondition('month', 4)),\n    'MMM': datePartGetterFactory(nameCondition('month', 3)),\n    'MM': datePartGetterFactory(digitCondition('month', 2)),\n    'M': datePartGetterFactory(digitCondition('month', 1)),\n    'LLLL': datePartGetterFactory(nameCondition('month', 4)),\n    'L': datePartGetterFactory(nameCondition('month', 1)),\n    'dd': datePartGetterFactory(digitCondition('day', 2)),\n    'd': datePartGetterFactory(digitCondition('day', 1)),\n    'HH': digitModifier(hourExtractor(datePartGetterFactory(hour12Modify(digitCondition('hour', 2), false)))),\n    'H': hourExtractor(datePartGetterFactory(hour12Modify(digitCondition('hour', 1), false))),\n    'hh': digitModifier(hourExtractor(datePartGetterFactory(hour12Modify(digitCondition('hour', 2), true)))),\n    'h': hourExtractor(datePartGetterFactory(hour12Modify(digitCondition('hour', 1), true))),\n    'jj': datePartGetterFactory(digitCondition('hour', 2)),\n    'j': datePartGetterFactory(digitCondition('hour', 1)),\n    'mm': digitModifier(datePartGetterFactory(digitCondition('minute', 2))),\n    'm': datePartGetterFactory(digitCondition('minute', 1)),\n    'ss': digitModifier(datePartGetterFactory(digitCondition('second', 2))),\n    's': datePartGetterFactory(digitCondition('second', 1)),\n    // while ISO 8601 requires fractions to be prefixed with `.` or `,`\n    // we can be just safely rely on using `sss` since we currently don't support single or two digit\n    // fractions\n    'sss': datePartGetterFactory(digitCondition('second', 3)),\n    'EEEE': datePartGetterFactory(nameCondition('weekday', 4)),\n    'EEE': datePartGetterFactory(nameCondition('weekday', 3)),\n    'EE': datePartGetterFactory(nameCondition('weekday', 2)),\n    'E': datePartGetterFactory(nameCondition('weekday', 1)),\n    'a': hourClockExtractor(datePartGetterFactory(hour12Modify(digitCondition('hour', 1), true))),\n    'Z': timeZoneGetter$1('short'),\n    'z': timeZoneGetter$1('long'),\n    'ww': datePartGetterFactory({}),\n    // Week of year, padded (00-53). Week 01 is the week with the\n    // first Thursday of the year. not support ?\n    'w': datePartGetterFactory({}),\n    // Week of year (0-53). Week 1 is the week with the first Thursday\n    // of the year not support ?\n    'G': datePartGetterFactory(nameCondition('era', 1)),\n    'GG': datePartGetterFactory(nameCondition('era', 2)),\n    'GGG': datePartGetterFactory(nameCondition('era', 3)),\n    'GGGG': datePartGetterFactory(nameCondition('era', 4))\n};\n/**\n * @param {?} inner\n * @return {?}\n */\nfunction digitModifier(inner) {\n    return (/**\n     * @param {?} date\n     * @param {?} locale\n     * @return {?}\n     */\n    function (date, locale) {\n        /** @type {?} */\n        const result = inner(date, locale);\n        return result.length == 1 ? '0' + result : result;\n    });\n}\n/**\n * @param {?} inner\n * @return {?}\n */\nfunction hourClockExtractor(inner) {\n    return (/**\n     * @param {?} date\n     * @param {?} locale\n     * @return {?}\n     */\n    function (date, locale) { return inner(date, locale).split(' ')[1]; });\n}\n/**\n * @param {?} inner\n * @return {?}\n */\nfunction hourExtractor(inner) {\n    return (/**\n     * @param {?} date\n     * @param {?} locale\n     * @return {?}\n     */\n    function (date, locale) { return inner(date, locale).split(' ')[0]; });\n}\n/**\n * @param {?} date\n * @param {?} locale\n * @param {?} options\n * @return {?}\n */\nfunction intlDateFormat(date, locale, options) {\n    return new Intl.DateTimeFormat(locale, options).format(date).replace(/[\\u200e\\u200f]/g, '');\n}\n/**\n * @param {?} timezone\n * @return {?}\n */\nfunction timeZoneGetter$1(timezone) {\n    // To workaround `Intl` API restriction for single timezone let format with 24 hours\n    /** @type {?} */\n    const options = { hour: '2-digit', hour12: false, timeZoneName: timezone };\n    return (/**\n     * @param {?} date\n     * @param {?} locale\n     * @return {?}\n     */\n    function (date, locale) {\n        /** @type {?} */\n        const result = intlDateFormat(date, locale, options);\n        // Then extract first 3 letters that related to hours\n        return result ? result.substring(3) : '';\n    });\n}\n/**\n * @param {?} options\n * @param {?} value\n * @return {?}\n */\nfunction hour12Modify(options, value) {\n    options.hour12 = value;\n    return options;\n}\n/**\n * @param {?} prop\n * @param {?} len\n * @return {?}\n */\nfunction digitCondition(prop, len) {\n    /** @type {?} */\n    const result = {};\n    result[prop] = len === 2 ? '2-digit' : 'numeric';\n    return result;\n}\n/**\n * @param {?} prop\n * @param {?} len\n * @return {?}\n */\nfunction nameCondition(prop, len) {\n    /** @type {?} */\n    const result = {};\n    if (len < 4) {\n        result[prop] = len > 1 ? 'short' : 'narrow';\n    }\n    else {\n        result[prop] = 'long';\n    }\n    return result;\n}\n/**\n * @param {?} options\n * @return {?}\n */\nfunction combine(options) {\n    return options.reduce((/**\n     * @param {?} merged\n     * @param {?} opt\n     * @return {?}\n     */\n    (merged, opt) => (Object.assign({}, merged, opt))), {});\n}\n/**\n * @param {?} ret\n * @return {?}\n */\nfunction datePartGetterFactory(ret) {\n    return (/**\n     * @param {?} date\n     * @param {?} locale\n     * @return {?}\n     */\n    (date, locale) => intlDateFormat(date, locale, ret));\n}\n/** @type {?} */\nconst DATE_FORMATTER_CACHE = new Map();\n/**\n * @param {?} format\n * @param {?} date\n * @param {?} locale\n * @return {?}\n */\nfunction dateFormatter(format, date, locale) {\n    /** @type {?} */\n    const fn = PATTERN_ALIASES[format];\n    if (fn)\n        return fn(date, locale);\n    /** @type {?} */\n    const cacheKey = format;\n    /** @type {?} */\n    let parts = DATE_FORMATTER_CACHE.get(cacheKey);\n    if (!parts) {\n        parts = [];\n        /** @type {?} */\n        let match;\n        DATE_FORMATS_SPLIT$1.exec(format);\n        /** @type {?} */\n        let _format = format;\n        while (_format) {\n            match = DATE_FORMATS_SPLIT$1.exec(_format);\n            if (match) {\n                parts = parts.concat(match.slice(1));\n                _format = (/** @type {?} */ (parts.pop()));\n            }\n            else {\n                parts.push(_format);\n                _format = null;\n            }\n        }\n        DATE_FORMATTER_CACHE.set(cacheKey, parts);\n    }\n    return parts.reduce((/**\n     * @param {?} text\n     * @param {?} part\n     * @return {?}\n     */\n    (text, part) => {\n        /** @type {?} */\n        const fn = DATE_FORMATS$1[part];\n        return text + (fn ? fn(date, locale) : partToTime(part));\n    }), '');\n}\n/**\n * @param {?} part\n * @return {?}\n */\nfunction partToTime(part) {\n    return part === '\\'\\'' ? '\\'' : part.replace(/(^'|'$)/g, '').replace(/''/g, '\\'');\n}\nclass DateFormatter {\n    /**\n     * @param {?} date\n     * @param {?} locale\n     * @param {?} pattern\n     * @return {?}\n     */\n    static format(date, locale, pattern) {\n        return dateFormatter(pattern, date, locale);\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Formats a date according to locale rules.\n *\n * Where:\n * - `expression` is a date object or a number (milliseconds since UTC epoch) or an ISO string\n * (https://www.w3.org/TR/NOTE-datetime).\n * - `format` indicates which date/time components to include. The format can be predefined as\n *   shown below or custom as shown in the table.\n *   - `'medium'`: equivalent to `'yMMMdjms'` (e.g. `Sep 3, 2010, 12:05:08 PM` for `en-US`)\n *   - `'short'`: equivalent to `'yMdjm'` (e.g. `9/3/2010, 12:05 PM` for `en-US`)\n *   - `'fullDate'`: equivalent to `'yMMMMEEEEd'` (e.g. `Friday, September 3, 2010` for `en-US`)\n *   - `'longDate'`: equivalent to `'yMMMMd'` (e.g. `September 3, 2010` for `en-US`)\n *   - `'mediumDate'`: equivalent to `'yMMMd'` (e.g. `Sep 3, 2010` for `en-US`)\n *   - `'shortDate'`: equivalent to `'yMd'` (e.g. `9/3/2010` for `en-US`)\n *   - `'mediumTime'`: equivalent to `'jms'` (e.g. `12:05:08 PM` for `en-US`)\n *   - `'shortTime'`: equivalent to `'jm'` (e.g. `12:05 PM` for `en-US`)\n *\n *\n *  | Component | Symbol | Narrow | Short Form   | Long Form         | Numeric   | 2-digit   |\n *  |-----------|:------:|--------|--------------|-------------------|-----------|-----------|\n *  | era       |   G    | G (A)  | GGG (AD)     | GGGG (Anno Domini)| -         | -         |\n *  | year      |   y    | -      | -            | -                 | y (2015)  | yy (15)   |\n *  | month     |   M    | L (S)  | MMM (Sep)    | MMMM (September)  | M (9)     | MM (09)   |\n *  | day       |   d    | -      | -            | -                 | d (3)     | dd (03)   |\n *  | weekday   |   E    | E (S)  | EEE (Sun)    | EEEE (Sunday)     | -         | -         |\n *  | hour      |   j    | -      | -            | -                 | j (13)    | jj (13)   |\n *  | hour12    |   h    | -      | -            | -                 | h (1 PM)  | hh (01 PM)|\n *  | hour24    |   H    | -      | -            | -                 | H (13)    | HH (13)   |\n *  | minute    |   m    | -      | -            | -                 | m (5)     | mm (05)   |\n *  | second    |   s    | -      | -            | -                 | s (9)     | ss (09)   |\n *  | timezone  |   z    | -      | -            | z (Pacific Standard Time)| -  | -         |\n *  | timezone  |   Z    | -      | Z (GMT-8:00) | -                 | -         | -         |\n *  | timezone  |   a    | -      | a (PM)       | -                 | -         | -         |\n *\n * In javascript, only the components specified will be respected (not the ordering,\n * punctuations, ...) and details of the formatting will be dependent on the locale.\n *\n * Timezone of the formatted text will be the local system timezone of the end-user's machine.\n *\n * When the expression is a ISO string without time (e.g. 2016-09-19) the time zone offset is not\n * applied and the formatted text will have the same day, month and year of the expression.\n *\n * WARNINGS:\n * - this pipe is marked as pure hence it will not be re-evaluated when the input is mutated.\n *   Instead users should treat the date as an immutable object and change the reference when the\n *   pipe needs to re-run (this is to avoid reformatting the date on every change detection run\n *   which would be an expensive operation).\n * - this pipe uses the Internationalization API. Therefore it is only reliable in Chrome and Opera\n *   browsers.\n *\n * \\@usageNotes\n *\n * ### Examples\n *\n * Assuming `dateObj` is (year: 2010, month: 9, day: 3, hour: 12 PM, minute: 05, second: 08)\n * in the _local_ time and locale is 'en-US':\n *\n * {\\@example common/pipes/ts/date_pipe.ts region='DeprecatedDatePipe'}\n *\n * \\@publicApi\n */\nclass DeprecatedDatePipe {\n    /**\n     * @param {?} _locale\n     */\n    constructor(_locale) {\n        this._locale = _locale;\n    }\n    /**\n     * @param {?} value\n     * @param {?=} pattern\n     * @return {?}\n     */\n    transform(value, pattern = 'mediumDate') {\n        if (value == null || value === '' || value !== value)\n            return null;\n        /** @type {?} */\n        let date;\n        if (typeof value === 'string') {\n            value = value.trim();\n        }\n        if (isDate$1(value)) {\n            date = value;\n        }\n        else if (!isNaN(value - parseFloat(value))) {\n            date = new Date(parseFloat(value));\n        }\n        else if (typeof value === 'string' && /^(\\d{4}-\\d{1,2}-\\d{1,2})$/.test(value)) {\n            /**\n             * For ISO Strings without time the day, month and year must be extracted from the ISO String\n             * before Date creation to avoid time offset and errors in the new Date.\n             * If we only replace '-' with ',' in the ISO String (\"2015,01,01\"), and try to create a new\n             * date, some browsers (e.g. IE 9) will throw an invalid Date error\n             * If we leave the '-' (\"2015-01-01\") and try to create a new Date(\"2015-01-01\") the\n             * timeoffset\n             * is applied\n             * Note: ISO months are 0 for January, 1 for February, ...\n             */\n            const [y, m, d] = value.split('-').map((/**\n             * @param {?} val\n             * @return {?}\n             */\n            (val) => parseInt(val, 10)));\n            date = new Date(y, m - 1, d);\n        }\n        else {\n            date = new Date(value);\n        }\n        if (!isDate$1(date)) {\n            /** @type {?} */\n            let match;\n            if ((typeof value === 'string') && (match = value.match(ISO8601_DATE_REGEX))) {\n                date = isoStringToDate(match);\n            }\n            else {\n                throw invalidPipeArgumentError(DeprecatedDatePipe, value);\n            }\n        }\n        return DateFormatter.format(date, this._locale, DeprecatedDatePipe._ALIASES[pattern] || pattern);\n    }\n}\n/**\n * \\@internal\n */\nDeprecatedDatePipe._ALIASES = {\n    'medium': 'yMMMdjms',\n    'short': 'yMdjm',\n    'fullDate': 'yMMMMEEEEd',\n    'longDate': 'yMMMMd',\n    'mediumDate': 'yMMMd',\n    'shortDate': 'yMd',\n    'mediumTime': 'jms',\n    'shortTime': 'jm'\n};\nDeprecatedDatePipe.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Pipe\"], args: [{ name: 'date', pure: true },] }\n];\n/** @nocollapse */\nDeprecatedDatePipe.ctorParameters = () => [\n    { type: String, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"LOCALE_ID\"],] }] }\n];\nif (false) {}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction isDate$1(value) {\n    return value instanceof Date && !isNaN(value.valueOf());\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @param {?} pipe\n * @param {?} locale\n * @param {?} value\n * @param {?} style\n * @param {?=} digits\n * @param {?=} currency\n * @param {?=} currencyAsSymbol\n * @return {?}\n */\nfunction formatNumber$1(pipe, locale, value, style, digits, currency = null, currencyAsSymbol = false) {\n    if (value == null)\n        return null;\n    // Convert strings to numbers\n    value = typeof value === 'string' && !isNaN(+value - parseFloat(value)) ? +value : value;\n    if (typeof value !== 'number') {\n        throw invalidPipeArgumentError(pipe, value);\n    }\n    /** @type {?} */\n    let minInt;\n    /** @type {?} */\n    let minFraction;\n    /** @type {?} */\n    let maxFraction;\n    if (style !== NumberFormatStyle.Currency) {\n        // rely on Intl default for currency\n        minInt = 1;\n        minFraction = 0;\n        maxFraction = 3;\n    }\n    if (digits) {\n        /** @type {?} */\n        const parts = digits.match(NUMBER_FORMAT_REGEXP);\n        if (parts === null) {\n            throw new Error(`${digits} is not a valid digit info for number pipes`);\n        }\n        if (parts[1] != null) { // min integer digits\n            minInt = parseIntAutoRadix(parts[1]);\n        }\n        if (parts[3] != null) { // min fraction digits\n            minFraction = parseIntAutoRadix(parts[3]);\n        }\n        if (parts[5] != null) { // max fraction digits\n            maxFraction = parseIntAutoRadix(parts[5]);\n        }\n    }\n    return NumberFormatter.format((/** @type {?} */ (value)), locale, style, {\n        minimumIntegerDigits: minInt,\n        minimumFractionDigits: minFraction,\n        maximumFractionDigits: maxFraction,\n        currency: currency,\n        currencyAsSymbol: currencyAsSymbol,\n    });\n}\n/**\n * Formats a number as text. Group sizing and separator and other locale-specific\n * configurations are based on the active locale.\n *\n * where `expression` is a number:\n *  - `digitInfo` is a `string` which has a following format: <br>\n *     <code>{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}</code>\n *   - `minIntegerDigits` is the minimum number of integer digits to use. Defaults to `1`.\n *   - `minFractionDigits` is the minimum number of digits after fraction. Defaults to `0`.\n *   - `maxFractionDigits` is the maximum number of digits after fraction. Defaults to `3`.\n *\n * For more information on the acceptable range for each of these numbers and other\n * details see your native internationalization library.\n *\n * WARNING: this pipe uses the Internationalization API which is not yet available in all browsers\n * and may require a polyfill. See [Browser Support](guide/browser-support) for details.\n *\n * \\@usageNotes\n *\n * ### Example\n *\n * {\\@example common/pipes/ts/number_pipe.ts region='DeprecatedNumberPipe'}\n *\n * \\@ngModule CommonModule\n * \\@publicApi\n */\nclass DeprecatedDecimalPipe {\n    /**\n     * @param {?} _locale\n     */\n    constructor(_locale) {\n        this._locale = _locale;\n    }\n    /**\n     * @param {?} value\n     * @param {?=} digits\n     * @return {?}\n     */\n    transform(value, digits) {\n        return formatNumber$1(DeprecatedDecimalPipe, this._locale, value, NumberFormatStyle.Decimal, digits);\n    }\n}\nDeprecatedDecimalPipe.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Pipe\"], args: [{ name: 'number' },] }\n];\n/** @nocollapse */\nDeprecatedDecimalPipe.ctorParameters = () => [\n    { type: String, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"LOCALE_ID\"],] }] }\n];\nif (false) {}\n/**\n * \\@ngModule CommonModule\n *\n * \\@description\n *\n * Formats a number as percentage according to locale rules.\n *\n * - `digitInfo` See {\\@link DecimalPipe} for detailed description.\n *\n * WARNING: this pipe uses the Internationalization API which is not yet available in all browsers\n * and may require a polyfill. See [Browser Support](guide/browser-support) for details.\n *\n * \\@usageNotes\n *\n * ### Example\n *\n * {\\@example common/pipes/ts/percent_pipe.ts region='DeprecatedPercentPipe'}\n *\n * \\@publicApi\n */\nclass DeprecatedPercentPipe {\n    /**\n     * @param {?} _locale\n     */\n    constructor(_locale) {\n        this._locale = _locale;\n    }\n    /**\n     * @param {?} value\n     * @param {?=} digits\n     * @return {?}\n     */\n    transform(value, digits) {\n        return formatNumber$1(DeprecatedPercentPipe, this._locale, value, NumberFormatStyle.Percent, digits);\n    }\n}\nDeprecatedPercentPipe.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Pipe\"], args: [{ name: 'percent' },] }\n];\n/** @nocollapse */\nDeprecatedPercentPipe.ctorParameters = () => [\n    { type: String, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"LOCALE_ID\"],] }] }\n];\nif (false) {}\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Formats a number as currency using locale rules.\n *\n * Use `currency` to format a number as currency.\n *\n * - `currencyCode` is the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code, such\n *    as `USD` for the US dollar and `EUR` for the euro.\n * - `symbolDisplay` is a boolean indicating whether to use the currency symbol or code.\n *   - `true`: use symbol (e.g. `$`).\n *   - `false`(default): use code (e.g. `USD`).\n * - `digitInfo` See {\\@link DecimalPipe} for detailed description.\n *\n * WARNING: this pipe uses the Internationalization API which is not yet available in all browsers\n * and may require a polyfill. See [Browser Support](guide/browser-support) for details.\n *\n * \\@usageNotes\n *\n * ### Example\n *\n * {\\@example common/pipes/ts/currency_pipe.ts region='DeprecatedCurrencyPipe'}\n *\n * \\@publicApi\n */\nclass DeprecatedCurrencyPipe {\n    /**\n     * @param {?} _locale\n     */\n    constructor(_locale) {\n        this._locale = _locale;\n    }\n    /**\n     * @param {?} value\n     * @param {?=} currencyCode\n     * @param {?=} symbolDisplay\n     * @param {?=} digits\n     * @return {?}\n     */\n    transform(value, currencyCode = 'USD', symbolDisplay = false, digits) {\n        return formatNumber$1(DeprecatedCurrencyPipe, this._locale, value, NumberFormatStyle.Currency, digits, currencyCode, symbolDisplay);\n    }\n}\nDeprecatedCurrencyPipe.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Pipe\"], args: [{ name: 'currency' },] }\n];\n/** @nocollapse */\nDeprecatedCurrencyPipe.ctorParameters = () => [\n    { type: String, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"LOCALE_ID\"],] }] }\n];\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * A collection of deprecated i18n pipes that require intl api\n *\n * @deprecated from v5\n * @type {?}\n */\nconst COMMON_DEPRECATED_I18N_PIPES = [DeprecatedDecimalPipe, DeprecatedPercentPipe, DeprecatedCurrencyPipe, DeprecatedDatePipe];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @record\n */\nfunction SubscriptionStrategy() { }\nif (false) {}\nclass ObservableStrategy {\n    /**\n     * @param {?} async\n     * @param {?} updateLatestValue\n     * @return {?}\n     */\n    createSubscription(async, updateLatestValue) {\n        return async.subscribe({ next: updateLatestValue, error: (/**\n             * @param {?} e\n             * @return {?}\n             */\n            (e) => { throw e; }) });\n    }\n    /**\n     * @param {?} subscription\n     * @return {?}\n     */\n    dispose(subscription) { subscription.unsubscribe(); }\n    /**\n     * @param {?} subscription\n     * @return {?}\n     */\n    onDestroy(subscription) { subscription.unsubscribe(); }\n}\nclass PromiseStrategy {\n    /**\n     * @param {?} async\n     * @param {?} updateLatestValue\n     * @return {?}\n     */\n    createSubscription(async, updateLatestValue) {\n        return async.then(updateLatestValue, (/**\n         * @param {?} e\n         * @return {?}\n         */\n        e => { throw e; }));\n    }\n    /**\n     * @param {?} subscription\n     * @return {?}\n     */\n    dispose(subscription) { }\n    /**\n     * @param {?} subscription\n     * @return {?}\n     */\n    onDestroy(subscription) { }\n}\n/** @type {?} */\nconst _promiseStrategy = new PromiseStrategy();\n/** @type {?} */\nconst _observableStrategy = new ObservableStrategy();\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Unwraps a value from an asynchronous primitive.\n *\n * The `async` pipe subscribes to an `Observable` or `Promise` and returns the latest value it has\n * emitted. When a new value is emitted, the `async` pipe marks the component to be checked for\n * changes. When the component gets destroyed, the `async` pipe unsubscribes automatically to avoid\n * potential memory leaks.\n *\n * \\@usageNotes\n *\n * ### Examples\n *\n * This example binds a `Promise` to the view. Clicking the `Resolve` button resolves the\n * promise.\n *\n * {\\@example common/pipes/ts/async_pipe.ts region='AsyncPipePromise'}\n *\n * It's also possible to use `async` with Observables. The example below binds the `time` Observable\n * to the view. The Observable continuously updates the view with the current time.\n *\n * {\\@example common/pipes/ts/async_pipe.ts region='AsyncPipeObservable'}\n *\n * \\@publicApi\n */\nclass AsyncPipe {\n    /**\n     * @param {?} _ref\n     */\n    constructor(_ref) {\n        this._ref = _ref;\n        this._latestValue = null;\n        this._latestReturnedValue = null;\n        this._subscription = null;\n        this._obj = null;\n        this._strategy = (/** @type {?} */ (null));\n    }\n    /**\n     * @return {?}\n     */\n    ngOnDestroy() {\n        if (this._subscription) {\n            this._dispose();\n        }\n    }\n    /**\n     * @param {?} obj\n     * @return {?}\n     */\n    transform(obj) {\n        if (!this._obj) {\n            if (obj) {\n                this._subscribe(obj);\n            }\n            this._latestReturnedValue = this._latestValue;\n            return this._latestValue;\n        }\n        if (obj !== this._obj) {\n            this._dispose();\n            return this.transform((/** @type {?} */ (obj)));\n        }\n        if (Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵlooseIdentical\"])(this._latestValue, this._latestReturnedValue)) {\n            return this._latestReturnedValue;\n        }\n        this._latestReturnedValue = this._latestValue;\n        return _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"WrappedValue\"].wrap(this._latestValue);\n    }\n    /**\n     * @private\n     * @param {?} obj\n     * @return {?}\n     */\n    _subscribe(obj) {\n        this._obj = obj;\n        this._strategy = this._selectStrategy(obj);\n        this._subscription = this._strategy.createSubscription(obj, (/**\n         * @param {?} value\n         * @return {?}\n         */\n        (value) => this._updateLatestValue(obj, value)));\n    }\n    /**\n     * @private\n     * @param {?} obj\n     * @return {?}\n     */\n    _selectStrategy(obj) {\n        if (Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵisPromise\"])(obj)) {\n            return _promiseStrategy;\n        }\n        if (Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵisObservable\"])(obj)) {\n            return _observableStrategy;\n        }\n        throw invalidPipeArgumentError(AsyncPipe, obj);\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _dispose() {\n        this._strategy.dispose((/** @type {?} */ (this._subscription)));\n        this._latestValue = null;\n        this._latestReturnedValue = null;\n        this._subscription = null;\n        this._obj = null;\n    }\n    /**\n     * @private\n     * @param {?} async\n     * @param {?} value\n     * @return {?}\n     */\n    _updateLatestValue(async, value) {\n        if (async === this._obj) {\n            this._latestValue = value;\n            this._ref.markForCheck();\n        }\n    }\n}\nAsyncPipe.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Pipe\"], args: [{ name: 'async', pure: false },] }\n];\n/** @nocollapse */\nAsyncPipe.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ChangeDetectorRef\"] }\n];\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Transforms text to all lower case.\n *\n * @see `UpperCasePipe`\n * @see `TitleCasePipe`\n * \\@usageNotes\n *\n * The following example defines a view that allows the user to enter\n * text, and then uses the pipe to convert the input text to all lower case.\n *\n * <code-example path=\"common/pipes/ts/lowerupper_pipe.ts\" region='LowerUpperPipe'></code-example>\n *\n * \\@ngModule CommonModule\n * \\@publicApi\n */\nclass LowerCasePipe {\n    /**\n     * @param {?} value The string to transform to lower case.\n     * @return {?}\n     */\n    transform(value) {\n        if (!value)\n            return value;\n        if (typeof value !== 'string') {\n            throw invalidPipeArgumentError(LowerCasePipe, value);\n        }\n        return value.toLowerCase();\n    }\n}\nLowerCasePipe.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Pipe\"], args: [{ name: 'lowercase' },] }\n];\n//\n// Regex below matches any Unicode word and compatible with ES5. In ES2018 the same result\n// can be achieved by using /\\p{L}\\S*/gu and also known as Unicode Property Escapes\n// (http://2ality.com/2017/07/regexp-unicode-property-escapes.html). Since there is no\n// transpilation of this functionality down to ES5 without external tool, the only solution is\n// to use already transpiled form. Example can be found here -\n// https://mothereff.in/regexpu#input=var+regex+%3D+/%5Cp%7BL%7D/u%3B&unicodePropertyEscape=1\n//\n/** @type {?} */\nconst unicodeWordMatch = /(?:[A-Za-z\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u0860-\\u086A\\u08A0-\\u08B4\\u08B6-\\u08BD\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u09FC\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0AF9\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D\\u0C58-\\u0C5A\\u0C60\\u0C61\\u0C80\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D54-\\u0D56\\u0D5F-\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F5\\u13F8-\\u13FD\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16F1-\\u16F8\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u1884\\u1887-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1C80-\\u1C88\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2183\\u2184\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005\\u3006\\u3031-\\u3035\\u303B\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312E\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FEA\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6E5\\uA717-\\uA71F\\uA722-\\uA788\\uA78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uDDDB\\uDE00-\\uDE2F\\uDE44\\uDE80-\\uDEAA\\uDF00-\\uDF19]|\\uD806[\\uDCA0-\\uDCDF\\uDCFF\\uDE00\\uDE0B-\\uDE32\\uDE3A\\uDE50\\uDE5C-\\uDE83\\uDE86-\\uDE89\\uDEC0-\\uDEF8]|\\uD807[\\uDC00-\\uDC08\\uDC0A-\\uDC2E\\uDC40\\uDC72-\\uDC8F\\uDD00-\\uDD06\\uDD08\\uDD09\\uDD0B-\\uDD30\\uDD46]|\\uD808[\\uDC00-\\uDF99]|\\uD809[\\uDC80-\\uDD43]|[\\uD80C\\uD81C-\\uD820\\uD840-\\uD868\\uD86A-\\uD86C\\uD86F-\\uD872\\uD874-\\uD879][\\uDC00-\\uDFFF]|\\uD80D[\\uDC00-\\uDC2E]|\\uD811[\\uDC00-\\uDE46]|\\uD81A[\\uDC00-\\uDE38\\uDE40-\\uDE5E\\uDED0-\\uDEED\\uDF00-\\uDF2F\\uDF40-\\uDF43\\uDF63-\\uDF77\\uDF7D-\\uDF8F]|\\uD81B[\\uDF00-\\uDF44\\uDF50\\uDF93-\\uDF9F\\uDFE0\\uDFE1]|\\uD821[\\uDC00-\\uDFEC]|\\uD822[\\uDC00-\\uDEF2]|\\uD82C[\\uDC00-\\uDD1E\\uDD70-\\uDEFB]|\\uD82F[\\uDC00-\\uDC6A\\uDC70-\\uDC7C\\uDC80-\\uDC88\\uDC90-\\uDC99]|\\uD835[\\uDC00-\\uDC54\\uDC56-\\uDC9C\\uDC9E\\uDC9F\\uDCA2\\uDCA5\\uDCA6\\uDCA9-\\uDCAC\\uDCAE-\\uDCB9\\uDCBB\\uDCBD-\\uDCC3\\uDCC5-\\uDD05\\uDD07-\\uDD0A\\uDD0D-\\uDD14\\uDD16-\\uDD1C\\uDD1E-\\uDD39\\uDD3B-\\uDD3E\\uDD40-\\uDD44\\uDD46\\uDD4A-\\uDD50\\uDD52-\\uDEA5\\uDEA8-\\uDEC0\\uDEC2-\\uDEDA\\uDEDC-\\uDEFA\\uDEFC-\\uDF14\\uDF16-\\uDF34\\uDF36-\\uDF4E\\uDF50-\\uDF6E\\uDF70-\\uDF88\\uDF8A-\\uDFA8\\uDFAA-\\uDFC2\\uDFC4-\\uDFCB]|\\uD83A[\\uDC00-\\uDCC4\\uDD00-\\uDD43]|\\uD83B[\\uDE00-\\uDE03\\uDE05-\\uDE1F\\uDE21\\uDE22\\uDE24\\uDE27\\uDE29-\\uDE32\\uDE34-\\uDE37\\uDE39\\uDE3B\\uDE42\\uDE47\\uDE49\\uDE4B\\uDE4D-\\uDE4F\\uDE51\\uDE52\\uDE54\\uDE57\\uDE59\\uDE5B\\uDE5D\\uDE5F\\uDE61\\uDE62\\uDE64\\uDE67-\\uDE6A\\uDE6C-\\uDE72\\uDE74-\\uDE77\\uDE79-\\uDE7C\\uDE7E\\uDE80-\\uDE89\\uDE8B-\\uDE9B\\uDEA1-\\uDEA3\\uDEA5-\\uDEA9\\uDEAB-\\uDEBB]|\\uD869[\\uDC00-\\uDED6\\uDF00-\\uDFFF]|\\uD86D[\\uDC00-\\uDF34\\uDF40-\\uDFFF]|\\uD86E[\\uDC00-\\uDC1D\\uDC20-\\uDFFF]|\\uD873[\\uDC00-\\uDEA1\\uDEB0-\\uDFFF]|\\uD87A[\\uDC00-\\uDFE0]|\\uD87E[\\uDC00-\\uDE1D])\\S*/g;\n/**\n * Transforms text to title case.\n * Capitalizes the first letter of each word, and transforms the\n * rest of the word to lower case.\n * Words are delimited by any whitespace character, such as a space, tab, or line-feed character.\n *\n * @see `LowerCasePipe`\n * @see `UpperCasePipe`\n *\n * \\@usageNotes\n * The following example shows the result of transforming various strings into title case.\n *\n * <code-example path=\"common/pipes/ts/titlecase_pipe.ts\" region='TitleCasePipe'></code-example>\n *\n * \\@ngModule CommonModule\n * \\@publicApi\n */\nclass TitleCasePipe {\n    /**\n     * @param {?} value The string to transform to title case.\n     * @return {?}\n     */\n    transform(value) {\n        if (!value)\n            return value;\n        if (typeof value !== 'string') {\n            throw invalidPipeArgumentError(TitleCasePipe, value);\n        }\n        return value.replace(unicodeWordMatch, ((/**\n         * @param {?} txt\n         * @return {?}\n         */\n        txt => txt[0].toUpperCase() + txt.substr(1).toLowerCase())));\n    }\n}\nTitleCasePipe.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Pipe\"], args: [{ name: 'titlecase' },] }\n];\n/**\n * Transforms text to all upper case.\n * @see `LowerCasePipe`\n * @see `TitleCasePipe`\n *\n * \\@ngModule CommonModule\n * \\@publicApi\n */\nclass UpperCasePipe {\n    /**\n     * @param {?} value The string to transform to upper case.\n     * @return {?}\n     */\n    transform(value) {\n        if (!value)\n            return value;\n        if (typeof value !== 'string') {\n            throw invalidPipeArgumentError(UpperCasePipe, value);\n        }\n        return value.toUpperCase();\n    }\n}\nUpperCasePipe.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Pipe\"], args: [{ name: 'uppercase' },] }\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n// clang-format off\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Formats a date value according to locale rules.\n *\n * Only the `en-US` locale data comes with Angular. To localize dates\n * in another language, you must import the corresponding locale data.\n * See the [I18n guide](guide/i18n#i18n-pipes) for more information.\n *\n * @see `formatDate()`\n *\n *\n * \\@usageNotes\n *\n * The result of this pipe is not reevaluated when the input is mutated. To avoid the need to\n * reformat the date on every change-detection cycle, treat the date as an immutable object\n * and change the reference when the pipe needs to run again.\n *\n * ### Pre-defined format options\n *\n * Examples are given in `en-US` locale.\n *\n * - `'short'`: equivalent to `'M/d/yy, h:mm a'` (`6/15/15, 9:03 AM`).\n * - `'medium'`: equivalent to `'MMM d, y, h:mm:ss a'` (`Jun 15, 2015, 9:03:01 AM`).\n * - `'long'`: equivalent to `'MMMM d, y, h:mm:ss a z'` (`June 15, 2015 at 9:03:01 AM\n * GMT+1`).\n * - `'full'`: equivalent to `'EEEE, MMMM d, y, h:mm:ss a zzzz'` (`Monday, June 15, 2015 at\n * 9:03:01 AM GMT+01:00`).\n * - `'shortDate'`: equivalent to `'M/d/yy'` (`6/15/15`).\n * - `'mediumDate'`: equivalent to `'MMM d, y'` (`Jun 15, 2015`).\n * - `'longDate'`: equivalent to `'MMMM d, y'` (`June 15, 2015`).\n * - `'fullDate'`: equivalent to `'EEEE, MMMM d, y'` (`Monday, June 15, 2015`).\n * - `'shortTime'`: equivalent to `'h:mm a'` (`9:03 AM`).\n * - `'mediumTime'`: equivalent to `'h:mm:ss a'` (`9:03:01 AM`).\n * - `'longTime'`: equivalent to `'h:mm:ss a z'` (`9:03:01 AM GMT+1`).\n * - `'fullTime'`: equivalent to `'h:mm:ss a zzzz'` (`9:03:01 AM GMT+01:00`).\n *\n * ### Custom format options\n *\n * You can construct a format string using symbols to specify the components\n * of a date-time value, as described in the following table.\n * Format details depend on the locale.\n * Fields marked with (*) are only available in the extra data set for the given locale.\n *\n *  | Field type         | Format      | Description                                                   | Example Value                                              |\n *  |--------------------|-------------|---------------------------------------------------------------|------------------------------------------------------------|\n *  | Era                | G, GG & GGG | Abbreviated                                                   | AD                                                         |\n *  |                    | GGGG        | Wide                                                          | Anno Domini                                                |\n *  |                    | GGGGG       | Narrow                                                        | A                                                          |\n *  | Year               | y           | Numeric: minimum digits                                       | 2, 20, 201, 2017, 20173                                    |\n *  |                    | yy          | Numeric: 2 digits + zero padded                               | 02, 20, 01, 17, 73                                         |\n *  |                    | yyy         | Numeric: 3 digits + zero padded                               | 002, 020, 201, 2017, 20173                                 |\n *  |                    | yyyy        | Numeric: 4 digits or more + zero padded                       | 0002, 0020, 0201, 2017, 20173                              |\n *  | Month              | M           | Numeric: 1 digit                                              | 9, 12                                                      |\n *  |                    | MM          | Numeric: 2 digits + zero padded                               | 09, 12                                                     |\n *  |                    | MMM         | Abbreviated                                                   | Sep                                                        |\n *  |                    | MMMM        | Wide                                                          | September                                                  |\n *  |                    | MMMMM       | Narrow                                                        | S                                                          |\n *  | Month standalone   | L           | Numeric: 1 digit                                              | 9, 12                                                      |\n *  |                    | LL          | Numeric: 2 digits + zero padded                               | 09, 12                                                     |\n *  |                    | LLL         | Abbreviated                                                   | Sep                                                        |\n *  |                    | LLLL        | Wide                                                          | September                                                  |\n *  |                    | LLLLL       | Narrow                                                        | S                                                          |\n *  | Week of year       | w           | Numeric: minimum digits                                       | 1... 53                                                    |\n *  |                    | ww          | Numeric: 2 digits + zero padded                               | 01... 53                                                   |\n *  | Week of month      | W           | Numeric: 1 digit                                              | 1... 5                                                     |\n *  | Day of month       | d           | Numeric: minimum digits                                       | 1                                                          |\n *  |                    | dd          | Numeric: 2 digits + zero padded                               | 01                                                          |\n *  | Week day           | E, EE & EEE | Abbreviated                                                   | Tue                                                        |\n *  |                    | EEEE        | Wide                                                          | Tuesday                                                    |\n *  |                    | EEEEE       | Narrow                                                        | T                                                          |\n *  |                    | EEEEEE      | Short                                                         | Tu                                                         |\n *  | Period             | a, aa & aaa | Abbreviated                                                   | am/pm or AM/PM                                             |\n *  |                    | aaaa        | Wide (fallback to `a` when missing)                           | ante meridiem/post meridiem                                |\n *  |                    | aaaaa       | Narrow                                                        | a/p                                                        |\n *  | Period*            | B, BB & BBB | Abbreviated                                                   | mid.                                                       |\n *  |                    | BBBB        | Wide                                                          | am, pm, midnight, noon, morning, afternoon, evening, night |\n *  |                    | BBBBB       | Narrow                                                        | md                                                         |\n *  | Period standalone* | b, bb & bbb | Abbreviated                                                   | mid.                                                       |\n *  |                    | bbbb        | Wide                                                          | am, pm, midnight, noon, morning, afternoon, evening, night |\n *  |                    | bbbbb       | Narrow                                                        | md                                                         |\n *  | Hour 1-12          | h           | Numeric: minimum digits                                       | 1, 12                                                      |\n *  |                    | hh          | Numeric: 2 digits + zero padded                               | 01, 12                                                     |\n *  | Hour 0-23          | H           | Numeric: minimum digits                                       | 0, 23                                                      |\n *  |                    | HH          | Numeric: 2 digits + zero padded                               | 00, 23                                                     |\n *  | Minute             | m           | Numeric: minimum digits                                       | 8, 59                                                      |\n *  |                    | mm          | Numeric: 2 digits + zero padded                               | 08, 59                                                     |\n *  | Second             | s           | Numeric: minimum digits                                       | 0... 59                                                    |\n *  |                    | ss          | Numeric: 2 digits + zero padded                               | 00... 59                                                   |\n *  | Fractional seconds | S           | Numeric: 1 digit                                              | 0... 9                                                     |\n *  |                    | SS          | Numeric: 2 digits + zero padded                               | 00... 99                                                   |\n *  |                    | SSS         | Numeric: 3 digits + zero padded (= milliseconds)              | 000... 999                                                 |\n *  | Zone               | z, zz & zzz | Short specific non location format (fallback to O)            | GMT-8                                                      |\n *  |                    | zzzz        | Long specific non location format (fallback to OOOO)          | GMT-08:00                                                  |\n *  |                    | Z, ZZ & ZZZ | ISO8601 basic format                                          | -0800                                                      |\n *  |                    | ZZZZ        | Long localized GMT format                                     | GMT-8:00                                                   |\n *  |                    | ZZZZZ       | ISO8601 extended format + Z indicator for offset 0 (= XXXXX)  | -08:00                                                     |\n *  |                    | O, OO & OOO | Short localized GMT format                                    | GMT-8                                                      |\n *  |                    | OOOO        | Long localized GMT format                                     | GMT-08:00                                                  |\n *\n * Note that timezone correction is not applied to an ISO string that has no time component, such as \"2016-09-19\"\n *\n * ### Format examples\n *\n * These examples transform a date into various formats,\n * assuming that `dateObj` is a JavaScript `Date` object for\n * year: 2015, month: 6, day: 15, hour: 21, minute: 43, second: 11,\n * given in the local time for the `en-US` locale.\n *\n * ```\n * {{ dateObj | date }}               // output is 'Jun 15, 2015'\n * {{ dateObj | date:'medium' }}      // output is 'Jun 15, 2015, 9:43:11 PM'\n * {{ dateObj | date:'shortTime' }}   // output is '9:43 PM'\n * {{ dateObj | date:'mm:ss' }}       // output is '43:11'\n * ```\n *\n * ### Usage example\n *\n * The following component uses a date pipe to display the current date in different formats.\n *\n * ```\n * \\@Component({\n *  selector: 'date-pipe',\n *  template: `<div>\n *    <p>Today is {{today | date}}</p>\n *    <p>Or if you prefer, {{today | date:'fullDate'}}</p>\n *    <p>The time is {{today | date:'h:mm a z'}}</p>\n *  </div>`\n * })\n * // Get the current date and time as a date-time value.\n * export class DatePipeComponent {\n *   today: number = Date.now();\n * }\n * ```\n *\n * \\@publicApi\n */\n// clang-format on\nclass DatePipe {\n    /**\n     * @param {?} locale\n     */\n    constructor(locale) {\n        this.locale = locale;\n    }\n    /**\n     * @param {?} value The date expression: a `Date` object,  a number\n     * (milliseconds since UTC epoch), or an ISO string (https://www.w3.org/TR/NOTE-datetime).\n     * @param {?=} format The date/time components to include, using predefined options or a\n     * custom format string.\n     * @param {?=} timezone A timezone offset (such as `'+0430'`), or a standard\n     * UTC/GMT or continental US timezone abbreviation.\n     * When not supplied, uses the end-user's local system timezone.\n     * @param {?=} locale A locale code for the locale format rules to use.\n     * When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default.\n     * See [Setting your app locale](guide/i18n#setting-up-the-locale-of-your-app).\n     * @return {?} A date string in the desired format.\n     */\n    transform(value, format = 'mediumDate', timezone, locale) {\n        if (value == null || value === '' || value !== value)\n            return null;\n        try {\n            return formatDate(value, format, locale || this.locale, timezone);\n        }\n        catch (error) {\n            throw invalidPipeArgumentError(DatePipe, error.message);\n        }\n    }\n}\nDatePipe.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Pipe\"], args: [{ name: 'date', pure: true },] }\n];\n/** @nocollapse */\nDatePipe.ctorParameters = () => [\n    { type: String, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"LOCALE_ID\"],] }] }\n];\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst _INTERPOLATION_REGEXP = /#/g;\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Maps a value to a string that pluralizes the value according to locale rules.\n *\n * \\@usageNotes\n *\n * ### Example\n *\n * {\\@example common/pipes/ts/i18n_pipe.ts region='I18nPluralPipeComponent'}\n *\n * \\@publicApi\n */\nclass I18nPluralPipe {\n    /**\n     * @param {?} _localization\n     */\n    constructor(_localization) {\n        this._localization = _localization;\n    }\n    /**\n     * @param {?} value the number to be formatted\n     * @param {?} pluralMap an object that mimics the ICU format, see\n     * http://userguide.icu-project.org/formatparse/messages.\n     * @param {?=} locale a `string` defining the locale to use (uses the current {\\@link LOCALE_ID} by\n     * default).\n     * @return {?}\n     */\n    transform(value, pluralMap, locale) {\n        if (value == null)\n            return '';\n        if (typeof pluralMap !== 'object' || pluralMap === null) {\n            throw invalidPipeArgumentError(I18nPluralPipe, pluralMap);\n        }\n        /** @type {?} */\n        const key = getPluralCategory(value, Object.keys(pluralMap), this._localization, locale);\n        return pluralMap[key].replace(_INTERPOLATION_REGEXP, value.toString());\n    }\n}\nI18nPluralPipe.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Pipe\"], args: [{ name: 'i18nPlural', pure: true },] }\n];\n/** @nocollapse */\nI18nPluralPipe.ctorParameters = () => [\n    { type: NgLocalization }\n];\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Generic selector that displays the string that matches the current value.\n *\n * If none of the keys of the `mapping` match the `value`, then the content\n * of the `other` key is returned when present, otherwise an empty string is returned.\n *\n * \\@usageNotes\n *\n * ### Example\n *\n * {\\@example common/pipes/ts/i18n_pipe.ts region='I18nSelectPipeComponent'}\n *\n * \\@publicApi\n */\nclass I18nSelectPipe {\n    /**\n     * @param {?} value a string to be internationalized.\n     * @param {?} mapping an object that indicates the text that should be displayed\n     * for different values of the provided `value`.\n     * @return {?}\n     */\n    transform(value, mapping) {\n        if (value == null)\n            return '';\n        if (typeof mapping !== 'object' || typeof value !== 'string') {\n            throw invalidPipeArgumentError(I18nSelectPipe, mapping);\n        }\n        if (mapping.hasOwnProperty(value)) {\n            return mapping[value];\n        }\n        if (mapping.hasOwnProperty('other')) {\n            return mapping['other'];\n        }\n        return '';\n    }\n}\nI18nSelectPipe.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Pipe\"], args: [{ name: 'i18nSelect', pure: true },] }\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Converts a value into its JSON-format representation.  Useful for debugging.\n *\n * \\@usageNotes\n *\n * The following component uses a JSON pipe to convert an object\n * to JSON format, and displays the string in both formats for comparison.\n *\n * {\\@example common/pipes/ts/json_pipe.ts region='JsonPipe'}\n *\n * \\@publicApi\n */\nclass JsonPipe {\n    /**\n     * @param {?} value A value of any type to convert into a JSON-format string.\n     * @return {?}\n     */\n    transform(value) { return JSON.stringify(value, null, 2); }\n}\nJsonPipe.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Pipe\"], args: [{ name: 'json', pure: false },] }\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @template K, V\n * @param {?} key\n * @param {?} value\n * @return {?}\n */\nfunction makeKeyValuePair(key, value) {\n    return { key: key, value: value };\n}\n/**\n * A key value pair.\n * Usually used to represent the key value pairs from a Map or Object.\n *\n * \\@publicApi\n * @record\n * @template K, V\n */\nfunction KeyValue() { }\nif (false) {}\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Transforms Object or Map into an array of key value pairs.\n *\n * The output array will be ordered by keys.\n * By default the comparator will be by Unicode point value.\n * You can optionally pass a compareFn if your keys are complex types.\n *\n * \\@usageNotes\n * ### Examples\n *\n * This examples show how an Object or a Map can be iterated by ngFor with the use of this keyvalue\n * pipe.\n *\n * {\\@example common/pipes/ts/keyvalue_pipe.ts region='KeyValuePipe'}\n *\n * \\@publicApi\n */\nclass KeyValuePipe {\n    /**\n     * @param {?} differs\n     */\n    constructor(differs) {\n        this.differs = differs;\n        this.keyValues = [];\n    }\n    /**\n     * @template K, V\n     * @param {?} input\n     * @param {?=} compareFn\n     * @return {?}\n     */\n    transform(input, compareFn = defaultComparator) {\n        if (!input || (!(input instanceof Map) && typeof input !== 'object')) {\n            return null;\n        }\n        if (!this.differ) {\n            // make a differ for whatever type we've been passed in\n            this.differ = this.differs.find(input).create();\n        }\n        /** @type {?} */\n        const differChanges = this.differ.diff((/** @type {?} */ (input)));\n        if (differChanges) {\n            this.keyValues = [];\n            differChanges.forEachItem((/**\n             * @param {?} r\n             * @return {?}\n             */\n            (r) => {\n                this.keyValues.push(makeKeyValuePair(r.key, (/** @type {?} */ (r.currentValue))));\n            }));\n            this.keyValues.sort(compareFn);\n        }\n        return this.keyValues;\n    }\n}\nKeyValuePipe.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Pipe\"], args: [{ name: 'keyvalue', pure: false },] }\n];\n/** @nocollapse */\nKeyValuePipe.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"KeyValueDiffers\"] }\n];\nif (false) {}\n/**\n * @template K, V\n * @param {?} keyValueA\n * @param {?} keyValueB\n * @return {?}\n */\nfunction defaultComparator(keyValueA, keyValueB) {\n    /** @type {?} */\n    const a = keyValueA.key;\n    /** @type {?} */\n    const b = keyValueB.key;\n    // if same exit with 0;\n    if (a === b)\n        return 0;\n    // make sure that undefined are at the end of the sort.\n    if (a === undefined)\n        return 1;\n    if (b === undefined)\n        return -1;\n    // make sure that nulls are at the end of the sort.\n    if (a === null)\n        return 1;\n    if (b === null)\n        return -1;\n    if (typeof a == 'string' && typeof b == 'string') {\n        return a < b ? -1 : 1;\n    }\n    if (typeof a == 'number' && typeof b == 'number') {\n        return a - b;\n    }\n    if (typeof a == 'boolean' && typeof b == 'boolean') {\n        return a < b ? -1 : 1;\n    }\n    // `a` and `b` are of different types. Compare their string values.\n    /** @type {?} */\n    const aString = String(a);\n    /** @type {?} */\n    const bString = String(b);\n    return aString == bString ? 0 : aString < bString ? -1 : 1;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Transforms a number into a string,\n * formatted according to locale rules that determine group sizing and\n * separator, decimal-point character, and other locale-specific\n * configurations.\n *\n * If no parameters are specified, the function rounds off to the nearest value using this\n * [rounding method](https://en.wikibooks.org/wiki/Arithmetic/Rounding).\n * The behavior differs from that of the JavaScript ```Math.round()``` function.\n * In the following case for example, the pipe rounds down where\n * ```Math.round()``` rounds up:\n *\n * ```html\n * -2.5 | number:'1.0-0'\n * > -3\n * Math.round(-2.5)\n * > -2\n * ```\n *\n * @see `formatNumber()`\n *\n * \\@usageNotes\n * The following code shows how the pipe transforms numbers\n * into text strings, according to various format specifications,\n * where the caller's default locale is `en-US`.\n *\n * ### Example\n *\n * <code-example path=\"common/pipes/ts/number_pipe.ts\" region='NumberPipe'></code-example>\n *\n * \\@publicApi\n */\nclass DecimalPipe {\n    /**\n     * @param {?} _locale\n     */\n    constructor(_locale) {\n        this._locale = _locale;\n    }\n    /**\n     * @param {?} value The number to be formatted.\n     * @param {?=} digitsInfo Decimal representation options, specified by a string\n     * in the following format:<br>\n     * <code>{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}</code>.\n     *   - `minIntegerDigits`: The minimum number of integer digits before the decimal point.\n     * Default is `1`.\n     *   - `minFractionDigits`: The minimum number of digits after the decimal point.\n     * Default is `0`.\n     *   - `maxFractionDigits`: The maximum number of digits after the decimal point.\n     * Default is `3`.\n     * @param {?=} locale A locale code for the locale format rules to use.\n     * When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default.\n     * See [Setting your app locale](guide/i18n#setting-up-the-locale-of-your-app).\n     * @return {?}\n     */\n    transform(value, digitsInfo, locale) {\n        if (isEmpty(value))\n            return null;\n        locale = locale || this._locale;\n        try {\n            /** @type {?} */\n            const num = strToNumber(value);\n            return formatNumber(num, locale, digitsInfo);\n        }\n        catch (error) {\n            throw invalidPipeArgumentError(DecimalPipe, error.message);\n        }\n    }\n}\nDecimalPipe.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Pipe\"], args: [{ name: 'number' },] }\n];\n/** @nocollapse */\nDecimalPipe.ctorParameters = () => [\n    { type: String, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"LOCALE_ID\"],] }] }\n];\nif (false) {}\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Transforms a number to a percentage\n * string, formatted according to locale rules that determine group sizing and\n * separator, decimal-point character, and other locale-specific\n * configurations.\n *\n * @see `formatPercent()`\n *\n * \\@usageNotes\n * The following code shows how the pipe transforms numbers\n * into text strings, according to various format specifications,\n * where the caller's default locale is `en-US`.\n *\n * <code-example path=\"common/pipes/ts/percent_pipe.ts\" region='PercentPipe'></code-example>\n *\n * \\@publicApi\n */\nclass PercentPipe {\n    /**\n     * @param {?} _locale\n     */\n    constructor(_locale) {\n        this._locale = _locale;\n    }\n    /**\n     *\n     * @param {?} value The number to be formatted as a percentage.\n     * @param {?=} digitsInfo Decimal representation options, specified by a string\n     * in the following format:<br>\n     * <code>{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}</code>.\n     *   - `minIntegerDigits`: The minimum number of integer digits before the decimal point.\n     * Default is `1`.\n     *   - `minFractionDigits`: The minimum number of digits after the decimal point.\n     * Default is `0`.\n     *   - `maxFractionDigits`: The maximum number of digits after the decimal point.\n     * Default is `0`.\n     * @param {?=} locale A locale code for the locale format rules to use.\n     * When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default.\n     * See [Setting your app locale](guide/i18n#setting-up-the-locale-of-your-app).\n     * @return {?}\n     */\n    transform(value, digitsInfo, locale) {\n        if (isEmpty(value))\n            return null;\n        locale = locale || this._locale;\n        try {\n            /** @type {?} */\n            const num = strToNumber(value);\n            return formatPercent(num, locale, digitsInfo);\n        }\n        catch (error) {\n            throw invalidPipeArgumentError(PercentPipe, error.message);\n        }\n    }\n}\nPercentPipe.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Pipe\"], args: [{ name: 'percent' },] }\n];\n/** @nocollapse */\nPercentPipe.ctorParameters = () => [\n    { type: String, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"LOCALE_ID\"],] }] }\n];\nif (false) {}\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Transforms a number to a currency string, formatted according to locale rules\n * that determine group sizing and separator, decimal-point character,\n * and other locale-specific configurations.\n *\n * @see `getCurrencySymbol()`\n * @see `formatCurrency()`\n *\n * \\@usageNotes\n * The following code shows how the pipe transforms numbers\n * into text strings, according to various format specifications,\n * where the caller's default locale is `en-US`.\n *\n * <code-example path=\"common/pipes/ts/currency_pipe.ts\" region='CurrencyPipe'></code-example>\n *\n * \\@publicApi\n */\nclass CurrencyPipe {\n    /**\n     * @param {?} _locale\n     */\n    constructor(_locale) {\n        this._locale = _locale;\n    }\n    /**\n     *\n     * @param {?} value The number to be formatted as currency.\n     * @param {?=} currencyCode The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code,\n     * such as `USD` for the US dollar and `EUR` for the euro.\n     * @param {?=} display The format for the currency indicator. One of the following:\n     *   - `code`: Show the code (such as `USD`).\n     *   - `symbol`(default): Show the symbol (such as `$`).\n     *   - `symbol-narrow`: Use the narrow symbol for locales that have two symbols for their\n     * currency.\n     * For example, the Canadian dollar CAD has the symbol `CA$` and the symbol-narrow `$`. If the\n     * locale has no narrow symbol, uses the standard symbol for the locale.\n     *   - String: Use the given string value instead of a code or a symbol.\n     * For example, an empty string will suppress the currency & symbol.\n     *   - Boolean (marked deprecated in v5): `true` for symbol and false for `code`.\n     *\n     * @param {?=} digitsInfo Decimal representation options, specified by a string\n     * in the following format:<br>\n     * <code>{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}</code>.\n     *   - `minIntegerDigits`: The minimum number of integer digits before the decimal point.\n     * Default is `1`.\n     *   - `minFractionDigits`: The minimum number of digits after the decimal point.\n     * Default is `2`.\n     *   - `maxFractionDigits`: The maximum number of digits after the decimal point.\n     * Default is `2`.\n     * If not provided, the number will be formatted with the proper amount of digits,\n     * depending on what the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) specifies.\n     * For example, the Canadian dollar has 2 digits, whereas the Chilean peso has none.\n     * @param {?=} locale A locale code for the locale format rules to use.\n     * When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default.\n     * See [Setting your app locale](guide/i18n#setting-up-the-locale-of-your-app).\n     * @return {?}\n     */\n    transform(value, currencyCode, display = 'symbol', digitsInfo, locale) {\n        if (isEmpty(value))\n            return null;\n        locale = locale || this._locale;\n        if (typeof display === 'boolean') {\n            if ((/** @type {?} */ (console)) && (/** @type {?} */ (console.warn))) {\n                console.warn(`Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are \"code\", \"symbol\" or \"symbol-narrow\".`);\n            }\n            display = display ? 'symbol' : 'code';\n        }\n        /** @type {?} */\n        let currency = currencyCode || 'USD';\n        if (display !== 'code') {\n            if (display === 'symbol' || display === 'symbol-narrow') {\n                currency = getCurrencySymbol(currency, display === 'symbol' ? 'wide' : 'narrow', locale);\n            }\n            else {\n                currency = display;\n            }\n        }\n        try {\n            /** @type {?} */\n            const num = strToNumber(value);\n            return formatCurrency(num, locale, currency, currencyCode, digitsInfo);\n        }\n        catch (error) {\n            throw invalidPipeArgumentError(CurrencyPipe, error.message);\n        }\n    }\n}\nCurrencyPipe.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Pipe\"], args: [{ name: 'currency' },] }\n];\n/** @nocollapse */\nCurrencyPipe.ctorParameters = () => [\n    { type: String, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"LOCALE_ID\"],] }] }\n];\nif (false) {}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction isEmpty(value) {\n    return value == null || value === '' || value !== value;\n}\n/**\n * Transforms a string into a number (if needed).\n * @param {?} value\n * @return {?}\n */\nfunction strToNumber(value) {\n    // Convert strings to numbers\n    if (typeof value === 'string' && !isNaN(Number(value) - parseFloat(value))) {\n        return Number(value);\n    }\n    if (typeof value !== 'number') {\n        throw new Error(`${value} is not a number`);\n    }\n    return value;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@ngModule CommonModule\n * \\@description\n *\n * Creates a new `Array` or `String` containing a subset (slice) of the elements.\n *\n * \\@usageNotes\n *\n * All behavior is based on the expected behavior of the JavaScript API `Array.prototype.slice()`\n * and `String.prototype.slice()`.\n *\n * When operating on an `Array`, the returned `Array` is always a copy even when all\n * the elements are being returned.\n *\n * When operating on a blank value, the pipe returns the blank value.\n *\n * ### List Example\n *\n * This `ngFor` example:\n *\n * {\\@example common/pipes/ts/slice_pipe.ts region='SlicePipe_list'}\n *\n * produces the following:\n *\n * ```html\n * <li>b</li>\n * <li>c</li>\n * ```\n *\n * ### String Examples\n *\n * {\\@example common/pipes/ts/slice_pipe.ts region='SlicePipe_string'}\n *\n * \\@publicApi\n */\nclass SlicePipe {\n    /**\n     * @param {?} value\n     * @param {?} start\n     * @param {?=} end\n     * @return {?}\n     */\n    transform(value, start, end) {\n        if (value == null)\n            return value;\n        if (!this.supports(value)) {\n            throw invalidPipeArgumentError(SlicePipe, value);\n        }\n        return value.slice(start, end);\n    }\n    /**\n     * @private\n     * @param {?} obj\n     * @return {?}\n     */\n    supports(obj) { return typeof obj === 'string' || Array.isArray(obj); }\n}\nSlicePipe.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Pipe\"], args: [{ name: 'slice', pure: false },] }\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * A collection of Angular pipes that are likely to be used in each and every application.\n * @type {?}\n */\nconst COMMON_PIPES = [\n    AsyncPipe,\n    UpperCasePipe,\n    LowerCasePipe,\n    JsonPipe,\n    SlicePipe,\n    DecimalPipe,\n    PercentPipe,\n    TitleCasePipe,\n    CurrencyPipe,\n    DatePipe,\n    I18nPluralPipe,\n    I18nSelectPipe,\n    KeyValuePipe,\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n// Note: This does not contain the location providers,\n// as they need some platform specific implementations to work.\n/**\n * Exports all the basic Angular directives and pipes,\n * such as `NgIf`, `NgForOf`, `DecimalPipe`, and so on.\n * Re-exported by `BrowserModule`, which is included automatically in the root\n * `AppModule` when you create a new app with the CLI `new` command.\n *\n * * The `providers` options configure the NgModule's injector to provide\n * localization dependencies to members.\n * * The `exports` options make the declared directives and pipes available for import\n * by other NgModules.\n *\n * \\@publicApi\n */\nclass CommonModule {\n}\nCommonModule.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"], args: [{\n                declarations: [COMMON_DIRECTIVES, COMMON_PIPES],\n                exports: [COMMON_DIRECTIVES, COMMON_PIPES],\n                providers: [\n                    { provide: NgLocalization, useClass: NgLocaleLocalization },\n                ],\n            },] }\n];\nconst ɵ0$2 = getPluralCase;\n/**\n * A module that contains the deprecated i18n pipes.\n *\n * @deprecated from v5\n * \\@publicApi\n */\nclass DeprecatedI18NPipesModule {\n}\nDeprecatedI18NPipesModule.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"], args: [{\n                declarations: [COMMON_DEPRECATED_I18N_PIPES],\n                exports: [COMMON_DEPRECATED_I18N_PIPES],\n                providers: [{ provide: DEPRECATED_PLURAL_FN, useValue: ɵ0$2 }],\n            },] }\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * A DI Token representing the main rendering context. In a browser this is the DOM Document.\n *\n * Note: Document might not be available in the Application Context when Application and Rendering\n * Contexts are not the same (e.g. when running the application in a Web Worker).\n *\n * \\@publicApi\n * @type {?}\n */\nconst DOCUMENT = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('DocumentToken');\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** @type {?} */\nconst PLATFORM_BROWSER_ID = 'browser';\n/** @type {?} */\nconst PLATFORM_SERVER_ID = 'server';\n/** @type {?} */\nconst PLATFORM_WORKER_APP_ID = 'browserWorkerApp';\n/** @type {?} */\nconst PLATFORM_WORKER_UI_ID = 'browserWorkerUi';\n/**\n * Returns whether a platform id represents a browser platform.\n * \\@publicApi\n * @param {?} platformId\n * @return {?}\n */\nfunction isPlatformBrowser(platformId) {\n    return platformId === PLATFORM_BROWSER_ID;\n}\n/**\n * Returns whether a platform id represents a server platform.\n * \\@publicApi\n * @param {?} platformId\n * @return {?}\n */\nfunction isPlatformServer(platformId) {\n    return platformId === PLATFORM_SERVER_ID;\n}\n/**\n * Returns whether a platform id represents a web worker app platform.\n * \\@publicApi\n * @param {?} platformId\n * @return {?}\n */\nfunction isPlatformWorkerApp(platformId) {\n    return platformId === PLATFORM_WORKER_APP_ID;\n}\n/**\n * Returns whether a platform id represents a web worker UI platform.\n * \\@publicApi\n * @param {?} platformId\n * @return {?}\n */\nfunction isPlatformWorkerUi(platformId) {\n    return platformId === PLATFORM_WORKER_UI_ID;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@publicApi\n * @type {?}\n */\nconst VERSION = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Version\"]('8.2.14');\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Defines a scroll position manager. Implemented by `BrowserViewportScroller`.\n *\n * \\@publicApi\n * @abstract\n */\nclass ViewportScroller {\n}\n// De-sugared tree-shakable injection\n// See #23917\n/** @nocollapse */\n/** @nocollapse */ ViewportScroller.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({\n    token: ViewportScroller,\n    providedIn: 'root',\n    factory: (/**\n     * @nocollapse @return {?}\n     */\n    () => new BrowserViewportScroller(Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(DOCUMENT), window, Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ErrorHandler\"])))\n});\nif (false) {}\n/**\n * Manages the scroll position for a browser window.\n */\nclass BrowserViewportScroller {\n    /**\n     * @param {?} document\n     * @param {?} window\n     * @param {?} errorHandler\n     */\n    constructor(document, window, errorHandler) {\n        this.document = document;\n        this.window = window;\n        this.errorHandler = errorHandler;\n        this.offset = (/**\n         * @return {?}\n         */\n        () => [0, 0]);\n    }\n    /**\n     * Configures the top offset used when scrolling to an anchor.\n     * @param {?} offset A position in screen coordinates (a tuple with x and y values)\n     * or a function that returns the top offset position.\n     *\n     * @return {?}\n     */\n    setOffset(offset) {\n        if (Array.isArray(offset)) {\n            this.offset = (/**\n             * @return {?}\n             */\n            () => offset);\n        }\n        else {\n            this.offset = offset;\n        }\n    }\n    /**\n     * Retrieves the current scroll position.\n     * @return {?} The position in screen coordinates.\n     */\n    getScrollPosition() {\n        if (this.supportScrollRestoration()) {\n            return [this.window.scrollX, this.window.scrollY];\n        }\n        else {\n            return [0, 0];\n        }\n    }\n    /**\n     * Sets the scroll position.\n     * @param {?} position The new position in screen coordinates.\n     * @return {?}\n     */\n    scrollToPosition(position) {\n        if (this.supportScrollRestoration()) {\n            this.window.scrollTo(position[0], position[1]);\n        }\n    }\n    /**\n     * Scrolls to an anchor element.\n     * @param {?} anchor The ID of the anchor element.\n     * @return {?}\n     */\n    scrollToAnchor(anchor) {\n        if (this.supportScrollRestoration()) {\n            // Escape anything passed to `querySelector` as it can throw errors and stop the application\n            // from working if invalid values are passed.\n            if (this.window.CSS && this.window.CSS.escape) {\n                anchor = this.window.CSS.escape(anchor);\n            }\n            else {\n                anchor = anchor.replace(/(\\\"|\\'\\ |:|\\.|\\[|\\]|,|=)/g, '\\\\$1');\n            }\n            try {\n                /** @type {?} */\n                const elSelectedById = this.document.querySelector(`#${anchor}`);\n                if (elSelectedById) {\n                    this.scrollToElement(elSelectedById);\n                    return;\n                }\n                /** @type {?} */\n                const elSelectedByName = this.document.querySelector(`[name='${anchor}']`);\n                if (elSelectedByName) {\n                    this.scrollToElement(elSelectedByName);\n                    return;\n                }\n            }\n            catch (e) {\n                this.errorHandler.handleError(e);\n            }\n        }\n    }\n    /**\n     * Disables automatic scroll restoration provided by the browser.\n     * @param {?} scrollRestoration\n     * @return {?}\n     */\n    setHistoryScrollRestoration(scrollRestoration) {\n        if (this.supportScrollRestoration()) {\n            /** @type {?} */\n            const history = this.window.history;\n            if (history && history.scrollRestoration) {\n                history.scrollRestoration = scrollRestoration;\n            }\n        }\n    }\n    /**\n     * @private\n     * @param {?} el\n     * @return {?}\n     */\n    scrollToElement(el) {\n        /** @type {?} */\n        const rect = el.getBoundingClientRect();\n        /** @type {?} */\n        const left = rect.left + this.window.pageXOffset;\n        /** @type {?} */\n        const top = rect.top + this.window.pageYOffset;\n        /** @type {?} */\n        const offset = this.offset();\n        this.window.scrollTo(left - offset[0], top - offset[1]);\n    }\n    /**\n     * We only support scroll restoration when we can get a hold of window.\n     * This means that we do not support this behavior when running in a web worker.\n     *\n     * Lifting this restriction right now would require more changes in the dom adapter.\n     * Since webworkers aren't widely used, we will lift it once RouterScroller is\n     * battle-tested.\n     * @private\n     * @return {?}\n     */\n    supportScrollRestoration() {\n        try {\n            return !!this.window && !!this.window.scrollTo;\n        }\n        catch (_a) {\n            return false;\n        }\n    }\n}\nif (false) {}\n/**\n * Provides an empty implementation of the viewport scroller. This will\n * live in \\@angular/common as it will be used by both platform-server and platform-webworker.\n */\nclass NullViewportScroller {\n    /**\n     * Empty implementation\n     * @param {?} offset\n     * @return {?}\n     */\n    setOffset(offset) { }\n    /**\n     * Empty implementation\n     * @return {?}\n     */\n    getScrollPosition() { return [0, 0]; }\n    /**\n     * Empty implementation\n     * @param {?} position\n     * @return {?}\n     */\n    scrollToPosition(position) { }\n    /**\n     * Empty implementation\n     * @param {?} anchor\n     * @return {?}\n     */\n    scrollToAnchor(anchor) { }\n    /**\n     * Empty implementation\n     * @param {?} scrollRestoration\n     * @return {?}\n     */\n    setHistoryScrollRestoration(scrollRestoration) { }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\n\n//# sourceMappingURL=common.js.map\n\n\n/***/ }),\n\n/***/ \"./node_modules/@angular/common/fesm2015/http.js\":\n/*!*******************************************************!*\\\n  !*** ./node_modules/@angular/common/fesm2015/http.js ***!\n  \\*******************************************************/\n/*! exports provided: ɵangular_packages_common_http_http_a, ɵangular_packages_common_http_http_b, ɵangular_packages_common_http_http_c, ɵangular_packages_common_http_http_d, ɵangular_packages_common_http_http_g, ɵangular_packages_common_http_http_h, ɵangular_packages_common_http_http_e, ɵangular_packages_common_http_http_f, HttpBackend, HttpHandler, HttpClient, HttpHeaders, HTTP_INTERCEPTORS, JsonpClientBackend, JsonpInterceptor, HttpClientJsonpModule, HttpClientModule, HttpClientXsrfModule, ɵHttpInterceptingHandler, HttpParams, HttpUrlEncodingCodec, HttpRequest, HttpErrorResponse, HttpEventType, HttpHeaderResponse, HttpResponse, HttpResponseBase, HttpXhrBackend, XhrFactory, HttpXsrfTokenExtractor */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_common_http_http_a\", function() { return NoopInterceptor; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_common_http_http_b\", function() { return JsonpCallbackContext; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_common_http_http_c\", function() { return jsonpCallbackContext; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_common_http_http_d\", function() { return BrowserXhr; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_common_http_http_g\", function() { return HttpXsrfCookieExtractor; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_common_http_http_h\", function() { return HttpXsrfInterceptor; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_common_http_http_e\", function() { return XSRF_COOKIE_NAME; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_common_http_http_f\", function() { return XSRF_HEADER_NAME; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"HttpBackend\", function() { return HttpBackend; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"HttpHandler\", function() { return HttpHandler; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"HttpClient\", function() { return HttpClient; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"HttpHeaders\", function() { return HttpHeaders; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"HTTP_INTERCEPTORS\", function() { return HTTP_INTERCEPTORS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"JsonpClientBackend\", function() { return JsonpClientBackend; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"JsonpInterceptor\", function() { return JsonpInterceptor; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"HttpClientJsonpModule\", function() { return HttpClientJsonpModule; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"HttpClientModule\", function() { return HttpClientModule; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"HttpClientXsrfModule\", function() { return HttpClientXsrfModule; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵHttpInterceptingHandler\", function() { return HttpInterceptingHandler; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"HttpParams\", function() { return HttpParams; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"HttpUrlEncodingCodec\", function() { return HttpUrlEncodingCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"HttpRequest\", function() { return HttpRequest; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"HttpErrorResponse\", function() { return HttpErrorResponse; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"HttpEventType\", function() { return HttpEventType; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"HttpHeaderResponse\", function() { return HttpHeaderResponse; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"HttpResponse\", function() { return HttpResponse; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"HttpResponseBase\", function() { return HttpResponseBase; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"HttpXhrBackend\", function() { return HttpXhrBackend; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"XhrFactory\", function() { return XhrFactory; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"HttpXsrfTokenExtractor\", function() { return HttpXsrfTokenExtractor; });\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ \"./node_modules/rxjs/_esm2015/index.js\");\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ \"./node_modules/rxjs/_esm2015/operators/index.js\");\n/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common */ \"./node_modules/@angular/common/fesm2015/common.js\");\n/**\n * @license Angular v8.2.14\n * (c) 2010-2019 Google LLC. https://angular.io/\n * License: MIT\n */\n\n\n\n\n\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Transforms an `HttpRequest` into a stream of `HttpEvent`s, one of which will likely be a\n * `HttpResponse`.\n *\n * `HttpHandler` is injectable. When injected, the handler instance dispatches requests to the\n * first interceptor in the chain, which dispatches to the second, etc, eventually reaching the\n * `HttpBackend`.\n *\n * In an `HttpInterceptor`, the `HttpHandler` parameter is the next interceptor in the chain.\n *\n * \\@publicApi\n * @abstract\n */\nclass HttpHandler {\n}\nif (false) {}\n/**\n * A final `HttpHandler` which will dispatch the request via browser HTTP APIs to a backend.\n *\n * Interceptors sit between the `HttpClient` interface and the `HttpBackend`.\n *\n * When injected, `HttpBackend` dispatches requests directly to the backend, without going\n * through the interceptor chain.\n *\n * \\@publicApi\n * @abstract\n */\nclass HttpBackend {\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * @record\n */\nfunction Update() { }\nif (false) {}\n/**\n * Represents the header configuration options for an HTTP request.\n * Instances are immutable. Modifying methods return a cloned\n * instance with the change. The original object is never changed.\n *\n * \\@publicApi\n */\nclass HttpHeaders {\n    /**\n     * Constructs a new HTTP header object with the given values.\n     * @param {?=} headers\n     */\n    constructor(headers) {\n        /**\n         * Internal map of lowercased header names to the normalized\n         * form of the name (the form seen first).\n         */\n        this.normalizedNames = new Map();\n        /**\n         * Queued updates to be materialized the next initialization.\n         */\n        this.lazyUpdate = null;\n        if (!headers) {\n            this.headers = new Map();\n        }\n        else if (typeof headers === 'string') {\n            this.lazyInit = (/**\n             * @return {?}\n             */\n            () => {\n                this.headers = new Map();\n                headers.split('\\n').forEach((/**\n                 * @param {?} line\n                 * @return {?}\n                 */\n                line => {\n                    /** @type {?} */\n                    const index = line.indexOf(':');\n                    if (index > 0) {\n                        /** @type {?} */\n                        const name = line.slice(0, index);\n                        /** @type {?} */\n                        const key = name.toLowerCase();\n                        /** @type {?} */\n                        const value = line.slice(index + 1).trim();\n                        this.maybeSetNormalizedName(name, key);\n                        if (this.headers.has(key)) {\n                            (/** @type {?} */ (this.headers.get(key))).push(value);\n                        }\n                        else {\n                            this.headers.set(key, [value]);\n                        }\n                    }\n                }));\n            });\n        }\n        else {\n            this.lazyInit = (/**\n             * @return {?}\n             */\n            () => {\n                this.headers = new Map();\n                Object.keys(headers).forEach((/**\n                 * @param {?} name\n                 * @return {?}\n                 */\n                name => {\n                    /** @type {?} */\n                    let values = headers[name];\n                    /** @type {?} */\n                    const key = name.toLowerCase();\n                    if (typeof values === 'string') {\n                        values = [values];\n                    }\n                    if (values.length > 0) {\n                        this.headers.set(key, values);\n                        this.maybeSetNormalizedName(name, key);\n                    }\n                }));\n            });\n        }\n    }\n    /**\n     * Checks for existence of a given header.\n     *\n     * @param {?} name The header name to check for existence.\n     *\n     * @return {?} True if the header exists, false otherwise.\n     */\n    has(name) {\n        this.init();\n        return this.headers.has(name.toLowerCase());\n    }\n    /**\n     * Retrieves the first value of a given header.\n     *\n     * @param {?} name The header name.\n     *\n     * @return {?} The value string if the header exists, null otherwise\n     */\n    get(name) {\n        this.init();\n        /** @type {?} */\n        const values = this.headers.get(name.toLowerCase());\n        return values && values.length > 0 ? values[0] : null;\n    }\n    /**\n     * Retrieves the names of the headers.\n     *\n     * @return {?} A list of header names.\n     */\n    keys() {\n        this.init();\n        return Array.from(this.normalizedNames.values());\n    }\n    /**\n     * Retrieves a list of values for a given header.\n     *\n     * @param {?} name The header name from which to retrieve values.\n     *\n     * @return {?} A string of values if the header exists, null otherwise.\n     */\n    getAll(name) {\n        this.init();\n        return this.headers.get(name.toLowerCase()) || null;\n    }\n    /**\n     * Appends a new value to the existing set of values for a header\n     * and returns them in a clone of the original instance.\n     *\n     * @param {?} name The header name for which to append the value or values.\n     * @param {?} value The new value or array of values.\n     *\n     * @return {?} A clone of the HTTP headers object with the value appended to the given header.\n     */\n    append(name, value) {\n        return this.clone({ name, value, op: 'a' });\n    }\n    /**\n     * Sets or modifies a value for a given header in a clone of the original instance.\n     * If the header already exists, its value is replaced with the given value\n     * in the returned object.\n     *\n     * @param {?} name The header name.\n     * @param {?} value The value or values to set or overide for the given header.\n     *\n     * @return {?} A clone of the HTTP headers object with the newly set header value.\n     */\n    set(name, value) {\n        return this.clone({ name, value, op: 's' });\n    }\n    /**\n     * Deletes values for a given header in a clone of the original instance.\n     *\n     * @param {?} name The header name.\n     * @param {?=} value The value or values to delete for the given header.\n     *\n     * @return {?} A clone of the HTTP headers object with the given value deleted.\n     */\n    delete(name, value) {\n        return this.clone({ name, value, op: 'd' });\n    }\n    /**\n     * @private\n     * @param {?} name\n     * @param {?} lcName\n     * @return {?}\n     */\n    maybeSetNormalizedName(name, lcName) {\n        if (!this.normalizedNames.has(lcName)) {\n            this.normalizedNames.set(lcName, name);\n        }\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    init() {\n        if (!!this.lazyInit) {\n            if (this.lazyInit instanceof HttpHeaders) {\n                this.copyFrom(this.lazyInit);\n            }\n            else {\n                this.lazyInit();\n            }\n            this.lazyInit = null;\n            if (!!this.lazyUpdate) {\n                this.lazyUpdate.forEach((/**\n                 * @param {?} update\n                 * @return {?}\n                 */\n                update => this.applyUpdate(update)));\n                this.lazyUpdate = null;\n            }\n        }\n    }\n    /**\n     * @private\n     * @param {?} other\n     * @return {?}\n     */\n    copyFrom(other) {\n        other.init();\n        Array.from(other.headers.keys()).forEach((/**\n         * @param {?} key\n         * @return {?}\n         */\n        key => {\n            this.headers.set(key, (/** @type {?} */ (other.headers.get(key))));\n            this.normalizedNames.set(key, (/** @type {?} */ (other.normalizedNames.get(key))));\n        }));\n    }\n    /**\n     * @private\n     * @param {?} update\n     * @return {?}\n     */\n    clone(update) {\n        /** @type {?} */\n        const clone = new HttpHeaders();\n        clone.lazyInit =\n            (!!this.lazyInit && this.lazyInit instanceof HttpHeaders) ? this.lazyInit : this;\n        clone.lazyUpdate = (this.lazyUpdate || []).concat([update]);\n        return clone;\n    }\n    /**\n     * @private\n     * @param {?} update\n     * @return {?}\n     */\n    applyUpdate(update) {\n        /** @type {?} */\n        const key = update.name.toLowerCase();\n        switch (update.op) {\n            case 'a':\n            case 's':\n                /** @type {?} */\n                let value = (/** @type {?} */ (update.value));\n                if (typeof value === 'string') {\n                    value = [value];\n                }\n                if (value.length === 0) {\n                    return;\n                }\n                this.maybeSetNormalizedName(update.name, key);\n                /** @type {?} */\n                const base = (update.op === 'a' ? this.headers.get(key) : undefined) || [];\n                base.push(...value);\n                this.headers.set(key, base);\n                break;\n            case 'd':\n                /** @type {?} */\n                const toDelete = (/** @type {?} */ (update.value));\n                if (!toDelete) {\n                    this.headers.delete(key);\n                    this.normalizedNames.delete(key);\n                }\n                else {\n                    /** @type {?} */\n                    let existing = this.headers.get(key);\n                    if (!existing) {\n                        return;\n                    }\n                    existing = existing.filter((/**\n                     * @param {?} value\n                     * @return {?}\n                     */\n                    value => toDelete.indexOf(value) === -1));\n                    if (existing.length === 0) {\n                        this.headers.delete(key);\n                        this.normalizedNames.delete(key);\n                    }\n                    else {\n                        this.headers.set(key, existing);\n                    }\n                }\n                break;\n        }\n    }\n    /**\n     * \\@internal\n     * @param {?} fn\n     * @return {?}\n     */\n    forEach(fn) {\n        this.init();\n        Array.from(this.normalizedNames.keys())\n            .forEach((/**\n         * @param {?} key\n         * @return {?}\n         */\n        key => fn((/** @type {?} */ (this.normalizedNames.get(key))), (/** @type {?} */ (this.headers.get(key))))));\n    }\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * A codec for encoding and decoding parameters in URLs.\n *\n * Used by `HttpParams`.\n *\n * \\@publicApi\n *\n * @record\n */\nfunction HttpParameterCodec() { }\nif (false) {}\n/**\n * Provides encoding and decoding of URL parameter and query-string values.\n *\n * Serializes and parses URL parameter keys and values to encode and decode them.\n * If you pass URL query parameters without encoding,\n * the query parameters can be misinterpreted at the receiving end.\n *\n *\n * \\@publicApi\n */\nclass HttpUrlEncodingCodec {\n    /**\n     * Encodes a key name for a URL parameter or query-string.\n     * @param {?} key The key name.\n     * @return {?} The encoded key name.\n     */\n    encodeKey(key) { return standardEncoding(key); }\n    /**\n     * Encodes the value of a URL parameter or query-string.\n     * @param {?} value The value.\n     * @return {?} The encoded value.\n     */\n    encodeValue(value) { return standardEncoding(value); }\n    /**\n     * Decodes an encoded URL parameter or query-string key.\n     * @param {?} key The encoded key name.\n     * @return {?} The decoded key name.\n     */\n    decodeKey(key) { return decodeURIComponent(key); }\n    /**\n     * Decodes an encoded URL parameter or query-string value.\n     * @param {?} value The encoded value.\n     * @return {?} The decoded value.\n     */\n    decodeValue(value) { return decodeURIComponent(value); }\n}\n/**\n * @param {?} rawParams\n * @param {?} codec\n * @return {?}\n */\nfunction paramParser(rawParams, codec) {\n    /** @type {?} */\n    const map = new Map();\n    if (rawParams.length > 0) {\n        /** @type {?} */\n        const params = rawParams.split('&');\n        params.forEach((/**\n         * @param {?} param\n         * @return {?}\n         */\n        (param) => {\n            /** @type {?} */\n            const eqIdx = param.indexOf('=');\n            const [key, val] = eqIdx == -1 ?\n                [codec.decodeKey(param), ''] :\n                [codec.decodeKey(param.slice(0, eqIdx)), codec.decodeValue(param.slice(eqIdx + 1))];\n            /** @type {?} */\n            const list = map.get(key) || [];\n            list.push(val);\n            map.set(key, list);\n        }));\n    }\n    return map;\n}\n/**\n * @param {?} v\n * @return {?}\n */\nfunction standardEncoding(v) {\n    return encodeURIComponent(v)\n        .replace(/%40/gi, '@')\n        .replace(/%3A/gi, ':')\n        .replace(/%24/gi, '$')\n        .replace(/%2C/gi, ',')\n        .replace(/%3B/gi, ';')\n        .replace(/%2B/gi, '+')\n        .replace(/%3D/gi, '=')\n        .replace(/%3F/gi, '?')\n        .replace(/%2F/gi, '/');\n}\n/**\n * @record\n */\nfunction Update$1() { }\nif (false) {}\n/**\n * Options used to construct an `HttpParams` instance.\n *\n * \\@publicApi\n * @record\n */\nfunction HttpParamsOptions() { }\nif (false) {}\n/**\n * An HTTP request/response body that represents serialized parameters,\n * per the MIME type `application/x-www-form-urlencoded`.\n *\n * This class is immutable; all mutation operations return a new instance.\n *\n * \\@publicApi\n */\nclass HttpParams {\n    /**\n     * @param {?=} options\n     */\n    constructor(options = (/** @type {?} */ ({}))) {\n        this.updates = null;\n        this.cloneFrom = null;\n        this.encoder = options.encoder || new HttpUrlEncodingCodec();\n        if (!!options.fromString) {\n            if (!!options.fromObject) {\n                throw new Error(`Cannot specify both fromString and fromObject.`);\n            }\n            this.map = paramParser(options.fromString, this.encoder);\n        }\n        else if (!!options.fromObject) {\n            this.map = new Map();\n            Object.keys(options.fromObject).forEach((/**\n             * @param {?} key\n             * @return {?}\n             */\n            key => {\n                /** @type {?} */\n                const value = ((/** @type {?} */ (options.fromObject)))[key];\n                (/** @type {?} */ (this.map)).set(key, Array.isArray(value) ? value : [value]);\n            }));\n        }\n        else {\n            this.map = null;\n        }\n    }\n    /**\n     * Reports whether the body includes one or more values for a given parameter.\n     * @param {?} param The parameter name.\n     * @return {?} True if the parameter has one or more values,\n     * false if it has no value or is not present.\n     */\n    has(param) {\n        this.init();\n        return (/** @type {?} */ (this.map)).has(param);\n    }\n    /**\n     * Retrieves the first value for a parameter.\n     * @param {?} param The parameter name.\n     * @return {?} The first value of the given parameter,\n     * or `null` if the parameter is not present.\n     */\n    get(param) {\n        this.init();\n        /** @type {?} */\n        const res = (/** @type {?} */ (this.map)).get(param);\n        return !!res ? res[0] : null;\n    }\n    /**\n     * Retrieves all values for a  parameter.\n     * @param {?} param The parameter name.\n     * @return {?} All values in a string array,\n     * or `null` if the parameter not present.\n     */\n    getAll(param) {\n        this.init();\n        return (/** @type {?} */ (this.map)).get(param) || null;\n    }\n    /**\n     * Retrieves all the parameters for this body.\n     * @return {?} The parameter names in a string array.\n     */\n    keys() {\n        this.init();\n        return Array.from((/** @type {?} */ (this.map)).keys());\n    }\n    /**\n     * Appends a new value to existing values for a parameter.\n     * @param {?} param The parameter name.\n     * @param {?} value The new value to add.\n     * @return {?} A new body with the appended value.\n     */\n    append(param, value) { return this.clone({ param, value, op: 'a' }); }\n    /**\n     * Replaces the value for a parameter.\n     * @param {?} param The parameter name.\n     * @param {?} value The new value.\n     * @return {?} A new body with the new value.\n     */\n    set(param, value) { return this.clone({ param, value, op: 's' }); }\n    /**\n     * Removes a given value or all values from a parameter.\n     * @param {?} param The parameter name.\n     * @param {?=} value The value to remove, if provided.\n     * @return {?} A new body with the given value removed, or with all values\n     * removed if no value is specified.\n     */\n    delete(param, value) { return this.clone({ param, value, op: 'd' }); }\n    /**\n     * Serializes the body to an encoded string, where key-value pairs (separated by `=`) are\n     * separated by `&`s.\n     * @return {?}\n     */\n    toString() {\n        this.init();\n        return this.keys()\n            .map((/**\n         * @param {?} key\n         * @return {?}\n         */\n        key => {\n            /** @type {?} */\n            const eKey = this.encoder.encodeKey(key);\n            return (/** @type {?} */ ((/** @type {?} */ (this.map)).get(key))).map((/**\n             * @param {?} value\n             * @return {?}\n             */\n            value => eKey + '=' + this.encoder.encodeValue(value)))\n                .join('&');\n        }))\n            .join('&');\n    }\n    /**\n     * @private\n     * @param {?} update\n     * @return {?}\n     */\n    clone(update) {\n        /** @type {?} */\n        const clone = new HttpParams((/** @type {?} */ ({ encoder: this.encoder })));\n        clone.cloneFrom = this.cloneFrom || this;\n        clone.updates = (this.updates || []).concat([update]);\n        return clone;\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    init() {\n        if (this.map === null) {\n            this.map = new Map();\n        }\n        if (this.cloneFrom !== null) {\n            this.cloneFrom.init();\n            this.cloneFrom.keys().forEach((/**\n             * @param {?} key\n             * @return {?}\n             */\n            key => (/** @type {?} */ (this.map)).set(key, (/** @type {?} */ ((/** @type {?} */ ((/** @type {?} */ (this.cloneFrom)).map)).get(key))))));\n            (/** @type {?} */ (this.updates)).forEach((/**\n             * @param {?} update\n             * @return {?}\n             */\n            update => {\n                switch (update.op) {\n                    case 'a':\n                    case 's':\n                        /** @type {?} */\n                        const base = (update.op === 'a' ? (/** @type {?} */ (this.map)).get(update.param) : undefined) || [];\n                        base.push((/** @type {?} */ (update.value)));\n                        (/** @type {?} */ (this.map)).set(update.param, base);\n                        break;\n                    case 'd':\n                        if (update.value !== undefined) {\n                            /** @type {?} */\n                            let base = (/** @type {?} */ (this.map)).get(update.param) || [];\n                            /** @type {?} */\n                            const idx = base.indexOf(update.value);\n                            if (idx !== -1) {\n                                base.splice(idx, 1);\n                            }\n                            if (base.length > 0) {\n                                (/** @type {?} */ (this.map)).set(update.param, base);\n                            }\n                            else {\n                                (/** @type {?} */ (this.map)).delete(update.param);\n                            }\n                        }\n                        else {\n                            (/** @type {?} */ (this.map)).delete(update.param);\n                            break;\n                        }\n                }\n            }));\n            this.cloneFrom = this.updates = null;\n        }\n    }\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Construction interface for `HttpRequest`s.\n *\n * All values are optional and will override default values if provided.\n * @record\n */\nfunction HttpRequestInit() { }\nif (false) {}\n/**\n * Determine whether the given HTTP method may include a body.\n * @param {?} method\n * @return {?}\n */\nfunction mightHaveBody(method) {\n    switch (method) {\n        case 'DELETE':\n        case 'GET':\n        case 'HEAD':\n        case 'OPTIONS':\n        case 'JSONP':\n            return false;\n        default:\n            return true;\n    }\n}\n/**\n * Safely assert whether the given value is an ArrayBuffer.\n *\n * In some execution environments ArrayBuffer is not defined.\n * @param {?} value\n * @return {?}\n */\nfunction isArrayBuffer(value) {\n    return typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer;\n}\n/**\n * Safely assert whether the given value is a Blob.\n *\n * In some execution environments Blob is not defined.\n * @param {?} value\n * @return {?}\n */\nfunction isBlob(value) {\n    return typeof Blob !== 'undefined' && value instanceof Blob;\n}\n/**\n * Safely assert whether the given value is a FormData instance.\n *\n * In some execution environments FormData is not defined.\n * @param {?} value\n * @return {?}\n */\nfunction isFormData(value) {\n    return typeof FormData !== 'undefined' && value instanceof FormData;\n}\n/**\n * An outgoing HTTP request with an optional typed body.\n *\n * `HttpRequest` represents an outgoing request, including URL, method,\n * headers, body, and other request configuration options. Instances should be\n * assumed to be immutable. To modify a `HttpRequest`, the `clone`\n * method should be used.\n *\n * \\@publicApi\n * @template T\n */\nclass HttpRequest {\n    /**\n     * @param {?} method\n     * @param {?} url\n     * @param {?=} third\n     * @param {?=} fourth\n     */\n    constructor(method, url, third, fourth) {\n        this.url = url;\n        /**\n         * The request body, or `null` if one isn't set.\n         *\n         * Bodies are not enforced to be immutable, as they can include a reference to any\n         * user-defined data type. However, interceptors should take care to preserve\n         * idempotence by treating them as such.\n         */\n        this.body = null;\n        /**\n         * Whether this request should be made in a way that exposes progress events.\n         *\n         * Progress events are expensive (change detection runs on each event) and so\n         * they should only be requested if the consumer intends to monitor them.\n         */\n        this.reportProgress = false;\n        /**\n         * Whether this request should be sent with outgoing credentials (cookies).\n         */\n        this.withCredentials = false;\n        /**\n         * The expected response type of the server.\n         *\n         * This is used to parse the response appropriately before returning it to\n         * the requestee.\n         */\n        this.responseType = 'json';\n        this.method = method.toUpperCase();\n        // Next, need to figure out which argument holds the HttpRequestInit\n        // options, if any.\n        /** @type {?} */\n        let options;\n        // Check whether a body argument is expected. The only valid way to omit\n        // the body argument is to use a known no-body method like GET.\n        if (mightHaveBody(this.method) || !!fourth) {\n            // Body is the third argument, options are the fourth.\n            this.body = (third !== undefined) ? (/** @type {?} */ (third)) : null;\n            options = fourth;\n        }\n        else {\n            // No body required, options are the third argument. The body stays null.\n            options = (/** @type {?} */ (third));\n        }\n        // If options have been passed, interpret them.\n        if (options) {\n            // Normalize reportProgress and withCredentials.\n            this.reportProgress = !!options.reportProgress;\n            this.withCredentials = !!options.withCredentials;\n            // Override default response type of 'json' if one is provided.\n            if (!!options.responseType) {\n                this.responseType = options.responseType;\n            }\n            // Override headers if they're provided.\n            if (!!options.headers) {\n                this.headers = options.headers;\n            }\n            if (!!options.params) {\n                this.params = options.params;\n            }\n        }\n        // If no headers have been passed in, construct a new HttpHeaders instance.\n        if (!this.headers) {\n            this.headers = new HttpHeaders();\n        }\n        // If no parameters have been passed in, construct a new HttpUrlEncodedParams instance.\n        if (!this.params) {\n            this.params = new HttpParams();\n            this.urlWithParams = url;\n        }\n        else {\n            // Encode the parameters to a string in preparation for inclusion in the URL.\n            /** @type {?} */\n            const params = this.params.toString();\n            if (params.length === 0) {\n                // No parameters, the visible URL is just the URL given at creation time.\n                this.urlWithParams = url;\n            }\n            else {\n                // Does the URL already have query parameters? Look for '?'.\n                /** @type {?} */\n                const qIdx = url.indexOf('?');\n                // There are 3 cases to handle:\n                // 1) No existing parameters -> append '?' followed by params.\n                // 2) '?' exists and is followed by existing query string ->\n                //    append '&' followed by params.\n                // 3) '?' exists at the end of the url -> append params directly.\n                // This basically amounts to determining the character, if any, with\n                // which to join the URL and parameters.\n                /** @type {?} */\n                const sep = qIdx === -1 ? '?' : (qIdx < url.length - 1 ? '&' : '');\n                this.urlWithParams = url + sep + params;\n            }\n        }\n    }\n    /**\n     * Transform the free-form body into a serialized format suitable for\n     * transmission to the server.\n     * @return {?}\n     */\n    serializeBody() {\n        // If no body is present, no need to serialize it.\n        if (this.body === null) {\n            return null;\n        }\n        // Check whether the body is already in a serialized form. If so,\n        // it can just be returned directly.\n        if (isArrayBuffer(this.body) || isBlob(this.body) || isFormData(this.body) ||\n            typeof this.body === 'string') {\n            return this.body;\n        }\n        // Check whether the body is an instance of HttpUrlEncodedParams.\n        if (this.body instanceof HttpParams) {\n            return this.body.toString();\n        }\n        // Check whether the body is an object or array, and serialize with JSON if so.\n        if (typeof this.body === 'object' || typeof this.body === 'boolean' ||\n            Array.isArray(this.body)) {\n            return JSON.stringify(this.body);\n        }\n        // Fall back on toString() for everything else.\n        return ((/** @type {?} */ (this.body))).toString();\n    }\n    /**\n     * Examine the body and attempt to infer an appropriate MIME type\n     * for it.\n     *\n     * If no such type can be inferred, this method will return `null`.\n     * @return {?}\n     */\n    detectContentTypeHeader() {\n        // An empty body has no content type.\n        if (this.body === null) {\n            return null;\n        }\n        // FormData bodies rely on the browser's content type assignment.\n        if (isFormData(this.body)) {\n            return null;\n        }\n        // Blobs usually have their own content type. If it doesn't, then\n        // no type can be inferred.\n        if (isBlob(this.body)) {\n            return this.body.type || null;\n        }\n        // Array buffers have unknown contents and thus no type can be inferred.\n        if (isArrayBuffer(this.body)) {\n            return null;\n        }\n        // Technically, strings could be a form of JSON data, but it's safe enough\n        // to assume they're plain strings.\n        if (typeof this.body === 'string') {\n            return 'text/plain';\n        }\n        // `HttpUrlEncodedParams` has its own content-type.\n        if (this.body instanceof HttpParams) {\n            return 'application/x-www-form-urlencoded;charset=UTF-8';\n        }\n        // Arrays, objects, and numbers will be encoded as JSON.\n        if (typeof this.body === 'object' || typeof this.body === 'number' ||\n            Array.isArray(this.body)) {\n            return 'application/json';\n        }\n        // No type could be inferred.\n        return null;\n    }\n    /**\n     * @param {?=} update\n     * @return {?}\n     */\n    clone(update = {}) {\n        // For method, url, and responseType, take the current value unless\n        // it is overridden in the update hash.\n        /** @type {?} */\n        const method = update.method || this.method;\n        /** @type {?} */\n        const url = update.url || this.url;\n        /** @type {?} */\n        const responseType = update.responseType || this.responseType;\n        // The body is somewhat special - a `null` value in update.body means\n        // whatever current body is present is being overridden with an empty\n        // body, whereas an `undefined` value in update.body implies no\n        // override.\n        /** @type {?} */\n        const body = (update.body !== undefined) ? update.body : this.body;\n        // Carefully handle the boolean options to differentiate between\n        // `false` and `undefined` in the update args.\n        /** @type {?} */\n        const withCredentials = (update.withCredentials !== undefined) ? update.withCredentials : this.withCredentials;\n        /** @type {?} */\n        const reportProgress = (update.reportProgress !== undefined) ? update.reportProgress : this.reportProgress;\n        // Headers and params may be appended to if `setHeaders` or\n        // `setParams` are used.\n        /** @type {?} */\n        let headers = update.headers || this.headers;\n        /** @type {?} */\n        let params = update.params || this.params;\n        // Check whether the caller has asked to add headers.\n        if (update.setHeaders !== undefined) {\n            // Set every requested header.\n            headers =\n                Object.keys(update.setHeaders)\n                    .reduce((/**\n                 * @param {?} headers\n                 * @param {?} name\n                 * @return {?}\n                 */\n                (headers, name) => headers.set(name, (/** @type {?} */ (update.setHeaders))[name])), headers);\n        }\n        // Check whether the caller has asked to set params.\n        if (update.setParams) {\n            // Set every requested param.\n            params = Object.keys(update.setParams)\n                .reduce((/**\n             * @param {?} params\n             * @param {?} param\n             * @return {?}\n             */\n            (params, param) => params.set(param, (/** @type {?} */ (update.setParams))[param])), params);\n        }\n        // Finally, construct the new HttpRequest using the pieces from above.\n        return new HttpRequest(method, url, body, {\n            params, headers, reportProgress, responseType, withCredentials,\n        });\n    }\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @enum {number} */\nconst HttpEventType = {\n    /**\n     * The request was sent out over the wire.\n     */\n    Sent: 0,\n    /**\n     * An upload progress event was received.\n     */\n    UploadProgress: 1,\n    /**\n     * The response status code and headers were received.\n     */\n    ResponseHeader: 2,\n    /**\n     * A download progress event was received.\n     */\n    DownloadProgress: 3,\n    /**\n     * The full response including the body was received.\n     */\n    Response: 4,\n    /**\n     * A custom event from an interceptor or a backend.\n     */\n    User: 5,\n};\nHttpEventType[HttpEventType.Sent] = 'Sent';\nHttpEventType[HttpEventType.UploadProgress] = 'UploadProgress';\nHttpEventType[HttpEventType.ResponseHeader] = 'ResponseHeader';\nHttpEventType[HttpEventType.DownloadProgress] = 'DownloadProgress';\nHttpEventType[HttpEventType.Response] = 'Response';\nHttpEventType[HttpEventType.User] = 'User';\n/**\n * Base interface for progress events.\n *\n * \\@publicApi\n * @record\n */\nfunction HttpProgressEvent() { }\nif (false) {}\n/**\n * A download progress event.\n *\n * \\@publicApi\n * @record\n */\nfunction HttpDownloadProgressEvent() { }\nif (false) {}\n/**\n * An upload progress event.\n *\n * \\@publicApi\n * @record\n */\nfunction HttpUploadProgressEvent() { }\nif (false) {}\n/**\n * An event indicating that the request was sent to the server. Useful\n * when a request may be retried multiple times, to distinguish between\n * retries on the final event stream.\n *\n * \\@publicApi\n * @record\n */\nfunction HttpSentEvent() { }\nif (false) {}\n/**\n * A user-defined event.\n *\n * Grouping all custom events under this type ensures they will be handled\n * and forwarded by all implementations of interceptors.\n *\n * \\@publicApi\n * @record\n * @template T\n */\nfunction HttpUserEvent() { }\nif (false) {}\n/**\n * An error that represents a failed attempt to JSON.parse text coming back\n * from the server.\n *\n * It bundles the Error object with the actual response body that failed to parse.\n *\n *\n * @record\n */\nfunction HttpJsonParseError() { }\nif (false) {}\n/**\n * Base class for both `HttpResponse` and `HttpHeaderResponse`.\n *\n * \\@publicApi\n * @abstract\n */\nclass HttpResponseBase {\n    /**\n     * Super-constructor for all responses.\n     *\n     * The single parameter accepted is an initialization hash. Any properties\n     * of the response passed there will override the default values.\n     * @param {?} init\n     * @param {?=} defaultStatus\n     * @param {?=} defaultStatusText\n     */\n    constructor(init, defaultStatus = 200, defaultStatusText = 'OK') {\n        // If the hash has values passed, use them to initialize the response.\n        // Otherwise use the default values.\n        this.headers = init.headers || new HttpHeaders();\n        this.status = init.status !== undefined ? init.status : defaultStatus;\n        this.statusText = init.statusText || defaultStatusText;\n        this.url = init.url || null;\n        // Cache the ok value to avoid defining a getter.\n        this.ok = this.status >= 200 && this.status < 300;\n    }\n}\nif (false) {}\n/**\n * A partial HTTP response which only includes the status and header data,\n * but no response body.\n *\n * `HttpHeaderResponse` is a `HttpEvent` available on the response\n * event stream, only when progress events are requested.\n *\n * \\@publicApi\n */\nclass HttpHeaderResponse extends HttpResponseBase {\n    /**\n     * Create a new `HttpHeaderResponse` with the given parameters.\n     * @param {?=} init\n     */\n    constructor(init = {}) {\n        super(init);\n        this.type = HttpEventType.ResponseHeader;\n    }\n    /**\n     * Copy this `HttpHeaderResponse`, overriding its contents with the\n     * given parameter hash.\n     * @param {?=} update\n     * @return {?}\n     */\n    clone(update = {}) {\n        // Perform a straightforward initialization of the new HttpHeaderResponse,\n        // overriding the current parameters with new ones if given.\n        return new HttpHeaderResponse({\n            headers: update.headers || this.headers,\n            status: update.status !== undefined ? update.status : this.status,\n            statusText: update.statusText || this.statusText,\n            url: update.url || this.url || undefined,\n        });\n    }\n}\nif (false) {}\n/**\n * A full HTTP response, including a typed response body (which may be `null`\n * if one was not returned).\n *\n * `HttpResponse` is a `HttpEvent` available on the response event\n * stream.\n *\n * \\@publicApi\n * @template T\n */\nclass HttpResponse extends HttpResponseBase {\n    /**\n     * Construct a new `HttpResponse`.\n     * @param {?=} init\n     */\n    constructor(init = {}) {\n        super(init);\n        this.type = HttpEventType.Response;\n        this.body = init.body !== undefined ? init.body : null;\n    }\n    /**\n     * @param {?=} update\n     * @return {?}\n     */\n    clone(update = {}) {\n        return new HttpResponse({\n            body: (update.body !== undefined) ? update.body : this.body,\n            headers: update.headers || this.headers,\n            status: (update.status !== undefined) ? update.status : this.status,\n            statusText: update.statusText || this.statusText,\n            url: update.url || this.url || undefined,\n        });\n    }\n}\nif (false) {}\n/**\n * A response that represents an error or failure, either from a\n * non-successful HTTP status, an error while executing the request,\n * or some other failure which occurred during the parsing of the response.\n *\n * Any error returned on the `Observable` response stream will be\n * wrapped in an `HttpErrorResponse` to provide additional context about\n * the state of the HTTP layer when the error occurred. The error property\n * will contain either a wrapped Error object or the error response returned\n * from the server.\n *\n * \\@publicApi\n */\nclass HttpErrorResponse extends HttpResponseBase {\n    /**\n     * @param {?} init\n     */\n    constructor(init) {\n        // Initialize with a default status of 0 / Unknown Error.\n        super(init, 0, 'Unknown Error');\n        this.name = 'HttpErrorResponse';\n        /**\n         * Errors are never okay, even when the status code is in the 2xx success range.\n         */\n        this.ok = false;\n        // If the response was successful, then this was a parse error. Otherwise, it was\n        // a protocol-level failure of some sort. Either the request failed in transit\n        // or the server returned an unsuccessful status code.\n        if (this.status >= 200 && this.status < 300) {\n            this.message = `Http failure during parsing for ${init.url || '(unknown url)'}`;\n        }\n        else {\n            this.message =\n                `Http failure response for ${init.url || '(unknown url)'}: ${init.status} ${init.statusText}`;\n        }\n        this.error = init.error || null;\n    }\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Constructs an instance of `HttpRequestOptions<T>` from a source `HttpMethodOptions` and\n * the given `body`. This function clones the object and adds the body.\n *\n * Note that the `responseType` *options* value is a String that identifies the\n * single data type of the response.\n * A single overload version of the method handles each response type.\n * The value of `responseType` cannot be a union, as the combined signature could imply.\n *\n * @template T\n * @param {?} options\n * @param {?} body\n * @return {?}\n */\nfunction addBody(options, body) {\n    return {\n        body,\n        headers: options.headers,\n        observe: options.observe,\n        params: options.params,\n        reportProgress: options.reportProgress,\n        responseType: options.responseType,\n        withCredentials: options.withCredentials,\n    };\n}\n/**\n * Performs HTTP requests.\n * This service is available as an injectable class, with methods to perform HTTP requests.\n * Each request method has multiple signatures, and the return type varies based on\n * the signature that is called (mainly the values of `observe` and `responseType`).\n *\n * Note that the `responseType` *options* value is a String that identifies the\n * single data type of the response.\n * A single overload version of the method handles each response type.\n * The value of `responseType` cannot be a union, as the combined signature could imply.\n *\n * \\@usageNotes\n * Sample HTTP requests for the [Tour of Heroes](/tutorial/toh-pt0) application.\n *\n * ### HTTP Request Example\n *\n * ```\n *  // GET heroes whose name contains search term\n * searchHeroes(term: string): observable<Hero[]>{\n *\n *  const params = new HttpParams({fromString: 'name=term'});\n *    return this.httpClient.request('GET', this.heroesUrl, {responseType:'json', params});\n * }\n * ```\n * ### JSONP Example\n * ```\n * requestJsonp(url, callback = 'callback') {\n *  return this.httpClient.jsonp(this.heroesURL, callback);\n * }\n * ```\n *\n * ### PATCH Example\n * ```\n * // PATCH one of the heroes' name\n * patchHero (id: number, heroName: string): Observable<{}> {\n * const url = `${this.heroesUrl}/${id}`;   // PATCH api/heroes/42\n *  return this.httpClient.patch(url, {name: heroName}, httpOptions)\n *    .pipe(catchError(this.handleError('patchHero')));\n * }\n * ```\n *\n * @see [HTTP Guide](guide/http)\n *\n * \\@publicApi\n */\nclass HttpClient {\n    /**\n     * @param {?} handler\n     */\n    constructor(handler) {\n        this.handler = handler;\n    }\n    /**\n     * Constructs an observable for a generic HTTP request that, when subscribed,\n     * fires the request through the chain of registered interceptors and on to the\n     * server.\n     *\n     * You can pass an `HttpRequest` directly as the only parameter. In this case,\n     * the call returns an observable of the raw `HttpEvent` stream.\n     *\n     * Alternatively you can pass an HTTP method as the first parameter,\n     * a URL string as the second, and an options hash containing the request body as the third.\n     * See `addBody()`. In this case, the specified `responseType` and `observe` options determine the\n     * type of returned observable.\n     *   * The `responseType` value determines how a successful response body is parsed.\n     *   * If `responseType` is the default `json`, you can pass a type interface for the resulting\n     * object as a type parameter to the call.\n     *\n     * The `observe` value determines the return type, according to what you are interested in\n     * observing.\n     *   * An `observe` value of events returns an observable of the raw `HttpEvent` stream, including\n     * progress events by default.\n     *   * An `observe` value of response returns an observable of `HttpResponse<T>`,\n     * where the `T` parameter depends on the `responseType` and any optionally provided type\n     * parameter.\n     *   * An `observe` value of body returns an observable of `<T>` with the same `T` body type.\n     *\n     * @param {?} first\n     * @param {?=} url\n     * @param {?=} options\n     * @return {?}\n     */\n    request(first, url, options = {}) {\n        /** @type {?} */\n        let req;\n        // First, check whether the primary argument is an instance of `HttpRequest`.\n        if (first instanceof HttpRequest) {\n            // It is. The other arguments must be undefined (per the signatures) and can be\n            // ignored.\n            req = (/** @type {?} */ (first));\n        }\n        else {\n            // It's a string, so it represents a URL. Construct a request based on it,\n            // and incorporate the remaining arguments (assuming `GET` unless a method is\n            // provided.\n            // Figure out the headers.\n            /** @type {?} */\n            let headers = undefined;\n            if (options.headers instanceof HttpHeaders) {\n                headers = options.headers;\n            }\n            else {\n                headers = new HttpHeaders(options.headers);\n            }\n            // Sort out parameters.\n            /** @type {?} */\n            let params = undefined;\n            if (!!options.params) {\n                if (options.params instanceof HttpParams) {\n                    params = options.params;\n                }\n                else {\n                    params = new HttpParams((/** @type {?} */ ({ fromObject: options.params })));\n                }\n            }\n            // Construct the request.\n            req = new HttpRequest(first, (/** @type {?} */ (url)), (options.body !== undefined ? options.body : null), {\n                headers,\n                params,\n                reportProgress: options.reportProgress,\n                // By default, JSON is assumed to be returned for all calls.\n                responseType: options.responseType || 'json',\n                withCredentials: options.withCredentials,\n            });\n        }\n        // Start with an Observable.of() the initial request, and run the handler (which\n        // includes all interceptors) inside a concatMap(). This way, the handler runs\n        // inside an Observable chain, which causes interceptors to be re-run on every\n        // subscription (this also makes retries re-run the handler, including interceptors).\n        /** @type {?} */\n        const events$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_1__[\"of\"])(req).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__[\"concatMap\"])((/**\n         * @param {?} req\n         * @return {?}\n         */\n        (req) => this.handler.handle(req))));\n        // If coming via the API signature which accepts a previously constructed HttpRequest,\n        // the only option is to get the event stream. Otherwise, return the event stream if\n        // that is what was requested.\n        if (first instanceof HttpRequest || options.observe === 'events') {\n            return events$;\n        }\n        // The requested stream contains either the full response or the body. In either\n        // case, the first step is to filter the event stream to extract a stream of\n        // responses(s).\n        /** @type {?} */\n        const res$ = (/** @type {?} */ (events$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__[\"filter\"])((/**\n         * @param {?} event\n         * @return {?}\n         */\n        (event) => event instanceof HttpResponse)))));\n        // Decide which stream to return.\n        switch (options.observe || 'body') {\n            case 'body':\n                // The requested stream is the body. Map the response stream to the response\n                // body. This could be done more simply, but a misbehaving interceptor might\n                // transform the response body into a different format and ignore the requested\n                // responseType. Guard against this by validating that the response is of the\n                // requested type.\n                switch (req.responseType) {\n                    case 'arraybuffer':\n                        return res$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__[\"map\"])((/**\n                         * @param {?} res\n                         * @return {?}\n                         */\n                        (res) => {\n                            // Validate that the body is an ArrayBuffer.\n                            if (res.body !== null && !(res.body instanceof ArrayBuffer)) {\n                                throw new Error('Response is not an ArrayBuffer.');\n                            }\n                            return res.body;\n                        })));\n                    case 'blob':\n                        return res$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__[\"map\"])((/**\n                         * @param {?} res\n                         * @return {?}\n                         */\n                        (res) => {\n                            // Validate that the body is a Blob.\n                            if (res.body !== null && !(res.body instanceof Blob)) {\n                                throw new Error('Response is not a Blob.');\n                            }\n                            return res.body;\n                        })));\n                    case 'text':\n                        return res$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__[\"map\"])((/**\n                         * @param {?} res\n                         * @return {?}\n                         */\n                        (res) => {\n                            // Validate that the body is a string.\n                            if (res.body !== null && typeof res.body !== 'string') {\n                                throw new Error('Response is not a string.');\n                            }\n                            return res.body;\n                        })));\n                    case 'json':\n                    default:\n                        // No validation needed for JSON responses, as they can be of any type.\n                        return res$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__[\"map\"])((/**\n                         * @param {?} res\n                         * @return {?}\n                         */\n                        (res) => res.body)));\n                }\n            case 'response':\n                // The response stream was requested directly, so return it.\n                return res$;\n            default:\n                // Guard against new future observe types being added.\n                throw new Error(`Unreachable: unhandled observe type ${options.observe}}`);\n        }\n    }\n    /**\n     * Constructs an observable that, when subscribed, causes the configured\n     * `DELETE` request to execute on the server. See the individual overloads for\n     * details on the return type.\n     *\n     * @param {?} url     The endpoint URL.\n     * @param {?=} options The HTTP options to send with the request.\n     *\n     * @return {?}\n     */\n    delete(url, options = {}) {\n        return this.request('DELETE', url, (/** @type {?} */ (options)));\n    }\n    /**\n     * Constructs an observable that, when subscribed, causes the configured\n     * `GET` request to execute on the server. See the individual overloads for\n     * details on the return type.\n     * @param {?} url\n     * @param {?=} options\n     * @return {?}\n     */\n    get(url, options = {}) {\n        return this.request('GET', url, (/** @type {?} */ (options)));\n    }\n    /**\n     * Constructs an observable that, when subscribed, causes the configured\n     * `HEAD` request to execute on the server. The `HEAD` method returns\n     * meta information about the resource without transferring the\n     * resource itself. See the individual overloads for\n     * details on the return type.\n     * @param {?} url\n     * @param {?=} options\n     * @return {?}\n     */\n    head(url, options = {}) {\n        return this.request('HEAD', url, (/** @type {?} */ (options)));\n    }\n    /**\n     * Constructs an `Observable` that, when subscribed, causes a request with the special method\n     * `JSONP` to be dispatched via the interceptor pipeline.\n     * The [JSONP pattern](https://en.wikipedia.org/wiki/JSONP) works around limitations of certain\n     * API endpoints that don't support newer,\n     * and preferable [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) protocol.\n     * JSONP treats the endpoint API as a JavaScript file and tricks the browser to process the\n     * requests even if the API endpoint is not located on the same domain (origin) as the client-side\n     * application making the request.\n     * The endpoint API must support JSONP callback for JSONP requests to work.\n     * The resource API returns the JSON response wrapped in a callback function.\n     * You can pass the callback function name as one of the query parameters.\n     * Note that JSONP requests can only be used with `GET` requests.\n     *\n     * @template T\n     * @param {?} url The resource URL.\n     * @param {?} callbackParam The callback function name.\n     *\n     * @return {?}\n     */\n    jsonp(url, callbackParam) {\n        return this.request('JSONP', url, {\n            params: new HttpParams().append(callbackParam, 'JSONP_CALLBACK'),\n            observe: 'body',\n            responseType: 'json',\n        });\n    }\n    /**\n     * Constructs an `Observable` that, when subscribed, causes the configured\n     * `OPTIONS` request to execute on the server. This method allows the client\n     * to determine the supported HTTP methods and other capabilites of an endpoint,\n     * without implying a resource action. See the individual overloads for\n     * details on the return type.\n     * @param {?} url\n     * @param {?=} options\n     * @return {?}\n     */\n    options(url, options = {}) {\n        return this.request('OPTIONS', url, (/** @type {?} */ (options)));\n    }\n    /**\n     * Constructs an observable that, when subscribed, causes the configured\n     * `PATCH` request to execute on the server. See the individual overloads for\n     * details on the return type.\n     * @param {?} url\n     * @param {?} body\n     * @param {?=} options\n     * @return {?}\n     */\n    patch(url, body, options = {}) {\n        return this.request('PATCH', url, addBody(options, body));\n    }\n    /**\n     * Constructs an observable that, when subscribed, causes the configured\n     * `POST` request to execute on the server. The server responds with the location of\n     * the replaced resource. See the individual overloads for\n     * details on the return type.\n     * @param {?} url\n     * @param {?} body\n     * @param {?=} options\n     * @return {?}\n     */\n    post(url, body, options = {}) {\n        return this.request('POST', url, addBody(options, body));\n    }\n    /**\n     * Constructs an observable that, when subscribed, causes the configured\n     * `PUT` request to execute on the server. The `PUT` method replaces an existing resource\n     * with a new set of values.\n     * See the individual overloads for details on the return type.\n     * @param {?} url\n     * @param {?} body\n     * @param {?=} options\n     * @return {?}\n     */\n    put(url, body, options = {}) {\n        return this.request('PUT', url, addBody(options, body));\n    }\n}\nHttpClient.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"] }\n];\n/** @nocollapse */\nHttpClient.ctorParameters = () => [\n    { type: HttpHandler }\n];\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Intercepts and handles an `HttpRequest` or `HttpResponse`.\n *\n * Most interceptors transform the outgoing request before passing it to the\n * next interceptor in the chain, by calling `next.handle(transformedReq)`.\n * An interceptor may transform the\n * response event stream as well, by applying additional RxJS operators on the stream\n * returned by `next.handle()`.\n *\n * More rarely, an interceptor may handle the request entirely,\n * and compose a new event stream instead of invoking `next.handle()`. This is an\n * acceptable behavior, but keep in mind that further interceptors will be skipped entirely.\n *\n * It is also rare but valid for an interceptor to return multiple responses on the\n * event stream for a single request.\n *\n * \\@publicApi\n *\n * @see [HTTP Guide](guide/http#intercepting-requests-and-responses)\n *\n * \\@usageNotes\n *\n * To use the same instance of `HttpInterceptors` for the entire app, import the `HttpClientModule`\n * only in your `AppModule`, and add the interceptors to the root application injector .\n * If you import `HttpClientModule` multiple times across different modules (for example, in lazy\n * loading modules), each import creates a new copy of the `HttpClientModule`, which overwrites the interceptors\n * provided in the root module.\n *\n * @record\n */\nfunction HttpInterceptor() { }\nif (false) {}\n/**\n * `HttpHandler` which applies an `HttpInterceptor` to an `HttpRequest`.\n *\n *\n */\nclass HttpInterceptorHandler {\n    /**\n     * @param {?} next\n     * @param {?} interceptor\n     */\n    constructor(next, interceptor) {\n        this.next = next;\n        this.interceptor = interceptor;\n    }\n    /**\n     * @param {?} req\n     * @return {?}\n     */\n    handle(req) {\n        return this.interceptor.intercept(req, this.next);\n    }\n}\nif (false) {}\n/**\n * A multi-provider token that represents the array of registered\n * `HttpInterceptor` objects.\n *\n * \\@publicApi\n * @type {?}\n */\nconst HTTP_INTERCEPTORS = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('HTTP_INTERCEPTORS');\nclass NoopInterceptor {\n    /**\n     * @param {?} req\n     * @param {?} next\n     * @return {?}\n     */\n    intercept(req, next) {\n        return next.handle(req);\n    }\n}\nNoopInterceptor.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"] }\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n// Every request made through JSONP needs a callback name that's unique across the\n// whole page. Each request is assigned an id and the callback name is constructed\n// from that. The next id to be assigned is tracked in a global variable here that\n// is shared among all applications on the page.\n/** @type {?} */\nlet nextRequestId = 0;\n// Error text given when a JSONP script is injected, but doesn't invoke the callback\n// passed in its URL.\n/** @type {?} */\nconst JSONP_ERR_NO_CALLBACK = 'JSONP injected script did not invoke callback.';\n// Error text given when a request is passed to the JsonpClientBackend that doesn't\n// have a request method JSONP.\n/** @type {?} */\nconst JSONP_ERR_WRONG_METHOD = 'JSONP requests must use JSONP request method.';\n/** @type {?} */\nconst JSONP_ERR_WRONG_RESPONSE_TYPE = 'JSONP requests must use Json response type.';\n/**\n * DI token/abstract type representing a map of JSONP callbacks.\n *\n * In the browser, this should always be the `window` object.\n *\n *\n * @abstract\n */\nclass JsonpCallbackContext {\n}\n/**\n * Processes an `HttpRequest` with the JSONP method,\n * by performing JSONP style requests.\n * @see `HttpHandler`\n * @see `HttpXhrBackend`\n *\n * \\@publicApi\n */\nclass JsonpClientBackend {\n    /**\n     * @param {?} callbackMap\n     * @param {?} document\n     */\n    constructor(callbackMap, document) {\n        this.callbackMap = callbackMap;\n        this.document = document;\n    }\n    /**\n     * Get the name of the next callback method, by incrementing the global `nextRequestId`.\n     * @private\n     * @return {?}\n     */\n    nextCallback() { return `ng_jsonp_callback_${nextRequestId++}`; }\n    /**\n     * Processes a JSONP request and returns an event stream of the results.\n     * @param {?} req The request object.\n     * @return {?} An observable of the response events.\n     *\n     */\n    handle(req) {\n        // Firstly, check both the method and response type. If either doesn't match\n        // then the request was improperly routed here and cannot be handled.\n        if (req.method !== 'JSONP') {\n            throw new Error(JSONP_ERR_WRONG_METHOD);\n        }\n        else if (req.responseType !== 'json') {\n            throw new Error(JSONP_ERR_WRONG_RESPONSE_TYPE);\n        }\n        // Everything else happens inside the Observable boundary.\n        return new rxjs__WEBPACK_IMPORTED_MODULE_1__[\"Observable\"]((/**\n         * @param {?} observer\n         * @return {?}\n         */\n        (observer) => {\n            // The first step to make a request is to generate the callback name, and replace the\n            // callback placeholder in the URL with the name. Care has to be taken here to ensure\n            // a trailing &, if matched, gets inserted back into the URL in the correct place.\n            /** @type {?} */\n            const callback = this.nextCallback();\n            /** @type {?} */\n            const url = req.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/, `=${callback}$1`);\n            // Construct the <script> tag and point it at the URL.\n            /** @type {?} */\n            const node = this.document.createElement('script');\n            node.src = url;\n            // A JSONP request requires waiting for multiple callbacks. These variables\n            // are closed over and track state across those callbacks.\n            // The response object, if one has been received, or null otherwise.\n            /** @type {?} */\n            let body = null;\n            // Whether the response callback has been called.\n            /** @type {?} */\n            let finished = false;\n            // Whether the request has been cancelled (and thus any other callbacks)\n            // should be ignored.\n            /** @type {?} */\n            let cancelled = false;\n            // Set the response callback in this.callbackMap (which will be the window\n            // object in the browser. The script being loaded via the <script> tag will\n            // eventually call this callback.\n            this.callbackMap[callback] = (/**\n             * @param {?=} data\n             * @return {?}\n             */\n            (data) => {\n                // Data has been received from the JSONP script. Firstly, delete this callback.\n                delete this.callbackMap[callback];\n                // Next, make sure the request wasn't cancelled in the meantime.\n                if (cancelled) {\n                    return;\n                }\n                // Set state to indicate data was received.\n                body = data;\n                finished = true;\n            });\n            // cleanup() is a utility closure that removes the <script> from the page and\n            // the response callback from the window. This logic is used in both the\n            // success, error, and cancellation paths, so it's extracted out for convenience.\n            /** @type {?} */\n            const cleanup = (/**\n             * @return {?}\n             */\n            () => {\n                // Remove the <script> tag if it's still on the page.\n                if (node.parentNode) {\n                    node.parentNode.removeChild(node);\n                }\n                // Remove the response callback from the callbackMap (window object in the\n                // browser).\n                delete this.callbackMap[callback];\n            });\n            // onLoad() is the success callback which runs after the response callback\n            // if the JSONP script loads successfully. The event itself is unimportant.\n            // If something went wrong, onLoad() may run without the response callback\n            // having been invoked.\n            /** @type {?} */\n            const onLoad = (/**\n             * @param {?} event\n             * @return {?}\n             */\n            (event) => {\n                // Do nothing if the request has been cancelled.\n                if (cancelled) {\n                    return;\n                }\n                // Cleanup the page.\n                cleanup();\n                // Check whether the response callback has run.\n                if (!finished) {\n                    // It hasn't, something went wrong with the request. Return an error via\n                    // the Observable error path. All JSONP errors have status 0.\n                    observer.error(new HttpErrorResponse({\n                        url,\n                        status: 0,\n                        statusText: 'JSONP Error',\n                        error: new Error(JSONP_ERR_NO_CALLBACK),\n                    }));\n                    return;\n                }\n                // Success. body either contains the response body or null if none was\n                // returned.\n                observer.next(new HttpResponse({\n                    body,\n                    status: 200,\n                    statusText: 'OK', url,\n                }));\n                // Complete the stream, the response is over.\n                observer.complete();\n            });\n            // onError() is the error callback, which runs if the script returned generates\n            // a Javascript error. It emits the error via the Observable error channel as\n            // a HttpErrorResponse.\n            /** @type {?} */\n            const onError = (/**\n             * @param {?} error\n             * @return {?}\n             */\n            (error) => {\n                // If the request was already cancelled, no need to emit anything.\n                if (cancelled) {\n                    return;\n                }\n                cleanup();\n                // Wrap the error in a HttpErrorResponse.\n                observer.error(new HttpErrorResponse({\n                    error,\n                    status: 0,\n                    statusText: 'JSONP Error', url,\n                }));\n            });\n            // Subscribe to both the success (load) and error events on the <script> tag,\n            // and add it to the page.\n            node.addEventListener('load', onLoad);\n            node.addEventListener('error', onError);\n            this.document.body.appendChild(node);\n            // The request has now been successfully sent.\n            observer.next({ type: HttpEventType.Sent });\n            // Cancellation handler.\n            return (/**\n             * @return {?}\n             */\n            () => {\n                // Track the cancellation so event listeners won't do anything even if already scheduled.\n                cancelled = true;\n                // Remove the event listeners so they won't run if the events later fire.\n                node.removeEventListener('load', onLoad);\n                node.removeEventListener('error', onError);\n                // And finally, clean up the page.\n                cleanup();\n            });\n        }));\n    }\n}\nJsonpClientBackend.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"] }\n];\n/** @nocollapse */\nJsonpClientBackend.ctorParameters = () => [\n    { type: JsonpCallbackContext },\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_3__[\"DOCUMENT\"],] }] }\n];\nif (false) {}\n/**\n * Identifies requests with the method JSONP and\n * shifts them to the `JsonpClientBackend`.\n *\n * @see `HttpInterceptor`\n *\n * \\@publicApi\n */\nclass JsonpInterceptor {\n    /**\n     * @param {?} jsonp\n     */\n    constructor(jsonp) {\n        this.jsonp = jsonp;\n    }\n    /**\n     * Identifies and handles a given JSONP request.\n     * @param {?} req The outgoing request object to handle.\n     * @param {?} next The next interceptor in the chain, or the backend\n     * if no interceptors remain in the chain.\n     * @return {?} An observable of the event stream.\n     */\n    intercept(req, next) {\n        if (req.method === 'JSONP') {\n            return this.jsonp.handle((/** @type {?} */ (req)));\n        }\n        // Fall through for normal HTTP requests.\n        return next.handle(req);\n    }\n}\nJsonpInterceptor.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"] }\n];\n/** @nocollapse */\nJsonpInterceptor.ctorParameters = () => [\n    { type: JsonpClientBackend }\n];\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst XSSI_PREFIX = /^\\)\\]\\}',?\\n/;\n/**\n * Determine an appropriate URL for the response, by checking either\n * XMLHttpRequest.responseURL or the X-Request-URL header.\n * @param {?} xhr\n * @return {?}\n */\nfunction getResponseUrl(xhr) {\n    if ('responseURL' in xhr && xhr.responseURL) {\n        return xhr.responseURL;\n    }\n    if (/^X-Request-URL:/m.test(xhr.getAllResponseHeaders())) {\n        return xhr.getResponseHeader('X-Request-URL');\n    }\n    return null;\n}\n/**\n * A wrapper around the `XMLHttpRequest` constructor.\n *\n * \\@publicApi\n * @abstract\n */\nclass XhrFactory {\n}\nif (false) {}\n/**\n * A factory for `HttpXhrBackend` that uses the `XMLHttpRequest` browser API.\n *\n */\nclass BrowserXhr {\n    constructor() { }\n    /**\n     * @return {?}\n     */\n    build() { return (/** @type {?} */ ((new XMLHttpRequest()))); }\n}\nBrowserXhr.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"] }\n];\n/** @nocollapse */\nBrowserXhr.ctorParameters = () => [];\n/**\n * Tracks a response from the server that does not yet have a body.\n * @record\n */\nfunction PartialResponse() { }\nif (false) {}\n/**\n * Uses `XMLHttpRequest` to send requests to a backend server.\n * @see `HttpHandler`\n * @see `JsonpClientBackend`\n *\n * \\@publicApi\n */\nclass HttpXhrBackend {\n    /**\n     * @param {?} xhrFactory\n     */\n    constructor(xhrFactory) {\n        this.xhrFactory = xhrFactory;\n    }\n    /**\n     * Processes a request and returns a stream of response events.\n     * @param {?} req The request object.\n     * @return {?} An observable of the response events.\n     */\n    handle(req) {\n        // Quick check to give a better error message when a user attempts to use\n        // HttpClient.jsonp() without installing the JsonpClientModule\n        if (req.method === 'JSONP') {\n            throw new Error(`Attempted to construct Jsonp request without JsonpClientModule installed.`);\n        }\n        // Everything happens on Observable subscription.\n        return new rxjs__WEBPACK_IMPORTED_MODULE_1__[\"Observable\"]((/**\n         * @param {?} observer\n         * @return {?}\n         */\n        (observer) => {\n            // Start by setting up the XHR object with request method, URL, and withCredentials flag.\n            /** @type {?} */\n            const xhr = this.xhrFactory.build();\n            xhr.open(req.method, req.urlWithParams);\n            if (!!req.withCredentials) {\n                xhr.withCredentials = true;\n            }\n            // Add all the requested headers.\n            req.headers.forEach((/**\n             * @param {?} name\n             * @param {?} values\n             * @return {?}\n             */\n            (name, values) => xhr.setRequestHeader(name, values.join(','))));\n            // Add an Accept header if one isn't present already.\n            if (!req.headers.has('Accept')) {\n                xhr.setRequestHeader('Accept', 'application/json, text/plain, */*');\n            }\n            // Auto-detect the Content-Type header if one isn't present already.\n            if (!req.headers.has('Content-Type')) {\n                /** @type {?} */\n                const detectedType = req.detectContentTypeHeader();\n                // Sometimes Content-Type detection fails.\n                if (detectedType !== null) {\n                    xhr.setRequestHeader('Content-Type', detectedType);\n                }\n            }\n            // Set the responseType if one was requested.\n            if (req.responseType) {\n                /** @type {?} */\n                const responseType = req.responseType.toLowerCase();\n                // JSON responses need to be processed as text. This is because if the server\n                // returns an XSSI-prefixed JSON response, the browser will fail to parse it,\n                // xhr.response will be null, and xhr.responseText cannot be accessed to\n                // retrieve the prefixed JSON data in order to strip the prefix. Thus, all JSON\n                // is parsed by first requesting text and then applying JSON.parse.\n                xhr.responseType = (/** @type {?} */ (((responseType !== 'json') ? responseType : 'text')));\n            }\n            // Serialize the request body if one is present. If not, this will be set to null.\n            /** @type {?} */\n            const reqBody = req.serializeBody();\n            // If progress events are enabled, response headers will be delivered\n            // in two events - the HttpHeaderResponse event and the full HttpResponse\n            // event. However, since response headers don't change in between these\n            // two events, it doesn't make sense to parse them twice. So headerResponse\n            // caches the data extracted from the response whenever it's first parsed,\n            // to ensure parsing isn't duplicated.\n            /** @type {?} */\n            let headerResponse = null;\n            // partialFromXhr extracts the HttpHeaderResponse from the current XMLHttpRequest\n            // state, and memoizes it into headerResponse.\n            /** @type {?} */\n            const partialFromXhr = (/**\n             * @return {?}\n             */\n            () => {\n                if (headerResponse !== null) {\n                    return headerResponse;\n                }\n                // Read status and normalize an IE9 bug (http://bugs.jquery.com/ticket/1450).\n                /** @type {?} */\n                const status = xhr.status === 1223 ? 204 : xhr.status;\n                /** @type {?} */\n                const statusText = xhr.statusText || 'OK';\n                // Parse headers from XMLHttpRequest - this step is lazy.\n                /** @type {?} */\n                const headers = new HttpHeaders(xhr.getAllResponseHeaders());\n                // Read the response URL from the XMLHttpResponse instance and fall back on the\n                // request URL.\n                /** @type {?} */\n                const url = getResponseUrl(xhr) || req.url;\n                // Construct the HttpHeaderResponse and memoize it.\n                headerResponse = new HttpHeaderResponse({ headers, status, statusText, url });\n                return headerResponse;\n            });\n            // Next, a few closures are defined for the various events which XMLHttpRequest can\n            // emit. This allows them to be unregistered as event listeners later.\n            // First up is the load event, which represents a response being fully available.\n            /** @type {?} */\n            const onLoad = (/**\n             * @return {?}\n             */\n            () => {\n                // Read response state from the memoized partial data.\n                let { headers, status, statusText, url } = partialFromXhr();\n                // The body will be read out if present.\n                /** @type {?} */\n                let body = null;\n                if (status !== 204) {\n                    // Use XMLHttpRequest.response if set, responseText otherwise.\n                    body = (typeof xhr.response === 'undefined') ? xhr.responseText : xhr.response;\n                }\n                // Normalize another potential bug (this one comes from CORS).\n                if (status === 0) {\n                    status = !!body ? 200 : 0;\n                }\n                // ok determines whether the response will be transmitted on the event or\n                // error channel. Unsuccessful status codes (not 2xx) will always be errors,\n                // but a successful status code can still result in an error if the user\n                // asked for JSON data and the body cannot be parsed as such.\n                /** @type {?} */\n                let ok = status >= 200 && status < 300;\n                // Check whether the body needs to be parsed as JSON (in many cases the browser\n                // will have done that already).\n                if (req.responseType === 'json' && typeof body === 'string') {\n                    // Save the original body, before attempting XSSI prefix stripping.\n                    /** @type {?} */\n                    const originalBody = body;\n                    body = body.replace(XSSI_PREFIX, '');\n                    try {\n                        // Attempt the parse. If it fails, a parse error should be delivered to the user.\n                        body = body !== '' ? JSON.parse(body) : null;\n                    }\n                    catch (error) {\n                        // Since the JSON.parse failed, it's reasonable to assume this might not have been a\n                        // JSON response. Restore the original body (including any XSSI prefix) to deliver\n                        // a better error response.\n                        body = originalBody;\n                        // If this was an error request to begin with, leave it as a string, it probably\n                        // just isn't JSON. Otherwise, deliver the parsing error to the user.\n                        if (ok) {\n                            // Even though the response status was 2xx, this is still an error.\n                            ok = false;\n                            // The parse error contains the text of the body that failed to parse.\n                            body = (/** @type {?} */ ({ error, text: body }));\n                        }\n                    }\n                }\n                if (ok) {\n                    // A successful response is delivered on the event stream.\n                    observer.next(new HttpResponse({\n                        body,\n                        headers,\n                        status,\n                        statusText,\n                        url: url || undefined,\n                    }));\n                    // The full body has been received and delivered, no further events\n                    // are possible. This request is complete.\n                    observer.complete();\n                }\n                else {\n                    // An unsuccessful request is delivered on the error channel.\n                    observer.error(new HttpErrorResponse({\n                        // The error in this case is the response body (error from the server).\n                        error: body,\n                        headers,\n                        status,\n                        statusText,\n                        url: url || undefined,\n                    }));\n                }\n            });\n            // The onError callback is called when something goes wrong at the network level.\n            // Connection timeout, DNS error, offline, etc. These are actual errors, and are\n            // transmitted on the error channel.\n            /** @type {?} */\n            const onError = (/**\n             * @param {?} error\n             * @return {?}\n             */\n            (error) => {\n                const { url } = partialFromXhr();\n                /** @type {?} */\n                const res = new HttpErrorResponse({\n                    error,\n                    status: xhr.status || 0,\n                    statusText: xhr.statusText || 'Unknown Error',\n                    url: url || undefined,\n                });\n                observer.error(res);\n            });\n            // The sentHeaders flag tracks whether the HttpResponseHeaders event\n            // has been sent on the stream. This is necessary to track if progress\n            // is enabled since the event will be sent on only the first download\n            // progerss event.\n            /** @type {?} */\n            let sentHeaders = false;\n            // The download progress event handler, which is only registered if\n            // progress events are enabled.\n            /** @type {?} */\n            const onDownProgress = (/**\n             * @param {?} event\n             * @return {?}\n             */\n            (event) => {\n                // Send the HttpResponseHeaders event if it hasn't been sent already.\n                if (!sentHeaders) {\n                    observer.next(partialFromXhr());\n                    sentHeaders = true;\n                }\n                // Start building the download progress event to deliver on the response\n                // event stream.\n                /** @type {?} */\n                let progressEvent = {\n                    type: HttpEventType.DownloadProgress,\n                    loaded: event.loaded,\n                };\n                // Set the total number of bytes in the event if it's available.\n                if (event.lengthComputable) {\n                    progressEvent.total = event.total;\n                }\n                // If the request was for text content and a partial response is\n                // available on XMLHttpRequest, include it in the progress event\n                // to allow for streaming reads.\n                if (req.responseType === 'text' && !!xhr.responseText) {\n                    progressEvent.partialText = xhr.responseText;\n                }\n                // Finally, fire the event.\n                observer.next(progressEvent);\n            });\n            // The upload progress event handler, which is only registered if\n            // progress events are enabled.\n            /** @type {?} */\n            const onUpProgress = (/**\n             * @param {?} event\n             * @return {?}\n             */\n            (event) => {\n                // Upload progress events are simpler. Begin building the progress\n                // event.\n                /** @type {?} */\n                let progress = {\n                    type: HttpEventType.UploadProgress,\n                    loaded: event.loaded,\n                };\n                // If the total number of bytes being uploaded is available, include\n                // it.\n                if (event.lengthComputable) {\n                    progress.total = event.total;\n                }\n                // Send the event.\n                observer.next(progress);\n            });\n            // By default, register for load and error events.\n            xhr.addEventListener('load', onLoad);\n            xhr.addEventListener('error', onError);\n            // Progress events are only enabled if requested.\n            if (req.reportProgress) {\n                // Download progress is always enabled if requested.\n                xhr.addEventListener('progress', onDownProgress);\n                // Upload progress depends on whether there is a body to upload.\n                if (reqBody !== null && xhr.upload) {\n                    xhr.upload.addEventListener('progress', onUpProgress);\n                }\n            }\n            // Fire the request, and notify the event stream that it was fired.\n            xhr.send((/** @type {?} */ (reqBody)));\n            observer.next({ type: HttpEventType.Sent });\n            // This is the return from the Observable function, which is the\n            // request cancellation handler.\n            return (/**\n             * @return {?}\n             */\n            () => {\n                // On a cancellation, remove all registered event listeners.\n                xhr.removeEventListener('error', onError);\n                xhr.removeEventListener('load', onLoad);\n                if (req.reportProgress) {\n                    xhr.removeEventListener('progress', onDownProgress);\n                    if (reqBody !== null && xhr.upload) {\n                        xhr.upload.removeEventListener('progress', onUpProgress);\n                    }\n                }\n                // Finally, abort the in-flight request.\n                xhr.abort();\n            });\n        }));\n    }\n}\nHttpXhrBackend.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"] }\n];\n/** @nocollapse */\nHttpXhrBackend.ctorParameters = () => [\n    { type: XhrFactory }\n];\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst XSRF_COOKIE_NAME = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('XSRF_COOKIE_NAME');\n/** @type {?} */\nconst XSRF_HEADER_NAME = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('XSRF_HEADER_NAME');\n/**\n * Retrieves the current XSRF token to use with the next outgoing request.\n *\n * \\@publicApi\n * @abstract\n */\nclass HttpXsrfTokenExtractor {\n}\nif (false) {}\n/**\n * `HttpXsrfTokenExtractor` which retrieves the token from a cookie.\n */\nclass HttpXsrfCookieExtractor {\n    /**\n     * @param {?} doc\n     * @param {?} platform\n     * @param {?} cookieName\n     */\n    constructor(doc, platform, cookieName) {\n        this.doc = doc;\n        this.platform = platform;\n        this.cookieName = cookieName;\n        this.lastCookieString = '';\n        this.lastToken = null;\n        /**\n         * \\@internal for testing\n         */\n        this.parseCount = 0;\n    }\n    /**\n     * @return {?}\n     */\n    getToken() {\n        if (this.platform === 'server') {\n            return null;\n        }\n        /** @type {?} */\n        const cookieString = this.doc.cookie || '';\n        if (cookieString !== this.lastCookieString) {\n            this.parseCount++;\n            this.lastToken = Object(_angular_common__WEBPACK_IMPORTED_MODULE_3__[\"ɵparseCookieValue\"])(cookieString, this.cookieName);\n            this.lastCookieString = cookieString;\n        }\n        return this.lastToken;\n    }\n}\nHttpXsrfCookieExtractor.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"] }\n];\n/** @nocollapse */\nHttpXsrfCookieExtractor.ctorParameters = () => [\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_3__[\"DOCUMENT\"],] }] },\n    { type: String, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"PLATFORM_ID\"],] }] },\n    { type: String, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [XSRF_COOKIE_NAME,] }] }\n];\nif (false) {}\n/**\n * `HttpInterceptor` which adds an XSRF token to eligible outgoing requests.\n */\nclass HttpXsrfInterceptor {\n    /**\n     * @param {?} tokenService\n     * @param {?} headerName\n     */\n    constructor(tokenService, headerName) {\n        this.tokenService = tokenService;\n        this.headerName = headerName;\n    }\n    /**\n     * @param {?} req\n     * @param {?} next\n     * @return {?}\n     */\n    intercept(req, next) {\n        /** @type {?} */\n        const lcUrl = req.url.toLowerCase();\n        // Skip both non-mutating requests and absolute URLs.\n        // Non-mutating requests don't require a token, and absolute URLs require special handling\n        // anyway as the cookie set\n        // on our origin is not the same as the token expected by another origin.\n        if (req.method === 'GET' || req.method === 'HEAD' || lcUrl.startsWith('http://') ||\n            lcUrl.startsWith('https://')) {\n            return next.handle(req);\n        }\n        /** @type {?} */\n        const token = this.tokenService.getToken();\n        // Be careful not to overwrite an existing header of the same name.\n        if (token !== null && !req.headers.has(this.headerName)) {\n            req = req.clone({ headers: req.headers.set(this.headerName, token) });\n        }\n        return next.handle(req);\n    }\n}\nHttpXsrfInterceptor.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"] }\n];\n/** @nocollapse */\nHttpXsrfInterceptor.ctorParameters = () => [\n    { type: HttpXsrfTokenExtractor },\n    { type: String, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [XSRF_HEADER_NAME,] }] }\n];\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * An injectable `HttpHandler` that applies multiple interceptors\n * to a request before passing it to the given `HttpBackend`.\n *\n * The interceptors are loaded lazily from the injector, to allow\n * interceptors to themselves inject classes depending indirectly\n * on `HttpInterceptingHandler` itself.\n * @see `HttpInterceptor`\n */\nclass HttpInterceptingHandler {\n    /**\n     * @param {?} backend\n     * @param {?} injector\n     */\n    constructor(backend, injector) {\n        this.backend = backend;\n        this.injector = injector;\n        this.chain = null;\n    }\n    /**\n     * @param {?} req\n     * @return {?}\n     */\n    handle(req) {\n        if (this.chain === null) {\n            /** @type {?} */\n            const interceptors = this.injector.get(HTTP_INTERCEPTORS, []);\n            this.chain = interceptors.reduceRight((/**\n             * @param {?} next\n             * @param {?} interceptor\n             * @return {?}\n             */\n            (next, interceptor) => new HttpInterceptorHandler(next, interceptor)), this.backend);\n        }\n        return this.chain.handle(req);\n    }\n}\nHttpInterceptingHandler.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"] }\n];\n/** @nocollapse */\nHttpInterceptingHandler.ctorParameters = () => [\n    { type: HttpBackend },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injector\"] }\n];\nif (false) {}\n/**\n * Constructs an `HttpHandler` that applies interceptors\n * to a request before passing it to the given `HttpBackend`.\n *\n * Use as a factory function within `HttpClientModule`.\n *\n *\n * @param {?} backend\n * @param {?=} interceptors\n * @return {?}\n */\nfunction interceptingHandler(backend, interceptors = []) {\n    if (!interceptors) {\n        return backend;\n    }\n    return interceptors.reduceRight((/**\n     * @param {?} next\n     * @param {?} interceptor\n     * @return {?}\n     */\n    (next, interceptor) => new HttpInterceptorHandler(next, interceptor)), backend);\n}\n/**\n * Factory function that determines where to store JSONP callbacks.\n *\n * Ordinarily JSONP callbacks are stored on the `window` object, but this may not exist\n * in test environments. In that case, callbacks are stored on an anonymous object instead.\n *\n *\n * @return {?}\n */\nfunction jsonpCallbackContext() {\n    if (typeof window === 'object') {\n        return window;\n    }\n    return {};\n}\n/**\n * Configures XSRF protection support for outgoing requests.\n *\n * For a server that supports a cookie-based XSRF protection system,\n * use directly to configure XSRF protection with the correct\n * cookie and header names.\n *\n * If no names are supplied, the default cookie name is `XSRF-TOKEN`\n * and the default header name is `X-XSRF-TOKEN`.\n *\n * \\@publicApi\n */\nclass HttpClientXsrfModule {\n    /**\n     * Disable the default XSRF protection.\n     * @return {?}\n     */\n    static disable() {\n        return {\n            ngModule: HttpClientXsrfModule,\n            providers: [\n                { provide: HttpXsrfInterceptor, useClass: NoopInterceptor },\n            ],\n        };\n    }\n    /**\n     * Configure XSRF protection.\n     * @param {?=} options An object that can specify either or both\n     * cookie name or header name.\n     * - Cookie name default is `XSRF-TOKEN`.\n     * - Header name default is `X-XSRF-TOKEN`.\n     *\n     * @return {?}\n     */\n    static withOptions(options = {}) {\n        return {\n            ngModule: HttpClientXsrfModule,\n            providers: [\n                options.cookieName ? { provide: XSRF_COOKIE_NAME, useValue: options.cookieName } : [],\n                options.headerName ? { provide: XSRF_HEADER_NAME, useValue: options.headerName } : [],\n            ],\n        };\n    }\n}\nHttpClientXsrfModule.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"], args: [{\n                providers: [\n                    HttpXsrfInterceptor,\n                    { provide: HTTP_INTERCEPTORS, useExisting: HttpXsrfInterceptor, multi: true },\n                    { provide: HttpXsrfTokenExtractor, useClass: HttpXsrfCookieExtractor },\n                    { provide: XSRF_COOKIE_NAME, useValue: 'XSRF-TOKEN' },\n                    { provide: XSRF_HEADER_NAME, useValue: 'X-XSRF-TOKEN' },\n                ],\n            },] }\n];\n/**\n * Configures the [dependency injector](guide/glossary#injector) for `HttpClient`\n * with supporting services for XSRF. Automatically imported by `HttpClientModule`.\n *\n * You can add interceptors to the chain behind `HttpClient` by binding them to the\n * multiprovider for built-in [DI token](guide/glossary#di-token) `HTTP_INTERCEPTORS`.\n *\n * \\@publicApi\n */\nclass HttpClientModule {\n}\nHttpClientModule.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"], args: [{\n                /**\n                 * Optional configuration for XSRF protection.\n                 */\n                imports: [\n                    HttpClientXsrfModule.withOptions({\n                        cookieName: 'XSRF-TOKEN',\n                        headerName: 'X-XSRF-TOKEN',\n                    }),\n                ],\n                /**\n                 * Configures the [dependency injector](guide/glossary#injector) where it is imported\n                 * with supporting services for HTTP communications.\n                 */\n                providers: [\n                    HttpClient,\n                    { provide: HttpHandler, useClass: HttpInterceptingHandler },\n                    HttpXhrBackend,\n                    { provide: HttpBackend, useExisting: HttpXhrBackend },\n                    BrowserXhr,\n                    { provide: XhrFactory, useExisting: BrowserXhr },\n                ],\n            },] }\n];\n/**\n * Configures the [dependency injector](guide/glossary#injector) for `HttpClient`\n * with supporting services for JSONP.\n * Without this module, Jsonp requests reach the backend\n * with method JSONP, where they are rejected.\n *\n * You can add interceptors to the chain behind `HttpClient` by binding them to the\n * multiprovider for built-in [DI token](guide/glossary#di-token) `HTTP_INTERCEPTORS`.\n *\n * \\@publicApi\n */\nclass HttpClientJsonpModule {\n}\nHttpClientJsonpModule.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"], args: [{\n                providers: [\n                    JsonpClientBackend,\n                    { provide: JsonpCallbackContext, useFactory: jsonpCallbackContext },\n                    { provide: HTTP_INTERCEPTORS, useClass: JsonpInterceptor, multi: true },\n                ],\n            },] }\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\n\n//# sourceMappingURL=http.js.map\n\n\n/***/ }),\n\n/***/ \"./node_modules/@angular/compiler/fesm2015/compiler.js\":\n/*!*************************************************************!*\\\n  !*** ./node_modules/@angular/compiler/fesm2015/compiler.js ***!\n  \\*************************************************************/\n/*! exports provided: core, CompilerConfig, preserveWhitespacesDefault, isLoweredSymbol, createLoweredSymbol, Identifiers, JitCompiler, ConstantPool, DirectiveResolver, PipeResolver, NgModuleResolver, DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, NgModuleCompiler, ArrayType, AssertNotNull, DYNAMIC_TYPE, BinaryOperator, BinaryOperatorExpr, BuiltinMethod, BuiltinType, BuiltinTypeName, BuiltinVar, CastExpr, ClassField, ClassMethod, ClassStmt, CommaExpr, CommentStmt, ConditionalExpr, DeclareFunctionStmt, DeclareVarStmt, Expression, ExpressionStatement, ExpressionType, ExternalExpr, ExternalReference, literalMap, FunctionExpr, IfStmt, InstantiateExpr, InvokeFunctionExpr, InvokeMethodExpr, JSDocCommentStmt, LiteralArrayExpr, LiteralExpr, LiteralMapExpr, MapType, NotExpr, ReadKeyExpr, ReadPropExpr, ReadVarExpr, ReturnStatement, ThrowStmt, TryCatchStmt, Type, WrappedNodeExpr, WriteKeyExpr, WritePropExpr, WriteVarExpr, StmtModifier, Statement, STRING_TYPE, TypeofExpr, collectExternalReferences, EmitterVisitorContext, JitEvaluator, ViewCompiler, findStaticQueryIds, staticViewQueryIds, getParseErrors, isSyntaxError, syntaxError, Version, TmplAstBoundAttribute, TmplAstBoundEvent, TmplAstBoundText, TmplAstContent, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate, TmplAstText, TmplAstTextAttribute, TmplAstVariable, R3Identifiers, R3ResolvedDependencyType, compileInjector, compileNgModule, compilePipeFromMetadata, makeBindingParser, parseTemplate, compileBaseDefFromMetadata, compileComponentFromMetadata, compileDirectiveFromMetadata, parseHostBindings, verifyHostBindings, publishFacade, VERSION, TextAst, BoundTextAst, AttrAst, BoundElementPropertyAst, BoundEventAst, ReferenceAst, VariableAst, ElementAst, EmbeddedTemplateAst, BoundDirectivePropertyAst, DirectiveAst, ProviderAst, ProviderAstType, NgContentAst, NullTemplateVisitor, RecursiveTemplateAstVisitor, templateVisitAll, sanitizeIdentifier, identifierName, identifierModuleUrl, viewClassName, rendererTypeName, hostViewClassName, componentFactoryName, CompileSummaryKind, tokenName, tokenReference, CompileStylesheetMetadata, CompileTemplateMetadata, CompileDirectiveMetadata, CompilePipeMetadata, CompileShallowModuleMetadata, CompileNgModuleMetadata, TransitiveCompileNgModuleMetadata, ProviderMeta, flatten, templateSourceUrl, sharedStylesheetJitUrl, ngModuleJitUrl, templateJitUrl, createAotUrlResolver, createAotCompiler, AotCompiler, analyzeNgModules, analyzeAndValidateNgModules, analyzeFile, analyzeFileForInjectables, mergeAnalyzedFiles, GeneratedFile, toTypeScript, formattedError, isFormattedError, StaticReflector, StaticSymbol, StaticSymbolCache, ResolvedStaticSymbol, StaticSymbolResolver, unescapeIdentifier, unwrapResolvedMetadata, AotSummaryResolver, AstPath, SummaryResolver, JitSummaryResolver, CompileReflector, createUrlResolverWithoutPackagePrefix, createOfflineCompileUrlResolver, UrlResolver, getUrlScheme, ResourceLoader, ElementSchemaRegistry, Extractor, I18NHtmlParser, MessageBundle, Serializer, Xliff, Xliff2, Xmb, Xtb, DirectiveNormalizer, ParserError, ParseSpan, AST, Quote, EmptyExpr, ImplicitReceiver, Chain, Conditional, PropertyRead, PropertyWrite, SafePropertyRead, KeyedRead, KeyedWrite, BindingPipe, LiteralPrimitive, LiteralArray, LiteralMap, Interpolation, Binary, PrefixNot, NonNullAssert, MethodCall, SafeMethodCall, FunctionCall, AbsoluteSourceSpan, ASTWithSource, TemplateBinding, NullAstVisitor, RecursiveAstVisitor, AstTransformer, AstMemoryEfficientTransformer, visitAstChildren, ParsedProperty, ParsedPropertyType, ParsedEvent, ParsedVariable, BoundElementProperty, TokenType, Lexer, Token, EOF, isIdentifier, isQuote, SplitInterpolation, TemplateBindingParseResult, Parser, _ParseAST, ERROR_COMPONENT_TYPE, CompileMetadataResolver, Text, Expansion, ExpansionCase, Attribute, Element, Comment, visitAll, RecursiveVisitor, findNode, HtmlParser, ParseTreeResult, TreeError, HtmlTagDefinition, getHtmlTagDefinition, TagContentType, splitNsName, isNgContainer, isNgContent, isNgTemplate, getNsPrefix, mergeNsAndName, NAMED_ENTITIES, NGSP_UNICODE, debugOutputAstAsTypeScript, TypeScriptEmitter, ParseLocation, ParseSourceFile, ParseSourceSpan, EMPTY_PARSE_LOCATION, EMPTY_SOURCE_SPAN, ParseErrorLevel, ParseError, typeSourceSpan, r3JitTypeSourceSpan, DomElementSchemaRegistry, CssSelector, SelectorMatcher, SelectorListContext, SelectorContext, HOST_ATTR, CONTENT_ATTR, StylesCompileDependency, CompiledStylesheet, StyleCompiler, TemplateParseError, TemplateParseResult, TemplateParser, splitClasses, createElementCssSelector, removeSummaryDuplicates, isEmptyExpression, compileInjectable, R3TargetBinder, R3BoundTarget */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"core\", function() { return core; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CompilerConfig\", function() { return CompilerConfig; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"preserveWhitespacesDefault\", function() { return preserveWhitespacesDefault; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isLoweredSymbol\", function() { return isLoweredSymbol; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createLoweredSymbol\", function() { return createLoweredSymbol; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Identifiers\", function() { return Identifiers; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"JitCompiler\", function() { return JitCompiler; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ConstantPool\", function() { return ConstantPool; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DirectiveResolver\", function() { return DirectiveResolver; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PipeResolver\", function() { return PipeResolver; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NgModuleResolver\", function() { return NgModuleResolver; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DEFAULT_INTERPOLATION_CONFIG\", function() { return DEFAULT_INTERPOLATION_CONFIG; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"InterpolationConfig\", function() { return InterpolationConfig; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NgModuleCompiler\", function() { return NgModuleCompiler; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ArrayType\", function() { return ArrayType; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AssertNotNull\", function() { return AssertNotNull; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DYNAMIC_TYPE\", function() { return DYNAMIC_TYPE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BinaryOperator\", function() { return BinaryOperator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BinaryOperatorExpr\", function() { return BinaryOperatorExpr; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BuiltinMethod\", function() { return BuiltinMethod; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BuiltinType\", function() { return BuiltinType; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BuiltinTypeName\", function() { return BuiltinTypeName; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BuiltinVar\", function() { return BuiltinVar; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CastExpr\", function() { return CastExpr; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ClassField\", function() { return ClassField; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ClassMethod\", function() { return ClassMethod; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ClassStmt\", function() { return ClassStmt; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CommaExpr\", function() { return CommaExpr; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CommentStmt\", function() { return CommentStmt; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ConditionalExpr\", function() { return ConditionalExpr; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DeclareFunctionStmt\", function() { return DeclareFunctionStmt; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DeclareVarStmt\", function() { return DeclareVarStmt; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Expression\", function() { return Expression; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ExpressionStatement\", function() { return ExpressionStatement; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ExpressionType\", function() { return ExpressionType; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ExternalExpr\", function() { return ExternalExpr; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ExternalReference\", function() { return ExternalReference; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"literalMap\", function() { return literalMap; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FunctionExpr\", function() { return FunctionExpr; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"IfStmt\", function() { return IfStmt; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"InstantiateExpr\", function() { return InstantiateExpr; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"InvokeFunctionExpr\", function() { return InvokeFunctionExpr; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"InvokeMethodExpr\", function() { return InvokeMethodExpr; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"JSDocCommentStmt\", function() { return JSDocCommentStmt; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LiteralArrayExpr\", function() { return LiteralArrayExpr; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LiteralExpr\", function() { return LiteralExpr; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LiteralMapExpr\", function() { return LiteralMapExpr; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MapType\", function() { return MapType; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NotExpr\", function() { return NotExpr; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ReadKeyExpr\", function() { return ReadKeyExpr; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ReadPropExpr\", function() { return ReadPropExpr; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ReadVarExpr\", function() { return ReadVarExpr; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ReturnStatement\", function() { return ReturnStatement; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ThrowStmt\", function() { return ThrowStmt; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TryCatchStmt\", function() { return TryCatchStmt; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Type\", function() { return Type$1; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"WrappedNodeExpr\", function() { return WrappedNodeExpr; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"WriteKeyExpr\", function() { return WriteKeyExpr; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"WritePropExpr\", function() { return WritePropExpr; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"WriteVarExpr\", function() { return WriteVarExpr; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"StmtModifier\", function() { return StmtModifier; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Statement\", function() { return Statement; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"STRING_TYPE\", function() { return STRING_TYPE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TypeofExpr\", function() { return TypeofExpr; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"collectExternalReferences\", function() { return collectExternalReferences; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"EmitterVisitorContext\", function() { return EmitterVisitorContext; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"JitEvaluator\", function() { return JitEvaluator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ViewCompiler\", function() { return ViewCompiler; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"findStaticQueryIds\", function() { return findStaticQueryIds; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticViewQueryIds\", function() { return staticViewQueryIds; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getParseErrors\", function() { return getParseErrors; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isSyntaxError\", function() { return isSyntaxError; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"syntaxError\", function() { return syntaxError; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Version\", function() { return Version; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TmplAstBoundAttribute\", function() { return BoundAttribute; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TmplAstBoundEvent\", function() { return BoundEvent; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TmplAstBoundText\", function() { return BoundText; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TmplAstContent\", function() { return Content; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TmplAstElement\", function() { return Element; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TmplAstRecursiveVisitor\", function() { return RecursiveVisitor; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TmplAstReference\", function() { return Reference; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TmplAstTemplate\", function() { return Template; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TmplAstText\", function() { return Text; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TmplAstTextAttribute\", function() { return TextAttribute; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TmplAstVariable\", function() { return Variable; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"R3Identifiers\", function() { return Identifiers$1; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"R3ResolvedDependencyType\", function() { return R3ResolvedDependencyType; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"compileInjector\", function() { return compileInjector; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"compileNgModule\", function() { return compileNgModule; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"compilePipeFromMetadata\", function() { return compilePipeFromMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"makeBindingParser\", function() { return makeBindingParser; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"parseTemplate\", function() { return parseTemplate; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"compileBaseDefFromMetadata\", function() { return compileBaseDefFromMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"compileComponentFromMetadata\", function() { return compileComponentFromMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"compileDirectiveFromMetadata\", function() { return compileDirectiveFromMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"parseHostBindings\", function() { return parseHostBindings; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"verifyHostBindings\", function() { return verifyHostBindings; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"publishFacade\", function() { return publishFacade; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VERSION\", function() { return VERSION$1; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TextAst\", function() { return TextAst; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BoundTextAst\", function() { return BoundTextAst; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AttrAst\", function() { return AttrAst; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BoundElementPropertyAst\", function() { return BoundElementPropertyAst; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BoundEventAst\", function() { return BoundEventAst; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ReferenceAst\", function() { return ReferenceAst; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VariableAst\", function() { return VariableAst; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ElementAst\", function() { return ElementAst; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"EmbeddedTemplateAst\", function() { return EmbeddedTemplateAst; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BoundDirectivePropertyAst\", function() { return BoundDirectivePropertyAst; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DirectiveAst\", function() { return DirectiveAst; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ProviderAst\", function() { return ProviderAst; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ProviderAstType\", function() { return ProviderAstType; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NgContentAst\", function() { return NgContentAst; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NullTemplateVisitor\", function() { return NullTemplateVisitor; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RecursiveTemplateAstVisitor\", function() { return RecursiveTemplateAstVisitor; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"templateVisitAll\", function() { return templateVisitAll; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"sanitizeIdentifier\", function() { return sanitizeIdentifier; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"identifierName\", function() { return identifierName; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"identifierModuleUrl\", function() { return identifierModuleUrl; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"viewClassName\", function() { return viewClassName; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"rendererTypeName\", function() { return rendererTypeName; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"hostViewClassName\", function() { return hostViewClassName; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"componentFactoryName\", function() { return componentFactoryName; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CompileSummaryKind\", function() { return CompileSummaryKind; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"tokenName\", function() { return tokenName; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"tokenReference\", function() { return tokenReference; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CompileStylesheetMetadata\", function() { return CompileStylesheetMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CompileTemplateMetadata\", function() { return CompileTemplateMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CompileDirectiveMetadata\", function() { return CompileDirectiveMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CompilePipeMetadata\", function() { return CompilePipeMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CompileShallowModuleMetadata\", function() { return CompileShallowModuleMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CompileNgModuleMetadata\", function() { return CompileNgModuleMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TransitiveCompileNgModuleMetadata\", function() { return TransitiveCompileNgModuleMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ProviderMeta\", function() { return ProviderMeta; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"flatten\", function() { return flatten; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"templateSourceUrl\", function() { return templateSourceUrl; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"sharedStylesheetJitUrl\", function() { return sharedStylesheetJitUrl; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ngModuleJitUrl\", function() { return ngModuleJitUrl; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"templateJitUrl\", function() { return templateJitUrl; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createAotUrlResolver\", function() { return createAotUrlResolver; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createAotCompiler\", function() { return createAotCompiler; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AotCompiler\", function() { return AotCompiler; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"analyzeNgModules\", function() { return analyzeNgModules; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"analyzeAndValidateNgModules\", function() { return analyzeAndValidateNgModules; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"analyzeFile\", function() { return analyzeFile; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"analyzeFileForInjectables\", function() { return analyzeFileForInjectables; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"mergeAnalyzedFiles\", function() { return mergeAnalyzedFiles; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"GeneratedFile\", function() { return GeneratedFile; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"toTypeScript\", function() { return toTypeScript; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"formattedError\", function() { return formattedError; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isFormattedError\", function() { return isFormattedError; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"StaticReflector\", function() { return StaticReflector; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"StaticSymbol\", function() { return StaticSymbol; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"StaticSymbolCache\", function() { return StaticSymbolCache; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ResolvedStaticSymbol\", function() { return ResolvedStaticSymbol; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"StaticSymbolResolver\", function() { return StaticSymbolResolver; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"unescapeIdentifier\", function() { return unescapeIdentifier; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"unwrapResolvedMetadata\", function() { return unwrapResolvedMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AotSummaryResolver\", function() { return AotSummaryResolver; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AstPath\", function() { return AstPath; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SummaryResolver\", function() { return SummaryResolver; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"JitSummaryResolver\", function() { return JitSummaryResolver; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CompileReflector\", function() { return CompileReflector; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createUrlResolverWithoutPackagePrefix\", function() { return createUrlResolverWithoutPackagePrefix; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createOfflineCompileUrlResolver\", function() { return createOfflineCompileUrlResolver; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"UrlResolver\", function() { return UrlResolver; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getUrlScheme\", function() { return getUrlScheme; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ResourceLoader\", function() { return ResourceLoader; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ElementSchemaRegistry\", function() { return ElementSchemaRegistry; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Extractor\", function() { return Extractor; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"I18NHtmlParser\", function() { return I18NHtmlParser; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MessageBundle\", function() { return MessageBundle; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Serializer\", function() { return Serializer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Xliff\", function() { return Xliff; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Xliff2\", function() { return Xliff2; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Xmb\", function() { return Xmb; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Xtb\", function() { return Xtb; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DirectiveNormalizer\", function() { return DirectiveNormalizer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ParserError\", function() { return ParserError; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ParseSpan\", function() { return ParseSpan; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AST\", function() { return AST; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Quote\", function() { return Quote; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"EmptyExpr\", function() { return EmptyExpr; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ImplicitReceiver\", function() { return ImplicitReceiver; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Chain\", function() { return Chain; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Conditional\", function() { return Conditional; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PropertyRead\", function() { return PropertyRead; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PropertyWrite\", function() { return PropertyWrite; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SafePropertyRead\", function() { return SafePropertyRead; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KeyedRead\", function() { return KeyedRead; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KeyedWrite\", function() { return KeyedWrite; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BindingPipe\", function() { return BindingPipe; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LiteralPrimitive\", function() { return LiteralPrimitive; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LiteralArray\", function() { return LiteralArray; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LiteralMap\", function() { return LiteralMap; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Interpolation\", function() { return Interpolation; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Binary\", function() { return Binary; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PrefixNot\", function() { return PrefixNot; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NonNullAssert\", function() { return NonNullAssert; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MethodCall\", function() { return MethodCall; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SafeMethodCall\", function() { return SafeMethodCall; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FunctionCall\", function() { return FunctionCall; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AbsoluteSourceSpan\", function() { return AbsoluteSourceSpan; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ASTWithSource\", function() { return ASTWithSource; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TemplateBinding\", function() { return TemplateBinding; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NullAstVisitor\", function() { return NullAstVisitor; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RecursiveAstVisitor\", function() { return RecursiveAstVisitor$1; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AstTransformer\", function() { return AstTransformer$1; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AstMemoryEfficientTransformer\", function() { return AstMemoryEfficientTransformer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"visitAstChildren\", function() { return visitAstChildren; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ParsedProperty\", function() { return ParsedProperty; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ParsedPropertyType\", function() { return ParsedPropertyType; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ParsedEvent\", function() { return ParsedEvent; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ParsedVariable\", function() { return ParsedVariable; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BoundElementProperty\", function() { return BoundElementProperty; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TokenType\", function() { return TokenType$1; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Lexer\", function() { return Lexer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Token\", function() { return Token$1; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"EOF\", function() { return EOF; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isIdentifier\", function() { return isIdentifier; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isQuote\", function() { return isQuote; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SplitInterpolation\", function() { return SplitInterpolation; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TemplateBindingParseResult\", function() { return TemplateBindingParseResult; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Parser\", function() { return Parser$1; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"_ParseAST\", function() { return _ParseAST; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ERROR_COMPONENT_TYPE\", function() { return ERROR_COMPONENT_TYPE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CompileMetadataResolver\", function() { return CompileMetadataResolver; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Text\", function() { return Text$3; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Expansion\", function() { return Expansion; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ExpansionCase\", function() { return ExpansionCase; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Attribute\", function() { return Attribute; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Element\", function() { return Element$1; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Comment\", function() { return Comment; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"visitAll\", function() { return visitAll$1; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RecursiveVisitor\", function() { return RecursiveVisitor$1; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"findNode\", function() { return findNode; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"HtmlParser\", function() { return HtmlParser; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ParseTreeResult\", function() { return ParseTreeResult; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TreeError\", function() { return TreeError; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"HtmlTagDefinition\", function() { return HtmlTagDefinition; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getHtmlTagDefinition\", function() { return getHtmlTagDefinition; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TagContentType\", function() { return TagContentType; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"splitNsName\", function() { return splitNsName; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isNgContainer\", function() { return isNgContainer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isNgContent\", function() { return isNgContent; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isNgTemplate\", function() { return isNgTemplate; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getNsPrefix\", function() { return getNsPrefix; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"mergeNsAndName\", function() { return mergeNsAndName; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NAMED_ENTITIES\", function() { return NAMED_ENTITIES; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NGSP_UNICODE\", function() { return NGSP_UNICODE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"debugOutputAstAsTypeScript\", function() { return debugOutputAstAsTypeScript; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TypeScriptEmitter\", function() { return TypeScriptEmitter; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ParseLocation\", function() { return ParseLocation; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ParseSourceFile\", function() { return ParseSourceFile; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ParseSourceSpan\", function() { return ParseSourceSpan; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"EMPTY_PARSE_LOCATION\", function() { return EMPTY_PARSE_LOCATION; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"EMPTY_SOURCE_SPAN\", function() { return EMPTY_SOURCE_SPAN; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ParseErrorLevel\", function() { return ParseErrorLevel; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ParseError\", function() { return ParseError; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"typeSourceSpan\", function() { return typeSourceSpan; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"r3JitTypeSourceSpan\", function() { return r3JitTypeSourceSpan; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DomElementSchemaRegistry\", function() { return DomElementSchemaRegistry; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CssSelector\", function() { return CssSelector; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SelectorMatcher\", function() { return SelectorMatcher; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SelectorListContext\", function() { return SelectorListContext; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SelectorContext\", function() { return SelectorContext; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"HOST_ATTR\", function() { return HOST_ATTR; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CONTENT_ATTR\", function() { return CONTENT_ATTR; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"StylesCompileDependency\", function() { return StylesCompileDependency; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CompiledStylesheet\", function() { return CompiledStylesheet; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"StyleCompiler\", function() { return StyleCompiler; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TemplateParseError\", function() { return TemplateParseError; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TemplateParseResult\", function() { return TemplateParseResult; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TemplateParser\", function() { return TemplateParser; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"splitClasses\", function() { return splitClasses; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createElementCssSelector\", function() { return createElementCssSelector; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"removeSummaryDuplicates\", function() { return removeSummaryDuplicates; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isEmptyExpression\", function() { return isEmptyExpression; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"compileInjectable\", function() { return compileInjectable; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"R3TargetBinder\", function() { return R3TargetBinder; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"R3BoundTarget\", function() { return R3BoundTarget; });\n/**\n * @license Angular v8.2.14\n * (c) 2010-2019 Google LLC. https://angular.io/\n * License: MIT\n */\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar TagContentType;\n(function (TagContentType) {\n    TagContentType[TagContentType[\"RAW_TEXT\"] = 0] = \"RAW_TEXT\";\n    TagContentType[TagContentType[\"ESCAPABLE_RAW_TEXT\"] = 1] = \"ESCAPABLE_RAW_TEXT\";\n    TagContentType[TagContentType[\"PARSABLE_DATA\"] = 2] = \"PARSABLE_DATA\";\n})(TagContentType || (TagContentType = {}));\nfunction splitNsName(elementName) {\n    if (elementName[0] != ':') {\n        return [null, elementName];\n    }\n    const colonIndex = elementName.indexOf(':', 1);\n    if (colonIndex == -1) {\n        throw new Error(`Unsupported format \"${elementName}\" expecting \":namespace:name\"`);\n    }\n    return [elementName.slice(1, colonIndex), elementName.slice(colonIndex + 1)];\n}\n// `<ng-container>` tags work the same regardless the namespace\nfunction isNgContainer(tagName) {\n    return splitNsName(tagName)[1] === 'ng-container';\n}\n// `<ng-content>` tags work the same regardless the namespace\nfunction isNgContent(tagName) {\n    return splitNsName(tagName)[1] === 'ng-content';\n}\n// `<ng-template>` tags work the same regardless the namespace\nfunction isNgTemplate(tagName) {\n    return splitNsName(tagName)[1] === 'ng-template';\n}\nfunction getNsPrefix(fullName) {\n    return fullName === null ? null : splitNsName(fullName)[0];\n}\nfunction mergeNsAndName(prefix, localName) {\n    return prefix ? `:${prefix}:${localName}` : localName;\n}\n// see http://www.w3.org/TR/html51/syntax.html#named-character-references\n// see https://html.spec.whatwg.org/multipage/entities.json\n// This list is not exhaustive to keep the compiler footprint low.\n// The `&#123;` / `&#x1ab;` syntax should be used when the named character reference does not\n// exist.\nconst NAMED_ENTITIES = {\n    'Aacute': '\\u00C1',\n    'aacute': '\\u00E1',\n    'Acirc': '\\u00C2',\n    'acirc': '\\u00E2',\n    'acute': '\\u00B4',\n    'AElig': '\\u00C6',\n    'aelig': '\\u00E6',\n    'Agrave': '\\u00C0',\n    'agrave': '\\u00E0',\n    'alefsym': '\\u2135',\n    'Alpha': '\\u0391',\n    'alpha': '\\u03B1',\n    'amp': '&',\n    'and': '\\u2227',\n    'ang': '\\u2220',\n    'apos': '\\u0027',\n    'Aring': '\\u00C5',\n    'aring': '\\u00E5',\n    'asymp': '\\u2248',\n    'Atilde': '\\u00C3',\n    'atilde': '\\u00E3',\n    'Auml': '\\u00C4',\n    'auml': '\\u00E4',\n    'bdquo': '\\u201E',\n    'Beta': '\\u0392',\n    'beta': '\\u03B2',\n    'brvbar': '\\u00A6',\n    'bull': '\\u2022',\n    'cap': '\\u2229',\n    'Ccedil': '\\u00C7',\n    'ccedil': '\\u00E7',\n    'cedil': '\\u00B8',\n    'cent': '\\u00A2',\n    'Chi': '\\u03A7',\n    'chi': '\\u03C7',\n    'circ': '\\u02C6',\n    'clubs': '\\u2663',\n    'cong': '\\u2245',\n    'copy': '\\u00A9',\n    'crarr': '\\u21B5',\n    'cup': '\\u222A',\n    'curren': '\\u00A4',\n    'dagger': '\\u2020',\n    'Dagger': '\\u2021',\n    'darr': '\\u2193',\n    'dArr': '\\u21D3',\n    'deg': '\\u00B0',\n    'Delta': '\\u0394',\n    'delta': '\\u03B4',\n    'diams': '\\u2666',\n    'divide': '\\u00F7',\n    'Eacute': '\\u00C9',\n    'eacute': '\\u00E9',\n    'Ecirc': '\\u00CA',\n    'ecirc': '\\u00EA',\n    'Egrave': '\\u00C8',\n    'egrave': '\\u00E8',\n    'empty': '\\u2205',\n    'emsp': '\\u2003',\n    'ensp': '\\u2002',\n    'Epsilon': '\\u0395',\n    'epsilon': '\\u03B5',\n    'equiv': '\\u2261',\n    'Eta': '\\u0397',\n    'eta': '\\u03B7',\n    'ETH': '\\u00D0',\n    'eth': '\\u00F0',\n    'Euml': '\\u00CB',\n    'euml': '\\u00EB',\n    'euro': '\\u20AC',\n    'exist': '\\u2203',\n    'fnof': '\\u0192',\n    'forall': '\\u2200',\n    'frac12': '\\u00BD',\n    'frac14': '\\u00BC',\n    'frac34': '\\u00BE',\n    'frasl': '\\u2044',\n    'Gamma': '\\u0393',\n    'gamma': '\\u03B3',\n    'ge': '\\u2265',\n    'gt': '>',\n    'harr': '\\u2194',\n    'hArr': '\\u21D4',\n    'hearts': '\\u2665',\n    'hellip': '\\u2026',\n    'Iacute': '\\u00CD',\n    'iacute': '\\u00ED',\n    'Icirc': '\\u00CE',\n    'icirc': '\\u00EE',\n    'iexcl': '\\u00A1',\n    'Igrave': '\\u00CC',\n    'igrave': '\\u00EC',\n    'image': '\\u2111',\n    'infin': '\\u221E',\n    'int': '\\u222B',\n    'Iota': '\\u0399',\n    'iota': '\\u03B9',\n    'iquest': '\\u00BF',\n    'isin': '\\u2208',\n    'Iuml': '\\u00CF',\n    'iuml': '\\u00EF',\n    'Kappa': '\\u039A',\n    'kappa': '\\u03BA',\n    'Lambda': '\\u039B',\n    'lambda': '\\u03BB',\n    'lang': '\\u27E8',\n    'laquo': '\\u00AB',\n    'larr': '\\u2190',\n    'lArr': '\\u21D0',\n    'lceil': '\\u2308',\n    'ldquo': '\\u201C',\n    'le': '\\u2264',\n    'lfloor': '\\u230A',\n    'lowast': '\\u2217',\n    'loz': '\\u25CA',\n    'lrm': '\\u200E',\n    'lsaquo': '\\u2039',\n    'lsquo': '\\u2018',\n    'lt': '<',\n    'macr': '\\u00AF',\n    'mdash': '\\u2014',\n    'micro': '\\u00B5',\n    'middot': '\\u00B7',\n    'minus': '\\u2212',\n    'Mu': '\\u039C',\n    'mu': '\\u03BC',\n    'nabla': '\\u2207',\n    'nbsp': '\\u00A0',\n    'ndash': '\\u2013',\n    'ne': '\\u2260',\n    'ni': '\\u220B',\n    'not': '\\u00AC',\n    'notin': '\\u2209',\n    'nsub': '\\u2284',\n    'Ntilde': '\\u00D1',\n    'ntilde': '\\u00F1',\n    'Nu': '\\u039D',\n    'nu': '\\u03BD',\n    'Oacute': '\\u00D3',\n    'oacute': '\\u00F3',\n    'Ocirc': '\\u00D4',\n    'ocirc': '\\u00F4',\n    'OElig': '\\u0152',\n    'oelig': '\\u0153',\n    'Ograve': '\\u00D2',\n    'ograve': '\\u00F2',\n    'oline': '\\u203E',\n    'Omega': '\\u03A9',\n    'omega': '\\u03C9',\n    'Omicron': '\\u039F',\n    'omicron': '\\u03BF',\n    'oplus': '\\u2295',\n    'or': '\\u2228',\n    'ordf': '\\u00AA',\n    'ordm': '\\u00BA',\n    'Oslash': '\\u00D8',\n    'oslash': '\\u00F8',\n    'Otilde': '\\u00D5',\n    'otilde': '\\u00F5',\n    'otimes': '\\u2297',\n    'Ouml': '\\u00D6',\n    'ouml': '\\u00F6',\n    'para': '\\u00B6',\n    'permil': '\\u2030',\n    'perp': '\\u22A5',\n    'Phi': '\\u03A6',\n    'phi': '\\u03C6',\n    'Pi': '\\u03A0',\n    'pi': '\\u03C0',\n    'piv': '\\u03D6',\n    'plusmn': '\\u00B1',\n    'pound': '\\u00A3',\n    'prime': '\\u2032',\n    'Prime': '\\u2033',\n    'prod': '\\u220F',\n    'prop': '\\u221D',\n    'Psi': '\\u03A8',\n    'psi': '\\u03C8',\n    'quot': '\\u0022',\n    'radic': '\\u221A',\n    'rang': '\\u27E9',\n    'raquo': '\\u00BB',\n    'rarr': '\\u2192',\n    'rArr': '\\u21D2',\n    'rceil': '\\u2309',\n    'rdquo': '\\u201D',\n    'real': '\\u211C',\n    'reg': '\\u00AE',\n    'rfloor': '\\u230B',\n    'Rho': '\\u03A1',\n    'rho': '\\u03C1',\n    'rlm': '\\u200F',\n    'rsaquo': '\\u203A',\n    'rsquo': '\\u2019',\n    'sbquo': '\\u201A',\n    'Scaron': '\\u0160',\n    'scaron': '\\u0161',\n    'sdot': '\\u22C5',\n    'sect': '\\u00A7',\n    'shy': '\\u00AD',\n    'Sigma': '\\u03A3',\n    'sigma': '\\u03C3',\n    'sigmaf': '\\u03C2',\n    'sim': '\\u223C',\n    'spades': '\\u2660',\n    'sub': '\\u2282',\n    'sube': '\\u2286',\n    'sum': '\\u2211',\n    'sup': '\\u2283',\n    'sup1': '\\u00B9',\n    'sup2': '\\u00B2',\n    'sup3': '\\u00B3',\n    'supe': '\\u2287',\n    'szlig': '\\u00DF',\n    'Tau': '\\u03A4',\n    'tau': '\\u03C4',\n    'there4': '\\u2234',\n    'Theta': '\\u0398',\n    'theta': '\\u03B8',\n    'thetasym': '\\u03D1',\n    'thinsp': '\\u2009',\n    'THORN': '\\u00DE',\n    'thorn': '\\u00FE',\n    'tilde': '\\u02DC',\n    'times': '\\u00D7',\n    'trade': '\\u2122',\n    'Uacute': '\\u00DA',\n    'uacute': '\\u00FA',\n    'uarr': '\\u2191',\n    'uArr': '\\u21D1',\n    'Ucirc': '\\u00DB',\n    'ucirc': '\\u00FB',\n    'Ugrave': '\\u00D9',\n    'ugrave': '\\u00F9',\n    'uml': '\\u00A8',\n    'upsih': '\\u03D2',\n    'Upsilon': '\\u03A5',\n    'upsilon': '\\u03C5',\n    'Uuml': '\\u00DC',\n    'uuml': '\\u00FC',\n    'weierp': '\\u2118',\n    'Xi': '\\u039E',\n    'xi': '\\u03BE',\n    'Yacute': '\\u00DD',\n    'yacute': '\\u00FD',\n    'yen': '\\u00A5',\n    'yuml': '\\u00FF',\n    'Yuml': '\\u0178',\n    'Zeta': '\\u0396',\n    'zeta': '\\u03B6',\n    'zwj': '\\u200D',\n    'zwnj': '\\u200C',\n};\n// The &ngsp; pseudo-entity is denoting a space. see:\n// https://github.com/dart-lang/angular/blob/0bb611387d29d65b5af7f9d2515ab571fd3fbee4/_tests/test/compiler/preserve_whitespace_test.dart\nconst NGSP_UNICODE = '\\uE500';\nNAMED_ENTITIES['ngsp'] = NGSP_UNICODE;\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nclass HtmlTagDefinition {\n    constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false } = {}) {\n        this.closedByChildren = {};\n        this.closedByParent = false;\n        this.canSelfClose = false;\n        if (closedByChildren && closedByChildren.length > 0) {\n            closedByChildren.forEach(tagName => this.closedByChildren[tagName] = true);\n        }\n        this.isVoid = isVoid;\n        this.closedByParent = closedByParent || isVoid;\n        this.implicitNamespacePrefix = implicitNamespacePrefix || null;\n        this.contentType = contentType;\n        this.ignoreFirstLf = ignoreFirstLf;\n    }\n    isClosedByChild(name) {\n        return this.isVoid || name.toLowerCase() in this.closedByChildren;\n    }\n}\nlet _DEFAULT_TAG_DEFINITION;\n// see http://www.w3.org/TR/html51/syntax.html#optional-tags\n// This implementation does not fully conform to the HTML5 spec.\nlet TAG_DEFINITIONS;\nfunction getHtmlTagDefinition(tagName) {\n    if (!TAG_DEFINITIONS) {\n        _DEFAULT_TAG_DEFINITION = new HtmlTagDefinition();\n        TAG_DEFINITIONS = {\n            'base': new HtmlTagDefinition({ isVoid: true }),\n            'meta': new HtmlTagDefinition({ isVoid: true }),\n            'area': new HtmlTagDefinition({ isVoid: true }),\n            'embed': new HtmlTagDefinition({ isVoid: true }),\n            'link': new HtmlTagDefinition({ isVoid: true }),\n            'img': new HtmlTagDefinition({ isVoid: true }),\n            'input': new HtmlTagDefinition({ isVoid: true }),\n            'param': new HtmlTagDefinition({ isVoid: true }),\n            'hr': new HtmlTagDefinition({ isVoid: true }),\n            'br': new HtmlTagDefinition({ isVoid: true }),\n            'source': new HtmlTagDefinition({ isVoid: true }),\n            'track': new HtmlTagDefinition({ isVoid: true }),\n            'wbr': new HtmlTagDefinition({ isVoid: true }),\n            'p': new HtmlTagDefinition({\n                closedByChildren: [\n                    'address', 'article', 'aside', 'blockquote', 'div', 'dl', 'fieldset',\n                    'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5',\n                    'h6', 'header', 'hgroup', 'hr', 'main', 'nav', 'ol',\n                    'p', 'pre', 'section', 'table', 'ul'\n                ],\n                closedByParent: true\n            }),\n            'thead': new HtmlTagDefinition({ closedByChildren: ['tbody', 'tfoot'] }),\n            'tbody': new HtmlTagDefinition({ closedByChildren: ['tbody', 'tfoot'], closedByParent: true }),\n            'tfoot': new HtmlTagDefinition({ closedByChildren: ['tbody'], closedByParent: true }),\n            'tr': new HtmlTagDefinition({ closedByChildren: ['tr'], closedByParent: true }),\n            'td': new HtmlTagDefinition({ closedByChildren: ['td', 'th'], closedByParent: true }),\n            'th': new HtmlTagDefinition({ closedByChildren: ['td', 'th'], closedByParent: true }),\n            'col': new HtmlTagDefinition({ isVoid: true }),\n            'svg': new HtmlTagDefinition({ implicitNamespacePrefix: 'svg' }),\n            'math': new HtmlTagDefinition({ implicitNamespacePrefix: 'math' }),\n            'li': new HtmlTagDefinition({ closedByChildren: ['li'], closedByParent: true }),\n            'dt': new HtmlTagDefinition({ closedByChildren: ['dt', 'dd'] }),\n            'dd': new HtmlTagDefinition({ closedByChildren: ['dt', 'dd'], closedByParent: true }),\n            'rb': new HtmlTagDefinition({ closedByChildren: ['rb', 'rt', 'rtc', 'rp'], closedByParent: true }),\n            'rt': new HtmlTagDefinition({ closedByChildren: ['rb', 'rt', 'rtc', 'rp'], closedByParent: true }),\n            'rtc': new HtmlTagDefinition({ closedByChildren: ['rb', 'rtc', 'rp'], closedByParent: true }),\n            'rp': new HtmlTagDefinition({ closedByChildren: ['rb', 'rt', 'rtc', 'rp'], closedByParent: true }),\n            'optgroup': new HtmlTagDefinition({ closedByChildren: ['optgroup'], closedByParent: true }),\n            'option': new HtmlTagDefinition({ closedByChildren: ['option', 'optgroup'], closedByParent: true }),\n            'pre': new HtmlTagDefinition({ ignoreFirstLf: true }),\n            'listing': new HtmlTagDefinition({ ignoreFirstLf: true }),\n            'style': new HtmlTagDefinition({ contentType: TagContentType.RAW_TEXT }),\n            'script': new HtmlTagDefinition({ contentType: TagContentType.RAW_TEXT }),\n            'title': new HtmlTagDefinition({ contentType: TagContentType.ESCAPABLE_RAW_TEXT }),\n            'textarea': new HtmlTagDefinition({ contentType: TagContentType.ESCAPABLE_RAW_TEXT, ignoreFirstLf: true }),\n        };\n    }\n    return TAG_DEFINITIONS[tagName.toLowerCase()] || _DEFAULT_TAG_DEFINITION;\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst _SELECTOR_REGEXP = new RegExp('(\\\\:not\\\\()|' + //\":not(\"\n    '([-\\\\w]+)|' + // \"tag\"\n    '(?:\\\\.([-\\\\w]+))|' + // \".class\"\n    // \"-\" should appear first in the regexp below as FF31 parses \"[.-\\w]\" as a range\n    '(?:\\\\[([-.\\\\w*]+)(?:=([\\\"\\']?)([^\\\\]\\\"\\']*)\\\\5)?\\\\])|' + // \"[name]\", \"[name=value]\",\n    // \"[name=\"value\"]\",\n    // \"[name='value']\"\n    '(\\\\))|' + // \")\"\n    '(\\\\s*,\\\\s*)', // \",\"\n'g');\n/**\n * A css selector contains an element name,\n * css classes and attribute/value pairs with the purpose\n * of selecting subsets out of them.\n */\nclass CssSelector {\n    constructor() {\n        this.element = null;\n        this.classNames = [];\n        /**\n         * The selectors are encoded in pairs where:\n         * - even locations are attribute names\n         * - odd locations are attribute values.\n         *\n         * Example:\n         * Selector: `[key1=value1][key2]` would parse to:\n         * ```\n         * ['key1', 'value1', 'key2', '']\n         * ```\n         */\n        this.attrs = [];\n        this.notSelectors = [];\n    }\n    static parse(selector) {\n        const results = [];\n        const _addResult = (res, cssSel) => {\n            if (cssSel.notSelectors.length > 0 && !cssSel.element && cssSel.classNames.length == 0 &&\n                cssSel.attrs.length == 0) {\n                cssSel.element = '*';\n            }\n            res.push(cssSel);\n        };\n        let cssSelector = new CssSelector();\n        let match;\n        let current = cssSelector;\n        let inNot = false;\n        _SELECTOR_REGEXP.lastIndex = 0;\n        while (match = _SELECTOR_REGEXP.exec(selector)) {\n            if (match[1]) {\n                if (inNot) {\n                    throw new Error('Nesting :not is not allowed in a selector');\n                }\n                inNot = true;\n                current = new CssSelector();\n                cssSelector.notSelectors.push(current);\n            }\n            if (match[2]) {\n                current.setElement(match[2]);\n            }\n            if (match[3]) {\n                current.addClassName(match[3]);\n            }\n            if (match[4]) {\n                current.addAttribute(match[4], match[6]);\n            }\n            if (match[7]) {\n                inNot = false;\n                current = cssSelector;\n            }\n            if (match[8]) {\n                if (inNot) {\n                    throw new Error('Multiple selectors in :not are not supported');\n                }\n                _addResult(results, cssSelector);\n                cssSelector = current = new CssSelector();\n            }\n        }\n        _addResult(results, cssSelector);\n        return results;\n    }\n    isElementSelector() {\n        return this.hasElementSelector() && this.classNames.length == 0 && this.attrs.length == 0 &&\n            this.notSelectors.length === 0;\n    }\n    hasElementSelector() { return !!this.element; }\n    setElement(element = null) { this.element = element; }\n    /** Gets a template string for an element that matches the selector. */\n    getMatchingElementTemplate() {\n        const tagName = this.element || 'div';\n        const classAttr = this.classNames.length > 0 ? ` class=\"${this.classNames.join(' ')}\"` : '';\n        let attrs = '';\n        for (let i = 0; i < this.attrs.length; i += 2) {\n            const attrName = this.attrs[i];\n            const attrValue = this.attrs[i + 1] !== '' ? `=\"${this.attrs[i + 1]}\"` : '';\n            attrs += ` ${attrName}${attrValue}`;\n        }\n        return getHtmlTagDefinition(tagName).isVoid ? `<${tagName}${classAttr}${attrs}/>` :\n            `<${tagName}${classAttr}${attrs}></${tagName}>`;\n    }\n    getAttrs() {\n        const result = [];\n        if (this.classNames.length > 0) {\n            result.push('class', this.classNames.join(' '));\n        }\n        return result.concat(this.attrs);\n    }\n    addAttribute(name, value = '') {\n        this.attrs.push(name, value && value.toLowerCase() || '');\n    }\n    addClassName(name) { this.classNames.push(name.toLowerCase()); }\n    toString() {\n        let res = this.element || '';\n        if (this.classNames) {\n            this.classNames.forEach(klass => res += `.${klass}`);\n        }\n        if (this.attrs) {\n            for (let i = 0; i < this.attrs.length; i += 2) {\n                const name = this.attrs[i];\n                const value = this.attrs[i + 1];\n                res += `[${name}${value ? '=' + value : ''}]`;\n            }\n        }\n        this.notSelectors.forEach(notSelector => res += `:not(${notSelector})`);\n        return res;\n    }\n}\n/**\n * Reads a list of CssSelectors and allows to calculate which ones\n * are contained in a given CssSelector.\n */\nclass SelectorMatcher {\n    constructor() {\n        this._elementMap = new Map();\n        this._elementPartialMap = new Map();\n        this._classMap = new Map();\n        this._classPartialMap = new Map();\n        this._attrValueMap = new Map();\n        this._attrValuePartialMap = new Map();\n        this._listContexts = [];\n    }\n    static createNotMatcher(notSelectors) {\n        const notMatcher = new SelectorMatcher();\n        notMatcher.addSelectables(notSelectors, null);\n        return notMatcher;\n    }\n    addSelectables(cssSelectors, callbackCtxt) {\n        let listContext = null;\n        if (cssSelectors.length > 1) {\n            listContext = new SelectorListContext(cssSelectors);\n            this._listContexts.push(listContext);\n        }\n        for (let i = 0; i < cssSelectors.length; i++) {\n            this._addSelectable(cssSelectors[i], callbackCtxt, listContext);\n        }\n    }\n    /**\n     * Add an object that can be found later on by calling `match`.\n     * @param cssSelector A css selector\n     * @param callbackCtxt An opaque object that will be given to the callback of the `match` function\n     */\n    _addSelectable(cssSelector, callbackCtxt, listContext) {\n        let matcher = this;\n        const element = cssSelector.element;\n        const classNames = cssSelector.classNames;\n        const attrs = cssSelector.attrs;\n        const selectable = new SelectorContext(cssSelector, callbackCtxt, listContext);\n        if (element) {\n            const isTerminal = attrs.length === 0 && classNames.length === 0;\n            if (isTerminal) {\n                this._addTerminal(matcher._elementMap, element, selectable);\n            }\n            else {\n                matcher = this._addPartial(matcher._elementPartialMap, element);\n            }\n        }\n        if (classNames) {\n            for (let i = 0; i < classNames.length; i++) {\n                const isTerminal = attrs.length === 0 && i === classNames.length - 1;\n                const className = classNames[i];\n                if (isTerminal) {\n                    this._addTerminal(matcher._classMap, className, selectable);\n                }\n                else {\n                    matcher = this._addPartial(matcher._classPartialMap, className);\n                }\n            }\n        }\n        if (attrs) {\n            for (let i = 0; i < attrs.length; i += 2) {\n                const isTerminal = i === attrs.length - 2;\n                const name = attrs[i];\n                const value = attrs[i + 1];\n                if (isTerminal) {\n                    const terminalMap = matcher._attrValueMap;\n                    let terminalValuesMap = terminalMap.get(name);\n                    if (!terminalValuesMap) {\n                        terminalValuesMap = new Map();\n                        terminalMap.set(name, terminalValuesMap);\n                    }\n                    this._addTerminal(terminalValuesMap, value, selectable);\n                }\n                else {\n                    const partialMap = matcher._attrValuePartialMap;\n                    let partialValuesMap = partialMap.get(name);\n                    if (!partialValuesMap) {\n                        partialValuesMap = new Map();\n                        partialMap.set(name, partialValuesMap);\n                    }\n                    matcher = this._addPartial(partialValuesMap, value);\n                }\n            }\n        }\n    }\n    _addTerminal(map, name, selectable) {\n        let terminalList = map.get(name);\n        if (!terminalList) {\n            terminalList = [];\n            map.set(name, terminalList);\n        }\n        terminalList.push(selectable);\n    }\n    _addPartial(map, name) {\n        let matcher = map.get(name);\n        if (!matcher) {\n            matcher = new SelectorMatcher();\n            map.set(name, matcher);\n        }\n        return matcher;\n    }\n    /**\n     * Find the objects that have been added via `addSelectable`\n     * whose css selector is contained in the given css selector.\n     * @param cssSelector A css selector\n     * @param matchedCallback This callback will be called with the object handed into `addSelectable`\n     * @return boolean true if a match was found\n    */\n    match(cssSelector, matchedCallback) {\n        let result = false;\n        const element = cssSelector.element;\n        const classNames = cssSelector.classNames;\n        const attrs = cssSelector.attrs;\n        for (let i = 0; i < this._listContexts.length; i++) {\n            this._listContexts[i].alreadyMatched = false;\n        }\n        result = this._matchTerminal(this._elementMap, element, cssSelector, matchedCallback) || result;\n        result = this._matchPartial(this._elementPartialMap, element, cssSelector, matchedCallback) ||\n            result;\n        if (classNames) {\n            for (let i = 0; i < classNames.length; i++) {\n                const className = classNames[i];\n                result =\n                    this._matchTerminal(this._classMap, className, cssSelector, matchedCallback) || result;\n                result =\n                    this._matchPartial(this._classPartialMap, className, cssSelector, matchedCallback) ||\n                        result;\n            }\n        }\n        if (attrs) {\n            for (let i = 0; i < attrs.length; i += 2) {\n                const name = attrs[i];\n                const value = attrs[i + 1];\n                const terminalValuesMap = this._attrValueMap.get(name);\n                if (value) {\n                    result =\n                        this._matchTerminal(terminalValuesMap, '', cssSelector, matchedCallback) || result;\n                }\n                result =\n                    this._matchTerminal(terminalValuesMap, value, cssSelector, matchedCallback) || result;\n                const partialValuesMap = this._attrValuePartialMap.get(name);\n                if (value) {\n                    result = this._matchPartial(partialValuesMap, '', cssSelector, matchedCallback) || result;\n                }\n                result =\n                    this._matchPartial(partialValuesMap, value, cssSelector, matchedCallback) || result;\n            }\n        }\n        return result;\n    }\n    /** @internal */\n    _matchTerminal(map, name, cssSelector, matchedCallback) {\n        if (!map || typeof name !== 'string') {\n            return false;\n        }\n        let selectables = map.get(name) || [];\n        const starSelectables = map.get('*');\n        if (starSelectables) {\n            selectables = selectables.concat(starSelectables);\n        }\n        if (selectables.length === 0) {\n            return false;\n        }\n        let selectable;\n        let result = false;\n        for (let i = 0; i < selectables.length; i++) {\n            selectable = selectables[i];\n            result = selectable.finalize(cssSelector, matchedCallback) || result;\n        }\n        return result;\n    }\n    /** @internal */\n    _matchPartial(map, name, cssSelector, matchedCallback) {\n        if (!map || typeof name !== 'string') {\n            return false;\n        }\n        const nestedSelector = map.get(name);\n        if (!nestedSelector) {\n            return false;\n        }\n        // TODO(perf): get rid of recursion and measure again\n        // TODO(perf): don't pass the whole selector into the recursion,\n        // but only the not processed parts\n        return nestedSelector.match(cssSelector, matchedCallback);\n    }\n}\nclass SelectorListContext {\n    constructor(selectors) {\n        this.selectors = selectors;\n        this.alreadyMatched = false;\n    }\n}\n// Store context to pass back selector and context when a selector is matched\nclass SelectorContext {\n    constructor(selector, cbContext, listContext) {\n        this.selector = selector;\n        this.cbContext = cbContext;\n        this.listContext = listContext;\n        this.notSelectors = selector.notSelectors;\n    }\n    finalize(cssSelector, callback) {\n        let result = true;\n        if (this.notSelectors.length > 0 && (!this.listContext || !this.listContext.alreadyMatched)) {\n            const notMatcher = SelectorMatcher.createNotMatcher(this.notSelectors);\n            result = !notMatcher.match(cssSelector, null);\n        }\n        if (result && callback && (!this.listContext || !this.listContext.alreadyMatched)) {\n            if (this.listContext) {\n                this.listContext.alreadyMatched = true;\n            }\n            callback(this.selector, this.cbContext);\n        }\n        return result;\n    }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst createInject = makeMetadataFactory('Inject', (token) => ({ token }));\nconst createInjectionToken = makeMetadataFactory('InjectionToken', (desc) => ({ _desc: desc, ngInjectableDef: undefined }));\nconst createAttribute = makeMetadataFactory('Attribute', (attributeName) => ({ attributeName }));\nconst createContentChildren = makeMetadataFactory('ContentChildren', (selector, data = {}) => (Object.assign({ selector, first: false, isViewQuery: false, descendants: false }, data)));\nconst createContentChild = makeMetadataFactory('ContentChild', (selector, data = {}) => (Object.assign({ selector, first: true, isViewQuery: false, descendants: true }, data)));\nconst createViewChildren = makeMetadataFactory('ViewChildren', (selector, data = {}) => (Object.assign({ selector, first: false, isViewQuery: true, descendants: true }, data)));\nconst createViewChild = makeMetadataFactory('ViewChild', (selector, data) => (Object.assign({ selector, first: true, isViewQuery: true, descendants: true }, data)));\nconst createDirective = makeMetadataFactory('Directive', (dir = {}) => dir);\nvar ViewEncapsulation;\n(function (ViewEncapsulation) {\n    ViewEncapsulation[ViewEncapsulation[\"Emulated\"] = 0] = \"Emulated\";\n    ViewEncapsulation[ViewEncapsulation[\"Native\"] = 1] = \"Native\";\n    ViewEncapsulation[ViewEncapsulation[\"None\"] = 2] = \"None\";\n    ViewEncapsulation[ViewEncapsulation[\"ShadowDom\"] = 3] = \"ShadowDom\";\n})(ViewEncapsulation || (ViewEncapsulation = {}));\nvar ChangeDetectionStrategy;\n(function (ChangeDetectionStrategy) {\n    ChangeDetectionStrategy[ChangeDetectionStrategy[\"OnPush\"] = 0] = \"OnPush\";\n    ChangeDetectionStrategy[ChangeDetectionStrategy[\"Default\"] = 1] = \"Default\";\n})(ChangeDetectionStrategy || (ChangeDetectionStrategy = {}));\nconst createComponent = makeMetadataFactory('Component', (c = {}) => (Object.assign({ changeDetection: ChangeDetectionStrategy.Default }, c)));\nconst createPipe = makeMetadataFactory('Pipe', (p) => (Object.assign({ pure: true }, p)));\nconst createInput = makeMetadataFactory('Input', (bindingPropertyName) => ({ bindingPropertyName }));\nconst createOutput = makeMetadataFactory('Output', (bindingPropertyName) => ({ bindingPropertyName }));\nconst createHostBinding = makeMetadataFactory('HostBinding', (hostPropertyName) => ({ hostPropertyName }));\nconst createHostListener = makeMetadataFactory('HostListener', (eventName, args) => ({ eventName, args }));\nconst createNgModule = makeMetadataFactory('NgModule', (ngModule) => ngModule);\nconst createInjectable = makeMetadataFactory('Injectable', (injectable = {}) => injectable);\nconst CUSTOM_ELEMENTS_SCHEMA = {\n    name: 'custom-elements'\n};\nconst NO_ERRORS_SCHEMA = {\n    name: 'no-errors-schema'\n};\nconst createOptional = makeMetadataFactory('Optional');\nconst createSelf = makeMetadataFactory('Self');\nconst createSkipSelf = makeMetadataFactory('SkipSelf');\nconst createHost = makeMetadataFactory('Host');\nconst Type = Function;\nvar SecurityContext;\n(function (SecurityContext) {\n    SecurityContext[SecurityContext[\"NONE\"] = 0] = \"NONE\";\n    SecurityContext[SecurityContext[\"HTML\"] = 1] = \"HTML\";\n    SecurityContext[SecurityContext[\"STYLE\"] = 2] = \"STYLE\";\n    SecurityContext[SecurityContext[\"SCRIPT\"] = 3] = \"SCRIPT\";\n    SecurityContext[SecurityContext[\"URL\"] = 4] = \"URL\";\n    SecurityContext[SecurityContext[\"RESOURCE_URL\"] = 5] = \"RESOURCE_URL\";\n})(SecurityContext || (SecurityContext = {}));\nvar MissingTranslationStrategy;\n(function (MissingTranslationStrategy) {\n    MissingTranslationStrategy[MissingTranslationStrategy[\"Error\"] = 0] = \"Error\";\n    MissingTranslationStrategy[MissingTranslationStrategy[\"Warning\"] = 1] = \"Warning\";\n    MissingTranslationStrategy[MissingTranslationStrategy[\"Ignore\"] = 2] = \"Ignore\";\n})(MissingTranslationStrategy || (MissingTranslationStrategy = {}));\nfunction makeMetadataFactory(name, props) {\n    // This must be declared as a function, not a fat arrow, so that ES2015 devmode produces code\n    // that works with the static_reflector.ts in the ViewEngine compiler.\n    // In particular, `_registerDecoratorOrConstructor` assumes that the value returned here can be\n    // new'ed.\n    function factory(...args) {\n        const values = props ? props(...args) : {};\n        return Object.assign({ ngMetadataName: name }, values);\n    }\n    factory.isTypeOf = (obj) => obj && obj.ngMetadataName === name;\n    factory.ngMetadataName = name;\n    return factory;\n}\nfunction parserSelectorToSimpleSelector(selector) {\n    const classes = selector.classNames && selector.classNames.length ?\n        [8 /* CLASS */, ...selector.classNames] :\n        [];\n    const elementName = selector.element && selector.element !== '*' ? selector.element : '';\n    return [elementName, ...selector.attrs, ...classes];\n}\nfunction parserSelectorToNegativeSelector(selector) {\n    const classes = selector.classNames && selector.classNames.length ?\n        [8 /* CLASS */, ...selector.classNames] :\n        [];\n    if (selector.element) {\n        return [\n            1 /* NOT */ | 4 /* ELEMENT */, selector.element, ...selector.attrs, ...classes\n        ];\n    }\n    else if (selector.attrs.length) {\n        return [1 /* NOT */ | 2 /* ATTRIBUTE */, ...selector.attrs, ...classes];\n    }\n    else {\n        return selector.classNames && selector.classNames.length ?\n            [1 /* NOT */ | 8 /* CLASS */, ...selector.classNames] :\n            [];\n    }\n}\nfunction parserSelectorToR3Selector(selector) {\n    const positive = parserSelectorToSimpleSelector(selector);\n    const negative = selector.notSelectors && selector.notSelectors.length ?\n        selector.notSelectors.map(notSelector => parserSelectorToNegativeSelector(notSelector)) :\n        [];\n    return positive.concat(...negative);\n}\nfunction parseSelectorToR3Selector(selector) {\n    return selector ? CssSelector.parse(selector).map(parserSelectorToR3Selector) : [];\n}\n\nvar core = /*#__PURE__*/Object.freeze({\n    createInject: createInject,\n    createInjectionToken: createInjectionToken,\n    createAttribute: createAttribute,\n    createContentChildren: createContentChildren,\n    createContentChild: createContentChild,\n    createViewChildren: createViewChildren,\n    createViewChild: createViewChild,\n    createDirective: createDirective,\n    get ViewEncapsulation () { return ViewEncapsulation; },\n    get ChangeDetectionStrategy () { return ChangeDetectionStrategy; },\n    createComponent: createComponent,\n    createPipe: createPipe,\n    createInput: createInput,\n    createOutput: createOutput,\n    createHostBinding: createHostBinding,\n    createHostListener: createHostListener,\n    createNgModule: createNgModule,\n    createInjectable: createInjectable,\n    CUSTOM_ELEMENTS_SCHEMA: CUSTOM_ELEMENTS_SCHEMA,\n    NO_ERRORS_SCHEMA: NO_ERRORS_SCHEMA,\n    createOptional: createOptional,\n    createSelf: createSelf,\n    createSkipSelf: createSkipSelf,\n    createHost: createHost,\n    Type: Type,\n    get SecurityContext () { return SecurityContext; },\n    get MissingTranslationStrategy () { return MissingTranslationStrategy; },\n    parseSelectorToR3Selector: parseSelectorToR3Selector\n});\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n//// Types\nvar TypeModifier;\n(function (TypeModifier) {\n    TypeModifier[TypeModifier[\"Const\"] = 0] = \"Const\";\n})(TypeModifier || (TypeModifier = {}));\nclass Type$1 {\n    constructor(modifiers = null) {\n        this.modifiers = modifiers;\n        if (!modifiers) {\n            this.modifiers = [];\n        }\n    }\n    hasModifier(modifier) { return this.modifiers.indexOf(modifier) !== -1; }\n}\nvar BuiltinTypeName;\n(function (BuiltinTypeName) {\n    BuiltinTypeName[BuiltinTypeName[\"Dynamic\"] = 0] = \"Dynamic\";\n    BuiltinTypeName[BuiltinTypeName[\"Bool\"] = 1] = \"Bool\";\n    BuiltinTypeName[BuiltinTypeName[\"String\"] = 2] = \"String\";\n    BuiltinTypeName[BuiltinTypeName[\"Int\"] = 3] = \"Int\";\n    BuiltinTypeName[BuiltinTypeName[\"Number\"] = 4] = \"Number\";\n    BuiltinTypeName[BuiltinTypeName[\"Function\"] = 5] = \"Function\";\n    BuiltinTypeName[BuiltinTypeName[\"Inferred\"] = 6] = \"Inferred\";\n    BuiltinTypeName[BuiltinTypeName[\"None\"] = 7] = \"None\";\n})(BuiltinTypeName || (BuiltinTypeName = {}));\nclass BuiltinType extends Type$1 {\n    constructor(name, modifiers = null) {\n        super(modifiers);\n        this.name = name;\n    }\n    visitType(visitor, context) {\n        return visitor.visitBuiltinType(this, context);\n    }\n}\nclass ExpressionType extends Type$1 {\n    constructor(value, modifiers = null, typeParams = null) {\n        super(modifiers);\n        this.value = value;\n        this.typeParams = typeParams;\n    }\n    visitType(visitor, context) {\n        return visitor.visitExpressionType(this, context);\n    }\n}\nclass ArrayType extends Type$1 {\n    constructor(of, modifiers = null) {\n        super(modifiers);\n        this.of = of;\n    }\n    visitType(visitor, context) {\n        return visitor.visitArrayType(this, context);\n    }\n}\nclass MapType extends Type$1 {\n    constructor(valueType, modifiers = null) {\n        super(modifiers);\n        this.valueType = valueType || null;\n    }\n    visitType(visitor, context) { return visitor.visitMapType(this, context); }\n}\nconst DYNAMIC_TYPE = new BuiltinType(BuiltinTypeName.Dynamic);\nconst INFERRED_TYPE = new BuiltinType(BuiltinTypeName.Inferred);\nconst BOOL_TYPE = new BuiltinType(BuiltinTypeName.Bool);\nconst INT_TYPE = new BuiltinType(BuiltinTypeName.Int);\nconst NUMBER_TYPE = new BuiltinType(BuiltinTypeName.Number);\nconst STRING_TYPE = new BuiltinType(BuiltinTypeName.String);\nconst FUNCTION_TYPE = new BuiltinType(BuiltinTypeName.Function);\nconst NONE_TYPE = new BuiltinType(BuiltinTypeName.None);\n///// Expressions\nvar BinaryOperator;\n(function (BinaryOperator) {\n    BinaryOperator[BinaryOperator[\"Equals\"] = 0] = \"Equals\";\n    BinaryOperator[BinaryOperator[\"NotEquals\"] = 1] = \"NotEquals\";\n    BinaryOperator[BinaryOperator[\"Identical\"] = 2] = \"Identical\";\n    BinaryOperator[BinaryOperator[\"NotIdentical\"] = 3] = \"NotIdentical\";\n    BinaryOperator[BinaryOperator[\"Minus\"] = 4] = \"Minus\";\n    BinaryOperator[BinaryOperator[\"Plus\"] = 5] = \"Plus\";\n    BinaryOperator[BinaryOperator[\"Divide\"] = 6] = \"Divide\";\n    BinaryOperator[BinaryOperator[\"Multiply\"] = 7] = \"Multiply\";\n    BinaryOperator[BinaryOperator[\"Modulo\"] = 8] = \"Modulo\";\n    BinaryOperator[BinaryOperator[\"And\"] = 9] = \"And\";\n    BinaryOperator[BinaryOperator[\"Or\"] = 10] = \"Or\";\n    BinaryOperator[BinaryOperator[\"BitwiseAnd\"] = 11] = \"BitwiseAnd\";\n    BinaryOperator[BinaryOperator[\"Lower\"] = 12] = \"Lower\";\n    BinaryOperator[BinaryOperator[\"LowerEquals\"] = 13] = \"LowerEquals\";\n    BinaryOperator[BinaryOperator[\"Bigger\"] = 14] = \"Bigger\";\n    BinaryOperator[BinaryOperator[\"BiggerEquals\"] = 15] = \"BiggerEquals\";\n})(BinaryOperator || (BinaryOperator = {}));\nfunction nullSafeIsEquivalent(base, other) {\n    if (base == null || other == null) {\n        return base == other;\n    }\n    return base.isEquivalent(other);\n}\nfunction areAllEquivalent(base, other) {\n    const len = base.length;\n    if (len !== other.length) {\n        return false;\n    }\n    for (let i = 0; i < len; i++) {\n        if (!base[i].isEquivalent(other[i])) {\n            return false;\n        }\n    }\n    return true;\n}\nclass Expression {\n    constructor(type, sourceSpan) {\n        this.type = type || null;\n        this.sourceSpan = sourceSpan || null;\n    }\n    prop(name, sourceSpan) {\n        return new ReadPropExpr(this, name, null, sourceSpan);\n    }\n    key(index, type, sourceSpan) {\n        return new ReadKeyExpr(this, index, type, sourceSpan);\n    }\n    callMethod(name, params, sourceSpan) {\n        return new InvokeMethodExpr(this, name, params, null, sourceSpan);\n    }\n    callFn(params, sourceSpan) {\n        return new InvokeFunctionExpr(this, params, null, sourceSpan);\n    }\n    instantiate(params, type, sourceSpan) {\n        return new InstantiateExpr(this, params, type, sourceSpan);\n    }\n    conditional(trueCase, falseCase = null, sourceSpan) {\n        return new ConditionalExpr(this, trueCase, falseCase, null, sourceSpan);\n    }\n    equals(rhs, sourceSpan) {\n        return new BinaryOperatorExpr(BinaryOperator.Equals, this, rhs, null, sourceSpan);\n    }\n    notEquals(rhs, sourceSpan) {\n        return new BinaryOperatorExpr(BinaryOperator.NotEquals, this, rhs, null, sourceSpan);\n    }\n    identical(rhs, sourceSpan) {\n        return new BinaryOperatorExpr(BinaryOperator.Identical, this, rhs, null, sourceSpan);\n    }\n    notIdentical(rhs, sourceSpan) {\n        return new BinaryOperatorExpr(BinaryOperator.NotIdentical, this, rhs, null, sourceSpan);\n    }\n    minus(rhs, sourceSpan) {\n        return new BinaryOperatorExpr(BinaryOperator.Minus, this, rhs, null, sourceSpan);\n    }\n    plus(rhs, sourceSpan) {\n        return new BinaryOperatorExpr(BinaryOperator.Plus, this, rhs, null, sourceSpan);\n    }\n    divide(rhs, sourceSpan) {\n        return new BinaryOperatorExpr(BinaryOperator.Divide, this, rhs, null, sourceSpan);\n    }\n    multiply(rhs, sourceSpan) {\n        return new BinaryOperatorExpr(BinaryOperator.Multiply, this, rhs, null, sourceSpan);\n    }\n    modulo(rhs, sourceSpan) {\n        return new BinaryOperatorExpr(BinaryOperator.Modulo, this, rhs, null, sourceSpan);\n    }\n    and(rhs, sourceSpan) {\n        return new BinaryOperatorExpr(BinaryOperator.And, this, rhs, null, sourceSpan);\n    }\n    bitwiseAnd(rhs, sourceSpan, parens = true) {\n        return new BinaryOperatorExpr(BinaryOperator.BitwiseAnd, this, rhs, null, sourceSpan, parens);\n    }\n    or(rhs, sourceSpan) {\n        return new BinaryOperatorExpr(BinaryOperator.Or, this, rhs, null, sourceSpan);\n    }\n    lower(rhs, sourceSpan) {\n        return new BinaryOperatorExpr(BinaryOperator.Lower, this, rhs, null, sourceSpan);\n    }\n    lowerEquals(rhs, sourceSpan) {\n        return new BinaryOperatorExpr(BinaryOperator.LowerEquals, this, rhs, null, sourceSpan);\n    }\n    bigger(rhs, sourceSpan) {\n        return new BinaryOperatorExpr(BinaryOperator.Bigger, this, rhs, null, sourceSpan);\n    }\n    biggerEquals(rhs, sourceSpan) {\n        return new BinaryOperatorExpr(BinaryOperator.BiggerEquals, this, rhs, null, sourceSpan);\n    }\n    isBlank(sourceSpan) {\n        // Note: We use equals by purpose here to compare to null and undefined in JS.\n        // We use the typed null to allow strictNullChecks to narrow types.\n        return this.equals(TYPED_NULL_EXPR, sourceSpan);\n    }\n    cast(type, sourceSpan) {\n        return new CastExpr(this, type, sourceSpan);\n    }\n    toStmt() { return new ExpressionStatement(this, null); }\n}\nvar BuiltinVar;\n(function (BuiltinVar) {\n    BuiltinVar[BuiltinVar[\"This\"] = 0] = \"This\";\n    BuiltinVar[BuiltinVar[\"Super\"] = 1] = \"Super\";\n    BuiltinVar[BuiltinVar[\"CatchError\"] = 2] = \"CatchError\";\n    BuiltinVar[BuiltinVar[\"CatchStack\"] = 3] = \"CatchStack\";\n})(BuiltinVar || (BuiltinVar = {}));\nclass ReadVarExpr extends Expression {\n    constructor(name, type, sourceSpan) {\n        super(type, sourceSpan);\n        if (typeof name === 'string') {\n            this.name = name;\n            this.builtin = null;\n        }\n        else {\n            this.name = null;\n            this.builtin = name;\n        }\n    }\n    isEquivalent(e) {\n        return e instanceof ReadVarExpr && this.name === e.name && this.builtin === e.builtin;\n    }\n    isConstant() { return false; }\n    visitExpression(visitor, context) {\n        return visitor.visitReadVarExpr(this, context);\n    }\n    set(value) {\n        if (!this.name) {\n            throw new Error(`Built in variable ${this.builtin} can not be assigned to.`);\n        }\n        return new WriteVarExpr(this.name, value, null, this.sourceSpan);\n    }\n}\nclass TypeofExpr extends Expression {\n    constructor(expr, type, sourceSpan) {\n        super(type, sourceSpan);\n        this.expr = expr;\n    }\n    visitExpression(visitor, context) {\n        return visitor.visitTypeofExpr(this, context);\n    }\n    isEquivalent(e) {\n        return e instanceof TypeofExpr && e.expr.isEquivalent(this.expr);\n    }\n    isConstant() { return this.expr.isConstant(); }\n}\nclass WrappedNodeExpr extends Expression {\n    constructor(node, type, sourceSpan) {\n        super(type, sourceSpan);\n        this.node = node;\n    }\n    isEquivalent(e) {\n        return e instanceof WrappedNodeExpr && this.node === e.node;\n    }\n    isConstant() { return false; }\n    visitExpression(visitor, context) {\n        return visitor.visitWrappedNodeExpr(this, context);\n    }\n}\nclass WriteVarExpr extends Expression {\n    constructor(name, value, type, sourceSpan) {\n        super(type || value.type, sourceSpan);\n        this.name = name;\n        this.value = value;\n    }\n    isEquivalent(e) {\n        return e instanceof WriteVarExpr && this.name === e.name && this.value.isEquivalent(e.value);\n    }\n    isConstant() { return false; }\n    visitExpression(visitor, context) {\n        return visitor.visitWriteVarExpr(this, context);\n    }\n    toDeclStmt(type, modifiers) {\n        return new DeclareVarStmt(this.name, this.value, type, modifiers, this.sourceSpan);\n    }\n    toConstDecl() { return this.toDeclStmt(INFERRED_TYPE, [StmtModifier.Final]); }\n}\nclass WriteKeyExpr extends Expression {\n    constructor(receiver, index, value, type, sourceSpan) {\n        super(type || value.type, sourceSpan);\n        this.receiver = receiver;\n        this.index = index;\n        this.value = value;\n    }\n    isEquivalent(e) {\n        return e instanceof WriteKeyExpr && this.receiver.isEquivalent(e.receiver) &&\n            this.index.isEquivalent(e.index) && this.value.isEquivalent(e.value);\n    }\n    isConstant() { return false; }\n    visitExpression(visitor, context) {\n        return visitor.visitWriteKeyExpr(this, context);\n    }\n}\nclass WritePropExpr extends Expression {\n    constructor(receiver, name, value, type, sourceSpan) {\n        super(type || value.type, sourceSpan);\n        this.receiver = receiver;\n        this.name = name;\n        this.value = value;\n    }\n    isEquivalent(e) {\n        return e instanceof WritePropExpr && this.receiver.isEquivalent(e.receiver) &&\n            this.name === e.name && this.value.isEquivalent(e.value);\n    }\n    isConstant() { return false; }\n    visitExpression(visitor, context) {\n        return visitor.visitWritePropExpr(this, context);\n    }\n}\nvar BuiltinMethod;\n(function (BuiltinMethod) {\n    BuiltinMethod[BuiltinMethod[\"ConcatArray\"] = 0] = \"ConcatArray\";\n    BuiltinMethod[BuiltinMethod[\"SubscribeObservable\"] = 1] = \"SubscribeObservable\";\n    BuiltinMethod[BuiltinMethod[\"Bind\"] = 2] = \"Bind\";\n})(BuiltinMethod || (BuiltinMethod = {}));\nclass InvokeMethodExpr extends Expression {\n    constructor(receiver, method, args, type, sourceSpan) {\n        super(type, sourceSpan);\n        this.receiver = receiver;\n        this.args = args;\n        if (typeof method === 'string') {\n            this.name = method;\n            this.builtin = null;\n        }\n        else {\n            this.name = null;\n            this.builtin = method;\n        }\n    }\n    isEquivalent(e) {\n        return e instanceof InvokeMethodExpr && this.receiver.isEquivalent(e.receiver) &&\n            this.name === e.name && this.builtin === e.builtin && areAllEquivalent(this.args, e.args);\n    }\n    isConstant() { return false; }\n    visitExpression(visitor, context) {\n        return visitor.visitInvokeMethodExpr(this, context);\n    }\n}\nclass InvokeFunctionExpr extends Expression {\n    constructor(fn, args, type, sourceSpan, pure = false) {\n        super(type, sourceSpan);\n        this.fn = fn;\n        this.args = args;\n        this.pure = pure;\n    }\n    isEquivalent(e) {\n        return e instanceof InvokeFunctionExpr && this.fn.isEquivalent(e.fn) &&\n            areAllEquivalent(this.args, e.args) && this.pure === e.pure;\n    }\n    isConstant() { return false; }\n    visitExpression(visitor, context) {\n        return visitor.visitInvokeFunctionExpr(this, context);\n    }\n}\nclass InstantiateExpr extends Expression {\n    constructor(classExpr, args, type, sourceSpan) {\n        super(type, sourceSpan);\n        this.classExpr = classExpr;\n        this.args = args;\n    }\n    isEquivalent(e) {\n        return e instanceof InstantiateExpr && this.classExpr.isEquivalent(e.classExpr) &&\n            areAllEquivalent(this.args, e.args);\n    }\n    isConstant() { return false; }\n    visitExpression(visitor, context) {\n        return visitor.visitInstantiateExpr(this, context);\n    }\n}\nclass LiteralExpr extends Expression {\n    constructor(value, type, sourceSpan) {\n        super(type, sourceSpan);\n        this.value = value;\n    }\n    isEquivalent(e) {\n        return e instanceof LiteralExpr && this.value === e.value;\n    }\n    isConstant() { return true; }\n    visitExpression(visitor, context) {\n        return visitor.visitLiteralExpr(this, context);\n    }\n}\nclass ExternalExpr extends Expression {\n    constructor(value, type, typeParams = null, sourceSpan) {\n        super(type, sourceSpan);\n        this.value = value;\n        this.typeParams = typeParams;\n    }\n    isEquivalent(e) {\n        return e instanceof ExternalExpr && this.value.name === e.value.name &&\n            this.value.moduleName === e.value.moduleName && this.value.runtime === e.value.runtime;\n    }\n    isConstant() { return false; }\n    visitExpression(visitor, context) {\n        return visitor.visitExternalExpr(this, context);\n    }\n}\nclass ExternalReference {\n    constructor(moduleName, name, runtime) {\n        this.moduleName = moduleName;\n        this.name = name;\n        this.runtime = runtime;\n    }\n}\nclass ConditionalExpr extends Expression {\n    constructor(condition, trueCase, falseCase = null, type, sourceSpan) {\n        super(type || trueCase.type, sourceSpan);\n        this.condition = condition;\n        this.falseCase = falseCase;\n        this.trueCase = trueCase;\n    }\n    isEquivalent(e) {\n        return e instanceof ConditionalExpr && this.condition.isEquivalent(e.condition) &&\n            this.trueCase.isEquivalent(e.trueCase) && nullSafeIsEquivalent(this.falseCase, e.falseCase);\n    }\n    isConstant() { return false; }\n    visitExpression(visitor, context) {\n        return visitor.visitConditionalExpr(this, context);\n    }\n}\nclass NotExpr extends Expression {\n    constructor(condition, sourceSpan) {\n        super(BOOL_TYPE, sourceSpan);\n        this.condition = condition;\n    }\n    isEquivalent(e) {\n        return e instanceof NotExpr && this.condition.isEquivalent(e.condition);\n    }\n    isConstant() { return false; }\n    visitExpression(visitor, context) {\n        return visitor.visitNotExpr(this, context);\n    }\n}\nclass AssertNotNull extends Expression {\n    constructor(condition, sourceSpan) {\n        super(condition.type, sourceSpan);\n        this.condition = condition;\n    }\n    isEquivalent(e) {\n        return e instanceof AssertNotNull && this.condition.isEquivalent(e.condition);\n    }\n    isConstant() { return false; }\n    visitExpression(visitor, context) {\n        return visitor.visitAssertNotNullExpr(this, context);\n    }\n}\nclass CastExpr extends Expression {\n    constructor(value, type, sourceSpan) {\n        super(type, sourceSpan);\n        this.value = value;\n    }\n    isEquivalent(e) {\n        return e instanceof CastExpr && this.value.isEquivalent(e.value);\n    }\n    isConstant() { return false; }\n    visitExpression(visitor, context) {\n        return visitor.visitCastExpr(this, context);\n    }\n}\nclass FnParam {\n    constructor(name, type = null) {\n        this.name = name;\n        this.type = type;\n    }\n    isEquivalent(param) { return this.name === param.name; }\n}\nclass FunctionExpr extends Expression {\n    constructor(params, statements, type, sourceSpan, name) {\n        super(type, sourceSpan);\n        this.params = params;\n        this.statements = statements;\n        this.name = name;\n    }\n    isEquivalent(e) {\n        return e instanceof FunctionExpr && areAllEquivalent(this.params, e.params) &&\n            areAllEquivalent(this.statements, e.statements);\n    }\n    isConstant() { return false; }\n    visitExpression(visitor, context) {\n        return visitor.visitFunctionExpr(this, context);\n    }\n    toDeclStmt(name, modifiers = null) {\n        return new DeclareFunctionStmt(name, this.params, this.statements, this.type, modifiers, this.sourceSpan);\n    }\n}\nclass BinaryOperatorExpr extends Expression {\n    constructor(operator, lhs, rhs, type, sourceSpan, parens = true) {\n        super(type || lhs.type, sourceSpan);\n        this.operator = operator;\n        this.rhs = rhs;\n        this.parens = parens;\n        this.lhs = lhs;\n    }\n    isEquivalent(e) {\n        return e instanceof BinaryOperatorExpr && this.operator === e.operator &&\n            this.lhs.isEquivalent(e.lhs) && this.rhs.isEquivalent(e.rhs);\n    }\n    isConstant() { return false; }\n    visitExpression(visitor, context) {\n        return visitor.visitBinaryOperatorExpr(this, context);\n    }\n}\nclass ReadPropExpr extends Expression {\n    constructor(receiver, name, type, sourceSpan) {\n        super(type, sourceSpan);\n        this.receiver = receiver;\n        this.name = name;\n    }\n    isEquivalent(e) {\n        return e instanceof ReadPropExpr && this.receiver.isEquivalent(e.receiver) &&\n            this.name === e.name;\n    }\n    isConstant() { return false; }\n    visitExpression(visitor, context) {\n        return visitor.visitReadPropExpr(this, context);\n    }\n    set(value) {\n        return new WritePropExpr(this.receiver, this.name, value, null, this.sourceSpan);\n    }\n}\nclass ReadKeyExpr extends Expression {\n    constructor(receiver, index, type, sourceSpan) {\n        super(type, sourceSpan);\n        this.receiver = receiver;\n        this.index = index;\n    }\n    isEquivalent(e) {\n        return e instanceof ReadKeyExpr && this.receiver.isEquivalent(e.receiver) &&\n            this.index.isEquivalent(e.index);\n    }\n    isConstant() { return false; }\n    visitExpression(visitor, context) {\n        return visitor.visitReadKeyExpr(this, context);\n    }\n    set(value) {\n        return new WriteKeyExpr(this.receiver, this.index, value, null, this.sourceSpan);\n    }\n}\nclass LiteralArrayExpr extends Expression {\n    constructor(entries, type, sourceSpan) {\n        super(type, sourceSpan);\n        this.entries = entries;\n    }\n    isConstant() { return this.entries.every(e => e.isConstant()); }\n    isEquivalent(e) {\n        return e instanceof LiteralArrayExpr && areAllEquivalent(this.entries, e.entries);\n    }\n    visitExpression(visitor, context) {\n        return visitor.visitLiteralArrayExpr(this, context);\n    }\n}\nclass LiteralMapEntry {\n    constructor(key, value, quoted) {\n        this.key = key;\n        this.value = value;\n        this.quoted = quoted;\n    }\n    isEquivalent(e) {\n        return this.key === e.key && this.value.isEquivalent(e.value);\n    }\n}\nclass LiteralMapExpr extends Expression {\n    constructor(entries, type, sourceSpan) {\n        super(type, sourceSpan);\n        this.entries = entries;\n        this.valueType = null;\n        if (type) {\n            this.valueType = type.valueType;\n        }\n    }\n    isEquivalent(e) {\n        return e instanceof LiteralMapExpr && areAllEquivalent(this.entries, e.entries);\n    }\n    isConstant() { return this.entries.every(e => e.value.isConstant()); }\n    visitExpression(visitor, context) {\n        return visitor.visitLiteralMapExpr(this, context);\n    }\n}\nclass CommaExpr extends Expression {\n    constructor(parts, sourceSpan) {\n        super(parts[parts.length - 1].type, sourceSpan);\n        this.parts = parts;\n    }\n    isEquivalent(e) {\n        return e instanceof CommaExpr && areAllEquivalent(this.parts, e.parts);\n    }\n    isConstant() { return false; }\n    visitExpression(visitor, context) {\n        return visitor.visitCommaExpr(this, context);\n    }\n}\nconst THIS_EXPR = new ReadVarExpr(BuiltinVar.This, null, null);\nconst SUPER_EXPR = new ReadVarExpr(BuiltinVar.Super, null, null);\nconst CATCH_ERROR_VAR = new ReadVarExpr(BuiltinVar.CatchError, null, null);\nconst CATCH_STACK_VAR = new ReadVarExpr(BuiltinVar.CatchStack, null, null);\nconst NULL_EXPR = new LiteralExpr(null, null, null);\nconst TYPED_NULL_EXPR = new LiteralExpr(null, INFERRED_TYPE, null);\n//// Statements\nvar StmtModifier;\n(function (StmtModifier) {\n    StmtModifier[StmtModifier[\"Final\"] = 0] = \"Final\";\n    StmtModifier[StmtModifier[\"Private\"] = 1] = \"Private\";\n    StmtModifier[StmtModifier[\"Exported\"] = 2] = \"Exported\";\n    StmtModifier[StmtModifier[\"Static\"] = 3] = \"Static\";\n})(StmtModifier || (StmtModifier = {}));\nclass Statement {\n    constructor(modifiers, sourceSpan) {\n        this.modifiers = modifiers || [];\n        this.sourceSpan = sourceSpan || null;\n    }\n    hasModifier(modifier) { return this.modifiers.indexOf(modifier) !== -1; }\n}\nclass DeclareVarStmt extends Statement {\n    constructor(name, value, type, modifiers = null, sourceSpan) {\n        super(modifiers, sourceSpan);\n        this.name = name;\n        this.value = value;\n        this.type = type || (value && value.type) || null;\n    }\n    isEquivalent(stmt) {\n        return stmt instanceof DeclareVarStmt && this.name === stmt.name &&\n            (this.value ? !!stmt.value && this.value.isEquivalent(stmt.value) : !stmt.value);\n    }\n    visitStatement(visitor, context) {\n        return visitor.visitDeclareVarStmt(this, context);\n    }\n}\nclass DeclareFunctionStmt extends Statement {\n    constructor(name, params, statements, type, modifiers = null, sourceSpan) {\n        super(modifiers, sourceSpan);\n        this.name = name;\n        this.params = params;\n        this.statements = statements;\n        this.type = type || null;\n    }\n    isEquivalent(stmt) {\n        return stmt instanceof DeclareFunctionStmt && areAllEquivalent(this.params, stmt.params) &&\n            areAllEquivalent(this.statements, stmt.statements);\n    }\n    visitStatement(visitor, context) {\n        return visitor.visitDeclareFunctionStmt(this, context);\n    }\n}\nclass ExpressionStatement extends Statement {\n    constructor(expr, sourceSpan) {\n        super(null, sourceSpan);\n        this.expr = expr;\n    }\n    isEquivalent(stmt) {\n        return stmt instanceof ExpressionStatement && this.expr.isEquivalent(stmt.expr);\n    }\n    visitStatement(visitor, context) {\n        return visitor.visitExpressionStmt(this, context);\n    }\n}\nclass ReturnStatement extends Statement {\n    constructor(value, sourceSpan) {\n        super(null, sourceSpan);\n        this.value = value;\n    }\n    isEquivalent(stmt) {\n        return stmt instanceof ReturnStatement && this.value.isEquivalent(stmt.value);\n    }\n    visitStatement(visitor, context) {\n        return visitor.visitReturnStmt(this, context);\n    }\n}\nclass AbstractClassPart {\n    constructor(type, modifiers) {\n        this.modifiers = modifiers;\n        if (!modifiers) {\n            this.modifiers = [];\n        }\n        this.type = type || null;\n    }\n    hasModifier(modifier) { return this.modifiers.indexOf(modifier) !== -1; }\n}\nclass ClassField extends AbstractClassPart {\n    constructor(name, type, modifiers = null, initializer) {\n        super(type, modifiers);\n        this.name = name;\n        this.initializer = initializer;\n    }\n    isEquivalent(f) { return this.name === f.name; }\n}\nclass ClassMethod extends AbstractClassPart {\n    constructor(name, params, body, type, modifiers = null) {\n        super(type, modifiers);\n        this.name = name;\n        this.params = params;\n        this.body = body;\n    }\n    isEquivalent(m) {\n        return this.name === m.name && areAllEquivalent(this.body, m.body);\n    }\n}\nclass ClassGetter extends AbstractClassPart {\n    constructor(name, body, type, modifiers = null) {\n        super(type, modifiers);\n        this.name = name;\n        this.body = body;\n    }\n    isEquivalent(m) {\n        return this.name === m.name && areAllEquivalent(this.body, m.body);\n    }\n}\nclass ClassStmt extends Statement {\n    constructor(name, parent, fields, getters, constructorMethod, methods, modifiers = null, sourceSpan) {\n        super(modifiers, sourceSpan);\n        this.name = name;\n        this.parent = parent;\n        this.fields = fields;\n        this.getters = getters;\n        this.constructorMethod = constructorMethod;\n        this.methods = methods;\n    }\n    isEquivalent(stmt) {\n        return stmt instanceof ClassStmt && this.name === stmt.name &&\n            nullSafeIsEquivalent(this.parent, stmt.parent) &&\n            areAllEquivalent(this.fields, stmt.fields) &&\n            areAllEquivalent(this.getters, stmt.getters) &&\n            this.constructorMethod.isEquivalent(stmt.constructorMethod) &&\n            areAllEquivalent(this.methods, stmt.methods);\n    }\n    visitStatement(visitor, context) {\n        return visitor.visitDeclareClassStmt(this, context);\n    }\n}\nclass IfStmt extends Statement {\n    constructor(condition, trueCase, falseCase = [], sourceSpan) {\n        super(null, sourceSpan);\n        this.condition = condition;\n        this.trueCase = trueCase;\n        this.falseCase = falseCase;\n    }\n    isEquivalent(stmt) {\n        return stmt instanceof IfStmt && this.condition.isEquivalent(stmt.condition) &&\n            areAllEquivalent(this.trueCase, stmt.trueCase) &&\n            areAllEquivalent(this.falseCase, stmt.falseCase);\n    }\n    visitStatement(visitor, context) {\n        return visitor.visitIfStmt(this, context);\n    }\n}\nclass CommentStmt extends Statement {\n    constructor(comment, multiline = false, sourceSpan) {\n        super(null, sourceSpan);\n        this.comment = comment;\n        this.multiline = multiline;\n    }\n    isEquivalent(stmt) { return stmt instanceof CommentStmt; }\n    visitStatement(visitor, context) {\n        return visitor.visitCommentStmt(this, context);\n    }\n}\nclass JSDocCommentStmt extends Statement {\n    constructor(tags = [], sourceSpan) {\n        super(null, sourceSpan);\n        this.tags = tags;\n    }\n    isEquivalent(stmt) {\n        return stmt instanceof JSDocCommentStmt && this.toString() === stmt.toString();\n    }\n    visitStatement(visitor, context) {\n        return visitor.visitJSDocCommentStmt(this, context);\n    }\n    toString() { return serializeTags(this.tags); }\n}\nclass TryCatchStmt extends Statement {\n    constructor(bodyStmts, catchStmts, sourceSpan) {\n        super(null, sourceSpan);\n        this.bodyStmts = bodyStmts;\n        this.catchStmts = catchStmts;\n    }\n    isEquivalent(stmt) {\n        return stmt instanceof TryCatchStmt && areAllEquivalent(this.bodyStmts, stmt.bodyStmts) &&\n            areAllEquivalent(this.catchStmts, stmt.catchStmts);\n    }\n    visitStatement(visitor, context) {\n        return visitor.visitTryCatchStmt(this, context);\n    }\n}\nclass ThrowStmt extends Statement {\n    constructor(error, sourceSpan) {\n        super(null, sourceSpan);\n        this.error = error;\n    }\n    isEquivalent(stmt) {\n        return stmt instanceof TryCatchStmt && this.error.isEquivalent(stmt.error);\n    }\n    visitStatement(visitor, context) {\n        return visitor.visitThrowStmt(this, context);\n    }\n}\nclass AstTransformer {\n    transformExpr(expr, context) { return expr; }\n    transformStmt(stmt, context) { return stmt; }\n    visitReadVarExpr(ast, context) { return this.transformExpr(ast, context); }\n    visitWrappedNodeExpr(ast, context) {\n        return this.transformExpr(ast, context);\n    }\n    visitTypeofExpr(expr, context) {\n        return this.transformExpr(new TypeofExpr(expr.expr.visitExpression(this, context), expr.type, expr.sourceSpan), context);\n    }\n    visitWriteVarExpr(expr, context) {\n        return this.transformExpr(new WriteVarExpr(expr.name, expr.value.visitExpression(this, context), expr.type, expr.sourceSpan), context);\n    }\n    visitWriteKeyExpr(expr, context) {\n        return this.transformExpr(new WriteKeyExpr(expr.receiver.visitExpression(this, context), expr.index.visitExpression(this, context), expr.value.visitExpression(this, context), expr.type, expr.sourceSpan), context);\n    }\n    visitWritePropExpr(expr, context) {\n        return this.transformExpr(new WritePropExpr(expr.receiver.visitExpression(this, context), expr.name, expr.value.visitExpression(this, context), expr.type, expr.sourceSpan), context);\n    }\n    visitInvokeMethodExpr(ast, context) {\n        const method = ast.builtin || ast.name;\n        return this.transformExpr(new InvokeMethodExpr(ast.receiver.visitExpression(this, context), method, this.visitAllExpressions(ast.args, context), ast.type, ast.sourceSpan), context);\n    }\n    visitInvokeFunctionExpr(ast, context) {\n        return this.transformExpr(new InvokeFunctionExpr(ast.fn.visitExpression(this, context), this.visitAllExpressions(ast.args, context), ast.type, ast.sourceSpan), context);\n    }\n    visitInstantiateExpr(ast, context) {\n        return this.transformExpr(new InstantiateExpr(ast.classExpr.visitExpression(this, context), this.visitAllExpressions(ast.args, context), ast.type, ast.sourceSpan), context);\n    }\n    visitLiteralExpr(ast, context) { return this.transformExpr(ast, context); }\n    visitExternalExpr(ast, context) {\n        return this.transformExpr(ast, context);\n    }\n    visitConditionalExpr(ast, context) {\n        return this.transformExpr(new ConditionalExpr(ast.condition.visitExpression(this, context), ast.trueCase.visitExpression(this, context), ast.falseCase.visitExpression(this, context), ast.type, ast.sourceSpan), context);\n    }\n    visitNotExpr(ast, context) {\n        return this.transformExpr(new NotExpr(ast.condition.visitExpression(this, context), ast.sourceSpan), context);\n    }\n    visitAssertNotNullExpr(ast, context) {\n        return this.transformExpr(new AssertNotNull(ast.condition.visitExpression(this, context), ast.sourceSpan), context);\n    }\n    visitCastExpr(ast, context) {\n        return this.transformExpr(new CastExpr(ast.value.visitExpression(this, context), ast.type, ast.sourceSpan), context);\n    }\n    visitFunctionExpr(ast, context) {\n        return this.transformExpr(new FunctionExpr(ast.params, this.visitAllStatements(ast.statements, context), ast.type, ast.sourceSpan), context);\n    }\n    visitBinaryOperatorExpr(ast, context) {\n        return this.transformExpr(new BinaryOperatorExpr(ast.operator, ast.lhs.visitExpression(this, context), ast.rhs.visitExpression(this, context), ast.type, ast.sourceSpan), context);\n    }\n    visitReadPropExpr(ast, context) {\n        return this.transformExpr(new ReadPropExpr(ast.receiver.visitExpression(this, context), ast.name, ast.type, ast.sourceSpan), context);\n    }\n    visitReadKeyExpr(ast, context) {\n        return this.transformExpr(new ReadKeyExpr(ast.receiver.visitExpression(this, context), ast.index.visitExpression(this, context), ast.type, ast.sourceSpan), context);\n    }\n    visitLiteralArrayExpr(ast, context) {\n        return this.transformExpr(new LiteralArrayExpr(this.visitAllExpressions(ast.entries, context), ast.type, ast.sourceSpan), context);\n    }\n    visitLiteralMapExpr(ast, context) {\n        const entries = ast.entries.map((entry) => new LiteralMapEntry(entry.key, entry.value.visitExpression(this, context), entry.quoted));\n        const mapType = new MapType(ast.valueType, null);\n        return this.transformExpr(new LiteralMapExpr(entries, mapType, ast.sourceSpan), context);\n    }\n    visitCommaExpr(ast, context) {\n        return this.transformExpr(new CommaExpr(this.visitAllExpressions(ast.parts, context), ast.sourceSpan), context);\n    }\n    visitAllExpressions(exprs, context) {\n        return exprs.map(expr => expr.visitExpression(this, context));\n    }\n    visitDeclareVarStmt(stmt, context) {\n        const value = stmt.value && stmt.value.visitExpression(this, context);\n        return this.transformStmt(new DeclareVarStmt(stmt.name, value, stmt.type, stmt.modifiers, stmt.sourceSpan), context);\n    }\n    visitDeclareFunctionStmt(stmt, context) {\n        return this.transformStmt(new DeclareFunctionStmt(stmt.name, stmt.params, this.visitAllStatements(stmt.statements, context), stmt.type, stmt.modifiers, stmt.sourceSpan), context);\n    }\n    visitExpressionStmt(stmt, context) {\n        return this.transformStmt(new ExpressionStatement(stmt.expr.visitExpression(this, context), stmt.sourceSpan), context);\n    }\n    visitReturnStmt(stmt, context) {\n        return this.transformStmt(new ReturnStatement(stmt.value.visitExpression(this, context), stmt.sourceSpan), context);\n    }\n    visitDeclareClassStmt(stmt, context) {\n        const parent = stmt.parent.visitExpression(this, context);\n        const getters = stmt.getters.map(getter => new ClassGetter(getter.name, this.visitAllStatements(getter.body, context), getter.type, getter.modifiers));\n        const ctorMethod = stmt.constructorMethod &&\n            new ClassMethod(stmt.constructorMethod.name, stmt.constructorMethod.params, this.visitAllStatements(stmt.constructorMethod.body, context), stmt.constructorMethod.type, stmt.constructorMethod.modifiers);\n        const methods = stmt.methods.map(method => new ClassMethod(method.name, method.params, this.visitAllStatements(method.body, context), method.type, method.modifiers));\n        return this.transformStmt(new ClassStmt(stmt.name, parent, stmt.fields, getters, ctorMethod, methods, stmt.modifiers, stmt.sourceSpan), context);\n    }\n    visitIfStmt(stmt, context) {\n        return this.transformStmt(new IfStmt(stmt.condition.visitExpression(this, context), this.visitAllStatements(stmt.trueCase, context), this.visitAllStatements(stmt.falseCase, context), stmt.sourceSpan), context);\n    }\n    visitTryCatchStmt(stmt, context) {\n        return this.transformStmt(new TryCatchStmt(this.visitAllStatements(stmt.bodyStmts, context), this.visitAllStatements(stmt.catchStmts, context), stmt.sourceSpan), context);\n    }\n    visitThrowStmt(stmt, context) {\n        return this.transformStmt(new ThrowStmt(stmt.error.visitExpression(this, context), stmt.sourceSpan), context);\n    }\n    visitCommentStmt(stmt, context) {\n        return this.transformStmt(stmt, context);\n    }\n    visitJSDocCommentStmt(stmt, context) {\n        return this.transformStmt(stmt, context);\n    }\n    visitAllStatements(stmts, context) {\n        return stmts.map(stmt => stmt.visitStatement(this, context));\n    }\n}\nclass RecursiveAstVisitor {\n    visitType(ast, context) { return ast; }\n    visitExpression(ast, context) {\n        if (ast.type) {\n            ast.type.visitType(this, context);\n        }\n        return ast;\n    }\n    visitBuiltinType(type, context) { return this.visitType(type, context); }\n    visitExpressionType(type, context) {\n        type.value.visitExpression(this, context);\n        if (type.typeParams !== null) {\n            type.typeParams.forEach(param => this.visitType(param, context));\n        }\n        return this.visitType(type, context);\n    }\n    visitArrayType(type, context) { return this.visitType(type, context); }\n    visitMapType(type, context) { return this.visitType(type, context); }\n    visitWrappedNodeExpr(ast, context) { return ast; }\n    visitTypeofExpr(ast, context) { return this.visitExpression(ast, context); }\n    visitReadVarExpr(ast, context) {\n        return this.visitExpression(ast, context);\n    }\n    visitWriteVarExpr(ast, context) {\n        ast.value.visitExpression(this, context);\n        return this.visitExpression(ast, context);\n    }\n    visitWriteKeyExpr(ast, context) {\n        ast.receiver.visitExpression(this, context);\n        ast.index.visitExpression(this, context);\n        ast.value.visitExpression(this, context);\n        return this.visitExpression(ast, context);\n    }\n    visitWritePropExpr(ast, context) {\n        ast.receiver.visitExpression(this, context);\n        ast.value.visitExpression(this, context);\n        return this.visitExpression(ast, context);\n    }\n    visitInvokeMethodExpr(ast, context) {\n        ast.receiver.visitExpression(this, context);\n        this.visitAllExpressions(ast.args, context);\n        return this.visitExpression(ast, context);\n    }\n    visitInvokeFunctionExpr(ast, context) {\n        ast.fn.visitExpression(this, context);\n        this.visitAllExpressions(ast.args, context);\n        return this.visitExpression(ast, context);\n    }\n    visitInstantiateExpr(ast, context) {\n        ast.classExpr.visitExpression(this, context);\n        this.visitAllExpressions(ast.args, context);\n        return this.visitExpression(ast, context);\n    }\n    visitLiteralExpr(ast, context) {\n        return this.visitExpression(ast, context);\n    }\n    visitExternalExpr(ast, context) {\n        if (ast.typeParams) {\n            ast.typeParams.forEach(type => type.visitType(this, context));\n        }\n        return this.visitExpression(ast, context);\n    }\n    visitConditionalExpr(ast, context) {\n        ast.condition.visitExpression(this, context);\n        ast.trueCase.visitExpression(this, context);\n        ast.falseCase.visitExpression(this, context);\n        return this.visitExpression(ast, context);\n    }\n    visitNotExpr(ast, context) {\n        ast.condition.visitExpression(this, context);\n        return this.visitExpression(ast, context);\n    }\n    visitAssertNotNullExpr(ast, context) {\n        ast.condition.visitExpression(this, context);\n        return this.visitExpression(ast, context);\n    }\n    visitCastExpr(ast, context) {\n        ast.value.visitExpression(this, context);\n        return this.visitExpression(ast, context);\n    }\n    visitFunctionExpr(ast, context) {\n        this.visitAllStatements(ast.statements, context);\n        return this.visitExpression(ast, context);\n    }\n    visitBinaryOperatorExpr(ast, context) {\n        ast.lhs.visitExpression(this, context);\n        ast.rhs.visitExpression(this, context);\n        return this.visitExpression(ast, context);\n    }\n    visitReadPropExpr(ast, context) {\n        ast.receiver.visitExpression(this, context);\n        return this.visitExpression(ast, context);\n    }\n    visitReadKeyExpr(ast, context) {\n        ast.receiver.visitExpression(this, context);\n        ast.index.visitExpression(this, context);\n        return this.visitExpression(ast, context);\n    }\n    visitLiteralArrayExpr(ast, context) {\n        this.visitAllExpressions(ast.entries, context);\n        return this.visitExpression(ast, context);\n    }\n    visitLiteralMapExpr(ast, context) {\n        ast.entries.forEach((entry) => entry.value.visitExpression(this, context));\n        return this.visitExpression(ast, context);\n    }\n    visitCommaExpr(ast, context) {\n        this.visitAllExpressions(ast.parts, context);\n        return this.visitExpression(ast, context);\n    }\n    visitAllExpressions(exprs, context) {\n        exprs.forEach(expr => expr.visitExpression(this, context));\n    }\n    visitDeclareVarStmt(stmt, context) {\n        if (stmt.value) {\n            stmt.value.visitExpression(this, context);\n        }\n        if (stmt.type) {\n            stmt.type.visitType(this, context);\n        }\n        return stmt;\n    }\n    visitDeclareFunctionStmt(stmt, context) {\n        this.visitAllStatements(stmt.statements, context);\n        if (stmt.type) {\n            stmt.type.visitType(this, context);\n        }\n        return stmt;\n    }\n    visitExpressionStmt(stmt, context) {\n        stmt.expr.visitExpression(this, context);\n        return stmt;\n    }\n    visitReturnStmt(stmt, context) {\n        stmt.value.visitExpression(this, context);\n        return stmt;\n    }\n    visitDeclareClassStmt(stmt, context) {\n        stmt.parent.visitExpression(this, context);\n        stmt.getters.forEach(getter => this.visitAllStatements(getter.body, context));\n        if (stmt.constructorMethod) {\n            this.visitAllStatements(stmt.constructorMethod.body, context);\n        }\n        stmt.methods.forEach(method => this.visitAllStatements(method.body, context));\n        return stmt;\n    }\n    visitIfStmt(stmt, context) {\n        stmt.condition.visitExpression(this, context);\n        this.visitAllStatements(stmt.trueCase, context);\n        this.visitAllStatements(stmt.falseCase, context);\n        return stmt;\n    }\n    visitTryCatchStmt(stmt, context) {\n        this.visitAllStatements(stmt.bodyStmts, context);\n        this.visitAllStatements(stmt.catchStmts, context);\n        return stmt;\n    }\n    visitThrowStmt(stmt, context) {\n        stmt.error.visitExpression(this, context);\n        return stmt;\n    }\n    visitCommentStmt(stmt, context) { return stmt; }\n    visitJSDocCommentStmt(stmt, context) { return stmt; }\n    visitAllStatements(stmts, context) {\n        stmts.forEach(stmt => stmt.visitStatement(this, context));\n    }\n}\nfunction findReadVarNames(stmts) {\n    const visitor = new _ReadVarVisitor();\n    visitor.visitAllStatements(stmts, null);\n    return visitor.varNames;\n}\nclass _ReadVarVisitor extends RecursiveAstVisitor {\n    constructor() {\n        super(...arguments);\n        this.varNames = new Set();\n    }\n    visitDeclareFunctionStmt(stmt, context) {\n        // Don't descend into nested functions\n        return stmt;\n    }\n    visitDeclareClassStmt(stmt, context) {\n        // Don't descend into nested classes\n        return stmt;\n    }\n    visitReadVarExpr(ast, context) {\n        if (ast.name) {\n            this.varNames.add(ast.name);\n        }\n        return null;\n    }\n}\nfunction collectExternalReferences(stmts) {\n    const visitor = new _FindExternalReferencesVisitor();\n    visitor.visitAllStatements(stmts, null);\n    return visitor.externalReferences;\n}\nclass _FindExternalReferencesVisitor extends RecursiveAstVisitor {\n    constructor() {\n        super(...arguments);\n        this.externalReferences = [];\n    }\n    visitExternalExpr(e, context) {\n        this.externalReferences.push(e.value);\n        return super.visitExternalExpr(e, context);\n    }\n}\nfunction applySourceSpanToStatementIfNeeded(stmt, sourceSpan) {\n    if (!sourceSpan) {\n        return stmt;\n    }\n    const transformer = new _ApplySourceSpanTransformer(sourceSpan);\n    return stmt.visitStatement(transformer, null);\n}\nfunction applySourceSpanToExpressionIfNeeded(expr, sourceSpan) {\n    if (!sourceSpan) {\n        return expr;\n    }\n    const transformer = new _ApplySourceSpanTransformer(sourceSpan);\n    return expr.visitExpression(transformer, null);\n}\nclass _ApplySourceSpanTransformer extends AstTransformer {\n    constructor(sourceSpan) {\n        super();\n        this.sourceSpan = sourceSpan;\n    }\n    _clone(obj) {\n        const clone = Object.create(obj.constructor.prototype);\n        for (let prop of Object.keys(obj)) {\n            clone[prop] = obj[prop];\n        }\n        return clone;\n    }\n    transformExpr(expr, context) {\n        if (!expr.sourceSpan) {\n            expr = this._clone(expr);\n            expr.sourceSpan = this.sourceSpan;\n        }\n        return expr;\n    }\n    transformStmt(stmt, context) {\n        if (!stmt.sourceSpan) {\n            stmt = this._clone(stmt);\n            stmt.sourceSpan = this.sourceSpan;\n        }\n        return stmt;\n    }\n}\nfunction variable(name, type, sourceSpan) {\n    return new ReadVarExpr(name, type, sourceSpan);\n}\nfunction importExpr(id, typeParams = null, sourceSpan) {\n    return new ExternalExpr(id, null, typeParams, sourceSpan);\n}\nfunction importType(id, typeParams = null, typeModifiers = null) {\n    return id != null ? expressionType(importExpr(id, typeParams, null), typeModifiers) : null;\n}\nfunction expressionType(expr, typeModifiers = null, typeParams = null) {\n    return new ExpressionType(expr, typeModifiers, typeParams);\n}\nfunction typeofExpr(expr) {\n    return new TypeofExpr(expr);\n}\nfunction literalArr(values, type, sourceSpan) {\n    return new LiteralArrayExpr(values, type, sourceSpan);\n}\nfunction literalMap(values, type = null) {\n    return new LiteralMapExpr(values.map(e => new LiteralMapEntry(e.key, e.value, e.quoted)), type, null);\n}\nfunction not(expr, sourceSpan) {\n    return new NotExpr(expr, sourceSpan);\n}\nfunction assertNotNull(expr, sourceSpan) {\n    return new AssertNotNull(expr, sourceSpan);\n}\nfunction fn(params, body, type, sourceSpan, name) {\n    return new FunctionExpr(params, body, type, sourceSpan, name);\n}\nfunction ifStmt(condition, thenClause, elseClause) {\n    return new IfStmt(condition, thenClause, elseClause);\n}\nfunction literal(value, type, sourceSpan) {\n    return new LiteralExpr(value, type, sourceSpan);\n}\nfunction isNull(exp) {\n    return exp instanceof LiteralExpr && exp.value === null;\n}\n/*\n * Serializes a `Tag` into a string.\n * Returns a string like \" @foo {bar} baz\" (note the leading whitespace before `@foo`).\n */\nfunction tagToString(tag) {\n    let out = '';\n    if (tag.tagName) {\n        out += ` @${tag.tagName}`;\n    }\n    if (tag.text) {\n        if (tag.text.match(/\\/\\*|\\*\\//)) {\n            throw new Error('JSDoc text cannot contain \"/*\" and \"*/\"');\n        }\n        out += ' ' + tag.text.replace(/@/g, '\\\\@');\n    }\n    return out;\n}\nfunction serializeTags(tags) {\n    if (tags.length === 0)\n        return '';\n    let out = '*\\n';\n    for (const tag of tags) {\n        out += ' *';\n        // If the tagToString is multi-line, insert \" * \" prefixes on subsequent lines.\n        out += tagToString(tag).replace(/\\n/g, '\\n * ');\n        out += '\\n';\n    }\n    out += ' ';\n    return out;\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst DASH_CASE_REGEXP = /-+([a-z0-9])/g;\nfunction dashCaseToCamelCase(input) {\n    return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());\n}\nfunction splitAtColon(input, defaultValues) {\n    return _splitAt(input, ':', defaultValues);\n}\nfunction splitAtPeriod(input, defaultValues) {\n    return _splitAt(input, '.', defaultValues);\n}\nfunction _splitAt(input, character, defaultValues) {\n    const characterIndex = input.indexOf(character);\n    if (characterIndex == -1)\n        return defaultValues;\n    return [input.slice(0, characterIndex).trim(), input.slice(characterIndex + 1).trim()];\n}\nfunction visitValue(value, visitor, context) {\n    if (Array.isArray(value)) {\n        return visitor.visitArray(value, context);\n    }\n    if (isStrictStringMap(value)) {\n        return visitor.visitStringMap(value, context);\n    }\n    if (value == null || typeof value == 'string' || typeof value == 'number' ||\n        typeof value == 'boolean') {\n        return visitor.visitPrimitive(value, context);\n    }\n    return visitor.visitOther(value, context);\n}\nfunction isDefined(val) {\n    return val !== null && val !== undefined;\n}\nfunction noUndefined(val) {\n    return val === undefined ? null : val;\n}\nclass ValueTransformer {\n    visitArray(arr, context) {\n        return arr.map(value => visitValue(value, this, context));\n    }\n    visitStringMap(map, context) {\n        const result = {};\n        Object.keys(map).forEach(key => { result[key] = visitValue(map[key], this, context); });\n        return result;\n    }\n    visitPrimitive(value, context) { return value; }\n    visitOther(value, context) { return value; }\n}\nconst SyncAsync = {\n    assertSync: (value) => {\n        if (isPromise(value)) {\n            throw new Error(`Illegal state: value cannot be a promise`);\n        }\n        return value;\n    },\n    then: (value, cb) => { return isPromise(value) ? value.then(cb) : cb(value); },\n    all: (syncAsyncValues) => {\n        return syncAsyncValues.some(isPromise) ? Promise.all(syncAsyncValues) : syncAsyncValues;\n    }\n};\nfunction error(msg) {\n    throw new Error(`Internal Error: ${msg}`);\n}\nfunction syntaxError(msg, parseErrors) {\n    const error = Error(msg);\n    error[ERROR_SYNTAX_ERROR] = true;\n    if (parseErrors)\n        error[ERROR_PARSE_ERRORS] = parseErrors;\n    return error;\n}\nconst ERROR_SYNTAX_ERROR = 'ngSyntaxError';\nconst ERROR_PARSE_ERRORS = 'ngParseErrors';\nfunction isSyntaxError(error) {\n    return error[ERROR_SYNTAX_ERROR];\n}\nfunction getParseErrors(error) {\n    return error[ERROR_PARSE_ERRORS] || [];\n}\n// Escape characters that have a special meaning in Regular Expressions\nfunction escapeRegExp(s) {\n    return s.replace(/([.*+?^=!:${}()|[\\]\\/\\\\])/g, '\\\\$1');\n}\nconst STRING_MAP_PROTO = Object.getPrototypeOf({});\nfunction isStrictStringMap(obj) {\n    return typeof obj === 'object' && obj !== null && Object.getPrototypeOf(obj) === STRING_MAP_PROTO;\n}\nfunction utf8Encode(str) {\n    let encoded = '';\n    for (let index = 0; index < str.length; index++) {\n        let codePoint = str.charCodeAt(index);\n        // decode surrogate\n        // see https://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae\n        if (codePoint >= 0xd800 && codePoint <= 0xdbff && str.length > (index + 1)) {\n            const low = str.charCodeAt(index + 1);\n            if (low >= 0xdc00 && low <= 0xdfff) {\n                index++;\n                codePoint = ((codePoint - 0xd800) << 10) + low - 0xdc00 + 0x10000;\n            }\n        }\n        if (codePoint <= 0x7f) {\n            encoded += String.fromCharCode(codePoint);\n        }\n        else if (codePoint <= 0x7ff) {\n            encoded += String.fromCharCode(((codePoint >> 6) & 0x1F) | 0xc0, (codePoint & 0x3f) | 0x80);\n        }\n        else if (codePoint <= 0xffff) {\n            encoded += String.fromCharCode((codePoint >> 12) | 0xe0, ((codePoint >> 6) & 0x3f) | 0x80, (codePoint & 0x3f) | 0x80);\n        }\n        else if (codePoint <= 0x1fffff) {\n            encoded += String.fromCharCode(((codePoint >> 18) & 0x07) | 0xf0, ((codePoint >> 12) & 0x3f) | 0x80, ((codePoint >> 6) & 0x3f) | 0x80, (codePoint & 0x3f) | 0x80);\n        }\n    }\n    return encoded;\n}\nfunction stringify(token) {\n    if (typeof token === 'string') {\n        return token;\n    }\n    if (token instanceof Array) {\n        return '[' + token.map(stringify).join(', ') + ']';\n    }\n    if (token == null) {\n        return '' + token;\n    }\n    if (token.overriddenName) {\n        return `${token.overriddenName}`;\n    }\n    if (token.name) {\n        return `${token.name}`;\n    }\n    if (!token.toString) {\n        return 'object';\n    }\n    // WARNING: do not try to `JSON.stringify(token)` here\n    // see https://github.com/angular/angular/issues/23440\n    const res = token.toString();\n    if (res == null) {\n        return '' + res;\n    }\n    const newLineIndex = res.indexOf('\\n');\n    return newLineIndex === -1 ? res : res.substring(0, newLineIndex);\n}\n/**\n * Lazily retrieves the reference value from a forwardRef.\n */\nfunction resolveForwardRef(type) {\n    if (typeof type === 'function' && type.hasOwnProperty('__forward_ref__')) {\n        return type();\n    }\n    else {\n        return type;\n    }\n}\n/**\n * Determine if the argument is shaped like a Promise\n */\nfunction isPromise(obj) {\n    // allow any Promise/A+ compliant thenable.\n    // It's up to the caller to ensure that obj.then conforms to the spec\n    return !!obj && typeof obj.then === 'function';\n}\nclass Version {\n    constructor(full) {\n        this.full = full;\n        const splits = full.split('.');\n        this.major = splits[0];\n        this.minor = splits[1];\n        this.patch = splits.slice(2).join('.');\n    }\n}\nconst __window = typeof window !== 'undefined' && window;\nconst __self = typeof self !== 'undefined' && typeof WorkerGlobalScope !== 'undefined' &&\n    self instanceof WorkerGlobalScope && self;\nconst __global = typeof global !== 'undefined' && global;\n// Check __global first, because in Node tests both __global and __window may be defined and _global\n// should be __global in that case.\nconst _global = __global || __window || __self;\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst CONSTANT_PREFIX = '_c';\n/**\n * Context to use when producing a key.\n *\n * This ensures we see the constant not the reference variable when producing\n * a key.\n */\nconst KEY_CONTEXT = {};\n/**\n * A node that is a place-holder that allows the node to be replaced when the actual\n * node is known.\n *\n * This allows the constant pool to change an expression from a direct reference to\n * a constant to a shared constant. It returns a fix-up node that is later allowed to\n * change the referenced expression.\n */\nclass FixupExpression extends Expression {\n    constructor(resolved) {\n        super(resolved.type);\n        this.resolved = resolved;\n        this.original = resolved;\n    }\n    visitExpression(visitor, context) {\n        if (context === KEY_CONTEXT) {\n            // When producing a key we want to traverse the constant not the\n            // variable used to refer to it.\n            return this.original.visitExpression(visitor, context);\n        }\n        else {\n            return this.resolved.visitExpression(visitor, context);\n        }\n    }\n    isEquivalent(e) {\n        return e instanceof FixupExpression && this.resolved.isEquivalent(e.resolved);\n    }\n    isConstant() { return true; }\n    fixup(expression) {\n        this.resolved = expression;\n        this.shared = true;\n    }\n}\n/**\n * A constant pool allows a code emitter to share constant in an output context.\n *\n * The constant pool also supports sharing access to ivy definitions references.\n */\nclass ConstantPool {\n    constructor() {\n        this.statements = [];\n        this.literals = new Map();\n        this.literalFactories = new Map();\n        this.injectorDefinitions = new Map();\n        this.directiveDefinitions = new Map();\n        this.componentDefinitions = new Map();\n        this.pipeDefinitions = new Map();\n        this.nextNameIndex = 0;\n    }\n    getConstLiteral(literal, forceShared) {\n        if (literal instanceof LiteralExpr || literal instanceof FixupExpression) {\n            // Do no put simple literals into the constant pool or try to produce a constant for a\n            // reference to a constant.\n            return literal;\n        }\n        const key = this.keyOf(literal);\n        let fixup = this.literals.get(key);\n        let newValue = false;\n        if (!fixup) {\n            fixup = new FixupExpression(literal);\n            this.literals.set(key, fixup);\n            newValue = true;\n        }\n        if ((!newValue && !fixup.shared) || (newValue && forceShared)) {\n            // Replace the expression with a variable\n            const name = this.freshName();\n            this.statements.push(variable(name).set(literal).toDeclStmt(INFERRED_TYPE, [StmtModifier.Final]));\n            fixup.fixup(variable(name));\n        }\n        return fixup;\n    }\n    getDefinition(type, kind, ctx, forceShared = false) {\n        const definitions = this.definitionsOf(kind);\n        let fixup = definitions.get(type);\n        let newValue = false;\n        if (!fixup) {\n            const property = this.propertyNameOf(kind);\n            fixup = new FixupExpression(ctx.importExpr(type).prop(property));\n            definitions.set(type, fixup);\n            newValue = true;\n        }\n        if ((!newValue && !fixup.shared) || (newValue && forceShared)) {\n            const name = this.freshName();\n            this.statements.push(variable(name).set(fixup.resolved).toDeclStmt(INFERRED_TYPE, [StmtModifier.Final]));\n            fixup.fixup(variable(name));\n        }\n        return fixup;\n    }\n    getLiteralFactory(literal$1) {\n        // Create a pure function that builds an array of a mix of constant  and variable expressions\n        if (literal$1 instanceof LiteralArrayExpr) {\n            const argumentsForKey = literal$1.entries.map(e => e.isConstant() ? e : literal(null));\n            const key = this.keyOf(literalArr(argumentsForKey));\n            return this._getLiteralFactory(key, literal$1.entries, entries => literalArr(entries));\n        }\n        else {\n            const expressionForKey = literalMap(literal$1.entries.map(e => ({\n                key: e.key,\n                value: e.value.isConstant() ? e.value : literal(null),\n                quoted: e.quoted\n            })));\n            const key = this.keyOf(expressionForKey);\n            return this._getLiteralFactory(key, literal$1.entries.map(e => e.value), entries => literalMap(entries.map((value, index) => ({\n                key: literal$1.entries[index].key,\n                value,\n                quoted: literal$1.entries[index].quoted\n            }))));\n        }\n    }\n    _getLiteralFactory(key, values, resultMap) {\n        let literalFactory = this.literalFactories.get(key);\n        const literalFactoryArguments = values.filter((e => !e.isConstant()));\n        if (!literalFactory) {\n            const resultExpressions = values.map((e, index) => e.isConstant() ? this.getConstLiteral(e, true) : variable(`a${index}`));\n            const parameters = resultExpressions.filter(isVariable).map(e => new FnParam(e.name, DYNAMIC_TYPE));\n            const pureFunctionDeclaration = fn(parameters, [new ReturnStatement(resultMap(resultExpressions))], INFERRED_TYPE);\n            const name = this.freshName();\n            this.statements.push(variable(name).set(pureFunctionDeclaration).toDeclStmt(INFERRED_TYPE, [\n                StmtModifier.Final\n            ]));\n            literalFactory = variable(name);\n            this.literalFactories.set(key, literalFactory);\n        }\n        return { literalFactory, literalFactoryArguments };\n    }\n    /**\n     * Produce a unique name.\n     *\n     * The name might be unique among different prefixes if any of the prefixes end in\n     * a digit so the prefix should be a constant string (not based on user input) and\n     * must not end in a digit.\n     */\n    uniqueName(prefix) { return `${prefix}${this.nextNameIndex++}`; }\n    definitionsOf(kind) {\n        switch (kind) {\n            case 2 /* Component */:\n                return this.componentDefinitions;\n            case 1 /* Directive */:\n                return this.directiveDefinitions;\n            case 0 /* Injector */:\n                return this.injectorDefinitions;\n            case 3 /* Pipe */:\n                return this.pipeDefinitions;\n        }\n        error(`Unknown definition kind ${kind}`);\n        return this.componentDefinitions;\n    }\n    propertyNameOf(kind) {\n        switch (kind) {\n            case 2 /* Component */:\n                return 'ngComponentDef';\n            case 1 /* Directive */:\n                return 'ngDirectiveDef';\n            case 0 /* Injector */:\n                return 'ngInjectorDef';\n            case 3 /* Pipe */:\n                return 'ngPipeDef';\n        }\n        error(`Unknown definition kind ${kind}`);\n        return '<unknown>';\n    }\n    freshName() { return this.uniqueName(CONSTANT_PREFIX); }\n    keyOf(expression) {\n        return expression.visitExpression(new KeyVisitor(), KEY_CONTEXT);\n    }\n}\n/**\n * Visitor used to determine if 2 expressions are equivalent and can be shared in the\n * `ConstantPool`.\n *\n * When the id (string) generated by the visitor is equal, expressions are considered equivalent.\n */\nclass KeyVisitor {\n    constructor() {\n        this.visitWrappedNodeExpr = invalid;\n        this.visitWriteVarExpr = invalid;\n        this.visitWriteKeyExpr = invalid;\n        this.visitWritePropExpr = invalid;\n        this.visitInvokeMethodExpr = invalid;\n        this.visitInvokeFunctionExpr = invalid;\n        this.visitInstantiateExpr = invalid;\n        this.visitConditionalExpr = invalid;\n        this.visitNotExpr = invalid;\n        this.visitAssertNotNullExpr = invalid;\n        this.visitCastExpr = invalid;\n        this.visitFunctionExpr = invalid;\n        this.visitBinaryOperatorExpr = invalid;\n        this.visitReadPropExpr = invalid;\n        this.visitReadKeyExpr = invalid;\n        this.visitCommaExpr = invalid;\n    }\n    visitLiteralExpr(ast) {\n        return `${typeof ast.value === 'string' ? '\"' + ast.value + '\"' : ast.value}`;\n    }\n    visitLiteralArrayExpr(ast, context) {\n        return `[${ast.entries.map(entry => entry.visitExpression(this, context)).join(',')}]`;\n    }\n    visitLiteralMapExpr(ast, context) {\n        const mapKey = (entry) => {\n            const quote = entry.quoted ? '\"' : '';\n            return `${quote}${entry.key}${quote}`;\n        };\n        const mapEntry = (entry) => `${mapKey(entry)}:${entry.value.visitExpression(this, context)}`;\n        return `{${ast.entries.map(mapEntry).join(',')}`;\n    }\n    visitExternalExpr(ast) {\n        return ast.value.moduleName ? `EX:${ast.value.moduleName}:${ast.value.name}` :\n            `EX:${ast.value.runtime.name}`;\n    }\n    visitReadVarExpr(node) { return `VAR:${node.name}`; }\n    visitTypeofExpr(node, context) {\n        return `TYPEOF:${node.expr.visitExpression(this, context)}`;\n    }\n}\nfunction invalid(arg) {\n    throw new Error(`Invalid state: Visitor ${this.constructor.name} doesn't handle ${arg.constructor.name}`);\n}\nfunction isVariable(e) {\n    return e instanceof ReadVarExpr;\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst CORE = '@angular/core';\nclass Identifiers {\n}\nIdentifiers.ANALYZE_FOR_ENTRY_COMPONENTS = {\n    name: 'ANALYZE_FOR_ENTRY_COMPONENTS',\n    moduleName: CORE,\n};\nIdentifiers.ElementRef = { name: 'ElementRef', moduleName: CORE };\nIdentifiers.NgModuleRef = { name: 'NgModuleRef', moduleName: CORE };\nIdentifiers.ViewContainerRef = { name: 'ViewContainerRef', moduleName: CORE };\nIdentifiers.ChangeDetectorRef = {\n    name: 'ChangeDetectorRef',\n    moduleName: CORE,\n};\nIdentifiers.QueryList = { name: 'QueryList', moduleName: CORE };\nIdentifiers.TemplateRef = { name: 'TemplateRef', moduleName: CORE };\nIdentifiers.Renderer2 = { name: 'Renderer2', moduleName: CORE };\nIdentifiers.CodegenComponentFactoryResolver = {\n    name: 'ɵCodegenComponentFactoryResolver',\n    moduleName: CORE,\n};\nIdentifiers.ComponentFactoryResolver = {\n    name: 'ComponentFactoryResolver',\n    moduleName: CORE,\n};\nIdentifiers.ComponentFactory = { name: 'ComponentFactory', moduleName: CORE };\nIdentifiers.ComponentRef = { name: 'ComponentRef', moduleName: CORE };\nIdentifiers.NgModuleFactory = { name: 'NgModuleFactory', moduleName: CORE };\nIdentifiers.createModuleFactory = {\n    name: 'ɵcmf',\n    moduleName: CORE,\n};\nIdentifiers.moduleDef = {\n    name: 'ɵmod',\n    moduleName: CORE,\n};\nIdentifiers.moduleProviderDef = {\n    name: 'ɵmpd',\n    moduleName: CORE,\n};\nIdentifiers.RegisterModuleFactoryFn = {\n    name: 'ɵregisterModuleFactory',\n    moduleName: CORE,\n};\nIdentifiers.inject = { name: 'ɵɵinject', moduleName: CORE };\nIdentifiers.INJECTOR = { name: 'INJECTOR', moduleName: CORE };\nIdentifiers.Injector = { name: 'Injector', moduleName: CORE };\nIdentifiers.ɵɵdefineInjectable = { name: 'ɵɵdefineInjectable', moduleName: CORE };\nIdentifiers.InjectableDef = { name: 'ɵɵInjectableDef', moduleName: CORE };\nIdentifiers.ViewEncapsulation = {\n    name: 'ViewEncapsulation',\n    moduleName: CORE,\n};\nIdentifiers.ChangeDetectionStrategy = {\n    name: 'ChangeDetectionStrategy',\n    moduleName: CORE,\n};\nIdentifiers.SecurityContext = {\n    name: 'SecurityContext',\n    moduleName: CORE,\n};\nIdentifiers.LOCALE_ID = { name: 'LOCALE_ID', moduleName: CORE };\nIdentifiers.TRANSLATIONS_FORMAT = {\n    name: 'TRANSLATIONS_FORMAT',\n    moduleName: CORE,\n};\nIdentifiers.inlineInterpolate = {\n    name: 'ɵinlineInterpolate',\n    moduleName: CORE,\n};\nIdentifiers.interpolate = { name: 'ɵinterpolate', moduleName: CORE };\nIdentifiers.EMPTY_ARRAY = { name: 'ɵEMPTY_ARRAY', moduleName: CORE };\nIdentifiers.EMPTY_MAP = { name: 'ɵEMPTY_MAP', moduleName: CORE };\nIdentifiers.Renderer = { name: 'Renderer', moduleName: CORE };\nIdentifiers.viewDef = { name: 'ɵvid', moduleName: CORE };\nIdentifiers.elementDef = { name: 'ɵeld', moduleName: CORE };\nIdentifiers.anchorDef = { name: 'ɵand', moduleName: CORE };\nIdentifiers.textDef = { name: 'ɵted', moduleName: CORE };\nIdentifiers.directiveDef = { name: 'ɵdid', moduleName: CORE };\nIdentifiers.providerDef = { name: 'ɵprd', moduleName: CORE };\nIdentifiers.queryDef = { name: 'ɵqud', moduleName: CORE };\nIdentifiers.pureArrayDef = { name: 'ɵpad', moduleName: CORE };\nIdentifiers.pureObjectDef = { name: 'ɵpod', moduleName: CORE };\nIdentifiers.purePipeDef = { name: 'ɵppd', moduleName: CORE };\nIdentifiers.pipeDef = { name: 'ɵpid', moduleName: CORE };\nIdentifiers.nodeValue = { name: 'ɵnov', moduleName: CORE };\nIdentifiers.ngContentDef = { name: 'ɵncd', moduleName: CORE };\nIdentifiers.unwrapValue = { name: 'ɵunv', moduleName: CORE };\nIdentifiers.createRendererType2 = { name: 'ɵcrt', moduleName: CORE };\n// type only\nIdentifiers.RendererType2 = {\n    name: 'RendererType2',\n    moduleName: CORE,\n};\n// type only\nIdentifiers.ViewDefinition = {\n    name: 'ɵViewDefinition',\n    moduleName: CORE,\n};\nIdentifiers.createComponentFactory = { name: 'ɵccf', moduleName: CORE };\nIdentifiers.setClassMetadata = { name: 'ɵsetClassMetadata', moduleName: CORE };\nfunction createTokenForReference(reference) {\n    return { identifier: { reference: reference } };\n}\nfunction createTokenForExternalReference(reflector, reference) {\n    return createTokenForReference(reflector.resolveExternalReference(reference));\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * A token representing the a reference to a static type.\n *\n * This token is unique for a filePath and name and can be used as a hash table key.\n */\nclass StaticSymbol {\n    constructor(filePath, name, members) {\n        this.filePath = filePath;\n        this.name = name;\n        this.members = members;\n    }\n    assertNoMembers() {\n        if (this.members.length) {\n            throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`);\n        }\n    }\n}\n/**\n * A cache of static symbol used by the StaticReflector to return the same symbol for the\n * same symbol values.\n */\nclass StaticSymbolCache {\n    constructor() {\n        this.cache = new Map();\n    }\n    get(declarationFile, name, members) {\n        members = members || [];\n        const memberSuffix = members.length ? `.${members.join('.')}` : '';\n        const key = `\"${declarationFile}\".${name}${memberSuffix}`;\n        let result = this.cache.get(key);\n        if (!result) {\n            result = new StaticSymbol(declarationFile, name, members);\n            this.cache.set(key, result);\n        }\n        return result;\n    }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n// group 0: \"[prop] or (event) or @trigger\"\n// group 1: \"prop\" from \"[prop]\"\n// group 2: \"event\" from \"(event)\"\n// group 3: \"@trigger\" from \"@trigger\"\nconst HOST_REG_EXP = /^(?:(?:\\[([^\\]]+)\\])|(?:\\(([^\\)]+)\\)))|(\\@[-\\w]+)$/;\nfunction sanitizeIdentifier(name) {\n    return name.replace(/\\W/g, '_');\n}\nlet _anonymousTypeIndex = 0;\nfunction identifierName(compileIdentifier) {\n    if (!compileIdentifier || !compileIdentifier.reference) {\n        return null;\n    }\n    const ref = compileIdentifier.reference;\n    if (ref instanceof StaticSymbol) {\n        return ref.name;\n    }\n    if (ref['__anonymousType']) {\n        return ref['__anonymousType'];\n    }\n    let identifier = stringify(ref);\n    if (identifier.indexOf('(') >= 0) {\n        // case: anonymous functions!\n        identifier = `anonymous_${_anonymousTypeIndex++}`;\n        ref['__anonymousType'] = identifier;\n    }\n    else {\n        identifier = sanitizeIdentifier(identifier);\n    }\n    return identifier;\n}\nfunction identifierModuleUrl(compileIdentifier) {\n    const ref = compileIdentifier.reference;\n    if (ref instanceof StaticSymbol) {\n        return ref.filePath;\n    }\n    // Runtime type\n    return `./${stringify(ref)}`;\n}\nfunction viewClassName(compType, embeddedTemplateIndex) {\n    return `View_${identifierName({ reference: compType })}_${embeddedTemplateIndex}`;\n}\nfunction rendererTypeName(compType) {\n    return `RenderType_${identifierName({ reference: compType })}`;\n}\nfunction hostViewClassName(compType) {\n    return `HostView_${identifierName({ reference: compType })}`;\n}\nfunction componentFactoryName(compType) {\n    return `${identifierName({ reference: compType })}NgFactory`;\n}\nvar CompileSummaryKind;\n(function (CompileSummaryKind) {\n    CompileSummaryKind[CompileSummaryKind[\"Pipe\"] = 0] = \"Pipe\";\n    CompileSummaryKind[CompileSummaryKind[\"Directive\"] = 1] = \"Directive\";\n    CompileSummaryKind[CompileSummaryKind[\"NgModule\"] = 2] = \"NgModule\";\n    CompileSummaryKind[CompileSummaryKind[\"Injectable\"] = 3] = \"Injectable\";\n})(CompileSummaryKind || (CompileSummaryKind = {}));\nfunction tokenName(token) {\n    return token.value != null ? sanitizeIdentifier(token.value) : identifierName(token.identifier);\n}\nfunction tokenReference(token) {\n    if (token.identifier != null) {\n        return token.identifier.reference;\n    }\n    else {\n        return token.value;\n    }\n}\n/**\n * Metadata about a stylesheet\n */\nclass CompileStylesheetMetadata {\n    constructor({ moduleUrl, styles, styleUrls } = {}) {\n        this.moduleUrl = moduleUrl || null;\n        this.styles = _normalizeArray(styles);\n        this.styleUrls = _normalizeArray(styleUrls);\n    }\n}\n/**\n * Metadata regarding compilation of a template.\n */\nclass CompileTemplateMetadata {\n    constructor({ encapsulation, template, templateUrl, htmlAst, styles, styleUrls, externalStylesheets, animations, ngContentSelectors, interpolation, isInline, preserveWhitespaces }) {\n        this.encapsulation = encapsulation;\n        this.template = template;\n        this.templateUrl = templateUrl;\n        this.htmlAst = htmlAst;\n        this.styles = _normalizeArray(styles);\n        this.styleUrls = _normalizeArray(styleUrls);\n        this.externalStylesheets = _normalizeArray(externalStylesheets);\n        this.animations = animations ? flatten(animations) : [];\n        this.ngContentSelectors = ngContentSelectors || [];\n        if (interpolation && interpolation.length != 2) {\n            throw new Error(`'interpolation' should have a start and an end symbol.`);\n        }\n        this.interpolation = interpolation;\n        this.isInline = isInline;\n        this.preserveWhitespaces = preserveWhitespaces;\n    }\n    toSummary() {\n        return {\n            ngContentSelectors: this.ngContentSelectors,\n            encapsulation: this.encapsulation,\n            styles: this.styles,\n            animations: this.animations\n        };\n    }\n}\n/**\n * Metadata regarding compilation of a directive.\n */\nclass CompileDirectiveMetadata {\n    static create({ isHost, type, isComponent, selector, exportAs, changeDetection, inputs, outputs, host, providers, viewProviders, queries, guards, viewQueries, entryComponents, template, componentViewType, rendererType, componentFactory }) {\n        const hostListeners = {};\n        const hostProperties = {};\n        const hostAttributes = {};\n        if (host != null) {\n            Object.keys(host).forEach(key => {\n                const value = host[key];\n                const matches = key.match(HOST_REG_EXP);\n                if (matches === null) {\n                    hostAttributes[key] = value;\n                }\n                else if (matches[1] != null) {\n                    hostProperties[matches[1]] = value;\n                }\n                else if (matches[2] != null) {\n                    hostListeners[matches[2]] = value;\n                }\n            });\n        }\n        const inputsMap = {};\n        if (inputs != null) {\n            inputs.forEach((bindConfig) => {\n                // canonical syntax: `dirProp: elProp`\n                // if there is no `:`, use dirProp = elProp\n                const parts = splitAtColon(bindConfig, [bindConfig, bindConfig]);\n                inputsMap[parts[0]] = parts[1];\n            });\n        }\n        const outputsMap = {};\n        if (outputs != null) {\n            outputs.forEach((bindConfig) => {\n                // canonical syntax: `dirProp: elProp`\n                // if there is no `:`, use dirProp = elProp\n                const parts = splitAtColon(bindConfig, [bindConfig, bindConfig]);\n                outputsMap[parts[0]] = parts[1];\n            });\n        }\n        return new CompileDirectiveMetadata({\n            isHost,\n            type,\n            isComponent: !!isComponent, selector, exportAs, changeDetection,\n            inputs: inputsMap,\n            outputs: outputsMap,\n            hostListeners,\n            hostProperties,\n            hostAttributes,\n            providers,\n            viewProviders,\n            queries,\n            guards,\n            viewQueries,\n            entryComponents,\n            template,\n            componentViewType,\n            rendererType,\n            componentFactory,\n        });\n    }\n    constructor({ isHost, type, isComponent, selector, exportAs, changeDetection, inputs, outputs, hostListeners, hostProperties, hostAttributes, providers, viewProviders, queries, guards, viewQueries, entryComponents, template, componentViewType, rendererType, componentFactory }) {\n        this.isHost = !!isHost;\n        this.type = type;\n        this.isComponent = isComponent;\n        this.selector = selector;\n        this.exportAs = exportAs;\n        this.changeDetection = changeDetection;\n        this.inputs = inputs;\n        this.outputs = outputs;\n        this.hostListeners = hostListeners;\n        this.hostProperties = hostProperties;\n        this.hostAttributes = hostAttributes;\n        this.providers = _normalizeArray(providers);\n        this.viewProviders = _normalizeArray(viewProviders);\n        this.queries = _normalizeArray(queries);\n        this.guards = guards;\n        this.viewQueries = _normalizeArray(viewQueries);\n        this.entryComponents = _normalizeArray(entryComponents);\n        this.template = template;\n        this.componentViewType = componentViewType;\n        this.rendererType = rendererType;\n        this.componentFactory = componentFactory;\n    }\n    toSummary() {\n        return {\n            summaryKind: CompileSummaryKind.Directive,\n            type: this.type,\n            isComponent: this.isComponent,\n            selector: this.selector,\n            exportAs: this.exportAs,\n            inputs: this.inputs,\n            outputs: this.outputs,\n            hostListeners: this.hostListeners,\n            hostProperties: this.hostProperties,\n            hostAttributes: this.hostAttributes,\n            providers: this.providers,\n            viewProviders: this.viewProviders,\n            queries: this.queries,\n            guards: this.guards,\n            viewQueries: this.viewQueries,\n            entryComponents: this.entryComponents,\n            changeDetection: this.changeDetection,\n            template: this.template && this.template.toSummary(),\n            componentViewType: this.componentViewType,\n            rendererType: this.rendererType,\n            componentFactory: this.componentFactory\n        };\n    }\n}\nclass CompilePipeMetadata {\n    constructor({ type, name, pure }) {\n        this.type = type;\n        this.name = name;\n        this.pure = !!pure;\n    }\n    toSummary() {\n        return {\n            summaryKind: CompileSummaryKind.Pipe,\n            type: this.type,\n            name: this.name,\n            pure: this.pure\n        };\n    }\n}\nclass CompileShallowModuleMetadata {\n}\n/**\n * Metadata regarding compilation of a module.\n */\nclass CompileNgModuleMetadata {\n    constructor({ type, providers, declaredDirectives, exportedDirectives, declaredPipes, exportedPipes, entryComponents, bootstrapComponents, importedModules, exportedModules, schemas, transitiveModule, id }) {\n        this.type = type || null;\n        this.declaredDirectives = _normalizeArray(declaredDirectives);\n        this.exportedDirectives = _normalizeArray(exportedDirectives);\n        this.declaredPipes = _normalizeArray(declaredPipes);\n        this.exportedPipes = _normalizeArray(exportedPipes);\n        this.providers = _normalizeArray(providers);\n        this.entryComponents = _normalizeArray(entryComponents);\n        this.bootstrapComponents = _normalizeArray(bootstrapComponents);\n        this.importedModules = _normalizeArray(importedModules);\n        this.exportedModules = _normalizeArray(exportedModules);\n        this.schemas = _normalizeArray(schemas);\n        this.id = id || null;\n        this.transitiveModule = transitiveModule || null;\n    }\n    toSummary() {\n        const module = this.transitiveModule;\n        return {\n            summaryKind: CompileSummaryKind.NgModule,\n            type: this.type,\n            entryComponents: module.entryComponents,\n            providers: module.providers,\n            modules: module.modules,\n            exportedDirectives: module.exportedDirectives,\n            exportedPipes: module.exportedPipes\n        };\n    }\n}\nclass TransitiveCompileNgModuleMetadata {\n    constructor() {\n        this.directivesSet = new Set();\n        this.directives = [];\n        this.exportedDirectivesSet = new Set();\n        this.exportedDirectives = [];\n        this.pipesSet = new Set();\n        this.pipes = [];\n        this.exportedPipesSet = new Set();\n        this.exportedPipes = [];\n        this.modulesSet = new Set();\n        this.modules = [];\n        this.entryComponentsSet = new Set();\n        this.entryComponents = [];\n        this.providers = [];\n    }\n    addProvider(provider, module) {\n        this.providers.push({ provider: provider, module: module });\n    }\n    addDirective(id) {\n        if (!this.directivesSet.has(id.reference)) {\n            this.directivesSet.add(id.reference);\n            this.directives.push(id);\n        }\n    }\n    addExportedDirective(id) {\n        if (!this.exportedDirectivesSet.has(id.reference)) {\n            this.exportedDirectivesSet.add(id.reference);\n            this.exportedDirectives.push(id);\n        }\n    }\n    addPipe(id) {\n        if (!this.pipesSet.has(id.reference)) {\n            this.pipesSet.add(id.reference);\n            this.pipes.push(id);\n        }\n    }\n    addExportedPipe(id) {\n        if (!this.exportedPipesSet.has(id.reference)) {\n            this.exportedPipesSet.add(id.reference);\n            this.exportedPipes.push(id);\n        }\n    }\n    addModule(id) {\n        if (!this.modulesSet.has(id.reference)) {\n            this.modulesSet.add(id.reference);\n            this.modules.push(id);\n        }\n    }\n    addEntryComponent(ec) {\n        if (!this.entryComponentsSet.has(ec.componentType)) {\n            this.entryComponentsSet.add(ec.componentType);\n            this.entryComponents.push(ec);\n        }\n    }\n}\nfunction _normalizeArray(obj) {\n    return obj || [];\n}\nclass ProviderMeta {\n    constructor(token, { useClass, useValue, useExisting, useFactory, deps, multi }) {\n        this.token = token;\n        this.useClass = useClass || null;\n        this.useValue = useValue;\n        this.useExisting = useExisting;\n        this.useFactory = useFactory || null;\n        this.dependencies = deps || null;\n        this.multi = !!multi;\n    }\n}\nfunction flatten(list) {\n    return list.reduce((flat, item) => {\n        const flatItem = Array.isArray(item) ? flatten(item) : item;\n        return flat.concat(flatItem);\n    }, []);\n}\nfunction jitSourceUrl(url) {\n    // Note: We need 3 \"/\" so that ng shows up as a separate domain\n    // in the chrome dev tools.\n    return url.replace(/(\\w+:\\/\\/[\\w:-]+)?(\\/+)?/, 'ng:///');\n}\nfunction templateSourceUrl(ngModuleType, compMeta, templateMeta) {\n    let url;\n    if (templateMeta.isInline) {\n        if (compMeta.type.reference instanceof StaticSymbol) {\n            // Note: a .ts file might contain multiple components with inline templates,\n            // so we need to give them unique urls, as these will be used for sourcemaps.\n            url = `${compMeta.type.reference.filePath}.${compMeta.type.reference.name}.html`;\n        }\n        else {\n            url = `${identifierName(ngModuleType)}/${identifierName(compMeta.type)}.html`;\n        }\n    }\n    else {\n        url = templateMeta.templateUrl;\n    }\n    return compMeta.type.reference instanceof StaticSymbol ? url : jitSourceUrl(url);\n}\nfunction sharedStylesheetJitUrl(meta, id) {\n    const pathParts = meta.moduleUrl.split(/\\/\\\\/g);\n    const baseName = pathParts[pathParts.length - 1];\n    return jitSourceUrl(`css/${id}${baseName}.ngstyle.js`);\n}\nfunction ngModuleJitUrl(moduleMeta) {\n    return jitSourceUrl(`${identifierName(moduleMeta.type)}/module.ngfactory.js`);\n}\nfunction templateJitUrl(ngModuleType, compMeta) {\n    return jitSourceUrl(`${identifierName(ngModuleType)}/${identifierName(compMeta.type)}.ngfactory.js`);\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst CORE$1 = '@angular/core';\nclass Identifiers$1 {\n}\n/* Methods */\nIdentifiers$1.NEW_METHOD = 'factory';\nIdentifiers$1.TRANSFORM_METHOD = 'transform';\nIdentifiers$1.PATCH_DEPS = 'patchedDeps';\n/* Instructions */\nIdentifiers$1.namespaceHTML = { name: 'ɵɵnamespaceHTML', moduleName: CORE$1 };\nIdentifiers$1.namespaceMathML = { name: 'ɵɵnamespaceMathML', moduleName: CORE$1 };\nIdentifiers$1.namespaceSVG = { name: 'ɵɵnamespaceSVG', moduleName: CORE$1 };\nIdentifiers$1.element = { name: 'ɵɵelement', moduleName: CORE$1 };\nIdentifiers$1.elementStart = { name: 'ɵɵelementStart', moduleName: CORE$1 };\nIdentifiers$1.elementEnd = { name: 'ɵɵelementEnd', moduleName: CORE$1 };\nIdentifiers$1.select = { name: 'ɵɵselect', moduleName: CORE$1 };\nIdentifiers$1.updateSyntheticHostBinding = { name: 'ɵɵupdateSyntheticHostBinding', moduleName: CORE$1 };\nIdentifiers$1.componentHostSyntheticListener = { name: 'ɵɵcomponentHostSyntheticListener', moduleName: CORE$1 };\nIdentifiers$1.attribute = { name: 'ɵɵattribute', moduleName: CORE$1 };\nIdentifiers$1.attributeInterpolate1 = { name: 'ɵɵattributeInterpolate1', moduleName: CORE$1 };\nIdentifiers$1.attributeInterpolate2 = { name: 'ɵɵattributeInterpolate2', moduleName: CORE$1 };\nIdentifiers$1.attributeInterpolate3 = { name: 'ɵɵattributeInterpolate3', moduleName: CORE$1 };\nIdentifiers$1.attributeInterpolate4 = { name: 'ɵɵattributeInterpolate4', moduleName: CORE$1 };\nIdentifiers$1.attributeInterpolate5 = { name: 'ɵɵattributeInterpolate5', moduleName: CORE$1 };\nIdentifiers$1.attributeInterpolate6 = { name: 'ɵɵattributeInterpolate6', moduleName: CORE$1 };\nIdentifiers$1.attributeInterpolate7 = { name: 'ɵɵattributeInterpolate7', moduleName: CORE$1 };\nIdentifiers$1.attributeInterpolate8 = { name: 'ɵɵattributeInterpolate8', moduleName: CORE$1 };\nIdentifiers$1.attributeInterpolateV = { name: 'ɵɵattributeInterpolateV', moduleName: CORE$1 };\nIdentifiers$1.classProp = { name: 'ɵɵclassProp', moduleName: CORE$1 };\nIdentifiers$1.elementContainerStart = { name: 'ɵɵelementContainerStart', moduleName: CORE$1 };\nIdentifiers$1.elementContainerEnd = { name: 'ɵɵelementContainerEnd', moduleName: CORE$1 };\nIdentifiers$1.elementContainer = { name: 'ɵɵelementContainer', moduleName: CORE$1 };\nIdentifiers$1.styling = { name: 'ɵɵstyling', moduleName: CORE$1 };\nIdentifiers$1.styleMap = { name: 'ɵɵstyleMap', moduleName: CORE$1 };\nIdentifiers$1.classMap = { name: 'ɵɵclassMap', moduleName: CORE$1 };\nIdentifiers$1.classMapInterpolate1 = { name: 'ɵɵclassMapInterpolate1', moduleName: CORE$1 };\nIdentifiers$1.classMapInterpolate2 = { name: 'ɵɵclassMapInterpolate2', moduleName: CORE$1 };\nIdentifiers$1.classMapInterpolate3 = { name: 'ɵɵclassMapInterpolate3', moduleName: CORE$1 };\nIdentifiers$1.classMapInterpolate4 = { name: 'ɵɵclassMapInterpolate4', moduleName: CORE$1 };\nIdentifiers$1.classMapInterpolate5 = { name: 'ɵɵclassMapInterpolate5', moduleName: CORE$1 };\nIdentifiers$1.classMapInterpolate6 = { name: 'ɵɵclassMapInterpolate6', moduleName: CORE$1 };\nIdentifiers$1.classMapInterpolate7 = { name: 'ɵɵclassMapInterpolate7', moduleName: CORE$1 };\nIdentifiers$1.classMapInterpolate8 = { name: 'ɵɵclassMapInterpolate8', moduleName: CORE$1 };\nIdentifiers$1.classMapInterpolateV = { name: 'ɵɵclassMapInterpolateV', moduleName: CORE$1 };\nIdentifiers$1.styleProp = { name: 'ɵɵstyleProp', moduleName: CORE$1 };\nIdentifiers$1.stylePropInterpolate1 = { name: 'ɵɵstylePropInterpolate1', moduleName: CORE$1 };\nIdentifiers$1.stylePropInterpolate2 = { name: 'ɵɵstylePropInterpolate2', moduleName: CORE$1 };\nIdentifiers$1.stylePropInterpolate3 = { name: 'ɵɵstylePropInterpolate3', moduleName: CORE$1 };\nIdentifiers$1.stylePropInterpolate4 = { name: 'ɵɵstylePropInterpolate4', moduleName: CORE$1 };\nIdentifiers$1.stylePropInterpolate5 = { name: 'ɵɵstylePropInterpolate5', moduleName: CORE$1 };\nIdentifiers$1.stylePropInterpolate6 = { name: 'ɵɵstylePropInterpolate6', moduleName: CORE$1 };\nIdentifiers$1.stylePropInterpolate7 = { name: 'ɵɵstylePropInterpolate7', moduleName: CORE$1 };\nIdentifiers$1.stylePropInterpolate8 = { name: 'ɵɵstylePropInterpolate8', moduleName: CORE$1 };\nIdentifiers$1.stylePropInterpolateV = { name: 'ɵɵstylePropInterpolateV', moduleName: CORE$1 };\nIdentifiers$1.stylingApply = { name: 'ɵɵstylingApply', moduleName: CORE$1 };\nIdentifiers$1.styleSanitizer = { name: 'ɵɵstyleSanitizer', moduleName: CORE$1 };\nIdentifiers$1.elementHostAttrs = { name: 'ɵɵelementHostAttrs', moduleName: CORE$1 };\nIdentifiers$1.containerCreate = { name: 'ɵɵcontainer', moduleName: CORE$1 };\nIdentifiers$1.nextContext = { name: 'ɵɵnextContext', moduleName: CORE$1 };\nIdentifiers$1.templateCreate = { name: 'ɵɵtemplate', moduleName: CORE$1 };\nIdentifiers$1.text = { name: 'ɵɵtext', moduleName: CORE$1 };\nIdentifiers$1.textBinding = { name: 'ɵɵtextBinding', moduleName: CORE$1 };\nIdentifiers$1.enableBindings = { name: 'ɵɵenableBindings', moduleName: CORE$1 };\nIdentifiers$1.disableBindings = { name: 'ɵɵdisableBindings', moduleName: CORE$1 };\nIdentifiers$1.allocHostVars = { name: 'ɵɵallocHostVars', moduleName: CORE$1 };\nIdentifiers$1.getCurrentView = { name: 'ɵɵgetCurrentView', moduleName: CORE$1 };\nIdentifiers$1.textInterpolate = { name: 'ɵɵtextInterpolate', moduleName: CORE$1 };\nIdentifiers$1.textInterpolate1 = { name: 'ɵɵtextInterpolate1', moduleName: CORE$1 };\nIdentifiers$1.textInterpolate2 = { name: 'ɵɵtextInterpolate2', moduleName: CORE$1 };\nIdentifiers$1.textInterpolate3 = { name: 'ɵɵtextInterpolate3', moduleName: CORE$1 };\nIdentifiers$1.textInterpolate4 = { name: 'ɵɵtextInterpolate4', moduleName: CORE$1 };\nIdentifiers$1.textInterpolate5 = { name: 'ɵɵtextInterpolate5', moduleName: CORE$1 };\nIdentifiers$1.textInterpolate6 = { name: 'ɵɵtextInterpolate6', moduleName: CORE$1 };\nIdentifiers$1.textInterpolate7 = { name: 'ɵɵtextInterpolate7', moduleName: CORE$1 };\nIdentifiers$1.textInterpolate8 = { name: 'ɵɵtextInterpolate8', moduleName: CORE$1 };\nIdentifiers$1.textInterpolateV = { name: 'ɵɵtextInterpolateV', moduleName: CORE$1 };\nIdentifiers$1.restoreView = { name: 'ɵɵrestoreView', moduleName: CORE$1 };\nIdentifiers$1.pureFunction0 = { name: 'ɵɵpureFunction0', moduleName: CORE$1 };\nIdentifiers$1.pureFunction1 = { name: 'ɵɵpureFunction1', moduleName: CORE$1 };\nIdentifiers$1.pureFunction2 = { name: 'ɵɵpureFunction2', moduleName: CORE$1 };\nIdentifiers$1.pureFunction3 = { name: 'ɵɵpureFunction3', moduleName: CORE$1 };\nIdentifiers$1.pureFunction4 = { name: 'ɵɵpureFunction4', moduleName: CORE$1 };\nIdentifiers$1.pureFunction5 = { name: 'ɵɵpureFunction5', moduleName: CORE$1 };\nIdentifiers$1.pureFunction6 = { name: 'ɵɵpureFunction6', moduleName: CORE$1 };\nIdentifiers$1.pureFunction7 = { name: 'ɵɵpureFunction7', moduleName: CORE$1 };\nIdentifiers$1.pureFunction8 = { name: 'ɵɵpureFunction8', moduleName: CORE$1 };\nIdentifiers$1.pureFunctionV = { name: 'ɵɵpureFunctionV', moduleName: CORE$1 };\nIdentifiers$1.pipeBind1 = { name: 'ɵɵpipeBind1', moduleName: CORE$1 };\nIdentifiers$1.pipeBind2 = { name: 'ɵɵpipeBind2', moduleName: CORE$1 };\nIdentifiers$1.pipeBind3 = { name: 'ɵɵpipeBind3', moduleName: CORE$1 };\nIdentifiers$1.pipeBind4 = { name: 'ɵɵpipeBind4', moduleName: CORE$1 };\nIdentifiers$1.pipeBindV = { name: 'ɵɵpipeBindV', moduleName: CORE$1 };\nIdentifiers$1.hostProperty = { name: 'ɵɵhostProperty', moduleName: CORE$1 };\nIdentifiers$1.property = { name: 'ɵɵproperty', moduleName: CORE$1 };\nIdentifiers$1.propertyInterpolate = { name: 'ɵɵpropertyInterpolate', moduleName: CORE$1 };\nIdentifiers$1.propertyInterpolate1 = { name: 'ɵɵpropertyInterpolate1', moduleName: CORE$1 };\nIdentifiers$1.propertyInterpolate2 = { name: 'ɵɵpropertyInterpolate2', moduleName: CORE$1 };\nIdentifiers$1.propertyInterpolate3 = { name: 'ɵɵpropertyInterpolate3', moduleName: CORE$1 };\nIdentifiers$1.propertyInterpolate4 = { name: 'ɵɵpropertyInterpolate4', moduleName: CORE$1 };\nIdentifiers$1.propertyInterpolate5 = { name: 'ɵɵpropertyInterpolate5', moduleName: CORE$1 };\nIdentifiers$1.propertyInterpolate6 = { name: 'ɵɵpropertyInterpolate6', moduleName: CORE$1 };\nIdentifiers$1.propertyInterpolate7 = { name: 'ɵɵpropertyInterpolate7', moduleName: CORE$1 };\nIdentifiers$1.propertyInterpolate8 = { name: 'ɵɵpropertyInterpolate8', moduleName: CORE$1 };\nIdentifiers$1.propertyInterpolateV = { name: 'ɵɵpropertyInterpolateV', moduleName: CORE$1 };\nIdentifiers$1.i18n = { name: 'ɵɵi18n', moduleName: CORE$1 };\nIdentifiers$1.i18nAttributes = { name: 'ɵɵi18nAttributes', moduleName: CORE$1 };\nIdentifiers$1.i18nExp = { name: 'ɵɵi18nExp', moduleName: CORE$1 };\nIdentifiers$1.i18nStart = { name: 'ɵɵi18nStart', moduleName: CORE$1 };\nIdentifiers$1.i18nEnd = { name: 'ɵɵi18nEnd', moduleName: CORE$1 };\nIdentifiers$1.i18nApply = { name: 'ɵɵi18nApply', moduleName: CORE$1 };\nIdentifiers$1.i18nPostprocess = { name: 'ɵɵi18nPostprocess', moduleName: CORE$1 };\nIdentifiers$1.i18nLocalize = { name: 'ɵɵi18nLocalize', moduleName: CORE$1 };\nIdentifiers$1.load = { name: 'ɵɵload', moduleName: CORE$1 };\nIdentifiers$1.pipe = { name: 'ɵɵpipe', moduleName: CORE$1 };\nIdentifiers$1.projection = { name: 'ɵɵprojection', moduleName: CORE$1 };\nIdentifiers$1.projectionDef = { name: 'ɵɵprojectionDef', moduleName: CORE$1 };\nIdentifiers$1.reference = { name: 'ɵɵreference', moduleName: CORE$1 };\nIdentifiers$1.inject = { name: 'ɵɵinject', moduleName: CORE$1 };\nIdentifiers$1.injectAttribute = { name: 'ɵɵinjectAttribute', moduleName: CORE$1 };\nIdentifiers$1.injectPipeChangeDetectorRef = { name: 'ɵɵinjectPipeChangeDetectorRef', moduleName: CORE$1 };\nIdentifiers$1.directiveInject = { name: 'ɵɵdirectiveInject', moduleName: CORE$1 };\nIdentifiers$1.templateRefExtractor = { name: 'ɵɵtemplateRefExtractor', moduleName: CORE$1 };\nIdentifiers$1.resolveWindow = { name: 'ɵɵresolveWindow', moduleName: CORE$1 };\nIdentifiers$1.resolveDocument = { name: 'ɵɵresolveDocument', moduleName: CORE$1 };\nIdentifiers$1.resolveBody = { name: 'ɵɵresolveBody', moduleName: CORE$1 };\nIdentifiers$1.defineBase = { name: 'ɵɵdefineBase', moduleName: CORE$1 };\nIdentifiers$1.BaseDef = {\n    name: 'ɵɵBaseDef',\n    moduleName: CORE$1,\n};\nIdentifiers$1.defineComponent = { name: 'ɵɵdefineComponent', moduleName: CORE$1 };\nIdentifiers$1.setComponentScope = { name: 'ɵɵsetComponentScope', moduleName: CORE$1 };\nIdentifiers$1.ComponentDefWithMeta = {\n    name: 'ɵɵComponentDefWithMeta',\n    moduleName: CORE$1,\n};\nIdentifiers$1.defineDirective = {\n    name: 'ɵɵdefineDirective',\n    moduleName: CORE$1,\n};\nIdentifiers$1.DirectiveDefWithMeta = {\n    name: 'ɵɵDirectiveDefWithMeta',\n    moduleName: CORE$1,\n};\nIdentifiers$1.InjectorDef = {\n    name: 'ɵɵInjectorDef',\n    moduleName: CORE$1,\n};\nIdentifiers$1.defineInjector = {\n    name: 'ɵɵdefineInjector',\n    moduleName: CORE$1,\n};\nIdentifiers$1.NgModuleDefWithMeta = {\n    name: 'ɵɵNgModuleDefWithMeta',\n    moduleName: CORE$1,\n};\nIdentifiers$1.defineNgModule = { name: 'ɵɵdefineNgModule', moduleName: CORE$1 };\nIdentifiers$1.setNgModuleScope = { name: 'ɵɵsetNgModuleScope', moduleName: CORE$1 };\nIdentifiers$1.PipeDefWithMeta = { name: 'ɵɵPipeDefWithMeta', moduleName: CORE$1 };\nIdentifiers$1.definePipe = { name: 'ɵɵdefinePipe', moduleName: CORE$1 };\nIdentifiers$1.queryRefresh = { name: 'ɵɵqueryRefresh', moduleName: CORE$1 };\nIdentifiers$1.viewQuery = { name: 'ɵɵviewQuery', moduleName: CORE$1 };\nIdentifiers$1.staticViewQuery = { name: 'ɵɵstaticViewQuery', moduleName: CORE$1 };\nIdentifiers$1.staticContentQuery = { name: 'ɵɵstaticContentQuery', moduleName: CORE$1 };\nIdentifiers$1.loadViewQuery = { name: 'ɵɵloadViewQuery', moduleName: CORE$1 };\nIdentifiers$1.contentQuery = { name: 'ɵɵcontentQuery', moduleName: CORE$1 };\nIdentifiers$1.loadContentQuery = { name: 'ɵɵloadContentQuery', moduleName: CORE$1 };\nIdentifiers$1.NgOnChangesFeature = { name: 'ɵɵNgOnChangesFeature', moduleName: CORE$1 };\nIdentifiers$1.InheritDefinitionFeature = { name: 'ɵɵInheritDefinitionFeature', moduleName: CORE$1 };\nIdentifiers$1.ProvidersFeature = { name: 'ɵɵProvidersFeature', moduleName: CORE$1 };\nIdentifiers$1.listener = { name: 'ɵɵlistener', moduleName: CORE$1 };\nIdentifiers$1.getFactoryOf = {\n    name: 'ɵɵgetFactoryOf',\n    moduleName: CORE$1,\n};\nIdentifiers$1.getInheritedFactory = {\n    name: 'ɵɵgetInheritedFactory',\n    moduleName: CORE$1,\n};\n// sanitization-related functions\nIdentifiers$1.sanitizeHtml = { name: 'ɵɵsanitizeHtml', moduleName: CORE$1 };\nIdentifiers$1.sanitizeStyle = { name: 'ɵɵsanitizeStyle', moduleName: CORE$1 };\nIdentifiers$1.defaultStyleSanitizer = { name: 'ɵɵdefaultStyleSanitizer', moduleName: CORE$1 };\nIdentifiers$1.sanitizeResourceUrl = { name: 'ɵɵsanitizeResourceUrl', moduleName: CORE$1 };\nIdentifiers$1.sanitizeScript = { name: 'ɵɵsanitizeScript', moduleName: CORE$1 };\nIdentifiers$1.sanitizeUrl = { name: 'ɵɵsanitizeUrl', moduleName: CORE$1 };\nIdentifiers$1.sanitizeUrlOrResourceUrl = { name: 'ɵɵsanitizeUrlOrResourceUrl', moduleName: CORE$1 };\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst $EOF = 0;\nconst $BSPACE = 8;\nconst $TAB = 9;\nconst $LF = 10;\nconst $VTAB = 11;\nconst $FF = 12;\nconst $CR = 13;\nconst $SPACE = 32;\nconst $BANG = 33;\nconst $DQ = 34;\nconst $HASH = 35;\nconst $$ = 36;\nconst $PERCENT = 37;\nconst $AMPERSAND = 38;\nconst $SQ = 39;\nconst $LPAREN = 40;\nconst $RPAREN = 41;\nconst $STAR = 42;\nconst $PLUS = 43;\nconst $COMMA = 44;\nconst $MINUS = 45;\nconst $PERIOD = 46;\nconst $SLASH = 47;\nconst $COLON = 58;\nconst $SEMICOLON = 59;\nconst $LT = 60;\nconst $EQ = 61;\nconst $GT = 62;\nconst $QUESTION = 63;\nconst $0 = 48;\nconst $7 = 55;\nconst $9 = 57;\nconst $A = 65;\nconst $E = 69;\nconst $F = 70;\nconst $X = 88;\nconst $Z = 90;\nconst $LBRACKET = 91;\nconst $BACKSLASH = 92;\nconst $RBRACKET = 93;\nconst $CARET = 94;\nconst $_ = 95;\nconst $a = 97;\nconst $b = 98;\nconst $e = 101;\nconst $f = 102;\nconst $n = 110;\nconst $r = 114;\nconst $t = 116;\nconst $u = 117;\nconst $v = 118;\nconst $x = 120;\nconst $z = 122;\nconst $LBRACE = 123;\nconst $BAR = 124;\nconst $RBRACE = 125;\nconst $NBSP = 160;\nconst $PIPE = 124;\nconst $TILDA = 126;\nconst $AT = 64;\nconst $BT = 96;\nfunction isWhitespace(code) {\n    return (code >= $TAB && code <= $SPACE) || (code == $NBSP);\n}\nfunction isDigit(code) {\n    return $0 <= code && code <= $9;\n}\nfunction isAsciiLetter(code) {\n    return code >= $a && code <= $z || code >= $A && code <= $Z;\n}\nfunction isAsciiHexDigit(code) {\n    return code >= $a && code <= $f || code >= $A && code <= $F || isDigit(code);\n}\nfunction isNewLine(code) {\n    return code === $LF || code === $CR;\n}\nfunction isOctalDigit(code) {\n    return $0 <= code && code <= $7;\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nclass ParseLocation {\n    constructor(file, offset, line, col) {\n        this.file = file;\n        this.offset = offset;\n        this.line = line;\n        this.col = col;\n    }\n    toString() {\n        return this.offset != null ? `${this.file.url}@${this.line}:${this.col}` : this.file.url;\n    }\n    moveBy(delta) {\n        const source = this.file.content;\n        const len = source.length;\n        let offset = this.offset;\n        let line = this.line;\n        let col = this.col;\n        while (offset > 0 && delta < 0) {\n            offset--;\n            delta++;\n            const ch = source.charCodeAt(offset);\n            if (ch == $LF) {\n                line--;\n                const priorLine = source.substr(0, offset - 1).lastIndexOf(String.fromCharCode($LF));\n                col = priorLine > 0 ? offset - priorLine : offset;\n            }\n            else {\n                col--;\n            }\n        }\n        while (offset < len && delta > 0) {\n            const ch = source.charCodeAt(offset);\n            offset++;\n            delta--;\n            if (ch == $LF) {\n                line++;\n                col = 0;\n            }\n            else {\n                col++;\n            }\n        }\n        return new ParseLocation(this.file, offset, line, col);\n    }\n    // Return the source around the location\n    // Up to `maxChars` or `maxLines` on each side of the location\n    getContext(maxChars, maxLines) {\n        const content = this.file.content;\n        let startOffset = this.offset;\n        if (startOffset != null) {\n            if (startOffset > content.length - 1) {\n                startOffset = content.length - 1;\n            }\n            let endOffset = startOffset;\n            let ctxChars = 0;\n            let ctxLines = 0;\n            while (ctxChars < maxChars && startOffset > 0) {\n                startOffset--;\n                ctxChars++;\n                if (content[startOffset] == '\\n') {\n                    if (++ctxLines == maxLines) {\n                        break;\n                    }\n                }\n            }\n            ctxChars = 0;\n            ctxLines = 0;\n            while (ctxChars < maxChars && endOffset < content.length - 1) {\n                endOffset++;\n                ctxChars++;\n                if (content[endOffset] == '\\n') {\n                    if (++ctxLines == maxLines) {\n                        break;\n                    }\n                }\n            }\n            return {\n                before: content.substring(startOffset, this.offset),\n                after: content.substring(this.offset, endOffset + 1),\n            };\n        }\n        return null;\n    }\n}\nclass ParseSourceFile {\n    constructor(content, url) {\n        this.content = content;\n        this.url = url;\n    }\n}\nclass ParseSourceSpan {\n    constructor(start, end, details = null) {\n        this.start = start;\n        this.end = end;\n        this.details = details;\n    }\n    toString() {\n        return this.start.file.content.substring(this.start.offset, this.end.offset);\n    }\n}\nconst EMPTY_PARSE_LOCATION = new ParseLocation(new ParseSourceFile('', ''), 0, 0, 0);\nconst EMPTY_SOURCE_SPAN = new ParseSourceSpan(EMPTY_PARSE_LOCATION, EMPTY_PARSE_LOCATION);\nvar ParseErrorLevel;\n(function (ParseErrorLevel) {\n    ParseErrorLevel[ParseErrorLevel[\"WARNING\"] = 0] = \"WARNING\";\n    ParseErrorLevel[ParseErrorLevel[\"ERROR\"] = 1] = \"ERROR\";\n})(ParseErrorLevel || (ParseErrorLevel = {}));\nclass ParseError {\n    constructor(span, msg, level = ParseErrorLevel.ERROR) {\n        this.span = span;\n        this.msg = msg;\n        this.level = level;\n    }\n    contextualMessage() {\n        const ctx = this.span.start.getContext(100, 3);\n        return ctx ? `${this.msg} (\"${ctx.before}[${ParseErrorLevel[this.level]} ->]${ctx.after}\")` :\n            this.msg;\n    }\n    toString() {\n        const details = this.span.details ? `, ${this.span.details}` : '';\n        return `${this.contextualMessage()}: ${this.span.start}${details}`;\n    }\n}\nfunction typeSourceSpan(kind, type) {\n    const moduleUrl = identifierModuleUrl(type);\n    const sourceFileName = moduleUrl != null ? `in ${kind} ${identifierName(type)} in ${moduleUrl}` :\n        `in ${kind} ${identifierName(type)}`;\n    const sourceFile = new ParseSourceFile('', sourceFileName);\n    return new ParseSourceSpan(new ParseLocation(sourceFile, -1, -1, -1), new ParseLocation(sourceFile, -1, -1, -1));\n}\n/**\n * Generates Source Span object for a given R3 Type for JIT mode.\n *\n * @param kind Component or Directive.\n * @param typeName name of the Component or Directive.\n * @param sourceUrl reference to Component or Directive source.\n * @returns instance of ParseSourceSpan that represent a given Component or Directive.\n */\nfunction r3JitTypeSourceSpan(kind, typeName, sourceUrl) {\n    const sourceFileName = `in ${kind} ${typeName} in ${sourceUrl}`;\n    const sourceFile = new ParseSourceFile('', sourceFileName);\n    return new ParseSourceSpan(new ParseLocation(sourceFile, -1, -1, -1), new ParseLocation(sourceFile, -1, -1, -1));\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nclass Text {\n    constructor(value, sourceSpan) {\n        this.value = value;\n        this.sourceSpan = sourceSpan;\n    }\n    visit(visitor) { return visitor.visitText(this); }\n}\nclass BoundText {\n    constructor(value, sourceSpan, i18n) {\n        this.value = value;\n        this.sourceSpan = sourceSpan;\n        this.i18n = i18n;\n    }\n    visit(visitor) { return visitor.visitBoundText(this); }\n}\nclass TextAttribute {\n    constructor(name, value, sourceSpan, valueSpan, i18n) {\n        this.name = name;\n        this.value = value;\n        this.sourceSpan = sourceSpan;\n        this.valueSpan = valueSpan;\n        this.i18n = i18n;\n    }\n    visit(visitor) { return visitor.visitTextAttribute(this); }\n}\nclass BoundAttribute {\n    constructor(name, type, securityContext, value, unit, sourceSpan, valueSpan, i18n) {\n        this.name = name;\n        this.type = type;\n        this.securityContext = securityContext;\n        this.value = value;\n        this.unit = unit;\n        this.sourceSpan = sourceSpan;\n        this.valueSpan = valueSpan;\n        this.i18n = i18n;\n    }\n    static fromBoundElementProperty(prop, i18n) {\n        return new BoundAttribute(prop.name, prop.type, prop.securityContext, prop.value, prop.unit, prop.sourceSpan, prop.valueSpan, i18n);\n    }\n    visit(visitor) { return visitor.visitBoundAttribute(this); }\n}\nclass BoundEvent {\n    constructor(name, type, handler, target, phase, sourceSpan, handlerSpan) {\n        this.name = name;\n        this.type = type;\n        this.handler = handler;\n        this.target = target;\n        this.phase = phase;\n        this.sourceSpan = sourceSpan;\n        this.handlerSpan = handlerSpan;\n    }\n    static fromParsedEvent(event) {\n        const target = event.type === 0 /* Regular */ ? event.targetOrPhase : null;\n        const phase = event.type === 1 /* Animation */ ? event.targetOrPhase : null;\n        return new BoundEvent(event.name, event.type, event.handler, target, phase, event.sourceSpan, event.handlerSpan);\n    }\n    visit(visitor) { return visitor.visitBoundEvent(this); }\n}\nclass Element {\n    constructor(name, attributes, inputs, outputs, children, references, sourceSpan, startSourceSpan, endSourceSpan, i18n) {\n        this.name = name;\n        this.attributes = attributes;\n        this.inputs = inputs;\n        this.outputs = outputs;\n        this.children = children;\n        this.references = references;\n        this.sourceSpan = sourceSpan;\n        this.startSourceSpan = startSourceSpan;\n        this.endSourceSpan = endSourceSpan;\n        this.i18n = i18n;\n        // If the element is empty then the source span should include any closing tag\n        if (children.length === 0 && startSourceSpan && endSourceSpan) {\n            this.sourceSpan = new ParseSourceSpan(sourceSpan.start, endSourceSpan.end);\n        }\n    }\n    visit(visitor) { return visitor.visitElement(this); }\n}\nclass Template {\n    constructor(tagName, attributes, inputs, outputs, templateAttrs, children, references, variables, sourceSpan, startSourceSpan, endSourceSpan, i18n) {\n        this.tagName = tagName;\n        this.attributes = attributes;\n        this.inputs = inputs;\n        this.outputs = outputs;\n        this.templateAttrs = templateAttrs;\n        this.children = children;\n        this.references = references;\n        this.variables = variables;\n        this.sourceSpan = sourceSpan;\n        this.startSourceSpan = startSourceSpan;\n        this.endSourceSpan = endSourceSpan;\n        this.i18n = i18n;\n    }\n    visit(visitor) { return visitor.visitTemplate(this); }\n}\nclass Content {\n    constructor(selector, attributes, sourceSpan, i18n) {\n        this.selector = selector;\n        this.attributes = attributes;\n        this.sourceSpan = sourceSpan;\n        this.i18n = i18n;\n    }\n    visit(visitor) { return visitor.visitContent(this); }\n}\nclass Variable {\n    constructor(name, value, sourceSpan, valueSpan) {\n        this.name = name;\n        this.value = value;\n        this.sourceSpan = sourceSpan;\n        this.valueSpan = valueSpan;\n    }\n    visit(visitor) { return visitor.visitVariable(this); }\n}\nclass Reference {\n    constructor(name, value, sourceSpan, valueSpan) {\n        this.name = name;\n        this.value = value;\n        this.sourceSpan = sourceSpan;\n        this.valueSpan = valueSpan;\n    }\n    visit(visitor) { return visitor.visitReference(this); }\n}\nclass Icu {\n    constructor(vars, placeholders, sourceSpan, i18n) {\n        this.vars = vars;\n        this.placeholders = placeholders;\n        this.sourceSpan = sourceSpan;\n        this.i18n = i18n;\n    }\n    visit(visitor) { return visitor.visitIcu(this); }\n}\nclass NullVisitor {\n    visitElement(element) { }\n    visitTemplate(template) { }\n    visitContent(content) { }\n    visitVariable(variable) { }\n    visitReference(reference) { }\n    visitTextAttribute(attribute) { }\n    visitBoundAttribute(attribute) { }\n    visitBoundEvent(attribute) { }\n    visitText(text) { }\n    visitBoundText(text) { }\n    visitIcu(icu) { }\n}\nclass RecursiveVisitor {\n    visitElement(element) {\n        visitAll(this, element.attributes);\n        visitAll(this, element.children);\n        visitAll(this, element.references);\n    }\n    visitTemplate(template) {\n        visitAll(this, template.attributes);\n        visitAll(this, template.children);\n        visitAll(this, template.references);\n        visitAll(this, template.variables);\n    }\n    visitContent(content) { }\n    visitVariable(variable) { }\n    visitReference(reference) { }\n    visitTextAttribute(attribute) { }\n    visitBoundAttribute(attribute) { }\n    visitBoundEvent(attribute) { }\n    visitText(text) { }\n    visitBoundText(text) { }\n    visitIcu(icu) { }\n}\nclass TransformVisitor {\n    visitElement(element) {\n        const newAttributes = transformAll(this, element.attributes);\n        const newInputs = transformAll(this, element.inputs);\n        const newOutputs = transformAll(this, element.outputs);\n        const newChildren = transformAll(this, element.children);\n        const newReferences = transformAll(this, element.references);\n        if (newAttributes != element.attributes || newInputs != element.inputs ||\n            newOutputs != element.outputs || newChildren != element.children ||\n            newReferences != element.references) {\n            return new Element(element.name, newAttributes, newInputs, newOutputs, newChildren, newReferences, element.sourceSpan, element.startSourceSpan, element.endSourceSpan);\n        }\n        return element;\n    }\n    visitTemplate(template) {\n        const newAttributes = transformAll(this, template.attributes);\n        const newInputs = transformAll(this, template.inputs);\n        const newOutputs = transformAll(this, template.outputs);\n        const newTemplateAttrs = transformAll(this, template.templateAttrs);\n        const newChildren = transformAll(this, template.children);\n        const newReferences = transformAll(this, template.references);\n        const newVariables = transformAll(this, template.variables);\n        if (newAttributes != template.attributes || newInputs != template.inputs ||\n            newOutputs != template.outputs || newTemplateAttrs != template.templateAttrs ||\n            newChildren != template.children || newReferences != template.references ||\n            newVariables != template.variables) {\n            return new Template(template.tagName, newAttributes, newInputs, newOutputs, newTemplateAttrs, newChildren, newReferences, newVariables, template.sourceSpan, template.startSourceSpan, template.endSourceSpan);\n        }\n        return template;\n    }\n    visitContent(content) { return content; }\n    visitVariable(variable) { return variable; }\n    visitReference(reference) { return reference; }\n    visitTextAttribute(attribute) { return attribute; }\n    visitBoundAttribute(attribute) { return attribute; }\n    visitBoundEvent(attribute) { return attribute; }\n    visitText(text) { return text; }\n    visitBoundText(text) { return text; }\n    visitIcu(icu) { return icu; }\n}\nfunction visitAll(visitor, nodes) {\n    const result = [];\n    if (visitor.visit) {\n        for (const node of nodes) {\n            const newNode = visitor.visit(node) || node.visit(visitor);\n        }\n    }\n    else {\n        for (const node of nodes) {\n            const newNode = node.visit(visitor);\n            if (newNode) {\n                result.push(newNode);\n            }\n        }\n    }\n    return result;\n}\nfunction transformAll(visitor, nodes) {\n    const result = [];\n    let changed = false;\n    for (const node of nodes) {\n        const newNode = node.visit(visitor);\n        if (newNode) {\n            result.push(newNode);\n        }\n        changed = changed || newNode != node;\n    }\n    return changed ? result : nodes;\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nclass Message {\n    /**\n     * @param nodes message AST\n     * @param placeholders maps placeholder names to static content\n     * @param placeholderToMessage maps placeholder names to messages (used for nested ICU messages)\n     * @param meaning\n     * @param description\n     * @param id\n     */\n    constructor(nodes, placeholders, placeholderToMessage, meaning, description, id) {\n        this.nodes = nodes;\n        this.placeholders = placeholders;\n        this.placeholderToMessage = placeholderToMessage;\n        this.meaning = meaning;\n        this.description = description;\n        this.id = id;\n        if (nodes.length) {\n            this.sources = [{\n                    filePath: nodes[0].sourceSpan.start.file.url,\n                    startLine: nodes[0].sourceSpan.start.line + 1,\n                    startCol: nodes[0].sourceSpan.start.col + 1,\n                    endLine: nodes[nodes.length - 1].sourceSpan.end.line + 1,\n                    endCol: nodes[0].sourceSpan.start.col + 1\n                }];\n        }\n        else {\n            this.sources = [];\n        }\n    }\n}\nclass Text$1 {\n    constructor(value, sourceSpan) {\n        this.value = value;\n        this.sourceSpan = sourceSpan;\n    }\n    visit(visitor, context) { return visitor.visitText(this, context); }\n}\n// TODO(vicb): do we really need this node (vs an array) ?\nclass Container {\n    constructor(children, sourceSpan) {\n        this.children = children;\n        this.sourceSpan = sourceSpan;\n    }\n    visit(visitor, context) { return visitor.visitContainer(this, context); }\n}\nclass Icu$1 {\n    constructor(expression, type, cases, sourceSpan) {\n        this.expression = expression;\n        this.type = type;\n        this.cases = cases;\n        this.sourceSpan = sourceSpan;\n    }\n    visit(visitor, context) { return visitor.visitIcu(this, context); }\n}\nclass TagPlaceholder {\n    constructor(tag, attrs, startName, closeName, children, isVoid, sourceSpan) {\n        this.tag = tag;\n        this.attrs = attrs;\n        this.startName = startName;\n        this.closeName = closeName;\n        this.children = children;\n        this.isVoid = isVoid;\n        this.sourceSpan = sourceSpan;\n    }\n    visit(visitor, context) { return visitor.visitTagPlaceholder(this, context); }\n}\nclass Placeholder {\n    constructor(value, name, sourceSpan) {\n        this.value = value;\n        this.name = name;\n        this.sourceSpan = sourceSpan;\n    }\n    visit(visitor, context) { return visitor.visitPlaceholder(this, context); }\n}\nclass IcuPlaceholder {\n    constructor(value, name, sourceSpan) {\n        this.value = value;\n        this.name = name;\n        this.sourceSpan = sourceSpan;\n    }\n    visit(visitor, context) { return visitor.visitIcuPlaceholder(this, context); }\n}\n// Clone the AST\nclass CloneVisitor {\n    visitText(text, context) { return new Text$1(text.value, text.sourceSpan); }\n    visitContainer(container, context) {\n        const children = container.children.map(n => n.visit(this, context));\n        return new Container(children, container.sourceSpan);\n    }\n    visitIcu(icu, context) {\n        const cases = {};\n        Object.keys(icu.cases).forEach(key => cases[key] = icu.cases[key].visit(this, context));\n        const msg = new Icu$1(icu.expression, icu.type, cases, icu.sourceSpan);\n        msg.expressionPlaceholder = icu.expressionPlaceholder;\n        return msg;\n    }\n    visitTagPlaceholder(ph, context) {\n        const children = ph.children.map(n => n.visit(this, context));\n        return new TagPlaceholder(ph.tag, ph.attrs, ph.startName, ph.closeName, children, ph.isVoid, ph.sourceSpan);\n    }\n    visitPlaceholder(ph, context) {\n        return new Placeholder(ph.value, ph.name, ph.sourceSpan);\n    }\n    visitIcuPlaceholder(ph, context) {\n        return new IcuPlaceholder(ph.value, ph.name, ph.sourceSpan);\n    }\n}\n// Visit all the nodes recursively\nclass RecurseVisitor {\n    visitText(text, context) { }\n    visitContainer(container, context) {\n        container.children.forEach(child => child.visit(this));\n    }\n    visitIcu(icu, context) {\n        Object.keys(icu.cases).forEach(k => { icu.cases[k].visit(this); });\n    }\n    visitTagPlaceholder(ph, context) {\n        ph.children.forEach(child => child.visit(this));\n    }\n    visitPlaceholder(ph, context) { }\n    visitIcuPlaceholder(ph, context) { }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction digest(message) {\n    return message.id || sha1(serializeNodes(message.nodes).join('') + `[${message.meaning}]`);\n}\nfunction decimalDigest(message) {\n    if (message.id) {\n        return message.id;\n    }\n    const visitor = new _SerializerIgnoreIcuExpVisitor();\n    const parts = message.nodes.map(a => a.visit(visitor, null));\n    return computeMsgId(parts.join(''), message.meaning);\n}\n/**\n * Serialize the i18n ast to something xml-like in order to generate an UID.\n *\n * The visitor is also used in the i18n parser tests\n *\n * @internal\n */\nclass _SerializerVisitor {\n    visitText(text, context) { return text.value; }\n    visitContainer(container, context) {\n        return `[${container.children.map(child => child.visit(this)).join(', ')}]`;\n    }\n    visitIcu(icu, context) {\n        const strCases = Object.keys(icu.cases).map((k) => `${k} {${icu.cases[k].visit(this)}}`);\n        return `{${icu.expression}, ${icu.type}, ${strCases.join(', ')}}`;\n    }\n    visitTagPlaceholder(ph, context) {\n        return ph.isVoid ?\n            `<ph tag name=\"${ph.startName}\"/>` :\n            `<ph tag name=\"${ph.startName}\">${ph.children.map(child => child.visit(this)).join(', ')}</ph name=\"${ph.closeName}\">`;\n    }\n    visitPlaceholder(ph, context) {\n        return ph.value ? `<ph name=\"${ph.name}\">${ph.value}</ph>` : `<ph name=\"${ph.name}\"/>`;\n    }\n    visitIcuPlaceholder(ph, context) {\n        return `<ph icu name=\"${ph.name}\">${ph.value.visit(this)}</ph>`;\n    }\n}\nconst serializerVisitor = new _SerializerVisitor();\nfunction serializeNodes(nodes) {\n    return nodes.map(a => a.visit(serializerVisitor, null));\n}\n/**\n * Serialize the i18n ast to something xml-like in order to generate an UID.\n *\n * Ignore the ICU expressions so that message IDs stays identical if only the expression changes.\n *\n * @internal\n */\nclass _SerializerIgnoreIcuExpVisitor extends _SerializerVisitor {\n    visitIcu(icu, context) {\n        let strCases = Object.keys(icu.cases).map((k) => `${k} {${icu.cases[k].visit(this)}}`);\n        // Do not take the expression into account\n        return `{${icu.type}, ${strCases.join(', ')}}`;\n    }\n}\n/**\n * Compute the SHA1 of the given string\n *\n * see http://csrc.nist.gov/publications/fips/fips180-4/fips-180-4.pdf\n *\n * WARNING: this function has not been designed not tested with security in mind.\n *          DO NOT USE IT IN A SECURITY SENSITIVE CONTEXT.\n */\nfunction sha1(str) {\n    const utf8 = utf8Encode(str);\n    const words32 = stringToWords32(utf8, Endian.Big);\n    const len = utf8.length * 8;\n    const w = new Array(80);\n    let [a, b, c, d, e] = [0x67452301, 0xefcdab89, 0x98badcfe, 0x10325476, 0xc3d2e1f0];\n    words32[len >> 5] |= 0x80 << (24 - len % 32);\n    words32[((len + 64 >> 9) << 4) + 15] = len;\n    for (let i = 0; i < words32.length; i += 16) {\n        const [h0, h1, h2, h3, h4] = [a, b, c, d, e];\n        for (let j = 0; j < 80; j++) {\n            if (j < 16) {\n                w[j] = words32[i + j];\n            }\n            else {\n                w[j] = rol32(w[j - 3] ^ w[j - 8] ^ w[j - 14] ^ w[j - 16], 1);\n            }\n            const [f, k] = fk(j, b, c, d);\n            const temp = [rol32(a, 5), f, e, k, w[j]].reduce(add32);\n            [e, d, c, b, a] = [d, c, rol32(b, 30), a, temp];\n        }\n        [a, b, c, d, e] = [add32(a, h0), add32(b, h1), add32(c, h2), add32(d, h3), add32(e, h4)];\n    }\n    return byteStringToHexString(words32ToByteString([a, b, c, d, e]));\n}\nfunction fk(index, b, c, d) {\n    if (index < 20) {\n        return [(b & c) | (~b & d), 0x5a827999];\n    }\n    if (index < 40) {\n        return [b ^ c ^ d, 0x6ed9eba1];\n    }\n    if (index < 60) {\n        return [(b & c) | (b & d) | (c & d), 0x8f1bbcdc];\n    }\n    return [b ^ c ^ d, 0xca62c1d6];\n}\n/**\n * Compute the fingerprint of the given string\n *\n * The output is 64 bit number encoded as a decimal string\n *\n * based on:\n * https://github.com/google/closure-compiler/blob/master/src/com/google/javascript/jscomp/GoogleJsMessageIdGenerator.java\n */\nfunction fingerprint(str) {\n    const utf8 = utf8Encode(str);\n    let [hi, lo] = [hash32(utf8, 0), hash32(utf8, 102072)];\n    if (hi == 0 && (lo == 0 || lo == 1)) {\n        hi = hi ^ 0x130f9bef;\n        lo = lo ^ -0x6b5f56d8;\n    }\n    return [hi, lo];\n}\nfunction computeMsgId(msg, meaning) {\n    let [hi, lo] = fingerprint(msg);\n    if (meaning) {\n        const [him, lom] = fingerprint(meaning);\n        [hi, lo] = add64(rol64([hi, lo], 1), [him, lom]);\n    }\n    return byteStringToDecString(words32ToByteString([hi & 0x7fffffff, lo]));\n}\nfunction hash32(str, c) {\n    let [a, b] = [0x9e3779b9, 0x9e3779b9];\n    let i;\n    const len = str.length;\n    for (i = 0; i + 12 <= len; i += 12) {\n        a = add32(a, wordAt(str, i, Endian.Little));\n        b = add32(b, wordAt(str, i + 4, Endian.Little));\n        c = add32(c, wordAt(str, i + 8, Endian.Little));\n        [a, b, c] = mix([a, b, c]);\n    }\n    a = add32(a, wordAt(str, i, Endian.Little));\n    b = add32(b, wordAt(str, i + 4, Endian.Little));\n    // the first byte of c is reserved for the length\n    c = add32(c, len);\n    c = add32(c, wordAt(str, i + 8, Endian.Little) << 8);\n    return mix([a, b, c])[2];\n}\n// clang-format off\nfunction mix([a, b, c]) {\n    a = sub32(a, b);\n    a = sub32(a, c);\n    a ^= c >>> 13;\n    b = sub32(b, c);\n    b = sub32(b, a);\n    b ^= a << 8;\n    c = sub32(c, a);\n    c = sub32(c, b);\n    c ^= b >>> 13;\n    a = sub32(a, b);\n    a = sub32(a, c);\n    a ^= c >>> 12;\n    b = sub32(b, c);\n    b = sub32(b, a);\n    b ^= a << 16;\n    c = sub32(c, a);\n    c = sub32(c, b);\n    c ^= b >>> 5;\n    a = sub32(a, b);\n    a = sub32(a, c);\n    a ^= c >>> 3;\n    b = sub32(b, c);\n    b = sub32(b, a);\n    b ^= a << 10;\n    c = sub32(c, a);\n    c = sub32(c, b);\n    c ^= b >>> 15;\n    return [a, b, c];\n}\n// clang-format on\n// Utils\nvar Endian;\n(function (Endian) {\n    Endian[Endian[\"Little\"] = 0] = \"Little\";\n    Endian[Endian[\"Big\"] = 1] = \"Big\";\n})(Endian || (Endian = {}));\nfunction add32(a, b) {\n    return add32to64(a, b)[1];\n}\nfunction add32to64(a, b) {\n    const low = (a & 0xffff) + (b & 0xffff);\n    const high = (a >>> 16) + (b >>> 16) + (low >>> 16);\n    return [high >>> 16, (high << 16) | (low & 0xffff)];\n}\nfunction add64([ah, al], [bh, bl]) {\n    const [carry, l] = add32to64(al, bl);\n    const h = add32(add32(ah, bh), carry);\n    return [h, l];\n}\nfunction sub32(a, b) {\n    const low = (a & 0xffff) - (b & 0xffff);\n    const high = (a >> 16) - (b >> 16) + (low >> 16);\n    return (high << 16) | (low & 0xffff);\n}\n// Rotate a 32b number left `count` position\nfunction rol32(a, count) {\n    return (a << count) | (a >>> (32 - count));\n}\n// Rotate a 64b number left `count` position\nfunction rol64([hi, lo], count) {\n    const h = (hi << count) | (lo >>> (32 - count));\n    const l = (lo << count) | (hi >>> (32 - count));\n    return [h, l];\n}\nfunction stringToWords32(str, endian) {\n    const words32 = Array((str.length + 3) >>> 2);\n    for (let i = 0; i < words32.length; i++) {\n        words32[i] = wordAt(str, i * 4, endian);\n    }\n    return words32;\n}\nfunction byteAt(str, index) {\n    return index >= str.length ? 0 : str.charCodeAt(index) & 0xff;\n}\nfunction wordAt(str, index, endian) {\n    let word = 0;\n    if (endian === Endian.Big) {\n        for (let i = 0; i < 4; i++) {\n            word += byteAt(str, index + i) << (24 - 8 * i);\n        }\n    }\n    else {\n        for (let i = 0; i < 4; i++) {\n            word += byteAt(str, index + i) << 8 * i;\n        }\n    }\n    return word;\n}\nfunction words32ToByteString(words32) {\n    return words32.reduce((str, word) => str + word32ToByteString(word), '');\n}\nfunction word32ToByteString(word) {\n    let str = '';\n    for (let i = 0; i < 4; i++) {\n        str += String.fromCharCode((word >>> 8 * (3 - i)) & 0xff);\n    }\n    return str;\n}\nfunction byteStringToHexString(str) {\n    let hex = '';\n    for (let i = 0; i < str.length; i++) {\n        const b = byteAt(str, i);\n        hex += (b >>> 4).toString(16) + (b & 0x0f).toString(16);\n    }\n    return hex.toLowerCase();\n}\n// based on http://www.danvk.org/hex2dec.html (JS can not handle more than 56b)\nfunction byteStringToDecString(str) {\n    let decimal = '';\n    let toThePower = '1';\n    for (let i = str.length - 1; i >= 0; i--) {\n        decimal = addBigInt(decimal, numberTimesBigInt(byteAt(str, i), toThePower));\n        toThePower = numberTimesBigInt(256, toThePower);\n    }\n    return decimal.split('').reverse().join('');\n}\n// x and y decimal, lowest significant digit first\nfunction addBigInt(x, y) {\n    let sum = '';\n    const len = Math.max(x.length, y.length);\n    for (let i = 0, carry = 0; i < len || carry; i++) {\n        const tmpSum = carry + +(x[i] || 0) + +(y[i] || 0);\n        if (tmpSum >= 10) {\n            carry = 1;\n            sum += tmpSum - 10;\n        }\n        else {\n            carry = 0;\n            sum += tmpSum;\n        }\n    }\n    return sum;\n}\nfunction numberTimesBigInt(num, b) {\n    let product = '';\n    let bToThePower = b;\n    for (; num !== 0; num = num >>> 1) {\n        if (num & 1)\n            product = addBigInt(product, bToThePower);\n        bToThePower = addBigInt(bToThePower, bToThePower);\n    }\n    return product;\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nclass Serializer {\n    // Creates a name mapper, see `PlaceholderMapper`\n    // Returning `null` means that no name mapping is used.\n    createNameMapper(message) { return null; }\n}\n/**\n * A simple mapper that take a function to transform an internal name to a public name\n */\nclass SimplePlaceholderMapper extends RecurseVisitor {\n    // create a mapping from the message\n    constructor(message, mapName) {\n        super();\n        this.mapName = mapName;\n        this.internalToPublic = {};\n        this.publicToNextId = {};\n        this.publicToInternal = {};\n        message.nodes.forEach(node => node.visit(this));\n    }\n    toPublicName(internalName) {\n        return this.internalToPublic.hasOwnProperty(internalName) ?\n            this.internalToPublic[internalName] :\n            null;\n    }\n    toInternalName(publicName) {\n        return this.publicToInternal.hasOwnProperty(publicName) ? this.publicToInternal[publicName] :\n            null;\n    }\n    visitText(text, context) { return null; }\n    visitTagPlaceholder(ph, context) {\n        this.visitPlaceholderName(ph.startName);\n        super.visitTagPlaceholder(ph, context);\n        this.visitPlaceholderName(ph.closeName);\n    }\n    visitPlaceholder(ph, context) { this.visitPlaceholderName(ph.name); }\n    visitIcuPlaceholder(ph, context) {\n        this.visitPlaceholderName(ph.name);\n    }\n    // XMB placeholders could only contains A-Z, 0-9 and _\n    visitPlaceholderName(internalName) {\n        if (!internalName || this.internalToPublic.hasOwnProperty(internalName)) {\n            return;\n        }\n        let publicName = this.mapName(internalName);\n        if (this.publicToInternal.hasOwnProperty(publicName)) {\n            // Create a new XMB when it has already been used\n            const nextId = this.publicToNextId[publicName];\n            this.publicToNextId[publicName] = nextId + 1;\n            publicName = `${publicName}_${nextId}`;\n        }\n        else {\n            this.publicToNextId[publicName] = 1;\n        }\n        this.internalToPublic[internalName] = publicName;\n        this.publicToInternal[publicName] = internalName;\n    }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nclass _Visitor {\n    visitTag(tag) {\n        const strAttrs = this._serializeAttributes(tag.attrs);\n        if (tag.children.length == 0) {\n            return `<${tag.name}${strAttrs}/>`;\n        }\n        const strChildren = tag.children.map(node => node.visit(this));\n        return `<${tag.name}${strAttrs}>${strChildren.join('')}</${tag.name}>`;\n    }\n    visitText(text) { return text.value; }\n    visitDeclaration(decl) {\n        return `<?xml${this._serializeAttributes(decl.attrs)} ?>`;\n    }\n    _serializeAttributes(attrs) {\n        const strAttrs = Object.keys(attrs).map((name) => `${name}=\"${attrs[name]}\"`).join(' ');\n        return strAttrs.length > 0 ? ' ' + strAttrs : '';\n    }\n    visitDoctype(doctype) {\n        return `<!DOCTYPE ${doctype.rootTag} [\\n${doctype.dtd}\\n]>`;\n    }\n}\nconst _visitor = new _Visitor();\nfunction serialize(nodes) {\n    return nodes.map((node) => node.visit(_visitor)).join('');\n}\nclass Declaration {\n    constructor(unescapedAttrs) {\n        this.attrs = {};\n        Object.keys(unescapedAttrs).forEach((k) => {\n            this.attrs[k] = escapeXml(unescapedAttrs[k]);\n        });\n    }\n    visit(visitor) { return visitor.visitDeclaration(this); }\n}\nclass Doctype {\n    constructor(rootTag, dtd) {\n        this.rootTag = rootTag;\n        this.dtd = dtd;\n    }\n    visit(visitor) { return visitor.visitDoctype(this); }\n}\nclass Tag {\n    constructor(name, unescapedAttrs = {}, children = []) {\n        this.name = name;\n        this.children = children;\n        this.attrs = {};\n        Object.keys(unescapedAttrs).forEach((k) => {\n            this.attrs[k] = escapeXml(unescapedAttrs[k]);\n        });\n    }\n    visit(visitor) { return visitor.visitTag(this); }\n}\nclass Text$2 {\n    constructor(unescapedValue) { this.value = escapeXml(unescapedValue); }\n    visit(visitor) { return visitor.visitText(this); }\n}\nclass CR extends Text$2 {\n    constructor(ws = 0) { super(`\\n${new Array(ws + 1).join(' ')}`); }\n}\nconst _ESCAPED_CHARS = [\n    [/&/g, '&amp;'],\n    [/\"/g, '&quot;'],\n    [/'/g, '&apos;'],\n    [/</g, '&lt;'],\n    [/>/g, '&gt;'],\n];\n// Escape `_ESCAPED_CHARS` characters in the given text with encoded entities\nfunction escapeXml(text) {\n    return _ESCAPED_CHARS.reduce((text, entry) => text.replace(entry[0], entry[1]), text);\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst _MESSAGES_TAG = 'messagebundle';\nconst _MESSAGE_TAG = 'msg';\nconst _PLACEHOLDER_TAG = 'ph';\nconst _EXAMPLE_TAG = 'ex';\nconst _SOURCE_TAG = 'source';\nconst _DOCTYPE = `<!ELEMENT messagebundle (msg)*>\n<!ATTLIST messagebundle class CDATA #IMPLIED>\n\n<!ELEMENT msg (#PCDATA|ph|source)*>\n<!ATTLIST msg id CDATA #IMPLIED>\n<!ATTLIST msg seq CDATA #IMPLIED>\n<!ATTLIST msg name CDATA #IMPLIED>\n<!ATTLIST msg desc CDATA #IMPLIED>\n<!ATTLIST msg meaning CDATA #IMPLIED>\n<!ATTLIST msg obsolete (obsolete) #IMPLIED>\n<!ATTLIST msg xml:space (default|preserve) \"default\">\n<!ATTLIST msg is_hidden CDATA #IMPLIED>\n\n<!ELEMENT source (#PCDATA)>\n\n<!ELEMENT ph (#PCDATA|ex)*>\n<!ATTLIST ph name CDATA #REQUIRED>\n\n<!ELEMENT ex (#PCDATA)>`;\nclass Xmb extends Serializer {\n    write(messages, locale) {\n        const exampleVisitor = new ExampleVisitor();\n        const visitor = new _Visitor$1();\n        let rootNode = new Tag(_MESSAGES_TAG);\n        messages.forEach(message => {\n            const attrs = { id: message.id };\n            if (message.description) {\n                attrs['desc'] = message.description;\n            }\n            if (message.meaning) {\n                attrs['meaning'] = message.meaning;\n            }\n            let sourceTags = [];\n            message.sources.forEach((source) => {\n                sourceTags.push(new Tag(_SOURCE_TAG, {}, [\n                    new Text$2(`${source.filePath}:${source.startLine}${source.endLine !== source.startLine ? ',' + source.endLine : ''}`)\n                ]));\n            });\n            rootNode.children.push(new CR(2), new Tag(_MESSAGE_TAG, attrs, [...sourceTags, ...visitor.serialize(message.nodes)]));\n        });\n        rootNode.children.push(new CR());\n        return serialize([\n            new Declaration({ version: '1.0', encoding: 'UTF-8' }),\n            new CR(),\n            new Doctype(_MESSAGES_TAG, _DOCTYPE),\n            new CR(),\n            exampleVisitor.addDefaultExamples(rootNode),\n            new CR(),\n        ]);\n    }\n    load(content, url) {\n        throw new Error('Unsupported');\n    }\n    digest(message) { return digest$1(message); }\n    createNameMapper(message) {\n        return new SimplePlaceholderMapper(message, toPublicName);\n    }\n}\nclass _Visitor$1 {\n    visitText(text, context) { return [new Text$2(text.value)]; }\n    visitContainer(container, context) {\n        const nodes = [];\n        container.children.forEach((node) => nodes.push(...node.visit(this)));\n        return nodes;\n    }\n    visitIcu(icu, context) {\n        const nodes = [new Text$2(`{${icu.expressionPlaceholder}, ${icu.type}, `)];\n        Object.keys(icu.cases).forEach((c) => {\n            nodes.push(new Text$2(`${c} {`), ...icu.cases[c].visit(this), new Text$2(`} `));\n        });\n        nodes.push(new Text$2(`}`));\n        return nodes;\n    }\n    visitTagPlaceholder(ph, context) {\n        const startTagAsText = new Text$2(`<${ph.tag}>`);\n        const startEx = new Tag(_EXAMPLE_TAG, {}, [startTagAsText]);\n        // TC requires PH to have a non empty EX, and uses the text node to show the \"original\" value.\n        const startTagPh = new Tag(_PLACEHOLDER_TAG, { name: ph.startName }, [startEx, startTagAsText]);\n        if (ph.isVoid) {\n            // void tags have no children nor closing tags\n            return [startTagPh];\n        }\n        const closeTagAsText = new Text$2(`</${ph.tag}>`);\n        const closeEx = new Tag(_EXAMPLE_TAG, {}, [closeTagAsText]);\n        // TC requires PH to have a non empty EX, and uses the text node to show the \"original\" value.\n        const closeTagPh = new Tag(_PLACEHOLDER_TAG, { name: ph.closeName }, [closeEx, closeTagAsText]);\n        return [startTagPh, ...this.serialize(ph.children), closeTagPh];\n    }\n    visitPlaceholder(ph, context) {\n        const interpolationAsText = new Text$2(`{{${ph.value}}}`);\n        // Example tag needs to be not-empty for TC.\n        const exTag = new Tag(_EXAMPLE_TAG, {}, [interpolationAsText]);\n        return [\n            // TC requires PH to have a non empty EX, and uses the text node to show the \"original\" value.\n            new Tag(_PLACEHOLDER_TAG, { name: ph.name }, [exTag, interpolationAsText])\n        ];\n    }\n    visitIcuPlaceholder(ph, context) {\n        const icuExpression = ph.value.expression;\n        const icuType = ph.value.type;\n        const icuCases = Object.keys(ph.value.cases).map((value) => value + ' {...}').join(' ');\n        const icuAsText = new Text$2(`{${icuExpression}, ${icuType}, ${icuCases}}`);\n        const exTag = new Tag(_EXAMPLE_TAG, {}, [icuAsText]);\n        return [\n            // TC requires PH to have a non empty EX, and uses the text node to show the \"original\" value.\n            new Tag(_PLACEHOLDER_TAG, { name: ph.name }, [exTag, icuAsText])\n        ];\n    }\n    serialize(nodes) {\n        return [].concat(...nodes.map(node => node.visit(this)));\n    }\n}\nfunction digest$1(message) {\n    return decimalDigest(message);\n}\n// TC requires at least one non-empty example on placeholders\nclass ExampleVisitor {\n    addDefaultExamples(node) {\n        node.visit(this);\n        return node;\n    }\n    visitTag(tag) {\n        if (tag.name === _PLACEHOLDER_TAG) {\n            if (!tag.children || tag.children.length == 0) {\n                const exText = new Text$2(tag.attrs['name'] || '...');\n                tag.children = [new Tag(_EXAMPLE_TAG, {}, [exText])];\n            }\n        }\n        else if (tag.children) {\n            tag.children.forEach(node => node.visit(this));\n        }\n    }\n    visitText(text) { }\n    visitDeclaration(decl) { }\n    visitDoctype(doctype) { }\n}\n// XMB/XTB placeholders can only contain A-Z, 0-9 and _\nfunction toPublicName(internalName) {\n    return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, '_');\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction mapEntry(key, value) {\n    return { key, value, quoted: false };\n}\nfunction mapLiteral(obj, quoted = false) {\n    return literalMap(Object.keys(obj).map(key => ({\n        key,\n        quoted,\n        value: obj[key],\n    })));\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/* Closure variables holding messages must be named `MSG_[A-Z0-9]+` */\nconst CLOSURE_TRANSLATION_PREFIX = 'MSG_';\n/* Prefix for non-`goog.getMsg` i18n-related vars */\nconst TRANSLATION_PREFIX = 'I18N_';\n/** Closure uses `goog.getMsg(message)` to lookup translations */\nconst GOOG_GET_MSG = 'goog.getMsg';\n/** Name of the global variable that is used to determine if we use Closure translations or not */\nconst NG_I18N_CLOSURE_MODE = 'ngI18nClosureMode';\n/** I18n separators for metadata **/\nconst I18N_MEANING_SEPARATOR = '|';\nconst I18N_ID_SEPARATOR = '@@';\n/** Name of the i18n attributes **/\nconst I18N_ATTR = 'i18n';\nconst I18N_ATTR_PREFIX = 'i18n-';\n/** Prefix of var expressions used in ICUs */\nconst I18N_ICU_VAR_PREFIX = 'VAR_';\n/** Prefix of ICU expressions for post processing */\nconst I18N_ICU_MAPPING_PREFIX = 'I18N_EXP_';\n/** Placeholder wrapper for i18n expressions **/\nconst I18N_PLACEHOLDER_SYMBOL = '�';\nfunction i18nTranslationToDeclStmt(variable$1, closureVar, message, meta, params) {\n    const statements = [];\n    // var I18N_X;\n    statements.push(new DeclareVarStmt(variable$1.name, undefined, INFERRED_TYPE, null, variable$1.sourceSpan));\n    const args = [literal(message)];\n    if (params && Object.keys(params).length) {\n        args.push(mapLiteral(params, true));\n    }\n    // Closure JSDoc comments\n    const docStatements = i18nMetaToDocStmt(meta);\n    const thenStatements = docStatements ? [docStatements] : [];\n    const googFnCall = variable(GOOG_GET_MSG).callFn(args);\n    // const MSG_... = goog.getMsg(..);\n    thenStatements.push(closureVar.set(googFnCall).toConstDecl());\n    // I18N_X = MSG_...;\n    thenStatements.push(new ExpressionStatement(variable$1.set(closureVar)));\n    const localizeFnCall = importExpr(Identifiers$1.i18nLocalize).callFn(args);\n    // I18N_X = i18nLocalize(...);\n    const elseStatements = [new ExpressionStatement(variable$1.set(localizeFnCall))];\n    // if(ngI18nClosureMode) { ... } else { ... }\n    statements.push(ifStmt(variable(NG_I18N_CLOSURE_MODE), thenStatements, elseStatements));\n    return statements;\n}\n// Converts i18n meta information for a message (id, description, meaning)\n// to a JsDoc statement formatted as expected by the Closure compiler.\nfunction i18nMetaToDocStmt(meta) {\n    const tags = [];\n    if (meta.description) {\n        tags.push({ tagName: \"desc\" /* Desc */, text: meta.description });\n    }\n    if (meta.meaning) {\n        tags.push({ tagName: \"meaning\" /* Meaning */, text: meta.meaning });\n    }\n    return tags.length == 0 ? null : new JSDocCommentStmt(tags);\n}\nfunction isI18nAttribute(name) {\n    return name === I18N_ATTR || name.startsWith(I18N_ATTR_PREFIX);\n}\nfunction isI18nRootNode(meta) {\n    return meta instanceof Message;\n}\nfunction isSingleI18nIcu(meta) {\n    return isI18nRootNode(meta) && meta.nodes.length === 1 && meta.nodes[0] instanceof Icu$1;\n}\nfunction hasI18nAttrs(element) {\n    return element.attrs.some((attr) => isI18nAttribute(attr.name));\n}\nfunction metaFromI18nMessage(message, id = null) {\n    return {\n        id: typeof id === 'string' ? id : message.id || '',\n        meaning: message.meaning || '',\n        description: message.description || ''\n    };\n}\nfunction icuFromI18nMessage(message) {\n    return message.nodes[0];\n}\nfunction wrapI18nPlaceholder(content, contextId = 0) {\n    const blockId = contextId > 0 ? `:${contextId}` : '';\n    return `${I18N_PLACEHOLDER_SYMBOL}${content}${blockId}${I18N_PLACEHOLDER_SYMBOL}`;\n}\nfunction assembleI18nBoundString(strings, bindingStartIndex = 0, contextId = 0) {\n    if (!strings.length)\n        return '';\n    let acc = '';\n    const lastIdx = strings.length - 1;\n    for (let i = 0; i < lastIdx; i++) {\n        acc += `${strings[i]}${wrapI18nPlaceholder(bindingStartIndex + i, contextId)}`;\n    }\n    acc += strings[lastIdx];\n    return acc;\n}\nfunction getSeqNumberGenerator(startsAt = 0) {\n    let current = startsAt;\n    return () => current++;\n}\nfunction placeholdersToParams(placeholders) {\n    const params = {};\n    placeholders.forEach((values, key) => {\n        params[key] = literal(values.length > 1 ? `[${values.join('|')}]` : values[0]);\n    });\n    return params;\n}\nfunction updatePlaceholderMap(map, name, ...values) {\n    const current = map.get(name) || [];\n    current.push(...values);\n    map.set(name, current);\n}\nfunction assembleBoundTextPlaceholders(meta, bindingStartIndex = 0, contextId = 0) {\n    const startIdx = bindingStartIndex;\n    const placeholders = new Map();\n    const node = meta instanceof Message ? meta.nodes.find(node => node instanceof Container) : meta;\n    if (node) {\n        node\n            .children\n            .filter((child) => child instanceof Placeholder)\n            .forEach((child, idx) => {\n            const content = wrapI18nPlaceholder(startIdx + idx, contextId);\n            updatePlaceholderMap(placeholders, child.name, content);\n        });\n    }\n    return placeholders;\n}\nfunction findIndex(items, callback) {\n    for (let i = 0; i < items.length; i++) {\n        if (callback(items[i])) {\n            return i;\n        }\n    }\n    return -1;\n}\n/**\n * Parses i18n metas like:\n *  - \"@@id\",\n *  - \"description[@@id]\",\n *  - \"meaning|description[@@id]\"\n * and returns an object with parsed output.\n *\n * @param meta String that represents i18n meta\n * @returns Object with id, meaning and description fields\n */\nfunction parseI18nMeta(meta) {\n    let id;\n    let meaning;\n    let description;\n    if (meta) {\n        const idIndex = meta.indexOf(I18N_ID_SEPARATOR);\n        const descIndex = meta.indexOf(I18N_MEANING_SEPARATOR);\n        let meaningAndDesc;\n        [meaningAndDesc, id] =\n            (idIndex > -1) ? [meta.slice(0, idIndex), meta.slice(idIndex + 2)] : [meta, ''];\n        [meaning, description] = (descIndex > -1) ?\n            [meaningAndDesc.slice(0, descIndex), meaningAndDesc.slice(descIndex + 1)] :\n            ['', meaningAndDesc];\n    }\n    return { id, meaning, description };\n}\n/**\n * Converts internal placeholder names to public-facing format\n * (for example to use in goog.getMsg call).\n * Example: `START_TAG_DIV_1` is converted to `startTagDiv_1`.\n *\n * @param name The placeholder name that should be formatted\n * @returns Formatted placeholder name\n */\nfunction formatI18nPlaceholderName(name, useCamelCase = true) {\n    const publicName = toPublicName(name);\n    if (!useCamelCase) {\n        return publicName;\n    }\n    const chunks = publicName.split('_');\n    if (chunks.length === 1) {\n        // if no \"_\" found - just lowercase the value\n        return name.toLowerCase();\n    }\n    let postfix;\n    // eject last element if it's a number\n    if (/^\\d+$/.test(chunks[chunks.length - 1])) {\n        postfix = chunks.pop();\n    }\n    let raw = chunks.shift().toLowerCase();\n    if (chunks.length) {\n        raw += chunks.map(c => c.charAt(0).toUpperCase() + c.slice(1).toLowerCase()).join('');\n    }\n    return postfix ? `${raw}_${postfix}` : raw;\n}\n/**\n * Generates a prefix for translation const name.\n *\n * @param extra Additional local prefix that should be injected into translation var name\n * @returns Complete translation const prefix\n */\nfunction getTranslationConstPrefix(extra) {\n    return `${CLOSURE_TRANSLATION_PREFIX}${extra}`.toUpperCase();\n}\n/**\n * Generates translation declaration statements.\n *\n * @param variable Translation value reference\n * @param closureVar Variable for Closure `goog.getMsg` calls\n * @param message Text message to be translated\n * @param meta Object that contains meta information (id, meaning and description)\n * @param params Object with placeholders key-value pairs\n * @param transformFn Optional transformation (post processing) function reference\n * @returns Array of Statements that represent a given translation\n */\nfunction getTranslationDeclStmts(variable, closureVar, message, meta, params = {}, transformFn) {\n    const statements = [];\n    statements.push(...i18nTranslationToDeclStmt(variable, closureVar, message, meta, params));\n    if (transformFn) {\n        statements.push(new ExpressionStatement(variable.set(transformFn(variable))));\n    }\n    return statements;\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Checks whether an object key contains potentially unsafe chars, thus the key should be wrapped in\n * quotes. Note: we do not wrap all keys into quotes, as it may have impact on minification and may\n * bot work in some cases when object keys are mangled by minifier.\n *\n * TODO(FW-1136): this is a temporary solution, we need to come up with a better way of working with\n * inputs that contain potentially unsafe chars.\n */\nconst UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/;\n/** Name of the temporary to use during data binding */\nconst TEMPORARY_NAME = '_t';\n/** Name of the context parameter passed into a template function */\nconst CONTEXT_NAME = 'ctx';\n/** Name of the RenderFlag passed into a template function */\nconst RENDER_FLAGS = 'rf';\n/** The prefix reference variables */\nconst REFERENCE_PREFIX = '_r';\n/** The name of the implicit context reference */\nconst IMPLICIT_REFERENCE = '$implicit';\n/** Non bindable attribute name **/\nconst NON_BINDABLE_ATTR = 'ngNonBindable';\n/**\n * Creates an allocator for a temporary variable.\n *\n * A variable declaration is added to the statements the first time the allocator is invoked.\n */\nfunction temporaryAllocator(statements, name) {\n    let temp = null;\n    return () => {\n        if (!temp) {\n            statements.push(new DeclareVarStmt(TEMPORARY_NAME, undefined, DYNAMIC_TYPE));\n            temp = variable(name);\n        }\n        return temp;\n    };\n}\nfunction unsupported(feature) {\n    if (this) {\n        throw new Error(`Builder ${this.constructor.name} doesn't support ${feature} yet`);\n    }\n    throw new Error(`Feature ${feature} is not supported yet`);\n}\nfunction invalid$1(arg) {\n    throw new Error(`Invalid state: Visitor ${this.constructor.name} doesn't handle ${arg.constructor.name}`);\n}\nfunction asLiteral(value) {\n    if (Array.isArray(value)) {\n        return literalArr(value.map(asLiteral));\n    }\n    return literal(value, INFERRED_TYPE);\n}\nfunction conditionallyCreateMapObjectLiteral(keys, keepDeclared) {\n    if (Object.getOwnPropertyNames(keys).length > 0) {\n        return mapToExpression(keys, keepDeclared);\n    }\n    return null;\n}\nfunction mapToExpression(map, keepDeclared) {\n    return literalMap(Object.getOwnPropertyNames(map).map(key => {\n        // canonical syntax: `dirProp: publicProp`\n        // if there is no `:`, use dirProp = elProp\n        const value = map[key];\n        let declaredName;\n        let publicName;\n        let minifiedName;\n        if (Array.isArray(value)) {\n            [publicName, declaredName] = value;\n        }\n        else {\n            [declaredName, publicName] = splitAtColon(key, [key, value]);\n        }\n        minifiedName = declaredName;\n        return {\n            key: minifiedName,\n            // put quotes around keys that contain potentially unsafe characters\n            quoted: UNSAFE_OBJECT_KEY_NAME_REGEXP.test(minifiedName),\n            value: (keepDeclared && publicName !== declaredName) ?\n                literalArr([asLiteral(publicName), asLiteral(declaredName)]) :\n                asLiteral(publicName)\n        };\n    }));\n}\n/**\n *  Remove trailing null nodes as they are implied.\n */\nfunction trimTrailingNulls(parameters) {\n    while (isNull(parameters[parameters.length - 1])) {\n        parameters.pop();\n    }\n    return parameters;\n}\nfunction getQueryPredicate(query, constantPool) {\n    if (Array.isArray(query.predicate)) {\n        let predicate = [];\n        query.predicate.forEach((selector) => {\n            // Each item in predicates array may contain strings with comma-separated refs\n            // (for ex. 'ref, ref1, ..., refN'), thus we extract individual refs and store them\n            // as separate array entities\n            const selectors = selector.split(',').map(token => literal(token.trim()));\n            predicate.push(...selectors);\n        });\n        return constantPool.getConstLiteral(literalArr(predicate), true);\n    }\n    else {\n        return query.predicate;\n    }\n}\nfunction noop() { }\nclass DefinitionMap {\n    constructor() {\n        this.values = [];\n    }\n    set(key, value) {\n        if (value) {\n            this.values.push({ key, value, quoted: false });\n        }\n    }\n    toLiteralMap() { return literalMap(this.values); }\n}\n/**\n * Extract a map of properties to values for a given element or template node, which can be used\n * by the directive matching machinery.\n *\n * @param elOrTpl the element or template in question\n * @return an object set up for directive matching. For attributes on the element/template, this\n * object maps a property name to its (static) value. For any bindings, this map simply maps the\n * property name to an empty string.\n */\nfunction getAttrsForDirectiveMatching(elOrTpl) {\n    const attributesMap = {};\n    if (elOrTpl instanceof Template && elOrTpl.tagName !== 'ng-template') {\n        elOrTpl.templateAttrs.forEach(a => attributesMap[a.name] = '');\n    }\n    else {\n        elOrTpl.attributes.forEach(a => {\n            if (!isI18nAttribute(a.name)) {\n                attributesMap[a.name] = a.value;\n            }\n        });\n        elOrTpl.inputs.forEach(i => { attributesMap[i.name] = ''; });\n        elOrTpl.outputs.forEach(o => { attributesMap[o.name] = ''; });\n    }\n    return attributesMap;\n}\n/** Returns a call expression to a chained instruction, e.g. `property(params[0])(params[1])`. */\nfunction chainedInstruction(reference, calls, span) {\n    let expression = importExpr(reference, null, span);\n    if (calls.length > 0) {\n        for (let i = 0; i < calls.length; i++) {\n            expression = expression.callFn(calls[i], span);\n        }\n    }\n    else {\n        // Add a blank invocation, in case the `calls` array is empty.\n        expression = expression.callFn([], span);\n    }\n    return expression;\n}\n/**\n * Gets the number of arguments expected to be passed to a generated instruction in the case of\n * interpolation instructions.\n * @param interpolation An interpolation ast\n */\nfunction getInterpolationArgsLength(interpolation) {\n    const { expressions, strings } = interpolation;\n    if (expressions.length === 1 && strings.length === 2 && strings[0] === '' && strings[1] === '') {\n        // If the interpolation has one interpolated value, but the prefix and suffix are both empty\n        // strings, we only pass one argument, to a special instruction like `propertyInterpolate` or\n        // `textInterpolate`.\n        return 1;\n    }\n    else {\n        return expressions.length + strings.length;\n    }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar R3FactoryDelegateType;\n(function (R3FactoryDelegateType) {\n    R3FactoryDelegateType[R3FactoryDelegateType[\"Class\"] = 0] = \"Class\";\n    R3FactoryDelegateType[R3FactoryDelegateType[\"Function\"] = 1] = \"Function\";\n    R3FactoryDelegateType[R3FactoryDelegateType[\"Factory\"] = 2] = \"Factory\";\n})(R3FactoryDelegateType || (R3FactoryDelegateType = {}));\n/**\n * Resolved type of a dependency.\n *\n * Occasionally, dependencies will have special significance which is known statically. In that\n * case the `R3ResolvedDependencyType` informs the factory generator that a particular dependency\n * should be generated specially (usually by calling a special injection function instead of the\n * standard one).\n */\nvar R3ResolvedDependencyType;\n(function (R3ResolvedDependencyType) {\n    /**\n     * A normal token dependency.\n     */\n    R3ResolvedDependencyType[R3ResolvedDependencyType[\"Token\"] = 0] = \"Token\";\n    /**\n     * The dependency is for an attribute.\n     *\n     * The token expression is a string representing the attribute name.\n     */\n    R3ResolvedDependencyType[R3ResolvedDependencyType[\"Attribute\"] = 1] = \"Attribute\";\n    /**\n     * Injecting the `ChangeDetectorRef` token. Needs special handling when injected into a pipe.\n     */\n    R3ResolvedDependencyType[R3ResolvedDependencyType[\"ChangeDetectorRef\"] = 2] = \"ChangeDetectorRef\";\n})(R3ResolvedDependencyType || (R3ResolvedDependencyType = {}));\n/**\n * Construct a factory function expression for the given `R3FactoryMetadata`.\n */\nfunction compileFactoryFunction(meta, isPipe = false) {\n    const t = variable('t');\n    const statements = [];\n    // The type to instantiate via constructor invocation. If there is no delegated factory, meaning\n    // this type is always created by constructor invocation, then this is the type-to-create\n    // parameter provided by the user (t) if specified, or the current type if not. If there is a\n    // delegated factory (which is used to create the current type) then this is only the type-to-\n    // create parameter (t).\n    const typeForCtor = !isDelegatedMetadata(meta) ? new BinaryOperatorExpr(BinaryOperator.Or, t, meta.type) : t;\n    let ctorExpr = null;\n    if (meta.deps !== null) {\n        // There is a constructor (either explicitly or implicitly defined).\n        if (meta.deps !== 'invalid') {\n            ctorExpr =\n                new InstantiateExpr(typeForCtor, injectDependencies(meta.deps, meta.injectFn, isPipe));\n        }\n    }\n    else {\n        const baseFactory = variable(`ɵ${meta.name}_BaseFactory`);\n        const getInheritedFactory = importExpr(Identifiers$1.getInheritedFactory);\n        const baseFactoryStmt = baseFactory.set(getInheritedFactory.callFn([meta.type])).toDeclStmt(INFERRED_TYPE, [\n            StmtModifier.Exported, StmtModifier.Final\n        ]);\n        statements.push(baseFactoryStmt);\n        // There is no constructor, use the base class' factory to construct typeForCtor.\n        ctorExpr = baseFactory.callFn([typeForCtor]);\n    }\n    const ctorExprFinal = ctorExpr;\n    const body = [];\n    let retExpr = null;\n    function makeConditionalFactory(nonCtorExpr) {\n        const r = variable('r');\n        body.push(r.set(NULL_EXPR).toDeclStmt());\n        let ctorStmt = null;\n        if (ctorExprFinal !== null) {\n            ctorStmt = r.set(ctorExprFinal).toStmt();\n        }\n        else {\n            ctorStmt = makeErrorStmt(meta.name);\n        }\n        body.push(ifStmt(t, [ctorStmt], [r.set(nonCtorExpr).toStmt()]));\n        return r;\n    }\n    if (isDelegatedMetadata(meta) && meta.delegateType === R3FactoryDelegateType.Factory) {\n        const delegateFactory = variable(`ɵ${meta.name}_BaseFactory`);\n        const getFactoryOf = importExpr(Identifiers$1.getFactoryOf);\n        if (meta.delegate.isEquivalent(meta.type)) {\n            throw new Error(`Illegal state: compiling factory that delegates to itself`);\n        }\n        const delegateFactoryStmt = delegateFactory.set(getFactoryOf.callFn([meta.delegate])).toDeclStmt(INFERRED_TYPE, [\n            StmtModifier.Exported, StmtModifier.Final\n        ]);\n        statements.push(delegateFactoryStmt);\n        retExpr = makeConditionalFactory(delegateFactory.callFn([]));\n    }\n    else if (isDelegatedMetadata(meta)) {\n        // This type is created with a delegated factory. If a type parameter is not specified, call\n        // the factory instead.\n        const delegateArgs = injectDependencies(meta.delegateDeps, meta.injectFn, isPipe);\n        // Either call `new delegate(...)` or `delegate(...)` depending on meta.useNewForDelegate.\n        const factoryExpr = new (meta.delegateType === R3FactoryDelegateType.Class ?\n            InstantiateExpr :\n            InvokeFunctionExpr)(meta.delegate, delegateArgs);\n        retExpr = makeConditionalFactory(factoryExpr);\n    }\n    else if (isExpressionFactoryMetadata(meta)) {\n        // TODO(alxhub): decide whether to lower the value here or in the caller\n        retExpr = makeConditionalFactory(meta.expression);\n    }\n    else {\n        retExpr = ctorExpr;\n    }\n    if (retExpr !== null) {\n        body.push(new ReturnStatement(retExpr));\n    }\n    else {\n        body.push(makeErrorStmt(meta.name));\n    }\n    return {\n        factory: fn([new FnParam('t', DYNAMIC_TYPE)], body, INFERRED_TYPE, undefined, `${meta.name}_Factory`),\n        statements,\n    };\n}\nfunction injectDependencies(deps, injectFn, isPipe) {\n    return deps.map(dep => compileInjectDependency(dep, injectFn, isPipe));\n}\nfunction compileInjectDependency(dep, injectFn, isPipe) {\n    // Interpret the dependency according to its resolved type.\n    switch (dep.resolved) {\n        case R3ResolvedDependencyType.Token:\n        case R3ResolvedDependencyType.ChangeDetectorRef:\n            // Build up the injection flags according to the metadata.\n            const flags = 0 /* Default */ | (dep.self ? 2 /* Self */ : 0) |\n                (dep.skipSelf ? 4 /* SkipSelf */ : 0) | (dep.host ? 1 /* Host */ : 0) |\n                (dep.optional ? 8 /* Optional */ : 0);\n            // If this dependency is optional or otherwise has non-default flags, then additional\n            // parameters describing how to inject the dependency must be passed to the inject function\n            // that's being used.\n            let flagsParam = (flags !== 0 /* Default */ || dep.optional) ? literal(flags) : null;\n            // We have a separate instruction for injecting ChangeDetectorRef into a pipe.\n            if (isPipe && dep.resolved === R3ResolvedDependencyType.ChangeDetectorRef) {\n                return importExpr(Identifiers$1.injectPipeChangeDetectorRef).callFn(flagsParam ? [flagsParam] : []);\n            }\n            // Build up the arguments to the injectFn call.\n            const injectArgs = [dep.token];\n            if (flagsParam) {\n                injectArgs.push(flagsParam);\n            }\n            return importExpr(injectFn).callFn(injectArgs);\n        case R3ResolvedDependencyType.Attribute:\n            // In the case of attributes, the attribute name in question is given as the token.\n            return importExpr(Identifiers$1.injectAttribute).callFn([dep.token]);\n        default:\n            return unsupported(`Unknown R3ResolvedDependencyType: ${R3ResolvedDependencyType[dep.resolved]}`);\n    }\n}\n/**\n * A helper function useful for extracting `R3DependencyMetadata` from a Render2\n * `CompileTypeMetadata` instance.\n */\nfunction dependenciesFromGlobalMetadata(type, outputCtx, reflector) {\n    // Use the `CompileReflector` to look up references to some well-known Angular types. These will\n    // be compared with the token to statically determine whether the token has significance to\n    // Angular, and set the correct `R3ResolvedDependencyType` as a result.\n    const injectorRef = reflector.resolveExternalReference(Identifiers.Injector);\n    // Iterate through the type's DI dependencies and produce `R3DependencyMetadata` for each of them.\n    const deps = [];\n    for (let dependency of type.diDeps) {\n        if (dependency.token) {\n            const tokenRef = tokenReference(dependency.token);\n            let resolved = dependency.isAttribute ?\n                R3ResolvedDependencyType.Attribute :\n                R3ResolvedDependencyType.Token;\n            // In the case of most dependencies, the token will be a reference to a type. Sometimes,\n            // however, it can be a string, in the case of older Angular code or @Attribute injection.\n            const token = tokenRef instanceof StaticSymbol ? outputCtx.importExpr(tokenRef) : literal(tokenRef);\n            // Construct the dependency.\n            deps.push({\n                token,\n                resolved,\n                host: !!dependency.isHost,\n                optional: !!dependency.isOptional,\n                self: !!dependency.isSelf,\n                skipSelf: !!dependency.isSkipSelf,\n            });\n        }\n        else {\n            unsupported('dependency without a token');\n        }\n    }\n    return deps;\n}\nfunction makeErrorStmt(name) {\n    return new ThrowStmt(new InstantiateExpr(new ReadVarExpr('Error'), [\n        literal(`${name} has a constructor which is not compatible with Dependency Injection. It should probably not be @Injectable().`)\n    ]));\n}\nfunction isDelegatedMetadata(meta) {\n    return meta.delegateType !== undefined;\n}\nfunction isExpressionFactoryMetadata(meta) {\n    return meta.expression !== undefined;\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Convert an object map with `Expression` values into a `LiteralMapExpr`.\n */\nfunction mapToMapExpression(map) {\n    const result = Object.keys(map).map(key => ({ key, value: map[key], quoted: false }));\n    return literalMap(result);\n}\n/**\n * Convert metadata into an `Expression` in the given `OutputContext`.\n *\n * This operation will handle arrays, references to symbols, or literal `null` or `undefined`.\n */\nfunction convertMetaToOutput(meta, ctx) {\n    if (Array.isArray(meta)) {\n        return literalArr(meta.map(entry => convertMetaToOutput(entry, ctx)));\n    }\n    if (meta instanceof StaticSymbol) {\n        return ctx.importExpr(meta);\n    }\n    if (meta == null) {\n        return literal(meta);\n    }\n    throw new Error(`Internal error: Unsupported or unknown metadata: ${meta}`);\n}\nfunction typeWithParameters(type, numParams) {\n    let params = null;\n    if (numParams > 0) {\n        params = [];\n        for (let i = 0; i < numParams; i++) {\n            params.push(DYNAMIC_TYPE);\n        }\n    }\n    return expressionType(type, null, params);\n}\nconst ANIMATE_SYMBOL_PREFIX = '@';\nfunction prepareSyntheticPropertyName(name) {\n    return `${ANIMATE_SYMBOL_PREFIX}${name}`;\n}\nfunction prepareSyntheticListenerName(name, phase) {\n    return `${ANIMATE_SYMBOL_PREFIX}${name}.${phase}`;\n}\nfunction isSyntheticPropertyOrListener(name) {\n    return name.charAt(0) == ANIMATE_SYMBOL_PREFIX;\n}\nfunction getSyntheticPropertyName(name) {\n    // this will strip out listener phase values...\n    // @foo.start => @foo\n    const i = name.indexOf('.');\n    name = i > 0 ? name.substring(0, i) : name;\n    if (name.charAt(0) !== ANIMATE_SYMBOL_PREFIX) {\n        name = ANIMATE_SYMBOL_PREFIX + name;\n    }\n    return name;\n}\nfunction prepareSyntheticListenerFunctionName(name, phase) {\n    return `animation_${name}_${phase}`;\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction compileInjectable(meta) {\n    let result = null;\n    const factoryMeta = {\n        name: meta.name,\n        type: meta.type,\n        deps: meta.ctorDeps,\n        injectFn: Identifiers.inject,\n    };\n    if (meta.useClass !== undefined) {\n        // meta.useClass has two modes of operation. Either deps are specified, in which case `new` is\n        // used to instantiate the class with dependencies injected, or deps are not specified and\n        // the factory of the class is used to instantiate it.\n        //\n        // A special case exists for useClass: Type where Type is the injectable type itself and no\n        // deps are specified, in which case 'useClass' is effectively ignored.\n        const useClassOnSelf = meta.useClass.isEquivalent(meta.type);\n        let deps = undefined;\n        if (meta.userDeps !== undefined) {\n            deps = meta.userDeps;\n        }\n        if (deps !== undefined) {\n            // factory: () => new meta.useClass(...deps)\n            result = compileFactoryFunction(Object.assign({}, factoryMeta, { delegate: meta.useClass, delegateDeps: deps, delegateType: R3FactoryDelegateType.Class }));\n        }\n        else if (useClassOnSelf) {\n            result = compileFactoryFunction(factoryMeta);\n        }\n        else {\n            result = compileFactoryFunction(Object.assign({}, factoryMeta, { delegate: meta.useClass, delegateType: R3FactoryDelegateType.Factory }));\n        }\n    }\n    else if (meta.useFactory !== undefined) {\n        result = compileFactoryFunction(Object.assign({}, factoryMeta, { delegate: meta.useFactory, delegateDeps: meta.userDeps || [], delegateType: R3FactoryDelegateType.Function }));\n    }\n    else if (meta.useValue !== undefined) {\n        // Note: it's safe to use `meta.useValue` instead of the `USE_VALUE in meta` check used for\n        // client code because meta.useValue is an Expression which will be defined even if the actual\n        // value is undefined.\n        result = compileFactoryFunction(Object.assign({}, factoryMeta, { expression: meta.useValue }));\n    }\n    else if (meta.useExisting !== undefined) {\n        // useExisting is an `inject` call on the existing token.\n        result = compileFactoryFunction(Object.assign({}, factoryMeta, { expression: importExpr(Identifiers.inject).callFn([meta.useExisting]) }));\n    }\n    else {\n        result = compileFactoryFunction(factoryMeta);\n    }\n    const token = meta.type;\n    const providedIn = meta.providedIn;\n    const expression = importExpr(Identifiers.ɵɵdefineInjectable).callFn([mapToMapExpression({ token, factory: result.factory, providedIn })]);\n    const type = new ExpressionType(importExpr(Identifiers.InjectableDef, [typeWithParameters(meta.type, meta.typeArgumentCount)]));\n    return {\n        expression,\n        type,\n        statements: result.statements,\n    };\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction assertArrayOfStrings(identifier, value) {\n    if (value == null) {\n        return;\n    }\n    if (!Array.isArray(value)) {\n        throw new Error(`Expected '${identifier}' to be an array of strings.`);\n    }\n    for (let i = 0; i < value.length; i += 1) {\n        if (typeof value[i] !== 'string') {\n            throw new Error(`Expected '${identifier}' to be an array of strings.`);\n        }\n    }\n}\nconst UNUSABLE_INTERPOLATION_REGEXPS = [\n    /^\\s*$/,\n    /[<>]/,\n    /^[{}]$/,\n    /&(#|[a-z])/i,\n    /^\\/\\//,\n];\nfunction assertInterpolationSymbols(identifier, value) {\n    if (value != null && !(Array.isArray(value) && value.length == 2)) {\n        throw new Error(`Expected '${identifier}' to be an array, [start, end].`);\n    }\n    else if (value != null) {\n        const start = value[0];\n        const end = value[1];\n        // Check for unusable interpolation symbols\n        UNUSABLE_INTERPOLATION_REGEXPS.forEach(regexp => {\n            if (regexp.test(start) || regexp.test(end)) {\n                throw new Error(`['${start}', '${end}'] contains unusable interpolation symbol.`);\n            }\n        });\n    }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nclass InterpolationConfig {\n    constructor(start, end) {\n        this.start = start;\n        this.end = end;\n    }\n    static fromArray(markers) {\n        if (!markers) {\n            return DEFAULT_INTERPOLATION_CONFIG;\n        }\n        assertInterpolationSymbols('interpolation', markers);\n        return new InterpolationConfig(markers[0], markers[1]);\n    }\n}\nconst DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig('{{', '}}');\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n// https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit\nconst VERSION = 3;\nconst JS_B64_PREFIX = '# sourceMappingURL=data:application/json;base64,';\nclass SourceMapGenerator {\n    constructor(file = null) {\n        this.file = file;\n        this.sourcesContent = new Map();\n        this.lines = [];\n        this.lastCol0 = 0;\n        this.hasMappings = false;\n    }\n    // The content is `null` when the content is expected to be loaded using the URL\n    addSource(url, content = null) {\n        if (!this.sourcesContent.has(url)) {\n            this.sourcesContent.set(url, content);\n        }\n        return this;\n    }\n    addLine() {\n        this.lines.push([]);\n        this.lastCol0 = 0;\n        return this;\n    }\n    addMapping(col0, sourceUrl, sourceLine0, sourceCol0) {\n        if (!this.currentLine) {\n            throw new Error(`A line must be added before mappings can be added`);\n        }\n        if (sourceUrl != null && !this.sourcesContent.has(sourceUrl)) {\n            throw new Error(`Unknown source file \"${sourceUrl}\"`);\n        }\n        if (col0 == null) {\n            throw new Error(`The column in the generated code must be provided`);\n        }\n        if (col0 < this.lastCol0) {\n            throw new Error(`Mapping should be added in output order`);\n        }\n        if (sourceUrl && (sourceLine0 == null || sourceCol0 == null)) {\n            throw new Error(`The source location must be provided when a source url is provided`);\n        }\n        this.hasMappings = true;\n        this.lastCol0 = col0;\n        this.currentLine.push({ col0, sourceUrl, sourceLine0, sourceCol0 });\n        return this;\n    }\n    get currentLine() { return this.lines.slice(-1)[0]; }\n    toJSON() {\n        if (!this.hasMappings) {\n            return null;\n        }\n        const sourcesIndex = new Map();\n        const sources = [];\n        const sourcesContent = [];\n        Array.from(this.sourcesContent.keys()).forEach((url, i) => {\n            sourcesIndex.set(url, i);\n            sources.push(url);\n            sourcesContent.push(this.sourcesContent.get(url) || null);\n        });\n        let mappings = '';\n        let lastCol0 = 0;\n        let lastSourceIndex = 0;\n        let lastSourceLine0 = 0;\n        let lastSourceCol0 = 0;\n        this.lines.forEach(segments => {\n            lastCol0 = 0;\n            mappings += segments\n                .map(segment => {\n                // zero-based starting column of the line in the generated code\n                let segAsStr = toBase64VLQ(segment.col0 - lastCol0);\n                lastCol0 = segment.col0;\n                if (segment.sourceUrl != null) {\n                    // zero-based index into the “sources” list\n                    segAsStr +=\n                        toBase64VLQ(sourcesIndex.get(segment.sourceUrl) - lastSourceIndex);\n                    lastSourceIndex = sourcesIndex.get(segment.sourceUrl);\n                    // the zero-based starting line in the original source\n                    segAsStr += toBase64VLQ(segment.sourceLine0 - lastSourceLine0);\n                    lastSourceLine0 = segment.sourceLine0;\n                    // the zero-based starting column in the original source\n                    segAsStr += toBase64VLQ(segment.sourceCol0 - lastSourceCol0);\n                    lastSourceCol0 = segment.sourceCol0;\n                }\n                return segAsStr;\n            })\n                .join(',');\n            mappings += ';';\n        });\n        mappings = mappings.slice(0, -1);\n        return {\n            'file': this.file || '',\n            'version': VERSION,\n            'sourceRoot': '',\n            'sources': sources,\n            'sourcesContent': sourcesContent,\n            'mappings': mappings,\n        };\n    }\n    toJsComment() {\n        return this.hasMappings ? '//' + JS_B64_PREFIX + toBase64String(JSON.stringify(this, null, 0)) :\n            '';\n    }\n}\nfunction toBase64String(value) {\n    let b64 = '';\n    value = utf8Encode(value);\n    for (let i = 0; i < value.length;) {\n        const i1 = value.charCodeAt(i++);\n        const i2 = value.charCodeAt(i++);\n        const i3 = value.charCodeAt(i++);\n        b64 += toBase64Digit(i1 >> 2);\n        b64 += toBase64Digit(((i1 & 3) << 4) | (isNaN(i2) ? 0 : i2 >> 4));\n        b64 += isNaN(i2) ? '=' : toBase64Digit(((i2 & 15) << 2) | (i3 >> 6));\n        b64 += isNaN(i2) || isNaN(i3) ? '=' : toBase64Digit(i3 & 63);\n    }\n    return b64;\n}\nfunction toBase64VLQ(value) {\n    value = value < 0 ? ((-value) << 1) + 1 : value << 1;\n    let out = '';\n    do {\n        let digit = value & 31;\n        value = value >> 5;\n        if (value > 0) {\n            digit = digit | 32;\n        }\n        out += toBase64Digit(digit);\n    } while (value > 0);\n    return out;\n}\nconst B64_DIGITS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';\nfunction toBase64Digit(value) {\n    if (value < 0 || value >= 64) {\n        throw new Error(`Can only encode value in the range [0, 63]`);\n    }\n    return B64_DIGITS[value];\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\\\|\\n|\\r|\\$/g;\nconst _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;\nconst _INDENT_WITH = '  ';\nconst CATCH_ERROR_VAR$1 = variable('error', null, null);\nconst CATCH_STACK_VAR$1 = variable('stack', null, null);\nclass _EmittedLine {\n    constructor(indent) {\n        this.indent = indent;\n        this.partsLength = 0;\n        this.parts = [];\n        this.srcSpans = [];\n    }\n}\nclass EmitterVisitorContext {\n    constructor(_indent) {\n        this._indent = _indent;\n        this._classes = [];\n        this._preambleLineCount = 0;\n        this._lines = [new _EmittedLine(_indent)];\n    }\n    static createRoot() { return new EmitterVisitorContext(0); }\n    get _currentLine() { return this._lines[this._lines.length - 1]; }\n    println(from, lastPart = '') {\n        this.print(from || null, lastPart, true);\n    }\n    lineIsEmpty() { return this._currentLine.parts.length === 0; }\n    lineLength() {\n        return this._currentLine.indent * _INDENT_WITH.length + this._currentLine.partsLength;\n    }\n    print(from, part, newLine = false) {\n        if (part.length > 0) {\n            this._currentLine.parts.push(part);\n            this._currentLine.partsLength += part.length;\n            this._currentLine.srcSpans.push(from && from.sourceSpan || null);\n        }\n        if (newLine) {\n            this._lines.push(new _EmittedLine(this._indent));\n        }\n    }\n    removeEmptyLastLine() {\n        if (this.lineIsEmpty()) {\n            this._lines.pop();\n        }\n    }\n    incIndent() {\n        this._indent++;\n        if (this.lineIsEmpty()) {\n            this._currentLine.indent = this._indent;\n        }\n    }\n    decIndent() {\n        this._indent--;\n        if (this.lineIsEmpty()) {\n            this._currentLine.indent = this._indent;\n        }\n    }\n    pushClass(clazz) { this._classes.push(clazz); }\n    popClass() { return this._classes.pop(); }\n    get currentClass() {\n        return this._classes.length > 0 ? this._classes[this._classes.length - 1] : null;\n    }\n    toSource() {\n        return this.sourceLines\n            .map(l => l.parts.length > 0 ? _createIndent(l.indent) + l.parts.join('') : '')\n            .join('\\n');\n    }\n    toSourceMapGenerator(genFilePath, startsAtLine = 0) {\n        const map = new SourceMapGenerator(genFilePath);\n        let firstOffsetMapped = false;\n        const mapFirstOffsetIfNeeded = () => {\n            if (!firstOffsetMapped) {\n                // Add a single space so that tools won't try to load the file from disk.\n                // Note: We are using virtual urls like `ng:///`, so we have to\n                // provide a content here.\n                map.addSource(genFilePath, ' ').addMapping(0, genFilePath, 0, 0);\n                firstOffsetMapped = true;\n            }\n        };\n        for (let i = 0; i < startsAtLine; i++) {\n            map.addLine();\n            mapFirstOffsetIfNeeded();\n        }\n        this.sourceLines.forEach((line, lineIdx) => {\n            map.addLine();\n            const spans = line.srcSpans;\n            const parts = line.parts;\n            let col0 = line.indent * _INDENT_WITH.length;\n            let spanIdx = 0;\n            // skip leading parts without source spans\n            while (spanIdx < spans.length && !spans[spanIdx]) {\n                col0 += parts[spanIdx].length;\n                spanIdx++;\n            }\n            if (spanIdx < spans.length && lineIdx === 0 && col0 === 0) {\n                firstOffsetMapped = true;\n            }\n            else {\n                mapFirstOffsetIfNeeded();\n            }\n            while (spanIdx < spans.length) {\n                const span = spans[spanIdx];\n                const source = span.start.file;\n                const sourceLine = span.start.line;\n                const sourceCol = span.start.col;\n                map.addSource(source.url, source.content)\n                    .addMapping(col0, source.url, sourceLine, sourceCol);\n                col0 += parts[spanIdx].length;\n                spanIdx++;\n                // assign parts without span or the same span to the previous segment\n                while (spanIdx < spans.length && (span === spans[spanIdx] || !spans[spanIdx])) {\n                    col0 += parts[spanIdx].length;\n                    spanIdx++;\n                }\n            }\n        });\n        return map;\n    }\n    setPreambleLineCount(count) { return this._preambleLineCount = count; }\n    spanOf(line, column) {\n        const emittedLine = this._lines[line - this._preambleLineCount];\n        if (emittedLine) {\n            let columnsLeft = column - _createIndent(emittedLine.indent).length;\n            for (let partIndex = 0; partIndex < emittedLine.parts.length; partIndex++) {\n                const part = emittedLine.parts[partIndex];\n                if (part.length > columnsLeft) {\n                    return emittedLine.srcSpans[partIndex];\n                }\n                columnsLeft -= part.length;\n            }\n        }\n        return null;\n    }\n    get sourceLines() {\n        if (this._lines.length && this._lines[this._lines.length - 1].parts.length === 0) {\n            return this._lines.slice(0, -1);\n        }\n        return this._lines;\n    }\n}\nclass AbstractEmitterVisitor {\n    constructor(_escapeDollarInStrings) {\n        this._escapeDollarInStrings = _escapeDollarInStrings;\n    }\n    visitExpressionStmt(stmt, ctx) {\n        stmt.expr.visitExpression(this, ctx);\n        ctx.println(stmt, ';');\n        return null;\n    }\n    visitReturnStmt(stmt, ctx) {\n        ctx.print(stmt, `return `);\n        stmt.value.visitExpression(this, ctx);\n        ctx.println(stmt, ';');\n        return null;\n    }\n    visitIfStmt(stmt, ctx) {\n        ctx.print(stmt, `if (`);\n        stmt.condition.visitExpression(this, ctx);\n        ctx.print(stmt, `) {`);\n        const hasElseCase = stmt.falseCase != null && stmt.falseCase.length > 0;\n        if (stmt.trueCase.length <= 1 && !hasElseCase) {\n            ctx.print(stmt, ` `);\n            this.visitAllStatements(stmt.trueCase, ctx);\n            ctx.removeEmptyLastLine();\n            ctx.print(stmt, ` `);\n        }\n        else {\n            ctx.println();\n            ctx.incIndent();\n            this.visitAllStatements(stmt.trueCase, ctx);\n            ctx.decIndent();\n            if (hasElseCase) {\n                ctx.println(stmt, `} else {`);\n                ctx.incIndent();\n                this.visitAllStatements(stmt.falseCase, ctx);\n                ctx.decIndent();\n            }\n        }\n        ctx.println(stmt, `}`);\n        return null;\n    }\n    visitThrowStmt(stmt, ctx) {\n        ctx.print(stmt, `throw `);\n        stmt.error.visitExpression(this, ctx);\n        ctx.println(stmt, `;`);\n        return null;\n    }\n    visitCommentStmt(stmt, ctx) {\n        if (stmt.multiline) {\n            ctx.println(stmt, `/* ${stmt.comment} */`);\n        }\n        else {\n            stmt.comment.split('\\n').forEach((line) => { ctx.println(stmt, `// ${line}`); });\n        }\n        return null;\n    }\n    visitJSDocCommentStmt(stmt, ctx) {\n        ctx.println(stmt, `/*${stmt.toString()}*/`);\n        return null;\n    }\n    visitWriteVarExpr(expr, ctx) {\n        const lineWasEmpty = ctx.lineIsEmpty();\n        if (!lineWasEmpty) {\n            ctx.print(expr, '(');\n        }\n        ctx.print(expr, `${expr.name} = `);\n        expr.value.visitExpression(this, ctx);\n        if (!lineWasEmpty) {\n            ctx.print(expr, ')');\n        }\n        return null;\n    }\n    visitWriteKeyExpr(expr, ctx) {\n        const lineWasEmpty = ctx.lineIsEmpty();\n        if (!lineWasEmpty) {\n            ctx.print(expr, '(');\n        }\n        expr.receiver.visitExpression(this, ctx);\n        ctx.print(expr, `[`);\n        expr.index.visitExpression(this, ctx);\n        ctx.print(expr, `] = `);\n        expr.value.visitExpression(this, ctx);\n        if (!lineWasEmpty) {\n            ctx.print(expr, ')');\n        }\n        return null;\n    }\n    visitWritePropExpr(expr, ctx) {\n        const lineWasEmpty = ctx.lineIsEmpty();\n        if (!lineWasEmpty) {\n            ctx.print(expr, '(');\n        }\n        expr.receiver.visitExpression(this, ctx);\n        ctx.print(expr, `.${expr.name} = `);\n        expr.value.visitExpression(this, ctx);\n        if (!lineWasEmpty) {\n            ctx.print(expr, ')');\n        }\n        return null;\n    }\n    visitInvokeMethodExpr(expr, ctx) {\n        expr.receiver.visitExpression(this, ctx);\n        let name = expr.name;\n        if (expr.builtin != null) {\n            name = this.getBuiltinMethodName(expr.builtin);\n            if (name == null) {\n                // some builtins just mean to skip the call.\n                return null;\n            }\n        }\n        ctx.print(expr, `.${name}(`);\n        this.visitAllExpressions(expr.args, ctx, `,`);\n        ctx.print(expr, `)`);\n        return null;\n    }\n    visitInvokeFunctionExpr(expr, ctx) {\n        expr.fn.visitExpression(this, ctx);\n        ctx.print(expr, `(`);\n        this.visitAllExpressions(expr.args, ctx, ',');\n        ctx.print(expr, `)`);\n        return null;\n    }\n    visitWrappedNodeExpr(ast, ctx) {\n        throw new Error('Abstract emitter cannot visit WrappedNodeExpr.');\n    }\n    visitTypeofExpr(expr, ctx) {\n        ctx.print(expr, 'typeof ');\n        expr.expr.visitExpression(this, ctx);\n    }\n    visitReadVarExpr(ast, ctx) {\n        let varName = ast.name;\n        if (ast.builtin != null) {\n            switch (ast.builtin) {\n                case BuiltinVar.Super:\n                    varName = 'super';\n                    break;\n                case BuiltinVar.This:\n                    varName = 'this';\n                    break;\n                case BuiltinVar.CatchError:\n                    varName = CATCH_ERROR_VAR$1.name;\n                    break;\n                case BuiltinVar.CatchStack:\n                    varName = CATCH_STACK_VAR$1.name;\n                    break;\n                default:\n                    throw new Error(`Unknown builtin variable ${ast.builtin}`);\n            }\n        }\n        ctx.print(ast, varName);\n        return null;\n    }\n    visitInstantiateExpr(ast, ctx) {\n        ctx.print(ast, `new `);\n        ast.classExpr.visitExpression(this, ctx);\n        ctx.print(ast, `(`);\n        this.visitAllExpressions(ast.args, ctx, ',');\n        ctx.print(ast, `)`);\n        return null;\n    }\n    visitLiteralExpr(ast, ctx) {\n        const value = ast.value;\n        if (typeof value === 'string') {\n            ctx.print(ast, escapeIdentifier(value, this._escapeDollarInStrings));\n        }\n        else {\n            ctx.print(ast, `${value}`);\n        }\n        return null;\n    }\n    visitConditionalExpr(ast, ctx) {\n        ctx.print(ast, `(`);\n        ast.condition.visitExpression(this, ctx);\n        ctx.print(ast, '? ');\n        ast.trueCase.visitExpression(this, ctx);\n        ctx.print(ast, ': ');\n        ast.falseCase.visitExpression(this, ctx);\n        ctx.print(ast, `)`);\n        return null;\n    }\n    visitNotExpr(ast, ctx) {\n        ctx.print(ast, '!');\n        ast.condition.visitExpression(this, ctx);\n        return null;\n    }\n    visitAssertNotNullExpr(ast, ctx) {\n        ast.condition.visitExpression(this, ctx);\n        return null;\n    }\n    visitBinaryOperatorExpr(ast, ctx) {\n        let opStr;\n        switch (ast.operator) {\n            case BinaryOperator.Equals:\n                opStr = '==';\n                break;\n            case BinaryOperator.Identical:\n                opStr = '===';\n                break;\n            case BinaryOperator.NotEquals:\n                opStr = '!=';\n                break;\n            case BinaryOperator.NotIdentical:\n                opStr = '!==';\n                break;\n            case BinaryOperator.And:\n                opStr = '&&';\n                break;\n            case BinaryOperator.BitwiseAnd:\n                opStr = '&';\n                break;\n            case BinaryOperator.Or:\n                opStr = '||';\n                break;\n            case BinaryOperator.Plus:\n                opStr = '+';\n                break;\n            case BinaryOperator.Minus:\n                opStr = '-';\n                break;\n            case BinaryOperator.Divide:\n                opStr = '/';\n                break;\n            case BinaryOperator.Multiply:\n                opStr = '*';\n                break;\n            case BinaryOperator.Modulo:\n                opStr = '%';\n                break;\n            case BinaryOperator.Lower:\n                opStr = '<';\n                break;\n            case BinaryOperator.LowerEquals:\n                opStr = '<=';\n                break;\n            case BinaryOperator.Bigger:\n                opStr = '>';\n                break;\n            case BinaryOperator.BiggerEquals:\n                opStr = '>=';\n                break;\n            default:\n                throw new Error(`Unknown operator ${ast.operator}`);\n        }\n        if (ast.parens)\n            ctx.print(ast, `(`);\n        ast.lhs.visitExpression(this, ctx);\n        ctx.print(ast, ` ${opStr} `);\n        ast.rhs.visitExpression(this, ctx);\n        if (ast.parens)\n            ctx.print(ast, `)`);\n        return null;\n    }\n    visitReadPropExpr(ast, ctx) {\n        ast.receiver.visitExpression(this, ctx);\n        ctx.print(ast, `.`);\n        ctx.print(ast, ast.name);\n        return null;\n    }\n    visitReadKeyExpr(ast, ctx) {\n        ast.receiver.visitExpression(this, ctx);\n        ctx.print(ast, `[`);\n        ast.index.visitExpression(this, ctx);\n        ctx.print(ast, `]`);\n        return null;\n    }\n    visitLiteralArrayExpr(ast, ctx) {\n        ctx.print(ast, `[`);\n        this.visitAllExpressions(ast.entries, ctx, ',');\n        ctx.print(ast, `]`);\n        return null;\n    }\n    visitLiteralMapExpr(ast, ctx) {\n        ctx.print(ast, `{`);\n        this.visitAllObjects(entry => {\n            ctx.print(ast, `${escapeIdentifier(entry.key, this._escapeDollarInStrings, entry.quoted)}:`);\n            entry.value.visitExpression(this, ctx);\n        }, ast.entries, ctx, ',');\n        ctx.print(ast, `}`);\n        return null;\n    }\n    visitCommaExpr(ast, ctx) {\n        ctx.print(ast, '(');\n        this.visitAllExpressions(ast.parts, ctx, ',');\n        ctx.print(ast, ')');\n        return null;\n    }\n    visitAllExpressions(expressions, ctx, separator) {\n        this.visitAllObjects(expr => expr.visitExpression(this, ctx), expressions, ctx, separator);\n    }\n    visitAllObjects(handler, expressions, ctx, separator) {\n        let incrementedIndent = false;\n        for (let i = 0; i < expressions.length; i++) {\n            if (i > 0) {\n                if (ctx.lineLength() > 80) {\n                    ctx.print(null, separator, true);\n                    if (!incrementedIndent) {\n                        // continuation are marked with double indent.\n                        ctx.incIndent();\n                        ctx.incIndent();\n                        incrementedIndent = true;\n                    }\n                }\n                else {\n                    ctx.print(null, separator, false);\n                }\n            }\n            handler(expressions[i]);\n        }\n        if (incrementedIndent) {\n            // continuation are marked with double indent.\n            ctx.decIndent();\n            ctx.decIndent();\n        }\n    }\n    visitAllStatements(statements, ctx) {\n        statements.forEach((stmt) => stmt.visitStatement(this, ctx));\n    }\n}\nfunction escapeIdentifier(input, escapeDollar, alwaysQuote = true) {\n    if (input == null) {\n        return null;\n    }\n    const body = input.replace(_SINGLE_QUOTE_ESCAPE_STRING_RE, (...match) => {\n        if (match[0] == '$') {\n            return escapeDollar ? '\\\\$' : '$';\n        }\n        else if (match[0] == '\\n') {\n            return '\\\\n';\n        }\n        else if (match[0] == '\\r') {\n            return '\\\\r';\n        }\n        else {\n            return `\\\\${match[0]}`;\n        }\n    });\n    const requiresQuotes = alwaysQuote || !_LEGAL_IDENTIFIER_RE.test(body);\n    return requiresQuotes ? `'${body}'` : body;\n}\nfunction _createIndent(count) {\n    let res = '';\n    for (let i = 0; i < count; i++) {\n        res += _INDENT_WITH;\n    }\n    return res;\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nclass AbstractJsEmitterVisitor extends AbstractEmitterVisitor {\n    constructor() { super(false); }\n    visitDeclareClassStmt(stmt, ctx) {\n        ctx.pushClass(stmt);\n        this._visitClassConstructor(stmt, ctx);\n        if (stmt.parent != null) {\n            ctx.print(stmt, `${stmt.name}.prototype = Object.create(`);\n            stmt.parent.visitExpression(this, ctx);\n            ctx.println(stmt, `.prototype);`);\n        }\n        stmt.getters.forEach((getter) => this._visitClassGetter(stmt, getter, ctx));\n        stmt.methods.forEach((method) => this._visitClassMethod(stmt, method, ctx));\n        ctx.popClass();\n        return null;\n    }\n    _visitClassConstructor(stmt, ctx) {\n        ctx.print(stmt, `function ${stmt.name}(`);\n        if (stmt.constructorMethod != null) {\n            this._visitParams(stmt.constructorMethod.params, ctx);\n        }\n        ctx.println(stmt, `) {`);\n        ctx.incIndent();\n        if (stmt.constructorMethod != null) {\n            if (stmt.constructorMethod.body.length > 0) {\n                ctx.println(stmt, `var self = this;`);\n                this.visitAllStatements(stmt.constructorMethod.body, ctx);\n            }\n        }\n        ctx.decIndent();\n        ctx.println(stmt, `}`);\n    }\n    _visitClassGetter(stmt, getter, ctx) {\n        ctx.println(stmt, `Object.defineProperty(${stmt.name}.prototype, '${getter.name}', { get: function() {`);\n        ctx.incIndent();\n        if (getter.body.length > 0) {\n            ctx.println(stmt, `var self = this;`);\n            this.visitAllStatements(getter.body, ctx);\n        }\n        ctx.decIndent();\n        ctx.println(stmt, `}});`);\n    }\n    _visitClassMethod(stmt, method, ctx) {\n        ctx.print(stmt, `${stmt.name}.prototype.${method.name} = function(`);\n        this._visitParams(method.params, ctx);\n        ctx.println(stmt, `) {`);\n        ctx.incIndent();\n        if (method.body.length > 0) {\n            ctx.println(stmt, `var self = this;`);\n            this.visitAllStatements(method.body, ctx);\n        }\n        ctx.decIndent();\n        ctx.println(stmt, `};`);\n    }\n    visitWrappedNodeExpr(ast, ctx) {\n        throw new Error('Cannot emit a WrappedNodeExpr in Javascript.');\n    }\n    visitReadVarExpr(ast, ctx) {\n        if (ast.builtin === BuiltinVar.This) {\n            ctx.print(ast, 'self');\n        }\n        else if (ast.builtin === BuiltinVar.Super) {\n            throw new Error(`'super' needs to be handled at a parent ast node, not at the variable level!`);\n        }\n        else {\n            super.visitReadVarExpr(ast, ctx);\n        }\n        return null;\n    }\n    visitDeclareVarStmt(stmt, ctx) {\n        ctx.print(stmt, `var ${stmt.name}`);\n        if (stmt.value) {\n            ctx.print(stmt, ' = ');\n            stmt.value.visitExpression(this, ctx);\n        }\n        ctx.println(stmt, `;`);\n        return null;\n    }\n    visitCastExpr(ast, ctx) {\n        ast.value.visitExpression(this, ctx);\n        return null;\n    }\n    visitInvokeFunctionExpr(expr, ctx) {\n        const fnExpr = expr.fn;\n        if (fnExpr instanceof ReadVarExpr && fnExpr.builtin === BuiltinVar.Super) {\n            ctx.currentClass.parent.visitExpression(this, ctx);\n            ctx.print(expr, `.call(this`);\n            if (expr.args.length > 0) {\n                ctx.print(expr, `, `);\n                this.visitAllExpressions(expr.args, ctx, ',');\n            }\n            ctx.print(expr, `)`);\n        }\n        else {\n            super.visitInvokeFunctionExpr(expr, ctx);\n        }\n        return null;\n    }\n    visitFunctionExpr(ast, ctx) {\n        ctx.print(ast, `function${ast.name ? ' ' + ast.name : ''}(`);\n        this._visitParams(ast.params, ctx);\n        ctx.println(ast, `) {`);\n        ctx.incIndent();\n        this.visitAllStatements(ast.statements, ctx);\n        ctx.decIndent();\n        ctx.print(ast, `}`);\n        return null;\n    }\n    visitDeclareFunctionStmt(stmt, ctx) {\n        ctx.print(stmt, `function ${stmt.name}(`);\n        this._visitParams(stmt.params, ctx);\n        ctx.println(stmt, `) {`);\n        ctx.incIndent();\n        this.visitAllStatements(stmt.statements, ctx);\n        ctx.decIndent();\n        ctx.println(stmt, `}`);\n        return null;\n    }\n    visitTryCatchStmt(stmt, ctx) {\n        ctx.println(stmt, `try {`);\n        ctx.incIndent();\n        this.visitAllStatements(stmt.bodyStmts, ctx);\n        ctx.decIndent();\n        ctx.println(stmt, `} catch (${CATCH_ERROR_VAR$1.name}) {`);\n        ctx.incIndent();\n        const catchStmts = [CATCH_STACK_VAR$1.set(CATCH_ERROR_VAR$1.prop('stack')).toDeclStmt(null, [\n                StmtModifier.Final\n            ])].concat(stmt.catchStmts);\n        this.visitAllStatements(catchStmts, ctx);\n        ctx.decIndent();\n        ctx.println(stmt, `}`);\n        return null;\n    }\n    _visitParams(params, ctx) {\n        this.visitAllObjects(param => ctx.print(null, param.name), params, ctx, ',');\n    }\n    getBuiltinMethodName(method) {\n        let name;\n        switch (method) {\n            case BuiltinMethod.ConcatArray:\n                name = 'concat';\n                break;\n            case BuiltinMethod.SubscribeObservable:\n                name = 'subscribe';\n                break;\n            case BuiltinMethod.Bind:\n                name = 'bind';\n                break;\n            default:\n                throw new Error(`Unknown builtin method: ${method}`);\n        }\n        return name;\n    }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * A helper class to manage the evaluation of JIT generated code.\n */\nclass JitEvaluator {\n    /**\n     *\n     * @param sourceUrl The URL of the generated code.\n     * @param statements An array of Angular statement AST nodes to be evaluated.\n     * @param reflector A helper used when converting the statements to executable code.\n     * @param createSourceMaps If true then create a source-map for the generated code and include it\n     * inline as a source-map comment.\n     * @returns A map of all the variables in the generated code.\n     */\n    evaluateStatements(sourceUrl, statements, reflector, createSourceMaps) {\n        const converter = new JitEmitterVisitor(reflector);\n        const ctx = EmitterVisitorContext.createRoot();\n        // Ensure generated code is in strict mode\n        if (statements.length > 0 && !isUseStrictStatement(statements[0])) {\n            statements = [\n                literal('use strict').toStmt(),\n                ...statements,\n            ];\n        }\n        converter.visitAllStatements(statements, ctx);\n        converter.createReturnStmt(ctx);\n        return this.evaluateCode(sourceUrl, ctx, converter.getArgs(), createSourceMaps);\n    }\n    /**\n     * Evaluate a piece of JIT generated code.\n     * @param sourceUrl The URL of this generated code.\n     * @param ctx A context object that contains an AST of the code to be evaluated.\n     * @param vars A map containing the names and values of variables that the evaluated code might\n     * reference.\n     * @param createSourceMap If true then create a source-map for the generated code and include it\n     * inline as a source-map comment.\n     * @returns The result of evaluating the code.\n     */\n    evaluateCode(sourceUrl, ctx, vars, createSourceMap) {\n        let fnBody = `\"use strict\";${ctx.toSource()}\\n//# sourceURL=${sourceUrl}`;\n        const fnArgNames = [];\n        const fnArgValues = [];\n        for (const argName in vars) {\n            fnArgValues.push(vars[argName]);\n            fnArgNames.push(argName);\n        }\n        if (createSourceMap) {\n            // using `new Function(...)` generates a header, 1 line of no arguments, 2 lines otherwise\n            // E.g. ```\n            // function anonymous(a,b,c\n            // /**/) { ... }```\n            // We don't want to hard code this fact, so we auto detect it via an empty function first.\n            const emptyFn = new Function(...fnArgNames.concat('return null;')).toString();\n            const headerLines = emptyFn.slice(0, emptyFn.indexOf('return null;')).split('\\n').length - 1;\n            fnBody += `\\n${ctx.toSourceMapGenerator(sourceUrl, headerLines).toJsComment()}`;\n        }\n        const fn = new Function(...fnArgNames.concat(fnBody));\n        return this.executeFunction(fn, fnArgValues);\n    }\n    /**\n     * Execute a JIT generated function by calling it.\n     *\n     * This method can be overridden in tests to capture the functions that are generated\n     * by this `JitEvaluator` class.\n     *\n     * @param fn A function to execute.\n     * @param args The arguments to pass to the function being executed.\n     * @returns The return value of the executed function.\n     */\n    executeFunction(fn, args) { return fn(...args); }\n}\n/**\n * An Angular AST visitor that converts AST nodes into executable JavaScript code.\n */\nclass JitEmitterVisitor extends AbstractJsEmitterVisitor {\n    constructor(reflector) {\n        super();\n        this.reflector = reflector;\n        this._evalArgNames = [];\n        this._evalArgValues = [];\n        this._evalExportedVars = [];\n    }\n    createReturnStmt(ctx) {\n        const stmt = new ReturnStatement(new LiteralMapExpr(this._evalExportedVars.map(resultVar => new LiteralMapEntry(resultVar, variable(resultVar), false))));\n        stmt.visitStatement(this, ctx);\n    }\n    getArgs() {\n        const result = {};\n        for (let i = 0; i < this._evalArgNames.length; i++) {\n            result[this._evalArgNames[i]] = this._evalArgValues[i];\n        }\n        return result;\n    }\n    visitExternalExpr(ast, ctx) {\n        this._emitReferenceToExternal(ast, this.reflector.resolveExternalReference(ast.value), ctx);\n        return null;\n    }\n    visitWrappedNodeExpr(ast, ctx) {\n        this._emitReferenceToExternal(ast, ast.node, ctx);\n        return null;\n    }\n    visitDeclareVarStmt(stmt, ctx) {\n        if (stmt.hasModifier(StmtModifier.Exported)) {\n            this._evalExportedVars.push(stmt.name);\n        }\n        return super.visitDeclareVarStmt(stmt, ctx);\n    }\n    visitDeclareFunctionStmt(stmt, ctx) {\n        if (stmt.hasModifier(StmtModifier.Exported)) {\n            this._evalExportedVars.push(stmt.name);\n        }\n        return super.visitDeclareFunctionStmt(stmt, ctx);\n    }\n    visitDeclareClassStmt(stmt, ctx) {\n        if (stmt.hasModifier(StmtModifier.Exported)) {\n            this._evalExportedVars.push(stmt.name);\n        }\n        return super.visitDeclareClassStmt(stmt, ctx);\n    }\n    _emitReferenceToExternal(ast, value, ctx) {\n        let id = this._evalArgValues.indexOf(value);\n        if (id === -1) {\n            id = this._evalArgValues.length;\n            this._evalArgValues.push(value);\n            const name = identifierName({ reference: value }) || 'val';\n            this._evalArgNames.push(`jit_${name}_${id}`);\n        }\n        ctx.print(ast, this._evalArgNames[id]);\n    }\n}\nfunction isUseStrictStatement(statement) {\n    return statement.isEquivalent(literal('use strict').toStmt());\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Implementation of `CompileReflector` which resolves references to @angular/core\n * symbols at runtime, according to a consumer-provided mapping.\n *\n * Only supports `resolveExternalReference`, all other methods throw.\n */\nclass R3JitReflector {\n    constructor(context) {\n        this.context = context;\n    }\n    resolveExternalReference(ref) {\n        // This reflector only handles @angular/core imports.\n        if (ref.moduleName !== '@angular/core') {\n            throw new Error(`Cannot resolve external reference to ${ref.moduleName}, only references to @angular/core are supported.`);\n        }\n        if (!this.context.hasOwnProperty(ref.name)) {\n            throw new Error(`No value provided for @angular/core symbol '${ref.name}'.`);\n        }\n        return this.context[ref.name];\n    }\n    parameters(typeOrFunc) { throw new Error('Not implemented.'); }\n    annotations(typeOrFunc) { throw new Error('Not implemented.'); }\n    shallowAnnotations(typeOrFunc) { throw new Error('Not implemented.'); }\n    tryAnnotations(typeOrFunc) { throw new Error('Not implemented.'); }\n    propMetadata(typeOrFunc) { throw new Error('Not implemented.'); }\n    hasLifecycleHook(type, lcProperty) { throw new Error('Not implemented.'); }\n    guards(typeOrFunc) { throw new Error('Not implemented.'); }\n    componentModuleUrl(type, cmpMetadata) { throw new Error('Not implemented.'); }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Construct an `R3NgModuleDef` for the given `R3NgModuleMetadata`.\n */\nfunction compileNgModule(meta) {\n    const { type: moduleType, bootstrap, declarations, imports, exports, schemas, containsForwardDecls, emitInline, id } = meta;\n    const additionalStatements = [];\n    const definitionMap = {\n        type: moduleType\n    };\n    // Only generate the keys in the metadata if the arrays have values.\n    if (bootstrap.length) {\n        definitionMap.bootstrap = refsToArray(bootstrap, containsForwardDecls);\n    }\n    // If requested to emit scope information inline, pass the declarations, imports and exports to\n    // the `ɵɵdefineNgModule` call. The JIT compilation uses this.\n    if (emitInline) {\n        if (declarations.length) {\n            definitionMap.declarations = refsToArray(declarations, containsForwardDecls);\n        }\n        if (imports.length) {\n            definitionMap.imports = refsToArray(imports, containsForwardDecls);\n        }\n        if (exports.length) {\n            definitionMap.exports = refsToArray(exports, containsForwardDecls);\n        }\n    }\n    // If not emitting inline, the scope information is not passed into `ɵɵdefineNgModule` as it would\n    // prevent tree-shaking of the declarations, imports and exports references.\n    else {\n        const setNgModuleScopeCall = generateSetNgModuleScopeCall(meta);\n        if (setNgModuleScopeCall !== null) {\n            additionalStatements.push(setNgModuleScopeCall);\n        }\n    }\n    if (schemas && schemas.length) {\n        definitionMap.schemas = literalArr(schemas.map(ref => ref.value));\n    }\n    if (id) {\n        definitionMap.id = id;\n    }\n    const expression = importExpr(Identifiers$1.defineNgModule).callFn([mapToMapExpression(definitionMap)]);\n    const type = new ExpressionType(importExpr(Identifiers$1.NgModuleDefWithMeta, [\n        new ExpressionType(moduleType), tupleTypeOf(declarations), tupleTypeOf(imports),\n        tupleTypeOf(exports)\n    ]));\n    return { expression, type, additionalStatements };\n}\n/**\n * Generates a function call to `ɵɵsetNgModuleScope` with all necessary information so that the\n * transitive module scope can be computed during runtime in JIT mode. This call is marked pure\n * such that the references to declarations, imports and exports may be elided causing these\n * symbols to become tree-shakeable.\n */\nfunction generateSetNgModuleScopeCall(meta) {\n    const { type: moduleType, declarations, imports, exports, containsForwardDecls } = meta;\n    const scopeMap = {};\n    if (declarations.length) {\n        scopeMap.declarations = refsToArray(declarations, containsForwardDecls);\n    }\n    if (imports.length) {\n        scopeMap.imports = refsToArray(imports, containsForwardDecls);\n    }\n    if (exports.length) {\n        scopeMap.exports = refsToArray(exports, containsForwardDecls);\n    }\n    if (Object.keys(scopeMap).length === 0) {\n        return null;\n    }\n    const fnCall = new InvokeFunctionExpr(\n    /* fn */ importExpr(Identifiers$1.setNgModuleScope), \n    /* args */ [moduleType, mapToMapExpression(scopeMap)], \n    /* type */ undefined, \n    /* sourceSpan */ undefined, \n    /* pure */ true);\n    return fnCall.toStmt();\n}\nfunction compileInjector(meta) {\n    const result = compileFactoryFunction({\n        name: meta.name,\n        type: meta.type,\n        deps: meta.deps,\n        injectFn: Identifiers$1.inject,\n    });\n    const definitionMap = {\n        factory: result.factory,\n    };\n    if (meta.providers !== null) {\n        definitionMap.providers = meta.providers;\n    }\n    if (meta.imports.length > 0) {\n        definitionMap.imports = literalArr(meta.imports);\n    }\n    const expression = importExpr(Identifiers$1.defineInjector).callFn([mapToMapExpression(definitionMap)]);\n    const type = new ExpressionType(importExpr(Identifiers$1.InjectorDef, [new ExpressionType(meta.type)]));\n    return { expression, type, statements: result.statements };\n}\n// TODO(alxhub): integrate this with `compileNgModule`. Currently the two are separate operations.\nfunction compileNgModuleFromRender2(ctx, ngModule, injectableCompiler) {\n    const className = identifierName(ngModule.type);\n    const rawImports = ngModule.rawImports ? [ngModule.rawImports] : [];\n    const rawExports = ngModule.rawExports ? [ngModule.rawExports] : [];\n    const injectorDefArg = mapLiteral({\n        'factory': injectableCompiler.factoryFor({ type: ngModule.type, symbol: ngModule.type.reference }, ctx),\n        'providers': convertMetaToOutput(ngModule.rawProviders, ctx),\n        'imports': convertMetaToOutput([...rawImports, ...rawExports], ctx),\n    });\n    const injectorDef = importExpr(Identifiers$1.defineInjector).callFn([injectorDefArg]);\n    ctx.statements.push(new ClassStmt(\n    /* name */ className, \n    /* parent */ null, \n    /* fields */ [new ClassField(\n        /* name */ 'ngInjectorDef', \n        /* type */ INFERRED_TYPE, \n        /* modifiers */ [StmtModifier.Static], \n        /* initializer */ injectorDef)], \n    /* getters */ [], \n    /* constructorMethod */ new ClassMethod(null, [], []), \n    /* methods */ []));\n}\nfunction accessExportScope(module) {\n    const selectorScope = new ReadPropExpr(module, 'ngModuleDef');\n    return new ReadPropExpr(selectorScope, 'exported');\n}\nfunction tupleTypeOf(exp) {\n    const types = exp.map(ref => typeofExpr(ref.type));\n    return exp.length > 0 ? expressionType(literalArr(types)) : NONE_TYPE;\n}\nfunction refsToArray(refs, shouldForwardDeclare) {\n    const values = literalArr(refs.map(ref => ref.value));\n    return shouldForwardDeclare ? fn([], [new ReturnStatement(values)]) : values;\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction compilePipeFromMetadata(metadata) {\n    const definitionMapValues = [];\n    // e.g. `name: 'myPipe'`\n    definitionMapValues.push({ key: 'name', value: literal(metadata.pipeName), quoted: false });\n    // e.g. `type: MyPipe`\n    definitionMapValues.push({ key: 'type', value: metadata.type, quoted: false });\n    const templateFactory = compileFactoryFunction({\n        name: metadata.name,\n        type: metadata.type,\n        deps: metadata.deps,\n        injectFn: Identifiers$1.directiveInject,\n    }, true);\n    definitionMapValues.push({ key: 'factory', value: templateFactory.factory, quoted: false });\n    // e.g. `pure: true`\n    definitionMapValues.push({ key: 'pure', value: literal(metadata.pure), quoted: false });\n    const expression = importExpr(Identifiers$1.definePipe).callFn([literalMap(definitionMapValues)]);\n    const type = new ExpressionType(importExpr(Identifiers$1.PipeDefWithMeta, [\n        typeWithParameters(metadata.type, metadata.typeArgumentCount),\n        new ExpressionType(new LiteralExpr(metadata.pipeName)),\n    ]));\n    return { expression, type, statements: templateFactory.statements };\n}\n/**\n * Write a pipe definition to the output context.\n */\nfunction compilePipeFromRender2(outputCtx, pipe, reflector) {\n    const definitionMapValues = [];\n    const name = identifierName(pipe.type);\n    if (!name) {\n        return error(`Cannot resolve the name of ${pipe.type}`);\n    }\n    const metadata = {\n        name,\n        pipeName: pipe.name,\n        type: outputCtx.importExpr(pipe.type.reference),\n        typeArgumentCount: 0,\n        deps: dependenciesFromGlobalMetadata(pipe.type, outputCtx, reflector),\n        pure: pipe.pure,\n    };\n    const res = compilePipeFromMetadata(metadata);\n    const definitionField = outputCtx.constantPool.propertyNameOf(3 /* Pipe */);\n    outputCtx.statements.push(new ClassStmt(\n    /* name */ name, \n    /* parent */ null, \n    /* fields */ [new ClassField(\n        /* name */ definitionField, \n        /* type */ INFERRED_TYPE, \n        /* modifiers */ [StmtModifier.Static], \n        /* initializer */ res.expression)], \n    /* getters */ [], \n    /* constructorMethod */ new ClassMethod(null, [], []), \n    /* methods */ []));\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nclass ParserError {\n    constructor(message, input, errLocation, ctxLocation) {\n        this.input = input;\n        this.errLocation = errLocation;\n        this.ctxLocation = ctxLocation;\n        this.message = `Parser Error: ${message} ${errLocation} [${input}] in ${ctxLocation}`;\n    }\n}\nclass ParseSpan {\n    constructor(start, end) {\n        this.start = start;\n        this.end = end;\n    }\n}\nclass AST {\n    constructor(span) {\n        this.span = span;\n    }\n    visit(visitor, context = null) { return null; }\n    toString() { return 'AST'; }\n}\n/**\n * Represents a quoted expression of the form:\n *\n * quote = prefix `:` uninterpretedExpression\n * prefix = identifier\n * uninterpretedExpression = arbitrary string\n *\n * A quoted expression is meant to be pre-processed by an AST transformer that\n * converts it into another AST that no longer contains quoted expressions.\n * It is meant to allow third-party developers to extend Angular template\n * expression language. The `uninterpretedExpression` part of the quote is\n * therefore not interpreted by the Angular's own expression parser.\n */\nclass Quote extends AST {\n    constructor(span, prefix, uninterpretedExpression, location) {\n        super(span);\n        this.prefix = prefix;\n        this.uninterpretedExpression = uninterpretedExpression;\n        this.location = location;\n    }\n    visit(visitor, context = null) { return visitor.visitQuote(this, context); }\n    toString() { return 'Quote'; }\n}\nclass EmptyExpr extends AST {\n    visit(visitor, context = null) {\n        // do nothing\n    }\n}\nclass ImplicitReceiver extends AST {\n    visit(visitor, context = null) {\n        return visitor.visitImplicitReceiver(this, context);\n    }\n}\n/**\n * Multiple expressions separated by a semicolon.\n */\nclass Chain extends AST {\n    constructor(span, expressions) {\n        super(span);\n        this.expressions = expressions;\n    }\n    visit(visitor, context = null) { return visitor.visitChain(this, context); }\n}\nclass Conditional extends AST {\n    constructor(span, condition, trueExp, falseExp) {\n        super(span);\n        this.condition = condition;\n        this.trueExp = trueExp;\n        this.falseExp = falseExp;\n    }\n    visit(visitor, context = null) {\n        return visitor.visitConditional(this, context);\n    }\n}\nclass PropertyRead extends AST {\n    constructor(span, receiver, name) {\n        super(span);\n        this.receiver = receiver;\n        this.name = name;\n    }\n    visit(visitor, context = null) {\n        return visitor.visitPropertyRead(this, context);\n    }\n}\nclass PropertyWrite extends AST {\n    constructor(span, receiver, name, value) {\n        super(span);\n        this.receiver = receiver;\n        this.name = name;\n        this.value = value;\n    }\n    visit(visitor, context = null) {\n        return visitor.visitPropertyWrite(this, context);\n    }\n}\nclass SafePropertyRead extends AST {\n    constructor(span, receiver, name) {\n        super(span);\n        this.receiver = receiver;\n        this.name = name;\n    }\n    visit(visitor, context = null) {\n        return visitor.visitSafePropertyRead(this, context);\n    }\n}\nclass KeyedRead extends AST {\n    constructor(span, obj, key) {\n        super(span);\n        this.obj = obj;\n        this.key = key;\n    }\n    visit(visitor, context = null) {\n        return visitor.visitKeyedRead(this, context);\n    }\n}\nclass KeyedWrite extends AST {\n    constructor(span, obj, key, value) {\n        super(span);\n        this.obj = obj;\n        this.key = key;\n        this.value = value;\n    }\n    visit(visitor, context = null) {\n        return visitor.visitKeyedWrite(this, context);\n    }\n}\nclass BindingPipe extends AST {\n    constructor(span, exp, name, args) {\n        super(span);\n        this.exp = exp;\n        this.name = name;\n        this.args = args;\n    }\n    visit(visitor, context = null) { return visitor.visitPipe(this, context); }\n}\nclass LiteralPrimitive extends AST {\n    constructor(span, value) {\n        super(span);\n        this.value = value;\n    }\n    visit(visitor, context = null) {\n        return visitor.visitLiteralPrimitive(this, context);\n    }\n}\nclass LiteralArray extends AST {\n    constructor(span, expressions) {\n        super(span);\n        this.expressions = expressions;\n    }\n    visit(visitor, context = null) {\n        return visitor.visitLiteralArray(this, context);\n    }\n}\nclass LiteralMap extends AST {\n    constructor(span, keys, values) {\n        super(span);\n        this.keys = keys;\n        this.values = values;\n    }\n    visit(visitor, context = null) {\n        return visitor.visitLiteralMap(this, context);\n    }\n}\nclass Interpolation extends AST {\n    constructor(span, strings, expressions) {\n        super(span);\n        this.strings = strings;\n        this.expressions = expressions;\n    }\n    visit(visitor, context = null) {\n        return visitor.visitInterpolation(this, context);\n    }\n}\nclass Binary extends AST {\n    constructor(span, operation, left, right) {\n        super(span);\n        this.operation = operation;\n        this.left = left;\n        this.right = right;\n    }\n    visit(visitor, context = null) {\n        return visitor.visitBinary(this, context);\n    }\n}\nclass PrefixNot extends AST {\n    constructor(span, expression) {\n        super(span);\n        this.expression = expression;\n    }\n    visit(visitor, context = null) {\n        return visitor.visitPrefixNot(this, context);\n    }\n}\nclass NonNullAssert extends AST {\n    constructor(span, expression) {\n        super(span);\n        this.expression = expression;\n    }\n    visit(visitor, context = null) {\n        return visitor.visitNonNullAssert(this, context);\n    }\n}\nclass MethodCall extends AST {\n    constructor(span, receiver, name, args) {\n        super(span);\n        this.receiver = receiver;\n        this.name = name;\n        this.args = args;\n    }\n    visit(visitor, context = null) {\n        return visitor.visitMethodCall(this, context);\n    }\n}\nclass SafeMethodCall extends AST {\n    constructor(span, receiver, name, args) {\n        super(span);\n        this.receiver = receiver;\n        this.name = name;\n        this.args = args;\n    }\n    visit(visitor, context = null) {\n        return visitor.visitSafeMethodCall(this, context);\n    }\n}\nclass FunctionCall extends AST {\n    constructor(span, target, args) {\n        super(span);\n        this.target = target;\n        this.args = args;\n    }\n    visit(visitor, context = null) {\n        return visitor.visitFunctionCall(this, context);\n    }\n}\n/**\n * Records the absolute position of a text span in a source file, where `start` and `end` are the\n * starting and ending byte offsets, respectively, of the text span in a source file.\n */\nclass AbsoluteSourceSpan {\n    constructor(start, end) {\n        this.start = start;\n        this.end = end;\n    }\n}\nclass ASTWithSource extends AST {\n    constructor(ast, source, location, absoluteOffset, errors) {\n        super(new ParseSpan(0, source == null ? 0 : source.length));\n        this.ast = ast;\n        this.source = source;\n        this.location = location;\n        this.errors = errors;\n        this.sourceSpan = new AbsoluteSourceSpan(absoluteOffset, absoluteOffset + this.span.end);\n    }\n    visit(visitor, context = null) {\n        if (visitor.visitASTWithSource) {\n            return visitor.visitASTWithSource(this, context);\n        }\n        return this.ast.visit(visitor, context);\n    }\n    toString() { return `${this.source} in ${this.location}`; }\n}\nclass TemplateBinding {\n    constructor(span, key, keyIsVar, name, expression) {\n        this.span = span;\n        this.key = key;\n        this.keyIsVar = keyIsVar;\n        this.name = name;\n        this.expression = expression;\n    }\n}\nclass NullAstVisitor {\n    visitBinary(ast, context) { }\n    visitChain(ast, context) { }\n    visitConditional(ast, context) { }\n    visitFunctionCall(ast, context) { }\n    visitImplicitReceiver(ast, context) { }\n    visitInterpolation(ast, context) { }\n    visitKeyedRead(ast, context) { }\n    visitKeyedWrite(ast, context) { }\n    visitLiteralArray(ast, context) { }\n    visitLiteralMap(ast, context) { }\n    visitLiteralPrimitive(ast, context) { }\n    visitMethodCall(ast, context) { }\n    visitPipe(ast, context) { }\n    visitPrefixNot(ast, context) { }\n    visitNonNullAssert(ast, context) { }\n    visitPropertyRead(ast, context) { }\n    visitPropertyWrite(ast, context) { }\n    visitQuote(ast, context) { }\n    visitSafeMethodCall(ast, context) { }\n    visitSafePropertyRead(ast, context) { }\n}\nclass RecursiveAstVisitor$1 {\n    visitBinary(ast, context) {\n        ast.left.visit(this, context);\n        ast.right.visit(this, context);\n        return null;\n    }\n    visitChain(ast, context) { return this.visitAll(ast.expressions, context); }\n    visitConditional(ast, context) {\n        ast.condition.visit(this, context);\n        ast.trueExp.visit(this, context);\n        ast.falseExp.visit(this, context);\n        return null;\n    }\n    visitPipe(ast, context) {\n        ast.exp.visit(this, context);\n        this.visitAll(ast.args, context);\n        return null;\n    }\n    visitFunctionCall(ast, context) {\n        ast.target.visit(this, context);\n        this.visitAll(ast.args, context);\n        return null;\n    }\n    visitImplicitReceiver(ast, context) { return null; }\n    visitInterpolation(ast, context) {\n        return this.visitAll(ast.expressions, context);\n    }\n    visitKeyedRead(ast, context) {\n        ast.obj.visit(this, context);\n        ast.key.visit(this, context);\n        return null;\n    }\n    visitKeyedWrite(ast, context) {\n        ast.obj.visit(this, context);\n        ast.key.visit(this, context);\n        ast.value.visit(this, context);\n        return null;\n    }\n    visitLiteralArray(ast, context) {\n        return this.visitAll(ast.expressions, context);\n    }\n    visitLiteralMap(ast, context) { return this.visitAll(ast.values, context); }\n    visitLiteralPrimitive(ast, context) { return null; }\n    visitMethodCall(ast, context) {\n        ast.receiver.visit(this, context);\n        return this.visitAll(ast.args, context);\n    }\n    visitPrefixNot(ast, context) {\n        ast.expression.visit(this, context);\n        return null;\n    }\n    visitNonNullAssert(ast, context) {\n        ast.expression.visit(this, context);\n        return null;\n    }\n    visitPropertyRead(ast, context) {\n        ast.receiver.visit(this, context);\n        return null;\n    }\n    visitPropertyWrite(ast, context) {\n        ast.receiver.visit(this, context);\n        ast.value.visit(this, context);\n        return null;\n    }\n    visitSafePropertyRead(ast, context) {\n        ast.receiver.visit(this, context);\n        return null;\n    }\n    visitSafeMethodCall(ast, context) {\n        ast.receiver.visit(this, context);\n        return this.visitAll(ast.args, context);\n    }\n    visitAll(asts, context) {\n        asts.forEach(ast => ast.visit(this, context));\n        return null;\n    }\n    visitQuote(ast, context) { return null; }\n}\nclass AstTransformer$1 {\n    visitImplicitReceiver(ast, context) { return ast; }\n    visitInterpolation(ast, context) {\n        return new Interpolation(ast.span, ast.strings, this.visitAll(ast.expressions));\n    }\n    visitLiteralPrimitive(ast, context) {\n        return new LiteralPrimitive(ast.span, ast.value);\n    }\n    visitPropertyRead(ast, context) {\n        return new PropertyRead(ast.span, ast.receiver.visit(this), ast.name);\n    }\n    visitPropertyWrite(ast, context) {\n        return new PropertyWrite(ast.span, ast.receiver.visit(this), ast.name, ast.value.visit(this));\n    }\n    visitSafePropertyRead(ast, context) {\n        return new SafePropertyRead(ast.span, ast.receiver.visit(this), ast.name);\n    }\n    visitMethodCall(ast, context) {\n        return new MethodCall(ast.span, ast.receiver.visit(this), ast.name, this.visitAll(ast.args));\n    }\n    visitSafeMethodCall(ast, context) {\n        return new SafeMethodCall(ast.span, ast.receiver.visit(this), ast.name, this.visitAll(ast.args));\n    }\n    visitFunctionCall(ast, context) {\n        return new FunctionCall(ast.span, ast.target.visit(this), this.visitAll(ast.args));\n    }\n    visitLiteralArray(ast, context) {\n        return new LiteralArray(ast.span, this.visitAll(ast.expressions));\n    }\n    visitLiteralMap(ast, context) {\n        return new LiteralMap(ast.span, ast.keys, this.visitAll(ast.values));\n    }\n    visitBinary(ast, context) {\n        return new Binary(ast.span, ast.operation, ast.left.visit(this), ast.right.visit(this));\n    }\n    visitPrefixNot(ast, context) {\n        return new PrefixNot(ast.span, ast.expression.visit(this));\n    }\n    visitNonNullAssert(ast, context) {\n        return new NonNullAssert(ast.span, ast.expression.visit(this));\n    }\n    visitConditional(ast, context) {\n        return new Conditional(ast.span, ast.condition.visit(this), ast.trueExp.visit(this), ast.falseExp.visit(this));\n    }\n    visitPipe(ast, context) {\n        return new BindingPipe(ast.span, ast.exp.visit(this), ast.name, this.visitAll(ast.args));\n    }\n    visitKeyedRead(ast, context) {\n        return new KeyedRead(ast.span, ast.obj.visit(this), ast.key.visit(this));\n    }\n    visitKeyedWrite(ast, context) {\n        return new KeyedWrite(ast.span, ast.obj.visit(this), ast.key.visit(this), ast.value.visit(this));\n    }\n    visitAll(asts) {\n        const res = new Array(asts.length);\n        for (let i = 0; i < asts.length; ++i) {\n            res[i] = asts[i].visit(this);\n        }\n        return res;\n    }\n    visitChain(ast, context) {\n        return new Chain(ast.span, this.visitAll(ast.expressions));\n    }\n    visitQuote(ast, context) {\n        return new Quote(ast.span, ast.prefix, ast.uninterpretedExpression, ast.location);\n    }\n}\n// A transformer that only creates new nodes if the transformer makes a change or\n// a change is made a child node.\nclass AstMemoryEfficientTransformer {\n    visitImplicitReceiver(ast, context) { return ast; }\n    visitInterpolation(ast, context) {\n        const expressions = this.visitAll(ast.expressions);\n        if (expressions !== ast.expressions)\n            return new Interpolation(ast.span, ast.strings, expressions);\n        return ast;\n    }\n    visitLiteralPrimitive(ast, context) { return ast; }\n    visitPropertyRead(ast, context) {\n        const receiver = ast.receiver.visit(this);\n        if (receiver !== ast.receiver) {\n            return new PropertyRead(ast.span, receiver, ast.name);\n        }\n        return ast;\n    }\n    visitPropertyWrite(ast, context) {\n        const receiver = ast.receiver.visit(this);\n        const value = ast.value.visit(this);\n        if (receiver !== ast.receiver || value !== ast.value) {\n            return new PropertyWrite(ast.span, receiver, ast.name, value);\n        }\n        return ast;\n    }\n    visitSafePropertyRead(ast, context) {\n        const receiver = ast.receiver.visit(this);\n        if (receiver !== ast.receiver) {\n            return new SafePropertyRead(ast.span, receiver, ast.name);\n        }\n        return ast;\n    }\n    visitMethodCall(ast, context) {\n        const receiver = ast.receiver.visit(this);\n        const args = this.visitAll(ast.args);\n        if (receiver !== ast.receiver || args !== ast.args) {\n            return new MethodCall(ast.span, receiver, ast.name, args);\n        }\n        return ast;\n    }\n    visitSafeMethodCall(ast, context) {\n        const receiver = ast.receiver.visit(this);\n        const args = this.visitAll(ast.args);\n        if (receiver !== ast.receiver || args !== ast.args) {\n            return new SafeMethodCall(ast.span, receiver, ast.name, args);\n        }\n        return ast;\n    }\n    visitFunctionCall(ast, context) {\n        const target = ast.target && ast.target.visit(this);\n        const args = this.visitAll(ast.args);\n        if (target !== ast.target || args !== ast.args) {\n            return new FunctionCall(ast.span, target, args);\n        }\n        return ast;\n    }\n    visitLiteralArray(ast, context) {\n        const expressions = this.visitAll(ast.expressions);\n        if (expressions !== ast.expressions) {\n            return new LiteralArray(ast.span, expressions);\n        }\n        return ast;\n    }\n    visitLiteralMap(ast, context) {\n        const values = this.visitAll(ast.values);\n        if (values !== ast.values) {\n            return new LiteralMap(ast.span, ast.keys, values);\n        }\n        return ast;\n    }\n    visitBinary(ast, context) {\n        const left = ast.left.visit(this);\n        const right = ast.right.visit(this);\n        if (left !== ast.left || right !== ast.right) {\n            return new Binary(ast.span, ast.operation, left, right);\n        }\n        return ast;\n    }\n    visitPrefixNot(ast, context) {\n        const expression = ast.expression.visit(this);\n        if (expression !== ast.expression) {\n            return new PrefixNot(ast.span, expression);\n        }\n        return ast;\n    }\n    visitNonNullAssert(ast, context) {\n        const expression = ast.expression.visit(this);\n        if (expression !== ast.expression) {\n            return new NonNullAssert(ast.span, expression);\n        }\n        return ast;\n    }\n    visitConditional(ast, context) {\n        const condition = ast.condition.visit(this);\n        const trueExp = ast.trueExp.visit(this);\n        const falseExp = ast.falseExp.visit(this);\n        if (condition !== ast.condition || trueExp !== ast.trueExp || falseExp !== ast.falseExp) {\n            return new Conditional(ast.span, condition, trueExp, falseExp);\n        }\n        return ast;\n    }\n    visitPipe(ast, context) {\n        const exp = ast.exp.visit(this);\n        const args = this.visitAll(ast.args);\n        if (exp !== ast.exp || args !== ast.args) {\n            return new BindingPipe(ast.span, exp, ast.name, args);\n        }\n        return ast;\n    }\n    visitKeyedRead(ast, context) {\n        const obj = ast.obj.visit(this);\n        const key = ast.key.visit(this);\n        if (obj !== ast.obj || key !== ast.key) {\n            return new KeyedRead(ast.span, obj, key);\n        }\n        return ast;\n    }\n    visitKeyedWrite(ast, context) {\n        const obj = ast.obj.visit(this);\n        const key = ast.key.visit(this);\n        const value = ast.value.visit(this);\n        if (obj !== ast.obj || key !== ast.key || value !== ast.value) {\n            return new KeyedWrite(ast.span, obj, key, value);\n        }\n        return ast;\n    }\n    visitAll(asts) {\n        const res = new Array(asts.length);\n        let modified = false;\n        for (let i = 0; i < asts.length; ++i) {\n            const original = asts[i];\n            const value = original.visit(this);\n            res[i] = value;\n            modified = modified || value !== original;\n        }\n        return modified ? res : asts;\n    }\n    visitChain(ast, context) {\n        const expressions = this.visitAll(ast.expressions);\n        if (expressions !== ast.expressions) {\n            return new Chain(ast.span, expressions);\n        }\n        return ast;\n    }\n    visitQuote(ast, context) { return ast; }\n}\nfunction visitAstChildren(ast, visitor, context) {\n    function visit(ast) {\n        visitor.visit && visitor.visit(ast, context) || ast.visit(visitor, context);\n    }\n    function visitAll(asts) { asts.forEach(visit); }\n    ast.visit({\n        visitBinary(ast) {\n            visit(ast.left);\n            visit(ast.right);\n        },\n        visitChain(ast) { visitAll(ast.expressions); },\n        visitConditional(ast) {\n            visit(ast.condition);\n            visit(ast.trueExp);\n            visit(ast.falseExp);\n        },\n        visitFunctionCall(ast) {\n            if (ast.target) {\n                visit(ast.target);\n            }\n            visitAll(ast.args);\n        },\n        visitImplicitReceiver(ast) { },\n        visitInterpolation(ast) { visitAll(ast.expressions); },\n        visitKeyedRead(ast) {\n            visit(ast.obj);\n            visit(ast.key);\n        },\n        visitKeyedWrite(ast) {\n            visit(ast.obj);\n            visit(ast.key);\n            visit(ast.obj);\n        },\n        visitLiteralArray(ast) { visitAll(ast.expressions); },\n        visitLiteralMap(ast) { },\n        visitLiteralPrimitive(ast) { },\n        visitMethodCall(ast) {\n            visit(ast.receiver);\n            visitAll(ast.args);\n        },\n        visitPipe(ast) {\n            visit(ast.exp);\n            visitAll(ast.args);\n        },\n        visitPrefixNot(ast) { visit(ast.expression); },\n        visitNonNullAssert(ast) { visit(ast.expression); },\n        visitPropertyRead(ast) { visit(ast.receiver); },\n        visitPropertyWrite(ast) {\n            visit(ast.receiver);\n            visit(ast.value);\n        },\n        visitQuote(ast) { },\n        visitSafeMethodCall(ast) {\n            visit(ast.receiver);\n            visitAll(ast.args);\n        },\n        visitSafePropertyRead(ast) { visit(ast.receiver); },\n    });\n}\n// Bindings\nclass ParsedProperty {\n    constructor(name, expression, type, sourceSpan, valueSpan) {\n        this.name = name;\n        this.expression = expression;\n        this.type = type;\n        this.sourceSpan = sourceSpan;\n        this.valueSpan = valueSpan;\n        this.isLiteral = this.type === ParsedPropertyType.LITERAL_ATTR;\n        this.isAnimation = this.type === ParsedPropertyType.ANIMATION;\n    }\n}\nvar ParsedPropertyType;\n(function (ParsedPropertyType) {\n    ParsedPropertyType[ParsedPropertyType[\"DEFAULT\"] = 0] = \"DEFAULT\";\n    ParsedPropertyType[ParsedPropertyType[\"LITERAL_ATTR\"] = 1] = \"LITERAL_ATTR\";\n    ParsedPropertyType[ParsedPropertyType[\"ANIMATION\"] = 2] = \"ANIMATION\";\n})(ParsedPropertyType || (ParsedPropertyType = {}));\nclass ParsedEvent {\n    // Regular events have a target\n    // Animation events have a phase\n    constructor(name, targetOrPhase, type, handler, sourceSpan, handlerSpan) {\n        this.name = name;\n        this.targetOrPhase = targetOrPhase;\n        this.type = type;\n        this.handler = handler;\n        this.sourceSpan = sourceSpan;\n        this.handlerSpan = handlerSpan;\n    }\n}\nclass ParsedVariable {\n    constructor(name, value, sourceSpan) {\n        this.name = name;\n        this.value = value;\n        this.sourceSpan = sourceSpan;\n    }\n}\nclass BoundElementProperty {\n    constructor(name, type, securityContext, value, unit, sourceSpan, valueSpan) {\n        this.name = name;\n        this.type = type;\n        this.securityContext = securityContext;\n        this.value = value;\n        this.unit = unit;\n        this.sourceSpan = sourceSpan;\n        this.valueSpan = valueSpan;\n    }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nclass EventHandlerVars {\n}\nEventHandlerVars.event = variable('$event');\nclass ConvertActionBindingResult {\n    constructor(\n    /**\n     * Render2 compatible statements,\n     */\n    stmts, \n    /**\n     * Variable name used with render2 compatible statements.\n     */\n    allowDefault) {\n        this.stmts = stmts;\n        this.allowDefault = allowDefault;\n        /**\n         * This is bit of a hack. It converts statements which render2 expects to statements which are\n         * expected by render3.\n         *\n         * Example: `<div click=\"doSomething($event)\">` will generate:\n         *\n         * Render3:\n         * ```\n         * const pd_b:any = ((<any>ctx.doSomething($event)) !== false);\n         * return pd_b;\n         * ```\n         *\n         * but render2 expects:\n         * ```\n         * return ctx.doSomething($event);\n         * ```\n         */\n        // TODO(misko): remove this hack once we no longer support ViewEngine.\n        this.render3Stmts = stmts.map((statement) => {\n            if (statement instanceof DeclareVarStmt && statement.name == allowDefault.name &&\n                statement.value instanceof BinaryOperatorExpr) {\n                const lhs = statement.value.lhs;\n                return new ReturnStatement(lhs.value);\n            }\n            return statement;\n        });\n    }\n}\n/**\n * Converts the given expression AST into an executable output AST, assuming the expression is\n * used in an action binding (e.g. an event handler).\n */\nfunction convertActionBinding(localResolver, implicitReceiver, action, bindingId, interpolationFunction, baseSourceSpan) {\n    if (!localResolver) {\n        localResolver = new DefaultLocalResolver();\n    }\n    const actionWithoutBuiltins = convertPropertyBindingBuiltins({\n        createLiteralArrayConverter: (argCount) => {\n            // Note: no caching for literal arrays in actions.\n            return (args) => literalArr(args);\n        },\n        createLiteralMapConverter: (keys) => {\n            // Note: no caching for literal maps in actions.\n            return (values) => {\n                const entries = keys.map((k, i) => ({\n                    key: k.key,\n                    value: values[i],\n                    quoted: k.quoted,\n                }));\n                return literalMap(entries);\n            };\n        },\n        createPipeConverter: (name) => {\n            throw new Error(`Illegal State: Actions are not allowed to contain pipes. Pipe: ${name}`);\n        }\n    }, action);\n    const visitor = new _AstToIrVisitor(localResolver, implicitReceiver, bindingId, interpolationFunction, baseSourceSpan);\n    const actionStmts = [];\n    flattenStatements(actionWithoutBuiltins.visit(visitor, _Mode.Statement), actionStmts);\n    prependTemporaryDecls(visitor.temporaryCount, bindingId, actionStmts);\n    if (visitor.usesImplicitReceiver) {\n        localResolver.notifyImplicitReceiverUse();\n    }\n    const lastIndex = actionStmts.length - 1;\n    let preventDefaultVar = null;\n    if (lastIndex >= 0) {\n        const lastStatement = actionStmts[lastIndex];\n        const returnExpr = convertStmtIntoExpression(lastStatement);\n        if (returnExpr) {\n            // Note: We need to cast the result of the method call to dynamic,\n            // as it might be a void method!\n            preventDefaultVar = createPreventDefaultVar(bindingId);\n            actionStmts[lastIndex] =\n                preventDefaultVar.set(returnExpr.cast(DYNAMIC_TYPE).notIdentical(literal(false)))\n                    .toDeclStmt(null, [StmtModifier.Final]);\n        }\n    }\n    return new ConvertActionBindingResult(actionStmts, preventDefaultVar);\n}\nfunction convertPropertyBindingBuiltins(converterFactory, ast) {\n    return convertBuiltins(converterFactory, ast);\n}\nclass ConvertPropertyBindingResult {\n    constructor(stmts, currValExpr) {\n        this.stmts = stmts;\n        this.currValExpr = currValExpr;\n    }\n}\nvar BindingForm;\n(function (BindingForm) {\n    // The general form of binding expression, supports all expressions.\n    BindingForm[BindingForm[\"General\"] = 0] = \"General\";\n    // Try to generate a simple binding (no temporaries or statements)\n    // otherwise generate a general binding\n    BindingForm[BindingForm[\"TrySimple\"] = 1] = \"TrySimple\";\n})(BindingForm || (BindingForm = {}));\n/**\n * Converts the given expression AST into an executable output AST, assuming the expression\n * is used in property binding. The expression has to be preprocessed via\n * `convertPropertyBindingBuiltins`.\n */\nfunction convertPropertyBinding(localResolver, implicitReceiver, expressionWithoutBuiltins, bindingId, form, interpolationFunction) {\n    if (!localResolver) {\n        localResolver = new DefaultLocalResolver();\n    }\n    const currValExpr = createCurrValueExpr(bindingId);\n    const visitor = new _AstToIrVisitor(localResolver, implicitReceiver, bindingId, interpolationFunction);\n    const outputExpr = expressionWithoutBuiltins.visit(visitor, _Mode.Expression);\n    const stmts = getStatementsFromVisitor(visitor, bindingId);\n    if (visitor.usesImplicitReceiver) {\n        localResolver.notifyImplicitReceiverUse();\n    }\n    if (visitor.temporaryCount === 0 && form == BindingForm.TrySimple) {\n        return new ConvertPropertyBindingResult([], outputExpr);\n    }\n    stmts.push(currValExpr.set(outputExpr).toDeclStmt(DYNAMIC_TYPE, [StmtModifier.Final]));\n    return new ConvertPropertyBindingResult(stmts, currValExpr);\n}\n/**\n * Given some expression, such as a binding or interpolation expression, and a context expression to\n * look values up on, visit each facet of the given expression resolving values from the context\n * expression such that a list of arguments can be derived from the found values that can be used as\n * arguments to an external update instruction.\n *\n * @param localResolver The resolver to use to look up expressions by name appropriately\n * @param contextVariableExpression The expression representing the context variable used to create\n * the final argument expressions\n * @param expressionWithArgumentsToExtract The expression to visit to figure out what values need to\n * be resolved and what arguments list to build.\n * @param bindingId A name prefix used to create temporary variable names if they're needed for the\n * arguments generated\n * @returns An array of expressions that can be passed as arguments to instruction expressions like\n * `o.importExpr(R3.propertyInterpolate).callFn(result)`\n */\nfunction convertUpdateArguments(localResolver, contextVariableExpression, expressionWithArgumentsToExtract, bindingId) {\n    const visitor = new _AstToIrVisitor(localResolver, contextVariableExpression, bindingId, undefined);\n    const outputExpr = expressionWithArgumentsToExtract.visit(visitor, _Mode.Expression);\n    if (visitor.usesImplicitReceiver) {\n        localResolver.notifyImplicitReceiverUse();\n    }\n    const stmts = getStatementsFromVisitor(visitor, bindingId);\n    // Removing the first argument, because it was a length for ViewEngine, not Ivy.\n    let args = outputExpr.args.slice(1);\n    if (expressionWithArgumentsToExtract instanceof Interpolation) {\n        // If we're dealing with an interpolation of 1 value with an empty prefix and suffix, reduce the\n        // args returned to just the value, because we're going to pass it to a special instruction.\n        const strings = expressionWithArgumentsToExtract.strings;\n        if (args.length === 3 && strings[0] === '' && strings[1] === '') {\n            // Single argument interpolate instructions.\n            args = [args[1]];\n        }\n        else if (args.length >= 19) {\n            // 19 or more arguments must be passed to the `interpolateV`-style instructions, which accept\n            // an array of arguments\n            args = [literalArr(args)];\n        }\n    }\n    return { stmts, args };\n}\nfunction getStatementsFromVisitor(visitor, bindingId) {\n    const stmts = [];\n    for (let i = 0; i < visitor.temporaryCount; i++) {\n        stmts.push(temporaryDeclaration(bindingId, i));\n    }\n    return stmts;\n}\nfunction convertBuiltins(converterFactory, ast) {\n    const visitor = new _BuiltinAstConverter(converterFactory);\n    return ast.visit(visitor);\n}\nfunction temporaryName(bindingId, temporaryNumber) {\n    return `tmp_${bindingId}_${temporaryNumber}`;\n}\nfunction temporaryDeclaration(bindingId, temporaryNumber) {\n    return new DeclareVarStmt(temporaryName(bindingId, temporaryNumber), NULL_EXPR);\n}\nfunction prependTemporaryDecls(temporaryCount, bindingId, statements) {\n    for (let i = temporaryCount - 1; i >= 0; i--) {\n        statements.unshift(temporaryDeclaration(bindingId, i));\n    }\n}\nvar _Mode;\n(function (_Mode) {\n    _Mode[_Mode[\"Statement\"] = 0] = \"Statement\";\n    _Mode[_Mode[\"Expression\"] = 1] = \"Expression\";\n})(_Mode || (_Mode = {}));\nfunction ensureStatementMode(mode, ast) {\n    if (mode !== _Mode.Statement) {\n        throw new Error(`Expected a statement, but saw ${ast}`);\n    }\n}\nfunction ensureExpressionMode(mode, ast) {\n    if (mode !== _Mode.Expression) {\n        throw new Error(`Expected an expression, but saw ${ast}`);\n    }\n}\nfunction convertToStatementIfNeeded(mode, expr) {\n    if (mode === _Mode.Statement) {\n        return expr.toStmt();\n    }\n    else {\n        return expr;\n    }\n}\nclass _BuiltinAstConverter extends AstTransformer$1 {\n    constructor(_converterFactory) {\n        super();\n        this._converterFactory = _converterFactory;\n    }\n    visitPipe(ast, context) {\n        const args = [ast.exp, ...ast.args].map(ast => ast.visit(this, context));\n        return new BuiltinFunctionCall(ast.span, args, this._converterFactory.createPipeConverter(ast.name, args.length));\n    }\n    visitLiteralArray(ast, context) {\n        const args = ast.expressions.map(ast => ast.visit(this, context));\n        return new BuiltinFunctionCall(ast.span, args, this._converterFactory.createLiteralArrayConverter(ast.expressions.length));\n    }\n    visitLiteralMap(ast, context) {\n        const args = ast.values.map(ast => ast.visit(this, context));\n        return new BuiltinFunctionCall(ast.span, args, this._converterFactory.createLiteralMapConverter(ast.keys));\n    }\n}\nclass _AstToIrVisitor {\n    constructor(_localResolver, _implicitReceiver, bindingId, interpolationFunction, baseSourceSpan) {\n        this._localResolver = _localResolver;\n        this._implicitReceiver = _implicitReceiver;\n        this.bindingId = bindingId;\n        this.interpolationFunction = interpolationFunction;\n        this.baseSourceSpan = baseSourceSpan;\n        this._nodeMap = new Map();\n        this._resultMap = new Map();\n        this._currentTemporary = 0;\n        this.temporaryCount = 0;\n        this.usesImplicitReceiver = false;\n    }\n    visitBinary(ast, mode) {\n        let op;\n        switch (ast.operation) {\n            case '+':\n                op = BinaryOperator.Plus;\n                break;\n            case '-':\n                op = BinaryOperator.Minus;\n                break;\n            case '*':\n                op = BinaryOperator.Multiply;\n                break;\n            case '/':\n                op = BinaryOperator.Divide;\n                break;\n            case '%':\n                op = BinaryOperator.Modulo;\n                break;\n            case '&&':\n                op = BinaryOperator.And;\n                break;\n            case '||':\n                op = BinaryOperator.Or;\n                break;\n            case '==':\n                op = BinaryOperator.Equals;\n                break;\n            case '!=':\n                op = BinaryOperator.NotEquals;\n                break;\n            case '===':\n                op = BinaryOperator.Identical;\n                break;\n            case '!==':\n                op = BinaryOperator.NotIdentical;\n                break;\n            case '<':\n                op = BinaryOperator.Lower;\n                break;\n            case '>':\n                op = BinaryOperator.Bigger;\n                break;\n            case '<=':\n                op = BinaryOperator.LowerEquals;\n                break;\n            case '>=':\n                op = BinaryOperator.BiggerEquals;\n                break;\n            default:\n                throw new Error(`Unsupported operation ${ast.operation}`);\n        }\n        return convertToStatementIfNeeded(mode, new BinaryOperatorExpr(op, this._visit(ast.left, _Mode.Expression), this._visit(ast.right, _Mode.Expression), undefined, this.convertSourceSpan(ast.span)));\n    }\n    visitChain(ast, mode) {\n        ensureStatementMode(mode, ast);\n        return this.visitAll(ast.expressions, mode);\n    }\n    visitConditional(ast, mode) {\n        const value = this._visit(ast.condition, _Mode.Expression);\n        return convertToStatementIfNeeded(mode, value.conditional(this._visit(ast.trueExp, _Mode.Expression), this._visit(ast.falseExp, _Mode.Expression), this.convertSourceSpan(ast.span)));\n    }\n    visitPipe(ast, mode) {\n        throw new Error(`Illegal state: Pipes should have been converted into functions. Pipe: ${ast.name}`);\n    }\n    visitFunctionCall(ast, mode) {\n        const convertedArgs = this.visitAll(ast.args, _Mode.Expression);\n        let fnResult;\n        if (ast instanceof BuiltinFunctionCall) {\n            fnResult = ast.converter(convertedArgs);\n        }\n        else {\n            fnResult = this._visit(ast.target, _Mode.Expression)\n                .callFn(convertedArgs, this.convertSourceSpan(ast.span));\n        }\n        return convertToStatementIfNeeded(mode, fnResult);\n    }\n    visitImplicitReceiver(ast, mode) {\n        ensureExpressionMode(mode, ast);\n        this.usesImplicitReceiver = true;\n        return this._implicitReceiver;\n    }\n    visitInterpolation(ast, mode) {\n        ensureExpressionMode(mode, ast);\n        const args = [literal(ast.expressions.length)];\n        for (let i = 0; i < ast.strings.length - 1; i++) {\n            args.push(literal(ast.strings[i]));\n            args.push(this._visit(ast.expressions[i], _Mode.Expression));\n        }\n        args.push(literal(ast.strings[ast.strings.length - 1]));\n        if (this.interpolationFunction) {\n            return this.interpolationFunction(args);\n        }\n        return ast.expressions.length <= 9 ?\n            importExpr(Identifiers.inlineInterpolate).callFn(args) :\n            importExpr(Identifiers.interpolate).callFn([\n                args[0], literalArr(args.slice(1), undefined, this.convertSourceSpan(ast.span))\n            ]);\n    }\n    visitKeyedRead(ast, mode) {\n        const leftMostSafe = this.leftMostSafeNode(ast);\n        if (leftMostSafe) {\n            return this.convertSafeAccess(ast, leftMostSafe, mode);\n        }\n        else {\n            return convertToStatementIfNeeded(mode, this._visit(ast.obj, _Mode.Expression).key(this._visit(ast.key, _Mode.Expression)));\n        }\n    }\n    visitKeyedWrite(ast, mode) {\n        const obj = this._visit(ast.obj, _Mode.Expression);\n        const key = this._visit(ast.key, _Mode.Expression);\n        const value = this._visit(ast.value, _Mode.Expression);\n        return convertToStatementIfNeeded(mode, obj.key(key).set(value));\n    }\n    visitLiteralArray(ast, mode) {\n        throw new Error(`Illegal State: literal arrays should have been converted into functions`);\n    }\n    visitLiteralMap(ast, mode) {\n        throw new Error(`Illegal State: literal maps should have been converted into functions`);\n    }\n    visitLiteralPrimitive(ast, mode) {\n        // For literal values of null, undefined, true, or false allow type interference\n        // to infer the type.\n        const type = ast.value === null || ast.value === undefined || ast.value === true || ast.value === true ?\n            INFERRED_TYPE :\n            undefined;\n        return convertToStatementIfNeeded(mode, literal(ast.value, type, this.convertSourceSpan(ast.span)));\n    }\n    _getLocal(name) { return this._localResolver.getLocal(name); }\n    visitMethodCall(ast, mode) {\n        if (ast.receiver instanceof ImplicitReceiver && ast.name == '$any') {\n            const args = this.visitAll(ast.args, _Mode.Expression);\n            if (args.length != 1) {\n                throw new Error(`Invalid call to $any, expected 1 argument but received ${args.length || 'none'}`);\n            }\n            return args[0].cast(DYNAMIC_TYPE, this.convertSourceSpan(ast.span));\n        }\n        const leftMostSafe = this.leftMostSafeNode(ast);\n        if (leftMostSafe) {\n            return this.convertSafeAccess(ast, leftMostSafe, mode);\n        }\n        else {\n            const args = this.visitAll(ast.args, _Mode.Expression);\n            const prevUsesImplicitReceiver = this.usesImplicitReceiver;\n            let result = null;\n            const receiver = this._visit(ast.receiver, _Mode.Expression);\n            if (receiver === this._implicitReceiver) {\n                const varExpr = this._getLocal(ast.name);\n                if (varExpr) {\n                    // Restore the previous \"usesImplicitReceiver\" state since the implicit\n                    // receiver has been replaced with a resolved local expression.\n                    this.usesImplicitReceiver = prevUsesImplicitReceiver;\n                    result = varExpr.callFn(args);\n                }\n            }\n            if (result == null) {\n                result = receiver.callMethod(ast.name, args, this.convertSourceSpan(ast.span));\n            }\n            return convertToStatementIfNeeded(mode, result);\n        }\n    }\n    visitPrefixNot(ast, mode) {\n        return convertToStatementIfNeeded(mode, not(this._visit(ast.expression, _Mode.Expression)));\n    }\n    visitNonNullAssert(ast, mode) {\n        return convertToStatementIfNeeded(mode, assertNotNull(this._visit(ast.expression, _Mode.Expression)));\n    }\n    visitPropertyRead(ast, mode) {\n        const leftMostSafe = this.leftMostSafeNode(ast);\n        if (leftMostSafe) {\n            return this.convertSafeAccess(ast, leftMostSafe, mode);\n        }\n        else {\n            let result = null;\n            const prevUsesImplicitReceiver = this.usesImplicitReceiver;\n            const receiver = this._visit(ast.receiver, _Mode.Expression);\n            if (receiver === this._implicitReceiver) {\n                result = this._getLocal(ast.name);\n                if (result) {\n                    // Restore the previous \"usesImplicitReceiver\" state since the implicit\n                    // receiver has been replaced with a resolved local expression.\n                    this.usesImplicitReceiver = prevUsesImplicitReceiver;\n                }\n            }\n            if (result == null) {\n                result = receiver.prop(ast.name);\n            }\n            return convertToStatementIfNeeded(mode, result);\n        }\n    }\n    visitPropertyWrite(ast, mode) {\n        const receiver = this._visit(ast.receiver, _Mode.Expression);\n        const prevUsesImplicitReceiver = this.usesImplicitReceiver;\n        let varExpr = null;\n        if (receiver === this._implicitReceiver) {\n            const localExpr = this._getLocal(ast.name);\n            if (localExpr) {\n                if (localExpr instanceof ReadPropExpr) {\n                    // If the local variable is a property read expression, it's a reference\n                    // to a 'context.property' value and will be used as the target of the\n                    // write expression.\n                    varExpr = localExpr;\n                    // Restore the previous \"usesImplicitReceiver\" state since the implicit\n                    // receiver has been replaced with a resolved local expression.\n                    this.usesImplicitReceiver = prevUsesImplicitReceiver;\n                }\n                else {\n                    // Otherwise it's an error.\n                    throw new Error('Cannot assign to a reference or variable!');\n                }\n            }\n        }\n        // If no local expression could be produced, use the original receiver's\n        // property as the target.\n        if (varExpr === null) {\n            varExpr = receiver.prop(ast.name);\n        }\n        return convertToStatementIfNeeded(mode, varExpr.set(this._visit(ast.value, _Mode.Expression)));\n    }\n    visitSafePropertyRead(ast, mode) {\n        return this.convertSafeAccess(ast, this.leftMostSafeNode(ast), mode);\n    }\n    visitSafeMethodCall(ast, mode) {\n        return this.convertSafeAccess(ast, this.leftMostSafeNode(ast), mode);\n    }\n    visitAll(asts, mode) { return asts.map(ast => this._visit(ast, mode)); }\n    visitQuote(ast, mode) {\n        throw new Error(`Quotes are not supported for evaluation!\n        Statement: ${ast.uninterpretedExpression} located at ${ast.location}`);\n    }\n    _visit(ast, mode) {\n        const result = this._resultMap.get(ast);\n        if (result)\n            return result;\n        return (this._nodeMap.get(ast) || ast).visit(this, mode);\n    }\n    convertSafeAccess(ast, leftMostSafe, mode) {\n        // If the expression contains a safe access node on the left it needs to be converted to\n        // an expression that guards the access to the member by checking the receiver for blank. As\n        // execution proceeds from left to right, the left most part of the expression must be guarded\n        // first but, because member access is left associative, the right side of the expression is at\n        // the top of the AST. The desired result requires lifting a copy of the the left part of the\n        // expression up to test it for blank before generating the unguarded version.\n        // Consider, for example the following expression: a?.b.c?.d.e\n        // This results in the ast:\n        //         .\n        //        / \\\n        //       ?.   e\n        //      /  \\\n        //     .    d\n        //    / \\\n        //   ?.  c\n        //  /  \\\n        // a    b\n        // The following tree should be generated:\n        //\n        //        /---- ? ----\\\n        //       /      |      \\\n        //     a   /--- ? ---\\  null\n        //        /     |     \\\n        //       .      .     null\n        //      / \\    / \\\n        //     .  c   .   e\n        //    / \\    / \\\n        //   a   b  .   d\n        //         / \\\n        //        .   c\n        //       / \\\n        //      a   b\n        //\n        // Notice that the first guard condition is the left hand of the left most safe access node\n        // which comes in as leftMostSafe to this routine.\n        let guardedExpression = this._visit(leftMostSafe.receiver, _Mode.Expression);\n        let temporary = undefined;\n        if (this.needsTemporary(leftMostSafe.receiver)) {\n            // If the expression has method calls or pipes then we need to save the result into a\n            // temporary variable to avoid calling stateful or impure code more than once.\n            temporary = this.allocateTemporary();\n            // Preserve the result in the temporary variable\n            guardedExpression = temporary.set(guardedExpression);\n            // Ensure all further references to the guarded expression refer to the temporary instead.\n            this._resultMap.set(leftMostSafe.receiver, temporary);\n        }\n        const condition = guardedExpression.isBlank();\n        // Convert the ast to an unguarded access to the receiver's member. The map will substitute\n        // leftMostNode with its unguarded version in the call to `this.visit()`.\n        if (leftMostSafe instanceof SafeMethodCall) {\n            this._nodeMap.set(leftMostSafe, new MethodCall(leftMostSafe.span, leftMostSafe.receiver, leftMostSafe.name, leftMostSafe.args));\n        }\n        else {\n            this._nodeMap.set(leftMostSafe, new PropertyRead(leftMostSafe.span, leftMostSafe.receiver, leftMostSafe.name));\n        }\n        // Recursively convert the node now without the guarded member access.\n        const access = this._visit(ast, _Mode.Expression);\n        // Remove the mapping. This is not strictly required as the converter only traverses each node\n        // once but is safer if the conversion is changed to traverse the nodes more than once.\n        this._nodeMap.delete(leftMostSafe);\n        // If we allocated a temporary, release it.\n        if (temporary) {\n            this.releaseTemporary(temporary);\n        }\n        // Produce the conditional\n        return convertToStatementIfNeeded(mode, condition.conditional(literal(null), access));\n    }\n    // Given a expression of the form a?.b.c?.d.e the the left most safe node is\n    // the (a?.b). The . and ?. are left associative thus can be rewritten as:\n    // ((((a?.c).b).c)?.d).e. This returns the most deeply nested safe read or\n    // safe method call as this needs be transform initially to:\n    //   a == null ? null : a.c.b.c?.d.e\n    // then to:\n    //   a == null ? null : a.b.c == null ? null : a.b.c.d.e\n    leftMostSafeNode(ast) {\n        const visit = (visitor, ast) => {\n            return (this._nodeMap.get(ast) || ast).visit(visitor);\n        };\n        return ast.visit({\n            visitBinary(ast) { return null; },\n            visitChain(ast) { return null; },\n            visitConditional(ast) { return null; },\n            visitFunctionCall(ast) { return null; },\n            visitImplicitReceiver(ast) { return null; },\n            visitInterpolation(ast) { return null; },\n            visitKeyedRead(ast) { return visit(this, ast.obj); },\n            visitKeyedWrite(ast) { return null; },\n            visitLiteralArray(ast) { return null; },\n            visitLiteralMap(ast) { return null; },\n            visitLiteralPrimitive(ast) { return null; },\n            visitMethodCall(ast) { return visit(this, ast.receiver); },\n            visitPipe(ast) { return null; },\n            visitPrefixNot(ast) { return null; },\n            visitNonNullAssert(ast) { return null; },\n            visitPropertyRead(ast) { return visit(this, ast.receiver); },\n            visitPropertyWrite(ast) { return null; },\n            visitQuote(ast) { return null; },\n            visitSafeMethodCall(ast) { return visit(this, ast.receiver) || ast; },\n            visitSafePropertyRead(ast) {\n                return visit(this, ast.receiver) || ast;\n            }\n        });\n    }\n    // Returns true of the AST includes a method or a pipe indicating that, if the\n    // expression is used as the target of a safe property or method access then\n    // the expression should be stored into a temporary variable.\n    needsTemporary(ast) {\n        const visit = (visitor, ast) => {\n            return ast && (this._nodeMap.get(ast) || ast).visit(visitor);\n        };\n        const visitSome = (visitor, ast) => {\n            return ast.some(ast => visit(visitor, ast));\n        };\n        return ast.visit({\n            visitBinary(ast) { return visit(this, ast.left) || visit(this, ast.right); },\n            visitChain(ast) { return false; },\n            visitConditional(ast) {\n                return visit(this, ast.condition) || visit(this, ast.trueExp) ||\n                    visit(this, ast.falseExp);\n            },\n            visitFunctionCall(ast) { return true; },\n            visitImplicitReceiver(ast) { return false; },\n            visitInterpolation(ast) { return visitSome(this, ast.expressions); },\n            visitKeyedRead(ast) { return false; },\n            visitKeyedWrite(ast) { return false; },\n            visitLiteralArray(ast) { return true; },\n            visitLiteralMap(ast) { return true; },\n            visitLiteralPrimitive(ast) { return false; },\n            visitMethodCall(ast) { return true; },\n            visitPipe(ast) { return true; },\n            visitPrefixNot(ast) { return visit(this, ast.expression); },\n            visitNonNullAssert(ast) { return visit(this, ast.expression); },\n            visitPropertyRead(ast) { return false; },\n            visitPropertyWrite(ast) { return false; },\n            visitQuote(ast) { return false; },\n            visitSafeMethodCall(ast) { return true; },\n            visitSafePropertyRead(ast) { return false; }\n        });\n    }\n    allocateTemporary() {\n        const tempNumber = this._currentTemporary++;\n        this.temporaryCount = Math.max(this._currentTemporary, this.temporaryCount);\n        return new ReadVarExpr(temporaryName(this.bindingId, tempNumber));\n    }\n    releaseTemporary(temporary) {\n        this._currentTemporary--;\n        if (temporary.name != temporaryName(this.bindingId, this._currentTemporary)) {\n            throw new Error(`Temporary ${temporary.name} released out of order`);\n        }\n    }\n    /**\n     * Creates an absolute `ParseSourceSpan` from the relative `ParseSpan`.\n     *\n     * `ParseSpan` objects are relative to the start of the expression.\n     * This method converts these to full `ParseSourceSpan` objects that\n     * show where the span is within the overall source file.\n     *\n     * @param span the relative span to convert.\n     * @returns a `ParseSourceSpan` for the the given span or null if no\n     * `baseSourceSpan` was provided to this class.\n     */\n    convertSourceSpan(span) {\n        if (this.baseSourceSpan) {\n            const start = this.baseSourceSpan.start.moveBy(span.start);\n            const end = this.baseSourceSpan.start.moveBy(span.end);\n            return new ParseSourceSpan(start, end);\n        }\n        else {\n            return null;\n        }\n    }\n}\nfunction flattenStatements(arg, output) {\n    if (Array.isArray(arg)) {\n        arg.forEach((entry) => flattenStatements(entry, output));\n    }\n    else {\n        output.push(arg);\n    }\n}\nclass DefaultLocalResolver {\n    notifyImplicitReceiverUse() { }\n    getLocal(name) {\n        if (name === EventHandlerVars.event.name) {\n            return EventHandlerVars.event;\n        }\n        return null;\n    }\n}\nfunction createCurrValueExpr(bindingId) {\n    return variable(`currVal_${bindingId}`); // fix syntax highlighting: `\n}\nfunction createPreventDefaultVar(bindingId) {\n    return variable(`pd_${bindingId}`);\n}\nfunction convertStmtIntoExpression(stmt) {\n    if (stmt instanceof ExpressionStatement) {\n        return stmt.expr;\n    }\n    else if (stmt instanceof ReturnStatement) {\n        return stmt.value;\n    }\n    return null;\n}\nclass BuiltinFunctionCall extends FunctionCall {\n    constructor(span, args, converter) {\n        super(span, null, args);\n        this.args = args;\n        this.converter = converter;\n    }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * This file is a port of shadowCSS from webcomponents.js to TypeScript.\n *\n * Please make sure to keep to edits in sync with the source file.\n *\n * Source:\n * https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js\n *\n * The original file level comment is reproduced below\n */\n/*\n  This is a limited shim for ShadowDOM css styling.\n  https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#styles\n\n  The intention here is to support only the styling features which can be\n  relatively simply implemented. The goal is to allow users to avoid the\n  most obvious pitfalls and do so without compromising performance significantly.\n  For ShadowDOM styling that's not covered here, a set of best practices\n  can be provided that should allow users to accomplish more complex styling.\n\n  The following is a list of specific ShadowDOM styling features and a brief\n  discussion of the approach used to shim.\n\n  Shimmed features:\n\n  * :host, :host-context: ShadowDOM allows styling of the shadowRoot's host\n  element using the :host rule. To shim this feature, the :host styles are\n  reformatted and prefixed with a given scope name and promoted to a\n  document level stylesheet.\n  For example, given a scope name of .foo, a rule like this:\n\n    :host {\n        background: red;\n      }\n    }\n\n  becomes:\n\n    .foo {\n      background: red;\n    }\n\n  * encapsulation: Styles defined within ShadowDOM, apply only to\n  dom inside the ShadowDOM. Polymer uses one of two techniques to implement\n  this feature.\n\n  By default, rules are prefixed with the host element tag name\n  as a descendant selector. This ensures styling does not leak out of the 'top'\n  of the element's ShadowDOM. For example,\n\n  div {\n      font-weight: bold;\n    }\n\n  becomes:\n\n  x-foo div {\n      font-weight: bold;\n    }\n\n  becomes:\n\n\n  Alternatively, if WebComponents.ShadowCSS.strictStyling is set to true then\n  selectors are scoped by adding an attribute selector suffix to each\n  simple selector that contains the host element tag name. Each element\n  in the element's ShadowDOM template is also given the scope attribute.\n  Thus, these rules match only elements that have the scope attribute.\n  For example, given a scope name of x-foo, a rule like this:\n\n    div {\n      font-weight: bold;\n    }\n\n  becomes:\n\n    div[x-foo] {\n      font-weight: bold;\n    }\n\n  Note that elements that are dynamically added to a scope must have the scope\n  selector added to them manually.\n\n  * upper/lower bound encapsulation: Styles which are defined outside a\n  shadowRoot should not cross the ShadowDOM boundary and should not apply\n  inside a shadowRoot.\n\n  This styling behavior is not emulated. Some possible ways to do this that\n  were rejected due to complexity and/or performance concerns include: (1) reset\n  every possible property for every possible selector for a given scope name;\n  (2) re-implement css in javascript.\n\n  As an alternative, users should make sure to use selectors\n  specific to the scope in which they are working.\n\n  * ::distributed: This behavior is not emulated. It's often not necessary\n  to style the contents of a specific insertion point and instead, descendants\n  of the host element can be styled selectively. Users can also create an\n  extra node around an insertion point and style that node's contents\n  via descendent selectors. For example, with a shadowRoot like this:\n\n    <style>\n      ::content(div) {\n        background: red;\n      }\n    </style>\n    <content></content>\n\n  could become:\n\n    <style>\n      / *@polyfill .content-container div * /\n      ::content(div) {\n        background: red;\n      }\n    </style>\n    <div class=\"content-container\">\n      <content></content>\n    </div>\n\n  Note the use of @polyfill in the comment above a ShadowDOM specific style\n  declaration. This is a directive to the styling shim to use the selector\n  in comments in lieu of the next selector when running under polyfill.\n*/\nclass ShadowCss {\n    constructor() {\n        this.strictStyling = true;\n    }\n    /*\n    * Shim some cssText with the given selector. Returns cssText that can\n    * be included in the document via WebComponents.ShadowCSS.addCssToDocument(css).\n    *\n    * When strictStyling is true:\n    * - selector is the attribute added to all elements inside the host,\n    * - hostSelector is the attribute added to the host itself.\n    */\n    shimCssText(cssText, selector, hostSelector = '') {\n        const commentsWithHash = extractCommentsWithHash(cssText);\n        cssText = stripComments(cssText);\n        cssText = this._insertDirectives(cssText);\n        const scopedCssText = this._scopeCssText(cssText, selector, hostSelector);\n        return [scopedCssText, ...commentsWithHash].join('\\n');\n    }\n    _insertDirectives(cssText) {\n        cssText = this._insertPolyfillDirectivesInCssText(cssText);\n        return this._insertPolyfillRulesInCssText(cssText);\n    }\n    /*\n     * Process styles to convert native ShadowDOM rules that will trip\n     * up the css parser; we rely on decorating the stylesheet with inert rules.\n     *\n     * For example, we convert this rule:\n     *\n     * polyfill-next-selector { content: ':host menu-item'; }\n     * ::content menu-item {\n     *\n     * to this:\n     *\n     * scopeName menu-item {\n     *\n    **/\n    _insertPolyfillDirectivesInCssText(cssText) {\n        // Difference with webcomponents.js: does not handle comments\n        return cssText.replace(_cssContentNextSelectorRe, function (...m) { return m[2] + '{'; });\n    }\n    /*\n     * Process styles to add rules which will only apply under the polyfill\n     *\n     * For example, we convert this rule:\n     *\n     * polyfill-rule {\n     *   content: ':host menu-item';\n     * ...\n     * }\n     *\n     * to this:\n     *\n     * scopeName menu-item {...}\n     *\n    **/\n    _insertPolyfillRulesInCssText(cssText) {\n        // Difference with webcomponents.js: does not handle comments\n        return cssText.replace(_cssContentRuleRe, (...m) => {\n            const rule = m[0].replace(m[1], '').replace(m[2], '');\n            return m[4] + rule;\n        });\n    }\n    /* Ensure styles are scoped. Pseudo-scoping takes a rule like:\n     *\n     *  .foo {... }\n     *\n     *  and converts this to\n     *\n     *  scopeName .foo { ... }\n    */\n    _scopeCssText(cssText, scopeSelector, hostSelector) {\n        const unscopedRules = this._extractUnscopedRulesFromCssText(cssText);\n        // replace :host and :host-context -shadowcsshost and -shadowcsshost respectively\n        cssText = this._insertPolyfillHostInCssText(cssText);\n        cssText = this._convertColonHost(cssText);\n        cssText = this._convertColonHostContext(cssText);\n        cssText = this._convertShadowDOMSelectors(cssText);\n        if (scopeSelector) {\n            cssText = this._scopeSelectors(cssText, scopeSelector, hostSelector);\n        }\n        cssText = cssText + '\\n' + unscopedRules;\n        return cssText.trim();\n    }\n    /*\n     * Process styles to add rules which will only apply under the polyfill\n     * and do not process via CSSOM. (CSSOM is destructive to rules on rare\n     * occasions, e.g. -webkit-calc on Safari.)\n     * For example, we convert this rule:\n     *\n     * @polyfill-unscoped-rule {\n     *   content: 'menu-item';\n     * ... }\n     *\n     * to this:\n     *\n     * menu-item {...}\n     *\n    **/\n    _extractUnscopedRulesFromCssText(cssText) {\n        // Difference with webcomponents.js: does not handle comments\n        let r = '';\n        let m;\n        _cssContentUnscopedRuleRe.lastIndex = 0;\n        while ((m = _cssContentUnscopedRuleRe.exec(cssText)) !== null) {\n            const rule = m[0].replace(m[2], '').replace(m[1], m[4]);\n            r += rule + '\\n\\n';\n        }\n        return r;\n    }\n    /*\n     * convert a rule like :host(.foo) > .bar { }\n     *\n     * to\n     *\n     * .foo<scopeName> > .bar\n    */\n    _convertColonHost(cssText) {\n        return this._convertColonRule(cssText, _cssColonHostRe, this._colonHostPartReplacer);\n    }\n    /*\n     * convert a rule like :host-context(.foo) > .bar { }\n     *\n     * to\n     *\n     * .foo<scopeName> > .bar, .foo scopeName > .bar { }\n     *\n     * and\n     *\n     * :host-context(.foo:host) .bar { ... }\n     *\n     * to\n     *\n     * .foo<scopeName> .bar { ... }\n    */\n    _convertColonHostContext(cssText) {\n        return this._convertColonRule(cssText, _cssColonHostContextRe, this._colonHostContextPartReplacer);\n    }\n    _convertColonRule(cssText, regExp, partReplacer) {\n        // m[1] = :host(-context), m[2] = contents of (), m[3] rest of rule\n        return cssText.replace(regExp, function (...m) {\n            if (m[2]) {\n                const parts = m[2].split(',');\n                const r = [];\n                for (let i = 0; i < parts.length; i++) {\n                    const p = parts[i].trim();\n                    if (!p)\n                        break;\n                    r.push(partReplacer(_polyfillHostNoCombinator, p, m[3]));\n                }\n                return r.join(',');\n            }\n            else {\n                return _polyfillHostNoCombinator + m[3];\n            }\n        });\n    }\n    _colonHostContextPartReplacer(host, part, suffix) {\n        if (part.indexOf(_polyfillHost) > -1) {\n            return this._colonHostPartReplacer(host, part, suffix);\n        }\n        else {\n            return host + part + suffix + ', ' + part + ' ' + host + suffix;\n        }\n    }\n    _colonHostPartReplacer(host, part, suffix) {\n        return host + part.replace(_polyfillHost, '') + suffix;\n    }\n    /*\n     * Convert combinators like ::shadow and pseudo-elements like ::content\n     * by replacing with space.\n    */\n    _convertShadowDOMSelectors(cssText) {\n        return _shadowDOMSelectorsRe.reduce((result, pattern) => result.replace(pattern, ' '), cssText);\n    }\n    // change a selector like 'div' to 'name div'\n    _scopeSelectors(cssText, scopeSelector, hostSelector) {\n        return processRules(cssText, (rule) => {\n            let selector = rule.selector;\n            let content = rule.content;\n            if (rule.selector[0] != '@') {\n                selector =\n                    this._scopeSelector(rule.selector, scopeSelector, hostSelector, this.strictStyling);\n            }\n            else if (rule.selector.startsWith('@media') || rule.selector.startsWith('@supports') ||\n                rule.selector.startsWith('@page') || rule.selector.startsWith('@document')) {\n                content = this._scopeSelectors(rule.content, scopeSelector, hostSelector);\n            }\n            return new CssRule(selector, content);\n        });\n    }\n    _scopeSelector(selector, scopeSelector, hostSelector, strict) {\n        return selector.split(',')\n            .map(part => part.trim().split(_shadowDeepSelectors))\n            .map((deepParts) => {\n            const [shallowPart, ...otherParts] = deepParts;\n            const applyScope = (shallowPart) => {\n                if (this._selectorNeedsScoping(shallowPart, scopeSelector)) {\n                    return strict ?\n                        this._applyStrictSelectorScope(shallowPart, scopeSelector, hostSelector) :\n                        this._applySelectorScope(shallowPart, scopeSelector, hostSelector);\n                }\n                else {\n                    return shallowPart;\n                }\n            };\n            return [applyScope(shallowPart), ...otherParts].join(' ');\n        })\n            .join(', ');\n    }\n    _selectorNeedsScoping(selector, scopeSelector) {\n        const re = this._makeScopeMatcher(scopeSelector);\n        return !re.test(selector);\n    }\n    _makeScopeMatcher(scopeSelector) {\n        const lre = /\\[/g;\n        const rre = /\\]/g;\n        scopeSelector = scopeSelector.replace(lre, '\\\\[').replace(rre, '\\\\]');\n        return new RegExp('^(' + scopeSelector + ')' + _selectorReSuffix, 'm');\n    }\n    _applySelectorScope(selector, scopeSelector, hostSelector) {\n        // Difference from webcomponents.js: scopeSelector could not be an array\n        return this._applySimpleSelectorScope(selector, scopeSelector, hostSelector);\n    }\n    // scope via name and [is=name]\n    _applySimpleSelectorScope(selector, scopeSelector, hostSelector) {\n        // In Android browser, the lastIndex is not reset when the regex is used in String.replace()\n        _polyfillHostRe.lastIndex = 0;\n        if (_polyfillHostRe.test(selector)) {\n            const replaceBy = this.strictStyling ? `[${hostSelector}]` : scopeSelector;\n            return selector\n                .replace(_polyfillHostNoCombinatorRe, (hnc, selector) => {\n                return selector.replace(/([^:]*)(:*)(.*)/, (_, before, colon, after) => {\n                    return before + replaceBy + colon + after;\n                });\n            })\n                .replace(_polyfillHostRe, replaceBy + ' ');\n        }\n        return scopeSelector + ' ' + selector;\n    }\n    // return a selector with [name] suffix on each simple selector\n    // e.g. .foo.bar > .zot becomes .foo[name].bar[name] > .zot[name]  /** @internal */\n    _applyStrictSelectorScope(selector, scopeSelector, hostSelector) {\n        const isRe = /\\[is=([^\\]]*)\\]/g;\n        scopeSelector = scopeSelector.replace(isRe, (_, ...parts) => parts[0]);\n        const attrName = '[' + scopeSelector + ']';\n        const _scopeSelectorPart = (p) => {\n            let scopedP = p.trim();\n            if (!scopedP) {\n                return '';\n            }\n            if (p.indexOf(_polyfillHostNoCombinator) > -1) {\n                scopedP = this._applySimpleSelectorScope(p, scopeSelector, hostSelector);\n            }\n            else {\n                // remove :host since it should be unnecessary\n                const t = p.replace(_polyfillHostRe, '');\n                if (t.length > 0) {\n                    const matches = t.match(/([^:]*)(:*)(.*)/);\n                    if (matches) {\n                        scopedP = matches[1] + attrName + matches[2] + matches[3];\n                    }\n                }\n            }\n            return scopedP;\n        };\n        const safeContent = new SafeSelector(selector);\n        selector = safeContent.content();\n        let scopedSelector = '';\n        let startIndex = 0;\n        let res;\n        const sep = /( |>|\\+|~(?!=))\\s*/g;\n        // If a selector appears before :host it should not be shimmed as it\n        // matches on ancestor elements and not on elements in the host's shadow\n        // `:host-context(div)` is transformed to\n        // `-shadowcsshost-no-combinatordiv, div -shadowcsshost-no-combinator`\n        // the `div` is not part of the component in the 2nd selectors and should not be scoped.\n        // Historically `component-tag:host` was matching the component so we also want to preserve\n        // this behavior to avoid breaking legacy apps (it should not match).\n        // The behavior should be:\n        // - `tag:host` -> `tag[h]` (this is to avoid breaking legacy apps, should not match anything)\n        // - `tag :host` -> `tag [h]` (`tag` is not scoped because it's considered part of a\n        //   `:host-context(tag)`)\n        const hasHost = selector.indexOf(_polyfillHostNoCombinator) > -1;\n        // Only scope parts after the first `-shadowcsshost-no-combinator` when it is present\n        let shouldScope = !hasHost;\n        while ((res = sep.exec(selector)) !== null) {\n            const separator = res[1];\n            const part = selector.slice(startIndex, res.index).trim();\n            shouldScope = shouldScope || part.indexOf(_polyfillHostNoCombinator) > -1;\n            const scopedPart = shouldScope ? _scopeSelectorPart(part) : part;\n            scopedSelector += `${scopedPart} ${separator} `;\n            startIndex = sep.lastIndex;\n        }\n        const part = selector.substring(startIndex);\n        shouldScope = shouldScope || part.indexOf(_polyfillHostNoCombinator) > -1;\n        scopedSelector += shouldScope ? _scopeSelectorPart(part) : part;\n        // replace the placeholders with their original values\n        return safeContent.restore(scopedSelector);\n    }\n    _insertPolyfillHostInCssText(selector) {\n        return selector.replace(_colonHostContextRe, _polyfillHostContext)\n            .replace(_colonHostRe, _polyfillHost);\n    }\n}\nclass SafeSelector {\n    constructor(selector) {\n        this.placeholders = [];\n        this.index = 0;\n        // Replaces attribute selectors with placeholders.\n        // The WS in [attr=\"va lue\"] would otherwise be interpreted as a selector separator.\n        selector = selector.replace(/(\\[[^\\]]*\\])/g, (_, keep) => {\n            const replaceBy = `__ph-${this.index}__`;\n            this.placeholders.push(keep);\n            this.index++;\n            return replaceBy;\n        });\n        // Replaces the expression in `:nth-child(2n + 1)` with a placeholder.\n        // WS and \"+\" would otherwise be interpreted as selector separators.\n        this._content = selector.replace(/(:nth-[-\\w]+)(\\([^)]+\\))/g, (_, pseudo, exp) => {\n            const replaceBy = `__ph-${this.index}__`;\n            this.placeholders.push(exp);\n            this.index++;\n            return pseudo + replaceBy;\n        });\n    }\n    restore(content) {\n        return content.replace(/__ph-(\\d+)__/g, (ph, index) => this.placeholders[+index]);\n    }\n    content() { return this._content; }\n}\nconst _cssContentNextSelectorRe = /polyfill-next-selector[^}]*content:[\\s]*?(['\"])(.*?)\\1[;\\s]*}([^{]*?){/gim;\nconst _cssContentRuleRe = /(polyfill-rule)[^}]*(content:[\\s]*(['\"])(.*?)\\3)[;\\s]*[^}]*}/gim;\nconst _cssContentUnscopedRuleRe = /(polyfill-unscoped-rule)[^}]*(content:[\\s]*(['\"])(.*?)\\3)[;\\s]*[^}]*}/gim;\nconst _polyfillHost = '-shadowcsshost';\n// note: :host-context pre-processed to -shadowcsshostcontext.\nconst _polyfillHostContext = '-shadowcsscontext';\nconst _parenSuffix = ')(?:\\\\((' +\n    '(?:\\\\([^)(]*\\\\)|[^)(]*)+?' +\n    ')\\\\))?([^,{]*)';\nconst _cssColonHostRe = new RegExp('(' + _polyfillHost + _parenSuffix, 'gim');\nconst _cssColonHostContextRe = new RegExp('(' + _polyfillHostContext + _parenSuffix, 'gim');\nconst _polyfillHostNoCombinator = _polyfillHost + '-no-combinator';\nconst _polyfillHostNoCombinatorRe = /-shadowcsshost-no-combinator([^\\s]*)/;\nconst _shadowDOMSelectorsRe = [\n    /::shadow/g,\n    /::content/g,\n    // Deprecated selectors\n    /\\/shadow-deep\\//g,\n    /\\/shadow\\//g,\n];\n// The deep combinator is deprecated in the CSS spec\n// Support for `>>>`, `deep`, `::ng-deep` is then also deprecated and will be removed in the future.\n// see https://github.com/angular/angular/pull/17677\nconst _shadowDeepSelectors = /(?:>>>)|(?:\\/deep\\/)|(?:::ng-deep)/g;\nconst _selectorReSuffix = '([>\\\\s~+\\[.,{:][\\\\s\\\\S]*)?$';\nconst _polyfillHostRe = /-shadowcsshost/gim;\nconst _colonHostRe = /:host/gim;\nconst _colonHostContextRe = /:host-context/gim;\nconst _commentRe = /\\/\\*\\s*[\\s\\S]*?\\*\\//g;\nfunction stripComments(input) {\n    return input.replace(_commentRe, '');\n}\nconst _commentWithHashRe = /\\/\\*\\s*#\\s*source(Mapping)?URL=[\\s\\S]+?\\*\\//g;\nfunction extractCommentsWithHash(input) {\n    return input.match(_commentWithHashRe) || [];\n}\nconst _ruleRe = /(\\s*)([^;\\{\\}]+?)(\\s*)((?:{%BLOCK%}?\\s*;?)|(?:\\s*;))/g;\nconst _curlyRe = /([{}])/g;\nconst OPEN_CURLY = '{';\nconst CLOSE_CURLY = '}';\nconst BLOCK_PLACEHOLDER = '%BLOCK%';\nclass CssRule {\n    constructor(selector, content) {\n        this.selector = selector;\n        this.content = content;\n    }\n}\nfunction processRules(input, ruleCallback) {\n    const inputWithEscapedBlocks = escapeBlocks(input);\n    let nextBlockIndex = 0;\n    return inputWithEscapedBlocks.escapedString.replace(_ruleRe, function (...m) {\n        const selector = m[2];\n        let content = '';\n        let suffix = m[4];\n        let contentPrefix = '';\n        if (suffix && suffix.startsWith('{' + BLOCK_PLACEHOLDER)) {\n            content = inputWithEscapedBlocks.blocks[nextBlockIndex++];\n            suffix = suffix.substring(BLOCK_PLACEHOLDER.length + 1);\n            contentPrefix = '{';\n        }\n        const rule = ruleCallback(new CssRule(selector, content));\n        return `${m[1]}${rule.selector}${m[3]}${contentPrefix}${rule.content}${suffix}`;\n    });\n}\nclass StringWithEscapedBlocks {\n    constructor(escapedString, blocks) {\n        this.escapedString = escapedString;\n        this.blocks = blocks;\n    }\n}\nfunction escapeBlocks(input) {\n    const inputParts = input.split(_curlyRe);\n    const resultParts = [];\n    const escapedBlocks = [];\n    let bracketCount = 0;\n    let currentBlockParts = [];\n    for (let partIndex = 0; partIndex < inputParts.length; partIndex++) {\n        const part = inputParts[partIndex];\n        if (part == CLOSE_CURLY) {\n            bracketCount--;\n        }\n        if (bracketCount > 0) {\n            currentBlockParts.push(part);\n        }\n        else {\n            if (currentBlockParts.length > 0) {\n                escapedBlocks.push(currentBlockParts.join(''));\n                resultParts.push(BLOCK_PLACEHOLDER);\n                currentBlockParts = [];\n            }\n            resultParts.push(part);\n        }\n        if (part == OPEN_CURLY) {\n            bracketCount++;\n        }\n    }\n    if (currentBlockParts.length > 0) {\n        escapedBlocks.push(currentBlockParts.join(''));\n        resultParts.push(BLOCK_PLACEHOLDER);\n    }\n    return new StringWithEscapedBlocks(resultParts.join(''), escapedBlocks);\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst COMPONENT_VARIABLE = '%COMP%';\nconst HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;\nconst CONTENT_ATTR = `_ngcontent-${COMPONENT_VARIABLE}`;\nclass StylesCompileDependency {\n    constructor(name, moduleUrl, setValue) {\n        this.name = name;\n        this.moduleUrl = moduleUrl;\n        this.setValue = setValue;\n    }\n}\nclass CompiledStylesheet {\n    constructor(outputCtx, stylesVar, dependencies, isShimmed, meta) {\n        this.outputCtx = outputCtx;\n        this.stylesVar = stylesVar;\n        this.dependencies = dependencies;\n        this.isShimmed = isShimmed;\n        this.meta = meta;\n    }\n}\nclass StyleCompiler {\n    constructor(_urlResolver) {\n        this._urlResolver = _urlResolver;\n        this._shadowCss = new ShadowCss();\n    }\n    compileComponent(outputCtx, comp) {\n        const template = comp.template;\n        return this._compileStyles(outputCtx, comp, new CompileStylesheetMetadata({\n            styles: template.styles,\n            styleUrls: template.styleUrls,\n            moduleUrl: identifierModuleUrl(comp.type)\n        }), this.needsStyleShim(comp), true);\n    }\n    compileStyles(outputCtx, comp, stylesheet, shim = this.needsStyleShim(comp)) {\n        return this._compileStyles(outputCtx, comp, stylesheet, shim, false);\n    }\n    needsStyleShim(comp) {\n        return comp.template.encapsulation === ViewEncapsulation.Emulated;\n    }\n    _compileStyles(outputCtx, comp, stylesheet, shim, isComponentStylesheet) {\n        const styleExpressions = stylesheet.styles.map(plainStyle => literal(this._shimIfNeeded(plainStyle, shim)));\n        const dependencies = [];\n        stylesheet.styleUrls.forEach((styleUrl) => {\n            const exprIndex = styleExpressions.length;\n            // Note: This placeholder will be filled later.\n            styleExpressions.push(null);\n            dependencies.push(new StylesCompileDependency(getStylesVarName(null), styleUrl, (value) => styleExpressions[exprIndex] = outputCtx.importExpr(value)));\n        });\n        // styles variable contains plain strings and arrays of other styles arrays (recursive),\n        // so we set its type to dynamic.\n        const stylesVar = getStylesVarName(isComponentStylesheet ? comp : null);\n        const stmt = variable(stylesVar)\n            .set(literalArr(styleExpressions, new ArrayType(DYNAMIC_TYPE, [TypeModifier.Const])))\n            .toDeclStmt(null, isComponentStylesheet ? [StmtModifier.Final] : [\n            StmtModifier.Final, StmtModifier.Exported\n        ]);\n        outputCtx.statements.push(stmt);\n        return new CompiledStylesheet(outputCtx, stylesVar, dependencies, shim, stylesheet);\n    }\n    _shimIfNeeded(style, shim) {\n        return shim ? this._shadowCss.shimCssText(style, CONTENT_ATTR, HOST_ATTR) : style;\n    }\n}\nfunction getStylesVarName(component) {\n    let result = `styles`;\n    if (component) {\n        result += `_${identifierName(component.type)}`;\n    }\n    return result;\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * A path is an ordered set of elements. Typically a path is to  a\n * particular offset in a source file. The head of the list is the top\n * most node. The tail is the node that contains the offset directly.\n *\n * For example, the expression `a + b + c` might have an ast that looks\n * like:\n *     +\n *    / \\\n *   a   +\n *      / \\\n *     b   c\n *\n * The path to the node at offset 9 would be `['+' at 1-10, '+' at 7-10,\n * 'c' at 9-10]` and the path the node at offset 1 would be\n * `['+' at 1-10, 'a' at 1-2]`.\n */\nclass AstPath {\n    constructor(path, position = -1) {\n        this.path = path;\n        this.position = position;\n    }\n    get empty() { return !this.path || !this.path.length; }\n    get head() { return this.path[0]; }\n    get tail() { return this.path[this.path.length - 1]; }\n    parentOf(node) {\n        return node && this.path[this.path.indexOf(node) - 1];\n    }\n    childOf(node) { return this.path[this.path.indexOf(node) + 1]; }\n    first(ctor) {\n        for (let i = this.path.length - 1; i >= 0; i--) {\n            let item = this.path[i];\n            if (item instanceof ctor)\n                return item;\n        }\n    }\n    push(node) { this.path.push(node); }\n    pop() { return this.path.pop(); }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nclass Text$3 {\n    constructor(value, sourceSpan, i18n) {\n        this.value = value;\n        this.sourceSpan = sourceSpan;\n        this.i18n = i18n;\n    }\n    visit(visitor, context) { return visitor.visitText(this, context); }\n}\nclass Expansion {\n    constructor(switchValue, type, cases, sourceSpan, switchValueSourceSpan, i18n) {\n        this.switchValue = switchValue;\n        this.type = type;\n        this.cases = cases;\n        this.sourceSpan = sourceSpan;\n        this.switchValueSourceSpan = switchValueSourceSpan;\n        this.i18n = i18n;\n    }\n    visit(visitor, context) { return visitor.visitExpansion(this, context); }\n}\nclass ExpansionCase {\n    constructor(value, expression, sourceSpan, valueSourceSpan, expSourceSpan) {\n        this.value = value;\n        this.expression = expression;\n        this.sourceSpan = sourceSpan;\n        this.valueSourceSpan = valueSourceSpan;\n        this.expSourceSpan = expSourceSpan;\n    }\n    visit(visitor, context) { return visitor.visitExpansionCase(this, context); }\n}\nclass Attribute {\n    constructor(name, value, sourceSpan, valueSpan, i18n) {\n        this.name = name;\n        this.value = value;\n        this.sourceSpan = sourceSpan;\n        this.valueSpan = valueSpan;\n        this.i18n = i18n;\n    }\n    visit(visitor, context) { return visitor.visitAttribute(this, context); }\n}\nclass Element$1 {\n    constructor(name, attrs, children, sourceSpan, startSourceSpan = null, endSourceSpan = null, i18n) {\n        this.name = name;\n        this.attrs = attrs;\n        this.children = children;\n        this.sourceSpan = sourceSpan;\n        this.startSourceSpan = startSourceSpan;\n        this.endSourceSpan = endSourceSpan;\n        this.i18n = i18n;\n    }\n    visit(visitor, context) { return visitor.visitElement(this, context); }\n}\nclass Comment {\n    constructor(value, sourceSpan) {\n        this.value = value;\n        this.sourceSpan = sourceSpan;\n    }\n    visit(visitor, context) { return visitor.visitComment(this, context); }\n}\nfunction visitAll$1(visitor, nodes, context = null) {\n    const result = [];\n    const visit = visitor.visit ?\n        (ast) => visitor.visit(ast, context) || ast.visit(visitor, context) :\n        (ast) => ast.visit(visitor, context);\n    nodes.forEach(ast => {\n        const astResult = visit(ast);\n        if (astResult) {\n            result.push(astResult);\n        }\n    });\n    return result;\n}\nclass RecursiveVisitor$1 {\n    constructor() { }\n    visitElement(ast, context) {\n        this.visitChildren(context, visit => {\n            visit(ast.attrs);\n            visit(ast.children);\n        });\n    }\n    visitAttribute(ast, context) { }\n    visitText(ast, context) { }\n    visitComment(ast, context) { }\n    visitExpansion(ast, context) {\n        return this.visitChildren(context, visit => { visit(ast.cases); });\n    }\n    visitExpansionCase(ast, context) { }\n    visitChildren(context, cb) {\n        let results = [];\n        let t = this;\n        function visit(children) {\n            if (children)\n                results.push(visitAll$1(t, children, context));\n        }\n        cb(visit);\n        return Array.prototype.concat.apply([], results);\n    }\n}\nfunction spanOf(ast) {\n    const start = ast.sourceSpan.start.offset;\n    let end = ast.sourceSpan.end.offset;\n    if (ast instanceof Element$1) {\n        if (ast.endSourceSpan) {\n            end = ast.endSourceSpan.end.offset;\n        }\n        else if (ast.children && ast.children.length) {\n            end = spanOf(ast.children[ast.children.length - 1]).end;\n        }\n    }\n    return { start, end };\n}\nfunction findNode(nodes, position) {\n    const path = [];\n    const visitor = new class extends RecursiveVisitor$1 {\n        visit(ast, context) {\n            const span = spanOf(ast);\n            if (span.start <= position && position < span.end) {\n                path.push(ast);\n            }\n            else {\n                // Returning a value here will result in the children being skipped.\n                return true;\n            }\n        }\n    };\n    visitAll$1(visitor, nodes);\n    return new AstPath(path, position);\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar TokenType;\n(function (TokenType) {\n    TokenType[TokenType[\"TAG_OPEN_START\"] = 0] = \"TAG_OPEN_START\";\n    TokenType[TokenType[\"TAG_OPEN_END\"] = 1] = \"TAG_OPEN_END\";\n    TokenType[TokenType[\"TAG_OPEN_END_VOID\"] = 2] = \"TAG_OPEN_END_VOID\";\n    TokenType[TokenType[\"TAG_CLOSE\"] = 3] = \"TAG_CLOSE\";\n    TokenType[TokenType[\"TEXT\"] = 4] = \"TEXT\";\n    TokenType[TokenType[\"ESCAPABLE_RAW_TEXT\"] = 5] = \"ESCAPABLE_RAW_TEXT\";\n    TokenType[TokenType[\"RAW_TEXT\"] = 6] = \"RAW_TEXT\";\n    TokenType[TokenType[\"COMMENT_START\"] = 7] = \"COMMENT_START\";\n    TokenType[TokenType[\"COMMENT_END\"] = 8] = \"COMMENT_END\";\n    TokenType[TokenType[\"CDATA_START\"] = 9] = \"CDATA_START\";\n    TokenType[TokenType[\"CDATA_END\"] = 10] = \"CDATA_END\";\n    TokenType[TokenType[\"ATTR_NAME\"] = 11] = \"ATTR_NAME\";\n    TokenType[TokenType[\"ATTR_QUOTE\"] = 12] = \"ATTR_QUOTE\";\n    TokenType[TokenType[\"ATTR_VALUE\"] = 13] = \"ATTR_VALUE\";\n    TokenType[TokenType[\"DOC_TYPE\"] = 14] = \"DOC_TYPE\";\n    TokenType[TokenType[\"EXPANSION_FORM_START\"] = 15] = \"EXPANSION_FORM_START\";\n    TokenType[TokenType[\"EXPANSION_CASE_VALUE\"] = 16] = \"EXPANSION_CASE_VALUE\";\n    TokenType[TokenType[\"EXPANSION_CASE_EXP_START\"] = 17] = \"EXPANSION_CASE_EXP_START\";\n    TokenType[TokenType[\"EXPANSION_CASE_EXP_END\"] = 18] = \"EXPANSION_CASE_EXP_END\";\n    TokenType[TokenType[\"EXPANSION_FORM_END\"] = 19] = \"EXPANSION_FORM_END\";\n    TokenType[TokenType[\"EOF\"] = 20] = \"EOF\";\n})(TokenType || (TokenType = {}));\nclass Token {\n    constructor(type, parts, sourceSpan) {\n        this.type = type;\n        this.parts = parts;\n        this.sourceSpan = sourceSpan;\n    }\n}\nclass TokenError extends ParseError {\n    constructor(errorMsg, tokenType, span) {\n        super(span, errorMsg);\n        this.tokenType = tokenType;\n    }\n}\nclass TokenizeResult {\n    constructor(tokens, errors) {\n        this.tokens = tokens;\n        this.errors = errors;\n    }\n}\nfunction tokenize(source, url, getTagDefinition, options = {}) {\n    return new _Tokenizer(new ParseSourceFile(source, url), getTagDefinition, options).tokenize();\n}\nconst _CR_OR_CRLF_REGEXP = /\\r\\n?/g;\nfunction _unexpectedCharacterErrorMsg(charCode) {\n    const char = charCode === $EOF ? 'EOF' : String.fromCharCode(charCode);\n    return `Unexpected character \"${char}\"`;\n}\nfunction _unknownEntityErrorMsg(entitySrc) {\n    return `Unknown entity \"${entitySrc}\" - use the \"&#<decimal>;\" or  \"&#x<hex>;\" syntax`;\n}\nclass _ControlFlowError {\n    constructor(error) {\n        this.error = error;\n    }\n}\n// See http://www.w3.org/TR/html51/syntax.html#writing\nclass _Tokenizer {\n    /**\n     * @param _file The html source file being tokenized.\n     * @param _getTagDefinition A function that will retrieve a tag definition for a given tag name.\n     * @param options Configuration of the tokenization.\n     */\n    constructor(_file, _getTagDefinition, options) {\n        this._getTagDefinition = _getTagDefinition;\n        this._currentTokenStart = null;\n        this._currentTokenType = null;\n        this._expansionCaseStack = [];\n        this._inInterpolation = false;\n        this.tokens = [];\n        this.errors = [];\n        this._tokenizeIcu = options.tokenizeExpansionForms || false;\n        this._interpolationConfig = options.interpolationConfig || DEFAULT_INTERPOLATION_CONFIG;\n        this._leadingTriviaCodePoints =\n            options.leadingTriviaChars && options.leadingTriviaChars.map(c => c.codePointAt(0) || 0);\n        const range = options.range || { endPos: _file.content.length, startPos: 0, startLine: 0, startCol: 0 };\n        this._cursor = options.escapedString ? new EscapedCharacterCursor(_file, range) :\n            new PlainCharacterCursor(_file, range);\n        try {\n            this._cursor.init();\n        }\n        catch (e) {\n            this.handleError(e);\n        }\n    }\n    _processCarriageReturns(content) {\n        // http://www.w3.org/TR/html5/syntax.html#preprocessing-the-input-stream\n        // In order to keep the original position in the source, we can not\n        // pre-process it.\n        // Instead CRs are processed right before instantiating the tokens.\n        return content.replace(_CR_OR_CRLF_REGEXP, '\\n');\n    }\n    tokenize() {\n        while (this._cursor.peek() !== $EOF) {\n            const start = this._cursor.clone();\n            try {\n                if (this._attemptCharCode($LT)) {\n                    if (this._attemptCharCode($BANG)) {\n                        if (this._attemptCharCode($LBRACKET)) {\n                            this._consumeCdata(start);\n                        }\n                        else if (this._attemptCharCode($MINUS)) {\n                            this._consumeComment(start);\n                        }\n                        else {\n                            this._consumeDocType(start);\n                        }\n                    }\n                    else if (this._attemptCharCode($SLASH)) {\n                        this._consumeTagClose(start);\n                    }\n                    else {\n                        this._consumeTagOpen(start);\n                    }\n                }\n                else if (!(this._tokenizeIcu && this._tokenizeExpansionForm())) {\n                    this._consumeText();\n                }\n            }\n            catch (e) {\n                this.handleError(e);\n            }\n        }\n        this._beginToken(TokenType.EOF);\n        this._endToken([]);\n        return new TokenizeResult(mergeTextTokens(this.tokens), this.errors);\n    }\n    /**\n     * @returns whether an ICU token has been created\n     * @internal\n     */\n    _tokenizeExpansionForm() {\n        if (this.isExpansionFormStart()) {\n            this._consumeExpansionFormStart();\n            return true;\n        }\n        if (isExpansionCaseStart(this._cursor.peek()) && this._isInExpansionForm()) {\n            this._consumeExpansionCaseStart();\n            return true;\n        }\n        if (this._cursor.peek() === $RBRACE) {\n            if (this._isInExpansionCase()) {\n                this._consumeExpansionCaseEnd();\n                return true;\n            }\n            if (this._isInExpansionForm()) {\n                this._consumeExpansionFormEnd();\n                return true;\n            }\n        }\n        return false;\n    }\n    _beginToken(type, start = this._cursor.clone()) {\n        this._currentTokenStart = start;\n        this._currentTokenType = type;\n    }\n    _endToken(parts, end = this._cursor.clone()) {\n        if (this._currentTokenStart === null) {\n            throw new TokenError('Programming error - attempted to end a token when there was no start to the token', this._currentTokenType, this._cursor.getSpan(end));\n        }\n        if (this._currentTokenType === null) {\n            throw new TokenError('Programming error - attempted to end a token which has no token type', null, this._cursor.getSpan(this._currentTokenStart));\n        }\n        const token = new Token(this._currentTokenType, parts, this._cursor.getSpan(this._currentTokenStart, this._leadingTriviaCodePoints));\n        this.tokens.push(token);\n        this._currentTokenStart = null;\n        this._currentTokenType = null;\n        return token;\n    }\n    _createError(msg, span) {\n        if (this._isInExpansionForm()) {\n            msg += ` (Do you have an unescaped \"{\" in your template? Use \"{{ '{' }}\") to escape it.)`;\n        }\n        const error = new TokenError(msg, this._currentTokenType, span);\n        this._currentTokenStart = null;\n        this._currentTokenType = null;\n        return new _ControlFlowError(error);\n    }\n    handleError(e) {\n        if (e instanceof CursorError) {\n            e = this._createError(e.msg, this._cursor.getSpan(e.cursor));\n        }\n        if (e instanceof _ControlFlowError) {\n            this.errors.push(e.error);\n        }\n        else {\n            throw e;\n        }\n    }\n    _attemptCharCode(charCode) {\n        if (this._cursor.peek() === charCode) {\n            this._cursor.advance();\n            return true;\n        }\n        return false;\n    }\n    _attemptCharCodeCaseInsensitive(charCode) {\n        if (compareCharCodeCaseInsensitive(this._cursor.peek(), charCode)) {\n            this._cursor.advance();\n            return true;\n        }\n        return false;\n    }\n    _requireCharCode(charCode) {\n        const location = this._cursor.clone();\n        if (!this._attemptCharCode(charCode)) {\n            throw this._createError(_unexpectedCharacterErrorMsg(this._cursor.peek()), this._cursor.getSpan(location));\n        }\n    }\n    _attemptStr(chars) {\n        const len = chars.length;\n        if (this._cursor.charsLeft() < len) {\n            return false;\n        }\n        const initialPosition = this._cursor.clone();\n        for (let i = 0; i < len; i++) {\n            if (!this._attemptCharCode(chars.charCodeAt(i))) {\n                // If attempting to parse the string fails, we want to reset the parser\n                // to where it was before the attempt\n                this._cursor = initialPosition;\n                return false;\n            }\n        }\n        return true;\n    }\n    _attemptStrCaseInsensitive(chars) {\n        for (let i = 0; i < chars.length; i++) {\n            if (!this._attemptCharCodeCaseInsensitive(chars.charCodeAt(i))) {\n                return false;\n            }\n        }\n        return true;\n    }\n    _requireStr(chars) {\n        const location = this._cursor.clone();\n        if (!this._attemptStr(chars)) {\n            throw this._createError(_unexpectedCharacterErrorMsg(this._cursor.peek()), this._cursor.getSpan(location));\n        }\n    }\n    _attemptCharCodeUntilFn(predicate) {\n        while (!predicate(this._cursor.peek())) {\n            this._cursor.advance();\n        }\n    }\n    _requireCharCodeUntilFn(predicate, len) {\n        const start = this._cursor.clone();\n        this._attemptCharCodeUntilFn(predicate);\n        const end = this._cursor.clone();\n        if (end.diff(start) < len) {\n            throw this._createError(_unexpectedCharacterErrorMsg(this._cursor.peek()), this._cursor.getSpan(start));\n        }\n    }\n    _attemptUntilChar(char) {\n        while (this._cursor.peek() !== char) {\n            this._cursor.advance();\n        }\n    }\n    _readChar(decodeEntities) {\n        if (decodeEntities && this._cursor.peek() === $AMPERSAND) {\n            return this._decodeEntity();\n        }\n        else {\n            // Don't rely upon reading directly from `_input` as the actual char value\n            // may have been generated from an escape sequence.\n            const char = String.fromCodePoint(this._cursor.peek());\n            this._cursor.advance();\n            return char;\n        }\n    }\n    _decodeEntity() {\n        const start = this._cursor.clone();\n        this._cursor.advance();\n        if (this._attemptCharCode($HASH)) {\n            const isHex = this._attemptCharCode($x) || this._attemptCharCode($X);\n            const codeStart = this._cursor.clone();\n            this._attemptCharCodeUntilFn(isDigitEntityEnd);\n            if (this._cursor.peek() != $SEMICOLON) {\n                throw this._createError(_unexpectedCharacterErrorMsg(this._cursor.peek()), this._cursor.getSpan());\n            }\n            const strNum = this._cursor.getChars(codeStart);\n            this._cursor.advance();\n            try {\n                const charCode = parseInt(strNum, isHex ? 16 : 10);\n                return String.fromCharCode(charCode);\n            }\n            catch (_a) {\n                throw this._createError(_unknownEntityErrorMsg(this._cursor.getChars(start)), this._cursor.getSpan());\n            }\n        }\n        else {\n            const nameStart = this._cursor.clone();\n            this._attemptCharCodeUntilFn(isNamedEntityEnd);\n            if (this._cursor.peek() != $SEMICOLON) {\n                this._cursor = nameStart;\n                return '&';\n            }\n            const name = this._cursor.getChars(nameStart);\n            this._cursor.advance();\n            const char = NAMED_ENTITIES[name];\n            if (!char) {\n                throw this._createError(_unknownEntityErrorMsg(name), this._cursor.getSpan(start));\n            }\n            return char;\n        }\n    }\n    _consumeRawText(decodeEntities, endMarkerPredicate) {\n        this._beginToken(decodeEntities ? TokenType.ESCAPABLE_RAW_TEXT : TokenType.RAW_TEXT);\n        const parts = [];\n        while (true) {\n            const tagCloseStart = this._cursor.clone();\n            const foundEndMarker = endMarkerPredicate();\n            this._cursor = tagCloseStart;\n            if (foundEndMarker) {\n                break;\n            }\n            parts.push(this._readChar(decodeEntities));\n        }\n        return this._endToken([this._processCarriageReturns(parts.join(''))]);\n    }\n    _consumeComment(start) {\n        this._beginToken(TokenType.COMMENT_START, start);\n        this._requireCharCode($MINUS);\n        this._endToken([]);\n        this._consumeRawText(false, () => this._attemptStr('-->'));\n        this._beginToken(TokenType.COMMENT_END);\n        this._requireStr('-->');\n        this._endToken([]);\n    }\n    _consumeCdata(start) {\n        this._beginToken(TokenType.CDATA_START, start);\n        this._requireStr('CDATA[');\n        this._endToken([]);\n        this._consumeRawText(false, () => this._attemptStr(']]>'));\n        this._beginToken(TokenType.CDATA_END);\n        this._requireStr(']]>');\n        this._endToken([]);\n    }\n    _consumeDocType(start) {\n        this._beginToken(TokenType.DOC_TYPE, start);\n        const contentStart = this._cursor.clone();\n        this._attemptUntilChar($GT);\n        const content = this._cursor.getChars(contentStart);\n        this._cursor.advance();\n        this._endToken([content]);\n    }\n    _consumePrefixAndName() {\n        const nameOrPrefixStart = this._cursor.clone();\n        let prefix = '';\n        while (this._cursor.peek() !== $COLON && !isPrefixEnd(this._cursor.peek())) {\n            this._cursor.advance();\n        }\n        let nameStart;\n        if (this._cursor.peek() === $COLON) {\n            prefix = this._cursor.getChars(nameOrPrefixStart);\n            this._cursor.advance();\n            nameStart = this._cursor.clone();\n        }\n        else {\n            nameStart = nameOrPrefixStart;\n        }\n        this._requireCharCodeUntilFn(isNameEnd, prefix === '' ? 0 : 1);\n        const name = this._cursor.getChars(nameStart);\n        return [prefix, name];\n    }\n    _consumeTagOpen(start) {\n        let tagName;\n        let prefix;\n        let openTagToken;\n        let tokensBeforeTagOpen = this.tokens.length;\n        const innerStart = this._cursor.clone();\n        try {\n            if (!isAsciiLetter(this._cursor.peek())) {\n                throw this._createError(_unexpectedCharacterErrorMsg(this._cursor.peek()), this._cursor.getSpan(start));\n            }\n            openTagToken = this._consumeTagOpenStart(start);\n            prefix = openTagToken.parts[0];\n            tagName = openTagToken.parts[1];\n            this._attemptCharCodeUntilFn(isNotWhitespace);\n            while (this._cursor.peek() !== $SLASH && this._cursor.peek() !== $GT) {\n                this._consumeAttributeName();\n                this._attemptCharCodeUntilFn(isNotWhitespace);\n                if (this._attemptCharCode($EQ)) {\n                    this._attemptCharCodeUntilFn(isNotWhitespace);\n                    this._consumeAttributeValue();\n                }\n                this._attemptCharCodeUntilFn(isNotWhitespace);\n            }\n            this._consumeTagOpenEnd();\n        }\n        catch (e) {\n            if (e instanceof _ControlFlowError) {\n                // When the start tag is invalid (including invalid \"attributes\"), assume we want a \"<\"\n                this._cursor = innerStart;\n                if (openTagToken) {\n                    this.tokens.length = tokensBeforeTagOpen;\n                }\n                // Back to back text tokens are merged at the end\n                this._beginToken(TokenType.TEXT, start);\n                this._endToken(['<']);\n                return;\n            }\n            throw e;\n        }\n        const contentTokenType = this._getTagDefinition(tagName).contentType;\n        if (contentTokenType === TagContentType.RAW_TEXT) {\n            this._consumeRawTextWithTagClose(prefix, tagName, false);\n        }\n        else if (contentTokenType === TagContentType.ESCAPABLE_RAW_TEXT) {\n            this._consumeRawTextWithTagClose(prefix, tagName, true);\n        }\n    }\n    _consumeRawTextWithTagClose(prefix, tagName, decodeEntities) {\n        const textToken = this._consumeRawText(decodeEntities, () => {\n            if (!this._attemptCharCode($LT))\n                return false;\n            if (!this._attemptCharCode($SLASH))\n                return false;\n            this._attemptCharCodeUntilFn(isNotWhitespace);\n            if (!this._attemptStrCaseInsensitive(tagName))\n                return false;\n            this._attemptCharCodeUntilFn(isNotWhitespace);\n            return this._attemptCharCode($GT);\n        });\n        this._beginToken(TokenType.TAG_CLOSE);\n        this._requireCharCodeUntilFn(code => code === $GT, 3);\n        this._cursor.advance(); // Consume the `>`\n        this._endToken([prefix, tagName]);\n    }\n    _consumeTagOpenStart(start) {\n        this._beginToken(TokenType.TAG_OPEN_START, start);\n        const parts = this._consumePrefixAndName();\n        return this._endToken(parts);\n    }\n    _consumeAttributeName() {\n        const attrNameStart = this._cursor.peek();\n        if (attrNameStart === $SQ || attrNameStart === $DQ) {\n            throw this._createError(_unexpectedCharacterErrorMsg(attrNameStart), this._cursor.getSpan());\n        }\n        this._beginToken(TokenType.ATTR_NAME);\n        const prefixAndName = this._consumePrefixAndName();\n        this._endToken(prefixAndName);\n    }\n    _consumeAttributeValue() {\n        let value;\n        if (this._cursor.peek() === $SQ || this._cursor.peek() === $DQ) {\n            this._beginToken(TokenType.ATTR_QUOTE);\n            const quoteChar = this._cursor.peek();\n            this._cursor.advance();\n            this._endToken([String.fromCodePoint(quoteChar)]);\n            this._beginToken(TokenType.ATTR_VALUE);\n            const parts = [];\n            while (this._cursor.peek() !== quoteChar) {\n                parts.push(this._readChar(true));\n            }\n            value = parts.join('');\n            this._endToken([this._processCarriageReturns(value)]);\n            this._beginToken(TokenType.ATTR_QUOTE);\n            this._cursor.advance();\n            this._endToken([String.fromCodePoint(quoteChar)]);\n        }\n        else {\n            this._beginToken(TokenType.ATTR_VALUE);\n            const valueStart = this._cursor.clone();\n            this._requireCharCodeUntilFn(isNameEnd, 1);\n            value = this._cursor.getChars(valueStart);\n            this._endToken([this._processCarriageReturns(value)]);\n        }\n    }\n    _consumeTagOpenEnd() {\n        const tokenType = this._attemptCharCode($SLASH) ? TokenType.TAG_OPEN_END_VOID : TokenType.TAG_OPEN_END;\n        this._beginToken(tokenType);\n        this._requireCharCode($GT);\n        this._endToken([]);\n    }\n    _consumeTagClose(start) {\n        this._beginToken(TokenType.TAG_CLOSE, start);\n        this._attemptCharCodeUntilFn(isNotWhitespace);\n        const prefixAndName = this._consumePrefixAndName();\n        this._attemptCharCodeUntilFn(isNotWhitespace);\n        this._requireCharCode($GT);\n        this._endToken(prefixAndName);\n    }\n    _consumeExpansionFormStart() {\n        this._beginToken(TokenType.EXPANSION_FORM_START);\n        this._requireCharCode($LBRACE);\n        this._endToken([]);\n        this._expansionCaseStack.push(TokenType.EXPANSION_FORM_START);\n        this._beginToken(TokenType.RAW_TEXT);\n        const condition = this._readUntil($COMMA);\n        this._endToken([condition]);\n        this._requireCharCode($COMMA);\n        this._attemptCharCodeUntilFn(isNotWhitespace);\n        this._beginToken(TokenType.RAW_TEXT);\n        const type = this._readUntil($COMMA);\n        this._endToken([type]);\n        this._requireCharCode($COMMA);\n        this._attemptCharCodeUntilFn(isNotWhitespace);\n    }\n    _consumeExpansionCaseStart() {\n        this._beginToken(TokenType.EXPANSION_CASE_VALUE);\n        const value = this._readUntil($LBRACE).trim();\n        this._endToken([value]);\n        this._attemptCharCodeUntilFn(isNotWhitespace);\n        this._beginToken(TokenType.EXPANSION_CASE_EXP_START);\n        this._requireCharCode($LBRACE);\n        this._endToken([]);\n        this._attemptCharCodeUntilFn(isNotWhitespace);\n        this._expansionCaseStack.push(TokenType.EXPANSION_CASE_EXP_START);\n    }\n    _consumeExpansionCaseEnd() {\n        this._beginToken(TokenType.EXPANSION_CASE_EXP_END);\n        this._requireCharCode($RBRACE);\n        this._endToken([]);\n        this._attemptCharCodeUntilFn(isNotWhitespace);\n        this._expansionCaseStack.pop();\n    }\n    _consumeExpansionFormEnd() {\n        this._beginToken(TokenType.EXPANSION_FORM_END);\n        this._requireCharCode($RBRACE);\n        this._endToken([]);\n        this._expansionCaseStack.pop();\n    }\n    _consumeText() {\n        const start = this._cursor.clone();\n        this._beginToken(TokenType.TEXT, start);\n        const parts = [];\n        do {\n            if (this._interpolationConfig && this._attemptStr(this._interpolationConfig.start)) {\n                parts.push(this._interpolationConfig.start);\n                this._inInterpolation = true;\n            }\n            else if (this._interpolationConfig && this._inInterpolation &&\n                this._attemptStr(this._interpolationConfig.end)) {\n                parts.push(this._interpolationConfig.end);\n                this._inInterpolation = false;\n            }\n            else {\n                parts.push(this._readChar(true));\n            }\n        } while (!this._isTextEnd());\n        this._endToken([this._processCarriageReturns(parts.join(''))]);\n    }\n    _isTextEnd() {\n        if (this._cursor.peek() === $LT || this._cursor.peek() === $EOF) {\n            return true;\n        }\n        if (this._tokenizeIcu && !this._inInterpolation) {\n            if (this.isExpansionFormStart()) {\n                // start of an expansion form\n                return true;\n            }\n            if (this._cursor.peek() === $RBRACE && this._isInExpansionCase()) {\n                // end of and expansion case\n                return true;\n            }\n        }\n        return false;\n    }\n    _readUntil(char) {\n        const start = this._cursor.clone();\n        this._attemptUntilChar(char);\n        return this._cursor.getChars(start);\n    }\n    _isInExpansionCase() {\n        return this._expansionCaseStack.length > 0 &&\n            this._expansionCaseStack[this._expansionCaseStack.length - 1] ===\n                TokenType.EXPANSION_CASE_EXP_START;\n    }\n    _isInExpansionForm() {\n        return this._expansionCaseStack.length > 0 &&\n            this._expansionCaseStack[this._expansionCaseStack.length - 1] ===\n                TokenType.EXPANSION_FORM_START;\n    }\n    isExpansionFormStart() {\n        if (this._cursor.peek() !== $LBRACE) {\n            return false;\n        }\n        if (this._interpolationConfig) {\n            const start = this._cursor.clone();\n            const isInterpolation = this._attemptStr(this._interpolationConfig.start);\n            this._cursor = start;\n            return !isInterpolation;\n        }\n        return true;\n    }\n}\nfunction isNotWhitespace(code) {\n    return !isWhitespace(code) || code === $EOF;\n}\nfunction isNameEnd(code) {\n    return isWhitespace(code) || code === $GT || code === $SLASH ||\n        code === $SQ || code === $DQ || code === $EQ;\n}\nfunction isPrefixEnd(code) {\n    return (code < $a || $z < code) && (code < $A || $Z < code) &&\n        (code < $0 || code > $9);\n}\nfunction isDigitEntityEnd(code) {\n    return code == $SEMICOLON || code == $EOF || !isAsciiHexDigit(code);\n}\nfunction isNamedEntityEnd(code) {\n    return code == $SEMICOLON || code == $EOF || !isAsciiLetter(code);\n}\nfunction isExpansionCaseStart(peek) {\n    return peek === $EQ || isAsciiLetter(peek) || isDigit(peek);\n}\nfunction compareCharCodeCaseInsensitive(code1, code2) {\n    return toUpperCaseCharCode(code1) == toUpperCaseCharCode(code2);\n}\nfunction toUpperCaseCharCode(code) {\n    return code >= $a && code <= $z ? code - $a + $A : code;\n}\nfunction mergeTextTokens(srcTokens) {\n    const dstTokens = [];\n    let lastDstToken = undefined;\n    for (let i = 0; i < srcTokens.length; i++) {\n        const token = srcTokens[i];\n        if (lastDstToken && lastDstToken.type == TokenType.TEXT && token.type == TokenType.TEXT) {\n            lastDstToken.parts[0] += token.parts[0];\n            lastDstToken.sourceSpan.end = token.sourceSpan.end;\n        }\n        else {\n            lastDstToken = token;\n            dstTokens.push(lastDstToken);\n        }\n    }\n    return dstTokens;\n}\nclass PlainCharacterCursor {\n    constructor(fileOrCursor, range) {\n        if (fileOrCursor instanceof PlainCharacterCursor) {\n            this.file = fileOrCursor.file;\n            this.input = fileOrCursor.input;\n            this.end = fileOrCursor.end;\n            this.state = Object.assign({}, fileOrCursor.state);\n        }\n        else {\n            if (!range) {\n                throw new Error('Programming error: the range argument must be provided with a file argument.');\n            }\n            this.file = fileOrCursor;\n            this.input = fileOrCursor.content;\n            this.end = range.endPos;\n            this.state = {\n                peek: -1,\n                offset: range.startPos,\n                line: range.startLine,\n                column: range.startCol,\n            };\n        }\n    }\n    clone() { return new PlainCharacterCursor(this); }\n    peek() { return this.state.peek; }\n    charsLeft() { return this.end - this.state.offset; }\n    diff(other) { return this.state.offset - other.state.offset; }\n    advance() { this.advanceState(this.state); }\n    init() { this.updatePeek(this.state); }\n    getSpan(start, leadingTriviaCodePoints) {\n        start = start || this;\n        if (leadingTriviaCodePoints) {\n            start = start.clone();\n            while (this.diff(start) > 0 && leadingTriviaCodePoints.indexOf(start.peek()) !== -1) {\n                start.advance();\n            }\n        }\n        return new ParseSourceSpan(new ParseLocation(start.file, start.state.offset, start.state.line, start.state.column), new ParseLocation(this.file, this.state.offset, this.state.line, this.state.column));\n    }\n    getChars(start) {\n        return this.input.substring(start.state.offset, this.state.offset);\n    }\n    charAt(pos) { return this.input.charCodeAt(pos); }\n    advanceState(state) {\n        if (state.offset >= this.end) {\n            this.state = state;\n            throw new CursorError('Unexpected character \"EOF\"', this);\n        }\n        const currentChar = this.charAt(state.offset);\n        if (currentChar === $LF) {\n            state.line++;\n            state.column = 0;\n        }\n        else if (!isNewLine(currentChar)) {\n            state.column++;\n        }\n        state.offset++;\n        this.updatePeek(state);\n    }\n    updatePeek(state) {\n        state.peek = state.offset >= this.end ? $EOF : this.charAt(state.offset);\n    }\n}\nclass EscapedCharacterCursor extends PlainCharacterCursor {\n    constructor(fileOrCursor, range) {\n        if (fileOrCursor instanceof EscapedCharacterCursor) {\n            super(fileOrCursor);\n            this.internalState = Object.assign({}, fileOrCursor.internalState);\n        }\n        else {\n            super(fileOrCursor, range);\n            this.internalState = this.state;\n        }\n    }\n    advance() {\n        this.state = this.internalState;\n        super.advance();\n        this.processEscapeSequence();\n    }\n    init() {\n        super.init();\n        this.processEscapeSequence();\n    }\n    clone() { return new EscapedCharacterCursor(this); }\n    getChars(start) {\n        const cursor = start.clone();\n        let chars = '';\n        while (cursor.internalState.offset < this.internalState.offset) {\n            chars += String.fromCodePoint(cursor.peek());\n            cursor.advance();\n        }\n        return chars;\n    }\n    /**\n     * Process the escape sequence that starts at the current position in the text.\n     *\n     * This method is called to ensure that `peek` has the unescaped value of escape sequences.\n     */\n    processEscapeSequence() {\n        const peek = () => this.internalState.peek;\n        if (peek() === $BACKSLASH) {\n            // We have hit an escape sequence so we need the internal state to become independent\n            // of the external state.\n            this.internalState = Object.assign({}, this.state);\n            // Move past the backslash\n            this.advanceState(this.internalState);\n            // First check for standard control char sequences\n            if (peek() === $n) {\n                this.state.peek = $LF;\n            }\n            else if (peek() === $r) {\n                this.state.peek = $CR;\n            }\n            else if (peek() === $v) {\n                this.state.peek = $VTAB;\n            }\n            else if (peek() === $t) {\n                this.state.peek = $TAB;\n            }\n            else if (peek() === $b) {\n                this.state.peek = $BSPACE;\n            }\n            else if (peek() === $f) {\n                this.state.peek = $FF;\n            }\n            // Now consider more complex sequences\n            else if (peek() === $u) {\n                // Unicode code-point sequence\n                this.advanceState(this.internalState); // advance past the `u` char\n                if (peek() === $LBRACE) {\n                    // Variable length Unicode, e.g. `\\x{123}`\n                    this.advanceState(this.internalState); // advance past the `{` char\n                    // Advance past the variable number of hex digits until we hit a `}` char\n                    const digitStart = this.clone();\n                    let length = 0;\n                    while (peek() !== $RBRACE) {\n                        this.advanceState(this.internalState);\n                        length++;\n                    }\n                    this.state.peek = this.decodeHexDigits(digitStart, length);\n                }\n                else {\n                    // Fixed length Unicode, e.g. `\\u1234`\n                    const digitStart = this.clone();\n                    this.advanceState(this.internalState);\n                    this.advanceState(this.internalState);\n                    this.advanceState(this.internalState);\n                    this.state.peek = this.decodeHexDigits(digitStart, 4);\n                }\n            }\n            else if (peek() === $x) {\n                // Hex char code, e.g. `\\x2F`\n                this.advanceState(this.internalState); // advance past the `x` char\n                const digitStart = this.clone();\n                this.advanceState(this.internalState);\n                this.state.peek = this.decodeHexDigits(digitStart, 2);\n            }\n            else if (isOctalDigit(peek())) {\n                // Octal char code, e.g. `\\012`,\n                let octal = '';\n                let length = 0;\n                let previous = this.clone();\n                while (isOctalDigit(peek()) && length < 3) {\n                    previous = this.clone();\n                    octal += String.fromCodePoint(peek());\n                    this.advanceState(this.internalState);\n                    length++;\n                }\n                this.state.peek = parseInt(octal, 8);\n                // Backup one char\n                this.internalState = previous.internalState;\n            }\n            else if (isNewLine(this.internalState.peek)) {\n                // Line continuation `\\` followed by a new line\n                this.advanceState(this.internalState); // advance over the newline\n                this.state = this.internalState;\n            }\n            else {\n                // If none of the `if` blocks were executed then we just have an escaped normal character.\n                // In that case we just, effectively, skip the backslash from the character.\n                this.state.peek = this.internalState.peek;\n            }\n        }\n    }\n    decodeHexDigits(start, length) {\n        const hex = this.input.substr(start.internalState.offset, length);\n        const charCode = parseInt(hex, 16);\n        if (!isNaN(charCode)) {\n            return charCode;\n        }\n        else {\n            start.state = start.internalState;\n            throw new CursorError('Invalid hexadecimal escape sequence', start);\n        }\n    }\n}\nclass CursorError {\n    constructor(msg, cursor) {\n        this.msg = msg;\n        this.cursor = cursor;\n    }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nclass TreeError extends ParseError {\n    constructor(elementName, span, msg) {\n        super(span, msg);\n        this.elementName = elementName;\n    }\n    static create(elementName, span, msg) {\n        return new TreeError(elementName, span, msg);\n    }\n}\nclass ParseTreeResult {\n    constructor(rootNodes, errors) {\n        this.rootNodes = rootNodes;\n        this.errors = errors;\n    }\n}\nclass Parser {\n    constructor(getTagDefinition) {\n        this.getTagDefinition = getTagDefinition;\n    }\n    parse(source, url, options) {\n        const tokensAndErrors = tokenize(source, url, this.getTagDefinition, options);\n        const treeAndErrors = new _TreeBuilder(tokensAndErrors.tokens, this.getTagDefinition).build();\n        return new ParseTreeResult(treeAndErrors.rootNodes, tokensAndErrors.errors.concat(treeAndErrors.errors));\n    }\n}\nclass _TreeBuilder {\n    constructor(tokens, getTagDefinition) {\n        this.tokens = tokens;\n        this.getTagDefinition = getTagDefinition;\n        this._index = -1;\n        this._rootNodes = [];\n        this._errors = [];\n        this._elementStack = [];\n        this._advance();\n    }\n    build() {\n        while (this._peek.type !== TokenType.EOF) {\n            if (this._peek.type === TokenType.TAG_OPEN_START) {\n                this._consumeStartTag(this._advance());\n            }\n            else if (this._peek.type === TokenType.TAG_CLOSE) {\n                this._consumeEndTag(this._advance());\n            }\n            else if (this._peek.type === TokenType.CDATA_START) {\n                this._closeVoidElement();\n                this._consumeCdata(this._advance());\n            }\n            else if (this._peek.type === TokenType.COMMENT_START) {\n                this._closeVoidElement();\n                this._consumeComment(this._advance());\n            }\n            else if (this._peek.type === TokenType.TEXT || this._peek.type === TokenType.RAW_TEXT ||\n                this._peek.type === TokenType.ESCAPABLE_RAW_TEXT) {\n                this._closeVoidElement();\n                this._consumeText(this._advance());\n            }\n            else if (this._peek.type === TokenType.EXPANSION_FORM_START) {\n                this._consumeExpansion(this._advance());\n            }\n            else {\n                // Skip all other tokens...\n                this._advance();\n            }\n        }\n        return new ParseTreeResult(this._rootNodes, this._errors);\n    }\n    _advance() {\n        const prev = this._peek;\n        if (this._index < this.tokens.length - 1) {\n            // Note: there is always an EOF token at the end\n            this._index++;\n        }\n        this._peek = this.tokens[this._index];\n        return prev;\n    }\n    _advanceIf(type) {\n        if (this._peek.type === type) {\n            return this._advance();\n        }\n        return null;\n    }\n    _consumeCdata(startToken) {\n        this._consumeText(this._advance());\n        this._advanceIf(TokenType.CDATA_END);\n    }\n    _consumeComment(token) {\n        const text = this._advanceIf(TokenType.RAW_TEXT);\n        this._advanceIf(TokenType.COMMENT_END);\n        const value = text != null ? text.parts[0].trim() : null;\n        this._addToParent(new Comment(value, token.sourceSpan));\n    }\n    _consumeExpansion(token) {\n        const switchValue = this._advance();\n        const type = this._advance();\n        const cases = [];\n        // read =\n        while (this._peek.type === TokenType.EXPANSION_CASE_VALUE) {\n            const expCase = this._parseExpansionCase();\n            if (!expCase)\n                return; // error\n            cases.push(expCase);\n        }\n        // read the final }\n        if (this._peek.type !== TokenType.EXPANSION_FORM_END) {\n            this._errors.push(TreeError.create(null, this._peek.sourceSpan, `Invalid ICU message. Missing '}'.`));\n            return;\n        }\n        const sourceSpan = new ParseSourceSpan(token.sourceSpan.start, this._peek.sourceSpan.end);\n        this._addToParent(new Expansion(switchValue.parts[0], type.parts[0], cases, sourceSpan, switchValue.sourceSpan));\n        this._advance();\n    }\n    _parseExpansionCase() {\n        const value = this._advance();\n        // read {\n        if (this._peek.type !== TokenType.EXPANSION_CASE_EXP_START) {\n            this._errors.push(TreeError.create(null, this._peek.sourceSpan, `Invalid ICU message. Missing '{'.`));\n            return null;\n        }\n        // read until }\n        const start = this._advance();\n        const exp = this._collectExpansionExpTokens(start);\n        if (!exp)\n            return null;\n        const end = this._advance();\n        exp.push(new Token(TokenType.EOF, [], end.sourceSpan));\n        // parse everything in between { and }\n        const parsedExp = new _TreeBuilder(exp, this.getTagDefinition).build();\n        if (parsedExp.errors.length > 0) {\n            this._errors = this._errors.concat(parsedExp.errors);\n            return null;\n        }\n        const sourceSpan = new ParseSourceSpan(value.sourceSpan.start, end.sourceSpan.end);\n        const expSourceSpan = new ParseSourceSpan(start.sourceSpan.start, end.sourceSpan.end);\n        return new ExpansionCase(value.parts[0], parsedExp.rootNodes, sourceSpan, value.sourceSpan, expSourceSpan);\n    }\n    _collectExpansionExpTokens(start) {\n        const exp = [];\n        const expansionFormStack = [TokenType.EXPANSION_CASE_EXP_START];\n        while (true) {\n            if (this._peek.type === TokenType.EXPANSION_FORM_START ||\n                this._peek.type === TokenType.EXPANSION_CASE_EXP_START) {\n                expansionFormStack.push(this._peek.type);\n            }\n            if (this._peek.type === TokenType.EXPANSION_CASE_EXP_END) {\n                if (lastOnStack(expansionFormStack, TokenType.EXPANSION_CASE_EXP_START)) {\n                    expansionFormStack.pop();\n                    if (expansionFormStack.length == 0)\n                        return exp;\n                }\n                else {\n                    this._errors.push(TreeError.create(null, start.sourceSpan, `Invalid ICU message. Missing '}'.`));\n                    return null;\n                }\n            }\n            if (this._peek.type === TokenType.EXPANSION_FORM_END) {\n                if (lastOnStack(expansionFormStack, TokenType.EXPANSION_FORM_START)) {\n                    expansionFormStack.pop();\n                }\n                else {\n                    this._errors.push(TreeError.create(null, start.sourceSpan, `Invalid ICU message. Missing '}'.`));\n                    return null;\n                }\n            }\n            if (this._peek.type === TokenType.EOF) {\n                this._errors.push(TreeError.create(null, start.sourceSpan, `Invalid ICU message. Missing '}'.`));\n                return null;\n            }\n            exp.push(this._advance());\n        }\n    }\n    _consumeText(token) {\n        let text = token.parts[0];\n        if (text.length > 0 && text[0] == '\\n') {\n            const parent = this._getParentElement();\n            if (parent != null && parent.children.length == 0 &&\n                this.getTagDefinition(parent.name).ignoreFirstLf) {\n                text = text.substring(1);\n            }\n        }\n        if (text.length > 0) {\n            this._addToParent(new Text$3(text, token.sourceSpan));\n        }\n    }\n    _closeVoidElement() {\n        const el = this._getParentElement();\n        if (el && this.getTagDefinition(el.name).isVoid) {\n            this._elementStack.pop();\n        }\n    }\n    _consumeStartTag(startTagToken) {\n        const prefix = startTagToken.parts[0];\n        const name = startTagToken.parts[1];\n        const attrs = [];\n        while (this._peek.type === TokenType.ATTR_NAME) {\n            attrs.push(this._consumeAttr(this._advance()));\n        }\n        const fullName = this._getElementFullName(prefix, name, this._getParentElement());\n        let selfClosing = false;\n        // Note: There could have been a tokenizer error\n        // so that we don't get a token for the end tag...\n        if (this._peek.type === TokenType.TAG_OPEN_END_VOID) {\n            this._advance();\n            selfClosing = true;\n            const tagDef = this.getTagDefinition(fullName);\n            if (!(tagDef.canSelfClose || getNsPrefix(fullName) !== null || tagDef.isVoid)) {\n                this._errors.push(TreeError.create(fullName, startTagToken.sourceSpan, `Only void and foreign elements can be self closed \"${startTagToken.parts[1]}\"`));\n            }\n        }\n        else if (this._peek.type === TokenType.TAG_OPEN_END) {\n            this._advance();\n            selfClosing = false;\n        }\n        const end = this._peek.sourceSpan.start;\n        const span = new ParseSourceSpan(startTagToken.sourceSpan.start, end);\n        const el = new Element$1(fullName, attrs, [], span, span, undefined);\n        this._pushElement(el);\n        if (selfClosing) {\n            this._popElement(fullName);\n            el.endSourceSpan = span;\n        }\n    }\n    _pushElement(el) {\n        const parentEl = this._getParentElement();\n        if (parentEl && this.getTagDefinition(parentEl.name).isClosedByChild(el.name)) {\n            this._elementStack.pop();\n        }\n        this._addToParent(el);\n        this._elementStack.push(el);\n    }\n    _consumeEndTag(endTagToken) {\n        const fullName = this._getElementFullName(endTagToken.parts[0], endTagToken.parts[1], this._getParentElement());\n        if (this._getParentElement()) {\n            this._getParentElement().endSourceSpan = endTagToken.sourceSpan;\n        }\n        if (this.getTagDefinition(fullName).isVoid) {\n            this._errors.push(TreeError.create(fullName, endTagToken.sourceSpan, `Void elements do not have end tags \"${endTagToken.parts[1]}\"`));\n        }\n        else if (!this._popElement(fullName)) {\n            const errMsg = `Unexpected closing tag \"${fullName}\". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;\n            this._errors.push(TreeError.create(fullName, endTagToken.sourceSpan, errMsg));\n        }\n    }\n    _popElement(fullName) {\n        for (let stackIndex = this._elementStack.length - 1; stackIndex >= 0; stackIndex--) {\n            const el = this._elementStack[stackIndex];\n            if (el.name == fullName) {\n                this._elementStack.splice(stackIndex, this._elementStack.length - stackIndex);\n                return true;\n            }\n            if (!this.getTagDefinition(el.name).closedByParent) {\n                return false;\n            }\n        }\n        return false;\n    }\n    _consumeAttr(attrName) {\n        const fullName = mergeNsAndName(attrName.parts[0], attrName.parts[1]);\n        let end = attrName.sourceSpan.end;\n        let value = '';\n        let valueSpan = undefined;\n        if (this._peek.type === TokenType.ATTR_QUOTE) {\n            this._advance();\n        }\n        if (this._peek.type === TokenType.ATTR_VALUE) {\n            const valueToken = this._advance();\n            value = valueToken.parts[0];\n            end = valueToken.sourceSpan.end;\n            valueSpan = valueToken.sourceSpan;\n        }\n        if (this._peek.type === TokenType.ATTR_QUOTE) {\n            const quoteToken = this._advance();\n            end = quoteToken.sourceSpan.end;\n        }\n        return new Attribute(fullName, value, new ParseSourceSpan(attrName.sourceSpan.start, end), valueSpan);\n    }\n    _getParentElement() {\n        return this._elementStack.length > 0 ? this._elementStack[this._elementStack.length - 1] : null;\n    }\n    /**\n     * Returns the parent in the DOM and the container.\n     *\n     * `<ng-container>` elements are skipped as they are not rendered as DOM element.\n     */\n    _getParentElementSkippingContainers() {\n        let container = null;\n        for (let i = this._elementStack.length - 1; i >= 0; i--) {\n            if (!isNgContainer(this._elementStack[i].name)) {\n                return { parent: this._elementStack[i], container };\n            }\n            container = this._elementStack[i];\n        }\n        return { parent: null, container };\n    }\n    _addToParent(node) {\n        const parent = this._getParentElement();\n        if (parent != null) {\n            parent.children.push(node);\n        }\n        else {\n            this._rootNodes.push(node);\n        }\n    }\n    /**\n     * Insert a node between the parent and the container.\n     * When no container is given, the node is appended as a child of the parent.\n     * Also updates the element stack accordingly.\n     *\n     * @internal\n     */\n    _insertBeforeContainer(parent, container, node) {\n        if (!container) {\n            this._addToParent(node);\n            this._elementStack.push(node);\n        }\n        else {\n            if (parent) {\n                // replace the container with the new node in the children\n                const index = parent.children.indexOf(container);\n                parent.children[index] = node;\n            }\n            else {\n                this._rootNodes.push(node);\n            }\n            node.children.push(container);\n            this._elementStack.splice(this._elementStack.indexOf(container), 0, node);\n        }\n    }\n    _getElementFullName(prefix, localName, parentElement) {\n        if (prefix === '') {\n            prefix = this.getTagDefinition(localName).implicitNamespacePrefix || '';\n            if (prefix === '' && parentElement != null) {\n                prefix = getNsPrefix(parentElement.name);\n            }\n        }\n        return mergeNsAndName(prefix, localName);\n    }\n}\nfunction lastOnStack(stack, element) {\n    return stack.length > 0 && stack[stack.length - 1] === element;\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nclass HtmlParser extends Parser {\n    constructor() { super(getHtmlTagDefinition); }\n    parse(source, url, options) {\n        return super.parse(source, url, options);\n    }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst PRESERVE_WS_ATTR_NAME = 'ngPreserveWhitespaces';\nconst SKIP_WS_TRIM_TAGS = new Set(['pre', 'template', 'textarea', 'script', 'style']);\n// Equivalent to \\s with \\u00a0 (non-breaking space) excluded.\n// Based on https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp\nconst WS_CHARS = ' \\f\\n\\r\\t\\v\\u1680\\u180e\\u2000-\\u200a\\u2028\\u2029\\u202f\\u205f\\u3000\\ufeff';\nconst NO_WS_REGEXP = new RegExp(`[^${WS_CHARS}]`);\nconst WS_REPLACE_REGEXP = new RegExp(`[${WS_CHARS}]{2,}`, 'g');\nfunction hasPreserveWhitespacesAttr(attrs) {\n    return attrs.some((attr) => attr.name === PRESERVE_WS_ATTR_NAME);\n}\n/**\n * Angular Dart introduced &ngsp; as a placeholder for non-removable space, see:\n * https://github.com/dart-lang/angular/blob/0bb611387d29d65b5af7f9d2515ab571fd3fbee4/_tests/test/compiler/preserve_whitespace_test.dart#L25-L32\n * In Angular Dart &ngsp; is converted to the 0xE500 PUA (Private Use Areas) unicode character\n * and later on replaced by a space. We are re-implementing the same idea here.\n */\nfunction replaceNgsp(value) {\n    // lexer is replacing the &ngsp; pseudo-entity with NGSP_UNICODE\n    return value.replace(new RegExp(NGSP_UNICODE, 'g'), ' ');\n}\n/**\n * This visitor can walk HTML parse tree and remove / trim text nodes using the following rules:\n * - consider spaces, tabs and new lines as whitespace characters;\n * - drop text nodes consisting of whitespace characters only;\n * - for all other text nodes replace consecutive whitespace characters with one space;\n * - convert &ngsp; pseudo-entity to a single space;\n *\n * Removal and trimming of whitespaces have positive performance impact (less code to generate\n * while compiling templates, faster view creation). At the same time it can be \"destructive\"\n * in some cases (whitespaces can influence layout). Because of the potential of breaking layout\n * this visitor is not activated by default in Angular 5 and people need to explicitly opt-in for\n * whitespace removal. The default option for whitespace removal will be revisited in Angular 6\n * and might be changed to \"on\" by default.\n */\nclass WhitespaceVisitor {\n    visitElement(element, context) {\n        if (SKIP_WS_TRIM_TAGS.has(element.name) || hasPreserveWhitespacesAttr(element.attrs)) {\n            // don't descent into elements where we need to preserve whitespaces\n            // but still visit all attributes to eliminate one used as a market to preserve WS\n            return new Element$1(element.name, visitAll$1(this, element.attrs), element.children, element.sourceSpan, element.startSourceSpan, element.endSourceSpan, element.i18n);\n        }\n        return new Element$1(element.name, element.attrs, visitAll$1(this, element.children), element.sourceSpan, element.startSourceSpan, element.endSourceSpan, element.i18n);\n    }\n    visitAttribute(attribute, context) {\n        return attribute.name !== PRESERVE_WS_ATTR_NAME ? attribute : null;\n    }\n    visitText(text, context) {\n        const isNotBlank = text.value.match(NO_WS_REGEXP);\n        if (isNotBlank) {\n            return new Text$3(replaceNgsp(text.value).replace(WS_REPLACE_REGEXP, ' '), text.sourceSpan, text.i18n);\n        }\n        return null;\n    }\n    visitComment(comment, context) { return comment; }\n    visitExpansion(expansion, context) { return expansion; }\n    visitExpansionCase(expansionCase, context) { return expansionCase; }\n}\nfunction removeWhitespaces(htmlAstWithErrors) {\n    return new ParseTreeResult(visitAll$1(new WhitespaceVisitor(), htmlAstWithErrors.rootNodes), htmlAstWithErrors.errors);\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n// http://cldr.unicode.org/index/cldr-spec/plural-rules\nconst PLURAL_CASES = ['zero', 'one', 'two', 'few', 'many', 'other'];\n/**\n * Expands special forms into elements.\n *\n * For example,\n *\n * ```\n * { messages.length, plural,\n *   =0 {zero}\n *   =1 {one}\n *   other {more than one}\n * }\n * ```\n *\n * will be expanded into\n *\n * ```\n * <ng-container [ngPlural]=\"messages.length\">\n *   <ng-template ngPluralCase=\"=0\">zero</ng-template>\n *   <ng-template ngPluralCase=\"=1\">one</ng-template>\n *   <ng-template ngPluralCase=\"other\">more than one</ng-template>\n * </ng-container>\n * ```\n */\nfunction expandNodes(nodes) {\n    const expander = new _Expander();\n    return new ExpansionResult(visitAll$1(expander, nodes), expander.isExpanded, expander.errors);\n}\nclass ExpansionResult {\n    constructor(nodes, expanded, errors) {\n        this.nodes = nodes;\n        this.expanded = expanded;\n        this.errors = errors;\n    }\n}\nclass ExpansionError extends ParseError {\n    constructor(span, errorMsg) { super(span, errorMsg); }\n}\n/**\n * Expand expansion forms (plural, select) to directives\n *\n * @internal\n */\nclass _Expander {\n    constructor() {\n        this.isExpanded = false;\n        this.errors = [];\n    }\n    visitElement(element, context) {\n        return new Element$1(element.name, element.attrs, visitAll$1(this, element.children), element.sourceSpan, element.startSourceSpan, element.endSourceSpan);\n    }\n    visitAttribute(attribute, context) { return attribute; }\n    visitText(text, context) { return text; }\n    visitComment(comment, context) { return comment; }\n    visitExpansion(icu, context) {\n        this.isExpanded = true;\n        return icu.type == 'plural' ? _expandPluralForm(icu, this.errors) :\n            _expandDefaultForm(icu, this.errors);\n    }\n    visitExpansionCase(icuCase, context) {\n        throw new Error('Should not be reached');\n    }\n}\n// Plural forms are expanded to `NgPlural` and `NgPluralCase`s\nfunction _expandPluralForm(ast, errors) {\n    const children = ast.cases.map(c => {\n        if (PLURAL_CASES.indexOf(c.value) == -1 && !c.value.match(/^=\\d+$/)) {\n            errors.push(new ExpansionError(c.valueSourceSpan, `Plural cases should be \"=<number>\" or one of ${PLURAL_CASES.join(\", \")}`));\n        }\n        const expansionResult = expandNodes(c.expression);\n        errors.push(...expansionResult.errors);\n        return new Element$1(`ng-template`, [new Attribute('ngPluralCase', `${c.value}`, c.valueSourceSpan)], expansionResult.nodes, c.sourceSpan, c.sourceSpan, c.sourceSpan);\n    });\n    const switchAttr = new Attribute('[ngPlural]', ast.switchValue, ast.switchValueSourceSpan);\n    return new Element$1('ng-container', [switchAttr], children, ast.sourceSpan, ast.sourceSpan, ast.sourceSpan);\n}\n// ICU messages (excluding plural form) are expanded to `NgSwitch`  and `NgSwitchCase`s\nfunction _expandDefaultForm(ast, errors) {\n    const children = ast.cases.map(c => {\n        const expansionResult = expandNodes(c.expression);\n        errors.push(...expansionResult.errors);\n        if (c.value === 'other') {\n            // other is the default case when no values match\n            return new Element$1(`ng-template`, [new Attribute('ngSwitchDefault', '', c.valueSourceSpan)], expansionResult.nodes, c.sourceSpan, c.sourceSpan, c.sourceSpan);\n        }\n        return new Element$1(`ng-template`, [new Attribute('ngSwitchCase', `${c.value}`, c.valueSourceSpan)], expansionResult.nodes, c.sourceSpan, c.sourceSpan, c.sourceSpan);\n    });\n    const switchAttr = new Attribute('[ngSwitch]', ast.switchValue, ast.switchValueSourceSpan);\n    return new Element$1('ng-container', [switchAttr], children, ast.sourceSpan, ast.sourceSpan, ast.sourceSpan);\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * A segment of text within the template.\n */\nclass TextAst {\n    constructor(value, ngContentIndex, sourceSpan) {\n        this.value = value;\n        this.ngContentIndex = ngContentIndex;\n        this.sourceSpan = sourceSpan;\n    }\n    visit(visitor, context) { return visitor.visitText(this, context); }\n}\n/**\n * A bound expression within the text of a template.\n */\nclass BoundTextAst {\n    constructor(value, ngContentIndex, sourceSpan) {\n        this.value = value;\n        this.ngContentIndex = ngContentIndex;\n        this.sourceSpan = sourceSpan;\n    }\n    visit(visitor, context) {\n        return visitor.visitBoundText(this, context);\n    }\n}\n/**\n * A plain attribute on an element.\n */\nclass AttrAst {\n    constructor(name, value, sourceSpan) {\n        this.name = name;\n        this.value = value;\n        this.sourceSpan = sourceSpan;\n    }\n    visit(visitor, context) { return visitor.visitAttr(this, context); }\n}\nconst BoundPropertyMapping = {\n    [4 /* Animation */]: 4 /* Animation */,\n    [1 /* Attribute */]: 1 /* Attribute */,\n    [2 /* Class */]: 2 /* Class */,\n    [0 /* Property */]: 0 /* Property */,\n    [3 /* Style */]: 3 /* Style */,\n};\n/**\n * A binding for an element property (e.g. `[property]=\"expression\"`) or an animation trigger (e.g.\n * `[@trigger]=\"stateExp\"`)\n */\nclass BoundElementPropertyAst {\n    constructor(name, type, securityContext, value, unit, sourceSpan) {\n        this.name = name;\n        this.type = type;\n        this.securityContext = securityContext;\n        this.value = value;\n        this.unit = unit;\n        this.sourceSpan = sourceSpan;\n        this.isAnimation = this.type === 4 /* Animation */;\n    }\n    static fromBoundProperty(prop) {\n        const type = BoundPropertyMapping[prop.type];\n        return new BoundElementPropertyAst(prop.name, type, prop.securityContext, prop.value, prop.unit, prop.sourceSpan);\n    }\n    visit(visitor, context) {\n        return visitor.visitElementProperty(this, context);\n    }\n}\n/**\n * A binding for an element event (e.g. `(event)=\"handler()\"`) or an animation trigger event (e.g.\n * `(@trigger.phase)=\"callback($event)\"`).\n */\nclass BoundEventAst {\n    constructor(name, target, phase, handler, sourceSpan, handlerSpan) {\n        this.name = name;\n        this.target = target;\n        this.phase = phase;\n        this.handler = handler;\n        this.sourceSpan = sourceSpan;\n        this.handlerSpan = handlerSpan;\n        this.fullName = BoundEventAst.calcFullName(this.name, this.target, this.phase);\n        this.isAnimation = !!this.phase;\n    }\n    static calcFullName(name, target, phase) {\n        if (target) {\n            return `${target}:${name}`;\n        }\n        if (phase) {\n            return `@${name}.${phase}`;\n        }\n        return name;\n    }\n    static fromParsedEvent(event) {\n        const target = event.type === 0 /* Regular */ ? event.targetOrPhase : null;\n        const phase = event.type === 1 /* Animation */ ? event.targetOrPhase : null;\n        return new BoundEventAst(event.name, target, phase, event.handler, event.sourceSpan, event.handlerSpan);\n    }\n    visit(visitor, context) {\n        return visitor.visitEvent(this, context);\n    }\n}\n/**\n * A reference declaration on an element (e.g. `let someName=\"expression\"`).\n */\nclass ReferenceAst {\n    constructor(name, value, originalValue, sourceSpan) {\n        this.name = name;\n        this.value = value;\n        this.originalValue = originalValue;\n        this.sourceSpan = sourceSpan;\n    }\n    visit(visitor, context) {\n        return visitor.visitReference(this, context);\n    }\n}\n/**\n * A variable declaration on a <ng-template> (e.g. `var-someName=\"someLocalName\"`).\n */\nclass VariableAst {\n    constructor(name, value, sourceSpan) {\n        this.name = name;\n        this.value = value;\n        this.sourceSpan = sourceSpan;\n    }\n    static fromParsedVariable(v) {\n        return new VariableAst(v.name, v.value, v.sourceSpan);\n    }\n    visit(visitor, context) {\n        return visitor.visitVariable(this, context);\n    }\n}\n/**\n * An element declaration in a template.\n */\nclass ElementAst {\n    constructor(name, attrs, inputs, outputs, references, directives, providers, hasViewContainer, queryMatches, children, ngContentIndex, sourceSpan, endSourceSpan) {\n        this.name = name;\n        this.attrs = attrs;\n        this.inputs = inputs;\n        this.outputs = outputs;\n        this.references = references;\n        this.directives = directives;\n        this.providers = providers;\n        this.hasViewContainer = hasViewContainer;\n        this.queryMatches = queryMatches;\n        this.children = children;\n        this.ngContentIndex = ngContentIndex;\n        this.sourceSpan = sourceSpan;\n        this.endSourceSpan = endSourceSpan;\n    }\n    visit(visitor, context) {\n        return visitor.visitElement(this, context);\n    }\n}\n/**\n * A `<ng-template>` element included in an Angular template.\n */\nclass EmbeddedTemplateAst {\n    constructor(attrs, outputs, references, variables, directives, providers, hasViewContainer, queryMatches, children, ngContentIndex, sourceSpan) {\n        this.attrs = attrs;\n        this.outputs = outputs;\n        this.references = references;\n        this.variables = variables;\n        this.directives = directives;\n        this.providers = providers;\n        this.hasViewContainer = hasViewContainer;\n        this.queryMatches = queryMatches;\n        this.children = children;\n        this.ngContentIndex = ngContentIndex;\n        this.sourceSpan = sourceSpan;\n    }\n    visit(visitor, context) {\n        return visitor.visitEmbeddedTemplate(this, context);\n    }\n}\n/**\n * A directive property with a bound value (e.g. `*ngIf=\"condition\").\n */\nclass BoundDirectivePropertyAst {\n    constructor(directiveName, templateName, value, sourceSpan) {\n        this.directiveName = directiveName;\n        this.templateName = templateName;\n        this.value = value;\n        this.sourceSpan = sourceSpan;\n    }\n    visit(visitor, context) {\n        return visitor.visitDirectiveProperty(this, context);\n    }\n}\n/**\n * A directive declared on an element.\n */\nclass DirectiveAst {\n    constructor(directive, inputs, hostProperties, hostEvents, contentQueryStartId, sourceSpan) {\n        this.directive = directive;\n        this.inputs = inputs;\n        this.hostProperties = hostProperties;\n        this.hostEvents = hostEvents;\n        this.contentQueryStartId = contentQueryStartId;\n        this.sourceSpan = sourceSpan;\n    }\n    visit(visitor, context) {\n        return visitor.visitDirective(this, context);\n    }\n}\n/**\n * A provider declared on an element\n */\nclass ProviderAst {\n    constructor(token, multiProvider, eager, providers, providerType, lifecycleHooks, sourceSpan, isModule) {\n        this.token = token;\n        this.multiProvider = multiProvider;\n        this.eager = eager;\n        this.providers = providers;\n        this.providerType = providerType;\n        this.lifecycleHooks = lifecycleHooks;\n        this.sourceSpan = sourceSpan;\n        this.isModule = isModule;\n    }\n    visit(visitor, context) {\n        // No visit method in the visitor for now...\n        return null;\n    }\n}\nvar ProviderAstType;\n(function (ProviderAstType) {\n    ProviderAstType[ProviderAstType[\"PublicService\"] = 0] = \"PublicService\";\n    ProviderAstType[ProviderAstType[\"PrivateService\"] = 1] = \"PrivateService\";\n    ProviderAstType[ProviderAstType[\"Component\"] = 2] = \"Component\";\n    ProviderAstType[ProviderAstType[\"Directive\"] = 3] = \"Directive\";\n    ProviderAstType[ProviderAstType[\"Builtin\"] = 4] = \"Builtin\";\n})(ProviderAstType || (ProviderAstType = {}));\n/**\n * Position where content is to be projected (instance of `<ng-content>` in a template).\n */\nclass NgContentAst {\n    constructor(index, ngContentIndex, sourceSpan) {\n        this.index = index;\n        this.ngContentIndex = ngContentIndex;\n        this.sourceSpan = sourceSpan;\n    }\n    visit(visitor, context) {\n        return visitor.visitNgContent(this, context);\n    }\n}\n/**\n * A visitor that accepts each node but doesn't do anything. It is intended to be used\n * as the base class for a visitor that is only interested in a subset of the node types.\n */\nclass NullTemplateVisitor {\n    visitNgContent(ast, context) { }\n    visitEmbeddedTemplate(ast, context) { }\n    visitElement(ast, context) { }\n    visitReference(ast, context) { }\n    visitVariable(ast, context) { }\n    visitEvent(ast, context) { }\n    visitElementProperty(ast, context) { }\n    visitAttr(ast, context) { }\n    visitBoundText(ast, context) { }\n    visitText(ast, context) { }\n    visitDirective(ast, context) { }\n    visitDirectiveProperty(ast, context) { }\n}\n/**\n * Base class that can be used to build a visitor that visits each node\n * in an template ast recursively.\n */\nclass RecursiveTemplateAstVisitor extends NullTemplateVisitor {\n    constructor() { super(); }\n    // Nodes with children\n    visitEmbeddedTemplate(ast, context) {\n        return this.visitChildren(context, visit => {\n            visit(ast.attrs);\n            visit(ast.references);\n            visit(ast.variables);\n            visit(ast.directives);\n            visit(ast.providers);\n            visit(ast.children);\n        });\n    }\n    visitElement(ast, context) {\n        return this.visitChildren(context, visit => {\n            visit(ast.attrs);\n            visit(ast.inputs);\n            visit(ast.outputs);\n            visit(ast.references);\n            visit(ast.directives);\n            visit(ast.providers);\n            visit(ast.children);\n        });\n    }\n    visitDirective(ast, context) {\n        return this.visitChildren(context, visit => {\n            visit(ast.inputs);\n            visit(ast.hostProperties);\n            visit(ast.hostEvents);\n        });\n    }\n    visitChildren(context, cb) {\n        let results = [];\n        let t = this;\n        function visit(children) {\n            if (children && children.length)\n                results.push(templateVisitAll(t, children, context));\n        }\n        cb(visit);\n        return Array.prototype.concat.apply([], results);\n    }\n}\n/**\n * Visit every node in a list of {@link TemplateAst}s with the given {@link TemplateAstVisitor}.\n */\nfunction templateVisitAll(visitor, asts, context = null) {\n    const result = [];\n    const visit = visitor.visit ?\n        (ast) => visitor.visit(ast, context) || ast.visit(visitor, context) :\n        (ast) => ast.visit(visitor, context);\n    asts.forEach(ast => {\n        const astResult = visit(ast);\n        if (astResult) {\n            result.push(astResult);\n        }\n    });\n    return result;\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nclass ProviderError extends ParseError {\n    constructor(message, span) { super(span, message); }\n}\nclass ProviderViewContext {\n    constructor(reflector, component) {\n        this.reflector = reflector;\n        this.component = component;\n        this.errors = [];\n        this.viewQueries = _getViewQueries(component);\n        this.viewProviders = new Map();\n        component.viewProviders.forEach((provider) => {\n            if (this.viewProviders.get(tokenReference(provider.token)) == null) {\n                this.viewProviders.set(tokenReference(provider.token), true);\n            }\n        });\n    }\n}\nclass ProviderElementContext {\n    constructor(viewContext, _parent, _isViewRoot, _directiveAsts, attrs, refs, isTemplate, contentQueryStartId, _sourceSpan) {\n        this.viewContext = viewContext;\n        this._parent = _parent;\n        this._isViewRoot = _isViewRoot;\n        this._directiveAsts = _directiveAsts;\n        this._sourceSpan = _sourceSpan;\n        this._transformedProviders = new Map();\n        this._seenProviders = new Map();\n        this._queriedTokens = new Map();\n        this.transformedHasViewContainer = false;\n        this._attrs = {};\n        attrs.forEach((attrAst) => this._attrs[attrAst.name] = attrAst.value);\n        const directivesMeta = _directiveAsts.map(directiveAst => directiveAst.directive);\n        this._allProviders =\n            _resolveProvidersFromDirectives(directivesMeta, _sourceSpan, viewContext.errors);\n        this._contentQueries = _getContentQueries(contentQueryStartId, directivesMeta);\n        Array.from(this._allProviders.values()).forEach((provider) => {\n            this._addQueryReadsTo(provider.token, provider.token, this._queriedTokens);\n        });\n        if (isTemplate) {\n            const templateRefId = createTokenForExternalReference(this.viewContext.reflector, Identifiers.TemplateRef);\n            this._addQueryReadsTo(templateRefId, templateRefId, this._queriedTokens);\n        }\n        refs.forEach((refAst) => {\n            let defaultQueryValue = refAst.value ||\n                createTokenForExternalReference(this.viewContext.reflector, Identifiers.ElementRef);\n            this._addQueryReadsTo({ value: refAst.name }, defaultQueryValue, this._queriedTokens);\n        });\n        if (this._queriedTokens.get(this.viewContext.reflector.resolveExternalReference(Identifiers.ViewContainerRef))) {\n            this.transformedHasViewContainer = true;\n        }\n        // create the providers that we know are eager first\n        Array.from(this._allProviders.values()).forEach((provider) => {\n            const eager = provider.eager || this._queriedTokens.get(tokenReference(provider.token));\n            if (eager) {\n                this._getOrCreateLocalProvider(provider.providerType, provider.token, true);\n            }\n        });\n    }\n    afterElement() {\n        // collect lazy providers\n        Array.from(this._allProviders.values()).forEach((provider) => {\n            this._getOrCreateLocalProvider(provider.providerType, provider.token, false);\n        });\n    }\n    get transformProviders() {\n        // Note: Maps keep their insertion order.\n        const lazyProviders = [];\n        const eagerProviders = [];\n        this._transformedProviders.forEach(provider => {\n            if (provider.eager) {\n                eagerProviders.push(provider);\n            }\n            else {\n                lazyProviders.push(provider);\n            }\n        });\n        return lazyProviders.concat(eagerProviders);\n    }\n    get transformedDirectiveAsts() {\n        const sortedProviderTypes = this.transformProviders.map(provider => provider.token.identifier);\n        const sortedDirectives = this._directiveAsts.slice();\n        sortedDirectives.sort((dir1, dir2) => sortedProviderTypes.indexOf(dir1.directive.type) -\n            sortedProviderTypes.indexOf(dir2.directive.type));\n        return sortedDirectives;\n    }\n    get queryMatches() {\n        const allMatches = [];\n        this._queriedTokens.forEach((matches) => { allMatches.push(...matches); });\n        return allMatches;\n    }\n    _addQueryReadsTo(token, defaultValue, queryReadTokens) {\n        this._getQueriesFor(token).forEach((query) => {\n            const queryValue = query.meta.read || defaultValue;\n            const tokenRef = tokenReference(queryValue);\n            let queryMatches = queryReadTokens.get(tokenRef);\n            if (!queryMatches) {\n                queryMatches = [];\n                queryReadTokens.set(tokenRef, queryMatches);\n            }\n            queryMatches.push({ queryId: query.queryId, value: queryValue });\n        });\n    }\n    _getQueriesFor(token) {\n        const result = [];\n        let currentEl = this;\n        let distance = 0;\n        let queries;\n        while (currentEl !== null) {\n            queries = currentEl._contentQueries.get(tokenReference(token));\n            if (queries) {\n                result.push(...queries.filter((query) => query.meta.descendants || distance <= 1));\n            }\n            if (currentEl._directiveAsts.length > 0) {\n                distance++;\n            }\n            currentEl = currentEl._parent;\n        }\n        queries = this.viewContext.viewQueries.get(tokenReference(token));\n        if (queries) {\n            result.push(...queries);\n        }\n        return result;\n    }\n    _getOrCreateLocalProvider(requestingProviderType, token, eager) {\n        const resolvedProvider = this._allProviders.get(tokenReference(token));\n        if (!resolvedProvider || ((requestingProviderType === ProviderAstType.Directive ||\n            requestingProviderType === ProviderAstType.PublicService) &&\n            resolvedProvider.providerType === ProviderAstType.PrivateService) ||\n            ((requestingProviderType === ProviderAstType.PrivateService ||\n                requestingProviderType === ProviderAstType.PublicService) &&\n                resolvedProvider.providerType === ProviderAstType.Builtin)) {\n            return null;\n        }\n        let transformedProviderAst = this._transformedProviders.get(tokenReference(token));\n        if (transformedProviderAst) {\n            return transformedProviderAst;\n        }\n        if (this._seenProviders.get(tokenReference(token)) != null) {\n            this.viewContext.errors.push(new ProviderError(`Cannot instantiate cyclic dependency! ${tokenName(token)}`, this._sourceSpan));\n            return null;\n        }\n        this._seenProviders.set(tokenReference(token), true);\n        const transformedProviders = resolvedProvider.providers.map((provider) => {\n            let transformedUseValue = provider.useValue;\n            let transformedUseExisting = provider.useExisting;\n            let transformedDeps = undefined;\n            if (provider.useExisting != null) {\n                const existingDiDep = this._getDependency(resolvedProvider.providerType, { token: provider.useExisting }, eager);\n                if (existingDiDep.token != null) {\n                    transformedUseExisting = existingDiDep.token;\n                }\n                else {\n                    transformedUseExisting = null;\n                    transformedUseValue = existingDiDep.value;\n                }\n            }\n            else if (provider.useFactory) {\n                const deps = provider.deps || provider.useFactory.diDeps;\n                transformedDeps =\n                    deps.map((dep) => this._getDependency(resolvedProvider.providerType, dep, eager));\n            }\n            else if (provider.useClass) {\n                const deps = provider.deps || provider.useClass.diDeps;\n                transformedDeps =\n                    deps.map((dep) => this._getDependency(resolvedProvider.providerType, dep, eager));\n            }\n            return _transformProvider(provider, {\n                useExisting: transformedUseExisting,\n                useValue: transformedUseValue,\n                deps: transformedDeps\n            });\n        });\n        transformedProviderAst =\n            _transformProviderAst(resolvedProvider, { eager: eager, providers: transformedProviders });\n        this._transformedProviders.set(tokenReference(token), transformedProviderAst);\n        return transformedProviderAst;\n    }\n    _getLocalDependency(requestingProviderType, dep, eager = false) {\n        if (dep.isAttribute) {\n            const attrValue = this._attrs[dep.token.value];\n            return { isValue: true, value: attrValue == null ? null : attrValue };\n        }\n        if (dep.token != null) {\n            // access builtints\n            if ((requestingProviderType === ProviderAstType.Directive ||\n                requestingProviderType === ProviderAstType.Component)) {\n                if (tokenReference(dep.token) ===\n                    this.viewContext.reflector.resolveExternalReference(Identifiers.Renderer) ||\n                    tokenReference(dep.token) ===\n                        this.viewContext.reflector.resolveExternalReference(Identifiers.ElementRef) ||\n                    tokenReference(dep.token) ===\n                        this.viewContext.reflector.resolveExternalReference(Identifiers.ChangeDetectorRef) ||\n                    tokenReference(dep.token) ===\n                        this.viewContext.reflector.resolveExternalReference(Identifiers.TemplateRef)) {\n                    return dep;\n                }\n                if (tokenReference(dep.token) ===\n                    this.viewContext.reflector.resolveExternalReference(Identifiers.ViewContainerRef)) {\n                    this.transformedHasViewContainer = true;\n                }\n            }\n            // access the injector\n            if (tokenReference(dep.token) ===\n                this.viewContext.reflector.resolveExternalReference(Identifiers.Injector)) {\n                return dep;\n            }\n            // access providers\n            if (this._getOrCreateLocalProvider(requestingProviderType, dep.token, eager) != null) {\n                return dep;\n            }\n        }\n        return null;\n    }\n    _getDependency(requestingProviderType, dep, eager = false) {\n        let currElement = this;\n        let currEager = eager;\n        let result = null;\n        if (!dep.isSkipSelf) {\n            result = this._getLocalDependency(requestingProviderType, dep, eager);\n        }\n        if (dep.isSelf) {\n            if (!result && dep.isOptional) {\n                result = { isValue: true, value: null };\n            }\n        }\n        else {\n            // check parent elements\n            while (!result && currElement._parent) {\n                const prevElement = currElement;\n                currElement = currElement._parent;\n                if (prevElement._isViewRoot) {\n                    currEager = false;\n                }\n                result = currElement._getLocalDependency(ProviderAstType.PublicService, dep, currEager);\n            }\n            // check @Host restriction\n            if (!result) {\n                if (!dep.isHost || this.viewContext.component.isHost ||\n                    this.viewContext.component.type.reference === tokenReference(dep.token) ||\n                    this.viewContext.viewProviders.get(tokenReference(dep.token)) != null) {\n                    result = dep;\n                }\n                else {\n                    result = dep.isOptional ? { isValue: true, value: null } : null;\n                }\n            }\n        }\n        if (!result) {\n            this.viewContext.errors.push(new ProviderError(`No provider for ${tokenName(dep.token)}`, this._sourceSpan));\n        }\n        return result;\n    }\n}\nclass NgModuleProviderAnalyzer {\n    constructor(reflector, ngModule, extraProviders, sourceSpan) {\n        this.reflector = reflector;\n        this._transformedProviders = new Map();\n        this._seenProviders = new Map();\n        this._errors = [];\n        this._allProviders = new Map();\n        ngModule.transitiveModule.modules.forEach((ngModuleType) => {\n            const ngModuleProvider = { token: { identifier: ngModuleType }, useClass: ngModuleType };\n            _resolveProviders([ngModuleProvider], ProviderAstType.PublicService, true, sourceSpan, this._errors, this._allProviders, /* isModule */ true);\n        });\n        _resolveProviders(ngModule.transitiveModule.providers.map(entry => entry.provider).concat(extraProviders), ProviderAstType.PublicService, false, sourceSpan, this._errors, this._allProviders, \n        /* isModule */ false);\n    }\n    parse() {\n        Array.from(this._allProviders.values()).forEach((provider) => {\n            this._getOrCreateLocalProvider(provider.token, provider.eager);\n        });\n        if (this._errors.length > 0) {\n            const errorString = this._errors.join('\\n');\n            throw new Error(`Provider parse errors:\\n${errorString}`);\n        }\n        // Note: Maps keep their insertion order.\n        const lazyProviders = [];\n        const eagerProviders = [];\n        this._transformedProviders.forEach(provider => {\n            if (provider.eager) {\n                eagerProviders.push(provider);\n            }\n            else {\n                lazyProviders.push(provider);\n            }\n        });\n        return lazyProviders.concat(eagerProviders);\n    }\n    _getOrCreateLocalProvider(token, eager) {\n        const resolvedProvider = this._allProviders.get(tokenReference(token));\n        if (!resolvedProvider) {\n            return null;\n        }\n        let transformedProviderAst = this._transformedProviders.get(tokenReference(token));\n        if (transformedProviderAst) {\n            return transformedProviderAst;\n        }\n        if (this._seenProviders.get(tokenReference(token)) != null) {\n            this._errors.push(new ProviderError(`Cannot instantiate cyclic dependency! ${tokenName(token)}`, resolvedProvider.sourceSpan));\n            return null;\n        }\n        this._seenProviders.set(tokenReference(token), true);\n        const transformedProviders = resolvedProvider.providers.map((provider) => {\n            let transformedUseValue = provider.useValue;\n            let transformedUseExisting = provider.useExisting;\n            let transformedDeps = undefined;\n            if (provider.useExisting != null) {\n                const existingDiDep = this._getDependency({ token: provider.useExisting }, eager, resolvedProvider.sourceSpan);\n                if (existingDiDep.token != null) {\n                    transformedUseExisting = existingDiDep.token;\n                }\n                else {\n                    transformedUseExisting = null;\n                    transformedUseValue = existingDiDep.value;\n                }\n            }\n            else if (provider.useFactory) {\n                const deps = provider.deps || provider.useFactory.diDeps;\n                transformedDeps =\n                    deps.map((dep) => this._getDependency(dep, eager, resolvedProvider.sourceSpan));\n            }\n            else if (provider.useClass) {\n                const deps = provider.deps || provider.useClass.diDeps;\n                transformedDeps =\n                    deps.map((dep) => this._getDependency(dep, eager, resolvedProvider.sourceSpan));\n            }\n            return _transformProvider(provider, {\n                useExisting: transformedUseExisting,\n                useValue: transformedUseValue,\n                deps: transformedDeps\n            });\n        });\n        transformedProviderAst =\n            _transformProviderAst(resolvedProvider, { eager: eager, providers: transformedProviders });\n        this._transformedProviders.set(tokenReference(token), transformedProviderAst);\n        return transformedProviderAst;\n    }\n    _getDependency(dep, eager = false, requestorSourceSpan) {\n        let foundLocal = false;\n        if (!dep.isSkipSelf && dep.token != null) {\n            // access the injector\n            if (tokenReference(dep.token) ===\n                this.reflector.resolveExternalReference(Identifiers.Injector) ||\n                tokenReference(dep.token) ===\n                    this.reflector.resolveExternalReference(Identifiers.ComponentFactoryResolver)) {\n                foundLocal = true;\n                // access providers\n            }\n            else if (this._getOrCreateLocalProvider(dep.token, eager) != null) {\n                foundLocal = true;\n            }\n        }\n        return dep;\n    }\n}\nfunction _transformProvider(provider, { useExisting, useValue, deps }) {\n    return {\n        token: provider.token,\n        useClass: provider.useClass,\n        useExisting: useExisting,\n        useFactory: provider.useFactory,\n        useValue: useValue,\n        deps: deps,\n        multi: provider.multi\n    };\n}\nfunction _transformProviderAst(provider, { eager, providers }) {\n    return new ProviderAst(provider.token, provider.multiProvider, provider.eager || eager, providers, provider.providerType, provider.lifecycleHooks, provider.sourceSpan, provider.isModule);\n}\nfunction _resolveProvidersFromDirectives(directives, sourceSpan, targetErrors) {\n    const providersByToken = new Map();\n    directives.forEach((directive) => {\n        const dirProvider = { token: { identifier: directive.type }, useClass: directive.type };\n        _resolveProviders([dirProvider], directive.isComponent ? ProviderAstType.Component : ProviderAstType.Directive, true, sourceSpan, targetErrors, providersByToken, /* isModule */ false);\n    });\n    // Note: directives need to be able to overwrite providers of a component!\n    const directivesWithComponentFirst = directives.filter(dir => dir.isComponent).concat(directives.filter(dir => !dir.isComponent));\n    directivesWithComponentFirst.forEach((directive) => {\n        _resolveProviders(directive.providers, ProviderAstType.PublicService, false, sourceSpan, targetErrors, providersByToken, /* isModule */ false);\n        _resolveProviders(directive.viewProviders, ProviderAstType.PrivateService, false, sourceSpan, targetErrors, providersByToken, /* isModule */ false);\n    });\n    return providersByToken;\n}\nfunction _resolveProviders(providers, providerType, eager, sourceSpan, targetErrors, targetProvidersByToken, isModule) {\n    providers.forEach((provider) => {\n        let resolvedProvider = targetProvidersByToken.get(tokenReference(provider.token));\n        if (resolvedProvider != null && !!resolvedProvider.multiProvider !== !!provider.multi) {\n            targetErrors.push(new ProviderError(`Mixing multi and non multi provider is not possible for token ${tokenName(resolvedProvider.token)}`, sourceSpan));\n        }\n        if (!resolvedProvider) {\n            const lifecycleHooks = provider.token.identifier &&\n                provider.token.identifier.lifecycleHooks ?\n                provider.token.identifier.lifecycleHooks :\n                [];\n            const isUseValue = !(provider.useClass || provider.useExisting || provider.useFactory);\n            resolvedProvider = new ProviderAst(provider.token, !!provider.multi, eager || isUseValue, [provider], providerType, lifecycleHooks, sourceSpan, isModule);\n            targetProvidersByToken.set(tokenReference(provider.token), resolvedProvider);\n        }\n        else {\n            if (!provider.multi) {\n                resolvedProvider.providers.length = 0;\n            }\n            resolvedProvider.providers.push(provider);\n        }\n    });\n}\nfunction _getViewQueries(component) {\n    // Note: queries start with id 1 so we can use the number in a Bloom filter!\n    let viewQueryId = 1;\n    const viewQueries = new Map();\n    if (component.viewQueries) {\n        component.viewQueries.forEach((query) => _addQueryToTokenMap(viewQueries, { meta: query, queryId: viewQueryId++ }));\n    }\n    return viewQueries;\n}\nfunction _getContentQueries(contentQueryStartId, directives) {\n    let contentQueryId = contentQueryStartId;\n    const contentQueries = new Map();\n    directives.forEach((directive, directiveIndex) => {\n        if (directive.queries) {\n            directive.queries.forEach((query) => _addQueryToTokenMap(contentQueries, { meta: query, queryId: contentQueryId++ }));\n        }\n    });\n    return contentQueries;\n}\nfunction _addQueryToTokenMap(map, query) {\n    query.meta.selectors.forEach((token) => {\n        let entry = map.get(tokenReference(token));\n        if (!entry) {\n            entry = [];\n            map.set(tokenReference(token), entry);\n        }\n        entry.push(query);\n    });\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nclass StyleWithImports {\n    constructor(style, styleUrls) {\n        this.style = style;\n        this.styleUrls = styleUrls;\n    }\n}\nfunction isStyleUrlResolvable(url) {\n    if (url == null || url.length === 0 || url[0] == '/')\n        return false;\n    const schemeMatch = url.match(URL_WITH_SCHEMA_REGEXP);\n    return schemeMatch === null || schemeMatch[1] == 'package' || schemeMatch[1] == 'asset';\n}\n/**\n * Rewrites stylesheets by resolving and removing the @import urls that\n * are either relative or don't have a `package:` scheme\n */\nfunction extractStyleUrls(resolver, baseUrl, cssText) {\n    const foundUrls = [];\n    const modifiedCssText = cssText.replace(CSS_STRIPPABLE_COMMENT_REGEXP, '')\n        .replace(CSS_IMPORT_REGEXP, (...m) => {\n        const url = m[1] || m[2];\n        if (!isStyleUrlResolvable(url)) {\n            // Do not attempt to resolve non-package absolute URLs with URI\n            // scheme\n            return m[0];\n        }\n        foundUrls.push(resolver.resolve(baseUrl, url));\n        return '';\n    });\n    return new StyleWithImports(modifiedCssText, foundUrls);\n}\nconst CSS_IMPORT_REGEXP = /@import\\s+(?:url\\()?\\s*(?:(?:['\"]([^'\"]*))|([^;\\)\\s]*))[^;]*;?/g;\nconst CSS_STRIPPABLE_COMMENT_REGEXP = /\\/\\*(?!#\\s*(?:sourceURL|sourceMappingURL)=)[\\s\\S]+?\\*\\//g;\nconst URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst PROPERTY_PARTS_SEPARATOR = '.';\nconst ATTRIBUTE_PREFIX = 'attr';\nconst CLASS_PREFIX = 'class';\nconst STYLE_PREFIX = 'style';\nconst ANIMATE_PROP_PREFIX = 'animate-';\n/**\n * Parses bindings in templates and in the directive host area.\n */\nclass BindingParser {\n    constructor(_exprParser, _interpolationConfig, _schemaRegistry, pipes, errors) {\n        this._exprParser = _exprParser;\n        this._interpolationConfig = _interpolationConfig;\n        this._schemaRegistry = _schemaRegistry;\n        this.errors = errors;\n        this.pipesByName = null;\n        this._usedPipes = new Map();\n        // When the `pipes` parameter is `null`, do not check for used pipes\n        // This is used in IVY when we might not know the available pipes at compile time\n        if (pipes) {\n            const pipesByName = new Map();\n            pipes.forEach(pipe => pipesByName.set(pipe.name, pipe));\n            this.pipesByName = pipesByName;\n        }\n    }\n    get interpolationConfig() { return this._interpolationConfig; }\n    getUsedPipes() { return Array.from(this._usedPipes.values()); }\n    createBoundHostProperties(dirMeta, sourceSpan) {\n        if (dirMeta.hostProperties) {\n            const boundProps = [];\n            Object.keys(dirMeta.hostProperties).forEach(propName => {\n                const expression = dirMeta.hostProperties[propName];\n                if (typeof expression === 'string') {\n                    this.parsePropertyBinding(propName, expression, true, sourceSpan, sourceSpan.start.offset, undefined, [], boundProps);\n                }\n                else {\n                    this._reportError(`Value of the host property binding \"${propName}\" needs to be a string representing an expression but got \"${expression}\" (${typeof expression})`, sourceSpan);\n                }\n            });\n            return boundProps;\n        }\n        return null;\n    }\n    createDirectiveHostPropertyAsts(dirMeta, elementSelector, sourceSpan) {\n        const boundProps = this.createBoundHostProperties(dirMeta, sourceSpan);\n        return boundProps &&\n            boundProps.map((prop) => this.createBoundElementProperty(elementSelector, prop));\n    }\n    createDirectiveHostEventAsts(dirMeta, sourceSpan) {\n        if (dirMeta.hostListeners) {\n            const targetEvents = [];\n            Object.keys(dirMeta.hostListeners).forEach(propName => {\n                const expression = dirMeta.hostListeners[propName];\n                if (typeof expression === 'string') {\n                    // TODO: pass a more accurate handlerSpan for this event.\n                    this.parseEvent(propName, expression, sourceSpan, sourceSpan, [], targetEvents);\n                }\n                else {\n                    this._reportError(`Value of the host listener \"${propName}\" needs to be a string representing an expression but got \"${expression}\" (${typeof expression})`, sourceSpan);\n                }\n            });\n            return targetEvents;\n        }\n        return null;\n    }\n    parseInterpolation(value, sourceSpan) {\n        const sourceInfo = sourceSpan.start.toString();\n        try {\n            const ast = this._exprParser.parseInterpolation(value, sourceInfo, sourceSpan.start.offset, this._interpolationConfig);\n            if (ast)\n                this._reportExpressionParserErrors(ast.errors, sourceSpan);\n            this._checkPipes(ast, sourceSpan);\n            return ast;\n        }\n        catch (e) {\n            this._reportError(`${e}`, sourceSpan);\n            return this._exprParser.wrapLiteralPrimitive('ERROR', sourceInfo, sourceSpan.start.offset);\n        }\n    }\n    // Parse an inline template binding. ie `<tag *tplKey=\"<tplValue>\">`\n    parseInlineTemplateBinding(tplKey, tplValue, sourceSpan, absoluteOffset, targetMatchableAttrs, targetProps, targetVars) {\n        const bindings = this._parseTemplateBindings(tplKey, tplValue, sourceSpan);\n        for (let i = 0; i < bindings.length; i++) {\n            const binding = bindings[i];\n            if (binding.keyIsVar) {\n                targetVars.push(new ParsedVariable(binding.key, binding.name, sourceSpan));\n            }\n            else if (binding.expression) {\n                this._parsePropertyAst(binding.key, binding.expression, sourceSpan, undefined, targetMatchableAttrs, targetProps);\n            }\n            else {\n                targetMatchableAttrs.push([binding.key, '']);\n                this.parseLiteralAttr(binding.key, null, sourceSpan, absoluteOffset, undefined, targetMatchableAttrs, targetProps);\n            }\n        }\n    }\n    _parseTemplateBindings(tplKey, tplValue, sourceSpan) {\n        const sourceInfo = sourceSpan.start.toString();\n        try {\n            const bindingsResult = this._exprParser.parseTemplateBindings(tplKey, tplValue, sourceInfo, sourceSpan.start.offset);\n            this._reportExpressionParserErrors(bindingsResult.errors, sourceSpan);\n            bindingsResult.templateBindings.forEach((binding) => {\n                if (binding.expression) {\n                    this._checkPipes(binding.expression, sourceSpan);\n                }\n            });\n            bindingsResult.warnings.forEach((warning) => { this._reportError(warning, sourceSpan, ParseErrorLevel.WARNING); });\n            return bindingsResult.templateBindings;\n        }\n        catch (e) {\n            this._reportError(`${e}`, sourceSpan);\n            return [];\n        }\n    }\n    parseLiteralAttr(name, value, sourceSpan, absoluteOffset, valueSpan, targetMatchableAttrs, targetProps) {\n        if (isAnimationLabel(name)) {\n            name = name.substring(1);\n            if (value) {\n                this._reportError(`Assigning animation triggers via @prop=\"exp\" attributes with an expression is invalid.` +\n                    ` Use property bindings (e.g. [@prop]=\"exp\") or use an attribute without a value (e.g. @prop) instead.`, sourceSpan, ParseErrorLevel.ERROR);\n            }\n            this._parseAnimation(name, value, sourceSpan, absoluteOffset, valueSpan, targetMatchableAttrs, targetProps);\n        }\n        else {\n            targetProps.push(new ParsedProperty(name, this._exprParser.wrapLiteralPrimitive(value, '', absoluteOffset), ParsedPropertyType.LITERAL_ATTR, sourceSpan, valueSpan));\n        }\n    }\n    parsePropertyBinding(name, expression, isHost, sourceSpan, absoluteOffset, valueSpan, targetMatchableAttrs, targetProps) {\n        let isAnimationProp = false;\n        if (name.startsWith(ANIMATE_PROP_PREFIX)) {\n            isAnimationProp = true;\n            name = name.substring(ANIMATE_PROP_PREFIX.length);\n        }\n        else if (isAnimationLabel(name)) {\n            isAnimationProp = true;\n            name = name.substring(1);\n        }\n        if (isAnimationProp) {\n            this._parseAnimation(name, expression, sourceSpan, absoluteOffset, valueSpan, targetMatchableAttrs, targetProps);\n        }\n        else {\n            this._parsePropertyAst(name, this._parseBinding(expression, isHost, valueSpan || sourceSpan, absoluteOffset), sourceSpan, valueSpan, targetMatchableAttrs, targetProps);\n        }\n    }\n    parsePropertyInterpolation(name, value, sourceSpan, valueSpan, targetMatchableAttrs, targetProps) {\n        const expr = this.parseInterpolation(value, valueSpan || sourceSpan);\n        if (expr) {\n            this._parsePropertyAst(name, expr, sourceSpan, valueSpan, targetMatchableAttrs, targetProps);\n            return true;\n        }\n        return false;\n    }\n    _parsePropertyAst(name, ast, sourceSpan, valueSpan, targetMatchableAttrs, targetProps) {\n        targetMatchableAttrs.push([name, ast.source]);\n        targetProps.push(new ParsedProperty(name, ast, ParsedPropertyType.DEFAULT, sourceSpan, valueSpan));\n    }\n    _parseAnimation(name, expression, sourceSpan, absoluteOffset, valueSpan, targetMatchableAttrs, targetProps) {\n        // This will occur when a @trigger is not paired with an expression.\n        // For animations it is valid to not have an expression since */void\n        // states will be applied by angular when the element is attached/detached\n        const ast = this._parseBinding(expression || 'undefined', false, valueSpan || sourceSpan, absoluteOffset);\n        targetMatchableAttrs.push([name, ast.source]);\n        targetProps.push(new ParsedProperty(name, ast, ParsedPropertyType.ANIMATION, sourceSpan, valueSpan));\n    }\n    _parseBinding(value, isHostBinding, sourceSpan, absoluteOffset) {\n        const sourceInfo = (sourceSpan && sourceSpan.start || '(unknown)').toString();\n        try {\n            const ast = isHostBinding ?\n                this._exprParser.parseSimpleBinding(value, sourceInfo, absoluteOffset, this._interpolationConfig) :\n                this._exprParser.parseBinding(value, sourceInfo, absoluteOffset, this._interpolationConfig);\n            if (ast)\n                this._reportExpressionParserErrors(ast.errors, sourceSpan);\n            this._checkPipes(ast, sourceSpan);\n            return ast;\n        }\n        catch (e) {\n            this._reportError(`${e}`, sourceSpan);\n            return this._exprParser.wrapLiteralPrimitive('ERROR', sourceInfo, absoluteOffset);\n        }\n    }\n    createBoundElementProperty(elementSelector, boundProp, skipValidation = false, mapPropertyName = true) {\n        if (boundProp.isAnimation) {\n            return new BoundElementProperty(boundProp.name, 4 /* Animation */, SecurityContext.NONE, boundProp.expression, null, boundProp.sourceSpan, boundProp.valueSpan);\n        }\n        let unit = null;\n        let bindingType = undefined;\n        let boundPropertyName = null;\n        const parts = boundProp.name.split(PROPERTY_PARTS_SEPARATOR);\n        let securityContexts = undefined;\n        // Check for special cases (prefix style, attr, class)\n        if (parts.length > 1) {\n            if (parts[0] == ATTRIBUTE_PREFIX) {\n                boundPropertyName = parts[1];\n                if (!skipValidation) {\n                    this._validatePropertyOrAttributeName(boundPropertyName, boundProp.sourceSpan, true);\n                }\n                securityContexts = calcPossibleSecurityContexts(this._schemaRegistry, elementSelector, boundPropertyName, true);\n                const nsSeparatorIdx = boundPropertyName.indexOf(':');\n                if (nsSeparatorIdx > -1) {\n                    const ns = boundPropertyName.substring(0, nsSeparatorIdx);\n                    const name = boundPropertyName.substring(nsSeparatorIdx + 1);\n                    boundPropertyName = mergeNsAndName(ns, name);\n                }\n                bindingType = 1 /* Attribute */;\n            }\n            else if (parts[0] == CLASS_PREFIX) {\n                boundPropertyName = parts[1];\n                bindingType = 2 /* Class */;\n                securityContexts = [SecurityContext.NONE];\n            }\n            else if (parts[0] == STYLE_PREFIX) {\n                unit = parts.length > 2 ? parts[2] : null;\n                boundPropertyName = parts[1];\n                bindingType = 3 /* Style */;\n                securityContexts = [SecurityContext.STYLE];\n            }\n        }\n        // If not a special case, use the full property name\n        if (boundPropertyName === null) {\n            const mappedPropName = this._schemaRegistry.getMappedPropName(boundProp.name);\n            boundPropertyName = mapPropertyName ? mappedPropName : boundProp.name;\n            securityContexts = calcPossibleSecurityContexts(this._schemaRegistry, elementSelector, mappedPropName, false);\n            bindingType = 0 /* Property */;\n            if (!skipValidation) {\n                this._validatePropertyOrAttributeName(mappedPropName, boundProp.sourceSpan, false);\n            }\n        }\n        return new BoundElementProperty(boundPropertyName, bindingType, securityContexts[0], boundProp.expression, unit, boundProp.sourceSpan, boundProp.valueSpan);\n    }\n    parseEvent(name, expression, sourceSpan, handlerSpan, targetMatchableAttrs, targetEvents) {\n        if (isAnimationLabel(name)) {\n            name = name.substr(1);\n            this._parseAnimationEvent(name, expression, sourceSpan, handlerSpan, targetEvents);\n        }\n        else {\n            this._parseRegularEvent(name, expression, sourceSpan, handlerSpan, targetMatchableAttrs, targetEvents);\n        }\n    }\n    calcPossibleSecurityContexts(selector, propName, isAttribute) {\n        const prop = this._schemaRegistry.getMappedPropName(propName);\n        return calcPossibleSecurityContexts(this._schemaRegistry, selector, prop, isAttribute);\n    }\n    _parseAnimationEvent(name, expression, sourceSpan, handlerSpan, targetEvents) {\n        const matches = splitAtPeriod(name, [name, '']);\n        const eventName = matches[0];\n        const phase = matches[1].toLowerCase();\n        if (phase) {\n            switch (phase) {\n                case 'start':\n                case 'done':\n                    const ast = this._parseAction(expression, handlerSpan);\n                    targetEvents.push(new ParsedEvent(eventName, phase, 1 /* Animation */, ast, sourceSpan, handlerSpan));\n                    break;\n                default:\n                    this._reportError(`The provided animation output phase value \"${phase}\" for \"@${eventName}\" is not supported (use start or done)`, sourceSpan);\n                    break;\n            }\n        }\n        else {\n            this._reportError(`The animation trigger output event (@${eventName}) is missing its phase value name (start or done are currently supported)`, sourceSpan);\n        }\n    }\n    _parseRegularEvent(name, expression, sourceSpan, handlerSpan, targetMatchableAttrs, targetEvents) {\n        // long format: 'target: eventName'\n        const [target, eventName] = splitAtColon(name, [null, name]);\n        const ast = this._parseAction(expression, handlerSpan);\n        targetMatchableAttrs.push([name, ast.source]);\n        targetEvents.push(new ParsedEvent(eventName, target, 0 /* Regular */, ast, sourceSpan, handlerSpan));\n        // Don't detect directives for event names for now,\n        // so don't add the event name to the matchableAttrs\n    }\n    _parseAction(value, sourceSpan) {\n        const sourceInfo = (sourceSpan && sourceSpan.start || '(unknown').toString();\n        const absoluteOffset = (sourceSpan && sourceSpan.start) ? sourceSpan.start.offset : 0;\n        try {\n            const ast = this._exprParser.parseAction(value, sourceInfo, absoluteOffset, this._interpolationConfig);\n            if (ast) {\n                this._reportExpressionParserErrors(ast.errors, sourceSpan);\n            }\n            if (!ast || ast.ast instanceof EmptyExpr) {\n                this._reportError(`Empty expressions are not allowed`, sourceSpan);\n                return this._exprParser.wrapLiteralPrimitive('ERROR', sourceInfo, absoluteOffset);\n            }\n            this._checkPipes(ast, sourceSpan);\n            return ast;\n        }\n        catch (e) {\n            this._reportError(`${e}`, sourceSpan);\n            return this._exprParser.wrapLiteralPrimitive('ERROR', sourceInfo, absoluteOffset);\n        }\n    }\n    _reportError(message, sourceSpan, level = ParseErrorLevel.ERROR) {\n        this.errors.push(new ParseError(sourceSpan, message, level));\n    }\n    _reportExpressionParserErrors(errors, sourceSpan) {\n        for (const error of errors) {\n            this._reportError(error.message, sourceSpan);\n        }\n    }\n    // Make sure all the used pipes are known in `this.pipesByName`\n    _checkPipes(ast, sourceSpan) {\n        if (ast && this.pipesByName) {\n            const collector = new PipeCollector();\n            ast.visit(collector);\n            collector.pipes.forEach((ast, pipeName) => {\n                const pipeMeta = this.pipesByName.get(pipeName);\n                if (!pipeMeta) {\n                    this._reportError(`The pipe '${pipeName}' could not be found`, new ParseSourceSpan(sourceSpan.start.moveBy(ast.span.start), sourceSpan.start.moveBy(ast.span.end)));\n                }\n                else {\n                    this._usedPipes.set(pipeName, pipeMeta);\n                }\n            });\n        }\n    }\n    /**\n     * @param propName the name of the property / attribute\n     * @param sourceSpan\n     * @param isAttr true when binding to an attribute\n     */\n    _validatePropertyOrAttributeName(propName, sourceSpan, isAttr) {\n        const report = isAttr ? this._schemaRegistry.validateAttribute(propName) :\n            this._schemaRegistry.validateProperty(propName);\n        if (report.error) {\n            this._reportError(report.msg, sourceSpan, ParseErrorLevel.ERROR);\n        }\n    }\n}\nclass PipeCollector extends RecursiveAstVisitor$1 {\n    constructor() {\n        super(...arguments);\n        this.pipes = new Map();\n    }\n    visitPipe(ast, context) {\n        this.pipes.set(ast.name, ast);\n        ast.exp.visit(this);\n        this.visitAll(ast.args, context);\n        return null;\n    }\n}\nfunction isAnimationLabel(name) {\n    return name[0] == '@';\n}\nfunction calcPossibleSecurityContexts(registry, selector, propName, isAttribute) {\n    const ctxs = [];\n    CssSelector.parse(selector).forEach((selector) => {\n        const elementNames = selector.element ? [selector.element] : registry.allKnownElementNames();\n        const notElementNames = new Set(selector.notSelectors.filter(selector => selector.isElementSelector())\n            .map((selector) => selector.element));\n        const possibleElementNames = elementNames.filter(elementName => !notElementNames.has(elementName));\n        ctxs.push(...possibleElementNames.map(elementName => registry.securityContext(elementName, propName, isAttribute)));\n    });\n    return ctxs.length === 0 ? [SecurityContext.NONE] : Array.from(new Set(ctxs)).sort();\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst NG_CONTENT_SELECT_ATTR = 'select';\nconst LINK_ELEMENT = 'link';\nconst LINK_STYLE_REL_ATTR = 'rel';\nconst LINK_STYLE_HREF_ATTR = 'href';\nconst LINK_STYLE_REL_VALUE = 'stylesheet';\nconst STYLE_ELEMENT = 'style';\nconst SCRIPT_ELEMENT = 'script';\nconst NG_NON_BINDABLE_ATTR = 'ngNonBindable';\nconst NG_PROJECT_AS = 'ngProjectAs';\nfunction preparseElement(ast) {\n    let selectAttr = null;\n    let hrefAttr = null;\n    let relAttr = null;\n    let nonBindable = false;\n    let projectAs = '';\n    ast.attrs.forEach(attr => {\n        const lcAttrName = attr.name.toLowerCase();\n        if (lcAttrName == NG_CONTENT_SELECT_ATTR) {\n            selectAttr = attr.value;\n        }\n        else if (lcAttrName == LINK_STYLE_HREF_ATTR) {\n            hrefAttr = attr.value;\n        }\n        else if (lcAttrName == LINK_STYLE_REL_ATTR) {\n            relAttr = attr.value;\n        }\n        else if (attr.name == NG_NON_BINDABLE_ATTR) {\n            nonBindable = true;\n        }\n        else if (attr.name == NG_PROJECT_AS) {\n            if (attr.value.length > 0) {\n                projectAs = attr.value;\n            }\n        }\n    });\n    selectAttr = normalizeNgContentSelect(selectAttr);\n    const nodeName = ast.name.toLowerCase();\n    let type = PreparsedElementType.OTHER;\n    if (isNgContent(nodeName)) {\n        type = PreparsedElementType.NG_CONTENT;\n    }\n    else if (nodeName == STYLE_ELEMENT) {\n        type = PreparsedElementType.STYLE;\n    }\n    else if (nodeName == SCRIPT_ELEMENT) {\n        type = PreparsedElementType.SCRIPT;\n    }\n    else if (nodeName == LINK_ELEMENT && relAttr == LINK_STYLE_REL_VALUE) {\n        type = PreparsedElementType.STYLESHEET;\n    }\n    return new PreparsedElement(type, selectAttr, hrefAttr, nonBindable, projectAs);\n}\nvar PreparsedElementType;\n(function (PreparsedElementType) {\n    PreparsedElementType[PreparsedElementType[\"NG_CONTENT\"] = 0] = \"NG_CONTENT\";\n    PreparsedElementType[PreparsedElementType[\"STYLE\"] = 1] = \"STYLE\";\n    PreparsedElementType[PreparsedElementType[\"STYLESHEET\"] = 2] = \"STYLESHEET\";\n    PreparsedElementType[PreparsedElementType[\"SCRIPT\"] = 3] = \"SCRIPT\";\n    PreparsedElementType[PreparsedElementType[\"OTHER\"] = 4] = \"OTHER\";\n})(PreparsedElementType || (PreparsedElementType = {}));\nclass PreparsedElement {\n    constructor(type, selectAttr, hrefAttr, nonBindable, projectAs) {\n        this.type = type;\n        this.selectAttr = selectAttr;\n        this.hrefAttr = hrefAttr;\n        this.nonBindable = nonBindable;\n        this.projectAs = projectAs;\n    }\n}\nfunction normalizeNgContentSelect(selectAttr) {\n    if (selectAttr === null || selectAttr.length === 0) {\n        return '*';\n    }\n    return selectAttr;\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst BIND_NAME_REGEXP = /^(?:(?:(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.+))|\\[\\(([^\\)]+)\\)\\]|\\[([^\\]]+)\\]|\\(([^\\)]+)\\))$/;\n// Group 1 = \"bind-\"\nconst KW_BIND_IDX = 1;\n// Group 2 = \"let-\"\nconst KW_LET_IDX = 2;\n// Group 3 = \"ref-/#\"\nconst KW_REF_IDX = 3;\n// Group 4 = \"on-\"\nconst KW_ON_IDX = 4;\n// Group 5 = \"bindon-\"\nconst KW_BINDON_IDX = 5;\n// Group 6 = \"@\"\nconst KW_AT_IDX = 6;\n// Group 7 = the identifier after \"bind-\", \"let-\", \"ref-/#\", \"on-\", \"bindon-\" or \"@\"\nconst IDENT_KW_IDX = 7;\n// Group 8 = identifier inside [()]\nconst IDENT_BANANA_BOX_IDX = 8;\n// Group 9 = identifier inside []\nconst IDENT_PROPERTY_IDX = 9;\n// Group 10 = identifier inside ()\nconst IDENT_EVENT_IDX = 10;\nconst TEMPLATE_ATTR_PREFIX = '*';\nconst CLASS_ATTR = 'class';\nlet _TEXT_CSS_SELECTOR;\nfunction TEXT_CSS_SELECTOR() {\n    if (!_TEXT_CSS_SELECTOR) {\n        _TEXT_CSS_SELECTOR = CssSelector.parse('*')[0];\n    }\n    return _TEXT_CSS_SELECTOR;\n}\nclass TemplateParseError extends ParseError {\n    constructor(message, span, level) {\n        super(span, message, level);\n    }\n}\nclass TemplateParseResult {\n    constructor(templateAst, usedPipes, errors) {\n        this.templateAst = templateAst;\n        this.usedPipes = usedPipes;\n        this.errors = errors;\n    }\n}\nclass TemplateParser {\n    constructor(_config, _reflector, _exprParser, _schemaRegistry, _htmlParser, _console, transforms) {\n        this._config = _config;\n        this._reflector = _reflector;\n        this._exprParser = _exprParser;\n        this._schemaRegistry = _schemaRegistry;\n        this._htmlParser = _htmlParser;\n        this._console = _console;\n        this.transforms = transforms;\n    }\n    get expressionParser() { return this._exprParser; }\n    parse(component, template, directives, pipes, schemas, templateUrl, preserveWhitespaces) {\n        const result = this.tryParse(component, template, directives, pipes, schemas, templateUrl, preserveWhitespaces);\n        const warnings = result.errors.filter(error => error.level === ParseErrorLevel.WARNING);\n        const errors = result.errors.filter(error => error.level === ParseErrorLevel.ERROR);\n        if (warnings.length > 0) {\n            this._console.warn(`Template parse warnings:\\n${warnings.join('\\n')}`);\n        }\n        if (errors.length > 0) {\n            const errorString = errors.join('\\n');\n            throw syntaxError(`Template parse errors:\\n${errorString}`, errors);\n        }\n        return { template: result.templateAst, pipes: result.usedPipes };\n    }\n    tryParse(component, template, directives, pipes, schemas, templateUrl, preserveWhitespaces) {\n        let htmlParseResult = typeof template === 'string' ?\n            this._htmlParser.parse(template, templateUrl, {\n                tokenizeExpansionForms: true,\n                interpolationConfig: this.getInterpolationConfig(component)\n            }) :\n            template;\n        if (!preserveWhitespaces) {\n            htmlParseResult = removeWhitespaces(htmlParseResult);\n        }\n        return this.tryParseHtml(this.expandHtml(htmlParseResult), component, directives, pipes, schemas);\n    }\n    tryParseHtml(htmlAstWithErrors, component, directives, pipes, schemas) {\n        let result;\n        const errors = htmlAstWithErrors.errors;\n        const usedPipes = [];\n        if (htmlAstWithErrors.rootNodes.length > 0) {\n            const uniqDirectives = removeSummaryDuplicates(directives);\n            const uniqPipes = removeSummaryDuplicates(pipes);\n            const providerViewContext = new ProviderViewContext(this._reflector, component);\n            let interpolationConfig = undefined;\n            if (component.template && component.template.interpolation) {\n                interpolationConfig = {\n                    start: component.template.interpolation[0],\n                    end: component.template.interpolation[1]\n                };\n            }\n            const bindingParser = new BindingParser(this._exprParser, interpolationConfig, this._schemaRegistry, uniqPipes, errors);\n            const parseVisitor = new TemplateParseVisitor(this._reflector, this._config, providerViewContext, uniqDirectives, bindingParser, this._schemaRegistry, schemas, errors);\n            result = visitAll$1(parseVisitor, htmlAstWithErrors.rootNodes, EMPTY_ELEMENT_CONTEXT);\n            errors.push(...providerViewContext.errors);\n            usedPipes.push(...bindingParser.getUsedPipes());\n        }\n        else {\n            result = [];\n        }\n        this._assertNoReferenceDuplicationOnTemplate(result, errors);\n        if (errors.length > 0) {\n            return new TemplateParseResult(result, usedPipes, errors);\n        }\n        if (this.transforms) {\n            this.transforms.forEach((transform) => { result = templateVisitAll(transform, result); });\n        }\n        return new TemplateParseResult(result, usedPipes, errors);\n    }\n    expandHtml(htmlAstWithErrors, forced = false) {\n        const errors = htmlAstWithErrors.errors;\n        if (errors.length == 0 || forced) {\n            // Transform ICU messages to angular directives\n            const expandedHtmlAst = expandNodes(htmlAstWithErrors.rootNodes);\n            errors.push(...expandedHtmlAst.errors);\n            htmlAstWithErrors = new ParseTreeResult(expandedHtmlAst.nodes, errors);\n        }\n        return htmlAstWithErrors;\n    }\n    getInterpolationConfig(component) {\n        if (component.template) {\n            return InterpolationConfig.fromArray(component.template.interpolation);\n        }\n        return undefined;\n    }\n    /** @internal */\n    _assertNoReferenceDuplicationOnTemplate(result, errors) {\n        const existingReferences = [];\n        result.filter(element => !!element.references)\n            .forEach(element => element.references.forEach((reference) => {\n            const name = reference.name;\n            if (existingReferences.indexOf(name) < 0) {\n                existingReferences.push(name);\n            }\n            else {\n                const error = new TemplateParseError(`Reference \"#${name}\" is defined several times`, reference.sourceSpan, ParseErrorLevel.ERROR);\n                errors.push(error);\n            }\n        }));\n    }\n}\nclass TemplateParseVisitor {\n    constructor(reflector, config, providerViewContext, directives, _bindingParser, _schemaRegistry, _schemas, _targetErrors) {\n        this.reflector = reflector;\n        this.config = config;\n        this.providerViewContext = providerViewContext;\n        this._bindingParser = _bindingParser;\n        this._schemaRegistry = _schemaRegistry;\n        this._schemas = _schemas;\n        this._targetErrors = _targetErrors;\n        this.selectorMatcher = new SelectorMatcher();\n        this.directivesIndex = new Map();\n        this.ngContentCount = 0;\n        // Note: queries start with id 1 so we can use the number in a Bloom filter!\n        this.contentQueryStartId = providerViewContext.component.viewQueries.length + 1;\n        directives.forEach((directive, index) => {\n            const selector = CssSelector.parse(directive.selector);\n            this.selectorMatcher.addSelectables(selector, directive);\n            this.directivesIndex.set(directive, index);\n        });\n    }\n    visitExpansion(expansion, context) { return null; }\n    visitExpansionCase(expansionCase, context) { return null; }\n    visitText(text, parent) {\n        const ngContentIndex = parent.findNgContentIndex(TEXT_CSS_SELECTOR());\n        const valueNoNgsp = replaceNgsp(text.value);\n        const expr = this._bindingParser.parseInterpolation(valueNoNgsp, text.sourceSpan);\n        return expr ? new BoundTextAst(expr, ngContentIndex, text.sourceSpan) :\n            new TextAst(valueNoNgsp, ngContentIndex, text.sourceSpan);\n    }\n    visitAttribute(attribute, context) {\n        return new AttrAst(attribute.name, attribute.value, attribute.sourceSpan);\n    }\n    visitComment(comment, context) { return null; }\n    visitElement(element, parent) {\n        const queryStartIndex = this.contentQueryStartId;\n        const elName = element.name;\n        const preparsedElement = preparseElement(element);\n        if (preparsedElement.type === PreparsedElementType.SCRIPT ||\n            preparsedElement.type === PreparsedElementType.STYLE) {\n            // Skipping <script> for security reasons\n            // Skipping <style> as we already processed them\n            // in the StyleCompiler\n            return null;\n        }\n        if (preparsedElement.type === PreparsedElementType.STYLESHEET &&\n            isStyleUrlResolvable(preparsedElement.hrefAttr)) {\n            // Skipping stylesheets with either relative urls or package scheme as we already processed\n            // them in the StyleCompiler\n            return null;\n        }\n        const matchableAttrs = [];\n        const elementOrDirectiveProps = [];\n        const elementOrDirectiveRefs = [];\n        const elementVars = [];\n        const events = [];\n        const templateElementOrDirectiveProps = [];\n        const templateMatchableAttrs = [];\n        const templateElementVars = [];\n        let hasInlineTemplates = false;\n        const attrs = [];\n        const isTemplateElement = isNgTemplate(element.name);\n        element.attrs.forEach(attr => {\n            const parsedVariables = [];\n            const hasBinding = this._parseAttr(isTemplateElement, attr, matchableAttrs, elementOrDirectiveProps, events, elementOrDirectiveRefs, elementVars);\n            elementVars.push(...parsedVariables.map(v => VariableAst.fromParsedVariable(v)));\n            let templateValue;\n            let templateKey;\n            const normalizedName = this._normalizeAttributeName(attr.name);\n            if (normalizedName.startsWith(TEMPLATE_ATTR_PREFIX)) {\n                templateValue = attr.value;\n                templateKey = normalizedName.substring(TEMPLATE_ATTR_PREFIX.length);\n            }\n            const hasTemplateBinding = templateValue != null;\n            if (hasTemplateBinding) {\n                if (hasInlineTemplates) {\n                    this._reportError(`Can't have multiple template bindings on one element. Use only one attribute prefixed with *`, attr.sourceSpan);\n                }\n                hasInlineTemplates = true;\n                const parsedVariables = [];\n                this._bindingParser.parseInlineTemplateBinding(templateKey, templateValue, attr.sourceSpan, attr.sourceSpan.start.offset, templateMatchableAttrs, templateElementOrDirectiveProps, parsedVariables);\n                templateElementVars.push(...parsedVariables.map(v => VariableAst.fromParsedVariable(v)));\n            }\n            if (!hasBinding && !hasTemplateBinding) {\n                // don't include the bindings as attributes as well in the AST\n                attrs.push(this.visitAttribute(attr, null));\n                matchableAttrs.push([attr.name, attr.value]);\n            }\n        });\n        const elementCssSelector = createElementCssSelector(elName, matchableAttrs);\n        const { directives: directiveMetas, matchElement } = this._parseDirectives(this.selectorMatcher, elementCssSelector);\n        const references = [];\n        const boundDirectivePropNames = new Set();\n        const directiveAsts = this._createDirectiveAsts(isTemplateElement, element.name, directiveMetas, elementOrDirectiveProps, elementOrDirectiveRefs, element.sourceSpan, references, boundDirectivePropNames);\n        const elementProps = this._createElementPropertyAsts(element.name, elementOrDirectiveProps, boundDirectivePropNames);\n        const isViewRoot = parent.isTemplateElement || hasInlineTemplates;\n        const providerContext = new ProviderElementContext(this.providerViewContext, parent.providerContext, isViewRoot, directiveAsts, attrs, references, isTemplateElement, queryStartIndex, element.sourceSpan);\n        const children = visitAll$1(preparsedElement.nonBindable ? NON_BINDABLE_VISITOR : this, element.children, ElementContext.create(isTemplateElement, directiveAsts, isTemplateElement ? parent.providerContext : providerContext));\n        providerContext.afterElement();\n        // Override the actual selector when the `ngProjectAs` attribute is provided\n        const projectionSelector = preparsedElement.projectAs != '' ?\n            CssSelector.parse(preparsedElement.projectAs)[0] :\n            elementCssSelector;\n        const ngContentIndex = parent.findNgContentIndex(projectionSelector);\n        let parsedElement;\n        if (preparsedElement.type === PreparsedElementType.NG_CONTENT) {\n            // `<ng-content>` element\n            if (element.children && !element.children.every(_isEmptyTextNode)) {\n                this._reportError(`<ng-content> element cannot have content.`, element.sourceSpan);\n            }\n            parsedElement = new NgContentAst(this.ngContentCount++, hasInlineTemplates ? null : ngContentIndex, element.sourceSpan);\n        }\n        else if (isTemplateElement) {\n            // `<ng-template>` element\n            this._assertAllEventsPublishedByDirectives(directiveAsts, events);\n            this._assertNoComponentsNorElementBindingsOnTemplate(directiveAsts, elementProps, element.sourceSpan);\n            parsedElement = new EmbeddedTemplateAst(attrs, events, references, elementVars, providerContext.transformedDirectiveAsts, providerContext.transformProviders, providerContext.transformedHasViewContainer, providerContext.queryMatches, children, hasInlineTemplates ? null : ngContentIndex, element.sourceSpan);\n        }\n        else {\n            // element other than `<ng-content>` and `<ng-template>`\n            this._assertElementExists(matchElement, element);\n            this._assertOnlyOneComponent(directiveAsts, element.sourceSpan);\n            const ngContentIndex = hasInlineTemplates ? null : parent.findNgContentIndex(projectionSelector);\n            parsedElement = new ElementAst(elName, attrs, elementProps, events, references, providerContext.transformedDirectiveAsts, providerContext.transformProviders, providerContext.transformedHasViewContainer, providerContext.queryMatches, children, hasInlineTemplates ? null : ngContentIndex, element.sourceSpan, element.endSourceSpan || null);\n        }\n        if (hasInlineTemplates) {\n            // The element as a *-attribute\n            const templateQueryStartIndex = this.contentQueryStartId;\n            const templateSelector = createElementCssSelector('ng-template', templateMatchableAttrs);\n            const { directives } = this._parseDirectives(this.selectorMatcher, templateSelector);\n            const templateBoundDirectivePropNames = new Set();\n            const templateDirectiveAsts = this._createDirectiveAsts(true, elName, directives, templateElementOrDirectiveProps, [], element.sourceSpan, [], templateBoundDirectivePropNames);\n            const templateElementProps = this._createElementPropertyAsts(elName, templateElementOrDirectiveProps, templateBoundDirectivePropNames);\n            this._assertNoComponentsNorElementBindingsOnTemplate(templateDirectiveAsts, templateElementProps, element.sourceSpan);\n            const templateProviderContext = new ProviderElementContext(this.providerViewContext, parent.providerContext, parent.isTemplateElement, templateDirectiveAsts, [], [], true, templateQueryStartIndex, element.sourceSpan);\n            templateProviderContext.afterElement();\n            parsedElement = new EmbeddedTemplateAst([], [], [], templateElementVars, templateProviderContext.transformedDirectiveAsts, templateProviderContext.transformProviders, templateProviderContext.transformedHasViewContainer, templateProviderContext.queryMatches, [parsedElement], ngContentIndex, element.sourceSpan);\n        }\n        return parsedElement;\n    }\n    _parseAttr(isTemplateElement, attr, targetMatchableAttrs, targetProps, targetEvents, targetRefs, targetVars) {\n        const name = this._normalizeAttributeName(attr.name);\n        const value = attr.value;\n        const srcSpan = attr.sourceSpan;\n        const absoluteOffset = attr.valueSpan ? attr.valueSpan.start.offset : srcSpan.start.offset;\n        const boundEvents = [];\n        const bindParts = name.match(BIND_NAME_REGEXP);\n        let hasBinding = false;\n        if (bindParts !== null) {\n            hasBinding = true;\n            if (bindParts[KW_BIND_IDX] != null) {\n                this._bindingParser.parsePropertyBinding(bindParts[IDENT_KW_IDX], value, false, srcSpan, absoluteOffset, attr.valueSpan, targetMatchableAttrs, targetProps);\n            }\n            else if (bindParts[KW_LET_IDX]) {\n                if (isTemplateElement) {\n                    const identifier = bindParts[IDENT_KW_IDX];\n                    this._parseVariable(identifier, value, srcSpan, targetVars);\n                }\n                else {\n                    this._reportError(`\"let-\" is only supported on ng-template elements.`, srcSpan);\n                }\n            }\n            else if (bindParts[KW_REF_IDX]) {\n                const identifier = bindParts[IDENT_KW_IDX];\n                this._parseReference(identifier, value, srcSpan, targetRefs);\n            }\n            else if (bindParts[KW_ON_IDX]) {\n                this._bindingParser.parseEvent(bindParts[IDENT_KW_IDX], value, srcSpan, attr.valueSpan || srcSpan, targetMatchableAttrs, boundEvents);\n            }\n            else if (bindParts[KW_BINDON_IDX]) {\n                this._bindingParser.parsePropertyBinding(bindParts[IDENT_KW_IDX], value, false, srcSpan, absoluteOffset, attr.valueSpan, targetMatchableAttrs, targetProps);\n                this._parseAssignmentEvent(bindParts[IDENT_KW_IDX], value, srcSpan, attr.valueSpan || srcSpan, targetMatchableAttrs, boundEvents);\n            }\n            else if (bindParts[KW_AT_IDX]) {\n                this._bindingParser.parseLiteralAttr(name, value, srcSpan, absoluteOffset, attr.valueSpan, targetMatchableAttrs, targetProps);\n            }\n            else if (bindParts[IDENT_BANANA_BOX_IDX]) {\n                this._bindingParser.parsePropertyBinding(bindParts[IDENT_BANANA_BOX_IDX], value, false, srcSpan, absoluteOffset, attr.valueSpan, targetMatchableAttrs, targetProps);\n                this._parseAssignmentEvent(bindParts[IDENT_BANANA_BOX_IDX], value, srcSpan, attr.valueSpan || srcSpan, targetMatchableAttrs, boundEvents);\n            }\n            else if (bindParts[IDENT_PROPERTY_IDX]) {\n                this._bindingParser.parsePropertyBinding(bindParts[IDENT_PROPERTY_IDX], value, false, srcSpan, absoluteOffset, attr.valueSpan, targetMatchableAttrs, targetProps);\n            }\n            else if (bindParts[IDENT_EVENT_IDX]) {\n                this._bindingParser.parseEvent(bindParts[IDENT_EVENT_IDX], value, srcSpan, attr.valueSpan || srcSpan, targetMatchableAttrs, boundEvents);\n            }\n        }\n        else {\n            hasBinding = this._bindingParser.parsePropertyInterpolation(name, value, srcSpan, attr.valueSpan, targetMatchableAttrs, targetProps);\n        }\n        if (!hasBinding) {\n            this._bindingParser.parseLiteralAttr(name, value, srcSpan, absoluteOffset, attr.valueSpan, targetMatchableAttrs, targetProps);\n        }\n        targetEvents.push(...boundEvents.map(e => BoundEventAst.fromParsedEvent(e)));\n        return hasBinding;\n    }\n    _normalizeAttributeName(attrName) {\n        return /^data-/i.test(attrName) ? attrName.substring(5) : attrName;\n    }\n    _parseVariable(identifier, value, sourceSpan, targetVars) {\n        if (identifier.indexOf('-') > -1) {\n            this._reportError(`\"-\" is not allowed in variable names`, sourceSpan);\n        }\n        targetVars.push(new VariableAst(identifier, value, sourceSpan));\n    }\n    _parseReference(identifier, value, sourceSpan, targetRefs) {\n        if (identifier.indexOf('-') > -1) {\n            this._reportError(`\"-\" is not allowed in reference names`, sourceSpan);\n        }\n        targetRefs.push(new ElementOrDirectiveRef(identifier, value, sourceSpan));\n    }\n    _parseAssignmentEvent(name, expression, sourceSpan, valueSpan, targetMatchableAttrs, targetEvents) {\n        this._bindingParser.parseEvent(`${name}Change`, `${expression}=$event`, sourceSpan, valueSpan, targetMatchableAttrs, targetEvents);\n    }\n    _parseDirectives(selectorMatcher, elementCssSelector) {\n        // Need to sort the directives so that we get consistent results throughout,\n        // as selectorMatcher uses Maps inside.\n        // Also deduplicate directives as they might match more than one time!\n        const directives = new Array(this.directivesIndex.size);\n        // Whether any directive selector matches on the element name\n        let matchElement = false;\n        selectorMatcher.match(elementCssSelector, (selector, directive) => {\n            directives[this.directivesIndex.get(directive)] = directive;\n            matchElement = matchElement || selector.hasElementSelector();\n        });\n        return {\n            directives: directives.filter(dir => !!dir),\n            matchElement,\n        };\n    }\n    _createDirectiveAsts(isTemplateElement, elementName, directives, props, elementOrDirectiveRefs, elementSourceSpan, targetReferences, targetBoundDirectivePropNames) {\n        const matchedReferences = new Set();\n        let component = null;\n        const directiveAsts = directives.map((directive) => {\n            const sourceSpan = new ParseSourceSpan(elementSourceSpan.start, elementSourceSpan.end, `Directive ${identifierName(directive.type)}`);\n            if (directive.isComponent) {\n                component = directive;\n            }\n            const directiveProperties = [];\n            const boundProperties = this._bindingParser.createDirectiveHostPropertyAsts(directive, elementName, sourceSpan);\n            let hostProperties = boundProperties.map(prop => BoundElementPropertyAst.fromBoundProperty(prop));\n            // Note: We need to check the host properties here as well,\n            // as we don't know the element name in the DirectiveWrapperCompiler yet.\n            hostProperties = this._checkPropertiesInSchema(elementName, hostProperties);\n            const parsedEvents = this._bindingParser.createDirectiveHostEventAsts(directive, sourceSpan);\n            this._createDirectivePropertyAsts(directive.inputs, props, directiveProperties, targetBoundDirectivePropNames);\n            elementOrDirectiveRefs.forEach((elOrDirRef) => {\n                if ((elOrDirRef.value.length === 0 && directive.isComponent) ||\n                    (elOrDirRef.isReferenceToDirective(directive))) {\n                    targetReferences.push(new ReferenceAst(elOrDirRef.name, createTokenForReference(directive.type.reference), elOrDirRef.value, elOrDirRef.sourceSpan));\n                    matchedReferences.add(elOrDirRef.name);\n                }\n            });\n            const hostEvents = parsedEvents.map(e => BoundEventAst.fromParsedEvent(e));\n            const contentQueryStartId = this.contentQueryStartId;\n            this.contentQueryStartId += directive.queries.length;\n            return new DirectiveAst(directive, directiveProperties, hostProperties, hostEvents, contentQueryStartId, sourceSpan);\n        });\n        elementOrDirectiveRefs.forEach((elOrDirRef) => {\n            if (elOrDirRef.value.length > 0) {\n                if (!matchedReferences.has(elOrDirRef.name)) {\n                    this._reportError(`There is no directive with \"exportAs\" set to \"${elOrDirRef.value}\"`, elOrDirRef.sourceSpan);\n                }\n            }\n            else if (!component) {\n                let refToken = null;\n                if (isTemplateElement) {\n                    refToken = createTokenForExternalReference(this.reflector, Identifiers.TemplateRef);\n                }\n                targetReferences.push(new ReferenceAst(elOrDirRef.name, refToken, elOrDirRef.value, elOrDirRef.sourceSpan));\n            }\n        });\n        return directiveAsts;\n    }\n    _createDirectivePropertyAsts(directiveProperties, boundProps, targetBoundDirectiveProps, targetBoundDirectivePropNames) {\n        if (directiveProperties) {\n            const boundPropsByName = new Map();\n            boundProps.forEach(boundProp => {\n                const prevValue = boundPropsByName.get(boundProp.name);\n                if (!prevValue || prevValue.isLiteral) {\n                    // give [a]=\"b\" a higher precedence than a=\"b\" on the same element\n                    boundPropsByName.set(boundProp.name, boundProp);\n                }\n            });\n            Object.keys(directiveProperties).forEach(dirProp => {\n                const elProp = directiveProperties[dirProp];\n                const boundProp = boundPropsByName.get(elProp);\n                // Bindings are optional, so this binding only needs to be set up if an expression is given.\n                if (boundProp) {\n                    targetBoundDirectivePropNames.add(boundProp.name);\n                    if (!isEmptyExpression(boundProp.expression)) {\n                        targetBoundDirectiveProps.push(new BoundDirectivePropertyAst(dirProp, boundProp.name, boundProp.expression, boundProp.sourceSpan));\n                    }\n                }\n            });\n        }\n    }\n    _createElementPropertyAsts(elementName, props, boundDirectivePropNames) {\n        const boundElementProps = [];\n        props.forEach((prop) => {\n            if (!prop.isLiteral && !boundDirectivePropNames.has(prop.name)) {\n                const boundProp = this._bindingParser.createBoundElementProperty(elementName, prop);\n                boundElementProps.push(BoundElementPropertyAst.fromBoundProperty(boundProp));\n            }\n        });\n        return this._checkPropertiesInSchema(elementName, boundElementProps);\n    }\n    _findComponentDirectives(directives) {\n        return directives.filter(directive => directive.directive.isComponent);\n    }\n    _findComponentDirectiveNames(directives) {\n        return this._findComponentDirectives(directives)\n            .map(directive => identifierName(directive.directive.type));\n    }\n    _assertOnlyOneComponent(directives, sourceSpan) {\n        const componentTypeNames = this._findComponentDirectiveNames(directives);\n        if (componentTypeNames.length > 1) {\n            this._reportError(`More than one component matched on this element.\\n` +\n                `Make sure that only one component's selector can match a given element.\\n` +\n                `Conflicting components: ${componentTypeNames.join(',')}`, sourceSpan);\n        }\n    }\n    /**\n     * Make sure that non-angular tags conform to the schemas.\n     *\n     * Note: An element is considered an angular tag when at least one directive selector matches the\n     * tag name.\n     *\n     * @param matchElement Whether any directive has matched on the tag name\n     * @param element the html element\n     */\n    _assertElementExists(matchElement, element) {\n        const elName = element.name.replace(/^:xhtml:/, '');\n        if (!matchElement && !this._schemaRegistry.hasElement(elName, this._schemas)) {\n            let errorMsg = `'${elName}' is not a known element:\\n`;\n            errorMsg +=\n                `1. If '${elName}' is an Angular component, then verify that it is part of this module.\\n`;\n            if (elName.indexOf('-') > -1) {\n                errorMsg +=\n                    `2. If '${elName}' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.`;\n            }\n            else {\n                errorMsg +=\n                    `2. To allow any element add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.`;\n            }\n            this._reportError(errorMsg, element.sourceSpan);\n        }\n    }\n    _assertNoComponentsNorElementBindingsOnTemplate(directives, elementProps, sourceSpan) {\n        const componentTypeNames = this._findComponentDirectiveNames(directives);\n        if (componentTypeNames.length > 0) {\n            this._reportError(`Components on an embedded template: ${componentTypeNames.join(',')}`, sourceSpan);\n        }\n        elementProps.forEach(prop => {\n            this._reportError(`Property binding ${prop.name} not used by any directive on an embedded template. Make sure that the property name is spelled correctly and all directives are listed in the \"@NgModule.declarations\".`, sourceSpan);\n        });\n    }\n    _assertAllEventsPublishedByDirectives(directives, events) {\n        const allDirectiveEvents = new Set();\n        directives.forEach(directive => {\n            Object.keys(directive.directive.outputs).forEach(k => {\n                const eventName = directive.directive.outputs[k];\n                allDirectiveEvents.add(eventName);\n            });\n        });\n        events.forEach(event => {\n            if (event.target != null || !allDirectiveEvents.has(event.name)) {\n                this._reportError(`Event binding ${event.fullName} not emitted by any directive on an embedded template. Make sure that the event name is spelled correctly and all directives are listed in the \"@NgModule.declarations\".`, event.sourceSpan);\n            }\n        });\n    }\n    _checkPropertiesInSchema(elementName, boundProps) {\n        // Note: We can't filter out empty expressions before this method,\n        // as we still want to validate them!\n        return boundProps.filter((boundProp) => {\n            if (boundProp.type === 0 /* Property */ &&\n                !this._schemaRegistry.hasProperty(elementName, boundProp.name, this._schemas)) {\n                let errorMsg = `Can't bind to '${boundProp.name}' since it isn't a known property of '${elementName}'.`;\n                if (elementName.startsWith('ng-')) {\n                    errorMsg +=\n                        `\\n1. If '${boundProp.name}' is an Angular directive, then add 'CommonModule' to the '@NgModule.imports' of this component.` +\n                            `\\n2. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.`;\n                }\n                else if (elementName.indexOf('-') > -1) {\n                    errorMsg +=\n                        `\\n1. If '${elementName}' is an Angular component and it has '${boundProp.name}' input, then verify that it is part of this module.` +\n                            `\\n2. If '${elementName}' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.` +\n                            `\\n3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.`;\n                }\n                this._reportError(errorMsg, boundProp.sourceSpan);\n            }\n            return !isEmptyExpression(boundProp.value);\n        });\n    }\n    _reportError(message, sourceSpan, level = ParseErrorLevel.ERROR) {\n        this._targetErrors.push(new ParseError(sourceSpan, message, level));\n    }\n}\nclass NonBindableVisitor {\n    visitElement(ast, parent) {\n        const preparsedElement = preparseElement(ast);\n        if (preparsedElement.type === PreparsedElementType.SCRIPT ||\n            preparsedElement.type === PreparsedElementType.STYLE ||\n            preparsedElement.type === PreparsedElementType.STYLESHEET) {\n            // Skipping <script> for security reasons\n            // Skipping <style> and stylesheets as we already processed them\n            // in the StyleCompiler\n            return null;\n        }\n        const attrNameAndValues = ast.attrs.map((attr) => [attr.name, attr.value]);\n        const selector = createElementCssSelector(ast.name, attrNameAndValues);\n        const ngContentIndex = parent.findNgContentIndex(selector);\n        const children = visitAll$1(this, ast.children, EMPTY_ELEMENT_CONTEXT);\n        return new ElementAst(ast.name, visitAll$1(this, ast.attrs), [], [], [], [], [], false, [], children, ngContentIndex, ast.sourceSpan, ast.endSourceSpan);\n    }\n    visitComment(comment, context) { return null; }\n    visitAttribute(attribute, context) {\n        return new AttrAst(attribute.name, attribute.value, attribute.sourceSpan);\n    }\n    visitText(text, parent) {\n        const ngContentIndex = parent.findNgContentIndex(TEXT_CSS_SELECTOR());\n        return new TextAst(text.value, ngContentIndex, text.sourceSpan);\n    }\n    visitExpansion(expansion, context) { return expansion; }\n    visitExpansionCase(expansionCase, context) { return expansionCase; }\n}\n/**\n * A reference to an element or directive in a template. E.g., the reference in this template:\n *\n * <div #myMenu=\"coolMenu\">\n *\n * would be {name: 'myMenu', value: 'coolMenu', sourceSpan: ...}\n */\nclass ElementOrDirectiveRef {\n    constructor(name, value, sourceSpan) {\n        this.name = name;\n        this.value = value;\n        this.sourceSpan = sourceSpan;\n    }\n    /** Gets whether this is a reference to the given directive. */\n    isReferenceToDirective(directive) {\n        return splitExportAs(directive.exportAs).indexOf(this.value) !== -1;\n    }\n}\n/** Splits a raw, potentially comma-delimited `exportAs` value into an array of names. */\nfunction splitExportAs(exportAs) {\n    return exportAs ? exportAs.split(',').map(e => e.trim()) : [];\n}\nfunction splitClasses(classAttrValue) {\n    return classAttrValue.trim().split(/\\s+/g);\n}\nclass ElementContext {\n    constructor(isTemplateElement, _ngContentIndexMatcher, _wildcardNgContentIndex, providerContext) {\n        this.isTemplateElement = isTemplateElement;\n        this._ngContentIndexMatcher = _ngContentIndexMatcher;\n        this._wildcardNgContentIndex = _wildcardNgContentIndex;\n        this.providerContext = providerContext;\n    }\n    static create(isTemplateElement, directives, providerContext) {\n        const matcher = new SelectorMatcher();\n        let wildcardNgContentIndex = null;\n        const component = directives.find(directive => directive.directive.isComponent);\n        if (component) {\n            const ngContentSelectors = component.directive.template.ngContentSelectors;\n            for (let i = 0; i < ngContentSelectors.length; i++) {\n                const selector = ngContentSelectors[i];\n                if (selector === '*') {\n                    wildcardNgContentIndex = i;\n                }\n                else {\n                    matcher.addSelectables(CssSelector.parse(ngContentSelectors[i]), i);\n                }\n            }\n        }\n        return new ElementContext(isTemplateElement, matcher, wildcardNgContentIndex, providerContext);\n    }\n    findNgContentIndex(selector) {\n        const ngContentIndices = [];\n        this._ngContentIndexMatcher.match(selector, (selector, ngContentIndex) => { ngContentIndices.push(ngContentIndex); });\n        ngContentIndices.sort();\n        if (this._wildcardNgContentIndex != null) {\n            ngContentIndices.push(this._wildcardNgContentIndex);\n        }\n        return ngContentIndices.length > 0 ? ngContentIndices[0] : null;\n    }\n}\nfunction createElementCssSelector(elementName, attributes) {\n    const cssSelector = new CssSelector();\n    const elNameNoNs = splitNsName(elementName)[1];\n    cssSelector.setElement(elNameNoNs);\n    for (let i = 0; i < attributes.length; i++) {\n        const attrName = attributes[i][0];\n        const attrNameNoNs = splitNsName(attrName)[1];\n        const attrValue = attributes[i][1];\n        cssSelector.addAttribute(attrNameNoNs, attrValue);\n        if (attrName.toLowerCase() == CLASS_ATTR) {\n            const classes = splitClasses(attrValue);\n            classes.forEach(className => cssSelector.addClassName(className));\n        }\n    }\n    return cssSelector;\n}\nconst EMPTY_ELEMENT_CONTEXT = new ElementContext(true, new SelectorMatcher(), null, null);\nconst NON_BINDABLE_VISITOR = new NonBindableVisitor();\nfunction _isEmptyTextNode(node) {\n    return node instanceof Text$3 && node.value.trim().length == 0;\n}\nfunction removeSummaryDuplicates(items) {\n    const map = new Map();\n    items.forEach((item) => {\n        if (!map.get(item.type.reference)) {\n            map.set(item.type.reference, item);\n        }\n    });\n    return Array.from(map.values());\n}\nfunction isEmptyExpression(ast) {\n    if (ast instanceof ASTWithSource) {\n        ast = ast.ast;\n    }\n    return ast instanceof EmptyExpr;\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Parses string representation of a style and converts it into object literal.\n *\n * @param value string representation of style as used in the `style` attribute in HTML.\n *   Example: `color: red; height: auto`.\n * @returns An array of style property name and value pairs, e.g. `['color', 'red', 'height',\n * 'auto']`\n */\nfunction parse(value) {\n    // we use a string array here instead of a string map\n    // because a string-map is not guaranteed to retain the\n    // order of the entries whereas a string array can be\n    // construted in a [key, value, key, value] format.\n    const styles = [];\n    let i = 0;\n    let parenDepth = 0;\n    let quote = 0 /* QuoteNone */;\n    let valueStart = 0;\n    let propStart = 0;\n    let currentProp = null;\n    let valueHasQuotes = false;\n    while (i < value.length) {\n        const token = value.charCodeAt(i++);\n        switch (token) {\n            case 40 /* OpenParen */:\n                parenDepth++;\n                break;\n            case 41 /* CloseParen */:\n                parenDepth--;\n                break;\n            case 39 /* QuoteSingle */:\n                // valueStart needs to be there since prop values don't\n                // have quotes in CSS\n                valueHasQuotes = valueHasQuotes || valueStart > 0;\n                if (quote === 0 /* QuoteNone */) {\n                    quote = 39 /* QuoteSingle */;\n                }\n                else if (quote === 39 /* QuoteSingle */ && value.charCodeAt(i - 1) !== 92 /* BackSlash */) {\n                    quote = 0 /* QuoteNone */;\n                }\n                break;\n            case 34 /* QuoteDouble */:\n                // same logic as above\n                valueHasQuotes = valueHasQuotes || valueStart > 0;\n                if (quote === 0 /* QuoteNone */) {\n                    quote = 34 /* QuoteDouble */;\n                }\n                else if (quote === 34 /* QuoteDouble */ && value.charCodeAt(i - 1) !== 92 /* BackSlash */) {\n                    quote = 0 /* QuoteNone */;\n                }\n                break;\n            case 58 /* Colon */:\n                if (!currentProp && parenDepth === 0 && quote === 0 /* QuoteNone */) {\n                    currentProp = hyphenate(value.substring(propStart, i - 1).trim());\n                    valueStart = i;\n                }\n                break;\n            case 59 /* Semicolon */:\n                if (currentProp && valueStart > 0 && parenDepth === 0 && quote === 0 /* QuoteNone */) {\n                    const styleVal = value.substring(valueStart, i - 1).trim();\n                    styles.push(currentProp, valueHasQuotes ? stripUnnecessaryQuotes(styleVal) : styleVal);\n                    propStart = i;\n                    valueStart = 0;\n                    currentProp = null;\n                    valueHasQuotes = false;\n                }\n                break;\n        }\n    }\n    if (currentProp && valueStart) {\n        const styleVal = value.substr(valueStart).trim();\n        styles.push(currentProp, valueHasQuotes ? stripUnnecessaryQuotes(styleVal) : styleVal);\n    }\n    return styles;\n}\nfunction stripUnnecessaryQuotes(value) {\n    const qS = value.charCodeAt(0);\n    const qE = value.charCodeAt(value.length - 1);\n    if (qS == qE && (qS == 39 /* QuoteSingle */ || qS == 34 /* QuoteDouble */)) {\n        const tempValue = value.substring(1, value.length - 1);\n        // special case to avoid using a multi-quoted string that was just chomped\n        // (e.g. `font-family: \"Verdana\", \"sans-serif\"`)\n        if (tempValue.indexOf('\\'') == -1 && tempValue.indexOf('\"') == -1) {\n            value = tempValue;\n        }\n    }\n    return value;\n}\nfunction hyphenate(value) {\n    return value.replace(/[a-z][A-Z]/g, v => {\n        return v.charAt(0) + '-' + v.charAt(1);\n    }).toLowerCase();\n}\n\nconst IMPORTANT_FLAG = '!important';\n/**\n * Produces creation/update instructions for all styling bindings (class and style)\n *\n * It also produces the creation instruction to register all initial styling values\n * (which are all the static class=\"...\" and style=\"...\" attribute values that exist\n * on an element within a template).\n *\n * The builder class below handles producing instructions for the following cases:\n *\n * - Static style/class attributes (style=\"...\" and class=\"...\")\n * - Dynamic style/class map bindings ([style]=\"map\" and [class]=\"map|string\")\n * - Dynamic style/class property bindings ([style.prop]=\"exp\" and [class.name]=\"exp\")\n *\n * Due to the complex relationship of all of these cases, the instructions generated\n * for these attributes/properties/bindings must be done so in the correct order. The\n * order which these must be generated is as follows:\n *\n * if (createMode) {\n *   styling(...)\n * }\n * if (updateMode) {\n *   styleMap(...)\n *   classMap(...)\n *   styleProp(...)\n *   classProp(...)\n *   stylingApply(...)\n * }\n *\n * The creation/update methods within the builder class produce these instructions.\n */\nclass StylingBuilder {\n    constructor(_elementIndexExpr, _directiveExpr) {\n        this._elementIndexExpr = _elementIndexExpr;\n        this._directiveExpr = _directiveExpr;\n        /** Whether or not there are any static styling values present */\n        this._hasInitialValues = false;\n        /**\n         *  Whether or not there are any styling bindings present\n         *  (i.e. `[style]`, `[class]`, `[style.prop]` or `[class.name]`)\n         */\n        this.hasBindings = false;\n        /** the input for [class] (if it exists) */\n        this._classMapInput = null;\n        /** the input for [style] (if it exists) */\n        this._styleMapInput = null;\n        /** an array of each [style.prop] input */\n        this._singleStyleInputs = null;\n        /** an array of each [class.name] input */\n        this._singleClassInputs = null;\n        this._lastStylingInput = null;\n        this._firstStylingInput = null;\n        // maps are used instead of hash maps because a Map will\n        // retain the ordering of the keys\n        /**\n         * Represents the location of each style binding in the template\n         * (e.g. `<div [style.width]=\"w\" [style.height]=\"h\">` implies\n         * that `width=0` and `height=1`)\n         */\n        this._stylesIndex = new Map();\n        /**\n         * Represents the location of each class binding in the template\n         * (e.g. `<div [class.big]=\"b\" [class.hidden]=\"h\">` implies\n         * that `big=0` and `hidden=1`)\n         */\n        this._classesIndex = new Map();\n        this._initialStyleValues = [];\n        this._initialClassValues = [];\n        // certain style properties ALWAYS need sanitization\n        // this is checked each time new styles are encountered\n        this._useDefaultSanitizer = false;\n    }\n    /**\n     * Registers a given input to the styling builder to be later used when producing AOT code.\n     *\n     * The code below will only accept the input if it is somehow tied to styling (whether it be\n     * style/class bindings or static style/class attributes).\n     */\n    registerBoundInput(input) {\n        // [attr.style] or [attr.class] are skipped in the code below,\n        // they should not be treated as styling-based bindings since\n        // they are intended to be written directly to the attr and\n        // will therefore skip all style/class resolution that is present\n        // with style=\"\", [style]=\"\" and [style.prop]=\"\", class=\"\",\n        // [class.prop]=\"\". [class]=\"\" assignments\n        let binding = null;\n        let name = input.name;\n        switch (input.type) {\n            case 0 /* Property */:\n                binding = this.registerInputBasedOnName(name, input.value, input.sourceSpan);\n                break;\n            case 3 /* Style */:\n                binding = this.registerStyleInput(name, false, input.value, input.sourceSpan, input.unit);\n                break;\n            case 2 /* Class */:\n                binding = this.registerClassInput(name, false, input.value, input.sourceSpan);\n                break;\n        }\n        return binding ? true : false;\n    }\n    registerInputBasedOnName(name, expression, sourceSpan) {\n        let binding = null;\n        const nameToMatch = name.substring(0, 5); // class | style\n        const isStyle = nameToMatch === 'style';\n        const isClass = isStyle ? false : (nameToMatch === 'class');\n        if (isStyle || isClass) {\n            const isMapBased = name.charAt(5) !== '.'; // style.prop or class.prop makes this a no\n            const property = name.substr(isMapBased ? 5 : 6); // the dot explains why there's a +1\n            if (isStyle) {\n                binding = this.registerStyleInput(property, isMapBased, expression, sourceSpan);\n            }\n            else {\n                binding = this.registerClassInput(property, isMapBased, expression, sourceSpan);\n            }\n        }\n        return binding;\n    }\n    registerStyleInput(name, isMapBased, value, sourceSpan, unit) {\n        if (isEmptyExpression(value)) {\n            return null;\n        }\n        name = normalizePropName(name);\n        const { property, hasOverrideFlag, unit: bindingUnit } = parseProperty(name);\n        const entry = {\n            name: property,\n            unit: unit || bindingUnit, value, sourceSpan, hasOverrideFlag\n        };\n        if (isMapBased) {\n            this._useDefaultSanitizer = true;\n            this._styleMapInput = entry;\n        }\n        else {\n            (this._singleStyleInputs = this._singleStyleInputs || []).push(entry);\n            this._useDefaultSanitizer = this._useDefaultSanitizer || isStyleSanitizable(name);\n            registerIntoMap(this._stylesIndex, property);\n        }\n        this._lastStylingInput = entry;\n        this._firstStylingInput = this._firstStylingInput || entry;\n        this.hasBindings = true;\n        return entry;\n    }\n    registerClassInput(name, isMapBased, value, sourceSpan) {\n        if (isEmptyExpression(value)) {\n            return null;\n        }\n        const { property, hasOverrideFlag } = parseProperty(name);\n        const entry = { name: property, value, sourceSpan, hasOverrideFlag, unit: null };\n        if (isMapBased) {\n            this._classMapInput = entry;\n        }\n        else {\n            (this._singleClassInputs = this._singleClassInputs || []).push(entry);\n            registerIntoMap(this._classesIndex, property);\n        }\n        this._lastStylingInput = entry;\n        this._firstStylingInput = this._firstStylingInput || entry;\n        this.hasBindings = true;\n        return entry;\n    }\n    /**\n     * Registers the element's static style string value to the builder.\n     *\n     * @param value the style string (e.g. `width:100px; height:200px;`)\n     */\n    registerStyleAttr(value) {\n        this._initialStyleValues = parse(value);\n        this._hasInitialValues = true;\n    }\n    /**\n     * Registers the element's static class string value to the builder.\n     *\n     * @param value the className string (e.g. `disabled gold zoom`)\n     */\n    registerClassAttr(value) {\n        this._initialClassValues = value.trim().split(/\\s+/g);\n        this._hasInitialValues = true;\n    }\n    /**\n     * Appends all styling-related expressions to the provided attrs array.\n     *\n     * @param attrs an existing array where each of the styling expressions\n     * will be inserted into.\n     */\n    populateInitialStylingAttrs(attrs) {\n        // [CLASS_MARKER, 'foo', 'bar', 'baz' ...]\n        if (this._initialClassValues.length) {\n            attrs.push(literal(1 /* Classes */));\n            for (let i = 0; i < this._initialClassValues.length; i++) {\n                attrs.push(literal(this._initialClassValues[i]));\n            }\n        }\n        // [STYLE_MARKER, 'width', '200px', 'height', '100px', ...]\n        if (this._initialStyleValues.length) {\n            attrs.push(literal(2 /* Styles */));\n            for (let i = 0; i < this._initialStyleValues.length; i += 2) {\n                attrs.push(literal(this._initialStyleValues[i]), literal(this._initialStyleValues[i + 1]));\n            }\n        }\n    }\n    /**\n     * Builds an instruction with all the expressions and parameters for `elementHostAttrs`.\n     *\n     * The instruction generation code below is used for producing the AOT statement code which is\n     * responsible for registering initial styles (within a directive hostBindings' creation block),\n     * as well as any of the provided attribute values, to the directive host element.\n     */\n    buildHostAttrsInstruction(sourceSpan, attrs, constantPool) {\n        if (this._directiveExpr && (attrs.length || this._hasInitialValues)) {\n            return {\n                sourceSpan,\n                reference: Identifiers$1.elementHostAttrs,\n                allocateBindingSlots: 0,\n                params: () => {\n                    // params => elementHostAttrs(attrs)\n                    this.populateInitialStylingAttrs(attrs);\n                    const attrArray = !attrs.some(attr => attr instanceof WrappedNodeExpr) ?\n                        getConstantLiteralFromArray(constantPool, attrs) :\n                        literalArr(attrs);\n                    return [attrArray];\n                }\n            };\n        }\n        return null;\n    }\n    /**\n     * Builds an instruction with all the expressions and parameters for `styling`.\n     *\n     * The instruction generation code below is used for producing the AOT statement code which is\n     * responsible for registering style/class bindings to an element.\n     */\n    buildStylingInstruction(sourceSpan, constantPool) {\n        if (this.hasBindings) {\n            return {\n                sourceSpan,\n                allocateBindingSlots: 0,\n                reference: Identifiers$1.styling,\n                params: () => [],\n            };\n        }\n        return null;\n    }\n    /**\n     * Builds an instruction with all the expressions and parameters for `classMap`.\n     *\n     * The instruction data will contain all expressions for `classMap` to function\n     * which includes the `[class]` expression params.\n     */\n    buildClassMapInstruction(valueConverter) {\n        if (this._classMapInput) {\n            return this._buildMapBasedInstruction(valueConverter, true, this._classMapInput);\n        }\n        return null;\n    }\n    /**\n     * Builds an instruction with all the expressions and parameters for `styleMap`.\n     *\n     * The instruction data will contain all expressions for `styleMap` to function\n     * which includes the `[style]` expression params.\n     */\n    buildStyleMapInstruction(valueConverter) {\n        if (this._styleMapInput) {\n            return this._buildMapBasedInstruction(valueConverter, false, this._styleMapInput);\n        }\n        return null;\n    }\n    _buildMapBasedInstruction(valueConverter, isClassBased, stylingInput) {\n        // each styling binding value is stored in the LView\n        let totalBindingSlotsRequired = 1;\n        // these values must be outside of the update block so that they can\n        // be evaluated (the AST visit call) during creation time so that any\n        // pipes can be picked up in time before the template is built\n        const mapValue = stylingInput.value.visit(valueConverter);\n        let reference;\n        if (mapValue instanceof Interpolation && isClassBased) {\n            totalBindingSlotsRequired += mapValue.expressions.length;\n            reference = getClassMapInterpolationExpression(mapValue);\n        }\n        else {\n            reference = isClassBased ? Identifiers$1.classMap : Identifiers$1.styleMap;\n        }\n        return {\n            sourceSpan: stylingInput.sourceSpan,\n            reference,\n            allocateBindingSlots: totalBindingSlotsRequired,\n            supportsInterpolation: isClassBased,\n            params: (convertFn) => {\n                const convertResult = convertFn(mapValue);\n                return Array.isArray(convertResult) ? convertResult : [convertResult];\n            }\n        };\n    }\n    _buildSingleInputs(reference, inputs, mapIndex, allowUnits, valueConverter, getInterpolationExpressionFn) {\n        let totalBindingSlotsRequired = 0;\n        return inputs.map(input => {\n            const value = input.value.visit(valueConverter);\n            // each styling binding value is stored in the LView\n            let totalBindingSlotsRequired = 1;\n            if (value instanceof Interpolation) {\n                totalBindingSlotsRequired += value.expressions.length;\n                if (getInterpolationExpressionFn) {\n                    reference = getInterpolationExpressionFn(value);\n                }\n            }\n            return {\n                sourceSpan: input.sourceSpan,\n                supportsInterpolation: !!getInterpolationExpressionFn,\n                allocateBindingSlots: totalBindingSlotsRequired, reference,\n                params: (convertFn) => {\n                    // params => stylingProp(propName, value)\n                    const params = [];\n                    params.push(literal(input.name));\n                    const convertResult = convertFn(value);\n                    if (Array.isArray(convertResult)) {\n                        params.push(...convertResult);\n                    }\n                    else {\n                        params.push(convertResult);\n                    }\n                    if (allowUnits && input.unit) {\n                        params.push(literal(input.unit));\n                    }\n                    return params;\n                }\n            };\n        });\n    }\n    _buildClassInputs(valueConverter) {\n        if (this._singleClassInputs) {\n            return this._buildSingleInputs(Identifiers$1.classProp, this._singleClassInputs, this._classesIndex, false, valueConverter);\n        }\n        return [];\n    }\n    _buildStyleInputs(valueConverter) {\n        if (this._singleStyleInputs) {\n            return this._buildSingleInputs(Identifiers$1.styleProp, this._singleStyleInputs, this._stylesIndex, true, valueConverter, getStylePropInterpolationExpression);\n        }\n        return [];\n    }\n    _buildApplyFn() {\n        return {\n            sourceSpan: this._lastStylingInput ? this._lastStylingInput.sourceSpan : null,\n            reference: Identifiers$1.stylingApply,\n            allocateBindingSlots: 0,\n            params: () => { return []; }\n        };\n    }\n    _buildSanitizerFn() {\n        return {\n            sourceSpan: this._firstStylingInput ? this._firstStylingInput.sourceSpan : null,\n            reference: Identifiers$1.styleSanitizer,\n            allocateBindingSlots: 0,\n            params: () => [importExpr(Identifiers$1.defaultStyleSanitizer)]\n        };\n    }\n    /**\n     * Constructs all instructions which contain the expressions that will be placed\n     * into the update block of a template function or a directive hostBindings function.\n     */\n    buildUpdateLevelInstructions(valueConverter) {\n        const instructions = [];\n        if (this.hasBindings) {\n            if (this._useDefaultSanitizer) {\n                instructions.push(this._buildSanitizerFn());\n            }\n            const styleMapInstruction = this.buildStyleMapInstruction(valueConverter);\n            if (styleMapInstruction) {\n                instructions.push(styleMapInstruction);\n            }\n            const classMapInstruction = this.buildClassMapInstruction(valueConverter);\n            if (classMapInstruction) {\n                instructions.push(classMapInstruction);\n            }\n            instructions.push(...this._buildStyleInputs(valueConverter));\n            instructions.push(...this._buildClassInputs(valueConverter));\n            instructions.push(this._buildApplyFn());\n        }\n        return instructions;\n    }\n}\nfunction registerIntoMap(map, key) {\n    if (!map.has(key)) {\n        map.set(key, map.size);\n    }\n}\nfunction isStyleSanitizable(prop) {\n    // Note that browsers support both the dash case and\n    // camel case property names when setting through JS.\n    return prop === 'background-image' || prop === 'backgroundImage' || prop === 'background' ||\n        prop === 'border-image' || prop === 'borderImage' || prop === 'filter' ||\n        prop === 'list-style' || prop === 'listStyle' || prop === 'list-style-image' ||\n        prop === 'listStyleImage' || prop === 'clip-path' || prop === 'clipPath';\n}\n/**\n * Simple helper function to either provide the constant literal that will house the value\n * here or a null value if the provided values are empty.\n */\nfunction getConstantLiteralFromArray(constantPool, values) {\n    return values.length ? constantPool.getConstLiteral(literalArr(values), true) : NULL_EXPR;\n}\n/**\n * Simple helper function that adds a parameter or does nothing at all depending on the provided\n * predicate and totalExpectedArgs values\n */\nfunction addParam(params, predicate, value, argNumber, totalExpectedArgs) {\n    if (predicate && value) {\n        params.push(value);\n    }\n    else if (argNumber < totalExpectedArgs) {\n        params.push(NULL_EXPR);\n    }\n}\nfunction parseProperty(name) {\n    let hasOverrideFlag = false;\n    const overrideIndex = name.indexOf(IMPORTANT_FLAG);\n    if (overrideIndex !== -1) {\n        name = overrideIndex > 0 ? name.substring(0, overrideIndex) : '';\n        hasOverrideFlag = true;\n    }\n    let unit = '';\n    let property = name;\n    const unitIndex = name.lastIndexOf('.');\n    if (unitIndex > 0) {\n        unit = name.substr(unitIndex + 1);\n        property = name.substring(0, unitIndex);\n    }\n    return { property, unit, hasOverrideFlag };\n}\n/**\n * Gets the instruction to generate for an interpolated class map.\n * @param interpolation An Interpolation AST\n */\nfunction getClassMapInterpolationExpression(interpolation) {\n    switch (getInterpolationArgsLength(interpolation)) {\n        case 1:\n            return Identifiers$1.classMap;\n        case 3:\n            return Identifiers$1.classMapInterpolate1;\n        case 5:\n            return Identifiers$1.classMapInterpolate2;\n        case 7:\n            return Identifiers$1.classMapInterpolate3;\n        case 9:\n            return Identifiers$1.classMapInterpolate4;\n        case 11:\n            return Identifiers$1.classMapInterpolate5;\n        case 13:\n            return Identifiers$1.classMapInterpolate6;\n        case 15:\n            return Identifiers$1.classMapInterpolate7;\n        case 17:\n            return Identifiers$1.classMapInterpolate8;\n        default:\n            return Identifiers$1.classMapInterpolateV;\n    }\n}\n/**\n * Gets the instruction to generate for an interpolated style prop.\n * @param interpolation An Interpolation AST\n */\nfunction getStylePropInterpolationExpression(interpolation) {\n    switch (getInterpolationArgsLength(interpolation)) {\n        case 1:\n            return Identifiers$1.styleProp;\n        case 3:\n            return Identifiers$1.stylePropInterpolate1;\n        case 5:\n            return Identifiers$1.stylePropInterpolate2;\n        case 7:\n            return Identifiers$1.stylePropInterpolate3;\n        case 9:\n            return Identifiers$1.stylePropInterpolate4;\n        case 11:\n            return Identifiers$1.stylePropInterpolate5;\n        case 13:\n            return Identifiers$1.stylePropInterpolate6;\n        case 15:\n            return Identifiers$1.stylePropInterpolate7;\n        case 17:\n            return Identifiers$1.stylePropInterpolate8;\n        default:\n            return Identifiers$1.stylePropInterpolateV;\n    }\n}\nfunction normalizePropName(prop) {\n    return hyphenate(prop);\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar TokenType$1;\n(function (TokenType) {\n    TokenType[TokenType[\"Character\"] = 0] = \"Character\";\n    TokenType[TokenType[\"Identifier\"] = 1] = \"Identifier\";\n    TokenType[TokenType[\"Keyword\"] = 2] = \"Keyword\";\n    TokenType[TokenType[\"String\"] = 3] = \"String\";\n    TokenType[TokenType[\"Operator\"] = 4] = \"Operator\";\n    TokenType[TokenType[\"Number\"] = 5] = \"Number\";\n    TokenType[TokenType[\"Error\"] = 6] = \"Error\";\n})(TokenType$1 || (TokenType$1 = {}));\nconst KEYWORDS = ['var', 'let', 'as', 'null', 'undefined', 'true', 'false', 'if', 'else', 'this'];\nclass Lexer {\n    tokenize(text) {\n        const scanner = new _Scanner(text);\n        const tokens = [];\n        let token = scanner.scanToken();\n        while (token != null) {\n            tokens.push(token);\n            token = scanner.scanToken();\n        }\n        return tokens;\n    }\n}\nclass Token$1 {\n    constructor(index, type, numValue, strValue) {\n        this.index = index;\n        this.type = type;\n        this.numValue = numValue;\n        this.strValue = strValue;\n    }\n    isCharacter(code) {\n        return this.type == TokenType$1.Character && this.numValue == code;\n    }\n    isNumber() { return this.type == TokenType$1.Number; }\n    isString() { return this.type == TokenType$1.String; }\n    isOperator(operator) {\n        return this.type == TokenType$1.Operator && this.strValue == operator;\n    }\n    isIdentifier() { return this.type == TokenType$1.Identifier; }\n    isKeyword() { return this.type == TokenType$1.Keyword; }\n    isKeywordLet() { return this.type == TokenType$1.Keyword && this.strValue == 'let'; }\n    isKeywordAs() { return this.type == TokenType$1.Keyword && this.strValue == 'as'; }\n    isKeywordNull() { return this.type == TokenType$1.Keyword && this.strValue == 'null'; }\n    isKeywordUndefined() {\n        return this.type == TokenType$1.Keyword && this.strValue == 'undefined';\n    }\n    isKeywordTrue() { return this.type == TokenType$1.Keyword && this.strValue == 'true'; }\n    isKeywordFalse() { return this.type == TokenType$1.Keyword && this.strValue == 'false'; }\n    isKeywordThis() { return this.type == TokenType$1.Keyword && this.strValue == 'this'; }\n    isError() { return this.type == TokenType$1.Error; }\n    toNumber() { return this.type == TokenType$1.Number ? this.numValue : -1; }\n    toString() {\n        switch (this.type) {\n            case TokenType$1.Character:\n            case TokenType$1.Identifier:\n            case TokenType$1.Keyword:\n            case TokenType$1.Operator:\n            case TokenType$1.String:\n            case TokenType$1.Error:\n                return this.strValue;\n            case TokenType$1.Number:\n                return this.numValue.toString();\n            default:\n                return null;\n        }\n    }\n}\nfunction newCharacterToken(index, code) {\n    return new Token$1(index, TokenType$1.Character, code, String.fromCharCode(code));\n}\nfunction newIdentifierToken(index, text) {\n    return new Token$1(index, TokenType$1.Identifier, 0, text);\n}\nfunction newKeywordToken(index, text) {\n    return new Token$1(index, TokenType$1.Keyword, 0, text);\n}\nfunction newOperatorToken(index, text) {\n    return new Token$1(index, TokenType$1.Operator, 0, text);\n}\nfunction newStringToken(index, text) {\n    return new Token$1(index, TokenType$1.String, 0, text);\n}\nfunction newNumberToken(index, n) {\n    return new Token$1(index, TokenType$1.Number, n, '');\n}\nfunction newErrorToken(index, message) {\n    return new Token$1(index, TokenType$1.Error, 0, message);\n}\nconst EOF = new Token$1(-1, TokenType$1.Character, 0, '');\nclass _Scanner {\n    constructor(input) {\n        this.input = input;\n        this.peek = 0;\n        this.index = -1;\n        this.length = input.length;\n        this.advance();\n    }\n    advance() {\n        this.peek = ++this.index >= this.length ? $EOF : this.input.charCodeAt(this.index);\n    }\n    scanToken() {\n        const input = this.input, length = this.length;\n        let peek = this.peek, index = this.index;\n        // Skip whitespace.\n        while (peek <= $SPACE) {\n            if (++index >= length) {\n                peek = $EOF;\n                break;\n            }\n            else {\n                peek = input.charCodeAt(index);\n            }\n        }\n        this.peek = peek;\n        this.index = index;\n        if (index >= length) {\n            return null;\n        }\n        // Handle identifiers and numbers.\n        if (isIdentifierStart(peek))\n            return this.scanIdentifier();\n        if (isDigit(peek))\n            return this.scanNumber(index);\n        const start = index;\n        switch (peek) {\n            case $PERIOD:\n                this.advance();\n                return isDigit(this.peek) ? this.scanNumber(start) :\n                    newCharacterToken(start, $PERIOD);\n            case $LPAREN:\n            case $RPAREN:\n            case $LBRACE:\n            case $RBRACE:\n            case $LBRACKET:\n            case $RBRACKET:\n            case $COMMA:\n            case $COLON:\n            case $SEMICOLON:\n                return this.scanCharacter(start, peek);\n            case $SQ:\n            case $DQ:\n                return this.scanString();\n            case $HASH:\n            case $PLUS:\n            case $MINUS:\n            case $STAR:\n            case $SLASH:\n            case $PERCENT:\n            case $CARET:\n                return this.scanOperator(start, String.fromCharCode(peek));\n            case $QUESTION:\n                return this.scanComplexOperator(start, '?', $PERIOD, '.');\n            case $LT:\n            case $GT:\n                return this.scanComplexOperator(start, String.fromCharCode(peek), $EQ, '=');\n            case $BANG:\n            case $EQ:\n                return this.scanComplexOperator(start, String.fromCharCode(peek), $EQ, '=', $EQ, '=');\n            case $AMPERSAND:\n                return this.scanComplexOperator(start, '&', $AMPERSAND, '&');\n            case $BAR:\n                return this.scanComplexOperator(start, '|', $BAR, '|');\n            case $NBSP:\n                while (isWhitespace(this.peek))\n                    this.advance();\n                return this.scanToken();\n        }\n        this.advance();\n        return this.error(`Unexpected character [${String.fromCharCode(peek)}]`, 0);\n    }\n    scanCharacter(start, code) {\n        this.advance();\n        return newCharacterToken(start, code);\n    }\n    scanOperator(start, str) {\n        this.advance();\n        return newOperatorToken(start, str);\n    }\n    /**\n     * Tokenize a 2/3 char long operator\n     *\n     * @param start start index in the expression\n     * @param one first symbol (always part of the operator)\n     * @param twoCode code point for the second symbol\n     * @param two second symbol (part of the operator when the second code point matches)\n     * @param threeCode code point for the third symbol\n     * @param three third symbol (part of the operator when provided and matches source expression)\n     */\n    scanComplexOperator(start, one, twoCode, two, threeCode, three) {\n        this.advance();\n        let str = one;\n        if (this.peek == twoCode) {\n            this.advance();\n            str += two;\n        }\n        if (threeCode != null && this.peek == threeCode) {\n            this.advance();\n            str += three;\n        }\n        return newOperatorToken(start, str);\n    }\n    scanIdentifier() {\n        const start = this.index;\n        this.advance();\n        while (isIdentifierPart(this.peek))\n            this.advance();\n        const str = this.input.substring(start, this.index);\n        return KEYWORDS.indexOf(str) > -1 ? newKeywordToken(start, str) :\n            newIdentifierToken(start, str);\n    }\n    scanNumber(start) {\n        let simple = (this.index === start);\n        this.advance(); // Skip initial digit.\n        while (true) {\n            if (isDigit(this.peek)) {\n                // Do nothing.\n            }\n            else if (this.peek == $PERIOD) {\n                simple = false;\n            }\n            else if (isExponentStart(this.peek)) {\n                this.advance();\n                if (isExponentSign(this.peek))\n                    this.advance();\n                if (!isDigit(this.peek))\n                    return this.error('Invalid exponent', -1);\n                simple = false;\n            }\n            else {\n                break;\n            }\n            this.advance();\n        }\n        const str = this.input.substring(start, this.index);\n        const value = simple ? parseIntAutoRadix(str) : parseFloat(str);\n        return newNumberToken(start, value);\n    }\n    scanString() {\n        const start = this.index;\n        const quote = this.peek;\n        this.advance(); // Skip initial quote.\n        let buffer = '';\n        let marker = this.index;\n        const input = this.input;\n        while (this.peek != quote) {\n            if (this.peek == $BACKSLASH) {\n                buffer += input.substring(marker, this.index);\n                this.advance();\n                let unescapedCode;\n                // Workaround for TS2.1-introduced type strictness\n                this.peek = this.peek;\n                if (this.peek == $u) {\n                    // 4 character hex code for unicode character.\n                    const hex = input.substring(this.index + 1, this.index + 5);\n                    if (/^[0-9a-f]+$/i.test(hex)) {\n                        unescapedCode = parseInt(hex, 16);\n                    }\n                    else {\n                        return this.error(`Invalid unicode escape [\\\\u${hex}]`, 0);\n                    }\n                    for (let i = 0; i < 5; i++) {\n                        this.advance();\n                    }\n                }\n                else {\n                    unescapedCode = unescape(this.peek);\n                    this.advance();\n                }\n                buffer += String.fromCharCode(unescapedCode);\n                marker = this.index;\n            }\n            else if (this.peek == $EOF) {\n                return this.error('Unterminated quote', 0);\n            }\n            else {\n                this.advance();\n            }\n        }\n        const last = input.substring(marker, this.index);\n        this.advance(); // Skip terminating quote.\n        return newStringToken(start, buffer + last);\n    }\n    error(message, offset) {\n        const position = this.index + offset;\n        return newErrorToken(position, `Lexer Error: ${message} at column ${position} in expression [${this.input}]`);\n    }\n}\nfunction isIdentifierStart(code) {\n    return ($a <= code && code <= $z) || ($A <= code && code <= $Z) ||\n        (code == $_) || (code == $$);\n}\nfunction isIdentifier(input) {\n    if (input.length == 0)\n        return false;\n    const scanner = new _Scanner(input);\n    if (!isIdentifierStart(scanner.peek))\n        return false;\n    scanner.advance();\n    while (scanner.peek !== $EOF) {\n        if (!isIdentifierPart(scanner.peek))\n            return false;\n        scanner.advance();\n    }\n    return true;\n}\nfunction isIdentifierPart(code) {\n    return isAsciiLetter(code) || isDigit(code) || (code == $_) ||\n        (code == $$);\n}\nfunction isExponentStart(code) {\n    return code == $e || code == $E;\n}\nfunction isExponentSign(code) {\n    return code == $MINUS || code == $PLUS;\n}\nfunction isQuote(code) {\n    return code === $SQ || code === $DQ || code === $BT;\n}\nfunction unescape(code) {\n    switch (code) {\n        case $n:\n            return $LF;\n        case $f:\n            return $FF;\n        case $r:\n            return $CR;\n        case $t:\n            return $TAB;\n        case $v:\n            return $VTAB;\n        default:\n            return code;\n    }\n}\nfunction parseIntAutoRadix(text) {\n    const result = parseInt(text);\n    if (isNaN(result)) {\n        throw new Error('Invalid integer literal when parsing ' + text);\n    }\n    return result;\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nclass SplitInterpolation {\n    constructor(strings, expressions, offsets) {\n        this.strings = strings;\n        this.expressions = expressions;\n        this.offsets = offsets;\n    }\n}\nclass TemplateBindingParseResult {\n    constructor(templateBindings, warnings, errors) {\n        this.templateBindings = templateBindings;\n        this.warnings = warnings;\n        this.errors = errors;\n    }\n}\nfunction _createInterpolateRegExp(config) {\n    const pattern = escapeRegExp(config.start) + '([\\\\s\\\\S]*?)' + escapeRegExp(config.end);\n    return new RegExp(pattern, 'g');\n}\nclass Parser$1 {\n    constructor(_lexer) {\n        this._lexer = _lexer;\n        this.errors = [];\n    }\n    parseAction(input, location, absoluteOffset, interpolationConfig = DEFAULT_INTERPOLATION_CONFIG) {\n        this._checkNoInterpolation(input, location, interpolationConfig);\n        const sourceToLex = this._stripComments(input);\n        const tokens = this._lexer.tokenize(this._stripComments(input));\n        const ast = new _ParseAST(input, location, absoluteOffset, tokens, sourceToLex.length, true, this.errors, input.length - sourceToLex.length)\n            .parseChain();\n        return new ASTWithSource(ast, input, location, absoluteOffset, this.errors);\n    }\n    parseBinding(input, location, absoluteOffset, interpolationConfig = DEFAULT_INTERPOLATION_CONFIG) {\n        const ast = this._parseBindingAst(input, location, absoluteOffset, interpolationConfig);\n        return new ASTWithSource(ast, input, location, absoluteOffset, this.errors);\n    }\n    parseSimpleBinding(input, location, absoluteOffset, interpolationConfig = DEFAULT_INTERPOLATION_CONFIG) {\n        const ast = this._parseBindingAst(input, location, absoluteOffset, interpolationConfig);\n        const errors = SimpleExpressionChecker.check(ast);\n        if (errors.length > 0) {\n            this._reportError(`Host binding expression cannot contain ${errors.join(' ')}`, input, location);\n        }\n        return new ASTWithSource(ast, input, location, absoluteOffset, this.errors);\n    }\n    _reportError(message, input, errLocation, ctxLocation) {\n        this.errors.push(new ParserError(message, input, errLocation, ctxLocation));\n    }\n    _parseBindingAst(input, location, absoluteOffset, interpolationConfig) {\n        // Quotes expressions use 3rd-party expression language. We don't want to use\n        // our lexer or parser for that, so we check for that ahead of time.\n        const quote = this._parseQuote(input, location);\n        if (quote != null) {\n            return quote;\n        }\n        this._checkNoInterpolation(input, location, interpolationConfig);\n        const sourceToLex = this._stripComments(input);\n        const tokens = this._lexer.tokenize(sourceToLex);\n        return new _ParseAST(input, location, absoluteOffset, tokens, sourceToLex.length, false, this.errors, input.length - sourceToLex.length)\n            .parseChain();\n    }\n    _parseQuote(input, location) {\n        if (input == null)\n            return null;\n        const prefixSeparatorIndex = input.indexOf(':');\n        if (prefixSeparatorIndex == -1)\n            return null;\n        const prefix = input.substring(0, prefixSeparatorIndex).trim();\n        if (!isIdentifier(prefix))\n            return null;\n        const uninterpretedExpression = input.substring(prefixSeparatorIndex + 1);\n        return new Quote(new ParseSpan(0, input.length), prefix, uninterpretedExpression, location);\n    }\n    parseTemplateBindings(tplKey, tplValue, location, absoluteOffset) {\n        const tokens = this._lexer.tokenize(tplValue);\n        return new _ParseAST(tplValue, location, absoluteOffset, tokens, tplValue.length, false, this.errors, 0)\n            .parseTemplateBindings(tplKey);\n    }\n    parseInterpolation(input, location, absoluteOffset, interpolationConfig = DEFAULT_INTERPOLATION_CONFIG) {\n        const split = this.splitInterpolation(input, location, interpolationConfig);\n        if (split == null)\n            return null;\n        const expressions = [];\n        for (let i = 0; i < split.expressions.length; ++i) {\n            const expressionText = split.expressions[i];\n            const sourceToLex = this._stripComments(expressionText);\n            const tokens = this._lexer.tokenize(sourceToLex);\n            const ast = new _ParseAST(input, location, absoluteOffset, tokens, sourceToLex.length, false, this.errors, split.offsets[i] + (expressionText.length - sourceToLex.length))\n                .parseChain();\n            expressions.push(ast);\n        }\n        return new ASTWithSource(new Interpolation(new ParseSpan(0, input == null ? 0 : input.length), split.strings, expressions), input, location, absoluteOffset, this.errors);\n    }\n    splitInterpolation(input, location, interpolationConfig = DEFAULT_INTERPOLATION_CONFIG) {\n        const regexp = _createInterpolateRegExp(interpolationConfig);\n        const parts = input.split(regexp);\n        if (parts.length <= 1) {\n            return null;\n        }\n        const strings = [];\n        const expressions = [];\n        const offsets = [];\n        let offset = 0;\n        for (let i = 0; i < parts.length; i++) {\n            const part = parts[i];\n            if (i % 2 === 0) {\n                // fixed string\n                strings.push(part);\n                offset += part.length;\n            }\n            else if (part.trim().length > 0) {\n                offset += interpolationConfig.start.length;\n                expressions.push(part);\n                offsets.push(offset);\n                offset += part.length + interpolationConfig.end.length;\n            }\n            else {\n                this._reportError('Blank expressions are not allowed in interpolated strings', input, `at column ${this._findInterpolationErrorColumn(parts, i, interpolationConfig)} in`, location);\n                expressions.push('$implict');\n                offsets.push(offset);\n            }\n        }\n        return new SplitInterpolation(strings, expressions, offsets);\n    }\n    wrapLiteralPrimitive(input, location, absoluteOffset) {\n        return new ASTWithSource(new LiteralPrimitive(new ParseSpan(0, input == null ? 0 : input.length), input), input, location, absoluteOffset, this.errors);\n    }\n    _stripComments(input) {\n        const i = this._commentStart(input);\n        return i != null ? input.substring(0, i).trim() : input;\n    }\n    _commentStart(input) {\n        let outerQuote = null;\n        for (let i = 0; i < input.length - 1; i++) {\n            const char = input.charCodeAt(i);\n            const nextChar = input.charCodeAt(i + 1);\n            if (char === $SLASH && nextChar == $SLASH && outerQuote == null)\n                return i;\n            if (outerQuote === char) {\n                outerQuote = null;\n            }\n            else if (outerQuote == null && isQuote(char)) {\n                outerQuote = char;\n            }\n        }\n        return null;\n    }\n    _checkNoInterpolation(input, location, interpolationConfig) {\n        const regexp = _createInterpolateRegExp(interpolationConfig);\n        const parts = input.split(regexp);\n        if (parts.length > 1) {\n            this._reportError(`Got interpolation (${interpolationConfig.start}${interpolationConfig.end}) where expression was expected`, input, `at column ${this._findInterpolationErrorColumn(parts, 1, interpolationConfig)} in`, location);\n        }\n    }\n    _findInterpolationErrorColumn(parts, partInErrIdx, interpolationConfig) {\n        let errLocation = '';\n        for (let j = 0; j < partInErrIdx; j++) {\n            errLocation += j % 2 === 0 ?\n                parts[j] :\n                `${interpolationConfig.start}${parts[j]}${interpolationConfig.end}`;\n        }\n        return errLocation.length;\n    }\n}\nclass _ParseAST {\n    constructor(input, location, absoluteOffset, tokens, inputLength, parseAction, errors, offset) {\n        this.input = input;\n        this.location = location;\n        this.absoluteOffset = absoluteOffset;\n        this.tokens = tokens;\n        this.inputLength = inputLength;\n        this.parseAction = parseAction;\n        this.errors = errors;\n        this.offset = offset;\n        this.rparensExpected = 0;\n        this.rbracketsExpected = 0;\n        this.rbracesExpected = 0;\n        this.index = 0;\n    }\n    peek(offset) {\n        const i = this.index + offset;\n        return i < this.tokens.length ? this.tokens[i] : EOF;\n    }\n    get next() { return this.peek(0); }\n    get inputIndex() {\n        return (this.index < this.tokens.length) ? this.next.index + this.offset :\n            this.inputLength + this.offset;\n    }\n    span(start) { return new ParseSpan(start, this.inputIndex); }\n    advance() { this.index++; }\n    optionalCharacter(code) {\n        if (this.next.isCharacter(code)) {\n            this.advance();\n            return true;\n        }\n        else {\n            return false;\n        }\n    }\n    peekKeywordLet() { return this.next.isKeywordLet(); }\n    peekKeywordAs() { return this.next.isKeywordAs(); }\n    expectCharacter(code) {\n        if (this.optionalCharacter(code))\n            return;\n        this.error(`Missing expected ${String.fromCharCode(code)}`);\n    }\n    optionalOperator(op) {\n        if (this.next.isOperator(op)) {\n            this.advance();\n            return true;\n        }\n        else {\n            return false;\n        }\n    }\n    expectOperator(operator) {\n        if (this.optionalOperator(operator))\n            return;\n        this.error(`Missing expected operator ${operator}`);\n    }\n    expectIdentifierOrKeyword() {\n        const n = this.next;\n        if (!n.isIdentifier() && !n.isKeyword()) {\n            this.error(`Unexpected token ${n}, expected identifier or keyword`);\n            return '';\n        }\n        this.advance();\n        return n.toString();\n    }\n    expectIdentifierOrKeywordOrString() {\n        const n = this.next;\n        if (!n.isIdentifier() && !n.isKeyword() && !n.isString()) {\n            this.error(`Unexpected token ${n}, expected identifier, keyword, or string`);\n            return '';\n        }\n        this.advance();\n        return n.toString();\n    }\n    parseChain() {\n        const exprs = [];\n        const start = this.inputIndex;\n        while (this.index < this.tokens.length) {\n            const expr = this.parsePipe();\n            exprs.push(expr);\n            if (this.optionalCharacter($SEMICOLON)) {\n                if (!this.parseAction) {\n                    this.error('Binding expression cannot contain chained expression');\n                }\n                while (this.optionalCharacter($SEMICOLON)) {\n                } // read all semicolons\n            }\n            else if (this.index < this.tokens.length) {\n                this.error(`Unexpected token '${this.next}'`);\n            }\n        }\n        if (exprs.length == 0)\n            return new EmptyExpr(this.span(start));\n        if (exprs.length == 1)\n            return exprs[0];\n        return new Chain(this.span(start), exprs);\n    }\n    parsePipe() {\n        let result = this.parseExpression();\n        if (this.optionalOperator('|')) {\n            if (this.parseAction) {\n                this.error('Cannot have a pipe in an action expression');\n            }\n            do {\n                const name = this.expectIdentifierOrKeyword();\n                const args = [];\n                while (this.optionalCharacter($COLON)) {\n                    args.push(this.parseExpression());\n                }\n                result = new BindingPipe(this.span(result.span.start), result, name, args);\n            } while (this.optionalOperator('|'));\n        }\n        return result;\n    }\n    parseExpression() { return this.parseConditional(); }\n    parseConditional() {\n        const start = this.inputIndex;\n        const result = this.parseLogicalOr();\n        if (this.optionalOperator('?')) {\n            const yes = this.parsePipe();\n            let no;\n            if (!this.optionalCharacter($COLON)) {\n                const end = this.inputIndex;\n                const expression = this.input.substring(start, end);\n                this.error(`Conditional expression ${expression} requires all 3 expressions`);\n                no = new EmptyExpr(this.span(start));\n            }\n            else {\n                no = this.parsePipe();\n            }\n            return new Conditional(this.span(start), result, yes, no);\n        }\n        else {\n            return result;\n        }\n    }\n    parseLogicalOr() {\n        // '||'\n        let result = this.parseLogicalAnd();\n        while (this.optionalOperator('||')) {\n            const right = this.parseLogicalAnd();\n            result = new Binary(this.span(result.span.start), '||', result, right);\n        }\n        return result;\n    }\n    parseLogicalAnd() {\n        // '&&'\n        let result = this.parseEquality();\n        while (this.optionalOperator('&&')) {\n            const right = this.parseEquality();\n            result = new Binary(this.span(result.span.start), '&&', result, right);\n        }\n        return result;\n    }\n    parseEquality() {\n        // '==','!=','===','!=='\n        let result = this.parseRelational();\n        while (this.next.type == TokenType$1.Operator) {\n            const operator = this.next.strValue;\n            switch (operator) {\n                case '==':\n                case '===':\n                case '!=':\n                case '!==':\n                    this.advance();\n                    const right = this.parseRelational();\n                    result = new Binary(this.span(result.span.start), operator, result, right);\n                    continue;\n            }\n            break;\n        }\n        return result;\n    }\n    parseRelational() {\n        // '<', '>', '<=', '>='\n        let result = this.parseAdditive();\n        while (this.next.type == TokenType$1.Operator) {\n            const operator = this.next.strValue;\n            switch (operator) {\n                case '<':\n                case '>':\n                case '<=':\n                case '>=':\n                    this.advance();\n                    const right = this.parseAdditive();\n                    result = new Binary(this.span(result.span.start), operator, result, right);\n                    continue;\n            }\n            break;\n        }\n        return result;\n    }\n    parseAdditive() {\n        // '+', '-'\n        let result = this.parseMultiplicative();\n        while (this.next.type == TokenType$1.Operator) {\n            const operator = this.next.strValue;\n            switch (operator) {\n                case '+':\n                case '-':\n                    this.advance();\n                    let right = this.parseMultiplicative();\n                    result = new Binary(this.span(result.span.start), operator, result, right);\n                    continue;\n            }\n            break;\n        }\n        return result;\n    }\n    parseMultiplicative() {\n        // '*', '%', '/'\n        let result = this.parsePrefix();\n        while (this.next.type == TokenType$1.Operator) {\n            const operator = this.next.strValue;\n            switch (operator) {\n                case '*':\n                case '%':\n                case '/':\n                    this.advance();\n                    let right = this.parsePrefix();\n                    result = new Binary(this.span(result.span.start), operator, result, right);\n                    continue;\n            }\n            break;\n        }\n        return result;\n    }\n    parsePrefix() {\n        if (this.next.type == TokenType$1.Operator) {\n            const start = this.inputIndex;\n            const operator = this.next.strValue;\n            let result;\n            switch (operator) {\n                case '+':\n                    this.advance();\n                    result = this.parsePrefix();\n                    return new Binary(this.span(start), '-', result, new LiteralPrimitive(new ParseSpan(start, start), 0));\n                case '-':\n                    this.advance();\n                    result = this.parsePrefix();\n                    return new Binary(this.span(start), operator, new LiteralPrimitive(new ParseSpan(start, start), 0), result);\n                case '!':\n                    this.advance();\n                    result = this.parsePrefix();\n                    return new PrefixNot(this.span(start), result);\n            }\n        }\n        return this.parseCallChain();\n    }\n    parseCallChain() {\n        let result = this.parsePrimary();\n        while (true) {\n            if (this.optionalCharacter($PERIOD)) {\n                result = this.parseAccessMemberOrMethodCall(result, false);\n            }\n            else if (this.optionalOperator('?.')) {\n                result = this.parseAccessMemberOrMethodCall(result, true);\n            }\n            else if (this.optionalCharacter($LBRACKET)) {\n                this.rbracketsExpected++;\n                const key = this.parsePipe();\n                this.rbracketsExpected--;\n                this.expectCharacter($RBRACKET);\n                if (this.optionalOperator('=')) {\n                    const value = this.parseConditional();\n                    result = new KeyedWrite(this.span(result.span.start), result, key, value);\n                }\n                else {\n                    result = new KeyedRead(this.span(result.span.start), result, key);\n                }\n            }\n            else if (this.optionalCharacter($LPAREN)) {\n                this.rparensExpected++;\n                const args = this.parseCallArguments();\n                this.rparensExpected--;\n                this.expectCharacter($RPAREN);\n                result = new FunctionCall(this.span(result.span.start), result, args);\n            }\n            else if (this.optionalOperator('!')) {\n                result = new NonNullAssert(this.span(result.span.start), result);\n            }\n            else {\n                return result;\n            }\n        }\n    }\n    parsePrimary() {\n        const start = this.inputIndex;\n        if (this.optionalCharacter($LPAREN)) {\n            this.rparensExpected++;\n            const result = this.parsePipe();\n            this.rparensExpected--;\n            this.expectCharacter($RPAREN);\n            return result;\n        }\n        else if (this.next.isKeywordNull()) {\n            this.advance();\n            return new LiteralPrimitive(this.span(start), null);\n        }\n        else if (this.next.isKeywordUndefined()) {\n            this.advance();\n            return new LiteralPrimitive(this.span(start), void 0);\n        }\n        else if (this.next.isKeywordTrue()) {\n            this.advance();\n            return new LiteralPrimitive(this.span(start), true);\n        }\n        else if (this.next.isKeywordFalse()) {\n            this.advance();\n            return new LiteralPrimitive(this.span(start), false);\n        }\n        else if (this.next.isKeywordThis()) {\n            this.advance();\n            return new ImplicitReceiver(this.span(start));\n        }\n        else if (this.optionalCharacter($LBRACKET)) {\n            this.rbracketsExpected++;\n            const elements = this.parseExpressionList($RBRACKET);\n            this.rbracketsExpected--;\n            this.expectCharacter($RBRACKET);\n            return new LiteralArray(this.span(start), elements);\n        }\n        else if (this.next.isCharacter($LBRACE)) {\n            return this.parseLiteralMap();\n        }\n        else if (this.next.isIdentifier()) {\n            return this.parseAccessMemberOrMethodCall(new ImplicitReceiver(this.span(start)), false);\n        }\n        else if (this.next.isNumber()) {\n            const value = this.next.toNumber();\n            this.advance();\n            return new LiteralPrimitive(this.span(start), value);\n        }\n        else if (this.next.isString()) {\n            const literalValue = this.next.toString();\n            this.advance();\n            return new LiteralPrimitive(this.span(start), literalValue);\n        }\n        else if (this.index >= this.tokens.length) {\n            this.error(`Unexpected end of expression: ${this.input}`);\n            return new EmptyExpr(this.span(start));\n        }\n        else {\n            this.error(`Unexpected token ${this.next}`);\n            return new EmptyExpr(this.span(start));\n        }\n    }\n    parseExpressionList(terminator) {\n        const result = [];\n        if (!this.next.isCharacter(terminator)) {\n            do {\n                result.push(this.parsePipe());\n            } while (this.optionalCharacter($COMMA));\n        }\n        return result;\n    }\n    parseLiteralMap() {\n        const keys = [];\n        const values = [];\n        const start = this.inputIndex;\n        this.expectCharacter($LBRACE);\n        if (!this.optionalCharacter($RBRACE)) {\n            this.rbracesExpected++;\n            do {\n                const quoted = this.next.isString();\n                const key = this.expectIdentifierOrKeywordOrString();\n                keys.push({ key, quoted });\n                this.expectCharacter($COLON);\n                values.push(this.parsePipe());\n            } while (this.optionalCharacter($COMMA));\n            this.rbracesExpected--;\n            this.expectCharacter($RBRACE);\n        }\n        return new LiteralMap(this.span(start), keys, values);\n    }\n    parseAccessMemberOrMethodCall(receiver, isSafe = false) {\n        const start = receiver.span.start;\n        const id = this.expectIdentifierOrKeyword();\n        if (this.optionalCharacter($LPAREN)) {\n            this.rparensExpected++;\n            const args = this.parseCallArguments();\n            this.expectCharacter($RPAREN);\n            this.rparensExpected--;\n            const span = this.span(start);\n            return isSafe ? new SafeMethodCall(span, receiver, id, args) :\n                new MethodCall(span, receiver, id, args);\n        }\n        else {\n            if (isSafe) {\n                if (this.optionalOperator('=')) {\n                    this.error('The \\'?.\\' operator cannot be used in the assignment');\n                    return new EmptyExpr(this.span(start));\n                }\n                else {\n                    return new SafePropertyRead(this.span(start), receiver, id);\n                }\n            }\n            else {\n                if (this.optionalOperator('=')) {\n                    if (!this.parseAction) {\n                        this.error('Bindings cannot contain assignments');\n                        return new EmptyExpr(this.span(start));\n                    }\n                    const value = this.parseConditional();\n                    return new PropertyWrite(this.span(start), receiver, id, value);\n                }\n                else {\n                    return new PropertyRead(this.span(start), receiver, id);\n                }\n            }\n        }\n    }\n    parseCallArguments() {\n        if (this.next.isCharacter($RPAREN))\n            return [];\n        const positionals = [];\n        do {\n            positionals.push(this.parsePipe());\n        } while (this.optionalCharacter($COMMA));\n        return positionals;\n    }\n    /**\n     * An identifier, a keyword, a string with an optional `-` in between.\n     */\n    expectTemplateBindingKey() {\n        let result = '';\n        let operatorFound = false;\n        do {\n            result += this.expectIdentifierOrKeywordOrString();\n            operatorFound = this.optionalOperator('-');\n            if (operatorFound) {\n                result += '-';\n            }\n        } while (operatorFound);\n        return result.toString();\n    }\n    // Parses the AST for `<some-tag *tplKey=AST>`\n    parseTemplateBindings(tplKey) {\n        let firstBinding = true;\n        const bindings = [];\n        const warnings = [];\n        do {\n            const start = this.inputIndex;\n            let rawKey;\n            let key;\n            let isVar = false;\n            if (firstBinding) {\n                rawKey = key = tplKey;\n                firstBinding = false;\n            }\n            else {\n                isVar = this.peekKeywordLet();\n                if (isVar)\n                    this.advance();\n                rawKey = this.expectTemplateBindingKey();\n                key = isVar ? rawKey : tplKey + rawKey[0].toUpperCase() + rawKey.substring(1);\n                this.optionalCharacter($COLON);\n            }\n            let name = null;\n            let expression = null;\n            if (isVar) {\n                if (this.optionalOperator('=')) {\n                    name = this.expectTemplateBindingKey();\n                }\n                else {\n                    name = '\\$implicit';\n                }\n            }\n            else if (this.peekKeywordAs()) {\n                this.advance(); // consume `as`\n                name = rawKey;\n                key = this.expectTemplateBindingKey(); // read local var name\n                isVar = true;\n            }\n            else if (this.next !== EOF && !this.peekKeywordLet()) {\n                const start = this.inputIndex;\n                const ast = this.parsePipe();\n                const source = this.input.substring(start - this.offset, this.inputIndex - this.offset);\n                expression =\n                    new ASTWithSource(ast, source, this.location, this.absoluteOffset, this.errors);\n            }\n            bindings.push(new TemplateBinding(this.span(start), key, isVar, name, expression));\n            if (this.peekKeywordAs() && !isVar) {\n                const letStart = this.inputIndex;\n                this.advance(); // consume `as`\n                const letName = this.expectTemplateBindingKey(); // read local var name\n                bindings.push(new TemplateBinding(this.span(letStart), letName, true, key, null));\n            }\n            if (!this.optionalCharacter($SEMICOLON)) {\n                this.optionalCharacter($COMMA);\n            }\n        } while (this.index < this.tokens.length);\n        return new TemplateBindingParseResult(bindings, warnings, this.errors);\n    }\n    error(message, index = null) {\n        this.errors.push(new ParserError(message, this.input, this.locationText(index), this.location));\n        this.skip();\n    }\n    locationText(index = null) {\n        if (index == null)\n            index = this.index;\n        return (index < this.tokens.length) ? `at column ${this.tokens[index].index + 1} in` :\n            `at the end of the expression`;\n    }\n    // Error recovery should skip tokens until it encounters a recovery point. skip() treats\n    // the end of input and a ';' as unconditionally a recovery point. It also treats ')',\n    // '}' and ']' as conditional recovery points if one of calling productions is expecting\n    // one of these symbols. This allows skip() to recover from errors such as '(a.) + 1' allowing\n    // more of the AST to be retained (it doesn't skip any tokens as the ')' is retained because\n    // of the '(' begins an '(' <expr> ')' production). The recovery points of grouping symbols\n    // must be conditional as they must be skipped if none of the calling productions are not\n    // expecting the closing token else we will never make progress in the case of an\n    // extraneous group closing symbol (such as a stray ')'). This is not the case for ';' because\n    // parseChain() is always the root production and it expects a ';'.\n    // If a production expects one of these token it increments the corresponding nesting count,\n    // and then decrements it just prior to checking if the token is in the input.\n    skip() {\n        let n = this.next;\n        while (this.index < this.tokens.length && !n.isCharacter($SEMICOLON) &&\n            (this.rparensExpected <= 0 || !n.isCharacter($RPAREN)) &&\n            (this.rbracesExpected <= 0 || !n.isCharacter($RBRACE)) &&\n            (this.rbracketsExpected <= 0 || !n.isCharacter($RBRACKET))) {\n            if (this.next.isError()) {\n                this.errors.push(new ParserError(this.next.toString(), this.input, this.locationText(), this.location));\n            }\n            this.advance();\n            n = this.next;\n        }\n    }\n}\nclass SimpleExpressionChecker {\n    constructor() {\n        this.errors = [];\n    }\n    static check(ast) {\n        const s = new SimpleExpressionChecker();\n        ast.visit(s);\n        return s.errors;\n    }\n    visitImplicitReceiver(ast, context) { }\n    visitInterpolation(ast, context) { }\n    visitLiteralPrimitive(ast, context) { }\n    visitPropertyRead(ast, context) { }\n    visitPropertyWrite(ast, context) { }\n    visitSafePropertyRead(ast, context) { }\n    visitMethodCall(ast, context) { }\n    visitSafeMethodCall(ast, context) { }\n    visitFunctionCall(ast, context) { }\n    visitLiteralArray(ast, context) { this.visitAll(ast.expressions); }\n    visitLiteralMap(ast, context) { this.visitAll(ast.values); }\n    visitBinary(ast, context) { }\n    visitPrefixNot(ast, context) { }\n    visitNonNullAssert(ast, context) { }\n    visitConditional(ast, context) { }\n    visitPipe(ast, context) { this.errors.push('pipes'); }\n    visitKeyedRead(ast, context) { }\n    visitKeyedWrite(ast, context) { }\n    visitAll(asts) { return asts.map(node => node.visit(this)); }\n    visitChain(ast, context) { }\n    visitQuote(ast, context) { }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n// =================================================================================================\n// =================================================================================================\n// =========== S T O P   -  S T O P   -  S T O P   -  S T O P   -  S T O P   -  S T O P  ===========\n// =================================================================================================\n// =================================================================================================\n//\n//        DO NOT EDIT THIS LIST OF SECURITY SENSITIVE PROPERTIES WITHOUT A SECURITY REVIEW!\n//                               Reach out to mprobst for details.\n//\n// =================================================================================================\n/** Map from tagName|propertyName SecurityContext. Properties applying to all tags use '*'. */\nlet _SECURITY_SCHEMA;\nfunction SECURITY_SCHEMA() {\n    if (!_SECURITY_SCHEMA) {\n        _SECURITY_SCHEMA = {};\n        // Case is insignificant below, all element and attribute names are lower-cased for lookup.\n        registerContext(SecurityContext.HTML, [\n            'iframe|srcdoc',\n            '*|innerHTML',\n            '*|outerHTML',\n        ]);\n        registerContext(SecurityContext.STYLE, ['*|style']);\n        // NB: no SCRIPT contexts here, they are never allowed due to the parser stripping them.\n        registerContext(SecurityContext.URL, [\n            '*|formAction', 'area|href', 'area|ping', 'audio|src', 'a|href',\n            'a|ping', 'blockquote|cite', 'body|background', 'del|cite', 'form|action',\n            'img|src', 'img|srcset', 'input|src', 'ins|cite', 'q|cite',\n            'source|src', 'source|srcset', 'track|src', 'video|poster', 'video|src',\n        ]);\n        registerContext(SecurityContext.RESOURCE_URL, [\n            'applet|code',\n            'applet|codebase',\n            'base|href',\n            'embed|src',\n            'frame|src',\n            'head|profile',\n            'html|manifest',\n            'iframe|src',\n            'link|href',\n            'media|src',\n            'object|codebase',\n            'object|data',\n            'script|src',\n        ]);\n    }\n    return _SECURITY_SCHEMA;\n}\nfunction registerContext(ctx, specs) {\n    for (const spec of specs)\n        _SECURITY_SCHEMA[spec.toLowerCase()] = ctx;\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nclass ElementSchemaRegistry {\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst BOOLEAN = 'boolean';\nconst NUMBER = 'number';\nconst STRING = 'string';\nconst OBJECT = 'object';\n/**\n * This array represents the DOM schema. It encodes inheritance, properties, and events.\n *\n * ## Overview\n *\n * Each line represents one kind of element. The `element_inheritance` and properties are joined\n * using `element_inheritance|properties` syntax.\n *\n * ## Element Inheritance\n *\n * The `element_inheritance` can be further subdivided as `element1,element2,...^parentElement`.\n * Here the individual elements are separated by `,` (commas). Every element in the list\n * has identical properties.\n *\n * An `element` may inherit additional properties from `parentElement` If no `^parentElement` is\n * specified then `\"\"` (blank) element is assumed.\n *\n * NOTE: The blank element inherits from root `[Element]` element, the super element of all\n * elements.\n *\n * NOTE an element prefix such as `:svg:` has no special meaning to the schema.\n *\n * ## Properties\n *\n * Each element has a set of properties separated by `,` (commas). Each property can be prefixed\n * by a special character designating its type:\n *\n * - (no prefix): property is a string.\n * - `*`: property represents an event.\n * - `!`: property is a boolean.\n * - `#`: property is a number.\n * - `%`: property is an object.\n *\n * ## Query\n *\n * The class creates an internal squas representation which allows to easily answer the query of\n * if a given property exist on a given element.\n *\n * NOTE: We don't yet support querying for types or events.\n * NOTE: This schema is auto extracted from `schema_extractor.ts` located in the test folder,\n *       see dom_element_schema_registry_spec.ts\n */\n// =================================================================================================\n// =================================================================================================\n// =========== S T O P   -  S T O P   -  S T O P   -  S T O P   -  S T O P   -  S T O P  ===========\n// =================================================================================================\n// =================================================================================================\n//\n//                       DO NOT EDIT THIS DOM SCHEMA WITHOUT A SECURITY REVIEW!\n//\n// Newly added properties must be security reviewed and assigned an appropriate SecurityContext in\n// dom_security_schema.ts. Reach out to mprobst & rjamet for details.\n//\n// =================================================================================================\nconst SCHEMA = [\n    '[Element]|textContent,%classList,className,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*copy,*cut,*paste,*search,*selectstart,*webkitfullscreenchange,*webkitfullscreenerror,*wheel,outerHTML,#scrollLeft,#scrollTop,slot' +\n        /* added manually to avoid breaking changes */\n        ',*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored',\n    '[HTMLElement]^[Element]|accessKey,contentEditable,dir,!draggable,!hidden,innerText,lang,*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,outerText,!spellcheck,%style,#tabIndex,title,!translate',\n    'abbr,address,article,aside,b,bdi,bdo,cite,code,dd,dfn,dt,em,figcaption,figure,footer,header,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,contentEditable,dir,!draggable,!hidden,innerText,lang,*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,outerText,!spellcheck,%style,#tabIndex,title,!translate',\n    'media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,src,%srcObject,#volume',\n    ':svg:^[HTMLElement]|*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,%style,#tabIndex',\n    ':svg:graphics^:svg:|',\n    ':svg:animation^:svg:|*begin,*end,*repeat',\n    ':svg:geometry^:svg:|',\n    ':svg:componentTransferFunction^:svg:|',\n    ':svg:gradient^:svg:|',\n    ':svg:textContent^:svg:graphics|',\n    ':svg:textPositioning^:svg:textContent|',\n    'a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,rev,search,shape,target,text,type,username',\n    'area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,search,shape,target,username',\n    'audio^media|',\n    'br^[HTMLElement]|clear',\n    'base^[HTMLElement]|href,target',\n    'body^[HTMLElement]|aLink,background,bgColor,link,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink',\n    'button^[HTMLElement]|!autofocus,!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value',\n    'canvas^[HTMLElement]|#height,#width',\n    'content^[HTMLElement]|select',\n    'dl^[HTMLElement]|!compact',\n    'datalist^[HTMLElement]|',\n    'details^[HTMLElement]|!open',\n    'dialog^[HTMLElement]|!open,returnValue',\n    'dir^[HTMLElement]|!compact',\n    'div^[HTMLElement]|align',\n    'embed^[HTMLElement]|align,height,name,src,type,width',\n    'fieldset^[HTMLElement]|!disabled,name',\n    'font^[HTMLElement]|color,face,size',\n    'form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target',\n    'frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src',\n    'frameset^[HTMLElement]|cols,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows',\n    'hr^[HTMLElement]|align,color,!noShade,size,width',\n    'head^[HTMLElement]|',\n    'h1,h2,h3,h4,h5,h6^[HTMLElement]|align',\n    'html^[HTMLElement]|version',\n    'iframe^[HTMLElement]|align,!allowFullscreen,frameBorder,height,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width',\n    'img^[HTMLElement]|align,alt,border,%crossOrigin,#height,#hspace,!isMap,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width',\n    'input^[HTMLElement]|accept,align,alt,autocapitalize,autocomplete,!autofocus,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width',\n    'li^[HTMLElement]|type,#value',\n    'label^[HTMLElement]|htmlFor',\n    'legend^[HTMLElement]|align',\n    'link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type',\n    'map^[HTMLElement]|name',\n    'marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width',\n    'menu^[HTMLElement]|!compact',\n    'meta^[HTMLElement]|content,httpEquiv,name,scheme',\n    'meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value',\n    'ins,del^[HTMLElement]|cite,dateTime',\n    'ol^[HTMLElement]|!compact,!reversed,#start,type',\n    'object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width',\n    'optgroup^[HTMLElement]|!disabled,label',\n    'option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value',\n    'output^[HTMLElement]|defaultValue,%htmlFor,name,value',\n    'p^[HTMLElement]|align',\n    'param^[HTMLElement]|name,type,value,valueType',\n    'picture^[HTMLElement]|',\n    'pre^[HTMLElement]|#width',\n    'progress^[HTMLElement]|#max,#value',\n    'q,blockquote,cite^[HTMLElement]|',\n    'script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,src,text,type',\n    'select^[HTMLElement]|!autofocus,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value',\n    'shadow^[HTMLElement]|',\n    'slot^[HTMLElement]|name',\n    'source^[HTMLElement]|media,sizes,src,srcset,type',\n    'span^[HTMLElement]|',\n    'style^[HTMLElement]|!disabled,media,type',\n    'caption^[HTMLElement]|align',\n    'th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width',\n    'col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width',\n    'table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width',\n    'tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign',\n    'tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign',\n    'template^[HTMLElement]|',\n    'textarea^[HTMLElement]|autocapitalize,!autofocus,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap',\n    'title^[HTMLElement]|text',\n    'track^[HTMLElement]|!default,kind,label,src,srclang',\n    'ul^[HTMLElement]|!compact,type',\n    'unknown^[HTMLElement]|',\n    'video^media|#height,poster,#width',\n    ':svg:a^:svg:graphics|',\n    ':svg:animate^:svg:animation|',\n    ':svg:animateMotion^:svg:animation|',\n    ':svg:animateTransform^:svg:animation|',\n    ':svg:circle^:svg:geometry|',\n    ':svg:clipPath^:svg:graphics|',\n    ':svg:defs^:svg:graphics|',\n    ':svg:desc^:svg:|',\n    ':svg:discard^:svg:|',\n    ':svg:ellipse^:svg:geometry|',\n    ':svg:feBlend^:svg:|',\n    ':svg:feColorMatrix^:svg:|',\n    ':svg:feComponentTransfer^:svg:|',\n    ':svg:feComposite^:svg:|',\n    ':svg:feConvolveMatrix^:svg:|',\n    ':svg:feDiffuseLighting^:svg:|',\n    ':svg:feDisplacementMap^:svg:|',\n    ':svg:feDistantLight^:svg:|',\n    ':svg:feDropShadow^:svg:|',\n    ':svg:feFlood^:svg:|',\n    ':svg:feFuncA^:svg:componentTransferFunction|',\n    ':svg:feFuncB^:svg:componentTransferFunction|',\n    ':svg:feFuncG^:svg:componentTransferFunction|',\n    ':svg:feFuncR^:svg:componentTransferFunction|',\n    ':svg:feGaussianBlur^:svg:|',\n    ':svg:feImage^:svg:|',\n    ':svg:feMerge^:svg:|',\n    ':svg:feMergeNode^:svg:|',\n    ':svg:feMorphology^:svg:|',\n    ':svg:feOffset^:svg:|',\n    ':svg:fePointLight^:svg:|',\n    ':svg:feSpecularLighting^:svg:|',\n    ':svg:feSpotLight^:svg:|',\n    ':svg:feTile^:svg:|',\n    ':svg:feTurbulence^:svg:|',\n    ':svg:filter^:svg:|',\n    ':svg:foreignObject^:svg:graphics|',\n    ':svg:g^:svg:graphics|',\n    ':svg:image^:svg:graphics|',\n    ':svg:line^:svg:geometry|',\n    ':svg:linearGradient^:svg:gradient|',\n    ':svg:mpath^:svg:|',\n    ':svg:marker^:svg:|',\n    ':svg:mask^:svg:|',\n    ':svg:metadata^:svg:|',\n    ':svg:path^:svg:geometry|',\n    ':svg:pattern^:svg:|',\n    ':svg:polygon^:svg:geometry|',\n    ':svg:polyline^:svg:geometry|',\n    ':svg:radialGradient^:svg:gradient|',\n    ':svg:rect^:svg:geometry|',\n    ':svg:svg^:svg:graphics|#currentScale,#zoomAndPan',\n    ':svg:script^:svg:|type',\n    ':svg:set^:svg:animation|',\n    ':svg:stop^:svg:|',\n    ':svg:style^:svg:|!disabled,media,title,type',\n    ':svg:switch^:svg:graphics|',\n    ':svg:symbol^:svg:|',\n    ':svg:tspan^:svg:textPositioning|',\n    ':svg:text^:svg:textPositioning|',\n    ':svg:textPath^:svg:textContent|',\n    ':svg:title^:svg:|',\n    ':svg:use^:svg:graphics|',\n    ':svg:view^:svg:|#zoomAndPan',\n    'data^[HTMLElement]|value',\n    'keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name',\n    'menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default',\n    'summary^[HTMLElement]|',\n    'time^[HTMLElement]|dateTime',\n    ':svg:cursor^:svg:|',\n];\nconst _ATTR_TO_PROP = {\n    'class': 'className',\n    'for': 'htmlFor',\n    'formaction': 'formAction',\n    'innerHtml': 'innerHTML',\n    'readonly': 'readOnly',\n    'tabindex': 'tabIndex',\n};\nclass DomElementSchemaRegistry extends ElementSchemaRegistry {\n    constructor() {\n        super();\n        this._schema = {};\n        SCHEMA.forEach(encodedType => {\n            const type = {};\n            const [strType, strProperties] = encodedType.split('|');\n            const properties = strProperties.split(',');\n            const [typeNames, superName] = strType.split('^');\n            typeNames.split(',').forEach(tag => this._schema[tag.toLowerCase()] = type);\n            const superType = superName && this._schema[superName.toLowerCase()];\n            if (superType) {\n                Object.keys(superType).forEach((prop) => { type[prop] = superType[prop]; });\n            }\n            properties.forEach((property) => {\n                if (property.length > 0) {\n                    switch (property[0]) {\n                        case '*':\n                            // We don't yet support events.\n                            // If ever allowing to bind to events, GO THROUGH A SECURITY REVIEW, allowing events\n                            // will\n                            // almost certainly introduce bad XSS vulnerabilities.\n                            // type[property.substring(1)] = EVENT;\n                            break;\n                        case '!':\n                            type[property.substring(1)] = BOOLEAN;\n                            break;\n                        case '#':\n                            type[property.substring(1)] = NUMBER;\n                            break;\n                        case '%':\n                            type[property.substring(1)] = OBJECT;\n                            break;\n                        default:\n                            type[property] = STRING;\n                    }\n                }\n            });\n        });\n    }\n    hasProperty(tagName, propName, schemaMetas) {\n        if (schemaMetas.some((schema) => schema.name === NO_ERRORS_SCHEMA.name)) {\n            return true;\n        }\n        if (tagName.indexOf('-') > -1) {\n            if (isNgContainer(tagName) || isNgContent(tagName)) {\n                return false;\n            }\n            if (schemaMetas.some((schema) => schema.name === CUSTOM_ELEMENTS_SCHEMA.name)) {\n                // Can't tell now as we don't know which properties a custom element will get\n                // once it is instantiated\n                return true;\n            }\n        }\n        const elementProperties = this._schema[tagName.toLowerCase()] || this._schema['unknown'];\n        return !!elementProperties[propName];\n    }\n    hasElement(tagName, schemaMetas) {\n        if (schemaMetas.some((schema) => schema.name === NO_ERRORS_SCHEMA.name)) {\n            return true;\n        }\n        if (tagName.indexOf('-') > -1) {\n            if (isNgContainer(tagName) || isNgContent(tagName)) {\n                return true;\n            }\n            if (schemaMetas.some((schema) => schema.name === CUSTOM_ELEMENTS_SCHEMA.name)) {\n                // Allow any custom elements\n                return true;\n            }\n        }\n        return !!this._schema[tagName.toLowerCase()];\n    }\n    /**\n     * securityContext returns the security context for the given property on the given DOM tag.\n     *\n     * Tag and property name are statically known and cannot change at runtime, i.e. it is not\n     * possible to bind a value into a changing attribute or tag name.\n     *\n     * The filtering is based on a list of allowed tags|attributes. All attributes in the schema\n     * above are assumed to have the 'NONE' security context, i.e. that they are safe inert\n     * string values. Only specific well known attack vectors are assigned their appropriate context.\n     */\n    securityContext(tagName, propName, isAttribute) {\n        if (isAttribute) {\n            // NB: For security purposes, use the mapped property name, not the attribute name.\n            propName = this.getMappedPropName(propName);\n        }\n        // Make sure comparisons are case insensitive, so that case differences between attribute and\n        // property names do not have a security impact.\n        tagName = tagName.toLowerCase();\n        propName = propName.toLowerCase();\n        let ctx = SECURITY_SCHEMA()[tagName + '|' + propName];\n        if (ctx) {\n            return ctx;\n        }\n        ctx = SECURITY_SCHEMA()['*|' + propName];\n        return ctx ? ctx : SecurityContext.NONE;\n    }\n    getMappedPropName(propName) { return _ATTR_TO_PROP[propName] || propName; }\n    getDefaultComponentElementName() { return 'ng-component'; }\n    validateProperty(name) {\n        if (name.toLowerCase().startsWith('on')) {\n            const msg = `Binding to event property '${name}' is disallowed for security reasons, ` +\n                `please use (${name.slice(2)})=...` +\n                `\\nIf '${name}' is a directive input, make sure the directive is imported by the` +\n                ` current module.`;\n            return { error: true, msg: msg };\n        }\n        else {\n            return { error: false };\n        }\n    }\n    validateAttribute(name) {\n        if (name.toLowerCase().startsWith('on')) {\n            const msg = `Binding to event attribute '${name}' is disallowed for security reasons, ` +\n                `please use (${name.slice(2)})=...`;\n            return { error: true, msg: msg };\n        }\n        else {\n            return { error: false };\n        }\n    }\n    allKnownElementNames() { return Object.keys(this._schema); }\n    normalizeAnimationStyleProperty(propName) {\n        return dashCaseToCamelCase(propName);\n    }\n    normalizeAnimationStyleValue(camelCaseProp, userProvidedProp, val) {\n        let unit = '';\n        const strVal = val.toString().trim();\n        let errorMsg = null;\n        if (_isPixelDimensionStyle(camelCaseProp) && val !== 0 && val !== '0') {\n            if (typeof val === 'number') {\n                unit = 'px';\n            }\n            else {\n                const valAndSuffixMatch = val.match(/^[+-]?[\\d\\.]+([a-z]*)$/);\n                if (valAndSuffixMatch && valAndSuffixMatch[1].length == 0) {\n                    errorMsg = `Please provide a CSS unit value for ${userProvidedProp}:${val}`;\n                }\n            }\n        }\n        return { error: errorMsg, value: strVal + unit };\n    }\n}\nfunction _isPixelDimensionStyle(prop) {\n    switch (prop) {\n        case 'width':\n        case 'height':\n        case 'minWidth':\n        case 'minHeight':\n        case 'maxWidth':\n        case 'maxHeight':\n        case 'left':\n        case 'top':\n        case 'bottom':\n        case 'right':\n        case 'fontSize':\n        case 'outlineWidth':\n        case 'outlineOffset':\n        case 'paddingTop':\n        case 'paddingLeft':\n        case 'paddingBottom':\n        case 'paddingRight':\n        case 'marginTop':\n        case 'marginLeft':\n        case 'marginBottom':\n        case 'marginRight':\n        case 'borderRadius':\n        case 'borderWidth':\n        case 'borderTopWidth':\n        case 'borderLeftWidth':\n        case 'borderRightWidth':\n        case 'borderBottomWidth':\n        case 'textIndent':\n            return true;\n        default:\n            return false;\n    }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst BIND_NAME_REGEXP$1 = /^(?:(?:(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.+))|\\[\\(([^\\)]+)\\)\\]|\\[([^\\]]+)\\]|\\(([^\\)]+)\\))$/;\n// Group 1 = \"bind-\"\nconst KW_BIND_IDX$1 = 1;\n// Group 2 = \"let-\"\nconst KW_LET_IDX$1 = 2;\n// Group 3 = \"ref-/#\"\nconst KW_REF_IDX$1 = 3;\n// Group 4 = \"on-\"\nconst KW_ON_IDX$1 = 4;\n// Group 5 = \"bindon-\"\nconst KW_BINDON_IDX$1 = 5;\n// Group 6 = \"@\"\nconst KW_AT_IDX$1 = 6;\n// Group 7 = the identifier after \"bind-\", \"let-\", \"ref-/#\", \"on-\", \"bindon-\" or \"@\"\nconst IDENT_KW_IDX$1 = 7;\n// Group 8 = identifier inside [()]\nconst IDENT_BANANA_BOX_IDX$1 = 8;\n// Group 9 = identifier inside []\nconst IDENT_PROPERTY_IDX$1 = 9;\n// Group 10 = identifier inside ()\nconst IDENT_EVENT_IDX$1 = 10;\nconst TEMPLATE_ATTR_PREFIX$1 = '*';\nfunction htmlAstToRender3Ast(htmlNodes, bindingParser) {\n    const transformer = new HtmlAstToIvyAst(bindingParser);\n    const ivyNodes = visitAll$1(transformer, htmlNodes);\n    // Errors might originate in either the binding parser or the html to ivy transformer\n    const allErrors = bindingParser.errors.concat(transformer.errors);\n    const errors = allErrors.filter(e => e.level === ParseErrorLevel.ERROR);\n    if (errors.length > 0) {\n        const errorString = errors.join('\\n');\n        throw syntaxError(`Template parse errors:\\n${errorString}`, errors);\n    }\n    return {\n        nodes: ivyNodes,\n        errors: allErrors,\n        styleUrls: transformer.styleUrls,\n        styles: transformer.styles,\n    };\n}\nclass HtmlAstToIvyAst {\n    constructor(bindingParser) {\n        this.bindingParser = bindingParser;\n        this.errors = [];\n        this.styles = [];\n        this.styleUrls = [];\n    }\n    // HTML visitor\n    visitElement(element) {\n        const preparsedElement = preparseElement(element);\n        if (preparsedElement.type === PreparsedElementType.SCRIPT) {\n            return null;\n        }\n        else if (preparsedElement.type === PreparsedElementType.STYLE) {\n            const contents = textContents(element);\n            if (contents !== null) {\n                this.styles.push(contents);\n            }\n            return null;\n        }\n        else if (preparsedElement.type === PreparsedElementType.STYLESHEET &&\n            isStyleUrlResolvable(preparsedElement.hrefAttr)) {\n            this.styleUrls.push(preparsedElement.hrefAttr);\n            return null;\n        }\n        // Whether the element is a `<ng-template>`\n        const isTemplateElement = isNgTemplate(element.name);\n        const parsedProperties = [];\n        const boundEvents = [];\n        const variables = [];\n        const references = [];\n        const attributes = [];\n        const i18nAttrsMeta = {};\n        const templateParsedProperties = [];\n        const templateVariables = [];\n        // Whether the element has any *-attribute\n        let elementHasInlineTemplate = false;\n        for (const attribute of element.attrs) {\n            let hasBinding = false;\n            const normalizedName = normalizeAttributeName(attribute.name);\n            // `*attr` defines template bindings\n            let isTemplateBinding = false;\n            if (attribute.i18n) {\n                i18nAttrsMeta[attribute.name] = attribute.i18n;\n            }\n            if (normalizedName.startsWith(TEMPLATE_ATTR_PREFIX$1)) {\n                // *-attributes\n                if (elementHasInlineTemplate) {\n                    this.reportError(`Can't have multiple template bindings on one element. Use only one attribute prefixed with *`, attribute.sourceSpan);\n                }\n                isTemplateBinding = true;\n                elementHasInlineTemplate = true;\n                const templateValue = attribute.value;\n                const templateKey = normalizedName.substring(TEMPLATE_ATTR_PREFIX$1.length);\n                const parsedVariables = [];\n                const absoluteOffset = attribute.valueSpan ? attribute.valueSpan.start.offset :\n                    attribute.sourceSpan.start.offset;\n                this.bindingParser.parseInlineTemplateBinding(templateKey, templateValue, attribute.sourceSpan, absoluteOffset, [], templateParsedProperties, parsedVariables);\n                templateVariables.push(...parsedVariables.map(v => new Variable(v.name, v.value, v.sourceSpan)));\n            }\n            else {\n                // Check for variables, events, property bindings, interpolation\n                hasBinding = this.parseAttribute(isTemplateElement, attribute, [], parsedProperties, boundEvents, variables, references);\n            }\n            if (!hasBinding && !isTemplateBinding) {\n                // don't include the bindings as attributes as well in the AST\n                attributes.push(this.visitAttribute(attribute));\n            }\n        }\n        const children = visitAll$1(preparsedElement.nonBindable ? NON_BINDABLE_VISITOR$1 : this, element.children);\n        let parsedElement;\n        if (preparsedElement.type === PreparsedElementType.NG_CONTENT) {\n            // `<ng-content>`\n            if (element.children &&\n                !element.children.every((node) => isEmptyTextNode(node) || isCommentNode(node))) {\n                this.reportError(`<ng-content> element cannot have content.`, element.sourceSpan);\n            }\n            const selector = preparsedElement.selectAttr;\n            const attrs = element.attrs.map(attr => this.visitAttribute(attr));\n            parsedElement = new Content(selector, attrs, element.sourceSpan, element.i18n);\n        }\n        else if (isTemplateElement) {\n            // `<ng-template>`\n            const attrs = this.extractAttributes(element.name, parsedProperties, i18nAttrsMeta);\n            parsedElement = new Template(element.name, attributes, attrs.bound, boundEvents, [ /* no template attributes */], children, references, variables, element.sourceSpan, element.startSourceSpan, element.endSourceSpan, element.i18n);\n        }\n        else {\n            const attrs = this.extractAttributes(element.name, parsedProperties, i18nAttrsMeta);\n            parsedElement = new Element(element.name, attributes, attrs.bound, boundEvents, children, references, element.sourceSpan, element.startSourceSpan, element.endSourceSpan, element.i18n);\n        }\n        if (elementHasInlineTemplate) {\n            // If this node is an inline-template (e.g. has *ngFor) then we need to create a template\n            // node that contains this node.\n            // Moreover, if the node is an element, then we need to hoist its attributes to the template\n            // node for matching against content projection selectors.\n            const attrs = this.extractAttributes('ng-template', templateParsedProperties, i18nAttrsMeta);\n            const templateAttrs = [];\n            attrs.literal.forEach(attr => templateAttrs.push(attr));\n            attrs.bound.forEach(attr => templateAttrs.push(attr));\n            const hoistedAttrs = parsedElement instanceof Element ?\n                {\n                    attributes: parsedElement.attributes,\n                    inputs: parsedElement.inputs,\n                    outputs: parsedElement.outputs,\n                } :\n                { attributes: [], inputs: [], outputs: [] };\n            // TODO(pk): test for this case\n            parsedElement = new Template(parsedElement.name, hoistedAttrs.attributes, hoistedAttrs.inputs, hoistedAttrs.outputs, templateAttrs, [parsedElement], [ /* no references */], templateVariables, element.sourceSpan, element.startSourceSpan, element.endSourceSpan, element.i18n);\n        }\n        return parsedElement;\n    }\n    visitAttribute(attribute) {\n        return new TextAttribute(attribute.name, attribute.value, attribute.sourceSpan, attribute.valueSpan, attribute.i18n);\n    }\n    visitText(text) {\n        return this._visitTextWithInterpolation(text.value, text.sourceSpan, text.i18n);\n    }\n    visitExpansion(expansion) {\n        const meta = expansion.i18n;\n        // do not generate Icu in case it was created\n        // outside of i18n block in a template\n        if (!meta) {\n            return null;\n        }\n        const vars = {};\n        const placeholders = {};\n        // extract VARs from ICUs - we process them separately while\n        // assembling resulting message via goog.getMsg function, since\n        // we need to pass them to top-level goog.getMsg call\n        Object.keys(meta.placeholders).forEach(key => {\n            const value = meta.placeholders[key];\n            if (key.startsWith(I18N_ICU_VAR_PREFIX)) {\n                const config = this.bindingParser.interpolationConfig;\n                // ICU expression is a plain string, not wrapped into start\n                // and end tags, so we wrap it before passing to binding parser\n                const wrapped = `${config.start}${value}${config.end}`;\n                vars[key] = this._visitTextWithInterpolation(wrapped, expansion.sourceSpan);\n            }\n            else {\n                placeholders[key] = this._visitTextWithInterpolation(value, expansion.sourceSpan);\n            }\n        });\n        return new Icu(vars, placeholders, expansion.sourceSpan, meta);\n    }\n    visitExpansionCase(expansionCase) { return null; }\n    visitComment(comment) { return null; }\n    // convert view engine `ParsedProperty` to a format suitable for IVY\n    extractAttributes(elementName, properties, i18nPropsMeta) {\n        const bound = [];\n        const literal = [];\n        properties.forEach(prop => {\n            const i18n = i18nPropsMeta[prop.name];\n            if (prop.isLiteral) {\n                literal.push(new TextAttribute(prop.name, prop.expression.source || '', prop.sourceSpan, undefined, i18n));\n            }\n            else {\n                // Note that validation is skipped and property mapping is disabled\n                // due to the fact that we need to make sure a given prop is not an\n                // input of a directive and directive matching happens at runtime.\n                const bep = this.bindingParser.createBoundElementProperty(elementName, prop, /* skipValidation */ true, /* mapPropertyName */ false);\n                bound.push(BoundAttribute.fromBoundElementProperty(bep, i18n));\n            }\n        });\n        return { bound, literal };\n    }\n    parseAttribute(isTemplateElement, attribute, matchableAttributes, parsedProperties, boundEvents, variables, references) {\n        const name = normalizeAttributeName(attribute.name);\n        const value = attribute.value;\n        const srcSpan = attribute.sourceSpan;\n        const absoluteOffset = attribute.valueSpan ? attribute.valueSpan.start.offset : srcSpan.start.offset;\n        const bindParts = name.match(BIND_NAME_REGEXP$1);\n        let hasBinding = false;\n        if (bindParts) {\n            hasBinding = true;\n            if (bindParts[KW_BIND_IDX$1] != null) {\n                this.bindingParser.parsePropertyBinding(bindParts[IDENT_KW_IDX$1], value, false, srcSpan, absoluteOffset, attribute.valueSpan, matchableAttributes, parsedProperties);\n            }\n            else if (bindParts[KW_LET_IDX$1]) {\n                if (isTemplateElement) {\n                    const identifier = bindParts[IDENT_KW_IDX$1];\n                    this.parseVariable(identifier, value, srcSpan, attribute.valueSpan, variables);\n                }\n                else {\n                    this.reportError(`\"let-\" is only supported on ng-template elements.`, srcSpan);\n                }\n            }\n            else if (bindParts[KW_REF_IDX$1]) {\n                const identifier = bindParts[IDENT_KW_IDX$1];\n                this.parseReference(identifier, value, srcSpan, attribute.valueSpan, references);\n            }\n            else if (bindParts[KW_ON_IDX$1]) {\n                const events = [];\n                this.bindingParser.parseEvent(bindParts[IDENT_KW_IDX$1], value, srcSpan, attribute.valueSpan || srcSpan, matchableAttributes, events);\n                addEvents(events, boundEvents);\n            }\n            else if (bindParts[KW_BINDON_IDX$1]) {\n                this.bindingParser.parsePropertyBinding(bindParts[IDENT_KW_IDX$1], value, false, srcSpan, absoluteOffset, attribute.valueSpan, matchableAttributes, parsedProperties);\n                this.parseAssignmentEvent(bindParts[IDENT_KW_IDX$1], value, srcSpan, attribute.valueSpan, matchableAttributes, boundEvents);\n            }\n            else if (bindParts[KW_AT_IDX$1]) {\n                this.bindingParser.parseLiteralAttr(name, value, srcSpan, absoluteOffset, attribute.valueSpan, matchableAttributes, parsedProperties);\n            }\n            else if (bindParts[IDENT_BANANA_BOX_IDX$1]) {\n                this.bindingParser.parsePropertyBinding(bindParts[IDENT_BANANA_BOX_IDX$1], value, false, srcSpan, absoluteOffset, attribute.valueSpan, matchableAttributes, parsedProperties);\n                this.parseAssignmentEvent(bindParts[IDENT_BANANA_BOX_IDX$1], value, srcSpan, attribute.valueSpan, matchableAttributes, boundEvents);\n            }\n            else if (bindParts[IDENT_PROPERTY_IDX$1]) {\n                this.bindingParser.parsePropertyBinding(bindParts[IDENT_PROPERTY_IDX$1], value, false, srcSpan, absoluteOffset, attribute.valueSpan, matchableAttributes, parsedProperties);\n            }\n            else if (bindParts[IDENT_EVENT_IDX$1]) {\n                const events = [];\n                this.bindingParser.parseEvent(bindParts[IDENT_EVENT_IDX$1], value, srcSpan, attribute.valueSpan || srcSpan, matchableAttributes, events);\n                addEvents(events, boundEvents);\n            }\n        }\n        else {\n            hasBinding = this.bindingParser.parsePropertyInterpolation(name, value, srcSpan, attribute.valueSpan, matchableAttributes, parsedProperties);\n        }\n        return hasBinding;\n    }\n    _visitTextWithInterpolation(value, sourceSpan, i18n) {\n        const valueNoNgsp = replaceNgsp(value);\n        const expr = this.bindingParser.parseInterpolation(valueNoNgsp, sourceSpan);\n        return expr ? new BoundText(expr, sourceSpan, i18n) : new Text(valueNoNgsp, sourceSpan);\n    }\n    parseVariable(identifier, value, sourceSpan, valueSpan, variables) {\n        if (identifier.indexOf('-') > -1) {\n            this.reportError(`\"-\" is not allowed in variable names`, sourceSpan);\n        }\n        variables.push(new Variable(identifier, value, sourceSpan, valueSpan));\n    }\n    parseReference(identifier, value, sourceSpan, valueSpan, references) {\n        if (identifier.indexOf('-') > -1) {\n            this.reportError(`\"-\" is not allowed in reference names`, sourceSpan);\n        }\n        references.push(new Reference(identifier, value, sourceSpan, valueSpan));\n    }\n    parseAssignmentEvent(name, expression, sourceSpan, valueSpan, targetMatchableAttrs, boundEvents) {\n        const events = [];\n        this.bindingParser.parseEvent(`${name}Change`, `${expression}=$event`, sourceSpan, valueSpan || sourceSpan, targetMatchableAttrs, events);\n        addEvents(events, boundEvents);\n    }\n    reportError(message, sourceSpan, level = ParseErrorLevel.ERROR) {\n        this.errors.push(new ParseError(sourceSpan, message, level));\n    }\n}\nclass NonBindableVisitor$1 {\n    visitElement(ast) {\n        const preparsedElement = preparseElement(ast);\n        if (preparsedElement.type === PreparsedElementType.SCRIPT ||\n            preparsedElement.type === PreparsedElementType.STYLE ||\n            preparsedElement.type === PreparsedElementType.STYLESHEET) {\n            // Skipping <script> for security reasons\n            // Skipping <style> and stylesheets as we already processed them\n            // in the StyleCompiler\n            return null;\n        }\n        const children = visitAll$1(this, ast.children, null);\n        return new Element(ast.name, visitAll$1(this, ast.attrs), \n        /* inputs */ [], /* outputs */ [], children, /* references */ [], ast.sourceSpan, ast.startSourceSpan, ast.endSourceSpan);\n    }\n    visitComment(comment) { return null; }\n    visitAttribute(attribute) {\n        return new TextAttribute(attribute.name, attribute.value, attribute.sourceSpan, undefined, attribute.i18n);\n    }\n    visitText(text) { return new Text(text.value, text.sourceSpan); }\n    visitExpansion(expansion) { return null; }\n    visitExpansionCase(expansionCase) { return null; }\n}\nconst NON_BINDABLE_VISITOR$1 = new NonBindableVisitor$1();\nfunction normalizeAttributeName(attrName) {\n    return /^data-/i.test(attrName) ? attrName.substring(5) : attrName;\n}\nfunction addEvents(events, boundEvents) {\n    boundEvents.push(...events.map(e => BoundEvent.fromParsedEvent(e)));\n}\nfunction isEmptyTextNode(node) {\n    return node instanceof Text$3 && node.value.trim().length == 0;\n}\nfunction isCommentNode(node) {\n    return node instanceof Comment;\n}\nfunction textContents(node) {\n    if (node.children.length !== 1 || !(node.children[0] instanceof Text$3)) {\n        return null;\n    }\n    else {\n        return node.children[0].value;\n    }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar TagType;\n(function (TagType) {\n    TagType[TagType[\"ELEMENT\"] = 0] = \"ELEMENT\";\n    TagType[TagType[\"TEMPLATE\"] = 1] = \"TEMPLATE\";\n    TagType[TagType[\"PROJECTION\"] = 2] = \"PROJECTION\";\n})(TagType || (TagType = {}));\n/**\n * Generates an object that is used as a shared state between parent and all child contexts.\n */\nfunction setupRegistry() {\n    return { getUniqueId: getSeqNumberGenerator(), icus: new Map() };\n}\n/**\n * I18nContext is a helper class which keeps track of all i18n-related aspects\n * (accumulates placeholders, bindings, etc) between i18nStart and i18nEnd instructions.\n *\n * When we enter a nested template, the top-level context is being passed down\n * to the nested component, which uses this context to generate a child instance\n * of I18nContext class (to handle nested template) and at the end, reconciles it back\n * with the parent context.\n *\n * @param index Instruction index of i18nStart, which initiates this context\n * @param ref Reference to a translation const that represents the content if thus context\n * @param level Nestng level defined for child contexts\n * @param templateIndex Instruction index of a template which this context belongs to\n * @param meta Meta information (id, meaning, description, etc) associated with this context\n */\nclass I18nContext {\n    constructor(index, ref, level = 0, templateIndex = null, meta, registry) {\n        this.index = index;\n        this.ref = ref;\n        this.level = level;\n        this.templateIndex = templateIndex;\n        this.meta = meta;\n        this.registry = registry;\n        this.bindings = new Set();\n        this.placeholders = new Map();\n        this.isEmitted = false;\n        this._unresolvedCtxCount = 0;\n        this._registry = registry || setupRegistry();\n        this.id = this._registry.getUniqueId();\n    }\n    appendTag(type, node, index, closed) {\n        if (node.isVoid && closed) {\n            return; // ignore \"close\" for void tags\n        }\n        const ph = node.isVoid || !closed ? node.startName : node.closeName;\n        const content = { type, index, ctx: this.id, isVoid: node.isVoid, closed };\n        updatePlaceholderMap(this.placeholders, ph, content);\n    }\n    get icus() { return this._registry.icus; }\n    get isRoot() { return this.level === 0; }\n    get isResolved() { return this._unresolvedCtxCount === 0; }\n    getSerializedPlaceholders() {\n        const result = new Map();\n        this.placeholders.forEach((values, key) => result.set(key, values.map(serializePlaceholderValue)));\n        return result;\n    }\n    // public API to accumulate i18n-related content\n    appendBinding(binding) { this.bindings.add(binding); }\n    appendIcu(name, ref) {\n        updatePlaceholderMap(this._registry.icus, name, ref);\n    }\n    appendBoundText(node) {\n        const phs = assembleBoundTextPlaceholders(node, this.bindings.size, this.id);\n        phs.forEach((values, key) => updatePlaceholderMap(this.placeholders, key, ...values));\n    }\n    appendTemplate(node, index) {\n        // add open and close tags at the same time,\n        // since we process nested templates separately\n        this.appendTag(TagType.TEMPLATE, node, index, false);\n        this.appendTag(TagType.TEMPLATE, node, index, true);\n        this._unresolvedCtxCount++;\n    }\n    appendElement(node, index, closed) {\n        this.appendTag(TagType.ELEMENT, node, index, closed);\n    }\n    appendProjection(node, index) {\n        // add open and close tags at the same time,\n        // since we process projected content separately\n        this.appendTag(TagType.PROJECTION, node, index, false);\n        this.appendTag(TagType.PROJECTION, node, index, true);\n    }\n    /**\n     * Generates an instance of a child context based on the root one,\n     * when we enter a nested template within I18n section.\n     *\n     * @param index Instruction index of corresponding i18nStart, which initiates this context\n     * @param templateIndex Instruction index of a template which this context belongs to\n     * @param meta Meta information (id, meaning, description, etc) associated with this context\n     *\n     * @returns I18nContext instance\n     */\n    forkChildContext(index, templateIndex, meta) {\n        return new I18nContext(index, this.ref, this.level + 1, templateIndex, meta, this._registry);\n    }\n    /**\n     * Reconciles child context into parent one once the end of the i18n block is reached (i18nEnd).\n     *\n     * @param context Child I18nContext instance to be reconciled with parent context.\n     */\n    reconcileChildContext(context) {\n        // set the right context id for open and close\n        // template tags, so we can use it as sub-block ids\n        ['start', 'close'].forEach((op) => {\n            const key = context.meta[`${op}Name`];\n            const phs = this.placeholders.get(key) || [];\n            const tag = phs.find(findTemplateFn(this.id, context.templateIndex));\n            if (tag) {\n                tag.ctx = context.id;\n            }\n        });\n        // reconcile placeholders\n        const childPhs = context.placeholders;\n        childPhs.forEach((values, key) => {\n            const phs = this.placeholders.get(key);\n            if (!phs) {\n                this.placeholders.set(key, values);\n                return;\n            }\n            // try to find matching template...\n            const tmplIdx = findIndex(phs, findTemplateFn(context.id, context.templateIndex));\n            if (tmplIdx >= 0) {\n                // ... if found - replace it with nested template content\n                const isCloseTag = key.startsWith('CLOSE');\n                const isTemplateTag = key.endsWith('NG-TEMPLATE');\n                if (isTemplateTag) {\n                    // current template's content is placed before or after\n                    // parent template tag, depending on the open/close atrribute\n                    phs.splice(tmplIdx + (isCloseTag ? 0 : 1), 0, ...values);\n                }\n                else {\n                    const idx = isCloseTag ? values.length - 1 : 0;\n                    values[idx].tmpl = phs[tmplIdx];\n                    phs.splice(tmplIdx, 1, ...values);\n                }\n            }\n            else {\n                // ... otherwise just append content to placeholder value\n                phs.push(...values);\n            }\n            this.placeholders.set(key, phs);\n        });\n        this._unresolvedCtxCount--;\n    }\n}\n//\n// Helper methods\n//\nfunction wrap(symbol, index, contextId, closed) {\n    const state = closed ? '/' : '';\n    return wrapI18nPlaceholder(`${state}${symbol}${index}`, contextId);\n}\nfunction wrapTag(symbol, { index, ctx, isVoid }, closed) {\n    return isVoid ? wrap(symbol, index, ctx) + wrap(symbol, index, ctx, true) :\n        wrap(symbol, index, ctx, closed);\n}\nfunction findTemplateFn(ctx, templateIndex) {\n    return (token) => typeof token === 'object' && token.type === TagType.TEMPLATE &&\n        token.index === templateIndex && token.ctx === ctx;\n}\nfunction serializePlaceholderValue(value) {\n    const element = (data, closed) => wrapTag('#', data, closed);\n    const template = (data, closed) => wrapTag('*', data, closed);\n    const projection = (data, closed) => wrapTag('!', data, closed);\n    switch (value.type) {\n        case TagType.ELEMENT:\n            // close element tag\n            if (value.closed) {\n                return element(value, true) + (value.tmpl ? template(value.tmpl, true) : '');\n            }\n            // open element tag that also initiates a template\n            if (value.tmpl) {\n                return template(value.tmpl) + element(value) +\n                    (value.isVoid ? template(value.tmpl, true) : '');\n            }\n            return element(value);\n        case TagType.TEMPLATE:\n            return template(value, value.closed);\n        case TagType.PROJECTION:\n            return projection(value, value.closed);\n        default:\n            return value;\n    }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst TAG_TO_PLACEHOLDER_NAMES = {\n    'A': 'LINK',\n    'B': 'BOLD_TEXT',\n    'BR': 'LINE_BREAK',\n    'EM': 'EMPHASISED_TEXT',\n    'H1': 'HEADING_LEVEL1',\n    'H2': 'HEADING_LEVEL2',\n    'H3': 'HEADING_LEVEL3',\n    'H4': 'HEADING_LEVEL4',\n    'H5': 'HEADING_LEVEL5',\n    'H6': 'HEADING_LEVEL6',\n    'HR': 'HORIZONTAL_RULE',\n    'I': 'ITALIC_TEXT',\n    'LI': 'LIST_ITEM',\n    'LINK': 'MEDIA_LINK',\n    'OL': 'ORDERED_LIST',\n    'P': 'PARAGRAPH',\n    'Q': 'QUOTATION',\n    'S': 'STRIKETHROUGH_TEXT',\n    'SMALL': 'SMALL_TEXT',\n    'SUB': 'SUBSTRIPT',\n    'SUP': 'SUPERSCRIPT',\n    'TBODY': 'TABLE_BODY',\n    'TD': 'TABLE_CELL',\n    'TFOOT': 'TABLE_FOOTER',\n    'TH': 'TABLE_HEADER_CELL',\n    'THEAD': 'TABLE_HEADER',\n    'TR': 'TABLE_ROW',\n    'TT': 'MONOSPACED_TEXT',\n    'U': 'UNDERLINED_TEXT',\n    'UL': 'UNORDERED_LIST',\n};\n/**\n * Creates unique names for placeholder with different content.\n *\n * Returns the same placeholder name when the content is identical.\n */\nclass PlaceholderRegistry {\n    constructor() {\n        // Count the occurrence of the base name top generate a unique name\n        this._placeHolderNameCounts = {};\n        // Maps signature to placeholder names\n        this._signatureToName = {};\n    }\n    getStartTagPlaceholderName(tag, attrs, isVoid) {\n        const signature = this._hashTag(tag, attrs, isVoid);\n        if (this._signatureToName[signature]) {\n            return this._signatureToName[signature];\n        }\n        const upperTag = tag.toUpperCase();\n        const baseName = TAG_TO_PLACEHOLDER_NAMES[upperTag] || `TAG_${upperTag}`;\n        const name = this._generateUniqueName(isVoid ? baseName : `START_${baseName}`);\n        this._signatureToName[signature] = name;\n        return name;\n    }\n    getCloseTagPlaceholderName(tag) {\n        const signature = this._hashClosingTag(tag);\n        if (this._signatureToName[signature]) {\n            return this._signatureToName[signature];\n        }\n        const upperTag = tag.toUpperCase();\n        const baseName = TAG_TO_PLACEHOLDER_NAMES[upperTag] || `TAG_${upperTag}`;\n        const name = this._generateUniqueName(`CLOSE_${baseName}`);\n        this._signatureToName[signature] = name;\n        return name;\n    }\n    getPlaceholderName(name, content) {\n        const upperName = name.toUpperCase();\n        const signature = `PH: ${upperName}=${content}`;\n        if (this._signatureToName[signature]) {\n            return this._signatureToName[signature];\n        }\n        const uniqueName = this._generateUniqueName(upperName);\n        this._signatureToName[signature] = uniqueName;\n        return uniqueName;\n    }\n    getUniquePlaceholder(name) {\n        return this._generateUniqueName(name.toUpperCase());\n    }\n    // Generate a hash for a tag - does not take attribute order into account\n    _hashTag(tag, attrs, isVoid) {\n        const start = `<${tag}`;\n        const strAttrs = Object.keys(attrs).sort().map((name) => ` ${name}=${attrs[name]}`).join('');\n        const end = isVoid ? '/>' : `></${tag}>`;\n        return start + strAttrs + end;\n    }\n    _hashClosingTag(tag) { return this._hashTag(`/${tag}`, {}, false); }\n    _generateUniqueName(base) {\n        const seen = this._placeHolderNameCounts.hasOwnProperty(base);\n        if (!seen) {\n            this._placeHolderNameCounts[base] = 1;\n            return base;\n        }\n        const id = this._placeHolderNameCounts[base];\n        this._placeHolderNameCounts[base] = id + 1;\n        return `${base}_${id}`;\n    }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst _expParser = new Parser$1(new Lexer());\n/**\n * Returns a function converting html nodes to an i18n Message given an interpolationConfig\n */\nfunction createI18nMessageFactory(interpolationConfig) {\n    const visitor = new _I18nVisitor(_expParser, interpolationConfig);\n    return (nodes, meaning, description, id, visitNodeFn) => visitor.toI18nMessage(nodes, meaning, description, id, visitNodeFn);\n}\nclass _I18nVisitor {\n    constructor(_expressionParser, _interpolationConfig) {\n        this._expressionParser = _expressionParser;\n        this._interpolationConfig = _interpolationConfig;\n    }\n    toI18nMessage(nodes, meaning, description, id, visitNodeFn) {\n        this._isIcu = nodes.length == 1 && nodes[0] instanceof Expansion;\n        this._icuDepth = 0;\n        this._placeholderRegistry = new PlaceholderRegistry();\n        this._placeholderToContent = {};\n        this._placeholderToMessage = {};\n        this._visitNodeFn = visitNodeFn;\n        const i18nodes = visitAll$1(this, nodes, {});\n        return new Message(i18nodes, this._placeholderToContent, this._placeholderToMessage, meaning, description, id);\n    }\n    _visitNode(html, i18n) {\n        if (this._visitNodeFn) {\n            this._visitNodeFn(html, i18n);\n        }\n        return i18n;\n    }\n    visitElement(el, context) {\n        const children = visitAll$1(this, el.children);\n        const attrs = {};\n        el.attrs.forEach(attr => {\n            // Do not visit the attributes, translatable ones are top-level ASTs\n            attrs[attr.name] = attr.value;\n        });\n        const isVoid = getHtmlTagDefinition(el.name).isVoid;\n        const startPhName = this._placeholderRegistry.getStartTagPlaceholderName(el.name, attrs, isVoid);\n        this._placeholderToContent[startPhName] = el.sourceSpan.toString();\n        let closePhName = '';\n        if (!isVoid) {\n            closePhName = this._placeholderRegistry.getCloseTagPlaceholderName(el.name);\n            this._placeholderToContent[closePhName] = `</${el.name}>`;\n        }\n        const node = new TagPlaceholder(el.name, attrs, startPhName, closePhName, children, isVoid, el.sourceSpan);\n        return this._visitNode(el, node);\n    }\n    visitAttribute(attribute, context) {\n        const node = this._visitTextWithInterpolation(attribute.value, attribute.sourceSpan);\n        return this._visitNode(attribute, node);\n    }\n    visitText(text, context) {\n        const node = this._visitTextWithInterpolation(text.value, text.sourceSpan);\n        return this._visitNode(text, node);\n    }\n    visitComment(comment, context) { return null; }\n    visitExpansion(icu, context) {\n        this._icuDepth++;\n        const i18nIcuCases = {};\n        const i18nIcu = new Icu$1(icu.switchValue, icu.type, i18nIcuCases, icu.sourceSpan);\n        icu.cases.forEach((caze) => {\n            i18nIcuCases[caze.value] = new Container(caze.expression.map((node) => node.visit(this, {})), caze.expSourceSpan);\n        });\n        this._icuDepth--;\n        if (this._isIcu || this._icuDepth > 0) {\n            // Returns an ICU node when:\n            // - the message (vs a part of the message) is an ICU message, or\n            // - the ICU message is nested.\n            const expPh = this._placeholderRegistry.getUniquePlaceholder(`VAR_${icu.type}`);\n            i18nIcu.expressionPlaceholder = expPh;\n            this._placeholderToContent[expPh] = icu.switchValue;\n            return this._visitNode(icu, i18nIcu);\n        }\n        // Else returns a placeholder\n        // ICU placeholders should not be replaced with their original content but with the their\n        // translations. We need to create a new visitor (they are not re-entrant) to compute the\n        // message id.\n        // TODO(vicb): add a html.Node -> i18n.Message cache to avoid having to re-create the msg\n        const phName = this._placeholderRegistry.getPlaceholderName('ICU', icu.sourceSpan.toString());\n        const visitor = new _I18nVisitor(this._expressionParser, this._interpolationConfig);\n        this._placeholderToMessage[phName] = visitor.toI18nMessage([icu], '', '', '');\n        const node = new IcuPlaceholder(i18nIcu, phName, icu.sourceSpan);\n        return this._visitNode(icu, node);\n    }\n    visitExpansionCase(icuCase, context) {\n        throw new Error('Unreachable code');\n    }\n    _visitTextWithInterpolation(text, sourceSpan) {\n        const splitInterpolation = this._expressionParser.splitInterpolation(text, sourceSpan.start.toString(), this._interpolationConfig);\n        if (!splitInterpolation) {\n            // No expression, return a single text\n            return new Text$1(text, sourceSpan);\n        }\n        // Return a group of text + expressions\n        const nodes = [];\n        const container = new Container(nodes, sourceSpan);\n        const { start: sDelimiter, end: eDelimiter } = this._interpolationConfig;\n        for (let i = 0; i < splitInterpolation.strings.length - 1; i++) {\n            const expression = splitInterpolation.expressions[i];\n            const baseName = _extractPlaceholderName(expression) || 'INTERPOLATION';\n            const phName = this._placeholderRegistry.getPlaceholderName(baseName, expression);\n            if (splitInterpolation.strings[i].length) {\n                // No need to add empty strings\n                nodes.push(new Text$1(splitInterpolation.strings[i], sourceSpan));\n            }\n            nodes.push(new Placeholder(expression, phName, sourceSpan));\n            this._placeholderToContent[phName] = sDelimiter + expression + eDelimiter;\n        }\n        // The last index contains no expression\n        const lastStringIdx = splitInterpolation.strings.length - 1;\n        if (splitInterpolation.strings[lastStringIdx].length) {\n            nodes.push(new Text$1(splitInterpolation.strings[lastStringIdx], sourceSpan));\n        }\n        return container;\n    }\n}\nconst _CUSTOM_PH_EXP = /\\/\\/[\\s\\S]*i18n[\\s\\S]*\\([\\s\\S]*ph[\\s\\S]*=[\\s\\S]*(\"|')([\\s\\S]*?)\\1[\\s\\S]*\\)/g;\nfunction _extractPlaceholderName(input) {\n    return input.split(_CUSTOM_PH_EXP)[2];\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction setI18nRefs(html, i18n) {\n    html.i18n = i18n;\n}\n/**\n * This visitor walks over HTML parse tree and converts information stored in\n * i18n-related attributes (\"i18n\" and \"i18n-*\") into i18n meta object that is\n * stored with other element's and attribute's information.\n */\nclass I18nMetaVisitor {\n    constructor(interpolationConfig = DEFAULT_INTERPOLATION_CONFIG, keepI18nAttrs = false) {\n        this.interpolationConfig = interpolationConfig;\n        this.keepI18nAttrs = keepI18nAttrs;\n        // i18n message generation factory\n        this._createI18nMessage = createI18nMessageFactory(interpolationConfig);\n    }\n    _generateI18nMessage(nodes, meta = '', visitNodeFn) {\n        const parsed = typeof meta === 'string' ? parseI18nMeta(meta) : metaFromI18nMessage(meta);\n        const message = this._createI18nMessage(nodes, parsed.meaning || '', parsed.description || '', parsed.id || '', visitNodeFn);\n        if (!message.id) {\n            // generate (or restore) message id if not specified in template\n            message.id = typeof meta !== 'string' && meta.id || decimalDigest(message);\n        }\n        return message;\n    }\n    visitElement(element, context) {\n        if (hasI18nAttrs(element)) {\n            const attrs = [];\n            const attrsMeta = {};\n            for (const attr of element.attrs) {\n                if (attr.name === I18N_ATTR) {\n                    // root 'i18n' node attribute\n                    const i18n = element.i18n || attr.value;\n                    const message = this._generateI18nMessage(element.children, i18n, setI18nRefs);\n                    // do not assign empty i18n meta\n                    if (message.nodes.length) {\n                        element.i18n = message;\n                    }\n                }\n                else if (attr.name.startsWith(I18N_ATTR_PREFIX)) {\n                    // 'i18n-*' attributes\n                    const key = attr.name.slice(I18N_ATTR_PREFIX.length);\n                    attrsMeta[key] = attr.value;\n                }\n                else {\n                    // non-i18n attributes\n                    attrs.push(attr);\n                }\n            }\n            // set i18n meta for attributes\n            if (Object.keys(attrsMeta).length) {\n                for (const attr of attrs) {\n                    const meta = attrsMeta[attr.name];\n                    // do not create translation for empty attributes\n                    if (meta !== undefined && attr.value) {\n                        attr.i18n = this._generateI18nMessage([attr], attr.i18n || meta);\n                    }\n                }\n            }\n            if (!this.keepI18nAttrs) {\n                // update element's attributes,\n                // keeping only non-i18n related ones\n                element.attrs = attrs;\n            }\n        }\n        visitAll$1(this, element.children);\n        return element;\n    }\n    visitExpansion(expansion, context) {\n        let message;\n        const meta = expansion.i18n;\n        if (meta instanceof IcuPlaceholder) {\n            // set ICU placeholder name (e.g. \"ICU_1\"),\n            // generated while processing root element contents,\n            // so we can reference it when we output translation\n            const name = meta.name;\n            message = this._generateI18nMessage([expansion], meta);\n            const icu = icuFromI18nMessage(message);\n            icu.name = name;\n        }\n        else {\n            // when ICU is a root level translation\n            message = this._generateI18nMessage([expansion], meta);\n        }\n        expansion.i18n = message;\n        return expansion;\n    }\n    visitText(text, context) { return text; }\n    visitAttribute(attribute, context) { return attribute; }\n    visitComment(comment, context) { return comment; }\n    visitExpansionCase(expansionCase, context) { return expansionCase; }\n}\nfunction processI18nMeta(htmlAstWithErrors, interpolationConfig = DEFAULT_INTERPOLATION_CONFIG) {\n    return new ParseTreeResult(visitAll$1(new I18nMetaVisitor(interpolationConfig, /* keepI18nAttrs */ false), htmlAstWithErrors.rootNodes), htmlAstWithErrors.errors);\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * This visitor walks over i18n tree and generates its string representation, including ICUs and\n * placeholders in `{$placeholder}` (for plain messages) or `{PLACEHOLDER}` (inside ICUs) format.\n */\nclass SerializerVisitor {\n    constructor() {\n        /**\n         * Keeps track of ICU nesting level, allowing to detect that we are processing elements of an ICU.\n         *\n         * This is needed due to the fact that placeholders in ICUs and in other messages are represented\n         * differently in Closure:\n         * - {$placeholder} in non-ICU case\n         * - {PLACEHOLDER} inside ICU\n         */\n        this.icuNestingLevel = 0;\n    }\n    formatPh(value) {\n        const isInsideIcu = this.icuNestingLevel > 0;\n        const formatted = formatI18nPlaceholderName(value, /* useCamelCase */ !isInsideIcu);\n        return isInsideIcu ? `{${formatted}}` : `{$${formatted}}`;\n    }\n    visitText(text, context) { return text.value; }\n    visitContainer(container, context) {\n        return container.children.map(child => child.visit(this)).join('');\n    }\n    visitIcu(icu, context) {\n        this.icuNestingLevel++;\n        const strCases = Object.keys(icu.cases).map((k) => `${k} {${icu.cases[k].visit(this)}}`);\n        const result = `{${icu.expressionPlaceholder}, ${icu.type}, ${strCases.join(' ')}}`;\n        this.icuNestingLevel--;\n        return result;\n    }\n    visitTagPlaceholder(ph, context) {\n        return ph.isVoid ?\n            this.formatPh(ph.startName) :\n            `${this.formatPh(ph.startName)}${ph.children.map(child => child.visit(this)).join('')}${this.formatPh(ph.closeName)}`;\n    }\n    visitPlaceholder(ph, context) { return this.formatPh(ph.name); }\n    visitIcuPlaceholder(ph, context) {\n        return this.formatPh(ph.name);\n    }\n}\nconst serializerVisitor$1 = new SerializerVisitor();\nfunction getSerializedI18nContent(message) {\n    return message.nodes.map(node => node.visit(serializerVisitor$1, null)).join('');\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n// Selector attribute name of `<ng-content>`\nconst NG_CONTENT_SELECT_ATTR$1 = 'select';\n// Attribute name of `ngProjectAs`.\nconst NG_PROJECT_AS_ATTR_NAME = 'ngProjectAs';\n// List of supported global targets for event listeners\nconst GLOBAL_TARGET_RESOLVERS = new Map([['window', Identifiers$1.resolveWindow], ['document', Identifiers$1.resolveDocument], ['body', Identifiers$1.resolveBody]]);\nconst LEADING_TRIVIA_CHARS = [' ', '\\n', '\\r', '\\t'];\n//  if (rf & flags) { .. }\nfunction renderFlagCheckIfStmt(flags, statements) {\n    return ifStmt(variable(RENDER_FLAGS).bitwiseAnd(literal(flags), null, false), statements);\n}\nfunction prepareEventListenerParameters(eventAst, handlerName = null, scope = null) {\n    const { type, name, target, phase, handler } = eventAst;\n    if (target && !GLOBAL_TARGET_RESOLVERS.has(target)) {\n        throw new Error(`Unexpected global target '${target}' defined for '${name}' event.\n        Supported list of global targets: ${Array.from(GLOBAL_TARGET_RESOLVERS.keys())}.`);\n    }\n    const implicitReceiverExpr = (scope === null || scope.bindingLevel === 0) ?\n        variable(CONTEXT_NAME) :\n        scope.getOrCreateSharedContextVar(0);\n    const bindingExpr = convertActionBinding(scope, implicitReceiverExpr, handler, 'b', () => error('Unexpected interpolation'), eventAst.handlerSpan);\n    const statements = [];\n    if (scope) {\n        statements.push(...scope.restoreViewStatement());\n        statements.push(...scope.variableDeclarations());\n    }\n    statements.push(...bindingExpr.render3Stmts);\n    const eventName = type === 1 /* Animation */ ? prepareSyntheticListenerName(name, phase) : name;\n    const fnName = handlerName && sanitizeIdentifier(handlerName);\n    const fnArgs = [new FnParam('$event', DYNAMIC_TYPE)];\n    const handlerFn = fn(fnArgs, statements, INFERRED_TYPE, null, fnName);\n    const params = [literal(eventName), handlerFn];\n    if (target) {\n        params.push(literal(false), // `useCapture` flag, defaults to `false`\n        importExpr(GLOBAL_TARGET_RESOLVERS.get(target)));\n    }\n    return params;\n}\nclass TemplateDefinitionBuilder {\n    constructor(constantPool, parentBindingScope, level = 0, contextName, i18nContext, templateIndex, templateName, directiveMatcher, directives, pipeTypeByName, pipes, _namespace, relativeContextFilePath, i18nUseExternalIds) {\n        this.constantPool = constantPool;\n        this.level = level;\n        this.contextName = contextName;\n        this.i18nContext = i18nContext;\n        this.templateIndex = templateIndex;\n        this.templateName = templateName;\n        this.directiveMatcher = directiveMatcher;\n        this.directives = directives;\n        this.pipeTypeByName = pipeTypeByName;\n        this.pipes = pipes;\n        this._namespace = _namespace;\n        this.relativeContextFilePath = relativeContextFilePath;\n        this.i18nUseExternalIds = i18nUseExternalIds;\n        this._dataIndex = 0;\n        this._bindingContext = 0;\n        this._prefixCode = [];\n        /**\n         * List of callbacks to generate creation mode instructions. We store them here as we process\n         * the template so bindings in listeners are resolved only once all nodes have been visited.\n         * This ensures all local refs and context variables are available for matching.\n         */\n        this._creationCodeFns = [];\n        /**\n         * List of callbacks to generate update mode instructions. We store them here as we process\n         * the template so bindings are resolved only once all nodes have been visited. This ensures\n         * all local refs and context variables are available for matching.\n         */\n        this._updateCodeFns = [];\n        /**\n         * Memorizes the last node index for which a select instruction has been generated.\n         * We're initializing this to -1 to ensure the `select(0)` instruction is generated before any\n         * relevant update instructions.\n         */\n        this._lastNodeIndexWithFlush = -1;\n        /** Temporary variable declarations generated from visiting pipes, literals, etc. */\n        this._tempVariables = [];\n        /**\n         * List of callbacks to build nested templates. Nested templates must not be visited until\n         * after the parent template has finished visiting all of its nodes. This ensures that all\n         * local ref bindings in nested templates are able to find local ref values if the refs\n         * are defined after the template declaration.\n         */\n        this._nestedTemplateFns = [];\n        this._unsupported = unsupported;\n        // i18n context local to this template\n        this.i18n = null;\n        // Number of slots to reserve for pureFunctions\n        this._pureFunctionSlots = 0;\n        // Number of binding slots\n        this._bindingSlots = 0;\n        // Projection slots found in the template. Projection slots can distribute projected\n        // nodes based on a selector, or can just use the wildcard selector to match\n        // all nodes which aren't matching any selector.\n        this._ngContentReservedSlots = [];\n        // Number of non-default selectors found in all parent templates of this template. We need to\n        // track it to properly adjust projection slot index in the `projection` instruction.\n        this._ngContentSelectorsOffset = 0;\n        // Expression that should be used as implicit receiver when converting template\n        // expressions to output AST.\n        this._implicitReceiverExpr = null;\n        // These should be handled in the template or element directly.\n        this.visitReference = invalid$1;\n        this.visitVariable = invalid$1;\n        this.visitTextAttribute = invalid$1;\n        this.visitBoundAttribute = invalid$1;\n        this.visitBoundEvent = invalid$1;\n        this._bindingScope = parentBindingScope.nestedScope(level);\n        // Turn the relative context file path into an identifier by replacing non-alphanumeric\n        // characters with underscores.\n        this.fileBasedI18nSuffix = relativeContextFilePath.replace(/[^A-Za-z0-9]/g, '_') + '_';\n        this._valueConverter = new ValueConverter(constantPool, () => this.allocateDataSlot(), (numSlots) => this.allocatePureFunctionSlots(numSlots), (name, localName, slot, value) => {\n            const pipeType = pipeTypeByName.get(name);\n            if (pipeType) {\n                this.pipes.add(pipeType);\n            }\n            this._bindingScope.set(this.level, localName, value);\n            this.creationInstruction(null, Identifiers$1.pipe, [literal(slot), literal(name)]);\n        });\n    }\n    registerContextVariables(variable$1) {\n        const scopedName = this._bindingScope.freshReferenceName();\n        const retrievalLevel = this.level;\n        const lhs = variable(variable$1.name + scopedName);\n        this._bindingScope.set(retrievalLevel, variable$1.name, lhs, 1 /* CONTEXT */, (scope, relativeLevel) => {\n            let rhs;\n            if (scope.bindingLevel === retrievalLevel) {\n                // e.g. ctx\n                rhs = variable(CONTEXT_NAME);\n            }\n            else {\n                const sharedCtxVar = scope.getSharedContextName(retrievalLevel);\n                // e.g. ctx_r0   OR  x(2);\n                rhs = sharedCtxVar ? sharedCtxVar : generateNextContextExpr(relativeLevel);\n            }\n            // e.g. const $item$ = x(2).$implicit;\n            return [lhs.set(rhs.prop(variable$1.value || IMPLICIT_REFERENCE)).toConstDecl()];\n        });\n    }\n    buildTemplateFunction(nodes, variables, ngContentSelectorsOffset = 0, i18n) {\n        this._ngContentSelectorsOffset = ngContentSelectorsOffset;\n        if (this._namespace !== Identifiers$1.namespaceHTML) {\n            this.creationInstruction(null, this._namespace);\n        }\n        // Create variable bindings\n        variables.forEach(v => this.registerContextVariables(v));\n        // Initiate i18n context in case:\n        // - this template has parent i18n context\n        // - or the template has i18n meta associated with it,\n        //   but it's not initiated by the Element (e.g. <ng-template i18n>)\n        const initI18nContext = this.i18nContext || (isI18nRootNode(i18n) && !isSingleI18nIcu(i18n) &&\n            !(isSingleElementTemplate(nodes) && nodes[0].i18n === i18n));\n        const selfClosingI18nInstruction = hasTextChildrenOnly(nodes);\n        if (initI18nContext) {\n            this.i18nStart(null, i18n, selfClosingI18nInstruction);\n        }\n        // This is the initial pass through the nodes of this template. In this pass, we\n        // queue all creation mode and update mode instructions for generation in the second\n        // pass. It's necessary to separate the passes to ensure local refs are defined before\n        // resolving bindings. We also count bindings in this pass as we walk bound expressions.\n        visitAll(this, nodes);\n        // Add total binding count to pure function count so pure function instructions are\n        // generated with the correct slot offset when update instructions are processed.\n        this._pureFunctionSlots += this._bindingSlots;\n        // Pipes are walked in the first pass (to enqueue `pipe()` creation instructions and\n        // `pipeBind` update instructions), so we have to update the slot offsets manually\n        // to account for bindings.\n        this._valueConverter.updatePipeSlotOffsets(this._bindingSlots);\n        // Nested templates must be processed before creation instructions so template()\n        // instructions can be generated with the correct internal const count.\n        this._nestedTemplateFns.forEach(buildTemplateFn => buildTemplateFn());\n        // Output the `projectionDef` instruction when some `<ng-content>` tags are present.\n        // The `projectionDef` instruction is only emitted for the component template and\n        // is skipped for nested templates (<ng-template> tags).\n        if (this.level === 0 && this._ngContentReservedSlots.length) {\n            const parameters = [];\n            // By default the `projectionDef` instructions creates one slot for the wildcard\n            // selector if no parameters are passed. Therefore we only want to allocate a new\n            // array for the projection slots if the default projection slot is not sufficient.\n            if (this._ngContentReservedSlots.length > 1 || this._ngContentReservedSlots[0] !== '*') {\n                const r3ReservedSlots = this._ngContentReservedSlots.map(s => s !== '*' ? parseSelectorToR3Selector(s) : s);\n                parameters.push(this.constantPool.getConstLiteral(asLiteral(r3ReservedSlots), true));\n            }\n            // Since we accumulate ngContent selectors while processing template elements,\n            // we *prepend* `projectionDef` to creation instructions block, to put it before\n            // any `projection` instructions\n            this.creationInstruction(null, Identifiers$1.projectionDef, parameters, /* prepend */ true);\n        }\n        if (initI18nContext) {\n            this.i18nEnd(null, selfClosingI18nInstruction);\n        }\n        // Generate all the creation mode instructions (e.g. resolve bindings in listeners)\n        const creationStatements = this._creationCodeFns.map((fn) => fn());\n        // Generate all the update mode instructions (e.g. resolve property or text bindings)\n        const updateStatements = this._updateCodeFns.map((fn) => fn());\n        //  Variable declaration must occur after binding resolution so we can generate context\n        //  instructions that build on each other.\n        // e.g. const b = nextContext().$implicit(); const b = nextContext();\n        const creationVariables = this._bindingScope.viewSnapshotStatements();\n        const updateVariables = this._bindingScope.variableDeclarations().concat(this._tempVariables);\n        const creationBlock = creationStatements.length > 0 ?\n            [renderFlagCheckIfStmt(1 /* Create */, creationVariables.concat(creationStatements))] :\n            [];\n        const updateBlock = updateStatements.length > 0 ?\n            [renderFlagCheckIfStmt(2 /* Update */, updateVariables.concat(updateStatements))] :\n            [];\n        return fn(\n        // i.e. (rf: RenderFlags, ctx: any)\n        [new FnParam(RENDER_FLAGS, NUMBER_TYPE), new FnParam(CONTEXT_NAME, null)], [\n            // Temporary variable declarations for query refresh (i.e. let _t: any;)\n            ...this._prefixCode,\n            // Creating mode (i.e. if (rf & RenderFlags.Create) { ... })\n            ...creationBlock,\n            // Binding and refresh mode (i.e. if (rf & RenderFlags.Update) {...})\n            ...updateBlock,\n        ], INFERRED_TYPE, null, this.templateName);\n    }\n    // LocalResolver\n    getLocal(name) { return this._bindingScope.get(name); }\n    // LocalResolver\n    notifyImplicitReceiverUse() { this._bindingScope.notifyImplicitReceiverUse(); }\n    i18nTranslate(message, params = {}, ref, transformFn) {\n        const _ref = ref || variable(this.constantPool.uniqueName(TRANSLATION_PREFIX));\n        // Closure Compiler requires const names to start with `MSG_` but disallows any other const to\n        // start with `MSG_`. We define a variable starting with `MSG_` just for the `goog.getMsg` call\n        const closureVar = this.i18nGenerateClosureVar(message.id);\n        const formattedParams = this.i18nFormatPlaceholderNames(params, /* useCamelCase */ true);\n        const meta = metaFromI18nMessage(message);\n        const content = getSerializedI18nContent(message);\n        const statements = getTranslationDeclStmts(_ref, closureVar, content, meta, formattedParams, transformFn);\n        this.constantPool.statements.push(...statements);\n        return _ref;\n    }\n    i18nFormatPlaceholderNames(params = {}, useCamelCase) {\n        const _params = {};\n        if (params && Object.keys(params).length) {\n            Object.keys(params).forEach(key => _params[formatI18nPlaceholderName(key, useCamelCase)] = params[key]);\n        }\n        return _params;\n    }\n    i18nAppendBindings(expressions) {\n        if (expressions.length > 0) {\n            expressions.forEach(expression => this.i18n.appendBinding(expression));\n        }\n    }\n    i18nBindProps(props) {\n        const bound = {};\n        Object.keys(props).forEach(key => {\n            const prop = props[key];\n            if (prop instanceof Text) {\n                bound[key] = literal(prop.value);\n            }\n            else {\n                const value = prop.value.visit(this._valueConverter);\n                this.allocateBindingSlots(value);\n                if (value instanceof Interpolation) {\n                    const { strings, expressions } = value;\n                    const { id, bindings } = this.i18n;\n                    const label = assembleI18nBoundString(strings, bindings.size, id);\n                    this.i18nAppendBindings(expressions);\n                    bound[key] = literal(label);\n                }\n            }\n        });\n        return bound;\n    }\n    i18nGenerateClosureVar(messageId) {\n        let name;\n        const suffix = this.fileBasedI18nSuffix.toUpperCase();\n        if (this.i18nUseExternalIds) {\n            const prefix = getTranslationConstPrefix(`EXTERNAL_`);\n            const uniqueSuffix = this.constantPool.uniqueName(suffix);\n            name = `${prefix}${sanitizeIdentifier(messageId)}$$${uniqueSuffix}`;\n        }\n        else {\n            const prefix = getTranslationConstPrefix(suffix);\n            name = this.constantPool.uniqueName(prefix);\n        }\n        return variable(name);\n    }\n    i18nUpdateRef(context) {\n        const { icus, meta, isRoot, isResolved, isEmitted } = context;\n        if (isRoot && isResolved && !isEmitted && !isSingleI18nIcu(meta)) {\n            context.isEmitted = true;\n            const placeholders = context.getSerializedPlaceholders();\n            let icuMapping = {};\n            let params = placeholders.size ? placeholdersToParams(placeholders) : {};\n            if (icus.size) {\n                icus.forEach((refs, key) => {\n                    if (refs.length === 1) {\n                        // if we have one ICU defined for a given\n                        // placeholder - just output its reference\n                        params[key] = refs[0];\n                    }\n                    else {\n                        // ... otherwise we need to activate post-processing\n                        // to replace ICU placeholders with proper values\n                        const placeholder = wrapI18nPlaceholder(`${I18N_ICU_MAPPING_PREFIX}${key}`);\n                        params[key] = literal(placeholder);\n                        icuMapping[key] = literalArr(refs);\n                    }\n                });\n            }\n            // translation requires post processing in 2 cases:\n            // - if we have placeholders with multiple values (ex. `START_DIV`: [�#1�, �#2�, ...])\n            // - if we have multiple ICUs that refer to the same placeholder name\n            const needsPostprocessing = Array.from(placeholders.values()).some((value) => value.length > 1) ||\n                Object.keys(icuMapping).length;\n            let transformFn;\n            if (needsPostprocessing) {\n                transformFn = (raw) => {\n                    const args = [raw];\n                    if (Object.keys(icuMapping).length) {\n                        args.push(mapLiteral(icuMapping, true));\n                    }\n                    return instruction(null, Identifiers$1.i18nPostprocess, args);\n                };\n            }\n            this.i18nTranslate(meta, params, context.ref, transformFn);\n        }\n    }\n    i18nStart(span = null, meta, selfClosing) {\n        const index = this.allocateDataSlot();\n        if (this.i18nContext) {\n            this.i18n = this.i18nContext.forkChildContext(index, this.templateIndex, meta);\n        }\n        else {\n            const ref = variable(this.constantPool.uniqueName(TRANSLATION_PREFIX));\n            this.i18n = new I18nContext(index, ref, 0, this.templateIndex, meta);\n        }\n        // generate i18nStart instruction\n        const { id, ref } = this.i18n;\n        const params = [literal(index), ref];\n        if (id > 0) {\n            // do not push 3rd argument (sub-block id)\n            // into i18nStart call for top level i18n context\n            params.push(literal(id));\n        }\n        this.creationInstruction(span, selfClosing ? Identifiers$1.i18n : Identifiers$1.i18nStart, params);\n    }\n    i18nEnd(span = null, selfClosing) {\n        if (!this.i18n) {\n            throw new Error('i18nEnd is executed with no i18n context present');\n        }\n        if (this.i18nContext) {\n            this.i18nContext.reconcileChildContext(this.i18n);\n            this.i18nUpdateRef(this.i18nContext);\n        }\n        else {\n            this.i18nUpdateRef(this.i18n);\n        }\n        // setup accumulated bindings\n        const { index, bindings } = this.i18n;\n        if (bindings.size) {\n            const chainBindings = [];\n            bindings.forEach(binding => {\n                chainBindings.push({ sourceSpan: span, value: () => this.convertPropertyBinding(binding) });\n            });\n            this.updateInstructionChain(index, Identifiers$1.i18nExp, chainBindings);\n            this.updateInstruction(index, span, Identifiers$1.i18nApply, [literal(index)]);\n        }\n        if (!selfClosing) {\n            this.creationInstruction(span, Identifiers$1.i18nEnd);\n        }\n        this.i18n = null; // reset local i18n context\n    }\n    visitContent(ngContent) {\n        const slot = this.allocateDataSlot();\n        const projectionSlotIdx = this._ngContentSelectorsOffset + this._ngContentReservedSlots.length;\n        const parameters = [literal(slot)];\n        const attributes = [];\n        this._ngContentReservedSlots.push(ngContent.selector);\n        ngContent.attributes.forEach((attribute) => {\n            const { name, value } = attribute;\n            if (name === NG_PROJECT_AS_ATTR_NAME) {\n                attributes.push(...getNgProjectAsLiteral(attribute));\n            }\n            else if (name.toLowerCase() !== NG_CONTENT_SELECT_ATTR$1) {\n                attributes.push(literal(name), literal(value));\n            }\n        });\n        if (attributes.length > 0) {\n            parameters.push(literal(projectionSlotIdx), literalArr(attributes));\n        }\n        else if (projectionSlotIdx !== 0) {\n            parameters.push(literal(projectionSlotIdx));\n        }\n        this.creationInstruction(ngContent.sourceSpan, Identifiers$1.projection, parameters);\n        if (this.i18n) {\n            this.i18n.appendProjection(ngContent.i18n, slot);\n        }\n    }\n    getNamespaceInstruction(namespaceKey) {\n        switch (namespaceKey) {\n            case 'math':\n                return Identifiers$1.namespaceMathML;\n            case 'svg':\n                return Identifiers$1.namespaceSVG;\n            default:\n                return Identifiers$1.namespaceHTML;\n        }\n    }\n    addNamespaceInstruction(nsInstruction, element) {\n        this._namespace = nsInstruction;\n        this.creationInstruction(element.sourceSpan, nsInstruction);\n    }\n    visitElement(element) {\n        const elementIndex = this.allocateDataSlot();\n        const stylingBuilder = new StylingBuilder(literal(elementIndex), null);\n        let isNonBindableMode = false;\n        const isI18nRootElement = isI18nRootNode(element.i18n) && !isSingleI18nIcu(element.i18n);\n        if (isI18nRootElement && this.i18n) {\n            throw new Error(`Could not mark an element as translatable inside of a translatable section`);\n        }\n        const i18nAttrs = [];\n        const outputAttrs = [];\n        const [namespaceKey, elementName] = splitNsName(element.name);\n        const isNgContainer$1 = isNgContainer(element.name);\n        // Handle styling, i18n, ngNonBindable attributes\n        for (const attr of element.attributes) {\n            const { name, value } = attr;\n            if (name === NON_BINDABLE_ATTR) {\n                isNonBindableMode = true;\n            }\n            else if (name === 'style') {\n                stylingBuilder.registerStyleAttr(value);\n            }\n            else if (name === 'class') {\n                stylingBuilder.registerClassAttr(value);\n            }\n            else {\n                if (attr.i18n) {\n                    // Place attributes into a separate array for i18n processing, but also keep such\n                    // attributes in the main list to make them available for directive matching at runtime.\n                    // TODO(FW-1248): prevent attributes duplication in `i18nAttributes` and `elementStart`\n                    // arguments\n                    i18nAttrs.push(attr);\n                }\n                else {\n                    outputAttrs.push(attr);\n                }\n            }\n        }\n        // Match directives on non i18n attributes\n        this.matchDirectives(element.name, element);\n        // Regular element or ng-container creation mode\n        const parameters = [literal(elementIndex)];\n        if (!isNgContainer$1) {\n            parameters.push(literal(elementName));\n        }\n        // Add the attributes\n        const attributes = [];\n        const allOtherInputs = [];\n        element.inputs.forEach((input) => {\n            const stylingInputWasSet = stylingBuilder.registerBoundInput(input);\n            if (!stylingInputWasSet) {\n                if (input.type === 0 /* Property */ && input.i18n) {\n                    // Place attributes into a separate array for i18n processing, but also keep such\n                    // attributes in the main list to make them available for directive matching at runtime.\n                    // TODO(FW-1248): prevent attributes duplication in `i18nAttributes` and `elementStart`\n                    // arguments\n                    i18nAttrs.push(input);\n                }\n                else {\n                    allOtherInputs.push(input);\n                }\n            }\n        });\n        outputAttrs.forEach(attr => {\n            if (attr.name === NG_PROJECT_AS_ATTR_NAME) {\n                attributes.push(...getNgProjectAsLiteral(attr));\n            }\n            else {\n                attributes.push(...getAttributeNameLiterals(attr.name), literal(attr.value));\n            }\n        });\n        // add attributes for directive and projection matching purposes\n        attributes.push(...this.prepareNonRenderAttrs(allOtherInputs, element.outputs, stylingBuilder, [], i18nAttrs));\n        parameters.push(this.toAttrsParam(attributes));\n        // local refs (ex.: <div #foo #bar=\"baz\">)\n        parameters.push(this.prepareRefsParameter(element.references));\n        const wasInNamespace = this._namespace;\n        const currentNamespace = this.getNamespaceInstruction(namespaceKey);\n        // If the namespace is changing now, include an instruction to change it\n        // during element creation.\n        if (currentNamespace !== wasInNamespace) {\n            this.addNamespaceInstruction(currentNamespace, element);\n        }\n        if (this.i18n) {\n            this.i18n.appendElement(element.i18n, elementIndex);\n        }\n        // Note that we do not append text node instructions and ICUs inside i18n section,\n        // so we exclude them while calculating whether current element has children\n        const hasChildren = (!isI18nRootElement && this.i18n) ? !hasTextChildrenOnly(element.children) :\n            element.children.length > 0;\n        const createSelfClosingInstruction = !stylingBuilder.hasBindings &&\n            element.outputs.length === 0 && i18nAttrs.length === 0 && !hasChildren;\n        const createSelfClosingI18nInstruction = !createSelfClosingInstruction &&\n            !stylingBuilder.hasBindings && hasTextChildrenOnly(element.children);\n        if (createSelfClosingInstruction) {\n            this.creationInstruction(element.sourceSpan, isNgContainer$1 ? Identifiers$1.elementContainer : Identifiers$1.element, trimTrailingNulls(parameters));\n        }\n        else {\n            this.creationInstruction(element.sourceSpan, isNgContainer$1 ? Identifiers$1.elementContainerStart : Identifiers$1.elementStart, trimTrailingNulls(parameters));\n            if (isNonBindableMode) {\n                this.creationInstruction(element.sourceSpan, Identifiers$1.disableBindings);\n            }\n            // process i18n element attributes\n            if (i18nAttrs.length) {\n                let hasBindings = false;\n                const i18nAttrArgs = [];\n                const bindings = [];\n                i18nAttrs.forEach(attr => {\n                    const message = attr.i18n;\n                    if (attr instanceof TextAttribute) {\n                        i18nAttrArgs.push(literal(attr.name), this.i18nTranslate(message));\n                    }\n                    else {\n                        const converted = attr.value.visit(this._valueConverter);\n                        this.allocateBindingSlots(converted);\n                        if (converted instanceof Interpolation) {\n                            const placeholders = assembleBoundTextPlaceholders(message);\n                            const params = placeholdersToParams(placeholders);\n                            i18nAttrArgs.push(literal(attr.name), this.i18nTranslate(message, params));\n                            converted.expressions.forEach(expression => {\n                                hasBindings = true;\n                                bindings.push({\n                                    sourceSpan: element.sourceSpan,\n                                    value: () => this.convertExpressionBinding(expression)\n                                });\n                            });\n                        }\n                    }\n                });\n                if (bindings.length) {\n                    this.updateInstructionChain(elementIndex, Identifiers$1.i18nExp, bindings);\n                }\n                if (i18nAttrArgs.length) {\n                    const index = literal(this.allocateDataSlot());\n                    const args = this.constantPool.getConstLiteral(literalArr(i18nAttrArgs), true);\n                    this.creationInstruction(element.sourceSpan, Identifiers$1.i18nAttributes, [index, args]);\n                    if (hasBindings) {\n                        this.updateInstruction(elementIndex, element.sourceSpan, Identifiers$1.i18nApply, [index]);\n                    }\n                }\n            }\n            // The style bindings code is placed into two distinct blocks within the template function AOT\n            // code: creation and update. The creation code contains the `styling` instructions\n            // which will apply the collected binding values to the element. `styling` is\n            // designed to run inside of `elementStart` and `elementEnd`. The update instructions\n            // (things like `styleProp`, `classProp`, etc..) are applied later on in this\n            // file\n            this.processStylingInstruction(elementIndex, stylingBuilder.buildStylingInstruction(element.sourceSpan, this.constantPool), true);\n            // Generate Listeners (outputs)\n            element.outputs.forEach((outputAst) => {\n                this.creationInstruction(outputAst.sourceSpan, Identifiers$1.listener, this.prepareListenerParameter(element.name, outputAst, elementIndex));\n            });\n            // Note: it's important to keep i18n/i18nStart instructions after i18nAttributes and\n            // listeners, to make sure i18nAttributes instruction targets current element at runtime.\n            if (isI18nRootElement) {\n                this.i18nStart(element.sourceSpan, element.i18n, createSelfClosingI18nInstruction);\n            }\n        }\n        // the code here will collect all update-level styling instructions and add them to the\n        // update block of the template function AOT code. Instructions like `styleProp`,\n        // `styleMap`, `classMap`, `classProp` and `stylingApply`\n        // are all generated and assigned in the code below.\n        const stylingInstructions = stylingBuilder.buildUpdateLevelInstructions(this._valueConverter);\n        const limit = stylingInstructions.length - 1;\n        for (let i = 0; i <= limit; i++) {\n            const instruction = stylingInstructions[i];\n            this._bindingSlots += instruction.allocateBindingSlots;\n            this.processStylingInstruction(elementIndex, instruction, false);\n        }\n        // the reason why `undefined` is used is because the renderer understands this as a\n        // special value to symbolize that there is no RHS to this binding\n        // TODO (matsko): revisit this once FW-959 is approached\n        const emptyValueBindInstruction = literal(undefined);\n        const propertyBindings = [];\n        const attributeBindings = [];\n        // Generate element input bindings\n        allOtherInputs.forEach((input) => {\n            const inputType = input.type;\n            if (inputType === 4 /* Animation */) {\n                const value = input.value.visit(this._valueConverter);\n                // animation bindings can be presented in the following formats:\n                // 1. [@binding]=\"fooExp\"\n                // 2. [@binding]=\"{value:fooExp, params:{...}}\"\n                // 3. [@binding]\n                // 4. @binding\n                // All formats will be valid for when a synthetic binding is created.\n                // The reasoning for this is because the renderer should get each\n                // synthetic binding value in the order of the array that they are\n                // defined in...\n                const hasValue = value instanceof LiteralPrimitive ? !!value.value : true;\n                this.allocateBindingSlots(value);\n                propertyBindings.push({\n                    name: prepareSyntheticPropertyName(input.name),\n                    sourceSpan: input.sourceSpan,\n                    value: () => hasValue ? this.convertPropertyBinding(value) : emptyValueBindInstruction\n                });\n            }\n            else {\n                // we must skip attributes with associated i18n context, since these attributes are handled\n                // separately and corresponding `i18nExp` and `i18nApply` instructions will be generated\n                if (input.i18n)\n                    return;\n                const value = input.value.visit(this._valueConverter);\n                if (value !== undefined) {\n                    const params = [];\n                    const [attrNamespace, attrName] = splitNsName(input.name);\n                    const isAttributeBinding = inputType === 1 /* Attribute */;\n                    const sanitizationRef = resolveSanitizationFn(input.securityContext, isAttributeBinding);\n                    if (sanitizationRef)\n                        params.push(sanitizationRef);\n                    if (attrNamespace) {\n                        const namespaceLiteral = literal(attrNamespace);\n                        if (sanitizationRef) {\n                            params.push(namespaceLiteral);\n                        }\n                        else {\n                            // If there wasn't a sanitization ref, we need to add\n                            // an extra param so that we can pass in the namespace.\n                            params.push(literal(null), namespaceLiteral);\n                        }\n                    }\n                    this.allocateBindingSlots(value);\n                    if (inputType === 0 /* Property */) {\n                        if (value instanceof Interpolation) {\n                            // prop=\"{{value}}\" and friends\n                            this.interpolatedUpdateInstruction(getPropertyInterpolationExpression(value), elementIndex, attrName, input, value, params);\n                        }\n                        else {\n                            // [prop]=\"value\"\n                            // Collect all the properties so that we can chain into a single function at the end.\n                            propertyBindings.push({\n                                name: attrName,\n                                sourceSpan: input.sourceSpan,\n                                value: () => this.convertPropertyBinding(value), params\n                            });\n                        }\n                    }\n                    else if (inputType === 1 /* Attribute */) {\n                        if (value instanceof Interpolation && getInterpolationArgsLength(value) > 1) {\n                            // attr.name=\"text{{value}}\" and friends\n                            this.interpolatedUpdateInstruction(getAttributeInterpolationExpression(value), elementIndex, attrName, input, value, params);\n                        }\n                        else {\n                            const boundValue = value instanceof Interpolation ? value.expressions[0] : value;\n                            // [attr.name]=\"value\" or attr.name=\"{{value}}\"\n                            // Collect the attribute bindings so that they can be chained at the end.\n                            attributeBindings.push({\n                                name: attrName,\n                                sourceSpan: input.sourceSpan,\n                                value: () => this.convertPropertyBinding(boundValue), params\n                            });\n                        }\n                    }\n                    else {\n                        // class prop\n                        this.updateInstruction(elementIndex, input.sourceSpan, Identifiers$1.classProp, () => {\n                            return [\n                                literal(elementIndex), literal(attrName), this.convertPropertyBinding(value),\n                                ...params\n                            ];\n                        });\n                    }\n                }\n            }\n        });\n        if (propertyBindings.length > 0) {\n            this.updateInstructionChain(elementIndex, Identifiers$1.property, propertyBindings);\n        }\n        if (attributeBindings.length > 0) {\n            this.updateInstructionChain(elementIndex, Identifiers$1.attribute, attributeBindings);\n        }\n        // Traverse element child nodes\n        visitAll(this, element.children);\n        if (!isI18nRootElement && this.i18n) {\n            this.i18n.appendElement(element.i18n, elementIndex, true);\n        }\n        if (!createSelfClosingInstruction) {\n            // Finish element construction mode.\n            const span = element.endSourceSpan || element.sourceSpan;\n            if (isI18nRootElement) {\n                this.i18nEnd(span, createSelfClosingI18nInstruction);\n            }\n            if (isNonBindableMode) {\n                this.creationInstruction(span, Identifiers$1.enableBindings);\n            }\n            this.creationInstruction(span, isNgContainer$1 ? Identifiers$1.elementContainerEnd : Identifiers$1.elementEnd);\n        }\n    }\n    /**\n     * Adds an update instruction for an interpolated property or attribute, such as\n     * `prop=\"{{value}}\"` or `attr.title=\"{{value}}\"`\n     */\n    interpolatedUpdateInstruction(instruction, elementIndex, attrName, input, value, params) {\n        this.updateInstruction(elementIndex, input.sourceSpan, instruction, () => [literal(attrName), ...this.getUpdateInstructionArguments(value), ...params]);\n    }\n    visitTemplate(template) {\n        const NG_TEMPLATE_TAG_NAME = 'ng-template';\n        const templateIndex = this.allocateDataSlot();\n        if (this.i18n) {\n            this.i18n.appendTemplate(template.i18n, templateIndex);\n        }\n        const tagName = sanitizeIdentifier(template.tagName || '');\n        const contextName = `${this.contextName}${tagName ? '_' + tagName : ''}_${templateIndex}`;\n        const templateName = `${contextName}_Template`;\n        const parameters = [\n            literal(templateIndex),\n            variable(templateName),\n            // We don't care about the tag's namespace here, because we infer\n            // it based on the parent nodes inside the template instruction.\n            literal(template.tagName ? splitNsName(template.tagName)[1] : template.tagName),\n        ];\n        // find directives matching on a given <ng-template> node\n        this.matchDirectives(NG_TEMPLATE_TAG_NAME, template);\n        // prepare attributes parameter (including attributes used for directive matching)\n        const attrsExprs = [];\n        template.attributes.forEach((a) => { attrsExprs.push(asLiteral(a.name), asLiteral(a.value)); });\n        attrsExprs.push(...this.prepareNonRenderAttrs(template.inputs, template.outputs, undefined, template.templateAttrs));\n        parameters.push(this.toAttrsParam(attrsExprs));\n        // local refs (ex.: <ng-template #foo>)\n        if (template.references && template.references.length) {\n            parameters.push(this.prepareRefsParameter(template.references));\n            parameters.push(importExpr(Identifiers$1.templateRefExtractor));\n        }\n        // Create the template function\n        const templateVisitor = new TemplateDefinitionBuilder(this.constantPool, this._bindingScope, this.level + 1, contextName, this.i18n, templateIndex, templateName, this.directiveMatcher, this.directives, this.pipeTypeByName, this.pipes, this._namespace, this.fileBasedI18nSuffix, this.i18nUseExternalIds);\n        // Nested templates must not be visited until after their parent templates have completed\n        // processing, so they are queued here until after the initial pass. Otherwise, we wouldn't\n        // be able to support bindings in nested templates to local refs that occur after the\n        // template definition. e.g. <div *ngIf=\"showing\">{{ foo }}</div>  <div #foo></div>\n        this._nestedTemplateFns.push(() => {\n            const templateFunctionExpr = templateVisitor.buildTemplateFunction(template.children, template.variables, this._ngContentReservedSlots.length + this._ngContentSelectorsOffset, template.i18n);\n            this.constantPool.statements.push(templateFunctionExpr.toDeclStmt(templateName, null));\n            if (templateVisitor._ngContentReservedSlots.length) {\n                this._ngContentReservedSlots.push(...templateVisitor._ngContentReservedSlots);\n            }\n        });\n        // e.g. template(1, MyComp_Template_1)\n        this.creationInstruction(template.sourceSpan, Identifiers$1.templateCreate, () => {\n            parameters.splice(2, 0, literal(templateVisitor.getConstCount()), literal(templateVisitor.getVarCount()));\n            return trimTrailingNulls(parameters);\n        });\n        // handle property bindings e.g. ɵɵproperty('ngForOf', ctx.items), et al;\n        this.templatePropertyBindings(templateIndex, template.templateAttrs);\n        // Only add normal input/output binding instructions on explicit ng-template elements.\n        if (template.tagName === NG_TEMPLATE_TAG_NAME) {\n            // Add the input bindings\n            this.templatePropertyBindings(templateIndex, template.inputs);\n            // Generate listeners for directive output\n            template.outputs.forEach((outputAst) => {\n                this.creationInstruction(outputAst.sourceSpan, Identifiers$1.listener, this.prepareListenerParameter('ng_template', outputAst, templateIndex));\n            });\n        }\n    }\n    visitBoundText(text) {\n        if (this.i18n) {\n            const value = text.value.visit(this._valueConverter);\n            this.allocateBindingSlots(value);\n            if (value instanceof Interpolation) {\n                this.i18n.appendBoundText(text.i18n);\n                this.i18nAppendBindings(value.expressions);\n            }\n            return;\n        }\n        const nodeIndex = this.allocateDataSlot();\n        this.creationInstruction(text.sourceSpan, Identifiers$1.text, [literal(nodeIndex)]);\n        const value = text.value.visit(this._valueConverter);\n        this.allocateBindingSlots(value);\n        if (value instanceof Interpolation) {\n            this.updateInstruction(nodeIndex, text.sourceSpan, getTextInterpolationExpression(value), () => this.getUpdateInstructionArguments(value));\n        }\n        else {\n            this.updateInstruction(nodeIndex, text.sourceSpan, Identifiers$1.textBinding, () => [this.convertPropertyBinding(value)]);\n        }\n    }\n    visitText(text) {\n        // when a text element is located within a translatable\n        // block, we exclude this text element from instructions set,\n        // since it will be captured in i18n content and processed at runtime\n        if (!this.i18n) {\n            this.creationInstruction(text.sourceSpan, Identifiers$1.text, [literal(this.allocateDataSlot()), literal(text.value)]);\n        }\n    }\n    visitIcu(icu) {\n        let initWasInvoked = false;\n        // if an ICU was created outside of i18n block, we still treat\n        // it as a translatable entity and invoke i18nStart and i18nEnd\n        // to generate i18n context and the necessary instructions\n        if (!this.i18n) {\n            initWasInvoked = true;\n            this.i18nStart(null, icu.i18n, true);\n        }\n        const i18n = this.i18n;\n        const vars = this.i18nBindProps(icu.vars);\n        const placeholders = this.i18nBindProps(icu.placeholders);\n        // output ICU directly and keep ICU reference in context\n        const message = icu.i18n;\n        // we always need post-processing function for ICUs, to make sure that:\n        // - all placeholders in a form of {PLACEHOLDER} are replaced with actual values (note:\n        // `goog.getMsg` does not process ICUs and uses the `{PLACEHOLDER}` format for placeholders\n        // inside ICUs)\n        // - all ICU vars (such as `VAR_SELECT` or `VAR_PLURAL`) are replaced with correct values\n        const transformFn = (raw) => {\n            const params = Object.assign({}, vars, placeholders);\n            const formatted = this.i18nFormatPlaceholderNames(params, /* useCamelCase */ false);\n            return instruction(null, Identifiers$1.i18nPostprocess, [raw, mapLiteral(formatted, true)]);\n        };\n        // in case the whole i18n message is a single ICU - we do not need to\n        // create a separate top-level translation, we can use the root ref instead\n        // and make this ICU a top-level translation\n        // note: ICU placeholders are replaced with actual values in `i18nPostprocess` function\n        // separately, so we do not pass placeholders into `i18nTranslate` function.\n        if (isSingleI18nIcu(i18n.meta)) {\n            this.i18nTranslate(message, /* placeholders */ {}, i18n.ref, transformFn);\n        }\n        else {\n            // output ICU directly and keep ICU reference in context\n            const ref = this.i18nTranslate(message, /* placeholders */ {}, /* ref */ undefined, transformFn);\n            i18n.appendIcu(icuFromI18nMessage(message).name, ref);\n        }\n        if (initWasInvoked) {\n            this.i18nEnd(null, true);\n        }\n        return null;\n    }\n    allocateDataSlot() { return this._dataIndex++; }\n    getConstCount() { return this._dataIndex; }\n    getVarCount() { return this._pureFunctionSlots; }\n    getNgContentSelectors() {\n        return this._ngContentReservedSlots.length ?\n            this.constantPool.getConstLiteral(asLiteral(this._ngContentReservedSlots), true) :\n            null;\n    }\n    bindingContext() { return `${this._bindingContext++}`; }\n    templatePropertyBindings(templateIndex, attrs) {\n        const propertyBindings = [];\n        attrs.forEach(input => {\n            if (input instanceof BoundAttribute) {\n                const value = input.value.visit(this._valueConverter);\n                if (value !== undefined) {\n                    this.allocateBindingSlots(value);\n                    propertyBindings.push({\n                        name: input.name,\n                        sourceSpan: input.sourceSpan,\n                        value: () => this.convertPropertyBinding(value)\n                    });\n                }\n            }\n        });\n        if (propertyBindings.length > 0) {\n            this.updateInstructionChain(templateIndex, Identifiers$1.property, propertyBindings);\n        }\n    }\n    // Bindings must only be resolved after all local refs have been visited, so all\n    // instructions are queued in callbacks that execute once the initial pass has completed.\n    // Otherwise, we wouldn't be able to support local refs that are defined after their\n    // bindings. e.g. {{ foo }} <div #foo></div>\n    instructionFn(fns, span, reference, paramsOrFn, prepend = false) {\n        fns[prepend ? 'unshift' : 'push'](() => {\n            const params = Array.isArray(paramsOrFn) ? paramsOrFn : paramsOrFn();\n            return instruction(span, reference, params).toStmt();\n        });\n    }\n    processStylingInstruction(elementIndex, instruction, createMode) {\n        if (instruction) {\n            if (createMode) {\n                this.creationInstruction(instruction.sourceSpan, instruction.reference, () => {\n                    return instruction.params(value => this.convertPropertyBinding(value));\n                });\n            }\n            else {\n                this.updateInstruction(elementIndex, instruction.sourceSpan, instruction.reference, () => {\n                    return instruction\n                        .params(value => {\n                        return (instruction.supportsInterpolation && value instanceof Interpolation) ?\n                            this.getUpdateInstructionArguments(value) :\n                            this.convertPropertyBinding(value);\n                    });\n                });\n            }\n        }\n    }\n    creationInstruction(span, reference, paramsOrFn, prepend) {\n        this.instructionFn(this._creationCodeFns, span, reference, paramsOrFn || [], prepend);\n    }\n    updateInstruction(nodeIndex, span, reference, paramsOrFn) {\n        this.addSelectInstructionIfNecessary(nodeIndex, span);\n        this.instructionFn(this._updateCodeFns, span, reference, paramsOrFn || []);\n    }\n    updateInstructionChain(nodeIndex, reference, bindings) {\n        const span = bindings.length ? bindings[0].sourceSpan : null;\n        this.addSelectInstructionIfNecessary(nodeIndex, span);\n        this._updateCodeFns.push(() => {\n            const calls = bindings.map(property => {\n                const fnParams = [property.value(), ...(property.params || [])];\n                if (property.name) {\n                    fnParams.unshift(literal(property.name));\n                }\n                return fnParams;\n            });\n            return chainedInstruction(reference, calls, span).toStmt();\n        });\n    }\n    addSelectInstructionIfNecessary(nodeIndex, span) {\n        if (this._lastNodeIndexWithFlush < nodeIndex) {\n            if (nodeIndex > 0) {\n                this.instructionFn(this._updateCodeFns, span, Identifiers$1.select, [literal(nodeIndex)]);\n            }\n            this._lastNodeIndexWithFlush = nodeIndex;\n        }\n    }\n    allocatePureFunctionSlots(numSlots) {\n        const originalSlots = this._pureFunctionSlots;\n        this._pureFunctionSlots += numSlots;\n        return originalSlots;\n    }\n    allocateBindingSlots(value) {\n        this._bindingSlots += value instanceof Interpolation ? value.expressions.length : 1;\n    }\n    /**\n     * Gets an expression that refers to the implicit receiver. The implicit\n     * receiver is always the root level context.\n     */\n    getImplicitReceiverExpr() {\n        if (this._implicitReceiverExpr) {\n            return this._implicitReceiverExpr;\n        }\n        return this._implicitReceiverExpr = this.level === 0 ?\n            variable(CONTEXT_NAME) :\n            this._bindingScope.getOrCreateSharedContextVar(0);\n    }\n    convertExpressionBinding(value) {\n        const convertedPropertyBinding = convertPropertyBinding(this, this.getImplicitReceiverExpr(), value, this.bindingContext(), BindingForm.TrySimple);\n        return convertedPropertyBinding.currValExpr;\n    }\n    convertPropertyBinding(value) {\n        const convertedPropertyBinding = convertPropertyBinding(this, this.getImplicitReceiverExpr(), value, this.bindingContext(), BindingForm.TrySimple, () => error('Unexpected interpolation'));\n        const valExpr = convertedPropertyBinding.currValExpr;\n        this._tempVariables.push(...convertedPropertyBinding.stmts);\n        return valExpr;\n    }\n    /**\n     * Gets a list of argument expressions to pass to an update instruction expression. Also updates\n     * the temp variables state with temp variables that were identified as needing to be created\n     * while visiting the arguments.\n     * @param value The original expression we will be resolving an arguments list from.\n     */\n    getUpdateInstructionArguments(value) {\n        const { args, stmts } = convertUpdateArguments(this, this.getImplicitReceiverExpr(), value, this.bindingContext());\n        this._tempVariables.push(...stmts);\n        return args;\n    }\n    matchDirectives(tagName, elOrTpl) {\n        if (this.directiveMatcher) {\n            const selector = createCssSelector(tagName, getAttrsForDirectiveMatching(elOrTpl));\n            this.directiveMatcher.match(selector, (cssSelector, staticType) => { this.directives.add(staticType); });\n        }\n    }\n    /**\n     * Prepares all attribute expression values for the `TAttributes` array.\n     *\n     * The purpose of this function is to properly construct an attributes array that\n     * is passed into the `elementStart` (or just `element`) functions. Because there\n     * are many different types of attributes, the array needs to be constructed in a\n     * special way so that `elementStart` can properly evaluate them.\n     *\n     * The format looks like this:\n     *\n     * ```\n     * attrs = [prop, value, prop2, value2,\n     *   CLASSES, class1, class2,\n     *   STYLES, style1, value1, style2, value2,\n     *   BINDINGS, name1, name2, name3,\n     *   TEMPLATE, name4, name5, name6,\n     *   I18N, name7, name8, ...]\n     * ```\n     *\n     * Note that this function will fully ignore all synthetic (@foo) attribute values\n     * because those values are intended to always be generated as property instructions.\n     */\n    prepareNonRenderAttrs(inputs, outputs, styles, templateAttrs = [], i18nAttrs = []) {\n        const alreadySeen = new Set();\n        const attrExprs = [];\n        function addAttrExpr(key, value) {\n            if (typeof key === 'string') {\n                if (!alreadySeen.has(key)) {\n                    attrExprs.push(...getAttributeNameLiterals(key));\n                    value !== undefined && attrExprs.push(value);\n                    alreadySeen.add(key);\n                }\n            }\n            else {\n                attrExprs.push(literal(key));\n            }\n        }\n        // it's important that this occurs before BINDINGS and TEMPLATE because once `elementStart`\n        // comes across the BINDINGS or TEMPLATE markers then it will continue reading each value as\n        // as single property value cell by cell.\n        if (styles) {\n            styles.populateInitialStylingAttrs(attrExprs);\n        }\n        if (inputs.length || outputs.length) {\n            const attrsLengthBeforeInputs = attrExprs.length;\n            for (let i = 0; i < inputs.length; i++) {\n                const input = inputs[i];\n                // We don't want the animation and attribute bindings in the\n                // attributes array since they aren't used for directive matching.\n                if (input.type !== 4 /* Animation */ && input.type !== 1 /* Attribute */) {\n                    addAttrExpr(input.name);\n                }\n            }\n            for (let i = 0; i < outputs.length; i++) {\n                const output = outputs[i];\n                if (output.type !== 1 /* Animation */) {\n                    addAttrExpr(output.name);\n                }\n            }\n            // this is a cheap way of adding the marker only after all the input/output\n            // values have been filtered (by not including the animation ones) and added\n            // to the expressions. The marker is important because it tells the runtime\n            // code that this is where attributes without values start...\n            if (attrExprs.length !== attrsLengthBeforeInputs) {\n                attrExprs.splice(attrsLengthBeforeInputs, 0, literal(3 /* Bindings */));\n            }\n        }\n        if (templateAttrs.length) {\n            attrExprs.push(literal(4 /* Template */));\n            templateAttrs.forEach(attr => addAttrExpr(attr.name));\n        }\n        if (i18nAttrs.length) {\n            attrExprs.push(literal(6 /* I18n */));\n            i18nAttrs.forEach(attr => addAttrExpr(attr.name));\n        }\n        return attrExprs;\n    }\n    toAttrsParam(attrsExprs) {\n        return attrsExprs.length > 0 ?\n            this.constantPool.getConstLiteral(literalArr(attrsExprs), true) :\n            TYPED_NULL_EXPR;\n    }\n    prepareRefsParameter(references) {\n        if (!references || references.length === 0) {\n            return TYPED_NULL_EXPR;\n        }\n        const refsParam = flatten(references.map(reference => {\n            const slot = this.allocateDataSlot();\n            // Generate the update temporary.\n            const variableName = this._bindingScope.freshReferenceName();\n            const retrievalLevel = this.level;\n            const lhs = variable(variableName);\n            this._bindingScope.set(retrievalLevel, reference.name, lhs, 0 /* DEFAULT */, (scope, relativeLevel) => {\n                // e.g. nextContext(2);\n                const nextContextStmt = relativeLevel > 0 ? [generateNextContextExpr(relativeLevel).toStmt()] : [];\n                // e.g. const $foo$ = reference(1);\n                const refExpr = lhs.set(importExpr(Identifiers$1.reference).callFn([literal(slot)]));\n                return nextContextStmt.concat(refExpr.toConstDecl());\n            }, true);\n            return [reference.name, reference.value];\n        }));\n        return this.constantPool.getConstLiteral(asLiteral(refsParam), true);\n    }\n    prepareListenerParameter(tagName, outputAst, index) {\n        return () => {\n            const eventName = outputAst.name;\n            const bindingFnName = outputAst.type === 1 /* Animation */ ?\n                // synthetic @listener.foo values are treated the exact same as are standard listeners\n                prepareSyntheticListenerFunctionName(eventName, outputAst.phase) :\n                sanitizeIdentifier(eventName);\n            const handlerName = `${this.templateName}_${tagName}_${bindingFnName}_${index}_listener`;\n            const scope = this._bindingScope.nestedScope(this._bindingScope.bindingLevel);\n            return prepareEventListenerParameters(outputAst, handlerName, scope);\n        };\n    }\n}\nclass ValueConverter extends AstMemoryEfficientTransformer {\n    constructor(constantPool, allocateSlot, allocatePureFunctionSlots, definePipe) {\n        super();\n        this.constantPool = constantPool;\n        this.allocateSlot = allocateSlot;\n        this.allocatePureFunctionSlots = allocatePureFunctionSlots;\n        this.definePipe = definePipe;\n        this._pipeBindExprs = [];\n    }\n    // AstMemoryEfficientTransformer\n    visitPipe(pipe, context) {\n        // Allocate a slot to create the pipe\n        const slot = this.allocateSlot();\n        const slotPseudoLocal = `PIPE:${slot}`;\n        // Allocate one slot for the result plus one slot per pipe argument\n        const pureFunctionSlot = this.allocatePureFunctionSlots(2 + pipe.args.length);\n        const target = new PropertyRead(pipe.span, new ImplicitReceiver(pipe.span), slotPseudoLocal);\n        const { identifier, isVarLength } = pipeBindingCallInfo(pipe.args);\n        this.definePipe(pipe.name, slotPseudoLocal, slot, importExpr(identifier));\n        const args = [pipe.exp, ...pipe.args];\n        const convertedArgs = isVarLength ? this.visitAll([new LiteralArray(pipe.span, args)]) : this.visitAll(args);\n        const pipeBindExpr = new FunctionCall(pipe.span, target, [\n            new LiteralPrimitive(pipe.span, slot),\n            new LiteralPrimitive(pipe.span, pureFunctionSlot),\n            ...convertedArgs,\n        ]);\n        this._pipeBindExprs.push(pipeBindExpr);\n        return pipeBindExpr;\n    }\n    updatePipeSlotOffsets(bindingSlots) {\n        this._pipeBindExprs.forEach((pipe) => {\n            // update the slot offset arg (index 1) to account for binding slots\n            const slotOffset = pipe.args[1];\n            slotOffset.value += bindingSlots;\n        });\n    }\n    visitLiteralArray(array, context) {\n        return new BuiltinFunctionCall(array.span, this.visitAll(array.expressions), values => {\n            // If the literal has calculated (non-literal) elements transform it into\n            // calls to literal factories that compose the literal and will cache intermediate\n            // values. Otherwise, just return an literal array that contains the values.\n            const literal = literalArr(values);\n            return values.every(a => a.isConstant()) ?\n                this.constantPool.getConstLiteral(literal, true) :\n                getLiteralFactory(this.constantPool, literal, this.allocatePureFunctionSlots);\n        });\n    }\n    visitLiteralMap(map, context) {\n        return new BuiltinFunctionCall(map.span, this.visitAll(map.values), values => {\n            // If the literal has calculated (non-literal) elements  transform it into\n            // calls to literal factories that compose the literal and will cache intermediate\n            // values. Otherwise, just return an literal array that contains the values.\n            const literal = literalMap(values.map((value, index) => ({ key: map.keys[index].key, value, quoted: map.keys[index].quoted })));\n            return values.every(a => a.isConstant()) ?\n                this.constantPool.getConstLiteral(literal, true) :\n                getLiteralFactory(this.constantPool, literal, this.allocatePureFunctionSlots);\n        });\n    }\n}\n// Pipes always have at least one parameter, the value they operate on\nconst pipeBindingIdentifiers = [Identifiers$1.pipeBind1, Identifiers$1.pipeBind2, Identifiers$1.pipeBind3, Identifiers$1.pipeBind4];\nfunction pipeBindingCallInfo(args) {\n    const identifier = pipeBindingIdentifiers[args.length];\n    return {\n        identifier: identifier || Identifiers$1.pipeBindV,\n        isVarLength: !identifier,\n    };\n}\nconst pureFunctionIdentifiers = [\n    Identifiers$1.pureFunction0, Identifiers$1.pureFunction1, Identifiers$1.pureFunction2, Identifiers$1.pureFunction3, Identifiers$1.pureFunction4,\n    Identifiers$1.pureFunction5, Identifiers$1.pureFunction6, Identifiers$1.pureFunction7, Identifiers$1.pureFunction8\n];\nfunction pureFunctionCallInfo(args) {\n    const identifier = pureFunctionIdentifiers[args.length];\n    return {\n        identifier: identifier || Identifiers$1.pureFunctionV,\n        isVarLength: !identifier,\n    };\n}\nfunction instruction(span, reference, params) {\n    return importExpr(reference, null, span).callFn(params, span);\n}\n// e.g. x(2);\nfunction generateNextContextExpr(relativeLevelDiff) {\n    return importExpr(Identifiers$1.nextContext)\n        .callFn(relativeLevelDiff > 1 ? [literal(relativeLevelDiff)] : []);\n}\nfunction getLiteralFactory(constantPool, literal$1, allocateSlots) {\n    const { literalFactory, literalFactoryArguments } = constantPool.getLiteralFactory(literal$1);\n    // Allocate 1 slot for the result plus 1 per argument\n    const startSlot = allocateSlots(1 + literalFactoryArguments.length);\n    literalFactoryArguments.length > 0 || error(`Expected arguments to a literal factory function`);\n    const { identifier, isVarLength } = pureFunctionCallInfo(literalFactoryArguments);\n    // Literal factories are pure functions that only need to be re-invoked when the parameters\n    // change.\n    const args = [\n        literal(startSlot),\n        literalFactory,\n    ];\n    if (isVarLength) {\n        args.push(literalArr(literalFactoryArguments));\n    }\n    else {\n        args.push(...literalFactoryArguments);\n    }\n    return importExpr(identifier).callFn(args);\n}\n/**\n * Gets an array of literals that can be added to an expression\n * to represent the name and namespace of an attribute. E.g.\n * `:xlink:href` turns into `[AttributeMarker.NamespaceURI, 'xlink', 'href']`.\n *\n * @param name Name of the attribute, including the namespace.\n */\nfunction getAttributeNameLiterals(name) {\n    const [attributeNamespace, attributeName] = splitNsName(name);\n    const nameLiteral = literal(attributeName);\n    if (attributeNamespace) {\n        return [\n            literal(0 /* NamespaceURI */), literal(attributeNamespace), nameLiteral\n        ];\n    }\n    return [nameLiteral];\n}\n/** The prefix used to get a shared context in BindingScope's map. */\nconst SHARED_CONTEXT_KEY = '$$shared_ctx$$';\nclass BindingScope {\n    constructor(bindingLevel = 0, parent = null) {\n        this.bindingLevel = bindingLevel;\n        this.parent = parent;\n        /** Keeps a map from local variables to their BindingData. */\n        this.map = new Map();\n        this.referenceNameIndex = 0;\n        this.restoreViewVariable = null;\n    }\n    static get ROOT_SCOPE() {\n        if (!BindingScope._ROOT_SCOPE) {\n            BindingScope._ROOT_SCOPE = new BindingScope().set(0, '$event', variable('$event'));\n        }\n        return BindingScope._ROOT_SCOPE;\n    }\n    get(name) {\n        let current = this;\n        while (current) {\n            let value = current.map.get(name);\n            if (value != null) {\n                if (current !== this) {\n                    // make a local copy and reset the `declare` state\n                    value = {\n                        retrievalLevel: value.retrievalLevel,\n                        lhs: value.lhs,\n                        declareLocalCallback: value.declareLocalCallback,\n                        declare: false,\n                        priority: value.priority,\n                        localRef: value.localRef\n                    };\n                    // Cache the value locally.\n                    this.map.set(name, value);\n                    // Possibly generate a shared context var\n                    this.maybeGenerateSharedContextVar(value);\n                    this.maybeRestoreView(value.retrievalLevel, value.localRef);\n                }\n                if (value.declareLocalCallback && !value.declare) {\n                    value.declare = true;\n                }\n                return value.lhs;\n            }\n            current = current.parent;\n        }\n        // If we get to this point, we are looking for a property on the top level component\n        // - If level === 0, we are on the top and don't need to re-declare `ctx`.\n        // - If level > 0, we are in an embedded view. We need to retrieve the name of the\n        // local var we used to store the component context, e.g. const $comp$ = x();\n        return this.bindingLevel === 0 ? null : this.getComponentProperty(name);\n    }\n    /**\n     * Create a local variable for later reference.\n     *\n     * @param retrievalLevel The level from which this value can be retrieved\n     * @param name Name of the variable.\n     * @param lhs AST representing the left hand side of the `let lhs = rhs;`.\n     * @param priority The sorting priority of this var\n     * @param declareLocalCallback The callback to invoke when declaring this local var\n     * @param localRef Whether or not this is a local ref\n     */\n    set(retrievalLevel, name, lhs, priority = 0 /* DEFAULT */, declareLocalCallback, localRef) {\n        if (this.map.has(name)) {\n            if (localRef) {\n                // Do not throw an error if it's a local ref and do not update existing value,\n                // so the first defined ref is always returned.\n                return this;\n            }\n            error(`The name ${name} is already defined in scope to be ${this.map.get(name)}`);\n        }\n        this.map.set(name, {\n            retrievalLevel: retrievalLevel,\n            lhs: lhs,\n            declare: false,\n            declareLocalCallback: declareLocalCallback,\n            priority: priority,\n            localRef: localRef || false\n        });\n        return this;\n    }\n    // Implemented as part of LocalResolver.\n    getLocal(name) { return this.get(name); }\n    // Implemented as part of LocalResolver.\n    notifyImplicitReceiverUse() {\n        if (this.bindingLevel !== 0) {\n            // Since the implicit receiver is accessed in an embedded view, we need to\n            // ensure that we declare a shared context variable for the current template\n            // in the update variables.\n            this.map.get(SHARED_CONTEXT_KEY + 0).declare = true;\n        }\n    }\n    nestedScope(level) {\n        const newScope = new BindingScope(level, this);\n        if (level > 0)\n            newScope.generateSharedContextVar(0);\n        return newScope;\n    }\n    /**\n     * Gets or creates a shared context variable and returns its expression. Note that\n     * this does not mean that the shared variable will be declared. Variables in the\n     * binding scope will be only declared if they are used.\n     */\n    getOrCreateSharedContextVar(retrievalLevel) {\n        const bindingKey = SHARED_CONTEXT_KEY + retrievalLevel;\n        if (!this.map.has(bindingKey)) {\n            this.generateSharedContextVar(retrievalLevel);\n        }\n        // Shared context variables are always generated as \"ReadVarExpr\".\n        return this.map.get(bindingKey).lhs;\n    }\n    getSharedContextName(retrievalLevel) {\n        const sharedCtxObj = this.map.get(SHARED_CONTEXT_KEY + retrievalLevel);\n        // Shared context variables are always generated as \"ReadVarExpr\".\n        return sharedCtxObj && sharedCtxObj.declare ? sharedCtxObj.lhs : null;\n    }\n    maybeGenerateSharedContextVar(value) {\n        if (value.priority === 1 /* CONTEXT */ &&\n            value.retrievalLevel < this.bindingLevel) {\n            const sharedCtxObj = this.map.get(SHARED_CONTEXT_KEY + value.retrievalLevel);\n            if (sharedCtxObj) {\n                sharedCtxObj.declare = true;\n            }\n            else {\n                this.generateSharedContextVar(value.retrievalLevel);\n            }\n        }\n    }\n    generateSharedContextVar(retrievalLevel) {\n        const lhs = variable(CONTEXT_NAME + this.freshReferenceName());\n        this.map.set(SHARED_CONTEXT_KEY + retrievalLevel, {\n            retrievalLevel: retrievalLevel,\n            lhs: lhs,\n            declareLocalCallback: (scope, relativeLevel) => {\n                // const ctx_r0 = nextContext(2);\n                return [lhs.set(generateNextContextExpr(relativeLevel)).toConstDecl()];\n            },\n            declare: false,\n            priority: 2 /* SHARED_CONTEXT */,\n            localRef: false\n        });\n    }\n    getComponentProperty(name) {\n        const componentValue = this.map.get(SHARED_CONTEXT_KEY + 0);\n        componentValue.declare = true;\n        this.maybeRestoreView(0, false);\n        return componentValue.lhs.prop(name);\n    }\n    maybeRestoreView(retrievalLevel, localRefLookup) {\n        // We want to restore the current view in listener fns if:\n        // 1 - we are accessing a value in a parent view, which requires walking the view tree rather\n        // than using the ctx arg. In this case, the retrieval and binding level will be different.\n        // 2 - we are looking up a local ref, which requires restoring the view where the local\n        // ref is stored\n        if (this.isListenerScope() && (retrievalLevel < this.bindingLevel || localRefLookup)) {\n            if (!this.parent.restoreViewVariable) {\n                // parent saves variable to generate a shared `const $s$ = getCurrentView();` instruction\n                this.parent.restoreViewVariable = variable(this.parent.freshReferenceName());\n            }\n            this.restoreViewVariable = this.parent.restoreViewVariable;\n        }\n    }\n    restoreViewStatement() {\n        // restoreView($state$);\n        return this.restoreViewVariable ?\n            [instruction(null, Identifiers$1.restoreView, [this.restoreViewVariable]).toStmt()] :\n            [];\n    }\n    viewSnapshotStatements() {\n        // const $state$ = getCurrentView();\n        const getCurrentViewInstruction = instruction(null, Identifiers$1.getCurrentView, []);\n        return this.restoreViewVariable ?\n            [this.restoreViewVariable.set(getCurrentViewInstruction).toConstDecl()] :\n            [];\n    }\n    isListenerScope() { return this.parent && this.parent.bindingLevel === this.bindingLevel; }\n    variableDeclarations() {\n        let currentContextLevel = 0;\n        return Array.from(this.map.values())\n            .filter(value => value.declare)\n            .sort((a, b) => b.retrievalLevel - a.retrievalLevel || b.priority - a.priority)\n            .reduce((stmts, value) => {\n            const levelDiff = this.bindingLevel - value.retrievalLevel;\n            const currStmts = value.declareLocalCallback(this, levelDiff - currentContextLevel);\n            currentContextLevel = levelDiff;\n            return stmts.concat(currStmts);\n        }, []);\n    }\n    freshReferenceName() {\n        let current = this;\n        // Find the top scope as it maintains the global reference count\n        while (current.parent)\n            current = current.parent;\n        const ref = `${REFERENCE_PREFIX}${current.referenceNameIndex++}`;\n        return ref;\n    }\n}\n/**\n * Creates a `CssSelector` given a tag name and a map of attributes\n */\nfunction createCssSelector(tag, attributes) {\n    const cssSelector = new CssSelector();\n    cssSelector.setElement(tag);\n    Object.getOwnPropertyNames(attributes).forEach((name) => {\n        const value = attributes[name];\n        cssSelector.addAttribute(name, value);\n        if (name.toLowerCase() === 'class') {\n            const classes = value.trim().split(/\\s+/);\n            classes.forEach(className => cssSelector.addClassName(className));\n        }\n    });\n    return cssSelector;\n}\n/**\n * Creates an array of expressions out of an `ngProjectAs` attributes\n * which can be added to the instruction parameters.\n */\nfunction getNgProjectAsLiteral(attribute) {\n    // Parse the attribute value into a CssSelectorList. Note that we only take the\n    // first selector, because we don't support multiple selectors in ngProjectAs.\n    const parsedR3Selector = parseSelectorToR3Selector(attribute.value)[0];\n    return [literal(5 /* ProjectAs */), asLiteral(parsedR3Selector)];\n}\n/**\n * Gets the instruction to generate for an interpolated property\n * @param interpolation An Interpolation AST\n */\nfunction getPropertyInterpolationExpression(interpolation) {\n    switch (getInterpolationArgsLength(interpolation)) {\n        case 1:\n            return Identifiers$1.propertyInterpolate;\n        case 3:\n            return Identifiers$1.propertyInterpolate1;\n        case 5:\n            return Identifiers$1.propertyInterpolate2;\n        case 7:\n            return Identifiers$1.propertyInterpolate3;\n        case 9:\n            return Identifiers$1.propertyInterpolate4;\n        case 11:\n            return Identifiers$1.propertyInterpolate5;\n        case 13:\n            return Identifiers$1.propertyInterpolate6;\n        case 15:\n            return Identifiers$1.propertyInterpolate7;\n        case 17:\n            return Identifiers$1.propertyInterpolate8;\n        default:\n            return Identifiers$1.propertyInterpolateV;\n    }\n}\n/**\n * Gets the instruction to generate for an interpolated attribute\n * @param interpolation An Interpolation AST\n */\nfunction getAttributeInterpolationExpression(interpolation) {\n    switch (getInterpolationArgsLength(interpolation)) {\n        case 3:\n            return Identifiers$1.attributeInterpolate1;\n        case 5:\n            return Identifiers$1.attributeInterpolate2;\n        case 7:\n            return Identifiers$1.attributeInterpolate3;\n        case 9:\n            return Identifiers$1.attributeInterpolate4;\n        case 11:\n            return Identifiers$1.attributeInterpolate5;\n        case 13:\n            return Identifiers$1.attributeInterpolate6;\n        case 15:\n            return Identifiers$1.attributeInterpolate7;\n        case 17:\n            return Identifiers$1.attributeInterpolate8;\n        default:\n            return Identifiers$1.attributeInterpolateV;\n    }\n}\n/**\n * Gets the instruction to generate for interpolated text.\n * @param interpolation An Interpolation AST\n */\nfunction getTextInterpolationExpression(interpolation) {\n    switch (getInterpolationArgsLength(interpolation)) {\n        case 1:\n            return Identifiers$1.textInterpolate;\n        case 3:\n            return Identifiers$1.textInterpolate1;\n        case 5:\n            return Identifiers$1.textInterpolate2;\n        case 7:\n            return Identifiers$1.textInterpolate3;\n        case 9:\n            return Identifiers$1.textInterpolate4;\n        case 11:\n            return Identifiers$1.textInterpolate5;\n        case 13:\n            return Identifiers$1.textInterpolate6;\n        case 15:\n            return Identifiers$1.textInterpolate7;\n        case 17:\n            return Identifiers$1.textInterpolate8;\n        default:\n            return Identifiers$1.textInterpolateV;\n    }\n}\n/**\n * Parse a template into render3 `Node`s and additional metadata, with no other dependencies.\n *\n * @param template text of the template to parse\n * @param templateUrl URL to use for source mapping of the parsed template\n * @param options options to modify how the template is parsed\n */\nfunction parseTemplate(template, templateUrl, options = {}) {\n    const { interpolationConfig, preserveWhitespaces } = options;\n    const bindingParser = makeBindingParser(interpolationConfig);\n    const htmlParser = new HtmlParser();\n    const parseResult = htmlParser.parse(template, templateUrl, Object.assign({ leadingTriviaChars: LEADING_TRIVIA_CHARS }, options, { tokenizeExpansionForms: true }));\n    if (parseResult.errors && parseResult.errors.length > 0) {\n        return { errors: parseResult.errors, nodes: [], styleUrls: [], styles: [] };\n    }\n    let rootNodes = parseResult.rootNodes;\n    // process i18n meta information (scan attributes, generate ids)\n    // before we run whitespace removal process, because existing i18n\n    // extraction process (ng xi18n) relies on a raw content to generate\n    // message ids\n    rootNodes =\n        visitAll$1(new I18nMetaVisitor(interpolationConfig, !preserveWhitespaces), rootNodes);\n    if (!preserveWhitespaces) {\n        rootNodes = visitAll$1(new WhitespaceVisitor(), rootNodes);\n        // run i18n meta visitor again in case we remove whitespaces, because\n        // that might affect generated i18n message content. During this pass\n        // i18n IDs generated at the first pass will be preserved, so we can mimic\n        // existing extraction process (ng xi18n)\n        rootNodes = visitAll$1(new I18nMetaVisitor(interpolationConfig, /* keepI18nAttrs */ false), rootNodes);\n    }\n    const { nodes, errors, styleUrls, styles } = htmlAstToRender3Ast(rootNodes, bindingParser);\n    if (errors && errors.length > 0) {\n        return { errors, nodes: [], styleUrls: [], styles: [] };\n    }\n    return { nodes, styleUrls, styles };\n}\n/**\n * Construct a `BindingParser` with a default configuration.\n */\nfunction makeBindingParser(interpolationConfig = DEFAULT_INTERPOLATION_CONFIG) {\n    return new BindingParser(new Parser$1(new Lexer()), interpolationConfig, new DomElementSchemaRegistry(), null, []);\n}\nfunction resolveSanitizationFn(context, isAttribute) {\n    switch (context) {\n        case SecurityContext.HTML:\n            return importExpr(Identifiers$1.sanitizeHtml);\n        case SecurityContext.SCRIPT:\n            return importExpr(Identifiers$1.sanitizeScript);\n        case SecurityContext.STYLE:\n            // the compiler does not fill in an instruction for [style.prop?] binding\n            // values because the style algorithm knows internally what props are subject\n            // to sanitization (only [attr.style] values are explicitly sanitized)\n            return isAttribute ? importExpr(Identifiers$1.sanitizeStyle) : null;\n        case SecurityContext.URL:\n            return importExpr(Identifiers$1.sanitizeUrl);\n        case SecurityContext.RESOURCE_URL:\n            return importExpr(Identifiers$1.sanitizeResourceUrl);\n        default:\n            return null;\n    }\n}\nfunction isSingleElementTemplate(children) {\n    return children.length === 1 && children[0] instanceof Element;\n}\nfunction isTextNode(node) {\n    return node instanceof Text || node instanceof BoundText || node instanceof Icu;\n}\nfunction hasTextChildrenOnly(children) {\n    return children.every(isTextNode);\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst EMPTY_ARRAY = [];\n// This regex matches any binding names that contain the \"attr.\" prefix, e.g. \"attr.required\"\n// If there is a match, the first matching group will contain the attribute name to bind.\nconst ATTR_REGEX = /attr\\.([^\\]]+)/;\nfunction getStylingPrefix(name) {\n    return name.substring(0, 5); // style or class\n}\nfunction baseDirectiveFields(meta, constantPool, bindingParser) {\n    const definitionMap = new DefinitionMap();\n    // e.g. `type: MyDirective`\n    definitionMap.set('type', meta.type);\n    // e.g. `selectors: [['', 'someDir', '']]`\n    definitionMap.set('selectors', createDirectiveSelector(meta.selector));\n    // e.g. `factory: () => new MyApp(directiveInject(ElementRef))`\n    const result = compileFactoryFunction({\n        name: meta.name,\n        type: meta.type,\n        deps: meta.deps,\n        injectFn: Identifiers$1.directiveInject,\n    });\n    definitionMap.set('factory', result.factory);\n    if (meta.queries.length > 0) {\n        // e.g. `contentQueries: (rf, ctx, dirIndex) => { ... }\n        definitionMap.set('contentQueries', createContentQueriesFunction(meta.queries, constantPool, meta.name));\n    }\n    if (meta.viewQueries.length) {\n        definitionMap.set('viewQuery', createViewQueriesFunction(meta.viewQueries, constantPool, meta.name));\n    }\n    // e.g. `hostBindings: (rf, ctx, elIndex) => { ... }\n    definitionMap.set('hostBindings', createHostBindingsFunction(meta.host, meta.typeSourceSpan, bindingParser, constantPool, meta.selector || '', meta.name));\n    // e.g 'inputs: {a: 'a'}`\n    definitionMap.set('inputs', conditionallyCreateMapObjectLiteral(meta.inputs, true));\n    // e.g 'outputs: {a: 'a'}`\n    definitionMap.set('outputs', conditionallyCreateMapObjectLiteral(meta.outputs));\n    if (meta.exportAs !== null) {\n        definitionMap.set('exportAs', literalArr(meta.exportAs.map(e => literal(e))));\n    }\n    return { definitionMap, statements: result.statements };\n}\n/**\n * Add features to the definition map.\n */\nfunction addFeatures(definitionMap, meta) {\n    // e.g. `features: [NgOnChangesFeature()]`\n    const features = [];\n    const providers = meta.providers;\n    const viewProviders = meta.viewProviders;\n    if (providers || viewProviders) {\n        const args = [providers || new LiteralArrayExpr([])];\n        if (viewProviders) {\n            args.push(viewProviders);\n        }\n        features.push(importExpr(Identifiers$1.ProvidersFeature).callFn(args));\n    }\n    if (meta.usesInheritance) {\n        features.push(importExpr(Identifiers$1.InheritDefinitionFeature));\n    }\n    if (meta.lifecycle.usesOnChanges) {\n        features.push(importExpr(Identifiers$1.NgOnChangesFeature).callFn(EMPTY_ARRAY));\n    }\n    if (features.length) {\n        definitionMap.set('features', literalArr(features));\n    }\n}\n/**\n * Compile a directive for the render3 runtime as defined by the `R3DirectiveMetadata`.\n */\nfunction compileDirectiveFromMetadata(meta, constantPool, bindingParser) {\n    const { definitionMap, statements } = baseDirectiveFields(meta, constantPool, bindingParser);\n    addFeatures(definitionMap, meta);\n    const expression = importExpr(Identifiers$1.defineDirective).callFn([definitionMap.toLiteralMap()]);\n    if (!meta.selector) {\n        throw new Error(`Directive ${meta.name} has no selector, please add it!`);\n    }\n    const type = createTypeForDef(meta, Identifiers$1.DirectiveDefWithMeta);\n    return { expression, type, statements };\n}\n/**\n * Compile a base definition for the render3 runtime as defined by {@link R3BaseRefMetadata}\n * @param meta the metadata used for compilation.\n */\nfunction compileBaseDefFromMetadata(meta, constantPool, bindingParser) {\n    const definitionMap = new DefinitionMap();\n    if (meta.inputs) {\n        const inputs = meta.inputs;\n        const inputsMap = Object.keys(inputs).map(key => {\n            const v = inputs[key];\n            const value = Array.isArray(v) ? literalArr(v.map(vx => literal(vx))) : literal(v);\n            return { key, value, quoted: false };\n        });\n        definitionMap.set('inputs', literalMap(inputsMap));\n    }\n    if (meta.outputs) {\n        const outputs = meta.outputs;\n        const outputsMap = Object.keys(outputs).map(key => {\n            const value = literal(outputs[key]);\n            return { key, value, quoted: false };\n        });\n        definitionMap.set('outputs', literalMap(outputsMap));\n    }\n    if (meta.viewQueries && meta.viewQueries.length > 0) {\n        definitionMap.set('viewQuery', createViewQueriesFunction(meta.viewQueries, constantPool));\n    }\n    if (meta.queries && meta.queries.length > 0) {\n        definitionMap.set('contentQueries', createContentQueriesFunction(meta.queries, constantPool));\n    }\n    if (meta.host) {\n        definitionMap.set('hostBindings', createHostBindingsFunction(meta.host, meta.typeSourceSpan, bindingParser, constantPool, meta.name));\n    }\n    const expression = importExpr(Identifiers$1.defineBase).callFn([definitionMap.toLiteralMap()]);\n    const type = new ExpressionType(importExpr(Identifiers$1.BaseDef), /* modifiers */ null, [expressionType(meta.type)]);\n    return { expression, type };\n}\n/**\n * Compile a component for the render3 runtime as defined by the `R3ComponentMetadata`.\n */\nfunction compileComponentFromMetadata(meta, constantPool, bindingParser) {\n    const { definitionMap, statements } = baseDirectiveFields(meta, constantPool, bindingParser);\n    addFeatures(definitionMap, meta);\n    const selector = meta.selector && CssSelector.parse(meta.selector);\n    const firstSelector = selector && selector[0];\n    // e.g. `attr: [\"class\", \".my.app\"]`\n    // This is optional an only included if the first selector of a component specifies attributes.\n    if (firstSelector) {\n        const selectorAttributes = firstSelector.getAttrs();\n        if (selectorAttributes.length) {\n            definitionMap.set('attrs', constantPool.getConstLiteral(literalArr(selectorAttributes.map(value => value != null ? literal(value) : literal(undefined))), \n            /* forceShared */ true));\n        }\n    }\n    // Generate the CSS matcher that recognize directive\n    let directiveMatcher = null;\n    if (meta.directives.length > 0) {\n        const matcher = new SelectorMatcher();\n        for (const { selector, expression } of meta.directives) {\n            matcher.addSelectables(CssSelector.parse(selector), expression);\n        }\n        directiveMatcher = matcher;\n    }\n    // e.g. `template: function MyComponent_Template(_ctx, _cm) {...}`\n    const templateTypeName = meta.name;\n    const templateName = templateTypeName ? `${templateTypeName}_Template` : null;\n    const directivesUsed = new Set();\n    const pipesUsed = new Set();\n    const changeDetection = meta.changeDetection;\n    const template = meta.template;\n    const templateBuilder = new TemplateDefinitionBuilder(constantPool, BindingScope.ROOT_SCOPE, 0, templateTypeName, null, null, templateName, directiveMatcher, directivesUsed, meta.pipes, pipesUsed, Identifiers$1.namespaceHTML, meta.relativeContextFilePath, meta.i18nUseExternalIds);\n    const templateFunctionExpression = templateBuilder.buildTemplateFunction(template.nodes, []);\n    // We need to provide this so that dynamically generated components know what\n    // projected content blocks to pass through to the component when it is instantiated.\n    const ngContentSelectors = templateBuilder.getNgContentSelectors();\n    if (ngContentSelectors) {\n        definitionMap.set('ngContentSelectors', ngContentSelectors);\n    }\n    // e.g. `consts: 2`\n    definitionMap.set('consts', literal(templateBuilder.getConstCount()));\n    // e.g. `vars: 2`\n    definitionMap.set('vars', literal(templateBuilder.getVarCount()));\n    definitionMap.set('template', templateFunctionExpression);\n    // e.g. `directives: [MyDirective]`\n    if (directivesUsed.size) {\n        let directivesExpr = literalArr(Array.from(directivesUsed));\n        if (meta.wrapDirectivesAndPipesInClosure) {\n            directivesExpr = fn([], [new ReturnStatement(directivesExpr)]);\n        }\n        definitionMap.set('directives', directivesExpr);\n    }\n    // e.g. `pipes: [MyPipe]`\n    if (pipesUsed.size) {\n        let pipesExpr = literalArr(Array.from(pipesUsed));\n        if (meta.wrapDirectivesAndPipesInClosure) {\n            pipesExpr = fn([], [new ReturnStatement(pipesExpr)]);\n        }\n        definitionMap.set('pipes', pipesExpr);\n    }\n    if (meta.encapsulation === null) {\n        meta.encapsulation = ViewEncapsulation.Emulated;\n    }\n    // e.g. `styles: [str1, str2]`\n    if (meta.styles && meta.styles.length) {\n        const styleValues = meta.encapsulation == ViewEncapsulation.Emulated ?\n            compileStyles(meta.styles, CONTENT_ATTR, HOST_ATTR) :\n            meta.styles;\n        const strings = styleValues.map(str => literal(str));\n        definitionMap.set('styles', literalArr(strings));\n    }\n    else if (meta.encapsulation === ViewEncapsulation.Emulated) {\n        // If there is no style, don't generate css selectors on elements\n        meta.encapsulation = ViewEncapsulation.None;\n    }\n    // Only set view encapsulation if it's not the default value\n    if (meta.encapsulation !== ViewEncapsulation.Emulated) {\n        definitionMap.set('encapsulation', literal(meta.encapsulation));\n    }\n    // e.g. `animation: [trigger('123', [])]`\n    if (meta.animations !== null) {\n        definitionMap.set('data', literalMap([{ key: 'animation', value: meta.animations, quoted: false }]));\n    }\n    // Only set the change detection flag if it's defined and it's not the default.\n    if (changeDetection != null && changeDetection !== ChangeDetectionStrategy.Default) {\n        definitionMap.set('changeDetection', literal(changeDetection));\n    }\n    // On the type side, remove newlines from the selector as it will need to fit into a TypeScript\n    // string literal, which must be on one line.\n    const selectorForType = (meta.selector || '').replace(/\\n/g, '');\n    const expression = importExpr(Identifiers$1.defineComponent).callFn([definitionMap.toLiteralMap()]);\n    const type = createTypeForDef(meta, Identifiers$1.ComponentDefWithMeta);\n    return { expression, type, statements };\n}\n/**\n * A wrapper around `compileDirective` which depends on render2 global analysis data as its input\n * instead of the `R3DirectiveMetadata`.\n *\n * `R3DirectiveMetadata` is computed from `CompileDirectiveMetadata` and other statically reflected\n * information.\n */\nfunction compileDirectiveFromRender2(outputCtx, directive, reflector, bindingParser) {\n    const name = identifierName(directive.type);\n    name || error(`Cannot resolver the name of ${directive.type}`);\n    const definitionField = outputCtx.constantPool.propertyNameOf(1 /* Directive */);\n    const meta = directiveMetadataFromGlobalMetadata(directive, outputCtx, reflector);\n    const res = compileDirectiveFromMetadata(meta, outputCtx.constantPool, bindingParser);\n    // Create the partial class to be merged with the actual class.\n    outputCtx.statements.push(new ClassStmt(name, null, [new ClassField(definitionField, INFERRED_TYPE, [StmtModifier.Static], res.expression)], [], new ClassMethod(null, [], []), []));\n}\n/**\n * A wrapper around `compileComponent` which depends on render2 global analysis data as its input\n * instead of the `R3DirectiveMetadata`.\n *\n * `R3ComponentMetadata` is computed from `CompileDirectiveMetadata` and other statically reflected\n * information.\n */\nfunction compileComponentFromRender2(outputCtx, component, render3Ast, reflector, bindingParser, directiveTypeBySel, pipeTypeByName) {\n    const name = identifierName(component.type);\n    name || error(`Cannot resolver the name of ${component.type}`);\n    const definitionField = outputCtx.constantPool.propertyNameOf(2 /* Component */);\n    const summary = component.toSummary();\n    // Compute the R3ComponentMetadata from the CompileDirectiveMetadata\n    const meta = Object.assign({}, directiveMetadataFromGlobalMetadata(component, outputCtx, reflector), { selector: component.selector, template: { nodes: render3Ast.nodes }, directives: [], pipes: typeMapToExpressionMap(pipeTypeByName, outputCtx), viewQueries: queriesFromGlobalMetadata(component.viewQueries, outputCtx), wrapDirectivesAndPipesInClosure: false, styles: (summary.template && summary.template.styles) || EMPTY_ARRAY, encapsulation: (summary.template && summary.template.encapsulation) || ViewEncapsulation.Emulated, interpolation: DEFAULT_INTERPOLATION_CONFIG, animations: null, viewProviders: component.viewProviders.length > 0 ? new WrappedNodeExpr(component.viewProviders) : null, relativeContextFilePath: '', i18nUseExternalIds: true });\n    const res = compileComponentFromMetadata(meta, outputCtx.constantPool, bindingParser);\n    // Create the partial class to be merged with the actual class.\n    outputCtx.statements.push(new ClassStmt(name, null, [new ClassField(definitionField, INFERRED_TYPE, [StmtModifier.Static], res.expression)], [], new ClassMethod(null, [], []), []));\n}\n/**\n * Compute `R3DirectiveMetadata` given `CompileDirectiveMetadata` and a `CompileReflector`.\n */\nfunction directiveMetadataFromGlobalMetadata(directive, outputCtx, reflector) {\n    // The global-analysis based Ivy mode in ngc is no longer utilized/supported.\n    throw new Error('unsupported');\n}\n/**\n * Convert `CompileQueryMetadata` into `R3QueryMetadata`.\n */\nfunction queriesFromGlobalMetadata(queries, outputCtx) {\n    return queries.map(query => {\n        let read = null;\n        if (query.read && query.read.identifier) {\n            read = outputCtx.importExpr(query.read.identifier.reference);\n        }\n        return {\n            propertyName: query.propertyName,\n            first: query.first,\n            predicate: selectorsFromGlobalMetadata(query.selectors, outputCtx),\n            descendants: query.descendants, read,\n            static: !!query.static\n        };\n    });\n}\n/**\n * Convert `CompileTokenMetadata` for query selectors into either an expression for a predicate\n * type, or a list of string predicates.\n */\nfunction selectorsFromGlobalMetadata(selectors, outputCtx) {\n    if (selectors.length > 1 || (selectors.length == 1 && selectors[0].value)) {\n        const selectorStrings = selectors.map(value => value.value);\n        selectorStrings.some(value => !value) &&\n            error('Found a type among the string selectors expected');\n        return outputCtx.constantPool.getConstLiteral(literalArr(selectorStrings.map(value => literal(value))));\n    }\n    if (selectors.length == 1) {\n        const first = selectors[0];\n        if (first.identifier) {\n            return outputCtx.importExpr(first.identifier.reference);\n        }\n    }\n    error('Unexpected query form');\n    return NULL_EXPR;\n}\nfunction prepareQueryParams(query, constantPool) {\n    const parameters = [getQueryPredicate(query, constantPool), literal(query.descendants)];\n    if (query.read) {\n        parameters.push(query.read);\n    }\n    return parameters;\n}\n// Turn a directive selector into an R3-compatible selector for directive def\nfunction createDirectiveSelector(selector) {\n    return asLiteral(parseSelectorToR3Selector(selector));\n}\nfunction convertAttributesToExpressions(attributes) {\n    const values = [];\n    for (let key of Object.getOwnPropertyNames(attributes)) {\n        const value = attributes[key];\n        values.push(literal(key), value);\n    }\n    return values;\n}\n// Define and update any content queries\nfunction createContentQueriesFunction(queries, constantPool, name) {\n    const createStatements = [];\n    const updateStatements = [];\n    const tempAllocator = temporaryAllocator(updateStatements, TEMPORARY_NAME);\n    for (const query of queries) {\n        const queryInstruction = query.static ? Identifiers$1.staticContentQuery : Identifiers$1.contentQuery;\n        // creation, e.g. r3.contentQuery(dirIndex, somePredicate, true, null);\n        createStatements.push(importExpr(queryInstruction)\n            .callFn([variable('dirIndex'), ...prepareQueryParams(query, constantPool)])\n            .toStmt());\n        // update, e.g. (r3.queryRefresh(tmp = r3.loadContentQuery()) && (ctx.someDir = tmp));\n        const temporary = tempAllocator();\n        const getQueryList = importExpr(Identifiers$1.loadContentQuery).callFn([]);\n        const refresh = importExpr(Identifiers$1.queryRefresh).callFn([temporary.set(getQueryList)]);\n        const updateDirective = variable(CONTEXT_NAME)\n            .prop(query.propertyName)\n            .set(query.first ? temporary.prop('first') : temporary);\n        updateStatements.push(refresh.and(updateDirective).toStmt());\n    }\n    const contentQueriesFnName = name ? `${name}_ContentQueries` : null;\n    return fn([\n        new FnParam(RENDER_FLAGS, NUMBER_TYPE), new FnParam(CONTEXT_NAME, null),\n        new FnParam('dirIndex', null)\n    ], [\n        renderFlagCheckIfStmt(1 /* Create */, createStatements),\n        renderFlagCheckIfStmt(2 /* Update */, updateStatements)\n    ], INFERRED_TYPE, null, contentQueriesFnName);\n}\nfunction stringAsType(str) {\n    return expressionType(literal(str));\n}\nfunction stringMapAsType(map) {\n    const mapValues = Object.keys(map).map(key => {\n        const value = Array.isArray(map[key]) ? map[key][0] : map[key];\n        return {\n            key,\n            value: literal(value),\n            quoted: true,\n        };\n    });\n    return expressionType(literalMap(mapValues));\n}\nfunction stringArrayAsType(arr) {\n    return arr.length > 0 ? expressionType(literalArr(arr.map(value => literal(value)))) :\n        NONE_TYPE;\n}\nfunction createTypeForDef(meta, typeBase) {\n    // On the type side, remove newlines from the selector as it will need to fit into a TypeScript\n    // string literal, which must be on one line.\n    const selectorForType = (meta.selector || '').replace(/\\n/g, '');\n    return expressionType(importExpr(typeBase, [\n        typeWithParameters(meta.type, meta.typeArgumentCount),\n        stringAsType(selectorForType),\n        meta.exportAs !== null ? stringArrayAsType(meta.exportAs) : NONE_TYPE,\n        stringMapAsType(meta.inputs),\n        stringMapAsType(meta.outputs),\n        stringArrayAsType(meta.queries.map(q => q.propertyName)),\n    ]));\n}\n// Define and update any view queries\nfunction createViewQueriesFunction(viewQueries, constantPool, name) {\n    const createStatements = [];\n    const updateStatements = [];\n    const tempAllocator = temporaryAllocator(updateStatements, TEMPORARY_NAME);\n    viewQueries.forEach((query) => {\n        const queryInstruction = query.static ? Identifiers$1.staticViewQuery : Identifiers$1.viewQuery;\n        // creation, e.g. r3.viewQuery(somePredicate, true);\n        const queryDefinition = importExpr(queryInstruction).callFn(prepareQueryParams(query, constantPool));\n        createStatements.push(queryDefinition.toStmt());\n        // update, e.g. (r3.queryRefresh(tmp = r3.loadViewQuery()) && (ctx.someDir = tmp));\n        const temporary = tempAllocator();\n        const getQueryList = importExpr(Identifiers$1.loadViewQuery).callFn([]);\n        const refresh = importExpr(Identifiers$1.queryRefresh).callFn([temporary.set(getQueryList)]);\n        const updateDirective = variable(CONTEXT_NAME)\n            .prop(query.propertyName)\n            .set(query.first ? temporary.prop('first') : temporary);\n        updateStatements.push(refresh.and(updateDirective).toStmt());\n    });\n    const viewQueryFnName = name ? `${name}_Query` : null;\n    return fn([new FnParam(RENDER_FLAGS, NUMBER_TYPE), new FnParam(CONTEXT_NAME, null)], [\n        renderFlagCheckIfStmt(1 /* Create */, createStatements),\n        renderFlagCheckIfStmt(2 /* Update */, updateStatements)\n    ], INFERRED_TYPE, null, viewQueryFnName);\n}\n// Return a host binding function or null if one is not necessary.\nfunction createHostBindingsFunction(hostBindingsMetadata, typeSourceSpan, bindingParser, constantPool, selector, name) {\n    // Initialize hostVarsCount to number of bound host properties (interpolations illegal)\n    const hostVarsCount = Object.keys(hostBindingsMetadata.properties).length;\n    const elVarExp = variable('elIndex');\n    const bindingContext = variable(CONTEXT_NAME);\n    const styleBuilder = new StylingBuilder(elVarExp, bindingContext);\n    const { styleAttr, classAttr } = hostBindingsMetadata.specialAttributes;\n    if (styleAttr !== undefined) {\n        styleBuilder.registerStyleAttr(styleAttr);\n    }\n    if (classAttr !== undefined) {\n        styleBuilder.registerClassAttr(classAttr);\n    }\n    const createStatements = [];\n    const updateStatements = [];\n    let totalHostVarsCount = hostVarsCount;\n    const hostBindingSourceSpan = typeSourceSpan;\n    const directiveSummary = metadataAsSummary(hostBindingsMetadata);\n    let valueConverter;\n    const getValueConverter = () => {\n        if (!valueConverter) {\n            const hostVarsCountFn = (numSlots) => {\n                const originalVarsCount = totalHostVarsCount;\n                totalHostVarsCount += numSlots;\n                return originalVarsCount;\n            };\n            valueConverter = new ValueConverter(constantPool, () => error('Unexpected node'), // new nodes are illegal here\n            hostVarsCountFn, () => error('Unexpected pipe')); // pipes are illegal here\n        }\n        return valueConverter;\n    };\n    // Calculate host event bindings\n    const eventBindings = bindingParser.createDirectiveHostEventAsts(directiveSummary, hostBindingSourceSpan);\n    if (eventBindings && eventBindings.length) {\n        const listeners = createHostListeners(eventBindings, name);\n        createStatements.push(...listeners);\n    }\n    // Calculate the host property bindings\n    const bindings = bindingParser.createBoundHostProperties(directiveSummary, hostBindingSourceSpan);\n    const propertyBindings = [];\n    const attributeBindings = [];\n    const syntheticHostBindings = [];\n    bindings && bindings.forEach((binding) => {\n        const name = binding.name;\n        const stylingInputWasSet = styleBuilder.registerInputBasedOnName(name, binding.expression, binding.sourceSpan);\n        if (!stylingInputWasSet) {\n            // resolve literal arrays and literal objects\n            const value = binding.expression.visit(getValueConverter());\n            const bindingExpr = bindingFn(bindingContext, value);\n            const { bindingName, instruction, isAttribute } = getBindingNameAndInstruction(binding);\n            const securityContexts = bindingParser.calcPossibleSecurityContexts(selector, bindingName, isAttribute)\n                .filter(context => context !== SecurityContext.NONE);\n            let sanitizerFn = null;\n            if (securityContexts.length) {\n                if (securityContexts.length === 2 &&\n                    securityContexts.indexOf(SecurityContext.URL) > -1 &&\n                    securityContexts.indexOf(SecurityContext.RESOURCE_URL) > -1) {\n                    // Special case for some URL attributes (such as \"src\" and \"href\") that may be a part\n                    // of different security contexts. In this case we use special santitization function and\n                    // select the actual sanitizer at runtime based on a tag name that is provided while\n                    // invoking sanitization function.\n                    sanitizerFn = importExpr(Identifiers$1.sanitizeUrlOrResourceUrl);\n                }\n                else {\n                    sanitizerFn = resolveSanitizationFn(securityContexts[0], isAttribute);\n                }\n            }\n            const instructionParams = [literal(bindingName), bindingExpr.currValExpr];\n            if (sanitizerFn) {\n                instructionParams.push(sanitizerFn);\n            }\n            updateStatements.push(...bindingExpr.stmts);\n            if (instruction === Identifiers$1.hostProperty) {\n                propertyBindings.push(instructionParams);\n            }\n            else if (instruction === Identifiers$1.attribute) {\n                attributeBindings.push(instructionParams);\n            }\n            else if (instruction === Identifiers$1.updateSyntheticHostBinding) {\n                syntheticHostBindings.push(instructionParams);\n            }\n            else {\n                updateStatements.push(importExpr(instruction).callFn(instructionParams).toStmt());\n            }\n        }\n    });\n    if (propertyBindings.length > 0) {\n        updateStatements.push(chainedInstruction(Identifiers$1.hostProperty, propertyBindings).toStmt());\n    }\n    if (attributeBindings.length > 0) {\n        updateStatements.push(chainedInstruction(Identifiers$1.attribute, attributeBindings).toStmt());\n    }\n    if (syntheticHostBindings.length > 0) {\n        updateStatements.push(chainedInstruction(Identifiers$1.updateSyntheticHostBinding, syntheticHostBindings).toStmt());\n    }\n    // since we're dealing with directives/components and both have hostBinding\n    // functions, we need to generate a special hostAttrs instruction that deals\n    // with both the assignment of styling as well as static attributes to the host\n    // element. The instruction below will instruct all initial styling (styling\n    // that is inside of a host binding within a directive/component) to be attached\n    // to the host element alongside any of the provided host attributes that were\n    // collected earlier.\n    const hostAttrs = convertAttributesToExpressions(hostBindingsMetadata.attributes);\n    const hostInstruction = styleBuilder.buildHostAttrsInstruction(null, hostAttrs, constantPool);\n    if (hostInstruction) {\n        createStatements.push(createStylingStmt(hostInstruction, bindingContext, bindingFn));\n    }\n    if (styleBuilder.hasBindings) {\n        // singular style/class bindings (things like `[style.prop]` and `[class.name]`)\n        // MUST be registered on a given element within the component/directive\n        // templateFn/hostBindingsFn functions. The instruction below will figure out\n        // what all the bindings are and then generate the statements required to register\n        // those bindings to the element via `styling`.\n        const stylingInstruction = styleBuilder.buildStylingInstruction(null, constantPool);\n        if (stylingInstruction) {\n            createStatements.push(createStylingStmt(stylingInstruction, bindingContext, bindingFn));\n        }\n        // finally each binding that was registered in the statement above will need to be added to\n        // the update block of a component/directive templateFn/hostBindingsFn so that the bindings\n        // are evaluated and updated for the element.\n        styleBuilder.buildUpdateLevelInstructions(getValueConverter()).forEach(instruction => {\n            // we subtract a value of `1` here because the binding slot was already\n            // allocated at the top of this method when all the input bindings were\n            // counted.\n            totalHostVarsCount += Math.max(instruction.allocateBindingSlots - 1, 0);\n            updateStatements.push(createStylingStmt(instruction, bindingContext, bindingFn));\n        });\n    }\n    if (totalHostVarsCount) {\n        createStatements.unshift(importExpr(Identifiers$1.allocHostVars).callFn([literal(totalHostVarsCount)]).toStmt());\n    }\n    if (createStatements.length > 0 || updateStatements.length > 0) {\n        const hostBindingsFnName = name ? `${name}_HostBindings` : null;\n        const statements = [];\n        if (createStatements.length > 0) {\n            statements.push(renderFlagCheckIfStmt(1 /* Create */, createStatements));\n        }\n        if (updateStatements.length > 0) {\n            statements.push(renderFlagCheckIfStmt(2 /* Update */, updateStatements));\n        }\n        return fn([\n            new FnParam(RENDER_FLAGS, NUMBER_TYPE), new FnParam(CONTEXT_NAME, null),\n            new FnParam(elVarExp.name, NUMBER_TYPE)\n        ], statements, INFERRED_TYPE, null, hostBindingsFnName);\n    }\n    return null;\n}\nfunction bindingFn(implicit, value) {\n    return convertPropertyBinding(null, implicit, value, 'b', BindingForm.TrySimple, () => error('Unexpected interpolation'));\n}\nfunction createStylingStmt(instruction, bindingContext, bindingFn) {\n    const params = instruction.params(value => bindingFn(bindingContext, value).currValExpr);\n    return importExpr(instruction.reference, null, instruction.sourceSpan)\n        .callFn(params, instruction.sourceSpan)\n        .toStmt();\n}\nfunction getBindingNameAndInstruction(binding) {\n    let bindingName = binding.name;\n    let instruction;\n    // Check to see if this is an attr binding or a property binding\n    const attrMatches = bindingName.match(ATTR_REGEX);\n    if (attrMatches) {\n        bindingName = attrMatches[1];\n        instruction = Identifiers$1.attribute;\n    }\n    else {\n        if (binding.isAnimation) {\n            bindingName = prepareSyntheticPropertyName(bindingName);\n            // host bindings that have a synthetic property (e.g. @foo) should always be rendered\n            // in the context of the component and not the parent. Therefore there is a special\n            // compatibility instruction available for this purpose.\n            instruction = Identifiers$1.updateSyntheticHostBinding;\n        }\n        else {\n            instruction = Identifiers$1.hostProperty;\n        }\n    }\n    return { bindingName, instruction, isAttribute: !!attrMatches };\n}\nfunction createHostListeners(eventBindings, name) {\n    return eventBindings.map(binding => {\n        let bindingName = binding.name && sanitizeIdentifier(binding.name);\n        const bindingFnName = binding.type === 1 /* Animation */ ?\n            prepareSyntheticListenerFunctionName(bindingName, binding.targetOrPhase) :\n            bindingName;\n        const handlerName = name && bindingName ? `${name}_${bindingFnName}_HostBindingHandler` : null;\n        const params = prepareEventListenerParameters(BoundEvent.fromParsedEvent(binding), handlerName);\n        const instruction = binding.type == 1 /* Animation */ ? Identifiers$1.componentHostSyntheticListener : Identifiers$1.listener;\n        return importExpr(instruction).callFn(params).toStmt();\n    });\n}\nfunction metadataAsSummary(meta) {\n    // clang-format off\n    return {\n        // This is used by the BindingParser, which only deals with listeners and properties. There's no\n        // need to pass attributes to it.\n        hostAttributes: {},\n        hostListeners: meta.listeners,\n        hostProperties: meta.properties,\n    };\n    // clang-format on\n}\nfunction typeMapToExpressionMap(map, outputCtx) {\n    // Convert each map entry into another entry where the value is an expression importing the type.\n    const entries = Array.from(map).map(([key, type]) => [key, outputCtx.importExpr(type)]);\n    return new Map(entries);\n}\nconst HOST_REG_EXP$1 = /^(?:\\[([^\\]]+)\\])|(?:\\(([^\\)]+)\\))$/;\nfunction parseHostBindings(host) {\n    const attributes = {};\n    const listeners = {};\n    const properties = {};\n    const specialAttributes = {};\n    for (const key of Object.keys(host)) {\n        const value = host[key];\n        const matches = key.match(HOST_REG_EXP$1);\n        if (matches === null) {\n            switch (key) {\n                case 'class':\n                    if (typeof value !== 'string') {\n                        // TODO(alxhub): make this a diagnostic.\n                        throw new Error(`Class binding must be string`);\n                    }\n                    specialAttributes.classAttr = value;\n                    break;\n                case 'style':\n                    if (typeof value !== 'string') {\n                        // TODO(alxhub): make this a diagnostic.\n                        throw new Error(`Style binding must be string`);\n                    }\n                    specialAttributes.styleAttr = value;\n                    break;\n                default:\n                    if (typeof value === 'string') {\n                        attributes[key] = literal(value);\n                    }\n                    else {\n                        attributes[key] = value;\n                    }\n            }\n        }\n        else if (matches[1 /* Binding */] != null) {\n            if (typeof value !== 'string') {\n                // TODO(alxhub): make this a diagnostic.\n                throw new Error(`Property binding must be string`);\n            }\n            // synthetic properties (the ones that have a `@` as a prefix)\n            // are still treated the same as regular properties. Therefore\n            // there is no point in storing them in a separate map.\n            properties[matches[1 /* Binding */]] = value;\n        }\n        else if (matches[2 /* Event */] != null) {\n            if (typeof value !== 'string') {\n                // TODO(alxhub): make this a diagnostic.\n                throw new Error(`Event binding must be string`);\n            }\n            listeners[matches[2 /* Event */]] = value;\n        }\n    }\n    return { attributes, listeners, properties, specialAttributes };\n}\n/**\n * Verifies host bindings and returns the list of errors (if any). Empty array indicates that a\n * given set of host bindings has no errors.\n *\n * @param bindings set of host bindings to verify.\n * @param sourceSpan source span where host bindings were defined.\n * @returns array of errors associated with a given set of host bindings.\n */\nfunction verifyHostBindings(bindings, sourceSpan) {\n    const summary = metadataAsSummary(bindings);\n    // TODO: abstract out host bindings verification logic and use it instead of\n    // creating events and properties ASTs to detect errors (FW-996)\n    const bindingParser = makeBindingParser();\n    bindingParser.createDirectiveHostEventAsts(summary, sourceSpan);\n    bindingParser.createBoundHostProperties(summary, sourceSpan);\n    return bindingParser.errors;\n}\nfunction compileStyles(styles, selector, hostSelector) {\n    const shadowCss = new ShadowCss();\n    return styles.map(style => { return shadowCss.shimCssText(style, selector, hostSelector); });\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * An interface for retrieving documents by URL that the compiler uses\n * to load templates.\n */\nclass ResourceLoader {\n    get(url) { return ''; }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nclass CompilerFacadeImpl {\n    constructor(jitEvaluator = new JitEvaluator()) {\n        this.jitEvaluator = jitEvaluator;\n        this.R3ResolvedDependencyType = R3ResolvedDependencyType;\n        this.ResourceLoader = ResourceLoader;\n        this.elementSchemaRegistry = new DomElementSchemaRegistry();\n    }\n    compilePipe(angularCoreEnv, sourceMapUrl, facade) {\n        const res = compilePipeFromMetadata({\n            name: facade.name,\n            type: new WrappedNodeExpr(facade.type),\n            typeArgumentCount: facade.typeArgumentCount,\n            deps: convertR3DependencyMetadataArray(facade.deps),\n            pipeName: facade.pipeName,\n            pure: facade.pure,\n        });\n        return this.jitExpression(res.expression, angularCoreEnv, sourceMapUrl, res.statements);\n    }\n    compileInjectable(angularCoreEnv, sourceMapUrl, facade) {\n        const { expression, statements } = compileInjectable({\n            name: facade.name,\n            type: new WrappedNodeExpr(facade.type),\n            typeArgumentCount: facade.typeArgumentCount,\n            providedIn: computeProvidedIn(facade.providedIn),\n            useClass: wrapExpression(facade, USE_CLASS),\n            useFactory: wrapExpression(facade, USE_FACTORY),\n            useValue: wrapExpression(facade, USE_VALUE),\n            useExisting: wrapExpression(facade, USE_EXISTING),\n            ctorDeps: convertR3DependencyMetadataArray(facade.ctorDeps),\n            userDeps: convertR3DependencyMetadataArray(facade.userDeps) || undefined,\n        });\n        return this.jitExpression(expression, angularCoreEnv, sourceMapUrl, statements);\n    }\n    compileInjector(angularCoreEnv, sourceMapUrl, facade) {\n        const meta = {\n            name: facade.name,\n            type: new WrappedNodeExpr(facade.type),\n            deps: convertR3DependencyMetadataArray(facade.deps),\n            providers: new WrappedNodeExpr(facade.providers),\n            imports: facade.imports.map(i => new WrappedNodeExpr(i)),\n        };\n        const res = compileInjector(meta);\n        return this.jitExpression(res.expression, angularCoreEnv, sourceMapUrl, res.statements);\n    }\n    compileNgModule(angularCoreEnv, sourceMapUrl, facade) {\n        const meta = {\n            type: new WrappedNodeExpr(facade.type),\n            bootstrap: facade.bootstrap.map(wrapReference),\n            declarations: facade.declarations.map(wrapReference),\n            imports: facade.imports.map(wrapReference),\n            exports: facade.exports.map(wrapReference),\n            emitInline: true,\n            containsForwardDecls: false,\n            schemas: facade.schemas ? facade.schemas.map(wrapReference) : null,\n            id: facade.id ? new WrappedNodeExpr(facade.id) : null,\n        };\n        const res = compileNgModule(meta);\n        return this.jitExpression(res.expression, angularCoreEnv, sourceMapUrl, []);\n    }\n    compileDirective(angularCoreEnv, sourceMapUrl, facade) {\n        const constantPool = new ConstantPool();\n        const bindingParser = makeBindingParser();\n        const meta = convertDirectiveFacadeToMetadata(facade);\n        const res = compileDirectiveFromMetadata(meta, constantPool, bindingParser);\n        const preStatements = [...constantPool.statements, ...res.statements];\n        return this.jitExpression(res.expression, angularCoreEnv, sourceMapUrl, preStatements);\n    }\n    compileComponent(angularCoreEnv, sourceMapUrl, facade) {\n        // The ConstantPool is a requirement of the JIT'er.\n        const constantPool = new ConstantPool();\n        const interpolationConfig = facade.interpolation ?\n            InterpolationConfig.fromArray(facade.interpolation) :\n            DEFAULT_INTERPOLATION_CONFIG;\n        // Parse the template and check for errors.\n        const template = parseTemplate(facade.template, sourceMapUrl, { preserveWhitespaces: facade.preserveWhitespaces, interpolationConfig });\n        if (template.errors !== undefined) {\n            const errors = template.errors.map(err => err.toString()).join(', ');\n            throw new Error(`Errors during JIT compilation of template for ${facade.name}: ${errors}`);\n        }\n        // Compile the component metadata, including template, into an expression.\n        // TODO(alxhub): implement inputs, outputs, queries, etc.\n        const res = compileComponentFromMetadata(Object.assign({}, facade, convertDirectiveFacadeToMetadata(facade), { selector: facade.selector || this.elementSchemaRegistry.getDefaultComponentElementName(), template, wrapDirectivesAndPipesInClosure: false, styles: facade.styles || [], encapsulation: facade.encapsulation, interpolation: interpolationConfig, changeDetection: facade.changeDetection, animations: facade.animations != null ? new WrappedNodeExpr(facade.animations) : null, viewProviders: facade.viewProviders != null ? new WrappedNodeExpr(facade.viewProviders) :\n                null, relativeContextFilePath: '', i18nUseExternalIds: true }), constantPool, makeBindingParser(interpolationConfig));\n        const preStatements = [...constantPool.statements, ...res.statements];\n        return this.jitExpression(res.expression, angularCoreEnv, `ng:///${facade.name}.js`, preStatements);\n    }\n    compileBase(angularCoreEnv, sourceMapUrl, facade) {\n        const constantPool = new ConstantPool();\n        const typeSourceSpan = this.createParseSourceSpan('Base', facade.name, `ng:///${facade.name}.js`);\n        const meta = Object.assign({}, facade, { typeSourceSpan, viewQueries: facade.viewQueries ? facade.viewQueries.map(convertToR3QueryMetadata) :\n                facade.viewQueries, queries: facade.queries ? facade.queries.map(convertToR3QueryMetadata) : facade.queries, host: extractHostBindings(facade.propMetadata, typeSourceSpan) });\n        const res = compileBaseDefFromMetadata(meta, constantPool, makeBindingParser());\n        return this.jitExpression(res.expression, angularCoreEnv, sourceMapUrl, constantPool.statements);\n    }\n    createParseSourceSpan(kind, typeName, sourceUrl) {\n        return r3JitTypeSourceSpan(kind, typeName, sourceUrl);\n    }\n    /**\n     * JIT compiles an expression and returns the result of executing that expression.\n     *\n     * @param def the definition which will be compiled and executed to get the value to patch\n     * @param context an object map of @angular/core symbol names to symbols which will be available\n     * in the context of the compiled expression\n     * @param sourceUrl a URL to use for the source map of the compiled expression\n     * @param preStatements a collection of statements that should be evaluated before the expression.\n     */\n    jitExpression(def, context, sourceUrl, preStatements) {\n        // The ConstantPool may contain Statements which declare variables used in the final expression.\n        // Therefore, its statements need to precede the actual JIT operation. The final statement is a\n        // declaration of $def which is set to the expression being compiled.\n        const statements = [\n            ...preStatements,\n            new DeclareVarStmt('$def', def, undefined, [StmtModifier.Exported]),\n        ];\n        const res = this.jitEvaluator.evaluateStatements(sourceUrl, statements, new R3JitReflector(context), /* enableSourceMaps */ true);\n        return res['$def'];\n    }\n}\nconst USE_CLASS = Object.keys({ useClass: null })[0];\nconst USE_FACTORY = Object.keys({ useFactory: null })[0];\nconst USE_VALUE = Object.keys({ useValue: null })[0];\nconst USE_EXISTING = Object.keys({ useExisting: null })[0];\nconst wrapReference = function (value) {\n    const wrapped = new WrappedNodeExpr(value);\n    return { value: wrapped, type: wrapped };\n};\nfunction convertToR3QueryMetadata(facade) {\n    return Object.assign({}, facade, { predicate: Array.isArray(facade.predicate) ? facade.predicate :\n            new WrappedNodeExpr(facade.predicate), read: facade.read ? new WrappedNodeExpr(facade.read) : null, static: facade.static });\n}\nfunction convertDirectiveFacadeToMetadata(facade) {\n    const inputsFromMetadata = parseInputOutputs(facade.inputs || []);\n    const outputsFromMetadata = parseInputOutputs(facade.outputs || []);\n    const propMetadata = facade.propMetadata;\n    const inputsFromType = {};\n    const outputsFromType = {};\n    for (const field in propMetadata) {\n        if (propMetadata.hasOwnProperty(field)) {\n            propMetadata[field].forEach(ann => {\n                if (isInput(ann)) {\n                    inputsFromType[field] =\n                        ann.bindingPropertyName ? [ann.bindingPropertyName, field] : field;\n                }\n                else if (isOutput(ann)) {\n                    outputsFromType[field] = ann.bindingPropertyName || field;\n                }\n            });\n        }\n    }\n    return Object.assign({}, facade, { typeSourceSpan: facade.typeSourceSpan, type: new WrappedNodeExpr(facade.type), deps: convertR3DependencyMetadataArray(facade.deps), host: extractHostBindings(facade.propMetadata, facade.typeSourceSpan, facade.host), inputs: Object.assign({}, inputsFromMetadata, inputsFromType), outputs: Object.assign({}, outputsFromMetadata, outputsFromType), queries: facade.queries.map(convertToR3QueryMetadata), providers: facade.providers != null ? new WrappedNodeExpr(facade.providers) : null, viewQueries: facade.viewQueries.map(convertToR3QueryMetadata) });\n}\nfunction wrapExpression(obj, property) {\n    if (obj.hasOwnProperty(property)) {\n        return new WrappedNodeExpr(obj[property]);\n    }\n    else {\n        return undefined;\n    }\n}\nfunction computeProvidedIn(providedIn) {\n    if (providedIn == null || typeof providedIn === 'string') {\n        return new LiteralExpr(providedIn);\n    }\n    else {\n        return new WrappedNodeExpr(providedIn);\n    }\n}\nfunction convertR3DependencyMetadata(facade) {\n    let tokenExpr;\n    if (facade.token === null) {\n        tokenExpr = new LiteralExpr(null);\n    }\n    else if (facade.resolved === R3ResolvedDependencyType.Attribute) {\n        tokenExpr = new LiteralExpr(facade.token);\n    }\n    else {\n        tokenExpr = new WrappedNodeExpr(facade.token);\n    }\n    return {\n        token: tokenExpr,\n        resolved: facade.resolved,\n        host: facade.host,\n        optional: facade.optional,\n        self: facade.self,\n        skipSelf: facade.skipSelf\n    };\n}\nfunction convertR3DependencyMetadataArray(facades) {\n    return facades == null ? null : facades.map(convertR3DependencyMetadata);\n}\nfunction extractHostBindings(propMetadata, sourceSpan, host) {\n    // First parse the declarations from the metadata.\n    const bindings = parseHostBindings(host || {});\n    // After that check host bindings for errors\n    const errors = verifyHostBindings(bindings, sourceSpan);\n    if (errors.length) {\n        throw new Error(errors.map((error) => error.msg).join('\\n'));\n    }\n    // Next, loop over the properties of the object, looking for @HostBinding and @HostListener.\n    for (const field in propMetadata) {\n        if (propMetadata.hasOwnProperty(field)) {\n            propMetadata[field].forEach(ann => {\n                if (isHostBinding(ann)) {\n                    bindings.properties[ann.hostPropertyName || field] = field;\n                }\n                else if (isHostListener(ann)) {\n                    bindings.listeners[ann.eventName || field] = `${field}(${(ann.args || []).join(',')})`;\n                }\n            });\n        }\n    }\n    return bindings;\n}\nfunction isHostBinding(value) {\n    return value.ngMetadataName === 'HostBinding';\n}\nfunction isHostListener(value) {\n    return value.ngMetadataName === 'HostListener';\n}\nfunction isInput(value) {\n    return value.ngMetadataName === 'Input';\n}\nfunction isOutput(value) {\n    return value.ngMetadataName === 'Output';\n}\nfunction parseInputOutputs(values) {\n    return values.reduce((map, value) => {\n        const [field, property] = value.split(',').map(piece => piece.trim());\n        map[field] = property || field;\n        return map;\n    }, {});\n}\nfunction publishFacade(global) {\n    const ng = global.ng || (global.ng = {});\n    ng.ɵcompilerFacade = new CompilerFacadeImpl();\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst VERSION$1 = new Version('8.2.14');\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nclass CompilerConfig {\n    constructor({ defaultEncapsulation = ViewEncapsulation.Emulated, useJit = true, jitDevMode = false, missingTranslation = null, preserveWhitespaces, strictInjectionParameters } = {}) {\n        this.defaultEncapsulation = defaultEncapsulation;\n        this.useJit = !!useJit;\n        this.jitDevMode = !!jitDevMode;\n        this.missingTranslation = missingTranslation;\n        this.preserveWhitespaces = preserveWhitespacesDefault(noUndefined(preserveWhitespaces));\n        this.strictInjectionParameters = strictInjectionParameters === true;\n    }\n}\nfunction preserveWhitespacesDefault(preserveWhitespacesOption, defaultSetting = false) {\n    return preserveWhitespacesOption === null ? defaultSetting : preserveWhitespacesOption;\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nclass DirectiveNormalizer {\n    constructor(_resourceLoader, _urlResolver, _htmlParser, _config) {\n        this._resourceLoader = _resourceLoader;\n        this._urlResolver = _urlResolver;\n        this._htmlParser = _htmlParser;\n        this._config = _config;\n        this._resourceLoaderCache = new Map();\n    }\n    clearCache() { this._resourceLoaderCache.clear(); }\n    clearCacheFor(normalizedDirective) {\n        if (!normalizedDirective.isComponent) {\n            return;\n        }\n        const template = normalizedDirective.template;\n        this._resourceLoaderCache.delete(template.templateUrl);\n        template.externalStylesheets.forEach((stylesheet) => { this._resourceLoaderCache.delete(stylesheet.moduleUrl); });\n    }\n    _fetch(url) {\n        let result = this._resourceLoaderCache.get(url);\n        if (!result) {\n            result = this._resourceLoader.get(url);\n            this._resourceLoaderCache.set(url, result);\n        }\n        return result;\n    }\n    normalizeTemplate(prenormData) {\n        if (isDefined(prenormData.template)) {\n            if (isDefined(prenormData.templateUrl)) {\n                throw syntaxError(`'${stringify(prenormData.componentType)}' component cannot define both template and templateUrl`);\n            }\n            if (typeof prenormData.template !== 'string') {\n                throw syntaxError(`The template specified for component ${stringify(prenormData.componentType)} is not a string`);\n            }\n        }\n        else if (isDefined(prenormData.templateUrl)) {\n            if (typeof prenormData.templateUrl !== 'string') {\n                throw syntaxError(`The templateUrl specified for component ${stringify(prenormData.componentType)} is not a string`);\n            }\n        }\n        else {\n            throw syntaxError(`No template specified for component ${stringify(prenormData.componentType)}`);\n        }\n        if (isDefined(prenormData.preserveWhitespaces) &&\n            typeof prenormData.preserveWhitespaces !== 'boolean') {\n            throw syntaxError(`The preserveWhitespaces option for component ${stringify(prenormData.componentType)} must be a boolean`);\n        }\n        return SyncAsync.then(this._preParseTemplate(prenormData), (preparsedTemplate) => this._normalizeTemplateMetadata(prenormData, preparsedTemplate));\n    }\n    _preParseTemplate(prenomData) {\n        let template;\n        let templateUrl;\n        if (prenomData.template != null) {\n            template = prenomData.template;\n            templateUrl = prenomData.moduleUrl;\n        }\n        else {\n            templateUrl = this._urlResolver.resolve(prenomData.moduleUrl, prenomData.templateUrl);\n            template = this._fetch(templateUrl);\n        }\n        return SyncAsync.then(template, (template) => this._preparseLoadedTemplate(prenomData, template, templateUrl));\n    }\n    _preparseLoadedTemplate(prenormData, template, templateAbsUrl) {\n        const isInline = !!prenormData.template;\n        const interpolationConfig = InterpolationConfig.fromArray(prenormData.interpolation);\n        const templateUrl = templateSourceUrl({ reference: prenormData.ngModuleType }, { type: { reference: prenormData.componentType } }, { isInline, templateUrl: templateAbsUrl });\n        const rootNodesAndErrors = this._htmlParser.parse(template, templateUrl, { tokenizeExpansionForms: true, interpolationConfig });\n        if (rootNodesAndErrors.errors.length > 0) {\n            const errorString = rootNodesAndErrors.errors.join('\\n');\n            throw syntaxError(`Template parse errors:\\n${errorString}`);\n        }\n        const templateMetadataStyles = this._normalizeStylesheet(new CompileStylesheetMetadata({ styles: prenormData.styles, moduleUrl: prenormData.moduleUrl }));\n        const visitor = new TemplatePreparseVisitor();\n        visitAll$1(visitor, rootNodesAndErrors.rootNodes);\n        const templateStyles = this._normalizeStylesheet(new CompileStylesheetMetadata({ styles: visitor.styles, styleUrls: visitor.styleUrls, moduleUrl: templateAbsUrl }));\n        const styles = templateMetadataStyles.styles.concat(templateStyles.styles);\n        const inlineStyleUrls = templateMetadataStyles.styleUrls.concat(templateStyles.styleUrls);\n        const styleUrls = this\n            ._normalizeStylesheet(new CompileStylesheetMetadata({ styleUrls: prenormData.styleUrls, moduleUrl: prenormData.moduleUrl }))\n            .styleUrls;\n        return {\n            template,\n            templateUrl: templateAbsUrl, isInline,\n            htmlAst: rootNodesAndErrors, styles, inlineStyleUrls, styleUrls,\n            ngContentSelectors: visitor.ngContentSelectors,\n        };\n    }\n    _normalizeTemplateMetadata(prenormData, preparsedTemplate) {\n        return SyncAsync.then(this._loadMissingExternalStylesheets(preparsedTemplate.styleUrls.concat(preparsedTemplate.inlineStyleUrls)), (externalStylesheets) => this._normalizeLoadedTemplateMetadata(prenormData, preparsedTemplate, externalStylesheets));\n    }\n    _normalizeLoadedTemplateMetadata(prenormData, preparsedTemplate, stylesheets) {\n        // Algorithm:\n        // - produce exactly 1 entry per original styleUrl in\n        // CompileTemplateMetadata.externalStylesheets with all styles inlined\n        // - inline all styles that are referenced by the template into CompileTemplateMetadata.styles.\n        // Reason: be able to determine how many stylesheets there are even without loading\n        // the template nor the stylesheets, so we can create a stub for TypeScript always synchronously\n        // (as resource loading may be async)\n        const styles = [...preparsedTemplate.styles];\n        this._inlineStyles(preparsedTemplate.inlineStyleUrls, stylesheets, styles);\n        const styleUrls = preparsedTemplate.styleUrls;\n        const externalStylesheets = styleUrls.map(styleUrl => {\n            const stylesheet = stylesheets.get(styleUrl);\n            const styles = [...stylesheet.styles];\n            this._inlineStyles(stylesheet.styleUrls, stylesheets, styles);\n            return new CompileStylesheetMetadata({ moduleUrl: styleUrl, styles: styles });\n        });\n        let encapsulation = prenormData.encapsulation;\n        if (encapsulation == null) {\n            encapsulation = this._config.defaultEncapsulation;\n        }\n        if (encapsulation === ViewEncapsulation.Emulated && styles.length === 0 &&\n            styleUrls.length === 0) {\n            encapsulation = ViewEncapsulation.None;\n        }\n        return new CompileTemplateMetadata({\n            encapsulation,\n            template: preparsedTemplate.template,\n            templateUrl: preparsedTemplate.templateUrl,\n            htmlAst: preparsedTemplate.htmlAst, styles, styleUrls,\n            ngContentSelectors: preparsedTemplate.ngContentSelectors,\n            animations: prenormData.animations,\n            interpolation: prenormData.interpolation,\n            isInline: preparsedTemplate.isInline, externalStylesheets,\n            preserveWhitespaces: preserveWhitespacesDefault(prenormData.preserveWhitespaces, this._config.preserveWhitespaces),\n        });\n    }\n    _inlineStyles(styleUrls, stylesheets, targetStyles) {\n        styleUrls.forEach(styleUrl => {\n            const stylesheet = stylesheets.get(styleUrl);\n            stylesheet.styles.forEach(style => targetStyles.push(style));\n            this._inlineStyles(stylesheet.styleUrls, stylesheets, targetStyles);\n        });\n    }\n    _loadMissingExternalStylesheets(styleUrls, loadedStylesheets = new Map()) {\n        return SyncAsync.then(SyncAsync.all(styleUrls.filter((styleUrl) => !loadedStylesheets.has(styleUrl))\n            .map(styleUrl => SyncAsync.then(this._fetch(styleUrl), (loadedStyle) => {\n            const stylesheet = this._normalizeStylesheet(new CompileStylesheetMetadata({ styles: [loadedStyle], moduleUrl: styleUrl }));\n            loadedStylesheets.set(styleUrl, stylesheet);\n            return this._loadMissingExternalStylesheets(stylesheet.styleUrls, loadedStylesheets);\n        }))), (_) => loadedStylesheets);\n    }\n    _normalizeStylesheet(stylesheet) {\n        const moduleUrl = stylesheet.moduleUrl;\n        const allStyleUrls = stylesheet.styleUrls.filter(isStyleUrlResolvable)\n            .map(url => this._urlResolver.resolve(moduleUrl, url));\n        const allStyles = stylesheet.styles.map(style => {\n            const styleWithImports = extractStyleUrls(this._urlResolver, moduleUrl, style);\n            allStyleUrls.push(...styleWithImports.styleUrls);\n            return styleWithImports.style;\n        });\n        return new CompileStylesheetMetadata({ styles: allStyles, styleUrls: allStyleUrls, moduleUrl: moduleUrl });\n    }\n}\nclass TemplatePreparseVisitor {\n    constructor() {\n        this.ngContentSelectors = [];\n        this.styles = [];\n        this.styleUrls = [];\n        this.ngNonBindableStackCount = 0;\n    }\n    visitElement(ast, context) {\n        const preparsedElement = preparseElement(ast);\n        switch (preparsedElement.type) {\n            case PreparsedElementType.NG_CONTENT:\n                if (this.ngNonBindableStackCount === 0) {\n                    this.ngContentSelectors.push(preparsedElement.selectAttr);\n                }\n                break;\n            case PreparsedElementType.STYLE:\n                let textContent = '';\n                ast.children.forEach(child => {\n                    if (child instanceof Text$3) {\n                        textContent += child.value;\n                    }\n                });\n                this.styles.push(textContent);\n                break;\n            case PreparsedElementType.STYLESHEET:\n                this.styleUrls.push(preparsedElement.hrefAttr);\n                break;\n            default:\n                break;\n        }\n        if (preparsedElement.nonBindable) {\n            this.ngNonBindableStackCount++;\n        }\n        visitAll$1(this, ast.children);\n        if (preparsedElement.nonBindable) {\n            this.ngNonBindableStackCount--;\n        }\n        return null;\n    }\n    visitExpansion(ast, context) { visitAll$1(this, ast.cases); }\n    visitExpansionCase(ast, context) {\n        visitAll$1(this, ast.expression);\n    }\n    visitComment(ast, context) { return null; }\n    visitAttribute(ast, context) { return null; }\n    visitText(ast, context) { return null; }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst QUERY_METADATA_IDENTIFIERS = [\n    createViewChild,\n    createViewChildren,\n    createContentChild,\n    createContentChildren,\n];\n/*\n * Resolve a `Type` for {@link Directive}.\n *\n * This interface can be overridden by the application developer to create custom behavior.\n *\n * See {@link Compiler}\n */\nclass DirectiveResolver {\n    constructor(_reflector) {\n        this._reflector = _reflector;\n    }\n    isDirective(type) {\n        const typeMetadata = this._reflector.annotations(resolveForwardRef(type));\n        return typeMetadata && typeMetadata.some(isDirectiveMetadata);\n    }\n    resolve(type, throwIfNotFound = true) {\n        const typeMetadata = this._reflector.annotations(resolveForwardRef(type));\n        if (typeMetadata) {\n            const metadata = findLast(typeMetadata, isDirectiveMetadata);\n            if (metadata) {\n                const propertyMetadata = this._reflector.propMetadata(type);\n                const guards = this._reflector.guards(type);\n                return this._mergeWithPropertyMetadata(metadata, propertyMetadata, guards, type);\n            }\n        }\n        if (throwIfNotFound) {\n            throw new Error(`No Directive annotation found on ${stringify(type)}`);\n        }\n        return null;\n    }\n    _mergeWithPropertyMetadata(dm, propertyMetadata, guards, directiveType) {\n        const inputs = [];\n        const outputs = [];\n        const host = {};\n        const queries = {};\n        Object.keys(propertyMetadata).forEach((propName) => {\n            const input = findLast(propertyMetadata[propName], (a) => createInput.isTypeOf(a));\n            if (input) {\n                if (input.bindingPropertyName) {\n                    inputs.push(`${propName}: ${input.bindingPropertyName}`);\n                }\n                else {\n                    inputs.push(propName);\n                }\n            }\n            const output = findLast(propertyMetadata[propName], (a) => createOutput.isTypeOf(a));\n            if (output) {\n                if (output.bindingPropertyName) {\n                    outputs.push(`${propName}: ${output.bindingPropertyName}`);\n                }\n                else {\n                    outputs.push(propName);\n                }\n            }\n            const hostBindings = propertyMetadata[propName].filter(a => createHostBinding.isTypeOf(a));\n            hostBindings.forEach(hostBinding => {\n                if (hostBinding.hostPropertyName) {\n                    const startWith = hostBinding.hostPropertyName[0];\n                    if (startWith === '(') {\n                        throw new Error(`@HostBinding can not bind to events. Use @HostListener instead.`);\n                    }\n                    else if (startWith === '[') {\n                        throw new Error(`@HostBinding parameter should be a property name, 'class.<name>', or 'attr.<name>'.`);\n                    }\n                    host[`[${hostBinding.hostPropertyName}]`] = propName;\n                }\n                else {\n                    host[`[${propName}]`] = propName;\n                }\n            });\n            const hostListeners = propertyMetadata[propName].filter(a => createHostListener.isTypeOf(a));\n            hostListeners.forEach(hostListener => {\n                const args = hostListener.args || [];\n                host[`(${hostListener.eventName})`] = `${propName}(${args.join(',')})`;\n            });\n            const query = findLast(propertyMetadata[propName], (a) => QUERY_METADATA_IDENTIFIERS.some(i => i.isTypeOf(a)));\n            if (query) {\n                queries[propName] = query;\n            }\n        });\n        return this._merge(dm, inputs, outputs, host, queries, guards, directiveType);\n    }\n    _extractPublicName(def) { return splitAtColon(def, [null, def])[1].trim(); }\n    _dedupeBindings(bindings) {\n        const names = new Set();\n        const publicNames = new Set();\n        const reversedResult = [];\n        // go last to first to allow later entries to overwrite previous entries\n        for (let i = bindings.length - 1; i >= 0; i--) {\n            const binding = bindings[i];\n            const name = this._extractPublicName(binding);\n            publicNames.add(name);\n            if (!names.has(name)) {\n                names.add(name);\n                reversedResult.push(binding);\n            }\n        }\n        return reversedResult.reverse();\n    }\n    _merge(directive, inputs, outputs, host, queries, guards, directiveType) {\n        const mergedInputs = this._dedupeBindings(directive.inputs ? directive.inputs.concat(inputs) : inputs);\n        const mergedOutputs = this._dedupeBindings(directive.outputs ? directive.outputs.concat(outputs) : outputs);\n        const mergedHost = directive.host ? Object.assign({}, directive.host, host) : host;\n        const mergedQueries = directive.queries ? Object.assign({}, directive.queries, queries) : queries;\n        if (createComponent.isTypeOf(directive)) {\n            const comp = directive;\n            return createComponent({\n                selector: comp.selector,\n                inputs: mergedInputs,\n                outputs: mergedOutputs,\n                host: mergedHost,\n                exportAs: comp.exportAs,\n                moduleId: comp.moduleId,\n                queries: mergedQueries,\n                changeDetection: comp.changeDetection,\n                providers: comp.providers,\n                viewProviders: comp.viewProviders,\n                entryComponents: comp.entryComponents,\n                template: comp.template,\n                templateUrl: comp.templateUrl,\n                styles: comp.styles,\n                styleUrls: comp.styleUrls,\n                encapsulation: comp.encapsulation,\n                animations: comp.animations,\n                interpolation: comp.interpolation,\n                preserveWhitespaces: directive.preserveWhitespaces,\n            });\n        }\n        else {\n            return createDirective({\n                selector: directive.selector,\n                inputs: mergedInputs,\n                outputs: mergedOutputs,\n                host: mergedHost,\n                exportAs: directive.exportAs,\n                queries: mergedQueries,\n                providers: directive.providers, guards\n            });\n        }\n    }\n}\nfunction isDirectiveMetadata(type) {\n    return createDirective.isTypeOf(type) || createComponent.isTypeOf(type);\n}\nfunction findLast(arr, condition) {\n    for (let i = arr.length - 1; i >= 0; i--) {\n        if (condition(arr[i])) {\n            return arr[i];\n        }\n    }\n    return null;\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * An i18n error.\n */\nclass I18nError extends ParseError {\n    constructor(span, msg) { super(span, msg); }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst _I18N_ATTR = 'i18n';\nconst _I18N_ATTR_PREFIX = 'i18n-';\nconst _I18N_COMMENT_PREFIX_REGEXP = /^i18n:?/;\nconst MEANING_SEPARATOR = '|';\nconst ID_SEPARATOR = '@@';\nlet i18nCommentsWarned = false;\n/**\n * Extract translatable messages from an html AST\n */\nfunction extractMessages(nodes, interpolationConfig, implicitTags, implicitAttrs) {\n    const visitor = new _Visitor$2(implicitTags, implicitAttrs);\n    return visitor.extract(nodes, interpolationConfig);\n}\nfunction mergeTranslations(nodes, translations, interpolationConfig, implicitTags, implicitAttrs) {\n    const visitor = new _Visitor$2(implicitTags, implicitAttrs);\n    return visitor.merge(nodes, translations, interpolationConfig);\n}\nclass ExtractionResult {\n    constructor(messages, errors) {\n        this.messages = messages;\n        this.errors = errors;\n    }\n}\nvar _VisitorMode;\n(function (_VisitorMode) {\n    _VisitorMode[_VisitorMode[\"Extract\"] = 0] = \"Extract\";\n    _VisitorMode[_VisitorMode[\"Merge\"] = 1] = \"Merge\";\n})(_VisitorMode || (_VisitorMode = {}));\n/**\n * This Visitor is used:\n * 1. to extract all the translatable strings from an html AST (see `extract()`),\n * 2. to replace the translatable strings with the actual translations (see `merge()`)\n *\n * @internal\n */\nclass _Visitor$2 {\n    constructor(_implicitTags, _implicitAttrs) {\n        this._implicitTags = _implicitTags;\n        this._implicitAttrs = _implicitAttrs;\n    }\n    /**\n     * Extracts the messages from the tree\n     */\n    extract(nodes, interpolationConfig) {\n        this._init(_VisitorMode.Extract, interpolationConfig);\n        nodes.forEach(node => node.visit(this, null));\n        if (this._inI18nBlock) {\n            this._reportError(nodes[nodes.length - 1], 'Unclosed block');\n        }\n        return new ExtractionResult(this._messages, this._errors);\n    }\n    /**\n     * Returns a tree where all translatable nodes are translated\n     */\n    merge(nodes, translations, interpolationConfig) {\n        this._init(_VisitorMode.Merge, interpolationConfig);\n        this._translations = translations;\n        // Construct a single fake root element\n        const wrapper = new Element$1('wrapper', [], nodes, undefined, undefined, undefined);\n        const translatedNode = wrapper.visit(this, null);\n        if (this._inI18nBlock) {\n            this._reportError(nodes[nodes.length - 1], 'Unclosed block');\n        }\n        return new ParseTreeResult(translatedNode.children, this._errors);\n    }\n    visitExpansionCase(icuCase, context) {\n        // Parse cases for translatable html attributes\n        const expression = visitAll$1(this, icuCase.expression, context);\n        if (this._mode === _VisitorMode.Merge) {\n            return new ExpansionCase(icuCase.value, expression, icuCase.sourceSpan, icuCase.valueSourceSpan, icuCase.expSourceSpan);\n        }\n    }\n    visitExpansion(icu, context) {\n        this._mayBeAddBlockChildren(icu);\n        const wasInIcu = this._inIcu;\n        if (!this._inIcu) {\n            // nested ICU messages should not be extracted but top-level translated as a whole\n            if (this._isInTranslatableSection) {\n                this._addMessage([icu]);\n            }\n            this._inIcu = true;\n        }\n        const cases = visitAll$1(this, icu.cases, context);\n        if (this._mode === _VisitorMode.Merge) {\n            icu = new Expansion(icu.switchValue, icu.type, cases, icu.sourceSpan, icu.switchValueSourceSpan);\n        }\n        this._inIcu = wasInIcu;\n        return icu;\n    }\n    visitComment(comment, context) {\n        const isOpening = _isOpeningComment(comment);\n        if (isOpening && this._isInTranslatableSection) {\n            this._reportError(comment, 'Could not start a block inside a translatable section');\n            return;\n        }\n        const isClosing = _isClosingComment(comment);\n        if (isClosing && !this._inI18nBlock) {\n            this._reportError(comment, 'Trying to close an unopened block');\n            return;\n        }\n        if (!this._inI18nNode && !this._inIcu) {\n            if (!this._inI18nBlock) {\n                if (isOpening) {\n                    // deprecated from v5 you should use <ng-container i18n> instead of i18n comments\n                    if (!i18nCommentsWarned && console && console.warn) {\n                        i18nCommentsWarned = true;\n                        const details = comment.sourceSpan.details ? `, ${comment.sourceSpan.details}` : '';\n                        // TODO(ocombe): use a log service once there is a public one available\n                        console.warn(`I18n comments are deprecated, use an <ng-container> element instead (${comment.sourceSpan.start}${details})`);\n                    }\n                    this._inI18nBlock = true;\n                    this._blockStartDepth = this._depth;\n                    this._blockChildren = [];\n                    this._blockMeaningAndDesc =\n                        comment.value.replace(_I18N_COMMENT_PREFIX_REGEXP, '').trim();\n                    this._openTranslatableSection(comment);\n                }\n            }\n            else {\n                if (isClosing) {\n                    if (this._depth == this._blockStartDepth) {\n                        this._closeTranslatableSection(comment, this._blockChildren);\n                        this._inI18nBlock = false;\n                        const message = this._addMessage(this._blockChildren, this._blockMeaningAndDesc);\n                        // merge attributes in sections\n                        const nodes = this._translateMessage(comment, message);\n                        return visitAll$1(this, nodes);\n                    }\n                    else {\n                        this._reportError(comment, 'I18N blocks should not cross element boundaries');\n                        return;\n                    }\n                }\n            }\n        }\n    }\n    visitText(text, context) {\n        if (this._isInTranslatableSection) {\n            this._mayBeAddBlockChildren(text);\n        }\n        return text;\n    }\n    visitElement(el, context) {\n        this._mayBeAddBlockChildren(el);\n        this._depth++;\n        const wasInI18nNode = this._inI18nNode;\n        const wasInImplicitNode = this._inImplicitNode;\n        let childNodes = [];\n        let translatedChildNodes = undefined;\n        // Extract:\n        // - top level nodes with the (implicit) \"i18n\" attribute if not already in a section\n        // - ICU messages\n        const i18nAttr = _getI18nAttr(el);\n        const i18nMeta = i18nAttr ? i18nAttr.value : '';\n        const isImplicit = this._implicitTags.some(tag => el.name === tag) && !this._inIcu &&\n            !this._isInTranslatableSection;\n        const isTopLevelImplicit = !wasInImplicitNode && isImplicit;\n        this._inImplicitNode = wasInImplicitNode || isImplicit;\n        if (!this._isInTranslatableSection && !this._inIcu) {\n            if (i18nAttr || isTopLevelImplicit) {\n                this._inI18nNode = true;\n                const message = this._addMessage(el.children, i18nMeta);\n                translatedChildNodes = this._translateMessage(el, message);\n            }\n            if (this._mode == _VisitorMode.Extract) {\n                const isTranslatable = i18nAttr || isTopLevelImplicit;\n                if (isTranslatable)\n                    this._openTranslatableSection(el);\n                visitAll$1(this, el.children);\n                if (isTranslatable)\n                    this._closeTranslatableSection(el, el.children);\n            }\n        }\n        else {\n            if (i18nAttr || isTopLevelImplicit) {\n                this._reportError(el, 'Could not mark an element as translatable inside a translatable section');\n            }\n            if (this._mode == _VisitorMode.Extract) {\n                // Descend into child nodes for extraction\n                visitAll$1(this, el.children);\n            }\n        }\n        if (this._mode === _VisitorMode.Merge) {\n            const visitNodes = translatedChildNodes || el.children;\n            visitNodes.forEach(child => {\n                const visited = child.visit(this, context);\n                if (visited && !this._isInTranslatableSection) {\n                    // Do not add the children from translatable sections (= i18n blocks here)\n                    // They will be added later in this loop when the block closes (i.e. on `<!-- /i18n -->`)\n                    childNodes = childNodes.concat(visited);\n                }\n            });\n        }\n        this._visitAttributesOf(el);\n        this._depth--;\n        this._inI18nNode = wasInI18nNode;\n        this._inImplicitNode = wasInImplicitNode;\n        if (this._mode === _VisitorMode.Merge) {\n            const translatedAttrs = this._translateAttributes(el);\n            return new Element$1(el.name, translatedAttrs, childNodes, el.sourceSpan, el.startSourceSpan, el.endSourceSpan);\n        }\n        return null;\n    }\n    visitAttribute(attribute, context) {\n        throw new Error('unreachable code');\n    }\n    _init(mode, interpolationConfig) {\n        this._mode = mode;\n        this._inI18nBlock = false;\n        this._inI18nNode = false;\n        this._depth = 0;\n        this._inIcu = false;\n        this._msgCountAtSectionStart = undefined;\n        this._errors = [];\n        this._messages = [];\n        this._inImplicitNode = false;\n        this._createI18nMessage = createI18nMessageFactory(interpolationConfig);\n    }\n    // looks for translatable attributes\n    _visitAttributesOf(el) {\n        const explicitAttrNameToValue = {};\n        const implicitAttrNames = this._implicitAttrs[el.name] || [];\n        el.attrs.filter(attr => attr.name.startsWith(_I18N_ATTR_PREFIX))\n            .forEach(attr => explicitAttrNameToValue[attr.name.slice(_I18N_ATTR_PREFIX.length)] =\n            attr.value);\n        el.attrs.forEach(attr => {\n            if (attr.name in explicitAttrNameToValue) {\n                this._addMessage([attr], explicitAttrNameToValue[attr.name]);\n            }\n            else if (implicitAttrNames.some(name => attr.name === name)) {\n                this._addMessage([attr]);\n            }\n        });\n    }\n    // add a translatable message\n    _addMessage(ast, msgMeta) {\n        if (ast.length == 0 ||\n            ast.length == 1 && ast[0] instanceof Attribute && !ast[0].value) {\n            // Do not create empty messages\n            return null;\n        }\n        const { meaning, description, id } = _parseMessageMeta(msgMeta);\n        const message = this._createI18nMessage(ast, meaning, description, id);\n        this._messages.push(message);\n        return message;\n    }\n    // Translates the given message given the `TranslationBundle`\n    // This is used for translating elements / blocks - see `_translateAttributes` for attributes\n    // no-op when called in extraction mode (returns [])\n    _translateMessage(el, message) {\n        if (message && this._mode === _VisitorMode.Merge) {\n            const nodes = this._translations.get(message);\n            if (nodes) {\n                return nodes;\n            }\n            this._reportError(el, `Translation unavailable for message id=\"${this._translations.digest(message)}\"`);\n        }\n        return [];\n    }\n    // translate the attributes of an element and remove i18n specific attributes\n    _translateAttributes(el) {\n        const attributes = el.attrs;\n        const i18nParsedMessageMeta = {};\n        attributes.forEach(attr => {\n            if (attr.name.startsWith(_I18N_ATTR_PREFIX)) {\n                i18nParsedMessageMeta[attr.name.slice(_I18N_ATTR_PREFIX.length)] =\n                    _parseMessageMeta(attr.value);\n            }\n        });\n        const translatedAttributes = [];\n        attributes.forEach((attr) => {\n            if (attr.name === _I18N_ATTR || attr.name.startsWith(_I18N_ATTR_PREFIX)) {\n                // strip i18n specific attributes\n                return;\n            }\n            if (attr.value && attr.value != '' && i18nParsedMessageMeta.hasOwnProperty(attr.name)) {\n                const { meaning, description, id } = i18nParsedMessageMeta[attr.name];\n                const message = this._createI18nMessage([attr], meaning, description, id);\n                const nodes = this._translations.get(message);\n                if (nodes) {\n                    if (nodes.length == 0) {\n                        translatedAttributes.push(new Attribute(attr.name, '', attr.sourceSpan));\n                    }\n                    else if (nodes[0] instanceof Text$3) {\n                        const value = nodes[0].value;\n                        translatedAttributes.push(new Attribute(attr.name, value, attr.sourceSpan));\n                    }\n                    else {\n                        this._reportError(el, `Unexpected translation for attribute \"${attr.name}\" (id=\"${id || this._translations.digest(message)}\")`);\n                    }\n                }\n                else {\n                    this._reportError(el, `Translation unavailable for attribute \"${attr.name}\" (id=\"${id || this._translations.digest(message)}\")`);\n                }\n            }\n            else {\n                translatedAttributes.push(attr);\n            }\n        });\n        return translatedAttributes;\n    }\n    /**\n     * Add the node as a child of the block when:\n     * - we are in a block,\n     * - we are not inside a ICU message (those are handled separately),\n     * - the node is a \"direct child\" of the block\n     */\n    _mayBeAddBlockChildren(node) {\n        if (this._inI18nBlock && !this._inIcu && this._depth == this._blockStartDepth) {\n            this._blockChildren.push(node);\n        }\n    }\n    /**\n     * Marks the start of a section, see `_closeTranslatableSection`\n     */\n    _openTranslatableSection(node) {\n        if (this._isInTranslatableSection) {\n            this._reportError(node, 'Unexpected section start');\n        }\n        else {\n            this._msgCountAtSectionStart = this._messages.length;\n        }\n    }\n    /**\n     * A translatable section could be:\n     * - the content of translatable element,\n     * - nodes between `<!-- i18n -->` and `<!-- /i18n -->` comments\n     */\n    get _isInTranslatableSection() {\n        return this._msgCountAtSectionStart !== void 0;\n    }\n    /**\n     * Terminates a section.\n     *\n     * If a section has only one significant children (comments not significant) then we should not\n     * keep the message from this children:\n     *\n     * `<p i18n=\"meaning|description\">{ICU message}</p>` would produce two messages:\n     * - one for the <p> content with meaning and description,\n     * - another one for the ICU message.\n     *\n     * In this case the last message is discarded as it contains less information (the AST is\n     * otherwise identical).\n     *\n     * Note that we should still keep messages extracted from attributes inside the section (ie in the\n     * ICU message here)\n     */\n    _closeTranslatableSection(node, directChildren) {\n        if (!this._isInTranslatableSection) {\n            this._reportError(node, 'Unexpected section end');\n            return;\n        }\n        const startIndex = this._msgCountAtSectionStart;\n        const significantChildren = directChildren.reduce((count, node) => count + (node instanceof Comment ? 0 : 1), 0);\n        if (significantChildren == 1) {\n            for (let i = this._messages.length - 1; i >= startIndex; i--) {\n                const ast = this._messages[i].nodes;\n                if (!(ast.length == 1 && ast[0] instanceof Text$1)) {\n                    this._messages.splice(i, 1);\n                    break;\n                }\n            }\n        }\n        this._msgCountAtSectionStart = undefined;\n    }\n    _reportError(node, msg) {\n        this._errors.push(new I18nError(node.sourceSpan, msg));\n    }\n}\nfunction _isOpeningComment(n) {\n    return !!(n instanceof Comment && n.value && n.value.startsWith('i18n'));\n}\nfunction _isClosingComment(n) {\n    return !!(n instanceof Comment && n.value && n.value === '/i18n');\n}\nfunction _getI18nAttr(p) {\n    return p.attrs.find(attr => attr.name === _I18N_ATTR) || null;\n}\nfunction _parseMessageMeta(i18n) {\n    if (!i18n)\n        return { meaning: '', description: '', id: '' };\n    const idIndex = i18n.indexOf(ID_SEPARATOR);\n    const descIndex = i18n.indexOf(MEANING_SEPARATOR);\n    const [meaningAndDesc, id] = (idIndex > -1) ? [i18n.slice(0, idIndex), i18n.slice(idIndex + 2)] : [i18n, ''];\n    const [meaning, description] = (descIndex > -1) ?\n        [meaningAndDesc.slice(0, descIndex), meaningAndDesc.slice(descIndex + 1)] :\n        ['', meaningAndDesc];\n    return { meaning, description, id };\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nclass XmlTagDefinition {\n    constructor() {\n        this.closedByParent = false;\n        this.contentType = TagContentType.PARSABLE_DATA;\n        this.isVoid = false;\n        this.ignoreFirstLf = false;\n        this.canSelfClose = true;\n    }\n    requireExtraParent(currentParent) { return false; }\n    isClosedByChild(name) { return false; }\n}\nconst _TAG_DEFINITION = new XmlTagDefinition();\nfunction getXmlTagDefinition(tagName) {\n    return _TAG_DEFINITION;\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nclass XmlParser extends Parser {\n    constructor() { super(getXmlTagDefinition); }\n    parse(source, url, options) {\n        return super.parse(source, url, options);\n    }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst _VERSION = '1.2';\nconst _XMLNS = 'urn:oasis:names:tc:xliff:document:1.2';\n// TODO(vicb): make this a param (s/_/-/)\nconst _DEFAULT_SOURCE_LANG = 'en';\nconst _PLACEHOLDER_TAG$1 = 'x';\nconst _MARKER_TAG = 'mrk';\nconst _FILE_TAG = 'file';\nconst _SOURCE_TAG$1 = 'source';\nconst _SEGMENT_SOURCE_TAG = 'seg-source';\nconst _ALT_TRANS_TAG = 'alt-trans';\nconst _TARGET_TAG = 'target';\nconst _UNIT_TAG = 'trans-unit';\nconst _CONTEXT_GROUP_TAG = 'context-group';\nconst _CONTEXT_TAG = 'context';\n// http://docs.oasis-open.org/xliff/v1.2/os/xliff-core.html\n// http://docs.oasis-open.org/xliff/v1.2/xliff-profile-html/xliff-profile-html-1.2.html\nclass Xliff extends Serializer {\n    write(messages, locale) {\n        const visitor = new _WriteVisitor();\n        const transUnits = [];\n        messages.forEach(message => {\n            let contextTags = [];\n            message.sources.forEach((source) => {\n                let contextGroupTag = new Tag(_CONTEXT_GROUP_TAG, { purpose: 'location' });\n                contextGroupTag.children.push(new CR(10), new Tag(_CONTEXT_TAG, { 'context-type': 'sourcefile' }, [new Text$2(source.filePath)]), new CR(10), new Tag(_CONTEXT_TAG, { 'context-type': 'linenumber' }, [new Text$2(`${source.startLine}`)]), new CR(8));\n                contextTags.push(new CR(8), contextGroupTag);\n            });\n            const transUnit = new Tag(_UNIT_TAG, { id: message.id, datatype: 'html' });\n            transUnit.children.push(new CR(8), new Tag(_SOURCE_TAG$1, {}, visitor.serialize(message.nodes)), ...contextTags);\n            if (message.description) {\n                transUnit.children.push(new CR(8), new Tag('note', { priority: '1', from: 'description' }, [new Text$2(message.description)]));\n            }\n            if (message.meaning) {\n                transUnit.children.push(new CR(8), new Tag('note', { priority: '1', from: 'meaning' }, [new Text$2(message.meaning)]));\n            }\n            transUnit.children.push(new CR(6));\n            transUnits.push(new CR(6), transUnit);\n        });\n        const body = new Tag('body', {}, [...transUnits, new CR(4)]);\n        const file = new Tag('file', {\n            'source-language': locale || _DEFAULT_SOURCE_LANG,\n            datatype: 'plaintext',\n            original: 'ng2.template',\n        }, [new CR(4), body, new CR(2)]);\n        const xliff = new Tag('xliff', { version: _VERSION, xmlns: _XMLNS }, [new CR(2), file, new CR()]);\n        return serialize([\n            new Declaration({ version: '1.0', encoding: 'UTF-8' }), new CR(), xliff, new CR()\n        ]);\n    }\n    load(content, url) {\n        // xliff to xml nodes\n        const xliffParser = new XliffParser();\n        const { locale, msgIdToHtml, errors } = xliffParser.parse(content, url);\n        // xml nodes to i18n nodes\n        const i18nNodesByMsgId = {};\n        const converter = new XmlToI18n();\n        Object.keys(msgIdToHtml).forEach(msgId => {\n            const { i18nNodes, errors: e } = converter.convert(msgIdToHtml[msgId], url);\n            errors.push(...e);\n            i18nNodesByMsgId[msgId] = i18nNodes;\n        });\n        if (errors.length) {\n            throw new Error(`xliff parse errors:\\n${errors.join('\\n')}`);\n        }\n        return { locale: locale, i18nNodesByMsgId };\n    }\n    digest(message) { return digest(message); }\n}\nclass _WriteVisitor {\n    visitText(text, context) { return [new Text$2(text.value)]; }\n    visitContainer(container, context) {\n        const nodes = [];\n        container.children.forEach((node) => nodes.push(...node.visit(this)));\n        return nodes;\n    }\n    visitIcu(icu, context) {\n        const nodes = [new Text$2(`{${icu.expressionPlaceholder}, ${icu.type}, `)];\n        Object.keys(icu.cases).forEach((c) => {\n            nodes.push(new Text$2(`${c} {`), ...icu.cases[c].visit(this), new Text$2(`} `));\n        });\n        nodes.push(new Text$2(`}`));\n        return nodes;\n    }\n    visitTagPlaceholder(ph, context) {\n        const ctype = getCtypeForTag(ph.tag);\n        if (ph.isVoid) {\n            // void tags have no children nor closing tags\n            return [new Tag(_PLACEHOLDER_TAG$1, { id: ph.startName, ctype, 'equiv-text': `<${ph.tag}/>` })];\n        }\n        const startTagPh = new Tag(_PLACEHOLDER_TAG$1, { id: ph.startName, ctype, 'equiv-text': `<${ph.tag}>` });\n        const closeTagPh = new Tag(_PLACEHOLDER_TAG$1, { id: ph.closeName, ctype, 'equiv-text': `</${ph.tag}>` });\n        return [startTagPh, ...this.serialize(ph.children), closeTagPh];\n    }\n    visitPlaceholder(ph, context) {\n        return [new Tag(_PLACEHOLDER_TAG$1, { id: ph.name, 'equiv-text': `{{${ph.value}}}` })];\n    }\n    visitIcuPlaceholder(ph, context) {\n        const equivText = `{${ph.value.expression}, ${ph.value.type}, ${Object.keys(ph.value.cases).map((value) => value + ' {...}').join(' ')}}`;\n        return [new Tag(_PLACEHOLDER_TAG$1, { id: ph.name, 'equiv-text': equivText })];\n    }\n    serialize(nodes) {\n        return [].concat(...nodes.map(node => node.visit(this)));\n    }\n}\n// TODO(vicb): add error management (structure)\n// Extract messages as xml nodes from the xliff file\nclass XliffParser {\n    constructor() {\n        this._locale = null;\n    }\n    parse(xliff, url) {\n        this._unitMlString = null;\n        this._msgIdToHtml = {};\n        const xml = new XmlParser().parse(xliff, url);\n        this._errors = xml.errors;\n        visitAll$1(this, xml.rootNodes, null);\n        return {\n            msgIdToHtml: this._msgIdToHtml,\n            errors: this._errors,\n            locale: this._locale,\n        };\n    }\n    visitElement(element, context) {\n        switch (element.name) {\n            case _UNIT_TAG:\n                this._unitMlString = null;\n                const idAttr = element.attrs.find((attr) => attr.name === 'id');\n                if (!idAttr) {\n                    this._addError(element, `<${_UNIT_TAG}> misses the \"id\" attribute`);\n                }\n                else {\n                    const id = idAttr.value;\n                    if (this._msgIdToHtml.hasOwnProperty(id)) {\n                        this._addError(element, `Duplicated translations for msg ${id}`);\n                    }\n                    else {\n                        visitAll$1(this, element.children, null);\n                        if (typeof this._unitMlString === 'string') {\n                            this._msgIdToHtml[id] = this._unitMlString;\n                        }\n                        else {\n                            this._addError(element, `Message ${id} misses a translation`);\n                        }\n                    }\n                }\n                break;\n            // ignore those tags\n            case _SOURCE_TAG$1:\n            case _SEGMENT_SOURCE_TAG:\n            case _ALT_TRANS_TAG:\n                break;\n            case _TARGET_TAG:\n                const innerTextStart = element.startSourceSpan.end.offset;\n                const innerTextEnd = element.endSourceSpan.start.offset;\n                const content = element.startSourceSpan.start.file.content;\n                const innerText = content.slice(innerTextStart, innerTextEnd);\n                this._unitMlString = innerText;\n                break;\n            case _FILE_TAG:\n                const localeAttr = element.attrs.find((attr) => attr.name === 'target-language');\n                if (localeAttr) {\n                    this._locale = localeAttr.value;\n                }\n                visitAll$1(this, element.children, null);\n                break;\n            default:\n                // TODO(vicb): assert file structure, xliff version\n                // For now only recurse on unhandled nodes\n                visitAll$1(this, element.children, null);\n        }\n    }\n    visitAttribute(attribute, context) { }\n    visitText(text, context) { }\n    visitComment(comment, context) { }\n    visitExpansion(expansion, context) { }\n    visitExpansionCase(expansionCase, context) { }\n    _addError(node, message) {\n        this._errors.push(new I18nError(node.sourceSpan, message));\n    }\n}\n// Convert ml nodes (xliff syntax) to i18n nodes\nclass XmlToI18n {\n    convert(message, url) {\n        const xmlIcu = new XmlParser().parse(message, url, { tokenizeExpansionForms: true });\n        this._errors = xmlIcu.errors;\n        const i18nNodes = this._errors.length > 0 || xmlIcu.rootNodes.length == 0 ?\n            [] :\n            [].concat(...visitAll$1(this, xmlIcu.rootNodes));\n        return {\n            i18nNodes: i18nNodes,\n            errors: this._errors,\n        };\n    }\n    visitText(text, context) { return new Text$1(text.value, text.sourceSpan); }\n    visitElement(el, context) {\n        if (el.name === _PLACEHOLDER_TAG$1) {\n            const nameAttr = el.attrs.find((attr) => attr.name === 'id');\n            if (nameAttr) {\n                return new Placeholder('', nameAttr.value, el.sourceSpan);\n            }\n            this._addError(el, `<${_PLACEHOLDER_TAG$1}> misses the \"id\" attribute`);\n            return null;\n        }\n        if (el.name === _MARKER_TAG) {\n            return [].concat(...visitAll$1(this, el.children));\n        }\n        this._addError(el, `Unexpected tag`);\n        return null;\n    }\n    visitExpansion(icu, context) {\n        const caseMap = {};\n        visitAll$1(this, icu.cases).forEach((c) => {\n            caseMap[c.value] = new Container(c.nodes, icu.sourceSpan);\n        });\n        return new Icu$1(icu.switchValue, icu.type, caseMap, icu.sourceSpan);\n    }\n    visitExpansionCase(icuCase, context) {\n        return {\n            value: icuCase.value,\n            nodes: visitAll$1(this, icuCase.expression),\n        };\n    }\n    visitComment(comment, context) { }\n    visitAttribute(attribute, context) { }\n    _addError(node, message) {\n        this._errors.push(new I18nError(node.sourceSpan, message));\n    }\n}\nfunction getCtypeForTag(tag) {\n    switch (tag.toLowerCase()) {\n        case 'br':\n            return 'lb';\n        case 'img':\n            return 'image';\n        default:\n            return `x-${tag}`;\n    }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst _VERSION$1 = '2.0';\nconst _XMLNS$1 = 'urn:oasis:names:tc:xliff:document:2.0';\n// TODO(vicb): make this a param (s/_/-/)\nconst _DEFAULT_SOURCE_LANG$1 = 'en';\nconst _PLACEHOLDER_TAG$2 = 'ph';\nconst _PLACEHOLDER_SPANNING_TAG = 'pc';\nconst _MARKER_TAG$1 = 'mrk';\nconst _XLIFF_TAG = 'xliff';\nconst _SOURCE_TAG$2 = 'source';\nconst _TARGET_TAG$1 = 'target';\nconst _UNIT_TAG$1 = 'unit';\n// http://docs.oasis-open.org/xliff/xliff-core/v2.0/os/xliff-core-v2.0-os.html\nclass Xliff2 extends Serializer {\n    write(messages, locale) {\n        const visitor = new _WriteVisitor$1();\n        const units = [];\n        messages.forEach(message => {\n            const unit = new Tag(_UNIT_TAG$1, { id: message.id });\n            const notes = new Tag('notes');\n            if (message.description || message.meaning) {\n                if (message.description) {\n                    notes.children.push(new CR(8), new Tag('note', { category: 'description' }, [new Text$2(message.description)]));\n                }\n                if (message.meaning) {\n                    notes.children.push(new CR(8), new Tag('note', { category: 'meaning' }, [new Text$2(message.meaning)]));\n                }\n            }\n            message.sources.forEach((source) => {\n                notes.children.push(new CR(8), new Tag('note', { category: 'location' }, [\n                    new Text$2(`${source.filePath}:${source.startLine}${source.endLine !== source.startLine ? ',' + source.endLine : ''}`)\n                ]));\n            });\n            notes.children.push(new CR(6));\n            unit.children.push(new CR(6), notes);\n            const segment = new Tag('segment');\n            segment.children.push(new CR(8), new Tag(_SOURCE_TAG$2, {}, visitor.serialize(message.nodes)), new CR(6));\n            unit.children.push(new CR(6), segment, new CR(4));\n            units.push(new CR(4), unit);\n        });\n        const file = new Tag('file', { 'original': 'ng.template', id: 'ngi18n' }, [...units, new CR(2)]);\n        const xliff = new Tag(_XLIFF_TAG, { version: _VERSION$1, xmlns: _XMLNS$1, srcLang: locale || _DEFAULT_SOURCE_LANG$1 }, [new CR(2), file, new CR()]);\n        return serialize([\n            new Declaration({ version: '1.0', encoding: 'UTF-8' }), new CR(), xliff, new CR()\n        ]);\n    }\n    load(content, url) {\n        // xliff to xml nodes\n        const xliff2Parser = new Xliff2Parser();\n        const { locale, msgIdToHtml, errors } = xliff2Parser.parse(content, url);\n        // xml nodes to i18n nodes\n        const i18nNodesByMsgId = {};\n        const converter = new XmlToI18n$1();\n        Object.keys(msgIdToHtml).forEach(msgId => {\n            const { i18nNodes, errors: e } = converter.convert(msgIdToHtml[msgId], url);\n            errors.push(...e);\n            i18nNodesByMsgId[msgId] = i18nNodes;\n        });\n        if (errors.length) {\n            throw new Error(`xliff2 parse errors:\\n${errors.join('\\n')}`);\n        }\n        return { locale: locale, i18nNodesByMsgId };\n    }\n    digest(message) { return decimalDigest(message); }\n}\nclass _WriteVisitor$1 {\n    visitText(text, context) { return [new Text$2(text.value)]; }\n    visitContainer(container, context) {\n        const nodes = [];\n        container.children.forEach((node) => nodes.push(...node.visit(this)));\n        return nodes;\n    }\n    visitIcu(icu, context) {\n        const nodes = [new Text$2(`{${icu.expressionPlaceholder}, ${icu.type}, `)];\n        Object.keys(icu.cases).forEach((c) => {\n            nodes.push(new Text$2(`${c} {`), ...icu.cases[c].visit(this), new Text$2(`} `));\n        });\n        nodes.push(new Text$2(`}`));\n        return nodes;\n    }\n    visitTagPlaceholder(ph, context) {\n        const type = getTypeForTag(ph.tag);\n        if (ph.isVoid) {\n            const tagPh = new Tag(_PLACEHOLDER_TAG$2, {\n                id: (this._nextPlaceholderId++).toString(),\n                equiv: ph.startName,\n                type: type,\n                disp: `<${ph.tag}/>`,\n            });\n            return [tagPh];\n        }\n        const tagPc = new Tag(_PLACEHOLDER_SPANNING_TAG, {\n            id: (this._nextPlaceholderId++).toString(),\n            equivStart: ph.startName,\n            equivEnd: ph.closeName,\n            type: type,\n            dispStart: `<${ph.tag}>`,\n            dispEnd: `</${ph.tag}>`,\n        });\n        const nodes = [].concat(...ph.children.map(node => node.visit(this)));\n        if (nodes.length) {\n            nodes.forEach((node) => tagPc.children.push(node));\n        }\n        else {\n            tagPc.children.push(new Text$2(''));\n        }\n        return [tagPc];\n    }\n    visitPlaceholder(ph, context) {\n        const idStr = (this._nextPlaceholderId++).toString();\n        return [new Tag(_PLACEHOLDER_TAG$2, {\n                id: idStr,\n                equiv: ph.name,\n                disp: `{{${ph.value}}}`,\n            })];\n    }\n    visitIcuPlaceholder(ph, context) {\n        const cases = Object.keys(ph.value.cases).map((value) => value + ' {...}').join(' ');\n        const idStr = (this._nextPlaceholderId++).toString();\n        return [new Tag(_PLACEHOLDER_TAG$2, { id: idStr, equiv: ph.name, disp: `{${ph.value.expression}, ${ph.value.type}, ${cases}}` })];\n    }\n    serialize(nodes) {\n        this._nextPlaceholderId = 0;\n        return [].concat(...nodes.map(node => node.visit(this)));\n    }\n}\n// Extract messages as xml nodes from the xliff file\nclass Xliff2Parser {\n    constructor() {\n        this._locale = null;\n    }\n    parse(xliff, url) {\n        this._unitMlString = null;\n        this._msgIdToHtml = {};\n        const xml = new XmlParser().parse(xliff, url);\n        this._errors = xml.errors;\n        visitAll$1(this, xml.rootNodes, null);\n        return {\n            msgIdToHtml: this._msgIdToHtml,\n            errors: this._errors,\n            locale: this._locale,\n        };\n    }\n    visitElement(element, context) {\n        switch (element.name) {\n            case _UNIT_TAG$1:\n                this._unitMlString = null;\n                const idAttr = element.attrs.find((attr) => attr.name === 'id');\n                if (!idAttr) {\n                    this._addError(element, `<${_UNIT_TAG$1}> misses the \"id\" attribute`);\n                }\n                else {\n                    const id = idAttr.value;\n                    if (this._msgIdToHtml.hasOwnProperty(id)) {\n                        this._addError(element, `Duplicated translations for msg ${id}`);\n                    }\n                    else {\n                        visitAll$1(this, element.children, null);\n                        if (typeof this._unitMlString === 'string') {\n                            this._msgIdToHtml[id] = this._unitMlString;\n                        }\n                        else {\n                            this._addError(element, `Message ${id} misses a translation`);\n                        }\n                    }\n                }\n                break;\n            case _SOURCE_TAG$2:\n                // ignore source message\n                break;\n            case _TARGET_TAG$1:\n                const innerTextStart = element.startSourceSpan.end.offset;\n                const innerTextEnd = element.endSourceSpan.start.offset;\n                const content = element.startSourceSpan.start.file.content;\n                const innerText = content.slice(innerTextStart, innerTextEnd);\n                this._unitMlString = innerText;\n                break;\n            case _XLIFF_TAG:\n                const localeAttr = element.attrs.find((attr) => attr.name === 'trgLang');\n                if (localeAttr) {\n                    this._locale = localeAttr.value;\n                }\n                const versionAttr = element.attrs.find((attr) => attr.name === 'version');\n                if (versionAttr) {\n                    const version = versionAttr.value;\n                    if (version !== '2.0') {\n                        this._addError(element, `The XLIFF file version ${version} is not compatible with XLIFF 2.0 serializer`);\n                    }\n                    else {\n                        visitAll$1(this, element.children, null);\n                    }\n                }\n                break;\n            default:\n                visitAll$1(this, element.children, null);\n        }\n    }\n    visitAttribute(attribute, context) { }\n    visitText(text, context) { }\n    visitComment(comment, context) { }\n    visitExpansion(expansion, context) { }\n    visitExpansionCase(expansionCase, context) { }\n    _addError(node, message) {\n        this._errors.push(new I18nError(node.sourceSpan, message));\n    }\n}\n// Convert ml nodes (xliff syntax) to i18n nodes\nclass XmlToI18n$1 {\n    convert(message, url) {\n        const xmlIcu = new XmlParser().parse(message, url, { tokenizeExpansionForms: true });\n        this._errors = xmlIcu.errors;\n        const i18nNodes = this._errors.length > 0 || xmlIcu.rootNodes.length == 0 ?\n            [] :\n            [].concat(...visitAll$1(this, xmlIcu.rootNodes));\n        return {\n            i18nNodes,\n            errors: this._errors,\n        };\n    }\n    visitText(text, context) { return new Text$1(text.value, text.sourceSpan); }\n    visitElement(el, context) {\n        switch (el.name) {\n            case _PLACEHOLDER_TAG$2:\n                const nameAttr = el.attrs.find((attr) => attr.name === 'equiv');\n                if (nameAttr) {\n                    return [new Placeholder('', nameAttr.value, el.sourceSpan)];\n                }\n                this._addError(el, `<${_PLACEHOLDER_TAG$2}> misses the \"equiv\" attribute`);\n                break;\n            case _PLACEHOLDER_SPANNING_TAG:\n                const startAttr = el.attrs.find((attr) => attr.name === 'equivStart');\n                const endAttr = el.attrs.find((attr) => attr.name === 'equivEnd');\n                if (!startAttr) {\n                    this._addError(el, `<${_PLACEHOLDER_TAG$2}> misses the \"equivStart\" attribute`);\n                }\n                else if (!endAttr) {\n                    this._addError(el, `<${_PLACEHOLDER_TAG$2}> misses the \"equivEnd\" attribute`);\n                }\n                else {\n                    const startId = startAttr.value;\n                    const endId = endAttr.value;\n                    const nodes = [];\n                    return nodes.concat(new Placeholder('', startId, el.sourceSpan), ...el.children.map(node => node.visit(this, null)), new Placeholder('', endId, el.sourceSpan));\n                }\n                break;\n            case _MARKER_TAG$1:\n                return [].concat(...visitAll$1(this, el.children));\n            default:\n                this._addError(el, `Unexpected tag`);\n        }\n        return null;\n    }\n    visitExpansion(icu, context) {\n        const caseMap = {};\n        visitAll$1(this, icu.cases).forEach((c) => {\n            caseMap[c.value] = new Container(c.nodes, icu.sourceSpan);\n        });\n        return new Icu$1(icu.switchValue, icu.type, caseMap, icu.sourceSpan);\n    }\n    visitExpansionCase(icuCase, context) {\n        return {\n            value: icuCase.value,\n            nodes: [].concat(...visitAll$1(this, icuCase.expression)),\n        };\n    }\n    visitComment(comment, context) { }\n    visitAttribute(attribute, context) { }\n    _addError(node, message) {\n        this._errors.push(new I18nError(node.sourceSpan, message));\n    }\n}\nfunction getTypeForTag(tag) {\n    switch (tag.toLowerCase()) {\n        case 'br':\n        case 'b':\n        case 'i':\n        case 'u':\n            return 'fmt';\n        case 'img':\n            return 'image';\n        case 'a':\n            return 'link';\n        default:\n            return 'other';\n    }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst _TRANSLATIONS_TAG = 'translationbundle';\nconst _TRANSLATION_TAG = 'translation';\nconst _PLACEHOLDER_TAG$3 = 'ph';\nclass Xtb extends Serializer {\n    write(messages, locale) { throw new Error('Unsupported'); }\n    load(content, url) {\n        // xtb to xml nodes\n        const xtbParser = new XtbParser();\n        const { locale, msgIdToHtml, errors } = xtbParser.parse(content, url);\n        // xml nodes to i18n nodes\n        const i18nNodesByMsgId = {};\n        const converter = new XmlToI18n$2();\n        // Because we should be able to load xtb files that rely on features not supported by angular,\n        // we need to delay the conversion of html to i18n nodes so that non angular messages are not\n        // converted\n        Object.keys(msgIdToHtml).forEach(msgId => {\n            const valueFn = function () {\n                const { i18nNodes, errors } = converter.convert(msgIdToHtml[msgId], url);\n                if (errors.length) {\n                    throw new Error(`xtb parse errors:\\n${errors.join('\\n')}`);\n                }\n                return i18nNodes;\n            };\n            createLazyProperty(i18nNodesByMsgId, msgId, valueFn);\n        });\n        if (errors.length) {\n            throw new Error(`xtb parse errors:\\n${errors.join('\\n')}`);\n        }\n        return { locale: locale, i18nNodesByMsgId };\n    }\n    digest(message) { return digest$1(message); }\n    createNameMapper(message) {\n        return new SimplePlaceholderMapper(message, toPublicName);\n    }\n}\nfunction createLazyProperty(messages, id, valueFn) {\n    Object.defineProperty(messages, id, {\n        configurable: true,\n        enumerable: true,\n        get: function () {\n            const value = valueFn();\n            Object.defineProperty(messages, id, { enumerable: true, value });\n            return value;\n        },\n        set: _ => { throw new Error('Could not overwrite an XTB translation'); },\n    });\n}\n// Extract messages as xml nodes from the xtb file\nclass XtbParser {\n    constructor() {\n        this._locale = null;\n    }\n    parse(xtb, url) {\n        this._bundleDepth = 0;\n        this._msgIdToHtml = {};\n        // We can not parse the ICU messages at this point as some messages might not originate\n        // from Angular that could not be lex'd.\n        const xml = new XmlParser().parse(xtb, url);\n        this._errors = xml.errors;\n        visitAll$1(this, xml.rootNodes);\n        return {\n            msgIdToHtml: this._msgIdToHtml,\n            errors: this._errors,\n            locale: this._locale,\n        };\n    }\n    visitElement(element, context) {\n        switch (element.name) {\n            case _TRANSLATIONS_TAG:\n                this._bundleDepth++;\n                if (this._bundleDepth > 1) {\n                    this._addError(element, `<${_TRANSLATIONS_TAG}> elements can not be nested`);\n                }\n                const langAttr = element.attrs.find((attr) => attr.name === 'lang');\n                if (langAttr) {\n                    this._locale = langAttr.value;\n                }\n                visitAll$1(this, element.children, null);\n                this._bundleDepth--;\n                break;\n            case _TRANSLATION_TAG:\n                const idAttr = element.attrs.find((attr) => attr.name === 'id');\n                if (!idAttr) {\n                    this._addError(element, `<${_TRANSLATION_TAG}> misses the \"id\" attribute`);\n                }\n                else {\n                    const id = idAttr.value;\n                    if (this._msgIdToHtml.hasOwnProperty(id)) {\n                        this._addError(element, `Duplicated translations for msg ${id}`);\n                    }\n                    else {\n                        const innerTextStart = element.startSourceSpan.end.offset;\n                        const innerTextEnd = element.endSourceSpan.start.offset;\n                        const content = element.startSourceSpan.start.file.content;\n                        const innerText = content.slice(innerTextStart, innerTextEnd);\n                        this._msgIdToHtml[id] = innerText;\n                    }\n                }\n                break;\n            default:\n                this._addError(element, 'Unexpected tag');\n        }\n    }\n    visitAttribute(attribute, context) { }\n    visitText(text, context) { }\n    visitComment(comment, context) { }\n    visitExpansion(expansion, context) { }\n    visitExpansionCase(expansionCase, context) { }\n    _addError(node, message) {\n        this._errors.push(new I18nError(node.sourceSpan, message));\n    }\n}\n// Convert ml nodes (xtb syntax) to i18n nodes\nclass XmlToI18n$2 {\n    convert(message, url) {\n        const xmlIcu = new XmlParser().parse(message, url, { tokenizeExpansionForms: true });\n        this._errors = xmlIcu.errors;\n        const i18nNodes = this._errors.length > 0 || xmlIcu.rootNodes.length == 0 ?\n            [] :\n            visitAll$1(this, xmlIcu.rootNodes);\n        return {\n            i18nNodes,\n            errors: this._errors,\n        };\n    }\n    visitText(text, context) { return new Text$1(text.value, text.sourceSpan); }\n    visitExpansion(icu, context) {\n        const caseMap = {};\n        visitAll$1(this, icu.cases).forEach(c => {\n            caseMap[c.value] = new Container(c.nodes, icu.sourceSpan);\n        });\n        return new Icu$1(icu.switchValue, icu.type, caseMap, icu.sourceSpan);\n    }\n    visitExpansionCase(icuCase, context) {\n        return {\n            value: icuCase.value,\n            nodes: visitAll$1(this, icuCase.expression),\n        };\n    }\n    visitElement(el, context) {\n        if (el.name === _PLACEHOLDER_TAG$3) {\n            const nameAttr = el.attrs.find((attr) => attr.name === 'name');\n            if (nameAttr) {\n                return new Placeholder('', nameAttr.value, el.sourceSpan);\n            }\n            this._addError(el, `<${_PLACEHOLDER_TAG$3}> misses the \"name\" attribute`);\n        }\n        else {\n            this._addError(el, `Unexpected tag`);\n        }\n        return null;\n    }\n    visitComment(comment, context) { }\n    visitAttribute(attribute, context) { }\n    _addError(node, message) {\n        this._errors.push(new I18nError(node.sourceSpan, message));\n    }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * A container for translated messages\n */\nclass TranslationBundle {\n    constructor(_i18nNodesByMsgId = {}, locale, digest, mapperFactory, missingTranslationStrategy = MissingTranslationStrategy.Warning, console) {\n        this._i18nNodesByMsgId = _i18nNodesByMsgId;\n        this.digest = digest;\n        this.mapperFactory = mapperFactory;\n        this._i18nToHtml = new I18nToHtmlVisitor(_i18nNodesByMsgId, locale, digest, mapperFactory, missingTranslationStrategy, console);\n    }\n    // Creates a `TranslationBundle` by parsing the given `content` with the `serializer`.\n    static load(content, url, serializer, missingTranslationStrategy, console) {\n        const { locale, i18nNodesByMsgId } = serializer.load(content, url);\n        const digestFn = (m) => serializer.digest(m);\n        const mapperFactory = (m) => serializer.createNameMapper(m);\n        return new TranslationBundle(i18nNodesByMsgId, locale, digestFn, mapperFactory, missingTranslationStrategy, console);\n    }\n    // Returns the translation as HTML nodes from the given source message.\n    get(srcMsg) {\n        const html = this._i18nToHtml.convert(srcMsg);\n        if (html.errors.length) {\n            throw new Error(html.errors.join('\\n'));\n        }\n        return html.nodes;\n    }\n    has(srcMsg) { return this.digest(srcMsg) in this._i18nNodesByMsgId; }\n}\nclass I18nToHtmlVisitor {\n    constructor(_i18nNodesByMsgId = {}, _locale, _digest, _mapperFactory, _missingTranslationStrategy, _console) {\n        this._i18nNodesByMsgId = _i18nNodesByMsgId;\n        this._locale = _locale;\n        this._digest = _digest;\n        this._mapperFactory = _mapperFactory;\n        this._missingTranslationStrategy = _missingTranslationStrategy;\n        this._console = _console;\n        this._contextStack = [];\n        this._errors = [];\n    }\n    convert(srcMsg) {\n        this._contextStack.length = 0;\n        this._errors.length = 0;\n        // i18n to text\n        const text = this._convertToText(srcMsg);\n        // text to html\n        const url = srcMsg.nodes[0].sourceSpan.start.file.url;\n        const html = new HtmlParser().parse(text, url, { tokenizeExpansionForms: true });\n        return {\n            nodes: html.rootNodes,\n            errors: [...this._errors, ...html.errors],\n        };\n    }\n    visitText(text, context) {\n        // `convert()` uses an `HtmlParser` to return `html.Node`s\n        // we should then make sure that any special characters are escaped\n        return escapeXml(text.value);\n    }\n    visitContainer(container, context) {\n        return container.children.map(n => n.visit(this)).join('');\n    }\n    visitIcu(icu, context) {\n        const cases = Object.keys(icu.cases).map(k => `${k} {${icu.cases[k].visit(this)}}`);\n        // TODO(vicb): Once all format switch to using expression placeholders\n        // we should throw when the placeholder is not in the source message\n        const exp = this._srcMsg.placeholders.hasOwnProperty(icu.expression) ?\n            this._srcMsg.placeholders[icu.expression] :\n            icu.expression;\n        return `{${exp}, ${icu.type}, ${cases.join(' ')}}`;\n    }\n    visitPlaceholder(ph, context) {\n        const phName = this._mapper(ph.name);\n        if (this._srcMsg.placeholders.hasOwnProperty(phName)) {\n            return this._srcMsg.placeholders[phName];\n        }\n        if (this._srcMsg.placeholderToMessage.hasOwnProperty(phName)) {\n            return this._convertToText(this._srcMsg.placeholderToMessage[phName]);\n        }\n        this._addError(ph, `Unknown placeholder \"${ph.name}\"`);\n        return '';\n    }\n    // Loaded message contains only placeholders (vs tag and icu placeholders).\n    // However when a translation can not be found, we need to serialize the source message\n    // which can contain tag placeholders\n    visitTagPlaceholder(ph, context) {\n        const tag = `${ph.tag}`;\n        const attrs = Object.keys(ph.attrs).map(name => `${name}=\"${ph.attrs[name]}\"`).join(' ');\n        if (ph.isVoid) {\n            return `<${tag} ${attrs}/>`;\n        }\n        const children = ph.children.map((c) => c.visit(this)).join('');\n        return `<${tag} ${attrs}>${children}</${tag}>`;\n    }\n    // Loaded message contains only placeholders (vs tag and icu placeholders).\n    // However when a translation can not be found, we need to serialize the source message\n    // which can contain tag placeholders\n    visitIcuPlaceholder(ph, context) {\n        // An ICU placeholder references the source message to be serialized\n        return this._convertToText(this._srcMsg.placeholderToMessage[ph.name]);\n    }\n    /**\n     * Convert a source message to a translated text string:\n     * - text nodes are replaced with their translation,\n     * - placeholders are replaced with their content,\n     * - ICU nodes are converted to ICU expressions.\n     */\n    _convertToText(srcMsg) {\n        const id = this._digest(srcMsg);\n        const mapper = this._mapperFactory ? this._mapperFactory(srcMsg) : null;\n        let nodes;\n        this._contextStack.push({ msg: this._srcMsg, mapper: this._mapper });\n        this._srcMsg = srcMsg;\n        if (this._i18nNodesByMsgId.hasOwnProperty(id)) {\n            // When there is a translation use its nodes as the source\n            // And create a mapper to convert serialized placeholder names to internal names\n            nodes = this._i18nNodesByMsgId[id];\n            this._mapper = (name) => mapper ? mapper.toInternalName(name) : name;\n        }\n        else {\n            // When no translation has been found\n            // - report an error / a warning / nothing,\n            // - use the nodes from the original message\n            // - placeholders are already internal and need no mapper\n            if (this._missingTranslationStrategy === MissingTranslationStrategy.Error) {\n                const ctx = this._locale ? ` for locale \"${this._locale}\"` : '';\n                this._addError(srcMsg.nodes[0], `Missing translation for message \"${id}\"${ctx}`);\n            }\n            else if (this._console &&\n                this._missingTranslationStrategy === MissingTranslationStrategy.Warning) {\n                const ctx = this._locale ? ` for locale \"${this._locale}\"` : '';\n                this._console.warn(`Missing translation for message \"${id}\"${ctx}`);\n            }\n            nodes = srcMsg.nodes;\n            this._mapper = (name) => name;\n        }\n        const text = nodes.map(node => node.visit(this)).join('');\n        const context = this._contextStack.pop();\n        this._srcMsg = context.msg;\n        this._mapper = context.mapper;\n        return text;\n    }\n    _addError(el, msg) {\n        this._errors.push(new I18nError(el.sourceSpan, msg));\n    }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nclass I18NHtmlParser {\n    constructor(_htmlParser, translations, translationsFormat, missingTranslation = MissingTranslationStrategy.Warning, console) {\n        this._htmlParser = _htmlParser;\n        if (translations) {\n            const serializer = createSerializer(translationsFormat);\n            this._translationBundle =\n                TranslationBundle.load(translations, 'i18n', serializer, missingTranslation, console);\n        }\n        else {\n            this._translationBundle =\n                new TranslationBundle({}, null, digest, undefined, missingTranslation, console);\n        }\n    }\n    parse(source, url, options = {}) {\n        const interpolationConfig = options.interpolationConfig || DEFAULT_INTERPOLATION_CONFIG;\n        const parseResult = this._htmlParser.parse(source, url, Object.assign({ interpolationConfig }, options));\n        if (parseResult.errors.length) {\n            return new ParseTreeResult(parseResult.rootNodes, parseResult.errors);\n        }\n        return mergeTranslations(parseResult.rootNodes, this._translationBundle, interpolationConfig, [], {});\n    }\n}\nfunction createSerializer(format) {\n    format = (format || 'xlf').toLowerCase();\n    switch (format) {\n        case 'xmb':\n            return new Xmb();\n        case 'xtb':\n            return new Xtb();\n        case 'xliff2':\n        case 'xlf2':\n            return new Xliff2();\n        case 'xliff':\n        case 'xlf':\n        default:\n            return new Xliff();\n    }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst QUOTED_KEYS = '$quoted$';\nfunction convertValueToOutputAst(ctx, value, type = null) {\n    return visitValue(value, new _ValueOutputAstTransformer(ctx), type);\n}\nclass _ValueOutputAstTransformer {\n    constructor(ctx) {\n        this.ctx = ctx;\n    }\n    visitArray(arr, type) {\n        return literalArr(arr.map(value => visitValue(value, this, null)), type);\n    }\n    visitStringMap(map, type) {\n        const entries = [];\n        const quotedSet = new Set(map && map[QUOTED_KEYS]);\n        Object.keys(map).forEach(key => {\n            entries.push(new LiteralMapEntry(key, visitValue(map[key], this, null), quotedSet.has(key)));\n        });\n        return new LiteralMapExpr(entries, type);\n    }\n    visitPrimitive(value, type) { return literal(value, type); }\n    visitOther(value, type) {\n        if (value instanceof Expression) {\n            return value;\n        }\n        else {\n            return this.ctx.importExpr(value);\n        }\n    }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction mapEntry$1(key, value) {\n    return { key, value, quoted: false };\n}\nclass InjectableCompiler {\n    constructor(reflector, alwaysGenerateDef) {\n        this.reflector = reflector;\n        this.alwaysGenerateDef = alwaysGenerateDef;\n        this.tokenInjector = reflector.resolveExternalReference(Identifiers.Injector);\n    }\n    depsArray(deps, ctx) {\n        return deps.map(dep => {\n            let token = dep;\n            let args = [token];\n            let flags = 0 /* Default */;\n            if (Array.isArray(dep)) {\n                for (let i = 0; i < dep.length; i++) {\n                    const v = dep[i];\n                    if (v) {\n                        if (v.ngMetadataName === 'Optional') {\n                            flags |= 8 /* Optional */;\n                        }\n                        else if (v.ngMetadataName === 'SkipSelf') {\n                            flags |= 4 /* SkipSelf */;\n                        }\n                        else if (v.ngMetadataName === 'Self') {\n                            flags |= 2 /* Self */;\n                        }\n                        else if (v.ngMetadataName === 'Inject') {\n                            token = v.token;\n                        }\n                        else {\n                            token = v;\n                        }\n                    }\n                }\n            }\n            let tokenExpr;\n            if (typeof token === 'string') {\n                tokenExpr = literal(token);\n            }\n            else if (token === this.tokenInjector) {\n                tokenExpr = importExpr(Identifiers.INJECTOR);\n            }\n            else {\n                tokenExpr = ctx.importExpr(token);\n            }\n            if (flags !== 0 /* Default */) {\n                args = [tokenExpr, literal(flags)];\n            }\n            else {\n                args = [tokenExpr];\n            }\n            return importExpr(Identifiers.inject).callFn(args);\n        });\n    }\n    factoryFor(injectable, ctx) {\n        let retValue;\n        if (injectable.useExisting) {\n            retValue = importExpr(Identifiers.inject).callFn([ctx.importExpr(injectable.useExisting)]);\n        }\n        else if (injectable.useFactory) {\n            const deps = injectable.deps || [];\n            if (deps.length > 0) {\n                retValue = ctx.importExpr(injectable.useFactory).callFn(this.depsArray(deps, ctx));\n            }\n            else {\n                return ctx.importExpr(injectable.useFactory);\n            }\n        }\n        else if (injectable.useValue) {\n            retValue = convertValueToOutputAst(ctx, injectable.useValue);\n        }\n        else {\n            const clazz = injectable.useClass || injectable.symbol;\n            const depArgs = this.depsArray(this.reflector.parameters(clazz), ctx);\n            retValue = new InstantiateExpr(ctx.importExpr(clazz), depArgs);\n        }\n        return fn([], [new ReturnStatement(retValue)], undefined, undefined, injectable.symbol.name + '_Factory');\n    }\n    injectableDef(injectable, ctx) {\n        let providedIn = NULL_EXPR;\n        if (injectable.providedIn !== undefined) {\n            if (injectable.providedIn === null) {\n                providedIn = NULL_EXPR;\n            }\n            else if (typeof injectable.providedIn === 'string') {\n                providedIn = literal(injectable.providedIn);\n            }\n            else {\n                providedIn = ctx.importExpr(injectable.providedIn);\n            }\n        }\n        const def = [\n            mapEntry$1('factory', this.factoryFor(injectable, ctx)),\n            mapEntry$1('token', ctx.importExpr(injectable.type.reference)),\n            mapEntry$1('providedIn', providedIn),\n        ];\n        return importExpr(Identifiers.ɵɵdefineInjectable).callFn([literalMap(def)]);\n    }\n    compile(injectable, ctx) {\n        if (this.alwaysGenerateDef || injectable.providedIn !== undefined) {\n            const className = identifierName(injectable.type);\n            const clazz = new ClassStmt(className, null, [\n                new ClassField('ngInjectableDef', INFERRED_TYPE, [StmtModifier.Static], this.injectableDef(injectable, ctx)),\n            ], [], new ClassMethod(null, [], []), []);\n            ctx.statements.push(clazz);\n        }\n    }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst STRIP_SRC_FILE_SUFFIXES = /(\\.ts|\\.d\\.ts|\\.js|\\.jsx|\\.tsx)$/;\nconst GENERATED_FILE = /\\.ngfactory\\.|\\.ngsummary\\./;\nconst JIT_SUMMARY_FILE = /\\.ngsummary\\./;\nconst JIT_SUMMARY_NAME = /NgSummary$/;\nfunction ngfactoryFilePath(filePath, forceSourceFile = false) {\n    const urlWithSuffix = splitTypescriptSuffix(filePath, forceSourceFile);\n    return `${urlWithSuffix[0]}.ngfactory${normalizeGenFileSuffix(urlWithSuffix[1])}`;\n}\nfunction stripGeneratedFileSuffix(filePath) {\n    return filePath.replace(GENERATED_FILE, '.');\n}\nfunction isGeneratedFile(filePath) {\n    return GENERATED_FILE.test(filePath);\n}\nfunction splitTypescriptSuffix(path, forceSourceFile = false) {\n    if (path.endsWith('.d.ts')) {\n        return [path.slice(0, -5), forceSourceFile ? '.ts' : '.d.ts'];\n    }\n    const lastDot = path.lastIndexOf('.');\n    if (lastDot !== -1) {\n        return [path.substring(0, lastDot), path.substring(lastDot)];\n    }\n    return [path, ''];\n}\nfunction normalizeGenFileSuffix(srcFileSuffix) {\n    return srcFileSuffix === '.tsx' ? '.ts' : srcFileSuffix;\n}\nfunction summaryFileName(fileName) {\n    const fileNameWithoutSuffix = fileName.replace(STRIP_SRC_FILE_SUFFIXES, '');\n    return `${fileNameWithoutSuffix}.ngsummary.json`;\n}\nfunction summaryForJitFileName(fileName, forceSourceFile = false) {\n    const urlWithSuffix = splitTypescriptSuffix(stripGeneratedFileSuffix(fileName), forceSourceFile);\n    return `${urlWithSuffix[0]}.ngsummary${urlWithSuffix[1]}`;\n}\nfunction stripSummaryForJitFileSuffix(filePath) {\n    return filePath.replace(JIT_SUMMARY_FILE, '.');\n}\nfunction summaryForJitName(symbolName) {\n    return `${symbolName}NgSummary`;\n}\nfunction stripSummaryForJitNameSuffix(symbolName) {\n    return symbolName.replace(JIT_SUMMARY_NAME, '');\n}\nconst LOWERED_SYMBOL = /\\u0275\\d+/;\nfunction isLoweredSymbol(name) {\n    return LOWERED_SYMBOL.test(name);\n}\nfunction createLoweredSymbol(id) {\n    return `\\u0275${id}`;\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar LifecycleHooks;\n(function (LifecycleHooks) {\n    LifecycleHooks[LifecycleHooks[\"OnInit\"] = 0] = \"OnInit\";\n    LifecycleHooks[LifecycleHooks[\"OnDestroy\"] = 1] = \"OnDestroy\";\n    LifecycleHooks[LifecycleHooks[\"DoCheck\"] = 2] = \"DoCheck\";\n    LifecycleHooks[LifecycleHooks[\"OnChanges\"] = 3] = \"OnChanges\";\n    LifecycleHooks[LifecycleHooks[\"AfterContentInit\"] = 4] = \"AfterContentInit\";\n    LifecycleHooks[LifecycleHooks[\"AfterContentChecked\"] = 5] = \"AfterContentChecked\";\n    LifecycleHooks[LifecycleHooks[\"AfterViewInit\"] = 6] = \"AfterViewInit\";\n    LifecycleHooks[LifecycleHooks[\"AfterViewChecked\"] = 7] = \"AfterViewChecked\";\n})(LifecycleHooks || (LifecycleHooks = {}));\nconst LIFECYCLE_HOOKS_VALUES = [\n    LifecycleHooks.OnInit, LifecycleHooks.OnDestroy, LifecycleHooks.DoCheck, LifecycleHooks.OnChanges,\n    LifecycleHooks.AfterContentInit, LifecycleHooks.AfterContentChecked, LifecycleHooks.AfterViewInit,\n    LifecycleHooks.AfterViewChecked\n];\nfunction hasLifecycleHook(reflector, hook, token) {\n    return reflector.hasLifecycleHook(token, getHookName(hook));\n}\nfunction getAllLifecycleHooks(reflector, token) {\n    return LIFECYCLE_HOOKS_VALUES.filter(hook => hasLifecycleHook(reflector, hook, token));\n}\nfunction getHookName(hook) {\n    switch (hook) {\n        case LifecycleHooks.OnInit:\n            return 'ngOnInit';\n        case LifecycleHooks.OnDestroy:\n            return 'ngOnDestroy';\n        case LifecycleHooks.DoCheck:\n            return 'ngDoCheck';\n        case LifecycleHooks.OnChanges:\n            return 'ngOnChanges';\n        case LifecycleHooks.AfterContentInit:\n            return 'ngAfterContentInit';\n        case LifecycleHooks.AfterContentChecked:\n            return 'ngAfterContentChecked';\n        case LifecycleHooks.AfterViewInit:\n            return 'ngAfterViewInit';\n        case LifecycleHooks.AfterViewChecked:\n            return 'ngAfterViewChecked';\n        default:\n            // This default case is not needed by TypeScript compiler, as the switch is exhaustive.\n            // However Closure Compiler does not understand that and reports an error in typed mode.\n            // The `throw new Error` below works around the problem, and the unexpected: never variable\n            // makes sure tsc still checks this code is unreachable.\n            const unexpected = hook;\n            throw new Error(`unexpected ${unexpected}`);\n    }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst ERROR_COMPONENT_TYPE = 'ngComponentType';\n// Design notes:\n// - don't lazily create metadata:\n//   For some metadata, we need to do async work sometimes,\n//   so the user has to kick off this loading.\n//   But we want to report errors even when the async work is\n//   not required to check that the user would have been able\n//   to wait correctly.\nclass CompileMetadataResolver {\n    constructor(_config, _htmlParser, _ngModuleResolver, _directiveResolver, _pipeResolver, _summaryResolver, _schemaRegistry, _directiveNormalizer, _console, _staticSymbolCache, _reflector, _errorCollector) {\n        this._config = _config;\n        this._htmlParser = _htmlParser;\n        this._ngModuleResolver = _ngModuleResolver;\n        this._directiveResolver = _directiveResolver;\n        this._pipeResolver = _pipeResolver;\n        this._summaryResolver = _summaryResolver;\n        this._schemaRegistry = _schemaRegistry;\n        this._directiveNormalizer = _directiveNormalizer;\n        this._console = _console;\n        this._staticSymbolCache = _staticSymbolCache;\n        this._reflector = _reflector;\n        this._errorCollector = _errorCollector;\n        this._nonNormalizedDirectiveCache = new Map();\n        this._directiveCache = new Map();\n        this._summaryCache = new Map();\n        this._pipeCache = new Map();\n        this._ngModuleCache = new Map();\n        this._ngModuleOfTypes = new Map();\n        this._shallowModuleCache = new Map();\n    }\n    getReflector() { return this._reflector; }\n    clearCacheFor(type) {\n        const dirMeta = this._directiveCache.get(type);\n        this._directiveCache.delete(type);\n        this._nonNormalizedDirectiveCache.delete(type);\n        this._summaryCache.delete(type);\n        this._pipeCache.delete(type);\n        this._ngModuleOfTypes.delete(type);\n        // Clear all of the NgModule as they contain transitive information!\n        this._ngModuleCache.clear();\n        if (dirMeta) {\n            this._directiveNormalizer.clearCacheFor(dirMeta);\n        }\n    }\n    clearCache() {\n        this._directiveCache.clear();\n        this._nonNormalizedDirectiveCache.clear();\n        this._summaryCache.clear();\n        this._pipeCache.clear();\n        this._ngModuleCache.clear();\n        this._ngModuleOfTypes.clear();\n        this._directiveNormalizer.clearCache();\n    }\n    _createProxyClass(baseType, name) {\n        let delegate = null;\n        const proxyClass = function () {\n            if (!delegate) {\n                throw new Error(`Illegal state: Class ${name} for type ${stringify(baseType)} is not compiled yet!`);\n            }\n            return delegate.apply(this, arguments);\n        };\n        proxyClass.setDelegate = (d) => {\n            delegate = d;\n            proxyClass.prototype = d.prototype;\n        };\n        // Make stringify work correctly\n        proxyClass.overriddenName = name;\n        return proxyClass;\n    }\n    getGeneratedClass(dirType, name) {\n        if (dirType instanceof StaticSymbol) {\n            return this._staticSymbolCache.get(ngfactoryFilePath(dirType.filePath), name);\n        }\n        else {\n            return this._createProxyClass(dirType, name);\n        }\n    }\n    getComponentViewClass(dirType) {\n        return this.getGeneratedClass(dirType, viewClassName(dirType, 0));\n    }\n    getHostComponentViewClass(dirType) {\n        return this.getGeneratedClass(dirType, hostViewClassName(dirType));\n    }\n    getHostComponentType(dirType) {\n        const name = `${identifierName({ reference: dirType })}_Host`;\n        if (dirType instanceof StaticSymbol) {\n            return this._staticSymbolCache.get(dirType.filePath, name);\n        }\n        return this._createProxyClass(dirType, name);\n    }\n    getRendererType(dirType) {\n        if (dirType instanceof StaticSymbol) {\n            return this._staticSymbolCache.get(ngfactoryFilePath(dirType.filePath), rendererTypeName(dirType));\n        }\n        else {\n            // returning an object as proxy,\n            // that we fill later during runtime compilation.\n            return {};\n        }\n    }\n    getComponentFactory(selector, dirType, inputs, outputs) {\n        if (dirType instanceof StaticSymbol) {\n            return this._staticSymbolCache.get(ngfactoryFilePath(dirType.filePath), componentFactoryName(dirType));\n        }\n        else {\n            const hostView = this.getHostComponentViewClass(dirType);\n            // Note: ngContentSelectors will be filled later once the template is\n            // loaded.\n            const createComponentFactory = this._reflector.resolveExternalReference(Identifiers.createComponentFactory);\n            return createComponentFactory(selector, dirType, hostView, inputs, outputs, []);\n        }\n    }\n    initComponentFactory(factory, ngContentSelectors) {\n        if (!(factory instanceof StaticSymbol)) {\n            factory.ngContentSelectors.push(...ngContentSelectors);\n        }\n    }\n    _loadSummary(type, kind) {\n        let typeSummary = this._summaryCache.get(type);\n        if (!typeSummary) {\n            const summary = this._summaryResolver.resolveSummary(type);\n            typeSummary = summary ? summary.type : null;\n            this._summaryCache.set(type, typeSummary || null);\n        }\n        return typeSummary && typeSummary.summaryKind === kind ? typeSummary : null;\n    }\n    getHostComponentMetadata(compMeta, hostViewType) {\n        const hostType = this.getHostComponentType(compMeta.type.reference);\n        if (!hostViewType) {\n            hostViewType = this.getHostComponentViewClass(hostType);\n        }\n        // Note: ! is ok here as this method should only be called with normalized directive\n        // metadata, which always fills in the selector.\n        const template = CssSelector.parse(compMeta.selector)[0].getMatchingElementTemplate();\n        const templateUrl = '';\n        const htmlAst = this._htmlParser.parse(template, templateUrl);\n        return CompileDirectiveMetadata.create({\n            isHost: true,\n            type: { reference: hostType, diDeps: [], lifecycleHooks: [] },\n            template: new CompileTemplateMetadata({\n                encapsulation: ViewEncapsulation.None,\n                template,\n                templateUrl,\n                htmlAst,\n                styles: [],\n                styleUrls: [],\n                ngContentSelectors: [],\n                animations: [],\n                isInline: true,\n                externalStylesheets: [],\n                interpolation: null,\n                preserveWhitespaces: false,\n            }),\n            exportAs: null,\n            changeDetection: ChangeDetectionStrategy.Default,\n            inputs: [],\n            outputs: [],\n            host: {},\n            isComponent: true,\n            selector: '*',\n            providers: [],\n            viewProviders: [],\n            queries: [],\n            guards: {},\n            viewQueries: [],\n            componentViewType: hostViewType,\n            rendererType: { id: '__Host__', encapsulation: ViewEncapsulation.None, styles: [], data: {} },\n            entryComponents: [],\n            componentFactory: null\n        });\n    }\n    loadDirectiveMetadata(ngModuleType, directiveType, isSync) {\n        if (this._directiveCache.has(directiveType)) {\n            return null;\n        }\n        directiveType = resolveForwardRef(directiveType);\n        const { annotation, metadata } = this.getNonNormalizedDirectiveMetadata(directiveType);\n        const createDirectiveMetadata = (templateMetadata) => {\n            const normalizedDirMeta = new CompileDirectiveMetadata({\n                isHost: false,\n                type: metadata.type,\n                isComponent: metadata.isComponent,\n                selector: metadata.selector,\n                exportAs: metadata.exportAs,\n                changeDetection: metadata.changeDetection,\n                inputs: metadata.inputs,\n                outputs: metadata.outputs,\n                hostListeners: metadata.hostListeners,\n                hostProperties: metadata.hostProperties,\n                hostAttributes: metadata.hostAttributes,\n                providers: metadata.providers,\n                viewProviders: metadata.viewProviders,\n                queries: metadata.queries,\n                guards: metadata.guards,\n                viewQueries: metadata.viewQueries,\n                entryComponents: metadata.entryComponents,\n                componentViewType: metadata.componentViewType,\n                rendererType: metadata.rendererType,\n                componentFactory: metadata.componentFactory,\n                template: templateMetadata\n            });\n            if (templateMetadata) {\n                this.initComponentFactory(metadata.componentFactory, templateMetadata.ngContentSelectors);\n            }\n            this._directiveCache.set(directiveType, normalizedDirMeta);\n            this._summaryCache.set(directiveType, normalizedDirMeta.toSummary());\n            return null;\n        };\n        if (metadata.isComponent) {\n            const template = metadata.template;\n            const templateMeta = this._directiveNormalizer.normalizeTemplate({\n                ngModuleType,\n                componentType: directiveType,\n                moduleUrl: this._reflector.componentModuleUrl(directiveType, annotation),\n                encapsulation: template.encapsulation,\n                template: template.template,\n                templateUrl: template.templateUrl,\n                styles: template.styles,\n                styleUrls: template.styleUrls,\n                animations: template.animations,\n                interpolation: template.interpolation,\n                preserveWhitespaces: template.preserveWhitespaces\n            });\n            if (isPromise(templateMeta) && isSync) {\n                this._reportError(componentStillLoadingError(directiveType), directiveType);\n                return null;\n            }\n            return SyncAsync.then(templateMeta, createDirectiveMetadata);\n        }\n        else {\n            // directive\n            createDirectiveMetadata(null);\n            return null;\n        }\n    }\n    getNonNormalizedDirectiveMetadata(directiveType) {\n        directiveType = resolveForwardRef(directiveType);\n        if (!directiveType) {\n            return null;\n        }\n        let cacheEntry = this._nonNormalizedDirectiveCache.get(directiveType);\n        if (cacheEntry) {\n            return cacheEntry;\n        }\n        const dirMeta = this._directiveResolver.resolve(directiveType, false);\n        if (!dirMeta) {\n            return null;\n        }\n        let nonNormalizedTemplateMetadata = undefined;\n        if (createComponent.isTypeOf(dirMeta)) {\n            // component\n            const compMeta = dirMeta;\n            assertArrayOfStrings('styles', compMeta.styles);\n            assertArrayOfStrings('styleUrls', compMeta.styleUrls);\n            assertInterpolationSymbols('interpolation', compMeta.interpolation);\n            const animations = compMeta.animations;\n            nonNormalizedTemplateMetadata = new CompileTemplateMetadata({\n                encapsulation: noUndefined(compMeta.encapsulation),\n                template: noUndefined(compMeta.template),\n                templateUrl: noUndefined(compMeta.templateUrl),\n                htmlAst: null,\n                styles: compMeta.styles || [],\n                styleUrls: compMeta.styleUrls || [],\n                animations: animations || [],\n                interpolation: noUndefined(compMeta.interpolation),\n                isInline: !!compMeta.template,\n                externalStylesheets: [],\n                ngContentSelectors: [],\n                preserveWhitespaces: noUndefined(dirMeta.preserveWhitespaces),\n            });\n        }\n        let changeDetectionStrategy = null;\n        let viewProviders = [];\n        let entryComponentMetadata = [];\n        let selector = dirMeta.selector;\n        if (createComponent.isTypeOf(dirMeta)) {\n            // Component\n            const compMeta = dirMeta;\n            changeDetectionStrategy = compMeta.changeDetection;\n            if (compMeta.viewProviders) {\n                viewProviders = this._getProvidersMetadata(compMeta.viewProviders, entryComponentMetadata, `viewProviders for \"${stringifyType(directiveType)}\"`, [], directiveType);\n            }\n            if (compMeta.entryComponents) {\n                entryComponentMetadata = flattenAndDedupeArray(compMeta.entryComponents)\n                    .map((type) => this._getEntryComponentMetadata(type))\n                    .concat(entryComponentMetadata);\n            }\n            if (!selector) {\n                selector = this._schemaRegistry.getDefaultComponentElementName();\n            }\n        }\n        else {\n            // Directive\n            if (!selector) {\n                this._reportError(syntaxError(`Directive ${stringifyType(directiveType)} has no selector, please add it!`), directiveType);\n                selector = 'error';\n            }\n        }\n        let providers = [];\n        if (dirMeta.providers != null) {\n            providers = this._getProvidersMetadata(dirMeta.providers, entryComponentMetadata, `providers for \"${stringifyType(directiveType)}\"`, [], directiveType);\n        }\n        let queries = [];\n        let viewQueries = [];\n        if (dirMeta.queries != null) {\n            queries = this._getQueriesMetadata(dirMeta.queries, false, directiveType);\n            viewQueries = this._getQueriesMetadata(dirMeta.queries, true, directiveType);\n        }\n        const metadata = CompileDirectiveMetadata.create({\n            isHost: false,\n            selector: selector,\n            exportAs: noUndefined(dirMeta.exportAs),\n            isComponent: !!nonNormalizedTemplateMetadata,\n            type: this._getTypeMetadata(directiveType),\n            template: nonNormalizedTemplateMetadata,\n            changeDetection: changeDetectionStrategy,\n            inputs: dirMeta.inputs || [],\n            outputs: dirMeta.outputs || [],\n            host: dirMeta.host || {},\n            providers: providers || [],\n            viewProviders: viewProviders || [],\n            queries: queries || [],\n            guards: dirMeta.guards || {},\n            viewQueries: viewQueries || [],\n            entryComponents: entryComponentMetadata,\n            componentViewType: nonNormalizedTemplateMetadata ? this.getComponentViewClass(directiveType) :\n                null,\n            rendererType: nonNormalizedTemplateMetadata ? this.getRendererType(directiveType) : null,\n            componentFactory: null\n        });\n        if (nonNormalizedTemplateMetadata) {\n            metadata.componentFactory =\n                this.getComponentFactory(selector, directiveType, metadata.inputs, metadata.outputs);\n        }\n        cacheEntry = { metadata, annotation: dirMeta };\n        this._nonNormalizedDirectiveCache.set(directiveType, cacheEntry);\n        return cacheEntry;\n    }\n    /**\n     * Gets the metadata for the given directive.\n     * This assumes `loadNgModuleDirectiveAndPipeMetadata` has been called first.\n     */\n    getDirectiveMetadata(directiveType) {\n        const dirMeta = this._directiveCache.get(directiveType);\n        if (!dirMeta) {\n            this._reportError(syntaxError(`Illegal state: getDirectiveMetadata can only be called after loadNgModuleDirectiveAndPipeMetadata for a module that declares it. Directive ${stringifyType(directiveType)}.`), directiveType);\n        }\n        return dirMeta;\n    }\n    getDirectiveSummary(dirType) {\n        const dirSummary = this._loadSummary(dirType, CompileSummaryKind.Directive);\n        if (!dirSummary) {\n            this._reportError(syntaxError(`Illegal state: Could not load the summary for directive ${stringifyType(dirType)}.`), dirType);\n        }\n        return dirSummary;\n    }\n    isDirective(type) {\n        return !!this._loadSummary(type, CompileSummaryKind.Directive) ||\n            this._directiveResolver.isDirective(type);\n    }\n    isPipe(type) {\n        return !!this._loadSummary(type, CompileSummaryKind.Pipe) ||\n            this._pipeResolver.isPipe(type);\n    }\n    isNgModule(type) {\n        return !!this._loadSummary(type, CompileSummaryKind.NgModule) ||\n            this._ngModuleResolver.isNgModule(type);\n    }\n    getNgModuleSummary(moduleType, alreadyCollecting = null) {\n        let moduleSummary = this._loadSummary(moduleType, CompileSummaryKind.NgModule);\n        if (!moduleSummary) {\n            const moduleMeta = this.getNgModuleMetadata(moduleType, false, alreadyCollecting);\n            moduleSummary = moduleMeta ? moduleMeta.toSummary() : null;\n            if (moduleSummary) {\n                this._summaryCache.set(moduleType, moduleSummary);\n            }\n        }\n        return moduleSummary;\n    }\n    /**\n     * Loads the declared directives and pipes of an NgModule.\n     */\n    loadNgModuleDirectiveAndPipeMetadata(moduleType, isSync, throwIfNotFound = true) {\n        const ngModule = this.getNgModuleMetadata(moduleType, throwIfNotFound);\n        const loading = [];\n        if (ngModule) {\n            ngModule.declaredDirectives.forEach((id) => {\n                const promise = this.loadDirectiveMetadata(moduleType, id.reference, isSync);\n                if (promise) {\n                    loading.push(promise);\n                }\n            });\n            ngModule.declaredPipes.forEach((id) => this._loadPipeMetadata(id.reference));\n        }\n        return Promise.all(loading);\n    }\n    getShallowModuleMetadata(moduleType) {\n        let compileMeta = this._shallowModuleCache.get(moduleType);\n        if (compileMeta) {\n            return compileMeta;\n        }\n        const ngModuleMeta = findLast(this._reflector.shallowAnnotations(moduleType), createNgModule.isTypeOf);\n        compileMeta = {\n            type: this._getTypeMetadata(moduleType),\n            rawExports: ngModuleMeta.exports,\n            rawImports: ngModuleMeta.imports,\n            rawProviders: ngModuleMeta.providers,\n        };\n        this._shallowModuleCache.set(moduleType, compileMeta);\n        return compileMeta;\n    }\n    getNgModuleMetadata(moduleType, throwIfNotFound = true, alreadyCollecting = null) {\n        moduleType = resolveForwardRef(moduleType);\n        let compileMeta = this._ngModuleCache.get(moduleType);\n        if (compileMeta) {\n            return compileMeta;\n        }\n        const meta = this._ngModuleResolver.resolve(moduleType, throwIfNotFound);\n        if (!meta) {\n            return null;\n        }\n        const declaredDirectives = [];\n        const exportedNonModuleIdentifiers = [];\n        const declaredPipes = [];\n        const importedModules = [];\n        const exportedModules = [];\n        const providers = [];\n        const entryComponents = [];\n        const bootstrapComponents = [];\n        const schemas = [];\n        if (meta.imports) {\n            flattenAndDedupeArray(meta.imports).forEach((importedType) => {\n                let importedModuleType = undefined;\n                if (isValidType(importedType)) {\n                    importedModuleType = importedType;\n                }\n                else if (importedType && importedType.ngModule) {\n                    const moduleWithProviders = importedType;\n                    importedModuleType = moduleWithProviders.ngModule;\n                    if (moduleWithProviders.providers) {\n                        providers.push(...this._getProvidersMetadata(moduleWithProviders.providers, entryComponents, `provider for the NgModule '${stringifyType(importedModuleType)}'`, [], importedType));\n                    }\n                }\n                if (importedModuleType) {\n                    if (this._checkSelfImport(moduleType, importedModuleType))\n                        return;\n                    if (!alreadyCollecting)\n                        alreadyCollecting = new Set();\n                    if (alreadyCollecting.has(importedModuleType)) {\n                        this._reportError(syntaxError(`${this._getTypeDescriptor(importedModuleType)} '${stringifyType(importedType)}' is imported recursively by the module '${stringifyType(moduleType)}'.`), moduleType);\n                        return;\n                    }\n                    alreadyCollecting.add(importedModuleType);\n                    const importedModuleSummary = this.getNgModuleSummary(importedModuleType, alreadyCollecting);\n                    alreadyCollecting.delete(importedModuleType);\n                    if (!importedModuleSummary) {\n                        this._reportError(syntaxError(`Unexpected ${this._getTypeDescriptor(importedType)} '${stringifyType(importedType)}' imported by the module '${stringifyType(moduleType)}'. Please add a @NgModule annotation.`), moduleType);\n                        return;\n                    }\n                    importedModules.push(importedModuleSummary);\n                }\n                else {\n                    this._reportError(syntaxError(`Unexpected value '${stringifyType(importedType)}' imported by the module '${stringifyType(moduleType)}'`), moduleType);\n                    return;\n                }\n            });\n        }\n        if (meta.exports) {\n            flattenAndDedupeArray(meta.exports).forEach((exportedType) => {\n                if (!isValidType(exportedType)) {\n                    this._reportError(syntaxError(`Unexpected value '${stringifyType(exportedType)}' exported by the module '${stringifyType(moduleType)}'`), moduleType);\n                    return;\n                }\n                if (!alreadyCollecting)\n                    alreadyCollecting = new Set();\n                if (alreadyCollecting.has(exportedType)) {\n                    this._reportError(syntaxError(`${this._getTypeDescriptor(exportedType)} '${stringify(exportedType)}' is exported recursively by the module '${stringifyType(moduleType)}'`), moduleType);\n                    return;\n                }\n                alreadyCollecting.add(exportedType);\n                const exportedModuleSummary = this.getNgModuleSummary(exportedType, alreadyCollecting);\n                alreadyCollecting.delete(exportedType);\n                if (exportedModuleSummary) {\n                    exportedModules.push(exportedModuleSummary);\n                }\n                else {\n                    exportedNonModuleIdentifiers.push(this._getIdentifierMetadata(exportedType));\n                }\n            });\n        }\n        // Note: This will be modified later, so we rely on\n        // getting a new instance every time!\n        const transitiveModule = this._getTransitiveNgModuleMetadata(importedModules, exportedModules);\n        if (meta.declarations) {\n            flattenAndDedupeArray(meta.declarations).forEach((declaredType) => {\n                if (!isValidType(declaredType)) {\n                    this._reportError(syntaxError(`Unexpected value '${stringifyType(declaredType)}' declared by the module '${stringifyType(moduleType)}'`), moduleType);\n                    return;\n                }\n                const declaredIdentifier = this._getIdentifierMetadata(declaredType);\n                if (this.isDirective(declaredType)) {\n                    transitiveModule.addDirective(declaredIdentifier);\n                    declaredDirectives.push(declaredIdentifier);\n                    this._addTypeToModule(declaredType, moduleType);\n                }\n                else if (this.isPipe(declaredType)) {\n                    transitiveModule.addPipe(declaredIdentifier);\n                    transitiveModule.pipes.push(declaredIdentifier);\n                    declaredPipes.push(declaredIdentifier);\n                    this._addTypeToModule(declaredType, moduleType);\n                }\n                else {\n                    this._reportError(syntaxError(`Unexpected ${this._getTypeDescriptor(declaredType)} '${stringifyType(declaredType)}' declared by the module '${stringifyType(moduleType)}'. Please add a @Pipe/@Directive/@Component annotation.`), moduleType);\n                    return;\n                }\n            });\n        }\n        const exportedDirectives = [];\n        const exportedPipes = [];\n        exportedNonModuleIdentifiers.forEach((exportedId) => {\n            if (transitiveModule.directivesSet.has(exportedId.reference)) {\n                exportedDirectives.push(exportedId);\n                transitiveModule.addExportedDirective(exportedId);\n            }\n            else if (transitiveModule.pipesSet.has(exportedId.reference)) {\n                exportedPipes.push(exportedId);\n                transitiveModule.addExportedPipe(exportedId);\n            }\n            else {\n                this._reportError(syntaxError(`Can't export ${this._getTypeDescriptor(exportedId.reference)} ${stringifyType(exportedId.reference)} from ${stringifyType(moduleType)} as it was neither declared nor imported!`), moduleType);\n                return;\n            }\n        });\n        // The providers of the module have to go last\n        // so that they overwrite any other provider we already added.\n        if (meta.providers) {\n            providers.push(...this._getProvidersMetadata(meta.providers, entryComponents, `provider for the NgModule '${stringifyType(moduleType)}'`, [], moduleType));\n        }\n        if (meta.entryComponents) {\n            entryComponents.push(...flattenAndDedupeArray(meta.entryComponents)\n                .map(type => this._getEntryComponentMetadata(type)));\n        }\n        if (meta.bootstrap) {\n            flattenAndDedupeArray(meta.bootstrap).forEach(type => {\n                if (!isValidType(type)) {\n                    this._reportError(syntaxError(`Unexpected value '${stringifyType(type)}' used in the bootstrap property of module '${stringifyType(moduleType)}'`), moduleType);\n                    return;\n                }\n                bootstrapComponents.push(this._getIdentifierMetadata(type));\n            });\n        }\n        entryComponents.push(...bootstrapComponents.map(type => this._getEntryComponentMetadata(type.reference)));\n        if (meta.schemas) {\n            schemas.push(...flattenAndDedupeArray(meta.schemas));\n        }\n        compileMeta = new CompileNgModuleMetadata({\n            type: this._getTypeMetadata(moduleType),\n            providers,\n            entryComponents,\n            bootstrapComponents,\n            schemas,\n            declaredDirectives,\n            exportedDirectives,\n            declaredPipes,\n            exportedPipes,\n            importedModules,\n            exportedModules,\n            transitiveModule,\n            id: meta.id || null,\n        });\n        entryComponents.forEach((id) => transitiveModule.addEntryComponent(id));\n        providers.forEach((provider) => transitiveModule.addProvider(provider, compileMeta.type));\n        transitiveModule.addModule(compileMeta.type);\n        this._ngModuleCache.set(moduleType, compileMeta);\n        return compileMeta;\n    }\n    _checkSelfImport(moduleType, importedModuleType) {\n        if (moduleType === importedModuleType) {\n            this._reportError(syntaxError(`'${stringifyType(moduleType)}' module can't import itself`), moduleType);\n            return true;\n        }\n        return false;\n    }\n    _getTypeDescriptor(type) {\n        if (isValidType(type)) {\n            if (this.isDirective(type)) {\n                return 'directive';\n            }\n            if (this.isPipe(type)) {\n                return 'pipe';\n            }\n            if (this.isNgModule(type)) {\n                return 'module';\n            }\n        }\n        if (type.provide) {\n            return 'provider';\n        }\n        return 'value';\n    }\n    _addTypeToModule(type, moduleType) {\n        const oldModule = this._ngModuleOfTypes.get(type);\n        if (oldModule && oldModule !== moduleType) {\n            this._reportError(syntaxError(`Type ${stringifyType(type)} is part of the declarations of 2 modules: ${stringifyType(oldModule)} and ${stringifyType(moduleType)}! ` +\n                `Please consider moving ${stringifyType(type)} to a higher module that imports ${stringifyType(oldModule)} and ${stringifyType(moduleType)}. ` +\n                `You can also create a new NgModule that exports and includes ${stringifyType(type)} then import that NgModule in ${stringifyType(oldModule)} and ${stringifyType(moduleType)}.`), moduleType);\n            return;\n        }\n        this._ngModuleOfTypes.set(type, moduleType);\n    }\n    _getTransitiveNgModuleMetadata(importedModules, exportedModules) {\n        // collect `providers` / `entryComponents` from all imported and all exported modules\n        const result = new TransitiveCompileNgModuleMetadata();\n        const modulesByToken = new Map();\n        importedModules.concat(exportedModules).forEach((modSummary) => {\n            modSummary.modules.forEach((mod) => result.addModule(mod));\n            modSummary.entryComponents.forEach((comp) => result.addEntryComponent(comp));\n            const addedTokens = new Set();\n            modSummary.providers.forEach((entry) => {\n                const tokenRef = tokenReference(entry.provider.token);\n                let prevModules = modulesByToken.get(tokenRef);\n                if (!prevModules) {\n                    prevModules = new Set();\n                    modulesByToken.set(tokenRef, prevModules);\n                }\n                const moduleRef = entry.module.reference;\n                // Note: the providers of one module may still contain multiple providers\n                // per token (e.g. for multi providers), and we need to preserve these.\n                if (addedTokens.has(tokenRef) || !prevModules.has(moduleRef)) {\n                    prevModules.add(moduleRef);\n                    addedTokens.add(tokenRef);\n                    result.addProvider(entry.provider, entry.module);\n                }\n            });\n        });\n        exportedModules.forEach((modSummary) => {\n            modSummary.exportedDirectives.forEach((id) => result.addExportedDirective(id));\n            modSummary.exportedPipes.forEach((id) => result.addExportedPipe(id));\n        });\n        importedModules.forEach((modSummary) => {\n            modSummary.exportedDirectives.forEach((id) => result.addDirective(id));\n            modSummary.exportedPipes.forEach((id) => result.addPipe(id));\n        });\n        return result;\n    }\n    _getIdentifierMetadata(type) {\n        type = resolveForwardRef(type);\n        return { reference: type };\n    }\n    isInjectable(type) {\n        const annotations = this._reflector.tryAnnotations(type);\n        return annotations.some(ann => createInjectable.isTypeOf(ann));\n    }\n    getInjectableSummary(type) {\n        return {\n            summaryKind: CompileSummaryKind.Injectable,\n            type: this._getTypeMetadata(type, null, false)\n        };\n    }\n    getInjectableMetadata(type, dependencies = null, throwOnUnknownDeps = true) {\n        const typeSummary = this._loadSummary(type, CompileSummaryKind.Injectable);\n        const typeMetadata = typeSummary ?\n            typeSummary.type :\n            this._getTypeMetadata(type, dependencies, throwOnUnknownDeps);\n        const annotations = this._reflector.annotations(type).filter(ann => createInjectable.isTypeOf(ann));\n        if (annotations.length === 0) {\n            return null;\n        }\n        const meta = annotations[annotations.length - 1];\n        return {\n            symbol: type,\n            type: typeMetadata,\n            providedIn: meta.providedIn,\n            useValue: meta.useValue,\n            useClass: meta.useClass,\n            useExisting: meta.useExisting,\n            useFactory: meta.useFactory,\n            deps: meta.deps,\n        };\n    }\n    _getTypeMetadata(type, dependencies = null, throwOnUnknownDeps = true) {\n        const identifier = this._getIdentifierMetadata(type);\n        return {\n            reference: identifier.reference,\n            diDeps: this._getDependenciesMetadata(identifier.reference, dependencies, throwOnUnknownDeps),\n            lifecycleHooks: getAllLifecycleHooks(this._reflector, identifier.reference),\n        };\n    }\n    _getFactoryMetadata(factory, dependencies = null) {\n        factory = resolveForwardRef(factory);\n        return { reference: factory, diDeps: this._getDependenciesMetadata(factory, dependencies) };\n    }\n    /**\n     * Gets the metadata for the given pipe.\n     * This assumes `loadNgModuleDirectiveAndPipeMetadata` has been called first.\n     */\n    getPipeMetadata(pipeType) {\n        const pipeMeta = this._pipeCache.get(pipeType);\n        if (!pipeMeta) {\n            this._reportError(syntaxError(`Illegal state: getPipeMetadata can only be called after loadNgModuleDirectiveAndPipeMetadata for a module that declares it. Pipe ${stringifyType(pipeType)}.`), pipeType);\n        }\n        return pipeMeta || null;\n    }\n    getPipeSummary(pipeType) {\n        const pipeSummary = this._loadSummary(pipeType, CompileSummaryKind.Pipe);\n        if (!pipeSummary) {\n            this._reportError(syntaxError(`Illegal state: Could not load the summary for pipe ${stringifyType(pipeType)}.`), pipeType);\n        }\n        return pipeSummary;\n    }\n    getOrLoadPipeMetadata(pipeType) {\n        let pipeMeta = this._pipeCache.get(pipeType);\n        if (!pipeMeta) {\n            pipeMeta = this._loadPipeMetadata(pipeType);\n        }\n        return pipeMeta;\n    }\n    _loadPipeMetadata(pipeType) {\n        pipeType = resolveForwardRef(pipeType);\n        const pipeAnnotation = this._pipeResolver.resolve(pipeType);\n        const pipeMeta = new CompilePipeMetadata({\n            type: this._getTypeMetadata(pipeType),\n            name: pipeAnnotation.name,\n            pure: !!pipeAnnotation.pure\n        });\n        this._pipeCache.set(pipeType, pipeMeta);\n        this._summaryCache.set(pipeType, pipeMeta.toSummary());\n        return pipeMeta;\n    }\n    _getDependenciesMetadata(typeOrFunc, dependencies, throwOnUnknownDeps = true) {\n        let hasUnknownDeps = false;\n        const params = dependencies || this._reflector.parameters(typeOrFunc) || [];\n        const dependenciesMetadata = params.map((param) => {\n            let isAttribute = false;\n            let isHost = false;\n            let isSelf = false;\n            let isSkipSelf = false;\n            let isOptional = false;\n            let token = null;\n            if (Array.isArray(param)) {\n                param.forEach((paramEntry) => {\n                    if (createHost.isTypeOf(paramEntry)) {\n                        isHost = true;\n                    }\n                    else if (createSelf.isTypeOf(paramEntry)) {\n                        isSelf = true;\n                    }\n                    else if (createSkipSelf.isTypeOf(paramEntry)) {\n                        isSkipSelf = true;\n                    }\n                    else if (createOptional.isTypeOf(paramEntry)) {\n                        isOptional = true;\n                    }\n                    else if (createAttribute.isTypeOf(paramEntry)) {\n                        isAttribute = true;\n                        token = paramEntry.attributeName;\n                    }\n                    else if (createInject.isTypeOf(paramEntry)) {\n                        token = paramEntry.token;\n                    }\n                    else if (createInjectionToken.isTypeOf(paramEntry) ||\n                        paramEntry instanceof StaticSymbol) {\n                        token = paramEntry;\n                    }\n                    else if (isValidType(paramEntry) && token == null) {\n                        token = paramEntry;\n                    }\n                });\n            }\n            else {\n                token = param;\n            }\n            if (token == null) {\n                hasUnknownDeps = true;\n                return {};\n            }\n            return {\n                isAttribute,\n                isHost,\n                isSelf,\n                isSkipSelf,\n                isOptional,\n                token: this._getTokenMetadata(token)\n            };\n        });\n        if (hasUnknownDeps) {\n            const depsTokens = dependenciesMetadata.map((dep) => dep.token ? stringifyType(dep.token) : '?').join(', ');\n            const message = `Can't resolve all parameters for ${stringifyType(typeOrFunc)}: (${depsTokens}).`;\n            if (throwOnUnknownDeps || this._config.strictInjectionParameters) {\n                this._reportError(syntaxError(message), typeOrFunc);\n            }\n            else {\n                this._console.warn(`Warning: ${message} This will become an error in Angular v6.x`);\n            }\n        }\n        return dependenciesMetadata;\n    }\n    _getTokenMetadata(token) {\n        token = resolveForwardRef(token);\n        let compileToken;\n        if (typeof token === 'string') {\n            compileToken = { value: token };\n        }\n        else {\n            compileToken = { identifier: { reference: token } };\n        }\n        return compileToken;\n    }\n    _getProvidersMetadata(providers, targetEntryComponents, debugInfo, compileProviders = [], type) {\n        providers.forEach((provider, providerIdx) => {\n            if (Array.isArray(provider)) {\n                this._getProvidersMetadata(provider, targetEntryComponents, debugInfo, compileProviders);\n            }\n            else {\n                provider = resolveForwardRef(provider);\n                let providerMeta = undefined;\n                if (provider && typeof provider === 'object' && provider.hasOwnProperty('provide')) {\n                    this._validateProvider(provider);\n                    providerMeta = new ProviderMeta(provider.provide, provider);\n                }\n                else if (isValidType(provider)) {\n                    providerMeta = new ProviderMeta(provider, { useClass: provider });\n                }\n                else if (provider === void 0) {\n                    this._reportError(syntaxError(`Encountered undefined provider! Usually this means you have a circular dependencies. This might be caused by using 'barrel' index.ts files.`));\n                    return;\n                }\n                else {\n                    const providersInfo = providers.reduce((soFar, seenProvider, seenProviderIdx) => {\n                        if (seenProviderIdx < providerIdx) {\n                            soFar.push(`${stringifyType(seenProvider)}`);\n                        }\n                        else if (seenProviderIdx == providerIdx) {\n                            soFar.push(`?${stringifyType(seenProvider)}?`);\n                        }\n                        else if (seenProviderIdx == providerIdx + 1) {\n                            soFar.push('...');\n                        }\n                        return soFar;\n                    }, [])\n                        .join(', ');\n                    this._reportError(syntaxError(`Invalid ${debugInfo ? debugInfo : 'provider'} - only instances of Provider and Type are allowed, got: [${providersInfo}]`), type);\n                    return;\n                }\n                if (providerMeta.token ===\n                    this._reflector.resolveExternalReference(Identifiers.ANALYZE_FOR_ENTRY_COMPONENTS)) {\n                    targetEntryComponents.push(...this._getEntryComponentsFromProvider(providerMeta, type));\n                }\n                else {\n                    compileProviders.push(this.getProviderMetadata(providerMeta));\n                }\n            }\n        });\n        return compileProviders;\n    }\n    _validateProvider(provider) {\n        if (provider.hasOwnProperty('useClass') && provider.useClass == null) {\n            this._reportError(syntaxError(`Invalid provider for ${stringifyType(provider.provide)}. useClass cannot be ${provider.useClass}.\n           Usually it happens when:\n           1. There's a circular dependency (might be caused by using index.ts (barrel) files).\n           2. Class was used before it was declared. Use forwardRef in this case.`));\n        }\n    }\n    _getEntryComponentsFromProvider(provider, type) {\n        const components = [];\n        const collectedIdentifiers = [];\n        if (provider.useFactory || provider.useExisting || provider.useClass) {\n            this._reportError(syntaxError(`The ANALYZE_FOR_ENTRY_COMPONENTS token only supports useValue!`), type);\n            return [];\n        }\n        if (!provider.multi) {\n            this._reportError(syntaxError(`The ANALYZE_FOR_ENTRY_COMPONENTS token only supports 'multi = true'!`), type);\n            return [];\n        }\n        extractIdentifiers(provider.useValue, collectedIdentifiers);\n        collectedIdentifiers.forEach((identifier) => {\n            const entry = this._getEntryComponentMetadata(identifier.reference, false);\n            if (entry) {\n                components.push(entry);\n            }\n        });\n        return components;\n    }\n    _getEntryComponentMetadata(dirType, throwIfNotFound = true) {\n        const dirMeta = this.getNonNormalizedDirectiveMetadata(dirType);\n        if (dirMeta && dirMeta.metadata.isComponent) {\n            return { componentType: dirType, componentFactory: dirMeta.metadata.componentFactory };\n        }\n        const dirSummary = this._loadSummary(dirType, CompileSummaryKind.Directive);\n        if (dirSummary && dirSummary.isComponent) {\n            return { componentType: dirType, componentFactory: dirSummary.componentFactory };\n        }\n        if (throwIfNotFound) {\n            throw syntaxError(`${dirType.name} cannot be used as an entry component.`);\n        }\n        return null;\n    }\n    _getInjectableTypeMetadata(type, dependencies = null) {\n        const typeSummary = this._loadSummary(type, CompileSummaryKind.Injectable);\n        if (typeSummary) {\n            return typeSummary.type;\n        }\n        return this._getTypeMetadata(type, dependencies);\n    }\n    getProviderMetadata(provider) {\n        let compileDeps = undefined;\n        let compileTypeMetadata = null;\n        let compileFactoryMetadata = null;\n        let token = this._getTokenMetadata(provider.token);\n        if (provider.useClass) {\n            compileTypeMetadata =\n                this._getInjectableTypeMetadata(provider.useClass, provider.dependencies);\n            compileDeps = compileTypeMetadata.diDeps;\n            if (provider.token === provider.useClass) {\n                // use the compileTypeMetadata as it contains information about lifecycleHooks...\n                token = { identifier: compileTypeMetadata };\n            }\n        }\n        else if (provider.useFactory) {\n            compileFactoryMetadata = this._getFactoryMetadata(provider.useFactory, provider.dependencies);\n            compileDeps = compileFactoryMetadata.diDeps;\n        }\n        return {\n            token: token,\n            useClass: compileTypeMetadata,\n            useValue: provider.useValue,\n            useFactory: compileFactoryMetadata,\n            useExisting: provider.useExisting ? this._getTokenMetadata(provider.useExisting) : undefined,\n            deps: compileDeps,\n            multi: provider.multi\n        };\n    }\n    _getQueriesMetadata(queries, isViewQuery, directiveType) {\n        const res = [];\n        Object.keys(queries).forEach((propertyName) => {\n            const query = queries[propertyName];\n            if (query.isViewQuery === isViewQuery) {\n                res.push(this._getQueryMetadata(query, propertyName, directiveType));\n            }\n        });\n        return res;\n    }\n    _queryVarBindings(selector) { return selector.split(/\\s*,\\s*/); }\n    _getQueryMetadata(q, propertyName, typeOrFunc) {\n        let selectors;\n        if (typeof q.selector === 'string') {\n            selectors =\n                this._queryVarBindings(q.selector).map(varName => this._getTokenMetadata(varName));\n        }\n        else {\n            if (!q.selector) {\n                this._reportError(syntaxError(`Can't construct a query for the property \"${propertyName}\" of \"${stringifyType(typeOrFunc)}\" since the query selector wasn't defined.`), typeOrFunc);\n                selectors = [];\n            }\n            else {\n                selectors = [this._getTokenMetadata(q.selector)];\n            }\n        }\n        return {\n            selectors,\n            first: q.first,\n            descendants: q.descendants, propertyName,\n            read: q.read ? this._getTokenMetadata(q.read) : null,\n            static: q.static\n        };\n    }\n    _reportError(error, type, otherType) {\n        if (this._errorCollector) {\n            this._errorCollector(error, type);\n            if (otherType) {\n                this._errorCollector(error, otherType);\n            }\n        }\n        else {\n            throw error;\n        }\n    }\n}\nfunction flattenArray(tree, out = []) {\n    if (tree) {\n        for (let i = 0; i < tree.length; i++) {\n            const item = resolveForwardRef(tree[i]);\n            if (Array.isArray(item)) {\n                flattenArray(item, out);\n            }\n            else {\n                out.push(item);\n            }\n        }\n    }\n    return out;\n}\nfunction dedupeArray(array) {\n    if (array) {\n        return Array.from(new Set(array));\n    }\n    return [];\n}\nfunction flattenAndDedupeArray(tree) {\n    return dedupeArray(flattenArray(tree));\n}\nfunction isValidType(value) {\n    return (value instanceof StaticSymbol) || (value instanceof Type);\n}\nfunction extractIdentifiers(value, targetIdentifiers) {\n    visitValue(value, new _CompileValueConverter(), targetIdentifiers);\n}\nclass _CompileValueConverter extends ValueTransformer {\n    visitOther(value, targetIdentifiers) {\n        targetIdentifiers.push({ reference: value });\n    }\n}\nfunction stringifyType(type) {\n    if (type instanceof StaticSymbol) {\n        return `${type.name} in ${type.filePath}`;\n    }\n    else {\n        return stringify(type);\n    }\n}\n/**\n * Indicates that a component is still being loaded in a synchronous compile.\n */\nfunction componentStillLoadingError(compType) {\n    const error = Error(`Can't compile synchronously as ${stringify(compType)} is still being loaded!`);\n    error[ERROR_COMPONENT_TYPE] = compType;\n    return error;\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction providerDef(ctx, providerAst) {\n    let flags = 0 /* None */;\n    if (!providerAst.eager) {\n        flags |= 4096 /* LazyProvider */;\n    }\n    if (providerAst.providerType === ProviderAstType.PrivateService) {\n        flags |= 8192 /* PrivateProvider */;\n    }\n    if (providerAst.isModule) {\n        flags |= 1073741824 /* TypeModuleProvider */;\n    }\n    providerAst.lifecycleHooks.forEach((lifecycleHook) => {\n        // for regular providers, we only support ngOnDestroy\n        if (lifecycleHook === LifecycleHooks.OnDestroy ||\n            providerAst.providerType === ProviderAstType.Directive ||\n            providerAst.providerType === ProviderAstType.Component) {\n            flags |= lifecycleHookToNodeFlag(lifecycleHook);\n        }\n    });\n    const { providerExpr, flags: providerFlags, depsExpr } = providerAst.multiProvider ?\n        multiProviderDef(ctx, flags, providerAst.providers) :\n        singleProviderDef(ctx, flags, providerAst.providerType, providerAst.providers[0]);\n    return {\n        providerExpr,\n        flags: providerFlags, depsExpr,\n        tokenExpr: tokenExpr(ctx, providerAst.token),\n    };\n}\nfunction multiProviderDef(ctx, flags, providers) {\n    const allDepDefs = [];\n    const allParams = [];\n    const exprs = providers.map((provider, providerIndex) => {\n        let expr;\n        if (provider.useClass) {\n            const depExprs = convertDeps(providerIndex, provider.deps || provider.useClass.diDeps);\n            expr = ctx.importExpr(provider.useClass.reference).instantiate(depExprs);\n        }\n        else if (provider.useFactory) {\n            const depExprs = convertDeps(providerIndex, provider.deps || provider.useFactory.diDeps);\n            expr = ctx.importExpr(provider.useFactory.reference).callFn(depExprs);\n        }\n        else if (provider.useExisting) {\n            const depExprs = convertDeps(providerIndex, [{ token: provider.useExisting }]);\n            expr = depExprs[0];\n        }\n        else {\n            expr = convertValueToOutputAst(ctx, provider.useValue);\n        }\n        return expr;\n    });\n    const providerExpr = fn(allParams, [new ReturnStatement(literalArr(exprs))], INFERRED_TYPE);\n    return {\n        providerExpr,\n        flags: flags | 1024 /* TypeFactoryProvider */,\n        depsExpr: literalArr(allDepDefs)\n    };\n    function convertDeps(providerIndex, deps) {\n        return deps.map((dep, depIndex) => {\n            const paramName = `p${providerIndex}_${depIndex}`;\n            allParams.push(new FnParam(paramName, DYNAMIC_TYPE));\n            allDepDefs.push(depDef(ctx, dep));\n            return variable(paramName);\n        });\n    }\n}\nfunction singleProviderDef(ctx, flags, providerType, providerMeta) {\n    let providerExpr;\n    let deps;\n    if (providerType === ProviderAstType.Directive || providerType === ProviderAstType.Component) {\n        providerExpr = ctx.importExpr(providerMeta.useClass.reference);\n        flags |= 16384 /* TypeDirective */;\n        deps = providerMeta.deps || providerMeta.useClass.diDeps;\n    }\n    else {\n        if (providerMeta.useClass) {\n            providerExpr = ctx.importExpr(providerMeta.useClass.reference);\n            flags |= 512 /* TypeClassProvider */;\n            deps = providerMeta.deps || providerMeta.useClass.diDeps;\n        }\n        else if (providerMeta.useFactory) {\n            providerExpr = ctx.importExpr(providerMeta.useFactory.reference);\n            flags |= 1024 /* TypeFactoryProvider */;\n            deps = providerMeta.deps || providerMeta.useFactory.diDeps;\n        }\n        else if (providerMeta.useExisting) {\n            providerExpr = NULL_EXPR;\n            flags |= 2048 /* TypeUseExistingProvider */;\n            deps = [{ token: providerMeta.useExisting }];\n        }\n        else {\n            providerExpr = convertValueToOutputAst(ctx, providerMeta.useValue);\n            flags |= 256 /* TypeValueProvider */;\n            deps = [];\n        }\n    }\n    const depsExpr = literalArr(deps.map(dep => depDef(ctx, dep)));\n    return { providerExpr, flags, depsExpr };\n}\nfunction tokenExpr(ctx, tokenMeta) {\n    return tokenMeta.identifier ? ctx.importExpr(tokenMeta.identifier.reference) :\n        literal(tokenMeta.value);\n}\nfunction depDef(ctx, dep) {\n    // Note: the following fields have already been normalized out by provider_analyzer:\n    // - isAttribute, isHost\n    const expr = dep.isValue ? convertValueToOutputAst(ctx, dep.value) : tokenExpr(ctx, dep.token);\n    let flags = 0 /* None */;\n    if (dep.isSkipSelf) {\n        flags |= 1 /* SkipSelf */;\n    }\n    if (dep.isOptional) {\n        flags |= 2 /* Optional */;\n    }\n    if (dep.isSelf) {\n        flags |= 4 /* Self */;\n    }\n    if (dep.isValue) {\n        flags |= 8 /* Value */;\n    }\n    return flags === 0 /* None */ ? expr : literalArr([literal(flags), expr]);\n}\nfunction lifecycleHookToNodeFlag(lifecycleHook) {\n    let nodeFlag = 0 /* None */;\n    switch (lifecycleHook) {\n        case LifecycleHooks.AfterContentChecked:\n            nodeFlag = 2097152 /* AfterContentChecked */;\n            break;\n        case LifecycleHooks.AfterContentInit:\n            nodeFlag = 1048576 /* AfterContentInit */;\n            break;\n        case LifecycleHooks.AfterViewChecked:\n            nodeFlag = 8388608 /* AfterViewChecked */;\n            break;\n        case LifecycleHooks.AfterViewInit:\n            nodeFlag = 4194304 /* AfterViewInit */;\n            break;\n        case LifecycleHooks.DoCheck:\n            nodeFlag = 262144 /* DoCheck */;\n            break;\n        case LifecycleHooks.OnChanges:\n            nodeFlag = 524288 /* OnChanges */;\n            break;\n        case LifecycleHooks.OnDestroy:\n            nodeFlag = 131072 /* OnDestroy */;\n            break;\n        case LifecycleHooks.OnInit:\n            nodeFlag = 65536 /* OnInit */;\n            break;\n    }\n    return nodeFlag;\n}\nfunction componentFactoryResolverProviderDef(reflector, ctx, flags, entryComponents) {\n    const entryComponentFactories = entryComponents.map((entryComponent) => ctx.importExpr(entryComponent.componentFactory));\n    const token = createTokenForExternalReference(reflector, Identifiers.ComponentFactoryResolver);\n    const classMeta = {\n        diDeps: [\n            { isValue: true, value: literalArr(entryComponentFactories) },\n            { token: token, isSkipSelf: true, isOptional: true },\n            { token: createTokenForExternalReference(reflector, Identifiers.NgModuleRef) },\n        ],\n        lifecycleHooks: [],\n        reference: reflector.resolveExternalReference(Identifiers.CodegenComponentFactoryResolver)\n    };\n    const { providerExpr, flags: providerFlags, depsExpr } = singleProviderDef(ctx, flags, ProviderAstType.PrivateService, {\n        token,\n        multi: false,\n        useClass: classMeta,\n    });\n    return { providerExpr, flags: providerFlags, depsExpr, tokenExpr: tokenExpr(ctx, token) };\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nclass NgModuleCompileResult {\n    constructor(ngModuleFactoryVar) {\n        this.ngModuleFactoryVar = ngModuleFactoryVar;\n    }\n}\nconst LOG_VAR = variable('_l');\nclass NgModuleCompiler {\n    constructor(reflector) {\n        this.reflector = reflector;\n    }\n    compile(ctx, ngModuleMeta, extraProviders) {\n        const sourceSpan = typeSourceSpan('NgModule', ngModuleMeta.type);\n        const entryComponentFactories = ngModuleMeta.transitiveModule.entryComponents;\n        const bootstrapComponents = ngModuleMeta.bootstrapComponents;\n        const providerParser = new NgModuleProviderAnalyzer(this.reflector, ngModuleMeta, extraProviders, sourceSpan);\n        const providerDefs = [componentFactoryResolverProviderDef(this.reflector, ctx, 0 /* None */, entryComponentFactories)]\n            .concat(providerParser.parse().map((provider) => providerDef(ctx, provider)))\n            .map(({ providerExpr, depsExpr, flags, tokenExpr }) => {\n            return importExpr(Identifiers.moduleProviderDef).callFn([\n                literal(flags), tokenExpr, providerExpr, depsExpr\n            ]);\n        });\n        const ngModuleDef = importExpr(Identifiers.moduleDef).callFn([literalArr(providerDefs)]);\n        const ngModuleDefFactory = fn([new FnParam(LOG_VAR.name)], [new ReturnStatement(ngModuleDef)], INFERRED_TYPE);\n        const ngModuleFactoryVar = `${identifierName(ngModuleMeta.type)}NgFactory`;\n        this._createNgModuleFactory(ctx, ngModuleMeta.type.reference, importExpr(Identifiers.createModuleFactory).callFn([\n            ctx.importExpr(ngModuleMeta.type.reference),\n            literalArr(bootstrapComponents.map(id => ctx.importExpr(id.reference))),\n            ngModuleDefFactory\n        ]));\n        if (ngModuleMeta.id) {\n            const id = typeof ngModuleMeta.id === 'string' ? literal(ngModuleMeta.id) :\n                ctx.importExpr(ngModuleMeta.id);\n            const registerFactoryStmt = importExpr(Identifiers.RegisterModuleFactoryFn)\n                .callFn([id, variable(ngModuleFactoryVar)])\n                .toStmt();\n            ctx.statements.push(registerFactoryStmt);\n        }\n        return new NgModuleCompileResult(ngModuleFactoryVar);\n    }\n    createStub(ctx, ngModuleReference) {\n        this._createNgModuleFactory(ctx, ngModuleReference, NULL_EXPR);\n    }\n    _createNgModuleFactory(ctx, reference, value) {\n        const ngModuleFactoryVar = `${identifierName({ reference: reference })}NgFactory`;\n        const ngModuleFactoryStmt = variable(ngModuleFactoryVar)\n            .set(value)\n            .toDeclStmt(importType(Identifiers.NgModuleFactory, [expressionType(ctx.importExpr(reference))], [TypeModifier.Const]), [StmtModifier.Final, StmtModifier.Exported]);\n        ctx.statements.push(ngModuleFactoryStmt);\n    }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Resolves types to {@link NgModule}.\n */\nclass NgModuleResolver {\n    constructor(_reflector) {\n        this._reflector = _reflector;\n    }\n    isNgModule(type) { return this._reflector.annotations(type).some(createNgModule.isTypeOf); }\n    resolve(type, throwIfNotFound = true) {\n        const ngModuleMeta = findLast(this._reflector.annotations(type), createNgModule.isTypeOf);\n        if (ngModuleMeta) {\n            return ngModuleMeta;\n        }\n        else {\n            if (throwIfNotFound) {\n                throw new Error(`No NgModule metadata found for '${stringify(type)}'.`);\n            }\n            return null;\n        }\n    }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst _debugFilePath = '/debug/lib';\nfunction debugOutputAstAsTypeScript(ast) {\n    const converter = new _TsEmitterVisitor();\n    const ctx = EmitterVisitorContext.createRoot();\n    const asts = Array.isArray(ast) ? ast : [ast];\n    asts.forEach((ast) => {\n        if (ast instanceof Statement) {\n            ast.visitStatement(converter, ctx);\n        }\n        else if (ast instanceof Expression) {\n            ast.visitExpression(converter, ctx);\n        }\n        else if (ast instanceof Type$1) {\n            ast.visitType(converter, ctx);\n        }\n        else {\n            throw new Error(`Don't know how to print debug info for ${ast}`);\n        }\n    });\n    return ctx.toSource();\n}\nclass TypeScriptEmitter {\n    emitStatementsAndContext(genFilePath, stmts, preamble = '', emitSourceMaps = true, referenceFilter, importFilter) {\n        const converter = new _TsEmitterVisitor(referenceFilter, importFilter);\n        const ctx = EmitterVisitorContext.createRoot();\n        converter.visitAllStatements(stmts, ctx);\n        const preambleLines = preamble ? preamble.split('\\n') : [];\n        converter.reexports.forEach((reexports, exportedModuleName) => {\n            const reexportsCode = reexports.map(reexport => `${reexport.name} as ${reexport.as}`).join(',');\n            preambleLines.push(`export {${reexportsCode}} from '${exportedModuleName}';`);\n        });\n        converter.importsWithPrefixes.forEach((prefix, importedModuleName) => {\n            // Note: can't write the real word for import as it screws up system.js auto detection...\n            preambleLines.push(`imp` +\n                `ort * as ${prefix} from '${importedModuleName}';`);\n        });\n        const sm = emitSourceMaps ?\n            ctx.toSourceMapGenerator(genFilePath, preambleLines.length).toJsComment() :\n            '';\n        const lines = [...preambleLines, ctx.toSource(), sm];\n        if (sm) {\n            // always add a newline at the end, as some tools have bugs without it.\n            lines.push('');\n        }\n        ctx.setPreambleLineCount(preambleLines.length);\n        return { sourceText: lines.join('\\n'), context: ctx };\n    }\n    emitStatements(genFilePath, stmts, preamble = '') {\n        return this.emitStatementsAndContext(genFilePath, stmts, preamble).sourceText;\n    }\n}\nclass _TsEmitterVisitor extends AbstractEmitterVisitor {\n    constructor(referenceFilter, importFilter) {\n        super(false);\n        this.referenceFilter = referenceFilter;\n        this.importFilter = importFilter;\n        this.typeExpression = 0;\n        this.importsWithPrefixes = new Map();\n        this.reexports = new Map();\n    }\n    visitType(t, ctx, defaultType = 'any') {\n        if (t) {\n            this.typeExpression++;\n            t.visitType(this, ctx);\n            this.typeExpression--;\n        }\n        else {\n            ctx.print(null, defaultType);\n        }\n    }\n    visitLiteralExpr(ast, ctx) {\n        const value = ast.value;\n        if (value == null && ast.type != INFERRED_TYPE) {\n            ctx.print(ast, `(${value} as any)`);\n            return null;\n        }\n        return super.visitLiteralExpr(ast, ctx);\n    }\n    // Temporary workaround to support strictNullCheck enabled consumers of ngc emit.\n    // In SNC mode, [] have the type never[], so we cast here to any[].\n    // TODO: narrow the cast to a more explicit type, or use a pattern that does not\n    // start with [].concat. see https://github.com/angular/angular/pull/11846\n    visitLiteralArrayExpr(ast, ctx) {\n        if (ast.entries.length === 0) {\n            ctx.print(ast, '(');\n        }\n        const result = super.visitLiteralArrayExpr(ast, ctx);\n        if (ast.entries.length === 0) {\n            ctx.print(ast, ' as any[])');\n        }\n        return result;\n    }\n    visitExternalExpr(ast, ctx) {\n        this._visitIdentifier(ast.value, ast.typeParams, ctx);\n        return null;\n    }\n    visitAssertNotNullExpr(ast, ctx) {\n        const result = super.visitAssertNotNullExpr(ast, ctx);\n        ctx.print(ast, '!');\n        return result;\n    }\n    visitDeclareVarStmt(stmt, ctx) {\n        if (stmt.hasModifier(StmtModifier.Exported) && stmt.value instanceof ExternalExpr &&\n            !stmt.type) {\n            // check for a reexport\n            const { name, moduleName } = stmt.value.value;\n            if (moduleName) {\n                let reexports = this.reexports.get(moduleName);\n                if (!reexports) {\n                    reexports = [];\n                    this.reexports.set(moduleName, reexports);\n                }\n                reexports.push({ name: name, as: stmt.name });\n                return null;\n            }\n        }\n        if (stmt.hasModifier(StmtModifier.Exported)) {\n            ctx.print(stmt, `export `);\n        }\n        if (stmt.hasModifier(StmtModifier.Final)) {\n            ctx.print(stmt, `const`);\n        }\n        else {\n            ctx.print(stmt, `var`);\n        }\n        ctx.print(stmt, ` ${stmt.name}`);\n        this._printColonType(stmt.type, ctx);\n        if (stmt.value) {\n            ctx.print(stmt, ` = `);\n            stmt.value.visitExpression(this, ctx);\n        }\n        ctx.println(stmt, `;`);\n        return null;\n    }\n    visitWrappedNodeExpr(ast, ctx) {\n        throw new Error('Cannot visit a WrappedNodeExpr when outputting Typescript.');\n    }\n    visitCastExpr(ast, ctx) {\n        ctx.print(ast, `(<`);\n        ast.type.visitType(this, ctx);\n        ctx.print(ast, `>`);\n        ast.value.visitExpression(this, ctx);\n        ctx.print(ast, `)`);\n        return null;\n    }\n    visitInstantiateExpr(ast, ctx) {\n        ctx.print(ast, `new `);\n        this.typeExpression++;\n        ast.classExpr.visitExpression(this, ctx);\n        this.typeExpression--;\n        ctx.print(ast, `(`);\n        this.visitAllExpressions(ast.args, ctx, ',');\n        ctx.print(ast, `)`);\n        return null;\n    }\n    visitDeclareClassStmt(stmt, ctx) {\n        ctx.pushClass(stmt);\n        if (stmt.hasModifier(StmtModifier.Exported)) {\n            ctx.print(stmt, `export `);\n        }\n        ctx.print(stmt, `class ${stmt.name}`);\n        if (stmt.parent != null) {\n            ctx.print(stmt, ` extends `);\n            this.typeExpression++;\n            stmt.parent.visitExpression(this, ctx);\n            this.typeExpression--;\n        }\n        ctx.println(stmt, ` {`);\n        ctx.incIndent();\n        stmt.fields.forEach((field) => this._visitClassField(field, ctx));\n        if (stmt.constructorMethod != null) {\n            this._visitClassConstructor(stmt, ctx);\n        }\n        stmt.getters.forEach((getter) => this._visitClassGetter(getter, ctx));\n        stmt.methods.forEach((method) => this._visitClassMethod(method, ctx));\n        ctx.decIndent();\n        ctx.println(stmt, `}`);\n        ctx.popClass();\n        return null;\n    }\n    _visitClassField(field, ctx) {\n        if (field.hasModifier(StmtModifier.Private)) {\n            // comment out as a workaround for #10967\n            ctx.print(null, `/*private*/ `);\n        }\n        if (field.hasModifier(StmtModifier.Static)) {\n            ctx.print(null, 'static ');\n        }\n        ctx.print(null, field.name);\n        this._printColonType(field.type, ctx);\n        if (field.initializer) {\n            ctx.print(null, ' = ');\n            field.initializer.visitExpression(this, ctx);\n        }\n        ctx.println(null, `;`);\n    }\n    _visitClassGetter(getter, ctx) {\n        if (getter.hasModifier(StmtModifier.Private)) {\n            ctx.print(null, `private `);\n        }\n        ctx.print(null, `get ${getter.name}()`);\n        this._printColonType(getter.type, ctx);\n        ctx.println(null, ` {`);\n        ctx.incIndent();\n        this.visitAllStatements(getter.body, ctx);\n        ctx.decIndent();\n        ctx.println(null, `}`);\n    }\n    _visitClassConstructor(stmt, ctx) {\n        ctx.print(stmt, `constructor(`);\n        this._visitParams(stmt.constructorMethod.params, ctx);\n        ctx.println(stmt, `) {`);\n        ctx.incIndent();\n        this.visitAllStatements(stmt.constructorMethod.body, ctx);\n        ctx.decIndent();\n        ctx.println(stmt, `}`);\n    }\n    _visitClassMethod(method, ctx) {\n        if (method.hasModifier(StmtModifier.Private)) {\n            ctx.print(null, `private `);\n        }\n        ctx.print(null, `${method.name}(`);\n        this._visitParams(method.params, ctx);\n        ctx.print(null, `)`);\n        this._printColonType(method.type, ctx, 'void');\n        ctx.println(null, ` {`);\n        ctx.incIndent();\n        this.visitAllStatements(method.body, ctx);\n        ctx.decIndent();\n        ctx.println(null, `}`);\n    }\n    visitFunctionExpr(ast, ctx) {\n        if (ast.name) {\n            ctx.print(ast, 'function ');\n            ctx.print(ast, ast.name);\n        }\n        ctx.print(ast, `(`);\n        this._visitParams(ast.params, ctx);\n        ctx.print(ast, `)`);\n        this._printColonType(ast.type, ctx, 'void');\n        if (!ast.name) {\n            ctx.print(ast, ` => `);\n        }\n        ctx.println(ast, '{');\n        ctx.incIndent();\n        this.visitAllStatements(ast.statements, ctx);\n        ctx.decIndent();\n        ctx.print(ast, `}`);\n        return null;\n    }\n    visitDeclareFunctionStmt(stmt, ctx) {\n        if (stmt.hasModifier(StmtModifier.Exported)) {\n            ctx.print(stmt, `export `);\n        }\n        ctx.print(stmt, `function ${stmt.name}(`);\n        this._visitParams(stmt.params, ctx);\n        ctx.print(stmt, `)`);\n        this._printColonType(stmt.type, ctx, 'void');\n        ctx.println(stmt, ` {`);\n        ctx.incIndent();\n        this.visitAllStatements(stmt.statements, ctx);\n        ctx.decIndent();\n        ctx.println(stmt, `}`);\n        return null;\n    }\n    visitTryCatchStmt(stmt, ctx) {\n        ctx.println(stmt, `try {`);\n        ctx.incIndent();\n        this.visitAllStatements(stmt.bodyStmts, ctx);\n        ctx.decIndent();\n        ctx.println(stmt, `} catch (${CATCH_ERROR_VAR$1.name}) {`);\n        ctx.incIndent();\n        const catchStmts = [CATCH_STACK_VAR$1.set(CATCH_ERROR_VAR$1.prop('stack', null)).toDeclStmt(null, [\n                StmtModifier.Final\n            ])].concat(stmt.catchStmts);\n        this.visitAllStatements(catchStmts, ctx);\n        ctx.decIndent();\n        ctx.println(stmt, `}`);\n        return null;\n    }\n    visitBuiltinType(type, ctx) {\n        let typeStr;\n        switch (type.name) {\n            case BuiltinTypeName.Bool:\n                typeStr = 'boolean';\n                break;\n            case BuiltinTypeName.Dynamic:\n                typeStr = 'any';\n                break;\n            case BuiltinTypeName.Function:\n                typeStr = 'Function';\n                break;\n            case BuiltinTypeName.Number:\n                typeStr = 'number';\n                break;\n            case BuiltinTypeName.Int:\n                typeStr = 'number';\n                break;\n            case BuiltinTypeName.String:\n                typeStr = 'string';\n                break;\n            case BuiltinTypeName.None:\n                typeStr = 'never';\n                break;\n            default:\n                throw new Error(`Unsupported builtin type ${type.name}`);\n        }\n        ctx.print(null, typeStr);\n        return null;\n    }\n    visitExpressionType(ast, ctx) {\n        ast.value.visitExpression(this, ctx);\n        if (ast.typeParams !== null) {\n            ctx.print(null, '<');\n            this.visitAllObjects(type => this.visitType(type, ctx), ast.typeParams, ctx, ',');\n            ctx.print(null, '>');\n        }\n        return null;\n    }\n    visitArrayType(type, ctx) {\n        this.visitType(type.of, ctx);\n        ctx.print(null, `[]`);\n        return null;\n    }\n    visitMapType(type, ctx) {\n        ctx.print(null, `{[key: string]:`);\n        this.visitType(type.valueType, ctx);\n        ctx.print(null, `}`);\n        return null;\n    }\n    getBuiltinMethodName(method) {\n        let name;\n        switch (method) {\n            case BuiltinMethod.ConcatArray:\n                name = 'concat';\n                break;\n            case BuiltinMethod.SubscribeObservable:\n                name = 'subscribe';\n                break;\n            case BuiltinMethod.Bind:\n                name = 'bind';\n                break;\n            default:\n                throw new Error(`Unknown builtin method: ${method}`);\n        }\n        return name;\n    }\n    _visitParams(params, ctx) {\n        this.visitAllObjects(param => {\n            ctx.print(null, param.name);\n            this._printColonType(param.type, ctx);\n        }, params, ctx, ',');\n    }\n    _visitIdentifier(value, typeParams, ctx) {\n        const { name, moduleName } = value;\n        if (this.referenceFilter && this.referenceFilter(value)) {\n            ctx.print(null, '(null as any)');\n            return;\n        }\n        if (moduleName && (!this.importFilter || !this.importFilter(value))) {\n            let prefix = this.importsWithPrefixes.get(moduleName);\n            if (prefix == null) {\n                prefix = `i${this.importsWithPrefixes.size}`;\n                this.importsWithPrefixes.set(moduleName, prefix);\n            }\n            ctx.print(null, `${prefix}.`);\n        }\n        ctx.print(null, name);\n        if (this.typeExpression > 0) {\n            // If we are in a type expression that refers to a generic type then supply\n            // the required type parameters. If there were not enough type parameters\n            // supplied, supply any as the type. Outside a type expression the reference\n            // should not supply type parameters and be treated as a simple value reference\n            // to the constructor function itself.\n            const suppliedParameters = typeParams || [];\n            if (suppliedParameters.length > 0) {\n                ctx.print(null, `<`);\n                this.visitAllObjects(type => type.visitType(this, ctx), typeParams, ctx, ',');\n                ctx.print(null, `>`);\n            }\n        }\n    }\n    _printColonType(type, ctx, defaultType) {\n        if (type !== INFERRED_TYPE) {\n            ctx.print(null, ':');\n            this.visitType(type, ctx, defaultType);\n        }\n    }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Resolve a `Type` for {@link Pipe}.\n *\n * This interface can be overridden by the application developer to create custom behavior.\n *\n * See {@link Compiler}\n */\nclass PipeResolver {\n    constructor(_reflector) {\n        this._reflector = _reflector;\n    }\n    isPipe(type) {\n        const typeMetadata = this._reflector.annotations(resolveForwardRef(type));\n        return typeMetadata && typeMetadata.some(createPipe.isTypeOf);\n    }\n    /**\n     * Return {@link Pipe} for a given `Type`.\n     */\n    resolve(type, throwIfNotFound = true) {\n        const metas = this._reflector.annotations(resolveForwardRef(type));\n        if (metas) {\n            const annotation = findLast(metas, createPipe.isTypeOf);\n            if (annotation) {\n                return annotation;\n            }\n        }\n        if (throwIfNotFound) {\n            throw new Error(`No Pipe decorator found on ${stringify(type)}`);\n        }\n        return null;\n    }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Generates code that is used to type check templates.\n */\nclass TypeCheckCompiler {\n    constructor(options, reflector) {\n        this.options = options;\n        this.reflector = reflector;\n    }\n    /**\n     * Important notes:\n     * - This must not produce new `import` statements, but only refer to types outside\n     *   of the file via the variables provided via externalReferenceVars.\n     *   This allows Typescript to reuse the old program's structure as no imports have changed.\n     * - This must not produce any exports, as this would pollute the .d.ts file\n     *   and also violate the point above.\n     */\n    compileComponent(componentId, component, template, usedPipes, externalReferenceVars, ctx) {\n        const pipes = new Map();\n        usedPipes.forEach(p => pipes.set(p.name, p.type.reference));\n        let embeddedViewCount = 0;\n        const viewBuilderFactory = (parent, guards) => {\n            const embeddedViewIndex = embeddedViewCount++;\n            return new ViewBuilder(this.options, this.reflector, externalReferenceVars, parent, component.type.reference, component.isHost, embeddedViewIndex, pipes, guards, ctx, viewBuilderFactory);\n        };\n        const visitor = viewBuilderFactory(null, []);\n        visitor.visitAll([], template);\n        return visitor.build(componentId);\n    }\n}\nconst DYNAMIC_VAR_NAME = '_any';\nclass TypeCheckLocalResolver {\n    notifyImplicitReceiverUse() { }\n    getLocal(name) {\n        if (name === EventHandlerVars.event.name) {\n            // References to the event should not be type-checked.\n            // TODO(chuckj): determine a better type for the event.\n            return variable(DYNAMIC_VAR_NAME);\n        }\n        return null;\n    }\n}\nconst defaultResolver = new TypeCheckLocalResolver();\nclass ViewBuilder {\n    constructor(options, reflector, externalReferenceVars, parent, component, isHostComponent, embeddedViewIndex, pipes, guards, ctx, viewBuilderFactory) {\n        this.options = options;\n        this.reflector = reflector;\n        this.externalReferenceVars = externalReferenceVars;\n        this.parent = parent;\n        this.component = component;\n        this.isHostComponent = isHostComponent;\n        this.embeddedViewIndex = embeddedViewIndex;\n        this.pipes = pipes;\n        this.guards = guards;\n        this.ctx = ctx;\n        this.viewBuilderFactory = viewBuilderFactory;\n        this.refOutputVars = new Map();\n        this.variables = [];\n        this.children = [];\n        this.updates = [];\n        this.actions = [];\n    }\n    getOutputVar(type) {\n        let varName;\n        if (type === this.component && this.isHostComponent) {\n            varName = DYNAMIC_VAR_NAME;\n        }\n        else if (type instanceof StaticSymbol) {\n            varName = this.externalReferenceVars.get(type);\n        }\n        else {\n            varName = DYNAMIC_VAR_NAME;\n        }\n        if (!varName) {\n            throw new Error(`Illegal State: referring to a type without a variable ${JSON.stringify(type)}`);\n        }\n        return varName;\n    }\n    getTypeGuardExpressions(ast) {\n        const result = [...this.guards];\n        for (let directive of ast.directives) {\n            for (let input of directive.inputs) {\n                const guard = directive.directive.guards[input.directiveName];\n                if (guard) {\n                    const useIf = guard === 'UseIf';\n                    result.push({\n                        guard,\n                        useIf,\n                        expression: { context: this.component, value: input.value }\n                    });\n                }\n            }\n        }\n        return result;\n    }\n    visitAll(variables, astNodes) {\n        this.variables = variables;\n        templateVisitAll(this, astNodes);\n    }\n    build(componentId, targetStatements = []) {\n        this.children.forEach((child) => child.build(componentId, targetStatements));\n        let viewStmts = [variable(DYNAMIC_VAR_NAME).set(NULL_EXPR).toDeclStmt(DYNAMIC_TYPE)];\n        let bindingCount = 0;\n        this.updates.forEach((expression) => {\n            const { sourceSpan, context, value } = this.preprocessUpdateExpression(expression);\n            const bindingId = `${bindingCount++}`;\n            const nameResolver = context === this.component ? this : defaultResolver;\n            const { stmts, currValExpr } = convertPropertyBinding(nameResolver, variable(this.getOutputVar(context)), value, bindingId, BindingForm.General);\n            stmts.push(new ExpressionStatement(currValExpr));\n            viewStmts.push(...stmts.map((stmt) => applySourceSpanToStatementIfNeeded(stmt, sourceSpan)));\n        });\n        this.actions.forEach(({ sourceSpan, context, value }) => {\n            const bindingId = `${bindingCount++}`;\n            const nameResolver = context === this.component ? this : defaultResolver;\n            const { stmts } = convertActionBinding(nameResolver, variable(this.getOutputVar(context)), value, bindingId);\n            viewStmts.push(...stmts.map((stmt) => applySourceSpanToStatementIfNeeded(stmt, sourceSpan)));\n        });\n        if (this.guards.length) {\n            let guardExpression = undefined;\n            for (const guard of this.guards) {\n                const { context, value } = this.preprocessUpdateExpression(guard.expression);\n                const bindingId = `${bindingCount++}`;\n                const nameResolver = context === this.component ? this : defaultResolver;\n                // We only support support simple expressions and ignore others as they\n                // are unlikely to affect type narrowing.\n                const { stmts, currValExpr } = convertPropertyBinding(nameResolver, variable(this.getOutputVar(context)), value, bindingId, BindingForm.TrySimple);\n                if (stmts.length == 0) {\n                    const guardClause = guard.useIf ? currValExpr : this.ctx.importExpr(guard.guard).callFn([currValExpr]);\n                    guardExpression = guardExpression ? guardExpression.and(guardClause) : guardClause;\n                }\n            }\n            if (guardExpression) {\n                viewStmts = [new IfStmt(guardExpression, viewStmts)];\n            }\n        }\n        const viewName = `_View_${componentId}_${this.embeddedViewIndex}`;\n        const viewFactory = new DeclareFunctionStmt(viewName, [], viewStmts);\n        targetStatements.push(viewFactory);\n        return targetStatements;\n    }\n    visitBoundText(ast, context) {\n        const astWithSource = ast.value;\n        const inter = astWithSource.ast;\n        inter.expressions.forEach((expr) => this.updates.push({ context: this.component, value: expr, sourceSpan: ast.sourceSpan }));\n    }\n    visitEmbeddedTemplate(ast, context) {\n        this.visitElementOrTemplate(ast);\n        // Note: The old view compiler used to use an `any` type\n        // for the context in any embedded view.\n        // We keep this behaivor behind a flag for now.\n        if (this.options.fullTemplateTypeCheck) {\n            // Find any applicable type guards. For example, NgIf has a type guard on ngIf\n            // (see NgIf.ngIfTypeGuard) that can be used to indicate that a template is only\n            // stamped out if ngIf is truthy so any bindings in the template can assume that,\n            // if a nullable type is used for ngIf, that expression is not null or undefined.\n            const guards = this.getTypeGuardExpressions(ast);\n            const childVisitor = this.viewBuilderFactory(this, guards);\n            this.children.push(childVisitor);\n            childVisitor.visitAll(ast.variables, ast.children);\n        }\n    }\n    visitElement(ast, context) {\n        this.visitElementOrTemplate(ast);\n        let inputDefs = [];\n        let updateRendererExpressions = [];\n        let outputDefs = [];\n        ast.inputs.forEach((inputAst) => {\n            this.updates.push({ context: this.component, value: inputAst.value, sourceSpan: inputAst.sourceSpan });\n        });\n        templateVisitAll(this, ast.children);\n    }\n    visitElementOrTemplate(ast) {\n        ast.directives.forEach((dirAst) => { this.visitDirective(dirAst); });\n        ast.references.forEach((ref) => {\n            let outputVarType = null;\n            // Note: The old view compiler used to use an `any` type\n            // for directives exposed via `exportAs`.\n            // We keep this behaivor behind a flag for now.\n            if (ref.value && ref.value.identifier && this.options.fullTemplateTypeCheck) {\n                outputVarType = ref.value.identifier.reference;\n            }\n            else {\n                outputVarType = BuiltinTypeName.Dynamic;\n            }\n            this.refOutputVars.set(ref.name, outputVarType);\n        });\n        ast.outputs.forEach((outputAst) => {\n            this.actions.push({ context: this.component, value: outputAst.handler, sourceSpan: outputAst.sourceSpan });\n        });\n    }\n    visitDirective(dirAst) {\n        const dirType = dirAst.directive.type.reference;\n        dirAst.inputs.forEach((input) => this.updates.push({ context: this.component, value: input.value, sourceSpan: input.sourceSpan }));\n        // Note: The old view compiler used to use an `any` type\n        // for expressions in host properties / events.\n        // We keep this behaivor behind a flag for now.\n        if (this.options.fullTemplateTypeCheck) {\n            dirAst.hostProperties.forEach((inputAst) => this.updates.push({ context: dirType, value: inputAst.value, sourceSpan: inputAst.sourceSpan }));\n            dirAst.hostEvents.forEach((hostEventAst) => this.actions.push({\n                context: dirType,\n                value: hostEventAst.handler,\n                sourceSpan: hostEventAst.sourceSpan\n            }));\n        }\n    }\n    notifyImplicitReceiverUse() { }\n    getLocal(name) {\n        if (name == EventHandlerVars.event.name) {\n            return variable(this.getOutputVar(BuiltinTypeName.Dynamic));\n        }\n        for (let currBuilder = this; currBuilder; currBuilder = currBuilder.parent) {\n            let outputVarType;\n            // check references\n            outputVarType = currBuilder.refOutputVars.get(name);\n            if (outputVarType == null) {\n                // check variables\n                const varAst = currBuilder.variables.find((varAst) => varAst.name === name);\n                if (varAst) {\n                    outputVarType = BuiltinTypeName.Dynamic;\n                }\n            }\n            if (outputVarType != null) {\n                return variable(this.getOutputVar(outputVarType));\n            }\n        }\n        return null;\n    }\n    pipeOutputVar(name) {\n        const pipe = this.pipes.get(name);\n        if (!pipe) {\n            throw new Error(`Illegal State: Could not find pipe ${name} in template of ${this.component}`);\n        }\n        return this.getOutputVar(pipe);\n    }\n    preprocessUpdateExpression(expression) {\n        return {\n            sourceSpan: expression.sourceSpan,\n            context: expression.context,\n            value: convertPropertyBindingBuiltins({\n                createLiteralArrayConverter: (argCount) => (args) => {\n                    const arr = literalArr(args);\n                    // Note: The old view compiler used to use an `any` type\n                    // for arrays.\n                    return this.options.fullTemplateTypeCheck ? arr : arr.cast(DYNAMIC_TYPE);\n                },\n                createLiteralMapConverter: (keys) => (values) => {\n                    const entries = keys.map((k, i) => ({\n                        key: k.key,\n                        value: values[i],\n                        quoted: k.quoted,\n                    }));\n                    const map = literalMap(entries);\n                    // Note: The old view compiler used to use an `any` type\n                    // for maps.\n                    return this.options.fullTemplateTypeCheck ? map : map.cast(DYNAMIC_TYPE);\n                },\n                createPipeConverter: (name, argCount) => (args) => {\n                    // Note: The old view compiler used to use an `any` type\n                    // for pipes.\n                    const pipeExpr = this.options.fullTemplateTypeCheck ?\n                        variable(this.pipeOutputVar(name)) :\n                        variable(this.getOutputVar(BuiltinTypeName.Dynamic));\n                    return pipeExpr.callMethod('transform', args);\n                },\n            }, expression.value)\n        };\n    }\n    visitNgContent(ast, context) { }\n    visitText(ast, context) { }\n    visitDirectiveProperty(ast, context) { }\n    visitReference(ast, context) { }\n    visitVariable(ast, context) { }\n    visitEvent(ast, context) { }\n    visitElementProperty(ast, context) { }\n    visitAttr(ast, context) { }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst CLASS_ATTR$1 = 'class';\nconst STYLE_ATTR = 'style';\nconst IMPLICIT_TEMPLATE_VAR = '\\$implicit';\nclass ViewCompileResult {\n    constructor(viewClassVar, rendererTypeVar) {\n        this.viewClassVar = viewClassVar;\n        this.rendererTypeVar = rendererTypeVar;\n    }\n}\nclass ViewCompiler {\n    constructor(_reflector) {\n        this._reflector = _reflector;\n    }\n    compileComponent(outputCtx, component, template, styles, usedPipes) {\n        let embeddedViewCount = 0;\n        const staticQueryIds = findStaticQueryIds(template);\n        let renderComponentVarName = undefined;\n        if (!component.isHost) {\n            const template = component.template;\n            const customRenderData = [];\n            if (template.animations && template.animations.length) {\n                customRenderData.push(new LiteralMapEntry('animation', convertValueToOutputAst(outputCtx, template.animations), true));\n            }\n            const renderComponentVar = variable(rendererTypeName(component.type.reference));\n            renderComponentVarName = renderComponentVar.name;\n            outputCtx.statements.push(renderComponentVar\n                .set(importExpr(Identifiers.createRendererType2).callFn([new LiteralMapExpr([\n                    new LiteralMapEntry('encapsulation', literal(template.encapsulation), false),\n                    new LiteralMapEntry('styles', styles, false),\n                    new LiteralMapEntry('data', new LiteralMapExpr(customRenderData), false)\n                ])]))\n                .toDeclStmt(importType(Identifiers.RendererType2), [StmtModifier.Final, StmtModifier.Exported]));\n        }\n        const viewBuilderFactory = (parent) => {\n            const embeddedViewIndex = embeddedViewCount++;\n            return new ViewBuilder$1(this._reflector, outputCtx, parent, component, embeddedViewIndex, usedPipes, staticQueryIds, viewBuilderFactory);\n        };\n        const visitor = viewBuilderFactory(null);\n        visitor.visitAll([], template);\n        outputCtx.statements.push(...visitor.build());\n        return new ViewCompileResult(visitor.viewName, renderComponentVarName);\n    }\n}\nconst LOG_VAR$1 = variable('_l');\nconst VIEW_VAR = variable('_v');\nconst CHECK_VAR = variable('_ck');\nconst COMP_VAR = variable('_co');\nconst EVENT_NAME_VAR = variable('en');\nconst ALLOW_DEFAULT_VAR = variable(`ad`);\nclass ViewBuilder$1 {\n    constructor(reflector, outputCtx, parent, component, embeddedViewIndex, usedPipes, staticQueryIds, viewBuilderFactory) {\n        this.reflector = reflector;\n        this.outputCtx = outputCtx;\n        this.parent = parent;\n        this.component = component;\n        this.embeddedViewIndex = embeddedViewIndex;\n        this.usedPipes = usedPipes;\n        this.staticQueryIds = staticQueryIds;\n        this.viewBuilderFactory = viewBuilderFactory;\n        this.nodes = [];\n        this.purePipeNodeIndices = Object.create(null);\n        // Need Object.create so that we don't have builtin values...\n        this.refNodeIndices = Object.create(null);\n        this.variables = [];\n        this.children = [];\n        // TODO(tbosch): The old view compiler used to use an `any` type\n        // for the context in any embedded view. We keep this behaivor for now\n        // to be able to introduce the new view compiler without too many errors.\n        this.compType = this.embeddedViewIndex > 0 ?\n            DYNAMIC_TYPE :\n            expressionType(outputCtx.importExpr(this.component.type.reference));\n        this.viewName = viewClassName(this.component.type.reference, this.embeddedViewIndex);\n    }\n    visitAll(variables, astNodes) {\n        this.variables = variables;\n        // create the pipes for the pure pipes immediately, so that we know their indices.\n        if (!this.parent) {\n            this.usedPipes.forEach((pipe) => {\n                if (pipe.pure) {\n                    this.purePipeNodeIndices[pipe.name] = this._createPipe(null, pipe);\n                }\n            });\n        }\n        if (!this.parent) {\n            const queryIds = staticViewQueryIds(this.staticQueryIds);\n            this.component.viewQueries.forEach((query, queryIndex) => {\n                // Note: queries start with id 1 so we can use the number in a Bloom filter!\n                const queryId = queryIndex + 1;\n                const bindingType = query.first ? 0 /* First */ : 1 /* All */;\n                const flags = 134217728 /* TypeViewQuery */ | calcStaticDynamicQueryFlags(queryIds, queryId, query);\n                this.nodes.push(() => ({\n                    sourceSpan: null,\n                    nodeFlags: flags,\n                    nodeDef: importExpr(Identifiers.queryDef).callFn([\n                        literal(flags), literal(queryId),\n                        new LiteralMapExpr([new LiteralMapEntry(query.propertyName, literal(bindingType), false)])\n                    ])\n                }));\n            });\n        }\n        templateVisitAll(this, astNodes);\n        if (this.parent && (astNodes.length === 0 || needsAdditionalRootNode(astNodes))) {\n            // if the view is an embedded view, then we need to add an additional root node in some cases\n            this.nodes.push(() => ({\n                sourceSpan: null,\n                nodeFlags: 1 /* TypeElement */,\n                nodeDef: importExpr(Identifiers.anchorDef).callFn([\n                    literal(0 /* None */), NULL_EXPR, NULL_EXPR, literal(0)\n                ])\n            }));\n        }\n    }\n    build(targetStatements = []) {\n        this.children.forEach((child) => child.build(targetStatements));\n        const { updateRendererStmts, updateDirectivesStmts, nodeDefExprs } = this._createNodeExpressions();\n        const updateRendererFn = this._createUpdateFn(updateRendererStmts);\n        const updateDirectivesFn = this._createUpdateFn(updateDirectivesStmts);\n        let viewFlags = 0 /* None */;\n        if (!this.parent && this.component.changeDetection === ChangeDetectionStrategy.OnPush) {\n            viewFlags |= 2 /* OnPush */;\n        }\n        const viewFactory = new DeclareFunctionStmt(this.viewName, [new FnParam(LOG_VAR$1.name)], [new ReturnStatement(importExpr(Identifiers.viewDef).callFn([\n                literal(viewFlags),\n                literalArr(nodeDefExprs),\n                updateDirectivesFn,\n                updateRendererFn,\n            ]))], importType(Identifiers.ViewDefinition), this.embeddedViewIndex === 0 ? [StmtModifier.Exported] : []);\n        targetStatements.push(viewFactory);\n        return targetStatements;\n    }\n    _createUpdateFn(updateStmts) {\n        let updateFn;\n        if (updateStmts.length > 0) {\n            const preStmts = [];\n            if (!this.component.isHost && findReadVarNames(updateStmts).has(COMP_VAR.name)) {\n                preStmts.push(COMP_VAR.set(VIEW_VAR.prop('component')).toDeclStmt(this.compType));\n            }\n            updateFn = fn([\n                new FnParam(CHECK_VAR.name, INFERRED_TYPE),\n                new FnParam(VIEW_VAR.name, INFERRED_TYPE)\n            ], [...preStmts, ...updateStmts], INFERRED_TYPE);\n        }\n        else {\n            updateFn = NULL_EXPR;\n        }\n        return updateFn;\n    }\n    visitNgContent(ast, context) {\n        // ngContentDef(ngContentIndex: number, index: number): NodeDef;\n        this.nodes.push(() => ({\n            sourceSpan: ast.sourceSpan,\n            nodeFlags: 8 /* TypeNgContent */,\n            nodeDef: importExpr(Identifiers.ngContentDef).callFn([\n                literal(ast.ngContentIndex), literal(ast.index)\n            ])\n        }));\n    }\n    visitText(ast, context) {\n        // Static text nodes have no check function\n        const checkIndex = -1;\n        this.nodes.push(() => ({\n            sourceSpan: ast.sourceSpan,\n            nodeFlags: 2 /* TypeText */,\n            nodeDef: importExpr(Identifiers.textDef).callFn([\n                literal(checkIndex),\n                literal(ast.ngContentIndex),\n                literalArr([literal(ast.value)]),\n            ])\n        }));\n    }\n    visitBoundText(ast, context) {\n        const nodeIndex = this.nodes.length;\n        // reserve the space in the nodeDefs array\n        this.nodes.push(null);\n        const astWithSource = ast.value;\n        const inter = astWithSource.ast;\n        const updateRendererExpressions = inter.expressions.map((expr, bindingIndex) => this._preprocessUpdateExpression({ nodeIndex, bindingIndex, sourceSpan: ast.sourceSpan, context: COMP_VAR, value: expr }));\n        // Check index is the same as the node index during compilation\n        // They might only differ at runtime\n        const checkIndex = nodeIndex;\n        this.nodes[nodeIndex] = () => ({\n            sourceSpan: ast.sourceSpan,\n            nodeFlags: 2 /* TypeText */,\n            nodeDef: importExpr(Identifiers.textDef).callFn([\n                literal(checkIndex),\n                literal(ast.ngContentIndex),\n                literalArr(inter.strings.map(s => literal(s))),\n            ]),\n            updateRenderer: updateRendererExpressions\n        });\n    }\n    visitEmbeddedTemplate(ast, context) {\n        const nodeIndex = this.nodes.length;\n        // reserve the space in the nodeDefs array\n        this.nodes.push(null);\n        const { flags, queryMatchesExpr, hostEvents } = this._visitElementOrTemplate(nodeIndex, ast);\n        const childVisitor = this.viewBuilderFactory(this);\n        this.children.push(childVisitor);\n        childVisitor.visitAll(ast.variables, ast.children);\n        const childCount = this.nodes.length - nodeIndex - 1;\n        // anchorDef(\n        //   flags: NodeFlags, matchedQueries: [string, QueryValueType][], ngContentIndex: number,\n        //   childCount: number, handleEventFn?: ElementHandleEventFn, templateFactory?:\n        //   ViewDefinitionFactory): NodeDef;\n        this.nodes[nodeIndex] = () => ({\n            sourceSpan: ast.sourceSpan,\n            nodeFlags: 1 /* TypeElement */ | flags,\n            nodeDef: importExpr(Identifiers.anchorDef).callFn([\n                literal(flags),\n                queryMatchesExpr,\n                literal(ast.ngContentIndex),\n                literal(childCount),\n                this._createElementHandleEventFn(nodeIndex, hostEvents),\n                variable(childVisitor.viewName),\n            ])\n        });\n    }\n    visitElement(ast, context) {\n        const nodeIndex = this.nodes.length;\n        // reserve the space in the nodeDefs array so we can add children\n        this.nodes.push(null);\n        // Using a null element name creates an anchor.\n        const elName = isNgContainer(ast.name) ? null : ast.name;\n        const { flags, usedEvents, queryMatchesExpr, hostBindings: dirHostBindings, hostEvents } = this._visitElementOrTemplate(nodeIndex, ast);\n        let inputDefs = [];\n        let updateRendererExpressions = [];\n        let outputDefs = [];\n        if (elName) {\n            const hostBindings = ast.inputs\n                .map((inputAst) => ({\n                context: COMP_VAR,\n                inputAst,\n                dirAst: null,\n            }))\n                .concat(dirHostBindings);\n            if (hostBindings.length) {\n                updateRendererExpressions =\n                    hostBindings.map((hostBinding, bindingIndex) => this._preprocessUpdateExpression({\n                        context: hostBinding.context,\n                        nodeIndex,\n                        bindingIndex,\n                        sourceSpan: hostBinding.inputAst.sourceSpan,\n                        value: hostBinding.inputAst.value\n                    }));\n                inputDefs = hostBindings.map(hostBinding => elementBindingDef(hostBinding.inputAst, hostBinding.dirAst));\n            }\n            outputDefs = usedEvents.map(([target, eventName]) => literalArr([literal(target), literal(eventName)]));\n        }\n        templateVisitAll(this, ast.children);\n        const childCount = this.nodes.length - nodeIndex - 1;\n        const compAst = ast.directives.find(dirAst => dirAst.directive.isComponent);\n        let compRendererType = NULL_EXPR;\n        let compView = NULL_EXPR;\n        if (compAst) {\n            compView = this.outputCtx.importExpr(compAst.directive.componentViewType);\n            compRendererType = this.outputCtx.importExpr(compAst.directive.rendererType);\n        }\n        // Check index is the same as the node index during compilation\n        // They might only differ at runtime\n        const checkIndex = nodeIndex;\n        this.nodes[nodeIndex] = () => ({\n            sourceSpan: ast.sourceSpan,\n            nodeFlags: 1 /* TypeElement */ | flags,\n            nodeDef: importExpr(Identifiers.elementDef).callFn([\n                literal(checkIndex),\n                literal(flags),\n                queryMatchesExpr,\n                literal(ast.ngContentIndex),\n                literal(childCount),\n                literal(elName),\n                elName ? fixedAttrsDef(ast) : NULL_EXPR,\n                inputDefs.length ? literalArr(inputDefs) : NULL_EXPR,\n                outputDefs.length ? literalArr(outputDefs) : NULL_EXPR,\n                this._createElementHandleEventFn(nodeIndex, hostEvents),\n                compView,\n                compRendererType,\n            ]),\n            updateRenderer: updateRendererExpressions\n        });\n    }\n    _visitElementOrTemplate(nodeIndex, ast) {\n        let flags = 0 /* None */;\n        if (ast.hasViewContainer) {\n            flags |= 16777216 /* EmbeddedViews */;\n        }\n        const usedEvents = new Map();\n        ast.outputs.forEach((event) => {\n            const { name, target } = elementEventNameAndTarget(event, null);\n            usedEvents.set(elementEventFullName(target, name), [target, name]);\n        });\n        ast.directives.forEach((dirAst) => {\n            dirAst.hostEvents.forEach((event) => {\n                const { name, target } = elementEventNameAndTarget(event, dirAst);\n                usedEvents.set(elementEventFullName(target, name), [target, name]);\n            });\n        });\n        const hostBindings = [];\n        const hostEvents = [];\n        this._visitComponentFactoryResolverProvider(ast.directives);\n        ast.providers.forEach((providerAst, providerIndex) => {\n            let dirAst = undefined;\n            let dirIndex = undefined;\n            ast.directives.forEach((localDirAst, i) => {\n                if (localDirAst.directive.type.reference === tokenReference(providerAst.token)) {\n                    dirAst = localDirAst;\n                    dirIndex = i;\n                }\n            });\n            if (dirAst) {\n                const { hostBindings: dirHostBindings, hostEvents: dirHostEvents } = this._visitDirective(providerAst, dirAst, dirIndex, nodeIndex, ast.references, ast.queryMatches, usedEvents, this.staticQueryIds.get(ast));\n                hostBindings.push(...dirHostBindings);\n                hostEvents.push(...dirHostEvents);\n            }\n            else {\n                this._visitProvider(providerAst, ast.queryMatches);\n            }\n        });\n        let queryMatchExprs = [];\n        ast.queryMatches.forEach((match) => {\n            let valueType = undefined;\n            if (tokenReference(match.value) ===\n                this.reflector.resolveExternalReference(Identifiers.ElementRef)) {\n                valueType = 0 /* ElementRef */;\n            }\n            else if (tokenReference(match.value) ===\n                this.reflector.resolveExternalReference(Identifiers.ViewContainerRef)) {\n                valueType = 3 /* ViewContainerRef */;\n            }\n            else if (tokenReference(match.value) ===\n                this.reflector.resolveExternalReference(Identifiers.TemplateRef)) {\n                valueType = 2 /* TemplateRef */;\n            }\n            if (valueType != null) {\n                queryMatchExprs.push(literalArr([literal(match.queryId), literal(valueType)]));\n            }\n        });\n        ast.references.forEach((ref) => {\n            let valueType = undefined;\n            if (!ref.value) {\n                valueType = 1 /* RenderElement */;\n            }\n            else if (tokenReference(ref.value) ===\n                this.reflector.resolveExternalReference(Identifiers.TemplateRef)) {\n                valueType = 2 /* TemplateRef */;\n            }\n            if (valueType != null) {\n                this.refNodeIndices[ref.name] = nodeIndex;\n                queryMatchExprs.push(literalArr([literal(ref.name), literal(valueType)]));\n            }\n        });\n        ast.outputs.forEach((outputAst) => {\n            hostEvents.push({ context: COMP_VAR, eventAst: outputAst, dirAst: null });\n        });\n        return {\n            flags,\n            usedEvents: Array.from(usedEvents.values()),\n            queryMatchesExpr: queryMatchExprs.length ? literalArr(queryMatchExprs) : NULL_EXPR,\n            hostBindings,\n            hostEvents: hostEvents\n        };\n    }\n    _visitDirective(providerAst, dirAst, directiveIndex, elementNodeIndex, refs, queryMatches, usedEvents, queryIds) {\n        const nodeIndex = this.nodes.length;\n        // reserve the space in the nodeDefs array so we can add children\n        this.nodes.push(null);\n        dirAst.directive.queries.forEach((query, queryIndex) => {\n            const queryId = dirAst.contentQueryStartId + queryIndex;\n            const flags = 67108864 /* TypeContentQuery */ | calcStaticDynamicQueryFlags(queryIds, queryId, query);\n            const bindingType = query.first ? 0 /* First */ : 1 /* All */;\n            this.nodes.push(() => ({\n                sourceSpan: dirAst.sourceSpan,\n                nodeFlags: flags,\n                nodeDef: importExpr(Identifiers.queryDef).callFn([\n                    literal(flags), literal(queryId),\n                    new LiteralMapExpr([new LiteralMapEntry(query.propertyName, literal(bindingType), false)])\n                ]),\n            }));\n        });\n        // Note: the operation below might also create new nodeDefs,\n        // but we don't want them to be a child of a directive,\n        // as they might be a provider/pipe on their own.\n        // I.e. we only allow queries as children of directives nodes.\n        const childCount = this.nodes.length - nodeIndex - 1;\n        let { flags, queryMatchExprs, providerExpr, depsExpr } = this._visitProviderOrDirective(providerAst, queryMatches);\n        refs.forEach((ref) => {\n            if (ref.value && tokenReference(ref.value) === tokenReference(providerAst.token)) {\n                this.refNodeIndices[ref.name] = nodeIndex;\n                queryMatchExprs.push(literalArr([literal(ref.name), literal(4 /* Provider */)]));\n            }\n        });\n        if (dirAst.directive.isComponent) {\n            flags |= 32768 /* Component */;\n        }\n        const inputDefs = dirAst.inputs.map((inputAst, inputIndex) => {\n            const mapValue = literalArr([literal(inputIndex), literal(inputAst.directiveName)]);\n            // Note: it's important to not quote the key so that we can capture renames by minifiers!\n            return new LiteralMapEntry(inputAst.directiveName, mapValue, false);\n        });\n        const outputDefs = [];\n        const dirMeta = dirAst.directive;\n        Object.keys(dirMeta.outputs).forEach((propName) => {\n            const eventName = dirMeta.outputs[propName];\n            if (usedEvents.has(eventName)) {\n                // Note: it's important to not quote the key so that we can capture renames by minifiers!\n                outputDefs.push(new LiteralMapEntry(propName, literal(eventName), false));\n            }\n        });\n        let updateDirectiveExpressions = [];\n        if (dirAst.inputs.length || (flags & (262144 /* DoCheck */ | 65536 /* OnInit */)) > 0) {\n            updateDirectiveExpressions =\n                dirAst.inputs.map((input, bindingIndex) => this._preprocessUpdateExpression({\n                    nodeIndex,\n                    bindingIndex,\n                    sourceSpan: input.sourceSpan,\n                    context: COMP_VAR,\n                    value: input.value\n                }));\n        }\n        const dirContextExpr = importExpr(Identifiers.nodeValue).callFn([VIEW_VAR, literal(nodeIndex)]);\n        const hostBindings = dirAst.hostProperties.map((inputAst) => ({\n            context: dirContextExpr,\n            dirAst,\n            inputAst,\n        }));\n        const hostEvents = dirAst.hostEvents.map((hostEventAst) => ({\n            context: dirContextExpr,\n            eventAst: hostEventAst, dirAst,\n        }));\n        // Check index is the same as the node index during compilation\n        // They might only differ at runtime\n        const checkIndex = nodeIndex;\n        this.nodes[nodeIndex] = () => ({\n            sourceSpan: dirAst.sourceSpan,\n            nodeFlags: 16384 /* TypeDirective */ | flags,\n            nodeDef: importExpr(Identifiers.directiveDef).callFn([\n                literal(checkIndex),\n                literal(flags),\n                queryMatchExprs.length ? literalArr(queryMatchExprs) : NULL_EXPR,\n                literal(childCount),\n                providerExpr,\n                depsExpr,\n                inputDefs.length ? new LiteralMapExpr(inputDefs) : NULL_EXPR,\n                outputDefs.length ? new LiteralMapExpr(outputDefs) : NULL_EXPR,\n            ]),\n            updateDirectives: updateDirectiveExpressions,\n            directive: dirAst.directive.type,\n        });\n        return { hostBindings, hostEvents };\n    }\n    _visitProvider(providerAst, queryMatches) {\n        this._addProviderNode(this._visitProviderOrDirective(providerAst, queryMatches));\n    }\n    _visitComponentFactoryResolverProvider(directives) {\n        const componentDirMeta = directives.find(dirAst => dirAst.directive.isComponent);\n        if (componentDirMeta && componentDirMeta.directive.entryComponents.length) {\n            const { providerExpr, depsExpr, flags, tokenExpr } = componentFactoryResolverProviderDef(this.reflector, this.outputCtx, 8192 /* PrivateProvider */, componentDirMeta.directive.entryComponents);\n            this._addProviderNode({\n                providerExpr,\n                depsExpr,\n                flags,\n                tokenExpr,\n                queryMatchExprs: [],\n                sourceSpan: componentDirMeta.sourceSpan\n            });\n        }\n    }\n    _addProviderNode(data) {\n        const nodeIndex = this.nodes.length;\n        // providerDef(\n        //   flags: NodeFlags, matchedQueries: [string, QueryValueType][], token:any,\n        //   value: any, deps: ([DepFlags, any] | any)[]): NodeDef;\n        this.nodes.push(() => ({\n            sourceSpan: data.sourceSpan,\n            nodeFlags: data.flags,\n            nodeDef: importExpr(Identifiers.providerDef).callFn([\n                literal(data.flags),\n                data.queryMatchExprs.length ? literalArr(data.queryMatchExprs) : NULL_EXPR,\n                data.tokenExpr, data.providerExpr, data.depsExpr\n            ])\n        }));\n    }\n    _visitProviderOrDirective(providerAst, queryMatches) {\n        let flags = 0 /* None */;\n        let queryMatchExprs = [];\n        queryMatches.forEach((match) => {\n            if (tokenReference(match.value) === tokenReference(providerAst.token)) {\n                queryMatchExprs.push(literalArr([literal(match.queryId), literal(4 /* Provider */)]));\n            }\n        });\n        const { providerExpr, depsExpr, flags: providerFlags, tokenExpr } = providerDef(this.outputCtx, providerAst);\n        return {\n            flags: flags | providerFlags,\n            queryMatchExprs,\n            providerExpr,\n            depsExpr,\n            tokenExpr,\n            sourceSpan: providerAst.sourceSpan\n        };\n    }\n    getLocal(name) {\n        if (name == EventHandlerVars.event.name) {\n            return EventHandlerVars.event;\n        }\n        let currViewExpr = VIEW_VAR;\n        for (let currBuilder = this; currBuilder; currBuilder = currBuilder.parent,\n            currViewExpr = currViewExpr.prop('parent').cast(DYNAMIC_TYPE)) {\n            // check references\n            const refNodeIndex = currBuilder.refNodeIndices[name];\n            if (refNodeIndex != null) {\n                return importExpr(Identifiers.nodeValue).callFn([currViewExpr, literal(refNodeIndex)]);\n            }\n            // check variables\n            const varAst = currBuilder.variables.find((varAst) => varAst.name === name);\n            if (varAst) {\n                const varValue = varAst.value || IMPLICIT_TEMPLATE_VAR;\n                return currViewExpr.prop('context').prop(varValue);\n            }\n        }\n        return null;\n    }\n    notifyImplicitReceiverUse() {\n        // Not needed in View Engine as View Engine walks through the generated\n        // expressions to figure out if the implicit receiver is used and needs\n        // to be generated as part of the pre-update statements.\n    }\n    _createLiteralArrayConverter(sourceSpan, argCount) {\n        if (argCount === 0) {\n            const valueExpr = importExpr(Identifiers.EMPTY_ARRAY);\n            return () => valueExpr;\n        }\n        const checkIndex = this.nodes.length;\n        this.nodes.push(() => ({\n            sourceSpan,\n            nodeFlags: 32 /* TypePureArray */,\n            nodeDef: importExpr(Identifiers.pureArrayDef).callFn([\n                literal(checkIndex),\n                literal(argCount),\n            ])\n        }));\n        return (args) => callCheckStmt(checkIndex, args);\n    }\n    _createLiteralMapConverter(sourceSpan, keys) {\n        if (keys.length === 0) {\n            const valueExpr = importExpr(Identifiers.EMPTY_MAP);\n            return () => valueExpr;\n        }\n        const map = literalMap(keys.map((e, i) => (Object.assign({}, e, { value: literal(i) }))));\n        const checkIndex = this.nodes.length;\n        this.nodes.push(() => ({\n            sourceSpan,\n            nodeFlags: 64 /* TypePureObject */,\n            nodeDef: importExpr(Identifiers.pureObjectDef).callFn([\n                literal(checkIndex),\n                map,\n            ])\n        }));\n        return (args) => callCheckStmt(checkIndex, args);\n    }\n    _createPipeConverter(expression, name, argCount) {\n        const pipe = this.usedPipes.find((pipeSummary) => pipeSummary.name === name);\n        if (pipe.pure) {\n            const checkIndex = this.nodes.length;\n            this.nodes.push(() => ({\n                sourceSpan: expression.sourceSpan,\n                nodeFlags: 128 /* TypePurePipe */,\n                nodeDef: importExpr(Identifiers.purePipeDef).callFn([\n                    literal(checkIndex),\n                    literal(argCount),\n                ])\n            }));\n            // find underlying pipe in the component view\n            let compViewExpr = VIEW_VAR;\n            let compBuilder = this;\n            while (compBuilder.parent) {\n                compBuilder = compBuilder.parent;\n                compViewExpr = compViewExpr.prop('parent').cast(DYNAMIC_TYPE);\n            }\n            const pipeNodeIndex = compBuilder.purePipeNodeIndices[name];\n            const pipeValueExpr = importExpr(Identifiers.nodeValue).callFn([compViewExpr, literal(pipeNodeIndex)]);\n            return (args) => callUnwrapValue(expression.nodeIndex, expression.bindingIndex, callCheckStmt(checkIndex, [pipeValueExpr].concat(args)));\n        }\n        else {\n            const nodeIndex = this._createPipe(expression.sourceSpan, pipe);\n            const nodeValueExpr = importExpr(Identifiers.nodeValue).callFn([VIEW_VAR, literal(nodeIndex)]);\n            return (args) => callUnwrapValue(expression.nodeIndex, expression.bindingIndex, nodeValueExpr.callMethod('transform', args));\n        }\n    }\n    _createPipe(sourceSpan, pipe) {\n        const nodeIndex = this.nodes.length;\n        let flags = 0 /* None */;\n        pipe.type.lifecycleHooks.forEach((lifecycleHook) => {\n            // for pipes, we only support ngOnDestroy\n            if (lifecycleHook === LifecycleHooks.OnDestroy) {\n                flags |= lifecycleHookToNodeFlag(lifecycleHook);\n            }\n        });\n        const depExprs = pipe.type.diDeps.map((diDep) => depDef(this.outputCtx, diDep));\n        // function pipeDef(\n        //   flags: NodeFlags, ctor: any, deps: ([DepFlags, any] | any)[]): NodeDef\n        this.nodes.push(() => ({\n            sourceSpan,\n            nodeFlags: 16 /* TypePipe */,\n            nodeDef: importExpr(Identifiers.pipeDef).callFn([\n                literal(flags), this.outputCtx.importExpr(pipe.type.reference), literalArr(depExprs)\n            ])\n        }));\n        return nodeIndex;\n    }\n    /**\n     * For the AST in `UpdateExpression.value`:\n     * - create nodes for pipes, literal arrays and, literal maps,\n     * - update the AST to replace pipes, literal arrays and, literal maps with calls to check fn.\n     *\n     * WARNING: This might create new nodeDefs (for pipes and literal arrays and literal maps)!\n     */\n    _preprocessUpdateExpression(expression) {\n        return {\n            nodeIndex: expression.nodeIndex,\n            bindingIndex: expression.bindingIndex,\n            sourceSpan: expression.sourceSpan,\n            context: expression.context,\n            value: convertPropertyBindingBuiltins({\n                createLiteralArrayConverter: (argCount) => this._createLiteralArrayConverter(expression.sourceSpan, argCount),\n                createLiteralMapConverter: (keys) => this._createLiteralMapConverter(expression.sourceSpan, keys),\n                createPipeConverter: (name, argCount) => this._createPipeConverter(expression, name, argCount)\n            }, expression.value)\n        };\n    }\n    _createNodeExpressions() {\n        const self = this;\n        let updateBindingCount = 0;\n        const updateRendererStmts = [];\n        const updateDirectivesStmts = [];\n        const nodeDefExprs = this.nodes.map((factory, nodeIndex) => {\n            const { nodeDef, nodeFlags, updateDirectives, updateRenderer, sourceSpan } = factory();\n            if (updateRenderer) {\n                updateRendererStmts.push(...createUpdateStatements(nodeIndex, sourceSpan, updateRenderer, false));\n            }\n            if (updateDirectives) {\n                updateDirectivesStmts.push(...createUpdateStatements(nodeIndex, sourceSpan, updateDirectives, (nodeFlags & (262144 /* DoCheck */ | 65536 /* OnInit */)) > 0));\n            }\n            // We use a comma expression to call the log function before\n            // the nodeDef function, but still use the result of the nodeDef function\n            // as the value.\n            // Note: We only add the logger to elements / text nodes,\n            // so we don't generate too much code.\n            const logWithNodeDef = nodeFlags & 3 /* CatRenderNode */ ?\n                new CommaExpr([LOG_VAR$1.callFn([]).callFn([]), nodeDef]) :\n                nodeDef;\n            return applySourceSpanToExpressionIfNeeded(logWithNodeDef, sourceSpan);\n        });\n        return { updateRendererStmts, updateDirectivesStmts, nodeDefExprs };\n        function createUpdateStatements(nodeIndex, sourceSpan, expressions, allowEmptyExprs) {\n            const updateStmts = [];\n            const exprs = expressions.map(({ sourceSpan, context, value }) => {\n                const bindingId = `${updateBindingCount++}`;\n                const nameResolver = context === COMP_VAR ? self : null;\n                const { stmts, currValExpr } = convertPropertyBinding(nameResolver, context, value, bindingId, BindingForm.General);\n                updateStmts.push(...stmts.map((stmt) => applySourceSpanToStatementIfNeeded(stmt, sourceSpan)));\n                return applySourceSpanToExpressionIfNeeded(currValExpr, sourceSpan);\n            });\n            if (expressions.length || allowEmptyExprs) {\n                updateStmts.push(applySourceSpanToStatementIfNeeded(callCheckStmt(nodeIndex, exprs).toStmt(), sourceSpan));\n            }\n            return updateStmts;\n        }\n    }\n    _createElementHandleEventFn(nodeIndex, handlers) {\n        const handleEventStmts = [];\n        let handleEventBindingCount = 0;\n        handlers.forEach(({ context, eventAst, dirAst }) => {\n            const bindingId = `${handleEventBindingCount++}`;\n            const nameResolver = context === COMP_VAR ? this : null;\n            const { stmts, allowDefault } = convertActionBinding(nameResolver, context, eventAst.handler, bindingId);\n            const trueStmts = stmts;\n            if (allowDefault) {\n                trueStmts.push(ALLOW_DEFAULT_VAR.set(allowDefault.and(ALLOW_DEFAULT_VAR)).toStmt());\n            }\n            const { target: eventTarget, name: eventName } = elementEventNameAndTarget(eventAst, dirAst);\n            const fullEventName = elementEventFullName(eventTarget, eventName);\n            handleEventStmts.push(applySourceSpanToStatementIfNeeded(new IfStmt(literal(fullEventName).identical(EVENT_NAME_VAR), trueStmts), eventAst.sourceSpan));\n        });\n        let handleEventFn;\n        if (handleEventStmts.length > 0) {\n            const preStmts = [ALLOW_DEFAULT_VAR.set(literal(true)).toDeclStmt(BOOL_TYPE)];\n            if (!this.component.isHost && findReadVarNames(handleEventStmts).has(COMP_VAR.name)) {\n                preStmts.push(COMP_VAR.set(VIEW_VAR.prop('component')).toDeclStmt(this.compType));\n            }\n            handleEventFn = fn([\n                new FnParam(VIEW_VAR.name, INFERRED_TYPE),\n                new FnParam(EVENT_NAME_VAR.name, INFERRED_TYPE),\n                new FnParam(EventHandlerVars.event.name, INFERRED_TYPE)\n            ], [...preStmts, ...handleEventStmts, new ReturnStatement(ALLOW_DEFAULT_VAR)], INFERRED_TYPE);\n        }\n        else {\n            handleEventFn = NULL_EXPR;\n        }\n        return handleEventFn;\n    }\n    visitDirective(ast, context) { }\n    visitDirectiveProperty(ast, context) { }\n    visitReference(ast, context) { }\n    visitVariable(ast, context) { }\n    visitEvent(ast, context) { }\n    visitElementProperty(ast, context) { }\n    visitAttr(ast, context) { }\n}\nfunction needsAdditionalRootNode(astNodes) {\n    const lastAstNode = astNodes[astNodes.length - 1];\n    if (lastAstNode instanceof EmbeddedTemplateAst) {\n        return lastAstNode.hasViewContainer;\n    }\n    if (lastAstNode instanceof ElementAst) {\n        if (isNgContainer(lastAstNode.name) && lastAstNode.children.length) {\n            return needsAdditionalRootNode(lastAstNode.children);\n        }\n        return lastAstNode.hasViewContainer;\n    }\n    return lastAstNode instanceof NgContentAst;\n}\nfunction elementBindingDef(inputAst, dirAst) {\n    const inputType = inputAst.type;\n    switch (inputType) {\n        case 1 /* Attribute */:\n            return literalArr([\n                literal(1 /* TypeElementAttribute */), literal(inputAst.name),\n                literal(inputAst.securityContext)\n            ]);\n        case 0 /* Property */:\n            return literalArr([\n                literal(8 /* TypeProperty */), literal(inputAst.name),\n                literal(inputAst.securityContext)\n            ]);\n        case 4 /* Animation */:\n            const bindingType = 8 /* TypeProperty */ |\n                (dirAst && dirAst.directive.isComponent ? 32 /* SyntheticHostProperty */ :\n                    16 /* SyntheticProperty */);\n            return literalArr([\n                literal(bindingType), literal('@' + inputAst.name), literal(inputAst.securityContext)\n            ]);\n        case 2 /* Class */:\n            return literalArr([literal(2 /* TypeElementClass */), literal(inputAst.name), NULL_EXPR]);\n        case 3 /* Style */:\n            return literalArr([\n                literal(4 /* TypeElementStyle */), literal(inputAst.name), literal(inputAst.unit)\n            ]);\n        default:\n            // This default case is not needed by TypeScript compiler, as the switch is exhaustive.\n            // However Closure Compiler does not understand that and reports an error in typed mode.\n            // The `throw new Error` below works around the problem, and the unexpected: never variable\n            // makes sure tsc still checks this code is unreachable.\n            const unexpected = inputType;\n            throw new Error(`unexpected ${unexpected}`);\n    }\n}\nfunction fixedAttrsDef(elementAst) {\n    const mapResult = Object.create(null);\n    elementAst.attrs.forEach(attrAst => { mapResult[attrAst.name] = attrAst.value; });\n    elementAst.directives.forEach(dirAst => {\n        Object.keys(dirAst.directive.hostAttributes).forEach(name => {\n            const value = dirAst.directive.hostAttributes[name];\n            const prevValue = mapResult[name];\n            mapResult[name] = prevValue != null ? mergeAttributeValue(name, prevValue, value) : value;\n        });\n    });\n    // Note: We need to sort to get a defined output order\n    // for tests and for caching generated artifacts...\n    return literalArr(Object.keys(mapResult).sort().map((attrName) => literalArr([literal(attrName), literal(mapResult[attrName])])));\n}\nfunction mergeAttributeValue(attrName, attrValue1, attrValue2) {\n    if (attrName == CLASS_ATTR$1 || attrName == STYLE_ATTR) {\n        return `${attrValue1} ${attrValue2}`;\n    }\n    else {\n        return attrValue2;\n    }\n}\nfunction callCheckStmt(nodeIndex, exprs) {\n    if (exprs.length > 10) {\n        return CHECK_VAR.callFn([VIEW_VAR, literal(nodeIndex), literal(1 /* Dynamic */), literalArr(exprs)]);\n    }\n    else {\n        return CHECK_VAR.callFn([VIEW_VAR, literal(nodeIndex), literal(0 /* Inline */), ...exprs]);\n    }\n}\nfunction callUnwrapValue(nodeIndex, bindingIdx, expr) {\n    return importExpr(Identifiers.unwrapValue).callFn([\n        VIEW_VAR, literal(nodeIndex), literal(bindingIdx), expr\n    ]);\n}\nfunction findStaticQueryIds(nodes, result = new Map()) {\n    nodes.forEach((node) => {\n        const staticQueryIds = new Set();\n        const dynamicQueryIds = new Set();\n        let queryMatches = undefined;\n        if (node instanceof ElementAst) {\n            findStaticQueryIds(node.children, result);\n            node.children.forEach((child) => {\n                const childData = result.get(child);\n                childData.staticQueryIds.forEach(queryId => staticQueryIds.add(queryId));\n                childData.dynamicQueryIds.forEach(queryId => dynamicQueryIds.add(queryId));\n            });\n            queryMatches = node.queryMatches;\n        }\n        else if (node instanceof EmbeddedTemplateAst) {\n            findStaticQueryIds(node.children, result);\n            node.children.forEach((child) => {\n                const childData = result.get(child);\n                childData.staticQueryIds.forEach(queryId => dynamicQueryIds.add(queryId));\n                childData.dynamicQueryIds.forEach(queryId => dynamicQueryIds.add(queryId));\n            });\n            queryMatches = node.queryMatches;\n        }\n        if (queryMatches) {\n            queryMatches.forEach((match) => staticQueryIds.add(match.queryId));\n        }\n        dynamicQueryIds.forEach(queryId => staticQueryIds.delete(queryId));\n        result.set(node, { staticQueryIds, dynamicQueryIds });\n    });\n    return result;\n}\nfunction staticViewQueryIds(nodeStaticQueryIds) {\n    const staticQueryIds = new Set();\n    const dynamicQueryIds = new Set();\n    Array.from(nodeStaticQueryIds.values()).forEach((entry) => {\n        entry.staticQueryIds.forEach(queryId => staticQueryIds.add(queryId));\n        entry.dynamicQueryIds.forEach(queryId => dynamicQueryIds.add(queryId));\n    });\n    dynamicQueryIds.forEach(queryId => staticQueryIds.delete(queryId));\n    return { staticQueryIds, dynamicQueryIds };\n}\nfunction elementEventNameAndTarget(eventAst, dirAst) {\n    if (eventAst.isAnimation) {\n        return {\n            name: `@${eventAst.name}.${eventAst.phase}`,\n            target: dirAst && dirAst.directive.isComponent ? 'component' : null\n        };\n    }\n    else {\n        return eventAst;\n    }\n}\nfunction calcStaticDynamicQueryFlags(queryIds, queryId, query) {\n    let flags = 0 /* None */;\n    // Note: We only make queries static that query for a single item.\n    // This is because of backwards compatibility with the old view compiler...\n    if (query.first && shouldResolveAsStaticQuery(queryIds, queryId, query)) {\n        flags |= 268435456 /* StaticQuery */;\n    }\n    else {\n        flags |= 536870912 /* DynamicQuery */;\n    }\n    return flags;\n}\nfunction shouldResolveAsStaticQuery(queryIds, queryId, query) {\n    // If query.static has been set by the user, use that value to determine whether\n    // the query is static. If none has been set, sort the query into static/dynamic\n    // based on query results (i.e. dynamic if CD needs to run to get all results).\n    return query.static ||\n        query.static == null &&\n            (queryIds.staticQueryIds.has(queryId) || !queryIds.dynamicQueryIds.has(queryId));\n}\nfunction elementEventFullName(target, name) {\n    return target ? `${target}:${name}` : name;\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * A container for message extracted from the templates.\n */\nclass MessageBundle {\n    constructor(_htmlParser, _implicitTags, _implicitAttrs, _locale = null) {\n        this._htmlParser = _htmlParser;\n        this._implicitTags = _implicitTags;\n        this._implicitAttrs = _implicitAttrs;\n        this._locale = _locale;\n        this._messages = [];\n    }\n    updateFromTemplate(html, url, interpolationConfig) {\n        const htmlParserResult = this._htmlParser.parse(html, url, { tokenizeExpansionForms: true, interpolationConfig });\n        if (htmlParserResult.errors.length) {\n            return htmlParserResult.errors;\n        }\n        const i18nParserResult = extractMessages(htmlParserResult.rootNodes, interpolationConfig, this._implicitTags, this._implicitAttrs);\n        if (i18nParserResult.errors.length) {\n            return i18nParserResult.errors;\n        }\n        this._messages.push(...i18nParserResult.messages);\n        return [];\n    }\n    // Return the message in the internal format\n    // The public (serialized) format might be different, see the `write` method.\n    getMessages() { return this._messages; }\n    write(serializer, filterSources) {\n        const messages = {};\n        const mapperVisitor = new MapPlaceholderNames();\n        // Deduplicate messages based on their ID\n        this._messages.forEach(message => {\n            const id = serializer.digest(message);\n            if (!messages.hasOwnProperty(id)) {\n                messages[id] = message;\n            }\n            else {\n                messages[id].sources.push(...message.sources);\n            }\n        });\n        // Transform placeholder names using the serializer mapping\n        const msgList = Object.keys(messages).map(id => {\n            const mapper = serializer.createNameMapper(messages[id]);\n            const src = messages[id];\n            const nodes = mapper ? mapperVisitor.convert(src.nodes, mapper) : src.nodes;\n            let transformedMessage = new Message(nodes, {}, {}, src.meaning, src.description, id);\n            transformedMessage.sources = src.sources;\n            if (filterSources) {\n                transformedMessage.sources.forEach((source) => source.filePath = filterSources(source.filePath));\n            }\n            return transformedMessage;\n        });\n        return serializer.write(msgList, this._locale);\n    }\n}\n// Transform an i18n AST by renaming the placeholder nodes with the given mapper\nclass MapPlaceholderNames extends CloneVisitor {\n    convert(nodes, mapper) {\n        return mapper ? nodes.map(n => n.visit(this, mapper)) : nodes;\n    }\n    visitTagPlaceholder(ph, mapper) {\n        const startName = mapper.toPublicName(ph.startName);\n        const closeName = ph.closeName ? mapper.toPublicName(ph.closeName) : ph.closeName;\n        const children = ph.children.map(n => n.visit(this, mapper));\n        return new TagPlaceholder(ph.tag, ph.attrs, startName, closeName, children, ph.isVoid, ph.sourceSpan);\n    }\n    visitPlaceholder(ph, mapper) {\n        return new Placeholder(ph.value, mapper.toPublicName(ph.name), ph.sourceSpan);\n    }\n    visitIcuPlaceholder(ph, mapper) {\n        return new IcuPlaceholder(ph.value, mapper.toPublicName(ph.name), ph.sourceSpan);\n    }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nclass GeneratedFile {\n    constructor(srcFileUrl, genFileUrl, sourceOrStmts) {\n        this.srcFileUrl = srcFileUrl;\n        this.genFileUrl = genFileUrl;\n        if (typeof sourceOrStmts === 'string') {\n            this.source = sourceOrStmts;\n            this.stmts = null;\n        }\n        else {\n            this.source = null;\n            this.stmts = sourceOrStmts;\n        }\n    }\n    isEquivalent(other) {\n        if (this.genFileUrl !== other.genFileUrl) {\n            return false;\n        }\n        if (this.source) {\n            return this.source === other.source;\n        }\n        if (other.stmts == null) {\n            return false;\n        }\n        // Note: the constructor guarantees that if this.source is not filled,\n        // then this.stmts is.\n        return areAllEquivalent(this.stmts, other.stmts);\n    }\n}\nfunction toTypeScript(file, preamble = '') {\n    if (!file.stmts) {\n        throw new Error(`Illegal state: No stmts present on GeneratedFile ${file.genFileUrl}`);\n    }\n    return new TypeScriptEmitter().emitStatements(file.genFileUrl, file.stmts, preamble);\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction listLazyRoutes(moduleMeta, reflector) {\n    const allLazyRoutes = [];\n    for (const { provider, module } of moduleMeta.transitiveModule.providers) {\n        if (tokenReference(provider.token) === reflector.ROUTES) {\n            const loadChildren = _collectLoadChildren(provider.useValue);\n            for (const route of loadChildren) {\n                allLazyRoutes.push(parseLazyRoute(route, reflector, module.reference));\n            }\n        }\n    }\n    return allLazyRoutes;\n}\nfunction _collectLoadChildren(routes, target = []) {\n    if (typeof routes === 'string') {\n        target.push(routes);\n    }\n    else if (Array.isArray(routes)) {\n        for (const route of routes) {\n            _collectLoadChildren(route, target);\n        }\n    }\n    else if (routes.loadChildren) {\n        _collectLoadChildren(routes.loadChildren, target);\n    }\n    else if (routes.children) {\n        _collectLoadChildren(routes.children, target);\n    }\n    return target;\n}\nfunction parseLazyRoute(route, reflector, module) {\n    const [routePath, routeName] = route.split('#');\n    const referencedModule = reflector.resolveExternalReference({\n        moduleName: routePath,\n        name: routeName,\n    }, module ? module.filePath : undefined);\n    return { route: route, module: module || referencedModule, referencedModule };\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst TS = /^(?!.*\\.d\\.ts$).*\\.ts$/;\nclass ResolvedStaticSymbol {\n    constructor(symbol, metadata) {\n        this.symbol = symbol;\n        this.metadata = metadata;\n    }\n}\nconst SUPPORTED_SCHEMA_VERSION = 4;\n/**\n * This class is responsible for loading metadata per symbol,\n * and normalizing references between symbols.\n *\n * Internally, it only uses symbols without members,\n * and deduces the values for symbols with members based\n * on these symbols.\n */\nclass StaticSymbolResolver {\n    constructor(host, staticSymbolCache, summaryResolver, errorRecorder) {\n        this.host = host;\n        this.staticSymbolCache = staticSymbolCache;\n        this.summaryResolver = summaryResolver;\n        this.errorRecorder = errorRecorder;\n        this.metadataCache = new Map();\n        // Note: this will only contain StaticSymbols without members!\n        this.resolvedSymbols = new Map();\n        this.resolvedFilePaths = new Set();\n        // Note: this will only contain StaticSymbols without members!\n        this.importAs = new Map();\n        this.symbolResourcePaths = new Map();\n        this.symbolFromFile = new Map();\n        this.knownFileNameToModuleNames = new Map();\n    }\n    resolveSymbol(staticSymbol) {\n        if (staticSymbol.members.length > 0) {\n            return this._resolveSymbolMembers(staticSymbol);\n        }\n        // Note: always ask for a summary first,\n        // as we might have read shallow metadata via a .d.ts file\n        // for the symbol.\n        const resultFromSummary = this._resolveSymbolFromSummary(staticSymbol);\n        if (resultFromSummary) {\n            return resultFromSummary;\n        }\n        const resultFromCache = this.resolvedSymbols.get(staticSymbol);\n        if (resultFromCache) {\n            return resultFromCache;\n        }\n        // Note: Some users use libraries that were not compiled with ngc, i.e. they don't\n        // have summaries, only .d.ts files. So we always need to check both, the summary\n        // and metadata.\n        this._createSymbolsOf(staticSymbol.filePath);\n        return this.resolvedSymbols.get(staticSymbol);\n    }\n    /**\n     * getImportAs produces a symbol that can be used to import the given symbol.\n     * The import might be different than the symbol if the symbol is exported from\n     * a library with a summary; in which case we want to import the symbol from the\n     * ngfactory re-export instead of directly to avoid introducing a direct dependency\n     * on an otherwise indirect dependency.\n     *\n     * @param staticSymbol the symbol for which to generate a import symbol\n     */\n    getImportAs(staticSymbol, useSummaries = true) {\n        if (staticSymbol.members.length) {\n            const baseSymbol = this.getStaticSymbol(staticSymbol.filePath, staticSymbol.name);\n            const baseImportAs = this.getImportAs(baseSymbol, useSummaries);\n            return baseImportAs ?\n                this.getStaticSymbol(baseImportAs.filePath, baseImportAs.name, staticSymbol.members) :\n                null;\n        }\n        const summarizedFileName = stripSummaryForJitFileSuffix(staticSymbol.filePath);\n        if (summarizedFileName !== staticSymbol.filePath) {\n            const summarizedName = stripSummaryForJitNameSuffix(staticSymbol.name);\n            const baseSymbol = this.getStaticSymbol(summarizedFileName, summarizedName, staticSymbol.members);\n            const baseImportAs = this.getImportAs(baseSymbol, useSummaries);\n            return baseImportAs ?\n                this.getStaticSymbol(summaryForJitFileName(baseImportAs.filePath), summaryForJitName(baseImportAs.name), baseSymbol.members) :\n                null;\n        }\n        let result = (useSummaries && this.summaryResolver.getImportAs(staticSymbol)) || null;\n        if (!result) {\n            result = this.importAs.get(staticSymbol);\n        }\n        return result;\n    }\n    /**\n     * getResourcePath produces the path to the original location of the symbol and should\n     * be used to determine the relative location of resource references recorded in\n     * symbol metadata.\n     */\n    getResourcePath(staticSymbol) {\n        return this.symbolResourcePaths.get(staticSymbol) || staticSymbol.filePath;\n    }\n    /**\n     * getTypeArity returns the number of generic type parameters the given symbol\n     * has. If the symbol is not a type the result is null.\n     */\n    getTypeArity(staticSymbol) {\n        // If the file is a factory/ngsummary file, don't resolve the symbol as doing so would\n        // cause the metadata for an factory/ngsummary file to be loaded which doesn't exist.\n        // All references to generated classes must include the correct arity whenever\n        // generating code.\n        if (isGeneratedFile(staticSymbol.filePath)) {\n            return null;\n        }\n        let resolvedSymbol = unwrapResolvedMetadata(this.resolveSymbol(staticSymbol));\n        while (resolvedSymbol && resolvedSymbol.metadata instanceof StaticSymbol) {\n            resolvedSymbol = unwrapResolvedMetadata(this.resolveSymbol(resolvedSymbol.metadata));\n        }\n        return (resolvedSymbol && resolvedSymbol.metadata && resolvedSymbol.metadata.arity) || null;\n    }\n    getKnownModuleName(filePath) {\n        return this.knownFileNameToModuleNames.get(filePath) || null;\n    }\n    recordImportAs(sourceSymbol, targetSymbol) {\n        sourceSymbol.assertNoMembers();\n        targetSymbol.assertNoMembers();\n        this.importAs.set(sourceSymbol, targetSymbol);\n    }\n    recordModuleNameForFileName(fileName, moduleName) {\n        this.knownFileNameToModuleNames.set(fileName, moduleName);\n    }\n    /**\n     * Invalidate all information derived from the given file.\n     *\n     * @param fileName the file to invalidate\n     */\n    invalidateFile(fileName) {\n        this.metadataCache.delete(fileName);\n        this.resolvedFilePaths.delete(fileName);\n        const symbols = this.symbolFromFile.get(fileName);\n        if (symbols) {\n            this.symbolFromFile.delete(fileName);\n            for (const symbol of symbols) {\n                this.resolvedSymbols.delete(symbol);\n                this.importAs.delete(symbol);\n                this.symbolResourcePaths.delete(symbol);\n            }\n        }\n    }\n    /** @internal */\n    ignoreErrorsFor(cb) {\n        const recorder = this.errorRecorder;\n        this.errorRecorder = () => { };\n        try {\n            return cb();\n        }\n        finally {\n            this.errorRecorder = recorder;\n        }\n    }\n    _resolveSymbolMembers(staticSymbol) {\n        const members = staticSymbol.members;\n        const baseResolvedSymbol = this.resolveSymbol(this.getStaticSymbol(staticSymbol.filePath, staticSymbol.name));\n        if (!baseResolvedSymbol) {\n            return null;\n        }\n        let baseMetadata = unwrapResolvedMetadata(baseResolvedSymbol.metadata);\n        if (baseMetadata instanceof StaticSymbol) {\n            return new ResolvedStaticSymbol(staticSymbol, this.getStaticSymbol(baseMetadata.filePath, baseMetadata.name, members));\n        }\n        else if (baseMetadata && baseMetadata.__symbolic === 'class') {\n            if (baseMetadata.statics && members.length === 1) {\n                return new ResolvedStaticSymbol(staticSymbol, baseMetadata.statics[members[0]]);\n            }\n        }\n        else {\n            let value = baseMetadata;\n            for (let i = 0; i < members.length && value; i++) {\n                value = value[members[i]];\n            }\n            return new ResolvedStaticSymbol(staticSymbol, value);\n        }\n        return null;\n    }\n    _resolveSymbolFromSummary(staticSymbol) {\n        const summary = this.summaryResolver.resolveSummary(staticSymbol);\n        return summary ? new ResolvedStaticSymbol(staticSymbol, summary.metadata) : null;\n    }\n    /**\n     * getStaticSymbol produces a Type whose metadata is known but whose implementation is not loaded.\n     * All types passed to the StaticResolver should be pseudo-types returned by this method.\n     *\n     * @param declarationFile the absolute path of the file where the symbol is declared\n     * @param name the name of the type.\n     * @param members a symbol for a static member of the named type\n     */\n    getStaticSymbol(declarationFile, name, members) {\n        return this.staticSymbolCache.get(declarationFile, name, members);\n    }\n    /**\n     * hasDecorators checks a file's metadata for the presence of decorators without evaluating the\n     * metadata.\n     *\n     * @param filePath the absolute path to examine for decorators.\n     * @returns true if any class in the file has a decorator.\n     */\n    hasDecorators(filePath) {\n        const metadata = this.getModuleMetadata(filePath);\n        if (metadata['metadata']) {\n            return Object.keys(metadata['metadata']).some((metadataKey) => {\n                const entry = metadata['metadata'][metadataKey];\n                return entry && entry.__symbolic === 'class' && entry.decorators;\n            });\n        }\n        return false;\n    }\n    getSymbolsOf(filePath) {\n        const summarySymbols = this.summaryResolver.getSymbolsOf(filePath);\n        if (summarySymbols) {\n            return summarySymbols;\n        }\n        // Note: Some users use libraries that were not compiled with ngc, i.e. they don't\n        // have summaries, only .d.ts files, but `summaryResolver.isLibraryFile` returns true.\n        this._createSymbolsOf(filePath);\n        const metadataSymbols = [];\n        this.resolvedSymbols.forEach((resolvedSymbol) => {\n            if (resolvedSymbol.symbol.filePath === filePath) {\n                metadataSymbols.push(resolvedSymbol.symbol);\n            }\n        });\n        return metadataSymbols;\n    }\n    _createSymbolsOf(filePath) {\n        if (this.resolvedFilePaths.has(filePath)) {\n            return;\n        }\n        this.resolvedFilePaths.add(filePath);\n        const resolvedSymbols = [];\n        const metadata = this.getModuleMetadata(filePath);\n        if (metadata['importAs']) {\n            // Index bundle indices should use the importAs module name defined\n            // in the bundle.\n            this.knownFileNameToModuleNames.set(filePath, metadata['importAs']);\n        }\n        // handle the symbols in one of the re-export location\n        if (metadata['exports']) {\n            for (const moduleExport of metadata['exports']) {\n                // handle the symbols in the list of explicitly re-exported symbols.\n                if (moduleExport.export) {\n                    moduleExport.export.forEach((exportSymbol) => {\n                        let symbolName;\n                        if (typeof exportSymbol === 'string') {\n                            symbolName = exportSymbol;\n                        }\n                        else {\n                            symbolName = exportSymbol.as;\n                        }\n                        symbolName = unescapeIdentifier(symbolName);\n                        let symName = symbolName;\n                        if (typeof exportSymbol !== 'string') {\n                            symName = unescapeIdentifier(exportSymbol.name);\n                        }\n                        const resolvedModule = this.resolveModule(moduleExport.from, filePath);\n                        if (resolvedModule) {\n                            const targetSymbol = this.getStaticSymbol(resolvedModule, symName);\n                            const sourceSymbol = this.getStaticSymbol(filePath, symbolName);\n                            resolvedSymbols.push(this.createExport(sourceSymbol, targetSymbol));\n                        }\n                    });\n                }\n                else {\n                    // handle the symbols via export * directives.\n                    const resolvedModule = this.resolveModule(moduleExport.from, filePath);\n                    if (resolvedModule) {\n                        const nestedExports = this.getSymbolsOf(resolvedModule);\n                        nestedExports.forEach((targetSymbol) => {\n                            const sourceSymbol = this.getStaticSymbol(filePath, targetSymbol.name);\n                            resolvedSymbols.push(this.createExport(sourceSymbol, targetSymbol));\n                        });\n                    }\n                }\n            }\n        }\n        // handle the actual metadata. Has to be after the exports\n        // as there might be collisions in the names, and we want the symbols\n        // of the current module to win ofter reexports.\n        if (metadata['metadata']) {\n            // handle direct declarations of the symbol\n            const topLevelSymbolNames = new Set(Object.keys(metadata['metadata']).map(unescapeIdentifier));\n            const origins = metadata['origins'] || {};\n            Object.keys(metadata['metadata']).forEach((metadataKey) => {\n                const symbolMeta = metadata['metadata'][metadataKey];\n                const name = unescapeIdentifier(metadataKey);\n                const symbol = this.getStaticSymbol(filePath, name);\n                const origin = origins.hasOwnProperty(metadataKey) && origins[metadataKey];\n                if (origin) {\n                    // If the symbol is from a bundled index, use the declaration location of the\n                    // symbol so relative references (such as './my.html') will be calculated\n                    // correctly.\n                    const originFilePath = this.resolveModule(origin, filePath);\n                    if (!originFilePath) {\n                        this.reportError(new Error(`Couldn't resolve original symbol for ${origin} from ${this.host.getOutputName(filePath)}`));\n                    }\n                    else {\n                        this.symbolResourcePaths.set(symbol, originFilePath);\n                    }\n                }\n                resolvedSymbols.push(this.createResolvedSymbol(symbol, filePath, topLevelSymbolNames, symbolMeta));\n            });\n        }\n        resolvedSymbols.forEach((resolvedSymbol) => this.resolvedSymbols.set(resolvedSymbol.symbol, resolvedSymbol));\n        this.symbolFromFile.set(filePath, resolvedSymbols.map(resolvedSymbol => resolvedSymbol.symbol));\n    }\n    createResolvedSymbol(sourceSymbol, topLevelPath, topLevelSymbolNames, metadata) {\n        // For classes that don't have Angular summaries / metadata,\n        // we only keep their arity, but nothing else\n        // (e.g. their constructor parameters).\n        // We do this to prevent introducing deep imports\n        // as we didn't generate .ngfactory.ts files with proper reexports.\n        const isTsFile = TS.test(sourceSymbol.filePath);\n        if (this.summaryResolver.isLibraryFile(sourceSymbol.filePath) && !isTsFile && metadata &&\n            metadata['__symbolic'] === 'class') {\n            const transformedMeta = { __symbolic: 'class', arity: metadata.arity };\n            return new ResolvedStaticSymbol(sourceSymbol, transformedMeta);\n        }\n        let _originalFileMemo;\n        const getOriginalName = () => {\n            if (!_originalFileMemo) {\n                // Guess what the original file name is from the reference. If it has a `.d.ts` extension\n                // replace it with `.ts`. If it already has `.ts` just leave it in place. If it doesn't have\n                // .ts or .d.ts, append `.ts'. Also, if it is in `node_modules`, trim the `node_module`\n                // location as it is not important to finding the file.\n                _originalFileMemo =\n                    this.host.getOutputName(topLevelPath.replace(/((\\.ts)|(\\.d\\.ts)|)$/, '.ts')\n                        .replace(/^.*node_modules[/\\\\]/, ''));\n            }\n            return _originalFileMemo;\n        };\n        const self = this;\n        class ReferenceTransformer extends ValueTransformer {\n            visitStringMap(map, functionParams) {\n                const symbolic = map['__symbolic'];\n                if (symbolic === 'function') {\n                    const oldLen = functionParams.length;\n                    functionParams.push(...(map['parameters'] || []));\n                    const result = super.visitStringMap(map, functionParams);\n                    functionParams.length = oldLen;\n                    return result;\n                }\n                else if (symbolic === 'reference') {\n                    const module = map['module'];\n                    const name = map['name'] ? unescapeIdentifier(map['name']) : map['name'];\n                    if (!name) {\n                        return null;\n                    }\n                    let filePath;\n                    if (module) {\n                        filePath = self.resolveModule(module, sourceSymbol.filePath);\n                        if (!filePath) {\n                            return {\n                                __symbolic: 'error',\n                                message: `Could not resolve ${module} relative to ${self.host.getMetadataFor(sourceSymbol.filePath)}.`,\n                                line: map['line'],\n                                character: map['character'],\n                                fileName: getOriginalName()\n                            };\n                        }\n                        return {\n                            __symbolic: 'resolved',\n                            symbol: self.getStaticSymbol(filePath, name),\n                            line: map['line'],\n                            character: map['character'],\n                            fileName: getOriginalName()\n                        };\n                    }\n                    else if (functionParams.indexOf(name) >= 0) {\n                        // reference to a function parameter\n                        return { __symbolic: 'reference', name: name };\n                    }\n                    else {\n                        if (topLevelSymbolNames.has(name)) {\n                            return self.getStaticSymbol(topLevelPath, name);\n                        }\n                        // ambient value\n                        null;\n                    }\n                }\n                else if (symbolic === 'error') {\n                    return Object.assign({}, map, { fileName: getOriginalName() });\n                }\n                else {\n                    return super.visitStringMap(map, functionParams);\n                }\n            }\n        }\n        const transformedMeta = visitValue(metadata, new ReferenceTransformer(), []);\n        let unwrappedTransformedMeta = unwrapResolvedMetadata(transformedMeta);\n        if (unwrappedTransformedMeta instanceof StaticSymbol) {\n            return this.createExport(sourceSymbol, unwrappedTransformedMeta);\n        }\n        return new ResolvedStaticSymbol(sourceSymbol, transformedMeta);\n    }\n    createExport(sourceSymbol, targetSymbol) {\n        sourceSymbol.assertNoMembers();\n        targetSymbol.assertNoMembers();\n        if (this.summaryResolver.isLibraryFile(sourceSymbol.filePath) &&\n            this.summaryResolver.isLibraryFile(targetSymbol.filePath)) {\n            // This case is for an ng library importing symbols from a plain ts library\n            // transitively.\n            // Note: We rely on the fact that we discover symbols in the direction\n            // from source files to library files\n            this.importAs.set(targetSymbol, this.getImportAs(sourceSymbol) || sourceSymbol);\n        }\n        return new ResolvedStaticSymbol(sourceSymbol, targetSymbol);\n    }\n    reportError(error, context, path) {\n        if (this.errorRecorder) {\n            this.errorRecorder(error, (context && context.filePath) || path);\n        }\n        else {\n            throw error;\n        }\n    }\n    /**\n     * @param module an absolute path to a module file.\n     */\n    getModuleMetadata(module) {\n        let moduleMetadata = this.metadataCache.get(module);\n        if (!moduleMetadata) {\n            const moduleMetadatas = this.host.getMetadataFor(module);\n            if (moduleMetadatas) {\n                let maxVersion = -1;\n                moduleMetadatas.forEach((md) => {\n                    if (md && md['version'] > maxVersion) {\n                        maxVersion = md['version'];\n                        moduleMetadata = md;\n                    }\n                });\n            }\n            if (!moduleMetadata) {\n                moduleMetadata =\n                    { __symbolic: 'module', version: SUPPORTED_SCHEMA_VERSION, module: module, metadata: {} };\n            }\n            if (moduleMetadata['version'] != SUPPORTED_SCHEMA_VERSION) {\n                const errorMessage = moduleMetadata['version'] == 2 ?\n                    `Unsupported metadata version ${moduleMetadata['version']} for module ${module}. This module should be compiled with a newer version of ngc` :\n                    `Metadata version mismatch for module ${this.host.getOutputName(module)}, found version ${moduleMetadata['version']}, expected ${SUPPORTED_SCHEMA_VERSION}`;\n                this.reportError(new Error(errorMessage));\n            }\n            this.metadataCache.set(module, moduleMetadata);\n        }\n        return moduleMetadata;\n    }\n    getSymbolByModule(module, symbolName, containingFile) {\n        const filePath = this.resolveModule(module, containingFile);\n        if (!filePath) {\n            this.reportError(new Error(`Could not resolve module ${module}${containingFile ? ' relative to ' +\n                this.host.getOutputName(containingFile) : ''}`));\n            return this.getStaticSymbol(`ERROR:${module}`, symbolName);\n        }\n        return this.getStaticSymbol(filePath, symbolName);\n    }\n    resolveModule(module, containingFile) {\n        try {\n            return this.host.moduleNameToFileName(module, containingFile);\n        }\n        catch (e) {\n            console.error(`Could not resolve module '${module}' relative to file ${containingFile}`);\n            this.reportError(e, undefined, containingFile);\n        }\n        return null;\n    }\n}\n// Remove extra underscore from escaped identifier.\n// See https://github.com/Microsoft/TypeScript/blob/master/src/compiler/utilities.ts\nfunction unescapeIdentifier(identifier) {\n    return identifier.startsWith('___') ? identifier.substr(1) : identifier;\n}\nfunction unwrapResolvedMetadata(metadata) {\n    if (metadata && metadata.__symbolic === 'resolved') {\n        return metadata.symbol;\n    }\n    return metadata;\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction serializeSummaries(srcFileName, forJitCtx, summaryResolver, symbolResolver, symbols, types, createExternalSymbolReexports = false) {\n    const toJsonSerializer = new ToJsonSerializer(symbolResolver, summaryResolver, srcFileName);\n    // for symbols, we use everything except for the class metadata itself\n    // (we keep the statics though), as the class metadata is contained in the\n    // CompileTypeSummary.\n    symbols.forEach((resolvedSymbol) => toJsonSerializer.addSummary({ symbol: resolvedSymbol.symbol, metadata: resolvedSymbol.metadata }));\n    // Add type summaries.\n    types.forEach(({ summary, metadata }) => {\n        toJsonSerializer.addSummary({ symbol: summary.type.reference, metadata: undefined, type: summary });\n    });\n    const { json, exportAs } = toJsonSerializer.serialize(createExternalSymbolReexports);\n    if (forJitCtx) {\n        const forJitSerializer = new ForJitSerializer(forJitCtx, symbolResolver, summaryResolver);\n        types.forEach(({ summary, metadata }) => { forJitSerializer.addSourceType(summary, metadata); });\n        toJsonSerializer.unprocessedSymbolSummariesBySymbol.forEach((summary) => {\n            if (summaryResolver.isLibraryFile(summary.symbol.filePath) && summary.type) {\n                forJitSerializer.addLibType(summary.type);\n            }\n        });\n        forJitSerializer.serialize(exportAs);\n    }\n    return { json, exportAs };\n}\nfunction deserializeSummaries(symbolCache, summaryResolver, libraryFileName, json) {\n    const deserializer = new FromJsonDeserializer(symbolCache, summaryResolver);\n    return deserializer.deserialize(libraryFileName, json);\n}\nfunction createForJitStub(outputCtx, reference) {\n    return createSummaryForJitFunction(outputCtx, reference, NULL_EXPR);\n}\nfunction createSummaryForJitFunction(outputCtx, reference, value) {\n    const fnName = summaryForJitName(reference.name);\n    outputCtx.statements.push(fn([], [new ReturnStatement(value)], new ArrayType(DYNAMIC_TYPE)).toDeclStmt(fnName, [\n        StmtModifier.Final, StmtModifier.Exported\n    ]));\n}\nclass ToJsonSerializer extends ValueTransformer {\n    constructor(symbolResolver, summaryResolver, srcFileName) {\n        super();\n        this.symbolResolver = symbolResolver;\n        this.summaryResolver = summaryResolver;\n        this.srcFileName = srcFileName;\n        // Note: This only contains symbols without members.\n        this.symbols = [];\n        this.indexBySymbol = new Map();\n        this.reexportedBy = new Map();\n        // This now contains a `__symbol: number` in the place of\n        // StaticSymbols, but otherwise has the same shape as the original objects.\n        this.processedSummaryBySymbol = new Map();\n        this.processedSummaries = [];\n        this.unprocessedSymbolSummariesBySymbol = new Map();\n        this.moduleName = symbolResolver.getKnownModuleName(srcFileName);\n    }\n    addSummary(summary) {\n        let unprocessedSummary = this.unprocessedSymbolSummariesBySymbol.get(summary.symbol);\n        let processedSummary = this.processedSummaryBySymbol.get(summary.symbol);\n        if (!unprocessedSummary) {\n            unprocessedSummary = { symbol: summary.symbol, metadata: undefined };\n            this.unprocessedSymbolSummariesBySymbol.set(summary.symbol, unprocessedSummary);\n            processedSummary = { symbol: this.processValue(summary.symbol, 0 /* None */) };\n            this.processedSummaries.push(processedSummary);\n            this.processedSummaryBySymbol.set(summary.symbol, processedSummary);\n        }\n        if (!unprocessedSummary.metadata && summary.metadata) {\n            let metadata = summary.metadata || {};\n            if (metadata.__symbolic === 'class') {\n                // For classes, we keep everything except their class decorators.\n                // We need to keep e.g. the ctor args, method names, method decorators\n                // so that the class can be extended in another compilation unit.\n                // We don't keep the class decorators as\n                // 1) they refer to data\n                //   that should not cause a rebuild of downstream compilation units\n                //   (e.g. inline templates of @Component, or @NgModule.declarations)\n                // 2) their data is already captured in TypeSummaries, e.g. DirectiveSummary.\n                const clone = {};\n                Object.keys(metadata).forEach((propName) => {\n                    if (propName !== 'decorators') {\n                        clone[propName] = metadata[propName];\n                    }\n                });\n                metadata = clone;\n            }\n            else if (isCall(metadata)) {\n                if (!isFunctionCall(metadata) && !isMethodCallOnVariable(metadata)) {\n                    // Don't store complex calls as we won't be able to simplify them anyways later on.\n                    metadata = {\n                        __symbolic: 'error',\n                        message: 'Complex function calls are not supported.',\n                    };\n                }\n            }\n            // Note: We need to keep storing ctor calls for e.g.\n            // `export const x = new InjectionToken(...)`\n            unprocessedSummary.metadata = metadata;\n            processedSummary.metadata = this.processValue(metadata, 1 /* ResolveValue */);\n            if (metadata instanceof StaticSymbol &&\n                this.summaryResolver.isLibraryFile(metadata.filePath)) {\n                const declarationSymbol = this.symbols[this.indexBySymbol.get(metadata)];\n                if (!isLoweredSymbol(declarationSymbol.name)) {\n                    // Note: symbols that were introduced during codegen in the user file can have a reexport\n                    // if a user used `export *`. However, we can't rely on this as tsickle will change\n                    // `export *` into named exports, using only the information from the typechecker.\n                    // As we introduce the new symbols after typecheck, Tsickle does not know about them,\n                    // and omits them when expanding `export *`.\n                    // So we have to keep reexporting these symbols manually via .ngfactory files.\n                    this.reexportedBy.set(declarationSymbol, summary.symbol);\n                }\n            }\n        }\n        if (!unprocessedSummary.type && summary.type) {\n            unprocessedSummary.type = summary.type;\n            // Note: We don't add the summaries of all referenced symbols as for the ResolvedSymbols,\n            // as the type summaries already contain the transitive data that they require\n            // (in a minimal way).\n            processedSummary.type = this.processValue(summary.type, 0 /* None */);\n            // except for reexported directives / pipes, so we need to store\n            // their summaries explicitly.\n            if (summary.type.summaryKind === CompileSummaryKind.NgModule) {\n                const ngModuleSummary = summary.type;\n                ngModuleSummary.exportedDirectives.concat(ngModuleSummary.exportedPipes).forEach((id) => {\n                    const symbol = id.reference;\n                    if (this.summaryResolver.isLibraryFile(symbol.filePath) &&\n                        !this.unprocessedSymbolSummariesBySymbol.has(symbol)) {\n                        const summary = this.summaryResolver.resolveSummary(symbol);\n                        if (summary) {\n                            this.addSummary(summary);\n                        }\n                    }\n                });\n            }\n        }\n    }\n    /**\n     * @param createExternalSymbolReexports Whether external static symbols should be re-exported.\n     * This can be enabled if external symbols should be re-exported by the current module in\n     * order to avoid dynamically generated module dependencies which can break strict dependency\n     * enforcements (as in Google3). Read more here: https://github.com/angular/angular/issues/25644\n     */\n    serialize(createExternalSymbolReexports) {\n        const exportAs = [];\n        const json = JSON.stringify({\n            moduleName: this.moduleName,\n            summaries: this.processedSummaries,\n            symbols: this.symbols.map((symbol, index) => {\n                symbol.assertNoMembers();\n                let importAs = undefined;\n                if (this.summaryResolver.isLibraryFile(symbol.filePath)) {\n                    const reexportSymbol = this.reexportedBy.get(symbol);\n                    if (reexportSymbol) {\n                        // In case the given external static symbol is already manually exported by the\n                        // user, we just proxy the external static symbol reference to the manual export.\n                        // This ensures that the AOT compiler imports the external symbol through the\n                        // user export and does not introduce another dependency which is not needed.\n                        importAs = this.indexBySymbol.get(reexportSymbol);\n                    }\n                    else if (createExternalSymbolReexports) {\n                        // In this case, the given external static symbol is *not* manually exported by\n                        // the user, and we manually create a re-export in the factory file so that we\n                        // don't introduce another module dependency. This is useful when running within\n                        // Bazel so that the AOT compiler does not introduce any module dependencies\n                        // which can break the strict dependency enforcement. (e.g. as in Google3)\n                        // Read more about this here: https://github.com/angular/angular/issues/25644\n                        const summary = this.unprocessedSymbolSummariesBySymbol.get(symbol);\n                        if (!summary || !summary.metadata || summary.metadata.__symbolic !== 'interface') {\n                            importAs = `${symbol.name}_${index}`;\n                            exportAs.push({ symbol, exportAs: importAs });\n                        }\n                    }\n                }\n                return {\n                    __symbol: index,\n                    name: symbol.name,\n                    filePath: this.summaryResolver.toSummaryFileName(symbol.filePath, this.srcFileName),\n                    importAs: importAs\n                };\n            })\n        });\n        return { json, exportAs };\n    }\n    processValue(value, flags) {\n        return visitValue(value, this, flags);\n    }\n    visitOther(value, context) {\n        if (value instanceof StaticSymbol) {\n            let baseSymbol = this.symbolResolver.getStaticSymbol(value.filePath, value.name);\n            const index = this.visitStaticSymbol(baseSymbol, context);\n            return { __symbol: index, members: value.members };\n        }\n    }\n    /**\n     * Strip line and character numbers from ngsummaries.\n     * Emitting them causes white spaces changes to retrigger upstream\n     * recompilations in bazel.\n     * TODO: find out a way to have line and character numbers in errors without\n     * excessive recompilation in bazel.\n     */\n    visitStringMap(map, context) {\n        if (map['__symbolic'] === 'resolved') {\n            return visitValue(map['symbol'], this, context);\n        }\n        if (map['__symbolic'] === 'error') {\n            delete map['line'];\n            delete map['character'];\n        }\n        return super.visitStringMap(map, context);\n    }\n    /**\n     * Returns null if the options.resolveValue is true, and the summary for the symbol\n     * resolved to a type or could not be resolved.\n     */\n    visitStaticSymbol(baseSymbol, flags) {\n        let index = this.indexBySymbol.get(baseSymbol);\n        let summary = null;\n        if (flags & 1 /* ResolveValue */ &&\n            this.summaryResolver.isLibraryFile(baseSymbol.filePath)) {\n            if (this.unprocessedSymbolSummariesBySymbol.has(baseSymbol)) {\n                // the summary for this symbol was already added\n                // -> nothing to do.\n                return index;\n            }\n            summary = this.loadSummary(baseSymbol);\n            if (summary && summary.metadata instanceof StaticSymbol) {\n                // The summary is a reexport\n                index = this.visitStaticSymbol(summary.metadata, flags);\n                // reset the summary as it is just a reexport, so we don't want to store it.\n                summary = null;\n            }\n        }\n        else if (index != null) {\n            // Note: == on purpose to compare with undefined!\n            // No summary and the symbol is already added -> nothing to do.\n            return index;\n        }\n        // Note: == on purpose to compare with undefined!\n        if (index == null) {\n            index = this.symbols.length;\n            this.symbols.push(baseSymbol);\n        }\n        this.indexBySymbol.set(baseSymbol, index);\n        if (summary) {\n            this.addSummary(summary);\n        }\n        return index;\n    }\n    loadSummary(symbol) {\n        let summary = this.summaryResolver.resolveSummary(symbol);\n        if (!summary) {\n            // some symbols might originate from a plain typescript library\n            // that just exported .d.ts and .metadata.json files, i.e. where no summary\n            // files were created.\n            const resolvedSymbol = this.symbolResolver.resolveSymbol(symbol);\n            if (resolvedSymbol) {\n                summary = { symbol: resolvedSymbol.symbol, metadata: resolvedSymbol.metadata };\n            }\n        }\n        return summary;\n    }\n}\nclass ForJitSerializer {\n    constructor(outputCtx, symbolResolver, summaryResolver) {\n        this.outputCtx = outputCtx;\n        this.symbolResolver = symbolResolver;\n        this.summaryResolver = summaryResolver;\n        this.data = [];\n    }\n    addSourceType(summary, metadata) {\n        this.data.push({ summary, metadata, isLibrary: false });\n    }\n    addLibType(summary) {\n        this.data.push({ summary, metadata: null, isLibrary: true });\n    }\n    serialize(exportAsArr) {\n        const exportAsBySymbol = new Map();\n        for (const { symbol, exportAs } of exportAsArr) {\n            exportAsBySymbol.set(symbol, exportAs);\n        }\n        const ngModuleSymbols = new Set();\n        for (const { summary, metadata, isLibrary } of this.data) {\n            if (summary.summaryKind === CompileSummaryKind.NgModule) {\n                // collect the symbols that refer to NgModule classes.\n                // Note: we can't just rely on `summary.type.summaryKind` to determine this as\n                // we don't add the summaries of all referenced symbols when we serialize type summaries.\n                // See serializeSummaries for details.\n                ngModuleSymbols.add(summary.type.reference);\n                const modSummary = summary;\n                for (const mod of modSummary.modules) {\n                    ngModuleSymbols.add(mod.reference);\n                }\n            }\n            if (!isLibrary) {\n                const fnName = summaryForJitName(summary.type.reference.name);\n                createSummaryForJitFunction(this.outputCtx, summary.type.reference, this.serializeSummaryWithDeps(summary, metadata));\n            }\n        }\n        ngModuleSymbols.forEach((ngModuleSymbol) => {\n            if (this.summaryResolver.isLibraryFile(ngModuleSymbol.filePath)) {\n                let exportAs = exportAsBySymbol.get(ngModuleSymbol) || ngModuleSymbol.name;\n                const jitExportAsName = summaryForJitName(exportAs);\n                this.outputCtx.statements.push(variable(jitExportAsName)\n                    .set(this.serializeSummaryRef(ngModuleSymbol))\n                    .toDeclStmt(null, [StmtModifier.Exported]));\n            }\n        });\n    }\n    serializeSummaryWithDeps(summary, metadata) {\n        const expressions = [this.serializeSummary(summary)];\n        let providers = [];\n        if (metadata instanceof CompileNgModuleMetadata) {\n            expressions.push(...\n            // For directives / pipes, we only add the declared ones,\n            // and rely on transitively importing NgModules to get the transitive\n            // summaries.\n            metadata.declaredDirectives.concat(metadata.declaredPipes)\n                .map(type => type.reference)\n                // For modules,\n                // we also add the summaries for modules\n                // from libraries.\n                // This is ok as we produce reexports for all transitive modules.\n                .concat(metadata.transitiveModule.modules.map(type => type.reference)\n                .filter(ref => ref !== metadata.type.reference))\n                .map((ref) => this.serializeSummaryRef(ref)));\n            // Note: We don't use `NgModuleSummary.providers`, as that one is transitive,\n            // and we already have transitive modules.\n            providers = metadata.providers;\n        }\n        else if (summary.summaryKind === CompileSummaryKind.Directive) {\n            const dirSummary = summary;\n            providers = dirSummary.providers.concat(dirSummary.viewProviders);\n        }\n        // Note: We can't just refer to the `ngsummary.ts` files for `useClass` providers (as we do for\n        // declaredDirectives / declaredPipes), as we allow\n        // providers without ctor arguments to skip the `@Injectable` decorator,\n        // i.e. we didn't generate .ngsummary.ts files for these.\n        expressions.push(...providers.filter(provider => !!provider.useClass).map(provider => this.serializeSummary({\n            summaryKind: CompileSummaryKind.Injectable, type: provider.useClass\n        })));\n        return literalArr(expressions);\n    }\n    serializeSummaryRef(typeSymbol) {\n        const jitImportedSymbol = this.symbolResolver.getStaticSymbol(summaryForJitFileName(typeSymbol.filePath), summaryForJitName(typeSymbol.name));\n        return this.outputCtx.importExpr(jitImportedSymbol);\n    }\n    serializeSummary(data) {\n        const outputCtx = this.outputCtx;\n        class Transformer {\n            visitArray(arr, context) {\n                return literalArr(arr.map(entry => visitValue(entry, this, context)));\n            }\n            visitStringMap(map, context) {\n                return new LiteralMapExpr(Object.keys(map).map((key) => new LiteralMapEntry(key, visitValue(map[key], this, context), false)));\n            }\n            visitPrimitive(value, context) { return literal(value); }\n            visitOther(value, context) {\n                if (value instanceof StaticSymbol) {\n                    return outputCtx.importExpr(value);\n                }\n                else {\n                    throw new Error(`Illegal State: Encountered value ${value}`);\n                }\n            }\n        }\n        return visitValue(data, new Transformer(), null);\n    }\n}\nclass FromJsonDeserializer extends ValueTransformer {\n    constructor(symbolCache, summaryResolver) {\n        super();\n        this.symbolCache = symbolCache;\n        this.summaryResolver = summaryResolver;\n    }\n    deserialize(libraryFileName, json) {\n        const data = JSON.parse(json);\n        const allImportAs = [];\n        this.symbols = data.symbols.map((serializedSymbol) => this.symbolCache.get(this.summaryResolver.fromSummaryFileName(serializedSymbol.filePath, libraryFileName), serializedSymbol.name));\n        data.symbols.forEach((serializedSymbol, index) => {\n            const symbol = this.symbols[index];\n            const importAs = serializedSymbol.importAs;\n            if (typeof importAs === 'number') {\n                allImportAs.push({ symbol, importAs: this.symbols[importAs] });\n            }\n            else if (typeof importAs === 'string') {\n                allImportAs.push({ symbol, importAs: this.symbolCache.get(ngfactoryFilePath(libraryFileName), importAs) });\n            }\n        });\n        const summaries = visitValue(data.summaries, this, null);\n        return { moduleName: data.moduleName, summaries, importAs: allImportAs };\n    }\n    visitStringMap(map, context) {\n        if ('__symbol' in map) {\n            const baseSymbol = this.symbols[map['__symbol']];\n            const members = map['members'];\n            return members.length ? this.symbolCache.get(baseSymbol.filePath, baseSymbol.name, members) :\n                baseSymbol;\n        }\n        else {\n            return super.visitStringMap(map, context);\n        }\n    }\n}\nfunction isCall(metadata) {\n    return metadata && metadata.__symbolic === 'call';\n}\nfunction isFunctionCall(metadata) {\n    return isCall(metadata) && unwrapResolvedMetadata(metadata.expression) instanceof StaticSymbol;\n}\nfunction isMethodCallOnVariable(metadata) {\n    return isCall(metadata) && metadata.expression && metadata.expression.__symbolic === 'select' &&\n        unwrapResolvedMetadata(metadata.expression.expression) instanceof StaticSymbol;\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nclass AotCompiler {\n    constructor(_config, _options, _host, reflector, _metadataResolver, _templateParser, _styleCompiler, _viewCompiler, _typeCheckCompiler, _ngModuleCompiler, _injectableCompiler, _outputEmitter, _summaryResolver, _symbolResolver) {\n        this._config = _config;\n        this._options = _options;\n        this._host = _host;\n        this.reflector = reflector;\n        this._metadataResolver = _metadataResolver;\n        this._templateParser = _templateParser;\n        this._styleCompiler = _styleCompiler;\n        this._viewCompiler = _viewCompiler;\n        this._typeCheckCompiler = _typeCheckCompiler;\n        this._ngModuleCompiler = _ngModuleCompiler;\n        this._injectableCompiler = _injectableCompiler;\n        this._outputEmitter = _outputEmitter;\n        this._summaryResolver = _summaryResolver;\n        this._symbolResolver = _symbolResolver;\n        this._templateAstCache = new Map();\n        this._analyzedFiles = new Map();\n        this._analyzedFilesForInjectables = new Map();\n    }\n    clearCache() { this._metadataResolver.clearCache(); }\n    analyzeModulesSync(rootFiles) {\n        const analyzeResult = analyzeAndValidateNgModules(rootFiles, this._host, this._symbolResolver, this._metadataResolver);\n        analyzeResult.ngModules.forEach(ngModule => this._metadataResolver.loadNgModuleDirectiveAndPipeMetadata(ngModule.type.reference, true));\n        return analyzeResult;\n    }\n    analyzeModulesAsync(rootFiles) {\n        const analyzeResult = analyzeAndValidateNgModules(rootFiles, this._host, this._symbolResolver, this._metadataResolver);\n        return Promise\n            .all(analyzeResult.ngModules.map(ngModule => this._metadataResolver.loadNgModuleDirectiveAndPipeMetadata(ngModule.type.reference, false)))\n            .then(() => analyzeResult);\n    }\n    _analyzeFile(fileName) {\n        let analyzedFile = this._analyzedFiles.get(fileName);\n        if (!analyzedFile) {\n            analyzedFile =\n                analyzeFile(this._host, this._symbolResolver, this._metadataResolver, fileName);\n            this._analyzedFiles.set(fileName, analyzedFile);\n        }\n        return analyzedFile;\n    }\n    _analyzeFileForInjectables(fileName) {\n        let analyzedFile = this._analyzedFilesForInjectables.get(fileName);\n        if (!analyzedFile) {\n            analyzedFile = analyzeFileForInjectables(this._host, this._symbolResolver, this._metadataResolver, fileName);\n            this._analyzedFilesForInjectables.set(fileName, analyzedFile);\n        }\n        return analyzedFile;\n    }\n    findGeneratedFileNames(fileName) {\n        const genFileNames = [];\n        const file = this._analyzeFile(fileName);\n        // Make sure we create a .ngfactory if we have a injectable/directive/pipe/NgModule\n        // or a reference to a non source file.\n        // Note: This is overestimating the required .ngfactory files as the real calculation is harder.\n        // Only do this for StubEmitFlags.Basic, as adding a type check block\n        // does not change this file (as we generate type check blocks based on NgModules).\n        if (this._options.allowEmptyCodegenFiles || file.directives.length || file.pipes.length ||\n            file.injectables.length || file.ngModules.length || file.exportsNonSourceFiles) {\n            genFileNames.push(ngfactoryFilePath(file.fileName, true));\n            if (this._options.enableSummariesForJit) {\n                genFileNames.push(summaryForJitFileName(file.fileName, true));\n            }\n        }\n        const fileSuffix = normalizeGenFileSuffix(splitTypescriptSuffix(file.fileName, true)[1]);\n        file.directives.forEach((dirSymbol) => {\n            const compMeta = this._metadataResolver.getNonNormalizedDirectiveMetadata(dirSymbol).metadata;\n            if (!compMeta.isComponent) {\n                return;\n            }\n            // Note: compMeta is a component and therefore template is non null.\n            compMeta.template.styleUrls.forEach((styleUrl) => {\n                const normalizedUrl = this._host.resourceNameToFileName(styleUrl, file.fileName);\n                if (!normalizedUrl) {\n                    throw syntaxError(`Couldn't resolve resource ${styleUrl} relative to ${file.fileName}`);\n                }\n                const needsShim = (compMeta.template.encapsulation ||\n                    this._config.defaultEncapsulation) === ViewEncapsulation.Emulated;\n                genFileNames.push(_stylesModuleUrl(normalizedUrl, needsShim, fileSuffix));\n                if (this._options.allowEmptyCodegenFiles) {\n                    genFileNames.push(_stylesModuleUrl(normalizedUrl, !needsShim, fileSuffix));\n                }\n            });\n        });\n        return genFileNames;\n    }\n    emitBasicStub(genFileName, originalFileName) {\n        const outputCtx = this._createOutputContext(genFileName);\n        if (genFileName.endsWith('.ngfactory.ts')) {\n            if (!originalFileName) {\n                throw new Error(`Assertion error: require the original file for .ngfactory.ts stubs. File: ${genFileName}`);\n            }\n            const originalFile = this._analyzeFile(originalFileName);\n            this._createNgFactoryStub(outputCtx, originalFile, 1 /* Basic */);\n        }\n        else if (genFileName.endsWith('.ngsummary.ts')) {\n            if (this._options.enableSummariesForJit) {\n                if (!originalFileName) {\n                    throw new Error(`Assertion error: require the original file for .ngsummary.ts stubs. File: ${genFileName}`);\n                }\n                const originalFile = this._analyzeFile(originalFileName);\n                _createEmptyStub(outputCtx);\n                originalFile.ngModules.forEach(ngModule => {\n                    // create exports that user code can reference\n                    createForJitStub(outputCtx, ngModule.type.reference);\n                });\n            }\n        }\n        else if (genFileName.endsWith('.ngstyle.ts')) {\n            _createEmptyStub(outputCtx);\n        }\n        // Note: for the stubs, we don't need a property srcFileUrl,\n        // as later on in emitAllImpls we will create the proper GeneratedFiles with the\n        // correct srcFileUrl.\n        // This is good as e.g. for .ngstyle.ts files we can't derive\n        // the url of components based on the genFileUrl.\n        return this._codegenSourceModule('unknown', outputCtx);\n    }\n    emitTypeCheckStub(genFileName, originalFileName) {\n        const originalFile = this._analyzeFile(originalFileName);\n        const outputCtx = this._createOutputContext(genFileName);\n        if (genFileName.endsWith('.ngfactory.ts')) {\n            this._createNgFactoryStub(outputCtx, originalFile, 2 /* TypeCheck */);\n        }\n        return outputCtx.statements.length > 0 ?\n            this._codegenSourceModule(originalFile.fileName, outputCtx) :\n            null;\n    }\n    loadFilesAsync(fileNames, tsFiles) {\n        const files = fileNames.map(fileName => this._analyzeFile(fileName));\n        const loadingPromises = [];\n        files.forEach(file => file.ngModules.forEach(ngModule => loadingPromises.push(this._metadataResolver.loadNgModuleDirectiveAndPipeMetadata(ngModule.type.reference, false))));\n        const analyzedInjectables = tsFiles.map(tsFile => this._analyzeFileForInjectables(tsFile));\n        return Promise.all(loadingPromises).then(_ => ({\n            analyzedModules: mergeAndValidateNgFiles(files),\n            analyzedInjectables: analyzedInjectables,\n        }));\n    }\n    loadFilesSync(fileNames, tsFiles) {\n        const files = fileNames.map(fileName => this._analyzeFile(fileName));\n        files.forEach(file => file.ngModules.forEach(ngModule => this._metadataResolver.loadNgModuleDirectiveAndPipeMetadata(ngModule.type.reference, true)));\n        const analyzedInjectables = tsFiles.map(tsFile => this._analyzeFileForInjectables(tsFile));\n        return {\n            analyzedModules: mergeAndValidateNgFiles(files),\n            analyzedInjectables: analyzedInjectables,\n        };\n    }\n    _createNgFactoryStub(outputCtx, file, emitFlags) {\n        let componentId = 0;\n        file.ngModules.forEach((ngModuleMeta, ngModuleIndex) => {\n            // Note: the code below needs to executed for StubEmitFlags.Basic and StubEmitFlags.TypeCheck,\n            // so we don't change the .ngfactory file too much when adding the type-check block.\n            // create exports that user code can reference\n            this._ngModuleCompiler.createStub(outputCtx, ngModuleMeta.type.reference);\n            // add references to the symbols from the metadata.\n            // These can be used by the type check block for components,\n            // and they also cause TypeScript to include these files into the program too,\n            // which will make them part of the analyzedFiles.\n            const externalReferences = [\n                // Add references that are available from all the modules and imports.\n                ...ngModuleMeta.transitiveModule.directives.map(d => d.reference),\n                ...ngModuleMeta.transitiveModule.pipes.map(d => d.reference),\n                ...ngModuleMeta.importedModules.map(m => m.type.reference),\n                ...ngModuleMeta.exportedModules.map(m => m.type.reference),\n                // Add references that might be inserted by the template compiler.\n                ...this._externalIdentifierReferences([Identifiers.TemplateRef, Identifiers.ElementRef]),\n            ];\n            const externalReferenceVars = new Map();\n            externalReferences.forEach((ref, typeIndex) => {\n                externalReferenceVars.set(ref, `_decl${ngModuleIndex}_${typeIndex}`);\n            });\n            externalReferenceVars.forEach((varName, reference) => {\n                outputCtx.statements.push(variable(varName)\n                    .set(NULL_EXPR.cast(DYNAMIC_TYPE))\n                    .toDeclStmt(expressionType(outputCtx.importExpr(reference, /* typeParams */ null, /* useSummaries */ false))));\n            });\n            if (emitFlags & 2 /* TypeCheck */) {\n                // add the type-check block for all components of the NgModule\n                ngModuleMeta.declaredDirectives.forEach((dirId) => {\n                    const compMeta = this._metadataResolver.getDirectiveMetadata(dirId.reference);\n                    if (!compMeta.isComponent) {\n                        return;\n                    }\n                    componentId++;\n                    this._createTypeCheckBlock(outputCtx, `${compMeta.type.reference.name}_Host_${componentId}`, ngModuleMeta, this._metadataResolver.getHostComponentMetadata(compMeta), [compMeta.type], externalReferenceVars);\n                    this._createTypeCheckBlock(outputCtx, `${compMeta.type.reference.name}_${componentId}`, ngModuleMeta, compMeta, ngModuleMeta.transitiveModule.directives, externalReferenceVars);\n                });\n            }\n        });\n        if (outputCtx.statements.length === 0) {\n            _createEmptyStub(outputCtx);\n        }\n    }\n    _externalIdentifierReferences(references) {\n        const result = [];\n        for (let reference of references) {\n            const token = createTokenForExternalReference(this.reflector, reference);\n            if (token.identifier) {\n                result.push(token.identifier.reference);\n            }\n        }\n        return result;\n    }\n    _createTypeCheckBlock(ctx, componentId, moduleMeta, compMeta, directives, externalReferenceVars) {\n        const { template: parsedTemplate, pipes: usedPipes } = this._parseTemplate(compMeta, moduleMeta, directives);\n        ctx.statements.push(...this._typeCheckCompiler.compileComponent(componentId, compMeta, parsedTemplate, usedPipes, externalReferenceVars, ctx));\n    }\n    emitMessageBundle(analyzeResult, locale) {\n        const errors = [];\n        const htmlParser = new HtmlParser();\n        // TODO(vicb): implicit tags & attributes\n        const messageBundle = new MessageBundle(htmlParser, [], {}, locale);\n        analyzeResult.files.forEach(file => {\n            const compMetas = [];\n            file.directives.forEach(directiveType => {\n                const dirMeta = this._metadataResolver.getDirectiveMetadata(directiveType);\n                if (dirMeta && dirMeta.isComponent) {\n                    compMetas.push(dirMeta);\n                }\n            });\n            compMetas.forEach(compMeta => {\n                const html = compMeta.template.template;\n                // Template URL points to either an HTML or TS file depending on whether\n                // the file is used with `templateUrl:` or `template:`, respectively.\n                const templateUrl = compMeta.template.templateUrl;\n                const interpolationConfig = InterpolationConfig.fromArray(compMeta.template.interpolation);\n                errors.push(...messageBundle.updateFromTemplate(html, templateUrl, interpolationConfig));\n            });\n        });\n        if (errors.length) {\n            throw new Error(errors.map(e => e.toString()).join('\\n'));\n        }\n        return messageBundle;\n    }\n    emitAllPartialModules({ ngModuleByPipeOrDirective, files }, r3Files) {\n        const contextMap = new Map();\n        const getContext = (fileName) => {\n            if (!contextMap.has(fileName)) {\n                contextMap.set(fileName, this._createOutputContext(fileName));\n            }\n            return contextMap.get(fileName);\n        };\n        files.forEach(file => this._compilePartialModule(file.fileName, ngModuleByPipeOrDirective, file.directives, file.pipes, file.ngModules, file.injectables, getContext(file.fileName)));\n        r3Files.forEach(file => this._compileShallowModules(file.fileName, file.shallowModules, getContext(file.fileName)));\n        return Array.from(contextMap.values())\n            .map(context => ({\n            fileName: context.genFilePath,\n            statements: [...context.constantPool.statements, ...context.statements],\n        }));\n    }\n    _compileShallowModules(fileName, shallowModules, context) {\n        shallowModules.forEach(module => compileNgModuleFromRender2(context, module, this._injectableCompiler));\n    }\n    _compilePartialModule(fileName, ngModuleByPipeOrDirective, directives, pipes, ngModules, injectables, context) {\n        const errors = [];\n        const schemaRegistry = new DomElementSchemaRegistry();\n        const hostBindingParser = new BindingParser(this._templateParser.expressionParser, DEFAULT_INTERPOLATION_CONFIG, schemaRegistry, [], errors);\n        // Process all components and directives\n        directives.forEach(directiveType => {\n            const directiveMetadata = this._metadataResolver.getDirectiveMetadata(directiveType);\n            if (directiveMetadata.isComponent) {\n                const module = ngModuleByPipeOrDirective.get(directiveType);\n                module ||\n                    error(`Cannot determine the module for component '${identifierName(directiveMetadata.type)}'`);\n                let htmlAst = directiveMetadata.template.htmlAst;\n                const preserveWhitespaces = directiveMetadata.template.preserveWhitespaces;\n                if (!preserveWhitespaces) {\n                    htmlAst = removeWhitespaces(htmlAst);\n                }\n                const render3Ast = htmlAstToRender3Ast(htmlAst.rootNodes, hostBindingParser);\n                // Map of StaticType by directive selectors\n                const directiveTypeBySel = new Map();\n                const directives = module.transitiveModule.directives.map(dir => this._metadataResolver.getDirectiveSummary(dir.reference));\n                directives.forEach(directive => {\n                    if (directive.selector) {\n                        directiveTypeBySel.set(directive.selector, directive.type.reference);\n                    }\n                });\n                // Map of StaticType by pipe names\n                const pipeTypeByName = new Map();\n                const pipes = module.transitiveModule.pipes.map(pipe => this._metadataResolver.getPipeSummary(pipe.reference));\n                pipes.forEach(pipe => { pipeTypeByName.set(pipe.name, pipe.type.reference); });\n                compileComponentFromRender2(context, directiveMetadata, render3Ast, this.reflector, hostBindingParser, directiveTypeBySel, pipeTypeByName);\n            }\n            else {\n                compileDirectiveFromRender2(context, directiveMetadata, this.reflector, hostBindingParser);\n            }\n        });\n        pipes.forEach(pipeType => {\n            const pipeMetadata = this._metadataResolver.getPipeMetadata(pipeType);\n            if (pipeMetadata) {\n                compilePipeFromRender2(context, pipeMetadata, this.reflector);\n            }\n        });\n        injectables.forEach(injectable => this._injectableCompiler.compile(injectable, context));\n    }\n    emitAllPartialModules2(files) {\n        // Using reduce like this is a select many pattern (where map is a select pattern)\n        return files.reduce((r, file) => {\n            r.push(...this._emitPartialModule2(file.fileName, file.injectables));\n            return r;\n        }, []);\n    }\n    _emitPartialModule2(fileName, injectables) {\n        const context = this._createOutputContext(fileName);\n        injectables.forEach(injectable => this._injectableCompiler.compile(injectable, context));\n        if (context.statements && context.statements.length > 0) {\n            return [{ fileName, statements: [...context.constantPool.statements, ...context.statements] }];\n        }\n        return [];\n    }\n    emitAllImpls(analyzeResult) {\n        const { ngModuleByPipeOrDirective, files } = analyzeResult;\n        const sourceModules = files.map(file => this._compileImplFile(file.fileName, ngModuleByPipeOrDirective, file.directives, file.pipes, file.ngModules, file.injectables));\n        return flatten(sourceModules);\n    }\n    _compileImplFile(srcFileUrl, ngModuleByPipeOrDirective, directives, pipes, ngModules, injectables) {\n        const fileSuffix = normalizeGenFileSuffix(splitTypescriptSuffix(srcFileUrl, true)[1]);\n        const generatedFiles = [];\n        const outputCtx = this._createOutputContext(ngfactoryFilePath(srcFileUrl, true));\n        generatedFiles.push(...this._createSummary(srcFileUrl, directives, pipes, ngModules, injectables, outputCtx));\n        // compile all ng modules\n        ngModules.forEach((ngModuleMeta) => this._compileModule(outputCtx, ngModuleMeta));\n        // compile components\n        directives.forEach((dirType) => {\n            const compMeta = this._metadataResolver.getDirectiveMetadata(dirType);\n            if (!compMeta.isComponent) {\n                return;\n            }\n            const ngModule = ngModuleByPipeOrDirective.get(dirType);\n            if (!ngModule) {\n                throw new Error(`Internal Error: cannot determine the module for component ${identifierName(compMeta.type)}!`);\n            }\n            // compile styles\n            const componentStylesheet = this._styleCompiler.compileComponent(outputCtx, compMeta);\n            // Note: compMeta is a component and therefore template is non null.\n            compMeta.template.externalStylesheets.forEach((stylesheetMeta) => {\n                // Note: fill non shim and shim style files as they might\n                // be shared by component with and without ViewEncapsulation.\n                const shim = this._styleCompiler.needsStyleShim(compMeta);\n                generatedFiles.push(this._codegenStyles(srcFileUrl, compMeta, stylesheetMeta, shim, fileSuffix));\n                if (this._options.allowEmptyCodegenFiles) {\n                    generatedFiles.push(this._codegenStyles(srcFileUrl, compMeta, stylesheetMeta, !shim, fileSuffix));\n                }\n            });\n            // compile components\n            const compViewVars = this._compileComponent(outputCtx, compMeta, ngModule, ngModule.transitiveModule.directives, componentStylesheet, fileSuffix);\n            this._compileComponentFactory(outputCtx, compMeta, ngModule, fileSuffix);\n        });\n        if (outputCtx.statements.length > 0 || this._options.allowEmptyCodegenFiles) {\n            const srcModule = this._codegenSourceModule(srcFileUrl, outputCtx);\n            generatedFiles.unshift(srcModule);\n        }\n        return generatedFiles;\n    }\n    _createSummary(srcFileName, directives, pipes, ngModules, injectables, ngFactoryCtx) {\n        const symbolSummaries = this._symbolResolver.getSymbolsOf(srcFileName)\n            .map(symbol => this._symbolResolver.resolveSymbol(symbol));\n        const typeData = [\n            ...ngModules.map(meta => ({\n                summary: this._metadataResolver.getNgModuleSummary(meta.type.reference),\n                metadata: this._metadataResolver.getNgModuleMetadata(meta.type.reference)\n            })),\n            ...directives.map(ref => ({\n                summary: this._metadataResolver.getDirectiveSummary(ref),\n                metadata: this._metadataResolver.getDirectiveMetadata(ref)\n            })),\n            ...pipes.map(ref => ({\n                summary: this._metadataResolver.getPipeSummary(ref),\n                metadata: this._metadataResolver.getPipeMetadata(ref)\n            })),\n            ...injectables.map(ref => ({\n                summary: this._metadataResolver.getInjectableSummary(ref.symbol),\n                metadata: this._metadataResolver.getInjectableSummary(ref.symbol).type\n            }))\n        ];\n        const forJitOutputCtx = this._options.enableSummariesForJit ?\n            this._createOutputContext(summaryForJitFileName(srcFileName, true)) :\n            null;\n        const { json, exportAs } = serializeSummaries(srcFileName, forJitOutputCtx, this._summaryResolver, this._symbolResolver, symbolSummaries, typeData, this._options.createExternalSymbolFactoryReexports);\n        exportAs.forEach((entry) => {\n            ngFactoryCtx.statements.push(variable(entry.exportAs).set(ngFactoryCtx.importExpr(entry.symbol)).toDeclStmt(null, [\n                StmtModifier.Exported\n            ]));\n        });\n        const summaryJson = new GeneratedFile(srcFileName, summaryFileName(srcFileName), json);\n        const result = [summaryJson];\n        if (forJitOutputCtx) {\n            result.push(this._codegenSourceModule(srcFileName, forJitOutputCtx));\n        }\n        return result;\n    }\n    _compileModule(outputCtx, ngModule) {\n        const providers = [];\n        if (this._options.locale) {\n            const normalizedLocale = this._options.locale.replace(/_/g, '-');\n            providers.push({\n                token: createTokenForExternalReference(this.reflector, Identifiers.LOCALE_ID),\n                useValue: normalizedLocale,\n            });\n        }\n        if (this._options.i18nFormat) {\n            providers.push({\n                token: createTokenForExternalReference(this.reflector, Identifiers.TRANSLATIONS_FORMAT),\n                useValue: this._options.i18nFormat\n            });\n        }\n        this._ngModuleCompiler.compile(outputCtx, ngModule, providers);\n    }\n    _compileComponentFactory(outputCtx, compMeta, ngModule, fileSuffix) {\n        const hostMeta = this._metadataResolver.getHostComponentMetadata(compMeta);\n        const hostViewFactoryVar = this._compileComponent(outputCtx, hostMeta, ngModule, [compMeta.type], null, fileSuffix)\n            .viewClassVar;\n        const compFactoryVar = componentFactoryName(compMeta.type.reference);\n        const inputsExprs = [];\n        for (let propName in compMeta.inputs) {\n            const templateName = compMeta.inputs[propName];\n            // Don't quote so that the key gets minified...\n            inputsExprs.push(new LiteralMapEntry(propName, literal(templateName), false));\n        }\n        const outputsExprs = [];\n        for (let propName in compMeta.outputs) {\n            const templateName = compMeta.outputs[propName];\n            // Don't quote so that the key gets minified...\n            outputsExprs.push(new LiteralMapEntry(propName, literal(templateName), false));\n        }\n        outputCtx.statements.push(variable(compFactoryVar)\n            .set(importExpr(Identifiers.createComponentFactory).callFn([\n            literal(compMeta.selector), outputCtx.importExpr(compMeta.type.reference),\n            variable(hostViewFactoryVar), new LiteralMapExpr(inputsExprs),\n            new LiteralMapExpr(outputsExprs),\n            literalArr(compMeta.template.ngContentSelectors.map(selector => literal(selector)))\n        ]))\n            .toDeclStmt(importType(Identifiers.ComponentFactory, [expressionType(outputCtx.importExpr(compMeta.type.reference))], [TypeModifier.Const]), [StmtModifier.Final, StmtModifier.Exported]));\n    }\n    _compileComponent(outputCtx, compMeta, ngModule, directiveIdentifiers, componentStyles, fileSuffix) {\n        const { template: parsedTemplate, pipes: usedPipes } = this._parseTemplate(compMeta, ngModule, directiveIdentifiers);\n        const stylesExpr = componentStyles ? variable(componentStyles.stylesVar) : literalArr([]);\n        const viewResult = this._viewCompiler.compileComponent(outputCtx, compMeta, parsedTemplate, stylesExpr, usedPipes);\n        if (componentStyles) {\n            _resolveStyleStatements(this._symbolResolver, componentStyles, this._styleCompiler.needsStyleShim(compMeta), fileSuffix);\n        }\n        return viewResult;\n    }\n    _parseTemplate(compMeta, ngModule, directiveIdentifiers) {\n        if (this._templateAstCache.has(compMeta.type.reference)) {\n            return this._templateAstCache.get(compMeta.type.reference);\n        }\n        const preserveWhitespaces = compMeta.template.preserveWhitespaces;\n        const directives = directiveIdentifiers.map(dir => this._metadataResolver.getDirectiveSummary(dir.reference));\n        const pipes = ngModule.transitiveModule.pipes.map(pipe => this._metadataResolver.getPipeSummary(pipe.reference));\n        const result = this._templateParser.parse(compMeta, compMeta.template.htmlAst, directives, pipes, ngModule.schemas, templateSourceUrl(ngModule.type, compMeta, compMeta.template), preserveWhitespaces);\n        this._templateAstCache.set(compMeta.type.reference, result);\n        return result;\n    }\n    _createOutputContext(genFilePath) {\n        const importExpr$1 = (symbol, typeParams = null, useSummaries = true) => {\n            if (!(symbol instanceof StaticSymbol)) {\n                throw new Error(`Internal error: unknown identifier ${JSON.stringify(symbol)}`);\n            }\n            const arity = this._symbolResolver.getTypeArity(symbol) || 0;\n            const { filePath, name, members } = this._symbolResolver.getImportAs(symbol, useSummaries) || symbol;\n            const importModule = this._fileNameToModuleName(filePath, genFilePath);\n            // It should be good enough to compare filePath to genFilePath and if they are equal\n            // there is a self reference. However, ngfactory files generate to .ts but their\n            // symbols have .d.ts so a simple compare is insufficient. They should be canonical\n            // and is tracked by #17705.\n            const selfReference = this._fileNameToModuleName(genFilePath, genFilePath);\n            const moduleName = importModule === selfReference ? null : importModule;\n            // If we are in a type expression that refers to a generic type then supply\n            // the required type parameters. If there were not enough type parameters\n            // supplied, supply any as the type. Outside a type expression the reference\n            // should not supply type parameters and be treated as a simple value reference\n            // to the constructor function itself.\n            const suppliedTypeParams = typeParams || [];\n            const missingTypeParamsCount = arity - suppliedTypeParams.length;\n            const allTypeParams = suppliedTypeParams.concat(new Array(missingTypeParamsCount).fill(DYNAMIC_TYPE));\n            return members.reduce((expr, memberName) => expr.prop(memberName), importExpr(new ExternalReference(moduleName, name, null), allTypeParams));\n        };\n        return { statements: [], genFilePath, importExpr: importExpr$1, constantPool: new ConstantPool() };\n    }\n    _fileNameToModuleName(importedFilePath, containingFilePath) {\n        return this._summaryResolver.getKnownModuleName(importedFilePath) ||\n            this._symbolResolver.getKnownModuleName(importedFilePath) ||\n            this._host.fileNameToModuleName(importedFilePath, containingFilePath);\n    }\n    _codegenStyles(srcFileUrl, compMeta, stylesheetMetadata, isShimmed, fileSuffix) {\n        const outputCtx = this._createOutputContext(_stylesModuleUrl(stylesheetMetadata.moduleUrl, isShimmed, fileSuffix));\n        const compiledStylesheet = this._styleCompiler.compileStyles(outputCtx, compMeta, stylesheetMetadata, isShimmed);\n        _resolveStyleStatements(this._symbolResolver, compiledStylesheet, isShimmed, fileSuffix);\n        return this._codegenSourceModule(srcFileUrl, outputCtx);\n    }\n    _codegenSourceModule(srcFileUrl, ctx) {\n        return new GeneratedFile(srcFileUrl, ctx.genFilePath, ctx.statements);\n    }\n    listLazyRoutes(entryRoute, analyzedModules) {\n        const self = this;\n        if (entryRoute) {\n            const symbol = parseLazyRoute(entryRoute, this.reflector).referencedModule;\n            return visitLazyRoute(symbol);\n        }\n        else if (analyzedModules) {\n            const allLazyRoutes = [];\n            for (const ngModule of analyzedModules.ngModules) {\n                const lazyRoutes = listLazyRoutes(ngModule, this.reflector);\n                for (const lazyRoute of lazyRoutes) {\n                    allLazyRoutes.push(lazyRoute);\n                }\n            }\n            return allLazyRoutes;\n        }\n        else {\n            throw new Error(`Either route or analyzedModules has to be specified!`);\n        }\n        function visitLazyRoute(symbol, seenRoutes = new Set(), allLazyRoutes = []) {\n            // Support pointing to default exports, but stop recursing there,\n            // as the StaticReflector does not yet support default exports.\n            if (seenRoutes.has(symbol) || !symbol.name) {\n                return allLazyRoutes;\n            }\n            seenRoutes.add(symbol);\n            const lazyRoutes = listLazyRoutes(self._metadataResolver.getNgModuleMetadata(symbol, true), self.reflector);\n            for (const lazyRoute of lazyRoutes) {\n                allLazyRoutes.push(lazyRoute);\n                visitLazyRoute(lazyRoute.referencedModule, seenRoutes, allLazyRoutes);\n            }\n            return allLazyRoutes;\n        }\n    }\n}\nfunction _createEmptyStub(outputCtx) {\n    // Note: We need to produce at least one import statement so that\n    // TypeScript knows that the file is an es6 module. Otherwise our generated\n    // exports / imports won't be emitted properly by TypeScript.\n    outputCtx.statements.push(importExpr(Identifiers.ComponentFactory).toStmt());\n}\nfunction _resolveStyleStatements(symbolResolver, compileResult, needsShim, fileSuffix) {\n    compileResult.dependencies.forEach((dep) => {\n        dep.setValue(symbolResolver.getStaticSymbol(_stylesModuleUrl(dep.moduleUrl, needsShim, fileSuffix), dep.name));\n    });\n}\nfunction _stylesModuleUrl(stylesheetUrl, shim, suffix) {\n    return `${stylesheetUrl}${shim ? '.shim' : ''}.ngstyle${suffix}`;\n}\nfunction analyzeNgModules(fileNames, host, staticSymbolResolver, metadataResolver) {\n    const files = _analyzeFilesIncludingNonProgramFiles(fileNames, host, staticSymbolResolver, metadataResolver);\n    return mergeAnalyzedFiles(files);\n}\nfunction analyzeAndValidateNgModules(fileNames, host, staticSymbolResolver, metadataResolver) {\n    return validateAnalyzedModules(analyzeNgModules(fileNames, host, staticSymbolResolver, metadataResolver));\n}\nfunction validateAnalyzedModules(analyzedModules) {\n    if (analyzedModules.symbolsMissingModule && analyzedModules.symbolsMissingModule.length) {\n        const messages = analyzedModules.symbolsMissingModule.map(s => `Cannot determine the module for class ${s.name} in ${s.filePath}! Add ${s.name} to the NgModule to fix it.`);\n        throw syntaxError(messages.join('\\n'));\n    }\n    return analyzedModules;\n}\n// Analyzes all of the program files,\n// including files that are not part of the program\n// but are referenced by an NgModule.\nfunction _analyzeFilesIncludingNonProgramFiles(fileNames, host, staticSymbolResolver, metadataResolver) {\n    const seenFiles = new Set();\n    const files = [];\n    const visitFile = (fileName) => {\n        if (seenFiles.has(fileName) || !host.isSourceFile(fileName)) {\n            return false;\n        }\n        seenFiles.add(fileName);\n        const analyzedFile = analyzeFile(host, staticSymbolResolver, metadataResolver, fileName);\n        files.push(analyzedFile);\n        analyzedFile.ngModules.forEach(ngModule => {\n            ngModule.transitiveModule.modules.forEach(modMeta => visitFile(modMeta.reference.filePath));\n        });\n    };\n    fileNames.forEach((fileName) => visitFile(fileName));\n    return files;\n}\nfunction analyzeFile(host, staticSymbolResolver, metadataResolver, fileName) {\n    const directives = [];\n    const pipes = [];\n    const injectables = [];\n    const ngModules = [];\n    const hasDecorators = staticSymbolResolver.hasDecorators(fileName);\n    let exportsNonSourceFiles = false;\n    // Don't analyze .d.ts files that have no decorators as a shortcut\n    // to speed up the analysis. This prevents us from\n    // resolving the references in these files.\n    // Note: exportsNonSourceFiles is only needed when compiling with summaries,\n    // which is not the case when .d.ts files are treated as input files.\n    if (!fileName.endsWith('.d.ts') || hasDecorators) {\n        staticSymbolResolver.getSymbolsOf(fileName).forEach((symbol) => {\n            const resolvedSymbol = staticSymbolResolver.resolveSymbol(symbol);\n            const symbolMeta = resolvedSymbol.metadata;\n            if (!symbolMeta || symbolMeta.__symbolic === 'error') {\n                return;\n            }\n            let isNgSymbol = false;\n            if (symbolMeta.__symbolic === 'class') {\n                if (metadataResolver.isDirective(symbol)) {\n                    isNgSymbol = true;\n                    directives.push(symbol);\n                }\n                else if (metadataResolver.isPipe(symbol)) {\n                    isNgSymbol = true;\n                    pipes.push(symbol);\n                }\n                else if (metadataResolver.isNgModule(symbol)) {\n                    const ngModule = metadataResolver.getNgModuleMetadata(symbol, false);\n                    if (ngModule) {\n                        isNgSymbol = true;\n                        ngModules.push(ngModule);\n                    }\n                }\n                else if (metadataResolver.isInjectable(symbol)) {\n                    isNgSymbol = true;\n                    const injectable = metadataResolver.getInjectableMetadata(symbol, null, false);\n                    if (injectable) {\n                        injectables.push(injectable);\n                    }\n                }\n            }\n            if (!isNgSymbol) {\n                exportsNonSourceFiles =\n                    exportsNonSourceFiles || isValueExportingNonSourceFile(host, symbolMeta);\n            }\n        });\n    }\n    return {\n        fileName, directives, pipes, ngModules, injectables, exportsNonSourceFiles,\n    };\n}\nfunction analyzeFileForInjectables(host, staticSymbolResolver, metadataResolver, fileName) {\n    const injectables = [];\n    const shallowModules = [];\n    if (staticSymbolResolver.hasDecorators(fileName)) {\n        staticSymbolResolver.getSymbolsOf(fileName).forEach((symbol) => {\n            const resolvedSymbol = staticSymbolResolver.resolveSymbol(symbol);\n            const symbolMeta = resolvedSymbol.metadata;\n            if (!symbolMeta || symbolMeta.__symbolic === 'error') {\n                return;\n            }\n            if (symbolMeta.__symbolic === 'class') {\n                if (metadataResolver.isInjectable(symbol)) {\n                    const injectable = metadataResolver.getInjectableMetadata(symbol, null, false);\n                    if (injectable) {\n                        injectables.push(injectable);\n                    }\n                }\n                else if (metadataResolver.isNgModule(symbol)) {\n                    const module = metadataResolver.getShallowModuleMetadata(symbol);\n                    if (module) {\n                        shallowModules.push(module);\n                    }\n                }\n            }\n        });\n    }\n    return { fileName, injectables, shallowModules };\n}\nfunction isValueExportingNonSourceFile(host, metadata) {\n    let exportsNonSourceFiles = false;\n    class Visitor {\n        visitArray(arr, context) { arr.forEach(v => visitValue(v, this, context)); }\n        visitStringMap(map, context) {\n            Object.keys(map).forEach((key) => visitValue(map[key], this, context));\n        }\n        visitPrimitive(value, context) { }\n        visitOther(value, context) {\n            if (value instanceof StaticSymbol && !host.isSourceFile(value.filePath)) {\n                exportsNonSourceFiles = true;\n            }\n        }\n    }\n    visitValue(metadata, new Visitor(), null);\n    return exportsNonSourceFiles;\n}\nfunction mergeAnalyzedFiles(analyzedFiles) {\n    const allNgModules = [];\n    const ngModuleByPipeOrDirective = new Map();\n    const allPipesAndDirectives = new Set();\n    analyzedFiles.forEach(af => {\n        af.ngModules.forEach(ngModule => {\n            allNgModules.push(ngModule);\n            ngModule.declaredDirectives.forEach(d => ngModuleByPipeOrDirective.set(d.reference, ngModule));\n            ngModule.declaredPipes.forEach(p => ngModuleByPipeOrDirective.set(p.reference, ngModule));\n        });\n        af.directives.forEach(d => allPipesAndDirectives.add(d));\n        af.pipes.forEach(p => allPipesAndDirectives.add(p));\n    });\n    const symbolsMissingModule = [];\n    allPipesAndDirectives.forEach(ref => {\n        if (!ngModuleByPipeOrDirective.has(ref)) {\n            symbolsMissingModule.push(ref);\n        }\n    });\n    return {\n        ngModules: allNgModules,\n        ngModuleByPipeOrDirective,\n        symbolsMissingModule,\n        files: analyzedFiles\n    };\n}\nfunction mergeAndValidateNgFiles(files) {\n    return validateAnalyzedModules(mergeAnalyzedFiles(files));\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst FORMATTED_MESSAGE = 'ngFormattedMessage';\nfunction indentStr(level) {\n    if (level <= 0)\n        return '';\n    if (level < 6)\n        return ['', ' ', '  ', '   ', '    ', '     '][level];\n    const half = indentStr(Math.floor(level / 2));\n    return half + half + (level % 2 === 1 ? ' ' : '');\n}\nfunction formatChain(chain, indent = 0) {\n    if (!chain)\n        return '';\n    const position = chain.position ?\n        `${chain.position.fileName}(${chain.position.line + 1},${chain.position.column + 1})` :\n        '';\n    const prefix = position && indent === 0 ? `${position}: ` : '';\n    const postfix = position && indent !== 0 ? ` at ${position}` : '';\n    const message = `${prefix}${chain.message}${postfix}`;\n    return `${indentStr(indent)}${message}${(chain.next && ('\\n' + formatChain(chain.next, indent + 2))) || ''}`;\n}\nfunction formattedError(chain) {\n    const message = formatChain(chain) + '.';\n    const error = syntaxError(message);\n    error[FORMATTED_MESSAGE] = true;\n    error.chain = chain;\n    error.position = chain.position;\n    return error;\n}\nfunction isFormattedError(error) {\n    return !!error[FORMATTED_MESSAGE];\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst ANGULAR_CORE = '@angular/core';\nconst ANGULAR_ROUTER = '@angular/router';\nconst HIDDEN_KEY = /^\\$.*\\$$/;\nconst IGNORE = {\n    __symbolic: 'ignore'\n};\nconst USE_VALUE$1 = 'useValue';\nconst PROVIDE = 'provide';\nconst REFERENCE_SET = new Set([USE_VALUE$1, 'useFactory', 'data', 'id', 'loadChildren']);\nconst TYPEGUARD_POSTFIX = 'TypeGuard';\nconst USE_IF = 'UseIf';\nfunction shouldIgnore(value) {\n    return value && value.__symbolic == 'ignore';\n}\n/**\n * A static reflector implements enough of the Reflector API that is necessary to compile\n * templates statically.\n */\nclass StaticReflector {\n    constructor(summaryResolver, symbolResolver, knownMetadataClasses = [], knownMetadataFunctions = [], errorRecorder) {\n        this.summaryResolver = summaryResolver;\n        this.symbolResolver = symbolResolver;\n        this.errorRecorder = errorRecorder;\n        this.annotationCache = new Map();\n        this.shallowAnnotationCache = new Map();\n        this.propertyCache = new Map();\n        this.parameterCache = new Map();\n        this.methodCache = new Map();\n        this.staticCache = new Map();\n        this.conversionMap = new Map();\n        this.resolvedExternalReferences = new Map();\n        this.annotationForParentClassWithSummaryKind = new Map();\n        this.initializeConversionMap();\n        knownMetadataClasses.forEach((kc) => this._registerDecoratorOrConstructor(this.getStaticSymbol(kc.filePath, kc.name), kc.ctor));\n        knownMetadataFunctions.forEach((kf) => this._registerFunction(this.getStaticSymbol(kf.filePath, kf.name), kf.fn));\n        this.annotationForParentClassWithSummaryKind.set(CompileSummaryKind.Directive, [createDirective, createComponent]);\n        this.annotationForParentClassWithSummaryKind.set(CompileSummaryKind.Pipe, [createPipe]);\n        this.annotationForParentClassWithSummaryKind.set(CompileSummaryKind.NgModule, [createNgModule]);\n        this.annotationForParentClassWithSummaryKind.set(CompileSummaryKind.Injectable, [createInjectable, createPipe, createDirective, createComponent, createNgModule]);\n    }\n    componentModuleUrl(typeOrFunc) {\n        const staticSymbol = this.findSymbolDeclaration(typeOrFunc);\n        return this.symbolResolver.getResourcePath(staticSymbol);\n    }\n    resolveExternalReference(ref, containingFile) {\n        let key = undefined;\n        if (!containingFile) {\n            key = `${ref.moduleName}:${ref.name}`;\n            const declarationSymbol = this.resolvedExternalReferences.get(key);\n            if (declarationSymbol)\n                return declarationSymbol;\n        }\n        const refSymbol = this.symbolResolver.getSymbolByModule(ref.moduleName, ref.name, containingFile);\n        const declarationSymbol = this.findSymbolDeclaration(refSymbol);\n        if (!containingFile) {\n            this.symbolResolver.recordModuleNameForFileName(refSymbol.filePath, ref.moduleName);\n            this.symbolResolver.recordImportAs(declarationSymbol, refSymbol);\n        }\n        if (key) {\n            this.resolvedExternalReferences.set(key, declarationSymbol);\n        }\n        return declarationSymbol;\n    }\n    findDeclaration(moduleUrl, name, containingFile) {\n        return this.findSymbolDeclaration(this.symbolResolver.getSymbolByModule(moduleUrl, name, containingFile));\n    }\n    tryFindDeclaration(moduleUrl, name, containingFile) {\n        return this.symbolResolver.ignoreErrorsFor(() => this.findDeclaration(moduleUrl, name, containingFile));\n    }\n    findSymbolDeclaration(symbol) {\n        const resolvedSymbol = this.symbolResolver.resolveSymbol(symbol);\n        if (resolvedSymbol) {\n            let resolvedMetadata = resolvedSymbol.metadata;\n            if (resolvedMetadata && resolvedMetadata.__symbolic === 'resolved') {\n                resolvedMetadata = resolvedMetadata.symbol;\n            }\n            if (resolvedMetadata instanceof StaticSymbol) {\n                return this.findSymbolDeclaration(resolvedSymbol.metadata);\n            }\n        }\n        return symbol;\n    }\n    tryAnnotations(type) {\n        const originalRecorder = this.errorRecorder;\n        this.errorRecorder = (error, fileName) => { };\n        try {\n            return this.annotations(type);\n        }\n        finally {\n            this.errorRecorder = originalRecorder;\n        }\n    }\n    annotations(type) {\n        return this._annotations(type, (type, decorators) => this.simplify(type, decorators), this.annotationCache);\n    }\n    shallowAnnotations(type) {\n        return this._annotations(type, (type, decorators) => this.simplify(type, decorators, true), this.shallowAnnotationCache);\n    }\n    _annotations(type, simplify, annotationCache) {\n        let annotations = annotationCache.get(type);\n        if (!annotations) {\n            annotations = [];\n            const classMetadata = this.getTypeMetadata(type);\n            const parentType = this.findParentType(type, classMetadata);\n            if (parentType) {\n                const parentAnnotations = this.annotations(parentType);\n                annotations.push(...parentAnnotations);\n            }\n            let ownAnnotations = [];\n            if (classMetadata['decorators']) {\n                ownAnnotations = simplify(type, classMetadata['decorators']);\n                if (ownAnnotations) {\n                    annotations.push(...ownAnnotations);\n                }\n            }\n            if (parentType && !this.summaryResolver.isLibraryFile(type.filePath) &&\n                this.summaryResolver.isLibraryFile(parentType.filePath)) {\n                const summary = this.summaryResolver.resolveSummary(parentType);\n                if (summary && summary.type) {\n                    const requiredAnnotationTypes = this.annotationForParentClassWithSummaryKind.get(summary.type.summaryKind);\n                    const typeHasRequiredAnnotation = requiredAnnotationTypes.some((requiredType) => ownAnnotations.some(ann => requiredType.isTypeOf(ann)));\n                    if (!typeHasRequiredAnnotation) {\n                        this.reportError(formatMetadataError(metadataError(`Class ${type.name} in ${type.filePath} extends from a ${CompileSummaryKind[summary.type.summaryKind]} in another compilation unit without duplicating the decorator`, \n                        /* summary */ undefined, `Please add a ${requiredAnnotationTypes.map((type) => type.ngMetadataName).join(' or ')} decorator to the class`), type), type);\n                    }\n                }\n            }\n            annotationCache.set(type, annotations.filter(ann => !!ann));\n        }\n        return annotations;\n    }\n    propMetadata(type) {\n        let propMetadata = this.propertyCache.get(type);\n        if (!propMetadata) {\n            const classMetadata = this.getTypeMetadata(type);\n            propMetadata = {};\n            const parentType = this.findParentType(type, classMetadata);\n            if (parentType) {\n                const parentPropMetadata = this.propMetadata(parentType);\n                Object.keys(parentPropMetadata).forEach((parentProp) => {\n                    propMetadata[parentProp] = parentPropMetadata[parentProp];\n                });\n            }\n            const members = classMetadata['members'] || {};\n            Object.keys(members).forEach((propName) => {\n                const propData = members[propName];\n                const prop = propData\n                    .find(a => a['__symbolic'] == 'property' || a['__symbolic'] == 'method');\n                const decorators = [];\n                if (propMetadata[propName]) {\n                    decorators.push(...propMetadata[propName]);\n                }\n                propMetadata[propName] = decorators;\n                if (prop && prop['decorators']) {\n                    decorators.push(...this.simplify(type, prop['decorators']));\n                }\n            });\n            this.propertyCache.set(type, propMetadata);\n        }\n        return propMetadata;\n    }\n    parameters(type) {\n        if (!(type instanceof StaticSymbol)) {\n            this.reportError(new Error(`parameters received ${JSON.stringify(type)} which is not a StaticSymbol`), type);\n            return [];\n        }\n        try {\n            let parameters = this.parameterCache.get(type);\n            if (!parameters) {\n                const classMetadata = this.getTypeMetadata(type);\n                const parentType = this.findParentType(type, classMetadata);\n                const members = classMetadata ? classMetadata['members'] : null;\n                const ctorData = members ? members['__ctor__'] : null;\n                if (ctorData) {\n                    const ctor = ctorData.find(a => a['__symbolic'] == 'constructor');\n                    const rawParameterTypes = ctor['parameters'] || [];\n                    const parameterDecorators = this.simplify(type, ctor['parameterDecorators'] || []);\n                    parameters = [];\n                    rawParameterTypes.forEach((rawParamType, index) => {\n                        const nestedResult = [];\n                        const paramType = this.trySimplify(type, rawParamType);\n                        if (paramType)\n                            nestedResult.push(paramType);\n                        const decorators = parameterDecorators ? parameterDecorators[index] : null;\n                        if (decorators) {\n                            nestedResult.push(...decorators);\n                        }\n                        parameters.push(nestedResult);\n                    });\n                }\n                else if (parentType) {\n                    parameters = this.parameters(parentType);\n                }\n                if (!parameters) {\n                    parameters = [];\n                }\n                this.parameterCache.set(type, parameters);\n            }\n            return parameters;\n        }\n        catch (e) {\n            console.error(`Failed on type ${JSON.stringify(type)} with error ${e}`);\n            throw e;\n        }\n    }\n    _methodNames(type) {\n        let methodNames = this.methodCache.get(type);\n        if (!methodNames) {\n            const classMetadata = this.getTypeMetadata(type);\n            methodNames = {};\n            const parentType = this.findParentType(type, classMetadata);\n            if (parentType) {\n                const parentMethodNames = this._methodNames(parentType);\n                Object.keys(parentMethodNames).forEach((parentProp) => {\n                    methodNames[parentProp] = parentMethodNames[parentProp];\n                });\n            }\n            const members = classMetadata['members'] || {};\n            Object.keys(members).forEach((propName) => {\n                const propData = members[propName];\n                const isMethod = propData.some(a => a['__symbolic'] == 'method');\n                methodNames[propName] = methodNames[propName] || isMethod;\n            });\n            this.methodCache.set(type, methodNames);\n        }\n        return methodNames;\n    }\n    _staticMembers(type) {\n        let staticMembers = this.staticCache.get(type);\n        if (!staticMembers) {\n            const classMetadata = this.getTypeMetadata(type);\n            const staticMemberData = classMetadata['statics'] || {};\n            staticMembers = Object.keys(staticMemberData);\n            this.staticCache.set(type, staticMembers);\n        }\n        return staticMembers;\n    }\n    findParentType(type, classMetadata) {\n        const parentType = this.trySimplify(type, classMetadata['extends']);\n        if (parentType instanceof StaticSymbol) {\n            return parentType;\n        }\n    }\n    hasLifecycleHook(type, lcProperty) {\n        if (!(type instanceof StaticSymbol)) {\n            this.reportError(new Error(`hasLifecycleHook received ${JSON.stringify(type)} which is not a StaticSymbol`), type);\n        }\n        try {\n            return !!this._methodNames(type)[lcProperty];\n        }\n        catch (e) {\n            console.error(`Failed on type ${JSON.stringify(type)} with error ${e}`);\n            throw e;\n        }\n    }\n    guards(type) {\n        if (!(type instanceof StaticSymbol)) {\n            this.reportError(new Error(`guards received ${JSON.stringify(type)} which is not a StaticSymbol`), type);\n            return {};\n        }\n        const staticMembers = this._staticMembers(type);\n        const result = {};\n        for (let name of staticMembers) {\n            if (name.endsWith(TYPEGUARD_POSTFIX)) {\n                let property = name.substr(0, name.length - TYPEGUARD_POSTFIX.length);\n                let value;\n                if (property.endsWith(USE_IF)) {\n                    property = name.substr(0, property.length - USE_IF.length);\n                    value = USE_IF;\n                }\n                else {\n                    value = this.getStaticSymbol(type.filePath, type.name, [name]);\n                }\n                result[property] = value;\n            }\n        }\n        return result;\n    }\n    _registerDecoratorOrConstructor(type, ctor) {\n        this.conversionMap.set(type, (context, args) => new ctor(...args));\n    }\n    _registerFunction(type, fn) {\n        this.conversionMap.set(type, (context, args) => fn.apply(undefined, args));\n    }\n    initializeConversionMap() {\n        this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'Injectable'), createInjectable);\n        this.injectionToken = this.findDeclaration(ANGULAR_CORE, 'InjectionToken');\n        this.opaqueToken = this.findDeclaration(ANGULAR_CORE, 'OpaqueToken');\n        this.ROUTES = this.tryFindDeclaration(ANGULAR_ROUTER, 'ROUTES');\n        this.ANALYZE_FOR_ENTRY_COMPONENTS =\n            this.findDeclaration(ANGULAR_CORE, 'ANALYZE_FOR_ENTRY_COMPONENTS');\n        this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'Host'), createHost);\n        this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'Self'), createSelf);\n        this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'SkipSelf'), createSkipSelf);\n        this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'Inject'), createInject);\n        this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'Optional'), createOptional);\n        this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'Attribute'), createAttribute);\n        this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'ContentChild'), createContentChild);\n        this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'ContentChildren'), createContentChildren);\n        this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'ViewChild'), createViewChild);\n        this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'ViewChildren'), createViewChildren);\n        this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'Input'), createInput);\n        this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'Output'), createOutput);\n        this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'Pipe'), createPipe);\n        this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'HostBinding'), createHostBinding);\n        this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'HostListener'), createHostListener);\n        this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'Directive'), createDirective);\n        this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'Component'), createComponent);\n        this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'NgModule'), createNgModule);\n        // Note: Some metadata classes can be used directly with Provider.deps.\n        this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'Host'), createHost);\n        this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'Self'), createSelf);\n        this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'SkipSelf'), createSkipSelf);\n        this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'Optional'), createOptional);\n    }\n    /**\n     * getStaticSymbol produces a Type whose metadata is known but whose implementation is not loaded.\n     * All types passed to the StaticResolver should be pseudo-types returned by this method.\n     *\n     * @param declarationFile the absolute path of the file where the symbol is declared\n     * @param name the name of the type.\n     */\n    getStaticSymbol(declarationFile, name, members) {\n        return this.symbolResolver.getStaticSymbol(declarationFile, name, members);\n    }\n    /**\n     * Simplify but discard any errors\n     */\n    trySimplify(context, value) {\n        const originalRecorder = this.errorRecorder;\n        this.errorRecorder = (error, fileName) => { };\n        const result = this.simplify(context, value);\n        this.errorRecorder = originalRecorder;\n        return result;\n    }\n    /** @internal */\n    simplify(context, value, lazy = false) {\n        const self = this;\n        let scope = BindingScope$1.empty;\n        const calling = new Map();\n        const rootContext = context;\n        function simplifyInContext(context, value, depth, references) {\n            function resolveReferenceValue(staticSymbol) {\n                const resolvedSymbol = self.symbolResolver.resolveSymbol(staticSymbol);\n                return resolvedSymbol ? resolvedSymbol.metadata : null;\n            }\n            function simplifyEagerly(value) {\n                return simplifyInContext(context, value, depth, 0);\n            }\n            function simplifyLazily(value) {\n                return simplifyInContext(context, value, depth, references + 1);\n            }\n            function simplifyNested(nestedContext, value) {\n                if (nestedContext === context) {\n                    // If the context hasn't changed let the exception propagate unmodified.\n                    return simplifyInContext(nestedContext, value, depth + 1, references);\n                }\n                try {\n                    return simplifyInContext(nestedContext, value, depth + 1, references);\n                }\n                catch (e) {\n                    if (isMetadataError(e)) {\n                        // Propagate the message text up but add a message to the chain that explains how we got\n                        // here.\n                        // e.chain implies e.symbol\n                        const summaryMsg = e.chain ? 'references \\'' + e.symbol.name + '\\'' : errorSummary(e);\n                        const summary = `'${nestedContext.name}' ${summaryMsg}`;\n                        const chain = { message: summary, position: e.position, next: e.chain };\n                        // TODO(chuckj): retrieve the position information indirectly from the collectors node\n                        // map if the metadata is from a .ts file.\n                        self.error({\n                            message: e.message,\n                            advise: e.advise,\n                            context: e.context, chain,\n                            symbol: nestedContext\n                        }, context);\n                    }\n                    else {\n                        // It is probably an internal error.\n                        throw e;\n                    }\n                }\n            }\n            function simplifyCall(functionSymbol, targetFunction, args, targetExpression) {\n                if (targetFunction && targetFunction['__symbolic'] == 'function') {\n                    if (calling.get(functionSymbol)) {\n                        self.error({\n                            message: 'Recursion is not supported',\n                            summary: `called '${functionSymbol.name}' recursively`,\n                            value: targetFunction\n                        }, functionSymbol);\n                    }\n                    try {\n                        const value = targetFunction['value'];\n                        if (value && (depth != 0 || value.__symbolic != 'error')) {\n                            const parameters = targetFunction['parameters'];\n                            const defaults = targetFunction.defaults;\n                            args = args.map(arg => simplifyNested(context, arg))\n                                .map(arg => shouldIgnore(arg) ? undefined : arg);\n                            if (defaults && defaults.length > args.length) {\n                                args.push(...defaults.slice(args.length).map((value) => simplify(value)));\n                            }\n                            calling.set(functionSymbol, true);\n                            const functionScope = BindingScope$1.build();\n                            for (let i = 0; i < parameters.length; i++) {\n                                functionScope.define(parameters[i], args[i]);\n                            }\n                            const oldScope = scope;\n                            let result;\n                            try {\n                                scope = functionScope.done();\n                                result = simplifyNested(functionSymbol, value);\n                            }\n                            finally {\n                                scope = oldScope;\n                            }\n                            return result;\n                        }\n                    }\n                    finally {\n                        calling.delete(functionSymbol);\n                    }\n                }\n                if (depth === 0) {\n                    // If depth is 0 we are evaluating the top level expression that is describing element\n                    // decorator. In this case, it is a decorator we don't understand, such as a custom\n                    // non-angular decorator, and we should just ignore it.\n                    return IGNORE;\n                }\n                let position = undefined;\n                if (targetExpression && targetExpression.__symbolic == 'resolved') {\n                    const line = targetExpression.line;\n                    const character = targetExpression.character;\n                    const fileName = targetExpression.fileName;\n                    if (fileName != null && line != null && character != null) {\n                        position = { fileName, line, column: character };\n                    }\n                }\n                self.error({\n                    message: FUNCTION_CALL_NOT_SUPPORTED,\n                    context: functionSymbol,\n                    value: targetFunction, position\n                }, context);\n            }\n            function simplify(expression) {\n                if (isPrimitive(expression)) {\n                    return expression;\n                }\n                if (expression instanceof Array) {\n                    const result = [];\n                    for (const item of expression) {\n                        // Check for a spread expression\n                        if (item && item.__symbolic === 'spread') {\n                            // We call with references as 0 because we require the actual value and cannot\n                            // tolerate a reference here.\n                            const spreadArray = simplifyEagerly(item.expression);\n                            if (Array.isArray(spreadArray)) {\n                                for (const spreadItem of spreadArray) {\n                                    result.push(spreadItem);\n                                }\n                                continue;\n                            }\n                        }\n                        const value = simplify(item);\n                        if (shouldIgnore(value)) {\n                            continue;\n                        }\n                        result.push(value);\n                    }\n                    return result;\n                }\n                if (expression instanceof StaticSymbol) {\n                    // Stop simplification at builtin symbols or if we are in a reference context and\n                    // the symbol doesn't have members.\n                    if (expression === self.injectionToken || self.conversionMap.has(expression) ||\n                        (references > 0 && !expression.members.length)) {\n                        return expression;\n                    }\n                    else {\n                        const staticSymbol = expression;\n                        const declarationValue = resolveReferenceValue(staticSymbol);\n                        if (declarationValue != null) {\n                            return simplifyNested(staticSymbol, declarationValue);\n                        }\n                        else {\n                            return staticSymbol;\n                        }\n                    }\n                }\n                if (expression) {\n                    if (expression['__symbolic']) {\n                        let staticSymbol;\n                        switch (expression['__symbolic']) {\n                            case 'binop':\n                                let left = simplify(expression['left']);\n                                if (shouldIgnore(left))\n                                    return left;\n                                let right = simplify(expression['right']);\n                                if (shouldIgnore(right))\n                                    return right;\n                                switch (expression['operator']) {\n                                    case '&&':\n                                        return left && right;\n                                    case '||':\n                                        return left || right;\n                                    case '|':\n                                        return left | right;\n                                    case '^':\n                                        return left ^ right;\n                                    case '&':\n                                        return left & right;\n                                    case '==':\n                                        return left == right;\n                                    case '!=':\n                                        return left != right;\n                                    case '===':\n                                        return left === right;\n                                    case '!==':\n                                        return left !== right;\n                                    case '<':\n                                        return left < right;\n                                    case '>':\n                                        return left > right;\n                                    case '<=':\n                                        return left <= right;\n                                    case '>=':\n                                        return left >= right;\n                                    case '<<':\n                                        return left << right;\n                                    case '>>':\n                                        return left >> right;\n                                    case '+':\n                                        return left + right;\n                                    case '-':\n                                        return left - right;\n                                    case '*':\n                                        return left * right;\n                                    case '/':\n                                        return left / right;\n                                    case '%':\n                                        return left % right;\n                                }\n                                return null;\n                            case 'if':\n                                let condition = simplify(expression['condition']);\n                                return condition ? simplify(expression['thenExpression']) :\n                                    simplify(expression['elseExpression']);\n                            case 'pre':\n                                let operand = simplify(expression['operand']);\n                                if (shouldIgnore(operand))\n                                    return operand;\n                                switch (expression['operator']) {\n                                    case '+':\n                                        return operand;\n                                    case '-':\n                                        return -operand;\n                                    case '!':\n                                        return !operand;\n                                    case '~':\n                                        return ~operand;\n                                }\n                                return null;\n                            case 'index':\n                                let indexTarget = simplifyEagerly(expression['expression']);\n                                let index = simplifyEagerly(expression['index']);\n                                if (indexTarget && isPrimitive(index))\n                                    return indexTarget[index];\n                                return null;\n                            case 'select':\n                                const member = expression['member'];\n                                let selectContext = context;\n                                let selectTarget = simplify(expression['expression']);\n                                if (selectTarget instanceof StaticSymbol) {\n                                    const members = selectTarget.members.concat(member);\n                                    selectContext =\n                                        self.getStaticSymbol(selectTarget.filePath, selectTarget.name, members);\n                                    const declarationValue = resolveReferenceValue(selectContext);\n                                    if (declarationValue != null) {\n                                        return simplifyNested(selectContext, declarationValue);\n                                    }\n                                    else {\n                                        return selectContext;\n                                    }\n                                }\n                                if (selectTarget && isPrimitive(member))\n                                    return simplifyNested(selectContext, selectTarget[member]);\n                                return null;\n                            case 'reference':\n                                // Note: This only has to deal with variable references, as symbol references have\n                                // been converted into 'resolved'\n                                // in the StaticSymbolResolver.\n                                const name = expression['name'];\n                                const localValue = scope.resolve(name);\n                                if (localValue != BindingScope$1.missing) {\n                                    return localValue;\n                                }\n                                break;\n                            case 'resolved':\n                                try {\n                                    return simplify(expression.symbol);\n                                }\n                                catch (e) {\n                                    // If an error is reported evaluating the symbol record the position of the\n                                    // reference in the error so it can\n                                    // be reported in the error message generated from the exception.\n                                    if (isMetadataError(e) && expression.fileName != null &&\n                                        expression.line != null && expression.character != null) {\n                                        e.position = {\n                                            fileName: expression.fileName,\n                                            line: expression.line,\n                                            column: expression.character\n                                        };\n                                    }\n                                    throw e;\n                                }\n                            case 'class':\n                                return context;\n                            case 'function':\n                                return context;\n                            case 'new':\n                            case 'call':\n                                // Determine if the function is a built-in conversion\n                                staticSymbol = simplifyInContext(context, expression['expression'], depth + 1, /* references */ 0);\n                                if (staticSymbol instanceof StaticSymbol) {\n                                    if (staticSymbol === self.injectionToken || staticSymbol === self.opaqueToken) {\n                                        // if somebody calls new InjectionToken, don't create an InjectionToken,\n                                        // but rather return the symbol to which the InjectionToken is assigned to.\n                                        // OpaqueToken is supported too as it is required by the language service to\n                                        // support v4 and prior versions of Angular.\n                                        return context;\n                                    }\n                                    const argExpressions = expression['arguments'] || [];\n                                    let converter = self.conversionMap.get(staticSymbol);\n                                    if (converter) {\n                                        const args = argExpressions.map(arg => simplifyNested(context, arg))\n                                            .map(arg => shouldIgnore(arg) ? undefined : arg);\n                                        return converter(context, args);\n                                    }\n                                    else {\n                                        // Determine if the function is one we can simplify.\n                                        const targetFunction = resolveReferenceValue(staticSymbol);\n                                        return simplifyCall(staticSymbol, targetFunction, argExpressions, expression['expression']);\n                                    }\n                                }\n                                return IGNORE;\n                            case 'error':\n                                let message = expression.message;\n                                if (expression['line'] != null) {\n                                    self.error({\n                                        message,\n                                        context: expression.context,\n                                        value: expression,\n                                        position: {\n                                            fileName: expression['fileName'],\n                                            line: expression['line'],\n                                            column: expression['character']\n                                        }\n                                    }, context);\n                                }\n                                else {\n                                    self.error({ message, context: expression.context }, context);\n                                }\n                                return IGNORE;\n                            case 'ignore':\n                                return expression;\n                        }\n                        return null;\n                    }\n                    return mapStringMap(expression, (value, name) => {\n                        if (REFERENCE_SET.has(name)) {\n                            if (name === USE_VALUE$1 && PROVIDE in expression) {\n                                // If this is a provider expression, check for special tokens that need the value\n                                // during analysis.\n                                const provide = simplify(expression.provide);\n                                if (provide === self.ROUTES || provide == self.ANALYZE_FOR_ENTRY_COMPONENTS) {\n                                    return simplify(value);\n                                }\n                            }\n                            return simplifyLazily(value);\n                        }\n                        return simplify(value);\n                    });\n                }\n                return IGNORE;\n            }\n            return simplify(value);\n        }\n        let result;\n        try {\n            result = simplifyInContext(context, value, 0, lazy ? 1 : 0);\n        }\n        catch (e) {\n            if (this.errorRecorder) {\n                this.reportError(e, context);\n            }\n            else {\n                throw formatMetadataError(e, context);\n            }\n        }\n        if (shouldIgnore(result)) {\n            return undefined;\n        }\n        return result;\n    }\n    getTypeMetadata(type) {\n        const resolvedSymbol = this.symbolResolver.resolveSymbol(type);\n        return resolvedSymbol && resolvedSymbol.metadata ? resolvedSymbol.metadata :\n            { __symbolic: 'class' };\n    }\n    reportError(error, context, path) {\n        if (this.errorRecorder) {\n            this.errorRecorder(formatMetadataError(error, context), (context && context.filePath) || path);\n        }\n        else {\n            throw error;\n        }\n    }\n    error({ message, summary, advise, position, context, value, symbol, chain }, reportingContext) {\n        this.reportError(metadataError(message, summary, advise, position, symbol, context, chain), reportingContext);\n    }\n}\nconst METADATA_ERROR = 'ngMetadataError';\nfunction metadataError(message, summary, advise, position, symbol, context, chain) {\n    const error = syntaxError(message);\n    error[METADATA_ERROR] = true;\n    if (advise)\n        error.advise = advise;\n    if (position)\n        error.position = position;\n    if (summary)\n        error.summary = summary;\n    if (context)\n        error.context = context;\n    if (chain)\n        error.chain = chain;\n    if (symbol)\n        error.symbol = symbol;\n    return error;\n}\nfunction isMetadataError(error) {\n    return !!error[METADATA_ERROR];\n}\nconst REFERENCE_TO_NONEXPORTED_CLASS = 'Reference to non-exported class';\nconst VARIABLE_NOT_INITIALIZED = 'Variable not initialized';\nconst DESTRUCTURE_NOT_SUPPORTED = 'Destructuring not supported';\nconst COULD_NOT_RESOLVE_TYPE = 'Could not resolve type';\nconst FUNCTION_CALL_NOT_SUPPORTED = 'Function call not supported';\nconst REFERENCE_TO_LOCAL_SYMBOL = 'Reference to a local symbol';\nconst LAMBDA_NOT_SUPPORTED = 'Lambda not supported';\nfunction expandedMessage(message, context) {\n    switch (message) {\n        case REFERENCE_TO_NONEXPORTED_CLASS:\n            if (context && context.className) {\n                return `References to a non-exported class are not supported in decorators but ${context.className} was referenced.`;\n            }\n            break;\n        case VARIABLE_NOT_INITIALIZED:\n            return 'Only initialized variables and constants can be referenced in decorators because the value of this variable is needed by the template compiler';\n        case DESTRUCTURE_NOT_SUPPORTED:\n            return 'Referencing an exported destructured variable or constant is not supported in decorators and this value is needed by the template compiler';\n        case COULD_NOT_RESOLVE_TYPE:\n            if (context && context.typeName) {\n                return `Could not resolve type ${context.typeName}`;\n            }\n            break;\n        case FUNCTION_CALL_NOT_SUPPORTED:\n            if (context && context.name) {\n                return `Function calls are not supported in decorators but '${context.name}' was called`;\n            }\n            return 'Function calls are not supported in decorators';\n        case REFERENCE_TO_LOCAL_SYMBOL:\n            if (context && context.name) {\n                return `Reference to a local (non-exported) symbols are not supported in decorators but '${context.name}' was referenced`;\n            }\n            break;\n        case LAMBDA_NOT_SUPPORTED:\n            return `Function expressions are not supported in decorators`;\n    }\n    return message;\n}\nfunction messageAdvise(message, context) {\n    switch (message) {\n        case REFERENCE_TO_NONEXPORTED_CLASS:\n            if (context && context.className) {\n                return `Consider exporting '${context.className}'`;\n            }\n            break;\n        case DESTRUCTURE_NOT_SUPPORTED:\n            return 'Consider simplifying to avoid destructuring';\n        case REFERENCE_TO_LOCAL_SYMBOL:\n            if (context && context.name) {\n                return `Consider exporting '${context.name}'`;\n            }\n            break;\n        case LAMBDA_NOT_SUPPORTED:\n            return `Consider changing the function expression into an exported function`;\n    }\n    return undefined;\n}\nfunction errorSummary(error) {\n    if (error.summary) {\n        return error.summary;\n    }\n    switch (error.message) {\n        case REFERENCE_TO_NONEXPORTED_CLASS:\n            if (error.context && error.context.className) {\n                return `references non-exported class ${error.context.className}`;\n            }\n            break;\n        case VARIABLE_NOT_INITIALIZED:\n            return 'is not initialized';\n        case DESTRUCTURE_NOT_SUPPORTED:\n            return 'is a destructured variable';\n        case COULD_NOT_RESOLVE_TYPE:\n            return 'could not be resolved';\n        case FUNCTION_CALL_NOT_SUPPORTED:\n            if (error.context && error.context.name) {\n                return `calls '${error.context.name}'`;\n            }\n            return `calls a function`;\n        case REFERENCE_TO_LOCAL_SYMBOL:\n            if (error.context && error.context.name) {\n                return `references local variable ${error.context.name}`;\n            }\n            return `references a local variable`;\n    }\n    return 'contains the error';\n}\nfunction mapStringMap(input, transform) {\n    if (!input)\n        return {};\n    const result = {};\n    Object.keys(input).forEach((key) => {\n        const value = transform(input[key], key);\n        if (!shouldIgnore(value)) {\n            if (HIDDEN_KEY.test(key)) {\n                Object.defineProperty(result, key, { enumerable: false, configurable: true, value: value });\n            }\n            else {\n                result[key] = value;\n            }\n        }\n    });\n    return result;\n}\nfunction isPrimitive(o) {\n    return o === null || (typeof o !== 'function' && typeof o !== 'object');\n}\nclass BindingScope$1 {\n    static build() {\n        const current = new Map();\n        return {\n            define: function (name, value) {\n                current.set(name, value);\n                return this;\n            },\n            done: function () {\n                return current.size > 0 ? new PopulatedScope(current) : BindingScope$1.empty;\n            }\n        };\n    }\n}\nBindingScope$1.missing = {};\nBindingScope$1.empty = { resolve: name => BindingScope$1.missing };\nclass PopulatedScope extends BindingScope$1 {\n    constructor(bindings) {\n        super();\n        this.bindings = bindings;\n    }\n    resolve(name) {\n        return this.bindings.has(name) ? this.bindings.get(name) : BindingScope$1.missing;\n    }\n}\nfunction formatMetadataMessageChain(chain, advise) {\n    const expanded = expandedMessage(chain.message, chain.context);\n    const nesting = chain.symbol ? ` in '${chain.symbol.name}'` : '';\n    const message = `${expanded}${nesting}`;\n    const position = chain.position;\n    const next = chain.next ?\n        formatMetadataMessageChain(chain.next, advise) :\n        advise ? { message: advise } : undefined;\n    return { message, position, next };\n}\nfunction formatMetadataError(e, context) {\n    if (isMetadataError(e)) {\n        // Produce a formatted version of the and leaving enough information in the original error\n        // to recover the formatting information to eventually produce a diagnostic error message.\n        const position = e.position;\n        const chain = {\n            message: `Error during template compile of '${context.name}'`,\n            position: position,\n            next: { message: e.message, next: e.chain, context: e.context, symbol: e.symbol }\n        };\n        const advise = e.advise || messageAdvise(e.message, e.context);\n        return formattedError(formatMetadataMessageChain(chain, advise));\n    }\n    return e;\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nclass AotSummaryResolver {\n    constructor(host, staticSymbolCache) {\n        this.host = host;\n        this.staticSymbolCache = staticSymbolCache;\n        // Note: this will only contain StaticSymbols without members!\n        this.summaryCache = new Map();\n        this.loadedFilePaths = new Map();\n        // Note: this will only contain StaticSymbols without members!\n        this.importAs = new Map();\n        this.knownFileNameToModuleNames = new Map();\n    }\n    isLibraryFile(filePath) {\n        // Note: We need to strip the .ngfactory. file path,\n        // so this method also works for generated files\n        // (for which host.isSourceFile will always return false).\n        return !this.host.isSourceFile(stripGeneratedFileSuffix(filePath));\n    }\n    toSummaryFileName(filePath, referringSrcFileName) {\n        return this.host.toSummaryFileName(filePath, referringSrcFileName);\n    }\n    fromSummaryFileName(fileName, referringLibFileName) {\n        return this.host.fromSummaryFileName(fileName, referringLibFileName);\n    }\n    resolveSummary(staticSymbol) {\n        const rootSymbol = staticSymbol.members.length ?\n            this.staticSymbolCache.get(staticSymbol.filePath, staticSymbol.name) :\n            staticSymbol;\n        let summary = this.summaryCache.get(rootSymbol);\n        if (!summary) {\n            this._loadSummaryFile(staticSymbol.filePath);\n            summary = this.summaryCache.get(staticSymbol);\n        }\n        return (rootSymbol === staticSymbol && summary) || null;\n    }\n    getSymbolsOf(filePath) {\n        if (this._loadSummaryFile(filePath)) {\n            return Array.from(this.summaryCache.keys()).filter((symbol) => symbol.filePath === filePath);\n        }\n        return null;\n    }\n    getImportAs(staticSymbol) {\n        staticSymbol.assertNoMembers();\n        return this.importAs.get(staticSymbol);\n    }\n    /**\n     * Converts a file path to a module name that can be used as an `import`.\n     */\n    getKnownModuleName(importedFilePath) {\n        return this.knownFileNameToModuleNames.get(importedFilePath) || null;\n    }\n    addSummary(summary) { this.summaryCache.set(summary.symbol, summary); }\n    _loadSummaryFile(filePath) {\n        let hasSummary = this.loadedFilePaths.get(filePath);\n        if (hasSummary != null) {\n            return hasSummary;\n        }\n        let json = null;\n        if (this.isLibraryFile(filePath)) {\n            const summaryFilePath = summaryFileName(filePath);\n            try {\n                json = this.host.loadSummary(summaryFilePath);\n            }\n            catch (e) {\n                console.error(`Error loading summary file ${summaryFilePath}`);\n                throw e;\n            }\n        }\n        hasSummary = json != null;\n        this.loadedFilePaths.set(filePath, hasSummary);\n        if (json) {\n            const { moduleName, summaries, importAs } = deserializeSummaries(this.staticSymbolCache, this, filePath, json);\n            summaries.forEach((summary) => this.summaryCache.set(summary.symbol, summary));\n            if (moduleName) {\n                this.knownFileNameToModuleNames.set(filePath, moduleName);\n            }\n            importAs.forEach((importAs) => { this.importAs.set(importAs.symbol, importAs.importAs); });\n        }\n        return hasSummary;\n    }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction createAotUrlResolver(host) {\n    return {\n        resolve: (basePath, url) => {\n            const filePath = host.resourceNameToFileName(url, basePath);\n            if (!filePath) {\n                throw syntaxError(`Couldn't resolve resource ${url} from ${basePath}`);\n            }\n            return filePath;\n        }\n    };\n}\n/**\n * Creates a new AotCompiler based on options and a host.\n */\nfunction createAotCompiler(compilerHost, options, errorCollector) {\n    let translations = options.translations || '';\n    const urlResolver = createAotUrlResolver(compilerHost);\n    const symbolCache = new StaticSymbolCache();\n    const summaryResolver = new AotSummaryResolver(compilerHost, symbolCache);\n    const symbolResolver = new StaticSymbolResolver(compilerHost, symbolCache, summaryResolver);\n    const staticReflector = new StaticReflector(summaryResolver, symbolResolver, [], [], errorCollector);\n    let htmlParser;\n    if (!!options.enableIvy) {\n        // Ivy handles i18n at the compiler level so we must use a regular parser\n        htmlParser = new HtmlParser();\n    }\n    else {\n        htmlParser = new I18NHtmlParser(new HtmlParser(), translations, options.i18nFormat, options.missingTranslation, console);\n    }\n    const config = new CompilerConfig({\n        defaultEncapsulation: ViewEncapsulation.Emulated,\n        useJit: false,\n        missingTranslation: options.missingTranslation,\n        preserveWhitespaces: options.preserveWhitespaces,\n        strictInjectionParameters: options.strictInjectionParameters,\n    });\n    const normalizer = new DirectiveNormalizer({ get: (url) => compilerHost.loadResource(url) }, urlResolver, htmlParser, config);\n    const expressionParser = new Parser$1(new Lexer());\n    const elementSchemaRegistry = new DomElementSchemaRegistry();\n    const tmplParser = new TemplateParser(config, staticReflector, expressionParser, elementSchemaRegistry, htmlParser, console, []);\n    const resolver = new CompileMetadataResolver(config, htmlParser, new NgModuleResolver(staticReflector), new DirectiveResolver(staticReflector), new PipeResolver(staticReflector), summaryResolver, elementSchemaRegistry, normalizer, console, symbolCache, staticReflector, errorCollector);\n    // TODO(vicb): do not pass options.i18nFormat here\n    const viewCompiler = new ViewCompiler(staticReflector);\n    const typeCheckCompiler = new TypeCheckCompiler(options, staticReflector);\n    const compiler = new AotCompiler(config, options, compilerHost, staticReflector, resolver, tmplParser, new StyleCompiler(urlResolver), viewCompiler, typeCheckCompiler, new NgModuleCompiler(staticReflector), new InjectableCompiler(staticReflector, !!options.enableIvy), new TypeScriptEmitter(), summaryResolver, symbolResolver);\n    return { compiler, reflector: staticReflector };\n}\n\nclass SummaryResolver {\n}\nclass JitSummaryResolver {\n    constructor() {\n        this._summaries = new Map();\n    }\n    isLibraryFile() { return false; }\n    toSummaryFileName(fileName) { return fileName; }\n    fromSummaryFileName(fileName) { return fileName; }\n    resolveSummary(reference) {\n        return this._summaries.get(reference) || null;\n    }\n    getSymbolsOf() { return []; }\n    getImportAs(reference) { return reference; }\n    getKnownModuleName(fileName) { return null; }\n    addSummary(summary) { this._summaries.set(summary.symbol, summary); }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction interpretStatements(statements, reflector) {\n    const ctx = new _ExecutionContext(null, null, null, new Map());\n    const visitor = new StatementInterpreter(reflector);\n    visitor.visitAllStatements(statements, ctx);\n    const result = {};\n    ctx.exports.forEach((exportName) => { result[exportName] = ctx.vars.get(exportName); });\n    return result;\n}\nfunction _executeFunctionStatements(varNames, varValues, statements, ctx, visitor) {\n    const childCtx = ctx.createChildWihtLocalVars();\n    for (let i = 0; i < varNames.length; i++) {\n        childCtx.vars.set(varNames[i], varValues[i]);\n    }\n    const result = visitor.visitAllStatements(statements, childCtx);\n    return result ? result.value : null;\n}\nclass _ExecutionContext {\n    constructor(parent, instance, className, vars) {\n        this.parent = parent;\n        this.instance = instance;\n        this.className = className;\n        this.vars = vars;\n        this.exports = [];\n    }\n    createChildWihtLocalVars() {\n        return new _ExecutionContext(this, this.instance, this.className, new Map());\n    }\n}\nclass ReturnValue {\n    constructor(value) {\n        this.value = value;\n    }\n}\nfunction createDynamicClass(_classStmt, _ctx, _visitor) {\n    const propertyDescriptors = {};\n    _classStmt.getters.forEach((getter) => {\n        // Note: use `function` instead of arrow function to capture `this`\n        propertyDescriptors[getter.name] = {\n            configurable: false,\n            get: function () {\n                const instanceCtx = new _ExecutionContext(_ctx, this, _classStmt.name, _ctx.vars);\n                return _executeFunctionStatements([], [], getter.body, instanceCtx, _visitor);\n            }\n        };\n    });\n    _classStmt.methods.forEach(function (method) {\n        const paramNames = method.params.map(param => param.name);\n        // Note: use `function` instead of arrow function to capture `this`\n        propertyDescriptors[method.name] = {\n            writable: false,\n            configurable: false,\n            value: function (...args) {\n                const instanceCtx = new _ExecutionContext(_ctx, this, _classStmt.name, _ctx.vars);\n                return _executeFunctionStatements(paramNames, args, method.body, instanceCtx, _visitor);\n            }\n        };\n    });\n    const ctorParamNames = _classStmt.constructorMethod.params.map(param => param.name);\n    // Note: use `function` instead of arrow function to capture `this`\n    const ctor = function (...args) {\n        const instanceCtx = new _ExecutionContext(_ctx, this, _classStmt.name, _ctx.vars);\n        _classStmt.fields.forEach((field) => { this[field.name] = undefined; });\n        _executeFunctionStatements(ctorParamNames, args, _classStmt.constructorMethod.body, instanceCtx, _visitor);\n    };\n    const superClass = _classStmt.parent ? _classStmt.parent.visitExpression(_visitor, _ctx) : Object;\n    ctor.prototype = Object.create(superClass.prototype, propertyDescriptors);\n    return ctor;\n}\nclass StatementInterpreter {\n    constructor(reflector) {\n        this.reflector = reflector;\n    }\n    debugAst(ast) { return debugOutputAstAsTypeScript(ast); }\n    visitDeclareVarStmt(stmt, ctx) {\n        const initialValue = stmt.value ? stmt.value.visitExpression(this, ctx) : undefined;\n        ctx.vars.set(stmt.name, initialValue);\n        if (stmt.hasModifier(StmtModifier.Exported)) {\n            ctx.exports.push(stmt.name);\n        }\n        return null;\n    }\n    visitWriteVarExpr(expr, ctx) {\n        const value = expr.value.visitExpression(this, ctx);\n        let currCtx = ctx;\n        while (currCtx != null) {\n            if (currCtx.vars.has(expr.name)) {\n                currCtx.vars.set(expr.name, value);\n                return value;\n            }\n            currCtx = currCtx.parent;\n        }\n        throw new Error(`Not declared variable ${expr.name}`);\n    }\n    visitWrappedNodeExpr(ast, ctx) {\n        throw new Error('Cannot interpret a WrappedNodeExpr.');\n    }\n    visitTypeofExpr(ast, ctx) {\n        throw new Error('Cannot interpret a TypeofExpr');\n    }\n    visitReadVarExpr(ast, ctx) {\n        let varName = ast.name;\n        if (ast.builtin != null) {\n            switch (ast.builtin) {\n                case BuiltinVar.Super:\n                    return Object.getPrototypeOf(ctx.instance);\n                case BuiltinVar.This:\n                    return ctx.instance;\n                case BuiltinVar.CatchError:\n                    varName = CATCH_ERROR_VAR$2;\n                    break;\n                case BuiltinVar.CatchStack:\n                    varName = CATCH_STACK_VAR$2;\n                    break;\n                default:\n                    throw new Error(`Unknown builtin variable ${ast.builtin}`);\n            }\n        }\n        let currCtx = ctx;\n        while (currCtx != null) {\n            if (currCtx.vars.has(varName)) {\n                return currCtx.vars.get(varName);\n            }\n            currCtx = currCtx.parent;\n        }\n        throw new Error(`Not declared variable ${varName}`);\n    }\n    visitWriteKeyExpr(expr, ctx) {\n        const receiver = expr.receiver.visitExpression(this, ctx);\n        const index = expr.index.visitExpression(this, ctx);\n        const value = expr.value.visitExpression(this, ctx);\n        receiver[index] = value;\n        return value;\n    }\n    visitWritePropExpr(expr, ctx) {\n        const receiver = expr.receiver.visitExpression(this, ctx);\n        const value = expr.value.visitExpression(this, ctx);\n        receiver[expr.name] = value;\n        return value;\n    }\n    visitInvokeMethodExpr(expr, ctx) {\n        const receiver = expr.receiver.visitExpression(this, ctx);\n        const args = this.visitAllExpressions(expr.args, ctx);\n        let result;\n        if (expr.builtin != null) {\n            switch (expr.builtin) {\n                case BuiltinMethod.ConcatArray:\n                    result = receiver.concat(...args);\n                    break;\n                case BuiltinMethod.SubscribeObservable:\n                    result = receiver.subscribe({ next: args[0] });\n                    break;\n                case BuiltinMethod.Bind:\n                    result = receiver.bind(...args);\n                    break;\n                default:\n                    throw new Error(`Unknown builtin method ${expr.builtin}`);\n            }\n        }\n        else {\n            result = receiver[expr.name].apply(receiver, args);\n        }\n        return result;\n    }\n    visitInvokeFunctionExpr(stmt, ctx) {\n        const args = this.visitAllExpressions(stmt.args, ctx);\n        const fnExpr = stmt.fn;\n        if (fnExpr instanceof ReadVarExpr && fnExpr.builtin === BuiltinVar.Super) {\n            ctx.instance.constructor.prototype.constructor.apply(ctx.instance, args);\n            return null;\n        }\n        else {\n            const fn = stmt.fn.visitExpression(this, ctx);\n            return fn.apply(null, args);\n        }\n    }\n    visitReturnStmt(stmt, ctx) {\n        return new ReturnValue(stmt.value.visitExpression(this, ctx));\n    }\n    visitDeclareClassStmt(stmt, ctx) {\n        const clazz = createDynamicClass(stmt, ctx, this);\n        ctx.vars.set(stmt.name, clazz);\n        if (stmt.hasModifier(StmtModifier.Exported)) {\n            ctx.exports.push(stmt.name);\n        }\n        return null;\n    }\n    visitExpressionStmt(stmt, ctx) {\n        return stmt.expr.visitExpression(this, ctx);\n    }\n    visitIfStmt(stmt, ctx) {\n        const condition = stmt.condition.visitExpression(this, ctx);\n        if (condition) {\n            return this.visitAllStatements(stmt.trueCase, ctx);\n        }\n        else if (stmt.falseCase != null) {\n            return this.visitAllStatements(stmt.falseCase, ctx);\n        }\n        return null;\n    }\n    visitTryCatchStmt(stmt, ctx) {\n        try {\n            return this.visitAllStatements(stmt.bodyStmts, ctx);\n        }\n        catch (e) {\n            const childCtx = ctx.createChildWihtLocalVars();\n            childCtx.vars.set(CATCH_ERROR_VAR$2, e);\n            childCtx.vars.set(CATCH_STACK_VAR$2, e.stack);\n            return this.visitAllStatements(stmt.catchStmts, childCtx);\n        }\n    }\n    visitThrowStmt(stmt, ctx) {\n        throw stmt.error.visitExpression(this, ctx);\n    }\n    visitCommentStmt(stmt, context) { return null; }\n    visitJSDocCommentStmt(stmt, context) { return null; }\n    visitInstantiateExpr(ast, ctx) {\n        const args = this.visitAllExpressions(ast.args, ctx);\n        const clazz = ast.classExpr.visitExpression(this, ctx);\n        return new clazz(...args);\n    }\n    visitLiteralExpr(ast, ctx) { return ast.value; }\n    visitExternalExpr(ast, ctx) {\n        return this.reflector.resolveExternalReference(ast.value);\n    }\n    visitConditionalExpr(ast, ctx) {\n        if (ast.condition.visitExpression(this, ctx)) {\n            return ast.trueCase.visitExpression(this, ctx);\n        }\n        else if (ast.falseCase != null) {\n            return ast.falseCase.visitExpression(this, ctx);\n        }\n        return null;\n    }\n    visitNotExpr(ast, ctx) {\n        return !ast.condition.visitExpression(this, ctx);\n    }\n    visitAssertNotNullExpr(ast, ctx) {\n        return ast.condition.visitExpression(this, ctx);\n    }\n    visitCastExpr(ast, ctx) {\n        return ast.value.visitExpression(this, ctx);\n    }\n    visitFunctionExpr(ast, ctx) {\n        const paramNames = ast.params.map((param) => param.name);\n        return _declareFn(paramNames, ast.statements, ctx, this);\n    }\n    visitDeclareFunctionStmt(stmt, ctx) {\n        const paramNames = stmt.params.map((param) => param.name);\n        ctx.vars.set(stmt.name, _declareFn(paramNames, stmt.statements, ctx, this));\n        if (stmt.hasModifier(StmtModifier.Exported)) {\n            ctx.exports.push(stmt.name);\n        }\n        return null;\n    }\n    visitBinaryOperatorExpr(ast, ctx) {\n        const lhs = () => ast.lhs.visitExpression(this, ctx);\n        const rhs = () => ast.rhs.visitExpression(this, ctx);\n        switch (ast.operator) {\n            case BinaryOperator.Equals:\n                return lhs() == rhs();\n            case BinaryOperator.Identical:\n                return lhs() === rhs();\n            case BinaryOperator.NotEquals:\n                return lhs() != rhs();\n            case BinaryOperator.NotIdentical:\n                return lhs() !== rhs();\n            case BinaryOperator.And:\n                return lhs() && rhs();\n            case BinaryOperator.Or:\n                return lhs() || rhs();\n            case BinaryOperator.Plus:\n                return lhs() + rhs();\n            case BinaryOperator.Minus:\n                return lhs() - rhs();\n            case BinaryOperator.Divide:\n                return lhs() / rhs();\n            case BinaryOperator.Multiply:\n                return lhs() * rhs();\n            case BinaryOperator.Modulo:\n                return lhs() % rhs();\n            case BinaryOperator.Lower:\n                return lhs() < rhs();\n            case BinaryOperator.LowerEquals:\n                return lhs() <= rhs();\n            case BinaryOperator.Bigger:\n                return lhs() > rhs();\n            case BinaryOperator.BiggerEquals:\n                return lhs() >= rhs();\n            default:\n                throw new Error(`Unknown operator ${ast.operator}`);\n        }\n    }\n    visitReadPropExpr(ast, ctx) {\n        let result;\n        const receiver = ast.receiver.visitExpression(this, ctx);\n        result = receiver[ast.name];\n        return result;\n    }\n    visitReadKeyExpr(ast, ctx) {\n        const receiver = ast.receiver.visitExpression(this, ctx);\n        const prop = ast.index.visitExpression(this, ctx);\n        return receiver[prop];\n    }\n    visitLiteralArrayExpr(ast, ctx) {\n        return this.visitAllExpressions(ast.entries, ctx);\n    }\n    visitLiteralMapExpr(ast, ctx) {\n        const result = {};\n        ast.entries.forEach(entry => result[entry.key] = entry.value.visitExpression(this, ctx));\n        return result;\n    }\n    visitCommaExpr(ast, context) {\n        const values = this.visitAllExpressions(ast.parts, context);\n        return values[values.length - 1];\n    }\n    visitAllExpressions(expressions, ctx) {\n        return expressions.map((expr) => expr.visitExpression(this, ctx));\n    }\n    visitAllStatements(statements, ctx) {\n        for (let i = 0; i < statements.length; i++) {\n            const stmt = statements[i];\n            const val = stmt.visitStatement(this, ctx);\n            if (val instanceof ReturnValue) {\n                return val;\n            }\n        }\n        return null;\n    }\n}\nfunction _declareFn(varNames, statements, ctx, visitor) {\n    return (...args) => _executeFunctionStatements(varNames, args, statements, ctx, visitor);\n}\nconst CATCH_ERROR_VAR$2 = 'error';\nconst CATCH_STACK_VAR$2 = 'stack';\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * An internal module of the Angular compiler that begins with component types,\n * extracts templates, and eventually produces a compiled version of the component\n * ready for linking into an application.\n *\n * @security  When compiling templates at runtime, you must ensure that the entire template comes\n * from a trusted source. Attacker-controlled data introduced by a template could expose your\n * application to XSS risks.  For more detail, see the [Security Guide](http://g.co/ng/security).\n */\nclass JitCompiler {\n    constructor(_metadataResolver, _templateParser, _styleCompiler, _viewCompiler, _ngModuleCompiler, _summaryResolver, _reflector, _jitEvaluator, _compilerConfig, _console, getExtraNgModuleProviders) {\n        this._metadataResolver = _metadataResolver;\n        this._templateParser = _templateParser;\n        this._styleCompiler = _styleCompiler;\n        this._viewCompiler = _viewCompiler;\n        this._ngModuleCompiler = _ngModuleCompiler;\n        this._summaryResolver = _summaryResolver;\n        this._reflector = _reflector;\n        this._jitEvaluator = _jitEvaluator;\n        this._compilerConfig = _compilerConfig;\n        this._console = _console;\n        this.getExtraNgModuleProviders = getExtraNgModuleProviders;\n        this._compiledTemplateCache = new Map();\n        this._compiledHostTemplateCache = new Map();\n        this._compiledDirectiveWrapperCache = new Map();\n        this._compiledNgModuleCache = new Map();\n        this._sharedStylesheetCount = 0;\n        this._addedAotSummaries = new Set();\n    }\n    compileModuleSync(moduleType) {\n        return SyncAsync.assertSync(this._compileModuleAndComponents(moduleType, true));\n    }\n    compileModuleAsync(moduleType) {\n        return Promise.resolve(this._compileModuleAndComponents(moduleType, false));\n    }\n    compileModuleAndAllComponentsSync(moduleType) {\n        return SyncAsync.assertSync(this._compileModuleAndAllComponents(moduleType, true));\n    }\n    compileModuleAndAllComponentsAsync(moduleType) {\n        return Promise.resolve(this._compileModuleAndAllComponents(moduleType, false));\n    }\n    getComponentFactory(component) {\n        const summary = this._metadataResolver.getDirectiveSummary(component);\n        return summary.componentFactory;\n    }\n    loadAotSummaries(summaries) {\n        this.clearCache();\n        this._addAotSummaries(summaries);\n    }\n    _addAotSummaries(fn) {\n        if (this._addedAotSummaries.has(fn)) {\n            return;\n        }\n        this._addedAotSummaries.add(fn);\n        const summaries = fn();\n        for (let i = 0; i < summaries.length; i++) {\n            const entry = summaries[i];\n            if (typeof entry === 'function') {\n                this._addAotSummaries(entry);\n            }\n            else {\n                const summary = entry;\n                this._summaryResolver.addSummary({ symbol: summary.type.reference, metadata: null, type: summary });\n            }\n        }\n    }\n    hasAotSummary(ref) { return !!this._summaryResolver.resolveSummary(ref); }\n    _filterJitIdentifiers(ids) {\n        return ids.map(mod => mod.reference).filter((ref) => !this.hasAotSummary(ref));\n    }\n    _compileModuleAndComponents(moduleType, isSync) {\n        return SyncAsync.then(this._loadModules(moduleType, isSync), () => {\n            this._compileComponents(moduleType, null);\n            return this._compileModule(moduleType);\n        });\n    }\n    _compileModuleAndAllComponents(moduleType, isSync) {\n        return SyncAsync.then(this._loadModules(moduleType, isSync), () => {\n            const componentFactories = [];\n            this._compileComponents(moduleType, componentFactories);\n            return {\n                ngModuleFactory: this._compileModule(moduleType),\n                componentFactories: componentFactories\n            };\n        });\n    }\n    _loadModules(mainModule, isSync) {\n        const loading = [];\n        const mainNgModule = this._metadataResolver.getNgModuleMetadata(mainModule);\n        // Note: for runtime compilation, we want to transitively compile all modules,\n        // so we also need to load the declared directives / pipes for all nested modules.\n        this._filterJitIdentifiers(mainNgModule.transitiveModule.modules).forEach((nestedNgModule) => {\n            // getNgModuleMetadata only returns null if the value passed in is not an NgModule\n            const moduleMeta = this._metadataResolver.getNgModuleMetadata(nestedNgModule);\n            this._filterJitIdentifiers(moduleMeta.declaredDirectives).forEach((ref) => {\n                const promise = this._metadataResolver.loadDirectiveMetadata(moduleMeta.type.reference, ref, isSync);\n                if (promise) {\n                    loading.push(promise);\n                }\n            });\n            this._filterJitIdentifiers(moduleMeta.declaredPipes)\n                .forEach((ref) => this._metadataResolver.getOrLoadPipeMetadata(ref));\n        });\n        return SyncAsync.all(loading);\n    }\n    _compileModule(moduleType) {\n        let ngModuleFactory = this._compiledNgModuleCache.get(moduleType);\n        if (!ngModuleFactory) {\n            const moduleMeta = this._metadataResolver.getNgModuleMetadata(moduleType);\n            // Always provide a bound Compiler\n            const extraProviders = this.getExtraNgModuleProviders(moduleMeta.type.reference);\n            const outputCtx = createOutputContext();\n            const compileResult = this._ngModuleCompiler.compile(outputCtx, moduleMeta, extraProviders);\n            ngModuleFactory = this._interpretOrJit(ngModuleJitUrl(moduleMeta), outputCtx.statements)[compileResult.ngModuleFactoryVar];\n            this._compiledNgModuleCache.set(moduleMeta.type.reference, ngModuleFactory);\n        }\n        return ngModuleFactory;\n    }\n    /**\n     * @internal\n     */\n    _compileComponents(mainModule, allComponentFactories) {\n        const ngModule = this._metadataResolver.getNgModuleMetadata(mainModule);\n        const moduleByJitDirective = new Map();\n        const templates = new Set();\n        const transJitModules = this._filterJitIdentifiers(ngModule.transitiveModule.modules);\n        transJitModules.forEach((localMod) => {\n            const localModuleMeta = this._metadataResolver.getNgModuleMetadata(localMod);\n            this._filterJitIdentifiers(localModuleMeta.declaredDirectives).forEach((dirRef) => {\n                moduleByJitDirective.set(dirRef, localModuleMeta);\n                const dirMeta = this._metadataResolver.getDirectiveMetadata(dirRef);\n                if (dirMeta.isComponent) {\n                    templates.add(this._createCompiledTemplate(dirMeta, localModuleMeta));\n                    if (allComponentFactories) {\n                        const template = this._createCompiledHostTemplate(dirMeta.type.reference, localModuleMeta);\n                        templates.add(template);\n                        allComponentFactories.push(dirMeta.componentFactory);\n                    }\n                }\n            });\n        });\n        transJitModules.forEach((localMod) => {\n            const localModuleMeta = this._metadataResolver.getNgModuleMetadata(localMod);\n            this._filterJitIdentifiers(localModuleMeta.declaredDirectives).forEach((dirRef) => {\n                const dirMeta = this._metadataResolver.getDirectiveMetadata(dirRef);\n                if (dirMeta.isComponent) {\n                    dirMeta.entryComponents.forEach((entryComponentType) => {\n                        const moduleMeta = moduleByJitDirective.get(entryComponentType.componentType);\n                        templates.add(this._createCompiledHostTemplate(entryComponentType.componentType, moduleMeta));\n                    });\n                }\n            });\n            localModuleMeta.entryComponents.forEach((entryComponentType) => {\n                if (!this.hasAotSummary(entryComponentType.componentType)) {\n                    const moduleMeta = moduleByJitDirective.get(entryComponentType.componentType);\n                    templates.add(this._createCompiledHostTemplate(entryComponentType.componentType, moduleMeta));\n                }\n            });\n        });\n        templates.forEach((template) => this._compileTemplate(template));\n    }\n    clearCacheFor(type) {\n        this._compiledNgModuleCache.delete(type);\n        this._metadataResolver.clearCacheFor(type);\n        this._compiledHostTemplateCache.delete(type);\n        const compiledTemplate = this._compiledTemplateCache.get(type);\n        if (compiledTemplate) {\n            this._compiledTemplateCache.delete(type);\n        }\n    }\n    clearCache() {\n        // Note: don't clear the _addedAotSummaries, as they don't change!\n        this._metadataResolver.clearCache();\n        this._compiledTemplateCache.clear();\n        this._compiledHostTemplateCache.clear();\n        this._compiledNgModuleCache.clear();\n    }\n    _createCompiledHostTemplate(compType, ngModule) {\n        if (!ngModule) {\n            throw new Error(`Component ${stringify(compType)} is not part of any NgModule or the module has not been imported into your module.`);\n        }\n        let compiledTemplate = this._compiledHostTemplateCache.get(compType);\n        if (!compiledTemplate) {\n            const compMeta = this._metadataResolver.getDirectiveMetadata(compType);\n            assertComponent(compMeta);\n            const hostMeta = this._metadataResolver.getHostComponentMetadata(compMeta, compMeta.componentFactory.viewDefFactory);\n            compiledTemplate =\n                new CompiledTemplate(true, compMeta.type, hostMeta, ngModule, [compMeta.type]);\n            this._compiledHostTemplateCache.set(compType, compiledTemplate);\n        }\n        return compiledTemplate;\n    }\n    _createCompiledTemplate(compMeta, ngModule) {\n        let compiledTemplate = this._compiledTemplateCache.get(compMeta.type.reference);\n        if (!compiledTemplate) {\n            assertComponent(compMeta);\n            compiledTemplate = new CompiledTemplate(false, compMeta.type, compMeta, ngModule, ngModule.transitiveModule.directives);\n            this._compiledTemplateCache.set(compMeta.type.reference, compiledTemplate);\n        }\n        return compiledTemplate;\n    }\n    _compileTemplate(template) {\n        if (template.isCompiled) {\n            return;\n        }\n        const compMeta = template.compMeta;\n        const externalStylesheetsByModuleUrl = new Map();\n        const outputContext = createOutputContext();\n        const componentStylesheet = this._styleCompiler.compileComponent(outputContext, compMeta);\n        compMeta.template.externalStylesheets.forEach((stylesheetMeta) => {\n            const compiledStylesheet = this._styleCompiler.compileStyles(createOutputContext(), compMeta, stylesheetMeta);\n            externalStylesheetsByModuleUrl.set(stylesheetMeta.moduleUrl, compiledStylesheet);\n        });\n        this._resolveStylesCompileResult(componentStylesheet, externalStylesheetsByModuleUrl);\n        const pipes = template.ngModule.transitiveModule.pipes.map(pipe => this._metadataResolver.getPipeSummary(pipe.reference));\n        const { template: parsedTemplate, pipes: usedPipes } = this._parseTemplate(compMeta, template.ngModule, template.directives);\n        const compileResult = this._viewCompiler.compileComponent(outputContext, compMeta, parsedTemplate, variable(componentStylesheet.stylesVar), usedPipes);\n        const evalResult = this._interpretOrJit(templateJitUrl(template.ngModule.type, template.compMeta), outputContext.statements);\n        const viewClass = evalResult[compileResult.viewClassVar];\n        const rendererType = evalResult[compileResult.rendererTypeVar];\n        template.compiled(viewClass, rendererType);\n    }\n    _parseTemplate(compMeta, ngModule, directiveIdentifiers) {\n        // Note: ! is ok here as components always have a template.\n        const preserveWhitespaces = compMeta.template.preserveWhitespaces;\n        const directives = directiveIdentifiers.map(dir => this._metadataResolver.getDirectiveSummary(dir.reference));\n        const pipes = ngModule.transitiveModule.pipes.map(pipe => this._metadataResolver.getPipeSummary(pipe.reference));\n        return this._templateParser.parse(compMeta, compMeta.template.htmlAst, directives, pipes, ngModule.schemas, templateSourceUrl(ngModule.type, compMeta, compMeta.template), preserveWhitespaces);\n    }\n    _resolveStylesCompileResult(result, externalStylesheetsByModuleUrl) {\n        result.dependencies.forEach((dep, i) => {\n            const nestedCompileResult = externalStylesheetsByModuleUrl.get(dep.moduleUrl);\n            const nestedStylesArr = this._resolveAndEvalStylesCompileResult(nestedCompileResult, externalStylesheetsByModuleUrl);\n            dep.setValue(nestedStylesArr);\n        });\n    }\n    _resolveAndEvalStylesCompileResult(result, externalStylesheetsByModuleUrl) {\n        this._resolveStylesCompileResult(result, externalStylesheetsByModuleUrl);\n        return this._interpretOrJit(sharedStylesheetJitUrl(result.meta, this._sharedStylesheetCount++), result.outputCtx.statements)[result.stylesVar];\n    }\n    _interpretOrJit(sourceUrl, statements) {\n        if (!this._compilerConfig.useJit) {\n            return interpretStatements(statements, this._reflector);\n        }\n        else {\n            return this._jitEvaluator.evaluateStatements(sourceUrl, statements, this._reflector, this._compilerConfig.jitDevMode);\n        }\n    }\n}\nclass CompiledTemplate {\n    constructor(isHost, compType, compMeta, ngModule, directives) {\n        this.isHost = isHost;\n        this.compType = compType;\n        this.compMeta = compMeta;\n        this.ngModule = ngModule;\n        this.directives = directives;\n        this._viewClass = null;\n        this.isCompiled = false;\n    }\n    compiled(viewClass, rendererType) {\n        this._viewClass = viewClass;\n        this.compMeta.componentViewType.setDelegate(viewClass);\n        for (let prop in rendererType) {\n            this.compMeta.rendererType[prop] = rendererType[prop];\n        }\n        this.isCompiled = true;\n    }\n}\nfunction assertComponent(meta) {\n    if (!meta.isComponent) {\n        throw new Error(`Could not compile '${identifierName(meta.type)}' because it is not a component.`);\n    }\n}\nfunction createOutputContext() {\n    const importExpr$1 = (symbol) => importExpr({ name: identifierName(symbol), moduleName: null, runtime: symbol });\n    return { statements: [], genFilePath: '', importExpr: importExpr$1, constantPool: new ConstantPool() };\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Provides access to reflection data about symbols that the compiler needs.\n */\nclass CompileReflector {\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Create a {@link UrlResolver} with no package prefix.\n */\nfunction createUrlResolverWithoutPackagePrefix() {\n    return new UrlResolver();\n}\nfunction createOfflineCompileUrlResolver() {\n    return new UrlResolver('.');\n}\nconst UrlResolver = class UrlResolverImpl {\n    constructor(_packagePrefix = null) {\n        this._packagePrefix = _packagePrefix;\n    }\n    /**\n     * Resolves the `url` given the `baseUrl`:\n     * - when the `url` is null, the `baseUrl` is returned,\n     * - if `url` is relative ('path/to/here', './path/to/here'), the resolved url is a combination of\n     * `baseUrl` and `url`,\n     * - if `url` is absolute (it has a scheme: 'http://', 'https://' or start with '/'), the `url` is\n     * returned as is (ignoring the `baseUrl`)\n     */\n    resolve(baseUrl, url) {\n        let resolvedUrl = url;\n        if (baseUrl != null && baseUrl.length > 0) {\n            resolvedUrl = _resolveUrl(baseUrl, resolvedUrl);\n        }\n        const resolvedParts = _split(resolvedUrl);\n        let prefix = this._packagePrefix;\n        if (prefix != null && resolvedParts != null &&\n            resolvedParts[_ComponentIndex.Scheme] == 'package') {\n            let path = resolvedParts[_ComponentIndex.Path];\n            prefix = prefix.replace(/\\/+$/, '');\n            path = path.replace(/^\\/+/, '');\n            return `${prefix}/${path}`;\n        }\n        return resolvedUrl;\n    }\n};\n/**\n * Extract the scheme of a URL.\n */\nfunction getUrlScheme(url) {\n    const match = _split(url);\n    return (match && match[_ComponentIndex.Scheme]) || '';\n}\n// The code below is adapted from Traceur:\n// https://github.com/google/traceur-compiler/blob/9511c1dafa972bf0de1202a8a863bad02f0f95a8/src/runtime/url.js\n/**\n * Builds a URI string from already-encoded parts.\n *\n * No encoding is performed.  Any component may be omitted as either null or\n * undefined.\n *\n * @param opt_scheme The scheme such as 'http'.\n * @param opt_userInfo The user name before the '@'.\n * @param opt_domain The domain such as 'www.google.com', already\n *     URI-encoded.\n * @param opt_port The port number.\n * @param opt_path The path, already URI-encoded.  If it is not\n *     empty, it must begin with a slash.\n * @param opt_queryData The URI-encoded query data.\n * @param opt_fragment The URI-encoded fragment identifier.\n * @return The fully combined URI.\n */\nfunction _buildFromEncodedParts(opt_scheme, opt_userInfo, opt_domain, opt_port, opt_path, opt_queryData, opt_fragment) {\n    const out = [];\n    if (opt_scheme != null) {\n        out.push(opt_scheme + ':');\n    }\n    if (opt_domain != null) {\n        out.push('//');\n        if (opt_userInfo != null) {\n            out.push(opt_userInfo + '@');\n        }\n        out.push(opt_domain);\n        if (opt_port != null) {\n            out.push(':' + opt_port);\n        }\n    }\n    if (opt_path != null) {\n        out.push(opt_path);\n    }\n    if (opt_queryData != null) {\n        out.push('?' + opt_queryData);\n    }\n    if (opt_fragment != null) {\n        out.push('#' + opt_fragment);\n    }\n    return out.join('');\n}\n/**\n * A regular expression for breaking a URI into its component parts.\n *\n * {@link http://www.gbiv.com/protocols/uri/rfc/rfc3986.html#RFC2234} says\n * As the \"first-match-wins\" algorithm is identical to the \"greedy\"\n * disambiguation method used by POSIX regular expressions, it is natural and\n * commonplace to use a regular expression for parsing the potential five\n * components of a URI reference.\n *\n * The following line is the regular expression for breaking-down a\n * well-formed URI reference into its components.\n *\n * <pre>\n * ^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?\n *  12            3  4          5       6  7        8 9\n * </pre>\n *\n * The numbers in the second line above are only to assist readability; they\n * indicate the reference points for each subexpression (i.e., each paired\n * parenthesis). We refer to the value matched for subexpression <n> as $<n>.\n * For example, matching the above expression to\n * <pre>\n *     http://www.ics.uci.edu/pub/ietf/uri/#Related\n * </pre>\n * results in the following subexpression matches:\n * <pre>\n *    $1 = http:\n *    $2 = http\n *    $3 = //www.ics.uci.edu\n *    $4 = www.ics.uci.edu\n *    $5 = /pub/ietf/uri/\n *    $6 = <undefined>\n *    $7 = <undefined>\n *    $8 = #Related\n *    $9 = Related\n * </pre>\n * where <undefined> indicates that the component is not present, as is the\n * case for the query component in the above example. Therefore, we can\n * determine the value of the five components as\n * <pre>\n *    scheme    = $2\n *    authority = $4\n *    path      = $5\n *    query     = $7\n *    fragment  = $9\n * </pre>\n *\n * The regular expression has been modified slightly to expose the\n * userInfo, domain, and port separately from the authority.\n * The modified version yields\n * <pre>\n *    $1 = http              scheme\n *    $2 = <undefined>       userInfo -\\\n *    $3 = www.ics.uci.edu   domain     | authority\n *    $4 = <undefined>       port     -/\n *    $5 = /pub/ietf/uri/    path\n *    $6 = <undefined>       query without ?\n *    $7 = Related           fragment without #\n * </pre>\n * @internal\n */\nconst _splitRe = new RegExp('^' +\n    '(?:' +\n    '([^:/?#.]+)' + // scheme - ignore special characters\n    // used by other URL parts such as :,\n    // ?, /, #, and .\n    ':)?' +\n    '(?://' +\n    '(?:([^/?#]*)@)?' + // userInfo\n    '([\\\\w\\\\d\\\\-\\\\u0100-\\\\uffff.%]*)' + // domain - restrict to letters,\n    // digits, dashes, dots, percent\n    // escapes, and unicode characters.\n    '(?::([0-9]+))?' + // port\n    ')?' +\n    '([^?#]+)?' + // path\n    '(?:\\\\?([^#]*))?' + // query\n    '(?:#(.*))?' + // fragment\n    '$');\n/**\n * The index of each URI component in the return value of goog.uri.utils.split.\n * @enum {number}\n */\nvar _ComponentIndex;\n(function (_ComponentIndex) {\n    _ComponentIndex[_ComponentIndex[\"Scheme\"] = 1] = \"Scheme\";\n    _ComponentIndex[_ComponentIndex[\"UserInfo\"] = 2] = \"UserInfo\";\n    _ComponentIndex[_ComponentIndex[\"Domain\"] = 3] = \"Domain\";\n    _ComponentIndex[_ComponentIndex[\"Port\"] = 4] = \"Port\";\n    _ComponentIndex[_ComponentIndex[\"Path\"] = 5] = \"Path\";\n    _ComponentIndex[_ComponentIndex[\"QueryData\"] = 6] = \"QueryData\";\n    _ComponentIndex[_ComponentIndex[\"Fragment\"] = 7] = \"Fragment\";\n})(_ComponentIndex || (_ComponentIndex = {}));\n/**\n * Splits a URI into its component parts.\n *\n * Each component can be accessed via the component indices; for example:\n * <pre>\n * goog.uri.utils.split(someStr)[goog.uri.utils.CompontentIndex.QUERY_DATA];\n * </pre>\n *\n * @param uri The URI string to examine.\n * @return Each component still URI-encoded.\n *     Each component that is present will contain the encoded value, whereas\n *     components that are not present will be undefined or empty, depending\n *     on the browser's regular expression implementation.  Never null, since\n *     arbitrary strings may still look like path names.\n */\nfunction _split(uri) {\n    return uri.match(_splitRe);\n}\n/**\n  * Removes dot segments in given path component, as described in\n  * RFC 3986, section 5.2.4.\n  *\n  * @param path A non-empty path component.\n  * @return Path component with removed dot segments.\n  */\nfunction _removeDotSegments(path) {\n    if (path == '/')\n        return '/';\n    const leadingSlash = path[0] == '/' ? '/' : '';\n    const trailingSlash = path[path.length - 1] === '/' ? '/' : '';\n    const segments = path.split('/');\n    const out = [];\n    let up = 0;\n    for (let pos = 0; pos < segments.length; pos++) {\n        const segment = segments[pos];\n        switch (segment) {\n            case '':\n            case '.':\n                break;\n            case '..':\n                if (out.length > 0) {\n                    out.pop();\n                }\n                else {\n                    up++;\n                }\n                break;\n            default:\n                out.push(segment);\n        }\n    }\n    if (leadingSlash == '') {\n        while (up-- > 0) {\n            out.unshift('..');\n        }\n        if (out.length === 0)\n            out.push('.');\n    }\n    return leadingSlash + out.join('/') + trailingSlash;\n}\n/**\n * Takes an array of the parts from split and canonicalizes the path part\n * and then joins all the parts.\n */\nfunction _joinAndCanonicalizePath(parts) {\n    let path = parts[_ComponentIndex.Path];\n    path = path == null ? '' : _removeDotSegments(path);\n    parts[_ComponentIndex.Path] = path;\n    return _buildFromEncodedParts(parts[_ComponentIndex.Scheme], parts[_ComponentIndex.UserInfo], parts[_ComponentIndex.Domain], parts[_ComponentIndex.Port], path, parts[_ComponentIndex.QueryData], parts[_ComponentIndex.Fragment]);\n}\n/**\n * Resolves a URL.\n * @param base The URL acting as the base URL.\n * @param to The URL to resolve.\n */\nfunction _resolveUrl(base, url) {\n    const parts = _split(encodeURI(url));\n    const baseParts = _split(base);\n    if (parts[_ComponentIndex.Scheme] != null) {\n        return _joinAndCanonicalizePath(parts);\n    }\n    else {\n        parts[_ComponentIndex.Scheme] = baseParts[_ComponentIndex.Scheme];\n    }\n    for (let i = _ComponentIndex.Scheme; i <= _ComponentIndex.Port; i++) {\n        if (parts[i] == null) {\n            parts[i] = baseParts[i];\n        }\n    }\n    if (parts[_ComponentIndex.Path][0] == '/') {\n        return _joinAndCanonicalizePath(parts);\n    }\n    let path = baseParts[_ComponentIndex.Path];\n    if (path == null)\n        path = '/';\n    const index = path.lastIndexOf('/');\n    path = path.substring(0, index + 1) + parts[_ComponentIndex.Path];\n    parts[_ComponentIndex.Path] = path;\n    return _joinAndCanonicalizePath(parts);\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nclass Extractor {\n    constructor(host, staticSymbolResolver, messageBundle, metadataResolver) {\n        this.host = host;\n        this.staticSymbolResolver = staticSymbolResolver;\n        this.messageBundle = messageBundle;\n        this.metadataResolver = metadataResolver;\n    }\n    extract(rootFiles) {\n        const { files, ngModules } = analyzeAndValidateNgModules(rootFiles, this.host, this.staticSymbolResolver, this.metadataResolver);\n        return Promise\n            .all(ngModules.map(ngModule => this.metadataResolver.loadNgModuleDirectiveAndPipeMetadata(ngModule.type.reference, false)))\n            .then(() => {\n            const errors = [];\n            files.forEach(file => {\n                const compMetas = [];\n                file.directives.forEach(directiveType => {\n                    const dirMeta = this.metadataResolver.getDirectiveMetadata(directiveType);\n                    if (dirMeta && dirMeta.isComponent) {\n                        compMetas.push(dirMeta);\n                    }\n                });\n                compMetas.forEach(compMeta => {\n                    const html = compMeta.template.template;\n                    // Template URL points to either an HTML or TS file depending on\n                    // whether the file is used with `templateUrl:` or `template:`,\n                    // respectively.\n                    const templateUrl = compMeta.template.templateUrl;\n                    const interpolationConfig = InterpolationConfig.fromArray(compMeta.template.interpolation);\n                    errors.push(...this.messageBundle.updateFromTemplate(html, templateUrl, interpolationConfig));\n                });\n            });\n            if (errors.length) {\n                throw new Error(errors.map(e => e.toString()).join('\\n'));\n            }\n            return this.messageBundle;\n        });\n    }\n    static create(host, locale) {\n        const htmlParser = new HtmlParser();\n        const urlResolver = createAotUrlResolver(host);\n        const symbolCache = new StaticSymbolCache();\n        const summaryResolver = new AotSummaryResolver(host, symbolCache);\n        const staticSymbolResolver = new StaticSymbolResolver(host, symbolCache, summaryResolver);\n        const staticReflector = new StaticReflector(summaryResolver, staticSymbolResolver);\n        const config = new CompilerConfig({ defaultEncapsulation: ViewEncapsulation.Emulated, useJit: false });\n        const normalizer = new DirectiveNormalizer({ get: (url) => host.loadResource(url) }, urlResolver, htmlParser, config);\n        const elementSchemaRegistry = new DomElementSchemaRegistry();\n        const resolver = new CompileMetadataResolver(config, htmlParser, new NgModuleResolver(staticReflector), new DirectiveResolver(staticReflector), new PipeResolver(staticReflector), summaryResolver, elementSchemaRegistry, normalizer, console, symbolCache, staticReflector);\n        // TODO(vicb): implicit tags & attributes\n        const messageBundle = new MessageBundle(htmlParser, [], {}, locale);\n        const extractor = new Extractor(host, staticSymbolResolver, messageBundle, resolver);\n        return { extractor, staticReflector };\n    }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Processes `Target`s with a given set of directives and performs a binding operation, which\n * returns an object similar to TypeScript's `ts.TypeChecker` that contains knowledge about the\n * target.\n */\nclass R3TargetBinder {\n    constructor(directiveMatcher) {\n        this.directiveMatcher = directiveMatcher;\n    }\n    /**\n     * Perform a binding operation on the given `Target` and return a `BoundTarget` which contains\n     * metadata about the types referenced in the template.\n     */\n    bind(target) {\n        if (!target.template) {\n            // TODO(alxhub): handle targets which contain things like HostBindings, etc.\n            throw new Error('Binding without a template not yet supported');\n        }\n        // First, parse the template into a `Scope` structure. This operation captures the syntactic\n        // scopes in the template and makes them available for later use.\n        const scope = Scope.apply(target.template);\n        // Next, perform directive matching on the template using the `DirectiveBinder`. This returns:\n        //   - directives: Map of nodes (elements & ng-templates) to the directives on them.\n        //   - bindings: Map of inputs, outputs, and attributes to the directive/element that claims\n        //     them. TODO(alxhub): handle multiple directives claiming an input/output/etc.\n        //   - references: Map of #references to their targets.\n        const { directives, bindings, references } = DirectiveBinder.apply(target.template, this.directiveMatcher);\n        // Finally, run the TemplateBinder to bind references, variables, and other entities within the\n        // template. This extracts all the metadata that doesn't depend on directive matching.\n        const { expressions, symbols, nestingLevel, usedPipes } = TemplateBinder.apply(target.template, scope);\n        return new R3BoundTarget(target, directives, bindings, references, expressions, symbols, nestingLevel, usedPipes);\n    }\n}\n/**\n * Represents a binding scope within a template.\n *\n * Any variables, references, or other named entities declared within the template will\n * be captured and available by name in `namedEntities`. Additionally, child templates will\n * be analyzed and have their child `Scope`s available in `childScopes`.\n */\nclass Scope {\n    constructor(parentScope) {\n        this.parentScope = parentScope;\n        /**\n         * Named members of the `Scope`, such as `Reference`s or `Variable`s.\n         */\n        this.namedEntities = new Map();\n        /**\n         * Child `Scope`s for immediately nested `Template`s.\n         */\n        this.childScopes = new Map();\n    }\n    /**\n     * Process a template (either as a `Template` sub-template with variables, or a plain array of\n     * template `Node`s) and construct its `Scope`.\n     */\n    static apply(template) {\n        const scope = new Scope();\n        scope.ingest(template);\n        return scope;\n    }\n    /**\n     * Internal method to process the template and populate the `Scope`.\n     */\n    ingest(template) {\n        if (template instanceof Template) {\n            // Variables on an <ng-template> are defined in the inner scope.\n            template.variables.forEach(node => this.visitVariable(node));\n            // Process the nodes of the template.\n            template.children.forEach(node => node.visit(this));\n        }\n        else {\n            // No overarching `Template` instance, so process the nodes directly.\n            template.forEach(node => node.visit(this));\n        }\n    }\n    visitElement(element) {\n        // `Element`s in the template may have `Reference`s which are captured in the scope.\n        element.references.forEach(node => this.visitReference(node));\n        // Recurse into the `Element`'s children.\n        element.children.forEach(node => node.visit(this));\n    }\n    visitTemplate(template) {\n        // References on a <ng-template> are defined in the outer scope, so capture them before\n        // processing the template's child scope.\n        template.references.forEach(node => this.visitReference(node));\n        // Next, create an inner scope and process the template within it.\n        const scope = new Scope(this);\n        scope.ingest(template);\n        this.childScopes.set(template, scope);\n    }\n    visitVariable(variable) {\n        // Declare the variable if it's not already.\n        this.maybeDeclare(variable);\n    }\n    visitReference(reference) {\n        // Declare the variable if it's not already.\n        this.maybeDeclare(reference);\n    }\n    // Unused visitors.\n    visitContent(content) { }\n    visitBoundAttribute(attr) { }\n    visitBoundEvent(event) { }\n    visitBoundText(text) { }\n    visitText(text) { }\n    visitTextAttribute(attr) { }\n    visitIcu(icu) { }\n    maybeDeclare(thing) {\n        // Declare something with a name, as long as that name isn't taken.\n        if (!this.namedEntities.has(thing.name)) {\n            this.namedEntities.set(thing.name, thing);\n        }\n    }\n    /**\n     * Look up a variable within this `Scope`.\n     *\n     * This can recurse into a parent `Scope` if it's available.\n     */\n    lookup(name) {\n        if (this.namedEntities.has(name)) {\n            // Found in the local scope.\n            return this.namedEntities.get(name);\n        }\n        else if (this.parentScope !== undefined) {\n            // Not in the local scope, but there's a parent scope so check there.\n            return this.parentScope.lookup(name);\n        }\n        else {\n            // At the top level and it wasn't found.\n            return null;\n        }\n    }\n    /**\n     * Get the child scope for a `Template`.\n     *\n     * This should always be defined.\n     */\n    getChildScope(template) {\n        const res = this.childScopes.get(template);\n        if (res === undefined) {\n            throw new Error(`Assertion error: child scope for ${template} not found`);\n        }\n        return res;\n    }\n}\n/**\n * Processes a template and matches directives on nodes (elements and templates).\n *\n * Usually used via the static `apply()` method.\n */\nclass DirectiveBinder {\n    constructor(matcher, directives, bindings, references) {\n        this.matcher = matcher;\n        this.directives = directives;\n        this.bindings = bindings;\n        this.references = references;\n    }\n    /**\n     * Process a template (list of `Node`s) and perform directive matching against each node.\n     *\n     * @param template the list of template `Node`s to match (recursively).\n     * @param selectorMatcher a `SelectorMatcher` containing the directives that are in scope for\n     * this template.\n     * @returns three maps which contain information about directives in the template: the\n     * `directives` map which lists directives matched on each node, the `bindings` map which\n     * indicates which directives claimed which bindings (inputs, outputs, etc), and the `references`\n     * map which resolves #references (`Reference`s) within the template to the named directive or\n     * template node.\n     */\n    static apply(template, selectorMatcher) {\n        const directives = new Map();\n        const bindings = new Map();\n        const references = new Map();\n        const matcher = new DirectiveBinder(selectorMatcher, directives, bindings, references);\n        matcher.ingest(template);\n        return { directives, bindings, references };\n    }\n    ingest(template) { template.forEach(node => node.visit(this)); }\n    visitElement(element) { this.visitElementOrTemplate(element.name, element); }\n    visitTemplate(template) { this.visitElementOrTemplate('ng-template', template); }\n    visitElementOrTemplate(tag, node) {\n        // First, determine the HTML shape of the node for the purpose of directive matching.\n        // Do this by building up a `CssSelector` for the node.\n        const cssSelector = new CssSelector();\n        cssSelector.setElement(tag);\n        // Add attributes to the CSS selector.\n        const attrs = getAttrsForDirectiveMatching(node);\n        Object.getOwnPropertyNames(attrs).forEach((name) => {\n            const value = attrs[name];\n            cssSelector.addAttribute(name, value);\n            // Treat the 'class' attribute specially.\n            if (name.toLowerCase() === 'class') {\n                const classes = value.trim().split(/\\s+/g);\n                classes.forEach(className => cssSelector.addClassName(className));\n            }\n        });\n        // Next, use the `SelectorMatcher` to get the list of directives on the node.\n        const directives = [];\n        this.matcher.match(cssSelector, (_, directive) => directives.push(directive));\n        if (directives.length > 0) {\n            this.directives.set(node, directives);\n        }\n        // Resolve any references that are created on this node.\n        node.references.forEach(ref => {\n            let dirTarget = null;\n            // If the reference expression is empty, then it matches the \"primary\" directive on the node\n            // (if there is one). Otherwise it matches the host node itself (either an element or\n            // <ng-template> node).\n            if (ref.value.trim() === '') {\n                // This could be a reference to a component if there is one.\n                dirTarget = directives.find(dir => dir.isComponent) || null;\n            }\n            else {\n                // This is a reference to a directive exported via exportAs. One should exist.\n                dirTarget =\n                    directives.find(dir => dir.exportAs !== null && dir.exportAs.some(value => value === ref.value)) ||\n                        null;\n                // Check if a matching directive was found, and error if it wasn't.\n                if (dirTarget === null) {\n                    // TODO(alxhub): Return an error value here that can be used for template validation.\n                    throw new Error(`Assertion error: failed to find directive with exportAs: ${ref.value}`);\n                }\n            }\n            if (dirTarget !== null) {\n                // This reference points to a directive.\n                this.references.set(ref, { directive: dirTarget, node });\n            }\n            else {\n                // This reference points to the node itself.\n                this.references.set(ref, node);\n            }\n        });\n        // Associate attributes/bindings on the node with directives or with the node itself.\n        const processAttribute = (attribute) => {\n            let dir = directives.find(dir => dir.inputs.hasOwnProperty(attribute.name));\n            if (dir !== undefined) {\n                this.bindings.set(attribute, dir);\n            }\n            else {\n                this.bindings.set(attribute, node);\n            }\n        };\n        node.attributes.forEach(processAttribute);\n        node.inputs.forEach(processAttribute);\n        node.outputs.forEach(processAttribute);\n        if (node instanceof Template) {\n            node.templateAttrs.forEach(processAttribute);\n        }\n        // Recurse into the node's children.\n        node.children.forEach(child => child.visit(this));\n    }\n    // Unused visitors.\n    visitContent(content) { }\n    visitVariable(variable) { }\n    visitReference(reference) { }\n    visitTextAttribute(attribute) { }\n    visitBoundAttribute(attribute) { }\n    visitBoundEvent(attribute) { }\n    visitBoundAttributeOrEvent(node) { }\n    visitText(text) { }\n    visitBoundText(text) { }\n    visitIcu(icu) { }\n}\n/**\n * Processes a template and extract metadata about expressions and symbols within.\n *\n * This is a companion to the `DirectiveBinder` that doesn't require knowledge of directives matched\n * within the template in order to operate.\n *\n * Expressions are visited by the superclass `RecursiveAstVisitor`, with custom logic provided\n * by overridden methods from that visitor.\n */\nclass TemplateBinder extends RecursiveAstVisitor$1 {\n    constructor(bindings, symbols, usedPipes, nestingLevel, scope, template, level) {\n        super();\n        this.bindings = bindings;\n        this.symbols = symbols;\n        this.usedPipes = usedPipes;\n        this.nestingLevel = nestingLevel;\n        this.scope = scope;\n        this.template = template;\n        this.level = level;\n        this.pipesUsed = [];\n        // Save a bit of processing time by constructing this closure in advance.\n        this.visitNode = (node) => node.visit(this);\n    }\n    /**\n     * Process a template and extract metadata about expressions and symbols within.\n     *\n     * @param template the nodes of the template to process\n     * @param scope the `Scope` of the template being processed.\n     * @returns three maps which contain metadata about the template: `expressions` which interprets\n     * special `AST` nodes in expressions as pointing to references or variables declared within the\n     * template, `symbols` which maps those variables and references to the nested `Template` which\n     * declares them, if any, and `nestingLevel` which associates each `Template` with a integer\n     * nesting level (how many levels deep within the template structure the `Template` is), starting\n     * at 1.\n     */\n    static apply(template, scope) {\n        const expressions = new Map();\n        const symbols = new Map();\n        const nestingLevel = new Map();\n        const usedPipes = new Set();\n        // The top-level template has nesting level 0.\n        const binder = new TemplateBinder(expressions, symbols, usedPipes, nestingLevel, scope, template instanceof Template ? template : null, 0);\n        binder.ingest(template);\n        return { expressions, symbols, nestingLevel, usedPipes };\n    }\n    ingest(template) {\n        if (template instanceof Template) {\n            // For <ng-template>s, process only variables and child nodes. Inputs, outputs, templateAttrs,\n            // and references were all processed in the scope of the containing template.\n            template.variables.forEach(this.visitNode);\n            template.children.forEach(this.visitNode);\n            // Set the nesting level.\n            this.nestingLevel.set(template, this.level);\n        }\n        else {\n            // Visit each node from the top-level template.\n            template.forEach(this.visitNode);\n        }\n    }\n    visitElement(element) {\n        // Visit the inputs, outputs, and children of the element.\n        element.inputs.forEach(this.visitNode);\n        element.outputs.forEach(this.visitNode);\n        element.children.forEach(this.visitNode);\n    }\n    visitTemplate(template) {\n        // First, visit inputs, outputs and template attributes of the template node.\n        template.inputs.forEach(this.visitNode);\n        template.outputs.forEach(this.visitNode);\n        template.templateAttrs.forEach(this.visitNode);\n        // References are also evaluated in the outer context.\n        template.references.forEach(this.visitNode);\n        // Next, recurse into the template using its scope, and bumping the nesting level up by one.\n        const childScope = this.scope.getChildScope(template);\n        const binder = new TemplateBinder(this.bindings, this.symbols, this.usedPipes, this.nestingLevel, childScope, template, this.level + 1);\n        binder.ingest(template);\n    }\n    visitVariable(variable) {\n        // Register the `Variable` as a symbol in the current `Template`.\n        if (this.template !== null) {\n            this.symbols.set(variable, this.template);\n        }\n    }\n    visitReference(reference) {\n        // Register the `Reference` as a symbol in the current `Template`.\n        if (this.template !== null) {\n            this.symbols.set(reference, this.template);\n        }\n    }\n    // Unused template visitors\n    visitText(text) { }\n    visitContent(content) { }\n    visitTextAttribute(attribute) { }\n    visitIcu(icu) { }\n    // The remaining visitors are concerned with processing AST expressions within template bindings\n    visitBoundAttribute(attribute) { attribute.value.visit(this); }\n    visitBoundEvent(event) { event.handler.visit(this); }\n    visitBoundText(text) { text.value.visit(this); }\n    visitPipe(ast, context) {\n        this.usedPipes.add(ast.name);\n        return super.visitPipe(ast, context);\n    }\n    // These five types of AST expressions can refer to expression roots, which could be variables\n    // or references in the current scope.\n    visitPropertyRead(ast, context) {\n        this.maybeMap(context, ast, ast.name);\n        return super.visitPropertyRead(ast, context);\n    }\n    visitSafePropertyRead(ast, context) {\n        this.maybeMap(context, ast, ast.name);\n        return super.visitSafePropertyRead(ast, context);\n    }\n    visitPropertyWrite(ast, context) {\n        this.maybeMap(context, ast, ast.name);\n        return super.visitPropertyWrite(ast, context);\n    }\n    visitMethodCall(ast, context) {\n        this.maybeMap(context, ast, ast.name);\n        return super.visitMethodCall(ast, context);\n    }\n    visitSafeMethodCall(ast, context) {\n        this.maybeMap(context, ast, ast.name);\n        return super.visitSafeMethodCall(ast, context);\n    }\n    maybeMap(scope, ast, name) {\n        // If the receiver of the expression isn't the `ImplicitReceiver`, this isn't the root of an\n        // `AST` expression that maps to a `Variable` or `Reference`.\n        if (!(ast.receiver instanceof ImplicitReceiver)) {\n            return;\n        }\n        // Check whether the name exists in the current scope. If so, map it. Otherwise, the name is\n        // probably a property on the top-level component context.\n        let target = this.scope.lookup(name);\n        if (target !== null) {\n            this.bindings.set(ast, target);\n        }\n    }\n}\n/**\n * Metadata container for a `Target` that allows queries for specific bits of metadata.\n *\n * See `BoundTarget` for documentation on the individual methods.\n */\nclass R3BoundTarget {\n    constructor(target, directives, bindings, references, exprTargets, symbols, nestingLevel, usedPipes) {\n        this.target = target;\n        this.directives = directives;\n        this.bindings = bindings;\n        this.references = references;\n        this.exprTargets = exprTargets;\n        this.symbols = symbols;\n        this.nestingLevel = nestingLevel;\n        this.usedPipes = usedPipes;\n    }\n    getDirectivesOfNode(node) {\n        return this.directives.get(node) || null;\n    }\n    getReferenceTarget(ref) {\n        return this.references.get(ref) || null;\n    }\n    getConsumerOfBinding(binding) {\n        return this.bindings.get(binding) || null;\n    }\n    getExpressionTarget(expr) {\n        return this.exprTargets.get(expr) || null;\n    }\n    getTemplateOfSymbol(symbol) {\n        return this.symbols.get(symbol) || null;\n    }\n    getNestingLevel(template) { return this.nestingLevel.get(template) || 0; }\n    getUsedDirectives() {\n        const set = new Set();\n        this.directives.forEach(dirs => dirs.forEach(dir => set.add(dir)));\n        return Array.from(set.values());\n    }\n    getUsedPipes() { return Array.from(this.usedPipes); }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n// This file only reexports content of the `src` folder. Keep it that way.\n// This function call has a global side effects and publishes the compiler into global namespace for\n// the late binding of the Compiler to the @angular/core for jit compilation.\npublishFacade(_global);\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n// This file only reexports content of the `src` folder. Keep it that way.\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\n//# sourceMappingURL=compiler.js.map\n\n\n/***/ }),\n\n/***/ \"./node_modules/@angular/core/fesm2015/core.js\":\n/*!*****************************************************!*\\\n  !*** ./node_modules/@angular/core/fesm2015/core.js ***!\n  \\*****************************************************/\n/*! exports provided: ɵangular_packages_core_core_q, ɵangular_packages_core_core_n, ɵangular_packages_core_core_o, ɵangular_packages_core_core_p, ɵangular_packages_core_core_r, ɵangular_packages_core_core_f, ɵangular_packages_core_core_l, ɵangular_packages_core_core_m, ɵangular_packages_core_core_k, ɵangular_packages_core_core_j, ɵangular_packages_core_core_b, ɵangular_packages_core_core_a, ɵangular_packages_core_core_c, ɵangular_packages_core_core_d, ɵangular_packages_core_core_e, ɵangular_packages_core_core_i, ɵangular_packages_core_core_s, ɵangular_packages_core_core_u, ɵangular_packages_core_core_t, ɵangular_packages_core_core_x, ɵangular_packages_core_core_v, ɵangular_packages_core_core_w, ɵangular_packages_core_core_ba, ɵangular_packages_core_core_bb, ɵangular_packages_core_core_bc, ɵangular_packages_core_core_bd, ɵangular_packages_core_core_be, ɵangular_packages_core_core_bm, ɵangular_packages_core_core_bl, ɵangular_packages_core_core_g, ɵangular_packages_core_core_h, ɵangular_packages_core_core_bg, ɵangular_packages_core_core_bk, ɵangular_packages_core_core_bh, ɵangular_packages_core_core_bi, ɵangular_packages_core_core_bn, ɵangular_packages_core_core_y, ɵangular_packages_core_core_z, createPlatform, assertPlatform, destroyPlatform, getPlatform, PlatformRef, ApplicationRef, createPlatformFactory, NgProbeToken, enableProdMode, isDevMode, APP_ID, PACKAGE_ROOT_URL, PLATFORM_INITIALIZER, PLATFORM_ID, APP_BOOTSTRAP_LISTENER, APP_INITIALIZER, ApplicationInitStatus, DebugElement, DebugEventListener, DebugNode, asNativeElements, getDebugNode, Testability, TestabilityRegistry, setTestabilityGetter, TRANSLATIONS, TRANSLATIONS_FORMAT, LOCALE_ID, MissingTranslationStrategy, ApplicationModule, wtfCreateScope, wtfLeave, wtfStartTimeRange, wtfEndTimeRange, Type, EventEmitter, ErrorHandler, Sanitizer, SecurityContext, Attribute, ANALYZE_FOR_ENTRY_COMPONENTS, ContentChild, ContentChildren, Query, ViewChild, ViewChildren, Component, Directive, HostBinding, HostListener, Input, Output, Pipe, NgModule, CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA, ViewEncapsulation, Version, VERSION, InjectFlags, ɵɵdefineInjectable, defineInjectable, ɵɵdefineInjector, forwardRef, resolveForwardRef, Injectable, Injector, ɵɵinject, inject, INJECTOR, ReflectiveInjector, ResolvedReflectiveFactory, ReflectiveKey, InjectionToken, Inject, Optional, Self, SkipSelf, Host, NgZone, ɵNoopNgZone, RenderComponentType, Renderer, Renderer2, RendererFactory2, RendererStyleFlags2, RootRenderer, COMPILER_OPTIONS, Compiler, CompilerFactory, ModuleWithComponentFactories, ComponentFactory, ɵComponentFactory, ComponentRef, ComponentFactoryResolver, ElementRef, NgModuleFactory, NgModuleRef, NgModuleFactoryLoader, getModuleFactory, QueryList, SystemJsNgModuleLoader, SystemJsNgModuleLoaderConfig, TemplateRef, ViewContainerRef, EmbeddedViewRef, ViewRef, ChangeDetectionStrategy, ChangeDetectorRef, DefaultIterableDiffer, IterableDiffers, KeyValueDiffers, SimpleChange, WrappedValue, platformCore, ɵALLOW_MULTIPLE_PLATFORMS, ɵAPP_ID_RANDOM_PROVIDER, ɵdefaultIterableDiffers, ɵdefaultKeyValueDiffers, ɵdevModeEqual, ɵisListLikeIterable, ɵChangeDetectorStatus, ɵisDefaultChangeDetectionStrategy, ɵConsole, ɵsetCurrentInjector, ɵgetInjectableDef, ɵAPP_ROOT, ɵDEFAULT_LOCALE_ID, ɵivyEnabled, ɵCodegenComponentFactoryResolver, ɵclearResolutionOfComponentResourcesQueue, ɵresolveComponentResources, ɵReflectionCapabilities, ɵRenderDebugInfo, ɵ_sanitizeHtml, ɵ_sanitizeStyle, ɵ_sanitizeUrl, ɵglobal, ɵlooseIdentical, ɵstringify, ɵmakeDecorator, ɵisObservable, ɵisPromise, ɵclearOverrides, ɵinitServicesIfNeeded, ɵoverrideComponentView, ɵoverrideProvider, ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR, ɵgetLocalePluralCase, ɵfindLocaleData, ɵLOCALE_DATA, ɵLocaleDataIndex, ɵɵattribute, ɵɵattributeInterpolate1, ɵɵattributeInterpolate2, ɵɵattributeInterpolate3, ɵɵattributeInterpolate4, ɵɵattributeInterpolate5, ɵɵattributeInterpolate6, ɵɵattributeInterpolate7, ɵɵattributeInterpolate8, ɵɵattributeInterpolateV, ɵɵdefineBase, ɵɵdefineComponent, ɵɵdefineDirective, ɵɵdefinePipe, ɵɵdefineNgModule, ɵdetectChanges, ɵrenderComponent, ɵRender3ComponentFactory, ɵRender3ComponentRef, ɵɵdirectiveInject, ɵɵinjectAttribute, ɵɵinjectPipeChangeDetectorRef, ɵɵgetFactoryOf, ɵɵgetInheritedFactory, ɵɵsetComponentScope, ɵɵsetNgModuleScope, ɵɵtemplateRefExtractor, ɵɵProvidersFeature, ɵɵInheritDefinitionFeature, ɵɵNgOnChangesFeature, ɵLifecycleHooksFeature, ɵRender3NgModuleRef, ɵmarkDirty, ɵNgModuleFactory, ɵNO_CHANGE, ɵɵcontainer, ɵɵnextContext, ɵɵelementStart, ɵɵnamespaceHTML, ɵɵnamespaceMathML, ɵɵnamespaceSVG, ɵɵelement, ɵɵlistener, ɵɵtext, ɵɵtextInterpolate, ɵɵtextInterpolate1, ɵɵtextInterpolate2, ɵɵtextInterpolate3, ɵɵtextInterpolate4, ɵɵtextInterpolate5, ɵɵtextInterpolate6, ɵɵtextInterpolate7, ɵɵtextInterpolate8, ɵɵtextInterpolateV, ɵɵembeddedViewStart, ɵɵprojection, ɵɵpipeBind1, ɵɵpipeBind2, ɵɵpipeBind3, ɵɵpipeBind4, ɵɵpipeBindV, ɵɵpureFunction0, ɵɵpureFunction1, ɵɵpureFunction2, ɵɵpureFunction3, ɵɵpureFunction4, ɵɵpureFunction5, ɵɵpureFunction6, ɵɵpureFunction7, ɵɵpureFunction8, ɵɵpureFunctionV, ɵɵgetCurrentView, ɵgetDirectives, ɵgetHostElement, ɵɵrestoreView, ɵɵcontainerRefreshStart, ɵɵcontainerRefreshEnd, ɵɵqueryRefresh, ɵɵviewQuery, ɵɵstaticViewQuery, ɵɵstaticContentQuery, ɵɵloadViewQuery, ɵɵcontentQuery, ɵɵloadContentQuery, ɵɵelementEnd, ɵɵhostProperty, ɵɵproperty, ɵɵpropertyInterpolate, ɵɵpropertyInterpolate1, ɵɵpropertyInterpolate2, ɵɵpropertyInterpolate3, ɵɵpropertyInterpolate4, ɵɵpropertyInterpolate5, ɵɵpropertyInterpolate6, ɵɵpropertyInterpolate7, ɵɵpropertyInterpolate8, ɵɵpropertyInterpolateV, ɵɵupdateSyntheticHostBinding, ɵɵcomponentHostSyntheticListener, ɵɵprojectionDef, ɵɵreference, ɵɵenableBindings, ɵɵdisableBindings, ɵɵallocHostVars, ɵɵelementContainerStart, ɵɵelementContainerEnd, ɵɵelementContainer, ɵɵstyling, ɵɵstyleMap, ɵɵstyleSanitizer, ɵɵclassMap, ɵɵclassMapInterpolate1, ɵɵclassMapInterpolate2, ɵɵclassMapInterpolate3, ɵɵclassMapInterpolate4, ɵɵclassMapInterpolate5, ɵɵclassMapInterpolate6, ɵɵclassMapInterpolate7, ɵɵclassMapInterpolate8, ɵɵclassMapInterpolateV, ɵɵstyleProp, ɵɵstylePropInterpolate1, ɵɵstylePropInterpolate2, ɵɵstylePropInterpolate3, ɵɵstylePropInterpolate4, ɵɵstylePropInterpolate5, ɵɵstylePropInterpolate6, ɵɵstylePropInterpolate7, ɵɵstylePropInterpolate8, ɵɵstylePropInterpolateV, ɵɵstylingApply, ɵɵclassProp, ɵɵelementHostAttrs, ɵɵselect, ɵɵtextBinding, ɵɵtemplate, ɵɵembeddedViewEnd, ɵstore, ɵɵload, ɵɵpipe, ɵwhenRendered, ɵɵi18n, ɵɵi18nAttributes, ɵɵi18nExp, ɵɵi18nStart, ɵɵi18nEnd, ɵɵi18nApply, ɵɵi18nPostprocess, ɵi18nConfigureLocalize, ɵɵi18nLocalize, ɵsetLocaleId, ɵsetClassMetadata, ɵɵresolveWindow, ɵɵresolveDocument, ɵɵresolveBody, ɵcompileComponent, ɵcompileDirective, ɵcompileNgModule, ɵcompileNgModuleDefs, ɵpatchComponentDefWithScope, ɵresetCompiledComponents, ɵflushModuleScopingQueueAsMuchAsPossible, ɵtransitiveScopesFor, ɵcompilePipe, ɵɵsanitizeHtml, ɵɵsanitizeStyle, ɵɵdefaultStyleSanitizer, ɵɵsanitizeScript, ɵɵsanitizeUrl, ɵɵsanitizeResourceUrl, ɵɵsanitizeUrlOrResourceUrl, ɵbypassSanitizationTrustHtml, ɵbypassSanitizationTrustStyle, ɵbypassSanitizationTrustScript, ɵbypassSanitizationTrustUrl, ɵbypassSanitizationTrustResourceUrl, ɵgetLContext, ɵNG_ELEMENT_ID, ɵNG_COMPONENT_DEF, ɵNG_DIRECTIVE_DEF, ɵNG_PIPE_DEF, ɵNG_MODULE_DEF, ɵNG_BASE_DEF, ɵNG_INJECTABLE_DEF, ɵNG_INJECTOR_DEF, ɵcompileNgModuleFactory__POST_R3__, ɵisBoundToModule__POST_R3__, ɵSWITCH_COMPILE_COMPONENT__POST_R3__, ɵSWITCH_COMPILE_DIRECTIVE__POST_R3__, ɵSWITCH_COMPILE_PIPE__POST_R3__, ɵSWITCH_COMPILE_NGMODULE__POST_R3__, ɵgetDebugNode__POST_R3__, ɵSWITCH_COMPILE_INJECTABLE__POST_R3__, ɵSWITCH_IVY_ENABLED__POST_R3__, ɵSWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__, ɵCompiler_compileModuleSync__POST_R3__, ɵCompiler_compileModuleAsync__POST_R3__, ɵCompiler_compileModuleAndAllComponentsSync__POST_R3__, ɵCompiler_compileModuleAndAllComponentsAsync__POST_R3__, ɵSWITCH_ELEMENT_REF_FACTORY__POST_R3__, ɵSWITCH_TEMPLATE_REF_FACTORY__POST_R3__, ɵSWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__, ɵSWITCH_RENDERER2_FACTORY__POST_R3__, ɵgetModuleFactory__POST_R3__, ɵregisterNgModuleType, ɵpublishGlobalUtil, ɵpublishDefaultGlobalUtils, ɵcreateInjector, ɵINJECTOR_IMPL__POST_R3__, ɵregisterModuleFactory, ɵEMPTY_ARRAY, ɵEMPTY_MAP, ɵand, ɵccf, ɵcmf, ɵcrt, ɵdid, ɵeld, ɵgetComponentViewDefinitionFactory, ɵinlineInterpolate, ɵinterpolate, ɵmod, ɵmpd, ɵncd, ɵnov, ɵpid, ɵprd, ɵpad, ɵpod, ɵppd, ɵqud, ɵted, ɵunv, ɵvid */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_q\", function() { return APPLICATION_MODULE_PROVIDERS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_n\", function() { return _iterableDiffersFactory; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_o\", function() { return _keyValueDiffersFactory; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_p\", function() { return _localeFactory; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_r\", function() { return zoneSchedulerFactory; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_f\", function() { return _appIdRandomProviderFactory; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_l\", function() { return DefaultIterableDifferFactory; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_m\", function() { return DefaultKeyValueDifferFactory; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_k\", function() { return DebugElement__PRE_R3__; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_j\", function() { return DebugNode__PRE_R3__; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_b\", function() { return NullInjector; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_a\", function() { return injectInjectorOnly; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_c\", function() { return ReflectiveInjector_; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_d\", function() { return ReflectiveDependency; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_e\", function() { return resolveReflectiveProviders; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_i\", function() { return getModuleFactory__PRE_R3__; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_s\", function() { return wtfEnabled; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_u\", function() { return createScope; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_t\", function() { return detectWTF; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_x\", function() { return endTimeRange; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_v\", function() { return leave; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_w\", function() { return startTimeRange; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_ba\", function() { return SCHEDULER; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_bb\", function() { return injectAttributeImpl; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_bc\", function() { return getLView; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_bd\", function() { return getPreviousOrParentTNode; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_be\", function() { return nextContextImpl; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_bm\", function() { return getRootContext; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_bl\", function() { return loadInternal; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_g\", function() { return createElementRef; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_h\", function() { return createTemplateRef; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_bg\", function() { return getUrlSanitizer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_bk\", function() { return noSideEffects; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_bh\", function() { return makeParamDecorator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_bi\", function() { return makePropDecorator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_bn\", function() { return getClosureSafeProperty; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_y\", function() { return _def; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_z\", function() { return DebugContext; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createPlatform\", function() { return createPlatform; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"assertPlatform\", function() { return assertPlatform; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"destroyPlatform\", function() { return destroyPlatform; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getPlatform\", function() { return getPlatform; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PlatformRef\", function() { return PlatformRef; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ApplicationRef\", function() { return ApplicationRef; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createPlatformFactory\", function() { return createPlatformFactory; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NgProbeToken\", function() { return NgProbeToken; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"enableProdMode\", function() { return enableProdMode; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isDevMode\", function() { return isDevMode; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"APP_ID\", function() { return APP_ID; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PACKAGE_ROOT_URL\", function() { return PACKAGE_ROOT_URL; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PLATFORM_INITIALIZER\", function() { return PLATFORM_INITIALIZER; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PLATFORM_ID\", function() { return PLATFORM_ID; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"APP_BOOTSTRAP_LISTENER\", function() { return APP_BOOTSTRAP_LISTENER; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"APP_INITIALIZER\", function() { return APP_INITIALIZER; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ApplicationInitStatus\", function() { return ApplicationInitStatus; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DebugElement\", function() { return DebugElement; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DebugEventListener\", function() { return DebugEventListener; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DebugNode\", function() { return DebugNode$1; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"asNativeElements\", function() { return asNativeElements; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getDebugNode\", function() { return getDebugNode; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Testability\", function() { return Testability; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TestabilityRegistry\", function() { return TestabilityRegistry; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"setTestabilityGetter\", function() { return setTestabilityGetter; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TRANSLATIONS\", function() { return TRANSLATIONS$1; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TRANSLATIONS_FORMAT\", function() { return TRANSLATIONS_FORMAT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LOCALE_ID\", function() { return LOCALE_ID$1; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MissingTranslationStrategy\", function() { return MissingTranslationStrategy; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ApplicationModule\", function() { return ApplicationModule; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"wtfCreateScope\", function() { return wtfCreateScope; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"wtfLeave\", function() { return wtfLeave; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"wtfStartTimeRange\", function() { return wtfStartTimeRange; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"wtfEndTimeRange\", function() { return wtfEndTimeRange; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Type\", function() { return Type; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"EventEmitter\", function() { return EventEmitter; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ErrorHandler\", function() { return ErrorHandler; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Sanitizer\", function() { return Sanitizer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SecurityContext\", function() { return SecurityContext; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Attribute\", function() { return Attribute; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ANALYZE_FOR_ENTRY_COMPONENTS\", function() { return ANALYZE_FOR_ENTRY_COMPONENTS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ContentChild\", function() { return ContentChild; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ContentChildren\", function() { return ContentChildren; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Query\", function() { return Query; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ViewChild\", function() { return ViewChild; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ViewChildren\", function() { return ViewChildren; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Component\", function() { return Component; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Directive\", function() { return Directive; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"HostBinding\", function() { return HostBinding; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"HostListener\", function() { return HostListener; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Input\", function() { return Input; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Output\", function() { return Output; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Pipe\", function() { return Pipe; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NgModule\", function() { return NgModule; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CUSTOM_ELEMENTS_SCHEMA\", function() { return CUSTOM_ELEMENTS_SCHEMA; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NO_ERRORS_SCHEMA\", function() { return NO_ERRORS_SCHEMA; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ViewEncapsulation\", function() { return ViewEncapsulation; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Version\", function() { return Version; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VERSION\", function() { return VERSION; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"InjectFlags\", function() { return InjectFlags; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵdefineInjectable\", function() { return ɵɵdefineInjectable; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"defineInjectable\", function() { return defineInjectable; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵdefineInjector\", function() { return ɵɵdefineInjector; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"forwardRef\", function() { return forwardRef; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"resolveForwardRef\", function() { return resolveForwardRef; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Injectable\", function() { return Injectable; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Injector\", function() { return Injector; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵinject\", function() { return ɵɵinject; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"inject\", function() { return inject; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"INJECTOR\", function() { return INJECTOR; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ReflectiveInjector\", function() { return ReflectiveInjector; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ResolvedReflectiveFactory\", function() { return ResolvedReflectiveFactory; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ReflectiveKey\", function() { return ReflectiveKey; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"InjectionToken\", function() { return InjectionToken; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Inject\", function() { return Inject; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Optional\", function() { return Optional; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Self\", function() { return Self; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SkipSelf\", function() { return SkipSelf; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Host\", function() { return Host; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NgZone\", function() { return NgZone; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵNoopNgZone\", function() { return NoopNgZone; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RenderComponentType\", function() { return RenderComponentType; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Renderer\", function() { return Renderer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Renderer2\", function() { return Renderer2; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RendererFactory2\", function() { return RendererFactory2; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RendererStyleFlags2\", function() { return RendererStyleFlags2; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RootRenderer\", function() { return RootRenderer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"COMPILER_OPTIONS\", function() { return COMPILER_OPTIONS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Compiler\", function() { return Compiler; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CompilerFactory\", function() { return CompilerFactory; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ModuleWithComponentFactories\", function() { return ModuleWithComponentFactories; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ComponentFactory\", function() { return ComponentFactory; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵComponentFactory\", function() { return ComponentFactory; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ComponentRef\", function() { return ComponentRef; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ComponentFactoryResolver\", function() { return ComponentFactoryResolver; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ElementRef\", function() { return ElementRef; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NgModuleFactory\", function() { return NgModuleFactory; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NgModuleRef\", function() { return NgModuleRef; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NgModuleFactoryLoader\", function() { return NgModuleFactoryLoader; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getModuleFactory\", function() { return getModuleFactory; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"QueryList\", function() { return QueryList; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SystemJsNgModuleLoader\", function() { return SystemJsNgModuleLoader; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SystemJsNgModuleLoaderConfig\", function() { return SystemJsNgModuleLoaderConfig; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TemplateRef\", function() { return TemplateRef; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ViewContainerRef\", function() { return ViewContainerRef; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"EmbeddedViewRef\", function() { return EmbeddedViewRef; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ViewRef\", function() { return ViewRef$1; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ChangeDetectionStrategy\", function() { return ChangeDetectionStrategy; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ChangeDetectorRef\", function() { return ChangeDetectorRef; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DefaultIterableDiffer\", function() { return DefaultIterableDiffer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"IterableDiffers\", function() { return IterableDiffers; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"KeyValueDiffers\", function() { return KeyValueDiffers; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SimpleChange\", function() { return SimpleChange; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"WrappedValue\", function() { return WrappedValue; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"platformCore\", function() { return platformCore; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵALLOW_MULTIPLE_PLATFORMS\", function() { return ALLOW_MULTIPLE_PLATFORMS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵAPP_ID_RANDOM_PROVIDER\", function() { return APP_ID_RANDOM_PROVIDER; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵdefaultIterableDiffers\", function() { return defaultIterableDiffers; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵdefaultKeyValueDiffers\", function() { return defaultKeyValueDiffers; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵdevModeEqual\", function() { return devModeEqual$1; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵisListLikeIterable\", function() { return isListLikeIterable$1; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵChangeDetectorStatus\", function() { return ChangeDetectorStatus; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵisDefaultChangeDetectionStrategy\", function() { return isDefaultChangeDetectionStrategy; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵConsole\", function() { return Console; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵsetCurrentInjector\", function() { return setCurrentInjector; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵgetInjectableDef\", function() { return getInjectableDef; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵAPP_ROOT\", function() { return APP_ROOT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵDEFAULT_LOCALE_ID\", function() { return DEFAULT_LOCALE_ID; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵivyEnabled\", function() { return ivyEnabled; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵCodegenComponentFactoryResolver\", function() { return CodegenComponentFactoryResolver; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵclearResolutionOfComponentResourcesQueue\", function() { return clearResolutionOfComponentResourcesQueue; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵresolveComponentResources\", function() { return resolveComponentResources; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵReflectionCapabilities\", function() { return ReflectionCapabilities; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵRenderDebugInfo\", function() { return RenderDebugInfo; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵ_sanitizeHtml\", function() { return _sanitizeHtml; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵ_sanitizeStyle\", function() { return _sanitizeStyle; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵ_sanitizeUrl\", function() { return _sanitizeUrl; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵglobal\", function() { return _global; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵlooseIdentical\", function() { return looseIdentical; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵstringify\", function() { return stringify; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵmakeDecorator\", function() { return makeDecorator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵisObservable\", function() { return isObservable; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵisPromise\", function() { return isPromise; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵclearOverrides\", function() { return clearOverrides; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵinitServicesIfNeeded\", function() { return initServicesIfNeeded; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵoverrideComponentView\", function() { return overrideComponentView; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵoverrideProvider\", function() { return overrideProvider; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR\", function() { return NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵgetLocalePluralCase\", function() { return getLocalePluralCase; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵfindLocaleData\", function() { return findLocaleData; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵLOCALE_DATA\", function() { return LOCALE_DATA; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵLocaleDataIndex\", function() { return LocaleDataIndex; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵattribute\", function() { return ɵɵattribute; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵattributeInterpolate1\", function() { return ɵɵattributeInterpolate1; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵattributeInterpolate2\", function() { return ɵɵattributeInterpolate2; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵattributeInterpolate3\", function() { return ɵɵattributeInterpolate3; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵattributeInterpolate4\", function() { return ɵɵattributeInterpolate4; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵattributeInterpolate5\", function() { return ɵɵattributeInterpolate5; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵattributeInterpolate6\", function() { return ɵɵattributeInterpolate6; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵattributeInterpolate7\", function() { return ɵɵattributeInterpolate7; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵattributeInterpolate8\", function() { return ɵɵattributeInterpolate8; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵattributeInterpolateV\", function() { return ɵɵattributeInterpolateV; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵdefineBase\", function() { return ɵɵdefineBase; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵdefineComponent\", function() { return ɵɵdefineComponent; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵdefineDirective\", function() { return ɵɵdefineDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵdefinePipe\", function() { return ɵɵdefinePipe; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵdefineNgModule\", function() { return ɵɵdefineNgModule; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵdetectChanges\", function() { return detectChanges; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵrenderComponent\", function() { return renderComponent; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵRender3ComponentFactory\", function() { return ComponentFactory$1; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵRender3ComponentRef\", function() { return ComponentRef$1; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵdirectiveInject\", function() { return ɵɵdirectiveInject; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵinjectAttribute\", function() { return ɵɵinjectAttribute; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵinjectPipeChangeDetectorRef\", function() { return ɵɵinjectPipeChangeDetectorRef; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵgetFactoryOf\", function() { return ɵɵgetFactoryOf; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵgetInheritedFactory\", function() { return ɵɵgetInheritedFactory; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵsetComponentScope\", function() { return ɵɵsetComponentScope; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵsetNgModuleScope\", function() { return ɵɵsetNgModuleScope; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵtemplateRefExtractor\", function() { return ɵɵtemplateRefExtractor; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵProvidersFeature\", function() { return ɵɵProvidersFeature; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵInheritDefinitionFeature\", function() { return ɵɵInheritDefinitionFeature; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵNgOnChangesFeature\", function() { return ɵɵNgOnChangesFeature; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵLifecycleHooksFeature\", function() { return LifecycleHooksFeature; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵRender3NgModuleRef\", function() { return NgModuleRef$1; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵmarkDirty\", function() { return markDirty; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵNgModuleFactory\", function() { return NgModuleFactory$1; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵNO_CHANGE\", function() { return NO_CHANGE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵcontainer\", function() { return ɵɵcontainer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵnextContext\", function() { return ɵɵnextContext; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵelementStart\", function() { return ɵɵelementStart; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵnamespaceHTML\", function() { return ɵɵnamespaceHTML; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵnamespaceMathML\", function() { return ɵɵnamespaceMathML; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵnamespaceSVG\", function() { return ɵɵnamespaceSVG; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵelement\", function() { return ɵɵelement; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵlistener\", function() { return ɵɵlistener; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵtext\", function() { return ɵɵtext; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵtextInterpolate\", function() { return ɵɵtextInterpolate; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵtextInterpolate1\", function() { return ɵɵtextInterpolate1; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵtextInterpolate2\", function() { return ɵɵtextInterpolate2; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵtextInterpolate3\", function() { return ɵɵtextInterpolate3; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵtextInterpolate4\", function() { return ɵɵtextInterpolate4; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵtextInterpolate5\", function() { return ɵɵtextInterpolate5; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵtextInterpolate6\", function() { return ɵɵtextInterpolate6; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵtextInterpolate7\", function() { return ɵɵtextInterpolate7; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵtextInterpolate8\", function() { return ɵɵtextInterpolate8; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵtextInterpolateV\", function() { return ɵɵtextInterpolateV; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵembeddedViewStart\", function() { return ɵɵembeddedViewStart; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵprojection\", function() { return ɵɵprojection; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵpipeBind1\", function() { return ɵɵpipeBind1; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵpipeBind2\", function() { return ɵɵpipeBind2; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵpipeBind3\", function() { return ɵɵpipeBind3; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵpipeBind4\", function() { return ɵɵpipeBind4; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵpipeBindV\", function() { return ɵɵpipeBindV; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵpureFunction0\", function() { return ɵɵpureFunction0; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵpureFunction1\", function() { return ɵɵpureFunction1; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵpureFunction2\", function() { return ɵɵpureFunction2; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵpureFunction3\", function() { return ɵɵpureFunction3; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵpureFunction4\", function() { return ɵɵpureFunction4; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵpureFunction5\", function() { return ɵɵpureFunction5; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵpureFunction6\", function() { return ɵɵpureFunction6; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵpureFunction7\", function() { return ɵɵpureFunction7; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵpureFunction8\", function() { return ɵɵpureFunction8; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵpureFunctionV\", function() { return ɵɵpureFunctionV; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵgetCurrentView\", function() { return ɵɵgetCurrentView; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵgetDirectives\", function() { return getDirectives; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵgetHostElement\", function() { return getHostElement; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵrestoreView\", function() { return ɵɵrestoreView; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵcontainerRefreshStart\", function() { return ɵɵcontainerRefreshStart; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵcontainerRefreshEnd\", function() { return ɵɵcontainerRefreshEnd; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵqueryRefresh\", function() { return ɵɵqueryRefresh; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵviewQuery\", function() { return ɵɵviewQuery; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵstaticViewQuery\", function() { return ɵɵstaticViewQuery; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵstaticContentQuery\", function() { return ɵɵstaticContentQuery; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵloadViewQuery\", function() { return ɵɵloadViewQuery; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵcontentQuery\", function() { return ɵɵcontentQuery; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵloadContentQuery\", function() { return ɵɵloadContentQuery; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵelementEnd\", function() { return ɵɵelementEnd; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵhostProperty\", function() { return ɵɵhostProperty; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵproperty\", function() { return ɵɵproperty; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵpropertyInterpolate\", function() { return ɵɵpropertyInterpolate; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵpropertyInterpolate1\", function() { return ɵɵpropertyInterpolate1; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵpropertyInterpolate2\", function() { return ɵɵpropertyInterpolate2; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵpropertyInterpolate3\", function() { return ɵɵpropertyInterpolate3; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵpropertyInterpolate4\", function() { return ɵɵpropertyInterpolate4; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵpropertyInterpolate5\", function() { return ɵɵpropertyInterpolate5; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵpropertyInterpolate6\", function() { return ɵɵpropertyInterpolate6; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵpropertyInterpolate7\", function() { return ɵɵpropertyInterpolate7; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵpropertyInterpolate8\", function() { return ɵɵpropertyInterpolate8; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵpropertyInterpolateV\", function() { return ɵɵpropertyInterpolateV; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵupdateSyntheticHostBinding\", function() { return ɵɵupdateSyntheticHostBinding; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵcomponentHostSyntheticListener\", function() { return ɵɵcomponentHostSyntheticListener; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵprojectionDef\", function() { return ɵɵprojectionDef; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵreference\", function() { return ɵɵreference; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵenableBindings\", function() { return ɵɵenableBindings; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵdisableBindings\", function() { return ɵɵdisableBindings; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵallocHostVars\", function() { return ɵɵallocHostVars; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵelementContainerStart\", function() { return ɵɵelementContainerStart; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵelementContainerEnd\", function() { return ɵɵelementContainerEnd; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵelementContainer\", function() { return ɵɵelementContainer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵstyling\", function() { return ɵɵstyling; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵstyleMap\", function() { return ɵɵstyleMap; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵstyleSanitizer\", function() { return ɵɵstyleSanitizer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵclassMap\", function() { return ɵɵclassMap; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵclassMapInterpolate1\", function() { return ɵɵclassMapInterpolate1; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵclassMapInterpolate2\", function() { return ɵɵclassMapInterpolate2; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵclassMapInterpolate3\", function() { return ɵɵclassMapInterpolate3; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵclassMapInterpolate4\", function() { return ɵɵclassMapInterpolate4; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵclassMapInterpolate5\", function() { return ɵɵclassMapInterpolate5; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵclassMapInterpolate6\", function() { return ɵɵclassMapInterpolate6; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵclassMapInterpolate7\", function() { return ɵɵclassMapInterpolate7; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵclassMapInterpolate8\", function() { return ɵɵclassMapInterpolate8; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵclassMapInterpolateV\", function() { return ɵɵclassMapInterpolateV; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵstyleProp\", function() { return ɵɵstyleProp; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵstylePropInterpolate1\", function() { return ɵɵstylePropInterpolate1; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵstylePropInterpolate2\", function() { return ɵɵstylePropInterpolate2; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵstylePropInterpolate3\", function() { return ɵɵstylePropInterpolate3; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵstylePropInterpolate4\", function() { return ɵɵstylePropInterpolate4; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵstylePropInterpolate5\", function() { return ɵɵstylePropInterpolate5; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵstylePropInterpolate6\", function() { return ɵɵstylePropInterpolate6; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵstylePropInterpolate7\", function() { return ɵɵstylePropInterpolate7; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵstylePropInterpolate8\", function() { return ɵɵstylePropInterpolate8; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵstylePropInterpolateV\", function() { return ɵɵstylePropInterpolateV; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵstylingApply\", function() { return ɵɵstylingApply; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵclassProp\", function() { return ɵɵclassProp; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵelementHostAttrs\", function() { return ɵɵelementHostAttrs; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵselect\", function() { return ɵɵselect; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵtextBinding\", function() { return ɵɵtextBinding; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵtemplate\", function() { return ɵɵtemplate; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵembeddedViewEnd\", function() { return ɵɵembeddedViewEnd; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵstore\", function() { return store; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵload\", function() { return ɵɵload; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵpipe\", function() { return ɵɵpipe; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵwhenRendered\", function() { return whenRendered; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵi18n\", function() { return ɵɵi18n; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵi18nAttributes\", function() { return ɵɵi18nAttributes; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵi18nExp\", function() { return ɵɵi18nExp; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵi18nStart\", function() { return ɵɵi18nStart; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵi18nEnd\", function() { return ɵɵi18nEnd; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵi18nApply\", function() { return ɵɵi18nApply; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵi18nPostprocess\", function() { return ɵɵi18nPostprocess; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵi18nConfigureLocalize\", function() { return i18nConfigureLocalize; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵi18nLocalize\", function() { return ɵɵi18nLocalize; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵsetLocaleId\", function() { return setLocaleId; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵsetClassMetadata\", function() { return setClassMetadata; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵresolveWindow\", function() { return ɵɵresolveWindow; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵresolveDocument\", function() { return ɵɵresolveDocument; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵresolveBody\", function() { return ɵɵresolveBody; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵcompileComponent\", function() { return compileComponent; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵcompileDirective\", function() { return compileDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵcompileNgModule\", function() { return compileNgModule; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵcompileNgModuleDefs\", function() { return compileNgModuleDefs; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵpatchComponentDefWithScope\", function() { return patchComponentDefWithScope; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵresetCompiledComponents\", function() { return resetCompiledComponents; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵflushModuleScopingQueueAsMuchAsPossible\", function() { return flushModuleScopingQueueAsMuchAsPossible; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵtransitiveScopesFor\", function() { return transitiveScopesFor; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵcompilePipe\", function() { return compilePipe; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵsanitizeHtml\", function() { return ɵɵsanitizeHtml; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵsanitizeStyle\", function() { return ɵɵsanitizeStyle; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵdefaultStyleSanitizer\", function() { return ɵɵdefaultStyleSanitizer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵsanitizeScript\", function() { return ɵɵsanitizeScript; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵsanitizeUrl\", function() { return ɵɵsanitizeUrl; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵsanitizeResourceUrl\", function() { return ɵɵsanitizeResourceUrl; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵɵsanitizeUrlOrResourceUrl\", function() { return ɵɵsanitizeUrlOrResourceUrl; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵbypassSanitizationTrustHtml\", function() { return bypassSanitizationTrustHtml; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵbypassSanitizationTrustStyle\", function() { return bypassSanitizationTrustStyle; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵbypassSanitizationTrustScript\", function() { return bypassSanitizationTrustScript; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵbypassSanitizationTrustUrl\", function() { return bypassSanitizationTrustUrl; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵbypassSanitizationTrustResourceUrl\", function() { return bypassSanitizationTrustResourceUrl; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵgetLContext\", function() { return getLContext; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵNG_ELEMENT_ID\", function() { return NG_ELEMENT_ID; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵNG_COMPONENT_DEF\", function() { return NG_COMPONENT_DEF; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵNG_DIRECTIVE_DEF\", function() { return NG_DIRECTIVE_DEF; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵNG_PIPE_DEF\", function() { return NG_PIPE_DEF; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵNG_MODULE_DEF\", function() { return NG_MODULE_DEF; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵNG_BASE_DEF\", function() { return NG_BASE_DEF; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵNG_INJECTABLE_DEF\", function() { return NG_INJECTABLE_DEF; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵNG_INJECTOR_DEF\", function() { return NG_INJECTOR_DEF; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵcompileNgModuleFactory__POST_R3__\", function() { return compileNgModuleFactory__POST_R3__; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵisBoundToModule__POST_R3__\", function() { return isBoundToModule__POST_R3__; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵSWITCH_COMPILE_COMPONENT__POST_R3__\", function() { return SWITCH_COMPILE_COMPONENT__POST_R3__; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵSWITCH_COMPILE_DIRECTIVE__POST_R3__\", function() { return SWITCH_COMPILE_DIRECTIVE__POST_R3__; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵSWITCH_COMPILE_PIPE__POST_R3__\", function() { return SWITCH_COMPILE_PIPE__POST_R3__; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵSWITCH_COMPILE_NGMODULE__POST_R3__\", function() { return SWITCH_COMPILE_NGMODULE__POST_R3__; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵgetDebugNode__POST_R3__\", function() { return getDebugNode__POST_R3__; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵSWITCH_COMPILE_INJECTABLE__POST_R3__\", function() { return SWITCH_COMPILE_INJECTABLE__POST_R3__; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵSWITCH_IVY_ENABLED__POST_R3__\", function() { return SWITCH_IVY_ENABLED__POST_R3__; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵSWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__\", function() { return SWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵCompiler_compileModuleSync__POST_R3__\", function() { return Compiler_compileModuleSync__POST_R3__; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵCompiler_compileModuleAsync__POST_R3__\", function() { return Compiler_compileModuleAsync__POST_R3__; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵCompiler_compileModuleAndAllComponentsSync__POST_R3__\", function() { return Compiler_compileModuleAndAllComponentsSync__POST_R3__; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵCompiler_compileModuleAndAllComponentsAsync__POST_R3__\", function() { return Compiler_compileModuleAndAllComponentsAsync__POST_R3__; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵSWITCH_ELEMENT_REF_FACTORY__POST_R3__\", function() { return SWITCH_ELEMENT_REF_FACTORY__POST_R3__; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵSWITCH_TEMPLATE_REF_FACTORY__POST_R3__\", function() { return SWITCH_TEMPLATE_REF_FACTORY__POST_R3__; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵSWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__\", function() { return SWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵSWITCH_RENDERER2_FACTORY__POST_R3__\", function() { return SWITCH_RENDERER2_FACTORY__POST_R3__; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵgetModuleFactory__POST_R3__\", function() { return getModuleFactory__POST_R3__; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵregisterNgModuleType\", function() { return registerNgModuleType; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵpublishGlobalUtil\", function() { return publishGlobalUtil; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵpublishDefaultGlobalUtils\", function() { return publishDefaultGlobalUtils; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵcreateInjector\", function() { return createInjector; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵINJECTOR_IMPL__POST_R3__\", function() { return INJECTOR_IMPL__POST_R3__; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵregisterModuleFactory\", function() { return registerModuleFactory; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵEMPTY_ARRAY\", function() { return EMPTY_ARRAY$3; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵEMPTY_MAP\", function() { return EMPTY_MAP; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵand\", function() { return anchorDef; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵccf\", function() { return createComponentFactory; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵcmf\", function() { return createNgModuleFactory; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵcrt\", function() { return createRendererType2; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵdid\", function() { return directiveDef; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵeld\", function() { return elementDef; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵgetComponentViewDefinitionFactory\", function() { return getComponentViewDefinitionFactory; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵinlineInterpolate\", function() { return inlineInterpolate; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵinterpolate\", function() { return interpolate; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵmod\", function() { return moduleDef; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵmpd\", function() { return moduleProvideDef; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵncd\", function() { return ngContentDef; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵnov\", function() { return nodeValue; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵpid\", function() { return pipeDef; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵprd\", function() { return providerDef; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵpad\", function() { return pureArrayDef; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵpod\", function() { return pureObjectDef; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵppd\", function() { return purePipeDef; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵqud\", function() { return queryDef; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵted\", function() { return textDef; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵunv\", function() { return unwrapValue; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵvid\", function() { return viewDef; });\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ \"./node_modules/rxjs/_esm2015/index.js\");\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs/operators */ \"./node_modules/rxjs/_esm2015/operators/index.js\");\n/**\n * @license Angular v8.2.14\n * (c) 2010-2019 Google LLC. https://angular.io/\n * License: MIT\n */\n\n\n\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst ANNOTATIONS = '__annotations__';\nconst PARAMETERS = '__parameters__';\nconst PROP_METADATA = '__prop__metadata__';\n/**\n * @suppress {globalThis}\n */\nfunction makeDecorator(name, props, parentClass, additionalProcessing, typeFn) {\n    const metaCtor = makeMetadataCtor(props);\n    function DecoratorFactory(...args) {\n        if (this instanceof DecoratorFactory) {\n            metaCtor.call(this, ...args);\n            return this;\n        }\n        const annotationInstance = new DecoratorFactory(...args);\n        return function TypeDecorator(cls) {\n            if (typeFn)\n                typeFn(cls, ...args);\n            // Use of Object.defineProperty is important since it creates non-enumerable property which\n            // prevents the property is copied during subclassing.\n            const annotations = cls.hasOwnProperty(ANNOTATIONS) ?\n                cls[ANNOTATIONS] :\n                Object.defineProperty(cls, ANNOTATIONS, { value: [] })[ANNOTATIONS];\n            annotations.push(annotationInstance);\n            if (additionalProcessing)\n                additionalProcessing(cls);\n            return cls;\n        };\n    }\n    if (parentClass) {\n        DecoratorFactory.prototype = Object.create(parentClass.prototype);\n    }\n    DecoratorFactory.prototype.ngMetadataName = name;\n    DecoratorFactory.annotationCls = DecoratorFactory;\n    return DecoratorFactory;\n}\nfunction makeMetadataCtor(props) {\n    return function ctor(...args) {\n        if (props) {\n            const values = props(...args);\n            for (const propName in values) {\n                this[propName] = values[propName];\n            }\n        }\n    };\n}\nfunction makeParamDecorator(name, props, parentClass) {\n    const metaCtor = makeMetadataCtor(props);\n    function ParamDecoratorFactory(...args) {\n        if (this instanceof ParamDecoratorFactory) {\n            metaCtor.apply(this, args);\n            return this;\n        }\n        const annotationInstance = new ParamDecoratorFactory(...args);\n        ParamDecorator.annotation = annotationInstance;\n        return ParamDecorator;\n        function ParamDecorator(cls, unusedKey, index) {\n            // Use of Object.defineProperty is important since it creates non-enumerable property which\n            // prevents the property is copied during subclassing.\n            const parameters = cls.hasOwnProperty(PARAMETERS) ?\n                cls[PARAMETERS] :\n                Object.defineProperty(cls, PARAMETERS, { value: [] })[PARAMETERS];\n            // there might be gaps if some in between parameters do not have annotations.\n            // we pad with nulls.\n            while (parameters.length <= index) {\n                parameters.push(null);\n            }\n            (parameters[index] = parameters[index] || []).push(annotationInstance);\n            return cls;\n        }\n    }\n    if (parentClass) {\n        ParamDecoratorFactory.prototype = Object.create(parentClass.prototype);\n    }\n    ParamDecoratorFactory.prototype.ngMetadataName = name;\n    ParamDecoratorFactory.annotationCls = ParamDecoratorFactory;\n    return ParamDecoratorFactory;\n}\nfunction makePropDecorator(name, props, parentClass, additionalProcessing) {\n    const metaCtor = makeMetadataCtor(props);\n    function PropDecoratorFactory(...args) {\n        if (this instanceof PropDecoratorFactory) {\n            metaCtor.apply(this, args);\n            return this;\n        }\n        const decoratorInstance = new PropDecoratorFactory(...args);\n        function PropDecorator(target, name) {\n            const constructor = target.constructor;\n            // Use of Object.defineProperty is important since it creates non-enumerable property which\n            // prevents the property is copied during subclassing.\n            const meta = constructor.hasOwnProperty(PROP_METADATA) ?\n                constructor[PROP_METADATA] :\n                Object.defineProperty(constructor, PROP_METADATA, { value: {} })[PROP_METADATA];\n            meta[name] = meta.hasOwnProperty(name) && meta[name] || [];\n            meta[name].unshift(decoratorInstance);\n            if (additionalProcessing)\n                additionalProcessing(target, name, ...args);\n        }\n        return PropDecorator;\n    }\n    if (parentClass) {\n        PropDecoratorFactory.prototype = Object.create(parentClass.prototype);\n    }\n    PropDecoratorFactory.prototype.ngMetadataName = name;\n    PropDecoratorFactory.annotationCls = PropDecoratorFactory;\n    return PropDecoratorFactory;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Type of the Inject decorator / constructor function.\n *\n * \\@publicApi\n * @record\n */\nfunction InjectDecorator() { }\n// WARNING: interface has both a type and a value, skipping emit\nconst ɵ0 = /**\n * @param {?} token\n * @return {?}\n */\n(token) => ({ token });\n/**\n * Inject decorator and metadata.\n *\n * \\@Annotation\n * \\@publicApi\n * @type {?}\n */\nconst Inject = makeParamDecorator('Inject', (ɵ0));\n/**\n * Type of the Optional decorator / constructor function.\n *\n * \\@publicApi\n * @record\n */\nfunction OptionalDecorator() { }\n// WARNING: interface has both a type and a value, skipping emit\n/**\n * Optional decorator and metadata.\n *\n * \\@Annotation\n * \\@publicApi\n * @type {?}\n */\nconst Optional = makeParamDecorator('Optional');\n/**\n * Type of the Self decorator / constructor function.\n *\n * \\@publicApi\n * @record\n */\nfunction SelfDecorator() { }\n// WARNING: interface has both a type and a value, skipping emit\n/**\n * Self decorator and metadata.\n *\n * \\@Annotation\n * \\@publicApi\n * @type {?}\n */\nconst Self = makeParamDecorator('Self');\n/**\n * Type of the SkipSelf decorator / constructor function.\n *\n * \\@publicApi\n * @record\n */\nfunction SkipSelfDecorator() { }\n// WARNING: interface has both a type and a value, skipping emit\n/**\n * SkipSelf decorator and metadata.\n *\n * \\@Annotation\n * \\@publicApi\n * @type {?}\n */\nconst SkipSelf = makeParamDecorator('SkipSelf');\n/**\n * Type of the Host decorator / constructor function.\n *\n * \\@publicApi\n * @record\n */\nfunction HostDecorator() { }\n// WARNING: interface has both a type and a value, skipping emit\n/**\n * Host decorator and metadata.\n *\n * \\@Annotation\n * \\@publicApi\n * @type {?}\n */\nconst Host = makeParamDecorator('Host');\n/**\n * Type of the Attribute decorator / constructor function.\n *\n * \\@publicApi\n * @record\n */\nfunction AttributeDecorator() { }\n// WARNING: interface has both a type and a value, skipping emit\nconst ɵ1 = /**\n * @param {?=} attributeName\n * @return {?}\n */\n(attributeName) => ({ attributeName });\n/**\n * Attribute decorator and metadata.\n *\n * \\@Annotation\n * \\@publicApi\n * @type {?}\n */\nconst Attribute = makeParamDecorator('Attribute', (ɵ1));\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Injection flags for DI.\n *\n * @publicApi\n */\nvar InjectFlags;\n(function (InjectFlags) {\n    // TODO(alxhub): make this 'const' when ngc no longer writes exports of it into ngfactory files.\n    /** Check self and check parent injector if needed */\n    InjectFlags[InjectFlags[\"Default\"] = 0] = \"Default\";\n    /**\n     * Specifies that an injector should retrieve a dependency from any injector until reaching the\n     * host element of the current component. (Only used with Element Injector)\n     */\n    InjectFlags[InjectFlags[\"Host\"] = 1] = \"Host\";\n    /** Don't ascend to ancestors of the node requesting injection. */\n    InjectFlags[InjectFlags[\"Self\"] = 2] = \"Self\";\n    /** Skip the node that is requesting injection. */\n    InjectFlags[InjectFlags[\"SkipSelf\"] = 4] = \"SkipSelf\";\n    /** Inject `defaultValue` instead if token not found. */\n    InjectFlags[InjectFlags[\"Optional\"] = 8] = \"Optional\";\n})(InjectFlags || (InjectFlags = {}));\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction getClosureSafeProperty(objWithPropertyToExtract) {\n    for (let key in objWithPropertyToExtract) {\n        if (objWithPropertyToExtract[key] === getClosureSafeProperty) {\n            return key;\n        }\n    }\n    throw Error('Could not find renamed property on target object.');\n}\n/**\n * Sets properties on a target object from a source object, but only if\n * the property doesn't already exist on the target object.\n * @param target The target to set properties on\n * @param source The source of the property keys and values to set\n */\nfunction fillProperties(target, source) {\n    for (const key in source) {\n        if (source.hasOwnProperty(key) && !target.hasOwnProperty(key)) {\n            target[key] = source[key];\n        }\n    }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Construct an `InjectableDef` which defines how a token will be constructed by the DI system, and\n * in which injectors (if any) it will be available.\n *\n * This should be assigned to a static `ngInjectableDef` field on a type, which will then be an\n * `InjectableType`.\n *\n * Options:\n * * `providedIn` determines which injectors will include the injectable, by either associating it\n *   with an `@NgModule` or other `InjectorType`, or by specifying that this injectable should be\n *   provided in the `'root'` injector, which will be the application-level injector in most apps.\n * * `factory` gives the zero argument function which will create an instance of the injectable.\n *   The factory can call `inject` to access the `Injector` and request injection of dependencies.\n *\n * @codeGenApi\n */\nfunction ɵɵdefineInjectable(opts) {\n    return {\n        token: opts.token, providedIn: opts.providedIn || null, factory: opts.factory,\n        value: undefined,\n    };\n}\n/**\n * @deprecated in v8, delete after v10. This API should be used only be generated code, and that\n * code should now use ɵɵdefineInjectable instead.\n * @publicApi\n */\nconst defineInjectable = ɵɵdefineInjectable;\n/**\n * Construct an `InjectorDef` which configures an injector.\n *\n * This should be assigned to a static `ngInjectorDef` field on a type, which will then be an\n * `InjectorType`.\n *\n * Options:\n *\n * * `factory`: an `InjectorType` is an instantiable type, so a zero argument `factory` function to\n *   create the type must be provided. If that factory function needs to inject arguments, it can\n *   use the `inject` function.\n * * `providers`: an optional array of providers to add to the injector. Each provider must\n *   either have a factory or point to a type which has an `ngInjectableDef` static property (the\n *   type must be an `InjectableType`).\n * * `imports`: an optional array of imports of other `InjectorType`s or `InjectorTypeWithModule`s\n *   whose providers will also be added to the injector. Locally provided types will override\n *   providers from imports.\n *\n * @publicApi\n */\nfunction ɵɵdefineInjector(options) {\n    return {\n        factory: options.factory, providers: options.providers || [], imports: options.imports || [],\n    };\n}\n/**\n * Read the `ngInjectableDef` for `type` in a way which is immune to accidentally reading inherited\n * value.\n *\n * @param type A type which may have its own (non-inherited) `ngInjectableDef`.\n */\nfunction getInjectableDef(type) {\n    const def = type[NG_INJECTABLE_DEF];\n    // The definition read above may come from a base class. `hasOwnProperty` is not sufficient to\n    // distinguish this case, as in older browsers (e.g. IE10) static property inheritance is\n    // implemented by copying the properties.\n    //\n    // Instead, the ngInjectableDef's token is compared to the type, and if they don't match then the\n    // property was not defined directly on the type itself, and was likely inherited. The definition\n    // is only returned if the type matches the def.token.\n    return def && def.token === type ? def : null;\n}\n/**\n * Read the `ngInjectableDef` for `type` or read the `ngInjectableDef` from one of its ancestors.\n *\n * @param type A type which may have `ngInjectableDef`, via inheritance.\n *\n * @deprecated Will be removed in v10, where an error will occur in the scenario if we find the\n * `ngInjectableDef` on an ancestor only.\n */\nfunction getInheritedInjectableDef(type) {\n    if (type && type[NG_INJECTABLE_DEF]) {\n        // TODO(FW-1307): Re-add ngDevMode when closure can handle it\n        // ngDevMode &&\n        console.warn(`DEPRECATED: DI is instantiating a token \"${type.name}\" that inherits its @Injectable decorator but does not provide one itself.\\n` +\n            `This will become an error in v10. Please add @Injectable() to the \"${type.name}\" class.`);\n        return type[NG_INJECTABLE_DEF];\n    }\n    else {\n        return null;\n    }\n}\n/**\n * Read the `ngInjectorDef` type in a way which is immune to accidentally reading inherited value.\n *\n * @param type type which may have `ngInjectorDef`\n */\nfunction getInjectorDef(type) {\n    return type && type.hasOwnProperty(NG_INJECTOR_DEF) ? type[NG_INJECTOR_DEF] : null;\n}\nconst NG_INJECTABLE_DEF = getClosureSafeProperty({ ngInjectableDef: getClosureSafeProperty });\nconst NG_INJECTOR_DEF = getClosureSafeProperty({ ngInjectorDef: getClosureSafeProperty });\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction stringify(token) {\n    if (typeof token === 'string') {\n        return token;\n    }\n    if (token instanceof Array) {\n        return '[' + token.map(stringify).join(', ') + ']';\n    }\n    if (token == null) {\n        return '' + token;\n    }\n    if (token.overriddenName) {\n        return `${token.overriddenName}`;\n    }\n    if (token.name) {\n        return `${token.name}`;\n    }\n    const res = token.toString();\n    if (res == null) {\n        return '' + res;\n    }\n    const newLineIndex = res.indexOf('\\n');\n    return newLineIndex === -1 ? res : res.substring(0, newLineIndex);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * An interface that a function passed into {\\@link forwardRef} has to implement.\n *\n * \\@usageNotes\n * ### Example\n *\n * {\\@example core/di/ts/forward_ref/forward_ref_spec.ts region='forward_ref_fn'}\n * \\@publicApi\n * @record\n */\nfunction ForwardRefFn() { }\n/** @type {?} */\nconst __forward_ref__ = getClosureSafeProperty({ __forward_ref__: getClosureSafeProperty });\n/**\n * Allows to refer to references which are not yet defined.\n *\n * For instance, `forwardRef` is used when the `token` which we need to refer to for the purposes of\n * DI is declared, but not yet defined. It is also used when the `token` which we use when creating\n * a query is not yet defined.\n *\n * \\@usageNotes\n * ### Example\n * {\\@example core/di/ts/forward_ref/forward_ref_spec.ts region='forward_ref'}\n * \\@publicApi\n * @param {?} forwardRefFn\n * @return {?}\n */\nfunction forwardRef(forwardRefFn) {\n    ((/** @type {?} */ (forwardRefFn))).__forward_ref__ = forwardRef;\n    ((/** @type {?} */ (forwardRefFn))).toString = (/**\n     * @return {?}\n     */\n    function () { return stringify(this()); });\n    return ((/** @type {?} */ ((/** @type {?} */ (forwardRefFn)))));\n}\n/**\n * Lazily retrieves the reference value from a forwardRef.\n *\n * Acts as the identity function when given a non-forward-ref value.\n *\n * \\@usageNotes\n * ### Example\n *\n * {\\@example core/di/ts/forward_ref/forward_ref_spec.ts region='resolve_forward_ref'}\n *\n * @see `forwardRef`\n * \\@publicApi\n * @template T\n * @param {?} type\n * @return {?}\n */\nfunction resolveForwardRef(type) {\n    /** @type {?} */\n    const fn = type;\n    if (typeof fn === 'function' && fn.hasOwnProperty(__forward_ref__) &&\n        fn.__forward_ref__ === forwardRef) {\n        return fn();\n    }\n    else {\n        return type;\n    }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst __globalThis = typeof globalThis !== 'undefined' && globalThis;\nconst __window = typeof window !== 'undefined' && window;\nconst __self = typeof self !== 'undefined' && typeof WorkerGlobalScope !== 'undefined' &&\n    self instanceof WorkerGlobalScope && self;\nconst __global = typeof global !== 'undefined' && global;\n// Always use __globalThis if available, which is the spec-defined global variable across all\n// environments, then fallback to __global first, because in Node tests both __global and\n// __window may be defined and _global should be __global in that case.\nconst _global = __globalThis || __global || __window || __self;\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar R3ResolvedDependencyType;\n(function (R3ResolvedDependencyType) {\n    R3ResolvedDependencyType[R3ResolvedDependencyType[\"Token\"] = 0] = \"Token\";\n    R3ResolvedDependencyType[R3ResolvedDependencyType[\"Attribute\"] = 1] = \"Attribute\";\n    R3ResolvedDependencyType[R3ResolvedDependencyType[\"ChangeDetectorRef\"] = 2] = \"ChangeDetectorRef\";\n})(R3ResolvedDependencyType || (R3ResolvedDependencyType = {}));\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction getCompilerFacade() {\n    const globalNg = _global['ng'];\n    if (!globalNg || !globalNg.ɵcompilerFacade) {\n        throw new Error(`Angular JIT compilation failed: '@angular/compiler' not loaded!\\n` +\n            `  - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\\n` +\n            `  - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\\n` +\n            `  - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.`);\n    }\n    return globalNg.ɵcompilerFacade;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Creates a token that can be used in a DI Provider.\n *\n * Use an `InjectionToken` whenever the type you are injecting is not reified (does not have a\n * runtime representation) such as when injecting an interface, callable type, array or\n * parameterized type.\n *\n * `InjectionToken` is parameterized on `T` which is the type of object which will be returned by\n * the `Injector`. This provides additional level of type safety.\n *\n * ```\n * interface MyInterface {...}\n * var myInterface = injector.get(new InjectionToken<MyInterface>('SomeToken'));\n * // myInterface is inferred to be MyInterface.\n * ```\n *\n * When creating an `InjectionToken`, you can optionally specify a factory function which returns\n * (possibly by creating) a default value of the parameterized type `T`. This sets up the\n * `InjectionToken` using this factory as a provider as if it was defined explicitly in the\n * application's root injector. If the factory function, which takes zero arguments, needs to inject\n * dependencies, it can do so using the `inject` function. See below for an example.\n *\n * Additionally, if a `factory` is specified you can also specify the `providedIn` option, which\n * overrides the above behavior and marks the token as belonging to a particular `\\@NgModule`. As\n * mentioned above, `'root'` is the default value for `providedIn`.\n *\n * \\@usageNotes\n * ### Basic Example\n *\n * ### Plain InjectionToken\n *\n * {\\@example core/di/ts/injector_spec.ts region='InjectionToken'}\n *\n * ### Tree-shakable InjectionToken\n *\n * {\\@example core/di/ts/injector_spec.ts region='ShakableInjectionToken'}\n *\n *\n * \\@publicApi\n * @template T\n */\nclass InjectionToken {\n    /**\n     * @param {?} _desc\n     * @param {?=} options\n     */\n    constructor(_desc, options) {\n        this._desc = _desc;\n        /**\n         * \\@internal\n         */\n        this.ngMetadataName = 'InjectionToken';\n        /** @nocollapse */ this.ngInjectableDef = undefined;\n        if (typeof options == 'number') {\n            // This is a special hack to assign __NG_ELEMENT_ID__ to this instance.\n            // __NG_ELEMENT_ID__ is Used by Ivy to determine bloom filter id.\n            // We are using it to assign `-1` which is used to identify `Injector`.\n            ((/** @type {?} */ (this))).__NG_ELEMENT_ID__ = options;\n        }\n        else if (options !== undefined) {\n            /** @nocollapse */ this.ngInjectableDef = ɵɵdefineInjectable({\n                token: this,\n                providedIn: options.providedIn || 'root',\n                factory: options.factory,\n            });\n        }\n    }\n    /**\n     * @return {?}\n     */\n    toString() { return `InjectionToken ${this._desc}`; }\n}\nif (false) {}\n/**\n * @record\n * @template T\n */\nfunction InjectableDefToken() { }\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * An InjectionToken that gets the current `Injector` for `createInjector()`-style injectors.\n *\n * Requesting this token instead of `Injector` allows `StaticInjector` to be tree-shaken from a\n * project.\n *\n * \\@publicApi\n * @type {?}\n */\nconst INJECTOR = new InjectionToken('INJECTOR', (/** @type {?} */ (-1)));\n/** @type {?} */\nconst _THROW_IF_NOT_FOUND = new Object();\n/** @type {?} */\nconst THROW_IF_NOT_FOUND = _THROW_IF_NOT_FOUND;\n/** @type {?} */\nconst NG_TEMP_TOKEN_PATH = 'ngTempTokenPath';\n/** @type {?} */\nconst NG_TOKEN_PATH = 'ngTokenPath';\n/** @type {?} */\nconst NEW_LINE = /\\n/gm;\n/** @type {?} */\nconst NO_NEW_LINE = 'ɵ';\n/** @type {?} */\nconst SOURCE = '__source';\nconst ɵ0$1 = getClosureSafeProperty;\n/** @type {?} */\nconst USE_VALUE = getClosureSafeProperty({ provide: String, useValue: ɵ0$1 });\n/**\n * Current injector value used by `inject`.\n * - `undefined`: it is an error to call `inject`\n * - `null`: `inject` can be called but there is no injector (limp-mode).\n * - Injector instance: Use the injector for resolution.\n * @type {?}\n */\nlet _currentInjector = undefined;\n/**\n * @param {?} injector\n * @return {?}\n */\nfunction setCurrentInjector(injector) {\n    /** @type {?} */\n    const former = _currentInjector;\n    _currentInjector = injector;\n    return former;\n}\n/**\n * Current implementation of inject.\n *\n * By default, it is `injectInjectorOnly`, which makes it `Injector`-only aware. It can be changed\n * to `directiveInject`, which brings in the `NodeInjector` system of ivy. It is designed this\n * way for two reasons:\n *  1. `Injector` should not depend on ivy logic.\n *  2. To maintain tree shake-ability we don't want to bring in unnecessary code.\n * @type {?}\n */\nlet _injectImplementation;\n/**\n * Sets the current inject implementation.\n * @param {?} impl\n * @return {?}\n */\nfunction setInjectImplementation(impl) {\n    /** @type {?} */\n    const previous = _injectImplementation;\n    _injectImplementation = impl;\n    return previous;\n}\n/**\n * @template T\n * @param {?} token\n * @param {?=} flags\n * @return {?}\n */\nfunction injectInjectorOnly(token, flags = InjectFlags.Default) {\n    if (_currentInjector === undefined) {\n        throw new Error(`inject() must be called from an injection context`);\n    }\n    else if (_currentInjector === null) {\n        return injectRootLimpMode(token, undefined, flags);\n    }\n    else {\n        return _currentInjector.get(token, flags & InjectFlags.Optional ? null : undefined, flags);\n    }\n}\n/**\n * @template T\n * @param {?} token\n * @param {?=} flags\n * @return {?}\n */\nfunction ɵɵinject(token, flags = InjectFlags.Default) {\n    return (_injectImplementation || injectInjectorOnly)(token, flags);\n}\n/**\n * Injects a token from the currently active injector.\n *\n * Must be used in the context of a factory function such as one defined for an\n * `InjectionToken`. Throws an error if not called from such a context.\n *\n * Within such a factory function, using this function to request injection of a dependency\n * is faster and more type-safe than providing an additional array of dependencies\n * (as has been common with `useFactory` providers).\n *\n * \\@param token The injection token for the dependency to be injected.\n * \\@param flags Optional flags that control how injection is executed.\n * The flags correspond to injection strategies that can be specified with\n * parameter decorators `\\@Host`, `\\@Self`, `\\@SkipSef`, and `\\@Optional`.\n * \\@return True if injection is successful, null otherwise.\n *\n * \\@usageNotes\n *\n * ### Example\n *\n * {\\@example core/di/ts/injector_spec.ts region='ShakableInjectionToken'}\n *\n * \\@publicApi\n * @type {?}\n */\nconst inject = ɵɵinject;\n/**\n * Injects `root` tokens in limp mode.\n *\n * If no injector exists, we can still inject tree-shakable providers which have `providedIn` set to\n * `\"root\"`. This is known as the limp mode injection. In such case the value is stored in the\n * `InjectableDef`.\n * @template T\n * @param {?} token\n * @param {?} notFoundValue\n * @param {?} flags\n * @return {?}\n */\nfunction injectRootLimpMode(token, notFoundValue, flags) {\n    /** @type {?} */\n    const injectableDef = getInjectableDef(token);\n    if (injectableDef && injectableDef.providedIn == 'root') {\n        return injectableDef.value === undefined ? injectableDef.value = injectableDef.factory() :\n            injectableDef.value;\n    }\n    if (flags & InjectFlags.Optional)\n        return null;\n    if (notFoundValue !== undefined)\n        return notFoundValue;\n    throw new Error(`Injector: NOT_FOUND [${stringify(token)}]`);\n}\n/**\n * @param {?} types\n * @return {?}\n */\nfunction injectArgs(types) {\n    /** @type {?} */\n    const args = [];\n    for (let i = 0; i < types.length; i++) {\n        /** @type {?} */\n        const arg = resolveForwardRef(types[i]);\n        if (Array.isArray(arg)) {\n            if (arg.length === 0) {\n                throw new Error('Arguments array must have arguments.');\n            }\n            /** @type {?} */\n            let type = undefined;\n            /** @type {?} */\n            let flags = InjectFlags.Default;\n            for (let j = 0; j < arg.length; j++) {\n                /** @type {?} */\n                const meta = arg[j];\n                if (meta instanceof Optional || meta.ngMetadataName === 'Optional' || meta === Optional) {\n                    flags |= InjectFlags.Optional;\n                }\n                else if (meta instanceof SkipSelf || meta.ngMetadataName === 'SkipSelf' || meta === SkipSelf) {\n                    flags |= InjectFlags.SkipSelf;\n                }\n                else if (meta instanceof Self || meta.ngMetadataName === 'Self' || meta === Self) {\n                    flags |= InjectFlags.Self;\n                }\n                else if (meta instanceof Inject || meta === Inject) {\n                    type = meta.token;\n                }\n                else {\n                    type = meta;\n                }\n            }\n            args.push(ɵɵinject((/** @type {?} */ (type)), flags));\n        }\n        else {\n            args.push(ɵɵinject(arg));\n        }\n    }\n    return args;\n}\nclass NullInjector {\n    /**\n     * @param {?} token\n     * @param {?=} notFoundValue\n     * @return {?}\n     */\n    get(token, notFoundValue = THROW_IF_NOT_FOUND) {\n        if (notFoundValue === THROW_IF_NOT_FOUND) {\n            // Intentionally left behind: With dev tools open the debugger will stop here. There is no\n            // reason why correctly written application should cause this exception.\n            // TODO(misko): uncomment the next line once `ngDevMode` works with closure.\n            // if(ngDevMode) debugger;\n            /** @type {?} */\n            const error = new Error(`NullInjectorError: No provider for ${stringify(token)}!`);\n            error.name = 'NullInjectorError';\n            throw error;\n        }\n        return notFoundValue;\n    }\n}\n/**\n * @param {?} e\n * @param {?} token\n * @param {?} injectorErrorName\n * @param {?} source\n * @return {?}\n */\nfunction catchInjectorError(e, token, injectorErrorName, source) {\n    /** @type {?} */\n    const tokenPath = e[NG_TEMP_TOKEN_PATH];\n    if (token[SOURCE]) {\n        tokenPath.unshift(token[SOURCE]);\n    }\n    e.message = formatError('\\n' + e.message, tokenPath, injectorErrorName, source);\n    e[NG_TOKEN_PATH] = tokenPath;\n    e[NG_TEMP_TOKEN_PATH] = null;\n    throw e;\n}\n/**\n * @param {?} text\n * @param {?} obj\n * @param {?} injectorErrorName\n * @param {?=} source\n * @return {?}\n */\nfunction formatError(text, obj, injectorErrorName, source = null) {\n    text = text && text.charAt(0) === '\\n' && text.charAt(1) == NO_NEW_LINE ? text.substr(2) : text;\n    /** @type {?} */\n    let context = stringify(obj);\n    if (obj instanceof Array) {\n        context = obj.map(stringify).join(' -> ');\n    }\n    else if (typeof obj === 'object') {\n        /** @type {?} */\n        let parts = (/** @type {?} */ ([]));\n        for (let key in obj) {\n            if (obj.hasOwnProperty(key)) {\n                /** @type {?} */\n                let value = obj[key];\n                parts.push(key + ':' + (typeof value === 'string' ? JSON.stringify(value) : stringify(value)));\n            }\n        }\n        context = `{${parts.join(', ')}}`;\n    }\n    return `${injectorErrorName}${source ? '(' + source + ')' : ''}[${context}]: ${text.replace(NEW_LINE, '\\n  ')}`;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * A mapping of the \\@angular/core API surface used in generated expressions to the actual symbols.\n *\n * This should be kept up to date with the public exports of \\@angular/core.\n * @type {?}\n */\nconst angularCoreDiEnv = {\n    'ɵɵdefineInjectable': ɵɵdefineInjectable,\n    'ɵɵdefineInjector': ɵɵdefineInjector,\n    'ɵɵinject': ɵɵinject,\n    'ɵɵgetFactoryOf': getFactoryOf,\n};\n/**\n * @template T\n * @param {?} type\n * @return {?}\n */\nfunction getFactoryOf(type) {\n    /** @type {?} */\n    const typeAny = (/** @type {?} */ (type));\n    /** @type {?} */\n    const def = getInjectableDef(typeAny) || getInjectorDef(typeAny);\n    if (!def || def.factory === undefined) {\n        return null;\n    }\n    return def.factory;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Represents an instance of an NgModule created via a {\\@link NgModuleFactory}.\n *\n * `NgModuleRef` provides access to the NgModule Instance as well other objects related to this\n * NgModule Instance.\n *\n * \\@publicApi\n * @abstract\n * @template T\n */\nclass NgModuleRef {\n}\nif (false) {}\n/**\n * @record\n * @template T\n */\nfunction InternalNgModuleRef() { }\nif (false) {}\n/**\n * \\@publicApi\n * @abstract\n * @template T\n */\nclass NgModuleFactory {\n}\nif (false) {}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n* Equivalent to ES6 spread, add each item to an array.\n*\n* @param items The items to add\n* @param arr The array to which you want to add the items\n*/\nfunction addAllToArray(items, arr) {\n    for (let i = 0; i < items.length; i++) {\n        arr.push(items[i]);\n    }\n}\n/**\n * Flattens an array.\n */\nfunction flatten(list, dst) {\n    if (dst === undefined)\n        dst = list;\n    for (let i = 0; i < list.length; i++) {\n        let item = list[i];\n        if (Array.isArray(item)) {\n            // we need to inline it.\n            if (dst === list) {\n                // Our assumption that the list was already flat was wrong and\n                // we need to clone flat since we need to write to it.\n                dst = list.slice(0, i);\n            }\n            flatten(item, dst);\n        }\n        else if (dst !== list) {\n            dst.push(item);\n        }\n    }\n    return dst;\n}\nfunction deepForEach(input, fn) {\n    input.forEach(value => Array.isArray(value) ? deepForEach(value, fn) : fn(value));\n}\nfunction addToArray(arr, index, value) {\n    // perf: array.push is faster than array.splice!\n    if (index >= arr.length) {\n        arr.push(value);\n    }\n    else {\n        arr.splice(index, 0, value);\n    }\n}\nfunction removeFromArray(arr, index) {\n    // perf: array.pop is faster than array.splice!\n    if (index >= arr.length - 1) {\n        return arr.pop();\n    }\n    else {\n        return arr.splice(index, 1)[0];\n    }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction assertNumber(actual, msg) {\n    if (typeof actual != 'number') {\n        throwError(msg);\n    }\n}\nfunction assertEqual(actual, expected, msg) {\n    if (actual != expected) {\n        throwError(msg);\n    }\n}\nfunction assertNotEqual(actual, expected, msg) {\n    if (actual == expected) {\n        throwError(msg);\n    }\n}\nfunction assertSame(actual, expected, msg) {\n    if (actual !== expected) {\n        throwError(msg);\n    }\n}\nfunction assertNotSame(actual, expected, msg) {\n    if (actual === expected) {\n        throwError(msg);\n    }\n}\nfunction assertLessThan(actual, expected, msg) {\n    if (actual >= expected) {\n        throwError(msg);\n    }\n}\nfunction assertGreaterThan(actual, expected, msg) {\n    if (actual <= expected) {\n        throwError(msg);\n    }\n}\nfunction assertNotDefined(actual, msg) {\n    if (actual != null) {\n        throwError(msg);\n    }\n}\nfunction assertDefined(actual, msg) {\n    if (actual == null) {\n        throwError(msg);\n    }\n}\nfunction throwError(msg) {\n    // tslint:disable-next-line\n    debugger; // Left intentionally for better debugger experience.\n    throw new Error(`ASSERTION ERROR: ${msg}`);\n}\nfunction assertDomNode(node) {\n    // If we're in a worker, `Node` will not be defined.\n    assertEqual((typeof Node !== 'undefined' && node instanceof Node) ||\n        (typeof node === 'object' && node != null &&\n            node.constructor.name === 'WebWorkerRenderNode'), true, `The provided value must be an instance of a DOM Node but got ${stringify(node)}`);\n}\nfunction assertDataInRange(arr, index) {\n    const maxLen = arr ? arr.length : 0;\n    assertLessThan(index, maxLen, `Index expected to be less than ${maxLen} but got ${index}`);\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction ngDevModeResetPerfCounters() {\n    const locationString = typeof location !== 'undefined' ? location.toString() : '';\n    const newCounters = {\n        namedConstructors: locationString.indexOf('ngDevMode=namedConstructors') != -1,\n        firstTemplatePass: 0,\n        tNode: 0,\n        tView: 0,\n        rendererCreateTextNode: 0,\n        rendererSetText: 0,\n        rendererCreateElement: 0,\n        rendererAddEventListener: 0,\n        rendererSetAttribute: 0,\n        rendererRemoveAttribute: 0,\n        rendererSetProperty: 0,\n        rendererSetClassName: 0,\n        rendererAddClass: 0,\n        rendererRemoveClass: 0,\n        rendererSetStyle: 0,\n        rendererRemoveStyle: 0,\n        rendererDestroy: 0,\n        rendererDestroyNode: 0,\n        rendererMoveNode: 0,\n        rendererRemoveNode: 0,\n        rendererAppendChild: 0,\n        rendererInsertBefore: 0,\n        rendererCreateComment: 0,\n        styleMap: 0,\n        styleMapCacheMiss: 0,\n        classMap: 0,\n        classMapCacheMiss: 0,\n        styleProp: 0,\n        stylePropCacheMiss: 0,\n        classProp: 0,\n        classPropCacheMiss: 0,\n        flushStyling: 0,\n        classesApplied: 0,\n        stylesApplied: 0,\n        stylingWritePersistedState: 0,\n        stylingReadPersistedState: 0,\n    };\n    // Make sure to refer to ngDevMode as ['ngDevMode'] for closure.\n    const allowNgDevModeTrue = locationString.indexOf('ngDevMode=false') === -1;\n    _global['ngDevMode'] = allowNgDevModeTrue && newCounters;\n    return newCounters;\n}\n/**\n * This checks to see if the `ngDevMode` has been set. If yes,\n * then we honor it, otherwise we default to dev mode with additional checks.\n *\n * The idea is that unless we are doing production build where we explicitly\n * set `ngDevMode == false` we should be helping the developer by providing\n * as much early warning and errors as possible.\n *\n * NOTE: changes to the `ngDevMode` name must be synced with `compiler-cli/src/tooling.ts`.\n */\nif (typeof ngDevMode === 'undefined' || ngDevMode) {\n    ngDevModeResetPerfCounters();\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** @enum {number} */\nconst ChangeDetectionStrategy = {\n    /**\n     * Use the `CheckOnce` strategy, meaning that automatic change detection is deactivated\n     * until reactivated by setting the strategy to `Default` (`CheckAlways`).\n     * Change detection can still be explicitly invoked.\n     * This strategy applies to all child directives and cannot be overridden.\n     */\n    OnPush: 0,\n    /**\n     * Use the default `CheckAlways` strategy, in which change detection is automatic until\n     * explicitly deactivated.\n     */\n    Default: 1,\n};\nChangeDetectionStrategy[ChangeDetectionStrategy.OnPush] = 'OnPush';\nChangeDetectionStrategy[ChangeDetectionStrategy.Default] = 'Default';\n/** @enum {number} */\nconst ChangeDetectorStatus = {\n    /**\n     * A state in which, after calling `detectChanges()`, the change detector\n     * state becomes `Checked`, and must be explicitly invoked or reactivated.\n     */\n    CheckOnce: 0,\n    /**\n     * A state in which change detection is skipped until the change detector mode\n     * becomes `CheckOnce`.\n     */\n    Checked: 1,\n    /**\n     * A state in which change detection continues automatically until explicitly\n     * deactivated.\n     */\n    CheckAlways: 2,\n    /**\n     * A state in which a change detector sub tree is not a part of the main tree and\n     * should be skipped.\n     */\n    Detached: 3,\n    /**\n     * Indicates that the change detector encountered an error checking a binding\n     * or calling a directive lifecycle method and is now in an inconsistent state. Change\n     * detectors in this state do not detect changes.\n     */\n    Errored: 4,\n    /**\n     * Indicates that the change detector has been destroyed.\n     */\n    Destroyed: 5,\n};\nChangeDetectorStatus[ChangeDetectorStatus.CheckOnce] = 'CheckOnce';\nChangeDetectorStatus[ChangeDetectorStatus.Checked] = 'Checked';\nChangeDetectorStatus[ChangeDetectorStatus.CheckAlways] = 'CheckAlways';\nChangeDetectorStatus[ChangeDetectorStatus.Detached] = 'Detached';\nChangeDetectorStatus[ChangeDetectorStatus.Errored] = 'Errored';\nChangeDetectorStatus[ChangeDetectorStatus.Destroyed] = 'Destroyed';\n/**\n * Reports whether a given strategy is currently the default for change detection.\n * @see `ChangeDetectorStatus` / `ChangeDetectorRef`\n * @param {?} changeDetectionStrategy The strategy to check.\n * @return {?} True if the given strategy is the current default, false otherwise.\n */\nfunction isDefaultChangeDetectionStrategy(changeDetectionStrategy) {\n    return changeDetectionStrategy == null ||\n        changeDetectionStrategy === ChangeDetectionStrategy.Default;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** @enum {number} */\nconst ViewEncapsulation = {\n    /**\n     * Emulate `Native` scoping of styles by adding an attribute containing surrogate id to the Host\n     * Element and pre-processing the style rules provided via {@link Component#styles styles} or\n     * {@link Component#styleUrls styleUrls}, and adding the new Host Element attribute to all\n     * selectors.\n     *\n     * This is the default option.\n     */\n    Emulated: 0,\n    /**\n     * @deprecated v6.1.0 - use {ViewEncapsulation.ShadowDom} instead.\n     * Use the native encapsulation mechanism of the renderer.\n     *\n     * For the DOM this means using the deprecated [Shadow DOM\n     * v0](https://w3c.github.io/webcomponents/spec/shadow/) and\n     * creating a ShadowRoot for Component's Host Element.\n     */\n    Native: 1,\n    /**\n     * Don't provide any template or style encapsulation.\n     */\n    None: 2,\n    /**\n     * Use Shadow DOM to encapsulate styles.\n     *\n     * For the DOM this means using modern [Shadow\n     * DOM](https://w3c.github.io/webcomponents/spec/shadow/) and\n     * creating a ShadowRoot for Component's Host Element.\n     */\n    ShadowDom: 3,\n};\nViewEncapsulation[ViewEncapsulation.Emulated] = 'Emulated';\nViewEncapsulation[ViewEncapsulation.Native] = 'Native';\nViewEncapsulation[ViewEncapsulation.None] = 'None';\nViewEncapsulation[ViewEncapsulation.ShadowDom] = 'ShadowDom';\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Convince closure compiler that the wrapped function has no side-effects.\n *\n * Closure compiler always assumes that `toString` has no side-effects. We use this quirk to\n * allow us to execute a function but have closure compiler mark the call as no-side-effects.\n * It is important that the return value for the `noSideEffects` function be assigned\n * to something which is retained otherwise the call to `noSideEffects` will be removed by closure\n * compiler.\n */\nfunction noSideEffects(fn) {\n    return '' + { toString: fn };\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * This file contains reuseable \"empty\" symbols that can be used as default return values\n * in different parts of the rendering code. Because the same symbols are returned, this\n * allows for identity checks against these values to be consistently used by the framework\n * code.\n * @type {?}\n */\nconst EMPTY_OBJ = {};\n/** @type {?} */\nconst EMPTY_ARRAY = [];\n// freezing the values prevents any code from accidentally inserting new values in\nif (typeof ngDevMode !== 'undefined' && ngDevMode) {\n    // These property accesses can be ignored because ngDevMode will be set to false\n    // when optimizing code and the whole if statement will be dropped.\n    // tslint:disable-next-line:no-toplevel-property-access\n    Object.freeze(EMPTY_OBJ);\n    // tslint:disable-next-line:no-toplevel-property-access\n    Object.freeze(EMPTY_ARRAY);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst NG_COMPONENT_DEF = getClosureSafeProperty({ ngComponentDef: getClosureSafeProperty });\n/** @type {?} */\nconst NG_DIRECTIVE_DEF = getClosureSafeProperty({ ngDirectiveDef: getClosureSafeProperty });\n/** @type {?} */\nconst NG_PIPE_DEF = getClosureSafeProperty({ ngPipeDef: getClosureSafeProperty });\n/** @type {?} */\nconst NG_MODULE_DEF = getClosureSafeProperty({ ngModuleDef: getClosureSafeProperty });\n/** @type {?} */\nconst NG_LOCALE_ID_DEF = getClosureSafeProperty({ ngLocaleIdDef: getClosureSafeProperty });\n/** @type {?} */\nconst NG_BASE_DEF = getClosureSafeProperty({ ngBaseDef: getClosureSafeProperty });\n// TODO(misko): This is wrong. The NG_ELEMENT_ID should never be minified.\n/**\n * If a directive is diPublic, bloomAdd sets a property on the type with this constant as\n * the key and the directive's unique ID as the value. This allows us to map directives to their\n * bloom filter bit for DI.\n * @type {?}\n */\nconst NG_ELEMENT_ID = getClosureSafeProperty({ __NG_ELEMENT_ID__: getClosureSafeProperty });\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nlet _renderCompCount = 0;\n/**\n * Create a component definition object.\n *\n *\n * # Example\n * ```\n * class MyDirective {\n *   // Generated by Angular Template Compiler\n *   // [Symbol] syntax will not be supported by TypeScript until v2.7\n *   static ngComponentDef = defineComponent({\n *     ...\n *   });\n * }\n * ```\n * \\@codeGenApi\n * @template T\n * @param {?} componentDefinition\n * @return {?}\n */\nfunction ɵɵdefineComponent(componentDefinition) {\n    /** @type {?} */\n    const type = componentDefinition.type;\n    /** @type {?} */\n    const typePrototype = type.prototype;\n    /** @type {?} */\n    const declaredInputs = (/** @type {?} */ ({}));\n    /** @type {?} */\n    const def = {\n        type: type,\n        providersResolver: null,\n        consts: componentDefinition.consts,\n        vars: componentDefinition.vars,\n        factory: componentDefinition.factory,\n        template: componentDefinition.template || (/** @type {?} */ (null)),\n        ngContentSelectors: componentDefinition.ngContentSelectors,\n        hostBindings: componentDefinition.hostBindings || null,\n        contentQueries: componentDefinition.contentQueries || null,\n        declaredInputs: declaredInputs,\n        inputs: (/** @type {?} */ (null)),\n        // assigned in noSideEffects\n        outputs: (/** @type {?} */ (null)),\n        // assigned in noSideEffects\n        exportAs: componentDefinition.exportAs || null,\n        onChanges: null,\n        onInit: typePrototype.ngOnInit || null,\n        doCheck: typePrototype.ngDoCheck || null,\n        afterContentInit: typePrototype.ngAfterContentInit || null,\n        afterContentChecked: typePrototype.ngAfterContentChecked || null,\n        afterViewInit: typePrototype.ngAfterViewInit || null,\n        afterViewChecked: typePrototype.ngAfterViewChecked || null,\n        onDestroy: typePrototype.ngOnDestroy || null,\n        onPush: componentDefinition.changeDetection === ChangeDetectionStrategy.OnPush,\n        directiveDefs: (/** @type {?} */ (null)),\n        // assigned in noSideEffects\n        pipeDefs: (/** @type {?} */ (null)),\n        // assigned in noSideEffects\n        selectors: componentDefinition.selectors,\n        viewQuery: componentDefinition.viewQuery || null,\n        features: (/** @type {?} */ (componentDefinition.features)) || null,\n        data: componentDefinition.data || {},\n        // TODO(misko): convert ViewEncapsulation into const enum so that it can be used directly in the\n        // next line. Also `None` should be 0 not 2.\n        encapsulation: componentDefinition.encapsulation || ViewEncapsulation.Emulated,\n        id: 'c',\n        styles: componentDefinition.styles || EMPTY_ARRAY,\n        _: (/** @type {?} */ (null)),\n        setInput: null,\n        schemas: componentDefinition.schemas || null,\n        tView: null,\n    };\n    def._ = (/** @type {?} */ (noSideEffects((/**\n     * @return {?}\n     */\n    () => {\n        /** @type {?} */\n        const directiveTypes = (/** @type {?} */ (componentDefinition.directives));\n        /** @type {?} */\n        const feature = componentDefinition.features;\n        /** @type {?} */\n        const pipeTypes = (/** @type {?} */ (componentDefinition.pipes));\n        def.id += _renderCompCount++;\n        def.inputs = invertObject(componentDefinition.inputs, declaredInputs),\n            def.outputs = invertObject(componentDefinition.outputs),\n            feature && feature.forEach((/**\n             * @param {?} fn\n             * @return {?}\n             */\n            (fn) => fn(def)));\n        def.directiveDefs = directiveTypes ?\n            (/**\n             * @return {?}\n             */\n            () => (typeof directiveTypes === 'function' ? directiveTypes() : directiveTypes)\n                .map(extractDirectiveDef)) :\n            null;\n        def.pipeDefs = pipeTypes ?\n            (/**\n             * @return {?}\n             */\n            () => (typeof pipeTypes === 'function' ? pipeTypes() : pipeTypes).map(extractPipeDef)) :\n            null;\n        // Add ngInjectableDef so components are reachable through the module injector by default\n        // (unless it has already been set by the @Injectable decorator). This is mostly to\n        // support injecting components in tests. In real application code, components should\n        // be retrieved through the node injector, so this isn't a problem.\n        if (!type.hasOwnProperty(NG_INJECTABLE_DEF)) {\n            ((/** @type {?} */ (type)))[NG_INJECTABLE_DEF] =\n                ɵɵdefineInjectable({ token: type, factory: (/** @type {?} */ (componentDefinition.factory)) });\n        }\n    }))));\n    return (/** @type {?} */ (def));\n}\n/**\n * \\@codeGenApi\n * @param {?} type\n * @param {?} directives\n * @param {?} pipes\n * @return {?}\n */\nfunction ɵɵsetComponentScope(type, directives, pipes) {\n    /** @type {?} */\n    const def = ((/** @type {?} */ (type.ngComponentDef)));\n    def.directiveDefs = (/**\n     * @return {?}\n     */\n    () => directives.map(extractDirectiveDef));\n    def.pipeDefs = (/**\n     * @return {?}\n     */\n    () => pipes.map(extractPipeDef));\n}\n/**\n * @param {?} type\n * @return {?}\n */\nfunction extractDirectiveDef(type) {\n    /** @type {?} */\n    const def = getComponentDef(type) || getDirectiveDef(type);\n    if (ngDevMode && !def) {\n        throw new Error(`'${type.name}' is neither 'ComponentType' or 'DirectiveType'.`);\n    }\n    return (/** @type {?} */ (def));\n}\n/**\n * @param {?} type\n * @return {?}\n */\nfunction extractPipeDef(type) {\n    /** @type {?} */\n    const def = getPipeDef(type);\n    if (ngDevMode && !def) {\n        throw new Error(`'${type.name}' is not a 'PipeType'.`);\n    }\n    return (/** @type {?} */ (def));\n}\n/**\n * \\@codeGenApi\n * @template T\n * @param {?} def\n * @return {?}\n */\nfunction ɵɵdefineNgModule(def) {\n    /** @type {?} */\n    const res = {\n        type: def.type,\n        bootstrap: def.bootstrap || EMPTY_ARRAY,\n        declarations: def.declarations || EMPTY_ARRAY,\n        imports: def.imports || EMPTY_ARRAY,\n        exports: def.exports || EMPTY_ARRAY,\n        transitiveCompileScopes: null,\n        schemas: def.schemas || null,\n        id: def.id || null,\n    };\n    return (/** @type {?} */ (res));\n}\n/**\n * Adds the module metadata that is necessary to compute the module's transitive scope to an\n * existing module definition.\n *\n * Scope metadata of modules is not used in production builds, so calls to this function can be\n * marked pure to tree-shake it from the bundle, allowing for all referenced declarations\n * to become eligible for tree-shaking as well.\n *\n * \\@codeGenApi\n * @param {?} type\n * @param {?} scope\n * @return {?}\n */\nfunction ɵɵsetNgModuleScope(type, scope) {\n    return (/** @type {?} */ (noSideEffects((/**\n     * @return {?}\n     */\n    () => {\n        /** @type {?} */\n        /** @nocollapse */ const ngModuleDef = getNgModuleDef(type, true);\n        ngModuleDef.declarations = scope.declarations || EMPTY_ARRAY;\n        ngModuleDef.imports = scope.imports || EMPTY_ARRAY;\n        ngModuleDef.exports = scope.exports || EMPTY_ARRAY;\n    }))));\n}\n/**\n * Inverts an inputs or outputs lookup such that the keys, which were the\n * minified keys, are part of the values, and the values are parsed so that\n * the publicName of the property is the new key\n *\n * e.g. for\n *\n * ```\n * class Comp {\n * \\@Input()\n *   propName1: string;\n *\n * \\@Input('publicName2')\n *   declaredPropName2: number;\n * }\n * ```\n *\n * will be serialized as\n *\n * ```\n * {\n *   propName1: 'propName1',\n *   declaredPropName2: ['publicName2', 'declaredPropName2'],\n * }\n * ```\n *\n * which is than translated by the minifier as:\n *\n * ```\n * {\n *   minifiedPropName1: 'propName1',\n *   minifiedPropName2: ['publicName2', 'declaredPropName2'],\n * }\n * ```\n *\n * becomes: (public name => minifiedName)\n *\n * ```\n * {\n *  'propName1': 'minifiedPropName1',\n *  'publicName2': 'minifiedPropName2',\n * }\n * ```\n *\n * Optionally the function can take `secondary` which will result in: (public name => declared name)\n *\n * ```\n * {\n *  'propName1': 'propName1',\n *  'publicName2': 'declaredPropName2',\n * }\n * ```\n *\n * @template T\n * @param {?=} obj\n * @param {?=} secondary\n * @return {?}\n */\nfunction invertObject(obj, secondary) {\n    if (obj == null)\n        return (/** @type {?} */ (EMPTY_OBJ));\n    /** @type {?} */\n    const newLookup = {};\n    for (const minifiedKey in obj) {\n        if (obj.hasOwnProperty(minifiedKey)) {\n            /** @type {?} */\n            let publicName = (/** @type {?} */ (obj[minifiedKey]));\n            /** @type {?} */\n            let declaredName = publicName;\n            if (Array.isArray(publicName)) {\n                declaredName = publicName[1];\n                publicName = publicName[0];\n            }\n            newLookup[publicName] = minifiedKey;\n            if (secondary) {\n                (secondary[publicName] = (/** @type {?} */ (declaredName)));\n            }\n        }\n    }\n    return newLookup;\n}\n/**\n * Create a base definition\n *\n * # Example\n * ```ts\n * class ShouldBeInherited {\n *   static ngBaseDef = ɵɵdefineBase({\n *      ...\n *   })\n * }\n * ```\n *\n * \\@codeGenApi\n * @template T\n * @param {?} baseDefinition The base definition parameters\n *\n * @return {?}\n */\nfunction ɵɵdefineBase(baseDefinition) {\n    /** @type {?} */\n    const declaredInputs = (/** @type {?} */ ({}));\n    return {\n        inputs: invertObject((/** @type {?} */ (baseDefinition.inputs)), declaredInputs),\n        declaredInputs: declaredInputs,\n        outputs: invertObject((/** @type {?} */ (baseDefinition.outputs))),\n        viewQuery: baseDefinition.viewQuery || null,\n        contentQueries: baseDefinition.contentQueries || null,\n        hostBindings: baseDefinition.hostBindings || null\n    };\n}\n/**\n * Create a directive definition object.\n *\n * # Example\n * ```ts\n * class MyDirective {\n *   // Generated by Angular Template Compiler\n *   // [Symbol] syntax will not be supported by TypeScript until v2.7\n *   static ngDirectiveDef = ɵɵdefineDirective({\n *     ...\n *   });\n * }\n * ```\n *\n * \\@codeGenApi\n * @type {?}\n */\nconst ɵɵdefineDirective = (/** @type {?} */ ((/** @type {?} */ (ɵɵdefineComponent))));\n/**\n * Create a pipe definition object.\n *\n * # Example\n * ```\n * class MyPipe implements PipeTransform {\n *   // Generated by Angular Template Compiler\n *   static ngPipeDef = definePipe({\n *     ...\n *   });\n * }\n * ```\n * \\@codeGenApi\n * @template T\n * @param {?} pipeDef Pipe definition generated by the compiler\n *\n * @return {?}\n */\nfunction ɵɵdefinePipe(pipeDef) {\n    return (/** @type {?} */ (((/** @type {?} */ ({\n        name: pipeDef.name,\n        factory: pipeDef.factory,\n        pure: pipeDef.pure !== false,\n        onDestroy: pipeDef.type.prototype.ngOnDestroy || null\n    })))));\n}\n/**\n * The following getter methods retrieve the definition form the type. Currently the retrieval\n * honors inheritance, but in the future we may change the rule to require that definitions are\n * explicit. This would require some sort of migration strategy.\n * @template T\n * @param {?} type\n * @return {?}\n */\nfunction getComponentDef(type) {\n    return ((/** @type {?} */ (type)))[NG_COMPONENT_DEF] || null;\n}\n/**\n * @template T\n * @param {?} type\n * @return {?}\n */\nfunction getDirectiveDef(type) {\n    return ((/** @type {?} */ (type)))[NG_DIRECTIVE_DEF] || null;\n}\n/**\n * @template T\n * @param {?} type\n * @return {?}\n */\nfunction getPipeDef(type) {\n    return ((/** @type {?} */ (type)))[NG_PIPE_DEF] || null;\n}\n/**\n * @template T\n * @param {?} type\n * @return {?}\n */\nfunction getBaseDef(type) {\n    return ((/** @type {?} */ (type)))[NG_BASE_DEF] || null;\n}\n/**\n * @template T\n * @param {?} type\n * @param {?=} throwNotFound\n * @return {?}\n */\nfunction getNgModuleDef(type, throwNotFound) {\n    /** @type {?} */\n    /** @nocollapse */ const ngModuleDef = ((/** @type {?} */ (type)))[NG_MODULE_DEF] || null;\n    if (!ngModuleDef && throwNotFound === true) {\n        throw new Error(`Type ${stringify(type)} does not have 'ngModuleDef' property.`);\n    }\n    return ngModuleDef;\n}\n/**\n * @param {?} type\n * @return {?}\n */\nfunction getNgLocaleIdDef(type) {\n    return ((/** @type {?} */ (type)))[NG_LOCALE_ID_DEF] || null;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n// Below are constants for LView indices to help us look up LView members\n// without having to remember the specific indices.\n// Uglify will inline these when minifying so there shouldn't be a cost.\n/** @type {?} */\nconst HOST = 0;\n/** @type {?} */\nconst TVIEW = 1;\n/** @type {?} */\nconst FLAGS = 2;\n/** @type {?} */\nconst PARENT = 3;\n/** @type {?} */\nconst NEXT = 4;\n/** @type {?} */\nconst QUERIES = 5;\n/** @type {?} */\nconst T_HOST = 6;\n/** @type {?} */\nconst BINDING_INDEX = 7;\n/** @type {?} */\nconst CLEANUP = 8;\n/** @type {?} */\nconst CONTEXT = 9;\n/** @type {?} */\nconst INJECTOR$1 = 10;\n/** @type {?} */\nconst RENDERER_FACTORY = 11;\n/** @type {?} */\nconst RENDERER = 12;\n/** @type {?} */\nconst SANITIZER = 13;\n/** @type {?} */\nconst CHILD_HEAD = 14;\n/** @type {?} */\nconst CHILD_TAIL = 15;\n/** @type {?} */\nconst DECLARATION_VIEW = 16;\n/** @type {?} */\nconst DECLARATION_LCONTAINER = 17;\n/** @type {?} */\nconst PREORDER_HOOK_FLAGS = 18;\n/**\n * Size of LView's header. Necessary to adjust for it when setting slots.\n * @type {?}\n */\nconst HEADER_OFFSET = 19;\n/**\n * @record\n */\nfunction OpaqueViewState() { }\nif (false) {}\n/**\n * `LView` stores all of the information needed to process the instructions as\n * they are invoked from the template. Each embedded view and component view has its\n * own `LView`. When processing a particular view, we set the `viewData` to that\n * `LView`. When that view is done processing, the `viewData` is set back to\n * whatever the original `viewData` was before (the parent `LView`).\n *\n * Keeping separate state for each view facilities view insertion / deletion, so we\n * don't have to edit the data array based on which views are present.\n * @record\n */\nfunction LView() { }\nif (false) {}\n/** @enum {number} */\nconst LViewFlags = {\n    /** The state of the init phase on the first 2 bits */\n    InitPhaseStateIncrementer: 1,\n    InitPhaseStateMask: 3,\n    /**\n     * Whether or not the view is in creationMode.\n     *\n     * This must be stored in the view rather than using `data` as a marker so that\n     * we can properly support embedded views. Otherwise, when exiting a child view\n     * back into the parent view, `data` will be defined and `creationMode` will be\n     * improperly reported as false.\n     */\n    CreationMode: 4,\n    /**\n     * Whether or not this LView instance is on its first processing pass.\n     *\n     * An LView instance is considered to be on its \"first pass\" until it\n     * has completed one creation mode run and one update mode run. At this\n     * time, the flag is turned off.\n     */\n    FirstLViewPass: 8,\n    /** Whether this view has default change detection strategy (checks always) or onPush */\n    CheckAlways: 16,\n    /**\n     * Whether or not manual change detection is turned on for onPush components.\n     *\n     * This is a special mode that only marks components dirty in two cases:\n     * 1) There has been a change to an @Input property\n     * 2) `markDirty()` has been called manually by the user\n     *\n     * Note that in this mode, the firing of events does NOT mark components\n     * dirty automatically.\n     *\n     * Manual mode is turned off by default for backwards compatibility, as events\n     * automatically mark OnPush components dirty in View Engine.\n     *\n     * TODO: Add a public API to ChangeDetectionStrategy to turn this mode on\n     */\n    ManualOnPush: 32,\n    /** Whether or not this view is currently dirty (needing check) */\n    Dirty: 64,\n    /** Whether or not this view is currently attached to change detection tree. */\n    Attached: 128,\n    /** Whether or not this view is destroyed. */\n    Destroyed: 256,\n    /** Whether or not this view is the root view */\n    IsRoot: 512,\n    /**\n     * Index of the current init phase on last 22 bits\n     */\n    IndexWithinInitPhaseIncrementer: 1024,\n    IndexWithinInitPhaseShift: 10,\n    IndexWithinInitPhaseReset: 1023,\n};\n/** @enum {number} */\nconst InitPhaseState = {\n    OnInitHooksToBeRun: 0,\n    AfterContentInitHooksToBeRun: 1,\n    AfterViewInitHooksToBeRun: 2,\n    InitPhaseCompleted: 3,\n};\n/** @enum {number} */\nconst PreOrderHookFlags = {\n    /** The index of the next pre-order hook to be called in the hooks array, on the first 16\n       bits */\n    IndexOfTheNextPreOrderHookMaskMask: 65535,\n    /**\n     * The number of init hooks that have already been called, on the last 16 bits\n     */\n    NumberOfInitHooksCalledIncrementer: 65536,\n    NumberOfInitHooksCalledShift: 16,\n    NumberOfInitHooksCalledMask: 4294901760,\n};\n/**\n * Set of instructions used to process host bindings efficiently.\n *\n * See VIEW_DATA.md for more information.\n * @record\n */\nfunction ExpandoInstructions() { }\n/**\n * The static data for an LView (shared between all templates of a\n * given type).\n *\n * Stored on the `ComponentDef.tView`.\n * @record\n */\nfunction TView() { }\nif (false) {}\n/** @enum {number} */\nconst RootContextFlags = {\n    Empty: 0, DetectChanges: 1, FlushPlayers: 2,\n};\n/**\n * RootContext contains information which is shared for all components which\n * were bootstrapped with {\\@link renderComponent}.\n * @record\n */\nfunction RootContext() { }\nif (false) {}\n// Note: This hack is necessary so we don't erroneously get a circular dependency\n// failure based on types.\n/** @type {?} */\nconst unusedValueExportToPlacateAjd = 1;\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Special location which allows easy identification of type. If we have an array which was\n * retrieved from the `LView` and that array has `true` at `TYPE` location, we know it is\n * `LContainer`.\n * @type {?}\n */\nconst TYPE = 1;\n/**\n * Below are constants for LContainer indices to help us look up LContainer members\n * without having to remember the specific indices.\n * Uglify will inline these when minifying so there shouldn't be a cost.\n * @type {?}\n */\nconst ACTIVE_INDEX = 2;\n// PARENT and NEXT are indices 3 and 4\n// As we already have these constants in LView, we don't need to re-create them.\n/** @type {?} */\nconst MOVED_VIEWS = 5;\n// T_HOST is index 6\n// We already have this constants in LView, we don't need to re-create it.\n/** @type {?} */\nconst NATIVE = 7;\n/** @type {?} */\nconst VIEW_REFS = 8;\n/**\n * Size of LContainer's header. Represents the index after which all views in the\n * container will be inserted. We need to keep a record of current views so we know\n * which views are already in the DOM (and don't need to be re-added) and so we can\n * remove views from the DOM when they are no longer required.\n * @type {?}\n */\nconst CONTAINER_HEADER_OFFSET = 9;\n/**\n * The state associated with a container.\n *\n * This is an array so that its structure is closer to LView. This helps\n * when traversing the view tree (which is a mix of containers and component\n * views), so we can jump to viewOrContainer[NEXT] in the same way regardless\n * of type.\n * @record\n */\nfunction LContainer() { }\nif (false) {}\n// Note: This hack is necessary so we don't erroneously get a circular dependency\n// failure based on types.\n/** @type {?} */\nconst unusedValueExportToPlacateAjd$1 = 1;\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * True if `value` is `LView`.\n * @param {?} value wrapped value of `RNode`, `LView`, `LContainer`\n * @return {?}\n */\nfunction isLView(value) {\n    return Array.isArray(value) && typeof value[TYPE] === 'object';\n}\n/**\n * True if `value` is `LContainer`.\n * @param {?} value wrapped value of `RNode`, `LView`, `LContainer`\n * @return {?}\n */\nfunction isLContainer(value) {\n    return Array.isArray(value) && value[TYPE] === true;\n}\n/**\n * @param {?} tNode\n * @return {?}\n */\nfunction isContentQueryHost(tNode) {\n    return (tNode.flags & 4 /* hasContentQuery */) !== 0;\n}\n/**\n * @param {?} tNode\n * @return {?}\n */\nfunction isComponent(tNode) {\n    return (tNode.flags & 1 /* isComponent */) === 1 /* isComponent */;\n}\n/**\n * @template T\n * @param {?} def\n * @return {?}\n */\nfunction isComponentDef(def) {\n    return ((/** @type {?} */ (def))).template !== null;\n}\n/**\n * @param {?} target\n * @return {?}\n */\nfunction isRootView(target) {\n    return (target[FLAGS] & 512 /* IsRoot */) !== 0;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @param {?} tNode\n * @param {?} lView\n * @return {?}\n */\nfunction assertTNodeForLView(tNode, lView) {\n    tNode.hasOwnProperty('tView_') && assertEqual(((/** @type {?} */ ((/** @type {?} */ (tNode))))).tView_, lView[TVIEW], 'This TNode does not belong to this LView.');\n}\n/**\n * @param {?} actual\n * @param {?=} msg\n * @return {?}\n */\nfunction assertComponentType(actual, msg = 'Type passed in is not ComponentType, it does not have \\'ngComponentDef\\' property.') {\n    if (!getComponentDef(actual)) {\n        throwError(msg);\n    }\n}\n/**\n * @param {?} actual\n * @param {?=} msg\n * @return {?}\n */\nfunction assertNgModuleType(actual, msg = 'Type passed in is not NgModuleType, it does not have \\'ngModuleDef\\' property.') {\n    if (!getNgModuleDef(actual)) {\n        throwError(msg);\n    }\n}\n/**\n * @param {?} isParent\n * @return {?}\n */\nfunction assertPreviousIsParent(isParent) {\n    assertEqual(isParent, true, 'previousOrParentTNode should be a parent');\n}\n/**\n * @param {?} tNode\n * @return {?}\n */\nfunction assertHasParent(tNode) {\n    assertDefined(tNode, 'previousOrParentTNode should exist!');\n    assertDefined((/** @type {?} */ (tNode)).parent, 'previousOrParentTNode should have a parent');\n}\n/**\n * @param {?} lView\n * @param {?} index\n * @param {?=} arr\n * @return {?}\n */\nfunction assertDataNext(lView, index, arr) {\n    if (arr == null)\n        arr = lView;\n    assertEqual(arr.length, index, `index ${index} expected to be at the end of arr (length ${arr.length})`);\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction assertLContainerOrUndefined(value) {\n    value && assertEqual(isLContainer(value), true, 'Expecting LContainer or undefined or null');\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction assertLContainer(value) {\n    assertDefined(value, 'LContainer must be defined');\n    assertEqual(isLContainer(value), true, 'Expecting LContainer');\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction assertLViewOrUndefined(value) {\n    value && assertEqual(isLView(value), true, 'Expecting LView or undefined or null');\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction assertLView(value) {\n    assertDefined(value, 'LView must be defined');\n    assertEqual(isLView(value), true, 'Expecting LView');\n}\n/**\n * @param {?} tView\n * @param {?} errMessage\n * @return {?}\n */\nfunction assertFirstTemplatePass(tView, errMessage) {\n    assertEqual(tView.firstTemplatePass, true, errMessage);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** @type {?} */\nconst TNODE = 8;\n/** @type {?} */\nconst PARENT_INJECTOR = 8;\n/** @type {?} */\nconst INJECTOR_BLOOM_PARENT_SIZE = 9;\n/**\n * Represents a relative location of parent injector.\n *\n * The interfaces encodes number of parents `LView`s to traverse and index in the `LView`\n * pointing to the parent injector.\n * @record\n */\nfunction RelativeInjectorLocation() { }\nif (false) {}\n/** @enum {number} */\nconst RelativeInjectorLocationFlags = {\n    InjectorIndexMask: 32767,\n    ViewOffsetShift: 16,\n    NO_PARENT: -1,\n};\n/** @type {?} */\nconst NO_PARENT_INJECTOR = (/** @type {?} */ (-1));\n/**\n * Each injector is saved in 9 contiguous slots in `LView` and 9 contiguous slots in\n * `TView.data`. This allows us to store information about the current node's tokens (which\n * can be shared in `TView`) as well as the tokens of its ancestor nodes (which cannot be\n * shared, so they live in `LView`).\n *\n * Each of these slots (aside from the last slot) contains a bloom filter. This bloom filter\n * determines whether a directive is available on the associated node or not. This prevents us\n * from searching the directives array at this level unless it's probable the directive is in it.\n *\n * See: https://en.wikipedia.org/wiki/Bloom_filter for more about bloom filters.\n *\n * Because all injectors have been flattened into `LView` and `TViewData`, they cannot typed\n * using interfaces as they were previously. The start index of each `LInjector` and `TInjector`\n * will differ based on where it is flattened into the main array, so it's not possible to know\n * the indices ahead of time and save their types here. The interfaces are still included here\n * for documentation purposes.\n *\n * export interface LInjector extends Array<any> {\n *\n *    // Cumulative bloom for directive IDs 0-31  (IDs are % BLOOM_SIZE)\n *    [0]: number;\n *\n *    // Cumulative bloom for directive IDs 32-63\n *    [1]: number;\n *\n *    // Cumulative bloom for directive IDs 64-95\n *    [2]: number;\n *\n *    // Cumulative bloom for directive IDs 96-127\n *    [3]: number;\n *\n *    // Cumulative bloom for directive IDs 128-159\n *    [4]: number;\n *\n *    // Cumulative bloom for directive IDs 160 - 191\n *    [5]: number;\n *\n *    // Cumulative bloom for directive IDs 192 - 223\n *    [6]: number;\n *\n *    // Cumulative bloom for directive IDs 224 - 255\n *    [7]: number;\n *\n *    // We need to store a reference to the injector's parent so DI can keep looking up\n *    // the injector tree until it finds the dependency it's looking for.\n *    [PARENT_INJECTOR]: number;\n * }\n *\n * export interface TInjector extends Array<any> {\n *\n *    // Shared node bloom for directive IDs 0-31  (IDs are % BLOOM_SIZE)\n *    [0]: number;\n *\n *    // Shared node bloom for directive IDs 32-63\n *    [1]: number;\n *\n *    // Shared node bloom for directive IDs 64-95\n *    [2]: number;\n *\n *    // Shared node bloom for directive IDs 96-127\n *    [3]: number;\n *\n *    // Shared node bloom for directive IDs 128-159\n *    [4]: number;\n *\n *    // Shared node bloom for directive IDs 160 - 191\n *    [5]: number;\n *\n *    // Shared node bloom for directive IDs 192 - 223\n *    [6]: number;\n *\n *    // Shared node bloom for directive IDs 224 - 255\n *    [7]: number;\n *\n *    // Necessary to find directive indices for a particular node.\n *    [TNODE]: TElementNode|TElementContainerNode|TContainerNode;\n *  }\n */\n/**\n * Factory for creating instances of injectors in the NodeInjector.\n *\n * This factory is complicated by the fact that it can resolve `multi` factories as well.\n *\n * NOTE: Some of the fields are optional which means that this class has two hidden classes.\n * - One without `multi` support (most common)\n * - One with `multi` values, (rare).\n *\n * Since VMs can cache up to 4 inline hidden classes this is OK.\n *\n * - Single factory: Only `resolving` and `factory` is defined.\n * - `providers` factory: `componentProviders` is a number and `index = -1`.\n * - `viewProviders` factory: `componentProviders` is a number and `index` points to `providers`.\n */\nclass NodeInjectorFactory {\n    /**\n     * @param {?} factory\n     * @param {?} isViewProvider\n     * @param {?} injectImplementation\n     */\n    constructor(factory, \n    /**\n     * Set to `true` if the token is declared in `viewProviders` (or if it is component).\n     */\n    isViewProvider, injectImplementation) {\n        this.factory = factory;\n        /**\n         * Marker set to true during factory invocation to see if we get into recursive loop.\n         * Recursive loop causes an error to be displayed.\n         */\n        this.resolving = false;\n        this.canSeeViewProviders = isViewProvider;\n        this.injectImpl = injectImplementation;\n    }\n}\nif (false) {}\n/**\n * @param {?} obj\n * @return {?}\n */\nfunction isFactory(obj) {\n    // See: https://jsperf.com/instanceof-vs-getprototypeof\n    return obj !== null && typeof obj == 'object' &&\n        Object.getPrototypeOf(obj) == NodeInjectorFactory.prototype;\n}\n// Note: This hack is necessary so we don't erroneously get a circular dependency\n// failure based on types.\n/** @type {?} */\nconst unusedValueExportToPlacateAjd$2 = 1;\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @param {?} tNode\n * @param {?} type\n * @return {?}\n */\nfunction assertNodeType(tNode, type) {\n    assertDefined(tNode, 'should be called with a TNode');\n    assertEqual(tNode.type, type, `should be a ${typeName(type)}`);\n}\n/**\n * @param {?} tNode\n * @param {...?} types\n * @return {?}\n */\nfunction assertNodeOfPossibleTypes(tNode, ...types) {\n    assertDefined(tNode, 'should be called with a TNode');\n    /** @type {?} */\n    const found = types.some((/**\n     * @param {?} type\n     * @return {?}\n     */\n    type => tNode.type === type));\n    assertEqual(found, true, `Should be one of ${types.map(typeName).join(', ')} but got ${typeName(tNode.type)}`);\n}\n/**\n * @param {?} type\n * @return {?}\n */\nfunction typeName(type) {\n    if (type == 1 /* Projection */)\n        return 'Projection';\n    if (type == 0 /* Container */)\n        return 'Container';\n    if (type == 2 /* View */)\n        return 'View';\n    if (type == 3 /* Element */)\n        return 'Element';\n    if (type == 4 /* ElementContainer */)\n        return 'ElementContainer';\n    return '<unknown>';\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Adds all directive lifecycle hooks from the given `DirectiveDef` to the given `TView`.\n *\n * Must be run *only* on the first template pass.\n *\n * Sets up the pre-order hooks on the provided `tView`,\n * see {\\@link HookData} for details about the data structure.\n *\n * @param {?} directiveIndex The index of the directive in LView\n * @param {?} directiveDef The definition containing the hooks to setup in tView\n * @param {?} tView The current TView\n * @param {?} nodeIndex The index of the node to which the directive is attached\n * @param {?} initialPreOrderHooksLength the number of pre-order hooks already registered before the\n * current process, used to know if the node index has to be added to the array. If it is -1,\n * the node index is never added.\n * @param {?} initialPreOrderCheckHooksLength same as previous for pre-order check hooks\n * @return {?}\n */\nfunction registerPreOrderHooks(directiveIndex, directiveDef, tView, nodeIndex, initialPreOrderHooksLength, initialPreOrderCheckHooksLength) {\n    ngDevMode &&\n        assertEqual(tView.firstTemplatePass, true, 'Should only be called on first template pass');\n    const { onChanges, onInit, doCheck } = directiveDef;\n    if (initialPreOrderHooksLength >= 0 &&\n        (!tView.preOrderHooks || initialPreOrderHooksLength === tView.preOrderHooks.length) &&\n        (onChanges || onInit || doCheck)) {\n        (tView.preOrderHooks || (tView.preOrderHooks = [])).push(nodeIndex);\n    }\n    if (initialPreOrderCheckHooksLength >= 0 &&\n        (!tView.preOrderCheckHooks ||\n            initialPreOrderCheckHooksLength === tView.preOrderCheckHooks.length) &&\n        (onChanges || doCheck)) {\n        (tView.preOrderCheckHooks || (tView.preOrderCheckHooks = [])).push(nodeIndex);\n    }\n    if (onChanges) {\n        (tView.preOrderHooks || (tView.preOrderHooks = [])).push(directiveIndex, onChanges);\n        (tView.preOrderCheckHooks || (tView.preOrderCheckHooks = [])).push(directiveIndex, onChanges);\n    }\n    if (onInit) {\n        (tView.preOrderHooks || (tView.preOrderHooks = [])).push(-directiveIndex, onInit);\n    }\n    if (doCheck) {\n        (tView.preOrderHooks || (tView.preOrderHooks = [])).push(directiveIndex, doCheck);\n        (tView.preOrderCheckHooks || (tView.preOrderCheckHooks = [])).push(directiveIndex, doCheck);\n    }\n}\n/**\n *\n * Loops through the directives on the provided `tNode` and queues hooks to be\n * run that are not initialization hooks.\n *\n * Should be executed during `elementEnd()` and similar to\n * preserve hook execution order. Content, view, and destroy hooks for projected\n * components and directives must be called *before* their hosts.\n *\n * Sets up the content, view, and destroy hooks on the provided `tView`,\n * see {\\@link HookData} for details about the data structure.\n *\n * NOTE: This does not set up `onChanges`, `onInit` or `doCheck`, those are set up\n * separately at `elementStart`.\n *\n * @param {?} tView The current TView\n * @param {?} tNode The TNode whose directives are to be searched for hooks to queue\n * @return {?}\n */\nfunction registerPostOrderHooks(tView, tNode) {\n    if (tView.firstTemplatePass) {\n        // It's necessary to loop through the directives at elementEnd() (rather than processing in\n        // directiveCreate) so we can preserve the current hook order. Content, view, and destroy\n        // hooks for projected components and directives must be called *before* their hosts.\n        for (let i = tNode.directiveStart, end = tNode.directiveEnd; i < end; i++) {\n            /** @type {?} */\n            const directiveDef = (/** @type {?} */ (tView.data[i]));\n            if (directiveDef.afterContentInit) {\n                (tView.contentHooks || (tView.contentHooks = [])).push(-i, directiveDef.afterContentInit);\n            }\n            if (directiveDef.afterContentChecked) {\n                (tView.contentHooks || (tView.contentHooks = [])).push(i, directiveDef.afterContentChecked);\n                (tView.contentCheckHooks || (tView.contentCheckHooks = [])).push(i, directiveDef.afterContentChecked);\n            }\n            if (directiveDef.afterViewInit) {\n                (tView.viewHooks || (tView.viewHooks = [])).push(-i, directiveDef.afterViewInit);\n            }\n            if (directiveDef.afterViewChecked) {\n                (tView.viewHooks || (tView.viewHooks = [])).push(i, directiveDef.afterViewChecked);\n                (tView.viewCheckHooks || (tView.viewCheckHooks = [])).push(i, directiveDef.afterViewChecked);\n            }\n            if (directiveDef.onDestroy != null) {\n                (tView.destroyHooks || (tView.destroyHooks = [])).push(i, directiveDef.onDestroy);\n            }\n        }\n    }\n}\n/**\n * Executing hooks requires complex logic as we need to deal with 2 constraints.\n *\n * 1. Init hooks (ngOnInit, ngAfterContentInit, ngAfterViewInit) must all be executed once and only\n * once, across many change detection cycles. This must be true even if some hooks throw, or if\n * some recursively trigger a change detection cycle.\n * To solve that, it is required to track the state of the execution of these init hooks.\n * This is done by storing and maintaining flags in the view: the {@link InitPhaseState},\n * and the index within that phase. They can be seen as a cursor in the following structure:\n * [[onInit1, onInit2], [afterContentInit1], [afterViewInit1, afterViewInit2, afterViewInit3]]\n * They are are stored as flags in LView[FLAGS].\n *\n * 2. Pre-order hooks can be executed in batches, because of the select instruction.\n * To be able to pause and resume their execution, we also need some state about the hook's array\n * that is being processed:\n * - the index of the next hook to be executed\n * - the number of init hooks already found in the processed part of the  array\n * They are are stored as flags in LView[PREORDER_HOOK_FLAGS].\n */\n/**\n * Executes necessary hooks at the start of executing a template.\n *\n * Executes hooks that are to be run during the initialization of a directive such\n * as `onChanges`, `onInit`, and `doCheck`.\n *\n * @param {?} currentView\n * @param {?} tView Static data for the view containing the hooks to be executed\n * @param {?} checkNoChangesMode Whether or not we're in checkNoChanges mode.\n * @param {?} currentNodeIndex\n * @return {?}\n */\nfunction executePreOrderHooks(currentView, tView, checkNoChangesMode, currentNodeIndex) {\n    if (!checkNoChangesMode) {\n        executeHooks(currentView, tView.preOrderHooks, tView.preOrderCheckHooks, checkNoChangesMode, 0 /* OnInitHooksToBeRun */, currentNodeIndex !== undefined ? currentNodeIndex : null);\n    }\n}\n/**\n * Executes hooks against the given `LView` based off of whether or not\n * This is the first pass.\n *\n * @param {?} currentView The view instance data to run the hooks against\n * @param {?} firstPassHooks An array of hooks to run if we're in the first view pass\n * @param {?} checkHooks An Array of hooks to run if we're not in the first view pass.\n * @param {?} checkNoChangesMode Whether or not we're in no changes mode.\n * @param {?} initPhaseState the current state of the init phase\n * @param {?} currentNodeIndex 3 cases depending the the value:\n * - undefined: all hooks from the array should be executed (post-order case)\n * - null: execute hooks only from the saved index until the end of the array (pre-order case, when\n * flushing the remaining hooks)\n * - number: execute hooks only from the saved index until that node index exclusive (pre-order\n * case, when executing select(number))\n * @return {?}\n */\nfunction executeHooks(currentView, firstPassHooks, checkHooks, checkNoChangesMode, initPhaseState, currentNodeIndex) {\n    if (checkNoChangesMode)\n        return;\n    /** @type {?} */\n    const hooksToCall = (currentView[FLAGS] & 3 /* InitPhaseStateMask */) === initPhaseState ?\n        firstPassHooks :\n        checkHooks;\n    if (hooksToCall) {\n        callHooks(currentView, hooksToCall, initPhaseState, currentNodeIndex);\n    }\n    // The init phase state must be always checked here as it may have been recursively updated\n    if (currentNodeIndex == null &&\n        (currentView[FLAGS] & 3 /* InitPhaseStateMask */) === initPhaseState &&\n        initPhaseState !== 3 /* InitPhaseCompleted */) {\n        currentView[FLAGS] &= 1023 /* IndexWithinInitPhaseReset */;\n        currentView[FLAGS] += 1 /* InitPhaseStateIncrementer */;\n    }\n}\n/**\n * Calls lifecycle hooks with their contexts, skipping init hooks if it's not\n * the first LView pass\n *\n * @param {?} currentView The current view\n * @param {?} arr The array in which the hooks are found\n * @param {?} initPhase\n * @param {?} currentNodeIndex 3 cases depending the the value:\n * - undefined: all hooks from the array should be executed (post-order case)\n * - null: execute hooks only from the saved index until the end of the array (pre-order case, when\n * flushing the remaining hooks)\n * - number: execute hooks only from the saved index until that node index exclusive (pre-order\n * case, when executing select(number))\n * @return {?}\n */\nfunction callHooks(currentView, arr, initPhase, currentNodeIndex) {\n    /** @type {?} */\n    const startIndex = currentNodeIndex !== undefined ?\n        (currentView[PREORDER_HOOK_FLAGS] & 65535 /* IndexOfTheNextPreOrderHookMaskMask */) :\n        0;\n    /** @type {?} */\n    const nodeIndexLimit = currentNodeIndex != null ? currentNodeIndex : -1;\n    /** @type {?} */\n    let lastNodeIndexFound = 0;\n    for (let i = startIndex; i < arr.length; i++) {\n        /** @type {?} */\n        const hook = (/** @type {?} */ (arr[i + 1]));\n        if (typeof hook === 'number') {\n            lastNodeIndexFound = (/** @type {?} */ (arr[i]));\n            if (currentNodeIndex != null && lastNodeIndexFound >= currentNodeIndex) {\n                break;\n            }\n        }\n        else {\n            /** @type {?} */\n            const isInitHook = arr[i] < 0;\n            if (isInitHook)\n                currentView[PREORDER_HOOK_FLAGS] += 65536 /* NumberOfInitHooksCalledIncrementer */;\n            if (lastNodeIndexFound < nodeIndexLimit || nodeIndexLimit == -1) {\n                callHook(currentView, initPhase, arr, i);\n                currentView[PREORDER_HOOK_FLAGS] =\n                    (currentView[PREORDER_HOOK_FLAGS] & 4294901760 /* NumberOfInitHooksCalledMask */) + i +\n                        2;\n            }\n            i++;\n        }\n    }\n}\n/**\n * Execute one hook against the current `LView`.\n *\n * @param {?} currentView The current view\n * @param {?} initPhase\n * @param {?} arr The array in which the hooks are found\n * @param {?} i The current index within the hook data array\n * @return {?}\n */\nfunction callHook(currentView, initPhase, arr, i) {\n    /** @type {?} */\n    const isInitHook = arr[i] < 0;\n    /** @type {?} */\n    const hook = (/** @type {?} */ (arr[i + 1]));\n    /** @type {?} */\n    const directiveIndex = isInitHook ? -arr[i] : (/** @type {?} */ (arr[i]));\n    /** @type {?} */\n    const directive = currentView[directiveIndex];\n    if (isInitHook) {\n        /** @type {?} */\n        const indexWithintInitPhase = currentView[FLAGS] >> 10 /* IndexWithinInitPhaseShift */;\n        // The init phase state must be always checked here as it may have been recursively\n        // updated\n        if (indexWithintInitPhase <\n            (currentView[PREORDER_HOOK_FLAGS] >> 16 /* NumberOfInitHooksCalledShift */) &&\n            (currentView[FLAGS] & 3 /* InitPhaseStateMask */) === initPhase) {\n            currentView[FLAGS] += 1024 /* IndexWithinInitPhaseIncrementer */;\n            hook.call(directive);\n        }\n    }\n    else {\n        hook.call(directive);\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n* @license\n* Copyright Google Inc. All Rights Reserved.\n*\n* Use of this source code is governed by an MIT-style license that can be\n* found in the LICENSE file at https://angular.io/license\n*/\n/**\n * --------\n *\n * // TODO(matsko): add updateMask info\n *\n * This file contains all state-based logic for styling in Angular.\n *\n * Styling in Angular is evaluated with a series of styling-specific\n * template instructions which are called one after another each time\n * change detection occurs in Angular.\n *\n * Styling makes use of various temporary, state-based variables between\n * instructions so that it can better cache and optimize its values.\n * These values are usually populated and cleared when an element is\n * exited in change detection (once all the instructions are run for\n * that element).\n *\n * There are, however, situations where the state-based values\n * need to be stored and used at a later point. This ONLY occurs when\n * there are template-level as well as host-binding-level styling\n * instructions on the same element. The example below shows exactly\n * what could be:\n *\n * ```html\n * <!-- two sources of styling: the template and the directive -->\n * <div [style.width]=\"width\" dir-that-sets-height></div>\n * ```\n *\n * If and when this situation occurs, the current styling state is\n * stored in a storage map value and then later accessed once the\n * host bindings are evaluated. Once styling for the current element\n * is over then the map entry will be cleared.\n *\n * To learn more about the algorithm see `TStylingContext`.\n *\n * --------\n */\n/** @type {?} */\nlet _stylingState = null;\n/** @type {?} */\nconst _stateStorage = new Map();\n// this value is not used outside this file and is only here\n// as a caching check for when the element changes.\n/** @type {?} */\nlet _stylingElement = null;\n/**\n * Used as a state reference for update values between style/class binding instructions.\n * @record\n */\nfunction StylingState() { }\nif (false) {}\n/** @type {?} */\nconst STYLING_INDEX_START_VALUE = 1;\n/** @type {?} */\nconst BIT_MASK_START_VALUE = 0;\n/**\n * @param {?} element\n * @param {?=} readFromMap\n * @return {?}\n */\nfunction getStylingState(element, readFromMap) {\n    if (!_stylingElement || element !== _stylingElement) {\n        _stylingElement = element;\n        if (readFromMap) {\n            _stylingState = _stateStorage.get(element) || null;\n            ngDevMode && ngDevMode.stylingReadPersistedState++;\n        }\n        _stylingState = _stylingState || {\n            classesBitMask: BIT_MASK_START_VALUE,\n            classesIndex: STYLING_INDEX_START_VALUE,\n            stylesBitMask: BIT_MASK_START_VALUE,\n            stylesIndex: STYLING_INDEX_START_VALUE,\n        };\n    }\n    return (/** @type {?} */ (_stylingState));\n}\n/**\n * @return {?}\n */\nfunction resetStylingState() {\n    _stylingState = null;\n    _stylingElement = null;\n}\n/**\n * @param {?} element\n * @param {?} state\n * @return {?}\n */\nfunction storeStylingState(element, state) {\n    ngDevMode && ngDevMode.stylingWritePersistedState++;\n    _stateStorage.set(element, state);\n}\n/**\n * @param {?} element\n * @return {?}\n */\nfunction deleteStylingStateFromStorage(element) {\n    _stateStorage.delete(element);\n}\n/**\n * @return {?}\n */\nfunction resetAllStylingState() {\n    resetStylingState();\n    _stateStorage.clear();\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * This property will be monkey-patched on elements, components and directives\n * @type {?}\n */\nconst MONKEY_PATCH_KEY_NAME = '__ngContext__';\n/**\n * The internal view context which is specific to a given DOM element, directive or\n * component instance. Each value in here (besides the LView and element node details)\n * can be present, null or undefined. If undefined then it implies the value has not been\n * looked up yet, otherwise, if null, then a lookup was executed and nothing was found.\n *\n * Each value will get filled when the respective value is examined within the getContext\n * function. The component, element and each directive instance will share the same instance\n * of the context.\n * @record\n */\nfunction LContext() { }\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * For efficiency reasons we often put several different data types (`RNode`, `LView`, `LContainer`)\n * in same location in `LView`. This is because we don't want to pre-allocate space for it\n * because the storage is sparse. This file contains utilities for dealing with such data types.\n *\n * How do we know what is stored at a given location in `LView`.\n * - `Array.isArray(value) === false` => `RNode` (The normal storage value)\n * - `Array.isArray(value) === true` => then the `value[0]` represents the wrapped value.\n *   - `typeof value[TYPE] === 'object'` => `LView`\n *      - This happens when we have a component at a given location\n *   - `typeof value[TYPE] === true` => `LContainer`\n *      - This happens when we have `LContainer` binding at a given location.\n *\n *\n * NOTE: it is assumed that `Array.isArray` and `typeof` operations are very efficient.\n */\n/**\n * Returns `RNode`.\n * @param {?} value wrapped value of `RNode`, `LView`, `LContainer`\n * @return {?}\n */\nfunction unwrapRNode(value) {\n    while (Array.isArray(value)) {\n        value = (/** @type {?} */ (value[HOST]));\n    }\n    return (/** @type {?} */ (value));\n}\n/**\n * Returns `LView` or `null` if not found.\n * @param {?} value wrapped value of `RNode`, `LView`, `LContainer`\n * @return {?}\n */\nfunction unwrapLView(value) {\n    while (Array.isArray(value)) {\n        // This check is same as `isLView()` but we don't call at as we don't want to call\n        // `Array.isArray()` twice and give JITer more work for inlining.\n        if (typeof value[TYPE] === 'object')\n            return (/** @type {?} */ (value));\n        value = (/** @type {?} */ (value[HOST]));\n    }\n    return null;\n}\n/**\n * Returns `LContainer` or `null` if not found.\n * @param {?} value wrapped value of `RNode`, `LView`, `LContainer`\n * @return {?}\n */\nfunction unwrapLContainer(value) {\n    while (Array.isArray(value)) {\n        // This check is same as `isLContainer()` but we don't call at as we don't want to call\n        // `Array.isArray()` twice and give JITer more work for inlining.\n        if (value[TYPE] === true)\n            return (/** @type {?} */ (value));\n        value = (/** @type {?} */ (value[HOST]));\n    }\n    return null;\n}\n/**\n * Retrieves an element value from the provided `viewData`, by unwrapping\n * from any containers, component views, or style contexts.\n * @param {?} index\n * @param {?} lView\n * @return {?}\n */\nfunction getNativeByIndex(index, lView) {\n    return unwrapRNode(lView[index + HEADER_OFFSET]);\n}\n/**\n * Retrieve an `RNode` for a given `TNode` and `LView`.\n *\n * This function guarantees in dev mode to retrieve a non-null `RNode`.\n *\n * @param {?} tNode\n * @param {?} lView\n * @return {?}\n */\nfunction getNativeByTNode(tNode, lView) {\n    ngDevMode && assertTNodeForLView(tNode, lView);\n    ngDevMode && assertDataInRange(lView, tNode.index);\n    /** @type {?} */\n    const node = unwrapRNode(lView[tNode.index]);\n    ngDevMode && assertDomNode(node);\n    return node;\n}\n/**\n * Retrieve an `RNode` or `null` for a given `TNode` and `LView`.\n *\n * Some `TNode`s don't have associated `RNode`s. For example `Projection`\n *\n * @param {?} tNode\n * @param {?} lView\n * @return {?}\n */\nfunction getNativeByTNodeOrNull(tNode, lView) {\n    ngDevMode && assertTNodeForLView(tNode, lView);\n    /** @type {?} */\n    const index = tNode.index;\n    /** @type {?} */\n    const node = index == -1 ? null : unwrapRNode(lView[index]);\n    ngDevMode && node !== null && assertDomNode(node);\n    return node;\n}\n/**\n * A helper function that returns `true` if a given `TNode` has any matching directives.\n * @param {?} tNode\n * @return {?}\n */\nfunction hasDirectives(tNode) {\n    return tNode.directiveEnd > tNode.directiveStart;\n}\n/**\n * @param {?} index\n * @param {?} view\n * @return {?}\n */\nfunction getTNode(index, view) {\n    ngDevMode && assertGreaterThan(index, -1, 'wrong index for TNode');\n    ngDevMode && assertLessThan(index, view[TVIEW].data.length, 'wrong index for TNode');\n    return (/** @type {?} */ (view[TVIEW].data[index + HEADER_OFFSET]));\n}\n/**\n * Retrieves a value from any `LView` or `TData`.\n * @template T\n * @param {?} view\n * @param {?} index\n * @return {?}\n */\nfunction loadInternal(view, index) {\n    ngDevMode && assertDataInRange(view, index + HEADER_OFFSET);\n    return view[index + HEADER_OFFSET];\n}\n/**\n * @param {?} nodeIndex\n * @param {?} hostView\n * @return {?}\n */\nfunction getComponentViewByIndex(nodeIndex, hostView) {\n    // Could be an LView or an LContainer. If LContainer, unwrap to find LView.\n    /** @type {?} */\n    const slotValue = hostView[nodeIndex];\n    /** @type {?} */\n    const lView = isLView(slotValue) ? slotValue : slotValue[HOST];\n    return lView;\n}\n/**\n * Returns the monkey-patch value data present on the target (which could be\n * a component, directive or a DOM node).\n * @param {?} target\n * @return {?}\n */\nfunction readPatchedData(target) {\n    ngDevMode && assertDefined(target, 'Target expected');\n    return target[MONKEY_PATCH_KEY_NAME];\n}\n/**\n * @param {?} target\n * @return {?}\n */\nfunction readPatchedLView(target) {\n    /** @type {?} */\n    const value = readPatchedData(target);\n    if (value) {\n        return Array.isArray(value) ? value : ((/** @type {?} */ (value))).lView;\n    }\n    return null;\n}\n/**\n * Returns a boolean for whether the view is attached to the change detection tree.\n *\n * Note: This determines whether a view should be checked, not whether it's inserted\n * into a container. For that, you'll want `viewAttachedToContainer` below.\n * @param {?} view\n * @return {?}\n */\nfunction viewAttachedToChangeDetector(view) {\n    return (view[FLAGS] & 128 /* Attached */) === 128 /* Attached */;\n}\n/**\n * Returns a boolean for whether the view is attached to a container.\n * @param {?} view\n * @return {?}\n */\nfunction viewAttachedToContainer(view) {\n    return isLContainer(view[PARENT]);\n}\n/**\n * Resets the pre-order hook flags of the view.\n * @param {?} lView the LView on which the flags are reset\n * @return {?}\n */\nfunction resetPreOrderHookFlags(lView) {\n    lView[PREORDER_HOOK_FLAGS] = 0;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Store the element depth count. This is used to identify the root elements of the template\n * so that we can than attach `LView` to only those elements.\n * @type {?}\n */\nlet elementDepthCount;\n/**\n * @return {?}\n */\nfunction getElementDepthCount() {\n    // top level variables should not be exported for performance reasons (PERF_NOTES.md)\n    return elementDepthCount;\n}\n/**\n * @return {?}\n */\nfunction increaseElementDepthCount() {\n    elementDepthCount++;\n}\n/**\n * @return {?}\n */\nfunction decreaseElementDepthCount() {\n    elementDepthCount--;\n}\n/** @type {?} */\nlet currentDirectiveDef = null;\n/**\n * @return {?}\n */\nfunction getCurrentDirectiveDef() {\n    // top level variables should not be exported for performance reasons (PERF_NOTES.md)\n    return currentDirectiveDef;\n}\n/**\n * @param {?} def\n * @return {?}\n */\nfunction setCurrentDirectiveDef(def) {\n    currentDirectiveDef = def;\n}\n/**\n * Stores whether directives should be matched to elements.\n *\n * When template contains `ngNonBindable` than we need to prevent the runtime form matching\n * directives on children of that element.\n *\n * Example:\n * ```\n * <my-comp my-directive>\n *   Should match component / directive.\n * </my-comp>\n * <div ngNonBindable>\n *   <my-comp my-directive>\n *     Should not match component / directive because we are in ngNonBindable.\n *   </my-comp>\n * </div>\n * ```\n * @type {?}\n */\nlet bindingsEnabled;\n/**\n * @return {?}\n */\nfunction getBindingsEnabled() {\n    // top level variables should not be exported for performance reasons (PERF_NOTES.md)\n    return bindingsEnabled;\n}\n/**\n * Enables directive matching on elements.\n *\n *  * Example:\n * ```\n * <my-comp my-directive>\n *   Should match component / directive.\n * </my-comp>\n * <div ngNonBindable>\n *   <!-- ɵɵdisableBindings() -->\n *   <my-comp my-directive>\n *     Should not match component / directive because we are in ngNonBindable.\n *   </my-comp>\n *   <!-- ɵɵenableBindings() -->\n * </div>\n * ```\n *\n * \\@codeGenApi\n * @return {?}\n */\nfunction ɵɵenableBindings() {\n    bindingsEnabled = true;\n}\n/**\n * Disables directive matching on element.\n *\n *  * Example:\n * ```\n * <my-comp my-directive>\n *   Should match component / directive.\n * </my-comp>\n * <div ngNonBindable>\n *   <!-- ɵɵdisableBindings() -->\n *   <my-comp my-directive>\n *     Should not match component / directive because we are in ngNonBindable.\n *   </my-comp>\n *   <!-- ɵɵenableBindings() -->\n * </div>\n * ```\n *\n * \\@codeGenApi\n * @return {?}\n */\nfunction ɵɵdisableBindings() {\n    bindingsEnabled = false;\n}\n/**\n * @return {?}\n */\nfunction getLView() {\n    return lView;\n}\n/**\n * Used as the starting directive id value.\n *\n * All subsequent directives are incremented from this value onwards.\n * The reason why this value is `1` instead of `0` is because the `0`\n * value is reserved for the template.\n * @type {?}\n */\nconst MIN_DIRECTIVE_ID = 1;\n/** @type {?} */\nlet activeDirectiveId = MIN_DIRECTIVE_ID;\n/**\n * Position depth (with respect from leaf to root) in a directive sub-class inheritance chain.\n * @type {?}\n */\nlet activeDirectiveSuperClassDepthPosition = 0;\n/**\n * Total count of how many directives are a part of an inheritance chain.\n *\n * When directives are sub-classed (extended) from one to another, Angular\n * needs to keep track of exactly how many were encountered so it can accurately\n * generate the next directive id (once the next directive id is visited).\n * Normally the next directive id just a single incremented value from the\n * previous one, however, if the previous directive is a part of an inheritance\n * chain (a series of sub-classed directives) then the incremented value must\n * also take into account the total amount of sub-classed values.\n *\n * Note that this value resets back to zero once the next directive is\n * visited (when `incrementActiveDirectiveId` or `setActiveHostElement`\n * is called).\n * @type {?}\n */\nlet activeDirectiveSuperClassHeight = 0;\n/**\n * Sets the active directive host element and resets the directive id value\n * (when the provided elementIndex value has changed).\n *\n * @param {?=} elementIndex the element index value for the host element where\n *                     the directive/component instance lives\n * @return {?}\n */\nfunction setActiveHostElement(elementIndex = null) {\n    if (_selectedIndex !== elementIndex) {\n        setSelectedIndex(elementIndex == null ? -1 : elementIndex);\n        activeDirectiveId = elementIndex == null ? 0 : MIN_DIRECTIVE_ID;\n        activeDirectiveSuperClassDepthPosition = 0;\n        activeDirectiveSuperClassHeight = 0;\n    }\n}\n/**\n * Returns the current id value of the current directive.\n *\n * For example we have an element that has two directives on it:\n * <div dir-one dir-two></div>\n *\n * dirOne->hostBindings() (id == 1)\n * dirTwo->hostBindings() (id == 2)\n *\n * Note that this is only active when `hostBinding` functions are being processed.\n *\n * Note that directive id values are specific to an element (this means that\n * the same id value could be present on another element with a completely\n * different set of directives).\n * @return {?}\n */\nfunction getActiveDirectiveId() {\n    return activeDirectiveId;\n}\n/**\n * Increments the current directive id value.\n *\n * For example we have an element that has two directives on it:\n * <div dir-one dir-two></div>\n *\n * dirOne->hostBindings() (index = 1)\n * // increment\n * dirTwo->hostBindings() (index = 2)\n *\n * Depending on whether or not a previous directive had any inherited\n * directives present, that value will be incremented in addition\n * to the id jumping up by one.\n *\n * Note that this is only active when `hostBinding` functions are being processed.\n *\n * Note that directive id values are specific to an element (this means that\n * the same id value could be present on another element with a completely\n * different set of directives).\n * @return {?}\n */\nfunction incrementActiveDirectiveId() {\n    activeDirectiveId += 1 + activeDirectiveSuperClassHeight;\n    // because we are dealing with a new directive this\n    // means we have exited out of the inheritance chain\n    activeDirectiveSuperClassDepthPosition = 0;\n    activeDirectiveSuperClassHeight = 0;\n}\n/**\n * Set the current super class (reverse inheritance) position depth for a directive.\n *\n * For example we have two directives: Child and Other (but Child is a sub-class of Parent)\n * <div child-dir other-dir></div>\n *\n * // increment\n * parentInstance->hostBindings() (depth = 1)\n * // decrement\n * childInstance->hostBindings() (depth = 0)\n * otherInstance->hostBindings() (depth = 0 b/c it's a different directive)\n *\n * Note that this is only active when `hostBinding` functions are being processed.\n * @param {?} delta\n * @return {?}\n */\nfunction adjustActiveDirectiveSuperClassDepthPosition(delta) {\n    activeDirectiveSuperClassDepthPosition += delta;\n    // we keep track of the height value so that when the next directive is visited\n    // then Angular knows to generate a new directive id value which has taken into\n    // account how many sub-class directives were a part of the previous directive.\n    activeDirectiveSuperClassHeight =\n        Math.max(activeDirectiveSuperClassHeight, activeDirectiveSuperClassDepthPosition);\n}\n/**\n * Returns he current depth of the super/sub class inheritance chain.\n *\n * This will return how many inherited directive/component classes\n * exist in the current chain.\n *\n * ```typescript\n * \\@Directive({ selector: '[super-dir]' })\n * class SuperDir {}\n *  / selector: '[sub-dir]' })\n * class SubDir extends SuperDir {}\n *\n * // if `<div sub-dir>` is used then the super class height is `1`\n * // if `<div super-dir>` is used then the super class height is `0`\n * ```\n * @return {?}\n */\nfunction getActiveDirectiveSuperClassHeight() {\n    return activeDirectiveSuperClassHeight;\n}\n/**\n * Returns the current super class (reverse inheritance) depth for a directive.\n *\n * This is designed to help instruction code distinguish different hostBindings\n * calls from each other when a directive has extended from another directive.\n * Normally using the directive id value is enough, but with the case\n * of parent/sub-class directive inheritance more information is required.\n *\n * Note that this is only active when `hostBinding` functions are being processed.\n * @return {?}\n */\nfunction getActiveDirectiveSuperClassDepth() {\n    return activeDirectiveSuperClassDepthPosition;\n}\n/**\n * Restores `contextViewData` to the given OpaqueViewState instance.\n *\n * Used in conjunction with the getCurrentView() instruction to save a snapshot\n * of the current view and restore it when listeners are invoked. This allows\n * walking the declaration view tree in listeners to get vars from parent views.\n *\n * \\@codeGenApi\n * @param {?} viewToRestore The OpaqueViewState instance to restore.\n *\n * @return {?}\n */\nfunction ɵɵrestoreView(viewToRestore) {\n    contextLView = (/** @type {?} */ ((/** @type {?} */ (viewToRestore))));\n}\n/**\n * Used to set the parent property when nodes are created and track query results.\n * @type {?}\n */\nlet previousOrParentTNode;\n/**\n * @return {?}\n */\nfunction getPreviousOrParentTNode() {\n    // top level variables should not be exported for performance reasons (PERF_NOTES.md)\n    return previousOrParentTNode;\n}\n/**\n * @param {?} tNode\n * @param {?} _isParent\n * @return {?}\n */\nfunction setPreviousOrParentTNode(tNode, _isParent) {\n    previousOrParentTNode = tNode;\n    isParent = _isParent;\n}\n/**\n * @param {?} tNode\n * @param {?} view\n * @return {?}\n */\nfunction setTNodeAndViewData(tNode, view) {\n    ngDevMode && assertLViewOrUndefined(view);\n    previousOrParentTNode = tNode;\n    lView = view;\n}\n/**\n * If `isParent` is:\n *  - `true`: then `previousOrParentTNode` points to a parent node.\n *  - `false`: then `previousOrParentTNode` points to previous node (sibling).\n * @type {?}\n */\nlet isParent;\n/**\n * @return {?}\n */\nfunction getIsParent() {\n    // top level variables should not be exported for performance reasons (PERF_NOTES.md)\n    return isParent;\n}\n/**\n * @return {?}\n */\nfunction setIsNotParent() {\n    isParent = false;\n}\n/**\n * @return {?}\n */\nfunction setIsParent() {\n    isParent = true;\n}\n/**\n * Checks whether a given view is in creation mode\n * @param {?=} view\n * @return {?}\n */\nfunction isCreationMode(view = lView) {\n    return (view[FLAGS] & 4 /* CreationMode */) === 4 /* CreationMode */;\n}\n/**\n * State of the current view being processed.\n *\n * An array of nodes (text, element, container, etc), pipes, their bindings, and\n * any local variables that need to be stored between invocations.\n * @type {?}\n */\nlet lView;\n/**\n * The last viewData retrieved by nextContext().\n * Allows building nextContext() and reference() calls.\n *\n * e.g. const inner = x().$implicit; const outer = x().$implicit;\n * @type {?}\n */\nlet contextLView = (/** @type {?} */ (null));\n/**\n * @return {?}\n */\nfunction getContextLView() {\n    // top level variables should not be exported for performance reasons (PERF_NOTES.md)\n    return contextLView;\n}\n/**\n * In this mode, any changes in bindings will throw an ExpressionChangedAfterChecked error.\n *\n * Necessary to support ChangeDetectorRef.checkNoChanges().\n * @type {?}\n */\nlet checkNoChangesMode = false;\n/**\n * @return {?}\n */\nfunction getCheckNoChangesMode() {\n    // top level variables should not be exported for performance reasons (PERF_NOTES.md)\n    return checkNoChangesMode;\n}\n/**\n * @param {?} mode\n * @return {?}\n */\nfunction setCheckNoChangesMode(mode) {\n    checkNoChangesMode = mode;\n}\n/**\n * The root index from which pure function instructions should calculate their binding\n * indices. In component views, this is TView.bindingStartIndex. In a host binding\n * context, this is the TView.expandoStartIndex + any dirs/hostVars before the given dir.\n * @type {?}\n */\nlet bindingRootIndex = -1;\n// top level variables should not be exported for performance reasons (PERF_NOTES.md)\n/**\n * @return {?}\n */\nfunction getBindingRoot() {\n    return bindingRootIndex;\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction setBindingRoot(value) {\n    bindingRootIndex = value;\n}\n/**\n * Current index of a View or Content Query which needs to be processed next.\n * We iterate over the list of Queries and increment current query index at every step.\n * @type {?}\n */\nlet currentQueryIndex = 0;\n/**\n * @return {?}\n */\nfunction getCurrentQueryIndex() {\n    // top level variables should not be exported for performance reasons (PERF_NOTES.md)\n    return currentQueryIndex;\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction setCurrentQueryIndex(value) {\n    currentQueryIndex = value;\n}\n/**\n * Swap the current state with a new state.\n *\n * For performance reasons we store the state in the top level of the module.\n * This way we minimize the number of properties to read. Whenever a new view\n * is entered we have to store the state for later, and when the view is\n * exited the state has to be restored\n *\n * @param {?} newView New state to become active\n * @param {?} hostTNode\n * @return {?} the previous state;\n */\nfunction enterView(newView, hostTNode) {\n    ngDevMode && assertLViewOrUndefined(newView);\n    /** @type {?} */\n    const oldView = lView;\n    if (newView) {\n        /** @type {?} */\n        const tView = newView[TVIEW];\n        bindingRootIndex = tView.bindingStartIndex;\n    }\n    previousOrParentTNode = (/** @type {?} */ (hostTNode));\n    isParent = true;\n    lView = contextLView = newView;\n    return oldView;\n}\n/**\n * @template T\n * @param {?=} level\n * @return {?}\n */\nfunction nextContextImpl(level = 1) {\n    contextLView = walkUpViews(level, (/** @type {?} */ (contextLView)));\n    return (/** @type {?} */ (contextLView[CONTEXT]));\n}\n/**\n * @param {?} nestingLevel\n * @param {?} currentView\n * @return {?}\n */\nfunction walkUpViews(nestingLevel, currentView) {\n    while (nestingLevel > 0) {\n        ngDevMode && assertDefined(currentView[DECLARATION_VIEW], 'Declaration view should be defined if nesting level is greater than 0.');\n        currentView = (/** @type {?} */ (currentView[DECLARATION_VIEW]));\n        nestingLevel--;\n    }\n    return currentView;\n}\n/**\n * Resets the application state.\n * @return {?}\n */\nfunction resetComponentState() {\n    isParent = false;\n    previousOrParentTNode = (/** @type {?} */ (null));\n    elementDepthCount = 0;\n    bindingsEnabled = true;\n    setCurrentStyleSanitizer(null);\n    resetAllStylingState();\n}\n/**\n * Used in lieu of enterView to make it clear when we are exiting a child view. This makes\n * the direction of traversal (up or down the view tree) a bit clearer.\n *\n * @param {?} newView New state to become active\n * @param {?} safeToRunHooks Whether the runtime is in a state where running lifecycle hooks is valid.\n * This is not always the case (for example, the application may have crashed and `leaveView` is\n * being executed while unwinding the call stack).\n * @return {?}\n */\nfunction leaveView(newView, safeToRunHooks) {\n    /** @type {?} */\n    const tView = lView[TVIEW];\n    if (isCreationMode(lView)) {\n        lView[FLAGS] &= ~4 /* CreationMode */;\n    }\n    else {\n        try {\n            resetPreOrderHookFlags(lView);\n            safeToRunHooks && executeHooks(lView, tView.viewHooks, tView.viewCheckHooks, checkNoChangesMode, 2 /* AfterViewInitHooksToBeRun */, undefined);\n        }\n        finally {\n            // Views are clean and in update mode after being checked, so these bits are cleared\n            lView[FLAGS] &= ~(64 /* Dirty */ | 8 /* FirstLViewPass */);\n            lView[BINDING_INDEX] = tView.bindingStartIndex;\n        }\n    }\n    enterView(newView, null);\n}\n/** @type {?} */\nlet _selectedIndex = -1;\n/**\n * Gets the most recent index passed to {\\@link select}\n *\n * Used with {\\@link property} instruction (and more in the future) to identify the index in the\n * current `LView` to act on.\n * @return {?}\n */\nfunction getSelectedIndex() {\n    return _selectedIndex;\n}\n/**\n * Sets the most recent index passed to {\\@link select}\n *\n * Used with {\\@link property} instruction (and more in the future) to identify the index in the\n * current `LView` to act on.\n * @param {?} index\n * @return {?}\n */\nfunction setSelectedIndex(index) {\n    _selectedIndex = index;\n    // we have now jumped to another element\n    // therefore the state is stale\n    resetStylingState();\n}\n/** @type {?} */\nlet _currentNamespace = null;\n/**\n * Sets the namespace used to create elements to `'http://www.w3.org/2000/svg'` in global state.\n *\n * \\@codeGenApi\n * @return {?}\n */\nfunction ɵɵnamespaceSVG() {\n    _currentNamespace = 'http://www.w3.org/2000/svg';\n}\n/**\n * Sets the namespace used to create elements to `'http://www.w3.org/1998/MathML/'` in global state.\n *\n * \\@codeGenApi\n * @return {?}\n */\nfunction ɵɵnamespaceMathML() {\n    _currentNamespace = 'http://www.w3.org/1998/MathML/';\n}\n/**\n * Sets the namespace used to create elements to `null`, which forces element creation to use\n * `createElement` rather than `createElementNS`.\n *\n * \\@codeGenApi\n * @return {?}\n */\nfunction ɵɵnamespaceHTML() {\n    namespaceHTMLInternal();\n}\n/**\n * Sets the namespace used to create elements to `null`, which forces element creation to use\n * `createElement` rather than `createElementNS`.\n * @return {?}\n */\nfunction namespaceHTMLInternal() {\n    _currentNamespace = null;\n}\n/**\n * @return {?}\n */\nfunction getNamespace() {\n    return _currentNamespace;\n}\n/** @type {?} */\nlet _currentSanitizer;\n/**\n * @param {?} sanitizer\n * @return {?}\n */\nfunction setCurrentStyleSanitizer(sanitizer) {\n    _currentSanitizer = sanitizer;\n}\n/**\n * @return {?}\n */\nfunction getCurrentStyleSanitizer() {\n    return _currentSanitizer;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Returns whether the values are different from a change detection stand point.\n *\n * Constraints are relaxed in checkNoChanges mode. See `devModeEqual` for details.\n * @param {?} a\n * @param {?} b\n * @return {?}\n */\nfunction isDifferent(a, b) {\n    // NaN is the only value that is not equal to itself so the first\n    // test checks if both a and b are not NaN\n    return !(a !== a && b !== b) && a !== b;\n}\n/**\n * Used for stringify render output in Ivy.\n * Important! This function is very performance-sensitive and we should\n * be extra careful not to introduce megamorphic reads in it.\n * @param {?} value\n * @return {?}\n */\nfunction renderStringify(value) {\n    if (typeof value === 'string')\n        return value;\n    if (value == null)\n        return '';\n    return '' + value;\n}\n/**\n * Used to stringify a value so that it can be displayed in an error message.\n * Important! This function contains a megamorphic read and should only be\n * used for error messages.\n * @param {?} value\n * @return {?}\n */\nfunction stringifyForError(value) {\n    if (typeof value === 'function')\n        return value.name || value.toString();\n    if (typeof value === 'object' && value != null && typeof value.type === 'function') {\n        return value.type.name || value.type.toString();\n    }\n    return renderStringify(value);\n}\nconst ɵ0$2 = /**\n * @return {?}\n */\n() => (typeof requestAnimationFrame !== 'undefined' && requestAnimationFrame || // browser only\n    setTimeout // everything else\n).bind(_global);\n/** @type {?} */\nconst defaultScheduler = ((ɵ0$2))();\n/**\n *\n * \\@codeGenApi\n * @param {?} element\n * @return {?}\n */\nfunction ɵɵresolveWindow(element) {\n    return { name: 'window', target: element.ownerDocument.defaultView };\n}\n/**\n *\n * \\@codeGenApi\n * @param {?} element\n * @return {?}\n */\nfunction ɵɵresolveDocument(element) {\n    return { name: 'document', target: element.ownerDocument };\n}\n/**\n *\n * \\@codeGenApi\n * @param {?} element\n * @return {?}\n */\nfunction ɵɵresolveBody(element) {\n    return { name: 'body', target: element.ownerDocument.body };\n}\n/**\n * The special delimiter we use to separate property names, prefixes, and suffixes\n * in property binding metadata. See storeBindingMetadata().\n *\n * We intentionally use the Unicode \"REPLACEMENT CHARACTER\" (U+FFFD) as a delimiter\n * because it is a very uncommon character that is unlikely to be part of a user's\n * property names or interpolation strings. If it is in fact used in a property\n * binding, DebugElement.properties will not return the correct value for that\n * binding. However, there should be no runtime effect for real applications.\n *\n * This character is typically rendered as a question mark inside of a diamond.\n * See https://en.wikipedia.org/wiki/Specials_(Unicode_block)\n *\n * @type {?}\n */\nconst INTERPOLATION_DELIMITER = `�`;\n/**\n * Determines whether or not the given string is a property metadata string.\n * See storeBindingMetadata().\n * @param {?} str\n * @return {?}\n */\nfunction isPropMetadataString(str) {\n    return str.indexOf(INTERPOLATION_DELIMITER) >= 0;\n}\n/**\n * Unwrap a value which might be behind a closure (for forward declaration reasons).\n * @template T\n * @param {?} value\n * @return {?}\n */\nfunction maybeUnwrapFn(value) {\n    if (value instanceof Function) {\n        return value();\n    }\n    else {\n        return value;\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst MAP_BASED_ENTRY_PROP_NAME = '--MAP--';\n/** @type {?} */\nconst TEMPLATE_DIRECTIVE_INDEX = 0;\n/**\n * Creates a new instance of the `TStylingContext`.\n *\n * The `TStylingContext` is used as a manifest of all style or all class bindings on\n * an element. Because it is a T-level data-structure, it is only created once per\n * tNode for styles and for classes. This function allocates a new instance of a\n * `TStylingContext` with the initial values (see `interfaces.ts` for more info).\n * @param {?=} initialStyling\n * @return {?}\n */\nfunction allocTStylingContext(initialStyling) {\n    // because map-based bindings deal with a dynamic set of values, there\n    // is no way to know ahead of time whether or not sanitization is required.\n    // For this reason the configuration will always mark sanitization as active\n    // (this means that when map-based values are applied then sanitization will\n    // be checked against each property).\n    /** @type {?} */\n    const mapBasedConfig = 1 /* SanitizationRequired */;\n    return [\n        initialStyling || [''],\n        0 /* Initial */,\n        TEMPLATE_DIRECTIVE_INDEX,\n        mapBasedConfig,\n        0,\n        MAP_BASED_ENTRY_PROP_NAME,\n    ];\n}\n/**\n * Sets the provided directive as the last directive index in the provided `TStylingContext`.\n *\n * Styling in Angular can be applied from the template as well as multiple sources of\n * host bindings. This means that each binding function (the template function or the\n * hostBindings functions) will generate styling instructions as well as a styling\n * apply function (i.e. `stylingApply()`). Because host bindings functions and the\n * template function are independent from one another this means that the styling apply\n * function will be called multiple times. By tracking the last directive index (which\n * is what happens in this function) the styling algorithm knows exactly when to flush\n * styling (which is when the last styling apply function is executed).\n * @param {?} context\n * @param {?} lastDirectiveIndex\n * @return {?}\n */\nfunction updateLastDirectiveIndex(context, lastDirectiveIndex) {\n    if (lastDirectiveIndex === TEMPLATE_DIRECTIVE_INDEX) {\n        /** @type {?} */\n        const currentValue = context[2 /* LastDirectiveIndexPosition */];\n        if (currentValue > TEMPLATE_DIRECTIVE_INDEX) {\n            // This means that a directive or two contained a host bindings function, but\n            // now the template function also contains styling. When this combination of sources\n            // comes up then we need to tell the context to store the state between updates\n            // (because host bindings evaluation happens after template binding evaluation).\n            markContextToPersistState(context);\n        }\n    }\n    else {\n        context[2 /* LastDirectiveIndexPosition */] = lastDirectiveIndex;\n    }\n}\n/**\n * @param {?} context\n * @return {?}\n */\nfunction getConfig(context) {\n    return context[1 /* ConfigPosition */];\n}\n/**\n * @param {?} context\n * @param {?} value\n * @return {?}\n */\nfunction setConfig(context, value) {\n    context[1 /* ConfigPosition */] = value;\n}\n/**\n * @param {?} context\n * @param {?} index\n * @return {?}\n */\nfunction getProp(context, index) {\n    return (/** @type {?} */ (context[index + 2 /* PropOffset */]));\n}\n/**\n * @param {?} context\n * @param {?} index\n * @return {?}\n */\nfunction getPropConfig(context, index) {\n    return ((/** @type {?} */ (context[index + 0 /* ConfigAndGuardOffset */]))) &\n        1 /* Mask */;\n}\n/**\n * @param {?} context\n * @param {?} index\n * @return {?}\n */\nfunction isSanitizationRequired(context, index) {\n    return (getPropConfig(context, index) & 1 /* SanitizationRequired */) > 0;\n}\n/**\n * @param {?} context\n * @param {?} index\n * @return {?}\n */\nfunction getGuardMask(context, index) {\n    /** @type {?} */\n    const configGuardValue = (/** @type {?} */ (context[index + 0 /* ConfigAndGuardOffset */]));\n    return configGuardValue >> 1 /* TotalBits */;\n}\n/**\n * @param {?} context\n * @param {?} index\n * @param {?} maskValue\n * @return {?}\n */\nfunction setGuardMask(context, index, maskValue) {\n    /** @type {?} */\n    const config = getPropConfig(context, index);\n    /** @type {?} */\n    const guardMask = maskValue << 1 /* TotalBits */;\n    context[index + 0 /* ConfigAndGuardOffset */] = config | guardMask;\n}\n/**\n * @param {?} context\n * @param {?} index\n * @return {?}\n */\nfunction getValuesCount(context, index) {\n    return (/** @type {?} */ (context[index + 1 /* ValuesCountOffset */]));\n}\n/**\n * @param {?} context\n * @param {?} index\n * @param {?} offset\n * @return {?}\n */\nfunction getBindingValue(context, index, offset) {\n    return (/** @type {?} */ (context[index + 3 /* BindingsStartOffset */ + offset]));\n}\n/**\n * @param {?} context\n * @param {?} index\n * @return {?}\n */\nfunction getDefaultValue(context, index) {\n    /** @type {?} */\n    const valuesCount = getValuesCount(context, index);\n    return (/** @type {?} */ (context[index + 3 /* BindingsStartOffset */ + valuesCount - 1]));\n}\n/**\n * Temporary function which determines whether or not a context is\n * allowed to be flushed based on the provided directive index.\n * @param {?} context\n * @param {?} index\n * @return {?}\n */\nfunction allowStylingFlush(context, index) {\n    return (context && index === context[2 /* LastDirectiveIndexPosition */]) ? true :\n        false;\n}\n/**\n * @param {?} context\n * @return {?}\n */\nfunction lockContext(context) {\n    setConfig(context, getConfig(context) | 1 /* Locked */);\n}\n/**\n * @param {?} context\n * @return {?}\n */\nfunction isContextLocked(context) {\n    return (getConfig(context) & 1 /* Locked */) > 0;\n}\n/**\n * @param {?} context\n * @return {?}\n */\nfunction stateIsPersisted(context) {\n    return (getConfig(context) & 2 /* PersistStateValues */) > 0;\n}\n/**\n * @param {?} context\n * @return {?}\n */\nfunction markContextToPersistState(context) {\n    setConfig(context, getConfig(context) | 2 /* PersistStateValues */);\n}\n/**\n * @param {?} context\n * @return {?}\n */\nfunction getPropValuesStartPosition(context) {\n    return 6 /* MapBindingsBindingsStartPosition */ +\n        context[4 /* MapBindingsValuesCountPosition */];\n}\n/**\n * @param {?} prop\n * @return {?}\n */\nfunction isMapBased(prop) {\n    return prop === MAP_BASED_ENTRY_PROP_NAME;\n}\n/**\n * @param {?} a\n * @param {?} b\n * @return {?}\n */\nfunction hasValueChanged(a, b) {\n    /** @type {?} */\n    let compareValueA = Array.isArray(a) ? a[0 /* RawValuePosition */] : a;\n    /** @type {?} */\n    let compareValueB = Array.isArray(b) ? b[0 /* RawValuePosition */] : b;\n    // these are special cases for String based values (which are created as artifacts\n    // when sanitization is bypassed on a particular value)\n    if (compareValueA instanceof String) {\n        compareValueA = compareValueA.toString();\n    }\n    if (compareValueB instanceof String) {\n        compareValueB = compareValueB.toString();\n    }\n    return isDifferent(compareValueA, compareValueB);\n}\n/**\n * Determines whether the provided styling value is truthy or falsy.\n * @param {?} value\n * @return {?}\n */\nfunction isStylingValueDefined(value) {\n    // the reason why null is compared against is because\n    // a CSS class value that is set to `false` must be\n    // respected (otherwise it would be treated as falsy).\n    // Empty string values are because developers usually\n    // set a value to an empty string to remove it.\n    return value != null && value !== '';\n}\n/**\n * @param {?} a\n * @param {?} b\n * @param {?=} separator\n * @return {?}\n */\nfunction concatString(a, b, separator = ' ') {\n    return a + ((b.length && a.length) ? separator : '') + b;\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction hyphenate(value) {\n    return value.replace(/[a-z][A-Z]/g, (/**\n     * @param {?} v\n     * @return {?}\n     */\n    v => v.charAt(0) + '-' + v.charAt(1))).toLowerCase();\n}\n/**\n * Returns an instance of `StylingMapArray`.\n *\n * This function is designed to find an instance of `StylingMapArray` in case it is stored\n * inside of an instance of `TStylingContext`. When a styling context is created it\n * will copy over an initial styling values from the tNode (which are stored as a\n * `StylingMapArray` on the `tNode.classes` or `tNode.styles` values).\n * @param {?} value\n * @return {?}\n */\nfunction getStylingMapArray(value) {\n    return isStylingContext(value) ?\n        ((/** @type {?} */ (value)))[0 /* InitialStylingValuePosition */] :\n        value;\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction isStylingContext(value) {\n    // the StylingMapArray is in the format of [initial, prop, string, prop, string]\n    // and this is the defining value to distinguish between arrays\n    return Array.isArray(value) &&\n        value.length >= 6 /* MapBindingsBindingsStartPosition */ &&\n        typeof value[1] !== 'string';\n}\n/**\n * @param {?} context\n * @return {?}\n */\nfunction getInitialStylingValue(context) {\n    /** @type {?} */\n    const map = getStylingMapArray(context);\n    return map && ((/** @type {?} */ (map[0 /* RawValuePosition */]))) || '';\n}\n/**\n * @param {?} tNode\n * @return {?}\n */\nfunction hasClassInput(tNode) {\n    return (tNode.flags & 8 /* hasClassInput */) !== 0;\n}\n/**\n * @param {?} tNode\n * @return {?}\n */\nfunction hasStyleInput(tNode) {\n    return (tNode.flags & 16 /* hasStyleInput */) !== 0;\n}\n/**\n * @param {?} map\n * @param {?} index\n * @return {?}\n */\nfunction getMapProp(map, index) {\n    return (/** @type {?} */ (map[index + 0 /* PropOffset */]));\n}\n/**\n * @param {?} map\n * @param {?} index\n * @param {?} value\n * @return {?}\n */\nfunction setMapValue(map, index, value) {\n    map[index + 1 /* ValueOffset */] = value;\n}\n/**\n * @param {?} map\n * @param {?} index\n * @return {?}\n */\nfunction getMapValue(map, index) {\n    return (/** @type {?} */ (map[index + 1 /* ValueOffset */]));\n}\n/**\n * @param {?} classes\n * @return {?}\n */\nfunction forceClassesAsString(classes) {\n    if (classes && typeof classes !== 'string') {\n        classes = Object.keys(classes).join(' ');\n    }\n    return ((/** @type {?} */ (classes))) || '';\n}\n/**\n * @param {?} styles\n * @return {?}\n */\nfunction forceStylesAsString(styles) {\n    /** @type {?} */\n    let str = '';\n    if (styles) {\n        /** @type {?} */\n        const props = Object.keys(styles);\n        for (let i = 0; i < props.length; i++) {\n            /** @type {?} */\n            const prop = props[i];\n            str = concatString(str, `${prop}:${styles[prop]}`, ';');\n        }\n    }\n    return str;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * The goal here is to make sure that the browser DOM API is the Renderer.\n * We do this by defining a subset of DOM API to be the renderer and than\n * use that time for rendering.\n *\n * At runtime we can then use the DOM api directly, in server or web-worker\n * it will be easy to implement such API.\n */\n/** @enum {number} */\nconst RendererStyleFlags3 = {\n    Important: 1,\n    DashCase: 2,\n};\nRendererStyleFlags3[RendererStyleFlags3.Important] = 'Important';\nRendererStyleFlags3[RendererStyleFlags3.DashCase] = 'DashCase';\n/**\n * Object Oriented style of API needed to create elements and text nodes.\n *\n * This is the native browser API style, e.g. operations are methods on individual objects\n * like HTMLElement. With this style, no additional code is needed as a facade\n * (reducing payload size).\n *\n * @record\n */\nfunction ObjectOrientedRenderer3() { }\nif (false) {}\n/**\n * Returns whether the `renderer` is a `ProceduralRenderer3`\n * @param {?} renderer\n * @return {?}\n */\nfunction isProceduralRenderer(renderer) {\n    return !!(((/** @type {?} */ (renderer))).listen);\n}\n/**\n * Procedural style of API needed to create elements and text nodes.\n *\n * In non-native browser environments (e.g. platforms such as web-workers), this is the\n * facade that enables element manipulation. This also facilitates backwards compatibility\n * with Renderer2.\n * @record\n */\nfunction ProceduralRenderer3() { }\nif (false) {}\n/**\n * @record\n */\nfunction RendererFactory3() { }\nif (false) {}\nconst ɵ0$3 = /**\n * @param {?} hostElement\n * @param {?} rendererType\n * @return {?}\n */\n(hostElement, rendererType) => { return document; };\n/** @type {?} */\nconst domRendererFactory3 = {\n    createRenderer: (ɵ0$3)\n};\n/**\n * Subset of API needed for appending elements and text nodes.\n * @record\n */\nfunction RNode() { }\nif (false) {}\n/**\n * Subset of API needed for writing attributes, properties, and setting up\n * listeners on Element.\n * @record\n */\nfunction RElement() { }\nif (false) {}\n/**\n * @record\n */\nfunction RCssStyleDeclaration() { }\nif (false) {}\n/**\n * @record\n */\nfunction RDomTokenList() { }\nif (false) {}\n/**\n * @record\n */\nfunction RText() { }\nif (false) {}\n/**\n * @record\n */\nfunction RComment() { }\nif (false) {}\n// Note: This hack is necessary so we don't erroneously get a circular dependency\n// failure based on types.\n/** @type {?} */\nconst unusedValueExportToPlacateAjd$3 = 1;\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Assigns all attribute values to the provided element via the inferred renderer.\n *\n * This function accepts two forms of attribute entries:\n *\n * default: (key, value):\n *  attrs = [key1, value1, key2, value2]\n *\n * namespaced: (NAMESPACE_MARKER, uri, name, value)\n *  attrs = [NAMESPACE_MARKER, uri, name, value, NAMESPACE_MARKER, uri, name, value]\n *\n * The `attrs` array can contain a mix of both the default and namespaced entries.\n * The \"default\" values are set without a marker, but if the function comes across\n * a marker value then it will attempt to set a namespaced value. If the marker is\n * not of a namespaced value then the function will quit and return the index value\n * where it stopped during the iteration of the attrs array.\n *\n * See [AttributeMarker] to understand what the namespace marker value is.\n *\n * Note that this instruction does not support assigning style and class values to\n * an element. See `elementStart` and `elementHostAttrs` to learn how styling values\n * are applied to an element.\n *\n * @param {?} native The element that the attributes will be assigned to\n * @param {?} attrs The attribute array of values that will be assigned to the element\n * @return {?} the index value that was last accessed in the attributes array\n */\nfunction setUpAttributes(native, attrs) {\n    /** @type {?} */\n    const renderer = getLView()[RENDERER];\n    /** @type {?} */\n    const isProc = isProceduralRenderer(renderer);\n    /** @type {?} */\n    let i = 0;\n    while (i < attrs.length) {\n        /** @type {?} */\n        const value = attrs[i];\n        if (typeof value === 'number') {\n            // only namespaces are supported. Other value types (such as style/class\n            // entries) are not supported in this function.\n            if (value !== 0 /* NamespaceURI */) {\n                break;\n            }\n            // we just landed on the marker value ... therefore\n            // we should skip to the next entry\n            i++;\n            /** @type {?} */\n            const namespaceURI = (/** @type {?} */ (attrs[i++]));\n            /** @type {?} */\n            const attrName = (/** @type {?} */ (attrs[i++]));\n            /** @type {?} */\n            const attrVal = (/** @type {?} */ (attrs[i++]));\n            ngDevMode && ngDevMode.rendererSetAttribute++;\n            isProc ?\n                ((/** @type {?} */ (renderer))).setAttribute(native, attrName, attrVal, namespaceURI) :\n                native.setAttributeNS(namespaceURI, attrName, attrVal);\n        }\n        else {\n            // attrName is string;\n            /** @type {?} */\n            const attrName = (/** @type {?} */ (value));\n            /** @type {?} */\n            const attrVal = attrs[++i];\n            // Standard attributes\n            ngDevMode && ngDevMode.rendererSetAttribute++;\n            if (isAnimationProp(attrName)) {\n                if (isProc) {\n                    ((/** @type {?} */ (renderer))).setProperty(native, attrName, attrVal);\n                }\n            }\n            else {\n                isProc ?\n                    ((/** @type {?} */ (renderer)))\n                        .setAttribute(native, (/** @type {?} */ (attrName)), (/** @type {?} */ (attrVal))) :\n                    native.setAttribute((/** @type {?} */ (attrName)), (/** @type {?} */ (attrVal)));\n            }\n            i++;\n        }\n    }\n    // another piece of code may iterate over the same attributes array. Therefore\n    // it may be helpful to return the exact spot where the attributes array exited\n    // whether by running into an unsupported marker or if all the static values were\n    // iterated over.\n    return i;\n}\n/**\n * @param {?} attrs\n * @param {?} startIndex\n * @return {?}\n */\nfunction attrsStylingIndexOf(attrs, startIndex) {\n    for (let i = startIndex; i < attrs.length; i++) {\n        /** @type {?} */\n        const val = attrs[i];\n        if (val === 1 /* Classes */ || val === 2 /* Styles */) {\n            return i;\n        }\n    }\n    return -1;\n}\n/**\n * Test whether the given value is a marker that indicates that the following\n * attribute values in a `TAttributes` array are only the names of attributes,\n * and not name-value pairs.\n * @param {?} marker The attribute marker to test.\n * @return {?} true if the marker is a \"name-only\" marker (e.g. `Bindings`, `Template` or `I18n`).\n */\nfunction isNameOnlyAttributeMarker(marker) {\n    return marker === 3 /* Bindings */ || marker === 4 /* Template */ ||\n        marker === 6 /* I18n */;\n}\n/** @type {?} */\nconst ANIMATION_PROP_PREFIX = '@';\n/**\n * @param {?} name\n * @return {?}\n */\nfunction isAnimationProp(name) {\n    return name[0] === ANIMATION_PROP_PREFIX;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/// Parent Injector Utils ///////////////////////////////////////////////////////////////\n/**\n * @param {?} parentLocation\n * @return {?}\n */\nfunction hasParentInjector(parentLocation) {\n    return parentLocation !== NO_PARENT_INJECTOR;\n}\n/**\n * @param {?} parentLocation\n * @return {?}\n */\nfunction getParentInjectorIndex(parentLocation) {\n    return ((/** @type {?} */ ((/** @type {?} */ (parentLocation))))) & 32767 /* InjectorIndexMask */;\n}\n/**\n * @param {?} parentLocation\n * @return {?}\n */\nfunction getParentInjectorViewOffset(parentLocation) {\n    return ((/** @type {?} */ ((/** @type {?} */ (parentLocation))))) >> 16 /* ViewOffsetShift */;\n}\n/**\n * Unwraps a parent injector location number to find the view offset from the current injector,\n * then walks up the declaration view tree until the view is found that contains the parent\n * injector.\n *\n * @param {?} location The location of the parent injector, which contains the view offset\n * @param {?} startView The LView instance from which to start walking up the view tree\n * @return {?} The LView instance that contains the parent injector\n */\nfunction getParentInjectorView(location, startView) {\n    /** @type {?} */\n    let viewOffset = getParentInjectorViewOffset(location);\n    /** @type {?} */\n    let parentView = startView;\n    // For most cases, the parent injector can be found on the host node (e.g. for component\n    // or container), but we must keep the loop here to support the rarer case of deeply nested\n    // <ng-template> tags or inline views, where the parent injector might live many views\n    // above the child injector.\n    while (viewOffset > 0) {\n        parentView = (/** @type {?} */ (parentView[DECLARATION_VIEW]));\n        viewOffset--;\n    }\n    return parentView;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Gets the parent LView of the passed LView, if the PARENT is an LContainer, will get the parent of\n * that LContainer, which is an LView\n * @param {?} lView the lView whose parent to get\n * @return {?}\n */\nfunction getLViewParent(lView) {\n    ngDevMode && assertLView(lView);\n    /** @type {?} */\n    const parent = lView[PARENT];\n    return isLContainer(parent) ? (/** @type {?} */ (parent[PARENT])) : parent;\n}\n/**\n * Retrieve the root view from any component or `LView` by walking the parent `LView` until\n * reaching the root `LView`.\n *\n * @param {?} componentOrLView any component or `LView`\n * @return {?}\n */\nfunction getRootView(componentOrLView) {\n    ngDevMode && assertDefined(componentOrLView, 'component');\n    /** @type {?} */\n    let lView = isLView(componentOrLView) ? componentOrLView : (/** @type {?} */ (readPatchedLView(componentOrLView)));\n    while (lView && !(lView[FLAGS] & 512 /* IsRoot */)) {\n        lView = (/** @type {?} */ (getLViewParent(lView)));\n    }\n    ngDevMode && assertLView(lView);\n    return lView;\n}\n/**\n * Given an `LView`, find the closest declaration view which is not an embedded view.\n *\n * This method searches for the `LView` associated with the component which declared the `LView`.\n *\n * This function may return itself if the `LView` passed in is not an embedded `LView`. Otherwise\n * it walks the declaration parents until it finds a component view (non-embedded-view.)\n *\n * @param {?} lView LView for which we want a host element node\n * @return {?} The host node\n */\nfunction findComponentView(lView) {\n    /** @type {?} */\n    let rootTNode = lView[T_HOST];\n    while (rootTNode !== null && rootTNode.type === 2 /* View */) {\n        ngDevMode && assertDefined(lView[DECLARATION_VIEW], 'lView[DECLARATION_VIEW]');\n        lView = (/** @type {?} */ (lView[DECLARATION_VIEW]));\n        rootTNode = lView[T_HOST];\n    }\n    ngDevMode && assertLView(lView);\n    return lView;\n}\n/**\n * Returns the `RootContext` instance that is associated with\n * the application where the target is situated. It does this by walking the parent views until it\n * gets to the root view, then getting the context off of that.\n *\n * @param {?} viewOrComponent the `LView` or component to get the root context for.\n * @return {?}\n */\nfunction getRootContext(viewOrComponent) {\n    /** @type {?} */\n    const rootView = getRootView(viewOrComponent);\n    ngDevMode &&\n        assertDefined(rootView[CONTEXT], 'RootView has no context. Perhaps it is disconnected?');\n    return (/** @type {?} */ (rootView[CONTEXT]));\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Defines if the call to `inject` should include `viewProviders` in its resolution.\n *\n * This is set to true when we try to instantiate a component. This value is reset in\n * `getNodeInjectable` to a value which matches the declaration location of the token about to be\n * instantiated. This is done so that if we are injecting a token which was declared outside of\n * `viewProviders` we don't accidentally pull `viewProviders` in.\n *\n * Example:\n *\n * ```\n * \\@Injectable()\n * class MyService {\n *   constructor(public value: String) {}\n * }\n *\n * \\@Component({\n *   providers: [\n *     MyService,\n *     {provide: String, value: 'providers' }\n *   ]\n *   viewProviders: [\n *     {provide: String, value: 'viewProviders'}\n *   ]\n * })\n * class MyComponent {\n *   constructor(myService: MyService, value: String) {\n *     // We expect that Component can see into `viewProviders`.\n *     expect(value).toEqual('viewProviders');\n *     // `MyService` was not declared in `viewProviders` hence it can't see it.\n *     expect(myService.value).toEqual('providers');\n *   }\n * }\n *\n * ```\n * @type {?}\n */\nlet includeViewProviders = true;\n/**\n * @param {?} v\n * @return {?}\n */\nfunction setIncludeViewProviders(v) {\n    /** @type {?} */\n    const oldValue = includeViewProviders;\n    includeViewProviders = v;\n    return oldValue;\n}\n/**\n * The number of slots in each bloom filter (used by DI). The larger this number, the fewer\n * directives that will share slots, and thus, the fewer false positives when checking for\n * the existence of a directive.\n * @type {?}\n */\nconst BLOOM_SIZE = 256;\n/** @type {?} */\nconst BLOOM_MASK = BLOOM_SIZE - 1;\n/**\n * Counter used to generate unique IDs for directives.\n * @type {?}\n */\nlet nextNgElementId = 0;\n/**\n * Registers this directive as present in its node's injector by flipping the directive's\n * corresponding bit in the injector's bloom filter.\n *\n * @param {?} injectorIndex The index of the node injector where this token should be registered\n * @param {?} tView The TView for the injector's bloom filters\n * @param {?} type The directive token to register\n * @return {?}\n */\nfunction bloomAdd(injectorIndex, tView, type) {\n    ngDevMode && assertEqual(tView.firstTemplatePass, true, 'expected firstTemplatePass to be true');\n    /** @type {?} */\n    let id = typeof type !== 'string' ? ((/** @type {?} */ (type)))[NG_ELEMENT_ID] : type.charCodeAt(0) || 0;\n    // Set a unique ID on the directive type, so if something tries to inject the directive,\n    // we can easily retrieve the ID and hash it into the bloom bit that should be checked.\n    if (id == null) {\n        id = ((/** @type {?} */ (type)))[NG_ELEMENT_ID] = nextNgElementId++;\n    }\n    // We only have BLOOM_SIZE (256) slots in our bloom filter (8 buckets * 32 bits each),\n    // so all unique IDs must be modulo-ed into a number from 0 - 255 to fit into the filter.\n    /** @type {?} */\n    const bloomBit = id & BLOOM_MASK;\n    // Create a mask that targets the specific bit associated with the directive.\n    // JS bit operations are 32 bits, so this will be a number between 2^0 and 2^31, corresponding\n    // to bit positions 0 - 31 in a 32 bit integer.\n    /** @type {?} */\n    const mask = 1 << bloomBit;\n    // Use the raw bloomBit number to determine which bloom filter bucket we should check\n    // e.g: bf0 = [0 - 31], bf1 = [32 - 63], bf2 = [64 - 95], bf3 = [96 - 127], etc\n    /** @type {?} */\n    const b7 = bloomBit & 0x80;\n    /** @type {?} */\n    const b6 = bloomBit & 0x40;\n    /** @type {?} */\n    const b5 = bloomBit & 0x20;\n    /** @type {?} */\n    const tData = (/** @type {?} */ (tView.data));\n    if (b7) {\n        b6 ? (b5 ? (tData[injectorIndex + 7] |= mask) : (tData[injectorIndex + 6] |= mask)) :\n            (b5 ? (tData[injectorIndex + 5] |= mask) : (tData[injectorIndex + 4] |= mask));\n    }\n    else {\n        b6 ? (b5 ? (tData[injectorIndex + 3] |= mask) : (tData[injectorIndex + 2] |= mask)) :\n            (b5 ? (tData[injectorIndex + 1] |= mask) : (tData[injectorIndex] |= mask));\n    }\n}\n/**\n * Creates (or gets an existing) injector for a given element or container.\n *\n * @param {?} tNode for which an injector should be retrieved / created.\n * @param {?} hostView View where the node is stored\n * @return {?} Node injector\n */\nfunction getOrCreateNodeInjectorForNode(tNode, hostView) {\n    /** @type {?} */\n    const existingInjectorIndex = getInjectorIndex(tNode, hostView);\n    if (existingInjectorIndex !== -1) {\n        return existingInjectorIndex;\n    }\n    /** @type {?} */\n    const tView = hostView[TVIEW];\n    if (tView.firstTemplatePass) {\n        tNode.injectorIndex = hostView.length;\n        insertBloom(tView.data, tNode); // foundation for node bloom\n        insertBloom(hostView, null); // foundation for cumulative bloom\n        insertBloom(tView.blueprint, null);\n        ngDevMode && assertEqual(tNode.flags === 0 || tNode.flags === 1 /* isComponent */, true, 'expected tNode.flags to not be initialized');\n    }\n    /** @type {?} */\n    const parentLoc = getParentInjectorLocation(tNode, hostView);\n    /** @type {?} */\n    const parentIndex = getParentInjectorIndex(parentLoc);\n    /** @type {?} */\n    const parentLView = getParentInjectorView(parentLoc, hostView);\n    /** @type {?} */\n    const injectorIndex = tNode.injectorIndex;\n    // If a parent injector can't be found, its location is set to -1.\n    // In that case, we don't need to set up a cumulative bloom\n    if (hasParentInjector(parentLoc)) {\n        /** @type {?} */\n        const parentData = (/** @type {?} */ (parentLView[TVIEW].data));\n        // Creates a cumulative bloom filter that merges the parent's bloom filter\n        // and its own cumulative bloom (which contains tokens for all ancestors)\n        for (let i = 0; i < 8; i++) {\n            hostView[injectorIndex + i] = parentLView[parentIndex + i] | parentData[parentIndex + i];\n        }\n    }\n    hostView[injectorIndex + PARENT_INJECTOR] = parentLoc;\n    return injectorIndex;\n}\n/**\n * @param {?} arr\n * @param {?} footer\n * @return {?}\n */\nfunction insertBloom(arr, footer) {\n    arr.push(0, 0, 0, 0, 0, 0, 0, 0, footer);\n}\n/**\n * @param {?} tNode\n * @param {?} hostView\n * @return {?}\n */\nfunction getInjectorIndex(tNode, hostView) {\n    if (tNode.injectorIndex === -1 ||\n        // If the injector index is the same as its parent's injector index, then the index has been\n        // copied down from the parent node. No injector has been created yet on this node.\n        (tNode.parent && tNode.parent.injectorIndex === tNode.injectorIndex) ||\n        // After the first template pass, the injector index might exist but the parent values\n        // might not have been calculated yet for this instance\n        hostView[tNode.injectorIndex + PARENT_INJECTOR] == null) {\n        return -1;\n    }\n    else {\n        return tNode.injectorIndex;\n    }\n}\n/**\n * Finds the index of the parent injector, with a view offset if applicable. Used to set the\n * parent injector initially.\n *\n * Returns a combination of number of `ViewData` we have to go up and index in that `Viewdata`\n * @param {?} tNode\n * @param {?} view\n * @return {?}\n */\nfunction getParentInjectorLocation(tNode, view) {\n    if (tNode.parent && tNode.parent.injectorIndex !== -1) {\n        return (/** @type {?} */ (tNode.parent.injectorIndex)); // ViewOffset is 0\n    }\n    // For most cases, the parent injector index can be found on the host node (e.g. for component\n    // or container), so this loop will be skipped, but we must keep the loop here to support\n    // the rarer case of deeply nested <ng-template> tags or inline views.\n    /** @type {?} */\n    let hostTNode = view[T_HOST];\n    /** @type {?} */\n    let viewOffset = 1;\n    while (hostTNode && hostTNode.injectorIndex === -1) {\n        view = (/** @type {?} */ (view[DECLARATION_VIEW]));\n        hostTNode = view ? view[T_HOST] : null;\n        viewOffset++;\n    }\n    return hostTNode ?\n        hostTNode.injectorIndex | (viewOffset << 16 /* ViewOffsetShift */) :\n        (/** @type {?} */ (-1));\n}\n/**\n * Makes a type or an injection token public to the DI system by adding it to an\n * injector's bloom filter.\n *\n * @param {?} injectorIndex\n * @param {?} tView\n * @param {?} token The type or the injection token to be made public\n * @return {?}\n */\nfunction diPublicInInjector(injectorIndex, tView, token) {\n    bloomAdd(injectorIndex, tView, token);\n}\n/**\n * Inject static attribute value into directive constructor.\n *\n * This method is used with `factory` functions which are generated as part of\n * `defineDirective` or `defineComponent`. The method retrieves the static value\n * of an attribute. (Dynamic attributes are not supported since they are not resolved\n *  at the time of injection and can change over time.)\n *\n * # Example\n * Given:\n * ```\n * \\@Component(...)\n * class MyComponent {\n *   constructor(\\@Attribute('title') title: string) { ... }\n * }\n * ```\n * When instantiated with\n * ```\n * <my-component title=\"Hello\"></my-component>\n * ```\n *\n * Then factory method generated is:\n * ```\n * MyComponent.ngComponentDef = defineComponent({\n *   factory: () => new MyComponent(injectAttribute('title'))\n *   ...\n * })\n * ```\n *\n * \\@publicApi\n * @param {?} tNode\n * @param {?} attrNameToInject\n * @return {?}\n */\nfunction injectAttributeImpl(tNode, attrNameToInject) {\n    ngDevMode && assertNodeOfPossibleTypes(tNode, 0 /* Container */, 3 /* Element */, 4 /* ElementContainer */);\n    ngDevMode && assertDefined(tNode, 'expecting tNode');\n    if (attrNameToInject === 'class') {\n        return getInitialStylingValue(tNode.classes);\n    }\n    if (attrNameToInject === 'style') {\n        return getInitialStylingValue(tNode.styles);\n    }\n    /** @type {?} */\n    const attrs = tNode.attrs;\n    if (attrs) {\n        /** @type {?} */\n        const attrsLength = attrs.length;\n        /** @type {?} */\n        let i = 0;\n        while (i < attrsLength) {\n            /** @type {?} */\n            const value = attrs[i];\n            // If we hit a `Bindings` or `Template` marker then we are done.\n            if (isNameOnlyAttributeMarker(value))\n                break;\n            // Skip namespaced attributes\n            if (value === 0 /* NamespaceURI */) {\n                // we skip the next two values\n                // as namespaced attributes looks like\n                // [..., AttributeMarker.NamespaceURI, 'http://someuri.com/test', 'test:exist',\n                // 'existValue', ...]\n                i = i + 2;\n            }\n            else if (typeof value === 'number') {\n                // Skip to the first value of the marked attribute.\n                i++;\n                while (i < attrsLength && typeof attrs[i] === 'string') {\n                    i++;\n                }\n            }\n            else if (value === attrNameToInject) {\n                return (/** @type {?} */ (attrs[i + 1]));\n            }\n            else {\n                i = i + 2;\n            }\n        }\n    }\n    return null;\n}\n/**\n * Returns the value associated to the given token from the NodeInjectors => ModuleInjector.\n *\n * Look for the injector providing the token by walking up the node injector tree and then\n * the module injector tree.\n *\n * This function patches `token` with `__NG_ELEMENT_ID__` which contains the id for the bloom\n * filter. Negative values are reserved for special objects.\n *   - `-1` is reserved for injecting `Injector` (implemented by `NodeInjector`)\n *\n * @template T\n * @param {?} tNode The Node where the search for the injector should start\n * @param {?} lView The `LView` that contains the `tNode`\n * @param {?} token The token to look for\n * @param {?=} flags Injection flags\n * @param {?=} notFoundValue The value to return when the injection flags is `InjectFlags.Optional`\n * @return {?} the value from the injector, `null` when not found, or `notFoundValue` if provided\n */\nfunction getOrCreateInjectable(tNode, lView, token, flags = InjectFlags.Default, notFoundValue) {\n    if (tNode) {\n        /** @type {?} */\n        const bloomHash = bloomHashBitOrFactory(token);\n        // If the ID stored here is a function, this is a special object like ElementRef or TemplateRef\n        // so just call the factory function to create it.\n        if (typeof bloomHash === 'function') {\n            /** @type {?} */\n            const savePreviousOrParentTNode = getPreviousOrParentTNode();\n            /** @type {?} */\n            const saveLView = getLView();\n            setTNodeAndViewData(tNode, lView);\n            try {\n                /** @type {?} */\n                const value = bloomHash();\n                if (value == null && !(flags & InjectFlags.Optional)) {\n                    throw new Error(`No provider for ${stringifyForError(token)}!`);\n                }\n                else {\n                    return value;\n                }\n            }\n            finally {\n                setTNodeAndViewData(savePreviousOrParentTNode, saveLView);\n            }\n        }\n        else if (typeof bloomHash == 'number') {\n            if (bloomHash === -1) {\n                // `-1` is a special value used to identify `Injector` types.\n                return (/** @type {?} */ (new NodeInjector(tNode, lView)));\n            }\n            // If the token has a bloom hash, then it is a token which could be in NodeInjector.\n            // A reference to the previous injector TView that was found while climbing the element\n            // injector tree. This is used to know if viewProviders can be accessed on the current\n            // injector.\n            /** @type {?} */\n            let previousTView = null;\n            /** @type {?} */\n            let injectorIndex = getInjectorIndex(tNode, lView);\n            /** @type {?} */\n            let parentLocation = NO_PARENT_INJECTOR;\n            /** @type {?} */\n            let hostTElementNode = flags & InjectFlags.Host ? findComponentView(lView)[T_HOST] : null;\n            // If we should skip this injector, or if there is no injector on this node, start by\n            // searching\n            // the parent injector.\n            if (injectorIndex === -1 || flags & InjectFlags.SkipSelf) {\n                parentLocation = injectorIndex === -1 ? getParentInjectorLocation(tNode, lView) :\n                    lView[injectorIndex + PARENT_INJECTOR];\n                if (!shouldSearchParent(flags, false)) {\n                    injectorIndex = -1;\n                }\n                else {\n                    previousTView = lView[TVIEW];\n                    injectorIndex = getParentInjectorIndex(parentLocation);\n                    lView = getParentInjectorView(parentLocation, lView);\n                }\n            }\n            // Traverse up the injector tree until we find a potential match or until we know there\n            // *isn't* a match.\n            while (injectorIndex !== -1) {\n                parentLocation = lView[injectorIndex + PARENT_INJECTOR];\n                // Check the current injector. If it matches, see if it contains token.\n                /** @type {?} */\n                const tView = lView[TVIEW];\n                if (bloomHasToken(bloomHash, injectorIndex, tView.data)) {\n                    // At this point, we have an injector which *may* contain the token, so we step through\n                    // the providers and directives associated with the injector's corresponding node to get\n                    // the instance.\n                    /** @type {?} */\n                    const instance = searchTokensOnInjector(injectorIndex, lView, token, previousTView, flags, hostTElementNode);\n                    if (instance !== NOT_FOUND) {\n                        return instance;\n                    }\n                }\n                if (shouldSearchParent(flags, lView[TVIEW].data[injectorIndex + TNODE] === hostTElementNode) &&\n                    bloomHasToken(bloomHash, injectorIndex, lView)) {\n                    // The def wasn't found anywhere on this node, so it was a false positive.\n                    // Traverse up the tree and continue searching.\n                    previousTView = tView;\n                    injectorIndex = getParentInjectorIndex(parentLocation);\n                    lView = getParentInjectorView(parentLocation, lView);\n                }\n                else {\n                    // If we should not search parent OR If the ancestor bloom filter value does not have the\n                    // bit corresponding to the directive we can give up on traversing up to find the specific\n                    // injector.\n                    injectorIndex = -1;\n                }\n            }\n        }\n    }\n    if (flags & InjectFlags.Optional && notFoundValue === undefined) {\n        // This must be set or the NullInjector will throw for optional deps\n        notFoundValue = null;\n    }\n    if ((flags & (InjectFlags.Self | InjectFlags.Host)) === 0) {\n        /** @type {?} */\n        const moduleInjector = lView[INJECTOR$1];\n        // switch to `injectInjectorOnly` implementation for module injector, since module injector\n        // should not have access to Component/Directive DI scope (that may happen through\n        // `directiveInject` implementation)\n        /** @type {?} */\n        const previousInjectImplementation = setInjectImplementation(undefined);\n        try {\n            if (moduleInjector) {\n                return moduleInjector.get(token, notFoundValue, flags & InjectFlags.Optional);\n            }\n            else {\n                return injectRootLimpMode(token, notFoundValue, flags & InjectFlags.Optional);\n            }\n        }\n        finally {\n            setInjectImplementation(previousInjectImplementation);\n        }\n    }\n    if (flags & InjectFlags.Optional) {\n        return notFoundValue;\n    }\n    else {\n        throw new Error(`NodeInjector: NOT_FOUND [${stringifyForError(token)}]`);\n    }\n}\n/** @type {?} */\nconst NOT_FOUND = {};\n/**\n * @template T\n * @param {?} injectorIndex\n * @param {?} lView\n * @param {?} token\n * @param {?} previousTView\n * @param {?} flags\n * @param {?} hostTElementNode\n * @return {?}\n */\nfunction searchTokensOnInjector(injectorIndex, lView, token, previousTView, flags, hostTElementNode) {\n    /** @type {?} */\n    const currentTView = lView[TVIEW];\n    /** @type {?} */\n    const tNode = (/** @type {?} */ (currentTView.data[injectorIndex + TNODE]));\n    // First, we need to determine if view providers can be accessed by the starting element.\n    // There are two possibities\n    /** @type {?} */\n    const canAccessViewProviders = previousTView == null ?\n        // 1) This is the first invocation `previousTView == null` which means that we are at the\n        // `TNode` of where injector is starting to look. In such a case the only time we are allowed\n        // to look into the ViewProviders is if:\n        // - we are on a component\n        // - AND the injector set `includeViewProviders` to true (implying that the token can see\n        // ViewProviders because it is the Component or a Service which itself was declared in\n        // ViewProviders)\n        (isComponent(tNode) && includeViewProviders) :\n        // 2) `previousTView != null` which means that we are now walking across the parent nodes.\n        // In such a case we are only allowed to look into the ViewProviders if:\n        // - We just crossed from child View to Parent View `previousTView != currentTView`\n        // - AND the parent TNode is an Element.\n        // This means that we just came from the Component's View and therefore are allowed to see\n        // into the ViewProviders.\n        (previousTView != currentTView && (tNode.type === 3 /* Element */));\n    // This special case happens when there is a @host on the inject and when we are searching\n    // on the host element node.\n    /** @type {?} */\n    const isHostSpecialCase = (flags & InjectFlags.Host) && hostTElementNode === tNode;\n    /** @type {?} */\n    const injectableIdx = locateDirectiveOrProvider(tNode, currentTView, token, canAccessViewProviders, isHostSpecialCase);\n    if (injectableIdx !== null) {\n        return getNodeInjectable(currentTView.data, lView, injectableIdx, (/** @type {?} */ (tNode)));\n    }\n    else {\n        return NOT_FOUND;\n    }\n}\n/**\n * Searches for the given token among the node's directives and providers.\n *\n * @template T\n * @param {?} tNode TNode on which directives are present.\n * @param {?} tView The tView we are currently processing\n * @param {?} token Provider token or type of a directive to look for.\n * @param {?} canAccessViewProviders Whether view providers should be considered.\n * @param {?} isHostSpecialCase Whether the host special case applies.\n * @return {?} Index of a found directive or provider, or null when none found.\n */\nfunction locateDirectiveOrProvider(tNode, tView, token, canAccessViewProviders, isHostSpecialCase) {\n    /** @type {?} */\n    const nodeProviderIndexes = tNode.providerIndexes;\n    /** @type {?} */\n    const tInjectables = tView.data;\n    /** @type {?} */\n    const injectablesStart = nodeProviderIndexes & 65535 /* ProvidersStartIndexMask */;\n    /** @type {?} */\n    const directivesStart = tNode.directiveStart;\n    /** @type {?} */\n    const directiveEnd = tNode.directiveEnd;\n    /** @type {?} */\n    const cptViewProvidersCount = nodeProviderIndexes >> 16 /* CptViewProvidersCountShift */;\n    /** @type {?} */\n    const startingIndex = canAccessViewProviders ? injectablesStart : injectablesStart + cptViewProvidersCount;\n    // When the host special case applies, only the viewProviders and the component are visible\n    /** @type {?} */\n    const endIndex = isHostSpecialCase ? injectablesStart + cptViewProvidersCount : directiveEnd;\n    for (let i = startingIndex; i < endIndex; i++) {\n        /** @type {?} */\n        const providerTokenOrDef = (/** @type {?} */ (tInjectables[i]));\n        if (i < directivesStart && token === providerTokenOrDef ||\n            i >= directivesStart && ((/** @type {?} */ (providerTokenOrDef))).type === token) {\n            return i;\n        }\n    }\n    if (isHostSpecialCase) {\n        /** @type {?} */\n        const dirDef = (/** @type {?} */ (tInjectables[directivesStart]));\n        if (dirDef && isComponentDef(dirDef) && dirDef.type === token) {\n            return directivesStart;\n        }\n    }\n    return null;\n}\n/**\n * Retrieve or instantiate the injectable from the `lData` at particular `index`.\n *\n * This function checks to see if the value has already been instantiated and if so returns the\n * cached `injectable`. Otherwise if it detects that the value is still a factory it\n * instantiates the `injectable` and caches the value.\n * @param {?} tData\n * @param {?} lData\n * @param {?} index\n * @param {?} tNode\n * @return {?}\n */\nfunction getNodeInjectable(tData, lData, index, tNode) {\n    /** @type {?} */\n    let value = lData[index];\n    if (isFactory(value)) {\n        /** @type {?} */\n        const factory = value;\n        if (factory.resolving) {\n            throw new Error(`Circular dep for ${stringifyForError(tData[index])}`);\n        }\n        /** @type {?} */\n        const previousIncludeViewProviders = setIncludeViewProviders(factory.canSeeViewProviders);\n        factory.resolving = true;\n        /** @type {?} */\n        let previousInjectImplementation;\n        if (factory.injectImpl) {\n            previousInjectImplementation = setInjectImplementation(factory.injectImpl);\n        }\n        /** @type {?} */\n        const savePreviousOrParentTNode = getPreviousOrParentTNode();\n        /** @type {?} */\n        const saveLView = getLView();\n        setTNodeAndViewData(tNode, lData);\n        try {\n            value = lData[index] = factory.factory(undefined, tData, lData, tNode);\n        }\n        finally {\n            if (factory.injectImpl)\n                setInjectImplementation(previousInjectImplementation);\n            setIncludeViewProviders(previousIncludeViewProviders);\n            factory.resolving = false;\n            setTNodeAndViewData(savePreviousOrParentTNode, saveLView);\n        }\n    }\n    return value;\n}\n/**\n * Returns the bit in an injector's bloom filter that should be used to determine whether or not\n * the directive might be provided by the injector.\n *\n * When a directive is public, it is added to the bloom filter and given a unique ID that can be\n * retrieved on the Type. When the directive isn't public or the token is not a directive `null`\n * is returned as the node injector can not possibly provide that token.\n *\n * @param {?} token the injection token\n * @return {?} the matching bit to check in the bloom filter or `null` if the token is not known.\n *   When the returned value is negative then it represents special values such as `Injector`.\n */\nfunction bloomHashBitOrFactory(token) {\n    ngDevMode && assertDefined(token, 'token must be defined');\n    if (typeof token === 'string') {\n        return token.charCodeAt(0) || 0;\n    }\n    /** @type {?} */\n    const tokenId = ((/** @type {?} */ (token)))[NG_ELEMENT_ID];\n    // Negative token IDs are used for special objects such as `Injector`\n    return (typeof tokenId === 'number' && tokenId > 0) ? tokenId & BLOOM_MASK : tokenId;\n}\n/**\n * @param {?} bloomHash\n * @param {?} injectorIndex\n * @param {?} injectorView\n * @return {?}\n */\nfunction bloomHasToken(bloomHash, injectorIndex, injectorView) {\n    // Create a mask that targets the specific bit associated with the directive we're looking for.\n    // JS bit operations are 32 bits, so this will be a number between 2^0 and 2^31, corresponding\n    // to bit positions 0 - 31 in a 32 bit integer.\n    /** @type {?} */\n    const mask = 1 << bloomHash;\n    /** @type {?} */\n    const b7 = bloomHash & 0x80;\n    /** @type {?} */\n    const b6 = bloomHash & 0x40;\n    /** @type {?} */\n    const b5 = bloomHash & 0x20;\n    // Our bloom filter size is 256 bits, which is eight 32-bit bloom filter buckets:\n    // bf0 = [0 - 31], bf1 = [32 - 63], bf2 = [64 - 95], bf3 = [96 - 127], etc.\n    // Get the bloom filter value from the appropriate bucket based on the directive's bloomBit.\n    /** @type {?} */\n    let value;\n    if (b7) {\n        value = b6 ? (b5 ? injectorView[injectorIndex + 7] : injectorView[injectorIndex + 6]) :\n            (b5 ? injectorView[injectorIndex + 5] : injectorView[injectorIndex + 4]);\n    }\n    else {\n        value = b6 ? (b5 ? injectorView[injectorIndex + 3] : injectorView[injectorIndex + 2]) :\n            (b5 ? injectorView[injectorIndex + 1] : injectorView[injectorIndex]);\n    }\n    // If the bloom filter value has the bit corresponding to the directive's bloomBit flipped on,\n    // this injector is a potential match.\n    return !!(value & mask);\n}\n/**\n * Returns true if flags prevent parent injector from being searched for tokens\n * @param {?} flags\n * @param {?} isFirstHostTNode\n * @return {?}\n */\nfunction shouldSearchParent(flags, isFirstHostTNode) {\n    return !(flags & InjectFlags.Self) && !(flags & InjectFlags.Host && isFirstHostTNode);\n}\nclass NodeInjector {\n    /**\n     * @param {?} _tNode\n     * @param {?} _lView\n     */\n    constructor(_tNode, _lView) {\n        this._tNode = _tNode;\n        this._lView = _lView;\n    }\n    /**\n     * @param {?} token\n     * @param {?=} notFoundValue\n     * @return {?}\n     */\n    get(token, notFoundValue) {\n        return getOrCreateInjectable(this._tNode, this._lView, token, undefined, notFoundValue);\n    }\n}\nif (false) {}\n/**\n * \\@codeGenApi\n * @template T\n * @param {?} type\n * @return {?}\n */\nfunction ɵɵgetFactoryOf(type) {\n    /** @type {?} */\n    const typeAny = (/** @type {?} */ (type));\n    /** @type {?} */\n    const def = getComponentDef(typeAny) || getDirectiveDef(typeAny) ||\n        getPipeDef(typeAny) || getInjectableDef(typeAny) || getInjectorDef(typeAny);\n    if (!def || def.factory === undefined) {\n        return null;\n    }\n    return def.factory;\n}\n/**\n * \\@codeGenApi\n * @template T\n * @param {?} type\n * @return {?}\n */\nfunction ɵɵgetInheritedFactory(type) {\n    /** @type {?} */\n    const proto = (/** @type {?} */ (Object.getPrototypeOf(type.prototype).constructor));\n    /** @type {?} */\n    const factory = ɵɵgetFactoryOf(proto);\n    if (factory !== null) {\n        return factory;\n    }\n    else {\n        // There is no factory defined. Either this was improper usage of inheritance\n        // (no Angular decorator on the superclass) or there is no constructor at all\n        // in the inheritance chain. Since the two cases cannot be distinguished, the\n        // latter has to be assumed.\n        return (/**\n         * @param {?} t\n         * @return {?}\n         */\n        (t) => new t());\n    }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst ERROR_TYPE = 'ngType';\nconst ERROR_DEBUG_CONTEXT = 'ngDebugContext';\nconst ERROR_ORIGINAL_ERROR = 'ngOriginalError';\nconst ERROR_LOGGER = 'ngErrorLogger';\nfunction wrappedError(message, originalError) {\n    const msg = `${message} caused by: ${originalError instanceof Error ? originalError.message : originalError}`;\n    const error = Error(msg);\n    error[ERROR_ORIGINAL_ERROR] = originalError;\n    return error;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @param {?} error\n * @return {?}\n */\nfunction getType(error) {\n    return ((/** @type {?} */ (error)))[ERROR_TYPE];\n}\n/**\n * @param {?} error\n * @return {?}\n */\nfunction getDebugContext(error) {\n    return ((/** @type {?} */ (error)))[ERROR_DEBUG_CONTEXT];\n}\n/**\n * @param {?} error\n * @return {?}\n */\nfunction getOriginalError(error) {\n    return ((/** @type {?} */ (error)))[ERROR_ORIGINAL_ERROR];\n}\n/**\n * @param {?} error\n * @return {?}\n */\nfunction getErrorLogger(error) {\n    return ((/** @type {?} */ (error)))[ERROR_LOGGER] || defaultErrorLogger;\n}\n/**\n * @param {?} console\n * @param {...?} values\n * @return {?}\n */\nfunction defaultErrorLogger(console, ...values) {\n    ((/** @type {?} */ (console.error)))(...values);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Provides a hook for centralized exception handling.\n *\n * The default implementation of `ErrorHandler` prints error messages to the `console`. To\n * intercept error handling, write a custom exception handler that replaces this default as\n * appropriate for your app.\n *\n * \\@usageNotes\n * ### Example\n *\n * ```\n * class MyErrorHandler implements ErrorHandler {\n *   handleError(error) {\n *     // do something with the exception\n *   }\n * }\n *\n * \\@NgModule({\n *   providers: [{provide: ErrorHandler, useClass: MyErrorHandler}]\n * })\n * class MyModule {}\n * ```\n *\n * \\@publicApi\n */\nclass ErrorHandler {\n    constructor() {\n        /**\n         * \\@internal\n         */\n        this._console = console;\n    }\n    /**\n     * @param {?} error\n     * @return {?}\n     */\n    handleError(error) {\n        /** @type {?} */\n        const originalError = this._findOriginalError(error);\n        /** @type {?} */\n        const context = this._findContext(error);\n        // Note: Browser consoles show the place from where console.error was called.\n        // We can use this to give users additional information about the error.\n        /** @type {?} */\n        const errorLogger = getErrorLogger(error);\n        errorLogger(this._console, `ERROR`, error);\n        if (originalError) {\n            errorLogger(this._console, `ORIGINAL ERROR`, originalError);\n        }\n        if (context) {\n            errorLogger(this._console, 'ERROR CONTEXT', context);\n        }\n    }\n    /**\n     * \\@internal\n     * @param {?} error\n     * @return {?}\n     */\n    _findContext(error) {\n        if (error) {\n            return getDebugContext(error) ? getDebugContext(error) :\n                this._findContext(getOriginalError(error));\n        }\n        return null;\n    }\n    /**\n     * \\@internal\n     * @param {?} error\n     * @return {?}\n     */\n    _findOriginalError(error) {\n        /** @type {?} */\n        let e = getOriginalError(error);\n        while (e && getOriginalError(e)) {\n            e = getOriginalError(e);\n        }\n        return e;\n    }\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * A schema definition associated with an NgModule.\n *\n * @see `\\@NgModule`, `CUSTOM_ELEMENTS_SCHEMA`, `NO_ERRORS_SCHEMA`\n *\n * @param name The name of a defined schema.\n *\n * \\@publicApi\n * @record\n */\nfunction SchemaMetadata() { }\nif (false) {}\n/**\n * Defines a schema that allows an NgModule to contain the following:\n * - Non-Angular elements named with dash case (`-`).\n * - Element properties named with dash case (`-`).\n * Dash case is the naming convention for custom elements.\n *\n * \\@publicApi\n * @type {?}\n */\nconst CUSTOM_ELEMENTS_SCHEMA = {\n    name: 'custom-elements'\n};\n/**\n * Defines a schema that allows any property on any element.\n *\n * \\@publicApi\n * @type {?}\n */\nconst NO_ERRORS_SCHEMA = {\n    name: 'no-errors-schema'\n};\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** @type {?} */\nconst BRAND = '__SANITIZER_TRUSTED_BRAND__';\n/** @enum {string} */\nconst BypassType = {\n    Url: 'Url',\n    Html: 'Html',\n    ResourceUrl: 'ResourceUrl',\n    Script: 'Script',\n    Style: 'Style',\n};\n/**\n * A branded trusted string used with sanitization.\n *\n * See: {\\@link TrustedHtmlString}, {\\@link TrustedResourceUrlString}, {\\@link TrustedScriptString},\n * {\\@link TrustedStyleString}, {\\@link TrustedUrlString}\n * @record\n */\nfunction TrustedString() { }\nif (false) {}\n/**\n * A branded trusted string used with sanitization of `html` strings.\n *\n * See: {\\@link bypassSanitizationTrustHtml} and {\\@link htmlSanitizer}.\n * @record\n */\nfunction TrustedHtmlString() { }\nif (false) {}\n/**\n * A branded trusted string used with sanitization of `style` strings.\n *\n * See: {\\@link bypassSanitizationTrustStyle} and {\\@link styleSanitizer}.\n * @record\n */\nfunction TrustedStyleString() { }\nif (false) {}\n/**\n * A branded trusted string used with sanitization of `url` strings.\n *\n * See: {\\@link bypassSanitizationTrustScript} and {\\@link scriptSanitizer}.\n * @record\n */\nfunction TrustedScriptString() { }\nif (false) {}\n/**\n * A branded trusted string used with sanitization of `url` strings.\n *\n * See: {\\@link bypassSanitizationTrustUrl} and {\\@link urlSanitizer}.\n * @record\n */\nfunction TrustedUrlString() { }\nif (false) {}\n/**\n * A branded trusted string used with sanitization of `resourceUrl` strings.\n *\n * See: {\\@link bypassSanitizationTrustResourceUrl} and {\\@link resourceUrlSanitizer}.\n * @record\n */\nfunction TrustedResourceUrlString() { }\nif (false) {}\n/**\n * @param {?} value\n * @param {?} type\n * @return {?}\n */\nfunction allowSanitizationBypass(value, type) {\n    return (value instanceof String && ((/** @type {?} */ (value)))[BRAND] === type);\n}\n/**\n * Mark `html` string as trusted.\n *\n * This function wraps the trusted string in `String` and brands it in a way which makes it\n * recognizable to {\\@link htmlSanitizer} to be trusted implicitly.\n *\n * @param {?} trustedHtml `html` string which needs to be implicitly trusted.\n * @return {?} a `html` `String` which has been branded to be implicitly trusted.\n */\nfunction bypassSanitizationTrustHtml(trustedHtml) {\n    return bypassSanitizationTrustString(trustedHtml, \"Html\" /* Html */);\n}\n/**\n * Mark `style` string as trusted.\n *\n * This function wraps the trusted string in `String` and brands it in a way which makes it\n * recognizable to {\\@link styleSanitizer} to be trusted implicitly.\n *\n * @param {?} trustedStyle `style` string which needs to be implicitly trusted.\n * @return {?} a `style` `String` which has been branded to be implicitly trusted.\n */\nfunction bypassSanitizationTrustStyle(trustedStyle) {\n    return bypassSanitizationTrustString(trustedStyle, \"Style\" /* Style */);\n}\n/**\n * Mark `script` string as trusted.\n *\n * This function wraps the trusted string in `String` and brands it in a way which makes it\n * recognizable to {\\@link scriptSanitizer} to be trusted implicitly.\n *\n * @param {?} trustedScript `script` string which needs to be implicitly trusted.\n * @return {?} a `script` `String` which has been branded to be implicitly trusted.\n */\nfunction bypassSanitizationTrustScript(trustedScript) {\n    return bypassSanitizationTrustString(trustedScript, \"Script\" /* Script */);\n}\n/**\n * Mark `url` string as trusted.\n *\n * This function wraps the trusted string in `String` and brands it in a way which makes it\n * recognizable to {\\@link urlSanitizer} to be trusted implicitly.\n *\n * @param {?} trustedUrl `url` string which needs to be implicitly trusted.\n * @return {?} a `url` `String` which has been branded to be implicitly trusted.\n */\nfunction bypassSanitizationTrustUrl(trustedUrl) {\n    return bypassSanitizationTrustString(trustedUrl, \"Url\" /* Url */);\n}\n/**\n * Mark `url` string as trusted.\n *\n * This function wraps the trusted string in `String` and brands it in a way which makes it\n * recognizable to {\\@link resourceUrlSanitizer} to be trusted implicitly.\n *\n * @param {?} trustedResourceUrl `url` string which needs to be implicitly trusted.\n * @return {?} a `url` `String` which has been branded to be implicitly trusted.\n */\nfunction bypassSanitizationTrustResourceUrl(trustedResourceUrl) {\n    return bypassSanitizationTrustString(trustedResourceUrl, \"ResourceUrl\" /* ResourceUrl */);\n}\n/**\n * @param {?} trustedString\n * @param {?} mode\n * @return {?}\n */\nfunction bypassSanitizationTrustString(trustedString, mode) {\n    // tslint:disable-next-line\n    /** @type {?} */\n    const trusted = (/** @type {?} */ (new String(trustedString)));\n    trusted[BRAND] = mode;\n    return trusted;\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * This file is used to control if the default rendering pipeline should be `ViewEngine` or `Ivy`.\n *\n * For more information on how to run and debug tests with either Ivy or View Engine (legacy),\n * please see [BAZEL.md](./docs/BAZEL.md).\n */\nlet _devMode = true;\nlet _runModeLocked = false;\n/**\n * Returns whether Angular is in development mode. After called once,\n * the value is locked and won't change any more.\n *\n * By default, this is true, unless a user calls `enableProdMode` before calling this.\n *\n * @publicApi\n */\nfunction isDevMode() {\n    _runModeLocked = true;\n    return _devMode;\n}\n/**\n * Disable Angular's development mode, which turns off assertions and other\n * checks within the framework.\n *\n * One important assertion this disables verifies that a change detection pass\n * does not result in additional changes to any bindings (also known as\n * unidirectional data flow).\n *\n * @publicApi\n */\nfunction enableProdMode() {\n    if (_runModeLocked) {\n        throw new Error('Cannot enable prod mode after platform setup.');\n    }\n    _devMode = false;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * This helper class is used to get hold of an inert tree of DOM elements containing dirty HTML\n * that needs sanitizing.\n * Depending upon browser support we must use one of three strategies for doing this.\n * Support: Safari 10.x -> XHR strategy\n * Support: Firefox -> DomParser strategy\n * Default: InertDocument strategy\n */\nclass InertBodyHelper {\n    /**\n     * @param {?} defaultDoc\n     */\n    constructor(defaultDoc) {\n        this.defaultDoc = defaultDoc;\n        this.inertDocument = this.defaultDoc.implementation.createHTMLDocument('sanitization-inert');\n        this.inertBodyElement = this.inertDocument.body;\n        if (this.inertBodyElement == null) {\n            // usually there should be only one body element in the document, but IE doesn't have any, so\n            // we need to create one.\n            /** @type {?} */\n            const inertHtml = this.inertDocument.createElement('html');\n            this.inertDocument.appendChild(inertHtml);\n            this.inertBodyElement = this.inertDocument.createElement('body');\n            inertHtml.appendChild(this.inertBodyElement);\n        }\n        this.inertBodyElement.innerHTML = '<svg><g onload=\"this.parentNode.remove()\"></g></svg>';\n        if (this.inertBodyElement.querySelector && !this.inertBodyElement.querySelector('svg')) {\n            // We just hit the Safari 10.1 bug - which allows JS to run inside the SVG G element\n            // so use the XHR strategy.\n            this.getInertBodyElement = this.getInertBodyElement_XHR;\n            return;\n        }\n        this.inertBodyElement.innerHTML =\n            '<svg><p><style><img src=\"</style><img src=x onerror=alert(1)//\">';\n        if (this.inertBodyElement.querySelector && this.inertBodyElement.querySelector('svg img')) {\n            // We just hit the Firefox bug - which prevents the inner img JS from being sanitized\n            // so use the DOMParser strategy, if it is available.\n            // If the DOMParser is not available then we are not in Firefox (Server/WebWorker?) so we\n            // fall through to the default strategy below.\n            if (isDOMParserAvailable()) {\n                this.getInertBodyElement = this.getInertBodyElement_DOMParser;\n                return;\n            }\n        }\n        // None of the bugs were hit so it is safe for us to use the default InertDocument strategy\n        this.getInertBodyElement = this.getInertBodyElement_InertDocument;\n    }\n    /**\n     * Use XHR to create and fill an inert body element (on Safari 10.1)\n     * See\n     * https://github.com/cure53/DOMPurify/blob/a992d3a75031cb8bb032e5ea8399ba972bdf9a65/src/purify.js#L439-L449\n     * @private\n     * @param {?} html\n     * @return {?}\n     */\n    getInertBodyElement_XHR(html) {\n        // We add these extra elements to ensure that the rest of the content is parsed as expected\n        // e.g. leading whitespace is maintained and tags like `<meta>` do not get hoisted to the\n        // `<head>` tag.\n        html = '<body><remove></remove>' + html + '</body>';\n        try {\n            html = encodeURI(html);\n        }\n        catch (_a) {\n            return null;\n        }\n        /** @type {?} */\n        const xhr = new XMLHttpRequest();\n        xhr.responseType = 'document';\n        xhr.open('GET', 'data:text/html;charset=utf-8,' + html, false);\n        xhr.send(undefined);\n        /** @type {?} */\n        const body = xhr.response.body;\n        body.removeChild((/** @type {?} */ (body.firstChild)));\n        return body;\n    }\n    /**\n     * Use DOMParser to create and fill an inert body element (on Firefox)\n     * See https://github.com/cure53/DOMPurify/releases/tag/0.6.7\n     *\n     * @private\n     * @param {?} html\n     * @return {?}\n     */\n    getInertBodyElement_DOMParser(html) {\n        // We add these extra elements to ensure that the rest of the content is parsed as expected\n        // e.g. leading whitespace is maintained and tags like `<meta>` do not get hoisted to the\n        // `<head>` tag.\n        html = '<body><remove></remove>' + html + '</body>';\n        try {\n            /** @type {?} */\n            const body = (/** @type {?} */ (new ((/** @type {?} */ (window)))\n                .DOMParser()\n                .parseFromString(html, 'text/html')\n                .body));\n            body.removeChild((/** @type {?} */ (body.firstChild)));\n            return body;\n        }\n        catch (_a) {\n            return null;\n        }\n    }\n    /**\n     * Use an HTML5 `template` element, if supported, or an inert body element created via\n     * `createHtmlDocument` to create and fill an inert DOM element.\n     * This is the default sane strategy to use if the browser does not require one of the specialised\n     * strategies above.\n     * @private\n     * @param {?} html\n     * @return {?}\n     */\n    getInertBodyElement_InertDocument(html) {\n        // Prefer using <template> element if supported.\n        /** @type {?} */\n        const templateEl = this.inertDocument.createElement('template');\n        if ('content' in templateEl) {\n            templateEl.innerHTML = html;\n            return templateEl;\n        }\n        this.inertBodyElement.innerHTML = html;\n        // Support: IE 9-11 only\n        // strip custom-namespaced attributes on IE<=11\n        if (((/** @type {?} */ (this.defaultDoc))).documentMode) {\n            this.stripCustomNsAttrs(this.inertBodyElement);\n        }\n        return this.inertBodyElement;\n    }\n    /**\n     * When IE9-11 comes across an unknown namespaced attribute e.g. 'xlink:foo' it adds 'xmlns:ns1'\n     * attribute to declare ns1 namespace and prefixes the attribute with 'ns1' (e.g.\n     * 'ns1:xlink:foo').\n     *\n     * This is undesirable since we don't want to allow any of these custom attributes. This method\n     * strips them all.\n     * @private\n     * @param {?} el\n     * @return {?}\n     */\n    stripCustomNsAttrs(el) {\n        /** @type {?} */\n        const elAttrs = el.attributes;\n        // loop backwards so that we can support removals.\n        for (let i = elAttrs.length - 1; 0 < i; i--) {\n            /** @type {?} */\n            const attrib = elAttrs.item(i);\n            /** @type {?} */\n            const attrName = (/** @type {?} */ (attrib)).name;\n            if (attrName === 'xmlns:ns1' || attrName.indexOf('ns1:') === 0) {\n                el.removeAttribute(attrName);\n            }\n        }\n        /** @type {?} */\n        let childNode = (/** @type {?} */ (el.firstChild));\n        while (childNode) {\n            if (childNode.nodeType === Node.ELEMENT_NODE)\n                this.stripCustomNsAttrs((/** @type {?} */ (childNode)));\n            childNode = childNode.nextSibling;\n        }\n    }\n}\nif (false) {}\n/**\n * We need to determine whether the DOMParser exists in the global context.\n * The try-catch is because, on some browsers, trying to access this property\n * on window can actually throw an error.\n *\n * @suppress {uselessCode}\n * @return {?}\n */\nfunction isDOMParserAvailable() {\n    try {\n        return !!((/** @type {?} */ (window))).DOMParser;\n    }\n    catch (_a) {\n        return false;\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * A pattern that recognizes a commonly useful subset of URLs that are safe.\n *\n * This regular expression matches a subset of URLs that will not cause script\n * execution if used in URL context within a HTML document. Specifically, this\n * regular expression matches if (comment from here on and regex copied from\n * Soy's EscapingConventions):\n * (1) Either an allowed protocol (http, https, mailto or ftp).\n * (2) or no protocol.  A protocol must be followed by a colon. The below\n *     allows that by allowing colons only after one of the characters [/?#].\n *     A colon after a hash (#) must be in the fragment.\n *     Otherwise, a colon after a (?) must be in a query.\n *     Otherwise, a colon after a single solidus (/) must be in a path.\n *     Otherwise, a colon after a double solidus (//) must be in the authority\n *     (before port).\n *\n * The pattern disallows &, used in HTML entity declarations before\n * one of the characters in [/?#]. This disallows HTML entities used in the\n * protocol name, which should never happen, e.g. \"h&#116;tp\" for \"http\".\n * It also disallows HTML entities in the first path part of a relative path,\n * e.g. \"foo&lt;bar/baz\".  Our existing escaping functions should not produce\n * that. More importantly, it disallows masking of a colon,\n * e.g. \"javascript&#58;...\".\n *\n * This regular expression was taken from the Closure sanitization library.\n * @type {?}\n */\nconst SAFE_URL_PATTERN = /^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi;\n/* A pattern that matches safe srcset values */\n/** @type {?} */\nconst SAFE_SRCSET_PATTERN = /^(?:(?:https?|file):|[^&:/?#]*(?:[/?#]|$))/gi;\n/**\n * A pattern that matches safe data URLs. Only matches image, video and audio types.\n * @type {?}\n */\nconst DATA_URL_PATTERN = /^data:(?:image\\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\\/(?:mpeg|mp4|ogg|webm)|audio\\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\\/]+=*$/i;\n/**\n * @param {?} url\n * @return {?}\n */\nfunction _sanitizeUrl(url) {\n    url = String(url);\n    if (url.match(SAFE_URL_PATTERN) || url.match(DATA_URL_PATTERN))\n        return url;\n    if (isDevMode()) {\n        console.warn(`WARNING: sanitizing unsafe URL value ${url} (see http://g.co/ng/security#xss)`);\n    }\n    return 'unsafe:' + url;\n}\n/**\n * @param {?} srcset\n * @return {?}\n */\nfunction sanitizeSrcset(srcset) {\n    srcset = String(srcset);\n    return srcset.split(',').map((/**\n     * @param {?} srcset\n     * @return {?}\n     */\n    (srcset) => _sanitizeUrl(srcset.trim()))).join(', ');\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @param {?} tags\n * @return {?}\n */\nfunction tagSet(tags) {\n    /** @type {?} */\n    const res = {};\n    for (const t of tags.split(','))\n        res[t] = true;\n    return res;\n}\n/**\n * @param {...?} sets\n * @return {?}\n */\nfunction merge(...sets) {\n    /** @type {?} */\n    const res = {};\n    for (const s of sets) {\n        for (const v in s) {\n            if (s.hasOwnProperty(v))\n                res[v] = true;\n        }\n    }\n    return res;\n}\n// Good source of info about elements and attributes\n// http://dev.w3.org/html5/spec/Overview.html#semantics\n// http://simon.html5.org/html-elements\n// Safe Void Elements - HTML5\n// http://dev.w3.org/html5/spec/Overview.html#void-elements\n/** @type {?} */\nconst VOID_ELEMENTS = tagSet('area,br,col,hr,img,wbr');\n// Elements that you can, intentionally, leave open (and which close themselves)\n// http://dev.w3.org/html5/spec/Overview.html#optional-tags\n/** @type {?} */\nconst OPTIONAL_END_TAG_BLOCK_ELEMENTS = tagSet('colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr');\n/** @type {?} */\nconst OPTIONAL_END_TAG_INLINE_ELEMENTS = tagSet('rp,rt');\n/** @type {?} */\nconst OPTIONAL_END_TAG_ELEMENTS = merge(OPTIONAL_END_TAG_INLINE_ELEMENTS, OPTIONAL_END_TAG_BLOCK_ELEMENTS);\n// Safe Block Elements - HTML5\n/** @type {?} */\nconst BLOCK_ELEMENTS = merge(OPTIONAL_END_TAG_BLOCK_ELEMENTS, tagSet('address,article,' +\n    'aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,' +\n    'h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul'));\n// Inline Elements - HTML5\n/** @type {?} */\nconst INLINE_ELEMENTS = merge(OPTIONAL_END_TAG_INLINE_ELEMENTS, tagSet('a,abbr,acronym,audio,b,' +\n    'bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,' +\n    'samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video'));\n/** @type {?} */\nconst VALID_ELEMENTS = merge(VOID_ELEMENTS, BLOCK_ELEMENTS, INLINE_ELEMENTS, OPTIONAL_END_TAG_ELEMENTS);\n// Attributes that have href and hence need to be sanitized\n/** @type {?} */\nconst URI_ATTRS = tagSet('background,cite,href,itemtype,longdesc,poster,src,xlink:href');\n// Attributes that have special href set hence need to be sanitized\n/** @type {?} */\nconst SRCSET_ATTRS = tagSet('srcset');\n/** @type {?} */\nconst HTML_ATTRS = tagSet('abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,' +\n    'compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,' +\n    'ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,' +\n    'scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,' +\n    'valign,value,vspace,width');\n// Accessibility attributes as per WAI-ARIA 1.1 (W3C Working Draft 14 December 2018)\n/** @type {?} */\nconst ARIA_ATTRS = tagSet('aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,' +\n    'aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,' +\n    'aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,' +\n    'aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,' +\n    'aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,' +\n    'aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,' +\n    'aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext');\n// NB: This currently consciously doesn't support SVG. SVG sanitization has had several security\n// issues in the past, so it seems safer to leave it out if possible. If support for binding SVG via\n// innerHTML is required, SVG attributes should be added here.\n// NB: Sanitization does not allow <form> elements or other active elements (<button> etc). Those\n// can be sanitized, but they increase security surface area without a legitimate use case, so they\n// are left out here.\n/** @type {?} */\nconst VALID_ATTRS = merge(URI_ATTRS, SRCSET_ATTRS, HTML_ATTRS, ARIA_ATTRS);\n// Elements whose content should not be traversed/preserved, if the elements themselves are invalid.\n//\n// Typically, `<invalid>Some content</invalid>` would traverse (and in this case preserve)\n// `Some content`, but strip `invalid-element` opening/closing tags. For some elements, though, we\n// don't want to preserve the content, if the elements themselves are going to be removed.\n/** @type {?} */\nconst SKIP_TRAVERSING_CONTENT_IF_INVALID_ELEMENTS = tagSet('script,style,template');\n/**\n * SanitizingHtmlSerializer serializes a DOM fragment, stripping out any unsafe elements and unsafe\n * attributes.\n */\nclass SanitizingHtmlSerializer {\n    constructor() {\n        // Explicitly track if something was stripped, to avoid accidentally warning of sanitization just\n        // because characters were re-encoded.\n        this.sanitizedSomething = false;\n        this.buf = [];\n    }\n    /**\n     * @param {?} el\n     * @return {?}\n     */\n    sanitizeChildren(el) {\n        // This cannot use a TreeWalker, as it has to run on Angular's various DOM adapters.\n        // However this code never accesses properties off of `document` before deleting its contents\n        // again, so it shouldn't be vulnerable to DOM clobbering.\n        /** @type {?} */\n        let current = (/** @type {?} */ (el.firstChild));\n        /** @type {?} */\n        let traverseContent = true;\n        while (current) {\n            if (current.nodeType === Node.ELEMENT_NODE) {\n                traverseContent = this.startElement((/** @type {?} */ (current)));\n            }\n            else if (current.nodeType === Node.TEXT_NODE) {\n                this.chars((/** @type {?} */ (current.nodeValue)));\n            }\n            else {\n                // Strip non-element, non-text nodes.\n                this.sanitizedSomething = true;\n            }\n            if (traverseContent && current.firstChild) {\n                current = (/** @type {?} */ (current.firstChild));\n                continue;\n            }\n            while (current) {\n                // Leaving the element. Walk up and to the right, closing tags as we go.\n                if (current.nodeType === Node.ELEMENT_NODE) {\n                    this.endElement((/** @type {?} */ (current)));\n                }\n                /** @type {?} */\n                let next = this.checkClobberedElement(current, (/** @type {?} */ (current.nextSibling)));\n                if (next) {\n                    current = next;\n                    break;\n                }\n                current = this.checkClobberedElement(current, (/** @type {?} */ (current.parentNode)));\n            }\n        }\n        return this.buf.join('');\n    }\n    /**\n     * Sanitizes an opening element tag (if valid) and returns whether the element's contents should\n     * be traversed. Element content must always be traversed (even if the element itself is not\n     * valid/safe), unless the element is one of `SKIP_TRAVERSING_CONTENT_IF_INVALID_ELEMENTS`.\n     *\n     * @private\n     * @param {?} element The element to sanitize.\n     * @return {?} True if the element's contents should be traversed.\n     */\n    startElement(element) {\n        /** @type {?} */\n        const tagName = element.nodeName.toLowerCase();\n        if (!VALID_ELEMENTS.hasOwnProperty(tagName)) {\n            this.sanitizedSomething = true;\n            return !SKIP_TRAVERSING_CONTENT_IF_INVALID_ELEMENTS.hasOwnProperty(tagName);\n        }\n        this.buf.push('<');\n        this.buf.push(tagName);\n        /** @type {?} */\n        const elAttrs = element.attributes;\n        for (let i = 0; i < elAttrs.length; i++) {\n            /** @type {?} */\n            const elAttr = elAttrs.item(i);\n            /** @type {?} */\n            const attrName = (/** @type {?} */ (elAttr)).name;\n            /** @type {?} */\n            const lower = attrName.toLowerCase();\n            if (!VALID_ATTRS.hasOwnProperty(lower)) {\n                this.sanitizedSomething = true;\n                continue;\n            }\n            /** @type {?} */\n            let value = (/** @type {?} */ (elAttr)).value;\n            // TODO(martinprobst): Special case image URIs for data:image/...\n            if (URI_ATTRS[lower])\n                value = _sanitizeUrl(value);\n            if (SRCSET_ATTRS[lower])\n                value = sanitizeSrcset(value);\n            this.buf.push(' ', attrName, '=\"', encodeEntities(value), '\"');\n        }\n        this.buf.push('>');\n        return true;\n    }\n    /**\n     * @private\n     * @param {?} current\n     * @return {?}\n     */\n    endElement(current) {\n        /** @type {?} */\n        const tagName = current.nodeName.toLowerCase();\n        if (VALID_ELEMENTS.hasOwnProperty(tagName) && !VOID_ELEMENTS.hasOwnProperty(tagName)) {\n            this.buf.push('</');\n            this.buf.push(tagName);\n            this.buf.push('>');\n        }\n    }\n    /**\n     * @private\n     * @param {?} chars\n     * @return {?}\n     */\n    chars(chars) { this.buf.push(encodeEntities(chars)); }\n    /**\n     * @param {?} node\n     * @param {?} nextNode\n     * @return {?}\n     */\n    checkClobberedElement(node, nextNode) {\n        if (nextNode &&\n            (node.compareDocumentPosition(nextNode) &\n                Node.DOCUMENT_POSITION_CONTAINED_BY) === Node.DOCUMENT_POSITION_CONTAINED_BY) {\n            throw new Error(`Failed to sanitize html because the element is clobbered: ${((/** @type {?} */ (node))).outerHTML}`);\n        }\n        return nextNode;\n    }\n}\nif (false) {}\n// Regular Expressions for parsing tags and attributes\n/** @type {?} */\nconst SURROGATE_PAIR_REGEXP = /[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]/g;\n// ! to ~ is the ASCII range.\n/** @type {?} */\nconst NON_ALPHANUMERIC_REGEXP = /([^\\#-~ |!])/g;\n/**\n * Escapes all potentially dangerous characters, so that the\n * resulting string can be safely inserted into attribute or\n * element text.\n * @param {?} value\n * @return {?}\n */\nfunction encodeEntities(value) {\n    return value.replace(/&/g, '&amp;')\n        .replace(SURROGATE_PAIR_REGEXP, (/**\n     * @param {?} match\n     * @return {?}\n     */\n    function (match) {\n        /** @type {?} */\n        const hi = match.charCodeAt(0);\n        /** @type {?} */\n        const low = match.charCodeAt(1);\n        return '&#' + (((hi - 0xD800) * 0x400) + (low - 0xDC00) + 0x10000) + ';';\n    }))\n        .replace(NON_ALPHANUMERIC_REGEXP, (/**\n     * @param {?} match\n     * @return {?}\n     */\n    function (match) { return '&#' + match.charCodeAt(0) + ';'; }))\n        .replace(/</g, '&lt;')\n        .replace(/>/g, '&gt;');\n}\n/** @type {?} */\nlet inertBodyHelper;\n/**\n * Sanitizes the given unsafe, untrusted HTML fragment, and returns HTML text that is safe to add to\n * the DOM in a browser environment.\n * @param {?} defaultDoc\n * @param {?} unsafeHtmlInput\n * @return {?}\n */\nfunction _sanitizeHtml(defaultDoc, unsafeHtmlInput) {\n    /** @type {?} */\n    let inertBodyElement = null;\n    try {\n        inertBodyHelper = inertBodyHelper || new InertBodyHelper(defaultDoc);\n        // Make sure unsafeHtml is actually a string (TypeScript types are not enforced at runtime).\n        /** @type {?} */\n        let unsafeHtml = unsafeHtmlInput ? String(unsafeHtmlInput) : '';\n        inertBodyElement = inertBodyHelper.getInertBodyElement(unsafeHtml);\n        // mXSS protection. Repeatedly parse the document to make sure it stabilizes, so that a browser\n        // trying to auto-correct incorrect HTML cannot cause formerly inert HTML to become dangerous.\n        /** @type {?} */\n        let mXSSAttempts = 5;\n        /** @type {?} */\n        let parsedHtml = unsafeHtml;\n        do {\n            if (mXSSAttempts === 0) {\n                throw new Error('Failed to sanitize html because the input is unstable');\n            }\n            mXSSAttempts--;\n            unsafeHtml = parsedHtml;\n            parsedHtml = (/** @type {?} */ (inertBodyElement)).innerHTML;\n            inertBodyElement = inertBodyHelper.getInertBodyElement(unsafeHtml);\n        } while (unsafeHtml !== parsedHtml);\n        /** @type {?} */\n        const sanitizer = new SanitizingHtmlSerializer();\n        /** @type {?} */\n        const safeHtml = sanitizer.sanitizeChildren((/** @type {?} */ (getTemplateContent((/** @type {?} */ (inertBodyElement))))) || inertBodyElement);\n        if (isDevMode() && sanitizer.sanitizedSomething) {\n            console.warn('WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss');\n        }\n        return safeHtml;\n    }\n    finally {\n        // In case anything goes wrong, clear out inertElement to reset the entire DOM structure.\n        if (inertBodyElement) {\n            /** @type {?} */\n            const parent = getTemplateContent(inertBodyElement) || inertBodyElement;\n            while (parent.firstChild) {\n                parent.removeChild(parent.firstChild);\n            }\n        }\n    }\n}\n/**\n * @param {?} el\n * @return {?}\n */\nfunction getTemplateContent(el) {\n    return 'content' in ((/** @type {?} */ (el))) && isTemplateElement(el) ?\n        el.content :\n        null;\n}\n/**\n * @param {?} el\n * @return {?}\n */\nfunction isTemplateElement(el) {\n    return el.nodeType === Node.ELEMENT_NODE && el.nodeName === 'TEMPLATE';\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** @enum {number} */\nconst SecurityContext = {\n    NONE: 0,\n    HTML: 1,\n    STYLE: 2,\n    SCRIPT: 3,\n    URL: 4,\n    RESOURCE_URL: 5,\n};\nSecurityContext[SecurityContext.NONE] = 'NONE';\nSecurityContext[SecurityContext.HTML] = 'HTML';\nSecurityContext[SecurityContext.STYLE] = 'STYLE';\nSecurityContext[SecurityContext.SCRIPT] = 'SCRIPT';\nSecurityContext[SecurityContext.URL] = 'URL';\nSecurityContext[SecurityContext.RESOURCE_URL] = 'RESOURCE_URL';\n/**\n * Sanitizer is used by the views to sanitize potentially dangerous values.\n *\n * \\@publicApi\n * @abstract\n */\nclass Sanitizer {\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Regular expression for safe style values.\n *\n * Quotes (\" and ') are allowed, but a check must be done elsewhere to ensure they're balanced.\n *\n * ',' allows multiple values to be assigned to the same property (e.g. background-attachment or\n * font-family) and hence could allow multiple values to get injected, but that should pose no risk\n * of XSS.\n *\n * The function expression checks only for XSS safety, not for CSS validity.\n *\n * This regular expression was taken from the Closure sanitization library, and augmented for\n * transformation values.\n * @type {?}\n */\nconst VALUES = '[-,.\"\\'%_!# a-zA-Z0-9]+';\n/** @type {?} */\nconst TRANSFORMATION_FNS = '(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?';\n/** @type {?} */\nconst COLOR_FNS = '(?:rgb|hsl)a?';\n/** @type {?} */\nconst GRADIENTS = '(?:repeating-)?(?:linear|radial)-gradient';\n/** @type {?} */\nconst CSS3_FNS = '(?:calc|attr)';\n/** @type {?} */\nconst FN_ARGS = '\\\\([-0-9.%, #a-zA-Z]+\\\\)';\n/** @type {?} */\nconst SAFE_STYLE_VALUE = new RegExp(`^(${VALUES}|` +\n    `(?:${TRANSFORMATION_FNS}|${COLOR_FNS}|${GRADIENTS}|${CSS3_FNS})` +\n    `${FN_ARGS})$`, 'g');\n/**\n * Matches a `url(...)` value with an arbitrary argument as long as it does\n * not contain parentheses.\n *\n * The URL value still needs to be sanitized separately.\n *\n * `url(...)` values are a very common use case, e.g. for `background-image`. With carefully crafted\n * CSS style rules, it is possible to construct an information leak with `url` values in CSS, e.g.\n * by observing whether scroll bars are displayed, or character ranges used by a font face\n * definition.\n *\n * Angular only allows binding CSS values (as opposed to entire CSS rules), so it is unlikely that\n * binding a URL value without further cooperation from the page will cause an information leak, and\n * if so, it is just a leak, not a full blown XSS vulnerability.\n *\n * Given the common use case, low likelihood of attack vector, and low impact of an attack, this\n * code is permissive and allows URLs that sanitize otherwise.\n * @type {?}\n */\nconst URL_RE = /^url\\(([^)]+)\\)$/;\n/**\n * Checks that quotes (\" and ') are properly balanced inside a string. Assumes\n * that neither escape (\\) nor any other character that could result in\n * breaking out of a string parsing context are allowed;\n * see http://www.w3.org/TR/css3-syntax/#string-token-diagram.\n *\n * This code was taken from the Closure sanitization library.\n * @param {?} value\n * @return {?}\n */\nfunction hasBalancedQuotes(value) {\n    /** @type {?} */\n    let outsideSingle = true;\n    /** @type {?} */\n    let outsideDouble = true;\n    for (let i = 0; i < value.length; i++) {\n        /** @type {?} */\n        const c = value.charAt(i);\n        if (c === '\\'' && outsideDouble) {\n            outsideSingle = !outsideSingle;\n        }\n        else if (c === '\"' && outsideSingle) {\n            outsideDouble = !outsideDouble;\n        }\n    }\n    return outsideSingle && outsideDouble;\n}\n/**\n * Sanitizes the given untrusted CSS style property value (i.e. not an entire object, just a single\n * value) and returns a value that is safe to use in a browser environment.\n * @param {?} value\n * @return {?}\n */\nfunction _sanitizeStyle(value) {\n    value = String(value).trim(); // Make sure it's actually a string.\n    if (!value)\n        return '';\n    // Single url(...) values are supported, but only for URLs that sanitize cleanly. See above for\n    // reasoning behind this.\n    /** @type {?} */\n    const urlMatch = value.match(URL_RE);\n    if ((urlMatch && _sanitizeUrl(urlMatch[1]) === urlMatch[1]) ||\n        value.match(SAFE_STYLE_VALUE) && hasBalancedQuotes(value)) {\n        return value; // Safe style values.\n    }\n    if (isDevMode()) {\n        console.warn(`WARNING: sanitizing unsafe style value ${value} (see http://g.co/ng/security#xss).`);\n    }\n    return 'unsafe';\n}\n/** @enum {number} */\nconst StyleSanitizeMode = {\n    /** Just check to see if the property is required to be sanitized or not */\n    ValidateProperty: 1,\n    /** Skip checking the property; just sanitize the value */\n    SanitizeOnly: 2,\n    /** Check the property and (if true) then sanitize the value */\n    ValidateAndSanitize: 3,\n};\n/**\n * Used to intercept and sanitize style values before they are written to the renderer.\n *\n * This function is designed to be called in two modes. When a value is not provided\n * then the function will return a boolean whether a property will be sanitized later.\n * If a value is provided then the sanitized version of that will be returned.\n * @record\n */\nfunction StyleSanitizeFn() { }\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * An `html` sanitizer which converts untrusted `html` **string** into trusted string by removing\n * dangerous content.\n *\n * This method parses the `html` and locates potentially dangerous content (such as urls and\n * javascript) and removes it.\n *\n * It is possible to mark a string as trusted by calling {\\@link bypassSanitizationTrustHtml}.\n *\n * \\@publicApi\n * @param {?} unsafeHtml untrusted `html`, typically from the user.\n * @return {?} `html` string which is safe to display to user, because all of the dangerous javascript\n * and urls have been removed.\n *\n */\nfunction ɵɵsanitizeHtml(unsafeHtml) {\n    /** @type {?} */\n    const sanitizer = getSanitizer();\n    if (sanitizer) {\n        return sanitizer.sanitize(SecurityContext.HTML, unsafeHtml) || '';\n    }\n    if (allowSanitizationBypass(unsafeHtml, \"Html\" /* Html */)) {\n        return unsafeHtml.toString();\n    }\n    return _sanitizeHtml(document, renderStringify(unsafeHtml));\n}\n/**\n * A `style` sanitizer which converts untrusted `style` **string** into trusted string by removing\n * dangerous content.\n *\n * This method parses the `style` and locates potentially dangerous content (such as urls and\n * javascript) and removes it.\n *\n * It is possible to mark a string as trusted by calling {\\@link bypassSanitizationTrustStyle}.\n *\n * \\@publicApi\n * @param {?} unsafeStyle untrusted `style`, typically from the user.\n * @return {?} `style` string which is safe to bind to the `style` properties, because all of the\n * dangerous javascript and urls have been removed.\n *\n */\nfunction ɵɵsanitizeStyle(unsafeStyle) {\n    /** @type {?} */\n    const sanitizer = getSanitizer();\n    if (sanitizer) {\n        return sanitizer.sanitize(SecurityContext.STYLE, unsafeStyle) || '';\n    }\n    if (allowSanitizationBypass(unsafeStyle, \"Style\" /* Style */)) {\n        return unsafeStyle.toString();\n    }\n    return _sanitizeStyle(renderStringify(unsafeStyle));\n}\n/**\n * A `url` sanitizer which converts untrusted `url` **string** into trusted string by removing\n * dangerous\n * content.\n *\n * This method parses the `url` and locates potentially dangerous content (such as javascript) and\n * removes it.\n *\n * It is possible to mark a string as trusted by calling {\\@link bypassSanitizationTrustUrl}.\n *\n * \\@publicApi\n * @param {?} unsafeUrl untrusted `url`, typically from the user.\n * @return {?} `url` string which is safe to bind to the `src` properties such as `<img src>`, because\n * all of the dangerous javascript has been removed.\n *\n */\nfunction ɵɵsanitizeUrl(unsafeUrl) {\n    /** @type {?} */\n    const sanitizer = getSanitizer();\n    if (sanitizer) {\n        return sanitizer.sanitize(SecurityContext.URL, unsafeUrl) || '';\n    }\n    if (allowSanitizationBypass(unsafeUrl, \"Url\" /* Url */)) {\n        return unsafeUrl.toString();\n    }\n    return _sanitizeUrl(renderStringify(unsafeUrl));\n}\n/**\n * A `url` sanitizer which only lets trusted `url`s through.\n *\n * This passes only `url`s marked trusted by calling {\\@link bypassSanitizationTrustResourceUrl}.\n *\n * \\@publicApi\n * @param {?} unsafeResourceUrl untrusted `url`, typically from the user.\n * @return {?} `url` string which is safe to bind to the `src` properties such as `<img src>`, because\n * only trusted `url`s have been allowed to pass.\n *\n */\nfunction ɵɵsanitizeResourceUrl(unsafeResourceUrl) {\n    /** @type {?} */\n    const sanitizer = getSanitizer();\n    if (sanitizer) {\n        return sanitizer.sanitize(SecurityContext.RESOURCE_URL, unsafeResourceUrl) || '';\n    }\n    if (allowSanitizationBypass(unsafeResourceUrl, \"ResourceUrl\" /* ResourceUrl */)) {\n        return unsafeResourceUrl.toString();\n    }\n    throw new Error('unsafe value used in a resource URL context (see http://g.co/ng/security#xss)');\n}\n/**\n * A `script` sanitizer which only lets trusted javascript through.\n *\n * This passes only `script`s marked trusted by calling {\\@link\n * bypassSanitizationTrustScript}.\n *\n * \\@publicApi\n * @param {?} unsafeScript untrusted `script`, typically from the user.\n * @return {?} `url` string which is safe to bind to the `<script>` element such as `<img src>`,\n * because only trusted `scripts` have been allowed to pass.\n *\n */\nfunction ɵɵsanitizeScript(unsafeScript) {\n    /** @type {?} */\n    const sanitizer = getSanitizer();\n    if (sanitizer) {\n        return sanitizer.sanitize(SecurityContext.SCRIPT, unsafeScript) || '';\n    }\n    if (allowSanitizationBypass(unsafeScript, \"Script\" /* Script */)) {\n        return unsafeScript.toString();\n    }\n    throw new Error('unsafe value used in a script context');\n}\n/**\n * Detects which sanitizer to use for URL property, based on tag name and prop name.\n *\n * The rules are based on the RESOURCE_URL context config from\n * `packages/compiler/src/schema/dom_security_schema.ts`.\n * If tag and prop names don't match Resource URL schema, use URL sanitizer.\n * @param {?} tag\n * @param {?} prop\n * @return {?}\n */\nfunction getUrlSanitizer(tag, prop) {\n    if ((prop === 'src' && (tag === 'embed' || tag === 'frame' || tag === 'iframe' ||\n        tag === 'media' || tag === 'script')) ||\n        (prop === 'href' && (tag === 'base' || tag === 'link'))) {\n        return ɵɵsanitizeResourceUrl;\n    }\n    return ɵɵsanitizeUrl;\n}\n/**\n * Sanitizes URL, selecting sanitizer function based on tag and property names.\n *\n * This function is used in case we can't define security context at compile time, when only prop\n * name is available. This happens when we generate host bindings for Directives/Components. The\n * host element is unknown at compile time, so we defer calculation of specific sanitizer to\n * runtime.\n *\n * \\@publicApi\n * @param {?} unsafeUrl untrusted `url`, typically from the user.\n * @param {?} tag target element tag name.\n * @param {?} prop name of the property that contains the value.\n * @return {?} `url` string which is safe to bind.\n *\n */\nfunction ɵɵsanitizeUrlOrResourceUrl(unsafeUrl, tag, prop) {\n    return getUrlSanitizer(tag, prop)(unsafeUrl);\n}\n/**\n * The default style sanitizer will handle sanitization for style properties by\n * sanitizing any CSS property that can include a `url` value (usually image-based properties)\n *\n * \\@publicApi\n * @type {?}\n */\nconst ɵɵdefaultStyleSanitizer = ((/** @type {?} */ ((/**\n * @param {?} prop\n * @param {?} value\n * @param {?=} mode\n * @return {?}\n */\nfunction (prop, value, mode) {\n    mode = mode || 3 /* ValidateAndSanitize */;\n    /** @type {?} */\n    let doSanitizeValue = true;\n    if (mode & 1 /* ValidateProperty */) {\n        doSanitizeValue = prop === 'background-image' || prop === 'background' ||\n            prop === 'border-image' || prop === 'filter' || prop === 'list-style' ||\n            prop === 'list-style-image' || prop === 'clip-path';\n    }\n    if (mode & 2 /* SanitizeOnly */) {\n        return doSanitizeValue ? ɵɵsanitizeStyle(value) : value;\n    }\n    else {\n        return doSanitizeValue;\n    }\n}))));\n/**\n * @param {?} name\n * @return {?}\n */\nfunction validateAgainstEventProperties(name) {\n    if (name.toLowerCase().startsWith('on')) {\n        /** @type {?} */\n        const msg = `Binding to event property '${name}' is disallowed for security reasons, ` +\n            `please use (${name.slice(2)})=...` +\n            `\\nIf '${name}' is a directive input, make sure the directive is imported by the` +\n            ` current module.`;\n        throw new Error(msg);\n    }\n}\n/**\n * @param {?} name\n * @return {?}\n */\nfunction validateAgainstEventAttributes(name) {\n    if (name.toLowerCase().startsWith('on')) {\n        /** @type {?} */\n        const msg = `Binding to event attribute '${name}' is disallowed for security reasons, ` +\n            `please use (${name.slice(2)})=...`;\n        throw new Error(msg);\n    }\n}\n/**\n * @return {?}\n */\nfunction getSanitizer() {\n    /** @type {?} */\n    const lView = getLView();\n    return lView && lView[SANITIZER];\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * THIS FILE CONTAINS CODE WHICH SHOULD BE TREE SHAKEN AND NEVER CALLED FROM PRODUCTION CODE!!!\n */\n/**\n * Creates an `Array` construction with a given name. This is useful when\n * looking for memory consumption to see what time of array it is.\n *\n *\n * @param name Name to give to the constructor\n * @returns A subclass of `Array` if possible. This can only be done in\n *          environments which support `class` construct.\n */\nfunction createNamedArrayType(name) {\n    // This should never be called in prod mode, so let's verify that is the case.\n    if (ngDevMode) {\n        try {\n            // We need to do it this way so that TypeScript does not down-level the below code.\n            const FunctionConstructor = createNamedArrayType.constructor;\n            return (new FunctionConstructor('Array', `return class ABC extends Array{}`))(Array);\n        }\n        catch (e) {\n            // If it does not work just give up and fall back to regular Array.\n            return Array;\n        }\n    }\n    else {\n        throw new Error('Looks like we are in \\'prod mode\\', but we are creating a named Array type, which is wrong! Check your code');\n    }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction normalizeDebugBindingName(name) {\n    // Attribute names with `$` (eg `x-y$`) are valid per spec, but unsupported by some browsers\n    name = camelCaseToDashCase(name.replace(/[$@]/g, '_'));\n    return `ng-reflect-${name}`;\n}\nconst CAMEL_CASE_REGEXP = /([A-Z])/g;\nfunction camelCaseToDashCase(input) {\n    return input.replace(CAMEL_CASE_REGEXP, (...m) => '-' + m[1].toLowerCase());\n}\nfunction normalizeDebugBindingValue(value) {\n    try {\n        // Limit the size of the value as otherwise the DOM just gets polluted.\n        return value != null ? value.toString().slice(0, 30) : value;\n    }\n    catch (e) {\n        return '[ERROR] Exception while trying to serialize the value';\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Returns the matching `LContext` data for a given DOM node, directive or component instance.\n *\n * This function will examine the provided DOM element, component, or directive instance\\'s\n * monkey-patched property to derive the `LContext` data. Once called then the monkey-patched\n * value will be that of the newly created `LContext`.\n *\n * If the monkey-patched value is the `LView` instance then the context value for that\n * target will be created and the monkey-patch reference will be updated. Therefore when this\n * function is called it may mutate the provided element\\'s, component\\'s or any of the associated\n * directive\\'s monkey-patch values.\n *\n * If the monkey-patch value is not detected then the code will walk up the DOM until an element\n * is found which contains a monkey-patch reference. When that occurs then the provided element\n * will be updated with a new context (which is then returned). If the monkey-patch value is not\n * detected for a component/directive instance then it will throw an error (all components and\n * directives should be automatically monkey-patched by ivy).\n *\n * @param {?} target Component, Directive or DOM Node.\n * @return {?}\n */\nfunction getLContext(target) {\n    /** @type {?} */\n    let mpValue = readPatchedData(target);\n    if (mpValue) {\n        // only when it's an array is it considered an LView instance\n        // ... otherwise it's an already constructed LContext instance\n        if (Array.isArray(mpValue)) {\n            /** @type {?} */\n            const lView = (/** @type {?} */ (mpValue));\n            /** @type {?} */\n            let nodeIndex;\n            /** @type {?} */\n            let component = undefined;\n            /** @type {?} */\n            let directives = undefined;\n            if (isComponentInstance(target)) {\n                nodeIndex = findViaComponent(lView, target);\n                if (nodeIndex == -1) {\n                    throw new Error('The provided component was not found in the application');\n                }\n                component = target;\n            }\n            else if (isDirectiveInstance(target)) {\n                nodeIndex = findViaDirective(lView, target);\n                if (nodeIndex == -1) {\n                    throw new Error('The provided directive was not found in the application');\n                }\n                directives = getDirectivesAtNodeIndex(nodeIndex, lView, false);\n            }\n            else {\n                nodeIndex = findViaNativeElement(lView, (/** @type {?} */ (target)));\n                if (nodeIndex == -1) {\n                    return null;\n                }\n            }\n            // the goal is not to fill the entire context full of data because the lookups\n            // are expensive. Instead, only the target data (the element, component, container, ICU\n            // expression or directive details) are filled into the context. If called multiple times\n            // with different target values then the missing target data will be filled in.\n            /** @type {?} */\n            const native = unwrapRNode(lView[nodeIndex]);\n            /** @type {?} */\n            const existingCtx = readPatchedData(native);\n            /** @type {?} */\n            const context = (existingCtx && !Array.isArray(existingCtx)) ?\n                existingCtx :\n                createLContext(lView, nodeIndex, native);\n            // only when the component has been discovered then update the monkey-patch\n            if (component && context.component === undefined) {\n                context.component = component;\n                attachPatchData(context.component, context);\n            }\n            // only when the directives have been discovered then update the monkey-patch\n            if (directives && context.directives === undefined) {\n                context.directives = directives;\n                for (let i = 0; i < directives.length; i++) {\n                    attachPatchData(directives[i], context);\n                }\n            }\n            attachPatchData(context.native, context);\n            mpValue = context;\n        }\n    }\n    else {\n        /** @type {?} */\n        const rElement = (/** @type {?} */ (target));\n        ngDevMode && assertDomNode(rElement);\n        // if the context is not found then we need to traverse upwards up the DOM\n        // to find the nearest element that has already been monkey patched with data\n        /** @type {?} */\n        let parent = (/** @type {?} */ (rElement));\n        while (parent = parent.parentNode) {\n            /** @type {?} */\n            const parentContext = readPatchedData(parent);\n            if (parentContext) {\n                /** @type {?} */\n                let lView;\n                if (Array.isArray(parentContext)) {\n                    lView = (/** @type {?} */ (parentContext));\n                }\n                else {\n                    lView = parentContext.lView;\n                }\n                // the edge of the app was also reached here through another means\n                // (maybe because the DOM was changed manually).\n                if (!lView) {\n                    return null;\n                }\n                /** @type {?} */\n                const index = findViaNativeElement(lView, rElement);\n                if (index >= 0) {\n                    /** @type {?} */\n                    const native = unwrapRNode(lView[index]);\n                    /** @type {?} */\n                    const context = createLContext(lView, index, native);\n                    attachPatchData(native, context);\n                    mpValue = context;\n                    break;\n                }\n            }\n        }\n    }\n    return ((/** @type {?} */ (mpValue))) || null;\n}\n/**\n * Creates an empty instance of a `LContext` context\n * @param {?} lView\n * @param {?} nodeIndex\n * @param {?} native\n * @return {?}\n */\nfunction createLContext(lView, nodeIndex, native) {\n    return {\n        lView,\n        nodeIndex,\n        native,\n        component: undefined,\n        directives: undefined,\n        localRefs: undefined,\n    };\n}\n/**\n * Takes a component instance and returns the view for that component.\n *\n * @param {?} componentInstance\n * @return {?} The component's view\n */\nfunction getComponentViewByInstance(componentInstance) {\n    /** @type {?} */\n    let lView = readPatchedData(componentInstance);\n    /** @type {?} */\n    let view;\n    if (Array.isArray(lView)) {\n        /** @type {?} */\n        const nodeIndex = findViaComponent(lView, componentInstance);\n        view = getComponentViewByIndex(nodeIndex, lView);\n        /** @type {?} */\n        const context = createLContext(lView, nodeIndex, (/** @type {?} */ (view[HOST])));\n        context.component = componentInstance;\n        attachPatchData(componentInstance, context);\n        attachPatchData(context.native, context);\n    }\n    else {\n        /** @type {?} */\n        const context = (/** @type {?} */ ((/** @type {?} */ (lView))));\n        view = getComponentViewByIndex(context.nodeIndex, context.lView);\n    }\n    return view;\n}\n/**\n * Assigns the given data to the given target (which could be a component,\n * directive or DOM node instance) using monkey-patching.\n * @param {?} target\n * @param {?} data\n * @return {?}\n */\nfunction attachPatchData(target, data) {\n    target[MONKEY_PATCH_KEY_NAME] = data;\n}\n/**\n * @param {?} instance\n * @return {?}\n */\nfunction isComponentInstance(instance) {\n    return instance && instance.constructor && instance.constructor.ngComponentDef;\n}\n/**\n * @param {?} instance\n * @return {?}\n */\nfunction isDirectiveInstance(instance) {\n    return instance && instance.constructor && instance.constructor.ngDirectiveDef;\n}\n/**\n * Locates the element within the given LView and returns the matching index\n * @param {?} lView\n * @param {?} target\n * @return {?}\n */\nfunction findViaNativeElement(lView, target) {\n    /** @type {?} */\n    let tNode = lView[TVIEW].firstChild;\n    while (tNode) {\n        /** @type {?} */\n        const native = (/** @type {?} */ (getNativeByTNodeOrNull(tNode, lView)));\n        if (native === target) {\n            return tNode.index;\n        }\n        tNode = traverseNextElement(tNode);\n    }\n    return -1;\n}\n/**\n * Locates the next tNode (child, sibling or parent).\n * @param {?} tNode\n * @return {?}\n */\nfunction traverseNextElement(tNode) {\n    if (tNode.child) {\n        return tNode.child;\n    }\n    else if (tNode.next) {\n        return tNode.next;\n    }\n    else {\n        // Let's take the following template: <div><span>text</span></div><component/>\n        // After checking the text node, we need to find the next parent that has a \"next\" TNode,\n        // in this case the parent `div`, so that we can find the component.\n        while (tNode.parent && !tNode.parent.next) {\n            tNode = tNode.parent;\n        }\n        return tNode.parent && tNode.parent.next;\n    }\n}\n/**\n * Locates the component within the given LView and returns the matching index\n * @param {?} lView\n * @param {?} componentInstance\n * @return {?}\n */\nfunction findViaComponent(lView, componentInstance) {\n    /** @type {?} */\n    const componentIndices = lView[TVIEW].components;\n    if (componentIndices) {\n        for (let i = 0; i < componentIndices.length; i++) {\n            /** @type {?} */\n            const elementComponentIndex = componentIndices[i];\n            /** @type {?} */\n            const componentView = getComponentViewByIndex(elementComponentIndex, lView);\n            if (componentView[CONTEXT] === componentInstance) {\n                return elementComponentIndex;\n            }\n        }\n    }\n    else {\n        /** @type {?} */\n        const rootComponentView = getComponentViewByIndex(HEADER_OFFSET, lView);\n        /** @type {?} */\n        const rootComponent = rootComponentView[CONTEXT];\n        if (rootComponent === componentInstance) {\n            // we are dealing with the root element here therefore we know that the\n            // element is the very first element after the HEADER data in the lView\n            return HEADER_OFFSET;\n        }\n    }\n    return -1;\n}\n/**\n * Locates the directive within the given LView and returns the matching index\n * @param {?} lView\n * @param {?} directiveInstance\n * @return {?}\n */\nfunction findViaDirective(lView, directiveInstance) {\n    // if a directive is monkey patched then it will (by default)\n    // have a reference to the LView of the current view. The\n    // element bound to the directive being search lives somewhere\n    // in the view data. We loop through the nodes and check their\n    // list of directives for the instance.\n    /** @type {?} */\n    let tNode = lView[TVIEW].firstChild;\n    while (tNode) {\n        /** @type {?} */\n        const directiveIndexStart = tNode.directiveStart;\n        /** @type {?} */\n        const directiveIndexEnd = tNode.directiveEnd;\n        for (let i = directiveIndexStart; i < directiveIndexEnd; i++) {\n            if (lView[i] === directiveInstance) {\n                return tNode.index;\n            }\n        }\n        tNode = traverseNextElement(tNode);\n    }\n    return -1;\n}\n/**\n * Returns a list of directives extracted from the given view based on the\n * provided list of directive index values.\n *\n * @param {?} nodeIndex The node index\n * @param {?} lView The target view data\n * @param {?} includeComponents Whether or not to include components in returned directives\n * @return {?}\n */\nfunction getDirectivesAtNodeIndex(nodeIndex, lView, includeComponents) {\n    /** @type {?} */\n    const tNode = (/** @type {?} */ (lView[TVIEW].data[nodeIndex]));\n    /** @type {?} */\n    let directiveStartIndex = tNode.directiveStart;\n    if (directiveStartIndex == 0)\n        return EMPTY_ARRAY;\n    /** @type {?} */\n    const directiveEndIndex = tNode.directiveEnd;\n    if (!includeComponents && tNode.flags & 1 /* isComponent */)\n        directiveStartIndex++;\n    return lView.slice(directiveStartIndex, directiveEndIndex);\n}\n/**\n * @param {?} nodeIndex\n * @param {?} lView\n * @return {?}\n */\nfunction getComponentAtNodeIndex(nodeIndex, lView) {\n    /** @type {?} */\n    const tNode = (/** @type {?} */ (lView[TVIEW].data[nodeIndex]));\n    /** @type {?} */\n    let directiveStartIndex = tNode.directiveStart;\n    return tNode.flags & 1 /* isComponent */ ? lView[directiveStartIndex] : null;\n}\n/**\n * Returns a map of local references (local reference name => element or directive instance) that\n * exist on a given element.\n * @param {?} lView\n * @param {?} nodeIndex\n * @return {?}\n */\nfunction discoverLocalRefs(lView, nodeIndex) {\n    /** @type {?} */\n    const tNode = (/** @type {?} */ (lView[TVIEW].data[nodeIndex]));\n    if (tNode && tNode.localNames) {\n        /** @type {?} */\n        const result = {};\n        /** @type {?} */\n        let localIndex = tNode.index + 1;\n        for (let i = 0; i < tNode.localNames.length; i += 2) {\n            result[tNode.localNames[i]] = lView[localIndex];\n            localIndex++;\n        }\n        return result;\n    }\n    return null;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Called when directives inject each other (creating a circular dependency)\n * @param {?} token\n * @return {?}\n */\nfunction throwCyclicDependencyError(token) {\n    throw new Error(`Cannot instantiate cyclic dependency! ${token}`);\n}\n/**\n * Called when there are multiple component selectors that match a given node\n * @param {?} tNode\n * @return {?}\n */\nfunction throwMultipleComponentError(tNode) {\n    throw new Error(`Multiple components match node with tagname ${tNode.tagName}`);\n}\n/**\n * Throws an ExpressionChangedAfterChecked error if checkNoChanges mode is on.\n * @param {?} creationMode\n * @param {?} oldValue\n * @param {?} currValue\n * @return {?}\n */\nfunction throwErrorIfNoChangesMode(creationMode, oldValue, currValue) {\n    /** @type {?} */\n    let msg = `ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '${oldValue}'. Current value: '${currValue}'.`;\n    if (creationMode) {\n        msg +=\n            ` It seems like the view has been created after its parent and its children have been dirty checked.` +\n                ` Has it been created in a change detection hook ?`;\n    }\n    // TODO: include debug context\n    throw new Error(msg);\n}\n/**\n * @return {?}\n */\nfunction throwMixedMultiProviderError() {\n    throw new Error(`Cannot mix multi providers and regular providers`);\n}\n/**\n * @param {?=} ngModuleType\n * @param {?=} providers\n * @param {?=} provider\n * @return {?}\n */\nfunction throwInvalidProviderError(ngModuleType, providers, provider) {\n    /** @type {?} */\n    let ngModuleDetail = '';\n    if (ngModuleType && providers) {\n        /** @type {?} */\n        const providerDetail = providers.map((/**\n         * @param {?} v\n         * @return {?}\n         */\n        v => v == provider ? '?' + provider + '?' : '...'));\n        ngModuleDetail =\n            ` - only instances of Provider and Type are allowed, got: [${providerDetail.join(', ')}]`;\n    }\n    throw new Error(`Invalid provider for the NgModule '${stringify(ngModuleType)}'` + ngModuleDetail);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @enum {number} */\nconst TNodeType = {\n    /**\n     * The TNode contains information about an {@link LContainer} for embedded views.\n     */\n    Container: 0,\n    /**\n     * The TNode contains information about an `<ng-content>` projection\n     */\n    Projection: 1,\n    /**\n     * The TNode contains information about an {@link LView}\n     */\n    View: 2,\n    /**\n     * The TNode contains information about a DOM element aka {@link RNode}.\n     */\n    Element: 3,\n    /**\n     * The TNode contains information about an `<ng-container>` element {@link RNode}.\n     */\n    ElementContainer: 4,\n    /**\n     * The TNode contains information about an ICU comment used in `i18n`.\n     */\n    IcuContainer: 5,\n};\n/** @enum {number} */\nconst TNodeFlags = {\n    /** This bit is set if the node is a component */\n    isComponent: 1,\n    /** This bit is set if the node has been projected */\n    isProjected: 2,\n    /** This bit is set if any directive on this node has content queries */\n    hasContentQuery: 4,\n    /** This bit is set if the node has any \"class\" inputs */\n    hasClassInput: 8,\n    /** This bit is set if the node has any \"style\" inputs */\n    hasStyleInput: 16,\n    /** This bit is set if the node has been detached by i18n */\n    isDetached: 32,\n};\n/** @enum {number} */\nconst TNodeProviderIndexes = {\n    /** The index of the first provider on this node is encoded on the least significant bits */\n    ProvidersStartIndexMask: 65535,\n    /** The count of view providers from the component on this node is encoded on the 16 most\n       significant bits */\n    CptViewProvidersCountShift: 16,\n    CptViewProvidersCountShifter: 65536,\n};\n/** @enum {number} */\nconst AttributeMarker = {\n    /**\n     * Marker indicates that the following 3 values in the attributes array are:\n     * namespaceUri, attributeName, attributeValue\n     * in that order.\n     */\n    NamespaceURI: 0,\n    /**\n      * Signals class declaration.\n      *\n      * Each value following `Classes` designates a class name to include on the element.\n      * ## Example:\n      *\n      * Given:\n      * ```\n      * <div class=\"foo bar baz\">...<d/vi>\n      * ```\n      *\n      * the generated code is:\n      * ```\n      * var _c1 = [AttributeMarker.Classes, 'foo', 'bar', 'baz'];\n      * ```\n      */\n    Classes: 1,\n    /**\n     * Signals style declaration.\n     *\n     * Each pair of values following `Styles` designates a style name and value to include on the\n     * element.\n     * ## Example:\n     *\n     * Given:\n     * ```\n     * <div style=\"width:100px; height:200px; color:red\">...</div>\n     * ```\n     *\n     * the generated code is:\n     * ```\n     * var _c1 = [AttributeMarker.Styles, 'width', '100px', 'height'. '200px', 'color', 'red'];\n     * ```\n     */\n    Styles: 2,\n    /**\n     * Signals that the following attribute names were extracted from input or output bindings.\n     *\n     * For example, given the following HTML:\n     *\n     * ```\n     * <div moo=\"car\" [foo]=\"exp\" (bar)=\"doSth()\">\n     * ```\n     *\n     * the generated code is:\n     *\n     * ```\n     * var _c1 = ['moo', 'car', AttributeMarker.Bindings, 'foo', 'bar'];\n     * ```\n     */\n    Bindings: 3,\n    /**\n     * Signals that the following attribute names were hoisted from an inline-template declaration.\n     *\n     * For example, given the following HTML:\n     *\n     * ```\n     * <div *ngFor=\"let value of values; trackBy:trackBy\" dirA [dirB]=\"value\">\n     * ```\n     *\n     * the generated code for the `template()` instruction would include:\n     *\n     * ```\n     * ['dirA', '', AttributeMarker.Bindings, 'dirB', AttributeMarker.Template, 'ngFor', 'ngForOf',\n     * 'ngForTrackBy', 'let-value']\n     * ```\n     *\n     * while the generated code for the `element()` instruction inside the template function would\n     * include:\n     *\n     * ```\n     * ['dirA', '', AttributeMarker.Bindings, 'dirB']\n     * ```\n     */\n    Template: 4,\n    /**\n     * Signals that the following attribute is `ngProjectAs` and its value is a parsed `CssSelector`.\n     *\n     * For example, given the following HTML:\n     *\n     * ```\n     * <h1 attr=\"value\" ngProjectAs=\"[title]\">\n     * ```\n     *\n     * the generated code for the `element()` instruction would include:\n     *\n     * ```\n     * ['attr', 'value', AttributeMarker.ProjectAs, ['', 'title', '']]\n     * ```\n     */\n    ProjectAs: 5,\n    /**\n     * Signals that the following attribute will be translated by runtime i18n\n     *\n     * For example, given the following HTML:\n     *\n     * ```\n     * <div moo=\"car\" foo=\"value\" i18n-foo [bar]=\"binding\" i18n-bar>\n     * ```\n     *\n     * the generated code is:\n     *\n     * ```\n     * var _c1 = ['moo', 'car', AttributeMarker.I18n, 'foo', 'bar'];\n     */\n    I18n: 6,\n};\n/**\n * Binding data (flyweight) for a particular node that is shared between all templates\n * of a specific type.\n *\n * If a property is:\n *    - PropertyAliases: that property's data was generated and this is it\n *    - Null: that property's data was already generated and nothing was found.\n *    - Undefined: that property's data has not yet been generated\n *\n * see: https://en.wikipedia.org/wiki/Flyweight_pattern for more on the Flyweight pattern\n * @record\n */\nfunction TNode() { }\nif (false) {}\n/**\n * Static data for an element\n * @record\n */\nfunction TElementNode() { }\nif (false) {}\n/**\n * Static data for a text node\n * @record\n */\nfunction TTextNode() { }\nif (false) {}\n/**\n * Static data for an LContainer\n * @record\n */\nfunction TContainerNode() { }\nif (false) {}\n/**\n * Static data for an <ng-container>\n * @record\n */\nfunction TElementContainerNode() { }\nif (false) {}\n/**\n * Static data for an ICU expression\n * @record\n */\nfunction TIcuContainerNode() { }\nif (false) {}\n/**\n * Static data for a view\n * @record\n */\nfunction TViewNode() { }\nif (false) {}\n/**\n * Static data for an LProjectionNode\n * @record\n */\nfunction TProjectionNode() { }\nif (false) {}\n// Note: This hack is necessary so we don't erroneously get a circular dependency\n// failure based on types.\n/** @type {?} */\nconst unusedValueExportToPlacateAjd$4 = 1;\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** @enum {number} */\nconst SelectorFlags = {\n    /** Indicates this is the beginning of a new negative selector */\n    NOT: 1,\n    /** Mode for matching attributes */\n    ATTRIBUTE: 2,\n    /** Mode for matching tag names */\n    ELEMENT: 4,\n    /** Mode for matching class names */\n    CLASS: 8,\n};\n// Note: This hack is necessary so we don't erroneously get a circular dependency\n// failure based on types.\n/** @type {?} */\nconst unusedValueExportToPlacateAjd$5 = 1;\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst unusedValueToPlacateAjd = unusedValueExportToPlacateAjd$4 + unusedValueExportToPlacateAjd$5;\n/** @type {?} */\nconst NG_TEMPLATE_SELECTOR = 'ng-template';\n/**\n * @param {?} nodeClassAttrVal\n * @param {?} cssClassToMatch\n * @return {?}\n */\nfunction isCssClassMatching(nodeClassAttrVal, cssClassToMatch) {\n    /** @type {?} */\n    const nodeClassesLen = nodeClassAttrVal.length;\n    /** @type {?} */\n    const matchIndex = (/** @type {?} */ (nodeClassAttrVal)).indexOf(cssClassToMatch);\n    /** @type {?} */\n    const matchEndIdx = matchIndex + cssClassToMatch.length;\n    if (matchIndex === -1 // no match\n        || (matchIndex > 0 && (/** @type {?} */ (nodeClassAttrVal))[matchIndex - 1] !== ' ') // no space before\n        ||\n            (matchEndIdx < nodeClassesLen && (/** @type {?} */ (nodeClassAttrVal))[matchEndIdx] !== ' ')) // no space after\n     {\n        return false;\n    }\n    return true;\n}\n/**\n * Function that checks whether a given tNode matches tag-based selector and has a valid type.\n *\n * Matching can be performed in 2 modes: projection mode (when we project nodes) and regular\n * directive matching mode:\n * - in the \"directive matching\" mode we do _not_ take TContainer's tagName into account if it is\n * different from NG_TEMPLATE_SELECTOR (value different from NG_TEMPLATE_SELECTOR indicates that a\n * tag name was extracted from * syntax so we would match the same directive twice);\n * - in the \"projection\" mode, we use a tag name potentially extracted from the * syntax processing\n * (applicable to TNodeType.Container only).\n * @param {?} tNode\n * @param {?} currentSelector\n * @param {?} isProjectionMode\n * @return {?}\n */\nfunction hasTagAndTypeMatch(tNode, currentSelector, isProjectionMode) {\n    /** @type {?} */\n    const tagNameToCompare = tNode.type === 0 /* Container */ && !isProjectionMode ?\n        NG_TEMPLATE_SELECTOR :\n        tNode.tagName;\n    return currentSelector === tagNameToCompare;\n}\n/**\n * A utility function to match an Ivy node static data against a simple CSS selector\n *\n * @param {?} tNode\n * @param {?} selector The selector to try matching against the node.\n * @param {?} isProjectionMode if `true` we are matching for content projection, otherwise we are doing\n * directive matching.\n * @return {?} true if node matches the selector.\n */\nfunction isNodeMatchingSelector(tNode, selector, isProjectionMode) {\n    ngDevMode && assertDefined(selector[0], 'Selector should have a tag name');\n    /** @type {?} */\n    let mode = 4 /* ELEMENT */;\n    /** @type {?} */\n    const nodeAttrs = tNode.attrs || [];\n    // Find the index of first attribute that has no value, only a name.\n    /** @type {?} */\n    const nameOnlyMarkerIdx = getNameOnlyMarkerIndex(nodeAttrs);\n    // When processing \":not\" selectors, we skip to the next \":not\" if the\n    // current one doesn't match\n    /** @type {?} */\n    let skipToNextSelector = false;\n    for (let i = 0; i < selector.length; i++) {\n        /** @type {?} */\n        const current = selector[i];\n        if (typeof current === 'number') {\n            // If we finish processing a :not selector and it hasn't failed, return false\n            if (!skipToNextSelector && !isPositive(mode) && !isPositive((/** @type {?} */ (current)))) {\n                return false;\n            }\n            // If we are skipping to the next :not() and this mode flag is positive,\n            // it's a part of the current :not() selector, and we should keep skipping\n            if (skipToNextSelector && isPositive(current))\n                continue;\n            skipToNextSelector = false;\n            mode = ((/** @type {?} */ (current))) | (mode & 1 /* NOT */);\n            continue;\n        }\n        if (skipToNextSelector)\n            continue;\n        if (mode & 4 /* ELEMENT */) {\n            mode = 2 /* ATTRIBUTE */ | mode & 1 /* NOT */;\n            if (current !== '' && !hasTagAndTypeMatch(tNode, current, isProjectionMode) ||\n                current === '' && selector.length === 1) {\n                if (isPositive(mode))\n                    return false;\n                skipToNextSelector = true;\n            }\n        }\n        else {\n            /** @type {?} */\n            const selectorAttrValue = mode & 8 /* CLASS */ ? current : selector[++i];\n            // special case for matching against classes when a tNode has been instantiated with\n            // class and style values as separate attribute values (e.g. ['title', CLASS, 'foo'])\n            if ((mode & 8 /* CLASS */) && tNode.classes) {\n                if (!isCssClassMatching(getInitialStylingValue(tNode.classes), (/** @type {?} */ (selectorAttrValue)))) {\n                    if (isPositive(mode))\n                        return false;\n                    skipToNextSelector = true;\n                }\n                continue;\n            }\n            /** @type {?} */\n            const isInlineTemplate = tNode.type == 0 /* Container */ && tNode.tagName !== NG_TEMPLATE_SELECTOR;\n            /** @type {?} */\n            const attrName = (mode & 8 /* CLASS */) ? 'class' : current;\n            /** @type {?} */\n            const attrIndexInNode = findAttrIndexInNode(attrName, nodeAttrs, isInlineTemplate, isProjectionMode);\n            if (attrIndexInNode === -1) {\n                if (isPositive(mode))\n                    return false;\n                skipToNextSelector = true;\n                continue;\n            }\n            if (selectorAttrValue !== '') {\n                /** @type {?} */\n                let nodeAttrValue;\n                if (attrIndexInNode > nameOnlyMarkerIdx) {\n                    nodeAttrValue = '';\n                }\n                else {\n                    ngDevMode && assertNotEqual(nodeAttrs[attrIndexInNode], 0 /* NamespaceURI */, 'We do not match directives on namespaced attributes');\n                    nodeAttrValue = (/** @type {?} */ (nodeAttrs[attrIndexInNode + 1]));\n                }\n                /** @type {?} */\n                const compareAgainstClassName = mode & 8 /* CLASS */ ? nodeAttrValue : null;\n                if (compareAgainstClassName &&\n                    !isCssClassMatching(compareAgainstClassName, (/** @type {?} */ (selectorAttrValue))) ||\n                    mode & 2 /* ATTRIBUTE */ && selectorAttrValue !== nodeAttrValue) {\n                    if (isPositive(mode))\n                        return false;\n                    skipToNextSelector = true;\n                }\n            }\n        }\n    }\n    return isPositive(mode) || skipToNextSelector;\n}\n/**\n * @param {?} mode\n * @return {?}\n */\nfunction isPositive(mode) {\n    return (mode & 1 /* NOT */) === 0;\n}\n/**\n * Examines the attribute's definition array for a node to find the index of the\n * attribute that matches the given `name`.\n *\n * NOTE: This will not match namespaced attributes.\n *\n * Attribute matching depends upon `isInlineTemplate` and `isProjectionMode`.\n * The following table summarizes which types of attributes we attempt to match:\n *\n * ===========================================================================================================\n * Modes                   | Normal Attributes | Bindings Attributes | Template Attributes | I18n\n * Attributes\n * ===========================================================================================================\n * Inline + Projection     | YES               | YES                 | NO                  | YES\n * -----------------------------------------------------------------------------------------------------------\n * Inline + Directive      | NO                | NO                  | YES                 | NO\n * -----------------------------------------------------------------------------------------------------------\n * Non-inline + Projection | YES               | YES                 | NO                  | YES\n * -----------------------------------------------------------------------------------------------------------\n * Non-inline + Directive  | YES               | YES                 | NO                  | YES\n * ===========================================================================================================\n *\n * @param {?} name the name of the attribute to find\n * @param {?} attrs the attribute array to examine\n * @param {?} isInlineTemplate true if the node being matched is an inline template (e.g. `*ngFor`)\n * rather than a manually expanded template node (e.g `<ng-template>`).\n * @param {?} isProjectionMode true if we are matching against content projection otherwise we are\n * matching against directives.\n * @return {?}\n */\nfunction findAttrIndexInNode(name, attrs, isInlineTemplate, isProjectionMode) {\n    if (attrs === null)\n        return -1;\n    /** @type {?} */\n    let i = 0;\n    if (isProjectionMode || !isInlineTemplate) {\n        /** @type {?} */\n        let bindingsMode = false;\n        while (i < attrs.length) {\n            /** @type {?} */\n            const maybeAttrName = attrs[i];\n            if (maybeAttrName === name) {\n                return i;\n            }\n            else if (maybeAttrName === 3 /* Bindings */ || maybeAttrName === 6 /* I18n */) {\n                bindingsMode = true;\n            }\n            else if (maybeAttrName === 1 /* Classes */) {\n                /** @type {?} */\n                let value = attrs[++i];\n                // We should skip classes here because we have a separate mechanism for\n                // matching classes in projection mode.\n                while (typeof value === 'string') {\n                    value = attrs[++i];\n                }\n                continue;\n            }\n            else if (maybeAttrName === 4 /* Template */) {\n                // We do not care about Template attributes in this scenario.\n                break;\n            }\n            else if (maybeAttrName === 0 /* NamespaceURI */) {\n                // Skip the whole namespaced attribute and value. This is by design.\n                i += 4;\n                continue;\n            }\n            // In binding mode there are only names, rather than name-value pairs.\n            i += bindingsMode ? 1 : 2;\n        }\n        // We did not match the attribute\n        return -1;\n    }\n    else {\n        return matchTemplateAttribute(attrs, name);\n    }\n}\n/**\n * @param {?} tNode\n * @param {?} selector\n * @param {?=} isProjectionMode\n * @return {?}\n */\nfunction isNodeMatchingSelectorList(tNode, selector, isProjectionMode = false) {\n    for (let i = 0; i < selector.length; i++) {\n        if (isNodeMatchingSelector(tNode, selector[i], isProjectionMode)) {\n            return true;\n        }\n    }\n    return false;\n}\n/**\n * @param {?} tNode\n * @return {?}\n */\nfunction getProjectAsAttrValue(tNode) {\n    /** @type {?} */\n    const nodeAttrs = tNode.attrs;\n    if (nodeAttrs != null) {\n        /** @type {?} */\n        const ngProjectAsAttrIdx = nodeAttrs.indexOf(5 /* ProjectAs */);\n        // only check for ngProjectAs in attribute names, don't accidentally match attribute's value\n        // (attribute names are stored at even indexes)\n        if ((ngProjectAsAttrIdx & 1) === 0) {\n            return (/** @type {?} */ (nodeAttrs[ngProjectAsAttrIdx + 1]));\n        }\n    }\n    return null;\n}\n/**\n * @param {?} nodeAttrs\n * @return {?}\n */\nfunction getNameOnlyMarkerIndex(nodeAttrs) {\n    for (let i = 0; i < nodeAttrs.length; i++) {\n        /** @type {?} */\n        const nodeAttr = nodeAttrs[i];\n        if (isNameOnlyAttributeMarker(nodeAttr)) {\n            return i;\n        }\n    }\n    return nodeAttrs.length;\n}\n/**\n * @param {?} attrs\n * @param {?} name\n * @return {?}\n */\nfunction matchTemplateAttribute(attrs, name) {\n    /** @type {?} */\n    let i = attrs.indexOf(4 /* Template */);\n    if (i > -1) {\n        i++;\n        while (i < attrs.length) {\n            if (attrs[i] === name)\n                return i;\n            i++;\n        }\n    }\n    return -1;\n}\n/**\n * Checks whether a selector is inside a CssSelectorList\n * @param {?} selector Selector to be checked.\n * @param {?} list List in which to look for the selector.\n * @return {?}\n */\nfunction isSelectorInSelectorList(selector, list) {\n    selectorListLoop: for (let i = 0; i < list.length; i++) {\n        /** @type {?} */\n        const currentSelectorInList = list[i];\n        if (selector.length !== currentSelectorInList.length) {\n            continue;\n        }\n        for (let j = 0; j < selector.length; j++) {\n            if (selector[j] !== currentSelectorInList[j]) {\n                continue selectorListLoop;\n            }\n        }\n        return true;\n    }\n    return false;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n// The first bit value reflects a map-based binding value's bit.\n// The reason why it's always activated for every entry in the map\n// is so that if any map-binding values update then all other prop\n// based bindings will pass the guard check automatically without\n// any extra code or flags.\n/**\n * --------\n *\n * This file contains the core logic for styling in Angular.\n *\n * All styling bindings (i.e. `[style]`, `[style.prop]`, `[class]` and `[class.name]`)\n * will have their values be applied through the logic in this file.\n *\n * When a binding is encountered (e.g. `<div [style.width]=\"w\">`) then\n * the binding data will be populated into a `TStylingContext` data-structure.\n * There is only one `TStylingContext` per `TNode` and each element instance\n * will update its style/class binding values in concert with the styling\n * context.\n *\n * To learn more about the algorithm see `TStylingContext`.\n *\n * --------\n * @type {?}\n */\nconst DEFAULT_GUARD_MASK_VALUE = 0b1;\n/**\n * The guard/update mask bit index location for map-based bindings.\n *\n * All map-based bindings (i.e. `[style]` and `[class]` )\n * @type {?}\n */\nconst STYLING_INDEX_FOR_MAP_BINDING = 0;\n/**\n * Default fallback value for a styling binding.\n *\n * A value of `null` is used here which signals to the styling algorithm that\n * the styling value is not present. This way if there are no other values\n * detected then it will be removed once the style/class property is dirty and\n * diffed within the styling algorithm present in `flushStyling`.\n * @type {?}\n */\nconst DEFAULT_BINDING_VALUE = null;\n/**\n * Default size count value for a new entry in a context.\n *\n * A value of `1` is used here because each entry in the context has a default\n * property.\n * @type {?}\n */\nconst DEFAULT_SIZE_VALUE = 1;\n/** @type {?} */\nlet deferredBindingQueue = [];\n/**\n * Visits a class-based binding and updates the new value (if changed).\n *\n * This function is called each time a class-based styling instruction\n * is executed. It's important that it's always called (even if the value\n * has not changed) so that the inner counter index value is incremented.\n * This way, each instruction is always guaranteed to get the same counter\n * state each time it's called (which then allows the `TStylingContext`\n * and the bit mask values to be in sync).\n * @param {?} context\n * @param {?} data\n * @param {?} element\n * @param {?} prop\n * @param {?} bindingIndex\n * @param {?} value\n * @param {?} deferRegistration\n * @param {?} forceUpdate\n * @return {?}\n */\nfunction updateClassBinding(context, data, element, prop, bindingIndex, value, deferRegistration, forceUpdate) {\n    /** @type {?} */\n    const isMapBased = !prop;\n    /** @type {?} */\n    const state = getStylingState(element, stateIsPersisted(context));\n    /** @type {?} */\n    const index = isMapBased ? STYLING_INDEX_FOR_MAP_BINDING : state.classesIndex++;\n    /** @type {?} */\n    const updated = updateBindingData(context, data, index, prop, bindingIndex, value, deferRegistration, forceUpdate, false);\n    if (updated || forceUpdate) {\n        // We flip the bit in the bitMask to reflect that the binding\n        // at the `index` slot has changed. This identifies to the flushing\n        // phase that the bindings for this particular CSS class need to be\n        // applied again because on or more of the bindings for the CSS\n        // class have changed.\n        state.classesBitMask |= 1 << index;\n        return true;\n    }\n    return false;\n}\n/**\n * Visits a style-based binding and updates the new value (if changed).\n *\n * This function is called each time a style-based styling instruction\n * is executed. It's important that it's always called (even if the value\n * has not changed) so that the inner counter index value is incremented.\n * This way, each instruction is always guaranteed to get the same counter\n * state each time it's called (which then allows the `TStylingContext`\n * and the bit mask values to be in sync).\n * @param {?} context\n * @param {?} data\n * @param {?} element\n * @param {?} prop\n * @param {?} bindingIndex\n * @param {?} value\n * @param {?} sanitizer\n * @param {?} deferRegistration\n * @param {?} forceUpdate\n * @return {?}\n */\nfunction updateStyleBinding(context, data, element, prop, bindingIndex, value, sanitizer, deferRegistration, forceUpdate) {\n    /** @type {?} */\n    const isMapBased = !prop;\n    /** @type {?} */\n    const state = getStylingState(element, stateIsPersisted(context));\n    /** @type {?} */\n    const index = isMapBased ? STYLING_INDEX_FOR_MAP_BINDING : state.stylesIndex++;\n    /** @type {?} */\n    const sanitizationRequired = isMapBased ?\n        true :\n        (sanitizer ? sanitizer((/** @type {?} */ (prop)), null, 1 /* ValidateProperty */) : false);\n    /** @type {?} */\n    const updated = updateBindingData(context, data, index, prop, bindingIndex, value, deferRegistration, forceUpdate, sanitizationRequired);\n    if (updated || forceUpdate) {\n        // We flip the bit in the bitMask to reflect that the binding\n        // at the `index` slot has changed. This identifies to the flushing\n        // phase that the bindings for this particular property need to be\n        // applied again because on or more of the bindings for the CSS\n        // property have changed.\n        state.stylesBitMask |= 1 << index;\n        return true;\n    }\n    return false;\n}\n/**\n * Called each time a binding value has changed within the provided `TStylingContext`.\n *\n * This function is designed to be called from `updateStyleBinding` and `updateClassBinding`.\n * If called during the first update pass, the binding will be registered in the context.\n * If the binding does get registered and the `deferRegistration` flag is true then the\n * binding data will be queued up until the context is later flushed in `applyStyling`.\n *\n * This function will also update binding slot in the provided `LStylingData` with the\n * new binding entry (if it has changed).\n *\n * @param {?} context\n * @param {?} data\n * @param {?} counterIndex\n * @param {?} prop\n * @param {?} bindingIndex\n * @param {?} value\n * @param {?} deferRegistration\n * @param {?} forceUpdate\n * @param {?} sanitizationRequired\n * @return {?} whether or not the binding value was updated in the `LStylingData`.\n */\nfunction updateBindingData(context, data, counterIndex, prop, bindingIndex, value, deferRegistration, forceUpdate, sanitizationRequired) {\n    if (!isContextLocked(context)) {\n        if (deferRegistration) {\n            deferBindingRegistration(context, counterIndex, prop, bindingIndex, sanitizationRequired);\n        }\n        else {\n            deferredBindingQueue.length && flushDeferredBindings();\n            // this will only happen during the first update pass of the\n            // context. The reason why we can't use `tNode.firstTemplatePass`\n            // here is because its not guaranteed to be true when the first\n            // update pass is executed (remember that all styling instructions\n            // are run in the update phase, and, as a result, are no more\n            // styling instructions that are run in the creation phase).\n            registerBinding(context, counterIndex, prop, bindingIndex, sanitizationRequired);\n        }\n    }\n    /** @type {?} */\n    const changed = forceUpdate || hasValueChanged(data[bindingIndex], value);\n    if (changed) {\n        data[bindingIndex] = value;\n    }\n    return changed;\n}\n/**\n * Schedules a binding registration to be run at a later point.\n *\n * The reasoning for this feature is to ensure that styling\n * bindings are registered in the correct order for when\n * directives/components have a super/sub class inheritance\n * chains. Each directive's styling bindings must be\n * registered into the context in reverse order. Therefore all\n * bindings will be buffered in reverse order and then applied\n * after the inheritance chain exits.\n * @param {?} context\n * @param {?} counterIndex\n * @param {?} prop\n * @param {?} bindingIndex\n * @param {?} sanitizationRequired\n * @return {?}\n */\nfunction deferBindingRegistration(context, counterIndex, prop, bindingIndex, sanitizationRequired) {\n    deferredBindingQueue.unshift(context, counterIndex, prop, bindingIndex, sanitizationRequired);\n}\n/**\n * Flushes the collection of deferred bindings and causes each entry\n * to be registered into the context.\n * @return {?}\n */\nfunction flushDeferredBindings() {\n    /** @type {?} */\n    let i = 0;\n    while (i < deferredBindingQueue.length) {\n        /** @type {?} */\n        const context = (/** @type {?} */ (deferredBindingQueue[i++]));\n        /** @type {?} */\n        const count = (/** @type {?} */ (deferredBindingQueue[i++]));\n        /** @type {?} */\n        const prop = (/** @type {?} */ (deferredBindingQueue[i++]));\n        /** @type {?} */\n        const bindingIndex = (/** @type {?} */ (deferredBindingQueue[i++]));\n        /** @type {?} */\n        const sanitizationRequired = (/** @type {?} */ (deferredBindingQueue[i++]));\n        registerBinding(context, count, prop, bindingIndex, sanitizationRequired);\n    }\n    deferredBindingQueue.length = 0;\n}\n/**\n * Registers the provided binding (prop + bindingIndex) into the context.\n *\n * This function is shared between bindings that are assigned immediately\n * (via `updateBindingData`) and at a deferred stage. When called, it will\n * figure out exactly where to place the binding data in the context.\n *\n * It is needed because it will either update or insert a styling property\n * into the context at the correct spot.\n *\n * When called, one of two things will happen:\n *\n * 1) If the property already exists in the context then it will just add\n *    the provided `bindingValue` to the end of the binding sources region\n *    for that particular property.\n *\n *    - If the binding value is a number then it will be added as a new\n *      binding index source next to the other binding sources for the property.\n *\n *    - Otherwise, if the binding value is a string/boolean/null type then it will\n *      replace the default value for the property if the default value is `null`.\n *\n * 2) If the property does not exist then it will be inserted into the context.\n *    The styling context relies on all properties being stored in alphabetical\n *    order, so it knows exactly where to store it.\n *\n *    When inserted, a default `null` value is created for the property which exists\n *    as the default value for the binding. If the bindingValue property is inserted\n *    and it is either a string, number or null value then that will replace the default\n *    value.\n *\n * Note that this function is also used for map-based styling bindings. They are treated\n * much the same as prop-based bindings, but, because they do not have a property value\n * (since it's a map), all map-based entries are stored in an already populated area of\n * the context at the top (which is reserved for map-based entries).\n * @param {?} context\n * @param {?} countId\n * @param {?} prop\n * @param {?} bindingValue\n * @param {?=} sanitizationRequired\n * @return {?}\n */\nfunction registerBinding(context, countId, prop, bindingValue, sanitizationRequired) {\n    /** @type {?} */\n    let registered = false;\n    if (prop) {\n        // prop-based bindings (e.g `<div [style.width]=\"w\" [class.foo]=\"f\">`)\n        /** @type {?} */\n        let found = false;\n        /** @type {?} */\n        let i = getPropValuesStartPosition(context);\n        while (i < context.length) {\n            /** @type {?} */\n            const valuesCount = getValuesCount(context, i);\n            /** @type {?} */\n            const p = getProp(context, i);\n            found = prop <= p;\n            if (found) {\n                // all style/class bindings are sorted by property name\n                if (prop < p) {\n                    allocateNewContextEntry(context, i, prop, sanitizationRequired);\n                }\n                addBindingIntoContext(context, false, i, bindingValue, countId);\n                break;\n            }\n            i += 3 /* BindingsStartOffset */ + valuesCount;\n        }\n        if (!found) {\n            allocateNewContextEntry(context, context.length, prop, sanitizationRequired);\n            addBindingIntoContext(context, false, i, bindingValue, countId);\n            registered = true;\n        }\n    }\n    else {\n        // map-based bindings (e.g `<div [style]=\"s\" [class]=\"{className:true}\">`)\n        // there is no need to allocate the map-based binding region into the context\n        // since it is already there when the context is first created.\n        addBindingIntoContext(context, true, 3 /* MapBindingsPosition */, bindingValue, countId);\n        registered = true;\n    }\n    return registered;\n}\n/**\n * @param {?} context\n * @param {?} index\n * @param {?} prop\n * @param {?=} sanitizationRequired\n * @return {?}\n */\nfunction allocateNewContextEntry(context, index, prop, sanitizationRequired) {\n    // 1,2: splice index locations\n    // 3: each entry gets a config value (guard mask + flags)\n    // 4. each entry gets a size value (which is always one because there is always a default binding\n    // value)\n    // 5. the property that is getting allocated into the context\n    // 6. the default binding value (usually `null`)\n    /** @type {?} */\n    const config = sanitizationRequired ? 1 /* SanitizationRequired */ :\n        0 /* Default */;\n    context.splice(index, 0, config, DEFAULT_SIZE_VALUE, prop, DEFAULT_BINDING_VALUE);\n    setGuardMask(context, index, DEFAULT_GUARD_MASK_VALUE);\n}\n/**\n * Inserts a new binding value into a styling property tuple in the `TStylingContext`.\n *\n * A bindingValue is inserted into a context during the first update pass\n * of a template or host bindings function. When this occurs, two things\n * happen:\n *\n * - If the bindingValue value is a number then it is treated as a bindingIndex\n *   value (a index in the `LView`) and it will be inserted next to the other\n *   binding index entries.\n *\n * - Otherwise the binding value will update the default value for the property\n *   and this will only happen if the default value is `null`.\n *\n * Note that this function also handles map-based bindings and will insert them\n * at the top of the context.\n * @param {?} context\n * @param {?} isMapBased\n * @param {?} index\n * @param {?} bindingValue\n * @param {?} countId\n * @return {?}\n */\nfunction addBindingIntoContext(context, isMapBased, index, bindingValue, countId) {\n    /** @type {?} */\n    const valuesCount = getValuesCount(context, index);\n    /** @type {?} */\n    const firstValueIndex = index + 3 /* BindingsStartOffset */;\n    /** @type {?} */\n    let lastValueIndex = firstValueIndex + valuesCount;\n    if (!isMapBased) {\n        // prop-based values all have default values, but map-based entries do not.\n        // we want to access the index for the default value in this case and not just\n        // the bindings...\n        lastValueIndex--;\n    }\n    if (typeof bindingValue === 'number') {\n        // the loop here will check to see if the binding already exists\n        // for the property in the context. Why? The reason for this is\n        // because the styling context is not \"locked\" until the first\n        // flush has occurred. This means that if a repeated element\n        // registers its styling bindings then it will register each\n        // binding more than once (since its duplicated). This check\n        // will prevent that from happening. Note that this only happens\n        // when a binding is first encountered and not each time it is\n        // updated.\n        for (let i = firstValueIndex; i <= lastValueIndex; i++) {\n            /** @type {?} */\n            const indexAtPosition = context[i];\n            if (indexAtPosition === bindingValue)\n                return;\n        }\n        context.splice(lastValueIndex, 0, bindingValue);\n        ((/** @type {?} */ (context[index + 1 /* ValuesCountOffset */])))++;\n        // now that a new binding index has been added to the property\n        // the guard mask bit value (at the `countId` position) needs\n        // to be included into the existing mask value.\n        /** @type {?} */\n        const guardMask = getGuardMask(context, index) | (1 << countId);\n        setGuardMask(context, index, guardMask);\n    }\n    else if (bindingValue !== null && context[lastValueIndex] == null) {\n        context[lastValueIndex] = bindingValue;\n    }\n}\n/**\n * Applies all pending style and class bindings to the provided element.\n *\n * This function will attempt to flush styling via the provided `classesContext`\n * and `stylesContext` context values. This function is designed to be run from\n * the `stylingApply()` instruction (which is run at the very end of styling\n * change detection) and will rely on any state values that are set from when\n * any styling bindings update.\n *\n * This function may be called multiple times on the same element because it can\n * be called from the template code as well as from host bindings. In order for\n * styling to be successfully flushed to the element (which will only happen once\n * despite this being called multiple times), the following criteria must be met:\n *\n * - `flushStyling` is called from the very last directive that has styling for\n *    the element (see `allowStylingFlush()`).\n * - one or more bindings for classes or styles has updated (this is checked by\n *   examining the classes or styles bit mask).\n *\n * If the style and class values are successfully applied to the element then\n * the temporary state values for the element will be cleared. Otherwise, if\n * this did not occur then the styling state is persisted (see `state.ts` for\n * more information on how this works).\n * @param {?} renderer\n * @param {?} data\n * @param {?} classesContext\n * @param {?} stylesContext\n * @param {?} element\n * @param {?} directiveIndex\n * @param {?} styleSanitizer\n * @return {?}\n */\nfunction flushStyling(renderer, data, classesContext, stylesContext, element, directiveIndex, styleSanitizer) {\n    ngDevMode && ngDevMode.flushStyling++;\n    /** @type {?} */\n    const persistState = classesContext ? stateIsPersisted(classesContext) :\n        (stylesContext ? stateIsPersisted(stylesContext) : false);\n    /** @type {?} */\n    const allowFlushClasses = allowStylingFlush(classesContext, directiveIndex);\n    /** @type {?} */\n    const allowFlushStyles = allowStylingFlush(stylesContext, directiveIndex);\n    // deferred bindings are bindings which are scheduled to register with\n    // the context at a later point. These bindings can only registered when\n    // the context will be 100% flushed to the element.\n    if (deferredBindingQueue.length && (allowFlushClasses || allowFlushStyles)) {\n        flushDeferredBindings();\n    }\n    /** @type {?} */\n    const state = getStylingState(element, persistState);\n    /** @type {?} */\n    const classesFlushed = maybeApplyStyling(renderer, element, data, classesContext, allowFlushClasses, state.classesBitMask, setClass, null);\n    /** @type {?} */\n    const stylesFlushed = maybeApplyStyling(renderer, element, data, stylesContext, allowFlushStyles, state.stylesBitMask, setStyle, styleSanitizer);\n    if (classesFlushed && stylesFlushed) {\n        resetStylingState();\n        if (persistState) {\n            deleteStylingStateFromStorage(element);\n        }\n    }\n    else if (persistState) {\n        storeStylingState(element, state);\n    }\n}\n/**\n * @param {?} renderer\n * @param {?} element\n * @param {?} data\n * @param {?} context\n * @param {?} allowFlush\n * @param {?} bitMask\n * @param {?} styleSetter\n * @param {?} styleSanitizer\n * @return {?}\n */\nfunction maybeApplyStyling(renderer, element, data, context, allowFlush, bitMask, styleSetter, styleSanitizer) {\n    if (allowFlush && context) {\n        lockAndFinalizeContext(context);\n        if (contextHasUpdates(context, bitMask)) {\n            ngDevMode && (styleSanitizer ? ngDevMode.stylesApplied++ : ngDevMode.classesApplied++);\n            applyStyling((/** @type {?} */ (context)), renderer, element, data, bitMask, styleSetter, styleSanitizer);\n            return true;\n        }\n    }\n    return allowFlush;\n}\n/**\n * @param {?} context\n * @param {?} bitMask\n * @return {?}\n */\nfunction contextHasUpdates(context, bitMask) {\n    return context && bitMask > BIT_MASK_START_VALUE;\n}\n/**\n * Locks the context (so no more bindings can be added) and also copies over initial class/style\n * values into their binding areas.\n *\n * There are two main actions that take place in this function:\n *\n * - Locking the context:\n *   Locking the context is required so that the style/class instructions know NOT to\n *   register a binding again after the first update pass has run. If a locking bit was\n *   not used then it would need to scan over the context each time an instruction is run\n *   (which is expensive).\n *\n * - Patching initial values:\n *   Directives and component host bindings may include static class/style values which are\n *   bound to the host element. When this happens, the styling context will need to be informed\n *   so it can use these static styling values as defaults when a matching binding is falsy.\n *   These initial styling values are read from the initial styling values slot within the\n *   provided `TStylingContext` (which is an instance of a `StylingMapArray`). This inner map will\n *   be updated each time a host binding applies its static styling values (via `elementHostAttrs`)\n *   so these values are only read at this point because this is the very last point before the\n *   first style/class values are flushed to the element.\n * @param {?} context\n * @return {?}\n */\nfunction lockAndFinalizeContext(context) {\n    if (!isContextLocked(context)) {\n        /** @type {?} */\n        const initialValues = getStylingMapArray(context);\n        if (initialValues) {\n            updateInitialStylingOnContext(context, initialValues);\n        }\n        lockContext(context);\n    }\n}\n/**\n * Runs through the provided styling context and applies each value to\n * the provided element (via the renderer) if one or more values are present.\n *\n * This function will iterate over all entries present in the provided\n * `TStylingContext` array (both prop-based and map-based bindings).-\n *\n * Each entry, within the `TStylingContext` array, is stored alphabetically\n * and this means that each prop/value entry will be applied in order\n * (so long as it is marked dirty in the provided `bitMask` value).\n *\n * If there are any map-based entries present (which are applied to the\n * element via the `[style]` and `[class]` bindings) then those entries\n * will be applied as well. However, the code for that is not a part of\n * this function. Instead, each time a property is visited, then the\n * code below will call an external function called `stylingMapsSyncFn`\n * and, if present, it will keep the application of styling values in\n * map-based bindings up to sync with the application of prop-based\n * bindings.\n *\n * Visit `styling_next/map_based_bindings.ts` to learn more about how the\n * algorithm works for map-based styling bindings.\n *\n * Note that this function is not designed to be called in isolation (use\n * `applyClasses` and `applyStyles` to actually apply styling values).\n * @param {?} context\n * @param {?} renderer\n * @param {?} element\n * @param {?} bindingData\n * @param {?} bitMaskValue\n * @param {?} applyStylingFn\n * @param {?} sanitizer\n * @return {?}\n */\nfunction applyStyling(context, renderer, element, bindingData, bitMaskValue, applyStylingFn, sanitizer) {\n    /** @type {?} */\n    const bitMask = normalizeBitMaskValue(bitMaskValue);\n    /** @type {?} */\n    const stylingMapsSyncFn = getStylingMapsSyncFn();\n    /** @type {?} */\n    const mapsGuardMask = getGuardMask(context, 3 /* MapBindingsPosition */);\n    /** @type {?} */\n    const applyAllValues = (bitMask & mapsGuardMask) > 0;\n    /** @type {?} */\n    const mapsMode = applyAllValues ? 1 /* ApplyAllValues */ : 0 /* TraverseValues */;\n    /** @type {?} */\n    let i = getPropValuesStartPosition(context);\n    while (i < context.length) {\n        /** @type {?} */\n        const valuesCount = getValuesCount(context, i);\n        /** @type {?} */\n        const guardMask = getGuardMask(context, i);\n        if (bitMask & guardMask) {\n            /** @type {?} */\n            let valueApplied = false;\n            /** @type {?} */\n            const prop = getProp(context, i);\n            /** @type {?} */\n            const valuesCountUpToDefault = valuesCount - 1;\n            /** @type {?} */\n            const defaultValue = (/** @type {?} */ (getBindingValue(context, i, valuesCountUpToDefault)));\n            // case 1: apply prop-based values\n            // try to apply the binding values and see if a non-null\n            // value gets set for the styling binding\n            for (let j = 0; j < valuesCountUpToDefault; j++) {\n                /** @type {?} */\n                const bindingIndex = (/** @type {?} */ (getBindingValue(context, i, j)));\n                /** @type {?} */\n                const value = bindingData[bindingIndex];\n                if (isStylingValueDefined(value)) {\n                    /** @type {?} */\n                    const finalValue = sanitizer && isSanitizationRequired(context, i) ?\n                        sanitizer(prop, value, 2 /* SanitizeOnly */) :\n                        value;\n                    applyStylingFn(renderer, element, prop, finalValue, bindingIndex);\n                    valueApplied = true;\n                    break;\n                }\n            }\n            // case 2: apply map-based values\n            // traverse through each map-based styling binding and update all values up to\n            // the provided `prop` value. If the property was not applied in the loop above\n            // then it will be attempted to be applied in the maps sync code below.\n            if (stylingMapsSyncFn) {\n                // determine whether or not to apply the target property or to skip it\n                /** @type {?} */\n                const mode = mapsMode | (valueApplied ? 4 /* SkipTargetProp */ :\n                    2 /* ApplyTargetProp */);\n                /** @type {?} */\n                const valueAppliedWithinMap = stylingMapsSyncFn(context, renderer, element, bindingData, applyStylingFn, sanitizer, mode, prop, defaultValue);\n                valueApplied = valueApplied || valueAppliedWithinMap;\n            }\n            // case 3: apply the default value\n            // if the value has not yet been applied then a truthy value does not exist in the\n            // prop-based or map-based bindings code. If and when this happens, just apply the\n            // default value (even if the default value is `null`).\n            if (!valueApplied) {\n                applyStylingFn(renderer, element, prop, defaultValue);\n            }\n        }\n        i += 3 /* BindingsStartOffset */ + valuesCount;\n    }\n    // the map-based styling entries may have not applied all their\n    // values. For this reason, one more call to the sync function\n    // needs to be issued at the end.\n    if (stylingMapsSyncFn) {\n        stylingMapsSyncFn(context, renderer, element, bindingData, applyStylingFn, sanitizer, mapsMode);\n    }\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction normalizeBitMaskValue(value) {\n    // if pass => apply all values (-1 implies that all bits are flipped to true)\n    if (value === true)\n        return -1;\n    // if pass => skip all values\n    if (value === false)\n        return 0;\n    // return the bit mask value as is\n    return value;\n}\n/** @type {?} */\nlet _activeStylingMapApplyFn = null;\n/**\n * @return {?}\n */\nfunction getStylingMapsSyncFn() {\n    return _activeStylingMapApplyFn;\n}\n/**\n * @param {?} fn\n * @return {?}\n */\nfunction setStylingMapsSyncFn(fn) {\n    _activeStylingMapApplyFn = fn;\n}\n/**\n * Assigns a style value to a style property for the given element.\n * @type {?}\n */\nconst setStyle = (/**\n * @param {?} renderer\n * @param {?} native\n * @param {?} prop\n * @param {?} value\n * @return {?}\n */\n(renderer, native, prop, value) => {\n    // the reason why this may be `null` is either because\n    // it's a container element or it's a part of a test\n    // environment that doesn't have styling. In either\n    // case it's safe not to apply styling to the element.\n    /** @type {?} */\n    const nativeStyle = native.style;\n    if (value) {\n        // opacity, z-index and flexbox all have number values\n        // and these need to be converted into strings so that\n        // they can be assigned properly.\n        value = value.toString();\n        ngDevMode && ngDevMode.rendererSetStyle++;\n        renderer && isProceduralRenderer(renderer) ?\n            renderer.setStyle(native, prop, value, RendererStyleFlags3.DashCase) :\n            (nativeStyle && nativeStyle.setProperty(prop, value));\n    }\n    else {\n        ngDevMode && ngDevMode.rendererRemoveStyle++;\n        renderer && isProceduralRenderer(renderer) ?\n            renderer.removeStyle(native, prop, RendererStyleFlags3.DashCase) :\n            (nativeStyle && nativeStyle.removeProperty(prop));\n    }\n});\nconst ɵ0$4 = setStyle;\n/**\n * Adds/removes the provided className value to the provided element.\n * @type {?}\n */\nconst setClass = (/**\n * @param {?} renderer\n * @param {?} native\n * @param {?} className\n * @param {?} value\n * @return {?}\n */\n(renderer, native, className, value) => {\n    if (className !== '') {\n        // the reason why this may be `null` is either because\n        // it's a container element or it's a part of a test\n        // environment that doesn't have styling. In either\n        // case it's safe not to apply styling to the element.\n        /** @type {?} */\n        const classList = native.classList;\n        if (value) {\n            ngDevMode && ngDevMode.rendererAddClass++;\n            renderer && isProceduralRenderer(renderer) ? renderer.addClass(native, className) :\n                (classList && classList.add(className));\n        }\n        else {\n            ngDevMode && ngDevMode.rendererRemoveClass++;\n            renderer && isProceduralRenderer(renderer) ? renderer.removeClass(native, className) :\n                (classList && classList.remove(className));\n        }\n    }\n});\nconst ɵ1$1 = setClass;\n/**\n * Iterates over all provided styling entries and renders them on the element.\n *\n * This function is used alongside a `StylingMapArray` entry. This entry is not\n * the same as the `TStylingContext` and is only really used when an element contains\n * initial styling values (e.g. `<div style=\"width:200px\">`), but no style/class bindings\n * are present. If and when that happens then this function will be called to render all\n * initial styling values on an element.\n * @param {?} renderer\n * @param {?} element\n * @param {?} stylingValues\n * @param {?} isClassBased\n * @return {?}\n */\nfunction renderStylingMap(renderer, element, stylingValues, isClassBased) {\n    /** @type {?} */\n    const stylingMapArr = getStylingMapArray(stylingValues);\n    if (stylingMapArr) {\n        for (let i = 1 /* ValuesStartPosition */; i < stylingMapArr.length; i += 2 /* TupleSize */) {\n            /** @type {?} */\n            const prop = getMapProp(stylingMapArr, i);\n            /** @type {?} */\n            const value = getMapValue(stylingMapArr, i);\n            if (isClassBased) {\n                setClass(renderer, element, prop, value, null);\n            }\n            else {\n                setStyle(renderer, element, prop, value, null);\n            }\n        }\n    }\n}\n/**\n * Registers all initial styling entries into the provided context.\n *\n * This function will iterate over all entries in the provided `initialStyling` ar}ray and register\n * them as default (initial) values in the provided context. Initial styling values in a context are\n * the default values that are to be applied unless overwritten by a binding.\n *\n * The reason why this function exists and isn't a part of the context construction is because\n * host binding is evaluated at a later stage after the element is created. This means that\n * if a directive or component contains any initial styling code (i.e. `<div class=\"foo\">`)\n * then that initial styling data can only be applied once the styling for that element\n * is first applied (at the end of the update phase). Once that happens then the context will\n * update itself with the complete initial styling for the element.\n * @param {?} context\n * @param {?} initialStyling\n * @return {?}\n */\nfunction updateInitialStylingOnContext(context, initialStyling) {\n    // `-1` is used here because all initial styling data is not a spart\n    // of a binding (since it's static)\n    /** @type {?} */\n    const INITIAL_STYLING_COUNT_ID = -1;\n    for (let i = 1 /* ValuesStartPosition */; i < initialStyling.length; i += 2 /* TupleSize */) {\n        /** @type {?} */\n        const value = getMapValue(initialStyling, i);\n        if (value) {\n            /** @type {?} */\n            const prop = getMapProp(initialStyling, i);\n            registerBinding(context, INITIAL_STYLING_COUNT_ID, prop, value, false);\n        }\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n// WARNING: interface has both a type and a value, skipping emit\n/**\n * A special value which designates that a value has not changed.\n * @type {?}\n */\nconst NO_CHANGE = (/** @type {?} */ ({}));\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** @enum {number} */\nconst I18nMutateOpCode = {\n    /**\n     * Stores shift amount for bits 17-3 that contain reference index.\n     */\n    SHIFT_REF: 3,\n    /**\n     * Stores shift amount for bits 31-17 that contain parent index.\n     */\n    SHIFT_PARENT: 17,\n    /**\n     * Mask for OpCode\n     */\n    MASK_OPCODE: 7,\n    /**\n     * OpCode to select a node. (next OpCode will contain the operation.)\n     */\n    Select: 0,\n    /**\n     * OpCode to append the current node to `PARENT`.\n     */\n    AppendChild: 1,\n    /**\n     * OpCode to remove the `REF` node from `PARENT`.\n     */\n    Remove: 3,\n    /**\n     * OpCode to set the attribute of a node.\n     */\n    Attr: 4,\n    /**\n     * OpCode to simulate elementEnd()\n     */\n    ElementEnd: 5,\n    /**\n     * OpCode to read the remove OpCodes for the nested ICU\n     */\n    RemoveNestedIcu: 6,\n};\n/**\n * Marks that the next string is for element.\n *\n * See `I18nMutateOpCodes` documentation.\n * @type {?}\n */\nconst ELEMENT_MARKER = {\n    marker: 'element'\n};\n// WARNING: interface has both a type and a value, skipping emit\n/**\n * Marks that the next string is for comment.\n *\n * See `I18nMutateOpCodes` documentation.\n * @type {?}\n */\nconst COMMENT_MARKER = {\n    marker: 'comment'\n};\n// WARNING: interface has both a type and a value, skipping emit\n/**\n * Array storing OpCode for dynamically creating `i18n` blocks.\n *\n * Example:\n * ```ts\n * <I18nCreateOpCode>[\n *   // For adding text nodes\n *   // ---------------------\n *   // Equivalent to:\n *   //   const node = lView[index++] = document.createTextNode('abc');\n *   //   lView[1].insertBefore(node, lView[2]);\n *   'abc', 1 << SHIFT_PARENT | 2 << SHIFT_REF | InsertBefore,\n *\n *   // Equivalent to:\n *   //   const node = lView[index++] = document.createTextNode('xyz');\n *   //   lView[1].appendChild(node);\n *   'xyz', 1 << SHIFT_PARENT | AppendChild,\n *\n *   // For adding element nodes\n *   // ---------------------\n *   // Equivalent to:\n *   //   const node = lView[index++] = document.createElement('div');\n *   //   lView[1].insertBefore(node, lView[2]);\n *   ELEMENT_MARKER, 'div', 1 << SHIFT_PARENT | 2 << SHIFT_REF | InsertBefore,\n *\n *   // Equivalent to:\n *   //   const node = lView[index++] = document.createElement('div');\n *   //   lView[1].appendChild(node);\n *   ELEMENT_MARKER, 'div', 1 << SHIFT_PARENT | AppendChild,\n *\n *   // For adding comment nodes\n *   // ---------------------\n *   // Equivalent to:\n *   //   const node = lView[index++] = document.createComment('');\n *   //   lView[1].insertBefore(node, lView[2]);\n *   COMMENT_MARKER, '', 1 << SHIFT_PARENT | 2 << SHIFT_REF | InsertBefore,\n *\n *   // Equivalent to:\n *   //   const node = lView[index++] = document.createComment('');\n *   //   lView[1].appendChild(node);\n *   COMMENT_MARKER, '', 1 << SHIFT_PARENT | AppendChild,\n *\n *   // For moving existing nodes to a different location\n *   // --------------------------------------------------\n *   // Equivalent to:\n *   //   const node = lView[1];\n *   //   lView[2].insertBefore(node, lView[3]);\n *   1 << SHIFT_REF | Select, 2 << SHIFT_PARENT | 3 << SHIFT_REF | InsertBefore,\n *\n *   // Equivalent to:\n *   //   const node = lView[1];\n *   //   lView[2].appendChild(node);\n *   1 << SHIFT_REF | Select, 2 << SHIFT_PARENT | AppendChild,\n *\n *   // For removing existing nodes\n *   // --------------------------------------------------\n *   //   const node = lView[1];\n *   //   removeChild(tView.data(1), node, lView);\n *   1 << SHIFT_REF | Remove,\n *\n *   // For writing attributes\n *   // --------------------------------------------------\n *   //   const node = lView[1];\n *   //   node.setAttribute('attr', 'value');\n *   1 << SHIFT_REF | Select, 'attr', 'value'\n *            // NOTE: Select followed by two string (vs select followed by OpCode)\n * ];\n * ```\n * NOTE:\n *   - `index` is initial location where the extra nodes should be stored in the EXPANDO section of\n * `LVIewData`.\n *\n * See: `applyI18nCreateOpCodes`;\n * @record\n */\nfunction I18nMutateOpCodes() { }\n/** @enum {number} */\nconst I18nUpdateOpCode = {\n    /**\n     * Stores shift amount for bits 17-2 that contain reference index.\n     */\n    SHIFT_REF: 2,\n    /**\n     * Mask for OpCode\n     */\n    MASK_OPCODE: 3,\n    /**\n     * OpCode to update a text node.\n     */\n    Text: 0,\n    /**\n     * OpCode to update a attribute of a node.\n     */\n    Attr: 1,\n    /**\n     * OpCode to switch the current ICU case.\n     */\n    IcuSwitch: 2,\n    /**\n     * OpCode to update the current ICU case.\n     */\n    IcuUpdate: 3,\n};\n/**\n * Stores DOM operations which need to be applied to update DOM render tree due to changes in\n * expressions.\n *\n * The basic idea is that `i18nExp` OpCodes capture expression changes and update a change\n * mask bit. (Bit 1 for expression 1, bit 2 for expression 2 etc..., bit 32 for expression 32 and\n * higher.) The OpCodes then compare its own change mask against the expression change mask to\n * determine if the OpCodes should execute.\n *\n * These OpCodes can be used by both the i18n block as well as ICU sub-block.\n *\n * ## Example\n *\n * Assume\n * ```ts\n *   if (rf & RenderFlags.Update) {\n *    i18nExp(bind(ctx.exp1)); // If changed set mask bit 1\n *    i18nExp(bind(ctx.exp2)); // If changed set mask bit 2\n *    i18nExp(bind(ctx.exp3)); // If changed set mask bit 3\n *    i18nExp(bind(ctx.exp4)); // If changed set mask bit 4\n *    i18nApply(0);            // Apply all changes by executing the OpCodes.\n *  }\n * ```\n * We can assume that each call to `i18nExp` sets an internal `changeMask` bit depending on the\n * index of `i18nExp`.\n *\n * ### OpCodes\n * ```ts\n * <I18nUpdateOpCodes>[\n *   // The following OpCodes represent: `<div i18n-title=\"pre{{exp1}}in{{exp2}}post\">`\n *   // If `changeMask & 0b11`\n *   //        has changed then execute update OpCodes.\n *   //        has NOT changed then skip `7` values and start processing next OpCodes.\n *   0b11, 7,\n *   // Concatenate `newValue = 'pre'+lView[bindIndex-4]+'in'+lView[bindIndex-3]+'post';`.\n *   'pre', -4, 'in', -3, 'post',\n *   // Update attribute: `elementAttribute(1, 'title', sanitizerFn(newValue));`\n *   1 << SHIFT_REF | Attr, 'title', sanitizerFn,\n *\n *   // The following OpCodes represent: `<div i18n>Hello {{exp3}}!\">`\n *   // If `changeMask & 0b100`\n *   //        has changed then execute update OpCodes.\n *   //        has NOT changed then skip `4` values and start processing next OpCodes.\n *   0b100, 4,\n *   // Concatenate `newValue = 'Hello ' + lView[bindIndex -2] + '!';`.\n *   'Hello ', -2, '!',\n *   // Update text: `lView[1].textContent = newValue;`\n *   1 << SHIFT_REF | Text,\n *\n *   // The following OpCodes represent: `<div i18n>{exp4, plural, ... }\">`\n *   // If `changeMask & 0b1000`\n *   //        has changed then execute update OpCodes.\n *   //        has NOT changed then skip `4` values and start processing next OpCodes.\n *   0b1000, 4,\n *   // Concatenate `newValue = lView[bindIndex -1];`.\n *   -1,\n *   // Switch ICU: `icuSwitchCase(lView[1], 0, newValue);`\n *   0 << SHIFT_ICU | 1 << SHIFT_REF | IcuSwitch,\n *\n *   // Note `changeMask & -1` is always true, so the IcuUpdate will always execute.\n *   -1, 1,\n *   // Update ICU: `icuUpdateCase(lView[1], 0);`\n *   0 << SHIFT_ICU | 1 << SHIFT_REF | IcuUpdate,\n *\n * ];\n * ```\n *\n * @record\n */\nfunction I18nUpdateOpCodes() { }\n/**\n * Store information for the i18n translation block.\n * @record\n */\nfunction TI18n() { }\nif (false) {}\n/** @enum {number} */\nconst IcuType = {\n    select: 0,\n    plural: 1,\n};\n/**\n * @record\n */\nfunction TIcu() { }\nif (false) {}\n// Note: This hack is necessary so we don't erroneously get a circular dependency\n// failure based on types.\n/** @type {?} */\nconst unusedValueExportToPlacateAjd$6 = 1;\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n * @param {?} obj\n * @param {?} debug\n * @return {?}\n */\nfunction attachDebugObject(obj, debug) {\n    Object.defineProperty(obj, 'debug', { value: debug, enumerable: false });\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Used to apply styling values presently within any map-based bindings on an element.\n *\n * Angular supports map-based styling bindings which can be applied via the\n * `[style]` and `[class]` bindings which can be placed on any HTML element.\n * These bindings can work independently, together or alongside prop-based\n * styling bindings (e.g. `<div [style]=\"x\" [style.width]=\"w\">`).\n *\n * If a map-based styling binding is detected by the compiler, the following\n * AOT code is produced:\n *\n * ```typescript\n * styleMap(ctx.styles); // styles = {key:value}\n * classMap(ctx.classes); // classes = {key:value}|string\n * ```\n *\n * If and when either of the instructions above are evaluated, then the code\n * present in this file is included into the bundle. The mechanism used, to\n * activate support for map-based bindings at runtime is possible via the\n * `activeStylingMapFeature` function (which is also present in this file).\n *\n * # The Algorithm\n * Whenever a map-based binding updates (which is when the identity of the\n * map-value changes) then the map is iterated over and a `StylingMapArray` array\n * is produced. The `StylingMapArray` instance is stored in the binding location\n * where the `BINDING_INDEX` is situated when the `styleMap()` or `classMap()`\n * instruction were called. Once the binding changes, then the internal `bitMask`\n * value is marked as dirty.\n *\n * Styling values are applied once CD exits the element (which happens when\n * the `select(n)` instruction is called or the template function exits). When\n * this occurs, all prop-based bindings are applied. If a map-based binding is\n * present then a special flushing function (called a sync function) is made\n * available and it will be called each time a styling property is flushed.\n *\n * The flushing algorithm is designed to apply styling for a property (which is\n * a CSS property or a className value) one by one. If map-based bindings\n * are present, then the flushing algorithm will keep calling the maps styling\n * sync function each time a property is visited. This way, the flushing\n * behavior of map-based bindings will always be at the same property level\n * as the current prop-based property being iterated over (because everything\n * is alphabetically sorted).\n *\n * Let's imagine we have the following HTML template code:\n *\n * ```html\n * <div [style]=\"{width:'100px', height:'200px', 'z-index':'10'}\"\n *      [style.width.px]=\"200\">...</div>\n * ```\n *\n * When CD occurs, both the `[style]` and `[style.width]` bindings\n * are evaluated. Then when the styles are flushed on screen, the\n * following operations happen:\n *\n * 1. `[style.width]` is attempted to be written to the element.\n *\n * 2.  Once that happens, the algorithm instructs the map-based\n *     entries (`[style]` in this case) to \"catch up\" and apply\n *     all values up to the `width` value. When this happens the\n *     `height` value is applied to the element (since it is\n *     alphabetically situated before the `width` property).\n *\n * 3. Since there are no more prop-based entries anymore, the\n *    loop exits and then, just before the flushing ends, it\n *    instructs all map-based bindings to \"finish up\" applying\n *    their values.\n *\n * 4. The only remaining value within the map-based entries is\n *    the `z-index` value (`width` got skipped because it was\n *    successfully applied via the prop-based `[style.width]`\n *    binding). Since all map-based entries are told to \"finish up\",\n *    the `z-index` value is iterated over and it is then applied\n *    to the element.\n *\n * The most important thing to take note of here is that prop-based\n * bindings are evaluated in order alongside map-based bindings.\n * This allows all styling across an element to be applied in O(n)\n * time (a similar algorithm is that of the array merge algorithm\n * in merge sort).\n * @type {?}\n */\nconst syncStylingMap = (/**\n * @param {?} context\n * @param {?} renderer\n * @param {?} element\n * @param {?} data\n * @param {?} applyStylingFn\n * @param {?} sanitizer\n * @param {?} mode\n * @param {?=} targetProp\n * @param {?=} defaultValue\n * @return {?}\n */\n(context, renderer, element, data, applyStylingFn, sanitizer, mode, targetProp, defaultValue) => {\n    /** @type {?} */\n    let targetPropValueWasApplied = false;\n    // once the map-based styling code is activate it is never deactivated. For this reason a\n    // check to see if the current styling context has any map based bindings is required.\n    /** @type {?} */\n    const totalMaps = getValuesCount(context, 3 /* MapBindingsPosition */);\n    if (totalMaps) {\n        /** @type {?} */\n        let runTheSyncAlgorithm = true;\n        /** @type {?} */\n        const loopUntilEnd = !targetProp;\n        // If the code is told to finish up (run until the end), but the mode\n        // hasn't been flagged to apply values (it only traverses values) then\n        // there is no point in iterating over the array because nothing will\n        // be applied to the element.\n        if (loopUntilEnd && (mode & ~1 /* ApplyAllValues */)) {\n            runTheSyncAlgorithm = false;\n            targetPropValueWasApplied = true;\n        }\n        if (runTheSyncAlgorithm) {\n            targetPropValueWasApplied = innerSyncStylingMap(context, renderer, element, data, applyStylingFn, sanitizer, mode, targetProp || null, 0, defaultValue || null);\n        }\n        if (loopUntilEnd) {\n            resetSyncCursors();\n        }\n    }\n    return targetPropValueWasApplied;\n});\n/**\n * Recursive function designed to apply map-based styling to an element one map at a time.\n *\n * This function is designed to be called from the `syncStylingMap` function and will\n * apply map-based styling data one map at a time to the provided `element`.\n *\n * This function is recursive and it will call itself if a follow-up map value is to be\n * processed. To learn more about how the algorithm works, see `syncStylingMap`.\n * @param {?} context\n * @param {?} renderer\n * @param {?} element\n * @param {?} data\n * @param {?} applyStylingFn\n * @param {?} sanitizer\n * @param {?} mode\n * @param {?} targetProp\n * @param {?} currentMapIndex\n * @param {?} defaultValue\n * @return {?}\n */\nfunction innerSyncStylingMap(context, renderer, element, data, applyStylingFn, sanitizer, mode, targetProp, currentMapIndex, defaultValue) {\n    /** @type {?} */\n    let targetPropValueWasApplied = false;\n    /** @type {?} */\n    const totalMaps = getValuesCount(context, 3 /* MapBindingsPosition */);\n    if (currentMapIndex < totalMaps) {\n        /** @type {?} */\n        const bindingIndex = (/** @type {?} */ (getBindingValue(context, 3 /* MapBindingsPosition */, currentMapIndex)));\n        /** @type {?} */\n        const stylingMapArr = (/** @type {?} */ (data[bindingIndex]));\n        /** @type {?} */\n        let cursor = getCurrentSyncCursor(currentMapIndex);\n        while (cursor < stylingMapArr.length) {\n            /** @type {?} */\n            const prop = getMapProp(stylingMapArr, cursor);\n            /** @type {?} */\n            const iteratedTooFar = targetProp && prop > targetProp;\n            /** @type {?} */\n            const isTargetPropMatched = !iteratedTooFar && prop === targetProp;\n            /** @type {?} */\n            const value = getMapValue(stylingMapArr, cursor);\n            /** @type {?} */\n            const valueIsDefined = isStylingValueDefined(value);\n            // the recursive code is designed to keep applying until\n            // it reaches or goes past the target prop. If and when\n            // this happens then it will stop processing values, but\n            // all other map values must also catch up to the same\n            // point. This is why a recursive call is still issued\n            // even if the code has iterated too far.\n            /** @type {?} */\n            const innerMode = iteratedTooFar ? mode : resolveInnerMapMode(mode, valueIsDefined, isTargetPropMatched);\n            /** @type {?} */\n            const innerProp = iteratedTooFar ? targetProp : prop;\n            /** @type {?} */\n            let valueApplied = innerSyncStylingMap(context, renderer, element, data, applyStylingFn, sanitizer, innerMode, innerProp, currentMapIndex + 1, defaultValue);\n            if (iteratedTooFar) {\n                if (!targetPropValueWasApplied) {\n                    targetPropValueWasApplied = valueApplied;\n                }\n                break;\n            }\n            if (!valueApplied && isValueAllowedToBeApplied(mode, isTargetPropMatched)) {\n                /** @type {?} */\n                const useDefault = isTargetPropMatched && !valueIsDefined;\n                /** @type {?} */\n                const valueToApply = useDefault ? defaultValue : value;\n                /** @type {?} */\n                const bindingIndexToApply = useDefault ? bindingIndex : null;\n                /** @type {?} */\n                const finalValue = sanitizer ?\n                    sanitizer(prop, valueToApply, 3 /* ValidateAndSanitize */) :\n                    valueToApply;\n                applyStylingFn(renderer, element, prop, finalValue, bindingIndexToApply);\n                valueApplied = true;\n            }\n            targetPropValueWasApplied = valueApplied && isTargetPropMatched;\n            cursor += 2 /* TupleSize */;\n        }\n        setCurrentSyncCursor(currentMapIndex, cursor);\n        // this is a fallback case in the event that the styling map is `null` for this\n        // binding but there are other map-based bindings that need to be evaluated\n        // afterwards. If the `prop` value is falsy then the intention is to cycle\n        // through all of the properties in the remaining maps as well. If the current\n        // styling map is too short then there are no values to iterate over. In either\n        // case the follow-up maps need to be iterated over.\n        if (stylingMapArr.length === 1 /* ValuesStartPosition */ || !targetProp) {\n            return innerSyncStylingMap(context, renderer, element, data, applyStylingFn, sanitizer, mode, targetProp, currentMapIndex + 1, defaultValue);\n        }\n    }\n    return targetPropValueWasApplied;\n}\n/**\n * Enables support for map-based styling bindings (e.g. `[style]` and `[class]` bindings).\n * @return {?}\n */\nfunction activateStylingMapFeature() {\n    setStylingMapsSyncFn(syncStylingMap);\n}\n/**\n * Used to determine the mode for the inner recursive call.\n *\n * If an inner map is iterated on then this is done so for one\n * of two reasons:\n *\n * - value is being applied:\n *   if the value is being applied from this current styling\n *   map then there is no need to apply it in a deeper map.\n *\n * - value is being not applied:\n *   apply the value if it is found in a deeper map.\n *\n * When these reasons are encountered the flags will for the\n * inner map mode will be configured.\n * @param {?} currentMode\n * @param {?} valueIsDefined\n * @param {?} isExactMatch\n * @return {?}\n */\nfunction resolveInnerMapMode(currentMode, valueIsDefined, isExactMatch) {\n    /** @type {?} */\n    let innerMode = currentMode;\n    if (!valueIsDefined && !(currentMode & 4 /* SkipTargetProp */) &&\n        (isExactMatch || (currentMode & 1 /* ApplyAllValues */))) {\n        // case 1: set the mode to apply the targeted prop value if it\n        // ends up being encountered in another map value\n        innerMode |= 2 /* ApplyTargetProp */;\n        innerMode &= ~4 /* SkipTargetProp */;\n    }\n    else {\n        // case 2: set the mode to skip the targeted prop value if it\n        // ends up being encountered in another map value\n        innerMode |= 4 /* SkipTargetProp */;\n        innerMode &= ~2 /* ApplyTargetProp */;\n    }\n    return innerMode;\n}\n/**\n * Decides whether or not a prop/value entry will be applied to an element.\n *\n * To determine whether or not a value is to be applied,\n * the following procedure is evaluated:\n *\n * First check to see the current `mode` status:\n *  1. If the mode value permits all props to be applied then allow.\n *    - But do not allow if the current prop is set to be skipped.\n *  2. Otherwise if the current prop is permitted then allow.\n * @param {?} mode\n * @param {?} isTargetPropMatched\n * @return {?}\n */\nfunction isValueAllowedToBeApplied(mode, isTargetPropMatched) {\n    /** @type {?} */\n    let doApplyValue = (mode & 1 /* ApplyAllValues */) > 0;\n    if (!doApplyValue) {\n        if (mode & 2 /* ApplyTargetProp */) {\n            doApplyValue = isTargetPropMatched;\n        }\n    }\n    else if ((mode & 4 /* SkipTargetProp */) && isTargetPropMatched) {\n        doApplyValue = false;\n    }\n    return doApplyValue;\n}\n/**\n * Used to keep track of concurrent cursor values for multiple map-based styling bindings present on\n * an element.\n * @type {?}\n */\nconst MAP_CURSORS = [];\n/**\n * Used to reset the state of each cursor value being used to iterate over map-based styling\n * bindings.\n * @return {?}\n */\nfunction resetSyncCursors() {\n    for (let i = 0; i < MAP_CURSORS.length; i++) {\n        MAP_CURSORS[i] = 1 /* ValuesStartPosition */;\n    }\n}\n/**\n * Returns an active cursor value at a given mapIndex location.\n * @param {?} mapIndex\n * @return {?}\n */\nfunction getCurrentSyncCursor(mapIndex) {\n    if (mapIndex >= MAP_CURSORS.length) {\n        MAP_CURSORS.push(1 /* ValuesStartPosition */);\n    }\n    return MAP_CURSORS[mapIndex];\n}\n/**\n * Sets a cursor value at a given mapIndex location.\n * @param {?} mapIndex\n * @param {?} indexValue\n * @return {?}\n */\nfunction setCurrentSyncCursor(mapIndex, indexValue) {\n    MAP_CURSORS[mapIndex] = indexValue;\n}\n/**\n * Used to convert a {key:value} map into a `StylingMapArray` array.\n *\n * This function will either generate a new `StylingMapArray` instance\n * or it will patch the provided `newValues` map value into an\n * existing `StylingMapArray` value (this only happens if `bindingValue`\n * is an instance of `StylingMapArray`).\n *\n * If a new key/value map is provided with an old `StylingMapArray`\n * value then all properties will be overwritten with their new\n * values or with `null`. This means that the array will never\n * shrink in size (but it will also not be created and thrown\n * away whenever the {key:value} map entries change).\n * @param {?} bindingValue\n * @param {?} newValues\n * @param {?=} normalizeProps\n * @return {?}\n */\nfunction normalizeIntoStylingMap(bindingValue, newValues, normalizeProps) {\n    /** @type {?} */\n    const stylingMapArr = Array.isArray(bindingValue) ? bindingValue : [null];\n    stylingMapArr[0 /* RawValuePosition */] = newValues || null;\n    // because the new values may not include all the properties\n    // that the old ones had, all values are set to `null` before\n    // the new values are applied. This way, when flushed, the\n    // styling algorithm knows exactly what style/class values\n    // to remove from the element (since they are `null`).\n    for (let j = 1 /* ValuesStartPosition */; j < stylingMapArr.length; j += 2 /* TupleSize */) {\n        setMapValue(stylingMapArr, j, null);\n    }\n    /** @type {?} */\n    let props = null;\n    /** @type {?} */\n    let map;\n    /** @type {?} */\n    let allValuesTrue = false;\n    if (typeof newValues === 'string') { // [class] bindings allow string values\n        if (newValues.length) {\n            props = newValues.split(/\\s+/);\n            allValuesTrue = true;\n        }\n    }\n    else {\n        props = newValues ? Object.keys(newValues) : null;\n        map = newValues;\n    }\n    if (props) {\n        for (let i = 0; i < props.length; i++) {\n            /** @type {?} */\n            const prop = (/** @type {?} */ (props[i]));\n            /** @type {?} */\n            const newProp = normalizeProps ? hyphenate(prop) : prop;\n            /** @type {?} */\n            const value = allValuesTrue ? true : (/** @type {?} */ (map))[prop];\n            addItemToStylingMap(stylingMapArr, newProp, value, true);\n        }\n    }\n    return stylingMapArr;\n}\n/**\n * Inserts the provided item into the provided styling array at the right spot.\n *\n * The `StylingMapArray` type is a sorted key/value array of entries. This means\n * that when a new entry is inserted it must be placed at the right spot in the\n * array. This function figures out exactly where to place it.\n * @param {?} stylingMapArr\n * @param {?} prop\n * @param {?} value\n * @param {?=} allowOverwrite\n * @return {?}\n */\nfunction addItemToStylingMap(stylingMapArr, prop, value, allowOverwrite) {\n    for (let j = 1 /* ValuesStartPosition */; j < stylingMapArr.length; j += 2 /* TupleSize */) {\n        /** @type {?} */\n        const propAtIndex = getMapProp(stylingMapArr, j);\n        if (prop <= propAtIndex) {\n            /** @type {?} */\n            let applied = false;\n            if (propAtIndex === prop) {\n                /** @type {?} */\n                const valueAtIndex = stylingMapArr[j];\n                if (allowOverwrite || !isStylingValueDefined(valueAtIndex)) {\n                    applied = true;\n                    setMapValue(stylingMapArr, j, value);\n                }\n            }\n            else {\n                applied = true;\n                stylingMapArr.splice(j, 0, prop, value);\n            }\n            return applied;\n        }\n    }\n    stylingMapArr.push(prop, value);\n    return true;\n}\n/**\n * Converts the provided styling map array into a string.\n *\n * Classes => `one two three`\n * Styles => `prop:value; prop2:value2`\n * @param {?} map\n * @param {?} isClassBased\n * @return {?}\n */\nfunction stylingMapToString(map, isClassBased) {\n    /** @type {?} */\n    let str = '';\n    for (let i = 1 /* ValuesStartPosition */; i < map.length; i += 2 /* TupleSize */) {\n        /** @type {?} */\n        const prop = getMapProp(map, i);\n        /** @type {?} */\n        const value = (/** @type {?} */ (getMapValue(map, i)));\n        /** @type {?} */\n        const attrValue = concatString(prop, isClassBased ? '' : value, ':');\n        str = concatString(str, attrValue, isClassBased ? ' ' : '; ');\n    }\n    return str;\n}\n/**\n * Converts the provided styling map array into a key value map.\n * @param {?} map\n * @return {?}\n */\nfunction stylingMapToStringMap(map) {\n    /** @type {?} */\n    let stringMap = {};\n    if (map) {\n        for (let i = 1 /* ValuesStartPosition */; i < map.length; i += 2 /* TupleSize */) {\n            /** @type {?} */\n            const prop = getMapProp(map, i);\n            /** @type {?} */\n            const value = (/** @type {?} */ (getMapValue(map, i)));\n            stringMap[prop] = value;\n        }\n    }\n    return stringMap;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * A debug/testing-oriented summary of a styling entry.\n *\n * A value such as this is generated as an artifact of the `DebugStyling`\n * summary.\n * @record\n */\nfunction LStylingSummary() { }\nif (false) {}\n/**\n * A debug/testing-oriented summary of all styling entries for a `DebugNode` instance.\n * @record\n */\nfunction DebugStyling() { }\nif (false) {}\n/**\n * A debug/testing-oriented summary of all styling entries within a `TStylingContext`.\n * @record\n */\nfunction TStylingTupleSummary() { }\nif (false) {}\n/**\n * Instantiates and attaches an instance of `TStylingContextDebug` to the provided context.\n * @param {?} context\n * @return {?}\n */\nfunction attachStylingDebugObject(context) {\n    /** @type {?} */\n    const debug = new TStylingContextDebug(context);\n    attachDebugObject(context, debug);\n    return debug;\n}\n/**\n * A human-readable debug summary of the styling data present within `TStylingContext`.\n *\n * This class is designed to be used within testing code or when an\n * application has `ngDevMode` activated.\n */\nclass TStylingContextDebug {\n    /**\n     * @param {?} context\n     */\n    constructor(context) {\n        this.context = context;\n    }\n    /**\n     * @return {?}\n     */\n    get isLocked() { return isContextLocked(this.context); }\n    /**\n     * Returns a detailed summary of each styling entry in the context.\n     *\n     * See `TStylingTupleSummary`.\n     * @return {?}\n     */\n    get entries() {\n        /** @type {?} */\n        const context = this.context;\n        /** @type {?} */\n        const entries = {};\n        /** @type {?} */\n        const start = 3 /* MapBindingsPosition */;\n        /** @type {?} */\n        let i = start;\n        while (i < context.length) {\n            /** @type {?} */\n            const valuesCount = getValuesCount(context, i);\n            // the context may contain placeholder values which are populated ahead of time,\n            // but contain no actual binding values. In this situation there is no point in\n            // classifying this as an \"entry\" since no real data is stored here yet.\n            if (valuesCount) {\n                /** @type {?} */\n                const prop = getProp(context, i);\n                /** @type {?} */\n                const guardMask = getGuardMask(context, i);\n                /** @type {?} */\n                const defaultValue = getDefaultValue(context, i);\n                /** @type {?} */\n                const sanitizationRequired = isSanitizationRequired(context, i);\n                /** @type {?} */\n                const bindingsStartPosition = i + 3 /* BindingsStartOffset */;\n                /** @type {?} */\n                const sources = [];\n                for (let j = 0; j < valuesCount; j++) {\n                    sources.push((/** @type {?} */ (context[bindingsStartPosition + j])));\n                }\n                entries[prop] = { prop, guardMask, sanitizationRequired, valuesCount, defaultValue, sources };\n            }\n            i += 3 /* BindingsStartOffset */ + valuesCount;\n        }\n        return entries;\n    }\n}\nif (false) {}\n/**\n * A human-readable debug summary of the styling data present for a `DebugNode` instance.\n *\n * This class is designed to be used within testing code or when an\n * application has `ngDevMode` activated.\n */\nclass NodeStylingDebug {\n    /**\n     * @param {?} context\n     * @param {?} _data\n     * @param {?=} _isClassBased\n     */\n    constructor(context, _data, _isClassBased) {\n        this.context = context;\n        this._data = _data;\n        this._isClassBased = _isClassBased;\n        this._sanitizer = null;\n    }\n    /**\n     * Overrides the sanitizer used to process styles.\n     * @param {?} sanitizer\n     * @return {?}\n     */\n    overrideSanitizer(sanitizer) { this._sanitizer = sanitizer; }\n    /**\n     * Returns a detailed summary of each styling entry in the context and\n     * what their runtime representation is.\n     *\n     * See `LStylingSummary`.\n     * @return {?}\n     */\n    get summary() {\n        /** @type {?} */\n        const entries = {};\n        this._mapValues((/**\n         * @param {?} prop\n         * @param {?} value\n         * @param {?} bindingIndex\n         * @return {?}\n         */\n        (prop, value, bindingIndex) => {\n            entries[prop] = { prop, value, bindingIndex };\n        }));\n        return entries;\n    }\n    /**\n     * Returns a key/value map of all the styles/classes that were last applied to the element.\n     * @return {?}\n     */\n    get values() {\n        /** @type {?} */\n        const entries = {};\n        this._mapValues((/**\n         * @param {?} prop\n         * @param {?} value\n         * @return {?}\n         */\n        (prop, value) => { entries[prop] = value; }));\n        return entries;\n    }\n    /**\n     * @private\n     * @param {?} fn\n     * @return {?}\n     */\n    _mapValues(fn) {\n        // there is no need to store/track an element instance. The\n        // element is only used when the styling algorithm attempts to\n        // style the value (and we mock out the stylingApplyFn anyway).\n        /** @type {?} */\n        const mockElement = (/** @type {?} */ ({}));\n        /** @type {?} */\n        const hasMaps = getValuesCount(this.context, 3 /* MapBindingsPosition */) > 0;\n        if (hasMaps) {\n            activateStylingMapFeature();\n        }\n        /** @type {?} */\n        const mapFn = (/**\n         * @param {?} renderer\n         * @param {?} element\n         * @param {?} prop\n         * @param {?} value\n         * @param {?=} bindingIndex\n         * @return {?}\n         */\n        (renderer, element, prop, value, bindingIndex) => { fn(prop, value, bindingIndex || null); });\n        /** @type {?} */\n        const sanitizer = this._isClassBased ? null : (this._sanitizer || getCurrentStyleSanitizer());\n        applyStyling(this.context, null, mockElement, this._data, true, mapFn, sanitizer);\n    }\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/*\n * This file contains conditionally attached classes which provide human readable (debug) level\n * information for `LView`, `LContainer` and other internal data structures. These data structures\n * are stored internally as array which makes it very difficult during debugging to reason about the\n * current state of the system.\n *\n * Patching the array with extra property does change the array's hidden class' but it does not\n * change the cost of access, therefore this patching should not have significant if any impact in\n * `ngDevMode` mode. (see: https://jsperf.com/array-vs-monkey-patch-array)\n *\n * So instead of seeing:\n * ```\n * Array(30) [Object, 659, null, …]\n * ```\n *\n * You get to see:\n * ```\n * LViewDebug {\n *   views: [...],\n *   flags: {attached: true, ...}\n *   nodes: [\n *     {html: '<div id=\"123\">', ..., nodes: [\n *       {html: '<span>', ..., nodes: null}\n *     ]}\n *   ]\n * }\n * ```\n */\n/** @type {?} */\nconst LViewArray = ngDevMode && createNamedArrayType('LView');\n/** @type {?} */\nlet LVIEW_EMPTY;\n// can't initialize here or it will not be tree shaken, because `LView`\n// constructor could have side-effects.\n/**\n * This function clones a blueprint and creates LView.\n *\n * Simple slice will keep the same type, and we need it to be LView\n * @param {?} list\n * @return {?}\n */\nfunction cloneToLView(list) {\n    if (LVIEW_EMPTY === undefined)\n        LVIEW_EMPTY = new (/** @type {?} */ (LViewArray))();\n    return (/** @type {?} */ (LVIEW_EMPTY.concat(list)));\n}\n/**\n * This class is a debug version of Object literal so that we can have constructor name show up in\n * debug tools in ngDevMode.\n * @type {?}\n */\nconst TViewConstructor = class TView {\n    /**\n     * @param {?} id\n     * @param {?} blueprint\n     * @param {?} template\n     * @param {?} queries\n     * @param {?} viewQuery\n     * @param {?} node\n     * @param {?} data\n     * @param {?} bindingStartIndex\n     * @param {?} expandoStartIndex\n     * @param {?} expandoInstructions\n     * @param {?} firstTemplatePass\n     * @param {?} staticViewQueries\n     * @param {?} staticContentQueries\n     * @param {?} preOrderHooks\n     * @param {?} preOrderCheckHooks\n     * @param {?} contentHooks\n     * @param {?} contentCheckHooks\n     * @param {?} viewHooks\n     * @param {?} viewCheckHooks\n     * @param {?} destroyHooks\n     * @param {?} cleanup\n     * @param {?} contentQueries\n     * @param {?} components\n     * @param {?} directiveRegistry\n     * @param {?} pipeRegistry\n     * @param {?} firstChild\n     * @param {?} schemas\n     */\n    constructor(id, //\n    blueprint, //\n    template, //\n    queries, //\n    viewQuery, //\n    node, //\n    data, //\n    bindingStartIndex, //\n    expandoStartIndex, //\n    expandoInstructions, //\n    firstTemplatePass, //\n    staticViewQueries, //\n    staticContentQueries, //\n    preOrderHooks, //\n    preOrderCheckHooks, //\n    contentHooks, //\n    contentCheckHooks, //\n    viewHooks, //\n    viewCheckHooks, //\n    destroyHooks, //\n    cleanup, //\n    contentQueries, //\n    components, //\n    directiveRegistry, //\n    pipeRegistry, //\n    firstChild, //\n    schemas) {\n        this.id = id;\n        this.blueprint = blueprint;\n        this.template = template;\n        this.queries = queries;\n        this.viewQuery = viewQuery;\n        this.node = node;\n        this.data = data;\n        this.bindingStartIndex = bindingStartIndex;\n        this.expandoStartIndex = expandoStartIndex;\n        this.expandoInstructions = expandoInstructions;\n        this.firstTemplatePass = firstTemplatePass;\n        this.staticViewQueries = staticViewQueries;\n        this.staticContentQueries = staticContentQueries;\n        this.preOrderHooks = preOrderHooks;\n        this.preOrderCheckHooks = preOrderCheckHooks;\n        this.contentHooks = contentHooks;\n        this.contentCheckHooks = contentCheckHooks;\n        this.viewHooks = viewHooks;\n        this.viewCheckHooks = viewCheckHooks;\n        this.destroyHooks = destroyHooks;\n        this.cleanup = cleanup;\n        this.contentQueries = contentQueries;\n        this.components = components;\n        this.directiveRegistry = directiveRegistry;\n        this.pipeRegistry = pipeRegistry;\n        this.firstChild = firstChild;\n        this.schemas = schemas;\n    }\n};\n/** @type {?} */\nconst TNodeConstructor = class TNode {\n    /**\n     * @param {?} tView_\n     * @param {?} type\n     * @param {?} index\n     * @param {?} injectorIndex\n     * @param {?} directiveStart\n     * @param {?} directiveEnd\n     * @param {?} propertyMetadataStartIndex\n     * @param {?} propertyMetadataEndIndex\n     * @param {?} flags\n     * @param {?} providerIndexes\n     * @param {?} tagName\n     * @param {?} attrs\n     * @param {?} localNames\n     * @param {?} initialInputs\n     * @param {?} inputs\n     * @param {?} outputs\n     * @param {?} tViews\n     * @param {?} next\n     * @param {?} projectionNext\n     * @param {?} child\n     * @param {?} parent\n     * @param {?} projection\n     * @param {?} styles\n     * @param {?} classes\n     */\n    constructor(tView_, //\n    type, //\n    index, //\n    injectorIndex, //\n    directiveStart, //\n    directiveEnd, //\n    propertyMetadataStartIndex, //\n    propertyMetadataEndIndex, //\n    flags, //\n    providerIndexes, //\n    tagName, //\n    attrs, //\n    localNames, //\n    initialInputs, //\n    inputs, //\n    outputs, //\n    tViews, //\n    next, //\n    projectionNext, //\n    child, //\n    parent, //\n    projection, //\n    styles, //\n    classes) {\n        this.tView_ = tView_;\n        this.type = type;\n        this.index = index;\n        this.injectorIndex = injectorIndex;\n        this.directiveStart = directiveStart;\n        this.directiveEnd = directiveEnd;\n        this.propertyMetadataStartIndex = propertyMetadataStartIndex;\n        this.propertyMetadataEndIndex = propertyMetadataEndIndex;\n        this.flags = flags;\n        this.providerIndexes = providerIndexes;\n        this.tagName = tagName;\n        this.attrs = attrs;\n        this.localNames = localNames;\n        this.initialInputs = initialInputs;\n        this.inputs = inputs;\n        this.outputs = outputs;\n        this.tViews = tViews;\n        this.next = next;\n        this.projectionNext = projectionNext;\n        this.child = child;\n        this.parent = parent;\n        this.projection = projection;\n        this.styles = styles;\n        this.classes = classes;\n    }\n    /**\n     * @return {?}\n     */\n    get type_() {\n        switch (this.type) {\n            case 0 /* Container */:\n                return 'TNodeType.Container';\n            case 3 /* Element */:\n                return 'TNodeType.Element';\n            case 4 /* ElementContainer */:\n                return 'TNodeType.ElementContainer';\n            case 5 /* IcuContainer */:\n                return 'TNodeType.IcuContainer';\n            case 1 /* Projection */:\n                return 'TNodeType.Projection';\n            case 2 /* View */:\n                return 'TNodeType.View';\n            default:\n                return 'TNodeType.???';\n        }\n    }\n    /**\n     * @return {?}\n     */\n    get flags_() {\n        /** @type {?} */\n        const flags = [];\n        if (this.flags & 8 /* hasClassInput */)\n            flags.push('TNodeFlags.hasClassInput');\n        if (this.flags & 4 /* hasContentQuery */)\n            flags.push('TNodeFlags.hasContentQuery');\n        if (this.flags & 16 /* hasStyleInput */)\n            flags.push('TNodeFlags.hasStyleInput');\n        if (this.flags & 1 /* isComponent */)\n            flags.push('TNodeFlags.isComponent');\n        if (this.flags & 32 /* isDetached */)\n            flags.push('TNodeFlags.isDetached');\n        if (this.flags & 2 /* isProjected */)\n            flags.push('TNodeFlags.isProjected');\n        return flags.join('|');\n    }\n};\n/** @type {?} */\nconst TViewData = ngDevMode && createNamedArrayType('TViewData');\n/** @type {?} */\nlet TVIEWDATA_EMPTY;\n// can't initialize here or it will not be tree shaken, because `LView`\n// constructor could have side-effects.\n/**\n * This function clones a blueprint and creates TData.\n *\n * Simple slice will keep the same type, and we need it to be TData\n * @param {?} list\n * @return {?}\n */\nfunction cloneToTViewData(list) {\n    if (TVIEWDATA_EMPTY === undefined)\n        TVIEWDATA_EMPTY = new (/** @type {?} */ (TViewData))();\n    return (/** @type {?} */ (TVIEWDATA_EMPTY.concat(list)));\n}\n/** @type {?} */\nconst LViewBlueprint = ngDevMode && createNamedArrayType('LViewBlueprint');\n/** @type {?} */\nconst MatchesArray = ngDevMode && createNamedArrayType('MatchesArray');\n/** @type {?} */\nconst TViewComponents = ngDevMode && createNamedArrayType('TViewComponents');\n/** @type {?} */\nconst TNodeLocalNames = ngDevMode && createNamedArrayType('TNodeLocalNames');\n/** @type {?} */\nconst TNodeInitialInputs = ngDevMode && createNamedArrayType('TNodeInitialInputs');\n/** @type {?} */\nconst TNodeInitialData = ngDevMode && createNamedArrayType('TNodeInitialData');\n/** @type {?} */\nconst LCleanup = ngDevMode && createNamedArrayType('LCleanup');\n/** @type {?} */\nconst TCleanup = ngDevMode && createNamedArrayType('TCleanup');\n/**\n * @param {?} lView\n * @return {?}\n */\nfunction attachLViewDebug(lView) {\n    attachDebugObject(lView, new LViewDebug(lView));\n}\n/**\n * @param {?} lContainer\n * @return {?}\n */\nfunction attachLContainerDebug(lContainer) {\n    attachDebugObject(lContainer, new LContainerDebug(lContainer));\n}\n/**\n * @param {?} obj\n * @return {?}\n */\nfunction toDebug(obj) {\n    if (obj) {\n        /** @type {?} */\n        const debug = ((/** @type {?} */ (obj))).debug;\n        assertDefined(debug, 'Object does not have a debug representation.');\n        return debug;\n    }\n    else {\n        return obj;\n    }\n}\n/**\n * Use this method to unwrap a native element in `LView` and convert it into HTML for easier\n * reading.\n *\n * @param {?} value possibly wrapped native DOM node.\n * @param {?=} includeChildren If `true` then the serialized HTML form will include child elements (same\n * as `outerHTML`). If `false` then the serialized HTML form will only contain the element itself\n * (will not serialize child elements).\n * @return {?}\n */\nfunction toHtml(value, includeChildren = false) {\n    /** @type {?} */\n    const node = (/** @type {?} */ (unwrapRNode(value)));\n    if (node) {\n        /** @type {?} */\n        const isTextNode = node.nodeType === Node.TEXT_NODE;\n        /** @type {?} */\n        const outerHTML = (isTextNode ? node.textContent : node.outerHTML) || '';\n        if (includeChildren || isTextNode) {\n            return outerHTML;\n        }\n        else {\n            /** @type {?} */\n            const innerHTML = node.innerHTML;\n            return outerHTML.split(innerHTML)[0] || null;\n        }\n    }\n    else {\n        return null;\n    }\n}\nclass LViewDebug {\n    /**\n     * @param {?} _raw_lView\n     */\n    constructor(_raw_lView) {\n        this._raw_lView = _raw_lView;\n    }\n    /**\n     * Flags associated with the `LView` unpacked into a more readable state.\n     * @return {?}\n     */\n    get flags() {\n        /** @type {?} */\n        const flags = this._raw_lView[FLAGS];\n        return {\n            __raw__flags__: flags,\n            initPhaseState: flags & 3 /* InitPhaseStateMask */,\n            creationMode: !!(flags & 4 /* CreationMode */),\n            firstViewPass: !!(flags & 8 /* FirstLViewPass */),\n            checkAlways: !!(flags & 16 /* CheckAlways */),\n            dirty: !!(flags & 64 /* Dirty */),\n            attached: !!(flags & 128 /* Attached */),\n            destroyed: !!(flags & 256 /* Destroyed */),\n            isRoot: !!(flags & 512 /* IsRoot */),\n            indexWithinInitPhase: flags >> 10 /* IndexWithinInitPhaseShift */,\n        };\n    }\n    /**\n     * @return {?}\n     */\n    get parent() { return toDebug(this._raw_lView[PARENT]); }\n    /**\n     * @return {?}\n     */\n    get host() { return toHtml(this._raw_lView[HOST], true); }\n    /**\n     * @return {?}\n     */\n    get context() { return this._raw_lView[CONTEXT]; }\n    /**\n     * The tree of nodes associated with the current `LView`. The nodes have been normalized into a\n     * tree structure with relevant details pulled out for readability.\n     * @return {?}\n     */\n    get nodes() {\n        /** @type {?} */\n        const lView = this._raw_lView;\n        /** @type {?} */\n        const tNode = lView[TVIEW].firstChild;\n        return toDebugNodes(tNode, lView);\n    }\n    /**\n     * Additional information which is hidden behind a property. The extra level of indirection is\n     * done so that the debug view would not be cluttered with properties which are only rarely\n     * relevant to the developer.\n     * @return {?}\n     */\n    get __other__() {\n        return {\n            tView: this._raw_lView[TVIEW],\n            cleanup: this._raw_lView[CLEANUP],\n            injector: this._raw_lView[INJECTOR$1],\n            rendererFactory: this._raw_lView[RENDERER_FACTORY],\n            renderer: this._raw_lView[RENDERER],\n            sanitizer: this._raw_lView[SANITIZER],\n            childHead: toDebug(this._raw_lView[CHILD_HEAD]),\n            next: toDebug(this._raw_lView[NEXT]),\n            childTail: toDebug(this._raw_lView[CHILD_TAIL]),\n            declarationView: toDebug(this._raw_lView[DECLARATION_VIEW]),\n            queries: null,\n            tHost: this._raw_lView[T_HOST],\n            bindingIndex: this._raw_lView[BINDING_INDEX],\n        };\n    }\n    /**\n     * Normalized view of child views (and containers) attached at this location.\n     * @return {?}\n     */\n    get childViews() {\n        /** @type {?} */\n        const childViews = [];\n        /** @type {?} */\n        let child = this.__other__.childHead;\n        while (child) {\n            childViews.push(child);\n            child = child.__other__.next;\n        }\n        return childViews;\n    }\n}\nif (false) {}\n/**\n * @record\n */\nfunction DebugNode() { }\nif (false) {}\n/**\n * Turns a flat list of nodes into a tree by walking the associated `TNode` tree.\n *\n * @param {?} tNode\n * @param {?} lView\n * @return {?}\n */\nfunction toDebugNodes(tNode, lView) {\n    if (tNode) {\n        /** @type {?} */\n        const debugNodes = [];\n        /** @type {?} */\n        let tNodeCursor = tNode;\n        while (tNodeCursor) {\n            /** @type {?} */\n            const rawValue = lView[tNode.index];\n            /** @type {?} */\n            const native = unwrapRNode(rawValue);\n            /** @type {?} */\n            const componentLViewDebug = toDebug(readLViewValue(rawValue));\n            /** @type {?} */\n            const styles = isStylingContext(tNode.styles) ?\n                new NodeStylingDebug((/** @type {?} */ ((/** @type {?} */ (tNode.styles)))), lView) :\n                null;\n            /** @type {?} */\n            const classes = isStylingContext(tNode.classes) ?\n                new NodeStylingDebug((/** @type {?} */ ((/** @type {?} */ (tNode.classes)))), lView, true) :\n                null;\n            debugNodes.push({\n                html: toHtml(native),\n                native: (/** @type {?} */ (native)), styles, classes,\n                nodes: toDebugNodes(tNode.child, lView),\n                component: componentLViewDebug,\n            });\n            tNodeCursor = tNodeCursor.next;\n        }\n        return debugNodes;\n    }\n    else {\n        return null;\n    }\n}\nclass LContainerDebug {\n    /**\n     * @param {?} _raw_lContainer\n     */\n    constructor(_raw_lContainer) {\n        this._raw_lContainer = _raw_lContainer;\n    }\n    /**\n     * @return {?}\n     */\n    get activeIndex() { return this._raw_lContainer[ACTIVE_INDEX]; }\n    /**\n     * @return {?}\n     */\n    get views() {\n        return this._raw_lContainer.slice(CONTAINER_HEADER_OFFSET)\n            .map((/** @type {?} */ (toDebug)));\n    }\n    /**\n     * @return {?}\n     */\n    get parent() { return toDebug(this._raw_lContainer[PARENT]); }\n    /**\n     * @return {?}\n     */\n    get movedViews() { return this._raw_lContainer[MOVED_VIEWS]; }\n    /**\n     * @return {?}\n     */\n    get host() { return this._raw_lContainer[HOST]; }\n    /**\n     * @return {?}\n     */\n    get native() { return this._raw_lContainer[NATIVE]; }\n    /**\n     * @return {?}\n     */\n    get __other__() {\n        return {\n            next: toDebug(this._raw_lContainer[NEXT]),\n        };\n    }\n}\nif (false) {}\n/**\n * Return an `LView` value if found.\n *\n * @param {?} value `LView` if any\n * @return {?}\n */\nfunction readLViewValue(value) {\n    while (Array.isArray(value)) {\n        // This check is not quite right, as it does not take into account `StylingContext`\n        // This is why it is in debug, not in util.ts\n        if (value.length >= HEADER_OFFSET - 1)\n            return (/** @type {?} */ (value));\n        value = value[HOST];\n    }\n    return null;\n}\nclass I18NDebugItem {\n    /**\n     * @param {?} __raw_opCode\n     * @param {?} _lView\n     * @param {?} nodeIndex\n     * @param {?} type\n     */\n    constructor(__raw_opCode, _lView, nodeIndex, type) {\n        this.__raw_opCode = __raw_opCode;\n        this._lView = _lView;\n        this.nodeIndex = nodeIndex;\n        this.type = type;\n    }\n    /**\n     * @return {?}\n     */\n    get tNode() { return getTNode(this.nodeIndex, this._lView); }\n}\nif (false) {}\n/**\n * Turns a list of \"Create\" & \"Update\" OpCodes into a human-readable list of operations for\n * debugging purposes.\n * @param {?} mutateOpCodes mutation opCodes to read\n * @param {?} updateOpCodes update opCodes to read\n * @param {?} icus list of ICU expressions\n * @param {?} lView The view the opCodes are acting on\n * @return {?}\n */\nfunction attachI18nOpCodesDebug(mutateOpCodes, updateOpCodes, icus, lView) {\n    attachDebugObject(mutateOpCodes, new I18nMutateOpCodesDebug(mutateOpCodes, lView));\n    attachDebugObject(updateOpCodes, new I18nUpdateOpCodesDebug(updateOpCodes, icus, lView));\n    if (icus) {\n        icus.forEach((/**\n         * @param {?} icu\n         * @return {?}\n         */\n        icu => {\n            icu.create.forEach((/**\n             * @param {?} icuCase\n             * @return {?}\n             */\n            icuCase => { attachDebugObject(icuCase, new I18nMutateOpCodesDebug(icuCase, lView)); }));\n            icu.update.forEach((/**\n             * @param {?} icuCase\n             * @return {?}\n             */\n            icuCase => {\n                attachDebugObject(icuCase, new I18nUpdateOpCodesDebug(icuCase, icus, lView));\n            }));\n        }));\n    }\n}\nclass I18nMutateOpCodesDebug {\n    /**\n     * @param {?} __raw_opCodes\n     * @param {?} __lView\n     */\n    constructor(__raw_opCodes, __lView) {\n        this.__raw_opCodes = __raw_opCodes;\n        this.__lView = __lView;\n    }\n    /**\n     * A list of operation information about how the OpCodes will act on the view.\n     * @return {?}\n     */\n    get operations() {\n        const { __lView, __raw_opCodes } = this;\n        /** @type {?} */\n        const results = [];\n        for (let i = 0; i < __raw_opCodes.length; i++) {\n            /** @type {?} */\n            const opCode = __raw_opCodes[i];\n            /** @type {?} */\n            let result;\n            if (typeof opCode === 'string') {\n                result = {\n                    __raw_opCode: opCode,\n                    type: 'Create Text Node',\n                    nodeIndex: __raw_opCodes[++i],\n                    text: opCode,\n                };\n            }\n            if (typeof opCode === 'number') {\n                switch (opCode & 7 /* MASK_OPCODE */) {\n                    case 1 /* AppendChild */:\n                        /** @type {?} */\n                        const destinationNodeIndex = opCode >>> 17 /* SHIFT_PARENT */;\n                        result = new I18NDebugItem(opCode, __lView, destinationNodeIndex, 'AppendChild');\n                        break;\n                    case 0 /* Select */:\n                        /** @type {?} */\n                        const nodeIndex = opCode >>> 3 /* SHIFT_REF */;\n                        result = new I18NDebugItem(opCode, __lView, nodeIndex, 'Select');\n                        break;\n                    case 5 /* ElementEnd */:\n                        /** @type {?} */\n                        let elementIndex = opCode >>> 3 /* SHIFT_REF */;\n                        result = new I18NDebugItem(opCode, __lView, elementIndex, 'ElementEnd');\n                        break;\n                    case 4 /* Attr */:\n                        elementIndex = opCode >>> 3 /* SHIFT_REF */;\n                        result = new I18NDebugItem(opCode, __lView, elementIndex, 'Attr');\n                        result['attrName'] = __raw_opCodes[++i];\n                        result['attrValue'] = __raw_opCodes[++i];\n                        break;\n                }\n            }\n            if (!result) {\n                switch (opCode) {\n                    case COMMENT_MARKER:\n                        result = {\n                            __raw_opCode: opCode,\n                            type: 'COMMENT_MARKER',\n                            commentValue: __raw_opCodes[++i],\n                            nodeIndex: __raw_opCodes[++i],\n                        };\n                        break;\n                    case ELEMENT_MARKER:\n                        result = {\n                            __raw_opCode: opCode,\n                            type: 'ELEMENT_MARKER',\n                        };\n                        break;\n                }\n            }\n            if (!result) {\n                result = {\n                    __raw_opCode: opCode,\n                    type: 'Unknown Op Code',\n                    code: opCode,\n                };\n            }\n            results.push(result);\n        }\n        return results;\n    }\n}\nif (false) {}\nclass I18nUpdateOpCodesDebug {\n    /**\n     * @param {?} __raw_opCodes\n     * @param {?} icus\n     * @param {?} __lView\n     */\n    constructor(__raw_opCodes, icus, __lView) {\n        this.__raw_opCodes = __raw_opCodes;\n        this.icus = icus;\n        this.__lView = __lView;\n    }\n    /**\n     * A list of operation information about how the OpCodes will act on the view.\n     * @return {?}\n     */\n    get operations() {\n        const { __lView, __raw_opCodes, icus } = this;\n        /** @type {?} */\n        const results = [];\n        for (let i = 0; i < __raw_opCodes.length; i++) {\n            // bit code to check if we should apply the next update\n            /** @type {?} */\n            const checkBit = (/** @type {?} */ (__raw_opCodes[i]));\n            // Number of opCodes to skip until next set of update codes\n            /** @type {?} */\n            const skipCodes = (/** @type {?} */ (__raw_opCodes[++i]));\n            /** @type {?} */\n            let value = '';\n            for (let j = i + 1; j <= (i + skipCodes); j++) {\n                /** @type {?} */\n                const opCode = __raw_opCodes[j];\n                if (typeof opCode === 'string') {\n                    value += opCode;\n                }\n                else if (typeof opCode == 'number') {\n                    if (opCode < 0) {\n                        // It's a binding index whose value is negative\n                        // We cannot know the value of the binding so we only show the index\n                        value += `�${-opCode - 1}�`;\n                    }\n                    else {\n                        /** @type {?} */\n                        const nodeIndex = opCode >>> 2 /* SHIFT_REF */;\n                        /** @type {?} */\n                        let tIcuIndex;\n                        /** @type {?} */\n                        let tIcu;\n                        switch (opCode & 3 /* MASK_OPCODE */) {\n                            case 1 /* Attr */:\n                                /** @type {?} */\n                                const attrName = (/** @type {?} */ (__raw_opCodes[++j]));\n                                /** @type {?} */\n                                const sanitizeFn = __raw_opCodes[++j];\n                                results.push({\n                                    __raw_opCode: opCode,\n                                    checkBit,\n                                    type: 'Attr',\n                                    attrValue: value, attrName, sanitizeFn,\n                                });\n                                break;\n                            case 0 /* Text */:\n                                results.push({\n                                    __raw_opCode: opCode,\n                                    checkBit,\n                                    type: 'Text', nodeIndex,\n                                    text: value,\n                                });\n                                break;\n                            case 2 /* IcuSwitch */:\n                                tIcuIndex = (/** @type {?} */ (__raw_opCodes[++j]));\n                                tIcu = (/** @type {?} */ (icus))[tIcuIndex];\n                                /** @type {?} */\n                                let result = new I18NDebugItem(opCode, __lView, nodeIndex, 'IcuSwitch');\n                                result['tIcuIndex'] = tIcuIndex;\n                                result['checkBit'] = checkBit;\n                                result['mainBinding'] = value;\n                                result['tIcu'] = tIcu;\n                                results.push(result);\n                                break;\n                            case 3 /* IcuUpdate */:\n                                tIcuIndex = (/** @type {?} */ (__raw_opCodes[++j]));\n                                tIcu = (/** @type {?} */ (icus))[tIcuIndex];\n                                result = new I18NDebugItem(opCode, __lView, nodeIndex, 'IcuUpdate');\n                                result['tIcuIndex'] = tIcuIndex;\n                                result['checkBit'] = checkBit;\n                                result['tIcu'] = tIcu;\n                                results.push(result);\n                                break;\n                        }\n                    }\n                }\n            }\n            i += skipCodes;\n        }\n        return results;\n    }\n}\nif (false) {}\n/**\n * @record\n */\nfunction I18nOpCodesDebug() { }\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Selects an element for later binding instructions.\n *\n * Used in conjunction with instructions like {\\@link property} to act on elements with specified\n * indices, for example those created with {\\@link element} or {\\@link elementStart}.\n *\n * ```ts\n * (rf: RenderFlags, ctx: any) => {\n *   if (rf & 1) {\n *     element(0, 'div');\n *   }\n *   if (rf & 2) {\n *     select(0); // Select the <div/> created above.\n *     property('title', 'test');\n *   }\n *  }\n * ```\n * \\@codeGenApi\n * @param {?} index the index of the item to act on with the following instructions\n *\n * @return {?}\n */\nfunction ɵɵselect(index) {\n    ngDevMode && assertGreaterThan(index, -1, 'Invalid index');\n    ngDevMode &&\n        assertLessThan(index, getLView().length - HEADER_OFFSET, 'Should be within range for the view data');\n    /** @type {?} */\n    const lView = getLView();\n    selectInternal(lView, index);\n}\n/**\n * @param {?} lView\n * @param {?} index\n * @return {?}\n */\nfunction selectInternal(lView, index) {\n    // Flush the initial hooks for elements in the view that have been added up to this point.\n    executePreOrderHooks(lView, lView[TVIEW], getCheckNoChangesMode(), index);\n    // We must set the selected index *after* running the hooks, because hooks may have side-effects\n    // that cause other template functions to run, thus updating the selected index, which is global\n    // state. If we run `setSelectedIndex` *before* we run the hooks, in some cases the selected index\n    // will be altered by the time we leave the `ɵɵselect` instruction.\n    setSelectedIndex(index);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nconst ɵ0$5 = /**\n * @return {?}\n */\n() => Promise.resolve(null);\n/**\n * A permanent marker promise which signifies that the current CD tree is\n * clean.\n * @type {?}\n */\nconst _CLEAN_PROMISE = ((ɵ0$5))();\n/** @enum {number} */\nconst BindingDirection = {\n    Input: 0,\n    Output: 1,\n};\n/**\n * Refreshes the view, executing the following steps in that order:\n * triggers init hooks, refreshes dynamic embedded views, triggers content hooks, sets host\n * bindings, refreshes child components.\n * Note: view hooks are triggered later when leaving the view.\n * @param {?} lView\n * @return {?}\n */\nfunction refreshDescendantViews(lView) {\n    /** @type {?} */\n    const tView = lView[TVIEW];\n    /** @type {?} */\n    const creationMode = isCreationMode(lView);\n    // This needs to be set before children are processed to support recursive components\n    tView.firstTemplatePass = false;\n    // Resetting the bindingIndex of the current LView as the next steps may trigger change detection.\n    lView[BINDING_INDEX] = tView.bindingStartIndex;\n    // If this is a creation pass, we should not call lifecycle hooks or evaluate bindings.\n    // This will be done in the update pass.\n    if (!creationMode) {\n        /** @type {?} */\n        const checkNoChangesMode = getCheckNoChangesMode();\n        executePreOrderHooks(lView, tView, checkNoChangesMode, undefined);\n        refreshDynamicEmbeddedViews(lView);\n        // Content query results must be refreshed before content hooks are called.\n        refreshContentQueries(tView, lView);\n        resetPreOrderHookFlags(lView);\n        executeHooks(lView, tView.contentHooks, tView.contentCheckHooks, checkNoChangesMode, 1 /* AfterContentInitHooksToBeRun */, undefined);\n        setHostBindings(tView, lView);\n    }\n    // We resolve content queries specifically marked as `static` in creation mode. Dynamic\n    // content queries are resolved during change detection (i.e. update mode), after embedded\n    // views are refreshed (see block above).\n    if (creationMode && tView.staticContentQueries) {\n        refreshContentQueries(tView, lView);\n    }\n    // We must materialize query results before child components are processed\n    // in case a child component has projected a container. The LContainer needs\n    // to exist so the embedded views are properly attached by the container.\n    if (!creationMode || tView.staticViewQueries) {\n        executeViewQueryFn(2 /* Update */, tView, lView[CONTEXT]);\n    }\n    refreshChildComponents(lView, tView.components);\n}\n/**\n * Sets the host bindings for the current view.\n * @param {?} tView\n * @param {?} viewData\n * @return {?}\n */\nfunction setHostBindings(tView, viewData) {\n    /** @type {?} */\n    const selectedIndex = getSelectedIndex();\n    try {\n        if (tView.expandoInstructions) {\n            /** @type {?} */\n            let bindingRootIndex = viewData[BINDING_INDEX] = tView.expandoStartIndex;\n            setBindingRoot(bindingRootIndex);\n            /** @type {?} */\n            let currentDirectiveIndex = -1;\n            /** @type {?} */\n            let currentElementIndex = -1;\n            for (let i = 0; i < tView.expandoInstructions.length; i++) {\n                /** @type {?} */\n                const instruction = tView.expandoInstructions[i];\n                if (typeof instruction === 'number') {\n                    if (instruction <= 0) {\n                        // Negative numbers mean that we are starting new EXPANDO block and need to update\n                        // the current element and directive index.\n                        currentElementIndex = -instruction;\n                        setActiveHostElement(currentElementIndex);\n                        // Injector block and providers are taken into account.\n                        /** @type {?} */\n                        const providerCount = ((/** @type {?} */ (tView.expandoInstructions[++i])));\n                        bindingRootIndex += INJECTOR_BLOOM_PARENT_SIZE + providerCount;\n                        currentDirectiveIndex = bindingRootIndex;\n                    }\n                    else {\n                        // This is either the injector size (so the binding root can skip over directives\n                        // and get to the first set of host bindings on this node) or the host var count\n                        // (to get to the next set of host bindings on this node).\n                        bindingRootIndex += instruction;\n                    }\n                    setBindingRoot(bindingRootIndex);\n                }\n                else {\n                    // If it's not a number, it's a host binding function that needs to be executed.\n                    if (instruction !== null) {\n                        viewData[BINDING_INDEX] = bindingRootIndex;\n                        /** @type {?} */\n                        const hostCtx = unwrapRNode(viewData[currentDirectiveIndex]);\n                        instruction(2 /* Update */, hostCtx, currentElementIndex);\n                        // Each directive gets a uniqueId value that is the same for both\n                        // create and update calls when the hostBindings function is called. The\n                        // directive uniqueId is not set anywhere--it is just incremented between\n                        // each hostBindings call and is useful for helping instruction code\n                        // uniquely determine which directive is currently active when executed.\n                        incrementActiveDirectiveId();\n                    }\n                    currentDirectiveIndex++;\n                }\n            }\n        }\n    }\n    finally {\n        setActiveHostElement(selectedIndex);\n    }\n}\n/**\n * Refreshes all content queries declared by directives in a given view\n * @param {?} tView\n * @param {?} lView\n * @return {?}\n */\nfunction refreshContentQueries(tView, lView) {\n    /** @type {?} */\n    const contentQueries = tView.contentQueries;\n    if (contentQueries !== null) {\n        for (let i = 0; i < contentQueries.length; i += 2) {\n            /** @type {?} */\n            const queryStartIdx = contentQueries[i];\n            /** @type {?} */\n            const directiveDefIdx = contentQueries[i + 1];\n            if (directiveDefIdx !== -1) {\n                /** @type {?} */\n                const directiveDef = (/** @type {?} */ (tView.data[directiveDefIdx]));\n                ngDevMode &&\n                    assertDefined(directiveDef.contentQueries, 'contentQueries function should be defined');\n                setCurrentQueryIndex(queryStartIdx);\n                (/** @type {?} */ (directiveDef.contentQueries))(2 /* Update */, lView[directiveDefIdx], directiveDefIdx);\n            }\n        }\n    }\n}\n/**\n * Refreshes child components in the current view.\n * @param {?} hostLView\n * @param {?} components\n * @return {?}\n */\nfunction refreshChildComponents(hostLView, components) {\n    if (components != null) {\n        for (let i = 0; i < components.length; i++) {\n            componentRefresh(hostLView, components[i]);\n        }\n    }\n}\n/**\n * Creates a native element from a tag name, using a renderer.\n * @param {?} name the tag name\n * @param {?=} overriddenRenderer Optional A renderer to override the default one\n * @return {?} the element created\n */\nfunction elementCreate(name, overriddenRenderer) {\n    /** @type {?} */\n    let native;\n    /** @type {?} */\n    const rendererToUse = overriddenRenderer || getLView()[RENDERER];\n    /** @type {?} */\n    const namespace = getNamespace();\n    if (isProceduralRenderer(rendererToUse)) {\n        native = rendererToUse.createElement(name, namespace);\n    }\n    else {\n        if (namespace === null) {\n            native = rendererToUse.createElement(name);\n        }\n        else {\n            native = rendererToUse.createElementNS(namespace, name);\n        }\n    }\n    return native;\n}\n/**\n * @template T\n * @param {?} parentLView\n * @param {?} tView\n * @param {?} context\n * @param {?} flags\n * @param {?} host\n * @param {?} tHostNode\n * @param {?=} rendererFactory\n * @param {?=} renderer\n * @param {?=} sanitizer\n * @param {?=} injector\n * @return {?}\n */\nfunction createLView(parentLView, tView, context, flags, host, tHostNode, rendererFactory, renderer, sanitizer, injector) {\n    /** @type {?} */\n    const lView = ngDevMode ? cloneToLView(tView.blueprint) : (/** @type {?} */ (tView.blueprint.slice()));\n    lView[HOST] = host;\n    lView[FLAGS] = flags | 4 /* CreationMode */ | 128 /* Attached */ | 8 /* FirstLViewPass */;\n    resetPreOrderHookFlags(lView);\n    lView[PARENT] = lView[DECLARATION_VIEW] = parentLView;\n    lView[CONTEXT] = context;\n    lView[RENDERER_FACTORY] = (/** @type {?} */ ((rendererFactory || parentLView && parentLView[RENDERER_FACTORY])));\n    ngDevMode && assertDefined(lView[RENDERER_FACTORY], 'RendererFactory is required');\n    lView[RENDERER] = (/** @type {?} */ ((renderer || parentLView && parentLView[RENDERER])));\n    ngDevMode && assertDefined(lView[RENDERER], 'Renderer is required');\n    lView[SANITIZER] = sanitizer || parentLView && parentLView[SANITIZER] || (/** @type {?} */ (null));\n    lView[(/** @type {?} */ (INJECTOR$1))] = injector || parentLView && parentLView[INJECTOR$1] || null;\n    lView[T_HOST] = tHostNode;\n    ngDevMode && attachLViewDebug(lView);\n    return lView;\n}\n/**\n * @param {?} tView\n * @param {?} tHostNode\n * @param {?} index\n * @param {?} type\n * @param {?} name\n * @param {?} attrs\n * @return {?}\n */\nfunction getOrCreateTNode(tView, tHostNode, index, type, name, attrs) {\n    // Keep this function short, so that the VM will inline it.\n    /** @type {?} */\n    const adjustedIndex = index + HEADER_OFFSET;\n    /** @type {?} */\n    const tNode = (/** @type {?} */ (tView.data[adjustedIndex])) ||\n        createTNodeAtIndex(tView, tHostNode, adjustedIndex, type, name, attrs, index);\n    setPreviousOrParentTNode(tNode, true);\n    return (/** @type {?} */ (tNode));\n}\n/**\n * @param {?} tView\n * @param {?} tHostNode\n * @param {?} adjustedIndex\n * @param {?} type\n * @param {?} name\n * @param {?} attrs\n * @param {?} index\n * @return {?}\n */\nfunction createTNodeAtIndex(tView, tHostNode, adjustedIndex, type, name, attrs, index) {\n    /** @type {?} */\n    const previousOrParentTNode = getPreviousOrParentTNode();\n    /** @type {?} */\n    const isParent = getIsParent();\n    /** @type {?} */\n    const parent = isParent ? previousOrParentTNode : previousOrParentTNode && previousOrParentTNode.parent;\n    // Parents cannot cross component boundaries because components will be used in multiple places,\n    // so it's only set if the view is the same.\n    /** @type {?} */\n    const parentInSameView = parent && parent !== tHostNode;\n    /** @type {?} */\n    const tParentNode = parentInSameView ? (/** @type {?} */ (parent)) : null;\n    /** @type {?} */\n    const tNode = tView.data[adjustedIndex] =\n        createTNode(tView, tParentNode, type, adjustedIndex, name, attrs);\n    // The first node is not always the one at index 0, in case of i18n, index 0 can be the\n    // instruction `i18nStart` and the first node has the index 1 or more\n    if (index === 0 || !tView.firstChild) {\n        tView.firstChild = tNode;\n    }\n    // Now link ourselves into the tree.\n    if (previousOrParentTNode) {\n        if (isParent && previousOrParentTNode.child == null &&\n            (tNode.parent !== null || previousOrParentTNode.type === 2 /* View */)) {\n            // We are in the same view, which means we are adding content node to the parent view.\n            previousOrParentTNode.child = tNode;\n        }\n        else if (!isParent) {\n            previousOrParentTNode.next = tNode;\n        }\n    }\n    return tNode;\n}\n/**\n * @param {?} tView\n * @param {?} tParentNode\n * @param {?} index\n * @param {?} lView\n * @return {?}\n */\nfunction assignTViewNodeToLView(tView, tParentNode, index, lView) {\n    // View nodes are not stored in data because they can be added / removed at runtime (which\n    // would cause indices to change). Their TNodes are instead stored in tView.node.\n    /** @type {?} */\n    let tNode = tView.node;\n    if (tNode == null) {\n        ngDevMode && tParentNode &&\n            assertNodeOfPossibleTypes(tParentNode, 3 /* Element */, 0 /* Container */);\n        tView.node = tNode = (/** @type {?} */ (createTNode(tView, (/** @type {?} */ (tParentNode)), //\n        2 /* View */, index, null, null)));\n    }\n    return lView[T_HOST] = (/** @type {?} */ (tNode));\n}\n/**\n * When elements are created dynamically after a view blueprint is created (e.g. through\n * i18nApply() or ComponentFactory.create), we need to adjust the blueprint for future\n * template passes.\n *\n * @param {?} view The LView containing the blueprint to adjust\n * @param {?} numSlotsToAlloc The number of slots to alloc in the LView, should be >0\n * @return {?}\n */\nfunction allocExpando(view, numSlotsToAlloc) {\n    ngDevMode && assertGreaterThan(numSlotsToAlloc, 0, 'The number of slots to alloc should be greater than 0');\n    if (numSlotsToAlloc > 0) {\n        /** @type {?} */\n        const tView = view[TVIEW];\n        if (tView.firstTemplatePass) {\n            for (let i = 0; i < numSlotsToAlloc; i++) {\n                tView.blueprint.push(null);\n                tView.data.push(null);\n                view.push(null);\n            }\n            // We should only increment the expando start index if there aren't already directives\n            // and injectors saved in the \"expando\" section\n            if (!tView.expandoInstructions) {\n                tView.expandoStartIndex += numSlotsToAlloc;\n            }\n            else {\n                // Since we're adding the dynamic nodes into the expando section, we need to let the host\n                // bindings know that they should skip x slots\n                tView.expandoInstructions.push(numSlotsToAlloc);\n            }\n        }\n    }\n}\n//////////////////////////\n//// Render\n//////////////////////////\n/**\n * Used for creating the LViewNode of a dynamic embedded view,\n * either through ViewContainerRef.createEmbeddedView() or TemplateRef.createEmbeddedView().\n * Such lViewNode will then be renderer with renderEmbeddedTemplate() (see below).\n * @template T\n * @param {?} tView\n * @param {?} context\n * @param {?} declarationView\n * @param {?} injectorIndex\n * @return {?}\n */\nfunction createEmbeddedViewAndNode(tView, context, declarationView, injectorIndex) {\n    /** @type {?} */\n    const _isParent = getIsParent();\n    /** @type {?} */\n    const _previousOrParentTNode = getPreviousOrParentTNode();\n    setPreviousOrParentTNode((/** @type {?} */ (null)), true);\n    /** @type {?} */\n    const lView = createLView(declarationView, tView, context, 16 /* CheckAlways */, null, null);\n    lView[DECLARATION_VIEW] = declarationView;\n    assignTViewNodeToLView(tView, null, -1, lView);\n    if (tView.firstTemplatePass) {\n        (/** @type {?} */ (tView.node)).injectorIndex = injectorIndex;\n    }\n    setPreviousOrParentTNode(_previousOrParentTNode, _isParent);\n    return lView;\n}\n/**\n * Used for rendering embedded views (e.g. dynamically created views)\n *\n * Dynamically created views must store/retrieve their TViews differently from component views\n * because their template functions are nested in the template functions of their hosts, creating\n * closures. If their host template happens to be an embedded template in a loop (e.g. ngFor\n * inside\n * an ngFor), the nesting would mean we'd have multiple instances of the template function, so we\n * can't store TViews in the template function itself (as we do for comps). Instead, we store the\n * TView for dynamically created views on their host TNode, which only has one instance.\n * @template T\n * @param {?} viewToRender\n * @param {?} tView\n * @param {?} context\n * @return {?}\n */\nfunction renderEmbeddedTemplate(viewToRender, tView, context) {\n    /** @type {?} */\n    const _isParent = getIsParent();\n    /** @type {?} */\n    const _previousOrParentTNode = getPreviousOrParentTNode();\n    /** @type {?} */\n    let oldView;\n    if (viewToRender[FLAGS] & 512 /* IsRoot */) {\n        // This is a root view inside the view tree\n        tickRootContext(getRootContext(viewToRender));\n    }\n    else {\n        // Will become true if the `try` block executes with no errors.\n        /** @type {?} */\n        let safeToRunHooks = false;\n        try {\n            setPreviousOrParentTNode((/** @type {?} */ (null)), true);\n            oldView = enterView(viewToRender, viewToRender[T_HOST]);\n            resetPreOrderHookFlags(viewToRender);\n            executeTemplate(viewToRender, (/** @type {?} */ (tView.template)), getRenderFlags(viewToRender), context);\n            // This must be set to false immediately after the first creation run because in an\n            // ngFor loop, all the views will be created together before update mode runs and turns\n            // off firstTemplatePass. If we don't set it here, instances will perform directive\n            // matching, etc again and again.\n            tView.firstTemplatePass = false;\n            refreshDescendantViews(viewToRender);\n            safeToRunHooks = true;\n        }\n        finally {\n            leaveView((/** @type {?} */ (oldView)), safeToRunHooks);\n            setPreviousOrParentTNode(_previousOrParentTNode, _isParent);\n        }\n    }\n}\n/**\n * @template T\n * @param {?} hostView\n * @param {?} context\n * @param {?=} templateFn\n * @return {?}\n */\nfunction renderComponentOrTemplate(hostView, context, templateFn) {\n    /** @type {?} */\n    const rendererFactory = hostView[RENDERER_FACTORY];\n    /** @type {?} */\n    const oldView = enterView(hostView, hostView[T_HOST]);\n    /** @type {?} */\n    const normalExecutionPath = !getCheckNoChangesMode();\n    /** @type {?} */\n    const creationModeIsActive = isCreationMode(hostView);\n    // Will become true if the `try` block executes with no errors.\n    /** @type {?} */\n    let safeToRunHooks = false;\n    try {\n        if (normalExecutionPath && !creationModeIsActive && rendererFactory.begin) {\n            rendererFactory.begin();\n        }\n        if (creationModeIsActive) {\n            // creation mode pass\n            templateFn && executeTemplate(hostView, templateFn, 1 /* Create */, context);\n            refreshDescendantViews(hostView);\n            hostView[FLAGS] &= ~4 /* CreationMode */;\n        }\n        // update mode pass\n        resetPreOrderHookFlags(hostView);\n        templateFn && executeTemplate(hostView, templateFn, 2 /* Update */, context);\n        refreshDescendantViews(hostView);\n        safeToRunHooks = true;\n    }\n    finally {\n        if (normalExecutionPath && !creationModeIsActive && rendererFactory.end) {\n            rendererFactory.end();\n        }\n        leaveView(oldView, safeToRunHooks);\n    }\n}\n/**\n * @template T\n * @param {?} lView\n * @param {?} templateFn\n * @param {?} rf\n * @param {?} context\n * @return {?}\n */\nfunction executeTemplate(lView, templateFn, rf, context) {\n    namespaceHTMLInternal();\n    /** @type {?} */\n    const prevSelectedIndex = getSelectedIndex();\n    try {\n        setActiveHostElement(null);\n        if (rf & 2 /* Update */) {\n            // When we're updating, have an inherent ɵɵselect(0) so we don't have to generate that\n            // instruction for most update blocks\n            selectInternal(lView, 0);\n        }\n        templateFn(rf, context);\n    }\n    finally {\n        setSelectedIndex(prevSelectedIndex);\n    }\n}\n/**\n * This function returns the default configuration of rendering flags depending on when the\n * template is in creation mode or update mode. Update block and create block are\n * always run separately.\n * @param {?} view\n * @return {?}\n */\nfunction getRenderFlags(view) {\n    return isCreationMode(view) ? 1 /* Create */ : 2 /* Update */;\n}\n//////////////////////////\n//// Element\n//////////////////////////\n/**\n * @param {?} tView\n * @param {?} tNode\n * @param {?} lView\n * @return {?}\n */\nfunction executeContentQueries(tView, tNode, lView) {\n    if (isContentQueryHost(tNode)) {\n        /** @type {?} */\n        const start = tNode.directiveStart;\n        /** @type {?} */\n        const end = tNode.directiveEnd;\n        for (let directiveIndex = start; directiveIndex < end; directiveIndex++) {\n            /** @type {?} */\n            const def = (/** @type {?} */ (tView.data[directiveIndex]));\n            if (def.contentQueries) {\n                def.contentQueries(1 /* Create */, lView[directiveIndex], directiveIndex);\n            }\n        }\n    }\n}\n/**\n * Creates directive instances and populates local refs.\n *\n * @param {?} tView\n * @param {?} lView\n * @param {?} tNode\n * @param {?=} localRefExtractor mapping function that extracts local ref value from TNode\n * @return {?}\n */\nfunction createDirectivesAndLocals(tView, lView, tNode, localRefExtractor = getNativeByTNode) {\n    if (!getBindingsEnabled())\n        return;\n    instantiateAllDirectives(tView, lView, tNode);\n    invokeDirectivesHostBindings(tView, lView, tNode);\n    saveResolvedLocalsInData(lView, tNode, localRefExtractor);\n    setActiveHostElement(null);\n}\n/**\n * Takes a list of local names and indices and pushes the resolved local variable values\n * to LView in the same order as they are loaded in the template with load().\n * @param {?} viewData\n * @param {?} tNode\n * @param {?} localRefExtractor\n * @return {?}\n */\nfunction saveResolvedLocalsInData(viewData, tNode, localRefExtractor) {\n    /** @type {?} */\n    const localNames = tNode.localNames;\n    if (localNames) {\n        /** @type {?} */\n        let localIndex = tNode.index + 1;\n        for (let i = 0; i < localNames.length; i += 2) {\n            /** @type {?} */\n            const index = (/** @type {?} */ (localNames[i + 1]));\n            /** @type {?} */\n            const value = index === -1 ?\n                localRefExtractor((/** @type {?} */ (tNode)), viewData) :\n                viewData[index];\n            viewData[localIndex++] = value;\n        }\n    }\n}\n/**\n * Gets TView from a template function or creates a new TView\n * if it doesn't already exist.\n *\n * @param {?} def ComponentDef\n * @return {?} TView\n */\nfunction getOrCreateTView(def) {\n    return def.tView || (def.tView = createTView(-1, def.template, def.consts, def.vars, def.directiveDefs, def.pipeDefs, def.viewQuery, def.schemas));\n}\n/**\n * Creates a TView instance\n *\n * @param {?} viewIndex The viewBlockId for inline views, or -1 if it's a component/dynamic\n * @param {?} templateFn Template function\n * @param {?} consts The number of nodes, local refs, and pipes in this template\n * @param {?} vars\n * @param {?} directives Registry of directives for this view\n * @param {?} pipes Registry of pipes for this view\n * @param {?} viewQuery View queries for this view\n * @param {?} schemas Schemas for this view\n * @return {?}\n */\nfunction createTView(viewIndex, templateFn, consts, vars, directives, pipes, viewQuery, schemas) {\n    ngDevMode && ngDevMode.tView++;\n    /** @type {?} */\n    const bindingStartIndex = HEADER_OFFSET + consts;\n    // This length does not yet contain host bindings from child directives because at this point,\n    // we don't know which directives are active on this template. As soon as a directive is matched\n    // that has a host binding, we will update the blueprint with that def's hostVars count.\n    /** @type {?} */\n    const initialViewLength = bindingStartIndex + vars;\n    /** @type {?} */\n    const blueprint = createViewBlueprint(bindingStartIndex, initialViewLength);\n    return blueprint[(/** @type {?} */ (TVIEW))] = ngDevMode ?\n        new TViewConstructor(viewIndex, // id: number,\n        blueprint, // blueprint: LView,\n        templateFn, // template: ComponentTemplate<{}>|null,\n        null, // queries: TQueries|null\n        viewQuery, (/** @type {?} */ (null)), // node: TViewNode|TElementNode|null,\n        cloneToTViewData(blueprint).fill(null, bindingStartIndex), // data: TData,\n        bindingStartIndex, // bindingStartIndex: number,\n        initialViewLength, // expandoStartIndex: number,\n        null, // expandoInstructions: ExpandoInstructions|null,\n        true, // firstTemplatePass: boolean,\n        false, // staticViewQueries: boolean,\n        false, // staticContentQueries: boolean,\n        null, // preOrderHooks: HookData|null,\n        null, // preOrderCheckHooks: HookData|null,\n        null, // contentHooks: HookData|null,\n        null, // contentCheckHooks: HookData|null,\n        null, // viewHooks: HookData|null,\n        null, // viewCheckHooks: HookData|null,\n        null, // destroyHooks: HookData|null,\n        null, // cleanup: any[]|null,\n        null, // contentQueries: number[]|null,\n        null, // components: number[]|null,\n        typeof directives === 'function' ?\n            directives() :\n            directives, // directiveRegistry: DirectiveDefList|null,\n        typeof pipes === 'function' ? pipes() : pipes, // pipeRegistry: PipeDefList|null,\n        null, // firstChild: TNode|null,\n        schemas) :\n        {\n            id: viewIndex,\n            blueprint: blueprint,\n            template: templateFn,\n            queries: null,\n            viewQuery: viewQuery,\n            node: (/** @type {?} */ (null)),\n            data: blueprint.slice().fill(null, bindingStartIndex),\n            bindingStartIndex: bindingStartIndex,\n            expandoStartIndex: initialViewLength,\n            expandoInstructions: null,\n            firstTemplatePass: true,\n            staticViewQueries: false,\n            staticContentQueries: false,\n            preOrderHooks: null,\n            preOrderCheckHooks: null,\n            contentHooks: null,\n            contentCheckHooks: null,\n            viewHooks: null,\n            viewCheckHooks: null,\n            destroyHooks: null,\n            cleanup: null,\n            contentQueries: null,\n            components: null,\n            directiveRegistry: typeof directives === 'function' ? directives() : directives,\n            pipeRegistry: typeof pipes === 'function' ? pipes() : pipes,\n            firstChild: null,\n            schemas: schemas,\n        };\n}\n/**\n * @param {?} bindingStartIndex\n * @param {?} initialViewLength\n * @return {?}\n */\nfunction createViewBlueprint(bindingStartIndex, initialViewLength) {\n    /** @type {?} */\n    const blueprint = (/** @type {?} */ (new (ngDevMode ? (/** @type {?} */ (LViewBlueprint)) : Array)(initialViewLength)\n        .fill(null, 0, bindingStartIndex)\n        .fill(NO_CHANGE, bindingStartIndex)));\n    blueprint[BINDING_INDEX] = bindingStartIndex;\n    return blueprint;\n}\n/**\n * @param {?} text\n * @param {?} token\n * @return {?}\n */\nfunction createError(text, token) {\n    return new Error(`Renderer: ${text} [${stringifyForError(token)}]`);\n}\n/**\n * Locates the host native element, used for bootstrapping existing nodes into rendering pipeline.\n *\n * @param {?} factory\n * @param {?} elementOrSelector Render element or CSS selector to locate the element.\n * @return {?}\n */\nfunction locateHostElement(factory, elementOrSelector) {\n    /** @type {?} */\n    const defaultRenderer = factory.createRenderer(null, null);\n    /** @type {?} */\n    const rNode = typeof elementOrSelector === 'string' ?\n        (isProceduralRenderer(defaultRenderer) ?\n            defaultRenderer.selectRootElement(elementOrSelector) :\n            defaultRenderer.querySelector(elementOrSelector)) :\n        elementOrSelector;\n    if (ngDevMode && !rNode) {\n        if (typeof elementOrSelector === 'string') {\n            throw createError('Host node with selector not found:', elementOrSelector);\n        }\n        else {\n            throw createError('Host node is required:', elementOrSelector);\n        }\n    }\n    return rNode;\n}\n/**\n * Saves context for this cleanup function in LView.cleanupInstances.\n *\n * On the first template pass, saves in TView:\n * - Cleanup function\n * - Index of context we just saved in LView.cleanupInstances\n * @param {?} lView\n * @param {?} context\n * @param {?} cleanupFn\n * @return {?}\n */\nfunction storeCleanupWithContext(lView, context, cleanupFn) {\n    /** @type {?} */\n    const lCleanup = getCleanup(lView);\n    lCleanup.push(context);\n    if (lView[TVIEW].firstTemplatePass) {\n        getTViewCleanup(lView).push(cleanupFn, lCleanup.length - 1);\n    }\n}\n/**\n * Saves the cleanup function itself in LView.cleanupInstances.\n *\n * This is necessary for functions that are wrapped with their contexts, like in renderer2\n * listeners.\n *\n * On the first template pass, the index of the cleanup function is saved in TView.\n * @param {?} view\n * @param {?} cleanupFn\n * @return {?}\n */\nfunction storeCleanupFn(view, cleanupFn) {\n    getCleanup(view).push(cleanupFn);\n    if (view[TVIEW].firstTemplatePass) {\n        getTViewCleanup(view).push((/** @type {?} */ (view[CLEANUP])).length - 1, null);\n    }\n}\n/**\n * Constructs a TNode object from the arguments.\n *\n * @param {?} tView `TView` to which this `TNode` belongs (used only in `ngDevMode`)\n * @param {?} tParent\n * @param {?} type The type of the node\n * @param {?} adjustedIndex The index of the TNode in TView.data, adjusted for HEADER_OFFSET\n * @param {?} tagName The tag name of the node\n * @param {?} attrs The attributes defined on this node\n * @return {?} the TNode object\n */\nfunction createTNode(tView, tParent, type, adjustedIndex, tagName, attrs) {\n    ngDevMode && ngDevMode.tNode++;\n    /** @type {?} */\n    let injectorIndex = tParent ? tParent.injectorIndex : -1;\n    return ngDevMode ? new TNodeConstructor(tView, // tView_: TView\n    type, // type: TNodeType\n    adjustedIndex, // index: number\n    injectorIndex, // injectorIndex: number\n    -1, // directiveStart: number\n    -1, // directiveEnd: number\n    -1, // propertyMetadataStartIndex: number\n    -1, // propertyMetadataEndIndex: number\n    0, // flags: TNodeFlags\n    0, // providerIndexes: TNodeProviderIndexes\n    tagName, // tagName: string|null\n    attrs, // attrs: (string|AttributeMarker|(string|SelectorFlags)[])[]|null\n    null, // localNames: (string|number)[]|null\n    undefined, // initialInputs: (string[]|null)[]|null|undefined\n    undefined, // inputs: PropertyAliases|null|undefined\n    undefined, // outputs: PropertyAliases|null|undefined\n    null, // tViews: ITView|ITView[]|null\n    null, // next: ITNode|null\n    null, // projectionNext: ITNode|null\n    null, // child: ITNode|null\n    tParent, // parent: TElementNode|TContainerNode|null\n    null, // projection: number|(ITNode|RNode[])[]|null\n    null, // styles: TStylingContext|null\n    null) :\n        {\n            type: type,\n            index: adjustedIndex,\n            injectorIndex: injectorIndex,\n            directiveStart: -1,\n            directiveEnd: -1,\n            propertyMetadataStartIndex: -1,\n            propertyMetadataEndIndex: -1,\n            flags: 0,\n            providerIndexes: 0,\n            tagName: tagName,\n            attrs: attrs,\n            localNames: null,\n            initialInputs: undefined,\n            inputs: undefined,\n            outputs: undefined,\n            tViews: null,\n            next: null,\n            projectionNext: null,\n            child: null,\n            parent: tParent,\n            projection: null,\n            styles: null,\n            classes: null,\n        };\n}\n/**\n * Consolidates all inputs or outputs of all directives on this logical node.\n *\n * @param {?} tNode\n * @param {?} direction whether to consider inputs or outputs\n * @return {?} PropertyAliases|null aggregate of all properties if any, `null` otherwise\n */\nfunction generatePropertyAliases(tNode, direction) {\n    /** @type {?} */\n    const tView = getLView()[TVIEW];\n    /** @type {?} */\n    let propStore = null;\n    /** @type {?} */\n    const start = tNode.directiveStart;\n    /** @type {?} */\n    const end = tNode.directiveEnd;\n    if (end > start) {\n        /** @type {?} */\n        const isInput = direction === 0 /* Input */;\n        /** @type {?} */\n        const defs = tView.data;\n        for (let i = start; i < end; i++) {\n            /** @type {?} */\n            const directiveDef = (/** @type {?} */ (defs[i]));\n            /** @type {?} */\n            const propertyAliasMap = isInput ? directiveDef.inputs : directiveDef.outputs;\n            for (let publicName in propertyAliasMap) {\n                if (propertyAliasMap.hasOwnProperty(publicName)) {\n                    propStore = propStore || {};\n                    /** @type {?} */\n                    const internalName = propertyAliasMap[publicName];\n                    /** @type {?} */\n                    const hasProperty = propStore.hasOwnProperty(publicName);\n                    hasProperty ? propStore[publicName].push(i, publicName, internalName) :\n                        (propStore[publicName] = [i, publicName, internalName]);\n                }\n            }\n        }\n    }\n    return propStore;\n}\n/**\n * Mapping between attributes names that don't correspond to their element property names.\n * Note: this mapping has to be kept in sync with the equally named mapping in the template\n * type-checking machinery of ngtsc.\n * @type {?}\n */\nconst ATTR_TO_PROP = {\n    'class': 'className',\n    'for': 'htmlFor',\n    'formaction': 'formAction',\n    'innerHtml': 'innerHTML',\n    'readonly': 'readOnly',\n    'tabindex': 'tabIndex',\n};\n/**\n * @template T\n * @param {?} index\n * @param {?} propName\n * @param {?} value\n * @param {?=} sanitizer\n * @param {?=} nativeOnly\n * @param {?=} loadRendererFn\n * @return {?}\n */\nfunction elementPropertyInternal(index, propName, value, sanitizer, nativeOnly, loadRendererFn) {\n    ngDevMode && assertNotSame(value, (/** @type {?} */ (NO_CHANGE)), 'Incoming value should never be NO_CHANGE.');\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const element = (/** @type {?} */ (getNativeByIndex(index, lView)));\n    /** @type {?} */\n    const tNode = getTNode(index, lView);\n    /** @type {?} */\n    let inputData;\n    /** @type {?} */\n    let dataValue;\n    if (!nativeOnly && (inputData = initializeTNodeInputs(tNode)) &&\n        (dataValue = inputData[propName])) {\n        setInputsForProperty(lView, dataValue, value);\n        if (isComponent(tNode))\n            markDirtyIfOnPush(lView, index + HEADER_OFFSET);\n        if (ngDevMode) {\n            if (tNode.type === 3 /* Element */ || tNode.type === 0 /* Container */) {\n                /**\n                 * dataValue is an array containing runtime input or output names for the directives:\n                 * i+0: directive instance index\n                 * i+1: publicName\n                 * i+2: privateName\n                 *\n                 * e.g. [0, 'change', 'change-minified']\n                 * we want to set the reflected property with the privateName: dataValue[i+2]\n                 */\n                for (let i = 0; i < dataValue.length; i += 3) {\n                    setNgReflectProperty(lView, element, tNode.type, (/** @type {?} */ (dataValue[i + 2])), value);\n                }\n            }\n        }\n    }\n    else if (tNode.type === 3 /* Element */) {\n        propName = ATTR_TO_PROP[propName] || propName;\n        if (ngDevMode) {\n            validateAgainstEventProperties(propName);\n            validateAgainstUnknownProperties(lView, element, propName, tNode);\n            ngDevMode.rendererSetProperty++;\n        }\n        savePropertyDebugData(tNode, lView, propName, lView[TVIEW].data, nativeOnly);\n        /** @type {?} */\n        const renderer = loadRendererFn ? loadRendererFn(tNode, lView) : lView[RENDERER];\n        // It is assumed that the sanitizer is only added when the compiler determines that the\n        // property\n        // is risky, so sanitization can be done without further checks.\n        value = sanitizer != null ? ((/** @type {?} */ (sanitizer(value, tNode.tagName || '', propName)))) : value;\n        if (isProceduralRenderer(renderer)) {\n            renderer.setProperty((/** @type {?} */ (element)), propName, value);\n        }\n        else if (!isAnimationProp(propName)) {\n            ((/** @type {?} */ (element))).setProperty ? ((/** @type {?} */ (element))).setProperty(propName, value) :\n                ((/** @type {?} */ (element)))[propName] = value;\n        }\n    }\n    else if (tNode.type === 0 /* Container */) {\n        // If the node is a container and the property didn't\n        // match any of the inputs or schemas we should throw.\n        if (ngDevMode && !matchingSchemas(lView, tNode.tagName)) {\n            throw createUnknownPropertyError(propName, tNode);\n        }\n    }\n}\n/**\n * If node is an OnPush component, marks its LView dirty.\n * @param {?} lView\n * @param {?} viewIndex\n * @return {?}\n */\nfunction markDirtyIfOnPush(lView, viewIndex) {\n    ngDevMode && assertLView(lView);\n    /** @type {?} */\n    const childComponentLView = getComponentViewByIndex(viewIndex, lView);\n    if (!(childComponentLView[FLAGS] & 16 /* CheckAlways */)) {\n        childComponentLView[FLAGS] |= 64 /* Dirty */;\n    }\n}\n/**\n * @param {?} lView\n * @param {?} element\n * @param {?} type\n * @param {?} attrName\n * @param {?} value\n * @return {?}\n */\nfunction setNgReflectProperty(lView, element, type, attrName, value) {\n    /** @type {?} */\n    const renderer = lView[RENDERER];\n    attrName = normalizeDebugBindingName(attrName);\n    /** @type {?} */\n    const debugValue = normalizeDebugBindingValue(value);\n    if (type === 3 /* Element */) {\n        if (value == null) {\n            isProceduralRenderer(renderer) ? renderer.removeAttribute(((/** @type {?} */ (element))), attrName) :\n                ((/** @type {?} */ (element))).removeAttribute(attrName);\n        }\n        else {\n            isProceduralRenderer(renderer) ?\n                renderer.setAttribute(((/** @type {?} */ (element))), attrName, debugValue) :\n                ((/** @type {?} */ (element))).setAttribute(attrName, debugValue);\n        }\n    }\n    else {\n        /** @type {?} */\n        const textContent = `bindings=${JSON.stringify({ [attrName]: debugValue }, null, 2)}`;\n        if (isProceduralRenderer(renderer)) {\n            renderer.setValue(((/** @type {?} */ (element))), textContent);\n        }\n        else {\n            ((/** @type {?} */ (element))).textContent = textContent;\n        }\n    }\n}\n/**\n * @param {?} hostView\n * @param {?} element\n * @param {?} propName\n * @param {?} tNode\n * @return {?}\n */\nfunction validateAgainstUnknownProperties(hostView, element, propName, tNode) {\n    // If the tag matches any of the schemas we shouldn't throw.\n    if (matchingSchemas(hostView, tNode.tagName)) {\n        return;\n    }\n    // If prop is not a known property of the HTML element...\n    if (!(propName in element) &&\n        // and we are in a browser context... (web worker nodes should be skipped)\n        typeof Node === 'function' && element instanceof Node &&\n        // and isn't a synthetic animation property...\n        propName[0] !== ANIMATION_PROP_PREFIX) {\n        // ... it is probably a user error and we should throw.\n        throw createUnknownPropertyError(propName, tNode);\n    }\n}\n/**\n * @param {?} hostView\n * @param {?} tagName\n * @return {?}\n */\nfunction matchingSchemas(hostView, tagName) {\n    /** @type {?} */\n    const schemas = hostView[TVIEW].schemas;\n    if (schemas !== null) {\n        for (let i = 0; i < schemas.length; i++) {\n            /** @type {?} */\n            const schema = schemas[i];\n            if (schema === NO_ERRORS_SCHEMA ||\n                schema === CUSTOM_ELEMENTS_SCHEMA && tagName && tagName.indexOf('-') > -1) {\n                return true;\n            }\n        }\n    }\n    return false;\n}\n/**\n * Stores debugging data for this property binding on first template pass.\n * This enables features like DebugElement.properties.\n * @param {?} tNode\n * @param {?} lView\n * @param {?} propName\n * @param {?} tData\n * @param {?} nativeOnly\n * @return {?}\n */\nfunction savePropertyDebugData(tNode, lView, propName, tData, nativeOnly) {\n    /** @type {?} */\n    const lastBindingIndex = lView[BINDING_INDEX] - 1;\n    // Bind/interpolation functions save binding metadata in the last binding index,\n    // but leave the property name blank. If the interpolation delimiter is at the 0\n    // index, we know that this is our first pass and the property name still needs to\n    // be set.\n    /** @type {?} */\n    const bindingMetadata = (/** @type {?} */ (tData[lastBindingIndex]));\n    if (bindingMetadata[0] == INTERPOLATION_DELIMITER) {\n        tData[lastBindingIndex] = propName + bindingMetadata;\n        // We don't want to store indices for host bindings because they are stored in a\n        // different part of LView (the expando section).\n        if (!nativeOnly) {\n            if (tNode.propertyMetadataStartIndex == -1) {\n                tNode.propertyMetadataStartIndex = lastBindingIndex;\n            }\n            tNode.propertyMetadataEndIndex = lastBindingIndex + 1;\n        }\n    }\n}\n/**\n * Creates an error that should be thrown when encountering an unknown property on an element.\n * @param {?} propName Name of the invalid property.\n * @param {?} tNode Node on which we encountered the error.\n * @return {?}\n */\nfunction createUnknownPropertyError(propName, tNode) {\n    return new Error(`Template error: Can't bind to '${propName}' since it isn't a known property of '${tNode.tagName}'.`);\n}\n/**\n * Instantiate a root component.\n * @template T\n * @param {?} tView\n * @param {?} viewData\n * @param {?} def\n * @return {?}\n */\nfunction instantiateRootComponent(tView, viewData, def) {\n    /** @type {?} */\n    const rootTNode = getPreviousOrParentTNode();\n    if (tView.firstTemplatePass) {\n        if (def.providersResolver)\n            def.providersResolver(def);\n        generateExpandoInstructionBlock(tView, rootTNode, 1);\n        baseResolveDirective(tView, viewData, def, def.factory);\n    }\n    /** @type {?} */\n    const directive = getNodeInjectable(tView.data, viewData, viewData.length - 1, (/** @type {?} */ (rootTNode)));\n    postProcessBaseDirective(viewData, rootTNode, directive);\n    return directive;\n}\n/**\n * Resolve the matched directives on a node.\n * @param {?} tView\n * @param {?} lView\n * @param {?} tNode\n * @param {?} localRefs\n * @return {?}\n */\nfunction resolveDirectives(tView, lView, tNode, localRefs) {\n    // Please make sure to have explicit type for `exportsMap`. Inferred type triggers bug in\n    // tsickle.\n    ngDevMode && assertEqual(tView.firstTemplatePass, true, 'should run on first template pass only');\n    if (!getBindingsEnabled())\n        return;\n    /** @type {?} */\n    const directives = findDirectiveMatches(tView, lView, tNode);\n    /** @type {?} */\n    const exportsMap = localRefs ? { '': -1 } : null;\n    if (directives) {\n        initNodeFlags(tNode, tView.data.length, directives.length);\n        // When the same token is provided by several directives on the same node, some rules apply in\n        // the viewEngine:\n        // - viewProviders have priority over providers\n        // - the last directive in NgModule.declarations has priority over the previous one\n        // So to match these rules, the order in which providers are added in the arrays is very\n        // important.\n        for (let i = 0; i < directives.length; i++) {\n            /** @type {?} */\n            const def = (/** @type {?} */ (directives[i]));\n            if (def.providersResolver)\n                def.providersResolver(def);\n        }\n        generateExpandoInstructionBlock(tView, tNode, directives.length);\n        /** @type {?} */\n        const initialPreOrderHooksLength = (tView.preOrderHooks && tView.preOrderHooks.length) || 0;\n        /** @type {?} */\n        const initialPreOrderCheckHooksLength = (tView.preOrderCheckHooks && tView.preOrderCheckHooks.length) || 0;\n        /** @type {?} */\n        const nodeIndex = tNode.index - HEADER_OFFSET;\n        for (let i = 0; i < directives.length; i++) {\n            /** @type {?} */\n            const def = (/** @type {?} */ (directives[i]));\n            /** @type {?} */\n            const directiveDefIdx = tView.data.length;\n            baseResolveDirective(tView, lView, def, def.factory);\n            saveNameToExportMap((/** @type {?} */ (tView.data)).length - 1, def, exportsMap);\n            // Init hooks are queued now so ngOnInit is called in host components before\n            // any projected components.\n            registerPreOrderHooks(directiveDefIdx, def, tView, nodeIndex, initialPreOrderHooksLength, initialPreOrderCheckHooksLength);\n        }\n    }\n    if (exportsMap)\n        cacheMatchingLocalNames(tNode, localRefs, exportsMap);\n}\n/**\n * Instantiate all the directives that were previously resolved on the current node.\n * @param {?} tView\n * @param {?} lView\n * @param {?} tNode\n * @return {?}\n */\nfunction instantiateAllDirectives(tView, lView, tNode) {\n    /** @type {?} */\n    const start = tNode.directiveStart;\n    /** @type {?} */\n    const end = tNode.directiveEnd;\n    if (!tView.firstTemplatePass && start < end) {\n        getOrCreateNodeInjectorForNode((/** @type {?} */ (tNode)), lView);\n    }\n    for (let i = start; i < end; i++) {\n        /** @type {?} */\n        const def = (/** @type {?} */ (tView.data[i]));\n        if (isComponentDef(def)) {\n            addComponentLogic(lView, tNode, (/** @type {?} */ (def)));\n        }\n        /** @type {?} */\n        const directive = getNodeInjectable(tView.data, (/** @type {?} */ (lView)), i, (/** @type {?} */ (tNode)));\n        postProcessDirective(lView, directive, def, i);\n    }\n}\n/**\n * @param {?} tView\n * @param {?} viewData\n * @param {?} tNode\n * @return {?}\n */\nfunction invokeDirectivesHostBindings(tView, viewData, tNode) {\n    /** @type {?} */\n    const start = tNode.directiveStart;\n    /** @type {?} */\n    const end = tNode.directiveEnd;\n    /** @type {?} */\n    const expando = (/** @type {?} */ (tView.expandoInstructions));\n    /** @type {?} */\n    const firstTemplatePass = tView.firstTemplatePass;\n    /** @type {?} */\n    const elementIndex = tNode.index - HEADER_OFFSET;\n    /** @type {?} */\n    const selectedIndex = getSelectedIndex();\n    try {\n        setActiveHostElement(elementIndex);\n        for (let i = start; i < end; i++) {\n            /** @type {?} */\n            const def = (/** @type {?} */ (tView.data[i]));\n            /** @type {?} */\n            const directive = viewData[i];\n            if (def.hostBindings) {\n                invokeHostBindingsInCreationMode(def, expando, directive, tNode, firstTemplatePass);\n                // Each directive gets a uniqueId value that is the same for both\n                // create and update calls when the hostBindings function is called. The\n                // directive uniqueId is not set anywhere--it is just incremented between\n                // each hostBindings call and is useful for helping instruction code\n                // uniquely determine which directive is currently active when executed.\n                incrementActiveDirectiveId();\n            }\n            else if (firstTemplatePass) {\n                expando.push(null);\n            }\n        }\n    }\n    finally {\n        setActiveHostElement(selectedIndex);\n    }\n}\n/**\n * @param {?} def\n * @param {?} expando\n * @param {?} directive\n * @param {?} tNode\n * @param {?} firstTemplatePass\n * @return {?}\n */\nfunction invokeHostBindingsInCreationMode(def, expando, directive, tNode, firstTemplatePass) {\n    /** @type {?} */\n    const previousExpandoLength = expando.length;\n    setCurrentDirectiveDef(def);\n    /** @type {?} */\n    const elementIndex = tNode.index - HEADER_OFFSET;\n    (/** @type {?} */ (def.hostBindings))(1 /* Create */, directive, elementIndex);\n    setCurrentDirectiveDef(null);\n    // `hostBindings` function may or may not contain `allocHostVars` call\n    // (e.g. it may not if it only contains host listeners), so we need to check whether\n    // `expandoInstructions` has changed and if not - we still push `hostBindings` to\n    // expando block, to make sure we execute it for DI cycle\n    if (previousExpandoLength === expando.length && firstTemplatePass) {\n        expando.push(def.hostBindings);\n    }\n}\n/**\n * Generates a new block in TView.expandoInstructions for this node.\n *\n * Each expando block starts with the element index (turned negative so we can distinguish\n * it from the hostVar count) and the directive count. See more in VIEW_DATA.md.\n * @param {?} tView\n * @param {?} tNode\n * @param {?} directiveCount\n * @return {?}\n */\nfunction generateExpandoInstructionBlock(tView, tNode, directiveCount) {\n    ngDevMode && assertEqual(tView.firstTemplatePass, true, 'Expando block should only be generated on first template pass.');\n    /** @type {?} */\n    const elementIndex = -(tNode.index - HEADER_OFFSET);\n    /** @type {?} */\n    const providerStartIndex = tNode.providerIndexes & 65535 /* ProvidersStartIndexMask */;\n    /** @type {?} */\n    const providerCount = tView.data.length - providerStartIndex;\n    (tView.expandoInstructions || (tView.expandoInstructions = [])).push(elementIndex, providerCount, directiveCount);\n}\n/**\n * Process a directive on the current node after its creation.\n * @template T\n * @param {?} viewData\n * @param {?} directive\n * @param {?} def\n * @param {?} directiveDefIdx\n * @return {?}\n */\nfunction postProcessDirective(viewData, directive, def, directiveDefIdx) {\n    /** @type {?} */\n    const previousOrParentTNode = getPreviousOrParentTNode();\n    postProcessBaseDirective(viewData, previousOrParentTNode, directive);\n    ngDevMode && assertDefined(previousOrParentTNode, 'previousOrParentTNode');\n    if (previousOrParentTNode && previousOrParentTNode.attrs) {\n        setInputsFromAttrs(directiveDefIdx, directive, def, previousOrParentTNode);\n    }\n    if (viewData[TVIEW].firstTemplatePass && def.contentQueries) {\n        previousOrParentTNode.flags |= 4 /* hasContentQuery */;\n    }\n    if (isComponentDef(def)) {\n        /** @type {?} */\n        const componentView = getComponentViewByIndex(previousOrParentTNode.index, viewData);\n        componentView[CONTEXT] = directive;\n    }\n}\n/**\n * A lighter version of postProcessDirective() that is used for the root component.\n * @template T\n * @param {?} lView\n * @param {?} previousOrParentTNode\n * @param {?} directive\n * @return {?}\n */\nfunction postProcessBaseDirective(lView, previousOrParentTNode, directive) {\n    /** @type {?} */\n    const native = getNativeByTNode(previousOrParentTNode, lView);\n    ngDevMode && assertEqual(lView[BINDING_INDEX], lView[TVIEW].bindingStartIndex, 'directives should be created before any bindings');\n    ngDevMode && assertPreviousIsParent(getIsParent());\n    attachPatchData(directive, lView);\n    if (native) {\n        attachPatchData(native, lView);\n    }\n}\n/**\n * Matches the current node against all available selectors.\n * If a component is matched (at most one), it is returned in first position in the array.\n * @param {?} tView\n * @param {?} viewData\n * @param {?} tNode\n * @return {?}\n */\nfunction findDirectiveMatches(tView, viewData, tNode) {\n    ngDevMode && assertEqual(tView.firstTemplatePass, true, 'should run on first template pass only');\n    /** @type {?} */\n    const registry = tView.directiveRegistry;\n    /** @type {?} */\n    let matches = null;\n    if (registry) {\n        for (let i = 0; i < registry.length; i++) {\n            /** @type {?} */\n            const def = (/** @type {?} */ (registry[i]));\n            if (isNodeMatchingSelectorList(tNode, (/** @type {?} */ (def.selectors)), /* isProjectionMode */ false)) {\n                matches || (matches = ngDevMode ? new (/** @type {?} */ (MatchesArray))() : []);\n                diPublicInInjector(getOrCreateNodeInjectorForNode(tNode, viewData), tView, def.type);\n                if (isComponentDef(def)) {\n                    if (tNode.flags & 1 /* isComponent */)\n                        throwMultipleComponentError(tNode);\n                    tNode.flags = 1 /* isComponent */;\n                    // The component is always stored first with directives after.\n                    matches.unshift(def);\n                }\n                else {\n                    matches.push(def);\n                }\n            }\n        }\n    }\n    return matches;\n}\n/**\n * Stores index of component's host element so it will be queued for view refresh during CD.\n * @param {?} previousOrParentTNode\n * @return {?}\n */\nfunction queueComponentIndexForCheck(previousOrParentTNode) {\n    /** @type {?} */\n    const tView = getLView()[TVIEW];\n    ngDevMode &&\n        assertEqual(tView.firstTemplatePass, true, 'Should only be called in first template pass.');\n    (tView.components || (tView.components = ngDevMode ? new (/** @type {?} */ (TViewComponents))() : [])).push(previousOrParentTNode.index);\n}\n/**\n * Caches local names and their matching directive indices for query and template lookups.\n * @param {?} tNode\n * @param {?} localRefs\n * @param {?} exportsMap\n * @return {?}\n */\nfunction cacheMatchingLocalNames(tNode, localRefs, exportsMap) {\n    if (localRefs) {\n        /** @type {?} */\n        const localNames = tNode.localNames =\n            ngDevMode ? new (/** @type {?} */ (TNodeLocalNames))() : [];\n        // Local names must be stored in tNode in the same order that localRefs are defined\n        // in the template to ensure the data is loaded in the same slots as their refs\n        // in the template (for template queries).\n        for (let i = 0; i < localRefs.length; i += 2) {\n            /** @type {?} */\n            const index = exportsMap[localRefs[i + 1]];\n            if (index == null)\n                throw new Error(`Export of name '${localRefs[i + 1]}' not found!`);\n            localNames.push(localRefs[i], index);\n        }\n    }\n}\n/**\n * Builds up an export map as directives are created, so local refs can be quickly mapped\n * to their directive instances.\n * @param {?} index\n * @param {?} def\n * @param {?} exportsMap\n * @return {?}\n */\nfunction saveNameToExportMap(index, def, exportsMap) {\n    if (exportsMap) {\n        if (def.exportAs) {\n            for (let i = 0; i < def.exportAs.length; i++) {\n                exportsMap[def.exportAs[i]] = index;\n            }\n        }\n        if (((/** @type {?} */ (def))).template)\n            exportsMap[''] = index;\n    }\n}\n/**\n * Initializes the flags on the current node, setting all indices to the initial index,\n * the directive count to 0, and adding the isComponent flag.\n * @param {?} tNode\n * @param {?} index the initial index\n * @param {?} numberOfDirectives\n * @return {?}\n */\nfunction initNodeFlags(tNode, index, numberOfDirectives) {\n    /** @type {?} */\n    const flags = tNode.flags;\n    ngDevMode && assertEqual(flags === 0 || flags === 1 /* isComponent */, true, 'expected node flags to not be initialized');\n    ngDevMode && assertNotEqual(numberOfDirectives, tNode.directiveEnd - tNode.directiveStart, 'Reached the max number of directives');\n    // When the first directive is created on a node, save the index\n    tNode.flags = flags & 1 /* isComponent */;\n    tNode.directiveStart = index;\n    tNode.directiveEnd = index + numberOfDirectives;\n    tNode.providerIndexes = index;\n}\n/**\n * @template T\n * @param {?} tView\n * @param {?} viewData\n * @param {?} def\n * @param {?} directiveFactory\n * @return {?}\n */\nfunction baseResolveDirective(tView, viewData, def, directiveFactory) {\n    tView.data.push(def);\n    /** @type {?} */\n    const nodeInjectorFactory = new NodeInjectorFactory(directiveFactory, isComponentDef(def), null);\n    tView.blueprint.push(nodeInjectorFactory);\n    viewData.push(nodeInjectorFactory);\n}\n/**\n * @template T\n * @param {?} lView\n * @param {?} previousOrParentTNode\n * @param {?} def\n * @return {?}\n */\nfunction addComponentLogic(lView, previousOrParentTNode, def) {\n    /** @type {?} */\n    const native = getNativeByTNode(previousOrParentTNode, lView);\n    /** @type {?} */\n    const tView = getOrCreateTView(def);\n    // Only component views should be added to the view tree directly. Embedded views are\n    // accessed through their containers because they may be removed / re-added later.\n    /** @type {?} */\n    const rendererFactory = lView[RENDERER_FACTORY];\n    /** @type {?} */\n    const componentView = addToViewTree(lView, createLView(lView, tView, null, def.onPush ? 64 /* Dirty */ : 16 /* CheckAlways */, lView[previousOrParentTNode.index], (/** @type {?} */ (previousOrParentTNode)), rendererFactory, rendererFactory.createRenderer((/** @type {?} */ (native)), def)));\n    componentView[T_HOST] = (/** @type {?} */ (previousOrParentTNode));\n    // Component view will always be created before any injected LContainers,\n    // so this is a regular element, wrap it with the component view\n    lView[previousOrParentTNode.index] = componentView;\n    if (lView[TVIEW].firstTemplatePass) {\n        queueComponentIndexForCheck(previousOrParentTNode);\n    }\n}\n/**\n * @param {?} index\n * @param {?} name\n * @param {?} value\n * @param {?} lView\n * @param {?=} sanitizer\n * @param {?=} namespace\n * @return {?}\n */\nfunction elementAttributeInternal(index, name, value, lView, sanitizer, namespace) {\n    ngDevMode && assertNotSame(value, (/** @type {?} */ (NO_CHANGE)), 'Incoming value should never be NO_CHANGE.');\n    ngDevMode && validateAgainstEventAttributes(name);\n    /** @type {?} */\n    const element = (/** @type {?} */ (getNativeByIndex(index, lView)));\n    /** @type {?} */\n    const renderer = lView[RENDERER];\n    if (value == null) {\n        ngDevMode && ngDevMode.rendererRemoveAttribute++;\n        isProceduralRenderer(renderer) ? renderer.removeAttribute(element, name, namespace) :\n            element.removeAttribute(name);\n    }\n    else {\n        ngDevMode && ngDevMode.rendererSetAttribute++;\n        /** @type {?} */\n        const tNode = getTNode(index, lView);\n        /** @type {?} */\n        const strValue = sanitizer == null ? renderStringify(value) : sanitizer(value, tNode.tagName || '', name);\n        if (isProceduralRenderer(renderer)) {\n            renderer.setAttribute(element, name, strValue, namespace);\n        }\n        else {\n            namespace ? element.setAttributeNS(namespace, name, strValue) :\n                element.setAttribute(name, strValue);\n        }\n    }\n}\n/**\n * Sets initial input properties on directive instances from attribute data\n *\n * @template T\n * @param {?} directiveIndex Index of the directive in directives array\n * @param {?} instance Instance of the directive on which to set the initial inputs\n * @param {?} def The directive def that contains the list of inputs\n * @param {?} tNode The static data for this node\n * @return {?}\n */\nfunction setInputsFromAttrs(directiveIndex, instance, def, tNode) {\n    /** @type {?} */\n    let initialInputData = (/** @type {?} */ (tNode.initialInputs));\n    if (initialInputData === undefined || directiveIndex >= initialInputData.length) {\n        initialInputData = generateInitialInputs(directiveIndex, def.inputs, tNode);\n    }\n    /** @type {?} */\n    const initialInputs = initialInputData[directiveIndex];\n    if (initialInputs) {\n        /** @type {?} */\n        const setInput = def.setInput;\n        for (let i = 0; i < initialInputs.length;) {\n            /** @type {?} */\n            const publicName = initialInputs[i++];\n            /** @type {?} */\n            const privateName = initialInputs[i++];\n            /** @type {?} */\n            const value = initialInputs[i++];\n            if (setInput) {\n                (/** @type {?} */ (def.setInput))(instance, value, publicName, privateName);\n            }\n            else {\n                ((/** @type {?} */ (instance)))[privateName] = value;\n            }\n            if (ngDevMode) {\n                /** @type {?} */\n                const lView = getLView();\n                /** @type {?} */\n                const nativeElement = (/** @type {?} */ (getNativeByTNode(tNode, lView)));\n                setNgReflectProperty(lView, nativeElement, tNode.type, privateName, value);\n            }\n        }\n    }\n}\n/**\n * Generates initialInputData for a node and stores it in the template's static storage\n * so subsequent template invocations don't have to recalculate it.\n *\n * initialInputData is an array containing values that need to be set as input properties\n * for directives on this node, but only once on creation. We need this array to support\n * the case where you set an \\@Input property of a directive using attribute-like syntax.\n * e.g. if you have a `name` \\@Input, you can set it once like this:\n *\n * <my-component name=\"Bess\"></my-component>\n *\n * @param {?} directiveIndex Index to store the initial input data\n * @param {?} inputs The list of inputs from the directive def\n * @param {?} tNode The static data on this node\n * @return {?}\n */\nfunction generateInitialInputs(directiveIndex, inputs, tNode) {\n    /** @type {?} */\n    const initialInputData = tNode.initialInputs || (tNode.initialInputs = ngDevMode ? new (/** @type {?} */ (TNodeInitialInputs))() : []);\n    // Ensure that we don't create sparse arrays\n    for (let i = initialInputData.length; i <= directiveIndex; i++) {\n        initialInputData.push(null);\n    }\n    /** @type {?} */\n    const attrs = (/** @type {?} */ (tNode.attrs));\n    /** @type {?} */\n    let i = 0;\n    while (i < attrs.length) {\n        /** @type {?} */\n        const attrName = attrs[i];\n        if (attrName === 0 /* NamespaceURI */) {\n            // We do not allow inputs on namespaced attributes.\n            i += 4;\n            continue;\n        }\n        else if (attrName === 5 /* ProjectAs */) {\n            // Skip over the `ngProjectAs` value.\n            i += 2;\n            continue;\n        }\n        // If we hit any other attribute markers, we're done anyway. None of those are valid inputs.\n        if (typeof attrName === 'number')\n            break;\n        /** @type {?} */\n        const minifiedInputName = inputs[(/** @type {?} */ (attrName))];\n        /** @type {?} */\n        const attrValue = attrs[i + 1];\n        if (minifiedInputName !== undefined) {\n            /** @type {?} */\n            const inputsToStore = initialInputData[directiveIndex] ||\n                (initialInputData[directiveIndex] = ngDevMode ? new (/** @type {?} */ (TNodeInitialData))() : []);\n            inputsToStore.push((/** @type {?} */ (attrName)), minifiedInputName, (/** @type {?} */ (attrValue)));\n        }\n        i += 2;\n    }\n    return initialInputData;\n}\n//////////////////////////\n//// ViewContainer & View\n//////////////////////////\n// Not sure why I need to do `any` here but TS complains later.\n/** @type {?} */\nconst LContainerArray = ngDevMode && createNamedArrayType('LContainer');\n/**\n * Creates a LContainer, either from a container instruction, or for a ViewContainerRef.\n *\n * @param {?} hostNative The host element for the LContainer\n * @param {?} currentView The parent view of the LContainer\n * @param {?} native The native comment element\n * @param {?} tNode\n * @param {?=} isForViewContainerRef Optional a flag indicating the ViewContainerRef case\n * @return {?} LContainer\n */\nfunction createLContainer(hostNative, currentView, native, tNode, isForViewContainerRef) {\n    ngDevMode && assertDomNode(native);\n    ngDevMode && assertLView(currentView);\n    // https://jsperf.com/array-literal-vs-new-array-really\n    /** @type {?} */\n    const lContainer = new (ngDevMode ? LContainerArray : Array)(hostNative, // host native\n    true, // Boolean `true` in this position signifies that this is an `LContainer`\n    isForViewContainerRef ? -1 : 0, // active index\n    currentView, // parent\n    null, // next\n    null, // queries\n    tNode, // t_host\n    native, // native,\n    null);\n    ngDevMode && attachLContainerDebug(lContainer);\n    return lContainer;\n}\n/**\n * Goes over dynamic embedded views (ones created through ViewContainerRef APIs) and refreshes\n * them\n * by executing an associated template function.\n * @param {?} lView\n * @return {?}\n */\nfunction refreshDynamicEmbeddedViews(lView) {\n    for (let current = lView[CHILD_HEAD]; current !== null; current = current[NEXT]) {\n        // Note: current can be an LView or an LContainer instance, but here we are only interested\n        // in LContainer. We can tell it's an LContainer because its length is less than the LView\n        // header.\n        if (current[ACTIVE_INDEX] === -1 && isLContainer(current)) {\n            for (let i = CONTAINER_HEADER_OFFSET; i < current.length; i++) {\n                /** @type {?} */\n                const dynamicViewData = current[i];\n                // The directives and pipes are not needed here as an existing view is only being\n                // refreshed.\n                ngDevMode && assertDefined(dynamicViewData[TVIEW], 'TView must be allocated');\n                renderEmbeddedTemplate(dynamicViewData, dynamicViewData[TVIEW], (/** @type {?} */ (dynamicViewData[CONTEXT])));\n            }\n        }\n    }\n}\n/////////////\n/**\n * Refreshes components by entering the component view and processing its bindings, queries, etc.\n *\n * @param {?} hostLView\n * @param {?} adjustedElementIndex  Element index in LView[] (adjusted for HEADER_OFFSET)\n * @return {?}\n */\nfunction componentRefresh(hostLView, adjustedElementIndex) {\n    ngDevMode && assertDataInRange(hostLView, adjustedElementIndex);\n    /** @type {?} */\n    const componentView = getComponentViewByIndex(adjustedElementIndex, hostLView);\n    ngDevMode &&\n        assertNodeType((/** @type {?} */ (hostLView[TVIEW].data[adjustedElementIndex])), 3 /* Element */);\n    // Only components in creation mode, attached CheckAlways\n    // components or attached, dirty OnPush components should be checked\n    if ((viewAttachedToChangeDetector(componentView) || isCreationMode(hostLView)) &&\n        componentView[FLAGS] & (16 /* CheckAlways */ | 64 /* Dirty */)) {\n        syncViewWithBlueprint(componentView);\n        checkView(componentView, componentView[CONTEXT]);\n    }\n}\n/**\n * Syncs an LView instance with its blueprint if they have gotten out of sync.\n *\n * Typically, blueprints and their view instances should always be in sync, so the loop here\n * will be skipped. However, consider this case of two components side-by-side:\n *\n * App template:\n * ```\n * <comp></comp>\n * <comp></comp>\n * ```\n *\n * The following will happen:\n * 1. App template begins processing.\n * 2. First <comp> is matched as a component and its LView is created.\n * 3. Second <comp> is matched as a component and its LView is created.\n * 4. App template completes processing, so it's time to check child templates.\n * 5. First <comp> template is checked. It has a directive, so its def is pushed to blueprint.\n * 6. Second <comp> template is checked. Its blueprint has been updated by the first\n * <comp> template, but its LView was created before this update, so it is out of sync.\n *\n * Note that embedded views inside ngFor loops will never be out of sync because these views\n * are processed as soon as they are created.\n *\n * @param {?} componentView The view to sync\n * @return {?}\n */\nfunction syncViewWithBlueprint(componentView) {\n    /** @type {?} */\n    const componentTView = componentView[TVIEW];\n    for (let i = componentView.length; i < componentTView.blueprint.length; i++) {\n        componentView[i] = componentTView.blueprint[i];\n    }\n}\n/**\n * Adds LView or LContainer to the end of the current view tree.\n *\n * This structure will be used to traverse through nested views to remove listeners\n * and call onDestroy callbacks.\n *\n * @template T\n * @param {?} lView The view where LView or LContainer should be added\n * @param {?} lViewOrLContainer The LView or LContainer to add to the view tree\n * @return {?} The state passed in\n */\nfunction addToViewTree(lView, lViewOrLContainer) {\n    // TODO(benlesh/misko): This implementation is incorrect, because it always adds the LContainer\n    // to\n    // the end of the queue, which means if the developer retrieves the LContainers from RNodes out\n    // of\n    // order, the change detection will run out of order, as the act of retrieving the the\n    // LContainer\n    // from the RNode is what adds it to the queue.\n    if (lView[CHILD_HEAD]) {\n        (/** @type {?} */ (lView[CHILD_TAIL]))[NEXT] = lViewOrLContainer;\n    }\n    else {\n        lView[CHILD_HEAD] = lViewOrLContainer;\n    }\n    lView[CHILD_TAIL] = lViewOrLContainer;\n    return lViewOrLContainer;\n}\n///////////////////////////////\n//// Change detection\n///////////////////////////////\n/**\n * Marks current view and all ancestors dirty.\n *\n * Returns the root view because it is found as a byproduct of marking the view tree\n * dirty, and can be used by methods that consume markViewDirty() to easily schedule\n * change detection. Otherwise, such methods would need to traverse up the view tree\n * an additional time to get the root view and schedule a tick on it.\n *\n * @param {?} lView The starting LView to mark dirty\n * @return {?} the root LView\n */\nfunction markViewDirty(lView) {\n    while (lView) {\n        lView[FLAGS] |= 64 /* Dirty */;\n        /** @type {?} */\n        const parent = getLViewParent(lView);\n        // Stop traversing up as soon as you find a root view that wasn't attached to any container\n        if (isRootView(lView) && !parent) {\n            return lView;\n        }\n        // continue otherwise\n        lView = (/** @type {?} */ (parent));\n    }\n    return null;\n}\n/**\n * Used to schedule change detection on the whole application.\n *\n * Unlike `tick`, `scheduleTick` coalesces multiple calls into one change detection run.\n * It is usually called indirectly by calling `markDirty` when the view needs to be\n * re-rendered.\n *\n * Typically `scheduleTick` uses `requestAnimationFrame` to coalesce multiple\n * `scheduleTick` requests. The scheduling function can be overridden in\n * `renderComponent`'s `scheduler` option.\n * @param {?} rootContext\n * @param {?} flags\n * @return {?}\n */\nfunction scheduleTick(rootContext, flags) {\n    /** @type {?} */\n    const nothingScheduled = rootContext.flags === 0 /* Empty */;\n    rootContext.flags |= flags;\n    if (nothingScheduled && rootContext.clean == _CLEAN_PROMISE) {\n        /** @type {?} */\n        let res;\n        rootContext.clean = new Promise((/**\n         * @param {?} r\n         * @return {?}\n         */\n        (r) => res = r));\n        rootContext.scheduler((/**\n         * @return {?}\n         */\n        () => {\n            if (rootContext.flags & 1 /* DetectChanges */) {\n                rootContext.flags &= ~1 /* DetectChanges */;\n                tickRootContext(rootContext);\n            }\n            if (rootContext.flags & 2 /* FlushPlayers */) {\n                rootContext.flags &= ~2 /* FlushPlayers */;\n                /** @type {?} */\n                const playerHandler = rootContext.playerHandler;\n                if (playerHandler) {\n                    playerHandler.flushPlayers();\n                }\n            }\n            rootContext.clean = _CLEAN_PROMISE;\n            (/** @type {?} */ (res))(null);\n        }));\n    }\n}\n/**\n * @param {?} rootContext\n * @return {?}\n */\nfunction tickRootContext(rootContext) {\n    for (let i = 0; i < rootContext.components.length; i++) {\n        /** @type {?} */\n        const rootComponent = rootContext.components[i];\n        renderComponentOrTemplate((/** @type {?} */ (readPatchedLView(rootComponent))), rootComponent);\n    }\n}\n/**\n * @template T\n * @param {?} view\n * @param {?} context\n * @return {?}\n */\nfunction detectChangesInternal(view, context) {\n    /** @type {?} */\n    const rendererFactory = view[RENDERER_FACTORY];\n    if (rendererFactory.begin)\n        rendererFactory.begin();\n    try {\n        if (isCreationMode(view)) {\n            checkView(view, context); // creation mode pass\n        }\n        checkView(view, context); // update mode pass\n    }\n    catch (error) {\n        handleError(view, error);\n        throw error;\n    }\n    finally {\n        if (rendererFactory.end)\n            rendererFactory.end();\n    }\n}\n/**\n * Synchronously perform change detection on a root view and its components.\n *\n * @param {?} lView The view which the change detection should be performed on.\n * @return {?}\n */\nfunction detectChangesInRootView(lView) {\n    tickRootContext((/** @type {?} */ (lView[CONTEXT])));\n}\n/**\n * Checks the change detector and its children, and throws if any changes are detected.\n *\n * This is used in development mode to verify that running change detection doesn't\n * introduce other changes.\n * @template T\n * @param {?} component\n * @return {?}\n */\nfunction checkNoChanges(component) {\n    /** @type {?} */\n    const view = getComponentViewByInstance(component);\n    checkNoChangesInternal(view, component);\n}\n/**\n * @template T\n * @param {?} view\n * @param {?} context\n * @return {?}\n */\nfunction checkNoChangesInternal(view, context) {\n    setCheckNoChangesMode(true);\n    try {\n        detectChangesInternal(view, context);\n    }\n    finally {\n        setCheckNoChangesMode(false);\n    }\n}\n/**\n * Checks the change detector on a root view and its components, and throws if any changes are\n * detected.\n *\n * This is used in development mode to verify that running change detection doesn't\n * introduce other changes.\n *\n * @param {?} lView The view which the change detection should be checked on.\n * @return {?}\n */\nfunction checkNoChangesInRootView(lView) {\n    setCheckNoChangesMode(true);\n    try {\n        detectChangesInRootView(lView);\n    }\n    finally {\n        setCheckNoChangesMode(false);\n    }\n}\n/**\n * Checks the view of the component provided. Does not gate on dirty checks or execute doCheck.\n * @template T\n * @param {?} hostView\n * @param {?} component\n * @return {?}\n */\nfunction checkView(hostView, component) {\n    /** @type {?} */\n    const hostTView = hostView[TVIEW];\n    /** @type {?} */\n    const oldView = enterView(hostView, hostView[T_HOST]);\n    /** @type {?} */\n    const templateFn = (/** @type {?} */ (hostTView.template));\n    /** @type {?} */\n    const creationMode = isCreationMode(hostView);\n    // Will become true if the `try` block executes with no errors.\n    /** @type {?} */\n    let safeToRunHooks = false;\n    try {\n        resetPreOrderHookFlags(hostView);\n        creationMode && executeViewQueryFn(1 /* Create */, hostTView, component);\n        executeTemplate(hostView, templateFn, getRenderFlags(hostView), component);\n        refreshDescendantViews(hostView);\n        safeToRunHooks = true;\n    }\n    finally {\n        leaveView(oldView, safeToRunHooks);\n    }\n}\n/**\n * @template T\n * @param {?} flags\n * @param {?} tView\n * @param {?} component\n * @return {?}\n */\nfunction executeViewQueryFn(flags, tView, component) {\n    /** @type {?} */\n    const viewQuery = tView.viewQuery;\n    if (viewQuery !== null) {\n        setCurrentQueryIndex(0);\n        viewQuery(flags, component);\n    }\n}\n///////////////////////////////\n//// Bindings & interpolations\n///////////////////////////////\n/**\n * Creates binding metadata for a particular binding and stores it in\n * TView.data. These are generated in order to support DebugElement.properties.\n *\n * Each binding / interpolation will have one (including attribute bindings)\n * because at the time of binding, we don't know to which instruction the binding\n * belongs. It is always stored in TView.data at the index of the last binding\n * value in LView (e.g. for interpolation8, it would be stored at the index of\n * the 8th value).\n *\n * @param {?} lView The LView that contains the current binding index.\n * @param {?=} prefix The static prefix string\n * @param {?=} suffix The static suffix string\n *\n * @return {?} Newly created binding metadata string for this binding or null\n */\nfunction storeBindingMetadata(lView, prefix = '', suffix = '') {\n    /** @type {?} */\n    const tData = lView[TVIEW].data;\n    /** @type {?} */\n    const lastBindingIndex = lView[BINDING_INDEX] - 1;\n    /** @type {?} */\n    const value = INTERPOLATION_DELIMITER + prefix + INTERPOLATION_DELIMITER + suffix;\n    return tData[lastBindingIndex] == null ? (tData[lastBindingIndex] = value) : null;\n}\n/** @type {?} */\nconst CLEAN_PROMISE = _CLEAN_PROMISE;\n/**\n * @param {?} tNode\n * @return {?}\n */\nfunction initializeTNodeInputs(tNode) {\n    // If tNode.inputs is undefined, a listener has created outputs, but inputs haven't\n    // yet been checked.\n    if (tNode.inputs === undefined) {\n        // mark inputs as checked\n        tNode.inputs = generatePropertyAliases(tNode, 0 /* Input */);\n    }\n    return tNode.inputs;\n}\n/**\n * @param {?} view\n * @return {?}\n */\nfunction getCleanup(view) {\n    // top level variables should not be exported for performance reasons (PERF_NOTES.md)\n    return view[CLEANUP] || (view[CLEANUP] = ngDevMode ? new (/** @type {?} */ (LCleanup))() : []);\n}\n/**\n * @param {?} view\n * @return {?}\n */\nfunction getTViewCleanup(view) {\n    return view[TVIEW].cleanup || (view[TVIEW].cleanup = ngDevMode ? new (/** @type {?} */ (TCleanup))() : []);\n}\n/**\n * There are cases where the sub component's renderer needs to be included\n * instead of the current renderer (see the componentSyntheticHost* instructions).\n * @param {?} tNode\n * @param {?} lView\n * @return {?}\n */\nfunction loadComponentRenderer(tNode, lView) {\n    /** @type {?} */\n    const componentLView = (/** @type {?} */ (lView[tNode.index]));\n    return componentLView[RENDERER];\n}\n/**\n * Handles an error thrown in an LView.\n * @param {?} lView\n * @param {?} error\n * @return {?}\n */\nfunction handleError(lView, error) {\n    /** @type {?} */\n    const injector = lView[INJECTOR$1];\n    /** @type {?} */\n    const errorHandler = injector ? injector.get(ErrorHandler, null) : null;\n    errorHandler && errorHandler.handleError(error);\n}\n/**\n * Set the inputs of directives at the current node to corresponding value.\n *\n * @param {?} lView the `LView` which contains the directives.\n * @param {?} inputs mapping between the public \"input\" name and privately-known,\n * possibly minified, property names to write to.\n * @param {?} value Value to set.\n * @return {?}\n */\nfunction setInputsForProperty(lView, inputs, value) {\n    /** @type {?} */\n    const tView = lView[TVIEW];\n    for (let i = 0; i < inputs.length;) {\n        /** @type {?} */\n        const index = (/** @type {?} */ (inputs[i++]));\n        /** @type {?} */\n        const publicName = (/** @type {?} */ (inputs[i++]));\n        /** @type {?} */\n        const privateName = (/** @type {?} */ (inputs[i++]));\n        /** @type {?} */\n        const instance = lView[index];\n        ngDevMode && assertDataInRange(lView, index);\n        /** @type {?} */\n        const def = (/** @type {?} */ (tView.data[index]));\n        /** @type {?} */\n        const setInput = def.setInput;\n        if (setInput) {\n            (/** @type {?} */ (def.setInput))(instance, value, publicName, privateName);\n        }\n        else {\n            instance[privateName] = value;\n        }\n    }\n}\n/**\n * Updates a text binding at a given index in a given LView.\n * @param {?} lView\n * @param {?} index\n * @param {?} value\n * @return {?}\n */\nfunction textBindingInternal(lView, index, value) {\n    ngDevMode && assertNotSame(value, (/** @type {?} */ (NO_CHANGE)), 'value should not be NO_CHANGE');\n    ngDevMode && assertDataInRange(lView, index + HEADER_OFFSET);\n    /** @type {?} */\n    const element = (/** @type {?} */ ((/** @type {?} */ (getNativeByIndex(index, lView)))));\n    ngDevMode && assertDefined(element, 'native element should exist');\n    ngDevMode && ngDevMode.rendererSetText++;\n    /** @type {?} */\n    const renderer = lView[RENDERER];\n    isProceduralRenderer(renderer) ? renderer.setValue(element, value) : element.textContent = value;\n}\n/**\n * Renders all initial styling (class and style values) on to the element from the tNode.\n *\n * All initial styling data (i.e. any values extracted from the `style` or `class` attributes\n * on an element) are collected into the `tNode.styles` and `tNode.classes` data structures.\n * These values are populated during the creation phase of an element and are then later\n * applied once the element is instantiated. This function applies each of the static\n * style and class entries to the element.\n * @param {?} renderer\n * @param {?} native\n * @param {?} tNode\n * @return {?}\n */\nfunction renderInitialStyling(renderer, native, tNode) {\n    renderStylingMap(renderer, native, tNode.classes, true);\n    renderStylingMap(renderer, native, tNode.styles, false);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst unusedValueToPlacateAjd$1 = unusedValueExportToPlacateAjd$1 + unusedValueExportToPlacateAjd$4 + unusedValueExportToPlacateAjd$5 + unusedValueExportToPlacateAjd$3 + unusedValueExportToPlacateAjd;\n/**\n * @param {?} tNode\n * @param {?} embeddedView\n * @return {?}\n */\nfunction getLContainer(tNode, embeddedView) {\n    ngDevMode && assertLView(embeddedView);\n    /** @type {?} */\n    const container = (/** @type {?} */ (embeddedView[PARENT]));\n    if (tNode.index === -1) {\n        // This is a dynamically created view inside a dynamic container.\n        // The parent isn't an LContainer if the embedded view hasn't been attached yet.\n        return isLContainer(container) ? container : null;\n    }\n    else {\n        ngDevMode && assertLContainer(container);\n        // This is a inline view node (e.g. embeddedViewStart)\n        return container;\n    }\n}\n/**\n * Retrieves render parent for a given view.\n * Might be null if a view is not yet attached to any container.\n * @param {?} tViewNode\n * @param {?} view\n * @return {?}\n */\nfunction getContainerRenderParent(tViewNode, view) {\n    /** @type {?} */\n    const container = getLContainer(tViewNode, view);\n    return container ? nativeParentNode(view[RENDERER], container[NATIVE]) : null;\n}\n/** @enum {number} */\nconst WalkTNodeTreeAction = {\n    /** node insert in the native environment */\n    Insert: 0,\n    /** node detach from the native environment */\n    Detach: 1,\n    /** node destruction using the renderer's API */\n    Destroy: 2,\n};\n/**\n * NOTE: for performance reasons, the possible actions are inlined within the function instead of\n * being passed as an argument.\n * @param {?} action\n * @param {?} renderer\n * @param {?} parent\n * @param {?} lNodeToHandle\n * @param {?=} beforeNode\n * @return {?}\n */\nfunction executeActionOnElementOrContainer(action, renderer, parent, lNodeToHandle, beforeNode) {\n    // If this slot was allocated for a text node dynamically created by i18n, the text node itself\n    // won't be created until i18nApply() in the update block, so this node should be skipped.\n    // For more info, see \"ICU expressions should work inside an ngTemplateOutlet inside an ngFor\"\n    // in `i18n_spec.ts`.\n    if (lNodeToHandle != null) {\n        /** @type {?} */\n        let lContainer;\n        /** @type {?} */\n        let isComponent = false;\n        // We are expecting an RNode, but in the case of a component or LContainer the `RNode` is\n        // wrapped\n        // in an array which needs to be unwrapped. We need to know if it is a component and if\n        // it has LContainer so that we can process all of those cases appropriately.\n        if (isLContainer(lNodeToHandle)) {\n            lContainer = lNodeToHandle;\n        }\n        else if (isLView(lNodeToHandle)) {\n            isComponent = true;\n            ngDevMode && assertDefined(lNodeToHandle[HOST], 'HOST must be defined for a component LView');\n            lNodeToHandle = (/** @type {?} */ (lNodeToHandle[HOST]));\n        }\n        /** @type {?} */\n        const rNode = unwrapRNode(lNodeToHandle);\n        ngDevMode && assertDomNode(rNode);\n        if (action === 0 /* Insert */) {\n            nativeInsertBefore(renderer, (/** @type {?} */ (parent)), rNode, beforeNode || null);\n        }\n        else if (action === 1 /* Detach */) {\n            nativeRemoveNode(renderer, rNode, isComponent);\n        }\n        else if (action === 2 /* Destroy */) {\n            ngDevMode && ngDevMode.rendererDestroyNode++;\n            (/** @type {?} */ (((/** @type {?} */ (renderer))).destroyNode))(rNode);\n        }\n        if (lContainer != null) {\n            executeActionOnContainer(renderer, action, lContainer, parent, beforeNode);\n        }\n    }\n}\n/**\n * @param {?} value\n * @param {?} renderer\n * @return {?}\n */\nfunction createTextNode(value, renderer) {\n    return isProceduralRenderer(renderer) ? renderer.createText(renderStringify(value)) :\n        renderer.createTextNode(renderStringify(value));\n}\n/**\n * @param {?} lView\n * @param {?} insertMode\n * @param {?=} beforeNode\n * @return {?}\n */\nfunction addRemoveViewFromContainer(lView, insertMode, beforeNode) {\n    /** @type {?} */\n    const renderParent = getContainerRenderParent((/** @type {?} */ (lView[TVIEW].node)), lView);\n    ngDevMode && assertNodeType((/** @type {?} */ (lView[TVIEW].node)), 2 /* View */);\n    if (renderParent) {\n        /** @type {?} */\n        const renderer = lView[RENDERER];\n        /** @type {?} */\n        const action = insertMode ? 0 /* Insert */ : 1 /* Detach */;\n        executeActionOnView(renderer, action, lView, renderParent, beforeNode);\n    }\n}\n/**\n * Detach a `LView` from the DOM by detaching its nodes.\n *\n * @param {?} lView the `LView` to be detached.\n * @return {?}\n */\nfunction renderDetachView(lView) {\n    executeActionOnView(lView[RENDERER], 1 /* Detach */, lView, null, null);\n}\n/**\n * Traverses down and up the tree of views and containers to remove listeners and\n * call onDestroy callbacks.\n *\n * Notes:\n *  - Because it's used for onDestroy calls, it needs to be bottom-up.\n *  - Must process containers instead of their views to avoid splicing\n *  when views are destroyed and re-added.\n *  - Using a while loop because it's faster than recursion\n *  - Destroy only called on movement to sibling or movement to parent (laterally or up)\n *\n * @param {?} rootView The view to destroy\n * @return {?}\n */\nfunction destroyViewTree(rootView) {\n    // If the view has no children, we can clean it up and return early.\n    /** @type {?} */\n    let lViewOrLContainer = rootView[CHILD_HEAD];\n    if (!lViewOrLContainer) {\n        return cleanUpView(rootView);\n    }\n    while (lViewOrLContainer) {\n        /** @type {?} */\n        let next = null;\n        if (isLView(lViewOrLContainer)) {\n            // If LView, traverse down to child.\n            next = lViewOrLContainer[CHILD_HEAD];\n        }\n        else {\n            ngDevMode && assertLContainer(lViewOrLContainer);\n            // If container, traverse down to its first LView.\n            /** @type {?} */\n            const firstView = lViewOrLContainer[CONTAINER_HEADER_OFFSET];\n            if (firstView)\n                next = firstView;\n        }\n        if (!next) {\n            // Only clean up view when moving to the side or up, as destroy hooks\n            // should be called in order from the bottom up.\n            while (lViewOrLContainer && !(/** @type {?} */ (lViewOrLContainer))[NEXT] && lViewOrLContainer !== rootView) {\n                cleanUpView(lViewOrLContainer);\n                lViewOrLContainer = getParentState(lViewOrLContainer, rootView);\n            }\n            cleanUpView(lViewOrLContainer || rootView);\n            next = lViewOrLContainer && (/** @type {?} */ (lViewOrLContainer))[NEXT];\n        }\n        lViewOrLContainer = next;\n    }\n}\n/**\n * Inserts a view into a container.\n *\n * This adds the view to the container's array of active views in the correct\n * position. It also adds the view's elements to the DOM if the container isn't a\n * root node of another view (in that case, the view's elements will be added when\n * the container's parent view is added later).\n *\n * @param {?} lView The view to insert\n * @param {?} lContainer The container into which the view should be inserted\n * @param {?} index Which index in the container to insert the child view into\n * @return {?}\n */\nfunction insertView(lView, lContainer, index) {\n    ngDevMode && assertLView(lView);\n    ngDevMode && assertLContainer(lContainer);\n    /** @type {?} */\n    const indexInContainer = CONTAINER_HEADER_OFFSET + index;\n    /** @type {?} */\n    const containerLength = lContainer.length;\n    if (index > 0) {\n        // This is a new view, we need to add it to the children.\n        lContainer[indexInContainer - 1][NEXT] = lView;\n    }\n    if (index < containerLength - CONTAINER_HEADER_OFFSET) {\n        lView[NEXT] = lContainer[indexInContainer];\n        addToArray(lContainer, CONTAINER_HEADER_OFFSET + index, lView);\n    }\n    else {\n        lContainer.push(lView);\n        lView[NEXT] = null;\n    }\n    lView[PARENT] = lContainer;\n    // track views where declaration and insertion points are different\n    /** @type {?} */\n    const declarationLContainer = lView[DECLARATION_LCONTAINER];\n    if (declarationLContainer !== null && lContainer !== declarationLContainer) {\n        trackMovedView(declarationLContainer, lView);\n    }\n    // notify query that a new view has been added\n    /** @type {?} */\n    const lQueries = lView[QUERIES];\n    if (lQueries !== null) {\n        lQueries.insertView(lView[TVIEW]);\n    }\n    // Sets the attached flag\n    lView[FLAGS] |= 128 /* Attached */;\n}\n/**\n * Track views created from the declaration container (TemplateRef) and inserted into a\n * different LContainer.\n * @param {?} declarationContainer\n * @param {?} lView\n * @return {?}\n */\nfunction trackMovedView(declarationContainer, lView) {\n    ngDevMode && assertLContainer(declarationContainer);\n    /** @type {?} */\n    const declaredViews = declarationContainer[MOVED_VIEWS];\n    if (declaredViews === null) {\n        declarationContainer[MOVED_VIEWS] = [lView];\n    }\n    else {\n        declaredViews.push(lView);\n    }\n}\n/**\n * @param {?} declarationContainer\n * @param {?} lView\n * @return {?}\n */\nfunction detachMovedView(declarationContainer, lView) {\n    ngDevMode && assertLContainer(declarationContainer);\n    ngDevMode && assertDefined(declarationContainer[MOVED_VIEWS], 'A projected view should belong to a non-empty projected views collection');\n    /** @type {?} */\n    const projectedViews = (/** @type {?} */ (declarationContainer[MOVED_VIEWS]));\n    /** @type {?} */\n    const declaredViewIndex = projectedViews.indexOf(lView);\n    projectedViews.splice(declaredViewIndex, 1);\n}\n/**\n * Detaches a view from a container.\n *\n * This method removes the view from the container's array of active views. It also\n * removes the view's elements from the DOM.\n *\n * @param {?} lContainer The container from which to detach a view\n * @param {?} removeIndex The index of the view to detach\n * @return {?} Detached LView instance.\n */\nfunction detachView(lContainer, removeIndex) {\n    if (lContainer.length <= CONTAINER_HEADER_OFFSET)\n        return;\n    /** @type {?} */\n    const indexInContainer = CONTAINER_HEADER_OFFSET + removeIndex;\n    /** @type {?} */\n    const viewToDetach = lContainer[indexInContainer];\n    if (viewToDetach) {\n        /** @type {?} */\n        const declarationLContainer = viewToDetach[DECLARATION_LCONTAINER];\n        if (declarationLContainer !== null && declarationLContainer !== lContainer) {\n            detachMovedView(declarationLContainer, viewToDetach);\n        }\n        if (removeIndex > 0) {\n            lContainer[indexInContainer - 1][NEXT] = (/** @type {?} */ (viewToDetach[NEXT]));\n        }\n        /** @type {?} */\n        const removedLView = removeFromArray(lContainer, CONTAINER_HEADER_OFFSET + removeIndex);\n        addRemoveViewFromContainer(viewToDetach, false);\n        // notify query that a view has been removed\n        /** @type {?} */\n        const lQueries = removedLView[QUERIES];\n        if (lQueries !== null) {\n            lQueries.detachView(removedLView[TVIEW]);\n        }\n        viewToDetach[PARENT] = null;\n        viewToDetach[NEXT] = null;\n        // Unsets the attached flag\n        viewToDetach[FLAGS] &= ~128 /* Attached */;\n    }\n    return viewToDetach;\n}\n/**\n * Removes a view from a container, i.e. detaches it and then destroys the underlying LView.\n *\n * @param {?} lContainer The container from which to remove a view\n * @param {?} removeIndex The index of the view to remove\n * @return {?}\n */\nfunction removeView(lContainer, removeIndex) {\n    /** @type {?} */\n    const detachedView = detachView(lContainer, removeIndex);\n    detachedView && destroyLView(detachedView);\n}\n/**\n * A standalone function which destroys an LView,\n * conducting cleanup (e.g. removing listeners, calling onDestroys).\n *\n * @param {?} lView The view to be destroyed.\n * @return {?}\n */\nfunction destroyLView(lView) {\n    if (!(lView[FLAGS] & 256 /* Destroyed */)) {\n        /** @type {?} */\n        const renderer = lView[RENDERER];\n        if (isProceduralRenderer(renderer) && renderer.destroyNode) {\n            executeActionOnView(renderer, 2 /* Destroy */, lView, null, null);\n        }\n        destroyViewTree(lView);\n    }\n}\n/**\n * Determines which LViewOrLContainer to jump to when traversing back up the\n * tree in destroyViewTree.\n *\n * Normally, the view's parent LView should be checked, but in the case of\n * embedded views, the container (which is the view node's parent, but not the\n * LView's parent) needs to be checked for a possible next property.\n *\n * @param {?} lViewOrLContainer The LViewOrLContainer for which we need a parent state\n * @param {?} rootView The rootView, so we don't propagate too far up the view tree\n * @return {?} The correct parent LViewOrLContainer\n */\nfunction getParentState(lViewOrLContainer, rootView) {\n    /** @type {?} */\n    let tNode;\n    if (isLView(lViewOrLContainer) && (tNode = lViewOrLContainer[T_HOST]) &&\n        tNode.type === 2 /* View */) {\n        // if it's an embedded view, the state needs to go up to the container, in case the\n        // container has a next\n        return getLContainer((/** @type {?} */ (tNode)), lViewOrLContainer);\n    }\n    else {\n        // otherwise, use parent view for containers or component views\n        return lViewOrLContainer[PARENT] === rootView ? null : lViewOrLContainer[PARENT];\n    }\n}\n/**\n * Calls onDestroys hooks for all directives and pipes in a given view and then removes all\n * listeners. Listeners are removed as the last step so events delivered in the onDestroys hooks\n * can be propagated to \\@Output listeners.\n *\n * @param {?} view The LView to clean up\n * @return {?}\n */\nfunction cleanUpView(view) {\n    if (isLView(view) && !(view[FLAGS] & 256 /* Destroyed */)) {\n        // Usually the Attached flag is removed when the view is detached from its parent, however\n        // if it's a root view, the flag won't be unset hence why we're also removing on destroy.\n        view[FLAGS] &= ~128 /* Attached */;\n        // Mark the LView as destroyed *before* executing the onDestroy hooks. An onDestroy hook\n        // runs arbitrary user code, which could include its own `viewRef.destroy()` (or similar). If\n        // We don't flag the view as destroyed before the hooks, this could lead to an infinite loop.\n        // This also aligns with the ViewEngine behavior. It also means that the onDestroy hook is\n        // really more of an \"afterDestroy\" hook if you think about it.\n        view[FLAGS] |= 256 /* Destroyed */;\n        executeOnDestroys(view);\n        removeListeners(view);\n        /** @type {?} */\n        const hostTNode = view[T_HOST];\n        // For component views only, the local renderer is destroyed as clean up time.\n        if (hostTNode && hostTNode.type === 3 /* Element */ && isProceduralRenderer(view[RENDERER])) {\n            ngDevMode && ngDevMode.rendererDestroy++;\n            ((/** @type {?} */ (view[RENDERER]))).destroy();\n        }\n        /** @type {?} */\n        const declarationContainer = view[DECLARATION_LCONTAINER];\n        // we are dealing with an embedded view that is still inserted into a container\n        if (declarationContainer !== null && isLContainer(view[PARENT])) {\n            // and this is a projected view\n            if (declarationContainer !== view[PARENT]) {\n                detachMovedView(declarationContainer, view);\n            }\n            // For embedded views still attached to a container: remove query result from this view.\n            /** @type {?} */\n            const lQueries = view[QUERIES];\n            if (lQueries !== null) {\n                lQueries.detachView(view[TVIEW]);\n            }\n        }\n    }\n}\n/**\n * Removes listeners and unsubscribes from output subscriptions\n * @param {?} lView\n * @return {?}\n */\nfunction removeListeners(lView) {\n    /** @type {?} */\n    const tCleanup = lView[TVIEW].cleanup;\n    if (tCleanup !== null) {\n        /** @type {?} */\n        const lCleanup = (/** @type {?} */ (lView[CLEANUP]));\n        for (let i = 0; i < tCleanup.length - 1; i += 2) {\n            if (typeof tCleanup[i] === 'string') {\n                // This is a native DOM listener\n                /** @type {?} */\n                const idxOrTargetGetter = tCleanup[i + 1];\n                /** @type {?} */\n                const target = typeof idxOrTargetGetter === 'function' ?\n                    idxOrTargetGetter(lView) :\n                    unwrapRNode(lView[idxOrTargetGetter]);\n                /** @type {?} */\n                const listener = lCleanup[tCleanup[i + 2]];\n                /** @type {?} */\n                const useCaptureOrSubIdx = tCleanup[i + 3];\n                if (typeof useCaptureOrSubIdx === 'boolean') {\n                    // native DOM listener registered with Renderer3\n                    target.removeEventListener(tCleanup[i], listener, useCaptureOrSubIdx);\n                }\n                else {\n                    if (useCaptureOrSubIdx >= 0) {\n                        // unregister\n                        lCleanup[useCaptureOrSubIdx]();\n                    }\n                    else {\n                        // Subscription\n                        lCleanup[-useCaptureOrSubIdx].unsubscribe();\n                    }\n                }\n                i += 2;\n            }\n            else {\n                // This is a cleanup function that is grouped with the index of its context\n                /** @type {?} */\n                const context = lCleanup[tCleanup[i + 1]];\n                tCleanup[i].call(context);\n            }\n        }\n        lView[CLEANUP] = null;\n    }\n}\n/**\n * Calls onDestroy hooks for this view\n * @param {?} view\n * @return {?}\n */\nfunction executeOnDestroys(view) {\n    /** @type {?} */\n    const tView = view[TVIEW];\n    /** @type {?} */\n    let destroyHooks;\n    if (tView != null && (destroyHooks = tView.destroyHooks) != null) {\n        for (let i = 0; i < destroyHooks.length; i += 2) {\n            /** @type {?} */\n            const context = view[(/** @type {?} */ (destroyHooks[i]))];\n            // Only call the destroy hook if the context has been requested.\n            if (!(context instanceof NodeInjectorFactory)) {\n                ((/** @type {?} */ (destroyHooks[i + 1]))).call(context);\n            }\n        }\n    }\n}\n/**\n * Returns a native element if a node can be inserted into the given parent.\n *\n * There are two reasons why we may not be able to insert a element immediately.\n * - Projection: When creating a child content element of a component, we have to skip the\n *   insertion because the content of a component will be projected.\n *   `<component><content>delayed due to projection</content></component>`\n * - Parent container is disconnected: This can happen when we are inserting a view into\n *   parent container, which itself is disconnected. For example the parent container is part\n *   of a View which has not be inserted or is made for projection but has not been inserted\n *   into destination.\n * @param {?} tNode\n * @param {?} currentView\n * @return {?}\n */\nfunction getRenderParent(tNode, currentView) {\n    // Nodes of the top-most view can be inserted eagerly.\n    if (isRootView(currentView)) {\n        return nativeParentNode(currentView[RENDERER], getNativeByTNode(tNode, currentView));\n    }\n    // Skip over element and ICU containers as those are represented by a comment node and\n    // can't be used as a render parent.\n    /** @type {?} */\n    const parent = getHighestElementOrICUContainer(tNode);\n    /** @type {?} */\n    const renderParent = parent.parent;\n    // If the parent is null, then we are inserting across views: either into an embedded view or a\n    // component view.\n    if (renderParent == null) {\n        /** @type {?} */\n        const hostTNode = (/** @type {?} */ (currentView[T_HOST]));\n        if (hostTNode.type === 2 /* View */) {\n            // We are inserting a root element of an embedded view We might delay insertion of children\n            // for a given view if it is disconnected. This might happen for 2 main reasons:\n            // - view is not inserted into any container(view was created but not inserted yet)\n            // - view is inserted into a container but the container itself is not inserted into the DOM\n            // (container might be part of projection or child of a view that is not inserted yet).\n            // In other words we can insert children of a given view if this view was inserted into a\n            // container and the container itself has its render parent determined.\n            return getContainerRenderParent((/** @type {?} */ (hostTNode)), currentView);\n        }\n        else {\n            // We are inserting a root element of the component view into the component host element and\n            // it should always be eager.\n            return getHostNative(currentView);\n        }\n    }\n    else {\n        /** @type {?} */\n        const isIcuCase = parent && parent.type === 5 /* IcuContainer */;\n        // If the parent of this node is an ICU container, then it is represented by comment node and we\n        // need to use it as an anchor. If it is projected then its direct parent node is the renderer.\n        if (isIcuCase && parent.flags & 2 /* isProjected */) {\n            return (/** @type {?} */ (getNativeByTNode(parent, currentView).parentNode));\n        }\n        ngDevMode && assertNodeType(renderParent, 3 /* Element */);\n        if (renderParent.flags & 1 /* isComponent */ && !isIcuCase) {\n            /** @type {?} */\n            const tData = currentView[TVIEW].data;\n            /** @type {?} */\n            const tNode = (/** @type {?} */ (tData[renderParent.index]));\n            /** @type {?} */\n            const encapsulation = ((/** @type {?} */ (tData[tNode.directiveStart]))).encapsulation;\n            // We've got a parent which is an element in the current view. We just need to verify if the\n            // parent element is not a component. Component's content nodes are not inserted immediately\n            // because they will be projected, and so doing insert at this point would be wasteful.\n            // Since the projection would then move it to its final destination. Note that we can't\n            // make this assumption when using the Shadow DOM, because the native projection placeholders\n            // (<content> or <slot>) have to be in place as elements are being inserted.\n            if (encapsulation !== ViewEncapsulation.ShadowDom &&\n                encapsulation !== ViewEncapsulation.Native) {\n                return null;\n            }\n        }\n        return (/** @type {?} */ (getNativeByTNode(renderParent, currentView)));\n    }\n}\n/**\n * Gets the native host element for a given view. Will return null if the current view does not have\n * a host element.\n * @param {?} currentView\n * @return {?}\n */\nfunction getHostNative(currentView) {\n    ngDevMode && assertLView(currentView);\n    /** @type {?} */\n    const hostTNode = currentView[T_HOST];\n    return hostTNode && hostTNode.type === 3 /* Element */ ?\n        ((/** @type {?} */ (getNativeByTNode(hostTNode, (/** @type {?} */ (getLViewParent(currentView))))))) :\n        null;\n}\n/**\n * Inserts a native node before another native node for a given parent using {\\@link Renderer3}.\n * This is a utility function that can be used when native nodes were determined - it abstracts an\n * actual renderer being used.\n * @param {?} renderer\n * @param {?} parent\n * @param {?} child\n * @param {?} beforeNode\n * @return {?}\n */\nfunction nativeInsertBefore(renderer, parent, child, beforeNode) {\n    ngDevMode && ngDevMode.rendererInsertBefore++;\n    if (isProceduralRenderer(renderer)) {\n        renderer.insertBefore(parent, child, beforeNode);\n    }\n    else {\n        parent.insertBefore(child, beforeNode, true);\n    }\n}\n/**\n * @param {?} renderer\n * @param {?} parent\n * @param {?} child\n * @return {?}\n */\nfunction nativeAppendChild(renderer, parent, child) {\n    ngDevMode && ngDevMode.rendererAppendChild++;\n    if (isProceduralRenderer(renderer)) {\n        renderer.appendChild(parent, child);\n    }\n    else {\n        parent.appendChild(child);\n    }\n}\n/**\n * @param {?} renderer\n * @param {?} parent\n * @param {?} child\n * @param {?} beforeNode\n * @return {?}\n */\nfunction nativeAppendOrInsertBefore(renderer, parent, child, beforeNode) {\n    if (beforeNode !== null) {\n        nativeInsertBefore(renderer, parent, child, beforeNode);\n    }\n    else {\n        nativeAppendChild(renderer, parent, child);\n    }\n}\n/**\n * Removes a node from the DOM given its native parent.\n * @param {?} renderer\n * @param {?} parent\n * @param {?} child\n * @param {?=} isHostElement\n * @return {?}\n */\nfunction nativeRemoveChild(renderer, parent, child, isHostElement) {\n    if (isProceduralRenderer(renderer)) {\n        renderer.removeChild(parent, child, isHostElement);\n    }\n    else {\n        parent.removeChild(child);\n    }\n}\n/**\n * Returns a native parent of a given native node.\n * @param {?} renderer\n * @param {?} node\n * @return {?}\n */\nfunction nativeParentNode(renderer, node) {\n    return (/** @type {?} */ ((isProceduralRenderer(renderer) ? renderer.parentNode(node) : node.parentNode)));\n}\n/**\n * Returns a native sibling of a given native node.\n * @param {?} renderer\n * @param {?} node\n * @return {?}\n */\nfunction nativeNextSibling(renderer, node) {\n    return isProceduralRenderer(renderer) ? renderer.nextSibling(node) : node.nextSibling;\n}\n/**\n * Finds a native \"anchor\" node for cases where we can't append a native child directly\n * (`appendChild`) and need to use a reference (anchor) node for the `insertBefore` operation.\n * @param {?} parentTNode\n * @param {?} lView\n * @return {?}\n */\nfunction getNativeAnchorNode(parentTNode, lView) {\n    if (parentTNode.type === 2 /* View */) {\n        /** @type {?} */\n        const lContainer = (/** @type {?} */ (getLContainer((/** @type {?} */ (parentTNode)), lView)));\n        /** @type {?} */\n        const index = lContainer.indexOf(lView, CONTAINER_HEADER_OFFSET) - CONTAINER_HEADER_OFFSET;\n        return getBeforeNodeForView(index, lContainer);\n    }\n    else if (parentTNode.type === 4 /* ElementContainer */ ||\n        parentTNode.type === 5 /* IcuContainer */) {\n        return getNativeByTNode(parentTNode, lView);\n    }\n    return null;\n}\n/**\n * Appends the `child` native node (or a collection of nodes) to the `parent`.\n *\n * The element insertion might be delayed {\\@link canInsertNativeNode}.\n *\n * @param {?} childEl The native child (or children) that should be appended\n * @param {?} childTNode The TNode of the child element\n * @param {?} currentView The current LView\n * @return {?} Whether or not the child was appended\n */\nfunction appendChild(childEl, childTNode, currentView) {\n    /** @type {?} */\n    const renderParent = getRenderParent(childTNode, currentView);\n    if (renderParent != null) {\n        /** @type {?} */\n        const renderer = currentView[RENDERER];\n        /** @type {?} */\n        const parentTNode = childTNode.parent || (/** @type {?} */ (currentView[T_HOST]));\n        /** @type {?} */\n        const anchorNode = getNativeAnchorNode(parentTNode, currentView);\n        if (Array.isArray(childEl)) {\n            for (let nativeNode of childEl) {\n                nativeAppendOrInsertBefore(renderer, renderParent, nativeNode, anchorNode);\n            }\n        }\n        else {\n            nativeAppendOrInsertBefore(renderer, renderParent, childEl, anchorNode);\n        }\n    }\n}\n/**\n * Gets the top-level element or an ICU container if those containers are nested.\n *\n * @param {?} tNode The starting TNode for which we should skip element and ICU containers\n * @return {?} The TNode of the highest level ICU container or element container\n */\nfunction getHighestElementOrICUContainer(tNode) {\n    while (tNode.parent != null && (tNode.parent.type === 4 /* ElementContainer */ ||\n        tNode.parent.type === 5 /* IcuContainer */)) {\n        tNode = tNode.parent;\n    }\n    return tNode;\n}\n/**\n * @param {?} viewIndexInContainer\n * @param {?} lContainer\n * @return {?}\n */\nfunction getBeforeNodeForView(viewIndexInContainer, lContainer) {\n    /** @type {?} */\n    const nextViewIndex = CONTAINER_HEADER_OFFSET + viewIndexInContainer + 1;\n    if (nextViewIndex < lContainer.length) {\n        /** @type {?} */\n        const lView = (/** @type {?} */ (lContainer[nextViewIndex]));\n        ngDevMode && assertDefined(lView[T_HOST], 'Missing Host TNode');\n        /** @type {?} */\n        const tViewNodeChild = ((/** @type {?} */ (lView[T_HOST]))).child;\n        return tViewNodeChild !== null ? getNativeByTNodeOrNull(tViewNodeChild, lView) :\n            lContainer[NATIVE];\n    }\n    else {\n        return lContainer[NATIVE];\n    }\n}\n/**\n * Removes a native node itself using a given renderer. To remove the node we are looking up its\n * parent from the native tree as not all platforms / browsers support the equivalent of\n * node.remove().\n *\n * @param {?} renderer A renderer to be used\n * @param {?} rNode The native node that should be removed\n * @param {?=} isHostElement A flag indicating if a node to be removed is a host of a component.\n * @return {?}\n */\nfunction nativeRemoveNode(renderer, rNode, isHostElement) {\n    /** @type {?} */\n    const nativeParent = nativeParentNode(renderer, rNode);\n    if (nativeParent) {\n        nativeRemoveChild(renderer, nativeParent, rNode, isHostElement);\n    }\n}\n/**\n * Appends nodes to a target projection place. Nodes to insert were previously re-distribution and\n * stored on a component host level.\n * @param {?} lView A LView where nodes are inserted (target LView)\n * @param {?} tProjectionNode A projection node where previously re-distribution should be appended\n * (target insertion place)\n * @param {?} selectorIndex A bucket from where nodes to project should be taken\n * @param {?} componentView A where projectable nodes were initially created (source view)\n * @return {?}\n */\nfunction appendProjectedNodes(lView, tProjectionNode, selectorIndex, componentView) {\n    /** @type {?} */\n    const projectedView = (/** @type {?} */ ((/** @type {?} */ (componentView[PARENT]))));\n    /** @type {?} */\n    const componentNode = (/** @type {?} */ (componentView[T_HOST]));\n    /** @type {?} */\n    let nodeToProject = ((/** @type {?} */ (componentNode.projection)))[selectorIndex];\n    if (Array.isArray(nodeToProject)) {\n        appendChild(nodeToProject, tProjectionNode, lView);\n    }\n    else {\n        while (nodeToProject) {\n            if (!(nodeToProject.flags & 32 /* isDetached */)) {\n                if (nodeToProject.type === 1 /* Projection */) {\n                    appendProjectedNodes(lView, tProjectionNode, ((/** @type {?} */ (nodeToProject))).projection, findComponentView(projectedView));\n                }\n                else {\n                    // This flag must be set now or we won't know that this node is projected\n                    // if the nodes are inserted into a container later.\n                    nodeToProject.flags |= 2 /* isProjected */;\n                    appendProjectedNode(nodeToProject, tProjectionNode, lView, projectedView);\n                }\n            }\n            nodeToProject = nodeToProject.projectionNext;\n        }\n    }\n}\n/**\n * Loops over all children of a TNode container and appends them to the DOM\n *\n * @param {?} ngContainerChildTNode The first child of the TNode container\n * @param {?} tProjectionNode The projection (ng-content) TNode\n * @param {?} currentView Current LView\n * @param {?} projectionView Projection view (view above current)\n * @return {?}\n */\nfunction appendProjectedChildren(ngContainerChildTNode, tProjectionNode, currentView, projectionView) {\n    while (ngContainerChildTNode) {\n        appendProjectedNode(ngContainerChildTNode, tProjectionNode, currentView, projectionView);\n        ngContainerChildTNode = ngContainerChildTNode.next;\n    }\n}\n/**\n * Appends a projected node to the DOM, or in the case of a projected container,\n * appends the nodes from all of the container's active views to the DOM.\n *\n * @param {?} projectedTNode The TNode to be projected\n * @param {?} tProjectionNode The projection (ng-content) TNode\n * @param {?} currentView Current LView\n * @param {?} projectionView Projection view (view above current)\n * @return {?}\n */\nfunction appendProjectedNode(projectedTNode, tProjectionNode, currentView, projectionView) {\n    /** @type {?} */\n    const native = getNativeByTNode(projectedTNode, projectionView);\n    appendChild(native, tProjectionNode, currentView);\n    // the projected contents are processed while in the shadow view (which is the currentView)\n    // therefore we need to extract the view where the host element lives since it's the\n    // logical container of the content projected views\n    attachPatchData(native, projectionView);\n    /** @type {?} */\n    const nodeOrContainer = projectionView[projectedTNode.index];\n    if (projectedTNode.type === 0 /* Container */) {\n        // The node we are adding is a container and we are adding it to an element which\n        // is not a component (no more re-projection).\n        // Alternatively a container is projected at the root of a component's template\n        // and can't be re-projected (as not content of any component).\n        // Assign the final projection location in those cases.\n        for (let i = CONTAINER_HEADER_OFFSET; i < nodeOrContainer.length; i++) {\n            addRemoveViewFromContainer(nodeOrContainer[i], true, nodeOrContainer[NATIVE]);\n        }\n    }\n    else if (projectedTNode.type === 5 /* IcuContainer */) {\n        // The node we are adding is an ICU container which is why we also need to project all the\n        // children nodes that might have been created previously and are linked to this anchor\n        /** @type {?} */\n        let ngContainerChildTNode = (/** @type {?} */ (projectedTNode.child));\n        appendProjectedChildren(ngContainerChildTNode, ngContainerChildTNode, projectionView, projectionView);\n    }\n    else {\n        if (projectedTNode.type === 4 /* ElementContainer */) {\n            appendProjectedChildren(projectedTNode.child, tProjectionNode, currentView, projectionView);\n        }\n        if (isLContainer(nodeOrContainer)) {\n            appendChild(nodeOrContainer[NATIVE], tProjectionNode, currentView);\n        }\n    }\n}\n/**\n * `executeActionOnView` performs an operation on the view as specified in `action` (insert, detach,\n * destroy)\n *\n * Inserting a view without projection or containers at top level is simple. Just iterate over the\n * root nodes of the View, and for each node perform the `action`.\n *\n * Things get more complicated with containers and projections. That is because coming across:\n * - Container: implies that we have to insert/remove/destroy the views of that container as well\n *              which in turn can have their own Containers at the View roots.\n * - Projection: implies that we have to insert/remove/destroy the nodes of the projection. The\n *               complication is that the nodes we are projecting can themselves have Containers\n *               or other Projections.\n *\n * As you can see this is a very recursive problem. While the recursive implementation is not the\n * most efficient one, trying to unroll the nodes non-recursively results in very complex code that\n * is very hard (to maintain). We are sacrificing a bit of performance for readability using a\n * recursive implementation.\n *\n * @param {?} renderer Renderer to use\n * @param {?} action action to perform (insert, detach, destroy)\n * @param {?} lView The LView which needs to be inserted, detached, destroyed.\n * @param {?} renderParent parent DOM element for insertion/removal.\n * @param {?} beforeNode Before which node the insertions should happen.\n * @return {?}\n */\nfunction executeActionOnView(renderer, action, lView, renderParent, beforeNode) {\n    /** @type {?} */\n    const tView = lView[TVIEW];\n    ngDevMode && assertNodeType((/** @type {?} */ (tView.node)), 2 /* View */);\n    /** @type {?} */\n    let viewRootTNode = (/** @type {?} */ (tView.node)).child;\n    while (viewRootTNode !== null) {\n        executeActionOnNode(renderer, action, lView, viewRootTNode, renderParent, beforeNode);\n        viewRootTNode = viewRootTNode.next;\n    }\n}\n/**\n * `executeActionOnProjection` performs an operation on the projection specified by `action`\n * (insert, detach, destroy).\n *\n * Inserting a projection requires us to locate the projected nodes from the parent component. The\n * complication is that those nodes themselves could be re-projected from their parent component.\n *\n * @param {?} renderer Renderer to use\n * @param {?} action action to perform (insert, detach, destroy)\n * @param {?} lView The LView which needs to be inserted, detached, destroyed.\n * @param {?} tProjectionNode projection TNode to process\n * @param {?} renderParent parent DOM element for insertion/removal.\n * @param {?} beforeNode Before which node the insertions should happen.\n * @return {?}\n */\nfunction executeActionOnProjection(renderer, action, lView, tProjectionNode, renderParent, beforeNode) {\n    /** @type {?} */\n    const componentLView = findComponentView(lView);\n    /** @type {?} */\n    const componentNode = (/** @type {?} */ (componentLView[T_HOST]));\n    ngDevMode && assertDefined(componentNode.projection, 'Element nodes for which projection is processed must have projection defined.');\n    /** @type {?} */\n    const nodeToProject = (/** @type {?} */ (componentNode.projection))[tProjectionNode.projection];\n    if (nodeToProject !== undefined) {\n        if (Array.isArray(nodeToProject)) {\n            for (let i = 0; i < nodeToProject.length; i++) {\n                /** @type {?} */\n                const rNode = nodeToProject[i];\n                ngDevMode && assertDomNode(rNode);\n                executeActionOnElementOrContainer(action, renderer, renderParent, rNode, beforeNode);\n            }\n        }\n        else {\n            /** @type {?} */\n            let projectionTNode = nodeToProject;\n            /** @type {?} */\n            const projectedComponentLView = (/** @type {?} */ (componentLView[PARENT]));\n            while (projectionTNode !== null) {\n                executeActionOnNode(renderer, action, projectedComponentLView, projectionTNode, renderParent, beforeNode);\n                projectionTNode = projectionTNode.projectionNext;\n            }\n        }\n    }\n}\n/**\n * `executeActionOnContainer` performs an operation on the container and its views as specified by\n * `action` (insert, detach, destroy)\n *\n * Inserting a Container is complicated by the fact that the container may have Views which\n * themselves have containers or projections.\n *\n * @param {?} renderer Renderer to use\n * @param {?} action action to perform (insert, detach, destroy)\n * @param {?} lContainer The LContainer which needs to be inserted, detached, destroyed.\n * @param {?} renderParent parent DOM element for insertion/removal.\n * @param {?} beforeNode Before which node the insertions should happen.\n * @return {?}\n */\nfunction executeActionOnContainer(renderer, action, lContainer, renderParent, beforeNode) {\n    ngDevMode && assertLContainer(lContainer);\n    /** @type {?} */\n    const anchor = lContainer[NATIVE];\n    // LContainer has its own before node.\n    /** @type {?} */\n    const native = unwrapRNode(lContainer);\n    // An LContainer can be created dynamically on any node by injecting ViewContainerRef.\n    // Asking for a ViewContainerRef on an element will result in a creation of a separate anchor node\n    // (comment in the DOM) that will be different from the LContainer's host node. In this particular\n    // case we need to execute action on 2 nodes:\n    // - container's host node (this is done in the executeNodeAction)\n    // - container's host node (this is done here)\n    if (anchor !== native) {\n        executeActionOnElementOrContainer(action, renderer, renderParent, anchor, beforeNode);\n    }\n    for (let i = CONTAINER_HEADER_OFFSET; i < lContainer.length; i++) {\n        /** @type {?} */\n        const lView = (/** @type {?} */ (lContainer[i]));\n        executeActionOnView(renderer, action, lView, renderParent, anchor);\n    }\n}\n/**\n * `executeActionOnElementContainerOrIcuContainer` performs an operation on the ng-container node\n * and its child nodes as specified by the `action` (insert, detach, destroy).\n *\n * @param {?} renderer Renderer to use\n * @param {?} action action to perform (insert, detach, destroy)\n * @param {?} lView The LView which needs to be inserted, detached, destroyed.\n * @param {?} tNode The TNode associated with the `ElementContainer` or `IcuContainer`.\n * @param {?} renderParent parent DOM element for insertion/removal.\n * @param {?} beforeNode Before which node the insertions should happen.\n * @return {?}\n */\nfunction executeActionOnElementContainerOrIcuContainer(renderer, action, lView, tNode, renderParent, beforeNode) {\n    /** @type {?} */\n    const node = lView[tNode.index];\n    executeActionOnElementOrContainer(action, renderer, renderParent, node, beforeNode);\n    /** @type {?} */\n    let childTNode = tNode.child;\n    while (childTNode) {\n        executeActionOnNode(renderer, action, lView, childTNode, renderParent, beforeNode);\n        childTNode = childTNode.next;\n    }\n}\n/**\n * @param {?} renderer\n * @param {?} action\n * @param {?} lView\n * @param {?} tNode\n * @param {?} renderParent\n * @param {?} beforeNode\n * @return {?}\n */\nfunction executeActionOnNode(renderer, action, lView, tNode, renderParent, beforeNode) {\n    /** @type {?} */\n    const nodeType = tNode.type;\n    if (!(tNode.flags & 32 /* isDetached */)) {\n        if (nodeType === 4 /* ElementContainer */ || nodeType === 5 /* IcuContainer */) {\n            executeActionOnElementContainerOrIcuContainer(renderer, action, lView, (/** @type {?} */ (tNode)), renderParent, beforeNode);\n        }\n        else if (nodeType === 1 /* Projection */) {\n            executeActionOnProjection(renderer, action, lView, (/** @type {?} */ (tNode)), renderParent, beforeNode);\n        }\n        else {\n            ngDevMode && assertNodeOfPossibleTypes(tNode, 3 /* Element */, 0 /* Container */);\n            executeActionOnElementOrContainer(action, renderer, renderParent, lView[tNode.index], beforeNode);\n        }\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Unwraps a parent injector location number to find the view offset from the current injector,\n * then walks up the declaration view tree until the TNode of the parent injector is found.\n *\n * @param {?} location The location of the parent injector, which contains the view offset\n * @param {?} startView The LView instance from which to start walking up the view tree\n * @param {?} startTNode The TNode instance of the starting element\n * @return {?} The TNode of the parent injector\n */\nfunction getParentInjectorTNode(location, startView, startTNode) {\n    if (startTNode.parent && startTNode.parent.injectorIndex !== -1) {\n        // view offset is 0\n        /** @type {?} */\n        const injectorIndex = startTNode.parent.injectorIndex;\n        /** @type {?} */\n        let parentTNode = startTNode.parent;\n        while (parentTNode.parent != null && injectorIndex == parentTNode.injectorIndex) {\n            parentTNode = parentTNode.parent;\n        }\n        return parentTNode;\n    }\n    /** @type {?} */\n    let viewOffset = getParentInjectorViewOffset(location);\n    // view offset is 1\n    /** @type {?} */\n    let parentView = startView;\n    /** @type {?} */\n    let parentTNode = (/** @type {?} */ (startView[T_HOST]));\n    // view offset is superior to 1\n    while (viewOffset > 1) {\n        parentView = (/** @type {?} */ (parentView[DECLARATION_VIEW]));\n        parentTNode = (/** @type {?} */ (parentView[T_HOST]));\n        viewOffset--;\n    }\n    return parentTNode;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @record\n */\nfunction viewEngine_ChangeDetectorRef_interface() { }\n/**\n * @template T\n */\nclass ViewRef {\n    /**\n     * @param {?} _lView\n     * @param {?} _context\n     * @param {?} _componentIndex\n     */\n    constructor(_lView, _context, _componentIndex) {\n        this._context = _context;\n        this._componentIndex = _componentIndex;\n        this._appRef = null;\n        this._viewContainerRef = null;\n        /**\n         * \\@internal\n         */\n        this._tViewNode = null;\n        this._lView = _lView;\n    }\n    /**\n     * @return {?}\n     */\n    get rootNodes() {\n        if (this._lView[HOST] == null) {\n            /** @type {?} */\n            const tView = (/** @type {?} */ (this._lView[T_HOST]));\n            return collectNativeNodes(this._lView, tView, []);\n        }\n        return [];\n    }\n    /**\n     * @return {?}\n     */\n    get context() { return this._context ? this._context : this._lookUpContext(); }\n    /**\n     * @return {?}\n     */\n    get destroyed() {\n        return (this._lView[FLAGS] & 256 /* Destroyed */) === 256 /* Destroyed */;\n    }\n    /**\n     * @return {?}\n     */\n    destroy() {\n        if (this._appRef) {\n            this._appRef.detachView(this);\n        }\n        else if (this._viewContainerRef) {\n            /** @type {?} */\n            const index = this._viewContainerRef.indexOf(this);\n            if (index > -1) {\n                this._viewContainerRef.detach(index);\n            }\n            this._viewContainerRef = null;\n        }\n        destroyLView(this._lView);\n    }\n    /**\n     * @param {?} callback\n     * @return {?}\n     */\n    onDestroy(callback) { storeCleanupFn(this._lView, callback); }\n    /**\n     * Marks a view and all of its ancestors dirty.\n     *\n     * It also triggers change detection by calling `scheduleTick` internally, which coalesces\n     * multiple `markForCheck` calls to into one change detection run.\n     *\n     * This can be used to ensure an {\\@link ChangeDetectionStrategy#OnPush OnPush} component is\n     * checked when it needs to be re-rendered but the two normal triggers haven't marked it\n     * dirty (i.e. inputs haven't changed and events haven't fired in the view).\n     *\n     * <!-- TODO: Add a link to a chapter on OnPush components -->\n     *\n     * \\@usageNotes\n     * ### Example\n     *\n     * ```typescript\n     * \\@Component({\n     *   selector: 'my-app',\n     *   template: `Number of ticks: {{numberOfTicks}}`\n     *   changeDetection: ChangeDetectionStrategy.OnPush,\n     * })\n     * class AppComponent {\n     *   numberOfTicks = 0;\n     *\n     *   constructor(private ref: ChangeDetectorRef) {\n     *     setInterval(() => {\n     *       this.numberOfTicks++;\n     *       // the following is required, otherwise the view will not be updated\n     *       this.ref.markForCheck();\n     *     }, 1000);\n     *   }\n     * }\n     * ```\n     * @return {?}\n     */\n    markForCheck() { markViewDirty(this._lView); }\n    /**\n     * Detaches the view from the change detection tree.\n     *\n     * Detached views will not be checked during change detection runs until they are\n     * re-attached, even if they are dirty. `detach` can be used in combination with\n     * {\\@link ChangeDetectorRef#detectChanges detectChanges} to implement local change\n     * detection checks.\n     *\n     * <!-- TODO: Add a link to a chapter on detach/reattach/local digest -->\n     * <!-- TODO: Add a live demo once ref.detectChanges is merged into master -->\n     *\n     * \\@usageNotes\n     * ### Example\n     *\n     * The following example defines a component with a large list of readonly data.\n     * Imagine the data changes constantly, many times per second. For performance reasons,\n     * we want to check and update the list every five seconds. We can do that by detaching\n     * the component's change detector and doing a local check every five seconds.\n     *\n     * ```typescript\n     * class DataProvider {\n     *   // in a real application the returned data will be different every time\n     *   get data() {\n     *     return [1,2,3,4,5];\n     *   }\n     * }\n     *\n     * \\@Component({\n     *   selector: 'giant-list',\n     *   template: `\n     *     <li *ngFor=\"let d of dataProvider.data\">Data {{d}}</li>\n     *   `,\n     * })\n     * class GiantList {\n     *   constructor(private ref: ChangeDetectorRef, private dataProvider: DataProvider) {\n     *     ref.detach();\n     *     setInterval(() => {\n     *       this.ref.detectChanges();\n     *     }, 5000);\n     *   }\n     * }\n     *  /\n     *   selector: 'app',\n     *   providers: [DataProvider],\n     *   template: `\n     *     <giant-list><giant-list>\n     *   `,\n     * })\n     * class App {\n     * }\n     * ```\n     * @return {?}\n     */\n    detach() { this._lView[FLAGS] &= ~128 /* Attached */; }\n    /**\n     * Re-attaches a view to the change detection tree.\n     *\n     * This can be used to re-attach views that were previously detached from the tree\n     * using {\\@link ChangeDetectorRef#detach detach}. Views are attached to the tree by default.\n     *\n     * <!-- TODO: Add a link to a chapter on detach/reattach/local digest -->\n     *\n     * \\@usageNotes\n     * ### Example\n     *\n     * The following example creates a component displaying `live` data. The component will detach\n     * its change detector from the main change detector tree when the component's live property\n     * is set to false.\n     *\n     * ```typescript\n     * class DataProvider {\n     *   data = 1;\n     *\n     *   constructor() {\n     *     setInterval(() => {\n     *       this.data = this.data * 2;\n     *     }, 500);\n     *   }\n     * }\n     *\n     * \\@Component({\n     *   selector: 'live-data',\n     *   inputs: ['live'],\n     *   template: 'Data: {{dataProvider.data}}'\n     * })\n     * class LiveData {\n     *   constructor(private ref: ChangeDetectorRef, private dataProvider: DataProvider) {}\n     *\n     *   set live(value) {\n     *     if (value) {\n     *       this.ref.reattach();\n     *     } else {\n     *       this.ref.detach();\n     *     }\n     *   }\n     * }\n     *  /\n     *   selector: 'my-app',\n     *   providers: [DataProvider],\n     *   template: `\n     *     Live Update: <input type=\"checkbox\" [(ngModel)]=\"live\">\n     *     <live-data [live]=\"live\"><live-data>\n     *   `,\n     * })\n     * class AppComponent {\n     *   live = true;\n     * }\n     * ```\n     * @return {?}\n     */\n    reattach() { this._lView[FLAGS] |= 128 /* Attached */; }\n    /**\n     * Checks the view and its children.\n     *\n     * This can also be used in combination with {\\@link ChangeDetectorRef#detach detach} to implement\n     * local change detection checks.\n     *\n     * <!-- TODO: Add a link to a chapter on detach/reattach/local digest -->\n     * <!-- TODO: Add a live demo once ref.detectChanges is merged into master -->\n     *\n     * \\@usageNotes\n     * ### Example\n     *\n     * The following example defines a component with a large list of readonly data.\n     * Imagine, the data changes constantly, many times per second. For performance reasons,\n     * we want to check and update the list every five seconds.\n     *\n     * We can do that by detaching the component's change detector and doing a local change detection\n     * check every five seconds.\n     *\n     * See {\\@link ChangeDetectorRef#detach detach} for more information.\n     * @return {?}\n     */\n    detectChanges() { detectChangesInternal(this._lView, this.context); }\n    /**\n     * Checks the change detector and its children, and throws if any changes are detected.\n     *\n     * This is used in development mode to verify that running change detection doesn't\n     * introduce other changes.\n     * @return {?}\n     */\n    checkNoChanges() { checkNoChangesInternal(this._lView, this.context); }\n    /**\n     * @param {?} vcRef\n     * @return {?}\n     */\n    attachToViewContainerRef(vcRef) {\n        if (this._appRef) {\n            throw new Error('This view is already attached directly to the ApplicationRef!');\n        }\n        this._viewContainerRef = vcRef;\n    }\n    /**\n     * @return {?}\n     */\n    detachFromAppRef() {\n        this._appRef = null;\n        renderDetachView(this._lView);\n    }\n    /**\n     * @param {?} appRef\n     * @return {?}\n     */\n    attachToAppRef(appRef) {\n        if (this._viewContainerRef) {\n            throw new Error('This view is already attached to a ViewContainer!');\n        }\n        this._appRef = appRef;\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _lookUpContext() {\n        return this._context = (/** @type {?} */ ((/** @type {?} */ (getLViewParent(this._lView)))[this._componentIndex]));\n    }\n}\nif (false) {}\n/**\n * \\@internal\n * @template T\n */\nclass RootViewRef extends ViewRef {\n    /**\n     * @param {?} _view\n     */\n    constructor(_view) {\n        super(_view, null, -1);\n        this._view = _view;\n    }\n    /**\n     * @return {?}\n     */\n    detectChanges() { detectChangesInRootView(this._view); }\n    /**\n     * @return {?}\n     */\n    checkNoChanges() { checkNoChangesInRootView(this._view); }\n    /**\n     * @return {?}\n     */\n    get context() { return (/** @type {?} */ (null)); }\n}\nif (false) {}\n/**\n * @param {?} lView\n * @param {?} parentTNode\n * @param {?} result\n * @return {?}\n */\nfunction collectNativeNodes(lView, parentTNode, result) {\n    /** @type {?} */\n    let tNodeChild = parentTNode.child;\n    while (tNodeChild) {\n        /** @type {?} */\n        const nativeNode = getNativeByTNodeOrNull(tNodeChild, lView);\n        nativeNode && result.push(nativeNode);\n        if (tNodeChild.type === 4 /* ElementContainer */) {\n            collectNativeNodes(lView, tNodeChild, result);\n        }\n        else if (tNodeChild.type === 1 /* Projection */) {\n            /** @type {?} */\n            const componentView = findComponentView(lView);\n            /** @type {?} */\n            const componentHost = (/** @type {?} */ (componentView[T_HOST]));\n            /** @type {?} */\n            const parentView = getLViewParent(componentView);\n            /** @type {?} */\n            let currentProjectedNode = ((/** @type {?} */ (componentHost.projection)))[(/** @type {?} */ (tNodeChild.projection))];\n            while (currentProjectedNode && parentView) {\n                result.push(getNativeByTNode(currentProjectedNode, parentView));\n                currentProjectedNode = currentProjectedNode.next;\n            }\n        }\n        tNodeChild = tNodeChild.next;\n    }\n    return result;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Creates an ElementRef from the most recent node.\n *\n * @param {?} ElementRefToken\n * @return {?} The ElementRef instance to use\n */\nfunction injectElementRef(ElementRefToken) {\n    return createElementRef(ElementRefToken, getPreviousOrParentTNode(), getLView());\n}\n/** @type {?} */\nlet R3ElementRef;\n/**\n * Creates an ElementRef given a node.\n *\n * @param {?} ElementRefToken The ElementRef type\n * @param {?} tNode The node for which you'd like an ElementRef\n * @param {?} view The view to which the node belongs\n * @return {?} The ElementRef instance to use\n */\nfunction createElementRef(ElementRefToken, tNode, view) {\n    if (!R3ElementRef) {\n        // TODO: Fix class name, should be ElementRef, but there appears to be a rollup bug\n        R3ElementRef = class ElementRef_ extends ElementRefToken {\n        };\n    }\n    return new R3ElementRef((/** @type {?} */ (getNativeByTNode(tNode, view))));\n}\n/** @type {?} */\nlet R3TemplateRef;\n/**\n * Creates a TemplateRef given a node.\n *\n * @template T\n * @param {?} TemplateRefToken\n * @param {?} ElementRefToken\n * @return {?} The TemplateRef instance to use\n */\nfunction injectTemplateRef(TemplateRefToken, ElementRefToken) {\n    return createTemplateRef(TemplateRefToken, ElementRefToken, getPreviousOrParentTNode(), getLView());\n}\n/**\n * Creates a TemplateRef and stores it on the injector.\n *\n * @template T\n * @param {?} TemplateRefToken The TemplateRef type\n * @param {?} ElementRefToken The ElementRef type\n * @param {?} hostTNode The node on which a TemplateRef is requested\n * @param {?} hostView The view to which the node belongs\n * @return {?} The TemplateRef instance or null if we can't create a TemplateRef on a given node type\n */\nfunction createTemplateRef(TemplateRefToken, ElementRefToken, hostTNode, hostView) {\n    if (!R3TemplateRef) {\n        // TODO: Fix class name, should be TemplateRef, but there appears to be a rollup bug\n        R3TemplateRef = class TemplateRef_ extends TemplateRefToken {\n            /**\n             * @param {?} _declarationView\n             * @param {?} _declarationTContainer\n             * @param {?} elementRef\n             */\n            constructor(_declarationView, _declarationTContainer, elementRef) {\n                super();\n                this._declarationView = _declarationView;\n                this._declarationTContainer = _declarationTContainer;\n                this.elementRef = elementRef;\n            }\n            /**\n             * @param {?} context\n             * @return {?}\n             */\n            createEmbeddedView(context) {\n                /** @type {?} */\n                const embeddedTView = (/** @type {?} */ (this._declarationTContainer.tViews));\n                /** @type {?} */\n                const lView = createEmbeddedViewAndNode(embeddedTView, context, this._declarationView, this._declarationTContainer.injectorIndex);\n                /** @type {?} */\n                const declarationLContainer = this._declarationView[this._declarationTContainer.index];\n                ngDevMode && assertLContainer(declarationLContainer);\n                lView[DECLARATION_LCONTAINER] = declarationLContainer;\n                /** @type {?} */\n                const declarationViewLQueries = this._declarationView[QUERIES];\n                if (declarationViewLQueries !== null) {\n                    lView[QUERIES] = declarationViewLQueries.createEmbeddedView(embeddedTView);\n                }\n                renderEmbeddedTemplate(lView, embeddedTView, context);\n                /** @type {?} */\n                const viewRef = new ViewRef(lView, context, -1);\n                viewRef._tViewNode = (/** @type {?} */ (lView[T_HOST]));\n                return viewRef;\n            }\n        };\n    }\n    if (hostTNode.type === 0 /* Container */) {\n        ngDevMode && assertDefined(hostTNode.tViews, 'TView must be allocated');\n        return new R3TemplateRef(hostView, (/** @type {?} */ (hostTNode)), createElementRef(ElementRefToken, hostTNode, hostView));\n    }\n    else {\n        return null;\n    }\n}\n/** @type {?} */\nlet R3ViewContainerRef;\n/**\n * Creates a ViewContainerRef and stores it on the injector. Or, if the ViewContainerRef\n * already exists, retrieves the existing ViewContainerRef.\n *\n * @param {?} ViewContainerRefToken\n * @param {?} ElementRefToken\n * @return {?} The ViewContainerRef instance to use\n */\nfunction injectViewContainerRef(ViewContainerRefToken, ElementRefToken) {\n    /** @type {?} */\n    const previousTNode = (/** @type {?} */ (getPreviousOrParentTNode()));\n    return createContainerRef(ViewContainerRefToken, ElementRefToken, previousTNode, getLView());\n}\n/**\n * Creates a ViewContainerRef and stores it on the injector.\n *\n * @param {?} ViewContainerRefToken The ViewContainerRef type\n * @param {?} ElementRefToken The ElementRef type\n * @param {?} hostTNode The node that is requesting a ViewContainerRef\n * @param {?} hostView The view to which the node belongs\n * @return {?} The ViewContainerRef instance to use\n */\nfunction createContainerRef(ViewContainerRefToken, ElementRefToken, hostTNode, hostView) {\n    if (!R3ViewContainerRef) {\n        // TODO: Fix class name, should be ViewContainerRef, but there appears to be a rollup bug\n        R3ViewContainerRef = class ViewContainerRef_ extends ViewContainerRefToken {\n            /**\n             * @param {?} _lContainer\n             * @param {?} _hostTNode\n             * @param {?} _hostView\n             */\n            constructor(_lContainer, _hostTNode, _hostView) {\n                super();\n                this._lContainer = _lContainer;\n                this._hostTNode = _hostTNode;\n                this._hostView = _hostView;\n            }\n            /**\n             * @return {?}\n             */\n            get element() {\n                return createElementRef(ElementRefToken, this._hostTNode, this._hostView);\n            }\n            /**\n             * @return {?}\n             */\n            get injector() { return new NodeInjector(this._hostTNode, this._hostView); }\n            /**\n             * @deprecated No replacement\n             * @return {?}\n             */\n            get parentInjector() {\n                /** @type {?} */\n                const parentLocation = getParentInjectorLocation(this._hostTNode, this._hostView);\n                /** @type {?} */\n                const parentView = getParentInjectorView(parentLocation, this._hostView);\n                /** @type {?} */\n                const parentTNode = getParentInjectorTNode(parentLocation, this._hostView, this._hostTNode);\n                return !hasParentInjector(parentLocation) || parentTNode == null ?\n                    new NodeInjector(null, this._hostView) :\n                    new NodeInjector(parentTNode, parentView);\n            }\n            /**\n             * @return {?}\n             */\n            clear() {\n                while (this.length > 0) {\n                    this.remove(this.length - 1);\n                }\n            }\n            /**\n             * @param {?} index\n             * @return {?}\n             */\n            get(index) {\n                return this._lContainer[VIEW_REFS] !== null && (/** @type {?} */ (this._lContainer[VIEW_REFS]))[index] || null;\n            }\n            /**\n             * @return {?}\n             */\n            get length() { return this._lContainer.length - CONTAINER_HEADER_OFFSET; }\n            /**\n             * @template C\n             * @param {?} templateRef\n             * @param {?=} context\n             * @param {?=} index\n             * @return {?}\n             */\n            createEmbeddedView(templateRef, context, index) {\n                /** @type {?} */\n                const viewRef = templateRef.createEmbeddedView(context || (/** @type {?} */ ({})));\n                this.insert(viewRef, index);\n                return viewRef;\n            }\n            /**\n             * @template C\n             * @param {?} componentFactory\n             * @param {?=} index\n             * @param {?=} injector\n             * @param {?=} projectableNodes\n             * @param {?=} ngModuleRef\n             * @return {?}\n             */\n            createComponent(componentFactory, index, injector, projectableNodes, ngModuleRef) {\n                /** @type {?} */\n                const contextInjector = injector || this.parentInjector;\n                if (!ngModuleRef && ((/** @type {?} */ (componentFactory))).ngModule == null && contextInjector) {\n                    ngModuleRef = contextInjector.get(NgModuleRef, null);\n                }\n                /** @type {?} */\n                const componentRef = componentFactory.create(contextInjector, projectableNodes, undefined, ngModuleRef);\n                this.insert(componentRef.hostView, index);\n                return componentRef;\n            }\n            /**\n             * @param {?} viewRef\n             * @param {?=} index\n             * @return {?}\n             */\n            insert(viewRef, index) {\n                if (viewRef.destroyed) {\n                    throw new Error('Cannot insert a destroyed View in a ViewContainer!');\n                }\n                this.allocateContainerIfNeeded();\n                /** @type {?} */\n                const lView = (/** @type {?} */ (((/** @type {?} */ (viewRef)))._lView));\n                /** @type {?} */\n                const adjustedIdx = this._adjustIndex(index);\n                if (viewAttachedToContainer(lView)) {\n                    // If view is already attached, fall back to move() so we clean up\n                    // references appropriately.\n                    return this.move(viewRef, adjustedIdx);\n                }\n                insertView(lView, this._lContainer, adjustedIdx);\n                /** @type {?} */\n                const beforeNode = getBeforeNodeForView(adjustedIdx, this._lContainer);\n                addRemoveViewFromContainer(lView, true, beforeNode);\n                ((/** @type {?} */ (viewRef))).attachToViewContainerRef(this);\n                addToArray((/** @type {?} */ (this._lContainer[VIEW_REFS])), adjustedIdx, viewRef);\n                return viewRef;\n            }\n            /**\n             * @param {?} viewRef\n             * @param {?} newIndex\n             * @return {?}\n             */\n            move(viewRef, newIndex) {\n                if (viewRef.destroyed) {\n                    throw new Error('Cannot move a destroyed View in a ViewContainer!');\n                }\n                /** @type {?} */\n                const index = this.indexOf(viewRef);\n                if (index !== -1)\n                    this.detach(index);\n                this.insert(viewRef, newIndex);\n                return viewRef;\n            }\n            /**\n             * @param {?} viewRef\n             * @return {?}\n             */\n            indexOf(viewRef) {\n                return this._lContainer[VIEW_REFS] !== null ?\n                    (/** @type {?} */ (this._lContainer[VIEW_REFS])).indexOf(viewRef) :\n                    0;\n            }\n            /**\n             * @param {?=} index\n             * @return {?}\n             */\n            remove(index) {\n                this.allocateContainerIfNeeded();\n                /** @type {?} */\n                const adjustedIdx = this._adjustIndex(index, -1);\n                removeView(this._lContainer, adjustedIdx);\n                removeFromArray((/** @type {?} */ (this._lContainer[VIEW_REFS])), adjustedIdx);\n            }\n            /**\n             * @param {?=} index\n             * @return {?}\n             */\n            detach(index) {\n                this.allocateContainerIfNeeded();\n                /** @type {?} */\n                const adjustedIdx = this._adjustIndex(index, -1);\n                /** @type {?} */\n                const view = detachView(this._lContainer, adjustedIdx);\n                /** @type {?} */\n                const wasDetached = view && removeFromArray((/** @type {?} */ (this._lContainer[VIEW_REFS])), adjustedIdx) != null;\n                return wasDetached ? new ViewRef((/** @type {?} */ (view)), (/** @type {?} */ (view))[CONTEXT], -1) : null;\n            }\n            /**\n             * @private\n             * @param {?=} index\n             * @param {?=} shift\n             * @return {?}\n             */\n            _adjustIndex(index, shift = 0) {\n                if (index == null) {\n                    return this.length + shift;\n                }\n                if (ngDevMode) {\n                    assertGreaterThan(index, -1, 'index must be positive');\n                    // +1 because it's legal to insert at the end.\n                    assertLessThan(index, this.length + 1 + shift, 'index');\n                }\n                return index;\n            }\n            /**\n             * @private\n             * @return {?}\n             */\n            allocateContainerIfNeeded() {\n                if (this._lContainer[VIEW_REFS] === null) {\n                    this._lContainer[VIEW_REFS] = [];\n                }\n            }\n        };\n    }\n    ngDevMode && assertNodeOfPossibleTypes(hostTNode, 0 /* Container */, 3 /* Element */, 4 /* ElementContainer */);\n    /** @type {?} */\n    let lContainer;\n    /** @type {?} */\n    const slotValue = hostView[hostTNode.index];\n    if (isLContainer(slotValue)) {\n        // If the host is a container, we don't need to create a new LContainer\n        lContainer = slotValue;\n        lContainer[ACTIVE_INDEX] = -1;\n    }\n    else {\n        /** @type {?} */\n        let commentNode;\n        // If the host is an element container, the native host element is guaranteed to be a\n        // comment and we can reuse that comment as anchor element for the new LContainer.\n        if (hostTNode.type === 4 /* ElementContainer */) {\n            commentNode = (/** @type {?} */ (unwrapRNode(slotValue)));\n        }\n        else {\n            ngDevMode && ngDevMode.rendererCreateComment++;\n            commentNode = hostView[RENDERER].createComment(ngDevMode ? 'container' : '');\n        }\n        // A container can be created on the root (topmost / bootstrapped) component and in this case we\n        // can't use LTree to insert container's marker node (both parent of a comment node and the\n        // commend node itself is located outside of elements hold by LTree). In this specific case we\n        // use low-level DOM manipulation to insert container's marker (comment) node.\n        if (isRootView(hostView)) {\n            /** @type {?} */\n            const renderer = hostView[RENDERER];\n            /** @type {?} */\n            const hostNative = (/** @type {?} */ (getNativeByTNode(hostTNode, hostView)));\n            /** @type {?} */\n            const parentOfHostNative = nativeParentNode(renderer, hostNative);\n            nativeInsertBefore(renderer, (/** @type {?} */ (parentOfHostNative)), commentNode, nativeNextSibling(renderer, hostNative));\n        }\n        else {\n            appendChild(commentNode, hostTNode, hostView);\n        }\n        hostView[hostTNode.index] = lContainer =\n            createLContainer(slotValue, hostView, commentNode, hostTNode, true);\n        addToViewTree(hostView, lContainer);\n    }\n    return new R3ViewContainerRef(lContainer, hostTNode, hostView);\n}\n/**\n * Returns a ChangeDetectorRef (a.k.a. a ViewRef)\n * @param {?=} isPipe\n * @return {?}\n */\nfunction injectChangeDetectorRef(isPipe = false) {\n    return createViewRef(getPreviousOrParentTNode(), getLView(), isPipe);\n}\n/**\n * Creates a ViewRef and stores it on the injector as ChangeDetectorRef (public alias).\n *\n * @param {?} hostTNode The node that is requesting a ChangeDetectorRef\n * @param {?} hostView The view to which the node belongs\n * @param {?} isPipe Whether the view is being injected into a pipe.\n * @return {?} The ChangeDetectorRef to use\n */\nfunction createViewRef(hostTNode, hostView, isPipe) {\n    if (isComponent(hostTNode) && !isPipe) {\n        /** @type {?} */\n        const componentIndex = hostTNode.directiveStart;\n        /** @type {?} */\n        const componentView = getComponentViewByIndex(hostTNode.index, hostView);\n        return new ViewRef(componentView, null, componentIndex);\n    }\n    else if (hostTNode.type === 3 /* Element */ || hostTNode.type === 0 /* Container */ ||\n        hostTNode.type === 4 /* ElementContainer */) {\n        /** @type {?} */\n        const hostComponentView = findComponentView(hostView);\n        return new ViewRef(hostComponentView, hostComponentView[CONTEXT], -1);\n    }\n    return (/** @type {?} */ (null));\n}\n/**\n * Returns a Renderer2 (or throws when application was bootstrapped with Renderer3)\n * @param {?} view\n * @return {?}\n */\nfunction getOrCreateRenderer2(view) {\n    /** @type {?} */\n    const renderer = view[RENDERER];\n    if (isProceduralRenderer(renderer)) {\n        return (/** @type {?} */ (renderer));\n    }\n    else {\n        throw new Error('Cannot inject Renderer2 when the application uses Renderer3!');\n    }\n}\n/**\n * Injects a Renderer2 for the current component.\n * @return {?}\n */\nfunction injectRenderer2() {\n    // We need the Renderer to be based on the component that it's being injected into, however since\n    // DI happens before we've entered its view, `getLView` will return the parent view instead.\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const tNode = getPreviousOrParentTNode();\n    /** @type {?} */\n    const nodeAtIndex = getComponentViewByIndex(tNode.index, lView);\n    return getOrCreateRenderer2(isLView(nodeAtIndex) ? nodeAtIndex : lView);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Base class for Angular Views, provides change detection functionality.\n * A change-detection tree collects all views that are to be checked for changes.\n * Use the methods to add and remove views from the tree, initiate change-detection,\n * and explicitly mark views as _dirty_, meaning that they have changed and need to be rerendered.\n *\n * \\@usageNotes\n *\n * The following examples demonstrate how to modify default change-detection behavior\n * to perform explicit detection when needed.\n *\n * ### Use `markForCheck()` with `CheckOnce` strategy\n *\n * The following example sets the `OnPush` change-detection strategy for a component\n * (`CheckOnce`, rather than the default `CheckAlways`), then forces a second check\n * after an interval. See [live demo](http://plnkr.co/edit/GC512b?p=preview).\n *\n * <code-example path=\"core/ts/change_detect/change-detection.ts\"\n * region=\"mark-for-check\"></code-example>\n *\n * ### Detach change detector to limit how often check occurs\n *\n * The following example defines a component with a large list of read-only data\n * that is expected to change constantly, many times per second.\n * To improve performance, we want to check and update the list\n * less often than the changes actually occur. To do that, we detach\n * the component's change detector and perform an explicit local check every five seconds.\n *\n * <code-example path=\"core/ts/change_detect/change-detection.ts\" region=\"detach\"></code-example>\n *\n *\n * ### Reattaching a detached component\n *\n * The following example creates a component displaying live data.\n * The component detaches its change detector from the main change detector tree\n * when the `live` property is set to false, and reattaches it when the property\n * becomes true.\n *\n * <code-example path=\"core/ts/change_detect/change-detection.ts\" region=\"reattach\"></code-example>\n *\n * \\@publicApi\n * @abstract\n */\nclass ChangeDetectorRef {\n}\n/**\n * \\@internal\n * @nocollapse\n */\nChangeDetectorRef.__NG_ELEMENT_ID__ = (/**\n * @return {?}\n */\n() => SWITCH_CHANGE_DETECTOR_REF_FACTORY());\nif (false) {}\n/** @type {?} */\nconst SWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__ = injectChangeDetectorRef;\n/** @type {?} */\nconst SWITCH_CHANGE_DETECTOR_REF_FACTORY__PRE_R3__ = (/**\n * @param {...?} args\n * @return {?}\n */\n(...args) => { });\nconst ɵ0$6 = SWITCH_CHANGE_DETECTOR_REF_FACTORY__PRE_R3__;\n/** @type {?} */\nconst SWITCH_CHANGE_DETECTOR_REF_FACTORY = SWITCH_CHANGE_DETECTOR_REF_FACTORY__PRE_R3__;\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * @description\n *\n * Represents a type that a Component or other object is instances of.\n *\n * An example of a `Type` is `MyCustomComponent` class, which in JavaScript is be represented by\n * the `MyCustomComponent` constructor function.\n *\n * @publicApi\n */\nconst Type = Function;\nfunction isType(v) {\n    return typeof v === 'function';\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Attention: These regex has to hold even if the code is minified!\n */\nconst DELEGATE_CTOR = /^function\\s+\\S+\\(\\)\\s*{[\\s\\S]+\\.apply\\(this,\\s*arguments\\)/;\nconst INHERITED_CLASS = /^class\\s+[A-Za-z\\d$_]*\\s*extends\\s+[^{]+{/;\nconst INHERITED_CLASS_WITH_CTOR = /^class\\s+[A-Za-z\\d$_]*\\s*extends\\s+[^{]+{[\\s\\S]*constructor\\s*\\(/;\nconst INHERITED_CLASS_WITH_DELEGATE_CTOR = /^class\\s+[A-Za-z\\d$_]*\\s*extends\\s+[^{]+{[\\s\\S]*constructor\\s*\\(\\)\\s*{\\s+super\\(\\.\\.\\.arguments\\)/;\n/**\n * Determine whether a stringified type is a class which delegates its constructor\n * to its parent.\n *\n * This is not trivial since compiled code can actually contain a constructor function\n * even if the original source code did not. For instance, when the child class contains\n * an initialized instance property.\n */\nfunction isDelegateCtor(typeStr) {\n    return DELEGATE_CTOR.test(typeStr) || INHERITED_CLASS_WITH_DELEGATE_CTOR.test(typeStr) ||\n        (INHERITED_CLASS.test(typeStr) && !INHERITED_CLASS_WITH_CTOR.test(typeStr));\n}\nclass ReflectionCapabilities {\n    constructor(reflect) { this._reflect = reflect || _global['Reflect']; }\n    isReflectionEnabled() { return true; }\n    factory(t) { return (...args) => new t(...args); }\n    /** @internal */\n    _zipTypesAndAnnotations(paramTypes, paramAnnotations) {\n        let result;\n        if (typeof paramTypes === 'undefined') {\n            result = new Array(paramAnnotations.length);\n        }\n        else {\n            result = new Array(paramTypes.length);\n        }\n        for (let i = 0; i < result.length; i++) {\n            // TS outputs Object for parameters without types, while Traceur omits\n            // the annotations. For now we preserve the Traceur behavior to aid\n            // migration, but this can be revisited.\n            if (typeof paramTypes === 'undefined') {\n                result[i] = [];\n            }\n            else if (paramTypes[i] && paramTypes[i] != Object) {\n                result[i] = [paramTypes[i]];\n            }\n            else {\n                result[i] = [];\n            }\n            if (paramAnnotations && paramAnnotations[i] != null) {\n                result[i] = result[i].concat(paramAnnotations[i]);\n            }\n        }\n        return result;\n    }\n    _ownParameters(type, parentCtor) {\n        const typeStr = type.toString();\n        // If we have no decorators, we only have function.length as metadata.\n        // In that case, to detect whether a child class declared an own constructor or not,\n        // we need to look inside of that constructor to check whether it is\n        // just calling the parent.\n        // This also helps to work around for https://github.com/Microsoft/TypeScript/issues/12439\n        // that sets 'design:paramtypes' to []\n        // if a class inherits from another class but has no ctor declared itself.\n        if (isDelegateCtor(typeStr)) {\n            return null;\n        }\n        // Prefer the direct API.\n        if (type.parameters && type.parameters !== parentCtor.parameters) {\n            return type.parameters;\n        }\n        // API of tsickle for lowering decorators to properties on the class.\n        const tsickleCtorParams = type.ctorParameters;\n        if (tsickleCtorParams && tsickleCtorParams !== parentCtor.ctorParameters) {\n            // Newer tsickle uses a function closure\n            // Retain the non-function case for compatibility with older tsickle\n            const ctorParameters = typeof tsickleCtorParams === 'function' ? tsickleCtorParams() : tsickleCtorParams;\n            const paramTypes = ctorParameters.map((ctorParam) => ctorParam && ctorParam.type);\n            const paramAnnotations = ctorParameters.map((ctorParam) => ctorParam && convertTsickleDecoratorIntoMetadata(ctorParam.decorators));\n            return this._zipTypesAndAnnotations(paramTypes, paramAnnotations);\n        }\n        // API for metadata created by invoking the decorators.\n        const paramAnnotations = type.hasOwnProperty(PARAMETERS) && type[PARAMETERS];\n        const paramTypes = this._reflect && this._reflect.getOwnMetadata &&\n            this._reflect.getOwnMetadata('design:paramtypes', type);\n        if (paramTypes || paramAnnotations) {\n            return this._zipTypesAndAnnotations(paramTypes, paramAnnotations);\n        }\n        // If a class has no decorators, at least create metadata\n        // based on function.length.\n        // Note: We know that this is a real constructor as we checked\n        // the content of the constructor above.\n        return new Array(type.length).fill(undefined);\n    }\n    parameters(type) {\n        // Note: only report metadata if we have at least one class decorator\n        // to stay in sync with the static reflector.\n        if (!isType(type)) {\n            return [];\n        }\n        const parentCtor = getParentCtor(type);\n        let parameters = this._ownParameters(type, parentCtor);\n        if (!parameters && parentCtor !== Object) {\n            parameters = this.parameters(parentCtor);\n        }\n        return parameters || [];\n    }\n    _ownAnnotations(typeOrFunc, parentCtor) {\n        // Prefer the direct API.\n        if (typeOrFunc.annotations && typeOrFunc.annotations !== parentCtor.annotations) {\n            let annotations = typeOrFunc.annotations;\n            if (typeof annotations === 'function' && annotations.annotations) {\n                annotations = annotations.annotations;\n            }\n            return annotations;\n        }\n        // API of tsickle for lowering decorators to properties on the class.\n        if (typeOrFunc.decorators && typeOrFunc.decorators !== parentCtor.decorators) {\n            return convertTsickleDecoratorIntoMetadata(typeOrFunc.decorators);\n        }\n        // API for metadata created by invoking the decorators.\n        if (typeOrFunc.hasOwnProperty(ANNOTATIONS)) {\n            return typeOrFunc[ANNOTATIONS];\n        }\n        return null;\n    }\n    annotations(typeOrFunc) {\n        if (!isType(typeOrFunc)) {\n            return [];\n        }\n        const parentCtor = getParentCtor(typeOrFunc);\n        const ownAnnotations = this._ownAnnotations(typeOrFunc, parentCtor) || [];\n        const parentAnnotations = parentCtor !== Object ? this.annotations(parentCtor) : [];\n        return parentAnnotations.concat(ownAnnotations);\n    }\n    _ownPropMetadata(typeOrFunc, parentCtor) {\n        // Prefer the direct API.\n        if (typeOrFunc.propMetadata &&\n            typeOrFunc.propMetadata !== parentCtor.propMetadata) {\n            let propMetadata = typeOrFunc.propMetadata;\n            if (typeof propMetadata === 'function' && propMetadata.propMetadata) {\n                propMetadata = propMetadata.propMetadata;\n            }\n            return propMetadata;\n        }\n        // API of tsickle for lowering decorators to properties on the class.\n        if (typeOrFunc.propDecorators &&\n            typeOrFunc.propDecorators !== parentCtor.propDecorators) {\n            const propDecorators = typeOrFunc.propDecorators;\n            const propMetadata = {};\n            Object.keys(propDecorators).forEach(prop => {\n                propMetadata[prop] = convertTsickleDecoratorIntoMetadata(propDecorators[prop]);\n            });\n            return propMetadata;\n        }\n        // API for metadata created by invoking the decorators.\n        if (typeOrFunc.hasOwnProperty(PROP_METADATA)) {\n            return typeOrFunc[PROP_METADATA];\n        }\n        return null;\n    }\n    propMetadata(typeOrFunc) {\n        if (!isType(typeOrFunc)) {\n            return {};\n        }\n        const parentCtor = getParentCtor(typeOrFunc);\n        const propMetadata = {};\n        if (parentCtor !== Object) {\n            const parentPropMetadata = this.propMetadata(parentCtor);\n            Object.keys(parentPropMetadata).forEach((propName) => {\n                propMetadata[propName] = parentPropMetadata[propName];\n            });\n        }\n        const ownPropMetadata = this._ownPropMetadata(typeOrFunc, parentCtor);\n        if (ownPropMetadata) {\n            Object.keys(ownPropMetadata).forEach((propName) => {\n                const decorators = [];\n                if (propMetadata.hasOwnProperty(propName)) {\n                    decorators.push(...propMetadata[propName]);\n                }\n                decorators.push(...ownPropMetadata[propName]);\n                propMetadata[propName] = decorators;\n            });\n        }\n        return propMetadata;\n    }\n    ownPropMetadata(typeOrFunc) {\n        if (!isType(typeOrFunc)) {\n            return {};\n        }\n        return this._ownPropMetadata(typeOrFunc, getParentCtor(typeOrFunc)) || {};\n    }\n    hasLifecycleHook(type, lcProperty) {\n        return type instanceof Type && lcProperty in type.prototype;\n    }\n    guards(type) { return {}; }\n    getter(name) { return new Function('o', 'return o.' + name + ';'); }\n    setter(name) {\n        return new Function('o', 'v', 'return o.' + name + ' = v;');\n    }\n    method(name) {\n        const functionBody = `if (!o.${name}) throw new Error('\"${name}\" is undefined');\n        return o.${name}.apply(o, args);`;\n        return new Function('o', 'args', functionBody);\n    }\n    // There is not a concept of import uri in Js, but this is useful in developing Dart applications.\n    importUri(type) {\n        // StaticSymbol\n        if (typeof type === 'object' && type['filePath']) {\n            return type['filePath'];\n        }\n        // Runtime type\n        return `./${stringify(type)}`;\n    }\n    resourceUri(type) { return `./${stringify(type)}`; }\n    resolveIdentifier(name, moduleUrl, members, runtime) {\n        return runtime;\n    }\n    resolveEnum(enumIdentifier, name) { return enumIdentifier[name]; }\n}\nfunction convertTsickleDecoratorIntoMetadata(decoratorInvocations) {\n    if (!decoratorInvocations) {\n        return [];\n    }\n    return decoratorInvocations.map(decoratorInvocation => {\n        const decoratorType = decoratorInvocation.type;\n        const annotationCls = decoratorType.annotationCls;\n        const annotationArgs = decoratorInvocation.args ? decoratorInvocation.args : [];\n        return new annotationCls(...annotationArgs);\n    });\n}\nfunction getParentCtor(ctor) {\n    const parentProto = ctor.prototype ? Object.getPrototypeOf(ctor.prototype) : null;\n    const parentCtor = parentProto ? parentProto.constructor : null;\n    // Note: We always use `Object` as the null value\n    // to simplify checking later on.\n    return parentCtor || Object;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nlet _reflect = null;\n/**\n * @return {?}\n */\nfunction getReflect() {\n    return (_reflect = _reflect || new ReflectionCapabilities());\n}\n/**\n * @param {?} type\n * @return {?}\n */\nfunction reflectDependencies(type) {\n    return convertDependencies(getReflect().parameters(type));\n}\n/**\n * @param {?} deps\n * @return {?}\n */\nfunction convertDependencies(deps) {\n    /** @type {?} */\n    const compiler = getCompilerFacade();\n    return deps.map((/**\n     * @param {?} dep\n     * @return {?}\n     */\n    dep => reflectDependency(compiler, dep)));\n}\n/**\n * @param {?} compiler\n * @param {?} dep\n * @return {?}\n */\nfunction reflectDependency(compiler, dep) {\n    /** @type {?} */\n    const meta = {\n        token: null,\n        host: false,\n        optional: false,\n        resolved: compiler.R3ResolvedDependencyType.Token,\n        self: false,\n        skipSelf: false,\n    };\n    /**\n     * @param {?} token\n     * @return {?}\n     */\n    function setTokenAndResolvedType(token) {\n        meta.resolved = compiler.R3ResolvedDependencyType.Token;\n        meta.token = token;\n    }\n    if (Array.isArray(dep)) {\n        if (dep.length === 0) {\n            throw new Error('Dependency array must have arguments.');\n        }\n        for (let j = 0; j < dep.length; j++) {\n            /** @type {?} */\n            const param = dep[j];\n            if (param === undefined) {\n                // param may be undefined if type of dep is not set by ngtsc\n                continue;\n            }\n            else if (param instanceof Optional || param.__proto__.ngMetadataName === 'Optional') {\n                meta.optional = true;\n            }\n            else if (param instanceof SkipSelf || param.__proto__.ngMetadataName === 'SkipSelf') {\n                meta.skipSelf = true;\n            }\n            else if (param instanceof Self || param.__proto__.ngMetadataName === 'Self') {\n                meta.self = true;\n            }\n            else if (param instanceof Host || param.__proto__.ngMetadataName === 'Host') {\n                meta.host = true;\n            }\n            else if (param instanceof Inject) {\n                meta.token = param.token;\n            }\n            else if (param instanceof Attribute) {\n                if (param.attributeName === undefined) {\n                    throw new Error(`Attribute name must be defined.`);\n                }\n                meta.token = param.attributeName;\n                meta.resolved = compiler.R3ResolvedDependencyType.Attribute;\n            }\n            else if (param === ChangeDetectorRef) {\n                meta.token = param;\n                meta.resolved = compiler.R3ResolvedDependencyType.ChangeDetectorRef;\n            }\n            else {\n                setTokenAndResolvedType(param);\n            }\n        }\n    }\n    else {\n        setTokenAndResolvedType(dep);\n    }\n    return meta;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Compile an Angular injectable according to its `Injectable` metadata, and patch the resulting\n * `ngInjectableDef` onto the injectable type.\n * @param {?} type\n * @param {?=} srcMeta\n * @return {?}\n */\nfunction compileInjectable(type, srcMeta) {\n    /** @type {?} */\n    let def = null;\n    // if NG_INJECTABLE_DEF is already defined on this class then don't overwrite it\n    if (type.hasOwnProperty(NG_INJECTABLE_DEF))\n        return;\n    Object.defineProperty(type, NG_INJECTABLE_DEF, {\n        get: (/**\n         * @return {?}\n         */\n        () => {\n            if (def === null) {\n                // Allow the compilation of a class with a `@Injectable()` decorator without parameters\n                /** @type {?} */\n                const meta = srcMeta || { providedIn: null };\n                /** @type {?} */\n                const hasAProvider = isUseClassProvider(meta) || isUseFactoryProvider(meta) ||\n                    isUseValueProvider(meta) || isUseExistingProvider(meta);\n                /** @type {?} */\n                const compilerMeta = {\n                    name: type.name,\n                    type: type,\n                    typeArgumentCount: 0,\n                    providedIn: meta.providedIn,\n                    ctorDeps: reflectDependencies(type),\n                    userDeps: undefined,\n                };\n                if ((isUseClassProvider(meta) || isUseFactoryProvider(meta)) && meta.deps !== undefined) {\n                    compilerMeta.userDeps = convertDependencies(meta.deps);\n                }\n                if (!hasAProvider) {\n                    // In the case the user specifies a type provider, treat it as {provide: X, useClass: X}.\n                    // The deps will have been reflected above, causing the factory to create the class by\n                    // calling\n                    // its constructor with injected deps.\n                    compilerMeta.useClass = type;\n                }\n                else if (isUseClassProvider(meta)) {\n                    // The user explicitly specified useClass, and may or may not have provided deps.\n                    compilerMeta.useClass = meta.useClass;\n                }\n                else if (isUseValueProvider(meta)) {\n                    // The user explicitly specified useValue.\n                    compilerMeta.useValue = meta.useValue;\n                }\n                else if (isUseFactoryProvider(meta)) {\n                    // The user explicitly specified useFactory.\n                    compilerMeta.useFactory = meta.useFactory;\n                }\n                else if (isUseExistingProvider(meta)) {\n                    // The user explicitly specified useExisting.\n                    compilerMeta.useExisting = meta.useExisting;\n                }\n                else {\n                    // Can't happen - either hasAProvider will be false, or one of the providers will be set.\n                    throw new Error(`Unreachable state.`);\n                }\n                def = getCompilerFacade().compileInjectable(angularCoreDiEnv, `ng:///${type.name}/ngInjectableDef.js`, compilerMeta);\n            }\n            return def;\n        }),\n    });\n}\nconst ɵ0$7 = getClosureSafeProperty;\n/** @type {?} */\nconst USE_VALUE$1 = getClosureSafeProperty({ provide: String, useValue: ɵ0$7 });\n/**\n * @param {?} meta\n * @return {?}\n */\nfunction isUseClassProvider(meta) {\n    return ((/** @type {?} */ (meta))).useClass !== undefined;\n}\n/**\n * @param {?} meta\n * @return {?}\n */\nfunction isUseValueProvider(meta) {\n    return USE_VALUE$1 in meta;\n}\n/**\n * @param {?} meta\n * @return {?}\n */\nfunction isUseFactoryProvider(meta) {\n    return ((/** @type {?} */ (meta))).useFactory !== undefined;\n}\n/**\n * @param {?} meta\n * @return {?}\n */\nfunction isUseExistingProvider(meta) {\n    return ((/** @type {?} */ (meta))).useExisting !== undefined;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nconst ɵ0$8 = getClosureSafeProperty;\n/** @type {?} */\nconst USE_VALUE$2 = getClosureSafeProperty({ provide: String, useValue: ɵ0$8 });\n/** @type {?} */\nconst EMPTY_ARRAY$1 = [];\n/**\n * @param {?} type\n * @param {?=} provider\n * @return {?}\n */\nfunction convertInjectableProviderToFactory(type, provider) {\n    if (!provider) {\n        /** @type {?} */\n        const reflectionCapabilities = new ReflectionCapabilities();\n        /** @type {?} */\n        const deps = reflectionCapabilities.parameters(type);\n        // TODO - convert to flags.\n        return (/**\n         * @return {?}\n         */\n        () => new type(...injectArgs((/** @type {?} */ (deps)))));\n    }\n    if (USE_VALUE$2 in provider) {\n        /** @type {?} */\n        const valueProvider = ((/** @type {?} */ (provider)));\n        return (/**\n         * @return {?}\n         */\n        () => valueProvider.useValue);\n    }\n    else if (((/** @type {?} */ (provider))).useExisting) {\n        /** @type {?} */\n        const existingProvider = ((/** @type {?} */ (provider)));\n        return (/**\n         * @return {?}\n         */\n        () => ɵɵinject(existingProvider.useExisting));\n    }\n    else if (((/** @type {?} */ (provider))).useFactory) {\n        /** @type {?} */\n        const factoryProvider = ((/** @type {?} */ (provider)));\n        return (/**\n         * @return {?}\n         */\n        () => factoryProvider.useFactory(...injectArgs(factoryProvider.deps || EMPTY_ARRAY$1)));\n    }\n    else if (((/** @type {?} */ (provider))).useClass) {\n        /** @type {?} */\n        const classProvider = ((/** @type {?} */ (provider)));\n        /** @type {?} */\n        let deps = ((/** @type {?} */ (provider))).deps;\n        if (!deps) {\n            /** @type {?} */\n            const reflectionCapabilities = new ReflectionCapabilities();\n            deps = reflectionCapabilities.parameters(type);\n        }\n        return (/**\n         * @return {?}\n         */\n        () => new classProvider.useClass(...injectArgs(deps)));\n    }\n    else {\n        /** @type {?} */\n        let deps = ((/** @type {?} */ (provider))).deps;\n        if (!deps) {\n            /** @type {?} */\n            const reflectionCapabilities = new ReflectionCapabilities();\n            deps = reflectionCapabilities.parameters(type);\n        }\n        return (/**\n         * @return {?}\n         */\n        () => new type(...injectArgs((/** @type {?} */ (deps)))));\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Type of the Injectable decorator / constructor function.\n *\n * \\@publicApi\n * @record\n */\nfunction InjectableDecorator() { }\n// WARNING: interface has both a type and a value, skipping emit\nconst ɵ0$9 = /**\n * @param {?} type\n * @param {?} meta\n * @return {?}\n */\n(type, meta) => SWITCH_COMPILE_INJECTABLE((/** @type {?} */ (type)), meta);\n/**\n * Injectable decorator and metadata.\n *\n * \\@Annotation\n * \\@publicApi\n * @type {?}\n */\nconst Injectable = makeDecorator('Injectable', undefined, undefined, undefined, (ɵ0$9));\n/**\n * Type representing injectable service.\n *\n * \\@publicApi\n * @record\n * @template T\n */\nfunction InjectableType() { }\nif (false) {}\n/**\n * Supports \\@Injectable() in JIT mode for Render2.\n * @param {?} injectableType\n * @param {?=} options\n * @return {?}\n */\nfunction render2CompileInjectable(injectableType, options) {\n    if (options && options.providedIn !== undefined && !getInjectableDef(injectableType)) {\n        ((/** @type {?} */ (injectableType))).ngInjectableDef = ɵɵdefineInjectable({\n            token: injectableType,\n            providedIn: options.providedIn,\n            factory: convertInjectableProviderToFactory(injectableType, options),\n        });\n    }\n}\n/** @type {?} */\nconst SWITCH_COMPILE_INJECTABLE__POST_R3__ = compileInjectable;\n/** @type {?} */\nconst SWITCH_COMPILE_INJECTABLE__PRE_R3__ = render2CompileInjectable;\n/** @type {?} */\nconst SWITCH_COMPILE_INJECTABLE = SWITCH_COMPILE_INJECTABLE__PRE_R3__;\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * An internal token whose presence in an injector indicates that the injector should treat itself\n * as a root scoped injector when processing requests for unknown tokens which may indicate\n * they are provided in the root scope.\n * @type {?}\n */\nconst APP_ROOT = new InjectionToken('The presence of this token marks an injector as being the root injector.');\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Marker which indicates that a value has not yet been created from the factory function.\n * @type {?}\n */\nconst NOT_YET = {};\n/**\n * Marker which indicates that the factory function for a token is in the process of being called.\n *\n * If the injector is asked to inject a token with its value set to CIRCULAR, that indicates\n * injection of a dependency has recursively attempted to inject the original token, and there is\n * a circular dependency among the providers.\n * @type {?}\n */\nconst CIRCULAR = {};\n/** @type {?} */\nconst EMPTY_ARRAY$2 = (/** @type {?} */ ([]));\n/**\n * A lazily initialized NullInjector.\n * @type {?}\n */\nlet NULL_INJECTOR = undefined;\n/**\n * @return {?}\n */\nfunction getNullInjector() {\n    if (NULL_INJECTOR === undefined) {\n        NULL_INJECTOR = new NullInjector();\n    }\n    return NULL_INJECTOR;\n}\n/**\n * An entry in the injector which tracks information about the given token, including a possible\n * current value.\n * @record\n * @template T\n */\nfunction Record() { }\nif (false) {}\n/**\n * Create a new `Injector` which is configured using a `defType` of `InjectorType<any>`s.\n *\n * \\@publicApi\n * @param {?} defType\n * @param {?=} parent\n * @param {?=} additionalProviders\n * @param {?=} name\n * @return {?}\n */\nfunction createInjector(defType, parent = null, additionalProviders = null, name) {\n    parent = parent || getNullInjector();\n    return new R3Injector(defType, additionalProviders, parent, name);\n}\nclass R3Injector {\n    /**\n     * @param {?} def\n     * @param {?} additionalProviders\n     * @param {?} parent\n     * @param {?=} source\n     */\n    constructor(def, additionalProviders, parent, source = null) {\n        this.parent = parent;\n        /**\n         * Map of tokens to records which contain the instances of those tokens.\n         */\n        this.records = new Map();\n        /**\n         * The transitive set of `InjectorType`s which define this injector.\n         */\n        this.injectorDefTypes = new Set();\n        /**\n         * Set of values instantiated by this injector which contain `ngOnDestroy` lifecycle hooks.\n         */\n        this.onDestroy = new Set();\n        this._destroyed = false;\n        // Start off by creating Records for every provider declared in every InjectorType\n        // included transitively in `def`.\n        /** @type {?} */\n        const dedupStack = [];\n        deepForEach([def], (/**\n         * @param {?} injectorDef\n         * @return {?}\n         */\n        injectorDef => this.processInjectorType(injectorDef, [], dedupStack)));\n        additionalProviders && deepForEach(additionalProviders, (/**\n         * @param {?} provider\n         * @return {?}\n         */\n        provider => this.processProvider(provider, def, additionalProviders)));\n        // Make sure the INJECTOR token provides this injector.\n        this.records.set(INJECTOR, makeRecord(undefined, this));\n        // Detect whether this injector has the APP_ROOT_SCOPE token and thus should provide\n        // any injectable scoped to APP_ROOT_SCOPE.\n        this.isRootInjector = this.records.has(APP_ROOT);\n        // Eagerly instantiate the InjectorType classes themselves.\n        this.injectorDefTypes.forEach((/**\n         * @param {?} defType\n         * @return {?}\n         */\n        defType => this.get(defType)));\n        // Source name, used for debugging\n        this.source = source || (typeof def === 'object' ? null : stringify(def));\n    }\n    /**\n     * Flag indicating that this injector was previously destroyed.\n     * @return {?}\n     */\n    get destroyed() { return this._destroyed; }\n    /**\n     * Destroy the injector and release references to every instance or provider associated with it.\n     *\n     * Also calls the `OnDestroy` lifecycle hooks of every instance that was created for which a\n     * hook was found.\n     * @return {?}\n     */\n    destroy() {\n        this.assertNotDestroyed();\n        // Set destroyed = true first, in case lifecycle hooks re-enter destroy().\n        this._destroyed = true;\n        try {\n            // Call all the lifecycle hooks.\n            this.onDestroy.forEach((/**\n             * @param {?} service\n             * @return {?}\n             */\n            service => service.ngOnDestroy()));\n        }\n        finally {\n            // Release all references.\n            this.records.clear();\n            this.onDestroy.clear();\n            this.injectorDefTypes.clear();\n        }\n    }\n    /**\n     * @template T\n     * @param {?} token\n     * @param {?=} notFoundValue\n     * @param {?=} flags\n     * @return {?}\n     */\n    get(token, notFoundValue = THROW_IF_NOT_FOUND, flags = InjectFlags.Default) {\n        this.assertNotDestroyed();\n        // Set the injection context.\n        /** @type {?} */\n        const previousInjector = setCurrentInjector(this);\n        try {\n            // Check for the SkipSelf flag.\n            if (!(flags & InjectFlags.SkipSelf)) {\n                // SkipSelf isn't set, check if the record belongs to this injector.\n                /** @type {?} */\n                let record = this.records.get(token);\n                if (record === undefined) {\n                    // No record, but maybe the token is scoped to this injector. Look for an ngInjectableDef\n                    // with a scope matching this injector.\n                    /** @type {?} */\n                    const def = couldBeInjectableType(token) && getInjectableDef(token);\n                    if (def && this.injectableDefInScope(def)) {\n                        // Found an ngInjectableDef and it's scoped to this injector. Pretend as if it was here\n                        // all along.\n                        record = makeRecord(injectableDefOrInjectorDefFactory(token), NOT_YET);\n                        this.records.set(token, record);\n                    }\n                }\n                // If a record was found, get the instance for it and return it.\n                if (record !== undefined) {\n                    return this.hydrate(token, record);\n                }\n            }\n            // Select the next injector based on the Self flag - if self is set, the next injector is\n            // the NullInjector, otherwise it's the parent.\n            /** @type {?} */\n            const nextInjector = !(flags & InjectFlags.Self) ? this.parent : getNullInjector();\n            return nextInjector.get(token, flags & InjectFlags.Optional ? null : notFoundValue);\n        }\n        catch (e) {\n            if (e.name === 'NullInjectorError') {\n                /** @type {?} */\n                const path = e[NG_TEMP_TOKEN_PATH] = e[NG_TEMP_TOKEN_PATH] || [];\n                path.unshift(stringify(token));\n                if (previousInjector) {\n                    // We still have a parent injector, keep throwing\n                    throw e;\n                }\n                else {\n                    // Format & throw the final error message when we don't have any previous injector\n                    return catchInjectorError(e, token, 'R3InjectorError', this.source);\n                }\n            }\n            else {\n                throw e;\n            }\n        }\n        finally {\n            // Lastly, clean up the state by restoring the previous injector.\n            setCurrentInjector(previousInjector);\n        }\n    }\n    /**\n     * @return {?}\n     */\n    toString() {\n        /** @type {?} */\n        const tokens = (/** @type {?} */ ([]));\n        /** @type {?} */\n        const records = this.records;\n        records.forEach((/**\n         * @param {?} v\n         * @param {?} token\n         * @return {?}\n         */\n        (v, token) => tokens.push(stringify(token))));\n        return `R3Injector[${tokens.join(', ')}]`;\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    assertNotDestroyed() {\n        if (this._destroyed) {\n            throw new Error('Injector has already been destroyed.');\n        }\n    }\n    /**\n     * Add an `InjectorType` or `InjectorTypeWithProviders` and all of its transitive providers\n     * to this injector.\n     *\n     * If an `InjectorTypeWithProviders` that declares providers besides the type is specified,\n     * the function will return \"true\" to indicate that the providers of the type definition need\n     * to be processed. This allows us to process providers of injector types after all imports of\n     * an injector definition are processed. (following View Engine semantics: see FW-1349)\n     * @private\n     * @param {?} defOrWrappedDef\n     * @param {?} parents\n     * @param {?} dedupStack\n     * @return {?}\n     */\n    processInjectorType(defOrWrappedDef, parents, dedupStack) {\n        defOrWrappedDef = resolveForwardRef(defOrWrappedDef);\n        if (!defOrWrappedDef)\n            return false;\n        // Either the defOrWrappedDef is an InjectorType (with ngInjectorDef) or an\n        // InjectorDefTypeWithProviders (aka ModuleWithProviders). Detecting either is a megamorphic\n        // read, so care is taken to only do the read once.\n        // First attempt to read the ngInjectorDef.\n        /** @type {?} */\n        let def = getInjectorDef(defOrWrappedDef);\n        // If that's not present, then attempt to read ngModule from the InjectorDefTypeWithProviders.\n        /** @type {?} */\n        const ngModule = (def == null) && ((/** @type {?} */ (defOrWrappedDef))).ngModule || undefined;\n        // Determine the InjectorType. In the case where `defOrWrappedDef` is an `InjectorType`,\n        // then this is easy. In the case of an InjectorDefTypeWithProviders, then the definition type\n        // is the `ngModule`.\n        /** @type {?} */\n        const defType = (ngModule === undefined) ? ((/** @type {?} */ (defOrWrappedDef))) : ngModule;\n        // Check for circular dependencies.\n        if (ngDevMode && parents.indexOf(defType) !== -1) {\n            /** @type {?} */\n            const defName = stringify(defType);\n            throw new Error(`Circular dependency in DI detected for type ${defName}. Dependency path: ${parents.map((/**\n             * @param {?} defType\n             * @return {?}\n             */\n            defType => stringify(defType))).join(' > ')} > ${defName}.`);\n        }\n        // Check for multiple imports of the same module\n        /** @type {?} */\n        const isDuplicate = dedupStack.indexOf(defType) !== -1;\n        // Finally, if defOrWrappedType was an `InjectorDefTypeWithProviders`, then the actual\n        // `InjectorDef` is on its `ngModule`.\n        if (ngModule !== undefined) {\n            def = getInjectorDef(ngModule);\n        }\n        // If no definition was found, it might be from exports. Remove it.\n        if (def == null) {\n            return false;\n        }\n        // Track the InjectorType and add a provider for it.\n        this.injectorDefTypes.add(defType);\n        this.records.set(defType, makeRecord(def.factory, NOT_YET));\n        // Add providers in the same way that @NgModule resolution did:\n        // First, include providers from any imports.\n        if (def.imports != null && !isDuplicate) {\n            // Before processing defType's imports, add it to the set of parents. This way, if it ends\n            // up deeply importing itself, this can be detected.\n            ngDevMode && parents.push(defType);\n            // Add it to the set of dedups. This way we can detect multiple imports of the same module\n            dedupStack.push(defType);\n            /** @type {?} */\n            let importTypesWithProviders;\n            try {\n                deepForEach(def.imports, (/**\n                 * @param {?} imported\n                 * @return {?}\n                 */\n                imported => {\n                    if (this.processInjectorType(imported, parents, dedupStack)) {\n                        if (importTypesWithProviders === undefined)\n                            importTypesWithProviders = [];\n                        // If the processed import is an injector type with providers, we store it in the\n                        // list of import types with providers, so that we can process those afterwards.\n                        importTypesWithProviders.push(imported);\n                    }\n                }));\n            }\n            finally {\n                // Remove it from the parents set when finished.\n                ngDevMode && parents.pop();\n            }\n            // Imports which are declared with providers (TypeWithProviders) need to be processed\n            // after all imported modules are processed. This is similar to how View Engine\n            // processes/merges module imports in the metadata resolver. See: FW-1349.\n            if (importTypesWithProviders !== undefined) {\n                for (let i = 0; i < importTypesWithProviders.length; i++) {\n                    const { ngModule, providers } = importTypesWithProviders[i];\n                    deepForEach((/** @type {?} */ (providers)), (/**\n                     * @param {?} provider\n                     * @return {?}\n                     */\n                    provider => this.processProvider(provider, ngModule, providers || EMPTY_ARRAY$2)));\n                }\n            }\n        }\n        // Next, include providers listed on the definition itself.\n        /** @type {?} */\n        const defProviders = def.providers;\n        if (defProviders != null && !isDuplicate) {\n            /** @type {?} */\n            const injectorType = (/** @type {?} */ (defOrWrappedDef));\n            deepForEach(defProviders, (/**\n             * @param {?} provider\n             * @return {?}\n             */\n            provider => this.processProvider(provider, injectorType, defProviders)));\n        }\n        return (ngModule !== undefined &&\n            ((/** @type {?} */ (defOrWrappedDef))).providers !== undefined);\n    }\n    /**\n     * Process a `SingleProvider` and add it.\n     * @private\n     * @param {?} provider\n     * @param {?} ngModuleType\n     * @param {?} providers\n     * @return {?}\n     */\n    processProvider(provider, ngModuleType, providers) {\n        // Determine the token from the provider. Either it's its own token, or has a {provide: ...}\n        // property.\n        provider = resolveForwardRef(provider);\n        /** @type {?} */\n        let token = isTypeProvider(provider) ? provider : resolveForwardRef(provider && provider.provide);\n        // Construct a `Record` for the provider.\n        /** @type {?} */\n        const record = providerToRecord(provider, ngModuleType, providers);\n        if (!isTypeProvider(provider) && provider.multi === true) {\n            // If the provider indicates that it's a multi-provider, process it specially.\n            // First check whether it's been defined already.\n            /** @type {?} */\n            let multiRecord = this.records.get(token);\n            if (multiRecord) {\n                // It has. Throw a nice error if\n                if (multiRecord.multi === undefined) {\n                    throwMixedMultiProviderError();\n                }\n            }\n            else {\n                multiRecord = makeRecord(undefined, NOT_YET, true);\n                multiRecord.factory = (/**\n                 * @return {?}\n                 */\n                () => injectArgs((/** @type {?} */ ((/** @type {?} */ (multiRecord)).multi))));\n                this.records.set(token, multiRecord);\n            }\n            token = provider;\n            (/** @type {?} */ (multiRecord.multi)).push(provider);\n        }\n        else {\n            /** @type {?} */\n            const existing = this.records.get(token);\n            if (existing && existing.multi !== undefined) {\n                throwMixedMultiProviderError();\n            }\n        }\n        this.records.set(token, record);\n    }\n    /**\n     * @private\n     * @template T\n     * @param {?} token\n     * @param {?} record\n     * @return {?}\n     */\n    hydrate(token, record) {\n        if (record.value === CIRCULAR) {\n            throwCyclicDependencyError(stringify(token));\n        }\n        else if (record.value === NOT_YET) {\n            record.value = CIRCULAR;\n            record.value = (/** @type {?} */ (record.factory))();\n        }\n        if (typeof record.value === 'object' && record.value && hasOnDestroy(record.value)) {\n            this.onDestroy.add(record.value);\n        }\n        return (/** @type {?} */ (record.value));\n    }\n    /**\n     * @private\n     * @param {?} def\n     * @return {?}\n     */\n    injectableDefInScope(def) {\n        if (!def.providedIn) {\n            return false;\n        }\n        else if (typeof def.providedIn === 'string') {\n            return def.providedIn === 'any' || (def.providedIn === 'root' && this.isRootInjector);\n        }\n        else {\n            return this.injectorDefTypes.has(def.providedIn);\n        }\n    }\n}\nif (false) {}\n/**\n * @param {?} token\n * @return {?}\n */\nfunction injectableDefOrInjectorDefFactory(token) {\n    // Most tokens will have an ngInjectableDef directly on them, which specifies a factory directly.\n    /** @type {?} */\n    const injectableDef = getInjectableDef(token);\n    if (injectableDef !== null) {\n        return injectableDef.factory;\n    }\n    // If the token is an NgModule, it's also injectable but the factory is on its ngInjectorDef.\n    /** @type {?} */\n    const injectorDef = getInjectorDef(token);\n    if (injectorDef !== null) {\n        return injectorDef.factory;\n    }\n    // InjectionTokens should have an ngInjectableDef and thus should be handled above.\n    // If it's missing that, it's an error.\n    if (token instanceof InjectionToken) {\n        throw new Error(`Token ${stringify(token)} is missing an ngInjectableDef definition.`);\n    }\n    // Undecorated types can sometimes be created if they have no constructor arguments.\n    if (token instanceof Function) {\n        return getUndecoratedInjectableFactory(token);\n    }\n    // There was no way to resolve a factory for this token.\n    throw new Error('unreachable');\n}\n/**\n * @param {?} token\n * @return {?}\n */\nfunction getUndecoratedInjectableFactory(token) {\n    // If the token has parameters then it has dependencies that we cannot resolve implicitly.\n    /** @type {?} */\n    const paramLength = token.length;\n    if (paramLength > 0) {\n        /** @type {?} */\n        const args = new Array(paramLength).fill('?');\n        throw new Error(`Can't resolve all parameters for ${stringify(token)}: (${args.join(', ')}).`);\n    }\n    // The constructor function appears to have no parameters.\n    // This might be because it inherits from a super-class. In which case, use an ngInjectableDef\n    // from an ancestor if there is one.\n    // Otherwise this really is a simple class with no dependencies, so return a factory that\n    // just instantiates the zero-arg constructor.\n    /** @type {?} */\n    const inheritedInjectableDef = getInheritedInjectableDef(token);\n    if (inheritedInjectableDef !== null) {\n        return (/**\n         * @return {?}\n         */\n        () => inheritedInjectableDef.factory((/** @type {?} */ (token))));\n    }\n    else {\n        return (/**\n         * @return {?}\n         */\n        () => new ((/** @type {?} */ (token)))());\n    }\n}\n/**\n * @param {?} provider\n * @param {?} ngModuleType\n * @param {?} providers\n * @return {?}\n */\nfunction providerToRecord(provider, ngModuleType, providers) {\n    /** @type {?} */\n    let factory = providerToFactory(provider, ngModuleType, providers);\n    if (isValueProvider(provider)) {\n        return makeRecord(undefined, provider.useValue);\n    }\n    else {\n        return makeRecord(factory, NOT_YET);\n    }\n}\n/**\n * Converts a `SingleProvider` into a factory function.\n *\n * @param {?} provider provider to convert to factory\n * @param {?=} ngModuleType\n * @param {?=} providers\n * @return {?}\n */\nfunction providerToFactory(provider, ngModuleType, providers) {\n    /** @type {?} */\n    let factory = undefined;\n    if (isTypeProvider(provider)) {\n        return injectableDefOrInjectorDefFactory(resolveForwardRef(provider));\n    }\n    else {\n        if (isValueProvider(provider)) {\n            factory = (/**\n             * @return {?}\n             */\n            () => resolveForwardRef(provider.useValue));\n        }\n        else if (isExistingProvider(provider)) {\n            factory = (/**\n             * @return {?}\n             */\n            () => ɵɵinject(resolveForwardRef(provider.useExisting)));\n        }\n        else if (isFactoryProvider(provider)) {\n            factory = (/**\n             * @return {?}\n             */\n            () => provider.useFactory(...injectArgs(provider.deps || [])));\n        }\n        else {\n            /** @type {?} */\n            const classRef = resolveForwardRef(provider &&\n                (((/** @type {?} */ (provider))).useClass || provider.provide));\n            if (!classRef) {\n                throwInvalidProviderError(ngModuleType, providers, provider);\n            }\n            if (hasDeps(provider)) {\n                factory = (/**\n                 * @return {?}\n                 */\n                () => new (classRef)(...injectArgs(provider.deps)));\n            }\n            else {\n                return injectableDefOrInjectorDefFactory(classRef);\n            }\n        }\n    }\n    return factory;\n}\n/**\n * @template T\n * @param {?} factory\n * @param {?} value\n * @param {?=} multi\n * @return {?}\n */\nfunction makeRecord(factory, value, multi = false) {\n    return {\n        factory: factory,\n        value: value,\n        multi: multi ? [] : undefined,\n    };\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction isValueProvider(value) {\n    return value !== null && typeof value == 'object' && USE_VALUE in value;\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction isExistingProvider(value) {\n    return !!(value && ((/** @type {?} */ (value))).useExisting);\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction isFactoryProvider(value) {\n    return !!(value && ((/** @type {?} */ (value))).useFactory);\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction isTypeProvider(value) {\n    return typeof value === 'function';\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction isClassProvider(value) {\n    return !!((/** @type {?} */ (value))).useClass;\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction hasDeps(value) {\n    return !!((/** @type {?} */ (value))).deps;\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction hasOnDestroy(value) {\n    return value !== null && typeof value === 'object' &&\n        typeof ((/** @type {?} */ (value))).ngOnDestroy === 'function';\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction couldBeInjectableType(value) {\n    return (typeof value === 'function') ||\n        (typeof value === 'object' && value instanceof InjectionToken);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @param {?} providers\n * @param {?} parent\n * @param {?} name\n * @return {?}\n */\nfunction INJECTOR_IMPL__PRE_R3__(providers, parent, name) {\n    return new StaticInjector(providers, parent, name);\n}\n/**\n * @param {?} providers\n * @param {?} parent\n * @param {?} name\n * @return {?}\n */\nfunction INJECTOR_IMPL__POST_R3__(providers, parent, name) {\n    return createInjector({ name: name }, parent, providers, name);\n}\n/** @type {?} */\nconst INJECTOR_IMPL = INJECTOR_IMPL__PRE_R3__;\n/**\n * Concrete injectors implement this interface.\n *\n * For more details, see the [\"Dependency Injection Guide\"](guide/dependency-injection).\n *\n * \\@usageNotes\n * ### Example\n *\n * {\\@example core/di/ts/injector_spec.ts region='Injector'}\n *\n * `Injector` returns itself when given `Injector` as a token:\n *\n * {\\@example core/di/ts/injector_spec.ts region='injectInjector'}\n *\n * \\@publicApi\n * @abstract\n */\nclass Injector {\n    /**\n     * Create a new Injector which is configure using `StaticProvider`s.\n     *\n     * \\@usageNotes\n     * ### Example\n     *\n     * {\\@example core/di/ts/provider_spec.ts region='ConstructorProvider'}\n     * @param {?} options\n     * @param {?=} parent\n     * @return {?}\n     */\n    static create(options, parent) {\n        if (Array.isArray(options)) {\n            return INJECTOR_IMPL(options, parent, '');\n        }\n        else {\n            return INJECTOR_IMPL(options.providers, options.parent, options.name || '');\n        }\n    }\n}\nInjector.THROW_IF_NOT_FOUND = THROW_IF_NOT_FOUND;\nInjector.NULL = new NullInjector();\n/** @nocollapse */\n/** @nocollapse */ Injector.ngInjectableDef = ɵɵdefineInjectable({\n    token: Injector,\n    providedIn: (/** @type {?} */ ('any')),\n    factory: (/**\n     * @return {?}\n     */\n    () => ɵɵinject(INJECTOR)),\n});\n/**\n * \\@internal\n * @nocollapse\n */\nInjector.__NG_ELEMENT_ID__ = -1;\nif (false) {}\n/** @type {?} */\nconst IDENT = (/**\n * @template T\n * @param {?} value\n * @return {?}\n */\nfunction (value) {\n    return value;\n});\nconst ɵ0$a = IDENT;\n/** @type {?} */\nconst EMPTY = (/** @type {?} */ ([]));\n/** @type {?} */\nconst CIRCULAR$1 = IDENT;\n/** @type {?} */\nconst MULTI_PROVIDER_FN = (/**\n * @return {?}\n */\nfunction () {\n    return Array.prototype.slice.call(arguments);\n});\nconst ɵ1$2 = MULTI_PROVIDER_FN;\n/** @enum {number} */\nconst OptionFlags = {\n    Optional: 1,\n    CheckSelf: 2,\n    CheckParent: 4,\n    Default: 6,\n};\n/** @type {?} */\nconst NO_NEW_LINE$1 = 'ɵ';\nclass StaticInjector {\n    /**\n     * @param {?} providers\n     * @param {?=} parent\n     * @param {?=} source\n     */\n    constructor(providers, parent = Injector.NULL, source = null) {\n        this.parent = parent;\n        this.source = source;\n        /** @type {?} */\n        const records = this._records = new Map();\n        records.set(Injector, (/** @type {?} */ ({ token: Injector, fn: IDENT, deps: EMPTY, value: this, useNew: false })));\n        records.set(INJECTOR, (/** @type {?} */ ({ token: INJECTOR, fn: IDENT, deps: EMPTY, value: this, useNew: false })));\n        recursivelyProcessProviders(records, providers);\n    }\n    /**\n     * @param {?} token\n     * @param {?=} notFoundValue\n     * @param {?=} flags\n     * @return {?}\n     */\n    get(token, notFoundValue, flags = InjectFlags.Default) {\n        /** @type {?} */\n        const record = this._records.get(token);\n        try {\n            return tryResolveToken(token, record, this._records, this.parent, notFoundValue, flags);\n        }\n        catch (e) {\n            return catchInjectorError(e, token, 'StaticInjectorError', this.source);\n        }\n    }\n    /**\n     * @return {?}\n     */\n    toString() {\n        /** @type {?} */\n        const tokens = (/** @type {?} */ ([]));\n        /** @type {?} */\n        const records = this._records;\n        records.forEach((/**\n         * @param {?} v\n         * @param {?} token\n         * @return {?}\n         */\n        (v, token) => tokens.push(stringify(token))));\n        return `StaticInjector[${tokens.join(', ')}]`;\n    }\n}\nif (false) {}\n/**\n * @record\n */\nfunction Record$1() { }\nif (false) {}\n/**\n * @record\n */\nfunction DependencyRecord() { }\nif (false) {}\n/**\n * @param {?} provider\n * @return {?}\n */\nfunction resolveProvider(provider) {\n    /** @type {?} */\n    const deps = computeDeps(provider);\n    /** @type {?} */\n    let fn = IDENT;\n    /** @type {?} */\n    let value = EMPTY;\n    /** @type {?} */\n    let useNew = false;\n    /** @type {?} */\n    let provide = resolveForwardRef(provider.provide);\n    if (USE_VALUE in provider) {\n        // We need to use USE_VALUE in provider since provider.useValue could be defined as undefined.\n        value = ((/** @type {?} */ (provider))).useValue;\n    }\n    else if (((/** @type {?} */ (provider))).useFactory) {\n        fn = ((/** @type {?} */ (provider))).useFactory;\n    }\n    else if (((/** @type {?} */ (provider))).useExisting) {\n        // Just use IDENT\n    }\n    else if (((/** @type {?} */ (provider))).useClass) {\n        useNew = true;\n        fn = resolveForwardRef(((/** @type {?} */ (provider))).useClass);\n    }\n    else if (typeof provide == 'function') {\n        useNew = true;\n        fn = provide;\n    }\n    else {\n        throw staticError('StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable', provider);\n    }\n    return { deps, fn, useNew, value };\n}\n/**\n * @param {?} token\n * @return {?}\n */\nfunction multiProviderMixError(token) {\n    return staticError('Cannot mix multi providers and regular providers', token);\n}\n/**\n * @param {?} records\n * @param {?} provider\n * @return {?}\n */\nfunction recursivelyProcessProviders(records, provider) {\n    if (provider) {\n        provider = resolveForwardRef(provider);\n        if (provider instanceof Array) {\n            // if we have an array recurse into the array\n            for (let i = 0; i < provider.length; i++) {\n                recursivelyProcessProviders(records, provider[i]);\n            }\n        }\n        else if (typeof provider === 'function') {\n            // Functions were supported in ReflectiveInjector, but are not here. For safety give useful\n            // error messages\n            throw staticError('Function/Class not supported', provider);\n        }\n        else if (provider && typeof provider === 'object' && provider.provide) {\n            // At this point we have what looks like a provider: {provide: ?, ....}\n            /** @type {?} */\n            let token = resolveForwardRef(provider.provide);\n            /** @type {?} */\n            const resolvedProvider = resolveProvider(provider);\n            if (provider.multi === true) {\n                // This is a multi provider.\n                /** @type {?} */\n                let multiProvider = records.get(token);\n                if (multiProvider) {\n                    if (multiProvider.fn !== MULTI_PROVIDER_FN) {\n                        throw multiProviderMixError(token);\n                    }\n                }\n                else {\n                    // Create a placeholder factory which will look up the constituents of the multi provider.\n                    records.set(token, multiProvider = (/** @type {?} */ ({\n                        token: provider.provide,\n                        deps: [],\n                        useNew: false,\n                        fn: MULTI_PROVIDER_FN,\n                        value: EMPTY\n                    })));\n                }\n                // Treat the provider as the token.\n                token = provider;\n                multiProvider.deps.push({ token, options: 6 /* Default */ });\n            }\n            /** @type {?} */\n            const record = records.get(token);\n            if (record && record.fn == MULTI_PROVIDER_FN) {\n                throw multiProviderMixError(token);\n            }\n            records.set(token, resolvedProvider);\n        }\n        else {\n            throw staticError('Unexpected provider', provider);\n        }\n    }\n}\n/**\n * @param {?} token\n * @param {?} record\n * @param {?} records\n * @param {?} parent\n * @param {?} notFoundValue\n * @param {?} flags\n * @return {?}\n */\nfunction tryResolveToken(token, record, records, parent, notFoundValue, flags) {\n    try {\n        return resolveToken(token, record, records, parent, notFoundValue, flags);\n    }\n    catch (e) {\n        // ensure that 'e' is of type Error.\n        if (!(e instanceof Error)) {\n            e = new Error(e);\n        }\n        /** @type {?} */\n        const path = e[NG_TEMP_TOKEN_PATH] = e[NG_TEMP_TOKEN_PATH] || [];\n        path.unshift(token);\n        if (record && record.value == CIRCULAR$1) {\n            // Reset the Circular flag.\n            record.value = EMPTY;\n        }\n        throw e;\n    }\n}\n/**\n * @param {?} token\n * @param {?} record\n * @param {?} records\n * @param {?} parent\n * @param {?} notFoundValue\n * @param {?} flags\n * @return {?}\n */\nfunction resolveToken(token, record, records, parent, notFoundValue, flags) {\n    /** @type {?} */\n    let value;\n    if (record && !(flags & InjectFlags.SkipSelf)) {\n        // If we don't have a record, this implies that we don't own the provider hence don't know how\n        // to resolve it.\n        value = record.value;\n        if (value == CIRCULAR$1) {\n            throw Error(NO_NEW_LINE$1 + 'Circular dependency');\n        }\n        else if (value === EMPTY) {\n            record.value = CIRCULAR$1;\n            /** @type {?} */\n            let obj = undefined;\n            /** @type {?} */\n            let useNew = record.useNew;\n            /** @type {?} */\n            let fn = record.fn;\n            /** @type {?} */\n            let depRecords = record.deps;\n            /** @type {?} */\n            let deps = EMPTY;\n            if (depRecords.length) {\n                deps = [];\n                for (let i = 0; i < depRecords.length; i++) {\n                    /** @type {?} */\n                    const depRecord = depRecords[i];\n                    /** @type {?} */\n                    const options = depRecord.options;\n                    /** @type {?} */\n                    const childRecord = options & 2 /* CheckSelf */ ? records.get(depRecord.token) : undefined;\n                    deps.push(tryResolveToken(\n                    // Current Token to resolve\n                    depRecord.token, \n                    // A record which describes how to resolve the token.\n                    // If undefined, this means we don't have such a record\n                    childRecord, \n                    // Other records we know about.\n                    records, \n                    // If we don't know how to resolve dependency and we should not check parent for it,\n                    // than pass in Null injector.\n                    !childRecord && !(options & 4 /* CheckParent */) ? Injector.NULL : parent, options & 1 /* Optional */ ? null : Injector.THROW_IF_NOT_FOUND, InjectFlags.Default));\n                }\n            }\n            record.value = value = useNew ? new ((/** @type {?} */ (fn)))(...deps) : fn.apply(obj, deps);\n        }\n    }\n    else if (!(flags & InjectFlags.Self)) {\n        value = parent.get(token, notFoundValue, InjectFlags.Default);\n    }\n    return value;\n}\n/**\n * @param {?} provider\n * @return {?}\n */\nfunction computeDeps(provider) {\n    /** @type {?} */\n    let deps = EMPTY;\n    /** @type {?} */\n    const providerDeps = ((/** @type {?} */ (provider))).deps;\n    if (providerDeps && providerDeps.length) {\n        deps = [];\n        for (let i = 0; i < providerDeps.length; i++) {\n            /** @type {?} */\n            let options = 6 /* Default */;\n            /** @type {?} */\n            let token = resolveForwardRef(providerDeps[i]);\n            if (token instanceof Array) {\n                for (let j = 0, annotations = token; j < annotations.length; j++) {\n                    /** @type {?} */\n                    const annotation = annotations[j];\n                    if (annotation instanceof Optional || annotation == Optional) {\n                        options = options | 1 /* Optional */;\n                    }\n                    else if (annotation instanceof SkipSelf || annotation == SkipSelf) {\n                        options = options & ~2 /* CheckSelf */;\n                    }\n                    else if (annotation instanceof Self || annotation == Self) {\n                        options = options & ~4 /* CheckParent */;\n                    }\n                    else if (annotation instanceof Inject) {\n                        token = ((/** @type {?} */ (annotation))).token;\n                    }\n                    else {\n                        token = resolveForwardRef(annotation);\n                    }\n                }\n            }\n            deps.push({ token, options });\n        }\n    }\n    else if (((/** @type {?} */ (provider))).useExisting) {\n        /** @type {?} */\n        const token = resolveForwardRef(((/** @type {?} */ (provider))).useExisting);\n        deps = [{ token, options: 6 /* Default */ }];\n    }\n    else if (!providerDeps && !(USE_VALUE in provider)) {\n        // useValue & useExisting are the only ones which are exempt from deps all others need it.\n        throw staticError('\\'deps\\' required', provider);\n    }\n    return deps;\n}\n/**\n * @param {?} text\n * @param {?} obj\n * @return {?}\n */\nfunction staticError(text, obj) {\n    return new Error(formatError(text, obj, 'StaticInjectorError'));\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @param {?} keys\n * @return {?}\n */\nfunction findFirstClosedCycle(keys) {\n    /** @type {?} */\n    const res = [];\n    for (let i = 0; i < keys.length; ++i) {\n        if (res.indexOf(keys[i]) > -1) {\n            res.push(keys[i]);\n            return res;\n        }\n        res.push(keys[i]);\n    }\n    return res;\n}\n/**\n * @param {?} keys\n * @return {?}\n */\nfunction constructResolvingPath(keys) {\n    if (keys.length > 1) {\n        /** @type {?} */\n        const reversed = findFirstClosedCycle(keys.slice().reverse());\n        /** @type {?} */\n        const tokenStrs = reversed.map((/**\n         * @param {?} k\n         * @return {?}\n         */\n        k => stringify(k.token)));\n        return ' (' + tokenStrs.join(' -> ') + ')';\n    }\n    return '';\n}\n/**\n * @record\n */\nfunction InjectionError() { }\nif (false) {}\n/**\n * @param {?} injector\n * @param {?} key\n * @param {?} constructResolvingMessage\n * @param {?=} originalError\n * @return {?}\n */\nfunction injectionError(injector, key, constructResolvingMessage, originalError) {\n    /** @type {?} */\n    const keys = [key];\n    /** @type {?} */\n    const errMsg = constructResolvingMessage(keys);\n    /** @type {?} */\n    const error = (/** @type {?} */ ((originalError ? wrappedError(errMsg, originalError) : Error(errMsg))));\n    error.addKey = addKey;\n    error.keys = keys;\n    error.injectors = [injector];\n    error.constructResolvingMessage = constructResolvingMessage;\n    ((/** @type {?} */ (error)))[ERROR_ORIGINAL_ERROR] = originalError;\n    return error;\n}\n/**\n * @this {?}\n * @param {?} injector\n * @param {?} key\n * @return {?}\n */\nfunction addKey(injector, key) {\n    this.injectors.push(injector);\n    this.keys.push(key);\n    // Note: This updated message won't be reflected in the `.stack` property\n    this.message = this.constructResolvingMessage(this.keys);\n}\n/**\n * Thrown when trying to retrieve a dependency by key from {\\@link Injector}, but the\n * {\\@link Injector} does not have a {\\@link Provider} for the given key.\n *\n * \\@usageNotes\n * ### Example\n *\n * ```typescript\n * class A {\n *   constructor(b:B) {}\n * }\n *\n * expect(() => Injector.resolveAndCreate([A])).toThrowError();\n * ```\n * @param {?} injector\n * @param {?} key\n * @return {?}\n */\nfunction noProviderError(injector, key) {\n    return injectionError(injector, key, (/**\n     * @param {?} keys\n     * @return {?}\n     */\n    function (keys) {\n        /** @type {?} */\n        const first = stringify(keys[0].token);\n        return `No provider for ${first}!${constructResolvingPath(keys)}`;\n    }));\n}\n/**\n * Thrown when dependencies form a cycle.\n *\n * \\@usageNotes\n * ### Example\n *\n * ```typescript\n * var injector = Injector.resolveAndCreate([\n *   {provide: \"one\", useFactory: (two) => \"two\", deps: [[new Inject(\"two\")]]},\n *   {provide: \"two\", useFactory: (one) => \"one\", deps: [[new Inject(\"one\")]]}\n * ]);\n *\n * expect(() => injector.get(\"one\")).toThrowError();\n * ```\n *\n * Retrieving `A` or `B` throws a `CyclicDependencyError` as the graph above cannot be constructed.\n * @param {?} injector\n * @param {?} key\n * @return {?}\n */\nfunction cyclicDependencyError(injector, key) {\n    return injectionError(injector, key, (/**\n     * @param {?} keys\n     * @return {?}\n     */\n    function (keys) {\n        return `Cannot instantiate cyclic dependency!${constructResolvingPath(keys)}`;\n    }));\n}\n/**\n * Thrown when a constructing type returns with an Error.\n *\n * The `InstantiationError` class contains the original error plus the dependency graph which caused\n * this object to be instantiated.\n *\n * \\@usageNotes\n * ### Example\n *\n * ```typescript\n * class A {\n *   constructor() {\n *     throw new Error('message');\n *   }\n * }\n *\n * var injector = Injector.resolveAndCreate([A]);\n * try {\n *   injector.get(A);\n * } catch (e) {\n *   expect(e instanceof InstantiationError).toBe(true);\n *   expect(e.originalException.message).toEqual(\"message\");\n *   expect(e.originalStack).toBeDefined();\n * }\n * ```\n * @param {?} injector\n * @param {?} originalException\n * @param {?} originalStack\n * @param {?} key\n * @return {?}\n */\nfunction instantiationError(injector, originalException, originalStack, key) {\n    return injectionError(injector, key, (/**\n     * @param {?} keys\n     * @return {?}\n     */\n    function (keys) {\n        /** @type {?} */\n        const first = stringify(keys[0].token);\n        return `${originalException.message}: Error during instantiation of ${first}!${constructResolvingPath(keys)}.`;\n    }), originalException);\n}\n/**\n * Thrown when an object other then {\\@link Provider} (or `Type`) is passed to {\\@link Injector}\n * creation.\n *\n * \\@usageNotes\n * ### Example\n *\n * ```typescript\n * expect(() => Injector.resolveAndCreate([\"not a type\"])).toThrowError();\n * ```\n * @param {?} provider\n * @return {?}\n */\nfunction invalidProviderError(provider) {\n    return Error(`Invalid provider - only instances of Provider and Type are allowed, got: ${provider}`);\n}\n/**\n * Thrown when the class has no annotation information.\n *\n * Lack of annotation information prevents the {\\@link Injector} from determining which dependencies\n * need to be injected into the constructor.\n *\n * \\@usageNotes\n * ### Example\n *\n * ```typescript\n * class A {\n *   constructor(b) {}\n * }\n *\n * expect(() => Injector.resolveAndCreate([A])).toThrowError();\n * ```\n *\n * This error is also thrown when the class not marked with {\\@link Injectable} has parameter types.\n *\n * ```typescript\n * class B {}\n *\n * class A {\n *   constructor(b:B) {} // no information about the parameter types of A is available at runtime.\n * }\n *\n * expect(() => Injector.resolveAndCreate([A,B])).toThrowError();\n * ```\n *\n * @param {?} typeOrFunc\n * @param {?} params\n * @return {?}\n */\nfunction noAnnotationError(typeOrFunc, params) {\n    /** @type {?} */\n    const signature = [];\n    for (let i = 0, ii = params.length; i < ii; i++) {\n        /** @type {?} */\n        const parameter = params[i];\n        if (!parameter || parameter.length == 0) {\n            signature.push('?');\n        }\n        else {\n            signature.push(parameter.map(stringify).join(' '));\n        }\n    }\n    return Error('Cannot resolve all parameters for \\'' + stringify(typeOrFunc) + '\\'(' +\n        signature.join(', ') + '). ' +\n        'Make sure that all the parameters are decorated with Inject or have valid type annotations and that \\'' +\n        stringify(typeOrFunc) + '\\' is decorated with Injectable.');\n}\n/**\n * Thrown when getting an object by index.\n *\n * \\@usageNotes\n * ### Example\n *\n * ```typescript\n * class A {}\n *\n * var injector = Injector.resolveAndCreate([A]);\n *\n * expect(() => injector.getAt(100)).toThrowError();\n * ```\n *\n * @param {?} index\n * @return {?}\n */\nfunction outOfBoundsError(index) {\n    return Error(`Index ${index} is out-of-bounds.`);\n}\n// TODO: add a working example after alpha38 is released\n/**\n * Thrown when a multi provider and a regular provider are bound to the same token.\n *\n * \\@usageNotes\n * ### Example\n *\n * ```typescript\n * expect(() => Injector.resolveAndCreate([\n *   { provide: \"Strings\", useValue: \"string1\", multi: true},\n *   { provide: \"Strings\", useValue: \"string2\", multi: false}\n * ])).toThrowError();\n * ```\n * @param {?} provider1\n * @param {?} provider2\n * @return {?}\n */\nfunction mixingMultiProvidersWithRegularProvidersError(provider1, provider2) {\n    return Error(`Cannot mix multi providers and regular providers, got: ${provider1} ${provider2}`);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * A unique object used for retrieving items from the {\\@link ReflectiveInjector}.\n *\n * Keys have:\n * - a system-wide unique `id`.\n * - a `token`.\n *\n * `Key` is used internally by {\\@link ReflectiveInjector} because its system-wide unique `id` allows\n * the\n * injector to store created objects in a more efficient way.\n *\n * `Key` should not be created directly. {\\@link ReflectiveInjector} creates keys automatically when\n * resolving\n * providers.\n *\n * @deprecated No replacement\n * \\@publicApi\n */\nclass ReflectiveKey {\n    /**\n     * Private\n     * @param {?} token\n     * @param {?} id\n     */\n    constructor(token, id) {\n        this.token = token;\n        this.id = id;\n        if (!token) {\n            throw new Error('Token must be defined!');\n        }\n        this.displayName = stringify(this.token);\n    }\n    /**\n     * Retrieves a `Key` for a token.\n     * @param {?} token\n     * @return {?}\n     */\n    static get(token) {\n        return _globalKeyRegistry.get(resolveForwardRef(token));\n    }\n    /**\n     * @return {?} the number of keys registered in the system.\n     */\n    static get numberOfKeys() { return _globalKeyRegistry.numberOfKeys; }\n}\nif (false) {}\nclass KeyRegistry {\n    constructor() {\n        this._allKeys = new Map();\n    }\n    /**\n     * @param {?} token\n     * @return {?}\n     */\n    get(token) {\n        if (token instanceof ReflectiveKey)\n            return token;\n        if (this._allKeys.has(token)) {\n            return (/** @type {?} */ (this._allKeys.get(token)));\n        }\n        /** @type {?} */\n        const newKey = new ReflectiveKey(token, ReflectiveKey.numberOfKeys);\n        this._allKeys.set(token, newKey);\n        return newKey;\n    }\n    /**\n     * @return {?}\n     */\n    get numberOfKeys() { return this._allKeys.size; }\n}\nif (false) {}\n/** @type {?} */\nconst _globalKeyRegistry = new KeyRegistry();\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Provides access to reflection data about symbols. Used internally by Angular\n * to power dependency injection and compilation.\n */\nclass Reflector {\n    constructor(reflectionCapabilities) {\n        this.reflectionCapabilities = reflectionCapabilities;\n    }\n    updateCapabilities(caps) { this.reflectionCapabilities = caps; }\n    factory(type) { return this.reflectionCapabilities.factory(type); }\n    parameters(typeOrFunc) {\n        return this.reflectionCapabilities.parameters(typeOrFunc);\n    }\n    annotations(typeOrFunc) {\n        return this.reflectionCapabilities.annotations(typeOrFunc);\n    }\n    propMetadata(typeOrFunc) {\n        return this.reflectionCapabilities.propMetadata(typeOrFunc);\n    }\n    hasLifecycleHook(type, lcProperty) {\n        return this.reflectionCapabilities.hasLifecycleHook(type, lcProperty);\n    }\n    getter(name) { return this.reflectionCapabilities.getter(name); }\n    setter(name) { return this.reflectionCapabilities.setter(name); }\n    method(name) { return this.reflectionCapabilities.method(name); }\n    importUri(type) { return this.reflectionCapabilities.importUri(type); }\n    resourceUri(type) { return this.reflectionCapabilities.resourceUri(type); }\n    resolveIdentifier(name, moduleUrl, members, runtime) {\n        return this.reflectionCapabilities.resolveIdentifier(name, moduleUrl, members, runtime);\n    }\n    resolveEnum(identifier, name) {\n        return this.reflectionCapabilities.resolveEnum(identifier, name);\n    }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * The {@link Reflector} used internally in Angular to access metadata\n * about symbols.\n */\nconst reflector = new Reflector(new ReflectionCapabilities());\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @record\n */\nfunction NormalizedProvider() { }\n/**\n * `Dependency` is used by the framework to extend DI.\n * This is internal to Angular and should not be used directly.\n */\nclass ReflectiveDependency {\n    /**\n     * @param {?} key\n     * @param {?} optional\n     * @param {?} visibility\n     */\n    constructor(key, optional, visibility) {\n        this.key = key;\n        this.optional = optional;\n        this.visibility = visibility;\n    }\n    /**\n     * @param {?} key\n     * @return {?}\n     */\n    static fromKey(key) {\n        return new ReflectiveDependency(key, false, null);\n    }\n}\nif (false) {}\n/** @type {?} */\nconst _EMPTY_LIST = [];\n/**\n * An internal resolved representation of a `Provider` used by the `Injector`.\n *\n * \\@usageNotes\n * This is usually created automatically by `Injector.resolveAndCreate`.\n *\n * It can be created manually, as follows:\n *\n * ### Example\n *\n * ```typescript\n * var resolvedProviders = Injector.resolve([{ provide: 'message', useValue: 'Hello' }]);\n * var injector = Injector.fromResolvedProviders(resolvedProviders);\n *\n * expect(injector.get('message')).toEqual('Hello');\n * ```\n *\n * \\@publicApi\n * @record\n */\nfunction ResolvedReflectiveProvider() { }\nif (false) {}\nclass ResolvedReflectiveProvider_ {\n    /**\n     * @param {?} key\n     * @param {?} resolvedFactories\n     * @param {?} multiProvider\n     */\n    constructor(key, resolvedFactories, multiProvider) {\n        this.key = key;\n        this.resolvedFactories = resolvedFactories;\n        this.multiProvider = multiProvider;\n        this.resolvedFactory = this.resolvedFactories[0];\n    }\n}\nif (false) {}\n/**\n * An internal resolved representation of a factory function created by resolving `Provider`.\n * \\@publicApi\n */\nclass ResolvedReflectiveFactory {\n    /**\n     * @param {?} factory\n     * @param {?} dependencies\n     */\n    constructor(factory, dependencies) {\n        this.factory = factory;\n        this.dependencies = dependencies;\n    }\n}\nif (false) {}\n/**\n * Resolve a single provider.\n * @param {?} provider\n * @return {?}\n */\nfunction resolveReflectiveFactory(provider) {\n    /** @type {?} */\n    let factoryFn;\n    /** @type {?} */\n    let resolvedDeps;\n    if (provider.useClass) {\n        /** @type {?} */\n        const useClass = resolveForwardRef(provider.useClass);\n        factoryFn = reflector.factory(useClass);\n        resolvedDeps = _dependenciesFor(useClass);\n    }\n    else if (provider.useExisting) {\n        factoryFn = (/**\n         * @param {?} aliasInstance\n         * @return {?}\n         */\n        (aliasInstance) => aliasInstance);\n        resolvedDeps = [ReflectiveDependency.fromKey(ReflectiveKey.get(provider.useExisting))];\n    }\n    else if (provider.useFactory) {\n        factoryFn = provider.useFactory;\n        resolvedDeps = constructDependencies(provider.useFactory, provider.deps);\n    }\n    else {\n        factoryFn = (/**\n         * @return {?}\n         */\n        () => provider.useValue);\n        resolvedDeps = _EMPTY_LIST;\n    }\n    return new ResolvedReflectiveFactory(factoryFn, resolvedDeps);\n}\n/**\n * Converts the `Provider` into `ResolvedProvider`.\n *\n * `Injector` internally only uses `ResolvedProvider`, `Provider` contains convenience provider\n * syntax.\n * @param {?} provider\n * @return {?}\n */\nfunction resolveReflectiveProvider(provider) {\n    return new ResolvedReflectiveProvider_(ReflectiveKey.get(provider.provide), [resolveReflectiveFactory(provider)], provider.multi || false);\n}\n/**\n * Resolve a list of Providers.\n * @param {?} providers\n * @return {?}\n */\nfunction resolveReflectiveProviders(providers) {\n    /** @type {?} */\n    const normalized = _normalizeProviders(providers, []);\n    /** @type {?} */\n    const resolved = normalized.map(resolveReflectiveProvider);\n    /** @type {?} */\n    const resolvedProviderMap = mergeResolvedReflectiveProviders(resolved, new Map());\n    return Array.from(resolvedProviderMap.values());\n}\n/**\n * Merges a list of ResolvedProviders into a list where each key is contained exactly once and\n * multi providers have been merged.\n * @param {?} providers\n * @param {?} normalizedProvidersMap\n * @return {?}\n */\nfunction mergeResolvedReflectiveProviders(providers, normalizedProvidersMap) {\n    for (let i = 0; i < providers.length; i++) {\n        /** @type {?} */\n        const provider = providers[i];\n        /** @type {?} */\n        const existing = normalizedProvidersMap.get(provider.key.id);\n        if (existing) {\n            if (provider.multiProvider !== existing.multiProvider) {\n                throw mixingMultiProvidersWithRegularProvidersError(existing, provider);\n            }\n            if (provider.multiProvider) {\n                for (let j = 0; j < provider.resolvedFactories.length; j++) {\n                    existing.resolvedFactories.push(provider.resolvedFactories[j]);\n                }\n            }\n            else {\n                normalizedProvidersMap.set(provider.key.id, provider);\n            }\n        }\n        else {\n            /** @type {?} */\n            let resolvedProvider;\n            if (provider.multiProvider) {\n                resolvedProvider = new ResolvedReflectiveProvider_(provider.key, provider.resolvedFactories.slice(), provider.multiProvider);\n            }\n            else {\n                resolvedProvider = provider;\n            }\n            normalizedProvidersMap.set(provider.key.id, resolvedProvider);\n        }\n    }\n    return normalizedProvidersMap;\n}\n/**\n * @param {?} providers\n * @param {?} res\n * @return {?}\n */\nfunction _normalizeProviders(providers, res) {\n    providers.forEach((/**\n     * @param {?} b\n     * @return {?}\n     */\n    b => {\n        if (b instanceof Type) {\n            res.push((/** @type {?} */ ({ provide: b, useClass: b })));\n        }\n        else if (b && typeof b == 'object' && ((/** @type {?} */ (b))).provide !== undefined) {\n            res.push((/** @type {?} */ (b)));\n        }\n        else if (b instanceof Array) {\n            _normalizeProviders(b, res);\n        }\n        else {\n            throw invalidProviderError(b);\n        }\n    }));\n    return res;\n}\n/**\n * @param {?} typeOrFunc\n * @param {?=} dependencies\n * @return {?}\n */\nfunction constructDependencies(typeOrFunc, dependencies) {\n    if (!dependencies) {\n        return _dependenciesFor(typeOrFunc);\n    }\n    else {\n        /** @type {?} */\n        const params = dependencies.map((/**\n         * @param {?} t\n         * @return {?}\n         */\n        t => [t]));\n        return dependencies.map((/**\n         * @param {?} t\n         * @return {?}\n         */\n        t => _extractToken(typeOrFunc, t, params)));\n    }\n}\n/**\n * @param {?} typeOrFunc\n * @return {?}\n */\nfunction _dependenciesFor(typeOrFunc) {\n    /** @type {?} */\n    const params = reflector.parameters(typeOrFunc);\n    if (!params)\n        return [];\n    if (params.some((/**\n     * @param {?} p\n     * @return {?}\n     */\n    p => p == null))) {\n        throw noAnnotationError(typeOrFunc, params);\n    }\n    return params.map((/**\n     * @param {?} p\n     * @return {?}\n     */\n    p => _extractToken(typeOrFunc, p, params)));\n}\n/**\n * @param {?} typeOrFunc\n * @param {?} metadata\n * @param {?} params\n * @return {?}\n */\nfunction _extractToken(typeOrFunc, metadata, params) {\n    /** @type {?} */\n    let token = null;\n    /** @type {?} */\n    let optional = false;\n    if (!Array.isArray(metadata)) {\n        if (metadata instanceof Inject) {\n            return _createDependency(metadata.token, optional, null);\n        }\n        else {\n            return _createDependency(metadata, optional, null);\n        }\n    }\n    /** @type {?} */\n    let visibility = null;\n    for (let i = 0; i < metadata.length; ++i) {\n        /** @type {?} */\n        const paramMetadata = metadata[i];\n        if (paramMetadata instanceof Type) {\n            token = paramMetadata;\n        }\n        else if (paramMetadata instanceof Inject) {\n            token = paramMetadata.token;\n        }\n        else if (paramMetadata instanceof Optional) {\n            optional = true;\n        }\n        else if (paramMetadata instanceof Self || paramMetadata instanceof SkipSelf) {\n            visibility = paramMetadata;\n        }\n        else if (paramMetadata instanceof InjectionToken) {\n            token = paramMetadata;\n        }\n    }\n    token = resolveForwardRef(token);\n    if (token != null) {\n        return _createDependency(token, optional, visibility);\n    }\n    else {\n        throw noAnnotationError(typeOrFunc, params);\n    }\n}\n/**\n * @param {?} token\n * @param {?} optional\n * @param {?} visibility\n * @return {?}\n */\nfunction _createDependency(token, optional, visibility) {\n    return new ReflectiveDependency(ReflectiveKey.get(token), optional, visibility);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n// Threshold for the dynamic version\n/** @type {?} */\nconst UNDEFINED = new Object();\n/**\n * A ReflectiveDependency injection container used for instantiating objects and resolving\n * dependencies.\n *\n * An `Injector` is a replacement for a `new` operator, which can automatically resolve the\n * constructor dependencies.\n *\n * In typical use, application code asks for the dependencies in the constructor and they are\n * resolved by the `Injector`.\n *\n * \\@usageNotes\n * ### Example\n *\n * The following example creates an `Injector` configured to create `Engine` and `Car`.\n *\n * ```typescript\n * \\@Injectable()\n * class Engine {\n * }\n *\n * \\@Injectable()\n * class Car {\n *   constructor(public engine:Engine) {}\n * }\n *\n * var injector = ReflectiveInjector.resolveAndCreate([Car, Engine]);\n * var car = injector.get(Car);\n * expect(car instanceof Car).toBe(true);\n * expect(car.engine instanceof Engine).toBe(true);\n * ```\n *\n * Notice, we don't use the `new` operator because we explicitly want to have the `Injector`\n * resolve all of the object's dependencies automatically.\n *\n * @deprecated from v5 - slow and brings in a lot of code, Use `Injector.create` instead.\n * \\@publicApi\n * @abstract\n */\nclass ReflectiveInjector {\n    /**\n     * Turns an array of provider definitions into an array of resolved providers.\n     *\n     * A resolution is a process of flattening multiple nested arrays and converting individual\n     * providers into an array of `ResolvedReflectiveProvider`s.\n     *\n     * \\@usageNotes\n     * ### Example\n     *\n     * ```typescript\n     * \\@Injectable()\n     * class Engine {\n     * }\n     *  /\n     * class Car {\n     *   constructor(public engine:Engine) {}\n     * }\n     *\n     * var providers = ReflectiveInjector.resolve([Car, [[Engine]]]);\n     *\n     * expect(providers.length).toEqual(2);\n     *\n     * expect(providers[0] instanceof ResolvedReflectiveProvider).toBe(true);\n     * expect(providers[0].key.displayName).toBe(\"Car\");\n     * expect(providers[0].dependencies.length).toEqual(1);\n     * expect(providers[0].factory).toBeDefined();\n     *\n     * expect(providers[1].key.displayName).toBe(\"Engine\");\n     * });\n     * ```\n     *\n     * @param {?} providers\n     * @return {?}\n     */\n    static resolve(providers) {\n        return resolveReflectiveProviders(providers);\n    }\n    /**\n     * Resolves an array of providers and creates an injector from those providers.\n     *\n     * The passed-in providers can be an array of `Type`, `Provider`,\n     * or a recursive array of more providers.\n     *\n     * \\@usageNotes\n     * ### Example\n     *\n     * ```typescript\n     * \\@Injectable()\n     * class Engine {\n     * }\n     *  /\n     * class Car {\n     *   constructor(public engine:Engine) {}\n     * }\n     *\n     * var injector = ReflectiveInjector.resolveAndCreate([Car, Engine]);\n     * expect(injector.get(Car) instanceof Car).toBe(true);\n     * ```\n     * @param {?} providers\n     * @param {?=} parent\n     * @return {?}\n     */\n    static resolveAndCreate(providers, parent) {\n        /** @type {?} */\n        const ResolvedReflectiveProviders = ReflectiveInjector.resolve(providers);\n        return ReflectiveInjector.fromResolvedProviders(ResolvedReflectiveProviders, parent);\n    }\n    /**\n     * Creates an injector from previously resolved providers.\n     *\n     * This API is the recommended way to construct injectors in performance-sensitive parts.\n     *\n     * \\@usageNotes\n     * ### Example\n     *\n     * ```typescript\n     * \\@Injectable()\n     * class Engine {\n     * }\n     *  /\n     * class Car {\n     *   constructor(public engine:Engine) {}\n     * }\n     *\n     * var providers = ReflectiveInjector.resolve([Car, Engine]);\n     * var injector = ReflectiveInjector.fromResolvedProviders(providers);\n     * expect(injector.get(Car) instanceof Car).toBe(true);\n     * ```\n     * @param {?} providers\n     * @param {?=} parent\n     * @return {?}\n     */\n    static fromResolvedProviders(providers, parent) {\n        return new ReflectiveInjector_(providers, parent);\n    }\n}\nif (false) {}\nclass ReflectiveInjector_ {\n    /**\n     * Private\n     * @param {?} _providers\n     * @param {?=} _parent\n     */\n    constructor(_providers, _parent) {\n        /**\n         * \\@internal\n         */\n        this._constructionCounter = 0;\n        this._providers = _providers;\n        this.parent = _parent || null;\n        /** @type {?} */\n        const len = _providers.length;\n        this.keyIds = new Array(len);\n        this.objs = new Array(len);\n        for (let i = 0; i < len; i++) {\n            this.keyIds[i] = _providers[i].key.id;\n            this.objs[i] = UNDEFINED;\n        }\n    }\n    /**\n     * @param {?} token\n     * @param {?=} notFoundValue\n     * @return {?}\n     */\n    get(token, notFoundValue = THROW_IF_NOT_FOUND) {\n        return this._getByKey(ReflectiveKey.get(token), null, notFoundValue);\n    }\n    /**\n     * @param {?} providers\n     * @return {?}\n     */\n    resolveAndCreateChild(providers) {\n        /** @type {?} */\n        const ResolvedReflectiveProviders = ReflectiveInjector.resolve(providers);\n        return this.createChildFromResolved(ResolvedReflectiveProviders);\n    }\n    /**\n     * @param {?} providers\n     * @return {?}\n     */\n    createChildFromResolved(providers) {\n        /** @type {?} */\n        const inj = new ReflectiveInjector_(providers);\n        ((/** @type {?} */ (inj))).parent = this;\n        return inj;\n    }\n    /**\n     * @param {?} provider\n     * @return {?}\n     */\n    resolveAndInstantiate(provider) {\n        return this.instantiateResolved(ReflectiveInjector.resolve([provider])[0]);\n    }\n    /**\n     * @param {?} provider\n     * @return {?}\n     */\n    instantiateResolved(provider) {\n        return this._instantiateProvider(provider);\n    }\n    /**\n     * @param {?} index\n     * @return {?}\n     */\n    getProviderAtIndex(index) {\n        if (index < 0 || index >= this._providers.length) {\n            throw outOfBoundsError(index);\n        }\n        return this._providers[index];\n    }\n    /**\n     * \\@internal\n     * @param {?} provider\n     * @return {?}\n     */\n    _new(provider) {\n        if (this._constructionCounter++ > this._getMaxNumberOfObjects()) {\n            throw cyclicDependencyError(this, provider.key);\n        }\n        return this._instantiateProvider(provider);\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _getMaxNumberOfObjects() { return this.objs.length; }\n    /**\n     * @private\n     * @param {?} provider\n     * @return {?}\n     */\n    _instantiateProvider(provider) {\n        if (provider.multiProvider) {\n            /** @type {?} */\n            const res = new Array(provider.resolvedFactories.length);\n            for (let i = 0; i < provider.resolvedFactories.length; ++i) {\n                res[i] = this._instantiate(provider, provider.resolvedFactories[i]);\n            }\n            return res;\n        }\n        else {\n            return this._instantiate(provider, provider.resolvedFactories[0]);\n        }\n    }\n    /**\n     * @private\n     * @param {?} provider\n     * @param {?} ResolvedReflectiveFactory\n     * @return {?}\n     */\n    _instantiate(provider, ResolvedReflectiveFactory) {\n        /** @type {?} */\n        const factory = ResolvedReflectiveFactory.factory;\n        /** @type {?} */\n        let deps;\n        try {\n            deps =\n                ResolvedReflectiveFactory.dependencies.map((/**\n                 * @param {?} dep\n                 * @return {?}\n                 */\n                dep => this._getByReflectiveDependency(dep)));\n        }\n        catch (e) {\n            if (e.addKey) {\n                e.addKey(this, provider.key);\n            }\n            throw e;\n        }\n        /** @type {?} */\n        let obj;\n        try {\n            obj = factory(...deps);\n        }\n        catch (e) {\n            throw instantiationError(this, e, e.stack, provider.key);\n        }\n        return obj;\n    }\n    /**\n     * @private\n     * @param {?} dep\n     * @return {?}\n     */\n    _getByReflectiveDependency(dep) {\n        return this._getByKey(dep.key, dep.visibility, dep.optional ? null : THROW_IF_NOT_FOUND);\n    }\n    /**\n     * @private\n     * @param {?} key\n     * @param {?} visibility\n     * @param {?} notFoundValue\n     * @return {?}\n     */\n    _getByKey(key, visibility, notFoundValue) {\n        if (key === ReflectiveInjector_.INJECTOR_KEY) {\n            return this;\n        }\n        if (visibility instanceof Self) {\n            return this._getByKeySelf(key, notFoundValue);\n        }\n        else {\n            return this._getByKeyDefault(key, notFoundValue, visibility);\n        }\n    }\n    /**\n     * @private\n     * @param {?} keyId\n     * @return {?}\n     */\n    _getObjByKeyId(keyId) {\n        for (let i = 0; i < this.keyIds.length; i++) {\n            if (this.keyIds[i] === keyId) {\n                if (this.objs[i] === UNDEFINED) {\n                    this.objs[i] = this._new(this._providers[i]);\n                }\n                return this.objs[i];\n            }\n        }\n        return UNDEFINED;\n    }\n    /**\n     * \\@internal\n     * @param {?} key\n     * @param {?} notFoundValue\n     * @return {?}\n     */\n    _throwOrNull(key, notFoundValue) {\n        if (notFoundValue !== THROW_IF_NOT_FOUND) {\n            return notFoundValue;\n        }\n        else {\n            throw noProviderError(this, key);\n        }\n    }\n    /**\n     * \\@internal\n     * @param {?} key\n     * @param {?} notFoundValue\n     * @return {?}\n     */\n    _getByKeySelf(key, notFoundValue) {\n        /** @type {?} */\n        const obj = this._getObjByKeyId(key.id);\n        return (obj !== UNDEFINED) ? obj : this._throwOrNull(key, notFoundValue);\n    }\n    /**\n     * \\@internal\n     * @param {?} key\n     * @param {?} notFoundValue\n     * @param {?} visibility\n     * @return {?}\n     */\n    _getByKeyDefault(key, notFoundValue, visibility) {\n        /** @type {?} */\n        let inj;\n        if (visibility instanceof SkipSelf) {\n            inj = this.parent;\n        }\n        else {\n            inj = this;\n        }\n        while (inj instanceof ReflectiveInjector_) {\n            /** @type {?} */\n            const inj_ = (/** @type {?} */ (inj));\n            /** @type {?} */\n            const obj = inj_._getObjByKeyId(key.id);\n            if (obj !== UNDEFINED)\n                return obj;\n            inj = inj_.parent;\n        }\n        if (inj !== null) {\n            return inj.get(key.token, notFoundValue);\n        }\n        else {\n            return this._throwOrNull(key, notFoundValue);\n        }\n    }\n    /**\n     * @return {?}\n     */\n    get displayName() {\n        /** @type {?} */\n        const providers = _mapProviders(this, (/**\n         * @param {?} b\n         * @return {?}\n         */\n        (b) => ' \"' + b.key.displayName + '\" '))\n            .join(', ');\n        return `ReflectiveInjector(providers: [${providers}])`;\n    }\n    /**\n     * @return {?}\n     */\n    toString() { return this.displayName; }\n}\nReflectiveInjector_.INJECTOR_KEY = ReflectiveKey.get(Injector);\nif (false) {}\n/**\n * @param {?} injector\n * @param {?} fn\n * @return {?}\n */\nfunction _mapProviders(injector, fn) {\n    /** @type {?} */\n    const res = new Array(injector._providers.length);\n    for (let i = 0; i < injector._providers.length; ++i) {\n        res[i] = fn(injector.getProviderAtIndex(i));\n    }\n    return res;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * A DI token that you can use to create a virtual [provider](guide/glossary#provider)\n * that will populate the `entryComponents` field of components and NgModules\n * based on its `useValue` property value.\n * All components that are referenced in the `useValue` value (either directly\n * or in a nested array or map) are added to the `entryComponents` property.\n *\n * \\@usageNotes\n *\n * The following example shows how the router can populate the `entryComponents`\n * field of an NgModule based on a router configuration that refers\n * to components.\n *\n * ```typescript\n * // helper function inside the router\n * function provideRoutes(routes) {\n *   return [\n *     {provide: ROUTES, useValue: routes},\n *     {provide: ANALYZE_FOR_ENTRY_COMPONENTS, useValue: routes, multi: true}\n *   ];\n * }\n *\n * // user code\n * let routes = [\n *   {path: '/root', component: RootComp},\n *   {path: '/teams', component: TeamsComp}\n * ];\n *\n * \\@NgModule({\n *   providers: [provideRoutes(routes)]\n * })\n * class ModuleWithRoutes {}\n * ```\n *\n * \\@publicApi\n * @type {?}\n */\nconst ANALYZE_FOR_ENTRY_COMPONENTS = new InjectionToken('AnalyzeForEntryComponents');\n/**\n * Type of the `Attribute` decorator / constructor function.\n *\n * \\@publicApi\n * @record\n */\nfunction AttributeDecorator$1() { }\n/**\n * Type of the Attribute metadata.\n *\n * \\@publicApi\n * @record\n */\nfunction Attribute$1() { }\nif (false) {}\n// WARNING: interface has both a type and a value, skipping emit\n/**\n * Base class for query metadata.\n *\n * @see `ContentChildren`.\n * @see `ContentChild`.\n * @see `ViewChildren`.\n * @see `ViewChild`.\n *\n * \\@publicApi\n * @abstract\n */\nclass Query {\n}\n/**\n * Type of the ContentChildren decorator / constructor function.\n *\n * @see `ContentChildren`.\n * \\@publicApi\n * @record\n */\nfunction ContentChildrenDecorator() { }\nconst ɵ0$b = /**\n * @param {?=} selector\n * @param {?=} data\n * @return {?}\n */\n(selector, data = {}) => (Object.assign({ selector, first: false, isViewQuery: false, descendants: false }, data));\n/**\n * ContentChildren decorator and metadata.\n *\n *\n * \\@Annotation\n * \\@publicApi\n * @type {?}\n */\nconst ContentChildren = makePropDecorator('ContentChildren', (ɵ0$b), Query);\n/**\n * Type of the ContentChild decorator / constructor function.\n *\n * \\@publicApi\n * @record\n */\nfunction ContentChildDecorator() { }\nconst ɵ1$3 = /**\n * @param {?=} selector\n * @param {?=} data\n * @return {?}\n */\n(selector, data = {}) => (Object.assign({ selector, first: true, isViewQuery: false, descendants: true }, data));\n/**\n * ContentChild decorator and metadata.\n *\n *\n * \\@Annotation\n *\n * \\@publicApi\n * @type {?}\n */\nconst ContentChild = makePropDecorator('ContentChild', (ɵ1$3), Query);\n/**\n * Type of the ViewChildren decorator / constructor function.\n *\n * @see `ViewChildren`.\n *\n * \\@publicApi\n * @record\n */\nfunction ViewChildrenDecorator() { }\nconst ɵ2 = /**\n * @param {?=} selector\n * @param {?=} data\n * @return {?}\n */\n(selector, data = {}) => (Object.assign({ selector, first: false, isViewQuery: true, descendants: true }, data));\n/**\n * ViewChildren decorator and metadata.\n *\n * \\@Annotation\n * \\@publicApi\n * @type {?}\n */\nconst ViewChildren = makePropDecorator('ViewChildren', (ɵ2), Query);\n/**\n * Type of the ViewChild decorator / constructor function.\n *\n * @see `ViewChild`.\n * \\@publicApi\n * @record\n */\nfunction ViewChildDecorator() { }\nconst ɵ3 = /**\n * @param {?} selector\n * @param {?} data\n * @return {?}\n */\n(selector, data) => (Object.assign({ selector, first: true, isViewQuery: true, descendants: true }, data));\n/**\n * ViewChild decorator and metadata.\n *\n * \\@Annotation\n * \\@publicApi\n * @type {?}\n */\nconst ViewChild = makePropDecorator('ViewChild', (ɵ3), Query);\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Used to resolve resource URLs on `\\@Component` when used with JIT compilation.\n *\n * Example:\n * ```\n * \\@Component({\n *   selector: 'my-comp',\n *   templateUrl: 'my-comp.html', // This requires asynchronous resolution\n * })\n * class MyComponent{\n * }\n *\n * // Calling `renderComponent` will fail because `renderComponent` is a synchronous process\n * // and `MyComponent`'s `\\@Component.templateUrl` needs to be resolved asynchronously.\n *\n * // Calling `resolveComponentResources()` will resolve `\\@Component.templateUrl` into\n * // `\\@Component.template`, which allows `renderComponent` to proceed in a synchronous manner.\n *\n * // Use browser's `fetch()` function as the default resource resolution strategy.\n * resolveComponentResources(fetch).then(() => {\n *   // After resolution all URLs have been converted into `template` strings.\n *   renderComponent(MyComponent);\n * });\n *\n * ```\n *\n * NOTE: In AOT the resolution happens during compilation, and so there should be no need\n * to call this method outside JIT mode.\n *\n * @param {?} resourceResolver a function which is responsible for returning a `Promise` to the\n * contents of the resolved URL. Browser's `fetch()` method is a good default implementation.\n * @return {?}\n */\nfunction resolveComponentResources(resourceResolver) {\n    // Store all promises which are fetching the resources.\n    /** @type {?} */\n    const componentResolved = [];\n    // Cache so that we don't fetch the same resource more than once.\n    /** @type {?} */\n    const urlMap = new Map();\n    /**\n     * @param {?} url\n     * @return {?}\n     */\n    function cachedResourceResolve(url) {\n        /** @type {?} */\n        let promise = urlMap.get(url);\n        if (!promise) {\n            /** @type {?} */\n            const resp = resourceResolver(url);\n            urlMap.set(url, promise = resp.then(unwrapResponse));\n        }\n        return promise;\n    }\n    componentResourceResolutionQueue.forEach((/**\n     * @param {?} component\n     * @param {?} type\n     * @return {?}\n     */\n    (component, type) => {\n        /** @type {?} */\n        const promises = [];\n        if (component.templateUrl) {\n            promises.push(cachedResourceResolve(component.templateUrl).then((/**\n             * @param {?} template\n             * @return {?}\n             */\n            (template) => {\n                component.template = template;\n            })));\n        }\n        /** @type {?} */\n        const styleUrls = component.styleUrls;\n        /** @type {?} */\n        const styles = component.styles || (component.styles = []);\n        /** @type {?} */\n        const styleOffset = component.styles.length;\n        styleUrls && styleUrls.forEach((/**\n         * @param {?} styleUrl\n         * @param {?} index\n         * @return {?}\n         */\n        (styleUrl, index) => {\n            styles.push(''); // pre-allocate array.\n            promises.push(cachedResourceResolve(styleUrl).then((/**\n             * @param {?} style\n             * @return {?}\n             */\n            (style) => {\n                styles[styleOffset + index] = style;\n                styleUrls.splice(styleUrls.indexOf(styleUrl), 1);\n                if (styleUrls.length == 0) {\n                    component.styleUrls = undefined;\n                }\n            })));\n        }));\n        /** @type {?} */\n        const fullyResolved = Promise.all(promises).then((/**\n         * @return {?}\n         */\n        () => componentDefResolved(type)));\n        componentResolved.push(fullyResolved);\n    }));\n    clearResolutionOfComponentResourcesQueue();\n    return Promise.all(componentResolved).then((/**\n     * @return {?}\n     */\n    () => undefined));\n}\n/** @type {?} */\nlet componentResourceResolutionQueue = new Map();\n// Track when existing ngComponentDef for a Type is waiting on resources.\n/** @type {?} */\nconst componentDefPendingResolution = new Set();\n/**\n * @param {?} type\n * @param {?} metadata\n * @return {?}\n */\nfunction maybeQueueResolutionOfComponentResources(type, metadata) {\n    if (componentNeedsResolution(metadata)) {\n        componentResourceResolutionQueue.set(type, metadata);\n        componentDefPendingResolution.add(type);\n    }\n}\n/**\n * @param {?} type\n * @return {?}\n */\nfunction isComponentDefPendingResolution(type) {\n    return componentDefPendingResolution.has(type);\n}\n/**\n * @param {?} component\n * @return {?}\n */\nfunction componentNeedsResolution(component) {\n    return !!((component.templateUrl && !component.hasOwnProperty('template')) ||\n        component.styleUrls && component.styleUrls.length);\n}\n/**\n * @return {?}\n */\nfunction clearResolutionOfComponentResourcesQueue() {\n    /** @type {?} */\n    const old = componentResourceResolutionQueue;\n    componentResourceResolutionQueue = new Map();\n    return old;\n}\n/**\n * @param {?} queue\n * @return {?}\n */\nfunction restoreComponentResolutionQueue(queue) {\n    componentDefPendingResolution.clear();\n    queue.forEach((/**\n     * @param {?} _\n     * @param {?} type\n     * @return {?}\n     */\n    (_, type) => componentDefPendingResolution.add(type)));\n    componentResourceResolutionQueue = queue;\n}\n/**\n * @return {?}\n */\nfunction isComponentResourceResolutionQueueEmpty() {\n    return componentResourceResolutionQueue.size === 0;\n}\n/**\n * @param {?} response\n * @return {?}\n */\nfunction unwrapResponse(response) {\n    return typeof response == 'string' ? response : response.text();\n}\n/**\n * @param {?} type\n * @return {?}\n */\nfunction componentDefResolved(type) {\n    componentDefPendingResolution.delete(type);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Allocates the necessary amount of slots for host vars.\n *\n * \\@codeGenApi\n * @param {?} count Amount of vars to be allocated\n *\n * @return {?}\n */\nfunction ɵɵallocHostVars(count) {\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const tView = lView[TVIEW];\n    if (!tView.firstTemplatePass)\n        return;\n    queueHostBindingForCheck(tView, (/** @type {?} */ (getCurrentDirectiveDef())), count);\n    prefillHostVars(tView, lView, count);\n}\n/**\n * Stores host binding fn and number of host vars so it will be queued for binding refresh during\n * CD.\n * @param {?} tView\n * @param {?} def\n * @param {?} hostVars\n * @return {?}\n */\nfunction queueHostBindingForCheck(tView, def, hostVars) {\n    ngDevMode &&\n        assertEqual(tView.firstTemplatePass, true, 'Should only be called in first template pass.');\n    /** @type {?} */\n    const expando = (/** @type {?} */ (tView.expandoInstructions));\n    /** @type {?} */\n    const length = expando.length;\n    // Check whether a given `hostBindings` function already exists in expandoInstructions,\n    // which can happen in case directive definition was extended from base definition (as a part of\n    // the `InheritDefinitionFeature` logic). If we found the same `hostBindings` function in the\n    // list, we just increase the number of host vars associated with that function, but do not add it\n    // into the list again.\n    if (length >= 2 && expando[length - 2] === def.hostBindings) {\n        expando[length - 1] = ((/** @type {?} */ (expando[length - 1]))) + hostVars;\n    }\n    else {\n        expando.push((/** @type {?} */ (def.hostBindings)), hostVars);\n    }\n}\n/**\n * On the first template pass, we need to reserve space for host binding values\n * after directives are matched (so all directives are saved, then bindings).\n * Because we are updating the blueprint, we only need to do this once.\n * @param {?} tView\n * @param {?} lView\n * @param {?} totalHostVars\n * @return {?}\n */\nfunction prefillHostVars(tView, lView, totalHostVars) {\n    ngDevMode &&\n        assertEqual(tView.firstTemplatePass, true, 'Should only be called in first template pass.');\n    for (let i = 0; i < totalHostVars; i++) {\n        lView.push(NO_CHANGE);\n        tView.blueprint.push(NO_CHANGE);\n        tView.data.push(null);\n    }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nlet _symbolIterator = null;\nfunction getSymbolIterator() {\n    if (!_symbolIterator) {\n        const Symbol = _global['Symbol'];\n        if (Symbol && Symbol.iterator) {\n            _symbolIterator = Symbol.iterator;\n        }\n        else {\n            // es6-shim specific logic\n            const keys = Object.getOwnPropertyNames(Map.prototype);\n            for (let i = 0; i < keys.length; ++i) {\n                const key = keys[i];\n                if (key !== 'entries' && key !== 'size' &&\n                    Map.prototype[key] === Map.prototype['entries']) {\n                    _symbolIterator = key;\n                }\n            }\n        }\n    }\n    return _symbolIterator;\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction isListLikeIterable(obj) {\n    if (!isJsObject(obj))\n        return false;\n    return Array.isArray(obj) ||\n        (!(obj instanceof Map) && // JS Map are iterables but return entries as [k, v]\n            getSymbolIterator() in obj); // JS Iterable have a Symbol.iterator prop\n}\nfunction areIterablesEqual(a, b, comparator) {\n    const iterator1 = a[getSymbolIterator()]();\n    const iterator2 = b[getSymbolIterator()]();\n    while (true) {\n        const item1 = iterator1.next();\n        const item2 = iterator2.next();\n        if (item1.done && item2.done)\n            return true;\n        if (item1.done || item2.done)\n            return false;\n        if (!comparator(item1.value, item2.value))\n            return false;\n    }\n}\nfunction iterateListLike(obj, fn) {\n    if (Array.isArray(obj)) {\n        for (let i = 0; i < obj.length; i++) {\n            fn(obj[i]);\n        }\n    }\n    else {\n        const iterator = obj[getSymbolIterator()]();\n        let item;\n        while (!((item = iterator.next()).done)) {\n            fn(item.value);\n        }\n    }\n}\nfunction isJsObject(o) {\n    return o !== null && (typeof o === 'function' || typeof o === 'object');\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n// JS has NaN !== NaN\nfunction looseIdentical(a, b) {\n    return a === b || typeof a === 'number' && typeof b === 'number' && isNaN(a) && isNaN(b);\n}\nfunction devModeEqual(a, b) {\n    const isListLikeIterableA = isListLikeIterable(a);\n    const isListLikeIterableB = isListLikeIterable(b);\n    if (isListLikeIterableA && isListLikeIterableB) {\n        return areIterablesEqual(a, b, devModeEqual);\n    }\n    else {\n        const isAObject = a && (typeof a === 'object' || typeof a === 'function');\n        const isBObject = b && (typeof b === 'object' || typeof b === 'function');\n        if (!isListLikeIterableA && isAObject && !isListLikeIterableB && isBObject) {\n            return true;\n        }\n        else {\n            return looseIdentical(a, b);\n        }\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @param {?} a\n * @param {?} b\n * @return {?}\n */\nfunction devModeEqual$1(a, b) {\n    /** @type {?} */\n    const isListLikeIterableA = isListLikeIterable$1(a);\n    /** @type {?} */\n    const isListLikeIterableB = isListLikeIterable$1(b);\n    if (isListLikeIterableA && isListLikeIterableB) {\n        return areIterablesEqual$1(a, b, devModeEqual$1);\n    }\n    else {\n        /** @type {?} */\n        const isAObject = a && (typeof a === 'object' || typeof a === 'function');\n        /** @type {?} */\n        const isBObject = b && (typeof b === 'object' || typeof b === 'function');\n        if (!isListLikeIterableA && isAObject && !isListLikeIterableB && isBObject) {\n            return true;\n        }\n        else {\n            return looseIdentical(a, b);\n        }\n    }\n}\n/**\n * Indicates that the result of a {\\@link Pipe} transformation has changed even though the\n * reference has not changed.\n *\n * Wrapped values are unwrapped automatically during the change detection, and the unwrapped value\n * is stored.\n *\n * Example:\n *\n * ```\n * if (this._latestValue === this._latestReturnedValue) {\n *    return this._latestReturnedValue;\n *  } else {\n *    this._latestReturnedValue = this._latestValue;\n *    return WrappedValue.wrap(this._latestValue); // this will force update\n *  }\n * ```\n *\n * \\@publicApi\n */\nclass WrappedValue {\n    /**\n     * @param {?} value\n     */\n    constructor(value) { this.wrapped = value; }\n    /**\n     * Creates a wrapped value.\n     * @param {?} value\n     * @return {?}\n     */\n    static wrap(value) { return new WrappedValue(value); }\n    /**\n     * Returns the underlying value of a wrapped value.\n     * Returns the given `value` when it is not wrapped.\n     *\n     * @param {?} value\n     * @return {?}\n     */\n    static unwrap(value) { return WrappedValue.isWrapped(value) ? value.wrapped : value; }\n    /**\n     * Returns true if `value` is a wrapped value.\n     * @param {?} value\n     * @return {?}\n     */\n    static isWrapped(value) { return value instanceof WrappedValue; }\n}\nif (false) {}\n/**\n * @param {?} obj\n * @return {?}\n */\nfunction isListLikeIterable$1(obj) {\n    if (!isJsObject$1(obj))\n        return false;\n    return Array.isArray(obj) ||\n        (!(obj instanceof Map) && // JS Map are iterables but return entries as [k, v]\n            getSymbolIterator() in obj); // JS Iterable have a Symbol.iterator prop\n}\n/**\n * @param {?} a\n * @param {?} b\n * @param {?} comparator\n * @return {?}\n */\nfunction areIterablesEqual$1(a, b, comparator) {\n    /** @type {?} */\n    const iterator1 = a[getSymbolIterator()]();\n    /** @type {?} */\n    const iterator2 = b[getSymbolIterator()]();\n    while (true) {\n        /** @type {?} */\n        const item1 = iterator1.next();\n        /** @type {?} */\n        const item2 = iterator2.next();\n        if (item1.done && item2.done)\n            return true;\n        if (item1.done || item2.done)\n            return false;\n        if (!comparator(item1.value, item2.value))\n            return false;\n    }\n}\n/**\n * @param {?} obj\n * @param {?} fn\n * @return {?}\n */\nfunction iterateListLike$1(obj, fn) {\n    if (Array.isArray(obj)) {\n        for (let i = 0; i < obj.length; i++) {\n            fn(obj[i]);\n        }\n    }\n    else {\n        /** @type {?} */\n        const iterator = obj[getSymbolIterator()]();\n        /** @type {?} */\n        let item;\n        while (!((item = iterator.next()).done)) {\n            fn(item.value);\n        }\n    }\n}\n/**\n * @param {?} o\n * @return {?}\n */\nfunction isJsObject$1(o) {\n    return o !== null && (typeof o === 'function' || typeof o === 'object');\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n// TODO(misko): consider inlining\n/**\n * Updates binding and returns the value.\n * @param {?} lView\n * @param {?} bindingIndex\n * @param {?} value\n * @return {?}\n */\nfunction updateBinding(lView, bindingIndex, value) {\n    return lView[bindingIndex] = value;\n}\n/**\n * Gets the current binding value.\n * @param {?} lView\n * @param {?} bindingIndex\n * @return {?}\n */\nfunction getBinding(lView, bindingIndex) {\n    ngDevMode && assertDataInRange(lView, bindingIndex);\n    ngDevMode &&\n        assertNotSame(lView[bindingIndex], NO_CHANGE, 'Stored value should never be NO_CHANGE.');\n    return lView[bindingIndex];\n}\n/**\n * Updates binding if changed, then returns whether it was updated.\n * @param {?} lView\n * @param {?} bindingIndex\n * @param {?} value\n * @return {?}\n */\nfunction bindingUpdated(lView, bindingIndex, value) {\n    ngDevMode && assertNotSame(value, NO_CHANGE, 'Incoming value should never be NO_CHANGE.');\n    ngDevMode &&\n        assertLessThan(bindingIndex, lView.length, `Slot should have been initialized to NO_CHANGE`);\n    /** @type {?} */\n    const oldValue = lView[bindingIndex];\n    if (isDifferent(oldValue, value)) {\n        if (ngDevMode && getCheckNoChangesMode()) {\n            // View engine didn't report undefined values as changed on the first checkNoChanges pass\n            // (before the change detection was run).\n            /** @type {?} */\n            const oldValueToCompare = oldValue !== NO_CHANGE ? oldValue : undefined;\n            if (!devModeEqual$1(oldValueToCompare, value)) {\n                throwErrorIfNoChangesMode(oldValue === NO_CHANGE, oldValueToCompare, value);\n            }\n        }\n        lView[bindingIndex] = value;\n        return true;\n    }\n    return false;\n}\n/**\n * Updates 2 bindings if changed, then returns whether either was updated.\n * @param {?} lView\n * @param {?} bindingIndex\n * @param {?} exp1\n * @param {?} exp2\n * @return {?}\n */\nfunction bindingUpdated2(lView, bindingIndex, exp1, exp2) {\n    /** @type {?} */\n    const different = bindingUpdated(lView, bindingIndex, exp1);\n    return bindingUpdated(lView, bindingIndex + 1, exp2) || different;\n}\n/**\n * Updates 3 bindings if changed, then returns whether any was updated.\n * @param {?} lView\n * @param {?} bindingIndex\n * @param {?} exp1\n * @param {?} exp2\n * @param {?} exp3\n * @return {?}\n */\nfunction bindingUpdated3(lView, bindingIndex, exp1, exp2, exp3) {\n    /** @type {?} */\n    const different = bindingUpdated2(lView, bindingIndex, exp1, exp2);\n    return bindingUpdated(lView, bindingIndex + 2, exp3) || different;\n}\n/**\n * Updates 4 bindings if changed, then returns whether any was updated.\n * @param {?} lView\n * @param {?} bindingIndex\n * @param {?} exp1\n * @param {?} exp2\n * @param {?} exp3\n * @param {?} exp4\n * @return {?}\n */\nfunction bindingUpdated4(lView, bindingIndex, exp1, exp2, exp3, exp4) {\n    /** @type {?} */\n    const different = bindingUpdated2(lView, bindingIndex, exp1, exp2);\n    return bindingUpdated2(lView, bindingIndex + 2, exp3, exp4) || different;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Update a property on a selected element.\n *\n * Operates on the element selected by index via the {\\@link select} instruction.\n *\n * If the property name also exists as an input property on one of the element's directives,\n * the component property will be set instead of the element property. This check must\n * be conducted at runtime so child components that add new `\\@Inputs` don't have to be re-compiled\n *\n * \\@codeGenApi\n * @template T\n * @param {?} propName Name of property. Because it is going to DOM, this is not subject to\n *        renaming as part of minification.\n * @param {?} value New value to write.\n * @param {?=} sanitizer An optional function used to sanitize the value.\n * @return {?} This function returns itself so that it may be chained\n * (e.g. `property('name', ctx.name)('title', ctx.title)`)\n *\n */\nfunction ɵɵproperty(propName, value, sanitizer) {\n    /** @type {?} */\n    const index = getSelectedIndex();\n    ngDevMode && assertNotEqual(index, -1, 'selected index cannot be -1');\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const bindReconciledValue = bind(lView, value);\n    if (bindReconciledValue !== NO_CHANGE) {\n        elementPropertyInternal(index, propName, bindReconciledValue, sanitizer);\n    }\n    return ɵɵproperty;\n}\n/**\n * Creates a single value binding.\n *\n * @template T\n * @param {?} lView Current view\n * @param {?} value Value to diff\n * @return {?}\n */\nfunction bind(lView, value) {\n    /** @type {?} */\n    const bindingIndex = lView[BINDING_INDEX]++;\n    storeBindingMetadata(lView);\n    return bindingUpdated(lView, bindingIndex, value) ? value : NO_CHANGE;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Updates the value of or removes a bound attribute on an Element.\n *\n * Used in the case of `[attr.title]=\"value\"`\n *\n * \\@codeGenApi\n * @param {?} name name The name of the attribute.\n * @param {?} value value The attribute is removed when value is `null` or `undefined`.\n *                  Otherwise the attribute value is set to the stringified value.\n * @param {?=} sanitizer An optional function used to sanitize the value.\n * @param {?=} namespace Optional namespace to use when setting the attribute.\n *\n * @return {?}\n */\nfunction ɵɵattribute(name, value, sanitizer, namespace) {\n    /** @type {?} */\n    const index = getSelectedIndex();\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const bound = bind(lView, value);\n    if (bound !== NO_CHANGE) {\n        elementAttributeInternal(index, name, bound, lView, sanitizer, namespace);\n    }\n    return ɵɵattribute;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Create interpolation bindings with a variable number of expressions.\n *\n * If there are 1 to 8 expressions `interpolation1()` to `interpolation8()` should be used instead.\n * Those are faster because there is no need to create an array of expressions and iterate over it.\n *\n * `values`:\n * - has static text at even indexes,\n * - has evaluated expressions at odd indexes.\n *\n * Returns the concatenated string when any of the arguments changes, `NO_CHANGE` otherwise.\n * @param {?} lView\n * @param {?} values\n * @return {?}\n */\nfunction interpolationV(lView, values) {\n    ngDevMode && assertLessThan(2, values.length, 'should have at least 3 values');\n    ngDevMode && assertEqual(values.length % 2, 1, 'should have an odd number of values');\n    /** @type {?} */\n    let isBindingUpdated = false;\n    /** @type {?} */\n    const tData = lView[TVIEW].data;\n    /** @type {?} */\n    let bindingIndex = lView[BINDING_INDEX];\n    if (tData[bindingIndex] == null) {\n        // 2 is the index of the first static interstitial value (ie. not prefix)\n        for (let i = 2; i < values.length; i += 2) {\n            tData[bindingIndex++] = values[i];\n        }\n        bindingIndex = lView[BINDING_INDEX];\n    }\n    for (let i = 1; i < values.length; i += 2) {\n        // Check if bindings (odd indexes) have changed\n        isBindingUpdated = bindingUpdated(lView, bindingIndex++, values[i]) || isBindingUpdated;\n    }\n    lView[BINDING_INDEX] = bindingIndex;\n    storeBindingMetadata(lView, values[0], values[values.length - 1]);\n    if (!isBindingUpdated) {\n        return NO_CHANGE;\n    }\n    // Build the updated content\n    /** @type {?} */\n    let content = values[0];\n    for (let i = 1; i < values.length; i += 2) {\n        content += renderStringify(values[i]) + values[i + 1];\n    }\n    return content;\n}\n/**\n * Creates an interpolation binding with 1 expression.\n *\n * @param {?} lView\n * @param {?} prefix static value used for concatenation only.\n * @param {?} v0 value checked for change.\n * @param {?} suffix static value used for concatenation only.\n * @return {?}\n */\nfunction interpolation1(lView, prefix, v0, suffix) {\n    /** @type {?} */\n    const different = bindingUpdated(lView, lView[BINDING_INDEX]++, v0);\n    storeBindingMetadata(lView, prefix, suffix);\n    return different ? prefix + renderStringify(v0) + suffix : NO_CHANGE;\n}\n/**\n * Creates an interpolation binding with 2 expressions.\n * @param {?} lView\n * @param {?} prefix\n * @param {?} v0\n * @param {?} i0\n * @param {?} v1\n * @param {?} suffix\n * @return {?}\n */\nfunction interpolation2(lView, prefix, v0, i0, v1, suffix) {\n    /** @type {?} */\n    const bindingIndex = lView[BINDING_INDEX];\n    /** @type {?} */\n    const different = bindingUpdated2(lView, bindingIndex, v0, v1);\n    lView[BINDING_INDEX] += 2;\n    // Only set static strings the first time (data will be null subsequent runs).\n    /** @type {?} */\n    const data = storeBindingMetadata(lView, prefix, suffix);\n    if (data) {\n        lView[TVIEW].data[bindingIndex] = i0;\n    }\n    return different ? prefix + renderStringify(v0) + i0 + renderStringify(v1) + suffix : NO_CHANGE;\n}\n/**\n * Creates an interpolation binding with 3 expressions.\n * @param {?} lView\n * @param {?} prefix\n * @param {?} v0\n * @param {?} i0\n * @param {?} v1\n * @param {?} i1\n * @param {?} v2\n * @param {?} suffix\n * @return {?}\n */\nfunction interpolation3(lView, prefix, v0, i0, v1, i1, v2, suffix) {\n    /** @type {?} */\n    const bindingIndex = lView[BINDING_INDEX];\n    /** @type {?} */\n    const different = bindingUpdated3(lView, bindingIndex, v0, v1, v2);\n    lView[BINDING_INDEX] += 3;\n    // Only set static strings the first time (data will be null subsequent runs).\n    /** @type {?} */\n    const data = storeBindingMetadata(lView, prefix, suffix);\n    if (data) {\n        /** @type {?} */\n        const tData = lView[TVIEW].data;\n        tData[bindingIndex] = i0;\n        tData[bindingIndex + 1] = i1;\n    }\n    return different ?\n        prefix + renderStringify(v0) + i0 + renderStringify(v1) + i1 + renderStringify(v2) + suffix :\n        NO_CHANGE;\n}\n/**\n * Create an interpolation binding with 4 expressions.\n * @param {?} lView\n * @param {?} prefix\n * @param {?} v0\n * @param {?} i0\n * @param {?} v1\n * @param {?} i1\n * @param {?} v2\n * @param {?} i2\n * @param {?} v3\n * @param {?} suffix\n * @return {?}\n */\nfunction interpolation4(lView, prefix, v0, i0, v1, i1, v2, i2, v3, suffix) {\n    /** @type {?} */\n    const bindingIndex = lView[BINDING_INDEX];\n    /** @type {?} */\n    const different = bindingUpdated4(lView, bindingIndex, v0, v1, v2, v3);\n    lView[BINDING_INDEX] += 4;\n    // Only set static strings the first time (data will be null subsequent runs).\n    /** @type {?} */\n    const data = storeBindingMetadata(lView, prefix, suffix);\n    if (data) {\n        /** @type {?} */\n        const tData = lView[TVIEW].data;\n        tData[bindingIndex] = i0;\n        tData[bindingIndex + 1] = i1;\n        tData[bindingIndex + 2] = i2;\n    }\n    return different ?\n        prefix + renderStringify(v0) + i0 + renderStringify(v1) + i1 + renderStringify(v2) + i2 +\n            renderStringify(v3) + suffix :\n        NO_CHANGE;\n}\n/**\n * Creates an interpolation binding with 5 expressions.\n * @param {?} lView\n * @param {?} prefix\n * @param {?} v0\n * @param {?} i0\n * @param {?} v1\n * @param {?} i1\n * @param {?} v2\n * @param {?} i2\n * @param {?} v3\n * @param {?} i3\n * @param {?} v4\n * @param {?} suffix\n * @return {?}\n */\nfunction interpolation5(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix) {\n    /** @type {?} */\n    const bindingIndex = lView[BINDING_INDEX];\n    /** @type {?} */\n    let different = bindingUpdated4(lView, bindingIndex, v0, v1, v2, v3);\n    different = bindingUpdated(lView, bindingIndex + 4, v4) || different;\n    lView[BINDING_INDEX] += 5;\n    // Only set static strings the first time (data will be null subsequent runs).\n    /** @type {?} */\n    const data = storeBindingMetadata(lView, prefix, suffix);\n    if (data) {\n        /** @type {?} */\n        const tData = lView[TVIEW].data;\n        tData[bindingIndex] = i0;\n        tData[bindingIndex + 1] = i1;\n        tData[bindingIndex + 2] = i2;\n        tData[bindingIndex + 3] = i3;\n    }\n    return different ?\n        prefix + renderStringify(v0) + i0 + renderStringify(v1) + i1 + renderStringify(v2) + i2 +\n            renderStringify(v3) + i3 + renderStringify(v4) + suffix :\n        NO_CHANGE;\n}\n/**\n * Creates an interpolation binding with 6 expressions.\n * @param {?} lView\n * @param {?} prefix\n * @param {?} v0\n * @param {?} i0\n * @param {?} v1\n * @param {?} i1\n * @param {?} v2\n * @param {?} i2\n * @param {?} v3\n * @param {?} i3\n * @param {?} v4\n * @param {?} i4\n * @param {?} v5\n * @param {?} suffix\n * @return {?}\n */\nfunction interpolation6(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix) {\n    /** @type {?} */\n    const bindingIndex = lView[BINDING_INDEX];\n    /** @type {?} */\n    let different = bindingUpdated4(lView, bindingIndex, v0, v1, v2, v3);\n    different = bindingUpdated2(lView, bindingIndex + 4, v4, v5) || different;\n    lView[BINDING_INDEX] += 6;\n    // Only set static strings the first time (data will be null subsequent runs).\n    /** @type {?} */\n    const data = storeBindingMetadata(lView, prefix, suffix);\n    if (data) {\n        /** @type {?} */\n        const tData = lView[TVIEW].data;\n        tData[bindingIndex] = i0;\n        tData[bindingIndex + 1] = i1;\n        tData[bindingIndex + 2] = i2;\n        tData[bindingIndex + 3] = i3;\n        tData[bindingIndex + 4] = i4;\n    }\n    return different ?\n        prefix + renderStringify(v0) + i0 + renderStringify(v1) + i1 + renderStringify(v2) + i2 +\n            renderStringify(v3) + i3 + renderStringify(v4) + i4 + renderStringify(v5) + suffix :\n        NO_CHANGE;\n}\n/**\n * Creates an interpolation binding with 7 expressions.\n * @param {?} lView\n * @param {?} prefix\n * @param {?} v0\n * @param {?} i0\n * @param {?} v1\n * @param {?} i1\n * @param {?} v2\n * @param {?} i2\n * @param {?} v3\n * @param {?} i3\n * @param {?} v4\n * @param {?} i4\n * @param {?} v5\n * @param {?} i5\n * @param {?} v6\n * @param {?} suffix\n * @return {?}\n */\nfunction interpolation7(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix) {\n    /** @type {?} */\n    const bindingIndex = lView[BINDING_INDEX];\n    /** @type {?} */\n    let different = bindingUpdated4(lView, bindingIndex, v0, v1, v2, v3);\n    different = bindingUpdated3(lView, bindingIndex + 4, v4, v5, v6) || different;\n    lView[BINDING_INDEX] += 7;\n    // Only set static strings the first time (data will be null subsequent runs).\n    /** @type {?} */\n    const data = storeBindingMetadata(lView, prefix, suffix);\n    if (data) {\n        /** @type {?} */\n        const tData = lView[TVIEW].data;\n        tData[bindingIndex] = i0;\n        tData[bindingIndex + 1] = i1;\n        tData[bindingIndex + 2] = i2;\n        tData[bindingIndex + 3] = i3;\n        tData[bindingIndex + 4] = i4;\n        tData[bindingIndex + 5] = i5;\n    }\n    return different ?\n        prefix + renderStringify(v0) + i0 + renderStringify(v1) + i1 + renderStringify(v2) + i2 +\n            renderStringify(v3) + i3 + renderStringify(v4) + i4 + renderStringify(v5) + i5 +\n            renderStringify(v6) + suffix :\n        NO_CHANGE;\n}\n/**\n * Creates an interpolation binding with 8 expressions.\n * @param {?} lView\n * @param {?} prefix\n * @param {?} v0\n * @param {?} i0\n * @param {?} v1\n * @param {?} i1\n * @param {?} v2\n * @param {?} i2\n * @param {?} v3\n * @param {?} i3\n * @param {?} v4\n * @param {?} i4\n * @param {?} v5\n * @param {?} i5\n * @param {?} v6\n * @param {?} i6\n * @param {?} v7\n * @param {?} suffix\n * @return {?}\n */\nfunction interpolation8(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix) {\n    /** @type {?} */\n    const bindingIndex = lView[BINDING_INDEX];\n    /** @type {?} */\n    let different = bindingUpdated4(lView, bindingIndex, v0, v1, v2, v3);\n    different = bindingUpdated4(lView, bindingIndex + 4, v4, v5, v6, v7) || different;\n    lView[BINDING_INDEX] += 8;\n    // Only set static strings the first time (data will be null subsequent runs).\n    /** @type {?} */\n    const data = storeBindingMetadata(lView, prefix, suffix);\n    if (data) {\n        /** @type {?} */\n        const tData = lView[TVIEW].data;\n        tData[bindingIndex] = i0;\n        tData[bindingIndex + 1] = i1;\n        tData[bindingIndex + 2] = i2;\n        tData[bindingIndex + 3] = i3;\n        tData[bindingIndex + 4] = i4;\n        tData[bindingIndex + 5] = i5;\n        tData[bindingIndex + 6] = i6;\n    }\n    return different ?\n        prefix + renderStringify(v0) + i0 + renderStringify(v1) + i1 + renderStringify(v2) + i2 +\n            renderStringify(v3) + i3 + renderStringify(v4) + i4 + renderStringify(v5) + i5 +\n            renderStringify(v6) + i6 + renderStringify(v7) + suffix :\n        NO_CHANGE;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n *\n * Update an interpolated attribute on an element with single bound value surrounded by text.\n *\n * Used when the value passed to a property has 1 interpolated value in it:\n *\n * ```html\n * <div attr.title=\"prefix{{v0}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵattributeInterpolate1('title', 'prefix', v0, 'suffix');\n * ```\n *\n * \\@codeGenApi\n * @param {?} attrName The name of the attribute to update\n * @param {?} prefix Static value used for concatenation only.\n * @param {?} v0 Value checked for change.\n * @param {?} suffix Static value used for concatenation only.\n * @param {?=} sanitizer An optional sanitizer function\n * @param {?=} namespace\n * @return {?} itself, so that it may be chained.\n */\nfunction ɵɵattributeInterpolate1(attrName, prefix, v0, suffix, sanitizer, namespace) {\n    /** @type {?} */\n    const index = getSelectedIndex();\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const interpolatedValue = interpolation1(lView, prefix, v0, suffix);\n    if (interpolatedValue !== NO_CHANGE) {\n        elementAttributeInternal(index, attrName, interpolatedValue, lView, sanitizer, namespace);\n    }\n    return ɵɵattributeInterpolate1;\n}\n/**\n *\n * Update an interpolated attribute on an element with 2 bound values surrounded by text.\n *\n * Used when the value passed to a property has 2 interpolated values in it:\n *\n * ```html\n * <div attr.title=\"prefix{{v0}}-{{v1}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵattributeInterpolate2('title', 'prefix', v0, '-', v1, 'suffix');\n * ```\n *\n * \\@codeGenApi\n * @param {?} attrName The name of the attribute to update\n * @param {?} prefix Static value used for concatenation only.\n * @param {?} v0 Value checked for change.\n * @param {?} i0 Static value used for concatenation only.\n * @param {?} v1 Value checked for change.\n * @param {?} suffix Static value used for concatenation only.\n * @param {?=} sanitizer An optional sanitizer function\n * @param {?=} namespace\n * @return {?} itself, so that it may be chained.\n */\nfunction ɵɵattributeInterpolate2(attrName, prefix, v0, i0, v1, suffix, sanitizer, namespace) {\n    /** @type {?} */\n    const index = getSelectedIndex();\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const interpolatedValue = interpolation2(lView, prefix, v0, i0, v1, suffix);\n    if (interpolatedValue !== NO_CHANGE) {\n        elementAttributeInternal(index, attrName, interpolatedValue, lView, sanitizer, namespace);\n    }\n    return ɵɵattributeInterpolate2;\n}\n/**\n *\n * Update an interpolated attribute on an element with 3 bound values surrounded by text.\n *\n * Used when the value passed to a property has 3 interpolated values in it:\n *\n * ```html\n * <div attr.title=\"prefix{{v0}}-{{v1}}-{{v2}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵattributeInterpolate3(\n * 'title', 'prefix', v0, '-', v1, '-', v2, 'suffix');\n * ```\n *\n * \\@codeGenApi\n * @param {?} attrName The name of the attribute to update\n * @param {?} prefix Static value used for concatenation only.\n * @param {?} v0 Value checked for change.\n * @param {?} i0 Static value used for concatenation only.\n * @param {?} v1 Value checked for change.\n * @param {?} i1 Static value used for concatenation only.\n * @param {?} v2 Value checked for change.\n * @param {?} suffix Static value used for concatenation only.\n * @param {?=} sanitizer An optional sanitizer function\n * @param {?=} namespace\n * @return {?} itself, so that it may be chained.\n */\nfunction ɵɵattributeInterpolate3(attrName, prefix, v0, i0, v1, i1, v2, suffix, sanitizer, namespace) {\n    /** @type {?} */\n    const index = getSelectedIndex();\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const interpolatedValue = interpolation3(lView, prefix, v0, i0, v1, i1, v2, suffix);\n    if (interpolatedValue !== NO_CHANGE) {\n        elementAttributeInternal(index, attrName, interpolatedValue, lView, sanitizer, namespace);\n    }\n    return ɵɵattributeInterpolate3;\n}\n/**\n *\n * Update an interpolated attribute on an element with 4 bound values surrounded by text.\n *\n * Used when the value passed to a property has 4 interpolated values in it:\n *\n * ```html\n * <div attr.title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵattributeInterpolate4(\n * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, 'suffix');\n * ```\n *\n * \\@codeGenApi\n * @param {?} attrName The name of the attribute to update\n * @param {?} prefix Static value used for concatenation only.\n * @param {?} v0 Value checked for change.\n * @param {?} i0 Static value used for concatenation only.\n * @param {?} v1 Value checked for change.\n * @param {?} i1 Static value used for concatenation only.\n * @param {?} v2 Value checked for change.\n * @param {?} i2 Static value used for concatenation only.\n * @param {?} v3 Value checked for change.\n * @param {?} suffix Static value used for concatenation only.\n * @param {?=} sanitizer An optional sanitizer function\n * @param {?=} namespace\n * @return {?} itself, so that it may be chained.\n */\nfunction ɵɵattributeInterpolate4(attrName, prefix, v0, i0, v1, i1, v2, i2, v3, suffix, sanitizer, namespace) {\n    /** @type {?} */\n    const index = getSelectedIndex();\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const interpolatedValue = interpolation4(lView, prefix, v0, i0, v1, i1, v2, i2, v3, suffix);\n    if (interpolatedValue !== NO_CHANGE) {\n        elementAttributeInternal(index, attrName, interpolatedValue, lView, sanitizer, namespace);\n    }\n    return ɵɵattributeInterpolate4;\n}\n/**\n *\n * Update an interpolated attribute on an element with 5 bound values surrounded by text.\n *\n * Used when the value passed to a property has 5 interpolated values in it:\n *\n * ```html\n * <div attr.title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵattributeInterpolate5(\n * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, 'suffix');\n * ```\n *\n * \\@codeGenApi\n * @param {?} attrName The name of the attribute to update\n * @param {?} prefix Static value used for concatenation only.\n * @param {?} v0 Value checked for change.\n * @param {?} i0 Static value used for concatenation only.\n * @param {?} v1 Value checked for change.\n * @param {?} i1 Static value used for concatenation only.\n * @param {?} v2 Value checked for change.\n * @param {?} i2 Static value used for concatenation only.\n * @param {?} v3 Value checked for change.\n * @param {?} i3 Static value used for concatenation only.\n * @param {?} v4 Value checked for change.\n * @param {?} suffix Static value used for concatenation only.\n * @param {?=} sanitizer An optional sanitizer function\n * @param {?=} namespace\n * @return {?} itself, so that it may be chained.\n */\nfunction ɵɵattributeInterpolate5(attrName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix, sanitizer, namespace) {\n    /** @type {?} */\n    const index = getSelectedIndex();\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const interpolatedValue = interpolation5(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix);\n    if (interpolatedValue !== NO_CHANGE) {\n        elementAttributeInternal(index, attrName, interpolatedValue, lView, sanitizer, namespace);\n    }\n    return ɵɵattributeInterpolate5;\n}\n/**\n *\n * Update an interpolated attribute on an element with 6 bound values surrounded by text.\n *\n * Used when the value passed to a property has 6 interpolated values in it:\n *\n * ```html\n * <div attr.title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵattributeInterpolate6(\n *    'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, 'suffix');\n * ```\n *\n * \\@codeGenApi\n * @param {?} attrName The name of the attribute to update\n * @param {?} prefix Static value used for concatenation only.\n * @param {?} v0 Value checked for change.\n * @param {?} i0 Static value used for concatenation only.\n * @param {?} v1 Value checked for change.\n * @param {?} i1 Static value used for concatenation only.\n * @param {?} v2 Value checked for change.\n * @param {?} i2 Static value used for concatenation only.\n * @param {?} v3 Value checked for change.\n * @param {?} i3 Static value used for concatenation only.\n * @param {?} v4 Value checked for change.\n * @param {?} i4 Static value used for concatenation only.\n * @param {?} v5 Value checked for change.\n * @param {?} suffix Static value used for concatenation only.\n * @param {?=} sanitizer An optional sanitizer function\n * @param {?=} namespace\n * @return {?} itself, so that it may be chained.\n */\nfunction ɵɵattributeInterpolate6(attrName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix, sanitizer, namespace) {\n    /** @type {?} */\n    const index = getSelectedIndex();\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const interpolatedValue = interpolation6(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix);\n    if (interpolatedValue !== NO_CHANGE) {\n        elementAttributeInternal(index, attrName, interpolatedValue, lView, sanitizer, namespace);\n    }\n    return ɵɵattributeInterpolate6;\n}\n/**\n *\n * Update an interpolated attribute on an element with 7 bound values surrounded by text.\n *\n * Used when the value passed to a property has 7 interpolated values in it:\n *\n * ```html\n * <div attr.title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵattributeInterpolate7(\n *    'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, 'suffix');\n * ```\n *\n * \\@codeGenApi\n * @param {?} attrName The name of the attribute to update\n * @param {?} prefix Static value used for concatenation only.\n * @param {?} v0 Value checked for change.\n * @param {?} i0 Static value used for concatenation only.\n * @param {?} v1 Value checked for change.\n * @param {?} i1 Static value used for concatenation only.\n * @param {?} v2 Value checked for change.\n * @param {?} i2 Static value used for concatenation only.\n * @param {?} v3 Value checked for change.\n * @param {?} i3 Static value used for concatenation only.\n * @param {?} v4 Value checked for change.\n * @param {?} i4 Static value used for concatenation only.\n * @param {?} v5 Value checked for change.\n * @param {?} i5 Static value used for concatenation only.\n * @param {?} v6 Value checked for change.\n * @param {?} suffix Static value used for concatenation only.\n * @param {?=} sanitizer An optional sanitizer function\n * @param {?=} namespace\n * @return {?} itself, so that it may be chained.\n */\nfunction ɵɵattributeInterpolate7(attrName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix, sanitizer, namespace) {\n    /** @type {?} */\n    const index = getSelectedIndex();\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const interpolatedValue = interpolation7(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix);\n    if (interpolatedValue !== NO_CHANGE) {\n        elementAttributeInternal(index, attrName, interpolatedValue, lView, sanitizer, namespace);\n    }\n    return ɵɵattributeInterpolate7;\n}\n/**\n *\n * Update an interpolated attribute on an element with 8 bound values surrounded by text.\n *\n * Used when the value passed to a property has 8 interpolated values in it:\n *\n * ```html\n * <div attr.title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵattributeInterpolate8(\n *  'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, 'suffix');\n * ```\n *\n * \\@codeGenApi\n * @param {?} attrName The name of the attribute to update\n * @param {?} prefix Static value used for concatenation only.\n * @param {?} v0 Value checked for change.\n * @param {?} i0 Static value used for concatenation only.\n * @param {?} v1 Value checked for change.\n * @param {?} i1 Static value used for concatenation only.\n * @param {?} v2 Value checked for change.\n * @param {?} i2 Static value used for concatenation only.\n * @param {?} v3 Value checked for change.\n * @param {?} i3 Static value used for concatenation only.\n * @param {?} v4 Value checked for change.\n * @param {?} i4 Static value used for concatenation only.\n * @param {?} v5 Value checked for change.\n * @param {?} i5 Static value used for concatenation only.\n * @param {?} v6 Value checked for change.\n * @param {?} i6 Static value used for concatenation only.\n * @param {?} v7 Value checked for change.\n * @param {?} suffix Static value used for concatenation only.\n * @param {?=} sanitizer An optional sanitizer function\n * @param {?=} namespace\n * @return {?} itself, so that it may be chained.\n */\nfunction ɵɵattributeInterpolate8(attrName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix, sanitizer, namespace) {\n    /** @type {?} */\n    const index = getSelectedIndex();\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const interpolatedValue = interpolation8(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix);\n    if (interpolatedValue !== NO_CHANGE) {\n        elementAttributeInternal(index, attrName, interpolatedValue, lView, sanitizer, namespace);\n    }\n    return ɵɵattributeInterpolate8;\n}\n/**\n * Update an interpolated attribute on an element with 8 or more bound values surrounded by text.\n *\n * Used when the number of interpolated values exceeds 7.\n *\n * ```html\n * <div\n *  title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}-{{v8}}-{{v9}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵattributeInterpolateV(\n *  'title', ['prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, '-', v9,\n *  'suffix']);\n * ```\n *\n * \\@codeGenApi\n * @param {?} attrName The name of the attribute to update.\n * @param {?} values The a collection of values and the strings in-between those values, beginning with\n * a string prefix and ending with a string suffix.\n * (e.g. `['prefix', value0, '-', value1, '-', value2, ..., value99, 'suffix']`)\n * @param {?=} sanitizer An optional sanitizer function\n * @param {?=} namespace\n * @return {?} itself, so that it may be chained.\n */\nfunction ɵɵattributeInterpolateV(attrName, values, sanitizer, namespace) {\n    /** @type {?} */\n    const index = getSelectedIndex();\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const interpolated = interpolationV(lView, values);\n    if (interpolated !== NO_CHANGE) {\n        elementAttributeInternal(index, attrName, interpolated, lView, sanitizer, namespace);\n    }\n    return ɵɵattributeInterpolateV;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Synchronously perform change detection on a component (and possibly its sub-components).\n *\n * This function triggers change detection in a synchronous way on a component. There should\n * be very little reason to call this function directly since a preferred way to do change\n * detection is to {\\@link markDirty} the component and wait for the scheduler to call this method\n * at some future point in time. This is because a single user action often results in many\n * components being invalidated and calling change detection on each component synchronously\n * would be inefficient. It is better to wait until all components are marked as dirty and\n * then perform single change detection across all of the components\n *\n * @template T\n * @param {?} component The component which the change detection should be performed on.\n * @return {?}\n */\nfunction detectChanges(component) {\n    /** @type {?} */\n    const view = getComponentViewByInstance(component);\n    detectChangesInternal(view, component);\n}\n/**\n * Mark the component as dirty (needing change detection).\n *\n * Marking a component dirty will schedule a change detection on this\n * component at some point in the future. Marking an already dirty\n * component as dirty is a noop. Only one outstanding change detection\n * can be scheduled per component tree. (Two components bootstrapped with\n * separate `renderComponent` will have separate schedulers)\n *\n * When the root component is bootstrapped with `renderComponent`, a scheduler\n * can be provided.\n *\n * \\@publicApi\n * @template T\n * @param {?} component Component to mark as dirty.\n *\n * @return {?}\n */\nfunction markDirty(component) {\n    ngDevMode && assertDefined(component, 'component');\n    /** @type {?} */\n    const rootView = (/** @type {?} */ (markViewDirty(getComponentViewByInstance(component))));\n    ngDevMode && assertDefined(rootView[CONTEXT], 'rootContext should be defined');\n    scheduleTick((/** @type {?} */ (rootView[CONTEXT])), 1 /* DetectChanges */);\n}\n/**\n * Used to perform change detection on the whole application.\n *\n * This is equivalent to `detectChanges`, but invoked on root component. Additionally, `tick`\n * executes lifecycle hooks and conditionally checks components based on their\n * `ChangeDetectionStrategy` and dirtiness.\n *\n * The preferred way to trigger change detection is to call `markDirty`. `markDirty` internally\n * schedules `tick` using a scheduler in order to coalesce multiple `markDirty` calls into a\n * single change detection run. By default, the scheduler is `requestAnimationFrame`, but can\n * be changed when calling `renderComponent` and providing the `scheduler` option.\n * @template T\n * @param {?} component\n * @return {?}\n */\nfunction tick(component) {\n    /** @type {?} */\n    const rootView = getRootView(component);\n    /** @type {?} */\n    const rootContext = (/** @type {?} */ (rootView[CONTEXT]));\n    tickRootContext(rootContext);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Creates an LContainer for inline views, e.g.\n *\n * % if (showing) {\n *   <div></div>\n * % }\n *\n * \\@codeGenApi\n * @param {?} index The index of the container in the data array\n *\n * @return {?}\n */\nfunction ɵɵcontainer(index) {\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const tNode = containerInternal(lView, index, null, null);\n    if (lView[TVIEW].firstTemplatePass) {\n        tNode.tViews = [];\n    }\n    setIsNotParent();\n}\n/**\n * Creates an LContainer for an ng-template (dynamically-inserted view), e.g.\n *\n * <ng-template #foo>\n *    <div></div>\n * </ng-template>\n *\n * \\@codeGenApi\n * @param {?} index The index of the container in the data array\n * @param {?} templateFn Inline template\n * @param {?} consts The number of nodes, local refs, and pipes for this template\n * @param {?} vars The number of bindings for this template\n * @param {?=} tagName The name of the container element, if applicable\n * @param {?=} attrs The attrs attached to the container, if applicable\n * @param {?=} localRefs A set of local reference bindings on the element.\n * @param {?=} localRefExtractor A function which extracts local-refs values from the template.\n *        Defaults to the current element associated with the local-ref.\n *\n * @return {?}\n */\nfunction ɵɵtemplate(index, templateFn, consts, vars, tagName, attrs, localRefs, localRefExtractor) {\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const tView = lView[TVIEW];\n    // TODO: consider a separate node type for templates\n    /** @type {?} */\n    const tContainerNode = containerInternal(lView, index, tagName || null, attrs || null);\n    if (tView.firstTemplatePass) {\n        ngDevMode && ngDevMode.firstTemplatePass++;\n        resolveDirectives(tView, lView, tContainerNode, localRefs || null);\n        /** @type {?} */\n        const embeddedTView = tContainerNode.tViews = createTView(-1, templateFn, consts, vars, tView.directiveRegistry, tView.pipeRegistry, null, null);\n        if (tView.queries !== null) {\n            tView.queries.template(tView, tContainerNode);\n            embeddedTView.queries = tView.queries.embeddedTView(tContainerNode);\n        }\n    }\n    createDirectivesAndLocals(tView, lView, tContainerNode, localRefExtractor);\n    attachPatchData(getNativeByTNode(tContainerNode, lView), lView);\n    registerPostOrderHooks(tView, tContainerNode);\n    setIsNotParent();\n}\n/**\n * Sets a container up to receive views.\n *\n * \\@codeGenApi\n * @param {?} index The index of the container in the data array\n *\n * @return {?}\n */\nfunction ɵɵcontainerRefreshStart(index) {\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const tView = lView[TVIEW];\n    /** @type {?} */\n    let previousOrParentTNode = (/** @type {?} */ (loadInternal(tView.data, index)));\n    ngDevMode && assertNodeType(previousOrParentTNode, 0 /* Container */);\n    setPreviousOrParentTNode(previousOrParentTNode, true);\n    lView[index + HEADER_OFFSET][ACTIVE_INDEX] = 0;\n    // We need to execute init hooks here so ngOnInit hooks are called in top level views\n    // before they are called in embedded views (for backwards compatibility).\n    executePreOrderHooks(lView, tView, getCheckNoChangesMode(), undefined);\n}\n/**\n * Marks the end of the LContainer.\n *\n * Marking the end of LContainer is the time when to child views get inserted or removed.\n *\n * \\@codeGenApi\n * @return {?}\n */\nfunction ɵɵcontainerRefreshEnd() {\n    /** @type {?} */\n    let previousOrParentTNode = getPreviousOrParentTNode();\n    if (getIsParent()) {\n        setIsNotParent();\n    }\n    else {\n        ngDevMode && assertNodeType(previousOrParentTNode, 2 /* View */);\n        ngDevMode && assertHasParent(previousOrParentTNode);\n        previousOrParentTNode = (/** @type {?} */ (previousOrParentTNode.parent));\n        setPreviousOrParentTNode(previousOrParentTNode, false);\n    }\n    ngDevMode && assertNodeType(previousOrParentTNode, 0 /* Container */);\n    /** @type {?} */\n    const lContainer = getLView()[previousOrParentTNode.index];\n    /** @type {?} */\n    const nextIndex = lContainer[ACTIVE_INDEX];\n    // remove extra views at the end of the container\n    while (nextIndex < lContainer.length - CONTAINER_HEADER_OFFSET) {\n        removeView(lContainer, nextIndex);\n    }\n}\n/**\n * @param {?} lView\n * @param {?} nodeIndex\n * @param {?} tagName\n * @param {?} attrs\n * @return {?}\n */\nfunction containerInternal(lView, nodeIndex, tagName, attrs) {\n    ngDevMode && assertEqual(lView[BINDING_INDEX], lView[TVIEW].bindingStartIndex, 'container nodes should be created before any bindings');\n    /** @type {?} */\n    const adjustedIndex = nodeIndex + HEADER_OFFSET;\n    ngDevMode && assertDataInRange(lView, nodeIndex + HEADER_OFFSET);\n    ngDevMode && ngDevMode.rendererCreateComment++;\n    /** @type {?} */\n    const comment = lView[adjustedIndex] =\n        lView[RENDERER].createComment(ngDevMode ? 'container' : '');\n    /** @type {?} */\n    const tNode = getOrCreateTNode(lView[TVIEW], lView[T_HOST], nodeIndex, 0 /* Container */, tagName, attrs);\n    /** @type {?} */\n    const lContainer = lView[adjustedIndex] = createLContainer(comment, lView, comment, tNode);\n    appendChild(comment, tNode, lView);\n    // Containers are added to the current view tree instead of their embedded views\n    // because views can be removed and re-inserted.\n    addToViewTree(lView, lContainer);\n    ngDevMode && assertNodeType(getPreviousOrParentTNode(), 0 /* Container */);\n    return tNode;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Store a value in the `data` at a given `index`.\n * @template T\n * @param {?} index\n * @param {?} value\n * @return {?}\n */\nfunction store(index, value) {\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const tView = lView[TVIEW];\n    // We don't store any static data for local variables, so the first time\n    // we see the template, we should store as null to avoid a sparse array\n    /** @type {?} */\n    const adjustedIndex = index + HEADER_OFFSET;\n    if (adjustedIndex >= tView.data.length) {\n        tView.data[adjustedIndex] = null;\n        tView.blueprint[adjustedIndex] = null;\n    }\n    lView[adjustedIndex] = value;\n}\n/**\n * Retrieves a local reference from the current contextViewData.\n *\n * If the reference to retrieve is in a parent view, this instruction is used in conjunction\n * with a nextContext() call, which walks up the tree and updates the contextViewData instance.\n *\n * \\@codeGenApi\n * @template T\n * @param {?} index The index of the local ref in contextViewData.\n *\n * @return {?}\n */\nfunction ɵɵreference(index) {\n    /** @type {?} */\n    const contextLView = getContextLView();\n    return loadInternal(contextLView, index);\n}\n/**\n * Retrieves a value from current `viewData`.\n *\n * \\@codeGenApi\n * @template T\n * @param {?} index\n * @return {?}\n */\nfunction ɵɵload(index) {\n    return loadInternal(getLView(), index);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @template T\n * @param {?} token\n * @param {?=} flags\n * @return {?}\n */\nfunction ɵɵdirectiveInject(token, flags = InjectFlags.Default) {\n    token = resolveForwardRef(token);\n    /** @type {?} */\n    const lView = getLView();\n    // Fall back to inject() if view hasn't been created. This situation can happen in tests\n    // if inject utilities are used before bootstrapping.\n    if (lView == null)\n        return ɵɵinject(token, flags);\n    return getOrCreateInjectable((/** @type {?} */ (getPreviousOrParentTNode())), lView, token, flags);\n}\n/**\n * Facade for the attribute injection from DI.\n *\n * \\@codeGenApi\n * @param {?} attrNameToInject\n * @return {?}\n */\nfunction ɵɵinjectAttribute(attrNameToInject) {\n    return injectAttributeImpl(getPreviousOrParentTNode(), attrNameToInject);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * --------\n *\n * This file contains the core logic for how styling instructions are processed in Angular.\n *\n * To learn more about the algorithm see `TStylingContext`.\n *\n * --------\n */\n/**\n * Temporary function to bridge styling functionality between this new\n * refactor (which is here inside of `styling_next/`) and the old\n * implementation (which lives inside of `styling/`).\n *\n * This function is executed during the creation block of an element.\n * Because the existing styling implementation issues a call to the\n * `styling()` instruction, this instruction will also get run. The\n * central idea here is that the directive index values are bound\n * into the context. The directive index is temporary and is only\n * required until the `select(n)` instruction is fully functional.\n *\n * \\@codeGenApi\n * @return {?}\n */\nfunction ɵɵstyling() {\n    /** @type {?} */\n    const tView = getLView()[TVIEW];\n    if (tView.firstTemplatePass) {\n        updateLastDirectiveIndex$1(getPreviousOrParentTNode(), getActiveDirectiveStylingIndex());\n    }\n}\n/**\n * Sets the current style sanitizer function which will then be used\n * within all follow-up prop and map-based style binding instructions\n * for the given element.\n *\n * Note that once styling has been applied to the element (i.e. once\n * `select(n)` is executed or the hostBindings/template function exits)\n * then the active `sanitizerFn` will be set to `null`. This means that\n * once styling is applied to another element then a another call to\n * `styleSanitizer` will need to be made.\n *\n * \\@codeGenApi\n * @param {?} sanitizer\n * @return {?}\n */\nfunction ɵɵstyleSanitizer(sanitizer) {\n    setCurrentStyleSanitizer(sanitizer);\n}\n/**\n * Update a style binding on an element with the provided value.\n *\n * If the style value is falsy then it will be removed from the element\n * (or assigned a different value depending if there are any styles placed\n * on the element with `styleMap` or any static styles that are\n * present from when the element was created with `styling`).\n *\n * Note that the styling element is updated as part of `stylingApply`.\n *\n * \\@codeGenApi\n * @param {?} prop A valid CSS property.\n * @param {?} value New value to write (`null` or an empty string to remove).\n * @param {?=} suffix Optional suffix. Used with scalar values to add unit such as `px`.\n *        Note that when a suffix is provided then the underlying sanitizer will\n *        be ignored.\n *\n * Note that this will apply the provided style value to the host element if this function is called\n * within a host binding.\n *\n * @return {?}\n */\nfunction ɵɵstyleProp(prop, value, suffix) {\n    stylePropInternal(getSelectedIndex(), prop, value, suffix);\n}\n/**\n * @param {?} elementIndex\n * @param {?} prop\n * @param {?} value\n * @param {?=} suffix\n * @return {?}\n */\nfunction stylePropInternal(elementIndex, prop, value, suffix) {\n    /** @type {?} */\n    const lView = getLView();\n    // if a value is interpolated then it may render a `NO_CHANGE` value.\n    // in this case we do not need to do anything, but the binding index\n    // still needs to be incremented because all styling binding values\n    // are stored inside of the lView.\n    /** @type {?} */\n    const bindingIndex = lView[BINDING_INDEX]++;\n    /** @type {?} */\n    const updated = _stylingProp(elementIndex, bindingIndex, prop, resolveStylePropValue(value, suffix), false, deferStylingUpdate());\n    if (ngDevMode) {\n        ngDevMode.styleProp++;\n        if (updated) {\n            ngDevMode.stylePropCacheMiss++;\n        }\n    }\n}\n/**\n * Update a class binding on an element with the provided value.\n *\n * This instruction is meant to handle the `[class.foo]=\"exp\"` case and,\n * therefore, the class binding itself must already be allocated using\n * `styling` within the creation block.\n *\n * \\@codeGenApi\n * @param {?} className\n * @param {?} value A true/false value which will turn the class on or off.\n *\n * Note that this will apply the provided class value to the host element if this function\n * is called within a host binding.\n *\n * @return {?}\n */\nfunction ɵɵclassProp(className, value) {\n    /** @type {?} */\n    const lView = getLView();\n    // if a value is interpolated then it may render a `NO_CHANGE` value.\n    // in this case we do not need to do anything, but the binding index\n    // still needs to be incremented because all styling binding values\n    // are stored inside of the lView.\n    /** @type {?} */\n    const bindingIndex = lView[BINDING_INDEX]++;\n    /** @type {?} */\n    const updated = _stylingProp(getSelectedIndex(), bindingIndex, className, value, true, deferStylingUpdate());\n    if (ngDevMode) {\n        ngDevMode.classProp++;\n        if (updated) {\n            ngDevMode.classPropCacheMiss++;\n        }\n    }\n}\n/**\n * Shared function used to update a prop-based styling binding for an element.\n * @param {?} elementIndex\n * @param {?} bindingIndex\n * @param {?} prop\n * @param {?} value\n * @param {?} isClassBased\n * @param {?} defer\n * @return {?}\n */\nfunction _stylingProp(elementIndex, bindingIndex, prop, value, isClassBased, defer) {\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const tNode = getTNode(elementIndex, lView);\n    /** @type {?} */\n    const native = (/** @type {?} */ (getNativeByTNode(tNode, lView)));\n    /** @type {?} */\n    let updated = false;\n    if (value !== NO_CHANGE) {\n        if (isClassBased) {\n            updated = updateClassBinding(getClassesContext(tNode), lView, native, prop, bindingIndex, (/** @type {?} */ (value)), defer, false);\n        }\n        else {\n            /** @type {?} */\n            const sanitizer = getCurrentStyleSanitizer();\n            updated = updateStyleBinding(getStylesContext(tNode), lView, native, prop, bindingIndex, (/** @type {?} */ (value)), sanitizer, defer, false);\n        }\n    }\n    return updated;\n}\n/**\n * Update style bindings using an object literal on an element.\n *\n * This instruction is meant to apply styling via the `[style]=\"exp\"` template bindings.\n * When styles are applied to the element they will then be updated with respect to\n * any styles/classes set via `styleProp`. If any styles are set to falsy\n * then they will be removed from the element.\n *\n * Note that the styling instruction will not be applied until `stylingApply` is called.\n *\n * \\@codeGenApi\n * @param {?} styles A key/value style map of the styles that will be applied to the given element.\n *        Any missing styles (that have already been applied to the element beforehand) will be\n *        removed (unset) from the element's styling.\n *\n * Note that this will apply the provided styleMap value to the host element if this function\n * is called within a host binding.\n *\n * @return {?}\n */\nfunction ɵɵstyleMap(styles) {\n    /** @type {?} */\n    const index = getSelectedIndex();\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const tNode = getTNode(index, lView);\n    /** @type {?} */\n    const context = getStylesContext(tNode);\n    /** @type {?} */\n    const directiveIndex = getActiveDirectiveStylingIndex();\n    // if a value is interpolated then it may render a `NO_CHANGE` value.\n    // in this case we do not need to do anything, but the binding index\n    // still needs to be incremented because all styling binding values\n    // are stored inside of the lView.\n    /** @type {?} */\n    const bindingIndex = lView[BINDING_INDEX]++;\n    // inputs are only evaluated from a template binding into a directive, therefore,\n    // there should not be a situation where a directive host bindings function\n    // evaluates the inputs (this should only happen in the template function)\n    if (!directiveIndex && hasStyleInput(tNode) && styles !== NO_CHANGE) {\n        updateDirectiveInputValue(context, lView, tNode, bindingIndex, styles, false);\n        styles = NO_CHANGE;\n    }\n    /** @type {?} */\n    const updated = _stylingMap(index, context, bindingIndex, styles, false, deferStylingUpdate());\n    if (ngDevMode) {\n        ngDevMode.styleMap++;\n        if (updated) {\n            ngDevMode.styleMapCacheMiss++;\n        }\n    }\n}\n/**\n * Update class bindings using an object literal or class-string on an element.\n *\n * This instruction is meant to apply styling via the `[class]=\"exp\"` template bindings.\n * When classes are applied to the element they will then be updated with\n * respect to any styles/classes set via `classProp`. If any\n * classes are set to falsy then they will be removed from the element.\n *\n * Note that the styling instruction will not be applied until `stylingApply` is called.\n * Note that this will the provided classMap value to the host element if this function is called\n * within a host binding.\n *\n * \\@codeGenApi\n * @param {?} classes A key/value map or string of CSS classes that will be added to the\n *        given element. Any missing classes (that have already been applied to the element\n *        beforehand) will be removed (unset) from the element's list of CSS classes.\n *\n * @return {?}\n */\nfunction ɵɵclassMap(classes) {\n    classMapInternal(getSelectedIndex(), classes);\n}\n/**\n * @param {?} elementIndex\n * @param {?} classes\n * @return {?}\n */\nfunction classMapInternal(elementIndex, classes) {\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const tNode = getTNode(elementIndex, lView);\n    /** @type {?} */\n    const context = getClassesContext(tNode);\n    /** @type {?} */\n    const directiveIndex = getActiveDirectiveStylingIndex();\n    // if a value is interpolated then it may render a `NO_CHANGE` value.\n    // in this case we do not need to do anything, but the binding index\n    // still needs to be incremented because all styling binding values\n    // are stored inside of the lView.\n    /** @type {?} */\n    const bindingIndex = lView[BINDING_INDEX]++;\n    // inputs are only evaluated from a template binding into a directive, therefore,\n    // there should not be a situation where a directive host bindings function\n    // evaluates the inputs (this should only happen in the template function)\n    if (!directiveIndex && hasClassInput(tNode) && classes !== NO_CHANGE) {\n        updateDirectiveInputValue(context, lView, tNode, bindingIndex, classes, true);\n        classes = NO_CHANGE;\n    }\n    /** @type {?} */\n    const updated = _stylingMap(elementIndex, context, bindingIndex, classes, true, deferStylingUpdate());\n    if (ngDevMode) {\n        ngDevMode.classMap++;\n        if (updated) {\n            ngDevMode.classMapCacheMiss++;\n        }\n    }\n}\n/**\n * Shared function used to update a map-based styling binding for an element.\n *\n * When this function is called it will activate support for `[style]` and\n * `[class]` bindings in Angular.\n * @param {?} elementIndex\n * @param {?} context\n * @param {?} bindingIndex\n * @param {?} value\n * @param {?} isClassBased\n * @param {?} defer\n * @return {?}\n */\nfunction _stylingMap(elementIndex, context, bindingIndex, value, isClassBased, defer) {\n    activateStylingMapFeature();\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    let valueHasChanged = false;\n    if (value !== NO_CHANGE) {\n        /** @type {?} */\n        const tNode = getTNode(elementIndex, lView);\n        /** @type {?} */\n        const native = (/** @type {?} */ (getNativeByTNode(tNode, lView)));\n        /** @type {?} */\n        const oldValue = lView[bindingIndex];\n        valueHasChanged = hasValueChanged(oldValue, value);\n        /** @type {?} */\n        const stylingMapArr = normalizeIntoStylingMap(oldValue, value, !isClassBased);\n        if (isClassBased) {\n            updateClassBinding(context, lView, native, null, bindingIndex, stylingMapArr, defer, valueHasChanged);\n        }\n        else {\n            /** @type {?} */\n            const sanitizer = getCurrentStyleSanitizer();\n            updateStyleBinding(context, lView, native, null, bindingIndex, stylingMapArr, sanitizer, defer, valueHasChanged);\n        }\n    }\n    return valueHasChanged;\n}\n/**\n * Writes a value to a directive's `style` or `class` input binding (if it has changed).\n *\n * If a directive has a `\\@Input` binding that is set on `style` or `class` then that value\n * will take priority over the underlying style/class styling bindings. This value will\n * be updated for the binding each time during change detection.\n *\n * When this occurs this function will attempt to write the value to the input binding\n * depending on the following situations:\n *\n * - If `oldValue !== newValue`\n * - If `newValue` is `null` (but this is skipped if it is during the first update pass--\n *    which is when the context is not locked yet)\n * @param {?} context\n * @param {?} lView\n * @param {?} tNode\n * @param {?} bindingIndex\n * @param {?} newValue\n * @param {?} isClassBased\n * @return {?}\n */\nfunction updateDirectiveInputValue(context, lView, tNode, bindingIndex, newValue, isClassBased) {\n    /** @type {?} */\n    const oldValue = lView[bindingIndex];\n    if (oldValue !== newValue) {\n        // even if the value has changed we may not want to emit it to the\n        // directive input(s) in the event that it is falsy during the\n        // first update pass.\n        if (newValue || isContextLocked(context)) {\n            /** @type {?} */\n            const inputs = (/** @type {?} */ ((/** @type {?} */ (tNode.inputs))[isClassBased ? 'class' : 'style']));\n            /** @type {?} */\n            const initialValue = getInitialStylingValue(context);\n            /** @type {?} */\n            const value = normalizeStylingDirectiveInputValue(initialValue, newValue, isClassBased);\n            setInputsForProperty(lView, inputs, value);\n        }\n        lView[bindingIndex] = newValue;\n    }\n}\n/**\n * Returns the appropriate directive input value for `style` or `class`.\n *\n * Earlier versions of Angular expect a binding value to be passed into directive code\n * exactly as it is unless there is a static value present (in which case both values\n * will be stringified and concatenated).\n * @param {?} initialValue\n * @param {?} bindingValue\n * @param {?} isClassBased\n * @return {?}\n */\nfunction normalizeStylingDirectiveInputValue(initialValue, bindingValue, isClassBased) {\n    /** @type {?} */\n    let value = bindingValue;\n    // we only concat values if there is an initial value, otherwise we return the value as is.\n    // Note that this is to satisfy backwards-compatibility in Angular.\n    if (initialValue.length > 0) {\n        if (isClassBased) {\n            value = concatString(initialValue, forceClassesAsString(bindingValue));\n        }\n        else {\n            value = concatString(initialValue, forceStylesAsString((/** @type {?} */ (bindingValue))), ';');\n        }\n    }\n    return value;\n}\n/**\n * Flushes all styling code to the element.\n *\n * This function is designed to be called from the template and hostBindings\n * functions and may be called multiple times depending whether multiple\n * sources of styling exist. If called multiple times, only the last call\n * to `stlyingApply()` will render styling to the element.\n *\n * \\@codeGenApi\n * @return {?}\n */\nfunction ɵɵstylingApply() {\n    /** @type {?} */\n    const elementIndex = getSelectedIndex();\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const tNode = getTNode(elementIndex, lView);\n    /** @type {?} */\n    const renderer = getRenderer(tNode, lView);\n    /** @type {?} */\n    const native = (/** @type {?} */ (getNativeByTNode(tNode, lView)));\n    /** @type {?} */\n    const directiveIndex = getActiveDirectiveStylingIndex();\n    /** @type {?} */\n    const sanitizer = getCurrentStyleSanitizer();\n    flushStyling(renderer, lView, getClassesContext(tNode), getStylesContext(tNode), native, directiveIndex, sanitizer);\n    setCurrentStyleSanitizer(null);\n}\n/**\n * @param {?} tNode\n * @param {?} lView\n * @return {?}\n */\nfunction getRenderer(tNode, lView) {\n    return tNode.type === 3 /* Element */ ? lView[RENDERER] : null;\n}\n/**\n * Searches and assigns provided all static style/class entries (found in the `attrs` value)\n * and registers them in their respective styling contexts.\n * @param {?} tNode\n * @param {?} attrs\n * @param {?} startIndex\n * @return {?}\n */\nfunction registerInitialStylingOnTNode(tNode, attrs, startIndex) {\n    /** @type {?} */\n    let hasAdditionalInitialStyling = false;\n    /** @type {?} */\n    let styles = getStylingMapArray(tNode.styles);\n    /** @type {?} */\n    let classes = getStylingMapArray(tNode.classes);\n    /** @type {?} */\n    let mode = -1;\n    for (let i = startIndex; i < attrs.length; i++) {\n        /** @type {?} */\n        const attr = (/** @type {?} */ (attrs[i]));\n        if (typeof attr == 'number') {\n            mode = attr;\n        }\n        else if (mode == 1 /* Classes */) {\n            classes = classes || [''];\n            addItemToStylingMap(classes, attr, true);\n            hasAdditionalInitialStyling = true;\n        }\n        else if (mode == 2 /* Styles */) {\n            /** @type {?} */\n            const value = (/** @type {?} */ (attrs[++i]));\n            styles = styles || [''];\n            addItemToStylingMap(styles, attr, value);\n            hasAdditionalInitialStyling = true;\n        }\n    }\n    if (classes && classes.length > 1 /* ValuesStartPosition */) {\n        if (!tNode.classes) {\n            tNode.classes = classes;\n        }\n        updateRawValueOnContext(tNode.classes, stylingMapToString(classes, true));\n    }\n    if (styles && styles.length > 1 /* ValuesStartPosition */) {\n        if (!tNode.styles) {\n            tNode.styles = styles;\n        }\n        updateRawValueOnContext(tNode.styles, stylingMapToString(styles, false));\n    }\n    return hasAdditionalInitialStyling;\n}\n/**\n * @param {?} context\n * @param {?} value\n * @return {?}\n */\nfunction updateRawValueOnContext(context, value) {\n    /** @type {?} */\n    const stylingMapArr = (/** @type {?} */ (getStylingMapArray(context)));\n    stylingMapArr[0 /* RawValuePosition */] = value;\n}\n/**\n * @return {?}\n */\nfunction getActiveDirectiveStylingIndex() {\n    // whenever a directive's hostBindings function is called a uniqueId value\n    // is assigned. Normally this is enough to help distinguish one directive\n    // from another for the styling context, but there are situations where a\n    // sub-class directive could inherit and assign styling in concert with a\n    // parent directive. To help the styling code distinguish between a parent\n    // sub-classed directive the inheritance depth is taken into account as well.\n    return getActiveDirectiveId() + getActiveDirectiveSuperClassDepth();\n}\n/**\n * Temporary function that will update the max directive index value in\n * both the classes and styles contexts present on the provided `tNode`.\n *\n * This code is only used because the `select(n)` code functionality is not\n * yet 100% functional. The `select(n)` instruction cannot yet evaluate host\n * bindings function code in sync with the associated template function code.\n * For this reason the styling algorithm needs to track the last directive index\n * value so that it knows exactly when to render styling to the element since\n * `stylingApply()` is called multiple times per CD (`stylingApply` will be\n * removed once `select(n)` is fixed).\n * @param {?} tNode\n * @param {?} directiveIndex\n * @return {?}\n */\nfunction updateLastDirectiveIndex$1(tNode, directiveIndex) {\n    updateLastDirectiveIndex(getClassesContext(tNode), directiveIndex);\n    updateLastDirectiveIndex(getStylesContext(tNode), directiveIndex);\n}\n/**\n * @param {?} tNode\n * @return {?}\n */\nfunction getStylesContext(tNode) {\n    return getContext(tNode, false);\n}\n/**\n * @param {?} tNode\n * @return {?}\n */\nfunction getClassesContext(tNode) {\n    return getContext(tNode, true);\n}\n/**\n * Returns/instantiates a styling context from/to a `tNode` instance.\n * @param {?} tNode\n * @param {?} isClassBased\n * @return {?}\n */\nfunction getContext(tNode, isClassBased) {\n    /** @type {?} */\n    let context = isClassBased ? tNode.classes : tNode.styles;\n    if (!isStylingContext(context)) {\n        context = allocTStylingContext(context);\n        if (ngDevMode) {\n            attachStylingDebugObject((/** @type {?} */ (context)));\n        }\n        if (isClassBased) {\n            tNode.classes = context;\n        }\n        else {\n            tNode.styles = context;\n        }\n    }\n    return (/** @type {?} */ (context));\n}\n/**\n * @param {?} value\n * @param {?} suffix\n * @return {?}\n */\nfunction resolveStylePropValue(value, suffix) {\n    if (value === NO_CHANGE)\n        return value;\n    /** @type {?} */\n    let resolvedValue = null;\n    if (value !== null) {\n        if (suffix) {\n            // when a suffix is applied then it will bypass\n            // sanitization entirely (b/c a new string is created)\n            resolvedValue = renderStringify(value) + suffix;\n        }\n        else {\n            // sanitization happens by dealing with a String value\n            // this means that the string value will be passed through\n            // into the style rendering later (which is where the value\n            // will be sanitized before it is applied)\n            resolvedValue = (/** @type {?} */ ((/** @type {?} */ (value))));\n        }\n    }\n    return resolvedValue;\n}\n/**\n * Whether or not a style/class binding update should be applied later.\n *\n * This function will decide whether a binding should be applied immediately\n * or later (just before the styles/classes are flushed to the element). The\n * reason why this feature exists is because of super/sub directive inheritance.\n * Angular will evaluate host bindings on the super directive first and the sub\n * directive, but the styling bindings on the sub directive are of higher priority\n * than the super directive. For this reason all styling bindings that take place\n * in this circumstance will need to be deferred until later so that they can be\n * applied together and in a different order (the algorithm handles that part).\n * @return {?}\n */\nfunction deferStylingUpdate() {\n    return getActiveDirectiveSuperClassHeight() > 0;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Create DOM element. The instruction must later be followed by `elementEnd()` call.\n *\n * \\@codeGenApi\n * @param {?} index Index of the element in the LView array\n * @param {?} name Name of the DOM Node\n * @param {?=} attrs Statically bound set of attributes, classes, and styles to be written into the DOM\n *              element on creation. Use [AttributeMarker] to denote the meaning of this array.\n * @param {?=} localRefs A set of local reference bindings on the element.\n *\n * Attributes and localRefs are passed as an array of strings where elements with an even index\n * hold an attribute name and elements with an odd index hold an attribute value, ex.:\n * ['id', 'warning5', 'class', 'alert']\n *\n * @return {?}\n */\nfunction ɵɵelementStart(index, name, attrs, localRefs) {\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const tView = lView[TVIEW];\n    ngDevMode && assertEqual(lView[BINDING_INDEX], tView.bindingStartIndex, 'elements should be created before any bindings ');\n    ngDevMode && ngDevMode.rendererCreateElement++;\n    ngDevMode && assertDataInRange(lView, index + HEADER_OFFSET);\n    /** @type {?} */\n    const native = lView[index + HEADER_OFFSET] = elementCreate(name);\n    /** @type {?} */\n    const renderer = lView[RENDERER];\n    /** @type {?} */\n    const tNode = getOrCreateTNode(tView, lView[T_HOST], index, 3 /* Element */, name, attrs || null);\n    if (attrs != null) {\n        /** @type {?} */\n        const lastAttrIndex = setUpAttributes(native, attrs);\n        if (tView.firstTemplatePass) {\n            registerInitialStylingOnTNode(tNode, attrs, lastAttrIndex);\n        }\n    }\n    renderInitialStyling(renderer, native, tNode);\n    appendChild(native, tNode, lView);\n    // any immediate children of a component or template container must be pre-emptively\n    // monkey-patched with the component view data so that the element can be inspected\n    // later on using any element discovery utility methods (see `element_discovery.ts`)\n    if (getElementDepthCount() === 0) {\n        attachPatchData(native, lView);\n    }\n    increaseElementDepthCount();\n    // if a directive contains a host binding for \"class\" then all class-based data will\n    // flow through that (except for `[class.prop]` bindings). This also includes initial\n    // static class values as well. (Note that this will be fixed once map-based `[style]`\n    // and `[class]` bindings work for multiple directives.)\n    if (tView.firstTemplatePass) {\n        ngDevMode && ngDevMode.firstTemplatePass++;\n        resolveDirectives(tView, lView, tNode, localRefs || null);\n        /** @type {?} */\n        const inputData = initializeTNodeInputs(tNode);\n        if (inputData && inputData.hasOwnProperty('class')) {\n            tNode.flags |= 8 /* hasClassInput */;\n        }\n        if (inputData && inputData.hasOwnProperty('style')) {\n            tNode.flags |= 16 /* hasStyleInput */;\n        }\n        if (tView.queries !== null) {\n            tView.queries.elementStart(tView, tNode);\n        }\n    }\n    createDirectivesAndLocals(tView, lView, tNode);\n    executeContentQueries(tView, tNode, lView);\n}\n/**\n * Mark the end of the element.\n *\n * \\@codeGenApi\n * @return {?}\n */\nfunction ɵɵelementEnd() {\n    /** @type {?} */\n    let previousOrParentTNode = getPreviousOrParentTNode();\n    ngDevMode && assertDefined(previousOrParentTNode, 'No parent node to close.');\n    if (getIsParent()) {\n        setIsNotParent();\n    }\n    else {\n        ngDevMode && assertHasParent(getPreviousOrParentTNode());\n        previousOrParentTNode = (/** @type {?} */ (previousOrParentTNode.parent));\n        setPreviousOrParentTNode(previousOrParentTNode, false);\n    }\n    /** @type {?} */\n    const tNode = previousOrParentTNode;\n    ngDevMode && assertNodeType(tNode, 3 /* Element */);\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const tView = lView[TVIEW];\n    registerPostOrderHooks(tView, previousOrParentTNode);\n    decreaseElementDepthCount();\n    if (tView.firstTemplatePass && tView.queries !== null &&\n        isContentQueryHost(previousOrParentTNode)) {\n        (/** @type {?} */ (tView.queries)).elementEnd(previousOrParentTNode);\n    }\n    if (hasClassInput(tNode) && tNode.classes) {\n        setDirectiveStylingInput(tNode.classes, lView, (/** @type {?} */ (tNode.inputs))['class']);\n    }\n    if (hasStyleInput(tNode) && tNode.styles) {\n        setDirectiveStylingInput(tNode.styles, lView, (/** @type {?} */ (tNode.inputs))['style']);\n    }\n}\n/**\n * Creates an empty element using {\\@link elementStart} and {\\@link elementEnd}\n *\n * \\@codeGenApi\n * @param {?} index Index of the element in the data array\n * @param {?} name Name of the DOM Node\n * @param {?=} attrs Statically bound set of attributes, classes, and styles to be written into the DOM\n *              element on creation. Use [AttributeMarker] to denote the meaning of this array.\n * @param {?=} localRefs A set of local reference bindings on the element.\n *\n * @return {?}\n */\nfunction ɵɵelement(index, name, attrs, localRefs) {\n    ɵɵelementStart(index, name, attrs, localRefs);\n    ɵɵelementEnd();\n}\n/**\n * Assign static attribute values to a host element.\n *\n * This instruction will assign static attribute values as well as class and style\n * values to an element within the host bindings function. Since attribute values\n * can consist of different types of values, the `attrs` array must include the values in\n * the following format:\n *\n * attrs = [\n *   // static attributes (like `title`, `name`, `id`...)\n *   attr1, value1, attr2, value,\n *\n *   // a single namespace value (like `x:id`)\n *   NAMESPACE_MARKER, namespaceUri1, name1, value1,\n *\n *   // another single namespace value (like `x:name`)\n *   NAMESPACE_MARKER, namespaceUri2, name2, value2,\n *\n *   // a series of CSS classes that will be applied to the element (no spaces)\n *   CLASSES_MARKER, class1, class2, class3,\n *\n *   // a series of CSS styles (property + value) that will be applied to the element\n *   STYLES_MARKER, prop1, value1, prop2, value2\n * ]\n *\n * All non-class and non-style attributes must be defined at the start of the list\n * first before all class and style values are set. When there is a change in value\n * type (like when classes and styles are introduced) a marker must be used to separate\n * the entries. The marker values themselves are set via entries found in the\n * [AttributeMarker] enum.\n *\n * NOTE: This instruction is meant to used from `hostBindings` function only.\n *\n * \\@codeGenApi\n * @param {?} attrs An array of static values (attributes, classes and styles) with the correct marker\n * values.\n *\n * @return {?}\n */\nfunction ɵɵelementHostAttrs(attrs) {\n    /** @type {?} */\n    const hostElementIndex = getSelectedIndex();\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const tView = lView[TVIEW];\n    /** @type {?} */\n    const tNode = getTNode(hostElementIndex, lView);\n    // non-element nodes (e.g. `<ng-container>`) are not rendered as actual\n    // element nodes and adding styles/classes on to them will cause runtime\n    // errors...\n    if (tNode.type === 3 /* Element */) {\n        /** @type {?} */\n        const native = (/** @type {?} */ (getNativeByTNode(tNode, lView)));\n        /** @type {?} */\n        const lastAttrIndex = setUpAttributes(native, attrs);\n        if (tView.firstTemplatePass) {\n            /** @type {?} */\n            const stylingNeedsToBeRendered = registerInitialStylingOnTNode(tNode, attrs, lastAttrIndex);\n            // this is only called during the first template pass in the\n            // event that this current directive assigned initial style/class\n            // host attribute values to the element. Because initial styling\n            // values are applied before directives are first rendered (within\n            // `createElement`) this means that initial styling for any directives\n            // still needs to be applied. Note that this will only happen during\n            // the first template pass and not each time a directive applies its\n            // attribute values to the element.\n            if (stylingNeedsToBeRendered) {\n                /** @type {?} */\n                const renderer = lView[RENDERER];\n                renderInitialStyling(renderer, native, tNode);\n            }\n        }\n    }\n}\n/**\n * @param {?} context\n * @param {?} lView\n * @param {?} stylingInputs\n * @return {?}\n */\nfunction setDirectiveStylingInput(context, lView, stylingInputs) {\n    // older versions of Angular treat the input as `null` in the\n    // event that the value does not exist at all. For this reason\n    // we can't have a styling value be an empty string.\n    /** @type {?} */\n    const value = getInitialStylingValue(context) || null;\n    // Ivy does an extra `[class]` write with a falsy value since the value\n    // is applied during creation mode. This is a deviation from VE and should\n    // be (Jira Issue = FW-1467).\n    setInputsForProperty(lView, stylingInputs, value);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Creates a logical container for other nodes (<ng-container>) backed by a comment node in the DOM.\n * The instruction must later be followed by `elementContainerEnd()` call.\n *\n * \\@codeGenApi\n * @param {?} index Index of the element in the LView array\n * @param {?=} attrs Set of attributes to be used when matching directives.\n * @param {?=} localRefs A set of local reference bindings on the element.\n *\n * Even if this instruction accepts a set of attributes no actual attribute values are propagated to\n * the DOM (as a comment node can't have attributes). Attributes are here only for directive\n * matching purposes and setting initial inputs of directives.\n *\n * @return {?}\n */\nfunction ɵɵelementContainerStart(index, attrs, localRefs) {\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const tView = lView[TVIEW];\n    /** @type {?} */\n    const renderer = lView[RENDERER];\n    /** @type {?} */\n    const tagName = 'ng-container';\n    ngDevMode && assertEqual(lView[BINDING_INDEX], tView.bindingStartIndex, 'element containers should be created before any bindings');\n    ngDevMode && ngDevMode.rendererCreateComment++;\n    ngDevMode && assertDataInRange(lView, index + HEADER_OFFSET);\n    /** @type {?} */\n    const native = lView[index + HEADER_OFFSET] = renderer.createComment(ngDevMode ? tagName : '');\n    ngDevMode && assertDataInRange(lView, index - 1);\n    /** @type {?} */\n    const tNode = getOrCreateTNode(tView, lView[T_HOST], index, 4 /* ElementContainer */, tagName, attrs || null);\n    if (attrs && tView.firstTemplatePass) {\n        // While ng-container doesn't necessarily support styling, we use the style context to identify\n        // and execute directives on the ng-container.\n        registerInitialStylingOnTNode(tNode, (/** @type {?} */ (attrs)), 0);\n    }\n    appendChild(native, tNode, lView);\n    if (tView.firstTemplatePass) {\n        ngDevMode && ngDevMode.firstTemplatePass++;\n        resolveDirectives(tView, lView, tNode, localRefs || null);\n        if (tView.queries) {\n            tView.queries.elementStart(tView, tNode);\n        }\n    }\n    createDirectivesAndLocals(tView, lView, tNode);\n    attachPatchData(native, lView);\n    executeContentQueries(tView, tNode, lView);\n}\n/**\n * Mark the end of the <ng-container>.\n *\n * \\@codeGenApi\n * @return {?}\n */\nfunction ɵɵelementContainerEnd() {\n    /** @type {?} */\n    let previousOrParentTNode = getPreviousOrParentTNode();\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const tView = lView[TVIEW];\n    if (getIsParent()) {\n        setIsNotParent();\n    }\n    else {\n        ngDevMode && assertHasParent(previousOrParentTNode);\n        previousOrParentTNode = (/** @type {?} */ (previousOrParentTNode.parent));\n        setPreviousOrParentTNode(previousOrParentTNode, false);\n    }\n    ngDevMode && assertNodeType(previousOrParentTNode, 4 /* ElementContainer */);\n    registerPostOrderHooks(tView, previousOrParentTNode);\n    if (tView.firstTemplatePass && tView.queries !== null &&\n        isContentQueryHost(previousOrParentTNode)) {\n        tView.queries.elementEnd(previousOrParentTNode);\n    }\n}\n/**\n * Creates an empty logical container using {\\@link elementContainerStart}\n * and {\\@link elementContainerEnd}\n *\n * \\@codeGenApi\n * @param {?} index Index of the element in the LView array\n * @param {?=} attrs Set of attributes to be used when matching directives.\n * @param {?=} localRefs A set of local reference bindings on the element.\n *\n * @return {?}\n */\nfunction ɵɵelementContainer(index, attrs, localRefs) {\n    ɵɵelementContainerStart(index, attrs, localRefs);\n    ɵɵelementContainerEnd();\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Marks the start of an embedded view.\n *\n * \\@codeGenApi\n * @param {?} viewBlockId The ID of this view\n * @param {?} consts\n * @param {?} vars\n * @return {?} boolean Whether or not this view is in creation mode\n *\n */\nfunction ɵɵembeddedViewStart(viewBlockId, consts, vars) {\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const previousOrParentTNode = getPreviousOrParentTNode();\n    // The previous node can be a view node if we are processing an inline for loop\n    /** @type {?} */\n    const containerTNode = previousOrParentTNode.type === 2 /* View */ ?\n        (/** @type {?} */ (previousOrParentTNode.parent)) :\n        previousOrParentTNode;\n    /** @type {?} */\n    const lContainer = (/** @type {?} */ (lView[containerTNode.index]));\n    ngDevMode && assertNodeType(containerTNode, 0 /* Container */);\n    /** @type {?} */\n    let viewToRender = scanForView(lContainer, (/** @type {?} */ (lContainer[ACTIVE_INDEX])), viewBlockId);\n    if (viewToRender) {\n        setIsParent();\n        enterView(viewToRender, viewToRender[TVIEW].node);\n    }\n    else {\n        // When we create a new LView, we always reset the state of the instructions.\n        viewToRender = createLView(lView, getOrCreateEmbeddedTView(viewBlockId, consts, vars, (/** @type {?} */ (containerTNode))), null, 16 /* CheckAlways */, null, null);\n        /** @type {?} */\n        const tParentNode = getIsParent() ? previousOrParentTNode :\n            previousOrParentTNode && previousOrParentTNode.parent;\n        assignTViewNodeToLView(viewToRender[TVIEW], tParentNode, viewBlockId, viewToRender);\n        enterView(viewToRender, viewToRender[TVIEW].node);\n    }\n    if (lContainer) {\n        if (isCreationMode(viewToRender)) {\n            // it is a new view, insert it into collection of views for a given container\n            insertView(viewToRender, lContainer, (/** @type {?} */ (lContainer[ACTIVE_INDEX])));\n        }\n        (/** @type {?} */ (lContainer[ACTIVE_INDEX]))++;\n    }\n    return isCreationMode(viewToRender) ? 1 /* Create */ | 2 /* Update */ :\n        2 /* Update */;\n}\n/**\n * Initialize the TView (e.g. static data) for the active embedded view.\n *\n * Each embedded view block must create or retrieve its own TView. Otherwise, the embedded view's\n * static data for a particular node would overwrite the static data for a node in the view above\n * it with the same index (since it's in the same template).\n *\n * @param {?} viewIndex The index of the TView in TNode.tViews\n * @param {?} consts The number of nodes, local refs, and pipes in this template\n * @param {?} vars The number of bindings and pure function bindings in this template\n * @param {?} parent\n * @return {?} TView\n */\nfunction getOrCreateEmbeddedTView(viewIndex, consts, vars, parent) {\n    /** @type {?} */\n    const tView = getLView()[TVIEW];\n    ngDevMode && assertNodeType(parent, 0 /* Container */);\n    /** @type {?} */\n    const containerTViews = (/** @type {?} */ (parent.tViews));\n    ngDevMode && assertDefined(containerTViews, 'TView expected');\n    ngDevMode && assertEqual(Array.isArray(containerTViews), true, 'TViews should be in an array');\n    if (viewIndex >= containerTViews.length || containerTViews[viewIndex] == null) {\n        containerTViews[viewIndex] = createTView(viewIndex, null, consts, vars, tView.directiveRegistry, tView.pipeRegistry, null, null);\n    }\n    return containerTViews[viewIndex];\n}\n/**\n * Looks for a view with a given view block id inside a provided LContainer.\n * Removes views that need to be deleted in the process.\n *\n * @param {?} lContainer to search for views\n * @param {?} startIdx starting index in the views array to search from\n * @param {?} viewBlockId exact view block id to look for\n * @return {?}\n */\nfunction scanForView(lContainer, startIdx, viewBlockId) {\n    for (let i = startIdx + CONTAINER_HEADER_OFFSET; i < lContainer.length; i++) {\n        /** @type {?} */\n        const viewAtPositionId = lContainer[i][TVIEW].id;\n        if (viewAtPositionId === viewBlockId) {\n            return lContainer[i];\n        }\n        else if (viewAtPositionId < viewBlockId) {\n            // found a view that should not be at this position - remove\n            removeView(lContainer, i - CONTAINER_HEADER_OFFSET);\n        }\n        else {\n            // found a view with id greater than the one we are searching for\n            // which means that required view doesn't exist and can't be found at\n            // later positions in the views array - stop the searchdef.cont here\n            break;\n        }\n    }\n    return null;\n}\n/**\n * Marks the end of an embedded view.\n *\n * \\@codeGenApi\n * @return {?}\n */\nfunction ɵɵembeddedViewEnd() {\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const viewHost = lView[T_HOST];\n    if (isCreationMode(lView)) {\n        refreshDescendantViews(lView); // creation mode pass\n        lView[FLAGS] &= ~4 /* CreationMode */;\n    }\n    resetPreOrderHookFlags(lView);\n    refreshDescendantViews(lView); // update mode pass\n    // update mode pass\n    /** @type {?} */\n    const lContainer = (/** @type {?} */ (lView[PARENT]));\n    ngDevMode && assertLContainerOrUndefined(lContainer);\n    // It's always safe to run hooks here, as `leaveView` is not called during the 'finally' block\n    // of a try-catch-finally statement, so it can never be reached while unwinding the stack due to\n    // an error being thrown.\n    leaveView((/** @type {?} */ (lContainer[PARENT])), /* safeToRunHooks */ true);\n    setPreviousOrParentTNode((/** @type {?} */ (viewHost)), false);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Returns the current OpaqueViewState instance.\n *\n * Used in conjunction with the restoreView() instruction to save a snapshot\n * of the current view and restore it when listeners are invoked. This allows\n * walking the declaration view tree in listeners to get vars from parent views.\n *\n * \\@codeGenApi\n * @return {?}\n */\nfunction ɵɵgetCurrentView() {\n    return (/** @type {?} */ ((/** @type {?} */ (getLView()))));\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Determine if the argument is shaped like a Promise\n */\nfunction isPromise(obj) {\n    // allow any Promise/A+ compliant thenable.\n    // It's up to the caller to ensure that obj.then conforms to the spec\n    return !!obj && typeof obj.then === 'function';\n}\n/**\n * Determine if the argument is an Observable\n */\nfunction isObservable(obj) {\n    // TODO: use isObservable once we update pass rxjs 6.1\n    // https://github.com/ReactiveX/rxjs/blob/master/CHANGELOG.md#610-2018-05-03\n    return !!obj && typeof obj.subscribe === 'function';\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Adds an event listener to the current node.\n *\n * If an output exists on one of the node's directives, it also subscribes to the output\n * and saves the subscription for later cleanup.\n *\n * \\@codeGenApi\n * @param {?} eventName Name of the event\n * @param {?} listenerFn The function to be called when event emits\n * @param {?=} useCapture Whether or not to use capture in event listener\n * @param {?=} eventTargetResolver Function that returns global target information in case this listener\n * should be attached to a global object like window, document or body\n *\n * @return {?}\n */\nfunction ɵɵlistener(eventName, listenerFn, useCapture = false, eventTargetResolver) {\n    listenerInternal(eventName, listenerFn, useCapture, eventTargetResolver);\n}\n/**\n * Registers a synthetic host listener (e.g. `(\\@foo.start)`) on a component.\n *\n * This instruction is for compatibility purposes and is designed to ensure that a\n * synthetic host listener (e.g. `\\@HostListener('\\@foo.start')`) properly gets rendered\n * in the component's renderer. Normally all host listeners are evaluated with the\n * parent component's renderer, but, in the case of animation \\@triggers, they need\n * to be evaluated with the sub component's renderer (because that's where the\n * animation triggers are defined).\n *\n * Do not use this instruction as a replacement for `listener`. This instruction\n * only exists to ensure compatibility with the ViewEngine's host binding behavior.\n *\n * \\@codeGenApi\n * @param {?} eventName Name of the event\n * @param {?} listenerFn The function to be called when event emits\n * @param {?=} useCapture Whether or not to use capture in event listener\n * @param {?=} eventTargetResolver Function that returns global target information in case this listener\n * should be attached to a global object like window, document or body\n *\n * @return {?}\n */\nfunction ɵɵcomponentHostSyntheticListener(eventName, listenerFn, useCapture = false, eventTargetResolver) {\n    listenerInternal(eventName, listenerFn, useCapture, eventTargetResolver, loadComponentRenderer);\n}\n/**\n * A utility function that checks if a given element has already an event handler registered for an\n * event with a specified name. The TView.cleanup data structure is used to find out which events\n * are registered for a given element.\n * @param {?} lView\n * @param {?} eventName\n * @param {?} tNodeIdx\n * @return {?}\n */\nfunction findExistingListener(lView, eventName, tNodeIdx) {\n    /** @type {?} */\n    const tView = lView[TVIEW];\n    /** @type {?} */\n    const tCleanup = tView.cleanup;\n    if (tCleanup != null) {\n        for (let i = 0; i < tCleanup.length - 1; i += 2) {\n            /** @type {?} */\n            const cleanupEventName = tCleanup[i];\n            if (cleanupEventName === eventName && tCleanup[i + 1] === tNodeIdx) {\n                // We have found a matching event name on the same node but it might not have been\n                // registered yet, so we must explicitly verify entries in the LView cleanup data\n                // structures.\n                /** @type {?} */\n                const lCleanup = (/** @type {?} */ (lView[CLEANUP]));\n                /** @type {?} */\n                const listenerIdxInLCleanup = tCleanup[i + 2];\n                return lCleanup.length > listenerIdxInLCleanup ? lCleanup[listenerIdxInLCleanup] : null;\n            }\n            // TView.cleanup can have a mix of 4-elements entries (for event handler cleanups) or\n            // 2-element entries (for directive and queries destroy hooks). As such we can encounter\n            // blocks of 4 or 2 items in the tView.cleanup and this is why we iterate over 2 elements\n            // first and jump another 2 elements if we detect listeners cleanup (4 elements). Also check\n            // documentation of TView.cleanup for more details of this data structure layout.\n            if (typeof cleanupEventName === 'string') {\n                i += 2;\n            }\n        }\n    }\n    return null;\n}\n/**\n * @param {?} eventName\n * @param {?} listenerFn\n * @param {?=} useCapture\n * @param {?=} eventTargetResolver\n * @param {?=} loadRendererFn\n * @return {?}\n */\nfunction listenerInternal(eventName, listenerFn, useCapture = false, eventTargetResolver, loadRendererFn) {\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const tNode = getPreviousOrParentTNode();\n    /** @type {?} */\n    const tView = lView[TVIEW];\n    /** @type {?} */\n    const firstTemplatePass = tView.firstTemplatePass;\n    /** @type {?} */\n    const tCleanup = firstTemplatePass && (tView.cleanup || (tView.cleanup = []));\n    ngDevMode && assertNodeOfPossibleTypes(tNode, 3 /* Element */, 0 /* Container */, 4 /* ElementContainer */);\n    /** @type {?} */\n    let processOutputs = true;\n    // add native event listener - applicable to elements only\n    if (tNode.type === 3 /* Element */) {\n        /** @type {?} */\n        const native = (/** @type {?} */ (getNativeByTNode(tNode, lView)));\n        /** @type {?} */\n        const resolved = eventTargetResolver ? eventTargetResolver(native) : (/** @type {?} */ (EMPTY_OBJ));\n        /** @type {?} */\n        const target = resolved.target || native;\n        /** @type {?} */\n        const renderer = loadRendererFn ? loadRendererFn(tNode, lView) : lView[RENDERER];\n        /** @type {?} */\n        const lCleanup = getCleanup(lView);\n        /** @type {?} */\n        const lCleanupIndex = lCleanup.length;\n        /** @type {?} */\n        const idxOrTargetGetter = eventTargetResolver ?\n            (/**\n             * @param {?} _lView\n             * @return {?}\n             */\n            (_lView) => eventTargetResolver(unwrapRNode(_lView[tNode.index])).target) :\n            tNode.index;\n        // In order to match current behavior, native DOM event listeners must be added for all\n        // events (including outputs).\n        if (isProceduralRenderer(renderer)) {\n            // There might be cases where multiple directives on the same element try to register an event\n            // handler function for the same event. In this situation we want to avoid registration of\n            // several native listeners as each registration would be intercepted by NgZone and\n            // trigger change detection. This would mean that a single user action would result in several\n            // change detections being invoked. To avoid this situation we want to have only one call to\n            // native handler registration (for the same element and same type of event).\n            //\n            // In order to have just one native event handler in presence of multiple handler functions,\n            // we just register a first handler function as a native event listener and then chain\n            // (coalesce) other handler functions on top of the first native handler function.\n            /** @type {?} */\n            let existingListener = null;\n            // Please note that the coalescing described here doesn't happen for events specifying an\n            // alternative target (ex. (document:click)) - this is to keep backward compatibility with the\n            // view engine.\n            // Also, we don't have to search for existing listeners is there are no directives\n            // matching on a given node as we can't register multiple event handlers for the same event in\n            // a template (this would mean having duplicate attributes).\n            if (!eventTargetResolver && hasDirectives(tNode)) {\n                existingListener = findExistingListener(lView, eventName, tNode.index);\n            }\n            if (existingListener !== null) {\n                // Attach a new listener at the head of the coalesced listeners list.\n                ((/** @type {?} */ (listenerFn))).__ngNextListenerFn__ = ((/** @type {?} */ (existingListener))).__ngNextListenerFn__;\n                ((/** @type {?} */ (existingListener))).__ngNextListenerFn__ = listenerFn;\n                processOutputs = false;\n            }\n            else {\n                // The first argument of `listen` function in Procedural Renderer is:\n                // - either a target name (as a string) in case of global target (window, document, body)\n                // - or element reference (in all other cases)\n                listenerFn = wrapListener(tNode, lView, listenerFn, false /** preventDefault */);\n                /** @type {?} */\n                const cleanupFn = renderer.listen(resolved.name || target, eventName, listenerFn);\n                ngDevMode && ngDevMode.rendererAddEventListener++;\n                lCleanup.push(listenerFn, cleanupFn);\n                tCleanup && tCleanup.push(eventName, idxOrTargetGetter, lCleanupIndex, lCleanupIndex + 1);\n            }\n        }\n        else {\n            listenerFn = wrapListener(tNode, lView, listenerFn, true /** preventDefault */);\n            target.addEventListener(eventName, listenerFn, useCapture);\n            ngDevMode && ngDevMode.rendererAddEventListener++;\n            lCleanup.push(listenerFn);\n            tCleanup && tCleanup.push(eventName, idxOrTargetGetter, lCleanupIndex, useCapture);\n        }\n    }\n    // subscribe to directive outputs\n    if (tNode.outputs === undefined) {\n        // if we create TNode here, inputs must be undefined so we know they still need to be\n        // checked\n        tNode.outputs = generatePropertyAliases(tNode, 1 /* Output */);\n    }\n    /** @type {?} */\n    const outputs = tNode.outputs;\n    /** @type {?} */\n    let props;\n    if (processOutputs && outputs && (props = outputs[eventName])) {\n        /** @type {?} */\n        const propsLength = props.length;\n        if (propsLength) {\n            /** @type {?} */\n            const lCleanup = getCleanup(lView);\n            for (let i = 0; i < propsLength; i += 3) {\n                /** @type {?} */\n                const index = (/** @type {?} */ (props[i]));\n                ngDevMode && assertDataInRange(lView, index);\n                /** @type {?} */\n                const minifiedName = props[i + 2];\n                /** @type {?} */\n                const directiveInstance = lView[index];\n                /** @type {?} */\n                const output = directiveInstance[minifiedName];\n                if (ngDevMode && !isObservable(output)) {\n                    throw new Error(`@Output ${minifiedName} not initialized in '${directiveInstance.constructor.name}'.`);\n                }\n                /** @type {?} */\n                const subscription = output.subscribe(listenerFn);\n                /** @type {?} */\n                const idx = lCleanup.length;\n                lCleanup.push(listenerFn, subscription);\n                tCleanup && tCleanup.push(eventName, tNode.index, idx, -(idx + 1));\n            }\n        }\n    }\n}\n/**\n * @param {?} lView\n * @param {?} listenerFn\n * @param {?} e\n * @return {?}\n */\nfunction executeListenerWithErrorHandling(lView, listenerFn, e) {\n    try {\n        // Only explicitly returning false from a listener should preventDefault\n        return listenerFn(e) !== false;\n    }\n    catch (error) {\n        handleError(lView, error);\n        return false;\n    }\n}\n/**\n * Wraps an event listener with a function that marks ancestors dirty and prevents default behavior,\n * if applicable.\n *\n * @param {?} tNode The TNode associated with this listener\n * @param {?} lView The LView that contains this listener\n * @param {?} listenerFn The listener function to call\n * @param {?} wrapWithPreventDefault Whether or not to prevent default behavior\n * (the procedural renderer does this already, so in those cases, we should skip)\n * @return {?}\n */\nfunction wrapListener(tNode, lView, listenerFn, wrapWithPreventDefault) {\n    // Note: we are performing most of the work in the listener function itself\n    // to optimize listener registration.\n    return (/**\n     * @param {?} e\n     * @return {?}\n     */\n    function wrapListenerIn_markDirtyAndPreventDefault(e) {\n        // In order to be backwards compatible with View Engine, events on component host nodes\n        // must also mark the component view itself dirty (i.e. the view that it owns).\n        /** @type {?} */\n        const startView = tNode.flags & 1 /* isComponent */ ? getComponentViewByIndex(tNode.index, lView) : lView;\n        // See interfaces/view.ts for more on LViewFlags.ManualOnPush\n        if ((lView[FLAGS] & 32 /* ManualOnPush */) === 0) {\n            markViewDirty(startView);\n        }\n        /** @type {?} */\n        let result = executeListenerWithErrorHandling(lView, listenerFn, e);\n        // A just-invoked listener function might have coalesced listeners so we need to check for\n        // their presence and invoke as needed.\n        /** @type {?} */\n        let nextListenerFn = ((/** @type {?} */ (wrapListenerIn_markDirtyAndPreventDefault))).__ngNextListenerFn__;\n        while (nextListenerFn) {\n            // We should prevent default if any of the listeners explicitly return false\n            result = executeListenerWithErrorHandling(lView, nextListenerFn, e) && result;\n            nextListenerFn = ((/** @type {?} */ (nextListenerFn))).__ngNextListenerFn__;\n        }\n        if (wrapWithPreventDefault && result === false) {\n            e.preventDefault();\n            // Necessary for legacy browsers that don't support preventDefault (e.g. IE)\n            e.returnValue = false;\n        }\n        return result;\n    });\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Retrieves a context at the level specified and saves it as the global, contextViewData.\n * Will get the next level up if level is not specified.\n *\n * This is used to save contexts of parent views so they can be bound in embedded views, or\n * in conjunction with reference() to bind a ref from a parent view.\n *\n * \\@codeGenApi\n * @template T\n * @param {?=} level The relative level of the view from which to grab context compared to contextVewData\n * @return {?} context\n *\n */\nfunction ɵɵnextContext(level = 1) {\n    return nextContextImpl(level);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Checks a given node against matching projection slots and returns the\n * determined slot index. Returns \"null\" if no slot matched the given node.\n *\n * This function takes into account the parsed ngProjectAs selector from the\n * node's attributes. If present, it will check whether the ngProjectAs selector\n * matches any of the projection slot selectors.\n * @param {?} tNode\n * @param {?} projectionSlots\n * @return {?}\n */\nfunction matchingProjectionSlotIndex(tNode, projectionSlots) {\n    /** @type {?} */\n    let wildcardNgContentIndex = null;\n    /** @type {?} */\n    const ngProjectAsAttrVal = getProjectAsAttrValue(tNode);\n    for (let i = 0; i < projectionSlots.length; i++) {\n        /** @type {?} */\n        const slotValue = projectionSlots[i];\n        // The last wildcard projection slot should match all nodes which aren't matching\n        // any selector. This is necessary to be backwards compatible with view engine.\n        if (slotValue === '*') {\n            wildcardNgContentIndex = i;\n            continue;\n        }\n        // If we ran into an `ngProjectAs` attribute, we should match its parsed selector\n        // to the list of selectors, otherwise we fall back to matching against the node.\n        if (ngProjectAsAttrVal === null ?\n            isNodeMatchingSelectorList(tNode, slotValue, /* isProjectionMode */ true) :\n            isSelectorInSelectorList(ngProjectAsAttrVal, slotValue)) {\n            return i; // first matching selector \"captures\" a given node\n        }\n    }\n    return wildcardNgContentIndex;\n}\n/**\n * Instruction to distribute projectable nodes among <ng-content> occurrences in a given template.\n * It takes all the selectors from the entire component's template and decides where\n * each projected node belongs (it re-distributes nodes among \"buckets\" where each \"bucket\" is\n * backed by a selector).\n *\n * This function requires CSS selectors to be provided in 2 forms: parsed (by a compiler) and text,\n * un-parsed form.\n *\n * The parsed form is needed for efficient matching of a node against a given CSS selector.\n * The un-parsed, textual form is needed for support of the ngProjectAs attribute.\n *\n * Having a CSS selector in 2 different formats is not ideal, but alternatives have even more\n * drawbacks:\n * - having only a textual form would require runtime parsing of CSS selectors;\n * - we can't have only a parsed as we can't re-construct textual form from it (as entered by a\n * template author).\n *\n * \\@codeGenApi\n * @param {?=} projectionSlots\n * @return {?}\n */\nfunction ɵɵprojectionDef(projectionSlots) {\n    /** @type {?} */\n    const componentNode = (/** @type {?} */ (findComponentView(getLView())[T_HOST]));\n    if (!componentNode.projection) {\n        // If no explicit projection slots are defined, fall back to a single\n        // projection slot with the wildcard selector.\n        /** @type {?} */\n        const numProjectionSlots = projectionSlots ? projectionSlots.length : 1;\n        /** @type {?} */\n        const projectionHeads = componentNode.projection =\n            new Array(numProjectionSlots).fill(null);\n        /** @type {?} */\n        const tails = projectionHeads.slice();\n        /** @type {?} */\n        let componentChild = componentNode.child;\n        while (componentChild !== null) {\n            /** @type {?} */\n            const slotIndex = projectionSlots ? matchingProjectionSlotIndex(componentChild, projectionSlots) : 0;\n            if (slotIndex !== null) {\n                if (tails[slotIndex]) {\n                    (/** @type {?} */ (tails[slotIndex])).projectionNext = componentChild;\n                }\n                else {\n                    projectionHeads[slotIndex] = componentChild;\n                }\n                tails[slotIndex] = componentChild;\n            }\n            componentChild = componentChild.next;\n        }\n    }\n}\n/** @type {?} */\nlet delayProjection = false;\n/**\n * @param {?} value\n * @return {?}\n */\nfunction setDelayProjection(value) {\n    delayProjection = value;\n}\n/**\n * Inserts previously re-distributed projected nodes. This instruction must be preceded by a call\n * to the projectionDef instruction.\n *\n * \\@codeGenApi\n * @param {?} nodeIndex\n * @param {?=} selectorIndex\n * @param {?=} attrs\n * @return {?}\n */\nfunction ɵɵprojection(nodeIndex, selectorIndex = 0, attrs) {\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const tProjectionNode = getOrCreateTNode(lView[TVIEW], lView[T_HOST], nodeIndex, 1 /* Projection */, null, attrs || null);\n    // We can't use viewData[HOST_NODE] because projection nodes can be nested in embedded views.\n    if (tProjectionNode.projection === null)\n        tProjectionNode.projection = selectorIndex;\n    // `<ng-content>` has no content\n    setIsNotParent();\n    // We might need to delay the projection of nodes if they are in the middle of an i18n block\n    if (!delayProjection) {\n        // re-distribution of projectable nodes is stored on a component's view level\n        appendProjectedNodes(lView, tProjectionNode, selectorIndex, findComponentView(lView));\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n *\n * Update an interpolated property on an element with a lone bound value\n *\n * Used when the value passed to a property has 1 interpolated value in it, an no additional text\n * surrounds that interpolated value:\n *\n * ```html\n * <div title=\"{{v0}}\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵpropertyInterpolate('title', v0);\n * ```\n *\n * If the property name also exists as an input property on one of the element's directives,\n * the component property will be set instead of the element property. This check must\n * be conducted at runtime so child components that add new `\\@Inputs` don't have to be re-compiled.\n *\n * \\@codeGenApi\n * @param {?} propName The name of the property to update\n * @param {?} v0 Value checked for change.\n * @param {?=} sanitizer An optional sanitizer function\n * @return {?} itself, so that it may be chained.\n */\nfunction ɵɵpropertyInterpolate(propName, v0, sanitizer) {\n    ɵɵpropertyInterpolate1(propName, '', v0, '', sanitizer);\n    return ɵɵpropertyInterpolate;\n}\n/**\n *\n * Update an interpolated property on an element with single bound value surrounded by text.\n *\n * Used when the value passed to a property has 1 interpolated value in it:\n *\n * ```html\n * <div title=\"prefix{{v0}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵpropertyInterpolate1('title', 'prefix', v0, 'suffix');\n * ```\n *\n * If the property name also exists as an input property on one of the element's directives,\n * the component property will be set instead of the element property. This check must\n * be conducted at runtime so child components that add new `\\@Inputs` don't have to be re-compiled.\n *\n * \\@codeGenApi\n * @param {?} propName The name of the property to update\n * @param {?} prefix Static value used for concatenation only.\n * @param {?} v0 Value checked for change.\n * @param {?} suffix Static value used for concatenation only.\n * @param {?=} sanitizer An optional sanitizer function\n * @return {?} itself, so that it may be chained.\n */\nfunction ɵɵpropertyInterpolate1(propName, prefix, v0, suffix, sanitizer) {\n    /** @type {?} */\n    const index = getSelectedIndex();\n    /** @type {?} */\n    const interpolatedValue = interpolation1(getLView(), prefix, v0, suffix);\n    if (interpolatedValue !== NO_CHANGE) {\n        elementPropertyInternal(index, propName, interpolatedValue, sanitizer);\n    }\n    return ɵɵpropertyInterpolate1;\n}\n/**\n *\n * Update an interpolated property on an element with 2 bound values surrounded by text.\n *\n * Used when the value passed to a property has 2 interpolated values in it:\n *\n * ```html\n * <div title=\"prefix{{v0}}-{{v1}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵpropertyInterpolate2('title', 'prefix', v0, '-', v1, 'suffix');\n * ```\n *\n * If the property name also exists as an input property on one of the element's directives,\n * the component property will be set instead of the element property. This check must\n * be conducted at runtime so child components that add new `\\@Inputs` don't have to be re-compiled.\n *\n * \\@codeGenApi\n * @param {?} propName The name of the property to update\n * @param {?} prefix Static value used for concatenation only.\n * @param {?} v0 Value checked for change.\n * @param {?} i0 Static value used for concatenation only.\n * @param {?} v1 Value checked for change.\n * @param {?} suffix Static value used for concatenation only.\n * @param {?=} sanitizer An optional sanitizer function\n * @return {?} itself, so that it may be chained.\n */\nfunction ɵɵpropertyInterpolate2(propName, prefix, v0, i0, v1, suffix, sanitizer) {\n    /** @type {?} */\n    const index = getSelectedIndex();\n    /** @type {?} */\n    const interpolatedValue = interpolation2(getLView(), prefix, v0, i0, v1, suffix);\n    if (interpolatedValue !== NO_CHANGE) {\n        elementPropertyInternal(index, propName, interpolatedValue, sanitizer);\n    }\n    return ɵɵpropertyInterpolate2;\n}\n/**\n *\n * Update an interpolated property on an element with 3 bound values surrounded by text.\n *\n * Used when the value passed to a property has 3 interpolated values in it:\n *\n * ```html\n * <div title=\"prefix{{v0}}-{{v1}}-{{v2}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵpropertyInterpolate3(\n * 'title', 'prefix', v0, '-', v1, '-', v2, 'suffix');\n * ```\n *\n * If the property name also exists as an input property on one of the element's directives,\n * the component property will be set instead of the element property. This check must\n * be conducted at runtime so child components that add new `\\@Inputs` don't have to be re-compiled.\n *\n * \\@codeGenApi\n * @param {?} propName The name of the property to update\n * @param {?} prefix Static value used for concatenation only.\n * @param {?} v0 Value checked for change.\n * @param {?} i0 Static value used for concatenation only.\n * @param {?} v1 Value checked for change.\n * @param {?} i1 Static value used for concatenation only.\n * @param {?} v2 Value checked for change.\n * @param {?} suffix Static value used for concatenation only.\n * @param {?=} sanitizer An optional sanitizer function\n * @return {?} itself, so that it may be chained.\n */\nfunction ɵɵpropertyInterpolate3(propName, prefix, v0, i0, v1, i1, v2, suffix, sanitizer) {\n    /** @type {?} */\n    const index = getSelectedIndex();\n    /** @type {?} */\n    const interpolatedValue = interpolation3(getLView(), prefix, v0, i0, v1, i1, v2, suffix);\n    if (interpolatedValue !== NO_CHANGE) {\n        elementPropertyInternal(index, propName, interpolatedValue, sanitizer);\n    }\n    return ɵɵpropertyInterpolate3;\n}\n/**\n *\n * Update an interpolated property on an element with 4 bound values surrounded by text.\n *\n * Used when the value passed to a property has 4 interpolated values in it:\n *\n * ```html\n * <div title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵpropertyInterpolate4(\n * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, 'suffix');\n * ```\n *\n * If the property name also exists as an input property on one of the element's directives,\n * the component property will be set instead of the element property. This check must\n * be conducted at runtime so child components that add new `\\@Inputs` don't have to be re-compiled.\n *\n * \\@codeGenApi\n * @param {?} propName The name of the property to update\n * @param {?} prefix Static value used for concatenation only.\n * @param {?} v0 Value checked for change.\n * @param {?} i0 Static value used for concatenation only.\n * @param {?} v1 Value checked for change.\n * @param {?} i1 Static value used for concatenation only.\n * @param {?} v2 Value checked for change.\n * @param {?} i2 Static value used for concatenation only.\n * @param {?} v3 Value checked for change.\n * @param {?} suffix Static value used for concatenation only.\n * @param {?=} sanitizer An optional sanitizer function\n * @return {?} itself, so that it may be chained.\n */\nfunction ɵɵpropertyInterpolate4(propName, prefix, v0, i0, v1, i1, v2, i2, v3, suffix, sanitizer) {\n    /** @type {?} */\n    const index = getSelectedIndex();\n    /** @type {?} */\n    const interpolatedValue = interpolation4(getLView(), prefix, v0, i0, v1, i1, v2, i2, v3, suffix);\n    if (interpolatedValue !== NO_CHANGE) {\n        elementPropertyInternal(index, propName, interpolatedValue, sanitizer);\n    }\n    return ɵɵpropertyInterpolate4;\n}\n/**\n *\n * Update an interpolated property on an element with 5 bound values surrounded by text.\n *\n * Used when the value passed to a property has 5 interpolated values in it:\n *\n * ```html\n * <div title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵpropertyInterpolate5(\n * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, 'suffix');\n * ```\n *\n * If the property name also exists as an input property on one of the element's directives,\n * the component property will be set instead of the element property. This check must\n * be conducted at runtime so child components that add new `\\@Inputs` don't have to be re-compiled.\n *\n * \\@codeGenApi\n * @param {?} propName The name of the property to update\n * @param {?} prefix Static value used for concatenation only.\n * @param {?} v0 Value checked for change.\n * @param {?} i0 Static value used for concatenation only.\n * @param {?} v1 Value checked for change.\n * @param {?} i1 Static value used for concatenation only.\n * @param {?} v2 Value checked for change.\n * @param {?} i2 Static value used for concatenation only.\n * @param {?} v3 Value checked for change.\n * @param {?} i3 Static value used for concatenation only.\n * @param {?} v4 Value checked for change.\n * @param {?} suffix Static value used for concatenation only.\n * @param {?=} sanitizer An optional sanitizer function\n * @return {?} itself, so that it may be chained.\n */\nfunction ɵɵpropertyInterpolate5(propName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix, sanitizer) {\n    /** @type {?} */\n    const index = getSelectedIndex();\n    /** @type {?} */\n    const interpolatedValue = interpolation5(getLView(), prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix);\n    if (interpolatedValue !== NO_CHANGE) {\n        elementPropertyInternal(index, propName, interpolatedValue, sanitizer);\n    }\n    return ɵɵpropertyInterpolate5;\n}\n/**\n *\n * Update an interpolated property on an element with 6 bound values surrounded by text.\n *\n * Used when the value passed to a property has 6 interpolated values in it:\n *\n * ```html\n * <div title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵpropertyInterpolate6(\n *    'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, 'suffix');\n * ```\n *\n * If the property name also exists as an input property on one of the element's directives,\n * the component property will be set instead of the element property. This check must\n * be conducted at runtime so child components that add new `\\@Inputs` don't have to be re-compiled.\n *\n * \\@codeGenApi\n * @param {?} propName The name of the property to update\n * @param {?} prefix Static value used for concatenation only.\n * @param {?} v0 Value checked for change.\n * @param {?} i0 Static value used for concatenation only.\n * @param {?} v1 Value checked for change.\n * @param {?} i1 Static value used for concatenation only.\n * @param {?} v2 Value checked for change.\n * @param {?} i2 Static value used for concatenation only.\n * @param {?} v3 Value checked for change.\n * @param {?} i3 Static value used for concatenation only.\n * @param {?} v4 Value checked for change.\n * @param {?} i4 Static value used for concatenation only.\n * @param {?} v5 Value checked for change.\n * @param {?} suffix Static value used for concatenation only.\n * @param {?=} sanitizer An optional sanitizer function\n * @return {?} itself, so that it may be chained.\n */\nfunction ɵɵpropertyInterpolate6(propName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix, sanitizer) {\n    /** @type {?} */\n    const index = getSelectedIndex();\n    /** @type {?} */\n    const interpolatedValue = interpolation6(getLView(), prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix);\n    if (interpolatedValue !== NO_CHANGE) {\n        elementPropertyInternal(index, propName, interpolatedValue, sanitizer);\n    }\n    return ɵɵpropertyInterpolate6;\n}\n/**\n *\n * Update an interpolated property on an element with 7 bound values surrounded by text.\n *\n * Used when the value passed to a property has 7 interpolated values in it:\n *\n * ```html\n * <div title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵpropertyInterpolate7(\n *    'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, 'suffix');\n * ```\n *\n * If the property name also exists as an input property on one of the element's directives,\n * the component property will be set instead of the element property. This check must\n * be conducted at runtime so child components that add new `\\@Inputs` don't have to be re-compiled.\n *\n * \\@codeGenApi\n * @param {?} propName The name of the property to update\n * @param {?} prefix Static value used for concatenation only.\n * @param {?} v0 Value checked for change.\n * @param {?} i0 Static value used for concatenation only.\n * @param {?} v1 Value checked for change.\n * @param {?} i1 Static value used for concatenation only.\n * @param {?} v2 Value checked for change.\n * @param {?} i2 Static value used for concatenation only.\n * @param {?} v3 Value checked for change.\n * @param {?} i3 Static value used for concatenation only.\n * @param {?} v4 Value checked for change.\n * @param {?} i4 Static value used for concatenation only.\n * @param {?} v5 Value checked for change.\n * @param {?} i5 Static value used for concatenation only.\n * @param {?} v6 Value checked for change.\n * @param {?} suffix Static value used for concatenation only.\n * @param {?=} sanitizer An optional sanitizer function\n * @return {?} itself, so that it may be chained.\n */\nfunction ɵɵpropertyInterpolate7(propName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix, sanitizer) {\n    /** @type {?} */\n    const index = getSelectedIndex();\n    /** @type {?} */\n    const interpolatedValue = interpolation7(getLView(), prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix);\n    if (interpolatedValue !== NO_CHANGE) {\n        elementPropertyInternal(index, propName, interpolatedValue, sanitizer);\n    }\n    return ɵɵpropertyInterpolate7;\n}\n/**\n *\n * Update an interpolated property on an element with 8 bound values surrounded by text.\n *\n * Used when the value passed to a property has 8 interpolated values in it:\n *\n * ```html\n * <div title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵpropertyInterpolate8(\n *  'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, 'suffix');\n * ```\n *\n * If the property name also exists as an input property on one of the element's directives,\n * the component property will be set instead of the element property. This check must\n * be conducted at runtime so child components that add new `\\@Inputs` don't have to be re-compiled.\n *\n * \\@codeGenApi\n * @param {?} propName The name of the property to update\n * @param {?} prefix Static value used for concatenation only.\n * @param {?} v0 Value checked for change.\n * @param {?} i0 Static value used for concatenation only.\n * @param {?} v1 Value checked for change.\n * @param {?} i1 Static value used for concatenation only.\n * @param {?} v2 Value checked for change.\n * @param {?} i2 Static value used for concatenation only.\n * @param {?} v3 Value checked for change.\n * @param {?} i3 Static value used for concatenation only.\n * @param {?} v4 Value checked for change.\n * @param {?} i4 Static value used for concatenation only.\n * @param {?} v5 Value checked for change.\n * @param {?} i5 Static value used for concatenation only.\n * @param {?} v6 Value checked for change.\n * @param {?} i6 Static value used for concatenation only.\n * @param {?} v7 Value checked for change.\n * @param {?} suffix Static value used for concatenation only.\n * @param {?=} sanitizer An optional sanitizer function\n * @return {?} itself, so that it may be chained.\n */\nfunction ɵɵpropertyInterpolate8(propName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix, sanitizer) {\n    /** @type {?} */\n    const index = getSelectedIndex();\n    /** @type {?} */\n    const interpolatedValue = interpolation8(getLView(), prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix);\n    if (interpolatedValue !== NO_CHANGE) {\n        elementPropertyInternal(index, propName, interpolatedValue, sanitizer);\n    }\n    return ɵɵpropertyInterpolate8;\n}\n/**\n * Update an interpolated property on an element with 8 or more bound values surrounded by text.\n *\n * Used when the number of interpolated values exceeds 7.\n *\n * ```html\n * <div\n *  title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}-{{v8}}-{{v9}}suffix\"></div>\n * ```\n *\n * Its compiled representation is::\n *\n * ```ts\n * ɵɵpropertyInterpolateV(\n *  'title', ['prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, '-', v9,\n *  'suffix']);\n * ```\n *\n * If the property name also exists as an input property on one of the element's directives,\n * the component property will be set instead of the element property. This check must\n * be conducted at runtime so child components that add new `\\@Inputs` don't have to be re-compiled.\n *\n * \\@codeGenApi\n * @param {?} propName The name of the property to update.\n * @param {?} values The a collection of values and the strings inbetween those values, beginning with a\n * string prefix and ending with a string suffix.\n * (e.g. `['prefix', value0, '-', value1, '-', value2, ..., value99, 'suffix']`)\n * @param {?=} sanitizer An optional sanitizer function\n * @return {?} itself, so that it may be chained.\n */\nfunction ɵɵpropertyInterpolateV(propName, values, sanitizer) {\n    /** @type {?} */\n    const index = getSelectedIndex();\n    /** @type {?} */\n    const interpolatedValue = interpolationV(getLView(), values);\n    if (interpolatedValue !== NO_CHANGE) {\n        elementPropertyInternal(index, propName, interpolatedValue, sanitizer);\n    }\n    return ɵɵpropertyInterpolateV;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Create static text node\n *\n * \\@codeGenApi\n * @param {?} index Index of the node in the data array\n * @param {?=} value Value to write. This value will be stringified.\n *\n * @return {?}\n */\nfunction ɵɵtext(index, value) {\n    /** @type {?} */\n    const lView = getLView();\n    ngDevMode && assertEqual(lView[BINDING_INDEX], lView[TVIEW].bindingStartIndex, 'text nodes should be created before any bindings');\n    ngDevMode && ngDevMode.rendererCreateTextNode++;\n    ngDevMode && assertDataInRange(lView, index + HEADER_OFFSET);\n    /** @type {?} */\n    const textNative = lView[index + HEADER_OFFSET] = createTextNode(value, lView[RENDERER]);\n    ngDevMode && ngDevMode.rendererSetText++;\n    /** @type {?} */\n    const tNode = getOrCreateTNode(lView[TVIEW], lView[T_HOST], index, 3 /* Element */, null, null);\n    // Text nodes are self closing.\n    setIsNotParent();\n    appendChild(textNative, tNode, lView);\n}\n/**\n * Create text node with binding\n * Bindings should be handled externally with the proper interpolation(1-8) method\n *\n * \\@codeGenApi\n * @template T\n * @param {?} value Stringified value to write.\n *\n * @return {?}\n */\nfunction ɵɵtextBinding(value) {\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const index = getSelectedIndex();\n    /** @type {?} */\n    const bound = bind(lView, value);\n    if (bound !== NO_CHANGE) {\n        textBindingInternal(lView, index, renderStringify(bound));\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n *\n * Update text content with a lone bound value\n *\n * Used when a text node has 1 interpolated value in it, an no additional text\n * surrounds that interpolated value:\n *\n * ```html\n * <div>{{v0}}</div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵtextInterpolate(v0);\n * ```\n * @see textInterpolateV\n * \\@codeGenApi\n * @param {?} v0\n * @return {?} itself, so that it may be chained.\n */\nfunction ɵɵtextInterpolate(v0) {\n    ɵɵtextInterpolate1('', v0, '');\n    return ɵɵtextInterpolate;\n}\n/**\n *\n * Update text content with single bound value surrounded by other text.\n *\n * Used when a text node has 1 interpolated value in it:\n *\n * ```html\n * <div>prefix{{v0}}suffix</div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵtextInterpolate1('prefix', v0, 'suffix');\n * ```\n * @see textInterpolateV\n * \\@codeGenApi\n * @param {?} prefix\n * @param {?} v0\n * @param {?} suffix\n * @return {?} itself, so that it may be chained.\n */\nfunction ɵɵtextInterpolate1(prefix, v0, suffix) {\n    /** @type {?} */\n    const index = getSelectedIndex();\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const interpolated = interpolation1(lView, prefix, v0, suffix);\n    if (interpolated !== NO_CHANGE) {\n        textBindingInternal(lView, index, (/** @type {?} */ (interpolated)));\n    }\n    return ɵɵtextInterpolate1;\n}\n/**\n *\n * Update text content with 2 bound values surrounded by other text.\n *\n * Used when a text node has 2 interpolated values in it:\n *\n * ```html\n * <div>prefix{{v0}}-{{v1}}suffix</div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵtextInterpolate2('prefix', v0, '-', v1, 'suffix');\n * ```\n * @see textInterpolateV\n * \\@codeGenApi\n * @param {?} prefix\n * @param {?} v0\n * @param {?} i0\n * @param {?} v1\n * @param {?} suffix\n * @return {?} itself, so that it may be chained.\n */\nfunction ɵɵtextInterpolate2(prefix, v0, i0, v1, suffix) {\n    /** @type {?} */\n    const index = getSelectedIndex();\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const interpolated = interpolation2(lView, prefix, v0, i0, v1, suffix);\n    if (interpolated !== NO_CHANGE) {\n        textBindingInternal(lView, index, (/** @type {?} */ (interpolated)));\n    }\n    return ɵɵtextInterpolate2;\n}\n/**\n *\n * Update text content with 3 bound values surrounded by other text.\n *\n * Used when a text node has 3 interpolated values in it:\n *\n * ```html\n * <div>prefix{{v0}}-{{v1}}-{{v2}}suffix</div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵtextInterpolate3(\n * 'prefix', v0, '-', v1, '-', v2, 'suffix');\n * ```\n * @see textInterpolateV\n * \\@codeGenApi\n * @param {?} prefix\n * @param {?} v0\n * @param {?} i0\n * @param {?} v1\n * @param {?} i1\n * @param {?} v2\n * @param {?} suffix\n * @return {?} itself, so that it may be chained.\n */\nfunction ɵɵtextInterpolate3(prefix, v0, i0, v1, i1, v2, suffix) {\n    /** @type {?} */\n    const index = getSelectedIndex();\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const interpolated = interpolation3(lView, prefix, v0, i0, v1, i1, v2, suffix);\n    if (interpolated !== NO_CHANGE) {\n        textBindingInternal(lView, index, (/** @type {?} */ (interpolated)));\n    }\n    return ɵɵtextInterpolate3;\n}\n/**\n *\n * Update text content with 4 bound values surrounded by other text.\n *\n * Used when a text node has 4 interpolated values in it:\n *\n * ```html\n * <div>prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}suffix</div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵtextInterpolate4(\n * 'prefix', v0, '-', v1, '-', v2, '-', v3, 'suffix');\n * ```\n * @see ɵɵtextInterpolateV\n * \\@codeGenApi\n * @param {?} prefix\n * @param {?} v0\n * @param {?} i0\n * @param {?} v1\n * @param {?} i1\n * @param {?} v2\n * @param {?} i2\n * @param {?} v3\n * @param {?} suffix\n * @return {?} itself, so that it may be chained.\n */\nfunction ɵɵtextInterpolate4(prefix, v0, i0, v1, i1, v2, i2, v3, suffix) {\n    /** @type {?} */\n    const index = getSelectedIndex();\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const interpolated = interpolation4(lView, prefix, v0, i0, v1, i1, v2, i2, v3, suffix);\n    if (interpolated !== NO_CHANGE) {\n        textBindingInternal(lView, index, (/** @type {?} */ (interpolated)));\n    }\n    return ɵɵtextInterpolate4;\n}\n/**\n *\n * Update text content with 5 bound values surrounded by other text.\n *\n * Used when a text node has 5 interpolated values in it:\n *\n * ```html\n * <div>prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}suffix</div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵtextInterpolate5(\n * 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, 'suffix');\n * ```\n * @see textInterpolateV\n * \\@codeGenApi\n * @param {?} prefix\n * @param {?} v0\n * @param {?} i0\n * @param {?} v1\n * @param {?} i1\n * @param {?} v2\n * @param {?} i2\n * @param {?} v3\n * @param {?} i3\n * @param {?} v4\n * @param {?} suffix\n * @return {?} itself, so that it may be chained.\n */\nfunction ɵɵtextInterpolate5(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix) {\n    /** @type {?} */\n    const index = getSelectedIndex();\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const interpolated = interpolation5(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix);\n    if (interpolated !== NO_CHANGE) {\n        textBindingInternal(lView, index, (/** @type {?} */ (interpolated)));\n    }\n    return ɵɵtextInterpolate5;\n}\n/**\n *\n * Update text content with 6 bound values surrounded by other text.\n *\n * Used when a text node has 6 interpolated values in it:\n *\n * ```html\n * <div>prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}suffix</div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵtextInterpolate6(\n *    'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, 'suffix');\n * ```\n *\n * @see textInterpolateV\n * \\@codeGenApi\n * @param {?} prefix\n * @param {?} v0\n * @param {?} i0\n * @param {?} v1\n * @param {?} i1\n * @param {?} v2\n * @param {?} i2\n * @param {?} v3\n * @param {?} i3\n * @param {?} v4\n * @param {?} i4 Static value used for concatenation only.\n * @param {?} v5 Value checked for change. \\@returns itself, so that it may be chained.\n * @param {?} suffix\n * @return {?}\n */\nfunction ɵɵtextInterpolate6(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix) {\n    /** @type {?} */\n    const index = getSelectedIndex();\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const interpolated = interpolation6(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix);\n    if (interpolated !== NO_CHANGE) {\n        textBindingInternal(lView, index, (/** @type {?} */ (interpolated)));\n    }\n    return ɵɵtextInterpolate6;\n}\n/**\n *\n * Update text content with 7 bound values surrounded by other text.\n *\n * Used when a text node has 7 interpolated values in it:\n *\n * ```html\n * <div>prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}suffix</div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵtextInterpolate7(\n *    'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, 'suffix');\n * ```\n * @see textInterpolateV\n * \\@codeGenApi\n * @param {?} prefix\n * @param {?} v0\n * @param {?} i0\n * @param {?} v1\n * @param {?} i1\n * @param {?} v2\n * @param {?} i2\n * @param {?} v3\n * @param {?} i3\n * @param {?} v4\n * @param {?} i4\n * @param {?} v5\n * @param {?} i5\n * @param {?} v6\n * @param {?} suffix\n * @return {?} itself, so that it may be chained.\n */\nfunction ɵɵtextInterpolate7(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix) {\n    /** @type {?} */\n    const index = getSelectedIndex();\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const interpolated = interpolation7(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix);\n    if (interpolated !== NO_CHANGE) {\n        textBindingInternal(lView, index, (/** @type {?} */ (interpolated)));\n    }\n    return ɵɵtextInterpolate7;\n}\n/**\n *\n * Update text content with 8 bound values surrounded by other text.\n *\n * Used when a text node has 8 interpolated values in it:\n *\n * ```html\n * <div>prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}suffix</div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵtextInterpolate8(\n *  'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, 'suffix');\n * ```\n * @see textInterpolateV\n * \\@codeGenApi\n * @param {?} prefix\n * @param {?} v0\n * @param {?} i0\n * @param {?} v1\n * @param {?} i1\n * @param {?} v2\n * @param {?} i2\n * @param {?} v3\n * @param {?} i3\n * @param {?} v4\n * @param {?} i4\n * @param {?} v5\n * @param {?} i5\n * @param {?} v6\n * @param {?} i6\n * @param {?} v7\n * @param {?} suffix\n * @return {?} itself, so that it may be chained.\n */\nfunction ɵɵtextInterpolate8(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix) {\n    /** @type {?} */\n    const index = getSelectedIndex();\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const interpolated = interpolation8(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix);\n    if (interpolated !== NO_CHANGE) {\n        textBindingInternal(lView, index, (/** @type {?} */ (interpolated)));\n    }\n    return ɵɵtextInterpolate8;\n}\n/**\n * Update text content with 9 or more bound values other surrounded by text.\n *\n * Used when the number of interpolated values exceeds 8.\n *\n * ```html\n * <div>prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}-{{v8}}-{{v9}}suffix</div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵtextInterpolateV(\n *  ['prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, '-', v9,\n *  'suffix']);\n * ```\n * .\n * \\@codeGenApi\n * @param {?} values The a collection of values and the strings in between those values, beginning with\n * a string prefix and ending with a string suffix.\n * (e.g. `['prefix', value0, '-', value1, '-', value2, ..., value99, 'suffix']`)\n *\n * @return {?} itself, so that it may be chained.\n */\nfunction ɵɵtextInterpolateV(values) {\n    /** @type {?} */\n    const index = getSelectedIndex();\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const interpolated = interpolationV(lView, values);\n    if (interpolated !== NO_CHANGE) {\n        textBindingInternal(lView, index, (/** @type {?} */ (interpolated)));\n    }\n    return ɵɵtextInterpolateV;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n *\n * Update an interpolated class on an element with single bound value surrounded by text.\n *\n * Used when the value passed to a property has 1 interpolated value in it:\n *\n * ```html\n * <div class=\"prefix{{v0}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵclassMapInterpolate1('prefix', v0, 'suffix');\n * ```\n *\n * \\@codeGenApi\n * @param {?} prefix Static value used for concatenation only.\n * @param {?} v0 Value checked for change.\n * @param {?} suffix Static value used for concatenation only.\n * @return {?}\n */\nfunction ɵɵclassMapInterpolate1(prefix, v0, suffix) {\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const interpolatedValue = interpolation1(lView, prefix, v0, suffix);\n    classMapInternal(getSelectedIndex(), interpolatedValue);\n}\n/**\n *\n * Update an interpolated class on an element with 2 bound values surrounded by text.\n *\n * Used when the value passed to a property has 2 interpolated values in it:\n *\n * ```html\n * <div class=\"prefix{{v0}}-{{v1}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵclassMapInterpolate2('prefix', v0, '-', v1, 'suffix');\n * ```\n *\n * \\@codeGenApi\n * @param {?} prefix Static value used for concatenation only.\n * @param {?} v0 Value checked for change.\n * @param {?} i0 Static value used for concatenation only.\n * @param {?} v1 Value checked for change.\n * @param {?} suffix Static value used for concatenation only.\n * @return {?}\n */\nfunction ɵɵclassMapInterpolate2(prefix, v0, i0, v1, suffix) {\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const interpolatedValue = interpolation2(lView, prefix, v0, i0, v1, suffix);\n    classMapInternal(getSelectedIndex(), interpolatedValue);\n}\n/**\n *\n * Update an interpolated class on an element with 3 bound values surrounded by text.\n *\n * Used when the value passed to a property has 3 interpolated values in it:\n *\n * ```html\n * <div class=\"prefix{{v0}}-{{v1}}-{{v2}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵclassMapInterpolate3(\n * 'prefix', v0, '-', v1, '-', v2, 'suffix');\n * ```\n *\n * \\@codeGenApi\n * @param {?} prefix Static value used for concatenation only.\n * @param {?} v0 Value checked for change.\n * @param {?} i0 Static value used for concatenation only.\n * @param {?} v1 Value checked for change.\n * @param {?} i1 Static value used for concatenation only.\n * @param {?} v2 Value checked for change.\n * @param {?} suffix Static value used for concatenation only.\n * @return {?}\n */\nfunction ɵɵclassMapInterpolate3(prefix, v0, i0, v1, i1, v2, suffix) {\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const interpolatedValue = interpolation3(lView, prefix, v0, i0, v1, i1, v2, suffix);\n    classMapInternal(getSelectedIndex(), interpolatedValue);\n}\n/**\n *\n * Update an interpolated class on an element with 4 bound values surrounded by text.\n *\n * Used when the value passed to a property has 4 interpolated values in it:\n *\n * ```html\n * <div class=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵclassMapInterpolate4(\n * 'prefix', v0, '-', v1, '-', v2, '-', v3, 'suffix');\n * ```\n *\n * \\@codeGenApi\n * @param {?} prefix Static value used for concatenation only.\n * @param {?} v0 Value checked for change.\n * @param {?} i0 Static value used for concatenation only.\n * @param {?} v1 Value checked for change.\n * @param {?} i1 Static value used for concatenation only.\n * @param {?} v2 Value checked for change.\n * @param {?} i2 Static value used for concatenation only.\n * @param {?} v3 Value checked for change.\n * @param {?} suffix Static value used for concatenation only.\n * @return {?}\n */\nfunction ɵɵclassMapInterpolate4(prefix, v0, i0, v1, i1, v2, i2, v3, suffix) {\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const interpolatedValue = interpolation4(lView, prefix, v0, i0, v1, i1, v2, i2, v3, suffix);\n    classMapInternal(getSelectedIndex(), interpolatedValue);\n}\n/**\n *\n * Update an interpolated class on an element with 5 bound values surrounded by text.\n *\n * Used when the value passed to a property has 5 interpolated values in it:\n *\n * ```html\n * <div class=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵclassMapInterpolate5(\n * 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, 'suffix');\n * ```\n *\n * \\@codeGenApi\n * @param {?} prefix Static value used for concatenation only.\n * @param {?} v0 Value checked for change.\n * @param {?} i0 Static value used for concatenation only.\n * @param {?} v1 Value checked for change.\n * @param {?} i1 Static value used for concatenation only.\n * @param {?} v2 Value checked for change.\n * @param {?} i2 Static value used for concatenation only.\n * @param {?} v3 Value checked for change.\n * @param {?} i3 Static value used for concatenation only.\n * @param {?} v4 Value checked for change.\n * @param {?} suffix Static value used for concatenation only.\n * @return {?}\n */\nfunction ɵɵclassMapInterpolate5(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix) {\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const interpolatedValue = interpolation5(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix);\n    classMapInternal(getSelectedIndex(), interpolatedValue);\n}\n/**\n *\n * Update an interpolated class on an element with 6 bound values surrounded by text.\n *\n * Used when the value passed to a property has 6 interpolated values in it:\n *\n * ```html\n * <div class=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵclassMapInterpolate6(\n *    'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, 'suffix');\n * ```\n *\n * \\@codeGenApi\n * @param {?} prefix Static value used for concatenation only.\n * @param {?} v0 Value checked for change.\n * @param {?} i0 Static value used for concatenation only.\n * @param {?} v1 Value checked for change.\n * @param {?} i1 Static value used for concatenation only.\n * @param {?} v2 Value checked for change.\n * @param {?} i2 Static value used for concatenation only.\n * @param {?} v3 Value checked for change.\n * @param {?} i3 Static value used for concatenation only.\n * @param {?} v4 Value checked for change.\n * @param {?} i4 Static value used for concatenation only.\n * @param {?} v5 Value checked for change.\n * @param {?} suffix Static value used for concatenation only.\n * @return {?}\n */\nfunction ɵɵclassMapInterpolate6(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix) {\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const interpolatedValue = interpolation6(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix);\n    classMapInternal(getSelectedIndex(), interpolatedValue);\n}\n/**\n *\n * Update an interpolated class on an element with 7 bound values surrounded by text.\n *\n * Used when the value passed to a property has 7 interpolated values in it:\n *\n * ```html\n * <div class=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵclassMapInterpolate7(\n *    'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, 'suffix');\n * ```\n *\n * \\@codeGenApi\n * @param {?} prefix Static value used for concatenation only.\n * @param {?} v0 Value checked for change.\n * @param {?} i0 Static value used for concatenation only.\n * @param {?} v1 Value checked for change.\n * @param {?} i1 Static value used for concatenation only.\n * @param {?} v2 Value checked for change.\n * @param {?} i2 Static value used for concatenation only.\n * @param {?} v3 Value checked for change.\n * @param {?} i3 Static value used for concatenation only.\n * @param {?} v4 Value checked for change.\n * @param {?} i4 Static value used for concatenation only.\n * @param {?} v5 Value checked for change.\n * @param {?} i5 Static value used for concatenation only.\n * @param {?} v6 Value checked for change.\n * @param {?} suffix Static value used for concatenation only.\n * @return {?}\n */\nfunction ɵɵclassMapInterpolate7(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix) {\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const interpolatedValue = interpolation7(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix);\n    classMapInternal(getSelectedIndex(), interpolatedValue);\n}\n/**\n *\n * Update an interpolated class on an element with 8 bound values surrounded by text.\n *\n * Used when the value passed to a property has 8 interpolated values in it:\n *\n * ```html\n * <div class=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵclassMapInterpolate8(\n *  'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, 'suffix');\n * ```\n *\n * \\@codeGenApi\n * @param {?} prefix Static value used for concatenation only.\n * @param {?} v0 Value checked for change.\n * @param {?} i0 Static value used for concatenation only.\n * @param {?} v1 Value checked for change.\n * @param {?} i1 Static value used for concatenation only.\n * @param {?} v2 Value checked for change.\n * @param {?} i2 Static value used for concatenation only.\n * @param {?} v3 Value checked for change.\n * @param {?} i3 Static value used for concatenation only.\n * @param {?} v4 Value checked for change.\n * @param {?} i4 Static value used for concatenation only.\n * @param {?} v5 Value checked for change.\n * @param {?} i5 Static value used for concatenation only.\n * @param {?} v6 Value checked for change.\n * @param {?} i6 Static value used for concatenation only.\n * @param {?} v7 Value checked for change.\n * @param {?} suffix Static value used for concatenation only.\n * @return {?}\n */\nfunction ɵɵclassMapInterpolate8(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix) {\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const interpolatedValue = interpolation8(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix);\n    classMapInternal(getSelectedIndex(), interpolatedValue);\n}\n/**\n * Update an interpolated class on an element with 8 or more bound values surrounded by text.\n *\n * Used when the number of interpolated values exceeds 7.\n *\n * ```html\n * <div\n *  class=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}-{{v8}}-{{v9}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵclassMapInterpolateV(\n *  ['prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, '-', v9,\n *  'suffix']);\n * ```\n * .\n * \\@codeGenApi\n * @param {?} values The a collection of values and the strings in-between those values, beginning with\n * a string prefix and ending with a string suffix.\n * (e.g. `['prefix', value0, '-', value1, '-', value2, ..., value99, 'suffix']`)\n * @return {?}\n */\nfunction ɵɵclassMapInterpolateV(values) {\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const interpolatedValue = interpolationV(lView, values);\n    classMapInternal(getSelectedIndex(), interpolatedValue);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n *\n * Update an interpolated style property on an element with single bound value surrounded by text.\n *\n * Used when the value passed to a property has 1 interpolated value in it:\n *\n * ```html\n * <div style.color=\"prefix{{v0}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstylePropInterpolate1(0, 'prefix', v0, 'suffix');\n * ```\n *\n * \\@codeGenApi\n * @param {?} prop\n * @param {?} prefix Static value used for concatenation only.\n * @param {?} v0 Value checked for change.\n * @param {?} suffix Static value used for concatenation only.\n * @param {?=} valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.\n * @return {?} itself, so that it may be chained.\n */\nfunction ɵɵstylePropInterpolate1(prop, prefix, v0, suffix, valueSuffix) {\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const interpolatedValue = interpolation1(lView, prefix, v0, suffix);\n    stylePropInternal(getSelectedIndex(), prop, (/** @type {?} */ (interpolatedValue)), valueSuffix);\n    return ɵɵstylePropInterpolate1;\n}\n/**\n *\n * Update an interpolated style property on an element with 2 bound values surrounded by text.\n *\n * Used when the value passed to a property has 2 interpolated values in it:\n *\n * ```html\n * <div style.color=\"prefix{{v0}}-{{v1}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstylePropInterpolate2(0, 'prefix', v0, '-', v1, 'suffix');\n * ```\n *\n * \\@codeGenApi\n * @param {?} prop\n * @param {?} prefix Static value used for concatenation only.\n * @param {?} v0 Value checked for change.\n * @param {?} i0 Static value used for concatenation only.\n * @param {?} v1 Value checked for change.\n * @param {?} suffix Static value used for concatenation only.\n * @param {?=} valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.\n * @return {?} itself, so that it may be chained.\n */\nfunction ɵɵstylePropInterpolate2(prop, prefix, v0, i0, v1, suffix, valueSuffix) {\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const interpolatedValue = interpolation2(lView, prefix, v0, i0, v1, suffix);\n    stylePropInternal(getSelectedIndex(), prop, (/** @type {?} */ (interpolatedValue)), valueSuffix);\n    return ɵɵstylePropInterpolate2;\n}\n/**\n *\n * Update an interpolated style property on an element with 3 bound values surrounded by text.\n *\n * Used when the value passed to a property has 3 interpolated values in it:\n *\n * ```html\n * <div style.color=\"prefix{{v0}}-{{v1}}-{{v2}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstylePropInterpolate3(0, 'prefix', v0, '-', v1, '-', v2, 'suffix');\n * ```\n *\n * \\@codeGenApi\n * @param {?} prop\n * @param {?} prefix Static value used for concatenation only.\n * @param {?} v0 Value checked for change.\n * @param {?} i0 Static value used for concatenation only.\n * @param {?} v1 Value checked for change.\n * @param {?} i1 Static value used for concatenation only.\n * @param {?} v2 Value checked for change.\n * @param {?} suffix Static value used for concatenation only.\n * @param {?=} valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.\n * @return {?} itself, so that it may be chained.\n */\nfunction ɵɵstylePropInterpolate3(prop, prefix, v0, i0, v1, i1, v2, suffix, valueSuffix) {\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const interpolatedValue = interpolation3(lView, prefix, v0, i0, v1, i1, v2, suffix);\n    stylePropInternal(getSelectedIndex(), prop, (/** @type {?} */ (interpolatedValue)), valueSuffix);\n    return ɵɵstylePropInterpolate3;\n}\n/**\n *\n * Update an interpolated style property on an element with 4 bound values surrounded by text.\n *\n * Used when the value passed to a property has 4 interpolated values in it:\n *\n * ```html\n * <div style.color=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstylePropInterpolate4(0, 'prefix', v0, '-', v1, '-', v2, '-', v3, 'suffix');\n * ```\n *\n * \\@codeGenApi\n * @param {?} prop\n * @param {?} prefix Static value used for concatenation only.\n * @param {?} v0 Value checked for change.\n * @param {?} i0 Static value used for concatenation only.\n * @param {?} v1 Value checked for change.\n * @param {?} i1 Static value used for concatenation only.\n * @param {?} v2 Value checked for change.\n * @param {?} i2 Static value used for concatenation only.\n * @param {?} v3 Value checked for change.\n * @param {?} suffix Static value used for concatenation only.\n * @param {?=} valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.\n * @return {?} itself, so that it may be chained.\n */\nfunction ɵɵstylePropInterpolate4(prop, prefix, v0, i0, v1, i1, v2, i2, v3, suffix, valueSuffix) {\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const interpolatedValue = interpolation4(lView, prefix, v0, i0, v1, i1, v2, i2, v3, suffix);\n    stylePropInternal(getSelectedIndex(), prop, (/** @type {?} */ (interpolatedValue)), valueSuffix);\n    return ɵɵstylePropInterpolate4;\n}\n/**\n *\n * Update an interpolated style property on an element with 5 bound values surrounded by text.\n *\n * Used when the value passed to a property has 5 interpolated values in it:\n *\n * ```html\n * <div style.color=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstylePropInterpolate5(0, 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, 'suffix');\n * ```\n *\n * \\@codeGenApi\n * @param {?} prop\n * @param {?} prefix Static value used for concatenation only.\n * @param {?} v0 Value checked for change.\n * @param {?} i0 Static value used for concatenation only.\n * @param {?} v1 Value checked for change.\n * @param {?} i1 Static value used for concatenation only.\n * @param {?} v2 Value checked for change.\n * @param {?} i2 Static value used for concatenation only.\n * @param {?} v3 Value checked for change.\n * @param {?} i3 Static value used for concatenation only.\n * @param {?} v4 Value checked for change.\n * @param {?} suffix Static value used for concatenation only.\n * @param {?=} valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.\n * @return {?} itself, so that it may be chained.\n */\nfunction ɵɵstylePropInterpolate5(prop, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix, valueSuffix) {\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const interpolatedValue = interpolation5(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix);\n    stylePropInternal(getSelectedIndex(), prop, (/** @type {?} */ (interpolatedValue)), valueSuffix);\n    return ɵɵstylePropInterpolate5;\n}\n/**\n *\n * Update an interpolated style property on an element with 6 bound values surrounded by text.\n *\n * Used when the value passed to a property has 6 interpolated values in it:\n *\n * ```html\n * <div style.color=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstylePropInterpolate6(0, 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, 'suffix');\n * ```\n *\n * \\@codeGenApi\n * @param {?} prop\n * @param {?} prefix Static value used for concatenation only.\n * @param {?} v0 Value checked for change.\n * @param {?} i0 Static value used for concatenation only.\n * @param {?} v1 Value checked for change.\n * @param {?} i1 Static value used for concatenation only.\n * @param {?} v2 Value checked for change.\n * @param {?} i2 Static value used for concatenation only.\n * @param {?} v3 Value checked for change.\n * @param {?} i3 Static value used for concatenation only.\n * @param {?} v4 Value checked for change.\n * @param {?} i4 Static value used for concatenation only.\n * @param {?} v5 Value checked for change.\n * @param {?} suffix Static value used for concatenation only.\n * @param {?=} valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.\n * @return {?} itself, so that it may be chained.\n */\nfunction ɵɵstylePropInterpolate6(prop, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix, valueSuffix) {\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const interpolatedValue = interpolation6(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix);\n    stylePropInternal(getSelectedIndex(), prop, (/** @type {?} */ (interpolatedValue)), valueSuffix);\n    return ɵɵstylePropInterpolate6;\n}\n/**\n *\n * Update an interpolated style property on an element with 7 bound values surrounded by text.\n *\n * Used when the value passed to a property has 7 interpolated values in it:\n *\n * ```html\n * <div style.color=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstylePropInterpolate7(\n *    0, 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, 'suffix');\n * ```\n *\n * \\@codeGenApi\n * @param {?} prop\n * @param {?} prefix Static value used for concatenation only.\n * @param {?} v0 Value checked for change.\n * @param {?} i0 Static value used for concatenation only.\n * @param {?} v1 Value checked for change.\n * @param {?} i1 Static value used for concatenation only.\n * @param {?} v2 Value checked for change.\n * @param {?} i2 Static value used for concatenation only.\n * @param {?} v3 Value checked for change.\n * @param {?} i3 Static value used for concatenation only.\n * @param {?} v4 Value checked for change.\n * @param {?} i4 Static value used for concatenation only.\n * @param {?} v5 Value checked for change.\n * @param {?} i5 Static value used for concatenation only.\n * @param {?} v6 Value checked for change.\n * @param {?} suffix Static value used for concatenation only.\n * @param {?=} valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.\n * @return {?} itself, so that it may be chained.\n */\nfunction ɵɵstylePropInterpolate7(prop, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix, valueSuffix) {\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const interpolatedValue = interpolation7(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix);\n    stylePropInternal(getSelectedIndex(), prop, (/** @type {?} */ (interpolatedValue)), valueSuffix);\n    return ɵɵstylePropInterpolate7;\n}\n/**\n *\n * Update an interpolated style property on an element with 8 bound values surrounded by text.\n *\n * Used when the value passed to a property has 8 interpolated values in it:\n *\n * ```html\n * <div style.color=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}suffix\"></div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstylePropInterpolate8(0, 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6,\n * '-', v7, 'suffix');\n * ```\n *\n * \\@codeGenApi\n * @param {?} prop\n * @param {?} prefix Static value used for concatenation only.\n * @param {?} v0 Value checked for change.\n * @param {?} i0 Static value used for concatenation only.\n * @param {?} v1 Value checked for change.\n * @param {?} i1 Static value used for concatenation only.\n * @param {?} v2 Value checked for change.\n * @param {?} i2 Static value used for concatenation only.\n * @param {?} v3 Value checked for change.\n * @param {?} i3 Static value used for concatenation only.\n * @param {?} v4 Value checked for change.\n * @param {?} i4 Static value used for concatenation only.\n * @param {?} v5 Value checked for change.\n * @param {?} i5 Static value used for concatenation only.\n * @param {?} v6 Value checked for change.\n * @param {?} i6 Static value used for concatenation only.\n * @param {?} v7 Value checked for change.\n * @param {?} suffix Static value used for concatenation only.\n * @param {?=} valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.\n * @return {?} itself, so that it may be chained.\n */\nfunction ɵɵstylePropInterpolate8(prop, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix, valueSuffix) {\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const interpolatedValue = interpolation8(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix);\n    stylePropInternal(getSelectedIndex(), prop, (/** @type {?} */ (interpolatedValue)), valueSuffix);\n    return ɵɵstylePropInterpolate8;\n}\n/**\n * Update an interpolated style property on an element with 8 or more bound values surrounded by\n * text.\n *\n * Used when the number of interpolated values exceeds 7.\n *\n * ```html\n * <div\n *  style.color=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}-{{v8}}-{{v9}}suffix\">\n * </div>\n * ```\n *\n * Its compiled representation is:\n *\n * ```ts\n * ɵɵstylePropInterpolateV(\n *  0, ['prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, '-', v9,\n *  'suffix']);\n * ```\n *\n * \\@codeGenApi\n * @param {?} prop\n * @param {?} values The a collection of values and the strings in-between those values, beginning with\n * a string prefix and ending with a string suffix.\n * (e.g. `['prefix', value0, '-', value1, '-', value2, ..., value99, 'suffix']`)\n * @param {?=} valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.\n * @return {?} itself, so that it may be chained.\n */\nfunction ɵɵstylePropInterpolateV(prop, values, valueSuffix) {\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const interpolatedValue = interpolationV(lView, values);\n    stylePropInternal(getSelectedIndex(), prop, (/** @type {?} */ (interpolatedValue)), valueSuffix);\n    return ɵɵstylePropInterpolateV;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Update a property on a host element. Only applies to native node properties, not inputs.\n *\n * Operates on the element selected by index via the {\\@link select} instruction.\n *\n * \\@codeGenApi\n * @template T\n * @param {?} propName Name of property. Because it is going to DOM, this is not subject to\n *        renaming as part of minification.\n * @param {?} value New value to write.\n * @param {?=} sanitizer An optional function used to sanitize the value.\n * @return {?} This function returns itself so that it may be chained\n * (e.g. `property('name', ctx.name)('title', ctx.title)`)\n *\n */\nfunction ɵɵhostProperty(propName, value, sanitizer) {\n    /** @type {?} */\n    const index = getSelectedIndex();\n    ngDevMode && assertNotEqual(index, -1, 'selected index cannot be -1');\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const bindReconciledValue = bind(lView, value);\n    if (bindReconciledValue !== NO_CHANGE) {\n        elementPropertyInternal(index, propName, bindReconciledValue, sanitizer, true);\n    }\n    return ɵɵhostProperty;\n}\n/**\n * Updates a synthetic host binding (e.g. `[\\@foo]`) on a component.\n *\n * This instruction is for compatibility purposes and is designed to ensure that a\n * synthetic host binding (e.g. `\\@HostBinding('\\@foo')`) properly gets rendered in\n * the component's renderer. Normally all host bindings are evaluated with the parent\n * component's renderer, but, in the case of animation \\@triggers, they need to be\n * evaluated with the sub component's renderer (because that's where the animation\n * triggers are defined).\n *\n * Do not use this instruction as a replacement for `elementProperty`. This instruction\n * only exists to ensure compatibility with the ViewEngine's host binding behavior.\n *\n * \\@codeGenApi\n * @template T\n * @param {?} propName Name of property. Because it is going to DOM, this is not subject to\n *        renaming as part of minification.\n * @param {?} value New value to write.\n * @param {?=} sanitizer An optional function used to sanitize the value.\n *\n * @return {?}\n */\nfunction ɵɵupdateSyntheticHostBinding(propName, value, sanitizer) {\n    /** @type {?} */\n    const index = getSelectedIndex();\n    /** @type {?} */\n    const lView = getLView();\n    // TODO(benlesh): remove bind call here.\n    /** @type {?} */\n    const bound = bind(lView, value);\n    if (bound !== NO_CHANGE) {\n        elementPropertyInternal(index, propName, bound, sanitizer, true, loadComponentRenderer);\n    }\n    return ɵɵupdateSyntheticHostBinding;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Returns the component instance associated with a given DOM host element.\n * Elements which don't represent components return `null`.\n *\n * \\@publicApi\n * @template T\n * @param {?} element Host DOM element from which the component should be retrieved.\n *\n * ```\n * <my-app>\n *   #VIEW\n *     <div>\n *       <child-comp></child-comp>\n *     </div>\n * </mp-app>\n *\n * expect(getComponent(<child-comp>) instanceof ChildComponent).toBeTruthy();\n * expect(getComponent(<my-app>) instanceof MyApp).toBeTruthy();\n * ```\n *\n * @return {?}\n */\nfunction getComponent(element) {\n    /** @type {?} */\n    const context = loadLContextFromNode(element);\n    if (context.component === undefined) {\n        context.component = getComponentAtNodeIndex(context.nodeIndex, context.lView);\n    }\n    return (/** @type {?} */ (context.component));\n}\n/**\n * Returns the component instance associated with a given DOM host element.\n * Elements which don't represent components return `null`.\n *\n * \\@publicApi\n * @template T\n * @param {?} element Host DOM element from which the component should be retrieved.\n *\n * ```\n * <my-app>\n *   #VIEW\n *     <div>\n *       <child-comp></child-comp>\n *     </div>\n * </mp-app>\n *\n * expect(getComponent(<child-comp>) instanceof ChildComponent).toBeTruthy();\n * expect(getComponent(<my-app>) instanceof MyApp).toBeTruthy();\n * ```\n *\n * @return {?}\n */\nfunction getContext$1(element) {\n    /** @type {?} */\n    const context = (/** @type {?} */ (loadLContextFromNode(element)));\n    return (/** @type {?} */ (context.lView[CONTEXT]));\n}\n/**\n * Returns the component instance associated with view which owns the DOM element (`null`\n * otherwise).\n *\n * \\@publicApi\n * @template T\n * @param {?} element DOM element which is owned by an existing component's view.\n *\n * ```\n * <my-app>\n *   #VIEW\n *     <div>\n *       <child-comp></child-comp>\n *     </div>\n * </mp-app>\n *\n * expect(getViewComponent(<child-comp>) instanceof MyApp).toBeTruthy();\n * expect(getViewComponent(<my-app>)).toEqual(null);\n * ```\n *\n * @return {?}\n */\nfunction getViewComponent(element) {\n    /** @type {?} */\n    const context = (/** @type {?} */ (loadLContext(element)));\n    /** @type {?} */\n    let lView = context.lView;\n    /** @type {?} */\n    let parent;\n    ngDevMode && assertLView(lView);\n    while (lView[HOST] === null && (parent = (/** @type {?} */ (getLViewParent(lView))))) {\n        // As long as lView[HOST] is null we know we are part of sub-template such as `*ngIf`\n        lView = parent;\n    }\n    return lView[FLAGS] & 512 /* IsRoot */ ? null : (/** @type {?} */ (lView[CONTEXT]));\n}\n/**\n * Retrieve all root components.\n *\n * Root components are those which have been bootstrapped by Angular.\n *\n * \\@publicApi\n * @param {?} target A DOM element, component or directive instance.\n *\n * @return {?}\n */\nfunction getRootComponents(target) {\n    return [...getRootContext(target).components];\n}\n/**\n * Retrieves an `Injector` associated with the element, component or directive.\n *\n * \\@publicApi\n * @param {?} target A DOM element, component or directive instance.\n *\n * @return {?}\n */\nfunction getInjector(target) {\n    /** @type {?} */\n    const context = loadLContext(target);\n    /** @type {?} */\n    const tNode = (/** @type {?} */ (context.lView[TVIEW].data[context.nodeIndex]));\n    return new NodeInjector(tNode, context.lView);\n}\n/**\n * Retrieve a set of injection tokens at a given DOM node.\n *\n * \\@publicApi\n * @param {?} element Element for which the injection tokens should be retrieved.\n * @return {?}\n */\nfunction getInjectionTokens(element) {\n    /** @type {?} */\n    const context = loadLContext(element, false);\n    if (!context)\n        return [];\n    /** @type {?} */\n    const lView = context.lView;\n    /** @type {?} */\n    const tView = lView[TVIEW];\n    /** @type {?} */\n    const tNode = (/** @type {?} */ (tView.data[context.nodeIndex]));\n    /** @type {?} */\n    const providerTokens = [];\n    /** @type {?} */\n    const startIndex = tNode.providerIndexes & 65535 /* ProvidersStartIndexMask */;\n    /** @type {?} */\n    const endIndex = tNode.directiveEnd;\n    for (let i = startIndex; i < endIndex; i++) {\n        /** @type {?} */\n        let value = tView.data[i];\n        if (isDirectiveDefHack(value)) {\n            // The fact that we sometimes store Type and sometimes DirectiveDef in this location is a\n            // design flaw.  We should always store same type so that we can be monomorphic. The issue\n            // is that for Components/Directives we store the def instead the type. The correct behavior\n            // is that we should always be storing injectable type in this location.\n            value = value.type;\n        }\n        providerTokens.push(value);\n    }\n    return providerTokens;\n}\n/**\n * Retrieves directives associated with a given DOM host element.\n *\n * \\@publicApi\n * @param {?} target A DOM element, component or directive instance.\n *\n * @return {?}\n */\nfunction getDirectives(target) {\n    /** @type {?} */\n    const context = (/** @type {?} */ (loadLContext(target)));\n    if (context.directives === undefined) {\n        context.directives = getDirectivesAtNodeIndex(context.nodeIndex, context.lView, false);\n    }\n    return context.directives || [];\n}\n/**\n * @param {?} target\n * @param {?=} throwOnNotFound\n * @return {?}\n */\nfunction loadLContext(target, throwOnNotFound = true) {\n    /** @type {?} */\n    const context = getLContext(target);\n    if (!context && throwOnNotFound) {\n        throw new Error(ngDevMode ? `Unable to find context associated with ${stringifyForError(target)}` :\n            'Invalid ng target');\n    }\n    return context;\n}\n/**\n * Retrieve map of local references.\n *\n * The references are retrieved as a map of local reference name to element or directive instance.\n *\n * \\@publicApi\n * @param {?} target A DOM element, component or directive instance.\n *\n * @return {?}\n */\nfunction getLocalRefs(target) {\n    /** @type {?} */\n    const context = (/** @type {?} */ (loadLContext(target)));\n    if (context.localRefs === undefined) {\n        context.localRefs = discoverLocalRefs(context.lView, context.nodeIndex);\n    }\n    return context.localRefs || {};\n}\n/**\n * Retrieve the host element of the component.\n *\n * Use this function to retrieve the host element of the component. The host\n * element is the element which the component is associated with.\n *\n * \\@publicApi\n * @template T\n * @param {?} directive Component or Directive for which the host element should be retrieved.\n *\n * @return {?}\n */\nfunction getHostElement(directive) {\n    return (/** @type {?} */ ((/** @type {?} */ ((/** @type {?} */ (getLContext(directive))).native))));\n}\n/**\n * Retrieves the rendered text for a given component.\n *\n * This function retrieves the host element of a component and\n * and then returns the `textContent` for that element. This implies\n * that the text returned will include re-projected content of\n * the component as well.\n *\n * @param {?} component The component to return the content text for.\n * @return {?}\n */\nfunction getRenderedText(component) {\n    /** @type {?} */\n    const hostElement = getHostElement(component);\n    return hostElement.textContent || '';\n}\n/**\n * @param {?} node\n * @return {?}\n */\nfunction loadLContextFromNode(node) {\n    if (!(node instanceof Node))\n        throw new Error('Expecting instance of DOM Node');\n    return (/** @type {?} */ (loadLContext(node)));\n}\n/**\n * @record\n */\nfunction Listener() { }\nif (false) {}\n/**\n * @param {?} listener\n * @return {?}\n */\nfunction isBrowserEvents(listener) {\n    // Browser events are those which don't have `useCapture` as boolean.\n    return typeof listener.useCapture === 'boolean';\n}\n/**\n * Retrieves a list of DOM listeners.\n *\n * ```\n * <my-app>\n *   #VIEW\n *     <div (click)=\"doSomething()\">\n *     </div>\n * </mp-app>\n *\n * expect(getListeners(<div>)).toEqual({\n *   name: 'click',\n *   element: <div>,\n *   callback: () => doSomething(),\n *   useCapture: false\n * });\n * ```\n *\n * \\@publicApi\n * @param {?} element Element for which the DOM listeners should be retrieved.\n * @return {?}\n */\nfunction getListeners(element) {\n    /** @type {?} */\n    const lContext = loadLContextFromNode(element);\n    /** @type {?} */\n    const lView = lContext.lView;\n    /** @type {?} */\n    const tView = lView[TVIEW];\n    /** @type {?} */\n    const lCleanup = lView[CLEANUP];\n    /** @type {?} */\n    const tCleanup = tView.cleanup;\n    /** @type {?} */\n    const listeners = [];\n    if (tCleanup && lCleanup) {\n        for (let i = 0; i < tCleanup.length;) {\n            /** @type {?} */\n            const firstParam = tCleanup[i++];\n            /** @type {?} */\n            const secondParam = tCleanup[i++];\n            if (typeof firstParam === 'string') {\n                /** @type {?} */\n                const name = firstParam;\n                /** @type {?} */\n                const listenerElement = (/** @type {?} */ ((/** @type {?} */ (unwrapRNode(lView[secondParam])))));\n                /** @type {?} */\n                const callback = lCleanup[tCleanup[i++]];\n                /** @type {?} */\n                const useCaptureOrIndx = tCleanup[i++];\n                // if useCaptureOrIndx is boolean then report it as is.\n                // if useCaptureOrIndx is positive number then it in unsubscribe method\n                // if useCaptureOrIndx is negative number then it is a Subscription\n                /** @type {?} */\n                const useCapture = typeof useCaptureOrIndx === 'boolean' ?\n                    useCaptureOrIndx :\n                    (useCaptureOrIndx >= 0 ? false : null);\n                if (element == listenerElement) {\n                    listeners.push({ element, name, callback, useCapture });\n                }\n            }\n        }\n    }\n    listeners.sort(sortListeners);\n    return listeners;\n}\n/**\n * @param {?} a\n * @param {?} b\n * @return {?}\n */\nfunction sortListeners(a, b) {\n    if (a.name == b.name)\n        return 0;\n    return a.name < b.name ? -1 : 1;\n}\n/**\n * This function should not exist because it is megamorphic and only mostly correct.\n *\n * See call site for more info.\n * @param {?} obj\n * @return {?}\n */\nfunction isDirectiveDefHack(obj) {\n    return obj.type !== undefined && obj.template !== undefined && obj.declaredInputs !== undefined;\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * This value reflects the property on the window where the dev\n * tools are patched (window.ng).\n *\n * @type {?}\n */\nconst GLOBAL_PUBLISH_EXPANDO_KEY = 'ng';\n/** @type {?} */\nlet _published = false;\n/**\n * Publishes a collection of default debug tools onto`window.ng`.\n *\n * These functions are available globally when Angular is in development\n * mode and are automatically stripped away from prod mode is on.\n * @return {?}\n */\nfunction publishDefaultGlobalUtils() {\n    if (!_published) {\n        _published = true;\n        publishGlobalUtil('getComponent', getComponent);\n        publishGlobalUtil('getContext', getContext$1);\n        publishGlobalUtil('getListeners', getListeners);\n        publishGlobalUtil('getViewComponent', getViewComponent);\n        publishGlobalUtil('getHostElement', getHostElement);\n        publishGlobalUtil('getInjector', getInjector);\n        publishGlobalUtil('getRootComponents', getRootComponents);\n        publishGlobalUtil('getDirectives', getDirectives);\n        publishGlobalUtil('markDirty', markDirty);\n    }\n}\n/**\n * Publishes the given function to `window.ng` so that it can be\n * used from the browser console when an application is not in production.\n * @param {?} name\n * @param {?} fn\n * @return {?}\n */\nfunction publishGlobalUtil(name, fn) {\n    /** @type {?} */\n    const w = (/** @type {?} */ ((/** @type {?} */ (_global))));\n    ngDevMode && assertDefined(fn, 'function not defined');\n    if (w) {\n        /** @type {?} */\n        let container = w[GLOBAL_PUBLISH_EXPANDO_KEY];\n        if (!container) {\n            container = w[GLOBAL_PUBLISH_EXPANDO_KEY] = {};\n        }\n        container[name] = fn;\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Options that control how the component should be bootstrapped.\n * @record\n */\nfunction CreateComponentOptions() { }\nif (false) {}\n// TODO: A hack to not pull in the NullInjector from @angular/core.\nconst ɵ0$c = /**\n * @param {?} token\n * @param {?=} notFoundValue\n * @return {?}\n */\n(token, notFoundValue) => {\n    throw new Error('NullInjector: Not found: ' + stringifyForError(token));\n};\n/** @type {?} */\nconst NULL_INJECTOR$1 = {\n    get: (ɵ0$c)\n};\n/**\n * Bootstraps a Component into an existing host element and returns an instance\n * of the component.\n *\n * Use this function to bootstrap a component into the DOM tree. Each invocation\n * of this function will create a separate tree of components, injectors and\n * change detection cycles and lifetimes. To dynamically insert a new component\n * into an existing tree such that it shares the same injection, change detection\n * and object lifetime, use {\\@link ViewContainer#createComponent}.\n *\n * @template T\n * @param {?} componentType Component to bootstrap\n * @param {?=} opts\n * @return {?}\n */\nfunction renderComponent(componentType /* Type as workaround for: Microsoft/TypeScript/issues/4881 */, opts = {}) {\n    ngDevMode && publishDefaultGlobalUtils();\n    ngDevMode && assertComponentType(componentType);\n    // this is preemptively set to avoid having test and debug code accidentally\n    // read data from a previous application state...\n    setActiveHostElement(null);\n    /** @type {?} */\n    const rendererFactory = opts.rendererFactory || domRendererFactory3;\n    /** @type {?} */\n    const sanitizer = opts.sanitizer || null;\n    /** @type {?} */\n    const componentDef = (/** @type {?} */ (getComponentDef(componentType)));\n    if (componentDef.type != componentType)\n        componentDef.type = componentType;\n    // The first index of the first selector is the tag name.\n    /** @type {?} */\n    const componentTag = (/** @type {?} */ ((/** @type {?} */ ((/** @type {?} */ (componentDef.selectors))[0]))[0]));\n    /** @type {?} */\n    const hostRNode = locateHostElement(rendererFactory, opts.host || componentTag);\n    /** @type {?} */\n    const rootFlags = componentDef.onPush ? 64 /* Dirty */ | 512 /* IsRoot */ :\n        16 /* CheckAlways */ | 512 /* IsRoot */;\n    /** @type {?} */\n    const rootContext = createRootContext(opts.scheduler, opts.playerHandler);\n    /** @type {?} */\n    const renderer = rendererFactory.createRenderer(hostRNode, componentDef);\n    /** @type {?} */\n    const rootView = createLView(null, createTView(-1, null, 1, 0, null, null, null, null), rootContext, rootFlags, null, null, rendererFactory, renderer, undefined, opts.injector || null);\n    /** @type {?} */\n    const oldView = enterView(rootView, null);\n    /** @type {?} */\n    let component;\n    // Will become true if the `try` block executes with no errors.\n    /** @type {?} */\n    let safeToRunHooks = false;\n    try {\n        if (rendererFactory.begin)\n            rendererFactory.begin();\n        /** @type {?} */\n        const componentView = createRootComponentView(hostRNode, componentDef, rootView, rendererFactory, renderer, sanitizer);\n        component = createRootComponent(componentView, componentDef, rootView, rootContext, opts.hostFeatures || null);\n        addToViewTree(rootView, componentView);\n        refreshDescendantViews(rootView); // creation mode pass\n        rootView[FLAGS] &= ~4 /* CreationMode */;\n        resetPreOrderHookFlags(rootView);\n        refreshDescendantViews(rootView); // update mode pass\n        safeToRunHooks = true;\n    }\n    finally {\n        leaveView(oldView, safeToRunHooks);\n        if (rendererFactory.end)\n            rendererFactory.end();\n    }\n    return component;\n}\n/**\n * Creates the root component view and the root component node.\n *\n * @param {?} rNode Render host element.\n * @param {?} def ComponentDef\n * @param {?} rootView The parent view where the host node is stored\n * @param {?} rendererFactory\n * @param {?} renderer The current renderer\n * @param {?=} sanitizer The sanitizer, if provided\n *\n * @return {?} Component view created\n */\nfunction createRootComponentView(rNode, def, rootView, rendererFactory, renderer, sanitizer) {\n    resetComponentState();\n    /** @type {?} */\n    const tView = rootView[TVIEW];\n    ngDevMode && assertDataInRange(rootView, 0 + HEADER_OFFSET);\n    rootView[0 + HEADER_OFFSET] = rNode;\n    /** @type {?} */\n    const tNode = getOrCreateTNode(tView, null, 0, 3 /* Element */, null, null);\n    /** @type {?} */\n    const componentView = createLView(rootView, getOrCreateTView(def), null, def.onPush ? 64 /* Dirty */ : 16 /* CheckAlways */, rootView[HEADER_OFFSET], tNode, rendererFactory, renderer, sanitizer);\n    if (tView.firstTemplatePass) {\n        diPublicInInjector(getOrCreateNodeInjectorForNode(tNode, rootView), tView, def.type);\n        tNode.flags = 1 /* isComponent */;\n        initNodeFlags(tNode, rootView.length, 1);\n        queueComponentIndexForCheck(tNode);\n    }\n    // Store component view at node index, with node as the HOST\n    return rootView[HEADER_OFFSET] = componentView;\n}\n/**\n * Creates a root component and sets it up with features and host bindings. Shared by\n * renderComponent() and ViewContainerRef.createComponent().\n * @template T\n * @param {?} componentView\n * @param {?} componentDef\n * @param {?} rootView\n * @param {?} rootContext\n * @param {?} hostFeatures\n * @return {?}\n */\nfunction createRootComponent(componentView, componentDef, rootView, rootContext, hostFeatures) {\n    /** @type {?} */\n    const tView = rootView[TVIEW];\n    // Create directive instance with factory() and store at next index in viewData\n    /** @type {?} */\n    const component = instantiateRootComponent(tView, rootView, componentDef);\n    rootContext.components.push(component);\n    componentView[CONTEXT] = component;\n    hostFeatures && hostFeatures.forEach((/**\n     * @param {?} feature\n     * @return {?}\n     */\n    (feature) => feature(component, componentDef)));\n    // We want to generate an empty QueryList for root content queries for backwards\n    // compatibility with ViewEngine.\n    if (componentDef.contentQueries) {\n        componentDef.contentQueries(1 /* Create */, component, rootView.length - 1);\n    }\n    /** @type {?} */\n    const rootTNode = getPreviousOrParentTNode();\n    if (tView.firstTemplatePass && componentDef.hostBindings) {\n        /** @type {?} */\n        const elementIndex = rootTNode.index - HEADER_OFFSET;\n        setActiveHostElement(elementIndex);\n        /** @type {?} */\n        const expando = (/** @type {?} */ (tView.expandoInstructions));\n        invokeHostBindingsInCreationMode(componentDef, expando, component, rootTNode, tView.firstTemplatePass);\n        setActiveHostElement(null);\n    }\n    return component;\n}\n/**\n * @param {?=} scheduler\n * @param {?=} playerHandler\n * @return {?}\n */\nfunction createRootContext(scheduler, playerHandler) {\n    return {\n        components: [],\n        scheduler: scheduler || defaultScheduler,\n        clean: CLEAN_PROMISE,\n        playerHandler: playerHandler || null,\n        flags: 0 /* Empty */\n    };\n}\n/**\n * Used to enable lifecycle hooks on the root component.\n *\n * Include this feature when calling `renderComponent` if the root component\n * you are rendering has lifecycle hooks defined. Otherwise, the hooks won't\n * be called properly.\n *\n * Example:\n *\n * ```\n * renderComponent(AppComponent, {features: [RootLifecycleHooks]});\n * ```\n * @param {?} component\n * @param {?} def\n * @return {?}\n */\nfunction LifecycleHooksFeature(component, def) {\n    /** @type {?} */\n    const rootTView = (/** @type {?} */ (readPatchedLView(component)))[TVIEW];\n    /** @type {?} */\n    const dirIndex = rootTView.data.length - 1;\n    registerPreOrderHooks(dirIndex, def, rootTView, -1, -1, -1);\n    // TODO(misko): replace `as TNode` with createTNode call. (needs refactoring to lose dep on\n    // LNode).\n    registerPostOrderHooks(rootTView, (/** @type {?} */ ({ directiveStart: dirIndex, directiveEnd: dirIndex + 1 })));\n}\n/**\n * Wait on component until it is rendered.\n *\n * This function returns a `Promise` which is resolved when the component's\n * change detection is executed. This is determined by finding the scheduler\n * associated with the `component`'s render tree and waiting until the scheduler\n * flushes. If nothing is scheduled, the function returns a resolved promise.\n *\n * Example:\n * ```\n * await whenRendered(myComponent);\n * ```\n *\n * @param {?} component Component to wait upon\n * @return {?} Promise which resolves when the component is rendered.\n */\nfunction whenRendered(component) {\n    return getRootContext(component).clean;\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Represents a basic change from a previous to a new value for a single\n * property on a directive instance. Passed as a value in a\n * {@link SimpleChanges} object to the `ngOnChanges` hook.\n *\n * @see `OnChanges`\n *\n * @publicApi\n */\nclass SimpleChange {\n    constructor(previousValue, currentValue, firstChange) {\n        this.previousValue = previousValue;\n        this.currentValue = currentValue;\n        this.firstChange = firstChange;\n    }\n    /**\n     * Check whether the new value is the first value assigned.\n     */\n    isFirstChange() { return this.firstChange; }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst PRIVATE_PREFIX = '__ngOnChanges_';\n/**\n * The NgOnChangesFeature decorates a component with support for the ngOnChanges\n * lifecycle hook, so it should be included in any component that implements\n * that hook.\n *\n * If the component or directive uses inheritance, the NgOnChangesFeature MUST\n * be included as a feature AFTER {\\@link InheritDefinitionFeature}, otherwise\n * inherited properties will not be propagated to the ngOnChanges lifecycle\n * hook.\n *\n * Example usage:\n *\n * ```\n * static ngComponentDef = defineComponent({\n *   ...\n *   inputs: {name: 'publicName'},\n *   features: [NgOnChangesFeature()]\n * });\n * ```\n *\n * \\@codeGenApi\n * @template T\n * @return {?}\n */\nfunction ɵɵNgOnChangesFeature() {\n    // This option ensures that the ngOnChanges lifecycle hook will be inherited\n    // from superclasses (in InheritDefinitionFeature).\n    ((/** @type {?} */ (NgOnChangesFeatureImpl))).ngInherit = true;\n    return NgOnChangesFeatureImpl;\n}\n/**\n * @template T\n * @param {?} definition\n * @return {?}\n */\nfunction NgOnChangesFeatureImpl(definition) {\n    if (definition.type.prototype.ngOnChanges) {\n        definition.setInput = ngOnChangesSetInput;\n        definition.onChanges = wrapOnChanges();\n    }\n}\n/**\n * @return {?}\n */\nfunction wrapOnChanges() {\n    return (/**\n     * @this {?}\n     * @return {?}\n     */\n    function wrapOnChangesHook_inPreviousChangesStorage() {\n        /** @type {?} */\n        const simpleChangesStore = getSimpleChangesStore(this);\n        /** @type {?} */\n        const current = simpleChangesStore && simpleChangesStore.current;\n        if (current) {\n            /** @type {?} */\n            const previous = (/** @type {?} */ (simpleChangesStore)).previous;\n            if (previous === EMPTY_OBJ) {\n                (/** @type {?} */ (simpleChangesStore)).previous = current;\n            }\n            else {\n                // New changes are copied to the previous store, so that we don't lose history for inputs\n                // which were not changed this time\n                for (let key in current) {\n                    previous[key] = current[key];\n                }\n            }\n            (/** @type {?} */ (simpleChangesStore)).current = null;\n            this.ngOnChanges(current);\n        }\n    });\n}\n/**\n * @template T\n * @this {?}\n * @param {?} instance\n * @param {?} value\n * @param {?} publicName\n * @param {?} privateName\n * @return {?}\n */\nfunction ngOnChangesSetInput(instance, value, publicName, privateName) {\n    /** @type {?} */\n    const simpleChangesStore = getSimpleChangesStore(instance) ||\n        setSimpleChangesStore(instance, { previous: EMPTY_OBJ, current: null });\n    /** @type {?} */\n    const current = simpleChangesStore.current || (simpleChangesStore.current = {});\n    /** @type {?} */\n    const previous = simpleChangesStore.previous;\n    /** @type {?} */\n    const declaredName = ((/** @type {?} */ (this.declaredInputs)))[publicName];\n    /** @type {?} */\n    const previousChange = previous[declaredName];\n    current[declaredName] = new SimpleChange(previousChange && previousChange.currentValue, value, previous === EMPTY_OBJ);\n    ((/** @type {?} */ (instance)))[privateName] = value;\n}\n/** @type {?} */\nconst SIMPLE_CHANGES_STORE = '__ngSimpleChanges__';\n/**\n * @param {?} instance\n * @return {?}\n */\nfunction getSimpleChangesStore(instance) {\n    return instance[SIMPLE_CHANGES_STORE] || null;\n}\n/**\n * @param {?} instance\n * @param {?} store\n * @return {?}\n */\nfunction setSimpleChangesStore(instance, store) {\n    return instance[SIMPLE_CHANGES_STORE] = store;\n}\n/**\n * @record\n */\nfunction NgSimpleChangesStore() { }\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @param {?} type\n * @return {?}\n */\nfunction getSuperType(type) {\n    return Object.getPrototypeOf(type.prototype).constructor;\n}\n/**\n * Merges the definition from a super class to a sub class.\n * \\@codeGenApi\n * @param {?} definition The definition that is a SubClass of another directive of component\n *\n * @return {?}\n */\nfunction ɵɵInheritDefinitionFeature(definition) {\n    /** @type {?} */\n    let superType = getSuperType(definition.type);\n    while (superType) {\n        /** @type {?} */\n        let superDef = undefined;\n        if (isComponentDef(definition)) {\n            // Don't use getComponentDef/getDirectiveDef. This logic relies on inheritance.\n            superDef = superType.ngComponentDef || superType.ngDirectiveDef;\n        }\n        else {\n            if (superType.ngComponentDef) {\n                throw new Error('Directives cannot inherit Components');\n            }\n            // Don't use getComponentDef/getDirectiveDef. This logic relies on inheritance.\n            superDef = superType.ngDirectiveDef;\n        }\n        /** @nocollapse @type {?} */\n        const baseDef = ((/** @type {?} */ (superType))).ngBaseDef;\n        // Some fields in the definition may be empty, if there were no values to put in them that\n        // would've justified object creation. Unwrap them if necessary.\n        if (baseDef || superDef) {\n            /** @type {?} */\n            const writeableDef = (/** @type {?} */ (definition));\n            writeableDef.inputs = maybeUnwrapEmpty(definition.inputs);\n            writeableDef.declaredInputs = maybeUnwrapEmpty(definition.declaredInputs);\n            writeableDef.outputs = maybeUnwrapEmpty(definition.outputs);\n        }\n        if (baseDef) {\n            /** @type {?} */\n            const baseViewQuery = baseDef.viewQuery;\n            /** @type {?} */\n            const baseContentQueries = baseDef.contentQueries;\n            /** @type {?} */\n            const baseHostBindings = baseDef.hostBindings;\n            baseHostBindings && inheritHostBindings(definition, baseHostBindings);\n            baseViewQuery && inheritViewQuery(definition, baseViewQuery);\n            baseContentQueries && inheritContentQueries(definition, baseContentQueries);\n            fillProperties(definition.inputs, baseDef.inputs);\n            fillProperties(definition.declaredInputs, baseDef.declaredInputs);\n            fillProperties(definition.outputs, baseDef.outputs);\n        }\n        if (superDef) {\n            // Merge hostBindings\n            /** @type {?} */\n            const superHostBindings = superDef.hostBindings;\n            superHostBindings && inheritHostBindings(definition, superHostBindings);\n            // Merge queries\n            /** @type {?} */\n            const superViewQuery = superDef.viewQuery;\n            /** @type {?} */\n            const superContentQueries = superDef.contentQueries;\n            superViewQuery && inheritViewQuery(definition, superViewQuery);\n            superContentQueries && inheritContentQueries(definition, superContentQueries);\n            // Merge inputs and outputs\n            fillProperties(definition.inputs, superDef.inputs);\n            fillProperties(definition.declaredInputs, superDef.declaredInputs);\n            fillProperties(definition.outputs, superDef.outputs);\n            // Inherit hooks\n            // Assume super class inheritance feature has already run.\n            definition.afterContentChecked =\n                definition.afterContentChecked || superDef.afterContentChecked;\n            definition.afterContentInit = definition.afterContentInit || superDef.afterContentInit;\n            definition.afterViewChecked = definition.afterViewChecked || superDef.afterViewChecked;\n            definition.afterViewInit = definition.afterViewInit || superDef.afterViewInit;\n            definition.doCheck = definition.doCheck || superDef.doCheck;\n            definition.onDestroy = definition.onDestroy || superDef.onDestroy;\n            definition.onInit = definition.onInit || superDef.onInit;\n            // Run parent features\n            /** @type {?} */\n            const features = superDef.features;\n            if (features) {\n                for (const feature of features) {\n                    if (feature && feature.ngInherit) {\n                        ((/** @type {?} */ (feature)))(definition);\n                    }\n                }\n            }\n        }\n        else {\n            // Even if we don't have a definition, check the type for the hooks and use those if need be\n            /** @type {?} */\n            const superPrototype = superType.prototype;\n            if (superPrototype) {\n                definition.afterContentChecked =\n                    definition.afterContentChecked || superPrototype.ngAfterContentChecked;\n                definition.afterContentInit =\n                    definition.afterContentInit || superPrototype.ngAfterContentInit;\n                definition.afterViewChecked =\n                    definition.afterViewChecked || superPrototype.ngAfterViewChecked;\n                definition.afterViewInit = definition.afterViewInit || superPrototype.ngAfterViewInit;\n                definition.doCheck = definition.doCheck || superPrototype.ngDoCheck;\n                definition.onDestroy = definition.onDestroy || superPrototype.ngOnDestroy;\n                definition.onInit = definition.onInit || superPrototype.ngOnInit;\n                if (superPrototype.ngOnChanges) {\n                    ɵɵNgOnChangesFeature()(definition);\n                }\n            }\n        }\n        superType = Object.getPrototypeOf(superType);\n    }\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction maybeUnwrapEmpty(value) {\n    if (value === EMPTY_OBJ) {\n        return {};\n    }\n    else if (value === EMPTY_ARRAY) {\n        return [];\n    }\n    else {\n        return value;\n    }\n}\n/**\n * @param {?} definition\n * @param {?} superViewQuery\n * @return {?}\n */\nfunction inheritViewQuery(definition, superViewQuery) {\n    /** @type {?} */\n    const prevViewQuery = definition.viewQuery;\n    if (prevViewQuery) {\n        definition.viewQuery = (/**\n         * @param {?} rf\n         * @param {?} ctx\n         * @return {?}\n         */\n        (rf, ctx) => {\n            superViewQuery(rf, ctx);\n            prevViewQuery(rf, ctx);\n        });\n    }\n    else {\n        definition.viewQuery = superViewQuery;\n    }\n}\n/**\n * @param {?} definition\n * @param {?} superContentQueries\n * @return {?}\n */\nfunction inheritContentQueries(definition, superContentQueries) {\n    /** @type {?} */\n    const prevContentQueries = definition.contentQueries;\n    if (prevContentQueries) {\n        definition.contentQueries = (/**\n         * @param {?} rf\n         * @param {?} ctx\n         * @param {?} directiveIndex\n         * @return {?}\n         */\n        (rf, ctx, directiveIndex) => {\n            superContentQueries(rf, ctx, directiveIndex);\n            prevContentQueries(rf, ctx, directiveIndex);\n        });\n    }\n    else {\n        definition.contentQueries = superContentQueries;\n    }\n}\n/**\n * @param {?} definition\n * @param {?} superHostBindings\n * @return {?}\n */\nfunction inheritHostBindings(definition, superHostBindings) {\n    /** @type {?} */\n    const prevHostBindings = definition.hostBindings;\n    // If the subclass does not have a host bindings function, we set the subclass host binding\n    // function to be the superclass's (in this feature). We should check if they're the same here\n    // to ensure we don't inherit it twice.\n    if (superHostBindings !== prevHostBindings) {\n        if (prevHostBindings) {\n            // because inheritance is unknown during compile time, the runtime code\n            // needs to be informed of the super-class depth so that instruction code\n            // can distinguish one host bindings function from another. The reason why\n            // relying on the directive uniqueId exclusively is not enough is because the\n            // uniqueId value and the directive instance stay the same between hostBindings\n            // calls throughout the directive inheritance chain. This means that without\n            // a super-class depth value, there is no way to know whether a parent or\n            // sub-class host bindings function is currently being executed.\n            definition.hostBindings = (/**\n             * @param {?} rf\n             * @param {?} ctx\n             * @param {?} elementIndex\n             * @return {?}\n             */\n            (rf, ctx, elementIndex) => {\n                // The reason why we increment first and then decrement is so that parent\n                // hostBindings calls have a higher id value compared to sub-class hostBindings\n                // calls (this way the leaf directive is always at a super-class depth of 0).\n                adjustActiveDirectiveSuperClassDepthPosition(1);\n                try {\n                    superHostBindings(rf, ctx, elementIndex);\n                }\n                finally {\n                    adjustActiveDirectiveSuperClassDepthPosition(-1);\n                }\n                prevHostBindings(rf, ctx, elementIndex);\n            });\n        }\n        else {\n            definition.hostBindings = superHostBindings;\n        }\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Resolves the providers which are defined in the DirectiveDef.\n *\n * When inserting the tokens and the factories in their respective arrays, we can assume that\n * this method is called first for the component (if any), and then for other directives on the same\n * node.\n * As a consequence,the providers are always processed in that order:\n * 1) The view providers of the component\n * 2) The providers of the component\n * 3) The providers of the other directives\n * This matches the structure of the injectables arrays of a view (for each node).\n * So the tokens and the factories can be pushed at the end of the arrays, except\n * in one case for multi providers.\n *\n * @template T\n * @param {?} def the directive definition\n * @param {?} providers\n * @param {?} viewProviders\n * @return {?}\n */\nfunction providersResolver(def, providers, viewProviders) {\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const tView = lView[TVIEW];\n    if (tView.firstTemplatePass) {\n        /** @type {?} */\n        const isComponent = isComponentDef(def);\n        // The list of view providers is processed first, and the flags are updated\n        resolveProvider$1(viewProviders, tView.data, tView.blueprint, isComponent, true);\n        // Then, the list of providers is processed, and the flags are updated\n        resolveProvider$1(providers, tView.data, tView.blueprint, isComponent, false);\n    }\n}\n/**\n * Resolves a provider and publishes it to the DI system.\n * @param {?} provider\n * @param {?} tInjectables\n * @param {?} lInjectablesBlueprint\n * @param {?} isComponent\n * @param {?} isViewProvider\n * @return {?}\n */\nfunction resolveProvider$1(provider, tInjectables, lInjectablesBlueprint, isComponent, isViewProvider) {\n    provider = resolveForwardRef(provider);\n    if (Array.isArray(provider)) {\n        // Recursively call `resolveProvider`\n        // Recursion is OK in this case because this code will not be in hot-path once we implement\n        // cloning of the initial state.\n        for (let i = 0; i < provider.length; i++) {\n            resolveProvider$1(provider[i], tInjectables, lInjectablesBlueprint, isComponent, isViewProvider);\n        }\n    }\n    else {\n        /** @type {?} */\n        const lView = getLView();\n        /** @type {?} */\n        const tView = lView[TVIEW];\n        /** @type {?} */\n        let token = isTypeProvider(provider) ? provider : resolveForwardRef(provider.provide);\n        /** @type {?} */\n        let providerFactory = providerToFactory(provider);\n        /** @type {?} */\n        const tNode = getPreviousOrParentTNode();\n        /** @type {?} */\n        const beginIndex = tNode.providerIndexes & 65535 /* ProvidersStartIndexMask */;\n        /** @type {?} */\n        const endIndex = tNode.directiveStart;\n        /** @type {?} */\n        const cptViewProvidersCount = tNode.providerIndexes >> 16 /* CptViewProvidersCountShift */;\n        if (isClassProvider(provider) || isTypeProvider(provider)) {\n            /** @type {?} */\n            const prototype = (((/** @type {?} */ (provider))).useClass || provider).prototype;\n            /** @type {?} */\n            const ngOnDestroy = prototype.ngOnDestroy;\n            if (ngOnDestroy) {\n                (tView.destroyHooks || (tView.destroyHooks = [])).push(tInjectables.length, ngOnDestroy);\n            }\n        }\n        if (isTypeProvider(provider) || !provider.multi) {\n            // Single provider case: the factory is created and pushed immediately\n            /** @type {?} */\n            const factory = new NodeInjectorFactory(providerFactory, isViewProvider, ɵɵdirectiveInject);\n            /** @type {?} */\n            const existingFactoryIndex = indexOf(token, tInjectables, isViewProvider ? beginIndex : beginIndex + cptViewProvidersCount, endIndex);\n            if (existingFactoryIndex == -1) {\n                diPublicInInjector(getOrCreateNodeInjectorForNode((/** @type {?} */ (tNode)), lView), tView, token);\n                tInjectables.push(token);\n                tNode.directiveStart++;\n                tNode.directiveEnd++;\n                if (isViewProvider) {\n                    tNode.providerIndexes += 65536 /* CptViewProvidersCountShifter */;\n                }\n                lInjectablesBlueprint.push(factory);\n                lView.push(factory);\n            }\n            else {\n                lInjectablesBlueprint[existingFactoryIndex] = factory;\n                lView[existingFactoryIndex] = factory;\n            }\n        }\n        else {\n            // Multi provider case:\n            // We create a multi factory which is going to aggregate all the values.\n            // Since the output of such a factory depends on content or view injection,\n            // we create two of them, which are linked together.\n            //\n            // The first one (for view providers) is always in the first block of the injectables array,\n            // and the second one (for providers) is always in the second block.\n            // This is important because view providers have higher priority. When a multi token\n            // is being looked up, the view providers should be found first.\n            // Note that it is not possible to have a multi factory in the third block (directive block).\n            //\n            // The algorithm to process multi providers is as follows:\n            // 1) If the multi provider comes from the `viewProviders` of the component:\n            //   a) If the special view providers factory doesn't exist, it is created and pushed.\n            //   b) Else, the multi provider is added to the existing multi factory.\n            // 2) If the multi provider comes from the `providers` of the component or of another\n            // directive:\n            //   a) If the multi factory doesn't exist, it is created and provider pushed into it.\n            //      It is also linked to the multi factory for view providers, if it exists.\n            //   b) Else, the multi provider is added to the existing multi factory.\n            /** @type {?} */\n            const existingProvidersFactoryIndex = indexOf(token, tInjectables, beginIndex + cptViewProvidersCount, endIndex);\n            /** @type {?} */\n            const existingViewProvidersFactoryIndex = indexOf(token, tInjectables, beginIndex, beginIndex + cptViewProvidersCount);\n            /** @type {?} */\n            const doesProvidersFactoryExist = existingProvidersFactoryIndex >= 0 &&\n                lInjectablesBlueprint[existingProvidersFactoryIndex];\n            /** @type {?} */\n            const doesViewProvidersFactoryExist = existingViewProvidersFactoryIndex >= 0 &&\n                lInjectablesBlueprint[existingViewProvidersFactoryIndex];\n            if (isViewProvider && !doesViewProvidersFactoryExist ||\n                !isViewProvider && !doesProvidersFactoryExist) {\n                // Cases 1.a and 2.a\n                diPublicInInjector(getOrCreateNodeInjectorForNode((/** @type {?} */ (tNode)), lView), tView, token);\n                /** @type {?} */\n                const factory = multiFactory(isViewProvider ? multiViewProvidersFactoryResolver : multiProvidersFactoryResolver, lInjectablesBlueprint.length, isViewProvider, isComponent, providerFactory);\n                if (!isViewProvider && doesViewProvidersFactoryExist) {\n                    lInjectablesBlueprint[existingViewProvidersFactoryIndex].providerFactory = factory;\n                }\n                tInjectables.push(token);\n                tNode.directiveStart++;\n                tNode.directiveEnd++;\n                if (isViewProvider) {\n                    tNode.providerIndexes += 65536 /* CptViewProvidersCountShifter */;\n                }\n                lInjectablesBlueprint.push(factory);\n                lView.push(factory);\n            }\n            else {\n                // Cases 1.b and 2.b\n                multiFactoryAdd((/** @type {?} */ (lInjectablesBlueprint))[isViewProvider ? existingViewProvidersFactoryIndex : existingProvidersFactoryIndex], providerFactory, !isViewProvider && isComponent);\n            }\n            if (!isViewProvider && isComponent && doesViewProvidersFactoryExist) {\n                (/** @type {?} */ (lInjectablesBlueprint[existingViewProvidersFactoryIndex].componentProviders))++;\n            }\n        }\n    }\n}\n/**\n * Add a factory in a multi factory.\n * @param {?} multiFactory\n * @param {?} factory\n * @param {?} isComponentProvider\n * @return {?}\n */\nfunction multiFactoryAdd(multiFactory, factory, isComponentProvider) {\n    (/** @type {?} */ (multiFactory.multi)).push(factory);\n    if (isComponentProvider) {\n        (/** @type {?} */ (multiFactory.componentProviders))++;\n    }\n}\n/**\n * Returns the index of item in the array, but only in the begin to end range.\n * @param {?} item\n * @param {?} arr\n * @param {?} begin\n * @param {?} end\n * @return {?}\n */\nfunction indexOf(item, arr, begin, end) {\n    for (let i = begin; i < end; i++) {\n        if (arr[i] === item)\n            return i;\n    }\n    return -1;\n}\n/**\n * Use this with `multi` `providers`.\n * @this {?}\n * @param {?} _\n * @param {?} tData\n * @param {?} lData\n * @param {?} tNode\n * @return {?}\n */\nfunction multiProvidersFactoryResolver(_, tData, lData, tNode) {\n    return multiResolve((/** @type {?} */ (this.multi)), []);\n}\n/**\n * Use this with `multi` `viewProviders`.\n *\n * This factory knows how to concatenate itself with the existing `multi` `providers`.\n * @this {?}\n * @param {?} _\n * @param {?} tData\n * @param {?} lData\n * @param {?} tNode\n * @return {?}\n */\nfunction multiViewProvidersFactoryResolver(_, tData, lData, tNode) {\n    /** @type {?} */\n    const factories = (/** @type {?} */ (this.multi));\n    /** @type {?} */\n    let result;\n    if (this.providerFactory) {\n        /** @type {?} */\n        const componentCount = (/** @type {?} */ (this.providerFactory.componentProviders));\n        /** @type {?} */\n        const multiProviders = getNodeInjectable(tData, lData, (/** @type {?} */ ((/** @type {?} */ (this.providerFactory)).index)), tNode);\n        // Copy the section of the array which contains `multi` `providers` from the component\n        result = multiProviders.slice(0, componentCount);\n        // Insert the `viewProvider` instances.\n        multiResolve(factories, result);\n        // Copy the section of the array which contains `multi` `providers` from other directives\n        for (let i = componentCount; i < multiProviders.length; i++) {\n            result.push(multiProviders[i]);\n        }\n    }\n    else {\n        result = [];\n        // Insert the `viewProvider` instances.\n        multiResolve(factories, result);\n    }\n    return result;\n}\n/**\n * Maps an array of factories into an array of values.\n * @param {?} factories\n * @param {?} result\n * @return {?}\n */\nfunction multiResolve(factories, result) {\n    for (let i = 0; i < factories.length; i++) {\n        /** @type {?} */\n        const factory = (/** @type {?} */ ((/** @type {?} */ (factories[i]))));\n        result.push(factory());\n    }\n    return result;\n}\n/**\n * Creates a multi factory.\n * @param {?} factoryFn\n * @param {?} index\n * @param {?} isViewProvider\n * @param {?} isComponent\n * @param {?} f\n * @return {?}\n */\nfunction multiFactory(factoryFn, index, isViewProvider, isComponent, f) {\n    /** @type {?} */\n    const factory = new NodeInjectorFactory(factoryFn, isViewProvider, ɵɵdirectiveInject);\n    factory.multi = [];\n    factory.index = index;\n    factory.componentProviders = 0;\n    multiFactoryAdd(factory, f, isComponent && !isViewProvider);\n    return factory;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * This feature resolves the providers of a directive (or component),\n * and publish them into the DI system, making it visible to others for injection.\n *\n * For example:\n * ```ts\n * class ComponentWithProviders {\n *   constructor(private greeter: GreeterDE) {}\n *\n *   static ngComponentDef = defineComponent({\n *     type: ComponentWithProviders,\n *     selectors: [['component-with-providers']],\n *    factory: () => new ComponentWithProviders(directiveInject(GreeterDE as any)),\n *    consts: 1,\n *    vars: 1,\n *    template: function(fs: RenderFlags, ctx: ComponentWithProviders) {\n *      if (fs & RenderFlags.Create) {\n *        ɵɵtext(0);\n *      }\n *      if (fs & RenderFlags.Update) {\n *        ɵɵselect(0);\n *        ɵɵtextBinding(ctx.greeter.greet());\n *      }\n *    },\n *    features: [ProvidersFeature([GreeterDE])]\n *  });\n * }\n * ```\n *\n * \\@codeGenApi\n * @template T\n * @param {?} providers\n * @param {?=} viewProviders\n * @return {?}\n */\nfunction ɵɵProvidersFeature(providers, viewProviders = []) {\n    return (/**\n     * @param {?} definition\n     * @return {?}\n     */\n    (definition) => {\n        definition.providersResolver =\n            (/**\n             * @param {?} def\n             * @param {?=} processProvidersFn\n             * @return {?}\n             */\n            (def, processProvidersFn) => {\n                return providersResolver(def, //\n                processProvidersFn ? processProvidersFn(providers) : providers, //\n                viewProviders);\n            });\n    });\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Represents a component created by a `ComponentFactory`.\n * Provides access to the component instance and related objects,\n * and provides the means of destroying the instance.\n *\n * \\@publicApi\n * @abstract\n * @template C\n */\nclass ComponentRef {\n}\nif (false) {}\n/**\n * Base class for a factory that can create a component dynamically.\n * Instantiate a factory for a given type of component with `resolveComponentFactory()`.\n * Use the resulting `ComponentFactory.create()` method to create a component of that type.\n *\n * @see [Dynamic Components](guide/dynamic-component-loader)\n *\n * \\@publicApi\n * @abstract\n * @template C\n */\nclass ComponentFactory {\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @param {?} component\n * @return {?}\n */\nfunction noComponentFactoryError(component) {\n    /** @type {?} */\n    const error = Error(`No component factory found for ${stringify(component)}. Did you add it to @NgModule.entryComponents?`);\n    ((/** @type {?} */ (error)))[ERROR_COMPONENT] = component;\n    return error;\n}\n/** @type {?} */\nconst ERROR_COMPONENT = 'ngComponent';\n/**\n * @param {?} error\n * @return {?}\n */\nfunction getComponent$1(error) {\n    return ((/** @type {?} */ (error)))[ERROR_COMPONENT];\n}\nclass _NullComponentFactoryResolver {\n    /**\n     * @template T\n     * @param {?} component\n     * @return {?}\n     */\n    resolveComponentFactory(component) {\n        throw noComponentFactoryError(component);\n    }\n}\n/**\n * A simple registry that maps `Components` to generated `ComponentFactory` classes\n * that can be used to create instances of components.\n * Use to obtain the factory for a given component type,\n * then use the factory's `create()` method to create a component of that type.\n *\n * @see [Dynamic Components](guide/dynamic-component-loader)\n * \\@publicApi\n * @abstract\n */\nclass ComponentFactoryResolver {\n}\nComponentFactoryResolver.NULL = new _NullComponentFactoryResolver();\nif (false) {}\nclass CodegenComponentFactoryResolver {\n    /**\n     * @param {?} factories\n     * @param {?} _parent\n     * @param {?} _ngModule\n     */\n    constructor(factories, _parent, _ngModule) {\n        this._parent = _parent;\n        this._ngModule = _ngModule;\n        this._factories = new Map();\n        for (let i = 0; i < factories.length; i++) {\n            /** @type {?} */\n            const factory = factories[i];\n            this._factories.set(factory.componentType, factory);\n        }\n    }\n    /**\n     * @template T\n     * @param {?} component\n     * @return {?}\n     */\n    resolveComponentFactory(component) {\n        /** @type {?} */\n        let factory = this._factories.get(component);\n        if (!factory && this._parent) {\n            factory = this._parent.resolveComponentFactory(component);\n        }\n        if (!factory) {\n            throw noComponentFactoryError(component);\n        }\n        return new ComponentFactoryBoundToModule(factory, this._ngModule);\n    }\n}\nif (false) {}\n/**\n * @template C\n */\nclass ComponentFactoryBoundToModule extends ComponentFactory {\n    /**\n     * @param {?} factory\n     * @param {?} ngModule\n     */\n    constructor(factory, ngModule) {\n        super();\n        this.factory = factory;\n        this.ngModule = ngModule;\n        this.selector = factory.selector;\n        this.componentType = factory.componentType;\n        this.ngContentSelectors = factory.ngContentSelectors;\n        this.inputs = factory.inputs;\n        this.outputs = factory.outputs;\n    }\n    /**\n     * @param {?} injector\n     * @param {?=} projectableNodes\n     * @param {?=} rootSelectorOrNode\n     * @param {?=} ngModule\n     * @return {?}\n     */\n    create(injector, projectableNodes, rootSelectorOrNode, ngModule) {\n        return this.factory.create(injector, projectableNodes, rootSelectorOrNode, ngModule || this.ngModule);\n    }\n}\nif (false) {}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction noop(...args) {\n    // Do nothing.\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * A wrapper around a native element inside of a View.\n *\n * An `ElementRef` is backed by a render-specific element. In the browser, this is usually a DOM\n * element.\n *\n * \\@security Permitting direct access to the DOM can make your application more vulnerable to\n * XSS attacks. Carefully review any use of `ElementRef` in your code. For more detail, see the\n * [Security Guide](http://g.co/ng/security).\n *\n * \\@publicApi\n * @template T\n */\n// Note: We don't expose things like `Injector`, `ViewContainer`, ... here,\n// i.e. users have to ask for what they need. With that, we can build better analysis tools\n// and could do better codegen in the future.\nclass ElementRef {\n    /**\n     * @param {?} nativeElement\n     */\n    constructor(nativeElement) { this.nativeElement = nativeElement; }\n}\n/**\n * \\@internal\n * @nocollapse\n */\nElementRef.__NG_ELEMENT_ID__ = (/**\n * @return {?}\n */\n() => SWITCH_ELEMENT_REF_FACTORY(ElementRef));\nif (false) {}\n/** @type {?} */\nconst SWITCH_ELEMENT_REF_FACTORY__POST_R3__ = injectElementRef;\n/** @type {?} */\nconst SWITCH_ELEMENT_REF_FACTORY__PRE_R3__ = noop;\n/** @type {?} */\nconst SWITCH_ELEMENT_REF_FACTORY = SWITCH_ELEMENT_REF_FACTORY__PRE_R3__;\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @deprecated Use `RendererType2` (and `Renderer2`) instead.\n * \\@publicApi\n */\nclass RenderComponentType {\n    /**\n     * @param {?} id\n     * @param {?} templateUrl\n     * @param {?} slotCount\n     * @param {?} encapsulation\n     * @param {?} styles\n     * @param {?} animations\n     */\n    constructor(id, templateUrl, slotCount, encapsulation, styles, animations) {\n        this.id = id;\n        this.templateUrl = templateUrl;\n        this.slotCount = slotCount;\n        this.encapsulation = encapsulation;\n        this.styles = styles;\n        this.animations = animations;\n    }\n}\nif (false) {}\n/**\n * @deprecated Debug info is handled internally in the view engine now.\n * @abstract\n */\nclass RenderDebugInfo {\n}\nif (false) {}\n/**\n * @deprecated Use the `Renderer2` instead.\n * @record\n */\nfunction DirectRenderer() { }\nif (false) {}\n/**\n * @deprecated Use the `Renderer2` instead.\n * \\@publicApi\n * @abstract\n */\nclass Renderer {\n}\nif (false) {}\n/** @type {?} */\nconst Renderer2Interceptor = new InjectionToken('Renderer2Interceptor');\n/**\n * Injectable service that provides a low-level interface for modifying the UI.\n *\n * Use this service to bypass Angular's templating and make custom UI changes that can't be\n * expressed declaratively. For example if you need to set a property or an attribute whose name is\n * not statically known, use {\\@link Renderer#setElementProperty setElementProperty} or\n * {\\@link Renderer#setElementAttribute setElementAttribute} respectively.\n *\n * If you are implementing a custom renderer, you must implement this interface.\n *\n * The default Renderer implementation is `DomRenderer`. Also available is `WebWorkerRenderer`.\n *\n * @deprecated Use `RendererFactory2` instead.\n * \\@publicApi\n * @abstract\n */\nclass RootRenderer {\n}\nif (false) {}\n/**\n * Used by `RendererFactory2` to associate custom rendering data and styles\n * with a rendering implementation.\n * \\@publicApi\n * @record\n */\nfunction RendererType2() { }\nif (false) {}\n/**\n * Creates and initializes a custom renderer that implements the `Renderer2` base class.\n *\n * \\@publicApi\n * @abstract\n */\nclass RendererFactory2 {\n}\nif (false) {}\n/** @enum {number} */\nconst RendererStyleFlags2 = {\n    /**\n     * Marks a style as important.\n     */\n    Important: 1,\n    /**\n     * Marks a style as using dash case naming (this-is-dash-case).\n     */\n    DashCase: 2,\n};\nRendererStyleFlags2[RendererStyleFlags2.Important] = 'Important';\nRendererStyleFlags2[RendererStyleFlags2.DashCase] = 'DashCase';\n/**\n * Extend this base class to implement custom rendering. By default, Angular\n * renders a template into DOM. You can use custom rendering to intercept\n * rendering calls, or to render to something other than DOM.\n *\n * Create your custom renderer using `RendererFactory2`.\n *\n * Use a custom renderer to bypass Angular's templating and\n * make custom UI changes that can't be expressed declaratively.\n * For example if you need to set a property or an attribute whose name is\n * not statically known, use the `setProperty()` or\n * `setAttribute()` method.\n *\n * \\@publicApi\n * @abstract\n */\nclass Renderer2 {\n}\n/**\n * \\@internal\n * @nocollapse\n */\nRenderer2.__NG_ELEMENT_ID__ = (/**\n * @return {?}\n */\n() => SWITCH_RENDERER2_FACTORY());\nif (false) {}\n/** @type {?} */\nconst SWITCH_RENDERER2_FACTORY__POST_R3__ = injectRenderer2;\n/** @type {?} */\nconst SWITCH_RENDERER2_FACTORY__PRE_R3__ = noop;\n/** @type {?} */\nconst SWITCH_RENDERER2_FACTORY = SWITCH_RENDERER2_FACTORY__PRE_R3__;\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * \\@description Represents the version of Angular\n *\n * \\@publicApi\n */\nclass Version {\n    /**\n     * @param {?} full\n     */\n    constructor(full) {\n        this.full = full;\n        this.major = full.split('.')[0];\n        this.minor = full.split('.')[1];\n        this.patch = full.split('.').slice(2).join('.');\n    }\n}\nif (false) {}\n/**\n * \\@publicApi\n * @type {?}\n */\nconst VERSION = new Version('8.2.14');\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass DefaultIterableDifferFactory {\n    constructor() { }\n    /**\n     * @param {?} obj\n     * @return {?}\n     */\n    supports(obj) { return isListLikeIterable$1(obj); }\n    /**\n     * @template V\n     * @param {?=} trackByFn\n     * @return {?}\n     */\n    create(trackByFn) {\n        return new DefaultIterableDiffer(trackByFn);\n    }\n}\n/** @type {?} */\nconst trackByIdentity = (/**\n * @param {?} index\n * @param {?} item\n * @return {?}\n */\n(index, item) => item);\nconst ɵ0$d = trackByIdentity;\n/**\n * @deprecated v4.0.0 - Should not be part of public API.\n * \\@publicApi\n * @template V\n */\nclass DefaultIterableDiffer {\n    /**\n     * @param {?=} trackByFn\n     */\n    constructor(trackByFn) {\n        this.length = 0;\n        // Keeps track of the used records at any point in time (during & across `_check()` calls)\n        this._linkedRecords = null;\n        // Keeps track of the removed records at any point in time during `_check()` calls.\n        this._unlinkedRecords = null;\n        this._previousItHead = null;\n        this._itHead = null;\n        this._itTail = null;\n        this._additionsHead = null;\n        this._additionsTail = null;\n        this._movesHead = null;\n        this._movesTail = null;\n        this._removalsHead = null;\n        this._removalsTail = null;\n        // Keeps track of records where custom track by is the same, but item identity has changed\n        this._identityChangesHead = null;\n        this._identityChangesTail = null;\n        this._trackByFn = trackByFn || trackByIdentity;\n    }\n    /**\n     * @param {?} fn\n     * @return {?}\n     */\n    forEachItem(fn) {\n        /** @type {?} */\n        let record;\n        for (record = this._itHead; record !== null; record = record._next) {\n            fn(record);\n        }\n    }\n    /**\n     * @param {?} fn\n     * @return {?}\n     */\n    forEachOperation(fn) {\n        /** @type {?} */\n        let nextIt = this._itHead;\n        /** @type {?} */\n        let nextRemove = this._removalsHead;\n        /** @type {?} */\n        let addRemoveOffset = 0;\n        /** @type {?} */\n        let moveOffsets = null;\n        while (nextIt || nextRemove) {\n            // Figure out which is the next record to process\n            // Order: remove, add, move\n            /** @type {?} */\n            const record = !nextRemove ||\n                nextIt &&\n                    (/** @type {?} */ (nextIt.currentIndex)) <\n                        getPreviousIndex(nextRemove, addRemoveOffset, moveOffsets) ?\n                (/** @type {?} */ (nextIt)) :\n                nextRemove;\n            /** @type {?} */\n            const adjPreviousIndex = getPreviousIndex(record, addRemoveOffset, moveOffsets);\n            /** @type {?} */\n            const currentIndex = record.currentIndex;\n            // consume the item, and adjust the addRemoveOffset and update moveDistance if necessary\n            if (record === nextRemove) {\n                addRemoveOffset--;\n                nextRemove = nextRemove._nextRemoved;\n            }\n            else {\n                nextIt = (/** @type {?} */ (nextIt))._next;\n                if (record.previousIndex == null) {\n                    addRemoveOffset++;\n                }\n                else {\n                    // INVARIANT:  currentIndex < previousIndex\n                    if (!moveOffsets)\n                        moveOffsets = [];\n                    /** @type {?} */\n                    const localMovePreviousIndex = adjPreviousIndex - addRemoveOffset;\n                    /** @type {?} */\n                    const localCurrentIndex = (/** @type {?} */ (currentIndex)) - addRemoveOffset;\n                    if (localMovePreviousIndex != localCurrentIndex) {\n                        for (let i = 0; i < localMovePreviousIndex; i++) {\n                            /** @type {?} */\n                            const offset = i < moveOffsets.length ? moveOffsets[i] : (moveOffsets[i] = 0);\n                            /** @type {?} */\n                            const index = offset + i;\n                            if (localCurrentIndex <= index && index < localMovePreviousIndex) {\n                                moveOffsets[i] = offset + 1;\n                            }\n                        }\n                        /** @type {?} */\n                        const previousIndex = record.previousIndex;\n                        moveOffsets[previousIndex] = localCurrentIndex - localMovePreviousIndex;\n                    }\n                }\n            }\n            if (adjPreviousIndex !== currentIndex) {\n                fn(record, adjPreviousIndex, currentIndex);\n            }\n        }\n    }\n    /**\n     * @param {?} fn\n     * @return {?}\n     */\n    forEachPreviousItem(fn) {\n        /** @type {?} */\n        let record;\n        for (record = this._previousItHead; record !== null; record = record._nextPrevious) {\n            fn(record);\n        }\n    }\n    /**\n     * @param {?} fn\n     * @return {?}\n     */\n    forEachAddedItem(fn) {\n        /** @type {?} */\n        let record;\n        for (record = this._additionsHead; record !== null; record = record._nextAdded) {\n            fn(record);\n        }\n    }\n    /**\n     * @param {?} fn\n     * @return {?}\n     */\n    forEachMovedItem(fn) {\n        /** @type {?} */\n        let record;\n        for (record = this._movesHead; record !== null; record = record._nextMoved) {\n            fn(record);\n        }\n    }\n    /**\n     * @param {?} fn\n     * @return {?}\n     */\n    forEachRemovedItem(fn) {\n        /** @type {?} */\n        let record;\n        for (record = this._removalsHead; record !== null; record = record._nextRemoved) {\n            fn(record);\n        }\n    }\n    /**\n     * @param {?} fn\n     * @return {?}\n     */\n    forEachIdentityChange(fn) {\n        /** @type {?} */\n        let record;\n        for (record = this._identityChangesHead; record !== null; record = record._nextIdentityChange) {\n            fn(record);\n        }\n    }\n    /**\n     * @param {?} collection\n     * @return {?}\n     */\n    diff(collection) {\n        if (collection == null)\n            collection = [];\n        if (!isListLikeIterable$1(collection)) {\n            throw new Error(`Error trying to diff '${stringify(collection)}'. Only arrays and iterables are allowed`);\n        }\n        if (this.check(collection)) {\n            return this;\n        }\n        else {\n            return null;\n        }\n    }\n    /**\n     * @return {?}\n     */\n    onDestroy() { }\n    /**\n     * @param {?} collection\n     * @return {?}\n     */\n    check(collection) {\n        this._reset();\n        /** @type {?} */\n        let record = this._itHead;\n        /** @type {?} */\n        let mayBeDirty = false;\n        /** @type {?} */\n        let index;\n        /** @type {?} */\n        let item;\n        /** @type {?} */\n        let itemTrackBy;\n        if (Array.isArray(collection)) {\n            ((/** @type {?} */ (this))).length = collection.length;\n            for (let index = 0; index < this.length; index++) {\n                item = collection[index];\n                itemTrackBy = this._trackByFn(index, item);\n                if (record === null || !looseIdentical(record.trackById, itemTrackBy)) {\n                    record = this._mismatch(record, item, itemTrackBy, index);\n                    mayBeDirty = true;\n                }\n                else {\n                    if (mayBeDirty) {\n                        // TODO(misko): can we limit this to duplicates only?\n                        record = this._verifyReinsertion(record, item, itemTrackBy, index);\n                    }\n                    if (!looseIdentical(record.item, item))\n                        this._addIdentityChange(record, item);\n                }\n                record = record._next;\n            }\n        }\n        else {\n            index = 0;\n            iterateListLike$1(collection, (/**\n             * @param {?} item\n             * @return {?}\n             */\n            (item) => {\n                itemTrackBy = this._trackByFn(index, item);\n                if (record === null || !looseIdentical(record.trackById, itemTrackBy)) {\n                    record = this._mismatch(record, item, itemTrackBy, index);\n                    mayBeDirty = true;\n                }\n                else {\n                    if (mayBeDirty) {\n                        // TODO(misko): can we limit this to duplicates only?\n                        record = this._verifyReinsertion(record, item, itemTrackBy, index);\n                    }\n                    if (!looseIdentical(record.item, item))\n                        this._addIdentityChange(record, item);\n                }\n                record = record._next;\n                index++;\n            }));\n            ((/** @type {?} */ (this))).length = index;\n        }\n        this._truncate(record);\n        ((/** @type {?} */ (this))).collection = collection;\n        return this.isDirty;\n    }\n    /* CollectionChanges is considered dirty if it has any additions, moves, removals, or identity\n       * changes.\n       */\n    /**\n     * @return {?}\n     */\n    get isDirty() {\n        return this._additionsHead !== null || this._movesHead !== null ||\n            this._removalsHead !== null || this._identityChangesHead !== null;\n    }\n    /**\n     * Reset the state of the change objects to show no changes. This means set previousKey to\n     * currentKey, and clear all of the queues (additions, moves, removals).\n     * Set the previousIndexes of moved and added items to their currentIndexes\n     * Reset the list of additions, moves and removals\n     *\n     * \\@internal\n     * @return {?}\n     */\n    _reset() {\n        if (this.isDirty) {\n            /** @type {?} */\n            let record;\n            /** @type {?} */\n            let nextRecord;\n            for (record = this._previousItHead = this._itHead; record !== null; record = record._next) {\n                record._nextPrevious = record._next;\n            }\n            for (record = this._additionsHead; record !== null; record = record._nextAdded) {\n                record.previousIndex = record.currentIndex;\n            }\n            this._additionsHead = this._additionsTail = null;\n            for (record = this._movesHead; record !== null; record = nextRecord) {\n                record.previousIndex = record.currentIndex;\n                nextRecord = record._nextMoved;\n            }\n            this._movesHead = this._movesTail = null;\n            this._removalsHead = this._removalsTail = null;\n            this._identityChangesHead = this._identityChangesTail = null;\n            // TODO(vicb): when assert gets supported\n            // assert(!this.isDirty);\n        }\n    }\n    /**\n     * This is the core function which handles differences between collections.\n     *\n     * - `record` is the record which we saw at this position last time. If null then it is a new\n     *   item.\n     * - `item` is the current item in the collection\n     * - `index` is the position of the item in the collection\n     *\n     * \\@internal\n     * @param {?} record\n     * @param {?} item\n     * @param {?} itemTrackBy\n     * @param {?} index\n     * @return {?}\n     */\n    _mismatch(record, item, itemTrackBy, index) {\n        // The previous record after which we will append the current one.\n        /** @type {?} */\n        let previousRecord;\n        if (record === null) {\n            previousRecord = this._itTail;\n        }\n        else {\n            previousRecord = record._prev;\n            // Remove the record from the collection since we know it does not match the item.\n            this._remove(record);\n        }\n        // Attempt to see if we have seen the item before.\n        record = this._linkedRecords === null ? null : this._linkedRecords.get(itemTrackBy, index);\n        if (record !== null) {\n            // We have seen this before, we need to move it forward in the collection.\n            // But first we need to check if identity changed, so we can update in view if necessary\n            if (!looseIdentical(record.item, item))\n                this._addIdentityChange(record, item);\n            this._moveAfter(record, previousRecord, index);\n        }\n        else {\n            // Never seen it, check evicted list.\n            record = this._unlinkedRecords === null ? null : this._unlinkedRecords.get(itemTrackBy, null);\n            if (record !== null) {\n                // It is an item which we have evicted earlier: reinsert it back into the list.\n                // But first we need to check if identity changed, so we can update in view if necessary\n                if (!looseIdentical(record.item, item))\n                    this._addIdentityChange(record, item);\n                this._reinsertAfter(record, previousRecord, index);\n            }\n            else {\n                // It is a new item: add it.\n                record =\n                    this._addAfter(new IterableChangeRecord_(item, itemTrackBy), previousRecord, index);\n            }\n        }\n        return record;\n    }\n    /**\n     * This check is only needed if an array contains duplicates. (Short circuit of nothing dirty)\n     *\n     * Use case: `[a, a]` => `[b, a, a]`\n     *\n     * If we did not have this check then the insertion of `b` would:\n     *   1) evict first `a`\n     *   2) insert `b` at `0` index.\n     *   3) leave `a` at index `1` as is. <-- this is wrong!\n     *   3) reinsert `a` at index 2. <-- this is wrong!\n     *\n     * The correct behavior is:\n     *   1) evict first `a`\n     *   2) insert `b` at `0` index.\n     *   3) reinsert `a` at index 1.\n     *   3) move `a` at from `1` to `2`.\n     *\n     *\n     * Double check that we have not evicted a duplicate item. We need to check if the item type may\n     * have already been removed:\n     * The insertion of b will evict the first 'a'. If we don't reinsert it now it will be reinserted\n     * at the end. Which will show up as the two 'a's switching position. This is incorrect, since a\n     * better way to think of it is as insert of 'b' rather then switch 'a' with 'b' and then add 'a'\n     * at the end.\n     *\n     * \\@internal\n     * @param {?} record\n     * @param {?} item\n     * @param {?} itemTrackBy\n     * @param {?} index\n     * @return {?}\n     */\n    _verifyReinsertion(record, item, itemTrackBy, index) {\n        /** @type {?} */\n        let reinsertRecord = this._unlinkedRecords === null ? null : this._unlinkedRecords.get(itemTrackBy, null);\n        if (reinsertRecord !== null) {\n            record = this._reinsertAfter(reinsertRecord, (/** @type {?} */ (record._prev)), index);\n        }\n        else if (record.currentIndex != index) {\n            record.currentIndex = index;\n            this._addToMoves(record, index);\n        }\n        return record;\n    }\n    /**\n     * Get rid of any excess {\\@link IterableChangeRecord_}s from the previous collection\n     *\n     * - `record` The first excess {\\@link IterableChangeRecord_}.\n     *\n     * \\@internal\n     * @param {?} record\n     * @return {?}\n     */\n    _truncate(record) {\n        // Anything after that needs to be removed;\n        while (record !== null) {\n            /** @type {?} */\n            const nextRecord = record._next;\n            this._addToRemovals(this._unlink(record));\n            record = nextRecord;\n        }\n        if (this._unlinkedRecords !== null) {\n            this._unlinkedRecords.clear();\n        }\n        if (this._additionsTail !== null) {\n            this._additionsTail._nextAdded = null;\n        }\n        if (this._movesTail !== null) {\n            this._movesTail._nextMoved = null;\n        }\n        if (this._itTail !== null) {\n            this._itTail._next = null;\n        }\n        if (this._removalsTail !== null) {\n            this._removalsTail._nextRemoved = null;\n        }\n        if (this._identityChangesTail !== null) {\n            this._identityChangesTail._nextIdentityChange = null;\n        }\n    }\n    /**\n     * \\@internal\n     * @param {?} record\n     * @param {?} prevRecord\n     * @param {?} index\n     * @return {?}\n     */\n    _reinsertAfter(record, prevRecord, index) {\n        if (this._unlinkedRecords !== null) {\n            this._unlinkedRecords.remove(record);\n        }\n        /** @type {?} */\n        const prev = record._prevRemoved;\n        /** @type {?} */\n        const next = record._nextRemoved;\n        if (prev === null) {\n            this._removalsHead = next;\n        }\n        else {\n            prev._nextRemoved = next;\n        }\n        if (next === null) {\n            this._removalsTail = prev;\n        }\n        else {\n            next._prevRemoved = prev;\n        }\n        this._insertAfter(record, prevRecord, index);\n        this._addToMoves(record, index);\n        return record;\n    }\n    /**\n     * \\@internal\n     * @param {?} record\n     * @param {?} prevRecord\n     * @param {?} index\n     * @return {?}\n     */\n    _moveAfter(record, prevRecord, index) {\n        this._unlink(record);\n        this._insertAfter(record, prevRecord, index);\n        this._addToMoves(record, index);\n        return record;\n    }\n    /**\n     * \\@internal\n     * @param {?} record\n     * @param {?} prevRecord\n     * @param {?} index\n     * @return {?}\n     */\n    _addAfter(record, prevRecord, index) {\n        this._insertAfter(record, prevRecord, index);\n        if (this._additionsTail === null) {\n            // TODO(vicb):\n            // assert(this._additionsHead === null);\n            this._additionsTail = this._additionsHead = record;\n        }\n        else {\n            // TODO(vicb):\n            // assert(_additionsTail._nextAdded === null);\n            // assert(record._nextAdded === null);\n            this._additionsTail = this._additionsTail._nextAdded = record;\n        }\n        return record;\n    }\n    /**\n     * \\@internal\n     * @param {?} record\n     * @param {?} prevRecord\n     * @param {?} index\n     * @return {?}\n     */\n    _insertAfter(record, prevRecord, index) {\n        // TODO(vicb):\n        // assert(record != prevRecord);\n        // assert(record._next === null);\n        // assert(record._prev === null);\n        // TODO(vicb):\n        // assert(record != prevRecord);\n        // assert(record._next === null);\n        // assert(record._prev === null);\n        /** @type {?} */\n        const next = prevRecord === null ? this._itHead : prevRecord._next;\n        // TODO(vicb):\n        // assert(next != record);\n        // assert(prevRecord != record);\n        record._next = next;\n        record._prev = prevRecord;\n        if (next === null) {\n            this._itTail = record;\n        }\n        else {\n            next._prev = record;\n        }\n        if (prevRecord === null) {\n            this._itHead = record;\n        }\n        else {\n            prevRecord._next = record;\n        }\n        if (this._linkedRecords === null) {\n            this._linkedRecords = new _DuplicateMap();\n        }\n        this._linkedRecords.put(record);\n        record.currentIndex = index;\n        return record;\n    }\n    /**\n     * \\@internal\n     * @param {?} record\n     * @return {?}\n     */\n    _remove(record) {\n        return this._addToRemovals(this._unlink(record));\n    }\n    /**\n     * \\@internal\n     * @param {?} record\n     * @return {?}\n     */\n    _unlink(record) {\n        if (this._linkedRecords !== null) {\n            this._linkedRecords.remove(record);\n        }\n        /** @type {?} */\n        const prev = record._prev;\n        /** @type {?} */\n        const next = record._next;\n        // TODO(vicb):\n        // assert((record._prev = null) === null);\n        // assert((record._next = null) === null);\n        if (prev === null) {\n            this._itHead = next;\n        }\n        else {\n            prev._next = next;\n        }\n        if (next === null) {\n            this._itTail = prev;\n        }\n        else {\n            next._prev = prev;\n        }\n        return record;\n    }\n    /**\n     * \\@internal\n     * @param {?} record\n     * @param {?} toIndex\n     * @return {?}\n     */\n    _addToMoves(record, toIndex) {\n        // TODO(vicb):\n        // assert(record._nextMoved === null);\n        if (record.previousIndex === toIndex) {\n            return record;\n        }\n        if (this._movesTail === null) {\n            // TODO(vicb):\n            // assert(_movesHead === null);\n            this._movesTail = this._movesHead = record;\n        }\n        else {\n            // TODO(vicb):\n            // assert(_movesTail._nextMoved === null);\n            this._movesTail = this._movesTail._nextMoved = record;\n        }\n        return record;\n    }\n    /**\n     * @private\n     * @param {?} record\n     * @return {?}\n     */\n    _addToRemovals(record) {\n        if (this._unlinkedRecords === null) {\n            this._unlinkedRecords = new _DuplicateMap();\n        }\n        this._unlinkedRecords.put(record);\n        record.currentIndex = null;\n        record._nextRemoved = null;\n        if (this._removalsTail === null) {\n            // TODO(vicb):\n            // assert(_removalsHead === null);\n            this._removalsTail = this._removalsHead = record;\n            record._prevRemoved = null;\n        }\n        else {\n            // TODO(vicb):\n            // assert(_removalsTail._nextRemoved === null);\n            // assert(record._nextRemoved === null);\n            record._prevRemoved = this._removalsTail;\n            this._removalsTail = this._removalsTail._nextRemoved = record;\n        }\n        return record;\n    }\n    /**\n     * \\@internal\n     * @param {?} record\n     * @param {?} item\n     * @return {?}\n     */\n    _addIdentityChange(record, item) {\n        record.item = item;\n        if (this._identityChangesTail === null) {\n            this._identityChangesTail = this._identityChangesHead = record;\n        }\n        else {\n            this._identityChangesTail = this._identityChangesTail._nextIdentityChange = record;\n        }\n        return record;\n    }\n}\nif (false) {}\n/**\n * @template V\n */\nclass IterableChangeRecord_ {\n    /**\n     * @param {?} item\n     * @param {?} trackById\n     */\n    constructor(item, trackById) {\n        this.item = item;\n        this.trackById = trackById;\n        this.currentIndex = null;\n        this.previousIndex = null;\n        /**\n         * \\@internal\n         */\n        this._nextPrevious = null;\n        /**\n         * \\@internal\n         */\n        this._prev = null;\n        /**\n         * \\@internal\n         */\n        this._next = null;\n        /**\n         * \\@internal\n         */\n        this._prevDup = null;\n        /**\n         * \\@internal\n         */\n        this._nextDup = null;\n        /**\n         * \\@internal\n         */\n        this._prevRemoved = null;\n        /**\n         * \\@internal\n         */\n        this._nextRemoved = null;\n        /**\n         * \\@internal\n         */\n        this._nextAdded = null;\n        /**\n         * \\@internal\n         */\n        this._nextMoved = null;\n        /**\n         * \\@internal\n         */\n        this._nextIdentityChange = null;\n    }\n}\nif (false) {}\n// A linked list of CollectionChangeRecords with the same IterableChangeRecord_.item\n/**\n * @template V\n */\nclass _DuplicateItemRecordList {\n    constructor() {\n        /**\n         * \\@internal\n         */\n        this._head = null;\n        /**\n         * \\@internal\n         */\n        this._tail = null;\n    }\n    /**\n     * Append the record to the list of duplicates.\n     *\n     * Note: by design all records in the list of duplicates hold the same value in record.item.\n     * @param {?} record\n     * @return {?}\n     */\n    add(record) {\n        if (this._head === null) {\n            this._head = this._tail = record;\n            record._nextDup = null;\n            record._prevDup = null;\n        }\n        else {\n            // TODO(vicb):\n            // assert(record.item ==  _head.item ||\n            //       record.item is num && record.item.isNaN && _head.item is num && _head.item.isNaN);\n            (/** @type {?} */ (this._tail))._nextDup = record;\n            record._prevDup = this._tail;\n            record._nextDup = null;\n            this._tail = record;\n        }\n    }\n    // Returns a IterableChangeRecord_ having IterableChangeRecord_.trackById == trackById and\n    // IterableChangeRecord_.currentIndex >= atOrAfterIndex\n    /**\n     * @param {?} trackById\n     * @param {?} atOrAfterIndex\n     * @return {?}\n     */\n    get(trackById, atOrAfterIndex) {\n        /** @type {?} */\n        let record;\n        for (record = this._head; record !== null; record = record._nextDup) {\n            if ((atOrAfterIndex === null || atOrAfterIndex <= (/** @type {?} */ (record.currentIndex))) &&\n                looseIdentical(record.trackById, trackById)) {\n                return record;\n            }\n        }\n        return null;\n    }\n    /**\n     * Remove one {\\@link IterableChangeRecord_} from the list of duplicates.\n     *\n     * Returns whether the list of duplicates is empty.\n     * @param {?} record\n     * @return {?}\n     */\n    remove(record) {\n        // TODO(vicb):\n        // assert(() {\n        //  // verify that the record being removed is in the list.\n        //  for (IterableChangeRecord_ cursor = _head; cursor != null; cursor = cursor._nextDup) {\n        //    if (identical(cursor, record)) return true;\n        //  }\n        //  return false;\n        //});\n        // TODO(vicb):\n        // assert(() {\n        //  // verify that the record being removed is in the list.\n        //  for (IterableChangeRecord_ cursor = _head; cursor != null; cursor = cursor._nextDup) {\n        //    if (identical(cursor, record)) return true;\n        //  }\n        //  return false;\n        //});\n        /** @type {?} */\n        const prev = record._prevDup;\n        /** @type {?} */\n        const next = record._nextDup;\n        if (prev === null) {\n            this._head = next;\n        }\n        else {\n            prev._nextDup = next;\n        }\n        if (next === null) {\n            this._tail = prev;\n        }\n        else {\n            next._prevDup = prev;\n        }\n        return this._head === null;\n    }\n}\nif (false) {}\n/**\n * @template V\n */\nclass _DuplicateMap {\n    constructor() {\n        this.map = new Map();\n    }\n    /**\n     * @param {?} record\n     * @return {?}\n     */\n    put(record) {\n        /** @type {?} */\n        const key = record.trackById;\n        /** @type {?} */\n        let duplicates = this.map.get(key);\n        if (!duplicates) {\n            duplicates = new _DuplicateItemRecordList();\n            this.map.set(key, duplicates);\n        }\n        duplicates.add(record);\n    }\n    /**\n     * Retrieve the `value` using key. Because the IterableChangeRecord_ value may be one which we\n     * have already iterated over, we use the `atOrAfterIndex` to pretend it is not there.\n     *\n     * Use case: `[a, b, c, a, a]` if we are at index `3` which is the second `a` then asking if we\n     * have any more `a`s needs to return the second `a`.\n     * @param {?} trackById\n     * @param {?} atOrAfterIndex\n     * @return {?}\n     */\n    get(trackById, atOrAfterIndex) {\n        /** @type {?} */\n        const key = trackById;\n        /** @type {?} */\n        const recordList = this.map.get(key);\n        return recordList ? recordList.get(trackById, atOrAfterIndex) : null;\n    }\n    /**\n     * Removes a {\\@link IterableChangeRecord_} from the list of duplicates.\n     *\n     * The list of duplicates also is removed from the map if it gets empty.\n     * @param {?} record\n     * @return {?}\n     */\n    remove(record) {\n        /** @type {?} */\n        const key = record.trackById;\n        /** @type {?} */\n        const recordList = (/** @type {?} */ (this.map.get(key)));\n        // Remove the list of duplicates when it gets empty\n        if (recordList.remove(record)) {\n            this.map.delete(key);\n        }\n        return record;\n    }\n    /**\n     * @return {?}\n     */\n    get isEmpty() { return this.map.size === 0; }\n    /**\n     * @return {?}\n     */\n    clear() { this.map.clear(); }\n}\nif (false) {}\n/**\n * @param {?} item\n * @param {?} addRemoveOffset\n * @param {?} moveOffsets\n * @return {?}\n */\nfunction getPreviousIndex(item, addRemoveOffset, moveOffsets) {\n    /** @type {?} */\n    const previousIndex = item.previousIndex;\n    if (previousIndex === null)\n        return previousIndex;\n    /** @type {?} */\n    let moveOffset = 0;\n    if (moveOffsets && previousIndex < moveOffsets.length) {\n        moveOffset = moveOffsets[previousIndex];\n    }\n    return previousIndex + addRemoveOffset + moveOffset;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @template K, V\n */\nclass DefaultKeyValueDifferFactory {\n    constructor() { }\n    /**\n     * @param {?} obj\n     * @return {?}\n     */\n    supports(obj) { return obj instanceof Map || isJsObject$1(obj); }\n    /**\n     * @template K, V\n     * @return {?}\n     */\n    create() { return new DefaultKeyValueDiffer(); }\n}\n/**\n * @template K, V\n */\nclass DefaultKeyValueDiffer {\n    constructor() {\n        this._records = new Map();\n        this._mapHead = null;\n        // _appendAfter is used in the check loop\n        this._appendAfter = null;\n        this._previousMapHead = null;\n        this._changesHead = null;\n        this._changesTail = null;\n        this._additionsHead = null;\n        this._additionsTail = null;\n        this._removalsHead = null;\n        this._removalsTail = null;\n    }\n    /**\n     * @return {?}\n     */\n    get isDirty() {\n        return this._additionsHead !== null || this._changesHead !== null ||\n            this._removalsHead !== null;\n    }\n    /**\n     * @param {?} fn\n     * @return {?}\n     */\n    forEachItem(fn) {\n        /** @type {?} */\n        let record;\n        for (record = this._mapHead; record !== null; record = record._next) {\n            fn(record);\n        }\n    }\n    /**\n     * @param {?} fn\n     * @return {?}\n     */\n    forEachPreviousItem(fn) {\n        /** @type {?} */\n        let record;\n        for (record = this._previousMapHead; record !== null; record = record._nextPrevious) {\n            fn(record);\n        }\n    }\n    /**\n     * @param {?} fn\n     * @return {?}\n     */\n    forEachChangedItem(fn) {\n        /** @type {?} */\n        let record;\n        for (record = this._changesHead; record !== null; record = record._nextChanged) {\n            fn(record);\n        }\n    }\n    /**\n     * @param {?} fn\n     * @return {?}\n     */\n    forEachAddedItem(fn) {\n        /** @type {?} */\n        let record;\n        for (record = this._additionsHead; record !== null; record = record._nextAdded) {\n            fn(record);\n        }\n    }\n    /**\n     * @param {?} fn\n     * @return {?}\n     */\n    forEachRemovedItem(fn) {\n        /** @type {?} */\n        let record;\n        for (record = this._removalsHead; record !== null; record = record._nextRemoved) {\n            fn(record);\n        }\n    }\n    /**\n     * @param {?=} map\n     * @return {?}\n     */\n    diff(map) {\n        if (!map) {\n            map = new Map();\n        }\n        else if (!(map instanceof Map || isJsObject$1(map))) {\n            throw new Error(`Error trying to diff '${stringify(map)}'. Only maps and objects are allowed`);\n        }\n        return this.check(map) ? this : null;\n    }\n    /**\n     * @return {?}\n     */\n    onDestroy() { }\n    /**\n     * Check the current state of the map vs the previous.\n     * The algorithm is optimised for when the keys do no change.\n     * @param {?} map\n     * @return {?}\n     */\n    check(map) {\n        this._reset();\n        /** @type {?} */\n        let insertBefore = this._mapHead;\n        this._appendAfter = null;\n        this._forEach(map, (/**\n         * @param {?} value\n         * @param {?} key\n         * @return {?}\n         */\n        (value, key) => {\n            if (insertBefore && insertBefore.key === key) {\n                this._maybeAddToChanges(insertBefore, value);\n                this._appendAfter = insertBefore;\n                insertBefore = insertBefore._next;\n            }\n            else {\n                /** @type {?} */\n                const record = this._getOrCreateRecordForKey(key, value);\n                insertBefore = this._insertBeforeOrAppend(insertBefore, record);\n            }\n        }));\n        // Items remaining at the end of the list have been deleted\n        if (insertBefore) {\n            if (insertBefore._prev) {\n                insertBefore._prev._next = null;\n            }\n            this._removalsHead = insertBefore;\n            for (let record = insertBefore; record !== null; record = record._nextRemoved) {\n                if (record === this._mapHead) {\n                    this._mapHead = null;\n                }\n                this._records.delete(record.key);\n                record._nextRemoved = record._next;\n                record.previousValue = record.currentValue;\n                record.currentValue = null;\n                record._prev = null;\n                record._next = null;\n            }\n        }\n        // Make sure tails have no next records from previous runs\n        if (this._changesTail)\n            this._changesTail._nextChanged = null;\n        if (this._additionsTail)\n            this._additionsTail._nextAdded = null;\n        return this.isDirty;\n    }\n    /**\n     * Inserts a record before `before` or append at the end of the list when `before` is null.\n     *\n     * Notes:\n     * - This method appends at `this._appendAfter`,\n     * - This method updates `this._appendAfter`,\n     * - The return value is the new value for the insertion pointer.\n     * @private\n     * @param {?} before\n     * @param {?} record\n     * @return {?}\n     */\n    _insertBeforeOrAppend(before, record) {\n        if (before) {\n            /** @type {?} */\n            const prev = before._prev;\n            record._next = before;\n            record._prev = prev;\n            before._prev = record;\n            if (prev) {\n                prev._next = record;\n            }\n            if (before === this._mapHead) {\n                this._mapHead = record;\n            }\n            this._appendAfter = before;\n            return before;\n        }\n        if (this._appendAfter) {\n            this._appendAfter._next = record;\n            record._prev = this._appendAfter;\n        }\n        else {\n            this._mapHead = record;\n        }\n        this._appendAfter = record;\n        return null;\n    }\n    /**\n     * @private\n     * @param {?} key\n     * @param {?} value\n     * @return {?}\n     */\n    _getOrCreateRecordForKey(key, value) {\n        if (this._records.has(key)) {\n            /** @type {?} */\n            const record = (/** @type {?} */ (this._records.get(key)));\n            this._maybeAddToChanges(record, value);\n            /** @type {?} */\n            const prev = record._prev;\n            /** @type {?} */\n            const next = record._next;\n            if (prev) {\n                prev._next = next;\n            }\n            if (next) {\n                next._prev = prev;\n            }\n            record._next = null;\n            record._prev = null;\n            return record;\n        }\n        /** @type {?} */\n        const record = new KeyValueChangeRecord_(key);\n        this._records.set(key, record);\n        record.currentValue = value;\n        this._addToAdditions(record);\n        return record;\n    }\n    /**\n     * \\@internal\n     * @return {?}\n     */\n    _reset() {\n        if (this.isDirty) {\n            /** @type {?} */\n            let record;\n            // let `_previousMapHead` contain the state of the map before the changes\n            this._previousMapHead = this._mapHead;\n            for (record = this._previousMapHead; record !== null; record = record._next) {\n                record._nextPrevious = record._next;\n            }\n            // Update `record.previousValue` with the value of the item before the changes\n            // We need to update all changed items (that's those which have been added and changed)\n            for (record = this._changesHead; record !== null; record = record._nextChanged) {\n                record.previousValue = record.currentValue;\n            }\n            for (record = this._additionsHead; record != null; record = record._nextAdded) {\n                record.previousValue = record.currentValue;\n            }\n            this._changesHead = this._changesTail = null;\n            this._additionsHead = this._additionsTail = null;\n            this._removalsHead = null;\n        }\n    }\n    // Add the record or a given key to the list of changes only when the value has actually changed\n    /**\n     * @private\n     * @param {?} record\n     * @param {?} newValue\n     * @return {?}\n     */\n    _maybeAddToChanges(record, newValue) {\n        if (!looseIdentical(newValue, record.currentValue)) {\n            record.previousValue = record.currentValue;\n            record.currentValue = newValue;\n            this._addToChanges(record);\n        }\n    }\n    /**\n     * @private\n     * @param {?} record\n     * @return {?}\n     */\n    _addToAdditions(record) {\n        if (this._additionsHead === null) {\n            this._additionsHead = this._additionsTail = record;\n        }\n        else {\n            (/** @type {?} */ (this._additionsTail))._nextAdded = record;\n            this._additionsTail = record;\n        }\n    }\n    /**\n     * @private\n     * @param {?} record\n     * @return {?}\n     */\n    _addToChanges(record) {\n        if (this._changesHead === null) {\n            this._changesHead = this._changesTail = record;\n        }\n        else {\n            (/** @type {?} */ (this._changesTail))._nextChanged = record;\n            this._changesTail = record;\n        }\n    }\n    /**\n     * \\@internal\n     * @private\n     * @template K, V\n     * @param {?} obj\n     * @param {?} fn\n     * @return {?}\n     */\n    _forEach(obj, fn) {\n        if (obj instanceof Map) {\n            obj.forEach(fn);\n        }\n        else {\n            Object.keys(obj).forEach((/**\n             * @param {?} k\n             * @return {?}\n             */\n            k => fn(obj[k], k)));\n        }\n    }\n}\nif (false) {}\n/**\n * @template K, V\n */\nclass KeyValueChangeRecord_ {\n    /**\n     * @param {?} key\n     */\n    constructor(key) {\n        this.key = key;\n        this.previousValue = null;\n        this.currentValue = null;\n        /**\n         * \\@internal\n         */\n        this._nextPrevious = null;\n        /**\n         * \\@internal\n         */\n        this._next = null;\n        /**\n         * \\@internal\n         */\n        this._prev = null;\n        /**\n         * \\@internal\n         */\n        this._nextAdded = null;\n        /**\n         * \\@internal\n         */\n        this._nextRemoved = null;\n        /**\n         * \\@internal\n         */\n        this._nextChanged = null;\n    }\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * A strategy for tracking changes over time to an iterable. Used by {\\@link NgForOf} to\n * respond to changes in an iterable by effecting equivalent changes in the DOM.\n *\n * \\@publicApi\n * @record\n * @template V\n */\nfunction IterableDiffer() { }\nif (false) {}\n/**\n * An object describing the changes in the `Iterable` collection since last time\n * `IterableDiffer#diff()` was invoked.\n *\n * \\@publicApi\n * @record\n * @template V\n */\nfunction IterableChanges() { }\nif (false) {}\n/**\n * Record representing the item change information.\n *\n * \\@publicApi\n * @record\n * @template V\n */\nfunction IterableChangeRecord() { }\nif (false) {}\n/**\n * @deprecated v4.0.0 - Use IterableChangeRecord instead.\n * \\@publicApi\n * @record\n * @template V\n */\nfunction CollectionChangeRecord() { }\n/**\n * An optional function passed into the `NgForOf` directive that defines how to track\n * changes for items in an iterable.\n * The function takes the iteration index and item ID.\n * When supplied, Angular tracks changes by the return value of the function.\n *\n * \\@publicApi\n * @record\n * @template T\n */\nfunction TrackByFunction() { }\n/**\n * Provides a factory for {\\@link IterableDiffer}.\n *\n * \\@publicApi\n * @record\n */\nfunction IterableDifferFactory() { }\nif (false) {}\n/**\n * A repository of different iterable diffing strategies used by NgFor, NgClass, and others.\n *\n * \\@publicApi\n */\nclass IterableDiffers {\n    /**\n     * @param {?} factories\n     */\n    constructor(factories) { this.factories = factories; }\n    /**\n     * @param {?} factories\n     * @param {?=} parent\n     * @return {?}\n     */\n    static create(factories, parent) {\n        if (parent != null) {\n            /** @type {?} */\n            const copied = parent.factories.slice();\n            factories = factories.concat(copied);\n        }\n        return new IterableDiffers(factories);\n    }\n    /**\n     * Takes an array of {\\@link IterableDifferFactory} and returns a provider used to extend the\n     * inherited {\\@link IterableDiffers} instance with the provided factories and return a new\n     * {\\@link IterableDiffers} instance.\n     *\n     * \\@usageNotes\n     * ### Example\n     *\n     * The following example shows how to extend an existing list of factories,\n     * which will only be applied to the injector for this component and its children.\n     * This step is all that's required to make a new {\\@link IterableDiffer} available.\n     *\n     * ```\n     * \\@Component({\n     *   viewProviders: [\n     *     IterableDiffers.extend([new ImmutableListDiffer()])\n     *   ]\n     * })\n     * ```\n     * @param {?} factories\n     * @return {?}\n     */\n    static extend(factories) {\n        return {\n            provide: IterableDiffers,\n            useFactory: (/**\n             * @param {?} parent\n             * @return {?}\n             */\n            (parent) => {\n                if (!parent) {\n                    // Typically would occur when calling IterableDiffers.extend inside of dependencies passed\n                    // to\n                    // bootstrap(), which would override default pipes instead of extending them.\n                    throw new Error('Cannot extend IterableDiffers without a parent injector');\n                }\n                return IterableDiffers.create(factories, parent);\n            }),\n            // Dependency technically isn't optional, but we can provide a better error message this way.\n            deps: [[IterableDiffers, new SkipSelf(), new Optional()]]\n        };\n    }\n    /**\n     * @param {?} iterable\n     * @return {?}\n     */\n    find(iterable) {\n        /** @type {?} */\n        const factory = this.factories.find((/**\n         * @param {?} f\n         * @return {?}\n         */\n        f => f.supports(iterable)));\n        if (factory != null) {\n            return factory;\n        }\n        else {\n            throw new Error(`Cannot find a differ supporting object '${iterable}' of type '${getTypeNameForDebugging(iterable)}'`);\n        }\n    }\n}\n/** @nocollapse */\n/** @nocollapse */ IterableDiffers.ngInjectableDef = ɵɵdefineInjectable({\n    token: IterableDiffers,\n    providedIn: 'root',\n    factory: (/**\n     * @nocollapse @return {?}\n     */\n    () => new IterableDiffers([new DefaultIterableDifferFactory()]))\n});\nif (false) {}\n/**\n * @param {?} type\n * @return {?}\n */\nfunction getTypeNameForDebugging(type) {\n    return type['name'] || typeof type;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * A differ that tracks changes made to an object over time.\n *\n * \\@publicApi\n * @record\n * @template K, V\n */\nfunction KeyValueDiffer() { }\nif (false) {}\n/**\n * An object describing the changes in the `Map` or `{[k:string]: string}` since last time\n * `KeyValueDiffer#diff()` was invoked.\n *\n * \\@publicApi\n * @record\n * @template K, V\n */\nfunction KeyValueChanges() { }\nif (false) {}\n/**\n * Record representing the item change information.\n *\n * \\@publicApi\n * @record\n * @template K, V\n */\nfunction KeyValueChangeRecord() { }\nif (false) {}\n/**\n * Provides a factory for {\\@link KeyValueDiffer}.\n *\n * \\@publicApi\n * @record\n */\nfunction KeyValueDifferFactory() { }\nif (false) {}\n/**\n * A repository of different Map diffing strategies used by NgClass, NgStyle, and others.\n *\n * \\@publicApi\n */\nclass KeyValueDiffers {\n    /**\n     * @param {?} factories\n     */\n    constructor(factories) { this.factories = factories; }\n    /**\n     * @template S\n     * @param {?} factories\n     * @param {?=} parent\n     * @return {?}\n     */\n    static create(factories, parent) {\n        if (parent) {\n            /** @type {?} */\n            const copied = parent.factories.slice();\n            factories = factories.concat(copied);\n        }\n        return new KeyValueDiffers(factories);\n    }\n    /**\n     * Takes an array of {\\@link KeyValueDifferFactory} and returns a provider used to extend the\n     * inherited {\\@link KeyValueDiffers} instance with the provided factories and return a new\n     * {\\@link KeyValueDiffers} instance.\n     *\n     * \\@usageNotes\n     * ### Example\n     *\n     * The following example shows how to extend an existing list of factories,\n     * which will only be applied to the injector for this component and its children.\n     * This step is all that's required to make a new {\\@link KeyValueDiffer} available.\n     *\n     * ```\n     * \\@Component({\n     *   viewProviders: [\n     *     KeyValueDiffers.extend([new ImmutableMapDiffer()])\n     *   ]\n     * })\n     * ```\n     * @template S\n     * @param {?} factories\n     * @return {?}\n     */\n    static extend(factories) {\n        return {\n            provide: KeyValueDiffers,\n            useFactory: (/**\n             * @param {?} parent\n             * @return {?}\n             */\n            (parent) => {\n                if (!parent) {\n                    // Typically would occur when calling KeyValueDiffers.extend inside of dependencies passed\n                    // to bootstrap(), which would override default pipes instead of extending them.\n                    throw new Error('Cannot extend KeyValueDiffers without a parent injector');\n                }\n                return KeyValueDiffers.create(factories, parent);\n            }),\n            // Dependency technically isn't optional, but we can provide a better error message this way.\n            deps: [[KeyValueDiffers, new SkipSelf(), new Optional()]]\n        };\n    }\n    /**\n     * @param {?} kv\n     * @return {?}\n     */\n    find(kv) {\n        /** @type {?} */\n        const factory = this.factories.find((/**\n         * @param {?} f\n         * @return {?}\n         */\n        f => f.supports(kv)));\n        if (factory) {\n            return factory;\n        }\n        throw new Error(`Cannot find a differ supporting object '${kv}'`);\n    }\n}\n/** @nocollapse */\n/** @nocollapse */ KeyValueDiffers.ngInjectableDef = ɵɵdefineInjectable({\n    token: KeyValueDiffers,\n    providedIn: 'root',\n    factory: (/**\n     * @nocollapse @return {?}\n     */\n    () => new KeyValueDiffers([new DefaultKeyValueDifferFactory()]))\n});\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Structural diffing for `Object`s and `Map`s.\n * @type {?}\n */\nconst keyValDiff = [new DefaultKeyValueDifferFactory()];\n/**\n * Structural diffing for `Iterable` types such as `Array`s.\n * @type {?}\n */\nconst iterableDiff = [new DefaultIterableDifferFactory()];\n/** @type {?} */\nconst defaultIterableDiffers = new IterableDiffers(iterableDiff);\n/** @type {?} */\nconst defaultKeyValueDiffers = new KeyValueDiffers(keyValDiff);\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Represents an embedded template that can be used to instantiate embedded views.\n * To instantiate embedded views based on a template, use the `ViewContainerRef`\n * method `createEmbeddedView()`.\n *\n * Access a `TemplateRef` instance by placing a directive on an `<ng-template>`\n * element (or directive prefixed with `*`). The `TemplateRef` for the embedded view\n * is injected into the constructor of the directive,\n * using the `TemplateRef` token.\n *\n * You can also use a `Query` to find a `TemplateRef` associated with\n * a component or a directive.\n *\n * @see `ViewContainerRef`\n * @see [Navigate the Component Tree with DI](guide/dependency-injection-navtree)\n *\n * \\@publicApi\n * @abstract\n * @template C\n */\nclass TemplateRef {\n}\n/**\n * \\@internal\n * @nocollapse\n */\nTemplateRef.__NG_ELEMENT_ID__ = (/**\n * @return {?}\n */\n() => SWITCH_TEMPLATE_REF_FACTORY(TemplateRef, ElementRef));\nif (false) {}\n/** @type {?} */\nconst SWITCH_TEMPLATE_REF_FACTORY__POST_R3__ = injectTemplateRef;\n/** @type {?} */\nconst SWITCH_TEMPLATE_REF_FACTORY__PRE_R3__ = noop;\n/** @type {?} */\nconst SWITCH_TEMPLATE_REF_FACTORY = SWITCH_TEMPLATE_REF_FACTORY__PRE_R3__;\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Represents a container where one or more views can be attached to a component.\n *\n * Can contain *host views* (created by instantiating a\n * component with the `createComponent()` method), and *embedded views*\n * (created by instantiating a `TemplateRef` with the `createEmbeddedView()` method).\n *\n * A view container instance can contain other view containers,\n * creating a [view hierarchy](guide/glossary#view-tree).\n *\n * @see `ComponentRef`\n * @see `EmbeddedViewRef`\n *\n * \\@publicApi\n * @abstract\n */\nclass ViewContainerRef {\n}\n/**\n * \\@internal\n * @nocollapse\n */\nViewContainerRef.__NG_ELEMENT_ID__ = (/**\n * @return {?}\n */\n() => SWITCH_VIEW_CONTAINER_REF_FACTORY(ViewContainerRef, ElementRef));\nif (false) {}\n/** @type {?} */\nconst SWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__ = injectViewContainerRef;\n/** @type {?} */\nconst SWITCH_VIEW_CONTAINER_REF_FACTORY__PRE_R3__ = noop;\n/** @type {?} */\nconst SWITCH_VIEW_CONTAINER_REF_FACTORY = SWITCH_VIEW_CONTAINER_REF_FACTORY__PRE_R3__;\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @param {?} context\n * @param {?} oldValue\n * @param {?} currValue\n * @param {?} isFirstCheck\n * @return {?}\n */\nfunction expressionChangedAfterItHasBeenCheckedError(context, oldValue, currValue, isFirstCheck) {\n    /** @type {?} */\n    let msg = `ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '${oldValue}'. Current value: '${currValue}'.`;\n    if (isFirstCheck) {\n        msg +=\n            ` It seems like the view has been created after its parent and its children have been dirty checked.` +\n                ` Has it been created in a change detection hook ?`;\n    }\n    return viewDebugError(msg, context);\n}\n/**\n * @param {?} err\n * @param {?} context\n * @return {?}\n */\nfunction viewWrappedDebugError(err, context) {\n    if (!(err instanceof Error)) {\n        // errors that are not Error instances don't have a stack,\n        // so it is ok to wrap them into a new Error object...\n        err = new Error(err.toString());\n    }\n    _addDebugContext(err, context);\n    return err;\n}\n/**\n * @param {?} msg\n * @param {?} context\n * @return {?}\n */\nfunction viewDebugError(msg, context) {\n    /** @type {?} */\n    const err = new Error(msg);\n    _addDebugContext(err, context);\n    return err;\n}\n/**\n * @param {?} err\n * @param {?} context\n * @return {?}\n */\nfunction _addDebugContext(err, context) {\n    ((/** @type {?} */ (err)))[ERROR_DEBUG_CONTEXT] = context;\n    ((/** @type {?} */ (err)))[ERROR_LOGGER] = context.logError.bind(context);\n}\n/**\n * @param {?} err\n * @return {?}\n */\nfunction isViewDebugError(err) {\n    return !!getDebugContext(err);\n}\n/**\n * @param {?} action\n * @return {?}\n */\nfunction viewDestroyedError(action) {\n    return new Error(`ViewDestroyedError: Attempt to use a destroyed view: ${action}`);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Factory for ViewDefinitions/NgModuleDefinitions.\n * We use a function so we can reexeute it in case an error happens and use the given logger\n * function to log the error from the definition of the node, which is shown in all browser\n * logs.\n * @record\n * @template D\n */\nfunction DefinitionFactory() { }\n/**\n * Function to call console.error at the right source location. This is an indirection\n * via another function as browser will log the location that actually called\n * `console.error`.\n * @record\n */\nfunction NodeLogger() { }\n/**\n * @record\n * @template DF\n */\nfunction Definition() { }\nif (false) {}\n/**\n * @record\n */\nfunction NgModuleDefinition() { }\nif (false) {}\n/**\n * @record\n */\nfunction NgModuleDefinitionFactory() { }\n/**\n * @record\n */\nfunction ViewDefinition() { }\nif (false) {}\n/**\n * @record\n */\nfunction ViewDefinitionFactory() { }\n/**\n * @record\n */\nfunction ViewUpdateFn() { }\n/**\n * @record\n */\nfunction NodeCheckFn() { }\n/** @enum {number} */\nconst ArgumentType = {\n    Inline: 0, Dynamic: 1,\n};\n/**\n * @record\n */\nfunction ViewHandleEventFn() { }\n/** @enum {number} */\nconst ViewFlags = {\n    None: 0,\n    OnPush: 2,\n};\n/**\n * A node definition in the view.\n *\n * Note: We use one type for all nodes so that loops that loop over all nodes\n * of a ViewDefinition stay monomorphic!\n * @record\n */\nfunction NodeDef() { }\nif (false) {}\n/** @enum {number} */\nconst NodeFlags = {\n    None: 0,\n    TypeElement: 1,\n    TypeText: 2,\n    ProjectedTemplate: 4,\n    CatRenderNode: 3,\n    TypeNgContent: 8,\n    TypePipe: 16,\n    TypePureArray: 32,\n    TypePureObject: 64,\n    TypePurePipe: 128,\n    CatPureExpression: 224,\n    TypeValueProvider: 256,\n    TypeClassProvider: 512,\n    TypeFactoryProvider: 1024,\n    TypeUseExistingProvider: 2048,\n    LazyProvider: 4096,\n    PrivateProvider: 8192,\n    TypeDirective: 16384,\n    Component: 32768,\n    CatProviderNoDirective: 3840,\n    CatProvider: 20224,\n    OnInit: 65536,\n    OnDestroy: 131072,\n    DoCheck: 262144,\n    OnChanges: 524288,\n    AfterContentInit: 1048576,\n    AfterContentChecked: 2097152,\n    AfterViewInit: 4194304,\n    AfterViewChecked: 8388608,\n    EmbeddedViews: 16777216,\n    ComponentView: 33554432,\n    TypeContentQuery: 67108864,\n    TypeViewQuery: 134217728,\n    StaticQuery: 268435456,\n    DynamicQuery: 536870912,\n    TypeNgModule: 1073741824,\n    CatQuery: 201326592,\n    // mutually exclusive values...\n    Types: 201347067,\n};\n/**\n * @record\n */\nfunction BindingDef() { }\nif (false) {}\n/** @enum {number} */\nconst BindingFlags = {\n    TypeElementAttribute: 1,\n    TypeElementClass: 2,\n    TypeElementStyle: 4,\n    TypeProperty: 8,\n    SyntheticProperty: 16,\n    SyntheticHostProperty: 32,\n    CatSyntheticProperty: 48,\n    // mutually exclusive values...\n    Types: 15,\n};\n/**\n * @record\n */\nfunction OutputDef() { }\nif (false) {}\n/** @enum {number} */\nconst OutputType = {\n    ElementOutput: 0, DirectiveOutput: 1,\n};\n/** @enum {number} */\nconst QueryValueType = {\n    ElementRef: 0,\n    RenderElement: 1,\n    TemplateRef: 2,\n    ViewContainerRef: 3,\n    Provider: 4,\n};\n/**\n * @record\n */\nfunction ElementDef() { }\nif (false) {}\n/**\n * @record\n */\nfunction ElementHandleEventFn() { }\n/**\n * @record\n */\nfunction ProviderDef() { }\nif (false) {}\n/**\n * @record\n */\nfunction NgModuleProviderDef() { }\nif (false) {}\n/**\n * @record\n */\nfunction DepDef() { }\nif (false) {}\n/** @enum {number} */\nconst DepFlags = {\n    None: 0,\n    SkipSelf: 1,\n    Optional: 2,\n    Self: 4,\n    Value: 8,\n};\n/**\n * @record\n */\nfunction TextDef() { }\nif (false) {}\n/**\n * @record\n */\nfunction QueryDef() { }\nif (false) {}\n/**\n * @record\n */\nfunction QueryBindingDef() { }\nif (false) {}\n/** @enum {number} */\nconst QueryBindingType = {\n    First: 0, All: 1,\n};\n/**\n * @record\n */\nfunction NgContentDef() { }\nif (false) {}\n/**\n * @record\n */\nfunction NgModuleData() { }\nif (false) {}\n/**\n * View instance data.\n * Attention: Adding fields to this is performance sensitive!\n * @record\n */\nfunction ViewData() { }\nif (false) {}\n/** @enum {number} */\nconst ViewState = {\n    BeforeFirstCheck: 1,\n    FirstCheck: 2,\n    Attached: 4,\n    ChecksEnabled: 8,\n    IsProjectedView: 16,\n    CheckProjectedView: 32,\n    CheckProjectedViews: 64,\n    Destroyed: 128,\n    // InitState Uses 3 bits\n    InitState_Mask: 1792,\n    InitState_BeforeInit: 0,\n    InitState_CallingOnInit: 256,\n    InitState_CallingAfterContentInit: 512,\n    InitState_CallingAfterViewInit: 768,\n    InitState_AfterInit: 1024,\n    CatDetectChanges: 12,\n    CatInit: 13,\n};\n// Called before each cycle of a view's check to detect whether this is in the\n// initState for which we need to call ngOnInit, ngAfterContentInit or ngAfterViewInit\n// lifecycle methods. Returns true if this check cycle should call lifecycle\n// methods.\n/**\n * @param {?} view\n * @param {?} priorInitState\n * @param {?} newInitState\n * @return {?}\n */\nfunction shiftInitState(view, priorInitState, newInitState) {\n    // Only update the InitState if we are currently in the prior state.\n    // For example, only move into CallingInit if we are in BeforeInit. Only\n    // move into CallingContentInit if we are in CallingInit. Normally this will\n    // always be true because of how checkCycle is called in checkAndUpdateView.\n    // However, if checkAndUpdateView is called recursively or if an exception is\n    // thrown while checkAndUpdateView is running, checkAndUpdateView starts over\n    // from the beginning. This ensures the state is monotonically increasing,\n    // terminating in the AfterInit state, which ensures the Init methods are called\n    // at least once and only once.\n    /** @type {?} */\n    const state = view.state;\n    /** @type {?} */\n    const initState = state & 1792 /* InitState_Mask */;\n    if (initState === priorInitState) {\n        view.state = (state & ~1792 /* InitState_Mask */) | newInitState;\n        view.initIndex = -1;\n        return true;\n    }\n    return initState === newInitState;\n}\n// Returns true if the lifecycle init method should be called for the node with\n// the given init index.\n/**\n * @param {?} view\n * @param {?} initState\n * @param {?} index\n * @return {?}\n */\nfunction shouldCallLifecycleInitHook(view, initState, index) {\n    if ((view.state & 1792 /* InitState_Mask */) === initState && view.initIndex <= index) {\n        view.initIndex = index + 1;\n        return true;\n    }\n    return false;\n}\n/**\n * @record\n */\nfunction DisposableFn() { }\n/**\n * Node instance data.\n *\n * We have a separate type per NodeType to save memory\n * (TextData | ElementData | ProviderData | PureExpressionData | QueryList<any>)\n *\n * To keep our code monomorphic,\n * we prohibit using `NodeData` directly but enforce the use of accessors (`asElementData`, ...).\n * This way, no usage site can get a `NodeData` from view.nodes and then use it for different\n * purposes.\n */\nclass NodeData {\n}\nif (false) {}\n/**\n * Data for an instantiated NodeType.Text.\n *\n * Attention: Adding fields to this is performance sensitive!\n * @record\n */\nfunction TextData() { }\nif (false) {}\n/**\n * Accessor for view.nodes, enforcing that every usage site stays monomorphic.\n * @param {?} view\n * @param {?} index\n * @return {?}\n */\nfunction asTextData(view, index) {\n    return (/** @type {?} */ (view.nodes[index]));\n}\n/**\n * Data for an instantiated NodeType.Element.\n *\n * Attention: Adding fields to this is performance sensitive!\n * @record\n */\nfunction ElementData() { }\nif (false) {}\n/**\n * @record\n */\nfunction ViewContainerData() { }\nif (false) {}\n/**\n * @record\n */\nfunction TemplateData() { }\nif (false) {}\n/**\n * Accessor for view.nodes, enforcing that every usage site stays monomorphic.\n * @param {?} view\n * @param {?} index\n * @return {?}\n */\nfunction asElementData(view, index) {\n    return (/** @type {?} */ (view.nodes[index]));\n}\n/**\n * Data for an instantiated NodeType.Provider.\n *\n * Attention: Adding fields to this is performance sensitive!\n * @record\n */\nfunction ProviderData() { }\nif (false) {}\n/**\n * Accessor for view.nodes, enforcing that every usage site stays monomorphic.\n * @param {?} view\n * @param {?} index\n * @return {?}\n */\nfunction asProviderData(view, index) {\n    return (/** @type {?} */ (view.nodes[index]));\n}\n/**\n * Data for an instantiated NodeType.PureExpression.\n *\n * Attention: Adding fields to this is performance sensitive!\n * @record\n */\nfunction PureExpressionData() { }\nif (false) {}\n/**\n * Accessor for view.nodes, enforcing that every usage site stays monomorphic.\n * @param {?} view\n * @param {?} index\n * @return {?}\n */\nfunction asPureExpressionData(view, index) {\n    return (/** @type {?} */ (view.nodes[index]));\n}\n/**\n * Accessor for view.nodes, enforcing that every usage site stays monomorphic.\n * @param {?} view\n * @param {?} index\n * @return {?}\n */\nfunction asQueryList(view, index) {\n    return (/** @type {?} */ (view.nodes[index]));\n}\n/**\n * @record\n */\nfunction RootData() { }\nif (false) {}\n/**\n * @abstract\n */\nclass DebugContext {\n}\nif (false) {}\n/** @enum {number} */\nconst CheckType = {\n    CheckAndUpdate: 0, CheckNoChanges: 1,\n};\n/**\n * @record\n */\nfunction ProviderOverride() { }\nif (false) {}\n// WARNING: interface has both a type and a value, skipping emit\n/**\n * This object is used to prevent cycles in the source files and to have a place where\n * debug mode can hook it. It is lazily filled when `isDevMode` is known.\n * @type {?}\n */\nconst Services = {\n    setCurrentNode: (/** @type {?} */ (undefined)),\n    createRootView: (/** @type {?} */ (undefined)),\n    createEmbeddedView: (/** @type {?} */ (undefined)),\n    createComponentView: (/** @type {?} */ (undefined)),\n    createNgModuleRef: (/** @type {?} */ (undefined)),\n    overrideProvider: (/** @type {?} */ (undefined)),\n    overrideComponentView: (/** @type {?} */ (undefined)),\n    clearOverrides: (/** @type {?} */ (undefined)),\n    checkAndUpdateView: (/** @type {?} */ (undefined)),\n    checkNoChangesView: (/** @type {?} */ (undefined)),\n    destroyView: (/** @type {?} */ (undefined)),\n    resolveDep: (/** @type {?} */ (undefined)),\n    createDebugContext: (/** @type {?} */ (undefined)),\n    handleEvent: (/** @type {?} */ (undefined)),\n    updateDirectives: (/** @type {?} */ (undefined)),\n    updateRenderer: (/** @type {?} */ (undefined)),\n    dirtyParentQueries: (/** @type {?} */ (undefined)),\n};\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst NOOP = (/**\n * @return {?}\n */\n() => { });\n/** @type {?} */\nconst _tokenKeyCache = new Map();\n/**\n * @param {?} token\n * @return {?}\n */\nfunction tokenKey(token) {\n    /** @type {?} */\n    let key = _tokenKeyCache.get(token);\n    if (!key) {\n        key = stringify(token) + '_' + _tokenKeyCache.size;\n        _tokenKeyCache.set(token, key);\n    }\n    return key;\n}\n/**\n * @param {?} view\n * @param {?} nodeIdx\n * @param {?} bindingIdx\n * @param {?} value\n * @return {?}\n */\nfunction unwrapValue(view, nodeIdx, bindingIdx, value) {\n    if (WrappedValue.isWrapped(value)) {\n        value = WrappedValue.unwrap(value);\n        /** @type {?} */\n        const globalBindingIdx = view.def.nodes[nodeIdx].bindingIndex + bindingIdx;\n        /** @type {?} */\n        const oldValue = WrappedValue.unwrap(view.oldValues[globalBindingIdx]);\n        view.oldValues[globalBindingIdx] = new WrappedValue(oldValue);\n    }\n    return value;\n}\n/** @type {?} */\nconst UNDEFINED_RENDERER_TYPE_ID = '$$undefined';\n/** @type {?} */\nconst EMPTY_RENDERER_TYPE_ID = '$$empty';\n// Attention: this function is called as top level function.\n// Putting any logic in here will destroy closure tree shaking!\n/**\n * @param {?} values\n * @return {?}\n */\nfunction createRendererType2(values) {\n    return {\n        id: UNDEFINED_RENDERER_TYPE_ID,\n        styles: values.styles,\n        encapsulation: values.encapsulation,\n        data: values.data\n    };\n}\n/** @type {?} */\nlet _renderCompCount$1 = 0;\n/**\n * @param {?=} type\n * @return {?}\n */\nfunction resolveRendererType2(type) {\n    if (type && type.id === UNDEFINED_RENDERER_TYPE_ID) {\n        // first time we see this RendererType2. Initialize it...\n        /** @type {?} */\n        const isFilled = ((type.encapsulation != null && type.encapsulation !== ViewEncapsulation.None) ||\n            type.styles.length || Object.keys(type.data).length);\n        if (isFilled) {\n            type.id = `c${_renderCompCount$1++}`;\n        }\n        else {\n            type.id = EMPTY_RENDERER_TYPE_ID;\n        }\n    }\n    if (type && type.id === EMPTY_RENDERER_TYPE_ID) {\n        type = null;\n    }\n    return type || null;\n}\n/**\n * @param {?} view\n * @param {?} def\n * @param {?} bindingIdx\n * @param {?} value\n * @return {?}\n */\nfunction checkBinding(view, def, bindingIdx, value) {\n    /** @type {?} */\n    const oldValues = view.oldValues;\n    if ((view.state & 2 /* FirstCheck */) ||\n        !looseIdentical(oldValues[def.bindingIndex + bindingIdx], value)) {\n        return true;\n    }\n    return false;\n}\n/**\n * @param {?} view\n * @param {?} def\n * @param {?} bindingIdx\n * @param {?} value\n * @return {?}\n */\nfunction checkAndUpdateBinding(view, def, bindingIdx, value) {\n    if (checkBinding(view, def, bindingIdx, value)) {\n        view.oldValues[def.bindingIndex + bindingIdx] = value;\n        return true;\n    }\n    return false;\n}\n/**\n * @param {?} view\n * @param {?} def\n * @param {?} bindingIdx\n * @param {?} value\n * @return {?}\n */\nfunction checkBindingNoChanges(view, def, bindingIdx, value) {\n    /** @type {?} */\n    const oldValue = view.oldValues[def.bindingIndex + bindingIdx];\n    if ((view.state & 1 /* BeforeFirstCheck */) || !devModeEqual$1(oldValue, value)) {\n        /** @type {?} */\n        const bindingName = def.bindings[bindingIdx].name;\n        throw expressionChangedAfterItHasBeenCheckedError(Services.createDebugContext(view, def.nodeIndex), `${bindingName}: ${oldValue}`, `${bindingName}: ${value}`, (view.state & 1 /* BeforeFirstCheck */) !== 0);\n    }\n}\n/**\n * @param {?} view\n * @return {?}\n */\nfunction markParentViewsForCheck(view) {\n    /** @type {?} */\n    let currView = view;\n    while (currView) {\n        if (currView.def.flags & 2 /* OnPush */) {\n            currView.state |= 8 /* ChecksEnabled */;\n        }\n        currView = currView.viewContainerParent || currView.parent;\n    }\n}\n/**\n * @param {?} view\n * @param {?} endView\n * @return {?}\n */\nfunction markParentViewsForCheckProjectedViews(view, endView) {\n    /** @type {?} */\n    let currView = view;\n    while (currView && currView !== endView) {\n        currView.state |= 64 /* CheckProjectedViews */;\n        currView = currView.viewContainerParent || currView.parent;\n    }\n}\n/**\n * @param {?} view\n * @param {?} nodeIndex\n * @param {?} eventName\n * @param {?} event\n * @return {?}\n */\nfunction dispatchEvent(view, nodeIndex, eventName, event) {\n    try {\n        /** @type {?} */\n        const nodeDef = view.def.nodes[nodeIndex];\n        /** @type {?} */\n        const startView = nodeDef.flags & 33554432 /* ComponentView */ ?\n            asElementData(view, nodeIndex).componentView :\n            view;\n        markParentViewsForCheck(startView);\n        return Services.handleEvent(view, nodeIndex, eventName, event);\n    }\n    catch (e) {\n        // Attention: Don't rethrow, as it would cancel Observable subscriptions!\n        view.root.errorHandler.handleError(e);\n    }\n}\n/**\n * @param {?} view\n * @return {?}\n */\nfunction declaredViewContainer(view) {\n    if (view.parent) {\n        /** @type {?} */\n        const parentView = view.parent;\n        return asElementData(parentView, (/** @type {?} */ (view.parentNodeDef)).nodeIndex);\n    }\n    return null;\n}\n/**\n * for component views, this is the host element.\n * for embedded views, this is the index of the parent node\n * that contains the view container.\n * @param {?} view\n * @return {?}\n */\nfunction viewParentEl(view) {\n    /** @type {?} */\n    const parentView = view.parent;\n    if (parentView) {\n        return (/** @type {?} */ (view.parentNodeDef)).parent;\n    }\n    else {\n        return null;\n    }\n}\n/**\n * @param {?} view\n * @param {?} def\n * @return {?}\n */\nfunction renderNode(view, def) {\n    switch (def.flags & 201347067 /* Types */) {\n        case 1 /* TypeElement */:\n            return asElementData(view, def.nodeIndex).renderElement;\n        case 2 /* TypeText */:\n            return asTextData(view, def.nodeIndex).renderText;\n    }\n}\n/**\n * @param {?} target\n * @param {?} name\n * @return {?}\n */\nfunction elementEventFullName(target, name) {\n    return target ? `${target}:${name}` : name;\n}\n/**\n * @param {?} view\n * @return {?}\n */\nfunction isComponentView(view) {\n    return !!view.parent && !!((/** @type {?} */ (view.parentNodeDef)).flags & 32768 /* Component */);\n}\n/**\n * @param {?} view\n * @return {?}\n */\nfunction isEmbeddedView(view) {\n    return !!view.parent && !((/** @type {?} */ (view.parentNodeDef)).flags & 32768 /* Component */);\n}\n/**\n * @param {?} queryId\n * @return {?}\n */\nfunction filterQueryId(queryId) {\n    return 1 << (queryId % 32);\n}\n/**\n * @param {?} matchedQueriesDsl\n * @return {?}\n */\nfunction splitMatchedQueriesDsl(matchedQueriesDsl) {\n    /** @type {?} */\n    const matchedQueries = {};\n    /** @type {?} */\n    let matchedQueryIds = 0;\n    /** @type {?} */\n    const references = {};\n    if (matchedQueriesDsl) {\n        matchedQueriesDsl.forEach((/**\n         * @param {?} __0\n         * @return {?}\n         */\n        ([queryId, valueType]) => {\n            if (typeof queryId === 'number') {\n                matchedQueries[queryId] = valueType;\n                matchedQueryIds |= filterQueryId(queryId);\n            }\n            else {\n                references[queryId] = valueType;\n            }\n        }));\n    }\n    return { matchedQueries, references, matchedQueryIds };\n}\n/**\n * @param {?} deps\n * @param {?=} sourceName\n * @return {?}\n */\nfunction splitDepsDsl(deps, sourceName) {\n    return deps.map((/**\n     * @param {?} value\n     * @return {?}\n     */\n    value => {\n        /** @type {?} */\n        let token;\n        /** @type {?} */\n        let flags;\n        if (Array.isArray(value)) {\n            [flags, token] = value;\n        }\n        else {\n            flags = 0 /* None */;\n            token = value;\n        }\n        if (token && (typeof token === 'function' || typeof token === 'object') && sourceName) {\n            Object.defineProperty(token, SOURCE, { value: sourceName, configurable: true });\n        }\n        return { flags, token, tokenKey: tokenKey(token) };\n    }));\n}\n/**\n * @param {?} view\n * @param {?} renderHost\n * @param {?} def\n * @return {?}\n */\nfunction getParentRenderElement(view, renderHost, def) {\n    /** @type {?} */\n    let renderParent = def.renderParent;\n    if (renderParent) {\n        if ((renderParent.flags & 1 /* TypeElement */) === 0 ||\n            (renderParent.flags & 33554432 /* ComponentView */) === 0 ||\n            ((/** @type {?} */ (renderParent.element)).componentRendererType &&\n                (/** @type {?} */ ((/** @type {?} */ (renderParent.element)).componentRendererType)).encapsulation ===\n                    ViewEncapsulation.Native)) {\n            // only children of non components, or children of components with native encapsulation should\n            // be attached.\n            return asElementData(view, (/** @type {?} */ (def.renderParent)).nodeIndex).renderElement;\n        }\n    }\n    else {\n        return renderHost;\n    }\n}\n/** @type {?} */\nconst DEFINITION_CACHE = new WeakMap();\n/**\n * @template D\n * @param {?} factory\n * @return {?}\n */\nfunction resolveDefinition(factory) {\n    /** @type {?} */\n    let value = (/** @type {?} */ ((/** @type {?} */ (DEFINITION_CACHE.get(factory)))));\n    if (!value) {\n        value = factory((/**\n         * @return {?}\n         */\n        () => NOOP));\n        value.factory = factory;\n        DEFINITION_CACHE.set(factory, value);\n    }\n    return value;\n}\n/**\n * @param {?} view\n * @return {?}\n */\nfunction rootRenderNodes(view) {\n    /** @type {?} */\n    const renderNodes = [];\n    visitRootRenderNodes(view, 0 /* Collect */, undefined, undefined, renderNodes);\n    return renderNodes;\n}\n/** @enum {number} */\nconst RenderNodeAction = {\n    Collect: 0, AppendChild: 1, InsertBefore: 2, RemoveChild: 3,\n};\n/**\n * @param {?} view\n * @param {?} action\n * @param {?} parentNode\n * @param {?} nextSibling\n * @param {?=} target\n * @return {?}\n */\nfunction visitRootRenderNodes(view, action, parentNode, nextSibling, target) {\n    // We need to re-compute the parent node in case the nodes have been moved around manually\n    if (action === 3 /* RemoveChild */) {\n        parentNode = view.renderer.parentNode(renderNode(view, (/** @type {?} */ (view.def.lastRenderRootNode))));\n    }\n    visitSiblingRenderNodes(view, action, 0, view.def.nodes.length - 1, parentNode, nextSibling, target);\n}\n/**\n * @param {?} view\n * @param {?} action\n * @param {?} startIndex\n * @param {?} endIndex\n * @param {?} parentNode\n * @param {?} nextSibling\n * @param {?=} target\n * @return {?}\n */\nfunction visitSiblingRenderNodes(view, action, startIndex, endIndex, parentNode, nextSibling, target) {\n    for (let i = startIndex; i <= endIndex; i++) {\n        /** @type {?} */\n        const nodeDef = view.def.nodes[i];\n        if (nodeDef.flags & (1 /* TypeElement */ | 2 /* TypeText */ | 8 /* TypeNgContent */)) {\n            visitRenderNode(view, nodeDef, action, parentNode, nextSibling, target);\n        }\n        // jump to next sibling\n        i += nodeDef.childCount;\n    }\n}\n/**\n * @param {?} view\n * @param {?} ngContentIndex\n * @param {?} action\n * @param {?} parentNode\n * @param {?} nextSibling\n * @param {?=} target\n * @return {?}\n */\nfunction visitProjectedRenderNodes(view, ngContentIndex, action, parentNode, nextSibling, target) {\n    /** @type {?} */\n    let compView = view;\n    while (compView && !isComponentView(compView)) {\n        compView = compView.parent;\n    }\n    /** @type {?} */\n    const hostView = (/** @type {?} */ (compView)).parent;\n    /** @type {?} */\n    const hostElDef = viewParentEl((/** @type {?} */ (compView)));\n    /** @type {?} */\n    const startIndex = (/** @type {?} */ (hostElDef)).nodeIndex + 1;\n    /** @type {?} */\n    const endIndex = (/** @type {?} */ (hostElDef)).nodeIndex + (/** @type {?} */ (hostElDef)).childCount;\n    for (let i = startIndex; i <= endIndex; i++) {\n        /** @type {?} */\n        const nodeDef = (/** @type {?} */ (hostView)).def.nodes[i];\n        if (nodeDef.ngContentIndex === ngContentIndex) {\n            visitRenderNode((/** @type {?} */ (hostView)), nodeDef, action, parentNode, nextSibling, target);\n        }\n        // jump to next sibling\n        i += nodeDef.childCount;\n    }\n    if (!(/** @type {?} */ (hostView)).parent) {\n        // a root view\n        /** @type {?} */\n        const projectedNodes = view.root.projectableNodes[ngContentIndex];\n        if (projectedNodes) {\n            for (let i = 0; i < projectedNodes.length; i++) {\n                execRenderNodeAction(view, projectedNodes[i], action, parentNode, nextSibling, target);\n            }\n        }\n    }\n}\n/**\n * @param {?} view\n * @param {?} nodeDef\n * @param {?} action\n * @param {?} parentNode\n * @param {?} nextSibling\n * @param {?=} target\n * @return {?}\n */\nfunction visitRenderNode(view, nodeDef, action, parentNode, nextSibling, target) {\n    if (nodeDef.flags & 8 /* TypeNgContent */) {\n        visitProjectedRenderNodes(view, (/** @type {?} */ (nodeDef.ngContent)).index, action, parentNode, nextSibling, target);\n    }\n    else {\n        /** @type {?} */\n        const rn = renderNode(view, nodeDef);\n        if (action === 3 /* RemoveChild */ && (nodeDef.flags & 33554432 /* ComponentView */) &&\n            (nodeDef.bindingFlags & 48 /* CatSyntheticProperty */)) {\n            // Note: we might need to do both actions.\n            if (nodeDef.bindingFlags & (16 /* SyntheticProperty */)) {\n                execRenderNodeAction(view, rn, action, parentNode, nextSibling, target);\n            }\n            if (nodeDef.bindingFlags & (32 /* SyntheticHostProperty */)) {\n                /** @type {?} */\n                const compView = asElementData(view, nodeDef.nodeIndex).componentView;\n                execRenderNodeAction(compView, rn, action, parentNode, nextSibling, target);\n            }\n        }\n        else {\n            execRenderNodeAction(view, rn, action, parentNode, nextSibling, target);\n        }\n        if (nodeDef.flags & 16777216 /* EmbeddedViews */) {\n            /** @type {?} */\n            const embeddedViews = (/** @type {?} */ (asElementData(view, nodeDef.nodeIndex).viewContainer))._embeddedViews;\n            for (let k = 0; k < embeddedViews.length; k++) {\n                visitRootRenderNodes(embeddedViews[k], action, parentNode, nextSibling, target);\n            }\n        }\n        if (nodeDef.flags & 1 /* TypeElement */ && !(/** @type {?} */ (nodeDef.element)).name) {\n            visitSiblingRenderNodes(view, action, nodeDef.nodeIndex + 1, nodeDef.nodeIndex + nodeDef.childCount, parentNode, nextSibling, target);\n        }\n    }\n}\n/**\n * @param {?} view\n * @param {?} renderNode\n * @param {?} action\n * @param {?} parentNode\n * @param {?} nextSibling\n * @param {?=} target\n * @return {?}\n */\nfunction execRenderNodeAction(view, renderNode, action, parentNode, nextSibling, target) {\n    /** @type {?} */\n    const renderer = view.renderer;\n    switch (action) {\n        case 1 /* AppendChild */:\n            renderer.appendChild(parentNode, renderNode);\n            break;\n        case 2 /* InsertBefore */:\n            renderer.insertBefore(parentNode, renderNode, nextSibling);\n            break;\n        case 3 /* RemoveChild */:\n            renderer.removeChild(parentNode, renderNode);\n            break;\n        case 0 /* Collect */:\n            (/** @type {?} */ (target)).push(renderNode);\n            break;\n    }\n}\n/** @type {?} */\nconst NS_PREFIX_RE = /^:([^:]+):(.+)$/;\n/**\n * @param {?} name\n * @return {?}\n */\nfunction splitNamespace(name) {\n    if (name[0] === ':') {\n        /** @type {?} */\n        const match = (/** @type {?} */ (name.match(NS_PREFIX_RE)));\n        return [match[1], match[2]];\n    }\n    return ['', name];\n}\n/**\n * @param {?} bindings\n * @return {?}\n */\nfunction calcBindingFlags(bindings) {\n    /** @type {?} */\n    let flags = 0;\n    for (let i = 0; i < bindings.length; i++) {\n        flags |= bindings[i].flags;\n    }\n    return flags;\n}\n/**\n * @param {?} valueCount\n * @param {?} constAndInterp\n * @return {?}\n */\nfunction interpolate(valueCount, constAndInterp) {\n    /** @type {?} */\n    let result = '';\n    for (let i = 0; i < valueCount * 2; i = i + 2) {\n        result = result + constAndInterp[i] + _toStringWithNull(constAndInterp[i + 1]);\n    }\n    return result + constAndInterp[valueCount * 2];\n}\n/**\n * @param {?} valueCount\n * @param {?} c0\n * @param {?} a1\n * @param {?} c1\n * @param {?=} a2\n * @param {?=} c2\n * @param {?=} a3\n * @param {?=} c3\n * @param {?=} a4\n * @param {?=} c4\n * @param {?=} a5\n * @param {?=} c5\n * @param {?=} a6\n * @param {?=} c6\n * @param {?=} a7\n * @param {?=} c7\n * @param {?=} a8\n * @param {?=} c8\n * @param {?=} a9\n * @param {?=} c9\n * @return {?}\n */\nfunction inlineInterpolate(valueCount, c0, a1, c1, a2, c2, a3, c3, a4, c4, a5, c5, a6, c6, a7, c7, a8, c8, a9, c9) {\n    switch (valueCount) {\n        case 1:\n            return c0 + _toStringWithNull(a1) + c1;\n        case 2:\n            return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2;\n        case 3:\n            return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) +\n                c3;\n        case 4:\n            return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) +\n                c3 + _toStringWithNull(a4) + c4;\n        case 5:\n            return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) +\n                c3 + _toStringWithNull(a4) + c4 + _toStringWithNull(a5) + c5;\n        case 6:\n            return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) +\n                c3 + _toStringWithNull(a4) + c4 + _toStringWithNull(a5) + c5 + _toStringWithNull(a6) + c6;\n        case 7:\n            return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) +\n                c3 + _toStringWithNull(a4) + c4 + _toStringWithNull(a5) + c5 + _toStringWithNull(a6) +\n                c6 + _toStringWithNull(a7) + c7;\n        case 8:\n            return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) +\n                c3 + _toStringWithNull(a4) + c4 + _toStringWithNull(a5) + c5 + _toStringWithNull(a6) +\n                c6 + _toStringWithNull(a7) + c7 + _toStringWithNull(a8) + c8;\n        case 9:\n            return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) +\n                c3 + _toStringWithNull(a4) + c4 + _toStringWithNull(a5) + c5 + _toStringWithNull(a6) +\n                c6 + _toStringWithNull(a7) + c7 + _toStringWithNull(a8) + c8 + _toStringWithNull(a9) + c9;\n        default:\n            throw new Error(`Does not support more than 9 expressions`);\n    }\n}\n/**\n * @param {?} v\n * @return {?}\n */\nfunction _toStringWithNull(v) {\n    return v != null ? v.toString() : '';\n}\n/** @type {?} */\nconst EMPTY_ARRAY$3 = [];\n/** @type {?} */\nconst EMPTY_MAP = {};\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst UNDEFINED_VALUE = new Object();\n/** @type {?} */\nconst InjectorRefTokenKey = tokenKey(Injector);\n/** @type {?} */\nconst INJECTORRefTokenKey = tokenKey(INJECTOR);\n/** @type {?} */\nconst NgModuleRefTokenKey = tokenKey(NgModuleRef);\n/**\n * @param {?} flags\n * @param {?} token\n * @param {?} value\n * @param {?} deps\n * @return {?}\n */\nfunction moduleProvideDef(flags, token, value, deps) {\n    // Need to resolve forwardRefs as e.g. for `useValue` we\n    // lowered the expression and then stopped evaluating it,\n    // i.e. also didn't unwrap it.\n    value = resolveForwardRef(value);\n    /** @type {?} */\n    const depDefs = splitDepsDsl(deps, stringify(token));\n    return {\n        // will bet set by the module definition\n        index: -1,\n        deps: depDefs, flags, token, value\n    };\n}\n/**\n * @param {?} providers\n * @return {?}\n */\nfunction moduleDef(providers) {\n    /** @type {?} */\n    const providersByKey = {};\n    /** @type {?} */\n    const modules = [];\n    /** @type {?} */\n    let isRoot = false;\n    for (let i = 0; i < providers.length; i++) {\n        /** @type {?} */\n        const provider = providers[i];\n        if (provider.token === APP_ROOT && provider.value === true) {\n            isRoot = true;\n        }\n        if (provider.flags & 1073741824 /* TypeNgModule */) {\n            modules.push(provider.token);\n        }\n        provider.index = i;\n        providersByKey[tokenKey(provider.token)] = provider;\n    }\n    return {\n        // Will be filled later...\n        factory: null,\n        providersByKey,\n        providers,\n        modules,\n        isRoot,\n    };\n}\n/**\n * @param {?} data\n * @return {?}\n */\nfunction initNgModule(data) {\n    /** @type {?} */\n    const def = data._def;\n    /** @type {?} */\n    const providers = data._providers = new Array(def.providers.length);\n    for (let i = 0; i < def.providers.length; i++) {\n        /** @type {?} */\n        const provDef = def.providers[i];\n        if (!(provDef.flags & 4096 /* LazyProvider */)) {\n            // Make sure the provider has not been already initialized outside this loop.\n            if (providers[i] === undefined) {\n                providers[i] = _createProviderInstance(data, provDef);\n            }\n        }\n    }\n}\n/**\n * @param {?} data\n * @param {?} depDef\n * @param {?=} notFoundValue\n * @return {?}\n */\nfunction resolveNgModuleDep(data, depDef, notFoundValue = Injector.THROW_IF_NOT_FOUND) {\n    /** @type {?} */\n    const former = setCurrentInjector(data);\n    try {\n        if (depDef.flags & 8 /* Value */) {\n            return depDef.token;\n        }\n        if (depDef.flags & 2 /* Optional */) {\n            notFoundValue = null;\n        }\n        if (depDef.flags & 1 /* SkipSelf */) {\n            return data._parent.get(depDef.token, notFoundValue);\n        }\n        /** @type {?} */\n        const tokenKey = depDef.tokenKey;\n        switch (tokenKey) {\n            case InjectorRefTokenKey:\n            case INJECTORRefTokenKey:\n            case NgModuleRefTokenKey:\n                return data;\n        }\n        /** @type {?} */\n        const providerDef = data._def.providersByKey[tokenKey];\n        /** @type {?} */\n        let injectableDef;\n        if (providerDef) {\n            /** @type {?} */\n            let providerInstance = data._providers[providerDef.index];\n            if (providerInstance === undefined) {\n                providerInstance = data._providers[providerDef.index] =\n                    _createProviderInstance(data, providerDef);\n            }\n            return providerInstance === UNDEFINED_VALUE ? undefined : providerInstance;\n        }\n        else if ((injectableDef = getInjectableDef(depDef.token)) && targetsModule(data, injectableDef)) {\n            /** @type {?} */\n            const index = data._providers.length;\n            data._def.providers[index] = data._def.providersByKey[depDef.tokenKey] = {\n                flags: 1024 /* TypeFactoryProvider */ | 4096 /* LazyProvider */,\n                value: injectableDef.factory,\n                deps: [], index,\n                token: depDef.token,\n            };\n            data._providers[index] = UNDEFINED_VALUE;\n            return (data._providers[index] =\n                _createProviderInstance(data, data._def.providersByKey[depDef.tokenKey]));\n        }\n        else if (depDef.flags & 4 /* Self */) {\n            return notFoundValue;\n        }\n        return data._parent.get(depDef.token, notFoundValue);\n    }\n    finally {\n        setCurrentInjector(former);\n    }\n}\n/**\n * @param {?} ngModule\n * @param {?} scope\n * @return {?}\n */\nfunction moduleTransitivelyPresent(ngModule, scope) {\n    return ngModule._def.modules.indexOf(scope) > -1;\n}\n/**\n * @param {?} ngModule\n * @param {?} def\n * @return {?}\n */\nfunction targetsModule(ngModule, def) {\n    return def.providedIn != null && (moduleTransitivelyPresent(ngModule, def.providedIn) ||\n        def.providedIn === 'root' && ngModule._def.isRoot);\n}\n/**\n * @param {?} ngModule\n * @param {?} providerDef\n * @return {?}\n */\nfunction _createProviderInstance(ngModule, providerDef) {\n    /** @type {?} */\n    let injectable;\n    switch (providerDef.flags & 201347067 /* Types */) {\n        case 512 /* TypeClassProvider */:\n            injectable = _createClass(ngModule, providerDef.value, providerDef.deps);\n            break;\n        case 1024 /* TypeFactoryProvider */:\n            injectable = _callFactory(ngModule, providerDef.value, providerDef.deps);\n            break;\n        case 2048 /* TypeUseExistingProvider */:\n            injectable = resolveNgModuleDep(ngModule, providerDef.deps[0]);\n            break;\n        case 256 /* TypeValueProvider */:\n            injectable = providerDef.value;\n            break;\n    }\n    // The read of `ngOnDestroy` here is slightly expensive as it's megamorphic, so it should be\n    // avoided if possible. The sequence of checks here determines whether ngOnDestroy needs to be\n    // checked. It might not if the `injectable` isn't an object or if NodeFlags.OnDestroy is already\n    // set (ngOnDestroy was detected statically).\n    if (injectable !== UNDEFINED_VALUE && injectable !== null && typeof injectable === 'object' &&\n        !(providerDef.flags & 131072 /* OnDestroy */) && typeof injectable.ngOnDestroy === 'function') {\n        providerDef.flags |= 131072 /* OnDestroy */;\n    }\n    return injectable === undefined ? UNDEFINED_VALUE : injectable;\n}\n/**\n * @param {?} ngModule\n * @param {?} ctor\n * @param {?} deps\n * @return {?}\n */\nfunction _createClass(ngModule, ctor, deps) {\n    /** @type {?} */\n    const len = deps.length;\n    switch (len) {\n        case 0:\n            return new ctor();\n        case 1:\n            return new ctor(resolveNgModuleDep(ngModule, deps[0]));\n        case 2:\n            return new ctor(resolveNgModuleDep(ngModule, deps[0]), resolveNgModuleDep(ngModule, deps[1]));\n        case 3:\n            return new ctor(resolveNgModuleDep(ngModule, deps[0]), resolveNgModuleDep(ngModule, deps[1]), resolveNgModuleDep(ngModule, deps[2]));\n        default:\n            /** @type {?} */\n            const depValues = new Array(len);\n            for (let i = 0; i < len; i++) {\n                depValues[i] = resolveNgModuleDep(ngModule, deps[i]);\n            }\n            return new ctor(...depValues);\n    }\n}\n/**\n * @param {?} ngModule\n * @param {?} factory\n * @param {?} deps\n * @return {?}\n */\nfunction _callFactory(ngModule, factory, deps) {\n    /** @type {?} */\n    const len = deps.length;\n    switch (len) {\n        case 0:\n            return factory();\n        case 1:\n            return factory(resolveNgModuleDep(ngModule, deps[0]));\n        case 2:\n            return factory(resolveNgModuleDep(ngModule, deps[0]), resolveNgModuleDep(ngModule, deps[1]));\n        case 3:\n            return factory(resolveNgModuleDep(ngModule, deps[0]), resolveNgModuleDep(ngModule, deps[1]), resolveNgModuleDep(ngModule, deps[2]));\n        default:\n            /** @type {?} */\n            const depValues = Array(len);\n            for (let i = 0; i < len; i++) {\n                depValues[i] = resolveNgModuleDep(ngModule, deps[i]);\n            }\n            return factory(...depValues);\n    }\n}\n/**\n * @param {?} ngModule\n * @param {?} lifecycles\n * @return {?}\n */\nfunction callNgModuleLifecycle(ngModule, lifecycles) {\n    /** @type {?} */\n    const def = ngModule._def;\n    /** @type {?} */\n    const destroyed = new Set();\n    for (let i = 0; i < def.providers.length; i++) {\n        /** @type {?} */\n        const provDef = def.providers[i];\n        if (provDef.flags & 131072 /* OnDestroy */) {\n            /** @type {?} */\n            const instance = ngModule._providers[i];\n            if (instance && instance !== UNDEFINED_VALUE) {\n                /** @type {?} */\n                const onDestroy = instance.ngOnDestroy;\n                if (typeof onDestroy === 'function' && !destroyed.has(instance)) {\n                    onDestroy.apply(instance);\n                    destroyed.add(instance);\n                }\n            }\n        }\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @param {?} parentView\n * @param {?} elementData\n * @param {?} viewIndex\n * @param {?} view\n * @return {?}\n */\nfunction attachEmbeddedView(parentView, elementData, viewIndex, view) {\n    /** @type {?} */\n    let embeddedViews = (/** @type {?} */ (elementData.viewContainer))._embeddedViews;\n    if (viewIndex === null || viewIndex === undefined) {\n        viewIndex = embeddedViews.length;\n    }\n    view.viewContainerParent = parentView;\n    addToArray(embeddedViews, (/** @type {?} */ (viewIndex)), view);\n    attachProjectedView(elementData, view);\n    Services.dirtyParentQueries(view);\n    /** @type {?} */\n    const prevView = (/** @type {?} */ (viewIndex)) > 0 ? embeddedViews[(/** @type {?} */ (viewIndex)) - 1] : null;\n    renderAttachEmbeddedView(elementData, prevView, view);\n}\n/**\n * @param {?} vcElementData\n * @param {?} view\n * @return {?}\n */\nfunction attachProjectedView(vcElementData, view) {\n    /** @type {?} */\n    const dvcElementData = declaredViewContainer(view);\n    if (!dvcElementData || dvcElementData === vcElementData ||\n        view.state & 16 /* IsProjectedView */) {\n        return;\n    }\n    // Note: For performance reasons, we\n    // - add a view to template._projectedViews only 1x throughout its lifetime,\n    //   and remove it not until the view is destroyed.\n    //   (hard, as when a parent view is attached/detached we would need to attach/detach all\n    //    nested projected views as well, even across component boundaries).\n    // - don't track the insertion order of views in the projected views array\n    //   (hard, as when the views of the same template are inserted different view containers)\n    view.state |= 16 /* IsProjectedView */;\n    /** @type {?} */\n    let projectedViews = dvcElementData.template._projectedViews;\n    if (!projectedViews) {\n        projectedViews = dvcElementData.template._projectedViews = [];\n    }\n    projectedViews.push(view);\n    // Note: we are changing the NodeDef here as we cannot calculate\n    // the fact whether a template is used for projection during compilation.\n    markNodeAsProjectedTemplate((/** @type {?} */ (view.parent)).def, (/** @type {?} */ (view.parentNodeDef)));\n}\n/**\n * @param {?} viewDef\n * @param {?} nodeDef\n * @return {?}\n */\nfunction markNodeAsProjectedTemplate(viewDef, nodeDef) {\n    if (nodeDef.flags & 4 /* ProjectedTemplate */) {\n        return;\n    }\n    viewDef.nodeFlags |= 4 /* ProjectedTemplate */;\n    nodeDef.flags |= 4 /* ProjectedTemplate */;\n    /** @type {?} */\n    let parentNodeDef = nodeDef.parent;\n    while (parentNodeDef) {\n        parentNodeDef.childFlags |= 4 /* ProjectedTemplate */;\n        parentNodeDef = parentNodeDef.parent;\n    }\n}\n/**\n * @param {?} elementData\n * @param {?=} viewIndex\n * @return {?}\n */\nfunction detachEmbeddedView(elementData, viewIndex) {\n    /** @type {?} */\n    const embeddedViews = (/** @type {?} */ (elementData.viewContainer))._embeddedViews;\n    if (viewIndex == null || viewIndex >= embeddedViews.length) {\n        viewIndex = embeddedViews.length - 1;\n    }\n    if (viewIndex < 0) {\n        return null;\n    }\n    /** @type {?} */\n    const view = embeddedViews[viewIndex];\n    view.viewContainerParent = null;\n    removeFromArray(embeddedViews, viewIndex);\n    // See attachProjectedView for why we don't update projectedViews here.\n    Services.dirtyParentQueries(view);\n    renderDetachView$1(view);\n    return view;\n}\n/**\n * @param {?} view\n * @return {?}\n */\nfunction detachProjectedView(view) {\n    if (!(view.state & 16 /* IsProjectedView */)) {\n        return;\n    }\n    /** @type {?} */\n    const dvcElementData = declaredViewContainer(view);\n    if (dvcElementData) {\n        /** @type {?} */\n        const projectedViews = dvcElementData.template._projectedViews;\n        if (projectedViews) {\n            removeFromArray(projectedViews, projectedViews.indexOf(view));\n            Services.dirtyParentQueries(view);\n        }\n    }\n}\n/**\n * @param {?} elementData\n * @param {?} oldViewIndex\n * @param {?} newViewIndex\n * @return {?}\n */\nfunction moveEmbeddedView(elementData, oldViewIndex, newViewIndex) {\n    /** @type {?} */\n    const embeddedViews = (/** @type {?} */ (elementData.viewContainer))._embeddedViews;\n    /** @type {?} */\n    const view = embeddedViews[oldViewIndex];\n    removeFromArray(embeddedViews, oldViewIndex);\n    if (newViewIndex == null) {\n        newViewIndex = embeddedViews.length;\n    }\n    addToArray(embeddedViews, newViewIndex, view);\n    // Note: Don't need to change projectedViews as the order in there\n    // as always invalid...\n    Services.dirtyParentQueries(view);\n    renderDetachView$1(view);\n    /** @type {?} */\n    const prevView = newViewIndex > 0 ? embeddedViews[newViewIndex - 1] : null;\n    renderAttachEmbeddedView(elementData, prevView, view);\n    return view;\n}\n/**\n * @param {?} elementData\n * @param {?} prevView\n * @param {?} view\n * @return {?}\n */\nfunction renderAttachEmbeddedView(elementData, prevView, view) {\n    /** @type {?} */\n    const prevRenderNode = prevView ? renderNode(prevView, (/** @type {?} */ (prevView.def.lastRenderRootNode))) :\n        elementData.renderElement;\n    /** @type {?} */\n    const parentNode = view.renderer.parentNode(prevRenderNode);\n    /** @type {?} */\n    const nextSibling = view.renderer.nextSibling(prevRenderNode);\n    // Note: We can't check if `nextSibling` is present, as on WebWorkers it will always be!\n    // However, browsers automatically do `appendChild` when there is no `nextSibling`.\n    visitRootRenderNodes(view, 2 /* InsertBefore */, parentNode, nextSibling, undefined);\n}\n/**\n * @param {?} view\n * @return {?}\n */\nfunction renderDetachView$1(view) {\n    visitRootRenderNodes(view, 3 /* RemoveChild */, null, null, undefined);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst EMPTY_CONTEXT = new Object();\n// Attention: this function is called as top level function.\n// Putting any logic in here will destroy closure tree shaking!\n/**\n * @param {?} selector\n * @param {?} componentType\n * @param {?} viewDefFactory\n * @param {?} inputs\n * @param {?} outputs\n * @param {?} ngContentSelectors\n * @return {?}\n */\nfunction createComponentFactory(selector, componentType, viewDefFactory, inputs, outputs, ngContentSelectors) {\n    return new ComponentFactory_(selector, componentType, viewDefFactory, inputs, outputs, ngContentSelectors);\n}\n/**\n * @param {?} componentFactory\n * @return {?}\n */\nfunction getComponentViewDefinitionFactory(componentFactory) {\n    return ((/** @type {?} */ (componentFactory))).viewDefFactory;\n}\nclass ComponentFactory_ extends ComponentFactory {\n    /**\n     * @param {?} selector\n     * @param {?} componentType\n     * @param {?} viewDefFactory\n     * @param {?} _inputs\n     * @param {?} _outputs\n     * @param {?} ngContentSelectors\n     */\n    constructor(selector, componentType, viewDefFactory, _inputs, _outputs, ngContentSelectors) {\n        // Attention: this ctor is called as top level function.\n        // Putting any logic in here will destroy closure tree shaking!\n        super();\n        this.selector = selector;\n        this.componentType = componentType;\n        this._inputs = _inputs;\n        this._outputs = _outputs;\n        this.ngContentSelectors = ngContentSelectors;\n        this.viewDefFactory = viewDefFactory;\n    }\n    /**\n     * @return {?}\n     */\n    get inputs() {\n        /** @type {?} */\n        const inputsArr = [];\n        /** @type {?} */\n        const inputs = (/** @type {?} */ (this._inputs));\n        for (let propName in inputs) {\n            /** @type {?} */\n            const templateName = inputs[propName];\n            inputsArr.push({ propName, templateName });\n        }\n        return inputsArr;\n    }\n    /**\n     * @return {?}\n     */\n    get outputs() {\n        /** @type {?} */\n        const outputsArr = [];\n        for (let propName in this._outputs) {\n            /** @type {?} */\n            const templateName = this._outputs[propName];\n            outputsArr.push({ propName, templateName });\n        }\n        return outputsArr;\n    }\n    /**\n     * Creates a new component.\n     * @param {?} injector\n     * @param {?=} projectableNodes\n     * @param {?=} rootSelectorOrNode\n     * @param {?=} ngModule\n     * @return {?}\n     */\n    create(injector, projectableNodes, rootSelectorOrNode, ngModule) {\n        if (!ngModule) {\n            throw new Error('ngModule should be provided');\n        }\n        /** @type {?} */\n        const viewDef = resolveDefinition(this.viewDefFactory);\n        /** @type {?} */\n        const componentNodeIndex = (/** @type {?} */ ((/** @type {?} */ (viewDef.nodes[0].element)).componentProvider)).nodeIndex;\n        /** @type {?} */\n        const view = Services.createRootView(injector, projectableNodes || [], rootSelectorOrNode, viewDef, ngModule, EMPTY_CONTEXT);\n        /** @type {?} */\n        const component = asProviderData(view, componentNodeIndex).instance;\n        if (rootSelectorOrNode) {\n            view.renderer.setAttribute(asElementData(view, 0).renderElement, 'ng-version', VERSION.full);\n        }\n        return new ComponentRef_(view, new ViewRef_(view), component);\n    }\n}\nif (false) {}\nclass ComponentRef_ extends ComponentRef {\n    /**\n     * @param {?} _view\n     * @param {?} _viewRef\n     * @param {?} _component\n     */\n    constructor(_view, _viewRef, _component) {\n        super();\n        this._view = _view;\n        this._viewRef = _viewRef;\n        this._component = _component;\n        this._elDef = this._view.def.nodes[0];\n        this.hostView = _viewRef;\n        this.changeDetectorRef = _viewRef;\n        this.instance = _component;\n    }\n    /**\n     * @return {?}\n     */\n    get location() {\n        return new ElementRef(asElementData(this._view, this._elDef.nodeIndex).renderElement);\n    }\n    /**\n     * @return {?}\n     */\n    get injector() { return new Injector_(this._view, this._elDef); }\n    /**\n     * @return {?}\n     */\n    get componentType() { return (/** @type {?} */ (this._component.constructor)); }\n    /**\n     * @return {?}\n     */\n    destroy() { this._viewRef.destroy(); }\n    /**\n     * @param {?} callback\n     * @return {?}\n     */\n    onDestroy(callback) { this._viewRef.onDestroy(callback); }\n}\nif (false) {}\n/**\n * @param {?} view\n * @param {?} elDef\n * @param {?} elData\n * @return {?}\n */\nfunction createViewContainerData(view, elDef, elData) {\n    return new ViewContainerRef_(view, elDef, elData);\n}\nclass ViewContainerRef_ {\n    /**\n     * @param {?} _view\n     * @param {?} _elDef\n     * @param {?} _data\n     */\n    constructor(_view, _elDef, _data) {\n        this._view = _view;\n        this._elDef = _elDef;\n        this._data = _data;\n        /**\n         * \\@internal\n         */\n        this._embeddedViews = [];\n    }\n    /**\n     * @return {?}\n     */\n    get element() { return new ElementRef(this._data.renderElement); }\n    /**\n     * @return {?}\n     */\n    get injector() { return new Injector_(this._view, this._elDef); }\n    /**\n     * @deprecated No replacement\n     * @return {?}\n     */\n    get parentInjector() {\n        /** @type {?} */\n        let view = this._view;\n        /** @type {?} */\n        let elDef = this._elDef.parent;\n        while (!elDef && view) {\n            elDef = viewParentEl(view);\n            view = (/** @type {?} */ (view.parent));\n        }\n        return view ? new Injector_(view, elDef) : new Injector_(this._view, null);\n    }\n    /**\n     * @return {?}\n     */\n    clear() {\n        /** @type {?} */\n        const len = this._embeddedViews.length;\n        for (let i = len - 1; i >= 0; i--) {\n            /** @type {?} */\n            const view = (/** @type {?} */ (detachEmbeddedView(this._data, i)));\n            Services.destroyView(view);\n        }\n    }\n    /**\n     * @param {?} index\n     * @return {?}\n     */\n    get(index) {\n        /** @type {?} */\n        const view = this._embeddedViews[index];\n        if (view) {\n            /** @type {?} */\n            const ref = new ViewRef_(view);\n            ref.attachToViewContainerRef(this);\n            return ref;\n        }\n        return null;\n    }\n    /**\n     * @return {?}\n     */\n    get length() { return this._embeddedViews.length; }\n    /**\n     * @template C\n     * @param {?} templateRef\n     * @param {?=} context\n     * @param {?=} index\n     * @return {?}\n     */\n    createEmbeddedView(templateRef, context, index) {\n        /** @type {?} */\n        const viewRef = templateRef.createEmbeddedView(context || (/** @type {?} */ ({})));\n        this.insert(viewRef, index);\n        return viewRef;\n    }\n    /**\n     * @template C\n     * @param {?} componentFactory\n     * @param {?=} index\n     * @param {?=} injector\n     * @param {?=} projectableNodes\n     * @param {?=} ngModuleRef\n     * @return {?}\n     */\n    createComponent(componentFactory, index, injector, projectableNodes, ngModuleRef) {\n        /** @type {?} */\n        const contextInjector = injector || this.parentInjector;\n        if (!ngModuleRef && !(componentFactory instanceof ComponentFactoryBoundToModule)) {\n            ngModuleRef = contextInjector.get(NgModuleRef);\n        }\n        /** @type {?} */\n        const componentRef = componentFactory.create(contextInjector, projectableNodes, undefined, ngModuleRef);\n        this.insert(componentRef.hostView, index);\n        return componentRef;\n    }\n    /**\n     * @param {?} viewRef\n     * @param {?=} index\n     * @return {?}\n     */\n    insert(viewRef, index) {\n        if (viewRef.destroyed) {\n            throw new Error('Cannot insert a destroyed View in a ViewContainer!');\n        }\n        /** @type {?} */\n        const viewRef_ = (/** @type {?} */ (viewRef));\n        /** @type {?} */\n        const viewData = viewRef_._view;\n        attachEmbeddedView(this._view, this._data, index, viewData);\n        viewRef_.attachToViewContainerRef(this);\n        return viewRef;\n    }\n    /**\n     * @param {?} viewRef\n     * @param {?} currentIndex\n     * @return {?}\n     */\n    move(viewRef, currentIndex) {\n        if (viewRef.destroyed) {\n            throw new Error('Cannot move a destroyed View in a ViewContainer!');\n        }\n        /** @type {?} */\n        const previousIndex = this._embeddedViews.indexOf(viewRef._view);\n        moveEmbeddedView(this._data, previousIndex, currentIndex);\n        return viewRef;\n    }\n    /**\n     * @param {?} viewRef\n     * @return {?}\n     */\n    indexOf(viewRef) {\n        return this._embeddedViews.indexOf(((/** @type {?} */ (viewRef)))._view);\n    }\n    /**\n     * @param {?=} index\n     * @return {?}\n     */\n    remove(index) {\n        /** @type {?} */\n        const viewData = detachEmbeddedView(this._data, index);\n        if (viewData) {\n            Services.destroyView(viewData);\n        }\n    }\n    /**\n     * @param {?=} index\n     * @return {?}\n     */\n    detach(index) {\n        /** @type {?} */\n        const view = detachEmbeddedView(this._data, index);\n        return view ? new ViewRef_(view) : null;\n    }\n}\nif (false) {}\n/**\n * @param {?} view\n * @return {?}\n */\nfunction createChangeDetectorRef(view) {\n    return new ViewRef_(view);\n}\nclass ViewRef_ {\n    /**\n     * @param {?} _view\n     */\n    constructor(_view) {\n        this._view = _view;\n        this._viewContainerRef = null;\n        this._appRef = null;\n    }\n    /**\n     * @return {?}\n     */\n    get rootNodes() { return rootRenderNodes(this._view); }\n    /**\n     * @return {?}\n     */\n    get context() { return this._view.context; }\n    /**\n     * @return {?}\n     */\n    get destroyed() { return (this._view.state & 128 /* Destroyed */) !== 0; }\n    /**\n     * @return {?}\n     */\n    markForCheck() { markParentViewsForCheck(this._view); }\n    /**\n     * @return {?}\n     */\n    detach() { this._view.state &= ~4 /* Attached */; }\n    /**\n     * @return {?}\n     */\n    detectChanges() {\n        /** @type {?} */\n        const fs = this._view.root.rendererFactory;\n        if (fs.begin) {\n            fs.begin();\n        }\n        try {\n            Services.checkAndUpdateView(this._view);\n        }\n        finally {\n            if (fs.end) {\n                fs.end();\n            }\n        }\n    }\n    /**\n     * @return {?}\n     */\n    checkNoChanges() { Services.checkNoChangesView(this._view); }\n    /**\n     * @return {?}\n     */\n    reattach() { this._view.state |= 4 /* Attached */; }\n    /**\n     * @param {?} callback\n     * @return {?}\n     */\n    onDestroy(callback) {\n        if (!this._view.disposables) {\n            this._view.disposables = [];\n        }\n        this._view.disposables.push((/** @type {?} */ (callback)));\n    }\n    /**\n     * @return {?}\n     */\n    destroy() {\n        if (this._appRef) {\n            this._appRef.detachView(this);\n        }\n        else if (this._viewContainerRef) {\n            this._viewContainerRef.detach(this._viewContainerRef.indexOf(this));\n        }\n        Services.destroyView(this._view);\n    }\n    /**\n     * @return {?}\n     */\n    detachFromAppRef() {\n        this._appRef = null;\n        renderDetachView$1(this._view);\n        Services.dirtyParentQueries(this._view);\n    }\n    /**\n     * @param {?} appRef\n     * @return {?}\n     */\n    attachToAppRef(appRef) {\n        if (this._viewContainerRef) {\n            throw new Error('This view is already attached to a ViewContainer!');\n        }\n        this._appRef = appRef;\n    }\n    /**\n     * @param {?} vcRef\n     * @return {?}\n     */\n    attachToViewContainerRef(vcRef) {\n        if (this._appRef) {\n            throw new Error('This view is already attached directly to the ApplicationRef!');\n        }\n        this._viewContainerRef = vcRef;\n    }\n}\nif (false) {}\n/**\n * @param {?} view\n * @param {?} def\n * @return {?}\n */\nfunction createTemplateData(view, def) {\n    return new TemplateRef_(view, def);\n}\nclass TemplateRef_ extends TemplateRef {\n    /**\n     * @param {?} _parentView\n     * @param {?} _def\n     */\n    constructor(_parentView, _def) {\n        super();\n        this._parentView = _parentView;\n        this._def = _def;\n    }\n    /**\n     * @param {?} context\n     * @return {?}\n     */\n    createEmbeddedView(context) {\n        return new ViewRef_(Services.createEmbeddedView(this._parentView, this._def, (/** @type {?} */ ((/** @type {?} */ (this._def.element)).template)), context));\n    }\n    /**\n     * @return {?}\n     */\n    get elementRef() {\n        return new ElementRef(asElementData(this._parentView, this._def.nodeIndex).renderElement);\n    }\n}\nif (false) {}\n/**\n * @param {?} view\n * @param {?} elDef\n * @return {?}\n */\nfunction createInjector$1(view, elDef) {\n    return new Injector_(view, elDef);\n}\nclass Injector_ {\n    /**\n     * @param {?} view\n     * @param {?} elDef\n     */\n    constructor(view, elDef) {\n        this.view = view;\n        this.elDef = elDef;\n    }\n    /**\n     * @param {?} token\n     * @param {?=} notFoundValue\n     * @return {?}\n     */\n    get(token, notFoundValue = Injector.THROW_IF_NOT_FOUND) {\n        /** @type {?} */\n        const allowPrivateServices = this.elDef ? (this.elDef.flags & 33554432 /* ComponentView */) !== 0 : false;\n        return Services.resolveDep(this.view, this.elDef, allowPrivateServices, { flags: 0 /* None */, token, tokenKey: tokenKey(token) }, notFoundValue);\n    }\n}\nif (false) {}\n/**\n * @param {?} view\n * @param {?} index\n * @return {?}\n */\nfunction nodeValue(view, index) {\n    /** @type {?} */\n    const def = view.def.nodes[index];\n    if (def.flags & 1 /* TypeElement */) {\n        /** @type {?} */\n        const elData = asElementData(view, def.nodeIndex);\n        return (/** @type {?} */ (def.element)).template ? elData.template : elData.renderElement;\n    }\n    else if (def.flags & 2 /* TypeText */) {\n        return asTextData(view, def.nodeIndex).renderText;\n    }\n    else if (def.flags & (20224 /* CatProvider */ | 16 /* TypePipe */)) {\n        return asProviderData(view, def.nodeIndex).instance;\n    }\n    throw new Error(`Illegal state: read nodeValue for node index ${index}`);\n}\n/**\n * @param {?} view\n * @return {?}\n */\nfunction createRendererV1(view) {\n    return new RendererAdapter(view.renderer);\n}\nclass RendererAdapter {\n    /**\n     * @param {?} delegate\n     */\n    constructor(delegate) {\n        this.delegate = delegate;\n    }\n    /**\n     * @param {?} selectorOrNode\n     * @return {?}\n     */\n    selectRootElement(selectorOrNode) {\n        return this.delegate.selectRootElement(selectorOrNode);\n    }\n    /**\n     * @param {?} parent\n     * @param {?} namespaceAndName\n     * @return {?}\n     */\n    createElement(parent, namespaceAndName) {\n        const [ns, name] = splitNamespace(namespaceAndName);\n        /** @type {?} */\n        const el = this.delegate.createElement(name, ns);\n        if (parent) {\n            this.delegate.appendChild(parent, el);\n        }\n        return el;\n    }\n    /**\n     * @param {?} hostElement\n     * @return {?}\n     */\n    createViewRoot(hostElement) { return hostElement; }\n    /**\n     * @param {?} parentElement\n     * @return {?}\n     */\n    createTemplateAnchor(parentElement) {\n        /** @type {?} */\n        const comment = this.delegate.createComment('');\n        if (parentElement) {\n            this.delegate.appendChild(parentElement, comment);\n        }\n        return comment;\n    }\n    /**\n     * @param {?} parentElement\n     * @param {?} value\n     * @return {?}\n     */\n    createText(parentElement, value) {\n        /** @type {?} */\n        const node = this.delegate.createText(value);\n        if (parentElement) {\n            this.delegate.appendChild(parentElement, node);\n        }\n        return node;\n    }\n    /**\n     * @param {?} parentElement\n     * @param {?} nodes\n     * @return {?}\n     */\n    projectNodes(parentElement, nodes) {\n        for (let i = 0; i < nodes.length; i++) {\n            this.delegate.appendChild(parentElement, nodes[i]);\n        }\n    }\n    /**\n     * @param {?} node\n     * @param {?} viewRootNodes\n     * @return {?}\n     */\n    attachViewAfter(node, viewRootNodes) {\n        /** @type {?} */\n        const parentElement = this.delegate.parentNode(node);\n        /** @type {?} */\n        const nextSibling = this.delegate.nextSibling(node);\n        for (let i = 0; i < viewRootNodes.length; i++) {\n            this.delegate.insertBefore(parentElement, viewRootNodes[i], nextSibling);\n        }\n    }\n    /**\n     * @param {?} viewRootNodes\n     * @return {?}\n     */\n    detachView(viewRootNodes) {\n        for (let i = 0; i < viewRootNodes.length; i++) {\n            /** @type {?} */\n            const node = viewRootNodes[i];\n            /** @type {?} */\n            const parentElement = this.delegate.parentNode(node);\n            this.delegate.removeChild(parentElement, node);\n        }\n    }\n    /**\n     * @param {?} hostElement\n     * @param {?} viewAllNodes\n     * @return {?}\n     */\n    destroyView(hostElement, viewAllNodes) {\n        for (let i = 0; i < viewAllNodes.length; i++) {\n            (/** @type {?} */ (this.delegate.destroyNode))(viewAllNodes[i]);\n        }\n    }\n    /**\n     * @param {?} renderElement\n     * @param {?} name\n     * @param {?} callback\n     * @return {?}\n     */\n    listen(renderElement, name, callback) {\n        return this.delegate.listen(renderElement, name, (/** @type {?} */ (callback)));\n    }\n    /**\n     * @param {?} target\n     * @param {?} name\n     * @param {?} callback\n     * @return {?}\n     */\n    listenGlobal(target, name, callback) {\n        return this.delegate.listen(target, name, (/** @type {?} */ (callback)));\n    }\n    /**\n     * @param {?} renderElement\n     * @param {?} propertyName\n     * @param {?} propertyValue\n     * @return {?}\n     */\n    setElementProperty(renderElement, propertyName, propertyValue) {\n        this.delegate.setProperty(renderElement, propertyName, propertyValue);\n    }\n    /**\n     * @param {?} renderElement\n     * @param {?} namespaceAndName\n     * @param {?=} attributeValue\n     * @return {?}\n     */\n    setElementAttribute(renderElement, namespaceAndName, attributeValue) {\n        const [ns, name] = splitNamespace(namespaceAndName);\n        if (attributeValue != null) {\n            this.delegate.setAttribute(renderElement, name, attributeValue, ns);\n        }\n        else {\n            this.delegate.removeAttribute(renderElement, name, ns);\n        }\n    }\n    /**\n     * @param {?} renderElement\n     * @param {?} propertyName\n     * @param {?} propertyValue\n     * @return {?}\n     */\n    setBindingDebugInfo(renderElement, propertyName, propertyValue) { }\n    /**\n     * @param {?} renderElement\n     * @param {?} className\n     * @param {?} isAdd\n     * @return {?}\n     */\n    setElementClass(renderElement, className, isAdd) {\n        if (isAdd) {\n            this.delegate.addClass(renderElement, className);\n        }\n        else {\n            this.delegate.removeClass(renderElement, className);\n        }\n    }\n    /**\n     * @param {?} renderElement\n     * @param {?} styleName\n     * @param {?=} styleValue\n     * @return {?}\n     */\n    setElementStyle(renderElement, styleName, styleValue) {\n        if (styleValue != null) {\n            this.delegate.setStyle(renderElement, styleName, styleValue);\n        }\n        else {\n            this.delegate.removeStyle(renderElement, styleName);\n        }\n    }\n    /**\n     * @param {?} renderElement\n     * @param {?} methodName\n     * @param {?} args\n     * @return {?}\n     */\n    invokeElementMethod(renderElement, methodName, args) {\n        ((/** @type {?} */ (renderElement)))[methodName].apply(renderElement, args);\n    }\n    /**\n     * @param {?} renderNode\n     * @param {?} text\n     * @return {?}\n     */\n    setText(renderNode, text) { this.delegate.setValue(renderNode, text); }\n    /**\n     * @return {?}\n     */\n    animate() { throw new Error('Renderer.animate is no longer supported!'); }\n}\nif (false) {}\n/**\n * @param {?} moduleType\n * @param {?} parent\n * @param {?} bootstrapComponents\n * @param {?} def\n * @return {?}\n */\nfunction createNgModuleRef(moduleType, parent, bootstrapComponents, def) {\n    return new NgModuleRef_(moduleType, parent, bootstrapComponents, def);\n}\nclass NgModuleRef_ {\n    /**\n     * @param {?} _moduleType\n     * @param {?} _parent\n     * @param {?} _bootstrapComponents\n     * @param {?} _def\n     */\n    constructor(_moduleType, _parent, _bootstrapComponents, _def) {\n        this._moduleType = _moduleType;\n        this._parent = _parent;\n        this._bootstrapComponents = _bootstrapComponents;\n        this._def = _def;\n        this._destroyListeners = [];\n        this._destroyed = false;\n        this.injector = this;\n        initNgModule(this);\n    }\n    /**\n     * @param {?} token\n     * @param {?=} notFoundValue\n     * @param {?=} injectFlags\n     * @return {?}\n     */\n    get(token, notFoundValue = Injector.THROW_IF_NOT_FOUND, injectFlags = InjectFlags.Default) {\n        /** @type {?} */\n        let flags = 0 /* None */;\n        if (injectFlags & InjectFlags.SkipSelf) {\n            flags |= 1 /* SkipSelf */;\n        }\n        else if (injectFlags & InjectFlags.Self) {\n            flags |= 4 /* Self */;\n        }\n        return resolveNgModuleDep(this, { token: token, tokenKey: tokenKey(token), flags: flags }, notFoundValue);\n    }\n    /**\n     * @return {?}\n     */\n    get instance() { return this.get(this._moduleType); }\n    /**\n     * @return {?}\n     */\n    get componentFactoryResolver() { return this.get(ComponentFactoryResolver); }\n    /**\n     * @return {?}\n     */\n    destroy() {\n        if (this._destroyed) {\n            throw new Error(`The ng module ${stringify(this.instance.constructor)} has already been destroyed.`);\n        }\n        this._destroyed = true;\n        callNgModuleLifecycle(this, 131072 /* OnDestroy */);\n        this._destroyListeners.forEach((/**\n         * @param {?} listener\n         * @return {?}\n         */\n        (listener) => listener()));\n    }\n    /**\n     * @param {?} callback\n     * @return {?}\n     */\n    onDestroy(callback) { this._destroyListeners.push(callback); }\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst RendererV1TokenKey = tokenKey(Renderer);\n/** @type {?} */\nconst Renderer2TokenKey = tokenKey(Renderer2);\n/** @type {?} */\nconst ElementRefTokenKey = tokenKey(ElementRef);\n/** @type {?} */\nconst ViewContainerRefTokenKey = tokenKey(ViewContainerRef);\n/** @type {?} */\nconst TemplateRefTokenKey = tokenKey(TemplateRef);\n/** @type {?} */\nconst ChangeDetectorRefTokenKey = tokenKey(ChangeDetectorRef);\n/** @type {?} */\nconst InjectorRefTokenKey$1 = tokenKey(Injector);\n/** @type {?} */\nconst INJECTORRefTokenKey$1 = tokenKey(INJECTOR);\n/**\n * @param {?} checkIndex\n * @param {?} flags\n * @param {?} matchedQueries\n * @param {?} childCount\n * @param {?} ctor\n * @param {?} deps\n * @param {?=} props\n * @param {?=} outputs\n * @return {?}\n */\nfunction directiveDef(checkIndex, flags, matchedQueries, childCount, ctor, deps, props, outputs) {\n    /** @type {?} */\n    const bindings = [];\n    if (props) {\n        for (let prop in props) {\n            const [bindingIndex, nonMinifiedName] = props[prop];\n            bindings[bindingIndex] = {\n                flags: 8 /* TypeProperty */,\n                name: prop, nonMinifiedName,\n                ns: null,\n                securityContext: null,\n                suffix: null\n            };\n        }\n    }\n    /** @type {?} */\n    const outputDefs = [];\n    if (outputs) {\n        for (let propName in outputs) {\n            outputDefs.push({ type: 1 /* DirectiveOutput */, propName, target: null, eventName: outputs[propName] });\n        }\n    }\n    flags |= 16384 /* TypeDirective */;\n    return _def(checkIndex, flags, matchedQueries, childCount, ctor, ctor, deps, bindings, outputDefs);\n}\n/**\n * @param {?} flags\n * @param {?} ctor\n * @param {?} deps\n * @return {?}\n */\nfunction pipeDef(flags, ctor, deps) {\n    flags |= 16 /* TypePipe */;\n    return _def(-1, flags, null, 0, ctor, ctor, deps);\n}\n/**\n * @param {?} flags\n * @param {?} matchedQueries\n * @param {?} token\n * @param {?} value\n * @param {?} deps\n * @return {?}\n */\nfunction providerDef(flags, matchedQueries, token, value, deps) {\n    return _def(-1, flags, matchedQueries, 0, token, value, deps);\n}\n/**\n * @param {?} checkIndex\n * @param {?} flags\n * @param {?} matchedQueriesDsl\n * @param {?} childCount\n * @param {?} token\n * @param {?} value\n * @param {?} deps\n * @param {?=} bindings\n * @param {?=} outputs\n * @return {?}\n */\nfunction _def(checkIndex, flags, matchedQueriesDsl, childCount, token, value, deps, bindings, outputs) {\n    const { matchedQueries, references, matchedQueryIds } = splitMatchedQueriesDsl(matchedQueriesDsl);\n    if (!outputs) {\n        outputs = [];\n    }\n    if (!bindings) {\n        bindings = [];\n    }\n    // Need to resolve forwardRefs as e.g. for `useValue` we\n    // lowered the expression and then stopped evaluating it,\n    // i.e. also didn't unwrap it.\n    value = resolveForwardRef(value);\n    /** @type {?} */\n    const depDefs = splitDepsDsl(deps, stringify(token));\n    return {\n        // will bet set by the view definition\n        nodeIndex: -1,\n        parent: null,\n        renderParent: null,\n        bindingIndex: -1,\n        outputIndex: -1,\n        // regular values\n        checkIndex,\n        flags,\n        childFlags: 0,\n        directChildFlags: 0,\n        childMatchedQueries: 0, matchedQueries, matchedQueryIds, references,\n        ngContentIndex: -1, childCount, bindings,\n        bindingFlags: calcBindingFlags(bindings), outputs,\n        element: null,\n        provider: { token, value, deps: depDefs },\n        text: null,\n        query: null,\n        ngContent: null\n    };\n}\n/**\n * @param {?} view\n * @param {?} def\n * @return {?}\n */\nfunction createProviderInstance(view, def) {\n    return _createProviderInstance$1(view, def);\n}\n/**\n * @param {?} view\n * @param {?} def\n * @return {?}\n */\nfunction createPipeInstance(view, def) {\n    // deps are looked up from component.\n    /** @type {?} */\n    let compView = view;\n    while (compView.parent && !isComponentView(compView)) {\n        compView = compView.parent;\n    }\n    // pipes can see the private services of the component\n    /** @type {?} */\n    const allowPrivateServices = true;\n    // pipes are always eager and classes!\n    return createClass((/** @type {?} */ (compView.parent)), (/** @type {?} */ (viewParentEl(compView))), allowPrivateServices, (/** @type {?} */ (def.provider)).value, (/** @type {?} */ (def.provider)).deps);\n}\n/**\n * @param {?} view\n * @param {?} def\n * @return {?}\n */\nfunction createDirectiveInstance(view, def) {\n    // components can see other private services, other directives can't.\n    /** @type {?} */\n    const allowPrivateServices = (def.flags & 32768 /* Component */) > 0;\n    // directives are always eager and classes!\n    /** @type {?} */\n    const instance = createClass(view, (/** @type {?} */ (def.parent)), allowPrivateServices, (/** @type {?} */ (def.provider)).value, (/** @type {?} */ (def.provider)).deps);\n    if (def.outputs.length) {\n        for (let i = 0; i < def.outputs.length; i++) {\n            /** @type {?} */\n            const output = def.outputs[i];\n            /** @type {?} */\n            const outputObservable = instance[(/** @type {?} */ (output.propName))];\n            if (isObservable(outputObservable)) {\n                /** @type {?} */\n                const subscription = outputObservable.subscribe(eventHandlerClosure(view, (/** @type {?} */ (def.parent)).nodeIndex, output.eventName));\n                (/** @type {?} */ (view.disposables))[def.outputIndex + i] = subscription.unsubscribe.bind(subscription);\n            }\n            else {\n                throw new Error(`@Output ${output.propName} not initialized in '${instance.constructor.name}'.`);\n            }\n        }\n    }\n    return instance;\n}\n/**\n * @param {?} view\n * @param {?} index\n * @param {?} eventName\n * @return {?}\n */\nfunction eventHandlerClosure(view, index, eventName) {\n    return (/**\n     * @param {?} event\n     * @return {?}\n     */\n    (event) => dispatchEvent(view, index, eventName, event));\n}\n/**\n * @param {?} view\n * @param {?} def\n * @param {?} v0\n * @param {?} v1\n * @param {?} v2\n * @param {?} v3\n * @param {?} v4\n * @param {?} v5\n * @param {?} v6\n * @param {?} v7\n * @param {?} v8\n * @param {?} v9\n * @return {?}\n */\nfunction checkAndUpdateDirectiveInline(view, def, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9) {\n    /** @type {?} */\n    const providerData = asProviderData(view, def.nodeIndex);\n    /** @type {?} */\n    const directive = providerData.instance;\n    /** @type {?} */\n    let changed = false;\n    /** @type {?} */\n    let changes = (/** @type {?} */ (undefined));\n    /** @type {?} */\n    const bindLen = def.bindings.length;\n    if (bindLen > 0 && checkBinding(view, def, 0, v0)) {\n        changed = true;\n        changes = updateProp(view, providerData, def, 0, v0, changes);\n    }\n    if (bindLen > 1 && checkBinding(view, def, 1, v1)) {\n        changed = true;\n        changes = updateProp(view, providerData, def, 1, v1, changes);\n    }\n    if (bindLen > 2 && checkBinding(view, def, 2, v2)) {\n        changed = true;\n        changes = updateProp(view, providerData, def, 2, v2, changes);\n    }\n    if (bindLen > 3 && checkBinding(view, def, 3, v3)) {\n        changed = true;\n        changes = updateProp(view, providerData, def, 3, v3, changes);\n    }\n    if (bindLen > 4 && checkBinding(view, def, 4, v4)) {\n        changed = true;\n        changes = updateProp(view, providerData, def, 4, v4, changes);\n    }\n    if (bindLen > 5 && checkBinding(view, def, 5, v5)) {\n        changed = true;\n        changes = updateProp(view, providerData, def, 5, v5, changes);\n    }\n    if (bindLen > 6 && checkBinding(view, def, 6, v6)) {\n        changed = true;\n        changes = updateProp(view, providerData, def, 6, v6, changes);\n    }\n    if (bindLen > 7 && checkBinding(view, def, 7, v7)) {\n        changed = true;\n        changes = updateProp(view, providerData, def, 7, v7, changes);\n    }\n    if (bindLen > 8 && checkBinding(view, def, 8, v8)) {\n        changed = true;\n        changes = updateProp(view, providerData, def, 8, v8, changes);\n    }\n    if (bindLen > 9 && checkBinding(view, def, 9, v9)) {\n        changed = true;\n        changes = updateProp(view, providerData, def, 9, v9, changes);\n    }\n    if (changes) {\n        directive.ngOnChanges(changes);\n    }\n    if ((def.flags & 65536 /* OnInit */) &&\n        shouldCallLifecycleInitHook(view, 256 /* InitState_CallingOnInit */, def.nodeIndex)) {\n        directive.ngOnInit();\n    }\n    if (def.flags & 262144 /* DoCheck */) {\n        directive.ngDoCheck();\n    }\n    return changed;\n}\n/**\n * @param {?} view\n * @param {?} def\n * @param {?} values\n * @return {?}\n */\nfunction checkAndUpdateDirectiveDynamic(view, def, values) {\n    /** @type {?} */\n    const providerData = asProviderData(view, def.nodeIndex);\n    /** @type {?} */\n    const directive = providerData.instance;\n    /** @type {?} */\n    let changed = false;\n    /** @type {?} */\n    let changes = (/** @type {?} */ (undefined));\n    for (let i = 0; i < values.length; i++) {\n        if (checkBinding(view, def, i, values[i])) {\n            changed = true;\n            changes = updateProp(view, providerData, def, i, values[i], changes);\n        }\n    }\n    if (changes) {\n        directive.ngOnChanges(changes);\n    }\n    if ((def.flags & 65536 /* OnInit */) &&\n        shouldCallLifecycleInitHook(view, 256 /* InitState_CallingOnInit */, def.nodeIndex)) {\n        directive.ngOnInit();\n    }\n    if (def.flags & 262144 /* DoCheck */) {\n        directive.ngDoCheck();\n    }\n    return changed;\n}\n/**\n * @param {?} view\n * @param {?} def\n * @return {?}\n */\nfunction _createProviderInstance$1(view, def) {\n    // private services can see other private services\n    /** @type {?} */\n    const allowPrivateServices = (def.flags & 8192 /* PrivateProvider */) > 0;\n    /** @type {?} */\n    const providerDef = def.provider;\n    switch (def.flags & 201347067 /* Types */) {\n        case 512 /* TypeClassProvider */:\n            return createClass(view, (/** @type {?} */ (def.parent)), allowPrivateServices, (/** @type {?} */ (providerDef)).value, (/** @type {?} */ (providerDef)).deps);\n        case 1024 /* TypeFactoryProvider */:\n            return callFactory(view, (/** @type {?} */ (def.parent)), allowPrivateServices, (/** @type {?} */ (providerDef)).value, (/** @type {?} */ (providerDef)).deps);\n        case 2048 /* TypeUseExistingProvider */:\n            return resolveDep(view, (/** @type {?} */ (def.parent)), allowPrivateServices, (/** @type {?} */ (providerDef)).deps[0]);\n        case 256 /* TypeValueProvider */:\n            return (/** @type {?} */ (providerDef)).value;\n    }\n}\n/**\n * @param {?} view\n * @param {?} elDef\n * @param {?} allowPrivateServices\n * @param {?} ctor\n * @param {?} deps\n * @return {?}\n */\nfunction createClass(view, elDef, allowPrivateServices, ctor, deps) {\n    /** @type {?} */\n    const len = deps.length;\n    switch (len) {\n        case 0:\n            return new ctor();\n        case 1:\n            return new ctor(resolveDep(view, elDef, allowPrivateServices, deps[0]));\n        case 2:\n            return new ctor(resolveDep(view, elDef, allowPrivateServices, deps[0]), resolveDep(view, elDef, allowPrivateServices, deps[1]));\n        case 3:\n            return new ctor(resolveDep(view, elDef, allowPrivateServices, deps[0]), resolveDep(view, elDef, allowPrivateServices, deps[1]), resolveDep(view, elDef, allowPrivateServices, deps[2]));\n        default:\n            /** @type {?} */\n            const depValues = new Array(len);\n            for (let i = 0; i < len; i++) {\n                depValues[i] = resolveDep(view, elDef, allowPrivateServices, deps[i]);\n            }\n            return new ctor(...depValues);\n    }\n}\n/**\n * @param {?} view\n * @param {?} elDef\n * @param {?} allowPrivateServices\n * @param {?} factory\n * @param {?} deps\n * @return {?}\n */\nfunction callFactory(view, elDef, allowPrivateServices, factory, deps) {\n    /** @type {?} */\n    const len = deps.length;\n    switch (len) {\n        case 0:\n            return factory();\n        case 1:\n            return factory(resolveDep(view, elDef, allowPrivateServices, deps[0]));\n        case 2:\n            return factory(resolveDep(view, elDef, allowPrivateServices, deps[0]), resolveDep(view, elDef, allowPrivateServices, deps[1]));\n        case 3:\n            return factory(resolveDep(view, elDef, allowPrivateServices, deps[0]), resolveDep(view, elDef, allowPrivateServices, deps[1]), resolveDep(view, elDef, allowPrivateServices, deps[2]));\n        default:\n            /** @type {?} */\n            const depValues = Array(len);\n            for (let i = 0; i < len; i++) {\n                depValues[i] = resolveDep(view, elDef, allowPrivateServices, deps[i]);\n            }\n            return factory(...depValues);\n    }\n}\n// This default value is when checking the hierarchy for a token.\n//\n// It means both:\n// - the token is not provided by the current injector,\n// - only the element injectors should be checked (ie do not check module injectors\n//\n//          mod1\n//         /\n//       el1   mod2\n//         \\  /\n//         el2\n//\n// When requesting el2.injector.get(token), we should check in the following order and return the\n// first found value:\n// - el2.injector.get(token, default)\n// - el1.injector.get(token, NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR) -> do not check the module\n// - mod2.injector.get(token, default)\n/** @type {?} */\nconst NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR = {};\n/**\n * @param {?} view\n * @param {?} elDef\n * @param {?} allowPrivateServices\n * @param {?} depDef\n * @param {?=} notFoundValue\n * @return {?}\n */\nfunction resolveDep(view, elDef, allowPrivateServices, depDef, notFoundValue = Injector.THROW_IF_NOT_FOUND) {\n    if (depDef.flags & 8 /* Value */) {\n        return depDef.token;\n    }\n    /** @type {?} */\n    const startView = view;\n    if (depDef.flags & 2 /* Optional */) {\n        notFoundValue = null;\n    }\n    /** @type {?} */\n    const tokenKey = depDef.tokenKey;\n    if (tokenKey === ChangeDetectorRefTokenKey) {\n        // directives on the same element as a component should be able to control the change detector\n        // of that component as well.\n        allowPrivateServices = !!(elDef && (/** @type {?} */ (elDef.element)).componentView);\n    }\n    if (elDef && (depDef.flags & 1 /* SkipSelf */)) {\n        allowPrivateServices = false;\n        elDef = (/** @type {?} */ (elDef.parent));\n    }\n    /** @type {?} */\n    let searchView = view;\n    while (searchView) {\n        if (elDef) {\n            switch (tokenKey) {\n                case RendererV1TokenKey: {\n                    /** @type {?} */\n                    const compView = findCompView(searchView, elDef, allowPrivateServices);\n                    return createRendererV1(compView);\n                }\n                case Renderer2TokenKey: {\n                    /** @type {?} */\n                    const compView = findCompView(searchView, elDef, allowPrivateServices);\n                    return compView.renderer;\n                }\n                case ElementRefTokenKey:\n                    return new ElementRef(asElementData(searchView, elDef.nodeIndex).renderElement);\n                case ViewContainerRefTokenKey:\n                    return asElementData(searchView, elDef.nodeIndex).viewContainer;\n                case TemplateRefTokenKey: {\n                    if ((/** @type {?} */ (elDef.element)).template) {\n                        return asElementData(searchView, elDef.nodeIndex).template;\n                    }\n                    break;\n                }\n                case ChangeDetectorRefTokenKey: {\n                    /** @type {?} */\n                    let cdView = findCompView(searchView, elDef, allowPrivateServices);\n                    return createChangeDetectorRef(cdView);\n                }\n                case InjectorRefTokenKey$1:\n                case INJECTORRefTokenKey$1:\n                    return createInjector$1(searchView, elDef);\n                default:\n                    /** @type {?} */\n                    const providerDef = (/** @type {?} */ ((allowPrivateServices ? (/** @type {?} */ (elDef.element)).allProviders :\n                        (/** @type {?} */ (elDef.element)).publicProviders)))[tokenKey];\n                    if (providerDef) {\n                        /** @type {?} */\n                        let providerData = asProviderData(searchView, providerDef.nodeIndex);\n                        if (!providerData) {\n                            providerData = { instance: _createProviderInstance$1(searchView, providerDef) };\n                            searchView.nodes[providerDef.nodeIndex] = (/** @type {?} */ (providerData));\n                        }\n                        return providerData.instance;\n                    }\n            }\n        }\n        allowPrivateServices = isComponentView(searchView);\n        elDef = (/** @type {?} */ (viewParentEl(searchView)));\n        searchView = (/** @type {?} */ (searchView.parent));\n        if (depDef.flags & 4 /* Self */) {\n            searchView = null;\n        }\n    }\n    /** @type {?} */\n    const value = startView.root.injector.get(depDef.token, NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR);\n    if (value !== NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR ||\n        notFoundValue === NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR) {\n        // Return the value from the root element injector when\n        // - it provides it\n        //   (value !== NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR)\n        // - the module injector should not be checked\n        //   (notFoundValue === NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR)\n        return value;\n    }\n    return startView.root.ngModule.injector.get(depDef.token, notFoundValue);\n}\n/**\n * @param {?} view\n * @param {?} elDef\n * @param {?} allowPrivateServices\n * @return {?}\n */\nfunction findCompView(view, elDef, allowPrivateServices) {\n    /** @type {?} */\n    let compView;\n    if (allowPrivateServices) {\n        compView = asElementData(view, elDef.nodeIndex).componentView;\n    }\n    else {\n        compView = view;\n        while (compView.parent && !isComponentView(compView)) {\n            compView = compView.parent;\n        }\n    }\n    return compView;\n}\n/**\n * @param {?} view\n * @param {?} providerData\n * @param {?} def\n * @param {?} bindingIdx\n * @param {?} value\n * @param {?} changes\n * @return {?}\n */\nfunction updateProp(view, providerData, def, bindingIdx, value, changes) {\n    if (def.flags & 32768 /* Component */) {\n        /** @type {?} */\n        const compView = asElementData(view, (/** @type {?} */ (def.parent)).nodeIndex).componentView;\n        if (compView.def.flags & 2 /* OnPush */) {\n            compView.state |= 8 /* ChecksEnabled */;\n        }\n    }\n    /** @type {?} */\n    const binding = def.bindings[bindingIdx];\n    /** @type {?} */\n    const propName = (/** @type {?} */ (binding.name));\n    // Note: This is still safe with Closure Compiler as\n    // the user passed in the property name as an object has to `providerDef`,\n    // so Closure Compiler will have renamed the property correctly already.\n    providerData.instance[propName] = value;\n    if (def.flags & 524288 /* OnChanges */) {\n        changes = changes || {};\n        /** @type {?} */\n        const oldValue = WrappedValue.unwrap(view.oldValues[def.bindingIndex + bindingIdx]);\n        /** @type {?} */\n        const binding = def.bindings[bindingIdx];\n        changes[(/** @type {?} */ (binding.nonMinifiedName))] =\n            new SimpleChange(oldValue, value, (view.state & 2 /* FirstCheck */) !== 0);\n    }\n    view.oldValues[def.bindingIndex + bindingIdx] = value;\n    return changes;\n}\n// This function calls the ngAfterContentCheck, ngAfterContentInit,\n// ngAfterViewCheck, and ngAfterViewInit lifecycle hooks (depending on the node\n// flags in lifecycle). Unlike ngDoCheck, ngOnChanges and ngOnInit, which are\n// called during a pre-order traversal of the view tree (that is calling the\n// parent hooks before the child hooks) these events are sent in using a\n// post-order traversal of the tree (children before parents). This changes the\n// meaning of initIndex in the view state. For ngOnInit, initIndex tracks the\n// expected nodeIndex which a ngOnInit should be called. When sending\n// ngAfterContentInit and ngAfterViewInit it is the expected count of\n// ngAfterContentInit or ngAfterViewInit methods that have been called. This\n// ensure that despite being called recursively or after picking up after an\n// exception, the ngAfterContentInit or ngAfterViewInit will be called on the\n// correct nodes. Consider for example, the following (where E is an element\n// and D is a directive)\n//  Tree:       pre-order index  post-order index\n//    E1        0                6\n//      E2      1                1\n//       D3     2                0\n//      E4      3                5\n//       E5     4                4\n//        E6    5                2\n//        E7    6                3\n// As can be seen, the post-order index has an unclear relationship to the\n// pre-order index (postOrderIndex === preOrderIndex - parentCount +\n// childCount). Since number of calls to ngAfterContentInit and ngAfterViewInit\n// are stable (will be the same for the same view regardless of exceptions or\n// recursion) we just need to count them which will roughly correspond to the\n// post-order index (it skips elements and directives that do not have\n// lifecycle hooks).\n//\n// For example, if an exception is raised in the E6.onAfterViewInit() the\n// initIndex is left at 3 (by shouldCallLifecycleInitHook() which set it to\n// initIndex + 1). When checkAndUpdateView() is called again D3, E2 and E6 will\n// not have their ngAfterViewInit() called but, starting with E7, the rest of\n// the view will begin getting ngAfterViewInit() called until a check and\n// pass is complete.\n//\n// This algorthim also handles recursion. Consider if E4's ngAfterViewInit()\n// indirectly calls E1's ChangeDetectorRef.detectChanges(). The expected\n// initIndex is set to 6, the recusive checkAndUpdateView() starts walk again.\n// D3, E2, E6, E7, E5 and E4 are skipped, ngAfterViewInit() is called on E1.\n// When the recursion returns the initIndex will be 7 so E1 is skipped as it\n// has already been called in the recursively called checkAnUpdateView().\n/**\n * @param {?} view\n * @param {?} lifecycles\n * @return {?}\n */\nfunction callLifecycleHooksChildrenFirst(view, lifecycles) {\n    if (!(view.def.nodeFlags & lifecycles)) {\n        return;\n    }\n    /** @type {?} */\n    const nodes = view.def.nodes;\n    /** @type {?} */\n    let initIndex = 0;\n    for (let i = 0; i < nodes.length; i++) {\n        /** @type {?} */\n        const nodeDef = nodes[i];\n        /** @type {?} */\n        let parent = nodeDef.parent;\n        if (!parent && nodeDef.flags & lifecycles) {\n            // matching root node (e.g. a pipe)\n            callProviderLifecycles(view, i, nodeDef.flags & lifecycles, initIndex++);\n        }\n        if ((nodeDef.childFlags & lifecycles) === 0) {\n            // no child matches one of the lifecycles\n            i += nodeDef.childCount;\n        }\n        while (parent && (parent.flags & 1 /* TypeElement */) &&\n            i === parent.nodeIndex + parent.childCount) {\n            // last child of an element\n            if (parent.directChildFlags & lifecycles) {\n                initIndex = callElementProvidersLifecycles(view, parent, lifecycles, initIndex);\n            }\n            parent = parent.parent;\n        }\n    }\n}\n/**\n * @param {?} view\n * @param {?} elDef\n * @param {?} lifecycles\n * @param {?} initIndex\n * @return {?}\n */\nfunction callElementProvidersLifecycles(view, elDef, lifecycles, initIndex) {\n    for (let i = elDef.nodeIndex + 1; i <= elDef.nodeIndex + elDef.childCount; i++) {\n        /** @type {?} */\n        const nodeDef = view.def.nodes[i];\n        if (nodeDef.flags & lifecycles) {\n            callProviderLifecycles(view, i, nodeDef.flags & lifecycles, initIndex++);\n        }\n        // only visit direct children\n        i += nodeDef.childCount;\n    }\n    return initIndex;\n}\n/**\n * @param {?} view\n * @param {?} index\n * @param {?} lifecycles\n * @param {?} initIndex\n * @return {?}\n */\nfunction callProviderLifecycles(view, index, lifecycles, initIndex) {\n    /** @type {?} */\n    const providerData = asProviderData(view, index);\n    if (!providerData) {\n        return;\n    }\n    /** @type {?} */\n    const provider = providerData.instance;\n    if (!provider) {\n        return;\n    }\n    Services.setCurrentNode(view, index);\n    if (lifecycles & 1048576 /* AfterContentInit */ &&\n        shouldCallLifecycleInitHook(view, 512 /* InitState_CallingAfterContentInit */, initIndex)) {\n        provider.ngAfterContentInit();\n    }\n    if (lifecycles & 2097152 /* AfterContentChecked */) {\n        provider.ngAfterContentChecked();\n    }\n    if (lifecycles & 4194304 /* AfterViewInit */ &&\n        shouldCallLifecycleInitHook(view, 768 /* InitState_CallingAfterViewInit */, initIndex)) {\n        provider.ngAfterViewInit();\n    }\n    if (lifecycles & 8388608 /* AfterViewChecked */) {\n        provider.ngAfterViewChecked();\n    }\n    if (lifecycles & 131072 /* OnDestroy */) {\n        provider.ngOnDestroy();\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass ComponentFactoryResolver$1 extends ComponentFactoryResolver {\n    /**\n     * @param {?=} ngModule The NgModuleRef to which all resolved factories are bound.\n     */\n    constructor(ngModule) {\n        super();\n        this.ngModule = ngModule;\n    }\n    /**\n     * @template T\n     * @param {?} component\n     * @return {?}\n     */\n    resolveComponentFactory(component) {\n        ngDevMode && assertComponentType(component);\n        /** @type {?} */\n        const componentDef = (/** @type {?} */ (getComponentDef(component)));\n        return new ComponentFactory$1(componentDef, this.ngModule);\n    }\n}\nif (false) {}\n/**\n * @param {?} map\n * @return {?}\n */\nfunction toRefArray(map) {\n    /** @type {?} */\n    const array = [];\n    for (let nonMinified in map) {\n        if (map.hasOwnProperty(nonMinified)) {\n            /** @type {?} */\n            const minified = map[nonMinified];\n            array.push({ propName: minified, templateName: nonMinified });\n        }\n    }\n    return array;\n}\n/**\n * A change detection scheduler token for {\\@link RootContext}. This token is the default value used\n * for the default `RootContext` found in the {\\@link ROOT_CONTEXT} token.\n * @type {?}\n */\nconst SCHEDULER = new InjectionToken('SCHEDULER_TOKEN', {\n    providedIn: 'root',\n    factory: (/**\n     * @return {?}\n     */\n    () => defaultScheduler),\n});\n/**\n * @param {?} rootViewInjector\n * @param {?} moduleInjector\n * @return {?}\n */\nfunction createChainedInjector(rootViewInjector, moduleInjector) {\n    return {\n        get: (/**\n         * @template T\n         * @param {?} token\n         * @param {?=} notFoundValue\n         * @param {?=} flags\n         * @return {?}\n         */\n        (token, notFoundValue, flags) => {\n            /** @type {?} */\n            const value = rootViewInjector.get(token, (/** @type {?} */ (NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR)), flags);\n            if (value !== NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR ||\n                notFoundValue === NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR) {\n                // Return the value from the root element injector when\n                // - it provides it\n                //   (value !== NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR)\n                // - the module injector should not be checked\n                //   (notFoundValue === NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR)\n                return value;\n            }\n            return moduleInjector.get(token, notFoundValue, flags);\n        })\n    };\n}\n/**\n * Render3 implementation of {\\@link viewEngine_ComponentFactory}.\n * @template T\n */\nclass ComponentFactory$1 extends ComponentFactory {\n    /**\n     * @param {?} componentDef The component definition.\n     * @param {?=} ngModule The NgModuleRef to which the factory is bound.\n     */\n    constructor(componentDef, ngModule) {\n        super();\n        this.componentDef = componentDef;\n        this.ngModule = ngModule;\n        this.componentType = componentDef.type;\n        // default to 'div' in case this component has an attribute selector\n        this.selector = (/** @type {?} */ (componentDef.selectors[0][0])) || 'div';\n        this.ngContentSelectors =\n            componentDef.ngContentSelectors ? componentDef.ngContentSelectors : [];\n        this.isBoundToModule = !!ngModule;\n    }\n    /**\n     * @return {?}\n     */\n    get inputs() {\n        return toRefArray(this.componentDef.inputs);\n    }\n    /**\n     * @return {?}\n     */\n    get outputs() {\n        return toRefArray(this.componentDef.outputs);\n    }\n    /**\n     * @param {?} injector\n     * @param {?=} projectableNodes\n     * @param {?=} rootSelectorOrNode\n     * @param {?=} ngModule\n     * @return {?}\n     */\n    create(injector, projectableNodes, rootSelectorOrNode, ngModule) {\n        ngModule = ngModule || this.ngModule;\n        /** @type {?} */\n        const rootViewInjector = ngModule ? createChainedInjector(injector, ngModule.injector) : injector;\n        /** @type {?} */\n        const rendererFactory = (/** @type {?} */ (rootViewInjector.get(RendererFactory2, domRendererFactory3)));\n        /** @type {?} */\n        const sanitizer = rootViewInjector.get(Sanitizer, null);\n        // Ensure that the namespace for the root node is correct,\n        // otherwise the browser might not render out the element properly.\n        namespaceHTMLInternal();\n        /** @type {?} */\n        const hostRNode = rootSelectorOrNode ?\n            locateHostElement(rendererFactory, rootSelectorOrNode) :\n            elementCreate(this.selector, rendererFactory.createRenderer(null, this.componentDef));\n        /** @type {?} */\n        const rootFlags = this.componentDef.onPush ? 64 /* Dirty */ | 512 /* IsRoot */ :\n            16 /* CheckAlways */ | 512 /* IsRoot */;\n        // Check whether this Component needs to be isolated from other components, i.e. whether it\n        // should be placed into its own (empty) root context or existing root context should be used.\n        // Note: this is internal-only convention and might change in the future, so it should not be\n        // relied upon externally.\n        /** @type {?} */\n        const isIsolated = typeof rootSelectorOrNode === 'string' &&\n            /^#root-ng-internal-isolated-\\d+/.test(rootSelectorOrNode);\n        /** @type {?} */\n        const rootContext = createRootContext();\n        /** @type {?} */\n        const renderer = rendererFactory.createRenderer(hostRNode, this.componentDef);\n        if (rootSelectorOrNode && hostRNode) {\n            ngDevMode && ngDevMode.rendererSetAttribute++;\n            isProceduralRenderer(renderer) ?\n                renderer.setAttribute(hostRNode, 'ng-version', VERSION.full) :\n                hostRNode.setAttribute('ng-version', VERSION.full);\n        }\n        // Create the root view. Uses empty TView and ContentTemplate.\n        /** @type {?} */\n        const rootLView = createLView(null, createTView(-1, null, 1, 0, null, null, null, null), rootContext, rootFlags, null, null, rendererFactory, renderer, sanitizer, rootViewInjector);\n        // rootView is the parent when bootstrapping\n        /** @type {?} */\n        const oldLView = enterView(rootLView, null);\n        /** @type {?} */\n        let component;\n        /** @type {?} */\n        let tElementNode;\n        // Will become true if the `try` block executes with no errors.\n        /** @type {?} */\n        let safeToRunHooks = false;\n        try {\n            /** @type {?} */\n            const componentView = createRootComponentView(hostRNode, this.componentDef, rootLView, rendererFactory, renderer);\n            tElementNode = (/** @type {?} */ (getTNode(0, rootLView)));\n            if (projectableNodes) {\n                // projectable nodes can be passed as array of arrays or an array of iterables (ngUpgrade\n                // case). Here we do normalize passed data structure to be an array of arrays to avoid\n                // complex checks down the line.\n                tElementNode.projection =\n                    projectableNodes.map((/**\n                     * @param {?} nodesforSlot\n                     * @return {?}\n                     */\n                    (nodesforSlot) => { return Array.from(nodesforSlot); }));\n            }\n            // TODO: should LifecycleHooksFeature and other host features be generated by the compiler and\n            // executed here?\n            // Angular 5 reference: https://stackblitz.com/edit/lifecycle-hooks-vcref\n            component = createRootComponent(componentView, this.componentDef, rootLView, rootContext, [LifecycleHooksFeature]);\n            addToViewTree(rootLView, componentView);\n            refreshDescendantViews(rootLView);\n            safeToRunHooks = true;\n        }\n        finally {\n            leaveView(oldLView, safeToRunHooks);\n        }\n        /** @type {?} */\n        const componentRef = new ComponentRef$1(this.componentType, component, createElementRef(ElementRef, tElementNode, rootLView), rootLView, tElementNode);\n        if (!rootSelectorOrNode || isIsolated) {\n            // The host element of the internal or isolated root view is attached to the component's host\n            // view node.\n            (/** @type {?} */ (componentRef.hostView._tViewNode)).child = tElementNode;\n        }\n        return componentRef;\n    }\n}\nif (false) {}\n/** @type {?} */\nconst componentFactoryResolver = new ComponentFactoryResolver$1();\n/**\n * Creates a ComponentFactoryResolver and stores it on the injector. Or, if the\n * ComponentFactoryResolver\n * already exists, retrieves the existing ComponentFactoryResolver.\n *\n * @return {?} The ComponentFactoryResolver instance to use\n */\nfunction injectComponentFactoryResolver() {\n    return componentFactoryResolver;\n}\n/**\n * Represents an instance of a Component created via a {\\@link ComponentFactory}.\n *\n * `ComponentRef` provides access to the Component Instance as well other objects related to this\n * Component Instance and allows you to destroy the Component Instance via the {\\@link #destroy}\n * method.\n *\n * @template T\n */\nclass ComponentRef$1 extends ComponentRef {\n    /**\n     * @param {?} componentType\n     * @param {?} instance\n     * @param {?} location\n     * @param {?} _rootLView\n     * @param {?} _tNode\n     */\n    constructor(componentType, instance, location, _rootLView, _tNode) {\n        super();\n        this.location = location;\n        this._rootLView = _rootLView;\n        this._tNode = _tNode;\n        this.destroyCbs = [];\n        this.instance = instance;\n        this.hostView = this.changeDetectorRef = new RootViewRef(_rootLView);\n        this.hostView._tViewNode = assignTViewNodeToLView(_rootLView[TVIEW], null, -1, _rootLView);\n        this.componentType = componentType;\n    }\n    /**\n     * @return {?}\n     */\n    get injector() { return new NodeInjector(this._tNode, this._rootLView); }\n    /**\n     * @return {?}\n     */\n    destroy() {\n        if (this.destroyCbs) {\n            this.destroyCbs.forEach((/**\n             * @param {?} fn\n             * @return {?}\n             */\n            fn => fn()));\n            this.destroyCbs = null;\n            !this.hostView.destroyed && this.hostView.destroy();\n        }\n    }\n    /**\n     * @param {?} callback\n     * @return {?}\n     */\n    onDestroy(callback) {\n        if (this.destroyCbs) {\n            this.destroyCbs.push(callback);\n        }\n    }\n}\nif (false) {}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * NOTE: changes to the `ngI18nClosureMode` name must be synced with `compiler-cli/src/tooling.ts`.\n */\nif (typeof ngI18nClosureMode === 'undefined') {\n    // These property accesses can be ignored because ngI18nClosureMode will be set to false\n    // when optimizing code and the whole if statement will be dropped.\n    // Make sure to refer to ngI18nClosureMode as ['ngI18nClosureMode'] for closure.\n    // NOTE: we need to have it in IIFE so that the tree-shaker is happy.\n    (function () {\n        // tslint:disable-next-line:no-toplevel-property-access\n        _global['ngI18nClosureMode'] =\n            // TODO(FW-1250): validate that this actually, you know, works.\n            // tslint:disable-next-line:no-toplevel-property-access\n            typeof goog !== 'undefined' && typeof goog.getMsg === 'function';\n    })();\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * This const is used to store the locale data registered with `registerLocaleData`\n * @type {?}\n */\nconst LOCALE_DATA = {};\n/** @enum {number} */\nconst LocaleDataIndex = {\n    LocaleId: 0,\n    DayPeriodsFormat: 1,\n    DayPeriodsStandalone: 2,\n    DaysFormat: 3,\n    DaysStandalone: 4,\n    MonthsFormat: 5,\n    MonthsStandalone: 6,\n    Eras: 7,\n    FirstDayOfWeek: 8,\n    WeekendRange: 9,\n    DateFormat: 10,\n    TimeFormat: 11,\n    DateTimeFormat: 12,\n    NumberSymbols: 13,\n    NumberFormats: 14,\n    CurrencySymbol: 15,\n    CurrencyName: 16,\n    Currencies: 17,\n    PluralCase: 18,\n    ExtraData: 19,\n};\nLocaleDataIndex[LocaleDataIndex.LocaleId] = 'LocaleId';\nLocaleDataIndex[LocaleDataIndex.DayPeriodsFormat] = 'DayPeriodsFormat';\nLocaleDataIndex[LocaleDataIndex.DayPeriodsStandalone] = 'DayPeriodsStandalone';\nLocaleDataIndex[LocaleDataIndex.DaysFormat] = 'DaysFormat';\nLocaleDataIndex[LocaleDataIndex.DaysStandalone] = 'DaysStandalone';\nLocaleDataIndex[LocaleDataIndex.MonthsFormat] = 'MonthsFormat';\nLocaleDataIndex[LocaleDataIndex.MonthsStandalone] = 'MonthsStandalone';\nLocaleDataIndex[LocaleDataIndex.Eras] = 'Eras';\nLocaleDataIndex[LocaleDataIndex.FirstDayOfWeek] = 'FirstDayOfWeek';\nLocaleDataIndex[LocaleDataIndex.WeekendRange] = 'WeekendRange';\nLocaleDataIndex[LocaleDataIndex.DateFormat] = 'DateFormat';\nLocaleDataIndex[LocaleDataIndex.TimeFormat] = 'TimeFormat';\nLocaleDataIndex[LocaleDataIndex.DateTimeFormat] = 'DateTimeFormat';\nLocaleDataIndex[LocaleDataIndex.NumberSymbols] = 'NumberSymbols';\nLocaleDataIndex[LocaleDataIndex.NumberFormats] = 'NumberFormats';\nLocaleDataIndex[LocaleDataIndex.CurrencySymbol] = 'CurrencySymbol';\nLocaleDataIndex[LocaleDataIndex.CurrencyName] = 'CurrencyName';\nLocaleDataIndex[LocaleDataIndex.Currencies] = 'Currencies';\nLocaleDataIndex[LocaleDataIndex.PluralCase] = 'PluralCase';\nLocaleDataIndex[LocaleDataIndex.ExtraData] = 'ExtraData';\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n// THIS CODE IS GENERATED - DO NOT MODIFY\n// See angular/tools/gulp-tasks/cldr/extract.js\n/** @type {?} */\nconst u = undefined;\n/**\n * @param {?} n\n * @return {?}\n */\nfunction plural(n) {\n    /** @type {?} */\n    let i = Math.floor(Math.abs(n));\n    /** @type {?} */\n    let v = n.toString().replace(/^[^.]*\\.?/, '').length;\n    if (i === 1 && v === 0)\n        return 1;\n    return 5;\n}\nvar localeEn = [\n    'en', [['a', 'p'], ['AM', 'PM'], u], [['AM', 'PM'], u, u],\n    [\n        ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],\n        ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],\n        ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa']\n    ],\n    u,\n    [\n        ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],\n        ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],\n        [\n            'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September',\n            'October', 'November', 'December'\n        ]\n    ],\n    u, [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], 0, [6, 0],\n    ['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'],\n    ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1}, {0}', u, '{1} \\'at\\' {0}', u],\n    ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],\n    ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], '$', 'US Dollar', {}, plural\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Retrieves the plural function used by ICU expressions to determine the plural case to use\n * for a given locale.\n * @see `NgPlural` / [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n * @param {?} locale A locale code for the locale format rules to use.\n * @return {?} The plural function for the locale.\n */\nfunction getLocalePluralCase(locale) {\n    /** @type {?} */\n    const data = findLocaleData(locale);\n    return data[LocaleDataIndex.PluralCase];\n}\n/**\n * Finds the locale data for a given locale.\n *\n * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n * @param {?} locale The locale code.\n * @return {?} The locale data.\n */\nfunction findLocaleData(locale) {\n    /** @type {?} */\n    const normalizedLocale = locale.toLowerCase().replace(/_/g, '-');\n    /** @type {?} */\n    let match = LOCALE_DATA[normalizedLocale];\n    if (match) {\n        return match;\n    }\n    // let's try to find a parent locale\n    /** @type {?} */\n    const parentLocale = normalizedLocale.split('-')[0];\n    match = LOCALE_DATA[parentLocale];\n    if (match) {\n        return match;\n    }\n    if (parentLocale === 'en') {\n        return localeEn;\n    }\n    throw new Error(`Missing locale data for the locale \"${locale}\".`);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Returns the plural case based on the locale\n * @param {?} value\n * @param {?} locale\n * @return {?}\n */\nfunction getPluralCase(value, locale) {\n    /** @type {?} */\n    const plural = getLocalePluralCase(locale)(value);\n    switch (plural) {\n        case 0:\n            return 'zero';\n        case 1:\n            return 'one';\n        case 2:\n            return 'two';\n        case 3:\n            return 'few';\n        case 4:\n            return 'many';\n        default:\n            return 'other';\n    }\n}\n/**\n * The locale id that the application is using by default (for translations and ICU expressions).\n * @type {?}\n */\nconst DEFAULT_LOCALE_ID = 'en-US';\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst MARKER = `�`;\n/** @type {?} */\nconst ICU_BLOCK_REGEXP = /^\\s*(�\\d+:?\\d*�)\\s*,\\s*(select|plural)\\s*,/;\n/** @type {?} */\nconst SUBTEMPLATE_REGEXP = /�\\/?\\*(\\d+:\\d+)�/gi;\n/** @type {?} */\nconst PH_REGEXP = /�(\\/?[#*!]\\d+):?\\d*�/gi;\n/** @type {?} */\nconst BINDING_REGEXP = /�(\\d+):?\\d*�/gi;\n/** @type {?} */\nconst ICU_REGEXP = /({\\s*�\\d+:?\\d*�\\s*,\\s*\\S{6}\\s*,[\\s\\S]*})/gi;\n/** @enum {string} */\nconst TagType = {\n    ELEMENT: '#',\n    TEMPLATE: '*',\n    PROJECTION: '!',\n};\n// i18nPostprocess consts\n/** @type {?} */\nconst ROOT_TEMPLATE_ID = 0;\n/** @type {?} */\nconst PP_MULTI_VALUE_PLACEHOLDERS_REGEXP = /\\[(�.+?�?)\\]/;\n/** @type {?} */\nconst PP_PLACEHOLDERS_REGEXP = /\\[(�.+?�?)\\]|(�\\/?\\*\\d+:\\d+�)/g;\n/** @type {?} */\nconst PP_ICU_VARS_REGEXP = /({\\s*)(VAR_(PLURAL|SELECT)(_\\d+)?)(\\s*,)/g;\n/** @type {?} */\nconst PP_ICU_PLACEHOLDERS_REGEXP = /{([A-Z0-9_]+)}/g;\n/** @type {?} */\nconst PP_ICUS_REGEXP = /�I18N_EXP_(ICU(_\\d+)?)�/g;\n/** @type {?} */\nconst PP_CLOSE_TEMPLATE_REGEXP = /\\/\\*/;\n/** @type {?} */\nconst PP_TEMPLATE_ID_REGEXP = /\\d+\\:(\\d+)/;\n/**\n * @record\n */\nfunction IcuExpression() { }\nif (false) {}\n/**\n * @record\n */\nfunction IcuCase() { }\nif (false) {}\n/**\n * Breaks pattern into strings and top level {...} blocks.\n * Can be used to break a message into text and ICU expressions, or to break an ICU expression into\n * keys and cases.\n * Original code from closure library, modified for Angular.\n *\n * @param {?} pattern (sub)Pattern to be broken.\n *\n * @return {?}\n */\nfunction extractParts(pattern) {\n    if (!pattern) {\n        return [];\n    }\n    /** @type {?} */\n    let prevPos = 0;\n    /** @type {?} */\n    const braceStack = [];\n    /** @type {?} */\n    const results = [];\n    /** @type {?} */\n    const braces = /[{}]/g;\n    // lastIndex doesn't get set to 0 so we have to.\n    braces.lastIndex = 0;\n    /** @type {?} */\n    let match;\n    while (match = braces.exec(pattern)) {\n        /** @type {?} */\n        const pos = match.index;\n        if (match[0] == '}') {\n            braceStack.pop();\n            if (braceStack.length == 0) {\n                // End of the block.\n                /** @type {?} */\n                const block = pattern.substring(prevPos, pos);\n                if (ICU_BLOCK_REGEXP.test(block)) {\n                    results.push(parseICUBlock(block));\n                }\n                else {\n                    results.push(block);\n                }\n                prevPos = pos + 1;\n            }\n        }\n        else {\n            if (braceStack.length == 0) {\n                /** @type {?} */\n                const substring = pattern.substring(prevPos, pos);\n                results.push(substring);\n                prevPos = pos + 1;\n            }\n            braceStack.push('{');\n        }\n    }\n    /** @type {?} */\n    const substring = pattern.substring(prevPos);\n    results.push(substring);\n    return results;\n}\n/**\n * Parses text containing an ICU expression and produces a JSON object for it.\n * Original code from closure library, modified for Angular.\n *\n * @param {?} pattern Text containing an ICU expression that needs to be parsed.\n *\n * @return {?}\n */\nfunction parseICUBlock(pattern) {\n    /** @type {?} */\n    const cases = [];\n    /** @type {?} */\n    const values = [];\n    /** @type {?} */\n    let icuType = 1 /* plural */;\n    /** @type {?} */\n    let mainBinding = 0;\n    pattern = pattern.replace(ICU_BLOCK_REGEXP, (/**\n     * @param {?} str\n     * @param {?} binding\n     * @param {?} type\n     * @return {?}\n     */\n    function (str, binding, type) {\n        if (type === 'select') {\n            icuType = 0 /* select */;\n        }\n        else {\n            icuType = 1 /* plural */;\n        }\n        mainBinding = parseInt(binding.substr(1), 10);\n        return '';\n    }));\n    /** @type {?} */\n    const parts = (/** @type {?} */ (extractParts(pattern)));\n    // Looking for (key block)+ sequence. One of the keys has to be \"other\".\n    for (let pos = 0; pos < parts.length;) {\n        /** @type {?} */\n        let key = parts[pos++].trim();\n        if (icuType === 1 /* plural */) {\n            // Key can be \"=x\", we just want \"x\"\n            key = key.replace(/\\s*(?:=)?(\\w+)\\s*/, '$1');\n        }\n        if (key.length) {\n            cases.push(key);\n        }\n        /** @type {?} */\n        const blocks = (/** @type {?} */ (extractParts(parts[pos++])));\n        if (cases.length > values.length) {\n            values.push(blocks);\n        }\n    }\n    assertGreaterThan(cases.indexOf('other'), -1, 'Missing key \"other\" in ICU statement.');\n    // TODO(ocombe): support ICU expressions in attributes, see #21615\n    return { type: icuType, mainBinding: mainBinding, cases, values };\n}\n/**\n * Removes everything inside the sub-templates of a message.\n * @param {?} message\n * @return {?}\n */\nfunction removeInnerTemplateTranslation(message) {\n    /** @type {?} */\n    let match;\n    /** @type {?} */\n    let res = '';\n    /** @type {?} */\n    let index = 0;\n    /** @type {?} */\n    let inTemplate = false;\n    /** @type {?} */\n    let tagMatched;\n    while ((match = SUBTEMPLATE_REGEXP.exec(message)) !== null) {\n        if (!inTemplate) {\n            res += message.substring(index, match.index + match[0].length);\n            tagMatched = match[1];\n            inTemplate = true;\n        }\n        else {\n            if (match[0] === `${MARKER}/*${tagMatched}${MARKER}`) {\n                index = match.index;\n                inTemplate = false;\n            }\n        }\n    }\n    ngDevMode &&\n        assertEqual(inTemplate, false, `Tag mismatch: unable to find the end of the sub-template in the translation \"${message}\"`);\n    res += message.substr(index);\n    return res;\n}\n/**\n * Extracts a part of a message and removes the rest.\n *\n * This method is used for extracting a part of the message associated with a template. A translated\n * message can span multiple templates.\n *\n * Example:\n * ```\n * <div i18n>Translate <span *ngIf>me</span>!</div>\n * ```\n *\n * @param {?} message The message to crop\n * @param {?=} subTemplateIndex Index of the sub-template to extract. If undefined it returns the\n * external template and removes all sub-templates.\n * @return {?}\n */\nfunction getTranslationForTemplate(message, subTemplateIndex) {\n    if (typeof subTemplateIndex !== 'number') {\n        // We want the root template message, ignore all sub-templates\n        return removeInnerTemplateTranslation(message);\n    }\n    else {\n        // We want a specific sub-template\n        /** @type {?} */\n        const start = message.indexOf(`:${subTemplateIndex}${MARKER}`) + 2 + subTemplateIndex.toString().length;\n        /** @type {?} */\n        const end = message.search(new RegExp(`${MARKER}\\\\/\\\\*\\\\d+:${subTemplateIndex}${MARKER}`));\n        return removeInnerTemplateTranslation(message.substring(start, end));\n    }\n}\n/**\n * Generate the OpCodes to update the bindings of a string.\n *\n * @param {?} str The string containing the bindings.\n * @param {?} destinationNode Index of the destination node which will receive the binding.\n * @param {?=} attrName Name of the attribute, if the string belongs to an attribute.\n * @param {?=} sanitizeFn Sanitization function used to sanitize the string after update, if necessary.\n * @return {?}\n */\nfunction generateBindingUpdateOpCodes(str, destinationNode, attrName, sanitizeFn = null) {\n    /** @type {?} */\n    const updateOpCodes = [null, null];\n    // Alloc space for mask and size\n    /** @type {?} */\n    const textParts = str.split(BINDING_REGEXP);\n    /** @type {?} */\n    let mask = 0;\n    for (let j = 0; j < textParts.length; j++) {\n        /** @type {?} */\n        const textValue = textParts[j];\n        if (j & 1) {\n            // Odd indexes are bindings\n            /** @type {?} */\n            const bindingIndex = parseInt(textValue, 10);\n            updateOpCodes.push(-1 - bindingIndex);\n            mask = mask | toMaskBit(bindingIndex);\n        }\n        else if (textValue !== '') {\n            // Even indexes are text\n            updateOpCodes.push(textValue);\n        }\n    }\n    updateOpCodes.push(destinationNode << 2 /* SHIFT_REF */ |\n        (attrName ? 1 /* Attr */ : 0 /* Text */));\n    if (attrName) {\n        updateOpCodes.push(attrName, sanitizeFn);\n    }\n    updateOpCodes[0] = mask;\n    updateOpCodes[1] = updateOpCodes.length - 2;\n    return updateOpCodes;\n}\n/**\n * @param {?} icuExpression\n * @param {?=} mask\n * @return {?}\n */\nfunction getBindingMask(icuExpression, mask = 0) {\n    mask = mask | toMaskBit(icuExpression.mainBinding);\n    /** @type {?} */\n    let match;\n    for (let i = 0; i < icuExpression.values.length; i++) {\n        /** @type {?} */\n        const valueArr = icuExpression.values[i];\n        for (let j = 0; j < valueArr.length; j++) {\n            /** @type {?} */\n            const value = valueArr[j];\n            if (typeof value === 'string') {\n                while (match = BINDING_REGEXP.exec(value)) {\n                    mask = mask | toMaskBit(parseInt(match[1], 10));\n                }\n            }\n            else {\n                mask = getBindingMask((/** @type {?} */ (value)), mask);\n            }\n        }\n    }\n    return mask;\n}\n/** @type {?} */\nconst i18nIndexStack = [];\n/** @type {?} */\nlet i18nIndexStackPointer = -1;\n/**\n * Convert binding index to mask bit.\n *\n * Each index represents a single bit on the bit-mask. Because bit-mask only has 32 bits, we make\n * the 32nd bit share all masks for all bindings higher than 32. Since it is extremely rare to have\n * more than 32 bindings this will be hit very rarely. The downside of hitting this corner case is\n * that we will execute binding code more often than necessary. (penalty of performance)\n * @param {?} bindingIndex\n * @return {?}\n */\nfunction toMaskBit(bindingIndex) {\n    return 1 << Math.min(bindingIndex, 31);\n}\n/** @type {?} */\nconst parentIndexStack = [];\n/**\n * Marks a block of text as translatable.\n *\n * The instructions `i18nStart` and `i18nEnd` mark the translation block in the template.\n * The translation `message` is the value which is locale specific. The translation string may\n * contain placeholders which associate inner elements and sub-templates within the translation.\n *\n * The translation `message` placeholders are:\n * - `�{index}(:{block})�`: *Binding Placeholder*: Marks a location where an expression will be\n *   interpolated into. The placeholder `index` points to the expression binding index. An optional\n *   `block` that matches the sub-template in which it was declared.\n * - `�#{index}(:{block})�`/`�/#{index}(:{block})�`: *Element Placeholder*:  Marks the beginning\n *   and end of DOM element that were embedded in the original translation block. The placeholder\n *   `index` points to the element index in the template instructions set. An optional `block` that\n *   matches the sub-template in which it was declared.\n * - `�!{index}(:{block})�`/`�/!{index}(:{block})�`: *Projection Placeholder*:  Marks the\n *   beginning and end of <ng-content> that was embedded in the original translation block.\n *   The placeholder `index` points to the element index in the template instructions set.\n *   An optional `block` that matches the sub-template in which it was declared.\n * - `�*{index}:{block}�`/`�/*{index}:{block}�`: *Sub-template Placeholder*: Sub-templates must be\n *   split up and translated separately in each angular template function. The `index` points to the\n *   `template` instruction index. A `block` that matches the sub-template in which it was declared.\n *\n * \\@codeGenApi\n * @param {?} index A unique index of the translation in the static block.\n * @param {?} message The translation message.\n * @param {?=} subTemplateIndex Optional sub-template index in the `message`.\n *\n * @return {?}\n */\nfunction ɵɵi18nStart(index, message, subTemplateIndex) {\n    /** @type {?} */\n    const tView = getLView()[TVIEW];\n    ngDevMode && assertDefined(tView, `tView should be defined`);\n    i18nIndexStack[++i18nIndexStackPointer] = index;\n    // We need to delay projections until `i18nEnd`\n    setDelayProjection(true);\n    if (tView.firstTemplatePass && tView.data[index + HEADER_OFFSET] === null) {\n        i18nStartFirstPass(tView, index, message, subTemplateIndex);\n    }\n}\n// Count for the number of vars that will be allocated for each i18n block.\n// It is global because this is used in multiple functions that include loops and recursive calls.\n// This is reset to 0 when `i18nStartFirstPass` is called.\n/** @type {?} */\nlet i18nVarsCount;\n/**\n * See `i18nStart` above.\n * @param {?} tView\n * @param {?} index\n * @param {?} message\n * @param {?=} subTemplateIndex\n * @return {?}\n */\nfunction i18nStartFirstPass(tView, index, message, subTemplateIndex) {\n    /** @type {?} */\n    const viewData = getLView();\n    /** @type {?} */\n    const startIndex = tView.blueprint.length - HEADER_OFFSET;\n    i18nVarsCount = 0;\n    /** @type {?} */\n    const previousOrParentTNode = getPreviousOrParentTNode();\n    /** @type {?} */\n    const parentTNode = getIsParent() ? getPreviousOrParentTNode() :\n        previousOrParentTNode && previousOrParentTNode.parent;\n    /** @type {?} */\n    let parentIndex = parentTNode && parentTNode !== viewData[T_HOST] ? parentTNode.index - HEADER_OFFSET : index;\n    /** @type {?} */\n    let parentIndexPointer = 0;\n    parentIndexStack[parentIndexPointer] = parentIndex;\n    /** @type {?} */\n    const createOpCodes = [];\n    // If the previous node wasn't the direct parent then we have a translation without top level\n    // element and we need to keep a reference of the previous element if there is one\n    if (index > 0 && previousOrParentTNode !== parentTNode) {\n        // Create an OpCode to select the previous TNode\n        createOpCodes.push(previousOrParentTNode.index << 3 /* SHIFT_REF */ | 0 /* Select */);\n    }\n    /** @type {?} */\n    const updateOpCodes = [];\n    /** @type {?} */\n    const icuExpressions = [];\n    /** @type {?} */\n    const templateTranslation = getTranslationForTemplate(message, subTemplateIndex);\n    /** @type {?} */\n    const msgParts = replaceNgsp(templateTranslation).split(PH_REGEXP);\n    for (let i = 0; i < msgParts.length; i++) {\n        /** @type {?} */\n        let value = msgParts[i];\n        if (i & 1) {\n            // Odd indexes are placeholders (elements and sub-templates)\n            if (value.charAt(0) === '/') {\n                // It is a closing tag\n                if (value.charAt(1) === \"#\" /* ELEMENT */) {\n                    /** @type {?} */\n                    const phIndex = parseInt(value.substr(2), 10);\n                    parentIndex = parentIndexStack[--parentIndexPointer];\n                    createOpCodes.push(phIndex << 3 /* SHIFT_REF */ | 5 /* ElementEnd */);\n                }\n            }\n            else {\n                /** @type {?} */\n                const phIndex = parseInt(value.substr(1), 10);\n                // The value represents a placeholder that we move to the designated index\n                createOpCodes.push(phIndex << 3 /* SHIFT_REF */ | 0 /* Select */, parentIndex << 17 /* SHIFT_PARENT */ | 1 /* AppendChild */);\n                if (value.charAt(0) === \"#\" /* ELEMENT */) {\n                    parentIndexStack[++parentIndexPointer] = parentIndex = phIndex;\n                }\n            }\n        }\n        else {\n            // Even indexes are text (including bindings & ICU expressions)\n            /** @type {?} */\n            const parts = extractParts(value);\n            for (let j = 0; j < parts.length; j++) {\n                if (j & 1) {\n                    // Odd indexes are ICU expressions\n                    // Create the comment node that will anchor the ICU expression\n                    /** @type {?} */\n                    const icuNodeIndex = startIndex + i18nVarsCount++;\n                    createOpCodes.push(COMMENT_MARKER, ngDevMode ? `ICU ${icuNodeIndex}` : '', icuNodeIndex, parentIndex << 17 /* SHIFT_PARENT */ | 1 /* AppendChild */);\n                    // Update codes for the ICU expression\n                    /** @type {?} */\n                    const icuExpression = (/** @type {?} */ (parts[j]));\n                    /** @type {?} */\n                    const mask = getBindingMask(icuExpression);\n                    icuStart(icuExpressions, icuExpression, icuNodeIndex, icuNodeIndex);\n                    // Since this is recursive, the last TIcu that was pushed is the one we want\n                    /** @type {?} */\n                    const tIcuIndex = icuExpressions.length - 1;\n                    updateOpCodes.push(toMaskBit(icuExpression.mainBinding), // mask of the main binding\n                    3, // skip 3 opCodes if not changed\n                    -1 - icuExpression.mainBinding, icuNodeIndex << 2 /* SHIFT_REF */ | 2 /* IcuSwitch */, tIcuIndex, mask, // mask of all the bindings of this ICU expression\n                    2, // skip 2 opCodes if not changed\n                    icuNodeIndex << 2 /* SHIFT_REF */ | 3 /* IcuUpdate */, tIcuIndex);\n                }\n                else if (parts[j] !== '') {\n                    /** @type {?} */\n                    const text = (/** @type {?} */ (parts[j]));\n                    // Even indexes are text (including bindings)\n                    /** @type {?} */\n                    const hasBinding = text.match(BINDING_REGEXP);\n                    // Create text nodes\n                    /** @type {?} */\n                    const textNodeIndex = startIndex + i18nVarsCount++;\n                    createOpCodes.push(\n                    // If there is a binding, the value will be set during update\n                    hasBinding ? '' : text, textNodeIndex, parentIndex << 17 /* SHIFT_PARENT */ | 1 /* AppendChild */);\n                    if (hasBinding) {\n                        addAllToArray(generateBindingUpdateOpCodes(text, textNodeIndex), updateOpCodes);\n                    }\n                }\n            }\n        }\n    }\n    if (i18nVarsCount > 0) {\n        allocExpando(viewData, i18nVarsCount);\n    }\n    ngDevMode &&\n        attachI18nOpCodesDebug(createOpCodes, updateOpCodes, icuExpressions.length ? icuExpressions : null, viewData);\n    // NOTE: local var needed to properly assert the type of `TI18n`.\n    /** @type {?} */\n    const tI18n = {\n        vars: i18nVarsCount,\n        create: createOpCodes,\n        update: updateOpCodes,\n        icus: icuExpressions.length ? icuExpressions : null,\n    };\n    tView.data[index + HEADER_OFFSET] = tI18n;\n}\n/**\n * @param {?} tNode\n * @param {?} parentTNode\n * @param {?} previousTNode\n * @param {?} viewData\n * @return {?}\n */\nfunction appendI18nNode(tNode, parentTNode, previousTNode, viewData) {\n    ngDevMode && ngDevMode.rendererMoveNode++;\n    /** @type {?} */\n    const nextNode = tNode.next;\n    if (!previousTNode) {\n        previousTNode = parentTNode;\n    }\n    // Re-organize node tree to put this node in the correct position.\n    if (previousTNode === parentTNode && tNode !== parentTNode.child) {\n        tNode.next = parentTNode.child;\n        parentTNode.child = tNode;\n    }\n    else if (previousTNode !== parentTNode && tNode !== previousTNode.next) {\n        tNode.next = previousTNode.next;\n        previousTNode.next = tNode;\n    }\n    else {\n        tNode.next = null;\n    }\n    if (parentTNode !== viewData[T_HOST]) {\n        tNode.parent = (/** @type {?} */ (parentTNode));\n    }\n    // If tNode was moved around, we might need to fix a broken link.\n    /** @type {?} */\n    let cursor = tNode.next;\n    while (cursor) {\n        if (cursor.next === tNode) {\n            cursor.next = nextNode;\n        }\n        cursor = cursor.next;\n    }\n    // If the placeholder to append is a projection, we need to move the projected nodes instead\n    if (tNode.type === 1 /* Projection */) {\n        /** @type {?} */\n        const tProjectionNode = (/** @type {?} */ (tNode));\n        appendProjectedNodes(viewData, tProjectionNode, tProjectionNode.projection, findComponentView(viewData));\n        return tNode;\n    }\n    appendChild(getNativeByTNode(tNode, viewData), tNode, viewData);\n    /** @type {?} */\n    const slotValue = viewData[tNode.index];\n    if (tNode.type !== 0 /* Container */ && isLContainer(slotValue)) {\n        // Nodes that inject ViewContainerRef also have a comment node that should be moved\n        appendChild(slotValue[NATIVE], tNode, viewData);\n    }\n    return tNode;\n}\n/**\n * Handles message string post-processing for internationalization.\n *\n * Handles message string post-processing by transforming it from intermediate\n * format (that might contain some markers that we need to replace) to the final\n * form, consumable by i18nStart instruction. Post processing steps include:\n *\n * 1. Resolve all multi-value cases (like [�*1:1��#2:1�|�#4:1�|�5�])\n * 2. Replace all ICU vars (like \"VAR_PLURAL\")\n * 3. Replace all placeholders used inside ICUs in a form of {PLACEHOLDER}\n * 4. Replace all ICU references with corresponding values (like �ICU_EXP_ICU_1�)\n *    in case multiple ICUs have the same placeholder name\n *\n * \\@codeGenApi\n * @param {?} message Raw translation string for post processing\n * @param {?=} replacements Set of replacements that should be applied\n *\n * @return {?} Transformed string that can be consumed by i18nStart instruction\n *\n */\nfunction ɵɵi18nPostprocess(message, replacements = {}) {\n    /**\n     * Step 1: resolve all multi-value placeholders like [�#5�|�*1:1��#2:1�|�#4:1�]\n     *\n     * Note: due to the way we process nested templates (BFS), multi-value placeholders are typically\n     * grouped by templates, for example: [�#5�|�#6�|�#1:1�|�#3:2�] where �#5� and �#6� belong to root\n     * template, �#1:1� belong to nested template with index 1 and �#1:2� - nested template with index\n     * 3. However in real templates the order might be different: i.e. �#1:1� and/or �#3:2� may go in\n     * front of �#6�. The post processing step restores the right order by keeping track of the\n     * template id stack and looks for placeholders that belong to the currently active template.\n     * @type {?}\n     */\n    let result = message;\n    if (PP_MULTI_VALUE_PLACEHOLDERS_REGEXP.test(message)) {\n        /** @type {?} */\n        const matches = {};\n        /** @type {?} */\n        const templateIdsStack = [ROOT_TEMPLATE_ID];\n        result = result.replace(PP_PLACEHOLDERS_REGEXP, (/**\n         * @param {?} m\n         * @param {?} phs\n         * @param {?} tmpl\n         * @return {?}\n         */\n        (m, phs, tmpl) => {\n            /** @type {?} */\n            const content = phs || tmpl;\n            /** @type {?} */\n            const placeholders = matches[content] || [];\n            if (!placeholders.length) {\n                content.split('|').forEach((/**\n                 * @param {?} placeholder\n                 * @return {?}\n                 */\n                (placeholder) => {\n                    /** @type {?} */\n                    const match = placeholder.match(PP_TEMPLATE_ID_REGEXP);\n                    /** @type {?} */\n                    const templateId = match ? parseInt(match[1], 10) : ROOT_TEMPLATE_ID;\n                    /** @type {?} */\n                    const isCloseTemplateTag = PP_CLOSE_TEMPLATE_REGEXP.test(placeholder);\n                    placeholders.push([templateId, isCloseTemplateTag, placeholder]);\n                }));\n                matches[content] = placeholders;\n            }\n            if (!placeholders.length) {\n                throw new Error(`i18n postprocess: unmatched placeholder - ${content}`);\n            }\n            /** @type {?} */\n            const currentTemplateId = templateIdsStack[templateIdsStack.length - 1];\n            /** @type {?} */\n            let idx = 0;\n            // find placeholder index that matches current template id\n            for (let i = 0; i < placeholders.length; i++) {\n                if (placeholders[i][0] === currentTemplateId) {\n                    idx = i;\n                    break;\n                }\n            }\n            // update template id stack based on the current tag extracted\n            const [templateId, isCloseTemplateTag, placeholder] = placeholders[idx];\n            if (isCloseTemplateTag) {\n                templateIdsStack.pop();\n            }\n            else if (currentTemplateId !== templateId) {\n                templateIdsStack.push(templateId);\n            }\n            // remove processed tag from the list\n            placeholders.splice(idx, 1);\n            return placeholder;\n        }));\n    }\n    // return current result if no replacements specified\n    if (!Object.keys(replacements).length) {\n        return result;\n    }\n    /**\n     * Step 2: replace all ICU vars (like \"VAR_PLURAL\")\n     */\n    result = result.replace(PP_ICU_VARS_REGEXP, (/**\n     * @param {?} match\n     * @param {?} start\n     * @param {?} key\n     * @param {?} _type\n     * @param {?} _idx\n     * @param {?} end\n     * @return {?}\n     */\n    (match, start, key, _type, _idx, end) => {\n        return replacements.hasOwnProperty(key) ? `${start}${replacements[key]}${end}` : match;\n    }));\n    /**\n     * Step 3: replace all placeholders used inside ICUs in a form of {PLACEHOLDER}\n     */\n    result = result.replace(PP_ICU_PLACEHOLDERS_REGEXP, (/**\n     * @param {?} match\n     * @param {?} key\n     * @return {?}\n     */\n    (match, key) => {\n        return replacements.hasOwnProperty(key) ? (/** @type {?} */ (replacements[key])) : match;\n    }));\n    /**\n     * Step 4: replace all ICU references with corresponding values (like �ICU_EXP_ICU_1�) in case\n     * multiple ICUs have the same placeholder name\n     */\n    result = result.replace(PP_ICUS_REGEXP, (/**\n     * @param {?} match\n     * @param {?} key\n     * @return {?}\n     */\n    (match, key) => {\n        if (replacements.hasOwnProperty(key)) {\n            /** @type {?} */\n            const list = (/** @type {?} */ (replacements[key]));\n            if (!list.length) {\n                throw new Error(`i18n postprocess: unmatched ICU - ${match} with key: ${key}`);\n            }\n            return (/** @type {?} */ (list.shift()));\n        }\n        return match;\n    }));\n    return result;\n}\n/**\n * Translates a translation block marked by `i18nStart` and `i18nEnd`. It inserts the text/ICU nodes\n * into the render tree, moves the placeholder nodes and removes the deleted nodes.\n *\n * \\@codeGenApi\n * @return {?}\n */\nfunction ɵɵi18nEnd() {\n    /** @type {?} */\n    const tView = getLView()[TVIEW];\n    ngDevMode && assertDefined(tView, `tView should be defined`);\n    i18nEndFirstPass(tView);\n    // Stop delaying projections\n    setDelayProjection(false);\n}\n/**\n * See `i18nEnd` above.\n * @param {?} tView\n * @return {?}\n */\nfunction i18nEndFirstPass(tView) {\n    /** @type {?} */\n    const viewData = getLView();\n    ngDevMode && assertEqual(viewData[BINDING_INDEX], viewData[TVIEW].bindingStartIndex, 'i18nEnd should be called before any binding');\n    /** @type {?} */\n    const rootIndex = i18nIndexStack[i18nIndexStackPointer--];\n    /** @type {?} */\n    const tI18n = (/** @type {?} */ (tView.data[rootIndex + HEADER_OFFSET]));\n    ngDevMode && assertDefined(tI18n, `You should call i18nStart before i18nEnd`);\n    // Find the last node that was added before `i18nEnd`\n    /** @type {?} */\n    let lastCreatedNode = getPreviousOrParentTNode();\n    // Read the instructions to insert/move/remove DOM elements\n    /** @type {?} */\n    const visitedNodes = readCreateOpCodes(rootIndex, tI18n.create, tI18n.icus, viewData);\n    // Remove deleted nodes\n    for (let i = rootIndex + 1; i <= lastCreatedNode.index - HEADER_OFFSET; i++) {\n        if (visitedNodes.indexOf(i) === -1) {\n            removeNode(i, viewData);\n        }\n    }\n}\n/**\n * Creates and stores the dynamic TNode, and unhooks it from the tree for now.\n * @param {?} lView\n * @param {?} index\n * @param {?} type\n * @param {?} native\n * @param {?} name\n * @return {?}\n */\nfunction createDynamicNodeAtIndex(lView, index, type, native, name) {\n    /** @type {?} */\n    const previousOrParentTNode = getPreviousOrParentTNode();\n    ngDevMode && assertDataInRange(lView, index + HEADER_OFFSET);\n    lView[index + HEADER_OFFSET] = native;\n    /** @type {?} */\n    const tNode = getOrCreateTNode(lView[TVIEW], lView[T_HOST], index, (/** @type {?} */ (type)), name, null);\n    // We are creating a dynamic node, the previous tNode might not be pointing at this node.\n    // We will link ourselves into the tree later with `appendI18nNode`.\n    if (previousOrParentTNode.next === tNode) {\n        previousOrParentTNode.next = null;\n    }\n    return tNode;\n}\n/**\n * @param {?} index\n * @param {?} createOpCodes\n * @param {?} icus\n * @param {?} viewData\n * @return {?}\n */\nfunction readCreateOpCodes(index, createOpCodes, icus, viewData) {\n    /** @type {?} */\n    const renderer = getLView()[RENDERER];\n    /** @type {?} */\n    let currentTNode = null;\n    /** @type {?} */\n    let previousTNode = null;\n    /** @type {?} */\n    const visitedNodes = [];\n    for (let i = 0; i < createOpCodes.length; i++) {\n        /** @type {?} */\n        const opCode = createOpCodes[i];\n        if (typeof opCode == 'string') {\n            /** @type {?} */\n            const textRNode = createTextNode(opCode, renderer);\n            /** @type {?} */\n            const textNodeIndex = (/** @type {?} */ (createOpCodes[++i]));\n            ngDevMode && ngDevMode.rendererCreateTextNode++;\n            previousTNode = currentTNode;\n            currentTNode =\n                createDynamicNodeAtIndex(viewData, textNodeIndex, 3 /* Element */, textRNode, null);\n            visitedNodes.push(textNodeIndex);\n            setIsNotParent();\n        }\n        else if (typeof opCode == 'number') {\n            switch (opCode & 7 /* MASK_OPCODE */) {\n                case 1 /* AppendChild */:\n                    /** @type {?} */\n                    const destinationNodeIndex = opCode >>> 17 /* SHIFT_PARENT */;\n                    /** @type {?} */\n                    let destinationTNode;\n                    if (destinationNodeIndex === index) {\n                        // If the destination node is `i18nStart`, we don't have a\n                        // top-level node and we should use the host node instead\n                        destinationTNode = (/** @type {?} */ (viewData[T_HOST]));\n                    }\n                    else {\n                        destinationTNode = getTNode(destinationNodeIndex, viewData);\n                    }\n                    ngDevMode &&\n                        assertDefined((/** @type {?} */ (currentTNode)), `You need to create or select a node before you can insert it into the DOM`);\n                    previousTNode = appendI18nNode((/** @type {?} */ (currentTNode)), destinationTNode, previousTNode, viewData);\n                    break;\n                case 0 /* Select */:\n                    /** @type {?} */\n                    const nodeIndex = opCode >>> 3 /* SHIFT_REF */;\n                    visitedNodes.push(nodeIndex);\n                    previousTNode = currentTNode;\n                    currentTNode = getTNode(nodeIndex, viewData);\n                    if (currentTNode) {\n                        setPreviousOrParentTNode(currentTNode, currentTNode.type === 3 /* Element */);\n                    }\n                    break;\n                case 5 /* ElementEnd */:\n                    /** @type {?} */\n                    const elementIndex = opCode >>> 3 /* SHIFT_REF */;\n                    previousTNode = currentTNode = getTNode(elementIndex, viewData);\n                    setPreviousOrParentTNode(currentTNode, false);\n                    break;\n                case 4 /* Attr */:\n                    /** @type {?} */\n                    const elementNodeIndex = opCode >>> 3 /* SHIFT_REF */;\n                    /** @type {?} */\n                    const attrName = (/** @type {?} */ (createOpCodes[++i]));\n                    /** @type {?} */\n                    const attrValue = (/** @type {?} */ (createOpCodes[++i]));\n                    // This code is used for ICU expressions only, since we don't support\n                    // directives/components in ICUs, we don't need to worry about inputs here\n                    elementAttributeInternal(elementNodeIndex, attrName, attrValue, viewData);\n                    break;\n                default:\n                    throw new Error(`Unable to determine the type of mutate operation for \"${opCode}\"`);\n            }\n        }\n        else {\n            switch (opCode) {\n                case COMMENT_MARKER:\n                    /** @type {?} */\n                    const commentValue = (/** @type {?} */ (createOpCodes[++i]));\n                    /** @type {?} */\n                    const commentNodeIndex = (/** @type {?} */ (createOpCodes[++i]));\n                    ngDevMode && assertEqual(typeof commentValue, 'string', `Expected \"${commentValue}\" to be a comment node value`);\n                    /** @type {?} */\n                    const commentRNode = renderer.createComment(commentValue);\n                    ngDevMode && ngDevMode.rendererCreateComment++;\n                    previousTNode = currentTNode;\n                    currentTNode = createDynamicNodeAtIndex(viewData, commentNodeIndex, 5 /* IcuContainer */, commentRNode, null);\n                    visitedNodes.push(commentNodeIndex);\n                    attachPatchData(commentRNode, viewData);\n                    ((/** @type {?} */ (currentTNode))).activeCaseIndex = null;\n                    // We will add the case nodes later, during the update phase\n                    setIsNotParent();\n                    break;\n                case ELEMENT_MARKER:\n                    /** @type {?} */\n                    const tagNameValue = (/** @type {?} */ (createOpCodes[++i]));\n                    /** @type {?} */\n                    const elementNodeIndex = (/** @type {?} */ (createOpCodes[++i]));\n                    ngDevMode && assertEqual(typeof tagNameValue, 'string', `Expected \"${tagNameValue}\" to be an element node tag name`);\n                    /** @type {?} */\n                    const elementRNode = renderer.createElement(tagNameValue);\n                    ngDevMode && ngDevMode.rendererCreateElement++;\n                    previousTNode = currentTNode;\n                    currentTNode = createDynamicNodeAtIndex(viewData, elementNodeIndex, 3 /* Element */, elementRNode, tagNameValue);\n                    visitedNodes.push(elementNodeIndex);\n                    break;\n                default:\n                    throw new Error(`Unable to determine the type of mutate operation for \"${opCode}\"`);\n            }\n        }\n    }\n    setIsNotParent();\n    return visitedNodes;\n}\n/**\n * @param {?} updateOpCodes\n * @param {?} icus\n * @param {?} bindingsStartIndex\n * @param {?} changeMask\n * @param {?} viewData\n * @param {?=} bypassCheckBit\n * @return {?}\n */\nfunction readUpdateOpCodes(updateOpCodes, icus, bindingsStartIndex, changeMask, viewData, bypassCheckBit = false) {\n    /** @type {?} */\n    let caseCreated = false;\n    for (let i = 0; i < updateOpCodes.length; i++) {\n        // bit code to check if we should apply the next update\n        /** @type {?} */\n        const checkBit = (/** @type {?} */ (updateOpCodes[i]));\n        // Number of opCodes to skip until next set of update codes\n        /** @type {?} */\n        const skipCodes = (/** @type {?} */ (updateOpCodes[++i]));\n        if (bypassCheckBit || (checkBit & changeMask)) {\n            // The value has been updated since last checked\n            /** @type {?} */\n            let value = '';\n            for (let j = i + 1; j <= (i + skipCodes); j++) {\n                /** @type {?} */\n                const opCode = updateOpCodes[j];\n                if (typeof opCode == 'string') {\n                    value += opCode;\n                }\n                else if (typeof opCode == 'number') {\n                    if (opCode < 0) {\n                        // It's a binding index whose value is negative\n                        value += renderStringify(viewData[bindingsStartIndex - opCode]);\n                    }\n                    else {\n                        /** @type {?} */\n                        const nodeIndex = opCode >>> 2 /* SHIFT_REF */;\n                        /** @type {?} */\n                        let tIcuIndex;\n                        /** @type {?} */\n                        let tIcu;\n                        /** @type {?} */\n                        let icuTNode;\n                        switch (opCode & 3 /* MASK_OPCODE */) {\n                            case 1 /* Attr */:\n                                /** @type {?} */\n                                const propName = (/** @type {?} */ (updateOpCodes[++j]));\n                                /** @type {?} */\n                                const sanitizeFn = (/** @type {?} */ (updateOpCodes[++j]));\n                                elementPropertyInternal(nodeIndex, propName, value, sanitizeFn);\n                                break;\n                            case 0 /* Text */:\n                                textBindingInternal(viewData, nodeIndex, value);\n                                break;\n                            case 2 /* IcuSwitch */:\n                                tIcuIndex = (/** @type {?} */ (updateOpCodes[++j]));\n                                tIcu = (/** @type {?} */ (icus))[tIcuIndex];\n                                icuTNode = (/** @type {?} */ (getTNode(nodeIndex, viewData)));\n                                // If there is an active case, delete the old nodes\n                                if (icuTNode.activeCaseIndex !== null) {\n                                    /** @type {?} */\n                                    const removeCodes = tIcu.remove[icuTNode.activeCaseIndex];\n                                    for (let k = 0; k < removeCodes.length; k++) {\n                                        /** @type {?} */\n                                        const removeOpCode = (/** @type {?} */ (removeCodes[k]));\n                                        switch (removeOpCode & 7 /* MASK_OPCODE */) {\n                                            case 3 /* Remove */:\n                                                /** @type {?} */\n                                                const nodeIndex = removeOpCode >>> 3 /* SHIFT_REF */;\n                                                removeNode(nodeIndex, viewData);\n                                                break;\n                                            case 6 /* RemoveNestedIcu */:\n                                                /** @type {?} */\n                                                const nestedIcuNodeIndex = (/** @type {?} */ (removeCodes[k + 1])) >>> 3 /* SHIFT_REF */;\n                                                /** @type {?} */\n                                                const nestedIcuTNode = (/** @type {?} */ (getTNode(nestedIcuNodeIndex, viewData)));\n                                                /** @type {?} */\n                                                const activeIndex = nestedIcuTNode.activeCaseIndex;\n                                                if (activeIndex !== null) {\n                                                    /** @type {?} */\n                                                    const nestedIcuTIndex = removeOpCode >>> 3 /* SHIFT_REF */;\n                                                    /** @type {?} */\n                                                    const nestedTIcu = (/** @type {?} */ (icus))[nestedIcuTIndex];\n                                                    addAllToArray(nestedTIcu.remove[activeIndex], removeCodes);\n                                                }\n                                                break;\n                                        }\n                                    }\n                                }\n                                // Update the active caseIndex\n                                /** @type {?} */\n                                const caseIndex = getCaseIndex(tIcu, value);\n                                icuTNode.activeCaseIndex = caseIndex !== -1 ? caseIndex : null;\n                                // Add the nodes for the new case\n                                readCreateOpCodes(-1, tIcu.create[caseIndex], icus, viewData);\n                                caseCreated = true;\n                                break;\n                            case 3 /* IcuUpdate */:\n                                tIcuIndex = (/** @type {?} */ (updateOpCodes[++j]));\n                                tIcu = (/** @type {?} */ (icus))[tIcuIndex];\n                                icuTNode = (/** @type {?} */ (getTNode(nodeIndex, viewData)));\n                                readUpdateOpCodes(tIcu.update[(/** @type {?} */ (icuTNode.activeCaseIndex))], icus, bindingsStartIndex, changeMask, viewData, caseCreated);\n                                break;\n                        }\n                    }\n                }\n            }\n        }\n        i += skipCodes;\n    }\n}\n/**\n * @param {?} index\n * @param {?} viewData\n * @return {?}\n */\nfunction removeNode(index, viewData) {\n    /** @type {?} */\n    const removedPhTNode = getTNode(index, viewData);\n    /** @type {?} */\n    const removedPhRNode = getNativeByIndex(index, viewData);\n    if (removedPhRNode) {\n        nativeRemoveNode(viewData[RENDERER], removedPhRNode);\n    }\n    /** @type {?} */\n    const slotValue = (/** @type {?} */ (ɵɵload(index)));\n    if (isLContainer(slotValue)) {\n        /** @type {?} */\n        const lContainer = (/** @type {?} */ (slotValue));\n        if (removedPhTNode.type !== 0 /* Container */) {\n            nativeRemoveNode(viewData[RENDERER], lContainer[NATIVE]);\n        }\n    }\n    // Define this node as detached so that we don't risk projecting it\n    removedPhTNode.flags |= 32 /* isDetached */;\n    ngDevMode && ngDevMode.rendererRemoveNode++;\n}\n/**\n *\n * Use this instruction to create a translation block that doesn't contain any placeholder.\n * It calls both {\\@link i18nStart} and {\\@link i18nEnd} in one instruction.\n *\n * The translation `message` is the value which is locale specific. The translation string may\n * contain placeholders which associate inner elements and sub-templates within the translation.\n *\n * The translation `message` placeholders are:\n * - `�{index}(:{block})�`: *Binding Placeholder*: Marks a location where an expression will be\n *   interpolated into. The placeholder `index` points to the expression binding index. An optional\n *   `block` that matches the sub-template in which it was declared.\n * - `�#{index}(:{block})�`/`�/#{index}(:{block})�`: *Element Placeholder*:  Marks the beginning\n *   and end of DOM element that were embedded in the original translation block. The placeholder\n *   `index` points to the element index in the template instructions set. An optional `block` that\n *   matches the sub-template in which it was declared.\n * - `�*{index}:{block}�`/`�/*{index}:{block}�`: *Sub-template Placeholder*: Sub-templates must be\n *   split up and translated separately in each angular template function. The `index` points to the\n *   `template` instruction index. A `block` that matches the sub-template in which it was declared.\n *\n * \\@codeGenApi\n * @param {?} index A unique index of the translation in the static block.\n * @param {?} message The translation message.\n * @param {?=} subTemplateIndex Optional sub-template index in the `message`.\n *\n * @return {?}\n */\nfunction ɵɵi18n(index, message, subTemplateIndex) {\n    ɵɵi18nStart(index, message, subTemplateIndex);\n    ɵɵi18nEnd();\n}\n/**\n * Marks a list of attributes as translatable.\n *\n * \\@codeGenApi\n * @param {?} index A unique index in the static block\n * @param {?} values\n *\n * @return {?}\n */\nfunction ɵɵi18nAttributes(index, values) {\n    /** @type {?} */\n    const tView = getLView()[TVIEW];\n    ngDevMode && assertDefined(tView, `tView should be defined`);\n    i18nAttributesFirstPass(tView, index, values);\n}\n/**\n * See `i18nAttributes` above.\n * @param {?} tView\n * @param {?} index\n * @param {?} values\n * @return {?}\n */\nfunction i18nAttributesFirstPass(tView, index, values) {\n    /** @type {?} */\n    const previousElement = getPreviousOrParentTNode();\n    /** @type {?} */\n    const previousElementIndex = previousElement.index - HEADER_OFFSET;\n    /** @type {?} */\n    const updateOpCodes = [];\n    for (let i = 0; i < values.length; i += 2) {\n        /** @type {?} */\n        const attrName = values[i];\n        /** @type {?} */\n        const message = values[i + 1];\n        /** @type {?} */\n        const parts = message.split(ICU_REGEXP);\n        for (let j = 0; j < parts.length; j++) {\n            /** @type {?} */\n            const value = parts[j];\n            if (j & 1) {\n                // Odd indexes are ICU expressions\n                // TODO(ocombe): support ICU expressions in attributes\n                throw new Error('ICU expressions are not yet supported in attributes');\n            }\n            else if (value !== '') {\n                // Even indexes are text (including bindings)\n                /** @type {?} */\n                const hasBinding = !!value.match(BINDING_REGEXP);\n                if (hasBinding) {\n                    if (tView.firstTemplatePass && tView.data[index + HEADER_OFFSET] === null) {\n                        addAllToArray(generateBindingUpdateOpCodes(value, previousElementIndex, attrName), updateOpCodes);\n                    }\n                }\n                else {\n                    /** @type {?} */\n                    const lView = getLView();\n                    elementAttributeInternal(previousElementIndex, attrName, value, lView);\n                    // Check if that attribute is a directive input\n                    /** @type {?} */\n                    const tNode = getTNode(previousElementIndex, lView);\n                    /** @type {?} */\n                    const dataValue = tNode.inputs && tNode.inputs[attrName];\n                    if (dataValue) {\n                        setInputsForProperty(lView, dataValue, value);\n                    }\n                }\n            }\n        }\n    }\n    if (tView.firstTemplatePass && tView.data[index + HEADER_OFFSET] === null) {\n        tView.data[index + HEADER_OFFSET] = updateOpCodes;\n    }\n}\n/** @type {?} */\nlet changeMask = 0b0;\n/** @type {?} */\nlet shiftsCounter = 0;\n/**\n * Stores the values of the bindings during each update cycle in order to determine if we need to\n * update the translated nodes.\n *\n * \\@codeGenApi\n * @template T\n * @param {?} value The binding's value\n * @return {?} This function returns itself so that it may be chained\n * (e.g. `i18nExp(ctx.name)(ctx.title)`)\n *\n */\nfunction ɵɵi18nExp(value) {\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const expression = bind(lView, value);\n    if (expression !== NO_CHANGE) {\n        changeMask = changeMask | (1 << shiftsCounter);\n    }\n    shiftsCounter++;\n    return ɵɵi18nExp;\n}\n/**\n * Updates a translation block or an i18n attribute when the bindings have changed.\n *\n * \\@codeGenApi\n * @param {?} index Index of either {\\@link i18nStart} (translation block) or {\\@link i18nAttributes}\n * (i18n attribute) on which it should update the content.\n *\n * @return {?}\n */\nfunction ɵɵi18nApply(index) {\n    if (shiftsCounter) {\n        /** @type {?} */\n        const lView = getLView();\n        /** @type {?} */\n        const tView = lView[TVIEW];\n        ngDevMode && assertDefined(tView, `tView should be defined`);\n        /** @type {?} */\n        const tI18n = tView.data[index + HEADER_OFFSET];\n        /** @type {?} */\n        let updateOpCodes;\n        /** @type {?} */\n        let icus = null;\n        if (Array.isArray(tI18n)) {\n            updateOpCodes = (/** @type {?} */ (tI18n));\n        }\n        else {\n            updateOpCodes = ((/** @type {?} */ (tI18n))).update;\n            icus = ((/** @type {?} */ (tI18n))).icus;\n        }\n        /** @type {?} */\n        const bindingsStartIndex = lView[BINDING_INDEX] - shiftsCounter - 1;\n        readUpdateOpCodes(updateOpCodes, icus, bindingsStartIndex, changeMask, lView);\n        // Reset changeMask & maskBit to default for the next update cycle\n        changeMask = 0b0;\n        shiftsCounter = 0;\n    }\n}\n/**\n * Returns the index of the current case of an ICU expression depending on the main binding value\n *\n * @param {?} icuExpression\n * @param {?} bindingValue The value of the main binding used by this ICU expression\n * @return {?}\n */\nfunction getCaseIndex(icuExpression, bindingValue) {\n    /** @type {?} */\n    let index = icuExpression.cases.indexOf(bindingValue);\n    if (index === -1) {\n        switch (icuExpression.type) {\n            case 1 /* plural */: {\n                /** @type {?} */\n                const resolvedCase = getPluralCase(bindingValue, getLocaleId());\n                index = icuExpression.cases.indexOf(resolvedCase);\n                if (index === -1 && resolvedCase !== 'other') {\n                    index = icuExpression.cases.indexOf('other');\n                }\n                break;\n            }\n            case 0 /* select */: {\n                index = icuExpression.cases.indexOf('other');\n                break;\n            }\n        }\n    }\n    return index;\n}\n/**\n * Generate the OpCodes for ICU expressions.\n *\n * @param {?} tIcus\n * @param {?} icuExpression\n * @param {?} startIndex\n * @param {?} expandoStartIndex\n * @return {?}\n */\nfunction icuStart(tIcus, icuExpression, startIndex, expandoStartIndex) {\n    /** @type {?} */\n    const createCodes = [];\n    /** @type {?} */\n    const removeCodes = [];\n    /** @type {?} */\n    const updateCodes = [];\n    /** @type {?} */\n    const vars = [];\n    /** @type {?} */\n    const childIcus = [];\n    for (let i = 0; i < icuExpression.values.length; i++) {\n        // Each value is an array of strings & other ICU expressions\n        /** @type {?} */\n        const valueArr = icuExpression.values[i];\n        /** @type {?} */\n        const nestedIcus = [];\n        for (let j = 0; j < valueArr.length; j++) {\n            /** @type {?} */\n            const value = valueArr[j];\n            if (typeof value !== 'string') {\n                // It is an nested ICU expression\n                /** @type {?} */\n                const icuIndex = nestedIcus.push((/** @type {?} */ (value))) - 1;\n                // Replace nested ICU expression by a comment node\n                valueArr[j] = `<!--�${icuIndex}�-->`;\n            }\n        }\n        /** @type {?} */\n        const icuCase = parseIcuCase(valueArr.join(''), startIndex, nestedIcus, tIcus, expandoStartIndex);\n        createCodes.push(icuCase.create);\n        removeCodes.push(icuCase.remove);\n        updateCodes.push(icuCase.update);\n        vars.push(icuCase.vars);\n        childIcus.push(icuCase.childIcus);\n    }\n    /** @type {?} */\n    const tIcu = {\n        type: icuExpression.type,\n        vars,\n        childIcus,\n        cases: icuExpression.cases,\n        create: createCodes,\n        remove: removeCodes,\n        update: updateCodes\n    };\n    tIcus.push(tIcu);\n    // Adding the maximum possible of vars needed (based on the cases with the most vars)\n    i18nVarsCount += Math.max(...vars);\n}\n/**\n * Transforms a string template into an HTML template and a list of instructions used to update\n * attributes or nodes that contain bindings.\n *\n * @param {?} unsafeHtml The string to parse\n * @param {?} parentIndex\n * @param {?} nestedIcus\n * @param {?} tIcus\n * @param {?} expandoStartIndex\n * @return {?}\n */\nfunction parseIcuCase(unsafeHtml, parentIndex, nestedIcus, tIcus, expandoStartIndex) {\n    /** @type {?} */\n    const inertBodyHelper = new InertBodyHelper(document);\n    /** @type {?} */\n    const inertBodyElement = inertBodyHelper.getInertBodyElement(unsafeHtml);\n    if (!inertBodyElement) {\n        throw new Error('Unable to generate inert body element');\n    }\n    /** @type {?} */\n    const wrapper = (/** @type {?} */ (getTemplateContent((/** @type {?} */ (inertBodyElement))))) || inertBodyElement;\n    /** @type {?} */\n    const opCodes = { vars: 0, childIcus: [], create: [], remove: [], update: [] };\n    parseNodes(wrapper.firstChild, opCodes, parentIndex, nestedIcus, tIcus, expandoStartIndex);\n    return opCodes;\n}\n/** @type {?} */\nconst NESTED_ICU = /�(\\d+)�/;\n/**\n * Parses a node, its children and its siblings, and generates the mutate & update OpCodes.\n *\n * @param {?} currentNode The first node to parse\n * @param {?} icuCase The data for the ICU expression case that contains those nodes\n * @param {?} parentIndex Index of the current node's parent\n * @param {?} nestedIcus Data for the nested ICU expressions that this case contains\n * @param {?} tIcus Data for all ICU expressions of the current message\n * @param {?} expandoStartIndex Expando start index for the current ICU expression\n * @return {?}\n */\nfunction parseNodes(currentNode, icuCase, parentIndex, nestedIcus, tIcus, expandoStartIndex) {\n    if (currentNode) {\n        /** @type {?} */\n        const nestedIcusToCreate = [];\n        while (currentNode) {\n            /** @type {?} */\n            const nextNode = currentNode.nextSibling;\n            /** @type {?} */\n            const newIndex = expandoStartIndex + ++icuCase.vars;\n            switch (currentNode.nodeType) {\n                case Node.ELEMENT_NODE:\n                    /** @type {?} */\n                    const element = (/** @type {?} */ (currentNode));\n                    /** @type {?} */\n                    const tagName = element.tagName.toLowerCase();\n                    if (!VALID_ELEMENTS.hasOwnProperty(tagName)) {\n                        // This isn't a valid element, we won't create an element for it\n                        icuCase.vars--;\n                    }\n                    else {\n                        icuCase.create.push(ELEMENT_MARKER, tagName, newIndex, parentIndex << 17 /* SHIFT_PARENT */ | 1 /* AppendChild */);\n                        /** @type {?} */\n                        const elAttrs = element.attributes;\n                        for (let i = 0; i < elAttrs.length; i++) {\n                            /** @type {?} */\n                            const attr = (/** @type {?} */ (elAttrs.item(i)));\n                            /** @type {?} */\n                            const lowerAttrName = attr.name.toLowerCase();\n                            /** @type {?} */\n                            const hasBinding = !!attr.value.match(BINDING_REGEXP);\n                            // we assume the input string is safe, unless it's using a binding\n                            if (hasBinding) {\n                                if (VALID_ATTRS.hasOwnProperty(lowerAttrName)) {\n                                    if (URI_ATTRS[lowerAttrName]) {\n                                        addAllToArray(generateBindingUpdateOpCodes(attr.value, newIndex, attr.name, _sanitizeUrl), icuCase.update);\n                                    }\n                                    else if (SRCSET_ATTRS[lowerAttrName]) {\n                                        addAllToArray(generateBindingUpdateOpCodes(attr.value, newIndex, attr.name, sanitizeSrcset), icuCase.update);\n                                    }\n                                    else {\n                                        addAllToArray(generateBindingUpdateOpCodes(attr.value, newIndex, attr.name), icuCase.update);\n                                    }\n                                }\n                                else {\n                                    ngDevMode &&\n                                        console.warn(`WARNING: ignoring unsafe attribute value ${lowerAttrName} on element ${tagName} (see http://g.co/ng/security#xss)`);\n                                }\n                            }\n                            else {\n                                icuCase.create.push(newIndex << 3 /* SHIFT_REF */ | 4 /* Attr */, attr.name, attr.value);\n                            }\n                        }\n                        // Parse the children of this node (if any)\n                        parseNodes(currentNode.firstChild, icuCase, newIndex, nestedIcus, tIcus, expandoStartIndex);\n                        // Remove the parent node after the children\n                        icuCase.remove.push(newIndex << 3 /* SHIFT_REF */ | 3 /* Remove */);\n                    }\n                    break;\n                case Node.TEXT_NODE:\n                    /** @type {?} */\n                    const value = currentNode.textContent || '';\n                    /** @type {?} */\n                    const hasBinding = value.match(BINDING_REGEXP);\n                    icuCase.create.push(hasBinding ? '' : value, newIndex, parentIndex << 17 /* SHIFT_PARENT */ | 1 /* AppendChild */);\n                    icuCase.remove.push(newIndex << 3 /* SHIFT_REF */ | 3 /* Remove */);\n                    if (hasBinding) {\n                        addAllToArray(generateBindingUpdateOpCodes(value, newIndex), icuCase.update);\n                    }\n                    break;\n                case Node.COMMENT_NODE:\n                    // Check if the comment node is a placeholder for a nested ICU\n                    /** @type {?} */\n                    const match = NESTED_ICU.exec(currentNode.textContent || '');\n                    if (match) {\n                        /** @type {?} */\n                        const nestedIcuIndex = parseInt(match[1], 10);\n                        /** @type {?} */\n                        const newLocal = ngDevMode ? `nested ICU ${nestedIcuIndex}` : '';\n                        // Create the comment node that will anchor the ICU expression\n                        icuCase.create.push(COMMENT_MARKER, newLocal, newIndex, parentIndex << 17 /* SHIFT_PARENT */ | 1 /* AppendChild */);\n                        /** @type {?} */\n                        const nestedIcu = nestedIcus[nestedIcuIndex];\n                        nestedIcusToCreate.push([nestedIcu, newIndex]);\n                    }\n                    else {\n                        // We do not handle any other type of comment\n                        icuCase.vars--;\n                    }\n                    break;\n                default:\n                    // We do not handle any other type of element\n                    icuCase.vars--;\n            }\n            currentNode = (/** @type {?} */ (nextNode));\n        }\n        for (let i = 0; i < nestedIcusToCreate.length; i++) {\n            /** @type {?} */\n            const nestedIcu = nestedIcusToCreate[i][0];\n            /** @type {?} */\n            const nestedIcuNodeIndex = nestedIcusToCreate[i][1];\n            icuStart(tIcus, nestedIcu, nestedIcuNodeIndex, expandoStartIndex + icuCase.vars);\n            // Since this is recursive, the last TIcu that was pushed is the one we want\n            /** @type {?} */\n            const nestTIcuIndex = tIcus.length - 1;\n            icuCase.vars += Math.max(...tIcus[nestTIcuIndex].vars);\n            icuCase.childIcus.push(nestTIcuIndex);\n            /** @type {?} */\n            const mask = getBindingMask(nestedIcu);\n            icuCase.update.push(toMaskBit(nestedIcu.mainBinding), // mask of the main binding\n            3, // skip 3 opCodes if not changed\n            -1 - nestedIcu.mainBinding, nestedIcuNodeIndex << 2 /* SHIFT_REF */ | 2 /* IcuSwitch */, nestTIcuIndex, mask, // mask of all the bindings of this ICU expression\n            2, // skip 2 opCodes if not changed\n            nestedIcuNodeIndex << 2 /* SHIFT_REF */ | 3 /* IcuUpdate */, nestTIcuIndex);\n            icuCase.remove.push(nestTIcuIndex << 3 /* SHIFT_REF */ | 6 /* RemoveNestedIcu */, nestedIcuNodeIndex << 3 /* SHIFT_REF */ | 3 /* Remove */);\n        }\n    }\n}\n/**\n * Angular Dart introduced &ngsp; as a placeholder for non-removable space, see:\n * https://github.com/dart-lang/angular/blob/0bb611387d29d65b5af7f9d2515ab571fd3fbee4/_tests/test/compiler/preserve_whitespace_test.dart#L25-L32\n * In Angular Dart &ngsp; is converted to the 0xE500 PUA (Private Use Areas) unicode character\n * and later on replaced by a space. We are re-implementing the same idea here, since translations\n * might contain this special character.\n * @type {?}\n */\nconst NGSP_UNICODE_REGEXP = /\\uE500/g;\n/**\n * @param {?} value\n * @return {?}\n */\nfunction replaceNgsp(value) {\n    return value.replace(NGSP_UNICODE_REGEXP, ' ');\n}\n/** @type {?} */\nlet TRANSLATIONS = {};\n/**\n * @record\n */\nfunction I18nLocalizeOptions() { }\nif (false) {}\n/**\n * Set the configuration for `i18nLocalize`.\n *\n * @deprecated this method is temporary & should not be used as it will be removed soon\n * @param {?=} options\n * @return {?}\n */\nfunction i18nConfigureLocalize(options = {\n    translations: {}\n}) {\n    TRANSLATIONS = options.translations;\n}\n/** @type {?} */\nconst LOCALIZE_PH_REGEXP = /\\{\\$(.*?)\\}/g;\n/**\n * A goog.getMsg-like function for users that do not use Closure.\n *\n * This method is required as a *temporary* measure to prevent i18n tests from being blocked while\n * running outside of Closure Compiler. This method will not be needed once runtime translation\n * service support is introduced.\n *\n * \\@codeGenApi\n * @deprecated this method is temporary & should not be used as it will be removed soon\n * @param {?} input\n * @param {?=} placeholders\n * @return {?}\n */\nfunction ɵɵi18nLocalize(input, placeholders) {\n    if (typeof TRANSLATIONS[input] !== 'undefined') { // to account for empty string\n        input = TRANSLATIONS[input];\n    }\n    if (placeholders !== undefined && Object.keys(placeholders).length) {\n        return input.replace(LOCALIZE_PH_REGEXP, (/**\n         * @param {?} _\n         * @param {?} key\n         * @return {?}\n         */\n        (_, key) => placeholders[key] || ''));\n    }\n    return input;\n}\n/**\n * The locale id that the application is currently using (for translations and ICU expressions).\n * This is the ivy version of `LOCALE_ID` that was defined as an injection token for the view engine\n * but is now defined as a global value.\n * @type {?}\n */\nlet LOCALE_ID = DEFAULT_LOCALE_ID;\n/**\n * Sets the locale id that will be used for translations and ICU expressions.\n * This is the ivy version of `LOCALE_ID` that was defined as an injection token for the view engine\n * but is now defined as a global value.\n *\n * @param {?} localeId\n * @return {?}\n */\nfunction setLocaleId(localeId) {\n    assertDefined(localeId, `Expected localeId to be defined`);\n    if (typeof localeId === 'string') {\n        LOCALE_ID = localeId.toLowerCase().replace(/_/g, '-');\n    }\n}\n/**\n * Gets the locale id that will be used for translations and ICU expressions.\n * This is the ivy version of `LOCALE_ID` that was defined as an injection token for the view engine\n * but is now defined as a global value.\n * @return {?}\n */\nfunction getLocaleId() {\n    return LOCALE_ID;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Map of module-id to the corresponding NgModule.\n * - In pre Ivy we track NgModuleFactory,\n * - In post Ivy we track the NgModuleType\n * @type {?}\n */\nconst modules = new Map();\n/**\n * Registers a loaded module. Should only be called from generated NgModuleFactory code.\n * \\@publicApi\n * @param {?} id\n * @param {?} factory\n * @return {?}\n */\nfunction registerModuleFactory(id, factory) {\n    /** @type {?} */\n    const existing = (/** @type {?} */ (modules.get(id)));\n    assertSameOrNotExisting(id, existing && existing.moduleType, factory.moduleType);\n    modules.set(id, factory);\n}\n/**\n * @param {?} id\n * @param {?} type\n * @param {?} incoming\n * @return {?}\n */\nfunction assertSameOrNotExisting(id, type, incoming) {\n    if (type && type !== incoming) {\n        throw new Error(`Duplicate module registered for ${id} - ${stringify(type)} vs ${stringify(type.name)}`);\n    }\n}\n/**\n * @param {?} ngModuleType\n * @return {?}\n */\nfunction registerNgModuleType(ngModuleType) {\n    if (ngModuleType.ngModuleDef.id !== null) {\n        /** @type {?} */\n        const id = ngModuleType.ngModuleDef.id;\n        /** @type {?} */\n        const existing = (/** @type {?} */ (modules.get(id)));\n        assertSameOrNotExisting(id, existing, ngModuleType);\n        modules.set(id, ngModuleType);\n    }\n    /** @type {?} */\n    let imports = ngModuleType.ngModuleDef.imports;\n    if (imports instanceof Function) {\n        imports = imports();\n    }\n    if (imports) {\n        imports.forEach((/**\n         * @param {?} i\n         * @return {?}\n         */\n        i => registerNgModuleType((/** @type {?} */ (i)))));\n    }\n}\n/**\n * @return {?}\n */\nfunction clearModulesForTest() {\n    modules.clear();\n}\n/**\n * @param {?} id\n * @return {?}\n */\nfunction getRegisteredNgModuleType(id) {\n    return modules.get(id);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @record\n * @template T\n */\nfunction NgModuleType() { }\nif (false) {}\n/** @type {?} */\nconst COMPONENT_FACTORY_RESOLVER = {\n    provide: ComponentFactoryResolver,\n    useClass: ComponentFactoryResolver$1,\n    deps: [NgModuleRef],\n};\n/**\n * @template T\n */\nclass NgModuleRef$1 extends NgModuleRef {\n    /**\n     * @param {?} ngModuleType\n     * @param {?} _parent\n     */\n    constructor(ngModuleType, _parent) {\n        super();\n        this._parent = _parent;\n        // tslint:disable-next-line:require-internal-with-underscore\n        this._bootstrapComponents = [];\n        this.injector = this;\n        this.destroyCbs = [];\n        /** @type {?} */\n        /** @nocollapse */ const ngModuleDef = getNgModuleDef(ngModuleType);\n        ngDevMode && assertDefined(ngModuleDef, `NgModule '${stringify(ngModuleType)}' is not a subtype of 'NgModuleType'.`);\n        /** @type {?} */\n        const ngLocaleIdDef = getNgLocaleIdDef(ngModuleType);\n        if (ngLocaleIdDef) {\n            setLocaleId(ngLocaleIdDef);\n        }\n        this._bootstrapComponents = maybeUnwrapFn((/** @type {?} */ (ngModuleDef)).bootstrap);\n        /** @type {?} */\n        const additionalProviders = [\n            {\n                provide: NgModuleRef,\n                useValue: this,\n            },\n            COMPONENT_FACTORY_RESOLVER\n        ];\n        this._r3Injector = (/** @type {?} */ (createInjector(ngModuleType, _parent, additionalProviders, stringify(ngModuleType))));\n        this.instance = this.get(ngModuleType);\n    }\n    /**\n     * @param {?} token\n     * @param {?=} notFoundValue\n     * @param {?=} injectFlags\n     * @return {?}\n     */\n    get(token, notFoundValue = Injector.THROW_IF_NOT_FOUND, injectFlags = InjectFlags.Default) {\n        if (token === Injector || token === NgModuleRef || token === INJECTOR) {\n            return this;\n        }\n        return this._r3Injector.get(token, notFoundValue, injectFlags);\n    }\n    /**\n     * @return {?}\n     */\n    get componentFactoryResolver() {\n        return this.get(ComponentFactoryResolver);\n    }\n    /**\n     * @return {?}\n     */\n    destroy() {\n        ngDevMode && assertDefined(this.destroyCbs, 'NgModule already destroyed');\n        /** @type {?} */\n        const injector = this._r3Injector;\n        !injector.destroyed && injector.destroy();\n        (/** @type {?} */ (this.destroyCbs)).forEach((/**\n         * @param {?} fn\n         * @return {?}\n         */\n        fn => fn()));\n        this.destroyCbs = null;\n    }\n    /**\n     * @param {?} callback\n     * @return {?}\n     */\n    onDestroy(callback) {\n        ngDevMode && assertDefined(this.destroyCbs, 'NgModule already destroyed');\n        (/** @type {?} */ (this.destroyCbs)).push(callback);\n    }\n}\nif (false) {}\n/**\n * @template T\n */\nclass NgModuleFactory$1 extends NgModuleFactory {\n    /**\n     * @param {?} moduleType\n     */\n    constructor(moduleType) {\n        super();\n        this.moduleType = moduleType;\n        /** @type {?} */\n        /** @nocollapse */ const ngModuleDef = getNgModuleDef(moduleType);\n        if (ngModuleDef !== null) {\n            // Register the NgModule with Angular's module registry. The location (and hence timing) of\n            // this call is critical to ensure this works correctly (modules get registered when expected)\n            // without bloating bundles (modules are registered when otherwise not referenced).\n            //\n            // In View Engine, registration occurs in the .ngfactory.js file as a side effect. This has\n            // several practical consequences:\n            //\n            // - If an .ngfactory file is not imported from, the module won't be registered (and can be\n            //   tree shaken).\n            // - If an .ngfactory file is imported from, the module will be registered even if an instance\n            //   is not actually created (via `create` below).\n            // - Since an .ngfactory file in View Engine references the .ngfactory files of the NgModule's\n            //   imports,\n            //\n            // In Ivy, things are a bit different. .ngfactory files still exist for compatibility, but are\n            // not a required API to use - there are other ways to obtain an NgModuleFactory for a given\n            // NgModule. Thus, relying on a side effect in the .ngfactory file is not sufficient. Instead,\n            // the side effect of registration is added here, in the constructor of NgModuleFactory,\n            // ensuring no matter how a factory is created, the module is registered correctly.\n            //\n            // An alternative would be to include the registration side effect inline following the actual\n            // NgModule definition. This also has the correct timing, but breaks tree-shaking - modules\n            // will be registered and retained even if they're otherwise never referenced.\n            registerNgModuleType((/** @type {?} */ (moduleType)));\n        }\n    }\n    /**\n     * @param {?} parentInjector\n     * @return {?}\n     */\n    create(parentInjector) {\n        return new NgModuleRef$1(this.moduleType, parentInjector);\n    }\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @record\n */\nfunction TypeWithMetadata() { }\nif (false) {}\n/**\n * Adds decorator, constructor, and property metadata to a given type via static metadata fields\n * on the type.\n *\n * These metadata fields can later be read with Angular's `ReflectionCapabilities` API.\n *\n * Calls to `setClassMetadata` can be marked as pure, resulting in the metadata assignments being\n * tree-shaken away during production builds.\n * @param {?} type\n * @param {?} decorators\n * @param {?} ctorParameters\n * @param {?} propDecorators\n * @return {?}\n */\nfunction setClassMetadata(type, decorators, ctorParameters, propDecorators) {\n    return (/** @type {?} */ (noSideEffects((/**\n     * @return {?}\n     */\n    () => {\n        /** @type {?} */\n        const clazz = (/** @type {?} */ (type));\n        // We determine whether a class has its own metadata by taking the metadata from the parent\n        // constructor and checking whether it's the same as the subclass metadata below. We can't use\n        // `hasOwnProperty` here because it doesn't work correctly in IE10 for static fields that are\n        // defined by TS. See https://github.com/angular/angular/pull/28439#issuecomment-459349218.\n        /** @type {?} */\n        const parentPrototype = clazz.prototype ? Object.getPrototypeOf(clazz.prototype) : null;\n        /** @type {?} */\n        const parentConstructor = parentPrototype && parentPrototype.constructor;\n        if (decorators !== null) {\n            if (clazz.decorators !== undefined &&\n                (!parentConstructor || parentConstructor.decorators !== clazz.decorators)) {\n                clazz.decorators.push(...decorators);\n            }\n            else {\n                clazz.decorators = decorators;\n            }\n        }\n        if (ctorParameters !== null) {\n            // Rather than merging, clobber the existing parameters. If other projects exist which use\n            // tsickle-style annotations and reflect over them in the same way, this could cause issues,\n            // but that is vanishingly unlikely.\n            clazz.ctorParameters = ctorParameters;\n        }\n        if (propDecorators !== null) {\n            // The property decorator objects are merged as it is possible different fields have different\n            // decorator types. Decorators on individual fields are not merged, as it's also incredibly\n            // unlikely that a field will be decorated both with an Angular decorator and a non-Angular\n            // decorator that's also been downleveled.\n            if (clazz.propDecorators !== undefined &&\n                (!parentConstructor || parentConstructor.propDecorators !== clazz.propDecorators)) {\n                clazz.propDecorators = Object.assign({}, clazz.propDecorators, propDecorators);\n            }\n            else {\n                clazz.propDecorators = propDecorators;\n            }\n        }\n    }))));\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Bindings for pure functions are stored after regular bindings.\n *\n * |------consts------|---------vars---------|                 |----- hostVars (dir1) ------|\n * ------------------------------------------------------------------------------------------\n * | nodes/refs/pipes | bindings | fn slots  | injector | dir1 | host bindings | host slots |\n * ------------------------------------------------------------------------------------------\n *                    ^                      ^\n *      TView.bindingStartIndex      TView.expandoStartIndex\n *\n * Pure function instructions are given an offset from the binding root. Adding the offset to the\n * binding root gives the first index where the bindings are stored. In component views, the binding\n * root is the bindingStartIndex. In host bindings, the binding root is the expandoStartIndex +\n * any directive instances + any hostVars in directives evaluated before it.\n *\n * See VIEW_DATA.md for more information about host binding resolution.\n */\n/**\n * If the value hasn't been saved, calls the pure function to store and return the\n * value. If it has been saved, returns the saved value.\n *\n * \\@codeGenApi\n * @template T\n * @param {?} slotOffset the offset from binding root to the reserved slot\n * @param {?} pureFn Function that returns a value\n * @param {?=} thisArg Optional calling context of pureFn\n * @return {?} value\n *\n */\nfunction ɵɵpureFunction0(slotOffset, pureFn, thisArg) {\n    // TODO(kara): use bindingRoot instead of bindingStartIndex when implementing host bindings\n    /** @type {?} */\n    const bindingIndex = getBindingRoot() + slotOffset;\n    /** @type {?} */\n    const lView = getLView();\n    return isCreationMode() ?\n        updateBinding(lView, bindingIndex, thisArg ? pureFn.call(thisArg) : pureFn()) :\n        getBinding(lView, bindingIndex);\n}\n/**\n * If the value of the provided exp has changed, calls the pure function to return\n * an updated value. Or if the value has not changed, returns cached value.\n *\n * \\@codeGenApi\n * @param {?} slotOffset the offset from binding root to the reserved slot\n * @param {?} pureFn Function that returns an updated value\n * @param {?} exp Updated expression value\n * @param {?=} thisArg Optional calling context of pureFn\n * @return {?} Updated or cached value\n *\n */\nfunction ɵɵpureFunction1(slotOffset, pureFn, exp, thisArg) {\n    // TODO(kara): use bindingRoot instead of bindingStartIndex when implementing host bindings\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const bindingIndex = getBindingRoot() + slotOffset;\n    return bindingUpdated(lView, bindingIndex, exp) ?\n        updateBinding(lView, bindingIndex + 1, thisArg ? pureFn.call(thisArg, exp) : pureFn(exp)) :\n        getBinding(lView, bindingIndex + 1);\n}\n/**\n * If the value of any provided exp has changed, calls the pure function to return\n * an updated value. Or if no values have changed, returns cached value.\n *\n * \\@codeGenApi\n * @param {?} slotOffset the offset from binding root to the reserved slot\n * @param {?} pureFn\n * @param {?} exp1\n * @param {?} exp2\n * @param {?=} thisArg Optional calling context of pureFn\n * @return {?} Updated or cached value\n *\n */\nfunction ɵɵpureFunction2(slotOffset, pureFn, exp1, exp2, thisArg) {\n    // TODO(kara): use bindingRoot instead of bindingStartIndex when implementing host bindings\n    /** @type {?} */\n    const bindingIndex = getBindingRoot() + slotOffset;\n    /** @type {?} */\n    const lView = getLView();\n    return bindingUpdated2(lView, bindingIndex, exp1, exp2) ?\n        updateBinding(lView, bindingIndex + 2, thisArg ? pureFn.call(thisArg, exp1, exp2) : pureFn(exp1, exp2)) :\n        getBinding(lView, bindingIndex + 2);\n}\n/**\n * If the value of any provided exp has changed, calls the pure function to return\n * an updated value. Or if no values have changed, returns cached value.\n *\n * \\@codeGenApi\n * @param {?} slotOffset the offset from binding root to the reserved slot\n * @param {?} pureFn\n * @param {?} exp1\n * @param {?} exp2\n * @param {?} exp3\n * @param {?=} thisArg Optional calling context of pureFn\n * @return {?} Updated or cached value\n *\n */\nfunction ɵɵpureFunction3(slotOffset, pureFn, exp1, exp2, exp3, thisArg) {\n    // TODO(kara): use bindingRoot instead of bindingStartIndex when implementing host bindings\n    /** @type {?} */\n    const bindingIndex = getBindingRoot() + slotOffset;\n    /** @type {?} */\n    const lView = getLView();\n    return bindingUpdated3(lView, bindingIndex, exp1, exp2, exp3) ?\n        updateBinding(lView, bindingIndex + 3, thisArg ? pureFn.call(thisArg, exp1, exp2, exp3) : pureFn(exp1, exp2, exp3)) :\n        getBinding(lView, bindingIndex + 3);\n}\n/**\n * If the value of any provided exp has changed, calls the pure function to return\n * an updated value. Or if no values have changed, returns cached value.\n *\n * \\@codeGenApi\n * @param {?} slotOffset the offset from binding root to the reserved slot\n * @param {?} pureFn\n * @param {?} exp1\n * @param {?} exp2\n * @param {?} exp3\n * @param {?} exp4\n * @param {?=} thisArg Optional calling context of pureFn\n * @return {?} Updated or cached value\n *\n */\nfunction ɵɵpureFunction4(slotOffset, pureFn, exp1, exp2, exp3, exp4, thisArg) {\n    // TODO(kara): use bindingRoot instead of bindingStartIndex when implementing host bindings\n    /** @type {?} */\n    const bindingIndex = getBindingRoot() + slotOffset;\n    /** @type {?} */\n    const lView = getLView();\n    return bindingUpdated4(lView, bindingIndex, exp1, exp2, exp3, exp4) ?\n        updateBinding(lView, bindingIndex + 4, thisArg ? pureFn.call(thisArg, exp1, exp2, exp3, exp4) : pureFn(exp1, exp2, exp3, exp4)) :\n        getBinding(lView, bindingIndex + 4);\n}\n/**\n * If the value of any provided exp has changed, calls the pure function to return\n * an updated value. Or if no values have changed, returns cached value.\n *\n * \\@codeGenApi\n * @param {?} slotOffset the offset from binding root to the reserved slot\n * @param {?} pureFn\n * @param {?} exp1\n * @param {?} exp2\n * @param {?} exp3\n * @param {?} exp4\n * @param {?} exp5\n * @param {?=} thisArg Optional calling context of pureFn\n * @return {?} Updated or cached value\n *\n */\nfunction ɵɵpureFunction5(slotOffset, pureFn, exp1, exp2, exp3, exp4, exp5, thisArg) {\n    // TODO(kara): use bindingRoot instead of bindingStartIndex when implementing host bindings\n    /** @type {?} */\n    const bindingIndex = getBindingRoot() + slotOffset;\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const different = bindingUpdated4(lView, bindingIndex, exp1, exp2, exp3, exp4);\n    return bindingUpdated(lView, bindingIndex + 4, exp5) || different ?\n        updateBinding(lView, bindingIndex + 5, thisArg ? pureFn.call(thisArg, exp1, exp2, exp3, exp4, exp5) :\n            pureFn(exp1, exp2, exp3, exp4, exp5)) :\n        getBinding(lView, bindingIndex + 5);\n}\n/**\n * If the value of any provided exp has changed, calls the pure function to return\n * an updated value. Or if no values have changed, returns cached value.\n *\n * \\@codeGenApi\n * @param {?} slotOffset the offset from binding root to the reserved slot\n * @param {?} pureFn\n * @param {?} exp1\n * @param {?} exp2\n * @param {?} exp3\n * @param {?} exp4\n * @param {?} exp5\n * @param {?} exp6\n * @param {?=} thisArg Optional calling context of pureFn\n * @return {?} Updated or cached value\n *\n */\nfunction ɵɵpureFunction6(slotOffset, pureFn, exp1, exp2, exp3, exp4, exp5, exp6, thisArg) {\n    // TODO(kara): use bindingRoot instead of bindingStartIndex when implementing host bindings\n    /** @type {?} */\n    const bindingIndex = getBindingRoot() + slotOffset;\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const different = bindingUpdated4(lView, bindingIndex, exp1, exp2, exp3, exp4);\n    return bindingUpdated2(lView, bindingIndex + 4, exp5, exp6) || different ?\n        updateBinding(lView, bindingIndex + 6, thisArg ?\n            pureFn.call(thisArg, exp1, exp2, exp3, exp4, exp5, exp6) :\n            pureFn(exp1, exp2, exp3, exp4, exp5, exp6)) :\n        getBinding(lView, bindingIndex + 6);\n}\n/**\n * If the value of any provided exp has changed, calls the pure function to return\n * an updated value. Or if no values have changed, returns cached value.\n *\n * \\@codeGenApi\n * @param {?} slotOffset the offset from binding root to the reserved slot\n * @param {?} pureFn\n * @param {?} exp1\n * @param {?} exp2\n * @param {?} exp3\n * @param {?} exp4\n * @param {?} exp5\n * @param {?} exp6\n * @param {?} exp7\n * @param {?=} thisArg Optional calling context of pureFn\n * @return {?} Updated or cached value\n *\n */\nfunction ɵɵpureFunction7(slotOffset, pureFn, exp1, exp2, exp3, exp4, exp5, exp6, exp7, thisArg) {\n    // TODO(kara): use bindingRoot instead of bindingStartIndex when implementing host bindings\n    /** @type {?} */\n    const bindingIndex = getBindingRoot() + slotOffset;\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    let different = bindingUpdated4(lView, bindingIndex, exp1, exp2, exp3, exp4);\n    return bindingUpdated3(lView, bindingIndex + 4, exp5, exp6, exp7) || different ?\n        updateBinding(lView, bindingIndex + 7, thisArg ?\n            pureFn.call(thisArg, exp1, exp2, exp3, exp4, exp5, exp6, exp7) :\n            pureFn(exp1, exp2, exp3, exp4, exp5, exp6, exp7)) :\n        getBinding(lView, bindingIndex + 7);\n}\n/**\n * If the value of any provided exp has changed, calls the pure function to return\n * an updated value. Or if no values have changed, returns cached value.\n *\n * \\@codeGenApi\n * @param {?} slotOffset the offset from binding root to the reserved slot\n * @param {?} pureFn\n * @param {?} exp1\n * @param {?} exp2\n * @param {?} exp3\n * @param {?} exp4\n * @param {?} exp5\n * @param {?} exp6\n * @param {?} exp7\n * @param {?} exp8\n * @param {?=} thisArg Optional calling context of pureFn\n * @return {?} Updated or cached value\n *\n */\nfunction ɵɵpureFunction8(slotOffset, pureFn, exp1, exp2, exp3, exp4, exp5, exp6, exp7, exp8, thisArg) {\n    // TODO(kara): use bindingRoot instead of bindingStartIndex when implementing host bindings\n    /** @type {?} */\n    const bindingIndex = getBindingRoot() + slotOffset;\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const different = bindingUpdated4(lView, bindingIndex, exp1, exp2, exp3, exp4);\n    return bindingUpdated4(lView, bindingIndex + 4, exp5, exp6, exp7, exp8) || different ?\n        updateBinding(lView, bindingIndex + 8, thisArg ?\n            pureFn.call(thisArg, exp1, exp2, exp3, exp4, exp5, exp6, exp7, exp8) :\n            pureFn(exp1, exp2, exp3, exp4, exp5, exp6, exp7, exp8)) :\n        getBinding(lView, bindingIndex + 8);\n}\n/**\n * pureFunction instruction that can support any number of bindings.\n *\n * If the value of any provided exp has changed, calls the pure function to return\n * an updated value. Or if no values have changed, returns cached value.\n *\n * \\@codeGenApi\n * @param {?} slotOffset the offset from binding root to the reserved slot\n * @param {?} pureFn A pure function that takes binding values and builds an object or array\n * containing those values.\n * @param {?} exps An array of binding values\n * @param {?=} thisArg Optional calling context of pureFn\n * @return {?} Updated or cached value\n *\n */\nfunction ɵɵpureFunctionV(slotOffset, pureFn, exps, thisArg) {\n    // TODO(kara): use bindingRoot instead of bindingStartIndex when implementing host bindings\n    /** @type {?} */\n    let bindingIndex = getBindingRoot() + slotOffset;\n    /** @type {?} */\n    let different = false;\n    /** @type {?} */\n    const lView = getLView();\n    for (let i = 0; i < exps.length; i++) {\n        bindingUpdated(lView, bindingIndex++, exps[i]) && (different = true);\n    }\n    return different ? updateBinding(lView, bindingIndex, pureFn.apply(thisArg, exps)) :\n        getBinding(lView, bindingIndex);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Create a pipe.\n *\n * \\@codeGenApi\n * @param {?} index Pipe index where the pipe will be stored.\n * @param {?} pipeName The name of the pipe\n * @return {?} T the instance of the pipe.\n *\n */\nfunction ɵɵpipe(index, pipeName) {\n    /** @type {?} */\n    const tView = getLView()[TVIEW];\n    /** @type {?} */\n    let pipeDef;\n    /** @type {?} */\n    const adjustedIndex = index + HEADER_OFFSET;\n    if (tView.firstTemplatePass) {\n        pipeDef = getPipeDef$1(pipeName, tView.pipeRegistry);\n        tView.data[adjustedIndex] = pipeDef;\n        if (pipeDef.onDestroy) {\n            (tView.destroyHooks || (tView.destroyHooks = [])).push(adjustedIndex, pipeDef.onDestroy);\n        }\n    }\n    else {\n        pipeDef = (/** @type {?} */ (tView.data[adjustedIndex]));\n    }\n    /** @type {?} */\n    const pipeInstance = pipeDef.factory();\n    store(index, pipeInstance);\n    return pipeInstance;\n}\n/**\n * Searches the pipe registry for a pipe with the given name. If one is found,\n * returns the pipe. Otherwise, an error is thrown because the pipe cannot be resolved.\n *\n * \\@publicApi\n * @param {?} name Name of pipe to resolve\n * @param {?} registry Full list of available pipes\n * @return {?} Matching PipeDef\n *\n */\nfunction getPipeDef$1(name, registry) {\n    if (registry) {\n        for (let i = registry.length - 1; i >= 0; i--) {\n            /** @type {?} */\n            const pipeDef = registry[i];\n            if (name === pipeDef.name) {\n                return pipeDef;\n            }\n        }\n    }\n    throw new Error(`The pipe '${name}' could not be found!`);\n}\n/**\n * Invokes a pipe with 1 arguments.\n *\n * This instruction acts as a guard to {\\@link PipeTransform#transform} invoking\n * the pipe only when an input to the pipe changes.\n *\n * \\@codeGenApi\n * @param {?} index Pipe index where the pipe was stored on creation.\n * @param {?} slotOffset the offset in the reserved slot space\n * @param {?} v1 1st argument to {\\@link PipeTransform#transform}.\n *\n * @return {?}\n */\nfunction ɵɵpipeBind1(index, slotOffset, v1) {\n    /** @type {?} */\n    const pipeInstance = ɵɵload(index);\n    return unwrapValue$1(isPure(index) ? ɵɵpureFunction1(slotOffset, pipeInstance.transform, v1, pipeInstance) :\n        pipeInstance.transform(v1));\n}\n/**\n * Invokes a pipe with 2 arguments.\n *\n * This instruction acts as a guard to {\\@link PipeTransform#transform} invoking\n * the pipe only when an input to the pipe changes.\n *\n * \\@codeGenApi\n * @param {?} index Pipe index where the pipe was stored on creation.\n * @param {?} slotOffset the offset in the reserved slot space\n * @param {?} v1 1st argument to {\\@link PipeTransform#transform}.\n * @param {?} v2 2nd argument to {\\@link PipeTransform#transform}.\n *\n * @return {?}\n */\nfunction ɵɵpipeBind2(index, slotOffset, v1, v2) {\n    /** @type {?} */\n    const pipeInstance = ɵɵload(index);\n    return unwrapValue$1(isPure(index) ? ɵɵpureFunction2(slotOffset, pipeInstance.transform, v1, v2, pipeInstance) :\n        pipeInstance.transform(v1, v2));\n}\n/**\n * Invokes a pipe with 3 arguments.\n *\n * This instruction acts as a guard to {\\@link PipeTransform#transform} invoking\n * the pipe only when an input to the pipe changes.\n *\n * \\@codeGenApi\n * @param {?} index Pipe index where the pipe was stored on creation.\n * @param {?} slotOffset the offset in the reserved slot space\n * @param {?} v1 1st argument to {\\@link PipeTransform#transform}.\n * @param {?} v2 2nd argument to {\\@link PipeTransform#transform}.\n * @param {?} v3 4rd argument to {\\@link PipeTransform#transform}.\n *\n * @return {?}\n */\nfunction ɵɵpipeBind3(index, slotOffset, v1, v2, v3) {\n    /** @type {?} */\n    const pipeInstance = ɵɵload(index);\n    return unwrapValue$1(isPure(index) ?\n        ɵɵpureFunction3(slotOffset, pipeInstance.transform, v1, v2, v3, pipeInstance) :\n        pipeInstance.transform(v1, v2, v3));\n}\n/**\n * Invokes a pipe with 4 arguments.\n *\n * This instruction acts as a guard to {\\@link PipeTransform#transform} invoking\n * the pipe only when an input to the pipe changes.\n *\n * \\@codeGenApi\n * @param {?} index Pipe index where the pipe was stored on creation.\n * @param {?} slotOffset the offset in the reserved slot space\n * @param {?} v1 1st argument to {\\@link PipeTransform#transform}.\n * @param {?} v2 2nd argument to {\\@link PipeTransform#transform}.\n * @param {?} v3 3rd argument to {\\@link PipeTransform#transform}.\n * @param {?} v4 4th argument to {\\@link PipeTransform#transform}.\n *\n * @return {?}\n */\nfunction ɵɵpipeBind4(index, slotOffset, v1, v2, v3, v4) {\n    /** @type {?} */\n    const pipeInstance = ɵɵload(index);\n    return unwrapValue$1(isPure(index) ?\n        ɵɵpureFunction4(slotOffset, pipeInstance.transform, v1, v2, v3, v4, pipeInstance) :\n        pipeInstance.transform(v1, v2, v3, v4));\n}\n/**\n * Invokes a pipe with variable number of arguments.\n *\n * This instruction acts as a guard to {\\@link PipeTransform#transform} invoking\n * the pipe only when an input to the pipe changes.\n *\n * \\@codeGenApi\n * @param {?} index Pipe index where the pipe was stored on creation.\n * @param {?} slotOffset the offset in the reserved slot space\n * @param {?} values Array of arguments to pass to {\\@link PipeTransform#transform} method.\n *\n * @return {?}\n */\nfunction ɵɵpipeBindV(index, slotOffset, values) {\n    /** @type {?} */\n    const pipeInstance = ɵɵload(index);\n    return unwrapValue$1(isPure(index) ? ɵɵpureFunctionV(slotOffset, pipeInstance.transform, values, pipeInstance) :\n        pipeInstance.transform.apply(pipeInstance, values));\n}\n/**\n * @param {?} index\n * @return {?}\n */\nfunction isPure(index) {\n    return ((/** @type {?} */ (getLView()[TVIEW].data[index + HEADER_OFFSET]))).pure;\n}\n/**\n * Unwrap the output of a pipe transformation.\n * In order to trick change detection into considering that the new value is always different from\n * the old one, the old value is overwritten by NO_CHANGE.\n *\n * @param {?} newValue the pipe transformation output.\n * @return {?}\n */\nfunction unwrapValue$1(newValue) {\n    if (WrappedValue.isWrapped(newValue)) {\n        newValue = WrappedValue.unwrap(newValue);\n        /** @type {?} */\n        const lView = getLView();\n        // The NO_CHANGE value needs to be written at the index where the impacted binding value is\n        // stored\n        /** @type {?} */\n        const bindingToInvalidateIdx = lView[BINDING_INDEX];\n        lView[bindingToInvalidateIdx] = NO_CHANGE;\n    }\n    return newValue;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Use in components with the `\\@Output` directive to emit custom events\n * synchronously or asynchronously, and register handlers for those events\n * by subscribing to an instance.\n *\n * \\@usageNotes\n *\n * Extends\n * [RxJS `Subject`](https://rxjs.dev/api/index/class/Subject)\n * for Angular by adding the `emit()` method.\n *\n * In the following example, a component defines two output properties\n * that create event emitters. When the title is clicked, the emitter\n * emits an open or close event to toggle the current visibility state.\n *\n * ```html\n * \\@Component({\n *   selector: 'zippy',\n *   template: `\n *   <div class=\"zippy\">\n *     <div (click)=\"toggle()\">Toggle</div>\n *     <div [hidden]=\"!visible\">\n *       <ng-content></ng-content>\n *     </div>\n *  </div>`})\n * export class Zippy {\n *   visible: boolean = true;\n * \\@Output() open: EventEmitter<any> = new EventEmitter();\n * \\@Output() close: EventEmitter<any> = new EventEmitter();\n *\n *   toggle() {\n *     this.visible = !this.visible;\n *     if (this.visible) {\n *       this.open.emit(null);\n *     } else {\n *       this.close.emit(null);\n *     }\n *   }\n * }\n * ```\n *\n * Access the event object with the `$event` argument passed to the output event\n * handler:\n *\n * ```html\n * <zippy (open)=\"onOpen($event)\" (close)=\"onClose($event)\"></zippy>\n * ```\n *\n * @see [Observables in Angular](guide/observables-in-angular)\n * \\@publicApi\n * @template T\n */\nclass EventEmitter extends rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"] {\n    // tslint:disable-line\n    /**\n     * Creates an instance of this class that can\n     * deliver events synchronously or asynchronously.\n     *\n     * @param {?=} isAsync When true, deliver events asynchronously.\n     *\n     */\n    constructor(isAsync = false) {\n        super();\n        this.__isAsync = isAsync;\n    }\n    /**\n     * Emits an event containing a given value.\n     * @param {?=} value The value to emit.\n     * @return {?}\n     */\n    emit(value) { super.next(value); }\n    /**\n     * Registers handlers for events emitted by this instance.\n     * @param {?=} generatorOrNext When supplied, a custom handler for emitted events.\n     * @param {?=} error When supplied, a custom handler for an error notification\n     * from this emitter.\n     * @param {?=} complete When supplied, a custom handler for a completion\n     * notification from this emitter.\n     * @return {?}\n     */\n    subscribe(generatorOrNext, error, complete) {\n        /** @type {?} */\n        let schedulerFn;\n        /** @type {?} */\n        let errorFn = (/**\n         * @param {?} err\n         * @return {?}\n         */\n        (err) => null);\n        /** @type {?} */\n        let completeFn = (/**\n         * @return {?}\n         */\n        () => null);\n        if (generatorOrNext && typeof generatorOrNext === 'object') {\n            schedulerFn = this.__isAsync ? (/**\n             * @param {?} value\n             * @return {?}\n             */\n            (value) => {\n                setTimeout((/**\n                 * @return {?}\n                 */\n                () => generatorOrNext.next(value)));\n            }) : (/**\n             * @param {?} value\n             * @return {?}\n             */\n            (value) => { generatorOrNext.next(value); });\n            if (generatorOrNext.error) {\n                errorFn = this.__isAsync ? (/**\n                 * @param {?} err\n                 * @return {?}\n                 */\n                (err) => { setTimeout((/**\n                 * @return {?}\n                 */\n                () => generatorOrNext.error(err))); }) :\n                    (/**\n                     * @param {?} err\n                     * @return {?}\n                     */\n                    (err) => { generatorOrNext.error(err); });\n            }\n            if (generatorOrNext.complete) {\n                completeFn = this.__isAsync ? (/**\n                 * @return {?}\n                 */\n                () => { setTimeout((/**\n                 * @return {?}\n                 */\n                () => generatorOrNext.complete())); }) :\n                    (/**\n                     * @return {?}\n                     */\n                    () => { generatorOrNext.complete(); });\n            }\n        }\n        else {\n            schedulerFn = this.__isAsync ? (/**\n             * @param {?} value\n             * @return {?}\n             */\n            (value) => { setTimeout((/**\n             * @return {?}\n             */\n            () => generatorOrNext(value))); }) :\n                (/**\n                 * @param {?} value\n                 * @return {?}\n                 */\n                (value) => { generatorOrNext(value); });\n            if (error) {\n                errorFn =\n                    this.__isAsync ? (/**\n                     * @param {?} err\n                     * @return {?}\n                     */\n                    (err) => { setTimeout((/**\n                     * @return {?}\n                     */\n                    () => error(err))); }) : (/**\n                     * @param {?} err\n                     * @return {?}\n                     */\n                    (err) => { error(err); });\n            }\n            if (complete) {\n                completeFn =\n                    this.__isAsync ? (/**\n                     * @return {?}\n                     */\n                    () => { setTimeout((/**\n                     * @return {?}\n                     */\n                    () => complete())); }) : (/**\n                     * @return {?}\n                     */\n                    () => { complete(); });\n            }\n        }\n        /** @type {?} */\n        const sink = super.subscribe(schedulerFn, errorFn, completeFn);\n        if (generatorOrNext instanceof rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Subscription\"]) {\n            generatorOrNext.add(sink);\n        }\n        return sink;\n    }\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @template T\n * @this {?}\n * @return {?}\n */\nfunction symbolIterator() {\n    return ((/** @type {?} */ (((/** @type {?} */ ((/** @type {?} */ (this)))))._results)))[getSymbolIterator()]();\n}\n/**\n * An unmodifiable list of items that Angular keeps up to date when the state\n * of the application changes.\n *\n * The type of object that {\\@link ViewChildren}, {\\@link ContentChildren}, and {\\@link QueryList}\n * provide.\n *\n * Implements an iterable interface, therefore it can be used in both ES6\n * javascript `for (var i of items)` loops as well as in Angular templates with\n * `*ngFor=\"let i of myList\"`.\n *\n * Changes can be observed by subscribing to the changes `Observable`.\n *\n * NOTE: In the future this class will implement an `Observable` interface.\n *\n * \\@usageNotes\n * ### Example\n * ```typescript\n * \\@Component({...})\n * class Container {\n * \\@ViewChildren(Item) items:QueryList<Item>;\n * }\n * ```\n *\n * \\@publicApi\n * @template T\n */\nclass QueryList {\n    constructor() {\n        this.dirty = true;\n        this._results = [];\n        this.changes = new EventEmitter();\n        this.length = 0;\n        // This function should be declared on the prototype, but doing so there will cause the class\n        // declaration to have side-effects and become not tree-shakable. For this reason we do it in\n        // the constructor.\n        // [getSymbolIterator()](): Iterator<T> { ... }\n        /** @type {?} */\n        const symbol = getSymbolIterator();\n        /** @type {?} */\n        const proto = (/** @type {?} */ (QueryList.prototype));\n        if (!proto[symbol])\n            proto[symbol] = symbolIterator;\n    }\n    /**\n     * See\n     * [Array.map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map)\n     * @template U\n     * @param {?} fn\n     * @return {?}\n     */\n    map(fn) { return this._results.map(fn); }\n    /**\n     * See\n     * [Array.filter](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter)\n     * @param {?} fn\n     * @return {?}\n     */\n    filter(fn) {\n        return this._results.filter(fn);\n    }\n    /**\n     * See\n     * [Array.find](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find)\n     * @param {?} fn\n     * @return {?}\n     */\n    find(fn) {\n        return this._results.find(fn);\n    }\n    /**\n     * See\n     * [Array.reduce](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce)\n     * @template U\n     * @param {?} fn\n     * @param {?} init\n     * @return {?}\n     */\n    reduce(fn, init) {\n        return this._results.reduce(fn, init);\n    }\n    /**\n     * See\n     * [Array.forEach](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach)\n     * @param {?} fn\n     * @return {?}\n     */\n    forEach(fn) { this._results.forEach(fn); }\n    /**\n     * See\n     * [Array.some](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/some)\n     * @param {?} fn\n     * @return {?}\n     */\n    some(fn) {\n        return this._results.some(fn);\n    }\n    /**\n     * Returns a copy of the internal results list as an Array.\n     * @return {?}\n     */\n    toArray() { return this._results.slice(); }\n    /**\n     * @return {?}\n     */\n    toString() { return this._results.toString(); }\n    /**\n     * Updates the stored data of the query list, and resets the `dirty` flag to `false`, so that\n     * on change detection, it will not notify of changes to the queries, unless a new change\n     * occurs.\n     *\n     * @param {?} resultsTree The query results to store\n     * @return {?}\n     */\n    reset(resultsTree) {\n        this._results = flatten(resultsTree);\n        ((/** @type {?} */ (this))).dirty = false;\n        ((/** @type {?} */ (this))).length = this._results.length;\n        ((/** @type {?} */ (this))).last = this._results[this.length - 1];\n        ((/** @type {?} */ (this))).first = this._results[0];\n    }\n    /**\n     * Triggers a change event by emitting on the `changes` {\\@link EventEmitter}.\n     * @return {?}\n     */\n    notifyOnChanges() { ((/** @type {?} */ (this.changes))).emit(this); }\n    /**\n     * internal\n     * @return {?}\n     */\n    setDirty() { ((/** @type {?} */ (this))).dirty = true; }\n    /**\n     * internal\n     * @return {?}\n     */\n    destroy() {\n        ((/** @type {?} */ (this.changes))).complete();\n        ((/** @type {?} */ (this.changes))).unsubscribe();\n    }\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** @enum {number} */\nconst RenderFlags = {\n    /* Whether to run the creation block (e.g. create elements and directives) */\n    Create: 1,\n    /* Whether to run the update block (e.g. refresh bindings) */\n    Update: 2,\n};\n/**\n * A subclass of `Type` which has a static `ngComponentDef`:`ComponentDef` field making it\n * consumable for rendering.\n * @record\n * @template T\n */\nfunction ComponentType() { }\nif (false) {}\n/**\n * A subclass of `Type` which has a static `ngDirectiveDef`:`DirectiveDef` field making it\n * consumable for rendering.\n * @record\n * @template T\n */\nfunction DirectiveType() { }\nif (false) {}\n/** @enum {number} */\nconst DirectiveDefFlags = {\n    ContentQuery: 2,\n};\n/**\n * A subclass of `Type` which has a static `ngPipeDef`:`PipeDef` field making it\n * consumable for rendering.\n * @record\n * @template T\n */\nfunction PipeType() { }\nif (false) {}\n/**\n * Runtime information for classes that are inherited by components or directives\n * that aren't defined as components or directives.\n *\n * This is an internal data structure used by the renderer to determine what inputs\n * and outputs should be inherited.\n *\n * See: {\\@link defineBase}\n *\n * \\@codeGenApi\n * @record\n * @template T\n */\nfunction ɵɵBaseDef() { }\nif (false) {}\n/**\n * Runtime link information for Directives.\n *\n * This is internal data structure used by the render to link\n * directives into templates.\n *\n * NOTE: Always use `defineDirective` function to create this object,\n * never create the object directly since the shape of this object\n * can change between versions.\n *\n * @param Selector type metadata specifying the selector of the directive or component\n *\n * See: {\\@link defineDirective}\n * @record\n * @template T\n */\nfunction DirectiveDef() { }\nif (false) {}\n/**\n * Runtime link information for Components.\n *\n * This is internal data structure used by the render to link\n * components into templates.\n *\n * NOTE: Always use `defineComponent` function to create this object,\n * never create the object directly since the shape of this object\n * can change between versions.\n *\n * See: {\\@link defineComponent}\n * @record\n * @template T\n */\nfunction ComponentDef() { }\nif (false) {}\n/**\n * Runtime link information for Pipes.\n *\n * This is internal data structure used by the renderer to link\n * pipes into templates.\n *\n * NOTE: Always use `definePipe` function to create this object,\n * never create the object directly since the shape of this object\n * can change between versions.\n *\n * See: {\\@link definePipe}\n * @record\n * @template T\n */\nfunction PipeDef() { }\nif (false) {}\n/**\n * @record\n */\nfunction DirectiveDefFeature() { }\nif (false) {}\n/**\n * @record\n */\nfunction ComponentDefFeature() { }\nif (false) {}\n// Note: This hack is necessary so we don't erroneously get a circular dependency\n// failure based on types.\n/** @type {?} */\nconst unusedValueExportToPlacateAjd$7 = 1;\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * An object representing query metadata extracted from query annotations.\n * @record\n */\nfunction TQueryMetadata() { }\nif (false) {}\n/**\n * TQuery objects represent all the query-related data that remain the same from one view instance\n * to another and can be determined on the very first template pass. Most notably TQuery holds all\n * the matches for a given view.\n * @record\n */\nfunction TQuery() { }\nif (false) {}\n/**\n * TQueries represent a collection of individual TQuery objects tracked in a given view. Most of the\n * methods on this interface are simple proxy methods to the corresponding functionality on TQuery.\n * @record\n */\nfunction TQueries() { }\nif (false) {}\n/**\n * An interface that represents query-related information specific to a view instance. Most notably\n * it contains:\n * - materialized query matches;\n * - a pointer to a QueryList where materialized query results should be reported.\n * @record\n * @template T\n */\nfunction LQuery() { }\nif (false) {}\n/**\n * lQueries represent a collection of individual LQuery objects tracked in a given view.\n * @record\n */\nfunction LQueries() { }\nif (false) {}\n// Note: This hack is necessary so we don't erroneously get a circular dependency\n// failure based on types.\n/** @type {?} */\nconst unusedValueExportToPlacateAjd$8 = 1;\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst unusedValueToPlacateAjd$2 = unusedValueExportToPlacateAjd$7 + unusedValueExportToPlacateAjd$2 + unusedValueExportToPlacateAjd$4 + unusedValueExportToPlacateAjd$8;\n/**\n * @template T\n */\nclass LQuery_ {\n    /**\n     * @param {?} queryList\n     */\n    constructor(queryList) {\n        this.queryList = queryList;\n        this.matches = null;\n    }\n    /**\n     * @return {?}\n     */\n    clone() { return new LQuery_(this.queryList); }\n    /**\n     * @return {?}\n     */\n    setDirty() { this.queryList.setDirty(); }\n}\nif (false) {}\nclass LQueries_ {\n    /**\n     * @param {?=} queries\n     */\n    constructor(queries = []) {\n        this.queries = queries;\n    }\n    /**\n     * @param {?} tView\n     * @return {?}\n     */\n    createEmbeddedView(tView) {\n        /** @type {?} */\n        const tQueries = tView.queries;\n        if (tQueries !== null) {\n            /** @type {?} */\n            const noOfInheritedQueries = tView.contentQueries !== null ? tView.contentQueries[0] : tQueries.length;\n            /** @type {?} */\n            const viewLQueries = new Array(noOfInheritedQueries);\n            // An embedded view has queries propagated from a declaration view at the beginning of the\n            // TQueries collection and up until a first content query declared in the embedded view. Only\n            // propagated LQueries are created at this point (LQuery corresponding to declared content\n            // queries will be instantiated from the content query instructions for each directive).\n            for (let i = 0; i < noOfInheritedQueries; i++) {\n                /** @type {?} */\n                const tQuery = tQueries.getByIndex(i);\n                /** @type {?} */\n                const parentLQuery = this.queries[tQuery.indexInDeclarationView];\n                viewLQueries[i] = parentLQuery.clone();\n            }\n            return new LQueries_(viewLQueries);\n        }\n        return null;\n    }\n    /**\n     * @param {?} tView\n     * @return {?}\n     */\n    insertView(tView) { this.dirtyQueriesWithMatches(tView); }\n    /**\n     * @param {?} tView\n     * @return {?}\n     */\n    detachView(tView) { this.dirtyQueriesWithMatches(tView); }\n    /**\n     * @private\n     * @param {?} tView\n     * @return {?}\n     */\n    dirtyQueriesWithMatches(tView) {\n        for (let i = 0; i < this.queries.length; i++) {\n            if (getTQuery(tView, i).matches !== null) {\n                this.queries[i].setDirty();\n            }\n        }\n    }\n}\nif (false) {}\nclass TQueryMetadata_ {\n    /**\n     * @param {?} predicate\n     * @param {?} descendants\n     * @param {?} isStatic\n     * @param {?=} read\n     */\n    constructor(predicate, descendants, isStatic, read = null) {\n        this.predicate = predicate;\n        this.descendants = descendants;\n        this.isStatic = isStatic;\n        this.read = read;\n    }\n}\nif (false) {}\nclass TQueries_ {\n    /**\n     * @param {?=} queries\n     */\n    constructor(queries = []) {\n        this.queries = queries;\n    }\n    /**\n     * @param {?} tView\n     * @param {?} tNode\n     * @return {?}\n     */\n    elementStart(tView, tNode) {\n        ngDevMode && assertFirstTemplatePass(tView, 'Queries should collect results on the first template pass only');\n        for (let query of this.queries) {\n            query.elementStart(tView, tNode);\n        }\n    }\n    /**\n     * @param {?} tNode\n     * @return {?}\n     */\n    elementEnd(tNode) {\n        for (let query of this.queries) {\n            query.elementEnd(tNode);\n        }\n    }\n    /**\n     * @param {?} tNode\n     * @return {?}\n     */\n    embeddedTView(tNode) {\n        /** @type {?} */\n        let queriesForTemplateRef = null;\n        for (let i = 0; i < this.length; i++) {\n            /** @type {?} */\n            const childQueryIndex = queriesForTemplateRef !== null ? queriesForTemplateRef.length : 0;\n            /** @type {?} */\n            const tqueryClone = this.getByIndex(i).embeddedTView(tNode, childQueryIndex);\n            if (tqueryClone) {\n                tqueryClone.indexInDeclarationView = i;\n                if (queriesForTemplateRef !== null) {\n                    queriesForTemplateRef.push(tqueryClone);\n                }\n                else {\n                    queriesForTemplateRef = [tqueryClone];\n                }\n            }\n        }\n        return queriesForTemplateRef !== null ? new TQueries_(queriesForTemplateRef) : null;\n    }\n    /**\n     * @param {?} tView\n     * @param {?} tNode\n     * @return {?}\n     */\n    template(tView, tNode) {\n        ngDevMode && assertFirstTemplatePass(tView, 'Queries should collect results on the first template pass only');\n        for (let query of this.queries) {\n            query.template(tView, tNode);\n        }\n    }\n    /**\n     * @param {?} index\n     * @return {?}\n     */\n    getByIndex(index) {\n        ngDevMode && assertDataInRange(this.queries, index);\n        return this.queries[index];\n    }\n    /**\n     * @return {?}\n     */\n    get length() { return this.queries.length; }\n    /**\n     * @param {?} tquery\n     * @return {?}\n     */\n    track(tquery) { this.queries.push(tquery); }\n}\nif (false) {}\nclass TQuery_ {\n    /**\n     * @param {?} metadata\n     * @param {?=} nodeIndex\n     */\n    constructor(metadata, nodeIndex = -1) {\n        this.metadata = metadata;\n        this.matches = null;\n        this.indexInDeclarationView = -1;\n        this.crossesNgTemplate = false;\n        /**\n         * A flag indicating if a given query still applies to nodes it is crossing. We use this flag\n         * (alongside with _declarationNodeIndex) to know when to stop applying content queries to\n         * elements in a template.\n         */\n        this._appliesToNextNode = true;\n        this._declarationNodeIndex = nodeIndex;\n    }\n    /**\n     * @param {?} tView\n     * @param {?} tNode\n     * @return {?}\n     */\n    elementStart(tView, tNode) {\n        if (this.isApplyingToNode(tNode)) {\n            this.matchTNode(tView, tNode);\n        }\n    }\n    /**\n     * @param {?} tNode\n     * @return {?}\n     */\n    elementEnd(tNode) {\n        if (this._declarationNodeIndex === tNode.index) {\n            this._appliesToNextNode = false;\n        }\n    }\n    /**\n     * @param {?} tView\n     * @param {?} tNode\n     * @return {?}\n     */\n    template(tView, tNode) { this.elementStart(tView, tNode); }\n    /**\n     * @param {?} tNode\n     * @param {?} childQueryIndex\n     * @return {?}\n     */\n    embeddedTView(tNode, childQueryIndex) {\n        if (this.isApplyingToNode(tNode)) {\n            this.crossesNgTemplate = true;\n            // A marker indicating a `<ng-template>` element (a placeholder for query results from\n            // embedded views created based on this `<ng-template>`).\n            this.addMatch(-tNode.index, childQueryIndex);\n            return new TQuery_(this.metadata);\n        }\n        return null;\n    }\n    /**\n     * @private\n     * @param {?} tNode\n     * @return {?}\n     */\n    isApplyingToNode(tNode) {\n        if (this._appliesToNextNode && this.metadata.descendants === false) {\n            return this._declarationNodeIndex === (tNode.parent ? tNode.parent.index : -1);\n        }\n        return this._appliesToNextNode;\n    }\n    /**\n     * @private\n     * @param {?} tView\n     * @param {?} tNode\n     * @return {?}\n     */\n    matchTNode(tView, tNode) {\n        if (Array.isArray(this.metadata.predicate)) {\n            /** @type {?} */\n            const localNames = (/** @type {?} */ (this.metadata.predicate));\n            for (let i = 0; i < localNames.length; i++) {\n                this.matchTNodeWithReadOption(tView, tNode, getIdxOfMatchingSelector(tNode, localNames[i]));\n            }\n        }\n        else {\n            /** @type {?} */\n            const typePredicate = (/** @type {?} */ (this.metadata.predicate));\n            if (typePredicate === TemplateRef) {\n                if (tNode.type === 0 /* Container */) {\n                    this.matchTNodeWithReadOption(tView, tNode, -1);\n                }\n            }\n            else {\n                this.matchTNodeWithReadOption(tView, tNode, locateDirectiveOrProvider(tNode, tView, typePredicate, false, false));\n            }\n        }\n    }\n    /**\n     * @private\n     * @param {?} tView\n     * @param {?} tNode\n     * @param {?} nodeMatchIdx\n     * @return {?}\n     */\n    matchTNodeWithReadOption(tView, tNode, nodeMatchIdx) {\n        if (nodeMatchIdx !== null) {\n            /** @type {?} */\n            const read = this.metadata.read;\n            if (read !== null) {\n                if (read === ElementRef || read === ViewContainerRef ||\n                    read === TemplateRef && tNode.type === 0 /* Container */) {\n                    this.addMatch(tNode.index, -2);\n                }\n                else {\n                    /** @type {?} */\n                    const directiveOrProviderIdx = locateDirectiveOrProvider(tNode, tView, read, false, false);\n                    if (directiveOrProviderIdx !== null) {\n                        this.addMatch(tNode.index, directiveOrProviderIdx);\n                    }\n                }\n            }\n            else {\n                this.addMatch(tNode.index, nodeMatchIdx);\n            }\n        }\n    }\n    /**\n     * @private\n     * @param {?} tNodeIdx\n     * @param {?} matchIdx\n     * @return {?}\n     */\n    addMatch(tNodeIdx, matchIdx) {\n        if (this.matches === null) {\n            this.matches = [tNodeIdx, matchIdx];\n        }\n        else {\n            this.matches.push(tNodeIdx, matchIdx);\n        }\n    }\n}\nif (false) {}\n/**\n * Iterates over local names for a given node and returns directive index\n * (or -1 if a local name points to an element).\n *\n * @param {?} tNode static data of a node to check\n * @param {?} selector selector to match\n * @return {?} directive index, -1 or null if a selector didn't match any of the local names\n */\nfunction getIdxOfMatchingSelector(tNode, selector) {\n    /** @type {?} */\n    const localNames = tNode.localNames;\n    if (localNames !== null) {\n        for (let i = 0; i < localNames.length; i += 2) {\n            if (localNames[i] === selector) {\n                return (/** @type {?} */ (localNames[i + 1]));\n            }\n        }\n    }\n    return null;\n}\n/**\n * @param {?} tNode\n * @param {?} currentView\n * @return {?}\n */\nfunction createResultByTNodeType(tNode, currentView) {\n    if (tNode.type === 3 /* Element */ || tNode.type === 4 /* ElementContainer */) {\n        return createElementRef(ElementRef, tNode, currentView);\n    }\n    else if (tNode.type === 0 /* Container */) {\n        return createTemplateRef(TemplateRef, ElementRef, tNode, currentView);\n    }\n    return null;\n}\n/**\n * @param {?} lView\n * @param {?} tNode\n * @param {?} matchingIdx\n * @param {?} read\n * @return {?}\n */\nfunction createResultForNode(lView, tNode, matchingIdx, read) {\n    if (matchingIdx === -1) {\n        // if read token and / or strategy is not specified, detect it using appropriate tNode type\n        return createResultByTNodeType(tNode, lView);\n    }\n    else if (matchingIdx === -2) {\n        // read a special token from a node injector\n        return createSpecialToken(lView, tNode, read);\n    }\n    else {\n        // read a token\n        return getNodeInjectable(lView[TVIEW].data, lView, matchingIdx, (/** @type {?} */ (tNode)));\n    }\n}\n/**\n * @param {?} lView\n * @param {?} tNode\n * @param {?} read\n * @return {?}\n */\nfunction createSpecialToken(lView, tNode, read) {\n    if (read === ElementRef) {\n        return createElementRef(ElementRef, tNode, lView);\n    }\n    else if (read === TemplateRef) {\n        return createTemplateRef(TemplateRef, ElementRef, tNode, lView);\n    }\n    else if (read === ViewContainerRef) {\n        ngDevMode && assertNodeOfPossibleTypes(tNode, 3 /* Element */, 0 /* Container */, 4 /* ElementContainer */);\n        return createContainerRef(ViewContainerRef, ElementRef, (/** @type {?} */ (tNode)), lView);\n    }\n    else {\n        ngDevMode &&\n            throwError(`Special token to read should be one of ElementRef, TemplateRef or ViewContainerRef but got ${stringify(read)}.`);\n    }\n}\n/**\n * A helper function that creates query results for a given view. This function is meant to do the\n * processing once and only once for a given view instance (a set of results for a given view\n * doesn't change).\n * @template T\n * @param {?} lView\n * @param {?} tQuery\n * @param {?} queryIndex\n * @return {?}\n */\nfunction materializeViewResults(lView, tQuery, queryIndex) {\n    /** @type {?} */\n    const lQuery = (/** @type {?} */ ((/** @type {?} */ (lView[QUERIES])).queries))[queryIndex];\n    if (lQuery.matches === null) {\n        /** @type {?} */\n        const tViewData = lView[TVIEW].data;\n        /** @type {?} */\n        const tQueryMatches = (/** @type {?} */ (tQuery.matches));\n        /** @type {?} */\n        const result = new Array(tQueryMatches.length / 2);\n        for (let i = 0; i < tQueryMatches.length; i += 2) {\n            /** @type {?} */\n            const matchedNodeIdx = tQueryMatches[i];\n            if (matchedNodeIdx < 0) {\n                // we at the <ng-template> marker which might have results in views created based on this\n                // <ng-template> - those results will be in separate views though, so here we just leave\n                // null as a placeholder\n                result[i / 2] = null;\n            }\n            else {\n                ngDevMode && assertDataInRange(tViewData, matchedNodeIdx);\n                /** @type {?} */\n                const tNode = (/** @type {?} */ (tViewData[matchedNodeIdx]));\n                result[i / 2] =\n                    createResultForNode(lView, tNode, tQueryMatches[i + 1], tQuery.metadata.read);\n            }\n        }\n        lQuery.matches = result;\n    }\n    return lQuery.matches;\n}\n/**\n * A helper function that collects (already materialized) query results from a tree of views,\n * starting with a provided LView.\n * @template T\n * @param {?} lView\n * @param {?} queryIndex\n * @param {?} result\n * @return {?}\n */\nfunction collectQueryResults(lView, queryIndex, result) {\n    /** @type {?} */\n    const tQuery = (/** @type {?} */ (lView[TVIEW].queries)).getByIndex(queryIndex);\n    /** @type {?} */\n    const tQueryMatches = tQuery.matches;\n    if (tQueryMatches !== null) {\n        /** @type {?} */\n        const lViewResults = materializeViewResults(lView, tQuery, queryIndex);\n        for (let i = 0; i < tQueryMatches.length; i += 2) {\n            /** @type {?} */\n            const tNodeIdx = tQueryMatches[i];\n            if (tNodeIdx > 0) {\n                /** @type {?} */\n                const viewResult = lViewResults[i / 2];\n                ngDevMode && assertDefined(viewResult, 'materialized query result should be defined');\n                result.push((/** @type {?} */ (viewResult)));\n            }\n            else {\n                /** @type {?} */\n                const childQueryIndex = tQueryMatches[i + 1];\n                /** @type {?} */\n                const declarationLContainer = (/** @type {?} */ (lView[-tNodeIdx]));\n                ngDevMode && assertLContainer(declarationLContainer);\n                // collect matches for views inserted in this container\n                for (let i = CONTAINER_HEADER_OFFSET; i < declarationLContainer.length; i++) {\n                    /** @type {?} */\n                    const embeddedLView = declarationLContainer[i];\n                    if (embeddedLView[DECLARATION_LCONTAINER] === embeddedLView[PARENT]) {\n                        collectQueryResults(embeddedLView, childQueryIndex, result);\n                    }\n                }\n                // collect matches for views created from this declaration container and inserted into\n                // different containers\n                if (declarationLContainer[MOVED_VIEWS] !== null) {\n                    for (let embeddedLView of (/** @type {?} */ (declarationLContainer[MOVED_VIEWS]))) {\n                        collectQueryResults(embeddedLView, childQueryIndex, result);\n                    }\n                }\n            }\n        }\n    }\n    return result;\n}\n/**\n * Refreshes a query by combining matches from all active views and removing matches from deleted\n * views.\n *\n * \\@codeGenApi\n * @param {?} queryList\n * @return {?} `true` if a query got dirty during change detection or if this is a static query\n * resolving in creation mode, `false` otherwise.\n *\n */\nfunction ɵɵqueryRefresh(queryList) {\n    /** @type {?} */\n    const lView = getLView();\n    /** @type {?} */\n    const queryIndex = getCurrentQueryIndex();\n    setCurrentQueryIndex(queryIndex + 1);\n    /** @type {?} */\n    const tQuery = getTQuery(lView[TVIEW], queryIndex);\n    if (queryList.dirty && (isCreationMode() === tQuery.metadata.isStatic)) {\n        if (tQuery.matches === null) {\n            queryList.reset([]);\n        }\n        else {\n            /** @type {?} */\n            const result = tQuery.crossesNgTemplate ? collectQueryResults(lView, queryIndex, []) :\n                materializeViewResults(lView, tQuery, queryIndex);\n            queryList.reset(result);\n            queryList.notifyOnChanges();\n        }\n        return true;\n    }\n    return false;\n}\n/**\n * Creates new QueryList for a static view query.\n *\n * \\@codeGenApi\n * @template T\n * @param {?} predicate The type for which the query will search\n * @param {?} descend Whether or not to descend into children\n * @param {?=} read What to save in the query\n *\n * @return {?}\n */\nfunction ɵɵstaticViewQuery(predicate, descend, read) {\n    viewQueryInternal(getLView(), predicate, descend, read, true);\n}\n/**\n * Creates new QueryList, stores the reference in LView and returns QueryList.\n *\n * \\@codeGenApi\n * @template T\n * @param {?} predicate The type for which the query will search\n * @param {?} descend Whether or not to descend into children\n * @param {?=} read What to save in the query\n *\n * @return {?}\n */\nfunction ɵɵviewQuery(predicate, descend, read) {\n    viewQueryInternal(getLView(), predicate, descend, read, false);\n}\n/**\n * @template T\n * @param {?} lView\n * @param {?} predicate\n * @param {?} descend\n * @param {?} read\n * @param {?} isStatic\n * @return {?}\n */\nfunction viewQueryInternal(lView, predicate, descend, read, isStatic) {\n    /** @type {?} */\n    const tView = lView[TVIEW];\n    if (tView.firstTemplatePass) {\n        createTQuery(tView, new TQueryMetadata_(predicate, descend, isStatic, read), -1);\n        if (isStatic) {\n            tView.staticViewQueries = true;\n        }\n    }\n    createLQuery(lView);\n}\n/**\n * Loads a QueryList corresponding to the current view query.\n *\n * \\@codeGenApi\n * @template T\n * @return {?}\n */\nfunction ɵɵloadViewQuery() {\n    return loadQueryInternal(getLView(), getCurrentQueryIndex());\n}\n/**\n * Registers a QueryList, associated with a content query, for later refresh (part of a view\n * refresh).\n *\n * \\@codeGenApi\n * @template T\n * @param {?} directiveIndex Current directive index\n * @param {?} predicate The type for which the query will search\n * @param {?} descend Whether or not to descend into children\n * @param {?=} read What to save in the query\n * @return {?} QueryList<T>\n *\n */\nfunction ɵɵcontentQuery(directiveIndex, predicate, descend, read) {\n    contentQueryInternal(getLView(), predicate, descend, read, false, getPreviousOrParentTNode(), directiveIndex);\n}\n/**\n * Registers a QueryList, associated with a static content query, for later refresh\n * (part of a view refresh).\n *\n * \\@codeGenApi\n * @template T\n * @param {?} directiveIndex Current directive index\n * @param {?} predicate The type for which the query will search\n * @param {?} descend Whether or not to descend into children\n * @param {?=} read What to save in the query\n * @return {?} QueryList<T>\n *\n */\nfunction ɵɵstaticContentQuery(directiveIndex, predicate, descend, read) {\n    contentQueryInternal(getLView(), predicate, descend, read, true, getPreviousOrParentTNode(), directiveIndex);\n}\n/**\n * @template T\n * @param {?} lView\n * @param {?} predicate\n * @param {?} descend\n * @param {?} read\n * @param {?} isStatic\n * @param {?} tNode\n * @param {?} directiveIndex\n * @return {?}\n */\nfunction contentQueryInternal(lView, predicate, descend, read, isStatic, tNode, directiveIndex) {\n    /** @type {?} */\n    const tView = lView[TVIEW];\n    if (tView.firstTemplatePass) {\n        createTQuery(tView, new TQueryMetadata_(predicate, descend, isStatic, read), tNode.index);\n        saveContentQueryAndDirectiveIndex(tView, directiveIndex);\n        if (isStatic) {\n            tView.staticContentQueries = true;\n        }\n    }\n    createLQuery(lView);\n}\n/**\n * Loads a QueryList corresponding to the current content query.\n *\n * \\@codeGenApi\n * @template T\n * @return {?}\n */\nfunction ɵɵloadContentQuery() {\n    return loadQueryInternal(getLView(), getCurrentQueryIndex());\n}\n/**\n * @template T\n * @param {?} lView\n * @param {?} queryIndex\n * @return {?}\n */\nfunction loadQueryInternal(lView, queryIndex) {\n    ngDevMode &&\n        assertDefined(lView[QUERIES], 'LQueries should be defined when trying to load a query');\n    ngDevMode && assertDataInRange((/** @type {?} */ (lView[QUERIES])).queries, queryIndex);\n    return (/** @type {?} */ (lView[QUERIES])).queries[queryIndex].queryList;\n}\n/**\n * @template T\n * @param {?} lView\n * @return {?}\n */\nfunction createLQuery(lView) {\n    /** @type {?} */\n    const queryList = new QueryList();\n    storeCleanupWithContext(lView, queryList, queryList.destroy);\n    if (lView[QUERIES] === null)\n        lView[QUERIES] = new LQueries_();\n    (/** @type {?} */ (lView[QUERIES])).queries.push(new LQuery_(queryList));\n}\n/**\n * @param {?} tView\n * @param {?} metadata\n * @param {?} nodeIndex\n * @return {?}\n */\nfunction createTQuery(tView, metadata, nodeIndex) {\n    if (tView.queries === null)\n        tView.queries = new TQueries_();\n    tView.queries.track(new TQuery_(metadata, nodeIndex));\n}\n/**\n * @param {?} tView\n * @param {?} directiveIndex\n * @return {?}\n */\nfunction saveContentQueryAndDirectiveIndex(tView, directiveIndex) {\n    /** @type {?} */\n    const tViewContentQueries = tView.contentQueries || (tView.contentQueries = []);\n    /** @type {?} */\n    const lastSavedDirectiveIndex = tView.contentQueries.length ? tViewContentQueries[tViewContentQueries.length - 1] : -1;\n    if (directiveIndex !== lastSavedDirectiveIndex) {\n        tViewContentQueries.push((/** @type {?} */ (tView.queries)).length - 1, directiveIndex);\n    }\n}\n/**\n * @param {?} tView\n * @param {?} index\n * @return {?}\n */\nfunction getTQuery(tView, index) {\n    ngDevMode && assertDefined(tView.queries, 'TQueries must be defined to retrieve a TQuery');\n    return (/** @type {?} */ (tView.queries)).getByIndex(index);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Retrieves `TemplateRef` instance from `Injector` when a local reference is placed on the\n * `<ng-template>` element.\n *\n * \\@codeGenApi\n * @param {?} tNode\n * @param {?} currentView\n * @return {?}\n */\nfunction ɵɵtemplateRefExtractor(tNode, currentView) {\n    return createTemplateRef(TemplateRef, ElementRef, tNode, currentView);\n}\n/**\n * Returns the appropriate `ChangeDetectorRef` for a pipe.\n *\n * \\@codeGenApi\n * @param {?=} flags\n * @return {?}\n */\nfunction ɵɵinjectPipeChangeDetectorRef(flags = InjectFlags.Default) {\n    /** @type {?} */\n    const value = injectChangeDetectorRef(true);\n    if (value == null && !(flags & InjectFlags.Optional)) {\n        throw new Error(`No provider for ChangeDetectorRef!`);\n    }\n    else {\n        return value;\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nconst ɵ0$e = /**\n * @return {?}\n */\n() => ({\n    'ɵɵattribute': ɵɵattribute,\n    'ɵɵattributeInterpolate1': ɵɵattributeInterpolate1,\n    'ɵɵattributeInterpolate2': ɵɵattributeInterpolate2,\n    'ɵɵattributeInterpolate3': ɵɵattributeInterpolate3,\n    'ɵɵattributeInterpolate4': ɵɵattributeInterpolate4,\n    'ɵɵattributeInterpolate5': ɵɵattributeInterpolate5,\n    'ɵɵattributeInterpolate6': ɵɵattributeInterpolate6,\n    'ɵɵattributeInterpolate7': ɵɵattributeInterpolate7,\n    'ɵɵattributeInterpolate8': ɵɵattributeInterpolate8,\n    'ɵɵattributeInterpolateV': ɵɵattributeInterpolateV,\n    'ɵɵdefineBase': ɵɵdefineBase,\n    'ɵɵdefineComponent': ɵɵdefineComponent,\n    'ɵɵdefineDirective': ɵɵdefineDirective,\n    'ɵɵdefineInjectable': ɵɵdefineInjectable,\n    'ɵɵdefineInjector': ɵɵdefineInjector,\n    'ɵɵdefineNgModule': ɵɵdefineNgModule,\n    'ɵɵdefinePipe': ɵɵdefinePipe,\n    'ɵɵdirectiveInject': ɵɵdirectiveInject,\n    'ɵɵgetFactoryOf': ɵɵgetFactoryOf,\n    'ɵɵgetInheritedFactory': ɵɵgetInheritedFactory,\n    'ɵɵinject': ɵɵinject,\n    'ɵɵinjectAttribute': ɵɵinjectAttribute,\n    'ɵɵinjectPipeChangeDetectorRef': ɵɵinjectPipeChangeDetectorRef,\n    'ɵɵtemplateRefExtractor': ɵɵtemplateRefExtractor,\n    'ɵɵNgOnChangesFeature': ɵɵNgOnChangesFeature,\n    'ɵɵProvidersFeature': ɵɵProvidersFeature,\n    'ɵɵInheritDefinitionFeature': ɵɵInheritDefinitionFeature,\n    'ɵɵcontainer': ɵɵcontainer,\n    'ɵɵnextContext': ɵɵnextContext,\n    'ɵɵcontainerRefreshStart': ɵɵcontainerRefreshStart,\n    'ɵɵcontainerRefreshEnd': ɵɵcontainerRefreshEnd,\n    'ɵɵnamespaceHTML': ɵɵnamespaceHTML,\n    'ɵɵnamespaceMathML': ɵɵnamespaceMathML,\n    'ɵɵnamespaceSVG': ɵɵnamespaceSVG,\n    'ɵɵenableBindings': ɵɵenableBindings,\n    'ɵɵdisableBindings': ɵɵdisableBindings,\n    'ɵɵallocHostVars': ɵɵallocHostVars,\n    'ɵɵelementStart': ɵɵelementStart,\n    'ɵɵelementEnd': ɵɵelementEnd,\n    'ɵɵelement': ɵɵelement,\n    'ɵɵelementContainerStart': ɵɵelementContainerStart,\n    'ɵɵelementContainerEnd': ɵɵelementContainerEnd,\n    'ɵɵelementContainer': ɵɵelementContainer,\n    'ɵɵpureFunction0': ɵɵpureFunction0,\n    'ɵɵpureFunction1': ɵɵpureFunction1,\n    'ɵɵpureFunction2': ɵɵpureFunction2,\n    'ɵɵpureFunction3': ɵɵpureFunction3,\n    'ɵɵpureFunction4': ɵɵpureFunction4,\n    'ɵɵpureFunction5': ɵɵpureFunction5,\n    'ɵɵpureFunction6': ɵɵpureFunction6,\n    'ɵɵpureFunction7': ɵɵpureFunction7,\n    'ɵɵpureFunction8': ɵɵpureFunction8,\n    'ɵɵpureFunctionV': ɵɵpureFunctionV,\n    'ɵɵgetCurrentView': ɵɵgetCurrentView,\n    'ɵɵrestoreView': ɵɵrestoreView,\n    'ɵɵlistener': ɵɵlistener,\n    'ɵɵload': ɵɵload,\n    'ɵɵprojection': ɵɵprojection,\n    'ɵɵupdateSyntheticHostBinding': ɵɵupdateSyntheticHostBinding,\n    'ɵɵcomponentHostSyntheticListener': ɵɵcomponentHostSyntheticListener,\n    'ɵɵpipeBind1': ɵɵpipeBind1,\n    'ɵɵpipeBind2': ɵɵpipeBind2,\n    'ɵɵpipeBind3': ɵɵpipeBind3,\n    'ɵɵpipeBind4': ɵɵpipeBind4,\n    'ɵɵpipeBindV': ɵɵpipeBindV,\n    'ɵɵprojectionDef': ɵɵprojectionDef,\n    'ɵɵhostProperty': ɵɵhostProperty,\n    'ɵɵproperty': ɵɵproperty,\n    'ɵɵpropertyInterpolate': ɵɵpropertyInterpolate,\n    'ɵɵpropertyInterpolate1': ɵɵpropertyInterpolate1,\n    'ɵɵpropertyInterpolate2': ɵɵpropertyInterpolate2,\n    'ɵɵpropertyInterpolate3': ɵɵpropertyInterpolate3,\n    'ɵɵpropertyInterpolate4': ɵɵpropertyInterpolate4,\n    'ɵɵpropertyInterpolate5': ɵɵpropertyInterpolate5,\n    'ɵɵpropertyInterpolate6': ɵɵpropertyInterpolate6,\n    'ɵɵpropertyInterpolate7': ɵɵpropertyInterpolate7,\n    'ɵɵpropertyInterpolate8': ɵɵpropertyInterpolate8,\n    'ɵɵpropertyInterpolateV': ɵɵpropertyInterpolateV,\n    'ɵɵpipe': ɵɵpipe,\n    'ɵɵqueryRefresh': ɵɵqueryRefresh,\n    'ɵɵviewQuery': ɵɵviewQuery,\n    'ɵɵstaticViewQuery': ɵɵstaticViewQuery,\n    'ɵɵstaticContentQuery': ɵɵstaticContentQuery,\n    'ɵɵloadViewQuery': ɵɵloadViewQuery,\n    'ɵɵcontentQuery': ɵɵcontentQuery,\n    'ɵɵloadContentQuery': ɵɵloadContentQuery,\n    'ɵɵreference': ɵɵreference,\n    'ɵɵelementHostAttrs': ɵɵelementHostAttrs,\n    'ɵɵclassMap': ɵɵclassMap,\n    'ɵɵclassMapInterpolate1': ɵɵclassMapInterpolate1,\n    'ɵɵclassMapInterpolate2': ɵɵclassMapInterpolate2,\n    'ɵɵclassMapInterpolate3': ɵɵclassMapInterpolate3,\n    'ɵɵclassMapInterpolate4': ɵɵclassMapInterpolate4,\n    'ɵɵclassMapInterpolate5': ɵɵclassMapInterpolate5,\n    'ɵɵclassMapInterpolate6': ɵɵclassMapInterpolate6,\n    'ɵɵclassMapInterpolate7': ɵɵclassMapInterpolate7,\n    'ɵɵclassMapInterpolate8': ɵɵclassMapInterpolate8,\n    'ɵɵclassMapInterpolateV': ɵɵclassMapInterpolateV,\n    'ɵɵstyling': ɵɵstyling,\n    'ɵɵstyleMap': ɵɵstyleMap,\n    'ɵɵstyleProp': ɵɵstyleProp,\n    'ɵɵstylePropInterpolate1': ɵɵstylePropInterpolate1,\n    'ɵɵstylePropInterpolate2': ɵɵstylePropInterpolate2,\n    'ɵɵstylePropInterpolate3': ɵɵstylePropInterpolate3,\n    'ɵɵstylePropInterpolate4': ɵɵstylePropInterpolate4,\n    'ɵɵstylePropInterpolate5': ɵɵstylePropInterpolate5,\n    'ɵɵstylePropInterpolate6': ɵɵstylePropInterpolate6,\n    'ɵɵstylePropInterpolate7': ɵɵstylePropInterpolate7,\n    'ɵɵstylePropInterpolate8': ɵɵstylePropInterpolate8,\n    'ɵɵstylePropInterpolateV': ɵɵstylePropInterpolateV,\n    'ɵɵstyleSanitizer': ɵɵstyleSanitizer,\n    'ɵɵstylingApply': ɵɵstylingApply,\n    'ɵɵclassProp': ɵɵclassProp,\n    'ɵɵselect': ɵɵselect,\n    'ɵɵtemplate': ɵɵtemplate,\n    'ɵɵtext': ɵɵtext,\n    'ɵɵtextBinding': ɵɵtextBinding,\n    'ɵɵtextInterpolate': ɵɵtextInterpolate,\n    'ɵɵtextInterpolate1': ɵɵtextInterpolate1,\n    'ɵɵtextInterpolate2': ɵɵtextInterpolate2,\n    'ɵɵtextInterpolate3': ɵɵtextInterpolate3,\n    'ɵɵtextInterpolate4': ɵɵtextInterpolate4,\n    'ɵɵtextInterpolate5': ɵɵtextInterpolate5,\n    'ɵɵtextInterpolate6': ɵɵtextInterpolate6,\n    'ɵɵtextInterpolate7': ɵɵtextInterpolate7,\n    'ɵɵtextInterpolate8': ɵɵtextInterpolate8,\n    'ɵɵtextInterpolateV': ɵɵtextInterpolateV,\n    'ɵɵembeddedViewStart': ɵɵembeddedViewStart,\n    'ɵɵembeddedViewEnd': ɵɵembeddedViewEnd,\n    'ɵɵi18n': ɵɵi18n,\n    'ɵɵi18nAttributes': ɵɵi18nAttributes,\n    'ɵɵi18nExp': ɵɵi18nExp,\n    'ɵɵi18nStart': ɵɵi18nStart,\n    'ɵɵi18nEnd': ɵɵi18nEnd,\n    'ɵɵi18nApply': ɵɵi18nApply,\n    'ɵɵi18nPostprocess': ɵɵi18nPostprocess,\n    'ɵɵi18nLocalize': ɵɵi18nLocalize,\n    'ɵɵresolveWindow': ɵɵresolveWindow,\n    'ɵɵresolveDocument': ɵɵresolveDocument,\n    'ɵɵresolveBody': ɵɵresolveBody,\n    'ɵɵsetComponentScope': ɵɵsetComponentScope,\n    'ɵɵsetNgModuleScope': ɵɵsetNgModuleScope,\n    'ɵɵsanitizeHtml': ɵɵsanitizeHtml,\n    'ɵɵsanitizeStyle': ɵɵsanitizeStyle,\n    'ɵɵdefaultStyleSanitizer': ɵɵdefaultStyleSanitizer,\n    'ɵɵsanitizeResourceUrl': ɵɵsanitizeResourceUrl,\n    'ɵɵsanitizeScript': ɵɵsanitizeScript,\n    'ɵɵsanitizeUrl': ɵɵsanitizeUrl,\n    'ɵɵsanitizeUrlOrResourceUrl': ɵɵsanitizeUrlOrResourceUrl,\n});\n/**\n * A mapping of the \\@angular/core API surface used in generated expressions to the actual symbols.\n *\n * This should be kept up to date with the public exports of \\@angular/core.\n * @type {?}\n */\nconst angularCoreEnv = ((ɵ0$e))();\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst EMPTY_ARRAY$4 = [];\n/**\n * @record\n */\nfunction ModuleQueueItem() { }\nif (false) {}\n/** @type {?} */\nconst moduleQueue = [];\n/**\n * Enqueues moduleDef to be checked later to see if scope can be set on its\n * component declarations.\n * @param {?} moduleType\n * @param {?} ngModule\n * @return {?}\n */\nfunction enqueueModuleForDelayedScoping(moduleType, ngModule) {\n    moduleQueue.push({ moduleType, ngModule });\n}\n/** @type {?} */\nlet flushingModuleQueue = false;\n/**\n * Loops over queued module definitions, if a given module definition has all of its\n * declarations resolved, it dequeues that module definition and sets the scope on\n * its declarations.\n * @return {?}\n */\nfunction flushModuleScopingQueueAsMuchAsPossible() {\n    if (!flushingModuleQueue) {\n        flushingModuleQueue = true;\n        try {\n            for (let i = moduleQueue.length - 1; i >= 0; i--) {\n                const { moduleType, ngModule } = moduleQueue[i];\n                if (ngModule.declarations && ngModule.declarations.every(isResolvedDeclaration)) {\n                    // dequeue\n                    moduleQueue.splice(i, 1);\n                    setScopeOnDeclaredComponents(moduleType, ngModule);\n                }\n            }\n        }\n        finally {\n            flushingModuleQueue = false;\n        }\n    }\n}\n/**\n * Returns truthy if a declaration has resolved. If the declaration happens to be\n * an array of declarations, it will recurse to check each declaration in that array\n * (which may also be arrays).\n * @param {?} declaration\n * @return {?}\n */\nfunction isResolvedDeclaration(declaration) {\n    if (Array.isArray(declaration)) {\n        return declaration.every(isResolvedDeclaration);\n    }\n    return !!resolveForwardRef(declaration);\n}\n/**\n * Compiles a module in JIT mode.\n *\n * This function automatically gets called when a class has a `\\@NgModule` decorator.\n * @param {?} moduleType\n * @param {?=} ngModule\n * @return {?}\n */\nfunction compileNgModule(moduleType, ngModule = {}) {\n    compileNgModuleDefs((/** @type {?} */ (moduleType)), ngModule);\n    // Because we don't know if all declarations have resolved yet at the moment the\n    // NgModule decorator is executing, we're enqueueing the setting of module scope\n    // on its declarations to be run at a later time when all declarations for the module,\n    // including forward refs, have resolved.\n    enqueueModuleForDelayedScoping(moduleType, ngModule);\n}\n/**\n * Compiles and adds the `ngModuleDef` and `ngInjectorDef` properties to the module class.\n *\n * It's possible to compile a module via this API which will allow duplicate declarations in its\n * root.\n * @param {?} moduleType\n * @param {?} ngModule\n * @param {?=} allowDuplicateDeclarationsInRoot\n * @return {?}\n */\nfunction compileNgModuleDefs(moduleType, ngModule, allowDuplicateDeclarationsInRoot = false) {\n    ngDevMode && assertDefined(moduleType, 'Required value moduleType');\n    ngDevMode && assertDefined(ngModule, 'Required value ngModule');\n    /** @type {?} */\n    const declarations = flatten(ngModule.declarations || EMPTY_ARRAY$4);\n    /** @type {?} */\n    /** @nocollapse */ let ngModuleDef = null;\n    Object.defineProperty(moduleType, NG_MODULE_DEF, {\n        configurable: true,\n        get: (/**\n         * @return {?}\n         */\n        () => {\n            if (ngModuleDef === null) {\n                if (ngDevMode && ngModule.imports && ngModule.imports.indexOf(moduleType) > -1) {\n                    // We need to assert this immediately, because allowing it to continue will cause it to\n                    // go into an infinite loop before we've reached the point where we throw all the errors.\n                    throw new Error(`'${stringifyForError(moduleType)}' module can't import itself`);\n                }\n                ngModuleDef = getCompilerFacade().compileNgModule(angularCoreEnv, `ng:///${moduleType.name}/ngModuleDef.js`, {\n                    type: moduleType,\n                    bootstrap: flatten(ngModule.bootstrap || EMPTY_ARRAY$4).map(resolveForwardRef),\n                    declarations: declarations.map(resolveForwardRef),\n                    imports: flatten(ngModule.imports || EMPTY_ARRAY$4)\n                        .map(resolveForwardRef)\n                        .map(expandModuleWithProviders),\n                    exports: flatten(ngModule.exports || EMPTY_ARRAY$4)\n                        .map(resolveForwardRef)\n                        .map(expandModuleWithProviders),\n                    emitInline: true,\n                    schemas: ngModule.schemas ? flatten(ngModule.schemas) : null,\n                    id: ngModule.id || null,\n                });\n            }\n            return ngModuleDef;\n        })\n    });\n    /** @type {?} */\n    /** @nocollapse */ let ngInjectorDef = null;\n    Object.defineProperty(moduleType, NG_INJECTOR_DEF, {\n        get: (/**\n         * @return {?}\n         */\n        () => {\n            if (ngInjectorDef === null) {\n                ngDevMode && verifySemanticsOfNgModuleDef((/** @type {?} */ ((/** @type {?} */ (moduleType)))), allowDuplicateDeclarationsInRoot);\n                /** @type {?} */\n                const meta = {\n                    name: moduleType.name,\n                    type: moduleType,\n                    deps: reflectDependencies(moduleType),\n                    providers: ngModule.providers || EMPTY_ARRAY$4,\n                    imports: [\n                        (ngModule.imports || EMPTY_ARRAY$4).map(resolveForwardRef),\n                        (ngModule.exports || EMPTY_ARRAY$4).map(resolveForwardRef),\n                    ],\n                };\n                ngInjectorDef = getCompilerFacade().compileInjector(angularCoreEnv, `ng:///${moduleType.name}/ngInjectorDef.js`, meta);\n            }\n            return ngInjectorDef;\n        }),\n        // Make the property configurable in dev mode to allow overriding in tests\n        configurable: !!ngDevMode,\n    });\n}\n/**\n * @param {?} moduleType\n * @param {?} allowDuplicateDeclarationsInRoot\n * @param {?=} importingModule\n * @return {?}\n */\nfunction verifySemanticsOfNgModuleDef(moduleType, allowDuplicateDeclarationsInRoot, importingModule) {\n    if (verifiedNgModule.get(moduleType))\n        return;\n    verifiedNgModule.set(moduleType, true);\n    moduleType = resolveForwardRef(moduleType);\n    /** @type {?} */\n    let ngModuleDef;\n    if (importingModule) {\n        ngModuleDef = (/** @type {?} */ (getNgModuleDef(moduleType)));\n        if (!ngModuleDef) {\n            throw new Error(`Unexpected value '${moduleType.name}' imported by the module '${importingModule.name}'. Please add an @NgModule annotation.`);\n        }\n    }\n    else {\n        ngModuleDef = getNgModuleDef(moduleType, true);\n    }\n    /** @type {?} */\n    const errors = [];\n    /** @type {?} */\n    const declarations = maybeUnwrapFn(ngModuleDef.declarations);\n    /** @type {?} */\n    const imports = maybeUnwrapFn(ngModuleDef.imports);\n    flatten(imports).map(unwrapModuleWithProvidersImports).forEach((/**\n     * @param {?} mod\n     * @return {?}\n     */\n    mod => {\n        verifySemanticsOfNgModuleImport(mod, moduleType);\n        verifySemanticsOfNgModuleDef(mod, false, moduleType);\n    }));\n    /** @type {?} */\n    const exports = maybeUnwrapFn(ngModuleDef.exports);\n    declarations.forEach(verifyDeclarationsHaveDefinitions);\n    /** @type {?} */\n    const combinedDeclarations = [\n        ...declarations.map(resolveForwardRef),\n        ...flatten(imports.map(computeCombinedExports)).map(resolveForwardRef),\n    ];\n    exports.forEach(verifyExportsAreDeclaredOrReExported);\n    declarations.forEach((/**\n     * @param {?} decl\n     * @return {?}\n     */\n    decl => verifyDeclarationIsUnique(decl, allowDuplicateDeclarationsInRoot)));\n    declarations.forEach(verifyComponentEntryComponentsIsPartOfNgModule);\n    /** @type {?} */\n    const ngModule = getAnnotation(moduleType, 'NgModule');\n    if (ngModule) {\n        ngModule.imports &&\n            flatten(ngModule.imports).map(unwrapModuleWithProvidersImports).forEach((/**\n             * @param {?} mod\n             * @return {?}\n             */\n            mod => {\n                verifySemanticsOfNgModuleImport(mod, moduleType);\n                verifySemanticsOfNgModuleDef(mod, false, moduleType);\n            }));\n        ngModule.bootstrap && deepForEach(ngModule.bootstrap, verifyCorrectBootstrapType);\n        ngModule.bootstrap && deepForEach(ngModule.bootstrap, verifyComponentIsPartOfNgModule);\n        ngModule.entryComponents &&\n            deepForEach(ngModule.entryComponents, verifyComponentIsPartOfNgModule);\n    }\n    // Throw Error if any errors were detected.\n    if (errors.length) {\n        throw new Error(errors.join('\\n'));\n    }\n    ////////////////////////////////////////////////////////////////////////////////////////////////\n    /**\n     * @param {?} type\n     * @return {?}\n     */\n    function verifyDeclarationsHaveDefinitions(type) {\n        type = resolveForwardRef(type);\n        /** @type {?} */\n        const def = getComponentDef(type) || getDirectiveDef(type) || getPipeDef(type);\n        if (!def) {\n            errors.push(`Unexpected value '${stringifyForError(type)}' declared by the module '${stringifyForError(moduleType)}'. Please add a @Pipe/@Directive/@Component annotation.`);\n        }\n    }\n    /**\n     * @param {?} type\n     * @return {?}\n     */\n    function verifyExportsAreDeclaredOrReExported(type) {\n        type = resolveForwardRef(type);\n        /** @type {?} */\n        const kind = getComponentDef(type) && 'component' || getDirectiveDef(type) && 'directive' ||\n            getPipeDef(type) && 'pipe';\n        if (kind) {\n            // only checked if we are declared as Component, Directive, or Pipe\n            // Modules don't need to be declared or imported.\n            if (combinedDeclarations.lastIndexOf(type) === -1) {\n                // We are exporting something which we don't explicitly declare or import.\n                errors.push(`Can't export ${kind} ${stringifyForError(type)} from ${stringifyForError(moduleType)} as it was neither declared nor imported!`);\n            }\n        }\n    }\n    /**\n     * @param {?} type\n     * @param {?} suppressErrors\n     * @return {?}\n     */\n    function verifyDeclarationIsUnique(type, suppressErrors) {\n        type = resolveForwardRef(type);\n        /** @type {?} */\n        const existingModule = ownerNgModule.get(type);\n        if (existingModule && existingModule !== moduleType) {\n            if (!suppressErrors) {\n                /** @type {?} */\n                const modules = [existingModule, moduleType].map(stringifyForError).sort();\n                errors.push(`Type ${stringifyForError(type)} is part of the declarations of 2 modules: ${modules[0]} and ${modules[1]}! ` +\n                    `Please consider moving ${stringifyForError(type)} to a higher module that imports ${modules[0]} and ${modules[1]}. ` +\n                    `You can also create a new NgModule that exports and includes ${stringifyForError(type)} then import that NgModule in ${modules[0]} and ${modules[1]}.`);\n            }\n        }\n        else {\n            // Mark type as having owner.\n            ownerNgModule.set(type, moduleType);\n        }\n    }\n    /**\n     * @param {?} type\n     * @return {?}\n     */\n    function verifyComponentIsPartOfNgModule(type) {\n        type = resolveForwardRef(type);\n        /** @type {?} */\n        const existingModule = ownerNgModule.get(type);\n        if (!existingModule) {\n            errors.push(`Component ${stringifyForError(type)} is not part of any NgModule or the module has not been imported into your module.`);\n        }\n    }\n    /**\n     * @param {?} type\n     * @return {?}\n     */\n    function verifyCorrectBootstrapType(type) {\n        type = resolveForwardRef(type);\n        if (!getComponentDef(type)) {\n            errors.push(`${stringifyForError(type)} cannot be used as an entry component.`);\n        }\n    }\n    /**\n     * @param {?} type\n     * @return {?}\n     */\n    function verifyComponentEntryComponentsIsPartOfNgModule(type) {\n        type = resolveForwardRef(type);\n        if (getComponentDef(type)) {\n            // We know we are component\n            /** @type {?} */\n            const component = getAnnotation(type, 'Component');\n            if (component && component.entryComponents) {\n                deepForEach(component.entryComponents, verifyComponentIsPartOfNgModule);\n            }\n        }\n    }\n    /**\n     * @param {?} type\n     * @param {?} importingModule\n     * @return {?}\n     */\n    function verifySemanticsOfNgModuleImport(type, importingModule) {\n        type = resolveForwardRef(type);\n        if (getComponentDef(type) || getDirectiveDef(type)) {\n            throw new Error(`Unexpected directive '${type.name}' imported by the module '${importingModule.name}'. Please add an @NgModule annotation.`);\n        }\n        if (getPipeDef(type)) {\n            throw new Error(`Unexpected pipe '${type.name}' imported by the module '${importingModule.name}'. Please add an @NgModule annotation.`);\n        }\n    }\n}\n/**\n * @param {?} typeOrWithProviders\n * @return {?}\n */\nfunction unwrapModuleWithProvidersImports(typeOrWithProviders) {\n    typeOrWithProviders = resolveForwardRef(typeOrWithProviders);\n    return ((/** @type {?} */ (typeOrWithProviders))).ngModule || typeOrWithProviders;\n}\n/**\n * @template T\n * @param {?} type\n * @param {?} name\n * @return {?}\n */\nfunction getAnnotation(type, name) {\n    /** @type {?} */\n    let annotation = null;\n    collect(type.__annotations__);\n    collect(type.decorators);\n    return annotation;\n    /**\n     * @param {?} annotations\n     * @return {?}\n     */\n    function collect(annotations) {\n        if (annotations) {\n            annotations.forEach(readAnnotation);\n        }\n    }\n    /**\n     * @param {?} decorator\n     * @return {?}\n     */\n    function readAnnotation(decorator) {\n        if (!annotation) {\n            /** @type {?} */\n            const proto = Object.getPrototypeOf(decorator);\n            if (proto.ngMetadataName == name) {\n                annotation = (/** @type {?} */ (decorator));\n            }\n            else if (decorator.type) {\n                /** @type {?} */\n                const proto = Object.getPrototypeOf(decorator.type);\n                if (proto.ngMetadataName == name) {\n                    annotation = decorator.args[0];\n                }\n            }\n        }\n    }\n}\n/**\n * Keep track of compiled components. This is needed because in tests we often want to compile the\n * same component with more than one NgModule. This would cause an error unless we reset which\n * NgModule the component belongs to. We keep the list of compiled components here so that the\n * TestBed can reset it later.\n * @type {?}\n */\nlet ownerNgModule = new Map();\n/** @type {?} */\nlet verifiedNgModule = new Map();\n/**\n * @return {?}\n */\nfunction resetCompiledComponents() {\n    ownerNgModule = new Map();\n    verifiedNgModule = new Map();\n    moduleQueue.length = 0;\n}\n/**\n * Computes the combined declarations of explicit declarations, as well as declarations inherited by\n * traversing the exports of imported modules.\n * @param {?} type\n * @return {?}\n */\nfunction computeCombinedExports(type) {\n    type = resolveForwardRef(type);\n    /** @type {?} */\n    /** @nocollapse */ const ngModuleDef = getNgModuleDef(type, true);\n    return [...flatten(maybeUnwrapFn(ngModuleDef.exports).map((/**\n         * @param {?} type\n         * @return {?}\n         */\n        (type) => {\n            /** @type {?} */\n            /** @nocollapse */ const ngModuleDef = getNgModuleDef(type);\n            if (ngModuleDef) {\n                verifySemanticsOfNgModuleDef((/** @type {?} */ ((/** @type {?} */ (type)))), false);\n                return computeCombinedExports(type);\n            }\n            else {\n                return type;\n            }\n        })))];\n}\n/**\n * Some declared components may be compiled asynchronously, and thus may not have their\n * ngComponentDef set yet. If this is the case, then a reference to the module is written into\n * the `ngSelectorScope` property of the declared type.\n * @param {?} moduleType\n * @param {?} ngModule\n * @return {?}\n */\nfunction setScopeOnDeclaredComponents(moduleType, ngModule) {\n    /** @type {?} */\n    const declarations = flatten(ngModule.declarations || EMPTY_ARRAY$4);\n    /** @type {?} */\n    const transitiveScopes = transitiveScopesFor(moduleType);\n    declarations.forEach((/**\n     * @param {?} declaration\n     * @return {?}\n     */\n    declaration => {\n        if (declaration.hasOwnProperty(NG_COMPONENT_DEF)) {\n            // An `ngComponentDef` field exists - go ahead and patch the component directly.\n            /** @type {?} */\n            const component = (/** @type {?} */ (declaration));\n            /** @type {?} */\n            const componentDef = (/** @type {?} */ (getComponentDef(component)));\n            patchComponentDefWithScope(componentDef, transitiveScopes);\n        }\n        else if (!declaration.hasOwnProperty(NG_DIRECTIVE_DEF) && !declaration.hasOwnProperty(NG_PIPE_DEF)) {\n            // Set `ngSelectorScope` for future reference when the component compilation finishes.\n            ((/** @type {?} */ (declaration))).ngSelectorScope = moduleType;\n        }\n    }));\n}\n/**\n * Patch the definition of a component with directives and pipes from the compilation scope of\n * a given module.\n * @template C\n * @param {?} componentDef\n * @param {?} transitiveScopes\n * @return {?}\n */\nfunction patchComponentDefWithScope(componentDef, transitiveScopes) {\n    componentDef.directiveDefs = (/**\n     * @return {?}\n     */\n    () => Array.from(transitiveScopes.compilation.directives)\n        .map((/**\n     * @param {?} dir\n     * @return {?}\n     */\n    dir => dir.hasOwnProperty(NG_COMPONENT_DEF) ? (/** @type {?} */ (getComponentDef(dir))) :\n        (/** @type {?} */ (getDirectiveDef(dir)))))\n        .filter((/**\n     * @param {?} def\n     * @return {?}\n     */\n    def => !!def)));\n    componentDef.pipeDefs = (/**\n     * @return {?}\n     */\n    () => Array.from(transitiveScopes.compilation.pipes).map((/**\n     * @param {?} pipe\n     * @return {?}\n     */\n    pipe => (/** @type {?} */ (getPipeDef(pipe))))));\n    componentDef.schemas = transitiveScopes.schemas;\n    // Since we avoid Components/Directives/Pipes recompiling in case there are no overrides, we\n    // may face a problem where previously compiled defs available to a given Component/Directive\n    // are cached in TView and may become stale (in case any of these defs gets recompiled). In\n    // order to avoid this problem, we force fresh TView to be created.\n    componentDef.tView = null;\n}\n/**\n * Compute the pair of transitive scopes (compilation scope and exported scope) for a given module.\n *\n * This operation is memoized and the result is cached on the module's definition. It can be called\n * on modules with components that have not fully compiled yet, but the result should not be used\n * until they have.\n * @template T\n * @param {?} moduleType\n * @param {?=} processNgModuleFn\n * @return {?}\n */\nfunction transitiveScopesFor(moduleType, processNgModuleFn) {\n    if (!isNgModule(moduleType)) {\n        throw new Error(`${moduleType.name} does not have an ngModuleDef`);\n    }\n    /** @type {?} */\n    const def = (/** @type {?} */ (getNgModuleDef(moduleType)));\n    if (def.transitiveCompileScopes !== null) {\n        return def.transitiveCompileScopes;\n    }\n    /** @type {?} */\n    const scopes = {\n        schemas: def.schemas || null,\n        compilation: {\n            directives: new Set(),\n            pipes: new Set(),\n        },\n        exported: {\n            directives: new Set(),\n            pipes: new Set(),\n        },\n    };\n    maybeUnwrapFn(def.declarations).forEach((/**\n     * @param {?} declared\n     * @return {?}\n     */\n    declared => {\n        /** @type {?} */\n        const declaredWithDefs = (/** @type {?} */ (declared));\n        if (getPipeDef(declaredWithDefs)) {\n            scopes.compilation.pipes.add(declared);\n        }\n        else {\n            // Either declared has an ngComponentDef or ngDirectiveDef, or it's a component which hasn't\n            // had its template compiled yet. In either case, it gets added to the compilation's\n            // directives.\n            scopes.compilation.directives.add(declared);\n        }\n    }));\n    maybeUnwrapFn(def.imports).forEach((/**\n     * @template I\n     * @param {?} imported\n     * @return {?}\n     */\n    (imported) => {\n        /** @type {?} */\n        const importedType = (/** @type {?} */ (imported));\n        if (!isNgModule(importedType)) {\n            throw new Error(`Importing ${importedType.name} which does not have an ngModuleDef`);\n        }\n        if (processNgModuleFn) {\n            processNgModuleFn((/** @type {?} */ (importedType)));\n        }\n        // When this module imports another, the imported module's exported directives and pipes are\n        // added to the compilation scope of this module.\n        /** @type {?} */\n        const importedScope = transitiveScopesFor(importedType, processNgModuleFn);\n        importedScope.exported.directives.forEach((/**\n         * @param {?} entry\n         * @return {?}\n         */\n        entry => scopes.compilation.directives.add(entry)));\n        importedScope.exported.pipes.forEach((/**\n         * @param {?} entry\n         * @return {?}\n         */\n        entry => scopes.compilation.pipes.add(entry)));\n    }));\n    maybeUnwrapFn(def.exports).forEach((/**\n     * @template E\n     * @param {?} exported\n     * @return {?}\n     */\n    (exported) => {\n        /** @type {?} */\n        const exportedType = (/** @type {?} */ (exported));\n        // Either the type is a module, a pipe, or a component/directive (which may not have an\n        // ngComponentDef as it might be compiled asynchronously).\n        if (isNgModule(exportedType)) {\n            // When this module exports another, the exported module's exported directives and pipes are\n            // added to both the compilation and exported scopes of this module.\n            /** @type {?} */\n            const exportedScope = transitiveScopesFor(exportedType, processNgModuleFn);\n            exportedScope.exported.directives.forEach((/**\n             * @param {?} entry\n             * @return {?}\n             */\n            entry => {\n                scopes.compilation.directives.add(entry);\n                scopes.exported.directives.add(entry);\n            }));\n            exportedScope.exported.pipes.forEach((/**\n             * @param {?} entry\n             * @return {?}\n             */\n            entry => {\n                scopes.compilation.pipes.add(entry);\n                scopes.exported.pipes.add(entry);\n            }));\n        }\n        else if (getPipeDef(exportedType)) {\n            scopes.exported.pipes.add(exportedType);\n        }\n        else {\n            scopes.exported.directives.add(exportedType);\n        }\n    }));\n    def.transitiveCompileScopes = scopes;\n    return scopes;\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction expandModuleWithProviders(value) {\n    if (isModuleWithProviders(value)) {\n        return value.ngModule;\n    }\n    return value;\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction isModuleWithProviders(value) {\n    return ((/** @type {?} */ (value))).ngModule !== undefined;\n}\n/**\n * @template T\n * @param {?} value\n * @return {?}\n */\nfunction isNgModule(value) {\n    return !!getNgModuleDef(value);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Compile an Angular component according to its decorator metadata, and patch the resulting\n * ngComponentDef onto the component type.\n *\n * Compilation may be asynchronous (due to the need to resolve URLs for the component template or\n * other resources, for example). In the event that compilation is not immediate, `compileComponent`\n * will enqueue resource resolution into a global queue and will fail to return the `ngComponentDef`\n * until the global queue has been resolved with a call to `resolveComponentResources`.\n * @param {?} type\n * @param {?} metadata\n * @return {?}\n */\nfunction compileComponent(type, metadata) {\n    /** @type {?} */\n    /** @nocollapse */ let ngComponentDef = null;\n    // Metadata may have resources which need to be resolved.\n    maybeQueueResolutionOfComponentResources(type, metadata);\n    Object.defineProperty(type, NG_COMPONENT_DEF, {\n        get: (/**\n         * @return {?}\n         */\n        () => {\n            /** @type {?} */\n            const compiler = getCompilerFacade();\n            if (ngComponentDef === null) {\n                if (componentNeedsResolution(metadata)) {\n                    /** @type {?} */\n                    const error = [`Component '${type.name}' is not resolved:`];\n                    if (metadata.templateUrl) {\n                        error.push(` - templateUrl: ${metadata.templateUrl}`);\n                    }\n                    if (metadata.styleUrls && metadata.styleUrls.length) {\n                        error.push(` - styleUrls: ${JSON.stringify(metadata.styleUrls)}`);\n                    }\n                    error.push(`Did you run and wait for 'resolveComponentResources()'?`);\n                    throw new Error(error.join('\\n'));\n                }\n                /** @type {?} */\n                const templateUrl = metadata.templateUrl || `ng:///${type.name}/template.html`;\n                /** @type {?} */\n                const meta = Object.assign({}, directiveMetadata(type, metadata), { typeSourceSpan: compiler.createParseSourceSpan('Component', type.name, templateUrl), template: metadata.template || '', preserveWhitespaces: metadata.preserveWhitespaces || false, styles: metadata.styles || EMPTY_ARRAY, animations: metadata.animations, directives: [], changeDetection: metadata.changeDetection, pipes: new Map(), encapsulation: metadata.encapsulation || ViewEncapsulation.Emulated, interpolation: metadata.interpolation, viewProviders: metadata.viewProviders || null });\n                if (meta.usesInheritance) {\n                    addBaseDefToUndecoratedParents(type);\n                }\n                ngComponentDef = compiler.compileComponent(angularCoreEnv, templateUrl, meta);\n                // When NgModule decorator executed, we enqueued the module definition such that\n                // it would only dequeue and add itself as module scope to all of its declarations,\n                // but only if  if all of its declarations had resolved. This call runs the check\n                // to see if any modules that are in the queue can be dequeued and add scope to\n                // their declarations.\n                flushModuleScopingQueueAsMuchAsPossible();\n                // If component compilation is async, then the @NgModule annotation which declares the\n                // component may execute and set an ngSelectorScope property on the component type. This\n                // allows the component to patch itself with directiveDefs from the module after it\n                // finishes compiling.\n                if (hasSelectorScope(type)) {\n                    /** @type {?} */\n                    const scopes = transitiveScopesFor(type.ngSelectorScope);\n                    patchComponentDefWithScope(ngComponentDef, scopes);\n                }\n            }\n            return ngComponentDef;\n        }),\n        // Make the property configurable in dev mode to allow overriding in tests\n        configurable: !!ngDevMode,\n    });\n    // Add ngInjectableDef so components are reachable through the module injector by default\n    // This is mostly to support injecting components in tests. In real application code,\n    // components should be retrieved through the node injector, so this isn't a problem.\n    compileInjectable(type);\n}\n/**\n * @template T\n * @param {?} component\n * @return {?}\n */\nfunction hasSelectorScope(component) {\n    return ((/** @type {?} */ (component))).ngSelectorScope !== undefined;\n}\n/**\n * Compile an Angular directive according to its decorator metadata, and patch the resulting\n * ngDirectiveDef onto the component type.\n *\n * In the event that compilation is not immediate, `compileDirective` will return a `Promise` which\n * will resolve when compilation completes and the directive becomes usable.\n * @param {?} type\n * @param {?} directive\n * @return {?}\n */\nfunction compileDirective(type, directive) {\n    /** @type {?} */\n    /** @nocollapse */ let ngDirectiveDef = null;\n    Object.defineProperty(type, NG_DIRECTIVE_DEF, {\n        get: (/**\n         * @return {?}\n         */\n        () => {\n            if (ngDirectiveDef === null) {\n                /** @type {?} */\n                const name = type && type.name;\n                /** @type {?} */\n                const sourceMapUrl = `ng:///${name}/ngDirectiveDef.js`;\n                /** @type {?} */\n                const compiler = getCompilerFacade();\n                /** @type {?} */\n                const facade = directiveMetadata((/** @type {?} */ (type)), directive);\n                facade.typeSourceSpan = compiler.createParseSourceSpan('Directive', name, sourceMapUrl);\n                if (facade.usesInheritance) {\n                    addBaseDefToUndecoratedParents(type);\n                }\n                ngDirectiveDef = compiler.compileDirective(angularCoreEnv, sourceMapUrl, facade);\n            }\n            return ngDirectiveDef;\n        }),\n        // Make the property configurable in dev mode to allow overriding in tests\n        configurable: !!ngDevMode,\n    });\n    // Add ngInjectableDef so directives are reachable through the module injector by default\n    // This is mostly to support injecting directives in tests. In real application code,\n    // directives should be retrieved through the node injector, so this isn't a problem.\n    compileInjectable(type);\n}\n/**\n * @param {?} type\n * @return {?}\n */\nfunction extendsDirectlyFromObject(type) {\n    return Object.getPrototypeOf(type.prototype) === Object.prototype;\n}\n/**\n * Extract the `R3DirectiveMetadata` for a particular directive (either a `Directive` or a\n * `Component`).\n * @param {?} type\n * @param {?} metadata\n * @return {?}\n */\nfunction directiveMetadata(type, metadata) {\n    // Reflect inputs and outputs.\n    /** @type {?} */\n    const propMetadata = getReflect().ownPropMetadata(type);\n    return {\n        name: type.name,\n        type: type,\n        typeArgumentCount: 0,\n        selector: (/** @type {?} */ (metadata.selector)),\n        deps: reflectDependencies(type),\n        host: metadata.host || EMPTY_OBJ,\n        propMetadata: propMetadata,\n        inputs: metadata.inputs || EMPTY_ARRAY,\n        outputs: metadata.outputs || EMPTY_ARRAY,\n        queries: extractQueriesMetadata(type, propMetadata, isContentQuery),\n        lifecycle: { usesOnChanges: type.prototype.hasOwnProperty('ngOnChanges') },\n        typeSourceSpan: (/** @type {?} */ (null)),\n        usesInheritance: !extendsDirectlyFromObject(type),\n        exportAs: extractExportAs(metadata.exportAs),\n        providers: metadata.providers || null,\n        viewQueries: extractQueriesMetadata(type, propMetadata, isViewQuery),\n    };\n}\n/**\n * Adds an `ngBaseDef` to all parent classes of a type that don't have an Angular decorator.\n * @param {?} type\n * @return {?}\n */\nfunction addBaseDefToUndecoratedParents(type) {\n    /** @type {?} */\n    const objPrototype = Object.prototype;\n    /** @type {?} */\n    let parent = Object.getPrototypeOf(type);\n    // Go up the prototype until we hit `Object`.\n    while (parent && parent !== objPrototype) {\n        // Since inheritance works if the class was annotated already, we only need to add\n        // the base def if there are no annotations and the base def hasn't been created already.\n        if (!getDirectiveDef(parent) && !getComponentDef(parent) && !getBaseDef(parent)) {\n            /** @type {?} */\n            const facade = extractBaseDefMetadata(parent);\n            facade && compileBase(parent, facade);\n        }\n        parent = Object.getPrototypeOf(parent);\n    }\n}\n/**\n * Compiles the base metadata into a base definition.\n * @param {?} type\n * @param {?} facade\n * @return {?}\n */\nfunction compileBase(type, facade) {\n    /** @type {?} */\n    /** @nocollapse */ let ngBaseDef = null;\n    Object.defineProperty(type, NG_BASE_DEF, {\n        get: (/**\n         * @return {?}\n         */\n        () => {\n            if (ngBaseDef === null) {\n                /** @type {?} */\n                const name = type && type.name;\n                /** @type {?} */\n                const sourceMapUrl = `ng://${name}/ngBaseDef.js`;\n                /** @type {?} */\n                const compiler = getCompilerFacade();\n                ngBaseDef = compiler.compileBase(angularCoreEnv, sourceMapUrl, facade);\n            }\n            return ngBaseDef;\n        }),\n        // Make the property configurable in dev mode to allow overriding in tests\n        configurable: !!ngDevMode,\n    });\n}\n/**\n * Extracts the metadata necessary to construct an `ngBaseDef` from a class.\n * @param {?} type\n * @return {?}\n */\nfunction extractBaseDefMetadata(type) {\n    /** @type {?} */\n    const propMetadata = getReflect().ownPropMetadata(type);\n    /** @type {?} */\n    const viewQueries = extractQueriesMetadata(type, propMetadata, isViewQuery);\n    /** @type {?} */\n    const queries = extractQueriesMetadata(type, propMetadata, isContentQuery);\n    /** @type {?} */\n    let inputs;\n    /** @type {?} */\n    let outputs;\n    // We only need to know whether there are any HostListener or HostBinding\n    // decorators present, the parsing logic is in the compiler already.\n    /** @type {?} */\n    let hasHostDecorators = false;\n    for (const field in propMetadata) {\n        propMetadata[field].forEach((/**\n         * @param {?} ann\n         * @return {?}\n         */\n        ann => {\n            /** @type {?} */\n            const metadataName = ann.ngMetadataName;\n            if (metadataName === 'Input') {\n                inputs = inputs || {};\n                inputs[field] = ann.bindingPropertyName ? [ann.bindingPropertyName, field] : field;\n            }\n            else if (metadataName === 'Output') {\n                outputs = outputs || {};\n                outputs[field] = ann.bindingPropertyName || field;\n            }\n            else if (metadataName === 'HostBinding' || metadataName === 'HostListener') {\n                hasHostDecorators = true;\n            }\n        }));\n    }\n    // Only generate the base def if there's any info inside it.\n    if (inputs || outputs || viewQueries.length || queries.length || hasHostDecorators) {\n        return { name: type.name, type, inputs, outputs, viewQueries, queries, propMetadata };\n    }\n    return null;\n}\n/**\n * @param {?} selector\n * @return {?}\n */\nfunction convertToR3QueryPredicate(selector) {\n    return typeof selector === 'string' ? splitByComma(selector) : resolveForwardRef(selector);\n}\n/**\n * @param {?} propertyName\n * @param {?} ann\n * @return {?}\n */\nfunction convertToR3QueryMetadata(propertyName, ann) {\n    return {\n        propertyName: propertyName,\n        predicate: convertToR3QueryPredicate(ann.selector),\n        descendants: ann.descendants,\n        first: ann.first,\n        read: ann.read ? ann.read : null,\n        static: !!ann.static\n    };\n}\n/**\n * @param {?} type\n * @param {?} propMetadata\n * @param {?} isQueryAnn\n * @return {?}\n */\nfunction extractQueriesMetadata(type, propMetadata, isQueryAnn) {\n    /** @type {?} */\n    const queriesMeta = [];\n    for (const field in propMetadata) {\n        if (propMetadata.hasOwnProperty(field)) {\n            /** @type {?} */\n            const annotations = propMetadata[field];\n            annotations.forEach((/**\n             * @param {?} ann\n             * @return {?}\n             */\n            ann => {\n                if (isQueryAnn(ann)) {\n                    if (!ann.selector) {\n                        throw new Error(`Can't construct a query for the property \"${field}\" of ` +\n                            `\"${stringifyForError(type)}\" since the query selector wasn't defined.`);\n                    }\n                    if (annotations.some(isInputAnn)) {\n                        throw new Error(`Cannot combine @Input decorators with query decorators`);\n                    }\n                    queriesMeta.push(convertToR3QueryMetadata(field, ann));\n                }\n            }));\n        }\n    }\n    return queriesMeta;\n}\n/**\n * @param {?} exportAs\n * @return {?}\n */\nfunction extractExportAs(exportAs) {\n    if (exportAs === undefined) {\n        return null;\n    }\n    return exportAs.split(',').map((/**\n     * @param {?} part\n     * @return {?}\n     */\n    part => part.trim()));\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction isContentQuery(value) {\n    /** @type {?} */\n    const name = value.ngMetadataName;\n    return name === 'ContentChild' || name === 'ContentChildren';\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction isViewQuery(value) {\n    /** @type {?} */\n    const name = value.ngMetadataName;\n    return name === 'ViewChild' || name === 'ViewChildren';\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction isInputAnn(value) {\n    return value.ngMetadataName === 'Input';\n}\n/**\n * @param {?} value\n * @return {?}\n */\nfunction splitByComma(value) {\n    return value.split(',').map((/**\n     * @param {?} piece\n     * @return {?}\n     */\n    piece => piece.trim()));\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @param {?} type\n * @param {?} meta\n * @return {?}\n */\nfunction compilePipe(type, meta) {\n    /** @type {?} */\n    /** @nocollapse */ let ngPipeDef = null;\n    Object.defineProperty(type, NG_PIPE_DEF, {\n        get: (/**\n         * @return {?}\n         */\n        () => {\n            if (ngPipeDef === null) {\n                /** @type {?} */\n                const typeName = type.name;\n                ngPipeDef =\n                    getCompilerFacade().compilePipe(angularCoreEnv, `ng:///${typeName}/ngPipeDef.js`, {\n                        type: type,\n                        typeArgumentCount: 0,\n                        name: typeName,\n                        deps: reflectDependencies(type),\n                        pipeName: meta.name,\n                        pure: meta.pure !== undefined ? meta.pure : true\n                    });\n            }\n            return ngPipeDef;\n        }),\n        // Make the property configurable in dev mode to allow overriding in tests\n        configurable: !!ngDevMode,\n    });\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Type of the Directive decorator / constructor function.\n * \\@publicApi\n * @record\n */\nfunction DirectiveDecorator() { }\n// WARNING: interface has both a type and a value, skipping emit\nconst ɵ0$f = /**\n * @param {?=} dir\n * @return {?}\n */\n(dir = {}) => dir, ɵ1$4 = /**\n * @param {?} type\n * @param {?} meta\n * @return {?}\n */\n(type, meta) => SWITCH_COMPILE_DIRECTIVE(type, meta);\n/**\n * Type of the Directive metadata.\n *\n * \\@publicApi\n * @type {?}\n */\nconst Directive = makeDecorator('Directive', (ɵ0$f), undefined, undefined, (ɵ1$4));\n/**\n * Component decorator interface\n *\n * \\@publicApi\n * @record\n */\nfunction ComponentDecorator() { }\n// WARNING: interface has both a type and a value, skipping emit\nconst ɵ2$1 = /**\n * @param {?=} c\n * @return {?}\n */\n(c = {}) => (Object.assign({ changeDetection: ChangeDetectionStrategy.Default }, c)), ɵ3$1 = /**\n * @param {?} type\n * @param {?} meta\n * @return {?}\n */\n(type, meta) => SWITCH_COMPILE_COMPONENT(type, meta);\n/**\n * Component decorator and metadata.\n *\n * \\@Annotation\n * \\@publicApi\n * @type {?}\n */\nconst Component = makeDecorator('Component', (ɵ2$1), Directive, undefined, (ɵ3$1));\n/**\n * Type of the Pipe decorator / constructor function.\n *\n * \\@publicApi\n * @record\n */\nfunction PipeDecorator() { }\n// WARNING: interface has both a type and a value, skipping emit\nconst ɵ4 = /**\n * @param {?} p\n * @return {?}\n */\n(p) => (Object.assign({ pure: true }, p)), ɵ5 = /**\n * @param {?} type\n * @param {?} meta\n * @return {?}\n */\n(type, meta) => SWITCH_COMPILE_PIPE(type, meta);\n/**\n * \\@Annotation\n * \\@publicApi\n * @type {?}\n */\nconst Pipe = makeDecorator('Pipe', (ɵ4), undefined, undefined, (ɵ5));\n/**\n * \\@publicApi\n * @record\n */\nfunction InputDecorator() { }\n// WARNING: interface has both a type and a value, skipping emit\nconst ɵ6 = /**\n * @param {?=} bindingPropertyName\n * @return {?}\n */\n(bindingPropertyName) => ({ bindingPropertyName });\n/**\n * \\@Annotation\n * \\@publicApi\n * @type {?}\n */\nconst Input = makePropDecorator('Input', (ɵ6));\n/**\n * Type of the Output decorator / constructor function.\n *\n * \\@publicApi\n * @record\n */\nfunction OutputDecorator() { }\n// WARNING: interface has both a type and a value, skipping emit\nconst ɵ7 = /**\n * @param {?=} bindingPropertyName\n * @return {?}\n */\n(bindingPropertyName) => ({ bindingPropertyName });\n/**\n * \\@Annotation\n * \\@publicApi\n * @type {?}\n */\nconst Output = makePropDecorator('Output', (ɵ7));\n/**\n * Type of the HostBinding decorator / constructor function.\n *\n * \\@publicApi\n * @record\n */\nfunction HostBindingDecorator() { }\n// WARNING: interface has both a type and a value, skipping emit\nconst ɵ8 = /**\n * @param {?=} hostPropertyName\n * @return {?}\n */\n(hostPropertyName) => ({ hostPropertyName });\n/**\n * \\@Annotation\n * \\@publicApi\n * @type {?}\n */\nconst HostBinding = makePropDecorator('HostBinding', (ɵ8));\n/**\n * Type of the HostListener decorator / constructor function.\n *\n * \\@publicApi\n * @record\n */\nfunction HostListenerDecorator() { }\n// WARNING: interface has both a type and a value, skipping emit\nconst ɵ9 = /**\n * @param {?=} eventName\n * @param {?=} args\n * @return {?}\n */\n(eventName, args) => ({ eventName, args });\n/**\n * Decorator that binds a DOM event to a host listener and supplies configuration metadata.\n * Angular invokes the supplied handler method when the host element emits the specified event,\n * and updates the bound element with the result.\n *\n * If the handler method returns false, applies `preventDefault` on the bound element.\n *\n * \\@usageNotes\n *\n * The following example declares a directive\n * that attaches a click listener to a button and counts clicks.\n *\n * ```ts\n * \\@Directive({selector: 'button[counting]'})\n * class CountClicks {\n *   numberOfClicks = 0;\n *\n * \\@HostListener('click', ['$event.target'])\n *   onClick(btn) {\n *     console.log('button', btn, 'number of clicks:', this.numberOfClicks++);\n *  }\n * }\n *\n * \\@Component({\n *   selector: 'app',\n *   template: '<button counting>Increment</button>',\n * })\n * class App {}\n * ```\n *\n * \\@Annotation\n * \\@publicApi\n * @type {?}\n */\nconst HostListener = makePropDecorator('HostListener', (ɵ9));\n/** @type {?} */\nconst SWITCH_COMPILE_COMPONENT__POST_R3__ = compileComponent;\n/** @type {?} */\nconst SWITCH_COMPILE_DIRECTIVE__POST_R3__ = compileDirective;\n/** @type {?} */\nconst SWITCH_COMPILE_PIPE__POST_R3__ = compilePipe;\n/** @type {?} */\nconst SWITCH_COMPILE_COMPONENT__PRE_R3__ = noop;\n/** @type {?} */\nconst SWITCH_COMPILE_DIRECTIVE__PRE_R3__ = noop;\n/** @type {?} */\nconst SWITCH_COMPILE_PIPE__PRE_R3__ = noop;\n/** @type {?} */\nconst SWITCH_COMPILE_COMPONENT = SWITCH_COMPILE_COMPONENT__PRE_R3__;\n/** @type {?} */\nconst SWITCH_COMPILE_DIRECTIVE = SWITCH_COMPILE_DIRECTIVE__PRE_R3__;\n/** @type {?} */\nconst SWITCH_COMPILE_PIPE = SWITCH_COMPILE_PIPE__PRE_R3__;\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Represents the expansion of an `NgModule` into its scopes.\n *\n * A scope is a set of directives and pipes that are visible in a particular context. Each\n * `NgModule` has two scopes. The `compilation` scope is the set of directives and pipes that will\n * be recognized in the templates of components declared by the module. The `exported` scope is the\n * set of directives and pipes exported by a module (that is, module B's exported scope gets added\n * to module A's compilation scope when module A imports B).\n * @record\n */\nfunction NgModuleTransitiveScopes() { }\nif (false) {}\n/**\n * Runtime link information for NgModules.\n *\n * This is the internal data structure used by the runtime to assemble components, directives,\n * pipes, and injectors.\n *\n * NOTE: Always use `ɵɵdefineNgModule` function to create this object,\n * never create the object directly since the shape of this object\n * can change between versions.\n * @record\n * @template T\n */\nfunction NgModuleDef() { }\nif (false) {}\n/**\n * A wrapper around an NgModule that associates it with the providers.\n *\n * @param T the module type. In Ivy applications, this must be explicitly\n * provided.\n *\n * \\@publicApi\n * @record\n * @template T\n */\nfunction ModuleWithProviders() { }\nif (false) {}\n/**\n * Type of the NgModule decorator / constructor function.\n *\n * \\@publicApi\n * @record\n */\nfunction NgModuleDecorator() { }\n// WARNING: interface has both a type and a value, skipping emit\nconst ɵ0$g = /**\n * @param {?} ngModule\n * @return {?}\n */\n(ngModule) => ngModule, ɵ1$5 = /**\n * Decorator that marks the following class as an NgModule, and supplies\n * configuration metadata for it.\n *\n * * The `declarations` and `entryComponents` options configure the compiler\n * with information about what belongs to the NgModule.\n * * The `providers` options configures the NgModule's injector to provide\n * dependencies the NgModule members.\n * * The `imports` and `exports` options bring in members from other modules, and make\n * this module's members available to others.\n * @param {?} type\n * @param {?} meta\n * @return {?}\n */\n(type, meta) => SWITCH_COMPILE_NGMODULE(type, meta);\n/**\n * \\@Annotation\n * \\@publicApi\n * @type {?}\n */\nconst NgModule = makeDecorator('NgModule', (ɵ0$g), undefined, undefined, (ɵ1$5));\n/**\n * \\@description\n * Hook for manual bootstrapping of the application instead of using bootstrap array in \\@NgModule\n * annotation.\n *\n * Reference to the current application is provided as a parameter.\n *\n * See [\"Bootstrapping\"](guide/bootstrapping) and [\"Entry components\"](guide/entry-components).\n *\n * \\@usageNotes\n * ```typescript\n * class AppModule implements DoBootstrap {\n *   ngDoBootstrap(appRef: ApplicationRef) {\n *     appRef.bootstrap(AppComponent); // Or some other component\n *   }\n * }\n * ```\n *\n * \\@publicApi\n * @record\n */\nfunction DoBootstrap() { }\nif (false) {}\n/**\n * @param {?} moduleType\n * @param {?=} metadata\n * @return {?}\n */\nfunction preR3NgModuleCompile(moduleType, metadata) {\n    /** @type {?} */\n    let imports = (metadata && metadata.imports) || [];\n    if (metadata && metadata.exports) {\n        imports = [...imports, metadata.exports];\n    }\n    ((/** @type {?} */ (moduleType))).ngInjectorDef = ɵɵdefineInjector({\n        factory: convertInjectableProviderToFactory(moduleType, { useClass: moduleType }),\n        providers: metadata && metadata.providers,\n        imports: imports,\n    });\n}\n/** @type {?} */\nconst SWITCH_COMPILE_NGMODULE__POST_R3__ = compileNgModule;\n/** @type {?} */\nconst SWITCH_COMPILE_NGMODULE__PRE_R3__ = preR3NgModuleCompile;\n/** @type {?} */\nconst SWITCH_COMPILE_NGMODULE = SWITCH_COMPILE_NGMODULE__PRE_R3__;\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * A function that will be executed when an application is initialized.\n *\n * \\@publicApi\n * @type {?}\n */\nconst APP_INITIALIZER = new InjectionToken('Application Initializer');\n/**\n * A class that reflects the state of running {\\@link APP_INITIALIZER}s.\n *\n * \\@publicApi\n */\nclass ApplicationInitStatus {\n    /**\n     * @param {?} appInits\n     */\n    constructor(appInits) {\n        this.appInits = appInits;\n        this.initialized = false;\n        this.done = false;\n        this.donePromise = new Promise((/**\n         * @param {?} res\n         * @param {?} rej\n         * @return {?}\n         */\n        (res, rej) => {\n            this.resolve = res;\n            this.reject = rej;\n        }));\n    }\n    /**\n     * \\@internal\n     * @return {?}\n     */\n    runInitializers() {\n        if (this.initialized) {\n            return;\n        }\n        /** @type {?} */\n        const asyncInitPromises = [];\n        /** @type {?} */\n        const complete = (/**\n         * @return {?}\n         */\n        () => {\n            ((/** @type {?} */ (this))).done = true;\n            this.resolve();\n        });\n        if (this.appInits) {\n            for (let i = 0; i < this.appInits.length; i++) {\n                /** @type {?} */\n                const initResult = this.appInits[i]();\n                if (isPromise(initResult)) {\n                    asyncInitPromises.push(initResult);\n                }\n            }\n        }\n        Promise.all(asyncInitPromises).then((/**\n         * @return {?}\n         */\n        () => { complete(); })).catch((/**\n         * @param {?} e\n         * @return {?}\n         */\n        e => { this.reject(e); }));\n        if (asyncInitPromises.length === 0) {\n            complete();\n        }\n        this.initialized = true;\n    }\n}\nApplicationInitStatus.decorators = [\n    { type: Injectable }\n];\n/** @nocollapse */\nApplicationInitStatus.ctorParameters = () => [\n    { type: Array, decorators: [{ type: Inject, args: [APP_INITIALIZER,] }, { type: Optional }] }\n];\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * A DI Token representing a unique string id assigned to the application by Angular and used\n * primarily for prefixing application attributes and CSS styles when\n * {\\@link ViewEncapsulation#Emulated ViewEncapsulation.Emulated} is being used.\n *\n * If you need to avoid randomly generated value to be used as an application id, you can provide\n * a custom value via a DI provider <!-- TODO: provider --> configuring the root {\\@link Injector}\n * using this token.\n * \\@publicApi\n * @type {?}\n */\nconst APP_ID = new InjectionToken('AppId');\n/**\n * @return {?}\n */\nfunction _appIdRandomProviderFactory() {\n    return `${_randomChar()}${_randomChar()}${_randomChar()}`;\n}\n/**\n * Providers that will generate a random APP_ID_TOKEN.\n * \\@publicApi\n * @type {?}\n */\nconst APP_ID_RANDOM_PROVIDER = {\n    provide: APP_ID,\n    useFactory: _appIdRandomProviderFactory,\n    deps: (/** @type {?} */ ([])),\n};\n/**\n * @return {?}\n */\nfunction _randomChar() {\n    return String.fromCharCode(97 + Math.floor(Math.random() * 25));\n}\n/**\n * A function that will be executed when a platform is initialized.\n * \\@publicApi\n * @type {?}\n */\nconst PLATFORM_INITIALIZER = new InjectionToken('Platform Initializer');\n/**\n * A token that indicates an opaque platform id.\n * \\@publicApi\n * @type {?}\n */\nconst PLATFORM_ID = new InjectionToken('Platform ID');\n/**\n * All callbacks provided via this token will be called for every component that is bootstrapped.\n * Signature of the callback:\n *\n * `(componentRef: ComponentRef) => void`.\n *\n * \\@publicApi\n * @type {?}\n */\nconst APP_BOOTSTRAP_LISTENER = new InjectionToken('appBootstrapListener');\n/**\n * A token which indicates the root directory of the application\n * \\@publicApi\n * @type {?}\n */\nconst PACKAGE_ROOT_URL = new InjectionToken('Application Packages Root URL');\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass Console {\n    /**\n     * @param {?} message\n     * @return {?}\n     */\n    log(message) {\n        // tslint:disable-next-line:no-console\n        console.log(message);\n    }\n    // Note: for reporting errors use `DOM.logError()` as it is platform specific\n    /**\n     * @param {?} message\n     * @return {?}\n     */\n    warn(message) {\n        // tslint:disable-next-line:no-console\n        console.warn(message);\n    }\n}\nConsole.decorators = [\n    { type: Injectable }\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Provide this token to set the locale of your application.\n * It is used for i18n extraction, by i18n pipes (DatePipe, I18nPluralPipe, CurrencyPipe,\n * DecimalPipe and PercentPipe) and by ICU expressions.\n *\n * See the [i18n guide](guide/i18n#setting-up-locale) for more information.\n *\n * \\@usageNotes\n * ### Example\n *\n * ```typescript\n * import { LOCALE_ID } from '\\@angular/core';\n * import { platformBrowserDynamic } from '\\@angular/platform-browser-dynamic';\n * import { AppModule } from './app/app.module';\n *\n * platformBrowserDynamic().bootstrapModule(AppModule, {\n *   providers: [{provide: LOCALE_ID, useValue: 'en-US' }]\n * });\n * ```\n *\n * \\@publicApi\n * @type {?}\n */\nconst LOCALE_ID$1 = new InjectionToken('LocaleId');\n/**\n * Use this token at bootstrap to provide the content of your translation file (`xtb`,\n * `xlf` or `xlf2`) when you want to translate your application in another language.\n *\n * See the [i18n guide](guide/i18n#merge) for more information.\n *\n * \\@usageNotes\n * ### Example\n *\n * ```typescript\n * import { TRANSLATIONS } from '\\@angular/core';\n * import { platformBrowserDynamic } from '\\@angular/platform-browser-dynamic';\n * import { AppModule } from './app/app.module';\n *\n * // content of your translation file\n * const translations = '....';\n *\n * platformBrowserDynamic().bootstrapModule(AppModule, {\n *   providers: [{provide: TRANSLATIONS, useValue: translations }]\n * });\n * ```\n *\n * \\@publicApi\n * @type {?}\n */\nconst TRANSLATIONS$1 = new InjectionToken('Translations');\n/**\n * Provide this token at bootstrap to set the format of your {\\@link TRANSLATIONS}: `xtb`,\n * `xlf` or `xlf2`.\n *\n * See the [i18n guide](guide/i18n#merge) for more information.\n *\n * \\@usageNotes\n * ### Example\n *\n * ```typescript\n * import { TRANSLATIONS_FORMAT } from '\\@angular/core';\n * import { platformBrowserDynamic } from '\\@angular/platform-browser-dynamic';\n * import { AppModule } from './app/app.module';\n *\n * platformBrowserDynamic().bootstrapModule(AppModule, {\n *   providers: [{provide: TRANSLATIONS_FORMAT, useValue: 'xlf' }]\n * });\n * ```\n *\n * \\@publicApi\n * @type {?}\n */\nconst TRANSLATIONS_FORMAT = new InjectionToken('TranslationsFormat');\n/** @enum {number} */\nconst MissingTranslationStrategy = {\n    Error: 0,\n    Warning: 1,\n    Ignore: 2,\n};\nMissingTranslationStrategy[MissingTranslationStrategy.Error] = 'Error';\nMissingTranslationStrategy[MissingTranslationStrategy.Warning] = 'Warning';\nMissingTranslationStrategy[MissingTranslationStrategy.Ignore] = 'Ignore';\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** @type {?} */\nconst SWITCH_IVY_ENABLED__POST_R3__ = true;\n/** @type {?} */\nconst SWITCH_IVY_ENABLED__PRE_R3__ = false;\n/** @type {?} */\nconst ivyEnabled = SWITCH_IVY_ENABLED__PRE_R3__;\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Combination of NgModuleFactory and ComponentFactorys.\n *\n * \\@publicApi\n * @template T\n */\nclass ModuleWithComponentFactories {\n    /**\n     * @param {?} ngModuleFactory\n     * @param {?} componentFactories\n     */\n    constructor(ngModuleFactory, componentFactories) {\n        this.ngModuleFactory = ngModuleFactory;\n        this.componentFactories = componentFactories;\n    }\n}\nif (false) {}\n/**\n * @return {?}\n */\nfunction _throwError() {\n    throw new Error(`Runtime compiler is not loaded`);\n}\n/** @type {?} */\nconst Compiler_compileModuleSync__PRE_R3__ = (/** @type {?} */ (_throwError));\n/** @type {?} */\nconst Compiler_compileModuleSync__POST_R3__ = (/**\n * @template T\n * @param {?} moduleType\n * @return {?}\n */\nfunction (moduleType) {\n    return new NgModuleFactory$1(moduleType);\n});\n/** @type {?} */\nconst Compiler_compileModuleSync = Compiler_compileModuleSync__PRE_R3__;\n/** @type {?} */\nconst Compiler_compileModuleAsync__PRE_R3__ = (/** @type {?} */ (_throwError));\n/** @type {?} */\nconst Compiler_compileModuleAsync__POST_R3__ = (/**\n * @template T\n * @param {?} moduleType\n * @return {?}\n */\nfunction (moduleType) {\n    return Promise.resolve(Compiler_compileModuleSync__POST_R3__(moduleType));\n});\n/** @type {?} */\nconst Compiler_compileModuleAsync = Compiler_compileModuleAsync__PRE_R3__;\n/** @type {?} */\nconst Compiler_compileModuleAndAllComponentsSync__PRE_R3__ = (/** @type {?} */ (_throwError));\n/** @type {?} */\nconst Compiler_compileModuleAndAllComponentsSync__POST_R3__ = (/**\n * @template T\n * @param {?} moduleType\n * @return {?}\n */\nfunction (moduleType) {\n    /** @type {?} */\n    const ngModuleFactory = Compiler_compileModuleSync__POST_R3__(moduleType);\n    /** @type {?} */\n    const moduleDef = (/** @type {?} */ (getNgModuleDef(moduleType)));\n    /** @type {?} */\n    const componentFactories = maybeUnwrapFn(moduleDef.declarations)\n        .reduce((/**\n     * @param {?} factories\n     * @param {?} declaration\n     * @return {?}\n     */\n    (factories, declaration) => {\n        /** @type {?} */\n        const componentDef = getComponentDef(declaration);\n        componentDef && factories.push(new ComponentFactory$1(componentDef));\n        return factories;\n    }), (/** @type {?} */ ([])));\n    return new ModuleWithComponentFactories(ngModuleFactory, componentFactories);\n});\n/** @type {?} */\nconst Compiler_compileModuleAndAllComponentsSync = Compiler_compileModuleAndAllComponentsSync__PRE_R3__;\n/** @type {?} */\nconst Compiler_compileModuleAndAllComponentsAsync__PRE_R3__ = (/** @type {?} */ (_throwError));\n/** @type {?} */\nconst Compiler_compileModuleAndAllComponentsAsync__POST_R3__ = (/**\n * @template T\n * @param {?} moduleType\n * @return {?}\n */\nfunction (moduleType) {\n    return Promise.resolve(Compiler_compileModuleAndAllComponentsSync__POST_R3__(moduleType));\n});\n/** @type {?} */\nconst Compiler_compileModuleAndAllComponentsAsync = Compiler_compileModuleAndAllComponentsAsync__PRE_R3__;\n/**\n * Low-level service for running the angular compiler during runtime\n * to create {\\@link ComponentFactory}s, which\n * can later be used to create and render a Component instance.\n *\n * Each `\\@NgModule` provides an own `Compiler` to its injector,\n * that will use the directives/pipes of the ng module for compilation\n * of components.\n *\n * \\@publicApi\n */\nclass Compiler {\n    constructor() {\n        /**\n         * Compiles the given NgModule and all of its components. All templates of the components listed\n         * in `entryComponents` have to be inlined.\n         */\n        this.compileModuleSync = Compiler_compileModuleSync;\n        /**\n         * Compiles the given NgModule and all of its components\n         */\n        this.compileModuleAsync = Compiler_compileModuleAsync;\n        /**\n         * Same as {\\@link #compileModuleSync} but also creates ComponentFactories for all components.\n         */\n        this.compileModuleAndAllComponentsSync = Compiler_compileModuleAndAllComponentsSync;\n        /**\n         * Same as {\\@link #compileModuleAsync} but also creates ComponentFactories for all components.\n         */\n        this.compileModuleAndAllComponentsAsync = Compiler_compileModuleAndAllComponentsAsync;\n    }\n    /**\n     * Clears all caches.\n     * @return {?}\n     */\n    clearCache() { }\n    /**\n     * Clears the cache for the given component/ngModule.\n     * @param {?} type\n     * @return {?}\n     */\n    clearCacheFor(type) { }\n    /**\n     * Returns the id for a given NgModule, if one is defined and known to the compiler.\n     * @param {?} moduleType\n     * @return {?}\n     */\n    getModuleId(moduleType) { return undefined; }\n}\nCompiler.decorators = [\n    { type: Injectable }\n];\nif (false) {}\n/**\n * Token to provide CompilerOptions in the platform injector.\n *\n * \\@publicApi\n * @type {?}\n */\nconst COMPILER_OPTIONS = new InjectionToken('compilerOptions');\n/**\n * A factory for creating a Compiler\n *\n * \\@publicApi\n * @abstract\n */\nclass CompilerFactory {\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * A scope function for the Web Tracing Framework (WTF).\n *\n * \\@publicApi\n * @deprecated the Web Tracing Framework is no longer supported in Angular\n * @record\n */\nfunction WtfScopeFn() { }\n/**\n * @record\n */\nfunction WTF() { }\nif (false) {}\n/**\n * @record\n */\nfunction Trace() { }\nif (false) {}\n/**\n * @record\n */\nfunction Range() { }\n/**\n * @record\n */\nfunction Events() { }\nif (false) {}\n/**\n * @record\n */\nfunction Scope() { }\n/** @type {?} */\nlet trace;\n/** @type {?} */\nlet events;\n/**\n * @return {?}\n */\nfunction detectWTF() {\n    /** @type {?} */\n    const wtf = ((/** @type {?} */ (_global)))['wtf'];\n    if (wtf) {\n        trace = wtf['trace'];\n        if (trace) {\n            events = trace['events'];\n            return true;\n        }\n    }\n    return false;\n}\n/**\n * @param {?} signature\n * @param {?=} flags\n * @return {?}\n */\nfunction createScope(signature, flags = null) {\n    return events.createScope(signature, flags);\n}\n/**\n * @template T\n * @param {?} scope\n * @param {?=} returnValue\n * @return {?}\n */\nfunction leave(scope, returnValue) {\n    trace.leaveScope(scope, returnValue);\n    return returnValue;\n}\n/**\n * @param {?} rangeType\n * @param {?} action\n * @return {?}\n */\nfunction startTimeRange(rangeType, action) {\n    return trace.beginTimeRange(rangeType, action);\n}\n/**\n * @param {?} range\n * @return {?}\n */\nfunction endTimeRange(range) {\n    trace.endTimeRange(range);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * True if WTF is enabled.\n * @type {?}\n */\nconst wtfEnabled = detectWTF();\n/**\n * @param {?=} arg0\n * @param {?=} arg1\n * @return {?}\n */\nfunction noopScope(arg0, arg1) {\n    return null;\n}\n/**\n * Create trace scope.\n *\n * Scopes must be strictly nested and are analogous to stack frames, but\n * do not have to follow the stack frames. Instead it is recommended that they follow logical\n * nesting. You may want to use\n * [Event\n * Signatures](http://google.github.io/tracing-framework/instrumenting-code.html#custom-events)\n * as they are defined in WTF.\n *\n * Used to mark scope entry. The return value is used to leave the scope.\n *\n *     var myScope = wtfCreateScope('MyClass#myMethod(ascii someVal)');\n *\n *     someMethod() {\n *        var s = myScope('Foo'); // 'Foo' gets stored in tracing UI\n *        // DO SOME WORK HERE\n *        return wtfLeave(s, 123); // Return value 123\n *     }\n *\n * Note, adding try-finally block around the work to ensure that `wtfLeave` gets called can\n * negatively impact the performance of your application. For this reason we recommend that\n * you don't add them to ensure that `wtfLeave` gets called. In production `wtfLeave` is a noop and\n * so try-finally block has no value. When debugging perf issues, skipping `wtfLeave`, do to\n * exception, will produce incorrect trace, but presence of exception signifies logic error which\n * needs to be fixed before the app should be profiled. Add try-finally only when you expect that\n * an exception is expected during normal execution while profiling.\n *\n * \\@publicApi\n * @deprecated the Web Tracing Framework is no longer supported in Angular\n * @type {?}\n */\nconst wtfCreateScope = wtfEnabled ? createScope : (/**\n * @param {?} signature\n * @param {?=} flags\n * @return {?}\n */\n(signature, flags) => noopScope);\n/**\n * Used to mark end of Scope.\n *\n * - `scope` to end.\n * - `returnValue` (optional) to be passed to the WTF.\n *\n * Returns the `returnValue for easy chaining.\n * \\@publicApi\n * @deprecated the Web Tracing Framework is no longer supported in Angular\n * @type {?}\n */\nconst wtfLeave = wtfEnabled ? leave : (/**\n * @param {?} s\n * @param {?=} r\n * @return {?}\n */\n(s, r) => r);\n/**\n * Used to mark Async start. Async are similar to scope but they don't have to be strictly nested.\n * The return value is used in the call to [endAsync]. Async ranges only work if WTF has been\n * enabled.\n *\n *     someMethod() {\n *        var s = wtfStartTimeRange('HTTP:GET', 'some.url');\n *        var future = new Future.delay(5).then((_) {\n *          wtfEndTimeRange(s);\n *        });\n *     }\n * \\@publicApi\n * @deprecated the Web Tracing Framework is no longer supported in Angular\n * @type {?}\n */\nconst wtfStartTimeRange = wtfEnabled ? startTimeRange : (/**\n * @param {?} rangeType\n * @param {?} action\n * @return {?}\n */\n(rangeType, action) => null);\n/**\n * Ends a async time range operation.\n * [range] is the return value from [wtfStartTimeRange] Async ranges only work if WTF has been\n * enabled.\n * \\@publicApi\n * @deprecated the Web Tracing Framework is no longer supported in Angular\n * @type {?}\n */\nconst wtfEndTimeRange = wtfEnabled ? endTimeRange : (/**\n * @param {?} r\n * @return {?}\n */\n(r) => null);\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nconst promise = (() => Promise.resolve(0))();\nfunction scheduleMicroTask(fn) {\n    if (typeof Zone === 'undefined') {\n        // use promise to schedule microTask instead of use Zone\n        promise.then(() => { fn && fn.apply(null, null); });\n    }\n    else {\n        Zone.current.scheduleMicroTask('scheduleMicrotask', fn);\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * An injectable service for executing work inside or outside of the Angular zone.\n *\n * The most common use of this service is to optimize performance when starting a work consisting of\n * one or more asynchronous tasks that don't require UI updates or error handling to be handled by\n * Angular. Such tasks can be kicked off via {\\@link #runOutsideAngular} and if needed, these tasks\n * can reenter the Angular zone via {\\@link #run}.\n *\n * <!-- TODO: add/fix links to:\n *   - docs explaining zones and the use of zones in Angular and change-detection\n *   - link to runOutsideAngular/run (throughout this file!)\n *   -->\n *\n * \\@usageNotes\n * ### Example\n *\n * ```\n * import {Component, NgZone} from '\\@angular/core';\n * import {NgIf} from '\\@angular/common';\n *\n * \\@Component({\n *   selector: 'ng-zone-demo',\n *   template: `\n *     <h2>Demo: NgZone</h2>\n *\n *     <p>Progress: {{progress}}%</p>\n *     <p *ngIf=\"progress >= 100\">Done processing {{label}} of Angular zone!</p>\n *\n *     <button (click)=\"processWithinAngularZone()\">Process within Angular zone</button>\n *     <button (click)=\"processOutsideOfAngularZone()\">Process outside of Angular zone</button>\n *   `,\n * })\n * export class NgZoneDemo {\n *   progress: number = 0;\n *   label: string;\n *\n *   constructor(private _ngZone: NgZone) {}\n *\n *   // Loop inside the Angular zone\n *   // so the UI DOES refresh after each setTimeout cycle\n *   processWithinAngularZone() {\n *     this.label = 'inside';\n *     this.progress = 0;\n *     this._increaseProgress(() => console.log('Inside Done!'));\n *   }\n *\n *   // Loop outside of the Angular zone\n *   // so the UI DOES NOT refresh after each setTimeout cycle\n *   processOutsideOfAngularZone() {\n *     this.label = 'outside';\n *     this.progress = 0;\n *     this._ngZone.runOutsideAngular(() => {\n *       this._increaseProgress(() => {\n *         // reenter the Angular zone and display done\n *         this._ngZone.run(() => { console.log('Outside Done!'); });\n *       });\n *     });\n *   }\n *\n *   _increaseProgress(doneCallback: () => void) {\n *     this.progress += 1;\n *     console.log(`Current progress: ${this.progress}%`);\n *\n *     if (this.progress < 100) {\n *       window.setTimeout(() => this._increaseProgress(doneCallback), 10);\n *     } else {\n *       doneCallback();\n *     }\n *   }\n * }\n * ```\n *\n * \\@publicApi\n */\nclass NgZone {\n    /**\n     * @param {?} __0\n     */\n    constructor({ enableLongStackTrace = false }) {\n        this.hasPendingMicrotasks = false;\n        this.hasPendingMacrotasks = false;\n        /**\n         * Whether there are no outstanding microtasks or macrotasks.\n         */\n        this.isStable = true;\n        /**\n         * Notifies when code enters Angular Zone. This gets fired first on VM Turn.\n         */\n        this.onUnstable = new EventEmitter(false);\n        /**\n         * Notifies when there is no more microtasks enqueued in the current VM Turn.\n         * This is a hint for Angular to do change detection, which may enqueue more microtasks.\n         * For this reason this event can fire multiple times per VM Turn.\n         */\n        this.onMicrotaskEmpty = new EventEmitter(false);\n        /**\n         * Notifies when the last `onMicrotaskEmpty` has run and there are no more microtasks, which\n         * implies we are about to relinquish VM turn.\n         * This event gets called just once.\n         */\n        this.onStable = new EventEmitter(false);\n        /**\n         * Notifies that an error has been delivered.\n         */\n        this.onError = new EventEmitter(false);\n        if (typeof Zone == 'undefined') {\n            throw new Error(`In this configuration Angular requires Zone.js`);\n        }\n        Zone.assertZonePatched();\n        /** @type {?} */\n        const self = (/** @type {?} */ ((/** @type {?} */ (this))));\n        self._nesting = 0;\n        self._outer = self._inner = Zone.current;\n        if (((/** @type {?} */ (Zone)))['wtfZoneSpec']) {\n            self._inner = self._inner.fork(((/** @type {?} */ (Zone)))['wtfZoneSpec']);\n        }\n        if (((/** @type {?} */ (Zone)))['TaskTrackingZoneSpec']) {\n            self._inner = self._inner.fork(new ((/** @type {?} */ (((/** @type {?} */ (Zone)))['TaskTrackingZoneSpec']))));\n        }\n        if (enableLongStackTrace && ((/** @type {?} */ (Zone)))['longStackTraceZoneSpec']) {\n            self._inner = self._inner.fork(((/** @type {?} */ (Zone)))['longStackTraceZoneSpec']);\n        }\n        forkInnerZoneWithAngularBehavior(self);\n    }\n    /**\n     * @return {?}\n     */\n    static isInAngularZone() { return Zone.current.get('isAngularZone') === true; }\n    /**\n     * @return {?}\n     */\n    static assertInAngularZone() {\n        if (!NgZone.isInAngularZone()) {\n            throw new Error('Expected to be in Angular Zone, but it is not!');\n        }\n    }\n    /**\n     * @return {?}\n     */\n    static assertNotInAngularZone() {\n        if (NgZone.isInAngularZone()) {\n            throw new Error('Expected to not be in Angular Zone, but it is!');\n        }\n    }\n    /**\n     * Executes the `fn` function synchronously within the Angular zone and returns value returned by\n     * the function.\n     *\n     * Running functions via `run` allows you to reenter Angular zone from a task that was executed\n     * outside of the Angular zone (typically started via {\\@link #runOutsideAngular}).\n     *\n     * Any future tasks or microtasks scheduled from within this function will continue executing from\n     * within the Angular zone.\n     *\n     * If a synchronous error happens it will be rethrown and not reported via `onError`.\n     * @template T\n     * @param {?} fn\n     * @param {?=} applyThis\n     * @param {?=} applyArgs\n     * @return {?}\n     */\n    run(fn, applyThis, applyArgs) {\n        return (/** @type {?} */ (((/** @type {?} */ ((/** @type {?} */ (this)))))._inner.run(fn, applyThis, applyArgs)));\n    }\n    /**\n     * Executes the `fn` function synchronously within the Angular zone as a task and returns value\n     * returned by the function.\n     *\n     * Running functions via `run` allows you to reenter Angular zone from a task that was executed\n     * outside of the Angular zone (typically started via {\\@link #runOutsideAngular}).\n     *\n     * Any future tasks or microtasks scheduled from within this function will continue executing from\n     * within the Angular zone.\n     *\n     * If a synchronous error happens it will be rethrown and not reported via `onError`.\n     * @template T\n     * @param {?} fn\n     * @param {?=} applyThis\n     * @param {?=} applyArgs\n     * @param {?=} name\n     * @return {?}\n     */\n    runTask(fn, applyThis, applyArgs, name) {\n        /** @type {?} */\n        const zone = ((/** @type {?} */ ((/** @type {?} */ (this)))))._inner;\n        /** @type {?} */\n        const task = zone.scheduleEventTask('NgZoneEvent: ' + name, fn, EMPTY_PAYLOAD, noop$1, noop$1);\n        try {\n            return (/** @type {?} */ (zone.runTask(task, applyThis, applyArgs)));\n        }\n        finally {\n            zone.cancelTask(task);\n        }\n    }\n    /**\n     * Same as `run`, except that synchronous errors are caught and forwarded via `onError` and not\n     * rethrown.\n     * @template T\n     * @param {?} fn\n     * @param {?=} applyThis\n     * @param {?=} applyArgs\n     * @return {?}\n     */\n    runGuarded(fn, applyThis, applyArgs) {\n        return (/** @type {?} */ (((/** @type {?} */ ((/** @type {?} */ (this)))))._inner.runGuarded(fn, applyThis, applyArgs)));\n    }\n    /**\n     * Executes the `fn` function synchronously in Angular's parent zone and returns value returned by\n     * the function.\n     *\n     * Running functions via {\\@link #runOutsideAngular} allows you to escape Angular's zone and do\n     * work that\n     * doesn't trigger Angular change-detection or is subject to Angular's error handling.\n     *\n     * Any future tasks or microtasks scheduled from within this function will continue executing from\n     * outside of the Angular zone.\n     *\n     * Use {\\@link #run} to reenter the Angular zone and do work that updates the application model.\n     * @template T\n     * @param {?} fn\n     * @return {?}\n     */\n    runOutsideAngular(fn) {\n        return (/** @type {?} */ (((/** @type {?} */ ((/** @type {?} */ (this)))))._outer.run(fn)));\n    }\n}\nif (false) {}\n/**\n * @return {?}\n */\nfunction noop$1() { }\n/** @type {?} */\nconst EMPTY_PAYLOAD = {};\n/**\n * @record\n */\nfunction NgZonePrivate() { }\nif (false) {}\n/**\n * @param {?} zone\n * @return {?}\n */\nfunction checkStable(zone) {\n    if (zone._nesting == 0 && !zone.hasPendingMicrotasks && !zone.isStable) {\n        try {\n            zone._nesting++;\n            zone.onMicrotaskEmpty.emit(null);\n        }\n        finally {\n            zone._nesting--;\n            if (!zone.hasPendingMicrotasks) {\n                try {\n                    zone.runOutsideAngular((/**\n                     * @return {?}\n                     */\n                    () => zone.onStable.emit(null)));\n                }\n                finally {\n                    zone.isStable = true;\n                }\n            }\n        }\n    }\n}\n/**\n * @param {?} zone\n * @return {?}\n */\nfunction forkInnerZoneWithAngularBehavior(zone) {\n    zone._inner = zone._inner.fork({\n        name: 'angular',\n        properties: (/** @type {?} */ ({ 'isAngularZone': true })),\n        onInvokeTask: (/**\n         * @param {?} delegate\n         * @param {?} current\n         * @param {?} target\n         * @param {?} task\n         * @param {?} applyThis\n         * @param {?} applyArgs\n         * @return {?}\n         */\n        (delegate, current, target, task, applyThis, applyArgs) => {\n            try {\n                onEnter(zone);\n                return delegate.invokeTask(target, task, applyThis, applyArgs);\n            }\n            finally {\n                onLeave(zone);\n            }\n        }),\n        onInvoke: (/**\n         * @param {?} delegate\n         * @param {?} current\n         * @param {?} target\n         * @param {?} callback\n         * @param {?} applyThis\n         * @param {?=} applyArgs\n         * @param {?=} source\n         * @return {?}\n         */\n        (delegate, current, target, callback, applyThis, applyArgs, source) => {\n            try {\n                onEnter(zone);\n                return delegate.invoke(target, callback, applyThis, applyArgs, source);\n            }\n            finally {\n                onLeave(zone);\n            }\n        }),\n        onHasTask: (/**\n         * @param {?} delegate\n         * @param {?} current\n         * @param {?} target\n         * @param {?} hasTaskState\n         * @return {?}\n         */\n        (delegate, current, target, hasTaskState) => {\n            delegate.hasTask(target, hasTaskState);\n            if (current === target) {\n                // We are only interested in hasTask events which originate from our zone\n                // (A child hasTask event is not interesting to us)\n                if (hasTaskState.change == 'microTask') {\n                    zone.hasPendingMicrotasks = hasTaskState.microTask;\n                    checkStable(zone);\n                }\n                else if (hasTaskState.change == 'macroTask') {\n                    zone.hasPendingMacrotasks = hasTaskState.macroTask;\n                }\n            }\n        }),\n        onHandleError: (/**\n         * @param {?} delegate\n         * @param {?} current\n         * @param {?} target\n         * @param {?} error\n         * @return {?}\n         */\n        (delegate, current, target, error) => {\n            delegate.handleError(target, error);\n            zone.runOutsideAngular((/**\n             * @return {?}\n             */\n            () => zone.onError.emit(error)));\n            return false;\n        })\n    });\n}\n/**\n * @param {?} zone\n * @return {?}\n */\nfunction onEnter(zone) {\n    zone._nesting++;\n    if (zone.isStable) {\n        zone.isStable = false;\n        zone.onUnstable.emit(null);\n    }\n}\n/**\n * @param {?} zone\n * @return {?}\n */\nfunction onLeave(zone) {\n    zone._nesting--;\n    checkStable(zone);\n}\n/**\n * Provides a noop implementation of `NgZone` which does nothing. This zone requires explicit calls\n * to framework to perform rendering.\n */\nclass NoopNgZone {\n    constructor() {\n        this.hasPendingMicrotasks = false;\n        this.hasPendingMacrotasks = false;\n        this.isStable = true;\n        this.onUnstable = new EventEmitter();\n        this.onMicrotaskEmpty = new EventEmitter();\n        this.onStable = new EventEmitter();\n        this.onError = new EventEmitter();\n    }\n    /**\n     * @param {?} fn\n     * @return {?}\n     */\n    run(fn) { return fn(); }\n    /**\n     * @param {?} fn\n     * @return {?}\n     */\n    runGuarded(fn) { return fn(); }\n    /**\n     * @param {?} fn\n     * @return {?}\n     */\n    runOutsideAngular(fn) { return fn(); }\n    /**\n     * @template T\n     * @param {?} fn\n     * @return {?}\n     */\n    runTask(fn) { return fn(); }\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @record\n */\nfunction PendingMacrotask() { }\nif (false) {}\n/**\n * @record\n */\nfunction TaskData() { }\nif (false) {}\n/**\n * @record\n */\nfunction WaitCallback() { }\nif (false) {}\n/**\n * The Testability service provides testing hooks that can be accessed from\n * the browser and by services such as Protractor. Each bootstrapped Angular\n * application on the page will have an instance of Testability.\n * \\@publicApi\n */\nclass Testability {\n    /**\n     * @param {?} _ngZone\n     */\n    constructor(_ngZone) {\n        this._ngZone = _ngZone;\n        this._pendingCount = 0;\n        this._isZoneStable = true;\n        /**\n         * Whether any work was done since the last 'whenStable' callback. This is\n         * useful to detect if this could have potentially destabilized another\n         * component while it is stabilizing.\n         * \\@internal\n         */\n        this._didWork = false;\n        this._callbacks = [];\n        this.taskTrackingZone = null;\n        this._watchAngularEvents();\n        _ngZone.run((/**\n         * @return {?}\n         */\n        () => {\n            this.taskTrackingZone =\n                typeof Zone == 'undefined' ? null : Zone.current.get('TaskTrackingZone');\n        }));\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _watchAngularEvents() {\n        this._ngZone.onUnstable.subscribe({\n            next: (/**\n             * @return {?}\n             */\n            () => {\n                this._didWork = true;\n                this._isZoneStable = false;\n            })\n        });\n        this._ngZone.runOutsideAngular((/**\n         * @return {?}\n         */\n        () => {\n            this._ngZone.onStable.subscribe({\n                next: (/**\n                 * @return {?}\n                 */\n                () => {\n                    NgZone.assertNotInAngularZone();\n                    scheduleMicroTask((/**\n                     * @return {?}\n                     */\n                    () => {\n                        this._isZoneStable = true;\n                        this._runCallbacksIfReady();\n                    }));\n                })\n            });\n        }));\n    }\n    /**\n     * Increases the number of pending request\n     * @deprecated pending requests are now tracked with zones.\n     * @return {?}\n     */\n    increasePendingRequestCount() {\n        this._pendingCount += 1;\n        this._didWork = true;\n        return this._pendingCount;\n    }\n    /**\n     * Decreases the number of pending request\n     * @deprecated pending requests are now tracked with zones\n     * @return {?}\n     */\n    decreasePendingRequestCount() {\n        this._pendingCount -= 1;\n        if (this._pendingCount < 0) {\n            throw new Error('pending async requests below zero');\n        }\n        this._runCallbacksIfReady();\n        return this._pendingCount;\n    }\n    /**\n     * Whether an associated application is stable\n     * @return {?}\n     */\n    isStable() {\n        return this._isZoneStable && this._pendingCount === 0 && !this._ngZone.hasPendingMacrotasks;\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _runCallbacksIfReady() {\n        if (this.isStable()) {\n            // Schedules the call backs in a new frame so that it is always async.\n            scheduleMicroTask((/**\n             * @return {?}\n             */\n            () => {\n                while (this._callbacks.length !== 0) {\n                    /** @type {?} */\n                    let cb = (/** @type {?} */ (this._callbacks.pop()));\n                    clearTimeout(cb.timeoutId);\n                    cb.doneCb(this._didWork);\n                }\n                this._didWork = false;\n            }));\n        }\n        else {\n            // Still not stable, send updates.\n            /** @type {?} */\n            let pending = this.getPendingTasks();\n            this._callbacks = this._callbacks.filter((/**\n             * @param {?} cb\n             * @return {?}\n             */\n            (cb) => {\n                if (cb.updateCb && cb.updateCb(pending)) {\n                    clearTimeout(cb.timeoutId);\n                    return false;\n                }\n                return true;\n            }));\n            this._didWork = true;\n        }\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    getPendingTasks() {\n        if (!this.taskTrackingZone) {\n            return [];\n        }\n        // Copy the tasks data so that we don't leak tasks.\n        return this.taskTrackingZone.macroTasks.map((/**\n         * @param {?} t\n         * @return {?}\n         */\n        (t) => {\n            return {\n                source: t.source,\n                // From TaskTrackingZone:\n                // https://github.com/angular/zone.js/blob/master/lib/zone-spec/task-tracking.ts#L40\n                creationLocation: (/** @type {?} */ (((/** @type {?} */ (t))).creationLocation)),\n                data: t.data\n            };\n        }));\n    }\n    /**\n     * @private\n     * @param {?} cb\n     * @param {?=} timeout\n     * @param {?=} updateCb\n     * @return {?}\n     */\n    addCallback(cb, timeout, updateCb) {\n        /** @type {?} */\n        let timeoutId = -1;\n        if (timeout && timeout > 0) {\n            timeoutId = setTimeout((/**\n             * @return {?}\n             */\n            () => {\n                this._callbacks = this._callbacks.filter((/**\n                 * @param {?} cb\n                 * @return {?}\n                 */\n                (cb) => cb.timeoutId !== timeoutId));\n                cb(this._didWork, this.getPendingTasks());\n            }), timeout);\n        }\n        this._callbacks.push((/** @type {?} */ ({ doneCb: cb, timeoutId: timeoutId, updateCb: updateCb })));\n    }\n    /**\n     * Wait for the application to be stable with a timeout. If the timeout is reached before that\n     * happens, the callback receives a list of the macro tasks that were pending, otherwise null.\n     *\n     * @param {?} doneCb The callback to invoke when Angular is stable or the timeout expires\n     *    whichever comes first.\n     * @param {?=} timeout Optional. The maximum time to wait for Angular to become stable. If not\n     *    specified, whenStable() will wait forever.\n     * @param {?=} updateCb Optional. If specified, this callback will be invoked whenever the set of\n     *    pending macrotasks changes. If this callback returns true doneCb will not be invoked\n     *    and no further updates will be issued.\n     * @return {?}\n     */\n    whenStable(doneCb, timeout, updateCb) {\n        if (updateCb && !this.taskTrackingZone) {\n            throw new Error('Task tracking zone is required when passing an update callback to ' +\n                'whenStable(). Is \"zone.js/dist/task-tracking.js\" loaded?');\n        }\n        // These arguments are 'Function' above to keep the public API simple.\n        this.addCallback((/** @type {?} */ (doneCb)), timeout, (/** @type {?} */ (updateCb)));\n        this._runCallbacksIfReady();\n    }\n    /**\n     * Get the number of pending requests\n     * @deprecated pending requests are now tracked with zones\n     * @return {?}\n     */\n    getPendingRequestCount() { return this._pendingCount; }\n    /**\n     * Find providers by name\n     * @param {?} using The root element to search from\n     * @param {?} provider The name of binding variable\n     * @param {?} exactMatch Whether using exactMatch\n     * @return {?}\n     */\n    findProviders(using, provider, exactMatch) {\n        // TODO(juliemr): implement.\n        return [];\n    }\n}\nTestability.decorators = [\n    { type: Injectable }\n];\n/** @nocollapse */\nTestability.ctorParameters = () => [\n    { type: NgZone }\n];\nif (false) {}\n/**\n * A global registry of {\\@link Testability} instances for specific elements.\n * \\@publicApi\n */\nclass TestabilityRegistry {\n    constructor() {\n        /**\n         * \\@internal\n         */\n        this._applications = new Map();\n        _testabilityGetter.addToWindow(this);\n    }\n    /**\n     * Registers an application with a testability hook so that it can be tracked\n     * @param {?} token token of application, root element\n     * @param {?} testability Testability hook\n     * @return {?}\n     */\n    registerApplication(token, testability) {\n        this._applications.set(token, testability);\n    }\n    /**\n     * Unregisters an application.\n     * @param {?} token token of application, root element\n     * @return {?}\n     */\n    unregisterApplication(token) { this._applications.delete(token); }\n    /**\n     * Unregisters all applications\n     * @return {?}\n     */\n    unregisterAllApplications() { this._applications.clear(); }\n    /**\n     * Get a testability hook associated with the application\n     * @param {?} elem root element\n     * @return {?}\n     */\n    getTestability(elem) { return this._applications.get(elem) || null; }\n    /**\n     * Get all registered testabilities\n     * @return {?}\n     */\n    getAllTestabilities() { return Array.from(this._applications.values()); }\n    /**\n     * Get all registered applications(root elements)\n     * @return {?}\n     */\n    getAllRootElements() { return Array.from(this._applications.keys()); }\n    /**\n     * Find testability of a node in the Tree\n     * @param {?} elem node\n     * @param {?=} findInAncestors whether finding testability in ancestors if testability was not found in\n     * current node\n     * @return {?}\n     */\n    findTestabilityInTree(elem, findInAncestors = true) {\n        return _testabilityGetter.findTestabilityInTree(this, elem, findInAncestors);\n    }\n}\nTestabilityRegistry.decorators = [\n    { type: Injectable }\n];\n/** @nocollapse */\nTestabilityRegistry.ctorParameters = () => [];\nif (false) {}\n/**\n * Adapter interface for retrieving the `Testability` service associated for a\n * particular context.\n *\n * \\@publicApi\n * @record\n */\nfunction GetTestability() { }\nif (false) {}\nclass _NoopGetTestability {\n    /**\n     * @param {?} registry\n     * @return {?}\n     */\n    addToWindow(registry) { }\n    /**\n     * @param {?} registry\n     * @param {?} elem\n     * @param {?} findInAncestors\n     * @return {?}\n     */\n    findTestabilityInTree(registry, elem, findInAncestors) {\n        return null;\n    }\n}\n/**\n * Set the {\\@link GetTestability} implementation used by the Angular testing framework.\n * \\@publicApi\n * @param {?} getter\n * @return {?}\n */\nfunction setTestabilityGetter(getter) {\n    _testabilityGetter = getter;\n}\n/** @type {?} */\nlet _testabilityGetter = new _NoopGetTestability();\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nlet _platform;\n/** @type {?} */\nlet compileNgModuleFactory = compileNgModuleFactory__PRE_R3__;\n/**\n * @template M\n * @param {?} injector\n * @param {?} options\n * @param {?} moduleType\n * @return {?}\n */\nfunction compileNgModuleFactory__PRE_R3__(injector, options, moduleType) {\n    /** @type {?} */\n    const compilerFactory = injector.get(CompilerFactory);\n    /** @type {?} */\n    const compiler = compilerFactory.createCompiler([options]);\n    return compiler.compileModuleAsync(moduleType);\n}\n/**\n * @template M\n * @param {?} injector\n * @param {?} options\n * @param {?} moduleType\n * @return {?}\n */\nfunction compileNgModuleFactory__POST_R3__(injector, options, moduleType) {\n    ngDevMode && assertNgModuleType(moduleType);\n    /** @type {?} */\n    const moduleFactory = new NgModuleFactory$1(moduleType);\n    if (isComponentResourceResolutionQueueEmpty()) {\n        return Promise.resolve(moduleFactory);\n    }\n    /** @type {?} */\n    const compilerOptions = injector.get(COMPILER_OPTIONS, []).concat(options);\n    /** @type {?} */\n    const compilerProviders = _mergeArrays(compilerOptions.map((/**\n     * @param {?} o\n     * @return {?}\n     */\n    o => (/** @type {?} */ (o.providers)))));\n    // In case there are no compiler providers, we just return the module factory as\n    // there won't be any resource loader. This can happen with Ivy, because AOT compiled\n    // modules can be still passed through \"bootstrapModule\". In that case we shouldn't\n    // unnecessarily require the JIT compiler.\n    if (compilerProviders.length === 0) {\n        return Promise.resolve(moduleFactory);\n    }\n    /** @type {?} */\n    const compiler = getCompilerFacade();\n    /** @type {?} */\n    const compilerInjector = Injector.create({ providers: compilerProviders });\n    /** @type {?} */\n    const resourceLoader = compilerInjector.get(compiler.ResourceLoader);\n    // The resource loader can also return a string while the \"resolveComponentResources\"\n    // always expects a promise. Therefore we need to wrap the returned value in a promise.\n    return resolveComponentResources((/**\n     * @param {?} url\n     * @return {?}\n     */\n    url => Promise.resolve(resourceLoader.get(url))))\n        .then((/**\n     * @return {?}\n     */\n    () => moduleFactory));\n}\n/** @type {?} */\nlet isBoundToModule = isBoundToModule__PRE_R3__;\n/**\n * @template C\n * @param {?} cf\n * @return {?}\n */\nfunction isBoundToModule__PRE_R3__(cf) {\n    return cf instanceof ComponentFactoryBoundToModule;\n}\n/**\n * @template C\n * @param {?} cf\n * @return {?}\n */\nfunction isBoundToModule__POST_R3__(cf) {\n    return ((/** @type {?} */ (cf))).isBoundToModule;\n}\n/** @type {?} */\nconst ALLOW_MULTIPLE_PLATFORMS = new InjectionToken('AllowMultipleToken');\n/**\n * A token for third-party components that can register themselves with NgProbe.\n *\n * \\@publicApi\n */\nclass NgProbeToken {\n    /**\n     * @param {?} name\n     * @param {?} token\n     */\n    constructor(name, token) {\n        this.name = name;\n        this.token = token;\n    }\n}\nif (false) {}\n/**\n * Creates a platform.\n * Platforms have to be eagerly created via this function.\n *\n * \\@publicApi\n * @param {?} injector\n * @return {?}\n */\nfunction createPlatform(injector) {\n    if (_platform && !_platform.destroyed &&\n        !_platform.injector.get(ALLOW_MULTIPLE_PLATFORMS, false)) {\n        throw new Error('There can be only one platform. Destroy the previous one to create a new one.');\n    }\n    _platform = injector.get(PlatformRef);\n    /** @type {?} */\n    const inits = injector.get(PLATFORM_INITIALIZER, null);\n    if (inits)\n        inits.forEach((/**\n         * @param {?} init\n         * @return {?}\n         */\n        (init) => init()));\n    return _platform;\n}\n/**\n * Creates a factory for a platform\n *\n * \\@publicApi\n * @param {?} parentPlatformFactory\n * @param {?} name\n * @param {?=} providers\n * @return {?}\n */\nfunction createPlatformFactory(parentPlatformFactory, name, providers = []) {\n    /** @type {?} */\n    const desc = `Platform: ${name}`;\n    /** @type {?} */\n    const marker = new InjectionToken(desc);\n    return (/**\n     * @param {?=} extraProviders\n     * @return {?}\n     */\n    (extraProviders = []) => {\n        /** @type {?} */\n        let platform = getPlatform();\n        if (!platform || platform.injector.get(ALLOW_MULTIPLE_PLATFORMS, false)) {\n            if (parentPlatformFactory) {\n                parentPlatformFactory(providers.concat(extraProviders).concat({ provide: marker, useValue: true }));\n            }\n            else {\n                /** @type {?} */\n                const injectedProviders = providers.concat(extraProviders).concat({ provide: marker, useValue: true });\n                createPlatform(Injector.create({ providers: injectedProviders, name: desc }));\n            }\n        }\n        return assertPlatform(marker);\n    });\n}\n/**\n * Checks that there currently is a platform which contains the given token as a provider.\n *\n * \\@publicApi\n * @param {?} requiredToken\n * @return {?}\n */\nfunction assertPlatform(requiredToken) {\n    /** @type {?} */\n    const platform = getPlatform();\n    if (!platform) {\n        throw new Error('No platform exists!');\n    }\n    if (!platform.injector.get(requiredToken, null)) {\n        throw new Error('A platform with a different configuration has been created. Please destroy it first.');\n    }\n    return platform;\n}\n/**\n * Destroy the existing platform.\n *\n * \\@publicApi\n * @return {?}\n */\nfunction destroyPlatform() {\n    if (_platform && !_platform.destroyed) {\n        _platform.destroy();\n    }\n}\n/**\n * Returns the current platform.\n *\n * \\@publicApi\n * @return {?}\n */\nfunction getPlatform() {\n    return _platform && !_platform.destroyed ? _platform : null;\n}\n/**\n * Provides additional options to the bootstraping process.\n *\n *\n * @record\n */\nfunction BootstrapOptions() { }\nif (false) {}\n/**\n * The Angular platform is the entry point for Angular on a web page. Each page\n * has exactly one platform, and services (such as reflection) which are common\n * to every Angular application running on the page are bound in its scope.\n *\n * A page's platform is initialized implicitly when a platform is created via a platform factory\n * (e.g. {\\@link platformBrowser}), or explicitly by calling the {\\@link createPlatform} function.\n *\n * \\@publicApi\n */\nclass PlatformRef {\n    /**\n     * \\@internal\n     * @param {?} _injector\n     */\n    constructor(_injector) {\n        this._injector = _injector;\n        this._modules = [];\n        this._destroyListeners = [];\n        this._destroyed = false;\n    }\n    /**\n     * Creates an instance of an `\\@NgModule` for the given platform\n     * for offline compilation.\n     *\n     * \\@usageNotes\n     * ### Simple Example\n     *\n     * ```typescript\n     * my_module.ts:\n     *\n     * \\@NgModule({\n     *   imports: [BrowserModule]\n     * })\n     * class MyModule {}\n     *\n     * main.ts:\n     * import {MyModuleNgFactory} from './my_module.ngfactory';\n     * import {platformBrowser} from '\\@angular/platform-browser';\n     *\n     * let moduleRef = platformBrowser().bootstrapModuleFactory(MyModuleNgFactory);\n     * ```\n     * @template M\n     * @param {?} moduleFactory\n     * @param {?=} options\n     * @return {?}\n     */\n    bootstrapModuleFactory(moduleFactory, options) {\n        // Note: We need to create the NgZone _before_ we instantiate the module,\n        // as instantiating the module creates some providers eagerly.\n        // So we create a mini parent injector that just contains the new NgZone and\n        // pass that as parent to the NgModuleFactory.\n        /** @type {?} */\n        const ngZoneOption = options ? options.ngZone : undefined;\n        /** @type {?} */\n        const ngZone = getNgZone(ngZoneOption);\n        /** @type {?} */\n        const providers = [{ provide: NgZone, useValue: ngZone }];\n        // Attention: Don't use ApplicationRef.run here,\n        // as we want to be sure that all possible constructor calls are inside `ngZone.run`!\n        return ngZone.run((/**\n         * @return {?}\n         */\n        () => {\n            /** @type {?} */\n            const ngZoneInjector = Injector.create({ providers: providers, parent: this.injector, name: moduleFactory.moduleType.name });\n            /** @type {?} */\n            const moduleRef = (/** @type {?} */ (moduleFactory.create(ngZoneInjector)));\n            /** @type {?} */\n            const exceptionHandler = moduleRef.injector.get(ErrorHandler, null);\n            if (!exceptionHandler) {\n                throw new Error('No ErrorHandler. Is platform module (BrowserModule) included?');\n            }\n            // If the `LOCALE_ID` provider is defined at bootstrap we set the value for runtime i18n (ivy)\n            if (ivyEnabled) {\n                /** @type {?} */\n                const localeId = moduleRef.injector.get(LOCALE_ID$1, DEFAULT_LOCALE_ID);\n                setLocaleId(localeId || DEFAULT_LOCALE_ID);\n            }\n            moduleRef.onDestroy((/**\n             * @return {?}\n             */\n            () => remove(this._modules, moduleRef)));\n            (/** @type {?} */ (ngZone)).runOutsideAngular((/**\n             * @return {?}\n             */\n            () => (/** @type {?} */ (ngZone)).onError.subscribe({ next: (/**\n                 * @param {?} error\n                 * @return {?}\n                 */\n                (error) => { exceptionHandler.handleError(error); }) })));\n            return _callAndReportToErrorHandler(exceptionHandler, (/** @type {?} */ (ngZone)), (/**\n             * @return {?}\n             */\n            () => {\n                /** @type {?} */\n                const initStatus = moduleRef.injector.get(ApplicationInitStatus);\n                initStatus.runInitializers();\n                return initStatus.donePromise.then((/**\n                 * @return {?}\n                 */\n                () => {\n                    this._moduleDoBootstrap(moduleRef);\n                    return moduleRef;\n                }));\n            }));\n        }));\n    }\n    /**\n     * Creates an instance of an `\\@NgModule` for a given platform using the given runtime compiler.\n     *\n     * \\@usageNotes\n     * ### Simple Example\n     *\n     * ```typescript\n     * \\@NgModule({\n     *   imports: [BrowserModule]\n     * })\n     * class MyModule {}\n     *\n     * let moduleRef = platformBrowser().bootstrapModule(MyModule);\n     * ```\n     *\n     * @template M\n     * @param {?} moduleType\n     * @param {?=} compilerOptions\n     * @return {?}\n     */\n    bootstrapModule(moduleType, compilerOptions = []) {\n        /** @type {?} */\n        const options = optionsReducer({}, compilerOptions);\n        return compileNgModuleFactory(this.injector, options, moduleType)\n            .then((/**\n         * @param {?} moduleFactory\n         * @return {?}\n         */\n        moduleFactory => this.bootstrapModuleFactory(moduleFactory, options)));\n    }\n    /**\n     * @private\n     * @param {?} moduleRef\n     * @return {?}\n     */\n    _moduleDoBootstrap(moduleRef) {\n        /** @type {?} */\n        const appRef = (/** @type {?} */ (moduleRef.injector.get(ApplicationRef)));\n        if (moduleRef._bootstrapComponents.length > 0) {\n            moduleRef._bootstrapComponents.forEach((/**\n             * @param {?} f\n             * @return {?}\n             */\n            f => appRef.bootstrap(f)));\n        }\n        else if (moduleRef.instance.ngDoBootstrap) {\n            moduleRef.instance.ngDoBootstrap(appRef);\n        }\n        else {\n            throw new Error(`The module ${stringify(moduleRef.instance.constructor)} was bootstrapped, but it does not declare \"@NgModule.bootstrap\" components nor a \"ngDoBootstrap\" method. ` +\n                `Please define one of these.`);\n        }\n        this._modules.push(moduleRef);\n    }\n    /**\n     * Register a listener to be called when the platform is disposed.\n     * @param {?} callback\n     * @return {?}\n     */\n    onDestroy(callback) { this._destroyListeners.push(callback); }\n    /**\n     * Retrieve the platform {\\@link Injector}, which is the parent injector for\n     * every Angular application on the page and provides singleton providers.\n     * @return {?}\n     */\n    get injector() { return this._injector; }\n    /**\n     * Destroy the Angular platform and all Angular applications on the page.\n     * @return {?}\n     */\n    destroy() {\n        if (this._destroyed) {\n            throw new Error('The platform has already been destroyed!');\n        }\n        this._modules.slice().forEach((/**\n         * @param {?} module\n         * @return {?}\n         */\n        module => module.destroy()));\n        this._destroyListeners.forEach((/**\n         * @param {?} listener\n         * @return {?}\n         */\n        listener => listener()));\n        this._destroyed = true;\n    }\n    /**\n     * @return {?}\n     */\n    get destroyed() { return this._destroyed; }\n}\nPlatformRef.decorators = [\n    { type: Injectable }\n];\n/** @nocollapse */\nPlatformRef.ctorParameters = () => [\n    { type: Injector }\n];\nif (false) {}\n/**\n * @param {?=} ngZoneOption\n * @return {?}\n */\nfunction getNgZone(ngZoneOption) {\n    /** @type {?} */\n    let ngZone;\n    if (ngZoneOption === 'noop') {\n        ngZone = new NoopNgZone();\n    }\n    else {\n        ngZone = (ngZoneOption === 'zone.js' ? undefined : ngZoneOption) ||\n            new NgZone({ enableLongStackTrace: isDevMode() });\n    }\n    return ngZone;\n}\n/**\n * @param {?} errorHandler\n * @param {?} ngZone\n * @param {?} callback\n * @return {?}\n */\nfunction _callAndReportToErrorHandler(errorHandler, ngZone, callback) {\n    try {\n        /** @type {?} */\n        const result = callback();\n        if (isPromise(result)) {\n            return result.catch((/**\n             * @param {?} e\n             * @return {?}\n             */\n            (e) => {\n                ngZone.runOutsideAngular((/**\n                 * @return {?}\n                 */\n                () => errorHandler.handleError(e)));\n                // rethrow as the exception handler might not do it\n                throw e;\n            }));\n        }\n        return result;\n    }\n    catch (e) {\n        ngZone.runOutsideAngular((/**\n         * @return {?}\n         */\n        () => errorHandler.handleError(e)));\n        // rethrow as the exception handler might not do it\n        throw e;\n    }\n}\n/**\n * @template T\n * @param {?} dst\n * @param {?} objs\n * @return {?}\n */\nfunction optionsReducer(dst, objs) {\n    if (Array.isArray(objs)) {\n        dst = objs.reduce(optionsReducer, dst);\n    }\n    else {\n        dst = Object.assign({}, dst, ((/** @type {?} */ (objs))));\n    }\n    return dst;\n}\n/**\n * A reference to an Angular application running on a page.\n *\n * \\@usageNotes\n *\n * {\\@a is-stable-examples}\n * ### isStable examples and caveats\n *\n * Note two important points about `isStable`, demonstrated in the examples below:\n * - the application will never be stable if you start any kind\n * of recurrent asynchronous task when the application starts\n * (for example for a polling process, started with a `setInterval`, a `setTimeout`\n * or using RxJS operators like `interval`);\n * - the `isStable` Observable runs outside of the Angular zone.\n *\n * Let's imagine that you start a recurrent task\n * (here incrementing a counter, using RxJS `interval`),\n * and at the same time subscribe to `isStable`.\n *\n * ```\n * constructor(appRef: ApplicationRef) {\n *   appRef.isStable.pipe(\n *      filter(stable => stable)\n *   ).subscribe(() => console.log('App is stable now');\n *   interval(1000).subscribe(counter => console.log(counter));\n * }\n * ```\n * In this example, `isStable` will never emit `true`,\n * and the trace \"App is stable now\" will never get logged.\n *\n * If you want to execute something when the app is stable,\n * you have to wait for the application to be stable\n * before starting your polling process.\n *\n * ```\n * constructor(appRef: ApplicationRef) {\n *   appRef.isStable.pipe(\n *     first(stable => stable),\n *     tap(stable => console.log('App is stable now')),\n *     switchMap(() => interval(1000))\n *   ).subscribe(counter => console.log(counter));\n * }\n * ```\n * In this example, the trace \"App is stable now\" will be logged\n * and then the counter starts incrementing every second.\n *\n * Note also that this Observable runs outside of the Angular zone,\n * which means that the code in the subscription\n * to this Observable will not trigger the change detection.\n *\n * Let's imagine that instead of logging the counter value,\n * you update a field of your component\n * and display it in its template.\n *\n * ```\n * constructor(appRef: ApplicationRef) {\n *   appRef.isStable.pipe(\n *     first(stable => stable),\n *     switchMap(() => interval(1000))\n *   ).subscribe(counter => this.value = counter);\n * }\n * ```\n * As the `isStable` Observable runs outside the zone,\n * the `value` field will be updated properly,\n * but the template will not be refreshed!\n *\n * You'll have to manually trigger the change detection to update the template.\n *\n * ```\n * constructor(appRef: ApplicationRef, cd: ChangeDetectorRef) {\n *   appRef.isStable.pipe(\n *     first(stable => stable),\n *     switchMap(() => interval(1000))\n *   ).subscribe(counter => {\n *     this.value = counter;\n *     cd.detectChanges();\n *   });\n * }\n * ```\n *\n * Or make the subscription callback run inside the zone.\n *\n * ```\n * constructor(appRef: ApplicationRef, zone: NgZone) {\n *   appRef.isStable.pipe(\n *     first(stable => stable),\n *     switchMap(() => interval(1000))\n *   ).subscribe(counter => zone.run(() => this.value = counter));\n * }\n * ```\n *\n * \\@publicApi\n */\nclass ApplicationRef {\n    /**\n     * \\@internal\n     * @param {?} _zone\n     * @param {?} _console\n     * @param {?} _injector\n     * @param {?} _exceptionHandler\n     * @param {?} _componentFactoryResolver\n     * @param {?} _initStatus\n     */\n    constructor(_zone, _console, _injector, _exceptionHandler, _componentFactoryResolver, _initStatus) {\n        this._zone = _zone;\n        this._console = _console;\n        this._injector = _injector;\n        this._exceptionHandler = _exceptionHandler;\n        this._componentFactoryResolver = _componentFactoryResolver;\n        this._initStatus = _initStatus;\n        this._bootstrapListeners = [];\n        this._views = [];\n        this._runningTick = false;\n        this._enforceNoNewChanges = false;\n        this._stable = true;\n        /**\n         * Get a list of component types registered to this application.\n         * This list is populated even before the component is created.\n         */\n        this.componentTypes = [];\n        /**\n         * Get a list of components registered to this application.\n         */\n        this.components = [];\n        this._enforceNoNewChanges = isDevMode();\n        this._zone.onMicrotaskEmpty.subscribe({ next: (/**\n             * @return {?}\n             */\n            () => { this._zone.run((/**\n             * @return {?}\n             */\n            () => { this.tick(); })); }) });\n        /** @type {?} */\n        const isCurrentlyStable = new rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"]((/**\n         * @param {?} observer\n         * @return {?}\n         */\n        (observer) => {\n            this._stable = this._zone.isStable && !this._zone.hasPendingMacrotasks &&\n                !this._zone.hasPendingMicrotasks;\n            this._zone.runOutsideAngular((/**\n             * @return {?}\n             */\n            () => {\n                observer.next(this._stable);\n                observer.complete();\n            }));\n        }));\n        /** @type {?} */\n        const isStable = new rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"]((/**\n         * @param {?} observer\n         * @return {?}\n         */\n        (observer) => {\n            // Create the subscription to onStable outside the Angular Zone so that\n            // the callback is run outside the Angular Zone.\n            /** @type {?} */\n            let stableSub;\n            this._zone.runOutsideAngular((/**\n             * @return {?}\n             */\n            () => {\n                stableSub = this._zone.onStable.subscribe((/**\n                 * @return {?}\n                 */\n                () => {\n                    NgZone.assertNotInAngularZone();\n                    // Check whether there are no pending macro/micro tasks in the next tick\n                    // to allow for NgZone to update the state.\n                    scheduleMicroTask((/**\n                     * @return {?}\n                     */\n                    () => {\n                        if (!this._stable && !this._zone.hasPendingMacrotasks &&\n                            !this._zone.hasPendingMicrotasks) {\n                            this._stable = true;\n                            observer.next(true);\n                        }\n                    }));\n                }));\n            }));\n            /** @type {?} */\n            const unstableSub = this._zone.onUnstable.subscribe((/**\n             * @return {?}\n             */\n            () => {\n                NgZone.assertInAngularZone();\n                if (this._stable) {\n                    this._stable = false;\n                    this._zone.runOutsideAngular((/**\n                     * @return {?}\n                     */\n                    () => { observer.next(false); }));\n                }\n            }));\n            return (/**\n             * @return {?}\n             */\n            () => {\n                stableSub.unsubscribe();\n                unstableSub.unsubscribe();\n            });\n        }));\n        ((/** @type {?} */ (this))).isStable =\n            Object(rxjs__WEBPACK_IMPORTED_MODULE_0__[\"merge\"])(isCurrentlyStable, isStable.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"share\"])()));\n    }\n    /**\n     * Bootstrap a new component at the root level of the application.\n     *\n     * \\@usageNotes\n     * ### Bootstrap process\n     *\n     * When bootstrapping a new root component into an application, Angular mounts the\n     * specified application component onto DOM elements identified by the componentType's\n     * selector and kicks off automatic change detection to finish initializing the component.\n     *\n     * Optionally, a component can be mounted onto a DOM element that does not match the\n     * componentType's selector.\n     *\n     * ### Example\n     * {\\@example core/ts/platform/platform.ts region='longform'}\n     * @template C\n     * @param {?} componentOrFactory\n     * @param {?=} rootSelectorOrNode\n     * @return {?}\n     */\n    bootstrap(componentOrFactory, rootSelectorOrNode) {\n        if (!this._initStatus.done) {\n            throw new Error('Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.');\n        }\n        /** @type {?} */\n        let componentFactory;\n        if (componentOrFactory instanceof ComponentFactory) {\n            componentFactory = componentOrFactory;\n        }\n        else {\n            componentFactory =\n                (/** @type {?} */ (this._componentFactoryResolver.resolveComponentFactory(componentOrFactory)));\n        }\n        this.componentTypes.push(componentFactory.componentType);\n        // Create a factory associated with the current module if it's not bound to some other\n        /** @type {?} */\n        const ngModule = isBoundToModule(componentFactory) ? null : this._injector.get(NgModuleRef);\n        /** @type {?} */\n        const selectorOrNode = rootSelectorOrNode || componentFactory.selector;\n        /** @type {?} */\n        const compRef = componentFactory.create(Injector.NULL, [], selectorOrNode, ngModule);\n        compRef.onDestroy((/**\n         * @return {?}\n         */\n        () => { this._unloadComponent(compRef); }));\n        /** @type {?} */\n        const testability = compRef.injector.get(Testability, null);\n        if (testability) {\n            compRef.injector.get(TestabilityRegistry)\n                .registerApplication(compRef.location.nativeElement, testability);\n        }\n        this._loadComponent(compRef);\n        if (isDevMode()) {\n            this._console.log(`Angular is running in the development mode. Call enableProdMode() to enable the production mode.`);\n        }\n        return compRef;\n    }\n    /**\n     * Invoke this method to explicitly process change detection and its side-effects.\n     *\n     * In development mode, `tick()` also performs a second change detection cycle to ensure that no\n     * further changes are detected. If additional changes are picked up during this second cycle,\n     * bindings in the app have side-effects that cannot be resolved in a single change detection\n     * pass.\n     * In this case, Angular throws an error, since an Angular application can only have one change\n     * detection pass during which all change detection must complete.\n     * @return {?}\n     */\n    tick() {\n        if (this._runningTick) {\n            throw new Error('ApplicationRef.tick is called recursively');\n        }\n        /** @type {?} */\n        const scope = ApplicationRef._tickScope();\n        try {\n            this._runningTick = true;\n            for (let view of this._views) {\n                view.detectChanges();\n            }\n            if (this._enforceNoNewChanges) {\n                for (let view of this._views) {\n                    view.checkNoChanges();\n                }\n            }\n        }\n        catch (e) {\n            // Attention: Don't rethrow as it could cancel subscriptions to Observables!\n            this._zone.runOutsideAngular((/**\n             * @return {?}\n             */\n            () => this._exceptionHandler.handleError(e)));\n        }\n        finally {\n            this._runningTick = false;\n            wtfLeave(scope);\n        }\n    }\n    /**\n     * Attaches a view so that it will be dirty checked.\n     * The view will be automatically detached when it is destroyed.\n     * This will throw if the view is already attached to a ViewContainer.\n     * @param {?} viewRef\n     * @return {?}\n     */\n    attachView(viewRef) {\n        /** @type {?} */\n        const view = ((/** @type {?} */ (viewRef)));\n        this._views.push(view);\n        view.attachToAppRef(this);\n    }\n    /**\n     * Detaches a view from dirty checking again.\n     * @param {?} viewRef\n     * @return {?}\n     */\n    detachView(viewRef) {\n        /** @type {?} */\n        const view = ((/** @type {?} */ (viewRef)));\n        remove(this._views, view);\n        view.detachFromAppRef();\n    }\n    /**\n     * @private\n     * @param {?} componentRef\n     * @return {?}\n     */\n    _loadComponent(componentRef) {\n        this.attachView(componentRef.hostView);\n        this.tick();\n        this.components.push(componentRef);\n        // Get the listeners lazily to prevent DI cycles.\n        /** @type {?} */\n        const listeners = this._injector.get(APP_BOOTSTRAP_LISTENER, []).concat(this._bootstrapListeners);\n        listeners.forEach((/**\n         * @param {?} listener\n         * @return {?}\n         */\n        (listener) => listener(componentRef)));\n    }\n    /**\n     * @private\n     * @param {?} componentRef\n     * @return {?}\n     */\n    _unloadComponent(componentRef) {\n        this.detachView(componentRef.hostView);\n        remove(this.components, componentRef);\n    }\n    /**\n     * \\@internal\n     * @return {?}\n     */\n    ngOnDestroy() {\n        // TODO(alxhub): Dispose of the NgZone.\n        this._views.slice().forEach((/**\n         * @param {?} view\n         * @return {?}\n         */\n        (view) => view.destroy()));\n    }\n    /**\n     * Returns the number of attached views.\n     * @return {?}\n     */\n    get viewCount() { return this._views.length; }\n}\n/**\n * \\@internal\n */\nApplicationRef._tickScope = wtfCreateScope('ApplicationRef#tick()');\nApplicationRef.decorators = [\n    { type: Injectable }\n];\n/** @nocollapse */\nApplicationRef.ctorParameters = () => [\n    { type: NgZone },\n    { type: Console },\n    { type: Injector },\n    { type: ErrorHandler },\n    { type: ComponentFactoryResolver },\n    { type: ApplicationInitStatus }\n];\nif (false) {}\n/**\n * @template T\n * @param {?} list\n * @param {?} el\n * @return {?}\n */\nfunction remove(list, el) {\n    /** @type {?} */\n    const index = list.indexOf(el);\n    if (index > -1) {\n        list.splice(index, 1);\n    }\n}\n/**\n * @param {?} parts\n * @return {?}\n */\nfunction _mergeArrays(parts) {\n    /** @type {?} */\n    const result = [];\n    parts.forEach((/**\n     * @param {?} part\n     * @return {?}\n     */\n    (part) => part && result.push(...part)));\n    return result;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Used to load ng module factories.\n *\n * \\@publicApi\n * @deprecated the `string` form of `loadChildren` is deprecated, and `NgModuleFactoryLoader` is\n * part of its implementation. See `LoadChildren` for more details.\n * @abstract\n */\nclass NgModuleFactoryLoader {\n}\nif (false) {}\n/**\n * @param {?} id\n * @return {?}\n */\nfunction getModuleFactory__PRE_R3__(id) {\n    /** @type {?} */\n    const factory = (/** @type {?} */ (getRegisteredNgModuleType(id)));\n    if (!factory)\n        throw noModuleError(id);\n    return factory;\n}\n/**\n * @param {?} id\n * @return {?}\n */\nfunction getModuleFactory__POST_R3__(id) {\n    /** @type {?} */\n    const type = (/** @type {?} */ (getRegisteredNgModuleType(id)));\n    if (!type)\n        throw noModuleError(id);\n    return new NgModuleFactory$1(type);\n}\n/**\n * Returns the NgModuleFactory with the given id, if it exists and has been loaded.\n * Factories for modules that do not specify an `id` cannot be retrieved. Throws if the module\n * cannot be found.\n * \\@publicApi\n * @type {?}\n */\nconst getModuleFactory = getModuleFactory__PRE_R3__;\n/**\n * @param {?} id\n * @return {?}\n */\nfunction noModuleError(id) {\n    return new Error(`No module with ID ${id} loaded`);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst _SEPARATOR = '#';\n/** @type {?} */\nconst FACTORY_CLASS_SUFFIX = 'NgFactory';\n/**\n * Configuration for SystemJsNgModuleLoader.\n * token.\n *\n * \\@publicApi\n * @deprecated the `string` form of `loadChildren` is deprecated, and `SystemJsNgModuleLoaderConfig`\n * is part of its implementation. See `LoadChildren` for more details.\n * @abstract\n */\nclass SystemJsNgModuleLoaderConfig {\n}\nif (false) {}\n/** @type {?} */\nconst DEFAULT_CONFIG = {\n    factoryPathPrefix: '',\n    factoryPathSuffix: '.ngfactory',\n};\n/**\n * NgModuleFactoryLoader that uses SystemJS to load NgModuleFactory\n * \\@publicApi\n * @deprecated the `string` form of `loadChildren` is deprecated, and `SystemJsNgModuleLoader` is\n * part of its implementation. See `LoadChildren` for more details.\n */\nclass SystemJsNgModuleLoader {\n    /**\n     * @param {?} _compiler\n     * @param {?=} config\n     */\n    constructor(_compiler, config) {\n        this._compiler = _compiler;\n        this._config = config || DEFAULT_CONFIG;\n    }\n    /**\n     * @param {?} path\n     * @return {?}\n     */\n    load(path) {\n        /** @type {?} */\n        const legacyOfflineMode = !ivyEnabled && this._compiler instanceof Compiler;\n        return legacyOfflineMode ? this.loadFactory(path) : this.loadAndCompile(path);\n    }\n    /**\n     * @private\n     * @param {?} path\n     * @return {?}\n     */\n    loadAndCompile(path) {\n        let [module, exportName] = path.split(_SEPARATOR);\n        if (exportName === undefined) {\n            exportName = 'default';\n        }\n        return __webpack_require__(\"./$$_lazy_route_resource lazy recursive\")(module)\n            .then((/**\n         * @param {?} module\n         * @return {?}\n         */\n        (module) => module[exportName]))\n            .then((/**\n         * @param {?} type\n         * @return {?}\n         */\n        (type) => checkNotEmpty(type, module, exportName)))\n            .then((/**\n         * @param {?} type\n         * @return {?}\n         */\n        (type) => this._compiler.compileModuleAsync(type)));\n    }\n    /**\n     * @private\n     * @param {?} path\n     * @return {?}\n     */\n    loadFactory(path) {\n        let [module, exportName] = path.split(_SEPARATOR);\n        /** @type {?} */\n        let factoryClassSuffix = FACTORY_CLASS_SUFFIX;\n        if (exportName === undefined) {\n            exportName = 'default';\n            factoryClassSuffix = '';\n        }\n        return __webpack_require__(\"./$$_lazy_route_resource lazy recursive\")(this._config.factoryPathPrefix + module + this._config.factoryPathSuffix)\n            .then((/**\n         * @param {?} module\n         * @return {?}\n         */\n        (module) => module[exportName + factoryClassSuffix]))\n            .then((/**\n         * @param {?} factory\n         * @return {?}\n         */\n        (factory) => checkNotEmpty(factory, module, exportName)));\n    }\n}\nSystemJsNgModuleLoader.decorators = [\n    { type: Injectable }\n];\n/** @nocollapse */\nSystemJsNgModuleLoader.ctorParameters = () => [\n    { type: Compiler },\n    { type: SystemJsNgModuleLoaderConfig, decorators: [{ type: Optional }] }\n];\nif (false) {}\n/**\n * @param {?} value\n * @param {?} modulePath\n * @param {?} exportName\n * @return {?}\n */\nfunction checkNotEmpty(value, modulePath, exportName) {\n    if (!value) {\n        throw new Error(`Cannot find '${exportName}' in '${modulePath}'`);\n    }\n    return value;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Represents an Angular [view](guide/glossary#view),\n * specifically the [host view](guide/glossary#view-tree) that is defined by a component.\n * Also serves as the base class\n * that adds destroy methods for [embedded views](guide/glossary#view-tree).\n *\n * @see `EmbeddedViewRef`\n *\n * \\@publicApi\n * @abstract\n */\nclass ViewRef$1 extends ChangeDetectorRef {\n}\nif (false) {}\n/**\n * Represents an Angular [view](guide/glossary#view) in a view container.\n * An [embedded view](guide/glossary#view-tree) can be referenced from a component\n * other than the hosting component whose template defines it, or it can be defined\n * independently by a `TemplateRef`.\n *\n * Properties of elements in a view can change, but the structure (number and order) of elements in\n * a view cannot. Change the structure of elements by inserting, moving, or\n * removing nested views in a view container.\n *\n * @see `ViewContainerRef`\n *\n * \\@usageNotes\n *\n * The following template breaks down into two separate `TemplateRef` instances,\n * an outer one and an inner one.\n *\n * ```\n * Count: {{items.length}}\n * <ul>\n *   <li *ngFor=\"let  item of items\">{{item}}</li>\n * </ul>\n * ```\n *\n * This is the outer `TemplateRef`:\n *\n * ```\n * Count: {{items.length}}\n * <ul>\n *   <ng-template ngFor let-item [ngForOf]=\"items\"></ng-template>\n * </ul>\n * ```\n *\n * This is the inner `TemplateRef`:\n *\n * ```\n *   <li>{{item}}</li>\n * ```\n *\n * The outer and inner `TemplateRef` instances are assembled into views as follows:\n *\n * ```\n * <!-- ViewRef: outer-0 -->\n * Count: 2\n * <ul>\n *   <ng-template view-container-ref></ng-template>\n *   <!-- ViewRef: inner-1 --><li>first</li><!-- /ViewRef: inner-1 -->\n *   <!-- ViewRef: inner-2 --><li>second</li><!-- /ViewRef: inner-2 -->\n * </ul>\n * <!-- /ViewRef: outer-0 -->\n * ```\n * \\@publicApi\n * @abstract\n * @template C\n */\nclass EmbeddedViewRef extends ViewRef$1 {\n}\nif (false) {}\n/**\n * @record\n */\nfunction InternalViewRef() { }\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@publicApi\n */\nclass DebugEventListener {\n    /**\n     * @param {?} name\n     * @param {?} callback\n     */\n    constructor(name, callback) {\n        this.name = name;\n        this.callback = callback;\n    }\n}\nif (false) {}\n// WARNING: interface has both a type and a value, skipping emit\nclass DebugNode__PRE_R3__ {\n    /**\n     * @param {?} nativeNode\n     * @param {?} parent\n     * @param {?} _debugContext\n     */\n    constructor(nativeNode, parent, _debugContext) {\n        this.listeners = [];\n        this.parent = null;\n        this._debugContext = _debugContext;\n        this.nativeNode = nativeNode;\n        if (parent && parent instanceof DebugElement__PRE_R3__) {\n            parent.addChild(this);\n        }\n    }\n    /**\n     * @return {?}\n     */\n    get injector() { return this._debugContext.injector; }\n    /**\n     * @return {?}\n     */\n    get componentInstance() { return this._debugContext.component; }\n    /**\n     * @return {?}\n     */\n    get context() { return this._debugContext.context; }\n    /**\n     * @return {?}\n     */\n    get references() { return this._debugContext.references; }\n    /**\n     * @return {?}\n     */\n    get providerTokens() { return this._debugContext.providerTokens; }\n}\nif (false) {}\n// WARNING: interface has both a type and a value, skipping emit\nclass DebugElement__PRE_R3__ extends DebugNode__PRE_R3__ {\n    /**\n     * @param {?} nativeNode\n     * @param {?} parent\n     * @param {?} _debugContext\n     */\n    constructor(nativeNode, parent, _debugContext) {\n        super(nativeNode, parent, _debugContext);\n        this.properties = {};\n        this.attributes = {};\n        this.classes = {};\n        this.styles = {};\n        this.childNodes = [];\n        this.nativeElement = nativeNode;\n    }\n    /**\n     * @param {?} child\n     * @return {?}\n     */\n    addChild(child) {\n        if (child) {\n            this.childNodes.push(child);\n            ((/** @type {?} */ (child))).parent = this;\n        }\n    }\n    /**\n     * @param {?} child\n     * @return {?}\n     */\n    removeChild(child) {\n        /** @type {?} */\n        const childIndex = this.childNodes.indexOf(child);\n        if (childIndex !== -1) {\n            ((/** @type {?} */ (child))).parent = null;\n            this.childNodes.splice(childIndex, 1);\n        }\n    }\n    /**\n     * @param {?} child\n     * @param {?} newChildren\n     * @return {?}\n     */\n    insertChildrenAfter(child, newChildren) {\n        /** @type {?} */\n        const siblingIndex = this.childNodes.indexOf(child);\n        if (siblingIndex !== -1) {\n            this.childNodes.splice(siblingIndex + 1, 0, ...newChildren);\n            newChildren.forEach((/**\n             * @param {?} c\n             * @return {?}\n             */\n            c => {\n                if (c.parent) {\n                    ((/** @type {?} */ (c.parent))).removeChild(c);\n                }\n                ((/** @type {?} */ (child))).parent = this;\n            }));\n        }\n    }\n    /**\n     * @param {?} refChild\n     * @param {?} newChild\n     * @return {?}\n     */\n    insertBefore(refChild, newChild) {\n        /** @type {?} */\n        const refIndex = this.childNodes.indexOf(refChild);\n        if (refIndex === -1) {\n            this.addChild(newChild);\n        }\n        else {\n            if (newChild.parent) {\n                ((/** @type {?} */ (newChild.parent))).removeChild(newChild);\n            }\n            ((/** @type {?} */ (newChild))).parent = this;\n            this.childNodes.splice(refIndex, 0, newChild);\n        }\n    }\n    /**\n     * @param {?} predicate\n     * @return {?}\n     */\n    query(predicate) {\n        /** @type {?} */\n        const results = this.queryAll(predicate);\n        return results[0] || null;\n    }\n    /**\n     * @param {?} predicate\n     * @return {?}\n     */\n    queryAll(predicate) {\n        /** @type {?} */\n        const matches = [];\n        _queryElementChildren(this, predicate, matches);\n        return matches;\n    }\n    /**\n     * @param {?} predicate\n     * @return {?}\n     */\n    queryAllNodes(predicate) {\n        /** @type {?} */\n        const matches = [];\n        _queryNodeChildren(this, predicate, matches);\n        return matches;\n    }\n    /**\n     * @return {?}\n     */\n    get children() {\n        return (/** @type {?} */ (this\n            .childNodes //\n            .filter((/**\n         * @param {?} node\n         * @return {?}\n         */\n        (node) => node instanceof DebugElement__PRE_R3__))));\n    }\n    /**\n     * @param {?} eventName\n     * @param {?} eventObj\n     * @return {?}\n     */\n    triggerEventHandler(eventName, eventObj) {\n        this.listeners.forEach((/**\n         * @param {?} listener\n         * @return {?}\n         */\n        (listener) => {\n            if (listener.name == eventName) {\n                listener.callback(eventObj);\n            }\n        }));\n    }\n}\nif (false) {}\n/**\n * \\@publicApi\n * @param {?} debugEls\n * @return {?}\n */\nfunction asNativeElements(debugEls) {\n    return debugEls.map((/**\n     * @param {?} el\n     * @return {?}\n     */\n    (el) => el.nativeElement));\n}\n/**\n * @param {?} element\n * @param {?} predicate\n * @param {?} matches\n * @return {?}\n */\nfunction _queryElementChildren(element, predicate, matches) {\n    element.childNodes.forEach((/**\n     * @param {?} node\n     * @return {?}\n     */\n    node => {\n        if (node instanceof DebugElement__PRE_R3__) {\n            if (predicate(node)) {\n                matches.push(node);\n            }\n            _queryElementChildren(node, predicate, matches);\n        }\n    }));\n}\n/**\n * @param {?} parentNode\n * @param {?} predicate\n * @param {?} matches\n * @return {?}\n */\nfunction _queryNodeChildren(parentNode, predicate, matches) {\n    if (parentNode instanceof DebugElement__PRE_R3__) {\n        parentNode.childNodes.forEach((/**\n         * @param {?} node\n         * @return {?}\n         */\n        node => {\n            if (predicate(node)) {\n                matches.push(node);\n            }\n            if (node instanceof DebugElement__PRE_R3__) {\n                _queryNodeChildren(node, predicate, matches);\n            }\n        }));\n    }\n}\nclass DebugNode__POST_R3__ {\n    /**\n     * @param {?} nativeNode\n     */\n    constructor(nativeNode) { this.nativeNode = nativeNode; }\n    /**\n     * @return {?}\n     */\n    get parent() {\n        /** @type {?} */\n        const parent = (/** @type {?} */ (this.nativeNode.parentNode));\n        return parent ? new DebugElement__POST_R3__(parent) : null;\n    }\n    /**\n     * @return {?}\n     */\n    get injector() { return getInjector(this.nativeNode); }\n    /**\n     * @return {?}\n     */\n    get componentInstance() {\n        /** @type {?} */\n        const nativeElement = this.nativeNode;\n        return nativeElement &&\n            (getComponent((/** @type {?} */ (nativeElement))) || getViewComponent(nativeElement));\n    }\n    /**\n     * @return {?}\n     */\n    get context() {\n        return getComponent((/** @type {?} */ (this.nativeNode))) || getContext$1((/** @type {?} */ (this.nativeNode)));\n    }\n    /**\n     * @return {?}\n     */\n    get listeners() {\n        return getListeners((/** @type {?} */ (this.nativeNode))).filter(isBrowserEvents);\n    }\n    /**\n     * @return {?}\n     */\n    get references() { return getLocalRefs(this.nativeNode); }\n    /**\n     * @return {?}\n     */\n    get providerTokens() { return getInjectionTokens((/** @type {?} */ (this.nativeNode))); }\n}\nif (false) {}\nclass DebugElement__POST_R3__ extends DebugNode__POST_R3__ {\n    /**\n     * @param {?} nativeNode\n     */\n    constructor(nativeNode) {\n        ngDevMode && assertDomNode(nativeNode);\n        super(nativeNode);\n    }\n    /**\n     * @return {?}\n     */\n    get nativeElement() {\n        return this.nativeNode.nodeType == Node.ELEMENT_NODE ? (/** @type {?} */ (this.nativeNode)) : null;\n    }\n    /**\n     * @return {?}\n     */\n    get name() { return (/** @type {?} */ (this.nativeElement)).nodeName; }\n    /**\n     *  Gets a map of property names to property values for an element.\n     *\n     *  This map includes:\n     *  - Regular property bindings (e.g. `[id]=\"id\"`)\n     *  - Host property bindings (e.g. `host: { '[id]': \"id\" }`)\n     *  - Interpolated property bindings (e.g. `id=\"{{ value }}\")\n     *\n     *  It does not include:\n     *  - input property bindings (e.g. `[myCustomInput]=\"value\"`)\n     *  - attribute bindings (e.g. `[attr.role]=\"menu\"`)\n     * @return {?}\n     */\n    get properties() {\n        /** @type {?} */\n        const context = (/** @type {?} */ (loadLContext(this.nativeNode)));\n        /** @type {?} */\n        const lView = context.lView;\n        /** @type {?} */\n        const tData = lView[TVIEW].data;\n        /** @type {?} */\n        const tNode = (/** @type {?} */ (tData[context.nodeIndex]));\n        /** @type {?} */\n        const properties = collectPropertyBindings(tNode, lView, tData);\n        /** @type {?} */\n        const hostProperties = collectHostPropertyBindings(tNode, lView, tData);\n        /** @type {?} */\n        const className = collectClassNames(this);\n        /** @type {?} */\n        const output = Object.assign({}, properties, hostProperties);\n        if (className) {\n            output['className'] = output['className'] ? output['className'] + ` ${className}` : className;\n        }\n        return output;\n    }\n    /**\n     * @return {?}\n     */\n    get attributes() {\n        /** @type {?} */\n        const attributes = {};\n        /** @type {?} */\n        const element = this.nativeElement;\n        if (!element) {\n            return attributes;\n        }\n        /** @type {?} */\n        const context = loadLContext(element);\n        /** @type {?} */\n        const lView = context.lView;\n        /** @type {?} */\n        const tNodeAttrs = ((/** @type {?} */ (lView[TVIEW].data[context.nodeIndex]))).attrs;\n        /** @type {?} */\n        const lowercaseTNodeAttrs = [];\n        // For debug nodes we take the element's attribute directly from the DOM since it allows us\n        // to account for ones that weren't set via bindings (e.g. ViewEngine keeps track of the ones\n        // that are set through `Renderer2`). The problem is that the browser will lowercase all names,\n        // however since we have the attributes already on the TNode, we can preserve the case by going\n        // through them once, adding them to the `attributes` map and putting their lower-cased name\n        // into an array. Afterwards when we're going through the native DOM attributes, we can check\n        // whether we haven't run into an attribute already through the TNode.\n        if (tNodeAttrs) {\n            /** @type {?} */\n            let i = 0;\n            while (i < tNodeAttrs.length) {\n                /** @type {?} */\n                const attrName = tNodeAttrs[i];\n                // Stop as soon as we hit a marker. We only care about the regular attributes. Everything\n                // else will be handled below when we read the final attributes off the DOM.\n                if (typeof attrName !== 'string')\n                    break;\n                /** @type {?} */\n                const attrValue = tNodeAttrs[i + 1];\n                attributes[attrName] = (/** @type {?} */ (attrValue));\n                lowercaseTNodeAttrs.push(attrName.toLowerCase());\n                i += 2;\n            }\n        }\n        /** @type {?} */\n        const eAttrs = element.attributes;\n        for (let i = 0; i < eAttrs.length; i++) {\n            /** @type {?} */\n            const attr = eAttrs[i];\n            // Make sure that we don't assign the same attribute both in its\n            // case-sensitive form and the lower-cased one from the browser.\n            if (lowercaseTNodeAttrs.indexOf(attr.name) === -1) {\n                attributes[attr.name] = attr.value;\n            }\n        }\n        return attributes;\n    }\n    /**\n     * @return {?}\n     */\n    get styles() {\n        return _getStylingDebugInfo(this.nativeElement, false);\n    }\n    /**\n     * @return {?}\n     */\n    get classes() {\n        return _getStylingDebugInfo(this.nativeElement, true);\n    }\n    /**\n     * @return {?}\n     */\n    get childNodes() {\n        /** @type {?} */\n        const childNodes = this.nativeNode.childNodes;\n        /** @type {?} */\n        const children = [];\n        for (let i = 0; i < childNodes.length; i++) {\n            /** @type {?} */\n            const element = childNodes[i];\n            children.push(getDebugNode__POST_R3__(element));\n        }\n        return children;\n    }\n    /**\n     * @return {?}\n     */\n    get children() {\n        /** @type {?} */\n        const nativeElement = this.nativeElement;\n        if (!nativeElement)\n            return [];\n        /** @type {?} */\n        const childNodes = nativeElement.children;\n        /** @type {?} */\n        const children = [];\n        for (let i = 0; i < childNodes.length; i++) {\n            /** @type {?} */\n            const element = childNodes[i];\n            children.push(getDebugNode__POST_R3__(element));\n        }\n        return children;\n    }\n    /**\n     * @param {?} predicate\n     * @return {?}\n     */\n    query(predicate) {\n        /** @type {?} */\n        const results = this.queryAll(predicate);\n        return results[0] || null;\n    }\n    /**\n     * @param {?} predicate\n     * @return {?}\n     */\n    queryAll(predicate) {\n        /** @type {?} */\n        const matches = [];\n        _queryAllR3(this, predicate, matches, true);\n        return matches;\n    }\n    /**\n     * @param {?} predicate\n     * @return {?}\n     */\n    queryAllNodes(predicate) {\n        /** @type {?} */\n        const matches = [];\n        _queryAllR3(this, predicate, matches, false);\n        return matches;\n    }\n    /**\n     * @param {?} eventName\n     * @param {?} eventObj\n     * @return {?}\n     */\n    triggerEventHandler(eventName, eventObj) {\n        this.listeners.forEach((/**\n         * @param {?} listener\n         * @return {?}\n         */\n        (listener) => {\n            if (listener.name === eventName) {\n                listener.callback(eventObj);\n            }\n        }));\n    }\n}\n/**\n * @param {?} element\n * @param {?} isClassBased\n * @return {?}\n */\nfunction _getStylingDebugInfo(element, isClassBased) {\n    if (element) {\n        /** @type {?} */\n        const context = loadLContextFromNode(element);\n        /** @type {?} */\n        const lView = context.lView;\n        /** @type {?} */\n        const tData = lView[TVIEW].data;\n        /** @type {?} */\n        const tNode = (/** @type {?} */ (tData[context.nodeIndex]));\n        if (isClassBased) {\n            return isStylingContext(tNode.classes) ?\n                new NodeStylingDebug((/** @type {?} */ (tNode.classes)), lView, true).values :\n                stylingMapToStringMap(tNode.classes);\n        }\n        else {\n            return isStylingContext(tNode.styles) ?\n                new NodeStylingDebug((/** @type {?} */ (tNode.styles)), lView, false).values :\n                stylingMapToStringMap(tNode.styles);\n        }\n    }\n    return {};\n}\n/**\n * @param {?} parentElement\n * @param {?} predicate\n * @param {?} matches\n * @param {?} elementsOnly\n * @return {?}\n */\nfunction _queryAllR3(parentElement, predicate, matches, elementsOnly) {\n    /** @type {?} */\n    const context = (/** @type {?} */ (loadLContext(parentElement.nativeNode)));\n    /** @type {?} */\n    const parentTNode = (/** @type {?} */ (context.lView[TVIEW].data[context.nodeIndex]));\n    _queryNodeChildrenR3(parentTNode, context.lView, predicate, matches, elementsOnly, parentElement.nativeNode);\n}\n/**\n * Recursively match the current TNode against the predicate, and goes on with the next ones.\n *\n * @param {?} tNode the current TNode\n * @param {?} lView the LView of this TNode\n * @param {?} predicate the predicate to match\n * @param {?} matches the list of positive matches\n * @param {?} elementsOnly whether only elements should be searched\n * @param {?} rootNativeNode the root native node on which predicate should not be matched\n * @return {?}\n */\nfunction _queryNodeChildrenR3(tNode, lView, predicate, matches, elementsOnly, rootNativeNode) {\n    /** @type {?} */\n    const nativeNode = getNativeByTNodeOrNull(tNode, lView);\n    // For each type of TNode, specific logic is executed.\n    if (tNode.type === 3 /* Element */ || tNode.type === 4 /* ElementContainer */) {\n        // Case 1: the TNode is an element\n        // The native node has to be checked.\n        _addQueryMatchR3(nativeNode, predicate, matches, elementsOnly, rootNativeNode);\n        if (isComponent(tNode)) {\n            // If the element is the host of a component, then all nodes in its view have to be processed.\n            // Note: the component's content (tNode.child) will be processed from the insertion points.\n            /** @type {?} */\n            const componentView = getComponentViewByIndex(tNode.index, lView);\n            if (componentView && componentView[TVIEW].firstChild) {\n                _queryNodeChildrenR3((/** @type {?} */ (componentView[TVIEW].firstChild)), componentView, predicate, matches, elementsOnly, rootNativeNode);\n            }\n        }\n        else {\n            if (tNode.child) {\n                // Otherwise, its children have to be processed.\n                _queryNodeChildrenR3(tNode.child, lView, predicate, matches, elementsOnly, rootNativeNode);\n            }\n            // We also have to query the DOM directly in order to catch elements inserted through\n            // Renderer2. Note that this is __not__ optimal, because we're walking similar trees multiple\n            // times. ViewEngine could do it more efficiently, because all the insertions go through\n            // Renderer2, however that's not the case in Ivy. This approach is being used because:\n            // 1. Matching the ViewEngine behavior would mean potentially introducing a depedency\n            //    from `Renderer2` to Ivy which could bring Ivy code into ViewEngine.\n            // 2. We would have to make `Renderer3` \"know\" about debug nodes.\n            // 3. It allows us to capture nodes that were inserted directly via the DOM.\n            nativeNode && _queryNativeNodeDescendants(nativeNode, predicate, matches, elementsOnly);\n        }\n        // In all cases, if a dynamic container exists for this node, each view inside it has to be\n        // processed.\n        /** @type {?} */\n        const nodeOrContainer = lView[tNode.index];\n        if (isLContainer(nodeOrContainer)) {\n            _queryNodeChildrenInContainerR3(nodeOrContainer, predicate, matches, elementsOnly, rootNativeNode);\n        }\n    }\n    else if (tNode.type === 0 /* Container */) {\n        // Case 2: the TNode is a container\n        // The native node has to be checked.\n        /** @type {?} */\n        const lContainer = lView[tNode.index];\n        _addQueryMatchR3(lContainer[NATIVE], predicate, matches, elementsOnly, rootNativeNode);\n        // Each view inside the container has to be processed.\n        _queryNodeChildrenInContainerR3(lContainer, predicate, matches, elementsOnly, rootNativeNode);\n    }\n    else if (tNode.type === 1 /* Projection */) {\n        // Case 3: the TNode is a projection insertion point (i.e. a <ng-content>).\n        // The nodes projected at this location all need to be processed.\n        /** @type {?} */\n        const componentView = findComponentView((/** @type {?} */ (lView)));\n        /** @type {?} */\n        const componentHost = (/** @type {?} */ (componentView[T_HOST]));\n        /** @type {?} */\n        const head = ((/** @type {?} */ (componentHost.projection)))[(/** @type {?} */ (tNode.projection))];\n        if (Array.isArray(head)) {\n            for (let nativeNode of head) {\n                _addQueryMatchR3(nativeNode, predicate, matches, elementsOnly, rootNativeNode);\n            }\n        }\n        else if (head) {\n            /** @type {?} */\n            const nextLView = (/** @type {?} */ ((/** @type {?} */ (componentView[PARENT]))));\n            /** @type {?} */\n            const nextTNode = (/** @type {?} */ (nextLView[TVIEW].data[head.index]));\n            _queryNodeChildrenR3(nextTNode, nextLView, predicate, matches, elementsOnly, rootNativeNode);\n        }\n    }\n    else if (tNode.child) {\n        // Case 4: the TNode is a view.\n        _queryNodeChildrenR3(tNode.child, lView, predicate, matches, elementsOnly, rootNativeNode);\n    }\n    // We don't want to go to the next sibling of the root node.\n    if (rootNativeNode !== nativeNode) {\n        // To determine the next node to be processed, we need to use the next or the projectionNext\n        // link, depending on whether the current node has been projected.\n        /** @type {?} */\n        const nextTNode = (tNode.flags & 2 /* isProjected */) ? tNode.projectionNext : tNode.next;\n        if (nextTNode) {\n            _queryNodeChildrenR3(nextTNode, lView, predicate, matches, elementsOnly, rootNativeNode);\n        }\n    }\n}\n/**\n * Process all TNodes in a given container.\n *\n * @param {?} lContainer the container to be processed\n * @param {?} predicate the predicate to match\n * @param {?} matches the list of positive matches\n * @param {?} elementsOnly whether only elements should be searched\n * @param {?} rootNativeNode the root native node on which predicate should not be matched\n * @return {?}\n */\nfunction _queryNodeChildrenInContainerR3(lContainer, predicate, matches, elementsOnly, rootNativeNode) {\n    for (let i = CONTAINER_HEADER_OFFSET; i < lContainer.length; i++) {\n        /** @type {?} */\n        const childView = lContainer[i];\n        _queryNodeChildrenR3((/** @type {?} */ (childView[TVIEW].node)), childView, predicate, matches, elementsOnly, rootNativeNode);\n    }\n}\n/**\n * Match the current native node against the predicate.\n *\n * @param {?} nativeNode the current native node\n * @param {?} predicate the predicate to match\n * @param {?} matches the list of positive matches\n * @param {?} elementsOnly whether only elements should be searched\n * @param {?} rootNativeNode the root native node on which predicate should not be matched\n * @return {?}\n */\nfunction _addQueryMatchR3(nativeNode, predicate, matches, elementsOnly, rootNativeNode) {\n    if (rootNativeNode !== nativeNode) {\n        /** @type {?} */\n        const debugNode = getDebugNode(nativeNode);\n        if (!debugNode) {\n            return;\n        }\n        // Type of the \"predicate and \"matches\" array are set based on the value of\n        // the \"elementsOnly\" parameter. TypeScript is not able to properly infer these\n        // types with generics, so we manually cast the parameters accordingly.\n        if (elementsOnly && debugNode instanceof DebugElement__POST_R3__ && predicate(debugNode) &&\n            matches.indexOf(debugNode) === -1) {\n            matches.push(debugNode);\n        }\n        else if (!elementsOnly && ((/** @type {?} */ (predicate)))(debugNode) &&\n            ((/** @type {?} */ (matches))).indexOf(debugNode) === -1) {\n            ((/** @type {?} */ (matches))).push(debugNode);\n        }\n    }\n}\n/**\n * Match all the descendants of a DOM node against a predicate.\n *\n * @param {?} parentNode\n * @param {?} predicate the predicate to match\n * @param {?} matches the list of positive matches\n * @param {?} elementsOnly whether only elements should be searched\n * @return {?}\n */\nfunction _queryNativeNodeDescendants(parentNode, predicate, matches, elementsOnly) {\n    /** @type {?} */\n    const nodes = parentNode.childNodes;\n    /** @type {?} */\n    const length = nodes.length;\n    for (let i = 0; i < length; i++) {\n        /** @type {?} */\n        const node = nodes[i];\n        /** @type {?} */\n        const debugNode = getDebugNode(node);\n        if (debugNode) {\n            if (elementsOnly && debugNode instanceof DebugElement__POST_R3__ && predicate(debugNode) &&\n                matches.indexOf(debugNode) === -1) {\n                matches.push(debugNode);\n            }\n            else if (!elementsOnly && ((/** @type {?} */ (predicate)))(debugNode) &&\n                ((/** @type {?} */ (matches))).indexOf(debugNode) === -1) {\n                ((/** @type {?} */ (matches))).push(debugNode);\n            }\n            _queryNativeNodeDescendants(node, predicate, matches, elementsOnly);\n        }\n    }\n}\n/**\n * Iterates through the property bindings for a given node and generates\n * a map of property names to values. This map only contains property bindings\n * defined in templates, not in host bindings.\n * @param {?} tNode\n * @param {?} lView\n * @param {?} tData\n * @return {?}\n */\nfunction collectPropertyBindings(tNode, lView, tData) {\n    /** @type {?} */\n    const properties = {};\n    /** @type {?} */\n    let bindingIndex = getFirstBindingIndex(tNode.propertyMetadataStartIndex, tData);\n    while (bindingIndex < tNode.propertyMetadataEndIndex) {\n        /** @type {?} */\n        let value;\n        /** @type {?} */\n        let propMetadata = (/** @type {?} */ (tData[bindingIndex]));\n        while (!isPropMetadataString(propMetadata)) {\n            // This is the first value for an interpolation. We need to build up\n            // the full interpolation by combining runtime values in LView with\n            // the static interstitial values stored in TData.\n            value = (value || '') + renderStringify(lView[bindingIndex]) + tData[bindingIndex];\n            propMetadata = (/** @type {?} */ (tData[++bindingIndex]));\n        }\n        value = value === undefined ? lView[bindingIndex] : value += lView[bindingIndex];\n        // Property metadata string has 3 parts: property name, prefix, and suffix\n        /** @type {?} */\n        const metadataParts = propMetadata.split(INTERPOLATION_DELIMITER);\n        /** @type {?} */\n        const propertyName = metadataParts[0];\n        // Attr bindings don't have property names and should be skipped\n        if (propertyName) {\n            // Wrap value with prefix and suffix (will be '' for normal bindings), if they're defined.\n            // Avoid wrapping for normal bindings so that the value doesn't get cast to a string.\n            properties[propertyName] = (metadataParts[1] && metadataParts[2]) ?\n                metadataParts[1] + value + metadataParts[2] :\n                value;\n        }\n        bindingIndex++;\n    }\n    return properties;\n}\n/**\n * Retrieves the first binding index that holds values for this property\n * binding.\n *\n * For normal bindings (e.g. `[id]=\"id\"`), the binding index is the\n * same as the metadata index. For interpolations (e.g. `id=\"{{id}}-{{name}}\"`),\n * there can be multiple binding values, so we might have to loop backwards\n * from the metadata index until we find the first one.\n *\n * @param {?} metadataIndex The index of the first property metadata string for\n * this node.\n * @param {?} tData The data array for the current TView\n * @return {?} The first binding index for this binding\n */\nfunction getFirstBindingIndex(metadataIndex, tData) {\n    /** @type {?} */\n    let currentBindingIndex = metadataIndex - 1;\n    // If the slot before the metadata holds a string, we know that this\n    // metadata applies to an interpolation with at least 2 bindings, and\n    // we need to search further to access the first binding value.\n    /** @type {?} */\n    let currentValue = tData[currentBindingIndex];\n    // We need to iterate until we hit either a:\n    // - TNode (it is an element slot marking the end of `consts` section), OR a\n    // - metadata string (slot is attribute metadata or a previous node's property metadata)\n    while (typeof currentValue === 'string' && !isPropMetadataString(currentValue)) {\n        currentValue = tData[--currentBindingIndex];\n    }\n    return currentBindingIndex + 1;\n}\n/**\n * @param {?} tNode\n * @param {?} lView\n * @param {?} tData\n * @return {?}\n */\nfunction collectHostPropertyBindings(tNode, lView, tData) {\n    /** @type {?} */\n    const properties = {};\n    // Host binding values for a node are stored after directives on that node\n    /** @type {?} */\n    let hostPropIndex = tNode.directiveEnd;\n    /** @type {?} */\n    let propMetadata = (/** @type {?} */ (tData[hostPropIndex]));\n    // When we reach a value in TView.data that is not a string, we know we've\n    // hit the next node's providers and directives and should stop copying data.\n    while (typeof propMetadata === 'string') {\n        /** @type {?} */\n        const propertyName = propMetadata.split(INTERPOLATION_DELIMITER)[0];\n        properties[propertyName] = lView[hostPropIndex];\n        propMetadata = tData[++hostPropIndex];\n    }\n    return properties;\n}\n/**\n * @param {?} debugElement\n * @return {?}\n */\nfunction collectClassNames(debugElement) {\n    /** @type {?} */\n    const classes = debugElement.classes;\n    /** @type {?} */\n    let output = '';\n    for (const className of Object.keys(classes)) {\n        if (classes[className]) {\n            output = output ? output + ` ${className}` : className;\n        }\n    }\n    return output;\n}\n// Need to keep the nodes in a global Map so that multiple angular apps are supported.\n/** @type {?} */\nconst _nativeNodeToDebugNode = new Map();\n/**\n * @param {?} nativeNode\n * @return {?}\n */\nfunction getDebugNode__PRE_R3__(nativeNode) {\n    return _nativeNodeToDebugNode.get(nativeNode) || null;\n}\n/** @type {?} */\nconst NG_DEBUG_PROPERTY = '__ng_debug__';\n/**\n * @param {?} nativeNode\n * @return {?}\n */\nfunction getDebugNode__POST_R3__(nativeNode) {\n    if (nativeNode instanceof Node) {\n        if (!(nativeNode.hasOwnProperty(NG_DEBUG_PROPERTY))) {\n            ((/** @type {?} */ (nativeNode)))[NG_DEBUG_PROPERTY] = nativeNode.nodeType == Node.ELEMENT_NODE ?\n                new DebugElement__POST_R3__((/** @type {?} */ (nativeNode))) :\n                new DebugNode__POST_R3__(nativeNode);\n        }\n        return ((/** @type {?} */ (nativeNode)))[NG_DEBUG_PROPERTY];\n    }\n    return null;\n}\n/**\n * \\@publicApi\n * @type {?}\n */\nconst getDebugNode = getDebugNode__PRE_R3__;\n/**\n * @return {?}\n */\nfunction getAllDebugNodes() {\n    return Array.from(_nativeNodeToDebugNode.values());\n}\n/**\n * @param {?} node\n * @return {?}\n */\nfunction indexDebugNode(node) {\n    _nativeNodeToDebugNode.set(node.nativeNode, node);\n}\n/**\n * @param {?} node\n * @return {?}\n */\nfunction removeDebugNodeFromIndex(node) {\n    _nativeNodeToDebugNode.delete(node.nativeNode);\n}\n/**\n * A boolean-valued function over a value, possibly including context information\n * regarding that value's position in an array.\n *\n * \\@publicApi\n * @record\n * @template T\n */\nfunction Predicate() { }\n/**\n * \\@publicApi\n * @type {?}\n */\nconst DebugNode$1 = DebugNode__PRE_R3__;\n/**\n * \\@publicApi\n * @type {?}\n */\nconst DebugElement = DebugElement__PRE_R3__;\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst _CORE_PLATFORM_PROVIDERS = [\n    // Set a default platform name for platforms that don't set it explicitly.\n    { provide: PLATFORM_ID, useValue: 'unknown' },\n    { provide: PlatformRef, deps: [Injector] },\n    { provide: TestabilityRegistry, deps: [] },\n    { provide: Console, deps: [] },\n];\n/**\n * This platform has to be included in any other platform\n *\n * \\@publicApi\n * @type {?}\n */\nconst platformCore = createPlatformFactory(null, 'core', _CORE_PLATFORM_PROVIDERS);\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @return {?}\n */\nfunction _iterableDiffersFactory() {\n    return defaultIterableDiffers;\n}\n/**\n * @return {?}\n */\nfunction _keyValueDiffersFactory() {\n    return defaultKeyValueDiffers;\n}\n/**\n * @param {?=} locale\n * @return {?}\n */\nfunction _localeFactory(locale) {\n    if (locale) {\n        if (ivyEnabled) {\n            setLocaleId(locale);\n        }\n        return locale;\n    }\n    // Use `goog.LOCALE` as default value for `LOCALE_ID` token for Closure Compiler.\n    // Note: default `goog.LOCALE` value is `en`, when Angular used `en-US`. In order to preserve\n    // backwards compatibility, we use Angular default value over Closure Compiler's one.\n    if (ngI18nClosureMode && typeof goog !== 'undefined' && goog.LOCALE !== 'en') {\n        if (ivyEnabled) {\n            setLocaleId(goog.LOCALE);\n        }\n        return goog.LOCALE;\n    }\n    return DEFAULT_LOCALE_ID;\n}\n/**\n * A built-in [dependency injection token](guide/glossary#di-token)\n * that is used to configure the root injector for bootstrapping.\n * @type {?}\n */\nconst APPLICATION_MODULE_PROVIDERS = [\n    {\n        provide: ApplicationRef,\n        useClass: ApplicationRef,\n        deps: [NgZone, Console, Injector, ErrorHandler, ComponentFactoryResolver, ApplicationInitStatus]\n    },\n    { provide: SCHEDULER, deps: [NgZone], useFactory: zoneSchedulerFactory },\n    {\n        provide: ApplicationInitStatus,\n        useClass: ApplicationInitStatus,\n        deps: [[new Optional(), APP_INITIALIZER]]\n    },\n    { provide: Compiler, useClass: Compiler, deps: [] },\n    APP_ID_RANDOM_PROVIDER,\n    { provide: IterableDiffers, useFactory: _iterableDiffersFactory, deps: [] },\n    { provide: KeyValueDiffers, useFactory: _keyValueDiffersFactory, deps: [] },\n    {\n        provide: LOCALE_ID$1,\n        useFactory: _localeFactory,\n        deps: [[new Inject(LOCALE_ID$1), new Optional(), new SkipSelf()]]\n    },\n];\n/**\n * Schedule work at next available slot.\n *\n * In Ivy this is just `requestAnimationFrame`. For compatibility reasons when bootstrapped\n * using `platformRef.bootstrap` we need to use `NgZone.onStable` as the scheduling mechanism.\n * This overrides the scheduling mechanism in Ivy to `NgZone.onStable`.\n *\n * @param {?} ngZone NgZone to use for scheduling.\n * @return {?}\n */\nfunction zoneSchedulerFactory(ngZone) {\n    /** @type {?} */\n    let queue = [];\n    ngZone.onStable.subscribe((/**\n     * @return {?}\n     */\n    () => {\n        while (queue.length) {\n            (/** @type {?} */ (queue.pop()))();\n        }\n    }));\n    return (/**\n     * @param {?} fn\n     * @return {?}\n     */\n    function (fn) { queue.push(fn); });\n}\n/**\n * Configures the root injector for an app with\n * providers of `\\@angular/core` dependencies that `ApplicationRef` needs\n * to bootstrap components.\n *\n * Re-exported by `BrowserModule`, which is included automatically in the root\n * `AppModule` when you create a new app with the CLI `new` command.\n *\n * \\@publicApi\n */\nclass ApplicationModule {\n    // Inject ApplicationRef to make it eager...\n    /**\n     * @param {?} appRef\n     */\n    constructor(appRef) { }\n}\nApplicationModule.decorators = [\n    { type: NgModule, args: [{ providers: APPLICATION_MODULE_PROVIDERS },] }\n];\n/** @nocollapse */\nApplicationModule.ctorParameters = () => [\n    { type: ApplicationRef }\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @param {?} flags\n * @param {?} matchedQueriesDsl\n * @param {?} ngContentIndex\n * @param {?} childCount\n * @param {?=} handleEvent\n * @param {?=} templateFactory\n * @return {?}\n */\nfunction anchorDef(flags, matchedQueriesDsl, ngContentIndex, childCount, handleEvent, templateFactory) {\n    flags |= 1 /* TypeElement */;\n    const { matchedQueries, references, matchedQueryIds } = splitMatchedQueriesDsl(matchedQueriesDsl);\n    /** @type {?} */\n    const template = templateFactory ? resolveDefinition(templateFactory) : null;\n    return {\n        // will bet set by the view definition\n        nodeIndex: -1,\n        parent: null,\n        renderParent: null,\n        bindingIndex: -1,\n        outputIndex: -1,\n        // regular values\n        flags,\n        checkIndex: -1,\n        childFlags: 0,\n        directChildFlags: 0,\n        childMatchedQueries: 0, matchedQueries, matchedQueryIds, references, ngContentIndex, childCount,\n        bindings: [],\n        bindingFlags: 0,\n        outputs: [],\n        element: {\n            ns: null,\n            name: null,\n            attrs: null, template,\n            componentProvider: null,\n            componentView: null,\n            componentRendererType: null,\n            publicProviders: null,\n            allProviders: null,\n            handleEvent: handleEvent || NOOP\n        },\n        provider: null,\n        text: null,\n        query: null,\n        ngContent: null\n    };\n}\n/**\n * @param {?} checkIndex\n * @param {?} flags\n * @param {?} matchedQueriesDsl\n * @param {?} ngContentIndex\n * @param {?} childCount\n * @param {?} namespaceAndName\n * @param {?=} fixedAttrs\n * @param {?=} bindings\n * @param {?=} outputs\n * @param {?=} handleEvent\n * @param {?=} componentView\n * @param {?=} componentRendererType\n * @return {?}\n */\nfunction elementDef(checkIndex, flags, matchedQueriesDsl, ngContentIndex, childCount, namespaceAndName, fixedAttrs = [], bindings, outputs, handleEvent, componentView, componentRendererType) {\n    if (!handleEvent) {\n        handleEvent = NOOP;\n    }\n    const { matchedQueries, references, matchedQueryIds } = splitMatchedQueriesDsl(matchedQueriesDsl);\n    /** @type {?} */\n    let ns = (/** @type {?} */ (null));\n    /** @type {?} */\n    let name = (/** @type {?} */ (null));\n    if (namespaceAndName) {\n        [ns, name] = splitNamespace(namespaceAndName);\n    }\n    bindings = bindings || [];\n    /** @type {?} */\n    const bindingDefs = new Array(bindings.length);\n    for (let i = 0; i < bindings.length; i++) {\n        const [bindingFlags, namespaceAndName, suffixOrSecurityContext] = bindings[i];\n        const [ns, name] = splitNamespace(namespaceAndName);\n        /** @type {?} */\n        let securityContext = (/** @type {?} */ (undefined));\n        /** @type {?} */\n        let suffix = (/** @type {?} */ (undefined));\n        switch (bindingFlags & 15 /* Types */) {\n            case 4 /* TypeElementStyle */:\n                suffix = (/** @type {?} */ (suffixOrSecurityContext));\n                break;\n            case 1 /* TypeElementAttribute */:\n            case 8 /* TypeProperty */:\n                securityContext = (/** @type {?} */ (suffixOrSecurityContext));\n                break;\n        }\n        bindingDefs[i] =\n            { flags: bindingFlags, ns, name, nonMinifiedName: name, securityContext, suffix };\n    }\n    outputs = outputs || [];\n    /** @type {?} */\n    const outputDefs = new Array(outputs.length);\n    for (let i = 0; i < outputs.length; i++) {\n        const [target, eventName] = outputs[i];\n        outputDefs[i] = {\n            type: 0 /* ElementOutput */,\n            target: (/** @type {?} */ (target)), eventName,\n            propName: null\n        };\n    }\n    fixedAttrs = fixedAttrs || [];\n    /** @type {?} */\n    const attrs = (/** @type {?} */ (fixedAttrs.map((/**\n     * @param {?} __0\n     * @return {?}\n     */\n    ([namespaceAndName, value]) => {\n        const [ns, name] = splitNamespace(namespaceAndName);\n        return [ns, name, value];\n    }))));\n    componentRendererType = resolveRendererType2(componentRendererType);\n    if (componentView) {\n        flags |= 33554432 /* ComponentView */;\n    }\n    flags |= 1 /* TypeElement */;\n    return {\n        // will bet set by the view definition\n        nodeIndex: -1,\n        parent: null,\n        renderParent: null,\n        bindingIndex: -1,\n        outputIndex: -1,\n        // regular values\n        checkIndex,\n        flags,\n        childFlags: 0,\n        directChildFlags: 0,\n        childMatchedQueries: 0, matchedQueries, matchedQueryIds, references, ngContentIndex, childCount,\n        bindings: bindingDefs,\n        bindingFlags: calcBindingFlags(bindingDefs),\n        outputs: outputDefs,\n        element: {\n            ns,\n            name,\n            attrs,\n            template: null,\n            // will bet set by the view definition\n            componentProvider: null,\n            componentView: componentView || null,\n            componentRendererType: componentRendererType,\n            publicProviders: null,\n            allProviders: null,\n            handleEvent: handleEvent || NOOP,\n        },\n        provider: null,\n        text: null,\n        query: null,\n        ngContent: null\n    };\n}\n/**\n * @param {?} view\n * @param {?} renderHost\n * @param {?} def\n * @return {?}\n */\nfunction createElement(view, renderHost, def) {\n    /** @type {?} */\n    const elDef = (/** @type {?} */ (def.element));\n    /** @type {?} */\n    const rootSelectorOrNode = view.root.selectorOrNode;\n    /** @type {?} */\n    const renderer = view.renderer;\n    /** @type {?} */\n    let el;\n    if (view.parent || !rootSelectorOrNode) {\n        if (elDef.name) {\n            el = renderer.createElement(elDef.name, elDef.ns);\n        }\n        else {\n            el = renderer.createComment('');\n        }\n        /** @type {?} */\n        const parentEl = getParentRenderElement(view, renderHost, def);\n        if (parentEl) {\n            renderer.appendChild(parentEl, el);\n        }\n    }\n    else {\n        // when using native Shadow DOM, do not clear the root element contents to allow slot projection\n        /** @type {?} */\n        const preserveContent = (!!elDef.componentRendererType &&\n            elDef.componentRendererType.encapsulation === ViewEncapsulation.ShadowDom);\n        el = renderer.selectRootElement(rootSelectorOrNode, preserveContent);\n    }\n    if (elDef.attrs) {\n        for (let i = 0; i < elDef.attrs.length; i++) {\n            const [ns, name, value] = elDef.attrs[i];\n            renderer.setAttribute(el, name, value, ns);\n        }\n    }\n    return el;\n}\n/**\n * @param {?} view\n * @param {?} compView\n * @param {?} def\n * @param {?} el\n * @return {?}\n */\nfunction listenToElementOutputs(view, compView, def, el) {\n    for (let i = 0; i < def.outputs.length; i++) {\n        /** @type {?} */\n        const output = def.outputs[i];\n        /** @type {?} */\n        const handleEventClosure = renderEventHandlerClosure(view, def.nodeIndex, elementEventFullName(output.target, output.eventName));\n        /** @type {?} */\n        let listenTarget = output.target;\n        /** @type {?} */\n        let listenerView = view;\n        if (output.target === 'component') {\n            listenTarget = null;\n            listenerView = compView;\n        }\n        /** @type {?} */\n        const disposable = (/** @type {?} */ (listenerView.renderer.listen(listenTarget || el, output.eventName, handleEventClosure)));\n        (/** @type {?} */ (view.disposables))[def.outputIndex + i] = disposable;\n    }\n}\n/**\n * @param {?} view\n * @param {?} index\n * @param {?} eventName\n * @return {?}\n */\nfunction renderEventHandlerClosure(view, index, eventName) {\n    return (/**\n     * @param {?} event\n     * @return {?}\n     */\n    (event) => dispatchEvent(view, index, eventName, event));\n}\n/**\n * @param {?} view\n * @param {?} def\n * @param {?} v0\n * @param {?} v1\n * @param {?} v2\n * @param {?} v3\n * @param {?} v4\n * @param {?} v5\n * @param {?} v6\n * @param {?} v7\n * @param {?} v8\n * @param {?} v9\n * @return {?}\n */\nfunction checkAndUpdateElementInline(view, def, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9) {\n    /** @type {?} */\n    const bindLen = def.bindings.length;\n    /** @type {?} */\n    let changed = false;\n    if (bindLen > 0 && checkAndUpdateElementValue(view, def, 0, v0))\n        changed = true;\n    if (bindLen > 1 && checkAndUpdateElementValue(view, def, 1, v1))\n        changed = true;\n    if (bindLen > 2 && checkAndUpdateElementValue(view, def, 2, v2))\n        changed = true;\n    if (bindLen > 3 && checkAndUpdateElementValue(view, def, 3, v3))\n        changed = true;\n    if (bindLen > 4 && checkAndUpdateElementValue(view, def, 4, v4))\n        changed = true;\n    if (bindLen > 5 && checkAndUpdateElementValue(view, def, 5, v5))\n        changed = true;\n    if (bindLen > 6 && checkAndUpdateElementValue(view, def, 6, v6))\n        changed = true;\n    if (bindLen > 7 && checkAndUpdateElementValue(view, def, 7, v7))\n        changed = true;\n    if (bindLen > 8 && checkAndUpdateElementValue(view, def, 8, v8))\n        changed = true;\n    if (bindLen > 9 && checkAndUpdateElementValue(view, def, 9, v9))\n        changed = true;\n    return changed;\n}\n/**\n * @param {?} view\n * @param {?} def\n * @param {?} values\n * @return {?}\n */\nfunction checkAndUpdateElementDynamic(view, def, values) {\n    /** @type {?} */\n    let changed = false;\n    for (let i = 0; i < values.length; i++) {\n        if (checkAndUpdateElementValue(view, def, i, values[i]))\n            changed = true;\n    }\n    return changed;\n}\n/**\n * @param {?} view\n * @param {?} def\n * @param {?} bindingIdx\n * @param {?} value\n * @return {?}\n */\nfunction checkAndUpdateElementValue(view, def, bindingIdx, value) {\n    if (!checkAndUpdateBinding(view, def, bindingIdx, value)) {\n        return false;\n    }\n    /** @type {?} */\n    const binding = def.bindings[bindingIdx];\n    /** @type {?} */\n    const elData = asElementData(view, def.nodeIndex);\n    /** @type {?} */\n    const renderNode = elData.renderElement;\n    /** @type {?} */\n    const name = (/** @type {?} */ (binding.name));\n    switch (binding.flags & 15 /* Types */) {\n        case 1 /* TypeElementAttribute */:\n            setElementAttribute(view, binding, renderNode, binding.ns, name, value);\n            break;\n        case 2 /* TypeElementClass */:\n            setElementClass(view, renderNode, name, value);\n            break;\n        case 4 /* TypeElementStyle */:\n            setElementStyle(view, binding, renderNode, name, value);\n            break;\n        case 8 /* TypeProperty */:\n            /** @type {?} */\n            const bindView = (def.flags & 33554432 /* ComponentView */ &&\n                binding.flags & 32 /* SyntheticHostProperty */) ?\n                elData.componentView :\n                view;\n            setElementProperty(bindView, binding, renderNode, name, value);\n            break;\n    }\n    return true;\n}\n/**\n * @param {?} view\n * @param {?} binding\n * @param {?} renderNode\n * @param {?} ns\n * @param {?} name\n * @param {?} value\n * @return {?}\n */\nfunction setElementAttribute(view, binding, renderNode, ns, name, value) {\n    /** @type {?} */\n    const securityContext = binding.securityContext;\n    /** @type {?} */\n    let renderValue = securityContext ? view.root.sanitizer.sanitize(securityContext, value) : value;\n    renderValue = renderValue != null ? renderValue.toString() : null;\n    /** @type {?} */\n    const renderer = view.renderer;\n    if (value != null) {\n        renderer.setAttribute(renderNode, name, renderValue, ns);\n    }\n    else {\n        renderer.removeAttribute(renderNode, name, ns);\n    }\n}\n/**\n * @param {?} view\n * @param {?} renderNode\n * @param {?} name\n * @param {?} value\n * @return {?}\n */\nfunction setElementClass(view, renderNode, name, value) {\n    /** @type {?} */\n    const renderer = view.renderer;\n    if (value) {\n        renderer.addClass(renderNode, name);\n    }\n    else {\n        renderer.removeClass(renderNode, name);\n    }\n}\n/**\n * @param {?} view\n * @param {?} binding\n * @param {?} renderNode\n * @param {?} name\n * @param {?} value\n * @return {?}\n */\nfunction setElementStyle(view, binding, renderNode, name, value) {\n    /** @type {?} */\n    let renderValue = view.root.sanitizer.sanitize(SecurityContext.STYLE, (/** @type {?} */ (value)));\n    if (renderValue != null) {\n        renderValue = renderValue.toString();\n        /** @type {?} */\n        const unit = binding.suffix;\n        if (unit != null) {\n            renderValue = renderValue + unit;\n        }\n    }\n    else {\n        renderValue = null;\n    }\n    /** @type {?} */\n    const renderer = view.renderer;\n    if (renderValue != null) {\n        renderer.setStyle(renderNode, name, renderValue);\n    }\n    else {\n        renderer.removeStyle(renderNode, name);\n    }\n}\n/**\n * @param {?} view\n * @param {?} binding\n * @param {?} renderNode\n * @param {?} name\n * @param {?} value\n * @return {?}\n */\nfunction setElementProperty(view, binding, renderNode, name, value) {\n    /** @type {?} */\n    const securityContext = binding.securityContext;\n    /** @type {?} */\n    let renderValue = securityContext ? view.root.sanitizer.sanitize(securityContext, value) : value;\n    view.renderer.setProperty(renderNode, name, renderValue);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @param {?} flags\n * @param {?} id\n * @param {?} bindings\n * @return {?}\n */\nfunction queryDef(flags, id, bindings) {\n    /** @type {?} */\n    let bindingDefs = [];\n    for (let propName in bindings) {\n        /** @type {?} */\n        const bindingType = bindings[propName];\n        bindingDefs.push({ propName, bindingType });\n    }\n    return {\n        // will bet set by the view definition\n        nodeIndex: -1,\n        parent: null,\n        renderParent: null,\n        bindingIndex: -1,\n        outputIndex: -1,\n        // regular values\n        // TODO(vicb): check\n        checkIndex: -1, flags,\n        childFlags: 0,\n        directChildFlags: 0,\n        childMatchedQueries: 0,\n        ngContentIndex: -1,\n        matchedQueries: {},\n        matchedQueryIds: 0,\n        references: {},\n        childCount: 0,\n        bindings: [],\n        bindingFlags: 0,\n        outputs: [],\n        element: null,\n        provider: null,\n        text: null,\n        query: { id, filterId: filterQueryId(id), bindings: bindingDefs },\n        ngContent: null\n    };\n}\n/**\n * @return {?}\n */\nfunction createQuery() {\n    return new QueryList();\n}\n/**\n * @param {?} view\n * @return {?}\n */\nfunction dirtyParentQueries(view) {\n    /** @type {?} */\n    const queryIds = view.def.nodeMatchedQueries;\n    while (view.parent && isEmbeddedView(view)) {\n        /** @type {?} */\n        let tplDef = (/** @type {?} */ (view.parentNodeDef));\n        view = view.parent;\n        // content queries\n        /** @type {?} */\n        const end = tplDef.nodeIndex + tplDef.childCount;\n        for (let i = 0; i <= end; i++) {\n            /** @type {?} */\n            const nodeDef = view.def.nodes[i];\n            if ((nodeDef.flags & 67108864 /* TypeContentQuery */) &&\n                (nodeDef.flags & 536870912 /* DynamicQuery */) &&\n                ((/** @type {?} */ (nodeDef.query)).filterId & queryIds) === (/** @type {?} */ (nodeDef.query)).filterId) {\n                asQueryList(view, i).setDirty();\n            }\n            if ((nodeDef.flags & 1 /* TypeElement */ && i + nodeDef.childCount < tplDef.nodeIndex) ||\n                !(nodeDef.childFlags & 67108864 /* TypeContentQuery */) ||\n                !(nodeDef.childFlags & 536870912 /* DynamicQuery */)) {\n                // skip elements that don't contain the template element or no query.\n                i += nodeDef.childCount;\n            }\n        }\n    }\n    // view queries\n    if (view.def.nodeFlags & 134217728 /* TypeViewQuery */) {\n        for (let i = 0; i < view.def.nodes.length; i++) {\n            /** @type {?} */\n            const nodeDef = view.def.nodes[i];\n            if ((nodeDef.flags & 134217728 /* TypeViewQuery */) && (nodeDef.flags & 536870912 /* DynamicQuery */)) {\n                asQueryList(view, i).setDirty();\n            }\n            // only visit the root nodes\n            i += nodeDef.childCount;\n        }\n    }\n}\n/**\n * @param {?} view\n * @param {?} nodeDef\n * @return {?}\n */\nfunction checkAndUpdateQuery(view, nodeDef) {\n    /** @type {?} */\n    const queryList = asQueryList(view, nodeDef.nodeIndex);\n    if (!queryList.dirty) {\n        return;\n    }\n    /** @type {?} */\n    let directiveInstance;\n    /** @type {?} */\n    let newValues = (/** @type {?} */ (undefined));\n    if (nodeDef.flags & 67108864 /* TypeContentQuery */) {\n        /** @type {?} */\n        const elementDef = (/** @type {?} */ ((/** @type {?} */ (nodeDef.parent)).parent));\n        newValues = calcQueryValues(view, elementDef.nodeIndex, elementDef.nodeIndex + elementDef.childCount, (/** @type {?} */ (nodeDef.query)), []);\n        directiveInstance = asProviderData(view, (/** @type {?} */ (nodeDef.parent)).nodeIndex).instance;\n    }\n    else if (nodeDef.flags & 134217728 /* TypeViewQuery */) {\n        newValues = calcQueryValues(view, 0, view.def.nodes.length - 1, (/** @type {?} */ (nodeDef.query)), []);\n        directiveInstance = view.component;\n    }\n    queryList.reset(newValues);\n    /** @type {?} */\n    const bindings = (/** @type {?} */ (nodeDef.query)).bindings;\n    /** @type {?} */\n    let notify = false;\n    for (let i = 0; i < bindings.length; i++) {\n        /** @type {?} */\n        const binding = bindings[i];\n        /** @type {?} */\n        let boundValue;\n        switch (binding.bindingType) {\n            case 0 /* First */:\n                boundValue = queryList.first;\n                break;\n            case 1 /* All */:\n                boundValue = queryList;\n                notify = true;\n                break;\n        }\n        directiveInstance[binding.propName] = boundValue;\n    }\n    if (notify) {\n        queryList.notifyOnChanges();\n    }\n}\n/**\n * @param {?} view\n * @param {?} startIndex\n * @param {?} endIndex\n * @param {?} queryDef\n * @param {?} values\n * @return {?}\n */\nfunction calcQueryValues(view, startIndex, endIndex, queryDef, values) {\n    for (let i = startIndex; i <= endIndex; i++) {\n        /** @type {?} */\n        const nodeDef = view.def.nodes[i];\n        /** @type {?} */\n        const valueType = nodeDef.matchedQueries[queryDef.id];\n        if (valueType != null) {\n            values.push(getQueryValue(view, nodeDef, valueType));\n        }\n        if (nodeDef.flags & 1 /* TypeElement */ && (/** @type {?} */ (nodeDef.element)).template &&\n            ((/** @type {?} */ ((/** @type {?} */ (nodeDef.element)).template)).nodeMatchedQueries & queryDef.filterId) ===\n                queryDef.filterId) {\n            /** @type {?} */\n            const elementData = asElementData(view, i);\n            // check embedded views that were attached at the place of their template,\n            // but process child nodes first if some match the query (see issue #16568)\n            if ((nodeDef.childMatchedQueries & queryDef.filterId) === queryDef.filterId) {\n                calcQueryValues(view, i + 1, i + nodeDef.childCount, queryDef, values);\n                i += nodeDef.childCount;\n            }\n            if (nodeDef.flags & 16777216 /* EmbeddedViews */) {\n                /** @type {?} */\n                const embeddedViews = (/** @type {?} */ (elementData.viewContainer))._embeddedViews;\n                for (let k = 0; k < embeddedViews.length; k++) {\n                    /** @type {?} */\n                    const embeddedView = embeddedViews[k];\n                    /** @type {?} */\n                    const dvc = declaredViewContainer(embeddedView);\n                    if (dvc && dvc === elementData) {\n                        calcQueryValues(embeddedView, 0, embeddedView.def.nodes.length - 1, queryDef, values);\n                    }\n                }\n            }\n            /** @type {?} */\n            const projectedViews = elementData.template._projectedViews;\n            if (projectedViews) {\n                for (let k = 0; k < projectedViews.length; k++) {\n                    /** @type {?} */\n                    const projectedView = projectedViews[k];\n                    calcQueryValues(projectedView, 0, projectedView.def.nodes.length - 1, queryDef, values);\n                }\n            }\n        }\n        if ((nodeDef.childMatchedQueries & queryDef.filterId) !== queryDef.filterId) {\n            // if no child matches the query, skip the children.\n            i += nodeDef.childCount;\n        }\n    }\n    return values;\n}\n/**\n * @param {?} view\n * @param {?} nodeDef\n * @param {?} queryValueType\n * @return {?}\n */\nfunction getQueryValue(view, nodeDef, queryValueType) {\n    if (queryValueType != null) {\n        // a match\n        switch (queryValueType) {\n            case 1 /* RenderElement */:\n                return asElementData(view, nodeDef.nodeIndex).renderElement;\n            case 0 /* ElementRef */:\n                return new ElementRef(asElementData(view, nodeDef.nodeIndex).renderElement);\n            case 2 /* TemplateRef */:\n                return asElementData(view, nodeDef.nodeIndex).template;\n            case 3 /* ViewContainerRef */:\n                return asElementData(view, nodeDef.nodeIndex).viewContainer;\n            case 4 /* Provider */:\n                return asProviderData(view, nodeDef.nodeIndex).instance;\n        }\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @param {?} ngContentIndex\n * @param {?} index\n * @return {?}\n */\nfunction ngContentDef(ngContentIndex, index) {\n    return {\n        // will bet set by the view definition\n        nodeIndex: -1,\n        parent: null,\n        renderParent: null,\n        bindingIndex: -1,\n        outputIndex: -1,\n        // regular values\n        checkIndex: -1,\n        flags: 8 /* TypeNgContent */,\n        childFlags: 0,\n        directChildFlags: 0,\n        childMatchedQueries: 0,\n        matchedQueries: {},\n        matchedQueryIds: 0,\n        references: {}, ngContentIndex,\n        childCount: 0,\n        bindings: [],\n        bindingFlags: 0,\n        outputs: [],\n        element: null,\n        provider: null,\n        text: null,\n        query: null,\n        ngContent: { index }\n    };\n}\n/**\n * @param {?} view\n * @param {?} renderHost\n * @param {?} def\n * @return {?}\n */\nfunction appendNgContent(view, renderHost, def) {\n    /** @type {?} */\n    const parentEl = getParentRenderElement(view, renderHost, def);\n    if (!parentEl) {\n        // Nothing to do if there is no parent element.\n        return;\n    }\n    /** @type {?} */\n    const ngContentIndex = (/** @type {?} */ (def.ngContent)).index;\n    visitProjectedRenderNodes(view, ngContentIndex, 1 /* AppendChild */, parentEl, null, undefined);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @param {?} checkIndex\n * @param {?} argCount\n * @return {?}\n */\nfunction purePipeDef(checkIndex, argCount) {\n    // argCount + 1 to include the pipe as first arg\n    return _pureExpressionDef(128 /* TypePurePipe */, checkIndex, new Array(argCount + 1));\n}\n/**\n * @param {?} checkIndex\n * @param {?} argCount\n * @return {?}\n */\nfunction pureArrayDef(checkIndex, argCount) {\n    return _pureExpressionDef(32 /* TypePureArray */, checkIndex, new Array(argCount));\n}\n/**\n * @param {?} checkIndex\n * @param {?} propToIndex\n * @return {?}\n */\nfunction pureObjectDef(checkIndex, propToIndex) {\n    /** @type {?} */\n    const keys = Object.keys(propToIndex);\n    /** @type {?} */\n    const nbKeys = keys.length;\n    /** @type {?} */\n    const propertyNames = new Array(nbKeys);\n    for (let i = 0; i < nbKeys; i++) {\n        /** @type {?} */\n        const key = keys[i];\n        /** @type {?} */\n        const index = propToIndex[key];\n        propertyNames[index] = key;\n    }\n    return _pureExpressionDef(64 /* TypePureObject */, checkIndex, propertyNames);\n}\n/**\n * @param {?} flags\n * @param {?} checkIndex\n * @param {?} propertyNames\n * @return {?}\n */\nfunction _pureExpressionDef(flags, checkIndex, propertyNames) {\n    /** @type {?} */\n    const bindings = new Array(propertyNames.length);\n    for (let i = 0; i < propertyNames.length; i++) {\n        /** @type {?} */\n        const prop = propertyNames[i];\n        bindings[i] = {\n            flags: 8 /* TypeProperty */,\n            name: prop,\n            ns: null,\n            nonMinifiedName: prop,\n            securityContext: null,\n            suffix: null\n        };\n    }\n    return {\n        // will bet set by the view definition\n        nodeIndex: -1,\n        parent: null,\n        renderParent: null,\n        bindingIndex: -1,\n        outputIndex: -1,\n        // regular values\n        checkIndex,\n        flags,\n        childFlags: 0,\n        directChildFlags: 0,\n        childMatchedQueries: 0,\n        matchedQueries: {},\n        matchedQueryIds: 0,\n        references: {},\n        ngContentIndex: -1,\n        childCount: 0, bindings,\n        bindingFlags: calcBindingFlags(bindings),\n        outputs: [],\n        element: null,\n        provider: null,\n        text: null,\n        query: null,\n        ngContent: null\n    };\n}\n/**\n * @param {?} view\n * @param {?} def\n * @return {?}\n */\nfunction createPureExpression(view, def) {\n    return { value: undefined };\n}\n/**\n * @param {?} view\n * @param {?} def\n * @param {?} v0\n * @param {?} v1\n * @param {?} v2\n * @param {?} v3\n * @param {?} v4\n * @param {?} v5\n * @param {?} v6\n * @param {?} v7\n * @param {?} v8\n * @param {?} v9\n * @return {?}\n */\nfunction checkAndUpdatePureExpressionInline(view, def, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9) {\n    /** @type {?} */\n    const bindings = def.bindings;\n    /** @type {?} */\n    let changed = false;\n    /** @type {?} */\n    const bindLen = bindings.length;\n    if (bindLen > 0 && checkAndUpdateBinding(view, def, 0, v0))\n        changed = true;\n    if (bindLen > 1 && checkAndUpdateBinding(view, def, 1, v1))\n        changed = true;\n    if (bindLen > 2 && checkAndUpdateBinding(view, def, 2, v2))\n        changed = true;\n    if (bindLen > 3 && checkAndUpdateBinding(view, def, 3, v3))\n        changed = true;\n    if (bindLen > 4 && checkAndUpdateBinding(view, def, 4, v4))\n        changed = true;\n    if (bindLen > 5 && checkAndUpdateBinding(view, def, 5, v5))\n        changed = true;\n    if (bindLen > 6 && checkAndUpdateBinding(view, def, 6, v6))\n        changed = true;\n    if (bindLen > 7 && checkAndUpdateBinding(view, def, 7, v7))\n        changed = true;\n    if (bindLen > 8 && checkAndUpdateBinding(view, def, 8, v8))\n        changed = true;\n    if (bindLen > 9 && checkAndUpdateBinding(view, def, 9, v9))\n        changed = true;\n    if (changed) {\n        /** @type {?} */\n        const data = asPureExpressionData(view, def.nodeIndex);\n        /** @type {?} */\n        let value;\n        switch (def.flags & 201347067 /* Types */) {\n            case 32 /* TypePureArray */:\n                value = new Array(bindings.length);\n                if (bindLen > 0)\n                    value[0] = v0;\n                if (bindLen > 1)\n                    value[1] = v1;\n                if (bindLen > 2)\n                    value[2] = v2;\n                if (bindLen > 3)\n                    value[3] = v3;\n                if (bindLen > 4)\n                    value[4] = v4;\n                if (bindLen > 5)\n                    value[5] = v5;\n                if (bindLen > 6)\n                    value[6] = v6;\n                if (bindLen > 7)\n                    value[7] = v7;\n                if (bindLen > 8)\n                    value[8] = v8;\n                if (bindLen > 9)\n                    value[9] = v9;\n                break;\n            case 64 /* TypePureObject */:\n                value = {};\n                if (bindLen > 0)\n                    value[(/** @type {?} */ (bindings[0].name))] = v0;\n                if (bindLen > 1)\n                    value[(/** @type {?} */ (bindings[1].name))] = v1;\n                if (bindLen > 2)\n                    value[(/** @type {?} */ (bindings[2].name))] = v2;\n                if (bindLen > 3)\n                    value[(/** @type {?} */ (bindings[3].name))] = v3;\n                if (bindLen > 4)\n                    value[(/** @type {?} */ (bindings[4].name))] = v4;\n                if (bindLen > 5)\n                    value[(/** @type {?} */ (bindings[5].name))] = v5;\n                if (bindLen > 6)\n                    value[(/** @type {?} */ (bindings[6].name))] = v6;\n                if (bindLen > 7)\n                    value[(/** @type {?} */ (bindings[7].name))] = v7;\n                if (bindLen > 8)\n                    value[(/** @type {?} */ (bindings[8].name))] = v8;\n                if (bindLen > 9)\n                    value[(/** @type {?} */ (bindings[9].name))] = v9;\n                break;\n            case 128 /* TypePurePipe */:\n                /** @type {?} */\n                const pipe = v0;\n                switch (bindLen) {\n                    case 1:\n                        value = pipe.transform(v0);\n                        break;\n                    case 2:\n                        value = pipe.transform(v1);\n                        break;\n                    case 3:\n                        value = pipe.transform(v1, v2);\n                        break;\n                    case 4:\n                        value = pipe.transform(v1, v2, v3);\n                        break;\n                    case 5:\n                        value = pipe.transform(v1, v2, v3, v4);\n                        break;\n                    case 6:\n                        value = pipe.transform(v1, v2, v3, v4, v5);\n                        break;\n                    case 7:\n                        value = pipe.transform(v1, v2, v3, v4, v5, v6);\n                        break;\n                    case 8:\n                        value = pipe.transform(v1, v2, v3, v4, v5, v6, v7);\n                        break;\n                    case 9:\n                        value = pipe.transform(v1, v2, v3, v4, v5, v6, v7, v8);\n                        break;\n                    case 10:\n                        value = pipe.transform(v1, v2, v3, v4, v5, v6, v7, v8, v9);\n                        break;\n                }\n                break;\n        }\n        data.value = value;\n    }\n    return changed;\n}\n/**\n * @param {?} view\n * @param {?} def\n * @param {?} values\n * @return {?}\n */\nfunction checkAndUpdatePureExpressionDynamic(view, def, values) {\n    /** @type {?} */\n    const bindings = def.bindings;\n    /** @type {?} */\n    let changed = false;\n    for (let i = 0; i < values.length; i++) {\n        // Note: We need to loop over all values, so that\n        // the old values are updates as well!\n        if (checkAndUpdateBinding(view, def, i, values[i])) {\n            changed = true;\n        }\n    }\n    if (changed) {\n        /** @type {?} */\n        const data = asPureExpressionData(view, def.nodeIndex);\n        /** @type {?} */\n        let value;\n        switch (def.flags & 201347067 /* Types */) {\n            case 32 /* TypePureArray */:\n                value = values;\n                break;\n            case 64 /* TypePureObject */:\n                value = {};\n                for (let i = 0; i < values.length; i++) {\n                    value[(/** @type {?} */ (bindings[i].name))] = values[i];\n                }\n                break;\n            case 128 /* TypePurePipe */:\n                /** @type {?} */\n                const pipe = values[0];\n                /** @type {?} */\n                const params = values.slice(1);\n                value = ((/** @type {?} */ (pipe.transform)))(...params);\n                break;\n        }\n        data.value = value;\n    }\n    return changed;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @param {?} checkIndex\n * @param {?} ngContentIndex\n * @param {?} staticText\n * @return {?}\n */\nfunction textDef(checkIndex, ngContentIndex, staticText) {\n    /** @type {?} */\n    const bindings = new Array(staticText.length - 1);\n    for (let i = 1; i < staticText.length; i++) {\n        bindings[i - 1] = {\n            flags: 8 /* TypeProperty */,\n            name: null,\n            ns: null,\n            nonMinifiedName: null,\n            securityContext: null,\n            suffix: staticText[i],\n        };\n    }\n    return {\n        // will bet set by the view definition\n        nodeIndex: -1,\n        parent: null,\n        renderParent: null,\n        bindingIndex: -1,\n        outputIndex: -1,\n        // regular values\n        checkIndex,\n        flags: 2 /* TypeText */,\n        childFlags: 0,\n        directChildFlags: 0,\n        childMatchedQueries: 0,\n        matchedQueries: {},\n        matchedQueryIds: 0,\n        references: {}, ngContentIndex,\n        childCount: 0, bindings,\n        bindingFlags: 8 /* TypeProperty */,\n        outputs: [],\n        element: null,\n        provider: null,\n        text: { prefix: staticText[0] },\n        query: null,\n        ngContent: null,\n    };\n}\n/**\n * @param {?} view\n * @param {?} renderHost\n * @param {?} def\n * @return {?}\n */\nfunction createText(view, renderHost, def) {\n    /** @type {?} */\n    let renderNode;\n    /** @type {?} */\n    const renderer = view.renderer;\n    renderNode = renderer.createText((/** @type {?} */ (def.text)).prefix);\n    /** @type {?} */\n    const parentEl = getParentRenderElement(view, renderHost, def);\n    if (parentEl) {\n        renderer.appendChild(parentEl, renderNode);\n    }\n    return { renderText: renderNode };\n}\n/**\n * @param {?} view\n * @param {?} def\n * @param {?} v0\n * @param {?} v1\n * @param {?} v2\n * @param {?} v3\n * @param {?} v4\n * @param {?} v5\n * @param {?} v6\n * @param {?} v7\n * @param {?} v8\n * @param {?} v9\n * @return {?}\n */\nfunction checkAndUpdateTextInline(view, def, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9) {\n    /** @type {?} */\n    let changed = false;\n    /** @type {?} */\n    const bindings = def.bindings;\n    /** @type {?} */\n    const bindLen = bindings.length;\n    if (bindLen > 0 && checkAndUpdateBinding(view, def, 0, v0))\n        changed = true;\n    if (bindLen > 1 && checkAndUpdateBinding(view, def, 1, v1))\n        changed = true;\n    if (bindLen > 2 && checkAndUpdateBinding(view, def, 2, v2))\n        changed = true;\n    if (bindLen > 3 && checkAndUpdateBinding(view, def, 3, v3))\n        changed = true;\n    if (bindLen > 4 && checkAndUpdateBinding(view, def, 4, v4))\n        changed = true;\n    if (bindLen > 5 && checkAndUpdateBinding(view, def, 5, v5))\n        changed = true;\n    if (bindLen > 6 && checkAndUpdateBinding(view, def, 6, v6))\n        changed = true;\n    if (bindLen > 7 && checkAndUpdateBinding(view, def, 7, v7))\n        changed = true;\n    if (bindLen > 8 && checkAndUpdateBinding(view, def, 8, v8))\n        changed = true;\n    if (bindLen > 9 && checkAndUpdateBinding(view, def, 9, v9))\n        changed = true;\n    if (changed) {\n        /** @type {?} */\n        let value = (/** @type {?} */ (def.text)).prefix;\n        if (bindLen > 0)\n            value += _addInterpolationPart(v0, bindings[0]);\n        if (bindLen > 1)\n            value += _addInterpolationPart(v1, bindings[1]);\n        if (bindLen > 2)\n            value += _addInterpolationPart(v2, bindings[2]);\n        if (bindLen > 3)\n            value += _addInterpolationPart(v3, bindings[3]);\n        if (bindLen > 4)\n            value += _addInterpolationPart(v4, bindings[4]);\n        if (bindLen > 5)\n            value += _addInterpolationPart(v5, bindings[5]);\n        if (bindLen > 6)\n            value += _addInterpolationPart(v6, bindings[6]);\n        if (bindLen > 7)\n            value += _addInterpolationPart(v7, bindings[7]);\n        if (bindLen > 8)\n            value += _addInterpolationPart(v8, bindings[8]);\n        if (bindLen > 9)\n            value += _addInterpolationPart(v9, bindings[9]);\n        /** @type {?} */\n        const renderNode = asTextData(view, def.nodeIndex).renderText;\n        view.renderer.setValue(renderNode, value);\n    }\n    return changed;\n}\n/**\n * @param {?} view\n * @param {?} def\n * @param {?} values\n * @return {?}\n */\nfunction checkAndUpdateTextDynamic(view, def, values) {\n    /** @type {?} */\n    const bindings = def.bindings;\n    /** @type {?} */\n    let changed = false;\n    for (let i = 0; i < values.length; i++) {\n        // Note: We need to loop over all values, so that\n        // the old values are updates as well!\n        if (checkAndUpdateBinding(view, def, i, values[i])) {\n            changed = true;\n        }\n    }\n    if (changed) {\n        /** @type {?} */\n        let value = '';\n        for (let i = 0; i < values.length; i++) {\n            value = value + _addInterpolationPart(values[i], bindings[i]);\n        }\n        value = (/** @type {?} */ (def.text)).prefix + value;\n        /** @type {?} */\n        const renderNode = asTextData(view, def.nodeIndex).renderText;\n        view.renderer.setValue(renderNode, value);\n    }\n    return changed;\n}\n/**\n * @param {?} value\n * @param {?} binding\n * @return {?}\n */\nfunction _addInterpolationPart(value, binding) {\n    /** @type {?} */\n    const valueStr = value != null ? value.toString() : '';\n    return valueStr + binding.suffix;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @param {?} flags\n * @param {?} nodes\n * @param {?=} updateDirectives\n * @param {?=} updateRenderer\n * @return {?}\n */\nfunction viewDef(flags, nodes, updateDirectives, updateRenderer) {\n    // clone nodes and set auto calculated values\n    /** @type {?} */\n    let viewBindingCount = 0;\n    /** @type {?} */\n    let viewDisposableCount = 0;\n    /** @type {?} */\n    let viewNodeFlags = 0;\n    /** @type {?} */\n    let viewRootNodeFlags = 0;\n    /** @type {?} */\n    let viewMatchedQueries = 0;\n    /** @type {?} */\n    let currentParent = null;\n    /** @type {?} */\n    let currentRenderParent = null;\n    /** @type {?} */\n    let currentElementHasPublicProviders = false;\n    /** @type {?} */\n    let currentElementHasPrivateProviders = false;\n    /** @type {?} */\n    let lastRenderRootNode = null;\n    for (let i = 0; i < nodes.length; i++) {\n        /** @type {?} */\n        const node = nodes[i];\n        node.nodeIndex = i;\n        node.parent = currentParent;\n        node.bindingIndex = viewBindingCount;\n        node.outputIndex = viewDisposableCount;\n        node.renderParent = currentRenderParent;\n        viewNodeFlags |= node.flags;\n        viewMatchedQueries |= node.matchedQueryIds;\n        if (node.element) {\n            /** @type {?} */\n            const elDef = node.element;\n            elDef.publicProviders =\n                currentParent ? (/** @type {?} */ (currentParent.element)).publicProviders : Object.create(null);\n            elDef.allProviders = elDef.publicProviders;\n            // Note: We assume that all providers of an element are before any child element!\n            currentElementHasPublicProviders = false;\n            currentElementHasPrivateProviders = false;\n            if (node.element.template) {\n                viewMatchedQueries |= node.element.template.nodeMatchedQueries;\n            }\n        }\n        validateNode(currentParent, node, nodes.length);\n        viewBindingCount += node.bindings.length;\n        viewDisposableCount += node.outputs.length;\n        if (!currentRenderParent && (node.flags & 3 /* CatRenderNode */)) {\n            lastRenderRootNode = node;\n        }\n        if (node.flags & 20224 /* CatProvider */) {\n            if (!currentElementHasPublicProviders) {\n                currentElementHasPublicProviders = true;\n                // Use prototypical inheritance to not get O(n^2) complexity...\n                (/** @type {?} */ ((/** @type {?} */ (currentParent)).element)).publicProviders =\n                    Object.create((/** @type {?} */ ((/** @type {?} */ (currentParent)).element)).publicProviders);\n                (/** @type {?} */ ((/** @type {?} */ (currentParent)).element)).allProviders = (/** @type {?} */ ((/** @type {?} */ (currentParent)).element)).publicProviders;\n            }\n            /** @type {?} */\n            const isPrivateService = (node.flags & 8192 /* PrivateProvider */) !== 0;\n            /** @type {?} */\n            const isComponent = (node.flags & 32768 /* Component */) !== 0;\n            if (!isPrivateService || isComponent) {\n                (/** @type {?} */ ((/** @type {?} */ ((/** @type {?} */ (currentParent)).element)).publicProviders))[tokenKey((/** @type {?} */ (node.provider)).token)] = node;\n            }\n            else {\n                if (!currentElementHasPrivateProviders) {\n                    currentElementHasPrivateProviders = true;\n                    // Use prototypical inheritance to not get O(n^2) complexity...\n                    (/** @type {?} */ ((/** @type {?} */ (currentParent)).element)).allProviders =\n                        Object.create((/** @type {?} */ ((/** @type {?} */ (currentParent)).element)).publicProviders);\n                }\n                (/** @type {?} */ ((/** @type {?} */ ((/** @type {?} */ (currentParent)).element)).allProviders))[tokenKey((/** @type {?} */ (node.provider)).token)] = node;\n            }\n            if (isComponent) {\n                (/** @type {?} */ ((/** @type {?} */ (currentParent)).element)).componentProvider = node;\n            }\n        }\n        if (currentParent) {\n            currentParent.childFlags |= node.flags;\n            currentParent.directChildFlags |= node.flags;\n            currentParent.childMatchedQueries |= node.matchedQueryIds;\n            if (node.element && node.element.template) {\n                currentParent.childMatchedQueries |= node.element.template.nodeMatchedQueries;\n            }\n        }\n        else {\n            viewRootNodeFlags |= node.flags;\n        }\n        if (node.childCount > 0) {\n            currentParent = node;\n            if (!isNgContainer(node)) {\n                currentRenderParent = node;\n            }\n        }\n        else {\n            // When the current node has no children, check if it is the last children of its parent.\n            // When it is, propagate the flags up.\n            // The loop is required because an element could be the last transitive children of several\n            // elements. We loop to either the root or the highest opened element (= with remaining\n            // children)\n            while (currentParent && i === currentParent.nodeIndex + currentParent.childCount) {\n                /** @type {?} */\n                const newParent = currentParent.parent;\n                if (newParent) {\n                    newParent.childFlags |= currentParent.childFlags;\n                    newParent.childMatchedQueries |= currentParent.childMatchedQueries;\n                }\n                currentParent = newParent;\n                // We also need to update the render parent & account for ng-container\n                if (currentParent && isNgContainer(currentParent)) {\n                    currentRenderParent = currentParent.renderParent;\n                }\n                else {\n                    currentRenderParent = currentParent;\n                }\n            }\n        }\n    }\n    /** @type {?} */\n    const handleEvent = (/**\n     * @param {?} view\n     * @param {?} nodeIndex\n     * @param {?} eventName\n     * @param {?} event\n     * @return {?}\n     */\n    (view, nodeIndex, eventName, event) => (/** @type {?} */ ((/** @type {?} */ (nodes[nodeIndex].element)).handleEvent))(view, eventName, event));\n    return {\n        // Will be filled later...\n        factory: null,\n        nodeFlags: viewNodeFlags,\n        rootNodeFlags: viewRootNodeFlags,\n        nodeMatchedQueries: viewMatchedQueries, flags,\n        nodes: nodes,\n        updateDirectives: updateDirectives || NOOP,\n        updateRenderer: updateRenderer || NOOP, handleEvent,\n        bindingCount: viewBindingCount,\n        outputCount: viewDisposableCount, lastRenderRootNode\n    };\n}\n/**\n * @param {?} node\n * @return {?}\n */\nfunction isNgContainer(node) {\n    return (node.flags & 1 /* TypeElement */) !== 0 && (/** @type {?} */ (node.element)).name === null;\n}\n/**\n * @param {?} parent\n * @param {?} node\n * @param {?} nodeCount\n * @return {?}\n */\nfunction validateNode(parent, node, nodeCount) {\n    /** @type {?} */\n    const template = node.element && node.element.template;\n    if (template) {\n        if (!template.lastRenderRootNode) {\n            throw new Error(`Illegal State: Embedded templates without nodes are not allowed!`);\n        }\n        if (template.lastRenderRootNode &&\n            template.lastRenderRootNode.flags & 16777216 /* EmbeddedViews */) {\n            throw new Error(`Illegal State: Last root node of a template can't have embedded views, at index ${node.nodeIndex}!`);\n        }\n    }\n    if (node.flags & 20224 /* CatProvider */) {\n        /** @type {?} */\n        const parentFlags = parent ? parent.flags : 0;\n        if ((parentFlags & 1 /* TypeElement */) === 0) {\n            throw new Error(`Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index ${node.nodeIndex}!`);\n        }\n    }\n    if (node.query) {\n        if (node.flags & 67108864 /* TypeContentQuery */ &&\n            (!parent || (parent.flags & 16384 /* TypeDirective */) === 0)) {\n            throw new Error(`Illegal State: Content Query nodes need to be children of directives, at index ${node.nodeIndex}!`);\n        }\n        if (node.flags & 134217728 /* TypeViewQuery */ && parent) {\n            throw new Error(`Illegal State: View Query nodes have to be top level nodes, at index ${node.nodeIndex}!`);\n        }\n    }\n    if (node.childCount) {\n        /** @type {?} */\n        const parentEnd = parent ? parent.nodeIndex + parent.childCount : nodeCount - 1;\n        if (node.nodeIndex <= parentEnd && node.nodeIndex + node.childCount > parentEnd) {\n            throw new Error(`Illegal State: childCount of node leads outside of parent, at index ${node.nodeIndex}!`);\n        }\n    }\n}\n/**\n * @param {?} parent\n * @param {?} anchorDef\n * @param {?} viewDef\n * @param {?=} context\n * @return {?}\n */\nfunction createEmbeddedView(parent, anchorDef, viewDef, context) {\n    // embedded views are seen as siblings to the anchor, so we need\n    // to get the parent of the anchor and use it as parentIndex.\n    /** @type {?} */\n    const view = createView(parent.root, parent.renderer, parent, anchorDef, viewDef);\n    initView(view, parent.component, context);\n    createViewNodes(view);\n    return view;\n}\n/**\n * @param {?} root\n * @param {?} def\n * @param {?=} context\n * @return {?}\n */\nfunction createRootView(root, def, context) {\n    /** @type {?} */\n    const view = createView(root, root.renderer, null, null, def);\n    initView(view, context, context);\n    createViewNodes(view);\n    return view;\n}\n/**\n * @param {?} parentView\n * @param {?} nodeDef\n * @param {?} viewDef\n * @param {?} hostElement\n * @return {?}\n */\nfunction createComponentView(parentView, nodeDef, viewDef, hostElement) {\n    /** @type {?} */\n    const rendererType = (/** @type {?} */ (nodeDef.element)).componentRendererType;\n    /** @type {?} */\n    let compRenderer;\n    if (!rendererType) {\n        compRenderer = parentView.root.renderer;\n    }\n    else {\n        compRenderer = parentView.root.rendererFactory.createRenderer(hostElement, rendererType);\n    }\n    return createView(parentView.root, compRenderer, parentView, (/** @type {?} */ (nodeDef.element)).componentProvider, viewDef);\n}\n/**\n * @param {?} root\n * @param {?} renderer\n * @param {?} parent\n * @param {?} parentNodeDef\n * @param {?} def\n * @return {?}\n */\nfunction createView(root, renderer, parent, parentNodeDef, def) {\n    /** @type {?} */\n    const nodes = new Array(def.nodes.length);\n    /** @type {?} */\n    const disposables = def.outputCount ? new Array(def.outputCount) : null;\n    /** @type {?} */\n    const view = {\n        def,\n        parent,\n        viewContainerParent: null, parentNodeDef,\n        context: null,\n        component: null, nodes,\n        state: 13 /* CatInit */, root, renderer,\n        oldValues: new Array(def.bindingCount), disposables,\n        initIndex: -1\n    };\n    return view;\n}\n/**\n * @param {?} view\n * @param {?} component\n * @param {?} context\n * @return {?}\n */\nfunction initView(view, component, context) {\n    view.component = component;\n    view.context = context;\n}\n/**\n * @param {?} view\n * @return {?}\n */\nfunction createViewNodes(view) {\n    /** @type {?} */\n    let renderHost;\n    if (isComponentView(view)) {\n        /** @type {?} */\n        const hostDef = view.parentNodeDef;\n        renderHost = asElementData((/** @type {?} */ (view.parent)), (/** @type {?} */ ((/** @type {?} */ (hostDef)).parent)).nodeIndex).renderElement;\n    }\n    /** @type {?} */\n    const def = view.def;\n    /** @type {?} */\n    const nodes = view.nodes;\n    for (let i = 0; i < def.nodes.length; i++) {\n        /** @type {?} */\n        const nodeDef = def.nodes[i];\n        Services.setCurrentNode(view, i);\n        /** @type {?} */\n        let nodeData;\n        switch (nodeDef.flags & 201347067 /* Types */) {\n            case 1 /* TypeElement */:\n                /** @type {?} */\n                const el = (/** @type {?} */ (createElement(view, renderHost, nodeDef)));\n                /** @type {?} */\n                let componentView = (/** @type {?} */ (undefined));\n                if (nodeDef.flags & 33554432 /* ComponentView */) {\n                    /** @type {?} */\n                    const compViewDef = resolveDefinition((/** @type {?} */ ((/** @type {?} */ (nodeDef.element)).componentView)));\n                    componentView = Services.createComponentView(view, nodeDef, compViewDef, el);\n                }\n                listenToElementOutputs(view, componentView, nodeDef, el);\n                nodeData = (/** @type {?} */ ({\n                    renderElement: el,\n                    componentView,\n                    viewContainer: null,\n                    template: (/** @type {?} */ (nodeDef.element)).template ? createTemplateData(view, nodeDef) : undefined\n                }));\n                if (nodeDef.flags & 16777216 /* EmbeddedViews */) {\n                    nodeData.viewContainer = createViewContainerData(view, nodeDef, nodeData);\n                }\n                break;\n            case 2 /* TypeText */:\n                nodeData = (/** @type {?} */ (createText(view, renderHost, nodeDef)));\n                break;\n            case 512 /* TypeClassProvider */:\n            case 1024 /* TypeFactoryProvider */:\n            case 2048 /* TypeUseExistingProvider */:\n            case 256 /* TypeValueProvider */: {\n                nodeData = nodes[i];\n                if (!nodeData && !(nodeDef.flags & 4096 /* LazyProvider */)) {\n                    /** @type {?} */\n                    const instance = createProviderInstance(view, nodeDef);\n                    nodeData = (/** @type {?} */ ({ instance }));\n                }\n                break;\n            }\n            case 16 /* TypePipe */: {\n                /** @type {?} */\n                const instance = createPipeInstance(view, nodeDef);\n                nodeData = (/** @type {?} */ ({ instance }));\n                break;\n            }\n            case 16384 /* TypeDirective */: {\n                nodeData = nodes[i];\n                if (!nodeData) {\n                    /** @type {?} */\n                    const instance = createDirectiveInstance(view, nodeDef);\n                    nodeData = (/** @type {?} */ ({ instance }));\n                }\n                if (nodeDef.flags & 32768 /* Component */) {\n                    /** @type {?} */\n                    const compView = asElementData(view, (/** @type {?} */ (nodeDef.parent)).nodeIndex).componentView;\n                    initView(compView, nodeData.instance, nodeData.instance);\n                }\n                break;\n            }\n            case 32 /* TypePureArray */:\n            case 64 /* TypePureObject */:\n            case 128 /* TypePurePipe */:\n                nodeData = (/** @type {?} */ (createPureExpression(view, nodeDef)));\n                break;\n            case 67108864 /* TypeContentQuery */:\n            case 134217728 /* TypeViewQuery */:\n                nodeData = (/** @type {?} */ (createQuery()));\n                break;\n            case 8 /* TypeNgContent */:\n                appendNgContent(view, renderHost, nodeDef);\n                // no runtime data needed for NgContent...\n                nodeData = undefined;\n                break;\n        }\n        nodes[i] = nodeData;\n    }\n    // Create the ViewData.nodes of component views after we created everything else,\n    // so that e.g. ng-content works\n    execComponentViewsAction(view, ViewAction.CreateViewNodes);\n    // fill static content and view queries\n    execQueriesAction(view, 67108864 /* TypeContentQuery */ | 134217728 /* TypeViewQuery */, 268435456 /* StaticQuery */, 0 /* CheckAndUpdate */);\n}\n/**\n * @param {?} view\n * @return {?}\n */\nfunction checkNoChangesView(view) {\n    markProjectedViewsForCheck(view);\n    Services.updateDirectives(view, 1 /* CheckNoChanges */);\n    execEmbeddedViewsAction(view, ViewAction.CheckNoChanges);\n    Services.updateRenderer(view, 1 /* CheckNoChanges */);\n    execComponentViewsAction(view, ViewAction.CheckNoChanges);\n    // Note: We don't check queries for changes as we didn't do this in v2.x.\n    // TODO(tbosch): investigate if we can enable the check again in v5.x with a nicer error message.\n    view.state &= ~(64 /* CheckProjectedViews */ | 32 /* CheckProjectedView */);\n}\n/**\n * @param {?} view\n * @return {?}\n */\nfunction checkAndUpdateView(view) {\n    if (view.state & 1 /* BeforeFirstCheck */) {\n        view.state &= ~1 /* BeforeFirstCheck */;\n        view.state |= 2 /* FirstCheck */;\n    }\n    else {\n        view.state &= ~2 /* FirstCheck */;\n    }\n    shiftInitState(view, 0 /* InitState_BeforeInit */, 256 /* InitState_CallingOnInit */);\n    markProjectedViewsForCheck(view);\n    Services.updateDirectives(view, 0 /* CheckAndUpdate */);\n    execEmbeddedViewsAction(view, ViewAction.CheckAndUpdate);\n    execQueriesAction(view, 67108864 /* TypeContentQuery */, 536870912 /* DynamicQuery */, 0 /* CheckAndUpdate */);\n    /** @type {?} */\n    let callInit = shiftInitState(view, 256 /* InitState_CallingOnInit */, 512 /* InitState_CallingAfterContentInit */);\n    callLifecycleHooksChildrenFirst(view, 2097152 /* AfterContentChecked */ | (callInit ? 1048576 /* AfterContentInit */ : 0));\n    Services.updateRenderer(view, 0 /* CheckAndUpdate */);\n    execComponentViewsAction(view, ViewAction.CheckAndUpdate);\n    execQueriesAction(view, 134217728 /* TypeViewQuery */, 536870912 /* DynamicQuery */, 0 /* CheckAndUpdate */);\n    callInit = shiftInitState(view, 512 /* InitState_CallingAfterContentInit */, 768 /* InitState_CallingAfterViewInit */);\n    callLifecycleHooksChildrenFirst(view, 8388608 /* AfterViewChecked */ | (callInit ? 4194304 /* AfterViewInit */ : 0));\n    if (view.def.flags & 2 /* OnPush */) {\n        view.state &= ~8 /* ChecksEnabled */;\n    }\n    view.state &= ~(64 /* CheckProjectedViews */ | 32 /* CheckProjectedView */);\n    shiftInitState(view, 768 /* InitState_CallingAfterViewInit */, 1024 /* InitState_AfterInit */);\n}\n/**\n * @param {?} view\n * @param {?} nodeDef\n * @param {?} argStyle\n * @param {?=} v0\n * @param {?=} v1\n * @param {?=} v2\n * @param {?=} v3\n * @param {?=} v4\n * @param {?=} v5\n * @param {?=} v6\n * @param {?=} v7\n * @param {?=} v8\n * @param {?=} v9\n * @return {?}\n */\nfunction checkAndUpdateNode(view, nodeDef, argStyle, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9) {\n    if (argStyle === 0 /* Inline */) {\n        return checkAndUpdateNodeInline(view, nodeDef, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9);\n    }\n    else {\n        return checkAndUpdateNodeDynamic(view, nodeDef, v0);\n    }\n}\n/**\n * @param {?} view\n * @return {?}\n */\nfunction markProjectedViewsForCheck(view) {\n    /** @type {?} */\n    const def = view.def;\n    if (!(def.nodeFlags & 4 /* ProjectedTemplate */)) {\n        return;\n    }\n    for (let i = 0; i < def.nodes.length; i++) {\n        /** @type {?} */\n        const nodeDef = def.nodes[i];\n        if (nodeDef.flags & 4 /* ProjectedTemplate */) {\n            /** @type {?} */\n            const projectedViews = asElementData(view, i).template._projectedViews;\n            if (projectedViews) {\n                for (let i = 0; i < projectedViews.length; i++) {\n                    /** @type {?} */\n                    const projectedView = projectedViews[i];\n                    projectedView.state |= 32 /* CheckProjectedView */;\n                    markParentViewsForCheckProjectedViews(projectedView, view);\n                }\n            }\n        }\n        else if ((nodeDef.childFlags & 4 /* ProjectedTemplate */) === 0) {\n            // a parent with leafs\n            // no child is a component,\n            // then skip the children\n            i += nodeDef.childCount;\n        }\n    }\n}\n/**\n * @param {?} view\n * @param {?} nodeDef\n * @param {?=} v0\n * @param {?=} v1\n * @param {?=} v2\n * @param {?=} v3\n * @param {?=} v4\n * @param {?=} v5\n * @param {?=} v6\n * @param {?=} v7\n * @param {?=} v8\n * @param {?=} v9\n * @return {?}\n */\nfunction checkAndUpdateNodeInline(view, nodeDef, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9) {\n    switch (nodeDef.flags & 201347067 /* Types */) {\n        case 1 /* TypeElement */:\n            return checkAndUpdateElementInline(view, nodeDef, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9);\n        case 2 /* TypeText */:\n            return checkAndUpdateTextInline(view, nodeDef, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9);\n        case 16384 /* TypeDirective */:\n            return checkAndUpdateDirectiveInline(view, nodeDef, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9);\n        case 32 /* TypePureArray */:\n        case 64 /* TypePureObject */:\n        case 128 /* TypePurePipe */:\n            return checkAndUpdatePureExpressionInline(view, nodeDef, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9);\n        default:\n            throw 'unreachable';\n    }\n}\n/**\n * @param {?} view\n * @param {?} nodeDef\n * @param {?} values\n * @return {?}\n */\nfunction checkAndUpdateNodeDynamic(view, nodeDef, values) {\n    switch (nodeDef.flags & 201347067 /* Types */) {\n        case 1 /* TypeElement */:\n            return checkAndUpdateElementDynamic(view, nodeDef, values);\n        case 2 /* TypeText */:\n            return checkAndUpdateTextDynamic(view, nodeDef, values);\n        case 16384 /* TypeDirective */:\n            return checkAndUpdateDirectiveDynamic(view, nodeDef, values);\n        case 32 /* TypePureArray */:\n        case 64 /* TypePureObject */:\n        case 128 /* TypePurePipe */:\n            return checkAndUpdatePureExpressionDynamic(view, nodeDef, values);\n        default:\n            throw 'unreachable';\n    }\n}\n/**\n * @param {?} view\n * @param {?} nodeDef\n * @param {?} argStyle\n * @param {?=} v0\n * @param {?=} v1\n * @param {?=} v2\n * @param {?=} v3\n * @param {?=} v4\n * @param {?=} v5\n * @param {?=} v6\n * @param {?=} v7\n * @param {?=} v8\n * @param {?=} v9\n * @return {?}\n */\nfunction checkNoChangesNode(view, nodeDef, argStyle, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9) {\n    if (argStyle === 0 /* Inline */) {\n        checkNoChangesNodeInline(view, nodeDef, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9);\n    }\n    else {\n        checkNoChangesNodeDynamic(view, nodeDef, v0);\n    }\n    // Returning false is ok here as we would have thrown in case of a change.\n    return false;\n}\n/**\n * @param {?} view\n * @param {?} nodeDef\n * @param {?} v0\n * @param {?} v1\n * @param {?} v2\n * @param {?} v3\n * @param {?} v4\n * @param {?} v5\n * @param {?} v6\n * @param {?} v7\n * @param {?} v8\n * @param {?} v9\n * @return {?}\n */\nfunction checkNoChangesNodeInline(view, nodeDef, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9) {\n    /** @type {?} */\n    const bindLen = nodeDef.bindings.length;\n    if (bindLen > 0)\n        checkBindingNoChanges(view, nodeDef, 0, v0);\n    if (bindLen > 1)\n        checkBindingNoChanges(view, nodeDef, 1, v1);\n    if (bindLen > 2)\n        checkBindingNoChanges(view, nodeDef, 2, v2);\n    if (bindLen > 3)\n        checkBindingNoChanges(view, nodeDef, 3, v3);\n    if (bindLen > 4)\n        checkBindingNoChanges(view, nodeDef, 4, v4);\n    if (bindLen > 5)\n        checkBindingNoChanges(view, nodeDef, 5, v5);\n    if (bindLen > 6)\n        checkBindingNoChanges(view, nodeDef, 6, v6);\n    if (bindLen > 7)\n        checkBindingNoChanges(view, nodeDef, 7, v7);\n    if (bindLen > 8)\n        checkBindingNoChanges(view, nodeDef, 8, v8);\n    if (bindLen > 9)\n        checkBindingNoChanges(view, nodeDef, 9, v9);\n}\n/**\n * @param {?} view\n * @param {?} nodeDef\n * @param {?} values\n * @return {?}\n */\nfunction checkNoChangesNodeDynamic(view, nodeDef, values) {\n    for (let i = 0; i < values.length; i++) {\n        checkBindingNoChanges(view, nodeDef, i, values[i]);\n    }\n}\n/**\n * Workaround https://github.com/angular/tsickle/issues/497\n * @suppress {misplacedTypeAnnotation}\n * @param {?} view\n * @param {?} nodeDef\n * @return {?}\n */\nfunction checkNoChangesQuery(view, nodeDef) {\n    /** @type {?} */\n    const queryList = asQueryList(view, nodeDef.nodeIndex);\n    if (queryList.dirty) {\n        throw expressionChangedAfterItHasBeenCheckedError(Services.createDebugContext(view, nodeDef.nodeIndex), `Query ${(/** @type {?} */ (nodeDef.query)).id} not dirty`, `Query ${(/** @type {?} */ (nodeDef.query)).id} dirty`, (view.state & 1 /* BeforeFirstCheck */) !== 0);\n    }\n}\n/**\n * @param {?} view\n * @return {?}\n */\nfunction destroyView(view) {\n    if (view.state & 128 /* Destroyed */) {\n        return;\n    }\n    execEmbeddedViewsAction(view, ViewAction.Destroy);\n    execComponentViewsAction(view, ViewAction.Destroy);\n    callLifecycleHooksChildrenFirst(view, 131072 /* OnDestroy */);\n    if (view.disposables) {\n        for (let i = 0; i < view.disposables.length; i++) {\n            view.disposables[i]();\n        }\n    }\n    detachProjectedView(view);\n    if (view.renderer.destroyNode) {\n        destroyViewNodes(view);\n    }\n    if (isComponentView(view)) {\n        view.renderer.destroy();\n    }\n    view.state |= 128 /* Destroyed */;\n}\n/**\n * @param {?} view\n * @return {?}\n */\nfunction destroyViewNodes(view) {\n    /** @type {?} */\n    const len = view.def.nodes.length;\n    for (let i = 0; i < len; i++) {\n        /** @type {?} */\n        const def = view.def.nodes[i];\n        if (def.flags & 1 /* TypeElement */) {\n            (/** @type {?} */ (view.renderer.destroyNode))(asElementData(view, i).renderElement);\n        }\n        else if (def.flags & 2 /* TypeText */) {\n            (/** @type {?} */ (view.renderer.destroyNode))(asTextData(view, i).renderText);\n        }\n        else if (def.flags & 67108864 /* TypeContentQuery */ || def.flags & 134217728 /* TypeViewQuery */) {\n            asQueryList(view, i).destroy();\n        }\n    }\n}\n/** @enum {number} */\nconst ViewAction = {\n    CreateViewNodes: 0,\n    CheckNoChanges: 1,\n    CheckNoChangesProjectedViews: 2,\n    CheckAndUpdate: 3,\n    CheckAndUpdateProjectedViews: 4,\n    Destroy: 5,\n};\nViewAction[ViewAction.CreateViewNodes] = 'CreateViewNodes';\nViewAction[ViewAction.CheckNoChanges] = 'CheckNoChanges';\nViewAction[ViewAction.CheckNoChangesProjectedViews] = 'CheckNoChangesProjectedViews';\nViewAction[ViewAction.CheckAndUpdate] = 'CheckAndUpdate';\nViewAction[ViewAction.CheckAndUpdateProjectedViews] = 'CheckAndUpdateProjectedViews';\nViewAction[ViewAction.Destroy] = 'Destroy';\n/**\n * @param {?} view\n * @param {?} action\n * @return {?}\n */\nfunction execComponentViewsAction(view, action) {\n    /** @type {?} */\n    const def = view.def;\n    if (!(def.nodeFlags & 33554432 /* ComponentView */)) {\n        return;\n    }\n    for (let i = 0; i < def.nodes.length; i++) {\n        /** @type {?} */\n        const nodeDef = def.nodes[i];\n        if (nodeDef.flags & 33554432 /* ComponentView */) {\n            // a leaf\n            callViewAction(asElementData(view, i).componentView, action);\n        }\n        else if ((nodeDef.childFlags & 33554432 /* ComponentView */) === 0) {\n            // a parent with leafs\n            // no child is a component,\n            // then skip the children\n            i += nodeDef.childCount;\n        }\n    }\n}\n/**\n * @param {?} view\n * @param {?} action\n * @return {?}\n */\nfunction execEmbeddedViewsAction(view, action) {\n    /** @type {?} */\n    const def = view.def;\n    if (!(def.nodeFlags & 16777216 /* EmbeddedViews */)) {\n        return;\n    }\n    for (let i = 0; i < def.nodes.length; i++) {\n        /** @type {?} */\n        const nodeDef = def.nodes[i];\n        if (nodeDef.flags & 16777216 /* EmbeddedViews */) {\n            // a leaf\n            /** @type {?} */\n            const embeddedViews = (/** @type {?} */ (asElementData(view, i).viewContainer))._embeddedViews;\n            for (let k = 0; k < embeddedViews.length; k++) {\n                callViewAction(embeddedViews[k], action);\n            }\n        }\n        else if ((nodeDef.childFlags & 16777216 /* EmbeddedViews */) === 0) {\n            // a parent with leafs\n            // no child is a component,\n            // then skip the children\n            i += nodeDef.childCount;\n        }\n    }\n}\n/**\n * @param {?} view\n * @param {?} action\n * @return {?}\n */\nfunction callViewAction(view, action) {\n    /** @type {?} */\n    const viewState = view.state;\n    switch (action) {\n        case ViewAction.CheckNoChanges:\n            if ((viewState & 128 /* Destroyed */) === 0) {\n                if ((viewState & 12 /* CatDetectChanges */) === 12 /* CatDetectChanges */) {\n                    checkNoChangesView(view);\n                }\n                else if (viewState & 64 /* CheckProjectedViews */) {\n                    execProjectedViewsAction(view, ViewAction.CheckNoChangesProjectedViews);\n                }\n            }\n            break;\n        case ViewAction.CheckNoChangesProjectedViews:\n            if ((viewState & 128 /* Destroyed */) === 0) {\n                if (viewState & 32 /* CheckProjectedView */) {\n                    checkNoChangesView(view);\n                }\n                else if (viewState & 64 /* CheckProjectedViews */) {\n                    execProjectedViewsAction(view, action);\n                }\n            }\n            break;\n        case ViewAction.CheckAndUpdate:\n            if ((viewState & 128 /* Destroyed */) === 0) {\n                if ((viewState & 12 /* CatDetectChanges */) === 12 /* CatDetectChanges */) {\n                    checkAndUpdateView(view);\n                }\n                else if (viewState & 64 /* CheckProjectedViews */) {\n                    execProjectedViewsAction(view, ViewAction.CheckAndUpdateProjectedViews);\n                }\n            }\n            break;\n        case ViewAction.CheckAndUpdateProjectedViews:\n            if ((viewState & 128 /* Destroyed */) === 0) {\n                if (viewState & 32 /* CheckProjectedView */) {\n                    checkAndUpdateView(view);\n                }\n                else if (viewState & 64 /* CheckProjectedViews */) {\n                    execProjectedViewsAction(view, action);\n                }\n            }\n            break;\n        case ViewAction.Destroy:\n            // Note: destroyView recurses over all views,\n            // so we don't need to special case projected views here.\n            destroyView(view);\n            break;\n        case ViewAction.CreateViewNodes:\n            createViewNodes(view);\n            break;\n    }\n}\n/**\n * @param {?} view\n * @param {?} action\n * @return {?}\n */\nfunction execProjectedViewsAction(view, action) {\n    execEmbeddedViewsAction(view, action);\n    execComponentViewsAction(view, action);\n}\n/**\n * @param {?} view\n * @param {?} queryFlags\n * @param {?} staticDynamicQueryFlag\n * @param {?} checkType\n * @return {?}\n */\nfunction execQueriesAction(view, queryFlags, staticDynamicQueryFlag, checkType) {\n    if (!(view.def.nodeFlags & queryFlags) || !(view.def.nodeFlags & staticDynamicQueryFlag)) {\n        return;\n    }\n    /** @type {?} */\n    const nodeCount = view.def.nodes.length;\n    for (let i = 0; i < nodeCount; i++) {\n        /** @type {?} */\n        const nodeDef = view.def.nodes[i];\n        if ((nodeDef.flags & queryFlags) && (nodeDef.flags & staticDynamicQueryFlag)) {\n            Services.setCurrentNode(view, nodeDef.nodeIndex);\n            switch (checkType) {\n                case 0 /* CheckAndUpdate */:\n                    checkAndUpdateQuery(view, nodeDef);\n                    break;\n                case 1 /* CheckNoChanges */:\n                    checkNoChangesQuery(view, nodeDef);\n                    break;\n            }\n        }\n        if (!(nodeDef.childFlags & queryFlags) || !(nodeDef.childFlags & staticDynamicQueryFlag)) {\n            // no child has a matching query\n            // then skip the children\n            i += nodeDef.childCount;\n        }\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nlet initialized = false;\n/**\n * @return {?}\n */\nfunction initServicesIfNeeded() {\n    if (initialized) {\n        return;\n    }\n    initialized = true;\n    /** @type {?} */\n    const services = isDevMode() ? createDebugServices() : createProdServices();\n    Services.setCurrentNode = services.setCurrentNode;\n    Services.createRootView = services.createRootView;\n    Services.createEmbeddedView = services.createEmbeddedView;\n    Services.createComponentView = services.createComponentView;\n    Services.createNgModuleRef = services.createNgModuleRef;\n    Services.overrideProvider = services.overrideProvider;\n    Services.overrideComponentView = services.overrideComponentView;\n    Services.clearOverrides = services.clearOverrides;\n    Services.checkAndUpdateView = services.checkAndUpdateView;\n    Services.checkNoChangesView = services.checkNoChangesView;\n    Services.destroyView = services.destroyView;\n    Services.resolveDep = resolveDep;\n    Services.createDebugContext = services.createDebugContext;\n    Services.handleEvent = services.handleEvent;\n    Services.updateDirectives = services.updateDirectives;\n    Services.updateRenderer = services.updateRenderer;\n    Services.dirtyParentQueries = dirtyParentQueries;\n}\n/**\n * @return {?}\n */\nfunction createProdServices() {\n    return {\n        setCurrentNode: (/**\n         * @return {?}\n         */\n        () => { }),\n        createRootView: createProdRootView,\n        createEmbeddedView: createEmbeddedView,\n        createComponentView: createComponentView,\n        createNgModuleRef: createNgModuleRef,\n        overrideProvider: NOOP,\n        overrideComponentView: NOOP,\n        clearOverrides: NOOP,\n        checkAndUpdateView: checkAndUpdateView,\n        checkNoChangesView: checkNoChangesView,\n        destroyView: destroyView,\n        createDebugContext: (/**\n         * @param {?} view\n         * @param {?} nodeIndex\n         * @return {?}\n         */\n        (view, nodeIndex) => new DebugContext_(view, nodeIndex)),\n        handleEvent: (/**\n         * @param {?} view\n         * @param {?} nodeIndex\n         * @param {?} eventName\n         * @param {?} event\n         * @return {?}\n         */\n        (view, nodeIndex, eventName, event) => view.def.handleEvent(view, nodeIndex, eventName, event)),\n        updateDirectives: (/**\n         * @param {?} view\n         * @param {?} checkType\n         * @return {?}\n         */\n        (view, checkType) => view.def.updateDirectives(checkType === 0 /* CheckAndUpdate */ ? prodCheckAndUpdateNode :\n            prodCheckNoChangesNode, view)),\n        updateRenderer: (/**\n         * @param {?} view\n         * @param {?} checkType\n         * @return {?}\n         */\n        (view, checkType) => view.def.updateRenderer(checkType === 0 /* CheckAndUpdate */ ? prodCheckAndUpdateNode :\n            prodCheckNoChangesNode, view)),\n    };\n}\n/**\n * @return {?}\n */\nfunction createDebugServices() {\n    return {\n        setCurrentNode: debugSetCurrentNode,\n        createRootView: debugCreateRootView,\n        createEmbeddedView: debugCreateEmbeddedView,\n        createComponentView: debugCreateComponentView,\n        createNgModuleRef: debugCreateNgModuleRef,\n        overrideProvider: debugOverrideProvider,\n        overrideComponentView: debugOverrideComponentView,\n        clearOverrides: debugClearOverrides,\n        checkAndUpdateView: debugCheckAndUpdateView,\n        checkNoChangesView: debugCheckNoChangesView,\n        destroyView: debugDestroyView,\n        createDebugContext: (/**\n         * @param {?} view\n         * @param {?} nodeIndex\n         * @return {?}\n         */\n        (view, nodeIndex) => new DebugContext_(view, nodeIndex)),\n        handleEvent: debugHandleEvent,\n        updateDirectives: debugUpdateDirectives,\n        updateRenderer: debugUpdateRenderer,\n    };\n}\n/**\n * @param {?} elInjector\n * @param {?} projectableNodes\n * @param {?} rootSelectorOrNode\n * @param {?} def\n * @param {?} ngModule\n * @param {?=} context\n * @return {?}\n */\nfunction createProdRootView(elInjector, projectableNodes, rootSelectorOrNode, def, ngModule, context) {\n    /** @type {?} */\n    const rendererFactory = ngModule.injector.get(RendererFactory2);\n    return createRootView(createRootData(elInjector, ngModule, rendererFactory, projectableNodes, rootSelectorOrNode), def, context);\n}\n/**\n * @param {?} elInjector\n * @param {?} projectableNodes\n * @param {?} rootSelectorOrNode\n * @param {?} def\n * @param {?} ngModule\n * @param {?=} context\n * @return {?}\n */\nfunction debugCreateRootView(elInjector, projectableNodes, rootSelectorOrNode, def, ngModule, context) {\n    /** @type {?} */\n    const rendererFactory = ngModule.injector.get(RendererFactory2);\n    /** @type {?} */\n    const root = createRootData(elInjector, ngModule, new DebugRendererFactory2(rendererFactory), projectableNodes, rootSelectorOrNode);\n    /** @type {?} */\n    const defWithOverride = applyProviderOverridesToView(def);\n    return callWithDebugContext(DebugAction.create, createRootView, null, [root, defWithOverride, context]);\n}\n/**\n * @param {?} elInjector\n * @param {?} ngModule\n * @param {?} rendererFactory\n * @param {?} projectableNodes\n * @param {?} rootSelectorOrNode\n * @return {?}\n */\nfunction createRootData(elInjector, ngModule, rendererFactory, projectableNodes, rootSelectorOrNode) {\n    /** @type {?} */\n    const sanitizer = ngModule.injector.get(Sanitizer);\n    /** @type {?} */\n    const errorHandler = ngModule.injector.get(ErrorHandler);\n    /** @type {?} */\n    const renderer = rendererFactory.createRenderer(null, null);\n    return {\n        ngModule,\n        injector: elInjector, projectableNodes,\n        selectorOrNode: rootSelectorOrNode, sanitizer, rendererFactory, renderer, errorHandler\n    };\n}\n/**\n * @param {?} parentView\n * @param {?} anchorDef\n * @param {?} viewDef\n * @param {?=} context\n * @return {?}\n */\nfunction debugCreateEmbeddedView(parentView, anchorDef, viewDef, context) {\n    /** @type {?} */\n    const defWithOverride = applyProviderOverridesToView(viewDef);\n    return callWithDebugContext(DebugAction.create, createEmbeddedView, null, [parentView, anchorDef, defWithOverride, context]);\n}\n/**\n * @param {?} parentView\n * @param {?} nodeDef\n * @param {?} viewDef\n * @param {?} hostElement\n * @return {?}\n */\nfunction debugCreateComponentView(parentView, nodeDef, viewDef, hostElement) {\n    /** @type {?} */\n    const overrideComponentView = viewDefOverrides.get((/** @type {?} */ ((/** @type {?} */ ((/** @type {?} */ (nodeDef.element)).componentProvider)).provider)).token);\n    if (overrideComponentView) {\n        viewDef = overrideComponentView;\n    }\n    else {\n        viewDef = applyProviderOverridesToView(viewDef);\n    }\n    return callWithDebugContext(DebugAction.create, createComponentView, null, [parentView, nodeDef, viewDef, hostElement]);\n}\n/**\n * @param {?} moduleType\n * @param {?} parentInjector\n * @param {?} bootstrapComponents\n * @param {?} def\n * @return {?}\n */\nfunction debugCreateNgModuleRef(moduleType, parentInjector, bootstrapComponents, def) {\n    /** @type {?} */\n    const defWithOverride = applyProviderOverridesToNgModule(def);\n    return createNgModuleRef(moduleType, parentInjector, bootstrapComponents, defWithOverride);\n}\n/** @type {?} */\nconst providerOverrides = new Map();\n/** @type {?} */\nconst providerOverridesWithScope = new Map();\n/** @type {?} */\nconst viewDefOverrides = new Map();\n/**\n * @param {?} override\n * @return {?}\n */\nfunction debugOverrideProvider(override) {\n    providerOverrides.set(override.token, override);\n    /** @type {?} */\n    let injectableDef;\n    if (typeof override.token === 'function' && (injectableDef = getInjectableDef(override.token)) &&\n        typeof injectableDef.providedIn === 'function') {\n        providerOverridesWithScope.set((/** @type {?} */ (override.token)), override);\n    }\n}\n/**\n * @param {?} comp\n * @param {?} compFactory\n * @return {?}\n */\nfunction debugOverrideComponentView(comp, compFactory) {\n    /** @type {?} */\n    const hostViewDef = resolveDefinition(getComponentViewDefinitionFactory(compFactory));\n    /** @type {?} */\n    const compViewDef = resolveDefinition((/** @type {?} */ ((/** @type {?} */ (hostViewDef.nodes[0].element)).componentView)));\n    viewDefOverrides.set(comp, compViewDef);\n}\n/**\n * @return {?}\n */\nfunction debugClearOverrides() {\n    providerOverrides.clear();\n    providerOverridesWithScope.clear();\n    viewDefOverrides.clear();\n}\n// Notes about the algorithm:\n// 1) Locate the providers of an element and check if one of them was overwritten\n// 2) Change the providers of that element\n//\n// We only create new datastructures if we need to, to keep perf impact\n// reasonable.\n/**\n * @param {?} def\n * @return {?}\n */\nfunction applyProviderOverridesToView(def) {\n    if (providerOverrides.size === 0) {\n        return def;\n    }\n    /** @type {?} */\n    const elementIndicesWithOverwrittenProviders = findElementIndicesWithOverwrittenProviders(def);\n    if (elementIndicesWithOverwrittenProviders.length === 0) {\n        return def;\n    }\n    // clone the whole view definition,\n    // as it maintains references between the nodes that are hard to update.\n    def = (/** @type {?} */ (def.factory))((/**\n     * @return {?}\n     */\n    () => NOOP));\n    for (let i = 0; i < elementIndicesWithOverwrittenProviders.length; i++) {\n        applyProviderOverridesToElement(def, elementIndicesWithOverwrittenProviders[i]);\n    }\n    return def;\n    /**\n     * @param {?} def\n     * @return {?}\n     */\n    function findElementIndicesWithOverwrittenProviders(def) {\n        /** @type {?} */\n        const elIndicesWithOverwrittenProviders = [];\n        /** @type {?} */\n        let lastElementDef = null;\n        for (let i = 0; i < def.nodes.length; i++) {\n            /** @type {?} */\n            const nodeDef = def.nodes[i];\n            if (nodeDef.flags & 1 /* TypeElement */) {\n                lastElementDef = nodeDef;\n            }\n            if (lastElementDef && nodeDef.flags & 3840 /* CatProviderNoDirective */ &&\n                providerOverrides.has((/** @type {?} */ (nodeDef.provider)).token)) {\n                elIndicesWithOverwrittenProviders.push((/** @type {?} */ (lastElementDef)).nodeIndex);\n                lastElementDef = null;\n            }\n        }\n        return elIndicesWithOverwrittenProviders;\n    }\n    /**\n     * @param {?} viewDef\n     * @param {?} elIndex\n     * @return {?}\n     */\n    function applyProviderOverridesToElement(viewDef, elIndex) {\n        for (let i = elIndex + 1; i < viewDef.nodes.length; i++) {\n            /** @type {?} */\n            const nodeDef = viewDef.nodes[i];\n            if (nodeDef.flags & 1 /* TypeElement */) {\n                // stop at the next element\n                return;\n            }\n            if (nodeDef.flags & 3840 /* CatProviderNoDirective */) {\n                /** @type {?} */\n                const provider = (/** @type {?} */ (nodeDef.provider));\n                /** @type {?} */\n                const override = providerOverrides.get(provider.token);\n                if (override) {\n                    nodeDef.flags = (nodeDef.flags & ~3840 /* CatProviderNoDirective */) | override.flags;\n                    provider.deps = splitDepsDsl(override.deps);\n                    provider.value = override.value;\n                }\n            }\n        }\n    }\n}\n// Notes about the algorithm:\n// We only create new datastructures if we need to, to keep perf impact\n// reasonable.\n/**\n * @param {?} def\n * @return {?}\n */\nfunction applyProviderOverridesToNgModule(def) {\n    const { hasOverrides, hasDeprecatedOverrides } = calcHasOverrides(def);\n    if (!hasOverrides) {\n        return def;\n    }\n    // clone the whole view definition,\n    // as it maintains references between the nodes that are hard to update.\n    def = (/** @type {?} */ (def.factory))((/**\n     * @return {?}\n     */\n    () => NOOP));\n    applyProviderOverrides(def);\n    return def;\n    /**\n     * @param {?} def\n     * @return {?}\n     */\n    function calcHasOverrides(def) {\n        /** @type {?} */\n        let hasOverrides = false;\n        /** @type {?} */\n        let hasDeprecatedOverrides = false;\n        if (providerOverrides.size === 0) {\n            return { hasOverrides, hasDeprecatedOverrides };\n        }\n        def.providers.forEach((/**\n         * @param {?} node\n         * @return {?}\n         */\n        node => {\n            /** @type {?} */\n            const override = providerOverrides.get(node.token);\n            if ((node.flags & 3840 /* CatProviderNoDirective */) && override) {\n                hasOverrides = true;\n                hasDeprecatedOverrides = hasDeprecatedOverrides || override.deprecatedBehavior;\n            }\n        }));\n        def.modules.forEach((/**\n         * @param {?} module\n         * @return {?}\n         */\n        module => {\n            providerOverridesWithScope.forEach((/**\n             * @param {?} override\n             * @param {?} token\n             * @return {?}\n             */\n            (override, token) => {\n                if ((/** @type {?} */ (getInjectableDef(token))).providedIn === module) {\n                    hasOverrides = true;\n                    hasDeprecatedOverrides = hasDeprecatedOverrides || override.deprecatedBehavior;\n                }\n            }));\n        }));\n        return { hasOverrides, hasDeprecatedOverrides };\n    }\n    /**\n     * @param {?} def\n     * @return {?}\n     */\n    function applyProviderOverrides(def) {\n        for (let i = 0; i < def.providers.length; i++) {\n            /** @type {?} */\n            const provider = def.providers[i];\n            if (hasDeprecatedOverrides) {\n                // We had a bug where me made\n                // all providers lazy. Keep this logic behind a flag\n                // for migrating existing users.\n                provider.flags |= 4096 /* LazyProvider */;\n            }\n            /** @type {?} */\n            const override = providerOverrides.get(provider.token);\n            if (override) {\n                provider.flags = (provider.flags & ~3840 /* CatProviderNoDirective */) | override.flags;\n                provider.deps = splitDepsDsl(override.deps);\n                provider.value = override.value;\n            }\n        }\n        if (providerOverridesWithScope.size > 0) {\n            /** @type {?} */\n            let moduleSet = new Set(def.modules);\n            providerOverridesWithScope.forEach((/**\n             * @param {?} override\n             * @param {?} token\n             * @return {?}\n             */\n            (override, token) => {\n                if (moduleSet.has((/** @type {?} */ (getInjectableDef(token))).providedIn)) {\n                    /** @type {?} */\n                    let provider = {\n                        token: token,\n                        flags: override.flags | (hasDeprecatedOverrides ? 4096 /* LazyProvider */ : 0 /* None */),\n                        deps: splitDepsDsl(override.deps),\n                        value: override.value,\n                        index: def.providers.length,\n                    };\n                    def.providers.push(provider);\n                    def.providersByKey[tokenKey(token)] = provider;\n                }\n            }));\n        }\n    }\n}\n/**\n * @param {?} view\n * @param {?} checkIndex\n * @param {?} argStyle\n * @param {?=} v0\n * @param {?=} v1\n * @param {?=} v2\n * @param {?=} v3\n * @param {?=} v4\n * @param {?=} v5\n * @param {?=} v6\n * @param {?=} v7\n * @param {?=} v8\n * @param {?=} v9\n * @return {?}\n */\nfunction prodCheckAndUpdateNode(view, checkIndex, argStyle, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9) {\n    /** @type {?} */\n    const nodeDef = view.def.nodes[checkIndex];\n    checkAndUpdateNode(view, nodeDef, argStyle, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9);\n    return (nodeDef.flags & 224 /* CatPureExpression */) ?\n        asPureExpressionData(view, checkIndex).value :\n        undefined;\n}\n/**\n * @param {?} view\n * @param {?} checkIndex\n * @param {?} argStyle\n * @param {?=} v0\n * @param {?=} v1\n * @param {?=} v2\n * @param {?=} v3\n * @param {?=} v4\n * @param {?=} v5\n * @param {?=} v6\n * @param {?=} v7\n * @param {?=} v8\n * @param {?=} v9\n * @return {?}\n */\nfunction prodCheckNoChangesNode(view, checkIndex, argStyle, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9) {\n    /** @type {?} */\n    const nodeDef = view.def.nodes[checkIndex];\n    checkNoChangesNode(view, nodeDef, argStyle, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9);\n    return (nodeDef.flags & 224 /* CatPureExpression */) ?\n        asPureExpressionData(view, checkIndex).value :\n        undefined;\n}\n/**\n * @param {?} view\n * @return {?}\n */\nfunction debugCheckAndUpdateView(view) {\n    return callWithDebugContext(DebugAction.detectChanges, checkAndUpdateView, null, [view]);\n}\n/**\n * @param {?} view\n * @return {?}\n */\nfunction debugCheckNoChangesView(view) {\n    return callWithDebugContext(DebugAction.checkNoChanges, checkNoChangesView, null, [view]);\n}\n/**\n * @param {?} view\n * @return {?}\n */\nfunction debugDestroyView(view) {\n    return callWithDebugContext(DebugAction.destroy, destroyView, null, [view]);\n}\n/** @enum {number} */\nconst DebugAction = {\n    create: 0,\n    detectChanges: 1,\n    checkNoChanges: 2,\n    destroy: 3,\n    handleEvent: 4,\n};\nDebugAction[DebugAction.create] = 'create';\nDebugAction[DebugAction.detectChanges] = 'detectChanges';\nDebugAction[DebugAction.checkNoChanges] = 'checkNoChanges';\nDebugAction[DebugAction.destroy] = 'destroy';\nDebugAction[DebugAction.handleEvent] = 'handleEvent';\n/** @type {?} */\nlet _currentAction;\n/** @type {?} */\nlet _currentView;\n/** @type {?} */\nlet _currentNodeIndex;\n/**\n * @param {?} view\n * @param {?} nodeIndex\n * @return {?}\n */\nfunction debugSetCurrentNode(view, nodeIndex) {\n    _currentView = view;\n    _currentNodeIndex = nodeIndex;\n}\n/**\n * @param {?} view\n * @param {?} nodeIndex\n * @param {?} eventName\n * @param {?} event\n * @return {?}\n */\nfunction debugHandleEvent(view, nodeIndex, eventName, event) {\n    debugSetCurrentNode(view, nodeIndex);\n    return callWithDebugContext(DebugAction.handleEvent, view.def.handleEvent, null, [view, nodeIndex, eventName, event]);\n}\n/**\n * @param {?} view\n * @param {?} checkType\n * @return {?}\n */\nfunction debugUpdateDirectives(view, checkType) {\n    if (view.state & 128 /* Destroyed */) {\n        throw viewDestroyedError(DebugAction[_currentAction]);\n    }\n    debugSetCurrentNode(view, nextDirectiveWithBinding(view, 0));\n    return view.def.updateDirectives(debugCheckDirectivesFn, view);\n    /**\n     * @param {?} view\n     * @param {?} nodeIndex\n     * @param {?} argStyle\n     * @param {...?} values\n     * @return {?}\n     */\n    function debugCheckDirectivesFn(view, nodeIndex, argStyle, ...values) {\n        /** @type {?} */\n        const nodeDef = view.def.nodes[nodeIndex];\n        if (checkType === 0 /* CheckAndUpdate */) {\n            debugCheckAndUpdateNode(view, nodeDef, argStyle, values);\n        }\n        else {\n            debugCheckNoChangesNode(view, nodeDef, argStyle, values);\n        }\n        if (nodeDef.flags & 16384 /* TypeDirective */) {\n            debugSetCurrentNode(view, nextDirectiveWithBinding(view, nodeIndex));\n        }\n        return (nodeDef.flags & 224 /* CatPureExpression */) ?\n            asPureExpressionData(view, nodeDef.nodeIndex).value :\n            undefined;\n    }\n}\n/**\n * @param {?} view\n * @param {?} checkType\n * @return {?}\n */\nfunction debugUpdateRenderer(view, checkType) {\n    if (view.state & 128 /* Destroyed */) {\n        throw viewDestroyedError(DebugAction[_currentAction]);\n    }\n    debugSetCurrentNode(view, nextRenderNodeWithBinding(view, 0));\n    return view.def.updateRenderer(debugCheckRenderNodeFn, view);\n    /**\n     * @param {?} view\n     * @param {?} nodeIndex\n     * @param {?} argStyle\n     * @param {...?} values\n     * @return {?}\n     */\n    function debugCheckRenderNodeFn(view, nodeIndex, argStyle, ...values) {\n        /** @type {?} */\n        const nodeDef = view.def.nodes[nodeIndex];\n        if (checkType === 0 /* CheckAndUpdate */) {\n            debugCheckAndUpdateNode(view, nodeDef, argStyle, values);\n        }\n        else {\n            debugCheckNoChangesNode(view, nodeDef, argStyle, values);\n        }\n        if (nodeDef.flags & 3 /* CatRenderNode */) {\n            debugSetCurrentNode(view, nextRenderNodeWithBinding(view, nodeIndex));\n        }\n        return (nodeDef.flags & 224 /* CatPureExpression */) ?\n            asPureExpressionData(view, nodeDef.nodeIndex).value :\n            undefined;\n    }\n}\n/**\n * @param {?} view\n * @param {?} nodeDef\n * @param {?} argStyle\n * @param {?} givenValues\n * @return {?}\n */\nfunction debugCheckAndUpdateNode(view, nodeDef, argStyle, givenValues) {\n    /** @type {?} */\n    const changed = ((/** @type {?} */ (checkAndUpdateNode)))(view, nodeDef, argStyle, ...givenValues);\n    if (changed) {\n        /** @type {?} */\n        const values = argStyle === 1 /* Dynamic */ ? givenValues[0] : givenValues;\n        if (nodeDef.flags & 16384 /* TypeDirective */) {\n            /** @type {?} */\n            const bindingValues = {};\n            for (let i = 0; i < nodeDef.bindings.length; i++) {\n                /** @type {?} */\n                const binding = nodeDef.bindings[i];\n                /** @type {?} */\n                const value = values[i];\n                if (binding.flags & 8 /* TypeProperty */) {\n                    bindingValues[normalizeDebugBindingName((/** @type {?} */ (binding.nonMinifiedName)))] =\n                        normalizeDebugBindingValue(value);\n                }\n            }\n            /** @type {?} */\n            const elDef = (/** @type {?} */ (nodeDef.parent));\n            /** @type {?} */\n            const el = asElementData(view, elDef.nodeIndex).renderElement;\n            if (!(/** @type {?} */ (elDef.element)).name) {\n                // a comment.\n                view.renderer.setValue(el, `bindings=${JSON.stringify(bindingValues, null, 2)}`);\n            }\n            else {\n                // a regular element.\n                for (let attr in bindingValues) {\n                    /** @type {?} */\n                    const value = bindingValues[attr];\n                    if (value != null) {\n                        view.renderer.setAttribute(el, attr, value);\n                    }\n                    else {\n                        view.renderer.removeAttribute(el, attr);\n                    }\n                }\n            }\n        }\n    }\n}\n/**\n * @param {?} view\n * @param {?} nodeDef\n * @param {?} argStyle\n * @param {?} values\n * @return {?}\n */\nfunction debugCheckNoChangesNode(view, nodeDef, argStyle, values) {\n    ((/** @type {?} */ (checkNoChangesNode)))(view, nodeDef, argStyle, ...values);\n}\n/**\n * @param {?} view\n * @param {?} nodeIndex\n * @return {?}\n */\nfunction nextDirectiveWithBinding(view, nodeIndex) {\n    for (let i = nodeIndex; i < view.def.nodes.length; i++) {\n        /** @type {?} */\n        const nodeDef = view.def.nodes[i];\n        if (nodeDef.flags & 16384 /* TypeDirective */ && nodeDef.bindings && nodeDef.bindings.length) {\n            return i;\n        }\n    }\n    return null;\n}\n/**\n * @param {?} view\n * @param {?} nodeIndex\n * @return {?}\n */\nfunction nextRenderNodeWithBinding(view, nodeIndex) {\n    for (let i = nodeIndex; i < view.def.nodes.length; i++) {\n        /** @type {?} */\n        const nodeDef = view.def.nodes[i];\n        if ((nodeDef.flags & 3 /* CatRenderNode */) && nodeDef.bindings && nodeDef.bindings.length) {\n            return i;\n        }\n    }\n    return null;\n}\nclass DebugContext_ {\n    /**\n     * @param {?} view\n     * @param {?} nodeIndex\n     */\n    constructor(view, nodeIndex) {\n        this.view = view;\n        this.nodeIndex = nodeIndex;\n        if (nodeIndex == null) {\n            this.nodeIndex = nodeIndex = 0;\n        }\n        this.nodeDef = view.def.nodes[nodeIndex];\n        /** @type {?} */\n        let elDef = this.nodeDef;\n        /** @type {?} */\n        let elView = view;\n        while (elDef && (elDef.flags & 1 /* TypeElement */) === 0) {\n            elDef = (/** @type {?} */ (elDef.parent));\n        }\n        if (!elDef) {\n            while (!elDef && elView) {\n                elDef = (/** @type {?} */ (viewParentEl(elView)));\n                elView = (/** @type {?} */ (elView.parent));\n            }\n        }\n        this.elDef = elDef;\n        this.elView = elView;\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    get elOrCompView() {\n        // Has to be done lazily as we use the DebugContext also during creation of elements...\n        return asElementData(this.elView, this.elDef.nodeIndex).componentView || this.view;\n    }\n    /**\n     * @return {?}\n     */\n    get injector() { return createInjector$1(this.elView, this.elDef); }\n    /**\n     * @return {?}\n     */\n    get component() { return this.elOrCompView.component; }\n    /**\n     * @return {?}\n     */\n    get context() { return this.elOrCompView.context; }\n    /**\n     * @return {?}\n     */\n    get providerTokens() {\n        /** @type {?} */\n        const tokens = [];\n        if (this.elDef) {\n            for (let i = this.elDef.nodeIndex + 1; i <= this.elDef.nodeIndex + this.elDef.childCount; i++) {\n                /** @type {?} */\n                const childDef = this.elView.def.nodes[i];\n                if (childDef.flags & 20224 /* CatProvider */) {\n                    tokens.push((/** @type {?} */ (childDef.provider)).token);\n                }\n                i += childDef.childCount;\n            }\n        }\n        return tokens;\n    }\n    /**\n     * @return {?}\n     */\n    get references() {\n        /** @type {?} */\n        const references = {};\n        if (this.elDef) {\n            collectReferences(this.elView, this.elDef, references);\n            for (let i = this.elDef.nodeIndex + 1; i <= this.elDef.nodeIndex + this.elDef.childCount; i++) {\n                /** @type {?} */\n                const childDef = this.elView.def.nodes[i];\n                if (childDef.flags & 20224 /* CatProvider */) {\n                    collectReferences(this.elView, childDef, references);\n                }\n                i += childDef.childCount;\n            }\n        }\n        return references;\n    }\n    /**\n     * @return {?}\n     */\n    get componentRenderElement() {\n        /** @type {?} */\n        const elData = findHostElement(this.elOrCompView);\n        return elData ? elData.renderElement : undefined;\n    }\n    /**\n     * @return {?}\n     */\n    get renderNode() {\n        return this.nodeDef.flags & 2 /* TypeText */ ? renderNode(this.view, this.nodeDef) :\n            renderNode(this.elView, this.elDef);\n    }\n    /**\n     * @param {?} console\n     * @param {...?} values\n     * @return {?}\n     */\n    logError(console, ...values) {\n        /** @type {?} */\n        let logViewDef;\n        /** @type {?} */\n        let logNodeIndex;\n        if (this.nodeDef.flags & 2 /* TypeText */) {\n            logViewDef = this.view.def;\n            logNodeIndex = this.nodeDef.nodeIndex;\n        }\n        else {\n            logViewDef = this.elView.def;\n            logNodeIndex = this.elDef.nodeIndex;\n        }\n        // Note: we only generate a log function for text and element nodes\n        // to make the generated code as small as possible.\n        /** @type {?} */\n        const renderNodeIndex = getRenderNodeIndex(logViewDef, logNodeIndex);\n        /** @type {?} */\n        let currRenderNodeIndex = -1;\n        /** @type {?} */\n        let nodeLogger = (/**\n         * @return {?}\n         */\n        () => {\n            currRenderNodeIndex++;\n            if (currRenderNodeIndex === renderNodeIndex) {\n                return console.error.bind(console, ...values);\n            }\n            else {\n                return NOOP;\n            }\n        });\n        (/** @type {?} */ (logViewDef.factory))(nodeLogger);\n        if (currRenderNodeIndex < renderNodeIndex) {\n            console.error('Illegal state: the ViewDefinitionFactory did not call the logger!');\n            ((/** @type {?} */ (console.error)))(...values);\n        }\n    }\n}\nif (false) {}\n/**\n * @param {?} viewDef\n * @param {?} nodeIndex\n * @return {?}\n */\nfunction getRenderNodeIndex(viewDef, nodeIndex) {\n    /** @type {?} */\n    let renderNodeIndex = -1;\n    for (let i = 0; i <= nodeIndex; i++) {\n        /** @type {?} */\n        const nodeDef = viewDef.nodes[i];\n        if (nodeDef.flags & 3 /* CatRenderNode */) {\n            renderNodeIndex++;\n        }\n    }\n    return renderNodeIndex;\n}\n/**\n * @param {?} view\n * @return {?}\n */\nfunction findHostElement(view) {\n    while (view && !isComponentView(view)) {\n        view = (/** @type {?} */ (view.parent));\n    }\n    if (view.parent) {\n        return asElementData(view.parent, (/** @type {?} */ (viewParentEl(view))).nodeIndex);\n    }\n    return null;\n}\n/**\n * @param {?} view\n * @param {?} nodeDef\n * @param {?} references\n * @return {?}\n */\nfunction collectReferences(view, nodeDef, references) {\n    for (let refName in nodeDef.references) {\n        references[refName] = getQueryValue(view, nodeDef, nodeDef.references[refName]);\n    }\n}\n/**\n * @param {?} action\n * @param {?} fn\n * @param {?} self\n * @param {?} args\n * @return {?}\n */\nfunction callWithDebugContext(action, fn, self, args) {\n    /** @type {?} */\n    const oldAction = _currentAction;\n    /** @type {?} */\n    const oldView = _currentView;\n    /** @type {?} */\n    const oldNodeIndex = _currentNodeIndex;\n    try {\n        _currentAction = action;\n        /** @type {?} */\n        const result = fn.apply(self, args);\n        _currentView = oldView;\n        _currentNodeIndex = oldNodeIndex;\n        _currentAction = oldAction;\n        return result;\n    }\n    catch (e) {\n        if (isViewDebugError(e) || !_currentView) {\n            throw e;\n        }\n        throw viewWrappedDebugError(e, (/** @type {?} */ (getCurrentDebugContext())));\n    }\n}\n/**\n * @return {?}\n */\nfunction getCurrentDebugContext() {\n    return _currentView ? new DebugContext_(_currentView, _currentNodeIndex) : null;\n}\nclass DebugRendererFactory2 {\n    /**\n     * @param {?} delegate\n     */\n    constructor(delegate) {\n        this.delegate = delegate;\n    }\n    /**\n     * @param {?} element\n     * @param {?} renderData\n     * @return {?}\n     */\n    createRenderer(element, renderData) {\n        return new DebugRenderer2(this.delegate.createRenderer(element, renderData));\n    }\n    /**\n     * @return {?}\n     */\n    begin() {\n        if (this.delegate.begin) {\n            this.delegate.begin();\n        }\n    }\n    /**\n     * @return {?}\n     */\n    end() {\n        if (this.delegate.end) {\n            this.delegate.end();\n        }\n    }\n    /**\n     * @return {?}\n     */\n    whenRenderingDone() {\n        if (this.delegate.whenRenderingDone) {\n            return this.delegate.whenRenderingDone();\n        }\n        return Promise.resolve(null);\n    }\n}\nif (false) {}\nclass DebugRenderer2 {\n    /**\n     * @param {?} delegate\n     */\n    constructor(delegate) {\n        this.delegate = delegate;\n        /**\n         * Factory function used to create a `DebugContext` when a node is created.\n         *\n         * The `DebugContext` allows to retrieve information about the nodes that are useful in tests.\n         *\n         * The factory is configurable so that the `DebugRenderer2` could instantiate either a View Engine\n         * or a Render context.\n         */\n        this.debugContextFactory = getCurrentDebugContext;\n        this.data = this.delegate.data;\n    }\n    /**\n     * @private\n     * @param {?} nativeElement\n     * @return {?}\n     */\n    createDebugContext(nativeElement) { return this.debugContextFactory(nativeElement); }\n    /**\n     * @param {?} node\n     * @return {?}\n     */\n    destroyNode(node) {\n        /** @type {?} */\n        const debugNode = (/** @type {?} */ (getDebugNode(node)));\n        removeDebugNodeFromIndex(debugNode);\n        if (debugNode instanceof DebugNode__PRE_R3__) {\n            debugNode.listeners.length = 0;\n        }\n        if (this.delegate.destroyNode) {\n            this.delegate.destroyNode(node);\n        }\n    }\n    /**\n     * @return {?}\n     */\n    destroy() { this.delegate.destroy(); }\n    /**\n     * @param {?} name\n     * @param {?=} namespace\n     * @return {?}\n     */\n    createElement(name, namespace) {\n        /** @type {?} */\n        const el = this.delegate.createElement(name, namespace);\n        /** @type {?} */\n        const debugCtx = this.createDebugContext(el);\n        if (debugCtx) {\n            /** @type {?} */\n            const debugEl = new DebugElement__PRE_R3__(el, null, debugCtx);\n            ((/** @type {?} */ (debugEl))).name = name;\n            indexDebugNode(debugEl);\n        }\n        return el;\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    createComment(value) {\n        /** @type {?} */\n        const comment = this.delegate.createComment(value);\n        /** @type {?} */\n        const debugCtx = this.createDebugContext(comment);\n        if (debugCtx) {\n            indexDebugNode(new DebugNode__PRE_R3__(comment, null, debugCtx));\n        }\n        return comment;\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    createText(value) {\n        /** @type {?} */\n        const text = this.delegate.createText(value);\n        /** @type {?} */\n        const debugCtx = this.createDebugContext(text);\n        if (debugCtx) {\n            indexDebugNode(new DebugNode__PRE_R3__(text, null, debugCtx));\n        }\n        return text;\n    }\n    /**\n     * @param {?} parent\n     * @param {?} newChild\n     * @return {?}\n     */\n    appendChild(parent, newChild) {\n        /** @type {?} */\n        const debugEl = getDebugNode(parent);\n        /** @type {?} */\n        const debugChildEl = getDebugNode(newChild);\n        if (debugEl && debugChildEl && debugEl instanceof DebugElement__PRE_R3__) {\n            debugEl.addChild(debugChildEl);\n        }\n        this.delegate.appendChild(parent, newChild);\n    }\n    /**\n     * @param {?} parent\n     * @param {?} newChild\n     * @param {?} refChild\n     * @return {?}\n     */\n    insertBefore(parent, newChild, refChild) {\n        /** @type {?} */\n        const debugEl = getDebugNode(parent);\n        /** @type {?} */\n        const debugChildEl = getDebugNode(newChild);\n        /** @type {?} */\n        const debugRefEl = (/** @type {?} */ (getDebugNode(refChild)));\n        if (debugEl && debugChildEl && debugEl instanceof DebugElement__PRE_R3__) {\n            debugEl.insertBefore(debugRefEl, debugChildEl);\n        }\n        this.delegate.insertBefore(parent, newChild, refChild);\n    }\n    /**\n     * @param {?} parent\n     * @param {?} oldChild\n     * @return {?}\n     */\n    removeChild(parent, oldChild) {\n        /** @type {?} */\n        const debugEl = getDebugNode(parent);\n        /** @type {?} */\n        const debugChildEl = getDebugNode(oldChild);\n        if (debugEl && debugChildEl && debugEl instanceof DebugElement__PRE_R3__) {\n            debugEl.removeChild(debugChildEl);\n        }\n        this.delegate.removeChild(parent, oldChild);\n    }\n    /**\n     * @param {?} selectorOrNode\n     * @param {?=} preserveContent\n     * @return {?}\n     */\n    selectRootElement(selectorOrNode, preserveContent) {\n        /** @type {?} */\n        const el = this.delegate.selectRootElement(selectorOrNode, preserveContent);\n        /** @type {?} */\n        const debugCtx = getCurrentDebugContext();\n        if (debugCtx) {\n            indexDebugNode(new DebugElement__PRE_R3__(el, null, debugCtx));\n        }\n        return el;\n    }\n    /**\n     * @param {?} el\n     * @param {?} name\n     * @param {?} value\n     * @param {?=} namespace\n     * @return {?}\n     */\n    setAttribute(el, name, value, namespace) {\n        /** @type {?} */\n        const debugEl = getDebugNode(el);\n        if (debugEl && debugEl instanceof DebugElement__PRE_R3__) {\n            /** @type {?} */\n            const fullName = namespace ? namespace + ':' + name : name;\n            debugEl.attributes[fullName] = value;\n        }\n        this.delegate.setAttribute(el, name, value, namespace);\n    }\n    /**\n     * @param {?} el\n     * @param {?} name\n     * @param {?=} namespace\n     * @return {?}\n     */\n    removeAttribute(el, name, namespace) {\n        /** @type {?} */\n        const debugEl = getDebugNode(el);\n        if (debugEl && debugEl instanceof DebugElement__PRE_R3__) {\n            /** @type {?} */\n            const fullName = namespace ? namespace + ':' + name : name;\n            debugEl.attributes[fullName] = null;\n        }\n        this.delegate.removeAttribute(el, name, namespace);\n    }\n    /**\n     * @param {?} el\n     * @param {?} name\n     * @return {?}\n     */\n    addClass(el, name) {\n        /** @type {?} */\n        const debugEl = getDebugNode(el);\n        if (debugEl && debugEl instanceof DebugElement__PRE_R3__) {\n            debugEl.classes[name] = true;\n        }\n        this.delegate.addClass(el, name);\n    }\n    /**\n     * @param {?} el\n     * @param {?} name\n     * @return {?}\n     */\n    removeClass(el, name) {\n        /** @type {?} */\n        const debugEl = getDebugNode(el);\n        if (debugEl && debugEl instanceof DebugElement__PRE_R3__) {\n            debugEl.classes[name] = false;\n        }\n        this.delegate.removeClass(el, name);\n    }\n    /**\n     * @param {?} el\n     * @param {?} style\n     * @param {?} value\n     * @param {?} flags\n     * @return {?}\n     */\n    setStyle(el, style, value, flags) {\n        /** @type {?} */\n        const debugEl = getDebugNode(el);\n        if (debugEl && debugEl instanceof DebugElement__PRE_R3__) {\n            debugEl.styles[style] = value;\n        }\n        this.delegate.setStyle(el, style, value, flags);\n    }\n    /**\n     * @param {?} el\n     * @param {?} style\n     * @param {?} flags\n     * @return {?}\n     */\n    removeStyle(el, style, flags) {\n        /** @type {?} */\n        const debugEl = getDebugNode(el);\n        if (debugEl && debugEl instanceof DebugElement__PRE_R3__) {\n            debugEl.styles[style] = null;\n        }\n        this.delegate.removeStyle(el, style, flags);\n    }\n    /**\n     * @param {?} el\n     * @param {?} name\n     * @param {?} value\n     * @return {?}\n     */\n    setProperty(el, name, value) {\n        /** @type {?} */\n        const debugEl = getDebugNode(el);\n        if (debugEl && debugEl instanceof DebugElement__PRE_R3__) {\n            debugEl.properties[name] = value;\n        }\n        this.delegate.setProperty(el, name, value);\n    }\n    /**\n     * @param {?} target\n     * @param {?} eventName\n     * @param {?} callback\n     * @return {?}\n     */\n    listen(target, eventName, callback) {\n        if (typeof target !== 'string') {\n            /** @type {?} */\n            const debugEl = getDebugNode(target);\n            if (debugEl) {\n                debugEl.listeners.push(new DebugEventListener(eventName, callback));\n            }\n        }\n        return this.delegate.listen(target, eventName, callback);\n    }\n    /**\n     * @param {?} node\n     * @return {?}\n     */\n    parentNode(node) { return this.delegate.parentNode(node); }\n    /**\n     * @param {?} node\n     * @return {?}\n     */\n    nextSibling(node) { return this.delegate.nextSibling(node); }\n    /**\n     * @param {?} node\n     * @param {?} value\n     * @return {?}\n     */\n    setValue(node, value) { return this.delegate.setValue(node, value); }\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @param {?} override\n * @return {?}\n */\nfunction overrideProvider(override) {\n    initServicesIfNeeded();\n    return Services.overrideProvider(override);\n}\n/**\n * @param {?} comp\n * @param {?} componentFactory\n * @return {?}\n */\nfunction overrideComponentView(comp, componentFactory) {\n    initServicesIfNeeded();\n    return Services.overrideComponentView(comp, componentFactory);\n}\n/**\n * @return {?}\n */\nfunction clearOverrides() {\n    initServicesIfNeeded();\n    return Services.clearOverrides();\n}\n// Attention: this function is called as top level function.\n// Putting any logic in here will destroy closure tree shaking!\n/**\n * @param {?} ngModuleType\n * @param {?} bootstrapComponents\n * @param {?} defFactory\n * @return {?}\n */\nfunction createNgModuleFactory(ngModuleType, bootstrapComponents, defFactory) {\n    return new NgModuleFactory_(ngModuleType, bootstrapComponents, defFactory);\n}\n/**\n * @param {?} def\n * @return {?}\n */\nfunction cloneNgModuleDefinition(def) {\n    /** @type {?} */\n    const providers = Array.from(def.providers);\n    /** @type {?} */\n    const modules = Array.from(def.modules);\n    /** @type {?} */\n    const providersByKey = {};\n    for (const key in def.providersByKey) {\n        providersByKey[key] = def.providersByKey[key];\n    }\n    return {\n        factory: def.factory,\n        isRoot: def.isRoot, providers, modules, providersByKey,\n    };\n}\nclass NgModuleFactory_ extends NgModuleFactory {\n    /**\n     * @param {?} moduleType\n     * @param {?} _bootstrapComponents\n     * @param {?} _ngModuleDefFactory\n     */\n    constructor(moduleType, _bootstrapComponents, _ngModuleDefFactory) {\n        // Attention: this ctor is called as top level function.\n        // Putting any logic in here will destroy closure tree shaking!\n        super();\n        this.moduleType = moduleType;\n        this._bootstrapComponents = _bootstrapComponents;\n        this._ngModuleDefFactory = _ngModuleDefFactory;\n    }\n    /**\n     * @param {?} parentInjector\n     * @return {?}\n     */\n    create(parentInjector) {\n        initServicesIfNeeded();\n        // Clone the NgModuleDefinition so that any tree shakeable provider definition\n        // added to this instance of the NgModuleRef doesn't affect the cached copy.\n        // See https://github.com/angular/angular/issues/25018.\n        /** @type {?} */\n        const def = cloneNgModuleDefinition(resolveDefinition(this._ngModuleDefFactory));\n        return Services.createNgModuleRef(this.moduleType, parentInjector || Injector.NULL, this._bootstrapComponents, def);\n    }\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\n\n//# sourceMappingURL=core.js.map\n\n\n/***/ }),\n\n/***/ \"./node_modules/@angular/flex-layout/esm2015/core.js\":\n/*!***********************************************************!*\\\n  !*** ./node_modules/@angular/flex-layout/esm2015/core.js ***!\n  \\***********************************************************/\n/*! exports provided: ɵMatchMedia, ɵMockMatchMedia, ɵMockMatchMediaProvider, CoreModule, removeStyles, BROWSER_PROVIDER, CLASS_NAME, MediaChange, StylesheetMap, DEFAULT_CONFIG, LAYOUT_CONFIG, SERVER_TOKEN, BREAKPOINT, mergeAlias, BaseDirective2, DEFAULT_BREAKPOINTS, ScreenTypes, ORIENTATION_BREAKPOINTS, BreakPointRegistry, BREAKPOINTS, MediaObserver, MediaTrigger, sortDescendingPriority, sortAscendingPriority, coerceArray, StyleUtils, StyleBuilder, validateBasis, MediaMarshaller, BREAKPOINT_PRINT, PrintHook */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵMatchMedia\", function() { return MatchMedia; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵMockMatchMedia\", function() { return MockMatchMedia; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵMockMatchMediaProvider\", function() { return MockMatchMediaProvider; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CoreModule\", function() { return CoreModule; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"removeStyles\", function() { return removeStyles; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BROWSER_PROVIDER\", function() { return BROWSER_PROVIDER; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CLASS_NAME\", function() { return CLASS_NAME; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MediaChange\", function() { return MediaChange; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"StylesheetMap\", function() { return StylesheetMap; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DEFAULT_CONFIG\", function() { return DEFAULT_CONFIG; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LAYOUT_CONFIG\", function() { return LAYOUT_CONFIG; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SERVER_TOKEN\", function() { return SERVER_TOKEN; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BREAKPOINT\", function() { return BREAKPOINT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"mergeAlias\", function() { return mergeAlias; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BaseDirective2\", function() { return BaseDirective2; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DEFAULT_BREAKPOINTS\", function() { return DEFAULT_BREAKPOINTS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ScreenTypes\", function() { return ScreenTypes; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ORIENTATION_BREAKPOINTS\", function() { return ORIENTATION_BREAKPOINTS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BreakPointRegistry\", function() { return BreakPointRegistry; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BREAKPOINTS\", function() { return BREAKPOINTS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MediaObserver\", function() { return MediaObserver; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MediaTrigger\", function() { return MediaTrigger; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"sortDescendingPriority\", function() { return sortDescendingPriority; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"sortAscendingPriority\", function() { return sortAscendingPriority; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"coerceArray\", function() { return coerceArray; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"StyleUtils\", function() { return StyleUtils; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"StyleBuilder\", function() { return StyleBuilder; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"validateBasis\", function() { return validateBasis; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MediaMarshaller\", function() { return MediaMarshaller; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BREAKPOINT_PRINT\", function() { return BREAKPOINT_PRINT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PrintHook\", function() { return PrintHook; });\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ \"./node_modules/@angular/common/fesm2015/common.js\");\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ \"./node_modules/rxjs/_esm2015/index.js\");\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ \"./node_modules/rxjs/_esm2015/operators/index.js\");\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\n\n\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Find all of the server-generated stylings, if any, and remove them\n * This will be in the form of inline classes and the style block in the\n * head of the DOM\n * @param {?} _document\n * @param {?} platformId\n * @return {?}\n */\nfunction removeStyles(_document, platformId) {\n    return (/**\n     * @return {?}\n     */\n    () => {\n        if (Object(_angular_common__WEBPACK_IMPORTED_MODULE_1__[\"isPlatformBrowser\"])(platformId)) {\n            /** @type {?} */\n            const elements = Array.from(_document.querySelectorAll(`[class*=${CLASS_NAME}]`));\n            // RegExp constructor should only be used if passing a variable to the constructor.\n            // When using static regular expression it is more performant to use reg exp literal.\n            // This is also needed to provide Safari 9 compatibility, please see\n            // https://stackoverflow.com/questions/37919802 for more discussion.\n            /** @type {?} */\n            const classRegex = /\\bflex-layout-.+?\\b/g;\n            elements.forEach((/**\n             * @param {?} el\n             * @return {?}\n             */\n            el => {\n                el.classList.contains(`${CLASS_NAME}ssr`) && el.parentNode ?\n                    el.parentNode.removeChild(el) : el.className.replace(classRegex, '');\n            }));\n        }\n    });\n}\n/**\n *  Provider to remove SSR styles on the browser\n * @type {?}\n */\nconst BROWSER_PROVIDER = {\n    provide: (/** @type {?} */ (_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"APP_BOOTSTRAP_LISTENER\"])),\n    useFactory: removeStyles,\n    deps: [_angular_common__WEBPACK_IMPORTED_MODULE_1__[\"DOCUMENT\"], _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"PLATFORM_ID\"]],\n    multi: true\n};\n/** @type {?} */\nconst CLASS_NAME = 'flex-layout-';\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * *****************************************************************\n * Define module for the MediaQuery API\n * *****************************************************************\n */\nclass CoreModule {\n}\nCoreModule.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"], args: [{\n                providers: [BROWSER_PROVIDER]\n            },] },\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Class instances emitted [to observers] for each mql notification\n */\nclass MediaChange {\n    /**\n     * @param {?=} matches whether the mediaQuery is currently activated\n     * @param {?=} mediaQuery e.g. (min-width: 600px) and (max-width: 959px)\n     * @param {?=} mqAlias e.g. gt-sm, md, gt-lg\n     * @param {?=} suffix e.g. GtSM, Md, GtLg\n     * @param {?=} priority the priority of activation for the given breakpoint\n     */\n    constructor(matches = false, mediaQuery = 'all', mqAlias = '', suffix = '', priority = 0) {\n        this.matches = matches;\n        this.mediaQuery = mediaQuery;\n        this.mqAlias = mqAlias;\n        this.suffix = suffix;\n        this.priority = priority;\n        this.property = '';\n    }\n    /**\n     * Create an exact copy of the MediaChange\n     * @return {?}\n     */\n    clone() {\n        return new MediaChange(this.matches, this.mediaQuery, this.mqAlias, this.suffix);\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Utility to emulate a CSS stylesheet\n *\n * This utility class stores all of the styles for a given HTML element\n * as a readonly `stylesheet` map.\n */\nclass StylesheetMap {\n    constructor() {\n        this.stylesheet = new Map();\n    }\n    /**\n     * Add an individual style to an HTML element\n     * @param {?} element\n     * @param {?} style\n     * @param {?} value\n     * @return {?}\n     */\n    addStyleToElement(element, style, value) {\n        /** @type {?} */\n        const stylesheet = this.stylesheet.get(element);\n        if (stylesheet) {\n            stylesheet.set(style, value);\n        }\n        else {\n            this.stylesheet.set(element, new Map([[style, value]]));\n        }\n    }\n    /**\n     * Clear the virtual stylesheet\n     * @return {?}\n     */\n    clearStyles() {\n        this.stylesheet.clear();\n    }\n    /**\n     * Retrieve a given style for an HTML element\n     * @param {?} el\n     * @param {?} styleName\n     * @return {?}\n     */\n    getStyleForElement(el, styleName) {\n        /** @type {?} */\n        const styles = this.stylesheet.get(el);\n        /** @type {?} */\n        let value = '';\n        if (styles) {\n            /** @type {?} */\n            const style = styles.get(styleName);\n            if (typeof style === 'number' || typeof style === 'string') {\n                value = style + '';\n            }\n        }\n        return value;\n    }\n}\nStylesheetMap.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */ StylesheetMap.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({ factory: function StylesheetMap_Factory() { return new StylesheetMap(); }, token: StylesheetMap, providedIn: \"root\" });\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst DEFAULT_CONFIG = {\n    addFlexToParent: true,\n    addOrientationBps: false,\n    disableDefaultBps: false,\n    disableVendorPrefixes: false,\n    serverLoaded: false,\n    useColumnBasisZero: true,\n    printWithBreakpoints: [],\n    mediaTriggerAutoRestore: true,\n    ssrObserveBreakpoints: [],\n};\n/** @type {?} */\nconst LAYOUT_CONFIG = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('Flex Layout token, config options for the library', {\n    providedIn: 'root',\n    factory: (/**\n     * @return {?}\n     */\n    () => DEFAULT_CONFIG)\n});\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Token that is provided to tell whether the FlexLayoutServerModule\n * has been included in the bundle\n *\n * NOTE: This can be manually provided to disable styles when using SSR\n * @type {?}\n */\nconst SERVER_TOKEN = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('FlexLayoutServerLoaded', {\n    providedIn: 'root',\n    factory: (/**\n     * @return {?}\n     */\n    () => false)\n});\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst BREAKPOINT = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('Flex Layout token, collect all breakpoints into one provider', {\n    providedIn: 'root',\n    factory: (/**\n     * @return {?}\n     */\n    () => null)\n});\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * For the specified MediaChange, make sure it contains the breakpoint alias\n * and suffix (if available).\n * @param {?} dest\n * @param {?} source\n * @return {?}\n */\nfunction mergeAlias(dest, source) {\n    dest = dest ? dest.clone() : new MediaChange();\n    if (source) {\n        dest.mqAlias = source.alias;\n        dest.mediaQuery = source.mediaQuery;\n        dest.suffix = (/** @type {?} */ (source.suffix));\n        dest.priority = (/** @type {?} */ (source.priority));\n    }\n    return dest;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n * @type {?}\n */\nconst INLINE = 'inline';\n/** @type {?} */\nconst LAYOUT_VALUES = ['row', 'column', 'row-reverse', 'column-reverse'];\n/**\n * Validate the direction|'direction wrap' value and then update the host's inline flexbox styles\n * @param {?} value\n * @return {?}\n */\nfunction buildLayoutCSS(value) {\n    let [direction, wrap, isInline] = validateValue(value);\n    return buildCSS(direction, wrap, isInline);\n}\n/**\n * Validate the value to be one of the acceptable value options\n * Use default fallback of 'row'\n * @param {?} value\n * @return {?}\n */\nfunction validateValue(value) {\n    value = value ? value.toLowerCase() : '';\n    let [direction, wrap, inline] = value.split(' ');\n    // First value must be the `flex-direction`\n    if (!LAYOUT_VALUES.find((/**\n     * @param {?} x\n     * @return {?}\n     */\n    x => x === direction))) {\n        direction = LAYOUT_VALUES[0];\n    }\n    if (wrap === INLINE) {\n        wrap = (inline !== INLINE) ? inline : '';\n        inline = INLINE;\n    }\n    return [direction, validateWrapValue(wrap), !!inline];\n}\n/**\n * Convert layout-wrap='<value>' to expected flex-wrap style\n * @param {?} value\n * @return {?}\n */\nfunction validateWrapValue(value) {\n    if (!!value) {\n        switch (value.toLowerCase()) {\n            case 'reverse':\n            case 'wrap-reverse':\n            case 'reverse-wrap':\n                value = 'wrap-reverse';\n                break;\n            case 'no':\n            case 'none':\n            case 'nowrap':\n                value = 'nowrap';\n                break;\n            // All other values fallback to 'wrap'\n            default:\n                value = 'wrap';\n                break;\n        }\n    }\n    return value;\n}\n/**\n * Build the CSS that should be assigned to the element instance\n * BUG:\n *   1) min-height on a column flex container won’t apply to its flex item children in IE 10-11.\n *      Use height instead if possible; height : <xxx>vh;\n *\n *  This way any padding or border specified on the child elements are\n *  laid out and drawn inside that element's specified width and height.\n * @param {?} direction\n * @param {?=} wrap\n * @param {?=} inline\n * @return {?}\n */\nfunction buildCSS(direction, wrap = null, inline = false) {\n    return {\n        'display': inline ? 'inline-flex' : 'flex',\n        'box-sizing': 'border-box',\n        'flex-direction': direction,\n        'flex-wrap': !!wrap ? wrap : null\n    };\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @abstract\n */\nclass BaseDirective2 {\n    /**\n     * @protected\n     * @param {?} elementRef\n     * @param {?} styleBuilder\n     * @param {?} styler\n     * @param {?} marshal\n     */\n    constructor(elementRef, styleBuilder, styler, marshal) {\n        this.elementRef = elementRef;\n        this.styleBuilder = styleBuilder;\n        this.styler = styler;\n        this.marshal = marshal;\n        this.DIRECTIVE_KEY = '';\n        this.inputs = [];\n        /**\n         * The most recently used styles for the builder\n         */\n        this.mru = {};\n        this.destroySubject = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Subject\"]();\n        /**\n         * Cache map for style computation\n         */\n        this.styleCache = new Map();\n    }\n    /**\n     * Access to host element's parent DOM node\n     * @protected\n     * @return {?}\n     */\n    get parentElement() {\n        return this.elementRef.nativeElement.parentElement;\n    }\n    /**\n     * Access to the HTMLElement for the directive\n     * @protected\n     * @return {?}\n     */\n    get nativeElement() {\n        return this.elementRef.nativeElement;\n    }\n    /**\n     * Access to the activated value for the directive\n     * @return {?}\n     */\n    get activatedValue() {\n        return this.marshal.getValue(this.nativeElement, this.DIRECTIVE_KEY);\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    set activatedValue(value) {\n        this.marshal.setValue(this.nativeElement, this.DIRECTIVE_KEY, value, this.marshal.activatedAlias);\n    }\n    /**\n     * For \\@Input changes\n     * @param {?} changes\n     * @return {?}\n     */\n    ngOnChanges(changes) {\n        Object.keys(changes).forEach((/**\n         * @param {?} key\n         * @return {?}\n         */\n        key => {\n            if (this.inputs.indexOf(key) !== -1) {\n                /** @type {?} */\n                const bp = key.split('.').slice(1).join('.');\n                /** @type {?} */\n                const val = changes[key].currentValue;\n                this.setValue(val, bp);\n            }\n        }));\n    }\n    /**\n     * @return {?}\n     */\n    ngOnDestroy() {\n        this.destroySubject.next();\n        this.destroySubject.complete();\n        this.marshal.releaseElement(this.nativeElement);\n    }\n    /**\n     * Register with central marshaller service\n     * @protected\n     * @param {?=} extraTriggers\n     * @return {?}\n     */\n    init(extraTriggers = []) {\n        this.marshal.init(this.elementRef.nativeElement, this.DIRECTIVE_KEY, this.updateWithValue.bind(this), this.clearStyles.bind(this), extraTriggers);\n    }\n    /**\n     * Add styles to the element using predefined style builder\n     * @protected\n     * @param {?} input\n     * @param {?=} parent\n     * @return {?}\n     */\n    addStyles(input, parent) {\n        /** @type {?} */\n        const builder = this.styleBuilder;\n        /** @type {?} */\n        const useCache = builder.shouldCache;\n        /** @type {?} */\n        let genStyles = this.styleCache.get(input);\n        if (!genStyles || !useCache) {\n            genStyles = builder.buildStyles(input, parent);\n            if (useCache) {\n                this.styleCache.set(input, genStyles);\n            }\n        }\n        this.mru = Object.assign({}, genStyles);\n        this.applyStyleToElement(genStyles);\n        builder.sideEffect(input, genStyles, parent);\n    }\n    /**\n     * Remove generated styles from an element using predefined style builder\n     * @protected\n     * @return {?}\n     */\n    clearStyles() {\n        Object.keys(this.mru).forEach((/**\n         * @param {?} k\n         * @return {?}\n         */\n        k => {\n            this.mru[k] = '';\n        }));\n        this.applyStyleToElement(this.mru);\n        this.mru = {};\n    }\n    /**\n     * Force trigger style updates on DOM element\n     * @protected\n     * @return {?}\n     */\n    triggerUpdate() {\n        this.marshal.triggerUpdate(this.nativeElement, this.DIRECTIVE_KEY);\n    }\n    /**\n     * Determine the DOM element's Flexbox flow (flex-direction).\n     *\n     * Check inline style first then check computed (stylesheet) style.\n     * And optionally add the flow value to element's inline style.\n     * @protected\n     * @param {?} target\n     * @param {?=} addIfMissing\n     * @return {?}\n     */\n    getFlexFlowDirection(target, addIfMissing = false) {\n        if (target) {\n            const [value, hasInlineValue] = this.styler.getFlowDirection(target);\n            if (!hasInlineValue && addIfMissing) {\n                /** @type {?} */\n                const style = buildLayoutCSS(value);\n                /** @type {?} */\n                const elements = [target];\n                this.styler.applyStyleToElements(style, elements);\n            }\n            return value.trim();\n        }\n        return 'row';\n    }\n    /**\n     * Applies styles given via string pair or object map to the directive element\n     * @protected\n     * @param {?} style\n     * @param {?=} value\n     * @param {?=} element\n     * @return {?}\n     */\n    applyStyleToElement(style, value, element = this.nativeElement) {\n        this.styler.applyStyleToElement(element, style, value);\n    }\n    /**\n     * @protected\n     * @param {?} val\n     * @param {?} bp\n     * @return {?}\n     */\n    setValue(val, bp) {\n        this.marshal.setValue(this.nativeElement, this.DIRECTIVE_KEY, val, bp);\n    }\n    /**\n     * @protected\n     * @param {?} input\n     * @return {?}\n     */\n    updateWithValue(input) {\n        this.addStyles(input);\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * NOTE: Smaller ranges have HIGHER priority since the match is more specific\n * @type {?}\n */\nconst DEFAULT_BREAKPOINTS = [\n    {\n        alias: 'xs',\n        mediaQuery: 'screen and (min-width: 0px) and (max-width: 599.9px)',\n        priority: 1000,\n    },\n    {\n        alias: 'sm',\n        mediaQuery: 'screen and (min-width: 600px) and (max-width: 959.9px)',\n        priority: 900,\n    },\n    {\n        alias: 'md',\n        mediaQuery: 'screen and (min-width: 960px) and (max-width: 1279.9px)',\n        priority: 800,\n    },\n    {\n        alias: 'lg',\n        mediaQuery: 'screen and (min-width: 1280px) and (max-width: 1919.9px)',\n        priority: 700,\n    },\n    {\n        alias: 'xl',\n        mediaQuery: 'screen and (min-width: 1920px) and (max-width: 4999.9px)',\n        priority: 600,\n    },\n    {\n        alias: 'lt-sm',\n        overlapping: true,\n        mediaQuery: 'screen and (max-width: 599.9px)',\n        priority: 950,\n    },\n    {\n        alias: 'lt-md',\n        overlapping: true,\n        mediaQuery: 'screen and (max-width: 959.9px)',\n        priority: 850,\n    },\n    {\n        alias: 'lt-lg',\n        overlapping: true,\n        mediaQuery: 'screen and (max-width: 1279.9px)',\n        priority: 750,\n    },\n    {\n        alias: 'lt-xl',\n        overlapping: true,\n        priority: 650,\n        mediaQuery: 'screen and (max-width: 1919.9px)',\n    },\n    {\n        alias: 'gt-xs',\n        overlapping: true,\n        mediaQuery: 'screen and (min-width: 600px)',\n        priority: -950,\n    },\n    {\n        alias: 'gt-sm',\n        overlapping: true,\n        mediaQuery: 'screen and (min-width: 960px)',\n        priority: -850,\n    }, {\n        alias: 'gt-md',\n        overlapping: true,\n        mediaQuery: 'screen and (min-width: 1280px)',\n        priority: -750,\n    },\n    {\n        alias: 'gt-lg',\n        overlapping: true,\n        mediaQuery: 'screen and (min-width: 1920px)',\n        priority: -650,\n    }\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/* tslint:disable */\n/** @type {?} */\nconst HANDSET_PORTRAIT = '(orientation: portrait) and (max-width: 599.9px)';\n/** @type {?} */\nconst HANDSET_LANDSCAPE = '(orientation: landscape) and (max-width: 959.9px)';\n/** @type {?} */\nconst TABLET_PORTRAIT = '(orientation: portrait) and (min-width: 600px) and (max-width: 839.9px)';\n/** @type {?} */\nconst TABLET_LANDSCAPE = '(orientation: landscape) and (min-width: 960px) and (max-width: 1279.9px)';\n/** @type {?} */\nconst WEB_PORTRAIT = '(orientation: portrait) and (min-width: 840px)';\n/** @type {?} */\nconst WEB_LANDSCAPE = '(orientation: landscape) and (min-width: 1280px)';\n/** @type {?} */\nconst ScreenTypes = {\n    'HANDSET': `${HANDSET_PORTRAIT}, ${HANDSET_LANDSCAPE}`,\n    'TABLET': `${TABLET_PORTRAIT} , ${TABLET_LANDSCAPE}`,\n    'WEB': `${WEB_PORTRAIT}, ${WEB_LANDSCAPE} `,\n    'HANDSET_PORTRAIT': `${HANDSET_PORTRAIT}`,\n    'TABLET_PORTRAIT': `${TABLET_PORTRAIT} `,\n    'WEB_PORTRAIT': `${WEB_PORTRAIT}`,\n    'HANDSET_LANDSCAPE': `${HANDSET_LANDSCAPE}]`,\n    'TABLET_LANDSCAPE': `${TABLET_LANDSCAPE}`,\n    'WEB_LANDSCAPE': `${WEB_LANDSCAPE}`\n};\n/**\n * Extended Breakpoints for handset/tablets with landscape or portrait orientations\n * @type {?}\n */\nconst ORIENTATION_BREAKPOINTS = [\n    { 'alias': 'handset', priority: 2000, 'mediaQuery': ScreenTypes.HANDSET },\n    { 'alias': 'handset.landscape', priority: 2000, 'mediaQuery': ScreenTypes.HANDSET_LANDSCAPE },\n    { 'alias': 'handset.portrait', priority: 2000, 'mediaQuery': ScreenTypes.HANDSET_PORTRAIT },\n    { 'alias': 'tablet', priority: 2100, 'mediaQuery': ScreenTypes.TABLET },\n    { 'alias': 'tablet.landscape', priority: 2100, 'mediaQuery': ScreenTypes.TABLET },\n    { 'alias': 'tablet.portrait', priority: 2100, 'mediaQuery': ScreenTypes.TABLET_PORTRAIT },\n    { 'alias': 'web', priority: 2200, 'mediaQuery': ScreenTypes.WEB, overlapping: true },\n    { 'alias': 'web.landscape', priority: 2200, 'mediaQuery': ScreenTypes.WEB_LANDSCAPE, overlapping: true },\n    { 'alias': 'web.portrait', priority: 2200, 'mediaQuery': ScreenTypes.WEB_PORTRAIT, overlapping: true }\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * Extends an object with the *enumerable* and *own* properties of one or more source objects,\n * similar to Object.assign.\n *\n * @param {?} dest The object which will have properties copied to it.\n * @param {...?} sources The source objects from which properties will be copied.\n * @return {?}\n */\nfunction extendObject(dest, ...sources) {\n    if (dest == null) {\n        throw TypeError('Cannot convert undefined or null to object');\n    }\n    for (let source of sources) {\n        if (source != null) {\n            for (let key in source) {\n                if (source.hasOwnProperty(key)) {\n                    dest[key] = source[key];\n                }\n            }\n        }\n    }\n    return dest;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst ALIAS_DELIMITERS = /(\\.|-|_)/g;\n/**\n * @param {?} part\n * @return {?}\n */\nfunction firstUpperCase(part) {\n    /** @type {?} */\n    let first = part.length > 0 ? part.charAt(0) : '';\n    /** @type {?} */\n    let remainder = (part.length > 1) ? part.slice(1) : '';\n    return first.toUpperCase() + remainder;\n}\n/**\n * Converts snake-case to SnakeCase.\n * @param {?} name Text to UpperCamelCase\n * @return {?}\n */\nfunction camelCase(name) {\n    return name\n        .replace(ALIAS_DELIMITERS, '|')\n        .split('|')\n        .map(firstUpperCase)\n        .join('');\n}\n/**\n * For each breakpoint, ensure that a Suffix is defined;\n * fallback to UpperCamelCase the unique Alias value\n * @param {?} list\n * @return {?}\n */\nfunction validateSuffixes(list) {\n    list.forEach((/**\n     * @param {?} bp\n     * @return {?}\n     */\n    (bp) => {\n        if (!bp.suffix) {\n            bp.suffix = camelCase(bp.alias); // create Suffix value based on alias\n            bp.overlapping = !!bp.overlapping; // ensure default value\n        }\n    }));\n    return list;\n}\n/**\n * Merge a custom breakpoint list with the default list based on unique alias values\n *  - Items are added if the alias is not in the default list\n *  - Items are merged with the custom override if the alias exists in the default list\n * @param {?} defaults\n * @param {?=} custom\n * @return {?}\n */\nfunction mergeByAlias(defaults, custom = []) {\n    /** @type {?} */\n    const dict = {};\n    defaults.forEach((/**\n     * @param {?} bp\n     * @return {?}\n     */\n    bp => {\n        dict[bp.alias] = bp;\n    }));\n    // Merge custom breakpoints\n    custom.forEach((/**\n     * @param {?} bp\n     * @return {?}\n     */\n    (bp) => {\n        if (dict[bp.alias]) {\n            extendObject(dict[bp.alias], bp);\n        }\n        else {\n            dict[bp.alias] = bp;\n        }\n    }));\n    return validateSuffixes(Object.keys(dict).map((/**\n     * @param {?} k\n     * @return {?}\n     */\n    k => dict[k])));\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n *  Injection token unique to the flex-layout library.\n *  Use this token when build a custom provider (see below).\n * @type {?}\n */\nconst BREAKPOINTS = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('Token (@angular/flex-layout) Breakpoints', {\n    providedIn: 'root',\n    factory: (/**\n     * @return {?}\n     */\n    () => {\n        /** @type {?} */\n        const breakpoints = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"inject\"])(BREAKPOINT);\n        /** @type {?} */\n        const layoutConfig = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"inject\"])(LAYOUT_CONFIG);\n        /** @type {?} */\n        const bpFlattenArray = [].concat.apply([], (breakpoints || [])\n            .map((/**\n         * @param {?} v\n         * @return {?}\n         */\n        (v) => Array.isArray(v) ? v : [v])));\n        /** @type {?} */\n        const builtIns = (layoutConfig.disableDefaultBps ? [] : DEFAULT_BREAKPOINTS)\n            .concat(layoutConfig.addOrientationBps ? ORIENTATION_BREAKPOINTS : []);\n        return mergeByAlias(builtIns, bpFlattenArray);\n    })\n});\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * HOF to sort the breakpoints by descending priority\n * @template T\n * @param {?} a\n * @param {?} b\n * @return {?}\n */\nfunction sortDescendingPriority(a, b) {\n    /** @type {?} */\n    const priorityA = a ? a.priority || 0 : 0;\n    /** @type {?} */\n    const priorityB = b ? b.priority || 0 : 0;\n    return priorityB - priorityA;\n}\n/**\n * HOF to sort the breakpoints by ascending priority\n * @template T\n * @param {?} a\n * @param {?} b\n * @return {?}\n */\nfunction sortAscendingPriority(a, b) {\n    /** @type {?} */\n    const pA = a.priority || 0;\n    /** @type {?} */\n    const pB = b.priority || 0;\n    return pA - pB;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Registry of 1..n MediaQuery breakpoint ranges\n * This is published as a provider and may be overridden from custom, application-specific ranges\n *\n */\nclass BreakPointRegistry {\n    /**\n     * @param {?} list\n     */\n    constructor(list) {\n        /**\n         * Memoized BreakPoint Lookups\n         */\n        this.findByMap = new Map();\n        this.items = [...list].sort(sortAscendingPriority);\n    }\n    /**\n     * Search breakpoints by alias (e.g. gt-xs)\n     * @param {?} alias\n     * @return {?}\n     */\n    findByAlias(alias) {\n        return !alias ? null : this.findWithPredicate(alias, (/**\n         * @param {?} bp\n         * @return {?}\n         */\n        (bp) => bp.alias == alias));\n    }\n    /**\n     * @param {?} query\n     * @return {?}\n     */\n    findByQuery(query) {\n        return this.findWithPredicate(query, (/**\n         * @param {?} bp\n         * @return {?}\n         */\n        (bp) => bp.mediaQuery == query));\n    }\n    /**\n     * Get all the breakpoints whose ranges could overlapping `normal` ranges;\n     * e.g. gt-sm overlaps md, lg, and xl\n     * @return {?}\n     */\n    get overlappings() {\n        return this.items.filter((/**\n         * @param {?} it\n         * @return {?}\n         */\n        it => it.overlapping == true));\n    }\n    /**\n     * Get list of all registered (non-empty) breakpoint aliases\n     * @return {?}\n     */\n    get aliases() {\n        return this.items.map((/**\n         * @param {?} it\n         * @return {?}\n         */\n        it => it.alias));\n    }\n    /**\n     * Aliases are mapped to properties using suffixes\n     * e.g.  'gt-sm' for property 'layout'  uses suffix 'GtSm'\n     * for property layoutGtSM.\n     * @return {?}\n     */\n    get suffixes() {\n        return this.items.map((/**\n         * @param {?} it\n         * @return {?}\n         */\n        it => !!it.suffix ? it.suffix : ''));\n    }\n    /**\n     * Memoized lookup using custom predicate function\n     * @private\n     * @param {?} key\n     * @param {?} searchFn\n     * @return {?}\n     */\n    findWithPredicate(key, searchFn) {\n        /** @type {?} */\n        let response = this.findByMap.get(key);\n        if (!response) {\n            response = this.items.find(searchFn) || null;\n            this.findByMap.set(key, response);\n        }\n        return response || null;\n    }\n}\nBreakPointRegistry.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */\nBreakPointRegistry.ctorParameters = () => [\n    { type: Array, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [BREAKPOINTS,] }] }\n];\n/** @nocollapse */ BreakPointRegistry.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({ factory: function BreakPointRegistry_Factory() { return new BreakPointRegistry(Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(BREAKPOINTS)); }, token: BreakPointRegistry, providedIn: \"root\" });\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * MediaMonitor configures listeners to mediaQuery changes and publishes an Observable facade to\n * convert mediaQuery change callbacks to subscriber notifications. These notifications will be\n * performed within the ng Zone to trigger change detections and component updates.\n *\n * NOTE: both mediaQuery activations and de-activations are announced in notifications\n */\nclass MatchMedia {\n    /**\n     * @param {?} _zone\n     * @param {?} _platformId\n     * @param {?} _document\n     */\n    constructor(_zone, _platformId, _document) {\n        this._zone = _zone;\n        this._platformId = _platformId;\n        this._document = _document;\n        /**\n         * Initialize source with 'all' so all non-responsive APIs trigger style updates\n         */\n        this.source = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"BehaviorSubject\"](new MediaChange(true));\n        this.registry = new Map();\n        this._observable$ = this.source.asObservable();\n    }\n    /**\n     * Publish list of all current activations\n     * @return {?}\n     */\n    get activations() {\n        /** @type {?} */\n        const results = [];\n        this.registry.forEach((/**\n         * @param {?} mql\n         * @param {?} key\n         * @return {?}\n         */\n        (mql, key) => {\n            if (mql.matches) {\n                results.push(key);\n            }\n        }));\n        return results;\n    }\n    /**\n     * For the specified mediaQuery?\n     * @param {?} mediaQuery\n     * @return {?}\n     */\n    isActive(mediaQuery) {\n        /** @type {?} */\n        const mql = this.registry.get(mediaQuery);\n        return !!mql ? mql.matches : false;\n    }\n    /**\n     * External observers can watch for all (or a specific) mql changes.\n     * Typically used by the MediaQueryAdaptor; optionally available to components\n     * who wish to use the MediaMonitor as mediaMonitor$ observable service.\n     *\n     * Use deferred registration process to register breakpoints only on subscription\n     * This logic also enforces logic to register all mediaQueries BEFORE notify\n     * subscribers of notifications.\n     * @param {?=} mqList\n     * @param {?=} filterOthers\n     * @return {?}\n     */\n    observe(mqList, filterOthers = false) {\n        if (mqList && mqList.length) {\n            /** @type {?} */\n            const matchMedia$ = this._observable$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"filter\"])((/**\n             * @param {?} change\n             * @return {?}\n             */\n            (change) => {\n                return !filterOthers ? true : (mqList.indexOf(change.mediaQuery) > -1);\n            })));\n            /** @type {?} */\n            const registration$ = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Observable\"]((/**\n             * @param {?} observer\n             * @return {?}\n             */\n            (observer) => {\n                // tslint:disable-line:max-line-length\n                /** @type {?} */\n                const matches = this.registerQuery(mqList);\n                if (matches.length) {\n                    /** @type {?} */\n                    const lastChange = (/** @type {?} */ (matches.pop()));\n                    matches.forEach((/**\n                     * @param {?} e\n                     * @return {?}\n                     */\n                    (e) => {\n                        observer.next(e);\n                    }));\n                    this.source.next(lastChange); // last match is cached\n                }\n                observer.complete();\n            }));\n            return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"merge\"])(registration$, matchMedia$);\n        }\n        return this._observable$;\n    }\n    /**\n     * Based on the BreakPointRegistry provider, register internal listeners for each unique\n     * mediaQuery. Each listener emits specific MediaChange data to observers\n     * @param {?} mediaQuery\n     * @return {?}\n     */\n    registerQuery(mediaQuery) {\n        /** @type {?} */\n        const list = Array.isArray(mediaQuery) ? mediaQuery : [mediaQuery];\n        /** @type {?} */\n        const matches = [];\n        buildQueryCss(list, this._document);\n        list.forEach((/**\n         * @param {?} query\n         * @return {?}\n         */\n        (query) => {\n            /** @type {?} */\n            const onMQLEvent = (/**\n             * @param {?} e\n             * @return {?}\n             */\n            (e) => {\n                this._zone.run((/**\n                 * @return {?}\n                 */\n                () => this.source.next(new MediaChange(e.matches, query))));\n            });\n            /** @type {?} */\n            let mql = this.registry.get(query);\n            if (!mql) {\n                mql = this.buildMQL(query);\n                mql.addListener(onMQLEvent);\n                this.registry.set(query, mql);\n            }\n            if (mql.matches) {\n                matches.push(new MediaChange(true, query));\n            }\n        }));\n        return matches;\n    }\n    /**\n     * Call window.matchMedia() to build a MediaQueryList; which\n     * supports 0..n listeners for activation/deactivation\n     * @protected\n     * @param {?} query\n     * @return {?}\n     */\n    buildMQL(query) {\n        return constructMql(query, Object(_angular_common__WEBPACK_IMPORTED_MODULE_1__[\"isPlatformBrowser\"])(this._platformId));\n    }\n}\nMatchMedia.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */\nMatchMedia.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgZone\"] },\n    { type: Object, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"PLATFORM_ID\"],] }] },\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_1__[\"DOCUMENT\"],] }] }\n];\n/** @nocollapse */ MatchMedia.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({ factory: function MatchMedia_Factory() { return new MatchMedia(Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgZone\"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"PLATFORM_ID\"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(_angular_common__WEBPACK_IMPORTED_MODULE_1__[\"DOCUMENT\"])); }, token: MatchMedia, providedIn: \"root\" });\n/**\n * Private global registry for all dynamically-created, injected style tags\n * @see prepare(query)\n * @type {?}\n */\nconst ALL_STYLES = {};\n/**\n * For Webkit engines that only trigger the MediaQueryList Listener\n * when there is at least one CSS selector for the respective media query.\n *\n * @param {?} mediaQueries\n * @param {?} _document\n * @return {?}\n */\nfunction buildQueryCss(mediaQueries, _document) {\n    /** @type {?} */\n    const list = mediaQueries.filter((/**\n     * @param {?} it\n     * @return {?}\n     */\n    it => !ALL_STYLES[it]));\n    if (list.length > 0) {\n        /** @type {?} */\n        const query = list.join(', ');\n        try {\n            /** @type {?} */\n            const styleEl = _document.createElement('style');\n            styleEl.setAttribute('type', 'text/css');\n            if (!((/** @type {?} */ (styleEl))).styleSheet) {\n                /** @type {?} */\n                const cssText = `\n/*\n  @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n  see http://bit.ly/2sd4HMP\n*/\n@media ${query} {.fx-query-test{ }}\n`;\n                styleEl.appendChild(_document.createTextNode(cssText));\n            }\n            (/** @type {?} */ (_document.head)).appendChild(styleEl);\n            // Store in private global registry\n            list.forEach((/**\n             * @param {?} mq\n             * @return {?}\n             */\n            mq => ALL_STYLES[mq] = styleEl));\n        }\n        catch (e) {\n            console.error(e);\n        }\n    }\n}\n/**\n * @param {?} query\n * @param {?} isBrowser\n * @return {?}\n */\nfunction constructMql(query, isBrowser) {\n    /** @type {?} */\n    const canListen = isBrowser && !!((/** @type {?} */ (window))).matchMedia('all').addListener;\n    return canListen ? ((/** @type {?} */ (window))).matchMedia(query) : (/** @type {?} */ ((/** @type {?} */ ({\n        matches: query === 'all' || query === '',\n        media: query,\n        addListener: (/**\n         * @return {?}\n         */\n        () => {\n        }),\n        removeListener: (/**\n         * @return {?}\n         */\n        () => {\n        })\n    }))));\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * MockMatchMedia mocks calls to the Window API matchMedia with a build of a simulated\n * MockMediaQueryListener. Methods are available to simulate an activation of a mediaQuery\n * range and to clearAll mediaQuery listeners.\n */\nclass MockMatchMedia extends MatchMedia {\n    // Allow fallback to overlapping mediaQueries\n    /**\n     * @param {?} _zone\n     * @param {?} _platformId\n     * @param {?} _document\n     * @param {?} _breakpoints\n     */\n    constructor(_zone, _platformId, _document, _breakpoints) {\n        super(_zone, _platformId, _document);\n        this._breakpoints = _breakpoints;\n        this.autoRegisterQueries = true; // Used for testing BreakPoint registrations\n        // Used for testing BreakPoint registrations\n        this.useOverlaps = false; // Allow fallback to overlapping mediaQueries\n    }\n    /**\n     * Easy method to clear all listeners for all mediaQueries\n     * @return {?}\n     */\n    clearAll() {\n        this.registry.forEach((/**\n         * @param {?} mql\n         * @return {?}\n         */\n        (mql) => {\n            ((/** @type {?} */ (mql))).destroy();\n        }));\n        this.registry.clear();\n        this.useOverlaps = false;\n    }\n    /**\n     * Feature to support manual, simulated activation of a mediaQuery.\n     * @param {?} mediaQuery\n     * @param {?=} useOverlaps\n     * @return {?}\n     */\n    activate(mediaQuery, useOverlaps = false) {\n        useOverlaps = useOverlaps || this.useOverlaps;\n        mediaQuery = this._validateQuery(mediaQuery);\n        if (useOverlaps || !this.isActive(mediaQuery)) {\n            this._deactivateAll();\n            this._registerMediaQuery(mediaQuery);\n            this._activateWithOverlaps(mediaQuery, useOverlaps);\n        }\n        return this.hasActivated;\n    }\n    /**\n     * Converts an optional mediaQuery alias to a specific, valid mediaQuery\n     * @param {?} queryOrAlias\n     * @return {?}\n     */\n    _validateQuery(queryOrAlias) {\n        /** @type {?} */\n        const bp = this._breakpoints.findByAlias(queryOrAlias);\n        return (bp && bp.mediaQuery) || queryOrAlias;\n    }\n    /**\n     * Manually onMediaChange any overlapping mediaQueries to simulate\n     * similar functionality in the window.matchMedia()\n     * @private\n     * @param {?} mediaQuery\n     * @param {?} useOverlaps\n     * @return {?}\n     */\n    _activateWithOverlaps(mediaQuery, useOverlaps) {\n        if (useOverlaps) {\n            /** @type {?} */\n            const bp = this._breakpoints.findByQuery(mediaQuery);\n            /** @type {?} */\n            const alias = bp ? bp.alias : 'unknown';\n            // Simulate activation of overlapping lt-<XXX> ranges\n            switch (alias) {\n                case 'lg':\n                    this._activateByAlias('lt-xl');\n                    break;\n                case 'md':\n                    this._activateByAlias('lt-xl, lt-lg');\n                    break;\n                case 'sm':\n                    this._activateByAlias('lt-xl, lt-lg, lt-md');\n                    break;\n                case 'xs':\n                    this._activateByAlias('lt-xl, lt-lg, lt-md, lt-sm');\n                    break;\n            }\n            // Simulate activation of overlapping gt-<xxxx> mediaQuery ranges\n            switch (alias) {\n                case 'xl':\n                    this._activateByAlias('gt-lg, gt-md, gt-sm, gt-xs');\n                    break;\n                case 'lg':\n                    this._activateByAlias('gt-md, gt-sm, gt-xs');\n                    break;\n                case 'md':\n                    this._activateByAlias('gt-sm, gt-xs');\n                    break;\n                case 'sm':\n                    this._activateByAlias('gt-xs');\n                    break;\n            }\n        }\n        // Activate last since the responsiveActivation is watching *this* mediaQuery\n        return this._activateByQuery(mediaQuery);\n    }\n    /**\n     *\n     * @private\n     * @param {?} aliases\n     * @return {?}\n     */\n    _activateByAlias(aliases) {\n        /** @type {?} */\n        const activate = (/**\n         * @param {?} alias\n         * @return {?}\n         */\n        (alias) => {\n            /** @type {?} */\n            const bp = this._breakpoints.findByAlias(alias);\n            this._activateByQuery(bp ? bp.mediaQuery : alias);\n        });\n        aliases.split(',').forEach((/**\n         * @param {?} alias\n         * @return {?}\n         */\n        alias => activate(alias.trim())));\n    }\n    /**\n     *\n     * @private\n     * @param {?} mediaQuery\n     * @return {?}\n     */\n    _activateByQuery(mediaQuery) {\n        /** @type {?} */\n        const mql = (/** @type {?} */ (this.registry.get(mediaQuery)));\n        if (mql && !this.isActive(mediaQuery)) {\n            this.registry.set(mediaQuery, mql.activate());\n        }\n        return this.hasActivated;\n    }\n    /**\n     * Deactivate all current MQLs and reset the buffer\n     * @private\n     * @template THIS\n     * @this {THIS}\n     * @return {THIS}\n     */\n    _deactivateAll() {\n        (/** @type {?} */ (this)).registry.forEach((/**\n         * @param {?} it\n         * @return {?}\n         */\n        (it) => {\n            ((/** @type {?} */ (it))).deactivate();\n        }));\n        return (/** @type {?} */ (this));\n    }\n    /**\n     * Insure the mediaQuery is registered with MatchMedia\n     * @private\n     * @param {?} mediaQuery\n     * @return {?}\n     */\n    _registerMediaQuery(mediaQuery) {\n        if (!this.registry.has(mediaQuery) && this.autoRegisterQueries) {\n            this.registerQuery(mediaQuery);\n        }\n    }\n    /**\n     * Call window.matchMedia() to build a MediaQueryList; which\n     * supports 0..n listeners for activation/deactivation\n     * @protected\n     * @param {?} query\n     * @return {?}\n     */\n    buildMQL(query) {\n        return new MockMediaQueryList(query);\n    }\n    /**\n     * @protected\n     * @return {?}\n     */\n    get hasActivated() {\n        return this.activations.length > 0;\n    }\n}\nMockMatchMedia.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"] },\n];\n/** @nocollapse */\nMockMatchMedia.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgZone\"] },\n    { type: Object, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"PLATFORM_ID\"],] }] },\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_1__[\"DOCUMENT\"],] }] },\n    { type: BreakPointRegistry }\n];\n/**\n * Special internal class to simulate a MediaQueryList and\n * - supports manual activation to simulate mediaQuery matching\n * - manages listeners\n */\nclass MockMediaQueryList {\n    /**\n     * @param {?} _mediaQuery\n     */\n    constructor(_mediaQuery) {\n        this._mediaQuery = _mediaQuery;\n        this._isActive = false;\n        this._listeners = [];\n        this.onchange = null;\n    }\n    /**\n     * @return {?}\n     */\n    get matches() {\n        return this._isActive;\n    }\n    /**\n     * @return {?}\n     */\n    get media() {\n        return this._mediaQuery;\n    }\n    /**\n     * Destroy the current list by deactivating the\n     * listeners and clearing the internal list\n     * @return {?}\n     */\n    destroy() {\n        this.deactivate();\n        this._listeners = [];\n    }\n    /**\n     * Notify all listeners that 'matches === TRUE'\n     * @return {?}\n     */\n    activate() {\n        if (!this._isActive) {\n            this._isActive = true;\n            this._listeners.forEach((/**\n             * @param {?} callback\n             * @return {?}\n             */\n            (callback) => {\n                /** @type {?} */\n                const cb = (/** @type {?} */ (callback));\n                cb.call(null, this);\n            }));\n        }\n        return this;\n    }\n    /**\n     * Notify all listeners that 'matches === false'\n     * @return {?}\n     */\n    deactivate() {\n        if (this._isActive) {\n            this._isActive = false;\n            this._listeners.forEach((/**\n             * @param {?} callback\n             * @return {?}\n             */\n            (callback) => {\n                /** @type {?} */\n                const cb = (/** @type {?} */ (callback));\n                cb.call(null, this);\n            }));\n        }\n        return this;\n    }\n    /**\n     * Add a listener to our internal list to activate later\n     * @param {?} listener\n     * @return {?}\n     */\n    addListener(listener) {\n        if (this._listeners.indexOf(listener) === -1) {\n            this._listeners.push(listener);\n        }\n        if (this._isActive) {\n            /** @type {?} */\n            const cb = (/** @type {?} */ (listener));\n            cb.call(null, this);\n        }\n    }\n    /**\n     * Don't need to remove listeners in the testing environment\n     * @param {?} _\n     * @return {?}\n     */\n    removeListener(_) {\n    }\n    /**\n     * @param {?} _\n     * @param {?} __\n     * @param {?=} ___\n     * @return {?}\n     */\n    addEventListener(_, __, ___) {\n    }\n    /**\n     * @param {?} _\n     * @param {?} __\n     * @param {?=} ___\n     * @return {?}\n     */\n    removeEventListener(_, __, ___) {\n    }\n    /**\n     * @param {?} _\n     * @return {?}\n     */\n    dispatchEvent(_) {\n        return false;\n    }\n}\n/**\n * Pre-configured provider for MockMatchMedia\n * @type {?}\n */\nconst MockMatchMediaProvider = {\n    // tslint:disable-line:variable-name\n    provide: MatchMedia,\n    useClass: MockMatchMedia\n};\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst PRINT = 'print';\n/** @type {?} */\nconst BREAKPOINT_PRINT = {\n    alias: PRINT,\n    mediaQuery: PRINT,\n    priority: 1000\n};\n/**\n * PrintHook - Use to intercept print MediaQuery activations and force\n *             layouts to render with the specified print alias/breakpoint\n *\n * Used in MediaMarshaller and MediaObserver\n */\nclass PrintHook {\n    /**\n     * @param {?} breakpoints\n     * @param {?} layoutConfig\n     */\n    constructor(breakpoints, layoutConfig) {\n        this.breakpoints = breakpoints;\n        this.layoutConfig = layoutConfig;\n        /**\n         * Is this service currently in Print-mode ?\n         */\n        this.isPrinting = false;\n        this.queue = new PrintQueue();\n        this.deactivations = [];\n    }\n    /**\n     * Add 'print' mediaQuery: to listen for matchMedia activations\n     * @param {?} queries\n     * @return {?}\n     */\n    withPrintQuery(queries) {\n        return [...queries, PRINT];\n    }\n    /**\n     * Is the MediaChange event for any 'print' \\@media\n     * @param {?} e\n     * @return {?}\n     */\n    isPrintEvent(e) {\n        return e.mediaQuery.startsWith(PRINT);\n    }\n    /**\n     * What is the desired mqAlias to use while printing?\n     * @return {?}\n     */\n    get printAlias() {\n        return this.layoutConfig.printWithBreakpoints || [];\n    }\n    /**\n     * Lookup breakpoints associated with print aliases.\n     * @return {?}\n     */\n    get printBreakPoints() {\n        return (/** @type {?} */ (this.printAlias\n            .map((/**\n         * @param {?} alias\n         * @return {?}\n         */\n        alias => this.breakpoints.findByAlias(alias)))\n            .filter((/**\n         * @param {?} bp\n         * @return {?}\n         */\n        bp => bp !== null))));\n    }\n    /**\n     * Lookup breakpoint associated with mediaQuery\n     * @param {?} __0\n     * @return {?}\n     */\n    getEventBreakpoints({ mediaQuery }) {\n        /** @type {?} */\n        const bp = this.breakpoints.findByQuery(mediaQuery);\n        /** @type {?} */\n        const list = bp ? [...this.printBreakPoints, bp] : this.printBreakPoints;\n        return list.sort(sortDescendingPriority);\n    }\n    /**\n     * Update event with printAlias mediaQuery information\n     * @param {?} event\n     * @return {?}\n     */\n    updateEvent(event) {\n        /** @type {?} */\n        let bp = this.breakpoints.findByQuery(event.mediaQuery);\n        if (this.isPrintEvent(event)) {\n            // Reset from 'print' to first (highest priority) print breakpoint\n            bp = this.getEventBreakpoints(event)[0];\n            event.mediaQuery = bp ? bp.mediaQuery : '';\n        }\n        return mergeAlias(event, bp);\n    }\n    /**\n     * Prepare RxJs filter operator with partial application\n     * @param {?} target\n     * @return {?} pipeable filter predicate\n     */\n    interceptEvents(target) {\n        return (/**\n         * @param {?} event\n         * @return {?}\n         */\n        (event) => {\n            if (this.isPrintEvent(event)) {\n                if (event.matches && !this.isPrinting) {\n                    this.startPrinting(target, this.getEventBreakpoints(event));\n                    target.updateStyles();\n                }\n                else if (!event.matches && this.isPrinting) {\n                    this.stopPrinting(target);\n                    target.updateStyles();\n                }\n            }\n            else {\n                this.collectActivations(event);\n            }\n        });\n    }\n    /**\n     * Stop mediaChange event propagation in event streams\n     * @return {?}\n     */\n    blockPropagation() {\n        return (/**\n         * @param {?} event\n         * @return {?}\n         */\n        (event) => {\n            return !(this.isPrinting || this.isPrintEvent(event));\n        });\n    }\n    /**\n     * Save current activateBreakpoints (for later restore)\n     * and substitute only the printAlias breakpoint\n     * @protected\n     * @param {?} target\n     * @param {?} bpList\n     * @return {?}\n     */\n    startPrinting(target, bpList) {\n        this.isPrinting = true;\n        target.activatedBreakpoints = this.queue.addPrintBreakpoints(bpList);\n    }\n    /**\n     * For any print de-activations, reset the entire print queue\n     * @protected\n     * @param {?} target\n     * @return {?}\n     */\n    stopPrinting(target) {\n        target.activatedBreakpoints = this.deactivations;\n        this.deactivations = [];\n        this.queue.clear();\n        this.isPrinting = false;\n    }\n    /**\n     * To restore pre-Print Activations, we must capture the proper\n     * list of breakpoint activations BEFORE print starts. OnBeforePrint()\n     * is not supported; so 'print' mediaQuery activations must be used.\n     *\n     * >  But activated breakpoints are deactivated BEFORE 'print' activation.\n     *\n     * Let's capture all de-activations using the following logic:\n     *\n     *  When not printing:\n     *    - clear cache when activating non-print breakpoint\n     *    - update cache (and sort) when deactivating\n     *\n     *  When printing:\n     *    - sort and save when starting print\n     *    - restore as activatedTargets and clear when stop printing\n     * @param {?} event\n     * @return {?}\n     */\n    collectActivations(event) {\n        if (!this.isPrinting) {\n            if (!event.matches) {\n                /** @type {?} */\n                const bp = this.breakpoints.findByQuery(event.mediaQuery);\n                if (bp) { // Deactivating a breakpoint\n                    this.deactivations.push(bp);\n                    this.deactivations.sort(sortDescendingPriority);\n                }\n            }\n            else {\n                this.deactivations = [];\n            }\n        }\n    }\n}\nPrintHook.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */\nPrintHook.ctorParameters = () => [\n    { type: BreakPointRegistry },\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [LAYOUT_CONFIG,] }] }\n];\n/** @nocollapse */ PrintHook.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({ factory: function PrintHook_Factory() { return new PrintHook(Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(BreakPointRegistry), Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(LAYOUT_CONFIG)); }, token: PrintHook, providedIn: \"root\" });\n// ************************************************************************\n// Internal Utility class 'PrintQueue'\n// ************************************************************************\n/**\n * Utility class to manage print breakpoints + activatedBreakpoints\n * with correct sorting WHILE printing\n */\nclass PrintQueue {\n    constructor() {\n        /**\n         * Sorted queue with prioritized print breakpoints\n         */\n        this.printBreakpoints = [];\n    }\n    /**\n     * @param {?} bpList\n     * @return {?}\n     */\n    addPrintBreakpoints(bpList) {\n        bpList.push(BREAKPOINT_PRINT);\n        bpList.sort(sortDescendingPriority);\n        bpList.forEach((/**\n         * @param {?} bp\n         * @return {?}\n         */\n        bp => this.addBreakpoint(bp)));\n        return this.printBreakpoints;\n    }\n    /**\n     * Add Print breakpoint to queue\n     * @param {?} bp\n     * @return {?}\n     */\n    addBreakpoint(bp) {\n        if (!!bp) {\n            /** @type {?} */\n            const bpInList = this.printBreakpoints.find((/**\n             * @param {?} it\n             * @return {?}\n             */\n            it => it.mediaQuery === bp.mediaQuery));\n            if (bpInList === undefined) {\n                // If this is a `printAlias` breakpoint, then append. If a true 'print' breakpoint,\n                // register as highest priority in the queue\n                this.printBreakpoints = isPrintBreakPoint(bp) ? [bp, ...this.printBreakpoints]\n                    : [...this.printBreakpoints, bp];\n            }\n        }\n    }\n    /**\n     * Restore original activated breakpoints and clear internal caches\n     * @return {?}\n     */\n    clear() {\n        this.printBreakpoints = [];\n    }\n}\n// ************************************************************************\n// Internal Utility methods\n// ************************************************************************\n/**\n * Only support intercept queueing if the Breakpoint is a print \\@media query\n * @param {?} bp\n * @return {?}\n */\nfunction isPrintBreakPoint(bp) {\n    return bp ? bp.mediaQuery.startsWith(PRINT) : false;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * Wraps the provided value in an array, unless the provided value is an array.\n * @template T\n * @param {?} value\n * @return {?}\n */\nfunction coerceArray(value) {\n    return Array.isArray(value) ? value : [value];\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * MediaObserver enables applications to listen for 1..n mediaQuery activations and to determine\n * if a mediaQuery is currently activated.\n *\n * Since a breakpoint change will first deactivate 1...n mediaQueries and then possibly activate\n * 1..n mediaQueries, the MediaObserver will debounce notifications and report ALL *activations*\n * in 1 event notification. The reported activations will be sorted in descending priority order.\n *\n * This class uses the BreakPoint Registry to inject alias information into the raw MediaChange\n * notification. For custom mediaQuery notifications, alias information will not be injected and\n * those fields will be ''.\n *\n * Note: Developers should note that only mediaChange activations (not de-activations)\n *       are announced by the MediaObserver.\n *\n * \\@usage\n *\n *  // RxJS\n *  import { filter } from 'rxjs/operators';\n *  import { MediaObserver } from '\\@angular/flex-layout';\n *\n * \\@Component({ ... })\n *  export class AppComponent {\n *    status: string = '';\n *\n *    constructor(mediaObserver: MediaObserver) {\n *      const media$ = mediaObserver.asObservable().pipe(\n *        filter((changes: MediaChange[]) => true)   // silly noop filter\n *      );\n *\n *      media$.subscribe((changes: MediaChange[]) => {\n *        let status = '';\n *        changes.forEach( change => {\n *          status += `'${change.mqAlias}' = (${change.mediaQuery}) <br/>` ;\n *        });\n *        this.status = status;\n *     });\n *\n *    }\n *  }\n */\nclass MediaObserver {\n    /**\n     * @param {?} breakpoints\n     * @param {?} matchMedia\n     * @param {?} hook\n     */\n    constructor(breakpoints, matchMedia, hook) {\n        this.breakpoints = breakpoints;\n        this.matchMedia = matchMedia;\n        this.hook = hook;\n        /**\n         * Filter MediaChange notifications for overlapping breakpoints\n         */\n        this.filterOverlaps = false;\n        this.destroyed$ = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Subject\"]();\n        this._media$ = this.watchActivations();\n        this.media$ = this._media$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"filter\"])((/**\n         * @param {?} changes\n         * @return {?}\n         */\n        (changes) => changes.length > 0)), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])((/**\n         * @param {?} changes\n         * @return {?}\n         */\n        (changes) => changes[0])));\n    }\n    /**\n     * Completes the active subject, signalling to all complete for all\n     * MediaObserver subscribers\n     * @return {?}\n     */\n    ngOnDestroy() {\n        this.destroyed$.next();\n        this.destroyed$.complete();\n    }\n    // ************************************************\n    // Public Methods\n    // ************************************************\n    /**\n     * Observe changes to current activation 'list'\n     * @return {?}\n     */\n    asObservable() {\n        return this._media$;\n    }\n    /**\n     * Allow programmatic query to determine if one or more media query/alias match\n     * the current viewport size.\n     * @param {?} value One or more media queries (or aliases) to check.\n     * @return {?} Whether any of the media queries match.\n     */\n    isActive(value) {\n        /** @type {?} */\n        const aliases = splitQueries(coerceArray(value));\n        return aliases.some((/**\n         * @param {?} alias\n         * @return {?}\n         */\n        alias => {\n            /** @type {?} */\n            const query = toMediaQuery(alias, this.breakpoints);\n            return this.matchMedia.isActive(query);\n        }));\n    }\n    // ************************************************\n    // Internal Methods\n    // ************************************************\n    /**\n     * Register all the mediaQueries registered in the BreakPointRegistry\n     * This is needed so subscribers can be auto-notified of all standard, registered\n     * mediaQuery activations\n     * @private\n     * @return {?}\n     */\n    watchActivations() {\n        /** @type {?} */\n        const queries = this.breakpoints.items.map((/**\n         * @param {?} bp\n         * @return {?}\n         */\n        bp => bp.mediaQuery));\n        return this.buildObservable(queries);\n    }\n    /**\n     * Only pass/announce activations (not de-activations)\n     *\n     * Since multiple-mediaQueries can be activation in a cycle,\n     * gather all current activations into a single list of changes to observers\n     *\n     * Inject associated (if any) alias information into the MediaChange event\n     * - Exclude mediaQuery activations for overlapping mQs. List bounded mQ ranges only\n     * - Exclude print activations that do not have an associated mediaQuery\n     *\n     * NOTE: the raw MediaChange events [from MatchMedia] do not\n     *       contain important alias information; as such this info\n     *       must be injected into the MediaChange\n     * @private\n     * @param {?} mqList\n     * @return {?}\n     */\n    buildObservable(mqList) {\n        /** @type {?} */\n        const hasChanges = (/**\n         * @param {?} changes\n         * @return {?}\n         */\n        (changes) => {\n            /** @type {?} */\n            const isValidQuery = (/**\n             * @param {?} change\n             * @return {?}\n             */\n            (change) => (change.mediaQuery.length > 0));\n            return (changes.filter(isValidQuery).length > 0);\n        });\n        /** @type {?} */\n        const excludeOverlaps = (/**\n         * @param {?} changes\n         * @return {?}\n         */\n        (changes) => {\n            return !this.filterOverlaps ? changes : changes.filter((/**\n             * @param {?} change\n             * @return {?}\n             */\n            change => {\n                /** @type {?} */\n                const bp = this.breakpoints.findByQuery(change.mediaQuery);\n                return !bp ? true : !bp.overlapping;\n            }));\n        });\n        /**\n         */\n        return this.matchMedia\n            .observe(this.hook.withPrintQuery(mqList))\n            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"filter\"])((/**\n         * @param {?} change\n         * @return {?}\n         */\n        (change) => change.matches)), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"debounceTime\"])(0, rxjs__WEBPACK_IMPORTED_MODULE_2__[\"asapScheduler\"]), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"switchMap\"])((/**\n         * @param {?} _\n         * @return {?}\n         */\n        _ => Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(this.findAllActivations()))), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(excludeOverlaps), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"filter\"])(hasChanges), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"takeUntil\"])(this.destroyed$));\n    }\n    /**\n     * Find all current activations and prepare single list of activations\n     * sorted by descending priority.\n     * @private\n     * @return {?}\n     */\n    findAllActivations() {\n        /** @type {?} */\n        const mergeMQAlias = (/**\n         * @param {?} change\n         * @return {?}\n         */\n        (change) => {\n            /** @type {?} */\n            let bp = this.breakpoints.findByQuery(change.mediaQuery);\n            return mergeAlias(change, bp);\n        });\n        /** @type {?} */\n        const replaceWithPrintAlias = (/**\n         * @param {?} change\n         * @return {?}\n         */\n        (change) => {\n            return this.hook.isPrintEvent(change) ? this.hook.updateEvent(change) : change;\n        });\n        return this.matchMedia\n            .activations\n            .map((/**\n         * @param {?} query\n         * @return {?}\n         */\n        query => new MediaChange(true, query)))\n            .map(replaceWithPrintAlias)\n            .map(mergeMQAlias)\n            .sort(sortDescendingPriority);\n    }\n}\nMediaObserver.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */\nMediaObserver.ctorParameters = () => [\n    { type: BreakPointRegistry },\n    { type: MatchMedia },\n    { type: PrintHook }\n];\n/** @nocollapse */ MediaObserver.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({ factory: function MediaObserver_Factory() { return new MediaObserver(Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(BreakPointRegistry), Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(MatchMedia), Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(PrintHook)); }, token: MediaObserver, providedIn: \"root\" });\n/**\n * Find associated breakpoint (if any)\n * @param {?} query\n * @param {?} locator\n * @return {?}\n */\nfunction toMediaQuery(query, locator) {\n    /** @type {?} */\n    const bp = locator.findByAlias(query) || locator.findByQuery(query);\n    return bp ? bp.mediaQuery : query;\n}\n/**\n * Split each query string into separate query strings if two queries are provided as comma\n * separated.\n * @param {?} queries\n * @return {?}\n */\nfunction splitQueries(queries) {\n    return queries.map((/**\n     * @param {?} query\n     * @return {?}\n     */\n    (query) => query.split(',')))\n        .reduce((/**\n     * @param {?} a1\n     * @param {?} a2\n     * @return {?}\n     */\n    (a1, a2) => a1.concat(a2)))\n        .map((/**\n     * @param {?} query\n     * @return {?}\n     */\n    query => query.trim()));\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Class\n */\nclass MediaTrigger {\n    /**\n     * @param {?} breakpoints\n     * @param {?} matchMedia\n     * @param {?} layoutConfig\n     * @param {?} _platformId\n     * @param {?} _document\n     */\n    constructor(breakpoints, matchMedia, layoutConfig, _platformId, _document) {\n        this.breakpoints = breakpoints;\n        this.matchMedia = matchMedia;\n        this.layoutConfig = layoutConfig;\n        this._platformId = _platformId;\n        this._document = _document;\n        this.hasCachedRegistryMatches = false;\n        this.originalActivations = [];\n        this.originalRegistry = new Map();\n    }\n    /**\n     * Manually activate range of breakpoints\n     * @param {?} list array of mediaQuery or alias strings\n     * @return {?}\n     */\n    activate(list) {\n        list = list.map((/**\n         * @param {?} it\n         * @return {?}\n         */\n        it => it.trim())); // trim queries\n        this.saveActivations();\n        this.deactivateAll();\n        this.setActivations(list);\n        this.prepareAutoRestore();\n    }\n    /**\n     * Restore original, 'real' breakpoints and emit events\n     * to trigger stream notification\n     * @return {?}\n     */\n    restore() {\n        if (this.hasCachedRegistryMatches) {\n            /** @type {?} */\n            const extractQuery = (/**\n             * @param {?} change\n             * @return {?}\n             */\n            (change) => change.mediaQuery);\n            /** @type {?} */\n            const list = this.originalActivations.map(extractQuery);\n            try {\n                this.deactivateAll();\n                this.restoreRegistryMatches();\n                this.setActivations(list);\n            }\n            finally {\n                this.originalActivations = [];\n                if (this.resizeSubscription) {\n                    this.resizeSubscription.unsubscribe();\n                }\n            }\n        }\n    }\n    // ************************************************\n    // Internal Methods\n    // ************************************************\n    /**\n     * Whenever window resizes, immediately auto-restore original\n     * activations (if we are simulating activations)\n     * @private\n     * @return {?}\n     */\n    prepareAutoRestore() {\n        /** @type {?} */\n        const isBrowser = Object(_angular_common__WEBPACK_IMPORTED_MODULE_1__[\"isPlatformBrowser\"])(this._platformId) && this._document;\n        /** @type {?} */\n        const enableAutoRestore = isBrowser && this.layoutConfig.mediaTriggerAutoRestore;\n        if (enableAutoRestore) {\n            /** @type {?} */\n            const resize$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"fromEvent\"])(window, 'resize').pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"take\"])(1));\n            this.resizeSubscription = resize$.subscribe(this.restore.bind(this));\n        }\n    }\n    /**\n     * Notify all matchMedia subscribers of de-activations\n     *\n     * Note: we must force 'matches' updates for\n     *       future matchMedia::activation lookups\n     * @private\n     * @return {?}\n     */\n    deactivateAll() {\n        /** @type {?} */\n        const list = this.currentActivations;\n        this.forceRegistryMatches(list, false);\n        this.simulateMediaChanges(list, false);\n    }\n    /**\n     * Cache current activations as sorted, prioritized list of MediaChanges\n     * @private\n     * @return {?}\n     */\n    saveActivations() {\n        if (!this.hasCachedRegistryMatches) {\n            /** @type {?} */\n            const toMediaChange = (/**\n             * @param {?} query\n             * @return {?}\n             */\n            (query) => new MediaChange(true, query));\n            /** @type {?} */\n            const mergeMQAlias = (/**\n             * @param {?} change\n             * @return {?}\n             */\n            (change) => {\n                /** @type {?} */\n                const bp = this.breakpoints.findByQuery(change.mediaQuery);\n                return mergeAlias(change, bp);\n            });\n            this.originalActivations = this.currentActivations\n                .map(toMediaChange)\n                .map(mergeMQAlias)\n                .sort(sortDescendingPriority);\n            this.cacheRegistryMatches();\n        }\n    }\n    /**\n     * Force set manual activations for specified mediaQuery list\n     * @private\n     * @param {?} list\n     * @return {?}\n     */\n    setActivations(list) {\n        if (!!this.originalRegistry) {\n            this.forceRegistryMatches(list, true);\n        }\n        this.simulateMediaChanges(list);\n    }\n    /**\n     * For specified mediaQuery list manually simulate activations or deactivations\n     * @private\n     * @param {?} queries\n     * @param {?=} matches\n     * @return {?}\n     */\n    simulateMediaChanges(queries, matches = true) {\n        /** @type {?} */\n        const toMediaQuery = (/**\n         * @param {?} query\n         * @return {?}\n         */\n        (query) => {\n            /** @type {?} */\n            const locator = this.breakpoints;\n            /** @type {?} */\n            const bp = locator.findByAlias(query) || locator.findByQuery(query);\n            return bp ? bp.mediaQuery : query;\n        });\n        /** @type {?} */\n        const emitChangeEvent = (/**\n         * @param {?} query\n         * @return {?}\n         */\n        (query) => this.emitChangeEvent(matches, query));\n        queries.map(toMediaQuery).forEach(emitChangeEvent);\n    }\n    /**\n     * Replace current registry with simulated registry...\n     * Note: this is required since MediaQueryList::matches is 'readOnly'\n     * @private\n     * @param {?} queries\n     * @param {?} matches\n     * @return {?}\n     */\n    forceRegistryMatches(queries, matches) {\n        /** @type {?} */\n        const registry = new Map();\n        queries.forEach((/**\n         * @param {?} query\n         * @return {?}\n         */\n        query => {\n            registry.set(query, (/** @type {?} */ ({ matches: matches })));\n        }));\n        this.matchMedia.registry = registry;\n    }\n    /**\n     * Save current MatchMedia::registry items.\n     * @private\n     * @return {?}\n     */\n    cacheRegistryMatches() {\n        /** @type {?} */\n        const target = this.originalRegistry;\n        target.clear();\n        this.matchMedia.registry.forEach((/**\n         * @param {?} value\n         * @param {?} key\n         * @return {?}\n         */\n        (value, key) => {\n            target.set(key, value);\n        }));\n        this.hasCachedRegistryMatches = true;\n    }\n    /**\n     * Restore original, 'true' registry\n     * @private\n     * @return {?}\n     */\n    restoreRegistryMatches() {\n        /** @type {?} */\n        const target = this.matchMedia.registry;\n        target.clear();\n        this.originalRegistry.forEach((/**\n         * @param {?} value\n         * @param {?} key\n         * @return {?}\n         */\n        (value, key) => {\n            target.set(key, value);\n        }));\n        this.originalRegistry.clear();\n        this.hasCachedRegistryMatches = false;\n    }\n    /**\n     * Manually emit a MediaChange event via the MatchMedia to MediaMarshaller and MediaObserver\n     * @private\n     * @param {?} matches\n     * @param {?} query\n     * @return {?}\n     */\n    emitChangeEvent(matches, query) {\n        this.matchMedia.source.next(new MediaChange(matches, query));\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    get currentActivations() {\n        return this.matchMedia.activations;\n    }\n}\nMediaTrigger.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */\nMediaTrigger.ctorParameters = () => [\n    { type: BreakPointRegistry },\n    { type: MatchMedia },\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [LAYOUT_CONFIG,] }] },\n    { type: Object, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"PLATFORM_ID\"],] }] },\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_1__[\"DOCUMENT\"],] }] }\n];\n/** @nocollapse */ MediaTrigger.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({ factory: function MediaTrigger_Factory() { return new MediaTrigger(Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(BreakPointRegistry), Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(MatchMedia), Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(LAYOUT_CONFIG), Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"PLATFORM_ID\"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(_angular_common__WEBPACK_IMPORTED_MODULE_1__[\"DOCUMENT\"])); }, token: MediaTrigger, providedIn: \"root\" });\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * Applies CSS prefixes to appropriate style keys.\n *\n * Note: `-ms-`, `-moz` and `-webkit-box` are no longer supported. e.g.\n *    {\n *      display: -webkit-flex;     NEW - Safari 6.1+. iOS 7.1+, BB10\n *      display: flex;             NEW, Spec - Firefox, Chrome, Opera\n *      // display: -webkit-box;   OLD - iOS 6-, Safari 3.1-6, BB7\n *      // display: -ms-flexbox;   TWEENER - IE 10\n *      // display: -moz-flexbox;  OLD - Firefox\n *    }\n * @param {?} target\n * @return {?}\n */\nfunction applyCssPrefixes(target) {\n    for (let key in target) {\n        /** @type {?} */\n        let value = target[key] || '';\n        switch (key) {\n            case 'display':\n                if (value === 'flex') {\n                    target['display'] = [\n                        '-webkit-flex',\n                        'flex'\n                    ];\n                }\n                else if (value === 'inline-flex') {\n                    target['display'] = [\n                        '-webkit-inline-flex',\n                        'inline-flex'\n                    ];\n                }\n                else {\n                    target['display'] = value;\n                }\n                break;\n            case 'align-items':\n            case 'align-self':\n            case 'align-content':\n            case 'flex':\n            case 'flex-basis':\n            case 'flex-flow':\n            case 'flex-grow':\n            case 'flex-shrink':\n            case 'flex-wrap':\n            case 'justify-content':\n                target['-webkit-' + key] = value;\n                break;\n            case 'flex-direction':\n                value = value || 'row';\n                target['-webkit-flex-direction'] = value;\n                target['flex-direction'] = value;\n                break;\n            case 'order':\n                target['order'] = target['-webkit-' + key] = isNaN(+value) ? '0' : value;\n                break;\n        }\n    }\n    return target;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass StyleUtils {\n    /**\n     * @param {?} _serverStylesheet\n     * @param {?} _serverModuleLoaded\n     * @param {?} _platformId\n     * @param {?} layoutConfig\n     */\n    constructor(_serverStylesheet, _serverModuleLoaded, _platformId, layoutConfig) {\n        this._serverStylesheet = _serverStylesheet;\n        this._serverModuleLoaded = _serverModuleLoaded;\n        this._platformId = _platformId;\n        this.layoutConfig = layoutConfig;\n    }\n    /**\n     * Applies styles given via string pair or object map to the directive element\n     * @param {?} element\n     * @param {?} style\n     * @param {?=} value\n     * @return {?}\n     */\n    applyStyleToElement(element, style, value = null) {\n        /** @type {?} */\n        let styles = {};\n        if (typeof style === 'string') {\n            styles[style] = value;\n            style = styles;\n        }\n        styles = this.layoutConfig.disableVendorPrefixes ? style : applyCssPrefixes(style);\n        this._applyMultiValueStyleToElement(styles, element);\n    }\n    /**\n     * Applies styles given via string pair or object map to the directive's element\n     * @param {?} style\n     * @param {?=} elements\n     * @return {?}\n     */\n    applyStyleToElements(style, elements = []) {\n        /** @type {?} */\n        const styles = this.layoutConfig.disableVendorPrefixes ? style : applyCssPrefixes(style);\n        elements.forEach((/**\n         * @param {?} el\n         * @return {?}\n         */\n        el => {\n            this._applyMultiValueStyleToElement(styles, el);\n        }));\n    }\n    /**\n     * Determine the DOM element's Flexbox flow (flex-direction)\n     *\n     * Check inline style first then check computed (stylesheet) style\n     * @param {?} target\n     * @return {?}\n     */\n    getFlowDirection(target) {\n        /** @type {?} */\n        const query = 'flex-direction';\n        /** @type {?} */\n        let value = this.lookupStyle(target, query);\n        /** @type {?} */\n        const hasInlineValue = this.lookupInlineStyle(target, query) ||\n            (Object(_angular_common__WEBPACK_IMPORTED_MODULE_1__[\"isPlatformServer\"])(this._platformId) && this._serverModuleLoaded) ? value : '';\n        return [value || 'row', hasInlineValue];\n    }\n    /**\n     * Find the DOM element's raw attribute value (if any)\n     * @param {?} element\n     * @param {?} attribute\n     * @return {?}\n     */\n    lookupAttributeValue(element, attribute) {\n        return element.getAttribute(attribute) || '';\n    }\n    /**\n     * Find the DOM element's inline style value (if any)\n     * @param {?} element\n     * @param {?} styleName\n     * @return {?}\n     */\n    lookupInlineStyle(element, styleName) {\n        return Object(_angular_common__WEBPACK_IMPORTED_MODULE_1__[\"isPlatformBrowser\"])(this._platformId) ?\n            element.style.getPropertyValue(styleName) : this._getServerStyle(element, styleName);\n    }\n    /**\n     * Determine the inline or inherited CSS style\n     * NOTE: platform-server has no implementation for getComputedStyle\n     * @param {?} element\n     * @param {?} styleName\n     * @param {?=} inlineOnly\n     * @return {?}\n     */\n    lookupStyle(element, styleName, inlineOnly = false) {\n        /** @type {?} */\n        let value = '';\n        if (element) {\n            /** @type {?} */\n            let immediateValue = value = this.lookupInlineStyle(element, styleName);\n            if (!immediateValue) {\n                if (Object(_angular_common__WEBPACK_IMPORTED_MODULE_1__[\"isPlatformBrowser\"])(this._platformId)) {\n                    if (!inlineOnly) {\n                        value = getComputedStyle(element).getPropertyValue(styleName);\n                    }\n                }\n                else {\n                    if (this._serverModuleLoaded) {\n                        value = this._serverStylesheet.getStyleForElement(element, styleName);\n                    }\n                }\n            }\n        }\n        // Note: 'inline' is the default of all elements, unless UA stylesheet overrides;\n        //       in which case getComputedStyle() should determine a valid value.\n        return value ? value.trim() : '';\n    }\n    /**\n     * Applies the styles to the element. The styles object map may contain an array of values\n     * Each value will be added as element style\n     * Keys are sorted to add prefixed styles (like -webkit-x) first, before the standard ones\n     * @private\n     * @param {?} styles\n     * @param {?} element\n     * @return {?}\n     */\n    _applyMultiValueStyleToElement(styles, element) {\n        Object.keys(styles).sort().forEach((/**\n         * @param {?} key\n         * @return {?}\n         */\n        key => {\n            /** @type {?} */\n            const el = styles[key];\n            /** @type {?} */\n            const values = Array.isArray(el) ? el : [el];\n            values.sort();\n            for (let value of values) {\n                value = value ? value + '' : '';\n                if (Object(_angular_common__WEBPACK_IMPORTED_MODULE_1__[\"isPlatformBrowser\"])(this._platformId) || !this._serverModuleLoaded) {\n                    Object(_angular_common__WEBPACK_IMPORTED_MODULE_1__[\"isPlatformBrowser\"])(this._platformId) ?\n                        element.style.setProperty(key, value) : this._setServerStyle(element, key, value);\n                }\n                else {\n                    this._serverStylesheet.addStyleToElement(element, key, value);\n                }\n            }\n        }));\n    }\n    /**\n     * @private\n     * @param {?} element\n     * @param {?} styleName\n     * @param {?=} styleValue\n     * @return {?}\n     */\n    _setServerStyle(element, styleName, styleValue) {\n        styleName = styleName.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();\n        /** @type {?} */\n        const styleMap = this._readStyleAttribute(element);\n        styleMap[styleName] = styleValue || '';\n        this._writeStyleAttribute(element, styleMap);\n    }\n    /**\n     * @private\n     * @param {?} element\n     * @param {?} styleName\n     * @return {?}\n     */\n    _getServerStyle(element, styleName) {\n        /** @type {?} */\n        const styleMap = this._readStyleAttribute(element);\n        return styleMap[styleName] || '';\n    }\n    /**\n     * @private\n     * @param {?} element\n     * @return {?}\n     */\n    _readStyleAttribute(element) {\n        /** @type {?} */\n        const styleMap = {};\n        /** @type {?} */\n        const styleAttribute = element.getAttribute('style');\n        if (styleAttribute) {\n            /** @type {?} */\n            const styleList = styleAttribute.split(/;+/g);\n            for (let i = 0; i < styleList.length; i++) {\n                /** @type {?} */\n                const style = styleList[i].trim();\n                if (style.length > 0) {\n                    /** @type {?} */\n                    const colonIndex = style.indexOf(':');\n                    if (colonIndex === -1) {\n                        throw new Error(`Invalid CSS style: ${style}`);\n                    }\n                    /** @type {?} */\n                    const name = style.substr(0, colonIndex).trim();\n                    styleMap[name] = style.substr(colonIndex + 1).trim();\n                }\n            }\n        }\n        return styleMap;\n    }\n    /**\n     * @private\n     * @param {?} element\n     * @param {?} styleMap\n     * @return {?}\n     */\n    _writeStyleAttribute(element, styleMap) {\n        /** @type {?} */\n        let styleAttrValue = '';\n        for (const key in styleMap) {\n            /** @type {?} */\n            const newValue = styleMap[key];\n            if (newValue) {\n                styleAttrValue += key + ':' + styleMap[key] + ';';\n            }\n        }\n        element.setAttribute('style', styleAttrValue);\n    }\n}\nStyleUtils.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */\nStyleUtils.ctorParameters = () => [\n    { type: StylesheetMap, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }] },\n    { type: Boolean, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [SERVER_TOKEN,] }] },\n    { type: Object, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"PLATFORM_ID\"],] }] },\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [LAYOUT_CONFIG,] }] }\n];\n/** @nocollapse */ StyleUtils.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({ factory: function StyleUtils_Factory() { return new StyleUtils(Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(StylesheetMap, 8), Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(SERVER_TOKEN, 8), Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"PLATFORM_ID\"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(LAYOUT_CONFIG)); }, token: StyleUtils, providedIn: \"root\" });\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * A class that encapsulates CSS style generation for common directives\n * @abstract\n */\nclass StyleBuilder {\n    constructor() {\n        /**\n         * Whether to cache the generated output styles\n         */\n        this.shouldCache = true;\n    }\n    /**\n     * Run a side effect computation given the input string and the computed styles\n     * from the build task and the host configuration object\n     * NOTE: This should be a no-op unless an algorithm is provided in a subclass\n     * @param {?} _input\n     * @param {?} _styles\n     * @param {?=} _parent\n     * @return {?}\n     */\n    sideEffect(_input, _styles, _parent) {\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * The flex API permits 3 or 1 parts of the value:\n *    - `flex-grow flex-shrink flex-basis`, or\n *    - `flex-basis`\n * @param {?} basis\n * @param {?=} grow\n * @param {?=} shrink\n * @return {?}\n */\nfunction validateBasis(basis, grow = '1', shrink = '1') {\n    /** @type {?} */\n    let parts = [grow, shrink, basis];\n    /** @type {?} */\n    let j = basis.indexOf('calc');\n    if (j > 0) {\n        parts[2] = _validateCalcValue(basis.substring(j).trim());\n        /** @type {?} */\n        let matches = basis.substr(0, j).trim().split(' ');\n        if (matches.length == 2) {\n            parts[0] = matches[0];\n            parts[1] = matches[1];\n        }\n    }\n    else if (j == 0) {\n        parts[2] = _validateCalcValue(basis.trim());\n    }\n    else {\n        /** @type {?} */\n        let matches = basis.split(' ');\n        parts = (matches.length === 3) ? matches : [\n            grow, shrink, basis\n        ];\n    }\n    return parts;\n}\n/**\n * Calc expressions require whitespace before & after any expression operators\n * This is a simple, crude whitespace padding solution.\n *   - '3 3 calc(15em + 20px)'\n *   - calc(100% / 7 * 2)\n *   - 'calc(15em + 20px)'\n *   - 'calc(15em+20px)'\n *   - '37px'\n *   = '43%'\n * @param {?} calc\n * @return {?}\n */\nfunction _validateCalcValue(calc) {\n    return calc.replace(/[\\s]/g, '').replace(/[\\/\\*\\+\\-]/g, ' $& ');\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * MediaMarshaller - register responsive values from directives and\n *                   trigger them based on media query events\n */\nclass MediaMarshaller {\n    /**\n     * @param {?} matchMedia\n     * @param {?} breakpoints\n     * @param {?} hook\n     */\n    constructor(matchMedia, breakpoints, hook) {\n        this.matchMedia = matchMedia;\n        this.breakpoints = breakpoints;\n        this.hook = hook;\n        this.activatedBreakpoints = [];\n        this.elementMap = new Map();\n        this.elementKeyMap = new WeakMap();\n        this.watcherMap = new WeakMap(); // special triggers to update elements\n        // special triggers to update elements\n        this.updateMap = new WeakMap(); // callback functions to update styles\n        // callback functions to update styles\n        this.clearMap = new WeakMap(); // callback functions to clear styles\n        // callback functions to clear styles\n        this.subject = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Subject\"]();\n        this.observeActivations();\n    }\n    /**\n     * @return {?}\n     */\n    get activatedAlias() {\n        return this.activatedBreakpoints[0] ? this.activatedBreakpoints[0].alias : '';\n    }\n    /**\n     * Update styles on breakpoint activates or deactivates\n     * @param {?} mc\n     * @return {?}\n     */\n    onMediaChange(mc) {\n        /** @type {?} */\n        const bp = this.findByQuery(mc.mediaQuery);\n        if (bp) {\n            mc = mergeAlias(mc, bp);\n            if (mc.matches && this.activatedBreakpoints.indexOf(bp) === -1) {\n                this.activatedBreakpoints.push(bp);\n                this.activatedBreakpoints.sort(sortDescendingPriority);\n                this.updateStyles();\n            }\n            else if (!mc.matches && this.activatedBreakpoints.indexOf(bp) !== -1) {\n                // Remove the breakpoint when it's deactivated\n                this.activatedBreakpoints.splice(this.activatedBreakpoints.indexOf(bp), 1);\n                this.activatedBreakpoints.sort(sortDescendingPriority);\n                this.updateStyles();\n            }\n        }\n    }\n    /**\n     * initialize the marshaller with necessary elements for delegation on an element\n     * @param {?} element\n     * @param {?} key\n     * @param {?=} updateFn optional callback so that custom bp directives don't have to re-provide this\n     * @param {?=} clearFn optional callback so that custom bp directives don't have to re-provide this\n     * @param {?=} extraTriggers other triggers to force style updates (e.g. layout, directionality, etc)\n     * @return {?}\n     */\n    init(element, key, updateFn, clearFn, extraTriggers = []) {\n        initBuilderMap(this.updateMap, element, key, updateFn);\n        initBuilderMap(this.clearMap, element, key, clearFn);\n        this.buildElementKeyMap(element, key);\n        this.watchExtraTriggers(element, key, extraTriggers);\n    }\n    /**\n     * get the value for an element and key and optionally a given breakpoint\n     * @param {?} element\n     * @param {?} key\n     * @param {?=} bp\n     * @return {?}\n     */\n    getValue(element, key, bp) {\n        /** @type {?} */\n        const bpMap = this.elementMap.get(element);\n        if (bpMap) {\n            /** @type {?} */\n            const values = bp !== undefined ? bpMap.get(bp) : this.getActivatedValues(bpMap, key);\n            if (values) {\n                return values.get(key);\n            }\n        }\n        return undefined;\n    }\n    /**\n     * whether the element has values for a given key\n     * @param {?} element\n     * @param {?} key\n     * @return {?}\n     */\n    hasValue(element, key) {\n        /** @type {?} */\n        const bpMap = this.elementMap.get(element);\n        if (bpMap) {\n            /** @type {?} */\n            const values = this.getActivatedValues(bpMap, key);\n            if (values) {\n                return values.get(key) !== undefined || false;\n            }\n        }\n        return false;\n    }\n    /**\n     * Set the value for an input on a directive\n     * @param {?} element the element in question\n     * @param {?} key the type of the directive (e.g. flex, layout-gap, etc)\n     * @param {?} val the value for the breakpoint\n     * @param {?} bp the breakpoint suffix (empty string = default)\n     * @return {?}\n     */\n    setValue(element, key, val, bp) {\n        /** @type {?} */\n        let bpMap = this.elementMap.get(element);\n        if (!bpMap) {\n            bpMap = new Map().set(bp, new Map().set(key, val));\n            this.elementMap.set(element, bpMap);\n        }\n        else {\n            /** @type {?} */\n            const values = (bpMap.get(bp) || new Map()).set(key, val);\n            bpMap.set(bp, values);\n            this.elementMap.set(element, bpMap);\n        }\n        /** @type {?} */\n        const value = this.getValue(element, key);\n        if (value !== undefined) {\n            this.updateElement(element, key, value);\n        }\n    }\n    /**\n     * Track element value changes for a specific key\n     * @param {?} element\n     * @param {?} key\n     * @return {?}\n     */\n    trackValue(element, key) {\n        return this.subject\n            .asObservable()\n            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"filter\"])((/**\n         * @param {?} v\n         * @return {?}\n         */\n        v => v.element === element && v.key === key)));\n    }\n    /**\n     * update all styles for all elements on the current breakpoint\n     * @return {?}\n     */\n    updateStyles() {\n        this.elementMap.forEach((/**\n         * @param {?} bpMap\n         * @param {?} el\n         * @return {?}\n         */\n        (bpMap, el) => {\n            /** @type {?} */\n            const keyMap = new Set((/** @type {?} */ (this.elementKeyMap.get(el))));\n            /** @type {?} */\n            let valueMap = this.getActivatedValues(bpMap);\n            if (valueMap) {\n                valueMap.forEach((/**\n                 * @param {?} v\n                 * @param {?} k\n                 * @return {?}\n                 */\n                (v, k) => {\n                    this.updateElement(el, k, v);\n                    keyMap.delete(k);\n                }));\n            }\n            keyMap.forEach((/**\n             * @param {?} k\n             * @return {?}\n             */\n            k => {\n                valueMap = this.getActivatedValues(bpMap, k);\n                if (valueMap) {\n                    /** @type {?} */\n                    const value = valueMap.get(k);\n                    this.updateElement(el, k, value);\n                }\n                else {\n                    this.clearElement(el, k);\n                }\n            }));\n        }));\n    }\n    /**\n     * clear the styles for a given element\n     * @param {?} element\n     * @param {?} key\n     * @return {?}\n     */\n    clearElement(element, key) {\n        /** @type {?} */\n        const builders = this.clearMap.get(element);\n        if (builders) {\n            /** @type {?} */\n            const clearFn = (/** @type {?} */ (builders.get(key)));\n            if (!!clearFn) {\n                clearFn();\n                this.subject.next({ element, key, value: '' });\n            }\n        }\n    }\n    /**\n     * update a given element with the activated values for a given key\n     * @param {?} element\n     * @param {?} key\n     * @param {?} value\n     * @return {?}\n     */\n    updateElement(element, key, value) {\n        /** @type {?} */\n        const builders = this.updateMap.get(element);\n        if (builders) {\n            /** @type {?} */\n            const updateFn = (/** @type {?} */ (builders.get(key)));\n            if (!!updateFn) {\n                updateFn(value);\n                this.subject.next({ element, key, value });\n            }\n        }\n    }\n    /**\n     * release all references to a given element\n     * @param {?} element\n     * @return {?}\n     */\n    releaseElement(element) {\n        /** @type {?} */\n        const watcherMap = this.watcherMap.get(element);\n        if (watcherMap) {\n            watcherMap.forEach((/**\n             * @param {?} s\n             * @return {?}\n             */\n            s => s.unsubscribe()));\n            this.watcherMap.delete(element);\n        }\n        /** @type {?} */\n        const elementMap = this.elementMap.get(element);\n        if (elementMap) {\n            elementMap.forEach((/**\n             * @param {?} _\n             * @param {?} s\n             * @return {?}\n             */\n            (_, s) => elementMap.delete(s)));\n            this.elementMap.delete(element);\n        }\n    }\n    /**\n     * trigger an update for a given element and key (e.g. layout)\n     * @param {?} element\n     * @param {?=} key\n     * @return {?}\n     */\n    triggerUpdate(element, key) {\n        /** @type {?} */\n        const bpMap = this.elementMap.get(element);\n        if (bpMap) {\n            /** @type {?} */\n            const valueMap = this.getActivatedValues(bpMap, key);\n            if (valueMap) {\n                if (key) {\n                    this.updateElement(element, key, valueMap.get(key));\n                }\n                else {\n                    valueMap.forEach((/**\n                     * @param {?} v\n                     * @param {?} k\n                     * @return {?}\n                     */\n                    (v, k) => this.updateElement(element, k, v)));\n                }\n            }\n        }\n    }\n    /**\n     * Cross-reference for HTMLElement with directive key\n     * @private\n     * @param {?} element\n     * @param {?} key\n     * @return {?}\n     */\n    buildElementKeyMap(element, key) {\n        /** @type {?} */\n        let keyMap = this.elementKeyMap.get(element);\n        if (!keyMap) {\n            keyMap = new Set();\n            this.elementKeyMap.set(element, keyMap);\n        }\n        keyMap.add(key);\n    }\n    /**\n     * Other triggers that should force style updates:\n     * - directionality\n     * - layout changes\n     * - mutationobserver updates\n     * @private\n     * @param {?} element\n     * @param {?} key\n     * @param {?} triggers\n     * @return {?}\n     */\n    watchExtraTriggers(element, key, triggers) {\n        if (triggers && triggers.length) {\n            /** @type {?} */\n            let watchers = this.watcherMap.get(element);\n            if (!watchers) {\n                watchers = new Map();\n                this.watcherMap.set(element, watchers);\n            }\n            /** @type {?} */\n            const subscription = watchers.get(key);\n            if (!subscription) {\n                /** @type {?} */\n                const newSubscription = Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"merge\"])(...triggers).subscribe((/**\n                 * @return {?}\n                 */\n                () => {\n                    /** @type {?} */\n                    const currentValue = this.getValue(element, key);\n                    this.updateElement(element, key, currentValue);\n                }));\n                watchers.set(key, newSubscription);\n            }\n        }\n    }\n    /**\n     * Breakpoint locator by mediaQuery\n     * @private\n     * @param {?} query\n     * @return {?}\n     */\n    findByQuery(query) {\n        return this.breakpoints.findByQuery(query);\n    }\n    /**\n     * get the fallback breakpoint for a given element, starting with the current breakpoint\n     * @private\n     * @param {?} bpMap\n     * @param {?=} key\n     * @return {?}\n     */\n    getActivatedValues(bpMap, key) {\n        for (let i = 0; i < this.activatedBreakpoints.length; i++) {\n            /** @type {?} */\n            const activatedBp = this.activatedBreakpoints[i];\n            /** @type {?} */\n            const valueMap = bpMap.get(activatedBp.alias);\n            if (valueMap) {\n                if (key === undefined || valueMap.has(key)) {\n                    return valueMap;\n                }\n            }\n        }\n        /** @type {?} */\n        const lastHope = bpMap.get('');\n        return (key === undefined || lastHope && lastHope.has(key)) ? lastHope : undefined;\n    }\n    /**\n     * Watch for mediaQuery breakpoint activations\n     * @private\n     * @return {?}\n     */\n    observeActivations() {\n        /** @type {?} */\n        const target = (/** @type {?} */ ((/** @type {?} */ (this))));\n        /** @type {?} */\n        const queries = this.breakpoints.items.map((/**\n         * @param {?} bp\n         * @return {?}\n         */\n        bp => bp.mediaQuery));\n        this.matchMedia\n            .observe(this.hook.withPrintQuery(queries))\n            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"tap\"])(this.hook.interceptEvents(target)), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"filter\"])(this.hook.blockPropagation()))\n            .subscribe(this.onMediaChange.bind(this));\n    }\n}\nMediaMarshaller.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */\nMediaMarshaller.ctorParameters = () => [\n    { type: MatchMedia },\n    { type: BreakPointRegistry },\n    { type: PrintHook }\n];\n/** @nocollapse */ MediaMarshaller.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({ factory: function MediaMarshaller_Factory() { return new MediaMarshaller(Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(MatchMedia), Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(BreakPointRegistry), Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(PrintHook)); }, token: MediaMarshaller, providedIn: \"root\" });\n/**\n * @param {?} map\n * @param {?} element\n * @param {?} key\n * @param {?=} input\n * @return {?}\n */\nfunction initBuilderMap(map$$1, element, key, input) {\n    if (input !== undefined) {\n        /** @type {?} */\n        let oldMap = map$$1.get(element);\n        if (!oldMap) {\n            oldMap = new Map();\n            map$$1.set(element, oldMap);\n        }\n        oldMap.set(key, input);\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n\n//# sourceMappingURL=core.js.map\n\n\n/***/ }),\n\n/***/ \"./node_modules/@angular/flex-layout/esm2015/extended.js\":\n/*!***************************************************************!*\\\n  !*** ./node_modules/@angular/flex-layout/esm2015/extended.js ***!\n  \\***************************************************************/\n/*! exports provided: ExtendedModule, ClassDirective, LayoutNgClassImplProvider, DefaultClassDirective, ImgSrcStyleBuilder, ImgSrcDirective, DefaultImgSrcDirective, ShowHideStyleBuilder, ShowHideDirective, DefaultShowHideDirective, StyleDirective, LayoutNgStyleImplProvider, DefaultStyleDirective */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ExtendedModule\", function() { return ExtendedModule; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ClassDirective\", function() { return ClassDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LayoutNgClassImplProvider\", function() { return LayoutNgClassImplProvider; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DefaultClassDirective\", function() { return DefaultClassDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ImgSrcStyleBuilder\", function() { return ImgSrcStyleBuilder; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ImgSrcDirective\", function() { return ImgSrcDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DefaultImgSrcDirective\", function() { return DefaultImgSrcDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ShowHideStyleBuilder\", function() { return ShowHideStyleBuilder; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ShowHideDirective\", function() { return ShowHideDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DefaultShowHideDirective\", function() { return DefaultShowHideDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"StyleDirective\", function() { return StyleDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LayoutNgStyleImplProvider\", function() { return LayoutNgStyleImplProvider; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DefaultStyleDirective\", function() { return DefaultStyleDirective; });\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ \"./node_modules/@angular/common/fesm2015/common.js\");\n/* harmony import */ var _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/flex-layout/core */ \"./node_modules/@angular/flex-layout/esm2015/core.js\");\n/* harmony import */ var _angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/cdk/coercion */ \"./node_modules/@angular/cdk/esm2015/coercion.js\");\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ \"./node_modules/rxjs/_esm2015/operators/index.js\");\n/* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/platform-browser */ \"./node_modules/@angular/platform-browser/fesm2015/platform-browser.js\");\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\n\n\n\n\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass ImgSrcStyleBuilder extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"StyleBuilder\"] {\n    /**\n     * @param {?} url\n     * @return {?}\n     */\n    buildStyles(url) {\n        return { 'content': url ? `url(${url})` : '' };\n    }\n}\nImgSrcStyleBuilder.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */ ImgSrcStyleBuilder.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({ factory: function ImgSrcStyleBuilder_Factory() { return new ImgSrcStyleBuilder(); }, token: ImgSrcStyleBuilder, providedIn: \"root\" });\nclass ImgSrcDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"BaseDirective2\"] {\n    /**\n     * @param {?} elementRef\n     * @param {?} styleBuilder\n     * @param {?} styler\n     * @param {?} marshal\n     * @param {?} platformId\n     * @param {?} serverModuleLoaded\n     */\n    constructor(elementRef, styleBuilder, styler, marshal, platformId, serverModuleLoaded) {\n        super(elementRef, styleBuilder, styler, marshal);\n        this.elementRef = elementRef;\n        this.styleBuilder = styleBuilder;\n        this.styler = styler;\n        this.marshal = marshal;\n        this.platformId = platformId;\n        this.serverModuleLoaded = serverModuleLoaded;\n        this.DIRECTIVE_KEY = 'img-src';\n        this.defaultSrc = '';\n        this.styleCache = imgSrcCache;\n        this.init();\n        this.setValue(this.nativeElement.getAttribute('src') || '', '');\n        if (Object(_angular_common__WEBPACK_IMPORTED_MODULE_1__[\"isPlatformServer\"])(this.platformId) && this.serverModuleLoaded) {\n            this.nativeElement.setAttribute('src', '');\n        }\n    }\n    /**\n     * @param {?} val\n     * @return {?}\n     */\n    set src(val) {\n        this.defaultSrc = val;\n        this.setValue(this.defaultSrc, '');\n    }\n    /**\n     * Use the [responsively] activated input value to update\n     * the host img src attribute or assign a default `img.src=''`\n     * if the src has not been defined.\n     *\n     * Do nothing to standard `<img src=\"\">` usages, only when responsive\n     * keys are present do we actually call `setAttribute()`\n     * @protected\n     * @param {?=} value\n     * @return {?}\n     */\n    updateWithValue(value) {\n        /** @type {?} */\n        const url = value || this.defaultSrc;\n        if (Object(_angular_common__WEBPACK_IMPORTED_MODULE_1__[\"isPlatformServer\"])(this.platformId) && this.serverModuleLoaded) {\n            this.addStyles(url);\n        }\n        else {\n            this.nativeElement.setAttribute('src', url);\n        }\n    }\n}\nImgSrcDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: 'img-src-directive' },] },\n];\n/** @nocollapse */\nImgSrcDirective.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"] },\n    { type: ImgSrcStyleBuilder },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"StyleUtils\"] },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"MediaMarshaller\"] },\n    { type: Object, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"PLATFORM_ID\"],] }] },\n    { type: Boolean, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"SERVER_TOKEN\"],] }] }\n];\nImgSrcDirective.propDecorators = {\n    src: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"], args: ['src',] }]\n};\n/** @type {?} */\nconst imgSrcCache = new Map();\n/** @type {?} */\nconst inputs = [\n    'src.xs', 'src.sm', 'src.md', 'src.lg', 'src.xl',\n    'src.lt-sm', 'src.lt-md', 'src.lt-lg', 'src.lt-xl',\n    'src.gt-xs', 'src.gt-sm', 'src.gt-md', 'src.gt-lg'\n];\n/** @type {?} */\nconst selector = `\n  img[src.xs],    img[src.sm],    img[src.md],    img[src.lg],   img[src.xl],\n  img[src.lt-sm], img[src.lt-md], img[src.lt-lg], img[src.lt-xl],\n  img[src.gt-xs], img[src.gt-sm], img[src.gt-md], img[src.gt-lg]\n`;\n/**\n * This directive provides a responsive API for the HTML <img> 'src' attribute\n * and will update the img.src property upon each responsive activation.\n *\n * e.g.\n *      <img src=\"defaultScene.jpg\" src.xs=\"mobileScene.jpg\"></img>\n *\n * @see https://css-tricks.com/responsive-images-youre-just-changing-resolutions-use-src/\n */\nclass DefaultImgSrcDirective extends ImgSrcDirective {\n    constructor() {\n        super(...arguments);\n        this.inputs = inputs;\n    }\n}\nDefaultImgSrcDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector, inputs },] },\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass ClassDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"BaseDirective2\"] {\n    /**\n     * @param {?} elementRef\n     * @param {?} styler\n     * @param {?} marshal\n     * @param {?} delegate\n     * @param {?} ngClassInstance\n     */\n    constructor(elementRef, styler, marshal, delegate, ngClassInstance) {\n        super(elementRef, (/** @type {?} */ (null)), styler, marshal);\n        this.elementRef = elementRef;\n        this.styler = styler;\n        this.marshal = marshal;\n        this.delegate = delegate;\n        this.ngClassInstance = ngClassInstance;\n        this.DIRECTIVE_KEY = 'ngClass';\n        if (!this.ngClassInstance) {\n            // Create an instance NgClass Directive instance only if `ngClass=\"\"` has NOT been defined on\n            // the same host element; since the responsive variations may be defined...\n            this.ngClassInstance = new _angular_common__WEBPACK_IMPORTED_MODULE_1__[\"NgClass\"](this.delegate);\n        }\n        this.init();\n        this.setValue('', '');\n    }\n    /**\n     * Capture class assignments so we cache the default classes\n     * which are merged with activated styles and used as fallbacks.\n     * @param {?} val\n     * @return {?}\n     */\n    set klass(val) {\n        this.ngClassInstance.klass = val;\n        this.setValue(val, '');\n    }\n    /**\n     * @protected\n     * @param {?} value\n     * @return {?}\n     */\n    updateWithValue(value) {\n        this.ngClassInstance.ngClass = value;\n        this.ngClassInstance.ngDoCheck();\n    }\n    // ******************************************************************\n    // Lifecycle Hooks\n    // ******************************************************************\n    /**\n     * For ChangeDetectionStrategy.onPush and ngOnChanges() updates\n     * @return {?}\n     */\n    ngDoCheck() {\n        this.ngClassInstance.ngDoCheck();\n    }\n}\nClassDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: 'class-directive' },] },\n];\n/** @nocollapse */\nClassDirective.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"] },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"StyleUtils\"] },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"MediaMarshaller\"] },\n    { type: _angular_common__WEBPACK_IMPORTED_MODULE_1__[\"ɵNgClassImpl\"] },\n    { type: _angular_common__WEBPACK_IMPORTED_MODULE_1__[\"NgClass\"], decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"] }] }\n];\nClassDirective.propDecorators = {\n    klass: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"], args: ['class',] }]\n};\n/** @type {?} */\nconst inputs$1 = [\n    'ngClass', 'ngClass.xs', 'ngClass.sm', 'ngClass.md', 'ngClass.lg', 'ngClass.xl',\n    'ngClass.lt-sm', 'ngClass.lt-md', 'ngClass.lt-lg', 'ngClass.lt-xl',\n    'ngClass.gt-xs', 'ngClass.gt-sm', 'ngClass.gt-md', 'ngClass.gt-lg'\n];\n/** @type {?} */\nconst selector$1 = `\n  [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl],\n  [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl],\n  [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]\n`;\n// tslint:disable-next-line:variable-name\n/** @type {?} */\nconst LayoutNgClassImplProvider = {\n    provide: _angular_common__WEBPACK_IMPORTED_MODULE_1__[\"ɵNgClassImpl\"],\n    useClass: _angular_common__WEBPACK_IMPORTED_MODULE_1__[\"ɵNgClassR2Impl\"]\n};\n/**\n * Directive to add responsive support for ngClass.\n * This maintains the core functionality of 'ngClass' and adds responsive API\n * Note: this class is a no-op when rendered on the server\n */\nclass DefaultClassDirective extends ClassDirective {\n    constructor() {\n        super(...arguments);\n        this.inputs = inputs$1;\n    }\n}\nDefaultClassDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: selector$1, inputs: inputs$1, providers: [LayoutNgClassImplProvider] },] },\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass ShowHideStyleBuilder extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"StyleBuilder\"] {\n    /**\n     * @param {?} show\n     * @param {?} parent\n     * @return {?}\n     */\n    buildStyles(show, parent) {\n        /** @type {?} */\n        const shouldShow = show === 'true';\n        return { 'display': shouldShow ? parent.display : 'none' };\n    }\n}\nShowHideStyleBuilder.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */ ShowHideStyleBuilder.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({ factory: function ShowHideStyleBuilder_Factory() { return new ShowHideStyleBuilder(); }, token: ShowHideStyleBuilder, providedIn: \"root\" });\nclass ShowHideDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"BaseDirective2\"] {\n    /**\n     * @param {?} elementRef\n     * @param {?} styleBuilder\n     * @param {?} styler\n     * @param {?} marshal\n     * @param {?} layoutConfig\n     * @param {?} platformId\n     * @param {?} serverModuleLoaded\n     */\n    constructor(elementRef, styleBuilder, styler, marshal, layoutConfig, platformId, serverModuleLoaded) {\n        super(elementRef, styleBuilder, styler, marshal);\n        this.elementRef = elementRef;\n        this.styleBuilder = styleBuilder;\n        this.styler = styler;\n        this.marshal = marshal;\n        this.layoutConfig = layoutConfig;\n        this.platformId = platformId;\n        this.serverModuleLoaded = serverModuleLoaded;\n        this.DIRECTIVE_KEY = 'show-hide';\n        /**\n         * Original dom Elements CSS display style\n         */\n        this.display = '';\n        this.hasLayout = false;\n        this.hasFlexChild = false;\n    }\n    // *********************************************\n    // Lifecycle Methods\n    // *********************************************\n    /**\n     * @return {?}\n     */\n    ngAfterViewInit() {\n        this.trackExtraTriggers();\n        /** @type {?} */\n        const children = Array.from(this.nativeElement.children);\n        for (let i = 0; i < children.length; i++) {\n            if (this.marshal.hasValue((/** @type {?} */ (children[i])), 'flex')) {\n                this.hasFlexChild = true;\n                break;\n            }\n        }\n        if (DISPLAY_MAP.has(this.nativeElement)) {\n            this.display = (/** @type {?} */ (DISPLAY_MAP.get(this.nativeElement)));\n        }\n        else {\n            this.display = this.getDisplayStyle();\n            DISPLAY_MAP.set(this.nativeElement, this.display);\n        }\n        this.init();\n        // set the default to show unless explicitly overridden\n        /** @type {?} */\n        const defaultValue = this.marshal.getValue(this.nativeElement, this.DIRECTIVE_KEY, '');\n        if (defaultValue === undefined || defaultValue === '') {\n            this.setValue(true, '');\n        }\n        else {\n            this.triggerUpdate();\n        }\n    }\n    /**\n     * On changes to any \\@Input properties...\n     * Default to use the non-responsive Input value ('fxShow')\n     * Then conditionally override with the mq-activated Input's current value\n     * @param {?} changes\n     * @return {?}\n     */\n    ngOnChanges(changes) {\n        Object.keys(changes).forEach((/**\n         * @param {?} key\n         * @return {?}\n         */\n        key => {\n            if (this.inputs.indexOf(key) !== -1) {\n                /** @type {?} */\n                const inputKey = key.split('.');\n                /** @type {?} */\n                const bp = inputKey.slice(1).join('.');\n                /** @type {?} */\n                const inputValue = changes[key].currentValue;\n                /** @type {?} */\n                let shouldShow = inputValue !== '' ?\n                    inputValue !== 0 ? Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_3__[\"coerceBooleanProperty\"])(inputValue) : false\n                    : true;\n                if (inputKey[0] === 'fxHide') {\n                    shouldShow = !shouldShow;\n                }\n                this.setValue(shouldShow, bp);\n            }\n        }));\n    }\n    // *********************************************\n    // Protected methods\n    // *********************************************\n    /**\n     *  Watch for these extra triggers to update fxShow, fxHide stylings\n     * @protected\n     * @return {?}\n     */\n    trackExtraTriggers() {\n        this.hasLayout = this.marshal.hasValue(this.nativeElement, 'layout');\n        ['layout', 'layout-align'].forEach((/**\n         * @param {?} key\n         * @return {?}\n         */\n        key => {\n            this.marshal\n                .trackValue(this.nativeElement, key)\n                .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"takeUntil\"])(this.destroySubject))\n                .subscribe(this.triggerUpdate.bind(this));\n        }));\n    }\n    /**\n     * Override accessor to the current HTMLElement's `display` style\n     * Note: Show/Hide will not change the display to 'flex' but will set it to 'block'\n     * unless it was already explicitly specified inline or in a CSS stylesheet.\n     * @protected\n     * @return {?}\n     */\n    getDisplayStyle() {\n        return (this.hasLayout || (this.hasFlexChild && this.layoutConfig.addFlexToParent)) ?\n            'flex' : this.styler.lookupStyle(this.nativeElement, 'display', true);\n    }\n    /**\n     * Validate the visibility value and then update the host's inline display style\n     * @protected\n     * @param {?=} value\n     * @return {?}\n     */\n    updateWithValue(value = true) {\n        if (value === '') {\n            return;\n        }\n        this.addStyles(value ? 'true' : 'false', { display: this.display });\n        if (Object(_angular_common__WEBPACK_IMPORTED_MODULE_1__[\"isPlatformServer\"])(this.platformId) && this.serverModuleLoaded) {\n            this.nativeElement.style.setProperty('display', '');\n        }\n        this.marshal.triggerUpdate((/** @type {?} */ (this.parentElement)), 'layout-gap');\n    }\n}\nShowHideDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: 'show-hide-directive' },] },\n];\n/** @nocollapse */\nShowHideDirective.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"] },\n    { type: ShowHideStyleBuilder },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"StyleUtils\"] },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"MediaMarshaller\"] },\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"LAYOUT_CONFIG\"],] }] },\n    { type: Object, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"PLATFORM_ID\"],] }] },\n    { type: Boolean, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"SERVER_TOKEN\"],] }] }\n];\n/** @type {?} */\nconst DISPLAY_MAP = new WeakMap();\n/** @type {?} */\nconst inputs$2 = [\n    'fxShow', 'fxShow.print',\n    'fxShow.xs', 'fxShow.sm', 'fxShow.md', 'fxShow.lg', 'fxShow.xl',\n    'fxShow.lt-sm', 'fxShow.lt-md', 'fxShow.lt-lg', 'fxShow.lt-xl',\n    'fxShow.gt-xs', 'fxShow.gt-sm', 'fxShow.gt-md', 'fxShow.gt-lg',\n    'fxHide', 'fxHide.print',\n    'fxHide.xs', 'fxHide.sm', 'fxHide.md', 'fxHide.lg', 'fxHide.xl',\n    'fxHide.lt-sm', 'fxHide.lt-md', 'fxHide.lt-lg', 'fxHide.lt-xl',\n    'fxHide.gt-xs', 'fxHide.gt-sm', 'fxHide.gt-md', 'fxHide.gt-lg'\n];\n/** @type {?} */\nconst selector$2 = `\n  [fxShow], [fxShow.print],\n  [fxShow.xs], [fxShow.sm], [fxShow.md], [fxShow.lg], [fxShow.xl],\n  [fxShow.lt-sm], [fxShow.lt-md], [fxShow.lt-lg], [fxShow.lt-xl],\n  [fxShow.gt-xs], [fxShow.gt-sm], [fxShow.gt-md], [fxShow.gt-lg],\n  [fxHide], [fxHide.print],\n  [fxHide.xs], [fxHide.sm], [fxHide.md], [fxHide.lg], [fxHide.xl],\n  [fxHide.lt-sm], [fxHide.lt-md], [fxHide.lt-lg], [fxHide.lt-xl],\n  [fxHide.gt-xs], [fxHide.gt-sm], [fxHide.gt-md], [fxHide.gt-lg]\n`;\n/**\n * 'show' Layout API directive\n */\nclass DefaultShowHideDirective extends ShowHideDirective {\n    constructor() {\n        super(...arguments);\n        this.inputs = inputs$2;\n    }\n}\nDefaultShowHideDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: selector$2, inputs: inputs$2 },] },\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * NgStyle allowed inputs\n */\nclass NgStyleKeyValue {\n    /**\n     * @param {?} key\n     * @param {?} value\n     * @param {?=} noQuotes\n     */\n    constructor(key, value, noQuotes = true) {\n        this.key = key;\n        this.value = value;\n        this.key = noQuotes ? key.replace(/['\"]/g, '').trim() : key.trim();\n        this.value = noQuotes ? value.replace(/['\"]/g, '').trim() : value.trim();\n        this.value = this.value.replace(/;/, '');\n    }\n}\n/**\n * @param {?} target\n * @return {?}\n */\nfunction getType(target) {\n    /** @type {?} */\n    let what = typeof target;\n    if (what === 'object') {\n        return (target.constructor === Array) ? 'array' :\n            (target.constructor === Set) ? 'set' : 'object';\n    }\n    return what;\n}\n/**\n * Split string of key:value pairs into Array of k-v pairs\n * e.g.  'key:value; key:value; key:value;' -> ['key:value',...]\n * @param {?} source\n * @param {?=} delimiter\n * @return {?}\n */\nfunction buildRawList(source, delimiter = ';') {\n    return String(source)\n        .trim()\n        .split(delimiter)\n        .map((/**\n     * @param {?} val\n     * @return {?}\n     */\n    (val) => val.trim()))\n        .filter((/**\n     * @param {?} val\n     * @return {?}\n     */\n    val => val !== ''));\n}\n/**\n * Convert array of key:value strings to a iterable map object\n * @param {?} styles\n * @param {?=} sanitize\n * @return {?}\n */\nfunction buildMapFromList(styles, sanitize) {\n    /** @type {?} */\n    const sanitizeValue = (/**\n     * @param {?} it\n     * @return {?}\n     */\n    (it) => {\n        if (sanitize) {\n            it.value = sanitize(it.value);\n        }\n        return it;\n    });\n    return styles\n        .map(stringToKeyValue)\n        .filter((/**\n     * @param {?} entry\n     * @return {?}\n     */\n    entry => !!entry))\n        .map(sanitizeValue)\n        .reduce(keyValuesToMap, (/** @type {?} */ ({})));\n}\n/**\n * Convert Set<string> or raw Object to an iterable NgStyleMap\n * @param {?} source\n * @param {?=} sanitize\n * @return {?}\n */\nfunction buildMapFromSet(source, sanitize) {\n    /** @type {?} */\n    let list = [];\n    if (getType(source) === 'set') {\n        ((/** @type {?} */ (source))).forEach((/**\n         * @param {?} entry\n         * @return {?}\n         */\n        entry => list.push(entry)));\n    }\n    else {\n        Object.keys(source).forEach((/**\n         * @param {?} key\n         * @return {?}\n         */\n        (key) => {\n            list.push(`${key}:${((/** @type {?} */ (source)))[key]}`);\n        }));\n    }\n    return buildMapFromList(list, sanitize);\n}\n/**\n * Convert 'key:value' -> [key, value]\n * @param {?} it\n * @return {?}\n */\nfunction stringToKeyValue(it) {\n    const [key, ...vals] = it.split(':');\n    return new NgStyleKeyValue(key, vals.join(':'));\n}\n/**\n * Convert [ [key,value] ] -> { key : value }\n * @param {?} map\n * @param {?} entry\n * @return {?}\n */\nfunction keyValuesToMap(map, entry) {\n    if (!!entry.key) {\n        map[entry.key] = entry.value;\n    }\n    return map;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass StyleDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"BaseDirective2\"] {\n    /**\n     * @param {?} elementRef\n     * @param {?} styler\n     * @param {?} marshal\n     * @param {?} delegate\n     * @param {?} sanitizer\n     * @param {?} ngStyleInstance\n     * @param {?} serverLoaded\n     * @param {?} platformId\n     */\n    constructor(elementRef, styler, marshal, delegate, sanitizer, ngStyleInstance, serverLoaded, platformId) {\n        super(elementRef, (/** @type {?} */ (null)), styler, marshal);\n        this.elementRef = elementRef;\n        this.styler = styler;\n        this.marshal = marshal;\n        this.delegate = delegate;\n        this.sanitizer = sanitizer;\n        this.ngStyleInstance = ngStyleInstance;\n        this.DIRECTIVE_KEY = 'ngStyle';\n        if (!this.ngStyleInstance) {\n            // Create an instance NgClass Directive instance only if `ngClass=\"\"` has NOT been\n            // defined on the same host element; since the responsive variations may be defined...\n            this.ngStyleInstance = new _angular_common__WEBPACK_IMPORTED_MODULE_1__[\"NgStyle\"](this.delegate);\n        }\n        this.init();\n        /** @type {?} */\n        const styles = this.nativeElement.getAttribute('style') || '';\n        this.fallbackStyles = this.buildStyleMap(styles);\n        this.isServer = serverLoaded && Object(_angular_common__WEBPACK_IMPORTED_MODULE_1__[\"isPlatformServer\"])(platformId);\n    }\n    /**\n     * Add generated styles\n     * @protected\n     * @param {?} value\n     * @return {?}\n     */\n    updateWithValue(value) {\n        /** @type {?} */\n        const styles = this.buildStyleMap(value);\n        this.ngStyleInstance.ngStyle = Object.assign({}, this.fallbackStyles, styles);\n        if (this.isServer) {\n            this.applyStyleToElement(styles);\n        }\n        this.ngStyleInstance.ngDoCheck();\n    }\n    /**\n     * Remove generated styles\n     * @protected\n     * @return {?}\n     */\n    clearStyles() {\n        this.ngStyleInstance.ngStyle = this.fallbackStyles;\n        this.ngStyleInstance.ngDoCheck();\n    }\n    /**\n     * Convert raw strings to ngStyleMap; which is required by ngStyle\n     * NOTE: Raw string key-value pairs MUST be delimited by `;`\n     *       Comma-delimiters are not supported due to complexities of\n     *       possible style values such as `rgba(x,x,x,x)` and others\n     * @protected\n     * @param {?} styles\n     * @return {?}\n     */\n    buildStyleMap(styles) {\n        // Always safe-guard (aka sanitize) style property values\n        /** @type {?} */\n        const sanitizer = (/**\n         * @param {?} val\n         * @return {?}\n         */\n        (val) => this.sanitizer.sanitize(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"SecurityContext\"].STYLE, val) || '');\n        if (styles) {\n            switch (getType(styles)) {\n                case 'string': return buildMapFromList$1(buildRawList(styles), sanitizer);\n                case 'array': return buildMapFromList$1((/** @type {?} */ (styles)), sanitizer);\n                case 'set': return buildMapFromSet(styles, sanitizer);\n                default: return buildMapFromSet(styles, sanitizer);\n            }\n        }\n        return {};\n    }\n    // ******************************************************************\n    // Lifecycle Hooks\n    // ******************************************************************\n    /**\n     * For ChangeDetectionStrategy.onPush and ngOnChanges() updates\n     * @return {?}\n     */\n    ngDoCheck() {\n        this.ngStyleInstance.ngDoCheck();\n    }\n}\nStyleDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: 'style-directive' },] },\n];\n/** @nocollapse */\nStyleDirective.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"] },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"StyleUtils\"] },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"MediaMarshaller\"] },\n    { type: _angular_common__WEBPACK_IMPORTED_MODULE_1__[\"ɵNgStyleImpl\"] },\n    { type: _angular_platform_browser__WEBPACK_IMPORTED_MODULE_5__[\"DomSanitizer\"] },\n    { type: _angular_common__WEBPACK_IMPORTED_MODULE_1__[\"NgStyle\"], decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"] }] },\n    { type: Boolean, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"SERVER_TOKEN\"],] }] },\n    { type: Object, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"PLATFORM_ID\"],] }] }\n];\n/** @type {?} */\nconst inputs$3 = [\n    'ngStyle',\n    'ngStyle.xs', 'ngStyle.sm', 'ngStyle.md', 'ngStyle.lg', 'ngStyle.xl',\n    'ngStyle.lt-sm', 'ngStyle.lt-md', 'ngStyle.lt-lg', 'ngStyle.lt-xl',\n    'ngStyle.gt-xs', 'ngStyle.gt-sm', 'ngStyle.gt-md', 'ngStyle.gt-lg'\n];\n/** @type {?} */\nconst selector$3 = `\n  [ngStyle],\n  [ngStyle.xs], [ngStyle.sm], [ngStyle.md], [ngStyle.lg], [ngStyle.xl],\n  [ngStyle.lt-sm], [ngStyle.lt-md], [ngStyle.lt-lg], [ngStyle.lt-xl],\n  [ngStyle.gt-xs], [ngStyle.gt-sm], [ngStyle.gt-md], [ngStyle.gt-lg]\n`;\n// tslint:disable-next-line:variable-name\n/** @type {?} */\nconst LayoutNgStyleImplProvider = {\n    provide: _angular_common__WEBPACK_IMPORTED_MODULE_1__[\"ɵNgStyleImpl\"],\n    useClass: _angular_common__WEBPACK_IMPORTED_MODULE_1__[\"ɵNgStyleR2Impl\"]\n};\n/**\n * Directive to add responsive support for ngStyle.\n *\n */\nclass DefaultStyleDirective extends StyleDirective {\n    constructor() {\n        super(...arguments);\n        this.inputs = inputs$3;\n    }\n}\nDefaultStyleDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: selector$3, inputs: inputs$3, providers: [LayoutNgStyleImplProvider] },] },\n];\n/**\n * Build a styles map from a list of styles, while sanitizing bad values first\n * @param {?} styles\n * @param {?=} sanitize\n * @return {?}\n */\nfunction buildMapFromList$1(styles, sanitize) {\n    /** @type {?} */\n    const sanitizeValue = (/**\n     * @param {?} it\n     * @return {?}\n     */\n    (it) => {\n        if (sanitize) {\n            it.value = sanitize(it.value);\n        }\n        return it;\n    });\n    return styles\n        .map(stringToKeyValue)\n        .filter((/**\n     * @param {?} entry\n     * @return {?}\n     */\n    entry => !!entry))\n        .map(sanitizeValue)\n        .reduce(keyValuesToMap, (/** @type {?} */ ({})));\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst ALL_DIRECTIVES = [\n    DefaultShowHideDirective,\n    DefaultClassDirective,\n    DefaultStyleDirective,\n    DefaultImgSrcDirective,\n    ClassDirective,\n    ImgSrcDirective,\n    ShowHideDirective,\n    StyleDirective,\n];\n/**\n * *****************************************************************\n * Define module for the Extended API\n * *****************************************************************\n */\nclass ExtendedModule {\n}\nExtendedModule.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"], args: [{\n                imports: [_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"CoreModule\"]],\n                declarations: [...ALL_DIRECTIVES],\n                exports: [...ALL_DIRECTIVES]\n            },] },\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n\n//# sourceMappingURL=extended.js.map\n\n\n/***/ }),\n\n/***/ \"./node_modules/@angular/flex-layout/esm2015/flex-layout.js\":\n/*!******************************************************************!*\\\n  !*** ./node_modules/@angular/flex-layout/esm2015/flex-layout.js ***!\n  \\******************************************************************/\n/*! exports provided: ɵMatchMedia, ɵMockMatchMedia, ɵMockMatchMediaProvider, CoreModule, removeStyles, BROWSER_PROVIDER, CLASS_NAME, MediaChange, StylesheetMap, DEFAULT_CONFIG, LAYOUT_CONFIG, SERVER_TOKEN, BREAKPOINT, mergeAlias, BaseDirective2, DEFAULT_BREAKPOINTS, ScreenTypes, ORIENTATION_BREAKPOINTS, BreakPointRegistry, BREAKPOINTS, MediaObserver, MediaTrigger, sortDescendingPriority, sortAscendingPriority, coerceArray, StyleUtils, StyleBuilder, validateBasis, MediaMarshaller, BREAKPOINT_PRINT, PrintHook, ExtendedModule, ClassDirective, LayoutNgClassImplProvider, DefaultClassDirective, ImgSrcStyleBuilder, ImgSrcDirective, DefaultImgSrcDirective, ShowHideStyleBuilder, ShowHideDirective, DefaultShowHideDirective, StyleDirective, LayoutNgStyleImplProvider, DefaultStyleDirective, FlexModule, FlexStyleBuilder, FlexDirective, DefaultFlexDirective, FlexAlignStyleBuilder, FlexAlignDirective, DefaultFlexAlignDirective, FlexFillStyleBuilder, FlexFillDirective, FlexOffsetStyleBuilder, FlexOffsetDirective, DefaultFlexOffsetDirective, FlexOrderStyleBuilder, FlexOrderDirective, DefaultFlexOrderDirective, LayoutStyleBuilder, LayoutDirective, DefaultLayoutDirective, LayoutAlignStyleBuilder, LayoutAlignDirective, DefaultLayoutAlignDirective, LayoutGapStyleBuilder, LayoutGapDirective, DefaultLayoutGapDirective, ɵf2, ɵe2, ɵd2, ɵi2, ɵh2, ɵg2, ɵl2, ɵk2, ɵj2, ɵo2, ɵn2, ɵm2, ɵr2, ɵq2, ɵp2, ɵu2, ɵt2, ɵs2, ɵx2, ɵw2, ɵv2, ɵba2, ɵz2, ɵy2, ɵc2, ɵb2, ɵa2, ɵbd2, ɵbc2, ɵbb2, ɵbg2, ɵbf2, ɵbe2, GridModule, VERSION, FlexLayoutModule */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VERSION\", function() { return VERSION; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FlexLayoutModule\", function() { return FlexLayoutModule; });\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ \"./node_modules/@angular/common/fesm2015/common.js\");\n/* harmony import */ var _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/flex-layout/core */ \"./node_modules/@angular/flex-layout/esm2015/core.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ɵMatchMedia\", function() { return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"ɵMatchMedia\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ɵMockMatchMedia\", function() { return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"ɵMockMatchMedia\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ɵMockMatchMediaProvider\", function() { return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"ɵMockMatchMediaProvider\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CoreModule\", function() { return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"CoreModule\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"removeStyles\", function() { return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"removeStyles\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"BROWSER_PROVIDER\", function() { return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"BROWSER_PROVIDER\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CLASS_NAME\", function() { return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"CLASS_NAME\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MediaChange\", function() { return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"MediaChange\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"StylesheetMap\", function() { return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"StylesheetMap\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"DEFAULT_CONFIG\", function() { return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"DEFAULT_CONFIG\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"LAYOUT_CONFIG\", function() { return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"LAYOUT_CONFIG\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"SERVER_TOKEN\", function() { return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"SERVER_TOKEN\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"BREAKPOINT\", function() { return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"BREAKPOINT\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"mergeAlias\", function() { return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"mergeAlias\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"BaseDirective2\", function() { return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"BaseDirective2\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"DEFAULT_BREAKPOINTS\", function() { return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"DEFAULT_BREAKPOINTS\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ScreenTypes\", function() { return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"ScreenTypes\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ORIENTATION_BREAKPOINTS\", function() { return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"ORIENTATION_BREAKPOINTS\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"BreakPointRegistry\", function() { return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"BreakPointRegistry\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"BREAKPOINTS\", function() { return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"BREAKPOINTS\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MediaObserver\", function() { return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"MediaObserver\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MediaTrigger\", function() { return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"MediaTrigger\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"sortDescendingPriority\", function() { return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"sortDescendingPriority\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"sortAscendingPriority\", function() { return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"sortAscendingPriority\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"coerceArray\", function() { return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"coerceArray\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"StyleUtils\", function() { return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"StyleUtils\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"StyleBuilder\", function() { return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"StyleBuilder\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"validateBasis\", function() { return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"validateBasis\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MediaMarshaller\", function() { return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"MediaMarshaller\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"BREAKPOINT_PRINT\", function() { return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"BREAKPOINT_PRINT\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"PrintHook\", function() { return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"PrintHook\"]; });\n\n/* harmony import */ var _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/flex-layout/extended */ \"./node_modules/@angular/flex-layout/esm2015/extended.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ExtendedModule\", function() { return _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_3__[\"ExtendedModule\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ClassDirective\", function() { return _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_3__[\"ClassDirective\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"LayoutNgClassImplProvider\", function() { return _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_3__[\"LayoutNgClassImplProvider\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"DefaultClassDirective\", function() { return _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_3__[\"DefaultClassDirective\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ImgSrcStyleBuilder\", function() { return _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_3__[\"ImgSrcStyleBuilder\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ImgSrcDirective\", function() { return _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_3__[\"ImgSrcDirective\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"DefaultImgSrcDirective\", function() { return _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_3__[\"DefaultImgSrcDirective\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ShowHideStyleBuilder\", function() { return _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_3__[\"ShowHideStyleBuilder\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ShowHideDirective\", function() { return _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_3__[\"ShowHideDirective\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"DefaultShowHideDirective\", function() { return _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_3__[\"DefaultShowHideDirective\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"StyleDirective\", function() { return _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_3__[\"StyleDirective\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"LayoutNgStyleImplProvider\", function() { return _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_3__[\"LayoutNgStyleImplProvider\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"DefaultStyleDirective\", function() { return _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_3__[\"DefaultStyleDirective\"]; });\n\n/* harmony import */ var _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/flex-layout/flex */ \"./node_modules/@angular/flex-layout/esm2015/flex.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"FlexModule\", function() { return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"FlexModule\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"FlexStyleBuilder\", function() { return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"FlexStyleBuilder\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"FlexDirective\", function() { return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"FlexDirective\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"DefaultFlexDirective\", function() { return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"DefaultFlexDirective\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"FlexAlignStyleBuilder\", function() { return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"FlexAlignStyleBuilder\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"FlexAlignDirective\", function() { return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"FlexAlignDirective\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"DefaultFlexAlignDirective\", function() { return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"DefaultFlexAlignDirective\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"FlexFillStyleBuilder\", function() { return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"FlexFillStyleBuilder\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"FlexFillDirective\", function() { return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"FlexFillDirective\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"FlexOffsetStyleBuilder\", function() { return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"FlexOffsetStyleBuilder\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"FlexOffsetDirective\", function() { return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"FlexOffsetDirective\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"DefaultFlexOffsetDirective\", function() { return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"DefaultFlexOffsetDirective\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"FlexOrderStyleBuilder\", function() { return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"FlexOrderStyleBuilder\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"FlexOrderDirective\", function() { return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"FlexOrderDirective\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"DefaultFlexOrderDirective\", function() { return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"DefaultFlexOrderDirective\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"LayoutStyleBuilder\", function() { return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"LayoutStyleBuilder\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"LayoutDirective\", function() { return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"LayoutDirective\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"DefaultLayoutDirective\", function() { return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"DefaultLayoutDirective\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"LayoutAlignStyleBuilder\", function() { return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"LayoutAlignStyleBuilder\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"LayoutAlignDirective\", function() { return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"LayoutAlignDirective\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"DefaultLayoutAlignDirective\", function() { return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"DefaultLayoutAlignDirective\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"LayoutGapStyleBuilder\", function() { return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"LayoutGapStyleBuilder\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"LayoutGapDirective\", function() { return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"LayoutGapDirective\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"DefaultLayoutGapDirective\", function() { return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"DefaultLayoutGapDirective\"]; });\n\n/* harmony import */ var _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/flex-layout/grid */ \"./node_modules/@angular/flex-layout/esm2015/grid.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ɵf2\", function() { return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵf2\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ɵe2\", function() { return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵe2\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ɵd2\", function() { return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵd2\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ɵi2\", function() { return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵi2\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ɵh2\", function() { return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵh2\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ɵg2\", function() { return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵg2\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ɵl2\", function() { return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵl2\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ɵk2\", function() { return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵk2\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ɵj2\", function() { return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵj2\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ɵo2\", function() { return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵo2\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ɵn2\", function() { return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵn2\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ɵm2\", function() { return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵm2\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ɵr2\", function() { return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵr2\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ɵq2\", function() { return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵq2\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ɵp2\", function() { return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵp2\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ɵu2\", function() { return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵu2\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ɵt2\", function() { return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵt2\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ɵs2\", function() { return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵs2\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ɵx2\", function() { return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵx2\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ɵw2\", function() { return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵw2\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ɵv2\", function() { return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵv2\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ɵba2\", function() { return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵba2\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ɵz2\", function() { return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵz2\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ɵy2\", function() { return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵy2\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ɵc2\", function() { return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵc2\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ɵb2\", function() { return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵb2\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ɵa2\", function() { return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵa2\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ɵbd2\", function() { return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵbd2\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ɵbc2\", function() { return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵbc2\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ɵbb2\", function() { return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵbb2\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ɵbg2\", function() { return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵbg2\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ɵbf2\", function() { return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵbf2\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ɵbe2\", function() { return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵbe2\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"GridModule\", function() { return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"GridModule\"]; });\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\n\n\n\n\n\n\n\n\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Current version of Angular Flex-Layout.\n * @type {?}\n */\nconst VERSION = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Version\"]('8.0.0-beta.27');\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * FlexLayoutModule -- the main import for all utilities in the Angular Layout library\n * * Will automatically provide Flex, Grid, and Extended modules for use in the application\n * * Can be configured using the static withConfig method, options viewable on the Wiki's\n *   Configuration page\n */\nclass FlexLayoutModule {\n    /**\n     * @param {?} serverModuleLoaded\n     * @param {?} platformId\n     */\n    constructor(serverModuleLoaded, platformId) {\n        if (Object(_angular_common__WEBPACK_IMPORTED_MODULE_1__[\"isPlatformServer\"])(platformId) && !serverModuleLoaded) {\n            console.warn('Warning: Flex Layout loaded on the server without FlexLayoutServerModule');\n        }\n    }\n    /**\n     * Initialize the FlexLayoutModule with a set of config options,\n     * which sets the corresponding tokens accordingly\n     * @param {?} configOptions\n     * @param {?=} breakpoints\n     * @return {?}\n     */\n    static withConfig(configOptions, breakpoints = []) {\n        return {\n            ngModule: FlexLayoutModule,\n            providers: configOptions.serverLoaded ?\n                [\n                    { provide: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"LAYOUT_CONFIG\"], useValue: Object.assign({}, _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"DEFAULT_CONFIG\"], configOptions) },\n                    { provide: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"BREAKPOINT\"], useValue: breakpoints, multi: true },\n                    { provide: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"SERVER_TOKEN\"], useValue: true },\n                ] : [\n                { provide: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"LAYOUT_CONFIG\"], useValue: Object.assign({}, _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"DEFAULT_CONFIG\"], configOptions) },\n                { provide: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"BREAKPOINT\"], useValue: breakpoints, multi: true },\n            ]\n        };\n    }\n}\nFlexLayoutModule.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"], args: [{\n                imports: [_angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"FlexModule\"], _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_3__[\"ExtendedModule\"], _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"GridModule\"]],\n                exports: [_angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"FlexModule\"], _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_3__[\"ExtendedModule\"], _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"GridModule\"]]\n            },] },\n];\n/** @nocollapse */\nFlexLayoutModule.ctorParameters = () => [\n    { type: Boolean, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"SERVER_TOKEN\"],] }] },\n    { type: Object, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"PLATFORM_ID\"],] }] }\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n\n//# sourceMappingURL=flex-layout.js.map\n\n\n/***/ }),\n\n/***/ \"./node_modules/@angular/flex-layout/esm2015/flex.js\":\n/*!***********************************************************!*\\\n  !*** ./node_modules/@angular/flex-layout/esm2015/flex.js ***!\n  \\***********************************************************/\n/*! exports provided: FlexModule, FlexStyleBuilder, FlexDirective, DefaultFlexDirective, FlexAlignStyleBuilder, FlexAlignDirective, DefaultFlexAlignDirective, FlexFillStyleBuilder, FlexFillDirective, FlexOffsetStyleBuilder, FlexOffsetDirective, DefaultFlexOffsetDirective, FlexOrderStyleBuilder, FlexOrderDirective, DefaultFlexOrderDirective, LayoutStyleBuilder, LayoutDirective, DefaultLayoutDirective, LayoutAlignStyleBuilder, LayoutAlignDirective, DefaultLayoutAlignDirective, LayoutGapStyleBuilder, LayoutGapDirective, DefaultLayoutGapDirective */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FlexModule\", function() { return FlexModule; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FlexStyleBuilder\", function() { return FlexStyleBuilder; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FlexDirective\", function() { return FlexDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DefaultFlexDirective\", function() { return DefaultFlexDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FlexAlignStyleBuilder\", function() { return FlexAlignStyleBuilder; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FlexAlignDirective\", function() { return FlexAlignDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DefaultFlexAlignDirective\", function() { return DefaultFlexAlignDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FlexFillStyleBuilder\", function() { return FlexFillStyleBuilder; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FlexFillDirective\", function() { return FlexFillDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FlexOffsetStyleBuilder\", function() { return FlexOffsetStyleBuilder; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FlexOffsetDirective\", function() { return FlexOffsetDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DefaultFlexOffsetDirective\", function() { return DefaultFlexOffsetDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FlexOrderStyleBuilder\", function() { return FlexOrderStyleBuilder; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FlexOrderDirective\", function() { return FlexOrderDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DefaultFlexOrderDirective\", function() { return DefaultFlexOrderDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LayoutStyleBuilder\", function() { return LayoutStyleBuilder; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LayoutDirective\", function() { return LayoutDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DefaultLayoutDirective\", function() { return DefaultLayoutDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LayoutAlignStyleBuilder\", function() { return LayoutAlignStyleBuilder; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LayoutAlignDirective\", function() { return LayoutAlignDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DefaultLayoutAlignDirective\", function() { return DefaultLayoutAlignDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LayoutGapStyleBuilder\", function() { return LayoutGapStyleBuilder; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LayoutGapDirective\", function() { return LayoutGapDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DefaultLayoutGapDirective\", function() { return DefaultLayoutGapDirective; });\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/flex-layout/core */ \"./node_modules/@angular/flex-layout/esm2015/core.js\");\n/* harmony import */ var _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/cdk/bidi */ \"./node_modules/@angular/cdk/esm2015/bidi.js\");\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs */ \"./node_modules/rxjs/_esm2015/index.js\");\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ \"./node_modules/rxjs/_esm2015/operators/index.js\");\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\n\n\n\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n * @type {?}\n */\nconst INLINE = 'inline';\n/** @type {?} */\nconst LAYOUT_VALUES = ['row', 'column', 'row-reverse', 'column-reverse'];\n/**\n * Validate the direction|'direction wrap' value and then update the host's inline flexbox styles\n * @param {?} value\n * @return {?}\n */\nfunction buildLayoutCSS(value) {\n    let [direction, wrap, isInline] = validateValue(value);\n    return buildCSS(direction, wrap, isInline);\n}\n/**\n * Validate the value to be one of the acceptable value options\n * Use default fallback of 'row'\n * @param {?} value\n * @return {?}\n */\nfunction validateValue(value) {\n    value = value ? value.toLowerCase() : '';\n    let [direction, wrap, inline] = value.split(' ');\n    // First value must be the `flex-direction`\n    if (!LAYOUT_VALUES.find((/**\n     * @param {?} x\n     * @return {?}\n     */\n    x => x === direction))) {\n        direction = LAYOUT_VALUES[0];\n    }\n    if (wrap === INLINE) {\n        wrap = (inline !== INLINE) ? inline : '';\n        inline = INLINE;\n    }\n    return [direction, validateWrapValue(wrap), !!inline];\n}\n/**\n * Determine if the validated, flex-direction value specifies\n * a horizontal/row flow.\n * @param {?} value\n * @return {?}\n */\nfunction isFlowHorizontal(value) {\n    let [flow,] = validateValue(value);\n    return flow.indexOf('row') > -1;\n}\n/**\n * Convert layout-wrap='<value>' to expected flex-wrap style\n * @param {?} value\n * @return {?}\n */\nfunction validateWrapValue(value) {\n    if (!!value) {\n        switch (value.toLowerCase()) {\n            case 'reverse':\n            case 'wrap-reverse':\n            case 'reverse-wrap':\n                value = 'wrap-reverse';\n                break;\n            case 'no':\n            case 'none':\n            case 'nowrap':\n                value = 'nowrap';\n                break;\n            // All other values fallback to 'wrap'\n            default:\n                value = 'wrap';\n                break;\n        }\n    }\n    return value;\n}\n/**\n * Build the CSS that should be assigned to the element instance\n * BUG:\n *   1) min-height on a column flex container won’t apply to its flex item children in IE 10-11.\n *      Use height instead if possible; height : <xxx>vh;\n *\n *  This way any padding or border specified on the child elements are\n *  laid out and drawn inside that element's specified width and height.\n * @param {?} direction\n * @param {?=} wrap\n * @param {?=} inline\n * @return {?}\n */\nfunction buildCSS(direction, wrap = null, inline = false) {\n    return {\n        'display': inline ? 'inline-flex' : 'flex',\n        'box-sizing': 'border-box',\n        'flex-direction': direction,\n        'flex-wrap': !!wrap ? wrap : null\n    };\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass LayoutStyleBuilder extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleBuilder\"] {\n    /**\n     * @param {?} input\n     * @return {?}\n     */\n    buildStyles(input) {\n        return buildLayoutCSS(input);\n    }\n}\nLayoutStyleBuilder.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */ LayoutStyleBuilder.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({ factory: function LayoutStyleBuilder_Factory() { return new LayoutStyleBuilder(); }, token: LayoutStyleBuilder, providedIn: \"root\" });\n/** @type {?} */\nconst inputs = [\n    'fxLayout', 'fxLayout.xs', 'fxLayout.sm', 'fxLayout.md',\n    'fxLayout.lg', 'fxLayout.xl', 'fxLayout.lt-sm', 'fxLayout.lt-md',\n    'fxLayout.lt-lg', 'fxLayout.lt-xl', 'fxLayout.gt-xs', 'fxLayout.gt-sm',\n    'fxLayout.gt-md', 'fxLayout.gt-lg'\n];\n/** @type {?} */\nconst selector = `\n  [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md],\n  [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md],\n  [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm],\n  [fxLayout.gt-md], [fxLayout.gt-lg]\n`;\n/**\n * 'layout' flexbox styling directive\n * Defines the positioning flow direction for the child elements: row or column\n * Optional values: column or row (default)\n * @see https://css-tricks.com/almanac/properties/f/flex-direction/\n *\n */\nclass LayoutDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"BaseDirective2\"] {\n    /**\n     * @param {?} elRef\n     * @param {?} styleUtils\n     * @param {?} styleBuilder\n     * @param {?} marshal\n     */\n    constructor(elRef, styleUtils, styleBuilder, marshal) {\n        super(elRef, styleBuilder, styleUtils, marshal);\n        this.elRef = elRef;\n        this.styleUtils = styleUtils;\n        this.styleBuilder = styleBuilder;\n        this.marshal = marshal;\n        this.DIRECTIVE_KEY = 'layout';\n        this.styleCache = layoutCache;\n        this.init();\n    }\n}\nLayoutDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: 'layout-directive' },] },\n];\n/** @nocollapse */\nLayoutDirective.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"] },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleUtils\"] },\n    { type: LayoutStyleBuilder, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }] },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"MediaMarshaller\"] }\n];\nclass DefaultLayoutDirective extends LayoutDirective {\n    constructor() {\n        super(...arguments);\n        this.inputs = inputs;\n    }\n}\nDefaultLayoutDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector, inputs },] },\n];\n/** @type {?} */\nconst layoutCache = new Map();\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst CLEAR_MARGIN_CSS = {\n    'margin-left': null,\n    'margin-right': null,\n    'margin-top': null,\n    'margin-bottom': null\n};\nclass LayoutGapStyleBuilder extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleBuilder\"] {\n    /**\n     * @param {?} _styler\n     */\n    constructor(_styler) {\n        super();\n        this._styler = _styler;\n    }\n    /**\n     * @param {?} gapValue\n     * @param {?} parent\n     * @return {?}\n     */\n    buildStyles(gapValue, parent) {\n        if (gapValue.endsWith(GRID_SPECIFIER)) {\n            gapValue = gapValue.slice(0, gapValue.indexOf(GRID_SPECIFIER));\n            // Add the margin to the host element\n            return buildGridMargin(gapValue, parent.directionality);\n        }\n        else {\n            return {};\n        }\n    }\n    /**\n     * @param {?} gapValue\n     * @param {?} _styles\n     * @param {?} parent\n     * @return {?}\n     */\n    sideEffect(gapValue, _styles, parent) {\n        /** @type {?} */\n        const items = parent.items;\n        if (gapValue.endsWith(GRID_SPECIFIER)) {\n            gapValue = gapValue.slice(0, gapValue.indexOf(GRID_SPECIFIER));\n            // For each `element` children, set the padding\n            /** @type {?} */\n            const paddingStyles = buildGridPadding(gapValue, parent.directionality);\n            this._styler.applyStyleToElements(paddingStyles, parent.items);\n        }\n        else {\n            /** @type {?} */\n            const lastItem = (/** @type {?} */ (items.pop()));\n            // For each `element` children EXCEPT the last,\n            // set the margin right/bottom styles...\n            /** @type {?} */\n            const gapCss = buildGapCSS(gapValue, parent);\n            this._styler.applyStyleToElements(gapCss, items);\n            // Clear all gaps for all visible elements\n            this._styler.applyStyleToElements(CLEAR_MARGIN_CSS, [lastItem]);\n        }\n    }\n}\nLayoutGapStyleBuilder.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */\nLayoutGapStyleBuilder.ctorParameters = () => [\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleUtils\"] }\n];\n/** @nocollapse */ LayoutGapStyleBuilder.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({ factory: function LayoutGapStyleBuilder_Factory() { return new LayoutGapStyleBuilder(Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleUtils\"])); }, token: LayoutGapStyleBuilder, providedIn: \"root\" });\n/** @type {?} */\nconst inputs$1 = [\n    'fxLayoutGap', 'fxLayoutGap.xs', 'fxLayoutGap.sm', 'fxLayoutGap.md',\n    'fxLayoutGap.lg', 'fxLayoutGap.xl', 'fxLayoutGap.lt-sm', 'fxLayoutGap.lt-md',\n    'fxLayoutGap.lt-lg', 'fxLayoutGap.lt-xl', 'fxLayoutGap.gt-xs', 'fxLayoutGap.gt-sm',\n    'fxLayoutGap.gt-md', 'fxLayoutGap.gt-lg'\n];\n/** @type {?} */\nconst selector$1 = `\n  [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md],\n  [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md],\n  [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm],\n  [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]\n`;\n/**\n * 'layout-padding' styling directive\n *  Defines padding of child elements in a layout container\n */\nclass LayoutGapDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"BaseDirective2\"] {\n    /**\n     * @param {?} elRef\n     * @param {?} zone\n     * @param {?} directionality\n     * @param {?} styleUtils\n     * @param {?} styleBuilder\n     * @param {?} marshal\n     */\n    constructor(elRef, zone, directionality, styleUtils, styleBuilder, marshal) {\n        super(elRef, styleBuilder, styleUtils, marshal);\n        this.elRef = elRef;\n        this.zone = zone;\n        this.directionality = directionality;\n        this.styleUtils = styleUtils;\n        this.styleBuilder = styleBuilder;\n        this.marshal = marshal;\n        this.layout = 'row'; // default flex-direction\n        // default flex-direction\n        this.DIRECTIVE_KEY = 'layout-gap';\n        this.observerSubject = new rxjs__WEBPACK_IMPORTED_MODULE_3__[\"Subject\"]();\n        /** @type {?} */\n        const extraTriggers = [this.directionality.change, this.observerSubject.asObservable()];\n        this.init(extraTriggers);\n        this.marshal\n            .trackValue(this.nativeElement, 'layout')\n            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"takeUntil\"])(this.destroySubject))\n            .subscribe(this.onLayoutChange.bind(this));\n    }\n    /**\n     * Special accessor to query for all child 'element' nodes regardless of type, class, etc\n     * @protected\n     * @return {?}\n     */\n    get childrenNodes() {\n        /** @type {?} */\n        const obj = this.nativeElement.children;\n        /** @type {?} */\n        const buffer = [];\n        // iterate backwards ensuring that length is an UInt32\n        for (let i = obj.length; i--;) {\n            buffer[i] = obj[i];\n        }\n        return buffer;\n    }\n    // *********************************************\n    // Lifecycle Methods\n    // *********************************************\n    /**\n     * @return {?}\n     */\n    ngAfterContentInit() {\n        this.buildChildObservable();\n        this.triggerUpdate();\n    }\n    /**\n     * @return {?}\n     */\n    ngOnDestroy() {\n        super.ngOnDestroy();\n        if (this.observer) {\n            this.observer.disconnect();\n        }\n    }\n    // *********************************************\n    // Protected methods\n    // *********************************************\n    /**\n     * Cache the parent container 'flex-direction' and update the 'margin' styles\n     * @protected\n     * @param {?} matcher\n     * @return {?}\n     */\n    onLayoutChange(matcher) {\n        /** @type {?} */\n        const layout = matcher.value;\n        // Make sure to filter out 'wrap' option\n        /** @type {?} */\n        const direction = layout.split(' ');\n        this.layout = direction[0];\n        if (!LAYOUT_VALUES.find((/**\n         * @param {?} x\n         * @return {?}\n         */\n        x => x === this.layout))) {\n            this.layout = 'row';\n        }\n        this.triggerUpdate();\n    }\n    /**\n     *\n     * @protected\n     * @param {?} value\n     * @return {?}\n     */\n    updateWithValue(value) {\n        // Gather all non-hidden Element nodes\n        /** @type {?} */\n        const items = this.childrenNodes\n            .filter((/**\n         * @param {?} el\n         * @return {?}\n         */\n        el => el.nodeType === 1 && this.willDisplay(el)))\n            .sort((/**\n         * @param {?} a\n         * @param {?} b\n         * @return {?}\n         */\n        (a, b) => {\n            /** @type {?} */\n            const orderA = +this.styler.lookupStyle(a, 'order');\n            /** @type {?} */\n            const orderB = +this.styler.lookupStyle(b, 'order');\n            if (isNaN(orderA) || isNaN(orderB) || orderA === orderB) {\n                return 0;\n            }\n            else {\n                return orderA > orderB ? 1 : -1;\n            }\n        }));\n        if (items.length > 0) {\n            /** @type {?} */\n            const directionality = this.directionality.value;\n            /** @type {?} */\n            const layout = this.layout;\n            if (layout === 'row' && directionality === 'rtl') {\n                this.styleCache = layoutGapCacheRowRtl;\n            }\n            else if (layout === 'row' && directionality !== 'rtl') {\n                this.styleCache = layoutGapCacheRowLtr;\n            }\n            else if (layout === 'column' && directionality === 'rtl') {\n                this.styleCache = layoutGapCacheColumnRtl;\n            }\n            else if (layout === 'column' && directionality !== 'rtl') {\n                this.styleCache = layoutGapCacheColumnLtr;\n            }\n            this.addStyles(value, { directionality, items, layout });\n        }\n    }\n    /**\n     * We need to override clearStyles because in most cases mru isn't populated\n     * @protected\n     * @return {?}\n     */\n    clearStyles() {\n        /** @type {?} */\n        const gridMode = Object.keys(this.mru).length > 0;\n        /** @type {?} */\n        const childrenStyle = gridMode ? 'padding' :\n            getMarginType(this.directionality.value, this.layout);\n        // If there are styles on the parent remove them\n        if (gridMode) {\n            super.clearStyles();\n        }\n        // Then remove the children styles too\n        this.styleUtils.applyStyleToElements({ [childrenStyle]: '' }, this.childrenNodes);\n    }\n    /**\n     * Determine if an element will show or hide based on current activation\n     * @protected\n     * @param {?} source\n     * @return {?}\n     */\n    willDisplay(source) {\n        /** @type {?} */\n        const value = this.marshal.getValue(source, 'show-hide');\n        return value === true ||\n            (value === undefined && this.styleUtils.lookupStyle(source, 'display') !== 'none');\n    }\n    /**\n     * @protected\n     * @return {?}\n     */\n    buildChildObservable() {\n        this.zone.runOutsideAngular((/**\n         * @return {?}\n         */\n        () => {\n            if (typeof MutationObserver !== 'undefined') {\n                this.observer = new MutationObserver((/**\n                 * @param {?} mutations\n                 * @return {?}\n                 */\n                (mutations) => {\n                    /** @type {?} */\n                    const validatedChanges = (/**\n                     * @param {?} it\n                     * @return {?}\n                     */\n                    (it) => {\n                        return (it.addedNodes && it.addedNodes.length > 0) ||\n                            (it.removedNodes && it.removedNodes.length > 0);\n                    });\n                    // update gap styles only for child 'added' or 'removed' events\n                    if (mutations.some(validatedChanges)) {\n                        this.observerSubject.next();\n                    }\n                }));\n                this.observer.observe(this.nativeElement, { childList: true });\n            }\n        }));\n    }\n}\nLayoutGapDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: 'layout-gap-directive' },] },\n];\n/** @nocollapse */\nLayoutGapDirective.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgZone\"] },\n    { type: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_2__[\"Directionality\"] },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleUtils\"] },\n    { type: LayoutGapStyleBuilder, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }] },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"MediaMarshaller\"] }\n];\nclass DefaultLayoutGapDirective extends LayoutGapDirective {\n    constructor() {\n        super(...arguments);\n        this.inputs = inputs$1;\n    }\n}\nDefaultLayoutGapDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: selector$1, inputs: inputs$1 },] },\n];\n/** @type {?} */\nconst layoutGapCacheRowRtl = new Map();\n/** @type {?} */\nconst layoutGapCacheColumnRtl = new Map();\n/** @type {?} */\nconst layoutGapCacheRowLtr = new Map();\n/** @type {?} */\nconst layoutGapCacheColumnLtr = new Map();\n/** @type {?} */\nconst GRID_SPECIFIER = ' grid';\n/**\n * @param {?} value\n * @param {?} directionality\n * @return {?}\n */\nfunction buildGridPadding(value, directionality) {\n    /** @type {?} */\n    let paddingTop = '0px';\n    /** @type {?} */\n    let paddingRight = '0px';\n    /** @type {?} */\n    let paddingBottom = value;\n    /** @type {?} */\n    let paddingLeft = '0px';\n    if (directionality === 'rtl') {\n        paddingLeft = value;\n    }\n    else {\n        paddingRight = value;\n    }\n    return { 'padding': `${paddingTop} ${paddingRight} ${paddingBottom} ${paddingLeft}` };\n}\n/**\n * @param {?} value\n * @param {?} directionality\n * @return {?}\n */\nfunction buildGridMargin(value, directionality) {\n    /** @type {?} */\n    let marginTop = '0px';\n    /** @type {?} */\n    let marginRight = '0px';\n    /** @type {?} */\n    let marginBottom = '-' + value;\n    /** @type {?} */\n    let marginLeft = '0px';\n    if (directionality === 'rtl') {\n        marginLeft = '-' + value;\n    }\n    else {\n        marginRight = '-' + value;\n    }\n    return { 'margin': `${marginTop} ${marginRight} ${marginBottom} ${marginLeft}` };\n}\n/**\n * @param {?} directionality\n * @param {?} layout\n * @return {?}\n */\nfunction getMarginType(directionality, layout) {\n    switch (layout) {\n        case 'column':\n            return 'margin-bottom';\n        case 'column-reverse':\n            return 'margin-top';\n        case 'row':\n            return directionality === 'rtl' ? 'margin-left' : 'margin-right';\n        case 'row-reverse':\n            return directionality === 'rtl' ? 'margin-right' : 'margin-left';\n        default:\n            return directionality === 'rtl' ? 'margin-left' : 'margin-right';\n    }\n}\n/**\n * @param {?} gapValue\n * @param {?} parent\n * @return {?}\n */\nfunction buildGapCSS(gapValue, parent) {\n    /** @type {?} */\n    const key = getMarginType(parent.directionality, parent.layout);\n    /** @type {?} */\n    const margins = Object.assign({}, CLEAR_MARGIN_CSS);\n    margins[key] = gapValue;\n    return margins;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * Extends an object with the *enumerable* and *own* properties of one or more source objects,\n * similar to Object.assign.\n *\n * @param {?} dest The object which will have properties copied to it.\n * @param {...?} sources The source objects from which properties will be copied.\n * @return {?}\n */\nfunction extendObject(dest, ...sources) {\n    if (dest == null) {\n        throw TypeError('Cannot convert undefined or null to object');\n    }\n    for (let source of sources) {\n        if (source != null) {\n            for (let key in source) {\n                if (source.hasOwnProperty(key)) {\n                    dest[key] = source[key];\n                }\n            }\n        }\n    }\n    return dest;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass FlexStyleBuilder extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleBuilder\"] {\n    /**\n     * @param {?} layoutConfig\n     */\n    constructor(layoutConfig) {\n        super();\n        this.layoutConfig = layoutConfig;\n    }\n    /**\n     * @param {?} input\n     * @param {?} parent\n     * @return {?}\n     */\n    buildStyles(input, parent) {\n        let [grow, shrink, ...basisParts] = input.split(' ');\n        /** @type {?} */\n        let basis = basisParts.join(' ');\n        // The flex-direction of this element's flex container. Defaults to 'row'.\n        /** @type {?} */\n        const direction = (parent.direction.indexOf('column') > -1) ? 'column' : 'row';\n        /** @type {?} */\n        const max = isFlowHorizontal(direction) ? 'max-width' : 'max-height';\n        /** @type {?} */\n        const min = isFlowHorizontal(direction) ? 'min-width' : 'min-height';\n        /** @type {?} */\n        const hasCalc = String(basis).indexOf('calc') > -1;\n        /** @type {?} */\n        const usingCalc = hasCalc || (basis === 'auto');\n        /** @type {?} */\n        const isPercent = String(basis).indexOf('%') > -1 && !hasCalc;\n        /** @type {?} */\n        const hasUnits = String(basis).indexOf('px') > -1 || String(basis).indexOf('rem') > -1 ||\n            String(basis).indexOf('em') > -1 || String(basis).indexOf('vw') > -1 ||\n            String(basis).indexOf('vh') > -1;\n        /** @type {?} */\n        let isValue = (hasCalc || hasUnits);\n        grow = (grow == '0') ? 0 : grow;\n        shrink = (shrink == '0') ? 0 : shrink;\n        // make box inflexible when shrink and grow are both zero\n        // should not set a min when the grow is zero\n        // should not set a max when the shrink is zero\n        /** @type {?} */\n        const isFixed = !grow && !shrink;\n        /** @type {?} */\n        let css = {};\n        // flex-basis allows you to specify the initial/starting main-axis size of the element,\n        // before anything else is computed. It can either be a percentage or an absolute value.\n        // It is, however, not the breaking point for flex-grow/shrink properties\n        //\n        // flex-grow can be seen as this:\n        //   0: Do not stretch. Either size to element's content width, or obey 'flex-basis'.\n        //   1: (Default value). Stretch; will be the same size to all other flex items on\n        //       the same row since they have a default value of 1.\n        //   ≥2 (integer n): Stretch. Will be n times the size of other elements\n        //      with 'flex-grow: 1' on the same row.\n        // Use `null` to clear existing styles.\n        /** @type {?} */\n        const clearStyles = {\n            'max-width': null,\n            'max-height': null,\n            'min-width': null,\n            'min-height': null\n        };\n        switch (basis || '') {\n            case '':\n                /** @type {?} */\n                const useColumnBasisZero = this.layoutConfig.useColumnBasisZero !== false;\n                basis = direction === 'row' ? '0%' : (useColumnBasisZero ? '0.000000001px' : 'auto');\n                break;\n            case 'initial': // default\n            case 'nogrow':\n                grow = 0;\n                basis = 'auto';\n                break;\n            case 'grow':\n                basis = '100%';\n                break;\n            case 'noshrink':\n                shrink = 0;\n                basis = 'auto';\n                break;\n            case 'auto':\n                break;\n            case 'none':\n                grow = 0;\n                shrink = 0;\n                basis = 'auto';\n                break;\n            default:\n                // Defaults to percentage sizing unless `px` is explicitly set\n                if (!isValue && !isPercent && !isNaN((/** @type {?} */ (basis)))) {\n                    basis = basis + '%';\n                }\n                // Fix for issue 280\n                if (basis === '0%') {\n                    isValue = true;\n                }\n                if (basis === '0px') {\n                    basis = '0%';\n                }\n                // fix issue #5345\n                if (hasCalc) {\n                    css = extendObject(clearStyles, {\n                        'flex-grow': grow,\n                        'flex-shrink': shrink,\n                        'flex-basis': isValue ? basis : '100%'\n                    });\n                }\n                else {\n                    css = extendObject(clearStyles, {\n                        'flex': `${grow} ${shrink} ${isValue ? basis : '100%'}`\n                    });\n                }\n                break;\n        }\n        if (!(css['flex'] || css['flex-grow'])) {\n            if (hasCalc) {\n                css = extendObject(clearStyles, {\n                    'flex-grow': grow,\n                    'flex-shrink': shrink,\n                    'flex-basis': basis\n                });\n            }\n            else {\n                css = extendObject(clearStyles, {\n                    'flex': `${grow} ${shrink} ${basis}`\n                });\n            }\n        }\n        // Fix for issues 277, 534, and 728\n        if (basis !== '0%' && basis !== '0px' && basis !== '0.000000001px' && basis !== 'auto') {\n            css[min] = isFixed || (isValue && grow) ? basis : null;\n            css[max] = isFixed || (!usingCalc && shrink) ? basis : null;\n        }\n        // Fix for issue 528\n        if (!css[min] && !css[max]) {\n            if (hasCalc) {\n                css = extendObject(clearStyles, {\n                    'flex-grow': grow,\n                    'flex-shrink': shrink,\n                    'flex-basis': basis\n                });\n            }\n            else {\n                css = extendObject(clearStyles, {\n                    'flex': `${grow} ${shrink} ${basis}`\n                });\n            }\n        }\n        else {\n            // Fix for issue 660\n            if (parent.hasWrap) {\n                css[hasCalc ? 'flex-basis' : 'flex'] = css[max] ?\n                    (hasCalc ? css[max] : `${grow} ${shrink} ${css[max]}`) :\n                    (hasCalc ? css[min] : `${grow} ${shrink} ${css[min]}`);\n            }\n        }\n        return (/** @type {?} */ (extendObject(css, { 'box-sizing': 'border-box' })));\n    }\n}\nFlexStyleBuilder.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */\nFlexStyleBuilder.ctorParameters = () => [\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"LAYOUT_CONFIG\"],] }] }\n];\n/** @nocollapse */ FlexStyleBuilder.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({ factory: function FlexStyleBuilder_Factory() { return new FlexStyleBuilder(Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"LAYOUT_CONFIG\"])); }, token: FlexStyleBuilder, providedIn: \"root\" });\n/** @type {?} */\nconst inputs$2 = [\n    'fxFlex', 'fxFlex.xs', 'fxFlex.sm', 'fxFlex.md',\n    'fxFlex.lg', 'fxFlex.xl', 'fxFlex.lt-sm', 'fxFlex.lt-md',\n    'fxFlex.lt-lg', 'fxFlex.lt-xl', 'fxFlex.gt-xs', 'fxFlex.gt-sm',\n    'fxFlex.gt-md', 'fxFlex.gt-lg'\n];\n/** @type {?} */\nconst selector$2 = `\n  [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md],\n  [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md],\n  [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm],\n  [fxFlex.gt-md], [fxFlex.gt-lg]\n`;\n/**\n * Directive to control the size of a flex item using flex-basis, flex-grow, and flex-shrink.\n * Corresponds to the css `flex` shorthand property.\n *\n * @see https://css-tricks.com/snippets/css/a-guide-to-flexbox/\n */\nclass FlexDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"BaseDirective2\"] {\n    /**\n     * @param {?} elRef\n     * @param {?} styleUtils\n     * @param {?} layoutConfig\n     * @param {?} styleBuilder\n     * @param {?} marshal\n     */\n    constructor(elRef, styleUtils, layoutConfig, styleBuilder, marshal) {\n        super(elRef, styleBuilder, styleUtils, marshal);\n        this.elRef = elRef;\n        this.styleUtils = styleUtils;\n        this.layoutConfig = layoutConfig;\n        this.styleBuilder = styleBuilder;\n        this.marshal = marshal;\n        this.DIRECTIVE_KEY = 'flex';\n        this.direction = '';\n        this.wrap = false;\n        this.flexGrow = '1';\n        this.flexShrink = '1';\n        this.init();\n        if (this.parentElement) {\n            this.marshal.trackValue(this.parentElement, 'layout')\n                .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"takeUntil\"])(this.destroySubject))\n                .subscribe(this.onLayoutChange.bind(this));\n            this.marshal.trackValue(this.nativeElement, 'layout-align')\n                .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"takeUntil\"])(this.destroySubject))\n                .subscribe(this.triggerReflow.bind(this));\n        }\n    }\n    /**\n     * @return {?}\n     */\n    get shrink() { return this.flexShrink; }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    set shrink(value) {\n        this.flexShrink = value || '1';\n        this.triggerReflow();\n    }\n    /**\n     * @return {?}\n     */\n    get grow() { return this.flexGrow; }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    set grow(value) {\n        this.flexGrow = value || '1';\n        this.triggerReflow();\n    }\n    /**\n     * Caches the parent container's 'flex-direction' and updates the element's style.\n     * Used as a handler for layout change events from the parent flex container.\n     * @protected\n     * @param {?} matcher\n     * @return {?}\n     */\n    onLayoutChange(matcher) {\n        /** @type {?} */\n        const layout = matcher.value;\n        /** @type {?} */\n        const layoutParts = layout.split(' ');\n        this.direction = layoutParts[0];\n        this.wrap = layoutParts[1] !== undefined && layoutParts[1] === 'wrap';\n        this.triggerUpdate();\n    }\n    /**\n     * Input to this is exclusively the basis input value\n     * @protected\n     * @param {?} value\n     * @return {?}\n     */\n    updateWithValue(value) {\n        /** @type {?} */\n        const addFlexToParent = this.layoutConfig.addFlexToParent !== false;\n        if (!this.direction) {\n            this.direction = this.getFlexFlowDirection((/** @type {?} */ (this.parentElement)), addFlexToParent);\n        }\n        /** @type {?} */\n        const direction = this.direction;\n        /** @type {?} */\n        const isHorizontal = direction.startsWith('row');\n        /** @type {?} */\n        const hasWrap = this.wrap;\n        if (isHorizontal && hasWrap) {\n            this.styleCache = flexRowWrapCache;\n        }\n        else if (isHorizontal && !hasWrap) {\n            this.styleCache = flexRowCache;\n        }\n        else if (!isHorizontal && hasWrap) {\n            this.styleCache = flexColumnWrapCache;\n        }\n        else if (!isHorizontal && !hasWrap) {\n            this.styleCache = flexColumnCache;\n        }\n        /** @type {?} */\n        const basis = String(value).replace(';', '');\n        /** @type {?} */\n        const parts = Object(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"validateBasis\"])(basis, this.flexGrow, this.flexShrink);\n        this.addStyles(parts.join(' '), { direction, hasWrap });\n    }\n    /**\n     * Trigger a style reflow, usually based on a shrink/grow input event\n     * @protected\n     * @return {?}\n     */\n    triggerReflow() {\n        /** @type {?} */\n        const activatedValue = this.activatedValue;\n        if (activatedValue !== undefined) {\n            /** @type {?} */\n            const parts = Object(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"validateBasis\"])(activatedValue + '', this.flexGrow, this.flexShrink);\n            this.marshal.updateElement(this.nativeElement, this.DIRECTIVE_KEY, parts.join(' '));\n        }\n    }\n}\nFlexDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: 'flex-directive' },] },\n];\n/** @nocollapse */\nFlexDirective.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"] },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleUtils\"] },\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"LAYOUT_CONFIG\"],] }] },\n    { type: FlexStyleBuilder },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"MediaMarshaller\"] }\n];\nFlexDirective.propDecorators = {\n    shrink: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"], args: ['fxShrink',] }],\n    grow: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"], args: ['fxGrow',] }]\n};\nclass DefaultFlexDirective extends FlexDirective {\n    constructor() {\n        super(...arguments);\n        this.inputs = inputs$2;\n    }\n}\nDefaultFlexDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ inputs: inputs$2, selector: selector$2 },] },\n];\n/** @type {?} */\nconst flexRowCache = new Map();\n/** @type {?} */\nconst flexColumnCache = new Map();\n/** @type {?} */\nconst flexRowWrapCache = new Map();\n/** @type {?} */\nconst flexColumnWrapCache = new Map();\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass FlexOrderStyleBuilder extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleBuilder\"] {\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    buildStyles(value) {\n        return { order: (value && parseInt(value, 10)) || '' };\n    }\n}\nFlexOrderStyleBuilder.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */ FlexOrderStyleBuilder.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({ factory: function FlexOrderStyleBuilder_Factory() { return new FlexOrderStyleBuilder(); }, token: FlexOrderStyleBuilder, providedIn: \"root\" });\n/** @type {?} */\nconst inputs$3 = [\n    'fxFlexOrder', 'fxFlexOrder.xs', 'fxFlexOrder.sm', 'fxFlexOrder.md',\n    'fxFlexOrder.lg', 'fxFlexOrder.xl', 'fxFlexOrder.lt-sm', 'fxFlexOrder.lt-md',\n    'fxFlexOrder.lt-lg', 'fxFlexOrder.lt-xl', 'fxFlexOrder.gt-xs', 'fxFlexOrder.gt-sm',\n    'fxFlexOrder.gt-md', 'fxFlexOrder.gt-lg'\n];\n/** @type {?} */\nconst selector$3 = `\n  [fxFlexOrder], [fxFlexOrder.xs], [fxFlexOrder.sm], [fxFlexOrder.md],\n  [fxFlexOrder.lg], [fxFlexOrder.xl], [fxFlexOrder.lt-sm], [fxFlexOrder.lt-md],\n  [fxFlexOrder.lt-lg], [fxFlexOrder.lt-xl], [fxFlexOrder.gt-xs], [fxFlexOrder.gt-sm],\n  [fxFlexOrder.gt-md], [fxFlexOrder.gt-lg]\n`;\n/**\n * 'flex-order' flexbox styling directive\n * Configures the positional ordering of the element in a sorted layout container\n * @see https://css-tricks.com/almanac/properties/o/order/\n */\nclass FlexOrderDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"BaseDirective2\"] {\n    /**\n     * @param {?} elRef\n     * @param {?} styleUtils\n     * @param {?} styleBuilder\n     * @param {?} marshal\n     */\n    constructor(elRef, styleUtils, styleBuilder, marshal) {\n        super(elRef, styleBuilder, styleUtils, marshal);\n        this.elRef = elRef;\n        this.styleUtils = styleUtils;\n        this.styleBuilder = styleBuilder;\n        this.marshal = marshal;\n        this.DIRECTIVE_KEY = 'flex-order';\n        this.styleCache = flexOrderCache;\n        this.init();\n    }\n}\nFlexOrderDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: 'flex-order-directive' },] },\n];\n/** @nocollapse */\nFlexOrderDirective.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"] },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleUtils\"] },\n    { type: FlexOrderStyleBuilder, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }] },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"MediaMarshaller\"] }\n];\n/** @type {?} */\nconst flexOrderCache = new Map();\nclass DefaultFlexOrderDirective extends FlexOrderDirective {\n    constructor() {\n        super(...arguments);\n        this.inputs = inputs$3;\n    }\n}\nDefaultFlexOrderDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: selector$3, inputs: inputs$3 },] },\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass FlexOffsetStyleBuilder extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleBuilder\"] {\n    /**\n     * @param {?} offset\n     * @param {?} parent\n     * @return {?}\n     */\n    buildStyles(offset, parent) {\n        if (offset === '') {\n            offset = '0';\n        }\n        /** @type {?} */\n        const isPercent = String(offset).indexOf('%') > -1;\n        /** @type {?} */\n        const isPx = String(offset).indexOf('px') > -1;\n        if (!isPx && !isPercent && !isNaN(+offset)) {\n            offset = offset + '%';\n        }\n        /** @type {?} */\n        const horizontalLayoutKey = parent.isRtl ? 'margin-right' : 'margin-left';\n        /** @type {?} */\n        const styles = isFlowHorizontal(parent.layout) ?\n            { [horizontalLayoutKey]: `${offset}` } : { 'margin-top': `${offset}` };\n        return styles;\n    }\n}\nFlexOffsetStyleBuilder.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */ FlexOffsetStyleBuilder.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({ factory: function FlexOffsetStyleBuilder_Factory() { return new FlexOffsetStyleBuilder(); }, token: FlexOffsetStyleBuilder, providedIn: \"root\" });\n/** @type {?} */\nconst inputs$4 = [\n    'fxFlexOffset', 'fxFlexOffset.xs', 'fxFlexOffset.sm', 'fxFlexOffset.md',\n    'fxFlexOffset.lg', 'fxFlexOffset.xl', 'fxFlexOffset.lt-sm', 'fxFlexOffset.lt-md',\n    'fxFlexOffset.lt-lg', 'fxFlexOffset.lt-xl', 'fxFlexOffset.gt-xs', 'fxFlexOffset.gt-sm',\n    'fxFlexOffset.gt-md', 'fxFlexOffset.gt-lg'\n];\n/** @type {?} */\nconst selector$4 = `\n  [fxFlexOffset], [fxFlexOffset.xs], [fxFlexOffset.sm], [fxFlexOffset.md],\n  [fxFlexOffset.lg], [fxFlexOffset.xl], [fxFlexOffset.lt-sm], [fxFlexOffset.lt-md],\n  [fxFlexOffset.lt-lg], [fxFlexOffset.lt-xl], [fxFlexOffset.gt-xs], [fxFlexOffset.gt-sm],\n  [fxFlexOffset.gt-md], [fxFlexOffset.gt-lg]\n`;\n/**\n * 'flex-offset' flexbox styling directive\n * Configures the 'margin-left' of the element in a layout container\n */\nclass FlexOffsetDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"BaseDirective2\"] {\n    /**\n     * @param {?} elRef\n     * @param {?} directionality\n     * @param {?} styleBuilder\n     * @param {?} marshal\n     * @param {?} styler\n     */\n    constructor(elRef, directionality, styleBuilder, marshal, styler) {\n        super(elRef, styleBuilder, styler, marshal);\n        this.elRef = elRef;\n        this.directionality = directionality;\n        this.styleBuilder = styleBuilder;\n        this.marshal = marshal;\n        this.styler = styler;\n        this.DIRECTIVE_KEY = 'flex-offset';\n        this.init([this.directionality.change]);\n        // Parent DOM `layout-gap` with affect the nested child with `flex-offset`\n        if (this.parentElement) {\n            this.marshal\n                .trackValue(this.parentElement, 'layout-gap')\n                .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"takeUntil\"])(this.destroySubject))\n                .subscribe(this.triggerUpdate.bind(this));\n        }\n    }\n    // *********************************************\n    // Protected methods\n    // *********************************************\n    /**\n     * Using the current fxFlexOffset value, update the inline CSS\n     * NOTE: this will assign `margin-left` if the parent flex-direction == 'row',\n     *       otherwise `margin-top` is used for the offset.\n     * @protected\n     * @param {?=} value\n     * @return {?}\n     */\n    updateWithValue(value = '') {\n        // The flex-direction of this element's flex container. Defaults to 'row'.\n        /** @type {?} */\n        const layout = this.getFlexFlowDirection((/** @type {?} */ (this.parentElement)), true);\n        /** @type {?} */\n        const isRtl = this.directionality.value === 'rtl';\n        if (layout === 'row' && isRtl) {\n            this.styleCache = flexOffsetCacheRowRtl;\n        }\n        else if (layout === 'row' && !isRtl) {\n            this.styleCache = flexOffsetCacheRowLtr;\n        }\n        else if (layout === 'column' && isRtl) {\n            this.styleCache = flexOffsetCacheColumnRtl;\n        }\n        else if (layout === 'column' && !isRtl) {\n            this.styleCache = flexOffsetCacheColumnLtr;\n        }\n        this.addStyles(value + '', { layout, isRtl });\n    }\n}\nFlexOffsetDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: 'flex-offset-directive' },] },\n];\n/** @nocollapse */\nFlexOffsetDirective.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"] },\n    { type: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_2__[\"Directionality\"] },\n    { type: FlexOffsetStyleBuilder, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }] },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"MediaMarshaller\"] },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleUtils\"] }\n];\nclass DefaultFlexOffsetDirective extends FlexOffsetDirective {\n    constructor() {\n        super(...arguments);\n        this.inputs = inputs$4;\n    }\n}\nDefaultFlexOffsetDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: selector$4, inputs: inputs$4 },] },\n];\n/** @type {?} */\nconst flexOffsetCacheRowRtl = new Map();\n/** @type {?} */\nconst flexOffsetCacheColumnRtl = new Map();\n/** @type {?} */\nconst flexOffsetCacheRowLtr = new Map();\n/** @type {?} */\nconst flexOffsetCacheColumnLtr = new Map();\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass FlexAlignStyleBuilder extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleBuilder\"] {\n    /**\n     * @param {?} input\n     * @return {?}\n     */\n    buildStyles(input) {\n        input = input || 'stretch';\n        /** @type {?} */\n        const styles = {};\n        // Cross-axis\n        switch (input) {\n            case 'start':\n                styles['align-self'] = 'flex-start';\n                break;\n            case 'end':\n                styles['align-self'] = 'flex-end';\n                break;\n            default:\n                styles['align-self'] = input;\n                break;\n        }\n        return styles;\n    }\n}\nFlexAlignStyleBuilder.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */ FlexAlignStyleBuilder.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({ factory: function FlexAlignStyleBuilder_Factory() { return new FlexAlignStyleBuilder(); }, token: FlexAlignStyleBuilder, providedIn: \"root\" });\n/** @type {?} */\nconst inputs$5 = [\n    'fxFlexAlign', 'fxFlexAlign.xs', 'fxFlexAlign.sm', 'fxFlexAlign.md',\n    'fxFlexAlign.lg', 'fxFlexAlign.xl', 'fxFlexAlign.lt-sm', 'fxFlexAlign.lt-md',\n    'fxFlexAlign.lt-lg', 'fxFlexAlign.lt-xl', 'fxFlexAlign.gt-xs', 'fxFlexAlign.gt-sm',\n    'fxFlexAlign.gt-md', 'fxFlexAlign.gt-lg'\n];\n/** @type {?} */\nconst selector$5 = `\n  [fxFlexAlign], [fxFlexAlign.xs], [fxFlexAlign.sm], [fxFlexAlign.md],\n  [fxFlexAlign.lg], [fxFlexAlign.xl], [fxFlexAlign.lt-sm], [fxFlexAlign.lt-md],\n  [fxFlexAlign.lt-lg], [fxFlexAlign.lt-xl], [fxFlexAlign.gt-xs], [fxFlexAlign.gt-sm],\n  [fxFlexAlign.gt-md], [fxFlexAlign.gt-lg]\n`;\n/**\n * 'flex-align' flexbox styling directive\n * Allows element-specific overrides for cross-axis alignments in a layout container\n * @see https://css-tricks.com/almanac/properties/a/align-self/\n */\nclass FlexAlignDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"BaseDirective2\"] {\n    /**\n     * @param {?} elRef\n     * @param {?} styleUtils\n     * @param {?} styleBuilder\n     * @param {?} marshal\n     */\n    constructor(elRef, styleUtils, styleBuilder, marshal) {\n        super(elRef, styleBuilder, styleUtils, marshal);\n        this.elRef = elRef;\n        this.styleUtils = styleUtils;\n        this.styleBuilder = styleBuilder;\n        this.marshal = marshal;\n        this.DIRECTIVE_KEY = 'flex-align';\n        this.styleCache = flexAlignCache;\n        this.init();\n    }\n}\nFlexAlignDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: 'flex-align-directive' },] },\n];\n/** @nocollapse */\nFlexAlignDirective.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"] },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleUtils\"] },\n    { type: FlexAlignStyleBuilder, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }] },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"MediaMarshaller\"] }\n];\n/** @type {?} */\nconst flexAlignCache = new Map();\nclass DefaultFlexAlignDirective extends FlexAlignDirective {\n    constructor() {\n        super(...arguments);\n        this.inputs = inputs$5;\n    }\n}\nDefaultFlexAlignDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: selector$5, inputs: inputs$5 },] },\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst FLEX_FILL_CSS = {\n    'margin': 0,\n    'width': '100%',\n    'height': '100%',\n    'min-width': '100%',\n    'min-height': '100%'\n};\nclass FlexFillStyleBuilder extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleBuilder\"] {\n    /**\n     * @param {?} _input\n     * @return {?}\n     */\n    buildStyles(_input) {\n        return FLEX_FILL_CSS;\n    }\n}\nFlexFillStyleBuilder.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */ FlexFillStyleBuilder.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({ factory: function FlexFillStyleBuilder_Factory() { return new FlexFillStyleBuilder(); }, token: FlexFillStyleBuilder, providedIn: \"root\" });\n/**\n * 'fxFill' flexbox styling directive\n *  Maximizes width and height of element in a layout container\n *\n *  NOTE: fxFill is NOT responsive API!!\n */\nclass FlexFillDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"BaseDirective2\"] {\n    /**\n     * @param {?} elRef\n     * @param {?} styleUtils\n     * @param {?} styleBuilder\n     * @param {?} marshal\n     */\n    constructor(elRef, styleUtils, styleBuilder, marshal) {\n        super(elRef, styleBuilder, styleUtils, marshal);\n        this.elRef = elRef;\n        this.styleUtils = styleUtils;\n        this.styleBuilder = styleBuilder;\n        this.marshal = marshal;\n        this.styleCache = flexFillCache;\n        this.addStyles('');\n    }\n}\nFlexFillDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: `[fxFill], [fxFlexFill]` },] },\n];\n/** @nocollapse */\nFlexFillDirective.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"] },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleUtils\"] },\n    { type: FlexFillStyleBuilder },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"MediaMarshaller\"] }\n];\n/** @type {?} */\nconst flexFillCache = new Map();\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass LayoutAlignStyleBuilder extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleBuilder\"] {\n    /**\n     * @param {?} align\n     * @param {?} parent\n     * @return {?}\n     */\n    buildStyles(align, parent) {\n        /** @type {?} */\n        const css = {};\n        const [mainAxis, crossAxis] = align.split(' ');\n        // Main axis\n        switch (mainAxis) {\n            case 'center':\n                css['justify-content'] = 'center';\n                break;\n            case 'space-around':\n                css['justify-content'] = 'space-around';\n                break;\n            case 'space-between':\n                css['justify-content'] = 'space-between';\n                break;\n            case 'space-evenly':\n                css['justify-content'] = 'space-evenly';\n                break;\n            case 'end':\n            case 'flex-end':\n                css['justify-content'] = 'flex-end';\n                break;\n            case 'start':\n            case 'flex-start':\n            default:\n                css['justify-content'] = 'flex-start'; // default main axis\n                break;\n        }\n        // Cross-axis\n        switch (crossAxis) {\n            case 'start':\n            case 'flex-start':\n                css['align-items'] = css['align-content'] = 'flex-start';\n                break;\n            case 'center':\n                css['align-items'] = css['align-content'] = 'center';\n                break;\n            case 'end':\n            case 'flex-end':\n                css['align-items'] = css['align-content'] = 'flex-end';\n                break;\n            case 'space-between':\n                css['align-content'] = 'space-between';\n                css['align-items'] = 'stretch';\n                break;\n            case 'space-around':\n                css['align-content'] = 'space-around';\n                css['align-items'] = 'stretch';\n                break;\n            case 'baseline':\n                css['align-content'] = 'stretch';\n                css['align-items'] = 'baseline';\n                break;\n            case 'stretch':\n            default: // 'stretch'\n                css['align-items'] = css['align-content'] = 'stretch'; // default cross axis\n                break;\n        }\n        return (/** @type {?} */ (extendObject(css, {\n            'display': parent.inline ? 'inline-flex' : 'flex',\n            'flex-direction': parent.layout,\n            'box-sizing': 'border-box',\n            'max-width': crossAxis === 'stretch' ?\n                !isFlowHorizontal(parent.layout) ? '100%' : null : null,\n            'max-height': crossAxis === 'stretch' ?\n                isFlowHorizontal(parent.layout) ? '100%' : null : null,\n        })));\n    }\n}\nLayoutAlignStyleBuilder.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */ LayoutAlignStyleBuilder.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({ factory: function LayoutAlignStyleBuilder_Factory() { return new LayoutAlignStyleBuilder(); }, token: LayoutAlignStyleBuilder, providedIn: \"root\" });\n/** @type {?} */\nconst inputs$6 = [\n    'fxLayoutAlign', 'fxLayoutAlign.xs', 'fxLayoutAlign.sm', 'fxLayoutAlign.md',\n    'fxLayoutAlign.lg', 'fxLayoutAlign.xl', 'fxLayoutAlign.lt-sm', 'fxLayoutAlign.lt-md',\n    'fxLayoutAlign.lt-lg', 'fxLayoutAlign.lt-xl', 'fxLayoutAlign.gt-xs', 'fxLayoutAlign.gt-sm',\n    'fxLayoutAlign.gt-md', 'fxLayoutAlign.gt-lg'\n];\n/** @type {?} */\nconst selector$6 = `\n  [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md],\n  [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md],\n  [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm],\n  [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]\n`;\n/**\n * 'layout-align' flexbox styling directive\n *  Defines positioning of child elements along main and cross axis in a layout container\n *  Optional values: {main-axis} values or {main-axis cross-axis} value pairs\n *\n * @see https://css-tricks.com/almanac/properties/j/justify-content/\n * @see https://css-tricks.com/almanac/properties/a/align-items/\n * @see https://css-tricks.com/almanac/properties/a/align-content/\n */\nclass LayoutAlignDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"BaseDirective2\"] {\n    // default inline value\n    /**\n     * @param {?} elRef\n     * @param {?} styleUtils\n     * @param {?} styleBuilder\n     * @param {?} marshal\n     */\n    constructor(elRef, styleUtils, styleBuilder, marshal) {\n        super(elRef, styleBuilder, styleUtils, marshal);\n        this.elRef = elRef;\n        this.styleUtils = styleUtils;\n        this.styleBuilder = styleBuilder;\n        this.marshal = marshal;\n        this.DIRECTIVE_KEY = 'layout-align';\n        this.layout = 'row'; // default flex-direction\n        // default flex-direction\n        this.inline = false; // default inline value\n        this.init();\n        this.marshal.trackValue(this.nativeElement, 'layout')\n            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"takeUntil\"])(this.destroySubject))\n            .subscribe(this.onLayoutChange.bind(this));\n    }\n    // *********************************************\n    // Protected methods\n    // *********************************************\n    /**\n     *\n     * @protected\n     * @param {?} value\n     * @return {?}\n     */\n    updateWithValue(value) {\n        /** @type {?} */\n        const layout = this.layout || 'row';\n        /** @type {?} */\n        const inline = this.inline;\n        if (layout === 'row' && inline) {\n            this.styleCache = layoutAlignHorizontalInlineCache;\n        }\n        else if (layout === 'row' && !inline) {\n            this.styleCache = layoutAlignHorizontalCache;\n        }\n        else if (layout === 'row-reverse' && inline) {\n            this.styleCache = layoutAlignHorizontalRevInlineCache;\n        }\n        else if (layout === 'row-reverse' && !inline) {\n            this.styleCache = layoutAlignHorizontalRevCache;\n        }\n        else if (layout === 'column' && inline) {\n            this.styleCache = layoutAlignVerticalInlineCache;\n        }\n        else if (layout === 'column' && !inline) {\n            this.styleCache = layoutAlignVerticalCache;\n        }\n        else if (layout === 'column-reverse' && inline) {\n            this.styleCache = layoutAlignVerticalRevInlineCache;\n        }\n        else if (layout === 'column-reverse' && !inline) {\n            this.styleCache = layoutAlignVerticalRevCache;\n        }\n        this.addStyles(value, { layout, inline });\n    }\n    /**\n     * Cache the parent container 'flex-direction' and update the 'flex' styles\n     * @protected\n     * @param {?} matcher\n     * @return {?}\n     */\n    onLayoutChange(matcher) {\n        /** @type {?} */\n        const layoutKeys = matcher.value.split(' ');\n        this.layout = layoutKeys[0];\n        this.inline = matcher.value.includes('inline');\n        if (!LAYOUT_VALUES.find((/**\n         * @param {?} x\n         * @return {?}\n         */\n        x => x === this.layout))) {\n            this.layout = 'row';\n        }\n        this.triggerUpdate();\n    }\n}\nLayoutAlignDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: 'layout-align-directive' },] },\n];\n/** @nocollapse */\nLayoutAlignDirective.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"] },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleUtils\"] },\n    { type: LayoutAlignStyleBuilder, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }] },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"MediaMarshaller\"] }\n];\nclass DefaultLayoutAlignDirective extends LayoutAlignDirective {\n    constructor() {\n        super(...arguments);\n        this.inputs = inputs$6;\n    }\n}\nDefaultLayoutAlignDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: selector$6, inputs: inputs$6 },] },\n];\n/** @type {?} */\nconst layoutAlignHorizontalCache = new Map();\n/** @type {?} */\nconst layoutAlignVerticalCache = new Map();\n/** @type {?} */\nconst layoutAlignHorizontalRevCache = new Map();\n/** @type {?} */\nconst layoutAlignVerticalRevCache = new Map();\n/** @type {?} */\nconst layoutAlignHorizontalInlineCache = new Map();\n/** @type {?} */\nconst layoutAlignVerticalInlineCache = new Map();\n/** @type {?} */\nconst layoutAlignHorizontalRevInlineCache = new Map();\n/** @type {?} */\nconst layoutAlignVerticalRevInlineCache = new Map();\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst ALL_DIRECTIVES = [\n    DefaultLayoutDirective,\n    DefaultLayoutGapDirective,\n    DefaultLayoutAlignDirective,\n    DefaultFlexOrderDirective,\n    DefaultFlexOffsetDirective,\n    FlexFillDirective,\n    DefaultFlexAlignDirective,\n    DefaultFlexDirective,\n    FlexDirective,\n    FlexAlignDirective,\n    FlexOffsetDirective,\n    FlexOrderDirective,\n    LayoutDirective,\n    LayoutAlignDirective,\n    LayoutGapDirective,\n];\n/**\n * *****************************************************************\n * Define module for the Flex API\n * *****************************************************************\n */\nclass FlexModule {\n}\nFlexModule.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"], args: [{\n                imports: [_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"CoreModule\"], _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_2__[\"BidiModule\"]],\n                declarations: [...ALL_DIRECTIVES],\n                exports: [...ALL_DIRECTIVES]\n            },] },\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n\n//# sourceMappingURL=flex.js.map\n\n\n/***/ }),\n\n/***/ \"./node_modules/@angular/flex-layout/esm2015/grid.js\":\n/*!***********************************************************!*\\\n  !*** ./node_modules/@angular/flex-layout/esm2015/grid.js ***!\n  \\***********************************************************/\n/*! exports provided: GridModule, ɵf2, ɵe2, ɵd2, ɵi2, ɵh2, ɵg2, ɵl2, ɵk2, ɵj2, ɵo2, ɵn2, ɵm2, ɵr2, ɵq2, ɵp2, ɵu2, ɵt2, ɵs2, ɵx2, ɵw2, ɵv2, ɵba2, ɵz2, ɵy2, ɵc2, ɵb2, ɵa2, ɵbd2, ɵbc2, ɵbb2, ɵbg2, ɵbf2, ɵbe2 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"GridModule\", function() { return GridModule; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵf2\", function() { return DefaultGridAlignColumnsDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵe2\", function() { return GridAlignColumnsDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵd2\", function() { return GridAlignColumnsStyleBuilder; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵi2\", function() { return DefaultGridAlignRowsDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵh2\", function() { return GridAlignRowsDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵg2\", function() { return GridAlignRowsStyleBuilder; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵl2\", function() { return DefaultGridAreaDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵk2\", function() { return GridAreaDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵj2\", function() { return GridAreaStyleBuilder; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵo2\", function() { return DefaultGridAreasDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵn2\", function() { return GridAreasDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵm2\", function() { return GridAreasStyleBuiler; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵr2\", function() { return DefaultGridAutoDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵq2\", function() { return GridAutoDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵp2\", function() { return GridAutoStyleBuilder; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵu2\", function() { return DefaultGridColumnDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵt2\", function() { return GridColumnDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵs2\", function() { return GridColumnStyleBuilder; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵx2\", function() { return DefaultGridColumnsDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵw2\", function() { return GridColumnsDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵv2\", function() { return GridColumnsStyleBuilder; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵba2\", function() { return DefaultGridGapDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵz2\", function() { return GridGapDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵy2\", function() { return GridGapStyleBuilder; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵc2\", function() { return DefaultGridAlignDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵb2\", function() { return GridAlignDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵa2\", function() { return GridAlignStyleBuilder; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵbd2\", function() { return DefaultGridRowDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵbc2\", function() { return GridRowDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵbb2\", function() { return GridRowStyleBuilder; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵbg2\", function() { return DefaultGridRowsDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵbf2\", function() { return GridRowsDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵbe2\", function() { return GridRowsStyleBuilder; });\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/flex-layout/core */ \"./node_modules/@angular/flex-layout/esm2015/core.js\");\n/* harmony import */ var _angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/cdk/coercion */ \"./node_modules/@angular/cdk/esm2015/coercion.js\");\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\n\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst ROW_DEFAULT = 'stretch';\n/** @type {?} */\nconst COL_DEFAULT = 'stretch';\nclass GridAlignStyleBuilder extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleBuilder\"] {\n    /**\n     * @param {?} input\n     * @return {?}\n     */\n    buildStyles(input) {\n        return buildCss(input || ROW_DEFAULT);\n    }\n}\nGridAlignStyleBuilder.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */ GridAlignStyleBuilder.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({ factory: function GridAlignStyleBuilder_Factory() { return new GridAlignStyleBuilder(); }, token: GridAlignStyleBuilder, providedIn: \"root\" });\nclass GridAlignDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"BaseDirective2\"] {\n    /**\n     * @param {?} elementRef\n     * @param {?} styleBuilder\n     * @param {?} styler\n     * @param {?} marshal\n     */\n    constructor(elementRef, styleBuilder, styler, marshal) {\n        super(elementRef, styleBuilder, styler, marshal);\n        this.elementRef = elementRef;\n        this.styleBuilder = styleBuilder;\n        this.styler = styler;\n        this.marshal = marshal;\n        this.DIRECTIVE_KEY = 'grid-align';\n        this.styleCache = alignCache;\n        this.init();\n    }\n}\nGridAlignDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: 'grid-align-directive' },] },\n];\n/** @nocollapse */\nGridAlignDirective.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"] },\n    { type: GridAlignStyleBuilder, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }] },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleUtils\"] },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"MediaMarshaller\"] }\n];\n/** @type {?} */\nconst alignCache = new Map();\n/** @type {?} */\nconst inputs = [\n    'gdGridAlign',\n    'gdGridAlign.xs', 'gdGridAlign.sm', 'gdGridAlign.md', 'gdGridAlign.lg', 'gdGridAlign.xl',\n    'gdGridAlign.lt-sm', 'gdGridAlign.lt-md', 'gdGridAlign.lt-lg', 'gdGridAlign.lt-xl',\n    'gdGridAlign.gt-xs', 'gdGridAlign.gt-sm', 'gdGridAlign.gt-md', 'gdGridAlign.gt-lg'\n];\n/** @type {?} */\nconst selector = `\n  [gdGridAlign],\n  [gdGridAlign.xs], [gdGridAlign.sm], [gdGridAlign.md], [gdGridAlign.lg],[gdGridAlign.xl],\n  [gdGridAlign.lt-sm], [gdGridAlign.lt-md], [gdGridAlign.lt-lg], [gdGridAlign.lt-xl],\n  [gdGridAlign.gt-xs], [gdGridAlign.gt-sm], [gdGridAlign.gt-md], [gdGridAlign.gt-lg]\n`;\n/**\n * 'align' CSS Grid styling directive for grid children\n *  Defines positioning of child elements along row and column axis in a grid container\n *  Optional values: {row-axis} values or {row-axis column-axis} value pairs\n *\n * @see https://css-tricks.com/snippets/css/complete-guide-grid/#prop-justify-self\n * @see https://css-tricks.com/snippets/css/complete-guide-grid/#prop-align-self\n */\nclass DefaultGridAlignDirective extends GridAlignDirective {\n    constructor() {\n        super(...arguments);\n        this.inputs = inputs;\n    }\n}\nDefaultGridAlignDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector, inputs },] },\n];\n/**\n * @param {?=} align\n * @return {?}\n */\nfunction buildCss(align = '') {\n    /** @type {?} */\n    const css = {};\n    const [rowAxis, columnAxis] = align.split(' ');\n    // Row axis\n    switch (rowAxis) {\n        case 'end':\n            css['justify-self'] = 'end';\n            break;\n        case 'center':\n            css['justify-self'] = 'center';\n            break;\n        case 'stretch':\n            css['justify-self'] = 'stretch';\n            break;\n        case 'start':\n            css['justify-self'] = 'start';\n            break;\n        default:\n            css['justify-self'] = ROW_DEFAULT; // default row axis\n            break;\n    }\n    // Column axis\n    switch (columnAxis) {\n        case 'end':\n            css['align-self'] = 'end';\n            break;\n        case 'center':\n            css['align-self'] = 'center';\n            break;\n        case 'stretch':\n            css['align-self'] = 'stretch';\n            break;\n        case 'start':\n            css['align-self'] = 'start';\n            break;\n        default:\n            css['align-self'] = COL_DEFAULT; // default column axis\n            break;\n    }\n    return css;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst DEFAULT_MAIN = 'start';\n/** @type {?} */\nconst DEFAULT_CROSS = 'stretch';\nclass GridAlignColumnsStyleBuilder extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleBuilder\"] {\n    /**\n     * @param {?} input\n     * @param {?} parent\n     * @return {?}\n     */\n    buildStyles(input, parent) {\n        return buildCss$1(input || `${DEFAULT_MAIN} ${DEFAULT_CROSS}`, parent.inline);\n    }\n}\nGridAlignColumnsStyleBuilder.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */ GridAlignColumnsStyleBuilder.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({ factory: function GridAlignColumnsStyleBuilder_Factory() { return new GridAlignColumnsStyleBuilder(); }, token: GridAlignColumnsStyleBuilder, providedIn: \"root\" });\nclass GridAlignColumnsDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"BaseDirective2\"] {\n    /**\n     * @param {?} elementRef\n     * @param {?} styleBuilder\n     * @param {?} styler\n     * @param {?} marshal\n     */\n    constructor(elementRef, styleBuilder, styler, marshal) {\n        super(elementRef, styleBuilder, styler, marshal);\n        this.elementRef = elementRef;\n        this.styleBuilder = styleBuilder;\n        this.styler = styler;\n        this.marshal = marshal;\n        this.DIRECTIVE_KEY = 'grid-align-columns';\n        this._inline = false;\n        this.init();\n    }\n    /**\n     * @return {?}\n     */\n    get inline() { return this._inline; }\n    /**\n     * @param {?} val\n     * @return {?}\n     */\n    set inline(val) { this._inline = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_2__[\"coerceBooleanProperty\"])(val); }\n    // *********************************************\n    // Protected methods\n    // *********************************************\n    /**\n     * @protected\n     * @param {?} value\n     * @return {?}\n     */\n    updateWithValue(value) {\n        this.styleCache = this.inline ? alignColumnsInlineCache : alignColumnsCache;\n        this.addStyles(value, { inline: this.inline });\n    }\n}\nGridAlignColumnsDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: 'grid-align-columns-directive' },] },\n];\n/** @nocollapse */\nGridAlignColumnsDirective.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"] },\n    { type: GridAlignColumnsStyleBuilder, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }] },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleUtils\"] },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"MediaMarshaller\"] }\n];\nGridAlignColumnsDirective.propDecorators = {\n    inline: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"], args: ['gdInline',] }]\n};\n/** @type {?} */\nconst alignColumnsCache = new Map();\n/** @type {?} */\nconst alignColumnsInlineCache = new Map();\n/** @type {?} */\nconst inputs$1 = [\n    'gdAlignColumns',\n    'gdAlignColumns.xs', 'gdAlignColumns.sm', 'gdAlignColumns.md',\n    'gdAlignColumns.lg', 'gdAlignColumns.xl', 'gdAlignColumns.lt-sm',\n    'gdAlignColumns.lt-md', 'gdAlignColumns.lt-lg', 'gdAlignColumns.lt-xl',\n    'gdAlignColumns.gt-xs', 'gdAlignColumns.gt-sm', 'gdAlignColumns.gt-md',\n    'gdAlignColumns.gt-lg'\n];\n/** @type {?} */\nconst selector$1 = `\n  [gdAlignColumns],\n  [gdAlignColumns.xs], [gdAlignColumns.sm], [gdAlignColumns.md],\n  [gdAlignColumns.lg], [gdAlignColumns.xl], [gdAlignColumns.lt-sm],\n  [gdAlignColumns.lt-md], [gdAlignColumns.lt-lg], [gdAlignColumns.lt-xl],\n  [gdAlignColumns.gt-xs], [gdAlignColumns.gt-sm], [gdAlignColumns.gt-md],\n  [gdAlignColumns.gt-lg]\n`;\n/**\n * 'column alignment' CSS Grid styling directive\n * Configures the alignment in the column direction\n * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-19\n * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-21\n */\nclass DefaultGridAlignColumnsDirective extends GridAlignColumnsDirective {\n    constructor() {\n        super(...arguments);\n        this.inputs = inputs$1;\n    }\n}\nDefaultGridAlignColumnsDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: selector$1, inputs: inputs$1 },] },\n];\n/**\n * @param {?} align\n * @param {?} inline\n * @return {?}\n */\nfunction buildCss$1(align, inline) {\n    /** @type {?} */\n    const css = {};\n    const [mainAxis, crossAxis] = align.split(' ');\n    // Main axis\n    switch (mainAxis) {\n        case 'center':\n            css['align-content'] = 'center';\n            break;\n        case 'space-around':\n            css['align-content'] = 'space-around';\n            break;\n        case 'space-between':\n            css['align-content'] = 'space-between';\n            break;\n        case 'space-evenly':\n            css['align-content'] = 'space-evenly';\n            break;\n        case 'end':\n            css['align-content'] = 'end';\n            break;\n        case 'start':\n            css['align-content'] = 'start';\n            break;\n        case 'stretch':\n            css['align-content'] = 'stretch';\n            break;\n        default:\n            css['align-content'] = DEFAULT_MAIN; // default main axis\n            break;\n    }\n    // Cross-axis\n    switch (crossAxis) {\n        case 'start':\n            css['align-items'] = 'start';\n            break;\n        case 'center':\n            css['align-items'] = 'center';\n            break;\n        case 'end':\n            css['align-items'] = 'end';\n            break;\n        case 'stretch':\n            css['align-items'] = 'stretch';\n            break;\n        default: // 'stretch'\n            css['align-items'] = DEFAULT_CROSS; // default cross axis\n            break;\n    }\n    css['display'] = inline ? 'inline-grid' : 'grid';\n    return css;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst DEFAULT_MAIN$1 = 'start';\n/** @type {?} */\nconst DEFAULT_CROSS$1 = 'stretch';\nclass GridAlignRowsStyleBuilder extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleBuilder\"] {\n    /**\n     * @param {?} input\n     * @param {?} parent\n     * @return {?}\n     */\n    buildStyles(input, parent) {\n        return buildCss$2(input || `${DEFAULT_MAIN$1} ${DEFAULT_CROSS$1}`, parent.inline);\n    }\n}\nGridAlignRowsStyleBuilder.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */ GridAlignRowsStyleBuilder.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({ factory: function GridAlignRowsStyleBuilder_Factory() { return new GridAlignRowsStyleBuilder(); }, token: GridAlignRowsStyleBuilder, providedIn: \"root\" });\nclass GridAlignRowsDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"BaseDirective2\"] {\n    /**\n     * @param {?} elementRef\n     * @param {?} styleBuilder\n     * @param {?} styler\n     * @param {?} marshal\n     */\n    constructor(elementRef, styleBuilder, styler, marshal) {\n        super(elementRef, styleBuilder, styler, marshal);\n        this.elementRef = elementRef;\n        this.styleBuilder = styleBuilder;\n        this.styler = styler;\n        this.marshal = marshal;\n        this.DIRECTIVE_KEY = 'grid-align-rows';\n        this._inline = false;\n        this.init();\n    }\n    /**\n     * @return {?}\n     */\n    get inline() { return this._inline; }\n    /**\n     * @param {?} val\n     * @return {?}\n     */\n    set inline(val) { this._inline = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_2__[\"coerceBooleanProperty\"])(val); }\n    // *********************************************\n    // Protected methods\n    // *********************************************\n    /**\n     * @protected\n     * @param {?} value\n     * @return {?}\n     */\n    updateWithValue(value) {\n        this.styleCache = this.inline ? alignRowsInlineCache : alignRowsCache;\n        this.addStyles(value, { inline: this.inline });\n    }\n}\nGridAlignRowsDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: 'grid-align-rows-directive' },] },\n];\n/** @nocollapse */\nGridAlignRowsDirective.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"] },\n    { type: GridAlignRowsStyleBuilder, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }] },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleUtils\"] },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"MediaMarshaller\"] }\n];\nGridAlignRowsDirective.propDecorators = {\n    inline: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"], args: ['gdInline',] }]\n};\n/** @type {?} */\nconst alignRowsCache = new Map();\n/** @type {?} */\nconst alignRowsInlineCache = new Map();\n/** @type {?} */\nconst inputs$2 = [\n    'gdAlignRows',\n    'gdAlignRows.xs', 'gdAlignRows.sm', 'gdAlignRows.md',\n    'gdAlignRows.lg', 'gdAlignRows.xl', 'gdAlignRows.lt-sm',\n    'gdAlignRows.lt-md', 'gdAlignRows.lt-lg', 'gdAlignRows.lt-xl',\n    'gdAlignRows.gt-xs', 'gdAlignRows.gt-sm', 'gdAlignRows.gt-md',\n    'gdAlignRows.gt-lg'\n];\n/** @type {?} */\nconst selector$2 = `\n  [gdAlignRows],\n  [gdAlignRows.xs], [gdAlignRows.sm], [gdAlignRows.md],\n  [gdAlignRows.lg], [gdAlignRows.xl], [gdAlignRows.lt-sm],\n  [gdAlignRows.lt-md], [gdAlignRows.lt-lg], [gdAlignRows.lt-xl],\n  [gdAlignRows.gt-xs], [gdAlignRows.gt-sm], [gdAlignRows.gt-md],\n  [gdAlignRows.gt-lg]\n`;\n/**\n * 'row alignment' CSS Grid styling directive\n * Configures the alignment in the row direction\n * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-18\n * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-20\n */\nclass DefaultGridAlignRowsDirective extends GridAlignRowsDirective {\n    constructor() {\n        super(...arguments);\n        this.inputs = inputs$2;\n    }\n}\nDefaultGridAlignRowsDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: selector$2, inputs: inputs$2 },] },\n];\n/**\n * @param {?} align\n * @param {?} inline\n * @return {?}\n */\nfunction buildCss$2(align, inline) {\n    /** @type {?} */\n    const css = {};\n    const [mainAxis, crossAxis] = align.split(' ');\n    // Main axis\n    switch (mainAxis) {\n        case 'center':\n        case 'space-around':\n        case 'space-between':\n        case 'space-evenly':\n        case 'end':\n        case 'start':\n        case 'stretch':\n            css['justify-content'] = mainAxis;\n            break;\n        default:\n            css['justify-content'] = DEFAULT_MAIN$1; // default main axis\n            break;\n    }\n    // Cross-axis\n    switch (crossAxis) {\n        case 'start':\n        case 'center':\n        case 'end':\n        case 'stretch':\n            css['justify-items'] = crossAxis;\n            break;\n        default: // 'stretch'\n            css['justify-items'] = DEFAULT_CROSS$1; // default cross axis\n            break;\n    }\n    css['display'] = inline ? 'inline-grid' : 'grid';\n    return css;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst DEFAULT_VALUE = 'auto';\nclass GridAreaStyleBuilder extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleBuilder\"] {\n    /**\n     * @param {?} input\n     * @return {?}\n     */\n    buildStyles(input) {\n        return { 'grid-area': input || DEFAULT_VALUE };\n    }\n}\nGridAreaStyleBuilder.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */ GridAreaStyleBuilder.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({ factory: function GridAreaStyleBuilder_Factory() { return new GridAreaStyleBuilder(); }, token: GridAreaStyleBuilder, providedIn: \"root\" });\nclass GridAreaDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"BaseDirective2\"] {\n    /**\n     * @param {?} elRef\n     * @param {?} styleUtils\n     * @param {?} styleBuilder\n     * @param {?} marshal\n     */\n    constructor(elRef, styleUtils, styleBuilder, marshal) {\n        super(elRef, styleBuilder, styleUtils, marshal);\n        this.elRef = elRef;\n        this.styleUtils = styleUtils;\n        this.styleBuilder = styleBuilder;\n        this.marshal = marshal;\n        this.DIRECTIVE_KEY = 'grid-area';\n        this.styleCache = gridAreaCache;\n        this.init();\n    }\n}\nGridAreaDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: 'grid-area-directive' },] },\n];\n/** @nocollapse */\nGridAreaDirective.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"] },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleUtils\"] },\n    { type: GridAreaStyleBuilder, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }] },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"MediaMarshaller\"] }\n];\n/** @type {?} */\nconst gridAreaCache = new Map();\n/** @type {?} */\nconst inputs$3 = [\n    'gdArea',\n    'gdArea.xs', 'gdArea.sm', 'gdArea.md', 'gdArea.lg', 'gdArea.xl',\n    'gdArea.lt-sm', 'gdArea.lt-md', 'gdArea.lt-lg', 'gdArea.lt-xl',\n    'gdArea.gt-xs', 'gdArea.gt-sm', 'gdArea.gt-md', 'gdArea.gt-lg'\n];\n/** @type {?} */\nconst selector$3 = `\n  [gdArea],\n  [gdArea.xs], [gdArea.sm], [gdArea.md], [gdArea.lg], [gdArea.xl],\n  [gdArea.lt-sm], [gdArea.lt-md], [gdArea.lt-lg], [gdArea.lt-xl],\n  [gdArea.gt-xs], [gdArea.gt-sm], [gdArea.gt-md], [gdArea.gt-lg]\n`;\n/**\n * 'grid-area' CSS Grid styling directive\n * Configures the name or position of an element within the grid\n * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-27\n */\nclass DefaultGridAreaDirective extends GridAreaDirective {\n    constructor() {\n        super(...arguments);\n        this.inputs = inputs$3;\n    }\n}\nDefaultGridAreaDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: selector$3, inputs: inputs$3 },] },\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst DEFAULT_VALUE$1 = 'none';\n/** @type {?} */\nconst DELIMETER = '|';\nclass GridAreasStyleBuiler extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleBuilder\"] {\n    /**\n     * @param {?} input\n     * @param {?} parent\n     * @return {?}\n     */\n    buildStyles(input, parent) {\n        /** @type {?} */\n        const areas = (input || DEFAULT_VALUE$1).split(DELIMETER).map((/**\n         * @param {?} v\n         * @return {?}\n         */\n        v => `\"${v.trim()}\"`));\n        return {\n            'display': parent.inline ? 'inline-grid' : 'grid',\n            'grid-template-areas': areas.join(' ')\n        };\n    }\n}\nGridAreasStyleBuiler.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */ GridAreasStyleBuiler.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({ factory: function GridAreasStyleBuiler_Factory() { return new GridAreasStyleBuiler(); }, token: GridAreasStyleBuiler, providedIn: \"root\" });\nclass GridAreasDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"BaseDirective2\"] {\n    /**\n     * @param {?} elRef\n     * @param {?} styleUtils\n     * @param {?} styleBuilder\n     * @param {?} marshal\n     */\n    constructor(elRef, styleUtils, styleBuilder, marshal) {\n        super(elRef, styleBuilder, styleUtils, marshal);\n        this.elRef = elRef;\n        this.styleUtils = styleUtils;\n        this.styleBuilder = styleBuilder;\n        this.marshal = marshal;\n        this.DIRECTIVE_KEY = 'grid-areas';\n        this._inline = false;\n        this.init();\n    }\n    /**\n     * @return {?}\n     */\n    get inline() { return this._inline; }\n    /**\n     * @param {?} val\n     * @return {?}\n     */\n    set inline(val) { this._inline = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_2__[\"coerceBooleanProperty\"])(val); }\n    // *********************************************\n    // Protected methods\n    // *********************************************\n    /**\n     * @protected\n     * @param {?} value\n     * @return {?}\n     */\n    updateWithValue(value) {\n        this.styleCache = this.inline ? areasInlineCache : areasCache;\n        this.addStyles(value, { inline: this.inline });\n    }\n}\nGridAreasDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: 'grid-areas-directive' },] },\n];\n/** @nocollapse */\nGridAreasDirective.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"] },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleUtils\"] },\n    { type: GridAreasStyleBuiler, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }] },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"MediaMarshaller\"] }\n];\nGridAreasDirective.propDecorators = {\n    inline: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"], args: ['gdInline',] }]\n};\n/** @type {?} */\nconst areasCache = new Map();\n/** @type {?} */\nconst areasInlineCache = new Map();\n/** @type {?} */\nconst inputs$4 = [\n    'gdAreas',\n    'gdAreas.xs', 'gdAreas.sm', 'gdAreas.md', 'gdAreas.lg', 'gdAreas.xl',\n    'gdAreas.lt-sm', 'gdAreas.lt-md', 'gdAreas.lt-lg', 'gdAreas.lt-xl',\n    'gdAreas.gt-xs', 'gdAreas.gt-sm', 'gdAreas.gt-md', 'gdAreas.gt-lg'\n];\n/** @type {?} */\nconst selector$4 = `\n  [gdAreas],\n  [gdAreas.xs], [gdAreas.sm], [gdAreas.md], [gdAreas.lg], [gdAreas.xl],\n  [gdAreas.lt-sm], [gdAreas.lt-md], [gdAreas.lt-lg], [gdAreas.lt-xl],\n  [gdAreas.gt-xs], [gdAreas.gt-sm], [gdAreas.gt-md], [gdAreas.gt-lg]\n`;\n/**\n * 'grid-template-areas' CSS Grid styling directive\n * Configures the names of elements within the grid\n * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-14\n */\nclass DefaultGridAreasDirective extends GridAreasDirective {\n    constructor() {\n        super(...arguments);\n        this.inputs = inputs$4;\n    }\n}\nDefaultGridAreasDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: selector$4, inputs: inputs$4 },] },\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst DEFAULT_VALUE$2 = 'initial';\nclass GridAutoStyleBuilder extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleBuilder\"] {\n    /**\n     * @param {?} input\n     * @param {?} parent\n     * @return {?}\n     */\n    buildStyles(input, parent) {\n        let [direction, dense] = (input || DEFAULT_VALUE$2).split(' ');\n        if (direction !== 'column' && direction !== 'row' && direction !== 'dense') {\n            direction = 'row';\n        }\n        dense = (dense === 'dense' && direction !== 'dense') ? ' dense' : '';\n        return {\n            'display': parent.inline ? 'inline-grid' : 'grid',\n            'grid-auto-flow': direction + dense\n        };\n    }\n}\nGridAutoStyleBuilder.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */ GridAutoStyleBuilder.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({ factory: function GridAutoStyleBuilder_Factory() { return new GridAutoStyleBuilder(); }, token: GridAutoStyleBuilder, providedIn: \"root\" });\nclass GridAutoDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"BaseDirective2\"] {\n    /**\n     * @param {?} elementRef\n     * @param {?} styleBuilder\n     * @param {?} styler\n     * @param {?} marshal\n     */\n    constructor(elementRef, styleBuilder, styler, marshal) {\n        super(elementRef, styleBuilder, styler, marshal);\n        this.elementRef = elementRef;\n        this.styleBuilder = styleBuilder;\n        this.styler = styler;\n        this.marshal = marshal;\n        this._inline = false;\n        this.DIRECTIVE_KEY = 'grid-auto';\n        this.init();\n    }\n    /**\n     * @return {?}\n     */\n    get inline() { return this._inline; }\n    /**\n     * @param {?} val\n     * @return {?}\n     */\n    set inline(val) { this._inline = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_2__[\"coerceBooleanProperty\"])(val); }\n    // *********************************************\n    // Protected methods\n    // *********************************************\n    /**\n     * @protected\n     * @param {?} value\n     * @return {?}\n     */\n    updateWithValue(value) {\n        this.styleCache = this.inline ? autoInlineCache : autoCache;\n        this.addStyles(value, { inline: this.inline });\n    }\n}\nGridAutoDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: `grid-auto-directive` },] },\n];\n/** @nocollapse */\nGridAutoDirective.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"] },\n    { type: GridAutoStyleBuilder, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }] },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleUtils\"] },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"MediaMarshaller\"] }\n];\nGridAutoDirective.propDecorators = {\n    inline: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"], args: ['gdInline',] }]\n};\n/** @type {?} */\nconst autoCache = new Map();\n/** @type {?} */\nconst autoInlineCache = new Map();\n/** @type {?} */\nconst inputs$5 = [\n    'gdAuto',\n    'gdAuto.xs', 'gdAuto.sm', 'gdAuto.md', 'gdAuto.lg', 'gdAuto.xl',\n    'gdAuto.lt-sm', 'gdAuto.lt-md', 'gdAuto.lt-lg', 'gdAuto.lt-xl',\n    'gdAuto.gt-xs', 'gdAuto.gt-sm', 'gdAuto.gt-md', 'gdAuto.gt-lg'\n];\n/** @type {?} */\nconst selector$5 = `\n  [gdAuto],\n  [gdAuto.xs], [gdAuto.sm], [gdAuto.md], [gdAuto.lg], [gdAuto.xl],\n  [gdAuto.lt-sm], [gdAuto.lt-md], [gdAuto.lt-lg], [gdAuto.lt-xl],\n  [gdAuto.gt-xs], [gdAuto.gt-sm], [gdAuto.gt-md], [gdAuto.gt-lg]\n`;\n/**\n * 'grid-auto-flow' CSS Grid styling directive\n * Configures the auto placement algorithm for the grid\n * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-23\n */\nclass DefaultGridAutoDirective extends GridAutoDirective {\n    constructor() {\n        super(...arguments);\n        this.inputs = inputs$5;\n    }\n}\nDefaultGridAutoDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: selector$5, inputs: inputs$5 },] },\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst DEFAULT_VALUE$3 = 'auto';\nclass GridColumnStyleBuilder extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleBuilder\"] {\n    /**\n     * @param {?} input\n     * @return {?}\n     */\n    buildStyles(input) {\n        return { 'grid-column': input || DEFAULT_VALUE$3 };\n    }\n}\nGridColumnStyleBuilder.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */ GridColumnStyleBuilder.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({ factory: function GridColumnStyleBuilder_Factory() { return new GridColumnStyleBuilder(); }, token: GridColumnStyleBuilder, providedIn: \"root\" });\nclass GridColumnDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"BaseDirective2\"] {\n    /**\n     * @param {?} elementRef\n     * @param {?} styleBuilder\n     * @param {?} styler\n     * @param {?} marshal\n     */\n    constructor(elementRef, styleBuilder, styler, marshal) {\n        super(elementRef, styleBuilder, styler, marshal);\n        this.elementRef = elementRef;\n        this.styleBuilder = styleBuilder;\n        this.styler = styler;\n        this.marshal = marshal;\n        this.DIRECTIVE_KEY = 'grid-column';\n        this.styleCache = columnCache;\n        this.init();\n    }\n}\nGridColumnDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: 'grid-column-directive' },] },\n];\n/** @nocollapse */\nGridColumnDirective.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"] },\n    { type: GridColumnStyleBuilder, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }] },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleUtils\"] },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"MediaMarshaller\"] }\n];\n/** @type {?} */\nconst columnCache = new Map();\n/** @type {?} */\nconst inputs$6 = [\n    'gdColumn',\n    'gdColumn.xs', 'gdColumn.sm', 'gdColumn.md', 'gdColumn.lg', 'gdColumn.xl',\n    'gdColumn.lt-sm', 'gdColumn.lt-md', 'gdColumn.lt-lg', 'gdColumn.lt-xl',\n    'gdColumn.gt-xs', 'gdColumn.gt-sm', 'gdColumn.gt-md', 'gdColumn.gt-lg'\n];\n/** @type {?} */\nconst selector$6 = `\n  [gdColumn],\n  [gdColumn.xs], [gdColumn.sm], [gdColumn.md], [gdColumn.lg], [gdColumn.xl],\n  [gdColumn.lt-sm], [gdColumn.lt-md], [gdColumn.lt-lg], [gdColumn.lt-xl],\n  [gdColumn.gt-xs], [gdColumn.gt-sm], [gdColumn.gt-md], [gdColumn.gt-lg]\n`;\n/**\n * 'grid-column' CSS Grid styling directive\n * Configures the name or position of an element within the grid\n * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-26\n */\nclass DefaultGridColumnDirective extends GridColumnDirective {\n    constructor() {\n        super(...arguments);\n        this.inputs = inputs$6;\n    }\n}\nDefaultGridColumnDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: selector$6, inputs: inputs$6 },] },\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst DEFAULT_VALUE$4 = 'none';\n/** @type {?} */\nconst AUTO_SPECIFIER = '!';\nclass GridColumnsStyleBuilder extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleBuilder\"] {\n    /**\n     * @param {?} input\n     * @param {?} parent\n     * @return {?}\n     */\n    buildStyles(input, parent) {\n        input = input || DEFAULT_VALUE$4;\n        /** @type {?} */\n        let auto = false;\n        if (input.endsWith(AUTO_SPECIFIER)) {\n            input = input.substring(0, input.indexOf(AUTO_SPECIFIER));\n            auto = true;\n        }\n        /** @type {?} */\n        const css = {\n            'display': parent.inline ? 'inline-grid' : 'grid',\n            'grid-auto-columns': '',\n            'grid-template-columns': '',\n        };\n        /** @type {?} */\n        const key = (auto ? 'grid-auto-columns' : 'grid-template-columns');\n        css[key] = input;\n        return css;\n    }\n}\nGridColumnsStyleBuilder.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */ GridColumnsStyleBuilder.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({ factory: function GridColumnsStyleBuilder_Factory() { return new GridColumnsStyleBuilder(); }, token: GridColumnsStyleBuilder, providedIn: \"root\" });\nclass GridColumnsDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"BaseDirective2\"] {\n    /**\n     * @param {?} elementRef\n     * @param {?} styleBuilder\n     * @param {?} styler\n     * @param {?} marshal\n     */\n    constructor(elementRef, styleBuilder, styler, marshal) {\n        super(elementRef, styleBuilder, styler, marshal);\n        this.elementRef = elementRef;\n        this.styleBuilder = styleBuilder;\n        this.styler = styler;\n        this.marshal = marshal;\n        this.DIRECTIVE_KEY = 'grid-columns';\n        this._inline = false;\n        this.init();\n    }\n    /**\n     * @return {?}\n     */\n    get inline() { return this._inline; }\n    /**\n     * @param {?} val\n     * @return {?}\n     */\n    set inline(val) { this._inline = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_2__[\"coerceBooleanProperty\"])(val); }\n    // *********************************************\n    // Protected methods\n    // *********************************************\n    /**\n     * @protected\n     * @param {?} value\n     * @return {?}\n     */\n    updateWithValue(value) {\n        this.styleCache = this.inline ? columnsInlineCache : columnsCache;\n        this.addStyles(value, { inline: this.inline });\n    }\n}\nGridColumnsDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: 'grid-columns-directive' },] },\n];\n/** @nocollapse */\nGridColumnsDirective.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"] },\n    { type: GridColumnsStyleBuilder, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }] },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleUtils\"] },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"MediaMarshaller\"] }\n];\nGridColumnsDirective.propDecorators = {\n    inline: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"], args: ['gdInline',] }]\n};\n/** @type {?} */\nconst columnsCache = new Map();\n/** @type {?} */\nconst columnsInlineCache = new Map();\n/** @type {?} */\nconst inputs$7 = [\n    'gdColumns',\n    'gdColumns.xs', 'gdColumns.sm', 'gdColumns.md', 'gdColumns.lg', 'gdColumns.xl',\n    'gdColumns.lt-sm', 'gdColumns.lt-md', 'gdColumns.lt-lg', 'gdColumns.lt-xl',\n    'gdColumns.gt-xs', 'gdColumns.gt-sm', 'gdColumns.gt-md', 'gdColumns.gt-lg'\n];\n/** @type {?} */\nconst selector$7 = `\n  [gdColumns],\n  [gdColumns.xs], [gdColumns.sm], [gdColumns.md], [gdColumns.lg], [gdColumns.xl],\n  [gdColumns.lt-sm], [gdColumns.lt-md], [gdColumns.lt-lg], [gdColumns.lt-xl],\n  [gdColumns.gt-xs], [gdColumns.gt-sm], [gdColumns.gt-md], [gdColumns.gt-lg]\n`;\n/**\n * 'grid-template-columns' CSS Grid styling directive\n * Configures the sizing for the columns in the grid\n * Syntax: <column value> [auto]\n * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-13\n */\nclass DefaultGridColumnsDirective extends GridColumnsDirective {\n    constructor() {\n        super(...arguments);\n        this.inputs = inputs$7;\n    }\n}\nDefaultGridColumnsDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: selector$7, inputs: inputs$7 },] },\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst DEFAULT_VALUE$5 = '0';\nclass GridGapStyleBuilder extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleBuilder\"] {\n    /**\n     * @param {?} input\n     * @param {?} parent\n     * @return {?}\n     */\n    buildStyles(input, parent) {\n        return {\n            'display': parent.inline ? 'inline-grid' : 'grid',\n            'grid-gap': input || DEFAULT_VALUE$5\n        };\n    }\n}\nGridGapStyleBuilder.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */ GridGapStyleBuilder.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({ factory: function GridGapStyleBuilder_Factory() { return new GridGapStyleBuilder(); }, token: GridGapStyleBuilder, providedIn: \"root\" });\nclass GridGapDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"BaseDirective2\"] {\n    /**\n     * @param {?} elRef\n     * @param {?} styleUtils\n     * @param {?} styleBuilder\n     * @param {?} marshal\n     */\n    constructor(elRef, styleUtils, styleBuilder, marshal) {\n        super(elRef, styleBuilder, styleUtils, marshal);\n        this.elRef = elRef;\n        this.styleUtils = styleUtils;\n        this.styleBuilder = styleBuilder;\n        this.marshal = marshal;\n        this.DIRECTIVE_KEY = 'grid-gap';\n        this._inline = false;\n        this.init();\n    }\n    /**\n     * @return {?}\n     */\n    get inline() { return this._inline; }\n    /**\n     * @param {?} val\n     * @return {?}\n     */\n    set inline(val) { this._inline = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_2__[\"coerceBooleanProperty\"])(val); }\n    // *********************************************\n    // Protected methods\n    // *********************************************\n    /**\n     * @protected\n     * @param {?} value\n     * @return {?}\n     */\n    updateWithValue(value) {\n        this.styleCache = this.inline ? gapInlineCache : gapCache;\n        this.addStyles(value, { inline: this.inline });\n    }\n}\nGridGapDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: 'grid-gap-directive' },] },\n];\n/** @nocollapse */\nGridGapDirective.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"] },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleUtils\"] },\n    { type: GridGapStyleBuilder, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }] },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"MediaMarshaller\"] }\n];\nGridGapDirective.propDecorators = {\n    inline: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"], args: ['gdInline',] }]\n};\n/** @type {?} */\nconst gapCache = new Map();\n/** @type {?} */\nconst gapInlineCache = new Map();\n/** @type {?} */\nconst inputs$8 = [\n    'gdGap',\n    'gdGap.xs', 'gdGap.sm', 'gdGap.md', 'gdGap.lg', 'gdGap.xl',\n    'gdGap.lt-sm', 'gdGap.lt-md', 'gdGap.lt-lg', 'gdGap.lt-xl',\n    'gdGap.gt-xs', 'gdGap.gt-sm', 'gdGap.gt-md', 'gdGap.gt-lg'\n];\n/** @type {?} */\nconst selector$8 = `\n  [gdGap],\n  [gdGap.xs], [gdGap.sm], [gdGap.md], [gdGap.lg], [gdGap.xl],\n  [gdGap.lt-sm], [gdGap.lt-md], [gdGap.lt-lg], [gdGap.lt-xl],\n  [gdGap.gt-xs], [gdGap.gt-sm], [gdGap.gt-md], [gdGap.gt-lg]\n`;\n/**\n * 'grid-gap' CSS Grid styling directive\n * Configures the gap between items in the grid\n * Syntax: <row gap> [<column-gap>]\n * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-17\n */\nclass DefaultGridGapDirective extends GridGapDirective {\n    constructor() {\n        super(...arguments);\n        this.inputs = inputs$8;\n    }\n}\nDefaultGridGapDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: selector$8, inputs: inputs$8 },] },\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst DEFAULT_VALUE$6 = 'auto';\nclass GridRowStyleBuilder extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleBuilder\"] {\n    /**\n     * @param {?} input\n     * @return {?}\n     */\n    buildStyles(input) {\n        return { 'grid-row': input || DEFAULT_VALUE$6 };\n    }\n}\nGridRowStyleBuilder.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */ GridRowStyleBuilder.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({ factory: function GridRowStyleBuilder_Factory() { return new GridRowStyleBuilder(); }, token: GridRowStyleBuilder, providedIn: \"root\" });\nclass GridRowDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"BaseDirective2\"] {\n    /**\n     * @param {?} elementRef\n     * @param {?} styleBuilder\n     * @param {?} styler\n     * @param {?} marshal\n     */\n    constructor(elementRef, styleBuilder, styler, marshal) {\n        super(elementRef, styleBuilder, styler, marshal);\n        this.elementRef = elementRef;\n        this.styleBuilder = styleBuilder;\n        this.styler = styler;\n        this.marshal = marshal;\n        this.DIRECTIVE_KEY = 'grid-row';\n        this.styleCache = rowCache;\n        this.init();\n    }\n}\nGridRowDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: 'grid-row-directive' },] },\n];\n/** @nocollapse */\nGridRowDirective.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"] },\n    { type: GridRowStyleBuilder, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }] },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleUtils\"] },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"MediaMarshaller\"] }\n];\n/** @type {?} */\nconst rowCache = new Map();\n/** @type {?} */\nconst inputs$9 = [\n    'gdRow',\n    'gdRow.xs', 'gdRow.sm', 'gdRow.md', 'gdRow.lg', 'gdRow.xl',\n    'gdRow.lt-sm', 'gdRow.lt-md', 'gdRow.lt-lg', 'gdRow.lt-xl',\n    'gdRow.gt-xs', 'gdRow.gt-sm', 'gdRow.gt-md', 'gdRow.gt-lg'\n];\n/** @type {?} */\nconst selector$9 = `\n  [gdRow],\n  [gdRow.xs], [gdRow.sm], [gdRow.md], [gdRow.lg], [gdRow.xl],\n  [gdRow.lt-sm], [gdRow.lt-md], [gdRow.lt-lg], [gdRow.lt-xl],\n  [gdRow.gt-xs], [gdRow.gt-sm], [gdRow.gt-md], [gdRow.gt-lg]\n`;\n/**\n * 'grid-row' CSS Grid styling directive\n * Configures the name or position of an element within the grid\n * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-26\n */\nclass DefaultGridRowDirective extends GridRowDirective {\n    constructor() {\n        super(...arguments);\n        this.inputs = inputs$9;\n    }\n}\nDefaultGridRowDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: selector$9, inputs: inputs$9 },] },\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst DEFAULT_VALUE$7 = 'none';\n/** @type {?} */\nconst AUTO_SPECIFIER$1 = '!';\nclass GridRowsStyleBuilder extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleBuilder\"] {\n    /**\n     * @param {?} input\n     * @param {?} parent\n     * @return {?}\n     */\n    buildStyles(input, parent) {\n        input = input || DEFAULT_VALUE$7;\n        /** @type {?} */\n        let auto = false;\n        if (input.endsWith(AUTO_SPECIFIER$1)) {\n            input = input.substring(0, input.indexOf(AUTO_SPECIFIER$1));\n            auto = true;\n        }\n        /** @type {?} */\n        const css = {\n            'display': parent.inline ? 'inline-grid' : 'grid',\n            'grid-auto-rows': '',\n            'grid-template-rows': '',\n        };\n        /** @type {?} */\n        const key = (auto ? 'grid-auto-rows' : 'grid-template-rows');\n        css[key] = input;\n        return css;\n    }\n}\nGridRowsStyleBuilder.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */ GridRowsStyleBuilder.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({ factory: function GridRowsStyleBuilder_Factory() { return new GridRowsStyleBuilder(); }, token: GridRowsStyleBuilder, providedIn: \"root\" });\nclass GridRowsDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"BaseDirective2\"] {\n    /**\n     * @param {?} elementRef\n     * @param {?} styleBuilder\n     * @param {?} styler\n     * @param {?} marshal\n     */\n    constructor(elementRef, styleBuilder, styler, marshal) {\n        super(elementRef, styleBuilder, styler, marshal);\n        this.elementRef = elementRef;\n        this.styleBuilder = styleBuilder;\n        this.styler = styler;\n        this.marshal = marshal;\n        this.DIRECTIVE_KEY = 'grid-rows';\n        this._inline = false;\n        this.init();\n    }\n    /**\n     * @return {?}\n     */\n    get inline() { return this._inline; }\n    /**\n     * @param {?} val\n     * @return {?}\n     */\n    set inline(val) { this._inline = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_2__[\"coerceBooleanProperty\"])(val); }\n    // *********************************************\n    // Protected methods\n    // *********************************************\n    /**\n     * @protected\n     * @param {?} value\n     * @return {?}\n     */\n    updateWithValue(value) {\n        this.styleCache = this.inline ? rowsInlineCache : rowsCache;\n        this.addStyles(value, { inline: this.inline });\n    }\n}\nGridRowsDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: 'grid-rows-directive' },] },\n];\n/** @nocollapse */\nGridRowsDirective.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"] },\n    { type: GridRowsStyleBuilder, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }] },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleUtils\"] },\n    { type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"MediaMarshaller\"] }\n];\nGridRowsDirective.propDecorators = {\n    inline: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"], args: ['gdInline',] }]\n};\n/** @type {?} */\nconst rowsCache = new Map();\n/** @type {?} */\nconst rowsInlineCache = new Map();\n/** @type {?} */\nconst inputs$10 = [\n    'gdRows',\n    'gdRows.xs', 'gdRows.sm', 'gdRows.md', 'gdRows.lg', 'gdRows.xl',\n    'gdRows.lt-sm', 'gdRows.lt-md', 'gdRows.lt-lg', 'gdRows.lt-xl',\n    'gdRows.gt-xs', 'gdRows.gt-sm', 'gdRows.gt-md', 'gdRows.gt-lg'\n];\n/** @type {?} */\nconst selector$10 = `\n  [gdRows],\n  [gdRows.xs], [gdRows.sm], [gdRows.md], [gdRows.lg], [gdRows.xl],\n  [gdRows.lt-sm], [gdRows.lt-md], [gdRows.lt-lg], [gdRows.lt-xl],\n  [gdRows.gt-xs], [gdRows.gt-sm], [gdRows.gt-md], [gdRows.gt-lg]\n`;\n/**\n * 'grid-template-rows' CSS Grid styling directive\n * Configures the sizing for the rows in the grid\n * Syntax: <column value> [auto]\n * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-13\n */\nclass DefaultGridRowsDirective extends GridRowsDirective {\n    constructor() {\n        super(...arguments);\n        this.inputs = inputs$10;\n    }\n}\nDefaultGridRowsDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: selector$10, inputs: inputs$10 },] },\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst ALL_DIRECTIVES = [\n    DefaultGridAlignDirective,\n    DefaultGridAlignColumnsDirective,\n    DefaultGridAlignRowsDirective,\n    DefaultGridAreaDirective,\n    DefaultGridAreasDirective,\n    DefaultGridAutoDirective,\n    DefaultGridColumnDirective,\n    DefaultGridColumnsDirective,\n    DefaultGridGapDirective,\n    DefaultGridRowDirective,\n    DefaultGridRowsDirective,\n    GridAlignColumnsDirective,\n    GridAlignRowsDirective,\n    GridAreaDirective,\n    GridAreasDirective,\n    GridAutoDirective,\n    GridColumnDirective,\n    GridColumnsDirective,\n    GridGapDirective,\n    GridAlignDirective,\n    GridRowDirective,\n    GridRowsDirective,\n];\n/**\n * *****************************************************************\n * Define module for the CSS Grid API\n * *****************************************************************\n */\nclass GridModule {\n}\nGridModule.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"], args: [{\n                imports: [_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"CoreModule\"]],\n                declarations: [...ALL_DIRECTIVES],\n                exports: [...ALL_DIRECTIVES]\n            },] },\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n\n//# sourceMappingURL=grid.js.map\n\n\n/***/ }),\n\n/***/ \"./node_modules/@angular/forms/fesm2015/forms.js\":\n/*!*******************************************************!*\\\n  !*** ./node_modules/@angular/forms/fesm2015/forms.js ***!\n  \\*******************************************************/\n/*! exports provided: ɵangular_packages_forms_forms_d, ɵInternalFormsSharedModule, ɵangular_packages_forms_forms_c, ɵangular_packages_forms_forms_a, ɵangular_packages_forms_forms_b, ɵangular_packages_forms_forms_e, ɵangular_packages_forms_forms_f, ɵangular_packages_forms_forms_g, ɵangular_packages_forms_forms_h, ɵangular_packages_forms_forms_i, ɵangular_packages_forms_forms_j, ɵangular_packages_forms_forms_k, ɵangular_packages_forms_forms_l, ɵangular_packages_forms_forms_z, ɵNgNoValidate, ɵangular_packages_forms_forms_m, ɵangular_packages_forms_forms_n, ɵangular_packages_forms_forms_o, ɵangular_packages_forms_forms_p, ɵangular_packages_forms_forms_q, ɵangular_packages_forms_forms_r, ɵangular_packages_forms_forms_s, ɵangular_packages_forms_forms_t, ɵangular_packages_forms_forms_v, ɵangular_packages_forms_forms_u, ɵangular_packages_forms_forms_w, ɵangular_packages_forms_forms_y, ɵNgSelectMultipleOption, ɵangular_packages_forms_forms_x, ɵangular_packages_forms_forms_bb, ɵangular_packages_forms_forms_bc, ɵangular_packages_forms_forms_be, ɵangular_packages_forms_forms_bd, ɵangular_packages_forms_forms_bf, ɵangular_packages_forms_forms_ba, AbstractControlDirective, AbstractFormGroupDirective, CheckboxControlValueAccessor, ControlContainer, NG_VALUE_ACCESSOR, COMPOSITION_BUFFER_MODE, DefaultValueAccessor, NgControl, NgControlStatus, NgControlStatusGroup, NgForm, NgFormSelectorWarning, NgModel, NgModelGroup, NumberValueAccessor, RadioControlValueAccessor, RangeValueAccessor, FormControlDirective, FormControlName, FormGroupDirective, FormArrayName, FormGroupName, NgSelectOption, SelectControlValueAccessor, SelectMultipleControlValueAccessor, CheckboxRequiredValidator, EmailValidator, MaxLengthValidator, MinLengthValidator, PatternValidator, RequiredValidator, FormBuilder, AbstractControl, FormArray, FormControl, FormGroup, NG_ASYNC_VALIDATORS, NG_VALIDATORS, Validators, VERSION, FormsModule, ReactiveFormsModule */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_d\", function() { return ɵInternalFormsSharedModule; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵInternalFormsSharedModule\", function() { return ɵInternalFormsSharedModule; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_c\", function() { return REACTIVE_DRIVEN_DIRECTIVES; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_a\", function() { return SHARED_FORM_DIRECTIVES; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_b\", function() { return TEMPLATE_DRIVEN_DIRECTIVES; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_e\", function() { return CHECKBOX_VALUE_ACCESSOR; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_f\", function() { return DEFAULT_VALUE_ACCESSOR; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_g\", function() { return AbstractControlStatus; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_h\", function() { return ngControlStatusHost; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_i\", function() { return formDirectiveProvider; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_j\", function() { return NG_FORM_SELECTOR_WARNING; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_k\", function() { return formControlBinding; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_l\", function() { return modelGroupProvider; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_z\", function() { return ɵNgNoValidate; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵNgNoValidate\", function() { return ɵNgNoValidate; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_m\", function() { return NUMBER_VALUE_ACCESSOR; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_n\", function() { return RADIO_VALUE_ACCESSOR; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_o\", function() { return RadioControlRegistry; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_p\", function() { return RANGE_VALUE_ACCESSOR; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_q\", function() { return NG_MODEL_WITH_FORM_CONTROL_WARNING; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_r\", function() { return formControlBinding$1; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_s\", function() { return controlNameBinding; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_t\", function() { return formDirectiveProvider$1; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_v\", function() { return formArrayNameProvider; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_u\", function() { return formGroupNameProvider; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_w\", function() { return SELECT_VALUE_ACCESSOR; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_y\", function() { return ɵNgSelectMultipleOption; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵNgSelectMultipleOption\", function() { return ɵNgSelectMultipleOption; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_x\", function() { return SELECT_MULTIPLE_VALUE_ACCESSOR; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_bb\", function() { return CHECKBOX_REQUIRED_VALIDATOR; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_bc\", function() { return EMAIL_VALIDATOR; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_be\", function() { return MAX_LENGTH_VALIDATOR; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_bd\", function() { return MIN_LENGTH_VALIDATOR; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_bf\", function() { return PATTERN_VALIDATOR; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_ba\", function() { return REQUIRED_VALIDATOR; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AbstractControlDirective\", function() { return AbstractControlDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AbstractFormGroupDirective\", function() { return AbstractFormGroupDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CheckboxControlValueAccessor\", function() { return CheckboxControlValueAccessor; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ControlContainer\", function() { return ControlContainer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NG_VALUE_ACCESSOR\", function() { return NG_VALUE_ACCESSOR; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"COMPOSITION_BUFFER_MODE\", function() { return COMPOSITION_BUFFER_MODE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DefaultValueAccessor\", function() { return DefaultValueAccessor; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NgControl\", function() { return NgControl; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NgControlStatus\", function() { return NgControlStatus; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NgControlStatusGroup\", function() { return NgControlStatusGroup; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NgForm\", function() { return NgForm; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NgFormSelectorWarning\", function() { return NgFormSelectorWarning; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NgModel\", function() { return NgModel; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NgModelGroup\", function() { return NgModelGroup; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NumberValueAccessor\", function() { return NumberValueAccessor; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RadioControlValueAccessor\", function() { return RadioControlValueAccessor; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RangeValueAccessor\", function() { return RangeValueAccessor; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FormControlDirective\", function() { return FormControlDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FormControlName\", function() { return FormControlName; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FormGroupDirective\", function() { return FormGroupDirective; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FormArrayName\", function() { return FormArrayName; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FormGroupName\", function() { return FormGroupName; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NgSelectOption\", function() { return NgSelectOption; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SelectControlValueAccessor\", function() { return SelectControlValueAccessor; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SelectMultipleControlValueAccessor\", function() { return SelectMultipleControlValueAccessor; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CheckboxRequiredValidator\", function() { return CheckboxRequiredValidator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"EmailValidator\", function() { return EmailValidator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MaxLengthValidator\", function() { return MaxLengthValidator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MinLengthValidator\", function() { return MinLengthValidator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PatternValidator\", function() { return PatternValidator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RequiredValidator\", function() { return RequiredValidator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FormBuilder\", function() { return FormBuilder; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AbstractControl\", function() { return AbstractControl; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FormArray\", function() { return FormArray; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FormControl\", function() { return FormControl; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FormGroup\", function() { return FormGroup; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NG_ASYNC_VALIDATORS\", function() { return NG_ASYNC_VALIDATORS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NG_VALIDATORS\", function() { return NG_VALIDATORS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Validators\", function() { return Validators; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VERSION\", function() { return VERSION; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FormsModule\", function() { return FormsModule; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ReactiveFormsModule\", function() { return ReactiveFormsModule; });\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/platform-browser */ \"./node_modules/@angular/platform-browser/fesm2015/platform-browser.js\");\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ \"./node_modules/rxjs/_esm2015/index.js\");\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ \"./node_modules/rxjs/_esm2015/operators/index.js\");\n/**\n * @license Angular v8.2.14\n * (c) 2010-2019 Google LLC. https://angular.io/\n * License: MIT\n */\n\n\n\n\n\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@description\n * Defines an interface that acts as a bridge between the Angular forms API and a\n * native element in the DOM.\n *\n * Implement this interface to create a custom form control directive\n * that integrates with Angular forms.\n *\n * @see DefaultValueAccessor\n *\n * \\@publicApi\n * @record\n */\nfunction ControlValueAccessor() { }\nif (false) {}\n/**\n * Used to provide a `ControlValueAccessor` for form controls.\n *\n * See `DefaultValueAccessor` for how to implement one.\n *\n * \\@publicApi\n * @type {?}\n */\nconst NG_VALUE_ACCESSOR = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('NgValueAccessor');\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst CHECKBOX_VALUE_ACCESSOR = {\n    provide: NG_VALUE_ACCESSOR,\n    useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])((/**\n     * @return {?}\n     */\n    () => CheckboxControlValueAccessor)),\n    multi: true,\n};\n/**\n * \\@description\n * A `ControlValueAccessor` for writing a value and listening to changes on a checkbox input\n * element.\n *\n * \\@usageNotes\n *\n * ### Using a checkbox with a reactive form.\n *\n * The following example shows how to use a checkbox with a reactive form.\n *\n * ```ts\n * const rememberLoginControl = new FormControl();\n * ```\n *\n * ```\n * <input type=\"checkbox\" [formControl]=\"rememberLoginControl\">\n * ```\n *\n * \\@ngModule ReactiveFormsModule\n * \\@ngModule FormsModule\n * \\@publicApi\n */\nclass CheckboxControlValueAccessor {\n    /**\n     * @param {?} _renderer\n     * @param {?} _elementRef\n     */\n    constructor(_renderer, _elementRef) {\n        this._renderer = _renderer;\n        this._elementRef = _elementRef;\n        /**\n         * \\@description\n         * The registered callback function called when a change event occurs on the input element.\n         */\n        this.onChange = (/**\n         * @param {?} _\n         * @return {?}\n         */\n        (_) => { });\n        /**\n         * \\@description\n         * The registered callback function called when a blur event occurs on the input element.\n         */\n        this.onTouched = (/**\n         * @return {?}\n         */\n        () => { });\n    }\n    /**\n     * Sets the \"checked\" property on the input element.\n     *\n     * @param {?} value The checked value\n     * @return {?}\n     */\n    writeValue(value) {\n        this._renderer.setProperty(this._elementRef.nativeElement, 'checked', value);\n    }\n    /**\n     * \\@description\n     * Registers a function called when the control value changes.\n     *\n     * @param {?} fn The callback function\n     * @return {?}\n     */\n    registerOnChange(fn) { this.onChange = fn; }\n    /**\n     * \\@description\n     * Registers a function called when the control is touched.\n     *\n     * @param {?} fn The callback function\n     * @return {?}\n     */\n    registerOnTouched(fn) { this.onTouched = fn; }\n    /**\n     * Sets the \"disabled\" property on the input element.\n     *\n     * @param {?} isDisabled The disabled value\n     * @return {?}\n     */\n    setDisabledState(isDisabled) {\n        this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled);\n    }\n}\nCheckboxControlValueAccessor.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{\n                selector: 'input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]',\n                host: { '(change)': 'onChange($event.target.checked)', '(blur)': 'onTouched()' },\n                providers: [CHECKBOX_VALUE_ACCESSOR]\n            },] }\n];\n/** @nocollapse */\nCheckboxControlValueAccessor.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Renderer2\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"] }\n];\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst DEFAULT_VALUE_ACCESSOR = {\n    provide: NG_VALUE_ACCESSOR,\n    useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])((/**\n     * @return {?}\n     */\n    () => DefaultValueAccessor)),\n    multi: true\n};\n/**\n * We must check whether the agent is Android because composition events\n * behave differently between iOS and Android.\n * @return {?}\n */\nfunction _isAndroid() {\n    /** @type {?} */\n    const userAgent = Object(_angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__[\"ɵgetDOM\"])() ? Object(_angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__[\"ɵgetDOM\"])().getUserAgent() : '';\n    return /android (\\d+)/.test(userAgent.toLowerCase());\n}\n/**\n * \\@description\n * Provide this token to control if form directives buffer IME input until\n * the \"compositionend\" event occurs.\n * \\@publicApi\n * @type {?}\n */\nconst COMPOSITION_BUFFER_MODE = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('CompositionEventMode');\n/**\n * \\@description\n * The default `ControlValueAccessor` for writing a value and listening to changes on input\n * elements. The accessor is used by the `FormControlDirective`, `FormControlName`, and\n * `NgModel` directives.\n *\n * \\@usageNotes\n *\n * ### Using the default value accessor\n *\n * The following example shows how to use an input element that activates the default value accessor\n * (in this case, a text field).\n *\n * ```ts\n * const firstNameControl = new FormControl();\n * ```\n *\n * ```\n * <input type=\"text\" [formControl]=\"firstNameControl\">\n * ```\n *\n * \\@ngModule ReactiveFormsModule\n * \\@ngModule FormsModule\n * \\@publicApi\n */\nclass DefaultValueAccessor {\n    /**\n     * @param {?} _renderer\n     * @param {?} _elementRef\n     * @param {?} _compositionMode\n     */\n    constructor(_renderer, _elementRef, _compositionMode) {\n        this._renderer = _renderer;\n        this._elementRef = _elementRef;\n        this._compositionMode = _compositionMode;\n        /**\n         * \\@description\n         * The registered callback function called when an input event occurs on the input element.\n         */\n        this.onChange = (/**\n         * @param {?} _\n         * @return {?}\n         */\n        (_) => { });\n        /**\n         * \\@description\n         * The registered callback function called when a blur event occurs on the input element.\n         */\n        this.onTouched = (/**\n         * @return {?}\n         */\n        () => { });\n        /**\n         * Whether the user is creating a composition string (IME events).\n         */\n        this._composing = false;\n        if (this._compositionMode == null) {\n            this._compositionMode = !_isAndroid();\n        }\n    }\n    /**\n     * Sets the \"value\" property on the input element.\n     *\n     * @param {?} value The checked value\n     * @return {?}\n     */\n    writeValue(value) {\n        /** @type {?} */\n        const normalizedValue = value == null ? '' : value;\n        this._renderer.setProperty(this._elementRef.nativeElement, 'value', normalizedValue);\n    }\n    /**\n     * \\@description\n     * Registers a function called when the control value changes.\n     *\n     * @param {?} fn The callback function\n     * @return {?}\n     */\n    registerOnChange(fn) { this.onChange = fn; }\n    /**\n     * \\@description\n     * Registers a function called when the control is touched.\n     *\n     * @param {?} fn The callback function\n     * @return {?}\n     */\n    registerOnTouched(fn) { this.onTouched = fn; }\n    /**\n     * Sets the \"disabled\" property on the input element.\n     *\n     * @param {?} isDisabled The disabled value\n     * @return {?}\n     */\n    setDisabledState(isDisabled) {\n        this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled);\n    }\n    /**\n     * \\@internal\n     * @param {?} value\n     * @return {?}\n     */\n    _handleInput(value) {\n        if (!this._compositionMode || (this._compositionMode && !this._composing)) {\n            this.onChange(value);\n        }\n    }\n    /**\n     * \\@internal\n     * @return {?}\n     */\n    _compositionStart() { this._composing = true; }\n    /**\n     * \\@internal\n     * @param {?} value\n     * @return {?}\n     */\n    _compositionEnd(value) {\n        this._composing = false;\n        this._compositionMode && this.onChange(value);\n    }\n}\nDefaultValueAccessor.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{\n                selector: 'input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]',\n                // TODO: vsavkin replace the above selector with the one below it once\n                // https://github.com/angular/angular/issues/3011 is implemented\n                // selector: '[ngModel],[formControl],[formControlName]',\n                host: {\n                    '(input)': '$any(this)._handleInput($event.target.value)',\n                    '(blur)': 'onTouched()',\n                    '(compositionstart)': '$any(this)._compositionStart()',\n                    '(compositionend)': '$any(this)._compositionEnd($event.target.value)'\n                },\n                providers: [DEFAULT_VALUE_ACCESSOR]\n            },] }\n];\n/** @nocollapse */\nDefaultValueAccessor.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Renderer2\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"] },\n    { type: Boolean, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [COMPOSITION_BUFFER_MODE,] }] }\n];\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * \\@description\n * Base class for control directives.\n *\n * This class is only used internally in the `ReactiveFormsModule` and the `FormsModule`.\n *\n * \\@publicApi\n * @abstract\n */\nclass AbstractControlDirective {\n    /**\n     * \\@description\n     * Reports the value of the control if it is present, otherwise null.\n     * @return {?}\n     */\n    get value() { return this.control ? this.control.value : null; }\n    /**\n     * \\@description\n     * Reports whether the control is valid. A control is considered valid if no\n     * validation errors exist with the current value.\n     * If the control is not present, null is returned.\n     * @return {?}\n     */\n    get valid() { return this.control ? this.control.valid : null; }\n    /**\n     * \\@description\n     * Reports whether the control is invalid, meaning that an error exists in the input value.\n     * If the control is not present, null is returned.\n     * @return {?}\n     */\n    get invalid() { return this.control ? this.control.invalid : null; }\n    /**\n     * \\@description\n     * Reports whether a control is pending, meaning that that async validation is occurring and\n     * errors are not yet available for the input value. If the control is not present, null is\n     * returned.\n     * @return {?}\n     */\n    get pending() { return this.control ? this.control.pending : null; }\n    /**\n     * \\@description\n     * Reports whether the control is disabled, meaning that the control is disabled\n     * in the UI and is exempt from validation checks and excluded from aggregate\n     * values of ancestor controls. If the control is not present, null is returned.\n     * @return {?}\n     */\n    get disabled() { return this.control ? this.control.disabled : null; }\n    /**\n     * \\@description\n     * Reports whether the control is enabled, meaning that the control is included in ancestor\n     * calculations of validity or value. If the control is not present, null is returned.\n     * @return {?}\n     */\n    get enabled() { return this.control ? this.control.enabled : null; }\n    /**\n     * \\@description\n     * Reports the control's validation errors. If the control is not present, null is returned.\n     * @return {?}\n     */\n    get errors() { return this.control ? this.control.errors : null; }\n    /**\n     * \\@description\n     * Reports whether the control is pristine, meaning that the user has not yet changed\n     * the value in the UI. If the control is not present, null is returned.\n     * @return {?}\n     */\n    get pristine() { return this.control ? this.control.pristine : null; }\n    /**\n     * \\@description\n     * Reports whether the control is dirty, meaning that the user has changed\n     * the value in the UI. If the control is not present, null is returned.\n     * @return {?}\n     */\n    get dirty() { return this.control ? this.control.dirty : null; }\n    /**\n     * \\@description\n     * Reports whether the control is touched, meaning that the user has triggered\n     * a `blur` event on it. If the control is not present, null is returned.\n     * @return {?}\n     */\n    get touched() { return this.control ? this.control.touched : null; }\n    /**\n     * \\@description\n     * Reports the validation status of the control. Possible values include:\n     * 'VALID', 'INVALID', 'DISABLED', and 'PENDING'.\n     * If the control is not present, null is returned.\n     * @return {?}\n     */\n    get status() { return this.control ? this.control.status : null; }\n    /**\n     * \\@description\n     * Reports whether the control is untouched, meaning that the user has not yet triggered\n     * a `blur` event on it. If the control is not present, null is returned.\n     * @return {?}\n     */\n    get untouched() { return this.control ? this.control.untouched : null; }\n    /**\n     * \\@description\n     * Returns a multicasting observable that emits a validation status whenever it is\n     * calculated for the control. If the control is not present, null is returned.\n     * @return {?}\n     */\n    get statusChanges() {\n        return this.control ? this.control.statusChanges : null;\n    }\n    /**\n     * \\@description\n     * Returns a multicasting observable of value changes for the control that emits every time the\n     * value of the control changes in the UI or programmatically.\n     * If the control is not present, null is returned.\n     * @return {?}\n     */\n    get valueChanges() {\n        return this.control ? this.control.valueChanges : null;\n    }\n    /**\n     * \\@description\n     * Returns an array that represents the path from the top-level form to this control.\n     * Each index is the string name of the control on that level.\n     * @return {?}\n     */\n    get path() { return null; }\n    /**\n     * \\@description\n     * Resets the control with the provided value if the control is present.\n     * @param {?=} value\n     * @return {?}\n     */\n    reset(value = undefined) {\n        if (this.control)\n            this.control.reset(value);\n    }\n    /**\n     * \\@description\n     * Reports whether the control with the given path has the error specified.\n     *\n     * \\@usageNotes\n     * For example, for the following `FormGroup`:\n     *\n     * ```\n     * form = new FormGroup({\n     *   address: new FormGroup({ street: new FormControl() })\n     * });\n     * ```\n     *\n     * The path to the 'street' control from the root form would be 'address' -> 'street'.\n     *\n     * It can be provided to this method in one of two formats:\n     *\n     * 1. An array of string control names, e.g. `['address', 'street']`\n     * 1. A period-delimited list of control names in one string, e.g. `'address.street'`\n     *\n     * If no path is given, this method checks for the error on the current control.\n     *\n     * @param {?} errorCode The code of the error to check\n     * @param {?=} path A list of control names that designates how to move from the current control\n     * to the control that should be queried for errors.\n     *\n     * @return {?} whether the given error is present in the control at the given path.\n     *\n     * If the control is not present, false is returned.\n     */\n    hasError(errorCode, path) {\n        return this.control ? this.control.hasError(errorCode, path) : false;\n    }\n    /**\n     * \\@description\n     * Reports error data for the control with the given path.\n     *\n     * \\@usageNotes\n     * For example, for the following `FormGroup`:\n     *\n     * ```\n     * form = new FormGroup({\n     *   address: new FormGroup({ street: new FormControl() })\n     * });\n     * ```\n     *\n     * The path to the 'street' control from the root form would be 'address' -> 'street'.\n     *\n     * It can be provided to this method in one of two formats:\n     *\n     * 1. An array of string control names, e.g. `['address', 'street']`\n     * 1. A period-delimited list of control names in one string, e.g. `'address.street'`\n     *\n     * @param {?} errorCode The code of the error to check\n     * @param {?=} path A list of control names that designates how to move from the current control\n     * to the control that should be queried for errors.\n     *\n     * @return {?} error data for that particular error. If the control or error is not present,\n     * null is returned.\n     */\n    getError(errorCode, path) {\n        return this.control ? this.control.getError(errorCode, path) : null;\n    }\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@description\n * A base class for directives that contain multiple registered instances of `NgControl`.\n * Only used by the forms module.\n *\n * \\@publicApi\n * @abstract\n */\nclass ControlContainer extends AbstractControlDirective {\n    /**\n     * \\@description\n     * The top-level form directive for the control.\n     * @return {?}\n     */\n    get formDirective() { return null; }\n    /**\n     * \\@description\n     * The path to this group.\n     * @return {?}\n     */\n    get path() { return null; }\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @return {?}\n */\nfunction unimplemented() {\n    throw new Error('unimplemented');\n}\n/**\n * \\@description\n * A base class that all control `FormControl`-based directives extend. It binds a `FormControl`\n * object to a DOM element.\n *\n * \\@publicApi\n * @abstract\n */\nclass NgControl extends AbstractControlDirective {\n    constructor() {\n        super(...arguments);\n        /**\n         * \\@description\n         * The parent form for the control.\n         *\n         * \\@internal\n         */\n        this._parent = null;\n        /**\n         * \\@description\n         * The name for the control\n         */\n        this.name = null;\n        /**\n         * \\@description\n         * The value accessor for the control\n         */\n        this.valueAccessor = null;\n        /**\n         * \\@description\n         * The uncomposed array of synchronous validators for the control\n         *\n         * \\@internal\n         */\n        this._rawValidators = [];\n        /**\n         * \\@description\n         * The uncomposed array of async validators for the control\n         *\n         * \\@internal\n         */\n        this._rawAsyncValidators = [];\n    }\n    /**\n     * \\@description\n     * The registered synchronous validator function for the control\n     *\n     * @throws An exception that this method is not implemented\n     * @return {?}\n     */\n    get validator() { return (/** @type {?} */ (unimplemented())); }\n    /**\n     * \\@description\n     * The registered async validator function for the control\n     *\n     * @throws An exception that this method is not implemented\n     * @return {?}\n     */\n    get asyncValidator() { return (/** @type {?} */ (unimplemented())); }\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass AbstractControlStatus {\n    /**\n     * @param {?} cd\n     */\n    constructor(cd) { this._cd = cd; }\n    /**\n     * @return {?}\n     */\n    get ngClassUntouched() { return this._cd.control ? this._cd.control.untouched : false; }\n    /**\n     * @return {?}\n     */\n    get ngClassTouched() { return this._cd.control ? this._cd.control.touched : false; }\n    /**\n     * @return {?}\n     */\n    get ngClassPristine() { return this._cd.control ? this._cd.control.pristine : false; }\n    /**\n     * @return {?}\n     */\n    get ngClassDirty() { return this._cd.control ? this._cd.control.dirty : false; }\n    /**\n     * @return {?}\n     */\n    get ngClassValid() { return this._cd.control ? this._cd.control.valid : false; }\n    /**\n     * @return {?}\n     */\n    get ngClassInvalid() { return this._cd.control ? this._cd.control.invalid : false; }\n    /**\n     * @return {?}\n     */\n    get ngClassPending() { return this._cd.control ? this._cd.control.pending : false; }\n}\nif (false) {}\n/** @type {?} */\nconst ngControlStatusHost = {\n    '[class.ng-untouched]': 'ngClassUntouched',\n    '[class.ng-touched]': 'ngClassTouched',\n    '[class.ng-pristine]': 'ngClassPristine',\n    '[class.ng-dirty]': 'ngClassDirty',\n    '[class.ng-valid]': 'ngClassValid',\n    '[class.ng-invalid]': 'ngClassInvalid',\n    '[class.ng-pending]': 'ngClassPending',\n};\n/**\n * \\@description\n * Directive automatically applied to Angular form controls that sets CSS classes\n * based on control status.\n *\n * \\@usageNotes\n *\n * ### CSS classes applied\n *\n * The following classes are applied as the properties become true:\n *\n * * ng-valid\n * * ng-invalid\n * * ng-pending\n * * ng-pristine\n * * ng-dirty\n * * ng-untouched\n * * ng-touched\n *\n * \\@ngModule ReactiveFormsModule\n * \\@ngModule FormsModule\n * \\@publicApi\n */\nclass NgControlStatus extends AbstractControlStatus {\n    /**\n     * @param {?} cd\n     */\n    constructor(cd) { super(cd); }\n}\nNgControlStatus.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: '[formControlName],[ngModel],[formControl]', host: ngControlStatusHost },] }\n];\n/** @nocollapse */\nNgControlStatus.ctorParameters = () => [\n    { type: NgControl, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"] }] }\n];\n/**\n * \\@description\n * Directive automatically applied to Angular form groups that sets CSS classes\n * based on control status (valid/invalid/dirty/etc).\n *\n * @see `NgControlStatus`\n *\n * \\@ngModule ReactiveFormsModule\n * \\@ngModule FormsModule\n * \\@publicApi\n */\nclass NgControlStatusGroup extends AbstractControlStatus {\n    /**\n     * @param {?} cd\n     */\n    constructor(cd) { super(cd); }\n}\nNgControlStatusGroup.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{\n                selector: '[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]',\n                host: ngControlStatusHost\n            },] }\n];\n/** @nocollapse */\nNgControlStatusGroup.ctorParameters = () => [\n    { type: ControlContainer, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"] }] }\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @param {?} value\n * @return {?}\n */\nfunction isEmptyInputValue(value) {\n    // we don't check for string here so it also works with arrays\n    return value == null || value.length === 0;\n}\n/**\n * \\@description\n * An `InjectionToken` for registering additional synchronous validators used with `AbstractControl`s.\n *\n * @see `NG_ASYNC_VALIDATORS`\n *\n * \\@usageNotes\n *\n * ### Providing a custom validator\n *\n * The following example registers a custom validator directive. Adding the validator to the\n * existing collection of validators requires the `multi: true` option.\n *\n * ```typescript\n * \\@Directive({\n *   selector: '[customValidator]',\n *   providers: [{provide: NG_VALIDATORS, useExisting: CustomValidatorDirective, multi: true}]\n * })\n * class CustomValidatorDirective implements Validator {\n *   validate(control: AbstractControl): ValidationErrors | null {\n *     return { 'custom': true };\n *   }\n * }\n * ```\n *\n * \\@publicApi\n * @type {?}\n */\nconst NG_VALIDATORS = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('NgValidators');\n/**\n * \\@description\n * An `InjectionToken` for registering additional asynchronous validators used with `AbstractControl`s.\n *\n * @see `NG_VALIDATORS`\n *\n * \\@publicApi\n * @type {?}\n */\nconst NG_ASYNC_VALIDATORS = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('NgAsyncValidators');\n/**\n * A regular expression that matches valid e-mail addresses.\n *\n * At a high level, this regexp matches e-mail addresses of the format `local-part\\@tld`, where:\n * - `local-part` consists of one or more of the allowed characters (alphanumeric and some\n *   punctuation symbols).\n * - `local-part` cannot begin or end with a period (`.`).\n * - `local-part` cannot be longer than 64 characters.\n * - `tld` consists of one or more `labels` separated by periods (`.`). For example `localhost` or\n *   `foo.com`.\n * - A `label` consists of one or more of the allowed characters (alphanumeric, dashes (`-`) and\n *   periods (`.`)).\n * - A `label` cannot begin or end with a dash (`-`) or a period (`.`).\n * - A `label` cannot be longer than 63 characters.\n * - The whole address cannot be longer than 254 characters.\n *\n * ## Implementation background\n *\n * This regexp was ported over from AngularJS (see there for git history):\n * https://github.com/angular/angular.js/blob/c133ef836/src/ng/directive/input.js#L27\n * It is based on the\n * [WHATWG version](https://html.spec.whatwg.org/multipage/input.html#valid-e-mail-address) with\n * some enhancements to incorporate more RFC rules (such as rules related to domain names and the\n * lengths of different parts of the address). The main differences from the WHATWG version are:\n *   - Disallow `local-part` to begin or end with a period (`.`).\n *   - Disallow `local-part` length to exceed 64 characters.\n *   - Disallow total address length to exceed 254 characters.\n *\n * See [this commit](https://github.com/angular/angular.js/commit/f3f5cf72e) for more details.\n * @type {?}\n */\nconst EMAIL_REGEXP = /^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;\n/**\n * \\@description\n * Provides a set of built-in validators that can be used by form controls.\n *\n * A validator is a function that processes a `FormControl` or collection of\n * controls and returns an error map or null. A null map means that validation has passed.\n *\n * @see [Form Validation](/guide/form-validation)\n *\n * \\@publicApi\n */\nclass Validators {\n    /**\n     * \\@description\n     * Validator that requires the control's value to be greater than or equal to the provided number.\n     * The validator exists only as a function and not as a directive.\n     *\n     * \\@usageNotes\n     *\n     * ### Validate against a minimum of 3\n     *\n     * ```typescript\n     * const control = new FormControl(2, Validators.min(3));\n     *\n     * console.log(control.errors); // {min: {min: 3, actual: 2}}\n     * ```\n     *\n     * @see `updateValueAndValidity()`\n     *\n     * @param {?} min\n     * @return {?} A validator function that returns an error map with the\n     * `min` property if the validation check fails, otherwise `null`.\n     *\n     */\n    static min(min) {\n        return (/**\n         * @param {?} control\n         * @return {?}\n         */\n        (control) => {\n            if (isEmptyInputValue(control.value) || isEmptyInputValue(min)) {\n                return null; // don't validate empty values to allow optional controls\n            }\n            /** @type {?} */\n            const value = parseFloat(control.value);\n            // Controls with NaN values after parsing should be treated as not having a\n            // minimum, per the HTML forms spec: https://www.w3.org/TR/html5/forms.html#attr-input-min\n            return !isNaN(value) && value < min ? { 'min': { 'min': min, 'actual': control.value } } : null;\n        });\n    }\n    /**\n     * \\@description\n     * Validator that requires the control's value to be less than or equal to the provided number.\n     * The validator exists only as a function and not as a directive.\n     *\n     * \\@usageNotes\n     *\n     * ### Validate against a maximum of 15\n     *\n     * ```typescript\n     * const control = new FormControl(16, Validators.max(15));\n     *\n     * console.log(control.errors); // {max: {max: 15, actual: 16}}\n     * ```\n     *\n     * @see `updateValueAndValidity()`\n     *\n     * @param {?} max\n     * @return {?} A validator function that returns an error map with the\n     * `max` property if the validation check fails, otherwise `null`.\n     *\n     */\n    static max(max) {\n        return (/**\n         * @param {?} control\n         * @return {?}\n         */\n        (control) => {\n            if (isEmptyInputValue(control.value) || isEmptyInputValue(max)) {\n                return null; // don't validate empty values to allow optional controls\n            }\n            /** @type {?} */\n            const value = parseFloat(control.value);\n            // Controls with NaN values after parsing should be treated as not having a\n            // maximum, per the HTML forms spec: https://www.w3.org/TR/html5/forms.html#attr-input-max\n            return !isNaN(value) && value > max ? { 'max': { 'max': max, 'actual': control.value } } : null;\n        });\n    }\n    /**\n     * \\@description\n     * Validator that requires the control have a non-empty value.\n     *\n     * \\@usageNotes\n     *\n     * ### Validate that the field is non-empty\n     *\n     * ```typescript\n     * const control = new FormControl('', Validators.required);\n     *\n     * console.log(control.errors); // {required: true}\n     * ```\n     *\n     * @see `updateValueAndValidity()`\n     *\n     * @param {?} control\n     * @return {?} An error map with the `required` property\n     * if the validation check fails, otherwise `null`.\n     *\n     */\n    static required(control) {\n        return isEmptyInputValue(control.value) ? { 'required': true } : null;\n    }\n    /**\n     * \\@description\n     * Validator that requires the control's value be true. This validator is commonly\n     * used for required checkboxes.\n     *\n     * \\@usageNotes\n     *\n     * ### Validate that the field value is true\n     *\n     * ```typescript\n     * const control = new FormControl('', Validators.requiredTrue);\n     *\n     * console.log(control.errors); // {required: true}\n     * ```\n     *\n     * @see `updateValueAndValidity()`\n     *\n     * @param {?} control\n     * @return {?} An error map that contains the `required` property\n     * set to `true` if the validation check fails, otherwise `null`.\n     *\n     */\n    static requiredTrue(control) {\n        return control.value === true ? null : { 'required': true };\n    }\n    /**\n     * \\@description\n     * Validator that requires the control's value pass an email validation test.\n     *\n     * Tests the value using a [regular expression](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions)\n     * pattern suitable for common usecases. The pattern is based on the definition of a valid email\n     * address in the [WHATWG HTML specification](https://html.spec.whatwg.org/multipage/input.html#valid-e-mail-address)\n     * with some enhancements to incorporate more RFC rules (such as rules related to domain names and\n     * the lengths of different parts of the address).\n     *\n     * The differences from the WHATWG version include:\n     * - Disallow `local-part` (the part before the `\\@` symbol) to begin or end with a period (`.`).\n     * - Disallow `local-part` to be longer than 64 characters.\n     * - Disallow the whole address to be longer than 254 characters.\n     *\n     * If this pattern does not satisfy your business needs, you can use `Validators.pattern()` to\n     * validate the value against a different pattern.\n     *\n     * \\@usageNotes\n     *\n     * ### Validate that the field matches a valid email pattern\n     *\n     * ```typescript\n     * const control = new FormControl('bad\\@', Validators.email);\n     *\n     * console.log(control.errors); // {email: true}\n     * ```\n     *\n     * @see `updateValueAndValidity()`\n     *\n     * @param {?} control\n     * @return {?} An error map with the `email` property\n     * if the validation check fails, otherwise `null`.\n     *\n     */\n    static email(control) {\n        if (isEmptyInputValue(control.value)) {\n            return null; // don't validate empty values to allow optional controls\n        }\n        return EMAIL_REGEXP.test(control.value) ? null : { 'email': true };\n    }\n    /**\n     * \\@description\n     * Validator that requires the length of the control's value to be greater than or equal\n     * to the provided minimum length. This validator is also provided by default if you use the\n     * the HTML5 `minlength` attribute.\n     *\n     * \\@usageNotes\n     *\n     * ### Validate that the field has a minimum of 3 characters\n     *\n     * ```typescript\n     * const control = new FormControl('ng', Validators.minLength(3));\n     *\n     * console.log(control.errors); // {minlength: {requiredLength: 3, actualLength: 2}}\n     * ```\n     *\n     * ```html\n     * <input minlength=\"5\">\n     * ```\n     *\n     * @see `updateValueAndValidity()`\n     *\n     * @param {?} minLength\n     * @return {?} A validator function that returns an error map with the\n     * `minlength` if the validation check fails, otherwise `null`.\n     *\n     */\n    static minLength(minLength) {\n        return (/**\n         * @param {?} control\n         * @return {?}\n         */\n        (control) => {\n            if (isEmptyInputValue(control.value)) {\n                return null; // don't validate empty values to allow optional controls\n            }\n            /** @type {?} */\n            const length = control.value ? control.value.length : 0;\n            return length < minLength ?\n                { 'minlength': { 'requiredLength': minLength, 'actualLength': length } } :\n                null;\n        });\n    }\n    /**\n     * \\@description\n     * Validator that requires the length of the control's value to be less than or equal\n     * to the provided maximum length. This validator is also provided by default if you use the\n     * the HTML5 `maxlength` attribute.\n     *\n     * \\@usageNotes\n     *\n     * ### Validate that the field has maximum of 5 characters\n     *\n     * ```typescript\n     * const control = new FormControl('Angular', Validators.maxLength(5));\n     *\n     * console.log(control.errors); // {maxlength: {requiredLength: 5, actualLength: 7}}\n     * ```\n     *\n     * ```html\n     * <input maxlength=\"5\">\n     * ```\n     *\n     * @see `updateValueAndValidity()`\n     *\n     * @param {?} maxLength\n     * @return {?} A validator function that returns an error map with the\n     * `maxlength` property if the validation check fails, otherwise `null`.\n     *\n     */\n    static maxLength(maxLength) {\n        return (/**\n         * @param {?} control\n         * @return {?}\n         */\n        (control) => {\n            /** @type {?} */\n            const length = control.value ? control.value.length : 0;\n            return length > maxLength ?\n                { 'maxlength': { 'requiredLength': maxLength, 'actualLength': length } } :\n                null;\n        });\n    }\n    /**\n     * \\@description\n     * Validator that requires the control's value to match a regex pattern. This validator is also\n     * provided by default if you use the HTML5 `pattern` attribute.\n     *\n     * \\@usageNotes\n     *\n     * ### Validate that the field only contains letters or spaces\n     *\n     * ```typescript\n     * const control = new FormControl('1', Validators.pattern('[a-zA-Z ]*'));\n     *\n     * console.log(control.errors); // {pattern: {requiredPattern: '^[a-zA-Z ]*$', actualValue: '1'}}\n     * ```\n     *\n     * ```html\n     * <input pattern=\"[a-zA-Z ]*\">\n     * ```\n     *\n     * @see `updateValueAndValidity()`\n     *\n     * @param {?} pattern A regular expression to be used as is to test the values, or a string.\n     * If a string is passed, the `^` character is prepended and the `$` character is\n     * appended to the provided string (if not already present), and the resulting regular\n     * expression is used to test the values.\n     *\n     * @return {?} A validator function that returns an error map with the\n     * `pattern` property if the validation check fails, otherwise `null`.\n     *\n     */\n    static pattern(pattern) {\n        if (!pattern)\n            return Validators.nullValidator;\n        /** @type {?} */\n        let regex;\n        /** @type {?} */\n        let regexStr;\n        if (typeof pattern === 'string') {\n            regexStr = '';\n            if (pattern.charAt(0) !== '^')\n                regexStr += '^';\n            regexStr += pattern;\n            if (pattern.charAt(pattern.length - 1) !== '$')\n                regexStr += '$';\n            regex = new RegExp(regexStr);\n        }\n        else {\n            regexStr = pattern.toString();\n            regex = pattern;\n        }\n        return (/**\n         * @param {?} control\n         * @return {?}\n         */\n        (control) => {\n            if (isEmptyInputValue(control.value)) {\n                return null; // don't validate empty values to allow optional controls\n            }\n            /** @type {?} */\n            const value = control.value;\n            return regex.test(value) ? null :\n                { 'pattern': { 'requiredPattern': regexStr, 'actualValue': value } };\n        });\n    }\n    /**\n     * \\@description\n     * Validator that performs no operation.\n     *\n     * @see `updateValueAndValidity()`\n     *\n     * @param {?} control\n     * @return {?}\n     */\n    static nullValidator(control) { return null; }\n    /**\n     * @param {?} validators\n     * @return {?}\n     */\n    static compose(validators) {\n        if (!validators)\n            return null;\n        /** @type {?} */\n        const presentValidators = (/** @type {?} */ (validators.filter(isPresent)));\n        if (presentValidators.length == 0)\n            return null;\n        return (/**\n         * @param {?} control\n         * @return {?}\n         */\n        function (control) {\n            return _mergeErrors(_executeValidators(control, presentValidators));\n        });\n    }\n    /**\n     * \\@description\n     * Compose multiple async validators into a single function that returns the union\n     * of the individual error objects for the provided control.\n     *\n     * @see `updateValueAndValidity()`\n     *\n     * @param {?} validators\n     * @return {?} A validator function that returns an error map with the\n     * merged error objects of the async validators if the validation check fails, otherwise `null`.\n     *\n     */\n    static composeAsync(validators) {\n        if (!validators)\n            return null;\n        /** @type {?} */\n        const presentValidators = (/** @type {?} */ (validators.filter(isPresent)));\n        if (presentValidators.length == 0)\n            return null;\n        return (/**\n         * @param {?} control\n         * @return {?}\n         */\n        function (control) {\n            /** @type {?} */\n            const observables = _executeAsyncValidators(control, presentValidators).map(toObservable);\n            return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"forkJoin\"])(observables).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(_mergeErrors));\n        });\n    }\n}\n/**\n * @param {?} o\n * @return {?}\n */\nfunction isPresent(o) {\n    return o != null;\n}\n/**\n * @param {?} r\n * @return {?}\n */\nfunction toObservable(r) {\n    /** @type {?} */\n    const obs = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵisPromise\"])(r) ? Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"from\"])(r) : r;\n    if (!(Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵisObservable\"])(obs))) {\n        throw new Error(`Expected validator to return Promise or Observable.`);\n    }\n    return obs;\n}\n/**\n * @param {?} control\n * @param {?} validators\n * @return {?}\n */\nfunction _executeValidators(control, validators) {\n    return validators.map((/**\n     * @param {?} v\n     * @return {?}\n     */\n    v => v(control)));\n}\n/**\n * @param {?} control\n * @param {?} validators\n * @return {?}\n */\nfunction _executeAsyncValidators(control, validators) {\n    return validators.map((/**\n     * @param {?} v\n     * @return {?}\n     */\n    v => v(control)));\n}\n/**\n * @param {?} arrayOfErrors\n * @return {?}\n */\nfunction _mergeErrors(arrayOfErrors) {\n    /** @type {?} */\n    const res = arrayOfErrors.reduce((/**\n     * @param {?} res\n     * @param {?} errors\n     * @return {?}\n     */\n    (res, errors) => {\n        return errors != null ? Object.assign({}, (/** @type {?} */ (res)), errors) : (/** @type {?} */ (res));\n    }), {});\n    return Object.keys(res).length === 0 ? null : res;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * @param {?} validator\n * @return {?}\n */\nfunction normalizeValidator(validator) {\n    if (((/** @type {?} */ (validator))).validate) {\n        return (/**\n         * @param {?} c\n         * @return {?}\n         */\n        (c) => ((/** @type {?} */ (validator))).validate(c));\n    }\n    else {\n        return (/** @type {?} */ (validator));\n    }\n}\n/**\n * @param {?} validator\n * @return {?}\n */\nfunction normalizeAsyncValidator(validator) {\n    if (((/** @type {?} */ (validator))).validate) {\n        return (/**\n         * @param {?} c\n         * @return {?}\n         */\n        (c) => ((/** @type {?} */ (validator))).validate(c));\n    }\n    else {\n        return (/** @type {?} */ (validator));\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst NUMBER_VALUE_ACCESSOR = {\n    provide: NG_VALUE_ACCESSOR,\n    useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])((/**\n     * @return {?}\n     */\n    () => NumberValueAccessor)),\n    multi: true\n};\n/**\n * \\@description\n * The `ControlValueAccessor` for writing a number value and listening to number input changes.\n * The value accessor is used by the `FormControlDirective`, `FormControlName`, and  `NgModel`\n * directives.\n *\n * \\@usageNotes\n *\n * ### Using a number input with a reactive form.\n *\n * The following example shows how to use a number input with a reactive form.\n *\n * ```ts\n * const totalCountControl = new FormControl();\n * ```\n *\n * ```\n * <input type=\"number\" [formControl]=\"totalCountControl\">\n * ```\n *\n * \\@ngModule ReactiveFormsModule\n * \\@ngModule FormsModule\n * \\@publicApi\n */\nclass NumberValueAccessor {\n    /**\n     * @param {?} _renderer\n     * @param {?} _elementRef\n     */\n    constructor(_renderer, _elementRef) {\n        this._renderer = _renderer;\n        this._elementRef = _elementRef;\n        /**\n         * \\@description\n         * The registered callback function called when a change or input event occurs on the input\n         * element.\n         */\n        this.onChange = (/**\n         * @param {?} _\n         * @return {?}\n         */\n        (_) => { });\n        /**\n         * \\@description\n         * The registered callback function called when a blur event occurs on the input element.\n         */\n        this.onTouched = (/**\n         * @return {?}\n         */\n        () => { });\n    }\n    /**\n     * Sets the \"value\" property on the input element.\n     *\n     * @param {?} value The checked value\n     * @return {?}\n     */\n    writeValue(value) {\n        // The value needs to be normalized for IE9, otherwise it is set to 'null' when null\n        /** @type {?} */\n        const normalizedValue = value == null ? '' : value;\n        this._renderer.setProperty(this._elementRef.nativeElement, 'value', normalizedValue);\n    }\n    /**\n     * \\@description\n     * Registers a function called when the control value changes.\n     *\n     * @param {?} fn The callback function\n     * @return {?}\n     */\n    registerOnChange(fn) {\n        this.onChange = (/**\n         * @param {?} value\n         * @return {?}\n         */\n        (value) => { fn(value == '' ? null : parseFloat(value)); });\n    }\n    /**\n     * \\@description\n     * Registers a function called when the control is touched.\n     *\n     * @param {?} fn The callback function\n     * @return {?}\n     */\n    registerOnTouched(fn) { this.onTouched = fn; }\n    /**\n     * Sets the \"disabled\" property on the input element.\n     *\n     * @param {?} isDisabled The disabled value\n     * @return {?}\n     */\n    setDisabledState(isDisabled) {\n        this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled);\n    }\n}\nNumberValueAccessor.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{\n                selector: 'input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]',\n                host: {\n                    '(change)': 'onChange($event.target.value)',\n                    '(input)': 'onChange($event.target.value)',\n                    '(blur)': 'onTouched()'\n                },\n                providers: [NUMBER_VALUE_ACCESSOR]\n            },] }\n];\n/** @nocollapse */\nNumberValueAccessor.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Renderer2\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"] }\n];\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst RADIO_VALUE_ACCESSOR = {\n    provide: NG_VALUE_ACCESSOR,\n    useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])((/**\n     * @return {?}\n     */\n    () => RadioControlValueAccessor)),\n    multi: true\n};\n/**\n * \\@description\n * Class used by Angular to track radio buttons. For internal use only.\n */\nclass RadioControlRegistry {\n    constructor() {\n        this._accessors = [];\n    }\n    /**\n     * \\@description\n     * Adds a control to the internal registry. For internal use only.\n     * @param {?} control\n     * @param {?} accessor\n     * @return {?}\n     */\n    add(control, accessor) {\n        this._accessors.push([control, accessor]);\n    }\n    /**\n     * \\@description\n     * Removes a control from the internal registry. For internal use only.\n     * @param {?} accessor\n     * @return {?}\n     */\n    remove(accessor) {\n        for (let i = this._accessors.length - 1; i >= 0; --i) {\n            if (this._accessors[i][1] === accessor) {\n                this._accessors.splice(i, 1);\n                return;\n            }\n        }\n    }\n    /**\n     * \\@description\n     * Selects a radio button. For internal use only.\n     * @param {?} accessor\n     * @return {?}\n     */\n    select(accessor) {\n        this._accessors.forEach((/**\n         * @param {?} c\n         * @return {?}\n         */\n        (c) => {\n            if (this._isSameGroup(c, accessor) && c[1] !== accessor) {\n                c[1].fireUncheck(accessor.value);\n            }\n        }));\n    }\n    /**\n     * @private\n     * @param {?} controlPair\n     * @param {?} accessor\n     * @return {?}\n     */\n    _isSameGroup(controlPair, accessor) {\n        if (!controlPair[0].control)\n            return false;\n        return controlPair[0]._parent === accessor._control._parent &&\n            controlPair[1].name === accessor.name;\n    }\n}\nRadioControlRegistry.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"] }\n];\nif (false) {}\n/**\n * \\@description\n * The `ControlValueAccessor` for writing radio control values and listening to radio control\n * changes. The value accessor is used by the `FormControlDirective`, `FormControlName`, and\n * `NgModel` directives.\n *\n * \\@usageNotes\n *\n * ### Using radio buttons with reactive form directives\n *\n * The follow example shows how to use radio buttons in a reactive form. When using radio buttons in\n * a reactive form, radio buttons in the same group should have the same `formControlName`.\n * Providing a `name` attribute is optional.\n *\n * {\\@example forms/ts/reactiveRadioButtons/reactive_radio_button_example.ts region='Reactive'}\n *\n * \\@ngModule ReactiveFormsModule\n * \\@ngModule FormsModule\n * \\@publicApi\n */\nclass RadioControlValueAccessor {\n    /**\n     * @param {?} _renderer\n     * @param {?} _elementRef\n     * @param {?} _registry\n     * @param {?} _injector\n     */\n    constructor(_renderer, _elementRef, _registry, _injector) {\n        this._renderer = _renderer;\n        this._elementRef = _elementRef;\n        this._registry = _registry;\n        this._injector = _injector;\n        /**\n         * \\@description\n         * The registered callback function called when a change event occurs on the input element.\n         */\n        this.onChange = (/**\n         * @return {?}\n         */\n        () => { });\n        /**\n         * \\@description\n         * The registered callback function called when a blur event occurs on the input element.\n         */\n        this.onTouched = (/**\n         * @return {?}\n         */\n        () => { });\n    }\n    /**\n     * \\@description\n     * A lifecycle method called when the directive is initialized. For internal use only.\n     * @return {?}\n     */\n    ngOnInit() {\n        this._control = this._injector.get(NgControl);\n        this._checkName();\n        this._registry.add(this._control, this);\n    }\n    /**\n     * \\@description\n     * Lifecycle method called before the directive's instance is destroyed. For internal use only.\n     * @return {?}\n     */\n    ngOnDestroy() { this._registry.remove(this); }\n    /**\n     * \\@description\n     * Sets the \"checked\" property value on the radio input element.\n     *\n     * @param {?} value The checked value\n     * @return {?}\n     */\n    writeValue(value) {\n        this._state = value === this.value;\n        this._renderer.setProperty(this._elementRef.nativeElement, 'checked', this._state);\n    }\n    /**\n     * \\@description\n     * Registers a function called when the control value changes.\n     *\n     * @param {?} fn The callback function\n     * @return {?}\n     */\n    registerOnChange(fn) {\n        this._fn = fn;\n        this.onChange = (/**\n         * @return {?}\n         */\n        () => {\n            fn(this.value);\n            this._registry.select(this);\n        });\n    }\n    /**\n     * Sets the \"value\" on the radio input element and unchecks it.\n     *\n     * @param {?} value\n     * @return {?}\n     */\n    fireUncheck(value) { this.writeValue(value); }\n    /**\n     * \\@description\n     * Registers a function called when the control is touched.\n     *\n     * @param {?} fn The callback function\n     * @return {?}\n     */\n    registerOnTouched(fn) { this.onTouched = fn; }\n    /**\n     * Sets the \"disabled\" property on the input element.\n     *\n     * @param {?} isDisabled The disabled value\n     * @return {?}\n     */\n    setDisabledState(isDisabled) {\n        this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled);\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _checkName() {\n        if (this.name && this.formControlName && this.name !== this.formControlName) {\n            this._throwNameError();\n        }\n        if (!this.name && this.formControlName)\n            this.name = this.formControlName;\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _throwNameError() {\n        throw new Error(`\n      If you define both a name and a formControlName attribute on your radio button, their values\n      must match. Ex: <input type=\"radio\" formControlName=\"food\" name=\"food\">\n    `);\n    }\n}\nRadioControlValueAccessor.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{\n                selector: 'input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]',\n                host: { '(change)': 'onChange()', '(blur)': 'onTouched()' },\n                providers: [RADIO_VALUE_ACCESSOR]\n            },] }\n];\n/** @nocollapse */\nRadioControlValueAccessor.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Renderer2\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"] },\n    { type: RadioControlRegistry },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injector\"] }\n];\nRadioControlValueAccessor.propDecorators = {\n    name: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"] }],\n    formControlName: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"] }],\n    value: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"] }]\n};\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst RANGE_VALUE_ACCESSOR = {\n    provide: NG_VALUE_ACCESSOR,\n    useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])((/**\n     * @return {?}\n     */\n    () => RangeValueAccessor)),\n    multi: true\n};\n/**\n * \\@description\n * The `ControlValueAccessor` for writing a range value and listening to range input changes.\n * The value accessor is used by the `FormControlDirective`, `FormControlName`, and  `NgModel`\n * directives.\n *\n * \\@usageNotes\n *\n * ### Using a range input with a reactive form\n *\n * The following example shows how to use a range input with a reactive form.\n *\n * ```ts\n * const ageControl = new FormControl();\n * ```\n *\n * ```\n * <input type=\"range\" [formControl]=\"ageControl\">\n * ```\n *\n * \\@ngModule ReactiveFormsModule\n * \\@ngModule FormsModule\n * \\@publicApi\n */\nclass RangeValueAccessor {\n    /**\n     * @param {?} _renderer\n     * @param {?} _elementRef\n     */\n    constructor(_renderer, _elementRef) {\n        this._renderer = _renderer;\n        this._elementRef = _elementRef;\n        /**\n         * \\@description\n         * The registered callback function called when a change or input event occurs on the input\n         * element.\n         */\n        this.onChange = (/**\n         * @param {?} _\n         * @return {?}\n         */\n        (_) => { });\n        /**\n         * \\@description\n         * The registered callback function called when a blur event occurs on the input element.\n         */\n        this.onTouched = (/**\n         * @return {?}\n         */\n        () => { });\n    }\n    /**\n     * Sets the \"value\" property on the input element.\n     *\n     * @param {?} value The checked value\n     * @return {?}\n     */\n    writeValue(value) {\n        this._renderer.setProperty(this._elementRef.nativeElement, 'value', parseFloat(value));\n    }\n    /**\n     * \\@description\n     * Registers a function called when the control value changes.\n     *\n     * @param {?} fn The callback function\n     * @return {?}\n     */\n    registerOnChange(fn) {\n        this.onChange = (/**\n         * @param {?} value\n         * @return {?}\n         */\n        (value) => { fn(value == '' ? null : parseFloat(value)); });\n    }\n    /**\n     * \\@description\n     * Registers a function called when the control is touched.\n     *\n     * @param {?} fn The callback function\n     * @return {?}\n     */\n    registerOnTouched(fn) { this.onTouched = fn; }\n    /**\n     * Sets the \"disabled\" property on the range input element.\n     *\n     * @param {?} isDisabled The disabled value\n     * @return {?}\n     */\n    setDisabledState(isDisabled) {\n        this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled);\n    }\n}\nRangeValueAccessor.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{\n                selector: 'input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]',\n                host: {\n                    '(change)': 'onChange($event.target.value)',\n                    '(input)': 'onChange($event.target.value)',\n                    '(blur)': 'onTouched()'\n                },\n                providers: [RANGE_VALUE_ACCESSOR]\n            },] }\n];\n/** @nocollapse */\nRangeValueAccessor.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Renderer2\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"] }\n];\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** @type {?} */\nconst FormErrorExamples = {\n    formControlName: `\n    <div [formGroup]=\"myGroup\">\n      <input formControlName=\"firstName\">\n    </div>\n\n    In your class:\n\n    this.myGroup = new FormGroup({\n       firstName: new FormControl()\n    });`,\n    formGroupName: `\n    <div [formGroup]=\"myGroup\">\n       <div formGroupName=\"person\">\n          <input formControlName=\"firstName\">\n       </div>\n    </div>\n\n    In your class:\n\n    this.myGroup = new FormGroup({\n       person: new FormGroup({ firstName: new FormControl() })\n    });`,\n    formArrayName: `\n    <div [formGroup]=\"myGroup\">\n      <div formArrayName=\"cities\">\n        <div *ngFor=\"let city of cityArray.controls; index as i\">\n          <input [formControlName]=\"i\">\n        </div>\n      </div>\n    </div>\n\n    In your class:\n\n    this.cityArray = new FormArray([new FormControl('SF')]);\n    this.myGroup = new FormGroup({\n      cities: this.cityArray\n    });`,\n    ngModelGroup: `\n    <form>\n       <div ngModelGroup=\"person\">\n          <input [(ngModel)]=\"person.name\" name=\"firstName\">\n       </div>\n    </form>`,\n    ngModelWithFormGroup: `\n    <div [formGroup]=\"myGroup\">\n       <input formControlName=\"firstName\">\n       <input [(ngModel)]=\"showMoreControls\" [ngModelOptions]=\"{standalone: true}\">\n    </div>\n  `\n};\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass ReactiveErrors {\n    /**\n     * @return {?}\n     */\n    static controlParentException() {\n        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      ${FormErrorExamples.formControlName}`);\n    }\n    /**\n     * @return {?}\n     */\n    static ngModelGroupException() {\n        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        ${FormErrorExamples.formGroupName}\n\n        Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n        ${FormErrorExamples.ngModelGroup}`);\n    }\n    /**\n     * @return {?}\n     */\n    static missingFormException() {\n        throw new Error(`formGroup expects a FormGroup instance. Please pass one in.\n\n       Example:\n\n       ${FormErrorExamples.formControlName}`);\n    }\n    /**\n     * @return {?}\n     */\n    static groupParentException() {\n        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      ${FormErrorExamples.formGroupName}`);\n    }\n    /**\n     * @return {?}\n     */\n    static arrayParentException() {\n        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        ${FormErrorExamples.formArrayName}`);\n    }\n    /**\n     * @return {?}\n     */\n    static disabledAttrWarning() {\n        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    `);\n    }\n    /**\n     * @param {?} directiveName\n     * @return {?}\n     */\n    static ngModelWarning(directiveName) {\n        console.warn(`\n    It looks like you're using ngModel on the same form field as ${directiveName}. \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/${directiveName === 'formControl' ? 'FormControlDirective'\n            : 'FormControlName'}#use-with-ngmodel\n    `);\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst SELECT_VALUE_ACCESSOR = {\n    provide: NG_VALUE_ACCESSOR,\n    useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])((/**\n     * @return {?}\n     */\n    () => SelectControlValueAccessor)),\n    multi: true\n};\n/**\n * @param {?} id\n * @param {?} value\n * @return {?}\n */\nfunction _buildValueString(id, value) {\n    if (id == null)\n        return `${value}`;\n    if (value && typeof value === 'object')\n        value = 'Object';\n    return `${id}: ${value}`.slice(0, 50);\n}\n/**\n * @param {?} valueString\n * @return {?}\n */\nfunction _extractId(valueString) {\n    return valueString.split(':')[0];\n}\n/**\n * \\@description\n * The `ControlValueAccessor` for writing select control values and listening to select control\n * changes. The value accessor is used by the `FormControlDirective`, `FormControlName`, and\n * `NgModel` directives.\n *\n * \\@usageNotes\n *\n * ### Using select controls in a reactive form\n *\n * The following examples show how to use a select control in a reactive form.\n *\n * {\\@example forms/ts/reactiveSelectControl/reactive_select_control_example.ts region='Component'}\n *\n * ### Using select controls in a template-driven form\n *\n * To use a select in a template-driven form, simply add an `ngModel` and a `name`\n * attribute to the main `<select>` tag.\n *\n * {\\@example forms/ts/selectControl/select_control_example.ts region='Component'}\n *\n * ### Customizing option selection\n *\n * Angular uses object identity to select option. It's possible for the identities of items\n * to change while the data does not. This can happen, for example, if the items are produced\n * from an RPC to the server, and that RPC is re-run. Even if the data hasn't changed, the\n * second response will produce objects with different identities.\n *\n * To customize the default option comparison algorithm, `<select>` supports `compareWith` input.\n * `compareWith` takes a **function** which has two arguments: `option1` and `option2`.\n * If `compareWith` is given, Angular selects option by the return value of the function.\n *\n * ```ts\n * const selectedCountriesControl = new FormControl();\n * ```\n *\n * ```\n * <select [compareWith]=\"compareFn\"  [formControl]=\"selectedCountriesControl\">\n *     <option *ngFor=\"let country of countries\" [ngValue]=\"country\">\n *         {{country.name}}\n *     </option>\n * </select>\n *\n * compareFn(c1: Country, c2: Country): boolean {\n *     return c1 && c2 ? c1.id === c2.id : c1 === c2;\n * }\n * ```\n *\n * **Note:** We listen to the 'change' event because 'input' events aren't fired\n * for selects in Firefox and IE:\n * https://bugzilla.mozilla.org/show_bug.cgi?id=1024350\n * https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/4660045/\n *\n * \\@ngModule ReactiveFormsModule\n * \\@ngModule FormsModule\n * \\@publicApi\n */\nclass SelectControlValueAccessor {\n    /**\n     * @param {?} _renderer\n     * @param {?} _elementRef\n     */\n    constructor(_renderer, _elementRef) {\n        this._renderer = _renderer;\n        this._elementRef = _elementRef;\n        /**\n         * \\@internal\n         */\n        this._optionMap = new Map();\n        /**\n         * \\@internal\n         */\n        this._idCounter = 0;\n        /**\n         * \\@description\n         * The registered callback function called when a change event occurs on the input element.\n         */\n        this.onChange = (/**\n         * @param {?} _\n         * @return {?}\n         */\n        (_) => { });\n        /**\n         * \\@description\n         * The registered callback function called when a blur event occurs on the input element.\n         */\n        this.onTouched = (/**\n         * @return {?}\n         */\n        () => { });\n        this._compareWith = _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵlooseIdentical\"];\n    }\n    /**\n     * \\@description\n     * Tracks the option comparison algorithm for tracking identities when\n     * checking for changes.\n     * @param {?} fn\n     * @return {?}\n     */\n    set compareWith(fn) {\n        if (typeof fn !== 'function') {\n            throw new Error(`compareWith must be a function, but received ${JSON.stringify(fn)}`);\n        }\n        this._compareWith = fn;\n    }\n    /**\n     * Sets the \"value\" property on the input element. The \"selectedIndex\"\n     * property is also set if an ID is provided on the option element.\n     *\n     * @param {?} value The checked value\n     * @return {?}\n     */\n    writeValue(value) {\n        this.value = value;\n        /** @type {?} */\n        const id = this._getOptionId(value);\n        if (id == null) {\n            this._renderer.setProperty(this._elementRef.nativeElement, 'selectedIndex', -1);\n        }\n        /** @type {?} */\n        const valueString = _buildValueString(id, value);\n        this._renderer.setProperty(this._elementRef.nativeElement, 'value', valueString);\n    }\n    /**\n     * \\@description\n     * Registers a function called when the control value changes.\n     *\n     * @param {?} fn The callback function\n     * @return {?}\n     */\n    registerOnChange(fn) {\n        this.onChange = (/**\n         * @param {?} valueString\n         * @return {?}\n         */\n        (valueString) => {\n            this.value = this._getOptionValue(valueString);\n            fn(this.value);\n        });\n    }\n    /**\n     * \\@description\n     * Registers a function called when the control is touched.\n     *\n     * @param {?} fn The callback function\n     * @return {?}\n     */\n    registerOnTouched(fn) { this.onTouched = fn; }\n    /**\n     * Sets the \"disabled\" property on the select input element.\n     *\n     * @param {?} isDisabled The disabled value\n     * @return {?}\n     */\n    setDisabledState(isDisabled) {\n        this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled);\n    }\n    /**\n     * \\@internal\n     * @return {?}\n     */\n    _registerOption() { return (this._idCounter++).toString(); }\n    /**\n     * \\@internal\n     * @param {?} value\n     * @return {?}\n     */\n    _getOptionId(value) {\n        for (const id of Array.from(this._optionMap.keys())) {\n            if (this._compareWith(this._optionMap.get(id), value))\n                return id;\n        }\n        return null;\n    }\n    /**\n     * \\@internal\n     * @param {?} valueString\n     * @return {?}\n     */\n    _getOptionValue(valueString) {\n        /** @type {?} */\n        const id = _extractId(valueString);\n        return this._optionMap.has(id) ? this._optionMap.get(id) : valueString;\n    }\n}\nSelectControlValueAccessor.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{\n                selector: 'select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]',\n                host: { '(change)': 'onChange($event.target.value)', '(blur)': 'onTouched()' },\n                providers: [SELECT_VALUE_ACCESSOR]\n            },] }\n];\n/** @nocollapse */\nSelectControlValueAccessor.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Renderer2\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"] }\n];\nSelectControlValueAccessor.propDecorators = {\n    compareWith: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"] }]\n};\nif (false) {}\n/**\n * \\@description\n * Marks `<option>` as dynamic, so Angular can be notified when options change.\n *\n * @see `SelectControlValueAccessor`\n *\n * \\@ngModule ReactiveFormsModule\n * \\@ngModule FormsModule\n * \\@publicApi\n */\nclass NgSelectOption {\n    /**\n     * @param {?} _element\n     * @param {?} _renderer\n     * @param {?} _select\n     */\n    constructor(_element, _renderer, _select) {\n        this._element = _element;\n        this._renderer = _renderer;\n        this._select = _select;\n        if (this._select)\n            this.id = this._select._registerOption();\n    }\n    /**\n     * \\@description\n     * Tracks the value bound to the option element. Unlike the value binding,\n     * ngValue supports binding to objects.\n     * @param {?} value\n     * @return {?}\n     */\n    set ngValue(value) {\n        if (this._select == null)\n            return;\n        this._select._optionMap.set(this.id, value);\n        this._setElementValue(_buildValueString(this.id, value));\n        this._select.writeValue(this._select.value);\n    }\n    /**\n     * \\@description\n     * Tracks simple string values bound to the option element.\n     * For objects, use the `ngValue` input binding.\n     * @param {?} value\n     * @return {?}\n     */\n    set value(value) {\n        this._setElementValue(value);\n        if (this._select)\n            this._select.writeValue(this._select.value);\n    }\n    /**\n     * \\@internal\n     * @param {?} value\n     * @return {?}\n     */\n    _setElementValue(value) {\n        this._renderer.setProperty(this._element.nativeElement, 'value', value);\n    }\n    /**\n     * \\@description\n     * Lifecycle method called before the directive's instance is destroyed. For internal use only.\n     * @return {?}\n     */\n    ngOnDestroy() {\n        if (this._select) {\n            this._select._optionMap.delete(this.id);\n            this._select.writeValue(this._select.value);\n        }\n    }\n}\nNgSelectOption.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: 'option' },] }\n];\n/** @nocollapse */\nNgSelectOption.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Renderer2\"] },\n    { type: SelectControlValueAccessor, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Host\"] }] }\n];\nNgSelectOption.propDecorators = {\n    ngValue: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"], args: ['ngValue',] }],\n    value: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"], args: ['value',] }]\n};\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst SELECT_MULTIPLE_VALUE_ACCESSOR = {\n    provide: NG_VALUE_ACCESSOR,\n    useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])((/**\n     * @return {?}\n     */\n    () => SelectMultipleControlValueAccessor)),\n    multi: true\n};\n/**\n * @param {?} id\n * @param {?} value\n * @return {?}\n */\nfunction _buildValueString$1(id, value) {\n    if (id == null)\n        return `${value}`;\n    if (typeof value === 'string')\n        value = `'${value}'`;\n    if (value && typeof value === 'object')\n        value = 'Object';\n    return `${id}: ${value}`.slice(0, 50);\n}\n/**\n * @param {?} valueString\n * @return {?}\n */\nfunction _extractId$1(valueString) {\n    return valueString.split(':')[0];\n}\n/**\n * Mock interface for HTML Options\n * @record\n */\nfunction HTMLOption() { }\nif (false) {}\n/**\n * Mock interface for HTMLCollection\n * @abstract\n */\nclass HTMLCollection {\n}\nif (false) {}\n/**\n * \\@description\n * The `ControlValueAccessor` for writing multi-select control values and listening to multi-select control\n * changes. The value accessor is used by the `FormControlDirective`, `FormControlName`, and `NgModel`\n * directives.\n *\n * @see `SelectControlValueAccessor`\n *\n * \\@usageNotes\n *\n * ### Using a multi-select control\n *\n * The follow example shows you how to use a multi-select control with a reactive form.\n *\n * ```ts\n * const countryControl = new FormControl();\n * ```\n *\n * ```\n * <select multiple name=\"countries\" [formControl]=\"countryControl\">\n *   <option *ngFor=\"let country of countries\" [ngValue]=\"country\">\n *     {{ country.name }}\n *   </option>\n * </select>\n * ```\n *\n * ### Customizing option selection\n *\n * To customize the default option comparison algorithm, `<select>` supports `compareWith` input.\n * See the `SelectControlValueAccessor` for usage.\n *\n * \\@ngModule ReactiveFormsModule\n * \\@ngModule FormsModule\n * \\@publicApi\n */\nclass SelectMultipleControlValueAccessor {\n    /**\n     * @param {?} _renderer\n     * @param {?} _elementRef\n     */\n    constructor(_renderer, _elementRef) {\n        this._renderer = _renderer;\n        this._elementRef = _elementRef;\n        /**\n         * \\@internal\n         */\n        this._optionMap = new Map();\n        /**\n         * \\@internal\n         */\n        this._idCounter = 0;\n        /**\n         * \\@description\n         * The registered callback function called when a change event occurs on the input element.\n         */\n        this.onChange = (/**\n         * @param {?} _\n         * @return {?}\n         */\n        (_) => { });\n        /**\n         * \\@description\n         * The registered callback function called when a blur event occurs on the input element.\n         */\n        this.onTouched = (/**\n         * @return {?}\n         */\n        () => { });\n        this._compareWith = _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵlooseIdentical\"];\n    }\n    /**\n     * \\@description\n     * Tracks the option comparison algorithm for tracking identities when\n     * checking for changes.\n     * @param {?} fn\n     * @return {?}\n     */\n    set compareWith(fn) {\n        if (typeof fn !== 'function') {\n            throw new Error(`compareWith must be a function, but received ${JSON.stringify(fn)}`);\n        }\n        this._compareWith = fn;\n    }\n    /**\n     * \\@description\n     * Sets the \"value\" property on one or of more\n     * of the select's options.\n     *\n     * @param {?} value The value\n     * @return {?}\n     */\n    writeValue(value) {\n        this.value = value;\n        /** @type {?} */\n        let optionSelectedStateSetter;\n        if (Array.isArray(value)) {\n            // convert values to ids\n            /** @type {?} */\n            const ids = value.map((/**\n             * @param {?} v\n             * @return {?}\n             */\n            (v) => this._getOptionId(v)));\n            optionSelectedStateSetter = (/**\n             * @param {?} opt\n             * @param {?} o\n             * @return {?}\n             */\n            (opt, o) => { opt._setSelected(ids.indexOf(o.toString()) > -1); });\n        }\n        else {\n            optionSelectedStateSetter = (/**\n             * @param {?} opt\n             * @param {?} o\n             * @return {?}\n             */\n            (opt, o) => { opt._setSelected(false); });\n        }\n        this._optionMap.forEach(optionSelectedStateSetter);\n    }\n    /**\n     * \\@description\n     * Registers a function called when the control value changes\n     * and writes an array of the selected options.\n     *\n     * @param {?} fn The callback function\n     * @return {?}\n     */\n    registerOnChange(fn) {\n        this.onChange = (/**\n         * @param {?} _\n         * @return {?}\n         */\n        (_) => {\n            /** @type {?} */\n            const selected = [];\n            if (_.hasOwnProperty('selectedOptions')) {\n                /** @type {?} */\n                const options = _.selectedOptions;\n                for (let i = 0; i < options.length; i++) {\n                    /** @type {?} */\n                    const opt = options.item(i);\n                    /** @type {?} */\n                    const val = this._getOptionValue(opt.value);\n                    selected.push(val);\n                }\n            }\n            // Degrade on IE\n            else {\n                /** @type {?} */\n                const options = (/** @type {?} */ (_.options));\n                for (let i = 0; i < options.length; i++) {\n                    /** @type {?} */\n                    const opt = options.item(i);\n                    if (opt.selected) {\n                        /** @type {?} */\n                        const val = this._getOptionValue(opt.value);\n                        selected.push(val);\n                    }\n                }\n            }\n            this.value = selected;\n            fn(selected);\n        });\n    }\n    /**\n     * \\@description\n     * Registers a function called when the control is touched.\n     *\n     * @param {?} fn The callback function\n     * @return {?}\n     */\n    registerOnTouched(fn) { this.onTouched = fn; }\n    /**\n     * Sets the \"disabled\" property on the select input element.\n     *\n     * @param {?} isDisabled The disabled value\n     * @return {?}\n     */\n    setDisabledState(isDisabled) {\n        this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled);\n    }\n    /**\n     * \\@internal\n     * @param {?} value\n     * @return {?}\n     */\n    _registerOption(value) {\n        /** @type {?} */\n        const id = (this._idCounter++).toString();\n        this._optionMap.set(id, value);\n        return id;\n    }\n    /**\n     * \\@internal\n     * @param {?} value\n     * @return {?}\n     */\n    _getOptionId(value) {\n        for (const id of Array.from(this._optionMap.keys())) {\n            if (this._compareWith((/** @type {?} */ (this._optionMap.get(id)))._value, value))\n                return id;\n        }\n        return null;\n    }\n    /**\n     * \\@internal\n     * @param {?} valueString\n     * @return {?}\n     */\n    _getOptionValue(valueString) {\n        /** @type {?} */\n        const id = _extractId$1(valueString);\n        return this._optionMap.has(id) ? (/** @type {?} */ (this._optionMap.get(id)))._value : valueString;\n    }\n}\nSelectMultipleControlValueAccessor.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{\n                selector: 'select[multiple][formControlName],select[multiple][formControl],select[multiple][ngModel]',\n                host: { '(change)': 'onChange($event.target)', '(blur)': 'onTouched()' },\n                providers: [SELECT_MULTIPLE_VALUE_ACCESSOR]\n            },] }\n];\n/** @nocollapse */\nSelectMultipleControlValueAccessor.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Renderer2\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"] }\n];\nSelectMultipleControlValueAccessor.propDecorators = {\n    compareWith: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"] }]\n};\nif (false) {}\n/**\n * \\@description\n * Marks `<option>` as dynamic, so Angular can be notified when options change.\n *\n * @see `SelectMultipleControlValueAccessor`\n *\n * \\@ngModule ReactiveFormsModule\n * \\@ngModule FormsModule\n * \\@publicApi\n */\nclass ɵNgSelectMultipleOption {\n    /**\n     * @param {?} _element\n     * @param {?} _renderer\n     * @param {?} _select\n     */\n    constructor(_element, _renderer, _select) {\n        this._element = _element;\n        this._renderer = _renderer;\n        this._select = _select;\n        if (this._select) {\n            this.id = this._select._registerOption(this);\n        }\n    }\n    /**\n     * \\@description\n     * Tracks the value bound to the option element. Unlike the value binding,\n     * ngValue supports binding to objects.\n     * @param {?} value\n     * @return {?}\n     */\n    set ngValue(value) {\n        if (this._select == null)\n            return;\n        this._value = value;\n        this._setElementValue(_buildValueString$1(this.id, value));\n        this._select.writeValue(this._select.value);\n    }\n    /**\n     * \\@description\n     * Tracks simple string values bound to the option element.\n     * For objects, use the `ngValue` input binding.\n     * @param {?} value\n     * @return {?}\n     */\n    set value(value) {\n        if (this._select) {\n            this._value = value;\n            this._setElementValue(_buildValueString$1(this.id, value));\n            this._select.writeValue(this._select.value);\n        }\n        else {\n            this._setElementValue(value);\n        }\n    }\n    /**\n     * \\@internal\n     * @param {?} value\n     * @return {?}\n     */\n    _setElementValue(value) {\n        this._renderer.setProperty(this._element.nativeElement, 'value', value);\n    }\n    /**\n     * \\@internal\n     * @param {?} selected\n     * @return {?}\n     */\n    _setSelected(selected) {\n        this._renderer.setProperty(this._element.nativeElement, 'selected', selected);\n    }\n    /**\n     * \\@description\n     * Lifecycle method called before the directive's instance is destroyed. For internal use only.\n     * @return {?}\n     */\n    ngOnDestroy() {\n        if (this._select) {\n            this._select._optionMap.delete(this.id);\n            this._select.writeValue(this._select.value);\n        }\n    }\n}\nɵNgSelectMultipleOption.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: 'option' },] }\n];\n/** @nocollapse */\nɵNgSelectMultipleOption.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Renderer2\"] },\n    { type: SelectMultipleControlValueAccessor, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Host\"] }] }\n];\nɵNgSelectMultipleOption.propDecorators = {\n    ngValue: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"], args: ['ngValue',] }],\n    value: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"], args: ['value',] }]\n};\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @param {?} name\n * @param {?} parent\n * @return {?}\n */\nfunction controlPath(name, parent) {\n    return [...(/** @type {?} */ (parent.path)), name];\n}\n/**\n * @param {?} control\n * @param {?} dir\n * @return {?}\n */\nfunction setUpControl(control, dir) {\n    if (!control)\n        _throwError(dir, 'Cannot find control with');\n    if (!dir.valueAccessor)\n        _throwError(dir, 'No value accessor for form control with');\n    control.validator = Validators.compose([(/** @type {?} */ (control.validator)), dir.validator]);\n    control.asyncValidator = Validators.composeAsync([(/** @type {?} */ (control.asyncValidator)), dir.asyncValidator]);\n    (/** @type {?} */ (dir.valueAccessor)).writeValue(control.value);\n    setUpViewChangePipeline(control, dir);\n    setUpModelChangePipeline(control, dir);\n    setUpBlurPipeline(control, dir);\n    if ((/** @type {?} */ (dir.valueAccessor)).setDisabledState) {\n        control.registerOnDisabledChange((/**\n         * @param {?} isDisabled\n         * @return {?}\n         */\n        (isDisabled) => { (/** @type {?} */ ((/** @type {?} */ (dir.valueAccessor)).setDisabledState))(isDisabled); }));\n    }\n    // re-run validation when validator binding changes, e.g. minlength=3 -> minlength=4\n    dir._rawValidators.forEach((/**\n     * @param {?} validator\n     * @return {?}\n     */\n    (validator) => {\n        if (((/** @type {?} */ (validator))).registerOnValidatorChange)\n            (/** @type {?} */ (((/** @type {?} */ (validator))).registerOnValidatorChange))((/**\n             * @return {?}\n             */\n            () => control.updateValueAndValidity()));\n    }));\n    dir._rawAsyncValidators.forEach((/**\n     * @param {?} validator\n     * @return {?}\n     */\n    (validator) => {\n        if (((/** @type {?} */ (validator))).registerOnValidatorChange)\n            (/** @type {?} */ (((/** @type {?} */ (validator))).registerOnValidatorChange))((/**\n             * @return {?}\n             */\n            () => control.updateValueAndValidity()));\n    }));\n}\n/**\n * @param {?} control\n * @param {?} dir\n * @return {?}\n */\nfunction cleanUpControl(control, dir) {\n    (/** @type {?} */ (dir.valueAccessor)).registerOnChange((/**\n     * @return {?}\n     */\n    () => _noControlError(dir)));\n    (/** @type {?} */ (dir.valueAccessor)).registerOnTouched((/**\n     * @return {?}\n     */\n    () => _noControlError(dir)));\n    dir._rawValidators.forEach((/**\n     * @param {?} validator\n     * @return {?}\n     */\n    (validator) => {\n        if (validator.registerOnValidatorChange) {\n            validator.registerOnValidatorChange(null);\n        }\n    }));\n    dir._rawAsyncValidators.forEach((/**\n     * @param {?} validator\n     * @return {?}\n     */\n    (validator) => {\n        if (validator.registerOnValidatorChange) {\n            validator.registerOnValidatorChange(null);\n        }\n    }));\n    if (control)\n        control._clearChangeFns();\n}\n/**\n * @param {?} control\n * @param {?} dir\n * @return {?}\n */\nfunction setUpViewChangePipeline(control, dir) {\n    (/** @type {?} */ (dir.valueAccessor)).registerOnChange((/**\n     * @param {?} newValue\n     * @return {?}\n     */\n    (newValue) => {\n        control._pendingValue = newValue;\n        control._pendingChange = true;\n        control._pendingDirty = true;\n        if (control.updateOn === 'change')\n            updateControl(control, dir);\n    }));\n}\n/**\n * @param {?} control\n * @param {?} dir\n * @return {?}\n */\nfunction setUpBlurPipeline(control, dir) {\n    (/** @type {?} */ (dir.valueAccessor)).registerOnTouched((/**\n     * @return {?}\n     */\n    () => {\n        control._pendingTouched = true;\n        if (control.updateOn === 'blur' && control._pendingChange)\n            updateControl(control, dir);\n        if (control.updateOn !== 'submit')\n            control.markAsTouched();\n    }));\n}\n/**\n * @param {?} control\n * @param {?} dir\n * @return {?}\n */\nfunction updateControl(control, dir) {\n    if (control._pendingDirty)\n        control.markAsDirty();\n    control.setValue(control._pendingValue, { emitModelToViewChange: false });\n    dir.viewToModelUpdate(control._pendingValue);\n    control._pendingChange = false;\n}\n/**\n * @param {?} control\n * @param {?} dir\n * @return {?}\n */\nfunction setUpModelChangePipeline(control, dir) {\n    control.registerOnChange((/**\n     * @param {?} newValue\n     * @param {?} emitModelEvent\n     * @return {?}\n     */\n    (newValue, emitModelEvent) => {\n        // control -> view\n        (/** @type {?} */ (dir.valueAccessor)).writeValue(newValue);\n        // control -> ngModel\n        if (emitModelEvent)\n            dir.viewToModelUpdate(newValue);\n    }));\n}\n/**\n * @param {?} control\n * @param {?} dir\n * @return {?}\n */\nfunction setUpFormContainer(control, dir) {\n    if (control == null)\n        _throwError(dir, 'Cannot find control with');\n    control.validator = Validators.compose([control.validator, dir.validator]);\n    control.asyncValidator = Validators.composeAsync([control.asyncValidator, dir.asyncValidator]);\n}\n/**\n * @param {?} dir\n * @return {?}\n */\nfunction _noControlError(dir) {\n    return _throwError(dir, 'There is no FormControl instance attached to form control element with');\n}\n/**\n * @param {?} dir\n * @param {?} message\n * @return {?}\n */\nfunction _throwError(dir, message) {\n    /** @type {?} */\n    let messageEnd;\n    if ((/** @type {?} */ (dir.path)).length > 1) {\n        messageEnd = `path: '${(/** @type {?} */ (dir.path)).join(' -> ')}'`;\n    }\n    else if ((/** @type {?} */ (dir.path))[0]) {\n        messageEnd = `name: '${dir.path}'`;\n    }\n    else {\n        messageEnd = 'unspecified name attribute';\n    }\n    throw new Error(`${message} ${messageEnd}`);\n}\n/**\n * @param {?} validators\n * @return {?}\n */\nfunction composeValidators(validators) {\n    return validators != null ? Validators.compose(validators.map(normalizeValidator)) : null;\n}\n/**\n * @param {?} validators\n * @return {?}\n */\nfunction composeAsyncValidators(validators) {\n    return validators != null ? Validators.composeAsync(validators.map(normalizeAsyncValidator)) :\n        null;\n}\n/**\n * @param {?} changes\n * @param {?} viewModel\n * @return {?}\n */\nfunction isPropertyUpdated(changes, viewModel) {\n    if (!changes.hasOwnProperty('model'))\n        return false;\n    /** @type {?} */\n    const change = changes['model'];\n    if (change.isFirstChange())\n        return true;\n    return !Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵlooseIdentical\"])(viewModel, change.currentValue);\n}\n/** @type {?} */\nconst BUILTIN_ACCESSORS = [\n    CheckboxControlValueAccessor,\n    RangeValueAccessor,\n    NumberValueAccessor,\n    SelectControlValueAccessor,\n    SelectMultipleControlValueAccessor,\n    RadioControlValueAccessor,\n];\n/**\n * @param {?} valueAccessor\n * @return {?}\n */\nfunction isBuiltInAccessor(valueAccessor) {\n    return BUILTIN_ACCESSORS.some((/**\n     * @param {?} a\n     * @return {?}\n     */\n    a => valueAccessor.constructor === a));\n}\n/**\n * @param {?} form\n * @param {?} directives\n * @return {?}\n */\nfunction syncPendingControls(form, directives) {\n    form._syncPendingControls();\n    directives.forEach((/**\n     * @param {?} dir\n     * @return {?}\n     */\n    dir => {\n        /** @type {?} */\n        const control = (/** @type {?} */ (dir.control));\n        if (control.updateOn === 'submit' && control._pendingChange) {\n            dir.viewToModelUpdate(control._pendingValue);\n            control._pendingChange = false;\n        }\n    }));\n}\n// TODO: vsavkin remove it once https://github.com/angular/angular/issues/3011 is implemented\n/**\n * @param {?} dir\n * @param {?} valueAccessors\n * @return {?}\n */\nfunction selectValueAccessor(dir, valueAccessors) {\n    if (!valueAccessors)\n        return null;\n    if (!Array.isArray(valueAccessors))\n        _throwError(dir, 'Value accessor was not provided as an array for form control with');\n    /** @type {?} */\n    let defaultAccessor = undefined;\n    /** @type {?} */\n    let builtinAccessor = undefined;\n    /** @type {?} */\n    let customAccessor = undefined;\n    valueAccessors.forEach((/**\n     * @param {?} v\n     * @return {?}\n     */\n    (v) => {\n        if (v.constructor === DefaultValueAccessor) {\n            defaultAccessor = v;\n        }\n        else if (isBuiltInAccessor(v)) {\n            if (builtinAccessor)\n                _throwError(dir, 'More than one built-in value accessor matches form control with');\n            builtinAccessor = v;\n        }\n        else {\n            if (customAccessor)\n                _throwError(dir, 'More than one custom value accessor matches form control with');\n            customAccessor = v;\n        }\n    }));\n    if (customAccessor)\n        return customAccessor;\n    if (builtinAccessor)\n        return builtinAccessor;\n    if (defaultAccessor)\n        return defaultAccessor;\n    _throwError(dir, 'No valid value accessor for form control with');\n    return null;\n}\n/**\n * @template T\n * @param {?} list\n * @param {?} el\n * @return {?}\n */\nfunction removeDir(list, el) {\n    /** @type {?} */\n    const index = list.indexOf(el);\n    if (index > -1)\n        list.splice(index, 1);\n}\n// TODO(kara): remove after deprecation period\n/**\n * @param {?} name\n * @param {?} type\n * @param {?} instance\n * @param {?} warningConfig\n * @return {?}\n */\nfunction _ngModelWarning(name, type, instance, warningConfig) {\n    if (!Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"isDevMode\"])() || warningConfig === 'never')\n        return;\n    if (((warningConfig === null || warningConfig === 'once') && !type._ngModelWarningSentOnce) ||\n        (warningConfig === 'always' && !instance._ngModelWarningSent)) {\n        ReactiveErrors.ngModelWarning(name);\n        type._ngModelWarningSentOnce = true;\n        instance._ngModelWarningSent = true;\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Reports that a FormControl is valid, meaning that no errors exist in the input value.\n *\n * @see `status`\n * @type {?}\n */\nconst VALID = 'VALID';\n/**\n * Reports that a FormControl is invalid, meaning that an error exists in the input value.\n *\n * @see `status`\n * @type {?}\n */\nconst INVALID = 'INVALID';\n/**\n * Reports that a FormControl is pending, meaning that that async validation is occurring and\n * errors are not yet available for the input value.\n *\n * @see `markAsPending`\n * @see `status`\n * @type {?}\n */\nconst PENDING = 'PENDING';\n/**\n * Reports that a FormControl is disabled, meaning that the control is exempt from ancestor\n * calculations of validity or value.\n *\n * @see `markAsDisabled`\n * @see `status`\n * @type {?}\n */\nconst DISABLED = 'DISABLED';\n/**\n * @param {?} control\n * @param {?} path\n * @param {?} delimiter\n * @return {?}\n */\nfunction _find(control, path, delimiter) {\n    if (path == null)\n        return null;\n    if (!(path instanceof Array)) {\n        path = ((/** @type {?} */ (path))).split(delimiter);\n    }\n    if (path instanceof Array && (path.length === 0))\n        return null;\n    return ((/** @type {?} */ (path))).reduce((/**\n     * @param {?} v\n     * @param {?} name\n     * @return {?}\n     */\n    (v, name) => {\n        if (v instanceof FormGroup) {\n            return v.controls.hasOwnProperty((/** @type {?} */ (name))) ? v.controls[name] : null;\n        }\n        if (v instanceof FormArray) {\n            return v.at((/** @type {?} */ (name))) || null;\n        }\n        return null;\n    }), control);\n}\n/**\n * @param {?=} validatorOrOpts\n * @return {?}\n */\nfunction coerceToValidator(validatorOrOpts) {\n    /** @type {?} */\n    const validator = (/** @type {?} */ ((isOptionsObj(validatorOrOpts) ? ((/** @type {?} */ (validatorOrOpts))).validators :\n        validatorOrOpts)));\n    return Array.isArray(validator) ? composeValidators(validator) : validator || null;\n}\n/**\n * @param {?=} asyncValidator\n * @param {?=} validatorOrOpts\n * @return {?}\n */\nfunction coerceToAsyncValidator(asyncValidator, validatorOrOpts) {\n    /** @type {?} */\n    const origAsyncValidator = (/** @type {?} */ ((isOptionsObj(validatorOrOpts) ? ((/** @type {?} */ (validatorOrOpts))).asyncValidators :\n        asyncValidator)));\n    return Array.isArray(origAsyncValidator) ? composeAsyncValidators(origAsyncValidator) :\n        origAsyncValidator || null;\n}\n/**\n * Interface for options provided to an `AbstractControl`.\n *\n * \\@publicApi\n * @record\n */\nfunction AbstractControlOptions() { }\nif (false) {}\n/**\n * @param {?=} validatorOrOpts\n * @return {?}\n */\nfunction isOptionsObj(validatorOrOpts) {\n    return validatorOrOpts != null && !Array.isArray(validatorOrOpts) &&\n        typeof validatorOrOpts === 'object';\n}\n/**\n * This is the base class for `FormControl`, `FormGroup`, and `FormArray`.\n *\n * It provides some of the shared behavior that all controls and groups of controls have, like\n * running validators, calculating status, and resetting state. It also defines the properties\n * that are shared between all sub-classes, like `value`, `valid`, and `dirty`. It shouldn't be\n * instantiated directly.\n *\n * @see [Forms Guide](/guide/forms)\n * @see [Reactive Forms Guide](/guide/reactive-forms)\n * @see [Dynamic Forms Guide](/guide/dynamic-form)\n *\n * \\@publicApi\n * @abstract\n */\nclass AbstractControl {\n    /**\n     * Initialize the AbstractControl instance.\n     *\n     * @param {?} validator The function that determines the synchronous validity of this control.\n     * @param {?} asyncValidator The function that determines the asynchronous validity of this\n     * control.\n     */\n    constructor(validator, asyncValidator) {\n        this.validator = validator;\n        this.asyncValidator = asyncValidator;\n        /**\n         * \\@internal\n         */\n        this._onCollectionChange = (/**\n         * @return {?}\n         */\n        () => { });\n        /**\n         * A control is `pristine` if the user has not yet changed\n         * the value in the UI.\n         *\n         * @return True if the user has not yet changed the value in the UI; compare `dirty`.\n         * Programmatic changes to a control's value do not mark it dirty.\n         */\n        this.pristine = true;\n        /**\n         * True if the control is marked as `touched`.\n         *\n         * A control is marked `touched` once the user has triggered\n         * a `blur` event on it.\n         */\n        this.touched = false;\n        /**\n         * \\@internal\n         */\n        this._onDisabledChange = [];\n    }\n    /**\n     * The parent control.\n     * @return {?}\n     */\n    get parent() { return this._parent; }\n    /**\n     * A control is `valid` when its `status` is `VALID`.\n     *\n     * @see {\\@link AbstractControl.status}\n     *\n     * @return {?} True if the control has passed all of its validation tests,\n     * false otherwise.\n     */\n    get valid() { return this.status === VALID; }\n    /**\n     * A control is `invalid` when its `status` is `INVALID`.\n     *\n     * @see {\\@link AbstractControl.status}\n     *\n     * @return {?} True if this control has failed one or more of its validation checks,\n     * false otherwise.\n     */\n    get invalid() { return this.status === INVALID; }\n    /**\n     * A control is `pending` when its `status` is `PENDING`.\n     *\n     * @see {\\@link AbstractControl.status}\n     *\n     * @return {?} True if this control is in the process of conducting a validation check,\n     * false otherwise.\n     */\n    get pending() { return this.status == PENDING; }\n    /**\n     * A control is `disabled` when its `status` is `DISABLED`.\n     *\n     * Disabled controls are exempt from validation checks and\n     * are not included in the aggregate value of their ancestor\n     * controls.\n     *\n     * @see {\\@link AbstractControl.status}\n     *\n     * @return {?} True if the control is disabled, false otherwise.\n     */\n    get disabled() { return this.status === DISABLED; }\n    /**\n     * A control is `enabled` as long as its `status` is not `DISABLED`.\n     *\n     * @see {\\@link AbstractControl.status}\n     *\n     * @return {?} True if the control has any status other than 'DISABLED',\n     * false if the status is 'DISABLED'.\n     *\n     */\n    get enabled() { return this.status !== DISABLED; }\n    /**\n     * A control is `dirty` if the user has changed the value\n     * in the UI.\n     *\n     * @return {?} True if the user has changed the value of this control in the UI; compare `pristine`.\n     * Programmatic changes to a control's value do not mark it dirty.\n     */\n    get dirty() { return !this.pristine; }\n    /**\n     * True if the control has not been marked as touched\n     *\n     * A control is `untouched` if the user has not yet triggered\n     * a `blur` event on it.\n     * @return {?}\n     */\n    get untouched() { return !this.touched; }\n    /**\n     * Reports the update strategy of the `AbstractControl` (meaning\n     * the event on which the control updates itself).\n     * Possible values: `'change'` | `'blur'` | `'submit'`\n     * Default value: `'change'`\n     * @return {?}\n     */\n    get updateOn() {\n        return this._updateOn ? this._updateOn : (this.parent ? this.parent.updateOn : 'change');\n    }\n    /**\n     * Sets the synchronous validators that are active on this control.  Calling\n     * this overwrites any existing sync validators.\n     *\n     * When you add or remove a validator at run time, you must call\n     * `updateValueAndValidity()` for the new validation to take effect.\n     *\n     * @param {?} newValidator\n     * @return {?}\n     */\n    setValidators(newValidator) {\n        this.validator = coerceToValidator(newValidator);\n    }\n    /**\n     * Sets the async validators that are active on this control. Calling this\n     * overwrites any existing async validators.\n     *\n     * When you add or remove a validator at run time, you must call\n     * `updateValueAndValidity()` for the new validation to take effect.\n     *\n     * @param {?} newValidator\n     * @return {?}\n     */\n    setAsyncValidators(newValidator) {\n        this.asyncValidator = coerceToAsyncValidator(newValidator);\n    }\n    /**\n     * Empties out the sync validator list.\n     *\n     * When you add or remove a validator at run time, you must call\n     * `updateValueAndValidity()` for the new validation to take effect.\n     *\n     * @return {?}\n     */\n    clearValidators() { this.validator = null; }\n    /**\n     * Empties out the async validator list.\n     *\n     * When you add or remove a validator at run time, you must call\n     * `updateValueAndValidity()` for the new validation to take effect.\n     *\n     * @return {?}\n     */\n    clearAsyncValidators() { this.asyncValidator = null; }\n    /**\n     * Marks the control as `touched`. A control is touched by focus and\n     * blur events that do not change the value.\n     *\n     * @see `markAsUntouched()` / `markAsDirty()` / `markAsPristine()`\n     *\n     * @param {?=} opts Configuration options that determine how the control propagates changes\n     * and emits events events after marking is applied.\n     * * `onlySelf`: When true, mark only this control. When false or not supplied,\n     * marks all direct ancestors. Default is false.\n     * @return {?}\n     */\n    markAsTouched(opts = {}) {\n        ((/** @type {?} */ (this))).touched = true;\n        if (this._parent && !opts.onlySelf) {\n            this._parent.markAsTouched(opts);\n        }\n    }\n    /**\n     * Marks the control and all its descendant controls as `touched`.\n     * @see `markAsTouched()`\n     * @return {?}\n     */\n    markAllAsTouched() {\n        this.markAsTouched({ onlySelf: true });\n        this._forEachChild((/**\n         * @param {?} control\n         * @return {?}\n         */\n        (control) => control.markAllAsTouched()));\n    }\n    /**\n     * Marks the control as `untouched`.\n     *\n     * If the control has any children, also marks all children as `untouched`\n     * and recalculates the `touched` status of all parent controls.\n     *\n     * @see `markAsTouched()` / `markAsDirty()` / `markAsPristine()`\n     *\n     * @param {?=} opts Configuration options that determine how the control propagates changes\n     * and emits events after the marking is applied.\n     * * `onlySelf`: When true, mark only this control. When false or not supplied,\n     * marks all direct ancestors. Default is false.\n     * @return {?}\n     */\n    markAsUntouched(opts = {}) {\n        ((/** @type {?} */ (this))).touched = false;\n        this._pendingTouched = false;\n        this._forEachChild((/**\n         * @param {?} control\n         * @return {?}\n         */\n        (control) => { control.markAsUntouched({ onlySelf: true }); }));\n        if (this._parent && !opts.onlySelf) {\n            this._parent._updateTouched(opts);\n        }\n    }\n    /**\n     * Marks the control as `dirty`. A control becomes dirty when\n     * the control's value is changed through the UI; compare `markAsTouched`.\n     *\n     * @see `markAsTouched()` / `markAsUntouched()` / `markAsPristine()`\n     *\n     * @param {?=} opts Configuration options that determine how the control propagates changes\n     * and emits events after marking is applied.\n     * * `onlySelf`: When true, mark only this control. When false or not supplied,\n     * marks all direct ancestors. Default is false.\n     * @return {?}\n     */\n    markAsDirty(opts = {}) {\n        ((/** @type {?} */ (this))).pristine = false;\n        if (this._parent && !opts.onlySelf) {\n            this._parent.markAsDirty(opts);\n        }\n    }\n    /**\n     * Marks the control as `pristine`.\n     *\n     * If the control has any children, marks all children as `pristine`,\n     * and recalculates the `pristine` status of all parent\n     * controls.\n     *\n     * @see `markAsTouched()` / `markAsUntouched()` / `markAsDirty()`\n     *\n     * @param {?=} opts Configuration options that determine how the control emits events after\n     * marking is applied.\n     * * `onlySelf`: When true, mark only this control. When false or not supplied,\n     * marks all direct ancestors. Default is false..\n     * @return {?}\n     */\n    markAsPristine(opts = {}) {\n        ((/** @type {?} */ (this))).pristine = true;\n        this._pendingDirty = false;\n        this._forEachChild((/**\n         * @param {?} control\n         * @return {?}\n         */\n        (control) => { control.markAsPristine({ onlySelf: true }); }));\n        if (this._parent && !opts.onlySelf) {\n            this._parent._updatePristine(opts);\n        }\n    }\n    /**\n     * Marks the control as `pending`.\n     *\n     * A control is pending while the control performs async validation.\n     *\n     * @see {\\@link AbstractControl.status}\n     *\n     * @param {?=} opts Configuration options that determine how the control propagates changes and\n     * emits events after marking is applied.\n     * * `onlySelf`: When true, mark only this control. When false or not supplied,\n     * marks all direct ancestors. Default is false..\n     * * `emitEvent`: When true or not supplied (the default), the `statusChanges`\n     * observable emits an event with the latest status the control is marked pending.\n     * When false, no events are emitted.\n     *\n     * @return {?}\n     */\n    markAsPending(opts = {}) {\n        ((/** @type {?} */ (this))).status = PENDING;\n        if (opts.emitEvent !== false) {\n            ((/** @type {?} */ (this.statusChanges))).emit(this.status);\n        }\n        if (this._parent && !opts.onlySelf) {\n            this._parent.markAsPending(opts);\n        }\n    }\n    /**\n     * Disables the control. This means the control is exempt from validation checks and\n     * excluded from the aggregate value of any parent. Its status is `DISABLED`.\n     *\n     * If the control has children, all children are also disabled.\n     *\n     * @see {\\@link AbstractControl.status}\n     *\n     * @param {?=} opts Configuration options that determine how the control propagates\n     * changes and emits events after the control is disabled.\n     * * `onlySelf`: When true, mark only this control. When false or not supplied,\n     * marks all direct ancestors. Default is false..\n     * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n     * `valueChanges`\n     * observables emit events with the latest status and value when the control is disabled.\n     * When false, no events are emitted.\n     * @return {?}\n     */\n    disable(opts = {}) {\n        // If parent has been marked artificially dirty we don't want to re-calculate the\n        // parent's dirtiness based on the children.\n        /** @type {?} */\n        const skipPristineCheck = this._parentMarkedDirty(opts.onlySelf);\n        ((/** @type {?} */ (this))).status = DISABLED;\n        ((/** @type {?} */ (this))).errors = null;\n        this._forEachChild((/**\n         * @param {?} control\n         * @return {?}\n         */\n        (control) => { control.disable(Object.assign({}, opts, { onlySelf: true })); }));\n        this._updateValue();\n        if (opts.emitEvent !== false) {\n            ((/** @type {?} */ (this.valueChanges))).emit(this.value);\n            ((/** @type {?} */ (this.statusChanges))).emit(this.status);\n        }\n        this._updateAncestors(Object.assign({}, opts, { skipPristineCheck }));\n        this._onDisabledChange.forEach((/**\n         * @param {?} changeFn\n         * @return {?}\n         */\n        (changeFn) => changeFn(true)));\n    }\n    /**\n     * Enables the control. This means the control is included in validation checks and\n     * the aggregate value of its parent. Its status recalculates based on its value and\n     * its validators.\n     *\n     * By default, if the control has children, all children are enabled.\n     *\n     * @see {\\@link AbstractControl.status}\n     *\n     * @param {?=} opts Configure options that control how the control propagates changes and\n     * emits events when marked as untouched\n     * * `onlySelf`: When true, mark only this control. When false or not supplied,\n     * marks all direct ancestors. Default is false..\n     * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n     * `valueChanges`\n     * observables emit events with the latest status and value when the control is enabled.\n     * When false, no events are emitted.\n     * @return {?}\n     */\n    enable(opts = {}) {\n        // If parent has been marked artificially dirty we don't want to re-calculate the\n        // parent's dirtiness based on the children.\n        /** @type {?} */\n        const skipPristineCheck = this._parentMarkedDirty(opts.onlySelf);\n        ((/** @type {?} */ (this))).status = VALID;\n        this._forEachChild((/**\n         * @param {?} control\n         * @return {?}\n         */\n        (control) => { control.enable(Object.assign({}, opts, { onlySelf: true })); }));\n        this.updateValueAndValidity({ onlySelf: true, emitEvent: opts.emitEvent });\n        this._updateAncestors(Object.assign({}, opts, { skipPristineCheck }));\n        this._onDisabledChange.forEach((/**\n         * @param {?} changeFn\n         * @return {?}\n         */\n        (changeFn) => changeFn(false)));\n    }\n    /**\n     * @private\n     * @param {?} opts\n     * @return {?}\n     */\n    _updateAncestors(opts) {\n        if (this._parent && !opts.onlySelf) {\n            this._parent.updateValueAndValidity(opts);\n            if (!opts.skipPristineCheck) {\n                this._parent._updatePristine();\n            }\n            this._parent._updateTouched();\n        }\n    }\n    /**\n     * @param {?} parent Sets the parent of the control\n     * @return {?}\n     */\n    setParent(parent) { this._parent = parent; }\n    /**\n     * Recalculates the value and validation status of the control.\n     *\n     * By default, it also updates the value and validity of its ancestors.\n     *\n     * @param {?=} opts Configuration options determine how the control propagates changes and emits events\n     * after updates and validity checks are applied.\n     * * `onlySelf`: When true, only update this control. When false or not supplied,\n     * update all direct ancestors. Default is false..\n     * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n     * `valueChanges`\n     * observables emit events with the latest status and value when the control is updated.\n     * When false, no events are emitted.\n     * @return {?}\n     */\n    updateValueAndValidity(opts = {}) {\n        this._setInitialStatus();\n        this._updateValue();\n        if (this.enabled) {\n            this._cancelExistingSubscription();\n            ((/** @type {?} */ (this))).errors = this._runValidator();\n            ((/** @type {?} */ (this))).status = this._calculateStatus();\n            if (this.status === VALID || this.status === PENDING) {\n                this._runAsyncValidator(opts.emitEvent);\n            }\n        }\n        if (opts.emitEvent !== false) {\n            ((/** @type {?} */ (this.valueChanges))).emit(this.value);\n            ((/** @type {?} */ (this.statusChanges))).emit(this.status);\n        }\n        if (this._parent && !opts.onlySelf) {\n            this._parent.updateValueAndValidity(opts);\n        }\n    }\n    /**\n     * \\@internal\n     * @param {?=} opts\n     * @return {?}\n     */\n    _updateTreeValidity(opts = { emitEvent: true }) {\n        this._forEachChild((/**\n         * @param {?} ctrl\n         * @return {?}\n         */\n        (ctrl) => ctrl._updateTreeValidity(opts)));\n        this.updateValueAndValidity({ onlySelf: true, emitEvent: opts.emitEvent });\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _setInitialStatus() {\n        ((/** @type {?} */ (this))).status = this._allControlsDisabled() ? DISABLED : VALID;\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _runValidator() {\n        return this.validator ? this.validator(this) : null;\n    }\n    /**\n     * @private\n     * @param {?=} emitEvent\n     * @return {?}\n     */\n    _runAsyncValidator(emitEvent) {\n        if (this.asyncValidator) {\n            ((/** @type {?} */ (this))).status = PENDING;\n            /** @type {?} */\n            const obs = toObservable(this.asyncValidator(this));\n            this._asyncValidationSubscription =\n                obs.subscribe((/**\n                 * @param {?} errors\n                 * @return {?}\n                 */\n                (errors) => this.setErrors(errors, { emitEvent })));\n        }\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _cancelExistingSubscription() {\n        if (this._asyncValidationSubscription) {\n            this._asyncValidationSubscription.unsubscribe();\n        }\n    }\n    /**\n     * Sets errors on a form control when running validations manually, rather than automatically.\n     *\n     * Calling `setErrors` also updates the validity of the parent control.\n     *\n     * \\@usageNotes\n     * ### Manually set the errors for a control\n     *\n     * ```\n     * const login = new FormControl('someLogin');\n     * login.setErrors({\n     *   notUnique: true\n     * });\n     *\n     * expect(login.valid).toEqual(false);\n     * expect(login.errors).toEqual({ notUnique: true });\n     *\n     * login.setValue('someOtherLogin');\n     *\n     * expect(login.valid).toEqual(true);\n     * ```\n     * @param {?} errors\n     * @param {?=} opts\n     * @return {?}\n     */\n    setErrors(errors, opts = {}) {\n        ((/** @type {?} */ (this))).errors = errors;\n        this._updateControlsErrors(opts.emitEvent !== false);\n    }\n    /**\n     * Retrieves a child control given the control's name or path.\n     *\n     * \\@usageNotes\n     * ### Retrieve a nested control\n     *\n     * For example, to get a `name` control nested within a `person` sub-group:\n     *\n     * * `this.form.get('person.name');`\n     *\n     * -OR-\n     *\n     * * `this.form.get(['person', 'name']);`\n     * @param {?} path A dot-delimited string or array of string/number values that define the path to the\n     * control.\n     *\n     * @return {?}\n     */\n    get(path) { return _find(this, path, '.'); }\n    /**\n     * \\@description\n     * Reports error data for the control with the given path.\n     *\n     * \\@usageNotes\n     * For example, for the following `FormGroup`:\n     *\n     * ```\n     * form = new FormGroup({\n     *   address: new FormGroup({ street: new FormControl() })\n     * });\n     * ```\n     *\n     * The path to the 'street' control from the root form would be 'address' -> 'street'.\n     *\n     * It can be provided to this method in one of two formats:\n     *\n     * 1. An array of string control names, e.g. `['address', 'street']`\n     * 1. A period-delimited list of control names in one string, e.g. `'address.street'`\n     *\n     * @param {?} errorCode The code of the error to check\n     * @param {?=} path A list of control names that designates how to move from the current control\n     * to the control that should be queried for errors.\n     *\n     * @return {?} error data for that particular error. If the control or error is not present,\n     * null is returned.\n     */\n    getError(errorCode, path) {\n        /** @type {?} */\n        const control = path ? this.get(path) : this;\n        return control && control.errors ? control.errors[errorCode] : null;\n    }\n    /**\n     * \\@description\n     * Reports whether the control with the given path has the error specified.\n     *\n     * \\@usageNotes\n     * For example, for the following `FormGroup`:\n     *\n     * ```\n     * form = new FormGroup({\n     *   address: new FormGroup({ street: new FormControl() })\n     * });\n     * ```\n     *\n     * The path to the 'street' control from the root form would be 'address' -> 'street'.\n     *\n     * It can be provided to this method in one of two formats:\n     *\n     * 1. An array of string control names, e.g. `['address', 'street']`\n     * 1. A period-delimited list of control names in one string, e.g. `'address.street'`\n     *\n     * If no path is given, this method checks for the error on the current control.\n     *\n     * @param {?} errorCode The code of the error to check\n     * @param {?=} path A list of control names that designates how to move from the current control\n     * to the control that should be queried for errors.\n     *\n     * @return {?} whether the given error is present in the control at the given path.\n     *\n     * If the control is not present, false is returned.\n     */\n    hasError(errorCode, path) {\n        return !!this.getError(errorCode, path);\n    }\n    /**\n     * Retrieves the top-level ancestor of this control.\n     * @return {?}\n     */\n    get root() {\n        /** @type {?} */\n        let x = this;\n        while (x._parent) {\n            x = x._parent;\n        }\n        return x;\n    }\n    /**\n     * \\@internal\n     * @param {?} emitEvent\n     * @return {?}\n     */\n    _updateControlsErrors(emitEvent) {\n        ((/** @type {?} */ (this))).status = this._calculateStatus();\n        if (emitEvent) {\n            ((/** @type {?} */ (this.statusChanges))).emit(this.status);\n        }\n        if (this._parent) {\n            this._parent._updateControlsErrors(emitEvent);\n        }\n    }\n    /**\n     * \\@internal\n     * @return {?}\n     */\n    _initObservables() {\n        ((/** @type {?} */ (this))).valueChanges = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"EventEmitter\"]();\n        ((/** @type {?} */ (this))).statusChanges = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"EventEmitter\"]();\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _calculateStatus() {\n        if (this._allControlsDisabled())\n            return DISABLED;\n        if (this.errors)\n            return INVALID;\n        if (this._anyControlsHaveStatus(PENDING))\n            return PENDING;\n        if (this._anyControlsHaveStatus(INVALID))\n            return INVALID;\n        return VALID;\n    }\n    /**\n     * \\@internal\n     * @param {?} status\n     * @return {?}\n     */\n    _anyControlsHaveStatus(status) {\n        return this._anyControls((/**\n         * @param {?} control\n         * @return {?}\n         */\n        (control) => control.status === status));\n    }\n    /**\n     * \\@internal\n     * @return {?}\n     */\n    _anyControlsDirty() {\n        return this._anyControls((/**\n         * @param {?} control\n         * @return {?}\n         */\n        (control) => control.dirty));\n    }\n    /**\n     * \\@internal\n     * @return {?}\n     */\n    _anyControlsTouched() {\n        return this._anyControls((/**\n         * @param {?} control\n         * @return {?}\n         */\n        (control) => control.touched));\n    }\n    /**\n     * \\@internal\n     * @param {?=} opts\n     * @return {?}\n     */\n    _updatePristine(opts = {}) {\n        ((/** @type {?} */ (this))).pristine = !this._anyControlsDirty();\n        if (this._parent && !opts.onlySelf) {\n            this._parent._updatePristine(opts);\n        }\n    }\n    /**\n     * \\@internal\n     * @param {?=} opts\n     * @return {?}\n     */\n    _updateTouched(opts = {}) {\n        ((/** @type {?} */ (this))).touched = this._anyControlsTouched();\n        if (this._parent && !opts.onlySelf) {\n            this._parent._updateTouched(opts);\n        }\n    }\n    /**\n     * \\@internal\n     * @param {?} formState\n     * @return {?}\n     */\n    _isBoxedValue(formState) {\n        return typeof formState === 'object' && formState !== null &&\n            Object.keys(formState).length === 2 && 'value' in formState && 'disabled' in formState;\n    }\n    /**\n     * \\@internal\n     * @param {?} fn\n     * @return {?}\n     */\n    _registerOnCollectionChange(fn) { this._onCollectionChange = fn; }\n    /**\n     * \\@internal\n     * @param {?=} opts\n     * @return {?}\n     */\n    _setUpdateStrategy(opts) {\n        if (isOptionsObj(opts) && ((/** @type {?} */ (opts))).updateOn != null) {\n            this._updateOn = (/** @type {?} */ (((/** @type {?} */ (opts))).updateOn));\n        }\n    }\n    /**\n     * Check to see if parent has been marked artificially dirty.\n     *\n     * \\@internal\n     * @private\n     * @param {?=} onlySelf\n     * @return {?}\n     */\n    _parentMarkedDirty(onlySelf) {\n        /** @type {?} */\n        const parentDirty = this._parent && this._parent.dirty;\n        return !onlySelf && parentDirty && !this._parent._anyControlsDirty();\n    }\n}\nif (false) {}\n/**\n * Tracks the value and validation status of an individual form control.\n *\n * This is one of the three fundamental building blocks of Angular forms, along with\n * `FormGroup` and `FormArray`. It extends the `AbstractControl` class that\n * implements most of the base functionality for accessing the value, validation status,\n * user interactions and events.\n *\n * @see `AbstractControl`\n * @see [Reactive Forms Guide](guide/reactive-forms)\n * @see [Usage Notes](#usage-notes)\n *\n * \\@usageNotes\n *\n * ### Initializing Form Controls\n *\n * Instantiate a `FormControl`, with an initial value.\n *\n * ```ts\n * const control = new FormControl('some value');\n * console.log(control.value);     // 'some value'\n * ```\n *\n * The following example initializes the control with a form state object. The `value`\n * and `disabled` keys are required in this case.\n *\n * ```ts\n * const control = new FormControl({ value: 'n/a', disabled: true });\n * console.log(control.value);     // 'n/a'\n * console.log(control.status);    // 'DISABLED'\n * ```\n *\n * The following example initializes the control with a sync validator.\n *\n * ```ts\n * const control = new FormControl('', Validators.required);\n * console.log(control.value);      // ''\n * console.log(control.status);     // 'INVALID'\n * ```\n *\n * The following example initializes the control using an options object.\n *\n * ```ts\n * const control = new FormControl('', {\n *    validators: Validators.required,\n *    asyncValidators: myAsyncValidator\n * });\n * ```\n *\n * ### Configure the control to update on a blur event\n *\n * Set the `updateOn` option to `'blur'` to update on the blur `event`.\n *\n * ```ts\n * const control = new FormControl('', { updateOn: 'blur' });\n * ```\n *\n * ### Configure the control to update on a submit event\n *\n * Set the `updateOn` option to `'submit'` to update on a submit `event`.\n *\n * ```ts\n * const control = new FormControl('', { updateOn: 'submit' });\n * ```\n *\n * ### Reset the control back to an initial value\n *\n * You reset to a specific form state by passing through a standalone\n * value or a form state object that contains both a value and a disabled state\n * (these are the only two properties that cannot be calculated).\n *\n * ```ts\n * const control = new FormControl('Nancy');\n *\n * console.log(control.value); // 'Nancy'\n *\n * control.reset('Drew');\n *\n * console.log(control.value); // 'Drew'\n * ```\n *\n * ### Reset the control back to an initial value and disabled\n *\n * ```\n * const control = new FormControl('Nancy');\n *\n * console.log(control.value); // 'Nancy'\n * console.log(control.status); // 'VALID'\n *\n * control.reset({ value: 'Drew', disabled: true });\n *\n * console.log(control.value); // 'Drew'\n * console.log(control.status); // 'DISABLED'\n * ```\n *\n * \\@publicApi\n */\nclass FormControl extends AbstractControl {\n    /**\n     * Creates a new `FormControl` instance.\n     *\n     * @param {?=} formState Initializes the control with an initial value,\n     * or an object that defines the initial value and disabled state.\n     *\n     * @param {?=} validatorOrOpts A synchronous validator function, or an array of\n     * such functions, or an `AbstractControlOptions` object that contains validation functions\n     * and a validation trigger.\n     *\n     * @param {?=} asyncValidator A single async validator or array of async validator functions\n     *\n     */\n    constructor(formState = null, validatorOrOpts, asyncValidator) {\n        super(coerceToValidator(validatorOrOpts), coerceToAsyncValidator(asyncValidator, validatorOrOpts));\n        /**\n         * \\@internal\n         */\n        this._onChange = [];\n        this._applyFormState(formState);\n        this._setUpdateStrategy(validatorOrOpts);\n        this.updateValueAndValidity({ onlySelf: true, emitEvent: false });\n        this._initObservables();\n    }\n    /**\n     * Sets a new value for the form control.\n     *\n     * @param {?} value The new value for the control.\n     * @param {?=} options Configuration options that determine how the control propagates changes\n     * and emits events when the value changes.\n     * The configuration options are passed to the {\\@link AbstractControl#updateValueAndValidity\n     * updateValueAndValidity} method.\n     *\n     * * `onlySelf`: When true, each change only affects this control, and not its parent. Default is\n     * false.\n     * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n     * `valueChanges`\n     * observables emit events with the latest status and value when the control value is updated.\n     * When false, no events are emitted.\n     * * `emitModelToViewChange`: When true or not supplied  (the default), each change triggers an\n     * `onChange` event to\n     * update the view.\n     * * `emitViewToModelChange`: When true or not supplied (the default), each change triggers an\n     * `ngModelChange`\n     * event to update the model.\n     *\n     * @return {?}\n     */\n    setValue(value, options = {}) {\n        ((/** @type {?} */ (this))).value = this._pendingValue = value;\n        if (this._onChange.length && options.emitModelToViewChange !== false) {\n            this._onChange.forEach((/**\n             * @param {?} changeFn\n             * @return {?}\n             */\n            (changeFn) => changeFn(this.value, options.emitViewToModelChange !== false)));\n        }\n        this.updateValueAndValidity(options);\n    }\n    /**\n     * Patches the value of a control.\n     *\n     * This function is functionally the same as {\\@link FormControl#setValue setValue} at this level.\n     * It exists for symmetry with {\\@link FormGroup#patchValue patchValue} on `FormGroups` and\n     * `FormArrays`, where it does behave differently.\n     *\n     * @see `setValue` for options\n     * @param {?} value\n     * @param {?=} options\n     * @return {?}\n     */\n    patchValue(value, options = {}) {\n        this.setValue(value, options);\n    }\n    /**\n     * Resets the form control, marking it `pristine` and `untouched`, and setting\n     * the value to null.\n     *\n     * @param {?=} formState Resets the control with an initial value,\n     * or an object that defines the initial value and disabled state.\n     *\n     * @param {?=} options Configuration options that determine how the control propagates changes\n     * and emits events after the value changes.\n     *\n     * * `onlySelf`: When true, each change only affects this control, and not its parent. Default is\n     * false.\n     * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n     * `valueChanges`\n     * observables emit events with the latest status and value when the control is reset.\n     * When false, no events are emitted.\n     *\n     * @return {?}\n     */\n    reset(formState = null, options = {}) {\n        this._applyFormState(formState);\n        this.markAsPristine(options);\n        this.markAsUntouched(options);\n        this.setValue(this.value, options);\n        this._pendingChange = false;\n    }\n    /**\n     * \\@internal\n     * @return {?}\n     */\n    _updateValue() { }\n    /**\n     * \\@internal\n     * @param {?} condition\n     * @return {?}\n     */\n    _anyControls(condition) { return false; }\n    /**\n     * \\@internal\n     * @return {?}\n     */\n    _allControlsDisabled() { return this.disabled; }\n    /**\n     * Register a listener for change events.\n     *\n     * @param {?} fn The method that is called when the value changes\n     * @return {?}\n     */\n    registerOnChange(fn) { this._onChange.push(fn); }\n    /**\n     * \\@internal\n     * @return {?}\n     */\n    _clearChangeFns() {\n        this._onChange = [];\n        this._onDisabledChange = [];\n        this._onCollectionChange = (/**\n         * @return {?}\n         */\n        () => { });\n    }\n    /**\n     * Register a listener for disabled events.\n     *\n     * @param {?} fn The method that is called when the disabled status changes.\n     * @return {?}\n     */\n    registerOnDisabledChange(fn) {\n        this._onDisabledChange.push(fn);\n    }\n    /**\n     * \\@internal\n     * @param {?} cb\n     * @return {?}\n     */\n    _forEachChild(cb) { }\n    /**\n     * \\@internal\n     * @return {?}\n     */\n    _syncPendingControls() {\n        if (this.updateOn === 'submit') {\n            if (this._pendingDirty)\n                this.markAsDirty();\n            if (this._pendingTouched)\n                this.markAsTouched();\n            if (this._pendingChange) {\n                this.setValue(this._pendingValue, { onlySelf: true, emitModelToViewChange: false });\n                return true;\n            }\n        }\n        return false;\n    }\n    /**\n     * @private\n     * @param {?} formState\n     * @return {?}\n     */\n    _applyFormState(formState) {\n        if (this._isBoxedValue(formState)) {\n            ((/** @type {?} */ (this))).value = this._pendingValue = formState.value;\n            formState.disabled ? this.disable({ onlySelf: true, emitEvent: false }) :\n                this.enable({ onlySelf: true, emitEvent: false });\n        }\n        else {\n            ((/** @type {?} */ (this))).value = this._pendingValue = formState;\n        }\n    }\n}\nif (false) {}\n/**\n * Tracks the value and validity state of a group of `FormControl` instances.\n *\n * A `FormGroup` aggregates the values of each child `FormControl` into one object,\n * with each control name as the key.  It calculates its status by reducing the status values\n * of its children. For example, if one of the controls in a group is invalid, the entire\n * group becomes invalid.\n *\n * `FormGroup` is one of the three fundamental building blocks used to define forms in Angular,\n * along with `FormControl` and `FormArray`.\n *\n * When instantiating a `FormGroup`, pass in a collection of child controls as the first\n * argument. The key for each child registers the name for the control.\n *\n * \\@usageNotes\n *\n * ### Create a form group with 2 controls\n *\n * ```\n * const form = new FormGroup({\n *   first: new FormControl('Nancy', Validators.minLength(2)),\n *   last: new FormControl('Drew'),\n * });\n *\n * console.log(form.value);   // {first: 'Nancy', last; 'Drew'}\n * console.log(form.status);  // 'VALID'\n * ```\n *\n * ### Create a form group with a group-level validator\n *\n * You include group-level validators as the second arg, or group-level async\n * validators as the third arg. These come in handy when you want to perform validation\n * that considers the value of more than one child control.\n *\n * ```\n * const form = new FormGroup({\n *   password: new FormControl('', Validators.minLength(2)),\n *   passwordConfirm: new FormControl('', Validators.minLength(2)),\n * }, passwordMatchValidator);\n *\n *\n * function passwordMatchValidator(g: FormGroup) {\n *    return g.get('password').value === g.get('passwordConfirm').value\n *       ? null : {'mismatch': true};\n * }\n * ```\n *\n * Like `FormControl` instances, you choose to pass in\n * validators and async validators as part of an options object.\n *\n * ```\n * const form = new FormGroup({\n *   password: new FormControl('')\n *   passwordConfirm: new FormControl('')\n * }, { validators: passwordMatchValidator, asyncValidators: otherValidator });\n * ```\n *\n * ### Set the updateOn property for all controls in a form group\n *\n * The options object is used to set a default value for each child\n * control's `updateOn` property. If you set `updateOn` to `'blur'` at the\n * group level, all child controls default to 'blur', unless the child\n * has explicitly specified a different `updateOn` value.\n *\n * ```ts\n * const c = new FormGroup({\n *   one: new FormControl()\n * }, { updateOn: 'blur' });\n * ```\n *\n * \\@publicApi\n */\nclass FormGroup extends AbstractControl {\n    /**\n     * Creates a new `FormGroup` instance.\n     *\n     * @param {?} controls A collection of child controls. The key for each child is the name\n     * under which it is registered.\n     *\n     * @param {?=} validatorOrOpts A synchronous validator function, or an array of\n     * such functions, or an `AbstractControlOptions` object that contains validation functions\n     * and a validation trigger.\n     *\n     * @param {?=} asyncValidator A single async validator or array of async validator functions\n     *\n     */\n    constructor(controls, validatorOrOpts, asyncValidator) {\n        super(coerceToValidator(validatorOrOpts), coerceToAsyncValidator(asyncValidator, validatorOrOpts));\n        this.controls = controls;\n        this._initObservables();\n        this._setUpdateStrategy(validatorOrOpts);\n        this._setUpControls();\n        this.updateValueAndValidity({ onlySelf: true, emitEvent: false });\n    }\n    /**\n     * Registers a control with the group's list of controls.\n     *\n     * This method does not update the value or validity of the control.\n     * Use {\\@link FormGroup#addControl addControl} instead.\n     *\n     * @param {?} name The control name to register in the collection\n     * @param {?} control Provides the control for the given name\n     * @return {?}\n     */\n    registerControl(name, control) {\n        if (this.controls[name])\n            return this.controls[name];\n        this.controls[name] = control;\n        control.setParent(this);\n        control._registerOnCollectionChange(this._onCollectionChange);\n        return control;\n    }\n    /**\n     * Add a control to this group.\n     *\n     * This method also updates the value and validity of the control.\n     *\n     * @param {?} name The control name to add to the collection\n     * @param {?} control Provides the control for the given name\n     * @return {?}\n     */\n    addControl(name, control) {\n        this.registerControl(name, control);\n        this.updateValueAndValidity();\n        this._onCollectionChange();\n    }\n    /**\n     * Remove a control from this group.\n     *\n     * @param {?} name The control name to remove from the collection\n     * @return {?}\n     */\n    removeControl(name) {\n        if (this.controls[name])\n            this.controls[name]._registerOnCollectionChange((/**\n             * @return {?}\n             */\n            () => { }));\n        delete (this.controls[name]);\n        this.updateValueAndValidity();\n        this._onCollectionChange();\n    }\n    /**\n     * Replace an existing control.\n     *\n     * @param {?} name The control name to replace in the collection\n     * @param {?} control Provides the control for the given name\n     * @return {?}\n     */\n    setControl(name, control) {\n        if (this.controls[name])\n            this.controls[name]._registerOnCollectionChange((/**\n             * @return {?}\n             */\n            () => { }));\n        delete (this.controls[name]);\n        if (control)\n            this.registerControl(name, control);\n        this.updateValueAndValidity();\n        this._onCollectionChange();\n    }\n    /**\n     * Check whether there is an enabled control with the given name in the group.\n     *\n     * Reports false for disabled controls. If you'd like to check for existence in the group\n     * only, use {\\@link AbstractControl#get get} instead.\n     *\n     * @param {?} controlName The control name to check for existence in the collection\n     *\n     * @return {?} false for disabled controls, true otherwise.\n     */\n    contains(controlName) {\n        return this.controls.hasOwnProperty(controlName) && this.controls[controlName].enabled;\n    }\n    /**\n     * Sets the value of the `FormGroup`. It accepts an object that matches\n     * the structure of the group, with control names as keys.\n     *\n     * \\@usageNotes\n     * ### Set the complete value for the form group\n     *\n     * ```\n     * const form = new FormGroup({\n     *   first: new FormControl(),\n     *   last: new FormControl()\n     * });\n     *\n     * console.log(form.value);   // {first: null, last: null}\n     *\n     * form.setValue({first: 'Nancy', last: 'Drew'});\n     * console.log(form.value);   // {first: 'Nancy', last: 'Drew'}\n     * ```\n     *\n     * @throws When strict checks fail, such as setting the value of a control\n     * that doesn't exist or if you exclude a value of a control that does exist.\n     *\n     * @param {?} value The new value for the control that matches the structure of the group.\n     * @param {?=} options Configuration options that determine how the control propagates changes\n     * and emits events after the value changes.\n     * The configuration options are passed to the {\\@link AbstractControl#updateValueAndValidity\n     * updateValueAndValidity} method.\n     *\n     * * `onlySelf`: When true, each change only affects this control, and not its parent. Default is\n     * false.\n     * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n     * `valueChanges`\n     * observables emit events with the latest status and value when the control value is updated.\n     * When false, no events are emitted.\n     * @return {?}\n     */\n    setValue(value, options = {}) {\n        this._checkAllValuesPresent(value);\n        Object.keys(value).forEach((/**\n         * @param {?} name\n         * @return {?}\n         */\n        name => {\n            this._throwIfControlMissing(name);\n            this.controls[name].setValue(value[name], { onlySelf: true, emitEvent: options.emitEvent });\n        }));\n        this.updateValueAndValidity(options);\n    }\n    /**\n     * Patches the value of the `FormGroup`. It accepts an object with control\n     * names as keys, and does its best to match the values to the correct controls\n     * in the group.\n     *\n     * It accepts both super-sets and sub-sets of the group without throwing an error.\n     *\n     * \\@usageNotes\n     * ### Patch the value for a form group\n     *\n     * ```\n     * const form = new FormGroup({\n     *    first: new FormControl(),\n     *    last: new FormControl()\n     * });\n     * console.log(form.value);   // {first: null, last: null}\n     *\n     * form.patchValue({first: 'Nancy'});\n     * console.log(form.value);   // {first: 'Nancy', last: null}\n     * ```\n     *\n     * @param {?} value The object that matches the structure of the group.\n     * @param {?=} options Configuration options that determine how the control propagates changes and\n     * emits events after the value is patched.\n     * * `onlySelf`: When true, each change only affects this control and not its parent. Default is\n     * true.\n     * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n     * `valueChanges`\n     * observables emit events with the latest status and value when the control value is updated.\n     * When false, no events are emitted.\n     * The configuration options are passed to the {\\@link AbstractControl#updateValueAndValidity\n     * updateValueAndValidity} method.\n     * @return {?}\n     */\n    patchValue(value, options = {}) {\n        Object.keys(value).forEach((/**\n         * @param {?} name\n         * @return {?}\n         */\n        name => {\n            if (this.controls[name]) {\n                this.controls[name].patchValue(value[name], { onlySelf: true, emitEvent: options.emitEvent });\n            }\n        }));\n        this.updateValueAndValidity(options);\n    }\n    /**\n     * Resets the `FormGroup`, marks all descendants are marked `pristine` and `untouched`, and\n     * the value of all descendants to null.\n     *\n     * You reset to a specific form state by passing in a map of states\n     * that matches the structure of your form, with control names as keys. The state\n     * is a standalone value or a form state object with both a value and a disabled\n     * status.\n     *\n     * \\@usageNotes\n     *\n     * ### Reset the form group values\n     *\n     * ```ts\n     * const form = new FormGroup({\n     *   first: new FormControl('first name'),\n     *   last: new FormControl('last name')\n     * });\n     *\n     * console.log(form.value);  // {first: 'first name', last: 'last name'}\n     *\n     * form.reset({ first: 'name', last: 'last name' });\n     *\n     * console.log(form.value);  // {first: 'name', last: 'last name'}\n     * ```\n     *\n     * ### Reset the form group values and disabled status\n     *\n     * ```\n     * const form = new FormGroup({\n     *   first: new FormControl('first name'),\n     *   last: new FormControl('last name')\n     * });\n     *\n     * form.reset({\n     *   first: {value: 'name', disabled: true},\n     *   last: 'last'\n     * });\n     *\n     * console.log(this.form.value);  // {first: 'name', last: 'last name'}\n     * console.log(this.form.get('first').status);  // 'DISABLED'\n     * ```\n     * @param {?=} value Resets the control with an initial value,\n     * or an object that defines the initial value and disabled state.\n     *\n     * @param {?=} options Configuration options that determine how the control propagates changes\n     * and emits events when the group is reset.\n     * * `onlySelf`: When true, each change only affects this control, and not its parent. Default is\n     * false.\n     * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n     * `valueChanges`\n     * observables emit events with the latest status and value when the control is reset.\n     * When false, no events are emitted.\n     * The configuration options are passed to the {\\@link AbstractControl#updateValueAndValidity\n     * updateValueAndValidity} method.\n     *\n     * @return {?}\n     */\n    reset(value = {}, options = {}) {\n        this._forEachChild((/**\n         * @param {?} control\n         * @param {?} name\n         * @return {?}\n         */\n        (control, name) => {\n            control.reset(value[name], { onlySelf: true, emitEvent: options.emitEvent });\n        }));\n        this._updatePristine(options);\n        this._updateTouched(options);\n        this.updateValueAndValidity(options);\n    }\n    /**\n     * The aggregate value of the `FormGroup`, including any disabled controls.\n     *\n     * Retrieves all values regardless of disabled status.\n     * The `value` property is the best way to get the value of the group, because\n     * it excludes disabled controls in the `FormGroup`.\n     * @return {?}\n     */\n    getRawValue() {\n        return this._reduceChildren({}, (/**\n         * @param {?} acc\n         * @param {?} control\n         * @param {?} name\n         * @return {?}\n         */\n        (acc, control, name) => {\n            acc[name] = control instanceof FormControl ? control.value : ((/** @type {?} */ (control))).getRawValue();\n            return acc;\n        }));\n    }\n    /**\n     * \\@internal\n     * @return {?}\n     */\n    _syncPendingControls() {\n        /** @type {?} */\n        let subtreeUpdated = this._reduceChildren(false, (/**\n         * @param {?} updated\n         * @param {?} child\n         * @return {?}\n         */\n        (updated, child) => {\n            return child._syncPendingControls() ? true : updated;\n        }));\n        if (subtreeUpdated)\n            this.updateValueAndValidity({ onlySelf: true });\n        return subtreeUpdated;\n    }\n    /**\n     * \\@internal\n     * @param {?} name\n     * @return {?}\n     */\n    _throwIfControlMissing(name) {\n        if (!Object.keys(this.controls).length) {\n            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      `);\n        }\n        if (!this.controls[name]) {\n            throw new Error(`Cannot find form control with name: ${name}.`);\n        }\n    }\n    /**\n     * \\@internal\n     * @param {?} cb\n     * @return {?}\n     */\n    _forEachChild(cb) {\n        Object.keys(this.controls).forEach((/**\n         * @param {?} k\n         * @return {?}\n         */\n        k => cb(this.controls[k], k)));\n    }\n    /**\n     * \\@internal\n     * @return {?}\n     */\n    _setUpControls() {\n        this._forEachChild((/**\n         * @param {?} control\n         * @return {?}\n         */\n        (control) => {\n            control.setParent(this);\n            control._registerOnCollectionChange(this._onCollectionChange);\n        }));\n    }\n    /**\n     * \\@internal\n     * @return {?}\n     */\n    _updateValue() { ((/** @type {?} */ (this))).value = this._reduceValue(); }\n    /**\n     * \\@internal\n     * @param {?} condition\n     * @return {?}\n     */\n    _anyControls(condition) {\n        /** @type {?} */\n        let res = false;\n        this._forEachChild((/**\n         * @param {?} control\n         * @param {?} name\n         * @return {?}\n         */\n        (control, name) => {\n            res = res || (this.contains(name) && condition(control));\n        }));\n        return res;\n    }\n    /**\n     * \\@internal\n     * @return {?}\n     */\n    _reduceValue() {\n        return this._reduceChildren({}, (/**\n         * @param {?} acc\n         * @param {?} control\n         * @param {?} name\n         * @return {?}\n         */\n        (acc, control, name) => {\n            if (control.enabled || this.disabled) {\n                acc[name] = control.value;\n            }\n            return acc;\n        }));\n    }\n    /**\n     * \\@internal\n     * @param {?} initValue\n     * @param {?} fn\n     * @return {?}\n     */\n    _reduceChildren(initValue, fn) {\n        /** @type {?} */\n        let res = initValue;\n        this._forEachChild((/**\n         * @param {?} control\n         * @param {?} name\n         * @return {?}\n         */\n        (control, name) => { res = fn(res, control, name); }));\n        return res;\n    }\n    /**\n     * \\@internal\n     * @return {?}\n     */\n    _allControlsDisabled() {\n        for (const controlName of Object.keys(this.controls)) {\n            if (this.controls[controlName].enabled) {\n                return false;\n            }\n        }\n        return Object.keys(this.controls).length > 0 || this.disabled;\n    }\n    /**\n     * \\@internal\n     * @param {?} value\n     * @return {?}\n     */\n    _checkAllValuesPresent(value) {\n        this._forEachChild((/**\n         * @param {?} control\n         * @param {?} name\n         * @return {?}\n         */\n        (control, name) => {\n            if (value[name] === undefined) {\n                throw new Error(`Must supply a value for form control with name: '${name}'.`);\n            }\n        }));\n    }\n}\nif (false) {}\n/**\n * Tracks the value and validity state of an array of `FormControl`,\n * `FormGroup` or `FormArray` instances.\n *\n * A `FormArray` aggregates the values of each child `FormControl` into an array.\n * It calculates its status by reducing the status values of its children. For example, if one of\n * the controls in a `FormArray` is invalid, the entire array becomes invalid.\n *\n * `FormArray` is one of the three fundamental building blocks used to define forms in Angular,\n * along with `FormControl` and `FormGroup`.\n *\n * \\@usageNotes\n *\n * ### Create an array of form controls\n *\n * ```\n * const arr = new FormArray([\n *   new FormControl('Nancy', Validators.minLength(2)),\n *   new FormControl('Drew'),\n * ]);\n *\n * console.log(arr.value);   // ['Nancy', 'Drew']\n * console.log(arr.status);  // 'VALID'\n * ```\n *\n * ### Create a form array with array-level validators\n *\n * You include array-level validators and async validators. These come in handy\n * when you want to perform validation that considers the value of more than one child\n * control.\n *\n * The two types of validators are passed in separately as the second and third arg\n * respectively, or together as part of an options object.\n *\n * ```\n * const arr = new FormArray([\n *   new FormControl('Nancy'),\n *   new FormControl('Drew')\n * ], {validators: myValidator, asyncValidators: myAsyncValidator});\n * ```\n *\n * ### Set the updateOn property for all controls in a form array\n *\n * The options object is used to set a default value for each child\n * control's `updateOn` property. If you set `updateOn` to `'blur'` at the\n * array level, all child controls default to 'blur', unless the child\n * has explicitly specified a different `updateOn` value.\n *\n * ```ts\n * const arr = new FormArray([\n *    new FormControl()\n * ], {updateOn: 'blur'});\n * ```\n *\n * ### Adding or removing controls from a form array\n *\n * To change the controls in the array, use the `push`, `insert`, `removeAt` or `clear` methods\n * in `FormArray` itself. These methods ensure the controls are properly tracked in the\n * form's hierarchy. Do not modify the array of `AbstractControl`s used to instantiate\n * the `FormArray` directly, as that result in strange and unexpected behavior such\n * as broken change detection.\n *\n * \\@publicApi\n */\nclass FormArray extends AbstractControl {\n    /**\n     * Creates a new `FormArray` instance.\n     *\n     * @param {?} controls An array of child controls. Each child control is given an index\n     * where it is registered.\n     *\n     * @param {?=} validatorOrOpts A synchronous validator function, or an array of\n     * such functions, or an `AbstractControlOptions` object that contains validation functions\n     * and a validation trigger.\n     *\n     * @param {?=} asyncValidator A single async validator or array of async validator functions\n     *\n     */\n    constructor(controls, validatorOrOpts, asyncValidator) {\n        super(coerceToValidator(validatorOrOpts), coerceToAsyncValidator(asyncValidator, validatorOrOpts));\n        this.controls = controls;\n        this._initObservables();\n        this._setUpdateStrategy(validatorOrOpts);\n        this._setUpControls();\n        this.updateValueAndValidity({ onlySelf: true, emitEvent: false });\n    }\n    /**\n     * Get the `AbstractControl` at the given `index` in the array.\n     *\n     * @param {?} index Index in the array to retrieve the control\n     * @return {?}\n     */\n    at(index) { return this.controls[index]; }\n    /**\n     * Insert a new `AbstractControl` at the end of the array.\n     *\n     * @param {?} control Form control to be inserted\n     * @return {?}\n     */\n    push(control) {\n        this.controls.push(control);\n        this._registerControl(control);\n        this.updateValueAndValidity();\n        this._onCollectionChange();\n    }\n    /**\n     * Insert a new `AbstractControl` at the given `index` in the array.\n     *\n     * @param {?} index Index in the array to insert the control\n     * @param {?} control Form control to be inserted\n     * @return {?}\n     */\n    insert(index, control) {\n        this.controls.splice(index, 0, control);\n        this._registerControl(control);\n        this.updateValueAndValidity();\n    }\n    /**\n     * Remove the control at the given `index` in the array.\n     *\n     * @param {?} index Index in the array to remove the control\n     * @return {?}\n     */\n    removeAt(index) {\n        if (this.controls[index])\n            this.controls[index]._registerOnCollectionChange((/**\n             * @return {?}\n             */\n            () => { }));\n        this.controls.splice(index, 1);\n        this.updateValueAndValidity();\n    }\n    /**\n     * Replace an existing control.\n     *\n     * @param {?} index Index in the array to replace the control\n     * @param {?} control The `AbstractControl` control to replace the existing control\n     * @return {?}\n     */\n    setControl(index, control) {\n        if (this.controls[index])\n            this.controls[index]._registerOnCollectionChange((/**\n             * @return {?}\n             */\n            () => { }));\n        this.controls.splice(index, 1);\n        if (control) {\n            this.controls.splice(index, 0, control);\n            this._registerControl(control);\n        }\n        this.updateValueAndValidity();\n        this._onCollectionChange();\n    }\n    /**\n     * Length of the control array.\n     * @return {?}\n     */\n    get length() { return this.controls.length; }\n    /**\n     * Sets the value of the `FormArray`. It accepts an array that matches\n     * the structure of the control.\n     *\n     * This method performs strict checks, and throws an error if you try\n     * to set the value of a control that doesn't exist or if you exclude the\n     * value of a control.\n     *\n     * \\@usageNotes\n     * ### Set the values for the controls in the form array\n     *\n     * ```\n     * const arr = new FormArray([\n     *   new FormControl(),\n     *   new FormControl()\n     * ]);\n     * console.log(arr.value);   // [null, null]\n     *\n     * arr.setValue(['Nancy', 'Drew']);\n     * console.log(arr.value);   // ['Nancy', 'Drew']\n     * ```\n     *\n     * @param {?} value Array of values for the controls\n     * @param {?=} options Configure options that determine how the control propagates changes and\n     * emits events after the value changes\n     *\n     * * `onlySelf`: When true, each change only affects this control, and not its parent. Default\n     * is false.\n     * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n     * `valueChanges`\n     * observables emit events with the latest status and value when the control value is updated.\n     * When false, no events are emitted.\n     * The configuration options are passed to the {\\@link AbstractControl#updateValueAndValidity\n     * updateValueAndValidity} method.\n     * @return {?}\n     */\n    setValue(value, options = {}) {\n        this._checkAllValuesPresent(value);\n        value.forEach((/**\n         * @param {?} newValue\n         * @param {?} index\n         * @return {?}\n         */\n        (newValue, index) => {\n            this._throwIfControlMissing(index);\n            this.at(index).setValue(newValue, { onlySelf: true, emitEvent: options.emitEvent });\n        }));\n        this.updateValueAndValidity(options);\n    }\n    /**\n     * Patches the value of the `FormArray`. It accepts an array that matches the\n     * structure of the control, and does its best to match the values to the correct\n     * controls in the group.\n     *\n     * It accepts both super-sets and sub-sets of the array without throwing an error.\n     *\n     * \\@usageNotes\n     * ### Patch the values for controls in a form array\n     *\n     * ```\n     * const arr = new FormArray([\n     *    new FormControl(),\n     *    new FormControl()\n     * ]);\n     * console.log(arr.value);   // [null, null]\n     *\n     * arr.patchValue(['Nancy']);\n     * console.log(arr.value);   // ['Nancy', null]\n     * ```\n     *\n     * @param {?} value Array of latest values for the controls\n     * @param {?=} options Configure options that determine how the control propagates changes and\n     * emits events after the value changes\n     *\n     * * `onlySelf`: When true, each change only affects this control, and not its parent. Default\n     * is false.\n     * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n     * `valueChanges`\n     * observables emit events with the latest status and value when the control value is updated.\n     * When false, no events are emitted.\n     * The configuration options are passed to the {\\@link AbstractControl#updateValueAndValidity\n     * updateValueAndValidity} method.\n     * @return {?}\n     */\n    patchValue(value, options = {}) {\n        value.forEach((/**\n         * @param {?} newValue\n         * @param {?} index\n         * @return {?}\n         */\n        (newValue, index) => {\n            if (this.at(index)) {\n                this.at(index).patchValue(newValue, { onlySelf: true, emitEvent: options.emitEvent });\n            }\n        }));\n        this.updateValueAndValidity(options);\n    }\n    /**\n     * Resets the `FormArray` and all descendants are marked `pristine` and `untouched`, and the\n     * value of all descendants to null or null maps.\n     *\n     * You reset to a specific form state by passing in an array of states\n     * that matches the structure of the control. The state is a standalone value\n     * or a form state object with both a value and a disabled status.\n     *\n     * \\@usageNotes\n     * ### Reset the values in a form array\n     *\n     * ```ts\n     * const arr = new FormArray([\n     *    new FormControl(),\n     *    new FormControl()\n     * ]);\n     * arr.reset(['name', 'last name']);\n     *\n     * console.log(this.arr.value);  // ['name', 'last name']\n     * ```\n     *\n     * ### Reset the values in a form array and the disabled status for the first control\n     *\n     * ```\n     * this.arr.reset([\n     *   {value: 'name', disabled: true},\n     *   'last'\n     * ]);\n     *\n     * console.log(this.arr.value);  // ['name', 'last name']\n     * console.log(this.arr.get(0).status);  // 'DISABLED'\n     * ```\n     *\n     * @param {?=} value Array of values for the controls\n     * @param {?=} options Configure options that determine how the control propagates changes and\n     * emits events after the value changes\n     *\n     * * `onlySelf`: When true, each change only affects this control, and not its parent. Default\n     * is false.\n     * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n     * `valueChanges`\n     * observables emit events with the latest status and value when the control is reset.\n     * When false, no events are emitted.\n     * The configuration options are passed to the {\\@link AbstractControl#updateValueAndValidity\n     * updateValueAndValidity} method.\n     * @return {?}\n     */\n    reset(value = [], options = {}) {\n        this._forEachChild((/**\n         * @param {?} control\n         * @param {?} index\n         * @return {?}\n         */\n        (control, index) => {\n            control.reset(value[index], { onlySelf: true, emitEvent: options.emitEvent });\n        }));\n        this._updatePristine(options);\n        this._updateTouched(options);\n        this.updateValueAndValidity(options);\n    }\n    /**\n     * The aggregate value of the array, including any disabled controls.\n     *\n     * Reports all values regardless of disabled status.\n     * For enabled controls only, the `value` property is the best way to get the value of the array.\n     * @return {?}\n     */\n    getRawValue() {\n        return this.controls.map((/**\n         * @param {?} control\n         * @return {?}\n         */\n        (control) => {\n            return control instanceof FormControl ? control.value : ((/** @type {?} */ (control))).getRawValue();\n        }));\n    }\n    /**\n     * Remove all controls in the `FormArray`.\n     *\n     * \\@usageNotes\n     * ### Remove all elements from a FormArray\n     *\n     * ```ts\n     * const arr = new FormArray([\n     *    new FormControl(),\n     *    new FormControl()\n     * ]);\n     * console.log(arr.length);  // 2\n     *\n     * arr.clear();\n     * console.log(arr.length);  // 0\n     * ```\n     *\n     * It's a simpler and more efficient alternative to removing all elements one by one:\n     *\n     * ```ts\n     * const arr = new FormArray([\n     *    new FormControl(),\n     *    new FormControl()\n     * ]);\n     *\n     * while (arr.length) {\n     *    arr.removeAt(0);\n     * }\n     * ```\n     * @return {?}\n     */\n    clear() {\n        if (this.controls.length < 1)\n            return;\n        this._forEachChild((/**\n         * @param {?} control\n         * @return {?}\n         */\n        (control) => control._registerOnCollectionChange((/**\n         * @return {?}\n         */\n        () => { }))));\n        this.controls.splice(0);\n        this.updateValueAndValidity();\n    }\n    /**\n     * \\@internal\n     * @return {?}\n     */\n    _syncPendingControls() {\n        /** @type {?} */\n        let subtreeUpdated = this.controls.reduce((/**\n         * @param {?} updated\n         * @param {?} child\n         * @return {?}\n         */\n        (updated, child) => {\n            return child._syncPendingControls() ? true : updated;\n        }), false);\n        if (subtreeUpdated)\n            this.updateValueAndValidity({ onlySelf: true });\n        return subtreeUpdated;\n    }\n    /**\n     * \\@internal\n     * @param {?} index\n     * @return {?}\n     */\n    _throwIfControlMissing(index) {\n        if (!this.controls.length) {\n            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      `);\n        }\n        if (!this.at(index)) {\n            throw new Error(`Cannot find form control at index ${index}`);\n        }\n    }\n    /**\n     * \\@internal\n     * @param {?} cb\n     * @return {?}\n     */\n    _forEachChild(cb) {\n        this.controls.forEach((/**\n         * @param {?} control\n         * @param {?} index\n         * @return {?}\n         */\n        (control, index) => { cb(control, index); }));\n    }\n    /**\n     * \\@internal\n     * @return {?}\n     */\n    _updateValue() {\n        ((/** @type {?} */ (this))).value =\n            this.controls.filter((/**\n             * @param {?} control\n             * @return {?}\n             */\n            (control) => control.enabled || this.disabled))\n                .map((/**\n             * @param {?} control\n             * @return {?}\n             */\n            (control) => control.value));\n    }\n    /**\n     * \\@internal\n     * @param {?} condition\n     * @return {?}\n     */\n    _anyControls(condition) {\n        return this.controls.some((/**\n         * @param {?} control\n         * @return {?}\n         */\n        (control) => control.enabled && condition(control)));\n    }\n    /**\n     * \\@internal\n     * @return {?}\n     */\n    _setUpControls() {\n        this._forEachChild((/**\n         * @param {?} control\n         * @return {?}\n         */\n        (control) => this._registerControl(control)));\n    }\n    /**\n     * \\@internal\n     * @param {?} value\n     * @return {?}\n     */\n    _checkAllValuesPresent(value) {\n        this._forEachChild((/**\n         * @param {?} control\n         * @param {?} i\n         * @return {?}\n         */\n        (control, i) => {\n            if (value[i] === undefined) {\n                throw new Error(`Must supply a value for form control at index: ${i}.`);\n            }\n        }));\n    }\n    /**\n     * \\@internal\n     * @return {?}\n     */\n    _allControlsDisabled() {\n        for (const control of this.controls) {\n            if (control.enabled)\n                return false;\n        }\n        return this.controls.length > 0 || this.disabled;\n    }\n    /**\n     * @private\n     * @param {?} control\n     * @return {?}\n     */\n    _registerControl(control) {\n        control.setParent(this);\n        control._registerOnCollectionChange(this._onCollectionChange);\n    }\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst formDirectiveProvider = {\n    provide: ControlContainer,\n    useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])((/**\n     * @return {?}\n     */\n    () => NgForm))\n};\nconst ɵ0 = /**\n * @return {?}\n */\n() => Promise.resolve(null);\n/** @type {?} */\nconst resolvedPromise = ((ɵ0))();\n/**\n * \\@description\n * Creates a top-level `FormGroup` instance and binds it to a form\n * to track aggregate form value and validation status.\n *\n * As soon as you import the `FormsModule`, this directive becomes active by default on\n * all `<form>` tags.  You don't need to add a special selector.\n *\n * You optionally export the directive into a local template variable using `ngForm` as the key\n * (ex: `#myForm=\"ngForm\"`). This is optional, but useful.  Many properties from the underlying\n * `FormGroup` instance are duplicated on the directive itself, so a reference to it\n * gives you access to the aggregate value and validity status of the form, as well as\n * user interaction properties like `dirty` and `touched`.\n *\n * To register child controls with the form, use `NgModel` with a `name`\n * attribute. You may use `NgModelGroup` to create sub-groups within the form.\n *\n * If necessary, listen to the directive's `ngSubmit` event to be notified when the user has\n * triggered a form submission. The `ngSubmit` event emits the original form\n * submission event.\n *\n * In template driven forms, all `<form>` tags are automatically tagged as `NgForm`.\n * To import the `FormsModule` but skip its usage in some forms,\n * for example, to use native HTML5 validation, add the `ngNoForm` and the `<form>`\n * tags won't create an `NgForm` directive. In reactive forms, using `ngNoForm` is\n * unnecessary because the `<form>` tags are inert. In that case, you would\n * refrain from using the `formGroup` directive.\n *\n * \\@usageNotes\n *\n * ### Migrating from deprecated ngForm selector\n *\n * Support for using `ngForm` element selector has been deprecated in Angular v6 and will be removed\n * in Angular v9.\n *\n * This has been deprecated to keep selectors consistent with other core Angular selectors,\n * as element selectors are typically written in kebab-case.\n *\n * Now deprecated:\n * ```html\n * <ngForm #myForm=\"ngForm\">\n * ```\n *\n * After:\n * ```html\n * <ng-form #myForm=\"ngForm\">\n * ```\n *\n * ### Listening for form submission\n *\n * The following example shows how to capture the form values from the \"ngSubmit\" event.\n *\n * {\\@example forms/ts/simpleForm/simple_form_example.ts region='Component'}\n *\n * ### Setting the update options\n *\n * The following example shows you how to change the \"updateOn\" option from its default using\n * ngFormOptions.\n *\n * ```html\n * <form [ngFormOptions]=\"{updateOn: 'blur'}\">\n *    <input name=\"one\" ngModel>  <!-- this ngModel will update on blur -->\n * </form>\n * ```\n *\n * \\@ngModule FormsModule\n * \\@publicApi\n */\nclass NgForm extends ControlContainer {\n    /**\n     * @param {?} validators\n     * @param {?} asyncValidators\n     */\n    constructor(validators, asyncValidators) {\n        super();\n        /**\n         * \\@description\n         * Returns whether the form submission has been triggered.\n         */\n        this.submitted = false;\n        this._directives = [];\n        /**\n         * \\@description\n         * Event emitter for the \"ngSubmit\" event\n         */\n        this.ngSubmit = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"EventEmitter\"]();\n        this.form =\n            new FormGroup({}, composeValidators(validators), composeAsyncValidators(asyncValidators));\n    }\n    /**\n     * \\@description\n     * Lifecycle method called after the view is initialized. For internal use only.\n     * @return {?}\n     */\n    ngAfterViewInit() { this._setUpdateStrategy(); }\n    /**\n     * \\@description\n     * The directive instance.\n     * @return {?}\n     */\n    get formDirective() { return this; }\n    /**\n     * \\@description\n     * The internal `FormGroup` instance.\n     * @return {?}\n     */\n    get control() { return this.form; }\n    /**\n     * \\@description\n     * Returns an array representing the path to this group. Because this directive\n     * always lives at the top level of a form, it is always an empty array.\n     * @return {?}\n     */\n    get path() { return []; }\n    /**\n     * \\@description\n     * Returns a map of the controls in this group.\n     * @return {?}\n     */\n    get controls() { return this.form.controls; }\n    /**\n     * \\@description\n     * Method that sets up the control directive in this group, re-calculates its value\n     * and validity, and adds the instance to the internal list of directives.\n     *\n     * @param {?} dir The `NgModel` directive instance.\n     * @return {?}\n     */\n    addControl(dir) {\n        resolvedPromise.then((/**\n         * @return {?}\n         */\n        () => {\n            /** @type {?} */\n            const container = this._findContainer(dir.path);\n            ((/** @type {?} */ (dir))).control =\n                (/** @type {?} */ (container.registerControl(dir.name, dir.control)));\n            setUpControl(dir.control, dir);\n            dir.control.updateValueAndValidity({ emitEvent: false });\n            this._directives.push(dir);\n        }));\n    }\n    /**\n     * \\@description\n     * Retrieves the `FormControl` instance from the provided `NgModel` directive.\n     *\n     * @param {?} dir The `NgModel` directive instance.\n     * @return {?}\n     */\n    getControl(dir) { return (/** @type {?} */ (this.form.get(dir.path))); }\n    /**\n     * \\@description\n     * Removes the `NgModel` instance from the internal list of directives\n     *\n     * @param {?} dir The `NgModel` directive instance.\n     * @return {?}\n     */\n    removeControl(dir) {\n        resolvedPromise.then((/**\n         * @return {?}\n         */\n        () => {\n            /** @type {?} */\n            const container = this._findContainer(dir.path);\n            if (container) {\n                container.removeControl(dir.name);\n            }\n            removeDir(this._directives, dir);\n        }));\n    }\n    /**\n     * \\@description\n     * Adds a new `NgModelGroup` directive instance to the form.\n     *\n     * @param {?} dir The `NgModelGroup` directive instance.\n     * @return {?}\n     */\n    addFormGroup(dir) {\n        resolvedPromise.then((/**\n         * @return {?}\n         */\n        () => {\n            /** @type {?} */\n            const container = this._findContainer(dir.path);\n            /** @type {?} */\n            const group = new FormGroup({});\n            setUpFormContainer(group, dir);\n            container.registerControl(dir.name, group);\n            group.updateValueAndValidity({ emitEvent: false });\n        }));\n    }\n    /**\n     * \\@description\n     * Removes the `NgModelGroup` directive instance from the form.\n     *\n     * @param {?} dir The `NgModelGroup` directive instance.\n     * @return {?}\n     */\n    removeFormGroup(dir) {\n        resolvedPromise.then((/**\n         * @return {?}\n         */\n        () => {\n            /** @type {?} */\n            const container = this._findContainer(dir.path);\n            if (container) {\n                container.removeControl(dir.name);\n            }\n        }));\n    }\n    /**\n     * \\@description\n     * Retrieves the `FormGroup` for a provided `NgModelGroup` directive instance\n     *\n     * @param {?} dir The `NgModelGroup` directive instance.\n     * @return {?}\n     */\n    getFormGroup(dir) { return (/** @type {?} */ (this.form.get(dir.path))); }\n    /**\n     * Sets the new value for the provided `NgControl` directive.\n     *\n     * @param {?} dir The `NgControl` directive instance.\n     * @param {?} value The new value for the directive's control.\n     * @return {?}\n     */\n    updateModel(dir, value) {\n        resolvedPromise.then((/**\n         * @return {?}\n         */\n        () => {\n            /** @type {?} */\n            const ctrl = (/** @type {?} */ (this.form.get((/** @type {?} */ (dir.path)))));\n            ctrl.setValue(value);\n        }));\n    }\n    /**\n     * \\@description\n     * Sets the value for this `FormGroup`.\n     *\n     * @param {?} value The new value\n     * @return {?}\n     */\n    setValue(value) { this.control.setValue(value); }\n    /**\n     * \\@description\n     * Method called when the \"submit\" event is triggered on the form.\n     * Triggers the `ngSubmit` emitter to emit the \"submit\" event as its payload.\n     *\n     * @param {?} $event The \"submit\" event object\n     * @return {?}\n     */\n    onSubmit($event) {\n        ((/** @type {?} */ (this))).submitted = true;\n        syncPendingControls(this.form, this._directives);\n        this.ngSubmit.emit($event);\n        return false;\n    }\n    /**\n     * \\@description\n     * Method called when the \"reset\" event is triggered on the form.\n     * @return {?}\n     */\n    onReset() { this.resetForm(); }\n    /**\n     * \\@description\n     * Resets the form to an initial value and resets its submitted status.\n     *\n     * @param {?=} value The new value for the form.\n     * @return {?}\n     */\n    resetForm(value = undefined) {\n        this.form.reset(value);\n        ((/** @type {?} */ (this))).submitted = false;\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _setUpdateStrategy() {\n        if (this.options && this.options.updateOn != null) {\n            this.form._updateOn = this.options.updateOn;\n        }\n    }\n    /**\n     * \\@internal\n     * @param {?} path\n     * @return {?}\n     */\n    _findContainer(path) {\n        path.pop();\n        return path.length ? (/** @type {?} */ (this.form.get(path))) : this.form;\n    }\n}\nNgForm.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{\n                selector: 'form:not([ngNoForm]):not([formGroup]),ngForm,ng-form,[ngForm]',\n                providers: [formDirectiveProvider],\n                host: { '(submit)': 'onSubmit($event)', '(reset)': 'onReset()' },\n                outputs: ['ngSubmit'],\n                exportAs: 'ngForm'\n            },] }\n];\n/** @nocollapse */\nNgForm.ctorParameters = () => [\n    { type: Array, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [NG_VALIDATORS,] }] },\n    { type: Array, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [NG_ASYNC_VALIDATORS,] }] }\n];\nNgForm.propDecorators = {\n    options: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"], args: ['ngFormOptions',] }]\n};\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass TemplateDrivenErrors {\n    /**\n     * @return {?}\n     */\n    static modelParentException() {\n        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      ${FormErrorExamples.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      ${FormErrorExamples.ngModelWithFormGroup}`);\n    }\n    /**\n     * @return {?}\n     */\n    static formGroupNameException() {\n        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      ${FormErrorExamples.formGroupName}\n\n      Option 2:  Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n      ${FormErrorExamples.ngModelGroup}`);\n    }\n    /**\n     * @return {?}\n     */\n    static missingNameException() {\n        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: <input [(ngModel)]=\"person.firstName\" name=\"first\">\n      Example 2: <input [(ngModel)]=\"person.firstName\" [ngModelOptions]=\"{standalone: true}\">`);\n    }\n    /**\n     * @return {?}\n     */\n    static modelGroupParentException() {\n        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      ${FormErrorExamples.formGroupName}\n\n      Option 2:  Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n      ${FormErrorExamples.ngModelGroup}`);\n    }\n    /**\n     * @return {?}\n     */\n    static ngFormWarning() {\n        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    <ngForm #myForm=\"ngForm\">\n\n    After:\n    <ng-form #myForm=\"ngForm\">\n    `);\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@description\n * `InjectionToken` to provide to turn off the warning when using 'ngForm' deprecated selector.\n * @type {?}\n */\nconst NG_FORM_SELECTOR_WARNING = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('NgFormSelectorWarning');\n/**\n * This directive is solely used to display warnings when the deprecated `ngForm` selector is used.\n *\n * @deprecated in Angular v6 and will be removed in Angular v9.\n * \\@ngModule FormsModule\n * \\@publicApi\n */\nclass NgFormSelectorWarning {\n    /**\n     * @param {?} ngFormWarning\n     */\n    constructor(ngFormWarning) {\n        if (((!ngFormWarning || ngFormWarning === 'once') && !NgFormSelectorWarning._ngFormWarning) ||\n            ngFormWarning === 'always') {\n            TemplateDrivenErrors.ngFormWarning();\n            NgFormSelectorWarning._ngFormWarning = true;\n        }\n    }\n}\n/**\n * Static property used to track whether the deprecation warning for this selector has been sent.\n * Used to support warning config of \"once\".\n *\n * \\@internal\n */\nNgFormSelectorWarning._ngFormWarning = false;\nNgFormSelectorWarning.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: 'ngForm' },] }\n];\n/** @nocollapse */\nNgFormSelectorWarning.ctorParameters = () => [\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [NG_FORM_SELECTOR_WARNING,] }] }\n];\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@description\n * A base class for code shared between the `NgModelGroup` and `FormGroupName` directives.\n *\n * \\@publicApi\n */\nclass AbstractFormGroupDirective extends ControlContainer {\n    /**\n     * \\@description\n     * An internal callback method triggered on the instance after the inputs are set.\n     * Registers the group with its parent group.\n     * @return {?}\n     */\n    ngOnInit() {\n        this._checkParentType();\n        (/** @type {?} */ (this.formDirective)).addFormGroup(this);\n    }\n    /**\n     * \\@description\n     * An internal callback method triggered before the instance is destroyed.\n     * Removes the group from its parent group.\n     * @return {?}\n     */\n    ngOnDestroy() {\n        if (this.formDirective) {\n            this.formDirective.removeFormGroup(this);\n        }\n    }\n    /**\n     * \\@description\n     * The `FormGroup` bound to this directive.\n     * @return {?}\n     */\n    get control() { return (/** @type {?} */ (this.formDirective)).getFormGroup(this); }\n    /**\n     * \\@description\n     * The path to this group from the top-level directive.\n     * @return {?}\n     */\n    get path() { return controlPath(this.name, this._parent); }\n    /**\n     * \\@description\n     * The top-level directive for this group if present, otherwise null.\n     * @return {?}\n     */\n    get formDirective() { return this._parent ? this._parent.formDirective : null; }\n    /**\n     * \\@description\n     * The synchronous validators registered with this group.\n     * @return {?}\n     */\n    get validator() { return composeValidators(this._validators); }\n    /**\n     * \\@description\n     * The async validators registered with this group.\n     * @return {?}\n     */\n    get asyncValidator() {\n        return composeAsyncValidators(this._asyncValidators);\n    }\n    /**\n     * \\@internal\n     * @return {?}\n     */\n    _checkParentType() { }\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst modelGroupProvider = {\n    provide: ControlContainer,\n    useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])((/**\n     * @return {?}\n     */\n    () => NgModelGroup))\n};\n/**\n * \\@description\n * Creates and binds a `FormGroup` instance to a DOM element.\n *\n * This directive can only be used as a child of `NgForm` (within `<form>` tags).\n *\n * Use this directive to validate a sub-group of your form separately from the\n * rest of your form, or if some values in your domain model make more sense\n * to consume together in a nested object.\n *\n * Provide a name for the sub-group and it will become the key\n * for the sub-group in the form's full value. If you need direct access, export the directive into\n * a local template variable using `ngModelGroup` (ex: `#myGroup=\"ngModelGroup\"`).\n *\n * \\@usageNotes\n *\n * ### Consuming controls in a grouping\n *\n * The following example shows you how to combine controls together in a sub-group\n * of the form.\n *\n * {\\@example forms/ts/ngModelGroup/ng_model_group_example.ts region='Component'}\n *\n * \\@ngModule FormsModule\n * \\@publicApi\n */\nclass NgModelGroup extends AbstractFormGroupDirective {\n    /**\n     * @param {?} parent\n     * @param {?} validators\n     * @param {?} asyncValidators\n     */\n    constructor(parent, validators, asyncValidators) {\n        super();\n        this._parent = parent;\n        this._validators = validators;\n        this._asyncValidators = asyncValidators;\n    }\n    /**\n     * \\@internal\n     * @return {?}\n     */\n    _checkParentType() {\n        if (!(this._parent instanceof NgModelGroup) && !(this._parent instanceof NgForm)) {\n            TemplateDrivenErrors.modelGroupParentException();\n        }\n    }\n}\nNgModelGroup.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: '[ngModelGroup]', providers: [modelGroupProvider], exportAs: 'ngModelGroup' },] }\n];\n/** @nocollapse */\nNgModelGroup.ctorParameters = () => [\n    { type: ControlContainer, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Host\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"SkipSelf\"] }] },\n    { type: Array, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [NG_VALIDATORS,] }] },\n    { type: Array, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [NG_ASYNC_VALIDATORS,] }] }\n];\nNgModelGroup.propDecorators = {\n    name: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"], args: ['ngModelGroup',] }]\n};\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst formControlBinding = {\n    provide: NgControl,\n    useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])((/**\n     * @return {?}\n     */\n    () => NgModel))\n};\nconst ɵ0$1 = /**\n * @return {?}\n */\n() => Promise.resolve(null);\n/**\n * `ngModel` forces an additional change detection run when its inputs change:\n * E.g.:\n * ```\n * <div>{{myModel.valid}}</div>\n * <input [(ngModel)]=\"myValue\" #myModel=\"ngModel\">\n * ```\n * I.e. `ngModel` can export itself on the element and then be used in the template.\n * Normally, this would result in expressions before the `input` that use the exported directive\n * to have and old value as they have been\n * dirty checked before. As this is a very common case for `ngModel`, we added this second change\n * detection run.\n *\n * Notes:\n * - this is just one extra run no matter how many `ngModel` have been changed.\n * - this is a general problem when using `exportAs` for directives!\n * @type {?}\n */\nconst resolvedPromise$1 = ((ɵ0$1))();\n/**\n * \\@description\n * Creates a `FormControl` instance from a domain model and binds it\n * to a form control element.\n *\n * The `FormControl` instance tracks the value, user interaction, and\n * validation status of the control and keeps the view synced with the model. If used\n * within a parent form, the directive also registers itself with the form as a child\n * control.\n *\n * This directive is used by itself or as part of a larger form. Use the\n * `ngModel` selector to activate it.\n *\n * It accepts a domain model as an optional `Input`. If you have a one-way binding\n * to `ngModel` with `[]` syntax, changing the value of the domain model in the component\n * class sets the value in the view. If you have a two-way binding with `[()]` syntax\n * (also known as 'banana-box syntax'), the value in the UI always syncs back to\n * the domain model in your class.\n *\n * To inspect the properties of the associated `FormControl` (like validity state),\n * export the directive into a local template variable using `ngModel` as the key (ex: `#myVar=\"ngModel\"`).\n * You then access the control using the directive's `control` property,\n * but most properties used (like `valid` and `dirty`) fall through to the control anyway for direct access.\n * See a full list of properties directly available in `AbstractControlDirective`.\n *\n * @see `RadioControlValueAccessor`\n * @see `SelectControlValueAccessor`\n *\n * \\@usageNotes\n *\n * ### Using ngModel on a standalone control\n *\n * The following examples show a simple standalone control using `ngModel`:\n *\n * {\\@example forms/ts/simpleNgModel/simple_ng_model_example.ts region='Component'}\n *\n * When using the `ngModel` within `<form>` tags, you'll also need to supply a `name` attribute\n * so that the control can be registered with the parent form under that name.\n *\n * In the context of a parent form, it's often unnecessary to include one-way or two-way binding,\n * as the parent form syncs the value for you. You access its properties by exporting it into a\n * local template variable using `ngForm` such as (`#f=\"ngForm\"`). Use the variable where\n * needed on form submission.\n *\n * If you do need to populate initial values into your form, using a one-way binding for\n * `ngModel` tends to be sufficient as long as you use the exported form's value rather\n * than the domain model's value on submit.\n *\n * ### Using ngModel within a form\n *\n * The following example shows controls using `ngModel` within a form:\n *\n * {\\@example forms/ts/simpleForm/simple_form_example.ts region='Component'}\n *\n * ### Using a standalone ngModel within a group\n *\n * The following example shows you how to use a standalone ngModel control\n * within a form. This controls the display of the form, but doesn't contain form data.\n *\n * ```html\n * <form>\n *   <input name=\"login\" ngModel placeholder=\"Login\">\n *   <input type=\"checkbox\" ngModel [ngModelOptions]=\"{standalone: true}\"> Show more options?\n * </form>\n * <!-- form value: {login: ''} -->\n * ```\n *\n * ### Setting the ngModel name attribute through options\n *\n * The following example shows you an alternate way to set the name attribute. The name attribute is used\n * within a custom form component, and the name `\\@Input` property serves a different purpose.\n *\n * ```html\n * <form>\n *   <my-person-control name=\"Nancy\" ngModel [ngModelOptions]=\"{name: 'user'}\">\n *   </my-person-control>\n * </form>\n * <!-- form value: {user: ''} -->\n * ```\n *\n * \\@ngModule FormsModule\n * \\@publicApi\n */\nclass NgModel extends NgControl {\n    /**\n     * @param {?} parent\n     * @param {?} validators\n     * @param {?} asyncValidators\n     * @param {?} valueAccessors\n     */\n    constructor(parent, validators, asyncValidators, valueAccessors) {\n        super();\n        this.control = new FormControl();\n        /**\n         * \\@internal\n         */\n        this._registered = false;\n        /**\n         * \\@description\n         * Event emitter for producing the `ngModelChange` event after\n         * the view model updates.\n         */\n        this.update = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"EventEmitter\"]();\n        this._parent = parent;\n        this._rawValidators = validators || [];\n        this._rawAsyncValidators = asyncValidators || [];\n        this.valueAccessor = selectValueAccessor(this, valueAccessors);\n    }\n    /**\n     * \\@description\n     * A lifecycle method called when the directive's inputs change. For internal use\n     * only.\n     *\n     * @param {?} changes A object of key/value pairs for the set of changed inputs.\n     * @return {?}\n     */\n    ngOnChanges(changes) {\n        this._checkForErrors();\n        if (!this._registered)\n            this._setUpControl();\n        if ('isDisabled' in changes) {\n            this._updateDisabled(changes);\n        }\n        if (isPropertyUpdated(changes, this.viewModel)) {\n            this._updateValue(this.model);\n            this.viewModel = this.model;\n        }\n    }\n    /**\n     * \\@description\n     * Lifecycle method called before the directive's instance is destroyed. For internal\n     * use only.\n     * @return {?}\n     */\n    ngOnDestroy() { this.formDirective && this.formDirective.removeControl(this); }\n    /**\n     * \\@description\n     * Returns an array that represents the path from the top-level form to this control.\n     * Each index is the string name of the control on that level.\n     * @return {?}\n     */\n    get path() {\n        return this._parent ? controlPath(this.name, this._parent) : [this.name];\n    }\n    /**\n     * \\@description\n     * The top-level directive for this control if present, otherwise null.\n     * @return {?}\n     */\n    get formDirective() { return this._parent ? this._parent.formDirective : null; }\n    /**\n     * \\@description\n     * Synchronous validator function composed of all the synchronous validators\n     * registered with this directive.\n     * @return {?}\n     */\n    get validator() { return composeValidators(this._rawValidators); }\n    /**\n     * \\@description\n     * Async validator function composed of all the async validators registered with this\n     * directive.\n     * @return {?}\n     */\n    get asyncValidator() {\n        return composeAsyncValidators(this._rawAsyncValidators);\n    }\n    /**\n     * \\@description\n     * Sets the new value for the view model and emits an `ngModelChange` event.\n     *\n     * @param {?} newValue The new value emitted by `ngModelChange`.\n     * @return {?}\n     */\n    viewToModelUpdate(newValue) {\n        this.viewModel = newValue;\n        this.update.emit(newValue);\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _setUpControl() {\n        this._setUpdateStrategy();\n        this._isStandalone() ? this._setUpStandalone() :\n            this.formDirective.addControl(this);\n        this._registered = true;\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _setUpdateStrategy() {\n        if (this.options && this.options.updateOn != null) {\n            this.control._updateOn = this.options.updateOn;\n        }\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _isStandalone() {\n        return !this._parent || !!(this.options && this.options.standalone);\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _setUpStandalone() {\n        setUpControl(this.control, this);\n        this.control.updateValueAndValidity({ emitEvent: false });\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _checkForErrors() {\n        if (!this._isStandalone()) {\n            this._checkParentType();\n        }\n        this._checkName();\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _checkParentType() {\n        if (!(this._parent instanceof NgModelGroup) &&\n            this._parent instanceof AbstractFormGroupDirective) {\n            TemplateDrivenErrors.formGroupNameException();\n        }\n        else if (!(this._parent instanceof NgModelGroup) && !(this._parent instanceof NgForm)) {\n            TemplateDrivenErrors.modelParentException();\n        }\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _checkName() {\n        if (this.options && this.options.name)\n            this.name = this.options.name;\n        if (!this._isStandalone() && !this.name) {\n            TemplateDrivenErrors.missingNameException();\n        }\n    }\n    /**\n     * @private\n     * @param {?} value\n     * @return {?}\n     */\n    _updateValue(value) {\n        resolvedPromise$1.then((/**\n         * @return {?}\n         */\n        () => { this.control.setValue(value, { emitViewToModelChange: false }); }));\n    }\n    /**\n     * @private\n     * @param {?} changes\n     * @return {?}\n     */\n    _updateDisabled(changes) {\n        /** @type {?} */\n        const disabledValue = changes['isDisabled'].currentValue;\n        /** @type {?} */\n        const isDisabled = disabledValue === '' || (disabledValue && disabledValue !== 'false');\n        resolvedPromise$1.then((/**\n         * @return {?}\n         */\n        () => {\n            if (isDisabled && !this.control.disabled) {\n                this.control.disable();\n            }\n            else if (!isDisabled && this.control.disabled) {\n                this.control.enable();\n            }\n        }));\n    }\n}\nNgModel.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{\n                selector: '[ngModel]:not([formControlName]):not([formControl])',\n                providers: [formControlBinding],\n                exportAs: 'ngModel'\n            },] }\n];\n/** @nocollapse */\nNgModel.ctorParameters = () => [\n    { type: ControlContainer, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Host\"] }] },\n    { type: Array, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [NG_VALIDATORS,] }] },\n    { type: Array, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [NG_ASYNC_VALIDATORS,] }] },\n    { type: Array, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [NG_VALUE_ACCESSOR,] }] }\n];\nNgModel.propDecorators = {\n    name: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"] }],\n    isDisabled: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"], args: ['disabled',] }],\n    model: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"], args: ['ngModel',] }],\n    options: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"], args: ['ngModelOptions',] }],\n    update: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Output\"], args: ['ngModelChange',] }]\n};\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@description\n *\n * Adds `novalidate` attribute to all forms by default.\n *\n * `novalidate` is used to disable browser's native form validation.\n *\n * If you want to use native validation with Angular forms, just add `ngNativeValidate` attribute:\n *\n * ```\n * <form ngNativeValidate></form>\n * ```\n *\n * \\@publicApi\n * \\@ngModule ReactiveFormsModule\n * \\@ngModule FormsModule\n */\nclass ɵNgNoValidate {\n}\nɵNgNoValidate.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{\n                selector: 'form:not([ngNoForm]):not([ngNativeValidate])',\n                host: { 'novalidate': '' },\n            },] }\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Token to provide to turn off the ngModel warning on formControl and formControlName.\n * @type {?}\n */\nconst NG_MODEL_WITH_FORM_CONTROL_WARNING = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('NgModelWithFormControlWarning');\n/** @type {?} */\nconst formControlBinding$1 = {\n    provide: NgControl,\n    useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])((/**\n     * @return {?}\n     */\n    () => FormControlDirective))\n};\n/**\n * \\@description\n * * Syncs a standalone `FormControl` instance to a form control element.\n *\n * @see [Reactive Forms Guide](guide/reactive-forms)\n * @see `FormControl`\n * @see `AbstractControl`\n *\n * \\@usageNotes\n *\n * ### Registering a single form control\n *\n * The following examples shows how to register a standalone control and set its value.\n *\n * {\\@example forms/ts/simpleFormControl/simple_form_control_example.ts region='Component'}\n *\n * ### Use with ngModel\n *\n * Support for using the `ngModel` input property and `ngModelChange` event with reactive\n * form directives has been deprecated in Angular v6 and will be removed in Angular v7.\n *\n * Now deprecated:\n *\n * ```html\n * <input [formControl]=\"control\" [(ngModel)]=\"value\">\n * ```\n *\n * ```ts\n * this.value = 'some value';\n * ```\n *\n * This has been deprecated for a few reasons. First, developers have found this pattern\n * confusing. It seems like the actual `ngModel` directive is being used, but in fact it's\n * an input/output property named `ngModel` on the reactive form directive that simply\n * approximates (some of) its behavior. Specifically, it allows getting/setting the value\n * and intercepting value events. However, some of `ngModel`'s other features - like\n * delaying updates with`ngModelOptions` or exporting the directive - simply don't work,\n * which has understandably caused some confusion.\n *\n * In addition, this pattern mixes template-driven and reactive forms strategies, which\n * we generally don't recommend because it doesn't take advantage of the full benefits of\n * either strategy. Setting the value in the template violates the template-agnostic\n * principles behind reactive forms, whereas adding a `FormControl`/`FormGroup` layer in\n * the class removes the convenience of defining forms in the template.\n *\n * To update your code before v7, you'll want to decide whether to stick with reactive form\n * directives (and get/set values using reactive forms patterns) or switch over to\n * template-driven directives.\n *\n * After (choice 1 - use reactive forms):\n *\n * ```html\n * <input [formControl]=\"control\">\n * ```\n *\n * ```ts\n * this.control.setValue('some value');\n * ```\n *\n * After (choice 2 - use template-driven forms):\n *\n * ```html\n * <input [(ngModel)]=\"value\">\n * ```\n *\n * ```ts\n * this.value = 'some value';\n * ```\n *\n * By default, when you use this pattern, you will see a deprecation warning once in dev\n * mode. You can choose to silence this warning by providing a config for\n * `ReactiveFormsModule` at import time:\n *\n * ```ts\n * imports: [\n *   ReactiveFormsModule.withConfig({warnOnNgModelWithFormControl: 'never'});\n * ]\n * ```\n *\n * Alternatively, you can choose to surface a separate warning for each instance of this\n * pattern with a config value of `\"always\"`. This may help to track down where in the code\n * the pattern is being used as the code is being updated.\n *\n * \\@ngModule ReactiveFormsModule\n * \\@publicApi\n */\nclass FormControlDirective extends NgControl {\n    /**\n     * @param {?} validators\n     * @param {?} asyncValidators\n     * @param {?} valueAccessors\n     * @param {?} _ngModelWarningConfig\n     */\n    constructor(validators, asyncValidators, valueAccessors, _ngModelWarningConfig) {\n        super();\n        this._ngModelWarningConfig = _ngModelWarningConfig;\n        /**\n         * @deprecated as of v6\n         */\n        this.update = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"EventEmitter\"]();\n        /**\n         * \\@description\n         * Instance property used to track whether an ngModel warning has been sent out for this\n         * particular `FormControlDirective` instance. Used to support warning config of \"always\".\n         *\n         * \\@internal\n         */\n        this._ngModelWarningSent = false;\n        this._rawValidators = validators || [];\n        this._rawAsyncValidators = asyncValidators || [];\n        this.valueAccessor = selectValueAccessor(this, valueAccessors);\n    }\n    /**\n     * \\@description\n     * Triggers a warning that this input should not be used with reactive forms.\n     * @param {?} isDisabled\n     * @return {?}\n     */\n    set isDisabled(isDisabled) { ReactiveErrors.disabledAttrWarning(); }\n    /**\n     * \\@description\n     * A lifecycle method called when the directive's inputs change. For internal use\n     * only.\n     *\n     * @param {?} changes A object of key/value pairs for the set of changed inputs.\n     * @return {?}\n     */\n    ngOnChanges(changes) {\n        if (this._isControlChanged(changes)) {\n            setUpControl(this.form, this);\n            if (this.control.disabled && (/** @type {?} */ (this.valueAccessor)).setDisabledState) {\n                (/** @type {?} */ ((/** @type {?} */ (this.valueAccessor)).setDisabledState))(true);\n            }\n            this.form.updateValueAndValidity({ emitEvent: false });\n        }\n        if (isPropertyUpdated(changes, this.viewModel)) {\n            _ngModelWarning('formControl', FormControlDirective, this, this._ngModelWarningConfig);\n            this.form.setValue(this.model);\n            this.viewModel = this.model;\n        }\n    }\n    /**\n     * \\@description\n     * Returns an array that represents the path from the top-level form to this control.\n     * Each index is the string name of the control on that level.\n     * @return {?}\n     */\n    get path() { return []; }\n    /**\n     * \\@description\n     * Synchronous validator function composed of all the synchronous validators\n     * registered with this directive.\n     * @return {?}\n     */\n    get validator() { return composeValidators(this._rawValidators); }\n    /**\n     * \\@description\n     * Async validator function composed of all the async validators registered with this\n     * directive.\n     * @return {?}\n     */\n    get asyncValidator() {\n        return composeAsyncValidators(this._rawAsyncValidators);\n    }\n    /**\n     * \\@description\n     * The `FormControl` bound to this directive.\n     * @return {?}\n     */\n    get control() { return this.form; }\n    /**\n     * \\@description\n     * Sets the new value for the view model and emits an `ngModelChange` event.\n     *\n     * @param {?} newValue The new value for the view model.\n     * @return {?}\n     */\n    viewToModelUpdate(newValue) {\n        this.viewModel = newValue;\n        this.update.emit(newValue);\n    }\n    /**\n     * @private\n     * @param {?} changes\n     * @return {?}\n     */\n    _isControlChanged(changes) {\n        return changes.hasOwnProperty('form');\n    }\n}\n/**\n * \\@description\n * Static property used to track whether any ngModel warnings have been sent across\n * all instances of FormControlDirective. Used to support warning config of \"once\".\n *\n * \\@internal\n */\nFormControlDirective._ngModelWarningSentOnce = false;\nFormControlDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: '[formControl]', providers: [formControlBinding$1], exportAs: 'ngForm' },] }\n];\n/** @nocollapse */\nFormControlDirective.ctorParameters = () => [\n    { type: Array, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [NG_VALIDATORS,] }] },\n    { type: Array, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [NG_ASYNC_VALIDATORS,] }] },\n    { type: Array, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [NG_VALUE_ACCESSOR,] }] },\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [NG_MODEL_WITH_FORM_CONTROL_WARNING,] }] }\n];\nFormControlDirective.propDecorators = {\n    form: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"], args: ['formControl',] }],\n    isDisabled: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"], args: ['disabled',] }],\n    model: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"], args: ['ngModel',] }],\n    update: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Output\"], args: ['ngModelChange',] }]\n};\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst formDirectiveProvider$1 = {\n    provide: ControlContainer,\n    useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])((/**\n     * @return {?}\n     */\n    () => FormGroupDirective))\n};\n/**\n * \\@description\n *\n * Binds an existing `FormGroup` to a DOM element.\n *\n * This directive accepts an existing `FormGroup` instance. It will then use this\n * `FormGroup` instance to match any child `FormControl`, `FormGroup`,\n * and `FormArray` instances to child `FormControlName`, `FormGroupName`,\n * and `FormArrayName` directives.\n *\n * @see [Reactive Forms Guide](guide/reactive-forms)\n * @see `AbstractControl`\n *\n * ### Register Form Group\n *\n * The following example registers a `FormGroup` with first name and last name controls,\n * and listens for the *ngSubmit* event when the button is clicked.\n *\n * {\\@example forms/ts/simpleFormGroup/simple_form_group_example.ts region='Component'}\n *\n * \\@ngModule ReactiveFormsModule\n * \\@publicApi\n */\nclass FormGroupDirective extends ControlContainer {\n    /**\n     * @param {?} _validators\n     * @param {?} _asyncValidators\n     */\n    constructor(_validators, _asyncValidators) {\n        super();\n        this._validators = _validators;\n        this._asyncValidators = _asyncValidators;\n        /**\n         * \\@description\n         * Reports whether the form submission has been triggered.\n         */\n        this.submitted = false;\n        /**\n         * \\@description\n         * Tracks the list of added `FormControlName` instances\n         */\n        this.directives = [];\n        /**\n         * \\@description\n         * Tracks the `FormGroup` bound to this directive.\n         */\n        this.form = (/** @type {?} */ (null));\n        /**\n         * \\@description\n         * Emits an event when the form submission has been triggered.\n         */\n        this.ngSubmit = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"EventEmitter\"]();\n    }\n    /**\n     * \\@description\n     * A lifecycle method called when the directive's inputs change. For internal use only.\n     *\n     * @param {?} changes A object of key/value pairs for the set of changed inputs.\n     * @return {?}\n     */\n    ngOnChanges(changes) {\n        this._checkFormPresent();\n        if (changes.hasOwnProperty('form')) {\n            this._updateValidators();\n            this._updateDomValue();\n            this._updateRegistrations();\n        }\n    }\n    /**\n     * \\@description\n     * Returns this directive's instance.\n     * @return {?}\n     */\n    get formDirective() { return this; }\n    /**\n     * \\@description\n     * Returns the `FormGroup` bound to this directive.\n     * @return {?}\n     */\n    get control() { return this.form; }\n    /**\n     * \\@description\n     * Returns an array representing the path to this group. Because this directive\n     * always lives at the top level of a form, it always an empty array.\n     * @return {?}\n     */\n    get path() { return []; }\n    /**\n     * \\@description\n     * Method that sets up the control directive in this group, re-calculates its value\n     * and validity, and adds the instance to the internal list of directives.\n     *\n     * @param {?} dir The `FormControlName` directive instance.\n     * @return {?}\n     */\n    addControl(dir) {\n        /** @type {?} */\n        const ctrl = this.form.get(dir.path);\n        setUpControl(ctrl, dir);\n        ctrl.updateValueAndValidity({ emitEvent: false });\n        this.directives.push(dir);\n        return ctrl;\n    }\n    /**\n     * \\@description\n     * Retrieves the `FormControl` instance from the provided `FormControlName` directive\n     *\n     * @param {?} dir The `FormControlName` directive instance.\n     * @return {?}\n     */\n    getControl(dir) { return (/** @type {?} */ (this.form.get(dir.path))); }\n    /**\n     * \\@description\n     * Removes the `FormControlName` instance from the internal list of directives\n     *\n     * @param {?} dir The `FormControlName` directive instance.\n     * @return {?}\n     */\n    removeControl(dir) { removeDir(this.directives, dir); }\n    /**\n     * Adds a new `FormGroupName` directive instance to the form.\n     *\n     * @param {?} dir The `FormGroupName` directive instance.\n     * @return {?}\n     */\n    addFormGroup(dir) {\n        /** @type {?} */\n        const ctrl = this.form.get(dir.path);\n        setUpFormContainer(ctrl, dir);\n        ctrl.updateValueAndValidity({ emitEvent: false });\n    }\n    /**\n     * No-op method to remove the form group.\n     *\n     * @param {?} dir The `FormGroupName` directive instance.\n     * @return {?}\n     */\n    removeFormGroup(dir) { }\n    /**\n     * \\@description\n     * Retrieves the `FormGroup` for a provided `FormGroupName` directive instance\n     *\n     * @param {?} dir The `FormGroupName` directive instance.\n     * @return {?}\n     */\n    getFormGroup(dir) { return (/** @type {?} */ (this.form.get(dir.path))); }\n    /**\n     * Adds a new `FormArrayName` directive instance to the form.\n     *\n     * @param {?} dir The `FormArrayName` directive instance.\n     * @return {?}\n     */\n    addFormArray(dir) {\n        /** @type {?} */\n        const ctrl = this.form.get(dir.path);\n        setUpFormContainer(ctrl, dir);\n        ctrl.updateValueAndValidity({ emitEvent: false });\n    }\n    /**\n     * No-op method to remove the form array.\n     *\n     * @param {?} dir The `FormArrayName` directive instance.\n     * @return {?}\n     */\n    removeFormArray(dir) { }\n    /**\n     * \\@description\n     * Retrieves the `FormArray` for a provided `FormArrayName` directive instance.\n     *\n     * @param {?} dir The `FormArrayName` directive instance.\n     * @return {?}\n     */\n    getFormArray(dir) { return (/** @type {?} */ (this.form.get(dir.path))); }\n    /**\n     * Sets the new value for the provided `FormControlName` directive.\n     *\n     * @param {?} dir The `FormControlName` directive instance.\n     * @param {?} value The new value for the directive's control.\n     * @return {?}\n     */\n    updateModel(dir, value) {\n        /** @type {?} */\n        const ctrl = (/** @type {?} */ (this.form.get(dir.path)));\n        ctrl.setValue(value);\n    }\n    /**\n     * \\@description\n     * Method called with the \"submit\" event is triggered on the form.\n     * Triggers the `ngSubmit` emitter to emit the \"submit\" event as its payload.\n     *\n     * @param {?} $event The \"submit\" event object\n     * @return {?}\n     */\n    onSubmit($event) {\n        ((/** @type {?} */ (this))).submitted = true;\n        syncPendingControls(this.form, this.directives);\n        this.ngSubmit.emit($event);\n        return false;\n    }\n    /**\n     * \\@description\n     * Method called when the \"reset\" event is triggered on the form.\n     * @return {?}\n     */\n    onReset() { this.resetForm(); }\n    /**\n     * \\@description\n     * Resets the form to an initial value and resets its submitted status.\n     *\n     * @param {?=} value The new value for the form.\n     * @return {?}\n     */\n    resetForm(value = undefined) {\n        this.form.reset(value);\n        ((/** @type {?} */ (this))).submitted = false;\n    }\n    /**\n     * \\@internal\n     * @return {?}\n     */\n    _updateDomValue() {\n        this.directives.forEach((/**\n         * @param {?} dir\n         * @return {?}\n         */\n        dir => {\n            /** @type {?} */\n            const newCtrl = this.form.get(dir.path);\n            if (dir.control !== newCtrl) {\n                cleanUpControl(dir.control, dir);\n                if (newCtrl)\n                    setUpControl(newCtrl, dir);\n                ((/** @type {?} */ (dir))).control = newCtrl;\n            }\n        }));\n        this.form._updateTreeValidity({ emitEvent: false });\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _updateRegistrations() {\n        this.form._registerOnCollectionChange((/**\n         * @return {?}\n         */\n        () => this._updateDomValue()));\n        if (this._oldForm)\n            this._oldForm._registerOnCollectionChange((/**\n             * @return {?}\n             */\n            () => { }));\n        this._oldForm = this.form;\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _updateValidators() {\n        /** @type {?} */\n        const sync = composeValidators(this._validators);\n        this.form.validator = Validators.compose([(/** @type {?} */ (this.form.validator)), (/** @type {?} */ (sync))]);\n        /** @type {?} */\n        const async = composeAsyncValidators(this._asyncValidators);\n        this.form.asyncValidator = Validators.composeAsync([(/** @type {?} */ (this.form.asyncValidator)), (/** @type {?} */ (async))]);\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _checkFormPresent() {\n        if (!this.form) {\n            ReactiveErrors.missingFormException();\n        }\n    }\n}\nFormGroupDirective.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{\n                selector: '[formGroup]',\n                providers: [formDirectiveProvider$1],\n                host: { '(submit)': 'onSubmit($event)', '(reset)': 'onReset()' },\n                exportAs: 'ngForm'\n            },] }\n];\n/** @nocollapse */\nFormGroupDirective.ctorParameters = () => [\n    { type: Array, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [NG_VALIDATORS,] }] },\n    { type: Array, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [NG_ASYNC_VALIDATORS,] }] }\n];\nFormGroupDirective.propDecorators = {\n    form: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"], args: ['formGroup',] }],\n    ngSubmit: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Output\"] }]\n};\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst formGroupNameProvider = {\n    provide: ControlContainer,\n    useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])((/**\n     * @return {?}\n     */\n    () => FormGroupName))\n};\n/**\n * \\@description\n *\n * Syncs a nested `FormGroup` to a DOM element.\n *\n * This directive can only be used with a parent `FormGroupDirective`.\n *\n * It accepts the string name of the nested `FormGroup` to link, and\n * looks for a `FormGroup` registered with that name in the parent\n * `FormGroup` instance you passed into `FormGroupDirective`.\n *\n * Use nested form groups to validate a sub-group of a\n * form separately from the rest or to group the values of certain\n * controls into their own nested object.\n *\n * @see [Reactive Forms Guide](guide/reactive-forms)\n *\n * \\@usageNotes\n *\n * ### Access the group by name\n *\n * The following example uses the {\\@link AbstractControl#get get} method to access the\n * associated `FormGroup`\n *\n * ```ts\n *   this.form.get('name');\n * ```\n *\n * ### Access individual controls in the group\n *\n * The following example uses the {\\@link AbstractControl#get get} method to access\n * individual controls within the group using dot syntax.\n *\n * ```ts\n *   this.form.get('name.first');\n * ```\n *\n * ### Register a nested `FormGroup`.\n *\n * The following example registers a nested *name* `FormGroup` within an existing `FormGroup`,\n * and provides methods to retrieve the nested `FormGroup` and individual controls.\n *\n * {\\@example forms/ts/nestedFormGroup/nested_form_group_example.ts region='Component'}\n *\n * \\@ngModule ReactiveFormsModule\n * \\@publicApi\n */\nclass FormGroupName extends AbstractFormGroupDirective {\n    /**\n     * @param {?} parent\n     * @param {?} validators\n     * @param {?} asyncValidators\n     */\n    constructor(parent, validators, asyncValidators) {\n        super();\n        this._parent = parent;\n        this._validators = validators;\n        this._asyncValidators = asyncValidators;\n    }\n    /**\n     * \\@internal\n     * @return {?}\n     */\n    _checkParentType() {\n        if (_hasInvalidParent(this._parent)) {\n            ReactiveErrors.groupParentException();\n        }\n    }\n}\nFormGroupName.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: '[formGroupName]', providers: [formGroupNameProvider] },] }\n];\n/** @nocollapse */\nFormGroupName.ctorParameters = () => [\n    { type: ControlContainer, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Host\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"SkipSelf\"] }] },\n    { type: Array, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [NG_VALIDATORS,] }] },\n    { type: Array, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [NG_ASYNC_VALIDATORS,] }] }\n];\nFormGroupName.propDecorators = {\n    name: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"], args: ['formGroupName',] }]\n};\nif (false) {}\n/** @type {?} */\nconst formArrayNameProvider = {\n    provide: ControlContainer,\n    useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])((/**\n     * @return {?}\n     */\n    () => FormArrayName))\n};\n/**\n * \\@description\n *\n * Syncs a nested `FormArray` to a DOM element.\n *\n * This directive is designed to be used with a parent `FormGroupDirective` (selector:\n * `[formGroup]`).\n *\n * It accepts the string name of the nested `FormArray` you want to link, and\n * will look for a `FormArray` registered with that name in the parent\n * `FormGroup` instance you passed into `FormGroupDirective`.\n *\n * @see [Reactive Forms Guide](guide/reactive-forms)\n * @see `AbstractControl`\n *\n * \\@usageNotes\n *\n * ### Example\n *\n * {\\@example forms/ts/nestedFormArray/nested_form_array_example.ts region='Component'}\n *\n * \\@ngModule ReactiveFormsModule\n * \\@publicApi\n */\nclass FormArrayName extends ControlContainer {\n    /**\n     * @param {?} parent\n     * @param {?} validators\n     * @param {?} asyncValidators\n     */\n    constructor(parent, validators, asyncValidators) {\n        super();\n        this._parent = parent;\n        this._validators = validators;\n        this._asyncValidators = asyncValidators;\n    }\n    /**\n     * \\@description\n     * A lifecycle method called when the directive's inputs are initialized. For internal use only.\n     *\n     * @throws If the directive does not have a valid parent.\n     * @return {?}\n     */\n    ngOnInit() {\n        this._checkParentType();\n        (/** @type {?} */ (this.formDirective)).addFormArray(this);\n    }\n    /**\n     * \\@description\n     * A lifecycle method called before the directive's instance is destroyed. For internal use only.\n     * @return {?}\n     */\n    ngOnDestroy() {\n        if (this.formDirective) {\n            this.formDirective.removeFormArray(this);\n        }\n    }\n    /**\n     * \\@description\n     * The `FormArray` bound to this directive.\n     * @return {?}\n     */\n    get control() { return (/** @type {?} */ (this.formDirective)).getFormArray(this); }\n    /**\n     * \\@description\n     * The top-level directive for this group if present, otherwise null.\n     * @return {?}\n     */\n    get formDirective() {\n        return this._parent ? (/** @type {?} */ (this._parent.formDirective)) : null;\n    }\n    /**\n     * \\@description\n     * Returns an array that represents the path from the top-level form to this control.\n     * Each index is the string name of the control on that level.\n     * @return {?}\n     */\n    get path() { return controlPath(this.name, this._parent); }\n    /**\n     * \\@description\n     * Synchronous validator function composed of all the synchronous validators registered with this\n     * directive.\n     * @return {?}\n     */\n    get validator() { return composeValidators(this._validators); }\n    /**\n     * \\@description\n     * Async validator function composed of all the async validators registered with this directive.\n     * @return {?}\n     */\n    get asyncValidator() {\n        return composeAsyncValidators(this._asyncValidators);\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _checkParentType() {\n        if (_hasInvalidParent(this._parent)) {\n            ReactiveErrors.arrayParentException();\n        }\n    }\n}\nFormArrayName.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: '[formArrayName]', providers: [formArrayNameProvider] },] }\n];\n/** @nocollapse */\nFormArrayName.ctorParameters = () => [\n    { type: ControlContainer, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Host\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"SkipSelf\"] }] },\n    { type: Array, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [NG_VALIDATORS,] }] },\n    { type: Array, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [NG_ASYNC_VALIDATORS,] }] }\n];\nFormArrayName.propDecorators = {\n    name: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"], args: ['formArrayName',] }]\n};\nif (false) {}\n/**\n * @param {?} parent\n * @return {?}\n */\nfunction _hasInvalidParent(parent) {\n    return !(parent instanceof FormGroupName) && !(parent instanceof FormGroupDirective) &&\n        !(parent instanceof FormArrayName);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst controlNameBinding = {\n    provide: NgControl,\n    useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])((/**\n     * @return {?}\n     */\n    () => FormControlName))\n};\n/**\n * \\@description\n * Syncs a `FormControl` in an existing `FormGroup` to a form control\n * element by name.\n *\n * @see [Reactive Forms Guide](guide/reactive-forms)\n * @see `FormControl`\n * @see `AbstractControl`\n *\n * \\@usageNotes\n *\n * ### Register `FormControl` within a group\n *\n * The following example shows how to register multiple form controls within a form group\n * and set their value.\n *\n * {\\@example forms/ts/simpleFormGroup/simple_form_group_example.ts region='Component'}\n *\n * To see `formControlName` examples with different form control types, see:\n *\n * * Radio buttons: `RadioControlValueAccessor`\n * * Selects: `SelectControlValueAccessor`\n *\n * ### Use with ngModel\n *\n * Support for using the `ngModel` input property and `ngModelChange` event with reactive\n * form directives has been deprecated in Angular v6 and will be removed in Angular v7.\n *\n * Now deprecated:\n *\n * ```html\n * <form [formGroup]=\"form\">\n *   <input formControlName=\"first\" [(ngModel)]=\"value\">\n * </form>\n * ```\n *\n * ```ts\n * this.value = 'some value';\n * ```\n *\n * This has been deprecated for a few reasons. First, developers have found this pattern\n * confusing. It seems like the actual `ngModel` directive is being used, but in fact it's\n * an input/output property named `ngModel` on the reactive form directive that simply\n * approximates (some of) its behavior. Specifically, it allows getting/setting the value\n * and intercepting value events. However, some of `ngModel`'s other features - like\n * delaying updates with`ngModelOptions` or exporting the directive - simply don't work,\n * which has understandably caused some confusion.\n *\n * In addition, this pattern mixes template-driven and reactive forms strategies, which\n * we generally don't recommend because it doesn't take advantage of the full benefits of\n * either strategy. Setting the value in the template violates the template-agnostic\n * principles behind reactive forms, whereas adding a `FormControl`/`FormGroup` layer in\n * the class removes the convenience of defining forms in the template.\n *\n * To update your code before v7, you'll want to decide whether to stick with reactive form\n * directives (and get/set values using reactive forms patterns) or switch over to\n * template-driven directives.\n *\n * After (choice 1 - use reactive forms):\n *\n * ```html\n * <form [formGroup]=\"form\">\n *   <input formControlName=\"first\">\n * </form>\n * ```\n *\n * ```ts\n * this.form.get('first').setValue('some value');\n * ```\n *\n * After (choice 2 - use template-driven forms):\n *\n * ```html\n * <input [(ngModel)]=\"value\">\n * ```\n *\n * ```ts\n * this.value = 'some value';\n * ```\n *\n * By default, when you use this pattern, you will see a deprecation warning once in dev\n * mode. You can choose to silence this warning by providing a config for\n * `ReactiveFormsModule` at import time:\n *\n * ```ts\n * imports: [\n *   ReactiveFormsModule.withConfig({warnOnNgModelWithFormControl: 'never'})\n * ]\n * ```\n *\n * Alternatively, you can choose to surface a separate warning for each instance of this\n * pattern with a config value of `\"always\"`. This may help to track down where in the code\n * the pattern is being used as the code is being updated.\n *\n * \\@ngModule ReactiveFormsModule\n * \\@publicApi\n */\nclass FormControlName extends NgControl {\n    /**\n     * @param {?} parent\n     * @param {?} validators\n     * @param {?} asyncValidators\n     * @param {?} valueAccessors\n     * @param {?} _ngModelWarningConfig\n     */\n    constructor(parent, validators, asyncValidators, valueAccessors, _ngModelWarningConfig) {\n        super();\n        this._ngModelWarningConfig = _ngModelWarningConfig;\n        this._added = false;\n        /**\n         * @deprecated as of v6\n         */\n        this.update = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"EventEmitter\"]();\n        /**\n         * \\@description\n         * Instance property used to track whether an ngModel warning has been sent out for this\n         * particular FormControlName instance. Used to support warning config of \"always\".\n         *\n         * \\@internal\n         */\n        this._ngModelWarningSent = false;\n        this._parent = parent;\n        this._rawValidators = validators || [];\n        this._rawAsyncValidators = asyncValidators || [];\n        this.valueAccessor = selectValueAccessor(this, valueAccessors);\n    }\n    /**\n     * \\@description\n     * Triggers a warning that this input should not be used with reactive forms.\n     * @param {?} isDisabled\n     * @return {?}\n     */\n    set isDisabled(isDisabled) { ReactiveErrors.disabledAttrWarning(); }\n    /**\n     * \\@description\n     * A lifecycle method called when the directive's inputs change. For internal use only.\n     *\n     * @param {?} changes A object of key/value pairs for the set of changed inputs.\n     * @return {?}\n     */\n    ngOnChanges(changes) {\n        if (!this._added)\n            this._setUpControl();\n        if (isPropertyUpdated(changes, this.viewModel)) {\n            _ngModelWarning('formControlName', FormControlName, this, this._ngModelWarningConfig);\n            this.viewModel = this.model;\n            this.formDirective.updateModel(this, this.model);\n        }\n    }\n    /**\n     * \\@description\n     * Lifecycle method called before the directive's instance is destroyed. For internal use only.\n     * @return {?}\n     */\n    ngOnDestroy() {\n        if (this.formDirective) {\n            this.formDirective.removeControl(this);\n        }\n    }\n    /**\n     * \\@description\n     * Sets the new value for the view model and emits an `ngModelChange` event.\n     *\n     * @param {?} newValue The new value for the view model.\n     * @return {?}\n     */\n    viewToModelUpdate(newValue) {\n        this.viewModel = newValue;\n        this.update.emit(newValue);\n    }\n    /**\n     * \\@description\n     * Returns an array that represents the path from the top-level form to this control.\n     * Each index is the string name of the control on that level.\n     * @return {?}\n     */\n    get path() { return controlPath(this.name, (/** @type {?} */ (this._parent))); }\n    /**\n     * \\@description\n     * The top-level directive for this group if present, otherwise null.\n     * @return {?}\n     */\n    get formDirective() { return this._parent ? this._parent.formDirective : null; }\n    /**\n     * \\@description\n     * Synchronous validator function composed of all the synchronous validators\n     * registered with this directive.\n     * @return {?}\n     */\n    get validator() { return composeValidators(this._rawValidators); }\n    /**\n     * \\@description\n     * Async validator function composed of all the async validators registered with this\n     * directive.\n     * @return {?}\n     */\n    get asyncValidator() {\n        return (/** @type {?} */ (composeAsyncValidators(this._rawAsyncValidators)));\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _checkParentType() {\n        if (!(this._parent instanceof FormGroupName) &&\n            this._parent instanceof AbstractFormGroupDirective) {\n            ReactiveErrors.ngModelGroupException();\n        }\n        else if (!(this._parent instanceof FormGroupName) && !(this._parent instanceof FormGroupDirective) &&\n            !(this._parent instanceof FormArrayName)) {\n            ReactiveErrors.controlParentException();\n        }\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _setUpControl() {\n        this._checkParentType();\n        ((/** @type {?} */ (this))).control = this.formDirective.addControl(this);\n        if (this.control.disabled && (/** @type {?} */ (this.valueAccessor)).setDisabledState) {\n            (/** @type {?} */ ((/** @type {?} */ (this.valueAccessor)).setDisabledState))(true);\n        }\n        this._added = true;\n    }\n}\n/**\n * \\@description\n * Static property used to track whether any ngModel warnings have been sent across\n * all instances of FormControlName. Used to support warning config of \"once\".\n *\n * \\@internal\n */\nFormControlName._ngModelWarningSentOnce = false;\nFormControlName.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{ selector: '[formControlName]', providers: [controlNameBinding] },] }\n];\n/** @nocollapse */\nFormControlName.ctorParameters = () => [\n    { type: ControlContainer, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Host\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"SkipSelf\"] }] },\n    { type: Array, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [NG_VALIDATORS,] }] },\n    { type: Array, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [NG_ASYNC_VALIDATORS,] }] },\n    { type: Array, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [NG_VALUE_ACCESSOR,] }] },\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [NG_MODEL_WITH_FORM_CONTROL_WARNING,] }] }\n];\nFormControlName.propDecorators = {\n    name: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"], args: ['formControlName',] }],\n    isDisabled: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"], args: ['disabled',] }],\n    model: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"], args: ['ngModel',] }],\n    update: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Output\"], args: ['ngModelChange',] }]\n};\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@description\n * An interface implemented by classes that perform synchronous validation.\n *\n * \\@usageNotes\n *\n * ### Provide a custom validator\n *\n * The following example implements the `Validator` interface to create a\n * validator directive with a custom error key.\n *\n * ```typescript\n * \\@Directive({\n *   selector: '[customValidator]',\n *   providers: [{provide: NG_VALIDATORS, useExisting: CustomValidatorDirective, multi: true}]\n * })\n * class CustomValidatorDirective implements Validator {\n *   validate(control: AbstractControl): ValidationErrors|null {\n *     return {'custom': true};\n *   }\n * }\n * ```\n *\n * \\@publicApi\n * @record\n */\nfunction Validator() { }\nif (false) {}\n/**\n * \\@description\n * An interface implemented by classes that perform asynchronous validation.\n *\n * \\@usageNotes\n *\n * ### Provide a custom async validator directive\n *\n * The following example implements the `AsyncValidator` interface to create an\n * async validator directive with a custom error key.\n *\n * ```typescript\n * import { of as observableOf } from 'rxjs';\n *\n * \\@Directive({\n *   selector: '[customAsyncValidator]',\n *   providers: [{provide: NG_ASYNC_VALIDATORS, useExisting: CustomAsyncValidatorDirective, multi:\n * true}]\n * })\n * class CustomAsyncValidatorDirective implements AsyncValidator {\n *   validate(control: AbstractControl): Observable<ValidationErrors|null> {\n *     return observableOf({'custom': true});\n *   }\n * }\n * ```\n *\n * \\@publicApi\n * @record\n */\nfunction AsyncValidator() { }\nif (false) {}\n/**\n * \\@description\n * Provider which adds `RequiredValidator` to the `NG_VALIDATORS` multi-provider list.\n * @type {?}\n */\nconst REQUIRED_VALIDATOR = {\n    provide: NG_VALIDATORS,\n    useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])((/**\n     * @return {?}\n     */\n    () => RequiredValidator)),\n    multi: true\n};\n/**\n * \\@description\n * Provider which adds `CheckboxRequiredValidator` to the `NG_VALIDATORS` multi-provider list.\n * @type {?}\n */\nconst CHECKBOX_REQUIRED_VALIDATOR = {\n    provide: NG_VALIDATORS,\n    useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])((/**\n     * @return {?}\n     */\n    () => CheckboxRequiredValidator)),\n    multi: true\n};\n/**\n * \\@description\n * A directive that adds the `required` validator to any controls marked with the\n * `required` attribute. The directive is provided with the `NG_VALIDATORS` multi-provider list.\n *\n * @see [Form Validation](guide/form-validation)\n *\n * \\@usageNotes\n *\n * ### Adding a required validator using template-driven forms\n *\n * ```\n * <input name=\"fullName\" ngModel required>\n * ```\n *\n * \\@ngModule FormsModule\n * \\@ngModule ReactiveFormsModule\n * \\@publicApi\n */\nclass RequiredValidator {\n    /**\n     * \\@description\n     * Tracks changes to the required attribute bound to this directive.\n     * @return {?}\n     */\n    get required() { return this._required; }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    set required(value) {\n        this._required = value != null && value !== false && `${value}` !== 'false';\n        if (this._onChange)\n            this._onChange();\n    }\n    /**\n     * \\@description\n     * Method that validates whether the control is empty.\n     * Returns the validation result if enabled, otherwise null.\n     * @param {?} control\n     * @return {?}\n     */\n    validate(control) {\n        return this.required ? Validators.required(control) : null;\n    }\n    /**\n     * \\@description\n     * Registers a callback function to call when the validator inputs change.\n     *\n     * @param {?} fn The callback function\n     * @return {?}\n     */\n    registerOnValidatorChange(fn) { this._onChange = fn; }\n}\nRequiredValidator.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{\n                selector: ':not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]',\n                providers: [REQUIRED_VALIDATOR],\n                host: { '[attr.required]': 'required ? \"\" : null' }\n            },] }\n];\nRequiredValidator.propDecorators = {\n    required: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"] }]\n};\nif (false) {}\n/**\n * A Directive that adds the `required` validator to checkbox controls marked with the\n * `required` attribute. The directive is provided with the `NG_VALIDATORS` multi-provider list.\n *\n * @see [Form Validation](guide/form-validation)\n *\n * \\@usageNotes\n *\n * ### Adding a required checkbox validator using template-driven forms\n *\n * The following example shows how to add a checkbox required validator to an input attached to an ngModel binding.\n *\n * ```\n * <input type=\"checkbox\" name=\"active\" ngModel required>\n * ```\n *\n * \\@publicApi\n * \\@ngModule FormsModule\n * \\@ngModule ReactiveFormsModule\n */\nclass CheckboxRequiredValidator extends RequiredValidator {\n    /**\n     * \\@description\n     * Method that validates whether or not the checkbox has been checked.\n     * Returns the validation result if enabled, otherwise null.\n     * @param {?} control\n     * @return {?}\n     */\n    validate(control) {\n        return this.required ? Validators.requiredTrue(control) : null;\n    }\n}\nCheckboxRequiredValidator.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{\n                selector: 'input[type=checkbox][required][formControlName],input[type=checkbox][required][formControl],input[type=checkbox][required][ngModel]',\n                providers: [CHECKBOX_REQUIRED_VALIDATOR],\n                host: { '[attr.required]': 'required ? \"\" : null' }\n            },] }\n];\n/**\n * \\@description\n * Provider which adds `EmailValidator` to the `NG_VALIDATORS` multi-provider list.\n * @type {?}\n */\nconst EMAIL_VALIDATOR = {\n    provide: NG_VALIDATORS,\n    useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])((/**\n     * @return {?}\n     */\n    () => EmailValidator)),\n    multi: true\n};\n/**\n * A directive that adds the `email` validator to controls marked with the\n * `email` attribute. The directive is provided with the `NG_VALIDATORS` multi-provider list.\n *\n * @see [Form Validation](guide/form-validation)\n *\n * \\@usageNotes\n *\n * ### Adding an email validator\n *\n * The following example shows how to add an email validator to an input attached to an ngModel binding.\n *\n * ```\n * <input type=\"email\" name=\"email\" ngModel email>\n * <input type=\"email\" name=\"email\" ngModel email=\"true\">\n * <input type=\"email\" name=\"email\" ngModel [email]=\"true\">\n * ```\n *\n * \\@publicApi\n * \\@ngModule FormsModule\n * \\@ngModule ReactiveFormsModule\n */\nclass EmailValidator {\n    /**\n     * \\@description\n     * Tracks changes to the email attribute bound to this directive.\n     * @param {?} value\n     * @return {?}\n     */\n    set email(value) {\n        this._enabled = value === '' || value === true || value === 'true';\n        if (this._onChange)\n            this._onChange();\n    }\n    /**\n     * \\@description\n     * Method that validates whether an email address is valid.\n     * Returns the validation result if enabled, otherwise null.\n     * @param {?} control\n     * @return {?}\n     */\n    validate(control) {\n        return this._enabled ? Validators.email(control) : null;\n    }\n    /**\n     * \\@description\n     * Registers a callback function to call when the validator inputs change.\n     *\n     * @param {?} fn The callback function\n     * @return {?}\n     */\n    registerOnValidatorChange(fn) { this._onChange = fn; }\n}\nEmailValidator.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{\n                selector: '[email][formControlName],[email][formControl],[email][ngModel]',\n                providers: [EMAIL_VALIDATOR]\n            },] }\n];\nEmailValidator.propDecorators = {\n    email: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"] }]\n};\nif (false) {}\n/**\n * \\@description\n * A function that receives a control and synchronously returns a map of\n * validation errors if present, otherwise null.\n *\n * \\@publicApi\n * @record\n */\nfunction ValidatorFn() { }\n/**\n * \\@description\n * A function that receives a control and returns a Promise or observable\n * that emits validation errors if present, otherwise null.\n *\n * \\@publicApi\n * @record\n */\nfunction AsyncValidatorFn() { }\n/**\n * \\@description\n * Provider which adds `MinLengthValidator` to the `NG_VALIDATORS` multi-provider list.\n * @type {?}\n */\nconst MIN_LENGTH_VALIDATOR = {\n    provide: NG_VALIDATORS,\n    useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])((/**\n     * @return {?}\n     */\n    () => MinLengthValidator)),\n    multi: true\n};\n/**\n * A directive that adds minimum length validation to controls marked with the\n * `minlength` attribute. The directive is provided with the `NG_VALIDATORS` mult-provider list.\n *\n * @see [Form Validation](guide/form-validation)\n *\n * \\@usageNotes\n *\n * ### Adding a minimum length validator\n *\n * The following example shows how to add a minimum length validator to an input attached to an\n * ngModel binding.\n *\n * ```html\n * <input name=\"firstName\" ngModel minlength=\"4\">\n * ```\n *\n * \\@ngModule ReactiveFormsModule\n * \\@ngModule FormsModule\n * \\@publicApi\n */\nclass MinLengthValidator {\n    /**\n     * \\@description\n     * A lifecycle method called when the directive's inputs change. For internal use\n     * only.\n     *\n     * @param {?} changes A object of key/value pairs for the set of changed inputs.\n     * @return {?}\n     */\n    ngOnChanges(changes) {\n        if ('minlength' in changes) {\n            this._createValidator();\n            if (this._onChange)\n                this._onChange();\n        }\n    }\n    /**\n     * \\@description\n     * Method that validates whether the value meets a minimum length\n     * requirement. Returns the validation result if enabled, otherwise null.\n     * @param {?} control\n     * @return {?}\n     */\n    validate(control) {\n        return this.minlength == null ? null : this._validator(control);\n    }\n    /**\n     * \\@description\n     * Registers a callback function to call when the validator inputs change.\n     *\n     * @param {?} fn The callback function\n     * @return {?}\n     */\n    registerOnValidatorChange(fn) { this._onChange = fn; }\n    /**\n     * @private\n     * @return {?}\n     */\n    _createValidator() {\n        this._validator = Validators.minLength(parseInt(this.minlength, 10));\n    }\n}\nMinLengthValidator.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{\n                selector: '[minlength][formControlName],[minlength][formControl],[minlength][ngModel]',\n                providers: [MIN_LENGTH_VALIDATOR],\n                host: { '[attr.minlength]': 'minlength ? minlength : null' }\n            },] }\n];\nMinLengthValidator.propDecorators = {\n    minlength: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"] }]\n};\nif (false) {}\n/**\n * \\@description\n * Provider which adds `MaxLengthValidator` to the `NG_VALIDATORS` multi-provider list.\n * @type {?}\n */\nconst MAX_LENGTH_VALIDATOR = {\n    provide: NG_VALIDATORS,\n    useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])((/**\n     * @return {?}\n     */\n    () => MaxLengthValidator)),\n    multi: true\n};\n/**\n * A directive that adds max length validation to controls marked with the\n * `maxlength` attribute. The directive is provided with the `NG_VALIDATORS` multi-provider list.\n *\n * @see [Form Validation](guide/form-validation)\n *\n * \\@usageNotes\n *\n * ### Adding a maximum length validator\n *\n * The following example shows how to add a maximum length validator to an input attached to an\n * ngModel binding.\n *\n * ```html\n * <input name=\"firstName\" ngModel maxlength=\"25\">\n * ```\n *\n * \\@ngModule ReactiveFormsModule\n * \\@ngModule FormsModule\n * \\@publicApi\n */\nclass MaxLengthValidator {\n    /**\n     * \\@description\n     * A lifecycle method called when the directive's inputs change. For internal use\n     * only.\n     *\n     * @param {?} changes A object of key/value pairs for the set of changed inputs.\n     * @return {?}\n     */\n    ngOnChanges(changes) {\n        if ('maxlength' in changes) {\n            this._createValidator();\n            if (this._onChange)\n                this._onChange();\n        }\n    }\n    /**\n     * \\@description\n     * Method that validates whether the value exceeds\n     * the maximum length requirement.\n     * @param {?} control\n     * @return {?}\n     */\n    validate(control) {\n        return this.maxlength != null ? this._validator(control) : null;\n    }\n    /**\n     * \\@description\n     * Registers a callback function to call when the validator inputs change.\n     *\n     * @param {?} fn The callback function\n     * @return {?}\n     */\n    registerOnValidatorChange(fn) { this._onChange = fn; }\n    /**\n     * @private\n     * @return {?}\n     */\n    _createValidator() {\n        this._validator = Validators.maxLength(parseInt(this.maxlength, 10));\n    }\n}\nMaxLengthValidator.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{\n                selector: '[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]',\n                providers: [MAX_LENGTH_VALIDATOR],\n                host: { '[attr.maxlength]': 'maxlength ? maxlength : null' }\n            },] }\n];\nMaxLengthValidator.propDecorators = {\n    maxlength: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"] }]\n};\nif (false) {}\n/**\n * \\@description\n * Provider which adds `PatternValidator` to the `NG_VALIDATORS` multi-provider list.\n * @type {?}\n */\nconst PATTERN_VALIDATOR = {\n    provide: NG_VALIDATORS,\n    useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])((/**\n     * @return {?}\n     */\n    () => PatternValidator)),\n    multi: true\n};\n/**\n * \\@description\n * A directive that adds regex pattern validation to controls marked with the\n * `pattern` attribute. The regex must match the entire control value.\n * The directive is provided with the `NG_VALIDATORS` multi-provider list.\n *\n * @see [Form Validation](guide/form-validation)\n *\n * \\@usageNotes\n *\n * ### Adding a pattern validator\n *\n * The following example shows how to add a pattern validator to an input attached to an\n * ngModel binding.\n *\n * ```html\n * <input name=\"firstName\" ngModel pattern=\"[a-zA-Z ]*\">\n * ```\n *\n * \\@ngModule ReactiveFormsModule\n * \\@ngModule FormsModule\n * \\@publicApi\n */\nclass PatternValidator {\n    /**\n     * \\@description\n     * A lifecycle method called when the directive's inputs change. For internal use\n     * only.\n     *\n     * @param {?} changes A object of key/value pairs for the set of changed inputs.\n     * @return {?}\n     */\n    ngOnChanges(changes) {\n        if ('pattern' in changes) {\n            this._createValidator();\n            if (this._onChange)\n                this._onChange();\n        }\n    }\n    /**\n     * \\@description\n     * Method that validates whether the value matches the\n     * the pattern requirement.\n     * @param {?} control\n     * @return {?}\n     */\n    validate(control) { return this._validator(control); }\n    /**\n     * \\@description\n     * Registers a callback function to call when the validator inputs change.\n     *\n     * @param {?} fn The callback function\n     * @return {?}\n     */\n    registerOnValidatorChange(fn) { this._onChange = fn; }\n    /**\n     * @private\n     * @return {?}\n     */\n    _createValidator() { this._validator = Validators.pattern(this.pattern); }\n}\nPatternValidator.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{\n                selector: '[pattern][formControlName],[pattern][formControl],[pattern][ngModel]',\n                providers: [PATTERN_VALIDATOR],\n                host: { '[attr.pattern]': 'pattern ? pattern : null' }\n            },] }\n];\nPatternValidator.propDecorators = {\n    pattern: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"] }]\n};\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst SHARED_FORM_DIRECTIVES = [\n    ɵNgNoValidate,\n    NgSelectOption,\n    ɵNgSelectMultipleOption,\n    DefaultValueAccessor,\n    NumberValueAccessor,\n    RangeValueAccessor,\n    CheckboxControlValueAccessor,\n    SelectControlValueAccessor,\n    SelectMultipleControlValueAccessor,\n    RadioControlValueAccessor,\n    NgControlStatus,\n    NgControlStatusGroup,\n    RequiredValidator,\n    MinLengthValidator,\n    MaxLengthValidator,\n    PatternValidator,\n    CheckboxRequiredValidator,\n    EmailValidator,\n];\n/** @type {?} */\nconst TEMPLATE_DRIVEN_DIRECTIVES = [NgModel, NgModelGroup, NgForm, NgFormSelectorWarning];\n/** @type {?} */\nconst REACTIVE_DRIVEN_DIRECTIVES = [FormControlDirective, FormGroupDirective, FormControlName, FormGroupName, FormArrayName];\n/**\n * Internal module used for sharing directives between FormsModule and ReactiveFormsModule\n */\nclass ɵInternalFormsSharedModule {\n}\nɵInternalFormsSharedModule.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"], args: [{\n                declarations: SHARED_FORM_DIRECTIVES,\n                exports: SHARED_FORM_DIRECTIVES,\n            },] }\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @param {?} options\n * @return {?}\n */\nfunction isAbstractControlOptions(options) {\n    return ((/** @type {?} */ (options))).asyncValidators !== undefined ||\n        ((/** @type {?} */ (options))).validators !== undefined ||\n        ((/** @type {?} */ (options))).updateOn !== undefined;\n}\n/**\n * \\@description\n * Creates an `AbstractControl` from a user-specified configuration.\n *\n * The `FormBuilder` provides syntactic sugar that shortens creating instances of a `FormControl`,\n * `FormGroup`, or `FormArray`. It reduces the amount of boilerplate needed to build complex\n * forms.\n *\n * @see [Reactive Forms Guide](/guide/reactive-forms)\n *\n * \\@publicApi\n */\nclass FormBuilder {\n    /**\n     * \\@description\n     * Construct a new `FormGroup` instance.\n     *\n     * @param {?} controlsConfig A collection of child controls. The key for each child is the name\n     * under which it is registered.\n     *\n     * @param {?=} options Configuration options object for the `FormGroup`. The object can\n     * have two shapes:\n     *\n     * 1) `AbstractControlOptions` object (preferred), which consists of:\n     * * `validators`: A synchronous validator function, or an array of validator functions\n     * * `asyncValidators`: A single async validator or array of async validator functions\n     * * `updateOn`: The event upon which the control should be updated (options: 'change' | 'blur' |\n     * submit')\n     *\n     * 2) Legacy configuration object, which consists of:\n     * * `validator`: A synchronous validator function, or an array of validator functions\n     * * `asyncValidator`: A single async validator or array of async validator functions\n     *\n     * @return {?}\n     */\n    group(controlsConfig, options = null) {\n        /** @type {?} */\n        const controls = this._reduceControls(controlsConfig);\n        /** @type {?} */\n        let validators = null;\n        /** @type {?} */\n        let asyncValidators = null;\n        /** @type {?} */\n        let updateOn = undefined;\n        if (options != null) {\n            if (isAbstractControlOptions(options)) {\n                // `options` are `AbstractControlOptions`\n                validators = options.validators != null ? options.validators : null;\n                asyncValidators = options.asyncValidators != null ? options.asyncValidators : null;\n                updateOn = options.updateOn != null ? options.updateOn : undefined;\n            }\n            else {\n                // `options` are legacy form group options\n                validators = options['validator'] != null ? options['validator'] : null;\n                asyncValidators = options['asyncValidator'] != null ? options['asyncValidator'] : null;\n            }\n        }\n        return new FormGroup(controls, { asyncValidators, updateOn, validators });\n    }\n    /**\n     * \\@description\n     * Construct a new `FormControl` with the given state, validators and options.\n     *\n     * \\@usageNotes\n     *\n     * ### Initialize a control as disabled\n     *\n     * The following example returns a control with an initial value in a disabled state.\n     *\n     * <code-example path=\"forms/ts/formBuilder/form_builder_example.ts\" region=\"disabled-control\">\n     * </code-example>\n     * @param {?} formState Initializes the control with an initial state value, or\n     * with an object that contains both a value and a disabled status.\n     *\n     * @param {?=} validatorOrOpts A synchronous validator function, or an array of\n     * such functions, or an `AbstractControlOptions` object that contains\n     * validation functions and a validation trigger.\n     *\n     * @param {?=} asyncValidator A single async validator or array of async validator\n     * functions.\n     *\n     * @return {?}\n     */\n    control(formState, validatorOrOpts, asyncValidator) {\n        return new FormControl(formState, validatorOrOpts, asyncValidator);\n    }\n    /**\n     * Constructs a new `FormArray` from the given array of configurations,\n     * validators and options.\n     *\n     * @param {?} controlsConfig An array of child controls or control configs. Each\n     * child control is given an index when it is registered.\n     *\n     * @param {?=} validatorOrOpts A synchronous validator function, or an array of\n     * such functions, or an `AbstractControlOptions` object that contains\n     * validation functions and a validation trigger.\n     *\n     * @param {?=} asyncValidator A single async validator or array of async validator\n     * functions.\n     * @return {?}\n     */\n    array(controlsConfig, validatorOrOpts, asyncValidator) {\n        /** @type {?} */\n        const controls = controlsConfig.map((/**\n         * @param {?} c\n         * @return {?}\n         */\n        c => this._createControl(c)));\n        return new FormArray(controls, validatorOrOpts, asyncValidator);\n    }\n    /**\n     * \\@internal\n     * @param {?} controlsConfig\n     * @return {?}\n     */\n    _reduceControls(controlsConfig) {\n        /** @type {?} */\n        const controls = {};\n        Object.keys(controlsConfig).forEach((/**\n         * @param {?} controlName\n         * @return {?}\n         */\n        controlName => {\n            controls[controlName] = this._createControl(controlsConfig[controlName]);\n        }));\n        return controls;\n    }\n    /**\n     * \\@internal\n     * @param {?} controlConfig\n     * @return {?}\n     */\n    _createControl(controlConfig) {\n        if (controlConfig instanceof FormControl || controlConfig instanceof FormGroup ||\n            controlConfig instanceof FormArray) {\n            return controlConfig;\n        }\n        else if (Array.isArray(controlConfig)) {\n            /** @type {?} */\n            const value = controlConfig[0];\n            /** @type {?} */\n            const validator = controlConfig.length > 1 ? controlConfig[1] : null;\n            /** @type {?} */\n            const asyncValidator = controlConfig.length > 2 ? controlConfig[2] : null;\n            return this.control(value, validator, asyncValidator);\n        }\n        else {\n            return this.control(controlConfig);\n        }\n    }\n}\nFormBuilder.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"] }\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@publicApi\n * @type {?}\n */\nconst VERSION = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Version\"]('8.2.14');\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Exports the required providers and directives for template-driven forms,\n * making them available for import by NgModules that import this module.\n *\n * @see [Forms Guide](/guide/forms)\n *\n * \\@publicApi\n */\nclass FormsModule {\n    /**\n     * \\@description\n     * Provides options for configuring the template-driven forms module.\n     *\n     * @param {?} opts An object of configuration options\n     * * `warnOnDeprecatedNgFormSelector` Configures when to emit a warning when the deprecated\n     * `ngForm` selector is used.\n     * @return {?}\n     */\n    static withConfig(opts) {\n        return {\n            ngModule: FormsModule,\n            providers: [{ provide: NG_FORM_SELECTOR_WARNING, useValue: opts.warnOnDeprecatedNgFormSelector }]\n        };\n    }\n}\nFormsModule.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"], args: [{\n                declarations: TEMPLATE_DRIVEN_DIRECTIVES,\n                providers: [RadioControlRegistry],\n                exports: [ɵInternalFormsSharedModule, TEMPLATE_DRIVEN_DIRECTIVES]\n            },] }\n];\n/**\n * Exports the required infrastructure and directives for reactive forms,\n * making them available for import by NgModules that import this module.\n * @see [Forms](guide/reactive-forms)\n *\n * @see [Reactive Forms Guide](/guide/reactive-forms)\n *\n * \\@publicApi\n */\nclass ReactiveFormsModule {\n    /**\n     * \\@description\n     * Provides options for configuring the reactive forms module.\n     *\n     * @param {?} opts An object of configuration options\n     * * `warnOnNgModelWithFormControl` Configures when to emit a warning when an `ngModel`\n     * binding is used with reactive form directives.\n     * @return {?}\n     */\n    static withConfig(opts) {\n        return {\n            ngModule: ReactiveFormsModule,\n            providers: [{\n                    provide: NG_MODEL_WITH_FORM_CONTROL_WARNING,\n                    useValue: opts.warnOnNgModelWithFormControl\n                }]\n        };\n    }\n}\nReactiveFormsModule.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"], args: [{\n                declarations: [REACTIVE_DRIVEN_DIRECTIVES],\n                providers: [FormBuilder, RadioControlRegistry],\n                exports: [ɵInternalFormsSharedModule, REACTIVE_DRIVEN_DIRECTIVES]\n            },] }\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\n\n//# sourceMappingURL=forms.js.map\n\n\n/***/ }),\n\n/***/ \"./node_modules/@angular/material/esm2015/button.js\":\n/*!**********************************************************!*\\\n  !*** ./node_modules/@angular/material/esm2015/button.js ***!\n  \\**********************************************************/\n/*! exports provided: MatButtonModule, MatButton, MatAnchor */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MatButtonModule\", function() { return MatButtonModule; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MatButton\", function() { return MatButton; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MatAnchor\", function() { return MatAnchor; });\n/* harmony import */ var _angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/cdk/a11y */ \"./node_modules/@angular/cdk/esm2015/a11y.js\");\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var _angular_material_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/material/core */ \"./node_modules/@angular/material/esm2015/core.js\");\n/* harmony import */ var _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/platform-browser/animations */ \"./node_modules/@angular/platform-browser/fesm2015/animations.js\");\n/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ \"./node_modules/@angular/common/fesm2015/common.js\");\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\n\n\n\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Default color palette for round buttons (mat-fab and mat-mini-fab)\n * @type {?}\n */\nconst DEFAULT_ROUND_BUTTON_COLOR = 'accent';\n/**\n * List of classes to add to MatButton instances based on host attributes to\n * style as different variants.\n * @type {?}\n */\nconst BUTTON_HOST_ATTRIBUTES = [\n    'mat-button',\n    'mat-flat-button',\n    'mat-icon-button',\n    'mat-raised-button',\n    'mat-stroked-button',\n    'mat-mini-fab',\n    'mat-fab',\n];\n// Boilerplate for applying mixins to MatButton.\n/**\n * \\@docs-private\n */\nclass MatButtonBase {\n    /**\n     * @param {?} _elementRef\n     */\n    constructor(_elementRef) {\n        this._elementRef = _elementRef;\n    }\n}\n/** @type {?} */\nconst _MatButtonMixinBase = Object(_angular_material_core__WEBPACK_IMPORTED_MODULE_2__[\"mixinColor\"])(Object(_angular_material_core__WEBPACK_IMPORTED_MODULE_2__[\"mixinDisabled\"])(Object(_angular_material_core__WEBPACK_IMPORTED_MODULE_2__[\"mixinDisableRipple\"])(MatButtonBase)));\n/**\n * Material design button.\n */\nclass MatButton extends _MatButtonMixinBase {\n    /**\n     * @param {?} elementRef\n     * @param {?} _focusMonitor\n     * @param {?} _animationMode\n     */\n    constructor(elementRef, _focusMonitor, _animationMode) {\n        super(elementRef);\n        this._focusMonitor = _focusMonitor;\n        this._animationMode = _animationMode;\n        /**\n         * Whether the button is round.\n         */\n        this.isRoundButton = this._hasHostAttributes('mat-fab', 'mat-mini-fab');\n        /**\n         * Whether the button is icon button.\n         */\n        this.isIconButton = this._hasHostAttributes('mat-icon-button');\n        // For each of the variant selectors that is present in the button's host\n        // attributes, add the correct corresponding class.\n        for (const attr of BUTTON_HOST_ATTRIBUTES) {\n            if (this._hasHostAttributes(attr)) {\n                ((/** @type {?} */ (this._getHostElement()))).classList.add(attr);\n            }\n        }\n        // Add a class that applies to all buttons. This makes it easier to target if somebody\n        // wants to target all Material buttons. We do it here rather than `host` to ensure that\n        // the class is applied to derived classes.\n        elementRef.nativeElement.classList.add('mat-button-base');\n        this._focusMonitor.monitor(this._elementRef, true);\n        if (this.isRoundButton) {\n            this.color = DEFAULT_ROUND_BUTTON_COLOR;\n        }\n    }\n    /**\n     * @return {?}\n     */\n    ngOnDestroy() {\n        this._focusMonitor.stopMonitoring(this._elementRef);\n    }\n    /**\n     * Focuses the button.\n     * @param {?=} origin\n     * @param {?=} options\n     * @return {?}\n     */\n    focus(origin = 'program', options) {\n        this._focusMonitor.focusVia(this._getHostElement(), origin, options);\n    }\n    /**\n     * @return {?}\n     */\n    _getHostElement() {\n        return this._elementRef.nativeElement;\n    }\n    /**\n     * @return {?}\n     */\n    _isRippleDisabled() {\n        return this.disableRipple || this.disabled;\n    }\n    /**\n     * Gets whether the button has one of the given attributes.\n     * @param {...?} attributes\n     * @return {?}\n     */\n    _hasHostAttributes(...attributes) {\n        return attributes.some((/**\n         * @param {?} attribute\n         * @return {?}\n         */\n        attribute => this._getHostElement().hasAttribute(attribute)));\n    }\n}\nMatButton.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Component\"], args: [{selector: `button[mat-button], button[mat-raised-button], button[mat-icon-button],\n             button[mat-fab], button[mat-mini-fab], button[mat-stroked-button],\n             button[mat-flat-button]`,\n                exportAs: 'matButton',\n                host: {\n                    '[attr.disabled]': 'disabled || null',\n                    '[class._mat-animation-noopable]': '_animationMode === \"NoopAnimations\"',\n                },\n                template: \"<span class=\\\"mat-button-wrapper\\\"><ng-content></ng-content></span><div matRipple class=\\\"mat-button-ripple\\\" [class.mat-button-ripple-round]=\\\"isRoundButton || isIconButton\\\" [matRippleDisabled]=\\\"_isRippleDisabled()\\\" [matRippleCentered]=\\\"isIconButton\\\" [matRippleTrigger]=\\\"_getHostElement()\\\"></div><div class=\\\"mat-button-focus-overlay\\\"></div>\",\n                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}}\"],\n                inputs: ['disabled', 'disableRipple', 'color'],\n                encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ViewEncapsulation\"].None,\n                changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ChangeDetectionStrategy\"].OnPush,\n            },] },\n];\n/** @nocollapse */\nMatButton.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ElementRef\"] },\n    { type: _angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_0__[\"FocusMonitor\"] },\n    { type: String, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"], args: [_angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_3__[\"ANIMATION_MODULE_TYPE\"],] }] }\n];\nMatButton.propDecorators = {\n    ripple: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ViewChild\"], args: [_angular_material_core__WEBPACK_IMPORTED_MODULE_2__[\"MatRipple\"], { static: false },] }]\n};\n/**\n * Material design anchor button.\n */\nclass MatAnchor extends MatButton {\n    /**\n     * @param {?} focusMonitor\n     * @param {?} elementRef\n     * @param {?} animationMode\n     */\n    constructor(focusMonitor, elementRef, animationMode) {\n        super(elementRef, focusMonitor, animationMode);\n    }\n    /**\n     * @param {?} event\n     * @return {?}\n     */\n    _haltDisabledEvents(event) {\n        // A disabled button shouldn't apply any actions\n        if (this.disabled) {\n            event.preventDefault();\n            event.stopImmediatePropagation();\n        }\n    }\n}\nMatAnchor.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Component\"], args: [{selector: `a[mat-button], a[mat-raised-button], a[mat-icon-button], a[mat-fab],\n             a[mat-mini-fab], a[mat-stroked-button], a[mat-flat-button]`,\n                exportAs: 'matButton, matAnchor',\n                host: {\n                    // Note that we ignore the user-specified tabindex when it's disabled for\n                    // consistency with the `mat-button` applied on native buttons where even\n                    // though they have an index, they're not tabbable.\n                    '[attr.tabindex]': 'disabled ? -1 : (tabIndex || 0)',\n                    '[attr.disabled]': 'disabled || null',\n                    '[attr.aria-disabled]': 'disabled.toString()',\n                    '(click)': '_haltDisabledEvents($event)',\n                    '[class._mat-animation-noopable]': '_animationMode === \"NoopAnimations\"',\n                },\n                inputs: ['disabled', 'disableRipple', 'color'],\n                template: \"<span class=\\\"mat-button-wrapper\\\"><ng-content></ng-content></span><div matRipple class=\\\"mat-button-ripple\\\" [class.mat-button-ripple-round]=\\\"isRoundButton || isIconButton\\\" [matRippleDisabled]=\\\"_isRippleDisabled()\\\" [matRippleCentered]=\\\"isIconButton\\\" [matRippleTrigger]=\\\"_getHostElement()\\\"></div><div class=\\\"mat-button-focus-overlay\\\"></div>\",\n                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}}\"],\n                encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ViewEncapsulation\"].None,\n                changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ChangeDetectionStrategy\"].OnPush,\n            },] },\n];\n/** @nocollapse */\nMatAnchor.ctorParameters = () => [\n    { type: _angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_0__[\"FocusMonitor\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ElementRef\"] },\n    { type: String, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"], args: [_angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_3__[\"ANIMATION_MODULE_TYPE\"],] }] }\n];\nMatAnchor.propDecorators = {\n    tabIndex: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"] }]\n};\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass MatButtonModule {\n}\nMatButtonModule.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgModule\"], args: [{\n                imports: [\n                    _angular_common__WEBPACK_IMPORTED_MODULE_4__[\"CommonModule\"],\n                    _angular_material_core__WEBPACK_IMPORTED_MODULE_2__[\"MatRippleModule\"],\n                    _angular_material_core__WEBPACK_IMPORTED_MODULE_2__[\"MatCommonModule\"],\n                ],\n                exports: [\n                    MatButton,\n                    MatAnchor,\n                    _angular_material_core__WEBPACK_IMPORTED_MODULE_2__[\"MatCommonModule\"],\n                ],\n                declarations: [\n                    MatButton,\n                    MatAnchor,\n                ],\n            },] },\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n\n//# sourceMappingURL=button.js.map\n\n\n/***/ }),\n\n/***/ \"./node_modules/@angular/material/esm2015/core.js\":\n/*!********************************************************!*\\\n  !*** ./node_modules/@angular/material/esm2015/core.js ***!\n  \\********************************************************/\n/*! exports provided: VERSION, AnimationCurves, AnimationDurations, MatCommonModule, MATERIAL_SANITY_CHECKS, mixinDisabled, mixinColor, mixinDisableRipple, mixinTabIndex, mixinErrorState, mixinInitialized, NativeDateModule, MatNativeDateModule, MAT_DATE_LOCALE_FACTORY, MAT_DATE_LOCALE, MAT_DATE_LOCALE_PROVIDER, DateAdapter, MAT_DATE_FORMATS, NativeDateAdapter, MAT_NATIVE_DATE_FORMATS, ShowOnDirtyErrorStateMatcher, ErrorStateMatcher, MAT_HAMMER_OPTIONS, GestureConfig, setLines, MatLine, MatLineSetter, MatLineModule, MatOptionModule, _countGroupLabelsBeforeOption, _getOptionScrollPosition, MatOptionSelectionChange, MAT_OPTION_PARENT_COMPONENT, MatOption, MatOptgroup, MAT_LABEL_GLOBAL_OPTIONS, MatRippleModule, MAT_RIPPLE_GLOBAL_OPTIONS, MatRipple, RippleState, RippleRef, defaultRippleAnimationConfig, RippleRenderer, MatPseudoCheckboxModule, MatPseudoCheckbox, JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC, ɵa1 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VERSION\", function() { return VERSION$1; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AnimationCurves\", function() { return AnimationCurves; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AnimationDurations\", function() { return AnimationDurations; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MatCommonModule\", function() { return MatCommonModule; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MATERIAL_SANITY_CHECKS\", function() { return MATERIAL_SANITY_CHECKS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"mixinDisabled\", function() { return mixinDisabled; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"mixinColor\", function() { return mixinColor; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"mixinDisableRipple\", function() { return mixinDisableRipple; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"mixinTabIndex\", function() { return mixinTabIndex; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"mixinErrorState\", function() { return mixinErrorState; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"mixinInitialized\", function() { return mixinInitialized; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NativeDateModule\", function() { return NativeDateModule; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MatNativeDateModule\", function() { return MatNativeDateModule; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MAT_DATE_LOCALE_FACTORY\", function() { return MAT_DATE_LOCALE_FACTORY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MAT_DATE_LOCALE\", function() { return MAT_DATE_LOCALE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MAT_DATE_LOCALE_PROVIDER\", function() { return MAT_DATE_LOCALE_PROVIDER; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DateAdapter\", function() { return DateAdapter; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MAT_DATE_FORMATS\", function() { return MAT_DATE_FORMATS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NativeDateAdapter\", function() { return NativeDateAdapter; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MAT_NATIVE_DATE_FORMATS\", function() { return MAT_NATIVE_DATE_FORMATS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ShowOnDirtyErrorStateMatcher\", function() { return ShowOnDirtyErrorStateMatcher; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ErrorStateMatcher\", function() { return ErrorStateMatcher; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MAT_HAMMER_OPTIONS\", function() { return MAT_HAMMER_OPTIONS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"GestureConfig\", function() { return GestureConfig; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"setLines\", function() { return setLines; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MatLine\", function() { return MatLine; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MatLineSetter\", function() { return MatLineSetter; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MatLineModule\", function() { return MatLineModule; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MatOptionModule\", function() { return MatOptionModule; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"_countGroupLabelsBeforeOption\", function() { return _countGroupLabelsBeforeOption; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"_getOptionScrollPosition\", function() { return _getOptionScrollPosition; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MatOptionSelectionChange\", function() { return MatOptionSelectionChange; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MAT_OPTION_PARENT_COMPONENT\", function() { return MAT_OPTION_PARENT_COMPONENT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MatOption\", function() { return MatOption; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MatOptgroup\", function() { return MatOptgroup; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MAT_LABEL_GLOBAL_OPTIONS\", function() { return MAT_LABEL_GLOBAL_OPTIONS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MatRippleModule\", function() { return MatRippleModule; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MAT_RIPPLE_GLOBAL_OPTIONS\", function() { return MAT_RIPPLE_GLOBAL_OPTIONS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MatRipple\", function() { return MatRipple; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RippleState\", function() { return RippleState; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RippleRef\", function() { return RippleRef; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"defaultRippleAnimationConfig\", function() { return defaultRippleAnimationConfig; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RippleRenderer\", function() { return RippleRenderer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MatPseudoCheckboxModule\", function() { return MatPseudoCheckboxModule; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MatPseudoCheckbox\", function() { return MatPseudoCheckbox; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"JAN\", function() { return JAN; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FEB\", function() { return FEB; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MAR\", function() { return MAR; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"APR\", function() { return APR; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MAY\", function() { return MAY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"JUN\", function() { return JUN; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"JUL\", function() { return JUL; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AUG\", function() { return AUG; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SEP\", function() { return SEP; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"OCT\", function() { return OCT; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NOV\", function() { return NOV; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DEC\", function() { return DEC; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵa1\", function() { return MATERIAL_SANITY_CHECKS_FACTORY; });\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/platform-browser */ \"./node_modules/@angular/platform-browser/fesm2015/platform-browser.js\");\n/* harmony import */ var _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/cdk/bidi */ \"./node_modules/@angular/cdk/esm2015/bidi.js\");\n/* harmony import */ var _angular_cdk__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/cdk */ \"./node_modules/@angular/cdk/esm2015/cdk.js\");\n/* harmony import */ var _angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/cdk/coercion */ \"./node_modules/@angular/cdk/esm2015/coercion.js\");\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rxjs */ \"./node_modules/rxjs/_esm2015/index.js\");\n/* harmony import */ var _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/cdk/platform */ \"./node_modules/@angular/cdk/esm2015/platform.js\");\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! rxjs/operators */ \"./node_modules/rxjs/_esm2015/operators/index.js\");\n/* harmony import */ var _angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/cdk/a11y */ \"./node_modules/@angular/cdk/esm2015/a11y.js\");\n/* harmony import */ var _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/platform-browser/animations */ \"./node_modules/@angular/platform-browser/fesm2015/animations.js\");\n/* harmony import */ var _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/cdk/keycodes */ \"./node_modules/@angular/cdk/esm2015/keycodes.js\");\n/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/common */ \"./node_modules/@angular/common/fesm2015/common.js\");\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\n\n\n\n\n\n\n\n\n\n\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Current version of Angular Material.\n * @type {?}\n */\nconst VERSION$1 = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Version\"]('8.2.3');\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * \\@docs-private\n */\nclass AnimationCurves {\n}\nAnimationCurves.STANDARD_CURVE = 'cubic-bezier(0.4,0.0,0.2,1)';\nAnimationCurves.DECELERATION_CURVE = 'cubic-bezier(0.0,0.0,0.2,1)';\nAnimationCurves.ACCELERATION_CURVE = 'cubic-bezier(0.4,0.0,1,1)';\nAnimationCurves.SHARP_CURVE = 'cubic-bezier(0.4,0.0,0.6,1)';\n/**\n * \\@docs-private\n */\nclass AnimationDurations {\n}\nAnimationDurations.COMPLEX = '375ms';\nAnimationDurations.ENTERING = '225ms';\nAnimationDurations.EXITING = '195ms';\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n// Private version constant to circumvent test/build issues,\n// i.e. avoid core to depend on the @angular/material primary entry-point\n// Can be removed once the Material primary entry-point no longer\n// re-exports all secondary entry-points\n/** @type {?} */\nconst VERSION$2 = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Version\"]('8.2.3');\n/**\n * \\@docs-private\n * @return {?}\n */\nfunction MATERIAL_SANITY_CHECKS_FACTORY() {\n    return true;\n}\n/**\n * Injection token that configures whether the Material sanity checks are enabled.\n * @type {?}\n */\nconst MATERIAL_SANITY_CHECKS = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('mat-sanity-checks', {\n    providedIn: 'root',\n    factory: MATERIAL_SANITY_CHECKS_FACTORY,\n});\n/**\n * Module that captures anything that should be loaded and/or run for *all* Angular Material\n * components. This includes Bidi, etc.\n *\n * This module should be imported to each top-level component module (e.g., MatTabsModule).\n */\nclass MatCommonModule {\n    /**\n     * @param {?} _sanityChecksEnabled\n     * @param {?=} _hammerLoader\n     */\n    constructor(_sanityChecksEnabled, _hammerLoader) {\n        this._sanityChecksEnabled = _sanityChecksEnabled;\n        this._hammerLoader = _hammerLoader;\n        /**\n         * Whether we've done the global sanity checks (e.g. a theme is loaded, there is a doctype).\n         */\n        this._hasDoneGlobalChecks = false;\n        /**\n         * Whether we've already checked for HammerJs availability.\n         */\n        this._hasCheckedHammer = false;\n        /**\n         * Reference to the global `document` object.\n         */\n        this._document = typeof document === 'object' && document ? document : null;\n        /**\n         * Reference to the global 'window' object.\n         */\n        this._window = typeof window === 'object' && window ? window : null;\n        if (this._areChecksEnabled() && !this._hasDoneGlobalChecks) {\n            this._checkDoctypeIsDefined();\n            this._checkThemeIsPresent();\n            this._checkCdkVersionMatch();\n            this._hasDoneGlobalChecks = true;\n        }\n    }\n    /**\n     * Whether any sanity checks are enabled\n     * @private\n     * @return {?}\n     */\n    _areChecksEnabled() {\n        return this._sanityChecksEnabled && Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"isDevMode\"])() && !this._isTestEnv();\n    }\n    /**\n     * Whether the code is running in tests.\n     * @private\n     * @return {?}\n     */\n    _isTestEnv() {\n        /** @type {?} */\n        const window = (/** @type {?} */ (this._window));\n        return window && (window.__karma__ || window.jasmine);\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _checkDoctypeIsDefined() {\n        if (this._document && !this._document.doctype) {\n            console.warn('Current document does not have a doctype. This may cause ' +\n                'some Angular Material components not to behave as expected.');\n        }\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _checkThemeIsPresent() {\n        // We need to assert that the `body` is defined, because these checks run very early\n        // and the `body` won't be defined if the consumer put their scripts in the `head`.\n        if (!this._document || !this._document.body || typeof getComputedStyle !== 'function') {\n            return;\n        }\n        /** @type {?} */\n        const testElement = this._document.createElement('div');\n        testElement.classList.add('mat-theme-loaded-marker');\n        this._document.body.appendChild(testElement);\n        /** @type {?} */\n        const computedStyle = getComputedStyle(testElement);\n        // In some situations the computed style of the test element can be null. For example in\n        // Firefox, the computed style is null if an application is running inside of a hidden iframe.\n        // See: https://bugzilla.mozilla.org/show_bug.cgi?id=548397\n        if (computedStyle && computedStyle.display !== 'none') {\n            console.warn('Could not find Angular Material core theme. Most Material ' +\n                'components may not work as expected. For more info refer ' +\n                'to the theming guide: https://material.angular.io/guide/theming');\n        }\n        this._document.body.removeChild(testElement);\n    }\n    /**\n     * Checks whether the material version matches the cdk version\n     * @private\n     * @return {?}\n     */\n    _checkCdkVersionMatch() {\n        if (VERSION$2.full !== _angular_cdk__WEBPACK_IMPORTED_MODULE_3__[\"VERSION\"].full) {\n            console.warn('The Angular Material version (' + VERSION$2.full + ') does not match ' +\n                'the Angular CDK version (' + _angular_cdk__WEBPACK_IMPORTED_MODULE_3__[\"VERSION\"].full + ').\\n' +\n                'Please ensure the versions of these two packages exactly match.');\n        }\n    }\n    /**\n     * Checks whether HammerJS is available.\n     * @return {?}\n     */\n    _checkHammerIsAvailable() {\n        if (this._hasCheckedHammer || !this._window) {\n            return;\n        }\n        if (this._areChecksEnabled() && !((/** @type {?} */ (this._window)))['Hammer'] && !this._hammerLoader) {\n            console.warn('Could not find HammerJS. Certain Angular Material components may not work correctly.');\n        }\n        this._hasCheckedHammer = true;\n    }\n}\nMatCommonModule.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"], args: [{\n                imports: [_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_2__[\"BidiModule\"]],\n                exports: [_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_2__[\"BidiModule\"]],\n            },] },\n];\n/** @nocollapse */\nMatCommonModule.ctorParameters = () => [\n    { type: Boolean, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [MATERIAL_SANITY_CHECKS,] }] },\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [_angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__[\"HAMMER_LOADER\"],] }] }\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Mixin to augment a directive with a `disabled` property.\n * @template T\n * @param {?} base\n * @return {?}\n */\nfunction mixinDisabled(base) {\n    return class extends base {\n        /**\n         * @param {...?} args\n         */\n        constructor(...args) {\n            super(...args);\n            this._disabled = false;\n        }\n        /**\n         * @return {?}\n         */\n        get disabled() { return this._disabled; }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n        set disabled(value) { this._disabled = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_4__[\"coerceBooleanProperty\"])(value); }\n    };\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Mixin to augment a directive with a `color` property.\n * @template T\n * @param {?} base\n * @param {?=} defaultColor\n * @return {?}\n */\nfunction mixinColor(base, defaultColor) {\n    return class extends base {\n        /**\n         * @return {?}\n         */\n        get color() { return this._color; }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n        set color(value) {\n            /** @type {?} */\n            const colorPalette = value || defaultColor;\n            if (colorPalette !== this._color) {\n                if (this._color) {\n                    this._elementRef.nativeElement.classList.remove(`mat-${this._color}`);\n                }\n                if (colorPalette) {\n                    this._elementRef.nativeElement.classList.add(`mat-${colorPalette}`);\n                }\n                this._color = colorPalette;\n            }\n        }\n        /**\n         * @param {...?} args\n         */\n        constructor(...args) {\n            super(...args);\n            // Set the default color that can be specified from the mixin.\n            this.color = defaultColor;\n        }\n    };\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Mixin to augment a directive with a `disableRipple` property.\n * @template T\n * @param {?} base\n * @return {?}\n */\nfunction mixinDisableRipple(base) {\n    return class extends base {\n        /**\n         * @param {...?} args\n         */\n        constructor(...args) {\n            super(...args);\n            this._disableRipple = false;\n        }\n        /**\n         * Whether the ripple effect is disabled or not.\n         * @return {?}\n         */\n        get disableRipple() { return this._disableRipple; }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n        set disableRipple(value) { this._disableRipple = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_4__[\"coerceBooleanProperty\"])(value); }\n    };\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Mixin to augment a directive with a `tabIndex` property.\n * @template T\n * @param {?} base\n * @param {?=} defaultTabIndex\n * @return {?}\n */\nfunction mixinTabIndex(base, defaultTabIndex = 0) {\n    return class extends base {\n        /**\n         * @param {...?} args\n         */\n        constructor(...args) {\n            super(...args);\n            this._tabIndex = defaultTabIndex;\n        }\n        /**\n         * @return {?}\n         */\n        get tabIndex() { return this.disabled ? -1 : this._tabIndex; }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n        set tabIndex(value) {\n            // If the specified tabIndex value is null or undefined, fall back to the default value.\n            this._tabIndex = value != null ? value : defaultTabIndex;\n        }\n    };\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Mixin to augment a directive with updateErrorState method.\n * For component with `errorState` and need to update `errorState`.\n * @template T\n * @param {?} base\n * @return {?}\n */\nfunction mixinErrorState(base) {\n    return class extends base {\n        /**\n         * @param {...?} args\n         */\n        constructor(...args) {\n            super(...args);\n            /**\n             * Whether the component is in an error state.\n             */\n            this.errorState = false;\n            /**\n             * Stream that emits whenever the state of the input changes such that the wrapping\n             * `MatFormField` needs to run change detection.\n             */\n            this.stateChanges = new rxjs__WEBPACK_IMPORTED_MODULE_5__[\"Subject\"]();\n        }\n        /**\n         * @return {?}\n         */\n        updateErrorState() {\n            /** @type {?} */\n            const oldState = this.errorState;\n            /** @type {?} */\n            const parent = this._parentFormGroup || this._parentForm;\n            /** @type {?} */\n            const matcher = this.errorStateMatcher || this._defaultErrorStateMatcher;\n            /** @type {?} */\n            const control = this.ngControl ? (/** @type {?} */ (this.ngControl.control)) : null;\n            /** @type {?} */\n            const newState = matcher.isErrorState(control, parent);\n            if (newState !== oldState) {\n                this.errorState = newState;\n                this.stateChanges.next();\n            }\n        }\n    };\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Mixin to augment a directive with an initialized property that will emits when ngOnInit ends.\n * @template T\n * @param {?} base\n * @return {?}\n */\nfunction mixinInitialized(base) {\n    return class extends base {\n        /**\n         * @param {...?} args\n         */\n        constructor(...args) {\n            super(...args);\n            /**\n             * Whether this directive has been marked as initialized.\n             */\n            this._isInitialized = false;\n            /**\n             * List of subscribers that subscribed before the directive was initialized. Should be notified\n             * during _markInitialized. Set to null after pending subscribers are notified, and should\n             * not expect to be populated after.\n             */\n            this._pendingSubscribers = [];\n            /**\n             * Observable stream that emits when the directive initializes. If already initialized, the\n             * subscriber is stored to be notified once _markInitialized is called.\n             */\n            this.initialized = new rxjs__WEBPACK_IMPORTED_MODULE_5__[\"Observable\"]((/**\n             * @param {?} subscriber\n             * @return {?}\n             */\n            subscriber => {\n                // If initialized, immediately notify the subscriber. Otherwise store the subscriber to notify\n                // when _markInitialized is called.\n                if (this._isInitialized) {\n                    this._notifySubscriber(subscriber);\n                }\n                else {\n                    (/** @type {?} */ (this._pendingSubscribers)).push(subscriber);\n                }\n            }));\n        }\n        /**\n         * Marks the state as initialized and notifies pending subscribers. Should be called at the end\n         * of ngOnInit.\n         * \\@docs-private\n         * @return {?}\n         */\n        _markInitialized() {\n            if (this._isInitialized) {\n                throw Error('This directive has already been marked as initialized and ' +\n                    'should not be called twice.');\n            }\n            this._isInitialized = true;\n            (/** @type {?} */ (this._pendingSubscribers)).forEach(this._notifySubscriber);\n            this._pendingSubscribers = null;\n        }\n        /**\n         * Emits and completes the subscriber stream (should only emit once).\n         * @param {?} subscriber\n         * @return {?}\n         */\n        _notifySubscriber(subscriber) {\n            subscriber.next();\n            subscriber.complete();\n        }\n    };\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * InjectionToken for datepicker that can be used to override default locale code.\n * @type {?}\n */\nconst MAT_DATE_LOCALE = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('MAT_DATE_LOCALE', {\n    providedIn: 'root',\n    factory: MAT_DATE_LOCALE_FACTORY,\n});\n/**\n * \\@docs-private\n * @return {?}\n */\nfunction MAT_DATE_LOCALE_FACTORY() {\n    return Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"inject\"])(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"LOCALE_ID\"]);\n}\n/**\n * No longer needed since MAT_DATE_LOCALE has been changed to a scoped injectable.\n * If you are importing and providing this in your code you can simply remove it.\n * @deprecated\n * \\@breaking-change 8.0.0\n * @type {?}\n */\nconst MAT_DATE_LOCALE_PROVIDER = { provide: MAT_DATE_LOCALE, useExisting: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"LOCALE_ID\"] };\n/**\n * Adapts type `D` to be usable as a date by cdk-based components that work with dates.\n * @abstract\n * @template D\n */\nclass DateAdapter {\n    constructor() {\n        this._localeChanges = new rxjs__WEBPACK_IMPORTED_MODULE_5__[\"Subject\"]();\n    }\n    /**\n     * A stream that emits when the locale changes.\n     * @return {?}\n     */\n    get localeChanges() { return this._localeChanges; }\n    /**\n     * Attempts to deserialize a value to a valid date object. This is different from parsing in that\n     * deserialize should only accept non-ambiguous, locale-independent formats (e.g. a ISO 8601\n     * string). The default implementation does not allow any deserialization, it simply checks that\n     * the given value is already a valid date object or null. The `<mat-datepicker>` will call this\n     * method on all of its `\\@Input()` properties that accept dates. It is therefore possible to\n     * support passing values from your backend directly to these properties by overriding this method\n     * to also deserialize the format used by your backend.\n     * @param {?} value The value to be deserialized into a date object.\n     * @return {?} The deserialized date object, either a valid date, null if the value can be\n     *     deserialized into a null date (e.g. the empty string), or an invalid date.\n     */\n    deserialize(value) {\n        if (value == null || this.isDateInstance(value) && this.isValid(value)) {\n            return value;\n        }\n        return this.invalid();\n    }\n    /**\n     * Sets the locale used for all dates.\n     * @param {?} locale The new locale.\n     * @return {?}\n     */\n    setLocale(locale) {\n        this.locale = locale;\n        this._localeChanges.next();\n    }\n    /**\n     * Compares two dates.\n     * @param {?} first The first date to compare.\n     * @param {?} second The second date to compare.\n     * @return {?} 0 if the dates are equal, a number less than 0 if the first date is earlier,\n     *     a number greater than 0 if the first date is later.\n     */\n    compareDate(first, second) {\n        return this.getYear(first) - this.getYear(second) ||\n            this.getMonth(first) - this.getMonth(second) ||\n            this.getDate(first) - this.getDate(second);\n    }\n    /**\n     * Checks if two dates are equal.\n     * @param {?} first The first date to check.\n     * @param {?} second The second date to check.\n     * @return {?} Whether the two dates are equal.\n     *     Null dates are considered equal to other null dates.\n     */\n    sameDate(first, second) {\n        if (first && second) {\n            /** @type {?} */\n            let firstValid = this.isValid(first);\n            /** @type {?} */\n            let secondValid = this.isValid(second);\n            if (firstValid && secondValid) {\n                return !this.compareDate(first, second);\n            }\n            return firstValid == secondValid;\n        }\n        return first == second;\n    }\n    /**\n     * Clamp the given date between min and max dates.\n     * @param {?} date The date to clamp.\n     * @param {?=} min The minimum value to allow. If null or omitted no min is enforced.\n     * @param {?=} max The maximum value to allow. If null or omitted no max is enforced.\n     * @return {?} `min` if `date` is less than `min`, `max` if date is greater than `max`,\n     *     otherwise `date`.\n     */\n    clampDate(date, min, max) {\n        if (min && this.compareDate(date, min) < 0) {\n            return min;\n        }\n        if (max && this.compareDate(date, max) > 0) {\n            return max;\n        }\n        return date;\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst MAT_DATE_FORMATS = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('mat-date-formats');\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n// TODO(mmalerba): Remove when we no longer support safari 9.\n/**\n * Whether the browser supports the Intl API.\n * @type {?}\n */\nlet SUPPORTS_INTL_API;\n// We need a try/catch around the reference to `Intl`, because accessing it in some cases can\n// cause IE to throw. These cases are tied to particular versions of Windows and can happen if\n// the consumer is providing a polyfilled `Map`. See:\n// https://github.com/Microsoft/ChakraCore/issues/3189\n// https://github.com/angular/components/issues/15687\ntry {\n    SUPPORTS_INTL_API = typeof Intl != 'undefined';\n}\ncatch (_a) {\n    SUPPORTS_INTL_API = false;\n}\n/**\n * The default month names to use if Intl API is not available.\n * @type {?}\n */\nconst DEFAULT_MONTH_NAMES = {\n    'long': [\n        'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September',\n        'October', 'November', 'December'\n    ],\n    'short': ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],\n    'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D']\n};\nconst ɵ0 = /**\n * @param {?} i\n * @return {?}\n */\ni => String(i + 1);\n/**\n * The default date names to use if Intl API is not available.\n * @type {?}\n */\nconst DEFAULT_DATE_NAMES = range(31, (ɵ0));\n/**\n * The default day of the week names to use if Intl API is not available.\n * @type {?}\n */\nconst DEFAULT_DAY_OF_WEEK_NAMES = {\n    'long': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],\n    'short': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],\n    'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S']\n};\n/**\n * Matches strings that have the form of a valid RFC 3339 string\n * (https://tools.ietf.org/html/rfc3339). Note that the string may not actually be a valid date\n * because the regex will match strings an with out of bounds month, date, etc.\n * @type {?}\n */\nconst ISO_8601_REGEX = /^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|(?:(?:\\+|-)\\d{2}:\\d{2}))?)?$/;\n/**\n * Creates an array and fills it with values.\n * @template T\n * @param {?} length\n * @param {?} valueFunction\n * @return {?}\n */\nfunction range(length, valueFunction) {\n    /** @type {?} */\n    const valuesArray = Array(length);\n    for (let i = 0; i < length; i++) {\n        valuesArray[i] = valueFunction(i);\n    }\n    return valuesArray;\n}\n/**\n * Adapts the native JS Date for use with cdk-based components that work with dates.\n */\nclass NativeDateAdapter extends DateAdapter {\n    /**\n     * @param {?} matDateLocale\n     * @param {?} platform\n     */\n    constructor(matDateLocale, platform) {\n        super();\n        /**\n         * Whether to use `timeZone: 'utc'` with `Intl.DateTimeFormat` when formatting dates.\n         * Without this `Intl.DateTimeFormat` sometimes chooses the wrong timeZone, which can throw off\n         * the result. (e.g. in the en-US locale `new Date(1800, 7, 14).toLocaleDateString()`\n         * will produce `'8/13/1800'`.\n         *\n         * TODO(mmalerba): drop this variable. It's not being used in the code right now. We're now\n         * getting the string representation of a Date object from its utc representation. We're keeping\n         * it here for sometime, just for precaution, in case we decide to revert some of these changes\n         * though.\n         */\n        this.useUtcForDisplay = true;\n        super.setLocale(matDateLocale);\n        // IE does its own time zone correction, so we disable this on IE.\n        this.useUtcForDisplay = !platform.TRIDENT;\n        this._clampDate = platform.TRIDENT || platform.EDGE;\n    }\n    /**\n     * @param {?} date\n     * @return {?}\n     */\n    getYear(date) {\n        return date.getFullYear();\n    }\n    /**\n     * @param {?} date\n     * @return {?}\n     */\n    getMonth(date) {\n        return date.getMonth();\n    }\n    /**\n     * @param {?} date\n     * @return {?}\n     */\n    getDate(date) {\n        return date.getDate();\n    }\n    /**\n     * @param {?} date\n     * @return {?}\n     */\n    getDayOfWeek(date) {\n        return date.getDay();\n    }\n    /**\n     * @param {?} style\n     * @return {?}\n     */\n    getMonthNames(style) {\n        if (SUPPORTS_INTL_API) {\n            /** @type {?} */\n            const dtf = new Intl.DateTimeFormat(this.locale, { month: style, timeZone: 'utc' });\n            return range(12, (/**\n             * @param {?} i\n             * @return {?}\n             */\n            i => this._stripDirectionalityCharacters(this._format(dtf, new Date(2017, i, 1)))));\n        }\n        return DEFAULT_MONTH_NAMES[style];\n    }\n    /**\n     * @return {?}\n     */\n    getDateNames() {\n        if (SUPPORTS_INTL_API) {\n            /** @type {?} */\n            const dtf = new Intl.DateTimeFormat(this.locale, { day: 'numeric', timeZone: 'utc' });\n            return range(31, (/**\n             * @param {?} i\n             * @return {?}\n             */\n            i => this._stripDirectionalityCharacters(this._format(dtf, new Date(2017, 0, i + 1)))));\n        }\n        return DEFAULT_DATE_NAMES;\n    }\n    /**\n     * @param {?} style\n     * @return {?}\n     */\n    getDayOfWeekNames(style) {\n        if (SUPPORTS_INTL_API) {\n            /** @type {?} */\n            const dtf = new Intl.DateTimeFormat(this.locale, { weekday: style, timeZone: 'utc' });\n            return range(7, (/**\n             * @param {?} i\n             * @return {?}\n             */\n            i => this._stripDirectionalityCharacters(this._format(dtf, new Date(2017, 0, i + 1)))));\n        }\n        return DEFAULT_DAY_OF_WEEK_NAMES[style];\n    }\n    /**\n     * @param {?} date\n     * @return {?}\n     */\n    getYearName(date) {\n        if (SUPPORTS_INTL_API) {\n            /** @type {?} */\n            const dtf = new Intl.DateTimeFormat(this.locale, { year: 'numeric', timeZone: 'utc' });\n            return this._stripDirectionalityCharacters(this._format(dtf, date));\n        }\n        return String(this.getYear(date));\n    }\n    /**\n     * @return {?}\n     */\n    getFirstDayOfWeek() {\n        // We can't tell using native JS Date what the first day of the week is, we default to Sunday.\n        return 0;\n    }\n    /**\n     * @param {?} date\n     * @return {?}\n     */\n    getNumDaysInMonth(date) {\n        return this.getDate(this._createDateWithOverflow(this.getYear(date), this.getMonth(date) + 1, 0));\n    }\n    /**\n     * @param {?} date\n     * @return {?}\n     */\n    clone(date) {\n        return new Date(date.getTime());\n    }\n    /**\n     * @param {?} year\n     * @param {?} month\n     * @param {?} date\n     * @return {?}\n     */\n    createDate(year, month, date) {\n        // Check for invalid month and date (except upper bound on date which we have to check after\n        // creating the Date).\n        if (month < 0 || month > 11) {\n            throw Error(`Invalid month index \"${month}\". Month index has to be between 0 and 11.`);\n        }\n        if (date < 1) {\n            throw Error(`Invalid date \"${date}\". Date has to be greater than 0.`);\n        }\n        /** @type {?} */\n        let result = this._createDateWithOverflow(year, month, date);\n        // Check that the date wasn't above the upper bound for the month, causing the month to overflow\n        if (result.getMonth() != month) {\n            throw Error(`Invalid date \"${date}\" for month with index \"${month}\".`);\n        }\n        return result;\n    }\n    /**\n     * @return {?}\n     */\n    today() {\n        return new Date();\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    parse(value) {\n        // We have no way using the native JS Date to set the parse format or locale, so we ignore these\n        // parameters.\n        if (typeof value == 'number') {\n            return new Date(value);\n        }\n        return value ? new Date(Date.parse(value)) : null;\n    }\n    /**\n     * @param {?} date\n     * @param {?} displayFormat\n     * @return {?}\n     */\n    format(date, displayFormat) {\n        if (!this.isValid(date)) {\n            throw Error('NativeDateAdapter: Cannot format invalid date.');\n        }\n        if (SUPPORTS_INTL_API) {\n            // On IE and Edge the i18n API will throw a hard error that can crash the entire app\n            // if we attempt to format a date whose year is less than 1 or greater than 9999.\n            if (this._clampDate && (date.getFullYear() < 1 || date.getFullYear() > 9999)) {\n                date = this.clone(date);\n                date.setFullYear(Math.max(1, Math.min(9999, date.getFullYear())));\n            }\n            displayFormat = Object.assign({}, displayFormat, { timeZone: 'utc' });\n            /** @type {?} */\n            const dtf = new Intl.DateTimeFormat(this.locale, displayFormat);\n            return this._stripDirectionalityCharacters(this._format(dtf, date));\n        }\n        return this._stripDirectionalityCharacters(date.toDateString());\n    }\n    /**\n     * @param {?} date\n     * @param {?} years\n     * @return {?}\n     */\n    addCalendarYears(date, years) {\n        return this.addCalendarMonths(date, years * 12);\n    }\n    /**\n     * @param {?} date\n     * @param {?} months\n     * @return {?}\n     */\n    addCalendarMonths(date, months) {\n        /** @type {?} */\n        let newDate = this._createDateWithOverflow(this.getYear(date), this.getMonth(date) + months, this.getDate(date));\n        // It's possible to wind up in the wrong month if the original month has more days than the new\n        // month. In this case we want to go to the last day of the desired month.\n        // Note: the additional + 12 % 12 ensures we end up with a positive number, since JS % doesn't\n        // guarantee this.\n        if (this.getMonth(newDate) != ((this.getMonth(date) + months) % 12 + 12) % 12) {\n            newDate = this._createDateWithOverflow(this.getYear(newDate), this.getMonth(newDate), 0);\n        }\n        return newDate;\n    }\n    /**\n     * @param {?} date\n     * @param {?} days\n     * @return {?}\n     */\n    addCalendarDays(date, days) {\n        return this._createDateWithOverflow(this.getYear(date), this.getMonth(date), this.getDate(date) + days);\n    }\n    /**\n     * @param {?} date\n     * @return {?}\n     */\n    toIso8601(date) {\n        return [\n            date.getUTCFullYear(),\n            this._2digit(date.getUTCMonth() + 1),\n            this._2digit(date.getUTCDate())\n        ].join('-');\n    }\n    /**\n     * Returns the given value if given a valid Date or null. Deserializes valid ISO 8601 strings\n     * (https://www.ietf.org/rfc/rfc3339.txt) into valid Dates and empty string into null. Returns an\n     * invalid date for all other values.\n     * @param {?} value\n     * @return {?}\n     */\n    deserialize(value) {\n        if (typeof value === 'string') {\n            if (!value) {\n                return null;\n            }\n            // The `Date` constructor accepts formats other than ISO 8601, so we need to make sure the\n            // string is the right format first.\n            if (ISO_8601_REGEX.test(value)) {\n                /** @type {?} */\n                let date = new Date(value);\n                if (this.isValid(date)) {\n                    return date;\n                }\n            }\n        }\n        return super.deserialize(value);\n    }\n    /**\n     * @param {?} obj\n     * @return {?}\n     */\n    isDateInstance(obj) {\n        return obj instanceof Date;\n    }\n    /**\n     * @param {?} date\n     * @return {?}\n     */\n    isValid(date) {\n        return !isNaN(date.getTime());\n    }\n    /**\n     * @return {?}\n     */\n    invalid() {\n        return new Date(NaN);\n    }\n    /**\n     * Creates a date but allows the month and date to overflow.\n     * @private\n     * @param {?} year\n     * @param {?} month\n     * @param {?} date\n     * @return {?}\n     */\n    _createDateWithOverflow(year, month, date) {\n        /** @type {?} */\n        const result = new Date(year, month, date);\n        // We need to correct for the fact that JS native Date treats years in range [0, 99] as\n        // abbreviations for 19xx.\n        if (year >= 0 && year < 100) {\n            result.setFullYear(this.getYear(result) - 1900);\n        }\n        return result;\n    }\n    /**\n     * Pads a number to make it two digits.\n     * @private\n     * @param {?} n The number to pad.\n     * @return {?} The padded number.\n     */\n    _2digit(n) {\n        return ('00' + n).slice(-2);\n    }\n    /**\n     * Strip out unicode LTR and RTL characters. Edge and IE insert these into formatted dates while\n     * other browsers do not. We remove them to make output consistent and because they interfere with\n     * date parsing.\n     * @private\n     * @param {?} str The string to strip direction characters from.\n     * @return {?} The stripped string.\n     */\n    _stripDirectionalityCharacters(str) {\n        return str.replace(/[\\u200e\\u200f]/g, '');\n    }\n    /**\n     * When converting Date object to string, javascript built-in functions may return wrong\n     * results because it applies its internal DST rules. The DST rules around the world change\n     * very frequently, and the current valid rule is not always valid in previous years though.\n     * We work around this problem building a new Date object which has its internal UTC\n     * representation with the local date and time.\n     * @private\n     * @param {?} dtf Intl.DateTimeFormat object, containg the desired string format. It must have\n     *    timeZone set to 'utc' to work fine.\n     * @param {?} date Date from which we want to get the string representation according to dtf\n     * @return {?} A Date object with its UTC representation based on the passed in date info\n     */\n    _format(dtf, date) {\n        /** @type {?} */\n        const d = new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds()));\n        return dtf.format(d);\n    }\n}\nNativeDateAdapter.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"] },\n];\n/** @nocollapse */\nNativeDateAdapter.ctorParameters = () => [\n    { type: String, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [MAT_DATE_LOCALE,] }] },\n    { type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_6__[\"Platform\"] }\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/** @type {?} */\nconst MAT_NATIVE_DATE_FORMATS = {\n    parse: {\n        dateInput: null,\n    },\n    display: {\n        dateInput: { year: 'numeric', month: 'numeric', day: 'numeric' },\n        monthYearLabel: { year: 'numeric', month: 'short' },\n        dateA11yLabel: { year: 'numeric', month: 'long', day: 'numeric' },\n        monthYearA11yLabel: { year: 'numeric', month: 'long' },\n    }\n};\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass NativeDateModule {\n}\nNativeDateModule.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"], args: [{\n                imports: [_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_6__[\"PlatformModule\"]],\n                providers: [\n                    { provide: DateAdapter, useClass: NativeDateAdapter },\n                ],\n            },] },\n];\nconst ɵ0$1 = MAT_NATIVE_DATE_FORMATS;\nclass MatNativeDateModule {\n}\nMatNativeDateModule.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"], args: [{\n                imports: [NativeDateModule],\n                providers: [{ provide: MAT_DATE_FORMATS, useValue: ɵ0$1 }],\n            },] },\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Error state matcher that matches when a control is invalid and dirty.\n */\nclass ShowOnDirtyErrorStateMatcher {\n    /**\n     * @param {?} control\n     * @param {?} form\n     * @return {?}\n     */\n    isErrorState(control, form) {\n        return !!(control && control.invalid && (control.dirty || (form && form.submitted)));\n    }\n}\nShowOnDirtyErrorStateMatcher.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"] },\n];\n/**\n * Provider that defines how form controls behave with regards to displaying error messages.\n */\nclass ErrorStateMatcher {\n    /**\n     * @param {?} control\n     * @param {?} form\n     * @return {?}\n     */\n    isErrorState(control, form) {\n        return !!(control && control.invalid && (control.touched || (form && form.submitted)));\n    }\n}\nErrorStateMatcher.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"], args: [{ providedIn: 'root' },] },\n];\n/** @nocollapse */ ErrorStateMatcher.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({ factory: function ErrorStateMatcher_Factory() { return new ErrorStateMatcher(); }, token: ErrorStateMatcher, providedIn: \"root\" });\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Injection token that can be used to provide options to the Hammerjs instance.\n * More info at http://hammerjs.github.io/api/.\n * @type {?}\n */\nconst MAT_HAMMER_OPTIONS = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('MAT_HAMMER_OPTIONS');\n/** @type {?} */\nconst ANGULAR_MATERIAL_SUPPORTED_HAMMER_GESTURES = [\n    'longpress',\n    'slide',\n    'slidestart',\n    'slideend',\n    'slideright',\n    'slideleft'\n];\nconst ɵ0$2 = /**\n * @return {?}\n */\n() => { }, ɵ1 = /**\n * @return {?}\n */\n() => { };\n/**\n * Fake HammerInstance that is used when a Hammer instance is requested when HammerJS has not\n * been loaded on the page.\n * @type {?}\n */\nconst noopHammerInstance = {\n    on: (ɵ0$2),\n    off: (ɵ1),\n};\n/**\n * Adjusts configuration of our gesture library, Hammer.\n */\nclass GestureConfig extends _angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__[\"HammerGestureConfig\"] {\n    /**\n     * @param {?=} _hammerOptions\n     * @param {?=} commonModule\n     */\n    constructor(_hammerOptions, commonModule) {\n        super();\n        this._hammerOptions = _hammerOptions;\n        /**\n         * List of new event names to add to the gesture support list\n         */\n        this.events = ANGULAR_MATERIAL_SUPPORTED_HAMMER_GESTURES;\n        if (commonModule) {\n            commonModule._checkHammerIsAvailable();\n        }\n    }\n    /**\n     * Builds Hammer instance manually to add custom recognizers that match the Material Design spec.\n     *\n     * Our gesture names come from the Material Design gestures spec:\n     * https://material.io/design/#gestures-touch-mechanics\n     *\n     * More information on default recognizers can be found in Hammer docs:\n     * http://hammerjs.github.io/recognizer-pan/\n     * http://hammerjs.github.io/recognizer-press/\n     *\n     * @param {?} element Element to which to assign the new HammerJS gestures.\n     * @return {?} Newly-created HammerJS instance.\n     */\n    buildHammer(element) {\n        /** @type {?} */\n        const hammer = typeof window !== 'undefined' ? ((/** @type {?} */ (window))).Hammer : null;\n        if (!hammer) {\n            // If HammerJS is not loaded here, return the noop HammerInstance. This is necessary to\n            // ensure that omitting HammerJS completely will not cause any errors while *also* supporting\n            // the lazy-loading of HammerJS via the HAMMER_LOADER token introduced in Angular 6.1.\n            // Because we can't depend on HAMMER_LOADER's existance until 7.0, we have to always set\n            // `this.events` to the set we support, instead of conditionally setting it to `[]` if\n            // `HAMMER_LOADER` is present (and then throwing an Error here if `window.Hammer` is\n            // undefined).\n            // @breaking-change 8.0.0\n            return noopHammerInstance;\n        }\n        /** @type {?} */\n        const mc = new hammer(element, this._hammerOptions || undefined);\n        // Default Hammer Recognizers.\n        /** @type {?} */\n        const pan = new hammer.Pan();\n        /** @type {?} */\n        const swipe = new hammer.Swipe();\n        /** @type {?} */\n        const press = new hammer.Press();\n        // Notice that a HammerJS recognizer can only depend on one other recognizer once.\n        // Otherwise the previous `recognizeWith` will be dropped.\n        // TODO: Confirm threshold numbers with Material Design UX Team\n        /** @type {?} */\n        const slide = this._createRecognizer(pan, { event: 'slide', threshold: 0 }, swipe);\n        /** @type {?} */\n        const longpress = this._createRecognizer(press, { event: 'longpress', time: 500 });\n        // Overwrite the default `pan` event to use the swipe event.\n        pan.recognizeWith(swipe);\n        // Since the slide event threshold is set to zero, the slide recognizer can fire and\n        // accidentally reset the longpress recognizer. In order to make sure that the two\n        // recognizers can run simultaneously but don't affect each other, we allow the slide\n        // recognizer to recognize while a longpress is being processed.\n        // See: https://github.com/hammerjs/hammer.js/blob/master/src/manager.js#L123-L124\n        longpress.recognizeWith(slide);\n        // Add customized gestures to Hammer manager\n        mc.add([swipe, press, pan, slide, longpress]);\n        return (/** @type {?} */ (mc));\n    }\n    /**\n     * Creates a new recognizer, without affecting the default recognizers of HammerJS\n     * @private\n     * @param {?} base\n     * @param {?} options\n     * @param {...?} inheritances\n     * @return {?}\n     */\n    _createRecognizer(base, options, ...inheritances) {\n        /** @type {?} */\n        let recognizer = new ((/** @type {?} */ (base.constructor)))(options);\n        inheritances.push(base);\n        inheritances.forEach((/**\n         * @param {?} item\n         * @return {?}\n         */\n        item => recognizer.recognizeWith(item)));\n        return recognizer;\n    }\n}\nGestureConfig.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"] },\n];\n/** @nocollapse */\nGestureConfig.ctorParameters = () => [\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [MAT_HAMMER_OPTIONS,] }] },\n    { type: MatCommonModule, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }] }\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Shared directive to count lines inside a text area, such as a list item.\n * Line elements can be extracted with a \\@ContentChildren(MatLine) query, then\n * counted by checking the query list's length.\n */\nclass MatLine {\n}\nMatLine.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{\n                selector: '[mat-line], [matLine]',\n                host: { 'class': 'mat-line' }\n            },] },\n];\n/**\n * Helper that takes a query list of lines and sets the correct class on the host.\n * \\@docs-private\n * @param {?} lines\n * @param {?} element\n * @return {?}\n */\nfunction setLines(lines, element) {\n    // Note: doesn't need to unsubscribe, because `changes`\n    // gets completed by Angular when the view is destroyed.\n    lines.changes.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_7__[\"startWith\"])(lines)).subscribe((/**\n     * @param {?} __0\n     * @return {?}\n     */\n    ({ length }) => {\n        setClass(element, 'mat-2-line', false);\n        setClass(element, 'mat-3-line', false);\n        setClass(element, 'mat-multi-line', false);\n        if (length === 2 || length === 3) {\n            setClass(element, `mat-${length}-line`, true);\n        }\n        else if (length > 3) {\n            setClass(element, `mat-multi-line`, true);\n        }\n    }));\n}\n/**\n * Adds or removes a class from an element.\n * @param {?} element\n * @param {?} className\n * @param {?} isAdd\n * @return {?}\n */\nfunction setClass(element, className, isAdd) {\n    /** @type {?} */\n    const classList = element.nativeElement.classList;\n    isAdd ? classList.add(className) : classList.remove(className);\n}\n/**\n * Helper that takes a query list of lines and sets the correct class on the host.\n * \\@docs-private\n * @deprecated Use `setLines` instead.\n * \\@breaking-change 8.0.0\n */\nclass MatLineSetter {\n    /**\n     * @param {?} lines\n     * @param {?} element\n     */\n    constructor(lines, element) {\n        setLines(lines, element);\n    }\n}\nclass MatLineModule {\n}\nMatLineModule.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"], args: [{\n                imports: [MatCommonModule],\n                exports: [MatLine, MatCommonModule],\n                declarations: [MatLine],\n            },] },\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/** @enum {number} */\nconst RippleState = {\n    FADING_IN: 0, VISIBLE: 1, FADING_OUT: 2, HIDDEN: 3,\n};\nRippleState[RippleState.FADING_IN] = 'FADING_IN';\nRippleState[RippleState.VISIBLE] = 'VISIBLE';\nRippleState[RippleState.FADING_OUT] = 'FADING_OUT';\nRippleState[RippleState.HIDDEN] = 'HIDDEN';\n/**\n * Reference to a previously launched ripple element.\n */\nclass RippleRef {\n    /**\n     * @param {?} _renderer\n     * @param {?} element\n     * @param {?} config\n     */\n    constructor(_renderer, element, config) {\n        this._renderer = _renderer;\n        this.element = element;\n        this.config = config;\n        /**\n         * Current state of the ripple.\n         */\n        this.state = RippleState.HIDDEN;\n    }\n    /**\n     * Fades out the ripple element.\n     * @return {?}\n     */\n    fadeOut() {\n        this._renderer.fadeOutRipple(this);\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Default ripple animation configuration for ripples without an explicit\n * animation config specified.\n * @type {?}\n */\nconst defaultRippleAnimationConfig = {\n    enterDuration: 450,\n    exitDuration: 400\n};\n/**\n * Timeout for ignoring mouse events. Mouse events will be temporary ignored after touch\n * events to avoid synthetic mouse events.\n * @type {?}\n */\nconst ignoreMouseEventsTimeout = 800;\n/**\n * Options that apply to all the event listeners that are bound by the ripple renderer.\n * @type {?}\n */\nconst passiveEventOptions = Object(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_6__[\"normalizePassiveListenerOptions\"])({ passive: true });\n/**\n * Helper service that performs DOM manipulations. Not intended to be used outside this module.\n * The constructor takes a reference to the ripple directive's host element and a map of DOM\n * event handlers to be installed on the element that triggers ripple animations.\n * This will eventually become a custom renderer once Angular support exists.\n * \\@docs-private\n */\nclass RippleRenderer {\n    /**\n     * @param {?} _target\n     * @param {?} _ngZone\n     * @param {?} elementOrElementRef\n     * @param {?} platform\n     */\n    constructor(_target, _ngZone, elementOrElementRef, platform) {\n        this._target = _target;\n        this._ngZone = _ngZone;\n        /**\n         * Whether the pointer is currently down or not.\n         */\n        this._isPointerDown = false;\n        /**\n         * Events to be registered on the trigger element.\n         */\n        this._triggerEvents = new Map();\n        /**\n         * Set of currently active ripple references.\n         */\n        this._activeRipples = new Set();\n        /**\n         * Function being called whenever the trigger is being pressed using mouse.\n         */\n        this._onMousedown = (/**\n         * @param {?} event\n         * @return {?}\n         */\n        (event) => {\n            // Screen readers will fire fake mouse events for space/enter. Skip launching a\n            // ripple in this case for consistency with the non-screen-reader experience.\n            /** @type {?} */\n            const isFakeMousedown = Object(_angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_8__[\"isFakeMousedownFromScreenReader\"])(event);\n            /** @type {?} */\n            const isSyntheticEvent = this._lastTouchStartEvent &&\n                Date.now() < this._lastTouchStartEvent + ignoreMouseEventsTimeout;\n            if (!this._target.rippleDisabled && !isFakeMousedown && !isSyntheticEvent) {\n                this._isPointerDown = true;\n                this.fadeInRipple(event.clientX, event.clientY, this._target.rippleConfig);\n            }\n        });\n        /**\n         * Function being called whenever the trigger is being pressed using touch.\n         */\n        this._onTouchStart = (/**\n         * @param {?} event\n         * @return {?}\n         */\n        (event) => {\n            if (!this._target.rippleDisabled) {\n                // Some browsers fire mouse events after a `touchstart` event. Those synthetic mouse\n                // events will launch a second ripple if we don't ignore mouse events for a specific\n                // time after a touchstart event.\n                this._lastTouchStartEvent = Date.now();\n                this._isPointerDown = true;\n                // Use `changedTouches` so we skip any touches where the user put\n                // their finger down, but used another finger to tap the element again.\n                /** @type {?} */\n                const touches = event.changedTouches;\n                for (let i = 0; i < touches.length; i++) {\n                    this.fadeInRipple(touches[i].clientX, touches[i].clientY, this._target.rippleConfig);\n                }\n            }\n        });\n        /**\n         * Function being called whenever the trigger is being released.\n         */\n        this._onPointerUp = (/**\n         * @return {?}\n         */\n        () => {\n            if (!this._isPointerDown) {\n                return;\n            }\n            this._isPointerDown = false;\n            // Fade-out all ripples that are visible and not persistent.\n            this._activeRipples.forEach((/**\n             * @param {?} ripple\n             * @return {?}\n             */\n            ripple => {\n                // By default, only ripples that are completely visible will fade out on pointer release.\n                // If the `terminateOnPointerUp` option is set, ripples that still fade in will also fade out.\n                /** @type {?} */\n                const isVisible = ripple.state === RippleState.VISIBLE ||\n                    ripple.config.terminateOnPointerUp && ripple.state === RippleState.FADING_IN;\n                if (!ripple.config.persistent && isVisible) {\n                    ripple.fadeOut();\n                }\n            }));\n        });\n        // Only do anything if we're on the browser.\n        if (platform.isBrowser) {\n            this._containerElement = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_4__[\"coerceElement\"])(elementOrElementRef);\n            // Specify events which need to be registered on the trigger.\n            this._triggerEvents\n                .set('mousedown', this._onMousedown)\n                .set('mouseup', this._onPointerUp)\n                .set('mouseleave', this._onPointerUp)\n                .set('touchstart', this._onTouchStart)\n                .set('touchend', this._onPointerUp)\n                .set('touchcancel', this._onPointerUp);\n        }\n    }\n    /**\n     * Fades in a ripple at the given coordinates.\n     * @param {?} x Coordinate within the element, along the X axis at which to start the ripple.\n     * @param {?} y Coordinate within the element, along the Y axis at which to start the ripple.\n     * @param {?=} config Extra ripple options.\n     * @return {?}\n     */\n    fadeInRipple(x, y, config = {}) {\n        /** @type {?} */\n        const containerRect = this._containerRect =\n            this._containerRect || this._containerElement.getBoundingClientRect();\n        /** @type {?} */\n        const animationConfig = Object.assign({}, defaultRippleAnimationConfig, config.animation);\n        if (config.centered) {\n            x = containerRect.left + containerRect.width / 2;\n            y = containerRect.top + containerRect.height / 2;\n        }\n        /** @type {?} */\n        const radius = config.radius || distanceToFurthestCorner(x, y, containerRect);\n        /** @type {?} */\n        const offsetX = x - containerRect.left;\n        /** @type {?} */\n        const offsetY = y - containerRect.top;\n        /** @type {?} */\n        const duration = animationConfig.enterDuration;\n        /** @type {?} */\n        const ripple = document.createElement('div');\n        ripple.classList.add('mat-ripple-element');\n        ripple.style.left = `${offsetX - radius}px`;\n        ripple.style.top = `${offsetY - radius}px`;\n        ripple.style.height = `${radius * 2}px`;\n        ripple.style.width = `${radius * 2}px`;\n        // If the color is not set, the default CSS color will be used.\n        ripple.style.backgroundColor = config.color || null;\n        ripple.style.transitionDuration = `${duration}ms`;\n        this._containerElement.appendChild(ripple);\n        // By default the browser does not recalculate the styles of dynamically created\n        // ripple elements. This is critical because then the `scale` would not animate properly.\n        enforceStyleRecalculation(ripple);\n        ripple.style.transform = 'scale(1)';\n        // Exposed reference to the ripple that will be returned.\n        /** @type {?} */\n        const rippleRef = new RippleRef(this, ripple, config);\n        rippleRef.state = RippleState.FADING_IN;\n        // Add the ripple reference to the list of all active ripples.\n        this._activeRipples.add(rippleRef);\n        if (!config.persistent) {\n            this._mostRecentTransientRipple = rippleRef;\n        }\n        // Wait for the ripple element to be completely faded in.\n        // Once it's faded in, the ripple can be hidden immediately if the mouse is released.\n        this._runTimeoutOutsideZone((/**\n         * @return {?}\n         */\n        () => {\n            /** @type {?} */\n            const isMostRecentTransientRipple = rippleRef === this._mostRecentTransientRipple;\n            rippleRef.state = RippleState.VISIBLE;\n            // When the timer runs out while the user has kept their pointer down, we want to\n            // keep only the persistent ripples and the latest transient ripple. We do this,\n            // because we don't want stacked transient ripples to appear after their enter\n            // animation has finished.\n            if (!config.persistent && (!isMostRecentTransientRipple || !this._isPointerDown)) {\n                rippleRef.fadeOut();\n            }\n        }), duration);\n        return rippleRef;\n    }\n    /**\n     * Fades out a ripple reference.\n     * @param {?} rippleRef\n     * @return {?}\n     */\n    fadeOutRipple(rippleRef) {\n        /** @type {?} */\n        const wasActive = this._activeRipples.delete(rippleRef);\n        if (rippleRef === this._mostRecentTransientRipple) {\n            this._mostRecentTransientRipple = null;\n        }\n        // Clear out the cached bounding rect if we have no more ripples.\n        if (!this._activeRipples.size) {\n            this._containerRect = null;\n        }\n        // For ripples that are not active anymore, don't re-run the fade-out animation.\n        if (!wasActive) {\n            return;\n        }\n        /** @type {?} */\n        const rippleEl = rippleRef.element;\n        /** @type {?} */\n        const animationConfig = Object.assign({}, defaultRippleAnimationConfig, rippleRef.config.animation);\n        rippleEl.style.transitionDuration = `${animationConfig.exitDuration}ms`;\n        rippleEl.style.opacity = '0';\n        rippleRef.state = RippleState.FADING_OUT;\n        // Once the ripple faded out, the ripple can be safely removed from the DOM.\n        this._runTimeoutOutsideZone((/**\n         * @return {?}\n         */\n        () => {\n            rippleRef.state = RippleState.HIDDEN;\n            (/** @type {?} */ (rippleEl.parentNode)).removeChild(rippleEl);\n        }), animationConfig.exitDuration);\n    }\n    /**\n     * Fades out all currently active ripples.\n     * @return {?}\n     */\n    fadeOutAll() {\n        this._activeRipples.forEach((/**\n         * @param {?} ripple\n         * @return {?}\n         */\n        ripple => ripple.fadeOut()));\n    }\n    /**\n     * Sets up the trigger event listeners\n     * @param {?} elementOrElementRef\n     * @return {?}\n     */\n    setupTriggerEvents(elementOrElementRef) {\n        /** @type {?} */\n        const element = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_4__[\"coerceElement\"])(elementOrElementRef);\n        if (!element || element === this._triggerElement) {\n            return;\n        }\n        // Remove all previously registered event listeners from the trigger element.\n        this._removeTriggerEvents();\n        this._ngZone.runOutsideAngular((/**\n         * @return {?}\n         */\n        () => {\n            this._triggerEvents.forEach((/**\n             * @param {?} fn\n             * @param {?} type\n             * @return {?}\n             */\n            (fn, type) => {\n                element.addEventListener(type, fn, passiveEventOptions);\n            }));\n        }));\n        this._triggerElement = element;\n    }\n    /**\n     * Runs a timeout outside of the Angular zone to avoid triggering the change detection.\n     * @private\n     * @param {?} fn\n     * @param {?=} delay\n     * @return {?}\n     */\n    _runTimeoutOutsideZone(fn, delay = 0) {\n        this._ngZone.runOutsideAngular((/**\n         * @return {?}\n         */\n        () => setTimeout(fn, delay)));\n    }\n    /**\n     * Removes previously registered event listeners from the trigger element.\n     * @return {?}\n     */\n    _removeTriggerEvents() {\n        if (this._triggerElement) {\n            this._triggerEvents.forEach((/**\n             * @param {?} fn\n             * @param {?} type\n             * @return {?}\n             */\n            (fn, type) => {\n                (/** @type {?} */ (this._triggerElement)).removeEventListener(type, fn, passiveEventOptions);\n            }));\n        }\n    }\n}\n/**\n * Enforces a style recalculation of a DOM element by computing its styles.\n * @param {?} element\n * @return {?}\n */\nfunction enforceStyleRecalculation(element) {\n    // Enforce a style recalculation by calling `getComputedStyle` and accessing any property.\n    // Calling `getPropertyValue` is important to let optimizers know that this is not a noop.\n    // See: https://gist.github.com/paulirish/5d52fb081b3570c81e3a\n    window.getComputedStyle(element).getPropertyValue('opacity');\n}\n/**\n * Returns the distance from the point (x, y) to the furthest corner of a rectangle.\n * @param {?} x\n * @param {?} y\n * @param {?} rect\n * @return {?}\n */\nfunction distanceToFurthestCorner(x, y, rect) {\n    /** @type {?} */\n    const distX = Math.max(Math.abs(x - rect.left), Math.abs(x - rect.right));\n    /** @type {?} */\n    const distY = Math.max(Math.abs(y - rect.top), Math.abs(y - rect.bottom));\n    return Math.sqrt(distX * distX + distY * distY);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Injection token that can be used to specify the global ripple options.\n * @type {?}\n */\nconst MAT_RIPPLE_GLOBAL_OPTIONS = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('mat-ripple-global-options');\nclass MatRipple {\n    /**\n     * @param {?} _elementRef\n     * @param {?} ngZone\n     * @param {?} platform\n     * @param {?=} globalOptions\n     * @param {?=} animationMode\n     */\n    constructor(_elementRef, ngZone, platform, globalOptions, animationMode) {\n        this._elementRef = _elementRef;\n        /**\n         * If set, the radius in pixels of foreground ripples when fully expanded. If unset, the radius\n         * will be the distance from the center of the ripple to the furthest corner of the host element's\n         * bounding rectangle.\n         */\n        this.radius = 0;\n        this._disabled = false;\n        /**\n         * Whether ripple directive is initialized and the input bindings are set.\n         */\n        this._isInitialized = false;\n        this._globalOptions = globalOptions || {};\n        this._rippleRenderer = new RippleRenderer(this, ngZone, _elementRef, platform);\n        if (animationMode === 'NoopAnimations') {\n            this._globalOptions.animation = { enterDuration: 0, exitDuration: 0 };\n        }\n    }\n    /**\n     * Whether click events will not trigger the ripple. Ripples can be still launched manually\n     * by using the `launch()` method.\n     * @return {?}\n     */\n    get disabled() { return this._disabled; }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    set disabled(value) {\n        this._disabled = value;\n        this._setupTriggerEventsIfEnabled();\n    }\n    /**\n     * The element that triggers the ripple when click events are received.\n     * Defaults to the directive's host element.\n     * @return {?}\n     */\n    get trigger() { return this._trigger || this._elementRef.nativeElement; }\n    /**\n     * @param {?} trigger\n     * @return {?}\n     */\n    set trigger(trigger) {\n        this._trigger = trigger;\n        this._setupTriggerEventsIfEnabled();\n    }\n    /**\n     * @return {?}\n     */\n    ngOnInit() {\n        this._isInitialized = true;\n        this._setupTriggerEventsIfEnabled();\n    }\n    /**\n     * @return {?}\n     */\n    ngOnDestroy() {\n        this._rippleRenderer._removeTriggerEvents();\n    }\n    /**\n     * Fades out all currently showing ripple elements.\n     * @return {?}\n     */\n    fadeOutAll() {\n        this._rippleRenderer.fadeOutAll();\n    }\n    /**\n     * Ripple configuration from the directive's input values.\n     * \\@docs-private Implemented as part of RippleTarget\n     * @return {?}\n     */\n    get rippleConfig() {\n        return {\n            centered: this.centered,\n            radius: this.radius,\n            color: this.color,\n            animation: Object.assign({}, this._globalOptions.animation, this.animation),\n            terminateOnPointerUp: this._globalOptions.terminateOnPointerUp,\n        };\n    }\n    /**\n     * Whether ripples on pointer-down are disabled or not.\n     * \\@docs-private Implemented as part of RippleTarget\n     * @return {?}\n     */\n    get rippleDisabled() {\n        return this.disabled || !!this._globalOptions.disabled;\n    }\n    /**\n     * Sets up the trigger event listeners if ripples are enabled.\n     * @private\n     * @return {?}\n     */\n    _setupTriggerEventsIfEnabled() {\n        if (!this.disabled && this._isInitialized) {\n            this._rippleRenderer.setupTriggerEvents(this.trigger);\n        }\n    }\n    /**\n     * Launches a manual ripple at the specified coordinated or just by the ripple config.\n     * @param {?} configOrX\n     * @param {?=} y\n     * @param {?=} config\n     * @return {?}\n     */\n    launch(configOrX, y = 0, config) {\n        if (typeof configOrX === 'number') {\n            return this._rippleRenderer.fadeInRipple(configOrX, y, Object.assign({}, this.rippleConfig, config));\n        }\n        else {\n            return this._rippleRenderer.fadeInRipple(0, 0, Object.assign({}, this.rippleConfig, configOrX));\n        }\n    }\n}\nMatRipple.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"], args: [{\n                selector: '[mat-ripple], [matRipple]',\n                exportAs: 'matRipple',\n                host: {\n                    'class': 'mat-ripple',\n                    '[class.mat-ripple-unbounded]': 'unbounded'\n                }\n            },] },\n];\n/** @nocollapse */\nMatRipple.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgZone\"] },\n    { type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_6__[\"Platform\"] },\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [MAT_RIPPLE_GLOBAL_OPTIONS,] }] },\n    { type: String, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [_angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_9__[\"ANIMATION_MODULE_TYPE\"],] }] }\n];\nMatRipple.propDecorators = {\n    color: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"], args: ['matRippleColor',] }],\n    unbounded: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"], args: ['matRippleUnbounded',] }],\n    centered: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"], args: ['matRippleCentered',] }],\n    radius: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"], args: ['matRippleRadius',] }],\n    animation: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"], args: ['matRippleAnimation',] }],\n    disabled: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"], args: ['matRippleDisabled',] }],\n    trigger: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"], args: ['matRippleTrigger',] }]\n};\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass MatRippleModule {\n}\nMatRippleModule.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"], args: [{\n                imports: [MatCommonModule, _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_6__[\"PlatformModule\"]],\n                exports: [MatRipple, MatCommonModule],\n                declarations: [MatRipple],\n            },] },\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Component that shows a simplified checkbox without including any kind of \"real\" checkbox.\n * Meant to be used when the checkbox is purely decorative and a large number of them will be\n * included, such as for the options in a multi-select. Uses no SVGs or complex animations.\n * Note that theming is meant to be handled by the parent element, e.g.\n * `mat-primary .mat-pseudo-checkbox`.\n *\n * Note that this component will be completely invisible to screen-reader users. This is *not*\n * interchangeable with `<mat-checkbox>` and should *not* be used if the user would directly\n * interact with the checkbox. The pseudo-checkbox should only be used as an implementation detail\n * of more complex components that appropriately handle selected / checked state.\n * \\@docs-private\n */\nclass MatPseudoCheckbox {\n    /**\n     * @param {?=} _animationMode\n     */\n    constructor(_animationMode) {\n        this._animationMode = _animationMode;\n        /**\n         * Display state of the checkbox.\n         */\n        this.state = 'unchecked';\n        /**\n         * Whether the checkbox is disabled.\n         */\n        this.disabled = false;\n    }\n}\nMatPseudoCheckbox.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Component\"], args: [{encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ViewEncapsulation\"].None,\n                changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ChangeDetectionStrategy\"].OnPush,\n                selector: 'mat-pseudo-checkbox',\n                styles: [\".mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0,0,.2,.1),background-color 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:'';border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\"],\n                template: '',\n                host: {\n                    'class': 'mat-pseudo-checkbox',\n                    '[class.mat-pseudo-checkbox-indeterminate]': 'state === \"indeterminate\"',\n                    '[class.mat-pseudo-checkbox-checked]': 'state === \"checked\"',\n                    '[class.mat-pseudo-checkbox-disabled]': 'disabled',\n                    '[class._mat-animation-noopable]': '_animationMode === \"NoopAnimations\"',\n                },\n            },] },\n];\n/** @nocollapse */\nMatPseudoCheckbox.ctorParameters = () => [\n    { type: String, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [_angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_9__[\"ANIMATION_MODULE_TYPE\"],] }] }\n];\nMatPseudoCheckbox.propDecorators = {\n    state: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"] }],\n    disabled: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"] }]\n};\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass MatPseudoCheckboxModule {\n}\nMatPseudoCheckboxModule.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"], args: [{\n                exports: [MatPseudoCheckbox],\n                declarations: [MatPseudoCheckbox]\n            },] },\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n// Boilerplate for applying mixins to MatOptgroup.\n/**\n * \\@docs-private\n */\nclass MatOptgroupBase {\n}\n/** @type {?} */\nconst _MatOptgroupMixinBase = mixinDisabled(MatOptgroupBase);\n// Counter for unique group ids.\n/** @type {?} */\nlet _uniqueOptgroupIdCounter = 0;\n/**\n * Component that is used to group instances of `mat-option`.\n */\nclass MatOptgroup extends _MatOptgroupMixinBase {\n    constructor() {\n        super(...arguments);\n        /**\n         * Unique id for the underlying label.\n         */\n        this._labelId = `mat-optgroup-label-${_uniqueOptgroupIdCounter++}`;\n    }\n}\nMatOptgroup.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Component\"], args: [{selector: 'mat-optgroup',\n                exportAs: 'matOptgroup',\n                template: \"<label class=\\\"mat-optgroup-label\\\" [id]=\\\"_labelId\\\">{{ label }}<ng-content></ng-content></label><ng-content select=\\\"mat-option, ng-container\\\"></ng-content>\",\n                encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ViewEncapsulation\"].None,\n                changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ChangeDetectionStrategy\"].OnPush,\n                inputs: ['disabled'],\n                styles: [\".mat-optgroup-label{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%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}\"],\n                host: {\n                    'class': 'mat-optgroup',\n                    'role': 'group',\n                    '[class.mat-optgroup-disabled]': 'disabled',\n                    '[attr.aria-disabled]': 'disabled.toString()',\n                    '[attr.aria-labelledby]': '_labelId',\n                }\n            },] },\n];\nMatOptgroup.propDecorators = {\n    label: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"] }]\n};\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Option IDs need to be unique across components, so this counter exists outside of\n * the component definition.\n * @type {?}\n */\nlet _uniqueIdCounter = 0;\n/**\n * Event object emitted by MatOption when selected or deselected.\n */\nclass MatOptionSelectionChange {\n    /**\n     * @param {?} source\n     * @param {?=} isUserInput\n     */\n    constructor(source, isUserInput = false) {\n        this.source = source;\n        this.isUserInput = isUserInput;\n    }\n}\n/**\n * Injection token used to provide the parent component to options.\n * @type {?}\n */\nconst MAT_OPTION_PARENT_COMPONENT = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('MAT_OPTION_PARENT_COMPONENT');\n/**\n * Single option inside of a `<mat-select>` element.\n */\nclass MatOption {\n    /**\n     * @param {?} _element\n     * @param {?} _changeDetectorRef\n     * @param {?} _parent\n     * @param {?} group\n     */\n    constructor(_element, _changeDetectorRef, _parent, group) {\n        this._element = _element;\n        this._changeDetectorRef = _changeDetectorRef;\n        this._parent = _parent;\n        this.group = group;\n        this._selected = false;\n        this._active = false;\n        this._disabled = false;\n        this._mostRecentViewValue = '';\n        /**\n         * The unique ID of the option.\n         */\n        this.id = `mat-option-${_uniqueIdCounter++}`;\n        /**\n         * Event emitted when the option is selected or deselected.\n         */\n        // tslint:disable-next-line:no-output-on-prefix\n        this.onSelectionChange = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"EventEmitter\"]();\n        /**\n         * Emits when the state of the option changes and any parents have to be notified.\n         */\n        this._stateChanges = new rxjs__WEBPACK_IMPORTED_MODULE_5__[\"Subject\"]();\n    }\n    /**\n     * Whether the wrapping component is in multiple selection mode.\n     * @return {?}\n     */\n    get multiple() { return this._parent && this._parent.multiple; }\n    /**\n     * Whether or not the option is currently selected.\n     * @return {?}\n     */\n    get selected() { return this._selected; }\n    /**\n     * Whether the option is disabled.\n     * @return {?}\n     */\n    get disabled() { return (this.group && this.group.disabled) || this._disabled; }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    set disabled(value) { this._disabled = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_4__[\"coerceBooleanProperty\"])(value); }\n    /**\n     * Whether ripples for the option are disabled.\n     * @return {?}\n     */\n    get disableRipple() { return this._parent && this._parent.disableRipple; }\n    /**\n     * Whether or not the option is currently active and ready to be selected.\n     * An active option displays styles as if it is focused, but the\n     * focus is actually retained somewhere else. This comes in handy\n     * for components like autocomplete where focus must remain on the input.\n     * @return {?}\n     */\n    get active() {\n        return this._active;\n    }\n    /**\n     * The displayed value of the option. It is necessary to show the selected option in the\n     * select's trigger.\n     * @return {?}\n     */\n    get viewValue() {\n        // TODO(kara): Add input property alternative for node envs.\n        return (this._getHostElement().textContent || '').trim();\n    }\n    /**\n     * Selects the option.\n     * @return {?}\n     */\n    select() {\n        if (!this._selected) {\n            this._selected = true;\n            this._changeDetectorRef.markForCheck();\n            this._emitSelectionChangeEvent();\n        }\n    }\n    /**\n     * Deselects the option.\n     * @return {?}\n     */\n    deselect() {\n        if (this._selected) {\n            this._selected = false;\n            this._changeDetectorRef.markForCheck();\n            this._emitSelectionChangeEvent();\n        }\n    }\n    /**\n     * Sets focus onto this option.\n     * @param {?=} _origin\n     * @param {?=} options\n     * @return {?}\n     */\n    focus(_origin, options) {\n        // Note that we aren't using `_origin`, but we need to keep it because some internal consumers\n        // use `MatOption` in a `FocusKeyManager` and we need it to match `FocusableOption`.\n        /** @type {?} */\n        const element = this._getHostElement();\n        if (typeof element.focus === 'function') {\n            element.focus(options);\n        }\n    }\n    /**\n     * This method sets display styles on the option to make it appear\n     * active. This is used by the ActiveDescendantKeyManager so key\n     * events will display the proper options as active on arrow key events.\n     * @return {?}\n     */\n    setActiveStyles() {\n        if (!this._active) {\n            this._active = true;\n            this._changeDetectorRef.markForCheck();\n        }\n    }\n    /**\n     * This method removes display styles on the option that made it appear\n     * active. This is used by the ActiveDescendantKeyManager so key\n     * events will display the proper options as active on arrow key events.\n     * @return {?}\n     */\n    setInactiveStyles() {\n        if (this._active) {\n            this._active = false;\n            this._changeDetectorRef.markForCheck();\n        }\n    }\n    /**\n     * Gets the label to be used when determining whether the option should be focused.\n     * @return {?}\n     */\n    getLabel() {\n        return this.viewValue;\n    }\n    /**\n     * Ensures the option is selected when activated from the keyboard.\n     * @param {?} event\n     * @return {?}\n     */\n    _handleKeydown(event) {\n        if ((event.keyCode === _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_10__[\"ENTER\"] || event.keyCode === _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_10__[\"SPACE\"]) && !Object(_angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_10__[\"hasModifierKey\"])(event)) {\n            this._selectViaInteraction();\n            // Prevent the page from scrolling down and form submits.\n            event.preventDefault();\n        }\n    }\n    /**\n     * `Selects the option while indicating the selection came from the user. Used to\n     * determine if the select's view -> model callback should be invoked.`\n     * @return {?}\n     */\n    _selectViaInteraction() {\n        if (!this.disabled) {\n            this._selected = this.multiple ? !this._selected : true;\n            this._changeDetectorRef.markForCheck();\n            this._emitSelectionChangeEvent(true);\n        }\n    }\n    /**\n     * Gets the `aria-selected` value for the option. We explicitly omit the `aria-selected`\n     * attribute from single-selection, unselected options. Including the `aria-selected=\"false\"`\n     * attributes adds a significant amount of noise to screen-reader users without providing useful\n     * information.\n     * @return {?}\n     */\n    _getAriaSelected() {\n        return this.selected || (this.multiple ? false : null);\n    }\n    /**\n     * Returns the correct tabindex for the option depending on disabled state.\n     * @return {?}\n     */\n    _getTabIndex() {\n        return this.disabled ? '-1' : '0';\n    }\n    /**\n     * Gets the host DOM element.\n     * @return {?}\n     */\n    _getHostElement() {\n        return this._element.nativeElement;\n    }\n    /**\n     * @return {?}\n     */\n    ngAfterViewChecked() {\n        // Since parent components could be using the option's label to display the selected values\n        // (e.g. `mat-select`) and they don't have a way of knowing if the option's label has changed\n        // we have to check for changes in the DOM ourselves and dispatch an event. These checks are\n        // relatively cheap, however we still limit them only to selected options in order to avoid\n        // hitting the DOM too often.\n        if (this._selected) {\n            /** @type {?} */\n            const viewValue = this.viewValue;\n            if (viewValue !== this._mostRecentViewValue) {\n                this._mostRecentViewValue = viewValue;\n                this._stateChanges.next();\n            }\n        }\n    }\n    /**\n     * @return {?}\n     */\n    ngOnDestroy() {\n        this._stateChanges.complete();\n    }\n    /**\n     * Emits the selection change event.\n     * @private\n     * @param {?=} isUserInput\n     * @return {?}\n     */\n    _emitSelectionChangeEvent(isUserInput = false) {\n        this.onSelectionChange.emit(new MatOptionSelectionChange(this, isUserInput));\n    }\n}\nMatOption.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Component\"], args: [{selector: 'mat-option',\n                exportAs: 'matOption',\n                host: {\n                    'role': 'option',\n                    '[attr.tabindex]': '_getTabIndex()',\n                    '[class.mat-selected]': 'selected',\n                    '[class.mat-option-multiple]': 'multiple',\n                    '[class.mat-active]': 'active',\n                    '[id]': 'id',\n                    '[attr.aria-selected]': '_getAriaSelected()',\n                    '[attr.aria-disabled]': 'disabled.toString()',\n                    '[class.mat-option-disabled]': 'disabled',\n                    '(click)': '_selectViaInteraction()',\n                    '(keydown)': '_handleKeydown($event)',\n                    'class': 'mat-option',\n                },\n                styles: [\".mat-option{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;cursor:pointer;outline:0;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}@media (-ms-high-contrast:active){.mat-option{margin:0 1px}.mat-option.mat-active{border:solid 1px currentColor;margin:0}}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}@media (-ms-high-contrast:active){.mat-option .mat-option-ripple{opacity:.5}}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\"],\n                template: \"<mat-pseudo-checkbox *ngIf=\\\"multiple\\\" class=\\\"mat-option-pseudo-checkbox\\\" [state]=\\\"selected ? 'checked' : ''\\\" [disabled]=\\\"disabled\\\"></mat-pseudo-checkbox><span class=\\\"mat-option-text\\\"><ng-content></ng-content></span><div class=\\\"mat-option-ripple\\\" mat-ripple [matRippleTrigger]=\\\"_getHostElement()\\\" [matRippleDisabled]=\\\"disabled || disableRipple\\\"></div>\",\n                encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ViewEncapsulation\"].None,\n                changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ChangeDetectionStrategy\"].OnPush,\n            },] },\n];\n/** @nocollapse */\nMatOption.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ChangeDetectorRef\"] },\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [MAT_OPTION_PARENT_COMPONENT,] }] },\n    { type: MatOptgroup, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"] }] }\n];\nMatOption.propDecorators = {\n    value: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"] }],\n    id: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"] }],\n    disabled: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"] }],\n    onSelectionChange: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Output\"] }]\n};\n/**\n * Counts the amount of option group labels that precede the specified option.\n * \\@docs-private\n * @param {?} optionIndex Index of the option at which to start counting.\n * @param {?} options Flat list of all of the options.\n * @param {?} optionGroups Flat list of all of the option groups.\n * @return {?}\n */\nfunction _countGroupLabelsBeforeOption(optionIndex, options, optionGroups) {\n    if (optionGroups.length) {\n        /** @type {?} */\n        let optionsArray = options.toArray();\n        /** @type {?} */\n        let groups = optionGroups.toArray();\n        /** @type {?} */\n        let groupCounter = 0;\n        for (let i = 0; i < optionIndex + 1; i++) {\n            if (optionsArray[i].group && optionsArray[i].group === groups[groupCounter]) {\n                groupCounter++;\n            }\n        }\n        return groupCounter;\n    }\n    return 0;\n}\n/**\n * Determines the position to which to scroll a panel in order for an option to be into view.\n * \\@docs-private\n * @param {?} optionIndex Index of the option to be scrolled into the view.\n * @param {?} optionHeight Height of the options.\n * @param {?} currentScrollPosition Current scroll position of the panel.\n * @param {?} panelHeight Height of the panel.\n * @return {?}\n */\nfunction _getOptionScrollPosition(optionIndex, optionHeight, currentScrollPosition, panelHeight) {\n    /** @type {?} */\n    const optionOffset = optionIndex * optionHeight;\n    if (optionOffset < currentScrollPosition) {\n        return optionOffset;\n    }\n    if (optionOffset + optionHeight > currentScrollPosition + panelHeight) {\n        return Math.max(0, optionOffset - panelHeight + optionHeight);\n    }\n    return currentScrollPosition;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass MatOptionModule {\n}\nMatOptionModule.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"], args: [{\n                imports: [MatRippleModule, _angular_common__WEBPACK_IMPORTED_MODULE_11__[\"CommonModule\"], MatPseudoCheckboxModule],\n                exports: [MatOption, MatOptgroup],\n                declarations: [MatOption, MatOptgroup]\n            },] },\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * InjectionToken that can be used to specify the global label options.\n * @type {?}\n */\nconst MAT_LABEL_GLOBAL_OPTIONS = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('mat-label-global-options');\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * When constructing a Date, the month is zero-based. This can be confusing, since people are\n * used to seeing them one-based. So we create these aliases to make writing the tests easier.\n * \\@docs-private\n * \\@breaking-change 8.0.0 Remove this with V8 since it was only targeted for testing.\n * @type {?}\n */\nconst JAN = 0;\n/** @type {?} */\nconst FEB = 1;\n/** @type {?} */\nconst MAR = 2;\n/** @type {?} */\nconst APR = 3;\n/** @type {?} */\nconst MAY = 4;\n/** @type {?} */\nconst JUN = 5;\n/** @type {?} */\nconst JUL = 6;\n/** @type {?} */\nconst AUG = 7;\n/** @type {?} */\nconst SEP = 8;\n/** @type {?} */\nconst OCT = 9;\n/** @type {?} */\nconst NOV = 10;\n/** @type {?} */\nconst DEC = 11;\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n\n//# sourceMappingURL=core.js.map\n\n\n/***/ }),\n\n/***/ \"./node_modules/@angular/material/esm2015/menu.js\":\n/*!********************************************************!*\\\n  !*** ./node_modules/@angular/material/esm2015/menu.js ***!\n  \\********************************************************/\n/*! exports provided: MatMenu, MAT_MENU_DEFAULT_OPTIONS, _MatMenu, _MatMenuBase, MatMenuItem, MatMenuTrigger, MAT_MENU_SCROLL_STRATEGY, MAT_MENU_PANEL, _MatMenuDirectivesModule, MatMenuModule, matMenuAnimations, fadeInItems, transformMenu, MatMenuContent, ɵa22, ɵb22, ɵc22 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MatMenu\", function() { return MatMenu; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MAT_MENU_DEFAULT_OPTIONS\", function() { return MAT_MENU_DEFAULT_OPTIONS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"_MatMenu\", function() { return _MatMenu; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"_MatMenuBase\", function() { return _MatMenuBase; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MatMenuItem\", function() { return MatMenuItem; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MatMenuTrigger\", function() { return MatMenuTrigger; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MAT_MENU_SCROLL_STRATEGY\", function() { return MAT_MENU_SCROLL_STRATEGY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MAT_MENU_PANEL\", function() { return MAT_MENU_PANEL; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"_MatMenuDirectivesModule\", function() { return _MatMenuDirectivesModule; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MatMenuModule\", function() { return MatMenuModule; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"matMenuAnimations\", function() { return matMenuAnimations; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"fadeInItems\", function() { return fadeInItems; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"transformMenu\", function() { return transformMenu; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MatMenuContent\", function() { return MatMenuContent; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵa22\", function() { return MAT_MENU_DEFAULT_OPTIONS_FACTORY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵb22\", function() { return MAT_MENU_SCROLL_STRATEGY_FACTORY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵc22\", function() { return MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER; });\n/* harmony import */ var _angular_animations__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/animations */ \"./node_modules/@angular/animations/fesm2015/animations.js\");\n/* harmony import */ var _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/cdk/portal */ \"./node_modules/@angular/cdk/esm2015/portal.js\");\n/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ \"./node_modules/@angular/common/fesm2015/common.js\");\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs */ \"./node_modules/rxjs/_esm2015/index.js\");\n/* harmony import */ var _angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/cdk/a11y */ \"./node_modules/@angular/cdk/esm2015/a11y.js\");\n/* harmony import */ var _angular_material_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/material/core */ \"./node_modules/@angular/material/esm2015/core.js\");\n/* harmony import */ var _angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/cdk/coercion */ \"./node_modules/@angular/cdk/esm2015/coercion.js\");\n/* harmony import */ var _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/cdk/keycodes */ \"./node_modules/@angular/cdk/esm2015/keycodes.js\");\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! rxjs/operators */ \"./node_modules/rxjs/_esm2015/operators/index.js\");\n/* harmony import */ var _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/cdk/bidi */ \"./node_modules/@angular/cdk/esm2015/bidi.js\");\n/* harmony import */ var _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/cdk/overlay */ \"./node_modules/@angular/cdk/esm2015/overlay.js\");\n/* harmony import */ var _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/cdk/platform */ \"./node_modules/@angular/cdk/esm2015/platform.js\");\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Animations used by the mat-menu component.\n * Animation duration and timing values are based on:\n * https://material.io/guidelines/components/menus.html#menus-usage\n * \\@docs-private\n * @type {?}\n */\nconst matMenuAnimations = {\n    /**\n     * This animation controls the menu panel's entry and exit from the page.\n     *\n     * When the menu panel is added to the DOM, it scales in and fades in its border.\n     *\n     * When the menu panel is removed from the DOM, it simply fades out after a brief\n     * delay to display the ripple.\n     */\n    transformMenu: Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"trigger\"])('transformMenu', [\n        Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"state\"])('void', Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"style\"])({\n            opacity: 0,\n            transform: 'scale(0.8)'\n        })),\n        Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"transition\"])('void => enter', Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"group\"])([\n            Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"query\"])('.mat-menu-content, .mat-mdc-menu-content', Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"animate\"])('100ms linear', Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"style\"])({\n                opacity: 1\n            }))),\n            Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"animate\"])('120ms cubic-bezier(0, 0, 0.2, 1)', Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"style\"])({ transform: 'scale(1)' })),\n        ])),\n        Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"transition\"])('* => void', Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"animate\"])('100ms 25ms linear', Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"style\"])({ opacity: 0 })))\n    ]),\n    /**\n     * This animation fades in the background color and content of the menu panel\n     * after its containing element is scaled in.\n     */\n    fadeInItems: Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"trigger\"])('fadeInItems', [\n        // TODO(crisbeto): this is inside the `transformMenu`\n        // now. Remove next time we do breaking changes.\n        Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"state\"])('showing', Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"style\"])({ opacity: 1 })),\n        Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"transition\"])('void => *', [\n            Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"style\"])({ opacity: 0 }),\n            Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"animate\"])('400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)')\n        ])\n    ])\n};\n/**\n * @deprecated\n * \\@breaking-change 8.0.0\n * \\@docs-private\n * @type {?}\n */\nconst fadeInItems = matMenuAnimations.fadeInItems;\n/**\n * @deprecated\n * \\@breaking-change 8.0.0\n * \\@docs-private\n * @type {?}\n */\nconst transformMenu = matMenuAnimations.transformMenu;\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Menu content that will be rendered lazily once the menu is opened.\n */\nclass MatMenuContent {\n    /**\n     * @param {?} _template\n     * @param {?} _componentFactoryResolver\n     * @param {?} _appRef\n     * @param {?} _injector\n     * @param {?} _viewContainerRef\n     * @param {?} _document\n     * @param {?=} _changeDetectorRef\n     */\n    constructor(_template, _componentFactoryResolver, _appRef, _injector, _viewContainerRef, _document, _changeDetectorRef) {\n        this._template = _template;\n        this._componentFactoryResolver = _componentFactoryResolver;\n        this._appRef = _appRef;\n        this._injector = _injector;\n        this._viewContainerRef = _viewContainerRef;\n        this._document = _document;\n        this._changeDetectorRef = _changeDetectorRef;\n        /**\n         * Emits when the menu content has been attached.\n         */\n        this._attached = new rxjs__WEBPACK_IMPORTED_MODULE_4__[\"Subject\"]();\n    }\n    /**\n     * Attaches the content with a particular context.\n     * \\@docs-private\n     * @param {?=} context\n     * @return {?}\n     */\n    attach(context = {}) {\n        if (!this._portal) {\n            this._portal = new _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_1__[\"TemplatePortal\"](this._template, this._viewContainerRef);\n        }\n        this.detach();\n        if (!this._outlet) {\n            this._outlet = new _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_1__[\"DomPortalOutlet\"](this._document.createElement('div'), this._componentFactoryResolver, this._appRef, this._injector);\n        }\n        /** @type {?} */\n        const element = this._template.elementRef.nativeElement;\n        // Because we support opening the same menu from different triggers (which in turn have their\n        // own `OverlayRef` panel), we have to re-insert the host element every time, otherwise we\n        // risk it staying attached to a pane that's no longer in the DOM.\n        (/** @type {?} */ (element.parentNode)).insertBefore(this._outlet.outletElement, element);\n        // When `MatMenuContent` is used in an `OnPush` component, the insertion of the menu\n        // content via `createEmbeddedView` does not cause the content to be seen as \"dirty\"\n        // by Angular. This causes the `@ContentChildren` for menu items within the menu to\n        // not be updated by Angular. By explicitly marking for check here, we tell Angular that\n        // it needs to check for new menu items and update the `@ContentChild` in `MatMenu`.\n        // @breaking-change 9.0.0 Make change detector ref required\n        if (this._changeDetectorRef) {\n            this._changeDetectorRef.markForCheck();\n        }\n        this._portal.attach(this._outlet, context);\n        this._attached.next();\n    }\n    /**\n     * Detaches the content.\n     * \\@docs-private\n     * @return {?}\n     */\n    detach() {\n        if (this._portal.isAttached) {\n            this._portal.detach();\n        }\n    }\n    /**\n     * @return {?}\n     */\n    ngOnDestroy() {\n        if (this._outlet) {\n            this._outlet.dispose();\n        }\n    }\n}\nMatMenuContent.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Directive\"], args: [{\n                selector: 'ng-template[matMenuContent]'\n            },] },\n];\n/** @nocollapse */\nMatMenuContent.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"TemplateRef\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ComponentFactoryResolver\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ApplicationRef\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Injector\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ViewContainerRef\"] },\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Inject\"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_2__[\"DOCUMENT\"],] }] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ChangeDetectorRef\"] }\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * Throws an exception for the case when menu trigger doesn't have a valid mat-menu instance\n * \\@docs-private\n * @return {?}\n */\nfunction throwMatMenuMissingError() {\n    throw Error(`matMenuTriggerFor: must pass in an mat-menu instance.\n\n    Example:\n      <mat-menu #menu=\"matMenu\"></mat-menu>\n      <button [matMenuTriggerFor]=\"menu\"></button>`);\n}\n/**\n * Throws an exception for the case when menu's x-position value isn't valid.\n * In other words, it doesn't match 'before' or 'after'.\n * \\@docs-private\n * @return {?}\n */\nfunction throwMatMenuInvalidPositionX() {\n    throw Error(`xPosition value must be either 'before' or after'.\n      Example: <mat-menu xPosition=\"before\" #menu=\"matMenu\"></mat-menu>`);\n}\n/**\n * Throws an exception for the case when menu's y-position value isn't valid.\n * In other words, it doesn't match 'above' or 'below'.\n * \\@docs-private\n * @return {?}\n */\nfunction throwMatMenuInvalidPositionY() {\n    throw Error(`yPosition value must be either 'above' or below'.\n      Example: <mat-menu yPosition=\"above\" #menu=\"matMenu\"></mat-menu>`);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Injection token used to provide the parent menu to menu-specific components.\n * \\@docs-private\n * @type {?}\n */\nconst MAT_MENU_PANEL = new _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"InjectionToken\"]('MAT_MENU_PANEL');\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n// Boilerplate for applying mixins to MatMenuItem.\n/**\n * \\@docs-private\n */\nclass MatMenuItemBase {\n}\n/** @type {?} */\nconst _MatMenuItemMixinBase = Object(_angular_material_core__WEBPACK_IMPORTED_MODULE_6__[\"mixinDisableRipple\"])(Object(_angular_material_core__WEBPACK_IMPORTED_MODULE_6__[\"mixinDisabled\"])(MatMenuItemBase));\n/**\n * This directive is intended to be used inside an mat-menu tag.\n * It exists mostly to set the role attribute.\n */\nclass MatMenuItem extends _MatMenuItemMixinBase {\n    /**\n     * @param {?} _elementRef\n     * @param {?=} document\n     * @param {?=} _focusMonitor\n     * @param {?=} _parentMenu\n     */\n    constructor(_elementRef, document, _focusMonitor, _parentMenu) {\n        // @breaking-change 8.0.0 make `_focusMonitor` and `document` required params.\n        super();\n        this._elementRef = _elementRef;\n        this._focusMonitor = _focusMonitor;\n        this._parentMenu = _parentMenu;\n        /**\n         * ARIA role for the menu item.\n         */\n        this.role = 'menuitem';\n        /**\n         * Stream that emits when the menu item is hovered.\n         */\n        this._hovered = new rxjs__WEBPACK_IMPORTED_MODULE_4__[\"Subject\"]();\n        /**\n         * Whether the menu item is highlighted.\n         */\n        this._highlighted = false;\n        /**\n         * Whether the menu item acts as a trigger for a sub-menu.\n         */\n        this._triggersSubmenu = false;\n        if (_focusMonitor) {\n            // Start monitoring the element so it gets the appropriate focused classes. We want\n            // to show the focus style for menu items only when the focus was not caused by a\n            // mouse or touch interaction.\n            _focusMonitor.monitor(this._elementRef, false);\n        }\n        if (_parentMenu && _parentMenu.addItem) {\n            _parentMenu.addItem(this);\n        }\n        this._document = document;\n    }\n    /**\n     * Focuses the menu item.\n     * @param {?=} origin\n     * @param {?=} options\n     * @return {?}\n     */\n    focus(origin = 'program', options) {\n        if (this._focusMonitor) {\n            this._focusMonitor.focusVia(this._getHostElement(), origin, options);\n        }\n        else {\n            this._getHostElement().focus(options);\n        }\n    }\n    /**\n     * @return {?}\n     */\n    ngOnDestroy() {\n        if (this._focusMonitor) {\n            this._focusMonitor.stopMonitoring(this._elementRef);\n        }\n        if (this._parentMenu && this._parentMenu.removeItem) {\n            this._parentMenu.removeItem(this);\n        }\n        this._hovered.complete();\n    }\n    /**\n     * Used to set the `tabindex`.\n     * @return {?}\n     */\n    _getTabIndex() {\n        return this.disabled ? '-1' : '0';\n    }\n    /**\n     * Returns the host DOM element.\n     * @return {?}\n     */\n    _getHostElement() {\n        return this._elementRef.nativeElement;\n    }\n    /**\n     * Prevents the default element actions if it is disabled.\n     * @param {?} event\n     * @return {?}\n     */\n    // We have to use a `HostListener` here in order to support both Ivy and ViewEngine.\n    // In Ivy the `host` bindings will be merged when this class is extended, whereas in\n    // ViewEngine they're overwritten.\n    // TODO(crisbeto): we move this back into `host` once Ivy is turned on by default.\n    // tslint:disable-next-line:no-host-decorator-in-concrete\n    _checkDisabled(event) {\n        if (this.disabled) {\n            event.preventDefault();\n            event.stopPropagation();\n        }\n    }\n    /**\n     * Emits to the hover stream.\n     * @return {?}\n     */\n    // We have to use a `HostListener` here in order to support both Ivy and ViewEngine.\n    // In Ivy the `host` bindings will be merged when this class is extended, whereas in\n    // ViewEngine they're overwritten.\n    // TODO(crisbeto): we move this back into `host` once Ivy is turned on by default.\n    // tslint:disable-next-line:no-host-decorator-in-concrete\n    _handleMouseEnter() {\n        this._hovered.next(this);\n    }\n    /**\n     * Gets the label to be used when determining whether the option should be focused.\n     * @return {?}\n     */\n    getLabel() {\n        /** @type {?} */\n        const element = this._elementRef.nativeElement;\n        /** @type {?} */\n        const textNodeType = this._document ? this._document.TEXT_NODE : 3;\n        /** @type {?} */\n        let output = '';\n        if (element.childNodes) {\n            /** @type {?} */\n            const length = element.childNodes.length;\n            // Go through all the top-level text nodes and extract their text.\n            // We skip anything that's not a text node to prevent the text from\n            // being thrown off by something like an icon.\n            for (let i = 0; i < length; i++) {\n                if (element.childNodes[i].nodeType === textNodeType) {\n                    output += element.childNodes[i].textContent;\n                }\n            }\n        }\n        return output.trim();\n    }\n}\nMatMenuItem.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Component\"], args: [{selector: '[mat-menu-item]',\n                exportAs: 'matMenuItem',\n                inputs: ['disabled', 'disableRipple'],\n                host: {\n                    '[attr.role]': 'role',\n                    'class': 'mat-menu-item',\n                    '[class.mat-menu-item-highlighted]': '_highlighted',\n                    '[class.mat-menu-item-submenu-trigger]': '_triggersSubmenu',\n                    '[attr.tabindex]': '_getTabIndex()',\n                    '[attr.aria-disabled]': 'disabled.toString()',\n                    '[attr.disabled]': 'disabled || null',\n                },\n                changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ChangeDetectionStrategy\"].OnPush,\n                encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ViewEncapsulation\"].None,\n                template: \"<ng-content></ng-content><div class=\\\"mat-menu-ripple\\\" matRipple [matRippleDisabled]=\\\"disableRipple || disabled\\\" [matRippleTrigger]=\\\"_getHostElement()\\\"></div>\",\n            },] },\n];\n/** @nocollapse */\nMatMenuItem.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ElementRef\"] },\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Inject\"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_2__[\"DOCUMENT\"],] }] },\n    { type: _angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_5__[\"FocusMonitor\"] },\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Inject\"], args: [MAT_MENU_PANEL,] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Optional\"] }] }\n];\nMatMenuItem.propDecorators = {\n    role: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"] }],\n    _checkDisabled: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"HostListener\"], args: ['click', ['$event'],] }],\n    _handleMouseEnter: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"HostListener\"], args: ['mouseenter',] }]\n};\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Injection token to be used to override the default options for `mat-menu`.\n * @type {?}\n */\nconst MAT_MENU_DEFAULT_OPTIONS = new _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"InjectionToken\"]('mat-menu-default-options', {\n    providedIn: 'root',\n    factory: MAT_MENU_DEFAULT_OPTIONS_FACTORY\n});\n/**\n * \\@docs-private\n * @return {?}\n */\nfunction MAT_MENU_DEFAULT_OPTIONS_FACTORY() {\n    return {\n        overlapTrigger: false,\n        xPosition: 'after',\n        yPosition: 'below',\n        backdropClass: 'cdk-overlay-transparent-backdrop',\n    };\n}\n/**\n * Start elevation for the menu panel.\n * \\@docs-private\n * @type {?}\n */\nconst MAT_MENU_BASE_ELEVATION = 4;\n/**\n * Base class with all of the `MatMenu` functionality.\n */\n// tslint:disable-next-line:class-name\nclass _MatMenuBase {\n    /**\n     * @param {?} _elementRef\n     * @param {?} _ngZone\n     * @param {?} _defaultOptions\n     */\n    constructor(_elementRef, _ngZone, _defaultOptions) {\n        this._elementRef = _elementRef;\n        this._ngZone = _ngZone;\n        this._defaultOptions = _defaultOptions;\n        this._xPosition = this._defaultOptions.xPosition;\n        this._yPosition = this._defaultOptions.yPosition;\n        /**\n         * Only the direct descendant menu items.\n         */\n        this._directDescendantItems = new _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"QueryList\"]();\n        /**\n         * Subscription to tab events on the menu panel\n         */\n        this._tabSubscription = rxjs__WEBPACK_IMPORTED_MODULE_4__[\"Subscription\"].EMPTY;\n        /**\n         * Config object to be passed into the menu's ngClass\n         */\n        this._classList = {};\n        /**\n         * Current state of the panel animation.\n         */\n        this._panelAnimationState = 'void';\n        /**\n         * Emits whenever an animation on the menu completes.\n         */\n        this._animationDone = new rxjs__WEBPACK_IMPORTED_MODULE_4__[\"Subject\"]();\n        /**\n         * Class to be added to the backdrop element.\n         */\n        this.backdropClass = this._defaultOptions.backdropClass;\n        this._overlapTrigger = this._defaultOptions.overlapTrigger;\n        this._hasBackdrop = this._defaultOptions.hasBackdrop;\n        /**\n         * Event emitted when the menu is closed.\n         */\n        this.closed = new _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"EventEmitter\"]();\n        /**\n         * Event emitted when the menu is closed.\n         * @deprecated Switch to `closed` instead\n         * \\@breaking-change 8.0.0\n         */\n        this.close = this.closed;\n    }\n    /**\n     * Position of the menu in the X axis.\n     * @return {?}\n     */\n    get xPosition() { return this._xPosition; }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    set xPosition(value) {\n        if (value !== 'before' && value !== 'after') {\n            throwMatMenuInvalidPositionX();\n        }\n        this._xPosition = value;\n        this.setPositionClasses();\n    }\n    /**\n     * Position of the menu in the Y axis.\n     * @return {?}\n     */\n    get yPosition() { return this._yPosition; }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    set yPosition(value) {\n        if (value !== 'above' && value !== 'below') {\n            throwMatMenuInvalidPositionY();\n        }\n        this._yPosition = value;\n        this.setPositionClasses();\n    }\n    /**\n     * Whether the menu should overlap its trigger.\n     * @return {?}\n     */\n    get overlapTrigger() { return this._overlapTrigger; }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    set overlapTrigger(value) {\n        this._overlapTrigger = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_7__[\"coerceBooleanProperty\"])(value);\n    }\n    /**\n     * Whether the menu has a backdrop.\n     * @return {?}\n     */\n    get hasBackdrop() { return this._hasBackdrop; }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    set hasBackdrop(value) {\n        this._hasBackdrop = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_7__[\"coerceBooleanProperty\"])(value);\n    }\n    /**\n     * This method takes classes set on the host mat-menu element and applies them on the\n     * menu template that displays in the overlay container.  Otherwise, it's difficult\n     * to style the containing menu from outside the component.\n     * @param {?} classes list of class names\n     * @return {?}\n     */\n    set panelClass(classes) {\n        /** @type {?} */\n        const previousPanelClass = this._previousPanelClass;\n        if (previousPanelClass && previousPanelClass.length) {\n            previousPanelClass.split(' ').forEach((/**\n             * @param {?} className\n             * @return {?}\n             */\n            (className) => {\n                this._classList[className] = false;\n            }));\n        }\n        this._previousPanelClass = classes;\n        if (classes && classes.length) {\n            classes.split(' ').forEach((/**\n             * @param {?} className\n             * @return {?}\n             */\n            (className) => {\n                this._classList[className] = true;\n            }));\n            this._elementRef.nativeElement.className = '';\n        }\n    }\n    /**\n     * This method takes classes set on the host mat-menu element and applies them on the\n     * menu template that displays in the overlay container.  Otherwise, it's difficult\n     * to style the containing menu from outside the component.\n     * @deprecated Use `panelClass` instead.\n     * \\@breaking-change 8.0.0\n     * @return {?}\n     */\n    get classList() { return this.panelClass; }\n    /**\n     * @param {?} classes\n     * @return {?}\n     */\n    set classList(classes) { this.panelClass = classes; }\n    /**\n     * @return {?}\n     */\n    ngOnInit() {\n        this.setPositionClasses();\n    }\n    /**\n     * @return {?}\n     */\n    ngAfterContentInit() {\n        this._updateDirectDescendants();\n        this._keyManager = new _angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_5__[\"FocusKeyManager\"](this._directDescendantItems).withWrap().withTypeAhead();\n        this._tabSubscription = this._keyManager.tabOut.subscribe((/**\n         * @return {?}\n         */\n        () => this.closed.emit('tab')));\n    }\n    /**\n     * @return {?}\n     */\n    ngOnDestroy() {\n        this._directDescendantItems.destroy();\n        this._tabSubscription.unsubscribe();\n        this.closed.complete();\n    }\n    /**\n     * Stream that emits whenever the hovered menu item changes.\n     * @return {?}\n     */\n    _hovered() {\n        // Coerce the `changes` property because Angular types it as `Observable<any>`\n        /** @type {?} */\n        const itemChanges = (/** @type {?} */ (this._directDescendantItems.changes));\n        return itemChanges.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__[\"startWith\"])(this._directDescendantItems), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__[\"switchMap\"])((/**\n         * @param {?} items\n         * @return {?}\n         */\n        items => Object(rxjs__WEBPACK_IMPORTED_MODULE_4__[\"merge\"])(...items.map((/**\n         * @param {?} item\n         * @return {?}\n         */\n        (item) => item._hovered))))));\n    }\n    /*\n       * Registers a menu item with the menu.\n       * @docs-private\n       * @deprecated No longer being used. To be removed.\n       * @breaking-change 9.0.0\n       */\n    /**\n     * @param {?} _item\n     * @return {?}\n     */\n    addItem(_item) { }\n    /**\n     * Removes an item from the menu.\n     * \\@docs-private\n     * @deprecated No longer being used. To be removed.\n     * \\@breaking-change 9.0.0\n     * @param {?} _item\n     * @return {?}\n     */\n    removeItem(_item) { }\n    /**\n     * Handle a keyboard event from the menu, delegating to the appropriate action.\n     * @param {?} event\n     * @return {?}\n     */\n    _handleKeydown(event) {\n        /** @type {?} */\n        const keyCode = event.keyCode;\n        /** @type {?} */\n        const manager = this._keyManager;\n        switch (keyCode) {\n            case _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_8__[\"ESCAPE\"]:\n                if (!Object(_angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_8__[\"hasModifierKey\"])(event)) {\n                    event.preventDefault();\n                    this.closed.emit('keydown');\n                }\n                break;\n            case _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_8__[\"LEFT_ARROW\"]:\n                if (this.parentMenu && this.direction === 'ltr') {\n                    this.closed.emit('keydown');\n                }\n                break;\n            case _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_8__[\"RIGHT_ARROW\"]:\n                if (this.parentMenu && this.direction === 'rtl') {\n                    this.closed.emit('keydown');\n                }\n                break;\n            case _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_8__[\"HOME\"]:\n            case _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_8__[\"END\"]:\n                if (!Object(_angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_8__[\"hasModifierKey\"])(event)) {\n                    keyCode === _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_8__[\"HOME\"] ? manager.setFirstItemActive() : manager.setLastItemActive();\n                    event.preventDefault();\n                }\n                break;\n            default:\n                if (keyCode === _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_8__[\"UP_ARROW\"] || keyCode === _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_8__[\"DOWN_ARROW\"]) {\n                    manager.setFocusOrigin('keyboard');\n                }\n                manager.onKeydown(event);\n        }\n    }\n    /**\n     * Focus the first item in the menu.\n     * @param {?=} origin Action from which the focus originated. Used to set the correct styling.\n     * @return {?}\n     */\n    focusFirstItem(origin = 'program') {\n        /** @type {?} */\n        const manager = this._keyManager;\n        // When the content is rendered lazily, it takes a bit before the items are inside the DOM.\n        if (this.lazyContent) {\n            this._ngZone.onStable.asObservable()\n                .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__[\"take\"])(1))\n                .subscribe((/**\n             * @return {?}\n             */\n            () => manager.setFocusOrigin(origin).setFirstItemActive()));\n        }\n        else {\n            manager.setFocusOrigin(origin).setFirstItemActive();\n        }\n        // If there's no active item at this point, it means that all the items are disabled.\n        // Move focus to the menu panel so keyboard events like Escape still work. Also this will\n        // give _some_ feedback to screen readers.\n        if (!manager.activeItem && this._directDescendantItems.length) {\n            /** @type {?} */\n            let element = this._directDescendantItems.first._getHostElement().parentElement;\n            // Because the `mat-menu` is at the DOM insertion point, not inside the overlay, we don't\n            // have a nice way of getting a hold of the menu panel. We can't use a `ViewChild` either\n            // because the panel is inside an `ng-template`. We work around it by starting from one of\n            // the items and walking up the DOM.\n            while (element) {\n                if (element.getAttribute('role') === 'menu') {\n                    element.focus();\n                    break;\n                }\n                else {\n                    element = element.parentElement;\n                }\n            }\n        }\n    }\n    /**\n     * Resets the active item in the menu. This is used when the menu is opened, allowing\n     * the user to start from the first option when pressing the down arrow.\n     * @return {?}\n     */\n    resetActiveItem() {\n        this._keyManager.setActiveItem(-1);\n    }\n    /**\n     * Sets the menu panel elevation.\n     * @param {?} depth Number of parent menus that come before the menu.\n     * @return {?}\n     */\n    setElevation(depth) {\n        // The elevation starts at the base and increases by one for each level.\n        /** @type {?} */\n        const newElevation = `mat-elevation-z${MAT_MENU_BASE_ELEVATION + depth}`;\n        /** @type {?} */\n        const customElevation = Object.keys(this._classList).find((/**\n         * @param {?} c\n         * @return {?}\n         */\n        c => c.startsWith('mat-elevation-z')));\n        if (!customElevation || customElevation === this._previousElevation) {\n            if (this._previousElevation) {\n                this._classList[this._previousElevation] = false;\n            }\n            this._classList[newElevation] = true;\n            this._previousElevation = newElevation;\n        }\n    }\n    /**\n     * Adds classes to the menu panel based on its position. Can be used by\n     * consumers to add specific styling based on the position.\n     * \\@docs-private\n     * @param {?=} posX Position of the menu along the x axis.\n     * @param {?=} posY Position of the menu along the y axis.\n     * @return {?}\n     */\n    setPositionClasses(posX = this.xPosition, posY = this.yPosition) {\n        /** @type {?} */\n        const classes = this._classList;\n        classes['mat-menu-before'] = posX === 'before';\n        classes['mat-menu-after'] = posX === 'after';\n        classes['mat-menu-above'] = posY === 'above';\n        classes['mat-menu-below'] = posY === 'below';\n    }\n    /**\n     * Starts the enter animation.\n     * @return {?}\n     */\n    _startAnimation() {\n        // @breaking-change 8.0.0 Combine with _resetAnimation.\n        this._panelAnimationState = 'enter';\n    }\n    /**\n     * Resets the panel animation to its initial state.\n     * @return {?}\n     */\n    _resetAnimation() {\n        // @breaking-change 8.0.0 Combine with _startAnimation.\n        this._panelAnimationState = 'void';\n    }\n    /**\n     * Callback that is invoked when the panel animation completes.\n     * @param {?} event\n     * @return {?}\n     */\n    _onAnimationDone(event) {\n        this._animationDone.next(event);\n        this._isAnimating = false;\n    }\n    /**\n     * @param {?} event\n     * @return {?}\n     */\n    _onAnimationStart(event) {\n        this._isAnimating = true;\n        // Scroll the content element to the top as soon as the animation starts. This is necessary,\n        // because we move focus to the first item while it's still being animated, which can throw\n        // the browser off when it determines the scroll position. Alternatively we can move focus\n        // when the animation is done, however moving focus asynchronously will interrupt screen\n        // readers which are in the process of reading out the menu already. We take the `element`\n        // from the `event` since we can't use a `ViewChild` to access the pane.\n        if (event.toState === 'enter' && this._keyManager.activeItemIndex === 0) {\n            event.element.scrollTop = 0;\n        }\n    }\n    /**\n     * Sets up a stream that will keep track of any newly-added menu items and will update the list\n     * of direct descendants. We collect the descendants this way, because `_allItems` can include\n     * items that are part of child menus, and using a custom way of registering items is unreliable\n     * when it comes to maintaining the item order.\n     * @private\n     * @return {?}\n     */\n    _updateDirectDescendants() {\n        this._allItems.changes\n            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__[\"startWith\"])(this._allItems))\n            .subscribe((/**\n         * @param {?} items\n         * @return {?}\n         */\n        (items) => {\n            this._directDescendantItems.reset(items.filter((/**\n             * @param {?} item\n             * @return {?}\n             */\n            item => item._parentMenu === this)));\n            this._directDescendantItems.notifyOnChanges();\n        }));\n    }\n}\n/** @nocollapse */\n_MatMenuBase.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ElementRef\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"NgZone\"] },\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Inject\"], args: [MAT_MENU_DEFAULT_OPTIONS,] }] }\n];\n_MatMenuBase.propDecorators = {\n    _allItems: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ContentChildren\"], args: [MatMenuItem, { descendants: true },] }],\n    backdropClass: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"] }],\n    xPosition: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"] }],\n    yPosition: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"] }],\n    templateRef: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ViewChild\"], args: [_angular_core__WEBPACK_IMPORTED_MODULE_3__[\"TemplateRef\"], { static: false },] }],\n    items: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ContentChildren\"], args: [MatMenuItem,] }],\n    lazyContent: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ContentChild\"], args: [MatMenuContent, { static: false },] }],\n    overlapTrigger: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"] }],\n    hasBackdrop: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"] }],\n    panelClass: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"], args: ['class',] }],\n    classList: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"] }],\n    closed: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Output\"] }],\n    close: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Output\"] }]\n};\n/**\n * \\@docs-private We show the \"_MatMenu\" class as \"MatMenu\" in the docs.\n */\nclass MatMenu extends _MatMenuBase {\n}\n// Note on the weird inheritance setup: we need three classes, because the MDC-based menu has to\n// extend `MatMenu`, however keeping a reference to it will cause the inlined template and styles\n// to be retained as well. The MDC menu also has to provide itself as a `MatMenu` in order for\n// queries and DI to work correctly, while still not referencing the actual menu class.\n// Class responsibility is split up as follows:\n// * _MatMenuBase - provides all the functionality without any of the Angular metadata.\n// * MatMenu - keeps the same name symbol name as the current menu and\n// is used as a provider for DI and query purposes.\n// * _MatMenu - the actual menu component implementation with the Angular metadata that should\n// be tree shaken away for MDC.\n/**\n * \\@docs-public MatMenu\n */\n// tslint:disable-next-line:class-name\nclass _MatMenu extends MatMenu {\n    /**\n     * @param {?} elementRef\n     * @param {?} ngZone\n     * @param {?} defaultOptions\n     */\n    constructor(elementRef, ngZone, defaultOptions) {\n        super(elementRef, ngZone, defaultOptions);\n    }\n}\n_MatMenu.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Component\"], args: [{selector: 'mat-menu',\n                template: \"<ng-template><div class=\\\"mat-menu-panel\\\" [ngClass]=\\\"_classList\\\" (keydown)=\\\"_handleKeydown($event)\\\" (click)=\\\"closed.emit('click')\\\" [@transformMenu]=\\\"_panelAnimationState\\\" (@transformMenu.start)=\\\"_onAnimationStart($event)\\\" (@transformMenu.done)=\\\"_onAnimationDone($event)\\\" tabindex=\\\"-1\\\" role=\\\"menu\\\"><div class=\\\"mat-menu-content\\\"><ng-content></ng-content></div></div></ng-template>\",\n                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}.mat-menu-item[disabled]{pointer-events:none}@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}\"],\n                changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ChangeDetectionStrategy\"].OnPush,\n                encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ViewEncapsulation\"].None,\n                exportAs: 'matMenu',\n                animations: [\n                    matMenuAnimations.transformMenu,\n                    matMenuAnimations.fadeInItems\n                ],\n                providers: [\n                    { provide: MAT_MENU_PANEL, useExisting: MatMenu },\n                    { provide: MatMenu, useExisting: _MatMenu }\n                ]\n            },] },\n];\n/** @nocollapse */\n_MatMenu.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ElementRef\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"NgZone\"] },\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Inject\"], args: [MAT_MENU_DEFAULT_OPTIONS,] }] }\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Injection token that determines the scroll handling while the menu is open.\n * @type {?}\n */\nconst MAT_MENU_SCROLL_STRATEGY = new _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"InjectionToken\"]('mat-menu-scroll-strategy');\n/**\n * \\@docs-private\n * @param {?} overlay\n * @return {?}\n */\nfunction MAT_MENU_SCROLL_STRATEGY_FACTORY(overlay) {\n    return (/**\n     * @return {?}\n     */\n    () => overlay.scrollStrategies.reposition());\n}\n/**\n * \\@docs-private\n * @type {?}\n */\nconst MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER = {\n    provide: MAT_MENU_SCROLL_STRATEGY,\n    deps: [_angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_11__[\"Overlay\"]],\n    useFactory: MAT_MENU_SCROLL_STRATEGY_FACTORY,\n};\n/**\n * Default top padding of the menu panel.\n * @type {?}\n */\nconst MENU_PANEL_TOP_PADDING = 8;\n/**\n * Options for binding a passive event listener.\n * @type {?}\n */\nconst passiveEventListenerOptions = Object(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_12__[\"normalizePassiveListenerOptions\"])({ passive: true });\n// TODO(andrewseguin): Remove the kebab versions in favor of camelCased attribute selectors\n/**\n * This directive is intended to be used in conjunction with an mat-menu tag.  It is\n * responsible for toggling the display of the provided menu instance.\n */\nclass MatMenuTrigger {\n    /**\n     * @param {?} _overlay\n     * @param {?} _element\n     * @param {?} _viewContainerRef\n     * @param {?} scrollStrategy\n     * @param {?} _parentMenu\n     * @param {?} _menuItemInstance\n     * @param {?} _dir\n     * @param {?=} _focusMonitor\n     */\n    constructor(_overlay, _element, _viewContainerRef, scrollStrategy, _parentMenu, _menuItemInstance, _dir, _focusMonitor) {\n        this._overlay = _overlay;\n        this._element = _element;\n        this._viewContainerRef = _viewContainerRef;\n        this._parentMenu = _parentMenu;\n        this._menuItemInstance = _menuItemInstance;\n        this._dir = _dir;\n        this._focusMonitor = _focusMonitor;\n        this._overlayRef = null;\n        this._menuOpen = false;\n        this._closingActionsSubscription = rxjs__WEBPACK_IMPORTED_MODULE_4__[\"Subscription\"].EMPTY;\n        this._hoverSubscription = rxjs__WEBPACK_IMPORTED_MODULE_4__[\"Subscription\"].EMPTY;\n        this._menuCloseSubscription = rxjs__WEBPACK_IMPORTED_MODULE_4__[\"Subscription\"].EMPTY;\n        /**\n         * Handles touch start events on the trigger.\n         * Needs to be an arrow function so we can easily use addEventListener and removeEventListener.\n         */\n        this._handleTouchStart = (/**\n         * @return {?}\n         */\n        () => this._openedBy = 'touch');\n        // Tracking input type is necessary so it's possible to only auto-focus\n        // the first item of the list when the menu is opened via the keyboard\n        this._openedBy = null;\n        /**\n         * Whether focus should be restored when the menu is closed.\n         * Note that disabling this option can have accessibility implications\n         * and it's up to you to manage focus, if you decide to turn it off.\n         */\n        this.restoreFocus = true;\n        /**\n         * Event emitted when the associated menu is opened.\n         */\n        this.menuOpened = new _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"EventEmitter\"]();\n        /**\n         * Event emitted when the associated menu is opened.\n         * @deprecated Switch to `menuOpened` instead\n         * \\@breaking-change 8.0.0\n         */\n        // tslint:disable-next-line:no-output-on-prefix\n        this.onMenuOpen = this.menuOpened;\n        /**\n         * Event emitted when the associated menu is closed.\n         */\n        this.menuClosed = new _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"EventEmitter\"]();\n        /**\n         * Event emitted when the associated menu is closed.\n         * @deprecated Switch to `menuClosed` instead\n         * \\@breaking-change 8.0.0\n         */\n        // tslint:disable-next-line:no-output-on-prefix\n        this.onMenuClose = this.menuClosed;\n        _element.nativeElement.addEventListener('touchstart', this._handleTouchStart, passiveEventListenerOptions);\n        if (_menuItemInstance) {\n            _menuItemInstance._triggersSubmenu = this.triggersSubmenu();\n        }\n        this._scrollStrategy = scrollStrategy;\n    }\n    /**\n     * @deprecated\n     * \\@breaking-change 8.0.0\n     * @return {?}\n     */\n    get _deprecatedMatMenuTriggerFor() { return this.menu; }\n    /**\n     * @param {?} v\n     * @return {?}\n     */\n    set _deprecatedMatMenuTriggerFor(v) {\n        this.menu = v;\n    }\n    /**\n     * References the menu instance that the trigger is associated with.\n     * @return {?}\n     */\n    get menu() { return this._menu; }\n    /**\n     * @param {?} menu\n     * @return {?}\n     */\n    set menu(menu) {\n        if (menu === this._menu) {\n            return;\n        }\n        this._menu = menu;\n        this._menuCloseSubscription.unsubscribe();\n        if (menu) {\n            this._menuCloseSubscription = menu.close.asObservable().subscribe((/**\n             * @param {?} reason\n             * @return {?}\n             */\n            reason => {\n                this._destroyMenu();\n                // If a click closed the menu, we should close the entire chain of nested menus.\n                if ((reason === 'click' || reason === 'tab') && this._parentMenu) {\n                    this._parentMenu.closed.emit(reason);\n                }\n            }));\n        }\n    }\n    /**\n     * @return {?}\n     */\n    ngAfterContentInit() {\n        this._checkMenu();\n        this._handleHover();\n    }\n    /**\n     * @return {?}\n     */\n    ngOnDestroy() {\n        if (this._overlayRef) {\n            this._overlayRef.dispose();\n            this._overlayRef = null;\n        }\n        this._element.nativeElement.removeEventListener('touchstart', this._handleTouchStart, passiveEventListenerOptions);\n        this._menuCloseSubscription.unsubscribe();\n        this._closingActionsSubscription.unsubscribe();\n        this._hoverSubscription.unsubscribe();\n    }\n    /**\n     * Whether the menu is open.\n     * @return {?}\n     */\n    get menuOpen() {\n        return this._menuOpen;\n    }\n    /**\n     * The text direction of the containing app.\n     * @return {?}\n     */\n    get dir() {\n        return this._dir && this._dir.value === 'rtl' ? 'rtl' : 'ltr';\n    }\n    /**\n     * Whether the menu triggers a sub-menu or a top-level one.\n     * @return {?}\n     */\n    triggersSubmenu() {\n        return !!(this._menuItemInstance && this._parentMenu);\n    }\n    /**\n     * Toggles the menu between the open and closed states.\n     * @return {?}\n     */\n    toggleMenu() {\n        return this._menuOpen ? this.closeMenu() : this.openMenu();\n    }\n    /**\n     * Opens the menu.\n     * @return {?}\n     */\n    openMenu() {\n        if (this._menuOpen) {\n            return;\n        }\n        this._checkMenu();\n        /** @type {?} */\n        const overlayRef = this._createOverlay();\n        /** @type {?} */\n        const overlayConfig = overlayRef.getConfig();\n        this._setPosition((/** @type {?} */ (overlayConfig.positionStrategy)));\n        overlayConfig.hasBackdrop = this.menu.hasBackdrop == null ? !this.triggersSubmenu() :\n            this.menu.hasBackdrop;\n        overlayRef.attach(this._getPortal());\n        if (this.menu.lazyContent) {\n            this.menu.lazyContent.attach(this.menuData);\n        }\n        this._closingActionsSubscription = this._menuClosingActions().subscribe((/**\n         * @return {?}\n         */\n        () => this.closeMenu()));\n        this._initMenu();\n        if (this.menu instanceof MatMenu) {\n            this.menu._startAnimation();\n        }\n    }\n    /**\n     * Closes the menu.\n     * @return {?}\n     */\n    closeMenu() {\n        this.menu.close.emit();\n    }\n    /**\n     * Focuses the menu trigger.\n     * @param {?=} origin Source of the menu trigger's focus.\n     * @param {?=} options\n     * @return {?}\n     */\n    focus(origin = 'program', options) {\n        if (this._focusMonitor) {\n            this._focusMonitor.focusVia(this._element, origin, options);\n        }\n        else {\n            this._element.nativeElement.focus(options);\n        }\n    }\n    /**\n     * Closes the menu and does the necessary cleanup.\n     * @private\n     * @return {?}\n     */\n    _destroyMenu() {\n        if (!this._overlayRef || !this.menuOpen) {\n            return;\n        }\n        /** @type {?} */\n        const menu = this.menu;\n        this._closingActionsSubscription.unsubscribe();\n        this._overlayRef.detach();\n        if (menu instanceof MatMenu) {\n            menu._resetAnimation();\n            if (menu.lazyContent) {\n                // Wait for the exit animation to finish before detaching the content.\n                menu._animationDone\n                    .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__[\"filter\"])((/**\n                 * @param {?} event\n                 * @return {?}\n                 */\n                event => event.toState === 'void')), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__[\"take\"])(1), \n                // Interrupt if the content got re-attached.\n                Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__[\"takeUntil\"])(menu.lazyContent._attached))\n                    .subscribe({\n                    next: (/**\n                     * @return {?}\n                     */\n                    () => (/** @type {?} */ (menu.lazyContent)).detach()),\n                    // No matter whether the content got re-attached, reset the menu.\n                    complete: (/**\n                     * @return {?}\n                     */\n                    () => this._setIsMenuOpen(false))\n                });\n            }\n            else {\n                this._setIsMenuOpen(false);\n            }\n        }\n        else {\n            this._setIsMenuOpen(false);\n            if (menu.lazyContent) {\n                menu.lazyContent.detach();\n            }\n        }\n        this._restoreFocus();\n    }\n    /**\n     * This method sets the menu state to open and focuses the first item if\n     * the menu was opened via the keyboard.\n     * @private\n     * @return {?}\n     */\n    _initMenu() {\n        this.menu.parentMenu = this.triggersSubmenu() ? this._parentMenu : undefined;\n        this.menu.direction = this.dir;\n        this._setMenuElevation();\n        this._setIsMenuOpen(true);\n        this.menu.focusFirstItem(this._openedBy || 'program');\n    }\n    /**\n     * Updates the menu elevation based on the amount of parent menus that it has.\n     * @private\n     * @return {?}\n     */\n    _setMenuElevation() {\n        if (this.menu.setElevation) {\n            /** @type {?} */\n            let depth = 0;\n            /** @type {?} */\n            let parentMenu = this.menu.parentMenu;\n            while (parentMenu) {\n                depth++;\n                parentMenu = parentMenu.parentMenu;\n            }\n            this.menu.setElevation(depth);\n        }\n    }\n    /**\n     * Restores focus to the element that was focused before the menu was open.\n     * @private\n     * @return {?}\n     */\n    _restoreFocus() {\n        // We should reset focus if the user is navigating using a keyboard or\n        // if we have a top-level trigger which might cause focus to be lost\n        // when clicking on the backdrop.\n        if (this.restoreFocus) {\n            if (!this._openedBy) {\n                // Note that the focus style will show up both for `program` and\n                // `keyboard` so we don't have to specify which one it is.\n                this.focus();\n            }\n            else if (!this.triggersSubmenu()) {\n                this.focus(this._openedBy);\n            }\n        }\n        this._openedBy = null;\n    }\n    // set state rather than toggle to support triggers sharing a menu\n    /**\n     * @private\n     * @param {?} isOpen\n     * @return {?}\n     */\n    _setIsMenuOpen(isOpen) {\n        this._menuOpen = isOpen;\n        this._menuOpen ? this.menuOpened.emit() : this.menuClosed.emit();\n        if (this.triggersSubmenu()) {\n            this._menuItemInstance._highlighted = isOpen;\n        }\n    }\n    /**\n     * This method checks that a valid instance of MatMenu has been passed into\n     * matMenuTriggerFor. If not, an exception is thrown.\n     * @private\n     * @return {?}\n     */\n    _checkMenu() {\n        if (!this.menu) {\n            throwMatMenuMissingError();\n        }\n    }\n    /**\n     * This method creates the overlay from the provided menu's template and saves its\n     * OverlayRef so that it can be attached to the DOM when openMenu is called.\n     * @private\n     * @return {?}\n     */\n    _createOverlay() {\n        if (!this._overlayRef) {\n            /** @type {?} */\n            const config = this._getOverlayConfig();\n            this._subscribeToPositions((/** @type {?} */ (config.positionStrategy)));\n            this._overlayRef = this._overlay.create(config);\n            // Consume the `keydownEvents` in order to prevent them from going to another overlay.\n            // Ideally we'd also have our keyboard event logic in here, however doing so will\n            // break anybody that may have implemented the `MatMenuPanel` themselves.\n            this._overlayRef.keydownEvents().subscribe();\n        }\n        return this._overlayRef;\n    }\n    /**\n     * This method builds the configuration object needed to create the overlay, the OverlayState.\n     * @private\n     * @return {?} OverlayConfig\n     */\n    _getOverlayConfig() {\n        return new _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_11__[\"OverlayConfig\"]({\n            positionStrategy: this._overlay.position()\n                .flexibleConnectedTo(this._element)\n                .withLockedPosition()\n                .withTransformOriginOn('.mat-menu-panel, .mat-mdc-menu-panel'),\n            backdropClass: this.menu.backdropClass || 'cdk-overlay-transparent-backdrop',\n            scrollStrategy: this._scrollStrategy(),\n            direction: this._dir\n        });\n    }\n    /**\n     * Listens to changes in the position of the overlay and sets the correct classes\n     * on the menu based on the new position. This ensures the animation origin is always\n     * correct, even if a fallback position is used for the overlay.\n     * @private\n     * @param {?} position\n     * @return {?}\n     */\n    _subscribeToPositions(position) {\n        if (this.menu.setPositionClasses) {\n            position.positionChanges.subscribe((/**\n             * @param {?} change\n             * @return {?}\n             */\n            change => {\n                /** @type {?} */\n                const posX = change.connectionPair.overlayX === 'start' ? 'after' : 'before';\n                /** @type {?} */\n                const posY = change.connectionPair.overlayY === 'top' ? 'below' : 'above';\n                (/** @type {?} */ (this.menu.setPositionClasses))(posX, posY);\n            }));\n        }\n    }\n    /**\n     * Sets the appropriate positions on a position strategy\n     * so the overlay connects with the trigger correctly.\n     * @private\n     * @param {?} positionStrategy Strategy whose position to update.\n     * @return {?}\n     */\n    _setPosition(positionStrategy) {\n        let [originX, originFallbackX] = this.menu.xPosition === 'before' ? ['end', 'start'] : ['start', 'end'];\n        let [overlayY, overlayFallbackY] = this.menu.yPosition === 'above' ? ['bottom', 'top'] : ['top', 'bottom'];\n        let [originY, originFallbackY] = [overlayY, overlayFallbackY];\n        let [overlayX, overlayFallbackX] = [originX, originFallbackX];\n        /** @type {?} */\n        let offsetY = 0;\n        if (this.triggersSubmenu()) {\n            // When the menu is a sub-menu, it should always align itself\n            // to the edges of the trigger, instead of overlapping it.\n            overlayFallbackX = originX = this.menu.xPosition === 'before' ? 'start' : 'end';\n            originFallbackX = overlayX = originX === 'end' ? 'start' : 'end';\n            offsetY = overlayY === 'bottom' ? MENU_PANEL_TOP_PADDING : -MENU_PANEL_TOP_PADDING;\n        }\n        else if (!this.menu.overlapTrigger) {\n            originY = overlayY === 'top' ? 'bottom' : 'top';\n            originFallbackY = overlayFallbackY === 'top' ? 'bottom' : 'top';\n        }\n        positionStrategy.withPositions([\n            { originX, originY, overlayX, overlayY, offsetY },\n            { originX: originFallbackX, originY, overlayX: overlayFallbackX, overlayY, offsetY },\n            {\n                originX,\n                originY: originFallbackY,\n                overlayX,\n                overlayY: overlayFallbackY,\n                offsetY: -offsetY\n            },\n            {\n                originX: originFallbackX,\n                originY: originFallbackY,\n                overlayX: overlayFallbackX,\n                overlayY: overlayFallbackY,\n                offsetY: -offsetY\n            }\n        ]);\n    }\n    /**\n     * Returns a stream that emits whenever an action that should close the menu occurs.\n     * @private\n     * @return {?}\n     */\n    _menuClosingActions() {\n        /** @type {?} */\n        const backdrop = (/** @type {?} */ (this._overlayRef)).backdropClick();\n        /** @type {?} */\n        const detachments = (/** @type {?} */ (this._overlayRef)).detachments();\n        /** @type {?} */\n        const parentClose = this._parentMenu ? this._parentMenu.closed : Object(rxjs__WEBPACK_IMPORTED_MODULE_4__[\"of\"])();\n        /** @type {?} */\n        const hover = this._parentMenu ? this._parentMenu._hovered().pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__[\"filter\"])((/**\n         * @param {?} active\n         * @return {?}\n         */\n        active => active !== this._menuItemInstance)), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__[\"filter\"])((/**\n         * @return {?}\n         */\n        () => this._menuOpen))) : Object(rxjs__WEBPACK_IMPORTED_MODULE_4__[\"of\"])();\n        return Object(rxjs__WEBPACK_IMPORTED_MODULE_4__[\"merge\"])(backdrop, parentClose, hover, detachments);\n    }\n    /**\n     * Handles mouse presses on the trigger.\n     * @param {?} event\n     * @return {?}\n     */\n    _handleMousedown(event) {\n        if (!Object(_angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_5__[\"isFakeMousedownFromScreenReader\"])(event)) {\n            // Since right or middle button clicks won't trigger the `click` event,\n            // we shouldn't consider the menu as opened by mouse in those cases.\n            this._openedBy = event.button === 0 ? 'mouse' : null;\n            // Since clicking on the trigger won't close the menu if it opens a sub-menu,\n            // we should prevent focus from moving onto it via click to avoid the\n            // highlight from lingering on the menu item.\n            if (this.triggersSubmenu()) {\n                event.preventDefault();\n            }\n        }\n    }\n    /**\n     * Handles key presses on the trigger.\n     * @param {?} event\n     * @return {?}\n     */\n    _handleKeydown(event) {\n        /** @type {?} */\n        const keyCode = event.keyCode;\n        if (this.triggersSubmenu() && ((keyCode === _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_8__[\"RIGHT_ARROW\"] && this.dir === 'ltr') ||\n            (keyCode === _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_8__[\"LEFT_ARROW\"] && this.dir === 'rtl'))) {\n            this.openMenu();\n        }\n    }\n    /**\n     * Handles click events on the trigger.\n     * @param {?} event\n     * @return {?}\n     */\n    _handleClick(event) {\n        if (this.triggersSubmenu()) {\n            // Stop event propagation to avoid closing the parent menu.\n            event.stopPropagation();\n            this.openMenu();\n        }\n        else {\n            this.toggleMenu();\n        }\n    }\n    /**\n     * Handles the cases where the user hovers over the trigger.\n     * @private\n     * @return {?}\n     */\n    _handleHover() {\n        // Subscribe to changes in the hovered item in order to toggle the panel.\n        if (!this.triggersSubmenu()) {\n            return;\n        }\n        this._hoverSubscription = this._parentMenu._hovered()\n            // Since we might have multiple competing triggers for the same menu (e.g. a sub-menu\n            // with different data and triggers), we have to delay it by a tick to ensure that\n            // it won't be closed immediately after it is opened.\n            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__[\"filter\"])((/**\n         * @param {?} active\n         * @return {?}\n         */\n        active => active === this._menuItemInstance && !active.disabled)), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__[\"delay\"])(0, rxjs__WEBPACK_IMPORTED_MODULE_4__[\"asapScheduler\"]))\n            .subscribe((/**\n         * @return {?}\n         */\n        () => {\n            this._openedBy = 'mouse';\n            // If the same menu is used between multiple triggers, it might still be animating\n            // while the new trigger tries to re-open it. Wait for the animation to finish\n            // before doing so. Also interrupt if the user moves to another item.\n            if (this.menu instanceof MatMenu && this.menu._isAnimating) {\n                // We need the `delay(0)` here in order to avoid\n                // 'changed after checked' errors in some cases. See #12194.\n                this.menu._animationDone\n                    .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__[\"take\"])(1), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__[\"delay\"])(0, rxjs__WEBPACK_IMPORTED_MODULE_4__[\"asapScheduler\"]), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__[\"takeUntil\"])(this._parentMenu._hovered()))\n                    .subscribe((/**\n                 * @return {?}\n                 */\n                () => this.openMenu()));\n            }\n            else {\n                this.openMenu();\n            }\n        }));\n    }\n    /**\n     * Gets the portal that should be attached to the overlay.\n     * @private\n     * @return {?}\n     */\n    _getPortal() {\n        // Note that we can avoid this check by keeping the portal on the menu panel.\n        // While it would be cleaner, we'd have to introduce another required method on\n        // `MatMenuPanel`, making it harder to consume.\n        if (!this._portal || this._portal.templateRef !== this.menu.templateRef) {\n            this._portal = new _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_1__[\"TemplatePortal\"](this.menu.templateRef, this._viewContainerRef);\n        }\n        return this._portal;\n    }\n}\nMatMenuTrigger.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Directive\"], args: [{\n                selector: `[mat-menu-trigger-for], [matMenuTriggerFor]`,\n                host: {\n                    'class': 'mat-menu-trigger',\n                    'aria-haspopup': 'true',\n                    '[attr.aria-expanded]': 'menuOpen || null',\n                    '(mousedown)': '_handleMousedown($event)',\n                    '(keydown)': '_handleKeydown($event)',\n                    '(click)': '_handleClick($event)',\n                },\n                exportAs: 'matMenuTrigger'\n            },] },\n];\n/** @nocollapse */\nMatMenuTrigger.ctorParameters = () => [\n    { type: _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_11__[\"Overlay\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ElementRef\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ViewContainerRef\"] },\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Inject\"], args: [MAT_MENU_SCROLL_STRATEGY,] }] },\n    { type: MatMenu, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Optional\"] }] },\n    { type: MatMenuItem, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Self\"] }] },\n    { type: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_10__[\"Directionality\"], decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Optional\"] }] },\n    { type: _angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_5__[\"FocusMonitor\"] }\n];\nMatMenuTrigger.propDecorators = {\n    _deprecatedMatMenuTriggerFor: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"], args: ['mat-menu-trigger-for',] }],\n    menu: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"], args: ['matMenuTriggerFor',] }],\n    menuData: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"], args: ['matMenuTriggerData',] }],\n    restoreFocus: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"], args: ['matMenuTriggerRestoreFocus',] }],\n    menuOpened: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Output\"] }],\n    onMenuOpen: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Output\"] }],\n    menuClosed: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Output\"] }],\n    onMenuClose: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Output\"] }]\n};\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Used by both the current `MatMenuModule` and the MDC `MatMenuModule`\n * to declare the menu-related directives.\n */\n// tslint:disable-next-line:class-name\nclass _MatMenuDirectivesModule {\n}\n_MatMenuDirectivesModule.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"NgModule\"], args: [{\n                exports: [MatMenuTrigger, MatMenuContent, _angular_material_core__WEBPACK_IMPORTED_MODULE_6__[\"MatCommonModule\"]],\n                declarations: [MatMenuTrigger, MatMenuContent],\n                providers: [MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER]\n            },] },\n];\nclass MatMenuModule {\n}\nMatMenuModule.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"NgModule\"], args: [{\n                imports: [\n                    _angular_common__WEBPACK_IMPORTED_MODULE_2__[\"CommonModule\"],\n                    _angular_material_core__WEBPACK_IMPORTED_MODULE_6__[\"MatCommonModule\"],\n                    _angular_material_core__WEBPACK_IMPORTED_MODULE_6__[\"MatRippleModule\"],\n                    _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_11__[\"OverlayModule\"],\n                    _MatMenuDirectivesModule,\n                ],\n                exports: [_MatMenu, MatMenuItem, _MatMenuDirectivesModule],\n                declarations: [_MatMenu, MatMenuItem],\n                providers: [MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER]\n            },] },\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n\n//# sourceMappingURL=menu.js.map\n\n\n/***/ }),\n\n/***/ \"./node_modules/@angular/material/esm2015/radio.js\":\n/*!*********************************************************!*\\\n  !*** ./node_modules/@angular/material/esm2015/radio.js ***!\n  \\*********************************************************/\n/*! exports provided: MatRadioModule, MAT_RADIO_DEFAULT_OPTIONS_FACTORY, MAT_RADIO_DEFAULT_OPTIONS, MAT_RADIO_GROUP_CONTROL_VALUE_ACCESSOR, MatRadioChange, MatRadioGroup, MatRadioButton */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MatRadioModule\", function() { return MatRadioModule; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MAT_RADIO_DEFAULT_OPTIONS_FACTORY\", function() { return MAT_RADIO_DEFAULT_OPTIONS_FACTORY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MAT_RADIO_DEFAULT_OPTIONS\", function() { return MAT_RADIO_DEFAULT_OPTIONS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MAT_RADIO_GROUP_CONTROL_VALUE_ACCESSOR\", function() { return MAT_RADIO_GROUP_CONTROL_VALUE_ACCESSOR; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MatRadioChange\", function() { return MatRadioChange; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MatRadioGroup\", function() { return MatRadioGroup; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MatRadioButton\", function() { return MatRadioButton; });\n/* harmony import */ var _angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/cdk/a11y */ \"./node_modules/@angular/cdk/esm2015/a11y.js\");\n/* harmony import */ var _angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/cdk/coercion */ \"./node_modules/@angular/cdk/esm2015/coercion.js\");\n/* harmony import */ var _angular_cdk_collections__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/cdk/collections */ \"./node_modules/@angular/cdk/esm2015/collections.js\");\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/forms */ \"./node_modules/@angular/forms/fesm2015/forms.js\");\n/* harmony import */ var _angular_material_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/material/core */ \"./node_modules/@angular/material/esm2015/core.js\");\n/* harmony import */ var _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/platform-browser/animations */ \"./node_modules/@angular/platform-browser/fesm2015/animations.js\");\n/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/common */ \"./node_modules/@angular/common/fesm2015/common.js\");\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\n\n\n\n\n\n\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst MAT_RADIO_DEFAULT_OPTIONS = new _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"InjectionToken\"]('mat-radio-default-options', {\n    providedIn: 'root',\n    factory: MAT_RADIO_DEFAULT_OPTIONS_FACTORY\n});\n/**\n * @return {?}\n */\nfunction MAT_RADIO_DEFAULT_OPTIONS_FACTORY() {\n    return {\n        color: 'accent'\n    };\n}\n// Increasing integer for generating unique ids for radio components.\n/** @type {?} */\nlet nextUniqueId = 0;\n/**\n * Provider Expression that allows mat-radio-group to register as a ControlValueAccessor. This\n * allows it to support [(ngModel)] and ngControl.\n * \\@docs-private\n * @type {?}\n */\nconst MAT_RADIO_GROUP_CONTROL_VALUE_ACCESSOR = {\n    provide: _angular_forms__WEBPACK_IMPORTED_MODULE_4__[\"NG_VALUE_ACCESSOR\"],\n    useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__[\"forwardRef\"])((/**\n     * @return {?}\n     */\n    () => MatRadioGroup)),\n    multi: true\n};\n/**\n * Change event object emitted by MatRadio and MatRadioGroup.\n */\nclass MatRadioChange {\n    /**\n     * @param {?} source\n     * @param {?} value\n     */\n    constructor(source, value) {\n        this.source = source;\n        this.value = value;\n    }\n}\n/**\n * A group of radio buttons. May contain one or more `<mat-radio-button>` elements.\n */\nclass MatRadioGroup {\n    /**\n     * @param {?} _changeDetector\n     */\n    constructor(_changeDetector) {\n        this._changeDetector = _changeDetector;\n        /**\n         * Selected value for the radio group.\n         */\n        this._value = null;\n        /**\n         * The HTML name attribute applied to radio buttons in this group.\n         */\n        this._name = `mat-radio-group-${nextUniqueId++}`;\n        /**\n         * The currently selected radio button. Should match value.\n         */\n        this._selected = null;\n        /**\n         * Whether the `value` has been set to its initial value.\n         */\n        this._isInitialized = false;\n        /**\n         * Whether the labels should appear after or before the radio-buttons. Defaults to 'after'\n         */\n        this._labelPosition = 'after';\n        /**\n         * Whether the radio group is disabled.\n         */\n        this._disabled = false;\n        /**\n         * Whether the radio group is required.\n         */\n        this._required = false;\n        /**\n         * The method to be called in order to update ngModel\n         */\n        this._controlValueAccessorChangeFn = (/**\n         * @return {?}\n         */\n        () => { });\n        /**\n         * onTouch function registered via registerOnTouch (ControlValueAccessor).\n         * \\@docs-private\n         */\n        this.onTouched = (/**\n         * @return {?}\n         */\n        () => { });\n        /**\n         * Event emitted when the group value changes.\n         * Change events are only emitted when the value changes due to user interaction with\n         * a radio button (the same behavior as `<input type-\"radio\">`).\n         */\n        this.change = new _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"EventEmitter\"]();\n    }\n    /**\n     * Name of the radio button group. All radio buttons inside this group will use this name.\n     * @return {?}\n     */\n    get name() { return this._name; }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    set name(value) {\n        this._name = value;\n        this._updateRadioButtonNames();\n    }\n    /**\n     * Whether the labels should appear after or before the radio-buttons. Defaults to 'after'\n     * @return {?}\n     */\n    get labelPosition() {\n        return this._labelPosition;\n    }\n    /**\n     * @param {?} v\n     * @return {?}\n     */\n    set labelPosition(v) {\n        this._labelPosition = v === 'before' ? 'before' : 'after';\n        this._markRadiosForCheck();\n    }\n    /**\n     * Value for the radio-group. Should equal the value of the selected radio button if there is\n     * a corresponding radio button with a matching value. If there is not such a corresponding\n     * radio button, this value persists to be applied in case a new radio button is added with a\n     * matching value.\n     * @return {?}\n     */\n    get value() { return this._value; }\n    /**\n     * @param {?} newValue\n     * @return {?}\n     */\n    set value(newValue) {\n        if (this._value !== newValue) {\n            // Set this before proceeding to ensure no circular loop occurs with selection.\n            this._value = newValue;\n            this._updateSelectedRadioFromValue();\n            this._checkSelectedRadioButton();\n        }\n    }\n    /**\n     * @return {?}\n     */\n    _checkSelectedRadioButton() {\n        if (this._selected && !this._selected.checked) {\n            this._selected.checked = true;\n        }\n    }\n    /**\n     * The currently selected radio button. If set to a new radio button, the radio group value\n     * will be updated to match the new selected button.\n     * @return {?}\n     */\n    get selected() { return this._selected; }\n    /**\n     * @param {?} selected\n     * @return {?}\n     */\n    set selected(selected) {\n        this._selected = selected;\n        this.value = selected ? selected.value : null;\n        this._checkSelectedRadioButton();\n    }\n    /**\n     * Whether the radio group is disabled\n     * @return {?}\n     */\n    get disabled() { return this._disabled; }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    set disabled(value) {\n        this._disabled = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_1__[\"coerceBooleanProperty\"])(value);\n        this._markRadiosForCheck();\n    }\n    /**\n     * Whether the radio group is required\n     * @return {?}\n     */\n    get required() { return this._required; }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    set required(value) {\n        this._required = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_1__[\"coerceBooleanProperty\"])(value);\n        this._markRadiosForCheck();\n    }\n    /**\n     * Initialize properties once content children are available.\n     * This allows us to propagate relevant attributes to associated buttons.\n     * @return {?}\n     */\n    ngAfterContentInit() {\n        // Mark this component as initialized in AfterContentInit because the initial value can\n        // possibly be set by NgModel on MatRadioGroup, and it is possible that the OnInit of the\n        // NgModel occurs *after* the OnInit of the MatRadioGroup.\n        this._isInitialized = true;\n    }\n    /**\n     * Mark this group as being \"touched\" (for ngModel). Meant to be called by the contained\n     * radio buttons upon their blur.\n     * @return {?}\n     */\n    _touch() {\n        if (this.onTouched) {\n            this.onTouched();\n        }\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _updateRadioButtonNames() {\n        if (this._radios) {\n            this._radios.forEach((/**\n             * @param {?} radio\n             * @return {?}\n             */\n            radio => {\n                radio.name = this.name;\n                radio._markForCheck();\n            }));\n        }\n    }\n    /**\n     * Updates the `selected` radio button from the internal _value state.\n     * @private\n     * @return {?}\n     */\n    _updateSelectedRadioFromValue() {\n        // If the value already matches the selected radio, do nothing.\n        /** @type {?} */\n        const isAlreadySelected = this._selected !== null && this._selected.value === this._value;\n        if (this._radios && !isAlreadySelected) {\n            this._selected = null;\n            this._radios.forEach((/**\n             * @param {?} radio\n             * @return {?}\n             */\n            radio => {\n                radio.checked = this.value === radio.value;\n                if (radio.checked) {\n                    this._selected = radio;\n                }\n            }));\n        }\n    }\n    /**\n     * Dispatch change event with current selection and group value.\n     * @return {?}\n     */\n    _emitChangeEvent() {\n        if (this._isInitialized) {\n            this.change.emit(new MatRadioChange((/** @type {?} */ (this._selected)), this._value));\n        }\n    }\n    /**\n     * @return {?}\n     */\n    _markRadiosForCheck() {\n        if (this._radios) {\n            this._radios.forEach((/**\n             * @param {?} radio\n             * @return {?}\n             */\n            radio => radio._markForCheck()));\n        }\n    }\n    /**\n     * Sets the model value. Implemented as part of ControlValueAccessor.\n     * @param {?} value\n     * @return {?}\n     */\n    writeValue(value) {\n        this.value = value;\n        this._changeDetector.markForCheck();\n    }\n    /**\n     * Registers a callback to be triggered when the model value changes.\n     * Implemented as part of ControlValueAccessor.\n     * @param {?} fn Callback to be registered.\n     * @return {?}\n     */\n    registerOnChange(fn) {\n        this._controlValueAccessorChangeFn = fn;\n    }\n    /**\n     * Registers a callback to be triggered when the control is touched.\n     * Implemented as part of ControlValueAccessor.\n     * @param {?} fn Callback to be registered.\n     * @return {?}\n     */\n    registerOnTouched(fn) {\n        this.onTouched = fn;\n    }\n    /**\n     * Sets the disabled state of the control. Implemented as a part of ControlValueAccessor.\n     * @param {?} isDisabled Whether the control should be disabled.\n     * @return {?}\n     */\n    setDisabledState(isDisabled) {\n        this.disabled = isDisabled;\n        this._changeDetector.markForCheck();\n    }\n}\nMatRadioGroup.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Directive\"], args: [{\n                selector: 'mat-radio-group',\n                exportAs: 'matRadioGroup',\n                providers: [MAT_RADIO_GROUP_CONTROL_VALUE_ACCESSOR],\n                host: {\n                    'role': 'radiogroup',\n                    'class': 'mat-radio-group',\n                },\n            },] },\n];\n/** @nocollapse */\nMatRadioGroup.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ChangeDetectorRef\"] }\n];\nMatRadioGroup.propDecorators = {\n    change: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Output\"] }],\n    _radios: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ContentChildren\"], args: [Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__[\"forwardRef\"])((/**\n                 * @return {?}\n                 */\n                () => MatRadioButton)), { descendants: true },] }],\n    color: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"] }],\n    name: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"] }],\n    labelPosition: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"] }],\n    value: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"] }],\n    selected: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"] }],\n    disabled: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"] }],\n    required: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"] }]\n};\n// Boilerplate for applying mixins to MatRadioButton.\n/**\n * \\@docs-private\n */\nclass MatRadioButtonBase {\n    /**\n     * @param {?} _elementRef\n     */\n    constructor(_elementRef) {\n        this._elementRef = _elementRef;\n    }\n}\n// As per Material design specifications the selection control radio should use the accent color\n// palette by default. https://material.io/guidelines/components/selection-controls.html\n/** @type {?} */\nconst _MatRadioButtonMixinBase = Object(_angular_material_core__WEBPACK_IMPORTED_MODULE_5__[\"mixinDisableRipple\"])(Object(_angular_material_core__WEBPACK_IMPORTED_MODULE_5__[\"mixinTabIndex\"])(MatRadioButtonBase));\n/**\n * A Material design radio-button. Typically placed inside of `<mat-radio-group>` elements.\n */\nclass MatRadioButton extends _MatRadioButtonMixinBase {\n    /**\n     * @param {?} radioGroup\n     * @param {?} elementRef\n     * @param {?} _changeDetector\n     * @param {?} _focusMonitor\n     * @param {?} _radioDispatcher\n     * @param {?=} _animationMode\n     * @param {?=} _providerOverride\n     */\n    constructor(radioGroup, elementRef, _changeDetector, _focusMonitor, _radioDispatcher, _animationMode, _providerOverride) {\n        super(elementRef);\n        this._changeDetector = _changeDetector;\n        this._focusMonitor = _focusMonitor;\n        this._radioDispatcher = _radioDispatcher;\n        this._animationMode = _animationMode;\n        this._providerOverride = _providerOverride;\n        this._uniqueId = `mat-radio-${++nextUniqueId}`;\n        /**\n         * The unique ID for the radio button.\n         */\n        this.id = this._uniqueId;\n        /**\n         * Event emitted when the checked state of this radio button changes.\n         * Change events are only emitted when the value changes due to user interaction with\n         * the radio button (the same behavior as `<input type-\"radio\">`).\n         */\n        this.change = new _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"EventEmitter\"]();\n        /**\n         * Whether this radio is checked.\n         */\n        this._checked = false;\n        /**\n         * Value assigned to this radio.\n         */\n        this._value = null;\n        /**\n         * Unregister function for _radioDispatcher\n         */\n        this._removeUniqueSelectionListener = (/**\n         * @return {?}\n         */\n        () => { });\n        // Assertions. Ideally these should be stripped out by the compiler.\n        // TODO(jelbourn): Assert that there's no name binding AND a parent radio group.\n        this.radioGroup = radioGroup;\n        this._removeUniqueSelectionListener =\n            _radioDispatcher.listen((/**\n             * @param {?} id\n             * @param {?} name\n             * @return {?}\n             */\n            (id, name) => {\n                if (id !== this.id && name === this.name) {\n                    this.checked = false;\n                }\n            }));\n    }\n    /**\n     * Whether this radio button is checked.\n     * @return {?}\n     */\n    get checked() { return this._checked; }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    set checked(value) {\n        /** @type {?} */\n        const newCheckedState = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_1__[\"coerceBooleanProperty\"])(value);\n        if (this._checked !== newCheckedState) {\n            this._checked = newCheckedState;\n            if (newCheckedState && this.radioGroup && this.radioGroup.value !== this.value) {\n                this.radioGroup.selected = this;\n            }\n            else if (!newCheckedState && this.radioGroup && this.radioGroup.value === this.value) {\n                // When unchecking the selected radio button, update the selected radio\n                // property on the group.\n                this.radioGroup.selected = null;\n            }\n            if (newCheckedState) {\n                // Notify all radio buttons with the same name to un-check.\n                this._radioDispatcher.notify(this.id, this.name);\n            }\n            this._changeDetector.markForCheck();\n        }\n    }\n    /**\n     * The value of this radio button.\n     * @return {?}\n     */\n    get value() { return this._value; }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    set value(value) {\n        if (this._value !== value) {\n            this._value = value;\n            if (this.radioGroup !== null) {\n                if (!this.checked) {\n                    // Update checked when the value changed to match the radio group's value\n                    this.checked = this.radioGroup.value === value;\n                }\n                if (this.checked) {\n                    this.radioGroup.selected = this;\n                }\n            }\n        }\n    }\n    /**\n     * Whether the label should appear after or before the radio button. Defaults to 'after'\n     * @return {?}\n     */\n    get labelPosition() {\n        return this._labelPosition || (this.radioGroup && this.radioGroup.labelPosition) || 'after';\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    set labelPosition(value) {\n        this._labelPosition = value;\n    }\n    /**\n     * Whether the radio button is disabled.\n     * @return {?}\n     */\n    get disabled() {\n        return this._disabled || (this.radioGroup !== null && this.radioGroup.disabled);\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    set disabled(value) {\n        /** @type {?} */\n        const newDisabledState = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_1__[\"coerceBooleanProperty\"])(value);\n        if (this._disabled !== newDisabledState) {\n            this._disabled = newDisabledState;\n            this._changeDetector.markForCheck();\n        }\n    }\n    /**\n     * Whether the radio button is required.\n     * @return {?}\n     */\n    get required() {\n        return this._required || (this.radioGroup && this.radioGroup.required);\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    set required(value) {\n        this._required = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_1__[\"coerceBooleanProperty\"])(value);\n    }\n    /**\n     * Theme color of the radio button.\n     * @return {?}\n     */\n    get color() {\n        return this._color ||\n            (this.radioGroup && this.radioGroup.color) ||\n            this._providerOverride && this._providerOverride.color || 'accent';\n    }\n    /**\n     * @param {?} newValue\n     * @return {?}\n     */\n    set color(newValue) { this._color = newValue; }\n    /**\n     * ID of the native input element inside `<mat-radio-button>`\n     * @return {?}\n     */\n    get inputId() { return `${this.id || this._uniqueId}-input`; }\n    /**\n     * Focuses the radio button.\n     * @param {?=} options\n     * @return {?}\n     */\n    focus(options) {\n        this._focusMonitor.focusVia(this._inputElement, 'keyboard', options);\n    }\n    /**\n     * Marks the radio button as needing checking for change detection.\n     * This method is exposed because the parent radio group will directly\n     * update bound properties of the radio button.\n     * @return {?}\n     */\n    _markForCheck() {\n        // When group value changes, the button will not be notified. Use `markForCheck` to explicit\n        // update radio button's status\n        this._changeDetector.markForCheck();\n    }\n    /**\n     * @return {?}\n     */\n    ngOnInit() {\n        if (this.radioGroup) {\n            // If the radio is inside a radio group, determine if it should be checked\n            this.checked = this.radioGroup.value === this._value;\n            // Copy name from parent radio group\n            this.name = this.radioGroup.name;\n        }\n    }\n    /**\n     * @return {?}\n     */\n    ngAfterViewInit() {\n        this._focusMonitor\n            .monitor(this._elementRef, true)\n            .subscribe((/**\n         * @param {?} focusOrigin\n         * @return {?}\n         */\n        focusOrigin => {\n            if (!focusOrigin && this.radioGroup) {\n                this.radioGroup._touch();\n            }\n        }));\n    }\n    /**\n     * @return {?}\n     */\n    ngOnDestroy() {\n        this._focusMonitor.stopMonitoring(this._elementRef);\n        this._removeUniqueSelectionListener();\n    }\n    /**\n     * Dispatch change event with current value.\n     * @private\n     * @return {?}\n     */\n    _emitChangeEvent() {\n        this.change.emit(new MatRadioChange(this, this._value));\n    }\n    /**\n     * @return {?}\n     */\n    _isRippleDisabled() {\n        return this.disableRipple || this.disabled;\n    }\n    /**\n     * @param {?} event\n     * @return {?}\n     */\n    _onInputClick(event) {\n        // We have to stop propagation for click events on the visual hidden input element.\n        // By default, when a user clicks on a label element, a generated click event will be\n        // dispatched on the associated input element. Since we are using a label element as our\n        // root container, the click event on the `radio-button` will be executed twice.\n        // The real click event will bubble up, and the generated click event also tries to bubble up.\n        // This will lead to multiple click events.\n        // Preventing bubbling for the second event will solve that issue.\n        event.stopPropagation();\n    }\n    /**\n     * Triggered when the radio button received a click or the input recognized any change.\n     * Clicking on a label element, will trigger a change event on the associated input.\n     * @param {?} event\n     * @return {?}\n     */\n    _onInputChange(event) {\n        // We always have to stop propagation on the change event.\n        // Otherwise the change event, from the input element, will bubble up and\n        // emit its event object to the `change` output.\n        event.stopPropagation();\n        /** @type {?} */\n        const groupValueChanged = this.radioGroup && this.value !== this.radioGroup.value;\n        this.checked = true;\n        this._emitChangeEvent();\n        if (this.radioGroup) {\n            this.radioGroup._controlValueAccessorChangeFn(this.value);\n            if (groupValueChanged) {\n                this.radioGroup._emitChangeEvent();\n            }\n        }\n    }\n}\nMatRadioButton.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Component\"], args: [{selector: 'mat-radio-button',\n                template: \"<label [attr.for]=\\\"inputId\\\" class=\\\"mat-radio-label\\\" #label><div class=\\\"mat-radio-container\\\"><div class=\\\"mat-radio-outer-circle\\\"></div><div class=\\\"mat-radio-inner-circle\\\"></div><div mat-ripple class=\\\"mat-radio-ripple\\\" [matRippleTrigger]=\\\"label\\\" [matRippleDisabled]=\\\"_isRippleDisabled()\\\" [matRippleCentered]=\\\"true\\\" [matRippleRadius]=\\\"20\\\" [matRippleAnimation]=\\\"{enterDuration: 150}\\\"><div class=\\\"mat-ripple-element mat-radio-persistent-ripple\\\"></div></div><input #input class=\\\"mat-radio-input cdk-visually-hidden\\\" type=\\\"radio\\\" [id]=\\\"inputId\\\" [checked]=\\\"checked\\\" [disabled]=\\\"disabled\\\" [tabIndex]=\\\"tabIndex\\\" [attr.name]=\\\"name\\\" [attr.value]=\\\"value\\\" [required]=\\\"required\\\" [attr.aria-label]=\\\"ariaLabel\\\" [attr.aria-labelledby]=\\\"ariaLabelledby\\\" [attr.aria-describedby]=\\\"ariaDescribedby\\\" (change)=\\\"_onInputChange($event)\\\" (click)=\\\"_onInputClick($event)\\\"></div><div class=\\\"mat-radio-label-content\\\" [class.mat-radio-label-before]=\\\"labelPosition == 'before'\\\"><span style=\\\"display:none\\\">&nbsp;</span><ng-content></ng-content></div></label>\",\n                styles: [\".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;height:20px;left:0;position:absolute;top:0;transition:transform ease 280ms,background-color ease 280ms;width:20px;transform:scale(.001)}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-checked .mat-radio-inner-circle{transform:scale(.5)}@media (-ms-high-contrast:active){.mat-radio-checked .mat-radio-inner-circle{border:solid 10px}}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple,.mat-radio-persistent-ripple{opacity:0}@media (hover:none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}@media (-ms-high-contrast:active){.mat-radio-disabled{opacity:.5}}\"],\n                inputs: ['disableRipple', 'tabIndex'],\n                encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ViewEncapsulation\"].None,\n                exportAs: 'matRadioButton',\n                host: {\n                    'class': 'mat-radio-button',\n                    '[class.mat-radio-checked]': 'checked',\n                    '[class.mat-radio-disabled]': 'disabled',\n                    '[class._mat-animation-noopable]': '_animationMode === \"NoopAnimations\"',\n                    '[class.mat-primary]': 'color === \"primary\"',\n                    '[class.mat-accent]': 'color === \"accent\"',\n                    '[class.mat-warn]': 'color === \"warn\"',\n                    // Needs to be -1 so the `focus` event still fires.\n                    '[attr.tabindex]': '-1',\n                    '[attr.id]': 'id',\n                    '[attr.aria-label]': 'null',\n                    '[attr.aria-labelledby]': 'null',\n                    '[attr.aria-describedby]': 'null',\n                    // Note: under normal conditions focus shouldn't land on this element, however it may be\n                    // programmatically set, for example inside of a focus trap, in this case we want to forward\n                    // the focus to the native element.\n                    '(focus)': '_inputElement.nativeElement.focus()',\n                },\n                changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ChangeDetectionStrategy\"].OnPush,\n            },] },\n];\n/** @nocollapse */\nMatRadioButton.ctorParameters = () => [\n    { type: MatRadioGroup, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Optional\"] }] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ElementRef\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ChangeDetectorRef\"] },\n    { type: _angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_0__[\"FocusMonitor\"] },\n    { type: _angular_cdk_collections__WEBPACK_IMPORTED_MODULE_2__[\"UniqueSelectionDispatcher\"] },\n    { type: String, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Inject\"], args: [_angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_6__[\"ANIMATION_MODULE_TYPE\"],] }] },\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Inject\"], args: [MAT_RADIO_DEFAULT_OPTIONS,] }] }\n];\nMatRadioButton.propDecorators = {\n    id: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"] }],\n    name: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"] }],\n    ariaLabel: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"], args: ['aria-label',] }],\n    ariaLabelledby: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"], args: ['aria-labelledby',] }],\n    ariaDescribedby: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"], args: ['aria-describedby',] }],\n    checked: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"] }],\n    value: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"] }],\n    labelPosition: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"] }],\n    disabled: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"] }],\n    required: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"] }],\n    color: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"] }],\n    change: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Output\"] }],\n    _inputElement: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ViewChild\"], args: ['input', { static: false },] }]\n};\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass MatRadioModule {\n}\nMatRadioModule.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"NgModule\"], args: [{\n                imports: [_angular_common__WEBPACK_IMPORTED_MODULE_7__[\"CommonModule\"], _angular_material_core__WEBPACK_IMPORTED_MODULE_5__[\"MatRippleModule\"], _angular_material_core__WEBPACK_IMPORTED_MODULE_5__[\"MatCommonModule\"]],\n                exports: [MatRadioGroup, MatRadioButton, _angular_material_core__WEBPACK_IMPORTED_MODULE_5__[\"MatCommonModule\"]],\n                declarations: [MatRadioGroup, MatRadioButton],\n            },] },\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n\n//# sourceMappingURL=radio.js.map\n\n\n/***/ }),\n\n/***/ \"./node_modules/@angular/material/esm2015/snack-bar.js\":\n/*!*************************************************************!*\\\n  !*** ./node_modules/@angular/material/esm2015/snack-bar.js ***!\n  \\*************************************************************/\n/*! exports provided: MatSnackBarModule, MAT_SNACK_BAR_DEFAULT_OPTIONS_FACTORY, MAT_SNACK_BAR_DEFAULT_OPTIONS, MatSnackBar, MatSnackBarContainer, MAT_SNACK_BAR_DATA, MatSnackBarConfig, MatSnackBarRef, SimpleSnackBar, matSnackBarAnimations */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MatSnackBarModule\", function() { return MatSnackBarModule; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MAT_SNACK_BAR_DEFAULT_OPTIONS_FACTORY\", function() { return MAT_SNACK_BAR_DEFAULT_OPTIONS_FACTORY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MAT_SNACK_BAR_DEFAULT_OPTIONS\", function() { return MAT_SNACK_BAR_DEFAULT_OPTIONS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MatSnackBar\", function() { return MatSnackBar; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MatSnackBarContainer\", function() { return MatSnackBarContainer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MAT_SNACK_BAR_DATA\", function() { return MAT_SNACK_BAR_DATA; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MatSnackBarConfig\", function() { return MatSnackBarConfig; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MatSnackBarRef\", function() { return MatSnackBarRef; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SimpleSnackBar\", function() { return SimpleSnackBar; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"matSnackBarAnimations\", function() { return matSnackBarAnimations; });\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ \"./node_modules/rxjs/_esm2015/index.js\");\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var _angular_animations__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/animations */ \"./node_modules/@angular/animations/fesm2015/animations.js\");\n/* harmony import */ var _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/cdk/portal */ \"./node_modules/@angular/cdk/esm2015/portal.js\");\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ \"./node_modules/rxjs/_esm2015/operators/index.js\");\n/* harmony import */ var _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/cdk/overlay */ \"./node_modules/@angular/cdk/esm2015/overlay.js\");\n/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/common */ \"./node_modules/@angular/common/fesm2015/common.js\");\n/* harmony import */ var _angular_material_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/material/core */ \"./node_modules/@angular/material/esm2015/core.js\");\n/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/material/button */ \"./node_modules/@angular/material/esm2015/button.js\");\n/* harmony import */ var _angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/cdk/a11y */ \"./node_modules/@angular/cdk/esm2015/a11y.js\");\n/* harmony import */ var _angular_cdk_layout__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/cdk/layout */ \"./node_modules/@angular/cdk/esm2015/layout.js\");\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\n\n\n\n\n\n\n\n\n\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Reference to a snack bar dispatched from the snack bar service.\n * @template T\n */\nclass MatSnackBarRef {\n    /**\n     * @param {?} containerInstance\n     * @param {?} _overlayRef\n     */\n    constructor(containerInstance, _overlayRef) {\n        this._overlayRef = _overlayRef;\n        /**\n         * Subject for notifying the user that the snack bar has been dismissed.\n         */\n        this._afterDismissed = new rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]();\n        /**\n         * Subject for notifying the user that the snack bar has opened and appeared.\n         */\n        this._afterOpened = new rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]();\n        /**\n         * Subject for notifying the user that the snack bar action was called.\n         */\n        this._onAction = new rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]();\n        /**\n         * Whether the snack bar was dismissed using the action button.\n         */\n        this._dismissedByAction = false;\n        this.containerInstance = containerInstance;\n        // Dismiss snackbar on action.\n        this.onAction().subscribe((/**\n         * @return {?}\n         */\n        () => this.dismiss()));\n        containerInstance._onExit.subscribe((/**\n         * @return {?}\n         */\n        () => this._finishDismiss()));\n    }\n    /**\n     * Dismisses the snack bar.\n     * @return {?}\n     */\n    dismiss() {\n        if (!this._afterDismissed.closed) {\n            this.containerInstance.exit();\n        }\n        clearTimeout(this._durationTimeoutId);\n    }\n    /**\n     * Marks the snackbar action clicked.\n     * @return {?}\n     */\n    dismissWithAction() {\n        if (!this._onAction.closed) {\n            this._dismissedByAction = true;\n            this._onAction.next();\n            this._onAction.complete();\n        }\n    }\n    /**\n     * Marks the snackbar action clicked.\n     * @deprecated Use `dismissWithAction` instead.\n     * \\@breaking-change 8.0.0\n     * @return {?}\n     */\n    closeWithAction() {\n        this.dismissWithAction();\n    }\n    /**\n     * Dismisses the snack bar after some duration\n     * @param {?} duration\n     * @return {?}\n     */\n    _dismissAfter(duration) {\n        this._durationTimeoutId = setTimeout((/**\n         * @return {?}\n         */\n        () => this.dismiss()), duration);\n    }\n    /**\n     * Marks the snackbar as opened\n     * @return {?}\n     */\n    _open() {\n        if (!this._afterOpened.closed) {\n            this._afterOpened.next();\n            this._afterOpened.complete();\n        }\n    }\n    /**\n     * Cleans up the DOM after closing.\n     * @private\n     * @return {?}\n     */\n    _finishDismiss() {\n        this._overlayRef.dispose();\n        if (!this._onAction.closed) {\n            this._onAction.complete();\n        }\n        this._afterDismissed.next({ dismissedByAction: this._dismissedByAction });\n        this._afterDismissed.complete();\n        this._dismissedByAction = false;\n    }\n    /**\n     * Gets an observable that is notified when the snack bar is finished closing.\n     * @return {?}\n     */\n    afterDismissed() {\n        return this._afterDismissed.asObservable();\n    }\n    /**\n     * Gets an observable that is notified when the snack bar has opened and appeared.\n     * @return {?}\n     */\n    afterOpened() {\n        return this.containerInstance._onEnter;\n    }\n    /**\n     * Gets an observable that is notified when the snack bar action is called.\n     * @return {?}\n     */\n    onAction() {\n        return this._onAction.asObservable();\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Injection token that can be used to access the data that was passed in to a snack bar.\n * @type {?}\n */\nconst MAT_SNACK_BAR_DATA = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"InjectionToken\"]('MatSnackBarData');\n/**\n * Configuration used when opening a snack-bar.\n * @template D\n */\nclass MatSnackBarConfig {\n    constructor() {\n        /**\n         * The politeness level for the MatAriaLiveAnnouncer announcement.\n         */\n        this.politeness = 'assertive';\n        /**\n         * Message to be announced by the LiveAnnouncer. When opening a snackbar without a custom\n         * component or template, the announcement message will default to the specified message.\n         */\n        this.announcementMessage = '';\n        /**\n         * The length of time in milliseconds to wait before automatically dismissing the snack bar.\n         */\n        this.duration = 0;\n        /**\n         * Data being injected into the child component.\n         */\n        this.data = null;\n        /**\n         * The horizontal position to place the snack bar.\n         */\n        this.horizontalPosition = 'center';\n        /**\n         * The vertical position to place the snack bar.\n         */\n        this.verticalPosition = 'bottom';\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * A component used to open as the default snack bar, matching material spec.\n * This should only be used internally by the snack bar service.\n */\nclass SimpleSnackBar {\n    /**\n     * @param {?} snackBarRef\n     * @param {?} data\n     */\n    constructor(snackBarRef, data) {\n        this.snackBarRef = snackBarRef;\n        this.data = data;\n    }\n    /**\n     * Performs the action on the snack bar.\n     * @return {?}\n     */\n    action() {\n        this.snackBarRef.dismissWithAction();\n    }\n    /**\n     * If the action button should be shown.\n     * @return {?}\n     */\n    get hasAction() {\n        return !!this.data.action;\n    }\n}\nSimpleSnackBar.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Component\"], args: [{selector: 'simple-snack-bar',\n                template: \"<span>{{data.message}}</span><div class=\\\"mat-simple-snackbar-action\\\" *ngIf=\\\"hasAction\\\"><button mat-button (click)=\\\"action()\\\">{{data.action}}</button></div>\",\n                styles: [\".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}\"],\n                encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ViewEncapsulation\"].None,\n                changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ChangeDetectionStrategy\"].OnPush,\n                host: {\n                    'class': 'mat-simple-snackbar',\n                }\n            },] },\n];\n/** @nocollapse */\nSimpleSnackBar.ctorParameters = () => [\n    { type: MatSnackBarRef },\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"], args: [MAT_SNACK_BAR_DATA,] }] }\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Animations used by the Material snack bar.\n * \\@docs-private\n * @type {?}\n */\nconst matSnackBarAnimations = {\n    /**\n     * Animation that shows and hides a snack bar.\n     */\n    snackBarState: Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__[\"trigger\"])('state', [\n        Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__[\"state\"])('void, hidden', Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__[\"style\"])({\n            transform: 'scale(0.8)',\n            opacity: 0,\n        })),\n        Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__[\"state\"])('visible', Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__[\"style\"])({\n            transform: 'scale(1)',\n            opacity: 1,\n        })),\n        Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__[\"transition\"])('* => visible', Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__[\"animate\"])('150ms cubic-bezier(0, 0, 0.2, 1)')),\n        Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__[\"transition\"])('* => void, * => hidden', Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__[\"animate\"])('75ms cubic-bezier(0.4, 0.0, 1, 1)', Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__[\"style\"])({\n            opacity: 0\n        }))),\n    ])\n};\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Internal component that wraps user-provided snack bar content.\n * \\@docs-private\n */\nclass MatSnackBarContainer extends _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_3__[\"BasePortalOutlet\"] {\n    /**\n     * @param {?} _ngZone\n     * @param {?} _elementRef\n     * @param {?} _changeDetectorRef\n     * @param {?} snackBarConfig\n     */\n    constructor(_ngZone, _elementRef, _changeDetectorRef, snackBarConfig) {\n        super();\n        this._ngZone = _ngZone;\n        this._elementRef = _elementRef;\n        this._changeDetectorRef = _changeDetectorRef;\n        this.snackBarConfig = snackBarConfig;\n        /**\n         * Whether the component has been destroyed.\n         */\n        this._destroyed = false;\n        /**\n         * Subject for notifying that the snack bar has exited from view.\n         */\n        this._onExit = new rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]();\n        /**\n         * Subject for notifying that the snack bar has finished entering the view.\n         */\n        this._onEnter = new rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]();\n        /**\n         * The state of the snack bar animations.\n         */\n        this._animationState = 'void';\n        // Based on the ARIA spec, `alert` and `status` roles have an\n        // implicit `assertive` and `polite` politeness respectively.\n        if (snackBarConfig.politeness === 'assertive' && !snackBarConfig.announcementMessage) {\n            this._role = 'alert';\n        }\n        else if (snackBarConfig.politeness === 'off') {\n            this._role = null;\n        }\n        else {\n            this._role = 'status';\n        }\n    }\n    /**\n     * Attach a component portal as content to this snack bar container.\n     * @template T\n     * @param {?} portal\n     * @return {?}\n     */\n    attachComponentPortal(portal) {\n        this._assertNotAttached();\n        this._applySnackBarClasses();\n        return this._portalOutlet.attachComponentPortal(portal);\n    }\n    /**\n     * Attach a template portal as content to this snack bar container.\n     * @template C\n     * @param {?} portal\n     * @return {?}\n     */\n    attachTemplatePortal(portal) {\n        this._assertNotAttached();\n        this._applySnackBarClasses();\n        return this._portalOutlet.attachTemplatePortal(portal);\n    }\n    /**\n     * Handle end of animations, updating the state of the snackbar.\n     * @param {?} event\n     * @return {?}\n     */\n    onAnimationEnd(event) {\n        const { fromState, toState } = event;\n        if ((toState === 'void' && fromState !== 'void') || toState === 'hidden') {\n            this._completeExit();\n        }\n        if (toState === 'visible') {\n            // Note: we shouldn't use `this` inside the zone callback,\n            // because it can cause a memory leak.\n            /** @type {?} */\n            const onEnter = this._onEnter;\n            this._ngZone.run((/**\n             * @return {?}\n             */\n            () => {\n                onEnter.next();\n                onEnter.complete();\n            }));\n        }\n    }\n    /**\n     * Begin animation of snack bar entrance into view.\n     * @return {?}\n     */\n    enter() {\n        if (!this._destroyed) {\n            this._animationState = 'visible';\n            this._changeDetectorRef.detectChanges();\n        }\n    }\n    /**\n     * Begin animation of the snack bar exiting from view.\n     * @return {?}\n     */\n    exit() {\n        // Note: this one transitions to `hidden`, rather than `void`, in order to handle the case\n        // where multiple snack bars are opened in quick succession (e.g. two consecutive calls to\n        // `MatSnackBar.open`).\n        this._animationState = 'hidden';\n        return this._onExit;\n    }\n    /**\n     * Makes sure the exit callbacks have been invoked when the element is destroyed.\n     * @return {?}\n     */\n    ngOnDestroy() {\n        this._destroyed = true;\n        this._completeExit();\n    }\n    /**\n     * Waits for the zone to settle before removing the element. Helps prevent\n     * errors where we end up removing an element which is in the middle of an animation.\n     * @private\n     * @return {?}\n     */\n    _completeExit() {\n        this._ngZone.onMicrotaskEmpty.asObservable().pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"take\"])(1)).subscribe((/**\n         * @return {?}\n         */\n        () => {\n            this._onExit.next();\n            this._onExit.complete();\n        }));\n    }\n    /**\n     * Applies the various positioning and user-configured CSS classes to the snack bar.\n     * @private\n     * @return {?}\n     */\n    _applySnackBarClasses() {\n        /** @type {?} */\n        const element = this._elementRef.nativeElement;\n        /** @type {?} */\n        const panelClasses = this.snackBarConfig.panelClass;\n        if (panelClasses) {\n            if (Array.isArray(panelClasses)) {\n                // Note that we can't use a spread here, because IE doesn't support multiple arguments.\n                panelClasses.forEach((/**\n                 * @param {?} cssClass\n                 * @return {?}\n                 */\n                cssClass => element.classList.add(cssClass)));\n            }\n            else {\n                element.classList.add(panelClasses);\n            }\n        }\n        if (this.snackBarConfig.horizontalPosition === 'center') {\n            element.classList.add('mat-snack-bar-center');\n        }\n        if (this.snackBarConfig.verticalPosition === 'top') {\n            element.classList.add('mat-snack-bar-top');\n        }\n    }\n    /**\n     * Asserts that no content is already attached to the container.\n     * @private\n     * @return {?}\n     */\n    _assertNotAttached() {\n        if (this._portalOutlet.hasAttached()) {\n            throw Error('Attempting to attach snack bar content after content is already attached');\n        }\n    }\n}\nMatSnackBarContainer.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Component\"], args: [{selector: 'snack-bar-container',\n                template: \"<ng-template cdkPortalOutlet></ng-template>\",\n                styles: [\".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}@media (-ms-high-contrast:active){.mat-snack-bar-container{border:solid 1px}}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\"],\n                // In Ivy embedded views will be change detected from their declaration place, rather than\n                // where they were stamped out. This means that we can't have the snack bar container be OnPush,\n                // because it might cause snack bars that were opened from a template not to be out of date.\n                // tslint:disable-next-line:validate-decorators\n                changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ChangeDetectionStrategy\"].Default,\n                encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ViewEncapsulation\"].None,\n                animations: [matSnackBarAnimations.snackBarState],\n                host: {\n                    '[attr.role]': '_role',\n                    'class': 'mat-snack-bar-container',\n                    '[@state]': '_animationState',\n                    '(@state.done)': 'onAnimationEnd($event)'\n                },\n            },] },\n];\n/** @nocollapse */\nMatSnackBarContainer.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgZone\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ElementRef\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ChangeDetectorRef\"] },\n    { type: MatSnackBarConfig }\n];\nMatSnackBarContainer.propDecorators = {\n    _portalOutlet: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ViewChild\"], args: [_angular_cdk_portal__WEBPACK_IMPORTED_MODULE_3__[\"CdkPortalOutlet\"], { static: true },] }]\n};\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass MatSnackBarModule {\n}\nMatSnackBarModule.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgModule\"], args: [{\n                imports: [\n                    _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_5__[\"OverlayModule\"],\n                    _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_3__[\"PortalModule\"],\n                    _angular_common__WEBPACK_IMPORTED_MODULE_6__[\"CommonModule\"],\n                    _angular_material_button__WEBPACK_IMPORTED_MODULE_8__[\"MatButtonModule\"],\n                    _angular_material_core__WEBPACK_IMPORTED_MODULE_7__[\"MatCommonModule\"],\n                ],\n                exports: [MatSnackBarContainer, _angular_material_core__WEBPACK_IMPORTED_MODULE_7__[\"MatCommonModule\"]],\n                declarations: [MatSnackBarContainer, SimpleSnackBar],\n                entryComponents: [MatSnackBarContainer, SimpleSnackBar],\n            },] },\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Injection token that can be used to specify default snack bar.\n * @type {?}\n */\nconst MAT_SNACK_BAR_DEFAULT_OPTIONS = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"InjectionToken\"]('mat-snack-bar-default-options', {\n    providedIn: 'root',\n    factory: MAT_SNACK_BAR_DEFAULT_OPTIONS_FACTORY,\n});\n/**\n * \\@docs-private\n * @return {?}\n */\nfunction MAT_SNACK_BAR_DEFAULT_OPTIONS_FACTORY() {\n    return new MatSnackBarConfig();\n}\n/**\n * Service to dispatch Material Design snack bar messages.\n */\nclass MatSnackBar {\n    /**\n     * @param {?} _overlay\n     * @param {?} _live\n     * @param {?} _injector\n     * @param {?} _breakpointObserver\n     * @param {?} _parentSnackBar\n     * @param {?} _defaultConfig\n     */\n    constructor(_overlay, _live, _injector, _breakpointObserver, _parentSnackBar, _defaultConfig) {\n        this._overlay = _overlay;\n        this._live = _live;\n        this._injector = _injector;\n        this._breakpointObserver = _breakpointObserver;\n        this._parentSnackBar = _parentSnackBar;\n        this._defaultConfig = _defaultConfig;\n        /**\n         * Reference to the current snack bar in the view *at this level* (in the Angular injector tree).\n         * If there is a parent snack-bar service, all operations should delegate to that parent\n         * via `_openedSnackBarRef`.\n         */\n        this._snackBarRefAtThisLevel = null;\n    }\n    /**\n     * Reference to the currently opened snackbar at *any* level.\n     * @return {?}\n     */\n    get _openedSnackBarRef() {\n        /** @type {?} */\n        const parent = this._parentSnackBar;\n        return parent ? parent._openedSnackBarRef : this._snackBarRefAtThisLevel;\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    set _openedSnackBarRef(value) {\n        if (this._parentSnackBar) {\n            this._parentSnackBar._openedSnackBarRef = value;\n        }\n        else {\n            this._snackBarRefAtThisLevel = value;\n        }\n    }\n    /**\n     * Creates and dispatches a snack bar with a custom component for the content, removing any\n     * currently opened snack bars.\n     *\n     * @template T\n     * @param {?} component Component to be instantiated.\n     * @param {?=} config Extra configuration for the snack bar.\n     * @return {?}\n     */\n    openFromComponent(component, config) {\n        return (/** @type {?} */ (this._attach(component, config)));\n    }\n    /**\n     * Creates and dispatches a snack bar with a custom template for the content, removing any\n     * currently opened snack bars.\n     *\n     * @param {?} template Template to be instantiated.\n     * @param {?=} config Extra configuration for the snack bar.\n     * @return {?}\n     */\n    openFromTemplate(template, config) {\n        return this._attach(template, config);\n    }\n    /**\n     * Opens a snackbar with a message and an optional action.\n     * @param {?} message The message to show in the snackbar.\n     * @param {?=} action The label for the snackbar action.\n     * @param {?=} config Additional configuration options for the snackbar.\n     * @return {?}\n     */\n    open(message, action = '', config) {\n        /** @type {?} */\n        const _config = Object.assign({}, this._defaultConfig, config);\n        // Since the user doesn't have access to the component, we can\n        // override the data to pass in our own message and action.\n        _config.data = { message, action };\n        if (!_config.announcementMessage) {\n            _config.announcementMessage = message;\n        }\n        return this.openFromComponent(SimpleSnackBar, _config);\n    }\n    /**\n     * Dismisses the currently-visible snack bar.\n     * @return {?}\n     */\n    dismiss() {\n        if (this._openedSnackBarRef) {\n            this._openedSnackBarRef.dismiss();\n        }\n    }\n    /**\n     * @return {?}\n     */\n    ngOnDestroy() {\n        // Only dismiss the snack bar at the current level on destroy.\n        if (this._snackBarRefAtThisLevel) {\n            this._snackBarRefAtThisLevel.dismiss();\n        }\n    }\n    /**\n     * Attaches the snack bar container component to the overlay.\n     * @private\n     * @param {?} overlayRef\n     * @param {?} config\n     * @return {?}\n     */\n    _attachSnackBarContainer(overlayRef, config) {\n        /** @type {?} */\n        const userInjector = config && config.viewContainerRef && config.viewContainerRef.injector;\n        /** @type {?} */\n        const injector = new _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_3__[\"PortalInjector\"](userInjector || this._injector, new WeakMap([\n            [MatSnackBarConfig, config]\n        ]));\n        /** @type {?} */\n        const containerPortal = new _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_3__[\"ComponentPortal\"](MatSnackBarContainer, config.viewContainerRef, injector);\n        /** @type {?} */\n        const containerRef = overlayRef.attach(containerPortal);\n        containerRef.instance.snackBarConfig = config;\n        return containerRef.instance;\n    }\n    /**\n     * Places a new component or a template as the content of the snack bar container.\n     * @private\n     * @template T\n     * @param {?} content\n     * @param {?=} userConfig\n     * @return {?}\n     */\n    _attach(content, userConfig) {\n        /** @type {?} */\n        const config = Object.assign({}, new MatSnackBarConfig(), this._defaultConfig, userConfig);\n        /** @type {?} */\n        const overlayRef = this._createOverlay(config);\n        /** @type {?} */\n        const container = this._attachSnackBarContainer(overlayRef, config);\n        /** @type {?} */\n        const snackBarRef = new MatSnackBarRef(container, overlayRef);\n        if (content instanceof _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"TemplateRef\"]) {\n            /** @type {?} */\n            const portal = new _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_3__[\"TemplatePortal\"](content, (/** @type {?} */ (null)), (/** @type {?} */ ({\n                $implicit: config.data,\n                snackBarRef\n            })));\n            snackBarRef.instance = container.attachTemplatePortal(portal);\n        }\n        else {\n            /** @type {?} */\n            const injector = this._createInjector(config, snackBarRef);\n            /** @type {?} */\n            const portal = new _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_3__[\"ComponentPortal\"](content, undefined, injector);\n            /** @type {?} */\n            const contentRef = container.attachComponentPortal(portal);\n            // We can't pass this via the injector, because the injector is created earlier.\n            snackBarRef.instance = contentRef.instance;\n        }\n        // Subscribe to the breakpoint observer and attach the mat-snack-bar-handset class as\n        // appropriate. This class is applied to the overlay element because the overlay must expand to\n        // fill the width of the screen for full width snackbars.\n        this._breakpointObserver.observe(_angular_cdk_layout__WEBPACK_IMPORTED_MODULE_10__[\"Breakpoints\"].HandsetPortrait).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"takeUntil\"])(overlayRef.detachments())).subscribe((/**\n         * @param {?} state\n         * @return {?}\n         */\n        state$$1 => {\n            /** @type {?} */\n            const classList = overlayRef.overlayElement.classList;\n            /** @type {?} */\n            const className = 'mat-snack-bar-handset';\n            state$$1.matches ? classList.add(className) : classList.remove(className);\n        }));\n        this._animateSnackBar(snackBarRef, config);\n        this._openedSnackBarRef = snackBarRef;\n        return this._openedSnackBarRef;\n    }\n    /**\n     * Animates the old snack bar out and the new one in.\n     * @private\n     * @param {?} snackBarRef\n     * @param {?} config\n     * @return {?}\n     */\n    _animateSnackBar(snackBarRef, config) {\n        // When the snackbar is dismissed, clear the reference to it.\n        snackBarRef.afterDismissed().subscribe((/**\n         * @return {?}\n         */\n        () => {\n            // Clear the snackbar ref if it hasn't already been replaced by a newer snackbar.\n            if (this._openedSnackBarRef == snackBarRef) {\n                this._openedSnackBarRef = null;\n            }\n            if (config.announcementMessage) {\n                this._live.clear();\n            }\n        }));\n        if (this._openedSnackBarRef) {\n            // If a snack bar is already in view, dismiss it and enter the\n            // new snack bar after exit animation is complete.\n            this._openedSnackBarRef.afterDismissed().subscribe((/**\n             * @return {?}\n             */\n            () => {\n                snackBarRef.containerInstance.enter();\n            }));\n            this._openedSnackBarRef.dismiss();\n        }\n        else {\n            // If no snack bar is in view, enter the new snack bar.\n            snackBarRef.containerInstance.enter();\n        }\n        // If a dismiss timeout is provided, set up dismiss based on after the snackbar is opened.\n        if (config.duration && config.duration > 0) {\n            snackBarRef.afterOpened().subscribe((/**\n             * @return {?}\n             */\n            () => snackBarRef._dismissAfter((/** @type {?} */ (config.duration)))));\n        }\n        if (config.announcementMessage) {\n            this._live.announce(config.announcementMessage, config.politeness);\n        }\n    }\n    /**\n     * Creates a new overlay and places it in the correct location.\n     * @private\n     * @param {?} config The user-specified snack bar config.\n     * @return {?}\n     */\n    _createOverlay(config) {\n        /** @type {?} */\n        const overlayConfig = new _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_5__[\"OverlayConfig\"]();\n        overlayConfig.direction = config.direction;\n        /** @type {?} */\n        let positionStrategy = this._overlay.position().global();\n        // Set horizontal position.\n        /** @type {?} */\n        const isRtl = config.direction === 'rtl';\n        /** @type {?} */\n        const isLeft = (config.horizontalPosition === 'left' ||\n            (config.horizontalPosition === 'start' && !isRtl) ||\n            (config.horizontalPosition === 'end' && isRtl));\n        /** @type {?} */\n        const isRight = !isLeft && config.horizontalPosition !== 'center';\n        if (isLeft) {\n            positionStrategy.left('0');\n        }\n        else if (isRight) {\n            positionStrategy.right('0');\n        }\n        else {\n            positionStrategy.centerHorizontally();\n        }\n        // Set horizontal position.\n        if (config.verticalPosition === 'top') {\n            positionStrategy.top('0');\n        }\n        else {\n            positionStrategy.bottom('0');\n        }\n        overlayConfig.positionStrategy = positionStrategy;\n        return this._overlay.create(overlayConfig);\n    }\n    /**\n     * Creates an injector to be used inside of a snack bar component.\n     * @private\n     * @template T\n     * @param {?} config Config that was used to create the snack bar.\n     * @param {?} snackBarRef Reference to the snack bar.\n     * @return {?}\n     */\n    _createInjector(config, snackBarRef) {\n        /** @type {?} */\n        const userInjector = config && config.viewContainerRef && config.viewContainerRef.injector;\n        return new _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_3__[\"PortalInjector\"](userInjector || this._injector, new WeakMap([\n            [MatSnackBarRef, snackBarRef],\n            [MAT_SNACK_BAR_DATA, config.data]\n        ]));\n    }\n}\nMatSnackBar.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"], args: [{ providedIn: MatSnackBarModule },] },\n];\n/** @nocollapse */\nMatSnackBar.ctorParameters = () => [\n    { type: _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_5__[\"Overlay\"] },\n    { type: _angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_9__[\"LiveAnnouncer\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injector\"] },\n    { type: _angular_cdk_layout__WEBPACK_IMPORTED_MODULE_10__[\"BreakpointObserver\"] },\n    { type: MatSnackBar, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"SkipSelf\"] }] },\n    { type: MatSnackBarConfig, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"], args: [MAT_SNACK_BAR_DEFAULT_OPTIONS,] }] }\n];\n/** @nocollapse */ MatSnackBar.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵdefineInjectable\"])({ factory: function MatSnackBar_Factory() { return new MatSnackBar(Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(_angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_5__[\"Overlay\"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(_angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_9__[\"LiveAnnouncer\"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"INJECTOR\"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(_angular_cdk_layout__WEBPACK_IMPORTED_MODULE_10__[\"BreakpointObserver\"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(MatSnackBar, 12), Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(MAT_SNACK_BAR_DEFAULT_OPTIONS)); }, token: MatSnackBar, providedIn: MatSnackBarModule });\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n\n//# sourceMappingURL=snack-bar.js.map\n\n\n/***/ }),\n\n/***/ \"./node_modules/@angular/platform-browser-dynamic/fesm2015/platform-browser-dynamic.js\":\n/*!*********************************************************************************************!*\\\n  !*** ./node_modules/@angular/platform-browser-dynamic/fesm2015/platform-browser-dynamic.js ***!\n  \\*********************************************************************************************/\n/*! exports provided: ɵangular_packages_platform_browser_dynamic_platform_browser_dynamic_a, VERSION, JitCompilerFactory, RESOURCE_CACHE_PROVIDER, platformBrowserDynamic, ɵCompilerImpl, ɵplatformCoreDynamic, ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS, ɵResourceLoaderImpl */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_platform_browser_dynamic_platform_browser_dynamic_a\", function() { return CachedResourceLoader; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VERSION\", function() { return VERSION; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"JitCompilerFactory\", function() { return JitCompilerFactory; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RESOURCE_CACHE_PROVIDER\", function() { return RESOURCE_CACHE_PROVIDER; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"platformBrowserDynamic\", function() { return platformBrowserDynamic; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵCompilerImpl\", function() { return CompilerImpl; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵplatformCoreDynamic\", function() { return platformCoreDynamic; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS\", function() { return INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵResourceLoaderImpl\", function() { return ResourceLoaderImpl; });\n/* harmony import */ var _angular_compiler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/compiler */ \"./node_modules/@angular/compiler/fesm2015/compiler.js\");\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ \"./node_modules/@angular/common/fesm2015/common.js\");\n/* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/platform-browser */ \"./node_modules/@angular/platform-browser/fesm2015/platform-browser.js\");\n/**\n * @license Angular v8.2.14\n * (c) 2010-2019 Google LLC. https://angular.io/\n * License: MIT\n */\n\n\n\n\n\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst MODULE_SUFFIX = '';\n/** @type {?} */\nconst builtinExternalReferences = createBuiltinExternalReferencesMap();\nclass JitReflector {\n    constructor() {\n        this.reflectionCapabilities = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵReflectionCapabilities\"]();\n    }\n    /**\n     * @param {?} type\n     * @param {?} cmpMetadata\n     * @return {?}\n     */\n    componentModuleUrl(type, cmpMetadata) {\n        /** @type {?} */\n        const moduleId = cmpMetadata.moduleId;\n        if (typeof moduleId === 'string') {\n            /** @type {?} */\n            const scheme = Object(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"getUrlScheme\"])(moduleId);\n            return scheme ? moduleId : `package:${moduleId}${MODULE_SUFFIX}`;\n        }\n        else if (moduleId !== null && moduleId !== void 0) {\n            throw Object(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"syntaxError\"])(`moduleId should be a string in \"${Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵstringify\"])(type)}\". See https://goo.gl/wIDDiL for more information.\\n` +\n                `If you're using Webpack you should inline the template and the styles, see https://goo.gl/X2J8zc.`);\n        }\n        return `./${Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵstringify\"])(type)}`;\n    }\n    /**\n     * @param {?} typeOrFunc\n     * @return {?}\n     */\n    parameters(typeOrFunc) {\n        return this.reflectionCapabilities.parameters(typeOrFunc);\n    }\n    /**\n     * @param {?} typeOrFunc\n     * @return {?}\n     */\n    tryAnnotations(typeOrFunc) { return this.annotations(typeOrFunc); }\n    /**\n     * @param {?} typeOrFunc\n     * @return {?}\n     */\n    annotations(typeOrFunc) {\n        return this.reflectionCapabilities.annotations(typeOrFunc);\n    }\n    /**\n     * @param {?} typeOrFunc\n     * @return {?}\n     */\n    shallowAnnotations(typeOrFunc) {\n        throw new Error('Not supported in JIT mode');\n    }\n    /**\n     * @param {?} typeOrFunc\n     * @return {?}\n     */\n    propMetadata(typeOrFunc) {\n        return this.reflectionCapabilities.propMetadata(typeOrFunc);\n    }\n    /**\n     * @param {?} type\n     * @param {?} lcProperty\n     * @return {?}\n     */\n    hasLifecycleHook(type, lcProperty) {\n        return this.reflectionCapabilities.hasLifecycleHook(type, lcProperty);\n    }\n    /**\n     * @param {?} type\n     * @return {?}\n     */\n    guards(type) { return this.reflectionCapabilities.guards(type); }\n    /**\n     * @param {?} ref\n     * @return {?}\n     */\n    resolveExternalReference(ref) {\n        return builtinExternalReferences.get(ref) || ref.runtime;\n    }\n}\nif (false) {}\n/**\n * @return {?}\n */\nfunction createBuiltinExternalReferencesMap() {\n    /** @type {?} */\n    const map = new Map();\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].ANALYZE_FOR_ENTRY_COMPONENTS, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ANALYZE_FOR_ENTRY_COMPONENTS\"]);\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].ElementRef, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ElementRef\"]);\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].NgModuleRef, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgModuleRef\"]);\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].ViewContainerRef, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ViewContainerRef\"]);\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].ChangeDetectorRef, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ChangeDetectorRef\"]);\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].Renderer2, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Renderer2\"]);\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].QueryList, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"QueryList\"]);\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].TemplateRef, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"TemplateRef\"]);\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].CodegenComponentFactoryResolver, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵCodegenComponentFactoryResolver\"]);\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].ComponentFactoryResolver, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ComponentFactoryResolver\"]);\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].ComponentFactory, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ComponentFactory\"]);\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].ComponentRef, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ComponentRef\"]);\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].NgModuleFactory, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgModuleFactory\"]);\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].createModuleFactory, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵcmf\"]);\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].moduleDef, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵmod\"]);\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].moduleProviderDef, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵmpd\"]);\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].RegisterModuleFactoryFn, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵregisterModuleFactory\"]);\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].Injector, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injector\"]);\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].ViewEncapsulation, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ViewEncapsulation\"]);\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].ChangeDetectionStrategy, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ChangeDetectionStrategy\"]);\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].SecurityContext, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"SecurityContext\"]);\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].LOCALE_ID, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"LOCALE_ID\"]);\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].TRANSLATIONS_FORMAT, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"TRANSLATIONS_FORMAT\"]);\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].inlineInterpolate, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵinlineInterpolate\"]);\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].interpolate, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵinterpolate\"]);\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].EMPTY_ARRAY, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵEMPTY_ARRAY\"]);\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].EMPTY_MAP, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵEMPTY_MAP\"]);\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].Renderer, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Renderer\"]);\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].viewDef, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵvid\"]);\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].elementDef, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵeld\"]);\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].anchorDef, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵand\"]);\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].textDef, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵted\"]);\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].directiveDef, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵdid\"]);\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].providerDef, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵprd\"]);\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].queryDef, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵqud\"]);\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].pureArrayDef, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵpad\"]);\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].pureObjectDef, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵpod\"]);\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].purePipeDef, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵppd\"]);\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].pipeDef, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵpid\"]);\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].nodeValue, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵnov\"]);\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].ngContentDef, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵncd\"]);\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].unwrapValue, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵunv\"]);\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].createRendererType2, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵcrt\"]);\n    map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].createComponentFactory, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵccf\"]);\n    return map;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst ERROR_COLLECTOR_TOKEN = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"InjectionToken\"]('ErrorCollector');\n/**\n * A default provider for {\\@link PACKAGE_ROOT_URL} that maps to '/'.\n * @type {?}\n */\nconst DEFAULT_PACKAGE_URL_PROVIDER = {\n    provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"PACKAGE_ROOT_URL\"],\n    useValue: '/'\n};\n/** @type {?} */\nconst _NO_RESOURCE_LOADER = {\n    /**\n     * @param {?} url\n     * @return {?}\n     */\n    get(url) {\n        throw new Error(`No ResourceLoader implementation has been provided. Can't read the url \"${url}\"`);\n    }\n};\n/** @type {?} */\nconst baseHtmlParser = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"InjectionToken\"]('HtmlParser');\nclass CompilerImpl {\n    /**\n     * @param {?} injector\n     * @param {?} _metadataResolver\n     * @param {?} templateParser\n     * @param {?} styleCompiler\n     * @param {?} viewCompiler\n     * @param {?} ngModuleCompiler\n     * @param {?} summaryResolver\n     * @param {?} compileReflector\n     * @param {?} jitEvaluator\n     * @param {?} compilerConfig\n     * @param {?} console\n     */\n    constructor(injector, _metadataResolver, templateParser, styleCompiler, viewCompiler, ngModuleCompiler, summaryResolver, compileReflector, jitEvaluator, compilerConfig, console) {\n        this._metadataResolver = _metadataResolver;\n        this._delegate = new _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"JitCompiler\"](_metadataResolver, templateParser, styleCompiler, viewCompiler, ngModuleCompiler, summaryResolver, compileReflector, jitEvaluator, compilerConfig, console, this.getExtraNgModuleProviders.bind(this));\n        this.injector = injector;\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    getExtraNgModuleProviders() {\n        return [this._metadataResolver.getProviderMetadata(new _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"ProviderMeta\"](_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Compiler\"], { useValue: this }))];\n    }\n    /**\n     * @template T\n     * @param {?} moduleType\n     * @return {?}\n     */\n    compileModuleSync(moduleType) {\n        return (/** @type {?} */ (this._delegate.compileModuleSync(moduleType)));\n    }\n    /**\n     * @template T\n     * @param {?} moduleType\n     * @return {?}\n     */\n    compileModuleAsync(moduleType) {\n        return (/** @type {?} */ (this._delegate.compileModuleAsync(moduleType)));\n    }\n    /**\n     * @template T\n     * @param {?} moduleType\n     * @return {?}\n     */\n    compileModuleAndAllComponentsSync(moduleType) {\n        /** @type {?} */\n        const result = this._delegate.compileModuleAndAllComponentsSync(moduleType);\n        return {\n            ngModuleFactory: (/** @type {?} */ (result.ngModuleFactory)),\n            componentFactories: (/** @type {?} */ (result.componentFactories)),\n        };\n    }\n    /**\n     * @template T\n     * @param {?} moduleType\n     * @return {?}\n     */\n    compileModuleAndAllComponentsAsync(moduleType) {\n        return this._delegate.compileModuleAndAllComponentsAsync(moduleType)\n            .then((/**\n         * @param {?} result\n         * @return {?}\n         */\n        (result) => ({\n            ngModuleFactory: (/** @type {?} */ (result.ngModuleFactory)),\n            componentFactories: (/** @type {?} */ (result.componentFactories)),\n        })));\n    }\n    /**\n     * @param {?} summaries\n     * @return {?}\n     */\n    loadAotSummaries(summaries) { this._delegate.loadAotSummaries(summaries); }\n    /**\n     * @param {?} ref\n     * @return {?}\n     */\n    hasAotSummary(ref) { return this._delegate.hasAotSummary(ref); }\n    /**\n     * @template T\n     * @param {?} component\n     * @return {?}\n     */\n    getComponentFactory(component) {\n        return (/** @type {?} */ (this._delegate.getComponentFactory(component)));\n    }\n    /**\n     * @return {?}\n     */\n    clearCache() { this._delegate.clearCache(); }\n    /**\n     * @param {?} type\n     * @return {?}\n     */\n    clearCacheFor(type) { this._delegate.clearCacheFor(type); }\n    /**\n     * @param {?} moduleType\n     * @return {?}\n     */\n    getModuleId(moduleType) {\n        /** @type {?} */\n        const meta = this._metadataResolver.getNgModuleMetadata(moduleType);\n        return meta && meta.id || undefined;\n    }\n}\nif (false) {}\n/**\n * A set of providers that provide `JitCompiler` and its dependencies to use for\n * template compilation.\n * @type {?}\n */\nconst COMPILER_PROVIDERS = (/** @type {?} */ ([\n    { provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"CompileReflector\"], useValue: new JitReflector() },\n    { provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"ResourceLoader\"], useValue: _NO_RESOURCE_LOADER },\n    { provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"JitSummaryResolver\"], deps: [] },\n    { provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"SummaryResolver\"], useExisting: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"JitSummaryResolver\"] },\n    { provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵConsole\"], deps: [] },\n    { provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Lexer\"], deps: [] },\n    { provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Parser\"], deps: [_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Lexer\"]] },\n    {\n        provide: baseHtmlParser,\n        useClass: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"HtmlParser\"],\n        deps: [],\n    },\n    {\n        provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"I18NHtmlParser\"],\n        useFactory: (/**\n         * @param {?} parser\n         * @param {?} translations\n         * @param {?} format\n         * @param {?} config\n         * @param {?} console\n         * @return {?}\n         */\n        (parser, translations, format, config, console) => {\n            translations = translations || '';\n            /** @type {?} */\n            const missingTranslation = translations ? (/** @type {?} */ (config.missingTranslation)) : _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"MissingTranslationStrategy\"].Ignore;\n            return new _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"I18NHtmlParser\"](parser, translations, format, missingTranslation, console);\n        }),\n        deps: [\n            baseHtmlParser,\n            [new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"](), new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"](_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"TRANSLATIONS\"])],\n            [new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"](), new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"](_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"TRANSLATIONS_FORMAT\"])],\n            [_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"CompilerConfig\"]],\n            [_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵConsole\"]],\n        ]\n    },\n    {\n        provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"HtmlParser\"],\n        useExisting: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"I18NHtmlParser\"],\n    },\n    {\n        provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"TemplateParser\"], deps: [_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"CompilerConfig\"], _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"CompileReflector\"],\n            _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Parser\"], _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"ElementSchemaRegistry\"],\n            _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"I18NHtmlParser\"], _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵConsole\"]]\n    },\n    { provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"JitEvaluator\"], useClass: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"JitEvaluator\"], deps: [] },\n    { provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"DirectiveNormalizer\"], deps: [_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"ResourceLoader\"], _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"UrlResolver\"], _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"HtmlParser\"], _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"CompilerConfig\"]] },\n    { provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"CompileMetadataResolver\"], deps: [_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"CompilerConfig\"], _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"HtmlParser\"], _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"NgModuleResolver\"],\n            _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"DirectiveResolver\"], _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"PipeResolver\"],\n            _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"SummaryResolver\"],\n            _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"ElementSchemaRegistry\"],\n            _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"DirectiveNormalizer\"], _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵConsole\"],\n            [_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"], _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"StaticSymbolCache\"]],\n            _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"CompileReflector\"],\n            [_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"], ERROR_COLLECTOR_TOKEN]] },\n    DEFAULT_PACKAGE_URL_PROVIDER,\n    { provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"StyleCompiler\"], deps: [_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"UrlResolver\"]] },\n    { provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"ViewCompiler\"], deps: [_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"CompileReflector\"]] },\n    { provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"NgModuleCompiler\"], deps: [_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"CompileReflector\"]] },\n    { provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"CompilerConfig\"], useValue: new _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"CompilerConfig\"]() },\n    { provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Compiler\"], useClass: CompilerImpl, deps: [_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injector\"], _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"CompileMetadataResolver\"],\n            _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"TemplateParser\"], _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"StyleCompiler\"],\n            _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"ViewCompiler\"], _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"NgModuleCompiler\"],\n            _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"SummaryResolver\"], _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"CompileReflector\"], _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"JitEvaluator\"], _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"CompilerConfig\"],\n            _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵConsole\"]] },\n    { provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"DomElementSchemaRegistry\"], deps: [] },\n    { provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"ElementSchemaRegistry\"], useExisting: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"DomElementSchemaRegistry\"] },\n    { provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"UrlResolver\"], deps: [_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"PACKAGE_ROOT_URL\"]] },\n    { provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"DirectiveResolver\"], deps: [_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"CompileReflector\"]] },\n    { provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"PipeResolver\"], deps: [_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"CompileReflector\"]] },\n    { provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"NgModuleResolver\"], deps: [_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"CompileReflector\"]] },\n]));\n/**\n * \\@publicApi\n */\nclass JitCompilerFactory {\n    /* @internal */\n    /**\n     * @param {?} defaultOptions\n     */\n    constructor(defaultOptions) {\n        /** @type {?} */\n        const compilerOptions = {\n            useJit: true,\n            defaultEncapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ViewEncapsulation\"].Emulated,\n            missingTranslation: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"MissingTranslationStrategy\"].Warning,\n        };\n        this._defaultOptions = [compilerOptions, ...defaultOptions];\n    }\n    /**\n     * @param {?=} options\n     * @return {?}\n     */\n    createCompiler(options = []) {\n        /** @type {?} */\n        const opts = _mergeOptions(this._defaultOptions.concat(options));\n        /** @type {?} */\n        const injector = _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injector\"].create([\n            COMPILER_PROVIDERS, {\n                provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"CompilerConfig\"],\n                useFactory: (/**\n                 * @return {?}\n                 */\n                () => {\n                    return new _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"CompilerConfig\"]({\n                        // let explicit values from the compiler options overwrite options\n                        // from the app providers\n                        useJit: opts.useJit,\n                        jitDevMode: Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"isDevMode\"])(),\n                        // let explicit values from the compiler options overwrite options\n                        // from the app providers\n                        defaultEncapsulation: opts.defaultEncapsulation,\n                        missingTranslation: opts.missingTranslation,\n                        preserveWhitespaces: opts.preserveWhitespaces,\n                    });\n                }),\n                deps: []\n            },\n            (/** @type {?} */ (opts.providers))\n        ]);\n        return injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Compiler\"]);\n    }\n}\nif (false) {}\n/**\n * @param {?} optionsArr\n * @return {?}\n */\nfunction _mergeOptions(optionsArr) {\n    return {\n        useJit: _lastDefined(optionsArr.map((/**\n         * @param {?} options\n         * @return {?}\n         */\n        options => options.useJit))),\n        defaultEncapsulation: _lastDefined(optionsArr.map((/**\n         * @param {?} options\n         * @return {?}\n         */\n        options => options.defaultEncapsulation))),\n        providers: _mergeArrays(optionsArr.map((/**\n         * @param {?} options\n         * @return {?}\n         */\n        options => (/** @type {?} */ (options.providers))))),\n        missingTranslation: _lastDefined(optionsArr.map((/**\n         * @param {?} options\n         * @return {?}\n         */\n        options => options.missingTranslation))),\n        preserveWhitespaces: _lastDefined(optionsArr.map((/**\n         * @param {?} options\n         * @return {?}\n         */\n        options => options.preserveWhitespaces))),\n    };\n}\n/**\n * @template T\n * @param {?} args\n * @return {?}\n */\nfunction _lastDefined(args) {\n    for (let i = args.length - 1; i >= 0; i--) {\n        if (args[i] !== undefined) {\n            return args[i];\n        }\n    }\n    return undefined;\n}\n/**\n * @param {?} parts\n * @return {?}\n */\nfunction _mergeArrays(parts) {\n    /** @type {?} */\n    const result = [];\n    parts.forEach((/**\n     * @param {?} part\n     * @return {?}\n     */\n    (part) => part && result.push(...part)));\n    return result;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nconst ɵ0 = {};\n/**\n * A platform that included corePlatform and the compiler.\n *\n * \\@publicApi\n * @type {?}\n */\nconst platformCoreDynamic = Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"createPlatformFactory\"])(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"platformCore\"], 'coreDynamic', [\n    { provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"COMPILER_OPTIONS\"], useValue: ɵ0, multi: true },\n    { provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"CompilerFactory\"], useClass: JitCompilerFactory, deps: [_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"COMPILER_OPTIONS\"]] },\n]);\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass ResourceLoaderImpl extends _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"ResourceLoader\"] {\n    /**\n     * @param {?} url\n     * @return {?}\n     */\n    get(url) {\n        /** @type {?} */\n        let resolve;\n        /** @type {?} */\n        let reject;\n        /** @type {?} */\n        const promise = new Promise((/**\n         * @param {?} res\n         * @param {?} rej\n         * @return {?}\n         */\n        (res, rej) => {\n            resolve = res;\n            reject = rej;\n        }));\n        /** @type {?} */\n        const xhr = new XMLHttpRequest();\n        xhr.open('GET', url, true);\n        xhr.responseType = 'text';\n        xhr.onload = (/**\n         * @return {?}\n         */\n        function () {\n            // responseText is the old-school way of retrieving response (supported by IE8 & 9)\n            // response/responseType properties were introduced in ResourceLoader Level2 spec (supported\n            // by IE10)\n            /** @type {?} */\n            const response = xhr.response || xhr.responseText;\n            // normalize IE9 bug (http://bugs.jquery.com/ticket/1450)\n            /** @type {?} */\n            let status = xhr.status === 1223 ? 204 : xhr.status;\n            // fix status code when it is 0 (0 status is undocumented).\n            // Occurs when accessing file resources or on Android 4.1 stock browser\n            // while retrieving files from application cache.\n            if (status === 0) {\n                status = response ? 200 : 0;\n            }\n            if (200 <= status && status <= 300) {\n                resolve(response);\n            }\n            else {\n                reject(`Failed to load ${url}`);\n            }\n        });\n        xhr.onerror = (/**\n         * @return {?}\n         */\n        function () { reject(`Failed to load ${url}`); });\n        xhr.send();\n        return promise;\n    }\n}\nResourceLoaderImpl.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"] }\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nconst ɵ0$1 = { providers: [{ provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"ResourceLoader\"], useClass: ResourceLoaderImpl, deps: [] }] }, ɵ1 = _angular_common__WEBPACK_IMPORTED_MODULE_2__[\"ɵPLATFORM_BROWSER_ID\"];\n/**\n * \\@publicApi\n * @type {?}\n */\nconst INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS = [\n    _angular_platform_browser__WEBPACK_IMPORTED_MODULE_3__[\"ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS\"],\n    {\n        provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"COMPILER_OPTIONS\"],\n        useValue: ɵ0$1,\n        multi: true\n    },\n    { provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"PLATFORM_ID\"], useValue: ɵ1 },\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * An implementation of ResourceLoader that uses a template cache to avoid doing an actual\n * ResourceLoader.\n *\n * The template cache needs to be built and loaded into window.$templateCache\n * via a separate mechanism.\n *\n * \\@publicApi\n */\nclass CachedResourceLoader extends _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"ResourceLoader\"] {\n    constructor() {\n        super();\n        this._cache = ((/** @type {?} */ (_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵglobal\"]))).$templateCache;\n        if (this._cache == null) {\n            throw new Error('CachedResourceLoader: Template cache was not found in $templateCache.');\n        }\n    }\n    /**\n     * @param {?} url\n     * @return {?}\n     */\n    get(url) {\n        if (this._cache.hasOwnProperty(url)) {\n            return Promise.resolve(this._cache[url]);\n        }\n        else {\n            return (/** @type {?} */ (Promise.reject('CachedResourceLoader: Did not find cached template for ' + url)));\n        }\n    }\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@publicApi\n * @type {?}\n */\nconst VERSION = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Version\"]('8.2.14');\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@publicApi\n * @type {?}\n */\nconst RESOURCE_CACHE_PROVIDER = [{ provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"ResourceLoader\"], useClass: CachedResourceLoader, deps: [] }];\n/**\n * \\@publicApi\n * @type {?}\n */\nconst platformBrowserDynamic = Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"createPlatformFactory\"])(platformCoreDynamic, 'browserDynamic', INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS);\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\n\n//# sourceMappingURL=platform-browser-dynamic.js.map\n\n\n/***/ }),\n\n/***/ \"./node_modules/@angular/platform-browser/fesm2015/animations.js\":\n/*!***********************************************************************!*\\\n  !*** ./node_modules/@angular/platform-browser/fesm2015/animations.js ***!\n  \\***********************************************************************/\n/*! exports provided: ɵangular_packages_platform_browser_animations_animations_f, ɵangular_packages_platform_browser_animations_animations_d, ɵangular_packages_platform_browser_animations_animations_e, ɵangular_packages_platform_browser_animations_animations_b, ɵangular_packages_platform_browser_animations_animations_c, ɵangular_packages_platform_browser_animations_animations_a, BrowserAnimationsModule, NoopAnimationsModule, ANIMATION_MODULE_TYPE, ɵBrowserAnimationBuilder, ɵBrowserAnimationFactory, ɵAnimationRenderer, ɵAnimationRendererFactory, ɵInjectableAnimationEngine */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_platform_browser_animations_animations_f\", function() { return BaseAnimationRenderer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_platform_browser_animations_animations_d\", function() { return BROWSER_ANIMATIONS_PROVIDERS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_platform_browser_animations_animations_e\", function() { return BROWSER_NOOP_ANIMATIONS_PROVIDERS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_platform_browser_animations_animations_b\", function() { return instantiateDefaultStyleNormalizer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_platform_browser_animations_animations_c\", function() { return instantiateRendererFactory; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_platform_browser_animations_animations_a\", function() { return instantiateSupportedAnimationDriver; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BrowserAnimationsModule\", function() { return BrowserAnimationsModule; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NoopAnimationsModule\", function() { return NoopAnimationsModule; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ANIMATION_MODULE_TYPE\", function() { return ANIMATION_MODULE_TYPE; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵBrowserAnimationBuilder\", function() { return BrowserAnimationBuilder; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵBrowserAnimationFactory\", function() { return BrowserAnimationFactory; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵAnimationRenderer\", function() { return AnimationRenderer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵAnimationRendererFactory\", function() { return AnimationRendererFactory; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵInjectableAnimationEngine\", function() { return InjectableAnimationEngine; });\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/platform-browser */ \"./node_modules/@angular/platform-browser/fesm2015/platform-browser.js\");\n/* harmony import */ var _angular_animations__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/animations */ \"./node_modules/@angular/animations/fesm2015/animations.js\");\n/* harmony import */ var _angular_animations_browser__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/animations/browser */ \"./node_modules/@angular/animations/fesm2015/browser.js\");\n/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ \"./node_modules/@angular/common/fesm2015/common.js\");\n/**\n * @license Angular v8.2.14\n * (c) 2010-2019 Google LLC. https://angular.io/\n * License: MIT\n */\n\n\n\n\n\n\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass BrowserAnimationBuilder extends _angular_animations__WEBPACK_IMPORTED_MODULE_2__[\"AnimationBuilder\"] {\n    /**\n     * @param {?} rootRenderer\n     * @param {?} doc\n     */\n    constructor(rootRenderer, doc) {\n        super();\n        this._nextAnimationId = 0;\n        /** @type {?} */\n        const typeData = (/** @type {?} */ ({\n            id: '0',\n            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ViewEncapsulation\"].None,\n            styles: [],\n            data: { animation: [] }\n        }));\n        this._renderer = (/** @type {?} */ (rootRenderer.createRenderer(doc.body, typeData)));\n    }\n    /**\n     * @param {?} animation\n     * @return {?}\n     */\n    build(animation) {\n        /** @type {?} */\n        const id = this._nextAnimationId.toString();\n        this._nextAnimationId++;\n        /** @type {?} */\n        const entry = Array.isArray(animation) ? Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__[\"sequence\"])(animation) : animation;\n        issueAnimationCommand(this._renderer, null, id, 'register', [entry]);\n        return new BrowserAnimationFactory(id, this._renderer);\n    }\n}\nBrowserAnimationBuilder.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"] }\n];\n/** @nocollapse */\nBrowserAnimationBuilder.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"RendererFactory2\"] },\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_4__[\"DOCUMENT\"],] }] }\n];\nif (false) {}\nclass BrowserAnimationFactory extends _angular_animations__WEBPACK_IMPORTED_MODULE_2__[\"AnimationFactory\"] {\n    /**\n     * @param {?} _id\n     * @param {?} _renderer\n     */\n    constructor(_id, _renderer) {\n        super();\n        this._id = _id;\n        this._renderer = _renderer;\n    }\n    /**\n     * @param {?} element\n     * @param {?=} options\n     * @return {?}\n     */\n    create(element, options) {\n        return new RendererAnimationPlayer(this._id, element, options || {}, this._renderer);\n    }\n}\nif (false) {}\nclass RendererAnimationPlayer {\n    /**\n     * @param {?} id\n     * @param {?} element\n     * @param {?} options\n     * @param {?} _renderer\n     */\n    constructor(id, element, options, _renderer) {\n        this.id = id;\n        this.element = element;\n        this._renderer = _renderer;\n        this.parentPlayer = null;\n        this._started = false;\n        this.totalTime = 0;\n        this._command('create', options);\n    }\n    /**\n     * @private\n     * @param {?} eventName\n     * @param {?} callback\n     * @return {?}\n     */\n    _listen(eventName, callback) {\n        return this._renderer.listen(this.element, `@@${this.id}:${eventName}`, callback);\n    }\n    /**\n     * @private\n     * @param {?} command\n     * @param {...?} args\n     * @return {?}\n     */\n    _command(command, ...args) {\n        return issueAnimationCommand(this._renderer, this.element, this.id, command, args);\n    }\n    /**\n     * @param {?} fn\n     * @return {?}\n     */\n    onDone(fn) { this._listen('done', fn); }\n    /**\n     * @param {?} fn\n     * @return {?}\n     */\n    onStart(fn) { this._listen('start', fn); }\n    /**\n     * @param {?} fn\n     * @return {?}\n     */\n    onDestroy(fn) { this._listen('destroy', fn); }\n    /**\n     * @return {?}\n     */\n    init() { this._command('init'); }\n    /**\n     * @return {?}\n     */\n    hasStarted() { return this._started; }\n    /**\n     * @return {?}\n     */\n    play() {\n        this._command('play');\n        this._started = true;\n    }\n    /**\n     * @return {?}\n     */\n    pause() { this._command('pause'); }\n    /**\n     * @return {?}\n     */\n    restart() { this._command('restart'); }\n    /**\n     * @return {?}\n     */\n    finish() { this._command('finish'); }\n    /**\n     * @return {?}\n     */\n    destroy() { this._command('destroy'); }\n    /**\n     * @return {?}\n     */\n    reset() { this._command('reset'); }\n    /**\n     * @param {?} p\n     * @return {?}\n     */\n    setPosition(p) { this._command('setPosition', p); }\n    /**\n     * @return {?}\n     */\n    getPosition() { return 0; }\n}\nif (false) {}\n/**\n * @param {?} renderer\n * @param {?} element\n * @param {?} id\n * @param {?} command\n * @param {?} args\n * @return {?}\n */\nfunction issueAnimationCommand(renderer, element, id, command, args) {\n    return renderer.setProperty(element, `@@${id}:${command}`, args);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst ANIMATION_PREFIX = '@';\n/** @type {?} */\nconst DISABLE_ANIMATIONS_FLAG = '@.disabled';\nclass AnimationRendererFactory {\n    /**\n     * @param {?} delegate\n     * @param {?} engine\n     * @param {?} _zone\n     */\n    constructor(delegate, engine, _zone) {\n        this.delegate = delegate;\n        this.engine = engine;\n        this._zone = _zone;\n        this._currentId = 0;\n        this._microtaskId = 1;\n        this._animationCallbacksBuffer = [];\n        this._rendererCache = new Map();\n        this._cdRecurDepth = 0;\n        this.promise = Promise.resolve(0);\n        engine.onRemovalComplete = (/**\n         * @param {?} element\n         * @param {?} delegate\n         * @return {?}\n         */\n        (element, delegate) => {\n            // Note: if an component element has a leave animation, and the component\n            // a host leave animation, the view engine will call `removeChild` for the parent\n            // component renderer as well as for the child component renderer.\n            // Therefore, we need to check if we already removed the element.\n            if (delegate && delegate.parentNode(element)) {\n                delegate.removeChild(element.parentNode, element);\n            }\n        });\n    }\n    /**\n     * @param {?} hostElement\n     * @param {?} type\n     * @return {?}\n     */\n    createRenderer(hostElement, type) {\n        /** @type {?} */\n        const EMPTY_NAMESPACE_ID = '';\n        // cache the delegates to find out which cached delegate can\n        // be used by which cached renderer\n        /** @type {?} */\n        const delegate = this.delegate.createRenderer(hostElement, type);\n        if (!hostElement || !type || !type.data || !type.data['animation']) {\n            /** @type {?} */\n            let renderer = this._rendererCache.get(delegate);\n            if (!renderer) {\n                renderer = new BaseAnimationRenderer(EMPTY_NAMESPACE_ID, delegate, this.engine);\n                // only cache this result when the base renderer is used\n                this._rendererCache.set(delegate, renderer);\n            }\n            return renderer;\n        }\n        /** @type {?} */\n        const componentId = type.id;\n        /** @type {?} */\n        const namespaceId = type.id + '-' + this._currentId;\n        this._currentId++;\n        this.engine.register(namespaceId, hostElement);\n        /** @type {?} */\n        const animationTriggers = (/** @type {?} */ (type.data['animation']));\n        animationTriggers.forEach((/**\n         * @param {?} trigger\n         * @return {?}\n         */\n        trigger => this.engine.registerTrigger(componentId, namespaceId, hostElement, trigger.name, trigger)));\n        return new AnimationRenderer(this, namespaceId, delegate, this.engine);\n    }\n    /**\n     * @return {?}\n     */\n    begin() {\n        this._cdRecurDepth++;\n        if (this.delegate.begin) {\n            this.delegate.begin();\n        }\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    _scheduleCountTask() {\n        // always use promise to schedule microtask instead of use Zone\n        this.promise.then((/**\n         * @return {?}\n         */\n        () => { this._microtaskId++; }));\n    }\n    /**\n     * \\@internal\n     * @param {?} count\n     * @param {?} fn\n     * @param {?} data\n     * @return {?}\n     */\n    scheduleListenerCallback(count, fn, data) {\n        if (count >= 0 && count < this._microtaskId) {\n            this._zone.run((/**\n             * @return {?}\n             */\n            () => fn(data)));\n            return;\n        }\n        if (this._animationCallbacksBuffer.length == 0) {\n            Promise.resolve(null).then((/**\n             * @return {?}\n             */\n            () => {\n                this._zone.run((/**\n                 * @return {?}\n                 */\n                () => {\n                    this._animationCallbacksBuffer.forEach((/**\n                     * @param {?} tuple\n                     * @return {?}\n                     */\n                    tuple => {\n                        const [fn, data] = tuple;\n                        fn(data);\n                    }));\n                    this._animationCallbacksBuffer = [];\n                }));\n            }));\n        }\n        this._animationCallbacksBuffer.push([fn, data]);\n    }\n    /**\n     * @return {?}\n     */\n    end() {\n        this._cdRecurDepth--;\n        // this is to prevent animations from running twice when an inner\n        // component does CD when a parent component instead has inserted it\n        if (this._cdRecurDepth == 0) {\n            this._zone.runOutsideAngular((/**\n             * @return {?}\n             */\n            () => {\n                this._scheduleCountTask();\n                this.engine.flush(this._microtaskId);\n            }));\n        }\n        if (this.delegate.end) {\n            this.delegate.end();\n        }\n    }\n    /**\n     * @return {?}\n     */\n    whenRenderingDone() { return this.engine.whenRenderingDone(); }\n}\nAnimationRendererFactory.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"] }\n];\n/** @nocollapse */\nAnimationRendererFactory.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"RendererFactory2\"] },\n    { type: _angular_animations_browser__WEBPACK_IMPORTED_MODULE_3__[\"ɵAnimationEngine\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgZone\"] }\n];\nif (false) {}\nclass BaseAnimationRenderer {\n    /**\n     * @param {?} namespaceId\n     * @param {?} delegate\n     * @param {?} engine\n     */\n    constructor(namespaceId, delegate, engine) {\n        this.namespaceId = namespaceId;\n        this.delegate = delegate;\n        this.engine = engine;\n        this.destroyNode = this.delegate.destroyNode ? (/**\n         * @param {?} n\n         * @return {?}\n         */\n        (n) => (/** @type {?} */ (delegate.destroyNode))(n)) : null;\n    }\n    /**\n     * @return {?}\n     */\n    get data() { return this.delegate.data; }\n    /**\n     * @return {?}\n     */\n    destroy() {\n        this.engine.destroy(this.namespaceId, this.delegate);\n        this.delegate.destroy();\n    }\n    /**\n     * @param {?} name\n     * @param {?=} namespace\n     * @return {?}\n     */\n    createElement(name, namespace) {\n        return this.delegate.createElement(name, namespace);\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    createComment(value) { return this.delegate.createComment(value); }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    createText(value) { return this.delegate.createText(value); }\n    /**\n     * @param {?} parent\n     * @param {?} newChild\n     * @return {?}\n     */\n    appendChild(parent, newChild) {\n        this.delegate.appendChild(parent, newChild);\n        this.engine.onInsert(this.namespaceId, newChild, parent, false);\n    }\n    /**\n     * @param {?} parent\n     * @param {?} newChild\n     * @param {?} refChild\n     * @return {?}\n     */\n    insertBefore(parent, newChild, refChild) {\n        this.delegate.insertBefore(parent, newChild, refChild);\n        this.engine.onInsert(this.namespaceId, newChild, parent, true);\n    }\n    /**\n     * @param {?} parent\n     * @param {?} oldChild\n     * @param {?} isHostElement\n     * @return {?}\n     */\n    removeChild(parent, oldChild, isHostElement) {\n        this.engine.onRemove(this.namespaceId, oldChild, this.delegate, isHostElement);\n    }\n    /**\n     * @param {?} selectorOrNode\n     * @param {?=} preserveContent\n     * @return {?}\n     */\n    selectRootElement(selectorOrNode, preserveContent) {\n        return this.delegate.selectRootElement(selectorOrNode, preserveContent);\n    }\n    /**\n     * @param {?} node\n     * @return {?}\n     */\n    parentNode(node) { return this.delegate.parentNode(node); }\n    /**\n     * @param {?} node\n     * @return {?}\n     */\n    nextSibling(node) { return this.delegate.nextSibling(node); }\n    /**\n     * @param {?} el\n     * @param {?} name\n     * @param {?} value\n     * @param {?=} namespace\n     * @return {?}\n     */\n    setAttribute(el, name, value, namespace) {\n        this.delegate.setAttribute(el, name, value, namespace);\n    }\n    /**\n     * @param {?} el\n     * @param {?} name\n     * @param {?=} namespace\n     * @return {?}\n     */\n    removeAttribute(el, name, namespace) {\n        this.delegate.removeAttribute(el, name, namespace);\n    }\n    /**\n     * @param {?} el\n     * @param {?} name\n     * @return {?}\n     */\n    addClass(el, name) { this.delegate.addClass(el, name); }\n    /**\n     * @param {?} el\n     * @param {?} name\n     * @return {?}\n     */\n    removeClass(el, name) { this.delegate.removeClass(el, name); }\n    /**\n     * @param {?} el\n     * @param {?} style\n     * @param {?} value\n     * @param {?=} flags\n     * @return {?}\n     */\n    setStyle(el, style, value, flags) {\n        this.delegate.setStyle(el, style, value, flags);\n    }\n    /**\n     * @param {?} el\n     * @param {?} style\n     * @param {?=} flags\n     * @return {?}\n     */\n    removeStyle(el, style, flags) {\n        this.delegate.removeStyle(el, style, flags);\n    }\n    /**\n     * @param {?} el\n     * @param {?} name\n     * @param {?} value\n     * @return {?}\n     */\n    setProperty(el, name, value) {\n        if (name.charAt(0) == ANIMATION_PREFIX && name == DISABLE_ANIMATIONS_FLAG) {\n            this.disableAnimations(el, !!value);\n        }\n        else {\n            this.delegate.setProperty(el, name, value);\n        }\n    }\n    /**\n     * @param {?} node\n     * @param {?} value\n     * @return {?}\n     */\n    setValue(node, value) { this.delegate.setValue(node, value); }\n    /**\n     * @param {?} target\n     * @param {?} eventName\n     * @param {?} callback\n     * @return {?}\n     */\n    listen(target, eventName, callback) {\n        return this.delegate.listen(target, eventName, callback);\n    }\n    /**\n     * @protected\n     * @param {?} element\n     * @param {?} value\n     * @return {?}\n     */\n    disableAnimations(element, value) {\n        this.engine.disableAnimations(element, value);\n    }\n}\nif (false) {}\nclass AnimationRenderer extends BaseAnimationRenderer {\n    /**\n     * @param {?} factory\n     * @param {?} namespaceId\n     * @param {?} delegate\n     * @param {?} engine\n     */\n    constructor(factory, namespaceId, delegate, engine) {\n        super(namespaceId, delegate, engine);\n        this.factory = factory;\n        this.namespaceId = namespaceId;\n    }\n    /**\n     * @param {?} el\n     * @param {?} name\n     * @param {?} value\n     * @return {?}\n     */\n    setProperty(el, name, value) {\n        if (name.charAt(0) == ANIMATION_PREFIX) {\n            if (name.charAt(1) == '.' && name == DISABLE_ANIMATIONS_FLAG) {\n                value = value === undefined ? true : !!value;\n                this.disableAnimations(el, (/** @type {?} */ (value)));\n            }\n            else {\n                this.engine.process(this.namespaceId, el, name.substr(1), value);\n            }\n        }\n        else {\n            this.delegate.setProperty(el, name, value);\n        }\n    }\n    /**\n     * @param {?} target\n     * @param {?} eventName\n     * @param {?} callback\n     * @return {?}\n     */\n    listen(target, eventName, callback) {\n        if (eventName.charAt(0) == ANIMATION_PREFIX) {\n            /** @type {?} */\n            const element = resolveElementFromTarget(target);\n            /** @type {?} */\n            let name = eventName.substr(1);\n            /** @type {?} */\n            let phase = '';\n            // @listener.phase is for trigger animation callbacks\n            // @@listener is for animation builder callbacks\n            if (name.charAt(0) != ANIMATION_PREFIX) {\n                [name, phase] = parseTriggerCallbackName(name);\n            }\n            return this.engine.listen(this.namespaceId, element, name, phase, (/**\n             * @param {?} event\n             * @return {?}\n             */\n            event => {\n                /** @type {?} */\n                const countId = ((/** @type {?} */ (event)))['_data'] || -1;\n                this.factory.scheduleListenerCallback(countId, callback, event);\n            }));\n        }\n        return this.delegate.listen(target, eventName, callback);\n    }\n}\nif (false) {}\n/**\n * @param {?} target\n * @return {?}\n */\nfunction resolveElementFromTarget(target) {\n    switch (target) {\n        case 'body':\n            return document.body;\n        case 'document':\n            return document;\n        case 'window':\n            return window;\n        default:\n            return target;\n    }\n}\n/**\n * @param {?} triggerName\n * @return {?}\n */\nfunction parseTriggerCallbackName(triggerName) {\n    /** @type {?} */\n    const dotIndex = triggerName.indexOf('.');\n    /** @type {?} */\n    const trigger = triggerName.substring(0, dotIndex);\n    /** @type {?} */\n    const phase = triggerName.substr(dotIndex + 1);\n    return [trigger, phase];\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass InjectableAnimationEngine extends _angular_animations_browser__WEBPACK_IMPORTED_MODULE_3__[\"ɵAnimationEngine\"] {\n    /**\n     * @param {?} doc\n     * @param {?} driver\n     * @param {?} normalizer\n     */\n    constructor(doc, driver, normalizer) {\n        super(doc.body, driver, normalizer);\n    }\n}\nInjectableAnimationEngine.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"] }\n];\n/** @nocollapse */\nInjectableAnimationEngine.ctorParameters = () => [\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_4__[\"DOCUMENT\"],] }] },\n    { type: _angular_animations_browser__WEBPACK_IMPORTED_MODULE_3__[\"AnimationDriver\"] },\n    { type: _angular_animations_browser__WEBPACK_IMPORTED_MODULE_3__[\"ɵAnimationStyleNormalizer\"] }\n];\n/**\n * @return {?}\n */\nfunction instantiateSupportedAnimationDriver() {\n    return Object(_angular_animations_browser__WEBPACK_IMPORTED_MODULE_3__[\"ɵsupportsWebAnimations\"])() ? new _angular_animations_browser__WEBPACK_IMPORTED_MODULE_3__[\"ɵWebAnimationsDriver\"]() : new _angular_animations_browser__WEBPACK_IMPORTED_MODULE_3__[\"ɵCssKeyframesDriver\"]();\n}\n/**\n * @return {?}\n */\nfunction instantiateDefaultStyleNormalizer() {\n    return new _angular_animations_browser__WEBPACK_IMPORTED_MODULE_3__[\"ɵWebAnimationsStyleNormalizer\"]();\n}\n/**\n * @param {?} renderer\n * @param {?} engine\n * @param {?} zone\n * @return {?}\n */\nfunction instantiateRendererFactory(renderer, engine, zone) {\n    return new AnimationRendererFactory(renderer, engine, zone);\n}\n/**\n * \\@publicApi\n * @type {?}\n */\nconst ANIMATION_MODULE_TYPE = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('AnimationModuleType');\n/** @type {?} */\nconst SHARED_ANIMATION_PROVIDERS = [\n    { provide: _angular_animations__WEBPACK_IMPORTED_MODULE_2__[\"AnimationBuilder\"], useClass: BrowserAnimationBuilder },\n    { provide: _angular_animations_browser__WEBPACK_IMPORTED_MODULE_3__[\"ɵAnimationStyleNormalizer\"], useFactory: instantiateDefaultStyleNormalizer },\n    { provide: _angular_animations_browser__WEBPACK_IMPORTED_MODULE_3__[\"ɵAnimationEngine\"], useClass: InjectableAnimationEngine }, {\n        provide: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"RendererFactory2\"],\n        useFactory: instantiateRendererFactory,\n        deps: [_angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__[\"ɵDomRendererFactory2\"], _angular_animations_browser__WEBPACK_IMPORTED_MODULE_3__[\"ɵAnimationEngine\"], _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgZone\"]]\n    }\n];\n/**\n * Separate providers from the actual module so that we can do a local modification in Google3 to\n * include them in the BrowserModule.\n * @type {?}\n */\nconst BROWSER_ANIMATIONS_PROVIDERS = [\n    { provide: _angular_animations_browser__WEBPACK_IMPORTED_MODULE_3__[\"AnimationDriver\"], useFactory: instantiateSupportedAnimationDriver },\n    { provide: ANIMATION_MODULE_TYPE, useValue: 'BrowserAnimations' }, ...SHARED_ANIMATION_PROVIDERS\n];\n/**\n * Separate providers from the actual module so that we can do a local modification in Google3 to\n * include them in the BrowserTestingModule.\n * @type {?}\n */\nconst BROWSER_NOOP_ANIMATIONS_PROVIDERS = [\n    { provide: _angular_animations_browser__WEBPACK_IMPORTED_MODULE_3__[\"AnimationDriver\"], useClass: _angular_animations_browser__WEBPACK_IMPORTED_MODULE_3__[\"ɵNoopAnimationDriver\"] },\n    { provide: ANIMATION_MODULE_TYPE, useValue: 'NoopAnimations' }, ...SHARED_ANIMATION_PROVIDERS\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Exports `BrowserModule` with additional [dependency-injection providers](guide/glossary#provider)\n * for use with animations. See [Animations](guide/animations).\n * \\@publicApi\n */\nclass BrowserAnimationsModule {\n}\nBrowserAnimationsModule.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"], args: [{\n                exports: [_angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__[\"BrowserModule\"]],\n                providers: BROWSER_ANIMATIONS_PROVIDERS,\n            },] }\n];\n/**\n * A null player that must be imported to allow disabling of animations.\n * \\@publicApi\n */\nclass NoopAnimationsModule {\n}\nNoopAnimationsModule.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"], args: [{\n                exports: [_angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__[\"BrowserModule\"]],\n                providers: BROWSER_NOOP_ANIMATIONS_PROVIDERS,\n            },] }\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\n\n//# sourceMappingURL=animations.js.map\n\n\n/***/ }),\n\n/***/ \"./node_modules/@angular/platform-browser/fesm2015/platform-browser.js\":\n/*!*****************************************************************************!*\\\n  !*** ./node_modules/@angular/platform-browser/fesm2015/platform-browser.js ***!\n  \\*****************************************************************************/\n/*! exports provided: ɵangular_packages_platform_browser_platform_browser_c, ɵangular_packages_platform_browser_platform_browser_b, ɵangular_packages_platform_browser_platform_browser_a, ɵangular_packages_platform_browser_platform_browser_l, ɵangular_packages_platform_browser_platform_browser_d, ɵangular_packages_platform_browser_platform_browser_i, ɵangular_packages_platform_browser_platform_browser_h, ɵangular_packages_platform_browser_platform_browser_e, ɵangular_packages_platform_browser_platform_browser_f, ɵangular_packages_platform_browser_platform_browser_k, ɵangular_packages_platform_browser_platform_browser_j, ɵangular_packages_platform_browser_platform_browser_g, BrowserModule, platformBrowser, Meta, Title, disableDebugTools, enableDebugTools, BrowserTransferStateModule, TransferState, makeStateKey, By, EVENT_MANAGER_PLUGINS, EventManager, HAMMER_GESTURE_CONFIG, HAMMER_LOADER, HammerGestureConfig, DomSanitizer, VERSION, ɵELEMENT_PROBE_PROVIDERS__POST_R3__, ɵBROWSER_SANITIZATION_PROVIDERS, ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS, ɵinitDomAdapter, ɵBrowserDomAdapter, ɵBrowserPlatformLocation, ɵTRANSITION_ID, ɵBrowserGetTestability, ɵescapeHtml, ɵELEMENT_PROBE_PROVIDERS, ɵDomAdapter, ɵgetDOM, ɵsetRootDomAdapter, ɵDomRendererFactory2, ɵNAMESPACE_URIS, ɵflattenStyles, ɵshimContentAttribute, ɵshimHostAttribute, ɵDomEventsPlugin, ɵHammerGesturesPlugin, ɵKeyEventsPlugin, ɵDomSharedStylesHost, ɵSharedStylesHost, ɵDomSanitizerImpl */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_platform_browser_platform_browser_c\", function() { return BROWSER_MODULE_PROVIDERS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_platform_browser_platform_browser_b\", function() { return _document; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_platform_browser_platform_browser_a\", function() { return errorHandler; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_platform_browser_platform_browser_l\", function() { return GenericBrowserDomAdapter; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_platform_browser_platform_browser_d\", function() { return createMeta; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_platform_browser_platform_browser_i\", function() { return SERVER_TRANSITION_PROVIDERS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_platform_browser_platform_browser_h\", function() { return appInitializerFactory; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_platform_browser_platform_browser_e\", function() { return createTitle; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_platform_browser_platform_browser_f\", function() { return initTransferState; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_platform_browser_platform_browser_k\", function() { return ELEMENT_PROBE_PROVIDERS__PRE_R3__; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_platform_browser_platform_browser_j\", function() { return _createNgProbe; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_platform_browser_platform_browser_g\", function() { return EventManagerPlugin; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BrowserModule\", function() { return BrowserModule; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"platformBrowser\", function() { return platformBrowser; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Meta\", function() { return Meta; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Title\", function() { return Title; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"disableDebugTools\", function() { return disableDebugTools; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"enableDebugTools\", function() { return enableDebugTools; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BrowserTransferStateModule\", function() { return BrowserTransferStateModule; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TransferState\", function() { return TransferState; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"makeStateKey\", function() { return makeStateKey; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"By\", function() { return By; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"EVENT_MANAGER_PLUGINS\", function() { return EVENT_MANAGER_PLUGINS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"EventManager\", function() { return EventManager; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"HAMMER_GESTURE_CONFIG\", function() { return HAMMER_GESTURE_CONFIG; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"HAMMER_LOADER\", function() { return HAMMER_LOADER; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"HammerGestureConfig\", function() { return HammerGestureConfig; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DomSanitizer\", function() { return DomSanitizer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VERSION\", function() { return VERSION; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵELEMENT_PROBE_PROVIDERS__POST_R3__\", function() { return ELEMENT_PROBE_PROVIDERS__POST_R3__; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵBROWSER_SANITIZATION_PROVIDERS\", function() { return BROWSER_SANITIZATION_PROVIDERS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS\", function() { return INTERNAL_BROWSER_PLATFORM_PROVIDERS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵinitDomAdapter\", function() { return initDomAdapter; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵBrowserDomAdapter\", function() { return BrowserDomAdapter; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵBrowserPlatformLocation\", function() { return BrowserPlatformLocation; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵTRANSITION_ID\", function() { return TRANSITION_ID; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵBrowserGetTestability\", function() { return BrowserGetTestability; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵescapeHtml\", function() { return escapeHtml; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵELEMENT_PROBE_PROVIDERS\", function() { return ELEMENT_PROBE_PROVIDERS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵDomAdapter\", function() { return DomAdapter; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵgetDOM\", function() { return getDOM; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵsetRootDomAdapter\", function() { return setRootDomAdapter; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵDomRendererFactory2\", function() { return DomRendererFactory2; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵNAMESPACE_URIS\", function() { return NAMESPACE_URIS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵflattenStyles\", function() { return flattenStyles; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵshimContentAttribute\", function() { return shimContentAttribute; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵshimHostAttribute\", function() { return shimHostAttribute; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵDomEventsPlugin\", function() { return DomEventsPlugin; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵHammerGesturesPlugin\", function() { return HammerGesturesPlugin; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵKeyEventsPlugin\", function() { return KeyEventsPlugin; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵDomSharedStylesHost\", function() { return DomSharedStylesHost; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵSharedStylesHost\", function() { return SharedStylesHost; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵDomSanitizerImpl\", function() { return DomSanitizerImpl; });\n/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/common */ \"./node_modules/@angular/common/fesm2015/common.js\");\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/**\n * @license Angular v8.2.14\n * (c) 2010-2019 Google LLC. https://angular.io/\n * License: MIT\n */\n\n\n\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** @type {?} */\nlet _DOM = (/** @type {?} */ (null));\n/**\n * @return {?}\n */\nfunction getDOM() {\n    return _DOM;\n}\n/**\n * @param {?} adapter\n * @return {?}\n */\nfunction setDOM(adapter) {\n    _DOM = adapter;\n}\n/**\n * @param {?} adapter\n * @return {?}\n */\nfunction setRootDomAdapter(adapter) {\n    if (!_DOM) {\n        _DOM = adapter;\n    }\n}\n/* tslint:disable:requireParameterType */\n/**\n * Provides DOM operations in an environment-agnostic way.\n *\n * \\@security Tread carefully! Interacting with the DOM directly is dangerous and\n * can introduce XSS risks.\n * @abstract\n */\nclass DomAdapter {\n    constructor() {\n        this.resourceLoaderType = (/** @type {?} */ (null));\n    }\n    /**\n     * Maps attribute names to their corresponding property names for cases\n     * where attribute name doesn't match property name.\n     * @return {?}\n     */\n    get attrToPropMap() { return this._attrToPropMap; }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    set attrToPropMap(value) { this._attrToPropMap = value; }\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Provides DOM operations in any browser environment.\n *\n * \\@security Tread carefully! Interacting with the DOM directly is dangerous and\n * can introduce XSS risks.\n * @abstract\n */\nclass GenericBrowserDomAdapter extends DomAdapter {\n    constructor() {\n        super();\n        this._animationPrefix = null;\n        this._transitionEnd = null;\n        try {\n            /** @type {?} */\n            const element = this.createElement('div', document);\n            if (this.getStyle(element, 'animationName') != null) {\n                this._animationPrefix = '';\n            }\n            else {\n                /** @type {?} */\n                const domPrefixes = ['Webkit', 'Moz', 'O', 'ms'];\n                for (let i = 0; i < domPrefixes.length; i++) {\n                    if (this.getStyle(element, domPrefixes[i] + 'AnimationName') != null) {\n                        this._animationPrefix = '-' + domPrefixes[i].toLowerCase() + '-';\n                        break;\n                    }\n                }\n            }\n            /** @type {?} */\n            const transEndEventNames = {\n                WebkitTransition: 'webkitTransitionEnd',\n                MozTransition: 'transitionend',\n                OTransition: 'oTransitionEnd otransitionend',\n                transition: 'transitionend'\n            };\n            Object.keys(transEndEventNames).forEach((/**\n             * @param {?} key\n             * @return {?}\n             */\n            (key) => {\n                if (this.getStyle(element, key) != null) {\n                    this._transitionEnd = transEndEventNames[key];\n                }\n            }));\n        }\n        catch (_a) {\n            this._animationPrefix = null;\n            this._transitionEnd = null;\n        }\n    }\n    /**\n     * @param {?} el\n     * @return {?}\n     */\n    getDistributedNodes(el) { return ((/** @type {?} */ (el))).getDistributedNodes(); }\n    /**\n     * @param {?} el\n     * @param {?} baseUrl\n     * @param {?} href\n     * @return {?}\n     */\n    resolveAndSetHref(el, baseUrl, href) {\n        el.href = href == null ? baseUrl : baseUrl + '/../' + href;\n    }\n    /**\n     * @return {?}\n     */\n    supportsDOMEvents() { return true; }\n    /**\n     * @return {?}\n     */\n    supportsNativeShadowDOM() {\n        return typeof ((/** @type {?} */ (document.body))).createShadowRoot === 'function';\n    }\n    /**\n     * @return {?}\n     */\n    getAnimationPrefix() { return this._animationPrefix ? this._animationPrefix : ''; }\n    /**\n     * @return {?}\n     */\n    getTransitionEnd() { return this._transitionEnd ? this._transitionEnd : ''; }\n    /**\n     * @return {?}\n     */\n    supportsAnimation() {\n        return this._animationPrefix != null && this._transitionEnd != null;\n    }\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst _attrToPropMap = {\n    'class': 'className',\n    'innerHtml': 'innerHTML',\n    'readonly': 'readOnly',\n    'tabindex': 'tabIndex',\n};\n/** @type {?} */\nconst DOM_KEY_LOCATION_NUMPAD = 3;\n// Map to convert some key or keyIdentifier values to what will be returned by getEventKey\n/** @type {?} */\nconst _keyMap = {\n    // The following values are here for cross-browser compatibility and to match the W3C standard\n    // cf http://www.w3.org/TR/DOM-Level-3-Events-key/\n    '\\b': 'Backspace',\n    '\\t': 'Tab',\n    '\\x7F': 'Delete',\n    '\\x1B': 'Escape',\n    'Del': 'Delete',\n    'Esc': 'Escape',\n    'Left': 'ArrowLeft',\n    'Right': 'ArrowRight',\n    'Up': 'ArrowUp',\n    'Down': 'ArrowDown',\n    'Menu': 'ContextMenu',\n    'Scroll': 'ScrollLock',\n    'Win': 'OS'\n};\n// There is a bug in Chrome for numeric keypad keys:\n// https://code.google.com/p/chromium/issues/detail?id=155654\n// 1, 2, 3 ... are reported as A, B, C ...\n/** @type {?} */\nconst _chromeNumKeyPadMap = {\n    'A': '1',\n    'B': '2',\n    'C': '3',\n    'D': '4',\n    'E': '5',\n    'F': '6',\n    'G': '7',\n    'H': '8',\n    'I': '9',\n    'J': '*',\n    'K': '+',\n    'M': '-',\n    'N': '.',\n    'O': '/',\n    '\\x60': '0',\n    '\\x90': 'NumLock'\n};\nconst ɵ0 = /**\n * @return {?}\n */\n() => {\n    if (_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵglobal\"]['Node']) {\n        return _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵglobal\"]['Node'].prototype.contains || (/**\n         * @this {?}\n         * @param {?} node\n         * @return {?}\n         */\n        function (node) {\n            return !!(this.compareDocumentPosition(node) & 16);\n        });\n    }\n    return (/** @type {?} */ (undefined));\n};\n/** @type {?} */\nconst nodeContains = ((ɵ0))();\n/**\n * A `DomAdapter` powered by full browser DOM APIs.\n *\n * \\@security Tread carefully! Interacting with the DOM directly is dangerous and\n * can introduce XSS risks.\n */\n/* tslint:disable:requireParameterType no-console */\nclass BrowserDomAdapter extends GenericBrowserDomAdapter {\n    /**\n     * @param {?} templateHtml\n     * @return {?}\n     */\n    parse(templateHtml) { throw new Error('parse not implemented'); }\n    /**\n     * @return {?}\n     */\n    static makeCurrent() { setRootDomAdapter(new BrowserDomAdapter()); }\n    /**\n     * @param {?} element\n     * @param {?} name\n     * @return {?}\n     */\n    hasProperty(element, name) { return name in element; }\n    /**\n     * @param {?} el\n     * @param {?} name\n     * @param {?} value\n     * @return {?}\n     */\n    setProperty(el, name, value) { ((/** @type {?} */ (el)))[name] = value; }\n    /**\n     * @param {?} el\n     * @param {?} name\n     * @return {?}\n     */\n    getProperty(el, name) { return ((/** @type {?} */ (el)))[name]; }\n    /**\n     * @param {?} el\n     * @param {?} methodName\n     * @param {?} args\n     * @return {?}\n     */\n    invoke(el, methodName, args) { ((/** @type {?} */ (el)))[methodName](...args); }\n    // TODO(tbosch): move this into a separate environment class once we have it\n    /**\n     * @param {?} error\n     * @return {?}\n     */\n    logError(error) {\n        if (window.console) {\n            if (console.error) {\n                console.error(error);\n            }\n            else {\n                console.log(error);\n            }\n        }\n    }\n    /**\n     * @param {?} error\n     * @return {?}\n     */\n    log(error) {\n        if (window.console) {\n            window.console.log && window.console.log(error);\n        }\n    }\n    /**\n     * @param {?} error\n     * @return {?}\n     */\n    logGroup(error) {\n        if (window.console) {\n            window.console.group && window.console.group(error);\n        }\n    }\n    /**\n     * @return {?}\n     */\n    logGroupEnd() {\n        if (window.console) {\n            window.console.groupEnd && window.console.groupEnd();\n        }\n    }\n    /**\n     * @return {?}\n     */\n    get attrToPropMap() { return _attrToPropMap; }\n    /**\n     * @param {?} nodeA\n     * @param {?} nodeB\n     * @return {?}\n     */\n    contains(nodeA, nodeB) { return nodeContains.call(nodeA, nodeB); }\n    /**\n     * @param {?} el\n     * @param {?} selector\n     * @return {?}\n     */\n    querySelector(el, selector) { return el.querySelector(selector); }\n    /**\n     * @param {?} el\n     * @param {?} selector\n     * @return {?}\n     */\n    querySelectorAll(el, selector) { return el.querySelectorAll(selector); }\n    /**\n     * @param {?} el\n     * @param {?} evt\n     * @param {?} listener\n     * @return {?}\n     */\n    on(el, evt, listener) { el.addEventListener(evt, listener, false); }\n    /**\n     * @param {?} el\n     * @param {?} evt\n     * @param {?} listener\n     * @return {?}\n     */\n    onAndCancel(el, evt, listener) {\n        el.addEventListener(evt, listener, false);\n        // Needed to follow Dart's subscription semantic, until fix of\n        // https://code.google.com/p/dart/issues/detail?id=17406\n        return (/**\n         * @return {?}\n         */\n        () => { el.removeEventListener(evt, listener, false); });\n    }\n    /**\n     * @param {?} el\n     * @param {?} evt\n     * @return {?}\n     */\n    dispatchEvent(el, evt) { el.dispatchEvent(evt); }\n    /**\n     * @param {?} eventType\n     * @return {?}\n     */\n    createMouseEvent(eventType) {\n        /** @type {?} */\n        const evt = this.getDefaultDocument().createEvent('MouseEvent');\n        evt.initEvent(eventType, true, true);\n        return evt;\n    }\n    /**\n     * @param {?} eventType\n     * @return {?}\n     */\n    createEvent(eventType) {\n        /** @type {?} */\n        const evt = this.getDefaultDocument().createEvent('Event');\n        evt.initEvent(eventType, true, true);\n        return evt;\n    }\n    /**\n     * @param {?} evt\n     * @return {?}\n     */\n    preventDefault(evt) {\n        evt.preventDefault();\n        evt.returnValue = false;\n    }\n    /**\n     * @param {?} evt\n     * @return {?}\n     */\n    isPrevented(evt) {\n        return evt.defaultPrevented || evt.returnValue != null && !evt.returnValue;\n    }\n    /**\n     * @param {?} el\n     * @return {?}\n     */\n    getInnerHTML(el) { return el.innerHTML; }\n    /**\n     * @param {?} el\n     * @return {?}\n     */\n    getTemplateContent(el) {\n        return 'content' in el && this.isTemplateElement(el) ? ((/** @type {?} */ (el))).content : null;\n    }\n    /**\n     * @param {?} el\n     * @return {?}\n     */\n    getOuterHTML(el) { return el.outerHTML; }\n    /**\n     * @param {?} node\n     * @return {?}\n     */\n    nodeName(node) { return node.nodeName; }\n    /**\n     * @param {?} node\n     * @return {?}\n     */\n    nodeValue(node) { return node.nodeValue; }\n    /**\n     * @param {?} node\n     * @return {?}\n     */\n    type(node) { return node.type; }\n    /**\n     * @param {?} node\n     * @return {?}\n     */\n    content(node) {\n        if (this.hasProperty(node, 'content')) {\n            return ((/** @type {?} */ (node))).content;\n        }\n        else {\n            return node;\n        }\n    }\n    /**\n     * @param {?} el\n     * @return {?}\n     */\n    firstChild(el) { return el.firstChild; }\n    /**\n     * @param {?} el\n     * @return {?}\n     */\n    nextSibling(el) { return el.nextSibling; }\n    /**\n     * @param {?} el\n     * @return {?}\n     */\n    parentElement(el) { return el.parentNode; }\n    /**\n     * @param {?} el\n     * @return {?}\n     */\n    childNodes(el) { return el.childNodes; }\n    /**\n     * @param {?} el\n     * @return {?}\n     */\n    childNodesAsList(el) {\n        /** @type {?} */\n        const childNodes = el.childNodes;\n        /** @type {?} */\n        const res = new Array(childNodes.length);\n        for (let i = 0; i < childNodes.length; i++) {\n            res[i] = childNodes[i];\n        }\n        return res;\n    }\n    /**\n     * @param {?} el\n     * @return {?}\n     */\n    clearNodes(el) {\n        while (el.firstChild) {\n            el.removeChild(el.firstChild);\n        }\n    }\n    /**\n     * @param {?} el\n     * @param {?} node\n     * @return {?}\n     */\n    appendChild(el, node) { el.appendChild(node); }\n    /**\n     * @param {?} el\n     * @param {?} node\n     * @return {?}\n     */\n    removeChild(el, node) { el.removeChild(node); }\n    /**\n     * @param {?} el\n     * @param {?} newChild\n     * @param {?} oldChild\n     * @return {?}\n     */\n    replaceChild(el, newChild, oldChild) { el.replaceChild(newChild, oldChild); }\n    /**\n     * @param {?} node\n     * @return {?}\n     */\n    remove(node) {\n        if (node.parentNode) {\n            node.parentNode.removeChild(node);\n        }\n        return node;\n    }\n    /**\n     * @param {?} parent\n     * @param {?} ref\n     * @param {?} node\n     * @return {?}\n     */\n    insertBefore(parent, ref, node) { parent.insertBefore(node, ref); }\n    /**\n     * @param {?} parent\n     * @param {?} ref\n     * @param {?} nodes\n     * @return {?}\n     */\n    insertAllBefore(parent, ref, nodes) {\n        nodes.forEach((/**\n         * @param {?} n\n         * @return {?}\n         */\n        (n) => parent.insertBefore(n, ref)));\n    }\n    /**\n     * @param {?} parent\n     * @param {?} ref\n     * @param {?} node\n     * @return {?}\n     */\n    insertAfter(parent, ref, node) { parent.insertBefore(node, ref.nextSibling); }\n    /**\n     * @param {?} el\n     * @param {?} value\n     * @return {?}\n     */\n    setInnerHTML(el, value) { el.innerHTML = value; }\n    /**\n     * @param {?} el\n     * @return {?}\n     */\n    getText(el) { return el.textContent; }\n    /**\n     * @param {?} el\n     * @param {?} value\n     * @return {?}\n     */\n    setText(el, value) { el.textContent = value; }\n    /**\n     * @param {?} el\n     * @return {?}\n     */\n    getValue(el) { return el.value; }\n    /**\n     * @param {?} el\n     * @param {?} value\n     * @return {?}\n     */\n    setValue(el, value) { el.value = value; }\n    /**\n     * @param {?} el\n     * @return {?}\n     */\n    getChecked(el) { return el.checked; }\n    /**\n     * @param {?} el\n     * @param {?} value\n     * @return {?}\n     */\n    setChecked(el, value) { el.checked = value; }\n    /**\n     * @param {?} text\n     * @return {?}\n     */\n    createComment(text) { return this.getDefaultDocument().createComment(text); }\n    /**\n     * @param {?} html\n     * @return {?}\n     */\n    createTemplate(html) {\n        /** @type {?} */\n        const t = this.getDefaultDocument().createElement('template');\n        t.innerHTML = html;\n        return t;\n    }\n    /**\n     * @param {?} tagName\n     * @param {?=} doc\n     * @return {?}\n     */\n    createElement(tagName, doc) {\n        doc = doc || this.getDefaultDocument();\n        return doc.createElement(tagName);\n    }\n    /**\n     * @param {?} ns\n     * @param {?} tagName\n     * @param {?=} doc\n     * @return {?}\n     */\n    createElementNS(ns, tagName, doc) {\n        doc = doc || this.getDefaultDocument();\n        return doc.createElementNS(ns, tagName);\n    }\n    /**\n     * @param {?} text\n     * @param {?=} doc\n     * @return {?}\n     */\n    createTextNode(text, doc) {\n        doc = doc || this.getDefaultDocument();\n        return doc.createTextNode(text);\n    }\n    /**\n     * @param {?} attrName\n     * @param {?} attrValue\n     * @param {?=} doc\n     * @return {?}\n     */\n    createScriptTag(attrName, attrValue, doc) {\n        doc = doc || this.getDefaultDocument();\n        /** @type {?} */\n        const el = (/** @type {?} */ (doc.createElement('SCRIPT')));\n        el.setAttribute(attrName, attrValue);\n        return el;\n    }\n    /**\n     * @param {?} css\n     * @param {?=} doc\n     * @return {?}\n     */\n    createStyleElement(css, doc) {\n        doc = doc || this.getDefaultDocument();\n        /** @type {?} */\n        const style = (/** @type {?} */ (doc.createElement('style')));\n        this.appendChild(style, this.createTextNode(css, doc));\n        return style;\n    }\n    /**\n     * @param {?} el\n     * @return {?}\n     */\n    createShadowRoot(el) { return ((/** @type {?} */ (el))).createShadowRoot(); }\n    /**\n     * @param {?} el\n     * @return {?}\n     */\n    getShadowRoot(el) { return ((/** @type {?} */ (el))).shadowRoot; }\n    /**\n     * @param {?} el\n     * @return {?}\n     */\n    getHost(el) { return ((/** @type {?} */ (el))).host; }\n    /**\n     * @param {?} node\n     * @return {?}\n     */\n    clone(node) { return node.cloneNode(true); }\n    /**\n     * @param {?} element\n     * @param {?} name\n     * @return {?}\n     */\n    getElementsByClassName(element, name) {\n        return element.getElementsByClassName(name);\n    }\n    /**\n     * @param {?} element\n     * @param {?} name\n     * @return {?}\n     */\n    getElementsByTagName(element, name) {\n        return element.getElementsByTagName(name);\n    }\n    /**\n     * @param {?} element\n     * @return {?}\n     */\n    classList(element) { return Array.prototype.slice.call(element.classList, 0); }\n    /**\n     * @param {?} element\n     * @param {?} className\n     * @return {?}\n     */\n    addClass(element, className) { element.classList.add(className); }\n    /**\n     * @param {?} element\n     * @param {?} className\n     * @return {?}\n     */\n    removeClass(element, className) { element.classList.remove(className); }\n    /**\n     * @param {?} element\n     * @param {?} className\n     * @return {?}\n     */\n    hasClass(element, className) {\n        return element.classList.contains(className);\n    }\n    /**\n     * @param {?} element\n     * @param {?} styleName\n     * @param {?} styleValue\n     * @return {?}\n     */\n    setStyle(element, styleName, styleValue) {\n        element.style[styleName] = styleValue;\n    }\n    /**\n     * @param {?} element\n     * @param {?} stylename\n     * @return {?}\n     */\n    removeStyle(element, stylename) {\n        // IE requires '' instead of null\n        // see https://github.com/angular/angular/issues/7916\n        element.style[stylename] = '';\n    }\n    /**\n     * @param {?} element\n     * @param {?} stylename\n     * @return {?}\n     */\n    getStyle(element, stylename) { return element.style[stylename]; }\n    /**\n     * @param {?} element\n     * @param {?} styleName\n     * @param {?=} styleValue\n     * @return {?}\n     */\n    hasStyle(element, styleName, styleValue) {\n        /** @type {?} */\n        const value = this.getStyle(element, styleName) || '';\n        return styleValue ? value == styleValue : value.length > 0;\n    }\n    /**\n     * @param {?} element\n     * @return {?}\n     */\n    tagName(element) { return element.tagName; }\n    /**\n     * @param {?} element\n     * @return {?}\n     */\n    attributeMap(element) {\n        /** @type {?} */\n        const res = new Map();\n        /** @type {?} */\n        const elAttrs = element.attributes;\n        for (let i = 0; i < elAttrs.length; i++) {\n            /** @type {?} */\n            const attrib = elAttrs.item(i);\n            res.set(attrib.name, attrib.value);\n        }\n        return res;\n    }\n    /**\n     * @param {?} element\n     * @param {?} attribute\n     * @return {?}\n     */\n    hasAttribute(element, attribute) {\n        return element.hasAttribute(attribute);\n    }\n    /**\n     * @param {?} element\n     * @param {?} ns\n     * @param {?} attribute\n     * @return {?}\n     */\n    hasAttributeNS(element, ns, attribute) {\n        return element.hasAttributeNS(ns, attribute);\n    }\n    /**\n     * @param {?} element\n     * @param {?} attribute\n     * @return {?}\n     */\n    getAttribute(element, attribute) {\n        return element.getAttribute(attribute);\n    }\n    /**\n     * @param {?} element\n     * @param {?} ns\n     * @param {?} name\n     * @return {?}\n     */\n    getAttributeNS(element, ns, name) {\n        return element.getAttributeNS(ns, name);\n    }\n    /**\n     * @param {?} element\n     * @param {?} name\n     * @param {?} value\n     * @return {?}\n     */\n    setAttribute(element, name, value) { element.setAttribute(name, value); }\n    /**\n     * @param {?} element\n     * @param {?} ns\n     * @param {?} name\n     * @param {?} value\n     * @return {?}\n     */\n    setAttributeNS(element, ns, name, value) {\n        element.setAttributeNS(ns, name, value);\n    }\n    /**\n     * @param {?} element\n     * @param {?} attribute\n     * @return {?}\n     */\n    removeAttribute(element, attribute) { element.removeAttribute(attribute); }\n    /**\n     * @param {?} element\n     * @param {?} ns\n     * @param {?} name\n     * @return {?}\n     */\n    removeAttributeNS(element, ns, name) {\n        element.removeAttributeNS(ns, name);\n    }\n    /**\n     * @param {?} el\n     * @return {?}\n     */\n    templateAwareRoot(el) { return this.isTemplateElement(el) ? this.content(el) : el; }\n    /**\n     * @return {?}\n     */\n    createHtmlDocument() {\n        return document.implementation.createHTMLDocument('fakeTitle');\n    }\n    /**\n     * @return {?}\n     */\n    getDefaultDocument() { return document; }\n    /**\n     * @param {?} el\n     * @return {?}\n     */\n    getBoundingClientRect(el) {\n        try {\n            return el.getBoundingClientRect();\n        }\n        catch (_a) {\n            return { top: 0, bottom: 0, left: 0, right: 0, width: 0, height: 0 };\n        }\n    }\n    /**\n     * @param {?} doc\n     * @return {?}\n     */\n    getTitle(doc) { return doc.title; }\n    /**\n     * @param {?} doc\n     * @param {?} newTitle\n     * @return {?}\n     */\n    setTitle(doc, newTitle) { doc.title = newTitle || ''; }\n    /**\n     * @param {?} n\n     * @param {?} selector\n     * @return {?}\n     */\n    elementMatches(n, selector) {\n        if (this.isElementNode(n)) {\n            return n.matches && n.matches(selector) ||\n                n.msMatchesSelector && n.msMatchesSelector(selector) ||\n                n.webkitMatchesSelector && n.webkitMatchesSelector(selector);\n        }\n        return false;\n    }\n    /**\n     * @param {?} el\n     * @return {?}\n     */\n    isTemplateElement(el) {\n        return this.isElementNode(el) && el.nodeName === 'TEMPLATE';\n    }\n    /**\n     * @param {?} node\n     * @return {?}\n     */\n    isTextNode(node) { return node.nodeType === Node.TEXT_NODE; }\n    /**\n     * @param {?} node\n     * @return {?}\n     */\n    isCommentNode(node) { return node.nodeType === Node.COMMENT_NODE; }\n    /**\n     * @param {?} node\n     * @return {?}\n     */\n    isElementNode(node) { return node.nodeType === Node.ELEMENT_NODE; }\n    /**\n     * @param {?} node\n     * @return {?}\n     */\n    hasShadowRoot(node) {\n        return node.shadowRoot != null && node instanceof HTMLElement;\n    }\n    /**\n     * @param {?} node\n     * @return {?}\n     */\n    isShadowRoot(node) { return node instanceof DocumentFragment; }\n    /**\n     * @param {?} node\n     * @return {?}\n     */\n    importIntoDoc(node) { return document.importNode(this.templateAwareRoot(node), true); }\n    /**\n     * @param {?} node\n     * @return {?}\n     */\n    adoptNode(node) { return document.adoptNode(node); }\n    /**\n     * @param {?} el\n     * @return {?}\n     */\n    getHref(el) { return (/** @type {?} */ (el.getAttribute('href'))); }\n    /**\n     * @param {?} event\n     * @return {?}\n     */\n    getEventKey(event) {\n        /** @type {?} */\n        let key = event.key;\n        if (key == null) {\n            key = event.keyIdentifier;\n            // keyIdentifier is defined in the old draft of DOM Level 3 Events implemented by Chrome and\n            // Safari cf\n            // http://www.w3.org/TR/2007/WD-DOM-Level-3-Events-20071221/events.html#Events-KeyboardEvents-Interfaces\n            if (key == null) {\n                return 'Unidentified';\n            }\n            if (key.startsWith('U+')) {\n                key = String.fromCharCode(parseInt(key.substring(2), 16));\n                if (event.location === DOM_KEY_LOCATION_NUMPAD && _chromeNumKeyPadMap.hasOwnProperty(key)) {\n                    // There is a bug in Chrome for numeric keypad keys:\n                    // https://code.google.com/p/chromium/issues/detail?id=155654\n                    // 1, 2, 3 ... are reported as A, B, C ...\n                    key = ((/** @type {?} */ (_chromeNumKeyPadMap)))[key];\n                }\n            }\n        }\n        return _keyMap[key] || key;\n    }\n    /**\n     * @param {?} doc\n     * @param {?} target\n     * @return {?}\n     */\n    getGlobalEventTarget(doc, target) {\n        if (target === 'window') {\n            return window;\n        }\n        if (target === 'document') {\n            return doc;\n        }\n        if (target === 'body') {\n            return doc.body;\n        }\n        return null;\n    }\n    /**\n     * @return {?}\n     */\n    getHistory() { return window.history; }\n    /**\n     * @return {?}\n     */\n    getLocation() { return window.location; }\n    /**\n     * @param {?} doc\n     * @return {?}\n     */\n    getBaseHref(doc) {\n        /** @type {?} */\n        const href = getBaseElementHref();\n        return href == null ? null : relativePath(href);\n    }\n    /**\n     * @return {?}\n     */\n    resetBaseElement() { baseElement = null; }\n    /**\n     * @return {?}\n     */\n    getUserAgent() { return window.navigator.userAgent; }\n    /**\n     * @param {?} element\n     * @param {?} name\n     * @param {?} value\n     * @return {?}\n     */\n    setData(element, name, value) {\n        this.setAttribute(element, 'data-' + name, value);\n    }\n    /**\n     * @param {?} element\n     * @param {?} name\n     * @return {?}\n     */\n    getData(element, name) {\n        return this.getAttribute(element, 'data-' + name);\n    }\n    /**\n     * @param {?} element\n     * @return {?}\n     */\n    getComputedStyle(element) { return getComputedStyle(element); }\n    // TODO(tbosch): move this into a separate environment class once we have it\n    /**\n     * @return {?}\n     */\n    supportsWebAnimation() {\n        return typeof ((/** @type {?} */ (Element))).prototype['animate'] === 'function';\n    }\n    /**\n     * @return {?}\n     */\n    performanceNow() {\n        // performance.now() is not available in all browsers, see\n        // http://caniuse.com/#search=performance.now\n        return window.performance && window.performance.now ? window.performance.now() :\n            new Date().getTime();\n    }\n    /**\n     * @return {?}\n     */\n    supportsCookies() { return true; }\n    /**\n     * @param {?} name\n     * @return {?}\n     */\n    getCookie(name) { return Object(_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"ɵparseCookieValue\"])(document.cookie, name); }\n    /**\n     * @param {?} name\n     * @param {?} value\n     * @return {?}\n     */\n    setCookie(name, value) {\n        // document.cookie is magical, assigning into it assigns/overrides one cookie value, but does\n        // not clear other cookies.\n        document.cookie = encodeURIComponent(name) + '=' + encodeURIComponent(value);\n    }\n}\n/** @type {?} */\nlet baseElement = null;\n/**\n * @return {?}\n */\nfunction getBaseElementHref() {\n    if (!baseElement) {\n        baseElement = (/** @type {?} */ (document.querySelector('base')));\n        if (!baseElement) {\n            return null;\n        }\n    }\n    return baseElement.getAttribute('href');\n}\n// based on urlUtils.js in AngularJS 1\n/** @type {?} */\nlet urlParsingNode;\n/**\n * @param {?} url\n * @return {?}\n */\nfunction relativePath(url) {\n    if (!urlParsingNode) {\n        urlParsingNode = document.createElement('a');\n    }\n    urlParsingNode.setAttribute('href', url);\n    return (urlParsingNode.pathname.charAt(0) === '/') ? urlParsingNode.pathname :\n        '/' + urlParsingNode.pathname;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * @return {?}\n */\nfunction supportsState() {\n    return !!window.history.pushState;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * `PlatformLocation` encapsulates all of the direct calls to platform APIs.\n * This class should not be used directly by an application developer. Instead, use\n * {\\@link Location}.\n */\nclass BrowserPlatformLocation extends _angular_common__WEBPACK_IMPORTED_MODULE_0__[\"PlatformLocation\"] {\n    /**\n     * @param {?} _doc\n     */\n    constructor(_doc) {\n        super();\n        this._doc = _doc;\n        this._init();\n    }\n    // This is moved to its own method so that `MockPlatformLocationStrategy` can overwrite it\n    /**\n     * \\@internal\n     * @return {?}\n     */\n    _init() {\n        ((/** @type {?} */ (this))).location = getDOM().getLocation();\n        this._history = getDOM().getHistory();\n    }\n    /**\n     * @return {?}\n     */\n    getBaseHrefFromDOM() { return (/** @type {?} */ (getDOM().getBaseHref(this._doc))); }\n    /**\n     * @param {?} fn\n     * @return {?}\n     */\n    onPopState(fn) {\n        getDOM().getGlobalEventTarget(this._doc, 'window').addEventListener('popstate', fn, false);\n    }\n    /**\n     * @param {?} fn\n     * @return {?}\n     */\n    onHashChange(fn) {\n        getDOM().getGlobalEventTarget(this._doc, 'window').addEventListener('hashchange', fn, false);\n    }\n    /**\n     * @return {?}\n     */\n    get href() { return this.location.href; }\n    /**\n     * @return {?}\n     */\n    get protocol() { return this.location.protocol; }\n    /**\n     * @return {?}\n     */\n    get hostname() { return this.location.hostname; }\n    /**\n     * @return {?}\n     */\n    get port() { return this.location.port; }\n    /**\n     * @return {?}\n     */\n    get pathname() { return this.location.pathname; }\n    /**\n     * @return {?}\n     */\n    get search() { return this.location.search; }\n    /**\n     * @return {?}\n     */\n    get hash() { return this.location.hash; }\n    /**\n     * @param {?} newPath\n     * @return {?}\n     */\n    set pathname(newPath) { this.location.pathname = newPath; }\n    /**\n     * @param {?} state\n     * @param {?} title\n     * @param {?} url\n     * @return {?}\n     */\n    pushState(state, title, url) {\n        if (supportsState()) {\n            this._history.pushState(state, title, url);\n        }\n        else {\n            this.location.hash = url;\n        }\n    }\n    /**\n     * @param {?} state\n     * @param {?} title\n     * @param {?} url\n     * @return {?}\n     */\n    replaceState(state, title, url) {\n        if (supportsState()) {\n            this._history.replaceState(state, title, url);\n        }\n        else {\n            this.location.hash = url;\n        }\n    }\n    /**\n     * @return {?}\n     */\n    forward() { this._history.forward(); }\n    /**\n     * @return {?}\n     */\n    back() { this._history.back(); }\n    /**\n     * @return {?}\n     */\n    getState() { return this._history.state; }\n}\nBrowserPlatformLocation.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"] }\n];\n/** @nocollapse */\nBrowserPlatformLocation.ctorParameters = () => [\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"],] }] }\n];\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * An id that identifies a particular application being bootstrapped, that should\n * match across the client/server boundary.\n * @type {?}\n */\nconst TRANSITION_ID = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"InjectionToken\"]('TRANSITION_ID');\n/**\n * @param {?} transitionId\n * @param {?} document\n * @param {?} injector\n * @return {?}\n */\nfunction appInitializerFactory(transitionId, document, injector) {\n    return (/**\n     * @return {?}\n     */\n    () => {\n        // Wait for all application initializers to be completed before removing the styles set by\n        // the server.\n        injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ApplicationInitStatus\"]).donePromise.then((/**\n         * @return {?}\n         */\n        () => {\n            /** @type {?} */\n            const dom = getDOM();\n            /** @type {?} */\n            const styles = Array.prototype.slice.apply(dom.querySelectorAll(document, `style[ng-transition]`));\n            styles.filter((/**\n             * @param {?} el\n             * @return {?}\n             */\n            el => dom.getAttribute(el, 'ng-transition') === transitionId))\n                .forEach((/**\n             * @param {?} el\n             * @return {?}\n             */\n            el => dom.remove(el)));\n        }));\n    });\n}\n/** @type {?} */\nconst SERVER_TRANSITION_PROVIDERS = [\n    {\n        provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"APP_INITIALIZER\"],\n        useFactory: appInitializerFactory,\n        deps: [TRANSITION_ID, _angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"], _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injector\"]],\n        multi: true\n    },\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass BrowserGetTestability {\n    /**\n     * @return {?}\n     */\n    static init() { Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"setTestabilityGetter\"])(new BrowserGetTestability()); }\n    /**\n     * @param {?} registry\n     * @return {?}\n     */\n    addToWindow(registry) {\n        _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵglobal\"]['getAngularTestability'] = (/**\n         * @param {?} elem\n         * @param {?=} findInAncestors\n         * @return {?}\n         */\n        (elem, findInAncestors = true) => {\n            /** @type {?} */\n            const testability = registry.findTestabilityInTree(elem, findInAncestors);\n            if (testability == null) {\n                throw new Error('Could not find testability for element.');\n            }\n            return testability;\n        });\n        _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵglobal\"]['getAllAngularTestabilities'] = (/**\n         * @return {?}\n         */\n        () => registry.getAllTestabilities());\n        _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵglobal\"]['getAllAngularRootElements'] = (/**\n         * @return {?}\n         */\n        () => registry.getAllRootElements());\n        /** @type {?} */\n        const whenAllStable = (/**\n         * @param {?} callback\n         * @return {?}\n         */\n        (callback /** TODO #9100 */) => {\n            /** @type {?} */\n            const testabilities = _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵglobal\"]['getAllAngularTestabilities']();\n            /** @type {?} */\n            let count = testabilities.length;\n            /** @type {?} */\n            let didWork = false;\n            /** @type {?} */\n            const decrement = (/**\n             * @param {?} didWork_\n             * @return {?}\n             */\n            function (didWork_ /** TODO #9100 */) {\n                didWork = didWork || didWork_;\n                count--;\n                if (count == 0) {\n                    callback(didWork);\n                }\n            });\n            testabilities.forEach((/**\n             * @param {?} testability\n             * @return {?}\n             */\n            function (testability /** TODO #9100 */) {\n                testability.whenStable(decrement);\n            }));\n        });\n        if (!_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵglobal\"]['frameworkStabilizers']) {\n            _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵglobal\"]['frameworkStabilizers'] = [];\n        }\n        _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵglobal\"]['frameworkStabilizers'].push(whenAllStable);\n    }\n    /**\n     * @param {?} registry\n     * @param {?} elem\n     * @param {?} findInAncestors\n     * @return {?}\n     */\n    findTestabilityInTree(registry, elem, findInAncestors) {\n        if (elem == null) {\n            return null;\n        }\n        /** @type {?} */\n        const t = registry.getTestability(elem);\n        if (t != null) {\n            return t;\n        }\n        else if (!findInAncestors) {\n            return null;\n        }\n        if (getDOM().isShadowRoot(elem)) {\n            return this.findTestabilityInTree(registry, getDOM().getHost(elem), true);\n        }\n        return this.findTestabilityInTree(registry, getDOM().parentElement(elem), true);\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst CAMEL_CASE_REGEXP = /([A-Z])/g;\n/** @type {?} */\nconst DASH_CASE_REGEXP = /-([a-z])/g;\n/**\n * @param {?} input\n * @return {?}\n */\nfunction camelCaseToDashCase(input) {\n    return input.replace(CAMEL_CASE_REGEXP, (/**\n     * @param {...?} m\n     * @return {?}\n     */\n    (...m) => '-' + m[1].toLowerCase()));\n}\n/**\n * @param {?} input\n * @return {?}\n */\nfunction dashCaseToCamelCase(input) {\n    return input.replace(DASH_CASE_REGEXP, (/**\n     * @param {...?} m\n     * @return {?}\n     */\n    (...m) => m[1].toUpperCase()));\n}\n/**\n * Exports the value under a given `name` in the global property `ng`. For example `ng.probe` if\n * `name` is `'probe'`.\n * @param {?} name Name under which it will be exported. Keep in mind this will be a property of the\n * global `ng` object.\n * @param {?} value The value to export.\n * @return {?}\n */\nfunction exportNgVar(name, value) {\n    if (typeof COMPILED === 'undefined' || !COMPILED) {\n        // Note: we can't export `ng` when using closure enhanced optimization as:\n        // - closure declares globals itself for minified names, which sometimes clobber our `ng` global\n        // - we can't declare a closure extern as the namespace `ng` is already used within Google\n        //   for typings for angularJS (via `goog.provide('ng....')`).\n        /** @type {?} */\n        const ng = _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵglobal\"]['ng'] = ((/** @type {?} */ (_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵglobal\"]['ng']))) || {};\n        ng[name] = value;\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nconst ɵ0$1 = /**\n * @return {?}\n */\n() => ({\n    'ApplicationRef': _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ApplicationRef\"],\n    'NgZone': _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgZone\"],\n});\n/** @type {?} */\nconst CORE_TOKENS = ((ɵ0$1))();\n/** @type {?} */\nconst INSPECT_GLOBAL_NAME = 'probe';\n/** @type {?} */\nconst CORE_TOKENS_GLOBAL_NAME = 'coreTokens';\n/**\n * Returns a {\\@link DebugElement} for the given native DOM element, or\n * null if the given native element does not have an Angular view associated\n * with it.\n * @param {?} element\n * @return {?}\n */\nfunction inspectNativeElement(element) {\n    return Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"getDebugNode\"])(element);\n}\n/**\n * @param {?} coreTokens\n * @return {?}\n */\nfunction _createNgProbe(coreTokens) {\n    exportNgVar(INSPECT_GLOBAL_NAME, inspectNativeElement);\n    exportNgVar(CORE_TOKENS_GLOBAL_NAME, Object.assign({}, CORE_TOKENS, _ngProbeTokensToMap(coreTokens || [])));\n    return (/**\n     * @return {?}\n     */\n    () => inspectNativeElement);\n}\n/**\n * @param {?} tokens\n * @return {?}\n */\nfunction _ngProbeTokensToMap(tokens) {\n    return tokens.reduce((/**\n     * @param {?} prev\n     * @param {?} t\n     * @return {?}\n     */\n    (prev, t) => (prev[t.name] = t.token, prev)), {});\n}\n/**\n * In Ivy, we don't support NgProbe because we have our own set of testing utilities\n * with more robust functionality.\n *\n * We shouldn't bring in NgProbe because it prevents DebugNode and friends from\n * tree-shaking properly.\n * @type {?}\n */\nconst ELEMENT_PROBE_PROVIDERS__POST_R3__ = [];\n/**\n * Providers which support debugging Angular applications (e.g. via `ng.probe`).\n * @type {?}\n */\nconst ELEMENT_PROBE_PROVIDERS__PRE_R3__ = [\n    {\n        provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"APP_INITIALIZER\"],\n        useFactory: _createNgProbe,\n        deps: [\n            [_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgProbeToken\"], new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"]()],\n        ],\n        multi: true,\n    },\n];\n/** @type {?} */\nconst ELEMENT_PROBE_PROVIDERS = ELEMENT_PROBE_PROVIDERS__PRE_R3__;\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * The injection token for the event-manager plug-in service.\n *\n * \\@publicApi\n * @type {?}\n */\nconst EVENT_MANAGER_PLUGINS = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"InjectionToken\"]('EventManagerPlugins');\n/**\n * An injectable service that provides event management for Angular\n * through a browser plug-in.\n *\n * \\@publicApi\n */\nclass EventManager {\n    /**\n     * Initializes an instance of the event-manager service.\n     * @param {?} plugins\n     * @param {?} _zone\n     */\n    constructor(plugins, _zone) {\n        this._zone = _zone;\n        this._eventNameToPlugin = new Map();\n        plugins.forEach((/**\n         * @template THIS\n         * @this {THIS}\n         * @param {?} p\n         * @return {THIS}\n         */\n        p => p.manager = this));\n        this._plugins = plugins.slice().reverse();\n    }\n    /**\n     * Registers a handler for a specific element and event.\n     *\n     * @param {?} element The HTML element to receive event notifications.\n     * @param {?} eventName The name of the event to listen for.\n     * @param {?} handler A function to call when the notification occurs. Receives the\n     * event object as an argument.\n     * @return {?} A callback function that can be used to remove the handler.\n     */\n    addEventListener(element, eventName, handler) {\n        /** @type {?} */\n        const plugin = this._findPluginFor(eventName);\n        return plugin.addEventListener(element, eventName, handler);\n    }\n    /**\n     * Registers a global handler for an event in a target view.\n     *\n     * @param {?} target A target for global event notifications. One of \"window\", \"document\", or \"body\".\n     * @param {?} eventName The name of the event to listen for.\n     * @param {?} handler A function to call when the notification occurs. Receives the\n     * event object as an argument.\n     * @return {?} A callback function that can be used to remove the handler.\n     */\n    addGlobalEventListener(target, eventName, handler) {\n        /** @type {?} */\n        const plugin = this._findPluginFor(eventName);\n        return plugin.addGlobalEventListener(target, eventName, handler);\n    }\n    /**\n     * Retrieves the compilation zone in which event listeners are registered.\n     * @return {?}\n     */\n    getZone() { return this._zone; }\n    /**\n     * \\@internal\n     * @param {?} eventName\n     * @return {?}\n     */\n    _findPluginFor(eventName) {\n        /** @type {?} */\n        const plugin = this._eventNameToPlugin.get(eventName);\n        if (plugin) {\n            return plugin;\n        }\n        /** @type {?} */\n        const plugins = this._plugins;\n        for (let i = 0; i < plugins.length; i++) {\n            /** @type {?} */\n            const plugin = plugins[i];\n            if (plugin.supports(eventName)) {\n                this._eventNameToPlugin.set(eventName, plugin);\n                return plugin;\n            }\n        }\n        throw new Error(`No event manager plugin found for event ${eventName}`);\n    }\n}\nEventManager.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"] }\n];\n/** @nocollapse */\nEventManager.ctorParameters = () => [\n    { type: Array, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"], args: [EVENT_MANAGER_PLUGINS,] }] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgZone\"] }\n];\nif (false) {}\n/**\n * @abstract\n */\nclass EventManagerPlugin {\n    /**\n     * @param {?} _doc\n     */\n    constructor(_doc) {\n        this._doc = _doc;\n    }\n    /**\n     * @param {?} element\n     * @param {?} eventName\n     * @param {?} handler\n     * @return {?}\n     */\n    addGlobalEventListener(element, eventName, handler) {\n        /** @type {?} */\n        const target = getDOM().getGlobalEventTarget(this._doc, element);\n        if (!target) {\n            throw new Error(`Unsupported event target ${target} for event ${eventName}`);\n        }\n        return this.addEventListener(target, eventName, handler);\n    }\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass SharedStylesHost {\n    constructor() {\n        /**\n         * \\@internal\n         */\n        this._stylesSet = new Set();\n    }\n    /**\n     * @param {?} styles\n     * @return {?}\n     */\n    addStyles(styles) {\n        /** @type {?} */\n        const additions = new Set();\n        styles.forEach((/**\n         * @param {?} style\n         * @return {?}\n         */\n        style => {\n            if (!this._stylesSet.has(style)) {\n                this._stylesSet.add(style);\n                additions.add(style);\n            }\n        }));\n        this.onStylesAdded(additions);\n    }\n    /**\n     * @param {?} additions\n     * @return {?}\n     */\n    onStylesAdded(additions) { }\n    /**\n     * @return {?}\n     */\n    getAllStyles() { return Array.from(this._stylesSet); }\n}\nSharedStylesHost.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"] }\n];\nif (false) {}\nclass DomSharedStylesHost extends SharedStylesHost {\n    /**\n     * @param {?} _doc\n     */\n    constructor(_doc) {\n        super();\n        this._doc = _doc;\n        this._hostNodes = new Set();\n        this._styleNodes = new Set();\n        this._hostNodes.add(_doc.head);\n    }\n    /**\n     * @private\n     * @param {?} styles\n     * @param {?} host\n     * @return {?}\n     */\n    _addStylesToHost(styles, host) {\n        styles.forEach((/**\n         * @param {?} style\n         * @return {?}\n         */\n        (style) => {\n            /** @type {?} */\n            const styleEl = this._doc.createElement('style');\n            styleEl.textContent = style;\n            this._styleNodes.add(host.appendChild(styleEl));\n        }));\n    }\n    /**\n     * @param {?} hostNode\n     * @return {?}\n     */\n    addHost(hostNode) {\n        this._addStylesToHost(this._stylesSet, hostNode);\n        this._hostNodes.add(hostNode);\n    }\n    /**\n     * @param {?} hostNode\n     * @return {?}\n     */\n    removeHost(hostNode) { this._hostNodes.delete(hostNode); }\n    /**\n     * @param {?} additions\n     * @return {?}\n     */\n    onStylesAdded(additions) {\n        this._hostNodes.forEach((/**\n         * @param {?} hostNode\n         * @return {?}\n         */\n        hostNode => this._addStylesToHost(additions, hostNode)));\n    }\n    /**\n     * @return {?}\n     */\n    ngOnDestroy() { this._styleNodes.forEach((/**\n     * @param {?} styleNode\n     * @return {?}\n     */\n    styleNode => getDOM().remove(styleNode))); }\n}\nDomSharedStylesHost.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"] }\n];\n/** @nocollapse */\nDomSharedStylesHost.ctorParameters = () => [\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"],] }] }\n];\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst NAMESPACE_URIS = {\n    'svg': 'http://www.w3.org/2000/svg',\n    'xhtml': 'http://www.w3.org/1999/xhtml',\n    'xlink': 'http://www.w3.org/1999/xlink',\n    'xml': 'http://www.w3.org/XML/1998/namespace',\n    'xmlns': 'http://www.w3.org/2000/xmlns/',\n};\n/** @type {?} */\nconst COMPONENT_REGEX = /%COMP%/g;\n/** @type {?} */\nconst COMPONENT_VARIABLE = '%COMP%';\n/** @type {?} */\nconst HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;\n/** @type {?} */\nconst CONTENT_ATTR = `_ngcontent-${COMPONENT_VARIABLE}`;\n/**\n * @param {?} componentShortId\n * @return {?}\n */\nfunction shimContentAttribute(componentShortId) {\n    return CONTENT_ATTR.replace(COMPONENT_REGEX, componentShortId);\n}\n/**\n * @param {?} componentShortId\n * @return {?}\n */\nfunction shimHostAttribute(componentShortId) {\n    return HOST_ATTR.replace(COMPONENT_REGEX, componentShortId);\n}\n/**\n * @param {?} compId\n * @param {?} styles\n * @param {?} target\n * @return {?}\n */\nfunction flattenStyles(compId, styles, target) {\n    for (let i = 0; i < styles.length; i++) {\n        /** @type {?} */\n        let style = styles[i];\n        if (Array.isArray(style)) {\n            flattenStyles(compId, style, target);\n        }\n        else {\n            style = style.replace(COMPONENT_REGEX, compId);\n            target.push(style);\n        }\n    }\n    return target;\n}\n/**\n * @param {?} eventHandler\n * @return {?}\n */\nfunction decoratePreventDefault(eventHandler) {\n    return (/**\n     * @param {?} event\n     * @return {?}\n     */\n    (event) => {\n        /** @type {?} */\n        const allowDefaultBehavior = eventHandler(event);\n        if (allowDefaultBehavior === false) {\n            // TODO(tbosch): move preventDefault into event plugins...\n            event.preventDefault();\n            event.returnValue = false;\n        }\n    });\n}\nclass DomRendererFactory2 {\n    /**\n     * @param {?} eventManager\n     * @param {?} sharedStylesHost\n     * @param {?} appId\n     */\n    constructor(eventManager, sharedStylesHost, appId) {\n        this.eventManager = eventManager;\n        this.sharedStylesHost = sharedStylesHost;\n        this.appId = appId;\n        this.rendererByCompId = new Map();\n        this.defaultRenderer = new DefaultDomRenderer2(eventManager);\n    }\n    /**\n     * @param {?} element\n     * @param {?} type\n     * @return {?}\n     */\n    createRenderer(element, type) {\n        if (!element || !type) {\n            return this.defaultRenderer;\n        }\n        switch (type.encapsulation) {\n            case _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ViewEncapsulation\"].Emulated: {\n                /** @type {?} */\n                let renderer = this.rendererByCompId.get(type.id);\n                if (!renderer) {\n                    renderer = new EmulatedEncapsulationDomRenderer2(this.eventManager, this.sharedStylesHost, type, this.appId);\n                    this.rendererByCompId.set(type.id, renderer);\n                }\n                ((/** @type {?} */ (renderer))).applyToHost(element);\n                return renderer;\n            }\n            case _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ViewEncapsulation\"].Native:\n            case _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ViewEncapsulation\"].ShadowDom:\n                return new ShadowDomRenderer(this.eventManager, this.sharedStylesHost, element, type);\n            default: {\n                if (!this.rendererByCompId.has(type.id)) {\n                    /** @type {?} */\n                    const styles = flattenStyles(type.id, type.styles, []);\n                    this.sharedStylesHost.addStyles(styles);\n                    this.rendererByCompId.set(type.id, this.defaultRenderer);\n                }\n                return this.defaultRenderer;\n            }\n        }\n    }\n    /**\n     * @return {?}\n     */\n    begin() { }\n    /**\n     * @return {?}\n     */\n    end() { }\n}\nDomRendererFactory2.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"] }\n];\n/** @nocollapse */\nDomRendererFactory2.ctorParameters = () => [\n    { type: EventManager },\n    { type: DomSharedStylesHost },\n    { type: String, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"], args: [_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"APP_ID\"],] }] }\n];\nif (false) {}\nclass DefaultDomRenderer2 {\n    /**\n     * @param {?} eventManager\n     */\n    constructor(eventManager) {\n        this.eventManager = eventManager;\n        this.data = Object.create(null);\n    }\n    /**\n     * @return {?}\n     */\n    destroy() { }\n    /**\n     * @param {?} name\n     * @param {?=} namespace\n     * @return {?}\n     */\n    createElement(name, namespace) {\n        if (namespace) {\n            // In cases where Ivy (not ViewEngine) is giving us the actual namespace, the look up by key\n            // will result in undefined, so we just return the namespace here.\n            return document.createElementNS(NAMESPACE_URIS[namespace] || namespace, name);\n        }\n        return document.createElement(name);\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    createComment(value) { return document.createComment(value); }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    createText(value) { return document.createTextNode(value); }\n    /**\n     * @param {?} parent\n     * @param {?} newChild\n     * @return {?}\n     */\n    appendChild(parent, newChild) { parent.appendChild(newChild); }\n    /**\n     * @param {?} parent\n     * @param {?} newChild\n     * @param {?} refChild\n     * @return {?}\n     */\n    insertBefore(parent, newChild, refChild) {\n        if (parent) {\n            parent.insertBefore(newChild, refChild);\n        }\n    }\n    /**\n     * @param {?} parent\n     * @param {?} oldChild\n     * @return {?}\n     */\n    removeChild(parent, oldChild) {\n        if (parent) {\n            parent.removeChild(oldChild);\n        }\n    }\n    /**\n     * @param {?} selectorOrNode\n     * @param {?=} preserveContent\n     * @return {?}\n     */\n    selectRootElement(selectorOrNode, preserveContent) {\n        /** @type {?} */\n        let el = typeof selectorOrNode === 'string' ? document.querySelector(selectorOrNode) :\n            selectorOrNode;\n        if (!el) {\n            throw new Error(`The selector \"${selectorOrNode}\" did not match any elements`);\n        }\n        if (!preserveContent) {\n            el.textContent = '';\n        }\n        return el;\n    }\n    /**\n     * @param {?} node\n     * @return {?}\n     */\n    parentNode(node) { return node.parentNode; }\n    /**\n     * @param {?} node\n     * @return {?}\n     */\n    nextSibling(node) { return node.nextSibling; }\n    /**\n     * @param {?} el\n     * @param {?} name\n     * @param {?} value\n     * @param {?=} namespace\n     * @return {?}\n     */\n    setAttribute(el, name, value, namespace) {\n        if (namespace) {\n            name = namespace + ':' + name;\n            // TODO(benlesh): Ivy may cause issues here because it's passing around\n            // full URIs for namespaces, therefore this lookup will fail.\n            /** @type {?} */\n            const namespaceUri = NAMESPACE_URIS[namespace];\n            if (namespaceUri) {\n                el.setAttributeNS(namespaceUri, name, value);\n            }\n            else {\n                el.setAttribute(name, value);\n            }\n        }\n        else {\n            el.setAttribute(name, value);\n        }\n    }\n    /**\n     * @param {?} el\n     * @param {?} name\n     * @param {?=} namespace\n     * @return {?}\n     */\n    removeAttribute(el, name, namespace) {\n        if (namespace) {\n            // TODO(benlesh): Ivy may cause issues here because it's passing around\n            // full URIs for namespaces, therefore this lookup will fail.\n            /** @type {?} */\n            const namespaceUri = NAMESPACE_URIS[namespace];\n            if (namespaceUri) {\n                el.removeAttributeNS(namespaceUri, name);\n            }\n            else {\n                // TODO(benlesh): Since ivy is passing around full URIs for namespaces\n                // this could result in properties like `http://www.w3.org/2000/svg:cx=\"123\"`,\n                // which is wrong.\n                el.removeAttribute(`${namespace}:${name}`);\n            }\n        }\n        else {\n            el.removeAttribute(name);\n        }\n    }\n    /**\n     * @param {?} el\n     * @param {?} name\n     * @return {?}\n     */\n    addClass(el, name) { el.classList.add(name); }\n    /**\n     * @param {?} el\n     * @param {?} name\n     * @return {?}\n     */\n    removeClass(el, name) { el.classList.remove(name); }\n    /**\n     * @param {?} el\n     * @param {?} style\n     * @param {?} value\n     * @param {?} flags\n     * @return {?}\n     */\n    setStyle(el, style, value, flags) {\n        if (flags & _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"RendererStyleFlags2\"].DashCase) {\n            el.style.setProperty(style, value, !!(flags & _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"RendererStyleFlags2\"].Important) ? 'important' : '');\n        }\n        else {\n            el.style[style] = value;\n        }\n    }\n    /**\n     * @param {?} el\n     * @param {?} style\n     * @param {?} flags\n     * @return {?}\n     */\n    removeStyle(el, style, flags) {\n        if (flags & _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"RendererStyleFlags2\"].DashCase) {\n            el.style.removeProperty(style);\n        }\n        else {\n            // IE requires '' instead of null\n            // see https://github.com/angular/angular/issues/7916\n            el.style[style] = '';\n        }\n    }\n    /**\n     * @param {?} el\n     * @param {?} name\n     * @param {?} value\n     * @return {?}\n     */\n    setProperty(el, name, value) {\n        checkNoSyntheticProp(name, 'property');\n        el[name] = value;\n    }\n    /**\n     * @param {?} node\n     * @param {?} value\n     * @return {?}\n     */\n    setValue(node, value) { node.nodeValue = value; }\n    /**\n     * @param {?} target\n     * @param {?} event\n     * @param {?} callback\n     * @return {?}\n     */\n    listen(target, event, callback) {\n        checkNoSyntheticProp(event, 'listener');\n        if (typeof target === 'string') {\n            return (/** @type {?} */ (this.eventManager.addGlobalEventListener(target, event, decoratePreventDefault(callback))));\n        }\n        return (/** @type {?} */ ((/** @type {?} */ (this.eventManager.addEventListener(target, event, decoratePreventDefault(callback))))));\n    }\n}\nif (false) {}\nconst ɵ0$2 = /**\n * @return {?}\n */\n() => '@'.charCodeAt(0);\n/** @type {?} */\nconst AT_CHARCODE = ((ɵ0$2))();\n/**\n * @param {?} name\n * @param {?} nameKind\n * @return {?}\n */\nfunction checkNoSyntheticProp(name, nameKind) {\n    if (name.charCodeAt(0) === AT_CHARCODE) {\n        throw new Error(`Found the synthetic ${nameKind} ${name}. Please include either \"BrowserAnimationsModule\" or \"NoopAnimationsModule\" in your application.`);\n    }\n}\nclass EmulatedEncapsulationDomRenderer2 extends DefaultDomRenderer2 {\n    /**\n     * @param {?} eventManager\n     * @param {?} sharedStylesHost\n     * @param {?} component\n     * @param {?} appId\n     */\n    constructor(eventManager, sharedStylesHost, component, appId) {\n        super(eventManager);\n        this.component = component;\n        /** @type {?} */\n        const styles = flattenStyles(appId + '-' + component.id, component.styles, []);\n        sharedStylesHost.addStyles(styles);\n        this.contentAttr = shimContentAttribute(appId + '-' + component.id);\n        this.hostAttr = shimHostAttribute(appId + '-' + component.id);\n    }\n    /**\n     * @param {?} element\n     * @return {?}\n     */\n    applyToHost(element) { super.setAttribute(element, this.hostAttr, ''); }\n    /**\n     * @param {?} parent\n     * @param {?} name\n     * @return {?}\n     */\n    createElement(parent, name) {\n        /** @type {?} */\n        const el = super.createElement(parent, name);\n        super.setAttribute(el, this.contentAttr, '');\n        return el;\n    }\n}\nif (false) {}\nclass ShadowDomRenderer extends DefaultDomRenderer2 {\n    /**\n     * @param {?} eventManager\n     * @param {?} sharedStylesHost\n     * @param {?} hostEl\n     * @param {?} component\n     */\n    constructor(eventManager, sharedStylesHost, hostEl, component) {\n        super(eventManager);\n        this.sharedStylesHost = sharedStylesHost;\n        this.hostEl = hostEl;\n        this.component = component;\n        if (component.encapsulation === _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ViewEncapsulation\"].ShadowDom) {\n            this.shadowRoot = ((/** @type {?} */ (hostEl))).attachShadow({ mode: 'open' });\n        }\n        else {\n            this.shadowRoot = ((/** @type {?} */ (hostEl))).createShadowRoot();\n        }\n        this.sharedStylesHost.addHost(this.shadowRoot);\n        /** @type {?} */\n        const styles = flattenStyles(component.id, component.styles, []);\n        for (let i = 0; i < styles.length; i++) {\n            /** @type {?} */\n            const styleEl = document.createElement('style');\n            styleEl.textContent = styles[i];\n            this.shadowRoot.appendChild(styleEl);\n        }\n    }\n    /**\n     * @private\n     * @param {?} node\n     * @return {?}\n     */\n    nodeOrShadowRoot(node) { return node === this.hostEl ? this.shadowRoot : node; }\n    /**\n     * @return {?}\n     */\n    destroy() { this.sharedStylesHost.removeHost(this.shadowRoot); }\n    /**\n     * @param {?} parent\n     * @param {?} newChild\n     * @return {?}\n     */\n    appendChild(parent, newChild) {\n        return super.appendChild(this.nodeOrShadowRoot(parent), newChild);\n    }\n    /**\n     * @param {?} parent\n     * @param {?} newChild\n     * @param {?} refChild\n     * @return {?}\n     */\n    insertBefore(parent, newChild, refChild) {\n        return super.insertBefore(this.nodeOrShadowRoot(parent), newChild, refChild);\n    }\n    /**\n     * @param {?} parent\n     * @param {?} oldChild\n     * @return {?}\n     */\n    removeChild(parent, oldChild) {\n        return super.removeChild(this.nodeOrShadowRoot(parent), oldChild);\n    }\n    /**\n     * @param {?} node\n     * @return {?}\n     */\n    parentNode(node) {\n        return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(node)));\n    }\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nconst ɵ0$3 = /**\n * @return {?}\n */\n() => (typeof Zone !== 'undefined') && ((/** @type {?} */ (Zone)))['__symbol__'] ||\n    (/**\n     * @param {?} v\n     * @return {?}\n     */\n    function (v) { return '__zone_symbol__' + v; });\n/**\n * Detect if Zone is present. If it is then use simple zone aware 'addEventListener'\n * since Angular can do much more\n * efficient bookkeeping than Zone can, because we have additional information. This speeds up\n * addEventListener by 3x.\n * @type {?}\n */\nconst __symbol__ = ((ɵ0$3))();\n/** @type {?} */\nconst ADD_EVENT_LISTENER = __symbol__('addEventListener');\n/** @type {?} */\nconst REMOVE_EVENT_LISTENER = __symbol__('removeEventListener');\n/** @type {?} */\nconst symbolNames = {};\n/** @type {?} */\nconst FALSE = 'FALSE';\n/** @type {?} */\nconst ANGULAR = 'ANGULAR';\n/** @type {?} */\nconst NATIVE_ADD_LISTENER = 'addEventListener';\n/** @type {?} */\nconst NATIVE_REMOVE_LISTENER = 'removeEventListener';\n// use the same symbol string which is used in zone.js\n/** @type {?} */\nconst stopSymbol = '__zone_symbol__propagationStopped';\n/** @type {?} */\nconst stopMethodSymbol = '__zone_symbol__stopImmediatePropagation';\nconst ɵ1 = /**\n * @return {?}\n */\n() => {\n    /** @type {?} */\n    const blackListedEvents = (typeof Zone !== 'undefined') && ((/** @type {?} */ (Zone)))[__symbol__('BLACK_LISTED_EVENTS')];\n    if (blackListedEvents) {\n        /** @type {?} */\n        const res = {};\n        blackListedEvents.forEach((/**\n         * @param {?} eventName\n         * @return {?}\n         */\n        eventName => { res[eventName] = eventName; }));\n        return res;\n    }\n    return undefined;\n};\n/** @type {?} */\nconst blackListedMap = ((ɵ1))();\n/** @type {?} */\nconst isBlackListedEvent = (/**\n * @param {?} eventName\n * @return {?}\n */\nfunction (eventName) {\n    if (!blackListedMap) {\n        return false;\n    }\n    return blackListedMap.hasOwnProperty(eventName);\n});\nconst ɵ2 = isBlackListedEvent;\n/**\n * @record\n */\nfunction TaskData() { }\nif (false) {}\n// a global listener to handle all dom event,\n// so we do not need to create a closure every time\n/** @type {?} */\nconst globalListener = (/**\n * @this {?}\n * @param {?} event\n * @return {?}\n */\nfunction (event) {\n    /** @type {?} */\n    const symbolName = symbolNames[event.type];\n    if (!symbolName) {\n        return;\n    }\n    /** @type {?} */\n    const taskDatas = this[symbolName];\n    if (!taskDatas) {\n        return;\n    }\n    /** @type {?} */\n    const args = [event];\n    if (taskDatas.length === 1) {\n        // if taskDatas only have one element, just invoke it\n        /** @type {?} */\n        const taskData = taskDatas[0];\n        if (taskData.zone !== Zone.current) {\n            // only use Zone.run when Zone.current not equals to stored zone\n            return taskData.zone.run(taskData.handler, this, args);\n        }\n        else {\n            return taskData.handler.apply(this, args);\n        }\n    }\n    else {\n        // copy tasks as a snapshot to avoid event handlers remove\n        // itself or others\n        /** @type {?} */\n        const copiedTasks = taskDatas.slice();\n        for (let i = 0; i < copiedTasks.length; i++) {\n            // if other listener call event.stopImmediatePropagation\n            // just break\n            if (((/** @type {?} */ (event)))[stopSymbol] === true) {\n                break;\n            }\n            /** @type {?} */\n            const taskData = copiedTasks[i];\n            if (taskData.zone !== Zone.current) {\n                // only use Zone.run when Zone.current not equals to stored zone\n                taskData.zone.run(taskData.handler, this, args);\n            }\n            else {\n                taskData.handler.apply(this, args);\n            }\n        }\n    }\n});\nconst ɵ3 = globalListener;\nclass DomEventsPlugin extends EventManagerPlugin {\n    /**\n     * @param {?} doc\n     * @param {?} ngZone\n     * @param {?} platformId\n     */\n    constructor(doc, ngZone, platformId) {\n        super(doc);\n        this.ngZone = ngZone;\n        if (!platformId || !Object(_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"isPlatformServer\"])(platformId)) {\n            this.patchEvent();\n        }\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    patchEvent() {\n        if (typeof Event === 'undefined' || !Event || !Event.prototype) {\n            return;\n        }\n        if (((/** @type {?} */ (Event.prototype)))[stopMethodSymbol]) {\n            // already patched by zone.js\n            return;\n        }\n        /** @type {?} */\n        const delegate = ((/** @type {?} */ (Event.prototype)))[stopMethodSymbol] =\n            Event.prototype.stopImmediatePropagation;\n        Event.prototype.stopImmediatePropagation = (/**\n         * @this {?}\n         * @return {?}\n         */\n        function () {\n            if (this) {\n                this[stopSymbol] = true;\n            }\n            // We should call native delegate in case in some environment part of\n            // the application will not use the patched Event. Also we cast the\n            // \"arguments\" to any since \"stopImmediatePropagation\" technically does not\n            // accept any arguments, but we don't know what developers pass through the\n            // function and we want to not break these calls.\n            delegate && delegate.apply(this, (/** @type {?} */ (arguments)));\n        });\n    }\n    // This plugin should come last in the list of plugins, because it accepts all\n    // events.\n    /**\n     * @param {?} eventName\n     * @return {?}\n     */\n    supports(eventName) { return true; }\n    /**\n     * @param {?} element\n     * @param {?} eventName\n     * @param {?} handler\n     * @return {?}\n     */\n    addEventListener(element, eventName, handler) {\n        /**\n         * This code is about to add a listener to the DOM. If Zone.js is present, than\n         * `addEventListener` has been patched. The patched code adds overhead in both\n         * memory and speed (3x slower) than native. For this reason if we detect that\n         * Zone.js is present we use a simple version of zone aware addEventListener instead.\n         * The result is faster registration and the zone will be restored.\n         * But ZoneSpec.onScheduleTask, ZoneSpec.onInvokeTask, ZoneSpec.onCancelTask\n         * will not be invoked\n         * We also do manual zone restoration in element.ts renderEventHandlerClosure method.\n         *\n         * NOTE: it is possible that the element is from different iframe, and so we\n         * have to check before we execute the method.\n         * @type {?}\n         */\n        const self = this;\n        /** @type {?} */\n        const zoneJsLoaded = element[ADD_EVENT_LISTENER];\n        /** @type {?} */\n        let callback = (/** @type {?} */ (handler));\n        // if zonejs is loaded and current zone is not ngZone\n        // we keep Zone.current on target for later restoration.\n        if (zoneJsLoaded && (!_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgZone\"].isInAngularZone() || isBlackListedEvent(eventName))) {\n            /** @type {?} */\n            let symbolName = symbolNames[eventName];\n            if (!symbolName) {\n                symbolName = symbolNames[eventName] = __symbol__(ANGULAR + eventName + FALSE);\n            }\n            /** @type {?} */\n            let taskDatas = ((/** @type {?} */ (element)))[symbolName];\n            /** @type {?} */\n            const globalListenerRegistered = taskDatas && taskDatas.length > 0;\n            if (!taskDatas) {\n                taskDatas = ((/** @type {?} */ (element)))[symbolName] = [];\n            }\n            /** @type {?} */\n            const zone = isBlackListedEvent(eventName) ? Zone.root : Zone.current;\n            if (taskDatas.length === 0) {\n                taskDatas.push({ zone: zone, handler: callback });\n            }\n            else {\n                /** @type {?} */\n                let callbackRegistered = false;\n                for (let i = 0; i < taskDatas.length; i++) {\n                    if (taskDatas[i].handler === callback) {\n                        callbackRegistered = true;\n                        break;\n                    }\n                }\n                if (!callbackRegistered) {\n                    taskDatas.push({ zone: zone, handler: callback });\n                }\n            }\n            if (!globalListenerRegistered) {\n                element[ADD_EVENT_LISTENER](eventName, globalListener, false);\n            }\n        }\n        else {\n            element[NATIVE_ADD_LISTENER](eventName, callback, false);\n        }\n        return (/**\n         * @return {?}\n         */\n        () => this.removeEventListener(element, eventName, callback));\n    }\n    /**\n     * @param {?} target\n     * @param {?} eventName\n     * @param {?} callback\n     * @return {?}\n     */\n    removeEventListener(target, eventName, callback) {\n        /** @type {?} */\n        let underlyingRemove = target[REMOVE_EVENT_LISTENER];\n        // zone.js not loaded, use native removeEventListener\n        if (!underlyingRemove) {\n            return target[NATIVE_REMOVE_LISTENER].apply(target, [eventName, callback, false]);\n        }\n        /** @type {?} */\n        let symbolName = symbolNames[eventName];\n        /** @type {?} */\n        let taskDatas = symbolName && target[symbolName];\n        if (!taskDatas) {\n            // addEventListener not using patched version\n            // just call native removeEventListener\n            return target[NATIVE_REMOVE_LISTENER].apply(target, [eventName, callback, false]);\n        }\n        // fix issue 20532, should be able to remove\n        // listener which was added inside of ngZone\n        /** @type {?} */\n        let found = false;\n        for (let i = 0; i < taskDatas.length; i++) {\n            // remove listener from taskDatas if the callback equals\n            if (taskDatas[i].handler === callback) {\n                found = true;\n                taskDatas.splice(i, 1);\n                break;\n            }\n        }\n        if (found) {\n            if (taskDatas.length === 0) {\n                // all listeners are removed, we can remove the globalListener from target\n                underlyingRemove.apply(target, [eventName, globalListener, false]);\n            }\n        }\n        else {\n            // not found in taskDatas, the callback may be added inside of ngZone\n            // use native remove listener to remove the callback\n            target[NATIVE_REMOVE_LISTENER].apply(target, [eventName, callback, false]);\n        }\n    }\n}\nDomEventsPlugin.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"] }\n];\n/** @nocollapse */\nDomEventsPlugin.ctorParameters = () => [\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"],] }] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgZone\"] },\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"], args: [_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"PLATFORM_ID\"],] }] }\n];\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Supported HammerJS recognizer event names.\n * @type {?}\n */\nconst EVENT_NAMES = {\n    // pan\n    'pan': true,\n    'panstart': true,\n    'panmove': true,\n    'panend': true,\n    'pancancel': true,\n    'panleft': true,\n    'panright': true,\n    'panup': true,\n    'pandown': true,\n    // pinch\n    'pinch': true,\n    'pinchstart': true,\n    'pinchmove': true,\n    'pinchend': true,\n    'pinchcancel': true,\n    'pinchin': true,\n    'pinchout': true,\n    // press\n    'press': true,\n    'pressup': true,\n    // rotate\n    'rotate': true,\n    'rotatestart': true,\n    'rotatemove': true,\n    'rotateend': true,\n    'rotatecancel': true,\n    // swipe\n    'swipe': true,\n    'swipeleft': true,\n    'swiperight': true,\n    'swipeup': true,\n    'swipedown': true,\n    // tap\n    'tap': true,\n};\n/**\n * DI token for providing [HammerJS](http://hammerjs.github.io/) support to Angular.\n * @see `HammerGestureConfig`\n *\n * \\@publicApi\n * @type {?}\n */\nconst HAMMER_GESTURE_CONFIG = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"InjectionToken\"]('HammerGestureConfig');\n/**\n * Injection token used to provide a {\\@link HammerLoader} to Angular.\n *\n * \\@publicApi\n * @type {?}\n */\nconst HAMMER_LOADER = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"InjectionToken\"]('HammerLoader');\n/**\n * @record\n */\nfunction HammerInstance() { }\nif (false) {}\n/**\n * An injectable [HammerJS Manager](http://hammerjs.github.io/api/#hammer.manager)\n * for gesture recognition. Configures specific event recognition.\n * \\@publicApi\n */\nclass HammerGestureConfig {\n    constructor() {\n        /**\n         * A set of supported event names for gestures to be used in Angular.\n         * Angular supports all built-in recognizers, as listed in\n         * [HammerJS documentation](http://hammerjs.github.io/).\n         */\n        this.events = [];\n        /**\n         * Maps gesture event names to a set of configuration options\n         * that specify overrides to the default values for specific properties.\n         *\n         * The key is a supported event name to be configured,\n         * and the options object contains a set of properties, with override values\n         * to be applied to the named recognizer event.\n         * For example, to disable recognition of the rotate event, specify\n         *  `{\"rotate\": {\"enable\": false}}`.\n         *\n         * Properties that are not present take the HammerJS default values.\n         * For information about which properties are supported for which events,\n         * and their allowed and default values, see\n         * [HammerJS documentation](http://hammerjs.github.io/).\n         *\n         */\n        this.overrides = {};\n    }\n    /**\n     * Creates a [HammerJS Manager](http://hammerjs.github.io/api/#hammer.manager)\n     * and attaches it to a given HTML element.\n     * @param {?} element The element that will recognize gestures.\n     * @return {?} A HammerJS event-manager object.\n     */\n    buildHammer(element) {\n        /** @type {?} */\n        const mc = new (/** @type {?} */ (Hammer))(element, this.options);\n        mc.get('pinch').set({ enable: true });\n        mc.get('rotate').set({ enable: true });\n        for (const eventName in this.overrides) {\n            mc.get(eventName).set(this.overrides[eventName]);\n        }\n        return mc;\n    }\n}\nHammerGestureConfig.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"] }\n];\nif (false) {}\nclass HammerGesturesPlugin extends EventManagerPlugin {\n    /**\n     * @param {?} doc\n     * @param {?} _config\n     * @param {?} console\n     * @param {?=} loader\n     */\n    constructor(doc, _config, console, loader) {\n        super(doc);\n        this._config = _config;\n        this.console = console;\n        this.loader = loader;\n    }\n    /**\n     * @param {?} eventName\n     * @return {?}\n     */\n    supports(eventName) {\n        if (!EVENT_NAMES.hasOwnProperty(eventName.toLowerCase()) && !this.isCustomEvent(eventName)) {\n            return false;\n        }\n        if (!((/** @type {?} */ (window))).Hammer && !this.loader) {\n            this.console.warn(`The \"${eventName}\" event cannot be bound because Hammer.JS is not ` +\n                `loaded and no custom loader has been specified.`);\n            return false;\n        }\n        return true;\n    }\n    /**\n     * @param {?} element\n     * @param {?} eventName\n     * @param {?} handler\n     * @return {?}\n     */\n    addEventListener(element, eventName, handler) {\n        /** @type {?} */\n        const zone = this.manager.getZone();\n        eventName = eventName.toLowerCase();\n        // If Hammer is not present but a loader is specified, we defer adding the event listener\n        // until Hammer is loaded.\n        if (!((/** @type {?} */ (window))).Hammer && this.loader) {\n            // This `addEventListener` method returns a function to remove the added listener.\n            // Until Hammer is loaded, the returned function needs to *cancel* the registration rather\n            // than remove anything.\n            /** @type {?} */\n            let cancelRegistration = false;\n            /** @type {?} */\n            let deregister = (/**\n             * @return {?}\n             */\n            () => { cancelRegistration = true; });\n            this.loader()\n                .then((/**\n             * @return {?}\n             */\n            () => {\n                // If Hammer isn't actually loaded when the custom loader resolves, give up.\n                if (!((/** @type {?} */ (window))).Hammer) {\n                    this.console.warn(`The custom HAMMER_LOADER completed, but Hammer.JS is not present.`);\n                    deregister = (/**\n                     * @return {?}\n                     */\n                    () => { });\n                    return;\n                }\n                if (!cancelRegistration) {\n                    // Now that Hammer is loaded and the listener is being loaded for real,\n                    // the deregistration function changes from canceling registration to removal.\n                    deregister = this.addEventListener(element, eventName, handler);\n                }\n            }))\n                .catch((/**\n             * @return {?}\n             */\n            () => {\n                this.console.warn(`The \"${eventName}\" event cannot be bound because the custom ` +\n                    `Hammer.JS loader failed.`);\n                deregister = (/**\n                 * @return {?}\n                 */\n                () => { });\n            }));\n            // Return a function that *executes* `deregister` (and not `deregister` itself) so that we\n            // can change the behavior of `deregister` once the listener is added. Using a closure in\n            // this way allows us to avoid any additional data structures to track listener removal.\n            return (/**\n             * @return {?}\n             */\n            () => { deregister(); });\n        }\n        return zone.runOutsideAngular((/**\n         * @return {?}\n         */\n        () => {\n            // Creating the manager bind events, must be done outside of angular\n            /** @type {?} */\n            const mc = this._config.buildHammer(element);\n            /** @type {?} */\n            const callback = (/**\n             * @param {?} eventObj\n             * @return {?}\n             */\n            function (eventObj) {\n                zone.runGuarded((/**\n                 * @return {?}\n                 */\n                function () { handler(eventObj); }));\n            });\n            mc.on(eventName, callback);\n            return (/**\n             * @return {?}\n             */\n            () => {\n                mc.off(eventName, callback);\n                // destroy mc to prevent memory leak\n                if (typeof mc.destroy === 'function') {\n                    mc.destroy();\n                }\n            });\n        }));\n    }\n    /**\n     * @param {?} eventName\n     * @return {?}\n     */\n    isCustomEvent(eventName) { return this._config.events.indexOf(eventName) > -1; }\n}\nHammerGesturesPlugin.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"] }\n];\n/** @nocollapse */\nHammerGesturesPlugin.ctorParameters = () => [\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"],] }] },\n    { type: HammerGestureConfig, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"], args: [HAMMER_GESTURE_CONFIG,] }] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵConsole\"] },\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"], args: [HAMMER_LOADER,] }] }\n];\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Defines supported modifiers for key events.\n * @type {?}\n */\nconst MODIFIER_KEYS = ['alt', 'control', 'meta', 'shift'];\nconst ɵ0$4 = /**\n * @param {?} event\n * @return {?}\n */\n(event) => event.altKey, ɵ1$1 = /**\n * @param {?} event\n * @return {?}\n */\n(event) => event.ctrlKey, ɵ2$1 = /**\n * @param {?} event\n * @return {?}\n */\n(event) => event.metaKey, ɵ3$1 = /**\n * @param {?} event\n * @return {?}\n */\n(event) => event.shiftKey;\n/**\n * Retrieves modifiers from key-event objects.\n * @type {?}\n */\nconst MODIFIER_KEY_GETTERS = {\n    'alt': (ɵ0$4),\n    'control': (ɵ1$1),\n    'meta': (ɵ2$1),\n    'shift': (ɵ3$1)\n};\n/**\n * \\@publicApi\n * A browser plug-in that provides support for handling of key events in Angular.\n */\nclass KeyEventsPlugin extends EventManagerPlugin {\n    /**\n     * Initializes an instance of the browser plug-in.\n     * @param {?} doc The document in which key events will be detected.\n     */\n    constructor(doc) { super(doc); }\n    /**\n     * Reports whether a named key event is supported.\n     * @param {?} eventName The event name to query.\n     * @return {?} True if the named key event is supported.\n     */\n    supports(eventName) { return KeyEventsPlugin.parseEventName(eventName) != null; }\n    /**\n     * Registers a handler for a specific element and key event.\n     * @param {?} element The HTML element to receive event notifications.\n     * @param {?} eventName The name of the key event to listen for.\n     * @param {?} handler A function to call when the notification occurs. Receives the\n     * event object as an argument.\n     * @return {?} The key event that was registered.\n     */\n    addEventListener(element, eventName, handler) {\n        /** @type {?} */\n        const parsedEvent = (/** @type {?} */ (KeyEventsPlugin.parseEventName(eventName)));\n        /** @type {?} */\n        const outsideHandler = KeyEventsPlugin.eventCallback(parsedEvent['fullKey'], handler, this.manager.getZone());\n        return this.manager.getZone().runOutsideAngular((/**\n         * @return {?}\n         */\n        () => {\n            return getDOM().onAndCancel(element, parsedEvent['domEventName'], outsideHandler);\n        }));\n    }\n    /**\n     * @param {?} eventName\n     * @return {?}\n     */\n    static parseEventName(eventName) {\n        /** @type {?} */\n        const parts = eventName.toLowerCase().split('.');\n        /** @type {?} */\n        const domEventName = parts.shift();\n        if ((parts.length === 0) || !(domEventName === 'keydown' || domEventName === 'keyup')) {\n            return null;\n        }\n        /** @type {?} */\n        const key = KeyEventsPlugin._normalizeKey((/** @type {?} */ (parts.pop())));\n        /** @type {?} */\n        let fullKey = '';\n        MODIFIER_KEYS.forEach((/**\n         * @param {?} modifierName\n         * @return {?}\n         */\n        modifierName => {\n            /** @type {?} */\n            const index = parts.indexOf(modifierName);\n            if (index > -1) {\n                parts.splice(index, 1);\n                fullKey += modifierName + '.';\n            }\n        }));\n        fullKey += key;\n        if (parts.length != 0 || key.length === 0) {\n            // returning null instead of throwing to let another plugin process the event\n            return null;\n        }\n        /** @type {?} */\n        const result = {};\n        result['domEventName'] = domEventName;\n        result['fullKey'] = fullKey;\n        return result;\n    }\n    /**\n     * @param {?} event\n     * @return {?}\n     */\n    static getEventFullKey(event) {\n        /** @type {?} */\n        let fullKey = '';\n        /** @type {?} */\n        let key = getDOM().getEventKey(event);\n        key = key.toLowerCase();\n        if (key === ' ') {\n            key = 'space'; // for readability\n        }\n        else if (key === '.') {\n            key = 'dot'; // because '.' is used as a separator in event names\n        }\n        MODIFIER_KEYS.forEach((/**\n         * @param {?} modifierName\n         * @return {?}\n         */\n        modifierName => {\n            if (modifierName != key) {\n                /** @type {?} */\n                const modifierGetter = MODIFIER_KEY_GETTERS[modifierName];\n                if (modifierGetter(event)) {\n                    fullKey += modifierName + '.';\n                }\n            }\n        }));\n        fullKey += key;\n        return fullKey;\n    }\n    /**\n     * Configures a handler callback for a key event.\n     * @param {?} fullKey The event name that combines all simultaneous keystrokes.\n     * @param {?} handler The function that responds to the key event.\n     * @param {?} zone The zone in which the event occurred.\n     * @return {?} A callback function.\n     */\n    static eventCallback(fullKey, handler, zone) {\n        return (/**\n         * @param {?} event\n         * @return {?}\n         */\n        (event /** TODO #9100 */) => {\n            if (KeyEventsPlugin.getEventFullKey(event) === fullKey) {\n                zone.runGuarded((/**\n                 * @return {?}\n                 */\n                () => handler(event)));\n            }\n        });\n    }\n    /**\n     * \\@internal\n     * @param {?} keyName\n     * @return {?}\n     */\n    static _normalizeKey(keyName) {\n        // TODO: switch to a Map if the mapping grows too much\n        switch (keyName) {\n            case 'esc':\n                return 'escape';\n            default:\n                return keyName;\n        }\n    }\n}\nKeyEventsPlugin.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"] }\n];\n/** @nocollapse */\nKeyEventsPlugin.ctorParameters = () => [\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"],] }] }\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Marker interface for a value that's safe to use in a particular context.\n *\n * \\@publicApi\n * @record\n */\nfunction SafeValue() { }\n/**\n * Marker interface for a value that's safe to use as HTML.\n *\n * \\@publicApi\n * @record\n */\nfunction SafeHtml() { }\n/**\n * Marker interface for a value that's safe to use as style (CSS).\n *\n * \\@publicApi\n * @record\n */\nfunction SafeStyle() { }\n/**\n * Marker interface for a value that's safe to use as JavaScript.\n *\n * \\@publicApi\n * @record\n */\nfunction SafeScript() { }\n/**\n * Marker interface for a value that's safe to use as a URL linking to a document.\n *\n * \\@publicApi\n * @record\n */\nfunction SafeUrl() { }\n/**\n * Marker interface for a value that's safe to use as a URL to load executable code from.\n *\n * \\@publicApi\n * @record\n */\nfunction SafeResourceUrl() { }\n/**\n * DomSanitizer helps preventing Cross Site Scripting Security bugs (XSS) by sanitizing\n * values to be safe to use in the different DOM contexts.\n *\n * For example, when binding a URL in an `<a [href]=\"someValue\">` hyperlink, `someValue` will be\n * sanitized so that an attacker cannot inject e.g. a `javascript:` URL that would execute code on\n * the website.\n *\n * In specific situations, it might be necessary to disable sanitization, for example if the\n * application genuinely needs to produce a `javascript:` style link with a dynamic value in it.\n * Users can bypass security by constructing a value with one of the `bypassSecurityTrust...`\n * methods, and then binding to that value from the template.\n *\n * These situations should be very rare, and extraordinary care must be taken to avoid creating a\n * Cross Site Scripting (XSS) security bug!\n *\n * When using `bypassSecurityTrust...`, make sure to call the method as early as possible and as\n * close as possible to the source of the value, to make it easy to verify no security bug is\n * created by its use.\n *\n * It is not required (and not recommended) to bypass security if the value is safe, e.g. a URL that\n * does not start with a suspicious protocol, or an HTML snippet that does not contain dangerous\n * code. The sanitizer leaves safe values intact.\n *\n * \\@security Calling any of the `bypassSecurityTrust...` APIs disables Angular's built-in\n * sanitization for the value passed in. Carefully check and audit all values and code paths going\n * into this call. Make sure any user data is appropriately escaped for this security context.\n * For more detail, see the [Security Guide](http://g.co/ng/security).\n *\n * \\@publicApi\n * @abstract\n */\nclass DomSanitizer {\n}\nif (false) {}\nclass DomSanitizerImpl extends DomSanitizer {\n    /**\n     * @param {?} _doc\n     */\n    constructor(_doc) {\n        super();\n        this._doc = _doc;\n    }\n    /**\n     * @param {?} ctx\n     * @param {?} value\n     * @return {?}\n     */\n    sanitize(ctx, value) {\n        if (value == null)\n            return null;\n        switch (ctx) {\n            case _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"SecurityContext\"].NONE:\n                return (/** @type {?} */ (value));\n            case _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"SecurityContext\"].HTML:\n                if (value instanceof SafeHtmlImpl)\n                    return value.changingThisBreaksApplicationSecurity;\n                this.checkNotSafeValue(value, 'HTML');\n                return Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵ_sanitizeHtml\"])(this._doc, String(value));\n            case _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"SecurityContext\"].STYLE:\n                if (value instanceof SafeStyleImpl)\n                    return value.changingThisBreaksApplicationSecurity;\n                this.checkNotSafeValue(value, 'Style');\n                return Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵ_sanitizeStyle\"])((/** @type {?} */ (value)));\n            case _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"SecurityContext\"].SCRIPT:\n                if (value instanceof SafeScriptImpl)\n                    return value.changingThisBreaksApplicationSecurity;\n                this.checkNotSafeValue(value, 'Script');\n                throw new Error('unsafe value used in a script context');\n            case _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"SecurityContext\"].URL:\n                if (value instanceof SafeResourceUrlImpl || value instanceof SafeUrlImpl) {\n                    // Allow resource URLs in URL contexts, they are strictly more trusted.\n                    return value.changingThisBreaksApplicationSecurity;\n                }\n                this.checkNotSafeValue(value, 'URL');\n                return Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵ_sanitizeUrl\"])(String(value));\n            case _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"SecurityContext\"].RESOURCE_URL:\n                if (value instanceof SafeResourceUrlImpl) {\n                    return value.changingThisBreaksApplicationSecurity;\n                }\n                this.checkNotSafeValue(value, 'ResourceURL');\n                throw new Error('unsafe value used in a resource URL context (see http://g.co/ng/security#xss)');\n            default:\n                throw new Error(`Unexpected SecurityContext ${ctx} (see http://g.co/ng/security#xss)`);\n        }\n    }\n    /**\n     * @private\n     * @param {?} value\n     * @param {?} expectedType\n     * @return {?}\n     */\n    checkNotSafeValue(value, expectedType) {\n        if (value instanceof SafeValueImpl) {\n            throw new Error(`Required a safe ${expectedType}, got a ${value.getTypeName()} ` +\n                `(see http://g.co/ng/security#xss)`);\n        }\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    bypassSecurityTrustHtml(value) { return new SafeHtmlImpl(value); }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    bypassSecurityTrustStyle(value) { return new SafeStyleImpl(value); }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    bypassSecurityTrustScript(value) { return new SafeScriptImpl(value); }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    bypassSecurityTrustUrl(value) { return new SafeUrlImpl(value); }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    bypassSecurityTrustResourceUrl(value) {\n        return new SafeResourceUrlImpl(value);\n    }\n}\nDomSanitizerImpl.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"] }\n];\n/** @nocollapse */\nDomSanitizerImpl.ctorParameters = () => [\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"],] }] }\n];\nif (false) {}\n/**\n * @abstract\n */\nclass SafeValueImpl {\n    /**\n     * @param {?} changingThisBreaksApplicationSecurity\n     */\n    constructor(changingThisBreaksApplicationSecurity) {\n        this.changingThisBreaksApplicationSecurity = changingThisBreaksApplicationSecurity;\n        // empty\n    }\n    /**\n     * @return {?}\n     */\n    toString() {\n        return `SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity}` +\n            ` (see http://g.co/ng/security#xss)`;\n    }\n}\nif (false) {}\nclass SafeHtmlImpl extends SafeValueImpl {\n    /**\n     * @return {?}\n     */\n    getTypeName() { return 'HTML'; }\n}\nclass SafeStyleImpl extends SafeValueImpl {\n    /**\n     * @return {?}\n     */\n    getTypeName() { return 'Style'; }\n}\nclass SafeScriptImpl extends SafeValueImpl {\n    /**\n     * @return {?}\n     */\n    getTypeName() { return 'Script'; }\n}\nclass SafeUrlImpl extends SafeValueImpl {\n    /**\n     * @return {?}\n     */\n    getTypeName() { return 'URL'; }\n}\nclass SafeResourceUrlImpl extends SafeValueImpl {\n    /**\n     * @return {?}\n     */\n    getTypeName() { return 'ResourceURL'; }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nconst ɵ0$5 = _angular_common__WEBPACK_IMPORTED_MODULE_0__[\"ɵPLATFORM_BROWSER_ID\"];\n/** @type {?} */\nconst INTERNAL_BROWSER_PLATFORM_PROVIDERS = [\n    { provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"PLATFORM_ID\"], useValue: ɵ0$5 },\n    { provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"PLATFORM_INITIALIZER\"], useValue: initDomAdapter, multi: true },\n    { provide: _angular_common__WEBPACK_IMPORTED_MODULE_0__[\"PlatformLocation\"], useClass: BrowserPlatformLocation, deps: [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"]] },\n    { provide: _angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"], useFactory: _document, deps: [] },\n];\n/**\n * \\@security Replacing built-in sanitization providers exposes the application to XSS risks.\n * Attacker-controlled data introduced by an unsanitized provider could expose your\n * application to XSS risks. For more detail, see the [Security Guide](http://g.co/ng/security).\n * \\@publicApi\n * @type {?}\n */\nconst BROWSER_SANITIZATION_PROVIDERS = [\n    { provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Sanitizer\"], useExisting: DomSanitizer },\n    { provide: DomSanitizer, useClass: DomSanitizerImpl, deps: [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"]] },\n];\n/**\n * \\@publicApi\n * @type {?}\n */\nconst platformBrowser = Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"createPlatformFactory\"])(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"platformCore\"], 'browser', INTERNAL_BROWSER_PLATFORM_PROVIDERS);\n/**\n * @return {?}\n */\nfunction initDomAdapter() {\n    BrowserDomAdapter.makeCurrent();\n    BrowserGetTestability.init();\n}\n/**\n * @return {?}\n */\nfunction errorHandler() {\n    return new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ErrorHandler\"]();\n}\n/**\n * @return {?}\n */\nfunction _document() {\n    return document;\n}\n/** @type {?} */\nconst BROWSER_MODULE_PROVIDERS = [\n    BROWSER_SANITIZATION_PROVIDERS,\n    { provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵAPP_ROOT\"], useValue: true },\n    { provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ErrorHandler\"], useFactory: errorHandler, deps: [] },\n    {\n        provide: EVENT_MANAGER_PLUGINS,\n        useClass: DomEventsPlugin,\n        multi: true,\n        deps: [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"], _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgZone\"], _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"PLATFORM_ID\"]]\n    },\n    { provide: EVENT_MANAGER_PLUGINS, useClass: KeyEventsPlugin, multi: true, deps: [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"]] },\n    {\n        provide: EVENT_MANAGER_PLUGINS,\n        useClass: HammerGesturesPlugin,\n        multi: true,\n        deps: [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"], HAMMER_GESTURE_CONFIG, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵConsole\"], [new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"](), HAMMER_LOADER]]\n    },\n    { provide: HAMMER_GESTURE_CONFIG, useClass: HammerGestureConfig, deps: [] },\n    {\n        provide: DomRendererFactory2,\n        useClass: DomRendererFactory2,\n        deps: [EventManager, DomSharedStylesHost, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"APP_ID\"]]\n    },\n    { provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"RendererFactory2\"], useExisting: DomRendererFactory2 },\n    { provide: SharedStylesHost, useExisting: DomSharedStylesHost },\n    { provide: DomSharedStylesHost, useClass: DomSharedStylesHost, deps: [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"]] },\n    { provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Testability\"], useClass: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Testability\"], deps: [_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgZone\"]] },\n    { provide: EventManager, useClass: EventManager, deps: [EVENT_MANAGER_PLUGINS, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgZone\"]] },\n    ELEMENT_PROBE_PROVIDERS,\n];\n/**\n * Exports required infrastructure for all Angular apps.\n * Included by default in all Angular apps created with the CLI\n * `new` command.\n * Re-exports `CommonModule` and `ApplicationModule`, making their\n * exports and providers available to all apps.\n *\n * \\@publicApi\n */\nclass BrowserModule {\n    /**\n     * @param {?} parentModule\n     */\n    constructor(parentModule) {\n        if (parentModule) {\n            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.`);\n        }\n    }\n    /**\n     * Configures a browser-based app to transition from a server-rendered app, if\n     * one is present on the page.\n     *\n     * @param {?} params An object containing an identifier for the app to transition.\n     * The ID must match between the client and server versions of the app.\n     * @return {?} The reconfigured `BrowserModule` to import into the app's root `AppModule`.\n     */\n    static withServerTransition(params) {\n        return {\n            ngModule: BrowserModule,\n            providers: [\n                { provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"APP_ID\"], useValue: params.appId },\n                { provide: TRANSITION_ID, useExisting: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"APP_ID\"] },\n                SERVER_TRANSITION_PROVIDERS,\n            ],\n        };\n    }\n}\nBrowserModule.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgModule\"], args: [{ providers: BROWSER_MODULE_PROVIDERS, exports: [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"CommonModule\"], _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ApplicationModule\"]] },] }\n];\n/** @nocollapse */\nBrowserModule.ctorParameters = () => [\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"SkipSelf\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"], args: [BrowserModule,] }] }\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Factory to create Meta service.\n * @return {?}\n */\nfunction createMeta() {\n    return new Meta(Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"]));\n}\n/**\n * A service that can be used to get and add meta tags.\n *\n * \\@publicApi\n */\nclass Meta {\n    /**\n     * @param {?} _doc\n     */\n    constructor(_doc) {\n        this._doc = _doc;\n        this._dom = getDOM();\n    }\n    /**\n     * @param {?} tag\n     * @param {?=} forceCreation\n     * @return {?}\n     */\n    addTag(tag, forceCreation = false) {\n        if (!tag)\n            return null;\n        return this._getOrCreateElement(tag, forceCreation);\n    }\n    /**\n     * @param {?} tags\n     * @param {?=} forceCreation\n     * @return {?}\n     */\n    addTags(tags, forceCreation = false) {\n        if (!tags)\n            return [];\n        return tags.reduce((/**\n         * @param {?} result\n         * @param {?} tag\n         * @return {?}\n         */\n        (result, tag) => {\n            if (tag) {\n                result.push(this._getOrCreateElement(tag, forceCreation));\n            }\n            return result;\n        }), []);\n    }\n    /**\n     * @param {?} attrSelector\n     * @return {?}\n     */\n    getTag(attrSelector) {\n        if (!attrSelector)\n            return null;\n        return this._dom.querySelector(this._doc, `meta[${attrSelector}]`) || null;\n    }\n    /**\n     * @param {?} attrSelector\n     * @return {?}\n     */\n    getTags(attrSelector) {\n        if (!attrSelector)\n            return [];\n        /** @type {?} */\n        const list /*NodeList*/ = this._dom.querySelectorAll(this._doc, `meta[${attrSelector}]`);\n        return list ? [].slice.call(list) : [];\n    }\n    /**\n     * @param {?} tag\n     * @param {?=} selector\n     * @return {?}\n     */\n    updateTag(tag, selector) {\n        if (!tag)\n            return null;\n        selector = selector || this._parseSelector(tag);\n        /** @type {?} */\n        const meta = (/** @type {?} */ (this.getTag(selector)));\n        if (meta) {\n            return this._setMetaElementAttributes(tag, meta);\n        }\n        return this._getOrCreateElement(tag, true);\n    }\n    /**\n     * @param {?} attrSelector\n     * @return {?}\n     */\n    removeTag(attrSelector) { this.removeTagElement((/** @type {?} */ (this.getTag(attrSelector)))); }\n    /**\n     * @param {?} meta\n     * @return {?}\n     */\n    removeTagElement(meta) {\n        if (meta) {\n            this._dom.remove(meta);\n        }\n    }\n    /**\n     * @private\n     * @param {?} meta\n     * @param {?=} forceCreation\n     * @return {?}\n     */\n    _getOrCreateElement(meta, forceCreation = false) {\n        if (!forceCreation) {\n            /** @type {?} */\n            const selector = this._parseSelector(meta);\n            /** @type {?} */\n            const elem = (/** @type {?} */ (this.getTag(selector)));\n            // It's allowed to have multiple elements with the same name so it's not enough to\n            // just check that element with the same name already present on the page. We also need to\n            // check if element has tag attributes\n            if (elem && this._containsAttributes(meta, elem))\n                return elem;\n        }\n        /** @type {?} */\n        const element = (/** @type {?} */ (this._dom.createElement('meta')));\n        this._setMetaElementAttributes(meta, element);\n        /** @type {?} */\n        const head = this._dom.getElementsByTagName(this._doc, 'head')[0];\n        this._dom.appendChild(head, element);\n        return element;\n    }\n    /**\n     * @private\n     * @param {?} tag\n     * @param {?} el\n     * @return {?}\n     */\n    _setMetaElementAttributes(tag, el) {\n        Object.keys(tag).forEach((/**\n         * @param {?} prop\n         * @return {?}\n         */\n        (prop) => this._dom.setAttribute(el, prop, tag[prop])));\n        return el;\n    }\n    /**\n     * @private\n     * @param {?} tag\n     * @return {?}\n     */\n    _parseSelector(tag) {\n        /** @type {?} */\n        const attr = tag.name ? 'name' : 'property';\n        return `${attr}=\"${tag[attr]}\"`;\n    }\n    /**\n     * @private\n     * @param {?} tag\n     * @param {?} elem\n     * @return {?}\n     */\n    _containsAttributes(tag, elem) {\n        return Object.keys(tag).every((/**\n         * @param {?} key\n         * @return {?}\n         */\n        (key) => this._dom.getAttribute(elem, key) === tag[key]));\n    }\n}\nMeta.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"], args: [{ providedIn: 'root', useFactory: createMeta, deps: [] },] }\n];\n/** @nocollapse */\nMeta.ctorParameters = () => [\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"],] }] }\n];\n/** @nocollapse */ Meta.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵdefineInjectable\"])({ factory: createMeta, token: Meta, providedIn: \"root\" });\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Factory to create Title service.\n * @return {?}\n */\nfunction createTitle() {\n    return new Title(Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"]));\n}\n/**\n * A service that can be used to get and set the title of a current HTML document.\n *\n * Since an Angular application can't be bootstrapped on the entire HTML document (`<html>` tag)\n * it is not possible to bind to the `text` property of the `HTMLTitleElement` elements\n * (representing the `<title>` tag). Instead, this service can be used to set and get the current\n * title value.\n *\n * \\@publicApi\n */\nclass Title {\n    /**\n     * @param {?} _doc\n     */\n    constructor(_doc) {\n        this._doc = _doc;\n    }\n    /**\n     * Get the title of the current HTML document.\n     * @return {?}\n     */\n    getTitle() { return getDOM().getTitle(this._doc); }\n    /**\n     * Set the title of the current HTML document.\n     * @param {?} newTitle\n     * @return {?}\n     */\n    setTitle(newTitle) { getDOM().setTitle(this._doc, newTitle); }\n}\nTitle.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"], args: [{ providedIn: 'root', useFactory: createTitle, deps: [] },] }\n];\n/** @nocollapse */\nTitle.ctorParameters = () => [\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"],] }] }\n];\n/** @nocollapse */ Title.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵdefineInjectable\"])({ factory: createTitle, token: Title, providedIn: \"root\" });\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/** @type {?} */\nconst win = typeof window !== 'undefined' && window || (/** @type {?} */ ({}));\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass ChangeDetectionPerfRecord {\n    /**\n     * @param {?} msPerTick\n     * @param {?} numTicks\n     */\n    constructor(msPerTick, numTicks) {\n        this.msPerTick = msPerTick;\n        this.numTicks = numTicks;\n    }\n}\nif (false) {}\n/**\n * Entry point for all Angular profiling-related debug tools. This object\n * corresponds to the `ng.profiler` in the dev console.\n */\nclass AngularProfiler {\n    /**\n     * @param {?} ref\n     */\n    constructor(ref) { this.appRef = ref.injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ApplicationRef\"]); }\n    // tslint:disable:no-console\n    /**\n     * Exercises change detection in a loop and then prints the average amount of\n     * time in milliseconds how long a single round of change detection takes for\n     * the current state of the UI. It runs a minimum of 5 rounds for a minimum\n     * of 500 milliseconds.\n     *\n     * Optionally, a user may pass a `config` parameter containing a map of\n     * options. Supported options are:\n     *\n     * `record` (boolean) - causes the profiler to record a CPU profile while\n     * it exercises the change detector. Example:\n     *\n     * ```\n     * ng.profiler.timeChangeDetection({record: true})\n     * ```\n     * @param {?} config\n     * @return {?}\n     */\n    timeChangeDetection(config) {\n        /** @type {?} */\n        const record = config && config['record'];\n        /** @type {?} */\n        const profileName = 'Change Detection';\n        // Profiler is not available in Android browsers, nor in IE 9 without dev tools opened\n        /** @type {?} */\n        const isProfilerAvailable = win.console.profile != null;\n        if (record && isProfilerAvailable) {\n            win.console.profile(profileName);\n        }\n        /** @type {?} */\n        const start = getDOM().performanceNow();\n        /** @type {?} */\n        let numTicks = 0;\n        while (numTicks < 5 || (getDOM().performanceNow() - start) < 500) {\n            this.appRef.tick();\n            numTicks++;\n        }\n        /** @type {?} */\n        const end = getDOM().performanceNow();\n        if (record && isProfilerAvailable) {\n            win.console.profileEnd(profileName);\n        }\n        /** @type {?} */\n        const msPerTick = (end - start) / numTicks;\n        win.console.log(`ran ${numTicks} change detection cycles`);\n        win.console.log(`${msPerTick.toFixed(2)} ms per check`);\n        return new ChangeDetectionPerfRecord(msPerTick, numTicks);\n    }\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst PROFILER_GLOBAL_NAME = 'profiler';\n/**\n * Enabled Angular debug tools that are accessible via your browser's\n * developer console.\n *\n * Usage:\n *\n * 1. Open developer console (e.g. in Chrome Ctrl + Shift + j)\n * 1. Type `ng.` (usually the console will show auto-complete suggestion)\n * 1. Try the change detection profiler `ng.profiler.timeChangeDetection()`\n *    then hit Enter.\n *\n * \\@publicApi\n * @template T\n * @param {?} ref\n * @return {?}\n */\nfunction enableDebugTools(ref) {\n    exportNgVar(PROFILER_GLOBAL_NAME, new AngularProfiler(ref));\n    return ref;\n}\n/**\n * Disables Angular tools.\n *\n * \\@publicApi\n * @return {?}\n */\nfunction disableDebugTools() {\n    exportNgVar(PROFILER_GLOBAL_NAME, null);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @param {?} text\n * @return {?}\n */\nfunction escapeHtml(text) {\n    /** @type {?} */\n    const escapedText = {\n        '&': '&a;',\n        '\"': '&q;',\n        '\\'': '&s;',\n        '<': '&l;',\n        '>': '&g;',\n    };\n    return text.replace(/[&\"'<>]/g, (/**\n     * @param {?} s\n     * @return {?}\n     */\n    s => escapedText[s]));\n}\n/**\n * @param {?} text\n * @return {?}\n */\nfunction unescapeHtml(text) {\n    /** @type {?} */\n    const unescapedText = {\n        '&a;': '&',\n        '&q;': '\"',\n        '&s;': '\\'',\n        '&l;': '<',\n        '&g;': '>',\n    };\n    return text.replace(/&[^;]+;/g, (/**\n     * @param {?} s\n     * @return {?}\n     */\n    s => unescapedText[s]));\n}\n/**\n * Create a `StateKey<T>` that can be used to store value of type T with `TransferState`.\n *\n * Example:\n *\n * ```\n * const COUNTER_KEY = makeStateKey<number>('counter');\n * let value = 10;\n *\n * transferState.set(COUNTER_KEY, value);\n * ```\n *\n * \\@publicApi\n * @template T\n * @param {?} key\n * @return {?}\n */\nfunction makeStateKey(key) {\n    return (/** @type {?} */ (key));\n}\n/**\n * A key value store that is transferred from the application on the server side to the application\n * on the client side.\n *\n * `TransferState` will be available as an injectable token. To use it import\n * `ServerTransferStateModule` on the server and `BrowserTransferStateModule` on the client.\n *\n * The values in the store are serialized/deserialized using JSON.stringify/JSON.parse. So only\n * boolean, number, string, null and non-class objects will be serialized and deserialzied in a\n * non-lossy manner.\n *\n * \\@publicApi\n */\nclass TransferState {\n    constructor() {\n        this.store = {};\n        this.onSerializeCallbacks = {};\n    }\n    /**\n     * \\@internal\n     * @param {?} initState\n     * @return {?}\n     */\n    static init(initState) {\n        /** @type {?} */\n        const transferState = new TransferState();\n        transferState.store = initState;\n        return transferState;\n    }\n    /**\n     * Get the value corresponding to a key. Return `defaultValue` if key is not found.\n     * @template T\n     * @param {?} key\n     * @param {?} defaultValue\n     * @return {?}\n     */\n    get(key, defaultValue) {\n        return this.store[key] !== undefined ? (/** @type {?} */ (this.store[key])) : defaultValue;\n    }\n    /**\n     * Set the value corresponding to a key.\n     * @template T\n     * @param {?} key\n     * @param {?} value\n     * @return {?}\n     */\n    set(key, value) { this.store[key] = value; }\n    /**\n     * Remove a key from the store.\n     * @template T\n     * @param {?} key\n     * @return {?}\n     */\n    remove(key) { delete this.store[key]; }\n    /**\n     * Test whether a key exists in the store.\n     * @template T\n     * @param {?} key\n     * @return {?}\n     */\n    hasKey(key) { return this.store.hasOwnProperty(key); }\n    /**\n     * Register a callback to provide the value for a key when `toJson` is called.\n     * @template T\n     * @param {?} key\n     * @param {?} callback\n     * @return {?}\n     */\n    onSerialize(key, callback) {\n        this.onSerializeCallbacks[key] = callback;\n    }\n    /**\n     * Serialize the current state of the store to JSON.\n     * @return {?}\n     */\n    toJson() {\n        // Call the onSerialize callbacks and put those values into the store.\n        for (const key in this.onSerializeCallbacks) {\n            if (this.onSerializeCallbacks.hasOwnProperty(key)) {\n                try {\n                    this.store[key] = this.onSerializeCallbacks[key]();\n                }\n                catch (e) {\n                    console.warn('Exception in onSerialize callback: ', e);\n                }\n            }\n        }\n        return JSON.stringify(this.store);\n    }\n}\nTransferState.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"] }\n];\nif (false) {}\n/**\n * @param {?} doc\n * @param {?} appId\n * @return {?}\n */\nfunction initTransferState(doc, appId) {\n    // Locate the script tag with the JSON data transferred from the server.\n    // The id of the script tag is set to the Angular appId + 'state'.\n    /** @type {?} */\n    const script = doc.getElementById(appId + '-state');\n    /** @type {?} */\n    let initialState = {};\n    if (script && script.textContent) {\n        try {\n            initialState = JSON.parse(unescapeHtml(script.textContent));\n        }\n        catch (e) {\n            console.warn('Exception while restoring TransferState for app ' + appId, e);\n        }\n    }\n    return TransferState.init(initialState);\n}\n/**\n * NgModule to install on the client side while using the `TransferState` to transfer state from\n * server to client.\n *\n * \\@publicApi\n */\nclass BrowserTransferStateModule {\n}\nBrowserTransferStateModule.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgModule\"], args: [{\n                providers: [{ provide: TransferState, useFactory: initTransferState, deps: [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"], _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"APP_ID\"]] }],\n            },] }\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Predicates for use with {\\@link DebugElement}'s query functions.\n *\n * \\@publicApi\n */\nclass By {\n    /**\n     * Match all nodes.\n     *\n     * \\@usageNotes\n     * ### Example\n     *\n     * {\\@example platform-browser/dom/debug/ts/by/by.ts region='by_all'}\n     * @return {?}\n     */\n    static all() { return (/**\n     * @return {?}\n     */\n    () => true); }\n    /**\n     * Match elements by the given CSS selector.\n     *\n     * \\@usageNotes\n     * ### Example\n     *\n     * {\\@example platform-browser/dom/debug/ts/by/by.ts region='by_css'}\n     * @param {?} selector\n     * @return {?}\n     */\n    static css(selector) {\n        return (/**\n         * @param {?} debugElement\n         * @return {?}\n         */\n        (debugElement) => {\n            return debugElement.nativeElement != null ?\n                getDOM().elementMatches(debugElement.nativeElement, selector) :\n                false;\n        });\n    }\n    /**\n     * Match nodes that have the given directive present.\n     *\n     * \\@usageNotes\n     * ### Example\n     *\n     * {\\@example platform-browser/dom/debug/ts/by/by.ts region='by_directive'}\n     * @param {?} type\n     * @return {?}\n     */\n    static directive(type) {\n        return (/**\n         * @param {?} debugNode\n         * @return {?}\n         */\n        (debugNode) => (/** @type {?} */ (debugNode.providerTokens)).indexOf(type) !== -1);\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@publicApi\n * @type {?}\n */\nconst VERSION = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Version\"]('8.2.14');\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\n\n//# sourceMappingURL=platform-browser.js.map\n\n\n/***/ }),\n\n/***/ \"./node_modules/@angular/router/fesm2015/router.js\":\n/*!*********************************************************!*\\\n  !*** ./node_modules/@angular/router/fesm2015/router.js ***!\n  \\*********************************************************/\n/*! exports provided: ɵangular_packages_router_router_l, ɵEmptyOutletComponent, ɵangular_packages_router_router_a, ɵangular_packages_router_router_h, ɵangular_packages_router_router_c, ɵangular_packages_router_router_i, ɵangular_packages_router_router_j, ɵangular_packages_router_router_e, ɵangular_packages_router_router_d, ɵangular_packages_router_router_k, ɵangular_packages_router_router_g, ɵangular_packages_router_router_b, ɵangular_packages_router_router_f, ɵangular_packages_router_router_o, ɵangular_packages_router_router_m, ɵangular_packages_router_router_n, RouterLink, RouterLinkWithHref, RouterLinkActive, RouterOutlet, ActivationEnd, ActivationStart, ChildActivationEnd, ChildActivationStart, GuardsCheckEnd, GuardsCheckStart, NavigationCancel, NavigationEnd, NavigationError, NavigationStart, ResolveEnd, ResolveStart, RouteConfigLoadEnd, RouteConfigLoadStart, RouterEvent, RoutesRecognized, Scroll, RouteReuseStrategy, Router, ROUTES, ROUTER_CONFIGURATION, ROUTER_INITIALIZER, RouterModule, provideRoutes, ChildrenOutletContexts, OutletContext, NoPreloading, PreloadAllModules, PreloadingStrategy, RouterPreloader, ActivatedRoute, ActivatedRouteSnapshot, RouterState, RouterStateSnapshot, PRIMARY_OUTLET, convertToParamMap, UrlHandlingStrategy, DefaultUrlSerializer, UrlSegment, UrlSegmentGroup, UrlSerializer, UrlTree, VERSION, ɵROUTER_PROVIDERS, ɵflatten */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_router_router_l\", function() { return ɵEmptyOutletComponent; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵEmptyOutletComponent\", function() { return ɵEmptyOutletComponent; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_router_router_a\", function() { return ROUTER_FORROOT_GUARD; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_router_router_h\", function() { return RouterInitializer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_router_router_c\", function() { return createRouterScroller; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_router_router_i\", function() { return getAppInitializer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_router_router_j\", function() { return getBootstrapListener; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_router_router_e\", function() { return provideForRootGuard; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_router_router_d\", function() { return provideLocationStrategy; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_router_router_k\", function() { return provideRouterInitializer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_router_router_g\", function() { return rootRoute; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_router_router_b\", function() { return routerNgProbeToken; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_router_router_f\", function() { return setupRouter; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_router_router_o\", function() { return RouterScroller; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_router_router_m\", function() { return Tree; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_router_router_n\", function() { return TreeNode; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RouterLink\", function() { return RouterLink; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RouterLinkWithHref\", function() { return RouterLinkWithHref; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RouterLinkActive\", function() { return RouterLinkActive; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RouterOutlet\", function() { return RouterOutlet; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ActivationEnd\", function() { return ActivationEnd; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ActivationStart\", function() { return ActivationStart; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ChildActivationEnd\", function() { return ChildActivationEnd; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ChildActivationStart\", function() { return ChildActivationStart; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"GuardsCheckEnd\", function() { return GuardsCheckEnd; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"GuardsCheckStart\", function() { return GuardsCheckStart; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NavigationCancel\", function() { return NavigationCancel; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NavigationEnd\", function() { return NavigationEnd; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NavigationError\", function() { return NavigationError; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NavigationStart\", function() { return NavigationStart; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ResolveEnd\", function() { return ResolveEnd; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ResolveStart\", function() { return ResolveStart; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RouteConfigLoadEnd\", function() { return RouteConfigLoadEnd; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RouteConfigLoadStart\", function() { return RouteConfigLoadStart; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RouterEvent\", function() { return RouterEvent; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RoutesRecognized\", function() { return RoutesRecognized; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Scroll\", function() { return Scroll; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RouteReuseStrategy\", function() { return RouteReuseStrategy; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Router\", function() { return Router; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ROUTES\", function() { return ROUTES; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ROUTER_CONFIGURATION\", function() { return ROUTER_CONFIGURATION; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ROUTER_INITIALIZER\", function() { return ROUTER_INITIALIZER; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RouterModule\", function() { return RouterModule; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"provideRoutes\", function() { return provideRoutes; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ChildrenOutletContexts\", function() { return ChildrenOutletContexts; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"OutletContext\", function() { return OutletContext; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NoPreloading\", function() { return NoPreloading; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PreloadAllModules\", function() { return PreloadAllModules; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PreloadingStrategy\", function() { return PreloadingStrategy; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RouterPreloader\", function() { return RouterPreloader; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ActivatedRoute\", function() { return ActivatedRoute; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ActivatedRouteSnapshot\", function() { return ActivatedRouteSnapshot; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RouterState\", function() { return RouterState; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RouterStateSnapshot\", function() { return RouterStateSnapshot; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PRIMARY_OUTLET\", function() { return PRIMARY_OUTLET; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"convertToParamMap\", function() { return convertToParamMap; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"UrlHandlingStrategy\", function() { return UrlHandlingStrategy; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DefaultUrlSerializer\", function() { return DefaultUrlSerializer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"UrlSegment\", function() { return UrlSegment; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"UrlSegmentGroup\", function() { return UrlSegmentGroup; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"UrlSerializer\", function() { return UrlSerializer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"UrlTree\", function() { return UrlTree; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VERSION\", function() { return VERSION; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵROUTER_PROVIDERS\", function() { return ROUTER_PROVIDERS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ɵflatten\", function() { return flatten; });\n/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/common */ \"./node_modules/@angular/common/fesm2015/common.js\");\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ \"./node_modules/rxjs/_esm2015/index.js\");\n/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ \"./node_modules/rxjs/_esm2015/operators/index.js\");\n/* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/platform-browser */ \"./node_modules/@angular/platform-browser/fesm2015/platform-browser.js\");\n/**\n * @license Angular v8.2.14\n * (c) 2010-2019 Google LLC. https://angular.io/\n * License: MIT\n */\n\n\n\n\n\n\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Base for events the router goes through, as opposed to events tied to a specific\n * route. Fired one time for any given navigation.\n *\n * \\@usageNotes\n *\n * ```ts\n * class MyService {\n *   constructor(public router: Router, logger: Logger) {\n *     router.events.pipe(\n *       filter(e => e instanceof RouterEvent)\n *     ).subscribe(e => {\n *       logger.log(e.id, e.url);\n *     });\n *   }\n * }\n * ```\n *\n * @see `Event`\n * \\@publicApi\n */\nclass RouterEvent {\n    /**\n     * @param {?} id\n     * @param {?} url\n     */\n    constructor(id, url) {\n        this.id = id;\n        this.url = url;\n    }\n}\nif (false) {}\n/**\n * An event triggered when a navigation starts.\n *\n * \\@publicApi\n */\nclass NavigationStart extends RouterEvent {\n    /**\n     * @param {?} id\n     * @param {?} url\n     * @param {?=} navigationTrigger\n     * @param {?=} restoredState\n     */\n    constructor(\n    /** @docsNotRequired */\n    id, \n    /** @docsNotRequired */\n    url, \n    /** @docsNotRequired */\n    navigationTrigger = 'imperative', \n    /** @docsNotRequired */\n    restoredState = null) {\n        super(id, url);\n        this.navigationTrigger = navigationTrigger;\n        this.restoredState = restoredState;\n    }\n    /**\n     * \\@docsNotRequired\n     * @return {?}\n     */\n    toString() { return `NavigationStart(id: ${this.id}, url: '${this.url}')`; }\n}\nif (false) {}\n/**\n * An event triggered when a navigation ends successfully.\n *\n * \\@publicApi\n */\nclass NavigationEnd extends RouterEvent {\n    /**\n     * @param {?} id\n     * @param {?} url\n     * @param {?} urlAfterRedirects\n     */\n    constructor(\n    /** @docsNotRequired */\n    id, \n    /** @docsNotRequired */\n    url, urlAfterRedirects) {\n        super(id, url);\n        this.urlAfterRedirects = urlAfterRedirects;\n    }\n    /**\n     * \\@docsNotRequired\n     * @return {?}\n     */\n    toString() {\n        return `NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`;\n    }\n}\nif (false) {}\n/**\n * An event triggered when a navigation is canceled, directly or indirectly.\n *\n * This can happen when a [route guard](guide/router#milestone-5-route-guards)\n * returns `false` or initiates a redirect by returning a `UrlTree`.\n *\n * \\@publicApi\n */\nclass NavigationCancel extends RouterEvent {\n    /**\n     * @param {?} id\n     * @param {?} url\n     * @param {?} reason\n     */\n    constructor(\n    /** @docsNotRequired */\n    id, \n    /** @docsNotRequired */\n    url, reason) {\n        super(id, url);\n        this.reason = reason;\n    }\n    /**\n     * \\@docsNotRequired\n     * @return {?}\n     */\n    toString() { return `NavigationCancel(id: ${this.id}, url: '${this.url}')`; }\n}\nif (false) {}\n/**\n * An event triggered when a navigation fails due to an unexpected error.\n *\n * \\@publicApi\n */\nclass NavigationError extends RouterEvent {\n    /**\n     * @param {?} id\n     * @param {?} url\n     * @param {?} error\n     */\n    constructor(\n    /** @docsNotRequired */\n    id, \n    /** @docsNotRequired */\n    url, error) {\n        super(id, url);\n        this.error = error;\n    }\n    /**\n     * \\@docsNotRequired\n     * @return {?}\n     */\n    toString() {\n        return `NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`;\n    }\n}\nif (false) {}\n/**\n * An event triggered when routes are recognized.\n *\n * \\@publicApi\n */\nclass RoutesRecognized extends RouterEvent {\n    /**\n     * @param {?} id\n     * @param {?} url\n     * @param {?} urlAfterRedirects\n     * @param {?} state\n     */\n    constructor(\n    /** @docsNotRequired */\n    id, \n    /** @docsNotRequired */\n    url, urlAfterRedirects, state) {\n        super(id, url);\n        this.urlAfterRedirects = urlAfterRedirects;\n        this.state = state;\n    }\n    /**\n     * \\@docsNotRequired\n     * @return {?}\n     */\n    toString() {\n        return `RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`;\n    }\n}\nif (false) {}\n/**\n * An event triggered at the start of the Guard phase of routing.\n *\n * \\@publicApi\n */\nclass GuardsCheckStart extends RouterEvent {\n    /**\n     * @param {?} id\n     * @param {?} url\n     * @param {?} urlAfterRedirects\n     * @param {?} state\n     */\n    constructor(\n    /** @docsNotRequired */\n    id, \n    /** @docsNotRequired */\n    url, urlAfterRedirects, state) {\n        super(id, url);\n        this.urlAfterRedirects = urlAfterRedirects;\n        this.state = state;\n    }\n    /**\n     * @return {?}\n     */\n    toString() {\n        return `GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`;\n    }\n}\nif (false) {}\n/**\n * An event triggered at the end of the Guard phase of routing.\n *\n * \\@publicApi\n */\nclass GuardsCheckEnd extends RouterEvent {\n    /**\n     * @param {?} id\n     * @param {?} url\n     * @param {?} urlAfterRedirects\n     * @param {?} state\n     * @param {?} shouldActivate\n     */\n    constructor(\n    /** @docsNotRequired */\n    id, \n    /** @docsNotRequired */\n    url, urlAfterRedirects, state, shouldActivate) {\n        super(id, url);\n        this.urlAfterRedirects = urlAfterRedirects;\n        this.state = state;\n        this.shouldActivate = shouldActivate;\n    }\n    /**\n     * @return {?}\n     */\n    toString() {\n        return `GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`;\n    }\n}\nif (false) {}\n/**\n * An event triggered at the the start of the Resolve phase of routing.\n *\n * Runs in the \"resolve\" phase whether or not there is anything to resolve.\n * In future, may change to only run when there are things to be resolved.\n *\n * \\@publicApi\n */\nclass ResolveStart extends RouterEvent {\n    /**\n     * @param {?} id\n     * @param {?} url\n     * @param {?} urlAfterRedirects\n     * @param {?} state\n     */\n    constructor(\n    /** @docsNotRequired */\n    id, \n    /** @docsNotRequired */\n    url, urlAfterRedirects, state) {\n        super(id, url);\n        this.urlAfterRedirects = urlAfterRedirects;\n        this.state = state;\n    }\n    /**\n     * @return {?}\n     */\n    toString() {\n        return `ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`;\n    }\n}\nif (false) {}\n/**\n * An event triggered at the end of the Resolve phase of routing.\n * @see `ResolveStart`.\n *\n * \\@publicApi\n */\nclass ResolveEnd extends RouterEvent {\n    /**\n     * @param {?} id\n     * @param {?} url\n     * @param {?} urlAfterRedirects\n     * @param {?} state\n     */\n    constructor(\n    /** @docsNotRequired */\n    id, \n    /** @docsNotRequired */\n    url, urlAfterRedirects, state) {\n        super(id, url);\n        this.urlAfterRedirects = urlAfterRedirects;\n        this.state = state;\n    }\n    /**\n     * @return {?}\n     */\n    toString() {\n        return `ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`;\n    }\n}\nif (false) {}\n/**\n * An event triggered before lazy loading a route configuration.\n *\n * \\@publicApi\n */\nclass RouteConfigLoadStart {\n    /**\n     * @param {?} route\n     */\n    constructor(route) {\n        this.route = route;\n    }\n    /**\n     * @return {?}\n     */\n    toString() { return `RouteConfigLoadStart(path: ${this.route.path})`; }\n}\nif (false) {}\n/**\n * An event triggered when a route has been lazy loaded.\n *\n * \\@publicApi\n */\nclass RouteConfigLoadEnd {\n    /**\n     * @param {?} route\n     */\n    constructor(route) {\n        this.route = route;\n    }\n    /**\n     * @return {?}\n     */\n    toString() { return `RouteConfigLoadEnd(path: ${this.route.path})`; }\n}\nif (false) {}\n/**\n * An event triggered at the start of the child-activation\n * part of the Resolve phase of routing.\n * @see `ChildActivationEnd`\n * @see `ResolveStart`\n *\n * \\@publicApi\n */\nclass ChildActivationStart {\n    /**\n     * @param {?} snapshot\n     */\n    constructor(snapshot) {\n        this.snapshot = snapshot;\n    }\n    /**\n     * @return {?}\n     */\n    toString() {\n        /** @type {?} */\n        const path = this.snapshot.routeConfig && this.snapshot.routeConfig.path || '';\n        return `ChildActivationStart(path: '${path}')`;\n    }\n}\nif (false) {}\n/**\n * An event triggered at the end of the child-activation part\n * of the Resolve phase of routing.\n * @see `ChildActivationStart`\n * @see `ResolveStart` *\n * \\@publicApi\n */\nclass ChildActivationEnd {\n    /**\n     * @param {?} snapshot\n     */\n    constructor(snapshot) {\n        this.snapshot = snapshot;\n    }\n    /**\n     * @return {?}\n     */\n    toString() {\n        /** @type {?} */\n        const path = this.snapshot.routeConfig && this.snapshot.routeConfig.path || '';\n        return `ChildActivationEnd(path: '${path}')`;\n    }\n}\nif (false) {}\n/**\n * An event triggered at the start of the activation part\n * of the Resolve phase of routing.\n * @see ActivationEnd`\n * @see `ResolveStart`\n *\n * \\@publicApi\n */\nclass ActivationStart {\n    /**\n     * @param {?} snapshot\n     */\n    constructor(snapshot) {\n        this.snapshot = snapshot;\n    }\n    /**\n     * @return {?}\n     */\n    toString() {\n        /** @type {?} */\n        const path = this.snapshot.routeConfig && this.snapshot.routeConfig.path || '';\n        return `ActivationStart(path: '${path}')`;\n    }\n}\nif (false) {}\n/**\n * An event triggered at the end of the activation part\n * of the Resolve phase of routing.\n * @see `ActivationStart`\n * @see `ResolveStart`\n *\n * \\@publicApi\n */\nclass ActivationEnd {\n    /**\n     * @param {?} snapshot\n     */\n    constructor(snapshot) {\n        this.snapshot = snapshot;\n    }\n    /**\n     * @return {?}\n     */\n    toString() {\n        /** @type {?} */\n        const path = this.snapshot.routeConfig && this.snapshot.routeConfig.path || '';\n        return `ActivationEnd(path: '${path}')`;\n    }\n}\nif (false) {}\n/**\n * An event triggered by scrolling.\n *\n * \\@publicApi\n */\nclass Scroll {\n    /**\n     * @param {?} routerEvent\n     * @param {?} position\n     * @param {?} anchor\n     */\n    constructor(routerEvent, position, anchor) {\n        this.routerEvent = routerEvent;\n        this.position = position;\n        this.anchor = anchor;\n    }\n    /**\n     * @return {?}\n     */\n    toString() {\n        /** @type {?} */\n        const pos = this.position ? `${this.position[0]}, ${this.position[1]}` : null;\n        return `Scroll(anchor: '${this.anchor}', position: '${pos}')`;\n    }\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * This component is used internally within the router to be a placeholder when an empty\n * router-outlet is needed. For example, with a config such as:\n *\n * `{path: 'parent', outlet: 'nav', children: [...]}`\n *\n * In order to render, there needs to be a component on this config, which will default\n * to this `EmptyOutletComponent`.\n */\nclass ɵEmptyOutletComponent {\n}\nɵEmptyOutletComponent.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Component\"], args: [{ template: `<router-outlet></router-outlet>` }] }\n];\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * The primary routing outlet.\n *\n * \\@publicApi\n * @type {?}\n */\nconst PRIMARY_OUTLET = 'primary';\n/**\n * A map that provides access to the required and optional parameters\n * specific to a route.\n * The map supports retrieving a single value with `get()`\n * or multiple values with `getAll()`.\n *\n * @see [URLSearchParams](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams)\n *\n * \\@publicApi\n * @record\n */\nfunction ParamMap() { }\nif (false) {}\nclass ParamsAsMap {\n    /**\n     * @param {?} params\n     */\n    constructor(params) { this.params = params || {}; }\n    /**\n     * @param {?} name\n     * @return {?}\n     */\n    has(name) { return this.params.hasOwnProperty(name); }\n    /**\n     * @param {?} name\n     * @return {?}\n     */\n    get(name) {\n        if (this.has(name)) {\n            /** @type {?} */\n            const v = this.params[name];\n            return Array.isArray(v) ? v[0] : v;\n        }\n        return null;\n    }\n    /**\n     * @param {?} name\n     * @return {?}\n     */\n    getAll(name) {\n        if (this.has(name)) {\n            /** @type {?} */\n            const v = this.params[name];\n            return Array.isArray(v) ? v : [v];\n        }\n        return [];\n    }\n    /**\n     * @return {?}\n     */\n    get keys() { return Object.keys(this.params); }\n}\nif (false) {}\n/**\n * Converts a `Params` instance to a `ParamMap`.\n * \\@publicApi\n * @param {?} params The instance to convert.\n * @return {?} The new map instance.\n *\n */\nfunction convertToParamMap(params) {\n    return new ParamsAsMap(params);\n}\n/** @type {?} */\nconst NAVIGATION_CANCELING_ERROR = 'ngNavigationCancelingError';\n/**\n * @param {?} message\n * @return {?}\n */\nfunction navigationCancelingError(message) {\n    /** @type {?} */\n    const error = Error('NavigationCancelingError: ' + message);\n    ((/** @type {?} */ (error)))[NAVIGATION_CANCELING_ERROR] = true;\n    return error;\n}\n/**\n * @param {?} error\n * @return {?}\n */\nfunction isNavigationCancelingError(error) {\n    return error && ((/** @type {?} */ (error)))[NAVIGATION_CANCELING_ERROR];\n}\n// Matches the route configuration (`route`) against the actual URL (`segments`).\n/**\n * @param {?} segments\n * @param {?} segmentGroup\n * @param {?} route\n * @return {?}\n */\nfunction defaultUrlMatcher(segments, segmentGroup, route) {\n    /** @type {?} */\n    const parts = (/** @type {?} */ (route.path)).split('/');\n    if (parts.length > segments.length) {\n        // The actual URL is shorter than the config, no match\n        return null;\n    }\n    if (route.pathMatch === 'full' &&\n        (segmentGroup.hasChildren() || parts.length < segments.length)) {\n        // The config is longer than the actual URL but we are looking for a full match, return null\n        return null;\n    }\n    /** @type {?} */\n    const posParams = {};\n    // Check each config part against the actual URL\n    for (let index = 0; index < parts.length; index++) {\n        /** @type {?} */\n        const part = parts[index];\n        /** @type {?} */\n        const segment = segments[index];\n        /** @type {?} */\n        const isParameter = part.startsWith(':');\n        if (isParameter) {\n            posParams[part.substring(1)] = segment;\n        }\n        else if (part !== segment.path) {\n            // The actual URL part does not match the config, no match\n            return null;\n        }\n    }\n    return { consumed: segments.slice(0, parts.length), posParams };\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * A configuration object that defines a single route.\n * A set of routes are collected in a `Routes` array to define a `Router` configuration.\n * The router attempts to match segments of a given URL against each route,\n * using the configuration options defined in this object.\n *\n * Supports static, parameterized, redirect, and wildcard routes, as well as\n * custom route data and resolve methods.\n *\n * For detailed usage information, see the [Routing Guide](guide/router).\n *\n * \\@usageNotes\n *\n * ### Simple Configuration\n *\n * The following route specifies that when navigating to, for example,\n * `/team/11/user/bob`, the router creates the 'Team' component\n * with the 'User' child component in it.\n *\n * ```\n * [{\n *   path: 'team/:id',\n *  component: Team,\n *   children: [{\n *     path: 'user/:name',\n *     component: User\n *   }]\n * }]\n * ```\n *\n * ### Multiple Outlets\n *\n * The following route creates sibling components with multiple outlets.\n * When navigating to `/team/11(aux:chat/jim)`, the router creates the 'Team' component next to\n * the 'Chat' component. The 'Chat' component is placed into the 'aux' outlet.\n *\n * ```\n * [{\n *   path: 'team/:id',\n *   component: Team\n * }, {\n *   path: 'chat/:user',\n *   component: Chat\n *   outlet: 'aux'\n * }]\n * ```\n *\n * ### Wild Cards\n *\n * The following route uses wild-card notation to specify a component\n * that is always instantiated regardless of where you navigate to.\n *\n * ```\n * [{\n *   path: '**',\n *   component: WildcardComponent\n * }]\n * ```\n *\n * ### Redirects\n *\n * The following route uses the `redirectTo` property to ignore a segment of\n * a given URL when looking for a child path.\n *\n * When navigating to '/team/11/legacy/user/jim', the router changes the URL segment\n * '/team/11/legacy/user/jim' to '/team/11/user/jim', and then instantiates\n * the Team component with the User child component in it.\n *\n * ```\n * [{\n *   path: 'team/:id',\n *   component: Team,\n *   children: [{\n *     path: 'legacy/user/:name',\n *     redirectTo: 'user/:name'\n *   }, {\n *     path: 'user/:name',\n *     component: User\n *   }]\n * }]\n * ```\n *\n * The redirect path can be relative, as shown in this example, or absolute.\n * If we change the `redirectTo` value in the example to the absolute URL segment '/user/:name',\n * the result URL is also absolute, '/user/jim'.\n * ### Empty Path\n *\n * Empty-path route configurations can be used to instantiate components that do not 'consume'\n * any URL segments.\n *\n * In the following configuration, when navigating to\n * `/team/11`, the router instantiates the 'AllUsers' component.\n *\n * ```\n * [{\n *   path: 'team/:id',\n *   component: Team,\n *   children: [{\n *     path: '',\n *     component: AllUsers\n *   }, {\n *     path: 'user/:name',\n *     component: User\n *   }]\n * }]\n * ```\n *\n * Empty-path routes can have children. In the following example, when navigating\n * to `/team/11/user/jim`, the router instantiates the wrapper component with\n * the user component in it.\n *\n * Note that an empty path route inherits its parent's parameters and data.\n *\n * ```\n * [{\n *   path: 'team/:id',\n *   component: Team,\n *   children: [{\n *     path: '',\n *     component: WrapperCmp,\n *     children: [{\n *       path: 'user/:name',\n *       component: User\n *     }]\n *   }]\n * }]\n * ```\n *\n * ### Matching Strategy\n *\n * The default path-match strategy is 'prefix', which means that the router\n * checks URL elements from the left to see if the URL matches a specified path.\n * For example, '/team/11/user' matches 'team/:id'.\n *\n * ```\n * [{\n *   path: '',\n *   pathMatch: 'prefix', //default\n *   redirectTo: 'main'\n * }, {\n *   path: 'main',\n *   component: Main\n * }]\n * ```\n *\n * You can specify the path-match strategy 'full' to make sure that the path\n * covers the whole unconsumed URL. It is important to do this when redirecting\n * empty-path routes. Otherwise, because an empty path is a prefix of any URL,\n * the router would apply the redirect even when navigating to the redirect destination,\n * creating an endless loop.\n *\n * In the following example, supplying the 'full' `pathMatch` strategy ensures\n * that the router applies the redirect if and only if navigating to '/'.\n *\n * ```\n * [{\n *   path: '',\n *   pathMatch: 'full',\n *   redirectTo: 'main'\n * }, {\n *   path: 'main',\n *   component: Main\n * }]\n * ```\n *\n * ### Componentless Routes\n *\n * You can share parameters between sibling components.\n * For example, suppose that two sibling components should go next to each other,\n * and both of them require an ID parameter. You can accomplish this using a route\n * that does not specify a component at the top level.\n *\n * In the following example, 'MainChild' and 'AuxChild' are siblings.\n * When navigating to 'parent/10/(a//aux:b)', the route instantiates\n * the main child and aux child components next to each other.\n * For this to work, the application component must have the primary and aux outlets defined.\n *\n * ```\n * [{\n *    path: 'parent/:id',\n *    children: [\n *      { path: 'a', component: MainChild },\n *      { path: 'b', component: AuxChild, outlet: 'aux' }\n *    ]\n * }]\n * ```\n *\n * The router merges the parameters, data, and resolve of the componentless\n * parent into the parameters, data, and resolve of the children.\n *\n * This is especially useful when child components are defined\n * with an empty path string, as in the following example.\n * With this configuration, navigating to '/parent/10' creates\n * the main child and aux components.\n *\n * ```\n * [{\n *    path: 'parent/:id',\n *    children: [\n *      { path: '', component: MainChild },\n *      { path: '', component: AuxChild, outlet: 'aux' }\n *    ]\n * }]\n * ```\n *\n * ### Lazy Loading\n *\n * Lazy loading speeds up application load time by splitting the application\n * into multiple bundles and loading them on demand.\n * To use lazy loading, provide the `loadChildren` property  instead of the `children` property.\n *\n * Given the following example route, the router will lazy load\n * the associated module on demand using the browser native import system.\n *\n * ```\n * [{\n *   path: 'lazy',\n *   loadChildren: () => import('./lazy-route/lazy.module').then(mod => mod.LazyModule),\n * }];\n * ```\n *\n * \\@publicApi\n * @record\n */\nfunction Route() { }\nif (false) {}\nclass LoadedRouterConfig {\n    /**\n     * @param {?} routes\n     * @param {?} module\n     */\n    constructor(routes, module) {\n        this.routes = routes;\n        this.module = module;\n    }\n}\nif (false) {}\n/**\n * @param {?} config\n * @param {?=} parentPath\n * @return {?}\n */\nfunction validateConfig(config, parentPath = '') {\n    // forEach doesn't iterate undefined values\n    for (let i = 0; i < config.length; i++) {\n        /** @type {?} */\n        const route = config[i];\n        /** @type {?} */\n        const fullPath = getFullPath(parentPath, route);\n        validateNode(route, fullPath);\n    }\n}\n/**\n * @param {?} route\n * @param {?} fullPath\n * @return {?}\n */\nfunction validateNode(route, fullPath) {\n    if (!route) {\n        throw new Error(`\n      Invalid configuration of route '${fullPath}': 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    `);\n    }\n    if (Array.isArray(route)) {\n        throw new Error(`Invalid configuration of route '${fullPath}': Array cannot be specified`);\n    }\n    if (!route.component && !route.children && !route.loadChildren &&\n        (route.outlet && route.outlet !== PRIMARY_OUTLET)) {\n        throw new Error(`Invalid configuration of route '${fullPath}': a componentless route without children or loadChildren cannot have a named outlet set`);\n    }\n    if (route.redirectTo && route.children) {\n        throw new Error(`Invalid configuration of route '${fullPath}': redirectTo and children cannot be used together`);\n    }\n    if (route.redirectTo && route.loadChildren) {\n        throw new Error(`Invalid configuration of route '${fullPath}': redirectTo and loadChildren cannot be used together`);\n    }\n    if (route.children && route.loadChildren) {\n        throw new Error(`Invalid configuration of route '${fullPath}': children and loadChildren cannot be used together`);\n    }\n    if (route.redirectTo && route.component) {\n        throw new Error(`Invalid configuration of route '${fullPath}': redirectTo and component cannot be used together`);\n    }\n    if (route.path && route.matcher) {\n        throw new Error(`Invalid configuration of route '${fullPath}': path and matcher cannot be used together`);\n    }\n    if (route.redirectTo === void 0 && !route.component && !route.children && !route.loadChildren) {\n        throw new Error(`Invalid configuration of route '${fullPath}'. One of the following must be provided: component, redirectTo, children or loadChildren`);\n    }\n    if (route.path === void 0 && route.matcher === void 0) {\n        throw new Error(`Invalid configuration of route '${fullPath}': routes must have either a path or a matcher specified`);\n    }\n    if (typeof route.path === 'string' && route.path.charAt(0) === '/') {\n        throw new Error(`Invalid configuration of route '${fullPath}': path cannot start with a slash`);\n    }\n    if (route.path === '' && route.redirectTo !== void 0 && route.pathMatch === void 0) {\n        /** @type {?} */\n        const exp = `The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.`;\n        throw new Error(`Invalid configuration of route '{path: \"${fullPath}\", redirectTo: \"${route.redirectTo}\"}': please provide 'pathMatch'. ${exp}`);\n    }\n    if (route.pathMatch !== void 0 && route.pathMatch !== 'full' && route.pathMatch !== 'prefix') {\n        throw new Error(`Invalid configuration of route '${fullPath}': pathMatch can only be set to 'prefix' or 'full'`);\n    }\n    if (route.children) {\n        validateConfig(route.children, fullPath);\n    }\n}\n/**\n * @param {?} parentPath\n * @param {?} currentRoute\n * @return {?}\n */\nfunction getFullPath(parentPath, currentRoute) {\n    if (!currentRoute) {\n        return parentPath;\n    }\n    if (!parentPath && !currentRoute.path) {\n        return '';\n    }\n    else if (parentPath && !currentRoute.path) {\n        return `${parentPath}/`;\n    }\n    else if (!parentPath && currentRoute.path) {\n        return currentRoute.path;\n    }\n    else {\n        return `${parentPath}/${currentRoute.path}`;\n    }\n}\n/**\n * Makes a copy of the config and adds any default required properties.\n * @param {?} r\n * @return {?}\n */\nfunction standardizeConfig(r) {\n    /** @type {?} */\n    const children = r.children && r.children.map(standardizeConfig);\n    /** @type {?} */\n    const c = children ? Object.assign({}, r, { children }) : Object.assign({}, r);\n    if (!c.component && (children || c.loadChildren) && (c.outlet && c.outlet !== PRIMARY_OUTLET)) {\n        c.component = ɵEmptyOutletComponent;\n    }\n    return c;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @param {?} a\n * @param {?} b\n * @return {?}\n */\nfunction shallowEqualArrays(a, b) {\n    if (a.length !== b.length)\n        return false;\n    for (let i = 0; i < a.length; ++i) {\n        if (!shallowEqual(a[i], b[i]))\n            return false;\n    }\n    return true;\n}\n/**\n * @param {?} a\n * @param {?} b\n * @return {?}\n */\nfunction shallowEqual(a, b) {\n    // Casting Object.keys return values to include `undefined` as there are some cases\n    // in IE 11 where this can happen. Cannot provide a test because the behavior only\n    // exists in certain circumstances in IE 11, therefore doing this cast ensures the\n    // logic is correct for when this edge case is hit.\n    /** @type {?} */\n    const k1 = (/** @type {?} */ (Object.keys(a)));\n    /** @type {?} */\n    const k2 = (/** @type {?} */ (Object.keys(b)));\n    if (!k1 || !k2 || k1.length != k2.length) {\n        return false;\n    }\n    /** @type {?} */\n    let key;\n    for (let i = 0; i < k1.length; i++) {\n        key = k1[i];\n        if (a[key] !== b[key]) {\n            return false;\n        }\n    }\n    return true;\n}\n/**\n * Flattens single-level nested arrays.\n * @template T\n * @param {?} arr\n * @return {?}\n */\nfunction flatten(arr) {\n    return Array.prototype.concat.apply([], arr);\n}\n/**\n * Return the last element of an array.\n * @template T\n * @param {?} a\n * @return {?}\n */\nfunction last(a) {\n    return a.length > 0 ? a[a.length - 1] : null;\n}\n/**\n * Verifys all booleans in an array are `true`.\n * @param {?} bools\n * @return {?}\n */\nfunction and(bools) {\n    return !bools.some((/**\n     * @param {?} v\n     * @return {?}\n     */\n    v => !v));\n}\n/**\n * @template K, V\n * @param {?} map\n * @param {?} callback\n * @return {?}\n */\nfunction forEach(map, callback) {\n    for (const prop in map) {\n        if (map.hasOwnProperty(prop)) {\n            callback(map[prop], prop);\n        }\n    }\n}\n/**\n * @template A, B\n * @param {?} obj\n * @param {?} fn\n * @return {?}\n */\nfunction waitForMap(obj, fn) {\n    if (Object.keys(obj).length === 0) {\n        return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])({});\n    }\n    /** @type {?} */\n    const waitHead = [];\n    /** @type {?} */\n    const waitTail = [];\n    /** @type {?} */\n    const res = {};\n    forEach(obj, (/**\n     * @param {?} a\n     * @param {?} k\n     * @return {?}\n     */\n    (a, k) => {\n        /** @type {?} */\n        const mapped = fn(k, a).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])((/**\n         * @param {?} r\n         * @return {?}\n         */\n        (r) => res[k] = r)));\n        if (k === PRIMARY_OUTLET) {\n            waitHead.push(mapped);\n        }\n        else {\n            waitTail.push(mapped);\n        }\n    }));\n    // Closure compiler has problem with using spread operator here. So we use \"Array.concat\".\n    // Note that we also need to cast the new promise because TypeScript cannot infer the type\n    // when calling the \"of\" function through \"Function.apply\"\n    return ((/** @type {?} */ (rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"].apply(null, waitHead.concat(waitTail)))))\n        .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"concatAll\"])(), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"last\"])(), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])((/**\n     * @return {?}\n     */\n    () => res)));\n}\n/**\n * @template T\n * @param {?} value\n * @return {?}\n */\nfunction wrapIntoObservable(value) {\n    if (Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵisObservable\"])(value)) {\n        return value;\n    }\n    if (Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵisPromise\"])(value)) {\n        // Use `Promise.resolve()` to wrap promise-like instances.\n        // Required ie when a Resolver returns a AngularJS `$q` promise to correctly trigger the\n        // change detection.\n        return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"from\"])(Promise.resolve(value));\n    }\n    return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(value);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @return {?}\n */\nfunction createEmptyUrlTree() {\n    return new UrlTree(new UrlSegmentGroup([], {}), {}, null);\n}\n/**\n * @param {?} container\n * @param {?} containee\n * @param {?} exact\n * @return {?}\n */\nfunction containsTree(container, containee, exact) {\n    if (exact) {\n        return equalQueryParams(container.queryParams, containee.queryParams) &&\n            equalSegmentGroups(container.root, containee.root);\n    }\n    return containsQueryParams(container.queryParams, containee.queryParams) &&\n        containsSegmentGroup(container.root, containee.root);\n}\n/**\n * @param {?} container\n * @param {?} containee\n * @return {?}\n */\nfunction equalQueryParams(container, containee) {\n    // TODO: This does not handle array params correctly.\n    return shallowEqual(container, containee);\n}\n/**\n * @param {?} container\n * @param {?} containee\n * @return {?}\n */\nfunction equalSegmentGroups(container, containee) {\n    if (!equalPath(container.segments, containee.segments))\n        return false;\n    if (container.numberOfChildren !== containee.numberOfChildren)\n        return false;\n    for (const c in containee.children) {\n        if (!container.children[c])\n            return false;\n        if (!equalSegmentGroups(container.children[c], containee.children[c]))\n            return false;\n    }\n    return true;\n}\n/**\n * @param {?} container\n * @param {?} containee\n * @return {?}\n */\nfunction containsQueryParams(container, containee) {\n    // TODO: This does not handle array params correctly.\n    return Object.keys(containee).length <= Object.keys(container).length &&\n        Object.keys(containee).every((/**\n         * @param {?} key\n         * @return {?}\n         */\n        key => containee[key] === container[key]));\n}\n/**\n * @param {?} container\n * @param {?} containee\n * @return {?}\n */\nfunction containsSegmentGroup(container, containee) {\n    return containsSegmentGroupHelper(container, containee, containee.segments);\n}\n/**\n * @param {?} container\n * @param {?} containee\n * @param {?} containeePaths\n * @return {?}\n */\nfunction containsSegmentGroupHelper(container, containee, containeePaths) {\n    if (container.segments.length > containeePaths.length) {\n        /** @type {?} */\n        const current = container.segments.slice(0, containeePaths.length);\n        if (!equalPath(current, containeePaths))\n            return false;\n        if (containee.hasChildren())\n            return false;\n        return true;\n    }\n    else if (container.segments.length === containeePaths.length) {\n        if (!equalPath(container.segments, containeePaths))\n            return false;\n        for (const c in containee.children) {\n            if (!container.children[c])\n                return false;\n            if (!containsSegmentGroup(container.children[c], containee.children[c]))\n                return false;\n        }\n        return true;\n    }\n    else {\n        /** @type {?} */\n        const current = containeePaths.slice(0, container.segments.length);\n        /** @type {?} */\n        const next = containeePaths.slice(container.segments.length);\n        if (!equalPath(container.segments, current))\n            return false;\n        if (!container.children[PRIMARY_OUTLET])\n            return false;\n        return containsSegmentGroupHelper(container.children[PRIMARY_OUTLET], containee, next);\n    }\n}\n/**\n * \\@description\n *\n * Represents the parsed URL.\n *\n * Since a router state is a tree, and the URL is nothing but a serialized state, the URL is a\n * serialized tree.\n * UrlTree is a data structure that provides a lot of affordances in dealing with URLs\n *\n * \\@usageNotes\n * ### Example\n *\n * ```\n * \\@Component({templateUrl:'template.html'})\n * class MyComponent {\n *   constructor(router: Router) {\n *     const tree: UrlTree =\n *       router.parseUrl('/team/33/(user/victor//support:help)?debug=true#fragment');\n *     const f = tree.fragment; // return 'fragment'\n *     const q = tree.queryParams; // returns {debug: 'true'}\n *     const g: UrlSegmentGroup = tree.root.children[PRIMARY_OUTLET];\n *     const s: UrlSegment[] = g.segments; // returns 2 segments 'team' and '33'\n *     g.children[PRIMARY_OUTLET].segments; // returns 2 segments 'user' and 'victor'\n *     g.children['support'].segments; // return 1 segment 'help'\n *   }\n * }\n * ```\n *\n * \\@publicApi\n */\nclass UrlTree {\n    /**\n     * \\@internal\n     * @param {?} root\n     * @param {?} queryParams\n     * @param {?} fragment\n     */\n    constructor(root, queryParams, fragment) {\n        this.root = root;\n        this.queryParams = queryParams;\n        this.fragment = fragment;\n    }\n    /**\n     * @return {?}\n     */\n    get queryParamMap() {\n        if (!this._queryParamMap) {\n            this._queryParamMap = convertToParamMap(this.queryParams);\n        }\n        return this._queryParamMap;\n    }\n    /**\n     * \\@docsNotRequired\n     * @return {?}\n     */\n    toString() { return DEFAULT_SERIALIZER.serialize(this); }\n}\nif (false) {}\n/**\n * \\@description\n *\n * Represents the parsed URL segment group.\n *\n * See `UrlTree` for more information.\n *\n * \\@publicApi\n */\nclass UrlSegmentGroup {\n    /**\n     * @param {?} segments\n     * @param {?} children\n     */\n    constructor(segments, children) {\n        this.segments = segments;\n        this.children = children;\n        /**\n         * The parent node in the url tree\n         */\n        this.parent = null;\n        forEach(children, (/**\n         * @template THIS\n         * @this {THIS}\n         * @param {?} v\n         * @param {?} k\n         * @return {THIS}\n         */\n        (v, k) => v.parent = this));\n    }\n    /**\n     * Whether the segment has child segments\n     * @return {?}\n     */\n    hasChildren() { return this.numberOfChildren > 0; }\n    /**\n     * Number of child segments\n     * @return {?}\n     */\n    get numberOfChildren() { return Object.keys(this.children).length; }\n    /**\n     * \\@docsNotRequired\n     * @return {?}\n     */\n    toString() { return serializePaths(this); }\n}\nif (false) {}\n/**\n * \\@description\n *\n * Represents a single URL segment.\n *\n * A UrlSegment is a part of a URL between the two slashes. It contains a path and the matrix\n * parameters associated with the segment.\n *\n * \\@usageNotes\n *  ### Example\n *\n * ```\n * \\@Component({templateUrl:'template.html'})\n * class MyComponent {\n *   constructor(router: Router) {\n *     const tree: UrlTree = router.parseUrl('/team;id=33');\n *     const g: UrlSegmentGroup = tree.root.children[PRIMARY_OUTLET];\n *     const s: UrlSegment[] = g.segments;\n *     s[0].path; // returns 'team'\n *     s[0].parameters; // returns {id: 33}\n *   }\n * }\n * ```\n *\n * \\@publicApi\n */\nclass UrlSegment {\n    /**\n     * @param {?} path\n     * @param {?} parameters\n     */\n    constructor(path, parameters) {\n        this.path = path;\n        this.parameters = parameters;\n    }\n    /**\n     * @return {?}\n     */\n    get parameterMap() {\n        if (!this._parameterMap) {\n            this._parameterMap = convertToParamMap(this.parameters);\n        }\n        return this._parameterMap;\n    }\n    /**\n     * \\@docsNotRequired\n     * @return {?}\n     */\n    toString() { return serializePath(this); }\n}\nif (false) {}\n/**\n * @param {?} as\n * @param {?} bs\n * @return {?}\n */\nfunction equalSegments(as, bs) {\n    return equalPath(as, bs) && as.every((/**\n     * @param {?} a\n     * @param {?} i\n     * @return {?}\n     */\n    (a, i) => shallowEqual(a.parameters, bs[i].parameters)));\n}\n/**\n * @param {?} as\n * @param {?} bs\n * @return {?}\n */\nfunction equalPath(as, bs) {\n    if (as.length !== bs.length)\n        return false;\n    return as.every((/**\n     * @param {?} a\n     * @param {?} i\n     * @return {?}\n     */\n    (a, i) => a.path === bs[i].path));\n}\n/**\n * @template T\n * @param {?} segment\n * @param {?} fn\n * @return {?}\n */\nfunction mapChildrenIntoArray(segment, fn) {\n    /** @type {?} */\n    let res = [];\n    forEach(segment.children, (/**\n     * @param {?} child\n     * @param {?} childOutlet\n     * @return {?}\n     */\n    (child, childOutlet) => {\n        if (childOutlet === PRIMARY_OUTLET) {\n            res = res.concat(fn(child, childOutlet));\n        }\n    }));\n    forEach(segment.children, (/**\n     * @param {?} child\n     * @param {?} childOutlet\n     * @return {?}\n     */\n    (child, childOutlet) => {\n        if (childOutlet !== PRIMARY_OUTLET) {\n            res = res.concat(fn(child, childOutlet));\n        }\n    }));\n    return res;\n}\n/**\n * \\@description\n *\n * Serializes and deserializes a URL string into a URL tree.\n *\n * The url serialization strategy is customizable. You can\n * make all URLs case insensitive by providing a custom UrlSerializer.\n *\n * See `DefaultUrlSerializer` for an example of a URL serializer.\n *\n * \\@publicApi\n * @abstract\n */\nclass UrlSerializer {\n}\nif (false) {}\n/**\n * \\@description\n *\n * A default implementation of the `UrlSerializer`.\n *\n * Example URLs:\n *\n * ```\n * /inbox/33(popup:compose)\n * /inbox/33;open=true/messages/44\n * ```\n *\n * DefaultUrlSerializer uses parentheses to serialize secondary segments (e.g., popup:compose), the\n * colon syntax to specify the outlet, and the ';parameter=value' syntax (e.g., open=true) to\n * specify route specific parameters.\n *\n * \\@publicApi\n */\nclass DefaultUrlSerializer {\n    /**\n     * Parses a url into a `UrlTree`\n     * @param {?} url\n     * @return {?}\n     */\n    parse(url) {\n        /** @type {?} */\n        const p = new UrlParser(url);\n        return new UrlTree(p.parseRootSegment(), p.parseQueryParams(), p.parseFragment());\n    }\n    /**\n     * Converts a `UrlTree` into a url\n     * @param {?} tree\n     * @return {?}\n     */\n    serialize(tree) {\n        /** @type {?} */\n        const segment = `/${serializeSegment(tree.root, true)}`;\n        /** @type {?} */\n        const query = serializeQueryParams(tree.queryParams);\n        /** @type {?} */\n        const fragment = typeof tree.fragment === `string` ? `#${encodeUriFragment((/** @type {?} */ (tree.fragment)))}` : '';\n        return `${segment}${query}${fragment}`;\n    }\n}\n/** @type {?} */\nconst DEFAULT_SERIALIZER = new DefaultUrlSerializer();\n/**\n * @param {?} segment\n * @return {?}\n */\nfunction serializePaths(segment) {\n    return segment.segments.map((/**\n     * @param {?} p\n     * @return {?}\n     */\n    p => serializePath(p))).join('/');\n}\n/**\n * @param {?} segment\n * @param {?} root\n * @return {?}\n */\nfunction serializeSegment(segment, root) {\n    if (!segment.hasChildren()) {\n        return serializePaths(segment);\n    }\n    if (root) {\n        /** @type {?} */\n        const primary = segment.children[PRIMARY_OUTLET] ?\n            serializeSegment(segment.children[PRIMARY_OUTLET], false) :\n            '';\n        /** @type {?} */\n        const children = [];\n        forEach(segment.children, (/**\n         * @param {?} v\n         * @param {?} k\n         * @return {?}\n         */\n        (v, k) => {\n            if (k !== PRIMARY_OUTLET) {\n                children.push(`${k}:${serializeSegment(v, false)}`);\n            }\n        }));\n        return children.length > 0 ? `${primary}(${children.join('//')})` : primary;\n    }\n    else {\n        /** @type {?} */\n        const children = mapChildrenIntoArray(segment, (/**\n         * @param {?} v\n         * @param {?} k\n         * @return {?}\n         */\n        (v, k) => {\n            if (k === PRIMARY_OUTLET) {\n                return [serializeSegment(segment.children[PRIMARY_OUTLET], false)];\n            }\n            return [`${k}:${serializeSegment(v, false)}`];\n        }));\n        return `${serializePaths(segment)}/(${children.join('//')})`;\n    }\n}\n/**\n * Encodes a URI string with the default encoding. This function will only ever be called from\n * `encodeUriQuery` or `encodeUriSegment` as it's the base set of encodings to be used. We need\n * a custom encoding because encodeURIComponent is too aggressive and encodes stuff that doesn't\n * have to be encoded per https://url.spec.whatwg.org.\n * @param {?} s\n * @return {?}\n */\nfunction encodeUriString(s) {\n    return encodeURIComponent(s)\n        .replace(/%40/g, '@')\n        .replace(/%3A/gi, ':')\n        .replace(/%24/g, '$')\n        .replace(/%2C/gi, ',');\n}\n/**\n * This function should be used to encode both keys and values in a query string key/value. In\n * the following URL, you need to call encodeUriQuery on \"k\" and \"v\":\n *\n * http://www.site.org/html;mk=mv?k=v#f\n * @param {?} s\n * @return {?}\n */\nfunction encodeUriQuery(s) {\n    return encodeUriString(s).replace(/%3B/gi, ';');\n}\n/**\n * This function should be used to encode a URL fragment. In the following URL, you need to call\n * encodeUriFragment on \"f\":\n *\n * http://www.site.org/html;mk=mv?k=v#f\n * @param {?} s\n * @return {?}\n */\nfunction encodeUriFragment(s) {\n    return encodeURI(s);\n}\n/**\n * This function should be run on any URI segment as well as the key and value in a key/value\n * pair for matrix params. In the following URL, you need to call encodeUriSegment on \"html\",\n * \"mk\", and \"mv\":\n *\n * http://www.site.org/html;mk=mv?k=v#f\n * @param {?} s\n * @return {?}\n */\nfunction encodeUriSegment(s) {\n    return encodeUriString(s).replace(/\\(/g, '%28').replace(/\\)/g, '%29').replace(/%26/gi, '&');\n}\n/**\n * @param {?} s\n * @return {?}\n */\nfunction decode(s) {\n    return decodeURIComponent(s);\n}\n// Query keys/values should have the \"+\" replaced first, as \"+\" in a query string is \" \".\n// decodeURIComponent function will not decode \"+\" as a space.\n/**\n * @param {?} s\n * @return {?}\n */\nfunction decodeQuery(s) {\n    return decode(s.replace(/\\+/g, '%20'));\n}\n/**\n * @param {?} path\n * @return {?}\n */\nfunction serializePath(path) {\n    return `${encodeUriSegment(path.path)}${serializeMatrixParams(path.parameters)}`;\n}\n/**\n * @param {?} params\n * @return {?}\n */\nfunction serializeMatrixParams(params) {\n    return Object.keys(params)\n        .map((/**\n     * @param {?} key\n     * @return {?}\n     */\n    key => `;${encodeUriSegment(key)}=${encodeUriSegment(params[key])}`))\n        .join('');\n}\n/**\n * @param {?} params\n * @return {?}\n */\nfunction serializeQueryParams(params) {\n    /** @type {?} */\n    const strParams = Object.keys(params).map((/**\n     * @param {?} name\n     * @return {?}\n     */\n    (name) => {\n        /** @type {?} */\n        const value = params[name];\n        return Array.isArray(value) ?\n            value.map((/**\n             * @param {?} v\n             * @return {?}\n             */\n            v => `${encodeUriQuery(name)}=${encodeUriQuery(v)}`)).join('&') :\n            `${encodeUriQuery(name)}=${encodeUriQuery(value)}`;\n    }));\n    return strParams.length ? `?${strParams.join(\"&\")}` : '';\n}\n/** @type {?} */\nconst SEGMENT_RE = /^[^\\/()?;=#]+/;\n/**\n * @param {?} str\n * @return {?}\n */\nfunction matchSegments(str) {\n    /** @type {?} */\n    const match = str.match(SEGMENT_RE);\n    return match ? match[0] : '';\n}\n/** @type {?} */\nconst QUERY_PARAM_RE = /^[^=?&#]+/;\n// Return the name of the query param at the start of the string or an empty string\n/**\n * @param {?} str\n * @return {?}\n */\nfunction matchQueryParams(str) {\n    /** @type {?} */\n    const match = str.match(QUERY_PARAM_RE);\n    return match ? match[0] : '';\n}\n/** @type {?} */\nconst QUERY_PARAM_VALUE_RE = /^[^?&#]+/;\n// Return the value of the query param at the start of the string or an empty string\n/**\n * @param {?} str\n * @return {?}\n */\nfunction matchUrlQueryParamValue(str) {\n    /** @type {?} */\n    const match = str.match(QUERY_PARAM_VALUE_RE);\n    return match ? match[0] : '';\n}\nclass UrlParser {\n    /**\n     * @param {?} url\n     */\n    constructor(url) {\n        this.url = url;\n        this.remaining = url;\n    }\n    /**\n     * @return {?}\n     */\n    parseRootSegment() {\n        this.consumeOptional('/');\n        if (this.remaining === '' || this.peekStartsWith('?') || this.peekStartsWith('#')) {\n            return new UrlSegmentGroup([], {});\n        }\n        // The root segment group never has segments\n        return new UrlSegmentGroup([], this.parseChildren());\n    }\n    /**\n     * @return {?}\n     */\n    parseQueryParams() {\n        /** @type {?} */\n        const params = {};\n        if (this.consumeOptional('?')) {\n            do {\n                this.parseQueryParam(params);\n            } while (this.consumeOptional('&'));\n        }\n        return params;\n    }\n    /**\n     * @return {?}\n     */\n    parseFragment() {\n        return this.consumeOptional('#') ? decodeURIComponent(this.remaining) : null;\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    parseChildren() {\n        if (this.remaining === '') {\n            return {};\n        }\n        this.consumeOptional('/');\n        /** @type {?} */\n        const segments = [];\n        if (!this.peekStartsWith('(')) {\n            segments.push(this.parseSegment());\n        }\n        while (this.peekStartsWith('/') && !this.peekStartsWith('//') && !this.peekStartsWith('/(')) {\n            this.capture('/');\n            segments.push(this.parseSegment());\n        }\n        /** @type {?} */\n        let children = {};\n        if (this.peekStartsWith('/(')) {\n            this.capture('/');\n            children = this.parseParens(true);\n        }\n        /** @type {?} */\n        let res = {};\n        if (this.peekStartsWith('(')) {\n            res = this.parseParens(false);\n        }\n        if (segments.length > 0 || Object.keys(children).length > 0) {\n            res[PRIMARY_OUTLET] = new UrlSegmentGroup(segments, children);\n        }\n        return res;\n    }\n    // parse a segment with its matrix parameters\n    // ie `name;k1=v1;k2`\n    /**\n     * @private\n     * @return {?}\n     */\n    parseSegment() {\n        /** @type {?} */\n        const path = matchSegments(this.remaining);\n        if (path === '' && this.peekStartsWith(';')) {\n            throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);\n        }\n        this.capture(path);\n        return new UrlSegment(decode(path), this.parseMatrixParams());\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    parseMatrixParams() {\n        /** @type {?} */\n        const params = {};\n        while (this.consumeOptional(';')) {\n            this.parseParam(params);\n        }\n        return params;\n    }\n    /**\n     * @private\n     * @param {?} params\n     * @return {?}\n     */\n    parseParam(params) {\n        /** @type {?} */\n        const key = matchSegments(this.remaining);\n        if (!key) {\n            return;\n        }\n        this.capture(key);\n        /** @type {?} */\n        let value = '';\n        if (this.consumeOptional('=')) {\n            /** @type {?} */\n            const valueMatch = matchSegments(this.remaining);\n            if (valueMatch) {\n                value = valueMatch;\n                this.capture(value);\n            }\n        }\n        params[decode(key)] = decode(value);\n    }\n    // Parse a single query parameter `name[=value]`\n    /**\n     * @private\n     * @param {?} params\n     * @return {?}\n     */\n    parseQueryParam(params) {\n        /** @type {?} */\n        const key = matchQueryParams(this.remaining);\n        if (!key) {\n            return;\n        }\n        this.capture(key);\n        /** @type {?} */\n        let value = '';\n        if (this.consumeOptional('=')) {\n            /** @type {?} */\n            const valueMatch = matchUrlQueryParamValue(this.remaining);\n            if (valueMatch) {\n                value = valueMatch;\n                this.capture(value);\n            }\n        }\n        /** @type {?} */\n        const decodedKey = decodeQuery(key);\n        /** @type {?} */\n        const decodedVal = decodeQuery(value);\n        if (params.hasOwnProperty(decodedKey)) {\n            // Append to existing values\n            /** @type {?} */\n            let currentVal = params[decodedKey];\n            if (!Array.isArray(currentVal)) {\n                currentVal = [currentVal];\n                params[decodedKey] = currentVal;\n            }\n            currentVal.push(decodedVal);\n        }\n        else {\n            // Create a new value\n            params[decodedKey] = decodedVal;\n        }\n    }\n    // parse `(a/b//outlet_name:c/d)`\n    /**\n     * @private\n     * @param {?} allowPrimary\n     * @return {?}\n     */\n    parseParens(allowPrimary) {\n        /** @type {?} */\n        const segments = {};\n        this.capture('(');\n        while (!this.consumeOptional(')') && this.remaining.length > 0) {\n            /** @type {?} */\n            const path = matchSegments(this.remaining);\n            /** @type {?} */\n            const next = this.remaining[path.length];\n            // if is is not one of these characters, then the segment was unescaped\n            // or the group was not closed\n            if (next !== '/' && next !== ')' && next !== ';') {\n                throw new Error(`Cannot parse url '${this.url}'`);\n            }\n            /** @type {?} */\n            let outletName = (/** @type {?} */ (undefined));\n            if (path.indexOf(':') > -1) {\n                outletName = path.substr(0, path.indexOf(':'));\n                this.capture(outletName);\n                this.capture(':');\n            }\n            else if (allowPrimary) {\n                outletName = PRIMARY_OUTLET;\n            }\n            /** @type {?} */\n            const children = this.parseChildren();\n            segments[outletName] = Object.keys(children).length === 1 ? children[PRIMARY_OUTLET] :\n                new UrlSegmentGroup([], children);\n            this.consumeOptional('//');\n        }\n        return segments;\n    }\n    /**\n     * @private\n     * @param {?} str\n     * @return {?}\n     */\n    peekStartsWith(str) { return this.remaining.startsWith(str); }\n    // Consumes the prefix when it is present and returns whether it has been consumed\n    /**\n     * @private\n     * @param {?} str\n     * @return {?}\n     */\n    consumeOptional(str) {\n        if (this.peekStartsWith(str)) {\n            this.remaining = this.remaining.substring(str.length);\n            return true;\n        }\n        return false;\n    }\n    /**\n     * @private\n     * @param {?} str\n     * @return {?}\n     */\n    capture(str) {\n        if (!this.consumeOptional(str)) {\n            throw new Error(`Expected \"${str}\".`);\n        }\n    }\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * @template T\n */\nclass Tree {\n    /**\n     * @param {?} root\n     */\n    constructor(root) { this._root = root; }\n    /**\n     * @return {?}\n     */\n    get root() { return this._root.value; }\n    /**\n     * \\@internal\n     * @param {?} t\n     * @return {?}\n     */\n    parent(t) {\n        /** @type {?} */\n        const p = this.pathFromRoot(t);\n        return p.length > 1 ? p[p.length - 2] : null;\n    }\n    /**\n     * \\@internal\n     * @param {?} t\n     * @return {?}\n     */\n    children(t) {\n        /** @type {?} */\n        const n = findNode(t, this._root);\n        return n ? n.children.map((/**\n         * @param {?} t\n         * @return {?}\n         */\n        t => t.value)) : [];\n    }\n    /**\n     * \\@internal\n     * @param {?} t\n     * @return {?}\n     */\n    firstChild(t) {\n        /** @type {?} */\n        const n = findNode(t, this._root);\n        return n && n.children.length > 0 ? n.children[0].value : null;\n    }\n    /**\n     * \\@internal\n     * @param {?} t\n     * @return {?}\n     */\n    siblings(t) {\n        /** @type {?} */\n        const p = findPath(t, this._root);\n        if (p.length < 2)\n            return [];\n        /** @type {?} */\n        const c = p[p.length - 2].children.map((/**\n         * @param {?} c\n         * @return {?}\n         */\n        c => c.value));\n        return c.filter((/**\n         * @param {?} cc\n         * @return {?}\n         */\n        cc => cc !== t));\n    }\n    /**\n     * \\@internal\n     * @param {?} t\n     * @return {?}\n     */\n    pathFromRoot(t) { return findPath(t, this._root).map((/**\n     * @param {?} s\n     * @return {?}\n     */\n    s => s.value)); }\n}\nif (false) {}\n// DFS for the node matching the value\n/**\n * @template T\n * @param {?} value\n * @param {?} node\n * @return {?}\n */\nfunction findNode(value, node) {\n    if (value === node.value)\n        return node;\n    for (const child of node.children) {\n        /** @type {?} */\n        const node = findNode(value, child);\n        if (node)\n            return node;\n    }\n    return null;\n}\n// Return the path to the node with the given value using DFS\n/**\n * @template T\n * @param {?} value\n * @param {?} node\n * @return {?}\n */\nfunction findPath(value, node) {\n    if (value === node.value)\n        return [node];\n    for (const child of node.children) {\n        /** @type {?} */\n        const path = findPath(value, child);\n        if (path.length) {\n            path.unshift(node);\n            return path;\n        }\n    }\n    return [];\n}\n/**\n * @template T\n */\nclass TreeNode {\n    /**\n     * @param {?} value\n     * @param {?} children\n     */\n    constructor(value, children) {\n        this.value = value;\n        this.children = children;\n    }\n    /**\n     * @return {?}\n     */\n    toString() { return `TreeNode(${this.value})`; }\n}\nif (false) {}\n// Return the list of T indexed by outlet name\n/**\n * @template T\n * @param {?} node\n * @return {?}\n */\nfunction nodeChildrenAsMap(node) {\n    /** @type {?} */\n    const map = {};\n    if (node) {\n        node.children.forEach((/**\n         * @param {?} child\n         * @return {?}\n         */\n        child => map[child.value.outlet] = child));\n    }\n    return map;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Represents the state of the router as a tree of activated routes.\n *\n * \\@usageNotes\n *\n * Every node in the route tree is an `ActivatedRoute` instance\n * that knows about the \"consumed\" URL segments, the extracted parameters,\n * and the resolved data.\n * Use the `ActivatedRoute` properties to traverse the tree from any node.\n *\n * ### Example\n *\n * ```\n * \\@Component({templateUrl:'template.html'})\n * class MyComponent {\n *   constructor(router: Router) {\n *     const state: RouterState = router.routerState;\n *     const root: ActivatedRoute = state.root;\n *     const child = root.firstChild;\n *     const id: Observable<string> = child.params.map(p => p.id);\n *     //...\n *   }\n * }\n * ```\n *\n * @see `ActivatedRoute`\n *\n * \\@publicApi\n */\nclass RouterState extends Tree {\n    /**\n     * \\@internal\n     * @param {?} root\n     * @param {?} snapshot\n     */\n    constructor(root, snapshot) {\n        super(root);\n        this.snapshot = snapshot;\n        setRouterState((/** @type {?} */ (this)), root);\n    }\n    /**\n     * @return {?}\n     */\n    toString() { return this.snapshot.toString(); }\n}\nif (false) {}\n/**\n * @param {?} urlTree\n * @param {?} rootComponent\n * @return {?}\n */\nfunction createEmptyState(urlTree, rootComponent) {\n    /** @type {?} */\n    const snapshot = createEmptyStateSnapshot(urlTree, rootComponent);\n    /** @type {?} */\n    const emptyUrl = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"BehaviorSubject\"]([new UrlSegment('', {})]);\n    /** @type {?} */\n    const emptyParams = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"BehaviorSubject\"]({});\n    /** @type {?} */\n    const emptyData = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"BehaviorSubject\"]({});\n    /** @type {?} */\n    const emptyQueryParams = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"BehaviorSubject\"]({});\n    /** @type {?} */\n    const fragment = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"BehaviorSubject\"]('');\n    /** @type {?} */\n    const activated = new ActivatedRoute(emptyUrl, emptyParams, emptyQueryParams, fragment, emptyData, PRIMARY_OUTLET, rootComponent, snapshot.root);\n    activated.snapshot = snapshot.root;\n    return new RouterState(new TreeNode(activated, []), snapshot);\n}\n/**\n * @param {?} urlTree\n * @param {?} rootComponent\n * @return {?}\n */\nfunction createEmptyStateSnapshot(urlTree, rootComponent) {\n    /** @type {?} */\n    const emptyParams = {};\n    /** @type {?} */\n    const emptyData = {};\n    /** @type {?} */\n    const emptyQueryParams = {};\n    /** @type {?} */\n    const fragment = '';\n    /** @type {?} */\n    const activated = new ActivatedRouteSnapshot([], emptyParams, emptyQueryParams, fragment, emptyData, PRIMARY_OUTLET, rootComponent, null, urlTree.root, -1, {});\n    return new RouterStateSnapshot('', new TreeNode(activated, []));\n}\n/**\n * Provides access to information about a route associated with a component\n * that is loaded in an outlet.\n * Use to traverse the `RouterState` tree and extract information from nodes.\n *\n * {\\@example router/activated-route/module.ts region=\"activated-route\"\n *     header=\"activated-route.component.ts\"}\n *\n * \\@publicApi\n */\nclass ActivatedRoute {\n    /**\n     * \\@internal\n     * @param {?} url\n     * @param {?} params\n     * @param {?} queryParams\n     * @param {?} fragment\n     * @param {?} data\n     * @param {?} outlet\n     * @param {?} component\n     * @param {?} futureSnapshot\n     */\n    constructor(url, params, queryParams, fragment, data, outlet, component, futureSnapshot) {\n        this.url = url;\n        this.params = params;\n        this.queryParams = queryParams;\n        this.fragment = fragment;\n        this.data = data;\n        this.outlet = outlet;\n        this.component = component;\n        this._futureSnapshot = futureSnapshot;\n    }\n    /**\n     * The configuration used to match this route.\n     * @return {?}\n     */\n    get routeConfig() { return this._futureSnapshot.routeConfig; }\n    /**\n     * The root of the router state.\n     * @return {?}\n     */\n    get root() { return this._routerState.root; }\n    /**\n     * The parent of this route in the router state tree.\n     * @return {?}\n     */\n    get parent() { return this._routerState.parent(this); }\n    /**\n     * The first child of this route in the router state tree.\n     * @return {?}\n     */\n    get firstChild() { return this._routerState.firstChild(this); }\n    /**\n     * The children of this route in the router state tree.\n     * @return {?}\n     */\n    get children() { return this._routerState.children(this); }\n    /**\n     * The path from the root of the router state tree to this route.\n     * @return {?}\n     */\n    get pathFromRoot() { return this._routerState.pathFromRoot(this); }\n    /**\n     * An Observable that contains a map of the required and optional parameters\n     * specific to the route.\n     * The map supports retrieving single and multiple values from the same parameter.\n     * @return {?}\n     */\n    get paramMap() {\n        if (!this._paramMap) {\n            this._paramMap = this.params.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])((/**\n             * @param {?} p\n             * @return {?}\n             */\n            (p) => convertToParamMap(p))));\n        }\n        return this._paramMap;\n    }\n    /**\n     * An Observable that contains a map of the query parameters available to all routes.\n     * The map supports retrieving single and multiple values from the query parameter.\n     * @return {?}\n     */\n    get queryParamMap() {\n        if (!this._queryParamMap) {\n            this._queryParamMap =\n                this.queryParams.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])((/**\n                 * @param {?} p\n                 * @return {?}\n                 */\n                (p) => convertToParamMap(p))));\n        }\n        return this._queryParamMap;\n    }\n    /**\n     * @return {?}\n     */\n    toString() {\n        return this.snapshot ? this.snapshot.toString() : `Future(${this._futureSnapshot})`;\n    }\n}\nif (false) {}\n/**\n * Returns the inherited params, data, and resolve for a given route.\n * By default, this only inherits values up to the nearest path-less or component-less route.\n * \\@internal\n * @param {?} route\n * @param {?=} paramsInheritanceStrategy\n * @return {?}\n */\nfunction inheritedParamsDataResolve(route, paramsInheritanceStrategy = 'emptyOnly') {\n    /** @type {?} */\n    const pathFromRoot = route.pathFromRoot;\n    /** @type {?} */\n    let inheritingStartingFrom = 0;\n    if (paramsInheritanceStrategy !== 'always') {\n        inheritingStartingFrom = pathFromRoot.length - 1;\n        while (inheritingStartingFrom >= 1) {\n            /** @type {?} */\n            const current = pathFromRoot[inheritingStartingFrom];\n            /** @type {?} */\n            const parent = pathFromRoot[inheritingStartingFrom - 1];\n            // current route is an empty path => inherits its parent's params and data\n            if (current.routeConfig && current.routeConfig.path === '') {\n                inheritingStartingFrom--;\n                // parent is componentless => current route should inherit its params and data\n            }\n            else if (!parent.component) {\n                inheritingStartingFrom--;\n            }\n            else {\n                break;\n            }\n        }\n    }\n    return flattenInherited(pathFromRoot.slice(inheritingStartingFrom));\n}\n/**\n * \\@internal\n * @param {?} pathFromRoot\n * @return {?}\n */\nfunction flattenInherited(pathFromRoot) {\n    return pathFromRoot.reduce((/**\n     * @param {?} res\n     * @param {?} curr\n     * @return {?}\n     */\n    (res, curr) => {\n        /** @type {?} */\n        const params = Object.assign({}, res.params, curr.params);\n        /** @type {?} */\n        const data = Object.assign({}, res.data, curr.data);\n        /** @type {?} */\n        const resolve = Object.assign({}, res.resolve, curr._resolvedData);\n        return { params, data, resolve };\n    }), (/** @type {?} */ ({ params: {}, data: {}, resolve: {} })));\n}\n/**\n * \\@description\n *\n * Contains the information about a route associated with a component loaded in an\n * outlet at a particular moment in time. ActivatedRouteSnapshot can also be used to\n * traverse the router state tree.\n *\n * ```\n * \\@Component({templateUrl:'./my-component.html'})\n * class MyComponent {\n *   constructor(route: ActivatedRoute) {\n *     const id: string = route.snapshot.params.id;\n *     const url: string = route.snapshot.url.join('');\n *     const user = route.snapshot.data.user;\n *   }\n * }\n * ```\n *\n * \\@publicApi\n */\nclass ActivatedRouteSnapshot {\n    /**\n     * \\@internal\n     * @param {?} url\n     * @param {?} params\n     * @param {?} queryParams\n     * @param {?} fragment\n     * @param {?} data\n     * @param {?} outlet\n     * @param {?} component\n     * @param {?} routeConfig\n     * @param {?} urlSegment\n     * @param {?} lastPathIndex\n     * @param {?} resolve\n     */\n    constructor(url, params, queryParams, fragment, data, outlet, component, routeConfig, urlSegment, lastPathIndex, resolve) {\n        this.url = url;\n        this.params = params;\n        this.queryParams = queryParams;\n        this.fragment = fragment;\n        this.data = data;\n        this.outlet = outlet;\n        this.component = component;\n        this.routeConfig = routeConfig;\n        this._urlSegment = urlSegment;\n        this._lastPathIndex = lastPathIndex;\n        this._resolve = resolve;\n    }\n    /**\n     * The root of the router state\n     * @return {?}\n     */\n    get root() { return this._routerState.root; }\n    /**\n     * The parent of this route in the router state tree\n     * @return {?}\n     */\n    get parent() { return this._routerState.parent(this); }\n    /**\n     * The first child of this route in the router state tree\n     * @return {?}\n     */\n    get firstChild() { return this._routerState.firstChild(this); }\n    /**\n     * The children of this route in the router state tree\n     * @return {?}\n     */\n    get children() { return this._routerState.children(this); }\n    /**\n     * The path from the root of the router state tree to this route\n     * @return {?}\n     */\n    get pathFromRoot() { return this._routerState.pathFromRoot(this); }\n    /**\n     * @return {?}\n     */\n    get paramMap() {\n        if (!this._paramMap) {\n            this._paramMap = convertToParamMap(this.params);\n        }\n        return this._paramMap;\n    }\n    /**\n     * @return {?}\n     */\n    get queryParamMap() {\n        if (!this._queryParamMap) {\n            this._queryParamMap = convertToParamMap(this.queryParams);\n        }\n        return this._queryParamMap;\n    }\n    /**\n     * @return {?}\n     */\n    toString() {\n        /** @type {?} */\n        const url = this.url.map((/**\n         * @param {?} segment\n         * @return {?}\n         */\n        segment => segment.toString())).join('/');\n        /** @type {?} */\n        const matched = this.routeConfig ? this.routeConfig.path : '';\n        return `Route(url:'${url}', path:'${matched}')`;\n    }\n}\nif (false) {}\n/**\n * \\@description\n *\n * Represents the state of the router at a moment in time.\n *\n * This is a tree of activated route snapshots. Every node in this tree knows about\n * the \"consumed\" URL segments, the extracted parameters, and the resolved data.\n *\n * \\@usageNotes\n * ### Example\n *\n * ```\n * \\@Component({templateUrl:'template.html'})\n * class MyComponent {\n *   constructor(router: Router) {\n *     const state: RouterState = router.routerState;\n *     const snapshot: RouterStateSnapshot = state.snapshot;\n *     const root: ActivatedRouteSnapshot = snapshot.root;\n *     const child = root.firstChild;\n *     const id: Observable<string> = child.params.map(p => p.id);\n *     //...\n *   }\n * }\n * ```\n *\n * \\@publicApi\n */\nclass RouterStateSnapshot extends Tree {\n    /**\n     * \\@internal\n     * @param {?} url\n     * @param {?} root\n     */\n    constructor(url, root) {\n        super(root);\n        this.url = url;\n        setRouterState((/** @type {?} */ (this)), root);\n    }\n    /**\n     * @return {?}\n     */\n    toString() { return serializeNode(this._root); }\n}\nif (false) {}\n/**\n * @template U, T\n * @param {?} state\n * @param {?} node\n * @return {?}\n */\nfunction setRouterState(state, node) {\n    node.value._routerState = state;\n    node.children.forEach((/**\n     * @param {?} c\n     * @return {?}\n     */\n    c => setRouterState(state, c)));\n}\n/**\n * @param {?} node\n * @return {?}\n */\nfunction serializeNode(node) {\n    /** @type {?} */\n    const c = node.children.length > 0 ? ` { ${node.children.map(serializeNode).join(', ')} } ` : '';\n    return `${node.value}${c}`;\n}\n/**\n * The expectation is that the activate route is created with the right set of parameters.\n * So we push new values into the observables only when they are not the initial values.\n * And we detect that by checking if the snapshot field is set.\n * @param {?} route\n * @return {?}\n */\nfunction advanceActivatedRoute(route) {\n    if (route.snapshot) {\n        /** @type {?} */\n        const currentSnapshot = route.snapshot;\n        /** @type {?} */\n        const nextSnapshot = route._futureSnapshot;\n        route.snapshot = nextSnapshot;\n        if (!shallowEqual(currentSnapshot.queryParams, nextSnapshot.queryParams)) {\n            ((/** @type {?} */ (route.queryParams))).next(nextSnapshot.queryParams);\n        }\n        if (currentSnapshot.fragment !== nextSnapshot.fragment) {\n            ((/** @type {?} */ (route.fragment))).next(nextSnapshot.fragment);\n        }\n        if (!shallowEqual(currentSnapshot.params, nextSnapshot.params)) {\n            ((/** @type {?} */ (route.params))).next(nextSnapshot.params);\n        }\n        if (!shallowEqualArrays(currentSnapshot.url, nextSnapshot.url)) {\n            ((/** @type {?} */ (route.url))).next(nextSnapshot.url);\n        }\n        if (!shallowEqual(currentSnapshot.data, nextSnapshot.data)) {\n            ((/** @type {?} */ (route.data))).next(nextSnapshot.data);\n        }\n    }\n    else {\n        route.snapshot = route._futureSnapshot;\n        // this is for resolved data\n        ((/** @type {?} */ (route.data))).next(route._futureSnapshot.data);\n    }\n}\n/**\n * @param {?} a\n * @param {?} b\n * @return {?}\n */\nfunction equalParamsAndUrlSegments(a, b) {\n    /** @type {?} */\n    const equalUrlParams = shallowEqual(a.params, b.params) && equalSegments(a.url, b.url);\n    /** @type {?} */\n    const parentsMismatch = !a.parent !== !b.parent;\n    return equalUrlParams && !parentsMismatch &&\n        (!a.parent || equalParamsAndUrlSegments(a.parent, (/** @type {?} */ (b.parent))));\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @param {?} routeReuseStrategy\n * @param {?} curr\n * @param {?} prevState\n * @return {?}\n */\nfunction createRouterState(routeReuseStrategy, curr, prevState) {\n    /** @type {?} */\n    const root = createNode(routeReuseStrategy, curr._root, prevState ? prevState._root : undefined);\n    return new RouterState(root, curr);\n}\n/**\n * @param {?} routeReuseStrategy\n * @param {?} curr\n * @param {?=} prevState\n * @return {?}\n */\nfunction createNode(routeReuseStrategy, curr, prevState) {\n    // reuse an activated route that is currently displayed on the screen\n    if (prevState && routeReuseStrategy.shouldReuseRoute(curr.value, prevState.value.snapshot)) {\n        /** @type {?} */\n        const value = prevState.value;\n        value._futureSnapshot = curr.value;\n        /** @type {?} */\n        const children = createOrReuseChildren(routeReuseStrategy, curr, prevState);\n        return new TreeNode(value, children);\n        // retrieve an activated route that is used to be displayed, but is not currently displayed\n    }\n    else {\n        /** @type {?} */\n        const detachedRouteHandle = (/** @type {?} */ (routeReuseStrategy.retrieve(curr.value)));\n        if (detachedRouteHandle) {\n            /** @type {?} */\n            const tree = detachedRouteHandle.route;\n            setFutureSnapshotsOfActivatedRoutes(curr, tree);\n            return tree;\n        }\n        else {\n            /** @type {?} */\n            const value = createActivatedRoute(curr.value);\n            /** @type {?} */\n            const children = curr.children.map((/**\n             * @param {?} c\n             * @return {?}\n             */\n            c => createNode(routeReuseStrategy, c)));\n            return new TreeNode(value, children);\n        }\n    }\n}\n/**\n * @param {?} curr\n * @param {?} result\n * @return {?}\n */\nfunction setFutureSnapshotsOfActivatedRoutes(curr, result) {\n    if (curr.value.routeConfig !== result.value.routeConfig) {\n        throw new Error('Cannot reattach ActivatedRouteSnapshot created from a different route');\n    }\n    if (curr.children.length !== result.children.length) {\n        throw new Error('Cannot reattach ActivatedRouteSnapshot with a different number of children');\n    }\n    result.value._futureSnapshot = curr.value;\n    for (let i = 0; i < curr.children.length; ++i) {\n        setFutureSnapshotsOfActivatedRoutes(curr.children[i], result.children[i]);\n    }\n}\n/**\n * @param {?} routeReuseStrategy\n * @param {?} curr\n * @param {?} prevState\n * @return {?}\n */\nfunction createOrReuseChildren(routeReuseStrategy, curr, prevState) {\n    return curr.children.map((/**\n     * @param {?} child\n     * @return {?}\n     */\n    child => {\n        for (const p of prevState.children) {\n            if (routeReuseStrategy.shouldReuseRoute(p.value.snapshot, child.value)) {\n                return createNode(routeReuseStrategy, child, p);\n            }\n        }\n        return createNode(routeReuseStrategy, child);\n    }));\n}\n/**\n * @param {?} c\n * @return {?}\n */\nfunction createActivatedRoute(c) {\n    return new ActivatedRoute(new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"BehaviorSubject\"](c.url), new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"BehaviorSubject\"](c.params), new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"BehaviorSubject\"](c.queryParams), new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"BehaviorSubject\"](c.fragment), new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"BehaviorSubject\"](c.data), c.outlet, c.component, c);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @param {?} route\n * @param {?} urlTree\n * @param {?} commands\n * @param {?} queryParams\n * @param {?} fragment\n * @return {?}\n */\nfunction createUrlTree(route, urlTree, commands, queryParams, fragment) {\n    if (commands.length === 0) {\n        return tree(urlTree.root, urlTree.root, urlTree, queryParams, fragment);\n    }\n    /** @type {?} */\n    const nav = computeNavigation(commands);\n    if (nav.toRoot()) {\n        return tree(urlTree.root, new UrlSegmentGroup([], {}), urlTree, queryParams, fragment);\n    }\n    /** @type {?} */\n    const startingPosition = findStartingPosition(nav, urlTree, route);\n    /** @type {?} */\n    const segmentGroup = startingPosition.processChildren ?\n        updateSegmentGroupChildren(startingPosition.segmentGroup, startingPosition.index, nav.commands) :\n        updateSegmentGroup(startingPosition.segmentGroup, startingPosition.index, nav.commands);\n    return tree(startingPosition.segmentGroup, segmentGroup, urlTree, queryParams, fragment);\n}\n/**\n * @param {?} command\n * @return {?}\n */\nfunction isMatrixParams(command) {\n    return typeof command === 'object' && command != null && !command.outlets && !command.segmentPath;\n}\n/**\n * @param {?} oldSegmentGroup\n * @param {?} newSegmentGroup\n * @param {?} urlTree\n * @param {?} queryParams\n * @param {?} fragment\n * @return {?}\n */\nfunction tree(oldSegmentGroup, newSegmentGroup, urlTree, queryParams, fragment) {\n    /** @type {?} */\n    let qp = {};\n    if (queryParams) {\n        forEach(queryParams, (/**\n         * @param {?} value\n         * @param {?} name\n         * @return {?}\n         */\n        (value, name) => {\n            qp[name] = Array.isArray(value) ? value.map((/**\n             * @param {?} v\n             * @return {?}\n             */\n            (v) => `${v}`)) : `${value}`;\n        }));\n    }\n    if (urlTree.root === oldSegmentGroup) {\n        return new UrlTree(newSegmentGroup, qp, fragment);\n    }\n    return new UrlTree(replaceSegment(urlTree.root, oldSegmentGroup, newSegmentGroup), qp, fragment);\n}\n/**\n * @param {?} current\n * @param {?} oldSegment\n * @param {?} newSegment\n * @return {?}\n */\nfunction replaceSegment(current, oldSegment, newSegment) {\n    /** @type {?} */\n    const children = {};\n    forEach(current.children, (/**\n     * @param {?} c\n     * @param {?} outletName\n     * @return {?}\n     */\n    (c, outletName) => {\n        if (c === oldSegment) {\n            children[outletName] = newSegment;\n        }\n        else {\n            children[outletName] = replaceSegment(c, oldSegment, newSegment);\n        }\n    }));\n    return new UrlSegmentGroup(current.segments, children);\n}\nclass Navigation {\n    /**\n     * @param {?} isAbsolute\n     * @param {?} numberOfDoubleDots\n     * @param {?} commands\n     */\n    constructor(isAbsolute, numberOfDoubleDots, commands) {\n        this.isAbsolute = isAbsolute;\n        this.numberOfDoubleDots = numberOfDoubleDots;\n        this.commands = commands;\n        if (isAbsolute && commands.length > 0 && isMatrixParams(commands[0])) {\n            throw new Error('Root segment cannot have matrix parameters');\n        }\n        /** @type {?} */\n        const cmdWithOutlet = commands.find((/**\n         * @param {?} c\n         * @return {?}\n         */\n        c => typeof c === 'object' && c != null && c.outlets));\n        if (cmdWithOutlet && cmdWithOutlet !== last(commands)) {\n            throw new Error('{outlets:{}} has to be the last command');\n        }\n    }\n    /**\n     * @return {?}\n     */\n    toRoot() {\n        return this.isAbsolute && this.commands.length === 1 && this.commands[0] == '/';\n    }\n}\nif (false) {}\n/**\n * Transforms commands to a normalized `Navigation`\n * @param {?} commands\n * @return {?}\n */\nfunction computeNavigation(commands) {\n    if ((typeof commands[0] === 'string') && commands.length === 1 && commands[0] === '/') {\n        return new Navigation(true, 0, commands);\n    }\n    /** @type {?} */\n    let numberOfDoubleDots = 0;\n    /** @type {?} */\n    let isAbsolute = false;\n    /** @type {?} */\n    const res = commands.reduce((/**\n     * @param {?} res\n     * @param {?} cmd\n     * @param {?} cmdIdx\n     * @return {?}\n     */\n    (res, cmd, cmdIdx) => {\n        if (typeof cmd === 'object' && cmd != null) {\n            if (cmd.outlets) {\n                /** @type {?} */\n                const outlets = {};\n                forEach(cmd.outlets, (/**\n                 * @param {?} commands\n                 * @param {?} name\n                 * @return {?}\n                 */\n                (commands, name) => {\n                    outlets[name] = typeof commands === 'string' ? commands.split('/') : commands;\n                }));\n                return [...res, { outlets }];\n            }\n            if (cmd.segmentPath) {\n                return [...res, cmd.segmentPath];\n            }\n        }\n        if (!(typeof cmd === 'string')) {\n            return [...res, cmd];\n        }\n        if (cmdIdx === 0) {\n            cmd.split('/').forEach((/**\n             * @param {?} urlPart\n             * @param {?} partIndex\n             * @return {?}\n             */\n            (urlPart, partIndex) => {\n                if (partIndex == 0 && urlPart === '.') {\n                    // skip './a'\n                }\n                else if (partIndex == 0 && urlPart === '') { //  '/a'\n                    isAbsolute = true;\n                }\n                else if (urlPart === '..') { //  '../a'\n                    numberOfDoubleDots++;\n                }\n                else if (urlPart != '') {\n                    res.push(urlPart);\n                }\n            }));\n            return res;\n        }\n        return [...res, cmd];\n    }), []);\n    return new Navigation(isAbsolute, numberOfDoubleDots, res);\n}\nclass Position {\n    /**\n     * @param {?} segmentGroup\n     * @param {?} processChildren\n     * @param {?} index\n     */\n    constructor(segmentGroup, processChildren, index) {\n        this.segmentGroup = segmentGroup;\n        this.processChildren = processChildren;\n        this.index = index;\n    }\n}\nif (false) {}\n/**\n * @param {?} nav\n * @param {?} tree\n * @param {?} route\n * @return {?}\n */\nfunction findStartingPosition(nav, tree, route) {\n    if (nav.isAbsolute) {\n        return new Position(tree.root, true, 0);\n    }\n    if (route.snapshot._lastPathIndex === -1) {\n        return new Position(route.snapshot._urlSegment, true, 0);\n    }\n    /** @type {?} */\n    const modifier = isMatrixParams(nav.commands[0]) ? 0 : 1;\n    /** @type {?} */\n    const index = route.snapshot._lastPathIndex + modifier;\n    return createPositionApplyingDoubleDots(route.snapshot._urlSegment, index, nav.numberOfDoubleDots);\n}\n/**\n * @param {?} group\n * @param {?} index\n * @param {?} numberOfDoubleDots\n * @return {?}\n */\nfunction createPositionApplyingDoubleDots(group, index, numberOfDoubleDots) {\n    /** @type {?} */\n    let g = group;\n    /** @type {?} */\n    let ci = index;\n    /** @type {?} */\n    let dd = numberOfDoubleDots;\n    while (dd > ci) {\n        dd -= ci;\n        g = (/** @type {?} */ (g.parent));\n        if (!g) {\n            throw new Error('Invalid number of \\'../\\'');\n        }\n        ci = g.segments.length;\n    }\n    return new Position(g, false, ci - dd);\n}\n/**\n * @param {?} command\n * @return {?}\n */\nfunction getPath(command) {\n    if (typeof command === 'object' && command != null && command.outlets) {\n        return command.outlets[PRIMARY_OUTLET];\n    }\n    return `${command}`;\n}\n/**\n * @param {?} commands\n * @return {?}\n */\nfunction getOutlets(commands) {\n    if (!(typeof commands[0] === 'object'))\n        return { [PRIMARY_OUTLET]: commands };\n    if (commands[0].outlets === undefined)\n        return { [PRIMARY_OUTLET]: commands };\n    return commands[0].outlets;\n}\n/**\n * @param {?} segmentGroup\n * @param {?} startIndex\n * @param {?} commands\n * @return {?}\n */\nfunction updateSegmentGroup(segmentGroup, startIndex, commands) {\n    if (!segmentGroup) {\n        segmentGroup = new UrlSegmentGroup([], {});\n    }\n    if (segmentGroup.segments.length === 0 && segmentGroup.hasChildren()) {\n        return updateSegmentGroupChildren(segmentGroup, startIndex, commands);\n    }\n    /** @type {?} */\n    const m = prefixedWith(segmentGroup, startIndex, commands);\n    /** @type {?} */\n    const slicedCommands = commands.slice(m.commandIndex);\n    if (m.match && m.pathIndex < segmentGroup.segments.length) {\n        /** @type {?} */\n        const g = new UrlSegmentGroup(segmentGroup.segments.slice(0, m.pathIndex), {});\n        g.children[PRIMARY_OUTLET] =\n            new UrlSegmentGroup(segmentGroup.segments.slice(m.pathIndex), segmentGroup.children);\n        return updateSegmentGroupChildren(g, 0, slicedCommands);\n    }\n    else if (m.match && slicedCommands.length === 0) {\n        return new UrlSegmentGroup(segmentGroup.segments, {});\n    }\n    else if (m.match && !segmentGroup.hasChildren()) {\n        return createNewSegmentGroup(segmentGroup, startIndex, commands);\n    }\n    else if (m.match) {\n        return updateSegmentGroupChildren(segmentGroup, 0, slicedCommands);\n    }\n    else {\n        return createNewSegmentGroup(segmentGroup, startIndex, commands);\n    }\n}\n/**\n * @param {?} segmentGroup\n * @param {?} startIndex\n * @param {?} commands\n * @return {?}\n */\nfunction updateSegmentGroupChildren(segmentGroup, startIndex, commands) {\n    if (commands.length === 0) {\n        return new UrlSegmentGroup(segmentGroup.segments, {});\n    }\n    else {\n        /** @type {?} */\n        const outlets = getOutlets(commands);\n        /** @type {?} */\n        const children = {};\n        forEach(outlets, (/**\n         * @param {?} commands\n         * @param {?} outlet\n         * @return {?}\n         */\n        (commands, outlet) => {\n            if (commands !== null) {\n                children[outlet] = updateSegmentGroup(segmentGroup.children[outlet], startIndex, commands);\n            }\n        }));\n        forEach(segmentGroup.children, (/**\n         * @param {?} child\n         * @param {?} childOutlet\n         * @return {?}\n         */\n        (child, childOutlet) => {\n            if (outlets[childOutlet] === undefined) {\n                children[childOutlet] = child;\n            }\n        }));\n        return new UrlSegmentGroup(segmentGroup.segments, children);\n    }\n}\n/**\n * @param {?} segmentGroup\n * @param {?} startIndex\n * @param {?} commands\n * @return {?}\n */\nfunction prefixedWith(segmentGroup, startIndex, commands) {\n    /** @type {?} */\n    let currentCommandIndex = 0;\n    /** @type {?} */\n    let currentPathIndex = startIndex;\n    /** @type {?} */\n    const noMatch = { match: false, pathIndex: 0, commandIndex: 0 };\n    while (currentPathIndex < segmentGroup.segments.length) {\n        if (currentCommandIndex >= commands.length)\n            return noMatch;\n        /** @type {?} */\n        const path = segmentGroup.segments[currentPathIndex];\n        /** @type {?} */\n        const curr = getPath(commands[currentCommandIndex]);\n        /** @type {?} */\n        const next = currentCommandIndex < commands.length - 1 ? commands[currentCommandIndex + 1] : null;\n        if (currentPathIndex > 0 && curr === undefined)\n            break;\n        if (curr && next && (typeof next === 'object') && next.outlets === undefined) {\n            if (!compare(curr, next, path))\n                return noMatch;\n            currentCommandIndex += 2;\n        }\n        else {\n            if (!compare(curr, {}, path))\n                return noMatch;\n            currentCommandIndex++;\n        }\n        currentPathIndex++;\n    }\n    return { match: true, pathIndex: currentPathIndex, commandIndex: currentCommandIndex };\n}\n/**\n * @param {?} segmentGroup\n * @param {?} startIndex\n * @param {?} commands\n * @return {?}\n */\nfunction createNewSegmentGroup(segmentGroup, startIndex, commands) {\n    /** @type {?} */\n    const paths = segmentGroup.segments.slice(0, startIndex);\n    /** @type {?} */\n    let i = 0;\n    while (i < commands.length) {\n        if (typeof commands[i] === 'object' && commands[i].outlets !== undefined) {\n            /** @type {?} */\n            const children = createNewSegmentChildren(commands[i].outlets);\n            return new UrlSegmentGroup(paths, children);\n        }\n        // if we start with an object literal, we need to reuse the path part from the segment\n        if (i === 0 && isMatrixParams(commands[0])) {\n            /** @type {?} */\n            const p = segmentGroup.segments[startIndex];\n            paths.push(new UrlSegment(p.path, commands[0]));\n            i++;\n            continue;\n        }\n        /** @type {?} */\n        const curr = getPath(commands[i]);\n        /** @type {?} */\n        const next = (i < commands.length - 1) ? commands[i + 1] : null;\n        if (curr && next && isMatrixParams(next)) {\n            paths.push(new UrlSegment(curr, stringify(next)));\n            i += 2;\n        }\n        else {\n            paths.push(new UrlSegment(curr, {}));\n            i++;\n        }\n    }\n    return new UrlSegmentGroup(paths, {});\n}\n/**\n * @param {?} outlets\n * @return {?}\n */\nfunction createNewSegmentChildren(outlets) {\n    /** @type {?} */\n    const children = {};\n    forEach(outlets, (/**\n     * @param {?} commands\n     * @param {?} outlet\n     * @return {?}\n     */\n    (commands, outlet) => {\n        if (commands !== null) {\n            children[outlet] = createNewSegmentGroup(new UrlSegmentGroup([], {}), 0, commands);\n        }\n    }));\n    return children;\n}\n/**\n * @param {?} params\n * @return {?}\n */\nfunction stringify(params) {\n    /** @type {?} */\n    const res = {};\n    forEach(params, (/**\n     * @param {?} v\n     * @param {?} k\n     * @return {?}\n     */\n    (v, k) => res[k] = `${v}`));\n    return res;\n}\n/**\n * @param {?} path\n * @param {?} params\n * @param {?} segment\n * @return {?}\n */\nfunction compare(path, params, segment) {\n    return path == segment.path && shallowEqual(params, segment.parameters);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst activateRoutes = (/**\n * @param {?} rootContexts\n * @param {?} routeReuseStrategy\n * @param {?} forwardEvent\n * @return {?}\n */\n(rootContexts, routeReuseStrategy, forwardEvent) => Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])((/**\n * @param {?} t\n * @return {?}\n */\nt => {\n    new ActivateRoutes(routeReuseStrategy, (/** @type {?} */ (t.targetRouterState)), t.currentRouterState, forwardEvent)\n        .activate(rootContexts);\n    return t;\n})));\nclass ActivateRoutes {\n    /**\n     * @param {?} routeReuseStrategy\n     * @param {?} futureState\n     * @param {?} currState\n     * @param {?} forwardEvent\n     */\n    constructor(routeReuseStrategy, futureState, currState, forwardEvent) {\n        this.routeReuseStrategy = routeReuseStrategy;\n        this.futureState = futureState;\n        this.currState = currState;\n        this.forwardEvent = forwardEvent;\n    }\n    /**\n     * @param {?} parentContexts\n     * @return {?}\n     */\n    activate(parentContexts) {\n        /** @type {?} */\n        const futureRoot = this.futureState._root;\n        /** @type {?} */\n        const currRoot = this.currState ? this.currState._root : null;\n        this.deactivateChildRoutes(futureRoot, currRoot, parentContexts);\n        advanceActivatedRoute(this.futureState.root);\n        this.activateChildRoutes(futureRoot, currRoot, parentContexts);\n    }\n    // De-activate the child route that are not re-used for the future state\n    /**\n     * @private\n     * @param {?} futureNode\n     * @param {?} currNode\n     * @param {?} contexts\n     * @return {?}\n     */\n    deactivateChildRoutes(futureNode, currNode, contexts) {\n        /** @type {?} */\n        const children = nodeChildrenAsMap(currNode);\n        // Recurse on the routes active in the future state to de-activate deeper children\n        futureNode.children.forEach((/**\n         * @param {?} futureChild\n         * @return {?}\n         */\n        futureChild => {\n            /** @type {?} */\n            const childOutletName = futureChild.value.outlet;\n            this.deactivateRoutes(futureChild, children[childOutletName], contexts);\n            delete children[childOutletName];\n        }));\n        // De-activate the routes that will not be re-used\n        forEach(children, (/**\n         * @param {?} v\n         * @param {?} childName\n         * @return {?}\n         */\n        (v, childName) => {\n            this.deactivateRouteAndItsChildren(v, contexts);\n        }));\n    }\n    /**\n     * @private\n     * @param {?} futureNode\n     * @param {?} currNode\n     * @param {?} parentContext\n     * @return {?}\n     */\n    deactivateRoutes(futureNode, currNode, parentContext) {\n        /** @type {?} */\n        const future = futureNode.value;\n        /** @type {?} */\n        const curr = currNode ? currNode.value : null;\n        if (future === curr) {\n            // Reusing the node, check to see if the children need to be de-activated\n            if (future.component) {\n                // If we have a normal route, we need to go through an outlet.\n                /** @type {?} */\n                const context = parentContext.getContext(future.outlet);\n                if (context) {\n                    this.deactivateChildRoutes(futureNode, currNode, context.children);\n                }\n            }\n            else {\n                // if we have a componentless route, we recurse but keep the same outlet map.\n                this.deactivateChildRoutes(futureNode, currNode, parentContext);\n            }\n        }\n        else {\n            if (curr) {\n                // Deactivate the current route which will not be re-used\n                this.deactivateRouteAndItsChildren(currNode, parentContext);\n            }\n        }\n    }\n    /**\n     * @private\n     * @param {?} route\n     * @param {?} parentContexts\n     * @return {?}\n     */\n    deactivateRouteAndItsChildren(route, parentContexts) {\n        if (this.routeReuseStrategy.shouldDetach(route.value.snapshot)) {\n            this.detachAndStoreRouteSubtree(route, parentContexts);\n        }\n        else {\n            this.deactivateRouteAndOutlet(route, parentContexts);\n        }\n    }\n    /**\n     * @private\n     * @param {?} route\n     * @param {?} parentContexts\n     * @return {?}\n     */\n    detachAndStoreRouteSubtree(route, parentContexts) {\n        /** @type {?} */\n        const context = parentContexts.getContext(route.value.outlet);\n        if (context && context.outlet) {\n            /** @type {?} */\n            const componentRef = context.outlet.detach();\n            /** @type {?} */\n            const contexts = context.children.onOutletDeactivated();\n            this.routeReuseStrategy.store(route.value.snapshot, { componentRef, route, contexts });\n        }\n    }\n    /**\n     * @private\n     * @param {?} route\n     * @param {?} parentContexts\n     * @return {?}\n     */\n    deactivateRouteAndOutlet(route, parentContexts) {\n        /** @type {?} */\n        const context = parentContexts.getContext(route.value.outlet);\n        if (context) {\n            /** @type {?} */\n            const children = nodeChildrenAsMap(route);\n            /** @type {?} */\n            const contexts = route.value.component ? context.children : parentContexts;\n            forEach(children, (/**\n             * @param {?} v\n             * @param {?} k\n             * @return {?}\n             */\n            (v, k) => this.deactivateRouteAndItsChildren(v, contexts)));\n            if (context.outlet) {\n                // Destroy the component\n                context.outlet.deactivate();\n                // Destroy the contexts for all the outlets that were in the component\n                context.children.onOutletDeactivated();\n            }\n        }\n    }\n    /**\n     * @private\n     * @param {?} futureNode\n     * @param {?} currNode\n     * @param {?} contexts\n     * @return {?}\n     */\n    activateChildRoutes(futureNode, currNode, contexts) {\n        /** @type {?} */\n        const children = nodeChildrenAsMap(currNode);\n        futureNode.children.forEach((/**\n         * @param {?} c\n         * @return {?}\n         */\n        c => {\n            this.activateRoutes(c, children[c.value.outlet], contexts);\n            this.forwardEvent(new ActivationEnd(c.value.snapshot));\n        }));\n        if (futureNode.children.length) {\n            this.forwardEvent(new ChildActivationEnd(futureNode.value.snapshot));\n        }\n    }\n    /**\n     * @private\n     * @param {?} futureNode\n     * @param {?} currNode\n     * @param {?} parentContexts\n     * @return {?}\n     */\n    activateRoutes(futureNode, currNode, parentContexts) {\n        /** @type {?} */\n        const future = futureNode.value;\n        /** @type {?} */\n        const curr = currNode ? currNode.value : null;\n        advanceActivatedRoute(future);\n        // reusing the node\n        if (future === curr) {\n            if (future.component) {\n                // If we have a normal route, we need to go through an outlet.\n                /** @type {?} */\n                const context = parentContexts.getOrCreateContext(future.outlet);\n                this.activateChildRoutes(futureNode, currNode, context.children);\n            }\n            else {\n                // if we have a componentless route, we recurse but keep the same outlet map.\n                this.activateChildRoutes(futureNode, currNode, parentContexts);\n            }\n        }\n        else {\n            if (future.component) {\n                // if we have a normal route, we need to place the component into the outlet and recurse.\n                /** @type {?} */\n                const context = parentContexts.getOrCreateContext(future.outlet);\n                if (this.routeReuseStrategy.shouldAttach(future.snapshot)) {\n                    /** @type {?} */\n                    const stored = ((/** @type {?} */ (this.routeReuseStrategy.retrieve(future.snapshot))));\n                    this.routeReuseStrategy.store(future.snapshot, null);\n                    context.children.onOutletReAttached(stored.contexts);\n                    context.attachRef = stored.componentRef;\n                    context.route = stored.route.value;\n                    if (context.outlet) {\n                        // Attach right away when the outlet has already been instantiated\n                        // Otherwise attach from `RouterOutlet.ngOnInit` when it is instantiated\n                        context.outlet.attach(stored.componentRef, stored.route.value);\n                    }\n                    advanceActivatedRouteNodeAndItsChildren(stored.route);\n                }\n                else {\n                    /** @type {?} */\n                    const config = parentLoadedConfig(future.snapshot);\n                    /** @type {?} */\n                    const cmpFactoryResolver = config ? config.module.componentFactoryResolver : null;\n                    context.attachRef = null;\n                    context.route = future;\n                    context.resolver = cmpFactoryResolver;\n                    if (context.outlet) {\n                        // Activate the outlet when it has already been instantiated\n                        // Otherwise it will get activated from its `ngOnInit` when instantiated\n                        context.outlet.activateWith(future, cmpFactoryResolver);\n                    }\n                    this.activateChildRoutes(futureNode, null, context.children);\n                }\n            }\n            else {\n                // if we have a componentless route, we recurse but keep the same outlet map.\n                this.activateChildRoutes(futureNode, null, parentContexts);\n            }\n        }\n    }\n}\nif (false) {}\n/**\n * @param {?} node\n * @return {?}\n */\nfunction advanceActivatedRouteNodeAndItsChildren(node) {\n    advanceActivatedRoute(node.value);\n    node.children.forEach(advanceActivatedRouteNodeAndItsChildren);\n}\n/**\n * @param {?} snapshot\n * @return {?}\n */\nfunction parentLoadedConfig(snapshot) {\n    for (let s = snapshot.parent; s; s = s.parent) {\n        /** @type {?} */\n        const route = s.routeConfig;\n        if (route && route._loadedConfig)\n            return route._loadedConfig;\n        if (route && route.component)\n            return null;\n    }\n    return null;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Simple function check, but generic so type inference will flow. Example:\n *\n * function product(a: number, b: number) {\n *   return a * b;\n * }\n *\n * if (isFunction<product>(fn)) {\n *   return fn(1, 2);\n * } else {\n *   throw \"Must provide the `product` function\";\n * }\n * @template T\n * @param {?} v\n * @return {?}\n */\nfunction isFunction(v) {\n    return typeof v === 'function';\n}\n/**\n * @param {?} v\n * @return {?}\n */\nfunction isBoolean(v) {\n    return typeof v === 'boolean';\n}\n/**\n * @param {?} v\n * @return {?}\n */\nfunction isUrlTree(v) {\n    return v instanceof UrlTree;\n}\n/**\n * @param {?} guard\n * @return {?}\n */\nfunction isCanLoad(guard) {\n    return guard && isFunction(guard.canLoad);\n}\n/**\n * @param {?} guard\n * @return {?}\n */\nfunction isCanActivate(guard) {\n    return guard && isFunction(guard.canActivate);\n}\n/**\n * @param {?} guard\n * @return {?}\n */\nfunction isCanActivateChild(guard) {\n    return guard && isFunction(guard.canActivateChild);\n}\n/**\n * @template T\n * @param {?} guard\n * @return {?}\n */\nfunction isCanDeactivate(guard) {\n    return guard && isFunction(guard.canDeactivate);\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass NoMatch {\n    /**\n     * @param {?=} segmentGroup\n     */\n    constructor(segmentGroup) { this.segmentGroup = segmentGroup || null; }\n}\nif (false) {}\nclass AbsoluteRedirect {\n    /**\n     * @param {?} urlTree\n     */\n    constructor(urlTree) {\n        this.urlTree = urlTree;\n    }\n}\nif (false) {}\n/**\n * @param {?} segmentGroup\n * @return {?}\n */\nfunction noMatch(segmentGroup) {\n    return new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Observable\"]((/**\n     * @param {?} obs\n     * @return {?}\n     */\n    (obs) => obs.error(new NoMatch(segmentGroup))));\n}\n/**\n * @param {?} newTree\n * @return {?}\n */\nfunction absoluteRedirect(newTree) {\n    return new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Observable\"]((/**\n     * @param {?} obs\n     * @return {?}\n     */\n    (obs) => obs.error(new AbsoluteRedirect(newTree))));\n}\n/**\n * @param {?} redirectTo\n * @return {?}\n */\nfunction namedOutletsRedirect(redirectTo) {\n    return new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Observable\"]((/**\n     * @param {?} obs\n     * @return {?}\n     */\n    (obs) => obs.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${redirectTo}'`))));\n}\n/**\n * @param {?} route\n * @return {?}\n */\nfunction canLoadFails(route) {\n    return new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Observable\"]((/**\n     * @param {?} obs\n     * @return {?}\n     */\n    (obs) => obs.error(navigationCancelingError(`Cannot load children because the guard of the route \"path: '${route.path}'\" returned false`))));\n}\n/**\n * Returns the `UrlTree` with the redirection applied.\n *\n * Lazy modules are loaded along the way.\n * @param {?} moduleInjector\n * @param {?} configLoader\n * @param {?} urlSerializer\n * @param {?} urlTree\n * @param {?} config\n * @return {?}\n */\nfunction applyRedirects(moduleInjector, configLoader, urlSerializer, urlTree, config) {\n    return new ApplyRedirects(moduleInjector, configLoader, urlSerializer, urlTree, config).apply();\n}\nclass ApplyRedirects {\n    /**\n     * @param {?} moduleInjector\n     * @param {?} configLoader\n     * @param {?} urlSerializer\n     * @param {?} urlTree\n     * @param {?} config\n     */\n    constructor(moduleInjector, configLoader, urlSerializer, urlTree, config) {\n        this.configLoader = configLoader;\n        this.urlSerializer = urlSerializer;\n        this.urlTree = urlTree;\n        this.config = config;\n        this.allowRedirects = true;\n        this.ngModule = moduleInjector.get(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgModuleRef\"]);\n    }\n    /**\n     * @return {?}\n     */\n    apply() {\n        /** @type {?} */\n        const expanded$ = this.expandSegmentGroup(this.ngModule, this.config, this.urlTree.root, PRIMARY_OUTLET);\n        /** @type {?} */\n        const urlTrees$ = expanded$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])((/**\n         * @param {?} rootSegmentGroup\n         * @return {?}\n         */\n        (rootSegmentGroup) => this.createUrlTree(rootSegmentGroup, this.urlTree.queryParams, (/** @type {?} */ (this.urlTree.fragment))))));\n        return urlTrees$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"catchError\"])((/**\n         * @param {?} e\n         * @return {?}\n         */\n        (e) => {\n            if (e instanceof AbsoluteRedirect) {\n                // after an absolute redirect we do not apply any more redirects!\n                this.allowRedirects = false;\n                // we need to run matching, so we can fetch all lazy-loaded modules\n                return this.match(e.urlTree);\n            }\n            if (e instanceof NoMatch) {\n                throw this.noMatchError(e);\n            }\n            throw e;\n        })));\n    }\n    /**\n     * @private\n     * @param {?} tree\n     * @return {?}\n     */\n    match(tree) {\n        /** @type {?} */\n        const expanded$ = this.expandSegmentGroup(this.ngModule, this.config, tree.root, PRIMARY_OUTLET);\n        /** @type {?} */\n        const mapped$ = expanded$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])((/**\n         * @param {?} rootSegmentGroup\n         * @return {?}\n         */\n        (rootSegmentGroup) => this.createUrlTree(rootSegmentGroup, tree.queryParams, (/** @type {?} */ (tree.fragment))))));\n        return mapped$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"catchError\"])((/**\n         * @param {?} e\n         * @return {?}\n         */\n        (e) => {\n            if (e instanceof NoMatch) {\n                throw this.noMatchError(e);\n            }\n            throw e;\n        })));\n    }\n    /**\n     * @private\n     * @param {?} e\n     * @return {?}\n     */\n    noMatchError(e) {\n        return new Error(`Cannot match any routes. URL Segment: '${e.segmentGroup}'`);\n    }\n    /**\n     * @private\n     * @param {?} rootCandidate\n     * @param {?} queryParams\n     * @param {?} fragment\n     * @return {?}\n     */\n    createUrlTree(rootCandidate, queryParams, fragment) {\n        /** @type {?} */\n        const root = rootCandidate.segments.length > 0 ?\n            new UrlSegmentGroup([], { [PRIMARY_OUTLET]: rootCandidate }) :\n            rootCandidate;\n        return new UrlTree(root, queryParams, fragment);\n    }\n    /**\n     * @private\n     * @param {?} ngModule\n     * @param {?} routes\n     * @param {?} segmentGroup\n     * @param {?} outlet\n     * @return {?}\n     */\n    expandSegmentGroup(ngModule, routes, segmentGroup, outlet) {\n        if (segmentGroup.segments.length === 0 && segmentGroup.hasChildren()) {\n            return this.expandChildren(ngModule, routes, segmentGroup)\n                .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])((/**\n             * @param {?} children\n             * @return {?}\n             */\n            (children) => new UrlSegmentGroup([], children))));\n        }\n        return this.expandSegment(ngModule, segmentGroup, routes, segmentGroup.segments, outlet, true);\n    }\n    // Recursively expand segment groups for all the child outlets\n    /**\n     * @private\n     * @param {?} ngModule\n     * @param {?} routes\n     * @param {?} segmentGroup\n     * @return {?}\n     */\n    expandChildren(ngModule, routes, segmentGroup) {\n        return waitForMap(segmentGroup.children, (/**\n         * @param {?} childOutlet\n         * @param {?} child\n         * @return {?}\n         */\n        (childOutlet, child) => this.expandSegmentGroup(ngModule, routes, child, childOutlet)));\n    }\n    /**\n     * @private\n     * @param {?} ngModule\n     * @param {?} segmentGroup\n     * @param {?} routes\n     * @param {?} segments\n     * @param {?} outlet\n     * @param {?} allowRedirects\n     * @return {?}\n     */\n    expandSegment(ngModule, segmentGroup, routes, segments, outlet, allowRedirects) {\n        return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(...routes).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])((/**\n         * @param {?} r\n         * @return {?}\n         */\n        (r) => {\n            /** @type {?} */\n            const expanded$ = this.expandSegmentAgainstRoute(ngModule, segmentGroup, routes, r, segments, outlet, allowRedirects);\n            return expanded$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"catchError\"])((/**\n             * @param {?} e\n             * @return {?}\n             */\n            (e) => {\n                if (e instanceof NoMatch) {\n                    // TODO(i): this return type doesn't match the declared Observable<UrlSegmentGroup> -\n                    // talk to Jason\n                    return (/** @type {?} */ (Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(null)));\n                }\n                throw e;\n            })));\n        })), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"concatAll\"])(), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"first\"])((/**\n         * @param {?} s\n         * @return {?}\n         */\n        (s) => !!s)), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"catchError\"])((/**\n         * @param {?} e\n         * @param {?} _\n         * @return {?}\n         */\n        (e, _) => {\n            if (e instanceof rxjs__WEBPACK_IMPORTED_MODULE_2__[\"EmptyError\"] || e.name === 'EmptyError') {\n                if (this.noLeftoversInUrl(segmentGroup, segments, outlet)) {\n                    return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(new UrlSegmentGroup([], {}));\n                }\n                throw new NoMatch(segmentGroup);\n            }\n            throw e;\n        })));\n    }\n    /**\n     * @private\n     * @param {?} segmentGroup\n     * @param {?} segments\n     * @param {?} outlet\n     * @return {?}\n     */\n    noLeftoversInUrl(segmentGroup, segments, outlet) {\n        return segments.length === 0 && !segmentGroup.children[outlet];\n    }\n    /**\n     * @private\n     * @param {?} ngModule\n     * @param {?} segmentGroup\n     * @param {?} routes\n     * @param {?} route\n     * @param {?} paths\n     * @param {?} outlet\n     * @param {?} allowRedirects\n     * @return {?}\n     */\n    expandSegmentAgainstRoute(ngModule, segmentGroup, routes, route, paths, outlet, allowRedirects) {\n        if (getOutlet(route) !== outlet) {\n            return noMatch(segmentGroup);\n        }\n        if (route.redirectTo === undefined) {\n            return this.matchSegmentAgainstRoute(ngModule, segmentGroup, route, paths);\n        }\n        if (allowRedirects && this.allowRedirects) {\n            return this.expandSegmentAgainstRouteUsingRedirect(ngModule, segmentGroup, routes, route, paths, outlet);\n        }\n        return noMatch(segmentGroup);\n    }\n    /**\n     * @private\n     * @param {?} ngModule\n     * @param {?} segmentGroup\n     * @param {?} routes\n     * @param {?} route\n     * @param {?} segments\n     * @param {?} outlet\n     * @return {?}\n     */\n    expandSegmentAgainstRouteUsingRedirect(ngModule, segmentGroup, routes, route, segments, outlet) {\n        if (route.path === '**') {\n            return this.expandWildCardWithParamsAgainstRouteUsingRedirect(ngModule, routes, route, outlet);\n        }\n        return this.expandRegularSegmentAgainstRouteUsingRedirect(ngModule, segmentGroup, routes, route, segments, outlet);\n    }\n    /**\n     * @private\n     * @param {?} ngModule\n     * @param {?} routes\n     * @param {?} route\n     * @param {?} outlet\n     * @return {?}\n     */\n    expandWildCardWithParamsAgainstRouteUsingRedirect(ngModule, routes, route, outlet) {\n        /** @type {?} */\n        const newTree = this.applyRedirectCommands([], (/** @type {?} */ (route.redirectTo)), {});\n        if ((/** @type {?} */ (route.redirectTo)).startsWith('/')) {\n            return absoluteRedirect(newTree);\n        }\n        return this.lineralizeSegments(route, newTree).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"mergeMap\"])((/**\n         * @param {?} newSegments\n         * @return {?}\n         */\n        (newSegments) => {\n            /** @type {?} */\n            const group = new UrlSegmentGroup(newSegments, {});\n            return this.expandSegment(ngModule, group, routes, newSegments, outlet, false);\n        })));\n    }\n    /**\n     * @private\n     * @param {?} ngModule\n     * @param {?} segmentGroup\n     * @param {?} routes\n     * @param {?} route\n     * @param {?} segments\n     * @param {?} outlet\n     * @return {?}\n     */\n    expandRegularSegmentAgainstRouteUsingRedirect(ngModule, segmentGroup, routes, route, segments, outlet) {\n        const { matched, consumedSegments, lastChild, positionalParamSegments } = match(segmentGroup, route, segments);\n        if (!matched)\n            return noMatch(segmentGroup);\n        /** @type {?} */\n        const newTree = this.applyRedirectCommands(consumedSegments, (/** @type {?} */ (route.redirectTo)), (/** @type {?} */ (positionalParamSegments)));\n        if ((/** @type {?} */ (route.redirectTo)).startsWith('/')) {\n            return absoluteRedirect(newTree);\n        }\n        return this.lineralizeSegments(route, newTree).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"mergeMap\"])((/**\n         * @param {?} newSegments\n         * @return {?}\n         */\n        (newSegments) => {\n            return this.expandSegment(ngModule, segmentGroup, routes, newSegments.concat(segments.slice(lastChild)), outlet, false);\n        })));\n    }\n    /**\n     * @private\n     * @param {?} ngModule\n     * @param {?} rawSegmentGroup\n     * @param {?} route\n     * @param {?} segments\n     * @return {?}\n     */\n    matchSegmentAgainstRoute(ngModule, rawSegmentGroup, route, segments) {\n        if (route.path === '**') {\n            if (route.loadChildren) {\n                return this.configLoader.load(ngModule.injector, route)\n                    .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])((/**\n                 * @param {?} cfg\n                 * @return {?}\n                 */\n                (cfg) => {\n                    route._loadedConfig = cfg;\n                    return new UrlSegmentGroup(segments, {});\n                })));\n            }\n            return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(new UrlSegmentGroup(segments, {}));\n        }\n        const { matched, consumedSegments, lastChild } = match(rawSegmentGroup, route, segments);\n        if (!matched)\n            return noMatch(rawSegmentGroup);\n        /** @type {?} */\n        const rawSlicedSegments = segments.slice(lastChild);\n        /** @type {?} */\n        const childConfig$ = this.getChildConfig(ngModule, route, segments);\n        return childConfig$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"mergeMap\"])((/**\n         * @param {?} routerConfig\n         * @return {?}\n         */\n        (routerConfig) => {\n            /** @type {?} */\n            const childModule = routerConfig.module;\n            /** @type {?} */\n            const childConfig = routerConfig.routes;\n            const { segmentGroup, slicedSegments } = split(rawSegmentGroup, consumedSegments, rawSlicedSegments, childConfig);\n            if (slicedSegments.length === 0 && segmentGroup.hasChildren()) {\n                /** @type {?} */\n                const expanded$ = this.expandChildren(childModule, childConfig, segmentGroup);\n                return expanded$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])((/**\n                 * @param {?} children\n                 * @return {?}\n                 */\n                (children) => new UrlSegmentGroup(consumedSegments, children))));\n            }\n            if (childConfig.length === 0 && slicedSegments.length === 0) {\n                return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(new UrlSegmentGroup(consumedSegments, {}));\n            }\n            /** @type {?} */\n            const expanded$ = this.expandSegment(childModule, segmentGroup, childConfig, slicedSegments, PRIMARY_OUTLET, true);\n            return expanded$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])((/**\n             * @param {?} cs\n             * @return {?}\n             */\n            (cs) => new UrlSegmentGroup(consumedSegments.concat(cs.segments), cs.children))));\n        })));\n    }\n    /**\n     * @private\n     * @param {?} ngModule\n     * @param {?} route\n     * @param {?} segments\n     * @return {?}\n     */\n    getChildConfig(ngModule, route, segments) {\n        if (route.children) {\n            // The children belong to the same module\n            return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(new LoadedRouterConfig(route.children, ngModule));\n        }\n        if (route.loadChildren) {\n            // lazy children belong to the loaded module\n            if (route._loadedConfig !== undefined) {\n                return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(route._loadedConfig);\n            }\n            return runCanLoadGuard(ngModule.injector, route, segments)\n                .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"mergeMap\"])((/**\n             * @param {?} shouldLoad\n             * @return {?}\n             */\n            (shouldLoad) => {\n                if (shouldLoad) {\n                    return this.configLoader.load(ngModule.injector, route)\n                        .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])((/**\n                     * @param {?} cfg\n                     * @return {?}\n                     */\n                    (cfg) => {\n                        route._loadedConfig = cfg;\n                        return cfg;\n                    })));\n                }\n                return canLoadFails(route);\n            })));\n        }\n        return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(new LoadedRouterConfig([], ngModule));\n    }\n    /**\n     * @private\n     * @param {?} route\n     * @param {?} urlTree\n     * @return {?}\n     */\n    lineralizeSegments(route, urlTree) {\n        /** @type {?} */\n        let res = [];\n        /** @type {?} */\n        let c = urlTree.root;\n        while (true) {\n            res = res.concat(c.segments);\n            if (c.numberOfChildren === 0) {\n                return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(res);\n            }\n            if (c.numberOfChildren > 1 || !c.children[PRIMARY_OUTLET]) {\n                return namedOutletsRedirect((/** @type {?} */ (route.redirectTo)));\n            }\n            c = c.children[PRIMARY_OUTLET];\n        }\n    }\n    /**\n     * @private\n     * @param {?} segments\n     * @param {?} redirectTo\n     * @param {?} posParams\n     * @return {?}\n     */\n    applyRedirectCommands(segments, redirectTo, posParams) {\n        return this.applyRedirectCreatreUrlTree(redirectTo, this.urlSerializer.parse(redirectTo), segments, posParams);\n    }\n    /**\n     * @private\n     * @param {?} redirectTo\n     * @param {?} urlTree\n     * @param {?} segments\n     * @param {?} posParams\n     * @return {?}\n     */\n    applyRedirectCreatreUrlTree(redirectTo, urlTree, segments, posParams) {\n        /** @type {?} */\n        const newRoot = this.createSegmentGroup(redirectTo, urlTree.root, segments, posParams);\n        return new UrlTree(newRoot, this.createQueryParams(urlTree.queryParams, this.urlTree.queryParams), urlTree.fragment);\n    }\n    /**\n     * @private\n     * @param {?} redirectToParams\n     * @param {?} actualParams\n     * @return {?}\n     */\n    createQueryParams(redirectToParams, actualParams) {\n        /** @type {?} */\n        const res = {};\n        forEach(redirectToParams, (/**\n         * @param {?} v\n         * @param {?} k\n         * @return {?}\n         */\n        (v, k) => {\n            /** @type {?} */\n            const copySourceValue = typeof v === 'string' && v.startsWith(':');\n            if (copySourceValue) {\n                /** @type {?} */\n                const sourceName = v.substring(1);\n                res[k] = actualParams[sourceName];\n            }\n            else {\n                res[k] = v;\n            }\n        }));\n        return res;\n    }\n    /**\n     * @private\n     * @param {?} redirectTo\n     * @param {?} group\n     * @param {?} segments\n     * @param {?} posParams\n     * @return {?}\n     */\n    createSegmentGroup(redirectTo, group, segments, posParams) {\n        /** @type {?} */\n        const updatedSegments = this.createSegments(redirectTo, group.segments, segments, posParams);\n        /** @type {?} */\n        let children = {};\n        forEach(group.children, (/**\n         * @param {?} child\n         * @param {?} name\n         * @return {?}\n         */\n        (child, name) => {\n            children[name] = this.createSegmentGroup(redirectTo, child, segments, posParams);\n        }));\n        return new UrlSegmentGroup(updatedSegments, children);\n    }\n    /**\n     * @private\n     * @param {?} redirectTo\n     * @param {?} redirectToSegments\n     * @param {?} actualSegments\n     * @param {?} posParams\n     * @return {?}\n     */\n    createSegments(redirectTo, redirectToSegments, actualSegments, posParams) {\n        return redirectToSegments.map((/**\n         * @param {?} s\n         * @return {?}\n         */\n        s => s.path.startsWith(':') ? this.findPosParam(redirectTo, s, posParams) :\n            this.findOrReturn(s, actualSegments)));\n    }\n    /**\n     * @private\n     * @param {?} redirectTo\n     * @param {?} redirectToUrlSegment\n     * @param {?} posParams\n     * @return {?}\n     */\n    findPosParam(redirectTo, redirectToUrlSegment, posParams) {\n        /** @type {?} */\n        const pos = posParams[redirectToUrlSegment.path.substring(1)];\n        if (!pos)\n            throw new Error(`Cannot redirect to '${redirectTo}'. Cannot find '${redirectToUrlSegment.path}'.`);\n        return pos;\n    }\n    /**\n     * @private\n     * @param {?} redirectToUrlSegment\n     * @param {?} actualSegments\n     * @return {?}\n     */\n    findOrReturn(redirectToUrlSegment, actualSegments) {\n        /** @type {?} */\n        let idx = 0;\n        for (const s of actualSegments) {\n            if (s.path === redirectToUrlSegment.path) {\n                actualSegments.splice(idx);\n                return s;\n            }\n            idx++;\n        }\n        return redirectToUrlSegment;\n    }\n}\nif (false) {}\n/**\n * @param {?} moduleInjector\n * @param {?} route\n * @param {?} segments\n * @return {?}\n */\nfunction runCanLoadGuard(moduleInjector, route, segments) {\n    /** @type {?} */\n    const canLoad = route.canLoad;\n    if (!canLoad || canLoad.length === 0)\n        return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(true);\n    /** @type {?} */\n    const obs = Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"from\"])(canLoad).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])((/**\n     * @param {?} injectionToken\n     * @return {?}\n     */\n    (injectionToken) => {\n        /** @type {?} */\n        const guard = moduleInjector.get(injectionToken);\n        /** @type {?} */\n        let guardVal;\n        if (isCanLoad(guard)) {\n            guardVal = guard.canLoad(route, segments);\n        }\n        else if (isFunction(guard)) {\n            guardVal = guard(route, segments);\n        }\n        else {\n            throw new Error('Invalid CanLoad guard');\n        }\n        return wrapIntoObservable(guardVal);\n    })));\n    return obs.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"concatAll\"])(), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"every\"])((/**\n     * @param {?} result\n     * @return {?}\n     */\n    result => result === true)));\n}\n/**\n * @param {?} segmentGroup\n * @param {?} route\n * @param {?} segments\n * @return {?}\n */\nfunction match(segmentGroup, route, segments) {\n    if (route.path === '') {\n        if ((route.pathMatch === 'full') && (segmentGroup.hasChildren() || segments.length > 0)) {\n            return { matched: false, consumedSegments: [], lastChild: 0, positionalParamSegments: {} };\n        }\n        return { matched: true, consumedSegments: [], lastChild: 0, positionalParamSegments: {} };\n    }\n    /** @type {?} */\n    const matcher = route.matcher || defaultUrlMatcher;\n    /** @type {?} */\n    const res = matcher(segments, segmentGroup, route);\n    if (!res) {\n        return {\n            matched: false,\n            consumedSegments: (/** @type {?} */ ([])),\n            lastChild: 0,\n            positionalParamSegments: {},\n        };\n    }\n    return {\n        matched: true,\n        consumedSegments: (/** @type {?} */ (res.consumed)),\n        lastChild: (/** @type {?} */ (res.consumed.length)),\n        positionalParamSegments: (/** @type {?} */ (res.posParams)),\n    };\n}\n/**\n * @param {?} segmentGroup\n * @param {?} consumedSegments\n * @param {?} slicedSegments\n * @param {?} config\n * @return {?}\n */\nfunction split(segmentGroup, consumedSegments, slicedSegments, config) {\n    if (slicedSegments.length > 0 &&\n        containsEmptyPathRedirectsWithNamedOutlets(segmentGroup, slicedSegments, config)) {\n        /** @type {?} */\n        const s = new UrlSegmentGroup(consumedSegments, createChildrenForEmptySegments(config, new UrlSegmentGroup(slicedSegments, segmentGroup.children)));\n        return { segmentGroup: mergeTrivialChildren(s), slicedSegments: [] };\n    }\n    if (slicedSegments.length === 0 &&\n        containsEmptyPathRedirects(segmentGroup, slicedSegments, config)) {\n        /** @type {?} */\n        const s = new UrlSegmentGroup(segmentGroup.segments, addEmptySegmentsToChildrenIfNeeded(segmentGroup, slicedSegments, config, segmentGroup.children));\n        return { segmentGroup: mergeTrivialChildren(s), slicedSegments };\n    }\n    return { segmentGroup, slicedSegments };\n}\n/**\n * @param {?} s\n * @return {?}\n */\nfunction mergeTrivialChildren(s) {\n    if (s.numberOfChildren === 1 && s.children[PRIMARY_OUTLET]) {\n        /** @type {?} */\n        const c = s.children[PRIMARY_OUTLET];\n        return new UrlSegmentGroup(s.segments.concat(c.segments), c.children);\n    }\n    return s;\n}\n/**\n * @param {?} segmentGroup\n * @param {?} slicedSegments\n * @param {?} routes\n * @param {?} children\n * @return {?}\n */\nfunction addEmptySegmentsToChildrenIfNeeded(segmentGroup, slicedSegments, routes, children) {\n    /** @type {?} */\n    const res = {};\n    for (const r of routes) {\n        if (isEmptyPathRedirect(segmentGroup, slicedSegments, r) && !children[getOutlet(r)]) {\n            res[getOutlet(r)] = new UrlSegmentGroup([], {});\n        }\n    }\n    return Object.assign({}, children, res);\n}\n/**\n * @param {?} routes\n * @param {?} primarySegmentGroup\n * @return {?}\n */\nfunction createChildrenForEmptySegments(routes, primarySegmentGroup) {\n    /** @type {?} */\n    const res = {};\n    res[PRIMARY_OUTLET] = primarySegmentGroup;\n    for (const r of routes) {\n        if (r.path === '' && getOutlet(r) !== PRIMARY_OUTLET) {\n            res[getOutlet(r)] = new UrlSegmentGroup([], {});\n        }\n    }\n    return res;\n}\n/**\n * @param {?} segmentGroup\n * @param {?} segments\n * @param {?} routes\n * @return {?}\n */\nfunction containsEmptyPathRedirectsWithNamedOutlets(segmentGroup, segments, routes) {\n    return routes.some((/**\n     * @param {?} r\n     * @return {?}\n     */\n    r => isEmptyPathRedirect(segmentGroup, segments, r) && getOutlet(r) !== PRIMARY_OUTLET));\n}\n/**\n * @param {?} segmentGroup\n * @param {?} segments\n * @param {?} routes\n * @return {?}\n */\nfunction containsEmptyPathRedirects(segmentGroup, segments, routes) {\n    return routes.some((/**\n     * @param {?} r\n     * @return {?}\n     */\n    r => isEmptyPathRedirect(segmentGroup, segments, r)));\n}\n/**\n * @param {?} segmentGroup\n * @param {?} segments\n * @param {?} r\n * @return {?}\n */\nfunction isEmptyPathRedirect(segmentGroup, segments, r) {\n    if ((segmentGroup.hasChildren() || segments.length > 0) && r.pathMatch === 'full') {\n        return false;\n    }\n    return r.path === '' && r.redirectTo !== undefined;\n}\n/**\n * @param {?} route\n * @return {?}\n */\nfunction getOutlet(route) {\n    return route.outlet || PRIMARY_OUTLET;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @param {?} moduleInjector\n * @param {?} configLoader\n * @param {?} urlSerializer\n * @param {?} config\n * @return {?}\n */\nfunction applyRedirects$1(moduleInjector, configLoader, urlSerializer, config) {\n    return (/**\n     * @param {?} source\n     * @return {?}\n     */\n    function (source) {\n        return source.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"switchMap\"])((/**\n         * @param {?} t\n         * @return {?}\n         */\n        t => applyRedirects(moduleInjector, configLoader, urlSerializer, t.extractedUrl, config)\n            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])((/**\n         * @param {?} urlAfterRedirects\n         * @return {?}\n         */\n        urlAfterRedirects => (Object.assign({}, t, { urlAfterRedirects }))))))));\n    });\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass CanActivate {\n    /**\n     * @param {?} path\n     */\n    constructor(path) {\n        this.path = path;\n        this.route = this.path[this.path.length - 1];\n    }\n}\nif (false) {}\nclass CanDeactivate {\n    /**\n     * @param {?} component\n     * @param {?} route\n     */\n    constructor(component, route) {\n        this.component = component;\n        this.route = route;\n    }\n}\nif (false) {}\n/**\n * @param {?} future\n * @param {?} curr\n * @param {?} parentContexts\n * @return {?}\n */\nfunction getAllRouteGuards(future, curr, parentContexts) {\n    /** @type {?} */\n    const futureRoot = future._root;\n    /** @type {?} */\n    const currRoot = curr ? curr._root : null;\n    return getChildRouteGuards(futureRoot, currRoot, parentContexts, [futureRoot.value]);\n}\n/**\n * @param {?} p\n * @return {?}\n */\nfunction getCanActivateChild(p) {\n    /** @type {?} */\n    const canActivateChild = p.routeConfig ? p.routeConfig.canActivateChild : null;\n    if (!canActivateChild || canActivateChild.length === 0)\n        return null;\n    return { node: p, guards: canActivateChild };\n}\n/**\n * @param {?} token\n * @param {?} snapshot\n * @param {?} moduleInjector\n * @return {?}\n */\nfunction getToken(token, snapshot, moduleInjector) {\n    /** @type {?} */\n    const config = getClosestLoadedConfig(snapshot);\n    /** @type {?} */\n    const injector = config ? config.module.injector : moduleInjector;\n    return injector.get(token);\n}\n/**\n * @param {?} snapshot\n * @return {?}\n */\nfunction getClosestLoadedConfig(snapshot) {\n    if (!snapshot)\n        return null;\n    for (let s = snapshot.parent; s; s = s.parent) {\n        /** @type {?} */\n        const route = s.routeConfig;\n        if (route && route._loadedConfig)\n            return route._loadedConfig;\n    }\n    return null;\n}\n/**\n * @param {?} futureNode\n * @param {?} currNode\n * @param {?} contexts\n * @param {?} futurePath\n * @param {?=} checks\n * @return {?}\n */\nfunction getChildRouteGuards(futureNode, currNode, contexts, futurePath, checks = {\n    canDeactivateChecks: [],\n    canActivateChecks: []\n}) {\n    /** @type {?} */\n    const prevChildren = nodeChildrenAsMap(currNode);\n    // Process the children of the future route\n    futureNode.children.forEach((/**\n     * @param {?} c\n     * @return {?}\n     */\n    c => {\n        getRouteGuards(c, prevChildren[c.value.outlet], contexts, futurePath.concat([c.value]), checks);\n        delete prevChildren[c.value.outlet];\n    }));\n    // Process any children left from the current route (not active for the future route)\n    forEach(prevChildren, (/**\n     * @param {?} v\n     * @param {?} k\n     * @return {?}\n     */\n    (v, k) => deactivateRouteAndItsChildren(v, (/** @type {?} */ (contexts)).getContext(k), checks)));\n    return checks;\n}\n/**\n * @param {?} futureNode\n * @param {?} currNode\n * @param {?} parentContexts\n * @param {?} futurePath\n * @param {?=} checks\n * @return {?}\n */\nfunction getRouteGuards(futureNode, currNode, parentContexts, futurePath, checks = {\n    canDeactivateChecks: [],\n    canActivateChecks: []\n}) {\n    /** @type {?} */\n    const future = futureNode.value;\n    /** @type {?} */\n    const curr = currNode ? currNode.value : null;\n    /** @type {?} */\n    const context = parentContexts ? parentContexts.getContext(futureNode.value.outlet) : null;\n    // reusing the node\n    if (curr && future.routeConfig === curr.routeConfig) {\n        /** @type {?} */\n        const shouldRun = shouldRunGuardsAndResolvers(curr, future, (/** @type {?} */ (future.routeConfig)).runGuardsAndResolvers);\n        if (shouldRun) {\n            checks.canActivateChecks.push(new CanActivate(futurePath));\n        }\n        else {\n            // we need to set the data\n            future.data = curr.data;\n            future._resolvedData = curr._resolvedData;\n        }\n        // If we have a component, we need to go through an outlet.\n        if (future.component) {\n            getChildRouteGuards(futureNode, currNode, context ? context.children : null, futurePath, checks);\n            // if we have a componentless route, we recurse but keep the same outlet map.\n        }\n        else {\n            getChildRouteGuards(futureNode, currNode, parentContexts, futurePath, checks);\n        }\n        if (shouldRun) {\n            /** @type {?} */\n            const component = context && context.outlet && context.outlet.component || null;\n            checks.canDeactivateChecks.push(new CanDeactivate(component, curr));\n        }\n    }\n    else {\n        if (curr) {\n            deactivateRouteAndItsChildren(currNode, context, checks);\n        }\n        checks.canActivateChecks.push(new CanActivate(futurePath));\n        // If we have a component, we need to go through an outlet.\n        if (future.component) {\n            getChildRouteGuards(futureNode, null, context ? context.children : null, futurePath, checks);\n            // if we have a componentless route, we recurse but keep the same outlet map.\n        }\n        else {\n            getChildRouteGuards(futureNode, null, parentContexts, futurePath, checks);\n        }\n    }\n    return checks;\n}\n/**\n * @param {?} curr\n * @param {?} future\n * @param {?} mode\n * @return {?}\n */\nfunction shouldRunGuardsAndResolvers(curr, future, mode) {\n    if (typeof mode === 'function') {\n        return mode(curr, future);\n    }\n    switch (mode) {\n        case 'pathParamsChange':\n            return !equalPath(curr.url, future.url);\n        case 'pathParamsOrQueryParamsChange':\n            return !equalPath(curr.url, future.url) ||\n                !shallowEqual(curr.queryParams, future.queryParams);\n        case 'always':\n            return true;\n        case 'paramsOrQueryParamsChange':\n            return !equalParamsAndUrlSegments(curr, future) ||\n                !shallowEqual(curr.queryParams, future.queryParams);\n        case 'paramsChange':\n        default:\n            return !equalParamsAndUrlSegments(curr, future);\n    }\n}\n/**\n * @param {?} route\n * @param {?} context\n * @param {?} checks\n * @return {?}\n */\nfunction deactivateRouteAndItsChildren(route, context, checks) {\n    /** @type {?} */\n    const children = nodeChildrenAsMap(route);\n    /** @type {?} */\n    const r = route.value;\n    forEach(children, (/**\n     * @param {?} node\n     * @param {?} childName\n     * @return {?}\n     */\n    (node, childName) => {\n        if (!r.component) {\n            deactivateRouteAndItsChildren(node, context, checks);\n        }\n        else if (context) {\n            deactivateRouteAndItsChildren(node, context.children.getContext(childName), checks);\n        }\n        else {\n            deactivateRouteAndItsChildren(node, null, checks);\n        }\n    }));\n    if (!r.component) {\n        checks.canDeactivateChecks.push(new CanDeactivate(null, r));\n    }\n    else if (context && context.outlet && context.outlet.isActivated) {\n        checks.canDeactivateChecks.push(new CanDeactivate(context.outlet.component, r));\n    }\n    else {\n        checks.canDeactivateChecks.push(new CanDeactivate(null, r));\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/** @type {?} */\nconst INITIAL_VALUE = Symbol('INITIAL_VALUE');\n/**\n * @return {?}\n */\nfunction prioritizedGuardValue() {\n    return Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"switchMap\"])((/**\n     * @param {?} obs\n     * @return {?}\n     */\n    obs => {\n        return (/** @type {?} */ (Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"combineLatest\"])(...obs.map((/**\n         * @param {?} o\n         * @return {?}\n         */\n        o => o.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"take\"])(1), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"startWith\"])((/** @type {?} */ (INITIAL_VALUE)))))))\n            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"scan\"])((/**\n         * @param {?} acc\n         * @param {?} list\n         * @return {?}\n         */\n        (acc, list) => {\n            /** @type {?} */\n            let isPending = false;\n            return list.reduce((/**\n             * @param {?} innerAcc\n             * @param {?} val\n             * @param {?} i\n             * @return {?}\n             */\n            (innerAcc, val, i) => {\n                if (innerAcc !== INITIAL_VALUE)\n                    return innerAcc;\n                // Toggle pending flag if any values haven't been set yet\n                if (val === INITIAL_VALUE)\n                    isPending = true;\n                // Any other return values are only valid if we haven't yet hit a pending call.\n                // This guarantees that in the case of a guard at the bottom of the tree that\n                // returns a redirect, we will wait for the higher priority guard at the top to\n                // finish before performing the redirect.\n                if (!isPending) {\n                    // Early return when we hit a `false` value as that should always cancel\n                    // navigation\n                    if (val === false)\n                        return val;\n                    if (i === list.length - 1 || isUrlTree(val)) {\n                        return val;\n                    }\n                }\n                return innerAcc;\n            }), acc);\n        }), INITIAL_VALUE), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"filter\"])((/**\n         * @param {?} item\n         * @return {?}\n         */\n        item => item !== INITIAL_VALUE)), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])((/**\n         * @param {?} item\n         * @return {?}\n         */\n        item => isUrlTree(item) ? item : item === true)), //\n        Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"take\"])(1))));\n    }));\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @param {?} moduleInjector\n * @param {?=} forwardEvent\n * @return {?}\n */\nfunction checkGuards(moduleInjector, forwardEvent) {\n    return (/**\n     * @param {?} source\n     * @return {?}\n     */\n    function (source) {\n        return source.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"mergeMap\"])((/**\n         * @param {?} t\n         * @return {?}\n         */\n        t => {\n            const { targetSnapshot, currentSnapshot, guards: { canActivateChecks, canDeactivateChecks } } = t;\n            if (canDeactivateChecks.length === 0 && canActivateChecks.length === 0) {\n                return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(Object.assign({}, t, { guardsResult: true }));\n            }\n            return runCanDeactivateChecks(canDeactivateChecks, (/** @type {?} */ (targetSnapshot)), currentSnapshot, moduleInjector)\n                .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"mergeMap\"])((/**\n             * @param {?} canDeactivate\n             * @return {?}\n             */\n            canDeactivate => {\n                return canDeactivate && isBoolean(canDeactivate) ?\n                    runCanActivateChecks((/** @type {?} */ (targetSnapshot)), canActivateChecks, moduleInjector, forwardEvent) :\n                    Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(canDeactivate);\n            })), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])((/**\n             * @param {?} guardsResult\n             * @return {?}\n             */\n            guardsResult => (Object.assign({}, t, { guardsResult })))));\n        })));\n    });\n}\n/**\n * @param {?} checks\n * @param {?} futureRSS\n * @param {?} currRSS\n * @param {?} moduleInjector\n * @return {?}\n */\nfunction runCanDeactivateChecks(checks, futureRSS, currRSS, moduleInjector) {\n    return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"from\"])(checks).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"mergeMap\"])((/**\n     * @param {?} check\n     * @return {?}\n     */\n    check => runCanDeactivate(check.component, check.route, currRSS, futureRSS, moduleInjector))), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"first\"])((/**\n     * @param {?} result\n     * @return {?}\n     */\n    result => { return result !== true; }), (/** @type {?} */ (true))));\n}\n/**\n * @param {?} futureSnapshot\n * @param {?} checks\n * @param {?} moduleInjector\n * @param {?=} forwardEvent\n * @return {?}\n */\nfunction runCanActivateChecks(futureSnapshot, checks, moduleInjector, forwardEvent) {\n    return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"from\"])(checks).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"concatMap\"])((/**\n     * @param {?} check\n     * @return {?}\n     */\n    (check) => {\n        return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"from\"])([\n            fireChildActivationStart(check.route.parent, forwardEvent),\n            fireActivationStart(check.route, forwardEvent),\n            runCanActivateChild(futureSnapshot, check.path, moduleInjector),\n            runCanActivate(futureSnapshot, check.route, moduleInjector)\n        ])\n            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"concatAll\"])(), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"first\"])((/**\n         * @param {?} result\n         * @return {?}\n         */\n        result => {\n            return result !== true;\n        }), (/** @type {?} */ (true))));\n    })), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"first\"])((/**\n     * @param {?} result\n     * @return {?}\n     */\n    result => { return result !== true; }), (/** @type {?} */ (true))));\n}\n/**\n * This should fire off `ActivationStart` events for each route being activated at this\n * level.\n * In other words, if you're activating `a` and `b` below, `path` will contain the\n * `ActivatedRouteSnapshot`s for both and we will fire `ActivationStart` for both. Always\n * return\n * `true` so checks continue to run.\n * @param {?} snapshot\n * @param {?=} forwardEvent\n * @return {?}\n */\nfunction fireActivationStart(snapshot, forwardEvent) {\n    if (snapshot !== null && forwardEvent) {\n        forwardEvent(new ActivationStart(snapshot));\n    }\n    return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(true);\n}\n/**\n * This should fire off `ChildActivationStart` events for each route being activated at this\n * level.\n * In other words, if you're activating `a` and `b` below, `path` will contain the\n * `ActivatedRouteSnapshot`s for both and we will fire `ChildActivationStart` for both. Always\n * return\n * `true` so checks continue to run.\n * @param {?} snapshot\n * @param {?=} forwardEvent\n * @return {?}\n */\nfunction fireChildActivationStart(snapshot, forwardEvent) {\n    if (snapshot !== null && forwardEvent) {\n        forwardEvent(new ChildActivationStart(snapshot));\n    }\n    return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(true);\n}\n/**\n * @param {?} futureRSS\n * @param {?} futureARS\n * @param {?} moduleInjector\n * @return {?}\n */\nfunction runCanActivate(futureRSS, futureARS, moduleInjector) {\n    /** @type {?} */\n    const canActivate = futureARS.routeConfig ? futureARS.routeConfig.canActivate : null;\n    if (!canActivate || canActivate.length === 0)\n        return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(true);\n    /** @type {?} */\n    const canActivateObservables = canActivate.map((/**\n     * @param {?} c\n     * @return {?}\n     */\n    (c) => {\n        return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"defer\"])((/**\n         * @return {?}\n         */\n        () => {\n            /** @type {?} */\n            const guard = getToken(c, futureARS, moduleInjector);\n            /** @type {?} */\n            let observable;\n            if (isCanActivate(guard)) {\n                observable = wrapIntoObservable(guard.canActivate(futureARS, futureRSS));\n            }\n            else if (isFunction(guard)) {\n                observable = wrapIntoObservable(guard(futureARS, futureRSS));\n            }\n            else {\n                throw new Error('Invalid CanActivate guard');\n            }\n            return observable.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"first\"])());\n        }));\n    }));\n    return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(canActivateObservables).pipe(prioritizedGuardValue());\n}\n/**\n * @param {?} futureRSS\n * @param {?} path\n * @param {?} moduleInjector\n * @return {?}\n */\nfunction runCanActivateChild(futureRSS, path, moduleInjector) {\n    /** @type {?} */\n    const futureARS = path[path.length - 1];\n    /** @type {?} */\n    const canActivateChildGuards = path.slice(0, path.length - 1)\n        .reverse()\n        .map((/**\n     * @param {?} p\n     * @return {?}\n     */\n    p => getCanActivateChild(p)))\n        .filter((/**\n     * @param {?} _\n     * @return {?}\n     */\n    _ => _ !== null));\n    /** @type {?} */\n    const canActivateChildGuardsMapped = canActivateChildGuards.map((/**\n     * @param {?} d\n     * @return {?}\n     */\n    (d) => {\n        return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"defer\"])((/**\n         * @return {?}\n         */\n        () => {\n            /** @type {?} */\n            const guardsMapped = d.guards.map((/**\n             * @param {?} c\n             * @return {?}\n             */\n            (c) => {\n                /** @type {?} */\n                const guard = getToken(c, d.node, moduleInjector);\n                /** @type {?} */\n                let observable;\n                if (isCanActivateChild(guard)) {\n                    observable = wrapIntoObservable(guard.canActivateChild(futureARS, futureRSS));\n                }\n                else if (isFunction(guard)) {\n                    observable = wrapIntoObservable(guard(futureARS, futureRSS));\n                }\n                else {\n                    throw new Error('Invalid CanActivateChild guard');\n                }\n                return observable.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"first\"])());\n            }));\n            return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(guardsMapped).pipe(prioritizedGuardValue());\n        }));\n    }));\n    return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(canActivateChildGuardsMapped).pipe(prioritizedGuardValue());\n}\n/**\n * @param {?} component\n * @param {?} currARS\n * @param {?} currRSS\n * @param {?} futureRSS\n * @param {?} moduleInjector\n * @return {?}\n */\nfunction runCanDeactivate(component, currARS, currRSS, futureRSS, moduleInjector) {\n    /** @type {?} */\n    const canDeactivate = currARS && currARS.routeConfig ? currARS.routeConfig.canDeactivate : null;\n    if (!canDeactivate || canDeactivate.length === 0)\n        return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(true);\n    /** @type {?} */\n    const canDeactivateObservables = canDeactivate.map((/**\n     * @param {?} c\n     * @return {?}\n     */\n    (c) => {\n        /** @type {?} */\n        const guard = getToken(c, currARS, moduleInjector);\n        /** @type {?} */\n        let observable;\n        if (isCanDeactivate(guard)) {\n            observable =\n                wrapIntoObservable(guard.canDeactivate((/** @type {?} */ (component)), currARS, currRSS, futureRSS));\n        }\n        else if (isFunction(guard)) {\n            observable = wrapIntoObservable(guard(component, currARS, currRSS, futureRSS));\n        }\n        else {\n            throw new Error('Invalid CanDeactivate guard');\n        }\n        return observable.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"first\"])());\n    }));\n    return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(canDeactivateObservables).pipe(prioritizedGuardValue());\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass NoMatch$1 {\n}\n/**\n * @param {?} rootComponentType\n * @param {?} config\n * @param {?} urlTree\n * @param {?} url\n * @param {?=} paramsInheritanceStrategy\n * @param {?=} relativeLinkResolution\n * @return {?}\n */\nfunction recognize(rootComponentType, config, urlTree, url, paramsInheritanceStrategy = 'emptyOnly', relativeLinkResolution = 'legacy') {\n    return new Recognizer(rootComponentType, config, urlTree, url, paramsInheritanceStrategy, relativeLinkResolution)\n        .recognize();\n}\nclass Recognizer {\n    /**\n     * @param {?} rootComponentType\n     * @param {?} config\n     * @param {?} urlTree\n     * @param {?} url\n     * @param {?} paramsInheritanceStrategy\n     * @param {?} relativeLinkResolution\n     */\n    constructor(rootComponentType, config, urlTree, url, paramsInheritanceStrategy, relativeLinkResolution) {\n        this.rootComponentType = rootComponentType;\n        this.config = config;\n        this.urlTree = urlTree;\n        this.url = url;\n        this.paramsInheritanceStrategy = paramsInheritanceStrategy;\n        this.relativeLinkResolution = relativeLinkResolution;\n    }\n    /**\n     * @return {?}\n     */\n    recognize() {\n        try {\n            /** @type {?} */\n            const rootSegmentGroup = split$1(this.urlTree.root, [], [], this.config, this.relativeLinkResolution).segmentGroup;\n            /** @type {?} */\n            const children = this.processSegmentGroup(this.config, rootSegmentGroup, PRIMARY_OUTLET);\n            /** @type {?} */\n            const root = new ActivatedRouteSnapshot([], Object.freeze({}), Object.freeze(Object.assign({}, this.urlTree.queryParams)), (/** @type {?} */ (this.urlTree.fragment)), {}, PRIMARY_OUTLET, this.rootComponentType, null, this.urlTree.root, -1, {});\n            /** @type {?} */\n            const rootNode = new TreeNode(root, children);\n            /** @type {?} */\n            const routeState = new RouterStateSnapshot(this.url, rootNode);\n            this.inheritParamsAndData(routeState._root);\n            return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(routeState);\n        }\n        catch (e) {\n            return new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Observable\"]((/**\n             * @param {?} obs\n             * @return {?}\n             */\n            (obs) => obs.error(e)));\n        }\n    }\n    /**\n     * @param {?} routeNode\n     * @return {?}\n     */\n    inheritParamsAndData(routeNode) {\n        /** @type {?} */\n        const route = routeNode.value;\n        /** @type {?} */\n        const i = inheritedParamsDataResolve(route, this.paramsInheritanceStrategy);\n        route.params = Object.freeze(i.params);\n        route.data = Object.freeze(i.data);\n        routeNode.children.forEach((/**\n         * @param {?} n\n         * @return {?}\n         */\n        n => this.inheritParamsAndData(n)));\n    }\n    /**\n     * @param {?} config\n     * @param {?} segmentGroup\n     * @param {?} outlet\n     * @return {?}\n     */\n    processSegmentGroup(config, segmentGroup, outlet) {\n        if (segmentGroup.segments.length === 0 && segmentGroup.hasChildren()) {\n            return this.processChildren(config, segmentGroup);\n        }\n        return this.processSegment(config, segmentGroup, segmentGroup.segments, outlet);\n    }\n    /**\n     * @param {?} config\n     * @param {?} segmentGroup\n     * @return {?}\n     */\n    processChildren(config, segmentGroup) {\n        /** @type {?} */\n        const children = mapChildrenIntoArray(segmentGroup, (/**\n         * @param {?} child\n         * @param {?} childOutlet\n         * @return {?}\n         */\n        (child, childOutlet) => this.processSegmentGroup(config, child, childOutlet)));\n        checkOutletNameUniqueness(children);\n        sortActivatedRouteSnapshots(children);\n        return children;\n    }\n    /**\n     * @param {?} config\n     * @param {?} segmentGroup\n     * @param {?} segments\n     * @param {?} outlet\n     * @return {?}\n     */\n    processSegment(config, segmentGroup, segments, outlet) {\n        for (const r of config) {\n            try {\n                return this.processSegmentAgainstRoute(r, segmentGroup, segments, outlet);\n            }\n            catch (e) {\n                if (!(e instanceof NoMatch$1))\n                    throw e;\n            }\n        }\n        if (this.noLeftoversInUrl(segmentGroup, segments, outlet)) {\n            return [];\n        }\n        throw new NoMatch$1();\n    }\n    /**\n     * @private\n     * @param {?} segmentGroup\n     * @param {?} segments\n     * @param {?} outlet\n     * @return {?}\n     */\n    noLeftoversInUrl(segmentGroup, segments, outlet) {\n        return segments.length === 0 && !segmentGroup.children[outlet];\n    }\n    /**\n     * @param {?} route\n     * @param {?} rawSegment\n     * @param {?} segments\n     * @param {?} outlet\n     * @return {?}\n     */\n    processSegmentAgainstRoute(route, rawSegment, segments, outlet) {\n        if (route.redirectTo)\n            throw new NoMatch$1();\n        if ((route.outlet || PRIMARY_OUTLET) !== outlet)\n            throw new NoMatch$1();\n        /** @type {?} */\n        let snapshot;\n        /** @type {?} */\n        let consumedSegments = [];\n        /** @type {?} */\n        let rawSlicedSegments = [];\n        if (route.path === '**') {\n            /** @type {?} */\n            const params = segments.length > 0 ? (/** @type {?} */ (last(segments))).parameters : {};\n            snapshot = new ActivatedRouteSnapshot(segments, params, Object.freeze(Object.assign({}, this.urlTree.queryParams)), (/** @type {?} */ (this.urlTree.fragment)), getData(route), outlet, (/** @type {?} */ (route.component)), route, getSourceSegmentGroup(rawSegment), getPathIndexShift(rawSegment) + segments.length, getResolve(route));\n        }\n        else {\n            /** @type {?} */\n            const result = match$1(rawSegment, route, segments);\n            consumedSegments = result.consumedSegments;\n            rawSlicedSegments = segments.slice(result.lastChild);\n            snapshot = new ActivatedRouteSnapshot(consumedSegments, result.parameters, Object.freeze(Object.assign({}, this.urlTree.queryParams)), (/** @type {?} */ (this.urlTree.fragment)), getData(route), outlet, (/** @type {?} */ (route.component)), route, getSourceSegmentGroup(rawSegment), getPathIndexShift(rawSegment) + consumedSegments.length, getResolve(route));\n        }\n        /** @type {?} */\n        const childConfig = getChildConfig(route);\n        const { segmentGroup, slicedSegments } = split$1(rawSegment, consumedSegments, rawSlicedSegments, childConfig, this.relativeLinkResolution);\n        if (slicedSegments.length === 0 && segmentGroup.hasChildren()) {\n            /** @type {?} */\n            const children = this.processChildren(childConfig, segmentGroup);\n            return [new TreeNode(snapshot, children)];\n        }\n        if (childConfig.length === 0 && slicedSegments.length === 0) {\n            return [new TreeNode(snapshot, [])];\n        }\n        /** @type {?} */\n        const children = this.processSegment(childConfig, segmentGroup, slicedSegments, PRIMARY_OUTLET);\n        return [new TreeNode(snapshot, children)];\n    }\n}\nif (false) {}\n/**\n * @param {?} nodes\n * @return {?}\n */\nfunction sortActivatedRouteSnapshots(nodes) {\n    nodes.sort((/**\n     * @param {?} a\n     * @param {?} b\n     * @return {?}\n     */\n    (a, b) => {\n        if (a.value.outlet === PRIMARY_OUTLET)\n            return -1;\n        if (b.value.outlet === PRIMARY_OUTLET)\n            return 1;\n        return a.value.outlet.localeCompare(b.value.outlet);\n    }));\n}\n/**\n * @param {?} route\n * @return {?}\n */\nfunction getChildConfig(route) {\n    if (route.children) {\n        return route.children;\n    }\n    if (route.loadChildren) {\n        return (/** @type {?} */ (route._loadedConfig)).routes;\n    }\n    return [];\n}\n/**\n * @record\n */\nfunction MatchResult() { }\nif (false) {}\n/**\n * @param {?} segmentGroup\n * @param {?} route\n * @param {?} segments\n * @return {?}\n */\nfunction match$1(segmentGroup, route, segments) {\n    if (route.path === '') {\n        if (route.pathMatch === 'full' && (segmentGroup.hasChildren() || segments.length > 0)) {\n            throw new NoMatch$1();\n        }\n        return { consumedSegments: [], lastChild: 0, parameters: {} };\n    }\n    /** @type {?} */\n    const matcher = route.matcher || defaultUrlMatcher;\n    /** @type {?} */\n    const res = matcher(segments, segmentGroup, route);\n    if (!res)\n        throw new NoMatch$1();\n    /** @type {?} */\n    const posParams = {};\n    forEach((/** @type {?} */ (res.posParams)), (/**\n     * @param {?} v\n     * @param {?} k\n     * @return {?}\n     */\n    (v, k) => { posParams[k] = v.path; }));\n    /** @type {?} */\n    const parameters = res.consumed.length > 0 ? Object.assign({}, posParams, res.consumed[res.consumed.length - 1].parameters) :\n        posParams;\n    return { consumedSegments: res.consumed, lastChild: res.consumed.length, parameters };\n}\n/**\n * @param {?} nodes\n * @return {?}\n */\nfunction checkOutletNameUniqueness(nodes) {\n    /** @type {?} */\n    const names = {};\n    nodes.forEach((/**\n     * @param {?} n\n     * @return {?}\n     */\n    n => {\n        /** @type {?} */\n        const routeWithSameOutletName = names[n.value.outlet];\n        if (routeWithSameOutletName) {\n            /** @type {?} */\n            const p = routeWithSameOutletName.url.map((/**\n             * @param {?} s\n             * @return {?}\n             */\n            s => s.toString())).join('/');\n            /** @type {?} */\n            const c = n.value.url.map((/**\n             * @param {?} s\n             * @return {?}\n             */\n            s => s.toString())).join('/');\n            throw new Error(`Two segments cannot have the same outlet name: '${p}' and '${c}'.`);\n        }\n        names[n.value.outlet] = n.value;\n    }));\n}\n/**\n * @param {?} segmentGroup\n * @return {?}\n */\nfunction getSourceSegmentGroup(segmentGroup) {\n    /** @type {?} */\n    let s = segmentGroup;\n    while (s._sourceSegment) {\n        s = s._sourceSegment;\n    }\n    return s;\n}\n/**\n * @param {?} segmentGroup\n * @return {?}\n */\nfunction getPathIndexShift(segmentGroup) {\n    /** @type {?} */\n    let s = segmentGroup;\n    /** @type {?} */\n    let res = (s._segmentIndexShift ? s._segmentIndexShift : 0);\n    while (s._sourceSegment) {\n        s = s._sourceSegment;\n        res += (s._segmentIndexShift ? s._segmentIndexShift : 0);\n    }\n    return res - 1;\n}\n/**\n * @param {?} segmentGroup\n * @param {?} consumedSegments\n * @param {?} slicedSegments\n * @param {?} config\n * @param {?} relativeLinkResolution\n * @return {?}\n */\nfunction split$1(segmentGroup, consumedSegments, slicedSegments, config, relativeLinkResolution) {\n    if (slicedSegments.length > 0 &&\n        containsEmptyPathMatchesWithNamedOutlets(segmentGroup, slicedSegments, config)) {\n        /** @type {?} */\n        const s = new UrlSegmentGroup(consumedSegments, createChildrenForEmptyPaths(segmentGroup, consumedSegments, config, new UrlSegmentGroup(slicedSegments, segmentGroup.children)));\n        s._sourceSegment = segmentGroup;\n        s._segmentIndexShift = consumedSegments.length;\n        return { segmentGroup: s, slicedSegments: [] };\n    }\n    if (slicedSegments.length === 0 &&\n        containsEmptyPathMatches(segmentGroup, slicedSegments, config)) {\n        /** @type {?} */\n        const s = new UrlSegmentGroup(segmentGroup.segments, addEmptyPathsToChildrenIfNeeded(segmentGroup, consumedSegments, slicedSegments, config, segmentGroup.children, relativeLinkResolution));\n        s._sourceSegment = segmentGroup;\n        s._segmentIndexShift = consumedSegments.length;\n        return { segmentGroup: s, slicedSegments };\n    }\n    /** @type {?} */\n    const s = new UrlSegmentGroup(segmentGroup.segments, segmentGroup.children);\n    s._sourceSegment = segmentGroup;\n    s._segmentIndexShift = consumedSegments.length;\n    return { segmentGroup: s, slicedSegments };\n}\n/**\n * @param {?} segmentGroup\n * @param {?} consumedSegments\n * @param {?} slicedSegments\n * @param {?} routes\n * @param {?} children\n * @param {?} relativeLinkResolution\n * @return {?}\n */\nfunction addEmptyPathsToChildrenIfNeeded(segmentGroup, consumedSegments, slicedSegments, routes, children, relativeLinkResolution) {\n    /** @type {?} */\n    const res = {};\n    for (const r of routes) {\n        if (emptyPathMatch(segmentGroup, slicedSegments, r) && !children[getOutlet$1(r)]) {\n            /** @type {?} */\n            const s = new UrlSegmentGroup([], {});\n            s._sourceSegment = segmentGroup;\n            if (relativeLinkResolution === 'legacy') {\n                s._segmentIndexShift = segmentGroup.segments.length;\n            }\n            else {\n                s._segmentIndexShift = consumedSegments.length;\n            }\n            res[getOutlet$1(r)] = s;\n        }\n    }\n    return Object.assign({}, children, res);\n}\n/**\n * @param {?} segmentGroup\n * @param {?} consumedSegments\n * @param {?} routes\n * @param {?} primarySegment\n * @return {?}\n */\nfunction createChildrenForEmptyPaths(segmentGroup, consumedSegments, routes, primarySegment) {\n    /** @type {?} */\n    const res = {};\n    res[PRIMARY_OUTLET] = primarySegment;\n    primarySegment._sourceSegment = segmentGroup;\n    primarySegment._segmentIndexShift = consumedSegments.length;\n    for (const r of routes) {\n        if (r.path === '' && getOutlet$1(r) !== PRIMARY_OUTLET) {\n            /** @type {?} */\n            const s = new UrlSegmentGroup([], {});\n            s._sourceSegment = segmentGroup;\n            s._segmentIndexShift = consumedSegments.length;\n            res[getOutlet$1(r)] = s;\n        }\n    }\n    return res;\n}\n/**\n * @param {?} segmentGroup\n * @param {?} slicedSegments\n * @param {?} routes\n * @return {?}\n */\nfunction containsEmptyPathMatchesWithNamedOutlets(segmentGroup, slicedSegments, routes) {\n    return routes.some((/**\n     * @param {?} r\n     * @return {?}\n     */\n    r => emptyPathMatch(segmentGroup, slicedSegments, r) && getOutlet$1(r) !== PRIMARY_OUTLET));\n}\n/**\n * @param {?} segmentGroup\n * @param {?} slicedSegments\n * @param {?} routes\n * @return {?}\n */\nfunction containsEmptyPathMatches(segmentGroup, slicedSegments, routes) {\n    return routes.some((/**\n     * @param {?} r\n     * @return {?}\n     */\n    r => emptyPathMatch(segmentGroup, slicedSegments, r)));\n}\n/**\n * @param {?} segmentGroup\n * @param {?} slicedSegments\n * @param {?} r\n * @return {?}\n */\nfunction emptyPathMatch(segmentGroup, slicedSegments, r) {\n    if ((segmentGroup.hasChildren() || slicedSegments.length > 0) && r.pathMatch === 'full') {\n        return false;\n    }\n    return r.path === '' && r.redirectTo === undefined;\n}\n/**\n * @param {?} route\n * @return {?}\n */\nfunction getOutlet$1(route) {\n    return route.outlet || PRIMARY_OUTLET;\n}\n/**\n * @param {?} route\n * @return {?}\n */\nfunction getData(route) {\n    return route.data || {};\n}\n/**\n * @param {?} route\n * @return {?}\n */\nfunction getResolve(route) {\n    return route.resolve || {};\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @param {?} rootComponentType\n * @param {?} config\n * @param {?} serializer\n * @param {?} paramsInheritanceStrategy\n * @param {?} relativeLinkResolution\n * @return {?}\n */\nfunction recognize$1(rootComponentType, config, serializer, paramsInheritanceStrategy, relativeLinkResolution) {\n    return (/**\n     * @param {?} source\n     * @return {?}\n     */\n    function (source) {\n        return source.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"mergeMap\"])((/**\n         * @param {?} t\n         * @return {?}\n         */\n        t => recognize(rootComponentType, config, t.urlAfterRedirects, serializer(t.urlAfterRedirects), paramsInheritanceStrategy, relativeLinkResolution)\n            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])((/**\n         * @param {?} targetSnapshot\n         * @return {?}\n         */\n        targetSnapshot => (Object.assign({}, t, { targetSnapshot }))))))));\n    });\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @param {?} paramsInheritanceStrategy\n * @param {?} moduleInjector\n * @return {?}\n */\nfunction resolveData(paramsInheritanceStrategy, moduleInjector) {\n    return (/**\n     * @param {?} source\n     * @return {?}\n     */\n    function (source) {\n        return source.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"mergeMap\"])((/**\n         * @param {?} t\n         * @return {?}\n         */\n        t => {\n            const { targetSnapshot, guards: { canActivateChecks } } = t;\n            if (!canActivateChecks.length) {\n                return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(t);\n            }\n            return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"from\"])(canActivateChecks)\n                .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"concatMap\"])((/**\n             * @param {?} check\n             * @return {?}\n             */\n            check => runResolve(check.route, (/** @type {?} */ (targetSnapshot)), paramsInheritanceStrategy, moduleInjector))), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"reduce\"])((/**\n             * @param {?} _\n             * @param {?} __\n             * @return {?}\n             */\n            (_, __) => _)), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])((/**\n             * @param {?} _\n             * @return {?}\n             */\n            _ => t)));\n        })));\n    });\n}\n/**\n * @param {?} futureARS\n * @param {?} futureRSS\n * @param {?} paramsInheritanceStrategy\n * @param {?} moduleInjector\n * @return {?}\n */\nfunction runResolve(futureARS, futureRSS, paramsInheritanceStrategy, moduleInjector) {\n    /** @type {?} */\n    const resolve = futureARS._resolve;\n    return resolveNode(resolve, futureARS, futureRSS, moduleInjector)\n        .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])((/**\n     * @param {?} resolvedData\n     * @return {?}\n     */\n    (resolvedData) => {\n        futureARS._resolvedData = resolvedData;\n        futureARS.data = Object.assign({}, futureARS.data, inheritedParamsDataResolve(futureARS, paramsInheritanceStrategy).resolve);\n        return null;\n    })));\n}\n/**\n * @param {?} resolve\n * @param {?} futureARS\n * @param {?} futureRSS\n * @param {?} moduleInjector\n * @return {?}\n */\nfunction resolveNode(resolve, futureARS, futureRSS, moduleInjector) {\n    /** @type {?} */\n    const keys = Object.keys(resolve);\n    if (keys.length === 0) {\n        return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])({});\n    }\n    if (keys.length === 1) {\n        /** @type {?} */\n        const key = keys[0];\n        return getResolver(resolve[key], futureARS, futureRSS, moduleInjector)\n            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])((/**\n         * @param {?} value\n         * @return {?}\n         */\n        (value) => { return { [key]: value }; })));\n    }\n    /** @type {?} */\n    const data = {};\n    /** @type {?} */\n    const runningResolvers$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"from\"])(keys).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"mergeMap\"])((/**\n     * @param {?} key\n     * @return {?}\n     */\n    (key) => {\n        return getResolver(resolve[key], futureARS, futureRSS, moduleInjector)\n            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])((/**\n         * @param {?} value\n         * @return {?}\n         */\n        (value) => {\n            data[key] = value;\n            return value;\n        })));\n    })));\n    return runningResolvers$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"last\"])(), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])((/**\n     * @return {?}\n     */\n    () => data)));\n}\n/**\n * @param {?} injectionToken\n * @param {?} futureARS\n * @param {?} futureRSS\n * @param {?} moduleInjector\n * @return {?}\n */\nfunction getResolver(injectionToken, futureARS, futureRSS, moduleInjector) {\n    /** @type {?} */\n    const resolver = getToken(injectionToken, futureARS, moduleInjector);\n    return resolver.resolve ? wrapIntoObservable(resolver.resolve(futureARS, futureRSS)) :\n        wrapIntoObservable(resolver(futureARS, futureRSS));\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Perform a side effect through a switchMap for every emission on the source Observable,\n * but return an Observable that is identical to the source. It's essentially the same as\n * the `tap` operator, but if the side effectful `next` function returns an ObservableInput,\n * it will wait before continuing with the original value.\n * @template T\n * @param {?} next\n * @return {?}\n */\nfunction switchTap(next) {\n    return (/**\n     * @param {?} source\n     * @return {?}\n     */\n    function (source) {\n        return source.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"switchMap\"])((/**\n         * @param {?} v\n         * @return {?}\n         */\n        v => {\n            /** @type {?} */\n            const nextResult = next(v);\n            if (nextResult) {\n                return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"from\"])(nextResult).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])((/**\n                 * @return {?}\n                 */\n                () => v)));\n            }\n            return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"from\"])([v]);\n        })));\n    });\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * \\@description\n *\n * Provides a way to customize when activated routes get reused.\n *\n * \\@publicApi\n * @abstract\n */\nclass RouteReuseStrategy {\n}\nif (false) {}\n/**\n * Does not detach any subtrees. Reuses routes as long as their route config is the same.\n */\nclass DefaultRouteReuseStrategy {\n    /**\n     * @param {?} route\n     * @return {?}\n     */\n    shouldDetach(route) { return false; }\n    /**\n     * @param {?} route\n     * @param {?} detachedTree\n     * @return {?}\n     */\n    store(route, detachedTree) { }\n    /**\n     * @param {?} route\n     * @return {?}\n     */\n    shouldAttach(route) { return false; }\n    /**\n     * @param {?} route\n     * @return {?}\n     */\n    retrieve(route) { return null; }\n    /**\n     * @param {?} future\n     * @param {?} curr\n     * @return {?}\n     */\n    shouldReuseRoute(future, curr) {\n        return future.routeConfig === curr.routeConfig;\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * The [DI token](guide/glossary/#di-token) for a router configuration.\n * @see `ROUTES`\n * \\@publicApi\n * @type {?}\n */\nconst ROUTES = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"InjectionToken\"]('ROUTES');\nclass RouterConfigLoader {\n    /**\n     * @param {?} loader\n     * @param {?} compiler\n     * @param {?=} onLoadStartListener\n     * @param {?=} onLoadEndListener\n     */\n    constructor(loader, compiler, onLoadStartListener, onLoadEndListener) {\n        this.loader = loader;\n        this.compiler = compiler;\n        this.onLoadStartListener = onLoadStartListener;\n        this.onLoadEndListener = onLoadEndListener;\n    }\n    /**\n     * @param {?} parentInjector\n     * @param {?} route\n     * @return {?}\n     */\n    load(parentInjector, route) {\n        if (this.onLoadStartListener) {\n            this.onLoadStartListener(route);\n        }\n        /** @type {?} */\n        const moduleFactory$ = this.loadModuleFactory((/** @type {?} */ (route.loadChildren)));\n        return moduleFactory$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])((/**\n         * @param {?} factory\n         * @return {?}\n         */\n        (factory) => {\n            if (this.onLoadEndListener) {\n                this.onLoadEndListener(route);\n            }\n            /** @type {?} */\n            const module = factory.create(parentInjector);\n            return new LoadedRouterConfig(flatten(module.injector.get(ROUTES)).map(standardizeConfig), module);\n        })));\n    }\n    /**\n     * @private\n     * @param {?} loadChildren\n     * @return {?}\n     */\n    loadModuleFactory(loadChildren) {\n        if (typeof loadChildren === 'string') {\n            return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"from\"])(this.loader.load(loadChildren));\n        }\n        else {\n            return wrapIntoObservable(loadChildren()).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"mergeMap\"])((/**\n             * @param {?} t\n             * @return {?}\n             */\n            (t) => {\n                if (t instanceof _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgModuleFactory\"]) {\n                    return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(t);\n                }\n                else {\n                    return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"from\"])(this.compiler.compileModuleAsync(t));\n                }\n            })));\n        }\n    }\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * \\@description\n *\n * Provides a way to migrate AngularJS applications to Angular.\n *\n * \\@publicApi\n * @abstract\n */\nclass UrlHandlingStrategy {\n}\nif (false) {}\n/**\n * \\@publicApi\n */\nclass DefaultUrlHandlingStrategy {\n    /**\n     * @param {?} url\n     * @return {?}\n     */\n    shouldProcessUrl(url) { return true; }\n    /**\n     * @param {?} url\n     * @return {?}\n     */\n    extract(url) { return url; }\n    /**\n     * @param {?} newUrlPart\n     * @param {?} wholeUrl\n     * @return {?}\n     */\n    merge(newUrlPart, wholeUrl) { return newUrlPart; }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@description\n *\n * Options that modify the navigation strategy.\n *\n * \\@publicApi\n * @record\n */\nfunction NavigationExtras() { }\nif (false) {}\n/**\n * @param {?} error\n * @return {?}\n */\nfunction defaultErrorHandler(error) {\n    throw error;\n}\n/**\n * @param {?} error\n * @param {?} urlSerializer\n * @param {?} url\n * @return {?}\n */\nfunction defaultMalformedUriErrorHandler(error, urlSerializer, url) {\n    return urlSerializer.parse('/');\n}\n/**\n * \\@internal\n * @param {?} snapshot\n * @param {?} runExtras\n * @return {?}\n */\nfunction defaultRouterHook(snapshot, runExtras) {\n    return (/** @type {?} */ (Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(null)));\n}\n/**\n * \\@description\n *\n * A service that provides navigation and URL manipulation capabilities.\n *\n * @see `Route`.\n * @see [Routing and Navigation Guide](guide/router).\n *\n * \\@ngModule RouterModule\n *\n * \\@publicApi\n */\nclass Router {\n    /**\n     * Creates the router service.\n     * @param {?} rootComponentType\n     * @param {?} urlSerializer\n     * @param {?} rootContexts\n     * @param {?} location\n     * @param {?} injector\n     * @param {?} loader\n     * @param {?} compiler\n     * @param {?} config\n     */\n    // TODO: vsavkin make internal after the final is out.\n    constructor(rootComponentType, urlSerializer, rootContexts, location, injector, loader, compiler, config) {\n        this.rootComponentType = rootComponentType;\n        this.urlSerializer = urlSerializer;\n        this.rootContexts = rootContexts;\n        this.location = location;\n        this.config = config;\n        this.lastSuccessfulNavigation = null;\n        this.currentNavigation = null;\n        this.navigationId = 0;\n        this.isNgZoneEnabled = false;\n        /**\n         * An event stream for routing events in this NgModule.\n         */\n        this.events = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Subject\"]();\n        /**\n         * A handler for navigation errors in this NgModule.\n         */\n        this.errorHandler = defaultErrorHandler;\n        /**\n         * A handler for errors thrown by `Router.parseUrl(url)`\n         * when `url` contains an invalid character.\n         * The most common case is a `%` sign\n         * that's not encoded and is not part of a percent encoded sequence.\n         */\n        this.malformedUriErrorHandler = defaultMalformedUriErrorHandler;\n        /**\n         * True if at least one navigation event has occurred,\n         * false otherwise.\n         */\n        this.navigated = false;\n        this.lastSuccessfulId = -1;\n        /**\n         * Hooks that enable you to pause navigation,\n         * either before or after the preactivation phase.\n         * Used by `RouterModule`.\n         *\n         * \\@internal\n         */\n        this.hooks = {\n            beforePreactivation: defaultRouterHook,\n            afterPreactivation: defaultRouterHook\n        };\n        /**\n         * A strategy for extracting and merging URLs.\n         * Used for AngularJS to Angular migrations.\n         */\n        this.urlHandlingStrategy = new DefaultUrlHandlingStrategy();\n        /**\n         * A strategy for re-using routes.\n         */\n        this.routeReuseStrategy = new DefaultRouteReuseStrategy();\n        /**\n         * How to handle a navigation request to the current URL. One of:\n         * - `'ignore'` :  The router ignores the request.\n         * - `'reload'` : The router reloads the URL. Use to implement a \"refresh\" feature.\n         */\n        this.onSameUrlNavigation = 'ignore';\n        /**\n         * How to merge parameters, data, and resolved data from parent to child\n         * routes. One of:\n         *\n         * - `'emptyOnly'` : Inherit parent parameters, data, and resolved data\n         * for path-less or component-less routes.\n         * - `'always'` : Inherit parent parameters, data, and resolved data\n         * for all child routes.\n         */\n        this.paramsInheritanceStrategy = 'emptyOnly';\n        /**\n         * Determines when the router updates the browser URL.\n         * By default (`\"deferred\"`), updates the browser URL after navigation has finished.\n         * Set to `'eager'` to update the browser URL at the beginning of navigation.\n         * You can choose to update early so that, if navigation fails,\n         * you can show an error message with the URL that failed.\n         */\n        this.urlUpdateStrategy = 'deferred';\n        /**\n         * Enables a bug fix that corrects relative link resolution in components with empty paths.\n         * @see `RouterModule`\n         */\n        this.relativeLinkResolution = 'legacy';\n        /** @type {?} */\n        const onLoadStart = (/**\n         * @param {?} r\n         * @return {?}\n         */\n        (r) => this.triggerEvent(new RouteConfigLoadStart(r)));\n        /** @type {?} */\n        const onLoadEnd = (/**\n         * @param {?} r\n         * @return {?}\n         */\n        (r) => this.triggerEvent(new RouteConfigLoadEnd(r)));\n        this.ngModule = injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgModuleRef\"]);\n        this.console = injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵConsole\"]);\n        /** @type {?} */\n        const ngZone = injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgZone\"]);\n        this.isNgZoneEnabled = ngZone instanceof _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgZone\"];\n        this.resetConfig(config);\n        this.currentUrlTree = createEmptyUrlTree();\n        this.rawUrlTree = this.currentUrlTree;\n        this.browserUrlTree = this.currentUrlTree;\n        this.configLoader = new RouterConfigLoader(loader, compiler, onLoadStart, onLoadEnd);\n        this.routerState = createEmptyState(this.currentUrlTree, this.rootComponentType);\n        this.transitions = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"BehaviorSubject\"]({\n            id: 0,\n            currentUrlTree: this.currentUrlTree,\n            currentRawUrl: this.currentUrlTree,\n            extractedUrl: this.urlHandlingStrategy.extract(this.currentUrlTree),\n            urlAfterRedirects: this.urlHandlingStrategy.extract(this.currentUrlTree),\n            rawUrl: this.currentUrlTree,\n            extras: {},\n            resolve: null,\n            reject: null,\n            promise: Promise.resolve(true),\n            source: 'imperative',\n            restoredState: null,\n            currentSnapshot: this.routerState.snapshot,\n            targetSnapshot: null,\n            currentRouterState: this.routerState,\n            targetRouterState: null,\n            guards: { canActivateChecks: [], canDeactivateChecks: [] },\n            guardsResult: null,\n        });\n        this.navigations = this.setupNavigations(this.transitions);\n        this.processNavigations();\n    }\n    /**\n     * @private\n     * @param {?} transitions\n     * @return {?}\n     */\n    setupNavigations(transitions) {\n        /** @type {?} */\n        const eventsSubject = ((/** @type {?} */ (this.events)));\n        return (/** @type {?} */ ((/** @type {?} */ (transitions.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"filter\"])((/**\n         * @param {?} t\n         * @return {?}\n         */\n        t => t.id !== 0)), \n        // Extract URL\n        Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])((/**\n         * @param {?} t\n         * @return {?}\n         */\n        t => ((/** @type {?} */ (Object.assign({}, t, { extractedUrl: this.urlHandlingStrategy.extract(t.rawUrl) })))))), \n        // Using switchMap so we cancel executing navigations when a new one comes in\n        Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"switchMap\"])((/**\n         * @param {?} t\n         * @return {?}\n         */\n        t => {\n            /** @type {?} */\n            let completed = false;\n            /** @type {?} */\n            let errored = false;\n            return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(t).pipe(\n            // Store the Navigation object\n            Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"tap\"])((/**\n             * @param {?} t\n             * @return {?}\n             */\n            t => {\n                this.currentNavigation = {\n                    id: t.id,\n                    initialUrl: t.currentRawUrl,\n                    extractedUrl: t.extractedUrl,\n                    trigger: t.source,\n                    extras: t.extras,\n                    previousNavigation: this.lastSuccessfulNavigation ? Object.assign({}, this.lastSuccessfulNavigation, { previousNavigation: null }) :\n                        null\n                };\n            })), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"switchMap\"])((/**\n             * @param {?} t\n             * @return {?}\n             */\n            t => {\n                /** @type {?} */\n                const urlTransition = !this.navigated || t.extractedUrl.toString() !== this.browserUrlTree.toString();\n                /** @type {?} */\n                const processCurrentUrl = (this.onSameUrlNavigation === 'reload' ? true : urlTransition) &&\n                    this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl);\n                if (processCurrentUrl) {\n                    return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(t).pipe(\n                    // Fire NavigationStart event\n                    Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"switchMap\"])((/**\n                     * @param {?} t\n                     * @return {?}\n                     */\n                    t => {\n                        /** @type {?} */\n                        const transition = this.transitions.getValue();\n                        eventsSubject.next(new NavigationStart(t.id, this.serializeUrl(t.extractedUrl), t.source, t.restoredState));\n                        if (transition !== this.transitions.getValue()) {\n                            return rxjs__WEBPACK_IMPORTED_MODULE_2__[\"EMPTY\"];\n                        }\n                        return [t];\n                    })), \n                    // This delay is required to match old behavior that forced navigation to\n                    // always be async\n                    Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"switchMap\"])((/**\n                     * @param {?} t\n                     * @return {?}\n                     */\n                    t => Promise.resolve(t))), \n                    // ApplyRedirects\n                    applyRedirects$1(this.ngModule.injector, this.configLoader, this.urlSerializer, this.config), \n                    // Update the currentNavigation\n                    Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"tap\"])((/**\n                     * @param {?} t\n                     * @return {?}\n                     */\n                    t => {\n                        this.currentNavigation = Object.assign({}, (/** @type {?} */ (this.currentNavigation)), { finalUrl: t.urlAfterRedirects });\n                    })), \n                    // Recognize\n                    recognize$1(this.rootComponentType, this.config, (/**\n                     * @param {?} url\n                     * @return {?}\n                     */\n                    (url) => this.serializeUrl(url)), this.paramsInheritanceStrategy, this.relativeLinkResolution), \n                    // Update URL if in `eager` update mode\n                    Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"tap\"])((/**\n                     * @param {?} t\n                     * @return {?}\n                     */\n                    t => {\n                        if (this.urlUpdateStrategy === 'eager') {\n                            if (!t.extras.skipLocationChange) {\n                                this.setBrowserUrl(t.urlAfterRedirects, !!t.extras.replaceUrl, t.id, t.extras.state);\n                            }\n                            this.browserUrlTree = t.urlAfterRedirects;\n                        }\n                    })), \n                    // Fire RoutesRecognized\n                    Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"tap\"])((/**\n                     * @param {?} t\n                     * @return {?}\n                     */\n                    t => {\n                        /** @type {?} */\n                        const routesRecognized = new RoutesRecognized(t.id, this.serializeUrl(t.extractedUrl), this.serializeUrl(t.urlAfterRedirects), (/** @type {?} */ (t.targetSnapshot)));\n                        eventsSubject.next(routesRecognized);\n                    })));\n                }\n                else {\n                    /** @type {?} */\n                    const processPreviousUrl = urlTransition && this.rawUrlTree &&\n                        this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree);\n                    /* When the current URL shouldn't be processed, but the previous one was, we\n                     * handle this \"error condition\" by navigating to the previously successful URL,\n                     * but leaving the URL intact.*/\n                    if (processPreviousUrl) {\n                        const { id, extractedUrl, source, restoredState, extras } = t;\n                        /** @type {?} */\n                        const navStart = new NavigationStart(id, this.serializeUrl(extractedUrl), source, restoredState);\n                        eventsSubject.next(navStart);\n                        /** @type {?} */\n                        const targetSnapshot = createEmptyState(extractedUrl, this.rootComponentType).snapshot;\n                        return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(Object.assign({}, t, { targetSnapshot, urlAfterRedirects: extractedUrl, extras: Object.assign({}, extras, { skipLocationChange: false, replaceUrl: false }) }));\n                    }\n                    else {\n                        /* When neither the current or previous URL can be processed, do nothing other\n                         * than update router's internal reference to the current \"settled\" URL. This\n                         * way the next navigation will be coming from the current URL in the browser.\n                         */\n                        this.rawUrlTree = t.rawUrl;\n                        this.browserUrlTree = t.urlAfterRedirects;\n                        t.resolve(null);\n                        return rxjs__WEBPACK_IMPORTED_MODULE_2__[\"EMPTY\"];\n                    }\n                }\n            })), \n            // Before Preactivation\n            switchTap((/**\n             * @param {?} t\n             * @return {?}\n             */\n            t => {\n                const { targetSnapshot, id: navigationId, extractedUrl: appliedUrlTree, rawUrl: rawUrlTree, extras: { skipLocationChange, replaceUrl } } = t;\n                return this.hooks.beforePreactivation((/** @type {?} */ (targetSnapshot)), {\n                    navigationId,\n                    appliedUrlTree,\n                    rawUrlTree,\n                    skipLocationChange: !!skipLocationChange,\n                    replaceUrl: !!replaceUrl,\n                });\n            })), \n            // --- GUARDS ---\n            Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"tap\"])((/**\n             * @param {?} t\n             * @return {?}\n             */\n            t => {\n                /** @type {?} */\n                const guardsStart = new GuardsCheckStart(t.id, this.serializeUrl(t.extractedUrl), this.serializeUrl(t.urlAfterRedirects), (/** @type {?} */ (t.targetSnapshot)));\n                this.triggerEvent(guardsStart);\n            })), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])((/**\n             * @param {?} t\n             * @return {?}\n             */\n            t => (Object.assign({}, t, { guards: getAllRouteGuards((/** @type {?} */ (t.targetSnapshot)), t.currentSnapshot, this.rootContexts) })))), checkGuards(this.ngModule.injector, (/**\n             * @param {?} evt\n             * @return {?}\n             */\n            (evt) => this.triggerEvent(evt))), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"tap\"])((/**\n             * @param {?} t\n             * @return {?}\n             */\n            t => {\n                if (isUrlTree(t.guardsResult)) {\n                    /** @type {?} */\n                    const error = navigationCancelingError(`Redirecting to \"${this.serializeUrl(t.guardsResult)}\"`);\n                    error.url = t.guardsResult;\n                    throw error;\n                }\n            })), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"tap\"])((/**\n             * @param {?} t\n             * @return {?}\n             */\n            t => {\n                /** @type {?} */\n                const guardsEnd = new GuardsCheckEnd(t.id, this.serializeUrl(t.extractedUrl), this.serializeUrl(t.urlAfterRedirects), (/** @type {?} */ (t.targetSnapshot)), !!t.guardsResult);\n                this.triggerEvent(guardsEnd);\n            })), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"filter\"])((/**\n             * @param {?} t\n             * @return {?}\n             */\n            t => {\n                if (!t.guardsResult) {\n                    this.resetUrlToCurrentUrlTree();\n                    /** @type {?} */\n                    const navCancel = new NavigationCancel(t.id, this.serializeUrl(t.extractedUrl), '');\n                    eventsSubject.next(navCancel);\n                    t.resolve(false);\n                    return false;\n                }\n                return true;\n            })), \n            // --- RESOLVE ---\n            switchTap((/**\n             * @param {?} t\n             * @return {?}\n             */\n            t => {\n                if (t.guards.canActivateChecks.length) {\n                    return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(t).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"tap\"])((/**\n                     * @param {?} t\n                     * @return {?}\n                     */\n                    t => {\n                        /** @type {?} */\n                        const resolveStart = new ResolveStart(t.id, this.serializeUrl(t.extractedUrl), this.serializeUrl(t.urlAfterRedirects), (/** @type {?} */ (t.targetSnapshot)));\n                        this.triggerEvent(resolveStart);\n                    })), resolveData(this.paramsInheritanceStrategy, this.ngModule.injector), //\n                    Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"tap\"])((/**\n                     * @param {?} t\n                     * @return {?}\n                     */\n                    t => {\n                        /** @type {?} */\n                        const resolveEnd = new ResolveEnd(t.id, this.serializeUrl(t.extractedUrl), this.serializeUrl(t.urlAfterRedirects), (/** @type {?} */ (t.targetSnapshot)));\n                        this.triggerEvent(resolveEnd);\n                    })));\n                }\n                return undefined;\n            })), \n            // --- AFTER PREACTIVATION ---\n            switchTap((/**\n             * @param {?} t\n             * @return {?}\n             */\n            (t) => {\n                const { targetSnapshot, id: navigationId, extractedUrl: appliedUrlTree, rawUrl: rawUrlTree, extras: { skipLocationChange, replaceUrl } } = t;\n                return this.hooks.afterPreactivation((/** @type {?} */ (targetSnapshot)), {\n                    navigationId,\n                    appliedUrlTree,\n                    rawUrlTree,\n                    skipLocationChange: !!skipLocationChange,\n                    replaceUrl: !!replaceUrl,\n                });\n            })), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])((/**\n             * @param {?} t\n             * @return {?}\n             */\n            (t) => {\n                /** @type {?} */\n                const targetRouterState = createRouterState(this.routeReuseStrategy, (/** @type {?} */ (t.targetSnapshot)), t.currentRouterState);\n                return (Object.assign({}, t, { targetRouterState }));\n            })), \n            /* Once here, we are about to activate syncronously. The assumption is this will\n               succeed, and user code may read from the Router service. Therefore before\n               activation, we need to update router properties storing the current URL and the\n               RouterState, as well as updated the browser URL. All this should happen *before*\n               activating. */\n            Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"tap\"])((/**\n             * @param {?} t\n             * @return {?}\n             */\n            (t) => {\n                this.currentUrlTree = t.urlAfterRedirects;\n                this.rawUrlTree = this.urlHandlingStrategy.merge(this.currentUrlTree, t.rawUrl);\n                ((/** @type {?} */ (this))).routerState = (/** @type {?} */ (t.targetRouterState));\n                if (this.urlUpdateStrategy === 'deferred') {\n                    if (!t.extras.skipLocationChange) {\n                        this.setBrowserUrl(this.rawUrlTree, !!t.extras.replaceUrl, t.id, t.extras.state);\n                    }\n                    this.browserUrlTree = t.urlAfterRedirects;\n                }\n            })), activateRoutes(this.rootContexts, this.routeReuseStrategy, (/**\n             * @param {?} evt\n             * @return {?}\n             */\n            (evt) => this.triggerEvent(evt))), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"tap\"])({ /**\n                 * @return {?}\n                 */\n                next() { completed = true; }, /**\n                 * @return {?}\n                 */\n                complete() { completed = true; } }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"finalize\"])((/**\n             * @return {?}\n             */\n            () => {\n                /* When the navigation stream finishes either through error or success, we set the\n                 * `completed` or `errored` flag. However, there are some situations where we could\n                 * get here without either of those being set. For instance, a redirect during\n                 * NavigationStart. Therefore, this is a catch-all to make sure the NavigationCancel\n                 * event is fired when a navigation gets cancelled but not caught by other means. */\n                if (!completed && !errored) {\n                    // Must reset to current URL tree here to ensure history.state is set. On a fresh\n                    // page load, if a new navigation comes in before a successful navigation\n                    // completes, there will be nothing in history.state.navigationId. This can cause\n                    // sync problems with AngularJS sync code which looks for a value here in order\n                    // to determine whether or not to handle a given popstate event or to leave it\n                    // to the Angualr router.\n                    this.resetUrlToCurrentUrlTree();\n                    /** @type {?} */\n                    const navCancel = new NavigationCancel(t.id, this.serializeUrl(t.extractedUrl), `Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`);\n                    eventsSubject.next(navCancel);\n                    t.resolve(false);\n                }\n                // currentNavigation should always be reset to null here. If navigation was\n                // successful, lastSuccessfulTransition will have already been set. Therefore we\n                // can safely set currentNavigation to null here.\n                this.currentNavigation = null;\n            })), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"catchError\"])((/**\n             * @param {?} e\n             * @return {?}\n             */\n            (e) => {\n                errored = true;\n                /* This error type is issued during Redirect, and is handled as a cancellation\n                 * rather than an error. */\n                if (isNavigationCancelingError(e)) {\n                    /** @type {?} */\n                    const redirecting = isUrlTree(e.url);\n                    if (!redirecting) {\n                        // Set property only if we're not redirecting. If we landed on a page and\n                        // redirect to `/` route, the new navigation is going to see the `/` isn't\n                        // a change from the default currentUrlTree and won't navigate. This is\n                        // only applicable with initial navigation, so setting `navigated` only when\n                        // not redirecting resolves this scenario.\n                        this.navigated = true;\n                        this.resetStateAndUrl(t.currentRouterState, t.currentUrlTree, t.rawUrl);\n                    }\n                    /** @type {?} */\n                    const navCancel = new NavigationCancel(t.id, this.serializeUrl(t.extractedUrl), e.message);\n                    eventsSubject.next(navCancel);\n                    t.resolve(false);\n                    if (redirecting) {\n                        this.navigateByUrl(e.url);\n                    }\n                    /* All other errors should reset to the router's internal URL reference to the\n                     * pre-error state. */\n                }\n                else {\n                    this.resetStateAndUrl(t.currentRouterState, t.currentUrlTree, t.rawUrl);\n                    /** @type {?} */\n                    const navError = new NavigationError(t.id, this.serializeUrl(t.extractedUrl), e);\n                    eventsSubject.next(navError);\n                    try {\n                        t.resolve(this.errorHandler(e));\n                    }\n                    catch (ee) {\n                        t.reject(ee);\n                    }\n                }\n                return rxjs__WEBPACK_IMPORTED_MODULE_2__[\"EMPTY\"];\n            })));\n            // TODO(jasonaden): remove cast once g3 is on updated TypeScript\n        })))))));\n    }\n    /**\n     * \\@internal\n     * TODO: this should be removed once the constructor of the router made internal\n     * @param {?} rootComponentType\n     * @return {?}\n     */\n    resetRootComponentType(rootComponentType) {\n        this.rootComponentType = rootComponentType;\n        // TODO: vsavkin router 4.0 should make the root component set to null\n        // this will simplify the lifecycle of the router.\n        this.routerState.root.component = this.rootComponentType;\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    getTransition() {\n        /** @type {?} */\n        const transition = this.transitions.value;\n        // This value needs to be set. Other values such as extractedUrl are set on initial navigation\n        // but the urlAfterRedirects may not get set if we aren't processing the new URL *and* not\n        // processing the previous URL.\n        transition.urlAfterRedirects = this.browserUrlTree;\n        return transition;\n    }\n    /**\n     * @private\n     * @param {?} t\n     * @return {?}\n     */\n    setTransition(t) {\n        this.transitions.next(Object.assign({}, this.getTransition(), t));\n    }\n    /**\n     * Sets up the location change listener and performs the initial navigation.\n     * @return {?}\n     */\n    initialNavigation() {\n        this.setUpLocationChangeListener();\n        if (this.navigationId === 0) {\n            this.navigateByUrl(this.location.path(true), { replaceUrl: true });\n        }\n    }\n    /**\n     * Sets up the location change listener.\n     * @return {?}\n     */\n    setUpLocationChangeListener() {\n        // Don't need to use Zone.wrap any more, because zone.js\n        // already patch onPopState, so location change callback will\n        // run into ngZone\n        if (!this.locationSubscription) {\n            this.locationSubscription = (/** @type {?} */ (this.location.subscribe((/**\n             * @param {?} change\n             * @return {?}\n             */\n            (change) => {\n                /** @type {?} */\n                let rawUrlTree = this.parseUrl(change['url']);\n                /** @type {?} */\n                const source = change['type'] === 'popstate' ? 'popstate' : 'hashchange';\n                // Navigations coming from Angular router have a navigationId state property. When this\n                // exists, restore the state.\n                /** @type {?} */\n                const state = change.state && change.state.navigationId ? change.state : null;\n                setTimeout((/**\n                 * @return {?}\n                 */\n                () => { this.scheduleNavigation(rawUrlTree, source, state, { replaceUrl: true }); }), 0);\n            }))));\n        }\n    }\n    /**\n     * The current URL.\n     * @return {?}\n     */\n    get url() { return this.serializeUrl(this.currentUrlTree); }\n    /**\n     * The current Navigation object if one exists\n     * @return {?}\n     */\n    getCurrentNavigation() { return this.currentNavigation; }\n    /**\n     * \\@internal\n     * @param {?} event\n     * @return {?}\n     */\n    triggerEvent(event) { ((/** @type {?} */ (this.events))).next(event); }\n    /**\n     * Resets the configuration used for navigation and generating links.\n     *\n     * \\@usageNotes\n     *\n     * ```\n     * router.resetConfig([\n     *  { path: 'team/:id', component: TeamCmp, children: [\n     *    { path: 'simple', component: SimpleCmp },\n     *    { path: 'user/:name', component: UserCmp }\n     *  ]}\n     * ]);\n     * ```\n     * @param {?} config The route array for the new configuration.\n     *\n     * @return {?}\n     */\n    resetConfig(config) {\n        validateConfig(config);\n        this.config = config.map(standardizeConfig);\n        this.navigated = false;\n        this.lastSuccessfulId = -1;\n    }\n    /**\n     * \\@docsNotRequired\n     * @return {?}\n     */\n    ngOnDestroy() { this.dispose(); }\n    /**\n     * Disposes of the router.\n     * @return {?}\n     */\n    dispose() {\n        if (this.locationSubscription) {\n            this.locationSubscription.unsubscribe();\n            this.locationSubscription = (/** @type {?} */ (null));\n        }\n    }\n    /**\n     * Applies an array of commands to the current URL tree and creates a new URL tree.\n     *\n     * When given an activated route, applies the given commands starting from the route.\n     * Otherwise, applies the given command starting from the root.\n     *\n     * \\@usageNotes\n     *\n     * ```\n     * // create /team/33/user/11\n     * router.createUrlTree(['/team', 33, 'user', 11]);\n     *\n     * // create /team/33;expand=true/user/11\n     * router.createUrlTree(['/team', 33, {expand: true}, 'user', 11]);\n     *\n     * // you can collapse static segments like this (this works only with the first passed-in value):\n     * router.createUrlTree(['/team/33/user', userId]);\n     *\n     * // If the first segment can contain slashes, and you do not want the router to split it,\n     * // you can do the following:\n     * router.createUrlTree([{segmentPath: '/one/two'}]);\n     *\n     * // create /team/33/(user/11//right:chat)\n     * router.createUrlTree(['/team', 33, {outlets: {primary: 'user/11', right: 'chat'}}]);\n     *\n     * // remove the right secondary node\n     * router.createUrlTree(['/team', 33, {outlets: {primary: 'user/11', right: null}}]);\n     *\n     * // assuming the current url is `/team/33/user/11` and the route points to `user/11`\n     *\n     * // navigate to /team/33/user/11/details\n     * router.createUrlTree(['details'], {relativeTo: route});\n     *\n     * // navigate to /team/33/user/22\n     * router.createUrlTree(['../22'], {relativeTo: route});\n     *\n     * // navigate to /team/44/user/22\n     * router.createUrlTree(['../../team/44/user/22'], {relativeTo: route});\n     * ```\n     * @param {?} commands An array of commands to apply.\n     * @param {?=} navigationExtras Options that control the navigation strategy.\n     * @return {?} The new URL tree.\n     *\n     */\n    createUrlTree(commands, navigationExtras = {}) {\n        const { relativeTo, queryParams, fragment, preserveQueryParams, queryParamsHandling, preserveFragment } = navigationExtras;\n        if (Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"isDevMode\"])() && preserveQueryParams && (/** @type {?} */ (console)) && (/** @type {?} */ (console.warn))) {\n            console.warn('preserveQueryParams is deprecated, use queryParamsHandling instead.');\n        }\n        /** @type {?} */\n        const a = relativeTo || this.routerState.root;\n        /** @type {?} */\n        const f = preserveFragment ? this.currentUrlTree.fragment : fragment;\n        /** @type {?} */\n        let q = null;\n        if (queryParamsHandling) {\n            switch (queryParamsHandling) {\n                case 'merge':\n                    q = Object.assign({}, this.currentUrlTree.queryParams, queryParams);\n                    break;\n                case 'preserve':\n                    q = this.currentUrlTree.queryParams;\n                    break;\n                default:\n                    q = queryParams || null;\n            }\n        }\n        else {\n            q = preserveQueryParams ? this.currentUrlTree.queryParams : queryParams || null;\n        }\n        if (q !== null) {\n            q = this.removeEmptyProps(q);\n        }\n        return createUrlTree(a, this.currentUrlTree, commands, (/** @type {?} */ (q)), (/** @type {?} */ (f)));\n    }\n    /**\n     * Navigate based on the provided URL, which must be absolute.\n     *\n     * \\@usageNotes\n     *\n     * ```\n     * router.navigateByUrl(\"/team/33/user/11\");\n     *\n     * // Navigate without updating the URL\n     * router.navigateByUrl(\"/team/33/user/11\", { skipLocationChange: true });\n     * ```\n     *\n     * @param {?} url An absolute URL. The function does not apply any delta to the current URL.\n     * @param {?=} extras An object containing properties that modify the navigation strategy.\n     * The function ignores any properties in the `NavigationExtras` that would change the\n     * provided URL.\n     *\n     * @return {?} A Promise that resolves to 'true' when navigation succeeds,\n     * to 'false' when navigation fails, or is rejected on error.\n     *\n     */\n    navigateByUrl(url, extras = { skipLocationChange: false }) {\n        if (Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"isDevMode\"])() && this.isNgZoneEnabled && !_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgZone\"].isInAngularZone()) {\n            this.console.warn(`Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?`);\n        }\n        /** @type {?} */\n        const urlTree = isUrlTree(url) ? url : this.parseUrl(url);\n        /** @type {?} */\n        const mergedTree = this.urlHandlingStrategy.merge(urlTree, this.rawUrlTree);\n        return this.scheduleNavigation(mergedTree, 'imperative', null, extras);\n    }\n    /**\n     * Navigate based on the provided array of commands and a starting point.\n     * If no starting route is provided, the navigation is absolute.\n     *\n     * Returns a promise that:\n     * - resolves to 'true' when navigation succeeds,\n     * - resolves to 'false' when navigation fails,\n     * - is rejected when an error happens.\n     *\n     * \\@usageNotes\n     *\n     * ```\n     * router.navigate(['team', 33, 'user', 11], {relativeTo: route});\n     *\n     * // Navigate without updating the URL\n     * router.navigate(['team', 33, 'user', 11], {relativeTo: route, skipLocationChange: true});\n     * ```\n     *\n     * The first parameter of `navigate()` is a delta to be applied to the current URL\n     * or the one provided in the `relativeTo` property of the second parameter (the\n     * `NavigationExtras`).\n     *\n     * In order to affect this browser's `history.state` entry, the `state`\n     * parameter can be passed. This must be an object because the router\n     * will add the `navigationId` property to this object before creating\n     * the new history item.\n     * @param {?} commands\n     * @param {?=} extras\n     * @return {?}\n     */\n    navigate(commands, extras = { skipLocationChange: false }) {\n        validateCommands(commands);\n        return this.navigateByUrl(this.createUrlTree(commands, extras), extras);\n    }\n    /**\n     * Serializes a `UrlTree` into a string\n     * @param {?} url\n     * @return {?}\n     */\n    serializeUrl(url) { return this.urlSerializer.serialize(url); }\n    /**\n     * Parses a string into a `UrlTree`\n     * @param {?} url\n     * @return {?}\n     */\n    parseUrl(url) {\n        /** @type {?} */\n        let urlTree;\n        try {\n            urlTree = this.urlSerializer.parse(url);\n        }\n        catch (e) {\n            urlTree = this.malformedUriErrorHandler(e, this.urlSerializer, url);\n        }\n        return urlTree;\n    }\n    /**\n     * Returns whether the url is activated\n     * @param {?} url\n     * @param {?} exact\n     * @return {?}\n     */\n    isActive(url, exact) {\n        if (isUrlTree(url)) {\n            return containsTree(this.currentUrlTree, url, exact);\n        }\n        /** @type {?} */\n        const urlTree = this.parseUrl(url);\n        return containsTree(this.currentUrlTree, urlTree, exact);\n    }\n    /**\n     * @private\n     * @param {?} params\n     * @return {?}\n     */\n    removeEmptyProps(params) {\n        return Object.keys(params).reduce((/**\n         * @param {?} result\n         * @param {?} key\n         * @return {?}\n         */\n        (result, key) => {\n            /** @type {?} */\n            const value = params[key];\n            if (value !== null && value !== undefined) {\n                result[key] = value;\n            }\n            return result;\n        }), {});\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    processNavigations() {\n        this.navigations.subscribe((/**\n         * @param {?} t\n         * @return {?}\n         */\n        t => {\n            this.navigated = true;\n            this.lastSuccessfulId = t.id;\n            ((/** @type {?} */ (this.events)))\n                .next(new NavigationEnd(t.id, this.serializeUrl(t.extractedUrl), this.serializeUrl(this.currentUrlTree)));\n            this.lastSuccessfulNavigation = this.currentNavigation;\n            this.currentNavigation = null;\n            t.resolve(true);\n        }), (/**\n         * @param {?} e\n         * @return {?}\n         */\n        e => { this.console.warn(`Unhandled Navigation Error: `); }));\n    }\n    /**\n     * @private\n     * @param {?} rawUrl\n     * @param {?} source\n     * @param {?} restoredState\n     * @param {?} extras\n     * @return {?}\n     */\n    scheduleNavigation(rawUrl, source, restoredState, extras) {\n        /** @type {?} */\n        const lastNavigation = this.getTransition();\n        // If the user triggers a navigation imperatively (e.g., by using navigateByUrl),\n        // and that navigation results in 'replaceState' that leads to the same URL,\n        // we should skip those.\n        if (lastNavigation && source !== 'imperative' && lastNavigation.source === 'imperative' &&\n            lastNavigation.rawUrl.toString() === rawUrl.toString()) {\n            return Promise.resolve(true); // return value is not used\n        }\n        // Because of a bug in IE and Edge, the location class fires two events (popstate and\n        // hashchange) every single time. The second one should be ignored. Otherwise, the URL will\n        // flicker. Handles the case when a popstate was emitted first.\n        if (lastNavigation && source == 'hashchange' && lastNavigation.source === 'popstate' &&\n            lastNavigation.rawUrl.toString() === rawUrl.toString()) {\n            return Promise.resolve(true); // return value is not used\n        }\n        // Because of a bug in IE and Edge, the location class fires two events (popstate and\n        // hashchange) every single time. The second one should be ignored. Otherwise, the URL will\n        // flicker. Handles the case when a hashchange was emitted first.\n        if (lastNavigation && source == 'popstate' && lastNavigation.source === 'hashchange' &&\n            lastNavigation.rawUrl.toString() === rawUrl.toString()) {\n            return Promise.resolve(true); // return value is not used\n        }\n        /** @type {?} */\n        let resolve = null;\n        /** @type {?} */\n        let reject = null;\n        /** @type {?} */\n        const promise = new Promise((/**\n         * @param {?} res\n         * @param {?} rej\n         * @return {?}\n         */\n        (res, rej) => {\n            resolve = res;\n            reject = rej;\n        }));\n        /** @type {?} */\n        const id = ++this.navigationId;\n        this.setTransition({\n            id,\n            source,\n            restoredState,\n            currentUrlTree: this.currentUrlTree,\n            currentRawUrl: this.rawUrlTree, rawUrl, extras, resolve, reject, promise,\n            currentSnapshot: this.routerState.snapshot,\n            currentRouterState: this.routerState\n        });\n        // Make sure that the error is propagated even though `processNavigations` catch\n        // handler does not rethrow\n        return promise.catch((/**\n         * @param {?} e\n         * @return {?}\n         */\n        (e) => { return Promise.reject(e); }));\n    }\n    /**\n     * @private\n     * @param {?} url\n     * @param {?} replaceUrl\n     * @param {?} id\n     * @param {?=} state\n     * @return {?}\n     */\n    setBrowserUrl(url, replaceUrl, id, state) {\n        /** @type {?} */\n        const path = this.urlSerializer.serialize(url);\n        state = state || {};\n        if (this.location.isCurrentPathEqualTo(path) || replaceUrl) {\n            // TODO(jasonaden): Remove first `navigationId` and rely on `ng` namespace.\n            this.location.replaceState(path, '', Object.assign({}, state, { navigationId: id }));\n        }\n        else {\n            this.location.go(path, '', Object.assign({}, state, { navigationId: id }));\n        }\n    }\n    /**\n     * @private\n     * @param {?} storedState\n     * @param {?} storedUrl\n     * @param {?} rawUrl\n     * @return {?}\n     */\n    resetStateAndUrl(storedState, storedUrl, rawUrl) {\n        ((/** @type {?} */ (this))).routerState = storedState;\n        this.currentUrlTree = storedUrl;\n        this.rawUrlTree = this.urlHandlingStrategy.merge(this.currentUrlTree, rawUrl);\n        this.resetUrlToCurrentUrlTree();\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    resetUrlToCurrentUrlTree() {\n        this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree), '', { navigationId: this.lastSuccessfulId });\n    }\n}\nif (false) {}\n/**\n * @param {?} commands\n * @return {?}\n */\nfunction validateCommands(commands) {\n    for (let i = 0; i < commands.length; i++) {\n        /** @type {?} */\n        const cmd = commands[i];\n        if (cmd == null) {\n            throw new Error(`The requested path contains ${cmd} segment at index ${i}`);\n        }\n    }\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@description\n *\n * Lets you link to specific routes in your app.\n *\n * Consider the following route configuration:\n * `[{ path: 'user/:name', component: UserCmp }]`.\n * When linking to this `user/:name` route, you use the `RouterLink` directive.\n *\n * If the link is static, you can use the directive as follows:\n * `<a routerLink=\"/user/bob\">link to user component</a>`\n *\n * If you use dynamic values to generate the link, you can pass an array of path\n * segments, followed by the params for each segment.\n *\n * For instance `['/team', teamId, 'user', userName, {details: true}]`\n * means that we want to generate a link to `/team/11/user/bob;details=true`.\n *\n * Multiple static segments can be merged into one\n * (e.g., `['/team/11/user', userName, {details: true}]`).\n *\n * The first segment name can be prepended with `/`, `./`, or `../`:\n * * If the first segment begins with `/`, the router will look up the route from the root of the\n *   app.\n * * If the first segment begins with `./`, or doesn't begin with a slash, the router will\n *   instead look in the children of the current activated route.\n * * And if the first segment begins with `../`, the router will go up one level.\n *\n * You can set query params and fragment as follows:\n *\n * ```\n * <a [routerLink]=\"['/user/bob']\" [queryParams]=\"{debug: true}\" fragment=\"education\">\n *   link to user component\n * </a>\n * ```\n * RouterLink will use these to generate this link: `/user/bob#education?debug=true`.\n *\n * (Deprecated in v4.0.0 use `queryParamsHandling` instead) You can also tell the\n * directive to preserve the current query params and fragment:\n *\n * ```\n * <a [routerLink]=\"['/user/bob']\" preserveQueryParams preserveFragment>\n *   link to user component\n * </a>\n * ```\n *\n * You can tell the directive how to handle queryParams. Available options are:\n *  - `'merge'`: merge the queryParams into the current queryParams\n *  - `'preserve'`: preserve the current queryParams\n *  - default/`''`: use the queryParams only\n *\n * Same options for {\\@link NavigationExtras#queryParamsHandling\n * NavigationExtras#queryParamsHandling}.\n *\n * ```\n * <a [routerLink]=\"['/user/bob']\" [queryParams]=\"{debug: true}\" queryParamsHandling=\"merge\">\n *   link to user component\n * </a>\n * ```\n *\n * You can provide a `state` value to be persisted to the browser's History.state\n * property (See https://developer.mozilla.org/en-US/docs/Web/API/History#Properties). It's\n * used as follows:\n *\n * ```\n * <a [routerLink]=\"['/user/bob']\" [state]=\"{tracingId: 123}\">\n *   link to user component\n * </a>\n * ```\n *\n * And later the value can be read from the router through `router.getCurrentNavigation`.\n * For example, to capture the `tracingId` above during the `NavigationStart` event:\n *\n * ```\n * // Get NavigationStart events\n * router.events.pipe(filter(e => e instanceof NavigationStart)).subscribe(e => {\n *   const navigation = router.getCurrentNavigation();\n *   tracingService.trace({id: navigation.extras.state.tracingId});\n * });\n * ```\n *\n * The router link directive always treats the provided input as a delta to the current url.\n *\n * For instance, if the current url is `/user/(box//aux:team)`.\n *\n * Then the following link `<a [routerLink]=\"['/user/jim']\">Jim</a>` will generate the link\n * `/user/(jim//aux:team)`.\n *\n * See {\\@link Router#createUrlTree createUrlTree} for more information.\n *\n * \\@ngModule RouterModule\n *\n * \\@publicApi\n */\nclass RouterLink {\n    /**\n     * @param {?} router\n     * @param {?} route\n     * @param {?} tabIndex\n     * @param {?} renderer\n     * @param {?} el\n     */\n    constructor(router, route, tabIndex, renderer, el) {\n        this.router = router;\n        this.route = route;\n        this.commands = [];\n        if (tabIndex == null) {\n            renderer.setAttribute(el.nativeElement, 'tabindex', '0');\n        }\n    }\n    /**\n     * @param {?} commands\n     * @return {?}\n     */\n    set routerLink(commands) {\n        if (commands != null) {\n            this.commands = Array.isArray(commands) ? commands : [commands];\n        }\n        else {\n            this.commands = [];\n        }\n    }\n    /**\n     * @deprecated 4.0.0 use `queryParamsHandling` instead.\n     * @param {?} value\n     * @return {?}\n     */\n    set preserveQueryParams(value) {\n        if (Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"isDevMode\"])() && (/** @type {?} */ (console)) && (/** @type {?} */ (console.warn))) {\n            console.warn('preserveQueryParams is deprecated!, use queryParamsHandling instead.');\n        }\n        this.preserve = value;\n    }\n    /**\n     * @return {?}\n     */\n    onClick() {\n        /** @type {?} */\n        const extras = {\n            skipLocationChange: attrBoolValue(this.skipLocationChange),\n            replaceUrl: attrBoolValue(this.replaceUrl),\n        };\n        this.router.navigateByUrl(this.urlTree, extras);\n        return true;\n    }\n    /**\n     * @return {?}\n     */\n    get urlTree() {\n        return this.router.createUrlTree(this.commands, {\n            relativeTo: this.route,\n            queryParams: this.queryParams,\n            fragment: this.fragment,\n            preserveQueryParams: attrBoolValue(this.preserve),\n            queryParamsHandling: this.queryParamsHandling,\n            preserveFragment: attrBoolValue(this.preserveFragment),\n        });\n    }\n}\nRouterLink.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Directive\"], args: [{ selector: ':not(a):not(area)[routerLink]' },] }\n];\n/** @nocollapse */\nRouterLink.ctorParameters = () => [\n    { type: Router },\n    { type: ActivatedRoute },\n    { type: String, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Attribute\"], args: ['tabindex',] }] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Renderer2\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ElementRef\"] }\n];\nRouterLink.propDecorators = {\n    queryParams: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"] }],\n    fragment: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"] }],\n    queryParamsHandling: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"] }],\n    preserveFragment: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"] }],\n    skipLocationChange: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"] }],\n    replaceUrl: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"] }],\n    state: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"] }],\n    routerLink: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"] }],\n    preserveQueryParams: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"] }],\n    onClick: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"HostListener\"], args: ['click',] }]\n};\nif (false) {}\n/**\n * \\@description\n *\n * Lets you link to specific routes in your app.\n *\n * See `RouterLink` for more information.\n *\n * \\@ngModule RouterModule\n *\n * \\@publicApi\n */\nclass RouterLinkWithHref {\n    /**\n     * @param {?} router\n     * @param {?} route\n     * @param {?} locationStrategy\n     */\n    constructor(router, route, locationStrategy) {\n        this.router = router;\n        this.route = route;\n        this.locationStrategy = locationStrategy;\n        this.commands = [];\n        this.subscription = router.events.subscribe((/**\n         * @param {?} s\n         * @return {?}\n         */\n        (s) => {\n            if (s instanceof NavigationEnd) {\n                this.updateTargetUrlAndHref();\n            }\n        }));\n    }\n    /**\n     * @param {?} commands\n     * @return {?}\n     */\n    set routerLink(commands) {\n        if (commands != null) {\n            this.commands = Array.isArray(commands) ? commands : [commands];\n        }\n        else {\n            this.commands = [];\n        }\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n    set preserveQueryParams(value) {\n        if (Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"isDevMode\"])() && (/** @type {?} */ (console)) && (/** @type {?} */ (console.warn))) {\n            console.warn('preserveQueryParams is deprecated, use queryParamsHandling instead.');\n        }\n        this.preserve = value;\n    }\n    /**\n     * @param {?} changes\n     * @return {?}\n     */\n    ngOnChanges(changes) { this.updateTargetUrlAndHref(); }\n    /**\n     * @return {?}\n     */\n    ngOnDestroy() { this.subscription.unsubscribe(); }\n    /**\n     * @param {?} button\n     * @param {?} ctrlKey\n     * @param {?} metaKey\n     * @param {?} shiftKey\n     * @return {?}\n     */\n    onClick(button, ctrlKey, metaKey, shiftKey) {\n        if (button !== 0 || ctrlKey || metaKey || shiftKey) {\n            return true;\n        }\n        if (typeof this.target === 'string' && this.target != '_self') {\n            return true;\n        }\n        /** @type {?} */\n        const extras = {\n            skipLocationChange: attrBoolValue(this.skipLocationChange),\n            replaceUrl: attrBoolValue(this.replaceUrl),\n            state: this.state\n        };\n        this.router.navigateByUrl(this.urlTree, extras);\n        return false;\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    updateTargetUrlAndHref() {\n        this.href = this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree));\n    }\n    /**\n     * @return {?}\n     */\n    get urlTree() {\n        return this.router.createUrlTree(this.commands, {\n            relativeTo: this.route,\n            queryParams: this.queryParams,\n            fragment: this.fragment,\n            preserveQueryParams: attrBoolValue(this.preserve),\n            queryParamsHandling: this.queryParamsHandling,\n            preserveFragment: attrBoolValue(this.preserveFragment),\n        });\n    }\n}\nRouterLinkWithHref.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Directive\"], args: [{ selector: 'a[routerLink],area[routerLink]' },] }\n];\n/** @nocollapse */\nRouterLinkWithHref.ctorParameters = () => [\n    { type: Router },\n    { type: ActivatedRoute },\n    { type: _angular_common__WEBPACK_IMPORTED_MODULE_0__[\"LocationStrategy\"] }\n];\nRouterLinkWithHref.propDecorators = {\n    target: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"HostBinding\"], args: ['attr.target',] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"] }],\n    queryParams: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"] }],\n    fragment: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"] }],\n    queryParamsHandling: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"] }],\n    preserveFragment: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"] }],\n    skipLocationChange: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"] }],\n    replaceUrl: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"] }],\n    state: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"] }],\n    href: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"HostBinding\"] }],\n    routerLink: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"] }],\n    preserveQueryParams: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"] }],\n    onClick: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"HostListener\"], args: ['click', ['$event.button', '$event.ctrlKey', '$event.metaKey', '$event.shiftKey'],] }]\n};\nif (false) {}\n/**\n * @param {?} s\n * @return {?}\n */\nfunction attrBoolValue(s) {\n    return s === '' || !!s;\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n *\n * \\@description\n *\n * Lets you add a CSS class to an element when the link's route becomes active.\n *\n * This directive lets you add a CSS class to an element when the link's route\n * becomes active.\n *\n * Consider the following example:\n *\n * ```\n * <a routerLink=\"/user/bob\" routerLinkActive=\"active-link\">Bob</a>\n * ```\n *\n * When the url is either '/user' or '/user/bob', the active-link class will\n * be added to the `a` tag. If the url changes, the class will be removed.\n *\n * You can set more than one class, as follows:\n *\n * ```\n * <a routerLink=\"/user/bob\" routerLinkActive=\"class1 class2\">Bob</a>\n * <a routerLink=\"/user/bob\" [routerLinkActive]=\"['class1', 'class2']\">Bob</a>\n * ```\n *\n * You can configure RouterLinkActive by passing `exact: true`. This will add the classes\n * only when the url matches the link exactly.\n *\n * ```\n * <a routerLink=\"/user/bob\" routerLinkActive=\"active-link\" [routerLinkActiveOptions]=\"{exact:\n * true}\">Bob</a>\n * ```\n *\n * You can assign the RouterLinkActive instance to a template variable and directly check\n * the `isActive` status.\n * ```\n * <a routerLink=\"/user/bob\" routerLinkActive #rla=\"routerLinkActive\">\n *   Bob {{ rla.isActive ? '(already open)' : ''}}\n * </a>\n * ```\n *\n * Finally, you can apply the RouterLinkActive directive to an ancestor of a RouterLink.\n *\n * ```\n * <div routerLinkActive=\"active-link\" [routerLinkActiveOptions]=\"{exact: true}\">\n *   <a routerLink=\"/user/jim\">Jim</a>\n *   <a routerLink=\"/user/bob\">Bob</a>\n * </div>\n * ```\n *\n * This will set the active-link class on the div tag if the url is either '/user/jim' or\n * '/user/bob'.\n *\n * \\@ngModule RouterModule\n *\n * \\@publicApi\n */\nclass RouterLinkActive {\n    /**\n     * @param {?} router\n     * @param {?} element\n     * @param {?} renderer\n     * @param {?=} link\n     * @param {?=} linkWithHref\n     */\n    constructor(router, element, renderer, link, linkWithHref) {\n        this.router = router;\n        this.element = element;\n        this.renderer = renderer;\n        this.link = link;\n        this.linkWithHref = linkWithHref;\n        this.classes = [];\n        this.isActive = false;\n        this.routerLinkActiveOptions = { exact: false };\n        this.subscription = router.events.subscribe((/**\n         * @param {?} s\n         * @return {?}\n         */\n        (s) => {\n            if (s instanceof NavigationEnd) {\n                this.update();\n            }\n        }));\n    }\n    /**\n     * @return {?}\n     */\n    ngAfterContentInit() {\n        this.links.changes.subscribe((/**\n         * @param {?} _\n         * @return {?}\n         */\n        _ => this.update()));\n        this.linksWithHrefs.changes.subscribe((/**\n         * @param {?} _\n         * @return {?}\n         */\n        _ => this.update()));\n        this.update();\n    }\n    /**\n     * @param {?} data\n     * @return {?}\n     */\n    set routerLinkActive(data) {\n        /** @type {?} */\n        const classes = Array.isArray(data) ? data : data.split(' ');\n        this.classes = classes.filter((/**\n         * @param {?} c\n         * @return {?}\n         */\n        c => !!c));\n    }\n    /**\n     * @param {?} changes\n     * @return {?}\n     */\n    ngOnChanges(changes) { this.update(); }\n    /**\n     * @return {?}\n     */\n    ngOnDestroy() { this.subscription.unsubscribe(); }\n    /**\n     * @private\n     * @return {?}\n     */\n    update() {\n        if (!this.links || !this.linksWithHrefs || !this.router.navigated)\n            return;\n        Promise.resolve().then((/**\n         * @return {?}\n         */\n        () => {\n            /** @type {?} */\n            const hasActiveLinks = this.hasActiveLinks();\n            if (this.isActive !== hasActiveLinks) {\n                ((/** @type {?} */ (this))).isActive = hasActiveLinks;\n                this.classes.forEach((/**\n                 * @param {?} c\n                 * @return {?}\n                 */\n                (c) => {\n                    if (hasActiveLinks) {\n                        this.renderer.addClass(this.element.nativeElement, c);\n                    }\n                    else {\n                        this.renderer.removeClass(this.element.nativeElement, c);\n                    }\n                }));\n            }\n        }));\n    }\n    /**\n     * @private\n     * @param {?} router\n     * @return {?}\n     */\n    isLinkActive(router) {\n        return (/**\n         * @param {?} link\n         * @return {?}\n         */\n        (link) => router.isActive(link.urlTree, this.routerLinkActiveOptions.exact));\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    hasActiveLinks() {\n        /** @type {?} */\n        const isActiveCheckFn = this.isLinkActive(this.router);\n        return this.link && isActiveCheckFn(this.link) ||\n            this.linkWithHref && isActiveCheckFn(this.linkWithHref) ||\n            this.links.some(isActiveCheckFn) || this.linksWithHrefs.some(isActiveCheckFn);\n    }\n}\nRouterLinkActive.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Directive\"], args: [{\n                selector: '[routerLinkActive]',\n                exportAs: 'routerLinkActive',\n            },] }\n];\n/** @nocollapse */\nRouterLinkActive.ctorParameters = () => [\n    { type: Router },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ElementRef\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Renderer2\"] },\n    { type: RouterLink, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"] }] },\n    { type: RouterLinkWithHref, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"] }] }\n];\nRouterLinkActive.propDecorators = {\n    links: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ContentChildren\"], args: [RouterLink, { descendants: true },] }],\n    linksWithHrefs: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ContentChildren\"], args: [RouterLinkWithHref, { descendants: true },] }],\n    routerLinkActiveOptions: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"] }],\n    routerLinkActive: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"] }]\n};\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Store contextual information about a `RouterOutlet`\n *\n * \\@publicApi\n */\nclass OutletContext {\n    constructor() {\n        this.outlet = null;\n        this.route = null;\n        this.resolver = null;\n        this.children = new ChildrenOutletContexts();\n        this.attachRef = null;\n    }\n}\nif (false) {}\n/**\n * Store contextual information about the children (= nested) `RouterOutlet`\n *\n * \\@publicApi\n */\nclass ChildrenOutletContexts {\n    constructor() {\n        // contexts for child outlets, by name.\n        this.contexts = new Map();\n    }\n    /**\n     * Called when a `RouterOutlet` directive is instantiated\n     * @param {?} childName\n     * @param {?} outlet\n     * @return {?}\n     */\n    onChildOutletCreated(childName, outlet) {\n        /** @type {?} */\n        const context = this.getOrCreateContext(childName);\n        context.outlet = outlet;\n        this.contexts.set(childName, context);\n    }\n    /**\n     * Called when a `RouterOutlet` directive is destroyed.\n     * We need to keep the context as the outlet could be destroyed inside a NgIf and might be\n     * re-created later.\n     * @param {?} childName\n     * @return {?}\n     */\n    onChildOutletDestroyed(childName) {\n        /** @type {?} */\n        const context = this.getContext(childName);\n        if (context) {\n            context.outlet = null;\n        }\n    }\n    /**\n     * Called when the corresponding route is deactivated during navigation.\n     * Because the component get destroyed, all children outlet are destroyed.\n     * @return {?}\n     */\n    onOutletDeactivated() {\n        /** @type {?} */\n        const contexts = this.contexts;\n        this.contexts = new Map();\n        return contexts;\n    }\n    /**\n     * @param {?} contexts\n     * @return {?}\n     */\n    onOutletReAttached(contexts) { this.contexts = contexts; }\n    /**\n     * @param {?} childName\n     * @return {?}\n     */\n    getOrCreateContext(childName) {\n        /** @type {?} */\n        let context = this.getContext(childName);\n        if (!context) {\n            context = new OutletContext();\n            this.contexts.set(childName, context);\n        }\n        return context;\n    }\n    /**\n     * @param {?} childName\n     * @return {?}\n     */\n    getContext(childName) { return this.contexts.get(childName) || null; }\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@description\n *\n * Acts as a placeholder that Angular dynamically fills based on the current router state.\n *\n * Each outlet can have a unique name, determined by the optional `name` attribute.\n * The name cannot be set or changed dynamically. If not set, default value is \"primary\".\n *\n * ```\n * <router-outlet></router-outlet>\n * <router-outlet name='left'></router-outlet>\n * <router-outlet name='right'></router-outlet>\n * ```\n *\n * A router outlet emits an activate event when a new component is instantiated,\n * and a deactivate event when a component is destroyed.\n *\n * ```\n * <router-outlet\n *   (activate)='onActivate($event)'\n *   (deactivate)='onDeactivate($event)'></router-outlet>\n * ```\n * \\@ngModule RouterModule\n *\n * \\@publicApi\n */\nclass RouterOutlet {\n    /**\n     * @param {?} parentContexts\n     * @param {?} location\n     * @param {?} resolver\n     * @param {?} name\n     * @param {?} changeDetector\n     */\n    constructor(parentContexts, location, resolver, name, changeDetector) {\n        this.parentContexts = parentContexts;\n        this.location = location;\n        this.resolver = resolver;\n        this.changeDetector = changeDetector;\n        this.activated = null;\n        this._activatedRoute = null;\n        this.activateEvents = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"EventEmitter\"]();\n        this.deactivateEvents = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"EventEmitter\"]();\n        this.name = name || PRIMARY_OUTLET;\n        parentContexts.onChildOutletCreated(this.name, this);\n    }\n    /**\n     * @return {?}\n     */\n    ngOnDestroy() { this.parentContexts.onChildOutletDestroyed(this.name); }\n    /**\n     * @return {?}\n     */\n    ngOnInit() {\n        if (!this.activated) {\n            // If the outlet was not instantiated at the time the route got activated we need to populate\n            // the outlet when it is initialized (ie inside a NgIf)\n            /** @type {?} */\n            const context = this.parentContexts.getContext(this.name);\n            if (context && context.route) {\n                if (context.attachRef) {\n                    // `attachRef` is populated when there is an existing component to mount\n                    this.attach(context.attachRef, context.route);\n                }\n                else {\n                    // otherwise the component defined in the configuration is created\n                    this.activateWith(context.route, context.resolver || null);\n                }\n            }\n        }\n    }\n    /**\n     * @return {?}\n     */\n    get isActivated() { return !!this.activated; }\n    /**\n     * @return {?}\n     */\n    get component() {\n        if (!this.activated)\n            throw new Error('Outlet is not activated');\n        return this.activated.instance;\n    }\n    /**\n     * @return {?}\n     */\n    get activatedRoute() {\n        if (!this.activated)\n            throw new Error('Outlet is not activated');\n        return (/** @type {?} */ (this._activatedRoute));\n    }\n    /**\n     * @return {?}\n     */\n    get activatedRouteData() {\n        if (this._activatedRoute) {\n            return this._activatedRoute.snapshot.data;\n        }\n        return {};\n    }\n    /**\n     * Called when the `RouteReuseStrategy` instructs to detach the subtree\n     * @return {?}\n     */\n    detach() {\n        if (!this.activated)\n            throw new Error('Outlet is not activated');\n        this.location.detach();\n        /** @type {?} */\n        const cmp = this.activated;\n        this.activated = null;\n        this._activatedRoute = null;\n        return cmp;\n    }\n    /**\n     * Called when the `RouteReuseStrategy` instructs to re-attach a previously detached subtree\n     * @param {?} ref\n     * @param {?} activatedRoute\n     * @return {?}\n     */\n    attach(ref, activatedRoute) {\n        this.activated = ref;\n        this._activatedRoute = activatedRoute;\n        this.location.insert(ref.hostView);\n    }\n    /**\n     * @return {?}\n     */\n    deactivate() {\n        if (this.activated) {\n            /** @type {?} */\n            const c = this.component;\n            this.activated.destroy();\n            this.activated = null;\n            this._activatedRoute = null;\n            this.deactivateEvents.emit(c);\n        }\n    }\n    /**\n     * @param {?} activatedRoute\n     * @param {?} resolver\n     * @return {?}\n     */\n    activateWith(activatedRoute, resolver) {\n        if (this.isActivated) {\n            throw new Error('Cannot activate an already activated outlet');\n        }\n        this._activatedRoute = activatedRoute;\n        /** @type {?} */\n        const snapshot = activatedRoute._futureSnapshot;\n        /** @type {?} */\n        const component = (/** @type {?} */ ((/** @type {?} */ (snapshot.routeConfig)).component));\n        resolver = resolver || this.resolver;\n        /** @type {?} */\n        const factory = resolver.resolveComponentFactory(component);\n        /** @type {?} */\n        const childContexts = this.parentContexts.getOrCreateContext(this.name).children;\n        /** @type {?} */\n        const injector = new OutletInjector(activatedRoute, childContexts, this.location.injector);\n        this.activated = this.location.createComponent(factory, this.location.length, injector);\n        // Calling `markForCheck` to make sure we will run the change detection when the\n        // `RouterOutlet` is inside a `ChangeDetectionStrategy.OnPush` component.\n        this.changeDetector.markForCheck();\n        this.activateEvents.emit(this.activated.instance);\n    }\n}\nRouterOutlet.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Directive\"], args: [{ selector: 'router-outlet', exportAs: 'outlet' },] }\n];\n/** @nocollapse */\nRouterOutlet.ctorParameters = () => [\n    { type: ChildrenOutletContexts },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ViewContainerRef\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ComponentFactoryResolver\"] },\n    { type: String, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Attribute\"], args: ['name',] }] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ChangeDetectorRef\"] }\n];\nRouterOutlet.propDecorators = {\n    activateEvents: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Output\"], args: ['activate',] }],\n    deactivateEvents: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Output\"], args: ['deactivate',] }]\n};\nif (false) {}\nclass OutletInjector {\n    /**\n     * @param {?} route\n     * @param {?} childContexts\n     * @param {?} parent\n     */\n    constructor(route, childContexts, parent) {\n        this.route = route;\n        this.childContexts = childContexts;\n        this.parent = parent;\n    }\n    /**\n     * @param {?} token\n     * @param {?=} notFoundValue\n     * @return {?}\n     */\n    get(token, notFoundValue) {\n        if (token === ActivatedRoute) {\n            return this.route;\n        }\n        if (token === ChildrenOutletContexts) {\n            return this.childContexts;\n        }\n        return this.parent.get(token, notFoundValue);\n    }\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@description\n *\n * Provides a preloading strategy.\n *\n * \\@publicApi\n * @abstract\n */\nclass PreloadingStrategy {\n}\nif (false) {}\n/**\n * \\@description\n *\n * Provides a preloading strategy that preloads all modules as quickly as possible.\n *\n * ```\n * RouteModule.forRoot(ROUTES, {preloadingStrategy: PreloadAllModules})\n * ```\n *\n * \\@publicApi\n */\nclass PreloadAllModules {\n    /**\n     * @param {?} route\n     * @param {?} fn\n     * @return {?}\n     */\n    preload(route, fn) {\n        return fn().pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"catchError\"])((/**\n         * @return {?}\n         */\n        () => Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(null))));\n    }\n}\n/**\n * \\@description\n *\n * Provides a preloading strategy that does not preload any modules.\n *\n * This strategy is enabled by default.\n *\n * \\@publicApi\n */\nclass NoPreloading {\n    /**\n     * @param {?} route\n     * @param {?} fn\n     * @return {?}\n     */\n    preload(route, fn) { return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(null); }\n}\n/**\n * The preloader optimistically loads all router configurations to\n * make navigations into lazily-loaded sections of the application faster.\n *\n * The preloader runs in the background. When the router bootstraps, the preloader\n * starts listening to all navigation events. After every such event, the preloader\n * will check if any configurations can be loaded lazily.\n *\n * If a route is protected by `canLoad` guards, the preloaded will not load it.\n *\n * \\@publicApi\n */\nclass RouterPreloader {\n    /**\n     * @param {?} router\n     * @param {?} moduleLoader\n     * @param {?} compiler\n     * @param {?} injector\n     * @param {?} preloadingStrategy\n     */\n    constructor(router, moduleLoader, compiler, injector, preloadingStrategy) {\n        this.router = router;\n        this.injector = injector;\n        this.preloadingStrategy = preloadingStrategy;\n        /** @type {?} */\n        const onStartLoad = (/**\n         * @param {?} r\n         * @return {?}\n         */\n        (r) => router.triggerEvent(new RouteConfigLoadStart(r)));\n        /** @type {?} */\n        const onEndLoad = (/**\n         * @param {?} r\n         * @return {?}\n         */\n        (r) => router.triggerEvent(new RouteConfigLoadEnd(r)));\n        this.loader = new RouterConfigLoader(moduleLoader, compiler, onStartLoad, onEndLoad);\n    }\n    /**\n     * @return {?}\n     */\n    setUpPreloading() {\n        this.subscription =\n            this.router.events\n                .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"filter\"])((/**\n             * @param {?} e\n             * @return {?}\n             */\n            (e) => e instanceof NavigationEnd)), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"concatMap\"])((/**\n             * @return {?}\n             */\n            () => this.preload())))\n                .subscribe((/**\n             * @return {?}\n             */\n            () => { }));\n    }\n    /**\n     * @return {?}\n     */\n    preload() {\n        /** @type {?} */\n        const ngModule = this.injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgModuleRef\"]);\n        return this.processRoutes(ngModule, this.router.config);\n    }\n    // TODO(jasonaden): This class relies on code external to the class to call setUpPreloading. If\n    // this hasn't been done, ngOnDestroy will fail as this.subscription will be undefined. This\n    // should be refactored.\n    /**\n     * @return {?}\n     */\n    ngOnDestroy() { this.subscription.unsubscribe(); }\n    /**\n     * @private\n     * @param {?} ngModule\n     * @param {?} routes\n     * @return {?}\n     */\n    processRoutes(ngModule, routes) {\n        /** @type {?} */\n        const res = [];\n        for (const route of routes) {\n            // we already have the config loaded, just recurse\n            if (route.loadChildren && !route.canLoad && route._loadedConfig) {\n                /** @type {?} */\n                const childConfig = route._loadedConfig;\n                res.push(this.processRoutes(childConfig.module, childConfig.routes));\n                // no config loaded, fetch the config\n            }\n            else if (route.loadChildren && !route.canLoad) {\n                res.push(this.preloadConfig(ngModule, route));\n                // recurse into children\n            }\n            else if (route.children) {\n                res.push(this.processRoutes(ngModule, route.children));\n            }\n        }\n        return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"from\"])(res).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"mergeAll\"])(), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])((/**\n         * @param {?} _\n         * @return {?}\n         */\n        (_) => void 0)));\n    }\n    /**\n     * @private\n     * @param {?} ngModule\n     * @param {?} route\n     * @return {?}\n     */\n    preloadConfig(ngModule, route) {\n        return this.preloadingStrategy.preload(route, (/**\n         * @return {?}\n         */\n        () => {\n            /** @type {?} */\n            const loaded$ = this.loader.load(ngModule.injector, route);\n            return loaded$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"mergeMap\"])((/**\n             * @param {?} config\n             * @return {?}\n             */\n            (config) => {\n                route._loadedConfig = config;\n                return this.processRoutes(config.module, config.routes);\n            })));\n        }));\n    }\n}\nRouterPreloader.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"] }\n];\n/** @nocollapse */\nRouterPreloader.ctorParameters = () => [\n    { type: Router },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgModuleFactoryLoader\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Compiler\"] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injector\"] },\n    { type: PreloadingStrategy }\n];\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nclass RouterScroller {\n    /**\n     * @param {?} router\n     * @param {?} viewportScroller\n     * @param {?=} options\n     */\n    constructor(router, viewportScroller, options = {}) {\n        this.router = router;\n        this.viewportScroller = viewportScroller;\n        this.options = options;\n        this.lastId = 0;\n        this.lastSource = 'imperative';\n        this.restoredId = 0;\n        this.store = {};\n        // Default both options to 'disabled'\n        options.scrollPositionRestoration = options.scrollPositionRestoration || 'disabled';\n        options.anchorScrolling = options.anchorScrolling || 'disabled';\n    }\n    /**\n     * @return {?}\n     */\n    init() {\n        // we want to disable the automatic scrolling because having two places\n        // responsible for scrolling results race conditions, especially given\n        // that browser don't implement this behavior consistently\n        if (this.options.scrollPositionRestoration !== 'disabled') {\n            this.viewportScroller.setHistoryScrollRestoration('manual');\n        }\n        this.routerEventsSubscription = this.createScrollEvents();\n        this.scrollEventsSubscription = this.consumeScrollEvents();\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    createScrollEvents() {\n        return this.router.events.subscribe((/**\n         * @param {?} e\n         * @return {?}\n         */\n        e => {\n            if (e instanceof NavigationStart) {\n                // store the scroll position of the current stable navigations.\n                this.store[this.lastId] = this.viewportScroller.getScrollPosition();\n                this.lastSource = e.navigationTrigger;\n                this.restoredId = e.restoredState ? e.restoredState.navigationId : 0;\n            }\n            else if (e instanceof NavigationEnd) {\n                this.lastId = e.id;\n                this.scheduleScrollEvent(e, this.router.parseUrl(e.urlAfterRedirects).fragment);\n            }\n        }));\n    }\n    /**\n     * @private\n     * @return {?}\n     */\n    consumeScrollEvents() {\n        return this.router.events.subscribe((/**\n         * @param {?} e\n         * @return {?}\n         */\n        e => {\n            if (!(e instanceof Scroll))\n                return;\n            // a popstate event. The pop state event will always ignore anchor scrolling.\n            if (e.position) {\n                if (this.options.scrollPositionRestoration === 'top') {\n                    this.viewportScroller.scrollToPosition([0, 0]);\n                }\n                else if (this.options.scrollPositionRestoration === 'enabled') {\n                    this.viewportScroller.scrollToPosition(e.position);\n                }\n                // imperative navigation \"forward\"\n            }\n            else {\n                if (e.anchor && this.options.anchorScrolling === 'enabled') {\n                    this.viewportScroller.scrollToAnchor(e.anchor);\n                }\n                else if (this.options.scrollPositionRestoration !== 'disabled') {\n                    this.viewportScroller.scrollToPosition([0, 0]);\n                }\n            }\n        }));\n    }\n    /**\n     * @private\n     * @param {?} routerEvent\n     * @param {?} anchor\n     * @return {?}\n     */\n    scheduleScrollEvent(routerEvent, anchor) {\n        this.router.triggerEvent(new Scroll(routerEvent, this.lastSource === 'popstate' ? this.store[this.restoredId] : null, anchor));\n    }\n    /**\n     * @return {?}\n     */\n    ngOnDestroy() {\n        if (this.routerEventsSubscription) {\n            this.routerEventsSubscription.unsubscribe();\n        }\n        if (this.scrollEventsSubscription) {\n            this.scrollEventsSubscription.unsubscribe();\n        }\n    }\n}\nif (false) {}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * The directives defined in the `RouterModule`.\n * @type {?}\n */\nconst ROUTER_DIRECTIVES = [RouterOutlet, RouterLink, RouterLinkWithHref, RouterLinkActive, ɵEmptyOutletComponent];\n/**\n * A [DI token](guide/glossary/#di-token) for the router service.\n *\n * \\@publicApi\n * @type {?}\n */\nconst ROUTER_CONFIGURATION = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"InjectionToken\"]('ROUTER_CONFIGURATION');\n/**\n * \\@docsNotRequired\n * @type {?}\n */\nconst ROUTER_FORROOT_GUARD = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"InjectionToken\"]('ROUTER_FORROOT_GUARD');\nconst ɵ0 = { enableTracing: false };\n/** @type {?} */\nconst ROUTER_PROVIDERS = [\n    _angular_common__WEBPACK_IMPORTED_MODULE_0__[\"Location\"],\n    { provide: UrlSerializer, useClass: DefaultUrlSerializer },\n    {\n        provide: Router,\n        useFactory: setupRouter,\n        deps: [\n            _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ApplicationRef\"], UrlSerializer, ChildrenOutletContexts, _angular_common__WEBPACK_IMPORTED_MODULE_0__[\"Location\"], _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injector\"],\n            _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgModuleFactoryLoader\"], _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Compiler\"], ROUTES, ROUTER_CONFIGURATION,\n            [UrlHandlingStrategy, new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"]()], [RouteReuseStrategy, new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"]()]\n        ]\n    },\n    ChildrenOutletContexts,\n    { provide: ActivatedRoute, useFactory: rootRoute, deps: [Router] },\n    { provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgModuleFactoryLoader\"], useClass: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"SystemJsNgModuleLoader\"] },\n    RouterPreloader,\n    NoPreloading,\n    PreloadAllModules,\n    { provide: ROUTER_CONFIGURATION, useValue: ɵ0 },\n];\n/**\n * @return {?}\n */\nfunction routerNgProbeToken() {\n    return new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgProbeToken\"]('Router', Router);\n}\n/**\n * \\@usageNotes\n *\n * RouterModule can be imported multiple times: once per lazily-loaded bundle.\n * Since the router deals with a global shared resource--location, we cannot have\n * more than one router service active.\n *\n * That is why there are two ways to create the module: `RouterModule.forRoot` and\n * `RouterModule.forChild`.\n *\n * * `forRoot` creates a module that contains all the directives, the given routes, and the router\n *   service itself.\n * * `forChild` creates a module that contains all the directives and the given routes, but does not\n *   include the router service.\n *\n * When registered at the root, the module should be used as follows\n *\n * ```\n * \\@NgModule({\n *   imports: [RouterModule.forRoot(ROUTES)]\n * })\n * class MyNgModule {}\n * ```\n *\n * For submodules and lazy loaded submodules the module should be used as follows:\n *\n * ```\n * \\@NgModule({\n *   imports: [RouterModule.forChild(ROUTES)]\n * })\n * class MyNgModule {}\n * ```\n *\n * \\@description\n *\n * Adds router directives and providers.\n *\n * Managing state transitions is one of the hardest parts of building applications. This is\n * especially true on the web, where you also need to ensure that the state is reflected in the URL.\n * In addition, we often want to split applications into multiple bundles and load them on demand.\n * Doing this transparently is not trivial.\n *\n * The Angular router service solves these problems. Using the router, you can declaratively specify\n * application states, manage state transitions while taking care of the URL, and load bundles on\n * demand.\n *\n * @see [Routing and Navigation](guide/router.html) for an\n * overview of how the router service should be used.\n *\n * \\@publicApi\n */\nclass RouterModule {\n    // Note: We are injecting the Router so it gets created eagerly...\n    /**\n     * @param {?} guard\n     * @param {?} router\n     */\n    constructor(guard, router) { }\n    /**\n     * Creates and configures a module with all the router providers and directives.\n     * Optionally sets up an application listener to perform an initial navigation.\n     *\n     * @param {?} routes An array of `Route` objects that define the navigation paths for the application.\n     * @param {?=} config An `ExtraOptions` configuration object that controls how navigation is performed.\n     * @return {?} The new router module.\n     */\n    static forRoot(routes, config) {\n        return {\n            ngModule: RouterModule,\n            providers: [\n                ROUTER_PROVIDERS,\n                provideRoutes(routes),\n                {\n                    provide: ROUTER_FORROOT_GUARD,\n                    useFactory: provideForRootGuard,\n                    deps: [[Router, new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"](), new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"SkipSelf\"]()]]\n                },\n                { provide: ROUTER_CONFIGURATION, useValue: config ? config : {} },\n                {\n                    provide: _angular_common__WEBPACK_IMPORTED_MODULE_0__[\"LocationStrategy\"],\n                    useFactory: provideLocationStrategy,\n                    deps: [\n                        _angular_common__WEBPACK_IMPORTED_MODULE_0__[\"PlatformLocation\"], [new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"](_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"APP_BASE_HREF\"]), new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"]()], ROUTER_CONFIGURATION\n                    ]\n                },\n                {\n                    provide: RouterScroller,\n                    useFactory: createRouterScroller,\n                    deps: [Router, _angular_common__WEBPACK_IMPORTED_MODULE_0__[\"ViewportScroller\"], ROUTER_CONFIGURATION]\n                },\n                {\n                    provide: PreloadingStrategy,\n                    useExisting: config && config.preloadingStrategy ? config.preloadingStrategy :\n                        NoPreloading\n                },\n                { provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgProbeToken\"], multi: true, useFactory: routerNgProbeToken },\n                provideRouterInitializer(),\n            ],\n        };\n    }\n    /**\n     * Creates a module with all the router directives and a provider registering routes.\n     * @param {?} routes\n     * @return {?}\n     */\n    static forChild(routes) {\n        return { ngModule: RouterModule, providers: [provideRoutes(routes)] };\n    }\n}\nRouterModule.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgModule\"], args: [{\n                declarations: ROUTER_DIRECTIVES,\n                exports: ROUTER_DIRECTIVES,\n                entryComponents: [ɵEmptyOutletComponent]\n            },] }\n];\n/** @nocollapse */\nRouterModule.ctorParameters = () => [\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"] }, { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"], args: [ROUTER_FORROOT_GUARD,] }] },\n    { type: Router, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"] }] }\n];\n/**\n * @param {?} router\n * @param {?} viewportScroller\n * @param {?} config\n * @return {?}\n */\nfunction createRouterScroller(router, viewportScroller, config) {\n    if (config.scrollOffset) {\n        viewportScroller.setOffset(config.scrollOffset);\n    }\n    return new RouterScroller(router, viewportScroller, config);\n}\n/**\n * @param {?} platformLocationStrategy\n * @param {?} baseHref\n * @param {?=} options\n * @return {?}\n */\nfunction provideLocationStrategy(platformLocationStrategy, baseHref, options = {}) {\n    return options.useHash ? new _angular_common__WEBPACK_IMPORTED_MODULE_0__[\"HashLocationStrategy\"](platformLocationStrategy, baseHref) :\n        new _angular_common__WEBPACK_IMPORTED_MODULE_0__[\"PathLocationStrategy\"](platformLocationStrategy, baseHref);\n}\n/**\n * @param {?} router\n * @return {?}\n */\nfunction provideForRootGuard(router) {\n    if (router) {\n        throw new Error(`RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.`);\n    }\n    return 'guarded';\n}\n/**\n * Registers a [DI provider](guide/glossary#provider) for a set of routes.\n * \\@usageNotes\n *\n * ```\n * \\@NgModule({\n *   imports: [RouterModule.forChild(ROUTES)],\n *   providers: [provideRoutes(EXTRA_ROUTES)]\n * })\n * class MyNgModule {}\n * ```\n *\n * \\@publicApi\n * @param {?} routes The route configuration to provide.\n *\n * @return {?}\n */\nfunction provideRoutes(routes) {\n    return [\n        { provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ANALYZE_FOR_ENTRY_COMPONENTS\"], multi: true, useValue: routes },\n        { provide: ROUTES, multi: true, useValue: routes },\n    ];\n}\n/**\n * A set of configuration options for a router module, provided in the\n * `forRoot()` method.\n *\n * \\@publicApi\n * @record\n */\nfunction ExtraOptions() { }\nif (false) {}\n/**\n * @param {?} ref\n * @param {?} urlSerializer\n * @param {?} contexts\n * @param {?} location\n * @param {?} injector\n * @param {?} loader\n * @param {?} compiler\n * @param {?} config\n * @param {?=} opts\n * @param {?=} urlHandlingStrategy\n * @param {?=} routeReuseStrategy\n * @return {?}\n */\nfunction setupRouter(ref, urlSerializer, contexts, location, injector, loader, compiler, config, opts = {}, urlHandlingStrategy, routeReuseStrategy) {\n    /** @type {?} */\n    const router = new Router(null, urlSerializer, contexts, location, injector, loader, compiler, flatten(config));\n    if (urlHandlingStrategy) {\n        router.urlHandlingStrategy = urlHandlingStrategy;\n    }\n    if (routeReuseStrategy) {\n        router.routeReuseStrategy = routeReuseStrategy;\n    }\n    if (opts.errorHandler) {\n        router.errorHandler = opts.errorHandler;\n    }\n    if (opts.malformedUriErrorHandler) {\n        router.malformedUriErrorHandler = opts.malformedUriErrorHandler;\n    }\n    if (opts.enableTracing) {\n        /** @type {?} */\n        const dom = Object(_angular_platform_browser__WEBPACK_IMPORTED_MODULE_4__[\"ɵgetDOM\"])();\n        router.events.subscribe((/**\n         * @param {?} e\n         * @return {?}\n         */\n        (e) => {\n            dom.logGroup(`Router Event: ${((/** @type {?} */ (e.constructor))).name}`);\n            dom.log(e.toString());\n            dom.log(e);\n            dom.logGroupEnd();\n        }));\n    }\n    if (opts.onSameUrlNavigation) {\n        router.onSameUrlNavigation = opts.onSameUrlNavigation;\n    }\n    if (opts.paramsInheritanceStrategy) {\n        router.paramsInheritanceStrategy = opts.paramsInheritanceStrategy;\n    }\n    if (opts.urlUpdateStrategy) {\n        router.urlUpdateStrategy = opts.urlUpdateStrategy;\n    }\n    if (opts.relativeLinkResolution) {\n        router.relativeLinkResolution = opts.relativeLinkResolution;\n    }\n    return router;\n}\n/**\n * @param {?} router\n * @return {?}\n */\nfunction rootRoute(router) {\n    return router.routerState.root;\n}\n/**\n * Router initialization requires two steps:\n *\n * First, we start the navigation in a `APP_INITIALIZER` to block the bootstrap if\n * a resolver or a guard executes asynchronously.\n *\n * Next, we actually run activation in a `BOOTSTRAP_LISTENER`, using the\n * `afterPreactivation` hook provided by the router.\n * The router navigation starts, reaches the point when preactivation is done, and then\n * pauses. It waits for the hook to be resolved. We then resolve it only in a bootstrap listener.\n */\nclass RouterInitializer {\n    /**\n     * @param {?} injector\n     */\n    constructor(injector) {\n        this.injector = injector;\n        this.initNavigation = false;\n        this.resultOfPreactivationDone = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Subject\"]();\n    }\n    /**\n     * @return {?}\n     */\n    appInitializer() {\n        /** @type {?} */\n        const p = this.injector.get(_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"LOCATION_INITIALIZED\"], Promise.resolve(null));\n        return p.then((/**\n         * @return {?}\n         */\n        () => {\n            /** @type {?} */\n            let resolve = (/** @type {?} */ (null));\n            /** @type {?} */\n            const res = new Promise((/**\n             * @param {?} r\n             * @return {?}\n             */\n            r => resolve = r));\n            /** @type {?} */\n            const router = this.injector.get(Router);\n            /** @type {?} */\n            const opts = this.injector.get(ROUTER_CONFIGURATION);\n            if (this.isLegacyDisabled(opts) || this.isLegacyEnabled(opts)) {\n                resolve(true);\n            }\n            else if (opts.initialNavigation === 'disabled') {\n                router.setUpLocationChangeListener();\n                resolve(true);\n            }\n            else if (opts.initialNavigation === 'enabled') {\n                router.hooks.afterPreactivation = (/**\n                 * @return {?}\n                 */\n                () => {\n                    // only the initial navigation should be delayed\n                    if (!this.initNavigation) {\n                        this.initNavigation = true;\n                        resolve(true);\n                        return this.resultOfPreactivationDone;\n                        // subsequent navigations should not be delayed\n                    }\n                    else {\n                        return (/** @type {?} */ (Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(null)));\n                    }\n                });\n                router.initialNavigation();\n            }\n            else {\n                throw new Error(`Invalid initialNavigation options: '${opts.initialNavigation}'`);\n            }\n            return res;\n        }));\n    }\n    /**\n     * @param {?} bootstrappedComponentRef\n     * @return {?}\n     */\n    bootstrapListener(bootstrappedComponentRef) {\n        /** @type {?} */\n        const opts = this.injector.get(ROUTER_CONFIGURATION);\n        /** @type {?} */\n        const preloader = this.injector.get(RouterPreloader);\n        /** @type {?} */\n        const routerScroller = this.injector.get(RouterScroller);\n        /** @type {?} */\n        const router = this.injector.get(Router);\n        /** @type {?} */\n        const ref = this.injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ApplicationRef\"]);\n        if (bootstrappedComponentRef !== ref.components[0]) {\n            return;\n        }\n        if (this.isLegacyEnabled(opts)) {\n            router.initialNavigation();\n        }\n        else if (this.isLegacyDisabled(opts)) {\n            router.setUpLocationChangeListener();\n        }\n        preloader.setUpPreloading();\n        routerScroller.init();\n        router.resetRootComponentType(ref.componentTypes[0]);\n        this.resultOfPreactivationDone.next((/** @type {?} */ (null)));\n        this.resultOfPreactivationDone.complete();\n    }\n    /**\n     * @private\n     * @param {?} opts\n     * @return {?}\n     */\n    isLegacyEnabled(opts) {\n        return opts.initialNavigation === 'legacy_enabled' || opts.initialNavigation === true ||\n            opts.initialNavigation === undefined;\n    }\n    /**\n     * @private\n     * @param {?} opts\n     * @return {?}\n     */\n    isLegacyDisabled(opts) {\n        return opts.initialNavigation === 'legacy_disabled' || opts.initialNavigation === false;\n    }\n}\nRouterInitializer.decorators = [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"] }\n];\n/** @nocollapse */\nRouterInitializer.ctorParameters = () => [\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injector\"] }\n];\nif (false) {}\n/**\n * @param {?} r\n * @return {?}\n */\nfunction getAppInitializer(r) {\n    return r.appInitializer.bind(r);\n}\n/**\n * @param {?} r\n * @return {?}\n */\nfunction getBootstrapListener(r) {\n    return r.bootstrapListener.bind(r);\n}\n/**\n * A [DI token](guide/glossary/#di-token) for the router initializer that\n * is called after the app is bootstrapped.\n *\n * \\@publicApi\n * @type {?}\n */\nconst ROUTER_INITIALIZER = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"InjectionToken\"]('Router Initializer');\n/**\n * @return {?}\n */\nfunction provideRouterInitializer() {\n    return [\n        RouterInitializer,\n        {\n            provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"APP_INITIALIZER\"],\n            multi: true,\n            useFactory: getAppInitializer,\n            deps: [RouterInitializer]\n        },\n        { provide: ROUTER_INITIALIZER, useFactory: getBootstrapListener, deps: [RouterInitializer] },\n        { provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"APP_BOOTSTRAP_LISTENER\"], multi: true, useExisting: ROUTER_INITIALIZER },\n    ];\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@publicApi\n * @type {?}\n */\nconst VERSION = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Version\"]('8.2.14');\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\n\n//# sourceMappingURL=router.js.map\n\n\n/***/ }),\n\n/***/ \"./node_modules/hammerjs/hammer.js\":\n/*!*****************************************!*\\\n  !*** ./node_modules/hammerjs/hammer.js ***!\n  \\*****************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar __WEBPACK_AMD_DEFINE_RESULT__;/*! Hammer.JS - v2.0.7 - 2016-04-22\n * http://hammerjs.github.io/\n *\n * Copyright (c) 2016 Jorik Tangelder;\n * Licensed under the MIT license */\n(function(window, document, exportName, undefined) {\n  'use strict';\n\nvar VENDOR_PREFIXES = ['', 'webkit', 'Moz', 'MS', 'ms', 'o'];\nvar TEST_ELEMENT = document.createElement('div');\n\nvar TYPE_FUNCTION = 'function';\n\nvar round = Math.round;\nvar abs = Math.abs;\nvar now = Date.now;\n\n/**\n * set a timeout with a given scope\n * @param {Function} fn\n * @param {Number} timeout\n * @param {Object} context\n * @returns {number}\n */\nfunction setTimeoutContext(fn, timeout, context) {\n    return setTimeout(bindFn(fn, context), timeout);\n}\n\n/**\n * if the argument is an array, we want to execute the fn on each entry\n * if it aint an array we don't want to do a thing.\n * this is used by all the methods that accept a single and array argument.\n * @param {*|Array} arg\n * @param {String} fn\n * @param {Object} [context]\n * @returns {Boolean}\n */\nfunction invokeArrayArg(arg, fn, context) {\n    if (Array.isArray(arg)) {\n        each(arg, context[fn], context);\n        return true;\n    }\n    return false;\n}\n\n/**\n * walk objects and arrays\n * @param {Object} obj\n * @param {Function} iterator\n * @param {Object} context\n */\nfunction each(obj, iterator, context) {\n    var i;\n\n    if (!obj) {\n        return;\n    }\n\n    if (obj.forEach) {\n        obj.forEach(iterator, context);\n    } else if (obj.length !== undefined) {\n        i = 0;\n        while (i < obj.length) {\n            iterator.call(context, obj[i], i, obj);\n            i++;\n        }\n    } else {\n        for (i in obj) {\n            obj.hasOwnProperty(i) && iterator.call(context, obj[i], i, obj);\n        }\n    }\n}\n\n/**\n * wrap a method with a deprecation warning and stack trace\n * @param {Function} method\n * @param {String} name\n * @param {String} message\n * @returns {Function} A new function wrapping the supplied method.\n */\nfunction deprecate(method, name, message) {\n    var deprecationMessage = 'DEPRECATED METHOD: ' + name + '\\n' + message + ' AT \\n';\n    return function() {\n        var e = new Error('get-stack-trace');\n        var stack = e && e.stack ? e.stack.replace(/^[^\\(]+?[\\n$]/gm, '')\n            .replace(/^\\s+at\\s+/gm, '')\n            .replace(/^Object.<anonymous>\\s*\\(/gm, '{anonymous}()@') : 'Unknown Stack Trace';\n\n        var log = window.console && (window.console.warn || window.console.log);\n        if (log) {\n            log.call(window.console, deprecationMessage, stack);\n        }\n        return method.apply(this, arguments);\n    };\n}\n\n/**\n * extend object.\n * means that properties in dest will be overwritten by the ones in src.\n * @param {Object} target\n * @param {...Object} objects_to_assign\n * @returns {Object} target\n */\nvar assign;\nif (typeof Object.assign !== 'function') {\n    assign = function assign(target) {\n        if (target === undefined || target === null) {\n            throw new TypeError('Cannot convert undefined or null to object');\n        }\n\n        var output = Object(target);\n        for (var index = 1; index < arguments.length; index++) {\n            var source = arguments[index];\n            if (source !== undefined && source !== null) {\n                for (var nextKey in source) {\n                    if (source.hasOwnProperty(nextKey)) {\n                        output[nextKey] = source[nextKey];\n                    }\n                }\n            }\n        }\n        return output;\n    };\n} else {\n    assign = Object.assign;\n}\n\n/**\n * extend object.\n * means that properties in dest will be overwritten by the ones in src.\n * @param {Object} dest\n * @param {Object} src\n * @param {Boolean} [merge=false]\n * @returns {Object} dest\n */\nvar extend = deprecate(function extend(dest, src, merge) {\n    var keys = Object.keys(src);\n    var i = 0;\n    while (i < keys.length) {\n        if (!merge || (merge && dest[keys[i]] === undefined)) {\n            dest[keys[i]] = src[keys[i]];\n        }\n        i++;\n    }\n    return dest;\n}, 'extend', 'Use `assign`.');\n\n/**\n * merge the values from src in the dest.\n * means that properties that exist in dest will not be overwritten by src\n * @param {Object} dest\n * @param {Object} src\n * @returns {Object} dest\n */\nvar merge = deprecate(function merge(dest, src) {\n    return extend(dest, src, true);\n}, 'merge', 'Use `assign`.');\n\n/**\n * simple class inheritance\n * @param {Function} child\n * @param {Function} base\n * @param {Object} [properties]\n */\nfunction inherit(child, base, properties) {\n    var baseP = base.prototype,\n        childP;\n\n    childP = child.prototype = Object.create(baseP);\n    childP.constructor = child;\n    childP._super = baseP;\n\n    if (properties) {\n        assign(childP, properties);\n    }\n}\n\n/**\n * simple function bind\n * @param {Function} fn\n * @param {Object} context\n * @returns {Function}\n */\nfunction bindFn(fn, context) {\n    return function boundFn() {\n        return fn.apply(context, arguments);\n    };\n}\n\n/**\n * let a boolean value also be a function that must return a boolean\n * this first item in args will be used as the context\n * @param {Boolean|Function} val\n * @param {Array} [args]\n * @returns {Boolean}\n */\nfunction boolOrFn(val, args) {\n    if (typeof val == TYPE_FUNCTION) {\n        return val.apply(args ? args[0] || undefined : undefined, args);\n    }\n    return val;\n}\n\n/**\n * use the val2 when val1 is undefined\n * @param {*} val1\n * @param {*} val2\n * @returns {*}\n */\nfunction ifUndefined(val1, val2) {\n    return (val1 === undefined) ? val2 : val1;\n}\n\n/**\n * addEventListener with multiple events at once\n * @param {EventTarget} target\n * @param {String} types\n * @param {Function} handler\n */\nfunction addEventListeners(target, types, handler) {\n    each(splitStr(types), function(type) {\n        target.addEventListener(type, handler, false);\n    });\n}\n\n/**\n * removeEventListener with multiple events at once\n * @param {EventTarget} target\n * @param {String} types\n * @param {Function} handler\n */\nfunction removeEventListeners(target, types, handler) {\n    each(splitStr(types), function(type) {\n        target.removeEventListener(type, handler, false);\n    });\n}\n\n/**\n * find if a node is in the given parent\n * @method hasParent\n * @param {HTMLElement} node\n * @param {HTMLElement} parent\n * @return {Boolean} found\n */\nfunction hasParent(node, parent) {\n    while (node) {\n        if (node == parent) {\n            return true;\n        }\n        node = node.parentNode;\n    }\n    return false;\n}\n\n/**\n * small indexOf wrapper\n * @param {String} str\n * @param {String} find\n * @returns {Boolean} found\n */\nfunction inStr(str, find) {\n    return str.indexOf(find) > -1;\n}\n\n/**\n * split string on whitespace\n * @param {String} str\n * @returns {Array} words\n */\nfunction splitStr(str) {\n    return str.trim().split(/\\s+/g);\n}\n\n/**\n * find if a array contains the object using indexOf or a simple polyFill\n * @param {Array} src\n * @param {String} find\n * @param {String} [findByKey]\n * @return {Boolean|Number} false when not found, or the index\n */\nfunction inArray(src, find, findByKey) {\n    if (src.indexOf && !findByKey) {\n        return src.indexOf(find);\n    } else {\n        var i = 0;\n        while (i < src.length) {\n            if ((findByKey && src[i][findByKey] == find) || (!findByKey && src[i] === find)) {\n                return i;\n            }\n            i++;\n        }\n        return -1;\n    }\n}\n\n/**\n * convert array-like objects to real arrays\n * @param {Object} obj\n * @returns {Array}\n */\nfunction toArray(obj) {\n    return Array.prototype.slice.call(obj, 0);\n}\n\n/**\n * unique array with objects based on a key (like 'id') or just by the array's value\n * @param {Array} src [{id:1},{id:2},{id:1}]\n * @param {String} [key]\n * @param {Boolean} [sort=False]\n * @returns {Array} [{id:1},{id:2}]\n */\nfunction uniqueArray(src, key, sort) {\n    var results = [];\n    var values = [];\n    var i = 0;\n\n    while (i < src.length) {\n        var val = key ? src[i][key] : src[i];\n        if (inArray(values, val) < 0) {\n            results.push(src[i]);\n        }\n        values[i] = val;\n        i++;\n    }\n\n    if (sort) {\n        if (!key) {\n            results = results.sort();\n        } else {\n            results = results.sort(function sortUniqueArray(a, b) {\n                return a[key] > b[key];\n            });\n        }\n    }\n\n    return results;\n}\n\n/**\n * get the prefixed property\n * @param {Object} obj\n * @param {String} property\n * @returns {String|Undefined} prefixed\n */\nfunction prefixed(obj, property) {\n    var prefix, prop;\n    var camelProp = property[0].toUpperCase() + property.slice(1);\n\n    var i = 0;\n    while (i < VENDOR_PREFIXES.length) {\n        prefix = VENDOR_PREFIXES[i];\n        prop = (prefix) ? prefix + camelProp : property;\n\n        if (prop in obj) {\n            return prop;\n        }\n        i++;\n    }\n    return undefined;\n}\n\n/**\n * get a unique id\n * @returns {number} uniqueId\n */\nvar _uniqueId = 1;\nfunction uniqueId() {\n    return _uniqueId++;\n}\n\n/**\n * get the window object of an element\n * @param {HTMLElement} element\n * @returns {DocumentView|Window}\n */\nfunction getWindowForElement(element) {\n    var doc = element.ownerDocument || element;\n    return (doc.defaultView || doc.parentWindow || window);\n}\n\nvar MOBILE_REGEX = /mobile|tablet|ip(ad|hone|od)|android/i;\n\nvar SUPPORT_TOUCH = ('ontouchstart' in window);\nvar SUPPORT_POINTER_EVENTS = prefixed(window, 'PointerEvent') !== undefined;\nvar SUPPORT_ONLY_TOUCH = SUPPORT_TOUCH && MOBILE_REGEX.test(navigator.userAgent);\n\nvar INPUT_TYPE_TOUCH = 'touch';\nvar INPUT_TYPE_PEN = 'pen';\nvar INPUT_TYPE_MOUSE = 'mouse';\nvar INPUT_TYPE_KINECT = 'kinect';\n\nvar COMPUTE_INTERVAL = 25;\n\nvar INPUT_START = 1;\nvar INPUT_MOVE = 2;\nvar INPUT_END = 4;\nvar INPUT_CANCEL = 8;\n\nvar DIRECTION_NONE = 1;\nvar DIRECTION_LEFT = 2;\nvar DIRECTION_RIGHT = 4;\nvar DIRECTION_UP = 8;\nvar DIRECTION_DOWN = 16;\n\nvar DIRECTION_HORIZONTAL = DIRECTION_LEFT | DIRECTION_RIGHT;\nvar DIRECTION_VERTICAL = DIRECTION_UP | DIRECTION_DOWN;\nvar DIRECTION_ALL = DIRECTION_HORIZONTAL | DIRECTION_VERTICAL;\n\nvar PROPS_XY = ['x', 'y'];\nvar PROPS_CLIENT_XY = ['clientX', 'clientY'];\n\n/**\n * create new input type manager\n * @param {Manager} manager\n * @param {Function} callback\n * @returns {Input}\n * @constructor\n */\nfunction Input(manager, callback) {\n    var self = this;\n    this.manager = manager;\n    this.callback = callback;\n    this.element = manager.element;\n    this.target = manager.options.inputTarget;\n\n    // smaller wrapper around the handler, for the scope and the enabled state of the manager,\n    // so when disabled the input events are completely bypassed.\n    this.domHandler = function(ev) {\n        if (boolOrFn(manager.options.enable, [manager])) {\n            self.handler(ev);\n        }\n    };\n\n    this.init();\n\n}\n\nInput.prototype = {\n    /**\n     * should handle the inputEvent data and trigger the callback\n     * @virtual\n     */\n    handler: function() { },\n\n    /**\n     * bind the events\n     */\n    init: function() {\n        this.evEl && addEventListeners(this.element, this.evEl, this.domHandler);\n        this.evTarget && addEventListeners(this.target, this.evTarget, this.domHandler);\n        this.evWin && addEventListeners(getWindowForElement(this.element), this.evWin, this.domHandler);\n    },\n\n    /**\n     * unbind the events\n     */\n    destroy: function() {\n        this.evEl && removeEventListeners(this.element, this.evEl, this.domHandler);\n        this.evTarget && removeEventListeners(this.target, this.evTarget, this.domHandler);\n        this.evWin && removeEventListeners(getWindowForElement(this.element), this.evWin, this.domHandler);\n    }\n};\n\n/**\n * create new input type manager\n * called by the Manager constructor\n * @param {Hammer} manager\n * @returns {Input}\n */\nfunction createInputInstance(manager) {\n    var Type;\n    var inputClass = manager.options.inputClass;\n\n    if (inputClass) {\n        Type = inputClass;\n    } else if (SUPPORT_POINTER_EVENTS) {\n        Type = PointerEventInput;\n    } else if (SUPPORT_ONLY_TOUCH) {\n        Type = TouchInput;\n    } else if (!SUPPORT_TOUCH) {\n        Type = MouseInput;\n    } else {\n        Type = TouchMouseInput;\n    }\n    return new (Type)(manager, inputHandler);\n}\n\n/**\n * handle input events\n * @param {Manager} manager\n * @param {String} eventType\n * @param {Object} input\n */\nfunction inputHandler(manager, eventType, input) {\n    var pointersLen = input.pointers.length;\n    var changedPointersLen = input.changedPointers.length;\n    var isFirst = (eventType & INPUT_START && (pointersLen - changedPointersLen === 0));\n    var isFinal = (eventType & (INPUT_END | INPUT_CANCEL) && (pointersLen - changedPointersLen === 0));\n\n    input.isFirst = !!isFirst;\n    input.isFinal = !!isFinal;\n\n    if (isFirst) {\n        manager.session = {};\n    }\n\n    // source event is the normalized value of the domEvents\n    // like 'touchstart, mouseup, pointerdown'\n    input.eventType = eventType;\n\n    // compute scale, rotation etc\n    computeInputData(manager, input);\n\n    // emit secret event\n    manager.emit('hammer.input', input);\n\n    manager.recognize(input);\n    manager.session.prevInput = input;\n}\n\n/**\n * extend the data with some usable properties like scale, rotate, velocity etc\n * @param {Object} manager\n * @param {Object} input\n */\nfunction computeInputData(manager, input) {\n    var session = manager.session;\n    var pointers = input.pointers;\n    var pointersLength = pointers.length;\n\n    // store the first input to calculate the distance and direction\n    if (!session.firstInput) {\n        session.firstInput = simpleCloneInputData(input);\n    }\n\n    // to compute scale and rotation we need to store the multiple touches\n    if (pointersLength > 1 && !session.firstMultiple) {\n        session.firstMultiple = simpleCloneInputData(input);\n    } else if (pointersLength === 1) {\n        session.firstMultiple = false;\n    }\n\n    var firstInput = session.firstInput;\n    var firstMultiple = session.firstMultiple;\n    var offsetCenter = firstMultiple ? firstMultiple.center : firstInput.center;\n\n    var center = input.center = getCenter(pointers);\n    input.timeStamp = now();\n    input.deltaTime = input.timeStamp - firstInput.timeStamp;\n\n    input.angle = getAngle(offsetCenter, center);\n    input.distance = getDistance(offsetCenter, center);\n\n    computeDeltaXY(session, input);\n    input.offsetDirection = getDirection(input.deltaX, input.deltaY);\n\n    var overallVelocity = getVelocity(input.deltaTime, input.deltaX, input.deltaY);\n    input.overallVelocityX = overallVelocity.x;\n    input.overallVelocityY = overallVelocity.y;\n    input.overallVelocity = (abs(overallVelocity.x) > abs(overallVelocity.y)) ? overallVelocity.x : overallVelocity.y;\n\n    input.scale = firstMultiple ? getScale(firstMultiple.pointers, pointers) : 1;\n    input.rotation = firstMultiple ? getRotation(firstMultiple.pointers, pointers) : 0;\n\n    input.maxPointers = !session.prevInput ? input.pointers.length : ((input.pointers.length >\n        session.prevInput.maxPointers) ? input.pointers.length : session.prevInput.maxPointers);\n\n    computeIntervalInputData(session, input);\n\n    // find the correct target\n    var target = manager.element;\n    if (hasParent(input.srcEvent.target, target)) {\n        target = input.srcEvent.target;\n    }\n    input.target = target;\n}\n\nfunction computeDeltaXY(session, input) {\n    var center = input.center;\n    var offset = session.offsetDelta || {};\n    var prevDelta = session.prevDelta || {};\n    var prevInput = session.prevInput || {};\n\n    if (input.eventType === INPUT_START || prevInput.eventType === INPUT_END) {\n        prevDelta = session.prevDelta = {\n            x: prevInput.deltaX || 0,\n            y: prevInput.deltaY || 0\n        };\n\n        offset = session.offsetDelta = {\n            x: center.x,\n            y: center.y\n        };\n    }\n\n    input.deltaX = prevDelta.x + (center.x - offset.x);\n    input.deltaY = prevDelta.y + (center.y - offset.y);\n}\n\n/**\n * velocity is calculated every x ms\n * @param {Object} session\n * @param {Object} input\n */\nfunction computeIntervalInputData(session, input) {\n    var last = session.lastInterval || input,\n        deltaTime = input.timeStamp - last.timeStamp,\n        velocity, velocityX, velocityY, direction;\n\n    if (input.eventType != INPUT_CANCEL && (deltaTime > COMPUTE_INTERVAL || last.velocity === undefined)) {\n        var deltaX = input.deltaX - last.deltaX;\n        var deltaY = input.deltaY - last.deltaY;\n\n        var v = getVelocity(deltaTime, deltaX, deltaY);\n        velocityX = v.x;\n        velocityY = v.y;\n        velocity = (abs(v.x) > abs(v.y)) ? v.x : v.y;\n        direction = getDirection(deltaX, deltaY);\n\n        session.lastInterval = input;\n    } else {\n        // use latest velocity info if it doesn't overtake a minimum period\n        velocity = last.velocity;\n        velocityX = last.velocityX;\n        velocityY = last.velocityY;\n        direction = last.direction;\n    }\n\n    input.velocity = velocity;\n    input.velocityX = velocityX;\n    input.velocityY = velocityY;\n    input.direction = direction;\n}\n\n/**\n * create a simple clone from the input used for storage of firstInput and firstMultiple\n * @param {Object} input\n * @returns {Object} clonedInputData\n */\nfunction simpleCloneInputData(input) {\n    // make a simple copy of the pointers because we will get a reference if we don't\n    // we only need clientXY for the calculations\n    var pointers = [];\n    var i = 0;\n    while (i < input.pointers.length) {\n        pointers[i] = {\n            clientX: round(input.pointers[i].clientX),\n            clientY: round(input.pointers[i].clientY)\n        };\n        i++;\n    }\n\n    return {\n        timeStamp: now(),\n        pointers: pointers,\n        center: getCenter(pointers),\n        deltaX: input.deltaX,\n        deltaY: input.deltaY\n    };\n}\n\n/**\n * get the center of all the pointers\n * @param {Array} pointers\n * @return {Object} center contains `x` and `y` properties\n */\nfunction getCenter(pointers) {\n    var pointersLength = pointers.length;\n\n    // no need to loop when only one touch\n    if (pointersLength === 1) {\n        return {\n            x: round(pointers[0].clientX),\n            y: round(pointers[0].clientY)\n        };\n    }\n\n    var x = 0, y = 0, i = 0;\n    while (i < pointersLength) {\n        x += pointers[i].clientX;\n        y += pointers[i].clientY;\n        i++;\n    }\n\n    return {\n        x: round(x / pointersLength),\n        y: round(y / pointersLength)\n    };\n}\n\n/**\n * calculate the velocity between two points. unit is in px per ms.\n * @param {Number} deltaTime\n * @param {Number} x\n * @param {Number} y\n * @return {Object} velocity `x` and `y`\n */\nfunction getVelocity(deltaTime, x, y) {\n    return {\n        x: x / deltaTime || 0,\n        y: y / deltaTime || 0\n    };\n}\n\n/**\n * get the direction between two points\n * @param {Number} x\n * @param {Number} y\n * @return {Number} direction\n */\nfunction getDirection(x, y) {\n    if (x === y) {\n        return DIRECTION_NONE;\n    }\n\n    if (abs(x) >= abs(y)) {\n        return x < 0 ? DIRECTION_LEFT : DIRECTION_RIGHT;\n    }\n    return y < 0 ? DIRECTION_UP : DIRECTION_DOWN;\n}\n\n/**\n * calculate the absolute distance between two points\n * @param {Object} p1 {x, y}\n * @param {Object} p2 {x, y}\n * @param {Array} [props] containing x and y keys\n * @return {Number} distance\n */\nfunction getDistance(p1, p2, props) {\n    if (!props) {\n        props = PROPS_XY;\n    }\n    var x = p2[props[0]] - p1[props[0]],\n        y = p2[props[1]] - p1[props[1]];\n\n    return Math.sqrt((x * x) + (y * y));\n}\n\n/**\n * calculate the angle between two coordinates\n * @param {Object} p1\n * @param {Object} p2\n * @param {Array} [props] containing x and y keys\n * @return {Number} angle\n */\nfunction getAngle(p1, p2, props) {\n    if (!props) {\n        props = PROPS_XY;\n    }\n    var x = p2[props[0]] - p1[props[0]],\n        y = p2[props[1]] - p1[props[1]];\n    return Math.atan2(y, x) * 180 / Math.PI;\n}\n\n/**\n * calculate the rotation degrees between two pointersets\n * @param {Array} start array of pointers\n * @param {Array} end array of pointers\n * @return {Number} rotation\n */\nfunction getRotation(start, end) {\n    return getAngle(end[1], end[0], PROPS_CLIENT_XY) + getAngle(start[1], start[0], PROPS_CLIENT_XY);\n}\n\n/**\n * calculate the scale factor between two pointersets\n * no scale is 1, and goes down to 0 when pinched together, and bigger when pinched out\n * @param {Array} start array of pointers\n * @param {Array} end array of pointers\n * @return {Number} scale\n */\nfunction getScale(start, end) {\n    return getDistance(end[0], end[1], PROPS_CLIENT_XY) / getDistance(start[0], start[1], PROPS_CLIENT_XY);\n}\n\nvar MOUSE_INPUT_MAP = {\n    mousedown: INPUT_START,\n    mousemove: INPUT_MOVE,\n    mouseup: INPUT_END\n};\n\nvar MOUSE_ELEMENT_EVENTS = 'mousedown';\nvar MOUSE_WINDOW_EVENTS = 'mousemove mouseup';\n\n/**\n * Mouse events input\n * @constructor\n * @extends Input\n */\nfunction MouseInput() {\n    this.evEl = MOUSE_ELEMENT_EVENTS;\n    this.evWin = MOUSE_WINDOW_EVENTS;\n\n    this.pressed = false; // mousedown state\n\n    Input.apply(this, arguments);\n}\n\ninherit(MouseInput, Input, {\n    /**\n     * handle mouse events\n     * @param {Object} ev\n     */\n    handler: function MEhandler(ev) {\n        var eventType = MOUSE_INPUT_MAP[ev.type];\n\n        // on start we want to have the left mouse button down\n        if (eventType & INPUT_START && ev.button === 0) {\n            this.pressed = true;\n        }\n\n        if (eventType & INPUT_MOVE && ev.which !== 1) {\n            eventType = INPUT_END;\n        }\n\n        // mouse must be down\n        if (!this.pressed) {\n            return;\n        }\n\n        if (eventType & INPUT_END) {\n            this.pressed = false;\n        }\n\n        this.callback(this.manager, eventType, {\n            pointers: [ev],\n            changedPointers: [ev],\n            pointerType: INPUT_TYPE_MOUSE,\n            srcEvent: ev\n        });\n    }\n});\n\nvar POINTER_INPUT_MAP = {\n    pointerdown: INPUT_START,\n    pointermove: INPUT_MOVE,\n    pointerup: INPUT_END,\n    pointercancel: INPUT_CANCEL,\n    pointerout: INPUT_CANCEL\n};\n\n// in IE10 the pointer types is defined as an enum\nvar IE10_POINTER_TYPE_ENUM = {\n    2: INPUT_TYPE_TOUCH,\n    3: INPUT_TYPE_PEN,\n    4: INPUT_TYPE_MOUSE,\n    5: INPUT_TYPE_KINECT // see https://twitter.com/jacobrossi/status/480596438489890816\n};\n\nvar POINTER_ELEMENT_EVENTS = 'pointerdown';\nvar POINTER_WINDOW_EVENTS = 'pointermove pointerup pointercancel';\n\n// IE10 has prefixed support, and case-sensitive\nif (window.MSPointerEvent && !window.PointerEvent) {\n    POINTER_ELEMENT_EVENTS = 'MSPointerDown';\n    POINTER_WINDOW_EVENTS = 'MSPointerMove MSPointerUp MSPointerCancel';\n}\n\n/**\n * Pointer events input\n * @constructor\n * @extends Input\n */\nfunction PointerEventInput() {\n    this.evEl = POINTER_ELEMENT_EVENTS;\n    this.evWin = POINTER_WINDOW_EVENTS;\n\n    Input.apply(this, arguments);\n\n    this.store = (this.manager.session.pointerEvents = []);\n}\n\ninherit(PointerEventInput, Input, {\n    /**\n     * handle mouse events\n     * @param {Object} ev\n     */\n    handler: function PEhandler(ev) {\n        var store = this.store;\n        var removePointer = false;\n\n        var eventTypeNormalized = ev.type.toLowerCase().replace('ms', '');\n        var eventType = POINTER_INPUT_MAP[eventTypeNormalized];\n        var pointerType = IE10_POINTER_TYPE_ENUM[ev.pointerType] || ev.pointerType;\n\n        var isTouch = (pointerType == INPUT_TYPE_TOUCH);\n\n        // get index of the event in the store\n        var storeIndex = inArray(store, ev.pointerId, 'pointerId');\n\n        // start and mouse must be down\n        if (eventType & INPUT_START && (ev.button === 0 || isTouch)) {\n            if (storeIndex < 0) {\n                store.push(ev);\n                storeIndex = store.length - 1;\n            }\n        } else if (eventType & (INPUT_END | INPUT_CANCEL)) {\n            removePointer = true;\n        }\n\n        // it not found, so the pointer hasn't been down (so it's probably a hover)\n        if (storeIndex < 0) {\n            return;\n        }\n\n        // update the event in the store\n        store[storeIndex] = ev;\n\n        this.callback(this.manager, eventType, {\n            pointers: store,\n            changedPointers: [ev],\n            pointerType: pointerType,\n            srcEvent: ev\n        });\n\n        if (removePointer) {\n            // remove from the store\n            store.splice(storeIndex, 1);\n        }\n    }\n});\n\nvar SINGLE_TOUCH_INPUT_MAP = {\n    touchstart: INPUT_START,\n    touchmove: INPUT_MOVE,\n    touchend: INPUT_END,\n    touchcancel: INPUT_CANCEL\n};\n\nvar SINGLE_TOUCH_TARGET_EVENTS = 'touchstart';\nvar SINGLE_TOUCH_WINDOW_EVENTS = 'touchstart touchmove touchend touchcancel';\n\n/**\n * Touch events input\n * @constructor\n * @extends Input\n */\nfunction SingleTouchInput() {\n    this.evTarget = SINGLE_TOUCH_TARGET_EVENTS;\n    this.evWin = SINGLE_TOUCH_WINDOW_EVENTS;\n    this.started = false;\n\n    Input.apply(this, arguments);\n}\n\ninherit(SingleTouchInput, Input, {\n    handler: function TEhandler(ev) {\n        var type = SINGLE_TOUCH_INPUT_MAP[ev.type];\n\n        // should we handle the touch events?\n        if (type === INPUT_START) {\n            this.started = true;\n        }\n\n        if (!this.started) {\n            return;\n        }\n\n        var touches = normalizeSingleTouches.call(this, ev, type);\n\n        // when done, reset the started state\n        if (type & (INPUT_END | INPUT_CANCEL) && touches[0].length - touches[1].length === 0) {\n            this.started = false;\n        }\n\n        this.callback(this.manager, type, {\n            pointers: touches[0],\n            changedPointers: touches[1],\n            pointerType: INPUT_TYPE_TOUCH,\n            srcEvent: ev\n        });\n    }\n});\n\n/**\n * @this {TouchInput}\n * @param {Object} ev\n * @param {Number} type flag\n * @returns {undefined|Array} [all, changed]\n */\nfunction normalizeSingleTouches(ev, type) {\n    var all = toArray(ev.touches);\n    var changed = toArray(ev.changedTouches);\n\n    if (type & (INPUT_END | INPUT_CANCEL)) {\n        all = uniqueArray(all.concat(changed), 'identifier', true);\n    }\n\n    return [all, changed];\n}\n\nvar TOUCH_INPUT_MAP = {\n    touchstart: INPUT_START,\n    touchmove: INPUT_MOVE,\n    touchend: INPUT_END,\n    touchcancel: INPUT_CANCEL\n};\n\nvar TOUCH_TARGET_EVENTS = 'touchstart touchmove touchend touchcancel';\n\n/**\n * Multi-user touch events input\n * @constructor\n * @extends Input\n */\nfunction TouchInput() {\n    this.evTarget = TOUCH_TARGET_EVENTS;\n    this.targetIds = {};\n\n    Input.apply(this, arguments);\n}\n\ninherit(TouchInput, Input, {\n    handler: function MTEhandler(ev) {\n        var type = TOUCH_INPUT_MAP[ev.type];\n        var touches = getTouches.call(this, ev, type);\n        if (!touches) {\n            return;\n        }\n\n        this.callback(this.manager, type, {\n            pointers: touches[0],\n            changedPointers: touches[1],\n            pointerType: INPUT_TYPE_TOUCH,\n            srcEvent: ev\n        });\n    }\n});\n\n/**\n * @this {TouchInput}\n * @param {Object} ev\n * @param {Number} type flag\n * @returns {undefined|Array} [all, changed]\n */\nfunction getTouches(ev, type) {\n    var allTouches = toArray(ev.touches);\n    var targetIds = this.targetIds;\n\n    // when there is only one touch, the process can be simplified\n    if (type & (INPUT_START | INPUT_MOVE) && allTouches.length === 1) {\n        targetIds[allTouches[0].identifier] = true;\n        return [allTouches, allTouches];\n    }\n\n    var i,\n        targetTouches,\n        changedTouches = toArray(ev.changedTouches),\n        changedTargetTouches = [],\n        target = this.target;\n\n    // get target touches from touches\n    targetTouches = allTouches.filter(function(touch) {\n        return hasParent(touch.target, target);\n    });\n\n    // collect touches\n    if (type === INPUT_START) {\n        i = 0;\n        while (i < targetTouches.length) {\n            targetIds[targetTouches[i].identifier] = true;\n            i++;\n        }\n    }\n\n    // filter changed touches to only contain touches that exist in the collected target ids\n    i = 0;\n    while (i < changedTouches.length) {\n        if (targetIds[changedTouches[i].identifier]) {\n            changedTargetTouches.push(changedTouches[i]);\n        }\n\n        // cleanup removed touches\n        if (type & (INPUT_END | INPUT_CANCEL)) {\n            delete targetIds[changedTouches[i].identifier];\n        }\n        i++;\n    }\n\n    if (!changedTargetTouches.length) {\n        return;\n    }\n\n    return [\n        // merge targetTouches with changedTargetTouches so it contains ALL touches, including 'end' and 'cancel'\n        uniqueArray(targetTouches.concat(changedTargetTouches), 'identifier', true),\n        changedTargetTouches\n    ];\n}\n\n/**\n * Combined touch and mouse input\n *\n * Touch has a higher priority then mouse, and while touching no mouse events are allowed.\n * This because touch devices also emit mouse events while doing a touch.\n *\n * @constructor\n * @extends Input\n */\n\nvar DEDUP_TIMEOUT = 2500;\nvar DEDUP_DISTANCE = 25;\n\nfunction TouchMouseInput() {\n    Input.apply(this, arguments);\n\n    var handler = bindFn(this.handler, this);\n    this.touch = new TouchInput(this.manager, handler);\n    this.mouse = new MouseInput(this.manager, handler);\n\n    this.primaryTouch = null;\n    this.lastTouches = [];\n}\n\ninherit(TouchMouseInput, Input, {\n    /**\n     * handle mouse and touch events\n     * @param {Hammer} manager\n     * @param {String} inputEvent\n     * @param {Object} inputData\n     */\n    handler: function TMEhandler(manager, inputEvent, inputData) {\n        var isTouch = (inputData.pointerType == INPUT_TYPE_TOUCH),\n            isMouse = (inputData.pointerType == INPUT_TYPE_MOUSE);\n\n        if (isMouse && inputData.sourceCapabilities && inputData.sourceCapabilities.firesTouchEvents) {\n            return;\n        }\n\n        // when we're in a touch event, record touches to  de-dupe synthetic mouse event\n        if (isTouch) {\n            recordTouches.call(this, inputEvent, inputData);\n        } else if (isMouse && isSyntheticEvent.call(this, inputData)) {\n            return;\n        }\n\n        this.callback(manager, inputEvent, inputData);\n    },\n\n    /**\n     * remove the event listeners\n     */\n    destroy: function destroy() {\n        this.touch.destroy();\n        this.mouse.destroy();\n    }\n});\n\nfunction recordTouches(eventType, eventData) {\n    if (eventType & INPUT_START) {\n        this.primaryTouch = eventData.changedPointers[0].identifier;\n        setLastTouch.call(this, eventData);\n    } else if (eventType & (INPUT_END | INPUT_CANCEL)) {\n        setLastTouch.call(this, eventData);\n    }\n}\n\nfunction setLastTouch(eventData) {\n    var touch = eventData.changedPointers[0];\n\n    if (touch.identifier === this.primaryTouch) {\n        var lastTouch = {x: touch.clientX, y: touch.clientY};\n        this.lastTouches.push(lastTouch);\n        var lts = this.lastTouches;\n        var removeLastTouch = function() {\n            var i = lts.indexOf(lastTouch);\n            if (i > -1) {\n                lts.splice(i, 1);\n            }\n        };\n        setTimeout(removeLastTouch, DEDUP_TIMEOUT);\n    }\n}\n\nfunction isSyntheticEvent(eventData) {\n    var x = eventData.srcEvent.clientX, y = eventData.srcEvent.clientY;\n    for (var i = 0; i < this.lastTouches.length; i++) {\n        var t = this.lastTouches[i];\n        var dx = Math.abs(x - t.x), dy = Math.abs(y - t.y);\n        if (dx <= DEDUP_DISTANCE && dy <= DEDUP_DISTANCE) {\n            return true;\n        }\n    }\n    return false;\n}\n\nvar PREFIXED_TOUCH_ACTION = prefixed(TEST_ELEMENT.style, 'touchAction');\nvar NATIVE_TOUCH_ACTION = PREFIXED_TOUCH_ACTION !== undefined;\n\n// magical touchAction value\nvar TOUCH_ACTION_COMPUTE = 'compute';\nvar TOUCH_ACTION_AUTO = 'auto';\nvar TOUCH_ACTION_MANIPULATION = 'manipulation'; // not implemented\nvar TOUCH_ACTION_NONE = 'none';\nvar TOUCH_ACTION_PAN_X = 'pan-x';\nvar TOUCH_ACTION_PAN_Y = 'pan-y';\nvar TOUCH_ACTION_MAP = getTouchActionProps();\n\n/**\n * Touch Action\n * sets the touchAction property or uses the js alternative\n * @param {Manager} manager\n * @param {String} value\n * @constructor\n */\nfunction TouchAction(manager, value) {\n    this.manager = manager;\n    this.set(value);\n}\n\nTouchAction.prototype = {\n    /**\n     * set the touchAction value on the element or enable the polyfill\n     * @param {String} value\n     */\n    set: function(value) {\n        // find out the touch-action by the event handlers\n        if (value == TOUCH_ACTION_COMPUTE) {\n            value = this.compute();\n        }\n\n        if (NATIVE_TOUCH_ACTION && this.manager.element.style && TOUCH_ACTION_MAP[value]) {\n            this.manager.element.style[PREFIXED_TOUCH_ACTION] = value;\n        }\n        this.actions = value.toLowerCase().trim();\n    },\n\n    /**\n     * just re-set the touchAction value\n     */\n    update: function() {\n        this.set(this.manager.options.touchAction);\n    },\n\n    /**\n     * compute the value for the touchAction property based on the recognizer's settings\n     * @returns {String} value\n     */\n    compute: function() {\n        var actions = [];\n        each(this.manager.recognizers, function(recognizer) {\n            if (boolOrFn(recognizer.options.enable, [recognizer])) {\n                actions = actions.concat(recognizer.getTouchAction());\n            }\n        });\n        return cleanTouchActions(actions.join(' '));\n    },\n\n    /**\n     * this method is called on each input cycle and provides the preventing of the browser behavior\n     * @param {Object} input\n     */\n    preventDefaults: function(input) {\n        var srcEvent = input.srcEvent;\n        var direction = input.offsetDirection;\n\n        // if the touch action did prevented once this session\n        if (this.manager.session.prevented) {\n            srcEvent.preventDefault();\n            return;\n        }\n\n        var actions = this.actions;\n        var hasNone = inStr(actions, TOUCH_ACTION_NONE) && !TOUCH_ACTION_MAP[TOUCH_ACTION_NONE];\n        var hasPanY = inStr(actions, TOUCH_ACTION_PAN_Y) && !TOUCH_ACTION_MAP[TOUCH_ACTION_PAN_Y];\n        var hasPanX = inStr(actions, TOUCH_ACTION_PAN_X) && !TOUCH_ACTION_MAP[TOUCH_ACTION_PAN_X];\n\n        if (hasNone) {\n            //do not prevent defaults if this is a tap gesture\n\n            var isTapPointer = input.pointers.length === 1;\n            var isTapMovement = input.distance < 2;\n            var isTapTouchTime = input.deltaTime < 250;\n\n            if (isTapPointer && isTapMovement && isTapTouchTime) {\n                return;\n            }\n        }\n\n        if (hasPanX && hasPanY) {\n            // `pan-x pan-y` means browser handles all scrolling/panning, do not prevent\n            return;\n        }\n\n        if (hasNone ||\n            (hasPanY && direction & DIRECTION_HORIZONTAL) ||\n            (hasPanX && direction & DIRECTION_VERTICAL)) {\n            return this.preventSrc(srcEvent);\n        }\n    },\n\n    /**\n     * call preventDefault to prevent the browser's default behavior (scrolling in most cases)\n     * @param {Object} srcEvent\n     */\n    preventSrc: function(srcEvent) {\n        this.manager.session.prevented = true;\n        srcEvent.preventDefault();\n    }\n};\n\n/**\n * when the touchActions are collected they are not a valid value, so we need to clean things up. *\n * @param {String} actions\n * @returns {*}\n */\nfunction cleanTouchActions(actions) {\n    // none\n    if (inStr(actions, TOUCH_ACTION_NONE)) {\n        return TOUCH_ACTION_NONE;\n    }\n\n    var hasPanX = inStr(actions, TOUCH_ACTION_PAN_X);\n    var hasPanY = inStr(actions, TOUCH_ACTION_PAN_Y);\n\n    // if both pan-x and pan-y are set (different recognizers\n    // for different directions, e.g. horizontal pan but vertical swipe?)\n    // we need none (as otherwise with pan-x pan-y combined none of these\n    // recognizers will work, since the browser would handle all panning\n    if (hasPanX && hasPanY) {\n        return TOUCH_ACTION_NONE;\n    }\n\n    // pan-x OR pan-y\n    if (hasPanX || hasPanY) {\n        return hasPanX ? TOUCH_ACTION_PAN_X : TOUCH_ACTION_PAN_Y;\n    }\n\n    // manipulation\n    if (inStr(actions, TOUCH_ACTION_MANIPULATION)) {\n        return TOUCH_ACTION_MANIPULATION;\n    }\n\n    return TOUCH_ACTION_AUTO;\n}\n\nfunction getTouchActionProps() {\n    if (!NATIVE_TOUCH_ACTION) {\n        return false;\n    }\n    var touchMap = {};\n    var cssSupports = window.CSS && window.CSS.supports;\n    ['auto', 'manipulation', 'pan-y', 'pan-x', 'pan-x pan-y', 'none'].forEach(function(val) {\n\n        // If css.supports is not supported but there is native touch-action assume it supports\n        // all values. This is the case for IE 10 and 11.\n        touchMap[val] = cssSupports ? window.CSS.supports('touch-action', val) : true;\n    });\n    return touchMap;\n}\n\n/**\n * Recognizer flow explained; *\n * All recognizers have the initial state of POSSIBLE when a input session starts.\n * The definition of a input session is from the first input until the last input, with all it's movement in it. *\n * Example session for mouse-input: mousedown -> mousemove -> mouseup\n *\n * On each recognizing cycle (see Manager.recognize) the .recognize() method is executed\n * which determines with state it should be.\n *\n * If the recognizer has the state FAILED, CANCELLED or RECOGNIZED (equals ENDED), it is reset to\n * POSSIBLE to give it another change on the next cycle.\n *\n *               Possible\n *                  |\n *            +-----+---------------+\n *            |                     |\n *      +-----+-----+               |\n *      |           |               |\n *   Failed      Cancelled          |\n *                          +-------+------+\n *                          |              |\n *                      Recognized       Began\n *                                         |\n *                                      Changed\n *                                         |\n *                                  Ended/Recognized\n */\nvar STATE_POSSIBLE = 1;\nvar STATE_BEGAN = 2;\nvar STATE_CHANGED = 4;\nvar STATE_ENDED = 8;\nvar STATE_RECOGNIZED = STATE_ENDED;\nvar STATE_CANCELLED = 16;\nvar STATE_FAILED = 32;\n\n/**\n * Recognizer\n * Every recognizer needs to extend from this class.\n * @constructor\n * @param {Object} options\n */\nfunction Recognizer(options) {\n    this.options = assign({}, this.defaults, options || {});\n\n    this.id = uniqueId();\n\n    this.manager = null;\n\n    // default is enable true\n    this.options.enable = ifUndefined(this.options.enable, true);\n\n    this.state = STATE_POSSIBLE;\n\n    this.simultaneous = {};\n    this.requireFail = [];\n}\n\nRecognizer.prototype = {\n    /**\n     * @virtual\n     * @type {Object}\n     */\n    defaults: {},\n\n    /**\n     * set options\n     * @param {Object} options\n     * @return {Recognizer}\n     */\n    set: function(options) {\n        assign(this.options, options);\n\n        // also update the touchAction, in case something changed about the directions/enabled state\n        this.manager && this.manager.touchAction.update();\n        return this;\n    },\n\n    /**\n     * recognize simultaneous with an other recognizer.\n     * @param {Recognizer} otherRecognizer\n     * @returns {Recognizer} this\n     */\n    recognizeWith: function(otherRecognizer) {\n        if (invokeArrayArg(otherRecognizer, 'recognizeWith', this)) {\n            return this;\n        }\n\n        var simultaneous = this.simultaneous;\n        otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this);\n        if (!simultaneous[otherRecognizer.id]) {\n            simultaneous[otherRecognizer.id] = otherRecognizer;\n            otherRecognizer.recognizeWith(this);\n        }\n        return this;\n    },\n\n    /**\n     * drop the simultaneous link. it doesnt remove the link on the other recognizer.\n     * @param {Recognizer} otherRecognizer\n     * @returns {Recognizer} this\n     */\n    dropRecognizeWith: function(otherRecognizer) {\n        if (invokeArrayArg(otherRecognizer, 'dropRecognizeWith', this)) {\n            return this;\n        }\n\n        otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this);\n        delete this.simultaneous[otherRecognizer.id];\n        return this;\n    },\n\n    /**\n     * recognizer can only run when an other is failing\n     * @param {Recognizer} otherRecognizer\n     * @returns {Recognizer} this\n     */\n    requireFailure: function(otherRecognizer) {\n        if (invokeArrayArg(otherRecognizer, 'requireFailure', this)) {\n            return this;\n        }\n\n        var requireFail = this.requireFail;\n        otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this);\n        if (inArray(requireFail, otherRecognizer) === -1) {\n            requireFail.push(otherRecognizer);\n            otherRecognizer.requireFailure(this);\n        }\n        return this;\n    },\n\n    /**\n     * drop the requireFailure link. it does not remove the link on the other recognizer.\n     * @param {Recognizer} otherRecognizer\n     * @returns {Recognizer} this\n     */\n    dropRequireFailure: function(otherRecognizer) {\n        if (invokeArrayArg(otherRecognizer, 'dropRequireFailure', this)) {\n            return this;\n        }\n\n        otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this);\n        var index = inArray(this.requireFail, otherRecognizer);\n        if (index > -1) {\n            this.requireFail.splice(index, 1);\n        }\n        return this;\n    },\n\n    /**\n     * has require failures boolean\n     * @returns {boolean}\n     */\n    hasRequireFailures: function() {\n        return this.requireFail.length > 0;\n    },\n\n    /**\n     * if the recognizer can recognize simultaneous with an other recognizer\n     * @param {Recognizer} otherRecognizer\n     * @returns {Boolean}\n     */\n    canRecognizeWith: function(otherRecognizer) {\n        return !!this.simultaneous[otherRecognizer.id];\n    },\n\n    /**\n     * You should use `tryEmit` instead of `emit` directly to check\n     * that all the needed recognizers has failed before emitting.\n     * @param {Object} input\n     */\n    emit: function(input) {\n        var self = this;\n        var state = this.state;\n\n        function emit(event) {\n            self.manager.emit(event, input);\n        }\n\n        // 'panstart' and 'panmove'\n        if (state < STATE_ENDED) {\n            emit(self.options.event + stateStr(state));\n        }\n\n        emit(self.options.event); // simple 'eventName' events\n\n        if (input.additionalEvent) { // additional event(panleft, panright, pinchin, pinchout...)\n            emit(input.additionalEvent);\n        }\n\n        // panend and pancancel\n        if (state >= STATE_ENDED) {\n            emit(self.options.event + stateStr(state));\n        }\n    },\n\n    /**\n     * Check that all the require failure recognizers has failed,\n     * if true, it emits a gesture event,\n     * otherwise, setup the state to FAILED.\n     * @param {Object} input\n     */\n    tryEmit: function(input) {\n        if (this.canEmit()) {\n            return this.emit(input);\n        }\n        // it's failing anyway\n        this.state = STATE_FAILED;\n    },\n\n    /**\n     * can we emit?\n     * @returns {boolean}\n     */\n    canEmit: function() {\n        var i = 0;\n        while (i < this.requireFail.length) {\n            if (!(this.requireFail[i].state & (STATE_FAILED | STATE_POSSIBLE))) {\n                return false;\n            }\n            i++;\n        }\n        return true;\n    },\n\n    /**\n     * update the recognizer\n     * @param {Object} inputData\n     */\n    recognize: function(inputData) {\n        // make a new copy of the inputData\n        // so we can change the inputData without messing up the other recognizers\n        var inputDataClone = assign({}, inputData);\n\n        // is is enabled and allow recognizing?\n        if (!boolOrFn(this.options.enable, [this, inputDataClone])) {\n            this.reset();\n            this.state = STATE_FAILED;\n            return;\n        }\n\n        // reset when we've reached the end\n        if (this.state & (STATE_RECOGNIZED | STATE_CANCELLED | STATE_FAILED)) {\n            this.state = STATE_POSSIBLE;\n        }\n\n        this.state = this.process(inputDataClone);\n\n        // the recognizer has recognized a gesture\n        // so trigger an event\n        if (this.state & (STATE_BEGAN | STATE_CHANGED | STATE_ENDED | STATE_CANCELLED)) {\n            this.tryEmit(inputDataClone);\n        }\n    },\n\n    /**\n     * return the state of the recognizer\n     * the actual recognizing happens in this method\n     * @virtual\n     * @param {Object} inputData\n     * @returns {Const} STATE\n     */\n    process: function(inputData) { }, // jshint ignore:line\n\n    /**\n     * return the preferred touch-action\n     * @virtual\n     * @returns {Array}\n     */\n    getTouchAction: function() { },\n\n    /**\n     * called when the gesture isn't allowed to recognize\n     * like when another is being recognized or it is disabled\n     * @virtual\n     */\n    reset: function() { }\n};\n\n/**\n * get a usable string, used as event postfix\n * @param {Const} state\n * @returns {String} state\n */\nfunction stateStr(state) {\n    if (state & STATE_CANCELLED) {\n        return 'cancel';\n    } else if (state & STATE_ENDED) {\n        return 'end';\n    } else if (state & STATE_CHANGED) {\n        return 'move';\n    } else if (state & STATE_BEGAN) {\n        return 'start';\n    }\n    return '';\n}\n\n/**\n * direction cons to string\n * @param {Const} direction\n * @returns {String}\n */\nfunction directionStr(direction) {\n    if (direction == DIRECTION_DOWN) {\n        return 'down';\n    } else if (direction == DIRECTION_UP) {\n        return 'up';\n    } else if (direction == DIRECTION_LEFT) {\n        return 'left';\n    } else if (direction == DIRECTION_RIGHT) {\n        return 'right';\n    }\n    return '';\n}\n\n/**\n * get a recognizer by name if it is bound to a manager\n * @param {Recognizer|String} otherRecognizer\n * @param {Recognizer} recognizer\n * @returns {Recognizer}\n */\nfunction getRecognizerByNameIfManager(otherRecognizer, recognizer) {\n    var manager = recognizer.manager;\n    if (manager) {\n        return manager.get(otherRecognizer);\n    }\n    return otherRecognizer;\n}\n\n/**\n * This recognizer is just used as a base for the simple attribute recognizers.\n * @constructor\n * @extends Recognizer\n */\nfunction AttrRecognizer() {\n    Recognizer.apply(this, arguments);\n}\n\ninherit(AttrRecognizer, Recognizer, {\n    /**\n     * @namespace\n     * @memberof AttrRecognizer\n     */\n    defaults: {\n        /**\n         * @type {Number}\n         * @default 1\n         */\n        pointers: 1\n    },\n\n    /**\n     * Used to check if it the recognizer receives valid input, like input.distance > 10.\n     * @memberof AttrRecognizer\n     * @param {Object} input\n     * @returns {Boolean} recognized\n     */\n    attrTest: function(input) {\n        var optionPointers = this.options.pointers;\n        return optionPointers === 0 || input.pointers.length === optionPointers;\n    },\n\n    /**\n     * Process the input and return the state for the recognizer\n     * @memberof AttrRecognizer\n     * @param {Object} input\n     * @returns {*} State\n     */\n    process: function(input) {\n        var state = this.state;\n        var eventType = input.eventType;\n\n        var isRecognized = state & (STATE_BEGAN | STATE_CHANGED);\n        var isValid = this.attrTest(input);\n\n        // on cancel input and we've recognized before, return STATE_CANCELLED\n        if (isRecognized && (eventType & INPUT_CANCEL || !isValid)) {\n            return state | STATE_CANCELLED;\n        } else if (isRecognized || isValid) {\n            if (eventType & INPUT_END) {\n                return state | STATE_ENDED;\n            } else if (!(state & STATE_BEGAN)) {\n                return STATE_BEGAN;\n            }\n            return state | STATE_CHANGED;\n        }\n        return STATE_FAILED;\n    }\n});\n\n/**\n * Pan\n * Recognized when the pointer is down and moved in the allowed direction.\n * @constructor\n * @extends AttrRecognizer\n */\nfunction PanRecognizer() {\n    AttrRecognizer.apply(this, arguments);\n\n    this.pX = null;\n    this.pY = null;\n}\n\ninherit(PanRecognizer, AttrRecognizer, {\n    /**\n     * @namespace\n     * @memberof PanRecognizer\n     */\n    defaults: {\n        event: 'pan',\n        threshold: 10,\n        pointers: 1,\n        direction: DIRECTION_ALL\n    },\n\n    getTouchAction: function() {\n        var direction = this.options.direction;\n        var actions = [];\n        if (direction & DIRECTION_HORIZONTAL) {\n            actions.push(TOUCH_ACTION_PAN_Y);\n        }\n        if (direction & DIRECTION_VERTICAL) {\n            actions.push(TOUCH_ACTION_PAN_X);\n        }\n        return actions;\n    },\n\n    directionTest: function(input) {\n        var options = this.options;\n        var hasMoved = true;\n        var distance = input.distance;\n        var direction = input.direction;\n        var x = input.deltaX;\n        var y = input.deltaY;\n\n        // lock to axis?\n        if (!(direction & options.direction)) {\n            if (options.direction & DIRECTION_HORIZONTAL) {\n                direction = (x === 0) ? DIRECTION_NONE : (x < 0) ? DIRECTION_LEFT : DIRECTION_RIGHT;\n                hasMoved = x != this.pX;\n                distance = Math.abs(input.deltaX);\n            } else {\n                direction = (y === 0) ? DIRECTION_NONE : (y < 0) ? DIRECTION_UP : DIRECTION_DOWN;\n                hasMoved = y != this.pY;\n                distance = Math.abs(input.deltaY);\n            }\n        }\n        input.direction = direction;\n        return hasMoved && distance > options.threshold && direction & options.direction;\n    },\n\n    attrTest: function(input) {\n        return AttrRecognizer.prototype.attrTest.call(this, input) &&\n            (this.state & STATE_BEGAN || (!(this.state & STATE_BEGAN) && this.directionTest(input)));\n    },\n\n    emit: function(input) {\n\n        this.pX = input.deltaX;\n        this.pY = input.deltaY;\n\n        var direction = directionStr(input.direction);\n\n        if (direction) {\n            input.additionalEvent = this.options.event + direction;\n        }\n        this._super.emit.call(this, input);\n    }\n});\n\n/**\n * Pinch\n * Recognized when two or more pointers are moving toward (zoom-in) or away from each other (zoom-out).\n * @constructor\n * @extends AttrRecognizer\n */\nfunction PinchRecognizer() {\n    AttrRecognizer.apply(this, arguments);\n}\n\ninherit(PinchRecognizer, AttrRecognizer, {\n    /**\n     * @namespace\n     * @memberof PinchRecognizer\n     */\n    defaults: {\n        event: 'pinch',\n        threshold: 0,\n        pointers: 2\n    },\n\n    getTouchAction: function() {\n        return [TOUCH_ACTION_NONE];\n    },\n\n    attrTest: function(input) {\n        return this._super.attrTest.call(this, input) &&\n            (Math.abs(input.scale - 1) > this.options.threshold || this.state & STATE_BEGAN);\n    },\n\n    emit: function(input) {\n        if (input.scale !== 1) {\n            var inOut = input.scale < 1 ? 'in' : 'out';\n            input.additionalEvent = this.options.event + inOut;\n        }\n        this._super.emit.call(this, input);\n    }\n});\n\n/**\n * Press\n * Recognized when the pointer is down for x ms without any movement.\n * @constructor\n * @extends Recognizer\n */\nfunction PressRecognizer() {\n    Recognizer.apply(this, arguments);\n\n    this._timer = null;\n    this._input = null;\n}\n\ninherit(PressRecognizer, Recognizer, {\n    /**\n     * @namespace\n     * @memberof PressRecognizer\n     */\n    defaults: {\n        event: 'press',\n        pointers: 1,\n        time: 251, // minimal time of the pointer to be pressed\n        threshold: 9 // a minimal movement is ok, but keep it low\n    },\n\n    getTouchAction: function() {\n        return [TOUCH_ACTION_AUTO];\n    },\n\n    process: function(input) {\n        var options = this.options;\n        var validPointers = input.pointers.length === options.pointers;\n        var validMovement = input.distance < options.threshold;\n        var validTime = input.deltaTime > options.time;\n\n        this._input = input;\n\n        // we only allow little movement\n        // and we've reached an end event, so a tap is possible\n        if (!validMovement || !validPointers || (input.eventType & (INPUT_END | INPUT_CANCEL) && !validTime)) {\n            this.reset();\n        } else if (input.eventType & INPUT_START) {\n            this.reset();\n            this._timer = setTimeoutContext(function() {\n                this.state = STATE_RECOGNIZED;\n                this.tryEmit();\n            }, options.time, this);\n        } else if (input.eventType & INPUT_END) {\n            return STATE_RECOGNIZED;\n        }\n        return STATE_FAILED;\n    },\n\n    reset: function() {\n        clearTimeout(this._timer);\n    },\n\n    emit: function(input) {\n        if (this.state !== STATE_RECOGNIZED) {\n            return;\n        }\n\n        if (input && (input.eventType & INPUT_END)) {\n            this.manager.emit(this.options.event + 'up', input);\n        } else {\n            this._input.timeStamp = now();\n            this.manager.emit(this.options.event, this._input);\n        }\n    }\n});\n\n/**\n * Rotate\n * Recognized when two or more pointer are moving in a circular motion.\n * @constructor\n * @extends AttrRecognizer\n */\nfunction RotateRecognizer() {\n    AttrRecognizer.apply(this, arguments);\n}\n\ninherit(RotateRecognizer, AttrRecognizer, {\n    /**\n     * @namespace\n     * @memberof RotateRecognizer\n     */\n    defaults: {\n        event: 'rotate',\n        threshold: 0,\n        pointers: 2\n    },\n\n    getTouchAction: function() {\n        return [TOUCH_ACTION_NONE];\n    },\n\n    attrTest: function(input) {\n        return this._super.attrTest.call(this, input) &&\n            (Math.abs(input.rotation) > this.options.threshold || this.state & STATE_BEGAN);\n    }\n});\n\n/**\n * Swipe\n * Recognized when the pointer is moving fast (velocity), with enough distance in the allowed direction.\n * @constructor\n * @extends AttrRecognizer\n */\nfunction SwipeRecognizer() {\n    AttrRecognizer.apply(this, arguments);\n}\n\ninherit(SwipeRecognizer, AttrRecognizer, {\n    /**\n     * @namespace\n     * @memberof SwipeRecognizer\n     */\n    defaults: {\n        event: 'swipe',\n        threshold: 10,\n        velocity: 0.3,\n        direction: DIRECTION_HORIZONTAL | DIRECTION_VERTICAL,\n        pointers: 1\n    },\n\n    getTouchAction: function() {\n        return PanRecognizer.prototype.getTouchAction.call(this);\n    },\n\n    attrTest: function(input) {\n        var direction = this.options.direction;\n        var velocity;\n\n        if (direction & (DIRECTION_HORIZONTAL | DIRECTION_VERTICAL)) {\n            velocity = input.overallVelocity;\n        } else if (direction & DIRECTION_HORIZONTAL) {\n            velocity = input.overallVelocityX;\n        } else if (direction & DIRECTION_VERTICAL) {\n            velocity = input.overallVelocityY;\n        }\n\n        return this._super.attrTest.call(this, input) &&\n            direction & input.offsetDirection &&\n            input.distance > this.options.threshold &&\n            input.maxPointers == this.options.pointers &&\n            abs(velocity) > this.options.velocity && input.eventType & INPUT_END;\n    },\n\n    emit: function(input) {\n        var direction = directionStr(input.offsetDirection);\n        if (direction) {\n            this.manager.emit(this.options.event + direction, input);\n        }\n\n        this.manager.emit(this.options.event, input);\n    }\n});\n\n/**\n * A tap is ecognized when the pointer is doing a small tap/click. Multiple taps are recognized if they occur\n * between the given interval and position. The delay option can be used to recognize multi-taps without firing\n * a single tap.\n *\n * The eventData from the emitted event contains the property `tapCount`, which contains the amount of\n * multi-taps being recognized.\n * @constructor\n * @extends Recognizer\n */\nfunction TapRecognizer() {\n    Recognizer.apply(this, arguments);\n\n    // previous time and center,\n    // used for tap counting\n    this.pTime = false;\n    this.pCenter = false;\n\n    this._timer = null;\n    this._input = null;\n    this.count = 0;\n}\n\ninherit(TapRecognizer, Recognizer, {\n    /**\n     * @namespace\n     * @memberof PinchRecognizer\n     */\n    defaults: {\n        event: 'tap',\n        pointers: 1,\n        taps: 1,\n        interval: 300, // max time between the multi-tap taps\n        time: 250, // max time of the pointer to be down (like finger on the screen)\n        threshold: 9, // a minimal movement is ok, but keep it low\n        posThreshold: 10 // a multi-tap can be a bit off the initial position\n    },\n\n    getTouchAction: function() {\n        return [TOUCH_ACTION_MANIPULATION];\n    },\n\n    process: function(input) {\n        var options = this.options;\n\n        var validPointers = input.pointers.length === options.pointers;\n        var validMovement = input.distance < options.threshold;\n        var validTouchTime = input.deltaTime < options.time;\n\n        this.reset();\n\n        if ((input.eventType & INPUT_START) && (this.count === 0)) {\n            return this.failTimeout();\n        }\n\n        // we only allow little movement\n        // and we've reached an end event, so a tap is possible\n        if (validMovement && validTouchTime && validPointers) {\n            if (input.eventType != INPUT_END) {\n                return this.failTimeout();\n            }\n\n            var validInterval = this.pTime ? (input.timeStamp - this.pTime < options.interval) : true;\n            var validMultiTap = !this.pCenter || getDistance(this.pCenter, input.center) < options.posThreshold;\n\n            this.pTime = input.timeStamp;\n            this.pCenter = input.center;\n\n            if (!validMultiTap || !validInterval) {\n                this.count = 1;\n            } else {\n                this.count += 1;\n            }\n\n            this._input = input;\n\n            // if tap count matches we have recognized it,\n            // else it has began recognizing...\n            var tapCount = this.count % options.taps;\n            if (tapCount === 0) {\n                // no failing requirements, immediately trigger the tap event\n                // or wait as long as the multitap interval to trigger\n                if (!this.hasRequireFailures()) {\n                    return STATE_RECOGNIZED;\n                } else {\n                    this._timer = setTimeoutContext(function() {\n                        this.state = STATE_RECOGNIZED;\n                        this.tryEmit();\n                    }, options.interval, this);\n                    return STATE_BEGAN;\n                }\n            }\n        }\n        return STATE_FAILED;\n    },\n\n    failTimeout: function() {\n        this._timer = setTimeoutContext(function() {\n            this.state = STATE_FAILED;\n        }, this.options.interval, this);\n        return STATE_FAILED;\n    },\n\n    reset: function() {\n        clearTimeout(this._timer);\n    },\n\n    emit: function() {\n        if (this.state == STATE_RECOGNIZED) {\n            this._input.tapCount = this.count;\n            this.manager.emit(this.options.event, this._input);\n        }\n    }\n});\n\n/**\n * Simple way to create a manager with a default set of recognizers.\n * @param {HTMLElement} element\n * @param {Object} [options]\n * @constructor\n */\nfunction Hammer(element, options) {\n    options = options || {};\n    options.recognizers = ifUndefined(options.recognizers, Hammer.defaults.preset);\n    return new Manager(element, options);\n}\n\n/**\n * @const {string}\n */\nHammer.VERSION = '2.0.7';\n\n/**\n * default settings\n * @namespace\n */\nHammer.defaults = {\n    /**\n     * set if DOM events are being triggered.\n     * But this is slower and unused by simple implementations, so disabled by default.\n     * @type {Boolean}\n     * @default false\n     */\n    domEvents: false,\n\n    /**\n     * The value for the touchAction property/fallback.\n     * When set to `compute` it will magically set the correct value based on the added recognizers.\n     * @type {String}\n     * @default compute\n     */\n    touchAction: TOUCH_ACTION_COMPUTE,\n\n    /**\n     * @type {Boolean}\n     * @default true\n     */\n    enable: true,\n\n    /**\n     * EXPERIMENTAL FEATURE -- can be removed/changed\n     * Change the parent input target element.\n     * If Null, then it is being set the to main element.\n     * @type {Null|EventTarget}\n     * @default null\n     */\n    inputTarget: null,\n\n    /**\n     * force an input class\n     * @type {Null|Function}\n     * @default null\n     */\n    inputClass: null,\n\n    /**\n     * Default recognizer setup when calling `Hammer()`\n     * When creating a new Manager these will be skipped.\n     * @type {Array}\n     */\n    preset: [\n        // RecognizerClass, options, [recognizeWith, ...], [requireFailure, ...]\n        [RotateRecognizer, {enable: false}],\n        [PinchRecognizer, {enable: false}, ['rotate']],\n        [SwipeRecognizer, {direction: DIRECTION_HORIZONTAL}],\n        [PanRecognizer, {direction: DIRECTION_HORIZONTAL}, ['swipe']],\n        [TapRecognizer],\n        [TapRecognizer, {event: 'doubletap', taps: 2}, ['tap']],\n        [PressRecognizer]\n    ],\n\n    /**\n     * Some CSS properties can be used to improve the working of Hammer.\n     * Add them to this method and they will be set when creating a new Manager.\n     * @namespace\n     */\n    cssProps: {\n        /**\n         * Disables text selection to improve the dragging gesture. Mainly for desktop browsers.\n         * @type {String}\n         * @default 'none'\n         */\n        userSelect: 'none',\n\n        /**\n         * Disable the Windows Phone grippers when pressing an element.\n         * @type {String}\n         * @default 'none'\n         */\n        touchSelect: 'none',\n\n        /**\n         * Disables the default callout shown when you touch and hold a touch target.\n         * On iOS, when you touch and hold a touch target such as a link, Safari displays\n         * a callout containing information about the link. This property allows you to disable that callout.\n         * @type {String}\n         * @default 'none'\n         */\n        touchCallout: 'none',\n\n        /**\n         * Specifies whether zooming is enabled. Used by IE10>\n         * @type {String}\n         * @default 'none'\n         */\n        contentZooming: 'none',\n\n        /**\n         * Specifies that an entire element should be draggable instead of its contents. Mainly for desktop browsers.\n         * @type {String}\n         * @default 'none'\n         */\n        userDrag: 'none',\n\n        /**\n         * Overrides the highlight color shown when the user taps a link or a JavaScript\n         * clickable element in iOS. This property obeys the alpha value, if specified.\n         * @type {String}\n         * @default 'rgba(0,0,0,0)'\n         */\n        tapHighlightColor: 'rgba(0,0,0,0)'\n    }\n};\n\nvar STOP = 1;\nvar FORCED_STOP = 2;\n\n/**\n * Manager\n * @param {HTMLElement} element\n * @param {Object} [options]\n * @constructor\n */\nfunction Manager(element, options) {\n    this.options = assign({}, Hammer.defaults, options || {});\n\n    this.options.inputTarget = this.options.inputTarget || element;\n\n    this.handlers = {};\n    this.session = {};\n    this.recognizers = [];\n    this.oldCssProps = {};\n\n    this.element = element;\n    this.input = createInputInstance(this);\n    this.touchAction = new TouchAction(this, this.options.touchAction);\n\n    toggleCssProps(this, true);\n\n    each(this.options.recognizers, function(item) {\n        var recognizer = this.add(new (item[0])(item[1]));\n        item[2] && recognizer.recognizeWith(item[2]);\n        item[3] && recognizer.requireFailure(item[3]);\n    }, this);\n}\n\nManager.prototype = {\n    /**\n     * set options\n     * @param {Object} options\n     * @returns {Manager}\n     */\n    set: function(options) {\n        assign(this.options, options);\n\n        // Options that need a little more setup\n        if (options.touchAction) {\n            this.touchAction.update();\n        }\n        if (options.inputTarget) {\n            // Clean up existing event listeners and reinitialize\n            this.input.destroy();\n            this.input.target = options.inputTarget;\n            this.input.init();\n        }\n        return this;\n    },\n\n    /**\n     * stop recognizing for this session.\n     * This session will be discarded, when a new [input]start event is fired.\n     * When forced, the recognizer cycle is stopped immediately.\n     * @param {Boolean} [force]\n     */\n    stop: function(force) {\n        this.session.stopped = force ? FORCED_STOP : STOP;\n    },\n\n    /**\n     * run the recognizers!\n     * called by the inputHandler function on every movement of the pointers (touches)\n     * it walks through all the recognizers and tries to detect the gesture that is being made\n     * @param {Object} inputData\n     */\n    recognize: function(inputData) {\n        var session = this.session;\n        if (session.stopped) {\n            return;\n        }\n\n        // run the touch-action polyfill\n        this.touchAction.preventDefaults(inputData);\n\n        var recognizer;\n        var recognizers = this.recognizers;\n\n        // this holds the recognizer that is being recognized.\n        // so the recognizer's state needs to be BEGAN, CHANGED, ENDED or RECOGNIZED\n        // if no recognizer is detecting a thing, it is set to `null`\n        var curRecognizer = session.curRecognizer;\n\n        // reset when the last recognizer is recognized\n        // or when we're in a new session\n        if (!curRecognizer || (curRecognizer && curRecognizer.state & STATE_RECOGNIZED)) {\n            curRecognizer = session.curRecognizer = null;\n        }\n\n        var i = 0;\n        while (i < recognizers.length) {\n            recognizer = recognizers[i];\n\n            // find out if we are allowed try to recognize the input for this one.\n            // 1.   allow if the session is NOT forced stopped (see the .stop() method)\n            // 2.   allow if we still haven't recognized a gesture in this session, or the this recognizer is the one\n            //      that is being recognized.\n            // 3.   allow if the recognizer is allowed to run simultaneous with the current recognized recognizer.\n            //      this can be setup with the `recognizeWith()` method on the recognizer.\n            if (session.stopped !== FORCED_STOP && ( // 1\n                    !curRecognizer || recognizer == curRecognizer || // 2\n                    recognizer.canRecognizeWith(curRecognizer))) { // 3\n                recognizer.recognize(inputData);\n            } else {\n                recognizer.reset();\n            }\n\n            // if the recognizer has been recognizing the input as a valid gesture, we want to store this one as the\n            // current active recognizer. but only if we don't already have an active recognizer\n            if (!curRecognizer && recognizer.state & (STATE_BEGAN | STATE_CHANGED | STATE_ENDED)) {\n                curRecognizer = session.curRecognizer = recognizer;\n            }\n            i++;\n        }\n    },\n\n    /**\n     * get a recognizer by its event name.\n     * @param {Recognizer|String} recognizer\n     * @returns {Recognizer|Null}\n     */\n    get: function(recognizer) {\n        if (recognizer instanceof Recognizer) {\n            return recognizer;\n        }\n\n        var recognizers = this.recognizers;\n        for (var i = 0; i < recognizers.length; i++) {\n            if (recognizers[i].options.event == recognizer) {\n                return recognizers[i];\n            }\n        }\n        return null;\n    },\n\n    /**\n     * add a recognizer to the manager\n     * existing recognizers with the same event name will be removed\n     * @param {Recognizer} recognizer\n     * @returns {Recognizer|Manager}\n     */\n    add: function(recognizer) {\n        if (invokeArrayArg(recognizer, 'add', this)) {\n            return this;\n        }\n\n        // remove existing\n        var existing = this.get(recognizer.options.event);\n        if (existing) {\n            this.remove(existing);\n        }\n\n        this.recognizers.push(recognizer);\n        recognizer.manager = this;\n\n        this.touchAction.update();\n        return recognizer;\n    },\n\n    /**\n     * remove a recognizer by name or instance\n     * @param {Recognizer|String} recognizer\n     * @returns {Manager}\n     */\n    remove: function(recognizer) {\n        if (invokeArrayArg(recognizer, 'remove', this)) {\n            return this;\n        }\n\n        recognizer = this.get(recognizer);\n\n        // let's make sure this recognizer exists\n        if (recognizer) {\n            var recognizers = this.recognizers;\n            var index = inArray(recognizers, recognizer);\n\n            if (index !== -1) {\n                recognizers.splice(index, 1);\n                this.touchAction.update();\n            }\n        }\n\n        return this;\n    },\n\n    /**\n     * bind event\n     * @param {String} events\n     * @param {Function} handler\n     * @returns {EventEmitter} this\n     */\n    on: function(events, handler) {\n        if (events === undefined) {\n            return;\n        }\n        if (handler === undefined) {\n            return;\n        }\n\n        var handlers = this.handlers;\n        each(splitStr(events), function(event) {\n            handlers[event] = handlers[event] || [];\n            handlers[event].push(handler);\n        });\n        return this;\n    },\n\n    /**\n     * unbind event, leave emit blank to remove all handlers\n     * @param {String} events\n     * @param {Function} [handler]\n     * @returns {EventEmitter} this\n     */\n    off: function(events, handler) {\n        if (events === undefined) {\n            return;\n        }\n\n        var handlers = this.handlers;\n        each(splitStr(events), function(event) {\n            if (!handler) {\n                delete handlers[event];\n            } else {\n                handlers[event] && handlers[event].splice(inArray(handlers[event], handler), 1);\n            }\n        });\n        return this;\n    },\n\n    /**\n     * emit event to the listeners\n     * @param {String} event\n     * @param {Object} data\n     */\n    emit: function(event, data) {\n        // we also want to trigger dom events\n        if (this.options.domEvents) {\n            triggerDomEvent(event, data);\n        }\n\n        // no handlers, so skip it all\n        var handlers = this.handlers[event] && this.handlers[event].slice();\n        if (!handlers || !handlers.length) {\n            return;\n        }\n\n        data.type = event;\n        data.preventDefault = function() {\n            data.srcEvent.preventDefault();\n        };\n\n        var i = 0;\n        while (i < handlers.length) {\n            handlers[i](data);\n            i++;\n        }\n    },\n\n    /**\n     * destroy the manager and unbinds all events\n     * it doesn't unbind dom events, that is the user own responsibility\n     */\n    destroy: function() {\n        this.element && toggleCssProps(this, false);\n\n        this.handlers = {};\n        this.session = {};\n        this.input.destroy();\n        this.element = null;\n    }\n};\n\n/**\n * add/remove the css properties as defined in manager.options.cssProps\n * @param {Manager} manager\n * @param {Boolean} add\n */\nfunction toggleCssProps(manager, add) {\n    var element = manager.element;\n    if (!element.style) {\n        return;\n    }\n    var prop;\n    each(manager.options.cssProps, function(value, name) {\n        prop = prefixed(element.style, name);\n        if (add) {\n            manager.oldCssProps[prop] = element.style[prop];\n            element.style[prop] = value;\n        } else {\n            element.style[prop] = manager.oldCssProps[prop] || '';\n        }\n    });\n    if (!add) {\n        manager.oldCssProps = {};\n    }\n}\n\n/**\n * trigger dom event\n * @param {String} event\n * @param {Object} data\n */\nfunction triggerDomEvent(event, data) {\n    var gestureEvent = document.createEvent('Event');\n    gestureEvent.initEvent(event, true, true);\n    gestureEvent.gesture = data;\n    data.target.dispatchEvent(gestureEvent);\n}\n\nassign(Hammer, {\n    INPUT_START: INPUT_START,\n    INPUT_MOVE: INPUT_MOVE,\n    INPUT_END: INPUT_END,\n    INPUT_CANCEL: INPUT_CANCEL,\n\n    STATE_POSSIBLE: STATE_POSSIBLE,\n    STATE_BEGAN: STATE_BEGAN,\n    STATE_CHANGED: STATE_CHANGED,\n    STATE_ENDED: STATE_ENDED,\n    STATE_RECOGNIZED: STATE_RECOGNIZED,\n    STATE_CANCELLED: STATE_CANCELLED,\n    STATE_FAILED: STATE_FAILED,\n\n    DIRECTION_NONE: DIRECTION_NONE,\n    DIRECTION_LEFT: DIRECTION_LEFT,\n    DIRECTION_RIGHT: DIRECTION_RIGHT,\n    DIRECTION_UP: DIRECTION_UP,\n    DIRECTION_DOWN: DIRECTION_DOWN,\n    DIRECTION_HORIZONTAL: DIRECTION_HORIZONTAL,\n    DIRECTION_VERTICAL: DIRECTION_VERTICAL,\n    DIRECTION_ALL: DIRECTION_ALL,\n\n    Manager: Manager,\n    Input: Input,\n    TouchAction: TouchAction,\n\n    TouchInput: TouchInput,\n    MouseInput: MouseInput,\n    PointerEventInput: PointerEventInput,\n    TouchMouseInput: TouchMouseInput,\n    SingleTouchInput: SingleTouchInput,\n\n    Recognizer: Recognizer,\n    AttrRecognizer: AttrRecognizer,\n    Tap: TapRecognizer,\n    Pan: PanRecognizer,\n    Swipe: SwipeRecognizer,\n    Pinch: PinchRecognizer,\n    Rotate: RotateRecognizer,\n    Press: PressRecognizer,\n\n    on: addEventListeners,\n    off: removeEventListeners,\n    each: each,\n    merge: merge,\n    extend: extend,\n    assign: assign,\n    inherit: inherit,\n    bindFn: bindFn,\n    prefixed: prefixed\n});\n\n// this prevents errors when Hammer is loaded in the presence of an AMD\n//  style loader but by script tag, not by the loader.\nvar freeGlobal = (typeof window !== 'undefined' ? window : (typeof self !== 'undefined' ? self : {})); // jshint ignore:line\nfreeGlobal.Hammer = Hammer;\n\nif (true) {\n    !(__WEBPACK_AMD_DEFINE_RESULT__ = (function() {\n        return Hammer;\n    }).call(exports, __webpack_require__, exports, module),\n\t\t\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n} else {}\n\n})(window, document, 'Hammer');\n\n\n/***/ }),\n\n/***/ \"./node_modules/ngx-cookie-service/fesm2015/ngx-cookie-service.js\":\n/*!************************************************************************!*\\\n  !*** ./node_modules/ngx-cookie-service/fesm2015/ngx-cookie-service.js ***!\n  \\************************************************************************/\n/*! exports provided: CookieService */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CookieService\", function() { return CookieService; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ \"./node_modules/@angular/core/fesm2015/core.js\");\n/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ \"./node_modules/@angular/common/fesm2015/common.js\");\n\n\n\n\nlet CookieService = class CookieService {\n    constructor(\n    // The type `Document` may not be used here. Although a fix is on its way,\n    // we will go with `any` for now to support Angular 2.4.x projects.\n    // Issue: https://github.com/angular/angular/issues/12631\n    // Fix: https://github.com/angular/angular/pull/14894\n    document, \n    // Get the `PLATFORM_ID` so we can check if we're in a browser.\n    platformId) {\n        this.document = document;\n        this.platformId = platformId;\n        this.documentIsAccessible = Object(_angular_common__WEBPACK_IMPORTED_MODULE_2__[\"isPlatformBrowser\"])(this.platformId);\n    }\n    /**\n     * @param name Cookie name\n     * @returns boolean - whether cookie with specified name exists\n     */\n    check(name) {\n        if (!this.documentIsAccessible) {\n            return false;\n        }\n        name = encodeURIComponent(name);\n        const regExp = this.getCookieRegExp(name);\n        const exists = regExp.test(this.document.cookie);\n        return exists;\n    }\n    /**\n     * @param name Cookie name\n     * @returns property value\n     */\n    get(name) {\n        if (this.documentIsAccessible && this.check(name)) {\n            name = encodeURIComponent(name);\n            const regExp = this.getCookieRegExp(name);\n            const result = regExp.exec(this.document.cookie);\n            return this.safeDecodeURIComponent(result[1]);\n        }\n        else {\n            return '';\n        }\n    }\n    /**\n     * @returns all the cookies in json\n     */\n    getAll() {\n        if (!this.documentIsAccessible) {\n            return {};\n        }\n        const cookies = {};\n        const document = this.document;\n        if (document.cookie && document.cookie !== '') {\n            document.cookie.split(';').forEach(currentCookie => {\n                const [cookieName, cookieValue] = currentCookie.split('=');\n                cookies[this.safeDecodeURIComponent(cookieName.replace(/^ /, ''))] = this.safeDecodeURIComponent(cookieValue);\n            });\n        }\n        return cookies;\n    }\n    /**\n     * @param name     Cookie name\n     * @param value    Cookie value\n     * @param expires  Number of days until the cookies expires or an actual `Date`\n     * @param path     Cookie path\n     * @param domain   Cookie domain\n     * @param secure   Secure flag\n     * @param sameSite OWASP samesite token `Lax`, `None`, or `Strict`. Defaults to `Lax`\n     */\n    set(name, value, expires, path, domain, secure, sameSite = 'Lax') {\n        if (!this.documentIsAccessible) {\n            return;\n        }\n        let cookieString = encodeURIComponent(name) + '=' + encodeURIComponent(value) + ';';\n        if (expires) {\n            if (typeof expires === 'number') {\n                const dateExpires = new Date(new Date().getTime() + expires * 1000 * 60 * 60 * 24);\n                cookieString += 'expires=' + dateExpires.toUTCString() + ';';\n            }\n            else {\n                cookieString += 'expires=' + expires.toUTCString() + ';';\n            }\n        }\n        if (path) {\n            cookieString += 'path=' + path + ';';\n        }\n        if (domain) {\n            cookieString += 'domain=' + domain + ';';\n        }\n        if (secure === false && sameSite === 'None') {\n            secure = true;\n            console.warn(`[ngx-cookie-service] Cookie ${name} was forced with secure flag because sameSite=None.` +\n                `More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130`);\n        }\n        if (secure) {\n            cookieString += 'secure;';\n        }\n        cookieString += 'sameSite=' + sameSite + ';';\n        this.document.cookie = cookieString;\n    }\n    /**\n     * @param name   Cookie name\n     * @param path   Cookie path\n     * @param domain Cookie domain\n     */\n    delete(name, path, domain, secure, sameSite = 'Lax') {\n        if (!this.documentIsAccessible) {\n            return;\n        }\n        this.set(name, '', new Date('Thu, 01 Jan 1970 00:00:01 GMT'), path, domain, secure, sameSite);\n    }\n    /**\n     * @param path   Cookie path\n     * @param domain Cookie domain\n     */\n    deleteAll(path, domain, secure, sameSite = 'Lax') {\n        if (!this.documentIsAccessible) {\n            return;\n        }\n        const cookies = this.getAll();\n        for (const cookieName in cookies) {\n            if (cookies.hasOwnProperty(cookieName)) {\n                this.delete(cookieName, path, domain, secure, sameSite);\n            }\n        }\n    }\n    /**\n     * @param name Cookie name\n     * @returns property RegExp\n     */\n    getCookieRegExp(name) {\n        const escapedName = name.replace(/([\\[\\]\\{\\}\\(\\)\\|\\=\\;\\+\\?\\,\\.\\*\\^\\$])/ig, '\\\\$1');\n        return new RegExp('(?:^' + escapedName + '|;\\\\s*' + escapedName + ')=(.*?)(?:;|$)', 'g');\n    }\n    safeDecodeURIComponent(encodedURIComponent) {\n        try {\n            return decodeURIComponent(encodedURIComponent);\n        }\n        catch (_a) {\n            // probably it is not uri encoded. return as is\n            return encodedURIComponent;\n        }\n    }\n};\nCookieService.ctorParameters = () => [\n    { type: undefined, decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"], args: [_angular_common__WEBPACK_IMPORTED_MODULE_2__[\"DOCUMENT\"],] }] },\n    { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"InjectionToken\"], decorators: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"], args: [_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"PLATFORM_ID\"],] }] }\n];\nCookieService.ɵprov = Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵdefineInjectable\"])({ factory: function CookieService_Factory() { return new CookieService(Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(_angular_common__WEBPACK_IMPORTED_MODULE_2__[\"DOCUMENT\"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"PLATFORM_ID\"])); }, token: CookieService, providedIn: \"root\" });\nCookieService = Object(tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"])([\n    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"])({\n        providedIn: 'root'\n    }),\n    Object(tslib__WEBPACK_IMPORTED_MODULE_0__[\"__param\"])(0, Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"])(_angular_common__WEBPACK_IMPORTED_MODULE_2__[\"DOCUMENT\"])),\n    Object(tslib__WEBPACK_IMPORTED_MODULE_0__[\"__param\"])(1, Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"])(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"PLATFORM_ID\"]))\n], CookieService);\n\n/*\n * Public API Surface of ngx-cookie-service\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\n\n//# sourceMappingURL=ngx-cookie-service.js.map\n\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/index.js\":\n/*!*********************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/index.js ***!\n  \\*********************************************/\n/*! exports provided: Observable, ConnectableObservable, GroupedObservable, observable, Subject, BehaviorSubject, ReplaySubject, AsyncSubject, asapScheduler, asyncScheduler, queueScheduler, animationFrameScheduler, VirtualTimeScheduler, VirtualAction, Scheduler, Subscription, Subscriber, Notification, pipe, noop, identity, isObservable, ArgumentOutOfRangeError, EmptyError, ObjectUnsubscribedError, UnsubscriptionError, TimeoutError, bindCallback, bindNodeCallback, combineLatest, concat, defer, empty, forkJoin, from, fromEvent, fromEventPattern, generate, iif, interval, merge, never, of, onErrorResumeNext, pairs, race, range, throwError, timer, using, zip, EMPTY, NEVER, config */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _internal_Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./internal/Observable */ \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Observable\", function() { return _internal_Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"]; });\n\n/* harmony import */ var _internal_observable_ConnectableObservable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./internal/observable/ConnectableObservable */ \"./node_modules/rxjs/_esm2015/internal/observable/ConnectableObservable.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ConnectableObservable\", function() { return _internal_observable_ConnectableObservable__WEBPACK_IMPORTED_MODULE_1__[\"ConnectableObservable\"]; });\n\n/* harmony import */ var _internal_operators_groupBy__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./internal/operators/groupBy */ \"./node_modules/rxjs/_esm2015/internal/operators/groupBy.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"GroupedObservable\", function() { return _internal_operators_groupBy__WEBPACK_IMPORTED_MODULE_2__[\"GroupedObservable\"]; });\n\n/* harmony import */ var _internal_symbol_observable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./internal/symbol/observable */ \"./node_modules/rxjs/_esm2015/internal/symbol/observable.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"observable\", function() { return _internal_symbol_observable__WEBPACK_IMPORTED_MODULE_3__[\"observable\"]; });\n\n/* harmony import */ var _internal_Subject__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./internal/Subject */ \"./node_modules/rxjs/_esm2015/internal/Subject.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Subject\", function() { return _internal_Subject__WEBPACK_IMPORTED_MODULE_4__[\"Subject\"]; });\n\n/* harmony import */ var _internal_BehaviorSubject__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./internal/BehaviorSubject */ \"./node_modules/rxjs/_esm2015/internal/BehaviorSubject.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"BehaviorSubject\", function() { return _internal_BehaviorSubject__WEBPACK_IMPORTED_MODULE_5__[\"BehaviorSubject\"]; });\n\n/* harmony import */ var _internal_ReplaySubject__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./internal/ReplaySubject */ \"./node_modules/rxjs/_esm2015/internal/ReplaySubject.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ReplaySubject\", function() { return _internal_ReplaySubject__WEBPACK_IMPORTED_MODULE_6__[\"ReplaySubject\"]; });\n\n/* harmony import */ var _internal_AsyncSubject__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./internal/AsyncSubject */ \"./node_modules/rxjs/_esm2015/internal/AsyncSubject.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"AsyncSubject\", function() { return _internal_AsyncSubject__WEBPACK_IMPORTED_MODULE_7__[\"AsyncSubject\"]; });\n\n/* harmony import */ var _internal_scheduler_asap__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./internal/scheduler/asap */ \"./node_modules/rxjs/_esm2015/internal/scheduler/asap.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"asapScheduler\", function() { return _internal_scheduler_asap__WEBPACK_IMPORTED_MODULE_8__[\"asap\"]; });\n\n/* harmony import */ var _internal_scheduler_async__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./internal/scheduler/async */ \"./node_modules/rxjs/_esm2015/internal/scheduler/async.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"asyncScheduler\", function() { return _internal_scheduler_async__WEBPACK_IMPORTED_MODULE_9__[\"async\"]; });\n\n/* harmony import */ var _internal_scheduler_queue__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./internal/scheduler/queue */ \"./node_modules/rxjs/_esm2015/internal/scheduler/queue.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"queueScheduler\", function() { return _internal_scheduler_queue__WEBPACK_IMPORTED_MODULE_10__[\"queue\"]; });\n\n/* harmony import */ var _internal_scheduler_animationFrame__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./internal/scheduler/animationFrame */ \"./node_modules/rxjs/_esm2015/internal/scheduler/animationFrame.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"animationFrameScheduler\", function() { return _internal_scheduler_animationFrame__WEBPACK_IMPORTED_MODULE_11__[\"animationFrame\"]; });\n\n/* harmony import */ var _internal_scheduler_VirtualTimeScheduler__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./internal/scheduler/VirtualTimeScheduler */ \"./node_modules/rxjs/_esm2015/internal/scheduler/VirtualTimeScheduler.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"VirtualTimeScheduler\", function() { return _internal_scheduler_VirtualTimeScheduler__WEBPACK_IMPORTED_MODULE_12__[\"VirtualTimeScheduler\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"VirtualAction\", function() { return _internal_scheduler_VirtualTimeScheduler__WEBPACK_IMPORTED_MODULE_12__[\"VirtualAction\"]; });\n\n/* harmony import */ var _internal_Scheduler__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./internal/Scheduler */ \"./node_modules/rxjs/_esm2015/internal/Scheduler.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Scheduler\", function() { return _internal_Scheduler__WEBPACK_IMPORTED_MODULE_13__[\"Scheduler\"]; });\n\n/* harmony import */ var _internal_Subscription__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./internal/Subscription */ \"./node_modules/rxjs/_esm2015/internal/Subscription.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Subscription\", function() { return _internal_Subscription__WEBPACK_IMPORTED_MODULE_14__[\"Subscription\"]; });\n\n/* harmony import */ var _internal_Subscriber__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./internal/Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Subscriber\", function() { return _internal_Subscriber__WEBPACK_IMPORTED_MODULE_15__[\"Subscriber\"]; });\n\n/* harmony import */ var _internal_Notification__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./internal/Notification */ \"./node_modules/rxjs/_esm2015/internal/Notification.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Notification\", function() { return _internal_Notification__WEBPACK_IMPORTED_MODULE_16__[\"Notification\"]; });\n\n/* harmony import */ var _internal_util_pipe__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./internal/util/pipe */ \"./node_modules/rxjs/_esm2015/internal/util/pipe.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"pipe\", function() { return _internal_util_pipe__WEBPACK_IMPORTED_MODULE_17__[\"pipe\"]; });\n\n/* harmony import */ var _internal_util_noop__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./internal/util/noop */ \"./node_modules/rxjs/_esm2015/internal/util/noop.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"noop\", function() { return _internal_util_noop__WEBPACK_IMPORTED_MODULE_18__[\"noop\"]; });\n\n/* harmony import */ var _internal_util_identity__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./internal/util/identity */ \"./node_modules/rxjs/_esm2015/internal/util/identity.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"identity\", function() { return _internal_util_identity__WEBPACK_IMPORTED_MODULE_19__[\"identity\"]; });\n\n/* harmony import */ var _internal_util_isObservable__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./internal/util/isObservable */ \"./node_modules/rxjs/_esm2015/internal/util/isObservable.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isObservable\", function() { return _internal_util_isObservable__WEBPACK_IMPORTED_MODULE_20__[\"isObservable\"]; });\n\n/* harmony import */ var _internal_util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./internal/util/ArgumentOutOfRangeError */ \"./node_modules/rxjs/_esm2015/internal/util/ArgumentOutOfRangeError.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ArgumentOutOfRangeError\", function() { return _internal_util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_21__[\"ArgumentOutOfRangeError\"]; });\n\n/* harmony import */ var _internal_util_EmptyError__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./internal/util/EmptyError */ \"./node_modules/rxjs/_esm2015/internal/util/EmptyError.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"EmptyError\", function() { return _internal_util_EmptyError__WEBPACK_IMPORTED_MODULE_22__[\"EmptyError\"]; });\n\n/* harmony import */ var _internal_util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./internal/util/ObjectUnsubscribedError */ \"./node_modules/rxjs/_esm2015/internal/util/ObjectUnsubscribedError.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ObjectUnsubscribedError\", function() { return _internal_util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_23__[\"ObjectUnsubscribedError\"]; });\n\n/* harmony import */ var _internal_util_UnsubscriptionError__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./internal/util/UnsubscriptionError */ \"./node_modules/rxjs/_esm2015/internal/util/UnsubscriptionError.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"UnsubscriptionError\", function() { return _internal_util_UnsubscriptionError__WEBPACK_IMPORTED_MODULE_24__[\"UnsubscriptionError\"]; });\n\n/* harmony import */ var _internal_util_TimeoutError__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./internal/util/TimeoutError */ \"./node_modules/rxjs/_esm2015/internal/util/TimeoutError.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"TimeoutError\", function() { return _internal_util_TimeoutError__WEBPACK_IMPORTED_MODULE_25__[\"TimeoutError\"]; });\n\n/* harmony import */ var _internal_observable_bindCallback__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./internal/observable/bindCallback */ \"./node_modules/rxjs/_esm2015/internal/observable/bindCallback.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"bindCallback\", function() { return _internal_observable_bindCallback__WEBPACK_IMPORTED_MODULE_26__[\"bindCallback\"]; });\n\n/* harmony import */ var _internal_observable_bindNodeCallback__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./internal/observable/bindNodeCallback */ \"./node_modules/rxjs/_esm2015/internal/observable/bindNodeCallback.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"bindNodeCallback\", function() { return _internal_observable_bindNodeCallback__WEBPACK_IMPORTED_MODULE_27__[\"bindNodeCallback\"]; });\n\n/* harmony import */ var _internal_observable_combineLatest__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./internal/observable/combineLatest */ \"./node_modules/rxjs/_esm2015/internal/observable/combineLatest.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"combineLatest\", function() { return _internal_observable_combineLatest__WEBPACK_IMPORTED_MODULE_28__[\"combineLatest\"]; });\n\n/* harmony import */ var _internal_observable_concat__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./internal/observable/concat */ \"./node_modules/rxjs/_esm2015/internal/observable/concat.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"concat\", function() { return _internal_observable_concat__WEBPACK_IMPORTED_MODULE_29__[\"concat\"]; });\n\n/* harmony import */ var _internal_observable_defer__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./internal/observable/defer */ \"./node_modules/rxjs/_esm2015/internal/observable/defer.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"defer\", function() { return _internal_observable_defer__WEBPACK_IMPORTED_MODULE_30__[\"defer\"]; });\n\n/* harmony import */ var _internal_observable_empty__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./internal/observable/empty */ \"./node_modules/rxjs/_esm2015/internal/observable/empty.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"empty\", function() { return _internal_observable_empty__WEBPACK_IMPORTED_MODULE_31__[\"empty\"]; });\n\n/* harmony import */ var _internal_observable_forkJoin__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./internal/observable/forkJoin */ \"./node_modules/rxjs/_esm2015/internal/observable/forkJoin.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"forkJoin\", function() { return _internal_observable_forkJoin__WEBPACK_IMPORTED_MODULE_32__[\"forkJoin\"]; });\n\n/* harmony import */ var _internal_observable_from__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./internal/observable/from */ \"./node_modules/rxjs/_esm2015/internal/observable/from.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"from\", function() { return _internal_observable_from__WEBPACK_IMPORTED_MODULE_33__[\"from\"]; });\n\n/* harmony import */ var _internal_observable_fromEvent__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./internal/observable/fromEvent */ \"./node_modules/rxjs/_esm2015/internal/observable/fromEvent.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"fromEvent\", function() { return _internal_observable_fromEvent__WEBPACK_IMPORTED_MODULE_34__[\"fromEvent\"]; });\n\n/* harmony import */ var _internal_observable_fromEventPattern__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./internal/observable/fromEventPattern */ \"./node_modules/rxjs/_esm2015/internal/observable/fromEventPattern.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"fromEventPattern\", function() { return _internal_observable_fromEventPattern__WEBPACK_IMPORTED_MODULE_35__[\"fromEventPattern\"]; });\n\n/* harmony import */ var _internal_observable_generate__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./internal/observable/generate */ \"./node_modules/rxjs/_esm2015/internal/observable/generate.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"generate\", function() { return _internal_observable_generate__WEBPACK_IMPORTED_MODULE_36__[\"generate\"]; });\n\n/* harmony import */ var _internal_observable_iif__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./internal/observable/iif */ \"./node_modules/rxjs/_esm2015/internal/observable/iif.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"iif\", function() { return _internal_observable_iif__WEBPACK_IMPORTED_MODULE_37__[\"iif\"]; });\n\n/* harmony import */ var _internal_observable_interval__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./internal/observable/interval */ \"./node_modules/rxjs/_esm2015/internal/observable/interval.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"interval\", function() { return _internal_observable_interval__WEBPACK_IMPORTED_MODULE_38__[\"interval\"]; });\n\n/* harmony import */ var _internal_observable_merge__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./internal/observable/merge */ \"./node_modules/rxjs/_esm2015/internal/observable/merge.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"merge\", function() { return _internal_observable_merge__WEBPACK_IMPORTED_MODULE_39__[\"merge\"]; });\n\n/* harmony import */ var _internal_observable_never__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./internal/observable/never */ \"./node_modules/rxjs/_esm2015/internal/observable/never.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"never\", function() { return _internal_observable_never__WEBPACK_IMPORTED_MODULE_40__[\"never\"]; });\n\n/* harmony import */ var _internal_observable_of__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./internal/observable/of */ \"./node_modules/rxjs/_esm2015/internal/observable/of.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"of\", function() { return _internal_observable_of__WEBPACK_IMPORTED_MODULE_41__[\"of\"]; });\n\n/* harmony import */ var _internal_observable_onErrorResumeNext__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./internal/observable/onErrorResumeNext */ \"./node_modules/rxjs/_esm2015/internal/observable/onErrorResumeNext.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"onErrorResumeNext\", function() { return _internal_observable_onErrorResumeNext__WEBPACK_IMPORTED_MODULE_42__[\"onErrorResumeNext\"]; });\n\n/* harmony import */ var _internal_observable_pairs__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./internal/observable/pairs */ \"./node_modules/rxjs/_esm2015/internal/observable/pairs.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"pairs\", function() { return _internal_observable_pairs__WEBPACK_IMPORTED_MODULE_43__[\"pairs\"]; });\n\n/* harmony import */ var _internal_observable_race__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./internal/observable/race */ \"./node_modules/rxjs/_esm2015/internal/observable/race.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"race\", function() { return _internal_observable_race__WEBPACK_IMPORTED_MODULE_44__[\"race\"]; });\n\n/* harmony import */ var _internal_observable_range__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./internal/observable/range */ \"./node_modules/rxjs/_esm2015/internal/observable/range.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"range\", function() { return _internal_observable_range__WEBPACK_IMPORTED_MODULE_45__[\"range\"]; });\n\n/* harmony import */ var _internal_observable_throwError__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./internal/observable/throwError */ \"./node_modules/rxjs/_esm2015/internal/observable/throwError.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"throwError\", function() { return _internal_observable_throwError__WEBPACK_IMPORTED_MODULE_46__[\"throwError\"]; });\n\n/* harmony import */ var _internal_observable_timer__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./internal/observable/timer */ \"./node_modules/rxjs/_esm2015/internal/observable/timer.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"timer\", function() { return _internal_observable_timer__WEBPACK_IMPORTED_MODULE_47__[\"timer\"]; });\n\n/* harmony import */ var _internal_observable_using__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./internal/observable/using */ \"./node_modules/rxjs/_esm2015/internal/observable/using.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"using\", function() { return _internal_observable_using__WEBPACK_IMPORTED_MODULE_48__[\"using\"]; });\n\n/* harmony import */ var _internal_observable_zip__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./internal/observable/zip */ \"./node_modules/rxjs/_esm2015/internal/observable/zip.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"zip\", function() { return _internal_observable_zip__WEBPACK_IMPORTED_MODULE_49__[\"zip\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"EMPTY\", function() { return _internal_observable_empty__WEBPACK_IMPORTED_MODULE_31__[\"EMPTY\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"NEVER\", function() { return _internal_observable_never__WEBPACK_IMPORTED_MODULE_40__[\"NEVER\"]; });\n\n/* harmony import */ var _internal_config__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./internal/config */ \"./node_modules/rxjs/_esm2015/internal/config.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"config\", function() { return _internal_config__WEBPACK_IMPORTED_MODULE_50__[\"config\"]; });\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n//# sourceMappingURL=index.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/AsyncSubject.js\":\n/*!*************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/AsyncSubject.js ***!\n  \\*************************************************************/\n/*! exports provided: AsyncSubject */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AsyncSubject\", function() { return AsyncSubject; });\n/* harmony import */ var _Subject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Subject */ \"./node_modules/rxjs/_esm2015/internal/Subject.js\");\n/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Subscription */ \"./node_modules/rxjs/_esm2015/internal/Subscription.js\");\n\n\nclass AsyncSubject extends _Subject__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"] {\n    constructor() {\n        super(...arguments);\n        this.value = null;\n        this.hasNext = false;\n        this.hasCompleted = false;\n    }\n    _subscribe(subscriber) {\n        if (this.hasError) {\n            subscriber.error(this.thrownError);\n            return _Subscription__WEBPACK_IMPORTED_MODULE_1__[\"Subscription\"].EMPTY;\n        }\n        else if (this.hasCompleted && this.hasNext) {\n            subscriber.next(this.value);\n            subscriber.complete();\n            return _Subscription__WEBPACK_IMPORTED_MODULE_1__[\"Subscription\"].EMPTY;\n        }\n        return super._subscribe(subscriber);\n    }\n    next(value) {\n        if (!this.hasCompleted) {\n            this.value = value;\n            this.hasNext = true;\n        }\n    }\n    error(error) {\n        if (!this.hasCompleted) {\n            super.error(error);\n        }\n    }\n    complete() {\n        this.hasCompleted = true;\n        if (this.hasNext) {\n            super.next(this.value);\n        }\n        super.complete();\n    }\n}\n//# sourceMappingURL=AsyncSubject.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/BehaviorSubject.js\":\n/*!****************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/BehaviorSubject.js ***!\n  \\****************************************************************/\n/*! exports provided: BehaviorSubject */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BehaviorSubject\", function() { return BehaviorSubject; });\n/* harmony import */ var _Subject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Subject */ \"./node_modules/rxjs/_esm2015/internal/Subject.js\");\n/* harmony import */ var _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./util/ObjectUnsubscribedError */ \"./node_modules/rxjs/_esm2015/internal/util/ObjectUnsubscribedError.js\");\n\n\nclass BehaviorSubject extends _Subject__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"] {\n    constructor(_value) {\n        super();\n        this._value = _value;\n    }\n    get value() {\n        return this.getValue();\n    }\n    _subscribe(subscriber) {\n        const subscription = super._subscribe(subscriber);\n        if (subscription && !subscription.closed) {\n            subscriber.next(this._value);\n        }\n        return subscription;\n    }\n    getValue() {\n        if (this.hasError) {\n            throw this.thrownError;\n        }\n        else if (this.closed) {\n            throw new _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_1__[\"ObjectUnsubscribedError\"]();\n        }\n        else {\n            return this._value;\n        }\n    }\n    next(value) {\n        super.next(this._value = value);\n    }\n}\n//# sourceMappingURL=BehaviorSubject.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/InnerSubscriber.js\":\n/*!****************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/InnerSubscriber.js ***!\n  \\****************************************************************/\n/*! exports provided: InnerSubscriber */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"InnerSubscriber\", function() { return InnerSubscriber; });\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\nclass InnerSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"] {\n    constructor(parent, outerValue, outerIndex) {\n        super();\n        this.parent = parent;\n        this.outerValue = outerValue;\n        this.outerIndex = outerIndex;\n        this.index = 0;\n    }\n    _next(value) {\n        this.parent.notifyNext(this.outerValue, value, this.outerIndex, this.index++, this);\n    }\n    _error(error) {\n        this.parent.notifyError(error, this);\n        this.unsubscribe();\n    }\n    _complete() {\n        this.parent.notifyComplete(this);\n        this.unsubscribe();\n    }\n}\n//# sourceMappingURL=InnerSubscriber.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/Notification.js\":\n/*!*************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/Notification.js ***!\n  \\*************************************************************/\n/*! exports provided: NotificationKind, Notification */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NotificationKind\", function() { return NotificationKind; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Notification\", function() { return Notification; });\n/* harmony import */ var _observable_empty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./observable/empty */ \"./node_modules/rxjs/_esm2015/internal/observable/empty.js\");\n/* harmony import */ var _observable_of__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./observable/of */ \"./node_modules/rxjs/_esm2015/internal/observable/of.js\");\n/* harmony import */ var _observable_throwError__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./observable/throwError */ \"./node_modules/rxjs/_esm2015/internal/observable/throwError.js\");\n\n\n\nvar NotificationKind;\n(function (NotificationKind) {\n    NotificationKind[\"NEXT\"] = \"N\";\n    NotificationKind[\"ERROR\"] = \"E\";\n    NotificationKind[\"COMPLETE\"] = \"C\";\n})(NotificationKind || (NotificationKind = {}));\nclass Notification {\n    constructor(kind, value, error) {\n        this.kind = kind;\n        this.value = value;\n        this.error = error;\n        this.hasValue = kind === \"N\";\n    }\n    observe(observer) {\n        switch (this.kind) {\n            case \"N\":\n                return observer.next && observer.next(this.value);\n            case \"E\":\n                return observer.error && observer.error(this.error);\n            case \"C\":\n                return observer.complete && observer.complete();\n        }\n    }\n    do(next, error, complete) {\n        const kind = this.kind;\n        switch (kind) {\n            case \"N\":\n                return next && next(this.value);\n            case \"E\":\n                return error && error(this.error);\n            case \"C\":\n                return complete && complete();\n        }\n    }\n    accept(nextOrObserver, error, complete) {\n        if (nextOrObserver && typeof nextOrObserver.next === 'function') {\n            return this.observe(nextOrObserver);\n        }\n        else {\n            return this.do(nextOrObserver, error, complete);\n        }\n    }\n    toObservable() {\n        const kind = this.kind;\n        switch (kind) {\n            case \"N\":\n                return Object(_observable_of__WEBPACK_IMPORTED_MODULE_1__[\"of\"])(this.value);\n            case \"E\":\n                return Object(_observable_throwError__WEBPACK_IMPORTED_MODULE_2__[\"throwError\"])(this.error);\n            case \"C\":\n                return Object(_observable_empty__WEBPACK_IMPORTED_MODULE_0__[\"empty\"])();\n        }\n        throw new Error('unexpected notification kind value');\n    }\n    static createNext(value) {\n        if (typeof value !== 'undefined') {\n            return new Notification(\"N\", value);\n        }\n        return Notification.undefinedValueNotification;\n    }\n    static createError(err) {\n        return new Notification(\"E\", undefined, err);\n    }\n    static createComplete() {\n        return Notification.completeNotification;\n    }\n}\nNotification.completeNotification = new Notification(\"C\");\nNotification.undefinedValueNotification = new Notification(\"N\", undefined);\n//# sourceMappingURL=Notification.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/Observable.js\":\n/*!***********************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/Observable.js ***!\n  \\***********************************************************/\n/*! exports provided: Observable */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Observable\", function() { return Observable; });\n/* harmony import */ var _util_canReportError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./util/canReportError */ \"./node_modules/rxjs/_esm2015/internal/util/canReportError.js\");\n/* harmony import */ var _util_toSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./util/toSubscriber */ \"./node_modules/rxjs/_esm2015/internal/util/toSubscriber.js\");\n/* harmony import */ var _internal_symbol_observable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../internal/symbol/observable */ \"./node_modules/rxjs/_esm2015/internal/symbol/observable.js\");\n/* harmony import */ var _util_pipe__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./util/pipe */ \"./node_modules/rxjs/_esm2015/internal/util/pipe.js\");\n/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./config */ \"./node_modules/rxjs/_esm2015/internal/config.js\");\n\n\n\n\n\nclass Observable {\n    constructor(subscribe) {\n        this._isScalar = false;\n        if (subscribe) {\n            this._subscribe = subscribe;\n        }\n    }\n    lift(operator) {\n        const observable = new Observable();\n        observable.source = this;\n        observable.operator = operator;\n        return observable;\n    }\n    subscribe(observerOrNext, error, complete) {\n        const { operator } = this;\n        const sink = Object(_util_toSubscriber__WEBPACK_IMPORTED_MODULE_1__[\"toSubscriber\"])(observerOrNext, error, complete);\n        if (operator) {\n            sink.add(operator.call(sink, this.source));\n        }\n        else {\n            sink.add(this.source || (_config__WEBPACK_IMPORTED_MODULE_4__[\"config\"].useDeprecatedSynchronousErrorHandling && !sink.syncErrorThrowable) ?\n                this._subscribe(sink) :\n                this._trySubscribe(sink));\n        }\n        if (_config__WEBPACK_IMPORTED_MODULE_4__[\"config\"].useDeprecatedSynchronousErrorHandling) {\n            if (sink.syncErrorThrowable) {\n                sink.syncErrorThrowable = false;\n                if (sink.syncErrorThrown) {\n                    throw sink.syncErrorValue;\n                }\n            }\n        }\n        return sink;\n    }\n    _trySubscribe(sink) {\n        try {\n            return this._subscribe(sink);\n        }\n        catch (err) {\n            if (_config__WEBPACK_IMPORTED_MODULE_4__[\"config\"].useDeprecatedSynchronousErrorHandling) {\n                sink.syncErrorThrown = true;\n                sink.syncErrorValue = err;\n            }\n            if (Object(_util_canReportError__WEBPACK_IMPORTED_MODULE_0__[\"canReportError\"])(sink)) {\n                sink.error(err);\n            }\n            else {\n                console.warn(err);\n            }\n        }\n    }\n    forEach(next, promiseCtor) {\n        promiseCtor = getPromiseCtor(promiseCtor);\n        return new promiseCtor((resolve, reject) => {\n            let subscription;\n            subscription = this.subscribe((value) => {\n                try {\n                    next(value);\n                }\n                catch (err) {\n                    reject(err);\n                    if (subscription) {\n                        subscription.unsubscribe();\n                    }\n                }\n            }, reject, resolve);\n        });\n    }\n    _subscribe(subscriber) {\n        const { source } = this;\n        return source && source.subscribe(subscriber);\n    }\n    [_internal_symbol_observable__WEBPACK_IMPORTED_MODULE_2__[\"observable\"]]() {\n        return this;\n    }\n    pipe(...operations) {\n        if (operations.length === 0) {\n            return this;\n        }\n        return Object(_util_pipe__WEBPACK_IMPORTED_MODULE_3__[\"pipeFromArray\"])(operations)(this);\n    }\n    toPromise(promiseCtor) {\n        promiseCtor = getPromiseCtor(promiseCtor);\n        return new promiseCtor((resolve, reject) => {\n            let value;\n            this.subscribe((x) => value = x, (err) => reject(err), () => resolve(value));\n        });\n    }\n}\nObservable.create = (subscribe) => {\n    return new Observable(subscribe);\n};\nfunction getPromiseCtor(promiseCtor) {\n    if (!promiseCtor) {\n        promiseCtor = _config__WEBPACK_IMPORTED_MODULE_4__[\"config\"].Promise || Promise;\n    }\n    if (!promiseCtor) {\n        throw new Error('no Promise impl found');\n    }\n    return promiseCtor;\n}\n//# sourceMappingURL=Observable.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/Observer.js\":\n/*!*********************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/Observer.js ***!\n  \\*********************************************************/\n/*! exports provided: empty */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"empty\", function() { return empty; });\n/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./config */ \"./node_modules/rxjs/_esm2015/internal/config.js\");\n/* harmony import */ var _util_hostReportError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./util/hostReportError */ \"./node_modules/rxjs/_esm2015/internal/util/hostReportError.js\");\n\n\nconst empty = {\n    closed: true,\n    next(value) { },\n    error(err) {\n        if (_config__WEBPACK_IMPORTED_MODULE_0__[\"config\"].useDeprecatedSynchronousErrorHandling) {\n            throw err;\n        }\n        else {\n            Object(_util_hostReportError__WEBPACK_IMPORTED_MODULE_1__[\"hostReportError\"])(err);\n        }\n    },\n    complete() { }\n};\n//# sourceMappingURL=Observer.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\":\n/*!****************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js ***!\n  \\****************************************************************/\n/*! exports provided: OuterSubscriber */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"OuterSubscriber\", function() { return OuterSubscriber; });\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\nclass OuterSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"] {\n    notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n        this.destination.next(innerValue);\n    }\n    notifyError(error, innerSub) {\n        this.destination.error(error);\n    }\n    notifyComplete(innerSub) {\n        this.destination.complete();\n    }\n}\n//# sourceMappingURL=OuterSubscriber.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/ReplaySubject.js\":\n/*!**************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/ReplaySubject.js ***!\n  \\**************************************************************/\n/*! exports provided: ReplaySubject */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ReplaySubject\", function() { return ReplaySubject; });\n/* harmony import */ var _Subject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Subject */ \"./node_modules/rxjs/_esm2015/internal/Subject.js\");\n/* harmony import */ var _scheduler_queue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./scheduler/queue */ \"./node_modules/rxjs/_esm2015/internal/scheduler/queue.js\");\n/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Subscription */ \"./node_modules/rxjs/_esm2015/internal/Subscription.js\");\n/* harmony import */ var _operators_observeOn__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./operators/observeOn */ \"./node_modules/rxjs/_esm2015/internal/operators/observeOn.js\");\n/* harmony import */ var _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./util/ObjectUnsubscribedError */ \"./node_modules/rxjs/_esm2015/internal/util/ObjectUnsubscribedError.js\");\n/* harmony import */ var _SubjectSubscription__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./SubjectSubscription */ \"./node_modules/rxjs/_esm2015/internal/SubjectSubscription.js\");\n\n\n\n\n\n\nclass ReplaySubject extends _Subject__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"] {\n    constructor(bufferSize = Number.POSITIVE_INFINITY, windowTime = Number.POSITIVE_INFINITY, scheduler) {\n        super();\n        this.scheduler = scheduler;\n        this._events = [];\n        this._infiniteTimeWindow = false;\n        this._bufferSize = bufferSize < 1 ? 1 : bufferSize;\n        this._windowTime = windowTime < 1 ? 1 : windowTime;\n        if (windowTime === Number.POSITIVE_INFINITY) {\n            this._infiniteTimeWindow = true;\n            this.next = this.nextInfiniteTimeWindow;\n        }\n        else {\n            this.next = this.nextTimeWindow;\n        }\n    }\n    nextInfiniteTimeWindow(value) {\n        const _events = this._events;\n        _events.push(value);\n        if (_events.length > this._bufferSize) {\n            _events.shift();\n        }\n        super.next(value);\n    }\n    nextTimeWindow(value) {\n        this._events.push(new ReplayEvent(this._getNow(), value));\n        this._trimBufferThenGetEvents();\n        super.next(value);\n    }\n    _subscribe(subscriber) {\n        const _infiniteTimeWindow = this._infiniteTimeWindow;\n        const _events = _infiniteTimeWindow ? this._events : this._trimBufferThenGetEvents();\n        const scheduler = this.scheduler;\n        const len = _events.length;\n        let subscription;\n        if (this.closed) {\n            throw new _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_4__[\"ObjectUnsubscribedError\"]();\n        }\n        else if (this.isStopped || this.hasError) {\n            subscription = _Subscription__WEBPACK_IMPORTED_MODULE_2__[\"Subscription\"].EMPTY;\n        }\n        else {\n            this.observers.push(subscriber);\n            subscription = new _SubjectSubscription__WEBPACK_IMPORTED_MODULE_5__[\"SubjectSubscription\"](this, subscriber);\n        }\n        if (scheduler) {\n            subscriber.add(subscriber = new _operators_observeOn__WEBPACK_IMPORTED_MODULE_3__[\"ObserveOnSubscriber\"](subscriber, scheduler));\n        }\n        if (_infiniteTimeWindow) {\n            for (let i = 0; i < len && !subscriber.closed; i++) {\n                subscriber.next(_events[i]);\n            }\n        }\n        else {\n            for (let i = 0; i < len && !subscriber.closed; i++) {\n                subscriber.next(_events[i].value);\n            }\n        }\n        if (this.hasError) {\n            subscriber.error(this.thrownError);\n        }\n        else if (this.isStopped) {\n            subscriber.complete();\n        }\n        return subscription;\n    }\n    _getNow() {\n        return (this.scheduler || _scheduler_queue__WEBPACK_IMPORTED_MODULE_1__[\"queue\"]).now();\n    }\n    _trimBufferThenGetEvents() {\n        const now = this._getNow();\n        const _bufferSize = this._bufferSize;\n        const _windowTime = this._windowTime;\n        const _events = this._events;\n        const eventsCount = _events.length;\n        let spliceCount = 0;\n        while (spliceCount < eventsCount) {\n            if ((now - _events[spliceCount].time) < _windowTime) {\n                break;\n            }\n            spliceCount++;\n        }\n        if (eventsCount > _bufferSize) {\n            spliceCount = Math.max(spliceCount, eventsCount - _bufferSize);\n        }\n        if (spliceCount > 0) {\n            _events.splice(0, spliceCount);\n        }\n        return _events;\n    }\n}\nclass ReplayEvent {\n    constructor(time, value) {\n        this.time = time;\n        this.value = value;\n    }\n}\n//# sourceMappingURL=ReplaySubject.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/Scheduler.js\":\n/*!**********************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/Scheduler.js ***!\n  \\**********************************************************/\n/*! exports provided: Scheduler */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Scheduler\", function() { return Scheduler; });\nclass Scheduler {\n    constructor(SchedulerAction, now = Scheduler.now) {\n        this.SchedulerAction = SchedulerAction;\n        this.now = now;\n    }\n    schedule(work, delay = 0, state) {\n        return new this.SchedulerAction(this, work).schedule(state, delay);\n    }\n}\nScheduler.now = () => Date.now();\n//# sourceMappingURL=Scheduler.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/Subject.js\":\n/*!********************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/Subject.js ***!\n  \\********************************************************/\n/*! exports provided: SubjectSubscriber, Subject, AnonymousSubject */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SubjectSubscriber\", function() { return SubjectSubscriber; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Subject\", function() { return Subject; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AnonymousSubject\", function() { return AnonymousSubject; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Observable */ \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Subscription */ \"./node_modules/rxjs/_esm2015/internal/Subscription.js\");\n/* harmony import */ var _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./util/ObjectUnsubscribedError */ \"./node_modules/rxjs/_esm2015/internal/util/ObjectUnsubscribedError.js\");\n/* harmony import */ var _SubjectSubscription__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./SubjectSubscription */ \"./node_modules/rxjs/_esm2015/internal/SubjectSubscription.js\");\n/* harmony import */ var _internal_symbol_rxSubscriber__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../internal/symbol/rxSubscriber */ \"./node_modules/rxjs/_esm2015/internal/symbol/rxSubscriber.js\");\n\n\n\n\n\n\nclass SubjectSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"] {\n    constructor(destination) {\n        super(destination);\n        this.destination = destination;\n    }\n}\nclass Subject extends _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"] {\n    constructor() {\n        super();\n        this.observers = [];\n        this.closed = false;\n        this.isStopped = false;\n        this.hasError = false;\n        this.thrownError = null;\n    }\n    [_internal_symbol_rxSubscriber__WEBPACK_IMPORTED_MODULE_5__[\"rxSubscriber\"]]() {\n        return new SubjectSubscriber(this);\n    }\n    lift(operator) {\n        const subject = new AnonymousSubject(this, this);\n        subject.operator = operator;\n        return subject;\n    }\n    next(value) {\n        if (this.closed) {\n            throw new _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_3__[\"ObjectUnsubscribedError\"]();\n        }\n        if (!this.isStopped) {\n            const { observers } = this;\n            const len = observers.length;\n            const copy = observers.slice();\n            for (let i = 0; i < len; i++) {\n                copy[i].next(value);\n            }\n        }\n    }\n    error(err) {\n        if (this.closed) {\n            throw new _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_3__[\"ObjectUnsubscribedError\"]();\n        }\n        this.hasError = true;\n        this.thrownError = err;\n        this.isStopped = true;\n        const { observers } = this;\n        const len = observers.length;\n        const copy = observers.slice();\n        for (let i = 0; i < len; i++) {\n            copy[i].error(err);\n        }\n        this.observers.length = 0;\n    }\n    complete() {\n        if (this.closed) {\n            throw new _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_3__[\"ObjectUnsubscribedError\"]();\n        }\n        this.isStopped = true;\n        const { observers } = this;\n        const len = observers.length;\n        const copy = observers.slice();\n        for (let i = 0; i < len; i++) {\n            copy[i].complete();\n        }\n        this.observers.length = 0;\n    }\n    unsubscribe() {\n        this.isStopped = true;\n        this.closed = true;\n        this.observers = null;\n    }\n    _trySubscribe(subscriber) {\n        if (this.closed) {\n            throw new _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_3__[\"ObjectUnsubscribedError\"]();\n        }\n        else {\n            return super._trySubscribe(subscriber);\n        }\n    }\n    _subscribe(subscriber) {\n        if (this.closed) {\n            throw new _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_3__[\"ObjectUnsubscribedError\"]();\n        }\n        else if (this.hasError) {\n            subscriber.error(this.thrownError);\n            return _Subscription__WEBPACK_IMPORTED_MODULE_2__[\"Subscription\"].EMPTY;\n        }\n        else if (this.isStopped) {\n            subscriber.complete();\n            return _Subscription__WEBPACK_IMPORTED_MODULE_2__[\"Subscription\"].EMPTY;\n        }\n        else {\n            this.observers.push(subscriber);\n            return new _SubjectSubscription__WEBPACK_IMPORTED_MODULE_4__[\"SubjectSubscription\"](this, subscriber);\n        }\n    }\n    asObservable() {\n        const observable = new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"]();\n        observable.source = this;\n        return observable;\n    }\n}\nSubject.create = (destination, source) => {\n    return new AnonymousSubject(destination, source);\n};\nclass AnonymousSubject extends Subject {\n    constructor(destination, source) {\n        super();\n        this.destination = destination;\n        this.source = source;\n    }\n    next(value) {\n        const { destination } = this;\n        if (destination && destination.next) {\n            destination.next(value);\n        }\n    }\n    error(err) {\n        const { destination } = this;\n        if (destination && destination.error) {\n            this.destination.error(err);\n        }\n    }\n    complete() {\n        const { destination } = this;\n        if (destination && destination.complete) {\n            this.destination.complete();\n        }\n    }\n    _subscribe(subscriber) {\n        const { source } = this;\n        if (source) {\n            return this.source.subscribe(subscriber);\n        }\n        else {\n            return _Subscription__WEBPACK_IMPORTED_MODULE_2__[\"Subscription\"].EMPTY;\n        }\n    }\n}\n//# sourceMappingURL=Subject.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/SubjectSubscription.js\":\n/*!********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/SubjectSubscription.js ***!\n  \\********************************************************************/\n/*! exports provided: SubjectSubscription */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SubjectSubscription\", function() { return SubjectSubscription; });\n/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Subscription */ \"./node_modules/rxjs/_esm2015/internal/Subscription.js\");\n\nclass SubjectSubscription extends _Subscription__WEBPACK_IMPORTED_MODULE_0__[\"Subscription\"] {\n    constructor(subject, subscriber) {\n        super();\n        this.subject = subject;\n        this.subscriber = subscriber;\n        this.closed = false;\n    }\n    unsubscribe() {\n        if (this.closed) {\n            return;\n        }\n        this.closed = true;\n        const subject = this.subject;\n        const observers = subject.observers;\n        this.subject = null;\n        if (!observers || observers.length === 0 || subject.isStopped || subject.closed) {\n            return;\n        }\n        const subscriberIndex = observers.indexOf(this.subscriber);\n        if (subscriberIndex !== -1) {\n            observers.splice(subscriberIndex, 1);\n        }\n    }\n}\n//# sourceMappingURL=SubjectSubscription.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\":\n/*!***********************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/Subscriber.js ***!\n  \\***********************************************************/\n/*! exports provided: Subscriber, SafeSubscriber */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Subscriber\", function() { return Subscriber; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SafeSubscriber\", function() { return SafeSubscriber; });\n/* harmony import */ var _util_isFunction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./util/isFunction */ \"./node_modules/rxjs/_esm2015/internal/util/isFunction.js\");\n/* harmony import */ var _Observer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Observer */ \"./node_modules/rxjs/_esm2015/internal/Observer.js\");\n/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Subscription */ \"./node_modules/rxjs/_esm2015/internal/Subscription.js\");\n/* harmony import */ var _internal_symbol_rxSubscriber__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../internal/symbol/rxSubscriber */ \"./node_modules/rxjs/_esm2015/internal/symbol/rxSubscriber.js\");\n/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./config */ \"./node_modules/rxjs/_esm2015/internal/config.js\");\n/* harmony import */ var _util_hostReportError__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./util/hostReportError */ \"./node_modules/rxjs/_esm2015/internal/util/hostReportError.js\");\n\n\n\n\n\n\nclass Subscriber extends _Subscription__WEBPACK_IMPORTED_MODULE_2__[\"Subscription\"] {\n    constructor(destinationOrNext, error, complete) {\n        super();\n        this.syncErrorValue = null;\n        this.syncErrorThrown = false;\n        this.syncErrorThrowable = false;\n        this.isStopped = false;\n        switch (arguments.length) {\n            case 0:\n                this.destination = _Observer__WEBPACK_IMPORTED_MODULE_1__[\"empty\"];\n                break;\n            case 1:\n                if (!destinationOrNext) {\n                    this.destination = _Observer__WEBPACK_IMPORTED_MODULE_1__[\"empty\"];\n                    break;\n                }\n                if (typeof destinationOrNext === 'object') {\n                    if (destinationOrNext instanceof Subscriber) {\n                        this.syncErrorThrowable = destinationOrNext.syncErrorThrowable;\n                        this.destination = destinationOrNext;\n                        destinationOrNext.add(this);\n                    }\n                    else {\n                        this.syncErrorThrowable = true;\n                        this.destination = new SafeSubscriber(this, destinationOrNext);\n                    }\n                    break;\n                }\n            default:\n                this.syncErrorThrowable = true;\n                this.destination = new SafeSubscriber(this, destinationOrNext, error, complete);\n                break;\n        }\n    }\n    [_internal_symbol_rxSubscriber__WEBPACK_IMPORTED_MODULE_3__[\"rxSubscriber\"]]() { return this; }\n    static create(next, error, complete) {\n        const subscriber = new Subscriber(next, error, complete);\n        subscriber.syncErrorThrowable = false;\n        return subscriber;\n    }\n    next(value) {\n        if (!this.isStopped) {\n            this._next(value);\n        }\n    }\n    error(err) {\n        if (!this.isStopped) {\n            this.isStopped = true;\n            this._error(err);\n        }\n    }\n    complete() {\n        if (!this.isStopped) {\n            this.isStopped = true;\n            this._complete();\n        }\n    }\n    unsubscribe() {\n        if (this.closed) {\n            return;\n        }\n        this.isStopped = true;\n        super.unsubscribe();\n    }\n    _next(value) {\n        this.destination.next(value);\n    }\n    _error(err) {\n        this.destination.error(err);\n        this.unsubscribe();\n    }\n    _complete() {\n        this.destination.complete();\n        this.unsubscribe();\n    }\n    _unsubscribeAndRecycle() {\n        const { _parent, _parents } = this;\n        this._parent = null;\n        this._parents = null;\n        this.unsubscribe();\n        this.closed = false;\n        this.isStopped = false;\n        this._parent = _parent;\n        this._parents = _parents;\n        return this;\n    }\n}\nclass SafeSubscriber extends Subscriber {\n    constructor(_parentSubscriber, observerOrNext, error, complete) {\n        super();\n        this._parentSubscriber = _parentSubscriber;\n        let next;\n        let context = this;\n        if (Object(_util_isFunction__WEBPACK_IMPORTED_MODULE_0__[\"isFunction\"])(observerOrNext)) {\n            next = observerOrNext;\n        }\n        else if (observerOrNext) {\n            next = observerOrNext.next;\n            error = observerOrNext.error;\n            complete = observerOrNext.complete;\n            if (observerOrNext !== _Observer__WEBPACK_IMPORTED_MODULE_1__[\"empty\"]) {\n                context = Object.create(observerOrNext);\n                if (Object(_util_isFunction__WEBPACK_IMPORTED_MODULE_0__[\"isFunction\"])(context.unsubscribe)) {\n                    this.add(context.unsubscribe.bind(context));\n                }\n                context.unsubscribe = this.unsubscribe.bind(this);\n            }\n        }\n        this._context = context;\n        this._next = next;\n        this._error = error;\n        this._complete = complete;\n    }\n    next(value) {\n        if (!this.isStopped && this._next) {\n            const { _parentSubscriber } = this;\n            if (!_config__WEBPACK_IMPORTED_MODULE_4__[\"config\"].useDeprecatedSynchronousErrorHandling || !_parentSubscriber.syncErrorThrowable) {\n                this.__tryOrUnsub(this._next, value);\n            }\n            else if (this.__tryOrSetError(_parentSubscriber, this._next, value)) {\n                this.unsubscribe();\n            }\n        }\n    }\n    error(err) {\n        if (!this.isStopped) {\n            const { _parentSubscriber } = this;\n            const { useDeprecatedSynchronousErrorHandling } = _config__WEBPACK_IMPORTED_MODULE_4__[\"config\"];\n            if (this._error) {\n                if (!useDeprecatedSynchronousErrorHandling || !_parentSubscriber.syncErrorThrowable) {\n                    this.__tryOrUnsub(this._error, err);\n                    this.unsubscribe();\n                }\n                else {\n                    this.__tryOrSetError(_parentSubscriber, this._error, err);\n                    this.unsubscribe();\n                }\n            }\n            else if (!_parentSubscriber.syncErrorThrowable) {\n                this.unsubscribe();\n                if (useDeprecatedSynchronousErrorHandling) {\n                    throw err;\n                }\n                Object(_util_hostReportError__WEBPACK_IMPORTED_MODULE_5__[\"hostReportError\"])(err);\n            }\n            else {\n                if (useDeprecatedSynchronousErrorHandling) {\n                    _parentSubscriber.syncErrorValue = err;\n                    _parentSubscriber.syncErrorThrown = true;\n                }\n                else {\n                    Object(_util_hostReportError__WEBPACK_IMPORTED_MODULE_5__[\"hostReportError\"])(err);\n                }\n                this.unsubscribe();\n            }\n        }\n    }\n    complete() {\n        if (!this.isStopped) {\n            const { _parentSubscriber } = this;\n            if (this._complete) {\n                const wrappedComplete = () => this._complete.call(this._context);\n                if (!_config__WEBPACK_IMPORTED_MODULE_4__[\"config\"].useDeprecatedSynchronousErrorHandling || !_parentSubscriber.syncErrorThrowable) {\n                    this.__tryOrUnsub(wrappedComplete);\n                    this.unsubscribe();\n                }\n                else {\n                    this.__tryOrSetError(_parentSubscriber, wrappedComplete);\n                    this.unsubscribe();\n                }\n            }\n            else {\n                this.unsubscribe();\n            }\n        }\n    }\n    __tryOrUnsub(fn, value) {\n        try {\n            fn.call(this._context, value);\n        }\n        catch (err) {\n            this.unsubscribe();\n            if (_config__WEBPACK_IMPORTED_MODULE_4__[\"config\"].useDeprecatedSynchronousErrorHandling) {\n                throw err;\n            }\n            else {\n                Object(_util_hostReportError__WEBPACK_IMPORTED_MODULE_5__[\"hostReportError\"])(err);\n            }\n        }\n    }\n    __tryOrSetError(parent, fn, value) {\n        if (!_config__WEBPACK_IMPORTED_MODULE_4__[\"config\"].useDeprecatedSynchronousErrorHandling) {\n            throw new Error('bad call');\n        }\n        try {\n            fn.call(this._context, value);\n        }\n        catch (err) {\n            if (_config__WEBPACK_IMPORTED_MODULE_4__[\"config\"].useDeprecatedSynchronousErrorHandling) {\n                parent.syncErrorValue = err;\n                parent.syncErrorThrown = true;\n                return true;\n            }\n            else {\n                Object(_util_hostReportError__WEBPACK_IMPORTED_MODULE_5__[\"hostReportError\"])(err);\n                return true;\n            }\n        }\n        return false;\n    }\n    _unsubscribe() {\n        const { _parentSubscriber } = this;\n        this._context = null;\n        this._parentSubscriber = null;\n        _parentSubscriber.unsubscribe();\n    }\n}\n//# sourceMappingURL=Subscriber.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/Subscription.js\":\n/*!*************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/Subscription.js ***!\n  \\*************************************************************/\n/*! exports provided: Subscription */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Subscription\", function() { return Subscription; });\n/* harmony import */ var _util_isArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./util/isArray */ \"./node_modules/rxjs/_esm2015/internal/util/isArray.js\");\n/* harmony import */ var _util_isObject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./util/isObject */ \"./node_modules/rxjs/_esm2015/internal/util/isObject.js\");\n/* harmony import */ var _util_isFunction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./util/isFunction */ \"./node_modules/rxjs/_esm2015/internal/util/isFunction.js\");\n/* harmony import */ var _util_UnsubscriptionError__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./util/UnsubscriptionError */ \"./node_modules/rxjs/_esm2015/internal/util/UnsubscriptionError.js\");\n\n\n\n\nclass Subscription {\n    constructor(unsubscribe) {\n        this.closed = false;\n        this._parent = null;\n        this._parents = null;\n        this._subscriptions = null;\n        if (unsubscribe) {\n            this._unsubscribe = unsubscribe;\n        }\n    }\n    unsubscribe() {\n        let hasErrors = false;\n        let errors;\n        if (this.closed) {\n            return;\n        }\n        let { _parent, _parents, _unsubscribe, _subscriptions } = this;\n        this.closed = true;\n        this._parent = null;\n        this._parents = null;\n        this._subscriptions = null;\n        let index = -1;\n        let len = _parents ? _parents.length : 0;\n        while (_parent) {\n            _parent.remove(this);\n            _parent = ++index < len && _parents[index] || null;\n        }\n        if (Object(_util_isFunction__WEBPACK_IMPORTED_MODULE_2__[\"isFunction\"])(_unsubscribe)) {\n            try {\n                _unsubscribe.call(this);\n            }\n            catch (e) {\n                hasErrors = true;\n                errors = e instanceof _util_UnsubscriptionError__WEBPACK_IMPORTED_MODULE_3__[\"UnsubscriptionError\"] ? flattenUnsubscriptionErrors(e.errors) : [e];\n            }\n        }\n        if (Object(_util_isArray__WEBPACK_IMPORTED_MODULE_0__[\"isArray\"])(_subscriptions)) {\n            index = -1;\n            len = _subscriptions.length;\n            while (++index < len) {\n                const sub = _subscriptions[index];\n                if (Object(_util_isObject__WEBPACK_IMPORTED_MODULE_1__[\"isObject\"])(sub)) {\n                    try {\n                        sub.unsubscribe();\n                    }\n                    catch (e) {\n                        hasErrors = true;\n                        errors = errors || [];\n                        if (e instanceof _util_UnsubscriptionError__WEBPACK_IMPORTED_MODULE_3__[\"UnsubscriptionError\"]) {\n                            errors = errors.concat(flattenUnsubscriptionErrors(e.errors));\n                        }\n                        else {\n                            errors.push(e);\n                        }\n                    }\n                }\n            }\n        }\n        if (hasErrors) {\n            throw new _util_UnsubscriptionError__WEBPACK_IMPORTED_MODULE_3__[\"UnsubscriptionError\"](errors);\n        }\n    }\n    add(teardown) {\n        let subscription = teardown;\n        switch (typeof teardown) {\n            case 'function':\n                subscription = new Subscription(teardown);\n            case 'object':\n                if (subscription === this || subscription.closed || typeof subscription.unsubscribe !== 'function') {\n                    return subscription;\n                }\n                else if (this.closed) {\n                    subscription.unsubscribe();\n                    return subscription;\n                }\n                else if (!(subscription instanceof Subscription)) {\n                    const tmp = subscription;\n                    subscription = new Subscription();\n                    subscription._subscriptions = [tmp];\n                }\n                break;\n            default: {\n                if (!teardown) {\n                    return Subscription.EMPTY;\n                }\n                throw new Error('unrecognized teardown ' + teardown + ' added to Subscription.');\n            }\n        }\n        if (subscription._addParent(this)) {\n            const subscriptions = this._subscriptions;\n            if (subscriptions) {\n                subscriptions.push(subscription);\n            }\n            else {\n                this._subscriptions = [subscription];\n            }\n        }\n        return subscription;\n    }\n    remove(subscription) {\n        const subscriptions = this._subscriptions;\n        if (subscriptions) {\n            const subscriptionIndex = subscriptions.indexOf(subscription);\n            if (subscriptionIndex !== -1) {\n                subscriptions.splice(subscriptionIndex, 1);\n            }\n        }\n    }\n    _addParent(parent) {\n        let { _parent, _parents } = this;\n        if (_parent === parent) {\n            return false;\n        }\n        else if (!_parent) {\n            this._parent = parent;\n            return true;\n        }\n        else if (!_parents) {\n            this._parents = [parent];\n            return true;\n        }\n        else if (_parents.indexOf(parent) === -1) {\n            _parents.push(parent);\n            return true;\n        }\n        return false;\n    }\n}\nSubscription.EMPTY = (function (empty) {\n    empty.closed = true;\n    return empty;\n}(new Subscription()));\nfunction flattenUnsubscriptionErrors(errors) {\n    return errors.reduce((errs, err) => errs.concat((err instanceof _util_UnsubscriptionError__WEBPACK_IMPORTED_MODULE_3__[\"UnsubscriptionError\"]) ? err.errors : err), []);\n}\n//# sourceMappingURL=Subscription.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/config.js\":\n/*!*******************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/config.js ***!\n  \\*******************************************************/\n/*! exports provided: config */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"config\", function() { return config; });\nlet _enable_super_gross_mode_that_will_cause_bad_things = false;\nconst config = {\n    Promise: undefined,\n    set useDeprecatedSynchronousErrorHandling(value) {\n        if (value) {\n            const error = new Error();\n            console.warn('DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \\n' + error.stack);\n        }\n        else if (_enable_super_gross_mode_that_will_cause_bad_things) {\n            console.log('RxJS: Back to a better error behavior. Thank you. <3');\n        }\n        _enable_super_gross_mode_that_will_cause_bad_things = value;\n    },\n    get useDeprecatedSynchronousErrorHandling() {\n        return _enable_super_gross_mode_that_will_cause_bad_things;\n    },\n};\n//# sourceMappingURL=config.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/observable/ConnectableObservable.js\":\n/*!*********************************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/observable/ConnectableObservable.js ***!\n  \\*********************************************************************************/\n/*! exports provided: ConnectableObservable, connectableObservableDescriptor */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ConnectableObservable\", function() { return ConnectableObservable; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"connectableObservableDescriptor\", function() { return connectableObservableDescriptor; });\n/* harmony import */ var _Subject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subject */ \"./node_modules/rxjs/_esm2015/internal/Subject.js\");\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Observable */ \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Subscription */ \"./node_modules/rxjs/_esm2015/internal/Subscription.js\");\n/* harmony import */ var _operators_refCount__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../operators/refCount */ \"./node_modules/rxjs/_esm2015/internal/operators/refCount.js\");\n\n\n\n\n\nclass ConnectableObservable extends _Observable__WEBPACK_IMPORTED_MODULE_1__[\"Observable\"] {\n    constructor(source, subjectFactory) {\n        super();\n        this.source = source;\n        this.subjectFactory = subjectFactory;\n        this._refCount = 0;\n        this._isComplete = false;\n    }\n    _subscribe(subscriber) {\n        return this.getSubject().subscribe(subscriber);\n    }\n    getSubject() {\n        const subject = this._subject;\n        if (!subject || subject.isStopped) {\n            this._subject = this.subjectFactory();\n        }\n        return this._subject;\n    }\n    connect() {\n        let connection = this._connection;\n        if (!connection) {\n            this._isComplete = false;\n            connection = this._connection = new _Subscription__WEBPACK_IMPORTED_MODULE_3__[\"Subscription\"]();\n            connection.add(this.source\n                .subscribe(new ConnectableSubscriber(this.getSubject(), this)));\n            if (connection.closed) {\n                this._connection = null;\n                connection = _Subscription__WEBPACK_IMPORTED_MODULE_3__[\"Subscription\"].EMPTY;\n            }\n            else {\n                this._connection = connection;\n            }\n        }\n        return connection;\n    }\n    refCount() {\n        return Object(_operators_refCount__WEBPACK_IMPORTED_MODULE_4__[\"refCount\"])()(this);\n    }\n}\nconst connectableProto = ConnectableObservable.prototype;\nconst connectableObservableDescriptor = {\n    operator: { value: null },\n    _refCount: { value: 0, writable: true },\n    _subject: { value: null, writable: true },\n    _connection: { value: null, writable: true },\n    _subscribe: { value: connectableProto._subscribe },\n    _isComplete: { value: connectableProto._isComplete, writable: true },\n    getSubject: { value: connectableProto.getSubject },\n    connect: { value: connectableProto.connect },\n    refCount: { value: connectableProto.refCount }\n};\nclass ConnectableSubscriber extends _Subject__WEBPACK_IMPORTED_MODULE_0__[\"SubjectSubscriber\"] {\n    constructor(destination, connectable) {\n        super(destination);\n        this.connectable = connectable;\n    }\n    _error(err) {\n        this._unsubscribe();\n        super._error(err);\n    }\n    _complete() {\n        this.connectable._isComplete = true;\n        this._unsubscribe();\n        super._complete();\n    }\n    _unsubscribe() {\n        const connectable = this.connectable;\n        if (connectable) {\n            this.connectable = null;\n            const connection = connectable._connection;\n            connectable._refCount = 0;\n            connectable._subject = null;\n            connectable._connection = null;\n            if (connection) {\n                connection.unsubscribe();\n            }\n        }\n    }\n}\nclass RefCountOperator {\n    constructor(connectable) {\n        this.connectable = connectable;\n    }\n    call(subscriber, source) {\n        const { connectable } = this;\n        connectable._refCount++;\n        const refCounter = new RefCountSubscriber(subscriber, connectable);\n        const subscription = source.subscribe(refCounter);\n        if (!refCounter.closed) {\n            refCounter.connection = connectable.connect();\n        }\n        return subscription;\n    }\n}\nclass RefCountSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_2__[\"Subscriber\"] {\n    constructor(destination, connectable) {\n        super(destination);\n        this.connectable = connectable;\n    }\n    _unsubscribe() {\n        const { connectable } = this;\n        if (!connectable) {\n            this.connection = null;\n            return;\n        }\n        this.connectable = null;\n        const refCount = connectable._refCount;\n        if (refCount <= 0) {\n            this.connection = null;\n            return;\n        }\n        connectable._refCount = refCount - 1;\n        if (refCount > 1) {\n            this.connection = null;\n            return;\n        }\n        const { connection } = this;\n        const sharedConnection = connectable._connection;\n        this.connection = null;\n        if (sharedConnection && (!connection || sharedConnection === connection)) {\n            sharedConnection.unsubscribe();\n        }\n    }\n}\n//# sourceMappingURL=ConnectableObservable.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/observable/SubscribeOnObservable.js\":\n/*!*********************************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/observable/SubscribeOnObservable.js ***!\n  \\*********************************************************************************/\n/*! exports provided: SubscribeOnObservable */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SubscribeOnObservable\", function() { return SubscribeOnObservable; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n/* harmony import */ var _scheduler_asap__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../scheduler/asap */ \"./node_modules/rxjs/_esm2015/internal/scheduler/asap.js\");\n/* harmony import */ var _util_isNumeric__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/isNumeric */ \"./node_modules/rxjs/_esm2015/internal/util/isNumeric.js\");\n\n\n\nclass SubscribeOnObservable extends _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"] {\n    constructor(source, delayTime = 0, scheduler = _scheduler_asap__WEBPACK_IMPORTED_MODULE_1__[\"asap\"]) {\n        super();\n        this.source = source;\n        this.delayTime = delayTime;\n        this.scheduler = scheduler;\n        if (!Object(_util_isNumeric__WEBPACK_IMPORTED_MODULE_2__[\"isNumeric\"])(delayTime) || delayTime < 0) {\n            this.delayTime = 0;\n        }\n        if (!scheduler || typeof scheduler.schedule !== 'function') {\n            this.scheduler = _scheduler_asap__WEBPACK_IMPORTED_MODULE_1__[\"asap\"];\n        }\n    }\n    static create(source, delay = 0, scheduler = _scheduler_asap__WEBPACK_IMPORTED_MODULE_1__[\"asap\"]) {\n        return new SubscribeOnObservable(source, delay, scheduler);\n    }\n    static dispatch(arg) {\n        const { source, subscriber } = arg;\n        return this.add(source.subscribe(subscriber));\n    }\n    _subscribe(subscriber) {\n        const delay = this.delayTime;\n        const source = this.source;\n        const scheduler = this.scheduler;\n        return scheduler.schedule(SubscribeOnObservable.dispatch, delay, {\n            source, subscriber\n        });\n    }\n}\n//# sourceMappingURL=SubscribeOnObservable.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/observable/bindCallback.js\":\n/*!************************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/observable/bindCallback.js ***!\n  \\************************************************************************/\n/*! exports provided: bindCallback */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"bindCallback\", function() { return bindCallback; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n/* harmony import */ var _AsyncSubject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../AsyncSubject */ \"./node_modules/rxjs/_esm2015/internal/AsyncSubject.js\");\n/* harmony import */ var _operators_map__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../operators/map */ \"./node_modules/rxjs/_esm2015/internal/operators/map.js\");\n/* harmony import */ var _util_canReportError__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/canReportError */ \"./node_modules/rxjs/_esm2015/internal/util/canReportError.js\");\n/* harmony import */ var _util_isArray__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../util/isArray */ \"./node_modules/rxjs/_esm2015/internal/util/isArray.js\");\n/* harmony import */ var _util_isScheduler__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util/isScheduler */ \"./node_modules/rxjs/_esm2015/internal/util/isScheduler.js\");\n\n\n\n\n\n\nfunction bindCallback(callbackFunc, resultSelector, scheduler) {\n    if (resultSelector) {\n        if (Object(_util_isScheduler__WEBPACK_IMPORTED_MODULE_5__[\"isScheduler\"])(resultSelector)) {\n            scheduler = resultSelector;\n        }\n        else {\n            return (...args) => bindCallback(callbackFunc, scheduler)(...args).pipe(Object(_operators_map__WEBPACK_IMPORTED_MODULE_2__[\"map\"])((args) => Object(_util_isArray__WEBPACK_IMPORTED_MODULE_4__[\"isArray\"])(args) ? resultSelector(...args) : resultSelector(args)));\n        }\n    }\n    return function (...args) {\n        const context = this;\n        let subject;\n        const params = {\n            context,\n            subject,\n            callbackFunc,\n            scheduler,\n        };\n        return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](subscriber => {\n            if (!scheduler) {\n                if (!subject) {\n                    subject = new _AsyncSubject__WEBPACK_IMPORTED_MODULE_1__[\"AsyncSubject\"]();\n                    const handler = (...innerArgs) => {\n                        subject.next(innerArgs.length <= 1 ? innerArgs[0] : innerArgs);\n                        subject.complete();\n                    };\n                    try {\n                        callbackFunc.apply(context, [...args, handler]);\n                    }\n                    catch (err) {\n                        if (Object(_util_canReportError__WEBPACK_IMPORTED_MODULE_3__[\"canReportError\"])(subject)) {\n                            subject.error(err);\n                        }\n                        else {\n                            console.warn(err);\n                        }\n                    }\n                }\n                return subject.subscribe(subscriber);\n            }\n            else {\n                const state = {\n                    args, subscriber, params,\n                };\n                return scheduler.schedule(dispatch, 0, state);\n            }\n        });\n    };\n}\nfunction dispatch(state) {\n    const self = this;\n    const { args, subscriber, params } = state;\n    const { callbackFunc, context, scheduler } = params;\n    let { subject } = params;\n    if (!subject) {\n        subject = params.subject = new _AsyncSubject__WEBPACK_IMPORTED_MODULE_1__[\"AsyncSubject\"]();\n        const handler = (...innerArgs) => {\n            const value = innerArgs.length <= 1 ? innerArgs[0] : innerArgs;\n            this.add(scheduler.schedule(dispatchNext, 0, { value, subject }));\n        };\n        try {\n            callbackFunc.apply(context, [...args, handler]);\n        }\n        catch (err) {\n            subject.error(err);\n        }\n    }\n    this.add(subject.subscribe(subscriber));\n}\nfunction dispatchNext(state) {\n    const { value, subject } = state;\n    subject.next(value);\n    subject.complete();\n}\nfunction dispatchError(state) {\n    const { err, subject } = state;\n    subject.error(err);\n}\n//# sourceMappingURL=bindCallback.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/observable/bindNodeCallback.js\":\n/*!****************************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/observable/bindNodeCallback.js ***!\n  \\****************************************************************************/\n/*! exports provided: bindNodeCallback */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"bindNodeCallback\", function() { return bindNodeCallback; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n/* harmony import */ var _AsyncSubject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../AsyncSubject */ \"./node_modules/rxjs/_esm2015/internal/AsyncSubject.js\");\n/* harmony import */ var _operators_map__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../operators/map */ \"./node_modules/rxjs/_esm2015/internal/operators/map.js\");\n/* harmony import */ var _util_canReportError__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/canReportError */ \"./node_modules/rxjs/_esm2015/internal/util/canReportError.js\");\n/* harmony import */ var _util_isScheduler__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../util/isScheduler */ \"./node_modules/rxjs/_esm2015/internal/util/isScheduler.js\");\n/* harmony import */ var _util_isArray__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util/isArray */ \"./node_modules/rxjs/_esm2015/internal/util/isArray.js\");\n\n\n\n\n\n\nfunction bindNodeCallback(callbackFunc, resultSelector, scheduler) {\n    if (resultSelector) {\n        if (Object(_util_isScheduler__WEBPACK_IMPORTED_MODULE_4__[\"isScheduler\"])(resultSelector)) {\n            scheduler = resultSelector;\n        }\n        else {\n            return (...args) => bindNodeCallback(callbackFunc, scheduler)(...args).pipe(Object(_operators_map__WEBPACK_IMPORTED_MODULE_2__[\"map\"])(args => Object(_util_isArray__WEBPACK_IMPORTED_MODULE_5__[\"isArray\"])(args) ? resultSelector(...args) : resultSelector(args)));\n        }\n    }\n    return function (...args) {\n        const params = {\n            subject: undefined,\n            args,\n            callbackFunc,\n            scheduler,\n            context: this,\n        };\n        return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](subscriber => {\n            const { context } = params;\n            let { subject } = params;\n            if (!scheduler) {\n                if (!subject) {\n                    subject = params.subject = new _AsyncSubject__WEBPACK_IMPORTED_MODULE_1__[\"AsyncSubject\"]();\n                    const handler = (...innerArgs) => {\n                        const err = innerArgs.shift();\n                        if (err) {\n                            subject.error(err);\n                            return;\n                        }\n                        subject.next(innerArgs.length <= 1 ? innerArgs[0] : innerArgs);\n                        subject.complete();\n                    };\n                    try {\n                        callbackFunc.apply(context, [...args, handler]);\n                    }\n                    catch (err) {\n                        if (Object(_util_canReportError__WEBPACK_IMPORTED_MODULE_3__[\"canReportError\"])(subject)) {\n                            subject.error(err);\n                        }\n                        else {\n                            console.warn(err);\n                        }\n                    }\n                }\n                return subject.subscribe(subscriber);\n            }\n            else {\n                return scheduler.schedule(dispatch, 0, { params, subscriber, context });\n            }\n        });\n    };\n}\nfunction dispatch(state) {\n    const { params, subscriber, context } = state;\n    const { callbackFunc, args, scheduler } = params;\n    let subject = params.subject;\n    if (!subject) {\n        subject = params.subject = new _AsyncSubject__WEBPACK_IMPORTED_MODULE_1__[\"AsyncSubject\"]();\n        const handler = (...innerArgs) => {\n            const err = innerArgs.shift();\n            if (err) {\n                this.add(scheduler.schedule(dispatchError, 0, { err, subject }));\n            }\n            else {\n                const value = innerArgs.length <= 1 ? innerArgs[0] : innerArgs;\n                this.add(scheduler.schedule(dispatchNext, 0, { value, subject }));\n            }\n        };\n        try {\n            callbackFunc.apply(context, [...args, handler]);\n        }\n        catch (err) {\n            this.add(scheduler.schedule(dispatchError, 0, { err, subject }));\n        }\n    }\n    this.add(subject.subscribe(subscriber));\n}\nfunction dispatchNext(arg) {\n    const { value, subject } = arg;\n    subject.next(value);\n    subject.complete();\n}\nfunction dispatchError(arg) {\n    const { err, subject } = arg;\n    subject.error(err);\n}\n//# sourceMappingURL=bindNodeCallback.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/observable/combineLatest.js\":\n/*!*************************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/observable/combineLatest.js ***!\n  \\*************************************************************************/\n/*! exports provided: combineLatest, CombineLatestOperator, CombineLatestSubscriber */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"combineLatest\", function() { return combineLatest; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CombineLatestOperator\", function() { return CombineLatestOperator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CombineLatestSubscriber\", function() { return CombineLatestSubscriber; });\n/* harmony import */ var _util_isScheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/isScheduler */ \"./node_modules/rxjs/_esm2015/internal/util/isScheduler.js\");\n/* harmony import */ var _util_isArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/isArray */ \"./node_modules/rxjs/_esm2015/internal/util/isArray.js\");\n/* harmony import */ var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../OuterSubscriber */ \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n/* harmony import */ var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/subscribeToResult */ \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n/* harmony import */ var _fromArray__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./fromArray */ \"./node_modules/rxjs/_esm2015/internal/observable/fromArray.js\");\n\n\n\n\n\nconst NONE = {};\nfunction combineLatest(...observables) {\n    let resultSelector = null;\n    let scheduler = null;\n    if (Object(_util_isScheduler__WEBPACK_IMPORTED_MODULE_0__[\"isScheduler\"])(observables[observables.length - 1])) {\n        scheduler = observables.pop();\n    }\n    if (typeof observables[observables.length - 1] === 'function') {\n        resultSelector = observables.pop();\n    }\n    if (observables.length === 1 && Object(_util_isArray__WEBPACK_IMPORTED_MODULE_1__[\"isArray\"])(observables[0])) {\n        observables = observables[0];\n    }\n    return Object(_fromArray__WEBPACK_IMPORTED_MODULE_4__[\"fromArray\"])(observables, scheduler).lift(new CombineLatestOperator(resultSelector));\n}\nclass CombineLatestOperator {\n    constructor(resultSelector) {\n        this.resultSelector = resultSelector;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new CombineLatestSubscriber(subscriber, this.resultSelector));\n    }\n}\nclass CombineLatestSubscriber extends _OuterSubscriber__WEBPACK_IMPORTED_MODULE_2__[\"OuterSubscriber\"] {\n    constructor(destination, resultSelector) {\n        super(destination);\n        this.resultSelector = resultSelector;\n        this.active = 0;\n        this.values = [];\n        this.observables = [];\n    }\n    _next(observable) {\n        this.values.push(NONE);\n        this.observables.push(observable);\n    }\n    _complete() {\n        const observables = this.observables;\n        const len = observables.length;\n        if (len === 0) {\n            this.destination.complete();\n        }\n        else {\n            this.active = len;\n            this.toRespond = len;\n            for (let i = 0; i < len; i++) {\n                const observable = observables[i];\n                this.add(Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_3__[\"subscribeToResult\"])(this, observable, observable, i));\n            }\n        }\n    }\n    notifyComplete(unused) {\n        if ((this.active -= 1) === 0) {\n            this.destination.complete();\n        }\n    }\n    notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n        const values = this.values;\n        const oldVal = values[outerIndex];\n        const toRespond = !this.toRespond\n            ? 0\n            : oldVal === NONE ? --this.toRespond : this.toRespond;\n        values[outerIndex] = innerValue;\n        if (toRespond === 0) {\n            if (this.resultSelector) {\n                this._tryResultSelector(values);\n            }\n            else {\n                this.destination.next(values.slice());\n            }\n        }\n    }\n    _tryResultSelector(values) {\n        let result;\n        try {\n            result = this.resultSelector.apply(this, values);\n        }\n        catch (err) {\n            this.destination.error(err);\n            return;\n        }\n        this.destination.next(result);\n    }\n}\n//# sourceMappingURL=combineLatest.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/observable/concat.js\":\n/*!******************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/observable/concat.js ***!\n  \\******************************************************************/\n/*! exports provided: concat */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"concat\", function() { return concat; });\n/* harmony import */ var _of__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./of */ \"./node_modules/rxjs/_esm2015/internal/observable/of.js\");\n/* harmony import */ var _operators_concatAll__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../operators/concatAll */ \"./node_modules/rxjs/_esm2015/internal/operators/concatAll.js\");\n\n\nfunction concat(...observables) {\n    return Object(_operators_concatAll__WEBPACK_IMPORTED_MODULE_1__[\"concatAll\"])()(Object(_of__WEBPACK_IMPORTED_MODULE_0__[\"of\"])(...observables));\n}\n//# sourceMappingURL=concat.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/observable/defer.js\":\n/*!*****************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/observable/defer.js ***!\n  \\*****************************************************************/\n/*! exports provided: defer */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"defer\", function() { return defer; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n/* harmony import */ var _from__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./from */ \"./node_modules/rxjs/_esm2015/internal/observable/from.js\");\n/* harmony import */ var _empty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./empty */ \"./node_modules/rxjs/_esm2015/internal/observable/empty.js\");\n\n\n\nfunction defer(observableFactory) {\n    return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](subscriber => {\n        let input;\n        try {\n            input = observableFactory();\n        }\n        catch (err) {\n            subscriber.error(err);\n            return undefined;\n        }\n        const source = input ? Object(_from__WEBPACK_IMPORTED_MODULE_1__[\"from\"])(input) : Object(_empty__WEBPACK_IMPORTED_MODULE_2__[\"empty\"])();\n        return source.subscribe(subscriber);\n    });\n}\n//# sourceMappingURL=defer.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/observable/empty.js\":\n/*!*****************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/observable/empty.js ***!\n  \\*****************************************************************/\n/*! exports provided: EMPTY, empty, emptyScheduled */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"EMPTY\", function() { return EMPTY; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"empty\", function() { return empty; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"emptyScheduled\", function() { return emptyScheduled; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n\nconst EMPTY = new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](subscriber => subscriber.complete());\nfunction empty(scheduler) {\n    return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n    return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](subscriber => scheduler.schedule(() => subscriber.complete()));\n}\n//# sourceMappingURL=empty.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/observable/forkJoin.js\":\n/*!********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/observable/forkJoin.js ***!\n  \\********************************************************************/\n/*! exports provided: forkJoin */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"forkJoin\", function() { return forkJoin; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n/* harmony import */ var _util_isArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/isArray */ \"./node_modules/rxjs/_esm2015/internal/util/isArray.js\");\n/* harmony import */ var _empty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./empty */ \"./node_modules/rxjs/_esm2015/internal/observable/empty.js\");\n/* harmony import */ var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/subscribeToResult */ \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n/* harmony import */ var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../OuterSubscriber */ \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n/* harmony import */ var _operators_map__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../operators/map */ \"./node_modules/rxjs/_esm2015/internal/operators/map.js\");\n\n\n\n\n\n\nfunction forkJoin(...sources) {\n    let resultSelector;\n    if (typeof sources[sources.length - 1] === 'function') {\n        resultSelector = sources.pop();\n    }\n    if (sources.length === 1 && Object(_util_isArray__WEBPACK_IMPORTED_MODULE_1__[\"isArray\"])(sources[0])) {\n        sources = sources[0];\n    }\n    if (sources.length === 0) {\n        return _empty__WEBPACK_IMPORTED_MODULE_2__[\"EMPTY\"];\n    }\n    if (resultSelector) {\n        return forkJoin(sources).pipe(Object(_operators_map__WEBPACK_IMPORTED_MODULE_5__[\"map\"])(args => resultSelector(...args)));\n    }\n    return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](subscriber => {\n        return new ForkJoinSubscriber(subscriber, sources);\n    });\n}\nclass ForkJoinSubscriber extends _OuterSubscriber__WEBPACK_IMPORTED_MODULE_4__[\"OuterSubscriber\"] {\n    constructor(destination, sources) {\n        super(destination);\n        this.sources = sources;\n        this.completed = 0;\n        this.haveValues = 0;\n        const len = sources.length;\n        this.values = new Array(len);\n        for (let i = 0; i < len; i++) {\n            const source = sources[i];\n            const innerSubscription = Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_3__[\"subscribeToResult\"])(this, source, null, i);\n            if (innerSubscription) {\n                this.add(innerSubscription);\n            }\n        }\n    }\n    notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n        this.values[outerIndex] = innerValue;\n        if (!innerSub._hasValue) {\n            innerSub._hasValue = true;\n            this.haveValues++;\n        }\n    }\n    notifyComplete(innerSub) {\n        const { destination, haveValues, values } = this;\n        const len = values.length;\n        if (!innerSub._hasValue) {\n            destination.complete();\n            return;\n        }\n        this.completed++;\n        if (this.completed !== len) {\n            return;\n        }\n        if (haveValues === len) {\n            destination.next(values);\n        }\n        destination.complete();\n    }\n}\n//# sourceMappingURL=forkJoin.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/observable/from.js\":\n/*!****************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/observable/from.js ***!\n  \\****************************************************************/\n/*! exports provided: from */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"from\", function() { return from; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n/* harmony import */ var _util_isPromise__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/isPromise */ \"./node_modules/rxjs/_esm2015/internal/util/isPromise.js\");\n/* harmony import */ var _util_isArrayLike__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/isArrayLike */ \"./node_modules/rxjs/_esm2015/internal/util/isArrayLike.js\");\n/* harmony import */ var _util_isInteropObservable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/isInteropObservable */ \"./node_modules/rxjs/_esm2015/internal/util/isInteropObservable.js\");\n/* harmony import */ var _util_isIterable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../util/isIterable */ \"./node_modules/rxjs/_esm2015/internal/util/isIterable.js\");\n/* harmony import */ var _fromArray__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./fromArray */ \"./node_modules/rxjs/_esm2015/internal/observable/fromArray.js\");\n/* harmony import */ var _fromPromise__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./fromPromise */ \"./node_modules/rxjs/_esm2015/internal/observable/fromPromise.js\");\n/* harmony import */ var _fromIterable__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./fromIterable */ \"./node_modules/rxjs/_esm2015/internal/observable/fromIterable.js\");\n/* harmony import */ var _fromObservable__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./fromObservable */ \"./node_modules/rxjs/_esm2015/internal/observable/fromObservable.js\");\n/* harmony import */ var _util_subscribeTo__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../util/subscribeTo */ \"./node_modules/rxjs/_esm2015/internal/util/subscribeTo.js\");\n\n\n\n\n\n\n\n\n\n\nfunction from(input, scheduler) {\n    if (!scheduler) {\n        if (input instanceof _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"]) {\n            return input;\n        }\n        return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](Object(_util_subscribeTo__WEBPACK_IMPORTED_MODULE_9__[\"subscribeTo\"])(input));\n    }\n    if (input != null) {\n        if (Object(_util_isInteropObservable__WEBPACK_IMPORTED_MODULE_3__[\"isInteropObservable\"])(input)) {\n            return Object(_fromObservable__WEBPACK_IMPORTED_MODULE_8__[\"fromObservable\"])(input, scheduler);\n        }\n        else if (Object(_util_isPromise__WEBPACK_IMPORTED_MODULE_1__[\"isPromise\"])(input)) {\n            return Object(_fromPromise__WEBPACK_IMPORTED_MODULE_6__[\"fromPromise\"])(input, scheduler);\n        }\n        else if (Object(_util_isArrayLike__WEBPACK_IMPORTED_MODULE_2__[\"isArrayLike\"])(input)) {\n            return Object(_fromArray__WEBPACK_IMPORTED_MODULE_5__[\"fromArray\"])(input, scheduler);\n        }\n        else if (Object(_util_isIterable__WEBPACK_IMPORTED_MODULE_4__[\"isIterable\"])(input) || typeof input === 'string') {\n            return Object(_fromIterable__WEBPACK_IMPORTED_MODULE_7__[\"fromIterable\"])(input, scheduler);\n        }\n    }\n    throw new TypeError((input !== null && typeof input || input) + ' is not observable');\n}\n//# sourceMappingURL=from.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/observable/fromArray.js\":\n/*!*********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/observable/fromArray.js ***!\n  \\*********************************************************************/\n/*! exports provided: fromArray */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"fromArray\", function() { return fromArray; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscription */ \"./node_modules/rxjs/_esm2015/internal/Subscription.js\");\n/* harmony import */ var _util_subscribeToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/subscribeToArray */ \"./node_modules/rxjs/_esm2015/internal/util/subscribeToArray.js\");\n\n\n\nfunction fromArray(input, scheduler) {\n    if (!scheduler) {\n        return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](Object(_util_subscribeToArray__WEBPACK_IMPORTED_MODULE_2__[\"subscribeToArray\"])(input));\n    }\n    else {\n        return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](subscriber => {\n            const sub = new _Subscription__WEBPACK_IMPORTED_MODULE_1__[\"Subscription\"]();\n            let i = 0;\n            sub.add(scheduler.schedule(function () {\n                if (i === input.length) {\n                    subscriber.complete();\n                    return;\n                }\n                subscriber.next(input[i++]);\n                if (!subscriber.closed) {\n                    sub.add(this.schedule());\n                }\n            }));\n            return sub;\n        });\n    }\n}\n//# sourceMappingURL=fromArray.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/observable/fromEvent.js\":\n/*!*********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/observable/fromEvent.js ***!\n  \\*********************************************************************/\n/*! exports provided: fromEvent */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"fromEvent\", function() { return fromEvent; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n/* harmony import */ var _util_isArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/isArray */ \"./node_modules/rxjs/_esm2015/internal/util/isArray.js\");\n/* harmony import */ var _util_isFunction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/isFunction */ \"./node_modules/rxjs/_esm2015/internal/util/isFunction.js\");\n/* harmony import */ var _operators_map__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../operators/map */ \"./node_modules/rxjs/_esm2015/internal/operators/map.js\");\n\n\n\n\nconst toString = Object.prototype.toString;\nfunction fromEvent(target, eventName, options, resultSelector) {\n    if (Object(_util_isFunction__WEBPACK_IMPORTED_MODULE_2__[\"isFunction\"])(options)) {\n        resultSelector = options;\n        options = undefined;\n    }\n    if (resultSelector) {\n        return fromEvent(target, eventName, options).pipe(Object(_operators_map__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(args => Object(_util_isArray__WEBPACK_IMPORTED_MODULE_1__[\"isArray\"])(args) ? resultSelector(...args) : resultSelector(args)));\n    }\n    return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](subscriber => {\n        function handler(e) {\n            if (arguments.length > 1) {\n                subscriber.next(Array.prototype.slice.call(arguments));\n            }\n            else {\n                subscriber.next(e);\n            }\n        }\n        setupSubscription(target, eventName, handler, subscriber, options);\n    });\n}\nfunction setupSubscription(sourceObj, eventName, handler, subscriber, options) {\n    let unsubscribe;\n    if (isEventTarget(sourceObj)) {\n        const source = sourceObj;\n        sourceObj.addEventListener(eventName, handler, options);\n        unsubscribe = () => source.removeEventListener(eventName, handler, options);\n    }\n    else if (isJQueryStyleEventEmitter(sourceObj)) {\n        const source = sourceObj;\n        sourceObj.on(eventName, handler);\n        unsubscribe = () => source.off(eventName, handler);\n    }\n    else if (isNodeStyleEventEmitter(sourceObj)) {\n        const source = sourceObj;\n        sourceObj.addListener(eventName, handler);\n        unsubscribe = () => source.removeListener(eventName, handler);\n    }\n    else if (sourceObj && sourceObj.length) {\n        for (let i = 0, len = sourceObj.length; i < len; i++) {\n            setupSubscription(sourceObj[i], eventName, handler, subscriber, options);\n        }\n    }\n    else {\n        throw new TypeError('Invalid event target');\n    }\n    subscriber.add(unsubscribe);\n}\nfunction isNodeStyleEventEmitter(sourceObj) {\n    return sourceObj && typeof sourceObj.addListener === 'function' && typeof sourceObj.removeListener === 'function';\n}\nfunction isJQueryStyleEventEmitter(sourceObj) {\n    return sourceObj && typeof sourceObj.on === 'function' && typeof sourceObj.off === 'function';\n}\nfunction isEventTarget(sourceObj) {\n    return sourceObj && typeof sourceObj.addEventListener === 'function' && typeof sourceObj.removeEventListener === 'function';\n}\n//# sourceMappingURL=fromEvent.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/observable/fromEventPattern.js\":\n/*!****************************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/observable/fromEventPattern.js ***!\n  \\****************************************************************************/\n/*! exports provided: fromEventPattern */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"fromEventPattern\", function() { return fromEventPattern; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n/* harmony import */ var _util_isArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/isArray */ \"./node_modules/rxjs/_esm2015/internal/util/isArray.js\");\n/* harmony import */ var _util_isFunction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/isFunction */ \"./node_modules/rxjs/_esm2015/internal/util/isFunction.js\");\n/* harmony import */ var _operators_map__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../operators/map */ \"./node_modules/rxjs/_esm2015/internal/operators/map.js\");\n\n\n\n\nfunction fromEventPattern(addHandler, removeHandler, resultSelector) {\n    if (resultSelector) {\n        return fromEventPattern(addHandler, removeHandler).pipe(Object(_operators_map__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(args => Object(_util_isArray__WEBPACK_IMPORTED_MODULE_1__[\"isArray\"])(args) ? resultSelector(...args) : resultSelector(args)));\n    }\n    return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](subscriber => {\n        const handler = (...e) => subscriber.next(e.length === 1 ? e[0] : e);\n        let retValue;\n        try {\n            retValue = addHandler(handler);\n        }\n        catch (err) {\n            subscriber.error(err);\n            return undefined;\n        }\n        if (!Object(_util_isFunction__WEBPACK_IMPORTED_MODULE_2__[\"isFunction\"])(removeHandler)) {\n            return undefined;\n        }\n        return () => removeHandler(handler, retValue);\n    });\n}\n//# sourceMappingURL=fromEventPattern.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/observable/fromIterable.js\":\n/*!************************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/observable/fromIterable.js ***!\n  \\************************************************************************/\n/*! exports provided: fromIterable */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"fromIterable\", function() { return fromIterable; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscription */ \"./node_modules/rxjs/_esm2015/internal/Subscription.js\");\n/* harmony import */ var _symbol_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../symbol/iterator */ \"./node_modules/rxjs/_esm2015/internal/symbol/iterator.js\");\n/* harmony import */ var _util_subscribeToIterable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/subscribeToIterable */ \"./node_modules/rxjs/_esm2015/internal/util/subscribeToIterable.js\");\n\n\n\n\nfunction fromIterable(input, scheduler) {\n    if (!input) {\n        throw new Error('Iterable cannot be null');\n    }\n    if (!scheduler) {\n        return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](Object(_util_subscribeToIterable__WEBPACK_IMPORTED_MODULE_3__[\"subscribeToIterable\"])(input));\n    }\n    else {\n        return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](subscriber => {\n            const sub = new _Subscription__WEBPACK_IMPORTED_MODULE_1__[\"Subscription\"]();\n            let iterator;\n            sub.add(() => {\n                if (iterator && typeof iterator.return === 'function') {\n                    iterator.return();\n                }\n            });\n            sub.add(scheduler.schedule(() => {\n                iterator = input[_symbol_iterator__WEBPACK_IMPORTED_MODULE_2__[\"iterator\"]]();\n                sub.add(scheduler.schedule(function () {\n                    if (subscriber.closed) {\n                        return;\n                    }\n                    let value;\n                    let done;\n                    try {\n                        const result = iterator.next();\n                        value = result.value;\n                        done = result.done;\n                    }\n                    catch (err) {\n                        subscriber.error(err);\n                        return;\n                    }\n                    if (done) {\n                        subscriber.complete();\n                    }\n                    else {\n                        subscriber.next(value);\n                        this.schedule();\n                    }\n                }));\n            }));\n            return sub;\n        });\n    }\n}\n//# sourceMappingURL=fromIterable.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/observable/fromObservable.js\":\n/*!**************************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/observable/fromObservable.js ***!\n  \\**************************************************************************/\n/*! exports provided: fromObservable */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"fromObservable\", function() { return fromObservable; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscription */ \"./node_modules/rxjs/_esm2015/internal/Subscription.js\");\n/* harmony import */ var _symbol_observable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../symbol/observable */ \"./node_modules/rxjs/_esm2015/internal/symbol/observable.js\");\n/* harmony import */ var _util_subscribeToObservable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/subscribeToObservable */ \"./node_modules/rxjs/_esm2015/internal/util/subscribeToObservable.js\");\n\n\n\n\nfunction fromObservable(input, scheduler) {\n    if (!scheduler) {\n        return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](Object(_util_subscribeToObservable__WEBPACK_IMPORTED_MODULE_3__[\"subscribeToObservable\"])(input));\n    }\n    else {\n        return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](subscriber => {\n            const sub = new _Subscription__WEBPACK_IMPORTED_MODULE_1__[\"Subscription\"]();\n            sub.add(scheduler.schedule(() => {\n                const observable = input[_symbol_observable__WEBPACK_IMPORTED_MODULE_2__[\"observable\"]]();\n                sub.add(observable.subscribe({\n                    next(value) { sub.add(scheduler.schedule(() => subscriber.next(value))); },\n                    error(err) { sub.add(scheduler.schedule(() => subscriber.error(err))); },\n                    complete() { sub.add(scheduler.schedule(() => subscriber.complete())); },\n                }));\n            }));\n            return sub;\n        });\n    }\n}\n//# sourceMappingURL=fromObservable.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/observable/fromPromise.js\":\n/*!***********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/observable/fromPromise.js ***!\n  \\***********************************************************************/\n/*! exports provided: fromPromise */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"fromPromise\", function() { return fromPromise; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscription */ \"./node_modules/rxjs/_esm2015/internal/Subscription.js\");\n/* harmony import */ var _util_subscribeToPromise__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/subscribeToPromise */ \"./node_modules/rxjs/_esm2015/internal/util/subscribeToPromise.js\");\n\n\n\nfunction fromPromise(input, scheduler) {\n    if (!scheduler) {\n        return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](Object(_util_subscribeToPromise__WEBPACK_IMPORTED_MODULE_2__[\"subscribeToPromise\"])(input));\n    }\n    else {\n        return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](subscriber => {\n            const sub = new _Subscription__WEBPACK_IMPORTED_MODULE_1__[\"Subscription\"]();\n            sub.add(scheduler.schedule(() => input.then(value => {\n                sub.add(scheduler.schedule(() => {\n                    subscriber.next(value);\n                    sub.add(scheduler.schedule(() => subscriber.complete()));\n                }));\n            }, err => {\n                sub.add(scheduler.schedule(() => subscriber.error(err)));\n            })));\n            return sub;\n        });\n    }\n}\n//# sourceMappingURL=fromPromise.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/observable/generate.js\":\n/*!********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/observable/generate.js ***!\n  \\********************************************************************/\n/*! exports provided: generate */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"generate\", function() { return generate; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n/* harmony import */ var _util_identity__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/identity */ \"./node_modules/rxjs/_esm2015/internal/util/identity.js\");\n/* harmony import */ var _util_isScheduler__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/isScheduler */ \"./node_modules/rxjs/_esm2015/internal/util/isScheduler.js\");\n\n\n\nfunction generate(initialStateOrOptions, condition, iterate, resultSelectorOrObservable, scheduler) {\n    let resultSelector;\n    let initialState;\n    if (arguments.length == 1) {\n        const options = initialStateOrOptions;\n        initialState = options.initialState;\n        condition = options.condition;\n        iterate = options.iterate;\n        resultSelector = options.resultSelector || _util_identity__WEBPACK_IMPORTED_MODULE_1__[\"identity\"];\n        scheduler = options.scheduler;\n    }\n    else if (resultSelectorOrObservable === undefined || Object(_util_isScheduler__WEBPACK_IMPORTED_MODULE_2__[\"isScheduler\"])(resultSelectorOrObservable)) {\n        initialState = initialStateOrOptions;\n        resultSelector = _util_identity__WEBPACK_IMPORTED_MODULE_1__[\"identity\"];\n        scheduler = resultSelectorOrObservable;\n    }\n    else {\n        initialState = initialStateOrOptions;\n        resultSelector = resultSelectorOrObservable;\n    }\n    return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](subscriber => {\n        let state = initialState;\n        if (scheduler) {\n            return scheduler.schedule(dispatch, 0, {\n                subscriber,\n                iterate,\n                condition,\n                resultSelector,\n                state\n            });\n        }\n        do {\n            if (condition) {\n                let conditionResult;\n                try {\n                    conditionResult = condition(state);\n                }\n                catch (err) {\n                    subscriber.error(err);\n                    return undefined;\n                }\n                if (!conditionResult) {\n                    subscriber.complete();\n                    break;\n                }\n            }\n            let value;\n            try {\n                value = resultSelector(state);\n            }\n            catch (err) {\n                subscriber.error(err);\n                return undefined;\n            }\n            subscriber.next(value);\n            if (subscriber.closed) {\n                break;\n            }\n            try {\n                state = iterate(state);\n            }\n            catch (err) {\n                subscriber.error(err);\n                return undefined;\n            }\n        } while (true);\n        return undefined;\n    });\n}\nfunction dispatch(state) {\n    const { subscriber, condition } = state;\n    if (subscriber.closed) {\n        return undefined;\n    }\n    if (state.needIterate) {\n        try {\n            state.state = state.iterate(state.state);\n        }\n        catch (err) {\n            subscriber.error(err);\n            return undefined;\n        }\n    }\n    else {\n        state.needIterate = true;\n    }\n    if (condition) {\n        let conditionResult;\n        try {\n            conditionResult = condition(state.state);\n        }\n        catch (err) {\n            subscriber.error(err);\n            return undefined;\n        }\n        if (!conditionResult) {\n            subscriber.complete();\n            return undefined;\n        }\n        if (subscriber.closed) {\n            return undefined;\n        }\n    }\n    let value;\n    try {\n        value = state.resultSelector(state.state);\n    }\n    catch (err) {\n        subscriber.error(err);\n        return undefined;\n    }\n    if (subscriber.closed) {\n        return undefined;\n    }\n    subscriber.next(value);\n    if (subscriber.closed) {\n        return undefined;\n    }\n    return this.schedule(state);\n}\n//# sourceMappingURL=generate.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/observable/iif.js\":\n/*!***************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/observable/iif.js ***!\n  \\***************************************************************/\n/*! exports provided: iif */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"iif\", function() { return iif; });\n/* harmony import */ var _defer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./defer */ \"./node_modules/rxjs/_esm2015/internal/observable/defer.js\");\n/* harmony import */ var _empty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./empty */ \"./node_modules/rxjs/_esm2015/internal/observable/empty.js\");\n\n\nfunction iif(condition, trueResult = _empty__WEBPACK_IMPORTED_MODULE_1__[\"EMPTY\"], falseResult = _empty__WEBPACK_IMPORTED_MODULE_1__[\"EMPTY\"]) {\n    return Object(_defer__WEBPACK_IMPORTED_MODULE_0__[\"defer\"])(() => condition() ? trueResult : falseResult);\n}\n//# sourceMappingURL=iif.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/observable/interval.js\":\n/*!********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/observable/interval.js ***!\n  \\********************************************************************/\n/*! exports provided: interval */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"interval\", function() { return interval; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n/* harmony import */ var _scheduler_async__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../scheduler/async */ \"./node_modules/rxjs/_esm2015/internal/scheduler/async.js\");\n/* harmony import */ var _util_isNumeric__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/isNumeric */ \"./node_modules/rxjs/_esm2015/internal/util/isNumeric.js\");\n\n\n\nfunction interval(period = 0, scheduler = _scheduler_async__WEBPACK_IMPORTED_MODULE_1__[\"async\"]) {\n    if (!Object(_util_isNumeric__WEBPACK_IMPORTED_MODULE_2__[\"isNumeric\"])(period) || period < 0) {\n        period = 0;\n    }\n    if (!scheduler || typeof scheduler.schedule !== 'function') {\n        scheduler = _scheduler_async__WEBPACK_IMPORTED_MODULE_1__[\"async\"];\n    }\n    return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](subscriber => {\n        subscriber.add(scheduler.schedule(dispatch, period, { subscriber, counter: 0, period }));\n        return subscriber;\n    });\n}\nfunction dispatch(state) {\n    const { subscriber, counter, period } = state;\n    subscriber.next(counter);\n    this.schedule({ subscriber, counter: counter + 1, period }, period);\n}\n//# sourceMappingURL=interval.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/observable/merge.js\":\n/*!*****************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/observable/merge.js ***!\n  \\*****************************************************************/\n/*! exports provided: merge */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"merge\", function() { return merge; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n/* harmony import */ var _util_isScheduler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/isScheduler */ \"./node_modules/rxjs/_esm2015/internal/util/isScheduler.js\");\n/* harmony import */ var _operators_mergeAll__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../operators/mergeAll */ \"./node_modules/rxjs/_esm2015/internal/operators/mergeAll.js\");\n/* harmony import */ var _fromArray__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./fromArray */ \"./node_modules/rxjs/_esm2015/internal/observable/fromArray.js\");\n\n\n\n\nfunction merge(...observables) {\n    let concurrent = Number.POSITIVE_INFINITY;\n    let scheduler = null;\n    let last = observables[observables.length - 1];\n    if (Object(_util_isScheduler__WEBPACK_IMPORTED_MODULE_1__[\"isScheduler\"])(last)) {\n        scheduler = observables.pop();\n        if (observables.length > 1 && typeof observables[observables.length - 1] === 'number') {\n            concurrent = observables.pop();\n        }\n    }\n    else if (typeof last === 'number') {\n        concurrent = observables.pop();\n    }\n    if (scheduler === null && observables.length === 1 && observables[0] instanceof _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"]) {\n        return observables[0];\n    }\n    return Object(_operators_mergeAll__WEBPACK_IMPORTED_MODULE_2__[\"mergeAll\"])(concurrent)(Object(_fromArray__WEBPACK_IMPORTED_MODULE_3__[\"fromArray\"])(observables, scheduler));\n}\n//# sourceMappingURL=merge.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/observable/never.js\":\n/*!*****************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/observable/never.js ***!\n  \\*****************************************************************/\n/*! exports provided: NEVER, never */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NEVER\", function() { return NEVER; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"never\", function() { return never; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n/* harmony import */ var _util_noop__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/noop */ \"./node_modules/rxjs/_esm2015/internal/util/noop.js\");\n\n\nconst NEVER = new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](_util_noop__WEBPACK_IMPORTED_MODULE_1__[\"noop\"]);\nfunction never() {\n    return NEVER;\n}\n//# sourceMappingURL=never.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/observable/of.js\":\n/*!**************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/observable/of.js ***!\n  \\**************************************************************/\n/*! exports provided: of */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"of\", function() { return of; });\n/* harmony import */ var _util_isScheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/isScheduler */ \"./node_modules/rxjs/_esm2015/internal/util/isScheduler.js\");\n/* harmony import */ var _fromArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./fromArray */ \"./node_modules/rxjs/_esm2015/internal/observable/fromArray.js\");\n/* harmony import */ var _empty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./empty */ \"./node_modules/rxjs/_esm2015/internal/observable/empty.js\");\n/* harmony import */ var _scalar__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./scalar */ \"./node_modules/rxjs/_esm2015/internal/observable/scalar.js\");\n\n\n\n\nfunction of(...args) {\n    let scheduler = args[args.length - 1];\n    if (Object(_util_isScheduler__WEBPACK_IMPORTED_MODULE_0__[\"isScheduler\"])(scheduler)) {\n        args.pop();\n    }\n    else {\n        scheduler = undefined;\n    }\n    switch (args.length) {\n        case 0:\n            return Object(_empty__WEBPACK_IMPORTED_MODULE_2__[\"empty\"])(scheduler);\n        case 1:\n            return scheduler ? Object(_fromArray__WEBPACK_IMPORTED_MODULE_1__[\"fromArray\"])(args, scheduler) : Object(_scalar__WEBPACK_IMPORTED_MODULE_3__[\"scalar\"])(args[0]);\n        default:\n            return Object(_fromArray__WEBPACK_IMPORTED_MODULE_1__[\"fromArray\"])(args, scheduler);\n    }\n}\n//# sourceMappingURL=of.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/observable/onErrorResumeNext.js\":\n/*!*****************************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/observable/onErrorResumeNext.js ***!\n  \\*****************************************************************************/\n/*! exports provided: onErrorResumeNext */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"onErrorResumeNext\", function() { return onErrorResumeNext; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n/* harmony import */ var _from__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./from */ \"./node_modules/rxjs/_esm2015/internal/observable/from.js\");\n/* harmony import */ var _util_isArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/isArray */ \"./node_modules/rxjs/_esm2015/internal/util/isArray.js\");\n/* harmony import */ var _empty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./empty */ \"./node_modules/rxjs/_esm2015/internal/observable/empty.js\");\n\n\n\n\nfunction onErrorResumeNext(...sources) {\n    if (sources.length === 0) {\n        return _empty__WEBPACK_IMPORTED_MODULE_3__[\"EMPTY\"];\n    }\n    const [first, ...remainder] = sources;\n    if (sources.length === 1 && Object(_util_isArray__WEBPACK_IMPORTED_MODULE_2__[\"isArray\"])(first)) {\n        return onErrorResumeNext(...first);\n    }\n    return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](subscriber => {\n        const subNext = () => subscriber.add(onErrorResumeNext(...remainder).subscribe(subscriber));\n        return Object(_from__WEBPACK_IMPORTED_MODULE_1__[\"from\"])(first).subscribe({\n            next(value) { subscriber.next(value); },\n            error: subNext,\n            complete: subNext,\n        });\n    });\n}\n//# sourceMappingURL=onErrorResumeNext.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/observable/pairs.js\":\n/*!*****************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/observable/pairs.js ***!\n  \\*****************************************************************/\n/*! exports provided: pairs, dispatch */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"pairs\", function() { return pairs; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"dispatch\", function() { return dispatch; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscription */ \"./node_modules/rxjs/_esm2015/internal/Subscription.js\");\n\n\nfunction pairs(obj, scheduler) {\n    if (!scheduler) {\n        return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](subscriber => {\n            const keys = Object.keys(obj);\n            for (let i = 0; i < keys.length && !subscriber.closed; i++) {\n                const key = keys[i];\n                if (obj.hasOwnProperty(key)) {\n                    subscriber.next([key, obj[key]]);\n                }\n            }\n            subscriber.complete();\n        });\n    }\n    else {\n        return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](subscriber => {\n            const keys = Object.keys(obj);\n            const subscription = new _Subscription__WEBPACK_IMPORTED_MODULE_1__[\"Subscription\"]();\n            subscription.add(scheduler.schedule(dispatch, 0, { keys, index: 0, subscriber, subscription, obj }));\n            return subscription;\n        });\n    }\n}\nfunction dispatch(state) {\n    const { keys, index, subscriber, subscription, obj } = state;\n    if (!subscriber.closed) {\n        if (index < keys.length) {\n            const key = keys[index];\n            subscriber.next([key, obj[key]]);\n            subscription.add(this.schedule({ keys, index: index + 1, subscriber, subscription, obj }));\n        }\n        else {\n            subscriber.complete();\n        }\n    }\n}\n//# sourceMappingURL=pairs.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/observable/race.js\":\n/*!****************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/observable/race.js ***!\n  \\****************************************************************/\n/*! exports provided: race, RaceOperator, RaceSubscriber */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"race\", function() { return race; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RaceOperator\", function() { return RaceOperator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RaceSubscriber\", function() { return RaceSubscriber; });\n/* harmony import */ var _util_isArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/isArray */ \"./node_modules/rxjs/_esm2015/internal/util/isArray.js\");\n/* harmony import */ var _fromArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./fromArray */ \"./node_modules/rxjs/_esm2015/internal/observable/fromArray.js\");\n/* harmony import */ var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../OuterSubscriber */ \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n/* harmony import */ var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/subscribeToResult */ \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n\n\n\nfunction race(...observables) {\n    if (observables.length === 1) {\n        if (Object(_util_isArray__WEBPACK_IMPORTED_MODULE_0__[\"isArray\"])(observables[0])) {\n            observables = observables[0];\n        }\n        else {\n            return observables[0];\n        }\n    }\n    return Object(_fromArray__WEBPACK_IMPORTED_MODULE_1__[\"fromArray\"])(observables, undefined).lift(new RaceOperator());\n}\nclass RaceOperator {\n    call(subscriber, source) {\n        return source.subscribe(new RaceSubscriber(subscriber));\n    }\n}\nclass RaceSubscriber extends _OuterSubscriber__WEBPACK_IMPORTED_MODULE_2__[\"OuterSubscriber\"] {\n    constructor(destination) {\n        super(destination);\n        this.hasFirst = false;\n        this.observables = [];\n        this.subscriptions = [];\n    }\n    _next(observable) {\n        this.observables.push(observable);\n    }\n    _complete() {\n        const observables = this.observables;\n        const len = observables.length;\n        if (len === 0) {\n            this.destination.complete();\n        }\n        else {\n            for (let i = 0; i < len && !this.hasFirst; i++) {\n                let observable = observables[i];\n                let subscription = Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_3__[\"subscribeToResult\"])(this, observable, observable, i);\n                if (this.subscriptions) {\n                    this.subscriptions.push(subscription);\n                }\n                this.add(subscription);\n            }\n            this.observables = null;\n        }\n    }\n    notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n        if (!this.hasFirst) {\n            this.hasFirst = true;\n            for (let i = 0; i < this.subscriptions.length; i++) {\n                if (i !== outerIndex) {\n                    let subscription = this.subscriptions[i];\n                    subscription.unsubscribe();\n                    this.remove(subscription);\n                }\n            }\n            this.subscriptions = null;\n        }\n        this.destination.next(innerValue);\n    }\n}\n//# sourceMappingURL=race.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/observable/range.js\":\n/*!*****************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/observable/range.js ***!\n  \\*****************************************************************/\n/*! exports provided: range, dispatch */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"range\", function() { return range; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"dispatch\", function() { return dispatch; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n\nfunction range(start = 0, count, scheduler) {\n    return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](subscriber => {\n        if (count === undefined) {\n            count = start;\n            start = 0;\n        }\n        let index = 0;\n        let current = start;\n        if (scheduler) {\n            return scheduler.schedule(dispatch, 0, {\n                index, count, start, subscriber\n            });\n        }\n        else {\n            do {\n                if (index++ >= count) {\n                    subscriber.complete();\n                    break;\n                }\n                subscriber.next(current++);\n                if (subscriber.closed) {\n                    break;\n                }\n            } while (true);\n        }\n        return undefined;\n    });\n}\nfunction dispatch(state) {\n    const { start, index, count, subscriber } = state;\n    if (index >= count) {\n        subscriber.complete();\n        return;\n    }\n    subscriber.next(start);\n    if (subscriber.closed) {\n        return;\n    }\n    state.index = index + 1;\n    state.start = start + 1;\n    this.schedule(state);\n}\n//# sourceMappingURL=range.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/observable/scalar.js\":\n/*!******************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/observable/scalar.js ***!\n  \\******************************************************************/\n/*! exports provided: scalar */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"scalar\", function() { return scalar; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n\nfunction scalar(value) {\n    const result = new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](subscriber => {\n        subscriber.next(value);\n        subscriber.complete();\n    });\n    result._isScalar = true;\n    result.value = value;\n    return result;\n}\n//# sourceMappingURL=scalar.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/observable/throwError.js\":\n/*!**********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/observable/throwError.js ***!\n  \\**********************************************************************/\n/*! exports provided: throwError */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"throwError\", function() { return throwError; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n\nfunction throwError(error, scheduler) {\n    if (!scheduler) {\n        return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](subscriber => subscriber.error(error));\n    }\n    else {\n        return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](subscriber => scheduler.schedule(dispatch, 0, { error, subscriber }));\n    }\n}\nfunction dispatch({ error, subscriber }) {\n    subscriber.error(error);\n}\n//# sourceMappingURL=throwError.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/observable/timer.js\":\n/*!*****************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/observable/timer.js ***!\n  \\*****************************************************************/\n/*! exports provided: timer */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"timer\", function() { return timer; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n/* harmony import */ var _scheduler_async__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../scheduler/async */ \"./node_modules/rxjs/_esm2015/internal/scheduler/async.js\");\n/* harmony import */ var _util_isNumeric__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/isNumeric */ \"./node_modules/rxjs/_esm2015/internal/util/isNumeric.js\");\n/* harmony import */ var _util_isScheduler__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/isScheduler */ \"./node_modules/rxjs/_esm2015/internal/util/isScheduler.js\");\n\n\n\n\nfunction timer(dueTime = 0, periodOrScheduler, scheduler) {\n    let period = -1;\n    if (Object(_util_isNumeric__WEBPACK_IMPORTED_MODULE_2__[\"isNumeric\"])(periodOrScheduler)) {\n        period = Number(periodOrScheduler) < 1 && 1 || Number(periodOrScheduler);\n    }\n    else if (Object(_util_isScheduler__WEBPACK_IMPORTED_MODULE_3__[\"isScheduler\"])(periodOrScheduler)) {\n        scheduler = periodOrScheduler;\n    }\n    if (!Object(_util_isScheduler__WEBPACK_IMPORTED_MODULE_3__[\"isScheduler\"])(scheduler)) {\n        scheduler = _scheduler_async__WEBPACK_IMPORTED_MODULE_1__[\"async\"];\n    }\n    return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](subscriber => {\n        const due = Object(_util_isNumeric__WEBPACK_IMPORTED_MODULE_2__[\"isNumeric\"])(dueTime)\n            ? dueTime\n            : (+dueTime - scheduler.now());\n        return scheduler.schedule(dispatch, due, {\n            index: 0, period, subscriber\n        });\n    });\n}\nfunction dispatch(state) {\n    const { index, period, subscriber } = state;\n    subscriber.next(index);\n    if (subscriber.closed) {\n        return;\n    }\n    else if (period === -1) {\n        return subscriber.complete();\n    }\n    state.index = index + 1;\n    this.schedule(state, period);\n}\n//# sourceMappingURL=timer.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/observable/using.js\":\n/*!*****************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/observable/using.js ***!\n  \\*****************************************************************/\n/*! exports provided: using */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"using\", function() { return using; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n/* harmony import */ var _from__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./from */ \"./node_modules/rxjs/_esm2015/internal/observable/from.js\");\n/* harmony import */ var _empty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./empty */ \"./node_modules/rxjs/_esm2015/internal/observable/empty.js\");\n\n\n\nfunction using(resourceFactory, observableFactory) {\n    return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](subscriber => {\n        let resource;\n        try {\n            resource = resourceFactory();\n        }\n        catch (err) {\n            subscriber.error(err);\n            return undefined;\n        }\n        let result;\n        try {\n            result = observableFactory(resource);\n        }\n        catch (err) {\n            subscriber.error(err);\n            return undefined;\n        }\n        const source = result ? Object(_from__WEBPACK_IMPORTED_MODULE_1__[\"from\"])(result) : _empty__WEBPACK_IMPORTED_MODULE_2__[\"EMPTY\"];\n        const subscription = source.subscribe(subscriber);\n        return () => {\n            subscription.unsubscribe();\n            if (resource) {\n                resource.unsubscribe();\n            }\n        };\n    });\n}\n//# sourceMappingURL=using.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/observable/zip.js\":\n/*!***************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/observable/zip.js ***!\n  \\***************************************************************/\n/*! exports provided: zip, ZipOperator, ZipSubscriber */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"zip\", function() { return zip; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ZipOperator\", function() { return ZipOperator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ZipSubscriber\", function() { return ZipSubscriber; });\n/* harmony import */ var _fromArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./fromArray */ \"./node_modules/rxjs/_esm2015/internal/observable/fromArray.js\");\n/* harmony import */ var _util_isArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/isArray */ \"./node_modules/rxjs/_esm2015/internal/util/isArray.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n/* harmony import */ var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../OuterSubscriber */ \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n/* harmony import */ var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../util/subscribeToResult */ \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n/* harmony import */ var _internal_symbol_iterator__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../internal/symbol/iterator */ \"./node_modules/rxjs/_esm2015/internal/symbol/iterator.js\");\n\n\n\n\n\n\nfunction zip(...observables) {\n    const resultSelector = observables[observables.length - 1];\n    if (typeof resultSelector === 'function') {\n        observables.pop();\n    }\n    return Object(_fromArray__WEBPACK_IMPORTED_MODULE_0__[\"fromArray\"])(observables, undefined).lift(new ZipOperator(resultSelector));\n}\nclass ZipOperator {\n    constructor(resultSelector) {\n        this.resultSelector = resultSelector;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new ZipSubscriber(subscriber, this.resultSelector));\n    }\n}\nclass ZipSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_2__[\"Subscriber\"] {\n    constructor(destination, resultSelector, values = Object.create(null)) {\n        super(destination);\n        this.iterators = [];\n        this.active = 0;\n        this.resultSelector = (typeof resultSelector === 'function') ? resultSelector : null;\n        this.values = values;\n    }\n    _next(value) {\n        const iterators = this.iterators;\n        if (Object(_util_isArray__WEBPACK_IMPORTED_MODULE_1__[\"isArray\"])(value)) {\n            iterators.push(new StaticArrayIterator(value));\n        }\n        else if (typeof value[_internal_symbol_iterator__WEBPACK_IMPORTED_MODULE_5__[\"iterator\"]] === 'function') {\n            iterators.push(new StaticIterator(value[_internal_symbol_iterator__WEBPACK_IMPORTED_MODULE_5__[\"iterator\"]]()));\n        }\n        else {\n            iterators.push(new ZipBufferIterator(this.destination, this, value));\n        }\n    }\n    _complete() {\n        const iterators = this.iterators;\n        const len = iterators.length;\n        this.unsubscribe();\n        if (len === 0) {\n            this.destination.complete();\n            return;\n        }\n        this.active = len;\n        for (let i = 0; i < len; i++) {\n            let iterator = iterators[i];\n            if (iterator.stillUnsubscribed) {\n                const destination = this.destination;\n                destination.add(iterator.subscribe(iterator, i));\n            }\n            else {\n                this.active--;\n            }\n        }\n    }\n    notifyInactive() {\n        this.active--;\n        if (this.active === 0) {\n            this.destination.complete();\n        }\n    }\n    checkIterators() {\n        const iterators = this.iterators;\n        const len = iterators.length;\n        const destination = this.destination;\n        for (let i = 0; i < len; i++) {\n            let iterator = iterators[i];\n            if (typeof iterator.hasValue === 'function' && !iterator.hasValue()) {\n                return;\n            }\n        }\n        let shouldComplete = false;\n        const args = [];\n        for (let i = 0; i < len; i++) {\n            let iterator = iterators[i];\n            let result = iterator.next();\n            if (iterator.hasCompleted()) {\n                shouldComplete = true;\n            }\n            if (result.done) {\n                destination.complete();\n                return;\n            }\n            args.push(result.value);\n        }\n        if (this.resultSelector) {\n            this._tryresultSelector(args);\n        }\n        else {\n            destination.next(args);\n        }\n        if (shouldComplete) {\n            destination.complete();\n        }\n    }\n    _tryresultSelector(args) {\n        let result;\n        try {\n            result = this.resultSelector.apply(this, args);\n        }\n        catch (err) {\n            this.destination.error(err);\n            return;\n        }\n        this.destination.next(result);\n    }\n}\nclass StaticIterator {\n    constructor(iterator) {\n        this.iterator = iterator;\n        this.nextResult = iterator.next();\n    }\n    hasValue() {\n        return true;\n    }\n    next() {\n        const result = this.nextResult;\n        this.nextResult = this.iterator.next();\n        return result;\n    }\n    hasCompleted() {\n        const nextResult = this.nextResult;\n        return nextResult && nextResult.done;\n    }\n}\nclass StaticArrayIterator {\n    constructor(array) {\n        this.array = array;\n        this.index = 0;\n        this.length = 0;\n        this.length = array.length;\n    }\n    [_internal_symbol_iterator__WEBPACK_IMPORTED_MODULE_5__[\"iterator\"]]() {\n        return this;\n    }\n    next(value) {\n        const i = this.index++;\n        const array = this.array;\n        return i < this.length ? { value: array[i], done: false } : { value: null, done: true };\n    }\n    hasValue() {\n        return this.array.length > this.index;\n    }\n    hasCompleted() {\n        return this.array.length === this.index;\n    }\n}\nclass ZipBufferIterator extends _OuterSubscriber__WEBPACK_IMPORTED_MODULE_3__[\"OuterSubscriber\"] {\n    constructor(destination, parent, observable) {\n        super(destination);\n        this.parent = parent;\n        this.observable = observable;\n        this.stillUnsubscribed = true;\n        this.buffer = [];\n        this.isComplete = false;\n    }\n    [_internal_symbol_iterator__WEBPACK_IMPORTED_MODULE_5__[\"iterator\"]]() {\n        return this;\n    }\n    next() {\n        const buffer = this.buffer;\n        if (buffer.length === 0 && this.isComplete) {\n            return { value: null, done: true };\n        }\n        else {\n            return { value: buffer.shift(), done: false };\n        }\n    }\n    hasValue() {\n        return this.buffer.length > 0;\n    }\n    hasCompleted() {\n        return this.buffer.length === 0 && this.isComplete;\n    }\n    notifyComplete() {\n        if (this.buffer.length > 0) {\n            this.isComplete = true;\n            this.parent.notifyInactive();\n        }\n        else {\n            this.destination.complete();\n        }\n    }\n    notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n        this.buffer.push(innerValue);\n        this.parent.checkIterators();\n    }\n    subscribe(value, index) {\n        return Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_4__[\"subscribeToResult\"])(this, this.observable, this, index);\n    }\n}\n//# sourceMappingURL=zip.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/audit.js\":\n/*!****************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/audit.js ***!\n  \\****************************************************************/\n/*! exports provided: audit */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"audit\", function() { return audit; });\n/* harmony import */ var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../OuterSubscriber */ \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n/* harmony import */ var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/subscribeToResult */ \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n\nfunction audit(durationSelector) {\n    return function auditOperatorFunction(source) {\n        return source.lift(new AuditOperator(durationSelector));\n    };\n}\nclass AuditOperator {\n    constructor(durationSelector) {\n        this.durationSelector = durationSelector;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new AuditSubscriber(subscriber, this.durationSelector));\n    }\n}\nclass AuditSubscriber extends _OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__[\"OuterSubscriber\"] {\n    constructor(destination, durationSelector) {\n        super(destination);\n        this.durationSelector = durationSelector;\n        this.hasValue = false;\n    }\n    _next(value) {\n        this.value = value;\n        this.hasValue = true;\n        if (!this.throttled) {\n            let duration;\n            try {\n                const { durationSelector } = this;\n                duration = durationSelector(value);\n            }\n            catch (err) {\n                return this.destination.error(err);\n            }\n            const innerSubscription = Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__[\"subscribeToResult\"])(this, duration);\n            if (!innerSubscription || innerSubscription.closed) {\n                this.clearThrottle();\n            }\n            else {\n                this.add(this.throttled = innerSubscription);\n            }\n        }\n    }\n    clearThrottle() {\n        const { value, hasValue, throttled } = this;\n        if (throttled) {\n            this.remove(throttled);\n            this.throttled = null;\n            throttled.unsubscribe();\n        }\n        if (hasValue) {\n            this.value = null;\n            this.hasValue = false;\n            this.destination.next(value);\n        }\n    }\n    notifyNext(outerValue, innerValue, outerIndex, innerIndex) {\n        this.clearThrottle();\n    }\n    notifyComplete() {\n        this.clearThrottle();\n    }\n}\n//# sourceMappingURL=audit.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/auditTime.js\":\n/*!********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/auditTime.js ***!\n  \\********************************************************************/\n/*! exports provided: auditTime */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"auditTime\", function() { return auditTime; });\n/* harmony import */ var _scheduler_async__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../scheduler/async */ \"./node_modules/rxjs/_esm2015/internal/scheduler/async.js\");\n/* harmony import */ var _audit__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./audit */ \"./node_modules/rxjs/_esm2015/internal/operators/audit.js\");\n/* harmony import */ var _observable_timer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../observable/timer */ \"./node_modules/rxjs/_esm2015/internal/observable/timer.js\");\n\n\n\nfunction auditTime(duration, scheduler = _scheduler_async__WEBPACK_IMPORTED_MODULE_0__[\"async\"]) {\n    return Object(_audit__WEBPACK_IMPORTED_MODULE_1__[\"audit\"])(() => Object(_observable_timer__WEBPACK_IMPORTED_MODULE_2__[\"timer\"])(duration, scheduler));\n}\n//# sourceMappingURL=auditTime.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/buffer.js\":\n/*!*****************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/buffer.js ***!\n  \\*****************************************************************/\n/*! exports provided: buffer */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"buffer\", function() { return buffer; });\n/* harmony import */ var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../OuterSubscriber */ \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n/* harmony import */ var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/subscribeToResult */ \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n\nfunction buffer(closingNotifier) {\n    return function bufferOperatorFunction(source) {\n        return source.lift(new BufferOperator(closingNotifier));\n    };\n}\nclass BufferOperator {\n    constructor(closingNotifier) {\n        this.closingNotifier = closingNotifier;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new BufferSubscriber(subscriber, this.closingNotifier));\n    }\n}\nclass BufferSubscriber extends _OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__[\"OuterSubscriber\"] {\n    constructor(destination, closingNotifier) {\n        super(destination);\n        this.buffer = [];\n        this.add(Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__[\"subscribeToResult\"])(this, closingNotifier));\n    }\n    _next(value) {\n        this.buffer.push(value);\n    }\n    notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n        const buffer = this.buffer;\n        this.buffer = [];\n        this.destination.next(buffer);\n    }\n}\n//# sourceMappingURL=buffer.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/bufferCount.js\":\n/*!**********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/bufferCount.js ***!\n  \\**********************************************************************/\n/*! exports provided: bufferCount */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"bufferCount\", function() { return bufferCount; });\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\nfunction bufferCount(bufferSize, startBufferEvery = null) {\n    return function bufferCountOperatorFunction(source) {\n        return source.lift(new BufferCountOperator(bufferSize, startBufferEvery));\n    };\n}\nclass BufferCountOperator {\n    constructor(bufferSize, startBufferEvery) {\n        this.bufferSize = bufferSize;\n        this.startBufferEvery = startBufferEvery;\n        if (!startBufferEvery || bufferSize === startBufferEvery) {\n            this.subscriberClass = BufferCountSubscriber;\n        }\n        else {\n            this.subscriberClass = BufferSkipCountSubscriber;\n        }\n    }\n    call(subscriber, source) {\n        return source.subscribe(new this.subscriberClass(subscriber, this.bufferSize, this.startBufferEvery));\n    }\n}\nclass BufferCountSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"] {\n    constructor(destination, bufferSize) {\n        super(destination);\n        this.bufferSize = bufferSize;\n        this.buffer = [];\n    }\n    _next(value) {\n        const buffer = this.buffer;\n        buffer.push(value);\n        if (buffer.length == this.bufferSize) {\n            this.destination.next(buffer);\n            this.buffer = [];\n        }\n    }\n    _complete() {\n        const buffer = this.buffer;\n        if (buffer.length > 0) {\n            this.destination.next(buffer);\n        }\n        super._complete();\n    }\n}\nclass BufferSkipCountSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"] {\n    constructor(destination, bufferSize, startBufferEvery) {\n        super(destination);\n        this.bufferSize = bufferSize;\n        this.startBufferEvery = startBufferEvery;\n        this.buffers = [];\n        this.count = 0;\n    }\n    _next(value) {\n        const { bufferSize, startBufferEvery, buffers, count } = this;\n        this.count++;\n        if (count % startBufferEvery === 0) {\n            buffers.push([]);\n        }\n        for (let i = buffers.length; i--;) {\n            const buffer = buffers[i];\n            buffer.push(value);\n            if (buffer.length === bufferSize) {\n                buffers.splice(i, 1);\n                this.destination.next(buffer);\n            }\n        }\n    }\n    _complete() {\n        const { buffers, destination } = this;\n        while (buffers.length > 0) {\n            let buffer = buffers.shift();\n            if (buffer.length > 0) {\n                destination.next(buffer);\n            }\n        }\n        super._complete();\n    }\n}\n//# sourceMappingURL=bufferCount.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/bufferTime.js\":\n/*!*********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/bufferTime.js ***!\n  \\*********************************************************************/\n/*! exports provided: bufferTime */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"bufferTime\", function() { return bufferTime; });\n/* harmony import */ var _scheduler_async__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../scheduler/async */ \"./node_modules/rxjs/_esm2015/internal/scheduler/async.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n/* harmony import */ var _util_isScheduler__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/isScheduler */ \"./node_modules/rxjs/_esm2015/internal/util/isScheduler.js\");\n\n\n\nfunction bufferTime(bufferTimeSpan) {\n    let length = arguments.length;\n    let scheduler = _scheduler_async__WEBPACK_IMPORTED_MODULE_0__[\"async\"];\n    if (Object(_util_isScheduler__WEBPACK_IMPORTED_MODULE_2__[\"isScheduler\"])(arguments[arguments.length - 1])) {\n        scheduler = arguments[arguments.length - 1];\n        length--;\n    }\n    let bufferCreationInterval = null;\n    if (length >= 2) {\n        bufferCreationInterval = arguments[1];\n    }\n    let maxBufferSize = Number.POSITIVE_INFINITY;\n    if (length >= 3) {\n        maxBufferSize = arguments[2];\n    }\n    return function bufferTimeOperatorFunction(source) {\n        return source.lift(new BufferTimeOperator(bufferTimeSpan, bufferCreationInterval, maxBufferSize, scheduler));\n    };\n}\nclass BufferTimeOperator {\n    constructor(bufferTimeSpan, bufferCreationInterval, maxBufferSize, scheduler) {\n        this.bufferTimeSpan = bufferTimeSpan;\n        this.bufferCreationInterval = bufferCreationInterval;\n        this.maxBufferSize = maxBufferSize;\n        this.scheduler = scheduler;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new BufferTimeSubscriber(subscriber, this.bufferTimeSpan, this.bufferCreationInterval, this.maxBufferSize, this.scheduler));\n    }\n}\nclass Context {\n    constructor() {\n        this.buffer = [];\n    }\n}\nclass BufferTimeSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"] {\n    constructor(destination, bufferTimeSpan, bufferCreationInterval, maxBufferSize, scheduler) {\n        super(destination);\n        this.bufferTimeSpan = bufferTimeSpan;\n        this.bufferCreationInterval = bufferCreationInterval;\n        this.maxBufferSize = maxBufferSize;\n        this.scheduler = scheduler;\n        this.contexts = [];\n        const context = this.openContext();\n        this.timespanOnly = bufferCreationInterval == null || bufferCreationInterval < 0;\n        if (this.timespanOnly) {\n            const timeSpanOnlyState = { subscriber: this, context, bufferTimeSpan };\n            this.add(context.closeAction = scheduler.schedule(dispatchBufferTimeSpanOnly, bufferTimeSpan, timeSpanOnlyState));\n        }\n        else {\n            const closeState = { subscriber: this, context };\n            const creationState = { bufferTimeSpan, bufferCreationInterval, subscriber: this, scheduler };\n            this.add(context.closeAction = scheduler.schedule(dispatchBufferClose, bufferTimeSpan, closeState));\n            this.add(scheduler.schedule(dispatchBufferCreation, bufferCreationInterval, creationState));\n        }\n    }\n    _next(value) {\n        const contexts = this.contexts;\n        const len = contexts.length;\n        let filledBufferContext;\n        for (let i = 0; i < len; i++) {\n            const context = contexts[i];\n            const buffer = context.buffer;\n            buffer.push(value);\n            if (buffer.length == this.maxBufferSize) {\n                filledBufferContext = context;\n            }\n        }\n        if (filledBufferContext) {\n            this.onBufferFull(filledBufferContext);\n        }\n    }\n    _error(err) {\n        this.contexts.length = 0;\n        super._error(err);\n    }\n    _complete() {\n        const { contexts, destination } = this;\n        while (contexts.length > 0) {\n            const context = contexts.shift();\n            destination.next(context.buffer);\n        }\n        super._complete();\n    }\n    _unsubscribe() {\n        this.contexts = null;\n    }\n    onBufferFull(context) {\n        this.closeContext(context);\n        const closeAction = context.closeAction;\n        closeAction.unsubscribe();\n        this.remove(closeAction);\n        if (!this.closed && this.timespanOnly) {\n            context = this.openContext();\n            const bufferTimeSpan = this.bufferTimeSpan;\n            const timeSpanOnlyState = { subscriber: this, context, bufferTimeSpan };\n            this.add(context.closeAction = this.scheduler.schedule(dispatchBufferTimeSpanOnly, bufferTimeSpan, timeSpanOnlyState));\n        }\n    }\n    openContext() {\n        const context = new Context();\n        this.contexts.push(context);\n        return context;\n    }\n    closeContext(context) {\n        this.destination.next(context.buffer);\n        const contexts = this.contexts;\n        const spliceIndex = contexts ? contexts.indexOf(context) : -1;\n        if (spliceIndex >= 0) {\n            contexts.splice(contexts.indexOf(context), 1);\n        }\n    }\n}\nfunction dispatchBufferTimeSpanOnly(state) {\n    const subscriber = state.subscriber;\n    const prevContext = state.context;\n    if (prevContext) {\n        subscriber.closeContext(prevContext);\n    }\n    if (!subscriber.closed) {\n        state.context = subscriber.openContext();\n        state.context.closeAction = this.schedule(state, state.bufferTimeSpan);\n    }\n}\nfunction dispatchBufferCreation(state) {\n    const { bufferCreationInterval, bufferTimeSpan, subscriber, scheduler } = state;\n    const context = subscriber.openContext();\n    const action = this;\n    if (!subscriber.closed) {\n        subscriber.add(context.closeAction = scheduler.schedule(dispatchBufferClose, bufferTimeSpan, { subscriber, context }));\n        action.schedule(state, bufferCreationInterval);\n    }\n}\nfunction dispatchBufferClose(arg) {\n    const { subscriber, context } = arg;\n    subscriber.closeContext(context);\n}\n//# sourceMappingURL=bufferTime.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/bufferToggle.js\":\n/*!***********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/bufferToggle.js ***!\n  \\***********************************************************************/\n/*! exports provided: bufferToggle */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"bufferToggle\", function() { return bufferToggle; });\n/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscription */ \"./node_modules/rxjs/_esm2015/internal/Subscription.js\");\n/* harmony import */ var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/subscribeToResult */ \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n/* harmony import */ var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../OuterSubscriber */ \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n\n\n\nfunction bufferToggle(openings, closingSelector) {\n    return function bufferToggleOperatorFunction(source) {\n        return source.lift(new BufferToggleOperator(openings, closingSelector));\n    };\n}\nclass BufferToggleOperator {\n    constructor(openings, closingSelector) {\n        this.openings = openings;\n        this.closingSelector = closingSelector;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new BufferToggleSubscriber(subscriber, this.openings, this.closingSelector));\n    }\n}\nclass BufferToggleSubscriber extends _OuterSubscriber__WEBPACK_IMPORTED_MODULE_2__[\"OuterSubscriber\"] {\n    constructor(destination, openings, closingSelector) {\n        super(destination);\n        this.openings = openings;\n        this.closingSelector = closingSelector;\n        this.contexts = [];\n        this.add(Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__[\"subscribeToResult\"])(this, openings));\n    }\n    _next(value) {\n        const contexts = this.contexts;\n        const len = contexts.length;\n        for (let i = 0; i < len; i++) {\n            contexts[i].buffer.push(value);\n        }\n    }\n    _error(err) {\n        const contexts = this.contexts;\n        while (contexts.length > 0) {\n            const context = contexts.shift();\n            context.subscription.unsubscribe();\n            context.buffer = null;\n            context.subscription = null;\n        }\n        this.contexts = null;\n        super._error(err);\n    }\n    _complete() {\n        const contexts = this.contexts;\n        while (contexts.length > 0) {\n            const context = contexts.shift();\n            this.destination.next(context.buffer);\n            context.subscription.unsubscribe();\n            context.buffer = null;\n            context.subscription = null;\n        }\n        this.contexts = null;\n        super._complete();\n    }\n    notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n        outerValue ? this.closeBuffer(outerValue) : this.openBuffer(innerValue);\n    }\n    notifyComplete(innerSub) {\n        this.closeBuffer(innerSub.context);\n    }\n    openBuffer(value) {\n        try {\n            const closingSelector = this.closingSelector;\n            const closingNotifier = closingSelector.call(this, value);\n            if (closingNotifier) {\n                this.trySubscribe(closingNotifier);\n            }\n        }\n        catch (err) {\n            this._error(err);\n        }\n    }\n    closeBuffer(context) {\n        const contexts = this.contexts;\n        if (contexts && context) {\n            const { buffer, subscription } = context;\n            this.destination.next(buffer);\n            contexts.splice(contexts.indexOf(context), 1);\n            this.remove(subscription);\n            subscription.unsubscribe();\n        }\n    }\n    trySubscribe(closingNotifier) {\n        const contexts = this.contexts;\n        const buffer = [];\n        const subscription = new _Subscription__WEBPACK_IMPORTED_MODULE_0__[\"Subscription\"]();\n        const context = { buffer, subscription };\n        contexts.push(context);\n        const innerSubscription = Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__[\"subscribeToResult\"])(this, closingNotifier, context);\n        if (!innerSubscription || innerSubscription.closed) {\n            this.closeBuffer(context);\n        }\n        else {\n            innerSubscription.context = context;\n            this.add(innerSubscription);\n            subscription.add(innerSubscription);\n        }\n    }\n}\n//# sourceMappingURL=bufferToggle.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/bufferWhen.js\":\n/*!*********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/bufferWhen.js ***!\n  \\*********************************************************************/\n/*! exports provided: bufferWhen */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"bufferWhen\", function() { return bufferWhen; });\n/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscription */ \"./node_modules/rxjs/_esm2015/internal/Subscription.js\");\n/* harmony import */ var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../OuterSubscriber */ \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n/* harmony import */ var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/subscribeToResult */ \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n\n\nfunction bufferWhen(closingSelector) {\n    return function (source) {\n        return source.lift(new BufferWhenOperator(closingSelector));\n    };\n}\nclass BufferWhenOperator {\n    constructor(closingSelector) {\n        this.closingSelector = closingSelector;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new BufferWhenSubscriber(subscriber, this.closingSelector));\n    }\n}\nclass BufferWhenSubscriber extends _OuterSubscriber__WEBPACK_IMPORTED_MODULE_1__[\"OuterSubscriber\"] {\n    constructor(destination, closingSelector) {\n        super(destination);\n        this.closingSelector = closingSelector;\n        this.subscribing = false;\n        this.openBuffer();\n    }\n    _next(value) {\n        this.buffer.push(value);\n    }\n    _complete() {\n        const buffer = this.buffer;\n        if (buffer) {\n            this.destination.next(buffer);\n        }\n        super._complete();\n    }\n    _unsubscribe() {\n        this.buffer = null;\n        this.subscribing = false;\n    }\n    notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n        this.openBuffer();\n    }\n    notifyComplete() {\n        if (this.subscribing) {\n            this.complete();\n        }\n        else {\n            this.openBuffer();\n        }\n    }\n    openBuffer() {\n        let { closingSubscription } = this;\n        if (closingSubscription) {\n            this.remove(closingSubscription);\n            closingSubscription.unsubscribe();\n        }\n        const buffer = this.buffer;\n        if (this.buffer) {\n            this.destination.next(buffer);\n        }\n        this.buffer = [];\n        let closingNotifier;\n        try {\n            const { closingSelector } = this;\n            closingNotifier = closingSelector();\n        }\n        catch (err) {\n            return this.error(err);\n        }\n        closingSubscription = new _Subscription__WEBPACK_IMPORTED_MODULE_0__[\"Subscription\"]();\n        this.closingSubscription = closingSubscription;\n        this.add(closingSubscription);\n        this.subscribing = true;\n        closingSubscription.add(Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_2__[\"subscribeToResult\"])(this, closingNotifier));\n        this.subscribing = false;\n    }\n}\n//# sourceMappingURL=bufferWhen.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/catchError.js\":\n/*!*********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/catchError.js ***!\n  \\*********************************************************************/\n/*! exports provided: catchError */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"catchError\", function() { return catchError; });\n/* harmony import */ var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../OuterSubscriber */ \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n/* harmony import */ var _InnerSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../InnerSubscriber */ \"./node_modules/rxjs/_esm2015/internal/InnerSubscriber.js\");\n/* harmony import */ var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/subscribeToResult */ \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n\n\nfunction catchError(selector) {\n    return function catchErrorOperatorFunction(source) {\n        const operator = new CatchOperator(selector);\n        const caught = source.lift(operator);\n        return (operator.caught = caught);\n    };\n}\nclass CatchOperator {\n    constructor(selector) {\n        this.selector = selector;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new CatchSubscriber(subscriber, this.selector, this.caught));\n    }\n}\nclass CatchSubscriber extends _OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__[\"OuterSubscriber\"] {\n    constructor(destination, selector, caught) {\n        super(destination);\n        this.selector = selector;\n        this.caught = caught;\n    }\n    error(err) {\n        if (!this.isStopped) {\n            let result;\n            try {\n                result = this.selector(err, this.caught);\n            }\n            catch (err2) {\n                super.error(err2);\n                return;\n            }\n            this._unsubscribeAndRecycle();\n            const innerSubscriber = new _InnerSubscriber__WEBPACK_IMPORTED_MODULE_1__[\"InnerSubscriber\"](this, undefined, undefined);\n            this.add(innerSubscriber);\n            Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_2__[\"subscribeToResult\"])(this, result, undefined, undefined, innerSubscriber);\n        }\n    }\n}\n//# sourceMappingURL=catchError.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/combineAll.js\":\n/*!*********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/combineAll.js ***!\n  \\*********************************************************************/\n/*! exports provided: combineAll */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"combineAll\", function() { return combineAll; });\n/* harmony import */ var _observable_combineLatest__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../observable/combineLatest */ \"./node_modules/rxjs/_esm2015/internal/observable/combineLatest.js\");\n\nfunction combineAll(project) {\n    return (source) => source.lift(new _observable_combineLatest__WEBPACK_IMPORTED_MODULE_0__[\"CombineLatestOperator\"](project));\n}\n//# sourceMappingURL=combineAll.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/combineLatest.js\":\n/*!************************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/combineLatest.js ***!\n  \\************************************************************************/\n/*! exports provided: combineLatest */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"combineLatest\", function() { return combineLatest; });\n/* harmony import */ var _util_isArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/isArray */ \"./node_modules/rxjs/_esm2015/internal/util/isArray.js\");\n/* harmony import */ var _observable_combineLatest__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../observable/combineLatest */ \"./node_modules/rxjs/_esm2015/internal/observable/combineLatest.js\");\n/* harmony import */ var _observable_from__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../observable/from */ \"./node_modules/rxjs/_esm2015/internal/observable/from.js\");\n\n\n\nconst none = {};\nfunction combineLatest(...observables) {\n    let project = null;\n    if (typeof observables[observables.length - 1] === 'function') {\n        project = observables.pop();\n    }\n    if (observables.length === 1 && Object(_util_isArray__WEBPACK_IMPORTED_MODULE_0__[\"isArray\"])(observables[0])) {\n        observables = observables[0].slice();\n    }\n    return (source) => source.lift.call(Object(_observable_from__WEBPACK_IMPORTED_MODULE_2__[\"from\"])([source, ...observables]), new _observable_combineLatest__WEBPACK_IMPORTED_MODULE_1__[\"CombineLatestOperator\"](project));\n}\n//# sourceMappingURL=combineLatest.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/concat.js\":\n/*!*****************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/concat.js ***!\n  \\*****************************************************************/\n/*! exports provided: concat */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"concat\", function() { return concat; });\n/* harmony import */ var _observable_concat__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../observable/concat */ \"./node_modules/rxjs/_esm2015/internal/observable/concat.js\");\n\nfunction concat(...observables) {\n    return (source) => source.lift.call(Object(_observable_concat__WEBPACK_IMPORTED_MODULE_0__[\"concat\"])(source, ...observables));\n}\n//# sourceMappingURL=concat.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/concatAll.js\":\n/*!********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/concatAll.js ***!\n  \\********************************************************************/\n/*! exports provided: concatAll */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"concatAll\", function() { return concatAll; });\n/* harmony import */ var _mergeAll__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./mergeAll */ \"./node_modules/rxjs/_esm2015/internal/operators/mergeAll.js\");\n\nfunction concatAll() {\n    return Object(_mergeAll__WEBPACK_IMPORTED_MODULE_0__[\"mergeAll\"])(1);\n}\n//# sourceMappingURL=concatAll.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/concatMap.js\":\n/*!********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/concatMap.js ***!\n  \\********************************************************************/\n/*! exports provided: concatMap */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"concatMap\", function() { return concatMap; });\n/* harmony import */ var _mergeMap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./mergeMap */ \"./node_modules/rxjs/_esm2015/internal/operators/mergeMap.js\");\n\nfunction concatMap(project, resultSelector) {\n    return Object(_mergeMap__WEBPACK_IMPORTED_MODULE_0__[\"mergeMap\"])(project, resultSelector, 1);\n}\n//# sourceMappingURL=concatMap.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/concatMapTo.js\":\n/*!**********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/concatMapTo.js ***!\n  \\**********************************************************************/\n/*! exports provided: concatMapTo */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"concatMapTo\", function() { return concatMapTo; });\n/* harmony import */ var _concatMap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./concatMap */ \"./node_modules/rxjs/_esm2015/internal/operators/concatMap.js\");\n\nfunction concatMapTo(innerObservable, resultSelector) {\n    return Object(_concatMap__WEBPACK_IMPORTED_MODULE_0__[\"concatMap\"])(() => innerObservable, resultSelector);\n}\n//# sourceMappingURL=concatMapTo.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/count.js\":\n/*!****************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/count.js ***!\n  \\****************************************************************/\n/*! exports provided: count */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"count\", function() { return count; });\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\nfunction count(predicate) {\n    return (source) => source.lift(new CountOperator(predicate, source));\n}\nclass CountOperator {\n    constructor(predicate, source) {\n        this.predicate = predicate;\n        this.source = source;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new CountSubscriber(subscriber, this.predicate, this.source));\n    }\n}\nclass CountSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"] {\n    constructor(destination, predicate, source) {\n        super(destination);\n        this.predicate = predicate;\n        this.source = source;\n        this.count = 0;\n        this.index = 0;\n    }\n    _next(value) {\n        if (this.predicate) {\n            this._tryPredicate(value);\n        }\n        else {\n            this.count++;\n        }\n    }\n    _tryPredicate(value) {\n        let result;\n        try {\n            result = this.predicate(value, this.index++, this.source);\n        }\n        catch (err) {\n            this.destination.error(err);\n            return;\n        }\n        if (result) {\n            this.count++;\n        }\n    }\n    _complete() {\n        this.destination.next(this.count);\n        this.destination.complete();\n    }\n}\n//# sourceMappingURL=count.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/debounce.js\":\n/*!*******************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/debounce.js ***!\n  \\*******************************************************************/\n/*! exports provided: debounce */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"debounce\", function() { return debounce; });\n/* harmony import */ var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../OuterSubscriber */ \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n/* harmony import */ var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/subscribeToResult */ \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n\nfunction debounce(durationSelector) {\n    return (source) => source.lift(new DebounceOperator(durationSelector));\n}\nclass DebounceOperator {\n    constructor(durationSelector) {\n        this.durationSelector = durationSelector;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new DebounceSubscriber(subscriber, this.durationSelector));\n    }\n}\nclass DebounceSubscriber extends _OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__[\"OuterSubscriber\"] {\n    constructor(destination, durationSelector) {\n        super(destination);\n        this.durationSelector = durationSelector;\n        this.hasValue = false;\n        this.durationSubscription = null;\n    }\n    _next(value) {\n        try {\n            const result = this.durationSelector.call(this, value);\n            if (result) {\n                this._tryNext(value, result);\n            }\n        }\n        catch (err) {\n            this.destination.error(err);\n        }\n    }\n    _complete() {\n        this.emitValue();\n        this.destination.complete();\n    }\n    _tryNext(value, duration) {\n        let subscription = this.durationSubscription;\n        this.value = value;\n        this.hasValue = true;\n        if (subscription) {\n            subscription.unsubscribe();\n            this.remove(subscription);\n        }\n        subscription = Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__[\"subscribeToResult\"])(this, duration);\n        if (subscription && !subscription.closed) {\n            this.add(this.durationSubscription = subscription);\n        }\n    }\n    notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n        this.emitValue();\n    }\n    notifyComplete() {\n        this.emitValue();\n    }\n    emitValue() {\n        if (this.hasValue) {\n            const value = this.value;\n            const subscription = this.durationSubscription;\n            if (subscription) {\n                this.durationSubscription = null;\n                subscription.unsubscribe();\n                this.remove(subscription);\n            }\n            this.value = null;\n            this.hasValue = false;\n            super._next(value);\n        }\n    }\n}\n//# sourceMappingURL=debounce.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/debounceTime.js\":\n/*!***********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/debounceTime.js ***!\n  \\***********************************************************************/\n/*! exports provided: debounceTime */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"debounceTime\", function() { return debounceTime; });\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n/* harmony import */ var _scheduler_async__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../scheduler/async */ \"./node_modules/rxjs/_esm2015/internal/scheduler/async.js\");\n\n\nfunction debounceTime(dueTime, scheduler = _scheduler_async__WEBPACK_IMPORTED_MODULE_1__[\"async\"]) {\n    return (source) => source.lift(new DebounceTimeOperator(dueTime, scheduler));\n}\nclass DebounceTimeOperator {\n    constructor(dueTime, scheduler) {\n        this.dueTime = dueTime;\n        this.scheduler = scheduler;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new DebounceTimeSubscriber(subscriber, this.dueTime, this.scheduler));\n    }\n}\nclass DebounceTimeSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"] {\n    constructor(destination, dueTime, scheduler) {\n        super(destination);\n        this.dueTime = dueTime;\n        this.scheduler = scheduler;\n        this.debouncedSubscription = null;\n        this.lastValue = null;\n        this.hasValue = false;\n    }\n    _next(value) {\n        this.clearDebounce();\n        this.lastValue = value;\n        this.hasValue = true;\n        this.add(this.debouncedSubscription = this.scheduler.schedule(dispatchNext, this.dueTime, this));\n    }\n    _complete() {\n        this.debouncedNext();\n        this.destination.complete();\n    }\n    debouncedNext() {\n        this.clearDebounce();\n        if (this.hasValue) {\n            const { lastValue } = this;\n            this.lastValue = null;\n            this.hasValue = false;\n            this.destination.next(lastValue);\n        }\n    }\n    clearDebounce() {\n        const debouncedSubscription = this.debouncedSubscription;\n        if (debouncedSubscription !== null) {\n            this.remove(debouncedSubscription);\n            debouncedSubscription.unsubscribe();\n            this.debouncedSubscription = null;\n        }\n    }\n}\nfunction dispatchNext(subscriber) {\n    subscriber.debouncedNext();\n}\n//# sourceMappingURL=debounceTime.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/defaultIfEmpty.js\":\n/*!*************************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/defaultIfEmpty.js ***!\n  \\*************************************************************************/\n/*! exports provided: defaultIfEmpty */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"defaultIfEmpty\", function() { return defaultIfEmpty; });\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\nfunction defaultIfEmpty(defaultValue = null) {\n    return (source) => source.lift(new DefaultIfEmptyOperator(defaultValue));\n}\nclass DefaultIfEmptyOperator {\n    constructor(defaultValue) {\n        this.defaultValue = defaultValue;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new DefaultIfEmptySubscriber(subscriber, this.defaultValue));\n    }\n}\nclass DefaultIfEmptySubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"] {\n    constructor(destination, defaultValue) {\n        super(destination);\n        this.defaultValue = defaultValue;\n        this.isEmpty = true;\n    }\n    _next(value) {\n        this.isEmpty = false;\n        this.destination.next(value);\n    }\n    _complete() {\n        if (this.isEmpty) {\n            this.destination.next(this.defaultValue);\n        }\n        this.destination.complete();\n    }\n}\n//# sourceMappingURL=defaultIfEmpty.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/delay.js\":\n/*!****************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/delay.js ***!\n  \\****************************************************************/\n/*! exports provided: delay */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"delay\", function() { return delay; });\n/* harmony import */ var _scheduler_async__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../scheduler/async */ \"./node_modules/rxjs/_esm2015/internal/scheduler/async.js\");\n/* harmony import */ var _util_isDate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/isDate */ \"./node_modules/rxjs/_esm2015/internal/util/isDate.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n/* harmony import */ var _Notification__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Notification */ \"./node_modules/rxjs/_esm2015/internal/Notification.js\");\n\n\n\n\nfunction delay(delay, scheduler = _scheduler_async__WEBPACK_IMPORTED_MODULE_0__[\"async\"]) {\n    const absoluteDelay = Object(_util_isDate__WEBPACK_IMPORTED_MODULE_1__[\"isDate\"])(delay);\n    const delayFor = absoluteDelay ? (+delay - scheduler.now()) : Math.abs(delay);\n    return (source) => source.lift(new DelayOperator(delayFor, scheduler));\n}\nclass DelayOperator {\n    constructor(delay, scheduler) {\n        this.delay = delay;\n        this.scheduler = scheduler;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new DelaySubscriber(subscriber, this.delay, this.scheduler));\n    }\n}\nclass DelaySubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_2__[\"Subscriber\"] {\n    constructor(destination, delay, scheduler) {\n        super(destination);\n        this.delay = delay;\n        this.scheduler = scheduler;\n        this.queue = [];\n        this.active = false;\n        this.errored = false;\n    }\n    static dispatch(state) {\n        const source = state.source;\n        const queue = source.queue;\n        const scheduler = state.scheduler;\n        const destination = state.destination;\n        while (queue.length > 0 && (queue[0].time - scheduler.now()) <= 0) {\n            queue.shift().notification.observe(destination);\n        }\n        if (queue.length > 0) {\n            const delay = Math.max(0, queue[0].time - scheduler.now());\n            this.schedule(state, delay);\n        }\n        else {\n            this.unsubscribe();\n            source.active = false;\n        }\n    }\n    _schedule(scheduler) {\n        this.active = true;\n        const destination = this.destination;\n        destination.add(scheduler.schedule(DelaySubscriber.dispatch, this.delay, {\n            source: this, destination: this.destination, scheduler: scheduler\n        }));\n    }\n    scheduleNotification(notification) {\n        if (this.errored === true) {\n            return;\n        }\n        const scheduler = this.scheduler;\n        const message = new DelayMessage(scheduler.now() + this.delay, notification);\n        this.queue.push(message);\n        if (this.active === false) {\n            this._schedule(scheduler);\n        }\n    }\n    _next(value) {\n        this.scheduleNotification(_Notification__WEBPACK_IMPORTED_MODULE_3__[\"Notification\"].createNext(value));\n    }\n    _error(err) {\n        this.errored = true;\n        this.queue = [];\n        this.destination.error(err);\n        this.unsubscribe();\n    }\n    _complete() {\n        this.scheduleNotification(_Notification__WEBPACK_IMPORTED_MODULE_3__[\"Notification\"].createComplete());\n        this.unsubscribe();\n    }\n}\nclass DelayMessage {\n    constructor(time, notification) {\n        this.time = time;\n        this.notification = notification;\n    }\n}\n//# sourceMappingURL=delay.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/delayWhen.js\":\n/*!********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/delayWhen.js ***!\n  \\********************************************************************/\n/*! exports provided: delayWhen */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"delayWhen\", function() { return delayWhen; });\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Observable */ \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n/* harmony import */ var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../OuterSubscriber */ \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n/* harmony import */ var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/subscribeToResult */ \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n\n\n\nfunction delayWhen(delayDurationSelector, subscriptionDelay) {\n    if (subscriptionDelay) {\n        return (source) => new SubscriptionDelayObservable(source, subscriptionDelay)\n            .lift(new DelayWhenOperator(delayDurationSelector));\n    }\n    return (source) => source.lift(new DelayWhenOperator(delayDurationSelector));\n}\nclass DelayWhenOperator {\n    constructor(delayDurationSelector) {\n        this.delayDurationSelector = delayDurationSelector;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new DelayWhenSubscriber(subscriber, this.delayDurationSelector));\n    }\n}\nclass DelayWhenSubscriber extends _OuterSubscriber__WEBPACK_IMPORTED_MODULE_2__[\"OuterSubscriber\"] {\n    constructor(destination, delayDurationSelector) {\n        super(destination);\n        this.delayDurationSelector = delayDurationSelector;\n        this.completed = false;\n        this.delayNotifierSubscriptions = [];\n        this.index = 0;\n    }\n    notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n        this.destination.next(outerValue);\n        this.removeSubscription(innerSub);\n        this.tryComplete();\n    }\n    notifyError(error, innerSub) {\n        this._error(error);\n    }\n    notifyComplete(innerSub) {\n        const value = this.removeSubscription(innerSub);\n        if (value) {\n            this.destination.next(value);\n        }\n        this.tryComplete();\n    }\n    _next(value) {\n        const index = this.index++;\n        try {\n            const delayNotifier = this.delayDurationSelector(value, index);\n            if (delayNotifier) {\n                this.tryDelay(delayNotifier, value);\n            }\n        }\n        catch (err) {\n            this.destination.error(err);\n        }\n    }\n    _complete() {\n        this.completed = true;\n        this.tryComplete();\n        this.unsubscribe();\n    }\n    removeSubscription(subscription) {\n        subscription.unsubscribe();\n        const subscriptionIdx = this.delayNotifierSubscriptions.indexOf(subscription);\n        if (subscriptionIdx !== -1) {\n            this.delayNotifierSubscriptions.splice(subscriptionIdx, 1);\n        }\n        return subscription.outerValue;\n    }\n    tryDelay(delayNotifier, value) {\n        const notifierSubscription = Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_3__[\"subscribeToResult\"])(this, delayNotifier, value);\n        if (notifierSubscription && !notifierSubscription.closed) {\n            const destination = this.destination;\n            destination.add(notifierSubscription);\n            this.delayNotifierSubscriptions.push(notifierSubscription);\n        }\n    }\n    tryComplete() {\n        if (this.completed && this.delayNotifierSubscriptions.length === 0) {\n            this.destination.complete();\n        }\n    }\n}\nclass SubscriptionDelayObservable extends _Observable__WEBPACK_IMPORTED_MODULE_1__[\"Observable\"] {\n    constructor(source, subscriptionDelay) {\n        super();\n        this.source = source;\n        this.subscriptionDelay = subscriptionDelay;\n    }\n    _subscribe(subscriber) {\n        this.subscriptionDelay.subscribe(new SubscriptionDelaySubscriber(subscriber, this.source));\n    }\n}\nclass SubscriptionDelaySubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"] {\n    constructor(parent, source) {\n        super();\n        this.parent = parent;\n        this.source = source;\n        this.sourceSubscribed = false;\n    }\n    _next(unused) {\n        this.subscribeToSource();\n    }\n    _error(err) {\n        this.unsubscribe();\n        this.parent.error(err);\n    }\n    _complete() {\n        this.unsubscribe();\n        this.subscribeToSource();\n    }\n    subscribeToSource() {\n        if (!this.sourceSubscribed) {\n            this.sourceSubscribed = true;\n            this.unsubscribe();\n            this.source.subscribe(this.parent);\n        }\n    }\n}\n//# sourceMappingURL=delayWhen.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/dematerialize.js\":\n/*!************************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/dematerialize.js ***!\n  \\************************************************************************/\n/*! exports provided: dematerialize */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"dematerialize\", function() { return dematerialize; });\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\nfunction dematerialize() {\n    return function dematerializeOperatorFunction(source) {\n        return source.lift(new DeMaterializeOperator());\n    };\n}\nclass DeMaterializeOperator {\n    call(subscriber, source) {\n        return source.subscribe(new DeMaterializeSubscriber(subscriber));\n    }\n}\nclass DeMaterializeSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"] {\n    constructor(destination) {\n        super(destination);\n    }\n    _next(value) {\n        value.observe(this.destination);\n    }\n}\n//# sourceMappingURL=dematerialize.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/distinct.js\":\n/*!*******************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/distinct.js ***!\n  \\*******************************************************************/\n/*! exports provided: distinct, DistinctSubscriber */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"distinct\", function() { return distinct; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"DistinctSubscriber\", function() { return DistinctSubscriber; });\n/* harmony import */ var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../OuterSubscriber */ \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n/* harmony import */ var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/subscribeToResult */ \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n\nfunction distinct(keySelector, flushes) {\n    return (source) => source.lift(new DistinctOperator(keySelector, flushes));\n}\nclass DistinctOperator {\n    constructor(keySelector, flushes) {\n        this.keySelector = keySelector;\n        this.flushes = flushes;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new DistinctSubscriber(subscriber, this.keySelector, this.flushes));\n    }\n}\nclass DistinctSubscriber extends _OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__[\"OuterSubscriber\"] {\n    constructor(destination, keySelector, flushes) {\n        super(destination);\n        this.keySelector = keySelector;\n        this.values = new Set();\n        if (flushes) {\n            this.add(Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__[\"subscribeToResult\"])(this, flushes));\n        }\n    }\n    notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n        this.values.clear();\n    }\n    notifyError(error, innerSub) {\n        this._error(error);\n    }\n    _next(value) {\n        if (this.keySelector) {\n            this._useKeySelector(value);\n        }\n        else {\n            this._finalizeNext(value, value);\n        }\n    }\n    _useKeySelector(value) {\n        let key;\n        const { destination } = this;\n        try {\n            key = this.keySelector(value);\n        }\n        catch (err) {\n            destination.error(err);\n            return;\n        }\n        this._finalizeNext(key, value);\n    }\n    _finalizeNext(key, value) {\n        const { values } = this;\n        if (!values.has(key)) {\n            values.add(key);\n            this.destination.next(value);\n        }\n    }\n}\n//# sourceMappingURL=distinct.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/distinctUntilChanged.js\":\n/*!*******************************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/distinctUntilChanged.js ***!\n  \\*******************************************************************************/\n/*! exports provided: distinctUntilChanged */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"distinctUntilChanged\", function() { return distinctUntilChanged; });\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\nfunction distinctUntilChanged(compare, keySelector) {\n    return (source) => source.lift(new DistinctUntilChangedOperator(compare, keySelector));\n}\nclass DistinctUntilChangedOperator {\n    constructor(compare, keySelector) {\n        this.compare = compare;\n        this.keySelector = keySelector;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new DistinctUntilChangedSubscriber(subscriber, this.compare, this.keySelector));\n    }\n}\nclass DistinctUntilChangedSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"] {\n    constructor(destination, compare, keySelector) {\n        super(destination);\n        this.keySelector = keySelector;\n        this.hasKey = false;\n        if (typeof compare === 'function') {\n            this.compare = compare;\n        }\n    }\n    compare(x, y) {\n        return x === y;\n    }\n    _next(value) {\n        let key;\n        try {\n            const { keySelector } = this;\n            key = keySelector ? keySelector(value) : value;\n        }\n        catch (err) {\n            return this.destination.error(err);\n        }\n        let result = false;\n        if (this.hasKey) {\n            try {\n                const { compare } = this;\n                result = compare(this.key, key);\n            }\n            catch (err) {\n                return this.destination.error(err);\n            }\n        }\n        else {\n            this.hasKey = true;\n        }\n        if (!result) {\n            this.key = key;\n            this.destination.next(value);\n        }\n    }\n}\n//# sourceMappingURL=distinctUntilChanged.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/distinctUntilKeyChanged.js\":\n/*!**********************************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/distinctUntilKeyChanged.js ***!\n  \\**********************************************************************************/\n/*! exports provided: distinctUntilKeyChanged */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"distinctUntilKeyChanged\", function() { return distinctUntilKeyChanged; });\n/* harmony import */ var _distinctUntilChanged__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./distinctUntilChanged */ \"./node_modules/rxjs/_esm2015/internal/operators/distinctUntilChanged.js\");\n\nfunction distinctUntilKeyChanged(key, compare) {\n    return Object(_distinctUntilChanged__WEBPACK_IMPORTED_MODULE_0__[\"distinctUntilChanged\"])((x, y) => compare ? compare(x[key], y[key]) : x[key] === y[key]);\n}\n//# sourceMappingURL=distinctUntilKeyChanged.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/elementAt.js\":\n/*!********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/elementAt.js ***!\n  \\********************************************************************/\n/*! exports provided: elementAt */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"elementAt\", function() { return elementAt; });\n/* harmony import */ var _util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/ArgumentOutOfRangeError */ \"./node_modules/rxjs/_esm2015/internal/util/ArgumentOutOfRangeError.js\");\n/* harmony import */ var _filter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./filter */ \"./node_modules/rxjs/_esm2015/internal/operators/filter.js\");\n/* harmony import */ var _throwIfEmpty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./throwIfEmpty */ \"./node_modules/rxjs/_esm2015/internal/operators/throwIfEmpty.js\");\n/* harmony import */ var _defaultIfEmpty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./defaultIfEmpty */ \"./node_modules/rxjs/_esm2015/internal/operators/defaultIfEmpty.js\");\n/* harmony import */ var _take__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./take */ \"./node_modules/rxjs/_esm2015/internal/operators/take.js\");\n\n\n\n\n\nfunction elementAt(index, defaultValue) {\n    if (index < 0) {\n        throw new _util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_0__[\"ArgumentOutOfRangeError\"]();\n    }\n    const hasDefaultValue = arguments.length >= 2;\n    return (source) => source.pipe(Object(_filter__WEBPACK_IMPORTED_MODULE_1__[\"filter\"])((v, i) => i === index), Object(_take__WEBPACK_IMPORTED_MODULE_4__[\"take\"])(1), hasDefaultValue\n        ? Object(_defaultIfEmpty__WEBPACK_IMPORTED_MODULE_3__[\"defaultIfEmpty\"])(defaultValue)\n        : Object(_throwIfEmpty__WEBPACK_IMPORTED_MODULE_2__[\"throwIfEmpty\"])(() => new _util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_0__[\"ArgumentOutOfRangeError\"]()));\n}\n//# sourceMappingURL=elementAt.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/endWith.js\":\n/*!******************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/endWith.js ***!\n  \\******************************************************************/\n/*! exports provided: endWith */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"endWith\", function() { return endWith; });\n/* harmony import */ var _observable_fromArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../observable/fromArray */ \"./node_modules/rxjs/_esm2015/internal/observable/fromArray.js\");\n/* harmony import */ var _observable_scalar__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../observable/scalar */ \"./node_modules/rxjs/_esm2015/internal/observable/scalar.js\");\n/* harmony import */ var _observable_empty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../observable/empty */ \"./node_modules/rxjs/_esm2015/internal/observable/empty.js\");\n/* harmony import */ var _observable_concat__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../observable/concat */ \"./node_modules/rxjs/_esm2015/internal/observable/concat.js\");\n/* harmony import */ var _util_isScheduler__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../util/isScheduler */ \"./node_modules/rxjs/_esm2015/internal/util/isScheduler.js\");\n\n\n\n\n\nfunction endWith(...array) {\n    return (source) => {\n        let scheduler = array[array.length - 1];\n        if (Object(_util_isScheduler__WEBPACK_IMPORTED_MODULE_4__[\"isScheduler\"])(scheduler)) {\n            array.pop();\n        }\n        else {\n            scheduler = null;\n        }\n        const len = array.length;\n        if (len === 1 && !scheduler) {\n            return Object(_observable_concat__WEBPACK_IMPORTED_MODULE_3__[\"concat\"])(source, Object(_observable_scalar__WEBPACK_IMPORTED_MODULE_1__[\"scalar\"])(array[0]));\n        }\n        else if (len > 0) {\n            return Object(_observable_concat__WEBPACK_IMPORTED_MODULE_3__[\"concat\"])(source, Object(_observable_fromArray__WEBPACK_IMPORTED_MODULE_0__[\"fromArray\"])(array, scheduler));\n        }\n        else {\n            return Object(_observable_concat__WEBPACK_IMPORTED_MODULE_3__[\"concat\"])(source, Object(_observable_empty__WEBPACK_IMPORTED_MODULE_2__[\"empty\"])(scheduler));\n        }\n    };\n}\n//# sourceMappingURL=endWith.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/every.js\":\n/*!****************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/every.js ***!\n  \\****************************************************************/\n/*! exports provided: every */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"every\", function() { return every; });\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\nfunction every(predicate, thisArg) {\n    return (source) => source.lift(new EveryOperator(predicate, thisArg, source));\n}\nclass EveryOperator {\n    constructor(predicate, thisArg, source) {\n        this.predicate = predicate;\n        this.thisArg = thisArg;\n        this.source = source;\n    }\n    call(observer, source) {\n        return source.subscribe(new EverySubscriber(observer, this.predicate, this.thisArg, this.source));\n    }\n}\nclass EverySubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"] {\n    constructor(destination, predicate, thisArg, source) {\n        super(destination);\n        this.predicate = predicate;\n        this.thisArg = thisArg;\n        this.source = source;\n        this.index = 0;\n        this.thisArg = thisArg || this;\n    }\n    notifyComplete(everyValueMatch) {\n        this.destination.next(everyValueMatch);\n        this.destination.complete();\n    }\n    _next(value) {\n        let result = false;\n        try {\n            result = this.predicate.call(this.thisArg, value, this.index++, this.source);\n        }\n        catch (err) {\n            this.destination.error(err);\n            return;\n        }\n        if (!result) {\n            this.notifyComplete(false);\n        }\n    }\n    _complete() {\n        this.notifyComplete(true);\n    }\n}\n//# sourceMappingURL=every.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/exhaust.js\":\n/*!******************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/exhaust.js ***!\n  \\******************************************************************/\n/*! exports provided: exhaust */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"exhaust\", function() { return exhaust; });\n/* harmony import */ var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../OuterSubscriber */ \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n/* harmony import */ var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/subscribeToResult */ \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n\nfunction exhaust() {\n    return (source) => source.lift(new SwitchFirstOperator());\n}\nclass SwitchFirstOperator {\n    call(subscriber, source) {\n        return source.subscribe(new SwitchFirstSubscriber(subscriber));\n    }\n}\nclass SwitchFirstSubscriber extends _OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__[\"OuterSubscriber\"] {\n    constructor(destination) {\n        super(destination);\n        this.hasCompleted = false;\n        this.hasSubscription = false;\n    }\n    _next(value) {\n        if (!this.hasSubscription) {\n            this.hasSubscription = true;\n            this.add(Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__[\"subscribeToResult\"])(this, value));\n        }\n    }\n    _complete() {\n        this.hasCompleted = true;\n        if (!this.hasSubscription) {\n            this.destination.complete();\n        }\n    }\n    notifyComplete(innerSub) {\n        this.remove(innerSub);\n        this.hasSubscription = false;\n        if (this.hasCompleted) {\n            this.destination.complete();\n        }\n    }\n}\n//# sourceMappingURL=exhaust.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/exhaustMap.js\":\n/*!*********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/exhaustMap.js ***!\n  \\*********************************************************************/\n/*! exports provided: exhaustMap */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"exhaustMap\", function() { return exhaustMap; });\n/* harmony import */ var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../OuterSubscriber */ \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n/* harmony import */ var _InnerSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../InnerSubscriber */ \"./node_modules/rxjs/_esm2015/internal/InnerSubscriber.js\");\n/* harmony import */ var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/subscribeToResult */ \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n/* harmony import */ var _map__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./map */ \"./node_modules/rxjs/_esm2015/internal/operators/map.js\");\n/* harmony import */ var _observable_from__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../observable/from */ \"./node_modules/rxjs/_esm2015/internal/observable/from.js\");\n\n\n\n\n\nfunction exhaustMap(project, resultSelector) {\n    if (resultSelector) {\n        return (source) => source.pipe(exhaustMap((a, i) => Object(_observable_from__WEBPACK_IMPORTED_MODULE_4__[\"from\"])(project(a, i)).pipe(Object(_map__WEBPACK_IMPORTED_MODULE_3__[\"map\"])((b, ii) => resultSelector(a, b, i, ii)))));\n    }\n    return (source) => source.lift(new ExhaustMapOperator(project));\n}\nclass ExhaustMapOperator {\n    constructor(project) {\n        this.project = project;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new ExhaustMapSubscriber(subscriber, this.project));\n    }\n}\nclass ExhaustMapSubscriber extends _OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__[\"OuterSubscriber\"] {\n    constructor(destination, project) {\n        super(destination);\n        this.project = project;\n        this.hasSubscription = false;\n        this.hasCompleted = false;\n        this.index = 0;\n    }\n    _next(value) {\n        if (!this.hasSubscription) {\n            this.tryNext(value);\n        }\n    }\n    tryNext(value) {\n        let result;\n        const index = this.index++;\n        try {\n            result = this.project(value, index);\n        }\n        catch (err) {\n            this.destination.error(err);\n            return;\n        }\n        this.hasSubscription = true;\n        this._innerSub(result, value, index);\n    }\n    _innerSub(result, value, index) {\n        const innerSubscriber = new _InnerSubscriber__WEBPACK_IMPORTED_MODULE_1__[\"InnerSubscriber\"](this, undefined, undefined);\n        const destination = this.destination;\n        destination.add(innerSubscriber);\n        Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_2__[\"subscribeToResult\"])(this, result, value, index, innerSubscriber);\n    }\n    _complete() {\n        this.hasCompleted = true;\n        if (!this.hasSubscription) {\n            this.destination.complete();\n        }\n        this.unsubscribe();\n    }\n    notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n        this.destination.next(innerValue);\n    }\n    notifyError(err) {\n        this.destination.error(err);\n    }\n    notifyComplete(innerSub) {\n        const destination = this.destination;\n        destination.remove(innerSub);\n        this.hasSubscription = false;\n        if (this.hasCompleted) {\n            this.destination.complete();\n        }\n    }\n}\n//# sourceMappingURL=exhaustMap.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/expand.js\":\n/*!*****************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/expand.js ***!\n  \\*****************************************************************/\n/*! exports provided: expand, ExpandOperator, ExpandSubscriber */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"expand\", function() { return expand; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ExpandOperator\", function() { return ExpandOperator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ExpandSubscriber\", function() { return ExpandSubscriber; });\n/* harmony import */ var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../OuterSubscriber */ \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n/* harmony import */ var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/subscribeToResult */ \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n\nfunction expand(project, concurrent = Number.POSITIVE_INFINITY, scheduler = undefined) {\n    concurrent = (concurrent || 0) < 1 ? Number.POSITIVE_INFINITY : concurrent;\n    return (source) => source.lift(new ExpandOperator(project, concurrent, scheduler));\n}\nclass ExpandOperator {\n    constructor(project, concurrent, scheduler) {\n        this.project = project;\n        this.concurrent = concurrent;\n        this.scheduler = scheduler;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new ExpandSubscriber(subscriber, this.project, this.concurrent, this.scheduler));\n    }\n}\nclass ExpandSubscriber extends _OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__[\"OuterSubscriber\"] {\n    constructor(destination, project, concurrent, scheduler) {\n        super(destination);\n        this.project = project;\n        this.concurrent = concurrent;\n        this.scheduler = scheduler;\n        this.index = 0;\n        this.active = 0;\n        this.hasCompleted = false;\n        if (concurrent < Number.POSITIVE_INFINITY) {\n            this.buffer = [];\n        }\n    }\n    static dispatch(arg) {\n        const { subscriber, result, value, index } = arg;\n        subscriber.subscribeToProjection(result, value, index);\n    }\n    _next(value) {\n        const destination = this.destination;\n        if (destination.closed) {\n            this._complete();\n            return;\n        }\n        const index = this.index++;\n        if (this.active < this.concurrent) {\n            destination.next(value);\n            try {\n                const { project } = this;\n                const result = project(value, index);\n                if (!this.scheduler) {\n                    this.subscribeToProjection(result, value, index);\n                }\n                else {\n                    const state = { subscriber: this, result, value, index };\n                    const destination = this.destination;\n                    destination.add(this.scheduler.schedule(ExpandSubscriber.dispatch, 0, state));\n                }\n            }\n            catch (e) {\n                destination.error(e);\n            }\n        }\n        else {\n            this.buffer.push(value);\n        }\n    }\n    subscribeToProjection(result, value, index) {\n        this.active++;\n        const destination = this.destination;\n        destination.add(Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__[\"subscribeToResult\"])(this, result, value, index));\n    }\n    _complete() {\n        this.hasCompleted = true;\n        if (this.hasCompleted && this.active === 0) {\n            this.destination.complete();\n        }\n        this.unsubscribe();\n    }\n    notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n        this._next(innerValue);\n    }\n    notifyComplete(innerSub) {\n        const buffer = this.buffer;\n        const destination = this.destination;\n        destination.remove(innerSub);\n        this.active--;\n        if (buffer && buffer.length > 0) {\n            this._next(buffer.shift());\n        }\n        if (this.hasCompleted && this.active === 0) {\n            this.destination.complete();\n        }\n    }\n}\n//# sourceMappingURL=expand.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/filter.js\":\n/*!*****************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/filter.js ***!\n  \\*****************************************************************/\n/*! exports provided: filter */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"filter\", function() { return filter; });\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\nfunction filter(predicate, thisArg) {\n    return function filterOperatorFunction(source) {\n        return source.lift(new FilterOperator(predicate, thisArg));\n    };\n}\nclass FilterOperator {\n    constructor(predicate, thisArg) {\n        this.predicate = predicate;\n        this.thisArg = thisArg;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new FilterSubscriber(subscriber, this.predicate, this.thisArg));\n    }\n}\nclass FilterSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"] {\n    constructor(destination, predicate, thisArg) {\n        super(destination);\n        this.predicate = predicate;\n        this.thisArg = thisArg;\n        this.count = 0;\n    }\n    _next(value) {\n        let result;\n        try {\n            result = this.predicate.call(this.thisArg, value, this.count++);\n        }\n        catch (err) {\n            this.destination.error(err);\n            return;\n        }\n        if (result) {\n            this.destination.next(value);\n        }\n    }\n}\n//# sourceMappingURL=filter.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/finalize.js\":\n/*!*******************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/finalize.js ***!\n  \\*******************************************************************/\n/*! exports provided: finalize */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"finalize\", function() { return finalize; });\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscription */ \"./node_modules/rxjs/_esm2015/internal/Subscription.js\");\n\n\nfunction finalize(callback) {\n    return (source) => source.lift(new FinallyOperator(callback));\n}\nclass FinallyOperator {\n    constructor(callback) {\n        this.callback = callback;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new FinallySubscriber(subscriber, this.callback));\n    }\n}\nclass FinallySubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"] {\n    constructor(destination, callback) {\n        super(destination);\n        this.add(new _Subscription__WEBPACK_IMPORTED_MODULE_1__[\"Subscription\"](callback));\n    }\n}\n//# sourceMappingURL=finalize.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/find.js\":\n/*!***************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/find.js ***!\n  \\***************************************************************/\n/*! exports provided: find, FindValueOperator, FindValueSubscriber */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"find\", function() { return find; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FindValueOperator\", function() { return FindValueOperator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FindValueSubscriber\", function() { return FindValueSubscriber; });\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\nfunction find(predicate, thisArg) {\n    if (typeof predicate !== 'function') {\n        throw new TypeError('predicate is not a function');\n    }\n    return (source) => source.lift(new FindValueOperator(predicate, source, false, thisArg));\n}\nclass FindValueOperator {\n    constructor(predicate, source, yieldIndex, thisArg) {\n        this.predicate = predicate;\n        this.source = source;\n        this.yieldIndex = yieldIndex;\n        this.thisArg = thisArg;\n    }\n    call(observer, source) {\n        return source.subscribe(new FindValueSubscriber(observer, this.predicate, this.source, this.yieldIndex, this.thisArg));\n    }\n}\nclass FindValueSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"] {\n    constructor(destination, predicate, source, yieldIndex, thisArg) {\n        super(destination);\n        this.predicate = predicate;\n        this.source = source;\n        this.yieldIndex = yieldIndex;\n        this.thisArg = thisArg;\n        this.index = 0;\n    }\n    notifyComplete(value) {\n        const destination = this.destination;\n        destination.next(value);\n        destination.complete();\n        this.unsubscribe();\n    }\n    _next(value) {\n        const { predicate, thisArg } = this;\n        const index = this.index++;\n        try {\n            const result = predicate.call(thisArg || this, value, index, this.source);\n            if (result) {\n                this.notifyComplete(this.yieldIndex ? index : value);\n            }\n        }\n        catch (err) {\n            this.destination.error(err);\n        }\n    }\n    _complete() {\n        this.notifyComplete(this.yieldIndex ? -1 : undefined);\n    }\n}\n//# sourceMappingURL=find.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/findIndex.js\":\n/*!********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/findIndex.js ***!\n  \\********************************************************************/\n/*! exports provided: findIndex */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"findIndex\", function() { return findIndex; });\n/* harmony import */ var _operators_find__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../operators/find */ \"./node_modules/rxjs/_esm2015/internal/operators/find.js\");\n\nfunction findIndex(predicate, thisArg) {\n    return (source) => source.lift(new _operators_find__WEBPACK_IMPORTED_MODULE_0__[\"FindValueOperator\"](predicate, source, true, thisArg));\n}\n//# sourceMappingURL=findIndex.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/first.js\":\n/*!****************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/first.js ***!\n  \\****************************************************************/\n/*! exports provided: first */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"first\", function() { return first; });\n/* harmony import */ var _util_EmptyError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/EmptyError */ \"./node_modules/rxjs/_esm2015/internal/util/EmptyError.js\");\n/* harmony import */ var _filter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./filter */ \"./node_modules/rxjs/_esm2015/internal/operators/filter.js\");\n/* harmony import */ var _take__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./take */ \"./node_modules/rxjs/_esm2015/internal/operators/take.js\");\n/* harmony import */ var _defaultIfEmpty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./defaultIfEmpty */ \"./node_modules/rxjs/_esm2015/internal/operators/defaultIfEmpty.js\");\n/* harmony import */ var _throwIfEmpty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./throwIfEmpty */ \"./node_modules/rxjs/_esm2015/internal/operators/throwIfEmpty.js\");\n/* harmony import */ var _util_identity__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util/identity */ \"./node_modules/rxjs/_esm2015/internal/util/identity.js\");\n\n\n\n\n\n\nfunction first(predicate, defaultValue) {\n    const hasDefaultValue = arguments.length >= 2;\n    return (source) => source.pipe(predicate ? Object(_filter__WEBPACK_IMPORTED_MODULE_1__[\"filter\"])((v, i) => predicate(v, i, source)) : _util_identity__WEBPACK_IMPORTED_MODULE_5__[\"identity\"], Object(_take__WEBPACK_IMPORTED_MODULE_2__[\"take\"])(1), hasDefaultValue ? Object(_defaultIfEmpty__WEBPACK_IMPORTED_MODULE_3__[\"defaultIfEmpty\"])(defaultValue) : Object(_throwIfEmpty__WEBPACK_IMPORTED_MODULE_4__[\"throwIfEmpty\"])(() => new _util_EmptyError__WEBPACK_IMPORTED_MODULE_0__[\"EmptyError\"]()));\n}\n//# sourceMappingURL=first.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/groupBy.js\":\n/*!******************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/groupBy.js ***!\n  \\******************************************************************/\n/*! exports provided: groupBy, GroupedObservable */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"groupBy\", function() { return groupBy; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"GroupedObservable\", function() { return GroupedObservable; });\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscription */ \"./node_modules/rxjs/_esm2015/internal/Subscription.js\");\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Observable */ \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n/* harmony import */ var _Subject__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Subject */ \"./node_modules/rxjs/_esm2015/internal/Subject.js\");\n\n\n\n\nfunction groupBy(keySelector, elementSelector, durationSelector, subjectSelector) {\n    return (source) => source.lift(new GroupByOperator(keySelector, elementSelector, durationSelector, subjectSelector));\n}\nclass GroupByOperator {\n    constructor(keySelector, elementSelector, durationSelector, subjectSelector) {\n        this.keySelector = keySelector;\n        this.elementSelector = elementSelector;\n        this.durationSelector = durationSelector;\n        this.subjectSelector = subjectSelector;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new GroupBySubscriber(subscriber, this.keySelector, this.elementSelector, this.durationSelector, this.subjectSelector));\n    }\n}\nclass GroupBySubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"] {\n    constructor(destination, keySelector, elementSelector, durationSelector, subjectSelector) {\n        super(destination);\n        this.keySelector = keySelector;\n        this.elementSelector = elementSelector;\n        this.durationSelector = durationSelector;\n        this.subjectSelector = subjectSelector;\n        this.groups = null;\n        this.attemptedToUnsubscribe = false;\n        this.count = 0;\n    }\n    _next(value) {\n        let key;\n        try {\n            key = this.keySelector(value);\n        }\n        catch (err) {\n            this.error(err);\n            return;\n        }\n        this._group(value, key);\n    }\n    _group(value, key) {\n        let groups = this.groups;\n        if (!groups) {\n            groups = this.groups = new Map();\n        }\n        let group = groups.get(key);\n        let element;\n        if (this.elementSelector) {\n            try {\n                element = this.elementSelector(value);\n            }\n            catch (err) {\n                this.error(err);\n            }\n        }\n        else {\n            element = value;\n        }\n        if (!group) {\n            group = (this.subjectSelector ? this.subjectSelector() : new _Subject__WEBPACK_IMPORTED_MODULE_3__[\"Subject\"]());\n            groups.set(key, group);\n            const groupedObservable = new GroupedObservable(key, group, this);\n            this.destination.next(groupedObservable);\n            if (this.durationSelector) {\n                let duration;\n                try {\n                    duration = this.durationSelector(new GroupedObservable(key, group));\n                }\n                catch (err) {\n                    this.error(err);\n                    return;\n                }\n                this.add(duration.subscribe(new GroupDurationSubscriber(key, group, this)));\n            }\n        }\n        if (!group.closed) {\n            group.next(element);\n        }\n    }\n    _error(err) {\n        const groups = this.groups;\n        if (groups) {\n            groups.forEach((group, key) => {\n                group.error(err);\n            });\n            groups.clear();\n        }\n        this.destination.error(err);\n    }\n    _complete() {\n        const groups = this.groups;\n        if (groups) {\n            groups.forEach((group, key) => {\n                group.complete();\n            });\n            groups.clear();\n        }\n        this.destination.complete();\n    }\n    removeGroup(key) {\n        this.groups.delete(key);\n    }\n    unsubscribe() {\n        if (!this.closed) {\n            this.attemptedToUnsubscribe = true;\n            if (this.count === 0) {\n                super.unsubscribe();\n            }\n        }\n    }\n}\nclass GroupDurationSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"] {\n    constructor(key, group, parent) {\n        super(group);\n        this.key = key;\n        this.group = group;\n        this.parent = parent;\n    }\n    _next(value) {\n        this.complete();\n    }\n    _unsubscribe() {\n        const { parent, key } = this;\n        this.key = this.parent = null;\n        if (parent) {\n            parent.removeGroup(key);\n        }\n    }\n}\nclass GroupedObservable extends _Observable__WEBPACK_IMPORTED_MODULE_2__[\"Observable\"] {\n    constructor(key, groupSubject, refCountSubscription) {\n        super();\n        this.key = key;\n        this.groupSubject = groupSubject;\n        this.refCountSubscription = refCountSubscription;\n    }\n    _subscribe(subscriber) {\n        const subscription = new _Subscription__WEBPACK_IMPORTED_MODULE_1__[\"Subscription\"]();\n        const { refCountSubscription, groupSubject } = this;\n        if (refCountSubscription && !refCountSubscription.closed) {\n            subscription.add(new InnerRefCountSubscription(refCountSubscription));\n        }\n        subscription.add(groupSubject.subscribe(subscriber));\n        return subscription;\n    }\n}\nclass InnerRefCountSubscription extends _Subscription__WEBPACK_IMPORTED_MODULE_1__[\"Subscription\"] {\n    constructor(parent) {\n        super();\n        this.parent = parent;\n        parent.count++;\n    }\n    unsubscribe() {\n        const parent = this.parent;\n        if (!parent.closed && !this.closed) {\n            super.unsubscribe();\n            parent.count -= 1;\n            if (parent.count === 0 && parent.attemptedToUnsubscribe) {\n                parent.unsubscribe();\n            }\n        }\n    }\n}\n//# sourceMappingURL=groupBy.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/ignoreElements.js\":\n/*!*************************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/ignoreElements.js ***!\n  \\*************************************************************************/\n/*! exports provided: ignoreElements */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ignoreElements\", function() { return ignoreElements; });\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\nfunction ignoreElements() {\n    return function ignoreElementsOperatorFunction(source) {\n        return source.lift(new IgnoreElementsOperator());\n    };\n}\nclass IgnoreElementsOperator {\n    call(subscriber, source) {\n        return source.subscribe(new IgnoreElementsSubscriber(subscriber));\n    }\n}\nclass IgnoreElementsSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"] {\n    _next(unused) {\n    }\n}\n//# sourceMappingURL=ignoreElements.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/isEmpty.js\":\n/*!******************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/isEmpty.js ***!\n  \\******************************************************************/\n/*! exports provided: isEmpty */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isEmpty\", function() { return isEmpty; });\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\nfunction isEmpty() {\n    return (source) => source.lift(new IsEmptyOperator());\n}\nclass IsEmptyOperator {\n    call(observer, source) {\n        return source.subscribe(new IsEmptySubscriber(observer));\n    }\n}\nclass IsEmptySubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"] {\n    constructor(destination) {\n        super(destination);\n    }\n    notifyComplete(isEmpty) {\n        const destination = this.destination;\n        destination.next(isEmpty);\n        destination.complete();\n    }\n    _next(value) {\n        this.notifyComplete(false);\n    }\n    _complete() {\n        this.notifyComplete(true);\n    }\n}\n//# sourceMappingURL=isEmpty.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/last.js\":\n/*!***************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/last.js ***!\n  \\***************************************************************/\n/*! exports provided: last */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"last\", function() { return last; });\n/* harmony import */ var _util_EmptyError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/EmptyError */ \"./node_modules/rxjs/_esm2015/internal/util/EmptyError.js\");\n/* harmony import */ var _filter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./filter */ \"./node_modules/rxjs/_esm2015/internal/operators/filter.js\");\n/* harmony import */ var _takeLast__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./takeLast */ \"./node_modules/rxjs/_esm2015/internal/operators/takeLast.js\");\n/* harmony import */ var _throwIfEmpty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./throwIfEmpty */ \"./node_modules/rxjs/_esm2015/internal/operators/throwIfEmpty.js\");\n/* harmony import */ var _defaultIfEmpty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./defaultIfEmpty */ \"./node_modules/rxjs/_esm2015/internal/operators/defaultIfEmpty.js\");\n/* harmony import */ var _util_identity__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util/identity */ \"./node_modules/rxjs/_esm2015/internal/util/identity.js\");\n\n\n\n\n\n\nfunction last(predicate, defaultValue) {\n    const hasDefaultValue = arguments.length >= 2;\n    return (source) => source.pipe(predicate ? Object(_filter__WEBPACK_IMPORTED_MODULE_1__[\"filter\"])((v, i) => predicate(v, i, source)) : _util_identity__WEBPACK_IMPORTED_MODULE_5__[\"identity\"], Object(_takeLast__WEBPACK_IMPORTED_MODULE_2__[\"takeLast\"])(1), hasDefaultValue ? Object(_defaultIfEmpty__WEBPACK_IMPORTED_MODULE_4__[\"defaultIfEmpty\"])(defaultValue) : Object(_throwIfEmpty__WEBPACK_IMPORTED_MODULE_3__[\"throwIfEmpty\"])(() => new _util_EmptyError__WEBPACK_IMPORTED_MODULE_0__[\"EmptyError\"]()));\n}\n//# sourceMappingURL=last.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/map.js\":\n/*!**************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/map.js ***!\n  \\**************************************************************/\n/*! exports provided: map, MapOperator */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"map\", function() { return map; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MapOperator\", function() { return MapOperator; });\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\nfunction map(project, thisArg) {\n    return function mapOperation(source) {\n        if (typeof project !== 'function') {\n            throw new TypeError('argument is not a function. Are you looking for `mapTo()`?');\n        }\n        return source.lift(new MapOperator(project, thisArg));\n    };\n}\nclass MapOperator {\n    constructor(project, thisArg) {\n        this.project = project;\n        this.thisArg = thisArg;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new MapSubscriber(subscriber, this.project, this.thisArg));\n    }\n}\nclass MapSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"] {\n    constructor(destination, project, thisArg) {\n        super(destination);\n        this.project = project;\n        this.count = 0;\n        this.thisArg = thisArg || this;\n    }\n    _next(value) {\n        let result;\n        try {\n            result = this.project.call(this.thisArg, value, this.count++);\n        }\n        catch (err) {\n            this.destination.error(err);\n            return;\n        }\n        this.destination.next(result);\n    }\n}\n//# sourceMappingURL=map.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/mapTo.js\":\n/*!****************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/mapTo.js ***!\n  \\****************************************************************/\n/*! exports provided: mapTo */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"mapTo\", function() { return mapTo; });\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\nfunction mapTo(value) {\n    return (source) => source.lift(new MapToOperator(value));\n}\nclass MapToOperator {\n    constructor(value) {\n        this.value = value;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new MapToSubscriber(subscriber, this.value));\n    }\n}\nclass MapToSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"] {\n    constructor(destination, value) {\n        super(destination);\n        this.value = value;\n    }\n    _next(x) {\n        this.destination.next(this.value);\n    }\n}\n//# sourceMappingURL=mapTo.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/materialize.js\":\n/*!**********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/materialize.js ***!\n  \\**********************************************************************/\n/*! exports provided: materialize */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"materialize\", function() { return materialize; });\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n/* harmony import */ var _Notification__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Notification */ \"./node_modules/rxjs/_esm2015/internal/Notification.js\");\n\n\nfunction materialize() {\n    return function materializeOperatorFunction(source) {\n        return source.lift(new MaterializeOperator());\n    };\n}\nclass MaterializeOperator {\n    call(subscriber, source) {\n        return source.subscribe(new MaterializeSubscriber(subscriber));\n    }\n}\nclass MaterializeSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"] {\n    constructor(destination) {\n        super(destination);\n    }\n    _next(value) {\n        this.destination.next(_Notification__WEBPACK_IMPORTED_MODULE_1__[\"Notification\"].createNext(value));\n    }\n    _error(err) {\n        const destination = this.destination;\n        destination.next(_Notification__WEBPACK_IMPORTED_MODULE_1__[\"Notification\"].createError(err));\n        destination.complete();\n    }\n    _complete() {\n        const destination = this.destination;\n        destination.next(_Notification__WEBPACK_IMPORTED_MODULE_1__[\"Notification\"].createComplete());\n        destination.complete();\n    }\n}\n//# sourceMappingURL=materialize.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/max.js\":\n/*!**************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/max.js ***!\n  \\**************************************************************/\n/*! exports provided: max */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"max\", function() { return max; });\n/* harmony import */ var _reduce__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./reduce */ \"./node_modules/rxjs/_esm2015/internal/operators/reduce.js\");\n\nfunction max(comparer) {\n    const max = (typeof comparer === 'function')\n        ? (x, y) => comparer(x, y) > 0 ? x : y\n        : (x, y) => x > y ? x : y;\n    return Object(_reduce__WEBPACK_IMPORTED_MODULE_0__[\"reduce\"])(max);\n}\n//# sourceMappingURL=max.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/merge.js\":\n/*!****************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/merge.js ***!\n  \\****************************************************************/\n/*! exports provided: merge */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"merge\", function() { return merge; });\n/* harmony import */ var _observable_merge__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../observable/merge */ \"./node_modules/rxjs/_esm2015/internal/observable/merge.js\");\n\nfunction merge(...observables) {\n    return (source) => source.lift.call(Object(_observable_merge__WEBPACK_IMPORTED_MODULE_0__[\"merge\"])(source, ...observables));\n}\n//# sourceMappingURL=merge.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/mergeAll.js\":\n/*!*******************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/mergeAll.js ***!\n  \\*******************************************************************/\n/*! exports provided: mergeAll */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"mergeAll\", function() { return mergeAll; });\n/* harmony import */ var _mergeMap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./mergeMap */ \"./node_modules/rxjs/_esm2015/internal/operators/mergeMap.js\");\n/* harmony import */ var _util_identity__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/identity */ \"./node_modules/rxjs/_esm2015/internal/util/identity.js\");\n\n\nfunction mergeAll(concurrent = Number.POSITIVE_INFINITY) {\n    return Object(_mergeMap__WEBPACK_IMPORTED_MODULE_0__[\"mergeMap\"])(_util_identity__WEBPACK_IMPORTED_MODULE_1__[\"identity\"], concurrent);\n}\n//# sourceMappingURL=mergeAll.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/mergeMap.js\":\n/*!*******************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/mergeMap.js ***!\n  \\*******************************************************************/\n/*! exports provided: mergeMap, MergeMapOperator, MergeMapSubscriber */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"mergeMap\", function() { return mergeMap; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MergeMapOperator\", function() { return MergeMapOperator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MergeMapSubscriber\", function() { return MergeMapSubscriber; });\n/* harmony import */ var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/subscribeToResult */ \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n/* harmony import */ var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../OuterSubscriber */ \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n/* harmony import */ var _InnerSubscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../InnerSubscriber */ \"./node_modules/rxjs/_esm2015/internal/InnerSubscriber.js\");\n/* harmony import */ var _map__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./map */ \"./node_modules/rxjs/_esm2015/internal/operators/map.js\");\n/* harmony import */ var _observable_from__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../observable/from */ \"./node_modules/rxjs/_esm2015/internal/observable/from.js\");\n\n\n\n\n\nfunction mergeMap(project, resultSelector, concurrent = Number.POSITIVE_INFINITY) {\n    if (typeof resultSelector === 'function') {\n        return (source) => source.pipe(mergeMap((a, i) => Object(_observable_from__WEBPACK_IMPORTED_MODULE_4__[\"from\"])(project(a, i)).pipe(Object(_map__WEBPACK_IMPORTED_MODULE_3__[\"map\"])((b, ii) => resultSelector(a, b, i, ii))), concurrent));\n    }\n    else if (typeof resultSelector === 'number') {\n        concurrent = resultSelector;\n    }\n    return (source) => source.lift(new MergeMapOperator(project, concurrent));\n}\nclass MergeMapOperator {\n    constructor(project, concurrent = Number.POSITIVE_INFINITY) {\n        this.project = project;\n        this.concurrent = concurrent;\n    }\n    call(observer, source) {\n        return source.subscribe(new MergeMapSubscriber(observer, this.project, this.concurrent));\n    }\n}\nclass MergeMapSubscriber extends _OuterSubscriber__WEBPACK_IMPORTED_MODULE_1__[\"OuterSubscriber\"] {\n    constructor(destination, project, concurrent = Number.POSITIVE_INFINITY) {\n        super(destination);\n        this.project = project;\n        this.concurrent = concurrent;\n        this.hasCompleted = false;\n        this.buffer = [];\n        this.active = 0;\n        this.index = 0;\n    }\n    _next(value) {\n        if (this.active < this.concurrent) {\n            this._tryNext(value);\n        }\n        else {\n            this.buffer.push(value);\n        }\n    }\n    _tryNext(value) {\n        let result;\n        const index = this.index++;\n        try {\n            result = this.project(value, index);\n        }\n        catch (err) {\n            this.destination.error(err);\n            return;\n        }\n        this.active++;\n        this._innerSub(result, value, index);\n    }\n    _innerSub(ish, value, index) {\n        const innerSubscriber = new _InnerSubscriber__WEBPACK_IMPORTED_MODULE_2__[\"InnerSubscriber\"](this, undefined, undefined);\n        const destination = this.destination;\n        destination.add(innerSubscriber);\n        Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_0__[\"subscribeToResult\"])(this, ish, value, index, innerSubscriber);\n    }\n    _complete() {\n        this.hasCompleted = true;\n        if (this.active === 0 && this.buffer.length === 0) {\n            this.destination.complete();\n        }\n        this.unsubscribe();\n    }\n    notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n        this.destination.next(innerValue);\n    }\n    notifyComplete(innerSub) {\n        const buffer = this.buffer;\n        this.remove(innerSub);\n        this.active--;\n        if (buffer.length > 0) {\n            this._next(buffer.shift());\n        }\n        else if (this.active === 0 && this.hasCompleted) {\n            this.destination.complete();\n        }\n    }\n}\n//# sourceMappingURL=mergeMap.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/mergeMapTo.js\":\n/*!*********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/mergeMapTo.js ***!\n  \\*********************************************************************/\n/*! exports provided: mergeMapTo */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"mergeMapTo\", function() { return mergeMapTo; });\n/* harmony import */ var _mergeMap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./mergeMap */ \"./node_modules/rxjs/_esm2015/internal/operators/mergeMap.js\");\n\nfunction mergeMapTo(innerObservable, resultSelector, concurrent = Number.POSITIVE_INFINITY) {\n    if (typeof resultSelector === 'function') {\n        return Object(_mergeMap__WEBPACK_IMPORTED_MODULE_0__[\"mergeMap\"])(() => innerObservable, resultSelector, concurrent);\n    }\n    if (typeof resultSelector === 'number') {\n        concurrent = resultSelector;\n    }\n    return Object(_mergeMap__WEBPACK_IMPORTED_MODULE_0__[\"mergeMap\"])(() => innerObservable, concurrent);\n}\n//# sourceMappingURL=mergeMapTo.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/mergeScan.js\":\n/*!********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/mergeScan.js ***!\n  \\********************************************************************/\n/*! exports provided: mergeScan, MergeScanOperator, MergeScanSubscriber */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"mergeScan\", function() { return mergeScan; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MergeScanOperator\", function() { return MergeScanOperator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MergeScanSubscriber\", function() { return MergeScanSubscriber; });\n/* harmony import */ var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/subscribeToResult */ \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n/* harmony import */ var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../OuterSubscriber */ \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n/* harmony import */ var _InnerSubscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../InnerSubscriber */ \"./node_modules/rxjs/_esm2015/internal/InnerSubscriber.js\");\n\n\n\nfunction mergeScan(accumulator, seed, concurrent = Number.POSITIVE_INFINITY) {\n    return (source) => source.lift(new MergeScanOperator(accumulator, seed, concurrent));\n}\nclass MergeScanOperator {\n    constructor(accumulator, seed, concurrent) {\n        this.accumulator = accumulator;\n        this.seed = seed;\n        this.concurrent = concurrent;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new MergeScanSubscriber(subscriber, this.accumulator, this.seed, this.concurrent));\n    }\n}\nclass MergeScanSubscriber extends _OuterSubscriber__WEBPACK_IMPORTED_MODULE_1__[\"OuterSubscriber\"] {\n    constructor(destination, accumulator, acc, concurrent) {\n        super(destination);\n        this.accumulator = accumulator;\n        this.acc = acc;\n        this.concurrent = concurrent;\n        this.hasValue = false;\n        this.hasCompleted = false;\n        this.buffer = [];\n        this.active = 0;\n        this.index = 0;\n    }\n    _next(value) {\n        if (this.active < this.concurrent) {\n            const index = this.index++;\n            const destination = this.destination;\n            let ish;\n            try {\n                const { accumulator } = this;\n                ish = accumulator(this.acc, value, index);\n            }\n            catch (e) {\n                return destination.error(e);\n            }\n            this.active++;\n            this._innerSub(ish, value, index);\n        }\n        else {\n            this.buffer.push(value);\n        }\n    }\n    _innerSub(ish, value, index) {\n        const innerSubscriber = new _InnerSubscriber__WEBPACK_IMPORTED_MODULE_2__[\"InnerSubscriber\"](this, undefined, undefined);\n        const destination = this.destination;\n        destination.add(innerSubscriber);\n        Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_0__[\"subscribeToResult\"])(this, ish, value, index, innerSubscriber);\n    }\n    _complete() {\n        this.hasCompleted = true;\n        if (this.active === 0 && this.buffer.length === 0) {\n            if (this.hasValue === false) {\n                this.destination.next(this.acc);\n            }\n            this.destination.complete();\n        }\n        this.unsubscribe();\n    }\n    notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n        const { destination } = this;\n        this.acc = innerValue;\n        this.hasValue = true;\n        destination.next(innerValue);\n    }\n    notifyComplete(innerSub) {\n        const buffer = this.buffer;\n        const destination = this.destination;\n        destination.remove(innerSub);\n        this.active--;\n        if (buffer.length > 0) {\n            this._next(buffer.shift());\n        }\n        else if (this.active === 0 && this.hasCompleted) {\n            if (this.hasValue === false) {\n                this.destination.next(this.acc);\n            }\n            this.destination.complete();\n        }\n    }\n}\n//# sourceMappingURL=mergeScan.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/min.js\":\n/*!**************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/min.js ***!\n  \\**************************************************************/\n/*! exports provided: min */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"min\", function() { return min; });\n/* harmony import */ var _reduce__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./reduce */ \"./node_modules/rxjs/_esm2015/internal/operators/reduce.js\");\n\nfunction min(comparer) {\n    const min = (typeof comparer === 'function')\n        ? (x, y) => comparer(x, y) < 0 ? x : y\n        : (x, y) => x < y ? x : y;\n    return Object(_reduce__WEBPACK_IMPORTED_MODULE_0__[\"reduce\"])(min);\n}\n//# sourceMappingURL=min.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/multicast.js\":\n/*!********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/multicast.js ***!\n  \\********************************************************************/\n/*! exports provided: multicast, MulticastOperator */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"multicast\", function() { return multicast; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MulticastOperator\", function() { return MulticastOperator; });\n/* harmony import */ var _observable_ConnectableObservable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../observable/ConnectableObservable */ \"./node_modules/rxjs/_esm2015/internal/observable/ConnectableObservable.js\");\n\nfunction multicast(subjectOrSubjectFactory, selector) {\n    return function multicastOperatorFunction(source) {\n        let subjectFactory;\n        if (typeof subjectOrSubjectFactory === 'function') {\n            subjectFactory = subjectOrSubjectFactory;\n        }\n        else {\n            subjectFactory = function subjectFactory() {\n                return subjectOrSubjectFactory;\n            };\n        }\n        if (typeof selector === 'function') {\n            return source.lift(new MulticastOperator(subjectFactory, selector));\n        }\n        const connectable = Object.create(source, _observable_ConnectableObservable__WEBPACK_IMPORTED_MODULE_0__[\"connectableObservableDescriptor\"]);\n        connectable.source = source;\n        connectable.subjectFactory = subjectFactory;\n        return connectable;\n    };\n}\nclass MulticastOperator {\n    constructor(subjectFactory, selector) {\n        this.subjectFactory = subjectFactory;\n        this.selector = selector;\n    }\n    call(subscriber, source) {\n        const { selector } = this;\n        const subject = this.subjectFactory();\n        const subscription = selector(subject).subscribe(subscriber);\n        subscription.add(source.subscribe(subject));\n        return subscription;\n    }\n}\n//# sourceMappingURL=multicast.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/observeOn.js\":\n/*!********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/observeOn.js ***!\n  \\********************************************************************/\n/*! exports provided: observeOn, ObserveOnOperator, ObserveOnSubscriber, ObserveOnMessage */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"observeOn\", function() { return observeOn; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ObserveOnOperator\", function() { return ObserveOnOperator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ObserveOnSubscriber\", function() { return ObserveOnSubscriber; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ObserveOnMessage\", function() { return ObserveOnMessage; });\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n/* harmony import */ var _Notification__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Notification */ \"./node_modules/rxjs/_esm2015/internal/Notification.js\");\n\n\nfunction observeOn(scheduler, delay = 0) {\n    return function observeOnOperatorFunction(source) {\n        return source.lift(new ObserveOnOperator(scheduler, delay));\n    };\n}\nclass ObserveOnOperator {\n    constructor(scheduler, delay = 0) {\n        this.scheduler = scheduler;\n        this.delay = delay;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new ObserveOnSubscriber(subscriber, this.scheduler, this.delay));\n    }\n}\nclass ObserveOnSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"] {\n    constructor(destination, scheduler, delay = 0) {\n        super(destination);\n        this.scheduler = scheduler;\n        this.delay = delay;\n    }\n    static dispatch(arg) {\n        const { notification, destination } = arg;\n        notification.observe(destination);\n        this.unsubscribe();\n    }\n    scheduleMessage(notification) {\n        const destination = this.destination;\n        destination.add(this.scheduler.schedule(ObserveOnSubscriber.dispatch, this.delay, new ObserveOnMessage(notification, this.destination)));\n    }\n    _next(value) {\n        this.scheduleMessage(_Notification__WEBPACK_IMPORTED_MODULE_1__[\"Notification\"].createNext(value));\n    }\n    _error(err) {\n        this.scheduleMessage(_Notification__WEBPACK_IMPORTED_MODULE_1__[\"Notification\"].createError(err));\n        this.unsubscribe();\n    }\n    _complete() {\n        this.scheduleMessage(_Notification__WEBPACK_IMPORTED_MODULE_1__[\"Notification\"].createComplete());\n        this.unsubscribe();\n    }\n}\nclass ObserveOnMessage {\n    constructor(notification, destination) {\n        this.notification = notification;\n        this.destination = destination;\n    }\n}\n//# sourceMappingURL=observeOn.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/onErrorResumeNext.js\":\n/*!****************************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/onErrorResumeNext.js ***!\n  \\****************************************************************************/\n/*! exports provided: onErrorResumeNext, onErrorResumeNextStatic */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"onErrorResumeNext\", function() { return onErrorResumeNext; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"onErrorResumeNextStatic\", function() { return onErrorResumeNextStatic; });\n/* harmony import */ var _observable_from__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../observable/from */ \"./node_modules/rxjs/_esm2015/internal/observable/from.js\");\n/* harmony import */ var _util_isArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/isArray */ \"./node_modules/rxjs/_esm2015/internal/util/isArray.js\");\n/* harmony import */ var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../OuterSubscriber */ \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n/* harmony import */ var _InnerSubscriber__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../InnerSubscriber */ \"./node_modules/rxjs/_esm2015/internal/InnerSubscriber.js\");\n/* harmony import */ var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../util/subscribeToResult */ \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n\n\n\n\nfunction onErrorResumeNext(...nextSources) {\n    if (nextSources.length === 1 && Object(_util_isArray__WEBPACK_IMPORTED_MODULE_1__[\"isArray\"])(nextSources[0])) {\n        nextSources = nextSources[0];\n    }\n    return (source) => source.lift(new OnErrorResumeNextOperator(nextSources));\n}\nfunction onErrorResumeNextStatic(...nextSources) {\n    let source = null;\n    if (nextSources.length === 1 && Object(_util_isArray__WEBPACK_IMPORTED_MODULE_1__[\"isArray\"])(nextSources[0])) {\n        nextSources = nextSources[0];\n    }\n    source = nextSources.shift();\n    return Object(_observable_from__WEBPACK_IMPORTED_MODULE_0__[\"from\"])(source, null).lift(new OnErrorResumeNextOperator(nextSources));\n}\nclass OnErrorResumeNextOperator {\n    constructor(nextSources) {\n        this.nextSources = nextSources;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new OnErrorResumeNextSubscriber(subscriber, this.nextSources));\n    }\n}\nclass OnErrorResumeNextSubscriber extends _OuterSubscriber__WEBPACK_IMPORTED_MODULE_2__[\"OuterSubscriber\"] {\n    constructor(destination, nextSources) {\n        super(destination);\n        this.destination = destination;\n        this.nextSources = nextSources;\n    }\n    notifyError(error, innerSub) {\n        this.subscribeToNextSource();\n    }\n    notifyComplete(innerSub) {\n        this.subscribeToNextSource();\n    }\n    _error(err) {\n        this.subscribeToNextSource();\n        this.unsubscribe();\n    }\n    _complete() {\n        this.subscribeToNextSource();\n        this.unsubscribe();\n    }\n    subscribeToNextSource() {\n        const next = this.nextSources.shift();\n        if (!!next) {\n            const innerSubscriber = new _InnerSubscriber__WEBPACK_IMPORTED_MODULE_3__[\"InnerSubscriber\"](this, undefined, undefined);\n            const destination = this.destination;\n            destination.add(innerSubscriber);\n            Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_4__[\"subscribeToResult\"])(this, next, undefined, undefined, innerSubscriber);\n        }\n        else {\n            this.destination.complete();\n        }\n    }\n}\n//# sourceMappingURL=onErrorResumeNext.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/pairwise.js\":\n/*!*******************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/pairwise.js ***!\n  \\*******************************************************************/\n/*! exports provided: pairwise */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"pairwise\", function() { return pairwise; });\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\nfunction pairwise() {\n    return (source) => source.lift(new PairwiseOperator());\n}\nclass PairwiseOperator {\n    call(subscriber, source) {\n        return source.subscribe(new PairwiseSubscriber(subscriber));\n    }\n}\nclass PairwiseSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"] {\n    constructor(destination) {\n        super(destination);\n        this.hasPrev = false;\n    }\n    _next(value) {\n        if (this.hasPrev) {\n            this.destination.next([this.prev, value]);\n        }\n        else {\n            this.hasPrev = true;\n        }\n        this.prev = value;\n    }\n}\n//# sourceMappingURL=pairwise.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/partition.js\":\n/*!********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/partition.js ***!\n  \\********************************************************************/\n/*! exports provided: partition */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"partition\", function() { return partition; });\n/* harmony import */ var _util_not__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/not */ \"./node_modules/rxjs/_esm2015/internal/util/not.js\");\n/* harmony import */ var _filter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./filter */ \"./node_modules/rxjs/_esm2015/internal/operators/filter.js\");\n\n\nfunction partition(predicate, thisArg) {\n    return (source) => [\n        Object(_filter__WEBPACK_IMPORTED_MODULE_1__[\"filter\"])(predicate, thisArg)(source),\n        Object(_filter__WEBPACK_IMPORTED_MODULE_1__[\"filter\"])(Object(_util_not__WEBPACK_IMPORTED_MODULE_0__[\"not\"])(predicate, thisArg))(source)\n    ];\n}\n//# sourceMappingURL=partition.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/pluck.js\":\n/*!****************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/pluck.js ***!\n  \\****************************************************************/\n/*! exports provided: pluck */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"pluck\", function() { return pluck; });\n/* harmony import */ var _map__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./map */ \"./node_modules/rxjs/_esm2015/internal/operators/map.js\");\n\nfunction pluck(...properties) {\n    const length = properties.length;\n    if (length === 0) {\n        throw new Error('list of properties cannot be empty.');\n    }\n    return (source) => Object(_map__WEBPACK_IMPORTED_MODULE_0__[\"map\"])(plucker(properties, length))(source);\n}\nfunction plucker(props, length) {\n    const mapper = (x) => {\n        let currentProp = x;\n        for (let i = 0; i < length; i++) {\n            const p = currentProp[props[i]];\n            if (typeof p !== 'undefined') {\n                currentProp = p;\n            }\n            else {\n                return undefined;\n            }\n        }\n        return currentProp;\n    };\n    return mapper;\n}\n//# sourceMappingURL=pluck.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/publish.js\":\n/*!******************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/publish.js ***!\n  \\******************************************************************/\n/*! exports provided: publish */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"publish\", function() { return publish; });\n/* harmony import */ var _Subject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subject */ \"./node_modules/rxjs/_esm2015/internal/Subject.js\");\n/* harmony import */ var _multicast__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./multicast */ \"./node_modules/rxjs/_esm2015/internal/operators/multicast.js\");\n\n\nfunction publish(selector) {\n    return selector ?\n        Object(_multicast__WEBPACK_IMPORTED_MODULE_1__[\"multicast\"])(() => new _Subject__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"](), selector) :\n        Object(_multicast__WEBPACK_IMPORTED_MODULE_1__[\"multicast\"])(new _Subject__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]());\n}\n//# sourceMappingURL=publish.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/publishBehavior.js\":\n/*!**************************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/publishBehavior.js ***!\n  \\**************************************************************************/\n/*! exports provided: publishBehavior */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"publishBehavior\", function() { return publishBehavior; });\n/* harmony import */ var _BehaviorSubject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../BehaviorSubject */ \"./node_modules/rxjs/_esm2015/internal/BehaviorSubject.js\");\n/* harmony import */ var _multicast__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./multicast */ \"./node_modules/rxjs/_esm2015/internal/operators/multicast.js\");\n\n\nfunction publishBehavior(value) {\n    return (source) => Object(_multicast__WEBPACK_IMPORTED_MODULE_1__[\"multicast\"])(new _BehaviorSubject__WEBPACK_IMPORTED_MODULE_0__[\"BehaviorSubject\"](value))(source);\n}\n//# sourceMappingURL=publishBehavior.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/publishLast.js\":\n/*!**********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/publishLast.js ***!\n  \\**********************************************************************/\n/*! exports provided: publishLast */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"publishLast\", function() { return publishLast; });\n/* harmony import */ var _AsyncSubject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../AsyncSubject */ \"./node_modules/rxjs/_esm2015/internal/AsyncSubject.js\");\n/* harmony import */ var _multicast__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./multicast */ \"./node_modules/rxjs/_esm2015/internal/operators/multicast.js\");\n\n\nfunction publishLast() {\n    return (source) => Object(_multicast__WEBPACK_IMPORTED_MODULE_1__[\"multicast\"])(new _AsyncSubject__WEBPACK_IMPORTED_MODULE_0__[\"AsyncSubject\"]())(source);\n}\n//# sourceMappingURL=publishLast.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/publishReplay.js\":\n/*!************************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/publishReplay.js ***!\n  \\************************************************************************/\n/*! exports provided: publishReplay */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"publishReplay\", function() { return publishReplay; });\n/* harmony import */ var _ReplaySubject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../ReplaySubject */ \"./node_modules/rxjs/_esm2015/internal/ReplaySubject.js\");\n/* harmony import */ var _multicast__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./multicast */ \"./node_modules/rxjs/_esm2015/internal/operators/multicast.js\");\n\n\nfunction publishReplay(bufferSize, windowTime, selectorOrScheduler, scheduler) {\n    if (selectorOrScheduler && typeof selectorOrScheduler !== 'function') {\n        scheduler = selectorOrScheduler;\n    }\n    const selector = typeof selectorOrScheduler === 'function' ? selectorOrScheduler : undefined;\n    const subject = new _ReplaySubject__WEBPACK_IMPORTED_MODULE_0__[\"ReplaySubject\"](bufferSize, windowTime, scheduler);\n    return (source) => Object(_multicast__WEBPACK_IMPORTED_MODULE_1__[\"multicast\"])(() => subject, selector)(source);\n}\n//# sourceMappingURL=publishReplay.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/race.js\":\n/*!***************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/race.js ***!\n  \\***************************************************************/\n/*! exports provided: race */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"race\", function() { return race; });\n/* harmony import */ var _util_isArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/isArray */ \"./node_modules/rxjs/_esm2015/internal/util/isArray.js\");\n/* harmony import */ var _observable_race__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../observable/race */ \"./node_modules/rxjs/_esm2015/internal/observable/race.js\");\n\n\nfunction race(...observables) {\n    return function raceOperatorFunction(source) {\n        if (observables.length === 1 && Object(_util_isArray__WEBPACK_IMPORTED_MODULE_0__[\"isArray\"])(observables[0])) {\n            observables = observables[0];\n        }\n        return source.lift.call(Object(_observable_race__WEBPACK_IMPORTED_MODULE_1__[\"race\"])(source, ...observables));\n    };\n}\n//# sourceMappingURL=race.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/reduce.js\":\n/*!*****************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/reduce.js ***!\n  \\*****************************************************************/\n/*! exports provided: reduce */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"reduce\", function() { return reduce; });\n/* harmony import */ var _scan__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./scan */ \"./node_modules/rxjs/_esm2015/internal/operators/scan.js\");\n/* harmony import */ var _takeLast__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./takeLast */ \"./node_modules/rxjs/_esm2015/internal/operators/takeLast.js\");\n/* harmony import */ var _defaultIfEmpty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./defaultIfEmpty */ \"./node_modules/rxjs/_esm2015/internal/operators/defaultIfEmpty.js\");\n/* harmony import */ var _util_pipe__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/pipe */ \"./node_modules/rxjs/_esm2015/internal/util/pipe.js\");\n\n\n\n\nfunction reduce(accumulator, seed) {\n    if (arguments.length >= 2) {\n        return function reduceOperatorFunctionWithSeed(source) {\n            return Object(_util_pipe__WEBPACK_IMPORTED_MODULE_3__[\"pipe\"])(Object(_scan__WEBPACK_IMPORTED_MODULE_0__[\"scan\"])(accumulator, seed), Object(_takeLast__WEBPACK_IMPORTED_MODULE_1__[\"takeLast\"])(1), Object(_defaultIfEmpty__WEBPACK_IMPORTED_MODULE_2__[\"defaultIfEmpty\"])(seed))(source);\n        };\n    }\n    return function reduceOperatorFunction(source) {\n        return Object(_util_pipe__WEBPACK_IMPORTED_MODULE_3__[\"pipe\"])(Object(_scan__WEBPACK_IMPORTED_MODULE_0__[\"scan\"])((acc, value, index) => accumulator(acc, value, index + 1)), Object(_takeLast__WEBPACK_IMPORTED_MODULE_1__[\"takeLast\"])(1))(source);\n    };\n}\n//# sourceMappingURL=reduce.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/refCount.js\":\n/*!*******************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/refCount.js ***!\n  \\*******************************************************************/\n/*! exports provided: refCount */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"refCount\", function() { return refCount; });\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\nfunction refCount() {\n    return function refCountOperatorFunction(source) {\n        return source.lift(new RefCountOperator(source));\n    };\n}\nclass RefCountOperator {\n    constructor(connectable) {\n        this.connectable = connectable;\n    }\n    call(subscriber, source) {\n        const { connectable } = this;\n        connectable._refCount++;\n        const refCounter = new RefCountSubscriber(subscriber, connectable);\n        const subscription = source.subscribe(refCounter);\n        if (!refCounter.closed) {\n            refCounter.connection = connectable.connect();\n        }\n        return subscription;\n    }\n}\nclass RefCountSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"] {\n    constructor(destination, connectable) {\n        super(destination);\n        this.connectable = connectable;\n    }\n    _unsubscribe() {\n        const { connectable } = this;\n        if (!connectable) {\n            this.connection = null;\n            return;\n        }\n        this.connectable = null;\n        const refCount = connectable._refCount;\n        if (refCount <= 0) {\n            this.connection = null;\n            return;\n        }\n        connectable._refCount = refCount - 1;\n        if (refCount > 1) {\n            this.connection = null;\n            return;\n        }\n        const { connection } = this;\n        const sharedConnection = connectable._connection;\n        this.connection = null;\n        if (sharedConnection && (!connection || sharedConnection === connection)) {\n            sharedConnection.unsubscribe();\n        }\n    }\n}\n//# sourceMappingURL=refCount.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/repeat.js\":\n/*!*****************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/repeat.js ***!\n  \\*****************************************************************/\n/*! exports provided: repeat */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"repeat\", function() { return repeat; });\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n/* harmony import */ var _observable_empty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../observable/empty */ \"./node_modules/rxjs/_esm2015/internal/observable/empty.js\");\n\n\nfunction repeat(count = -1) {\n    return (source) => {\n        if (count === 0) {\n            return Object(_observable_empty__WEBPACK_IMPORTED_MODULE_1__[\"empty\"])();\n        }\n        else if (count < 0) {\n            return source.lift(new RepeatOperator(-1, source));\n        }\n        else {\n            return source.lift(new RepeatOperator(count - 1, source));\n        }\n    };\n}\nclass RepeatOperator {\n    constructor(count, source) {\n        this.count = count;\n        this.source = source;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new RepeatSubscriber(subscriber, this.count, this.source));\n    }\n}\nclass RepeatSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"] {\n    constructor(destination, count, source) {\n        super(destination);\n        this.count = count;\n        this.source = source;\n    }\n    complete() {\n        if (!this.isStopped) {\n            const { source, count } = this;\n            if (count === 0) {\n                return super.complete();\n            }\n            else if (count > -1) {\n                this.count = count - 1;\n            }\n            source.subscribe(this._unsubscribeAndRecycle());\n        }\n    }\n}\n//# sourceMappingURL=repeat.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/repeatWhen.js\":\n/*!*********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/repeatWhen.js ***!\n  \\*********************************************************************/\n/*! exports provided: repeatWhen */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"repeatWhen\", function() { return repeatWhen; });\n/* harmony import */ var _Subject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subject */ \"./node_modules/rxjs/_esm2015/internal/Subject.js\");\n/* harmony import */ var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../OuterSubscriber */ \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n/* harmony import */ var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/subscribeToResult */ \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n\n\nfunction repeatWhen(notifier) {\n    return (source) => source.lift(new RepeatWhenOperator(notifier));\n}\nclass RepeatWhenOperator {\n    constructor(notifier) {\n        this.notifier = notifier;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new RepeatWhenSubscriber(subscriber, this.notifier, source));\n    }\n}\nclass RepeatWhenSubscriber extends _OuterSubscriber__WEBPACK_IMPORTED_MODULE_1__[\"OuterSubscriber\"] {\n    constructor(destination, notifier, source) {\n        super(destination);\n        this.notifier = notifier;\n        this.source = source;\n        this.sourceIsBeingSubscribedTo = true;\n    }\n    notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n        this.sourceIsBeingSubscribedTo = true;\n        this.source.subscribe(this);\n    }\n    notifyComplete(innerSub) {\n        if (this.sourceIsBeingSubscribedTo === false) {\n            return super.complete();\n        }\n    }\n    complete() {\n        this.sourceIsBeingSubscribedTo = false;\n        if (!this.isStopped) {\n            if (!this.retries) {\n                this.subscribeToRetries();\n            }\n            if (!this.retriesSubscription || this.retriesSubscription.closed) {\n                return super.complete();\n            }\n            this._unsubscribeAndRecycle();\n            this.notifications.next();\n        }\n    }\n    _unsubscribe() {\n        const { notifications, retriesSubscription } = this;\n        if (notifications) {\n            notifications.unsubscribe();\n            this.notifications = null;\n        }\n        if (retriesSubscription) {\n            retriesSubscription.unsubscribe();\n            this.retriesSubscription = null;\n        }\n        this.retries = null;\n    }\n    _unsubscribeAndRecycle() {\n        const { _unsubscribe } = this;\n        this._unsubscribe = null;\n        super._unsubscribeAndRecycle();\n        this._unsubscribe = _unsubscribe;\n        return this;\n    }\n    subscribeToRetries() {\n        this.notifications = new _Subject__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]();\n        let retries;\n        try {\n            const { notifier } = this;\n            retries = notifier(this.notifications);\n        }\n        catch (e) {\n            return super.complete();\n        }\n        this.retries = retries;\n        this.retriesSubscription = Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_2__[\"subscribeToResult\"])(this, retries);\n    }\n}\n//# sourceMappingURL=repeatWhen.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/retry.js\":\n/*!****************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/retry.js ***!\n  \\****************************************************************/\n/*! exports provided: retry */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"retry\", function() { return retry; });\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\nfunction retry(count = -1) {\n    return (source) => source.lift(new RetryOperator(count, source));\n}\nclass RetryOperator {\n    constructor(count, source) {\n        this.count = count;\n        this.source = source;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new RetrySubscriber(subscriber, this.count, this.source));\n    }\n}\nclass RetrySubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"] {\n    constructor(destination, count, source) {\n        super(destination);\n        this.count = count;\n        this.source = source;\n    }\n    error(err) {\n        if (!this.isStopped) {\n            const { source, count } = this;\n            if (count === 0) {\n                return super.error(err);\n            }\n            else if (count > -1) {\n                this.count = count - 1;\n            }\n            source.subscribe(this._unsubscribeAndRecycle());\n        }\n    }\n}\n//# sourceMappingURL=retry.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/retryWhen.js\":\n/*!********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/retryWhen.js ***!\n  \\********************************************************************/\n/*! exports provided: retryWhen */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"retryWhen\", function() { return retryWhen; });\n/* harmony import */ var _Subject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subject */ \"./node_modules/rxjs/_esm2015/internal/Subject.js\");\n/* harmony import */ var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../OuterSubscriber */ \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n/* harmony import */ var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/subscribeToResult */ \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n\n\nfunction retryWhen(notifier) {\n    return (source) => source.lift(new RetryWhenOperator(notifier, source));\n}\nclass RetryWhenOperator {\n    constructor(notifier, source) {\n        this.notifier = notifier;\n        this.source = source;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new RetryWhenSubscriber(subscriber, this.notifier, this.source));\n    }\n}\nclass RetryWhenSubscriber extends _OuterSubscriber__WEBPACK_IMPORTED_MODULE_1__[\"OuterSubscriber\"] {\n    constructor(destination, notifier, source) {\n        super(destination);\n        this.notifier = notifier;\n        this.source = source;\n    }\n    error(err) {\n        if (!this.isStopped) {\n            let errors = this.errors;\n            let retries = this.retries;\n            let retriesSubscription = this.retriesSubscription;\n            if (!retries) {\n                errors = new _Subject__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]();\n                try {\n                    const { notifier } = this;\n                    retries = notifier(errors);\n                }\n                catch (e) {\n                    return super.error(e);\n                }\n                retriesSubscription = Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_2__[\"subscribeToResult\"])(this, retries);\n            }\n            else {\n                this.errors = null;\n                this.retriesSubscription = null;\n            }\n            this._unsubscribeAndRecycle();\n            this.errors = errors;\n            this.retries = retries;\n            this.retriesSubscription = retriesSubscription;\n            errors.next(err);\n        }\n    }\n    _unsubscribe() {\n        const { errors, retriesSubscription } = this;\n        if (errors) {\n            errors.unsubscribe();\n            this.errors = null;\n        }\n        if (retriesSubscription) {\n            retriesSubscription.unsubscribe();\n            this.retriesSubscription = null;\n        }\n        this.retries = null;\n    }\n    notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n        const { _unsubscribe } = this;\n        this._unsubscribe = null;\n        this._unsubscribeAndRecycle();\n        this._unsubscribe = _unsubscribe;\n        this.source.subscribe(this);\n    }\n}\n//# sourceMappingURL=retryWhen.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/sample.js\":\n/*!*****************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/sample.js ***!\n  \\*****************************************************************/\n/*! exports provided: sample */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"sample\", function() { return sample; });\n/* harmony import */ var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../OuterSubscriber */ \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n/* harmony import */ var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/subscribeToResult */ \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n\nfunction sample(notifier) {\n    return (source) => source.lift(new SampleOperator(notifier));\n}\nclass SampleOperator {\n    constructor(notifier) {\n        this.notifier = notifier;\n    }\n    call(subscriber, source) {\n        const sampleSubscriber = new SampleSubscriber(subscriber);\n        const subscription = source.subscribe(sampleSubscriber);\n        subscription.add(Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__[\"subscribeToResult\"])(sampleSubscriber, this.notifier));\n        return subscription;\n    }\n}\nclass SampleSubscriber extends _OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__[\"OuterSubscriber\"] {\n    constructor() {\n        super(...arguments);\n        this.hasValue = false;\n    }\n    _next(value) {\n        this.value = value;\n        this.hasValue = true;\n    }\n    notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n        this.emitValue();\n    }\n    notifyComplete() {\n        this.emitValue();\n    }\n    emitValue() {\n        if (this.hasValue) {\n            this.hasValue = false;\n            this.destination.next(this.value);\n        }\n    }\n}\n//# sourceMappingURL=sample.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/sampleTime.js\":\n/*!*********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/sampleTime.js ***!\n  \\*********************************************************************/\n/*! exports provided: sampleTime */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"sampleTime\", function() { return sampleTime; });\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n/* harmony import */ var _scheduler_async__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../scheduler/async */ \"./node_modules/rxjs/_esm2015/internal/scheduler/async.js\");\n\n\nfunction sampleTime(period, scheduler = _scheduler_async__WEBPACK_IMPORTED_MODULE_1__[\"async\"]) {\n    return (source) => source.lift(new SampleTimeOperator(period, scheduler));\n}\nclass SampleTimeOperator {\n    constructor(period, scheduler) {\n        this.period = period;\n        this.scheduler = scheduler;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new SampleTimeSubscriber(subscriber, this.period, this.scheduler));\n    }\n}\nclass SampleTimeSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"] {\n    constructor(destination, period, scheduler) {\n        super(destination);\n        this.period = period;\n        this.scheduler = scheduler;\n        this.hasValue = false;\n        this.add(scheduler.schedule(dispatchNotification, period, { subscriber: this, period }));\n    }\n    _next(value) {\n        this.lastValue = value;\n        this.hasValue = true;\n    }\n    notifyNext() {\n        if (this.hasValue) {\n            this.hasValue = false;\n            this.destination.next(this.lastValue);\n        }\n    }\n}\nfunction dispatchNotification(state) {\n    let { subscriber, period } = state;\n    subscriber.notifyNext();\n    this.schedule(state, period);\n}\n//# sourceMappingURL=sampleTime.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/scan.js\":\n/*!***************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/scan.js ***!\n  \\***************************************************************/\n/*! exports provided: scan */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"scan\", function() { return scan; });\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\nfunction scan(accumulator, seed) {\n    let hasSeed = false;\n    if (arguments.length >= 2) {\n        hasSeed = true;\n    }\n    return function scanOperatorFunction(source) {\n        return source.lift(new ScanOperator(accumulator, seed, hasSeed));\n    };\n}\nclass ScanOperator {\n    constructor(accumulator, seed, hasSeed = false) {\n        this.accumulator = accumulator;\n        this.seed = seed;\n        this.hasSeed = hasSeed;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new ScanSubscriber(subscriber, this.accumulator, this.seed, this.hasSeed));\n    }\n}\nclass ScanSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"] {\n    constructor(destination, accumulator, _seed, hasSeed) {\n        super(destination);\n        this.accumulator = accumulator;\n        this._seed = _seed;\n        this.hasSeed = hasSeed;\n        this.index = 0;\n    }\n    get seed() {\n        return this._seed;\n    }\n    set seed(value) {\n        this.hasSeed = true;\n        this._seed = value;\n    }\n    _next(value) {\n        if (!this.hasSeed) {\n            this.seed = value;\n            this.destination.next(value);\n        }\n        else {\n            return this._tryNext(value);\n        }\n    }\n    _tryNext(value) {\n        const index = this.index++;\n        let result;\n        try {\n            result = this.accumulator(this.seed, value, index);\n        }\n        catch (err) {\n            this.destination.error(err);\n        }\n        this.seed = result;\n        this.destination.next(result);\n    }\n}\n//# sourceMappingURL=scan.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/sequenceEqual.js\":\n/*!************************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/sequenceEqual.js ***!\n  \\************************************************************************/\n/*! exports provided: sequenceEqual, SequenceEqualOperator, SequenceEqualSubscriber */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"sequenceEqual\", function() { return sequenceEqual; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SequenceEqualOperator\", function() { return SequenceEqualOperator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SequenceEqualSubscriber\", function() { return SequenceEqualSubscriber; });\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\nfunction sequenceEqual(compareTo, comparator) {\n    return (source) => source.lift(new SequenceEqualOperator(compareTo, comparator));\n}\nclass SequenceEqualOperator {\n    constructor(compareTo, comparator) {\n        this.compareTo = compareTo;\n        this.comparator = comparator;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new SequenceEqualSubscriber(subscriber, this.compareTo, this.comparator));\n    }\n}\nclass SequenceEqualSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"] {\n    constructor(destination, compareTo, comparator) {\n        super(destination);\n        this.compareTo = compareTo;\n        this.comparator = comparator;\n        this._a = [];\n        this._b = [];\n        this._oneComplete = false;\n        this.destination.add(compareTo.subscribe(new SequenceEqualCompareToSubscriber(destination, this)));\n    }\n    _next(value) {\n        if (this._oneComplete && this._b.length === 0) {\n            this.emit(false);\n        }\n        else {\n            this._a.push(value);\n            this.checkValues();\n        }\n    }\n    _complete() {\n        if (this._oneComplete) {\n            this.emit(this._a.length === 0 && this._b.length === 0);\n        }\n        else {\n            this._oneComplete = true;\n        }\n        this.unsubscribe();\n    }\n    checkValues() {\n        const { _a, _b, comparator } = this;\n        while (_a.length > 0 && _b.length > 0) {\n            let a = _a.shift();\n            let b = _b.shift();\n            let areEqual = false;\n            try {\n                areEqual = comparator ? comparator(a, b) : a === b;\n            }\n            catch (e) {\n                this.destination.error(e);\n            }\n            if (!areEqual) {\n                this.emit(false);\n            }\n        }\n    }\n    emit(value) {\n        const { destination } = this;\n        destination.next(value);\n        destination.complete();\n    }\n    nextB(value) {\n        if (this._oneComplete && this._a.length === 0) {\n            this.emit(false);\n        }\n        else {\n            this._b.push(value);\n            this.checkValues();\n        }\n    }\n    completeB() {\n        if (this._oneComplete) {\n            this.emit(this._a.length === 0 && this._b.length === 0);\n        }\n        else {\n            this._oneComplete = true;\n        }\n    }\n}\nclass SequenceEqualCompareToSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"] {\n    constructor(destination, parent) {\n        super(destination);\n        this.parent = parent;\n    }\n    _next(value) {\n        this.parent.nextB(value);\n    }\n    _error(err) {\n        this.parent.error(err);\n        this.unsubscribe();\n    }\n    _complete() {\n        this.parent.completeB();\n        this.unsubscribe();\n    }\n}\n//# sourceMappingURL=sequenceEqual.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/share.js\":\n/*!****************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/share.js ***!\n  \\****************************************************************/\n/*! exports provided: share */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"share\", function() { return share; });\n/* harmony import */ var _multicast__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./multicast */ \"./node_modules/rxjs/_esm2015/internal/operators/multicast.js\");\n/* harmony import */ var _refCount__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./refCount */ \"./node_modules/rxjs/_esm2015/internal/operators/refCount.js\");\n/* harmony import */ var _Subject__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Subject */ \"./node_modules/rxjs/_esm2015/internal/Subject.js\");\n\n\n\nfunction shareSubjectFactory() {\n    return new _Subject__WEBPACK_IMPORTED_MODULE_2__[\"Subject\"]();\n}\nfunction share() {\n    return (source) => Object(_refCount__WEBPACK_IMPORTED_MODULE_1__[\"refCount\"])()(Object(_multicast__WEBPACK_IMPORTED_MODULE_0__[\"multicast\"])(shareSubjectFactory)(source));\n}\n//# sourceMappingURL=share.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/shareReplay.js\":\n/*!**********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/shareReplay.js ***!\n  \\**********************************************************************/\n/*! exports provided: shareReplay */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"shareReplay\", function() { return shareReplay; });\n/* harmony import */ var _ReplaySubject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../ReplaySubject */ \"./node_modules/rxjs/_esm2015/internal/ReplaySubject.js\");\n\nfunction shareReplay(configOrBufferSize, windowTime, scheduler) {\n    let config;\n    if (configOrBufferSize && typeof configOrBufferSize === 'object') {\n        config = configOrBufferSize;\n    }\n    else {\n        config = {\n            bufferSize: configOrBufferSize,\n            windowTime,\n            refCount: false,\n            scheduler\n        };\n    }\n    return (source) => source.lift(shareReplayOperator(config));\n}\nfunction shareReplayOperator({ bufferSize = Number.POSITIVE_INFINITY, windowTime = Number.POSITIVE_INFINITY, refCount: useRefCount, scheduler }) {\n    let subject;\n    let refCount = 0;\n    let subscription;\n    let hasError = false;\n    let isComplete = false;\n    return function shareReplayOperation(source) {\n        refCount++;\n        if (!subject || hasError) {\n            hasError = false;\n            subject = new _ReplaySubject__WEBPACK_IMPORTED_MODULE_0__[\"ReplaySubject\"](bufferSize, windowTime, scheduler);\n            subscription = source.subscribe({\n                next(value) { subject.next(value); },\n                error(err) {\n                    hasError = true;\n                    subject.error(err);\n                },\n                complete() {\n                    isComplete = true;\n                    subject.complete();\n                },\n            });\n        }\n        const innerSub = subject.subscribe(this);\n        this.add(() => {\n            refCount--;\n            innerSub.unsubscribe();\n            if (subscription && !isComplete && useRefCount && refCount === 0) {\n                subscription.unsubscribe();\n                subscription = undefined;\n                subject = undefined;\n            }\n        });\n    };\n}\n//# sourceMappingURL=shareReplay.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/single.js\":\n/*!*****************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/single.js ***!\n  \\*****************************************************************/\n/*! exports provided: single */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"single\", function() { return single; });\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n/* harmony import */ var _util_EmptyError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/EmptyError */ \"./node_modules/rxjs/_esm2015/internal/util/EmptyError.js\");\n\n\nfunction single(predicate) {\n    return (source) => source.lift(new SingleOperator(predicate, source));\n}\nclass SingleOperator {\n    constructor(predicate, source) {\n        this.predicate = predicate;\n        this.source = source;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new SingleSubscriber(subscriber, this.predicate, this.source));\n    }\n}\nclass SingleSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"] {\n    constructor(destination, predicate, source) {\n        super(destination);\n        this.predicate = predicate;\n        this.source = source;\n        this.seenValue = false;\n        this.index = 0;\n    }\n    applySingleValue(value) {\n        if (this.seenValue) {\n            this.destination.error('Sequence contains more than one element');\n        }\n        else {\n            this.seenValue = true;\n            this.singleValue = value;\n        }\n    }\n    _next(value) {\n        const index = this.index++;\n        if (this.predicate) {\n            this.tryNext(value, index);\n        }\n        else {\n            this.applySingleValue(value);\n        }\n    }\n    tryNext(value, index) {\n        try {\n            if (this.predicate(value, index, this.source)) {\n                this.applySingleValue(value);\n            }\n        }\n        catch (err) {\n            this.destination.error(err);\n        }\n    }\n    _complete() {\n        const destination = this.destination;\n        if (this.index > 0) {\n            destination.next(this.seenValue ? this.singleValue : undefined);\n            destination.complete();\n        }\n        else {\n            destination.error(new _util_EmptyError__WEBPACK_IMPORTED_MODULE_1__[\"EmptyError\"]);\n        }\n    }\n}\n//# sourceMappingURL=single.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/skip.js\":\n/*!***************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/skip.js ***!\n  \\***************************************************************/\n/*! exports provided: skip */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"skip\", function() { return skip; });\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\nfunction skip(count) {\n    return (source) => source.lift(new SkipOperator(count));\n}\nclass SkipOperator {\n    constructor(total) {\n        this.total = total;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new SkipSubscriber(subscriber, this.total));\n    }\n}\nclass SkipSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"] {\n    constructor(destination, total) {\n        super(destination);\n        this.total = total;\n        this.count = 0;\n    }\n    _next(x) {\n        if (++this.count > this.total) {\n            this.destination.next(x);\n        }\n    }\n}\n//# sourceMappingURL=skip.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/skipLast.js\":\n/*!*******************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/skipLast.js ***!\n  \\*******************************************************************/\n/*! exports provided: skipLast */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"skipLast\", function() { return skipLast; });\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n/* harmony import */ var _util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/ArgumentOutOfRangeError */ \"./node_modules/rxjs/_esm2015/internal/util/ArgumentOutOfRangeError.js\");\n\n\nfunction skipLast(count) {\n    return (source) => source.lift(new SkipLastOperator(count));\n}\nclass SkipLastOperator {\n    constructor(_skipCount) {\n        this._skipCount = _skipCount;\n        if (this._skipCount < 0) {\n            throw new _util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_1__[\"ArgumentOutOfRangeError\"];\n        }\n    }\n    call(subscriber, source) {\n        if (this._skipCount === 0) {\n            return source.subscribe(new _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"](subscriber));\n        }\n        else {\n            return source.subscribe(new SkipLastSubscriber(subscriber, this._skipCount));\n        }\n    }\n}\nclass SkipLastSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"] {\n    constructor(destination, _skipCount) {\n        super(destination);\n        this._skipCount = _skipCount;\n        this._count = 0;\n        this._ring = new Array(_skipCount);\n    }\n    _next(value) {\n        const skipCount = this._skipCount;\n        const count = this._count++;\n        if (count < skipCount) {\n            this._ring[count] = value;\n        }\n        else {\n            const currentIndex = count % skipCount;\n            const ring = this._ring;\n            const oldValue = ring[currentIndex];\n            ring[currentIndex] = value;\n            this.destination.next(oldValue);\n        }\n    }\n}\n//# sourceMappingURL=skipLast.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/skipUntil.js\":\n/*!********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/skipUntil.js ***!\n  \\********************************************************************/\n/*! exports provided: skipUntil */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"skipUntil\", function() { return skipUntil; });\n/* harmony import */ var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../OuterSubscriber */ \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n/* harmony import */ var _InnerSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../InnerSubscriber */ \"./node_modules/rxjs/_esm2015/internal/InnerSubscriber.js\");\n/* harmony import */ var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/subscribeToResult */ \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n\n\nfunction skipUntil(notifier) {\n    return (source) => source.lift(new SkipUntilOperator(notifier));\n}\nclass SkipUntilOperator {\n    constructor(notifier) {\n        this.notifier = notifier;\n    }\n    call(destination, source) {\n        return source.subscribe(new SkipUntilSubscriber(destination, this.notifier));\n    }\n}\nclass SkipUntilSubscriber extends _OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__[\"OuterSubscriber\"] {\n    constructor(destination, notifier) {\n        super(destination);\n        this.hasValue = false;\n        const innerSubscriber = new _InnerSubscriber__WEBPACK_IMPORTED_MODULE_1__[\"InnerSubscriber\"](this, undefined, undefined);\n        this.add(innerSubscriber);\n        this.innerSubscription = innerSubscriber;\n        Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_2__[\"subscribeToResult\"])(this, notifier, undefined, undefined, innerSubscriber);\n    }\n    _next(value) {\n        if (this.hasValue) {\n            super._next(value);\n        }\n    }\n    notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n        this.hasValue = true;\n        if (this.innerSubscription) {\n            this.innerSubscription.unsubscribe();\n        }\n    }\n    notifyComplete() {\n    }\n}\n//# sourceMappingURL=skipUntil.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/skipWhile.js\":\n/*!********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/skipWhile.js ***!\n  \\********************************************************************/\n/*! exports provided: skipWhile */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"skipWhile\", function() { return skipWhile; });\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\nfunction skipWhile(predicate) {\n    return (source) => source.lift(new SkipWhileOperator(predicate));\n}\nclass SkipWhileOperator {\n    constructor(predicate) {\n        this.predicate = predicate;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new SkipWhileSubscriber(subscriber, this.predicate));\n    }\n}\nclass SkipWhileSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"] {\n    constructor(destination, predicate) {\n        super(destination);\n        this.predicate = predicate;\n        this.skipping = true;\n        this.index = 0;\n    }\n    _next(value) {\n        const destination = this.destination;\n        if (this.skipping) {\n            this.tryCallPredicate(value);\n        }\n        if (!this.skipping) {\n            destination.next(value);\n        }\n    }\n    tryCallPredicate(value) {\n        try {\n            const result = this.predicate(value, this.index++);\n            this.skipping = Boolean(result);\n        }\n        catch (err) {\n            this.destination.error(err);\n        }\n    }\n}\n//# sourceMappingURL=skipWhile.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/startWith.js\":\n/*!********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/startWith.js ***!\n  \\********************************************************************/\n/*! exports provided: startWith */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"startWith\", function() { return startWith; });\n/* harmony import */ var _observable_fromArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../observable/fromArray */ \"./node_modules/rxjs/_esm2015/internal/observable/fromArray.js\");\n/* harmony import */ var _observable_scalar__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../observable/scalar */ \"./node_modules/rxjs/_esm2015/internal/observable/scalar.js\");\n/* harmony import */ var _observable_empty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../observable/empty */ \"./node_modules/rxjs/_esm2015/internal/observable/empty.js\");\n/* harmony import */ var _observable_concat__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../observable/concat */ \"./node_modules/rxjs/_esm2015/internal/observable/concat.js\");\n/* harmony import */ var _util_isScheduler__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../util/isScheduler */ \"./node_modules/rxjs/_esm2015/internal/util/isScheduler.js\");\n\n\n\n\n\nfunction startWith(...array) {\n    return (source) => {\n        let scheduler = array[array.length - 1];\n        if (Object(_util_isScheduler__WEBPACK_IMPORTED_MODULE_4__[\"isScheduler\"])(scheduler)) {\n            array.pop();\n        }\n        else {\n            scheduler = null;\n        }\n        const len = array.length;\n        if (len === 1 && !scheduler) {\n            return Object(_observable_concat__WEBPACK_IMPORTED_MODULE_3__[\"concat\"])(Object(_observable_scalar__WEBPACK_IMPORTED_MODULE_1__[\"scalar\"])(array[0]), source);\n        }\n        else if (len > 0) {\n            return Object(_observable_concat__WEBPACK_IMPORTED_MODULE_3__[\"concat\"])(Object(_observable_fromArray__WEBPACK_IMPORTED_MODULE_0__[\"fromArray\"])(array, scheduler), source);\n        }\n        else {\n            return Object(_observable_concat__WEBPACK_IMPORTED_MODULE_3__[\"concat\"])(Object(_observable_empty__WEBPACK_IMPORTED_MODULE_2__[\"empty\"])(scheduler), source);\n        }\n    };\n}\n//# sourceMappingURL=startWith.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/subscribeOn.js\":\n/*!**********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/subscribeOn.js ***!\n  \\**********************************************************************/\n/*! exports provided: subscribeOn */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"subscribeOn\", function() { return subscribeOn; });\n/* harmony import */ var _observable_SubscribeOnObservable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../observable/SubscribeOnObservable */ \"./node_modules/rxjs/_esm2015/internal/observable/SubscribeOnObservable.js\");\n\nfunction subscribeOn(scheduler, delay = 0) {\n    return function subscribeOnOperatorFunction(source) {\n        return source.lift(new SubscribeOnOperator(scheduler, delay));\n    };\n}\nclass SubscribeOnOperator {\n    constructor(scheduler, delay) {\n        this.scheduler = scheduler;\n        this.delay = delay;\n    }\n    call(subscriber, source) {\n        return new _observable_SubscribeOnObservable__WEBPACK_IMPORTED_MODULE_0__[\"SubscribeOnObservable\"](source, this.delay, this.scheduler).subscribe(subscriber);\n    }\n}\n//# sourceMappingURL=subscribeOn.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/switchAll.js\":\n/*!********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/switchAll.js ***!\n  \\********************************************************************/\n/*! exports provided: switchAll */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"switchAll\", function() { return switchAll; });\n/* harmony import */ var _switchMap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./switchMap */ \"./node_modules/rxjs/_esm2015/internal/operators/switchMap.js\");\n/* harmony import */ var _util_identity__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/identity */ \"./node_modules/rxjs/_esm2015/internal/util/identity.js\");\n\n\nfunction switchAll() {\n    return Object(_switchMap__WEBPACK_IMPORTED_MODULE_0__[\"switchMap\"])(_util_identity__WEBPACK_IMPORTED_MODULE_1__[\"identity\"]);\n}\n//# sourceMappingURL=switchAll.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/switchMap.js\":\n/*!********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/switchMap.js ***!\n  \\********************************************************************/\n/*! exports provided: switchMap */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"switchMap\", function() { return switchMap; });\n/* harmony import */ var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../OuterSubscriber */ \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n/* harmony import */ var _InnerSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../InnerSubscriber */ \"./node_modules/rxjs/_esm2015/internal/InnerSubscriber.js\");\n/* harmony import */ var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/subscribeToResult */ \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n/* harmony import */ var _map__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./map */ \"./node_modules/rxjs/_esm2015/internal/operators/map.js\");\n/* harmony import */ var _observable_from__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../observable/from */ \"./node_modules/rxjs/_esm2015/internal/observable/from.js\");\n\n\n\n\n\nfunction switchMap(project, resultSelector) {\n    if (typeof resultSelector === 'function') {\n        return (source) => source.pipe(switchMap((a, i) => Object(_observable_from__WEBPACK_IMPORTED_MODULE_4__[\"from\"])(project(a, i)).pipe(Object(_map__WEBPACK_IMPORTED_MODULE_3__[\"map\"])((b, ii) => resultSelector(a, b, i, ii)))));\n    }\n    return (source) => source.lift(new SwitchMapOperator(project));\n}\nclass SwitchMapOperator {\n    constructor(project) {\n        this.project = project;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new SwitchMapSubscriber(subscriber, this.project));\n    }\n}\nclass SwitchMapSubscriber extends _OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__[\"OuterSubscriber\"] {\n    constructor(destination, project) {\n        super(destination);\n        this.project = project;\n        this.index = 0;\n    }\n    _next(value) {\n        let result;\n        const index = this.index++;\n        try {\n            result = this.project(value, index);\n        }\n        catch (error) {\n            this.destination.error(error);\n            return;\n        }\n        this._innerSub(result, value, index);\n    }\n    _innerSub(result, value, index) {\n        const innerSubscription = this.innerSubscription;\n        if (innerSubscription) {\n            innerSubscription.unsubscribe();\n        }\n        const innerSubscriber = new _InnerSubscriber__WEBPACK_IMPORTED_MODULE_1__[\"InnerSubscriber\"](this, undefined, undefined);\n        const destination = this.destination;\n        destination.add(innerSubscriber);\n        this.innerSubscription = Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_2__[\"subscribeToResult\"])(this, result, value, index, innerSubscriber);\n    }\n    _complete() {\n        const { innerSubscription } = this;\n        if (!innerSubscription || innerSubscription.closed) {\n            super._complete();\n        }\n        this.unsubscribe();\n    }\n    _unsubscribe() {\n        this.innerSubscription = null;\n    }\n    notifyComplete(innerSub) {\n        const destination = this.destination;\n        destination.remove(innerSub);\n        this.innerSubscription = null;\n        if (this.isStopped) {\n            super._complete();\n        }\n    }\n    notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n        this.destination.next(innerValue);\n    }\n}\n//# sourceMappingURL=switchMap.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/switchMapTo.js\":\n/*!**********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/switchMapTo.js ***!\n  \\**********************************************************************/\n/*! exports provided: switchMapTo */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"switchMapTo\", function() { return switchMapTo; });\n/* harmony import */ var _switchMap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./switchMap */ \"./node_modules/rxjs/_esm2015/internal/operators/switchMap.js\");\n\nfunction switchMapTo(innerObservable, resultSelector) {\n    return resultSelector ? Object(_switchMap__WEBPACK_IMPORTED_MODULE_0__[\"switchMap\"])(() => innerObservable, resultSelector) : Object(_switchMap__WEBPACK_IMPORTED_MODULE_0__[\"switchMap\"])(() => innerObservable);\n}\n//# sourceMappingURL=switchMapTo.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/take.js\":\n/*!***************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/take.js ***!\n  \\***************************************************************/\n/*! exports provided: take */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"take\", function() { return take; });\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n/* harmony import */ var _util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/ArgumentOutOfRangeError */ \"./node_modules/rxjs/_esm2015/internal/util/ArgumentOutOfRangeError.js\");\n/* harmony import */ var _observable_empty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../observable/empty */ \"./node_modules/rxjs/_esm2015/internal/observable/empty.js\");\n\n\n\nfunction take(count) {\n    return (source) => {\n        if (count === 0) {\n            return Object(_observable_empty__WEBPACK_IMPORTED_MODULE_2__[\"empty\"])();\n        }\n        else {\n            return source.lift(new TakeOperator(count));\n        }\n    };\n}\nclass TakeOperator {\n    constructor(total) {\n        this.total = total;\n        if (this.total < 0) {\n            throw new _util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_1__[\"ArgumentOutOfRangeError\"];\n        }\n    }\n    call(subscriber, source) {\n        return source.subscribe(new TakeSubscriber(subscriber, this.total));\n    }\n}\nclass TakeSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"] {\n    constructor(destination, total) {\n        super(destination);\n        this.total = total;\n        this.count = 0;\n    }\n    _next(value) {\n        const total = this.total;\n        const count = ++this.count;\n        if (count <= total) {\n            this.destination.next(value);\n            if (count === total) {\n                this.destination.complete();\n                this.unsubscribe();\n            }\n        }\n    }\n}\n//# sourceMappingURL=take.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/takeLast.js\":\n/*!*******************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/takeLast.js ***!\n  \\*******************************************************************/\n/*! exports provided: takeLast */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"takeLast\", function() { return takeLast; });\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n/* harmony import */ var _util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/ArgumentOutOfRangeError */ \"./node_modules/rxjs/_esm2015/internal/util/ArgumentOutOfRangeError.js\");\n/* harmony import */ var _observable_empty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../observable/empty */ \"./node_modules/rxjs/_esm2015/internal/observable/empty.js\");\n\n\n\nfunction takeLast(count) {\n    return function takeLastOperatorFunction(source) {\n        if (count === 0) {\n            return Object(_observable_empty__WEBPACK_IMPORTED_MODULE_2__[\"empty\"])();\n        }\n        else {\n            return source.lift(new TakeLastOperator(count));\n        }\n    };\n}\nclass TakeLastOperator {\n    constructor(total) {\n        this.total = total;\n        if (this.total < 0) {\n            throw new _util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_1__[\"ArgumentOutOfRangeError\"];\n        }\n    }\n    call(subscriber, source) {\n        return source.subscribe(new TakeLastSubscriber(subscriber, this.total));\n    }\n}\nclass TakeLastSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"] {\n    constructor(destination, total) {\n        super(destination);\n        this.total = total;\n        this.ring = new Array();\n        this.count = 0;\n    }\n    _next(value) {\n        const ring = this.ring;\n        const total = this.total;\n        const count = this.count++;\n        if (ring.length < total) {\n            ring.push(value);\n        }\n        else {\n            const index = count % total;\n            ring[index] = value;\n        }\n    }\n    _complete() {\n        const destination = this.destination;\n        let count = this.count;\n        if (count > 0) {\n            const total = this.count >= this.total ? this.total : this.count;\n            const ring = this.ring;\n            for (let i = 0; i < total; i++) {\n                const idx = (count++) % total;\n                destination.next(ring[idx]);\n            }\n        }\n        destination.complete();\n    }\n}\n//# sourceMappingURL=takeLast.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/takeUntil.js\":\n/*!********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/takeUntil.js ***!\n  \\********************************************************************/\n/*! exports provided: takeUntil */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"takeUntil\", function() { return takeUntil; });\n/* harmony import */ var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../OuterSubscriber */ \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n/* harmony import */ var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/subscribeToResult */ \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n\nfunction takeUntil(notifier) {\n    return (source) => source.lift(new TakeUntilOperator(notifier));\n}\nclass TakeUntilOperator {\n    constructor(notifier) {\n        this.notifier = notifier;\n    }\n    call(subscriber, source) {\n        const takeUntilSubscriber = new TakeUntilSubscriber(subscriber);\n        const notifierSubscription = Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__[\"subscribeToResult\"])(takeUntilSubscriber, this.notifier);\n        if (notifierSubscription && !takeUntilSubscriber.seenValue) {\n            takeUntilSubscriber.add(notifierSubscription);\n            return source.subscribe(takeUntilSubscriber);\n        }\n        return takeUntilSubscriber;\n    }\n}\nclass TakeUntilSubscriber extends _OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__[\"OuterSubscriber\"] {\n    constructor(destination) {\n        super(destination);\n        this.seenValue = false;\n    }\n    notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n        this.seenValue = true;\n        this.complete();\n    }\n    notifyComplete() {\n    }\n}\n//# sourceMappingURL=takeUntil.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/takeWhile.js\":\n/*!********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/takeWhile.js ***!\n  \\********************************************************************/\n/*! exports provided: takeWhile */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"takeWhile\", function() { return takeWhile; });\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\nfunction takeWhile(predicate, inclusive = false) {\n    return (source) => source.lift(new TakeWhileOperator(predicate, inclusive));\n}\nclass TakeWhileOperator {\n    constructor(predicate, inclusive) {\n        this.predicate = predicate;\n        this.inclusive = inclusive;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new TakeWhileSubscriber(subscriber, this.predicate, this.inclusive));\n    }\n}\nclass TakeWhileSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"] {\n    constructor(destination, predicate, inclusive) {\n        super(destination);\n        this.predicate = predicate;\n        this.inclusive = inclusive;\n        this.index = 0;\n    }\n    _next(value) {\n        const destination = this.destination;\n        let result;\n        try {\n            result = this.predicate(value, this.index++);\n        }\n        catch (err) {\n            destination.error(err);\n            return;\n        }\n        this.nextOrComplete(value, result);\n    }\n    nextOrComplete(value, predicateResult) {\n        const destination = this.destination;\n        if (Boolean(predicateResult)) {\n            destination.next(value);\n        }\n        else {\n            if (this.inclusive) {\n                destination.next(value);\n            }\n            destination.complete();\n        }\n    }\n}\n//# sourceMappingURL=takeWhile.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/tap.js\":\n/*!**************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/tap.js ***!\n  \\**************************************************************/\n/*! exports provided: tap */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"tap\", function() { return tap; });\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n/* harmony import */ var _util_noop__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/noop */ \"./node_modules/rxjs/_esm2015/internal/util/noop.js\");\n/* harmony import */ var _util_isFunction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/isFunction */ \"./node_modules/rxjs/_esm2015/internal/util/isFunction.js\");\n\n\n\nfunction tap(nextOrObserver, error, complete) {\n    return function tapOperatorFunction(source) {\n        return source.lift(new DoOperator(nextOrObserver, error, complete));\n    };\n}\nclass DoOperator {\n    constructor(nextOrObserver, error, complete) {\n        this.nextOrObserver = nextOrObserver;\n        this.error = error;\n        this.complete = complete;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new TapSubscriber(subscriber, this.nextOrObserver, this.error, this.complete));\n    }\n}\nclass TapSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"] {\n    constructor(destination, observerOrNext, error, complete) {\n        super(destination);\n        this._tapNext = _util_noop__WEBPACK_IMPORTED_MODULE_1__[\"noop\"];\n        this._tapError = _util_noop__WEBPACK_IMPORTED_MODULE_1__[\"noop\"];\n        this._tapComplete = _util_noop__WEBPACK_IMPORTED_MODULE_1__[\"noop\"];\n        this._tapError = error || _util_noop__WEBPACK_IMPORTED_MODULE_1__[\"noop\"];\n        this._tapComplete = complete || _util_noop__WEBPACK_IMPORTED_MODULE_1__[\"noop\"];\n        if (Object(_util_isFunction__WEBPACK_IMPORTED_MODULE_2__[\"isFunction\"])(observerOrNext)) {\n            this._context = this;\n            this._tapNext = observerOrNext;\n        }\n        else if (observerOrNext) {\n            this._context = observerOrNext;\n            this._tapNext = observerOrNext.next || _util_noop__WEBPACK_IMPORTED_MODULE_1__[\"noop\"];\n            this._tapError = observerOrNext.error || _util_noop__WEBPACK_IMPORTED_MODULE_1__[\"noop\"];\n            this._tapComplete = observerOrNext.complete || _util_noop__WEBPACK_IMPORTED_MODULE_1__[\"noop\"];\n        }\n    }\n    _next(value) {\n        try {\n            this._tapNext.call(this._context, value);\n        }\n        catch (err) {\n            this.destination.error(err);\n            return;\n        }\n        this.destination.next(value);\n    }\n    _error(err) {\n        try {\n            this._tapError.call(this._context, err);\n        }\n        catch (err) {\n            this.destination.error(err);\n            return;\n        }\n        this.destination.error(err);\n    }\n    _complete() {\n        try {\n            this._tapComplete.call(this._context);\n        }\n        catch (err) {\n            this.destination.error(err);\n            return;\n        }\n        return this.destination.complete();\n    }\n}\n//# sourceMappingURL=tap.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/throttle.js\":\n/*!*******************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/throttle.js ***!\n  \\*******************************************************************/\n/*! exports provided: defaultThrottleConfig, throttle */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"defaultThrottleConfig\", function() { return defaultThrottleConfig; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"throttle\", function() { return throttle; });\n/* harmony import */ var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../OuterSubscriber */ \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n/* harmony import */ var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/subscribeToResult */ \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n\nconst defaultThrottleConfig = {\n    leading: true,\n    trailing: false\n};\nfunction throttle(durationSelector, config = defaultThrottleConfig) {\n    return (source) => source.lift(new ThrottleOperator(durationSelector, config.leading, config.trailing));\n}\nclass ThrottleOperator {\n    constructor(durationSelector, leading, trailing) {\n        this.durationSelector = durationSelector;\n        this.leading = leading;\n        this.trailing = trailing;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new ThrottleSubscriber(subscriber, this.durationSelector, this.leading, this.trailing));\n    }\n}\nclass ThrottleSubscriber extends _OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__[\"OuterSubscriber\"] {\n    constructor(destination, durationSelector, _leading, _trailing) {\n        super(destination);\n        this.destination = destination;\n        this.durationSelector = durationSelector;\n        this._leading = _leading;\n        this._trailing = _trailing;\n        this._hasValue = false;\n    }\n    _next(value) {\n        this._hasValue = true;\n        this._sendValue = value;\n        if (!this._throttled) {\n            if (this._leading) {\n                this.send();\n            }\n            else {\n                this.throttle(value);\n            }\n        }\n    }\n    send() {\n        const { _hasValue, _sendValue } = this;\n        if (_hasValue) {\n            this.destination.next(_sendValue);\n            this.throttle(_sendValue);\n        }\n        this._hasValue = false;\n        this._sendValue = null;\n    }\n    throttle(value) {\n        const duration = this.tryDurationSelector(value);\n        if (!!duration) {\n            this.add(this._throttled = Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__[\"subscribeToResult\"])(this, duration));\n        }\n    }\n    tryDurationSelector(value) {\n        try {\n            return this.durationSelector(value);\n        }\n        catch (err) {\n            this.destination.error(err);\n            return null;\n        }\n    }\n    throttlingDone() {\n        const { _throttled, _trailing } = this;\n        if (_throttled) {\n            _throttled.unsubscribe();\n        }\n        this._throttled = null;\n        if (_trailing) {\n            this.send();\n        }\n    }\n    notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n        this.throttlingDone();\n    }\n    notifyComplete() {\n        this.throttlingDone();\n    }\n}\n//# sourceMappingURL=throttle.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/throttleTime.js\":\n/*!***********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/throttleTime.js ***!\n  \\***********************************************************************/\n/*! exports provided: throttleTime */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"throttleTime\", function() { return throttleTime; });\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n/* harmony import */ var _scheduler_async__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../scheduler/async */ \"./node_modules/rxjs/_esm2015/internal/scheduler/async.js\");\n/* harmony import */ var _throttle__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./throttle */ \"./node_modules/rxjs/_esm2015/internal/operators/throttle.js\");\n\n\n\nfunction throttleTime(duration, scheduler = _scheduler_async__WEBPACK_IMPORTED_MODULE_1__[\"async\"], config = _throttle__WEBPACK_IMPORTED_MODULE_2__[\"defaultThrottleConfig\"]) {\n    return (source) => source.lift(new ThrottleTimeOperator(duration, scheduler, config.leading, config.trailing));\n}\nclass ThrottleTimeOperator {\n    constructor(duration, scheduler, leading, trailing) {\n        this.duration = duration;\n        this.scheduler = scheduler;\n        this.leading = leading;\n        this.trailing = trailing;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new ThrottleTimeSubscriber(subscriber, this.duration, this.scheduler, this.leading, this.trailing));\n    }\n}\nclass ThrottleTimeSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"] {\n    constructor(destination, duration, scheduler, leading, trailing) {\n        super(destination);\n        this.duration = duration;\n        this.scheduler = scheduler;\n        this.leading = leading;\n        this.trailing = trailing;\n        this._hasTrailingValue = false;\n        this._trailingValue = null;\n    }\n    _next(value) {\n        if (this.throttled) {\n            if (this.trailing) {\n                this._trailingValue = value;\n                this._hasTrailingValue = true;\n            }\n        }\n        else {\n            this.add(this.throttled = this.scheduler.schedule(dispatchNext, this.duration, { subscriber: this }));\n            if (this.leading) {\n                this.destination.next(value);\n            }\n        }\n    }\n    _complete() {\n        if (this._hasTrailingValue) {\n            this.destination.next(this._trailingValue);\n            this.destination.complete();\n        }\n        else {\n            this.destination.complete();\n        }\n    }\n    clearThrottle() {\n        const throttled = this.throttled;\n        if (throttled) {\n            if (this.trailing && this._hasTrailingValue) {\n                this.destination.next(this._trailingValue);\n                this._trailingValue = null;\n                this._hasTrailingValue = false;\n            }\n            throttled.unsubscribe();\n            this.remove(throttled);\n            this.throttled = null;\n        }\n    }\n}\nfunction dispatchNext(arg) {\n    const { subscriber } = arg;\n    subscriber.clearThrottle();\n}\n//# sourceMappingURL=throttleTime.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/throwIfEmpty.js\":\n/*!***********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/throwIfEmpty.js ***!\n  \\***********************************************************************/\n/*! exports provided: throwIfEmpty */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"throwIfEmpty\", function() { return throwIfEmpty; });\n/* harmony import */ var _tap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./tap */ \"./node_modules/rxjs/_esm2015/internal/operators/tap.js\");\n/* harmony import */ var _util_EmptyError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/EmptyError */ \"./node_modules/rxjs/_esm2015/internal/util/EmptyError.js\");\n\n\nconst throwIfEmpty = (errorFactory = defaultErrorFactory) => Object(_tap__WEBPACK_IMPORTED_MODULE_0__[\"tap\"])({\n    hasValue: false,\n    next() { this.hasValue = true; },\n    complete() {\n        if (!this.hasValue) {\n            throw errorFactory();\n        }\n    }\n});\nfunction defaultErrorFactory() {\n    return new _util_EmptyError__WEBPACK_IMPORTED_MODULE_1__[\"EmptyError\"]();\n}\n//# sourceMappingURL=throwIfEmpty.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/timeInterval.js\":\n/*!***********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/timeInterval.js ***!\n  \\***********************************************************************/\n/*! exports provided: timeInterval, TimeInterval */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"timeInterval\", function() { return timeInterval; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TimeInterval\", function() { return TimeInterval; });\n/* harmony import */ var _scheduler_async__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../scheduler/async */ \"./node_modules/rxjs/_esm2015/internal/scheduler/async.js\");\n/* harmony import */ var _scan__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./scan */ \"./node_modules/rxjs/_esm2015/internal/operators/scan.js\");\n/* harmony import */ var _observable_defer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../observable/defer */ \"./node_modules/rxjs/_esm2015/internal/observable/defer.js\");\n/* harmony import */ var _map__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./map */ \"./node_modules/rxjs/_esm2015/internal/operators/map.js\");\n\n\n\n\nfunction timeInterval(scheduler = _scheduler_async__WEBPACK_IMPORTED_MODULE_0__[\"async\"]) {\n    return (source) => Object(_observable_defer__WEBPACK_IMPORTED_MODULE_2__[\"defer\"])(() => {\n        return source.pipe(Object(_scan__WEBPACK_IMPORTED_MODULE_1__[\"scan\"])(({ current }, value) => ({ value, current: scheduler.now(), last: current }), { current: scheduler.now(), value: undefined, last: undefined }), Object(_map__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(({ current, last, value }) => new TimeInterval(value, current - last)));\n    });\n}\nclass TimeInterval {\n    constructor(value, interval) {\n        this.value = value;\n        this.interval = interval;\n    }\n}\n//# sourceMappingURL=timeInterval.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/timeout.js\":\n/*!******************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/timeout.js ***!\n  \\******************************************************************/\n/*! exports provided: timeout */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"timeout\", function() { return timeout; });\n/* harmony import */ var _scheduler_async__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../scheduler/async */ \"./node_modules/rxjs/_esm2015/internal/scheduler/async.js\");\n/* harmony import */ var _util_TimeoutError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/TimeoutError */ \"./node_modules/rxjs/_esm2015/internal/util/TimeoutError.js\");\n/* harmony import */ var _timeoutWith__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./timeoutWith */ \"./node_modules/rxjs/_esm2015/internal/operators/timeoutWith.js\");\n/* harmony import */ var _observable_throwError__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../observable/throwError */ \"./node_modules/rxjs/_esm2015/internal/observable/throwError.js\");\n\n\n\n\nfunction timeout(due, scheduler = _scheduler_async__WEBPACK_IMPORTED_MODULE_0__[\"async\"]) {\n    return Object(_timeoutWith__WEBPACK_IMPORTED_MODULE_2__[\"timeoutWith\"])(due, Object(_observable_throwError__WEBPACK_IMPORTED_MODULE_3__[\"throwError\"])(new _util_TimeoutError__WEBPACK_IMPORTED_MODULE_1__[\"TimeoutError\"]()), scheduler);\n}\n//# sourceMappingURL=timeout.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/timeoutWith.js\":\n/*!**********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/timeoutWith.js ***!\n  \\**********************************************************************/\n/*! exports provided: timeoutWith */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"timeoutWith\", function() { return timeoutWith; });\n/* harmony import */ var _scheduler_async__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../scheduler/async */ \"./node_modules/rxjs/_esm2015/internal/scheduler/async.js\");\n/* harmony import */ var _util_isDate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/isDate */ \"./node_modules/rxjs/_esm2015/internal/util/isDate.js\");\n/* harmony import */ var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../OuterSubscriber */ \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n/* harmony import */ var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/subscribeToResult */ \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n\n\n\nfunction timeoutWith(due, withObservable, scheduler = _scheduler_async__WEBPACK_IMPORTED_MODULE_0__[\"async\"]) {\n    return (source) => {\n        let absoluteTimeout = Object(_util_isDate__WEBPACK_IMPORTED_MODULE_1__[\"isDate\"])(due);\n        let waitFor = absoluteTimeout ? (+due - scheduler.now()) : Math.abs(due);\n        return source.lift(new TimeoutWithOperator(waitFor, absoluteTimeout, withObservable, scheduler));\n    };\n}\nclass TimeoutWithOperator {\n    constructor(waitFor, absoluteTimeout, withObservable, scheduler) {\n        this.waitFor = waitFor;\n        this.absoluteTimeout = absoluteTimeout;\n        this.withObservable = withObservable;\n        this.scheduler = scheduler;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new TimeoutWithSubscriber(subscriber, this.absoluteTimeout, this.waitFor, this.withObservable, this.scheduler));\n    }\n}\nclass TimeoutWithSubscriber extends _OuterSubscriber__WEBPACK_IMPORTED_MODULE_2__[\"OuterSubscriber\"] {\n    constructor(destination, absoluteTimeout, waitFor, withObservable, scheduler) {\n        super(destination);\n        this.absoluteTimeout = absoluteTimeout;\n        this.waitFor = waitFor;\n        this.withObservable = withObservable;\n        this.scheduler = scheduler;\n        this.action = null;\n        this.scheduleTimeout();\n    }\n    static dispatchTimeout(subscriber) {\n        const { withObservable } = subscriber;\n        subscriber._unsubscribeAndRecycle();\n        subscriber.add(Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_3__[\"subscribeToResult\"])(subscriber, withObservable));\n    }\n    scheduleTimeout() {\n        const { action } = this;\n        if (action) {\n            this.action = action.schedule(this, this.waitFor);\n        }\n        else {\n            this.add(this.action = this.scheduler.schedule(TimeoutWithSubscriber.dispatchTimeout, this.waitFor, this));\n        }\n    }\n    _next(value) {\n        if (!this.absoluteTimeout) {\n            this.scheduleTimeout();\n        }\n        super._next(value);\n    }\n    _unsubscribe() {\n        this.action = null;\n        this.scheduler = null;\n        this.withObservable = null;\n    }\n}\n//# sourceMappingURL=timeoutWith.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/timestamp.js\":\n/*!********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/timestamp.js ***!\n  \\********************************************************************/\n/*! exports provided: timestamp, Timestamp */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"timestamp\", function() { return timestamp; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Timestamp\", function() { return Timestamp; });\n/* harmony import */ var _scheduler_async__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../scheduler/async */ \"./node_modules/rxjs/_esm2015/internal/scheduler/async.js\");\n/* harmony import */ var _map__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./map */ \"./node_modules/rxjs/_esm2015/internal/operators/map.js\");\n\n\nfunction timestamp(scheduler = _scheduler_async__WEBPACK_IMPORTED_MODULE_0__[\"async\"]) {\n    return Object(_map__WEBPACK_IMPORTED_MODULE_1__[\"map\"])((value) => new Timestamp(value, scheduler.now()));\n}\nclass Timestamp {\n    constructor(value, timestamp) {\n        this.value = value;\n        this.timestamp = timestamp;\n    }\n}\n//# sourceMappingURL=timestamp.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/toArray.js\":\n/*!******************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/toArray.js ***!\n  \\******************************************************************/\n/*! exports provided: toArray */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"toArray\", function() { return toArray; });\n/* harmony import */ var _reduce__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./reduce */ \"./node_modules/rxjs/_esm2015/internal/operators/reduce.js\");\n\nfunction toArrayReducer(arr, item, index) {\n    if (index === 0) {\n        return [item];\n    }\n    arr.push(item);\n    return arr;\n}\nfunction toArray() {\n    return Object(_reduce__WEBPACK_IMPORTED_MODULE_0__[\"reduce\"])(toArrayReducer, []);\n}\n//# sourceMappingURL=toArray.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/window.js\":\n/*!*****************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/window.js ***!\n  \\*****************************************************************/\n/*! exports provided: window */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"window\", function() { return window; });\n/* harmony import */ var _Subject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subject */ \"./node_modules/rxjs/_esm2015/internal/Subject.js\");\n/* harmony import */ var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../OuterSubscriber */ \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n/* harmony import */ var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/subscribeToResult */ \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n\n\nfunction window(windowBoundaries) {\n    return function windowOperatorFunction(source) {\n        return source.lift(new WindowOperator(windowBoundaries));\n    };\n}\nclass WindowOperator {\n    constructor(windowBoundaries) {\n        this.windowBoundaries = windowBoundaries;\n    }\n    call(subscriber, source) {\n        const windowSubscriber = new WindowSubscriber(subscriber);\n        const sourceSubscription = source.subscribe(windowSubscriber);\n        if (!sourceSubscription.closed) {\n            windowSubscriber.add(Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_2__[\"subscribeToResult\"])(windowSubscriber, this.windowBoundaries));\n        }\n        return sourceSubscription;\n    }\n}\nclass WindowSubscriber extends _OuterSubscriber__WEBPACK_IMPORTED_MODULE_1__[\"OuterSubscriber\"] {\n    constructor(destination) {\n        super(destination);\n        this.window = new _Subject__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]();\n        destination.next(this.window);\n    }\n    notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n        this.openWindow();\n    }\n    notifyError(error, innerSub) {\n        this._error(error);\n    }\n    notifyComplete(innerSub) {\n        this._complete();\n    }\n    _next(value) {\n        this.window.next(value);\n    }\n    _error(err) {\n        this.window.error(err);\n        this.destination.error(err);\n    }\n    _complete() {\n        this.window.complete();\n        this.destination.complete();\n    }\n    _unsubscribe() {\n        this.window = null;\n    }\n    openWindow() {\n        const prevWindow = this.window;\n        if (prevWindow) {\n            prevWindow.complete();\n        }\n        const destination = this.destination;\n        const newWindow = this.window = new _Subject__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]();\n        destination.next(newWindow);\n    }\n}\n//# sourceMappingURL=window.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/windowCount.js\":\n/*!**********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/windowCount.js ***!\n  \\**********************************************************************/\n/*! exports provided: windowCount */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"windowCount\", function() { return windowCount; });\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n/* harmony import */ var _Subject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subject */ \"./node_modules/rxjs/_esm2015/internal/Subject.js\");\n\n\nfunction windowCount(windowSize, startWindowEvery = 0) {\n    return function windowCountOperatorFunction(source) {\n        return source.lift(new WindowCountOperator(windowSize, startWindowEvery));\n    };\n}\nclass WindowCountOperator {\n    constructor(windowSize, startWindowEvery) {\n        this.windowSize = windowSize;\n        this.startWindowEvery = startWindowEvery;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new WindowCountSubscriber(subscriber, this.windowSize, this.startWindowEvery));\n    }\n}\nclass WindowCountSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"] {\n    constructor(destination, windowSize, startWindowEvery) {\n        super(destination);\n        this.destination = destination;\n        this.windowSize = windowSize;\n        this.startWindowEvery = startWindowEvery;\n        this.windows = [new _Subject__WEBPACK_IMPORTED_MODULE_1__[\"Subject\"]()];\n        this.count = 0;\n        destination.next(this.windows[0]);\n    }\n    _next(value) {\n        const startWindowEvery = (this.startWindowEvery > 0) ? this.startWindowEvery : this.windowSize;\n        const destination = this.destination;\n        const windowSize = this.windowSize;\n        const windows = this.windows;\n        const len = windows.length;\n        for (let i = 0; i < len && !this.closed; i++) {\n            windows[i].next(value);\n        }\n        const c = this.count - windowSize + 1;\n        if (c >= 0 && c % startWindowEvery === 0 && !this.closed) {\n            windows.shift().complete();\n        }\n        if (++this.count % startWindowEvery === 0 && !this.closed) {\n            const window = new _Subject__WEBPACK_IMPORTED_MODULE_1__[\"Subject\"]();\n            windows.push(window);\n            destination.next(window);\n        }\n    }\n    _error(err) {\n        const windows = this.windows;\n        if (windows) {\n            while (windows.length > 0 && !this.closed) {\n                windows.shift().error(err);\n            }\n        }\n        this.destination.error(err);\n    }\n    _complete() {\n        const windows = this.windows;\n        if (windows) {\n            while (windows.length > 0 && !this.closed) {\n                windows.shift().complete();\n            }\n        }\n        this.destination.complete();\n    }\n    _unsubscribe() {\n        this.count = 0;\n        this.windows = null;\n    }\n}\n//# sourceMappingURL=windowCount.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/windowTime.js\":\n/*!*********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/windowTime.js ***!\n  \\*********************************************************************/\n/*! exports provided: windowTime */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"windowTime\", function() { return windowTime; });\n/* harmony import */ var _Subject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subject */ \"./node_modules/rxjs/_esm2015/internal/Subject.js\");\n/* harmony import */ var _scheduler_async__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../scheduler/async */ \"./node_modules/rxjs/_esm2015/internal/scheduler/async.js\");\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n/* harmony import */ var _util_isNumeric__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/isNumeric */ \"./node_modules/rxjs/_esm2015/internal/util/isNumeric.js\");\n/* harmony import */ var _util_isScheduler__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../util/isScheduler */ \"./node_modules/rxjs/_esm2015/internal/util/isScheduler.js\");\n\n\n\n\n\nfunction windowTime(windowTimeSpan) {\n    let scheduler = _scheduler_async__WEBPACK_IMPORTED_MODULE_1__[\"async\"];\n    let windowCreationInterval = null;\n    let maxWindowSize = Number.POSITIVE_INFINITY;\n    if (Object(_util_isScheduler__WEBPACK_IMPORTED_MODULE_4__[\"isScheduler\"])(arguments[3])) {\n        scheduler = arguments[3];\n    }\n    if (Object(_util_isScheduler__WEBPACK_IMPORTED_MODULE_4__[\"isScheduler\"])(arguments[2])) {\n        scheduler = arguments[2];\n    }\n    else if (Object(_util_isNumeric__WEBPACK_IMPORTED_MODULE_3__[\"isNumeric\"])(arguments[2])) {\n        maxWindowSize = arguments[2];\n    }\n    if (Object(_util_isScheduler__WEBPACK_IMPORTED_MODULE_4__[\"isScheduler\"])(arguments[1])) {\n        scheduler = arguments[1];\n    }\n    else if (Object(_util_isNumeric__WEBPACK_IMPORTED_MODULE_3__[\"isNumeric\"])(arguments[1])) {\n        windowCreationInterval = arguments[1];\n    }\n    return function windowTimeOperatorFunction(source) {\n        return source.lift(new WindowTimeOperator(windowTimeSpan, windowCreationInterval, maxWindowSize, scheduler));\n    };\n}\nclass WindowTimeOperator {\n    constructor(windowTimeSpan, windowCreationInterval, maxWindowSize, scheduler) {\n        this.windowTimeSpan = windowTimeSpan;\n        this.windowCreationInterval = windowCreationInterval;\n        this.maxWindowSize = maxWindowSize;\n        this.scheduler = scheduler;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new WindowTimeSubscriber(subscriber, this.windowTimeSpan, this.windowCreationInterval, this.maxWindowSize, this.scheduler));\n    }\n}\nclass CountedSubject extends _Subject__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"] {\n    constructor() {\n        super(...arguments);\n        this._numberOfNextedValues = 0;\n    }\n    next(value) {\n        this._numberOfNextedValues++;\n        super.next(value);\n    }\n    get numberOfNextedValues() {\n        return this._numberOfNextedValues;\n    }\n}\nclass WindowTimeSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_2__[\"Subscriber\"] {\n    constructor(destination, windowTimeSpan, windowCreationInterval, maxWindowSize, scheduler) {\n        super(destination);\n        this.destination = destination;\n        this.windowTimeSpan = windowTimeSpan;\n        this.windowCreationInterval = windowCreationInterval;\n        this.maxWindowSize = maxWindowSize;\n        this.scheduler = scheduler;\n        this.windows = [];\n        const window = this.openWindow();\n        if (windowCreationInterval !== null && windowCreationInterval >= 0) {\n            const closeState = { subscriber: this, window, context: null };\n            const creationState = { windowTimeSpan, windowCreationInterval, subscriber: this, scheduler };\n            this.add(scheduler.schedule(dispatchWindowClose, windowTimeSpan, closeState));\n            this.add(scheduler.schedule(dispatchWindowCreation, windowCreationInterval, creationState));\n        }\n        else {\n            const timeSpanOnlyState = { subscriber: this, window, windowTimeSpan };\n            this.add(scheduler.schedule(dispatchWindowTimeSpanOnly, windowTimeSpan, timeSpanOnlyState));\n        }\n    }\n    _next(value) {\n        const windows = this.windows;\n        const len = windows.length;\n        for (let i = 0; i < len; i++) {\n            const window = windows[i];\n            if (!window.closed) {\n                window.next(value);\n                if (window.numberOfNextedValues >= this.maxWindowSize) {\n                    this.closeWindow(window);\n                }\n            }\n        }\n    }\n    _error(err) {\n        const windows = this.windows;\n        while (windows.length > 0) {\n            windows.shift().error(err);\n        }\n        this.destination.error(err);\n    }\n    _complete() {\n        const windows = this.windows;\n        while (windows.length > 0) {\n            const window = windows.shift();\n            if (!window.closed) {\n                window.complete();\n            }\n        }\n        this.destination.complete();\n    }\n    openWindow() {\n        const window = new CountedSubject();\n        this.windows.push(window);\n        const destination = this.destination;\n        destination.next(window);\n        return window;\n    }\n    closeWindow(window) {\n        window.complete();\n        const windows = this.windows;\n        windows.splice(windows.indexOf(window), 1);\n    }\n}\nfunction dispatchWindowTimeSpanOnly(state) {\n    const { subscriber, windowTimeSpan, window } = state;\n    if (window) {\n        subscriber.closeWindow(window);\n    }\n    state.window = subscriber.openWindow();\n    this.schedule(state, windowTimeSpan);\n}\nfunction dispatchWindowCreation(state) {\n    const { windowTimeSpan, subscriber, scheduler, windowCreationInterval } = state;\n    const window = subscriber.openWindow();\n    const action = this;\n    let context = { action, subscription: null };\n    const timeSpanState = { subscriber, window, context };\n    context.subscription = scheduler.schedule(dispatchWindowClose, windowTimeSpan, timeSpanState);\n    action.add(context.subscription);\n    action.schedule(state, windowCreationInterval);\n}\nfunction dispatchWindowClose(state) {\n    const { subscriber, window, context } = state;\n    if (context && context.action && context.subscription) {\n        context.action.remove(context.subscription);\n    }\n    subscriber.closeWindow(window);\n}\n//# sourceMappingURL=windowTime.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/windowToggle.js\":\n/*!***********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/windowToggle.js ***!\n  \\***********************************************************************/\n/*! exports provided: windowToggle */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"windowToggle\", function() { return windowToggle; });\n/* harmony import */ var _Subject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subject */ \"./node_modules/rxjs/_esm2015/internal/Subject.js\");\n/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscription */ \"./node_modules/rxjs/_esm2015/internal/Subscription.js\");\n/* harmony import */ var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../OuterSubscriber */ \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n/* harmony import */ var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/subscribeToResult */ \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n\n\n\nfunction windowToggle(openings, closingSelector) {\n    return (source) => source.lift(new WindowToggleOperator(openings, closingSelector));\n}\nclass WindowToggleOperator {\n    constructor(openings, closingSelector) {\n        this.openings = openings;\n        this.closingSelector = closingSelector;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new WindowToggleSubscriber(subscriber, this.openings, this.closingSelector));\n    }\n}\nclass WindowToggleSubscriber extends _OuterSubscriber__WEBPACK_IMPORTED_MODULE_2__[\"OuterSubscriber\"] {\n    constructor(destination, openings, closingSelector) {\n        super(destination);\n        this.openings = openings;\n        this.closingSelector = closingSelector;\n        this.contexts = [];\n        this.add(this.openSubscription = Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_3__[\"subscribeToResult\"])(this, openings, openings));\n    }\n    _next(value) {\n        const { contexts } = this;\n        if (contexts) {\n            const len = contexts.length;\n            for (let i = 0; i < len; i++) {\n                contexts[i].window.next(value);\n            }\n        }\n    }\n    _error(err) {\n        const { contexts } = this;\n        this.contexts = null;\n        if (contexts) {\n            const len = contexts.length;\n            let index = -1;\n            while (++index < len) {\n                const context = contexts[index];\n                context.window.error(err);\n                context.subscription.unsubscribe();\n            }\n        }\n        super._error(err);\n    }\n    _complete() {\n        const { contexts } = this;\n        this.contexts = null;\n        if (contexts) {\n            const len = contexts.length;\n            let index = -1;\n            while (++index < len) {\n                const context = contexts[index];\n                context.window.complete();\n                context.subscription.unsubscribe();\n            }\n        }\n        super._complete();\n    }\n    _unsubscribe() {\n        const { contexts } = this;\n        this.contexts = null;\n        if (contexts) {\n            const len = contexts.length;\n            let index = -1;\n            while (++index < len) {\n                const context = contexts[index];\n                context.window.unsubscribe();\n                context.subscription.unsubscribe();\n            }\n        }\n    }\n    notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n        if (outerValue === this.openings) {\n            let closingNotifier;\n            try {\n                const { closingSelector } = this;\n                closingNotifier = closingSelector(innerValue);\n            }\n            catch (e) {\n                return this.error(e);\n            }\n            const window = new _Subject__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]();\n            const subscription = new _Subscription__WEBPACK_IMPORTED_MODULE_1__[\"Subscription\"]();\n            const context = { window, subscription };\n            this.contexts.push(context);\n            const innerSubscription = Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_3__[\"subscribeToResult\"])(this, closingNotifier, context);\n            if (innerSubscription.closed) {\n                this.closeWindow(this.contexts.length - 1);\n            }\n            else {\n                innerSubscription.context = context;\n                subscription.add(innerSubscription);\n            }\n            this.destination.next(window);\n        }\n        else {\n            this.closeWindow(this.contexts.indexOf(outerValue));\n        }\n    }\n    notifyError(err) {\n        this.error(err);\n    }\n    notifyComplete(inner) {\n        if (inner !== this.openSubscription) {\n            this.closeWindow(this.contexts.indexOf(inner.context));\n        }\n    }\n    closeWindow(index) {\n        if (index === -1) {\n            return;\n        }\n        const { contexts } = this;\n        const context = contexts[index];\n        const { window, subscription } = context;\n        contexts.splice(index, 1);\n        window.complete();\n        subscription.unsubscribe();\n    }\n}\n//# sourceMappingURL=windowToggle.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/windowWhen.js\":\n/*!*********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/windowWhen.js ***!\n  \\*********************************************************************/\n/*! exports provided: windowWhen */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"windowWhen\", function() { return windowWhen; });\n/* harmony import */ var _Subject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subject */ \"./node_modules/rxjs/_esm2015/internal/Subject.js\");\n/* harmony import */ var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../OuterSubscriber */ \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n/* harmony import */ var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/subscribeToResult */ \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n\n\nfunction windowWhen(closingSelector) {\n    return function windowWhenOperatorFunction(source) {\n        return source.lift(new WindowOperator(closingSelector));\n    };\n}\nclass WindowOperator {\n    constructor(closingSelector) {\n        this.closingSelector = closingSelector;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new WindowSubscriber(subscriber, this.closingSelector));\n    }\n}\nclass WindowSubscriber extends _OuterSubscriber__WEBPACK_IMPORTED_MODULE_1__[\"OuterSubscriber\"] {\n    constructor(destination, closingSelector) {\n        super(destination);\n        this.destination = destination;\n        this.closingSelector = closingSelector;\n        this.openWindow();\n    }\n    notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n        this.openWindow(innerSub);\n    }\n    notifyError(error, innerSub) {\n        this._error(error);\n    }\n    notifyComplete(innerSub) {\n        this.openWindow(innerSub);\n    }\n    _next(value) {\n        this.window.next(value);\n    }\n    _error(err) {\n        this.window.error(err);\n        this.destination.error(err);\n        this.unsubscribeClosingNotification();\n    }\n    _complete() {\n        this.window.complete();\n        this.destination.complete();\n        this.unsubscribeClosingNotification();\n    }\n    unsubscribeClosingNotification() {\n        if (this.closingNotification) {\n            this.closingNotification.unsubscribe();\n        }\n    }\n    openWindow(innerSub = null) {\n        if (innerSub) {\n            this.remove(innerSub);\n            innerSub.unsubscribe();\n        }\n        const prevWindow = this.window;\n        if (prevWindow) {\n            prevWindow.complete();\n        }\n        const window = this.window = new _Subject__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]();\n        this.destination.next(window);\n        let closingNotifier;\n        try {\n            const { closingSelector } = this;\n            closingNotifier = closingSelector();\n        }\n        catch (e) {\n            this.destination.error(e);\n            this.window.error(e);\n            return;\n        }\n        this.add(this.closingNotification = Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_2__[\"subscribeToResult\"])(this, closingNotifier));\n    }\n}\n//# sourceMappingURL=windowWhen.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/withLatestFrom.js\":\n/*!*************************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/withLatestFrom.js ***!\n  \\*************************************************************************/\n/*! exports provided: withLatestFrom */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"withLatestFrom\", function() { return withLatestFrom; });\n/* harmony import */ var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../OuterSubscriber */ \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n/* harmony import */ var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/subscribeToResult */ \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n\nfunction withLatestFrom(...args) {\n    return (source) => {\n        let project;\n        if (typeof args[args.length - 1] === 'function') {\n            project = args.pop();\n        }\n        const observables = args;\n        return source.lift(new WithLatestFromOperator(observables, project));\n    };\n}\nclass WithLatestFromOperator {\n    constructor(observables, project) {\n        this.observables = observables;\n        this.project = project;\n    }\n    call(subscriber, source) {\n        return source.subscribe(new WithLatestFromSubscriber(subscriber, this.observables, this.project));\n    }\n}\nclass WithLatestFromSubscriber extends _OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__[\"OuterSubscriber\"] {\n    constructor(destination, observables, project) {\n        super(destination);\n        this.observables = observables;\n        this.project = project;\n        this.toRespond = [];\n        const len = observables.length;\n        this.values = new Array(len);\n        for (let i = 0; i < len; i++) {\n            this.toRespond.push(i);\n        }\n        for (let i = 0; i < len; i++) {\n            let observable = observables[i];\n            this.add(Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__[\"subscribeToResult\"])(this, observable, observable, i));\n        }\n    }\n    notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n        this.values[outerIndex] = innerValue;\n        const toRespond = this.toRespond;\n        if (toRespond.length > 0) {\n            const found = toRespond.indexOf(outerIndex);\n            if (found !== -1) {\n                toRespond.splice(found, 1);\n            }\n        }\n    }\n    notifyComplete() {\n    }\n    _next(value) {\n        if (this.toRespond.length === 0) {\n            const args = [value, ...this.values];\n            if (this.project) {\n                this._tryProject(args);\n            }\n            else {\n                this.destination.next(args);\n            }\n        }\n    }\n    _tryProject(args) {\n        let result;\n        try {\n            result = this.project.apply(this, args);\n        }\n        catch (err) {\n            this.destination.error(err);\n            return;\n        }\n        this.destination.next(result);\n    }\n}\n//# sourceMappingURL=withLatestFrom.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/zip.js\":\n/*!**************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/zip.js ***!\n  \\**************************************************************/\n/*! exports provided: zip */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"zip\", function() { return zip; });\n/* harmony import */ var _observable_zip__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../observable/zip */ \"./node_modules/rxjs/_esm2015/internal/observable/zip.js\");\n\nfunction zip(...observables) {\n    return function zipOperatorFunction(source) {\n        return source.lift.call(Object(_observable_zip__WEBPACK_IMPORTED_MODULE_0__[\"zip\"])(source, ...observables));\n    };\n}\n//# sourceMappingURL=zip.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/operators/zipAll.js\":\n/*!*****************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/operators/zipAll.js ***!\n  \\*****************************************************************/\n/*! exports provided: zipAll */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"zipAll\", function() { return zipAll; });\n/* harmony import */ var _observable_zip__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../observable/zip */ \"./node_modules/rxjs/_esm2015/internal/observable/zip.js\");\n\nfunction zipAll(project) {\n    return (source) => source.lift(new _observable_zip__WEBPACK_IMPORTED_MODULE_0__[\"ZipOperator\"](project));\n}\n//# sourceMappingURL=zipAll.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/scheduler/Action.js\":\n/*!*****************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/scheduler/Action.js ***!\n  \\*****************************************************************/\n/*! exports provided: Action */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Action\", function() { return Action; });\n/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscription */ \"./node_modules/rxjs/_esm2015/internal/Subscription.js\");\n\nclass Action extends _Subscription__WEBPACK_IMPORTED_MODULE_0__[\"Subscription\"] {\n    constructor(scheduler, work) {\n        super();\n    }\n    schedule(state, delay = 0) {\n        return this;\n    }\n}\n//# sourceMappingURL=Action.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/scheduler/AnimationFrameAction.js\":\n/*!*******************************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/scheduler/AnimationFrameAction.js ***!\n  \\*******************************************************************************/\n/*! exports provided: AnimationFrameAction */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AnimationFrameAction\", function() { return AnimationFrameAction; });\n/* harmony import */ var _AsyncAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AsyncAction */ \"./node_modules/rxjs/_esm2015/internal/scheduler/AsyncAction.js\");\n\nclass AnimationFrameAction extends _AsyncAction__WEBPACK_IMPORTED_MODULE_0__[\"AsyncAction\"] {\n    constructor(scheduler, work) {\n        super(scheduler, work);\n        this.scheduler = scheduler;\n        this.work = work;\n    }\n    requestAsyncId(scheduler, id, delay = 0) {\n        if (delay !== null && delay > 0) {\n            return super.requestAsyncId(scheduler, id, delay);\n        }\n        scheduler.actions.push(this);\n        return scheduler.scheduled || (scheduler.scheduled = requestAnimationFrame(() => scheduler.flush(null)));\n    }\n    recycleAsyncId(scheduler, id, delay = 0) {\n        if ((delay !== null && delay > 0) || (delay === null && this.delay > 0)) {\n            return super.recycleAsyncId(scheduler, id, delay);\n        }\n        if (scheduler.actions.length === 0) {\n            cancelAnimationFrame(id);\n            scheduler.scheduled = undefined;\n        }\n        return undefined;\n    }\n}\n//# sourceMappingURL=AnimationFrameAction.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/scheduler/AnimationFrameScheduler.js\":\n/*!**********************************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/scheduler/AnimationFrameScheduler.js ***!\n  \\**********************************************************************************/\n/*! exports provided: AnimationFrameScheduler */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AnimationFrameScheduler\", function() { return AnimationFrameScheduler; });\n/* harmony import */ var _AsyncScheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AsyncScheduler */ \"./node_modules/rxjs/_esm2015/internal/scheduler/AsyncScheduler.js\");\n\nclass AnimationFrameScheduler extends _AsyncScheduler__WEBPACK_IMPORTED_MODULE_0__[\"AsyncScheduler\"] {\n    flush(action) {\n        this.active = true;\n        this.scheduled = undefined;\n        const { actions } = this;\n        let error;\n        let index = -1;\n        let count = actions.length;\n        action = action || actions.shift();\n        do {\n            if (error = action.execute(action.state, action.delay)) {\n                break;\n            }\n        } while (++index < count && (action = actions.shift()));\n        this.active = false;\n        if (error) {\n            while (++index < count && (action = actions.shift())) {\n                action.unsubscribe();\n            }\n            throw error;\n        }\n    }\n}\n//# sourceMappingURL=AnimationFrameScheduler.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/scheduler/AsapAction.js\":\n/*!*********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/scheduler/AsapAction.js ***!\n  \\*********************************************************************/\n/*! exports provided: AsapAction */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AsapAction\", function() { return AsapAction; });\n/* harmony import */ var _util_Immediate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/Immediate */ \"./node_modules/rxjs/_esm2015/internal/util/Immediate.js\");\n/* harmony import */ var _AsyncAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AsyncAction */ \"./node_modules/rxjs/_esm2015/internal/scheduler/AsyncAction.js\");\n\n\nclass AsapAction extends _AsyncAction__WEBPACK_IMPORTED_MODULE_1__[\"AsyncAction\"] {\n    constructor(scheduler, work) {\n        super(scheduler, work);\n        this.scheduler = scheduler;\n        this.work = work;\n    }\n    requestAsyncId(scheduler, id, delay = 0) {\n        if (delay !== null && delay > 0) {\n            return super.requestAsyncId(scheduler, id, delay);\n        }\n        scheduler.actions.push(this);\n        return scheduler.scheduled || (scheduler.scheduled = _util_Immediate__WEBPACK_IMPORTED_MODULE_0__[\"Immediate\"].setImmediate(scheduler.flush.bind(scheduler, null)));\n    }\n    recycleAsyncId(scheduler, id, delay = 0) {\n        if ((delay !== null && delay > 0) || (delay === null && this.delay > 0)) {\n            return super.recycleAsyncId(scheduler, id, delay);\n        }\n        if (scheduler.actions.length === 0) {\n            _util_Immediate__WEBPACK_IMPORTED_MODULE_0__[\"Immediate\"].clearImmediate(id);\n            scheduler.scheduled = undefined;\n        }\n        return undefined;\n    }\n}\n//# sourceMappingURL=AsapAction.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/scheduler/AsapScheduler.js\":\n/*!************************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/scheduler/AsapScheduler.js ***!\n  \\************************************************************************/\n/*! exports provided: AsapScheduler */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AsapScheduler\", function() { return AsapScheduler; });\n/* harmony import */ var _AsyncScheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AsyncScheduler */ \"./node_modules/rxjs/_esm2015/internal/scheduler/AsyncScheduler.js\");\n\nclass AsapScheduler extends _AsyncScheduler__WEBPACK_IMPORTED_MODULE_0__[\"AsyncScheduler\"] {\n    flush(action) {\n        this.active = true;\n        this.scheduled = undefined;\n        const { actions } = this;\n        let error;\n        let index = -1;\n        let count = actions.length;\n        action = action || actions.shift();\n        do {\n            if (error = action.execute(action.state, action.delay)) {\n                break;\n            }\n        } while (++index < count && (action = actions.shift()));\n        this.active = false;\n        if (error) {\n            while (++index < count && (action = actions.shift())) {\n                action.unsubscribe();\n            }\n            throw error;\n        }\n    }\n}\n//# sourceMappingURL=AsapScheduler.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/scheduler/AsyncAction.js\":\n/*!**********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/scheduler/AsyncAction.js ***!\n  \\**********************************************************************/\n/*! exports provided: AsyncAction */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AsyncAction\", function() { return AsyncAction; });\n/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Action */ \"./node_modules/rxjs/_esm2015/internal/scheduler/Action.js\");\n\nclass AsyncAction extends _Action__WEBPACK_IMPORTED_MODULE_0__[\"Action\"] {\n    constructor(scheduler, work) {\n        super(scheduler, work);\n        this.scheduler = scheduler;\n        this.work = work;\n        this.pending = false;\n    }\n    schedule(state, delay = 0) {\n        if (this.closed) {\n            return this;\n        }\n        this.state = state;\n        const id = this.id;\n        const scheduler = this.scheduler;\n        if (id != null) {\n            this.id = this.recycleAsyncId(scheduler, id, delay);\n        }\n        this.pending = true;\n        this.delay = delay;\n        this.id = this.id || this.requestAsyncId(scheduler, this.id, delay);\n        return this;\n    }\n    requestAsyncId(scheduler, id, delay = 0) {\n        return setInterval(scheduler.flush.bind(scheduler, this), delay);\n    }\n    recycleAsyncId(scheduler, id, delay = 0) {\n        if (delay !== null && this.delay === delay && this.pending === false) {\n            return id;\n        }\n        clearInterval(id);\n        return undefined;\n    }\n    execute(state, delay) {\n        if (this.closed) {\n            return new Error('executing a cancelled action');\n        }\n        this.pending = false;\n        const error = this._execute(state, delay);\n        if (error) {\n            return error;\n        }\n        else if (this.pending === false && this.id != null) {\n            this.id = this.recycleAsyncId(this.scheduler, this.id, null);\n        }\n    }\n    _execute(state, delay) {\n        let errored = false;\n        let errorValue = undefined;\n        try {\n            this.work(state);\n        }\n        catch (e) {\n            errored = true;\n            errorValue = !!e && e || new Error(e);\n        }\n        if (errored) {\n            this.unsubscribe();\n            return errorValue;\n        }\n    }\n    _unsubscribe() {\n        const id = this.id;\n        const scheduler = this.scheduler;\n        const actions = scheduler.actions;\n        const index = actions.indexOf(this);\n        this.work = null;\n        this.state = null;\n        this.pending = false;\n        this.scheduler = null;\n        if (index !== -1) {\n            actions.splice(index, 1);\n        }\n        if (id != null) {\n            this.id = this.recycleAsyncId(scheduler, id, null);\n        }\n        this.delay = null;\n    }\n}\n//# sourceMappingURL=AsyncAction.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/scheduler/AsyncScheduler.js\":\n/*!*************************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/scheduler/AsyncScheduler.js ***!\n  \\*************************************************************************/\n/*! exports provided: AsyncScheduler */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AsyncScheduler\", function() { return AsyncScheduler; });\n/* harmony import */ var _Scheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Scheduler */ \"./node_modules/rxjs/_esm2015/internal/Scheduler.js\");\n\nclass AsyncScheduler extends _Scheduler__WEBPACK_IMPORTED_MODULE_0__[\"Scheduler\"] {\n    constructor(SchedulerAction, now = _Scheduler__WEBPACK_IMPORTED_MODULE_0__[\"Scheduler\"].now) {\n        super(SchedulerAction, () => {\n            if (AsyncScheduler.delegate && AsyncScheduler.delegate !== this) {\n                return AsyncScheduler.delegate.now();\n            }\n            else {\n                return now();\n            }\n        });\n        this.actions = [];\n        this.active = false;\n        this.scheduled = undefined;\n    }\n    schedule(work, delay = 0, state) {\n        if (AsyncScheduler.delegate && AsyncScheduler.delegate !== this) {\n            return AsyncScheduler.delegate.schedule(work, delay, state);\n        }\n        else {\n            return super.schedule(work, delay, state);\n        }\n    }\n    flush(action) {\n        const { actions } = this;\n        if (this.active) {\n            actions.push(action);\n            return;\n        }\n        let error;\n        this.active = true;\n        do {\n            if (error = action.execute(action.state, action.delay)) {\n                break;\n            }\n        } while (action = actions.shift());\n        this.active = false;\n        if (error) {\n            while (action = actions.shift()) {\n                action.unsubscribe();\n            }\n            throw error;\n        }\n    }\n}\n//# sourceMappingURL=AsyncScheduler.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/scheduler/QueueAction.js\":\n/*!**********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/scheduler/QueueAction.js ***!\n  \\**********************************************************************/\n/*! exports provided: QueueAction */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"QueueAction\", function() { return QueueAction; });\n/* harmony import */ var _AsyncAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AsyncAction */ \"./node_modules/rxjs/_esm2015/internal/scheduler/AsyncAction.js\");\n\nclass QueueAction extends _AsyncAction__WEBPACK_IMPORTED_MODULE_0__[\"AsyncAction\"] {\n    constructor(scheduler, work) {\n        super(scheduler, work);\n        this.scheduler = scheduler;\n        this.work = work;\n    }\n    schedule(state, delay = 0) {\n        if (delay > 0) {\n            return super.schedule(state, delay);\n        }\n        this.delay = delay;\n        this.state = state;\n        this.scheduler.flush(this);\n        return this;\n    }\n    execute(state, delay) {\n        return (delay > 0 || this.closed) ?\n            super.execute(state, delay) :\n            this._execute(state, delay);\n    }\n    requestAsyncId(scheduler, id, delay = 0) {\n        if ((delay !== null && delay > 0) || (delay === null && this.delay > 0)) {\n            return super.requestAsyncId(scheduler, id, delay);\n        }\n        return scheduler.flush(this);\n    }\n}\n//# sourceMappingURL=QueueAction.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/scheduler/QueueScheduler.js\":\n/*!*************************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/scheduler/QueueScheduler.js ***!\n  \\*************************************************************************/\n/*! exports provided: QueueScheduler */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"QueueScheduler\", function() { return QueueScheduler; });\n/* harmony import */ var _AsyncScheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AsyncScheduler */ \"./node_modules/rxjs/_esm2015/internal/scheduler/AsyncScheduler.js\");\n\nclass QueueScheduler extends _AsyncScheduler__WEBPACK_IMPORTED_MODULE_0__[\"AsyncScheduler\"] {\n}\n//# sourceMappingURL=QueueScheduler.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/scheduler/VirtualTimeScheduler.js\":\n/*!*******************************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/scheduler/VirtualTimeScheduler.js ***!\n  \\*******************************************************************************/\n/*! exports provided: VirtualTimeScheduler, VirtualAction */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VirtualTimeScheduler\", function() { return VirtualTimeScheduler; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VirtualAction\", function() { return VirtualAction; });\n/* harmony import */ var _AsyncAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AsyncAction */ \"./node_modules/rxjs/_esm2015/internal/scheduler/AsyncAction.js\");\n/* harmony import */ var _AsyncScheduler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AsyncScheduler */ \"./node_modules/rxjs/_esm2015/internal/scheduler/AsyncScheduler.js\");\n\n\nclass VirtualTimeScheduler extends _AsyncScheduler__WEBPACK_IMPORTED_MODULE_1__[\"AsyncScheduler\"] {\n    constructor(SchedulerAction = VirtualAction, maxFrames = Number.POSITIVE_INFINITY) {\n        super(SchedulerAction, () => this.frame);\n        this.maxFrames = maxFrames;\n        this.frame = 0;\n        this.index = -1;\n    }\n    flush() {\n        const { actions, maxFrames } = this;\n        let error, action;\n        while ((action = actions[0]) && action.delay <= maxFrames) {\n            actions.shift();\n            this.frame = action.delay;\n            if (error = action.execute(action.state, action.delay)) {\n                break;\n            }\n        }\n        if (error) {\n            while (action = actions.shift()) {\n                action.unsubscribe();\n            }\n            throw error;\n        }\n    }\n}\nVirtualTimeScheduler.frameTimeFactor = 10;\nclass VirtualAction extends _AsyncAction__WEBPACK_IMPORTED_MODULE_0__[\"AsyncAction\"] {\n    constructor(scheduler, work, index = scheduler.index += 1) {\n        super(scheduler, work);\n        this.scheduler = scheduler;\n        this.work = work;\n        this.index = index;\n        this.active = true;\n        this.index = scheduler.index = index;\n    }\n    schedule(state, delay = 0) {\n        if (!this.id) {\n            return super.schedule(state, delay);\n        }\n        this.active = false;\n        const action = new VirtualAction(this.scheduler, this.work);\n        this.add(action);\n        return action.schedule(state, delay);\n    }\n    requestAsyncId(scheduler, id, delay = 0) {\n        this.delay = scheduler.frame + delay;\n        const { actions } = scheduler;\n        actions.push(this);\n        actions.sort(VirtualAction.sortActions);\n        return true;\n    }\n    recycleAsyncId(scheduler, id, delay = 0) {\n        return undefined;\n    }\n    _execute(state, delay) {\n        if (this.active === true) {\n            return super._execute(state, delay);\n        }\n    }\n    static sortActions(a, b) {\n        if (a.delay === b.delay) {\n            if (a.index === b.index) {\n                return 0;\n            }\n            else if (a.index > b.index) {\n                return 1;\n            }\n            else {\n                return -1;\n            }\n        }\n        else if (a.delay > b.delay) {\n            return 1;\n        }\n        else {\n            return -1;\n        }\n    }\n}\n//# sourceMappingURL=VirtualTimeScheduler.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/scheduler/animationFrame.js\":\n/*!*************************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/scheduler/animationFrame.js ***!\n  \\*************************************************************************/\n/*! exports provided: animationFrame */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"animationFrame\", function() { return animationFrame; });\n/* harmony import */ var _AnimationFrameAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AnimationFrameAction */ \"./node_modules/rxjs/_esm2015/internal/scheduler/AnimationFrameAction.js\");\n/* harmony import */ var _AnimationFrameScheduler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AnimationFrameScheduler */ \"./node_modules/rxjs/_esm2015/internal/scheduler/AnimationFrameScheduler.js\");\n\n\nconst animationFrame = new _AnimationFrameScheduler__WEBPACK_IMPORTED_MODULE_1__[\"AnimationFrameScheduler\"](_AnimationFrameAction__WEBPACK_IMPORTED_MODULE_0__[\"AnimationFrameAction\"]);\n//# sourceMappingURL=animationFrame.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/scheduler/asap.js\":\n/*!***************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/scheduler/asap.js ***!\n  \\***************************************************************/\n/*! exports provided: asap */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"asap\", function() { return asap; });\n/* harmony import */ var _AsapAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AsapAction */ \"./node_modules/rxjs/_esm2015/internal/scheduler/AsapAction.js\");\n/* harmony import */ var _AsapScheduler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AsapScheduler */ \"./node_modules/rxjs/_esm2015/internal/scheduler/AsapScheduler.js\");\n\n\nconst asap = new _AsapScheduler__WEBPACK_IMPORTED_MODULE_1__[\"AsapScheduler\"](_AsapAction__WEBPACK_IMPORTED_MODULE_0__[\"AsapAction\"]);\n//# sourceMappingURL=asap.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/scheduler/async.js\":\n/*!****************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/scheduler/async.js ***!\n  \\****************************************************************/\n/*! exports provided: async */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"async\", function() { return async; });\n/* harmony import */ var _AsyncAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AsyncAction */ \"./node_modules/rxjs/_esm2015/internal/scheduler/AsyncAction.js\");\n/* harmony import */ var _AsyncScheduler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AsyncScheduler */ \"./node_modules/rxjs/_esm2015/internal/scheduler/AsyncScheduler.js\");\n\n\nconst async = new _AsyncScheduler__WEBPACK_IMPORTED_MODULE_1__[\"AsyncScheduler\"](_AsyncAction__WEBPACK_IMPORTED_MODULE_0__[\"AsyncAction\"]);\n//# sourceMappingURL=async.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/scheduler/queue.js\":\n/*!****************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/scheduler/queue.js ***!\n  \\****************************************************************/\n/*! exports provided: queue */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"queue\", function() { return queue; });\n/* harmony import */ var _QueueAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./QueueAction */ \"./node_modules/rxjs/_esm2015/internal/scheduler/QueueAction.js\");\n/* harmony import */ var _QueueScheduler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./QueueScheduler */ \"./node_modules/rxjs/_esm2015/internal/scheduler/QueueScheduler.js\");\n\n\nconst queue = new _QueueScheduler__WEBPACK_IMPORTED_MODULE_1__[\"QueueScheduler\"](_QueueAction__WEBPACK_IMPORTED_MODULE_0__[\"QueueAction\"]);\n//# sourceMappingURL=queue.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/symbol/iterator.js\":\n/*!****************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/symbol/iterator.js ***!\n  \\****************************************************************/\n/*! exports provided: getSymbolIterator, iterator, $$iterator */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getSymbolIterator\", function() { return getSymbolIterator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"iterator\", function() { return iterator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"$$iterator\", function() { return $$iterator; });\nfunction getSymbolIterator() {\n    if (typeof Symbol !== 'function' || !Symbol.iterator) {\n        return '@@iterator';\n    }\n    return Symbol.iterator;\n}\nconst iterator = getSymbolIterator();\nconst $$iterator = iterator;\n//# sourceMappingURL=iterator.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/symbol/observable.js\":\n/*!******************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/symbol/observable.js ***!\n  \\******************************************************************/\n/*! exports provided: observable */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"observable\", function() { return observable; });\nconst observable = typeof Symbol === 'function' && Symbol.observable || '@@observable';\n//# sourceMappingURL=observable.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/symbol/rxSubscriber.js\":\n/*!********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/symbol/rxSubscriber.js ***!\n  \\********************************************************************/\n/*! exports provided: rxSubscriber, $$rxSubscriber */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"rxSubscriber\", function() { return rxSubscriber; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"$$rxSubscriber\", function() { return $$rxSubscriber; });\nconst rxSubscriber = typeof Symbol === 'function'\n    ? Symbol('rxSubscriber')\n    : '@@rxSubscriber_' + Math.random();\nconst $$rxSubscriber = rxSubscriber;\n//# sourceMappingURL=rxSubscriber.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/util/ArgumentOutOfRangeError.js\":\n/*!*****************************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/util/ArgumentOutOfRangeError.js ***!\n  \\*****************************************************************************/\n/*! exports provided: ArgumentOutOfRangeError */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ArgumentOutOfRangeError\", function() { return ArgumentOutOfRangeError; });\nfunction ArgumentOutOfRangeErrorImpl() {\n    Error.call(this);\n    this.message = 'argument out of range';\n    this.name = 'ArgumentOutOfRangeError';\n    return this;\n}\nArgumentOutOfRangeErrorImpl.prototype = Object.create(Error.prototype);\nconst ArgumentOutOfRangeError = ArgumentOutOfRangeErrorImpl;\n//# sourceMappingURL=ArgumentOutOfRangeError.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/util/EmptyError.js\":\n/*!****************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/util/EmptyError.js ***!\n  \\****************************************************************/\n/*! exports provided: EmptyError */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"EmptyError\", function() { return EmptyError; });\nfunction EmptyErrorImpl() {\n    Error.call(this);\n    this.message = 'no elements in sequence';\n    this.name = 'EmptyError';\n    return this;\n}\nEmptyErrorImpl.prototype = Object.create(Error.prototype);\nconst EmptyError = EmptyErrorImpl;\n//# sourceMappingURL=EmptyError.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/util/Immediate.js\":\n/*!***************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/util/Immediate.js ***!\n  \\***************************************************************/\n/*! exports provided: Immediate */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Immediate\", function() { return Immediate; });\nlet nextHandle = 1;\nconst tasksByHandle = {};\nfunction runIfPresent(handle) {\n    const cb = tasksByHandle[handle];\n    if (cb) {\n        cb();\n    }\n}\nconst Immediate = {\n    setImmediate(cb) {\n        const handle = nextHandle++;\n        tasksByHandle[handle] = cb;\n        Promise.resolve().then(() => runIfPresent(handle));\n        return handle;\n    },\n    clearImmediate(handle) {\n        delete tasksByHandle[handle];\n    },\n};\n//# sourceMappingURL=Immediate.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/util/ObjectUnsubscribedError.js\":\n/*!*****************************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/util/ObjectUnsubscribedError.js ***!\n  \\*****************************************************************************/\n/*! exports provided: ObjectUnsubscribedError */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ObjectUnsubscribedError\", function() { return ObjectUnsubscribedError; });\nfunction ObjectUnsubscribedErrorImpl() {\n    Error.call(this);\n    this.message = 'object unsubscribed';\n    this.name = 'ObjectUnsubscribedError';\n    return this;\n}\nObjectUnsubscribedErrorImpl.prototype = Object.create(Error.prototype);\nconst ObjectUnsubscribedError = ObjectUnsubscribedErrorImpl;\n//# sourceMappingURL=ObjectUnsubscribedError.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/util/TimeoutError.js\":\n/*!******************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/util/TimeoutError.js ***!\n  \\******************************************************************/\n/*! exports provided: TimeoutError */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TimeoutError\", function() { return TimeoutError; });\nfunction TimeoutErrorImpl() {\n    Error.call(this);\n    this.message = 'Timeout has occurred';\n    this.name = 'TimeoutError';\n    return this;\n}\nTimeoutErrorImpl.prototype = Object.create(Error.prototype);\nconst TimeoutError = TimeoutErrorImpl;\n//# sourceMappingURL=TimeoutError.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/util/UnsubscriptionError.js\":\n/*!*************************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/util/UnsubscriptionError.js ***!\n  \\*************************************************************************/\n/*! exports provided: UnsubscriptionError */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"UnsubscriptionError\", function() { return UnsubscriptionError; });\nfunction UnsubscriptionErrorImpl(errors) {\n    Error.call(this);\n    this.message = errors ?\n        `${errors.length} errors occurred during unsubscription:\n${errors.map((err, i) => `${i + 1}) ${err.toString()}`).join('\\n  ')}` : '';\n    this.name = 'UnsubscriptionError';\n    this.errors = errors;\n    return this;\n}\nUnsubscriptionErrorImpl.prototype = Object.create(Error.prototype);\nconst UnsubscriptionError = UnsubscriptionErrorImpl;\n//# sourceMappingURL=UnsubscriptionError.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/util/canReportError.js\":\n/*!********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/util/canReportError.js ***!\n  \\********************************************************************/\n/*! exports provided: canReportError */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"canReportError\", function() { return canReportError; });\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\nfunction canReportError(observer) {\n    while (observer) {\n        const { closed, destination, isStopped } = observer;\n        if (closed || isStopped) {\n            return false;\n        }\n        else if (destination && destination instanceof _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]) {\n            observer = destination;\n        }\n        else {\n            observer = null;\n        }\n    }\n    return true;\n}\n//# sourceMappingURL=canReportError.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/util/hostReportError.js\":\n/*!*********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/util/hostReportError.js ***!\n  \\*********************************************************************/\n/*! exports provided: hostReportError */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"hostReportError\", function() { return hostReportError; });\nfunction hostReportError(err) {\n    setTimeout(() => { throw err; });\n}\n//# sourceMappingURL=hostReportError.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/util/identity.js\":\n/*!**************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/util/identity.js ***!\n  \\**************************************************************/\n/*! exports provided: identity */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"identity\", function() { return identity; });\nfunction identity(x) {\n    return x;\n}\n//# sourceMappingURL=identity.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/util/isArray.js\":\n/*!*************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/util/isArray.js ***!\n  \\*************************************************************/\n/*! exports provided: isArray */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isArray\", function() { return isArray; });\nconst isArray = Array.isArray || ((x) => x && typeof x.length === 'number');\n//# sourceMappingURL=isArray.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/util/isArrayLike.js\":\n/*!*****************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/util/isArrayLike.js ***!\n  \\*****************************************************************/\n/*! exports provided: isArrayLike */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isArrayLike\", function() { return isArrayLike; });\nconst isArrayLike = ((x) => x && typeof x.length === 'number' && typeof x !== 'function');\n//# sourceMappingURL=isArrayLike.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/util/isDate.js\":\n/*!************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/util/isDate.js ***!\n  \\************************************************************/\n/*! exports provided: isDate */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isDate\", function() { return isDate; });\nfunction isDate(value) {\n    return value instanceof Date && !isNaN(+value);\n}\n//# sourceMappingURL=isDate.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/util/isFunction.js\":\n/*!****************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/util/isFunction.js ***!\n  \\****************************************************************/\n/*! exports provided: isFunction */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isFunction\", function() { return isFunction; });\nfunction isFunction(x) {\n    return typeof x === 'function';\n}\n//# sourceMappingURL=isFunction.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/util/isInteropObservable.js\":\n/*!*************************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/util/isInteropObservable.js ***!\n  \\*************************************************************************/\n/*! exports provided: isInteropObservable */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isInteropObservable\", function() { return isInteropObservable; });\n/* harmony import */ var _symbol_observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../symbol/observable */ \"./node_modules/rxjs/_esm2015/internal/symbol/observable.js\");\n\nfunction isInteropObservable(input) {\n    return input && typeof input[_symbol_observable__WEBPACK_IMPORTED_MODULE_0__[\"observable\"]] === 'function';\n}\n//# sourceMappingURL=isInteropObservable.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/util/isIterable.js\":\n/*!****************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/util/isIterable.js ***!\n  \\****************************************************************/\n/*! exports provided: isIterable */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isIterable\", function() { return isIterable; });\n/* harmony import */ var _symbol_iterator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../symbol/iterator */ \"./node_modules/rxjs/_esm2015/internal/symbol/iterator.js\");\n\nfunction isIterable(input) {\n    return input && typeof input[_symbol_iterator__WEBPACK_IMPORTED_MODULE_0__[\"iterator\"]] === 'function';\n}\n//# sourceMappingURL=isIterable.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/util/isNumeric.js\":\n/*!***************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/util/isNumeric.js ***!\n  \\***************************************************************/\n/*! exports provided: isNumeric */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isNumeric\", function() { return isNumeric; });\n/* harmony import */ var _isArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./isArray */ \"./node_modules/rxjs/_esm2015/internal/util/isArray.js\");\n\nfunction isNumeric(val) {\n    return !Object(_isArray__WEBPACK_IMPORTED_MODULE_0__[\"isArray\"])(val) && (val - parseFloat(val) + 1) >= 0;\n}\n//# sourceMappingURL=isNumeric.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/util/isObject.js\":\n/*!**************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/util/isObject.js ***!\n  \\**************************************************************/\n/*! exports provided: isObject */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isObject\", function() { return isObject; });\nfunction isObject(x) {\n    return x !== null && typeof x === 'object';\n}\n//# sourceMappingURL=isObject.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/util/isObservable.js\":\n/*!******************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/util/isObservable.js ***!\n  \\******************************************************************/\n/*! exports provided: isObservable */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isObservable\", function() { return isObservable; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n\nfunction isObservable(obj) {\n    return !!obj && (obj instanceof _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"] || (typeof obj.lift === 'function' && typeof obj.subscribe === 'function'));\n}\n//# sourceMappingURL=isObservable.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/util/isPromise.js\":\n/*!***************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/util/isPromise.js ***!\n  \\***************************************************************/\n/*! exports provided: isPromise */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isPromise\", function() { return isPromise; });\nfunction isPromise(value) {\n    return !!value && typeof value.subscribe !== 'function' && typeof value.then === 'function';\n}\n//# sourceMappingURL=isPromise.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/util/isScheduler.js\":\n/*!*****************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/util/isScheduler.js ***!\n  \\*****************************************************************/\n/*! exports provided: isScheduler */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isScheduler\", function() { return isScheduler; });\nfunction isScheduler(value) {\n    return value && typeof value.schedule === 'function';\n}\n//# sourceMappingURL=isScheduler.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/util/noop.js\":\n/*!**********************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/util/noop.js ***!\n  \\**********************************************************/\n/*! exports provided: noop */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"noop\", function() { return noop; });\nfunction noop() { }\n//# sourceMappingURL=noop.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/util/not.js\":\n/*!*********************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/util/not.js ***!\n  \\*********************************************************/\n/*! exports provided: not */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"not\", function() { return not; });\nfunction not(pred, thisArg) {\n    function notPred() {\n        return !(notPred.pred.apply(notPred.thisArg, arguments));\n    }\n    notPred.pred = pred;\n    notPred.thisArg = thisArg;\n    return notPred;\n}\n//# sourceMappingURL=not.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/util/pipe.js\":\n/*!**********************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/util/pipe.js ***!\n  \\**********************************************************/\n/*! exports provided: pipe, pipeFromArray */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"pipe\", function() { return pipe; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"pipeFromArray\", function() { return pipeFromArray; });\n/* harmony import */ var _noop__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./noop */ \"./node_modules/rxjs/_esm2015/internal/util/noop.js\");\n\nfunction pipe(...fns) {\n    return pipeFromArray(fns);\n}\nfunction pipeFromArray(fns) {\n    if (!fns) {\n        return _noop__WEBPACK_IMPORTED_MODULE_0__[\"noop\"];\n    }\n    if (fns.length === 1) {\n        return fns[0];\n    }\n    return function piped(input) {\n        return fns.reduce((prev, fn) => fn(prev), input);\n    };\n}\n//# sourceMappingURL=pipe.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/util/subscribeTo.js\":\n/*!*****************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/util/subscribeTo.js ***!\n  \\*****************************************************************/\n/*! exports provided: subscribeTo */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"subscribeTo\", function() { return subscribeTo; });\n/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n/* harmony import */ var _subscribeToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./subscribeToArray */ \"./node_modules/rxjs/_esm2015/internal/util/subscribeToArray.js\");\n/* harmony import */ var _subscribeToPromise__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./subscribeToPromise */ \"./node_modules/rxjs/_esm2015/internal/util/subscribeToPromise.js\");\n/* harmony import */ var _subscribeToIterable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./subscribeToIterable */ \"./node_modules/rxjs/_esm2015/internal/util/subscribeToIterable.js\");\n/* harmony import */ var _subscribeToObservable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./subscribeToObservable */ \"./node_modules/rxjs/_esm2015/internal/util/subscribeToObservable.js\");\n/* harmony import */ var _isArrayLike__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./isArrayLike */ \"./node_modules/rxjs/_esm2015/internal/util/isArrayLike.js\");\n/* harmony import */ var _isPromise__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./isPromise */ \"./node_modules/rxjs/_esm2015/internal/util/isPromise.js\");\n/* harmony import */ var _isObject__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./isObject */ \"./node_modules/rxjs/_esm2015/internal/util/isObject.js\");\n/* harmony import */ var _symbol_iterator__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../symbol/iterator */ \"./node_modules/rxjs/_esm2015/internal/symbol/iterator.js\");\n/* harmony import */ var _symbol_observable__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../symbol/observable */ \"./node_modules/rxjs/_esm2015/internal/symbol/observable.js\");\n\n\n\n\n\n\n\n\n\n\nconst subscribeTo = (result) => {\n    if (result instanceof _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"]) {\n        return (subscriber) => {\n            if (result._isScalar) {\n                subscriber.next(result.value);\n                subscriber.complete();\n                return undefined;\n            }\n            else {\n                return result.subscribe(subscriber);\n            }\n        };\n    }\n    else if (!!result && typeof result[_symbol_observable__WEBPACK_IMPORTED_MODULE_9__[\"observable\"]] === 'function') {\n        return Object(_subscribeToObservable__WEBPACK_IMPORTED_MODULE_4__[\"subscribeToObservable\"])(result);\n    }\n    else if (Object(_isArrayLike__WEBPACK_IMPORTED_MODULE_5__[\"isArrayLike\"])(result)) {\n        return Object(_subscribeToArray__WEBPACK_IMPORTED_MODULE_1__[\"subscribeToArray\"])(result);\n    }\n    else if (Object(_isPromise__WEBPACK_IMPORTED_MODULE_6__[\"isPromise\"])(result)) {\n        return Object(_subscribeToPromise__WEBPACK_IMPORTED_MODULE_2__[\"subscribeToPromise\"])(result);\n    }\n    else if (!!result && typeof result[_symbol_iterator__WEBPACK_IMPORTED_MODULE_8__[\"iterator\"]] === 'function') {\n        return Object(_subscribeToIterable__WEBPACK_IMPORTED_MODULE_3__[\"subscribeToIterable\"])(result);\n    }\n    else {\n        const value = Object(_isObject__WEBPACK_IMPORTED_MODULE_7__[\"isObject\"])(result) ? 'an invalid object' : `'${result}'`;\n        const msg = `You provided ${value} where a stream was expected.`\n            + ' You can provide an Observable, Promise, Array, or Iterable.';\n        throw new TypeError(msg);\n    }\n};\n//# sourceMappingURL=subscribeTo.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/util/subscribeToArray.js\":\n/*!**********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/util/subscribeToArray.js ***!\n  \\**********************************************************************/\n/*! exports provided: subscribeToArray */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"subscribeToArray\", function() { return subscribeToArray; });\nconst subscribeToArray = (array) => (subscriber) => {\n    for (let i = 0, len = array.length; i < len && !subscriber.closed; i++) {\n        subscriber.next(array[i]);\n    }\n    if (!subscriber.closed) {\n        subscriber.complete();\n    }\n};\n//# sourceMappingURL=subscribeToArray.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/util/subscribeToIterable.js\":\n/*!*************************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/util/subscribeToIterable.js ***!\n  \\*************************************************************************/\n/*! exports provided: subscribeToIterable */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"subscribeToIterable\", function() { return subscribeToIterable; });\n/* harmony import */ var _symbol_iterator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../symbol/iterator */ \"./node_modules/rxjs/_esm2015/internal/symbol/iterator.js\");\n\nconst subscribeToIterable = (iterable) => (subscriber) => {\n    const iterator = iterable[_symbol_iterator__WEBPACK_IMPORTED_MODULE_0__[\"iterator\"]]();\n    do {\n        const item = iterator.next();\n        if (item.done) {\n            subscriber.complete();\n            break;\n        }\n        subscriber.next(item.value);\n        if (subscriber.closed) {\n            break;\n        }\n    } while (true);\n    if (typeof iterator.return === 'function') {\n        subscriber.add(() => {\n            if (iterator.return) {\n                iterator.return();\n            }\n        });\n    }\n    return subscriber;\n};\n//# sourceMappingURL=subscribeToIterable.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/util/subscribeToObservable.js\":\n/*!***************************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/util/subscribeToObservable.js ***!\n  \\***************************************************************************/\n/*! exports provided: subscribeToObservable */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"subscribeToObservable\", function() { return subscribeToObservable; });\n/* harmony import */ var _symbol_observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../symbol/observable */ \"./node_modules/rxjs/_esm2015/internal/symbol/observable.js\");\n\nconst subscribeToObservable = (obj) => (subscriber) => {\n    const obs = obj[_symbol_observable__WEBPACK_IMPORTED_MODULE_0__[\"observable\"]]();\n    if (typeof obs.subscribe !== 'function') {\n        throw new TypeError('Provided object does not correctly implement Symbol.observable');\n    }\n    else {\n        return obs.subscribe(subscriber);\n    }\n};\n//# sourceMappingURL=subscribeToObservable.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/util/subscribeToPromise.js\":\n/*!************************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/util/subscribeToPromise.js ***!\n  \\************************************************************************/\n/*! exports provided: subscribeToPromise */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"subscribeToPromise\", function() { return subscribeToPromise; });\n/* harmony import */ var _hostReportError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./hostReportError */ \"./node_modules/rxjs/_esm2015/internal/util/hostReportError.js\");\n\nconst subscribeToPromise = (promise) => (subscriber) => {\n    promise.then((value) => {\n        if (!subscriber.closed) {\n            subscriber.next(value);\n            subscriber.complete();\n        }\n    }, (err) => subscriber.error(err))\n        .then(null, _hostReportError__WEBPACK_IMPORTED_MODULE_0__[\"hostReportError\"]);\n    return subscriber;\n};\n//# sourceMappingURL=subscribeToPromise.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\":\n/*!***********************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js ***!\n  \\***********************************************************************/\n/*! exports provided: subscribeToResult */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"subscribeToResult\", function() { return subscribeToResult; });\n/* harmony import */ var _InnerSubscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../InnerSubscriber */ \"./node_modules/rxjs/_esm2015/internal/InnerSubscriber.js\");\n/* harmony import */ var _subscribeTo__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./subscribeTo */ \"./node_modules/rxjs/_esm2015/internal/util/subscribeTo.js\");\n\n\nfunction subscribeToResult(outerSubscriber, result, outerValue, outerIndex, destination = new _InnerSubscriber__WEBPACK_IMPORTED_MODULE_0__[\"InnerSubscriber\"](outerSubscriber, outerValue, outerIndex)) {\n    if (destination.closed) {\n        return;\n    }\n    return Object(_subscribeTo__WEBPACK_IMPORTED_MODULE_1__[\"subscribeTo\"])(result)(destination);\n}\n//# sourceMappingURL=subscribeToResult.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/internal/util/toSubscriber.js\":\n/*!******************************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/internal/util/toSubscriber.js ***!\n  \\******************************************************************/\n/*! exports provided: toSubscriber */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"toSubscriber\", function() { return toSubscriber; });\n/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n/* harmony import */ var _symbol_rxSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../symbol/rxSubscriber */ \"./node_modules/rxjs/_esm2015/internal/symbol/rxSubscriber.js\");\n/* harmony import */ var _Observer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Observer */ \"./node_modules/rxjs/_esm2015/internal/Observer.js\");\n\n\n\nfunction toSubscriber(nextOrObserver, error, complete) {\n    if (nextOrObserver) {\n        if (nextOrObserver instanceof _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]) {\n            return nextOrObserver;\n        }\n        if (nextOrObserver[_symbol_rxSubscriber__WEBPACK_IMPORTED_MODULE_1__[\"rxSubscriber\"]]) {\n            return nextOrObserver[_symbol_rxSubscriber__WEBPACK_IMPORTED_MODULE_1__[\"rxSubscriber\"]]();\n        }\n    }\n    if (!nextOrObserver && !error && !complete) {\n        return new _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"](_Observer__WEBPACK_IMPORTED_MODULE_2__[\"empty\"]);\n    }\n    return new _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"](nextOrObserver, error, complete);\n}\n//# sourceMappingURL=toSubscriber.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/rxjs/_esm2015/operators/index.js\":\n/*!*******************************************************!*\\\n  !*** ./node_modules/rxjs/_esm2015/operators/index.js ***!\n  \\*******************************************************/\n/*! exports provided: audit, auditTime, buffer, bufferCount, bufferTime, bufferToggle, bufferWhen, catchError, combineAll, combineLatest, concat, concatAll, concatMap, concatMapTo, count, debounce, debounceTime, defaultIfEmpty, delay, delayWhen, dematerialize, distinct, distinctUntilChanged, distinctUntilKeyChanged, elementAt, endWith, every, exhaust, exhaustMap, expand, filter, finalize, find, findIndex, first, groupBy, ignoreElements, isEmpty, last, map, mapTo, materialize, max, merge, mergeAll, mergeMap, flatMap, mergeMapTo, mergeScan, min, multicast, observeOn, onErrorResumeNext, pairwise, partition, pluck, publish, publishBehavior, publishLast, publishReplay, race, reduce, repeat, repeatWhen, retry, retryWhen, refCount, sample, sampleTime, scan, sequenceEqual, share, shareReplay, single, skip, skipLast, skipUntil, skipWhile, startWith, subscribeOn, switchAll, switchMap, switchMapTo, take, takeLast, takeUntil, takeWhile, tap, throttle, throttleTime, throwIfEmpty, timeInterval, timeout, timeoutWith, timestamp, toArray, window, windowCount, windowTime, windowToggle, windowWhen, withLatestFrom, zip, zipAll */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _internal_operators_audit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../internal/operators/audit */ \"./node_modules/rxjs/_esm2015/internal/operators/audit.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"audit\", function() { return _internal_operators_audit__WEBPACK_IMPORTED_MODULE_0__[\"audit\"]; });\n\n/* harmony import */ var _internal_operators_auditTime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../internal/operators/auditTime */ \"./node_modules/rxjs/_esm2015/internal/operators/auditTime.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"auditTime\", function() { return _internal_operators_auditTime__WEBPACK_IMPORTED_MODULE_1__[\"auditTime\"]; });\n\n/* harmony import */ var _internal_operators_buffer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../internal/operators/buffer */ \"./node_modules/rxjs/_esm2015/internal/operators/buffer.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"buffer\", function() { return _internal_operators_buffer__WEBPACK_IMPORTED_MODULE_2__[\"buffer\"]; });\n\n/* harmony import */ var _internal_operators_bufferCount__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../internal/operators/bufferCount */ \"./node_modules/rxjs/_esm2015/internal/operators/bufferCount.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"bufferCount\", function() { return _internal_operators_bufferCount__WEBPACK_IMPORTED_MODULE_3__[\"bufferCount\"]; });\n\n/* harmony import */ var _internal_operators_bufferTime__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../internal/operators/bufferTime */ \"./node_modules/rxjs/_esm2015/internal/operators/bufferTime.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"bufferTime\", function() { return _internal_operators_bufferTime__WEBPACK_IMPORTED_MODULE_4__[\"bufferTime\"]; });\n\n/* harmony import */ var _internal_operators_bufferToggle__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../internal/operators/bufferToggle */ \"./node_modules/rxjs/_esm2015/internal/operators/bufferToggle.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"bufferToggle\", function() { return _internal_operators_bufferToggle__WEBPACK_IMPORTED_MODULE_5__[\"bufferToggle\"]; });\n\n/* harmony import */ var _internal_operators_bufferWhen__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../internal/operators/bufferWhen */ \"./node_modules/rxjs/_esm2015/internal/operators/bufferWhen.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"bufferWhen\", function() { return _internal_operators_bufferWhen__WEBPACK_IMPORTED_MODULE_6__[\"bufferWhen\"]; });\n\n/* harmony import */ var _internal_operators_catchError__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../internal/operators/catchError */ \"./node_modules/rxjs/_esm2015/internal/operators/catchError.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"catchError\", function() { return _internal_operators_catchError__WEBPACK_IMPORTED_MODULE_7__[\"catchError\"]; });\n\n/* harmony import */ var _internal_operators_combineAll__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../internal/operators/combineAll */ \"./node_modules/rxjs/_esm2015/internal/operators/combineAll.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"combineAll\", function() { return _internal_operators_combineAll__WEBPACK_IMPORTED_MODULE_8__[\"combineAll\"]; });\n\n/* harmony import */ var _internal_operators_combineLatest__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../internal/operators/combineLatest */ \"./node_modules/rxjs/_esm2015/internal/operators/combineLatest.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"combineLatest\", function() { return _internal_operators_combineLatest__WEBPACK_IMPORTED_MODULE_9__[\"combineLatest\"]; });\n\n/* harmony import */ var _internal_operators_concat__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../internal/operators/concat */ \"./node_modules/rxjs/_esm2015/internal/operators/concat.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"concat\", function() { return _internal_operators_concat__WEBPACK_IMPORTED_MODULE_10__[\"concat\"]; });\n\n/* harmony import */ var _internal_operators_concatAll__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../internal/operators/concatAll */ \"./node_modules/rxjs/_esm2015/internal/operators/concatAll.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"concatAll\", function() { return _internal_operators_concatAll__WEBPACK_IMPORTED_MODULE_11__[\"concatAll\"]; });\n\n/* harmony import */ var _internal_operators_concatMap__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../internal/operators/concatMap */ \"./node_modules/rxjs/_esm2015/internal/operators/concatMap.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"concatMap\", function() { return _internal_operators_concatMap__WEBPACK_IMPORTED_MODULE_12__[\"concatMap\"]; });\n\n/* harmony import */ var _internal_operators_concatMapTo__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../internal/operators/concatMapTo */ \"./node_modules/rxjs/_esm2015/internal/operators/concatMapTo.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"concatMapTo\", function() { return _internal_operators_concatMapTo__WEBPACK_IMPORTED_MODULE_13__[\"concatMapTo\"]; });\n\n/* harmony import */ var _internal_operators_count__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../internal/operators/count */ \"./node_modules/rxjs/_esm2015/internal/operators/count.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"count\", function() { return _internal_operators_count__WEBPACK_IMPORTED_MODULE_14__[\"count\"]; });\n\n/* harmony import */ var _internal_operators_debounce__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../internal/operators/debounce */ \"./node_modules/rxjs/_esm2015/internal/operators/debounce.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"debounce\", function() { return _internal_operators_debounce__WEBPACK_IMPORTED_MODULE_15__[\"debounce\"]; });\n\n/* harmony import */ var _internal_operators_debounceTime__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../internal/operators/debounceTime */ \"./node_modules/rxjs/_esm2015/internal/operators/debounceTime.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"debounceTime\", function() { return _internal_operators_debounceTime__WEBPACK_IMPORTED_MODULE_16__[\"debounceTime\"]; });\n\n/* harmony import */ var _internal_operators_defaultIfEmpty__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../internal/operators/defaultIfEmpty */ \"./node_modules/rxjs/_esm2015/internal/operators/defaultIfEmpty.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"defaultIfEmpty\", function() { return _internal_operators_defaultIfEmpty__WEBPACK_IMPORTED_MODULE_17__[\"defaultIfEmpty\"]; });\n\n/* harmony import */ var _internal_operators_delay__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../internal/operators/delay */ \"./node_modules/rxjs/_esm2015/internal/operators/delay.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"delay\", function() { return _internal_operators_delay__WEBPACK_IMPORTED_MODULE_18__[\"delay\"]; });\n\n/* harmony import */ var _internal_operators_delayWhen__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../internal/operators/delayWhen */ \"./node_modules/rxjs/_esm2015/internal/operators/delayWhen.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"delayWhen\", function() { return _internal_operators_delayWhen__WEBPACK_IMPORTED_MODULE_19__[\"delayWhen\"]; });\n\n/* harmony import */ var _internal_operators_dematerialize__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../internal/operators/dematerialize */ \"./node_modules/rxjs/_esm2015/internal/operators/dematerialize.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"dematerialize\", function() { return _internal_operators_dematerialize__WEBPACK_IMPORTED_MODULE_20__[\"dematerialize\"]; });\n\n/* harmony import */ var _internal_operators_distinct__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../internal/operators/distinct */ \"./node_modules/rxjs/_esm2015/internal/operators/distinct.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"distinct\", function() { return _internal_operators_distinct__WEBPACK_IMPORTED_MODULE_21__[\"distinct\"]; });\n\n/* harmony import */ var _internal_operators_distinctUntilChanged__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../internal/operators/distinctUntilChanged */ \"./node_modules/rxjs/_esm2015/internal/operators/distinctUntilChanged.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"distinctUntilChanged\", function() { return _internal_operators_distinctUntilChanged__WEBPACK_IMPORTED_MODULE_22__[\"distinctUntilChanged\"]; });\n\n/* harmony import */ var _internal_operators_distinctUntilKeyChanged__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ../internal/operators/distinctUntilKeyChanged */ \"./node_modules/rxjs/_esm2015/internal/operators/distinctUntilKeyChanged.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"distinctUntilKeyChanged\", function() { return _internal_operators_distinctUntilKeyChanged__WEBPACK_IMPORTED_MODULE_23__[\"distinctUntilKeyChanged\"]; });\n\n/* harmony import */ var _internal_operators_elementAt__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../internal/operators/elementAt */ \"./node_modules/rxjs/_esm2015/internal/operators/elementAt.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"elementAt\", function() { return _internal_operators_elementAt__WEBPACK_IMPORTED_MODULE_24__[\"elementAt\"]; });\n\n/* harmony import */ var _internal_operators_endWith__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../internal/operators/endWith */ \"./node_modules/rxjs/_esm2015/internal/operators/endWith.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"endWith\", function() { return _internal_operators_endWith__WEBPACK_IMPORTED_MODULE_25__[\"endWith\"]; });\n\n/* harmony import */ var _internal_operators_every__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ../internal/operators/every */ \"./node_modules/rxjs/_esm2015/internal/operators/every.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"every\", function() { return _internal_operators_every__WEBPACK_IMPORTED_MODULE_26__[\"every\"]; });\n\n/* harmony import */ var _internal_operators_exhaust__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ../internal/operators/exhaust */ \"./node_modules/rxjs/_esm2015/internal/operators/exhaust.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"exhaust\", function() { return _internal_operators_exhaust__WEBPACK_IMPORTED_MODULE_27__[\"exhaust\"]; });\n\n/* harmony import */ var _internal_operators_exhaustMap__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ../internal/operators/exhaustMap */ \"./node_modules/rxjs/_esm2015/internal/operators/exhaustMap.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"exhaustMap\", function() { return _internal_operators_exhaustMap__WEBPACK_IMPORTED_MODULE_28__[\"exhaustMap\"]; });\n\n/* harmony import */ var _internal_operators_expand__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ../internal/operators/expand */ \"./node_modules/rxjs/_esm2015/internal/operators/expand.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"expand\", function() { return _internal_operators_expand__WEBPACK_IMPORTED_MODULE_29__[\"expand\"]; });\n\n/* harmony import */ var _internal_operators_filter__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ../internal/operators/filter */ \"./node_modules/rxjs/_esm2015/internal/operators/filter.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"filter\", function() { return _internal_operators_filter__WEBPACK_IMPORTED_MODULE_30__[\"filter\"]; });\n\n/* harmony import */ var _internal_operators_finalize__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ../internal/operators/finalize */ \"./node_modules/rxjs/_esm2015/internal/operators/finalize.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"finalize\", function() { return _internal_operators_finalize__WEBPACK_IMPORTED_MODULE_31__[\"finalize\"]; });\n\n/* harmony import */ var _internal_operators_find__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ../internal/operators/find */ \"./node_modules/rxjs/_esm2015/internal/operators/find.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"find\", function() { return _internal_operators_find__WEBPACK_IMPORTED_MODULE_32__[\"find\"]; });\n\n/* harmony import */ var _internal_operators_findIndex__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ../internal/operators/findIndex */ \"./node_modules/rxjs/_esm2015/internal/operators/findIndex.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"findIndex\", function() { return _internal_operators_findIndex__WEBPACK_IMPORTED_MODULE_33__[\"findIndex\"]; });\n\n/* harmony import */ var _internal_operators_first__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ../internal/operators/first */ \"./node_modules/rxjs/_esm2015/internal/operators/first.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"first\", function() { return _internal_operators_first__WEBPACK_IMPORTED_MODULE_34__[\"first\"]; });\n\n/* harmony import */ var _internal_operators_groupBy__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ../internal/operators/groupBy */ \"./node_modules/rxjs/_esm2015/internal/operators/groupBy.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"groupBy\", function() { return _internal_operators_groupBy__WEBPACK_IMPORTED_MODULE_35__[\"groupBy\"]; });\n\n/* harmony import */ var _internal_operators_ignoreElements__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ../internal/operators/ignoreElements */ \"./node_modules/rxjs/_esm2015/internal/operators/ignoreElements.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"ignoreElements\", function() { return _internal_operators_ignoreElements__WEBPACK_IMPORTED_MODULE_36__[\"ignoreElements\"]; });\n\n/* harmony import */ var _internal_operators_isEmpty__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ../internal/operators/isEmpty */ \"./node_modules/rxjs/_esm2015/internal/operators/isEmpty.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"isEmpty\", function() { return _internal_operators_isEmpty__WEBPACK_IMPORTED_MODULE_37__[\"isEmpty\"]; });\n\n/* harmony import */ var _internal_operators_last__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ../internal/operators/last */ \"./node_modules/rxjs/_esm2015/internal/operators/last.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"last\", function() { return _internal_operators_last__WEBPACK_IMPORTED_MODULE_38__[\"last\"]; });\n\n/* harmony import */ var _internal_operators_map__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ../internal/operators/map */ \"./node_modules/rxjs/_esm2015/internal/operators/map.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"map\", function() { return _internal_operators_map__WEBPACK_IMPORTED_MODULE_39__[\"map\"]; });\n\n/* harmony import */ var _internal_operators_mapTo__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ../internal/operators/mapTo */ \"./node_modules/rxjs/_esm2015/internal/operators/mapTo.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"mapTo\", function() { return _internal_operators_mapTo__WEBPACK_IMPORTED_MODULE_40__[\"mapTo\"]; });\n\n/* harmony import */ var _internal_operators_materialize__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ../internal/operators/materialize */ \"./node_modules/rxjs/_esm2015/internal/operators/materialize.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"materialize\", function() { return _internal_operators_materialize__WEBPACK_IMPORTED_MODULE_41__[\"materialize\"]; });\n\n/* harmony import */ var _internal_operators_max__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ../internal/operators/max */ \"./node_modules/rxjs/_esm2015/internal/operators/max.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"max\", function() { return _internal_operators_max__WEBPACK_IMPORTED_MODULE_42__[\"max\"]; });\n\n/* harmony import */ var _internal_operators_merge__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ../internal/operators/merge */ \"./node_modules/rxjs/_esm2015/internal/operators/merge.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"merge\", function() { return _internal_operators_merge__WEBPACK_IMPORTED_MODULE_43__[\"merge\"]; });\n\n/* harmony import */ var _internal_operators_mergeAll__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ../internal/operators/mergeAll */ \"./node_modules/rxjs/_esm2015/internal/operators/mergeAll.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"mergeAll\", function() { return _internal_operators_mergeAll__WEBPACK_IMPORTED_MODULE_44__[\"mergeAll\"]; });\n\n/* harmony import */ var _internal_operators_mergeMap__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ../internal/operators/mergeMap */ \"./node_modules/rxjs/_esm2015/internal/operators/mergeMap.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"mergeMap\", function() { return _internal_operators_mergeMap__WEBPACK_IMPORTED_MODULE_45__[\"mergeMap\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"flatMap\", function() { return _internal_operators_mergeMap__WEBPACK_IMPORTED_MODULE_45__[\"mergeMap\"]; });\n\n/* harmony import */ var _internal_operators_mergeMapTo__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ../internal/operators/mergeMapTo */ \"./node_modules/rxjs/_esm2015/internal/operators/mergeMapTo.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"mergeMapTo\", function() { return _internal_operators_mergeMapTo__WEBPACK_IMPORTED_MODULE_46__[\"mergeMapTo\"]; });\n\n/* harmony import */ var _internal_operators_mergeScan__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ../internal/operators/mergeScan */ \"./node_modules/rxjs/_esm2015/internal/operators/mergeScan.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"mergeScan\", function() { return _internal_operators_mergeScan__WEBPACK_IMPORTED_MODULE_47__[\"mergeScan\"]; });\n\n/* harmony import */ var _internal_operators_min__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ../internal/operators/min */ \"./node_modules/rxjs/_esm2015/internal/operators/min.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"min\", function() { return _internal_operators_min__WEBPACK_IMPORTED_MODULE_48__[\"min\"]; });\n\n/* harmony import */ var _internal_operators_multicast__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ../internal/operators/multicast */ \"./node_modules/rxjs/_esm2015/internal/operators/multicast.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"multicast\", function() { return _internal_operators_multicast__WEBPACK_IMPORTED_MODULE_49__[\"multicast\"]; });\n\n/* harmony import */ var _internal_operators_observeOn__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ../internal/operators/observeOn */ \"./node_modules/rxjs/_esm2015/internal/operators/observeOn.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"observeOn\", function() { return _internal_operators_observeOn__WEBPACK_IMPORTED_MODULE_50__[\"observeOn\"]; });\n\n/* harmony import */ var _internal_operators_onErrorResumeNext__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ../internal/operators/onErrorResumeNext */ \"./node_modules/rxjs/_esm2015/internal/operators/onErrorResumeNext.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"onErrorResumeNext\", function() { return _internal_operators_onErrorResumeNext__WEBPACK_IMPORTED_MODULE_51__[\"onErrorResumeNext\"]; });\n\n/* harmony import */ var _internal_operators_pairwise__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ../internal/operators/pairwise */ \"./node_modules/rxjs/_esm2015/internal/operators/pairwise.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"pairwise\", function() { return _internal_operators_pairwise__WEBPACK_IMPORTED_MODULE_52__[\"pairwise\"]; });\n\n/* harmony import */ var _internal_operators_partition__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ../internal/operators/partition */ \"./node_modules/rxjs/_esm2015/internal/operators/partition.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"partition\", function() { return _internal_operators_partition__WEBPACK_IMPORTED_MODULE_53__[\"partition\"]; });\n\n/* harmony import */ var _internal_operators_pluck__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ../internal/operators/pluck */ \"./node_modules/rxjs/_esm2015/internal/operators/pluck.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"pluck\", function() { return _internal_operators_pluck__WEBPACK_IMPORTED_MODULE_54__[\"pluck\"]; });\n\n/* harmony import */ var _internal_operators_publish__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ../internal/operators/publish */ \"./node_modules/rxjs/_esm2015/internal/operators/publish.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"publish\", function() { return _internal_operators_publish__WEBPACK_IMPORTED_MODULE_55__[\"publish\"]; });\n\n/* harmony import */ var _internal_operators_publishBehavior__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ../internal/operators/publishBehavior */ \"./node_modules/rxjs/_esm2015/internal/operators/publishBehavior.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"publishBehavior\", function() { return _internal_operators_publishBehavior__WEBPACK_IMPORTED_MODULE_56__[\"publishBehavior\"]; });\n\n/* harmony import */ var _internal_operators_publishLast__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ../internal/operators/publishLast */ \"./node_modules/rxjs/_esm2015/internal/operators/publishLast.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"publishLast\", function() { return _internal_operators_publishLast__WEBPACK_IMPORTED_MODULE_57__[\"publishLast\"]; });\n\n/* harmony import */ var _internal_operators_publishReplay__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ../internal/operators/publishReplay */ \"./node_modules/rxjs/_esm2015/internal/operators/publishReplay.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"publishReplay\", function() { return _internal_operators_publishReplay__WEBPACK_IMPORTED_MODULE_58__[\"publishReplay\"]; });\n\n/* harmony import */ var _internal_operators_race__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ../internal/operators/race */ \"./node_modules/rxjs/_esm2015/internal/operators/race.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"race\", function() { return _internal_operators_race__WEBPACK_IMPORTED_MODULE_59__[\"race\"]; });\n\n/* harmony import */ var _internal_operators_reduce__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ../internal/operators/reduce */ \"./node_modules/rxjs/_esm2015/internal/operators/reduce.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"reduce\", function() { return _internal_operators_reduce__WEBPACK_IMPORTED_MODULE_60__[\"reduce\"]; });\n\n/* harmony import */ var _internal_operators_repeat__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ../internal/operators/repeat */ \"./node_modules/rxjs/_esm2015/internal/operators/repeat.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"repeat\", function() { return _internal_operators_repeat__WEBPACK_IMPORTED_MODULE_61__[\"repeat\"]; });\n\n/* harmony import */ var _internal_operators_repeatWhen__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ../internal/operators/repeatWhen */ \"./node_modules/rxjs/_esm2015/internal/operators/repeatWhen.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"repeatWhen\", function() { return _internal_operators_repeatWhen__WEBPACK_IMPORTED_MODULE_62__[\"repeatWhen\"]; });\n\n/* harmony import */ var _internal_operators_retry__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ../internal/operators/retry */ \"./node_modules/rxjs/_esm2015/internal/operators/retry.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"retry\", function() { return _internal_operators_retry__WEBPACK_IMPORTED_MODULE_63__[\"retry\"]; });\n\n/* harmony import */ var _internal_operators_retryWhen__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ../internal/operators/retryWhen */ \"./node_modules/rxjs/_esm2015/internal/operators/retryWhen.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"retryWhen\", function() { return _internal_operators_retryWhen__WEBPACK_IMPORTED_MODULE_64__[\"retryWhen\"]; });\n\n/* harmony import */ var _internal_operators_refCount__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ../internal/operators/refCount */ \"./node_modules/rxjs/_esm2015/internal/operators/refCount.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"refCount\", function() { return _internal_operators_refCount__WEBPACK_IMPORTED_MODULE_65__[\"refCount\"]; });\n\n/* harmony import */ var _internal_operators_sample__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ../internal/operators/sample */ \"./node_modules/rxjs/_esm2015/internal/operators/sample.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"sample\", function() { return _internal_operators_sample__WEBPACK_IMPORTED_MODULE_66__[\"sample\"]; });\n\n/* harmony import */ var _internal_operators_sampleTime__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! ../internal/operators/sampleTime */ \"./node_modules/rxjs/_esm2015/internal/operators/sampleTime.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"sampleTime\", function() { return _internal_operators_sampleTime__WEBPACK_IMPORTED_MODULE_67__[\"sampleTime\"]; });\n\n/* harmony import */ var _internal_operators_scan__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! ../internal/operators/scan */ \"./node_modules/rxjs/_esm2015/internal/operators/scan.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"scan\", function() { return _internal_operators_scan__WEBPACK_IMPORTED_MODULE_68__[\"scan\"]; });\n\n/* harmony import */ var _internal_operators_sequenceEqual__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! ../internal/operators/sequenceEqual */ \"./node_modules/rxjs/_esm2015/internal/operators/sequenceEqual.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"sequenceEqual\", function() { return _internal_operators_sequenceEqual__WEBPACK_IMPORTED_MODULE_69__[\"sequenceEqual\"]; });\n\n/* harmony import */ var _internal_operators_share__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! ../internal/operators/share */ \"./node_modules/rxjs/_esm2015/internal/operators/share.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"share\", function() { return _internal_operators_share__WEBPACK_IMPORTED_MODULE_70__[\"share\"]; });\n\n/* harmony import */ var _internal_operators_shareReplay__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! ../internal/operators/shareReplay */ \"./node_modules/rxjs/_esm2015/internal/operators/shareReplay.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"shareReplay\", function() { return _internal_operators_shareReplay__WEBPACK_IMPORTED_MODULE_71__[\"shareReplay\"]; });\n\n/* harmony import */ var _internal_operators_single__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! ../internal/operators/single */ \"./node_modules/rxjs/_esm2015/internal/operators/single.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"single\", function() { return _internal_operators_single__WEBPACK_IMPORTED_MODULE_72__[\"single\"]; });\n\n/* harmony import */ var _internal_operators_skip__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(/*! ../internal/operators/skip */ \"./node_modules/rxjs/_esm2015/internal/operators/skip.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"skip\", function() { return _internal_operators_skip__WEBPACK_IMPORTED_MODULE_73__[\"skip\"]; });\n\n/* harmony import */ var _internal_operators_skipLast__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! ../internal/operators/skipLast */ \"./node_modules/rxjs/_esm2015/internal/operators/skipLast.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"skipLast\", function() { return _internal_operators_skipLast__WEBPACK_IMPORTED_MODULE_74__[\"skipLast\"]; });\n\n/* harmony import */ var _internal_operators_skipUntil__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! ../internal/operators/skipUntil */ \"./node_modules/rxjs/_esm2015/internal/operators/skipUntil.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"skipUntil\", function() { return _internal_operators_skipUntil__WEBPACK_IMPORTED_MODULE_75__[\"skipUntil\"]; });\n\n/* harmony import */ var _internal_operators_skipWhile__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(/*! ../internal/operators/skipWhile */ \"./node_modules/rxjs/_esm2015/internal/operators/skipWhile.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"skipWhile\", function() { return _internal_operators_skipWhile__WEBPACK_IMPORTED_MODULE_76__[\"skipWhile\"]; });\n\n/* harmony import */ var _internal_operators_startWith__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(/*! ../internal/operators/startWith */ \"./node_modules/rxjs/_esm2015/internal/operators/startWith.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"startWith\", function() { return _internal_operators_startWith__WEBPACK_IMPORTED_MODULE_77__[\"startWith\"]; });\n\n/* harmony import */ var _internal_operators_subscribeOn__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(/*! ../internal/operators/subscribeOn */ \"./node_modules/rxjs/_esm2015/internal/operators/subscribeOn.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"subscribeOn\", function() { return _internal_operators_subscribeOn__WEBPACK_IMPORTED_MODULE_78__[\"subscribeOn\"]; });\n\n/* harmony import */ var _internal_operators_switchAll__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(/*! ../internal/operators/switchAll */ \"./node_modules/rxjs/_esm2015/internal/operators/switchAll.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"switchAll\", function() { return _internal_operators_switchAll__WEBPACK_IMPORTED_MODULE_79__[\"switchAll\"]; });\n\n/* harmony import */ var _internal_operators_switchMap__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__(/*! ../internal/operators/switchMap */ \"./node_modules/rxjs/_esm2015/internal/operators/switchMap.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"switchMap\", function() { return _internal_operators_switchMap__WEBPACK_IMPORTED_MODULE_80__[\"switchMap\"]; });\n\n/* harmony import */ var _internal_operators_switchMapTo__WEBPACK_IMPORTED_MODULE_81__ = __webpack_require__(/*! ../internal/operators/switchMapTo */ \"./node_modules/rxjs/_esm2015/internal/operators/switchMapTo.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"switchMapTo\", function() { return _internal_operators_switchMapTo__WEBPACK_IMPORTED_MODULE_81__[\"switchMapTo\"]; });\n\n/* harmony import */ var _internal_operators_take__WEBPACK_IMPORTED_MODULE_82__ = __webpack_require__(/*! ../internal/operators/take */ \"./node_modules/rxjs/_esm2015/internal/operators/take.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"take\", function() { return _internal_operators_take__WEBPACK_IMPORTED_MODULE_82__[\"take\"]; });\n\n/* harmony import */ var _internal_operators_takeLast__WEBPACK_IMPORTED_MODULE_83__ = __webpack_require__(/*! ../internal/operators/takeLast */ \"./node_modules/rxjs/_esm2015/internal/operators/takeLast.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"takeLast\", function() { return _internal_operators_takeLast__WEBPACK_IMPORTED_MODULE_83__[\"takeLast\"]; });\n\n/* harmony import */ var _internal_operators_takeUntil__WEBPACK_IMPORTED_MODULE_84__ = __webpack_require__(/*! ../internal/operators/takeUntil */ \"./node_modules/rxjs/_esm2015/internal/operators/takeUntil.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"takeUntil\", function() { return _internal_operators_takeUntil__WEBPACK_IMPORTED_MODULE_84__[\"takeUntil\"]; });\n\n/* harmony import */ var _internal_operators_takeWhile__WEBPACK_IMPORTED_MODULE_85__ = __webpack_require__(/*! ../internal/operators/takeWhile */ \"./node_modules/rxjs/_esm2015/internal/operators/takeWhile.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"takeWhile\", function() { return _internal_operators_takeWhile__WEBPACK_IMPORTED_MODULE_85__[\"takeWhile\"]; });\n\n/* harmony import */ var _internal_operators_tap__WEBPACK_IMPORTED_MODULE_86__ = __webpack_require__(/*! ../internal/operators/tap */ \"./node_modules/rxjs/_esm2015/internal/operators/tap.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"tap\", function() { return _internal_operators_tap__WEBPACK_IMPORTED_MODULE_86__[\"tap\"]; });\n\n/* harmony import */ var _internal_operators_throttle__WEBPACK_IMPORTED_MODULE_87__ = __webpack_require__(/*! ../internal/operators/throttle */ \"./node_modules/rxjs/_esm2015/internal/operators/throttle.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"throttle\", function() { return _internal_operators_throttle__WEBPACK_IMPORTED_MODULE_87__[\"throttle\"]; });\n\n/* harmony import */ var _internal_operators_throttleTime__WEBPACK_IMPORTED_MODULE_88__ = __webpack_require__(/*! ../internal/operators/throttleTime */ \"./node_modules/rxjs/_esm2015/internal/operators/throttleTime.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"throttleTime\", function() { return _internal_operators_throttleTime__WEBPACK_IMPORTED_MODULE_88__[\"throttleTime\"]; });\n\n/* harmony import */ var _internal_operators_throwIfEmpty__WEBPACK_IMPORTED_MODULE_89__ = __webpack_require__(/*! ../internal/operators/throwIfEmpty */ \"./node_modules/rxjs/_esm2015/internal/operators/throwIfEmpty.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"throwIfEmpty\", function() { return _internal_operators_throwIfEmpty__WEBPACK_IMPORTED_MODULE_89__[\"throwIfEmpty\"]; });\n\n/* harmony import */ var _internal_operators_timeInterval__WEBPACK_IMPORTED_MODULE_90__ = __webpack_require__(/*! ../internal/operators/timeInterval */ \"./node_modules/rxjs/_esm2015/internal/operators/timeInterval.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"timeInterval\", function() { return _internal_operators_timeInterval__WEBPACK_IMPORTED_MODULE_90__[\"timeInterval\"]; });\n\n/* harmony import */ var _internal_operators_timeout__WEBPACK_IMPORTED_MODULE_91__ = __webpack_require__(/*! ../internal/operators/timeout */ \"./node_modules/rxjs/_esm2015/internal/operators/timeout.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"timeout\", function() { return _internal_operators_timeout__WEBPACK_IMPORTED_MODULE_91__[\"timeout\"]; });\n\n/* harmony import */ var _internal_operators_timeoutWith__WEBPACK_IMPORTED_MODULE_92__ = __webpack_require__(/*! ../internal/operators/timeoutWith */ \"./node_modules/rxjs/_esm2015/internal/operators/timeoutWith.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"timeoutWith\", function() { return _internal_operators_timeoutWith__WEBPACK_IMPORTED_MODULE_92__[\"timeoutWith\"]; });\n\n/* harmony import */ var _internal_operators_timestamp__WEBPACK_IMPORTED_MODULE_93__ = __webpack_require__(/*! ../internal/operators/timestamp */ \"./node_modules/rxjs/_esm2015/internal/operators/timestamp.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"timestamp\", function() { return _internal_operators_timestamp__WEBPACK_IMPORTED_MODULE_93__[\"timestamp\"]; });\n\n/* harmony import */ var _internal_operators_toArray__WEBPACK_IMPORTED_MODULE_94__ = __webpack_require__(/*! ../internal/operators/toArray */ \"./node_modules/rxjs/_esm2015/internal/operators/toArray.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"toArray\", function() { return _internal_operators_toArray__WEBPACK_IMPORTED_MODULE_94__[\"toArray\"]; });\n\n/* harmony import */ var _internal_operators_window__WEBPACK_IMPORTED_MODULE_95__ = __webpack_require__(/*! ../internal/operators/window */ \"./node_modules/rxjs/_esm2015/internal/operators/window.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"window\", function() { return _internal_operators_window__WEBPACK_IMPORTED_MODULE_95__[\"window\"]; });\n\n/* harmony import */ var _internal_operators_windowCount__WEBPACK_IMPORTED_MODULE_96__ = __webpack_require__(/*! ../internal/operators/windowCount */ \"./node_modules/rxjs/_esm2015/internal/operators/windowCount.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"windowCount\", function() { return _internal_operators_windowCount__WEBPACK_IMPORTED_MODULE_96__[\"windowCount\"]; });\n\n/* harmony import */ var _internal_operators_windowTime__WEBPACK_IMPORTED_MODULE_97__ = __webpack_require__(/*! ../internal/operators/windowTime */ \"./node_modules/rxjs/_esm2015/internal/operators/windowTime.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"windowTime\", function() { return _internal_operators_windowTime__WEBPACK_IMPORTED_MODULE_97__[\"windowTime\"]; });\n\n/* harmony import */ var _internal_operators_windowToggle__WEBPACK_IMPORTED_MODULE_98__ = __webpack_require__(/*! ../internal/operators/windowToggle */ \"./node_modules/rxjs/_esm2015/internal/operators/windowToggle.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"windowToggle\", function() { return _internal_operators_windowToggle__WEBPACK_IMPORTED_MODULE_98__[\"windowToggle\"]; });\n\n/* harmony import */ var _internal_operators_windowWhen__WEBPACK_IMPORTED_MODULE_99__ = __webpack_require__(/*! ../internal/operators/windowWhen */ \"./node_modules/rxjs/_esm2015/internal/operators/windowWhen.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"windowWhen\", function() { return _internal_operators_windowWhen__WEBPACK_IMPORTED_MODULE_99__[\"windowWhen\"]; });\n\n/* harmony import */ var _internal_operators_withLatestFrom__WEBPACK_IMPORTED_MODULE_100__ = __webpack_require__(/*! ../internal/operators/withLatestFrom */ \"./node_modules/rxjs/_esm2015/internal/operators/withLatestFrom.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"withLatestFrom\", function() { return _internal_operators_withLatestFrom__WEBPACK_IMPORTED_MODULE_100__[\"withLatestFrom\"]; });\n\n/* harmony import */ var _internal_operators_zip__WEBPACK_IMPORTED_MODULE_101__ = __webpack_require__(/*! ../internal/operators/zip */ \"./node_modules/rxjs/_esm2015/internal/operators/zip.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"zip\", function() { return _internal_operators_zip__WEBPACK_IMPORTED_MODULE_101__[\"zip\"]; });\n\n/* harmony import */ var _internal_operators_zipAll__WEBPACK_IMPORTED_MODULE_102__ = __webpack_require__(/*! ../internal/operators/zipAll */ \"./node_modules/rxjs/_esm2015/internal/operators/zipAll.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"zipAll\", function() { return _internal_operators_zipAll__WEBPACK_IMPORTED_MODULE_102__[\"zipAll\"]; });\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n//# sourceMappingURL=index.js.map\n\n/***/ })\n\n}]);"
  },
  {
    "path": "frontend/dist/obscurify3/vendor-es5.js",
    "content": "function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _toArray(arr) { return _arrayWithHoles(arr) || _iterableToArray(arr) || _nonIterableRest(); }\n\nfunction isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _construct(Parent, args, Class) { if (isNativeReflectConstruct()) { _construct = Reflect.construct; } else { _construct = function _construct(Parent, args, Class) { var a = [null]; a.push.apply(a, args); var Constructor = Function.bind.apply(Parent, a); var instance = new Constructor(); if (Class) _setPrototypeOf(instance, Class.prototype); return instance; }; } return _construct.apply(null, arguments); }\n\nfunction _get(target, property, receiver) { if (typeof Reflect !== \"undefined\" && Reflect.get) { _get = Reflect.get; } else { _get = function _get(target, property, receiver) { var base = _superPropBase(target, property); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(receiver); } return desc.value; }; } return _get(target, property, receiver || target); }\n\nfunction _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (typeof call === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); }\n\nfunction _iterableToArrayLimit(arr, i) { if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === \"[object Arguments]\")) { return; } var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance\"); }\n\nfunction _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass2(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\n(window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || []).push([[\"vendor\"], {\n  /***/\n  \"./node_modules/@angular/animations/fesm2015/animations.js\":\n  /*!*****************************************************************!*\\\n    !*** ./node_modules/@angular/animations/fesm2015/animations.js ***!\n    \\*****************************************************************/\n\n  /*! exports provided: AnimationBuilder, AnimationFactory, AUTO_STYLE, animate, animateChild, animation, group, keyframes, query, sequence, stagger, state, style, transition, trigger, useAnimation, NoopAnimationPlayer, ɵAnimationGroupPlayer, ɵPRE_STYLE */\n\n  /***/\n  function node_modulesAngularAnimationsFesm2015AnimationsJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"AnimationBuilder\", function () {\n      return AnimationBuilder;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"AnimationFactory\", function () {\n      return AnimationFactory;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"AUTO_STYLE\", function () {\n      return AUTO_STYLE;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"animate\", function () {\n      return animate;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"animateChild\", function () {\n      return animateChild;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"animation\", function () {\n      return animation;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"group\", function () {\n      return group;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"keyframes\", function () {\n      return keyframes;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"query\", function () {\n      return query;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"sequence\", function () {\n      return sequence;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"stagger\", function () {\n      return stagger;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"state\", function () {\n      return state;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"style\", function () {\n      return style;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"transition\", function () {\n      return transition;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"trigger\", function () {\n      return trigger;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"useAnimation\", function () {\n      return useAnimation;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NoopAnimationPlayer\", function () {\n      return NoopAnimationPlayer;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵAnimationGroupPlayer\", function () {\n      return AnimationGroupPlayer;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵPRE_STYLE\", function () {\n      return ɵPRE_STYLE;\n    });\n    /**\n     * @license Angular v8.2.14\n     * (c) 2010-2019 Google LLC. https://angular.io/\n     * License: MIT\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * An injectable service that produces an animation sequence programmatically within an\n     * Angular component or directive.\n     * Provided by the `BrowserAnimationsModule` or `NoopAnimationsModule`.\n     *\n     * \\@usageNotes\n     *\n     * To use this service, add it to your component or directive as a dependency.\n     * The service is instantiated along with your component.\n     *\n     * Apps do not typically need to create their own animation players, but if you\n     * do need to, follow these steps:\n     *\n     * 1. Use the `build()` method to create a programmatic animation using the\n     * `animate()` function. The method returns an `AnimationFactory` instance.\n     *\n     * 2. Use the factory object to create an `AnimationPlayer` and attach it to a DOM element.\n     *\n     * 3. Use the player object to control the animation programmatically.\n     *\n     * For example:\n     *\n     * ```ts\n     * // import the service from BrowserAnimationsModule\n     * import {AnimationBuilder} from '\\@angular/animations';\n     * // require the service as a dependency\n     * class MyCmp {\n     *   constructor(private _builder: AnimationBuilder) {}\n     *\n     *   makeAnimation(element: any) {\n     *     // first define a reusable animation\n     *     const myAnimation = this._builder.build([\n     *       style({ width: 0 }),\n     *       animate(1000, style({ width: '100px' }))\n     *     ]);\n     *\n     *     // use the returned factory object to create a player\n     *     const player = myAnimation.create(element);\n     *\n     *     player.play();\n     *   }\n     * }\n     * ```\n     *\n     * \\@publicApi\n     * @abstract\n     */\n\n\n    var AnimationBuilder = function AnimationBuilder() {\n      _classCallCheck(this, AnimationBuilder);\n    };\n\n    if (false) {}\n    /**\n     * A factory object returned from the `AnimationBuilder`.`build()` method.\n     *\n     * \\@publicApi\n     * @abstract\n     */\n\n\n    var AnimationFactory = function AnimationFactory() {\n      _classCallCheck(this, AnimationFactory);\n    };\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * Represents a set of CSS styles for use in an animation style.\n     * @record\n     */\n\n\n    function ɵStyleData() {}\n    /** @enum {number} */\n\n\n    var AnimationMetadataType = {\n      /**\n       * Associates a named animation state with a set of CSS styles.\n       * See `state()`\n       */\n      State: 0,\n\n      /**\n       * Data for a transition from one animation state to another.\n       * See `transition()`\n       */\n      Transition: 1,\n\n      /**\n       * Contains a set of animation steps.\n       * See `sequence()`\n       */\n      Sequence: 2,\n\n      /**\n       * Contains a set of animation steps.\n       * See `{@link animations/group group()}`\n       */\n      Group: 3,\n\n      /**\n       * Contains an animation step.\n       * See `animate()`\n       */\n      Animate: 4,\n\n      /**\n       * Contains a set of animation steps.\n       * See `keyframes()`\n       */\n      Keyframes: 5,\n\n      /**\n       * Contains a set of CSS property-value pairs into a named style.\n       * See `style()`\n       */\n      Style: 6,\n\n      /**\n       * Associates an animation with an entry trigger that can be attached to an element.\n       * See `trigger()`\n       */\n      Trigger: 7,\n\n      /**\n       * Contains a re-usable animation.\n       * See `animation()`\n       */\n      Reference: 8,\n\n      /**\n       * Contains data to use in executing child animations returned by a query.\n       * See `animateChild()`\n       */\n      AnimateChild: 9,\n\n      /**\n       * Contains animation parameters for a re-usable animation.\n       * See `useAnimation()`\n       */\n      AnimateRef: 10,\n\n      /**\n       * Contains child-animation query data.\n       * See `query()`\n       */\n      Query: 11,\n\n      /**\n       * Contains data for staggering an animation sequence.\n       * See `stagger()`\n       */\n      Stagger: 12\n    };\n    /**\n     * Specifies automatic styling.\n     *\n     * \\@publicApi\n     * @type {?}\n     */\n\n    var AUTO_STYLE = '*';\n    /**\n     * Base for animation data structures.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n    function AnimationMetadata() {}\n\n    if (false) {}\n    /**\n     * Contains an animation trigger. Instantiated and returned by the\n     * `trigger()` function.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n\n    function AnimationTriggerMetadata() {}\n\n    if (false) {}\n    /**\n     * Encapsulates an animation state by associating a state name with a set of CSS styles.\n     * Instantiated and returned by the `state()` function.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n\n    function AnimationStateMetadata() {}\n\n    if (false) {}\n    /**\n     * Encapsulates an animation transition. Instantiated and returned by the\n     * `transition()` function.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n\n    function AnimationTransitionMetadata() {}\n\n    if (false) {}\n    /**\n     * Encapsulates a reusable animation, which is a collection of individual animation steps.\n     * Instantiated and returned by the `animation()` function, and\n     * passed to the `useAnimation()` function.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n\n    function AnimationReferenceMetadata() {}\n\n    if (false) {}\n    /**\n     * Encapsulates an animation query. Instantiated and returned by\n     * the `query()` function.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n\n    function AnimationQueryMetadata() {}\n\n    if (false) {}\n    /**\n     * Encapsulates a keyframes sequence. Instantiated and returned by\n     * the `keyframes()` function.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n\n    function AnimationKeyframesSequenceMetadata() {}\n\n    if (false) {}\n    /**\n     * Encapsulates an animation style. Instantiated and returned by\n     * the `style()` function.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n\n    function AnimationStyleMetadata() {}\n\n    if (false) {}\n    /**\n     * Encapsulates an animation step. Instantiated and returned by\n     * the `animate()` function.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n\n    function AnimationAnimateMetadata() {}\n\n    if (false) {}\n    /**\n     * Encapsulates a child animation, that can be run explicitly when the parent is run.\n     * Instantiated and returned by the `animateChild` function.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n\n    function AnimationAnimateChildMetadata() {}\n\n    if (false) {}\n    /**\n     * Encapsulates a reusable animation.\n     * Instantiated and returned by the `useAnimation()` function.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n\n    function AnimationAnimateRefMetadata() {}\n\n    if (false) {}\n    /**\n     * Encapsulates an animation sequence.\n     * Instantiated and returned by the `sequence()` function.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n\n    function AnimationSequenceMetadata() {}\n\n    if (false) {}\n    /**\n     * Encapsulates an animation group.\n     * Instantiated and returned by the `{\\@link animations/group group()}` function.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n\n    function AnimationGroupMetadata() {}\n\n    if (false) {}\n    /**\n     * Encapsulates parameters for staggering the start times of a set of animation steps.\n     * Instantiated and returned by the `stagger()` function.\n     *\n     * \\@publicApi\n     *\n     * @record\n     */\n\n\n    function AnimationStaggerMetadata() {}\n\n    if (false) {}\n    /**\n     * Creates a named animation trigger, containing a  list of `state()`\n     * and `transition()` entries to be evaluated when the expression\n     * bound to the trigger changes.\n     *\n     * \\@usageNotes\n     * Define an animation trigger in the `animations` section of `\\@Component` metadata.\n     * In the template, reference the trigger by name and bind it to a trigger expression that\n     * evaluates to a defined animation state, using the following format:\n     *\n     * `[\\@triggerName]=\"expression\"`\n     *\n     * Animation trigger bindings convert all values to strings, and then match the\n     * previous and current values against any linked transitions.\n     * Booleans can be specified as `1` or `true` and `0` or `false`.\n     *\n     * ### Usage Example\n     *\n     * The following example creates an animation trigger reference based on the provided\n     * name value.\n     * The provided animation value is expected to be an array consisting of state and\n     * transition declarations.\n     *\n     * ```typescript\n     * \\@Component({\n     *   selector: \"my-component\",\n     *   templateUrl: \"my-component-tpl.html\",\n     *   animations: [\n     *     trigger(\"myAnimationTrigger\", [\n     *       state(...),\n     *       state(...),\n     *       transition(...),\n     *       transition(...)\n     *     ])\n     *   ]\n     * })\n     * class MyComponent {\n     *   myStatusExp = \"something\";\n     * }\n     * ```\n     *\n     * The template associated with this component makes use of the defined trigger\n     * by binding to an element within its template code.\n     *\n     * ```html\n     * <!-- somewhere inside of my-component-tpl.html -->\n     * <div [\\@myAnimationTrigger]=\"myStatusExp\">...</div>\n     * ```\n     *\n     * ### Using an inline function\n     * The `transition` animation method also supports reading an inline function which can decide\n     * if its associated animation should be run.\n     *\n     * ```typescript\n     * // this method is run each time the `myAnimationTrigger` trigger value changes.\n     * function myInlineMatcherFn(fromState: string, toState: string, element: any, params: {[key:\n     * string]: any}): boolean {\n     *   // notice that `element` and `params` are also available here\n     *   return toState == 'yes-please-animate';\n     * }\n     *  /\n     *   selector: 'my-component',\n     *   templateUrl: 'my-component-tpl.html',\n     *   animations: [\n     *     trigger('myAnimationTrigger', [\n     *       transition(myInlineMatcherFn, [\n     *         // the animation sequence code\n     *       ]),\n     *     ])\n     *   ]\n     * })\n     * class MyComponent {\n     *   myStatusExp = \"yes-please-animate\";\n     * }\n     * ```\n     *\n     * ### Disabling Animations\n     * When true, the special animation control binding `\\@.disabled` binding prevents\n     * all animations from rendering.\n     * Place the  `\\@.disabled` binding on an element to disable\n     * animations on the element itself, as well as any inner animation triggers\n     * within the element.\n     *\n     * The following example shows how to use this feature:\n     *\n     * ```typescript /\n     *   selector: 'my-component',\n     *   template: `\n     *     <div [\\@.disabled]=\"isDisabled\">\n     *       <div [\\@childAnimation]=\"exp\"></div>\n     *     </div>\n     *   `,\n     *   animations: [\n     *     trigger(\"childAnimation\", [\n     *       // ...\n     *     ])\n     *   ]\n     * })\n     * class MyComponent {\n     *   isDisabled = true;\n     *   exp = '...';\n     * }\n     * ```\n     *\n     * When `\\@.disabled` is true, it prevents the `\\@childAnimation` trigger from animating,\n     * along with any inner animations.\n     *\n     * ### Disable animations application-wide\n     * When an area of the template is set to have animations disabled,\n     * **all** inner components have their animations disabled as well.\n     * This means that you can disable all animations for an app\n     * by placing a host binding set on `\\@.disabled` on the topmost Angular component.\n     *\n     * ```typescript\n     * import {Component, HostBinding} from '\\@angular/core';\n     *  /\n     *   selector: 'app-component',\n     *   templateUrl: 'app.component.html',\n     * })\n     * class AppComponent {\n     * \\@HostBinding('@.disabled')\n     *   public animationsDisabled = true;\n     * }\n     * ```\n     *\n     * ### Overriding disablement of inner animations\n     * Despite inner animations being disabled, a parent animation can `query()`\n     * for inner elements located in disabled areas of the template and still animate\n     * them if needed. This is also the case for when a sub animation is\n     * queried by a parent and then later animated using `animateChild()`.\n     *\n     * ### Detecting when an animation is disabled\n     * If a region of the DOM (or the entire application) has its animations disabled, the animation\n     * trigger callbacks still fire, but for zero seconds. When the callback fires, it provides\n     * an instance of an `AnimationEvent`. If animations are disabled,\n     * the `.disabled` flag on the event is true.\n     *\n     * \\@publicApi\n     * @param {?} name An identifying string.\n     * @param {?} definitions  An animation definition object, containing an array of `state()`\n     * and `transition()` declarations.\n     *\n     * @return {?} An object that encapsulates the trigger data.\n     *\n     */\n\n\n    function trigger(name, definitions) {\n      return {\n        type: 7\n        /* Trigger */\n        ,\n        name: name,\n        definitions: definitions,\n        options: {}\n      };\n    }\n    /**\n     * Defines an animation step that combines styling information with timing information.\n     *\n     * \\@usageNotes\n     * Call within an animation `sequence()`, `{\\@link animations/group group()}`, or\n     * `transition()` call to specify an animation step\n     * that applies given style data to the parent animation for a given amount of time.\n     *\n     * ### Syntax Examples\n     * **Timing examples**\n     *\n     * The following examples show various `timings` specifications.\n     * - `animate(500)` : Duration is 500 milliseconds.\n     * - `animate(\"1s\")` : Duration is 1000 milliseconds.\n     * - `animate(\"100ms 0.5s\")` : Duration is 100 milliseconds, delay is 500 milliseconds.\n     * - `animate(\"5s ease-in\")` : Duration is 5000 milliseconds, easing in.\n     * - `animate(\"5s 10ms cubic-bezier(.17,.67,.88,.1)\")` : Duration is 5000 milliseconds, delay is 10\n     * milliseconds, easing according to a bezier curve.\n     *\n     * **Style examples**\n     *\n     * The following example calls `style()` to set a single CSS style.\n     * ```typescript\n     * animate(500, style({ background: \"red\" }))\n     * ```\n     * The following example calls `keyframes()` to set a CSS style\n     * to different values for successive keyframes.\n     * ```typescript\n     * animate(500, keyframes(\n     *  [\n     *   style({ background: \"blue\" })),\n     *   style({ background: \"red\" }))\n     *  ])\n     * ```\n     *\n     * \\@publicApi\n     * @param {?} timings Sets `AnimateTimings` for the parent animation.\n     * A string in the format \"duration [delay] [easing]\".\n     *  - Duration and delay are expressed as a number and optional time unit,\n     * such as \"1s\" or \"10ms\" for one second and 10 milliseconds, respectively.\n     * The default unit is milliseconds.\n     *  - The easing value controls how the animation accelerates and decelerates\n     * during its runtime. Value is one of  `ease`, `ease-in`, `ease-out`,\n     * `ease-in-out`, or a `cubic-bezier()` function call.\n     * If not supplied, no easing is applied.\n     *\n     * For example, the string \"1s 100ms ease-out\" specifies a duration of\n     * 1000 milliseconds, and delay of 100 ms, and the \"ease-out\" easing style,\n     * which decelerates near the end of the duration.\n     * @param {?=} styles Sets AnimationStyles for the parent animation.\n     * A function call to either `style()` or `keyframes()`\n     * that returns a collection of CSS style entries to be applied to the parent animation.\n     * When null, uses the styles from the destination state.\n     * This is useful when describing an animation step that will complete an animation;\n     * see \"Animating to the final state\" in `transitions()`.\n     * @return {?} An object that encapsulates the animation step.\n     *\n     */\n\n\n    function animate(timings) {\n      var styles = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n      return {\n        type: 4\n        /* Animate */\n        ,\n        styles: styles,\n        timings: timings\n      };\n    }\n    /**\n     * \\@description Defines a list of animation steps to be run in parallel.\n     *\n     * \\@usageNotes\n     * Grouped animations are useful when a series of styles must be\n     * animated at different starting times and closed off at different ending times.\n     *\n     * When called within a `sequence()` or a\n     * `transition()` call, does not continue to the next\n     * instruction until all of the inner animation steps have completed.\n     *\n     * \\@publicApi\n     * @param {?} steps An array of animation step objects.\n     * - When steps are defined by `style()` or `animate()`\n     * function calls, each call within the group is executed instantly.\n     * - To specify offset styles to be applied at a later time, define steps with\n     * `keyframes()`, or use `animate()` calls with a delay value.\n     * For example:\n     *\n     * ```typescript\n     * group([\n     *   animate(\"1s\", style({ background: \"black\" })),\n     *   animate(\"2s\", style({ color: \"white\" }))\n     * ])\n     * ```\n     *\n     * @param {?=} options An options object containing a delay and\n     * developer-defined parameters that provide styling defaults and\n     * can be overridden on invocation.\n     *\n     * @return {?} An object that encapsulates the group data.\n     *\n     */\n\n\n    function group(steps) {\n      var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n      return {\n        type: 3\n        /* Group */\n        ,\n        steps: steps,\n        options: options\n      };\n    }\n    /**\n     * Defines a list of animation steps to be run sequentially, one by one.\n     *\n     * \\@usageNotes\n     * When you pass an array of steps to a\n     * `transition()` call, the steps run sequentially by default.\n     * Compare this to the `{\\@link animations/group group()}` call, which runs animation steps in parallel.\n     *\n     * When a sequence is used within a `{\\@link animations/group group()}` or a `transition()` call,\n     * execution continues to the next instruction only after each of the inner animation\n     * steps have completed.\n     *\n     * \\@publicApi\n     *\n     * @param {?} steps An array of animation step objects.\n     * - Steps defined by `style()` calls apply the styling data immediately.\n     * - Steps defined by `animate()` calls apply the styling data over time\n     *   as specified by the timing data.\n     *\n     * ```typescript\n     * sequence([\n     *   style({ opacity: 0 }),\n     *   animate(\"1s\", style({ opacity: 1 }))\n     * ])\n     * ```\n     *\n     * @param {?=} options An options object containing a delay and\n     * developer-defined parameters that provide styling defaults and\n     * can be overridden on invocation.\n     *\n     * @return {?} An object that encapsulates the sequence data.\n     *\n     */\n\n\n    function sequence(steps) {\n      var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n      return {\n        type: 2\n        /* Sequence */\n        ,\n        steps: steps,\n        options: options\n      };\n    }\n    /**\n     * Declares a key/value object containing CSS properties/styles that\n     * can then be used for an animation `state`, within an animation `sequence`,\n     * or as styling data for calls to `animate()` and `keyframes()`.\n     *\n     * \\@usageNotes\n     * The following examples create animation styles that collect a set of\n     * CSS property values:\n     *\n     * ```typescript\n     * // string values for CSS properties\n     * style({ background: \"red\", color: \"blue\" })\n     *\n     * // numerical pixel values\n     * style({ width: 100, height: 0 })\n     * ```\n     *\n     * The following example uses auto-styling to allow a component to animate from\n     * a height of 0 up to the height of the parent element:\n     *\n     * ```\n     * style({ height: 0 }),\n     * animate(\"1s\", style({ height: \"*\" }))\n     * ```\n     *\n     * \\@publicApi\n     *\n     * @param {?} tokens A set of CSS styles or HTML styles associated with an animation state.\n     * The value can be any of the following:\n     * - A key-value style pair associating a CSS property with a value.\n     * - An array of key-value style pairs.\n     * - An asterisk (*), to use auto-styling, where styles are derived from the element\n     * being animated and applied to the animation when it starts.\n     *\n     * Auto-styling can be used to define a state that depends on layout or other\n     * environmental factors.\n     *\n     * @return {?} An object that encapsulates the style data.\n     *\n     */\n\n\n    function style(tokens) {\n      return {\n        type: 6\n        /* Style */\n        ,\n        styles: tokens,\n        offset: null\n      };\n    }\n    /**\n     * Declares an animation state within a trigger attached to an element.\n     *\n     * \\@usageNotes\n     * Use the `trigger()` function to register states to an animation trigger.\n     * Use the `transition()` function to animate between states.\n     * When a state is active within a component, its associated styles persist on the element,\n     * even when the animation ends.\n     *\n     * \\@publicApi\n     *\n     * @param {?} name One or more names for the defined state in a comma-separated string.\n     * The following reserved state names can be supplied to define a style for specific use\n     * cases:\n     *\n     * - `void` You can associate styles with this name to be used when\n     * the element is detached from the application. For example, when an `ngIf` evaluates\n     * to false, the state of the associated element is void.\n     *  - `*` (asterisk) Indicates the default state. You can associate styles with this name\n     * to be used as the fallback when the state that is being animated is not declared\n     * within the trigger.\n     *\n     * @param {?} styles A set of CSS styles associated with this state, created using the\n     * `style()` function.\n     * This set of styles persists on the element once the state has been reached.\n     * @param {?=} options Parameters that can be passed to the state when it is invoked.\n     * 0 or more key-value pairs.\n     * @return {?} An object that encapsulates the new state data.\n     *\n     */\n\n\n    function state(name, styles, options) {\n      return {\n        type: 0\n        /* State */\n        ,\n        name: name,\n        styles: styles,\n        options: options\n      };\n    }\n    /**\n     * Defines a set of animation styles, associating each style with an optional `offset` value.\n     *\n     * \\@usageNotes\n     * Use with the `animate()` call. Instead of applying animations\n     * from the current state\n     * to the destination state, keyframes describe how each style entry is applied and at what point\n     * within the animation arc.\n     * Compare [CSS Keyframe Animations](https://www.w3schools.com/css/css3_animations.asp).\n     *\n     * ### Usage\n     *\n     * In the following example, the offset values describe\n     * when each `backgroundColor` value is applied. The color is red at the start, and changes to\n     * blue when 20% of the total time has elapsed.\n     *\n     * ```typescript\n     * // the provided offset values\n     * animate(\"5s\", keyframes([\n     *   style({ backgroundColor: \"red\", offset: 0 }),\n     *   style({ backgroundColor: \"blue\", offset: 0.2 }),\n     *   style({ backgroundColor: \"orange\", offset: 0.3 }),\n     *   style({ backgroundColor: \"black\", offset: 1 })\n     * ]))\n     * ```\n     *\n     * If there are no `offset` values specified in the style entries, the offsets\n     * are calculated automatically.\n     *\n     * ```typescript\n     * animate(\"5s\", keyframes([\n     *   style({ backgroundColor: \"red\" }) // offset = 0\n     *   style({ backgroundColor: \"blue\" }) // offset = 0.33\n     *   style({ backgroundColor: \"orange\" }) // offset = 0.66\n     *   style({ backgroundColor: \"black\" }) // offset = 1\n     * ]))\n     * ```\n     * \\@publicApi\n     * @param {?} steps A set of animation styles with optional offset data.\n     * The optional `offset` value for a style specifies a percentage of the total animation\n     * time at which that style is applied.\n     * @return {?} An object that encapsulates the keyframes data.\n     *\n     */\n\n\n    function keyframes(steps) {\n      return {\n        type: 5\n        /* Keyframes */\n        ,\n        steps: steps\n      };\n    }\n    /**\n     * Declares an animation transition as a sequence of animation steps to run when a given\n     * condition is satisfied. The condition is a Boolean expression or function that compares\n     * the previous and current animation states, and returns true if this transition should occur.\n     * When the state criteria of a defined transition are met, the associated animation is\n     * triggered.\n     *\n     * \\@usageNotes\n     * The template associated with a component binds an animation trigger to an element.\n     *\n     * ```HTML\n     * <!-- somewhere inside of my-component-tpl.html -->\n     * <div [\\@myAnimationTrigger]=\"myStatusExp\">...</div>\n     * ```\n     *\n     * All transitions are defined within an animation trigger,\n     * along with named states that the transitions change to and from.\n     *\n     * ```typescript\n     * trigger(\"myAnimationTrigger\", [\n     *  // define states\n     *  state(\"on\", style({ background: \"green\" })),\n     *  state(\"off\", style({ background: \"grey\" })),\n     *  ...]\n     * ```\n     *\n     * Note that when you call the `sequence()` function within a `{\\@link animations/group group()}`\n     * or a `transition()` call, execution does not continue to the next instruction\n     * until each of the inner animation steps have completed.\n     *\n     * ### Syntax examples\n     *\n     * The following examples define transitions between the two defined states (and default states),\n     * using various options:\n     *\n     * ```typescript\n     * // Transition occurs when the state value\n     * // bound to \"myAnimationTrigger\" changes from \"on\" to \"off\"\n     * transition(\"on => off\", animate(500))\n     * // Run the same animation for both directions\n     * transition(\"on <=> off\", animate(500))\n     * // Define multiple state-change pairs separated by commas\n     * transition(\"on => off, off => void\", animate(500))\n     * ```\n     *\n     * ### Special values for state-change expressions\n     *\n     * - Catch-all state change for when an element is inserted into the page and the\n     * destination state is unknown:\n     *\n     * ```typescript\n     * transition(\"void => *\", [\n     *  style({ opacity: 0 }),\n     *  animate(500)\n     *  ])\n     * ```\n     *\n     * - Capture a state change between any states:\n     *\n     *  `transition(\"* => *\", animate(\"1s 0s\"))`\n     *\n     * - Entry and exit transitions:\n     *\n     * ```typescript\n     * transition(\":enter\", [\n     *   style({ opacity: 0 }),\n     *   animate(500, style({ opacity: 1 }))\n     *   ]),\n     * transition(\":leave\", [\n     *   animate(500, style({ opacity: 0 }))\n     *   ])\n     * ```\n     *\n     * - Use `:increment` and `:decrement` to initiate transitions:\n     *\n     * ```typescript\n     * transition(\":increment\", group([\n     *  query(':enter', [\n     *     style({ left: '100%' }),\n     *     animate('0.5s ease-out', style('*'))\n     *   ]),\n     *  query(':leave', [\n     *     animate('0.5s ease-out', style({ left: '-100%' }))\n     *  ])\n     * ]))\n     *\n     * transition(\":decrement\", group([\n     *  query(':enter', [\n     *     style({ left: '100%' }),\n     *     animate('0.5s ease-out', style('*'))\n     *   ]),\n     *  query(':leave', [\n     *     animate('0.5s ease-out', style({ left: '-100%' }))\n     *  ])\n     * ]))\n     * ```\n     *\n     * ### State-change functions\n     *\n     * Here is an example of a `fromState` specified as a state-change function that invokes an\n     * animation when true:\n     *\n     * ```typescript\n     * transition((fromState, toState) =>\n     *  {\n     *   return fromState == \"off\" && toState == \"on\";\n     *  },\n     *  animate(\"1s 0s\"))\n     * ```\n     *\n     * ### Animating to the final state\n     *\n     * If the final step in a transition is a call to `animate()` that uses a timing value\n     * with no style data, that step is automatically considered the final animation arc,\n     * for the element to reach the final state. Angular automatically adds or removes\n     * CSS styles to ensure that the element is in the correct final state.\n     *\n     * The following example defines a transition that starts by hiding the element,\n     * then makes sure that it animates properly to whatever state is currently active for trigger:\n     *\n     * ```typescript\n     * transition(\"void => *\", [\n     *   style({ opacity: 0 }),\n     *   animate(500)\n     *  ])\n     * ```\n     * ### Boolean value matching\n     * If a trigger binding value is a Boolean, it can be matched using a transition expression\n     * that compares true and false or 1 and 0. For example:\n     *\n     * ```\n     * // in the template\n     * <div [\\@openClose]=\"open ? true : false\">...</div>\n     * // in the component metadata\n     * trigger('openClose', [\n     *   state('true', style({ height: '*' })),\n     *   state('false', style({ height: '0px' })),\n     *   transition('false <=> true', animate(500))\n     * ])\n     * ```\n     *\n     * \\@publicApi\n     *\n     * @param {?} stateChangeExpr A Boolean expression or function that compares the previous and current\n     * animation states, and returns true if this transition should occur. Note that  \"true\" and \"false\"\n     * match 1 and 0, respectively. An expression is evaluated each time a state change occurs in the\n     * animation trigger element.\n     * The animation steps run when the expression evaluates to true.\n     *\n     * - A state-change string takes the form \"state1 => state2\", where each side is a defined animation\n     * state, or an asterix (*) to refer to a dynamic start or end state.\n     *   - The expression string can contain multiple comma-separated statements;\n     * for example \"state1 => state2, state3 => state4\".\n     *   - Special values `:enter` and `:leave` initiate a transition on the entry and exit states,\n     * equivalent to  \"void => *\"  and \"* => void\".\n     *   - Special values `:increment` and `:decrement` initiate a transition when a numeric value has\n     * increased or decreased in value.\n     * - A function is executed each time a state change occurs in the animation trigger element.\n     * The animation steps run when the function returns true.\n     *\n     * @param {?} steps One or more animation objects, as returned by the `animate()` or\n     * `sequence()` function, that form a transformation from one state to another.\n     * A sequence is used by default when you pass an array.\n     * @param {?=} options An options object that can contain a delay value for the start of the animation,\n     * and additional developer-defined parameters. Provided values for additional parameters are used\n     * as defaults, and override values can be passed to the caller on invocation.\n     * @return {?} An object that encapsulates the transition data.\n     *\n     */\n\n\n    function transition(stateChangeExpr, steps) {\n      var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n      return {\n        type: 1\n        /* Transition */\n        ,\n        expr: stateChangeExpr,\n        animation: steps,\n        options: options\n      };\n    }\n    /**\n     * Produces a reusable animation that can be invoked in another animation or sequence,\n     * by calling the `useAnimation()` function.\n     *\n     * \\@usageNotes\n     * The following example defines a reusable animation, providing some default parameter\n     * values.\n     *\n     * ```typescript\n     * var fadeAnimation = animation([\n     *   style({ opacity: '{{ start }}' }),\n     *   animate('{{ time }}',\n     *   style({ opacity: '{{ end }}'}))\n     *   ],\n     *   { params: { time: '1000ms', start: 0, end: 1 }});\n     * ```\n     *\n     * The following invokes the defined animation with a call to `useAnimation()`,\n     * passing in override parameter values.\n     *\n     * ```js\n     * useAnimation(fadeAnimation, {\n     *   params: {\n     *     time: '2s',\n     *     start: 1,\n     *     end: 0\n     *   }\n     * })\n     * ```\n     *\n     * If any of the passed-in parameter values are missing from this call,\n     * the default values are used. If one or more parameter values are missing before a step is\n     * animated, `useAnimation()` throws an error.\n     *\n     * \\@publicApi\n     * @param {?} steps One or more animation objects, as returned by the `animate()`\n     * or `sequence()` function, that form a transformation from one state to another.\n     * A sequence is used by default when you pass an array.\n     * @param {?=} options An options object that can contain a delay value for the start of the\n     * animation, and additional developer-defined parameters.\n     * Provided values for additional parameters are used as defaults,\n     * and override values can be passed to the caller on invocation.\n     * @return {?} An object that encapsulates the animation data.\n     *\n     */\n\n\n    function animation(steps) {\n      var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n      return {\n        type: 8\n        /* Reference */\n        ,\n        animation: steps,\n        options: options\n      };\n    }\n    /**\n     * Executes a queried inner animation element within an animation sequence.\n     *\n     * \\@usageNotes\n     * Each time an animation is triggered in Angular, the parent animation\n     * has priority and any child animations are blocked. In order\n     * for a child animation to run, the parent animation must query each of the elements\n     * containing child animations, and run them using this function.\n     *\n     * Note that this feature is designed to be used with `query()` and it will only work\n     * with animations that are assigned using the Angular animation library. CSS keyframes\n     * and transitions are not handled by this API.\n     *\n     * \\@publicApi\n     * @param {?=} options An options object that can contain a delay value for the start of the\n     * animation, and additional override values for developer-defined parameters.\n     * @return {?} An object that encapsulates the child animation data.\n     *\n     */\n\n\n    function animateChild() {\n      var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n      return {\n        type: 9\n        /* AnimateChild */\n        ,\n        options: options\n      };\n    }\n    /**\n     * Starts a reusable animation that is created using the `animation()` function.\n     *\n     * \\@publicApi\n     * @param {?} animation The reusable animation to start.\n     * @param {?=} options An options object that can contain a delay value for the start of\n     * the animation, and additional override values for developer-defined parameters.\n     * @return {?} An object that contains the animation parameters.\n     *\n     */\n\n\n    function useAnimation(animation) {\n      var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n      return {\n        type: 10\n        /* AnimateRef */\n        ,\n        animation: animation,\n        options: options\n      };\n    }\n    /**\n     * Finds one or more inner elements within the current element that is\n     * being animated within a sequence. Use with `animate()`.\n     *\n     * \\@usageNotes\n     * Tokens can be merged into a combined query selector string. For example:\n     *\n     * ```typescript\n     *  query(':self, .record:enter, .record:leave, \\@subTrigger', [...])\n     * ```\n     *\n     * The `query()` function collects multiple elements and works internally by using\n     * `element.querySelectorAll`. Use the `limit` field of an options object to limit\n     * the total number of items to be collected. For example:\n     *\n     * ```js\n     * query('div', [\n     *   animate(...),\n     *   animate(...)\n     * ], { limit: 1 })\n     * ```\n     *\n     * By default, throws an error when zero items are found. Set the\n     * `optional` flag to ignore this error. For example:\n     *\n     * ```js\n     * query('.some-element-that-may-not-be-there', [\n     *   animate(...),\n     *   animate(...)\n     * ], { optional: true })\n     * ```\n     *\n     * ### Usage Example\n     *\n     * The following example queries for inner elements and animates them\n     * individually using `animate()`.\n     *\n     * ```typescript\n     * \\@Component({\n     *   selector: 'inner',\n     *   template: `\n     *     <div [\\@queryAnimation]=\"exp\">\n     *       <h1>Title</h1>\n     *       <div class=\"content\">\n     *         Blah blah blah\n     *       </div>\n     *     </div>\n     *   `,\n     *   animations: [\n     *    trigger('queryAnimation', [\n     *      transition('* => goAnimate', [\n     *        // hide the inner elements\n     *        query('h1', style({ opacity: 0 })),\n     *        query('.content', style({ opacity: 0 })),\n     *\n     *        // animate the inner elements in, one by one\n     *        query('h1', animate(1000, style({ opacity: 1 }))),\n     *        query('.content', animate(1000, style({ opacity: 1 }))),\n     *      ])\n     *    ])\n     *  ]\n     * })\n     * class Cmp {\n     *   exp = '';\n     *\n     *   goAnimate() {\n     *     this.exp = 'goAnimate';\n     *   }\n     * }\n     * ```\n     *\n     * \\@publicApi\n     * @param {?} selector The element to query, or a set of elements that contain Angular-specific\n     * characteristics, specified with one or more of the following tokens.\n     *  - `query(\":enter\")` or `query(\":leave\")` : Query for newly inserted/removed elements.\n     *  - `query(\":animating\")` : Query all currently animating elements.\n     *  - `query(\"\\@triggerName\")` : Query elements that contain an animation trigger.\n     *  - `query(\"\\@*\")` : Query all elements that contain an animation triggers.\n     *  - `query(\":self\")` : Include the current element into the animation sequence.\n     *\n     * @param {?} animation One or more animation steps to apply to the queried element or elements.\n     * An array is treated as an animation sequence.\n     * @param {?=} options An options object. Use the 'limit' field to limit the total number of\n     * items to collect.\n     * @return {?} An object that encapsulates the query data.\n     *\n     */\n\n\n    function query(selector, animation) {\n      var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n      return {\n        type: 11\n        /* Query */\n        ,\n        selector: selector,\n        animation: animation,\n        options: options\n      };\n    }\n    /**\n     * Use within an animation `query()` call to issue a timing gap after\n     * each queried item is animated.\n     *\n     * \\@usageNotes\n     * In the following example, a container element wraps a list of items stamped out\n     * by an `ngFor`. The container element contains an animation trigger that will later be set\n     * to query for each of the inner items.\n     *\n     * Each time items are added, the opacity fade-in animation runs,\n     * and each removed item is faded out.\n     * When either of these animations occur, the stagger effect is\n     * applied after each item's animation is started.\n     *\n     * ```html\n     * <!-- list.component.html -->\n     * <button (click)=\"toggle()\">Show / Hide Items</button>\n     * <hr />\n     * <div [\\@listAnimation]=\"items.length\">\n     *   <div *ngFor=\"let item of items\">\n     *     {{ item }}\n     *   </div>\n     * </div>\n     * ```\n     *\n     * Here is the component code:\n     *\n     * ```typescript\n     * import {trigger, transition, style, animate, query, stagger} from '\\@angular/animations';\n     * \\@Component({\n     *   templateUrl: 'list.component.html',\n     *   animations: [\n     *     trigger('listAnimation', [\n     *     ...\n     *     ])\n     *   ]\n     * })\n     * class ListComponent {\n     *   items = [];\n     *\n     *   showItems() {\n     *     this.items = [0,1,2,3,4];\n     *   }\n     *\n     *   hideItems() {\n     *     this.items = [];\n     *   }\n     *\n     *   toggle() {\n     *     this.items.length ? this.hideItems() : this.showItems();\n     *    }\n     *  }\n     * ```\n     *\n     * Here is the animation trigger code:\n     *\n     * ```typescript\n     * trigger('listAnimation', [\n     *   transition('* => *', [ // each time the binding value changes\n     *     query(':leave', [\n     *       stagger(100, [\n     *         animate('0.5s', style({ opacity: 0 }))\n     *       ])\n     *     ]),\n     *     query(':enter', [\n     *       style({ opacity: 0 }),\n     *       stagger(100, [\n     *         animate('0.5s', style({ opacity: 1 }))\n     *       ])\n     *     ])\n     *   ])\n     * ])\n     * ```\n     *\n     * \\@publicApi\n     * @param {?} timings A delay value.\n     * @param {?} animation One ore more animation steps.\n     * @return {?} An object that encapsulates the stagger data.\n     *\n     */\n\n\n    function stagger(timings, animation) {\n      return {\n        type: 12\n        /* Stagger */\n        ,\n        timings: timings,\n        animation: animation\n      };\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     * @param {?} cb\n     * @return {?}\n     */\n\n\n    function scheduleMicroTask(cb) {\n      Promise.resolve(null).then(cb);\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Provides programmatic control of a reusable animation sequence,\n     * built using the `build()` method of `AnimationBuilder`. The `build()` method\n     * returns a factory, whose `create()` method instantiates and initializes this interface.\n     *\n     * @see `AnimationBuilder`\n     * @see `AnimationFactory`\n     * @see `animate()`\n     *\n     * \\@publicApi\n     * @record\n     */\n\n\n    function AnimationPlayer() {}\n\n    if (false) {}\n    /**\n     * An empty programmatic controller for reusable animations.\n     * Used internally when animations are disabled, to avoid\n     * checking for the null case when an animation player is expected.\n     *\n     * @see `animate()`\n     * @see `AnimationPlayer`\n     * @see `GroupPlayer`\n     *\n     * \\@publicApi\n     */\n\n\n    var NoopAnimationPlayer =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?=} duration\n       * @param {?=} delay\n       */\n      function NoopAnimationPlayer() {\n        var duration = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n        var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n\n        _classCallCheck(this, NoopAnimationPlayer);\n\n        this._onDoneFns = [];\n        this._onStartFns = [];\n        this._onDestroyFns = [];\n        this._started = false;\n        this._destroyed = false;\n        this._finished = false;\n        this.parentPlayer = null;\n        this.totalTime = duration + delay;\n      }\n      /**\n       * @private\n       * @return {?}\n       */\n\n\n      _createClass2(NoopAnimationPlayer, [{\n        key: \"_onFinish\",\n        value: function _onFinish() {\n          if (!this._finished) {\n            this._finished = true;\n\n            this._onDoneFns.forEach(\n            /**\n            * @param {?} fn\n            * @return {?}\n            */\n            function (fn) {\n              return fn();\n            });\n\n            this._onDoneFns = [];\n          }\n        }\n        /**\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"onStart\",\n        value: function onStart(fn) {\n          this._onStartFns.push(fn);\n        }\n        /**\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"onDone\",\n        value: function onDone(fn) {\n          this._onDoneFns.push(fn);\n        }\n        /**\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"onDestroy\",\n        value: function onDestroy(fn) {\n          this._onDestroyFns.push(fn);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"hasStarted\",\n        value: function hasStarted() {\n          return this._started;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"init\",\n        value: function init() {}\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"play\",\n        value: function play() {\n          if (!this.hasStarted()) {\n            this._onStart();\n\n            this.triggerMicrotask();\n          }\n\n          this._started = true;\n        }\n        /**\n         * \\@internal\n         * @return {?}\n         */\n\n      }, {\n        key: \"triggerMicrotask\",\n        value: function triggerMicrotask() {\n          var _this = this;\n\n          scheduleMicroTask(\n          /**\n          * @return {?}\n          */\n          function () {\n            return _this._onFinish();\n          });\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_onStart\",\n        value: function _onStart() {\n          this._onStartFns.forEach(\n          /**\n          * @param {?} fn\n          * @return {?}\n          */\n          function (fn) {\n            return fn();\n          });\n\n          this._onStartFns = [];\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"pause\",\n        value: function pause() {}\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"restart\",\n        value: function restart() {}\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"finish\",\n        value: function finish() {\n          this._onFinish();\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"destroy\",\n        value: function destroy() {\n          if (!this._destroyed) {\n            this._destroyed = true;\n\n            if (!this.hasStarted()) {\n              this._onStart();\n            }\n\n            this.finish();\n\n            this._onDestroyFns.forEach(\n            /**\n            * @param {?} fn\n            * @return {?}\n            */\n            function (fn) {\n              return fn();\n            });\n\n            this._onDestroyFns = [];\n          }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"reset\",\n        value: function reset() {}\n        /**\n         * @param {?} position\n         * @return {?}\n         */\n\n      }, {\n        key: \"setPosition\",\n        value: function setPosition(position) {}\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"getPosition\",\n        value: function getPosition() {\n          return 0;\n        }\n        /**\n         * \\@internal\n         * @param {?} phaseName\n         * @return {?}\n         */\n\n      }, {\n        key: \"triggerCallback\",\n        value: function triggerCallback(phaseName) {\n          /** @type {?} */\n          var methods = phaseName == 'start' ? this._onStartFns : this._onDoneFns;\n          methods.forEach(\n          /**\n          * @param {?} fn\n          * @return {?}\n          */\n          function (fn) {\n            return fn();\n          });\n          methods.length = 0;\n        }\n      }]);\n\n      return NoopAnimationPlayer;\n    }();\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * A programmatic controller for a group of reusable animations.\n     * Used internally to control animations.\n     *\n     * @see `AnimationPlayer`\n     * @see `{\\@link animations/group group()}`\n     *\n     */\n\n\n    var AnimationGroupPlayer =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _players\n       */\n      function AnimationGroupPlayer(_players) {\n        var _this2 = this;\n\n        _classCallCheck(this, AnimationGroupPlayer);\n\n        this._onDoneFns = [];\n        this._onStartFns = [];\n        this._finished = false;\n        this._started = false;\n        this._destroyed = false;\n        this._onDestroyFns = [];\n        this.parentPlayer = null;\n        this.totalTime = 0;\n        this.players = _players;\n        /** @type {?} */\n\n        var doneCount = 0;\n        /** @type {?} */\n\n        var destroyCount = 0;\n        /** @type {?} */\n\n        var startCount = 0;\n        /** @type {?} */\n\n        var total = this.players.length;\n\n        if (total == 0) {\n          scheduleMicroTask(\n          /**\n          * @return {?}\n          */\n          function () {\n            return _this2._onFinish();\n          });\n        } else {\n          this.players.forEach(\n          /**\n          * @param {?} player\n          * @return {?}\n          */\n          function (player) {\n            player.onDone(\n            /**\n            * @return {?}\n            */\n            function () {\n              if (++doneCount == total) {\n                _this2._onFinish();\n              }\n            });\n            player.onDestroy(\n            /**\n            * @return {?}\n            */\n            function () {\n              if (++destroyCount == total) {\n                _this2._onDestroy();\n              }\n            });\n            player.onStart(\n            /**\n            * @return {?}\n            */\n            function () {\n              if (++startCount == total) {\n                _this2._onStart();\n              }\n            });\n          });\n        }\n\n        this.totalTime = this.players.reduce(\n        /**\n        * @param {?} time\n        * @param {?} player\n        * @return {?}\n        */\n        function (time, player) {\n          return Math.max(time, player.totalTime);\n        }, 0);\n      }\n      /**\n       * @private\n       * @return {?}\n       */\n\n\n      _createClass2(AnimationGroupPlayer, [{\n        key: \"_onFinish\",\n        value: function _onFinish() {\n          if (!this._finished) {\n            this._finished = true;\n\n            this._onDoneFns.forEach(\n            /**\n            * @param {?} fn\n            * @return {?}\n            */\n            function (fn) {\n              return fn();\n            });\n\n            this._onDoneFns = [];\n          }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"init\",\n        value: function init() {\n          this.players.forEach(\n          /**\n          * @param {?} player\n          * @return {?}\n          */\n          function (player) {\n            return player.init();\n          });\n        }\n        /**\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"onStart\",\n        value: function onStart(fn) {\n          this._onStartFns.push(fn);\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_onStart\",\n        value: function _onStart() {\n          if (!this.hasStarted()) {\n            this._started = true;\n\n            this._onStartFns.forEach(\n            /**\n            * @param {?} fn\n            * @return {?}\n            */\n            function (fn) {\n              return fn();\n            });\n\n            this._onStartFns = [];\n          }\n        }\n        /**\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"onDone\",\n        value: function onDone(fn) {\n          this._onDoneFns.push(fn);\n        }\n        /**\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"onDestroy\",\n        value: function onDestroy(fn) {\n          this._onDestroyFns.push(fn);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"hasStarted\",\n        value: function hasStarted() {\n          return this._started;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"play\",\n        value: function play() {\n          if (!this.parentPlayer) {\n            this.init();\n          }\n\n          this._onStart();\n\n          this.players.forEach(\n          /**\n          * @param {?} player\n          * @return {?}\n          */\n          function (player) {\n            return player.play();\n          });\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"pause\",\n        value: function pause() {\n          this.players.forEach(\n          /**\n          * @param {?} player\n          * @return {?}\n          */\n          function (player) {\n            return player.pause();\n          });\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"restart\",\n        value: function restart() {\n          this.players.forEach(\n          /**\n          * @param {?} player\n          * @return {?}\n          */\n          function (player) {\n            return player.restart();\n          });\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"finish\",\n        value: function finish() {\n          this._onFinish();\n\n          this.players.forEach(\n          /**\n          * @param {?} player\n          * @return {?}\n          */\n          function (player) {\n            return player.finish();\n          });\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"destroy\",\n        value: function destroy() {\n          this._onDestroy();\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_onDestroy\",\n        value: function _onDestroy() {\n          if (!this._destroyed) {\n            this._destroyed = true;\n\n            this._onFinish();\n\n            this.players.forEach(\n            /**\n            * @param {?} player\n            * @return {?}\n            */\n            function (player) {\n              return player.destroy();\n            });\n\n            this._onDestroyFns.forEach(\n            /**\n            * @param {?} fn\n            * @return {?}\n            */\n            function (fn) {\n              return fn();\n            });\n\n            this._onDestroyFns = [];\n          }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"reset\",\n        value: function reset() {\n          this.players.forEach(\n          /**\n          * @param {?} player\n          * @return {?}\n          */\n          function (player) {\n            return player.reset();\n          });\n          this._destroyed = false;\n          this._finished = false;\n          this._started = false;\n        }\n        /**\n         * @param {?} p\n         * @return {?}\n         */\n\n      }, {\n        key: \"setPosition\",\n        value: function setPosition(p) {\n          /** @type {?} */\n          var timeAtPosition = p * this.totalTime;\n          this.players.forEach(\n          /**\n          * @param {?} player\n          * @return {?}\n          */\n          function (player) {\n            /** @type {?} */\n            var position = player.totalTime ? Math.min(1, timeAtPosition / player.totalTime) : 1;\n            player.setPosition(position);\n          });\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"getPosition\",\n        value: function getPosition() {\n          /** @type {?} */\n          var min = 0;\n          this.players.forEach(\n          /**\n          * @param {?} player\n          * @return {?}\n          */\n          function (player) {\n            /** @type {?} */\n            var p = player.getPosition();\n            min = Math.min(p, min);\n          });\n          return min;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"beforeDestroy\",\n        value: function beforeDestroy() {\n          this.players.forEach(\n          /**\n          * @param {?} player\n          * @return {?}\n          */\n          function (player) {\n            if (player.beforeDestroy) {\n              player.beforeDestroy();\n            }\n          });\n        }\n        /**\n         * \\@internal\n         * @param {?} phaseName\n         * @return {?}\n         */\n\n      }, {\n        key: \"triggerCallback\",\n        value: function triggerCallback(phaseName) {\n          /** @type {?} */\n          var methods = phaseName == 'start' ? this._onStartFns : this._onDoneFns;\n          methods.forEach(\n          /**\n          * @param {?} fn\n          * @return {?}\n          */\n          function (fn) {\n            return fn();\n          });\n          methods.length = 0;\n        }\n      }]);\n\n      return AnimationGroupPlayer;\n    }();\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var ɵPRE_STYLE = '!';\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Generated bundle index. Do not edit.\n     */\n\n    /***/\n  },\n\n  /***/\n  \"./node_modules/@angular/animations/fesm2015/browser.js\":\n  /*!**************************************************************!*\\\n    !*** ./node_modules/@angular/animations/fesm2015/browser.js ***!\n    \\**************************************************************/\n\n  /*! exports provided: ɵangular_packages_animations_browser_browser_a, AnimationDriver, ɵAnimationDriver, ɵAnimation, ɵAnimationStyleNormalizer, ɵNoopAnimationStyleNormalizer, ɵWebAnimationsStyleNormalizer, ɵNoopAnimationDriver, ɵAnimationEngine, ɵCssKeyframesDriver, ɵCssKeyframesPlayer, ɵcontainsElement, ɵinvokeQuery, ɵmatchesElement, ɵvalidateStyleProperty, ɵWebAnimationsDriver, ɵsupportsWebAnimations, ɵWebAnimationsPlayer, ɵallowPreviousPlayerStylesMerge */\n\n  /***/\n  function node_modulesAngularAnimationsFesm2015BrowserJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_animations_browser_browser_a\", function () {\n      return SpecialCasedStyles;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"AnimationDriver\", function () {\n      return AnimationDriver;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵAnimationDriver\", function () {\n      return AnimationDriver;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵAnimation\", function () {\n      return Animation;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵAnimationStyleNormalizer\", function () {\n      return AnimationStyleNormalizer;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵNoopAnimationStyleNormalizer\", function () {\n      return NoopAnimationStyleNormalizer;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵWebAnimationsStyleNormalizer\", function () {\n      return WebAnimationsStyleNormalizer;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵNoopAnimationDriver\", function () {\n      return NoopAnimationDriver;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵAnimationEngine\", function () {\n      return AnimationEngine;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵCssKeyframesDriver\", function () {\n      return CssKeyframesDriver;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵCssKeyframesPlayer\", function () {\n      return CssKeyframesPlayer;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵcontainsElement\", function () {\n      return _containsElement;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵinvokeQuery\", function () {\n      return invokeQuery;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵmatchesElement\", function () {\n      return _matchesElement;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵvalidateStyleProperty\", function () {\n      return _validateStyleProperty;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵWebAnimationsDriver\", function () {\n      return WebAnimationsDriver;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵsupportsWebAnimations\", function () {\n      return supportsWebAnimations;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵWebAnimationsPlayer\", function () {\n      return WebAnimationsPlayer;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵallowPreviousPlayerStylesMerge\", function () {\n      return allowPreviousPlayerStylesMerge;\n    });\n    /* harmony import */\n\n\n    var _angular_animations__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! @angular/animations */\n    \"./node_modules/@angular/animations/fesm2015/animations.js\");\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /**\n     * @license Angular v8.2.14\n     * (c) 2010-2019 Google LLC. https://angular.io/\n     * License: MIT\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @return {?}\n     */\n\n\n    function isBrowser() {\n      return typeof window !== 'undefined' && typeof window.document !== 'undefined';\n    }\n    /**\n     * @return {?}\n     */\n\n\n    function isNode() {\n      return typeof process !== 'undefined';\n    }\n    /**\n     * @param {?} players\n     * @return {?}\n     */\n\n\n    function optimizeGroupPlayer(players) {\n      switch (players.length) {\n        case 0:\n          return new _angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"NoopAnimationPlayer\"]();\n\n        case 1:\n          return players[0];\n\n        default:\n          return new _angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"ɵAnimationGroupPlayer\"](players);\n      }\n    }\n    /**\n     * @param {?} driver\n     * @param {?} normalizer\n     * @param {?} element\n     * @param {?} keyframes\n     * @param {?=} preStyles\n     * @param {?=} postStyles\n     * @return {?}\n     */\n\n\n    function normalizeKeyframes(driver, normalizer, element, keyframes) {\n      var preStyles = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {};\n      var postStyles = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : {};\n\n      /** @type {?} */\n      var errors = [];\n      /** @type {?} */\n\n      var normalizedKeyframes = [];\n      /** @type {?} */\n\n      var previousOffset = -1;\n      /** @type {?} */\n\n      var previousKeyframe = null;\n      keyframes.forEach(\n      /**\n      * @param {?} kf\n      * @return {?}\n      */\n      function (kf) {\n        /** @type {?} */\n        var offset =\n        /** @type {?} */\n        kf['offset'];\n        /** @type {?} */\n\n        var isSameOffset = offset == previousOffset;\n        /** @type {?} */\n\n        var normalizedKeyframe = isSameOffset && previousKeyframe || {};\n        Object.keys(kf).forEach(\n        /**\n        * @param {?} prop\n        * @return {?}\n        */\n        function (prop) {\n          /** @type {?} */\n          var normalizedProp = prop;\n          /** @type {?} */\n\n          var normalizedValue = kf[prop];\n\n          if (prop !== 'offset') {\n            normalizedProp = normalizer.normalizePropertyName(normalizedProp, errors);\n\n            switch (normalizedValue) {\n              case _angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"ɵPRE_STYLE\"]:\n                normalizedValue = preStyles[prop];\n                break;\n\n              case _angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"AUTO_STYLE\"]:\n                normalizedValue = postStyles[prop];\n                break;\n\n              default:\n                normalizedValue = normalizer.normalizeStyleValue(prop, normalizedProp, normalizedValue, errors);\n                break;\n            }\n          }\n\n          normalizedKeyframe[normalizedProp] = normalizedValue;\n        });\n\n        if (!isSameOffset) {\n          normalizedKeyframes.push(normalizedKeyframe);\n        }\n\n        previousKeyframe = normalizedKeyframe;\n        previousOffset = offset;\n      });\n\n      if (errors.length) {\n        /** @type {?} */\n        var LINE_START = '\\n - ';\n        throw new Error(\"Unable to animate due to the following errors:\".concat(LINE_START).concat(errors.join(LINE_START)));\n      }\n\n      return normalizedKeyframes;\n    }\n    /**\n     * @param {?} player\n     * @param {?} eventName\n     * @param {?} event\n     * @param {?} callback\n     * @return {?}\n     */\n\n\n    function listenOnPlayer(player, eventName, event, callback) {\n      switch (eventName) {\n        case 'start':\n          player.onStart(\n          /**\n          * @return {?}\n          */\n          function () {\n            return callback(event && copyAnimationEvent(event, 'start', player));\n          });\n          break;\n\n        case 'done':\n          player.onDone(\n          /**\n          * @return {?}\n          */\n          function () {\n            return callback(event && copyAnimationEvent(event, 'done', player));\n          });\n          break;\n\n        case 'destroy':\n          player.onDestroy(\n          /**\n          * @return {?}\n          */\n          function () {\n            return callback(event && copyAnimationEvent(event, 'destroy', player));\n          });\n          break;\n      }\n    }\n    /**\n     * @param {?} e\n     * @param {?} phaseName\n     * @param {?} player\n     * @return {?}\n     */\n\n\n    function copyAnimationEvent(e, phaseName, player) {\n      /** @type {?} */\n      var totalTime = player.totalTime;\n      /** @type {?} */\n\n      var disabled =\n      /** @type {?} */\n      player.disabled ? true : false;\n      /** @type {?} */\n\n      var event = makeAnimationEvent(e.element, e.triggerName, e.fromState, e.toState, phaseName || e.phaseName, totalTime == undefined ? e.totalTime : totalTime, disabled);\n      /** @type {?} */\n\n      var data =\n      /** @type {?} */\n      e['_data'];\n\n      if (data != null) {\n        /** @type {?} */\n        event['_data'] = data;\n      }\n\n      return event;\n    }\n    /**\n     * @param {?} element\n     * @param {?} triggerName\n     * @param {?} fromState\n     * @param {?} toState\n     * @param {?=} phaseName\n     * @param {?=} totalTime\n     * @param {?=} disabled\n     * @return {?}\n     */\n\n\n    function makeAnimationEvent(element, triggerName, fromState, toState) {\n      var phaseName = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : '';\n      var totalTime = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : 0;\n      var disabled = arguments.length > 6 ? arguments[6] : undefined;\n      return {\n        element: element,\n        triggerName: triggerName,\n        fromState: fromState,\n        toState: toState,\n        phaseName: phaseName,\n        totalTime: totalTime,\n        disabled: !!disabled\n      };\n    }\n    /**\n     * @param {?} map\n     * @param {?} key\n     * @param {?} defaultValue\n     * @return {?}\n     */\n\n\n    function getOrSetAsInMap(map, key, defaultValue) {\n      /** @type {?} */\n      var value;\n\n      if (map instanceof Map) {\n        value = map.get(key);\n\n        if (!value) {\n          map.set(key, value = defaultValue);\n        }\n      } else {\n        value = map[key];\n\n        if (!value) {\n          value = map[key] = defaultValue;\n        }\n      }\n\n      return value;\n    }\n    /**\n     * @param {?} command\n     * @return {?}\n     */\n\n\n    function parseTimelineCommand(command) {\n      /** @type {?} */\n      var separatorPos = command.indexOf(':');\n      /** @type {?} */\n\n      var id = command.substring(1, separatorPos);\n      /** @type {?} */\n\n      var action = command.substr(separatorPos + 1);\n      return [id, action];\n    }\n    /** @type {?} */\n\n\n    var _contains =\n    /**\n    * @param {?} elm1\n    * @param {?} elm2\n    * @return {?}\n    */\n    function _contains(elm1, elm2) {\n      return false;\n    };\n\n    var ɵ0 = _contains;\n    /** @type {?} */\n\n    var _matches =\n    /**\n    * @param {?} element\n    * @param {?} selector\n    * @return {?}\n    */\n    function _matches(element, selector) {\n      return false;\n    };\n\n    var ɵ1 = _matches;\n    /** @type {?} */\n\n    var _query =\n    /**\n    * @param {?} element\n    * @param {?} selector\n    * @param {?} multi\n    * @return {?}\n    */\n    function _query(element, selector, multi) {\n      return [];\n    };\n\n    var ɵ2 = _query; // Define utility methods for browsers and platform-server(domino) where Element\n    // and utility methods exist.\n\n    /** @type {?} */\n\n    var _isNode = isNode();\n\n    if (_isNode || typeof Element !== 'undefined') {\n      // this is well supported in all browsers\n      _contains =\n      /**\n      * @param {?} elm1\n      * @param {?} elm2\n      * @return {?}\n      */\n      function _contains(elm1, elm2) {\n        return (\n          /** @type {?} */\n          elm1.contains(elm2)\n        );\n      };\n\n      _matches =\n      /**\n      * @return {?}\n      */\n      function () {\n        if (_isNode || Element.prototype.matches) {\n          return (\n            /**\n            * @param {?} element\n            * @param {?} selector\n            * @return {?}\n            */\n            function (element, selector) {\n              return element.matches(selector);\n            }\n          );\n        } else {\n          /** @type {?} */\n          var proto =\n          /** @type {?} */\n          Element.prototype;\n          /** @type {?} */\n\n          var fn = proto.matchesSelector || proto.mozMatchesSelector || proto.msMatchesSelector || proto.oMatchesSelector || proto.webkitMatchesSelector;\n\n          if (fn) {\n            return (\n              /**\n              * @param {?} element\n              * @param {?} selector\n              * @return {?}\n              */\n              function (element, selector) {\n                return fn.apply(element, [selector]);\n              }\n            );\n          } else {\n            return _matches;\n          }\n        }\n      }();\n\n      _query =\n      /**\n      * @param {?} element\n      * @param {?} selector\n      * @param {?} multi\n      * @return {?}\n      */\n      function _query(element, selector, multi) {\n        /** @type {?} */\n        var results = [];\n\n        if (multi) {\n          results.push.apply(results, _toConsumableArray(element.querySelectorAll(selector)));\n        } else {\n          /** @type {?} */\n          var elm = element.querySelector(selector);\n\n          if (elm) {\n            results.push(elm);\n          }\n        }\n\n        return results;\n      };\n    }\n    /**\n     * @param {?} prop\n     * @return {?}\n     */\n\n\n    function containsVendorPrefix(prop) {\n      // Webkit is the only real popular vendor prefix nowadays\n      // cc: http://shouldiprefix.com/\n      return prop.substring(1, 6) == 'ebkit'; // webkit or Webkit\n    }\n    /** @type {?} */\n\n\n    var _CACHED_BODY = null;\n    /** @type {?} */\n\n    var _IS_WEBKIT = false;\n    /**\n     * @param {?} prop\n     * @return {?}\n     */\n\n    function _validateStyleProperty(prop) {\n      if (!_CACHED_BODY) {\n        _CACHED_BODY = getBodyNode() || {};\n        _IS_WEBKIT =\n        /** @type {?} */\n        _CACHED_BODY.style ? 'WebkitAppearance' in\n        /** @type {?} */\n        _CACHED_BODY.style : false;\n      }\n      /** @type {?} */\n\n\n      var result = true;\n\n      if (\n      /** @type {?} */\n      _CACHED_BODY.style && !containsVendorPrefix(prop)) {\n        result = prop in\n        /** @type {?} */\n        _CACHED_BODY.style;\n\n        if (!result && _IS_WEBKIT) {\n          /** @type {?} */\n          var camelProp = 'Webkit' + prop.charAt(0).toUpperCase() + prop.substr(1);\n          result = camelProp in\n          /** @type {?} */\n          _CACHED_BODY.style;\n        }\n      }\n\n      return result;\n    }\n    /**\n     * @return {?}\n     */\n\n\n    function getBodyNode() {\n      if (typeof document != 'undefined') {\n        return document.body;\n      }\n\n      return null;\n    }\n    /** @type {?} */\n\n\n    var _matchesElement = _matches;\n    /** @type {?} */\n\n    var _containsElement = _contains;\n    /** @type {?} */\n\n    var invokeQuery = _query;\n    /**\n     * @param {?} object\n     * @return {?}\n     */\n\n    function hypenatePropsObject(object) {\n      /** @type {?} */\n      var newObj = {};\n      Object.keys(object).forEach(\n      /**\n      * @param {?} prop\n      * @return {?}\n      */\n      function (prop) {\n        /** @type {?} */\n        var newProp = prop.replace(/([a-z])([A-Z])/g, '$1-$2');\n        newObj[newProp] = object[prop];\n      });\n      return newObj;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * \\@publicApi\n     */\n\n\n    var NoopAnimationDriver =\n    /*#__PURE__*/\n    function () {\n      function NoopAnimationDriver() {\n        _classCallCheck(this, NoopAnimationDriver);\n      }\n\n      _createClass2(NoopAnimationDriver, [{\n        key: \"validateStyleProperty\",\n\n        /**\n         * @param {?} prop\n         * @return {?}\n         */\n        value: function validateStyleProperty(prop) {\n          return _validateStyleProperty(prop);\n        }\n        /**\n         * @param {?} element\n         * @param {?} selector\n         * @return {?}\n         */\n\n      }, {\n        key: \"matchesElement\",\n        value: function matchesElement(element, selector) {\n          return _matchesElement(element, selector);\n        }\n        /**\n         * @param {?} elm1\n         * @param {?} elm2\n         * @return {?}\n         */\n\n      }, {\n        key: \"containsElement\",\n        value: function containsElement(elm1, elm2) {\n          return _containsElement(elm1, elm2);\n        }\n        /**\n         * @param {?} element\n         * @param {?} selector\n         * @param {?} multi\n         * @return {?}\n         */\n\n      }, {\n        key: \"query\",\n        value: function query(element, selector, multi) {\n          return invokeQuery(element, selector, multi);\n        }\n        /**\n         * @param {?} element\n         * @param {?} prop\n         * @param {?=} defaultValue\n         * @return {?}\n         */\n\n      }, {\n        key: \"computeStyle\",\n        value: function computeStyle(element, prop, defaultValue) {\n          return defaultValue || '';\n        }\n        /**\n         * @param {?} element\n         * @param {?} keyframes\n         * @param {?} duration\n         * @param {?} delay\n         * @param {?} easing\n         * @param {?=} previousPlayers\n         * @param {?=} scrubberAccessRequested\n         * @return {?}\n         */\n\n      }, {\n        key: \"animate\",\n        value: function animate(element, keyframes, duration, delay, easing) {\n          var previousPlayers = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : [];\n          var scrubberAccessRequested = arguments.length > 6 ? arguments[6] : undefined;\n          return new _angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"NoopAnimationPlayer\"](duration, delay);\n        }\n      }]);\n\n      return NoopAnimationDriver;\n    }();\n\n    NoopAnimationDriver.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"]\n    }];\n    /**\n     * \\@publicApi\n     * @abstract\n     */\n\n    var AnimationDriver = function AnimationDriver() {\n      _classCallCheck(this, AnimationDriver);\n    };\n\n    AnimationDriver.NOOP = new NoopAnimationDriver();\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var ONE_SECOND = 1000;\n    /** @type {?} */\n\n    var SUBSTITUTION_EXPR_START = '{{';\n    /** @type {?} */\n\n    var SUBSTITUTION_EXPR_END = '}}';\n    /** @type {?} */\n\n    var ENTER_CLASSNAME = 'ng-enter';\n    /** @type {?} */\n\n    var LEAVE_CLASSNAME = 'ng-leave';\n    /** @type {?} */\n\n    var ENTER_SELECTOR = '.ng-enter';\n    /** @type {?} */\n\n    var LEAVE_SELECTOR = '.ng-leave';\n    /** @type {?} */\n\n    var NG_TRIGGER_CLASSNAME = 'ng-trigger';\n    /** @type {?} */\n\n    var NG_TRIGGER_SELECTOR = '.ng-trigger';\n    /** @type {?} */\n\n    var NG_ANIMATING_CLASSNAME = 'ng-animating';\n    /** @type {?} */\n\n    var NG_ANIMATING_SELECTOR = '.ng-animating';\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n\n    function resolveTimingValue(value) {\n      if (typeof value == 'number') return value;\n      /** @type {?} */\n\n      var matches =\n      /** @type {?} */\n      value.match(/^(-?[\\.\\d]+)(m?s)/);\n      if (!matches || matches.length < 2) return 0;\n      return _convertTimeValueToMS(parseFloat(matches[1]), matches[2]);\n    }\n    /**\n     * @param {?} value\n     * @param {?} unit\n     * @return {?}\n     */\n\n\n    function _convertTimeValueToMS(value, unit) {\n      switch (unit) {\n        case 's':\n          return value * ONE_SECOND;\n\n        default:\n          // ms or something else\n          return value;\n      }\n    }\n    /**\n     * @param {?} timings\n     * @param {?} errors\n     * @param {?=} allowNegativeValues\n     * @return {?}\n     */\n\n\n    function resolveTiming(timings, errors, allowNegativeValues) {\n      return timings.hasOwnProperty('duration') ?\n      /** @type {?} */\n      timings : parseTimeExpression(\n      /** @type {?} */\n      timings, errors, allowNegativeValues);\n    }\n    /**\n     * @param {?} exp\n     * @param {?} errors\n     * @param {?=} allowNegativeValues\n     * @return {?}\n     */\n\n\n    function parseTimeExpression(exp, errors, allowNegativeValues) {\n      /** @type {?} */\n      var regex = /^(-?[\\.\\d]+)(m?s)(?:\\s+(-?[\\.\\d]+)(m?s))?(?:\\s+([-a-z]+(?:\\(.+?\\))?))?$/i;\n      /** @type {?} */\n\n      var duration;\n      /** @type {?} */\n\n      var delay = 0;\n      /** @type {?} */\n\n      var easing = '';\n\n      if (typeof exp === 'string') {\n        /** @type {?} */\n        var matches = exp.match(regex);\n\n        if (matches === null) {\n          errors.push(\"The provided timing value \\\"\".concat(exp, \"\\\" is invalid.\"));\n          return {\n            duration: 0,\n            delay: 0,\n            easing: ''\n          };\n        }\n\n        duration = _convertTimeValueToMS(parseFloat(matches[1]), matches[2]);\n        /** @type {?} */\n\n        var delayMatch = matches[3];\n\n        if (delayMatch != null) {\n          delay = _convertTimeValueToMS(parseFloat(delayMatch), matches[4]);\n        }\n        /** @type {?} */\n\n\n        var easingVal = matches[5];\n\n        if (easingVal) {\n          easing = easingVal;\n        }\n      } else {\n        duration =\n        /** @type {?} */\n        exp;\n      }\n\n      if (!allowNegativeValues) {\n        /** @type {?} */\n        var containsErrors = false;\n        /** @type {?} */\n\n        var startIndex = errors.length;\n\n        if (duration < 0) {\n          errors.push(\"Duration values below 0 are not allowed for this animation step.\");\n          containsErrors = true;\n        }\n\n        if (delay < 0) {\n          errors.push(\"Delay values below 0 are not allowed for this animation step.\");\n          containsErrors = true;\n        }\n\n        if (containsErrors) {\n          errors.splice(startIndex, 0, \"The provided timing value \\\"\".concat(exp, \"\\\" is invalid.\"));\n        }\n      }\n\n      return {\n        duration: duration,\n        delay: delay,\n        easing: easing\n      };\n    }\n    /**\n     * @param {?} obj\n     * @param {?=} destination\n     * @return {?}\n     */\n\n\n    function copyObj(obj) {\n      var destination = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n      Object.keys(obj).forEach(\n      /**\n      * @param {?} prop\n      * @return {?}\n      */\n      function (prop) {\n        destination[prop] = obj[prop];\n      });\n      return destination;\n    }\n    /**\n     * @param {?} styles\n     * @return {?}\n     */\n\n\n    function normalizeStyles(styles) {\n      /** @type {?} */\n      var normalizedStyles = {};\n\n      if (Array.isArray(styles)) {\n        styles.forEach(\n        /**\n        * @param {?} data\n        * @return {?}\n        */\n        function (data) {\n          return copyStyles(data, false, normalizedStyles);\n        });\n      } else {\n        copyStyles(styles, false, normalizedStyles);\n      }\n\n      return normalizedStyles;\n    }\n    /**\n     * @param {?} styles\n     * @param {?} readPrototype\n     * @param {?=} destination\n     * @return {?}\n     */\n\n\n    function copyStyles(styles, readPrototype) {\n      var destination = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n      if (readPrototype) {\n        // we make use of a for-in loop so that the\n        // prototypically inherited properties are\n        // revealed from the backFill map\n        for (var prop in styles) {\n          destination[prop] = styles[prop];\n        }\n      } else {\n        copyObj(styles, destination);\n      }\n\n      return destination;\n    }\n    /**\n     * @param {?} element\n     * @param {?} key\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function getStyleAttributeString(element, key, value) {\n      // Return the key-value pair string to be added to the style attribute for the\n      // given CSS style key.\n      if (value) {\n        return key + ':' + value + ';';\n      } else {\n        return '';\n      }\n    }\n    /**\n     * @param {?} element\n     * @return {?}\n     */\n\n\n    function writeStyleAttribute(element) {\n      // Read the style property of the element and manually reflect it to the\n      // style attribute. This is needed because Domino on platform-server doesn't\n      // understand the full set of allowed CSS properties and doesn't reflect some\n      // of them automatically.\n\n      /** @type {?} */\n      var styleAttrValue = '';\n\n      for (var i = 0; i < element.style.length; i++) {\n        /** @type {?} */\n        var key = element.style.item(i);\n        styleAttrValue += getStyleAttributeString(element, key, element.style.getPropertyValue(key));\n      }\n\n      for (var _key in element.style) {\n        // Skip internal Domino properties that don't need to be reflected.\n        if (!element.style.hasOwnProperty(_key) || _key.startsWith('_')) {\n          continue;\n        }\n        /** @type {?} */\n\n\n        var dashKey = camelCaseToDashCase(_key);\n        styleAttrValue += getStyleAttributeString(element, dashKey, element.style[_key]);\n      }\n\n      element.setAttribute('style', styleAttrValue);\n    }\n    /**\n     * @param {?} element\n     * @param {?} styles\n     * @param {?=} formerStyles\n     * @return {?}\n     */\n\n\n    function setStyles(element, styles, formerStyles) {\n      if (element['style']) {\n        Object.keys(styles).forEach(\n        /**\n        * @param {?} prop\n        * @return {?}\n        */\n        function (prop) {\n          /** @type {?} */\n          var camelProp = dashCaseToCamelCase(prop);\n\n          if (formerStyles && !formerStyles.hasOwnProperty(prop)) {\n            formerStyles[prop] = element.style[camelProp];\n          }\n\n          element.style[camelProp] = styles[prop];\n        }); // On the server set the 'style' attribute since it's not automatically reflected.\n\n        if (isNode()) {\n          writeStyleAttribute(element);\n        }\n      }\n    }\n    /**\n     * @param {?} element\n     * @param {?} styles\n     * @return {?}\n     */\n\n\n    function eraseStyles(element, styles) {\n      if (element['style']) {\n        Object.keys(styles).forEach(\n        /**\n        * @param {?} prop\n        * @return {?}\n        */\n        function (prop) {\n          /** @type {?} */\n          var camelProp = dashCaseToCamelCase(prop);\n          element.style[camelProp] = '';\n        }); // On the server set the 'style' attribute since it's not automatically reflected.\n\n        if (isNode()) {\n          writeStyleAttribute(element);\n        }\n      }\n    }\n    /**\n     * @param {?} steps\n     * @return {?}\n     */\n\n\n    function normalizeAnimationEntry(steps) {\n      if (Array.isArray(steps)) {\n        if (steps.length == 1) return steps[0];\n        return Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"sequence\"])(steps);\n      }\n\n      return (\n        /** @type {?} */\n        steps\n      );\n    }\n    /**\n     * @param {?} value\n     * @param {?} options\n     * @param {?} errors\n     * @return {?}\n     */\n\n\n    function validateStyleParams(value, options, errors) {\n      /** @type {?} */\n      var params = options.params || {};\n      /** @type {?} */\n\n      var matches = extractStyleParams(value);\n\n      if (matches.length) {\n        matches.forEach(\n        /**\n        * @param {?} varName\n        * @return {?}\n        */\n        function (varName) {\n          if (!params.hasOwnProperty(varName)) {\n            errors.push(\"Unable to resolve the local animation param \".concat(varName, \" in the given list of values\"));\n          }\n        });\n      }\n    }\n    /** @type {?} */\n\n\n    var PARAM_REGEX = new RegExp(\"\".concat(SUBSTITUTION_EXPR_START, \"\\\\s*(.+?)\\\\s*\").concat(SUBSTITUTION_EXPR_END), 'g');\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n\n    function extractStyleParams(value) {\n      /** @type {?} */\n      var params = [];\n\n      if (typeof value === 'string') {\n        /** @type {?} */\n        var val = value.toString();\n        /** @type {?} */\n\n        var match;\n\n        while (match = PARAM_REGEX.exec(val)) {\n          params.push(\n          /** @type {?} */\n          match[1]);\n        }\n\n        PARAM_REGEX.lastIndex = 0;\n      }\n\n      return params;\n    }\n    /**\n     * @param {?} value\n     * @param {?} params\n     * @param {?} errors\n     * @return {?}\n     */\n\n\n    function interpolateParams(value, params, errors) {\n      /** @type {?} */\n      var original = value.toString();\n      /** @type {?} */\n\n      var str = original.replace(PARAM_REGEX,\n      /**\n      * @param {?} _\n      * @param {?} varName\n      * @return {?}\n      */\n      function (_, varName) {\n        /** @type {?} */\n        var localVal = params[varName]; // this means that the value was never overridden by the data passed in by the user\n\n        if (!params.hasOwnProperty(varName)) {\n          errors.push(\"Please provide a value for the animation param \".concat(varName));\n          localVal = '';\n        }\n\n        return localVal.toString();\n      }); // we do this to assert that numeric values stay as they are\n\n      return str == original ? value : str;\n    }\n    /**\n     * @param {?} iterator\n     * @return {?}\n     */\n\n\n    function iteratorToArray(iterator) {\n      /** @type {?} */\n      var arr = [];\n      /** @type {?} */\n\n      var item = iterator.next();\n\n      while (!item.done) {\n        arr.push(item.value);\n        item = iterator.next();\n      }\n\n      return arr;\n    }\n    /**\n     * @param {?} source\n     * @param {?} destination\n     * @return {?}\n     */\n\n\n    function mergeAnimationOptions(source, destination) {\n      if (source.params) {\n        /** @type {?} */\n        var p0 = source.params;\n\n        if (!destination.params) {\n          destination.params = {};\n        }\n        /** @type {?} */\n\n\n        var p1 = destination.params;\n        Object.keys(p0).forEach(\n        /**\n        * @param {?} param\n        * @return {?}\n        */\n        function (param) {\n          if (!p1.hasOwnProperty(param)) {\n            p1[param] = p0[param];\n          }\n        });\n      }\n\n      return destination;\n    }\n    /** @type {?} */\n\n\n    var DASH_CASE_REGEXP = /-+([a-z0-9])/g;\n    /**\n     * @param {?} input\n     * @return {?}\n     */\n\n    function dashCaseToCamelCase(input) {\n      return input.replace(DASH_CASE_REGEXP,\n      /**\n      * @param {...?} m\n      * @return {?}\n      */\n      function () {\n        for (var _len = arguments.length, m = new Array(_len), _key2 = 0; _key2 < _len; _key2++) {\n          m[_key2] = arguments[_key2];\n        }\n\n        return m[1].toUpperCase();\n      });\n    }\n    /**\n     * @param {?} input\n     * @return {?}\n     */\n\n\n    function camelCaseToDashCase(input) {\n      return input.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();\n    }\n    /**\n     * @param {?} duration\n     * @param {?} delay\n     * @return {?}\n     */\n\n\n    function allowPreviousPlayerStylesMerge(duration, delay) {\n      return duration === 0 || delay === 0;\n    }\n    /**\n     * @param {?} element\n     * @param {?} keyframes\n     * @param {?} previousStyles\n     * @return {?}\n     */\n\n\n    function balancePreviousStylesIntoKeyframes(element, keyframes, previousStyles) {\n      /** @type {?} */\n      var previousStyleProps = Object.keys(previousStyles);\n\n      if (previousStyleProps.length && keyframes.length) {\n        /** @type {?} */\n        var startingKeyframe = keyframes[0];\n        /** @type {?} */\n\n        var missingStyleProps = [];\n        previousStyleProps.forEach(\n        /**\n        * @param {?} prop\n        * @return {?}\n        */\n        function (prop) {\n          if (!startingKeyframe.hasOwnProperty(prop)) {\n            missingStyleProps.push(prop);\n          }\n\n          startingKeyframe[prop] = previousStyles[prop];\n        });\n\n        if (missingStyleProps.length) {\n          var _loop = function _loop() {\n            /** @type {?} */\n            var kf = keyframes[i];\n            missingStyleProps.forEach(\n            /**\n            * @param {?} prop\n            * @return {?}\n            */\n            function (prop) {\n              kf[prop] = computeStyle(element, prop);\n            });\n          };\n\n          // tslint:disable-next-line\n          for (var i = 1; i < keyframes.length; i++) {\n            _loop();\n          }\n        }\n      }\n\n      return keyframes;\n    }\n    /**\n     * @param {?} visitor\n     * @param {?} node\n     * @param {?} context\n     * @return {?}\n     */\n\n\n    function visitDslNode(visitor, node, context) {\n      switch (node.type) {\n        case 7\n        /* Trigger */\n        :\n          return visitor.visitTrigger(node, context);\n\n        case 0\n        /* State */\n        :\n          return visitor.visitState(node, context);\n\n        case 1\n        /* Transition */\n        :\n          return visitor.visitTransition(node, context);\n\n        case 2\n        /* Sequence */\n        :\n          return visitor.visitSequence(node, context);\n\n        case 3\n        /* Group */\n        :\n          return visitor.visitGroup(node, context);\n\n        case 4\n        /* Animate */\n        :\n          return visitor.visitAnimate(node, context);\n\n        case 5\n        /* Keyframes */\n        :\n          return visitor.visitKeyframes(node, context);\n\n        case 6\n        /* Style */\n        :\n          return visitor.visitStyle(node, context);\n\n        case 8\n        /* Reference */\n        :\n          return visitor.visitReference(node, context);\n\n        case 9\n        /* AnimateChild */\n        :\n          return visitor.visitAnimateChild(node, context);\n\n        case 10\n        /* AnimateRef */\n        :\n          return visitor.visitAnimateRef(node, context);\n\n        case 11\n        /* Query */\n        :\n          return visitor.visitQuery(node, context);\n\n        case 12\n        /* Stagger */\n        :\n          return visitor.visitStagger(node, context);\n\n        default:\n          throw new Error(\"Unable to resolve animation metadata node #\".concat(node.type));\n      }\n    }\n    /**\n     * @param {?} element\n     * @param {?} prop\n     * @return {?}\n     */\n\n\n    function computeStyle(element, prop) {\n      return (\n        /** @type {?} */\n        window.getComputedStyle(element)[prop]\n      );\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     * @type {?}\n     */\n\n\n    var ANY_STATE = '*';\n    /**\n     * @param {?} transitionValue\n     * @param {?} errors\n     * @return {?}\n     */\n\n    function parseTransitionExpr(transitionValue, errors) {\n      /** @type {?} */\n      var expressions = [];\n\n      if (typeof transitionValue == 'string') {\n        /** @type {?} */\n        transitionValue.split(/\\s*,\\s*/).forEach(\n        /**\n        * @param {?} str\n        * @return {?}\n        */\n        function (str) {\n          return parseInnerTransitionStr(str, expressions, errors);\n        });\n      } else {\n        expressions.push(\n        /** @type {?} */\n        transitionValue);\n      }\n\n      return expressions;\n    }\n    /**\n     * @param {?} eventStr\n     * @param {?} expressions\n     * @param {?} errors\n     * @return {?}\n     */\n\n\n    function parseInnerTransitionStr(eventStr, expressions, errors) {\n      if (eventStr[0] == ':') {\n        /** @type {?} */\n        var result = parseAnimationAlias(eventStr, errors);\n\n        if (typeof result == 'function') {\n          expressions.push(result);\n          return;\n        }\n\n        eventStr =\n        /** @type {?} */\n        result;\n      }\n      /** @type {?} */\n\n\n      var match = eventStr.match(/^(\\*|[-\\w]+)\\s*(<?[=-]>)\\s*(\\*|[-\\w]+)$/);\n\n      if (match == null || match.length < 4) {\n        errors.push(\"The provided transition expression \\\"\".concat(eventStr, \"\\\" is not supported\"));\n        return expressions;\n      }\n      /** @type {?} */\n\n\n      var fromState = match[1];\n      /** @type {?} */\n\n      var separator = match[2];\n      /** @type {?} */\n\n      var toState = match[3];\n      expressions.push(makeLambdaFromStates(fromState, toState));\n      /** @type {?} */\n\n      var isFullAnyStateExpr = fromState == ANY_STATE && toState == ANY_STATE;\n\n      if (separator[0] == '<' && !isFullAnyStateExpr) {\n        expressions.push(makeLambdaFromStates(toState, fromState));\n      }\n    }\n    /**\n     * @param {?} alias\n     * @param {?} errors\n     * @return {?}\n     */\n\n\n    function parseAnimationAlias(alias, errors) {\n      switch (alias) {\n        case ':enter':\n          return 'void => *';\n\n        case ':leave':\n          return '* => void';\n\n        case ':increment':\n          return (\n            /**\n            * @param {?} fromState\n            * @param {?} toState\n            * @return {?}\n            */\n            function (fromState, toState) {\n              return parseFloat(toState) > parseFloat(fromState);\n            }\n          );\n\n        case ':decrement':\n          return (\n            /**\n            * @param {?} fromState\n            * @param {?} toState\n            * @return {?}\n            */\n            function (fromState, toState) {\n              return parseFloat(toState) < parseFloat(fromState);\n            }\n          );\n\n        default:\n          errors.push(\"The transition alias value \\\"\".concat(alias, \"\\\" is not supported\"));\n          return '* => *';\n      }\n    } // DO NOT REFACTOR ... keep the follow set instantiations\n    // with the values intact (closure compiler for some reason\n    // removes follow-up lines that add the values outside of\n    // the constructor...\n\n    /** @type {?} */\n\n\n    var TRUE_BOOLEAN_VALUES = new Set(['true', '1']);\n    /** @type {?} */\n\n    var FALSE_BOOLEAN_VALUES = new Set(['false', '0']);\n    /**\n     * @param {?} lhs\n     * @param {?} rhs\n     * @return {?}\n     */\n\n    function makeLambdaFromStates(lhs, rhs) {\n      /** @type {?} */\n      var LHS_MATCH_BOOLEAN = TRUE_BOOLEAN_VALUES.has(lhs) || FALSE_BOOLEAN_VALUES.has(lhs);\n      /** @type {?} */\n\n      var RHS_MATCH_BOOLEAN = TRUE_BOOLEAN_VALUES.has(rhs) || FALSE_BOOLEAN_VALUES.has(rhs);\n      return (\n        /**\n        * @param {?} fromState\n        * @param {?} toState\n        * @return {?}\n        */\n        function (fromState, toState) {\n          /** @type {?} */\n          var lhsMatch = lhs == ANY_STATE || lhs == fromState;\n          /** @type {?} */\n\n          var rhsMatch = rhs == ANY_STATE || rhs == toState;\n\n          if (!lhsMatch && LHS_MATCH_BOOLEAN && typeof fromState === 'boolean') {\n            lhsMatch = fromState ? TRUE_BOOLEAN_VALUES.has(lhs) : FALSE_BOOLEAN_VALUES.has(lhs);\n          }\n\n          if (!rhsMatch && RHS_MATCH_BOOLEAN && typeof toState === 'boolean') {\n            rhsMatch = toState ? TRUE_BOOLEAN_VALUES.has(rhs) : FALSE_BOOLEAN_VALUES.has(rhs);\n          }\n\n          return lhsMatch && rhsMatch;\n        }\n      );\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var SELF_TOKEN = ':self';\n    /** @type {?} */\n\n    var SELF_TOKEN_REGEX = new RegExp(\"s*\".concat(SELF_TOKEN, \"s*,?\"), 'g');\n    /*\n     * [Validation]\n     * The visitor code below will traverse the animation AST generated by the animation verb functions\n     * (the output is a tree of objects) and attempt to perform a series of validations on the data. The\n     * following corner-cases will be validated:\n     *\n     * 1. Overlap of animations\n     * Given that a CSS property cannot be animated in more than one place at the same time, it's\n     * important that this behavior is detected and validated. The way in which this occurs is that\n     * each time a style property is examined, a string-map containing the property will be updated with\n     * the start and end times for when the property is used within an animation step.\n     *\n     * If there are two or more parallel animations that are currently running (these are invoked by the\n     * group()) on the same element then the validator will throw an error. Since the start/end timing\n     * values are collected for each property then if the current animation step is animating the same\n     * property and its timing values fall anywhere into the window of time that the property is\n     * currently being animated within then this is what causes an error.\n     *\n     * 2. Timing values\n     * The validator will validate to see if a timing value of `duration delay easing` or\n     * `durationNumber` is valid or not.\n     *\n     * (note that upon validation the code below will replace the timing data with an object containing\n     * {duration,delay,easing}.\n     *\n     * 3. Offset Validation\n     * Each of the style() calls are allowed to have an offset value when placed inside of keyframes().\n     * Offsets within keyframes() are considered valid when:\n     *\n     *   - No offsets are used at all\n     *   - Each style() entry contains an offset value\n     *   - Each offset is between 0 and 1\n     *   - Each offset is greater to or equal than the previous one\n     *\n     * Otherwise an error will be thrown.\n     */\n\n    /**\n     * @param {?} driver\n     * @param {?} metadata\n     * @param {?} errors\n     * @return {?}\n     */\n\n    function buildAnimationAst(driver, metadata, errors) {\n      return new AnimationAstBuilderVisitor(driver).build(metadata, errors);\n    }\n    /** @type {?} */\n\n\n    var ROOT_SELECTOR = '';\n\n    var AnimationAstBuilderVisitor =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _driver\n       */\n      function AnimationAstBuilderVisitor(_driver) {\n        _classCallCheck(this, AnimationAstBuilderVisitor);\n\n        this._driver = _driver;\n      }\n      /**\n       * @param {?} metadata\n       * @param {?} errors\n       * @return {?}\n       */\n\n\n      _createClass2(AnimationAstBuilderVisitor, [{\n        key: \"build\",\n        value: function build(metadata, errors) {\n          /** @type {?} */\n          var context = new AnimationAstBuilderContext(errors);\n\n          this._resetContextStyleTimingState(context);\n\n          return (\n            /** @type {?} */\n            visitDslNode(this, normalizeAnimationEntry(metadata), context)\n          );\n        }\n        /**\n         * @private\n         * @param {?} context\n         * @return {?}\n         */\n\n      }, {\n        key: \"_resetContextStyleTimingState\",\n        value: function _resetContextStyleTimingState(context) {\n          context.currentQuerySelector = ROOT_SELECTOR;\n          context.collectedStyles = {};\n          context.collectedStyles[ROOT_SELECTOR] = {};\n          context.currentTime = 0;\n        }\n        /**\n         * @param {?} metadata\n         * @param {?} context\n         * @return {?}\n         */\n\n      }, {\n        key: \"visitTrigger\",\n        value: function visitTrigger(metadata, context) {\n          var _this3 = this;\n\n          /** @type {?} */\n          var queryCount = context.queryCount = 0;\n          /** @type {?} */\n\n          var depCount = context.depCount = 0;\n          /** @type {?} */\n\n          var states = [];\n          /** @type {?} */\n\n          var transitions = [];\n\n          if (metadata.name.charAt(0) == '@') {\n            context.errors.push('animation triggers cannot be prefixed with an `@` sign (e.g. trigger(\\'@foo\\', [...]))');\n          }\n\n          metadata.definitions.forEach(\n          /**\n          * @param {?} def\n          * @return {?}\n          */\n          function (def) {\n            _this3._resetContextStyleTimingState(context);\n\n            if (def.type == 0\n            /* State */\n            ) {\n                /** @type {?} */\n                var stateDef =\n                /** @type {?} */\n                def;\n                /** @type {?} */\n\n                var name = stateDef.name;\n                name.toString().split(/\\s*,\\s*/).forEach(\n                /**\n                * @param {?} n\n                * @return {?}\n                */\n                function (n) {\n                  stateDef.name = n;\n                  states.push(_this3.visitState(stateDef, context));\n                });\n                stateDef.name = name;\n              } else if (def.type == 1\n            /* Transition */\n            ) {\n                /** @type {?} */\n                var transition = _this3.visitTransition(\n                /** @type {?} */\n                def, context);\n\n                queryCount += transition.queryCount;\n                depCount += transition.depCount;\n                transitions.push(transition);\n              } else {\n              context.errors.push('only state() and transition() definitions can sit inside of a trigger()');\n            }\n          });\n          return {\n            type: 7\n            /* Trigger */\n            ,\n            name: metadata.name,\n            states: states,\n            transitions: transitions,\n            queryCount: queryCount,\n            depCount: depCount,\n            options: null\n          };\n        }\n        /**\n         * @param {?} metadata\n         * @param {?} context\n         * @return {?}\n         */\n\n      }, {\n        key: \"visitState\",\n        value: function visitState(metadata, context) {\n          /** @type {?} */\n          var styleAst = this.visitStyle(metadata.styles, context);\n          /** @type {?} */\n\n          var astParams = metadata.options && metadata.options.params || null;\n\n          if (styleAst.containsDynamicStyles) {\n            /** @type {?} */\n            var missingSubs = new Set();\n            /** @type {?} */\n\n            var params = astParams || {};\n            styleAst.styles.forEach(\n            /**\n            * @param {?} value\n            * @return {?}\n            */\n            function (value) {\n              if (isObject(value)) {\n                /** @type {?} */\n                var stylesObj =\n                /** @type {?} */\n                value;\n                Object.keys(stylesObj).forEach(\n                /**\n                * @param {?} prop\n                * @return {?}\n                */\n                function (prop) {\n                  extractStyleParams(stylesObj[prop]).forEach(\n                  /**\n                  * @param {?} sub\n                  * @return {?}\n                  */\n                  function (sub) {\n                    if (!params.hasOwnProperty(sub)) {\n                      missingSubs.add(sub);\n                    }\n                  });\n                });\n              }\n            });\n\n            if (missingSubs.size) {\n              /** @type {?} */\n              var missingSubsArr = iteratorToArray(missingSubs.values());\n              context.errors.push(\"state(\\\"\".concat(metadata.name, \"\\\", ...) must define default values for all the following style substitutions: \").concat(missingSubsArr.join(', ')));\n            }\n          }\n\n          return {\n            type: 0\n            /* State */\n            ,\n            name: metadata.name,\n            style: styleAst,\n            options: astParams ? {\n              params: astParams\n            } : null\n          };\n        }\n        /**\n         * @param {?} metadata\n         * @param {?} context\n         * @return {?}\n         */\n\n      }, {\n        key: \"visitTransition\",\n        value: function visitTransition(metadata, context) {\n          context.queryCount = 0;\n          context.depCount = 0;\n          /** @type {?} */\n\n          var animation = visitDslNode(this, normalizeAnimationEntry(metadata.animation), context);\n          /** @type {?} */\n\n          var matchers = parseTransitionExpr(metadata.expr, context.errors);\n          return {\n            type: 1\n            /* Transition */\n            ,\n            matchers: matchers,\n            animation: animation,\n            queryCount: context.queryCount,\n            depCount: context.depCount,\n            options: normalizeAnimationOptions(metadata.options)\n          };\n        }\n        /**\n         * @param {?} metadata\n         * @param {?} context\n         * @return {?}\n         */\n\n      }, {\n        key: \"visitSequence\",\n        value: function visitSequence(metadata, context) {\n          var _this4 = this;\n\n          return {\n            type: 2\n            /* Sequence */\n            ,\n            steps: metadata.steps.map(\n            /**\n            * @param {?} s\n            * @return {?}\n            */\n            function (s) {\n              return visitDslNode(_this4, s, context);\n            }),\n            options: normalizeAnimationOptions(metadata.options)\n          };\n        }\n        /**\n         * @param {?} metadata\n         * @param {?} context\n         * @return {?}\n         */\n\n      }, {\n        key: \"visitGroup\",\n        value: function visitGroup(metadata, context) {\n          var _this5 = this;\n\n          /** @type {?} */\n          var currentTime = context.currentTime;\n          /** @type {?} */\n\n          var furthestTime = 0;\n          /** @type {?} */\n\n          var steps = metadata.steps.map(\n          /**\n          * @param {?} step\n          * @return {?}\n          */\n          function (step) {\n            context.currentTime = currentTime;\n            /** @type {?} */\n\n            var innerAst = visitDslNode(_this5, step, context);\n            furthestTime = Math.max(furthestTime, context.currentTime);\n            return innerAst;\n          });\n          context.currentTime = furthestTime;\n          return {\n            type: 3\n            /* Group */\n            ,\n            steps: steps,\n            options: normalizeAnimationOptions(metadata.options)\n          };\n        }\n        /**\n         * @param {?} metadata\n         * @param {?} context\n         * @return {?}\n         */\n\n      }, {\n        key: \"visitAnimate\",\n        value: function visitAnimate(metadata, context) {\n          /** @type {?} */\n          var timingAst = constructTimingAst(metadata.timings, context.errors);\n          context.currentAnimateTimings = timingAst;\n          /** @type {?} */\n\n          var styleAst;\n          /** @type {?} */\n\n          var styleMetadata = metadata.styles ? metadata.styles : Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"style\"])({});\n\n          if (styleMetadata.type == 5\n          /* Keyframes */\n          ) {\n              styleAst = this.visitKeyframes(\n              /** @type {?} */\n              styleMetadata, context);\n            } else {\n            /** @type {?} */\n            var _styleMetadata =\n            /** @type {?} */\n            metadata.styles;\n            /** @type {?} */\n\n            var isEmpty = false;\n\n            if (!_styleMetadata) {\n              isEmpty = true;\n              /** @type {?} */\n\n              var newStyleData = {};\n\n              if (timingAst.easing) {\n                newStyleData['easing'] = timingAst.easing;\n              }\n\n              _styleMetadata = Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"style\"])(newStyleData);\n            }\n\n            context.currentTime += timingAst.duration + timingAst.delay;\n            /** @type {?} */\n\n            var _styleAst = this.visitStyle(_styleMetadata, context);\n\n            _styleAst.isEmptyStep = isEmpty;\n            styleAst = _styleAst;\n          }\n\n          context.currentAnimateTimings = null;\n          return {\n            type: 4\n            /* Animate */\n            ,\n            timings: timingAst,\n            style: styleAst,\n            options: null\n          };\n        }\n        /**\n         * @param {?} metadata\n         * @param {?} context\n         * @return {?}\n         */\n\n      }, {\n        key: \"visitStyle\",\n        value: function visitStyle(metadata, context) {\n          /** @type {?} */\n          var ast = this._makeStyleAst(metadata, context);\n\n          this._validateStyleAst(ast, context);\n\n          return ast;\n        }\n        /**\n         * @private\n         * @param {?} metadata\n         * @param {?} context\n         * @return {?}\n         */\n\n      }, {\n        key: \"_makeStyleAst\",\n        value: function _makeStyleAst(metadata, context) {\n          /** @type {?} */\n          var styles = [];\n\n          if (Array.isArray(metadata.styles)) {\n            /** @type {?} */\n            metadata.styles.forEach(\n            /**\n            * @param {?} styleTuple\n            * @return {?}\n            */\n            function (styleTuple) {\n              if (typeof styleTuple == 'string') {\n                if (styleTuple == _angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"AUTO_STYLE\"]) {\n                  styles.push(\n                  /** @type {?} */\n                  styleTuple);\n                } else {\n                  context.errors.push(\"The provided style string value \".concat(styleTuple, \" is not allowed.\"));\n                }\n              } else {\n                styles.push(\n                /** @type {?} */\n                styleTuple);\n              }\n            });\n          } else {\n            styles.push(metadata.styles);\n          }\n          /** @type {?} */\n\n\n          var containsDynamicStyles = false;\n          /** @type {?} */\n\n          var collectedEasing = null;\n          styles.forEach(\n          /**\n          * @param {?} styleData\n          * @return {?}\n          */\n          function (styleData) {\n            if (isObject(styleData)) {\n              /** @type {?} */\n              var styleMap =\n              /** @type {?} */\n              styleData;\n              /** @type {?} */\n\n              var easing = styleMap['easing'];\n\n              if (easing) {\n                collectedEasing =\n                /** @type {?} */\n                easing;\n                delete styleMap['easing'];\n              }\n\n              if (!containsDynamicStyles) {\n                for (var prop in styleMap) {\n                  /** @type {?} */\n                  var value = styleMap[prop];\n\n                  if (value.toString().indexOf(SUBSTITUTION_EXPR_START) >= 0) {\n                    containsDynamicStyles = true;\n                    break;\n                  }\n                }\n              }\n            }\n          });\n          return {\n            type: 6\n            /* Style */\n            ,\n            styles: styles,\n            easing: collectedEasing,\n            offset: metadata.offset,\n            containsDynamicStyles: containsDynamicStyles,\n            options: null\n          };\n        }\n        /**\n         * @private\n         * @param {?} ast\n         * @param {?} context\n         * @return {?}\n         */\n\n      }, {\n        key: \"_validateStyleAst\",\n        value: function _validateStyleAst(ast, context) {\n          var _this6 = this;\n\n          /** @type {?} */\n          var timings = context.currentAnimateTimings;\n          /** @type {?} */\n\n          var endTime = context.currentTime;\n          /** @type {?} */\n\n          var startTime = context.currentTime;\n\n          if (timings && startTime > 0) {\n            startTime -= timings.duration + timings.delay;\n          }\n\n          ast.styles.forEach(\n          /**\n          * @param {?} tuple\n          * @return {?}\n          */\n          function (tuple) {\n            if (typeof tuple == 'string') return;\n            Object.keys(tuple).forEach(\n            /**\n            * @param {?} prop\n            * @return {?}\n            */\n            function (prop) {\n              if (!_this6._driver.validateStyleProperty(prop)) {\n                context.errors.push(\"The provided animation property \\\"\".concat(prop, \"\\\" is not a supported CSS property for animations\"));\n                return;\n              }\n              /** @type {?} */\n\n\n              var collectedStyles = context.collectedStyles[\n              /** @type {?} */\n              context.currentQuerySelector];\n              /** @type {?} */\n\n              var collectedEntry = collectedStyles[prop];\n              /** @type {?} */\n\n              var updateCollectedStyle = true;\n\n              if (collectedEntry) {\n                if (startTime != endTime && startTime >= collectedEntry.startTime && endTime <= collectedEntry.endTime) {\n                  context.errors.push(\"The CSS property \\\"\".concat(prop, \"\\\" that exists between the times of \\\"\").concat(collectedEntry.startTime, \"ms\\\" and \\\"\").concat(collectedEntry.endTime, \"ms\\\" is also being animated in a parallel animation between the times of \\\"\").concat(startTime, \"ms\\\" and \\\"\").concat(endTime, \"ms\\\"\"));\n                  updateCollectedStyle = false;\n                } // we always choose the smaller start time value since we\n                // want to have a record of the entire animation window where\n                // the style property is being animated in between\n\n\n                startTime = collectedEntry.startTime;\n              }\n\n              if (updateCollectedStyle) {\n                collectedStyles[prop] = {\n                  startTime: startTime,\n                  endTime: endTime\n                };\n              }\n\n              if (context.options) {\n                validateStyleParams(tuple[prop], context.options, context.errors);\n              }\n            });\n          });\n        }\n        /**\n         * @param {?} metadata\n         * @param {?} context\n         * @return {?}\n         */\n\n      }, {\n        key: \"visitKeyframes\",\n        value: function visitKeyframes(metadata, context) {\n          var _this7 = this;\n\n          /** @type {?} */\n          var ast = {\n            type: 5\n            /* Keyframes */\n            ,\n            styles: [],\n            options: null\n          };\n\n          if (!context.currentAnimateTimings) {\n            context.errors.push(\"keyframes() must be placed inside of a call to animate()\");\n            return ast;\n          }\n          /** @type {?} */\n\n\n          var MAX_KEYFRAME_OFFSET = 1;\n          /** @type {?} */\n\n          var totalKeyframesWithOffsets = 0;\n          /** @type {?} */\n\n          var offsets = [];\n          /** @type {?} */\n\n          var offsetsOutOfOrder = false;\n          /** @type {?} */\n\n          var keyframesOutOfRange = false;\n          /** @type {?} */\n\n          var previousOffset = 0;\n          /** @type {?} */\n\n          var keyframes = metadata.steps.map(\n          /**\n          * @param {?} styles\n          * @return {?}\n          */\n          function (styles) {\n            /** @type {?} */\n            var style = _this7._makeStyleAst(styles, context);\n            /** @type {?} */\n\n\n            var offsetVal = style.offset != null ? style.offset : consumeOffset(style.styles);\n            /** @type {?} */\n\n            var offset = 0;\n\n            if (offsetVal != null) {\n              totalKeyframesWithOffsets++;\n              offset = style.offset = offsetVal;\n            }\n\n            keyframesOutOfRange = keyframesOutOfRange || offset < 0 || offset > 1;\n            offsetsOutOfOrder = offsetsOutOfOrder || offset < previousOffset;\n            previousOffset = offset;\n            offsets.push(offset);\n            return style;\n          });\n\n          if (keyframesOutOfRange) {\n            context.errors.push(\"Please ensure that all keyframe offsets are between 0 and 1\");\n          }\n\n          if (offsetsOutOfOrder) {\n            context.errors.push(\"Please ensure that all keyframe offsets are in order\");\n          }\n          /** @type {?} */\n\n\n          var length = metadata.steps.length;\n          /** @type {?} */\n\n          var generatedOffset = 0;\n\n          if (totalKeyframesWithOffsets > 0 && totalKeyframesWithOffsets < length) {\n            context.errors.push(\"Not all style() steps within the declared keyframes() contain offsets\");\n          } else if (totalKeyframesWithOffsets == 0) {\n            generatedOffset = MAX_KEYFRAME_OFFSET / (length - 1);\n          }\n          /** @type {?} */\n\n\n          var limit = length - 1;\n          /** @type {?} */\n\n          var currentTime = context.currentTime;\n          /** @type {?} */\n\n          var currentAnimateTimings =\n          /** @type {?} */\n          context.currentAnimateTimings;\n          /** @type {?} */\n\n          var animateDuration = currentAnimateTimings.duration;\n          keyframes.forEach(\n          /**\n          * @param {?} kf\n          * @param {?} i\n          * @return {?}\n          */\n          function (kf, i) {\n            /** @type {?} */\n            var offset = generatedOffset > 0 ? i == limit ? 1 : generatedOffset * i : offsets[i];\n            /** @type {?} */\n\n            var durationUpToThisFrame = offset * animateDuration;\n            context.currentTime = currentTime + currentAnimateTimings.delay + durationUpToThisFrame;\n            currentAnimateTimings.duration = durationUpToThisFrame;\n\n            _this7._validateStyleAst(kf, context);\n\n            kf.offset = offset;\n            ast.styles.push(kf);\n          });\n          return ast;\n        }\n        /**\n         * @param {?} metadata\n         * @param {?} context\n         * @return {?}\n         */\n\n      }, {\n        key: \"visitReference\",\n        value: function visitReference(metadata, context) {\n          return {\n            type: 8\n            /* Reference */\n            ,\n            animation: visitDslNode(this, normalizeAnimationEntry(metadata.animation), context),\n            options: normalizeAnimationOptions(metadata.options)\n          };\n        }\n        /**\n         * @param {?} metadata\n         * @param {?} context\n         * @return {?}\n         */\n\n      }, {\n        key: \"visitAnimateChild\",\n        value: function visitAnimateChild(metadata, context) {\n          context.depCount++;\n          return {\n            type: 9\n            /* AnimateChild */\n            ,\n            options: normalizeAnimationOptions(metadata.options)\n          };\n        }\n        /**\n         * @param {?} metadata\n         * @param {?} context\n         * @return {?}\n         */\n\n      }, {\n        key: \"visitAnimateRef\",\n        value: function visitAnimateRef(metadata, context) {\n          return {\n            type: 10\n            /* AnimateRef */\n            ,\n            animation: this.visitReference(metadata.animation, context),\n            options: normalizeAnimationOptions(metadata.options)\n          };\n        }\n        /**\n         * @param {?} metadata\n         * @param {?} context\n         * @return {?}\n         */\n\n      }, {\n        key: \"visitQuery\",\n        value: function visitQuery(metadata, context) {\n          /** @type {?} */\n          var parentSelector =\n          /** @type {?} */\n          context.currentQuerySelector;\n          /** @type {?} */\n\n          var options =\n          /** @type {?} */\n          metadata.options || {};\n          context.queryCount++;\n          context.currentQuery = metadata;\n\n          var _normalizeSelector = normalizeSelector(metadata.selector),\n              _normalizeSelector2 = _slicedToArray(_normalizeSelector, 2),\n              selector = _normalizeSelector2[0],\n              includeSelf = _normalizeSelector2[1];\n\n          context.currentQuerySelector = parentSelector.length ? parentSelector + ' ' + selector : selector;\n          getOrSetAsInMap(context.collectedStyles, context.currentQuerySelector, {});\n          /** @type {?} */\n\n          var animation = visitDslNode(this, normalizeAnimationEntry(metadata.animation), context);\n          context.currentQuery = null;\n          context.currentQuerySelector = parentSelector;\n          return {\n            type: 11\n            /* Query */\n            ,\n            selector: selector,\n            limit: options.limit || 0,\n            optional: !!options.optional,\n            includeSelf: includeSelf,\n            animation: animation,\n            originalSelector: metadata.selector,\n            options: normalizeAnimationOptions(metadata.options)\n          };\n        }\n        /**\n         * @param {?} metadata\n         * @param {?} context\n         * @return {?}\n         */\n\n      }, {\n        key: \"visitStagger\",\n        value: function visitStagger(metadata, context) {\n          if (!context.currentQuery) {\n            context.errors.push(\"stagger() can only be used inside of query()\");\n          }\n          /** @type {?} */\n\n\n          var timings = metadata.timings === 'full' ? {\n            duration: 0,\n            delay: 0,\n            easing: 'full'\n          } : resolveTiming(metadata.timings, context.errors, true);\n          return {\n            type: 12\n            /* Stagger */\n            ,\n            animation: visitDslNode(this, normalizeAnimationEntry(metadata.animation), context),\n            timings: timings,\n            options: null\n          };\n        }\n      }]);\n\n      return AnimationAstBuilderVisitor;\n    }();\n\n    if (false) {}\n    /**\n     * @param {?} selector\n     * @return {?}\n     */\n\n\n    function normalizeSelector(selector) {\n      /** @type {?} */\n      var hasAmpersand = selector.split(/\\s*,\\s*/).find(\n      /**\n      * @param {?} token\n      * @return {?}\n      */\n      function (token) {\n        return token == SELF_TOKEN;\n      }) ? true : false;\n\n      if (hasAmpersand) {\n        selector = selector.replace(SELF_TOKEN_REGEX, '');\n      } // the :enter and :leave selectors are filled in at runtime during timeline building\n\n\n      selector = selector.replace(/@\\*/g, NG_TRIGGER_SELECTOR).replace(/@\\w+/g,\n      /**\n      * @param {?} match\n      * @return {?}\n      */\n      function (match) {\n        return NG_TRIGGER_SELECTOR + '-' + match.substr(1);\n      }).replace(/:animating/g, NG_ANIMATING_SELECTOR);\n      return [selector, hasAmpersand];\n    }\n    /**\n     * @param {?} obj\n     * @return {?}\n     */\n\n\n    function normalizeParams(obj) {\n      return obj ? copyObj(obj) : null;\n    }\n\n    var AnimationAstBuilderContext =\n    /**\n     * @param {?} errors\n     */\n    function AnimationAstBuilderContext(errors) {\n      _classCallCheck(this, AnimationAstBuilderContext);\n\n      this.errors = errors;\n      this.queryCount = 0;\n      this.depCount = 0;\n      this.currentTransition = null;\n      this.currentQuery = null;\n      this.currentQuerySelector = null;\n      this.currentAnimateTimings = null;\n      this.currentTime = 0;\n      this.collectedStyles = {};\n      this.options = null;\n    };\n\n    if (false) {}\n    /**\n     * @param {?} styles\n     * @return {?}\n     */\n\n\n    function consumeOffset(styles) {\n      if (typeof styles == 'string') return null;\n      /** @type {?} */\n\n      var offset = null;\n\n      if (Array.isArray(styles)) {\n        styles.forEach(\n        /**\n        * @param {?} styleTuple\n        * @return {?}\n        */\n        function (styleTuple) {\n          if (isObject(styleTuple) && styleTuple.hasOwnProperty('offset')) {\n            /** @type {?} */\n            var obj =\n            /** @type {?} */\n            styleTuple;\n            offset = parseFloat(\n            /** @type {?} */\n            obj['offset']);\n            delete obj['offset'];\n          }\n        });\n      } else if (isObject(styles) && styles.hasOwnProperty('offset')) {\n        /** @type {?} */\n        var obj =\n        /** @type {?} */\n        styles;\n        offset = parseFloat(\n        /** @type {?} */\n        obj['offset']);\n        delete obj['offset'];\n      }\n\n      return offset;\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function isObject(value) {\n      return !Array.isArray(value) && typeof value == 'object';\n    }\n    /**\n     * @param {?} value\n     * @param {?} errors\n     * @return {?}\n     */\n\n\n    function constructTimingAst(value, errors) {\n      /** @type {?} */\n      var timings = null;\n\n      if (value.hasOwnProperty('duration')) {\n        timings =\n        /** @type {?} */\n        value;\n      } else if (typeof value == 'number') {\n        /** @type {?} */\n        var duration = resolveTiming(\n        /** @type {?} */\n        value, errors).duration;\n        return makeTimingAst(\n        /** @type {?} */\n        duration, 0, '');\n      }\n      /** @type {?} */\n\n\n      var strValue =\n      /** @type {?} */\n      value;\n      /** @type {?} */\n\n      var isDynamic = strValue.split(/\\s+/).some(\n      /**\n      * @param {?} v\n      * @return {?}\n      */\n      function (v) {\n        return v.charAt(0) == '{' && v.charAt(1) == '{';\n      });\n\n      if (isDynamic) {\n        /** @type {?} */\n        var ast =\n        /** @type {?} */\n        makeTimingAst(0, 0, '');\n        ast.dynamic = true;\n        ast.strValue = strValue;\n        return (\n          /** @type {?} */\n          ast\n        );\n      }\n\n      timings = timings || resolveTiming(strValue, errors);\n      return makeTimingAst(timings.duration, timings.delay, timings.easing);\n    }\n    /**\n     * @param {?} options\n     * @return {?}\n     */\n\n\n    function normalizeAnimationOptions(options) {\n      if (options) {\n        options = copyObj(options);\n\n        if (options['params']) {\n          options['params'] =\n          /** @type {?} */\n          normalizeParams(options['params']);\n        }\n      } else {\n        options = {};\n      }\n\n      return options;\n    }\n    /**\n     * @param {?} duration\n     * @param {?} delay\n     * @param {?} easing\n     * @return {?}\n     */\n\n\n    function makeTimingAst(duration, delay, easing) {\n      return {\n        duration: duration,\n        delay: delay,\n        easing: easing\n      };\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @record\n     */\n\n\n    function AnimationTimelineInstruction() {}\n\n    if (false) {}\n    /**\n     * @param {?} element\n     * @param {?} keyframes\n     * @param {?} preStyleProps\n     * @param {?} postStyleProps\n     * @param {?} duration\n     * @param {?} delay\n     * @param {?=} easing\n     * @param {?=} subTimeline\n     * @return {?}\n     */\n\n\n    function createTimelineInstruction(element, keyframes, preStyleProps, postStyleProps, duration, delay) {\n      var easing = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : null;\n      var subTimeline = arguments.length > 7 && arguments[7] !== undefined ? arguments[7] : false;\n      return {\n        type: 1\n        /* TimelineAnimation */\n        ,\n        element: element,\n        keyframes: keyframes,\n        preStyleProps: preStyleProps,\n        postStyleProps: postStyleProps,\n        duration: duration,\n        delay: delay,\n        totalTime: duration + delay,\n        easing: easing,\n        subTimeline: subTimeline\n      };\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n\n    var ElementInstructionMap =\n    /*#__PURE__*/\n    function () {\n      function ElementInstructionMap() {\n        _classCallCheck(this, ElementInstructionMap);\n\n        this._map = new Map();\n      }\n      /**\n       * @param {?} element\n       * @return {?}\n       */\n\n\n      _createClass2(ElementInstructionMap, [{\n        key: \"consume\",\n        value: function consume(element) {\n          /** @type {?} */\n          var instructions = this._map.get(element);\n\n          if (instructions) {\n            this._map.delete(element);\n          } else {\n            instructions = [];\n          }\n\n          return instructions;\n        }\n        /**\n         * @param {?} element\n         * @param {?} instructions\n         * @return {?}\n         */\n\n      }, {\n        key: \"append\",\n        value: function append(element, instructions) {\n          var _existingInstructions;\n\n          /** @type {?} */\n          var existingInstructions = this._map.get(element);\n\n          if (!existingInstructions) {\n            this._map.set(element, existingInstructions = []);\n          }\n\n          (_existingInstructions = existingInstructions).push.apply(_existingInstructions, _toConsumableArray(instructions));\n        }\n        /**\n         * @param {?} element\n         * @return {?}\n         */\n\n      }, {\n        key: \"has\",\n        value: function has(element) {\n          return this._map.has(element);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"clear\",\n        value: function clear() {\n          this._map.clear();\n        }\n      }]);\n\n      return ElementInstructionMap;\n    }();\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var ONE_FRAME_IN_MILLISECONDS = 1;\n    /** @type {?} */\n\n    var ENTER_TOKEN = ':enter';\n    /** @type {?} */\n\n    var ENTER_TOKEN_REGEX = new RegExp(ENTER_TOKEN, 'g');\n    /** @type {?} */\n\n    var LEAVE_TOKEN = ':leave';\n    /** @type {?} */\n\n    var LEAVE_TOKEN_REGEX = new RegExp(LEAVE_TOKEN, 'g');\n    /*\n     * The code within this file aims to generate web-animations-compatible keyframes from Angular's\n     * animation DSL code.\n     *\n     * The code below will be converted from:\n     *\n     * ```\n     * sequence([\n     *   style({ opacity: 0 }),\n     *   animate(1000, style({ opacity: 0 }))\n     * ])\n     * ```\n     *\n     * To:\n     * ```\n     * keyframes = [{ opacity: 0, offset: 0 }, { opacity: 1, offset: 1 }]\n     * duration = 1000\n     * delay = 0\n     * easing = ''\n     * ```\n     *\n     * For this operation to cover the combination of animation verbs (style, animate, group, etc...) a\n     * combination of prototypical inheritance, AST traversal and merge-sort-like algorithms are used.\n     *\n     * [AST Traversal]\n     * Each of the animation verbs, when executed, will return an string-map object representing what\n     * type of action it is (style, animate, group, etc...) and the data associated with it. This means\n     * that when functional composition mix of these functions is evaluated (like in the example above)\n     * then it will end up producing a tree of objects representing the animation itself.\n     *\n     * When this animation object tree is processed by the visitor code below it will visit each of the\n     * verb statements within the visitor. And during each visit it will build the context of the\n     * animation keyframes by interacting with the `TimelineBuilder`.\n     *\n     * [TimelineBuilder]\n     * This class is responsible for tracking the styles and building a series of keyframe objects for a\n     * timeline between a start and end time. The builder starts off with an initial timeline and each\n     * time the AST comes across a `group()`, `keyframes()` or a combination of the two wihtin a\n     * `sequence()` then it will generate a sub timeline for each step as well as a new one after\n     * they are complete.\n     *\n     * As the AST is traversed, the timing state on each of the timelines will be incremented. If a sub\n     * timeline was created (based on one of the cases above) then the parent timeline will attempt to\n     * merge the styles used within the sub timelines into itself (only with group() this will happen).\n     * This happens with a merge operation (much like how the merge works in mergesort) and it will only\n     * copy the most recently used styles from the sub timelines into the parent timeline. This ensures\n     * that if the styles are used later on in another phase of the animation then they will be the most\n     * up-to-date values.\n     *\n     * [How Missing Styles Are Updated]\n     * Each timeline has a `backFill` property which is responsible for filling in new styles into\n     * already processed keyframes if a new style shows up later within the animation sequence.\n     *\n     * ```\n     * sequence([\n     *   style({ width: 0 }),\n     *   animate(1000, style({ width: 100 })),\n     *   animate(1000, style({ width: 200 })),\n     *   animate(1000, style({ width: 300 }))\n     *   animate(1000, style({ width: 400, height: 400 })) // notice how `height` doesn't exist anywhere\n     * else\n     * ])\n     * ```\n     *\n     * What is happening here is that the `height` value is added later in the sequence, but is missing\n     * from all previous animation steps. Therefore when a keyframe is created it would also be missing\n     * from all previous keyframes up until where it is first used. For the timeline keyframe generation\n     * to properly fill in the style it will place the previous value (the value from the parent\n     * timeline) or a default value of `*` into the backFill object. Given that each of the keyframe\n     * styles are objects that prototypically inhert from the backFill object, this means that if a\n     * value is added into the backFill then it will automatically propagate any missing values to all\n     * keyframes. Therefore the missing `height` value will be properly filled into the already\n     * processed keyframes.\n     *\n     * When a sub-timeline is created it will have its own backFill property. This is done so that\n     * styles present within the sub-timeline do not accidentally seep into the previous/future timeline\n     * keyframes\n     *\n     * (For prototypically-inherited contents to be detected a `for(i in obj)` loop must be used.)\n     *\n     * [Validation]\n     * The code in this file is not responsible for validation. That functionality happens with within\n     * the `AnimationValidatorVisitor` code.\n     */\n\n    /**\n     * @param {?} driver\n     * @param {?} rootElement\n     * @param {?} ast\n     * @param {?} enterClassName\n     * @param {?} leaveClassName\n     * @param {?=} startingStyles\n     * @param {?=} finalStyles\n     * @param {?=} options\n     * @param {?=} subInstructions\n     * @param {?=} errors\n     * @return {?}\n     */\n\n    function buildAnimationTimelines(driver, rootElement, ast, enterClassName, leaveClassName) {\n      var startingStyles = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : {};\n      var finalStyles = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : {};\n      var options = arguments.length > 7 ? arguments[7] : undefined;\n      var subInstructions = arguments.length > 8 ? arguments[8] : undefined;\n      var errors = arguments.length > 9 && arguments[9] !== undefined ? arguments[9] : [];\n      return new AnimationTimelineBuilderVisitor().buildKeyframes(driver, rootElement, ast, enterClassName, leaveClassName, startingStyles, finalStyles, options, subInstructions, errors);\n    }\n\n    var AnimationTimelineBuilderVisitor =\n    /*#__PURE__*/\n    function () {\n      function AnimationTimelineBuilderVisitor() {\n        _classCallCheck(this, AnimationTimelineBuilderVisitor);\n      }\n\n      _createClass2(AnimationTimelineBuilderVisitor, [{\n        key: \"buildKeyframes\",\n\n        /**\n         * @param {?} driver\n         * @param {?} rootElement\n         * @param {?} ast\n         * @param {?} enterClassName\n         * @param {?} leaveClassName\n         * @param {?} startingStyles\n         * @param {?} finalStyles\n         * @param {?} options\n         * @param {?=} subInstructions\n         * @param {?=} errors\n         * @return {?}\n         */\n        value: function buildKeyframes(driver, rootElement, ast, enterClassName, leaveClassName, startingStyles, finalStyles, options, subInstructions) {\n          var errors = arguments.length > 9 && arguments[9] !== undefined ? arguments[9] : [];\n          subInstructions = subInstructions || new ElementInstructionMap();\n          /** @type {?} */\n\n          var context = new AnimationTimelineContext(driver, rootElement, subInstructions, enterClassName, leaveClassName, errors, []);\n          context.options = options;\n          context.currentTimeline.setStyles([startingStyles], null, context.errors, options);\n          visitDslNode(this, ast, context); // this checks to see if an actual animation happened\n\n          /** @type {?} */\n\n          var timelines = context.timelines.filter(\n          /**\n          * @param {?} timeline\n          * @return {?}\n          */\n          function (timeline) {\n            return timeline.containsAnimation();\n          });\n\n          if (timelines.length && Object.keys(finalStyles).length) {\n            /** @type {?} */\n            var tl = timelines[timelines.length - 1];\n\n            if (!tl.allowOnlyTimelineStyles()) {\n              tl.setStyles([finalStyles], null, context.errors, options);\n            }\n          }\n\n          return timelines.length ? timelines.map(\n          /**\n          * @param {?} timeline\n          * @return {?}\n          */\n          function (timeline) {\n            return timeline.buildKeyframes();\n          }) : [createTimelineInstruction(rootElement, [], [], [], 0, 0, '', false)];\n        }\n        /**\n         * @param {?} ast\n         * @param {?} context\n         * @return {?}\n         */\n\n      }, {\n        key: \"visitTrigger\",\n        value: function visitTrigger(ast, context) {} // these values are not visited in this AST\n\n        /**\n         * @param {?} ast\n         * @param {?} context\n         * @return {?}\n         */\n\n      }, {\n        key: \"visitState\",\n        value: function visitState(ast, context) {} // these values are not visited in this AST\n\n        /**\n         * @param {?} ast\n         * @param {?} context\n         * @return {?}\n         */\n\n      }, {\n        key: \"visitTransition\",\n        value: function visitTransition(ast, context) {} // these values are not visited in this AST\n\n        /**\n         * @param {?} ast\n         * @param {?} context\n         * @return {?}\n         */\n\n      }, {\n        key: \"visitAnimateChild\",\n        value: function visitAnimateChild(ast, context) {\n          /** @type {?} */\n          var elementInstructions = context.subInstructions.consume(context.element);\n\n          if (elementInstructions) {\n            /** @type {?} */\n            var innerContext = context.createSubContext(ast.options);\n            /** @type {?} */\n\n            var startTime = context.currentTimeline.currentTime;\n            /** @type {?} */\n\n            var endTime = this._visitSubInstructions(elementInstructions, innerContext,\n            /** @type {?} */\n            innerContext.options);\n\n            if (startTime != endTime) {\n              // we do this on the upper context because we created a sub context for\n              // the sub child animations\n              context.transformIntoNewTimeline(endTime);\n            }\n          }\n\n          context.previousNode = ast;\n        }\n        /**\n         * @param {?} ast\n         * @param {?} context\n         * @return {?}\n         */\n\n      }, {\n        key: \"visitAnimateRef\",\n        value: function visitAnimateRef(ast, context) {\n          /** @type {?} */\n          var innerContext = context.createSubContext(ast.options);\n          innerContext.transformIntoNewTimeline();\n          this.visitReference(ast.animation, innerContext);\n          context.transformIntoNewTimeline(innerContext.currentTimeline.currentTime);\n          context.previousNode = ast;\n        }\n        /**\n         * @private\n         * @param {?} instructions\n         * @param {?} context\n         * @param {?} options\n         * @return {?}\n         */\n\n      }, {\n        key: \"_visitSubInstructions\",\n        value: function _visitSubInstructions(instructions, context, options) {\n          /** @type {?} */\n          var startTime = context.currentTimeline.currentTime;\n          /** @type {?} */\n\n          var furthestTime = startTime; // this is a special-case for when a user wants to skip a sub\n          // animation from being fired entirely.\n\n          /** @type {?} */\n\n          var duration = options.duration != null ? resolveTimingValue(options.duration) : null;\n          /** @type {?} */\n\n          var delay = options.delay != null ? resolveTimingValue(options.delay) : null;\n\n          if (duration !== 0) {\n            instructions.forEach(\n            /**\n            * @param {?} instruction\n            * @return {?}\n            */\n            function (instruction) {\n              /** @type {?} */\n              var instructionTimings = context.appendInstructionToTimeline(instruction, duration, delay);\n              furthestTime = Math.max(furthestTime, instructionTimings.duration + instructionTimings.delay);\n            });\n          }\n\n          return furthestTime;\n        }\n        /**\n         * @param {?} ast\n         * @param {?} context\n         * @return {?}\n         */\n\n      }, {\n        key: \"visitReference\",\n        value: function visitReference(ast, context) {\n          context.updateOptions(ast.options, true);\n          visitDslNode(this, ast.animation, context);\n          context.previousNode = ast;\n        }\n        /**\n         * @param {?} ast\n         * @param {?} context\n         * @return {?}\n         */\n\n      }, {\n        key: \"visitSequence\",\n        value: function visitSequence(ast, context) {\n          var _this8 = this;\n\n          /** @type {?} */\n          var subContextCount = context.subContextCount;\n          /** @type {?} */\n\n          var ctx = context;\n          /** @type {?} */\n\n          var options = ast.options;\n\n          if (options && (options.params || options.delay)) {\n            ctx = context.createSubContext(options);\n            ctx.transformIntoNewTimeline();\n\n            if (options.delay != null) {\n              if (ctx.previousNode.type == 6\n              /* Style */\n              ) {\n                  ctx.currentTimeline.snapshotCurrentStyles();\n                  ctx.previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n                }\n              /** @type {?} */\n\n\n              var delay = resolveTimingValue(options.delay);\n              ctx.delayNextStep(delay);\n            }\n          }\n\n          if (ast.steps.length) {\n            ast.steps.forEach(\n            /**\n            * @param {?} s\n            * @return {?}\n            */\n            function (s) {\n              return visitDslNode(_this8, s, ctx);\n            }); // this is here just incase the inner steps only contain or end with a style() call\n\n            ctx.currentTimeline.applyStylesToKeyframe(); // this means that some animation function within the sequence\n            // ended up creating a sub timeline (which means the current\n            // timeline cannot overlap with the contents of the sequence)\n\n            if (ctx.subContextCount > subContextCount) {\n              ctx.transformIntoNewTimeline();\n            }\n          }\n\n          context.previousNode = ast;\n        }\n        /**\n         * @param {?} ast\n         * @param {?} context\n         * @return {?}\n         */\n\n      }, {\n        key: \"visitGroup\",\n        value: function visitGroup(ast, context) {\n          var _this9 = this;\n\n          /** @type {?} */\n          var innerTimelines = [];\n          /** @type {?} */\n\n          var furthestTime = context.currentTimeline.currentTime;\n          /** @type {?} */\n\n          var delay = ast.options && ast.options.delay ? resolveTimingValue(ast.options.delay) : 0;\n          ast.steps.forEach(\n          /**\n          * @param {?} s\n          * @return {?}\n          */\n          function (s) {\n            /** @type {?} */\n            var innerContext = context.createSubContext(ast.options);\n\n            if (delay) {\n              innerContext.delayNextStep(delay);\n            }\n\n            visitDslNode(_this9, s, innerContext);\n            furthestTime = Math.max(furthestTime, innerContext.currentTimeline.currentTime);\n            innerTimelines.push(innerContext.currentTimeline);\n          }); // this operation is run after the AST loop because otherwise\n          // if the parent timeline's collected styles were updated then\n          // it would pass in invalid data into the new-to-be forked items\n\n          innerTimelines.forEach(\n          /**\n          * @param {?} timeline\n          * @return {?}\n          */\n          function (timeline) {\n            return context.currentTimeline.mergeTimelineCollectedStyles(timeline);\n          });\n          context.transformIntoNewTimeline(furthestTime);\n          context.previousNode = ast;\n        }\n        /**\n         * @private\n         * @param {?} ast\n         * @param {?} context\n         * @return {?}\n         */\n\n      }, {\n        key: \"_visitTiming\",\n        value: function _visitTiming(ast, context) {\n          if (\n          /** @type {?} */\n          ast.dynamic) {\n            /** @type {?} */\n            var strValue =\n            /** @type {?} */\n            ast.strValue;\n            /** @type {?} */\n\n            var timingValue = context.params ? interpolateParams(strValue, context.params, context.errors) : strValue;\n            return resolveTiming(timingValue, context.errors);\n          } else {\n            return {\n              duration: ast.duration,\n              delay: ast.delay,\n              easing: ast.easing\n            };\n          }\n        }\n        /**\n         * @param {?} ast\n         * @param {?} context\n         * @return {?}\n         */\n\n      }, {\n        key: \"visitAnimate\",\n        value: function visitAnimate(ast, context) {\n          /** @type {?} */\n          var timings = context.currentAnimateTimings = this._visitTiming(ast.timings, context);\n          /** @type {?} */\n\n\n          var timeline = context.currentTimeline;\n\n          if (timings.delay) {\n            context.incrementTime(timings.delay);\n            timeline.snapshotCurrentStyles();\n          }\n          /** @type {?} */\n\n\n          var style = ast.style;\n\n          if (style.type == 5\n          /* Keyframes */\n          ) {\n              this.visitKeyframes(style, context);\n            } else {\n            context.incrementTime(timings.duration);\n            this.visitStyle(\n            /** @type {?} */\n            style, context);\n            timeline.applyStylesToKeyframe();\n          }\n\n          context.currentAnimateTimings = null;\n          context.previousNode = ast;\n        }\n        /**\n         * @param {?} ast\n         * @param {?} context\n         * @return {?}\n         */\n\n      }, {\n        key: \"visitStyle\",\n        value: function visitStyle(ast, context) {\n          /** @type {?} */\n          var timeline = context.currentTimeline;\n          /** @type {?} */\n\n          var timings =\n          /** @type {?} */\n          context.currentAnimateTimings; // this is a special case for when a style() call\n          // directly follows  an animate() call (but not inside of an animate() call)\n\n          if (!timings && timeline.getCurrentStyleProperties().length) {\n            timeline.forwardFrame();\n          }\n          /** @type {?} */\n\n\n          var easing = timings && timings.easing || ast.easing;\n\n          if (ast.isEmptyStep) {\n            timeline.applyEmptyStep(easing);\n          } else {\n            timeline.setStyles(ast.styles, easing, context.errors, context.options);\n          }\n\n          context.previousNode = ast;\n        }\n        /**\n         * @param {?} ast\n         * @param {?} context\n         * @return {?}\n         */\n\n      }, {\n        key: \"visitKeyframes\",\n        value: function visitKeyframes(ast, context) {\n          /** @type {?} */\n          var currentAnimateTimings =\n          /** @type {?} */\n          context.currentAnimateTimings;\n          /** @type {?} */\n\n          var startTime =\n          /** @type {?} */\n          context.currentTimeline.duration;\n          /** @type {?} */\n\n          var duration = currentAnimateTimings.duration;\n          /** @type {?} */\n\n          var innerContext = context.createSubContext();\n          /** @type {?} */\n\n          var innerTimeline = innerContext.currentTimeline;\n          innerTimeline.easing = currentAnimateTimings.easing;\n          ast.styles.forEach(\n          /**\n          * @param {?} step\n          * @return {?}\n          */\n          function (step) {\n            /** @type {?} */\n            var offset = step.offset || 0;\n            innerTimeline.forwardTime(offset * duration);\n            innerTimeline.setStyles(step.styles, step.easing, context.errors, context.options);\n            innerTimeline.applyStylesToKeyframe();\n          }); // this will ensure that the parent timeline gets all the styles from\n          // the child even if the new timeline below is not used\n\n          context.currentTimeline.mergeTimelineCollectedStyles(innerTimeline); // we do this because the window between this timeline and the sub timeline\n          // should ensure that the styles within are exactly the same as they were before\n\n          context.transformIntoNewTimeline(startTime + duration);\n          context.previousNode = ast;\n        }\n        /**\n         * @param {?} ast\n         * @param {?} context\n         * @return {?}\n         */\n\n      }, {\n        key: \"visitQuery\",\n        value: function visitQuery(ast, context) {\n          var _this10 = this;\n\n          // in the event that the first step before this is a style step we need\n          // to ensure the styles are applied before the children are animated\n\n          /** @type {?} */\n          var startTime = context.currentTimeline.currentTime;\n          /** @type {?} */\n\n          var options =\n          /** @type {?} */\n          ast.options || {};\n          /** @type {?} */\n\n          var delay = options.delay ? resolveTimingValue(options.delay) : 0;\n\n          if (delay && (context.previousNode.type === 6\n          /* Style */\n          || startTime == 0 && context.currentTimeline.getCurrentStyleProperties().length)) {\n            context.currentTimeline.snapshotCurrentStyles();\n            context.previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n          }\n          /** @type {?} */\n\n\n          var furthestTime = startTime;\n          /** @type {?} */\n\n          var elms = context.invokeQuery(ast.selector, ast.originalSelector, ast.limit, ast.includeSelf, options.optional ? true : false, context.errors);\n          context.currentQueryTotal = elms.length;\n          /** @type {?} */\n\n          var sameElementTimeline = null;\n          elms.forEach(\n          /**\n          * @param {?} element\n          * @param {?} i\n          * @return {?}\n          */\n          function (element, i) {\n            context.currentQueryIndex = i;\n            /** @type {?} */\n\n            var innerContext = context.createSubContext(ast.options, element);\n\n            if (delay) {\n              innerContext.delayNextStep(delay);\n            }\n\n            if (element === context.element) {\n              sameElementTimeline = innerContext.currentTimeline;\n            }\n\n            visitDslNode(_this10, ast.animation, innerContext); // this is here just incase the inner steps only contain or end\n            // with a style() call (which is here to signal that this is a preparatory\n            // call to style an element before it is animated again)\n\n            innerContext.currentTimeline.applyStylesToKeyframe();\n            /** @type {?} */\n\n            var endTime = innerContext.currentTimeline.currentTime;\n            furthestTime = Math.max(furthestTime, endTime);\n          });\n          context.currentQueryIndex = 0;\n          context.currentQueryTotal = 0;\n          context.transformIntoNewTimeline(furthestTime);\n\n          if (sameElementTimeline) {\n            context.currentTimeline.mergeTimelineCollectedStyles(sameElementTimeline);\n            context.currentTimeline.snapshotCurrentStyles();\n          }\n\n          context.previousNode = ast;\n        }\n        /**\n         * @param {?} ast\n         * @param {?} context\n         * @return {?}\n         */\n\n      }, {\n        key: \"visitStagger\",\n        value: function visitStagger(ast, context) {\n          /** @type {?} */\n          var parentContext =\n          /** @type {?} */\n          context.parentContext;\n          /** @type {?} */\n\n          var tl = context.currentTimeline;\n          /** @type {?} */\n\n          var timings = ast.timings;\n          /** @type {?} */\n\n          var duration = Math.abs(timings.duration);\n          /** @type {?} */\n\n          var maxTime = duration * (context.currentQueryTotal - 1);\n          /** @type {?} */\n\n          var delay = duration * context.currentQueryIndex;\n          /** @type {?} */\n\n          var staggerTransformer = timings.duration < 0 ? 'reverse' : timings.easing;\n\n          switch (staggerTransformer) {\n            case 'reverse':\n              delay = maxTime - delay;\n              break;\n\n            case 'full':\n              delay = parentContext.currentStaggerTime;\n              break;\n          }\n          /** @type {?} */\n\n\n          var timeline = context.currentTimeline;\n\n          if (delay) {\n            timeline.delayNextStep(delay);\n          }\n          /** @type {?} */\n\n\n          var startingTime = timeline.currentTime;\n          visitDslNode(this, ast.animation, context);\n          context.previousNode = ast; // time = duration + delay\n          // the reason why this computation is so complex is because\n          // the inner timeline may either have a delay value or a stretched\n          // keyframe depending on if a subtimeline is not used or is used.\n\n          parentContext.currentStaggerTime = tl.currentTime - startingTime + (tl.startTime - parentContext.currentTimeline.startTime);\n        }\n      }]);\n\n      return AnimationTimelineBuilderVisitor;\n    }();\n    /** @type {?} */\n\n\n    var DEFAULT_NOOP_PREVIOUS_NODE =\n    /** @type {?} */\n    {};\n\n    var AnimationTimelineContext =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _driver\n       * @param {?} element\n       * @param {?} subInstructions\n       * @param {?} _enterClassName\n       * @param {?} _leaveClassName\n       * @param {?} errors\n       * @param {?} timelines\n       * @param {?=} initialTimeline\n       */\n      function AnimationTimelineContext(_driver, element, subInstructions, _enterClassName, _leaveClassName, errors, timelines, initialTimeline) {\n        _classCallCheck(this, AnimationTimelineContext);\n\n        this._driver = _driver;\n        this.element = element;\n        this.subInstructions = subInstructions;\n        this._enterClassName = _enterClassName;\n        this._leaveClassName = _leaveClassName;\n        this.errors = errors;\n        this.timelines = timelines;\n        this.parentContext = null;\n        this.currentAnimateTimings = null;\n        this.previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n        this.subContextCount = 0;\n        this.options = {};\n        this.currentQueryIndex = 0;\n        this.currentQueryTotal = 0;\n        this.currentStaggerTime = 0;\n        this.currentTimeline = initialTimeline || new TimelineBuilder(this._driver, element, 0);\n        timelines.push(this.currentTimeline);\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(AnimationTimelineContext, [{\n        key: \"updateOptions\",\n\n        /**\n         * @param {?} options\n         * @param {?=} skipIfExists\n         * @return {?}\n         */\n        value: function updateOptions(options, skipIfExists) {\n          var _this11 = this;\n\n          if (!options) return;\n          /** @type {?} */\n\n          var newOptions =\n          /** @type {?} */\n          options;\n          /** @type {?} */\n\n          var optionsToUpdate = this.options; // NOTE: this will get patched up when other animation methods support duration overrides\n\n          if (newOptions.duration != null) {\n            /** @type {?} */\n            optionsToUpdate.duration = resolveTimingValue(newOptions.duration);\n          }\n\n          if (newOptions.delay != null) {\n            optionsToUpdate.delay = resolveTimingValue(newOptions.delay);\n          }\n          /** @type {?} */\n\n\n          var newParams = newOptions.params;\n\n          if (newParams) {\n            /** @type {?} */\n            var paramsToUpdate =\n            /** @type {?} */\n            optionsToUpdate.params;\n\n            if (!paramsToUpdate) {\n              paramsToUpdate = this.options.params = {};\n            }\n\n            Object.keys(newParams).forEach(\n            /**\n            * @param {?} name\n            * @return {?}\n            */\n            function (name) {\n              if (!skipIfExists || !paramsToUpdate.hasOwnProperty(name)) {\n                paramsToUpdate[name] = interpolateParams(newParams[name], paramsToUpdate, _this11.errors);\n              }\n            });\n          }\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_copyOptions\",\n        value: function _copyOptions() {\n          /** @type {?} */\n          var options = {};\n\n          if (this.options) {\n            /** @type {?} */\n            var oldParams = this.options.params;\n\n            if (oldParams) {\n              /** @type {?} */\n              var params = options['params'] = {};\n              Object.keys(oldParams).forEach(\n              /**\n              * @param {?} name\n              * @return {?}\n              */\n              function (name) {\n                params[name] = oldParams[name];\n              });\n            }\n          }\n\n          return options;\n        }\n        /**\n         * @param {?=} options\n         * @param {?=} element\n         * @param {?=} newTime\n         * @return {?}\n         */\n\n      }, {\n        key: \"createSubContext\",\n        value: function createSubContext() {\n          var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n          var element = arguments.length > 1 ? arguments[1] : undefined;\n          var newTime = arguments.length > 2 ? arguments[2] : undefined;\n\n          /** @type {?} */\n          var target = element || this.element;\n          /** @type {?} */\n\n          var context = new AnimationTimelineContext(this._driver, target, this.subInstructions, this._enterClassName, this._leaveClassName, this.errors, this.timelines, this.currentTimeline.fork(target, newTime || 0));\n          context.previousNode = this.previousNode;\n          context.currentAnimateTimings = this.currentAnimateTimings;\n          context.options = this._copyOptions();\n          context.updateOptions(options);\n          context.currentQueryIndex = this.currentQueryIndex;\n          context.currentQueryTotal = this.currentQueryTotal;\n          context.parentContext = this;\n          this.subContextCount++;\n          return context;\n        }\n        /**\n         * @param {?=} newTime\n         * @return {?}\n         */\n\n      }, {\n        key: \"transformIntoNewTimeline\",\n        value: function transformIntoNewTimeline(newTime) {\n          this.previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n          this.currentTimeline = this.currentTimeline.fork(this.element, newTime);\n          this.timelines.push(this.currentTimeline);\n          return this.currentTimeline;\n        }\n        /**\n         * @param {?} instruction\n         * @param {?} duration\n         * @param {?} delay\n         * @return {?}\n         */\n\n      }, {\n        key: \"appendInstructionToTimeline\",\n        value: function appendInstructionToTimeline(instruction, duration, delay) {\n          /** @type {?} */\n          var updatedTimings = {\n            duration: duration != null ? duration : instruction.duration,\n            delay: this.currentTimeline.currentTime + (delay != null ? delay : 0) + instruction.delay,\n            easing: ''\n          };\n          /** @type {?} */\n\n          var builder = new SubTimelineBuilder(this._driver, instruction.element, instruction.keyframes, instruction.preStyleProps, instruction.postStyleProps, updatedTimings, instruction.stretchStartingKeyframe);\n          this.timelines.push(builder);\n          return updatedTimings;\n        }\n        /**\n         * @param {?} time\n         * @return {?}\n         */\n\n      }, {\n        key: \"incrementTime\",\n        value: function incrementTime(time) {\n          this.currentTimeline.forwardTime(this.currentTimeline.duration + time);\n        }\n        /**\n         * @param {?} delay\n         * @return {?}\n         */\n\n      }, {\n        key: \"delayNextStep\",\n        value: function delayNextStep(delay) {\n          // negative delays are not yet supported\n          if (delay > 0) {\n            this.currentTimeline.delayNextStep(delay);\n          }\n        }\n        /**\n         * @param {?} selector\n         * @param {?} originalSelector\n         * @param {?} limit\n         * @param {?} includeSelf\n         * @param {?} optional\n         * @param {?} errors\n         * @return {?}\n         */\n\n      }, {\n        key: \"invokeQuery\",\n        value: function invokeQuery(selector, originalSelector, limit, includeSelf, optional, errors) {\n          /** @type {?} */\n          var results = [];\n\n          if (includeSelf) {\n            results.push(this.element);\n          }\n\n          if (selector.length > 0) {\n            // if :self is only used then the selector is empty\n            selector = selector.replace(ENTER_TOKEN_REGEX, '.' + this._enterClassName);\n            selector = selector.replace(LEAVE_TOKEN_REGEX, '.' + this._leaveClassName);\n            /** @type {?} */\n\n            var multi = limit != 1;\n            /** @type {?} */\n\n            var elements = this._driver.query(this.element, selector, multi);\n\n            if (limit !== 0) {\n              elements = limit < 0 ? elements.slice(elements.length + limit, elements.length) : elements.slice(0, limit);\n            }\n\n            results.push.apply(results, _toConsumableArray(elements));\n          }\n\n          if (!optional && results.length == 0) {\n            errors.push(\"`query(\\\"\".concat(originalSelector, \"\\\")` returned zero elements. (Use `query(\\\"\").concat(originalSelector, \"\\\", { optional: true })` if you wish to allow this.)\"));\n          }\n\n          return results;\n        }\n      }, {\n        key: \"params\",\n        get: function get() {\n          return this.options.params;\n        }\n      }]);\n\n      return AnimationTimelineContext;\n    }();\n\n    if (false) {}\n\n    var TimelineBuilder =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _driver\n       * @param {?} element\n       * @param {?} startTime\n       * @param {?=} _elementTimelineStylesLookup\n       */\n      function TimelineBuilder(_driver, element, startTime, _elementTimelineStylesLookup) {\n        _classCallCheck(this, TimelineBuilder);\n\n        this._driver = _driver;\n        this.element = element;\n        this.startTime = startTime;\n        this._elementTimelineStylesLookup = _elementTimelineStylesLookup;\n        this.duration = 0;\n        this._previousKeyframe = {};\n        this._currentKeyframe = {};\n        this._keyframes = new Map();\n        this._styleSummary = {};\n        this._pendingStyles = {};\n        this._backFill = {};\n        this._currentEmptyStepKeyframe = null;\n\n        if (!this._elementTimelineStylesLookup) {\n          this._elementTimelineStylesLookup = new Map();\n        }\n\n        this._localTimelineStyles = Object.create(this._backFill, {});\n        this._globalTimelineStyles =\n        /** @type {?} */\n        this._elementTimelineStylesLookup.get(element);\n\n        if (!this._globalTimelineStyles) {\n          this._globalTimelineStyles = this._localTimelineStyles;\n\n          this._elementTimelineStylesLookup.set(element, this._localTimelineStyles);\n        }\n\n        this._loadKeyframe();\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(TimelineBuilder, [{\n        key: \"containsAnimation\",\n        value: function containsAnimation() {\n          switch (this._keyframes.size) {\n            case 0:\n              return false;\n\n            case 1:\n              return this.getCurrentStyleProperties().length > 0;\n\n            default:\n              return true;\n          }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"getCurrentStyleProperties\",\n        value: function getCurrentStyleProperties() {\n          return Object.keys(this._currentKeyframe);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"delayNextStep\",\n\n        /**\n         * @param {?} delay\n         * @return {?}\n         */\n        value: function delayNextStep(delay) {\n          // in the event that a style() step is placed right before a stagger()\n          // and that style() step is the very first style() value in the animation\n          // then we need to make a copy of the keyframe [0, copy, 1] so that the delay\n          // properly applies the style() values to work with the stagger...\n\n          /** @type {?} */\n          var hasPreStyleStep = this._keyframes.size == 1 && Object.keys(this._pendingStyles).length;\n\n          if (this.duration || hasPreStyleStep) {\n            this.forwardTime(this.currentTime + delay);\n\n            if (hasPreStyleStep) {\n              this.snapshotCurrentStyles();\n            }\n          } else {\n            this.startTime += delay;\n          }\n        }\n        /**\n         * @param {?} element\n         * @param {?=} currentTime\n         * @return {?}\n         */\n\n      }, {\n        key: \"fork\",\n        value: function fork(element, currentTime) {\n          this.applyStylesToKeyframe();\n          return new TimelineBuilder(this._driver, element, currentTime || this.currentTime, this._elementTimelineStylesLookup);\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_loadKeyframe\",\n        value: function _loadKeyframe() {\n          if (this._currentKeyframe) {\n            this._previousKeyframe = this._currentKeyframe;\n          }\n\n          this._currentKeyframe =\n          /** @type {?} */\n          this._keyframes.get(this.duration);\n\n          if (!this._currentKeyframe) {\n            this._currentKeyframe = Object.create(this._backFill, {});\n\n            this._keyframes.set(this.duration, this._currentKeyframe);\n          }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"forwardFrame\",\n        value: function forwardFrame() {\n          this.duration += ONE_FRAME_IN_MILLISECONDS;\n\n          this._loadKeyframe();\n        }\n        /**\n         * @param {?} time\n         * @return {?}\n         */\n\n      }, {\n        key: \"forwardTime\",\n        value: function forwardTime(time) {\n          this.applyStylesToKeyframe();\n          this.duration = time;\n\n          this._loadKeyframe();\n        }\n        /**\n         * @private\n         * @param {?} prop\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"_updateStyle\",\n        value: function _updateStyle(prop, value) {\n          this._localTimelineStyles[prop] = value;\n          this._globalTimelineStyles[prop] = value;\n          this._styleSummary[prop] = {\n            time: this.currentTime,\n            value: value\n          };\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"allowOnlyTimelineStyles\",\n        value: function allowOnlyTimelineStyles() {\n          return this._currentEmptyStepKeyframe !== this._currentKeyframe;\n        }\n        /**\n         * @param {?} easing\n         * @return {?}\n         */\n\n      }, {\n        key: \"applyEmptyStep\",\n        value: function applyEmptyStep(easing) {\n          var _this12 = this;\n\n          if (easing) {\n            this._previousKeyframe['easing'] = easing;\n          } // special case for animate(duration):\n          // all missing styles are filled with a `*` value then\n          // if any destination styles are filled in later on the same\n          // keyframe then they will override the overridden styles\n          // We use `_globalTimelineStyles` here because there may be\n          // styles in previous keyframes that are not present in this timeline\n\n\n          Object.keys(this._globalTimelineStyles).forEach(\n          /**\n          * @param {?} prop\n          * @return {?}\n          */\n          function (prop) {\n            _this12._backFill[prop] = _this12._globalTimelineStyles[prop] || _angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"AUTO_STYLE\"];\n            _this12._currentKeyframe[prop] = _angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"AUTO_STYLE\"];\n          });\n          this._currentEmptyStepKeyframe = this._currentKeyframe;\n        }\n        /**\n         * @param {?} input\n         * @param {?} easing\n         * @param {?} errors\n         * @param {?=} options\n         * @return {?}\n         */\n\n      }, {\n        key: \"setStyles\",\n        value: function setStyles(input, easing, errors, options) {\n          var _this13 = this;\n\n          if (easing) {\n            this._previousKeyframe['easing'] = easing;\n          }\n          /** @type {?} */\n\n\n          var params = options && options.params || {};\n          /** @type {?} */\n\n          var styles = flattenStyles(input, this._globalTimelineStyles);\n          Object.keys(styles).forEach(\n          /**\n          * @param {?} prop\n          * @return {?}\n          */\n          function (prop) {\n            /** @type {?} */\n            var val = interpolateParams(styles[prop], params, errors);\n            _this13._pendingStyles[prop] = val;\n\n            if (!_this13._localTimelineStyles.hasOwnProperty(prop)) {\n              _this13._backFill[prop] = _this13._globalTimelineStyles.hasOwnProperty(prop) ? _this13._globalTimelineStyles[prop] : _angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"AUTO_STYLE\"];\n            }\n\n            _this13._updateStyle(prop, val);\n          });\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"applyStylesToKeyframe\",\n        value: function applyStylesToKeyframe() {\n          var _this14 = this;\n\n          /** @type {?} */\n          var styles = this._pendingStyles;\n          /** @type {?} */\n\n          var props = Object.keys(styles);\n          if (props.length == 0) return;\n          this._pendingStyles = {};\n          props.forEach(\n          /**\n          * @param {?} prop\n          * @return {?}\n          */\n          function (prop) {\n            /** @type {?} */\n            var val = styles[prop];\n            _this14._currentKeyframe[prop] = val;\n          });\n          Object.keys(this._localTimelineStyles).forEach(\n          /**\n          * @param {?} prop\n          * @return {?}\n          */\n          function (prop) {\n            if (!_this14._currentKeyframe.hasOwnProperty(prop)) {\n              _this14._currentKeyframe[prop] = _this14._localTimelineStyles[prop];\n            }\n          });\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"snapshotCurrentStyles\",\n        value: function snapshotCurrentStyles() {\n          var _this15 = this;\n\n          Object.keys(this._localTimelineStyles).forEach(\n          /**\n          * @param {?} prop\n          * @return {?}\n          */\n          function (prop) {\n            /** @type {?} */\n            var val = _this15._localTimelineStyles[prop];\n            _this15._pendingStyles[prop] = val;\n\n            _this15._updateStyle(prop, val);\n          });\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"getFinalKeyframe\",\n        value: function getFinalKeyframe() {\n          return this._keyframes.get(this.duration);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"mergeTimelineCollectedStyles\",\n\n        /**\n         * @param {?} timeline\n         * @return {?}\n         */\n        value: function mergeTimelineCollectedStyles(timeline) {\n          var _this16 = this;\n\n          Object.keys(timeline._styleSummary).forEach(\n          /**\n          * @param {?} prop\n          * @return {?}\n          */\n          function (prop) {\n            /** @type {?} */\n            var details0 = _this16._styleSummary[prop];\n            /** @type {?} */\n\n            var details1 = timeline._styleSummary[prop];\n\n            if (!details0 || details1.time > details0.time) {\n              _this16._updateStyle(prop, details1.value);\n            }\n          });\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"buildKeyframes\",\n        value: function buildKeyframes() {\n          var _this17 = this;\n\n          this.applyStylesToKeyframe();\n          /** @type {?} */\n\n          var preStyleProps = new Set();\n          /** @type {?} */\n\n          var postStyleProps = new Set();\n          /** @type {?} */\n\n          var isEmpty = this._keyframes.size === 1 && this.duration === 0;\n          /** @type {?} */\n\n          var finalKeyframes = [];\n\n          this._keyframes.forEach(\n          /**\n          * @param {?} keyframe\n          * @param {?} time\n          * @return {?}\n          */\n          function (keyframe, time) {\n            /** @type {?} */\n            var finalKeyframe = copyStyles(keyframe, true);\n            Object.keys(finalKeyframe).forEach(\n            /**\n            * @param {?} prop\n            * @return {?}\n            */\n            function (prop) {\n              /** @type {?} */\n              var value = finalKeyframe[prop];\n\n              if (value == _angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"ɵPRE_STYLE\"]) {\n                preStyleProps.add(prop);\n              } else if (value == _angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"AUTO_STYLE\"]) {\n                postStyleProps.add(prop);\n              }\n            });\n\n            if (!isEmpty) {\n              finalKeyframe['offset'] = time / _this17.duration;\n            }\n\n            finalKeyframes.push(finalKeyframe);\n          });\n          /** @type {?} */\n\n\n          var preProps = preStyleProps.size ? iteratorToArray(preStyleProps.values()) : [];\n          /** @type {?} */\n\n          var postProps = postStyleProps.size ? iteratorToArray(postStyleProps.values()) : []; // special case for a 0-second animation (which is designed just to place styles onscreen)\n\n          if (isEmpty) {\n            /** @type {?} */\n            var kf0 = finalKeyframes[0];\n            /** @type {?} */\n\n            var kf1 = copyObj(kf0);\n            kf0['offset'] = 0;\n            kf1['offset'] = 1;\n            finalKeyframes = [kf0, kf1];\n          }\n\n          return createTimelineInstruction(this.element, finalKeyframes, preProps, postProps, this.duration, this.startTime, this.easing, false);\n        }\n      }, {\n        key: \"currentTime\",\n        get: function get() {\n          return this.startTime + this.duration;\n        }\n      }, {\n        key: \"properties\",\n        get: function get() {\n          /** @type {?} */\n          var properties = [];\n\n          for (var prop in this._currentKeyframe) {\n            properties.push(prop);\n          }\n\n          return properties;\n        }\n      }]);\n\n      return TimelineBuilder;\n    }();\n\n    if (false) {}\n\n    var SubTimelineBuilder =\n    /*#__PURE__*/\n    function (_TimelineBuilder) {\n      _inherits(SubTimelineBuilder, _TimelineBuilder);\n\n      /**\n       * @param {?} driver\n       * @param {?} element\n       * @param {?} keyframes\n       * @param {?} preStyleProps\n       * @param {?} postStyleProps\n       * @param {?} timings\n       * @param {?=} _stretchStartingKeyframe\n       */\n      function SubTimelineBuilder(driver, element, keyframes, preStyleProps, postStyleProps, timings) {\n        var _this18;\n\n        var _stretchStartingKeyframe = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : false;\n\n        _classCallCheck(this, SubTimelineBuilder);\n\n        _this18 = _possibleConstructorReturn(this, _getPrototypeOf(SubTimelineBuilder).call(this, driver, element, timings.delay));\n        _this18.element = element;\n        _this18.keyframes = keyframes;\n        _this18.preStyleProps = preStyleProps;\n        _this18.postStyleProps = postStyleProps;\n        _this18._stretchStartingKeyframe = _stretchStartingKeyframe;\n        _this18.timings = {\n          duration: timings.duration,\n          delay: timings.delay,\n          easing: timings.easing\n        };\n        return _this18;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(SubTimelineBuilder, [{\n        key: \"containsAnimation\",\n        value: function containsAnimation() {\n          return this.keyframes.length > 1;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"buildKeyframes\",\n        value: function buildKeyframes() {\n          /** @type {?} */\n          var keyframes = this.keyframes;\n          var _this$timings = this.timings,\n              delay = _this$timings.delay,\n              duration = _this$timings.duration,\n              easing = _this$timings.easing;\n\n          if (this._stretchStartingKeyframe && delay) {\n            /** @type {?} */\n            var newKeyframes = [];\n            /** @type {?} */\n\n            var totalTime = duration + delay;\n            /** @type {?} */\n\n            var startingGap = delay / totalTime; // the original starting keyframe now starts once the delay is done\n\n            /** @type {?} */\n\n            var newFirstKeyframe = copyStyles(keyframes[0], false);\n            newFirstKeyframe['offset'] = 0;\n            newKeyframes.push(newFirstKeyframe);\n            /** @type {?} */\n\n            var oldFirstKeyframe = copyStyles(keyframes[0], false);\n            oldFirstKeyframe['offset'] = roundOffset(startingGap);\n            newKeyframes.push(oldFirstKeyframe);\n            /*\n                    When the keyframe is stretched then it means that the delay before the animation\n                    starts is gone. Instead the first keyframe is placed at the start of the animation\n                    and it is then copied to where it starts when the original delay is over. This basically\n                    means nothing animates during that delay, but the styles are still renderered. For this\n                    to work the original offset values that exist in the original keyframes must be \"warped\"\n                    so that they can take the new keyframe + delay into account.\n            \n                    delay=1000, duration=1000, keyframes = 0 .5 1\n            \n                    turns into\n            \n                    delay=0, duration=2000, keyframes = 0 .33 .66 1\n                   */\n            // offsets between 1 ... n -1 are all warped by the keyframe stretch\n\n            /** @type {?} */\n\n            var limit = keyframes.length - 1;\n\n            for (var i = 1; i <= limit; i++) {\n              /** @type {?} */\n              var kf = copyStyles(keyframes[i], false);\n              /** @type {?} */\n\n              var oldOffset =\n              /** @type {?} */\n              kf['offset'];\n              /** @type {?} */\n\n              var timeAtKeyframe = delay + oldOffset * duration;\n              kf['offset'] = roundOffset(timeAtKeyframe / totalTime);\n              newKeyframes.push(kf);\n            } // the new starting keyframe should be added at the start\n\n\n            duration = totalTime;\n            delay = 0;\n            easing = '';\n            keyframes = newKeyframes;\n          }\n\n          return createTimelineInstruction(this.element, keyframes, this.preStyleProps, this.postStyleProps, duration, delay, easing, true);\n        }\n      }]);\n\n      return SubTimelineBuilder;\n    }(TimelineBuilder);\n\n    if (false) {}\n    /**\n     * @param {?} offset\n     * @param {?=} decimalPoints\n     * @return {?}\n     */\n\n\n    function roundOffset(offset) {\n      var decimalPoints = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 3;\n\n      /** @type {?} */\n      var mult = Math.pow(10, decimalPoints - 1);\n      return Math.round(offset * mult) / mult;\n    }\n    /**\n     * @param {?} input\n     * @param {?} allStyles\n     * @return {?}\n     */\n\n\n    function flattenStyles(input, allStyles) {\n      /** @type {?} */\n      var styles = {};\n      /** @type {?} */\n\n      var allProperties;\n      input.forEach(\n      /**\n      * @param {?} token\n      * @return {?}\n      */\n      function (token) {\n        if (token === '*') {\n          allProperties = allProperties || Object.keys(allStyles);\n          allProperties.forEach(\n          /**\n          * @param {?} prop\n          * @return {?}\n          */\n          function (prop) {\n            styles[prop] = _angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"AUTO_STYLE\"];\n          });\n        } else {\n          copyStyles(\n          /** @type {?} */\n          token, false, styles);\n        }\n      });\n      return styles;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n\n    var Animation =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _driver\n       * @param {?} input\n       */\n      function Animation(_driver, input) {\n        _classCallCheck(this, Animation);\n\n        this._driver = _driver;\n        /** @type {?} */\n\n        var errors = [];\n        /** @type {?} */\n\n        var ast = buildAnimationAst(_driver, input, errors);\n\n        if (errors.length) {\n          /** @type {?} */\n          var errorMessage = \"animation validation failed:\\n\".concat(errors.join(\"\\n\"));\n          throw new Error(errorMessage);\n        }\n\n        this._animationAst = ast;\n      }\n      /**\n       * @param {?} element\n       * @param {?} startingStyles\n       * @param {?} destinationStyles\n       * @param {?} options\n       * @param {?=} subInstructions\n       * @return {?}\n       */\n\n\n      _createClass2(Animation, [{\n        key: \"buildTimelines\",\n        value: function buildTimelines(element, startingStyles, destinationStyles, options, subInstructions) {\n          /** @type {?} */\n          var start = Array.isArray(startingStyles) ? normalizeStyles(startingStyles) :\n          /** @type {?} */\n          startingStyles;\n          /** @type {?} */\n\n          var dest = Array.isArray(destinationStyles) ? normalizeStyles(destinationStyles) :\n          /** @type {?} */\n          destinationStyles;\n          /** @type {?} */\n\n          var errors = [];\n          subInstructions = subInstructions || new ElementInstructionMap();\n          /** @type {?} */\n\n          var result = buildAnimationTimelines(this._driver, element, this._animationAst, ENTER_CLASSNAME, LEAVE_CLASSNAME, start, dest, options, subInstructions, errors);\n\n          if (errors.length) {\n            /** @type {?} */\n            var errorMessage = \"animation building failed:\\n\".concat(errors.join(\"\\n\"));\n            throw new Error(errorMessage);\n          }\n\n          return result;\n        }\n      }]);\n\n      return Animation;\n    }();\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * \\@publicApi\n     * @abstract\n     */\n\n\n    var AnimationStyleNormalizer = function AnimationStyleNormalizer() {\n      _classCallCheck(this, AnimationStyleNormalizer);\n    };\n\n    if (false) {}\n    /**\n     * \\@publicApi\n     */\n\n\n    var NoopAnimationStyleNormalizer =\n    /*#__PURE__*/\n    function () {\n      function NoopAnimationStyleNormalizer() {\n        _classCallCheck(this, NoopAnimationStyleNormalizer);\n      }\n\n      _createClass2(NoopAnimationStyleNormalizer, [{\n        key: \"normalizePropertyName\",\n\n        /**\n         * @param {?} propertyName\n         * @param {?} errors\n         * @return {?}\n         */\n        value: function normalizePropertyName(propertyName, errors) {\n          return propertyName;\n        }\n        /**\n         * @param {?} userProvidedProperty\n         * @param {?} normalizedProperty\n         * @param {?} value\n         * @param {?} errors\n         * @return {?}\n         */\n\n      }, {\n        key: \"normalizeStyleValue\",\n        value: function normalizeStyleValue(userProvidedProperty, normalizedProperty, value, errors) {\n          return (\n            /** @type {?} */\n            value\n          );\n        }\n      }]);\n\n      return NoopAnimationStyleNormalizer;\n    }();\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n\n    var WebAnimationsStyleNormalizer =\n    /*#__PURE__*/\n    function (_AnimationStyleNormal) {\n      _inherits(WebAnimationsStyleNormalizer, _AnimationStyleNormal);\n\n      function WebAnimationsStyleNormalizer() {\n        _classCallCheck(this, WebAnimationsStyleNormalizer);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(WebAnimationsStyleNormalizer).apply(this, arguments));\n      }\n\n      _createClass2(WebAnimationsStyleNormalizer, [{\n        key: \"normalizePropertyName\",\n\n        /**\n         * @param {?} propertyName\n         * @param {?} errors\n         * @return {?}\n         */\n        value: function normalizePropertyName(propertyName, errors) {\n          return dashCaseToCamelCase(propertyName);\n        }\n        /**\n         * @param {?} userProvidedProperty\n         * @param {?} normalizedProperty\n         * @param {?} value\n         * @param {?} errors\n         * @return {?}\n         */\n\n      }, {\n        key: \"normalizeStyleValue\",\n        value: function normalizeStyleValue(userProvidedProperty, normalizedProperty, value, errors) {\n          /** @type {?} */\n          var unit = '';\n          /** @type {?} */\n\n          var strVal = value.toString().trim();\n\n          if (DIMENSIONAL_PROP_MAP[normalizedProperty] && value !== 0 && value !== '0') {\n            if (typeof value === 'number') {\n              unit = 'px';\n            } else {\n              /** @type {?} */\n              var valAndSuffixMatch = value.match(/^[+-]?[\\d\\.]+([a-z]*)$/);\n\n              if (valAndSuffixMatch && valAndSuffixMatch[1].length == 0) {\n                errors.push(\"Please provide a CSS unit value for \".concat(userProvidedProperty, \":\").concat(value));\n              }\n            }\n          }\n\n          return strVal + unit;\n        }\n      }]);\n\n      return WebAnimationsStyleNormalizer;\n    }(AnimationStyleNormalizer);\n\n    var ɵ0$1 =\n    /**\n    * @return {?}\n    */\n    function ɵ0$1() {\n      return makeBooleanMap('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    };\n    /** @type {?} */\n\n\n    var DIMENSIONAL_PROP_MAP = ɵ0$1();\n    /**\n     * @param {?} keys\n     * @return {?}\n     */\n\n    function makeBooleanMap(keys) {\n      /** @type {?} */\n      var map = {};\n      keys.forEach(\n      /**\n      * @param {?} key\n      * @return {?}\n      */\n      function (key) {\n        return map[key] = true;\n      });\n      return map;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @record\n     */\n\n\n    function AnimationTransitionInstruction() {}\n\n    if (false) {}\n    /**\n     * @param {?} element\n     * @param {?} triggerName\n     * @param {?} fromState\n     * @param {?} toState\n     * @param {?} isRemovalTransition\n     * @param {?} fromStyles\n     * @param {?} toStyles\n     * @param {?} timelines\n     * @param {?} queriedElements\n     * @param {?} preStyleProps\n     * @param {?} postStyleProps\n     * @param {?} totalTime\n     * @param {?=} errors\n     * @return {?}\n     */\n\n\n    function createTransitionInstruction(element, triggerName, fromState, toState, isRemovalTransition, fromStyles, toStyles, timelines, queriedElements, preStyleProps, postStyleProps, totalTime, errors) {\n      return {\n        type: 0\n        /* TransitionAnimation */\n        ,\n        element: element,\n        triggerName: triggerName,\n        isRemovalTransition: isRemovalTransition,\n        fromState: fromState,\n        fromStyles: fromStyles,\n        toState: toState,\n        toStyles: toStyles,\n        timelines: timelines,\n        queriedElements: queriedElements,\n        preStyleProps: preStyleProps,\n        postStyleProps: postStyleProps,\n        totalTime: totalTime,\n        errors: errors\n      };\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var EMPTY_OBJECT = {};\n\n    var AnimationTransitionFactory =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _triggerName\n       * @param {?} ast\n       * @param {?} _stateStyles\n       */\n      function AnimationTransitionFactory(_triggerName, ast, _stateStyles) {\n        _classCallCheck(this, AnimationTransitionFactory);\n\n        this._triggerName = _triggerName;\n        this.ast = ast;\n        this._stateStyles = _stateStyles;\n      }\n      /**\n       * @param {?} currentState\n       * @param {?} nextState\n       * @param {?} element\n       * @param {?} params\n       * @return {?}\n       */\n\n\n      _createClass2(AnimationTransitionFactory, [{\n        key: \"match\",\n        value: function match(currentState, nextState, element, params) {\n          return oneOrMoreTransitionsMatch(this.ast.matchers, currentState, nextState, element, params);\n        }\n        /**\n         * @param {?} stateName\n         * @param {?} params\n         * @param {?} errors\n         * @return {?}\n         */\n\n      }, {\n        key: \"buildStyles\",\n        value: function buildStyles(stateName, params, errors) {\n          /** @type {?} */\n          var backupStateStyler = this._stateStyles['*'];\n          /** @type {?} */\n\n          var stateStyler = this._stateStyles[stateName];\n          /** @type {?} */\n\n          var backupStyles = backupStateStyler ? backupStateStyler.buildStyles(params, errors) : {};\n          return stateStyler ? stateStyler.buildStyles(params, errors) : backupStyles;\n        }\n        /**\n         * @param {?} driver\n         * @param {?} element\n         * @param {?} currentState\n         * @param {?} nextState\n         * @param {?} enterClassName\n         * @param {?} leaveClassName\n         * @param {?=} currentOptions\n         * @param {?=} nextOptions\n         * @param {?=} subInstructions\n         * @param {?=} skipAstBuild\n         * @return {?}\n         */\n\n      }, {\n        key: \"build\",\n        value: function build(driver, element, currentState, nextState, enterClassName, leaveClassName, currentOptions, nextOptions, subInstructions, skipAstBuild) {\n          /** @type {?} */\n          var errors = [];\n          /** @type {?} */\n\n          var transitionAnimationParams = this.ast.options && this.ast.options.params || EMPTY_OBJECT;\n          /** @type {?} */\n\n          var currentAnimationParams = currentOptions && currentOptions.params || EMPTY_OBJECT;\n          /** @type {?} */\n\n          var currentStateStyles = this.buildStyles(currentState, currentAnimationParams, errors);\n          /** @type {?} */\n\n          var nextAnimationParams = nextOptions && nextOptions.params || EMPTY_OBJECT;\n          /** @type {?} */\n\n          var nextStateStyles = this.buildStyles(nextState, nextAnimationParams, errors);\n          /** @type {?} */\n\n          var queriedElements = new Set();\n          /** @type {?} */\n\n          var preStyleMap = new Map();\n          /** @type {?} */\n\n          var postStyleMap = new Map();\n          /** @type {?} */\n\n          var isRemoval = nextState === 'void';\n          /** @type {?} */\n\n          var animationOptions = {\n            params: Object.assign({}, transitionAnimationParams, nextAnimationParams)\n          };\n          /** @type {?} */\n\n          var timelines = skipAstBuild ? [] : buildAnimationTimelines(driver, element, this.ast.animation, enterClassName, leaveClassName, currentStateStyles, nextStateStyles, animationOptions, subInstructions, errors);\n          /** @type {?} */\n\n          var totalTime = 0;\n          timelines.forEach(\n          /**\n          * @param {?} tl\n          * @return {?}\n          */\n          function (tl) {\n            totalTime = Math.max(tl.duration + tl.delay, totalTime);\n          });\n\n          if (errors.length) {\n            return createTransitionInstruction(element, this._triggerName, currentState, nextState, isRemoval, currentStateStyles, nextStateStyles, [], [], preStyleMap, postStyleMap, totalTime, errors);\n          }\n\n          timelines.forEach(\n          /**\n          * @param {?} tl\n          * @return {?}\n          */\n          function (tl) {\n            /** @type {?} */\n            var elm = tl.element;\n            /** @type {?} */\n\n            var preProps = getOrSetAsInMap(preStyleMap, elm, {});\n            tl.preStyleProps.forEach(\n            /**\n            * @param {?} prop\n            * @return {?}\n            */\n            function (prop) {\n              return preProps[prop] = true;\n            });\n            /** @type {?} */\n\n            var postProps = getOrSetAsInMap(postStyleMap, elm, {});\n            tl.postStyleProps.forEach(\n            /**\n            * @param {?} prop\n            * @return {?}\n            */\n            function (prop) {\n              return postProps[prop] = true;\n            });\n\n            if (elm !== element) {\n              queriedElements.add(elm);\n            }\n          });\n          /** @type {?} */\n\n          var queriedElementsList = iteratorToArray(queriedElements.values());\n          return createTransitionInstruction(element, this._triggerName, currentState, nextState, isRemoval, currentStateStyles, nextStateStyles, timelines, queriedElementsList, preStyleMap, postStyleMap, totalTime);\n        }\n      }]);\n\n      return AnimationTransitionFactory;\n    }();\n\n    if (false) {}\n    /**\n     * @param {?} matchFns\n     * @param {?} currentState\n     * @param {?} nextState\n     * @param {?} element\n     * @param {?} params\n     * @return {?}\n     */\n\n\n    function oneOrMoreTransitionsMatch(matchFns, currentState, nextState, element, params) {\n      return matchFns.some(\n      /**\n      * @param {?} fn\n      * @return {?}\n      */\n      function (fn) {\n        return fn(currentState, nextState, element, params);\n      });\n    }\n\n    var AnimationStateStyles =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} styles\n       * @param {?} defaultParams\n       */\n      function AnimationStateStyles(styles, defaultParams) {\n        _classCallCheck(this, AnimationStateStyles);\n\n        this.styles = styles;\n        this.defaultParams = defaultParams;\n      }\n      /**\n       * @param {?} params\n       * @param {?} errors\n       * @return {?}\n       */\n\n\n      _createClass2(AnimationStateStyles, [{\n        key: \"buildStyles\",\n        value: function buildStyles(params, errors) {\n          /** @type {?} */\n          var finalStyles = {};\n          /** @type {?} */\n\n          var combinedParams = copyObj(this.defaultParams);\n          Object.keys(params).forEach(\n          /**\n          * @param {?} key\n          * @return {?}\n          */\n          function (key) {\n            /** @type {?} */\n            var value = params[key];\n\n            if (value != null) {\n              combinedParams[key] = value;\n            }\n          });\n          this.styles.styles.forEach(\n          /**\n          * @param {?} value\n          * @return {?}\n          */\n          function (value) {\n            if (typeof value !== 'string') {\n              /** @type {?} */\n              var styleObj =\n              /** @type {?} */\n              value;\n              Object.keys(styleObj).forEach(\n              /**\n              * @param {?} prop\n              * @return {?}\n              */\n              function (prop) {\n                /** @type {?} */\n                var val = styleObj[prop];\n\n                if (val.length > 1) {\n                  val = interpolateParams(val, combinedParams, errors);\n                }\n\n                finalStyles[prop] = val;\n              });\n            }\n          });\n          return finalStyles;\n        }\n      }]);\n\n      return AnimationStateStyles;\n    }();\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * \\@publicApi\n     * @param {?} name\n     * @param {?} ast\n     * @return {?}\n     */\n\n\n    function buildTrigger(name, ast) {\n      return new AnimationTrigger(name, ast);\n    }\n    /**\n     * \\@publicApi\n     */\n\n\n    var AnimationTrigger =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} name\n       * @param {?} ast\n       */\n      function AnimationTrigger(name, ast) {\n        var _this19 = this;\n\n        _classCallCheck(this, AnimationTrigger);\n\n        this.name = name;\n        this.ast = ast;\n        this.transitionFactories = [];\n        this.states = {};\n        ast.states.forEach(\n        /**\n        * @param {?} ast\n        * @return {?}\n        */\n        function (ast) {\n          /** @type {?} */\n          var defaultParams = ast.options && ast.options.params || {};\n          _this19.states[ast.name] = new AnimationStateStyles(ast.style, defaultParams);\n        });\n        balanceProperties(this.states, 'true', '1');\n        balanceProperties(this.states, 'false', '0');\n        ast.transitions.forEach(\n        /**\n        * @param {?} ast\n        * @return {?}\n        */\n        function (ast) {\n          _this19.transitionFactories.push(new AnimationTransitionFactory(name, ast, _this19.states));\n        });\n        this.fallbackTransition = createFallbackTransition(name, this.states);\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(AnimationTrigger, [{\n        key: \"matchTransition\",\n\n        /**\n         * @param {?} currentState\n         * @param {?} nextState\n         * @param {?} element\n         * @param {?} params\n         * @return {?}\n         */\n        value: function matchTransition(currentState, nextState, element, params) {\n          /** @type {?} */\n          var entry = this.transitionFactories.find(\n          /**\n          * @param {?} f\n          * @return {?}\n          */\n          function (f) {\n            return f.match(currentState, nextState, element, params);\n          });\n          return entry || null;\n        }\n        /**\n         * @param {?} currentState\n         * @param {?} params\n         * @param {?} errors\n         * @return {?}\n         */\n\n      }, {\n        key: \"matchStyles\",\n        value: function matchStyles(currentState, params, errors) {\n          return this.fallbackTransition.buildStyles(currentState, params, errors);\n        }\n      }, {\n        key: \"containsQueries\",\n        get: function get() {\n          return this.ast.queryCount > 0;\n        }\n      }]);\n\n      return AnimationTrigger;\n    }();\n\n    if (false) {}\n    /**\n     * @param {?} triggerName\n     * @param {?} states\n     * @return {?}\n     */\n\n\n    function createFallbackTransition(triggerName, states) {\n      /** @type {?} */\n      var matchers = [\n      /**\n      * @param {?} fromState\n      * @param {?} toState\n      * @return {?}\n      */\n      function (fromState, toState) {\n        return true;\n      }];\n      /** @type {?} */\n\n      var animation = {\n        type: 2\n        /* Sequence */\n        ,\n        steps: [],\n        options: null\n      };\n      /** @type {?} */\n\n      var transition = {\n        type: 1\n        /* Transition */\n        ,\n        animation: animation,\n        matchers: matchers,\n        options: null,\n        queryCount: 0,\n        depCount: 0\n      };\n      return new AnimationTransitionFactory(triggerName, transition, states);\n    }\n    /**\n     * @param {?} obj\n     * @param {?} key1\n     * @param {?} key2\n     * @return {?}\n     */\n\n\n    function balanceProperties(obj, key1, key2) {\n      if (obj.hasOwnProperty(key1)) {\n        if (!obj.hasOwnProperty(key2)) {\n          obj[key2] = obj[key1];\n        }\n      } else if (obj.hasOwnProperty(key2)) {\n        obj[key1] = obj[key2];\n      }\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var EMPTY_INSTRUCTION_MAP = new ElementInstructionMap();\n\n    var TimelineAnimationEngine =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} bodyNode\n       * @param {?} _driver\n       * @param {?} _normalizer\n       */\n      function TimelineAnimationEngine(bodyNode, _driver, _normalizer) {\n        _classCallCheck(this, TimelineAnimationEngine);\n\n        this.bodyNode = bodyNode;\n        this._driver = _driver;\n        this._normalizer = _normalizer;\n        this._animations = {};\n        this._playersById = {};\n        this.players = [];\n      }\n      /**\n       * @param {?} id\n       * @param {?} metadata\n       * @return {?}\n       */\n\n\n      _createClass2(TimelineAnimationEngine, [{\n        key: \"register\",\n        value: function register(id, metadata) {\n          /** @type {?} */\n          var errors = [];\n          /** @type {?} */\n\n          var ast = buildAnimationAst(this._driver, metadata, errors);\n\n          if (errors.length) {\n            throw new Error(\"Unable to build the animation due to the following errors: \".concat(errors.join(\"\\n\")));\n          } else {\n            this._animations[id] = ast;\n          }\n        }\n        /**\n         * @private\n         * @param {?} i\n         * @param {?} preStyles\n         * @param {?=} postStyles\n         * @return {?}\n         */\n\n      }, {\n        key: \"_buildPlayer\",\n        value: function _buildPlayer(i, preStyles, postStyles) {\n          /** @type {?} */\n          var element = i.element;\n          /** @type {?} */\n\n          var keyframes = normalizeKeyframes(this._driver, this._normalizer, element, i.keyframes, preStyles, postStyles);\n          return this._driver.animate(element, keyframes, i.duration, i.delay, i.easing, [], true);\n        }\n        /**\n         * @param {?} id\n         * @param {?} element\n         * @param {?=} options\n         * @return {?}\n         */\n\n      }, {\n        key: \"create\",\n        value: function create(id, element) {\n          var _this20 = this;\n\n          var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n          /** @type {?} */\n          var errors = [];\n          /** @type {?} */\n\n          var ast = this._animations[id];\n          /** @type {?} */\n\n          var instructions;\n          /** @type {?} */\n\n          var autoStylesMap = new Map();\n\n          if (ast) {\n            instructions = buildAnimationTimelines(this._driver, element, ast, ENTER_CLASSNAME, LEAVE_CLASSNAME, {}, {}, options, EMPTY_INSTRUCTION_MAP, errors);\n            instructions.forEach(\n            /**\n            * @param {?} inst\n            * @return {?}\n            */\n            function (inst) {\n              /** @type {?} */\n              var styles = getOrSetAsInMap(autoStylesMap, inst.element, {});\n              inst.postStyleProps.forEach(\n              /**\n              * @param {?} prop\n              * @return {?}\n              */\n              function (prop) {\n                return styles[prop] = null;\n              });\n            });\n          } else {\n            errors.push('The requested animation doesn\\'t exist or has already been destroyed');\n            instructions = [];\n          }\n\n          if (errors.length) {\n            throw new Error(\"Unable to create the animation due to the following errors: \".concat(errors.join(\"\\n\")));\n          }\n\n          autoStylesMap.forEach(\n          /**\n          * @param {?} styles\n          * @param {?} element\n          * @return {?}\n          */\n          function (styles, element) {\n            Object.keys(styles).forEach(\n            /**\n            * @param {?} prop\n            * @return {?}\n            */\n            function (prop) {\n              styles[prop] = _this20._driver.computeStyle(element, prop, _angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"AUTO_STYLE\"]);\n            });\n          });\n          /** @type {?} */\n\n          var players = instructions.map(\n          /**\n          * @param {?} i\n          * @return {?}\n          */\n          function (i) {\n            /** @type {?} */\n            var styles = autoStylesMap.get(i.element);\n            return _this20._buildPlayer(i, {}, styles);\n          });\n          /** @type {?} */\n\n          var player = optimizeGroupPlayer(players);\n          this._playersById[id] = player;\n          player.onDestroy(\n          /**\n          * @return {?}\n          */\n          function () {\n            return _this20.destroy(id);\n          });\n          this.players.push(player);\n          return player;\n        }\n        /**\n         * @param {?} id\n         * @return {?}\n         */\n\n      }, {\n        key: \"destroy\",\n        value: function destroy(id) {\n          /** @type {?} */\n          var player = this._getPlayer(id);\n\n          player.destroy();\n          delete this._playersById[id];\n          /** @type {?} */\n\n          var index = this.players.indexOf(player);\n\n          if (index >= 0) {\n            this.players.splice(index, 1);\n          }\n        }\n        /**\n         * @private\n         * @param {?} id\n         * @return {?}\n         */\n\n      }, {\n        key: \"_getPlayer\",\n        value: function _getPlayer(id) {\n          /** @type {?} */\n          var player = this._playersById[id];\n\n          if (!player) {\n            throw new Error(\"Unable to find the timeline player referenced by \".concat(id));\n          }\n\n          return player;\n        }\n        /**\n         * @param {?} id\n         * @param {?} element\n         * @param {?} eventName\n         * @param {?} callback\n         * @return {?}\n         */\n\n      }, {\n        key: \"listen\",\n        value: function listen(id, element, eventName, callback) {\n          // triggerName, fromState, toState are all ignored for timeline animations\n\n          /** @type {?} */\n          var baseEvent = makeAnimationEvent(element, '', '', '');\n          listenOnPlayer(this._getPlayer(id), eventName, baseEvent, callback);\n          return (\n            /**\n            * @return {?}\n            */\n            function () {}\n          );\n        }\n        /**\n         * @param {?} id\n         * @param {?} element\n         * @param {?} command\n         * @param {?} args\n         * @return {?}\n         */\n\n      }, {\n        key: \"command\",\n        value: function command(id, element, _command, args) {\n          if (_command == 'register') {\n            this.register(id,\n            /** @type {?} */\n            args[0]);\n            return;\n          }\n\n          if (_command == 'create') {\n            /** @type {?} */\n            var options =\n            /** @type {?} */\n            args[0] || {};\n            this.create(id, element, options);\n            return;\n          }\n          /** @type {?} */\n\n\n          var player = this._getPlayer(id);\n\n          switch (_command) {\n            case 'play':\n              player.play();\n              break;\n\n            case 'pause':\n              player.pause();\n              break;\n\n            case 'reset':\n              player.reset();\n              break;\n\n            case 'restart':\n              player.restart();\n              break;\n\n            case 'finish':\n              player.finish();\n              break;\n\n            case 'init':\n              player.init();\n              break;\n\n            case 'setPosition':\n              player.setPosition(parseFloat(\n              /** @type {?} */\n              args[0]));\n              break;\n\n            case 'destroy':\n              this.destroy(id);\n              break;\n          }\n        }\n      }]);\n\n      return TimelineAnimationEngine;\n    }();\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var QUEUED_CLASSNAME = 'ng-animate-queued';\n    /** @type {?} */\n\n    var QUEUED_SELECTOR = '.ng-animate-queued';\n    /** @type {?} */\n\n    var DISABLED_CLASSNAME = 'ng-animate-disabled';\n    /** @type {?} */\n\n    var DISABLED_SELECTOR = '.ng-animate-disabled';\n    /** @type {?} */\n\n    var STAR_CLASSNAME = 'ng-star-inserted';\n    /** @type {?} */\n\n    var STAR_SELECTOR = '.ng-star-inserted';\n    /** @type {?} */\n\n    var EMPTY_PLAYER_ARRAY = [];\n    /** @type {?} */\n\n    var NULL_REMOVAL_STATE = {\n      namespaceId: '',\n      setForRemoval: false,\n      setForMove: false,\n      hasAnimation: false,\n      removedBeforeQueried: false\n    };\n    /** @type {?} */\n\n    var NULL_REMOVED_QUERIED_STATE = {\n      namespaceId: '',\n      setForMove: false,\n      setForRemoval: false,\n      hasAnimation: false,\n      removedBeforeQueried: true\n    };\n    /**\n     * @record\n     */\n\n    function TriggerListener() {}\n\n    if (false) {}\n    /**\n     * @record\n     */\n\n\n    function QueueInstruction() {}\n\n    if (false) {}\n    /** @type {?} */\n\n\n    var REMOVAL_FLAG = '__ng_removed';\n    /**\n     * @record\n     */\n\n    function ElementAnimationState() {}\n\n    if (false) {}\n\n    var StateValue =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} input\n       * @param {?=} namespaceId\n       */\n      function StateValue(input) {\n        var namespaceId = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n\n        _classCallCheck(this, StateValue);\n\n        this.namespaceId = namespaceId;\n        /** @type {?} */\n\n        var isObj = input && input.hasOwnProperty('value');\n        /** @type {?} */\n\n        var value = isObj ? input['value'] : input;\n        this.value = normalizeTriggerValue(value);\n\n        if (isObj) {\n          /** @type {?} */\n          var options = copyObj(\n          /** @type {?} */\n          input);\n          delete options['value'];\n          this.options =\n          /** @type {?} */\n          options;\n        } else {\n          this.options = {};\n        }\n\n        if (!this.options.params) {\n          this.options.params = {};\n        }\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(StateValue, [{\n        key: \"absorbOptions\",\n\n        /**\n         * @param {?} options\n         * @return {?}\n         */\n        value: function absorbOptions(options) {\n          /** @type {?} */\n          var newParams = options.params;\n\n          if (newParams) {\n            /** @type {?} */\n            var oldParams =\n            /** @type {?} */\n            this.options.params;\n            Object.keys(newParams).forEach(\n            /**\n            * @param {?} prop\n            * @return {?}\n            */\n            function (prop) {\n              if (oldParams[prop] == null) {\n                oldParams[prop] = newParams[prop];\n              }\n            });\n          }\n        }\n      }, {\n        key: \"params\",\n        get: function get() {\n          return (\n            /** @type {?} */\n            this.options.params\n          );\n        }\n      }]);\n\n      return StateValue;\n    }();\n\n    if (false) {}\n    /** @type {?} */\n\n\n    var VOID_VALUE = 'void';\n    /** @type {?} */\n\n    var DEFAULT_STATE_VALUE = new StateValue(VOID_VALUE);\n\n    var AnimationTransitionNamespace =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} id\n       * @param {?} hostElement\n       * @param {?} _engine\n       */\n      function AnimationTransitionNamespace(id, hostElement, _engine) {\n        _classCallCheck(this, AnimationTransitionNamespace);\n\n        this.id = id;\n        this.hostElement = hostElement;\n        this._engine = _engine;\n        this.players = [];\n        this._triggers = {};\n        this._queue = [];\n        this._elementListeners = new Map();\n        this._hostClassName = 'ng-tns-' + id;\n        addClass(hostElement, this._hostClassName);\n      }\n      /**\n       * @param {?} element\n       * @param {?} name\n       * @param {?} phase\n       * @param {?} callback\n       * @return {?}\n       */\n\n\n      _createClass2(AnimationTransitionNamespace, [{\n        key: \"listen\",\n        value: function listen(element, name, phase, callback) {\n          var _this21 = this;\n\n          if (!this._triggers.hasOwnProperty(name)) {\n            throw new Error(\"Unable to listen on the animation trigger event \\\"\".concat(phase, \"\\\" because the animation trigger \\\"\").concat(name, \"\\\" doesn't exist!\"));\n          }\n\n          if (phase == null || phase.length == 0) {\n            throw new Error(\"Unable to listen on the animation trigger \\\"\".concat(name, \"\\\" because the provided event is undefined!\"));\n          }\n\n          if (!isTriggerEventValid(phase)) {\n            throw new Error(\"The provided animation trigger event \\\"\".concat(phase, \"\\\" for the animation trigger \\\"\").concat(name, \"\\\" is not supported!\"));\n          }\n          /** @type {?} */\n\n\n          var listeners = getOrSetAsInMap(this._elementListeners, element, []);\n          /** @type {?} */\n\n          var data = {\n            name: name,\n            phase: phase,\n            callback: callback\n          };\n          listeners.push(data);\n          /** @type {?} */\n\n          var triggersWithStates = getOrSetAsInMap(this._engine.statesByElement, element, {});\n\n          if (!triggersWithStates.hasOwnProperty(name)) {\n            addClass(element, NG_TRIGGER_CLASSNAME);\n            addClass(element, NG_TRIGGER_CLASSNAME + '-' + name);\n            triggersWithStates[name] = DEFAULT_STATE_VALUE;\n          }\n\n          return (\n            /**\n            * @return {?}\n            */\n            function () {\n              // the event listener is removed AFTER the flush has occurred such\n              // that leave animations callbacks can fire (otherwise if the node\n              // is removed in between then the listeners would be deregistered)\n              _this21._engine.afterFlush(\n              /**\n              * @return {?}\n              */\n              function () {\n                /** @type {?} */\n                var index = listeners.indexOf(data);\n\n                if (index >= 0) {\n                  listeners.splice(index, 1);\n                }\n\n                if (!_this21._triggers[name]) {\n                  delete triggersWithStates[name];\n                }\n              });\n            }\n          );\n        }\n        /**\n         * @param {?} name\n         * @param {?} ast\n         * @return {?}\n         */\n\n      }, {\n        key: \"register\",\n        value: function register(name, ast) {\n          if (this._triggers[name]) {\n            // throw\n            return false;\n          } else {\n            this._triggers[name] = ast;\n            return true;\n          }\n        }\n        /**\n         * @private\n         * @param {?} name\n         * @return {?}\n         */\n\n      }, {\n        key: \"_getTrigger\",\n        value: function _getTrigger(name) {\n          /** @type {?} */\n          var trigger = this._triggers[name];\n\n          if (!trigger) {\n            throw new Error(\"The provided animation trigger \\\"\".concat(name, \"\\\" has not been registered!\"));\n          }\n\n          return trigger;\n        }\n        /**\n         * @param {?} element\n         * @param {?} triggerName\n         * @param {?} value\n         * @param {?=} defaultToFallback\n         * @return {?}\n         */\n\n      }, {\n        key: \"trigger\",\n        value: function trigger(element, triggerName, value) {\n          var _this22 = this;\n\n          var defaultToFallback = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;\n\n          /** @type {?} */\n          var trigger = this._getTrigger(triggerName);\n          /** @type {?} */\n\n\n          var player = new TransitionAnimationPlayer(this.id, triggerName, element);\n          /** @type {?} */\n\n          var triggersWithStates = this._engine.statesByElement.get(element);\n\n          if (!triggersWithStates) {\n            addClass(element, NG_TRIGGER_CLASSNAME);\n            addClass(element, NG_TRIGGER_CLASSNAME + '-' + triggerName);\n\n            this._engine.statesByElement.set(element, triggersWithStates = {});\n          }\n          /** @type {?} */\n\n\n          var fromState = triggersWithStates[triggerName];\n          /** @type {?} */\n\n          var toState = new StateValue(value, this.id);\n          /** @type {?} */\n\n          var isObj = value && value.hasOwnProperty('value');\n\n          if (!isObj && fromState) {\n            toState.absorbOptions(fromState.options);\n          }\n\n          triggersWithStates[triggerName] = toState;\n\n          if (!fromState) {\n            fromState = DEFAULT_STATE_VALUE;\n          }\n          /** @type {?} */\n\n\n          var isRemoval = toState.value === VOID_VALUE; // normally this isn't reached by here, however, if an object expression\n          // is passed in then it may be a new object each time. Comparing the value\n          // is important since that will stay the same despite there being a new object.\n          // The removal arc here is special cased because the same element is triggered\n          // twice in the event that it contains animations on the outer/inner portions\n          // of the host container\n\n          if (!isRemoval && fromState.value === toState.value) {\n            // this means that despite the value not changing, some inner params\n            // have changed which means that the animation final styles need to be applied\n            if (!objEquals(fromState.params, toState.params)) {\n              /** @type {?} */\n              var errors = [];\n              /** @type {?} */\n\n              var fromStyles = trigger.matchStyles(fromState.value, fromState.params, errors);\n              /** @type {?} */\n\n              var toStyles = trigger.matchStyles(toState.value, toState.params, errors);\n\n              if (errors.length) {\n                this._engine.reportError(errors);\n              } else {\n                this._engine.afterFlush(\n                /**\n                * @return {?}\n                */\n                function () {\n                  eraseStyles(element, fromStyles);\n                  setStyles(element, toStyles);\n                });\n              }\n            }\n\n            return;\n          }\n          /** @type {?} */\n\n\n          var playersOnElement = getOrSetAsInMap(this._engine.playersByElement, element, []);\n          playersOnElement.forEach(\n          /**\n          * @param {?} player\n          * @return {?}\n          */\n          function (player) {\n            // only remove the player if it is queued on the EXACT same trigger/namespace\n            // we only also deal with queued players here because if the animation has\n            // started then we want to keep the player alive until the flush happens\n            // (which is where the previousPlayers are passed into the new palyer)\n            if (player.namespaceId == _this22.id && player.triggerName == triggerName && player.queued) {\n              player.destroy();\n            }\n          });\n          /** @type {?} */\n\n          var transition = trigger.matchTransition(fromState.value, toState.value, element, toState.params);\n          /** @type {?} */\n\n          var isFallbackTransition = false;\n\n          if (!transition) {\n            if (!defaultToFallback) return;\n            transition = trigger.fallbackTransition;\n            isFallbackTransition = true;\n          }\n\n          this._engine.totalQueuedPlayers++;\n\n          this._queue.push({\n            element: element,\n            triggerName: triggerName,\n            transition: transition,\n            fromState: fromState,\n            toState: toState,\n            player: player,\n            isFallbackTransition: isFallbackTransition\n          });\n\n          if (!isFallbackTransition) {\n            addClass(element, QUEUED_CLASSNAME);\n            player.onStart(\n            /**\n            * @return {?}\n            */\n            function () {\n              removeClass(element, QUEUED_CLASSNAME);\n            });\n          }\n\n          player.onDone(\n          /**\n          * @return {?}\n          */\n          function () {\n            /** @type {?} */\n            var index = _this22.players.indexOf(player);\n\n            if (index >= 0) {\n              _this22.players.splice(index, 1);\n            }\n            /** @type {?} */\n\n\n            var players = _this22._engine.playersByElement.get(element);\n\n            if (players) {\n              /** @type {?} */\n              var _index = players.indexOf(player);\n\n              if (_index >= 0) {\n                players.splice(_index, 1);\n              }\n            }\n          });\n          this.players.push(player);\n          playersOnElement.push(player);\n          return player;\n        }\n        /**\n         * @param {?} name\n         * @return {?}\n         */\n\n      }, {\n        key: \"deregister\",\n        value: function deregister(name) {\n          var _this23 = this;\n\n          delete this._triggers[name];\n\n          this._engine.statesByElement.forEach(\n          /**\n          * @param {?} stateMap\n          * @param {?} element\n          * @return {?}\n          */\n          function (stateMap, element) {\n            delete stateMap[name];\n          });\n\n          this._elementListeners.forEach(\n          /**\n          * @param {?} listeners\n          * @param {?} element\n          * @return {?}\n          */\n          function (listeners, element) {\n            _this23._elementListeners.set(element, listeners.filter(\n            /**\n            * @param {?} entry\n            * @return {?}\n            */\n            function (entry) {\n              return entry.name != name;\n            }));\n          });\n        }\n        /**\n         * @param {?} element\n         * @return {?}\n         */\n\n      }, {\n        key: \"clearElementCache\",\n        value: function clearElementCache(element) {\n          this._engine.statesByElement.delete(element);\n\n          this._elementListeners.delete(element);\n          /** @type {?} */\n\n\n          var elementPlayers = this._engine.playersByElement.get(element);\n\n          if (elementPlayers) {\n            elementPlayers.forEach(\n            /**\n            * @param {?} player\n            * @return {?}\n            */\n            function (player) {\n              return player.destroy();\n            });\n\n            this._engine.playersByElement.delete(element);\n          }\n        }\n        /**\n         * @private\n         * @param {?} rootElement\n         * @param {?} context\n         * @param {?=} animate\n         * @return {?}\n         */\n\n      }, {\n        key: \"_signalRemovalForInnerTriggers\",\n        value: function _signalRemovalForInnerTriggers(rootElement, context) {\n          var _this24 = this;\n\n          var animate = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n\n          // emulate a leave animation for all inner nodes within this node.\n          // If there are no animations found for any of the nodes then clear the cache\n          // for the element.\n          this._engine.driver.query(rootElement, NG_TRIGGER_SELECTOR, true).forEach(\n          /**\n          * @param {?} elm\n          * @return {?}\n          */\n          function (elm) {\n            // this means that an inner remove() operation has already kicked off\n            // the animation on this element...\n            if (elm[REMOVAL_FLAG]) return;\n            /** @type {?} */\n\n            var namespaces = _this24._engine.fetchNamespacesByElement(elm);\n\n            if (namespaces.size) {\n              namespaces.forEach(\n              /**\n              * @param {?} ns\n              * @return {?}\n              */\n              function (ns) {\n                return ns.triggerLeaveAnimation(elm, context, false, true);\n              });\n            } else {\n              _this24.clearElementCache(elm);\n            }\n          });\n        }\n        /**\n         * @param {?} element\n         * @param {?} context\n         * @param {?=} destroyAfterComplete\n         * @param {?=} defaultToFallback\n         * @return {?}\n         */\n\n      }, {\n        key: \"triggerLeaveAnimation\",\n        value: function triggerLeaveAnimation(element, context, destroyAfterComplete, defaultToFallback) {\n          var _this25 = this;\n\n          /** @type {?} */\n          var triggerStates = this._engine.statesByElement.get(element);\n\n          if (triggerStates) {\n            /** @type {?} */\n            var players = [];\n            Object.keys(triggerStates).forEach(\n            /**\n            * @param {?} triggerName\n            * @return {?}\n            */\n            function (triggerName) {\n              // this check is here in the event that an element is removed\n              // twice (both on the host level and the component level)\n              if (_this25._triggers[triggerName]) {\n                /** @type {?} */\n                var player = _this25.trigger(element, triggerName, VOID_VALUE, defaultToFallback);\n\n                if (player) {\n                  players.push(player);\n                }\n              }\n            });\n\n            if (players.length) {\n              this._engine.markElementAsRemoved(this.id, element, true, context);\n\n              if (destroyAfterComplete) {\n                optimizeGroupPlayer(players).onDone(\n                /**\n                * @return {?}\n                */\n                function () {\n                  return _this25._engine.processLeaveNode(element);\n                });\n              }\n\n              return true;\n            }\n          }\n\n          return false;\n        }\n        /**\n         * @param {?} element\n         * @return {?}\n         */\n\n      }, {\n        key: \"prepareLeaveAnimationListeners\",\n        value: function prepareLeaveAnimationListeners(element) {\n          var _this26 = this;\n\n          /** @type {?} */\n          var listeners = this._elementListeners.get(element);\n\n          if (listeners) {\n            /** @type {?} */\n            var visitedTriggers = new Set();\n            listeners.forEach(\n            /**\n            * @param {?} listener\n            * @return {?}\n            */\n            function (listener) {\n              /** @type {?} */\n              var triggerName = listener.name;\n              if (visitedTriggers.has(triggerName)) return;\n              visitedTriggers.add(triggerName);\n              /** @type {?} */\n\n              var trigger = _this26._triggers[triggerName];\n              /** @type {?} */\n\n              var transition = trigger.fallbackTransition;\n              /** @type {?} */\n\n              var elementStates =\n              /** @type {?} */\n              _this26._engine.statesByElement.get(element);\n              /** @type {?} */\n\n\n              var fromState = elementStates[triggerName] || DEFAULT_STATE_VALUE;\n              /** @type {?} */\n\n              var toState = new StateValue(VOID_VALUE);\n              /** @type {?} */\n\n              var player = new TransitionAnimationPlayer(_this26.id, triggerName, element);\n              _this26._engine.totalQueuedPlayers++;\n\n              _this26._queue.push({\n                element: element,\n                triggerName: triggerName,\n                transition: transition,\n                fromState: fromState,\n                toState: toState,\n                player: player,\n                isFallbackTransition: true\n              });\n            });\n          }\n        }\n        /**\n         * @param {?} element\n         * @param {?} context\n         * @return {?}\n         */\n\n      }, {\n        key: \"removeNode\",\n        value: function removeNode(element, context) {\n          var _this27 = this;\n\n          /** @type {?} */\n          var engine = this._engine;\n\n          if (element.childElementCount) {\n            this._signalRemovalForInnerTriggers(element, context, true);\n          } // this means that a * => VOID animation was detected and kicked off\n\n\n          if (this.triggerLeaveAnimation(element, context, true)) return; // find the player that is animating and make sure that the\n          // removal is delayed until that player has completed\n\n          /** @type {?} */\n\n          var containsPotentialParentTransition = false;\n\n          if (engine.totalAnimations) {\n            /** @type {?} */\n            var currentPlayers = engine.players.length ? engine.playersByQueriedElement.get(element) : []; // when this `if statement` does not continue forward it means that\n            // a previous animation query has selected the current element and\n            // is animating it. In this situation want to continue forwards and\n            // allow the element to be queued up for animation later.\n\n            if (currentPlayers && currentPlayers.length) {\n              containsPotentialParentTransition = true;\n            } else {\n              /** @type {?} */\n              var parent = element;\n\n              while (parent = parent.parentNode) {\n                /** @type {?} */\n                var triggers = engine.statesByElement.get(parent);\n\n                if (triggers) {\n                  containsPotentialParentTransition = true;\n                  break;\n                }\n              }\n            }\n          } // at this stage we know that the element will either get removed\n          // during flush or will be picked up by a parent query. Either way\n          // we need to fire the listeners for this element when it DOES get\n          // removed (once the query parent animation is done or after flush)\n\n\n          this.prepareLeaveAnimationListeners(element); // whether or not a parent has an animation we need to delay the deferral of the leave\n          // operation until we have more information (which we do after flush() has been called)\n\n          if (containsPotentialParentTransition) {\n            engine.markElementAsRemoved(this.id, element, false, context);\n          } else {\n            // we do this after the flush has occurred such\n            // that the callbacks can be fired\n            engine.afterFlush(\n            /**\n            * @return {?}\n            */\n            function () {\n              return _this27.clearElementCache(element);\n            });\n            engine.destroyInnerAnimations(element);\n\n            engine._onRemovalComplete(element, context);\n          }\n        }\n        /**\n         * @param {?} element\n         * @param {?} parent\n         * @return {?}\n         */\n\n      }, {\n        key: \"insertNode\",\n        value: function insertNode(element, parent) {\n          addClass(element, this._hostClassName);\n        }\n        /**\n         * @param {?} microtaskId\n         * @return {?}\n         */\n\n      }, {\n        key: \"drainQueuedTransitions\",\n        value: function drainQueuedTransitions(microtaskId) {\n          var _this28 = this;\n\n          /** @type {?} */\n          var instructions = [];\n\n          this._queue.forEach(\n          /**\n          * @param {?} entry\n          * @return {?}\n          */\n          function (entry) {\n            /** @type {?} */\n            var player = entry.player;\n            if (player.destroyed) return;\n            /** @type {?} */\n\n            var element = entry.element;\n            /** @type {?} */\n\n            var listeners = _this28._elementListeners.get(element);\n\n            if (listeners) {\n              listeners.forEach(\n              /**\n              * @param {?} listener\n              * @return {?}\n              */\n              function (listener) {\n                if (listener.name == entry.triggerName) {\n                  /** @type {?} */\n                  var baseEvent = makeAnimationEvent(element, entry.triggerName, entry.fromState.value, entry.toState.value);\n\n                  /** @type {?} */\n                  baseEvent['_data'] = microtaskId;\n                  listenOnPlayer(entry.player, listener.phase, baseEvent, listener.callback);\n                }\n              });\n            }\n\n            if (player.markedForDestroy) {\n              _this28._engine.afterFlush(\n              /**\n              * @return {?}\n              */\n              function () {\n                // now we can destroy the element properly since the event listeners have\n                // been bound to the player\n                player.destroy();\n              });\n            } else {\n              instructions.push(entry);\n            }\n          });\n\n          this._queue = [];\n          return instructions.sort(\n          /**\n          * @param {?} a\n          * @param {?} b\n          * @return {?}\n          */\n          function (a, b) {\n            // if depCount == 0 them move to front\n            // otherwise if a contains b then move back\n\n            /** @type {?} */\n            var d0 = a.transition.ast.depCount;\n            /** @type {?} */\n\n            var d1 = b.transition.ast.depCount;\n\n            if (d0 == 0 || d1 == 0) {\n              return d0 - d1;\n            }\n\n            return _this28._engine.driver.containsElement(a.element, b.element) ? 1 : -1;\n          });\n        }\n        /**\n         * @param {?} context\n         * @return {?}\n         */\n\n      }, {\n        key: \"destroy\",\n        value: function destroy(context) {\n          this.players.forEach(\n          /**\n          * @param {?} p\n          * @return {?}\n          */\n          function (p) {\n            return p.destroy();\n          });\n\n          this._signalRemovalForInnerTriggers(this.hostElement, context);\n        }\n        /**\n         * @param {?} element\n         * @return {?}\n         */\n\n      }, {\n        key: \"elementContainsData\",\n        value: function elementContainsData(element) {\n          /** @type {?} */\n          var containsData = false;\n          if (this._elementListeners.has(element)) containsData = true;\n          containsData = (this._queue.find(\n          /**\n          * @param {?} entry\n          * @return {?}\n          */\n          function (entry) {\n            return entry.element === element;\n          }) ? true : false) || containsData;\n          return containsData;\n        }\n      }]);\n\n      return AnimationTransitionNamespace;\n    }();\n\n    if (false) {}\n    /**\n     * @record\n     */\n\n\n    function QueuedTransition() {}\n\n    if (false) {}\n\n    var TransitionAnimationEngine =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} bodyNode\n       * @param {?} driver\n       * @param {?} _normalizer\n       */\n      function TransitionAnimationEngine(bodyNode, driver, _normalizer) {\n        _classCallCheck(this, TransitionAnimationEngine);\n\n        this.bodyNode = bodyNode;\n        this.driver = driver;\n        this._normalizer = _normalizer;\n        this.players = [];\n        this.newHostElements = new Map();\n        this.playersByElement = new Map();\n        this.playersByQueriedElement = new Map();\n        this.statesByElement = new Map();\n        this.disabledNodes = new Set();\n        this.totalAnimations = 0;\n        this.totalQueuedPlayers = 0;\n        this._namespaceLookup = {};\n        this._namespaceList = [];\n        this._flushFns = [];\n        this._whenQuietFns = [];\n        this.namespacesByHostElement = new Map();\n        this.collectedEnterElements = [];\n        this.collectedLeaveElements = []; // this method is designed to be overridden by the code that uses this engine\n\n        this.onRemovalComplete =\n        /**\n        * @param {?} element\n        * @param {?} context\n        * @return {?}\n        */\n        function (element, context) {};\n      }\n      /**\n       * \\@internal\n       * @param {?} element\n       * @param {?} context\n       * @return {?}\n       */\n\n\n      _createClass2(TransitionAnimationEngine, [{\n        key: \"_onRemovalComplete\",\n        value: function _onRemovalComplete(element, context) {\n          this.onRemovalComplete(element, context);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"createNamespace\",\n\n        /**\n         * @param {?} namespaceId\n         * @param {?} hostElement\n         * @return {?}\n         */\n        value: function createNamespace(namespaceId, hostElement) {\n          /** @type {?} */\n          var ns = new AnimationTransitionNamespace(namespaceId, hostElement, this);\n\n          if (hostElement.parentNode) {\n            this._balanceNamespaceList(ns, hostElement);\n          } else {\n            // defer this later until flush during when the host element has\n            // been inserted so that we know exactly where to place it in\n            // the namespace list\n            this.newHostElements.set(hostElement, ns); // given that this host element is apart of the animation code, it\n            // may or may not be inserted by a parent node that is an of an\n            // animation renderer type. If this happens then we can still have\n            // access to this item when we query for :enter nodes. If the parent\n            // is a renderer then the set data-structure will normalize the entry\n\n            this.collectEnterElement(hostElement);\n          }\n\n          return this._namespaceLookup[namespaceId] = ns;\n        }\n        /**\n         * @private\n         * @param {?} ns\n         * @param {?} hostElement\n         * @return {?}\n         */\n\n      }, {\n        key: \"_balanceNamespaceList\",\n        value: function _balanceNamespaceList(ns, hostElement) {\n          /** @type {?} */\n          var limit = this._namespaceList.length - 1;\n\n          if (limit >= 0) {\n            /** @type {?} */\n            var found = false;\n\n            for (var i = limit; i >= 0; i--) {\n              /** @type {?} */\n              var nextNamespace = this._namespaceList[i];\n\n              if (this.driver.containsElement(nextNamespace.hostElement, hostElement)) {\n                this._namespaceList.splice(i + 1, 0, ns);\n\n                found = true;\n                break;\n              }\n            }\n\n            if (!found) {\n              this._namespaceList.splice(0, 0, ns);\n            }\n          } else {\n            this._namespaceList.push(ns);\n          }\n\n          this.namespacesByHostElement.set(hostElement, ns);\n          return ns;\n        }\n        /**\n         * @param {?} namespaceId\n         * @param {?} hostElement\n         * @return {?}\n         */\n\n      }, {\n        key: \"register\",\n        value: function register(namespaceId, hostElement) {\n          /** @type {?} */\n          var ns = this._namespaceLookup[namespaceId];\n\n          if (!ns) {\n            ns = this.createNamespace(namespaceId, hostElement);\n          }\n\n          return ns;\n        }\n        /**\n         * @param {?} namespaceId\n         * @param {?} name\n         * @param {?} trigger\n         * @return {?}\n         */\n\n      }, {\n        key: \"registerTrigger\",\n        value: function registerTrigger(namespaceId, name, trigger) {\n          /** @type {?} */\n          var ns = this._namespaceLookup[namespaceId];\n\n          if (ns && ns.register(name, trigger)) {\n            this.totalAnimations++;\n          }\n        }\n        /**\n         * @param {?} namespaceId\n         * @param {?} context\n         * @return {?}\n         */\n\n      }, {\n        key: \"destroy\",\n        value: function destroy(namespaceId, context) {\n          var _this29 = this;\n\n          if (!namespaceId) return;\n          /** @type {?} */\n\n          var ns = this._fetchNamespace(namespaceId);\n\n          this.afterFlush(\n          /**\n          * @return {?}\n          */\n          function () {\n            _this29.namespacesByHostElement.delete(ns.hostElement);\n\n            delete _this29._namespaceLookup[namespaceId];\n            /** @type {?} */\n\n            var index = _this29._namespaceList.indexOf(ns);\n\n            if (index >= 0) {\n              _this29._namespaceList.splice(index, 1);\n            }\n          });\n          this.afterFlushAnimationsDone(\n          /**\n          * @return {?}\n          */\n          function () {\n            return ns.destroy(context);\n          });\n        }\n        /**\n         * @private\n         * @param {?} id\n         * @return {?}\n         */\n\n      }, {\n        key: \"_fetchNamespace\",\n        value: function _fetchNamespace(id) {\n          return this._namespaceLookup[id];\n        }\n        /**\n         * @param {?} element\n         * @return {?}\n         */\n\n      }, {\n        key: \"fetchNamespacesByElement\",\n        value: function fetchNamespacesByElement(element) {\n          // normally there should only be one namespace per element, however\n          // if @triggers are placed on both the component element and then\n          // its host element (within the component code) then there will be\n          // two namespaces returned. We use a set here to simply the dedupe\n          // of namespaces incase there are multiple triggers both the elm and host\n\n          /** @type {?} */\n          var namespaces = new Set();\n          /** @type {?} */\n\n          var elementStates = this.statesByElement.get(element);\n\n          if (elementStates) {\n            /** @type {?} */\n            var keys = Object.keys(elementStates);\n\n            for (var i = 0; i < keys.length; i++) {\n              /** @type {?} */\n              var nsId = elementStates[keys[i]].namespaceId;\n\n              if (nsId) {\n                /** @type {?} */\n                var ns = this._fetchNamespace(nsId);\n\n                if (ns) {\n                  namespaces.add(ns);\n                }\n              }\n            }\n          }\n\n          return namespaces;\n        }\n        /**\n         * @param {?} namespaceId\n         * @param {?} element\n         * @param {?} name\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"trigger\",\n        value: function trigger(namespaceId, element, name, value) {\n          if (isElementNode(element)) {\n            /** @type {?} */\n            var ns = this._fetchNamespace(namespaceId);\n\n            if (ns) {\n              ns.trigger(element, name, value);\n              return true;\n            }\n          }\n\n          return false;\n        }\n        /**\n         * @param {?} namespaceId\n         * @param {?} element\n         * @param {?} parent\n         * @param {?} insertBefore\n         * @return {?}\n         */\n\n      }, {\n        key: \"insertNode\",\n        value: function insertNode(namespaceId, element, parent, insertBefore) {\n          if (!isElementNode(element)) return; // special case for when an element is removed and reinserted (move operation)\n          // when this occurs we do not want to use the element for deletion later\n\n          /** @type {?} */\n\n          var details =\n          /** @type {?} */\n          element[REMOVAL_FLAG];\n\n          if (details && details.setForRemoval) {\n            details.setForRemoval = false;\n            details.setForMove = true;\n            /** @type {?} */\n\n            var index = this.collectedLeaveElements.indexOf(element);\n\n            if (index >= 0) {\n              this.collectedLeaveElements.splice(index, 1);\n            }\n          } // in the event that the namespaceId is blank then the caller\n          // code does not contain any animation code in it, but it is\n          // just being called so that the node is marked as being inserted\n\n\n          if (namespaceId) {\n            /** @type {?} */\n            var ns = this._fetchNamespace(namespaceId); // This if-statement is a workaround for router issue #21947.\n            // The router sometimes hits a race condition where while a route\n            // is being instantiated a new navigation arrives, triggering leave\n            // animation of DOM that has not been fully initialized, until this\n            // is resolved, we need to handle the scenario when DOM is not in a\n            // consistent state during the animation.\n\n\n            if (ns) {\n              ns.insertNode(element, parent);\n            }\n          } // only *directives and host elements are inserted before\n\n\n          if (insertBefore) {\n            this.collectEnterElement(element);\n          }\n        }\n        /**\n         * @param {?} element\n         * @return {?}\n         */\n\n      }, {\n        key: \"collectEnterElement\",\n        value: function collectEnterElement(element) {\n          this.collectedEnterElements.push(element);\n        }\n        /**\n         * @param {?} element\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"markElementAsDisabled\",\n        value: function markElementAsDisabled(element, value) {\n          if (value) {\n            if (!this.disabledNodes.has(element)) {\n              this.disabledNodes.add(element);\n              addClass(element, DISABLED_CLASSNAME);\n            }\n          } else if (this.disabledNodes.has(element)) {\n            this.disabledNodes.delete(element);\n            removeClass(element, DISABLED_CLASSNAME);\n          }\n        }\n        /**\n         * @param {?} namespaceId\n         * @param {?} element\n         * @param {?} isHostElement\n         * @param {?} context\n         * @return {?}\n         */\n\n      }, {\n        key: \"removeNode\",\n        value: function removeNode(namespaceId, element, isHostElement, context) {\n          if (isElementNode(element)) {\n            /** @type {?} */\n            var ns = namespaceId ? this._fetchNamespace(namespaceId) : null;\n\n            if (ns) {\n              ns.removeNode(element, context);\n            } else {\n              this.markElementAsRemoved(namespaceId, element, false, context);\n            }\n\n            if (isHostElement) {\n              /** @type {?} */\n              var hostNS = this.namespacesByHostElement.get(element);\n\n              if (hostNS && hostNS.id !== namespaceId) {\n                hostNS.removeNode(element, context);\n              }\n            }\n          } else {\n            this._onRemovalComplete(element, context);\n          }\n        }\n        /**\n         * @param {?} namespaceId\n         * @param {?} element\n         * @param {?=} hasAnimation\n         * @param {?=} context\n         * @return {?}\n         */\n\n      }, {\n        key: \"markElementAsRemoved\",\n        value: function markElementAsRemoved(namespaceId, element, hasAnimation, context) {\n          this.collectedLeaveElements.push(element);\n          element[REMOVAL_FLAG] = {\n            namespaceId: namespaceId,\n            setForRemoval: context,\n            hasAnimation: hasAnimation,\n            removedBeforeQueried: false\n          };\n        }\n        /**\n         * @param {?} namespaceId\n         * @param {?} element\n         * @param {?} name\n         * @param {?} phase\n         * @param {?} callback\n         * @return {?}\n         */\n\n      }, {\n        key: \"listen\",\n        value: function listen(namespaceId, element, name, phase, callback) {\n          if (isElementNode(element)) {\n            return this._fetchNamespace(namespaceId).listen(element, name, phase, callback);\n          }\n\n          return (\n            /**\n            * @return {?}\n            */\n            function () {}\n          );\n        }\n        /**\n         * @private\n         * @param {?} entry\n         * @param {?} subTimelines\n         * @param {?} enterClassName\n         * @param {?} leaveClassName\n         * @param {?=} skipBuildAst\n         * @return {?}\n         */\n\n      }, {\n        key: \"_buildInstruction\",\n        value: function _buildInstruction(entry, subTimelines, enterClassName, leaveClassName, skipBuildAst) {\n          return entry.transition.build(this.driver, entry.element, entry.fromState.value, entry.toState.value, enterClassName, leaveClassName, entry.fromState.options, entry.toState.options, subTimelines, skipBuildAst);\n        }\n        /**\n         * @param {?} containerElement\n         * @return {?}\n         */\n\n      }, {\n        key: \"destroyInnerAnimations\",\n        value: function destroyInnerAnimations(containerElement) {\n          var _this30 = this;\n\n          /** @type {?} */\n          var elements = this.driver.query(containerElement, NG_TRIGGER_SELECTOR, true);\n          elements.forEach(\n          /**\n          * @param {?} element\n          * @return {?}\n          */\n          function (element) {\n            return _this30.destroyActiveAnimationsForElement(element);\n          });\n          if (this.playersByQueriedElement.size == 0) return;\n          elements = this.driver.query(containerElement, NG_ANIMATING_SELECTOR, true);\n          elements.forEach(\n          /**\n          * @param {?} element\n          * @return {?}\n          */\n          function (element) {\n            return _this30.finishActiveQueriedAnimationOnElement(element);\n          });\n        }\n        /**\n         * @param {?} element\n         * @return {?}\n         */\n\n      }, {\n        key: \"destroyActiveAnimationsForElement\",\n        value: function destroyActiveAnimationsForElement(element) {\n          /** @type {?} */\n          var players = this.playersByElement.get(element);\n\n          if (players) {\n            players.forEach(\n            /**\n            * @param {?} player\n            * @return {?}\n            */\n            function (player) {\n              // special case for when an element is set for destruction, but hasn't started.\n              // in this situation we want to delay the destruction until the flush occurs\n              // so that any event listeners attached to the player are triggered.\n              if (player.queued) {\n                player.markedForDestroy = true;\n              } else {\n                player.destroy();\n              }\n            });\n          }\n        }\n        /**\n         * @param {?} element\n         * @return {?}\n         */\n\n      }, {\n        key: \"finishActiveQueriedAnimationOnElement\",\n        value: function finishActiveQueriedAnimationOnElement(element) {\n          /** @type {?} */\n          var players = this.playersByQueriedElement.get(element);\n\n          if (players) {\n            players.forEach(\n            /**\n            * @param {?} player\n            * @return {?}\n            */\n            function (player) {\n              return player.finish();\n            });\n          }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"whenRenderingDone\",\n        value: function whenRenderingDone() {\n          var _this31 = this;\n\n          return new Promise(\n          /**\n          * @param {?} resolve\n          * @return {?}\n          */\n          function (resolve) {\n            if (_this31.players.length) {\n              return optimizeGroupPlayer(_this31.players).onDone(\n              /**\n              * @return {?}\n              */\n              function () {\n                return resolve();\n              });\n            } else {\n              resolve();\n            }\n          });\n        }\n        /**\n         * @param {?} element\n         * @return {?}\n         */\n\n      }, {\n        key: \"processLeaveNode\",\n        value: function processLeaveNode(element) {\n          var _this32 = this;\n\n          /** @type {?} */\n          var details =\n          /** @type {?} */\n          element[REMOVAL_FLAG];\n\n          if (details && details.setForRemoval) {\n            // this will prevent it from removing it twice\n            element[REMOVAL_FLAG] = NULL_REMOVAL_STATE;\n\n            if (details.namespaceId) {\n              this.destroyInnerAnimations(element);\n              /** @type {?} */\n\n              var ns = this._fetchNamespace(details.namespaceId);\n\n              if (ns) {\n                ns.clearElementCache(element);\n              }\n            }\n\n            this._onRemovalComplete(element, details.setForRemoval);\n          }\n\n          if (this.driver.matchesElement(element, DISABLED_SELECTOR)) {\n            this.markElementAsDisabled(element, false);\n          }\n\n          this.driver.query(element, DISABLED_SELECTOR, true).forEach(\n          /**\n          * @param {?} node\n          * @return {?}\n          */\n          function (node) {\n            _this32.markElementAsDisabled(node, false);\n          });\n        }\n        /**\n         * @param {?=} microtaskId\n         * @return {?}\n         */\n\n      }, {\n        key: \"flush\",\n        value: function flush() {\n          var _this33 = this;\n\n          var microtaskId = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : -1;\n\n          /** @type {?} */\n          var players = [];\n\n          if (this.newHostElements.size) {\n            this.newHostElements.forEach(\n            /**\n            * @param {?} ns\n            * @param {?} element\n            * @return {?}\n            */\n            function (ns, element) {\n              return _this33._balanceNamespaceList(ns, element);\n            });\n            this.newHostElements.clear();\n          }\n\n          if (this.totalAnimations && this.collectedEnterElements.length) {\n            for (var i = 0; i < this.collectedEnterElements.length; i++) {\n              /** @type {?} */\n              var elm = this.collectedEnterElements[i];\n              addClass(elm, STAR_CLASSNAME);\n            }\n          }\n\n          if (this._namespaceList.length && (this.totalQueuedPlayers || this.collectedLeaveElements.length)) {\n            /** @type {?} */\n            var cleanupFns = [];\n\n            try {\n              players = this._flushAnimations(cleanupFns, microtaskId);\n            } finally {\n              for (var _i2 = 0; _i2 < cleanupFns.length; _i2++) {\n                cleanupFns[_i2]();\n              }\n            }\n          } else {\n            for (var _i3 = 0; _i3 < this.collectedLeaveElements.length; _i3++) {\n              /** @type {?} */\n              var element = this.collectedLeaveElements[_i3];\n              this.processLeaveNode(element);\n            }\n          }\n\n          this.totalQueuedPlayers = 0;\n          this.collectedEnterElements.length = 0;\n          this.collectedLeaveElements.length = 0;\n\n          this._flushFns.forEach(\n          /**\n          * @param {?} fn\n          * @return {?}\n          */\n          function (fn) {\n            return fn();\n          });\n\n          this._flushFns = [];\n\n          if (this._whenQuietFns.length) {\n            // we move these over to a variable so that\n            // if any new callbacks are registered in another\n            // flush they do not populate the existing set\n\n            /** @type {?} */\n            var quietFns = this._whenQuietFns;\n            this._whenQuietFns = [];\n\n            if (players.length) {\n              optimizeGroupPlayer(players).onDone(\n              /**\n              * @return {?}\n              */\n              function () {\n                quietFns.forEach(\n                /**\n                * @param {?} fn\n                * @return {?}\n                */\n                function (fn) {\n                  return fn();\n                });\n              });\n            } else {\n              quietFns.forEach(\n              /**\n              * @param {?} fn\n              * @return {?}\n              */\n              function (fn) {\n                return fn();\n              });\n            }\n          }\n        }\n        /**\n         * @param {?} errors\n         * @return {?}\n         */\n\n      }, {\n        key: \"reportError\",\n        value: function reportError(errors) {\n          throw new Error(\"Unable to process animations due to the following failed trigger transitions\\n \".concat(errors.join('\\n')));\n        }\n        /**\n         * @private\n         * @param {?} cleanupFns\n         * @param {?} microtaskId\n         * @return {?}\n         */\n\n      }, {\n        key: \"_flushAnimations\",\n        value: function _flushAnimations(cleanupFns, microtaskId) {\n          var _this34 = this;\n\n          /** @type {?} */\n          var subTimelines = new ElementInstructionMap();\n          /** @type {?} */\n\n          var skippedPlayers = [];\n          /** @type {?} */\n\n          var skippedPlayersMap = new Map();\n          /** @type {?} */\n\n          var queuedInstructions = [];\n          /** @type {?} */\n\n          var queriedElements = new Map();\n          /** @type {?} */\n\n          var allPreStyleElements = new Map();\n          /** @type {?} */\n\n          var allPostStyleElements = new Map();\n          /** @type {?} */\n\n          var disabledElementsSet = new Set();\n          this.disabledNodes.forEach(\n          /**\n          * @param {?} node\n          * @return {?}\n          */\n          function (node) {\n            disabledElementsSet.add(node);\n            /** @type {?} */\n\n            var nodesThatAreDisabled = _this34.driver.query(node, QUEUED_SELECTOR, true);\n\n            for (var _i4 = 0; _i4 < nodesThatAreDisabled.length; _i4++) {\n              disabledElementsSet.add(nodesThatAreDisabled[_i4]);\n            }\n          });\n          /** @type {?} */\n\n          var bodyNode = this.bodyNode;\n          /** @type {?} */\n\n          var allTriggerElements = Array.from(this.statesByElement.keys());\n          /** @type {?} */\n\n          var enterNodeMap = buildRootMap(allTriggerElements, this.collectedEnterElements); // this must occur before the instructions are built below such that\n          // the :enter queries match the elements (since the timeline queries\n          // are fired during instruction building).\n\n          /** @type {?} */\n\n          var enterNodeMapIds = new Map();\n          /** @type {?} */\n\n          var i = 0;\n          enterNodeMap.forEach(\n          /**\n          * @param {?} nodes\n          * @param {?} root\n          * @return {?}\n          */\n          function (nodes, root) {\n            /** @type {?} */\n            var className = ENTER_CLASSNAME + i++;\n            enterNodeMapIds.set(root, className);\n            nodes.forEach(\n            /**\n            * @param {?} node\n            * @return {?}\n            */\n            function (node) {\n              return addClass(node, className);\n            });\n          });\n          /** @type {?} */\n\n          var allLeaveNodes = [];\n          /** @type {?} */\n\n          var mergedLeaveNodes = new Set();\n          /** @type {?} */\n\n          var leaveNodesWithoutAnimations = new Set();\n\n          for (var _i5 = 0; _i5 < this.collectedLeaveElements.length; _i5++) {\n            /** @type {?} */\n            var element = this.collectedLeaveElements[_i5];\n            /** @type {?} */\n\n            var details =\n            /** @type {?} */\n            element[REMOVAL_FLAG];\n\n            if (details && details.setForRemoval) {\n              allLeaveNodes.push(element);\n              mergedLeaveNodes.add(element);\n\n              if (details.hasAnimation) {\n                this.driver.query(element, STAR_SELECTOR, true).forEach(\n                /**\n                * @param {?} elm\n                * @return {?}\n                */\n                function (elm) {\n                  return mergedLeaveNodes.add(elm);\n                });\n              } else {\n                leaveNodesWithoutAnimations.add(element);\n              }\n            }\n          }\n          /** @type {?} */\n\n\n          var leaveNodeMapIds = new Map();\n          /** @type {?} */\n\n          var leaveNodeMap = buildRootMap(allTriggerElements, Array.from(mergedLeaveNodes));\n          leaveNodeMap.forEach(\n          /**\n          * @param {?} nodes\n          * @param {?} root\n          * @return {?}\n          */\n          function (nodes, root) {\n            /** @type {?} */\n            var className = LEAVE_CLASSNAME + i++;\n            leaveNodeMapIds.set(root, className);\n            nodes.forEach(\n            /**\n            * @param {?} node\n            * @return {?}\n            */\n            function (node) {\n              return addClass(node, className);\n            });\n          });\n          cleanupFns.push(\n          /**\n          * @return {?}\n          */\n          function () {\n            enterNodeMap.forEach(\n            /**\n            * @param {?} nodes\n            * @param {?} root\n            * @return {?}\n            */\n            function (nodes, root) {\n              /** @type {?} */\n              var className =\n              /** @type {?} */\n              enterNodeMapIds.get(root);\n              nodes.forEach(\n              /**\n              * @param {?} node\n              * @return {?}\n              */\n              function (node) {\n                return removeClass(node, className);\n              });\n            });\n            leaveNodeMap.forEach(\n            /**\n            * @param {?} nodes\n            * @param {?} root\n            * @return {?}\n            */\n            function (nodes, root) {\n              /** @type {?} */\n              var className =\n              /** @type {?} */\n              leaveNodeMapIds.get(root);\n              nodes.forEach(\n              /**\n              * @param {?} node\n              * @return {?}\n              */\n              function (node) {\n                return removeClass(node, className);\n              });\n            });\n            allLeaveNodes.forEach(\n            /**\n            * @param {?} element\n            * @return {?}\n            */\n            function (element) {\n              _this34.processLeaveNode(element);\n            });\n          });\n          /** @type {?} */\n\n          var allPlayers = [];\n          /** @type {?} */\n\n          var erroneousTransitions = [];\n\n          for (var _i6 = this._namespaceList.length - 1; _i6 >= 0; _i6--) {\n            /** @type {?} */\n            var ns = this._namespaceList[_i6];\n            ns.drainQueuedTransitions(microtaskId).forEach(\n            /**\n            * @param {?} entry\n            * @return {?}\n            */\n            function (entry) {\n              /** @type {?} */\n              var player = entry.player;\n              /** @type {?} */\n\n              var element = entry.element;\n              allPlayers.push(player);\n\n              if (_this34.collectedEnterElements.length) {\n                /** @type {?} */\n                var _details =\n                /** @type {?} */\n                element[REMOVAL_FLAG]; // move animations are currently not supported...\n\n                if (_details && _details.setForMove) {\n                  player.destroy();\n                  return;\n                }\n              }\n              /** @type {?} */\n\n\n              var nodeIsOrphaned = !bodyNode || !_this34.driver.containsElement(bodyNode, element);\n              /** @type {?} */\n\n              var leaveClassName =\n              /** @type {?} */\n              leaveNodeMapIds.get(element);\n              /** @type {?} */\n\n              var enterClassName =\n              /** @type {?} */\n              enterNodeMapIds.get(element);\n              /** @type {?} */\n\n              var instruction =\n              /** @type {?} */\n              _this34._buildInstruction(entry, subTimelines, enterClassName, leaveClassName, nodeIsOrphaned);\n\n              if (instruction.errors && instruction.errors.length) {\n                erroneousTransitions.push(instruction);\n                return;\n              } // even though the element may not be apart of the DOM, it may\n              // still be added at a later point (due to the mechanics of content\n              // projection and/or dynamic component insertion) therefore it's\n              // important we still style the element.\n\n\n              if (nodeIsOrphaned) {\n                player.onStart(\n                /**\n                * @return {?}\n                */\n                function () {\n                  return eraseStyles(element, instruction.fromStyles);\n                });\n                player.onDestroy(\n                /**\n                * @return {?}\n                */\n                function () {\n                  return setStyles(element, instruction.toStyles);\n                });\n                skippedPlayers.push(player);\n                return;\n              } // if a unmatched transition is queued to go then it SHOULD NOT render\n              // an animation and cancel the previously running animations.\n\n\n              if (entry.isFallbackTransition) {\n                player.onStart(\n                /**\n                * @return {?}\n                */\n                function () {\n                  return eraseStyles(element, instruction.fromStyles);\n                });\n                player.onDestroy(\n                /**\n                * @return {?}\n                */\n                function () {\n                  return setStyles(element, instruction.toStyles);\n                });\n                skippedPlayers.push(player);\n                return;\n              } // this means that if a parent animation uses this animation as a sub trigger\n              // then it will instruct the timeline builder to not add a player delay, but\n              // instead stretch the first keyframe gap up until the animation starts. The\n              // reason this is important is to prevent extra initialization styles from being\n              // required by the user in the animation.\n\n\n              instruction.timelines.forEach(\n              /**\n              * @param {?} tl\n              * @return {?}\n              */\n              function (tl) {\n                return tl.stretchStartingKeyframe = true;\n              });\n              subTimelines.append(element, instruction.timelines);\n              /** @type {?} */\n\n              var tuple = {\n                instruction: instruction,\n                player: player,\n                element: element\n              };\n              queuedInstructions.push(tuple);\n              instruction.queriedElements.forEach(\n              /**\n              * @param {?} element\n              * @return {?}\n              */\n              function (element) {\n                return getOrSetAsInMap(queriedElements, element, []).push(player);\n              });\n              instruction.preStyleProps.forEach(\n              /**\n              * @param {?} stringMap\n              * @param {?} element\n              * @return {?}\n              */\n              function (stringMap, element) {\n                /** @type {?} */\n                var props = Object.keys(stringMap);\n\n                if (props.length) {\n                  /** @type {?} */\n                  var setVal =\n                  /** @type {?} */\n                  allPreStyleElements.get(element);\n\n                  if (!setVal) {\n                    allPreStyleElements.set(element, setVal = new Set());\n                  }\n\n                  props.forEach(\n                  /**\n                  * @param {?} prop\n                  * @return {?}\n                  */\n                  function (prop) {\n                    return setVal.add(prop);\n                  });\n                }\n              });\n              instruction.postStyleProps.forEach(\n              /**\n              * @param {?} stringMap\n              * @param {?} element\n              * @return {?}\n              */\n              function (stringMap, element) {\n                /** @type {?} */\n                var props = Object.keys(stringMap);\n                /** @type {?} */\n\n                var setVal =\n                /** @type {?} */\n                allPostStyleElements.get(element);\n\n                if (!setVal) {\n                  allPostStyleElements.set(element, setVal = new Set());\n                }\n\n                props.forEach(\n                /**\n                * @param {?} prop\n                * @return {?}\n                */\n                function (prop) {\n                  return setVal.add(prop);\n                });\n              });\n            });\n          }\n\n          if (erroneousTransitions.length) {\n            /** @type {?} */\n            var errors = [];\n            erroneousTransitions.forEach(\n            /**\n            * @param {?} instruction\n            * @return {?}\n            */\n            function (instruction) {\n              errors.push(\"@\".concat(instruction.triggerName, \" has failed due to:\\n\"));\n\n              /** @type {?} */\n              instruction.errors.forEach(\n              /**\n              * @param {?} error\n              * @return {?}\n              */\n              function (error) {\n                return errors.push(\"- \".concat(error, \"\\n\"));\n              });\n            });\n            allPlayers.forEach(\n            /**\n            * @param {?} player\n            * @return {?}\n            */\n            function (player) {\n              return player.destroy();\n            });\n            this.reportError(errors);\n          }\n          /** @type {?} */\n\n\n          var allPreviousPlayersMap = new Map(); // this map works to tell which element in the DOM tree is contained by\n          // which animation. Further down below this map will get populated once\n          // the players are built and in doing so it can efficiently figure out\n          // if a sub player is skipped due to a parent player having priority.\n\n          /** @type {?} */\n\n          var animationElementMap = new Map();\n          queuedInstructions.forEach(\n          /**\n          * @param {?} entry\n          * @return {?}\n          */\n          function (entry) {\n            /** @type {?} */\n            var element = entry.element;\n\n            if (subTimelines.has(element)) {\n              animationElementMap.set(element, element);\n\n              _this34._beforeAnimationBuild(entry.player.namespaceId, entry.instruction, allPreviousPlayersMap);\n            }\n          });\n          skippedPlayers.forEach(\n          /**\n          * @param {?} player\n          * @return {?}\n          */\n          function (player) {\n            /** @type {?} */\n            var element = player.element;\n            /** @type {?} */\n\n            var previousPlayers = _this34._getPreviousPlayers(element, false, player.namespaceId, player.triggerName, null);\n\n            previousPlayers.forEach(\n            /**\n            * @param {?} prevPlayer\n            * @return {?}\n            */\n            function (prevPlayer) {\n              getOrSetAsInMap(allPreviousPlayersMap, element, []).push(prevPlayer);\n              prevPlayer.destroy();\n            });\n          }); // this is a special case for nodes that will be removed (either by)\n          // having their own leave animations or by being queried in a container\n          // that will be removed once a parent animation is complete. The idea\n          // here is that * styles must be identical to ! styles because of\n          // backwards compatibility (* is also filled in by default in many places).\n          // Otherwise * styles will return an empty value or auto since the element\n          // that is being getComputedStyle'd will not be visible (since * = destination)\n\n          /** @type {?} */\n\n          var replaceNodes = allLeaveNodes.filter(\n          /**\n          * @param {?} node\n          * @return {?}\n          */\n          function (node) {\n            return replacePostStylesAsPre(node, allPreStyleElements, allPostStyleElements);\n          }); // POST STAGE: fill the * styles\n\n          /** @type {?} */\n\n          var postStylesMap = new Map();\n          /** @type {?} */\n\n          var allLeaveQueriedNodes = cloakAndComputeStyles(postStylesMap, this.driver, leaveNodesWithoutAnimations, allPostStyleElements, _angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"AUTO_STYLE\"]);\n          allLeaveQueriedNodes.forEach(\n          /**\n          * @param {?} node\n          * @return {?}\n          */\n          function (node) {\n            if (replacePostStylesAsPre(node, allPreStyleElements, allPostStyleElements)) {\n              replaceNodes.push(node);\n            }\n          }); // PRE STAGE: fill the ! styles\n\n          /** @type {?} */\n\n          var preStylesMap = new Map();\n          enterNodeMap.forEach(\n          /**\n          * @param {?} nodes\n          * @param {?} root\n          * @return {?}\n          */\n          function (nodes, root) {\n            cloakAndComputeStyles(preStylesMap, _this34.driver, new Set(nodes), allPreStyleElements, _angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"ɵPRE_STYLE\"]);\n          });\n          replaceNodes.forEach(\n          /**\n          * @param {?} node\n          * @return {?}\n          */\n          function (node) {\n            /** @type {?} */\n            var post = postStylesMap.get(node);\n            /** @type {?} */\n\n            var pre = preStylesMap.get(node);\n            postStylesMap.set(node,\n            /** @type {?} */\n            Object.assign({}, post, pre));\n          });\n          /** @type {?} */\n\n          var rootPlayers = [];\n          /** @type {?} */\n\n          var subPlayers = [];\n          /** @type {?} */\n\n          var NO_PARENT_ANIMATION_ELEMENT_DETECTED = {};\n          queuedInstructions.forEach(\n          /**\n          * @param {?} entry\n          * @return {?}\n          */\n          function (entry) {\n            var element = entry.element,\n                player = entry.player,\n                instruction = entry.instruction; // this means that it was never consumed by a parent animation which\n            // means that it is independent and therefore should be set for animation\n\n            if (subTimelines.has(element)) {\n              if (disabledElementsSet.has(element)) {\n                player.onDestroy(\n                /**\n                * @return {?}\n                */\n                function () {\n                  return setStyles(element, instruction.toStyles);\n                });\n                player.disabled = true;\n                player.overrideTotalTime(instruction.totalTime);\n                skippedPlayers.push(player);\n                return;\n              } // this will flow up the DOM and query the map to figure out\n              // if a parent animation has priority over it. In the situation\n              // that a parent is detected then it will cancel the loop. If\n              // nothing is detected, or it takes a few hops to find a parent,\n              // then it will fill in the missing nodes and signal them as having\n              // a detected parent (or a NO_PARENT value via a special constant).\n\n              /** @type {?} */\n\n\n              var parentWithAnimation = NO_PARENT_ANIMATION_ELEMENT_DETECTED;\n\n              if (animationElementMap.size > 1) {\n                /** @type {?} */\n                var elm = element;\n                /** @type {?} */\n\n                var parentsToAdd = [];\n\n                while (elm = elm.parentNode) {\n                  /** @type {?} */\n                  var detectedParent = animationElementMap.get(elm);\n\n                  if (detectedParent) {\n                    parentWithAnimation = detectedParent;\n                    break;\n                  }\n\n                  parentsToAdd.push(elm);\n                }\n\n                parentsToAdd.forEach(\n                /**\n                * @param {?} parent\n                * @return {?}\n                */\n                function (parent) {\n                  return animationElementMap.set(parent, parentWithAnimation);\n                });\n              }\n              /** @type {?} */\n\n\n              var innerPlayer = _this34._buildAnimation(player.namespaceId, instruction, allPreviousPlayersMap, skippedPlayersMap, preStylesMap, postStylesMap);\n\n              player.setRealPlayer(innerPlayer);\n\n              if (parentWithAnimation === NO_PARENT_ANIMATION_ELEMENT_DETECTED) {\n                rootPlayers.push(player);\n              } else {\n                /** @type {?} */\n                var parentPlayers = _this34.playersByElement.get(parentWithAnimation);\n\n                if (parentPlayers && parentPlayers.length) {\n                  player.parentPlayer = optimizeGroupPlayer(parentPlayers);\n                }\n\n                skippedPlayers.push(player);\n              }\n            } else {\n              eraseStyles(element, instruction.fromStyles);\n              player.onDestroy(\n              /**\n              * @return {?}\n              */\n              function () {\n                return setStyles(element, instruction.toStyles);\n              }); // there still might be a ancestor player animating this\n              // element therefore we will still add it as a sub player\n              // even if its animation may be disabled\n\n              subPlayers.push(player);\n\n              if (disabledElementsSet.has(element)) {\n                skippedPlayers.push(player);\n              }\n            }\n          }); // find all of the sub players' corresponding inner animation player\n\n          subPlayers.forEach(\n          /**\n          * @param {?} player\n          * @return {?}\n          */\n          function (player) {\n            // even if any players are not found for a sub animation then it\n            // will still complete itself after the next tick since it's Noop\n\n            /** @type {?} */\n            var playersForElement = skippedPlayersMap.get(player.element);\n\n            if (playersForElement && playersForElement.length) {\n              /** @type {?} */\n              var innerPlayer = optimizeGroupPlayer(playersForElement);\n              player.setRealPlayer(innerPlayer);\n            }\n          }); // the reason why we don't actually play the animation is\n          // because all that a skipped player is designed to do is to\n          // fire the start/done transition callback events\n\n          skippedPlayers.forEach(\n          /**\n          * @param {?} player\n          * @return {?}\n          */\n          function (player) {\n            if (player.parentPlayer) {\n              player.syncPlayerEvents(player.parentPlayer);\n            } else {\n              player.destroy();\n            }\n          }); // run through all of the queued removals and see if they\n          // were picked up by a query. If not then perform the removal\n          // operation right away unless a parent animation is ongoing.\n\n          for (var _i7 = 0; _i7 < allLeaveNodes.length; _i7++) {\n            /** @type {?} */\n            var _element2 = allLeaveNodes[_i7];\n            /** @type {?} */\n\n            var _details2 =\n            /** @type {?} */\n            _element2[REMOVAL_FLAG];\n            removeClass(_element2, LEAVE_CLASSNAME); // this means the element has a removal animation that is being\n            // taken care of and therefore the inner elements will hang around\n            // until that animation is over (or the parent queried animation)\n\n            if (_details2 && _details2.hasAnimation) continue;\n            /** @type {?} */\n\n            var players = []; // if this element is queried or if it contains queried children\n            // then we want for the element not to be removed from the page\n            // until the queried animations have finished\n\n            if (queriedElements.size) {\n              /** @type {?} */\n              var queriedPlayerResults = queriedElements.get(_element2);\n\n              if (queriedPlayerResults && queriedPlayerResults.length) {\n                players.push.apply(players, _toConsumableArray(queriedPlayerResults));\n              }\n              /** @type {?} */\n\n\n              var queriedInnerElements = this.driver.query(_element2, NG_ANIMATING_SELECTOR, true);\n\n              for (var j = 0; j < queriedInnerElements.length; j++) {\n                /** @type {?} */\n                var queriedPlayers = queriedElements.get(queriedInnerElements[j]);\n\n                if (queriedPlayers && queriedPlayers.length) {\n                  players.push.apply(players, _toConsumableArray(queriedPlayers));\n                }\n              }\n            }\n            /** @type {?} */\n\n\n            var activePlayers = players.filter(\n            /**\n            * @param {?} p\n            * @return {?}\n            */\n            function (p) {\n              return !p.destroyed;\n            });\n\n            if (activePlayers.length) {\n              removeNodesAfterAnimationDone(this, _element2, activePlayers);\n            } else {\n              this.processLeaveNode(_element2);\n            }\n          } // this is required so the cleanup method doesn't remove them\n\n\n          allLeaveNodes.length = 0;\n          rootPlayers.forEach(\n          /**\n          * @param {?} player\n          * @return {?}\n          */\n          function (player) {\n            _this34.players.push(player);\n\n            player.onDone(\n            /**\n            * @return {?}\n            */\n            function () {\n              player.destroy();\n              /** @type {?} */\n\n              var index = _this34.players.indexOf(player);\n\n              _this34.players.splice(index, 1);\n            });\n            player.play();\n          });\n          return rootPlayers;\n        }\n        /**\n         * @param {?} namespaceId\n         * @param {?} element\n         * @return {?}\n         */\n\n      }, {\n        key: \"elementContainsData\",\n        value: function elementContainsData(namespaceId, element) {\n          /** @type {?} */\n          var containsData = false;\n          /** @type {?} */\n\n          var details =\n          /** @type {?} */\n          element[REMOVAL_FLAG];\n          if (details && details.setForRemoval) containsData = true;\n          if (this.playersByElement.has(element)) containsData = true;\n          if (this.playersByQueriedElement.has(element)) containsData = true;\n          if (this.statesByElement.has(element)) containsData = true;\n          return this._fetchNamespace(namespaceId).elementContainsData(element) || containsData;\n        }\n        /**\n         * @param {?} callback\n         * @return {?}\n         */\n\n      }, {\n        key: \"afterFlush\",\n        value: function afterFlush(callback) {\n          this._flushFns.push(callback);\n        }\n        /**\n         * @param {?} callback\n         * @return {?}\n         */\n\n      }, {\n        key: \"afterFlushAnimationsDone\",\n        value: function afterFlushAnimationsDone(callback) {\n          this._whenQuietFns.push(callback);\n        }\n        /**\n         * @private\n         * @param {?} element\n         * @param {?} isQueriedElement\n         * @param {?=} namespaceId\n         * @param {?=} triggerName\n         * @param {?=} toStateValue\n         * @return {?}\n         */\n\n      }, {\n        key: \"_getPreviousPlayers\",\n        value: function _getPreviousPlayers(element, isQueriedElement, namespaceId, triggerName, toStateValue) {\n          /** @type {?} */\n          var players = [];\n\n          if (isQueriedElement) {\n            /** @type {?} */\n            var queriedElementPlayers = this.playersByQueriedElement.get(element);\n\n            if (queriedElementPlayers) {\n              players = queriedElementPlayers;\n            }\n          } else {\n            /** @type {?} */\n            var elementPlayers = this.playersByElement.get(element);\n\n            if (elementPlayers) {\n              /** @type {?} */\n              var isRemovalAnimation = !toStateValue || toStateValue == VOID_VALUE;\n              elementPlayers.forEach(\n              /**\n              * @param {?} player\n              * @return {?}\n              */\n              function (player) {\n                if (player.queued) return;\n                if (!isRemovalAnimation && player.triggerName != triggerName) return;\n                players.push(player);\n              });\n            }\n          }\n\n          if (namespaceId || triggerName) {\n            players = players.filter(\n            /**\n            * @param {?} player\n            * @return {?}\n            */\n            function (player) {\n              if (namespaceId && namespaceId != player.namespaceId) return false;\n              if (triggerName && triggerName != player.triggerName) return false;\n              return true;\n            });\n          }\n\n          return players;\n        }\n        /**\n         * @private\n         * @param {?} namespaceId\n         * @param {?} instruction\n         * @param {?} allPreviousPlayersMap\n         * @return {?}\n         */\n\n      }, {\n        key: \"_beforeAnimationBuild\",\n        value: function _beforeAnimationBuild(namespaceId, instruction, allPreviousPlayersMap) {\n          var _this35 = this;\n\n          /** @type {?} */\n          var triggerName = instruction.triggerName;\n          /** @type {?} */\n\n          var rootElement = instruction.element; // when a removal animation occurs, ALL previous players are collected\n          // and destroyed (even if they are outside of the current namespace)\n\n          /** @type {?} */\n\n          var targetNameSpaceId = instruction.isRemovalTransition ? undefined : namespaceId;\n          /** @type {?} */\n\n          var targetTriggerName = instruction.isRemovalTransition ? undefined : triggerName;\n          var _iteratorNormalCompletion = true;\n          var _didIteratorError = false;\n          var _iteratorError = undefined;\n\n          try {\n            var _loop2 = function _loop2() {\n              var timelineInstruction = _step.value;\n\n              /** @type {?} */\n              var element = timelineInstruction.element;\n              /** @type {?} */\n\n              var isQueriedElement = element !== rootElement;\n              /** @type {?} */\n\n              var players = getOrSetAsInMap(allPreviousPlayersMap, element, []);\n              /** @type {?} */\n\n              var previousPlayers = _this35._getPreviousPlayers(element, isQueriedElement, targetNameSpaceId, targetTriggerName, instruction.toState);\n\n              previousPlayers.forEach(\n              /**\n              * @param {?} player\n              * @return {?}\n              */\n              function (player) {\n                /** @type {?} */\n                var realPlayer =\n                /** @type {?} */\n                player.getRealPlayer();\n\n                if (realPlayer.beforeDestroy) {\n                  realPlayer.beforeDestroy();\n                }\n\n                player.destroy();\n                players.push(player);\n              });\n            };\n\n            for (var _iterator = instruction.timelines[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n              _loop2();\n            } // this needs to be done so that the PRE/POST styles can be\n            // computed properly without interfering with the previous animation\n\n          } catch (err) {\n            _didIteratorError = true;\n            _iteratorError = err;\n          } finally {\n            try {\n              if (!_iteratorNormalCompletion && _iterator.return != null) {\n                _iterator.return();\n              }\n            } finally {\n              if (_didIteratorError) {\n                throw _iteratorError;\n              }\n            }\n          }\n\n          eraseStyles(rootElement, instruction.fromStyles);\n        }\n        /**\n         * @private\n         * @param {?} namespaceId\n         * @param {?} instruction\n         * @param {?} allPreviousPlayersMap\n         * @param {?} skippedPlayersMap\n         * @param {?} preStylesMap\n         * @param {?} postStylesMap\n         * @return {?}\n         */\n\n      }, {\n        key: \"_buildAnimation\",\n        value: function _buildAnimation(namespaceId, instruction, allPreviousPlayersMap, skippedPlayersMap, preStylesMap, postStylesMap) {\n          var _this36 = this;\n\n          /** @type {?} */\n          var triggerName = instruction.triggerName;\n          /** @type {?} */\n\n          var rootElement = instruction.element; // we first run this so that the previous animation player\n          // data can be passed into the successive animation players\n\n          /** @type {?} */\n\n          var allQueriedPlayers = [];\n          /** @type {?} */\n\n          var allConsumedElements = new Set();\n          /** @type {?} */\n\n          var allSubElements = new Set();\n          /** @type {?} */\n\n          var allNewPlayers = instruction.timelines.map(\n          /**\n          * @param {?} timelineInstruction\n          * @return {?}\n          */\n          function (timelineInstruction) {\n            /** @type {?} */\n            var element = timelineInstruction.element;\n            allConsumedElements.add(element); // FIXME (matsko): make sure to-be-removed animations are removed properly\n\n            /** @type {?} */\n\n            var details = element[REMOVAL_FLAG];\n            if (details && details.removedBeforeQueried) return new _angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"NoopAnimationPlayer\"](timelineInstruction.duration, timelineInstruction.delay);\n            /** @type {?} */\n\n            var isQueriedElement = element !== rootElement;\n            /** @type {?} */\n\n            var previousPlayers = flattenGroupPlayers((allPreviousPlayersMap.get(element) || EMPTY_PLAYER_ARRAY).map(\n            /**\n            * @param {?} p\n            * @return {?}\n            */\n            function (p) {\n              return p.getRealPlayer();\n            })).filter(\n            /**\n            * @param {?} p\n            * @return {?}\n            */\n            function (p) {\n              // the `element` is not apart of the AnimationPlayer definition, but\n              // Mock/WebAnimations\n              // use the element within their implementation. This will be added in Angular5 to\n              // AnimationPlayer\n\n              /** @type {?} */\n              var pp =\n              /** @type {?} */\n              p;\n              return pp.element ? pp.element === element : false;\n            });\n            /** @type {?} */\n\n            var preStyles = preStylesMap.get(element);\n            /** @type {?} */\n\n            var postStyles = postStylesMap.get(element);\n            /** @type {?} */\n\n            var keyframes = normalizeKeyframes(_this36.driver, _this36._normalizer, element, timelineInstruction.keyframes, preStyles, postStyles);\n            /** @type {?} */\n\n            var player = _this36._buildPlayer(timelineInstruction, keyframes, previousPlayers); // this means that this particular player belongs to a sub trigger. It is\n            // important that we match this player up with the corresponding (@trigger.listener)\n\n\n            if (timelineInstruction.subTimeline && skippedPlayersMap) {\n              allSubElements.add(element);\n            }\n\n            if (isQueriedElement) {\n              /** @type {?} */\n              var wrappedPlayer = new TransitionAnimationPlayer(namespaceId, triggerName, element);\n              wrappedPlayer.setRealPlayer(player);\n              allQueriedPlayers.push(wrappedPlayer);\n            }\n\n            return player;\n          });\n          allQueriedPlayers.forEach(\n          /**\n          * @param {?} player\n          * @return {?}\n          */\n          function (player) {\n            getOrSetAsInMap(_this36.playersByQueriedElement, player.element, []).push(player);\n            player.onDone(\n            /**\n            * @return {?}\n            */\n            function () {\n              return deleteOrUnsetInMap(_this36.playersByQueriedElement, player.element, player);\n            });\n          });\n          allConsumedElements.forEach(\n          /**\n          * @param {?} element\n          * @return {?}\n          */\n          function (element) {\n            return addClass(element, NG_ANIMATING_CLASSNAME);\n          });\n          /** @type {?} */\n\n          var player = optimizeGroupPlayer(allNewPlayers);\n          player.onDestroy(\n          /**\n          * @return {?}\n          */\n          function () {\n            allConsumedElements.forEach(\n            /**\n            * @param {?} element\n            * @return {?}\n            */\n            function (element) {\n              return removeClass(element, NG_ANIMATING_CLASSNAME);\n            });\n            setStyles(rootElement, instruction.toStyles);\n          }); // this basically makes all of the callbacks for sub element animations\n          // be dependent on the upper players for when they finish\n\n          allSubElements.forEach(\n          /**\n          * @param {?} element\n          * @return {?}\n          */\n          function (element) {\n            getOrSetAsInMap(skippedPlayersMap, element, []).push(player);\n          });\n          return player;\n        }\n        /**\n         * @private\n         * @param {?} instruction\n         * @param {?} keyframes\n         * @param {?} previousPlayers\n         * @return {?}\n         */\n\n      }, {\n        key: \"_buildPlayer\",\n        value: function _buildPlayer(instruction, keyframes, previousPlayers) {\n          if (keyframes.length > 0) {\n            return this.driver.animate(instruction.element, keyframes, instruction.duration, instruction.delay, instruction.easing, previousPlayers);\n          } // special case for when an empty transition|definition is provided\n          // ... there is no point in rendering an empty animation\n\n\n          return new _angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"NoopAnimationPlayer\"](instruction.duration, instruction.delay);\n        }\n      }, {\n        key: \"queuedPlayers\",\n        get: function get() {\n          /** @type {?} */\n          var players = [];\n\n          this._namespaceList.forEach(\n          /**\n          * @param {?} ns\n          * @return {?}\n          */\n          function (ns) {\n            ns.players.forEach(\n            /**\n            * @param {?} player\n            * @return {?}\n            */\n            function (player) {\n              if (player.queued) {\n                players.push(player);\n              }\n            });\n          });\n\n          return players;\n        }\n      }]);\n\n      return TransitionAnimationEngine;\n    }();\n\n    if (false) {}\n\n    var TransitionAnimationPlayer =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} namespaceId\n       * @param {?} triggerName\n       * @param {?} element\n       */\n      function TransitionAnimationPlayer(namespaceId, triggerName, element) {\n        _classCallCheck(this, TransitionAnimationPlayer);\n\n        this.namespaceId = namespaceId;\n        this.triggerName = triggerName;\n        this.element = element;\n        this._player = new _angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"NoopAnimationPlayer\"]();\n        this._containsRealPlayer = false;\n        this._queuedCallbacks = {};\n        this.destroyed = false;\n        this.markedForDestroy = false;\n        this.disabled = false;\n        this.queued = true;\n        this.totalTime = 0;\n      }\n      /**\n       * @param {?} player\n       * @return {?}\n       */\n\n\n      _createClass2(TransitionAnimationPlayer, [{\n        key: \"setRealPlayer\",\n        value: function setRealPlayer(player) {\n          var _this37 = this;\n\n          if (this._containsRealPlayer) return;\n          this._player = player;\n          Object.keys(this._queuedCallbacks).forEach(\n          /**\n          * @param {?} phase\n          * @return {?}\n          */\n          function (phase) {\n            _this37._queuedCallbacks[phase].forEach(\n            /**\n            * @param {?} callback\n            * @return {?}\n            */\n            function (callback) {\n              return listenOnPlayer(player, phase, undefined, callback);\n            });\n          });\n          this._queuedCallbacks = {};\n          this._containsRealPlayer = true;\n          this.overrideTotalTime(player.totalTime);\n\n          /** @type {?} */\n          this.queued = false;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"getRealPlayer\",\n        value: function getRealPlayer() {\n          return this._player;\n        }\n        /**\n         * @param {?} totalTime\n         * @return {?}\n         */\n\n      }, {\n        key: \"overrideTotalTime\",\n        value: function overrideTotalTime(totalTime) {\n          /** @type {?} */\n          this.totalTime = totalTime;\n        }\n        /**\n         * @param {?} player\n         * @return {?}\n         */\n\n      }, {\n        key: \"syncPlayerEvents\",\n        value: function syncPlayerEvents(player) {\n          var _this38 = this;\n\n          /** @type {?} */\n          var p =\n          /** @type {?} */\n          this._player;\n\n          if (p.triggerCallback) {\n            player.onStart(\n            /**\n            * @return {?}\n            */\n            function () {\n              return (\n                /** @type {?} */\n                p.triggerCallback('start')\n              );\n            });\n          }\n\n          player.onDone(\n          /**\n          * @return {?}\n          */\n          function () {\n            return _this38.finish();\n          });\n          player.onDestroy(\n          /**\n          * @return {?}\n          */\n          function () {\n            return _this38.destroy();\n          });\n        }\n        /**\n         * @private\n         * @param {?} name\n         * @param {?} callback\n         * @return {?}\n         */\n\n      }, {\n        key: \"_queueEvent\",\n        value: function _queueEvent(name, callback) {\n          getOrSetAsInMap(this._queuedCallbacks, name, []).push(callback);\n        }\n        /**\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"onDone\",\n        value: function onDone(fn) {\n          if (this.queued) {\n            this._queueEvent('done', fn);\n          }\n\n          this._player.onDone(fn);\n        }\n        /**\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"onStart\",\n        value: function onStart(fn) {\n          if (this.queued) {\n            this._queueEvent('start', fn);\n          }\n\n          this._player.onStart(fn);\n        }\n        /**\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"onDestroy\",\n        value: function onDestroy(fn) {\n          if (this.queued) {\n            this._queueEvent('destroy', fn);\n          }\n\n          this._player.onDestroy(fn);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"init\",\n        value: function init() {\n          this._player.init();\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"hasStarted\",\n        value: function hasStarted() {\n          return this.queued ? false : this._player.hasStarted();\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"play\",\n        value: function play() {\n          !this.queued && this._player.play();\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"pause\",\n        value: function pause() {\n          !this.queued && this._player.pause();\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"restart\",\n        value: function restart() {\n          !this.queued && this._player.restart();\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"finish\",\n        value: function finish() {\n          this._player.finish();\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"destroy\",\n        value: function destroy() {\n          /** @type {?} */\n          this.destroyed = true;\n\n          this._player.destroy();\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"reset\",\n        value: function reset() {\n          !this.queued && this._player.reset();\n        }\n        /**\n         * @param {?} p\n         * @return {?}\n         */\n\n      }, {\n        key: \"setPosition\",\n        value: function setPosition(p) {\n          if (!this.queued) {\n            this._player.setPosition(p);\n          }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"getPosition\",\n        value: function getPosition() {\n          return this.queued ? 0 : this._player.getPosition();\n        }\n        /**\n         * \\@internal\n         * @param {?} phaseName\n         * @return {?}\n         */\n\n      }, {\n        key: \"triggerCallback\",\n        value: function triggerCallback(phaseName) {\n          /** @type {?} */\n          var p =\n          /** @type {?} */\n          this._player;\n\n          if (p.triggerCallback) {\n            p.triggerCallback(phaseName);\n          }\n        }\n      }]);\n\n      return TransitionAnimationPlayer;\n    }();\n\n    if (false) {}\n    /**\n     * @param {?} map\n     * @param {?} key\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function deleteOrUnsetInMap(map, key, value) {\n      /** @type {?} */\n      var currentValues;\n\n      if (map instanceof Map) {\n        currentValues = map.get(key);\n\n        if (currentValues) {\n          if (currentValues.length) {\n            /** @type {?} */\n            var index = currentValues.indexOf(value);\n            currentValues.splice(index, 1);\n          }\n\n          if (currentValues.length == 0) {\n            map.delete(key);\n          }\n        }\n      } else {\n        currentValues = map[key];\n\n        if (currentValues) {\n          if (currentValues.length) {\n            /** @type {?} */\n            var _index2 = currentValues.indexOf(value);\n\n            currentValues.splice(_index2, 1);\n          }\n\n          if (currentValues.length == 0) {\n            delete map[key];\n          }\n        }\n      }\n\n      return currentValues;\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function normalizeTriggerValue(value) {\n      // we use `!= null` here because it's the most simple\n      // way to test against a \"falsy\" value without mixing\n      // in empty strings or a zero value. DO NOT OPTIMIZE.\n      return value != null ? value : null;\n    }\n    /**\n     * @param {?} node\n     * @return {?}\n     */\n\n\n    function isElementNode(node) {\n      return node && node['nodeType'] === 1;\n    }\n    /**\n     * @param {?} eventName\n     * @return {?}\n     */\n\n\n    function isTriggerEventValid(eventName) {\n      return eventName == 'start' || eventName == 'done';\n    }\n    /**\n     * @param {?} element\n     * @param {?=} value\n     * @return {?}\n     */\n\n\n    function cloakElement(element, value) {\n      /** @type {?} */\n      var oldValue = element.style.display;\n      element.style.display = value != null ? value : 'none';\n      return oldValue;\n    }\n    /**\n     * @param {?} valuesMap\n     * @param {?} driver\n     * @param {?} elements\n     * @param {?} elementPropsMap\n     * @param {?} defaultStyle\n     * @return {?}\n     */\n\n\n    function cloakAndComputeStyles(valuesMap, driver, elements, elementPropsMap, defaultStyle) {\n      /** @type {?} */\n      var cloakVals = [];\n      elements.forEach(\n      /**\n      * @param {?} element\n      * @return {?}\n      */\n      function (element) {\n        return cloakVals.push(cloakElement(element));\n      });\n      /** @type {?} */\n\n      var failedElements = [];\n      elementPropsMap.forEach(\n      /**\n      * @param {?} props\n      * @param {?} element\n      * @return {?}\n      */\n      function (props, element) {\n        /** @type {?} */\n        var styles = {};\n        props.forEach(\n        /**\n        * @param {?} prop\n        * @return {?}\n        */\n        function (prop) {\n          /** @type {?} */\n          var value = styles[prop] = driver.computeStyle(element, prop, defaultStyle); // there is no easy way to detect this because a sub element could be removed\n          // by a parent animation element being detached.\n\n          if (!value || value.length == 0) {\n            element[REMOVAL_FLAG] = NULL_REMOVED_QUERIED_STATE;\n            failedElements.push(element);\n          }\n        });\n        valuesMap.set(element, styles);\n      }); // we use a index variable here since Set.forEach(a, i) does not return\n      // an index value for the closure (but instead just the value)\n\n      /** @type {?} */\n\n      var i = 0;\n      elements.forEach(\n      /**\n      * @param {?} element\n      * @return {?}\n      */\n      function (element) {\n        return cloakElement(element, cloakVals[i++]);\n      });\n      return failedElements;\n    }\n    /*\n    Since the Angular renderer code will return a collection of inserted\n    nodes in all areas of a DOM tree, it's up to this algorithm to figure\n    out which nodes are roots for each animation @trigger.\n    \n    By placing each inserted node into a Set and traversing upwards, it\n    is possible to find the @trigger elements and well any direct *star\n    insertion nodes, if a @trigger root is found then the enter element\n    is placed into the Map[@trigger] spot.\n     */\n\n    /**\n     * @param {?} roots\n     * @param {?} nodes\n     * @return {?}\n     */\n\n\n    function buildRootMap(roots, nodes) {\n      /** @type {?} */\n      var rootMap = new Map();\n      roots.forEach(\n      /**\n      * @param {?} root\n      * @return {?}\n      */\n      function (root) {\n        return rootMap.set(root, []);\n      });\n      if (nodes.length == 0) return rootMap;\n      /** @type {?} */\n\n      var NULL_NODE = 1;\n      /** @type {?} */\n\n      var nodeSet = new Set(nodes);\n      /** @type {?} */\n\n      var localRootMap = new Map();\n      /**\n       * @param {?} node\n       * @return {?}\n       */\n\n      function getRoot(node) {\n        if (!node) return NULL_NODE;\n        /** @type {?} */\n\n        var root = localRootMap.get(node);\n        if (root) return root;\n        /** @type {?} */\n\n        var parent = node.parentNode;\n\n        if (rootMap.has(parent)) {\n          // ngIf inside @trigger\n          root = parent;\n        } else if (nodeSet.has(parent)) {\n          // ngIf inside ngIf\n          root = NULL_NODE;\n        } else {\n          // recurse upwards\n          root = getRoot(parent);\n        }\n\n        localRootMap.set(node, root);\n        return root;\n      }\n\n      nodes.forEach(\n      /**\n      * @param {?} node\n      * @return {?}\n      */\n      function (node) {\n        /** @type {?} */\n        var root = getRoot(node);\n\n        if (root !== NULL_NODE) {\n          /** @type {?} */\n          rootMap.get(root).push(node);\n        }\n      });\n      return rootMap;\n    }\n    /** @type {?} */\n\n\n    var CLASSES_CACHE_KEY = '$$classes';\n    /**\n     * @param {?} element\n     * @param {?} className\n     * @return {?}\n     */\n\n    function containsClass(element, className) {\n      if (element.classList) {\n        return element.classList.contains(className);\n      } else {\n        /** @type {?} */\n        var classes = element[CLASSES_CACHE_KEY];\n        return classes && classes[className];\n      }\n    }\n    /**\n     * @param {?} element\n     * @param {?} className\n     * @return {?}\n     */\n\n\n    function addClass(element, className) {\n      if (element.classList) {\n        element.classList.add(className);\n      } else {\n        /** @type {?} */\n        var classes = element[CLASSES_CACHE_KEY];\n\n        if (!classes) {\n          classes = element[CLASSES_CACHE_KEY] = {};\n        }\n\n        classes[className] = true;\n      }\n    }\n    /**\n     * @param {?} element\n     * @param {?} className\n     * @return {?}\n     */\n\n\n    function removeClass(element, className) {\n      if (element.classList) {\n        element.classList.remove(className);\n      } else {\n        /** @type {?} */\n        var classes = element[CLASSES_CACHE_KEY];\n\n        if (classes) {\n          delete classes[className];\n        }\n      }\n    }\n    /**\n     * @param {?} engine\n     * @param {?} element\n     * @param {?} players\n     * @return {?}\n     */\n\n\n    function removeNodesAfterAnimationDone(engine, element, players) {\n      optimizeGroupPlayer(players).onDone(\n      /**\n      * @return {?}\n      */\n      function () {\n        return engine.processLeaveNode(element);\n      });\n    }\n    /**\n     * @param {?} players\n     * @return {?}\n     */\n\n\n    function flattenGroupPlayers(players) {\n      /** @type {?} */\n      var finalPlayers = [];\n\n      _flattenGroupPlayersRecur(players, finalPlayers);\n\n      return finalPlayers;\n    }\n    /**\n     * @param {?} players\n     * @param {?} finalPlayers\n     * @return {?}\n     */\n\n\n    function _flattenGroupPlayersRecur(players, finalPlayers) {\n      for (var i = 0; i < players.length; i++) {\n        /** @type {?} */\n        var player = players[i];\n\n        if (player instanceof _angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"ɵAnimationGroupPlayer\"]) {\n          _flattenGroupPlayersRecur(player.players, finalPlayers);\n        } else {\n          finalPlayers.push(\n          /** @type {?} */\n          player);\n        }\n      }\n    }\n    /**\n     * @param {?} a\n     * @param {?} b\n     * @return {?}\n     */\n\n\n    function objEquals(a, b) {\n      /** @type {?} */\n      var k1 = Object.keys(a);\n      /** @type {?} */\n\n      var k2 = Object.keys(b);\n      if (k1.length != k2.length) return false;\n\n      for (var i = 0; i < k1.length; i++) {\n        /** @type {?} */\n        var prop = k1[i];\n        if (!b.hasOwnProperty(prop) || a[prop] !== b[prop]) return false;\n      }\n\n      return true;\n    }\n    /**\n     * @param {?} element\n     * @param {?} allPreStyleElements\n     * @param {?} allPostStyleElements\n     * @return {?}\n     */\n\n\n    function replacePostStylesAsPre(element, allPreStyleElements, allPostStyleElements) {\n      /** @type {?} */\n      var postEntry = allPostStyleElements.get(element);\n      if (!postEntry) return false;\n      /** @type {?} */\n\n      var preEntry = allPreStyleElements.get(element);\n\n      if (preEntry) {\n        postEntry.forEach(\n        /**\n        * @param {?} data\n        * @return {?}\n        */\n        function (data) {\n          return (\n            /** @type {?} */\n            preEntry.add(data)\n          );\n        });\n      } else {\n        allPreStyleElements.set(element, postEntry);\n      }\n\n      allPostStyleElements.delete(element);\n      return true;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n\n    var AnimationEngine =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} bodyNode\n       * @param {?} _driver\n       * @param {?} normalizer\n       */\n      function AnimationEngine(bodyNode, _driver, normalizer) {\n        var _this39 = this;\n\n        _classCallCheck(this, AnimationEngine);\n\n        this.bodyNode = bodyNode;\n        this._driver = _driver;\n        this._triggerCache = {}; // this method is designed to be overridden by the code that uses this engine\n\n        this.onRemovalComplete =\n        /**\n        * @param {?} element\n        * @param {?} context\n        * @return {?}\n        */\n        function (element, context) {};\n\n        this._transitionEngine = new TransitionAnimationEngine(bodyNode, _driver, normalizer);\n        this._timelineEngine = new TimelineAnimationEngine(bodyNode, _driver, normalizer);\n\n        this._transitionEngine.onRemovalComplete =\n        /**\n        * @param {?} element\n        * @param {?} context\n        * @return {?}\n        */\n        function (element, context) {\n          return _this39.onRemovalComplete(element, context);\n        };\n      }\n      /**\n       * @param {?} componentId\n       * @param {?} namespaceId\n       * @param {?} hostElement\n       * @param {?} name\n       * @param {?} metadata\n       * @return {?}\n       */\n\n\n      _createClass2(AnimationEngine, [{\n        key: \"registerTrigger\",\n        value: function registerTrigger(componentId, namespaceId, hostElement, name, metadata) {\n          /** @type {?} */\n          var cacheKey = componentId + '-' + name;\n          /** @type {?} */\n\n          var trigger = this._triggerCache[cacheKey];\n\n          if (!trigger) {\n            /** @type {?} */\n            var errors = [];\n            /** @type {?} */\n\n            var ast =\n            /** @type {?} */\n            buildAnimationAst(this._driver,\n            /** @type {?} */\n            metadata, errors);\n\n            if (errors.length) {\n              throw new Error(\"The animation trigger \\\"\".concat(name, \"\\\" has failed to build due to the following errors:\\n - \").concat(errors.join(\"\\n - \")));\n            }\n\n            trigger = buildTrigger(name, ast);\n            this._triggerCache[cacheKey] = trigger;\n          }\n\n          this._transitionEngine.registerTrigger(namespaceId, name, trigger);\n        }\n        /**\n         * @param {?} namespaceId\n         * @param {?} hostElement\n         * @return {?}\n         */\n\n      }, {\n        key: \"register\",\n        value: function register(namespaceId, hostElement) {\n          this._transitionEngine.register(namespaceId, hostElement);\n        }\n        /**\n         * @param {?} namespaceId\n         * @param {?} context\n         * @return {?}\n         */\n\n      }, {\n        key: \"destroy\",\n        value: function destroy(namespaceId, context) {\n          this._transitionEngine.destroy(namespaceId, context);\n        }\n        /**\n         * @param {?} namespaceId\n         * @param {?} element\n         * @param {?} parent\n         * @param {?} insertBefore\n         * @return {?}\n         */\n\n      }, {\n        key: \"onInsert\",\n        value: function onInsert(namespaceId, element, parent, insertBefore) {\n          this._transitionEngine.insertNode(namespaceId, element, parent, insertBefore);\n        }\n        /**\n         * @param {?} namespaceId\n         * @param {?} element\n         * @param {?} context\n         * @param {?=} isHostElement\n         * @return {?}\n         */\n\n      }, {\n        key: \"onRemove\",\n        value: function onRemove(namespaceId, element, context, isHostElement) {\n          this._transitionEngine.removeNode(namespaceId, element, isHostElement || false, context);\n        }\n        /**\n         * @param {?} element\n         * @param {?} disable\n         * @return {?}\n         */\n\n      }, {\n        key: \"disableAnimations\",\n        value: function disableAnimations(element, disable) {\n          this._transitionEngine.markElementAsDisabled(element, disable);\n        }\n        /**\n         * @param {?} namespaceId\n         * @param {?} element\n         * @param {?} property\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"process\",\n        value: function process(namespaceId, element, property, value) {\n          if (property.charAt(0) == '@') {\n            var _parseTimelineCommand = parseTimelineCommand(property),\n                _parseTimelineCommand2 = _slicedToArray(_parseTimelineCommand, 2),\n                id = _parseTimelineCommand2[0],\n                action = _parseTimelineCommand2[1];\n            /** @type {?} */\n\n\n            var args =\n            /** @type {?} */\n            value;\n\n            this._timelineEngine.command(id, element, action, args);\n          } else {\n            this._transitionEngine.trigger(namespaceId, element, property, value);\n          }\n        }\n        /**\n         * @param {?} namespaceId\n         * @param {?} element\n         * @param {?} eventName\n         * @param {?} eventPhase\n         * @param {?} callback\n         * @return {?}\n         */\n\n      }, {\n        key: \"listen\",\n        value: function listen(namespaceId, element, eventName, eventPhase, callback) {\n          // @@listen\n          if (eventName.charAt(0) == '@') {\n            var _parseTimelineCommand3 = parseTimelineCommand(eventName),\n                _parseTimelineCommand4 = _slicedToArray(_parseTimelineCommand3, 2),\n                id = _parseTimelineCommand4[0],\n                action = _parseTimelineCommand4[1];\n\n            return this._timelineEngine.listen(id, element, action, callback);\n          }\n\n          return this._transitionEngine.listen(namespaceId, element, eventName, eventPhase, callback);\n        }\n        /**\n         * @param {?=} microtaskId\n         * @return {?}\n         */\n\n      }, {\n        key: \"flush\",\n        value: function flush() {\n          var microtaskId = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : -1;\n\n          this._transitionEngine.flush(microtaskId);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"whenRenderingDone\",\n\n        /**\n         * @return {?}\n         */\n        value: function whenRenderingDone() {\n          return this._transitionEngine.whenRenderingDone();\n        }\n      }, {\n        key: \"players\",\n        get: function get() {\n          return (\n            /** @type {?} */\n            this._transitionEngine.players.concat(\n            /** @type {?} */\n            this._timelineEngine.players)\n          );\n        }\n      }]);\n\n      return AnimationEngine;\n    }();\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Returns an instance of `SpecialCasedStyles` if and when any special (non animateable) styles are\n     * detected.\n     *\n     * In CSS there exist properties that cannot be animated within a keyframe animation\n     * (whether it be via CSS keyframes or web-animations) and the animation implementation\n     * will ignore them. This function is designed to detect those special cased styles and\n     * return a container that will be executed at the start and end of the animation.\n     *\n     * @param {?} element\n     * @param {?} styles\n     * @return {?} an instance of `SpecialCasedStyles` if any special styles are detected otherwise `null`\n     */\n\n\n    function packageNonAnimatableStyles(element, styles) {\n      /** @type {?} */\n      var startStyles = null;\n      /** @type {?} */\n\n      var endStyles = null;\n\n      if (Array.isArray(styles) && styles.length) {\n        startStyles = filterNonAnimatableStyles(styles[0]);\n\n        if (styles.length > 1) {\n          endStyles = filterNonAnimatableStyles(styles[styles.length - 1]);\n        }\n      } else if (styles) {\n        startStyles = filterNonAnimatableStyles(styles);\n      }\n\n      return startStyles || endStyles ? new SpecialCasedStyles(element, startStyles, endStyles) : null;\n    }\n    /**\n     * Designed to be executed during a keyframe-based animation to apply any special-cased styles.\n     *\n     * When started (when the `start()` method is run) then the provided `startStyles`\n     * will be applied. When finished (when the `finish()` method is called) the\n     * `endStyles` will be applied as well any any starting styles. Finally when\n     * `destroy()` is called then all styles will be removed.\n     */\n\n\n    var SpecialCasedStyles =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _element\n       * @param {?} _startStyles\n       * @param {?} _endStyles\n       */\n      function SpecialCasedStyles(_element, _startStyles, _endStyles) {\n        _classCallCheck(this, SpecialCasedStyles);\n\n        this._element = _element;\n        this._startStyles = _startStyles;\n        this._endStyles = _endStyles;\n        this._state = 0\n        /* Pending */\n        ;\n        /** @type {?} */\n\n        var initialStyles = SpecialCasedStyles.initialStylesByElement.get(_element);\n\n        if (!initialStyles) {\n          SpecialCasedStyles.initialStylesByElement.set(_element, initialStyles = {});\n        }\n\n        this._initialStyles = initialStyles;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(SpecialCasedStyles, [{\n        key: \"start\",\n        value: function start() {\n          if (this._state < 1\n          /* Started */\n          ) {\n              if (this._startStyles) {\n                setStyles(this._element, this._startStyles, this._initialStyles);\n              }\n\n              this._state = 1\n              /* Started */\n              ;\n            }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"finish\",\n        value: function finish() {\n          this.start();\n\n          if (this._state < 2\n          /* Finished */\n          ) {\n              setStyles(this._element, this._initialStyles);\n\n              if (this._endStyles) {\n                setStyles(this._element, this._endStyles);\n                this._endStyles = null;\n              }\n\n              this._state = 1\n              /* Started */\n              ;\n            }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"destroy\",\n        value: function destroy() {\n          this.finish();\n\n          if (this._state < 3\n          /* Destroyed */\n          ) {\n              SpecialCasedStyles.initialStylesByElement.delete(this._element);\n\n              if (this._startStyles) {\n                eraseStyles(this._element, this._startStyles);\n                this._endStyles = null;\n              }\n\n              if (this._endStyles) {\n                eraseStyles(this._element, this._endStyles);\n                this._endStyles = null;\n              }\n\n              setStyles(this._element, this._initialStyles);\n              this._state = 3\n              /* Destroyed */\n              ;\n            }\n        }\n      }]);\n\n      return SpecialCasedStyles;\n    }();\n\n    SpecialCasedStyles.initialStylesByElement = new WeakMap();\n\n    if (false) {}\n    /** @enum {number} */\n\n\n    var SpecialCasedStylesState = {\n      Pending: 0,\n      Started: 1,\n      Finished: 2,\n      Destroyed: 3\n    };\n    /**\n     * @param {?} styles\n     * @return {?}\n     */\n\n    function filterNonAnimatableStyles(styles) {\n      /** @type {?} */\n      var result = null;\n      /** @type {?} */\n\n      var props = Object.keys(styles);\n\n      for (var i = 0; i < props.length; i++) {\n        /** @type {?} */\n        var prop = props[i];\n\n        if (isNonAnimatableStyle(prop)) {\n          result = result || {};\n          result[prop] = styles[prop];\n        }\n      }\n\n      return result;\n    }\n    /**\n     * @param {?} prop\n     * @return {?}\n     */\n\n\n    function isNonAnimatableStyle(prop) {\n      return prop === 'display' || prop === 'position';\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     * @type {?}\n     */\n\n\n    var ELAPSED_TIME_MAX_DECIMAL_PLACES = 3;\n    /** @type {?} */\n\n    var ANIMATION_PROP = 'animation';\n    /** @type {?} */\n\n    var ANIMATIONEND_EVENT = 'animationend';\n    /** @type {?} */\n\n    var ONE_SECOND$1 = 1000;\n\n    var ElementAnimationStyleHandler =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _element\n       * @param {?} _name\n       * @param {?} _duration\n       * @param {?} _delay\n       * @param {?} _easing\n       * @param {?} _fillMode\n       * @param {?} _onDoneFn\n       */\n      function ElementAnimationStyleHandler(_element, _name, _duration, _delay, _easing, _fillMode, _onDoneFn) {\n        var _this40 = this;\n\n        _classCallCheck(this, ElementAnimationStyleHandler);\n\n        this._element = _element;\n        this._name = _name;\n        this._duration = _duration;\n        this._delay = _delay;\n        this._easing = _easing;\n        this._fillMode = _fillMode;\n        this._onDoneFn = _onDoneFn;\n        this._finished = false;\n        this._destroyed = false;\n        this._startTime = 0;\n        this._position = 0;\n\n        this._eventFn =\n        /**\n        * @param {?} e\n        * @return {?}\n        */\n        function (e) {\n          return _this40._handleCallback(e);\n        };\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(ElementAnimationStyleHandler, [{\n        key: \"apply\",\n        value: function apply() {\n          applyKeyframeAnimation(this._element, \"\".concat(this._duration, \"ms \").concat(this._easing, \" \").concat(this._delay, \"ms 1 normal \").concat(this._fillMode, \" \").concat(this._name));\n          addRemoveAnimationEvent(this._element, this._eventFn, false);\n          this._startTime = Date.now();\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"pause\",\n        value: function pause() {\n          playPauseAnimation(this._element, this._name, 'paused');\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"resume\",\n        value: function resume() {\n          playPauseAnimation(this._element, this._name, 'running');\n        }\n        /**\n         * @param {?} position\n         * @return {?}\n         */\n\n      }, {\n        key: \"setPosition\",\n        value: function setPosition(position) {\n          /** @type {?} */\n          var index = findIndexForAnimation(this._element, this._name);\n          this._position = position * this._duration;\n          setAnimationStyle(this._element, 'Delay', \"-\".concat(this._position, \"ms\"), index);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"getPosition\",\n        value: function getPosition() {\n          return this._position;\n        }\n        /**\n         * @private\n         * @param {?} event\n         * @return {?}\n         */\n\n      }, {\n        key: \"_handleCallback\",\n        value: function _handleCallback(event) {\n          /** @type {?} */\n          var timestamp = event._ngTestManualTimestamp || Date.now();\n          /** @type {?} */\n\n          var elapsedTime = parseFloat(event.elapsedTime.toFixed(ELAPSED_TIME_MAX_DECIMAL_PLACES)) * ONE_SECOND$1;\n\n          if (event.animationName == this._name && Math.max(timestamp - this._startTime, 0) >= this._delay && elapsedTime >= this._duration) {\n            this.finish();\n          }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"finish\",\n        value: function finish() {\n          if (this._finished) return;\n          this._finished = true;\n\n          this._onDoneFn();\n\n          addRemoveAnimationEvent(this._element, this._eventFn, true);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"destroy\",\n        value: function destroy() {\n          if (this._destroyed) return;\n          this._destroyed = true;\n          this.finish();\n          removeKeyframeAnimation(this._element, this._name);\n        }\n      }]);\n\n      return ElementAnimationStyleHandler;\n    }();\n\n    if (false) {}\n    /**\n     * @param {?} element\n     * @param {?} name\n     * @param {?} status\n     * @return {?}\n     */\n\n\n    function playPauseAnimation(element, name, status) {\n      /** @type {?} */\n      var index = findIndexForAnimation(element, name);\n      setAnimationStyle(element, 'PlayState', status, index);\n    }\n    /**\n     * @param {?} element\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function applyKeyframeAnimation(element, value) {\n      /** @type {?} */\n      var anim = getAnimationStyle(element, '').trim();\n      /** @type {?} */\n\n      var index = 0;\n\n      if (anim.length) {\n        index = countChars(anim, ',') + 1;\n        value = \"\".concat(anim, \", \").concat(value);\n      }\n\n      setAnimationStyle(element, '', value);\n      return index;\n    }\n    /**\n     * @param {?} element\n     * @param {?} name\n     * @return {?}\n     */\n\n\n    function removeKeyframeAnimation(element, name) {\n      /** @type {?} */\n      var anim = getAnimationStyle(element, '');\n      /** @type {?} */\n\n      var tokens = anim.split(',');\n      /** @type {?} */\n\n      var index = findMatchingTokenIndex(tokens, name);\n\n      if (index >= 0) {\n        tokens.splice(index, 1);\n        /** @type {?} */\n\n        var newValue = tokens.join(',');\n        setAnimationStyle(element, '', newValue);\n      }\n    }\n    /**\n     * @param {?} element\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function findIndexForAnimation(element, value) {\n      /** @type {?} */\n      var anim = getAnimationStyle(element, '');\n\n      if (anim.indexOf(',') > 0) {\n        /** @type {?} */\n        var tokens = anim.split(',');\n        return findMatchingTokenIndex(tokens, value);\n      }\n\n      return findMatchingTokenIndex([anim], value);\n    }\n    /**\n     * @param {?} tokens\n     * @param {?} searchToken\n     * @return {?}\n     */\n\n\n    function findMatchingTokenIndex(tokens, searchToken) {\n      for (var i = 0; i < tokens.length; i++) {\n        if (tokens[i].indexOf(searchToken) >= 0) {\n          return i;\n        }\n      }\n\n      return -1;\n    }\n    /**\n     * @param {?} element\n     * @param {?} fn\n     * @param {?} doRemove\n     * @return {?}\n     */\n\n\n    function addRemoveAnimationEvent(element, fn, doRemove) {\n      doRemove ? element.removeEventListener(ANIMATIONEND_EVENT, fn) : element.addEventListener(ANIMATIONEND_EVENT, fn);\n    }\n    /**\n     * @param {?} element\n     * @param {?} name\n     * @param {?} value\n     * @param {?=} index\n     * @return {?}\n     */\n\n\n    function setAnimationStyle(element, name, value, index) {\n      /** @type {?} */\n      var prop = ANIMATION_PROP + name;\n\n      if (index != null) {\n        /** @type {?} */\n        var oldValue = element.style[prop];\n\n        if (oldValue.length) {\n          /** @type {?} */\n          var tokens = oldValue.split(',');\n          tokens[index] = value;\n          value = tokens.join(',');\n        }\n      }\n\n      element.style[prop] = value;\n    }\n    /**\n     * @param {?} element\n     * @param {?} name\n     * @return {?}\n     */\n\n\n    function getAnimationStyle(element, name) {\n      return element.style[ANIMATION_PROP + name];\n    }\n    /**\n     * @param {?} value\n     * @param {?} char\n     * @return {?}\n     */\n\n\n    function countChars(value, char) {\n      /** @type {?} */\n      var count = 0;\n\n      for (var i = 0; i < value.length; i++) {\n        /** @type {?} */\n        var c = value.charAt(i);\n        if (c === char) count++;\n      }\n\n      return count;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var DEFAULT_FILL_MODE = 'forwards';\n    /** @type {?} */\n\n    var DEFAULT_EASING = 'linear';\n    /** @enum {number} */\n\n    var AnimatorControlState = {\n      INITIALIZED: 1,\n      STARTED: 2,\n      FINISHED: 3,\n      DESTROYED: 4\n    };\n\n    var CssKeyframesPlayer =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} element\n       * @param {?} keyframes\n       * @param {?} animationName\n       * @param {?} _duration\n       * @param {?} _delay\n       * @param {?} easing\n       * @param {?} _finalStyles\n       * @param {?=} _specialStyles\n       */\n      function CssKeyframesPlayer(element, keyframes, animationName, _duration, _delay, easing, _finalStyles, _specialStyles) {\n        _classCallCheck(this, CssKeyframesPlayer);\n\n        this.element = element;\n        this.keyframes = keyframes;\n        this.animationName = animationName;\n        this._duration = _duration;\n        this._delay = _delay;\n        this._finalStyles = _finalStyles;\n        this._specialStyles = _specialStyles;\n        this._onDoneFns = [];\n        this._onStartFns = [];\n        this._onDestroyFns = [];\n        this._started = false;\n        this.currentSnapshot = {};\n        this._state = 0;\n        this.easing = easing || DEFAULT_EASING;\n        this.totalTime = _duration + _delay;\n\n        this._buildStyler();\n      }\n      /**\n       * @param {?} fn\n       * @return {?}\n       */\n\n\n      _createClass2(CssKeyframesPlayer, [{\n        key: \"onStart\",\n        value: function onStart(fn) {\n          this._onStartFns.push(fn);\n        }\n        /**\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"onDone\",\n        value: function onDone(fn) {\n          this._onDoneFns.push(fn);\n        }\n        /**\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"onDestroy\",\n        value: function onDestroy(fn) {\n          this._onDestroyFns.push(fn);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"destroy\",\n        value: function destroy() {\n          this.init();\n          if (this._state >= 4\n          /* DESTROYED */\n          ) return;\n          this._state = 4\n          /* DESTROYED */\n          ;\n\n          this._styler.destroy();\n\n          this._flushStartFns();\n\n          this._flushDoneFns();\n\n          if (this._specialStyles) {\n            this._specialStyles.destroy();\n          }\n\n          this._onDestroyFns.forEach(\n          /**\n          * @param {?} fn\n          * @return {?}\n          */\n          function (fn) {\n            return fn();\n          });\n\n          this._onDestroyFns = [];\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_flushDoneFns\",\n        value: function _flushDoneFns() {\n          this._onDoneFns.forEach(\n          /**\n          * @param {?} fn\n          * @return {?}\n          */\n          function (fn) {\n            return fn();\n          });\n\n          this._onDoneFns = [];\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_flushStartFns\",\n        value: function _flushStartFns() {\n          this._onStartFns.forEach(\n          /**\n          * @param {?} fn\n          * @return {?}\n          */\n          function (fn) {\n            return fn();\n          });\n\n          this._onStartFns = [];\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"finish\",\n        value: function finish() {\n          this.init();\n          if (this._state >= 3\n          /* FINISHED */\n          ) return;\n          this._state = 3\n          /* FINISHED */\n          ;\n\n          this._styler.finish();\n\n          this._flushStartFns();\n\n          if (this._specialStyles) {\n            this._specialStyles.finish();\n          }\n\n          this._flushDoneFns();\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"setPosition\",\n        value: function setPosition(value) {\n          this._styler.setPosition(value);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"getPosition\",\n        value: function getPosition() {\n          return this._styler.getPosition();\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"hasStarted\",\n        value: function hasStarted() {\n          return this._state >= 2\n          /* STARTED */\n          ;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"init\",\n        value: function init() {\n          if (this._state >= 1\n          /* INITIALIZED */\n          ) return;\n          this._state = 1\n          /* INITIALIZED */\n          ;\n          /** @type {?} */\n\n          var elm = this.element;\n\n          this._styler.apply();\n\n          if (this._delay) {\n            this._styler.pause();\n          }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"play\",\n        value: function play() {\n          this.init();\n\n          if (!this.hasStarted()) {\n            this._flushStartFns();\n\n            this._state = 2\n            /* STARTED */\n            ;\n\n            if (this._specialStyles) {\n              this._specialStyles.start();\n            }\n          }\n\n          this._styler.resume();\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"pause\",\n        value: function pause() {\n          this.init();\n\n          this._styler.pause();\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"restart\",\n        value: function restart() {\n          this.reset();\n          this.play();\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"reset\",\n        value: function reset() {\n          this._styler.destroy();\n\n          this._buildStyler();\n\n          this._styler.apply();\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_buildStyler\",\n        value: function _buildStyler() {\n          var _this41 = this;\n\n          this._styler = new ElementAnimationStyleHandler(this.element, this.animationName, this._duration, this._delay, this.easing, DEFAULT_FILL_MODE,\n          /**\n          * @return {?}\n          */\n          function () {\n            return _this41.finish();\n          });\n        }\n        /**\n         * \\@internal\n         * @param {?} phaseName\n         * @return {?}\n         */\n\n      }, {\n        key: \"triggerCallback\",\n        value: function triggerCallback(phaseName) {\n          /** @type {?} */\n          var methods = phaseName == 'start' ? this._onStartFns : this._onDoneFns;\n          methods.forEach(\n          /**\n          * @param {?} fn\n          * @return {?}\n          */\n          function (fn) {\n            return fn();\n          });\n          methods.length = 0;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"beforeDestroy\",\n        value: function beforeDestroy() {\n          var _this42 = this;\n\n          this.init();\n          /** @type {?} */\n\n          var styles = {};\n\n          if (this.hasStarted()) {\n            /** @type {?} */\n            var finished = this._state >= 3\n            /* FINISHED */\n            ;\n            Object.keys(this._finalStyles).forEach(\n            /**\n            * @param {?} prop\n            * @return {?}\n            */\n            function (prop) {\n              if (prop != 'offset') {\n                styles[prop] = finished ? _this42._finalStyles[prop] : computeStyle(_this42.element, prop);\n              }\n            });\n          }\n\n          this.currentSnapshot = styles;\n        }\n      }]);\n\n      return CssKeyframesPlayer;\n    }();\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n\n    var DirectStylePlayer =\n    /*#__PURE__*/\n    function (_angular_animations__) {\n      _inherits(DirectStylePlayer, _angular_animations__);\n\n      /**\n       * @param {?} element\n       * @param {?} styles\n       */\n      function DirectStylePlayer(element, styles) {\n        var _this43;\n\n        _classCallCheck(this, DirectStylePlayer);\n\n        _this43 = _possibleConstructorReturn(this, _getPrototypeOf(DirectStylePlayer).call(this));\n        _this43.element = element;\n        _this43._startingStyles = {};\n        _this43.__initialized = false;\n        _this43._styles = hypenatePropsObject(styles);\n        return _this43;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(DirectStylePlayer, [{\n        key: \"init\",\n        value: function init() {\n          var _this44 = this;\n\n          if (this.__initialized || !this._startingStyles) return;\n          this.__initialized = true;\n          Object.keys(this._styles).forEach(\n          /**\n          * @param {?} prop\n          * @return {?}\n          */\n          function (prop) {\n            /** @type {?} */\n            _this44._startingStyles[prop] = _this44.element.style[prop];\n          });\n\n          _get(_getPrototypeOf(DirectStylePlayer.prototype), \"init\", this).call(this);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"play\",\n        value: function play() {\n          var _this45 = this;\n\n          if (!this._startingStyles) return;\n          this.init();\n          Object.keys(this._styles).forEach(\n          /**\n          * @param {?} prop\n          * @return {?}\n          */\n          function (prop) {\n            return _this45.element.style.setProperty(prop, _this45._styles[prop]);\n          });\n\n          _get(_getPrototypeOf(DirectStylePlayer.prototype), \"play\", this).call(this);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"destroy\",\n        value: function destroy() {\n          var _this46 = this;\n\n          if (!this._startingStyles) return;\n          Object.keys(this._startingStyles).forEach(\n          /**\n          * @param {?} prop\n          * @return {?}\n          */\n          function (prop) {\n            /** @type {?} */\n            var value =\n            /** @type {?} */\n            _this46._startingStyles[prop];\n\n            if (value) {\n              _this46.element.style.setProperty(prop, value);\n            } else {\n              _this46.element.style.removeProperty(prop);\n            }\n          });\n          this._startingStyles = null;\n\n          _get(_getPrototypeOf(DirectStylePlayer.prototype), \"destroy\", this).call(this);\n        }\n      }]);\n\n      return DirectStylePlayer;\n    }(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"NoopAnimationPlayer\"]);\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var KEYFRAMES_NAME_PREFIX = 'gen_css_kf_';\n    /** @type {?} */\n\n    var TAB_SPACE = ' ';\n\n    var CssKeyframesDriver =\n    /*#__PURE__*/\n    function () {\n      function CssKeyframesDriver() {\n        _classCallCheck(this, CssKeyframesDriver);\n\n        this._count = 0;\n        this._head = document.querySelector('head');\n        this._warningIssued = false;\n      }\n      /**\n       * @param {?} prop\n       * @return {?}\n       */\n\n\n      _createClass2(CssKeyframesDriver, [{\n        key: \"validateStyleProperty\",\n        value: function validateStyleProperty(prop) {\n          return _validateStyleProperty(prop);\n        }\n        /**\n         * @param {?} element\n         * @param {?} selector\n         * @return {?}\n         */\n\n      }, {\n        key: \"matchesElement\",\n        value: function matchesElement(element, selector) {\n          return _matchesElement(element, selector);\n        }\n        /**\n         * @param {?} elm1\n         * @param {?} elm2\n         * @return {?}\n         */\n\n      }, {\n        key: \"containsElement\",\n        value: function containsElement(elm1, elm2) {\n          return _containsElement(elm1, elm2);\n        }\n        /**\n         * @param {?} element\n         * @param {?} selector\n         * @param {?} multi\n         * @return {?}\n         */\n\n      }, {\n        key: \"query\",\n        value: function query(element, selector, multi) {\n          return invokeQuery(element, selector, multi);\n        }\n        /**\n         * @param {?} element\n         * @param {?} prop\n         * @param {?=} defaultValue\n         * @return {?}\n         */\n\n      }, {\n        key: \"computeStyle\",\n        value: function computeStyle(element, prop, defaultValue) {\n          return (\n            /** @type {?} */\n\n            /** @type {?} */\n            window.getComputedStyle(element)[prop]\n          );\n        }\n        /**\n         * @param {?} element\n         * @param {?} name\n         * @param {?} keyframes\n         * @return {?}\n         */\n\n      }, {\n        key: \"buildKeyframeElement\",\n        value: function buildKeyframeElement(element, name, keyframes) {\n          keyframes = keyframes.map(\n          /**\n          * @param {?} kf\n          * @return {?}\n          */\n          function (kf) {\n            return hypenatePropsObject(kf);\n          });\n          /** @type {?} */\n\n          var keyframeStr = \"@keyframes \".concat(name, \" {\\n\");\n          /** @type {?} */\n\n          var tab = '';\n          keyframes.forEach(\n          /**\n          * @param {?} kf\n          * @return {?}\n          */\n          function (kf) {\n            tab = TAB_SPACE;\n            /** @type {?} */\n\n            var offset = parseFloat(kf['offset']);\n            keyframeStr += \"\".concat(tab).concat(offset * 100, \"% {\\n\");\n            tab += TAB_SPACE;\n            Object.keys(kf).forEach(\n            /**\n            * @param {?} prop\n            * @return {?}\n            */\n            function (prop) {\n              /** @type {?} */\n              var value = kf[prop];\n\n              switch (prop) {\n                case 'offset':\n                  return;\n\n                case 'easing':\n                  if (value) {\n                    keyframeStr += \"\".concat(tab, \"animation-timing-function: \").concat(value, \";\\n\");\n                  }\n\n                  return;\n\n                default:\n                  keyframeStr += \"\".concat(tab).concat(prop, \": \").concat(value, \";\\n\");\n                  return;\n              }\n            });\n            keyframeStr += \"\".concat(tab, \"}\\n\");\n          });\n          keyframeStr += \"}\\n\";\n          /** @type {?} */\n\n          var kfElm = document.createElement('style');\n          kfElm.innerHTML = keyframeStr;\n          return kfElm;\n        }\n        /**\n         * @param {?} element\n         * @param {?} keyframes\n         * @param {?} duration\n         * @param {?} delay\n         * @param {?} easing\n         * @param {?=} previousPlayers\n         * @param {?=} scrubberAccessRequested\n         * @return {?}\n         */\n\n      }, {\n        key: \"animate\",\n        value: function animate(element, keyframes, duration, delay, easing) {\n          var previousPlayers = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : [];\n          var scrubberAccessRequested = arguments.length > 6 ? arguments[6] : undefined;\n\n          if (scrubberAccessRequested) {\n            this._notifyFaultyScrubber();\n          }\n          /** @type {?} */\n\n\n          var previousCssKeyframePlayers =\n          /** @type {?} */\n          previousPlayers.filter(\n          /**\n          * @param {?} player\n          * @return {?}\n          */\n          function (player) {\n            return player instanceof CssKeyframesPlayer;\n          });\n          /** @type {?} */\n\n          var previousStyles = {};\n\n          if (allowPreviousPlayerStylesMerge(duration, delay)) {\n            previousCssKeyframePlayers.forEach(\n            /**\n            * @param {?} player\n            * @return {?}\n            */\n            function (player) {\n              /** @type {?} */\n              var styles = player.currentSnapshot;\n              Object.keys(styles).forEach(\n              /**\n              * @param {?} prop\n              * @return {?}\n              */\n              function (prop) {\n                return previousStyles[prop] = styles[prop];\n              });\n            });\n          }\n\n          keyframes = balancePreviousStylesIntoKeyframes(element, keyframes, previousStyles);\n          /** @type {?} */\n\n          var finalStyles = flattenKeyframesIntoStyles(keyframes); // if there is no animation then there is no point in applying\n          // styles and waiting for an event to get fired. This causes lag.\n          // It's better to just directly apply the styles to the element\n          // via the direct styling animation player.\n\n          if (duration == 0) {\n            return new DirectStylePlayer(element, finalStyles);\n          }\n          /** @type {?} */\n\n\n          var animationName = \"\".concat(KEYFRAMES_NAME_PREFIX).concat(this._count++);\n          /** @type {?} */\n\n          var kfElm = this.buildKeyframeElement(element, animationName, keyframes);\n\n          /** @type {?} */\n          document.querySelector('head').appendChild(kfElm);\n          /** @type {?} */\n\n          var specialStyles = packageNonAnimatableStyles(element, keyframes);\n          /** @type {?} */\n\n          var player = new CssKeyframesPlayer(element, keyframes, animationName, duration, delay, easing, finalStyles, specialStyles);\n          player.onDestroy(\n          /**\n          * @return {?}\n          */\n          function () {\n            return removeElement(kfElm);\n          });\n          return player;\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_notifyFaultyScrubber\",\n        value: function _notifyFaultyScrubber() {\n          if (!this._warningIssued) {\n            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.');\n            this._warningIssued = true;\n          }\n        }\n      }]);\n\n      return CssKeyframesDriver;\n    }();\n\n    if (false) {}\n    /**\n     * @param {?} keyframes\n     * @return {?}\n     */\n\n\n    function flattenKeyframesIntoStyles(keyframes) {\n      /** @type {?} */\n      var flatKeyframes = {};\n\n      if (keyframes) {\n        /** @type {?} */\n        var kfs = Array.isArray(keyframes) ? keyframes : [keyframes];\n        kfs.forEach(\n        /**\n        * @param {?} kf\n        * @return {?}\n        */\n        function (kf) {\n          Object.keys(kf).forEach(\n          /**\n          * @param {?} prop\n          * @return {?}\n          */\n          function (prop) {\n            if (prop == 'offset' || prop == 'easing') return;\n            flatKeyframes[prop] = kf[prop];\n          });\n        });\n      }\n\n      return flatKeyframes;\n    }\n    /**\n     * @param {?} node\n     * @return {?}\n     */\n\n\n    function removeElement(node) {\n      node.parentNode.removeChild(node);\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n\n    var WebAnimationsPlayer =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} element\n       * @param {?} keyframes\n       * @param {?} options\n       * @param {?=} _specialStyles\n       */\n      function WebAnimationsPlayer(element, keyframes, options, _specialStyles) {\n        _classCallCheck(this, WebAnimationsPlayer);\n\n        this.element = element;\n        this.keyframes = keyframes;\n        this.options = options;\n        this._specialStyles = _specialStyles;\n        this._onDoneFns = [];\n        this._onStartFns = [];\n        this._onDestroyFns = [];\n        this._initialized = false;\n        this._finished = false;\n        this._started = false;\n        this._destroyed = false;\n        this.time = 0;\n        this.parentPlayer = null;\n        this.currentSnapshot = {};\n        this._duration =\n        /** @type {?} */\n        options['duration'];\n        this._delay =\n        /** @type {?} */\n        options['delay'] || 0;\n        this.time = this._duration + this._delay;\n      }\n      /**\n       * @private\n       * @return {?}\n       */\n\n\n      _createClass2(WebAnimationsPlayer, [{\n        key: \"_onFinish\",\n        value: function _onFinish() {\n          if (!this._finished) {\n            this._finished = true;\n\n            this._onDoneFns.forEach(\n            /**\n            * @param {?} fn\n            * @return {?}\n            */\n            function (fn) {\n              return fn();\n            });\n\n            this._onDoneFns = [];\n          }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"init\",\n        value: function init() {\n          this._buildPlayer();\n\n          this._preparePlayerBeforeStart();\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_buildPlayer\",\n        value: function _buildPlayer() {\n          var _this47 = this;\n\n          if (this._initialized) return;\n          this._initialized = true;\n          /** @type {?} */\n\n          var keyframes = this.keyframes;\n\n          /** @type {?} */\n          this.domPlayer = this._triggerWebAnimation(this.element, keyframes, this.options);\n          this._finalKeyframe = keyframes.length ? keyframes[keyframes.length - 1] : {};\n          this.domPlayer.addEventListener('finish',\n          /**\n          * @return {?}\n          */\n          function () {\n            return _this47._onFinish();\n          });\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_preparePlayerBeforeStart\",\n        value: function _preparePlayerBeforeStart() {\n          // this is required so that the player doesn't start to animate right away\n          if (this._delay) {\n            this._resetDomPlayerState();\n          } else {\n            this.domPlayer.pause();\n          }\n        }\n        /**\n         * \\@internal\n         * @param {?} element\n         * @param {?} keyframes\n         * @param {?} options\n         * @return {?}\n         */\n\n      }, {\n        key: \"_triggerWebAnimation\",\n        value: function _triggerWebAnimation(element, keyframes, options) {\n          // jscompiler doesn't seem to know animate is a native property because it's not fully\n          // supported yet across common browsers (we polyfill it for Edge/Safari) [CL #143630929]\n          return (\n            /** @type {?} */\n            element['animate'](keyframes, options)\n          );\n        }\n        /**\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"onStart\",\n        value: function onStart(fn) {\n          this._onStartFns.push(fn);\n        }\n        /**\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"onDone\",\n        value: function onDone(fn) {\n          this._onDoneFns.push(fn);\n        }\n        /**\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"onDestroy\",\n        value: function onDestroy(fn) {\n          this._onDestroyFns.push(fn);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"play\",\n        value: function play() {\n          this._buildPlayer();\n\n          if (!this.hasStarted()) {\n            this._onStartFns.forEach(\n            /**\n            * @param {?} fn\n            * @return {?}\n            */\n            function (fn) {\n              return fn();\n            });\n\n            this._onStartFns = [];\n            this._started = true;\n\n            if (this._specialStyles) {\n              this._specialStyles.start();\n            }\n          }\n\n          this.domPlayer.play();\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"pause\",\n        value: function pause() {\n          this.init();\n          this.domPlayer.pause();\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"finish\",\n        value: function finish() {\n          this.init();\n\n          if (this._specialStyles) {\n            this._specialStyles.finish();\n          }\n\n          this._onFinish();\n\n          this.domPlayer.finish();\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"reset\",\n        value: function reset() {\n          this._resetDomPlayerState();\n\n          this._destroyed = false;\n          this._finished = false;\n          this._started = false;\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_resetDomPlayerState\",\n        value: function _resetDomPlayerState() {\n          if (this.domPlayer) {\n            this.domPlayer.cancel();\n          }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"restart\",\n        value: function restart() {\n          this.reset();\n          this.play();\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"hasStarted\",\n        value: function hasStarted() {\n          return this._started;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"destroy\",\n        value: function destroy() {\n          if (!this._destroyed) {\n            this._destroyed = true;\n\n            this._resetDomPlayerState();\n\n            this._onFinish();\n\n            if (this._specialStyles) {\n              this._specialStyles.destroy();\n            }\n\n            this._onDestroyFns.forEach(\n            /**\n            * @param {?} fn\n            * @return {?}\n            */\n            function (fn) {\n              return fn();\n            });\n\n            this._onDestroyFns = [];\n          }\n        }\n        /**\n         * @param {?} p\n         * @return {?}\n         */\n\n      }, {\n        key: \"setPosition\",\n        value: function setPosition(p) {\n          this.domPlayer.currentTime = p * this.time;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"getPosition\",\n        value: function getPosition() {\n          return this.domPlayer.currentTime / this.time;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"beforeDestroy\",\n\n        /**\n         * @return {?}\n         */\n        value: function beforeDestroy() {\n          var _this48 = this;\n\n          /** @type {?} */\n          var styles = {};\n\n          if (this.hasStarted()) {\n            Object.keys(this._finalKeyframe).forEach(\n            /**\n            * @param {?} prop\n            * @return {?}\n            */\n            function (prop) {\n              if (prop != 'offset') {\n                styles[prop] = _this48._finished ? _this48._finalKeyframe[prop] : computeStyle(_this48.element, prop);\n              }\n            });\n          }\n\n          this.currentSnapshot = styles;\n        }\n        /**\n         * \\@internal\n         * @param {?} phaseName\n         * @return {?}\n         */\n\n      }, {\n        key: \"triggerCallback\",\n        value: function triggerCallback(phaseName) {\n          /** @type {?} */\n          var methods = phaseName == 'start' ? this._onStartFns : this._onDoneFns;\n          methods.forEach(\n          /**\n          * @param {?} fn\n          * @return {?}\n          */\n          function (fn) {\n            return fn();\n          });\n          methods.length = 0;\n        }\n      }, {\n        key: \"totalTime\",\n        get: function get() {\n          return this._delay + this._duration;\n        }\n      }]);\n\n      return WebAnimationsPlayer;\n    }();\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n\n    var WebAnimationsDriver =\n    /*#__PURE__*/\n    function () {\n      function WebAnimationsDriver() {\n        _classCallCheck(this, WebAnimationsDriver);\n\n        this._isNativeImpl = /\\{\\s*\\[native\\s+code\\]\\s*\\}/.test(getElementAnimateFn().toString());\n        this._cssKeyframesDriver = new CssKeyframesDriver();\n      }\n      /**\n       * @param {?} prop\n       * @return {?}\n       */\n\n\n      _createClass2(WebAnimationsDriver, [{\n        key: \"validateStyleProperty\",\n        value: function validateStyleProperty(prop) {\n          return _validateStyleProperty(prop);\n        }\n        /**\n         * @param {?} element\n         * @param {?} selector\n         * @return {?}\n         */\n\n      }, {\n        key: \"matchesElement\",\n        value: function matchesElement(element, selector) {\n          return _matchesElement(element, selector);\n        }\n        /**\n         * @param {?} elm1\n         * @param {?} elm2\n         * @return {?}\n         */\n\n      }, {\n        key: \"containsElement\",\n        value: function containsElement(elm1, elm2) {\n          return _containsElement(elm1, elm2);\n        }\n        /**\n         * @param {?} element\n         * @param {?} selector\n         * @param {?} multi\n         * @return {?}\n         */\n\n      }, {\n        key: \"query\",\n        value: function query(element, selector, multi) {\n          return invokeQuery(element, selector, multi);\n        }\n        /**\n         * @param {?} element\n         * @param {?} prop\n         * @param {?=} defaultValue\n         * @return {?}\n         */\n\n      }, {\n        key: \"computeStyle\",\n        value: function computeStyle(element, prop, defaultValue) {\n          return (\n            /** @type {?} */\n\n            /** @type {?} */\n            window.getComputedStyle(element)[prop]\n          );\n        }\n        /**\n         * @param {?} supported\n         * @return {?}\n         */\n\n      }, {\n        key: \"overrideWebAnimationsSupport\",\n        value: function overrideWebAnimationsSupport(supported) {\n          this._isNativeImpl = supported;\n        }\n        /**\n         * @param {?} element\n         * @param {?} keyframes\n         * @param {?} duration\n         * @param {?} delay\n         * @param {?} easing\n         * @param {?=} previousPlayers\n         * @param {?=} scrubberAccessRequested\n         * @return {?}\n         */\n\n      }, {\n        key: \"animate\",\n        value: function animate(element, keyframes, duration, delay, easing) {\n          var previousPlayers = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : [];\n          var scrubberAccessRequested = arguments.length > 6 ? arguments[6] : undefined;\n\n          /** @type {?} */\n          var useKeyframes = !scrubberAccessRequested && !this._isNativeImpl;\n\n          if (useKeyframes) {\n            return this._cssKeyframesDriver.animate(element, keyframes, duration, delay, easing, previousPlayers);\n          }\n          /** @type {?} */\n\n\n          var fill = delay == 0 ? 'both' : 'forwards';\n          /** @type {?} */\n\n          var playerOptions = {\n            duration: duration,\n            delay: delay,\n            fill: fill\n          }; // we check for this to avoid having a null|undefined value be present\n          // for the easing (which results in an error for certain browsers #9752)\n\n          if (easing) {\n            playerOptions['easing'] = easing;\n          }\n          /** @type {?} */\n\n\n          var previousStyles = {};\n          /** @type {?} */\n\n          var previousWebAnimationPlayers =\n          /** @type {?} */\n          previousPlayers.filter(\n          /**\n          * @param {?} player\n          * @return {?}\n          */\n          function (player) {\n            return player instanceof WebAnimationsPlayer;\n          });\n\n          if (allowPreviousPlayerStylesMerge(duration, delay)) {\n            previousWebAnimationPlayers.forEach(\n            /**\n            * @param {?} player\n            * @return {?}\n            */\n            function (player) {\n              /** @type {?} */\n              var styles = player.currentSnapshot;\n              Object.keys(styles).forEach(\n              /**\n              * @param {?} prop\n              * @return {?}\n              */\n              function (prop) {\n                return previousStyles[prop] = styles[prop];\n              });\n            });\n          }\n\n          keyframes = keyframes.map(\n          /**\n          * @param {?} styles\n          * @return {?}\n          */\n          function (styles) {\n            return copyStyles(styles, false);\n          });\n          keyframes = balancePreviousStylesIntoKeyframes(element, keyframes, previousStyles);\n          /** @type {?} */\n\n          var specialStyles = packageNonAnimatableStyles(element, keyframes);\n          return new WebAnimationsPlayer(element, keyframes, playerOptions, specialStyles);\n        }\n      }]);\n\n      return WebAnimationsDriver;\n    }();\n\n    if (false) {}\n    /**\n     * @return {?}\n     */\n\n\n    function supportsWebAnimations() {\n      return typeof getElementAnimateFn() === 'function';\n    }\n    /**\n     * @return {?}\n     */\n\n\n    function getElementAnimateFn() {\n      return isBrowser() &&\n      /** @type {?} */\n      Element.prototype['animate'] || {};\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Generated bundle index. Do not edit.\n     */\n\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/@angular/cdk/esm2015/a11y.js\":\n  /*!***************************************************!*\\\n    !*** ./node_modules/@angular/cdk/esm2015/a11y.js ***!\n    \\***************************************************/\n\n  /*! exports provided: ARIA_DESCRIBER_PROVIDER_FACTORY, MESSAGES_CONTAINER_ID, CDK_DESCRIBEDBY_ID_PREFIX, CDK_DESCRIBEDBY_HOST_ATTRIBUTE, AriaDescriber, ARIA_DESCRIBER_PROVIDER, ActiveDescendantKeyManager, FocusKeyManager, ListKeyManager, FocusTrap, FocusTrapFactory, CdkTrapFocus, InteractivityChecker, LIVE_ANNOUNCER_PROVIDER_FACTORY, LiveAnnouncer, CdkAriaLive, LIVE_ANNOUNCER_PROVIDER, LIVE_ANNOUNCER_ELEMENT_TOKEN_FACTORY, LIVE_ANNOUNCER_ELEMENT_TOKEN, LIVE_ANNOUNCER_DEFAULT_OPTIONS, FOCUS_MONITOR_PROVIDER_FACTORY, TOUCH_BUFFER_MS, FocusMonitor, CdkMonitorFocus, FOCUS_MONITOR_PROVIDER, isFakeMousedownFromScreenReader, A11yModule */\n\n  /***/\n  function node_modulesAngularCdkEsm2015A11yJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ARIA_DESCRIBER_PROVIDER_FACTORY\", function () {\n      return ARIA_DESCRIBER_PROVIDER_FACTORY;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MESSAGES_CONTAINER_ID\", function () {\n      return MESSAGES_CONTAINER_ID;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CDK_DESCRIBEDBY_ID_PREFIX\", function () {\n      return CDK_DESCRIBEDBY_ID_PREFIX;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CDK_DESCRIBEDBY_HOST_ATTRIBUTE\", function () {\n      return CDK_DESCRIBEDBY_HOST_ATTRIBUTE;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"AriaDescriber\", function () {\n      return AriaDescriber;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ARIA_DESCRIBER_PROVIDER\", function () {\n      return ARIA_DESCRIBER_PROVIDER;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ActiveDescendantKeyManager\", function () {\n      return ActiveDescendantKeyManager;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FocusKeyManager\", function () {\n      return FocusKeyManager;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ListKeyManager\", function () {\n      return ListKeyManager;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FocusTrap\", function () {\n      return FocusTrap;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FocusTrapFactory\", function () {\n      return FocusTrapFactory;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CdkTrapFocus\", function () {\n      return CdkTrapFocus;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"InteractivityChecker\", function () {\n      return InteractivityChecker;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"LIVE_ANNOUNCER_PROVIDER_FACTORY\", function () {\n      return LIVE_ANNOUNCER_PROVIDER_FACTORY;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"LiveAnnouncer\", function () {\n      return LiveAnnouncer;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CdkAriaLive\", function () {\n      return CdkAriaLive;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"LIVE_ANNOUNCER_PROVIDER\", function () {\n      return LIVE_ANNOUNCER_PROVIDER;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"LIVE_ANNOUNCER_ELEMENT_TOKEN_FACTORY\", function () {\n      return LIVE_ANNOUNCER_ELEMENT_TOKEN_FACTORY;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"LIVE_ANNOUNCER_ELEMENT_TOKEN\", function () {\n      return LIVE_ANNOUNCER_ELEMENT_TOKEN;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"LIVE_ANNOUNCER_DEFAULT_OPTIONS\", function () {\n      return LIVE_ANNOUNCER_DEFAULT_OPTIONS;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FOCUS_MONITOR_PROVIDER_FACTORY\", function () {\n      return FOCUS_MONITOR_PROVIDER_FACTORY;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TOUCH_BUFFER_MS\", function () {\n      return TOUCH_BUFFER_MS;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FocusMonitor\", function () {\n      return FocusMonitor;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CdkMonitorFocus\", function () {\n      return CdkMonitorFocus;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FOCUS_MONITOR_PROVIDER\", function () {\n      return FOCUS_MONITOR_PROVIDER;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"isFakeMousedownFromScreenReader\", function () {\n      return isFakeMousedownFromScreenReader;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"A11yModule\", function () {\n      return A11yModule;\n    });\n    /* harmony import */\n\n\n    var _angular_common__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! @angular/common */\n    \"./node_modules/@angular/common/fesm2015/common.js\");\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! rxjs */\n    \"./node_modules/rxjs/_esm2015/index.js\");\n    /* harmony import */\n\n\n    var _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! @angular/cdk/keycodes */\n    \"./node_modules/@angular/cdk/esm2015/keycodes.js\");\n    /* harmony import */\n\n\n    var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! rxjs/operators */\n    \"./node_modules/rxjs/_esm2015/operators/index.js\");\n    /* harmony import */\n\n\n    var _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\n    /*! @angular/cdk/platform */\n    \"./node_modules/@angular/cdk/esm2015/platform.js\");\n    /* harmony import */\n\n\n    var _angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(\n    /*! @angular/cdk/coercion */\n    \"./node_modules/@angular/cdk/esm2015/coercion.js\");\n    /* harmony import */\n\n\n    var _angular_cdk_observers__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(\n    /*! @angular/cdk/observers */\n    \"./node_modules/@angular/cdk/esm2015/observers.js\");\n    /**\n     * @license\n     * Copyright Google LLC All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * IDs are deliminated by an empty space, as per the spec.\n     * @type {?}\n     */\n\n\n    var ID_DELIMINATOR = ' ';\n    /**\n     * Adds the given ID to the specified ARIA attribute on an element.\n     * Used for attributes such as aria-labelledby, aria-owns, etc.\n     * @param {?} el\n     * @param {?} attr\n     * @param {?} id\n     * @return {?}\n     */\n\n    function addAriaReferencedId(el, attr, id) {\n      /** @type {?} */\n      var ids = getAriaReferenceIds(el, attr);\n\n      if (ids.some(\n      /**\n      * @param {?} existingId\n      * @return {?}\n      */\n      function (existingId) {\n        return existingId.trim() == id.trim();\n      })) {\n        return;\n      }\n\n      ids.push(id.trim());\n      el.setAttribute(attr, ids.join(ID_DELIMINATOR));\n    }\n    /**\n     * Removes the given ID from the specified ARIA attribute on an element.\n     * Used for attributes such as aria-labelledby, aria-owns, etc.\n     * @param {?} el\n     * @param {?} attr\n     * @param {?} id\n     * @return {?}\n     */\n\n\n    function removeAriaReferencedId(el, attr, id) {\n      /** @type {?} */\n      var ids = getAriaReferenceIds(el, attr);\n      /** @type {?} */\n\n      var filteredIds = ids.filter(\n      /**\n      * @param {?} val\n      * @return {?}\n      */\n      function (val) {\n        return val != id.trim();\n      });\n\n      if (filteredIds.length) {\n        el.setAttribute(attr, filteredIds.join(ID_DELIMINATOR));\n      } else {\n        el.removeAttribute(attr);\n      }\n    }\n    /**\n     * Gets the list of IDs referenced by the given ARIA attribute on an element.\n     * Used for attributes such as aria-labelledby, aria-owns, etc.\n     * @param {?} el\n     * @param {?} attr\n     * @return {?}\n     */\n\n\n    function getAriaReferenceIds(el, attr) {\n      // Get string array of all individual ids (whitespace deliminated) in the attribute value\n      return (el.getAttribute(attr) || '').match(/\\S+/g) || [];\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * ID used for the body container where all messages are appended.\n     * @type {?}\n     */\n\n\n    var MESSAGES_CONTAINER_ID = 'cdk-describedby-message-container';\n    /**\n     * ID prefix used for each created message element.\n     * @type {?}\n     */\n\n    var CDK_DESCRIBEDBY_ID_PREFIX = 'cdk-describedby-message';\n    /**\n     * Attribute given to each host element that is described by a message element.\n     * @type {?}\n     */\n\n    var CDK_DESCRIBEDBY_HOST_ATTRIBUTE = 'cdk-describedby-host';\n    /**\n     * Global incremental identifier for each registered message element.\n     * @type {?}\n     */\n\n    var nextId = 0;\n    /**\n     * Global map of all registered message elements that have been placed into the document.\n     * @type {?}\n     */\n\n    var messageRegistry = new Map();\n    /**\n     * Container for all registered messages.\n     * @type {?}\n     */\n\n    var messagesContainer = null;\n    /**\n     * Utility that creates visually hidden elements with a message content. Useful for elements that\n     * want to use aria-describedby to further describe themselves without adding additional visual\n     * content.\n     */\n\n    var AriaDescriber =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _document\n       */\n      function AriaDescriber(_document) {\n        _classCallCheck(this, AriaDescriber);\n\n        this._document = _document;\n      }\n      /**\n       * Adds to the host element an aria-describedby reference to a hidden element that contains\n       * the message. If the same message has already been registered, then it will reuse the created\n       * message element.\n       * @param {?} hostElement\n       * @param {?} message\n       * @return {?}\n       */\n\n\n      _createClass2(AriaDescriber, [{\n        key: \"describe\",\n        value: function describe(hostElement, message) {\n          if (!this._canBeDescribed(hostElement, message)) {\n            return;\n          }\n\n          if (typeof message !== 'string') {\n            // We need to ensure that the element has an ID.\n            this._setMessageId(message);\n\n            messageRegistry.set(message, {\n              messageElement: message,\n              referenceCount: 0\n            });\n          } else if (!messageRegistry.has(message)) {\n            this._createMessageElement(message);\n          }\n\n          if (!this._isElementDescribedByMessage(hostElement, message)) {\n            this._addMessageReference(hostElement, message);\n          }\n        }\n        /**\n         * Removes the host element's aria-describedby reference to the message element.\n         * @param {?} hostElement\n         * @param {?} message\n         * @return {?}\n         */\n\n      }, {\n        key: \"removeDescription\",\n        value: function removeDescription(hostElement, message) {\n          if (!this._isElementNode(hostElement)) {\n            return;\n          }\n\n          if (this._isElementDescribedByMessage(hostElement, message)) {\n            this._removeMessageReference(hostElement, message);\n          } // If the message is a string, it means that it's one that we created for the\n          // consumer so we can remove it safely, otherwise we should leave it in place.\n\n\n          if (typeof message === 'string') {\n            /** @type {?} */\n            var registeredMessage = messageRegistry.get(message);\n\n            if (registeredMessage && registeredMessage.referenceCount === 0) {\n              this._deleteMessageElement(message);\n            }\n          }\n\n          if (messagesContainer && messagesContainer.childNodes.length === 0) {\n            this._deleteMessagesContainer();\n          }\n        }\n        /**\n         * Unregisters all created message elements and removes the message container.\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          /** @type {?} */\n          var describedElements = this._document.querySelectorAll(\"[\".concat(CDK_DESCRIBEDBY_HOST_ATTRIBUTE, \"]\"));\n\n          for (var i = 0; i < describedElements.length; i++) {\n            this._removeCdkDescribedByReferenceIds(describedElements[i]);\n\n            describedElements[i].removeAttribute(CDK_DESCRIBEDBY_HOST_ATTRIBUTE);\n          }\n\n          if (messagesContainer) {\n            this._deleteMessagesContainer();\n          }\n\n          messageRegistry.clear();\n        }\n        /**\n         * Creates a new element in the visually hidden message container element with the message\n         * as its content and adds it to the message registry.\n         * @private\n         * @param {?} message\n         * @return {?}\n         */\n\n      }, {\n        key: \"_createMessageElement\",\n        value: function _createMessageElement(message) {\n          /** @type {?} */\n          var messageElement = this._document.createElement('div');\n\n          this._setMessageId(messageElement);\n\n          messageElement.textContent = message;\n\n          this._createMessagesContainer();\n\n          /** @type {?} */\n          messagesContainer.appendChild(messageElement);\n          messageRegistry.set(message, {\n            messageElement: messageElement,\n            referenceCount: 0\n          });\n        }\n        /**\n         * Assigns a unique ID to an element, if it doesn't have one already.\n         * @private\n         * @param {?} element\n         * @return {?}\n         */\n\n      }, {\n        key: \"_setMessageId\",\n        value: function _setMessageId(element) {\n          if (!element.id) {\n            element.id = \"\".concat(CDK_DESCRIBEDBY_ID_PREFIX, \"-\").concat(nextId++);\n          }\n        }\n        /**\n         * Deletes the message element from the global messages container.\n         * @private\n         * @param {?} message\n         * @return {?}\n         */\n\n      }, {\n        key: \"_deleteMessageElement\",\n        value: function _deleteMessageElement(message) {\n          /** @type {?} */\n          var registeredMessage = messageRegistry.get(message);\n          /** @type {?} */\n\n          var messageElement = registeredMessage && registeredMessage.messageElement;\n\n          if (messagesContainer && messageElement) {\n            messagesContainer.removeChild(messageElement);\n          }\n\n          messageRegistry.delete(message);\n        }\n        /**\n         * Creates the global container for all aria-describedby messages.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_createMessagesContainer\",\n        value: function _createMessagesContainer() {\n          if (!messagesContainer) {\n            /** @type {?} */\n            var preExistingContainer = this._document.getElementById(MESSAGES_CONTAINER_ID); // When going from the server to the client, we may end up in a situation where there's\n            // already a container on the page, but we don't have a reference to it. Clear the\n            // old container so we don't get duplicates. Doing this, instead of emptying the previous\n            // container, should be slightly faster.\n\n\n            if (preExistingContainer) {\n              /** @type {?} */\n              preExistingContainer.parentNode.removeChild(preExistingContainer);\n            }\n\n            messagesContainer = this._document.createElement('div');\n            messagesContainer.id = MESSAGES_CONTAINER_ID;\n            messagesContainer.setAttribute('aria-hidden', 'true');\n            messagesContainer.style.display = 'none';\n\n            this._document.body.appendChild(messagesContainer);\n          }\n        }\n        /**\n         * Deletes the global messages container.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_deleteMessagesContainer\",\n        value: function _deleteMessagesContainer() {\n          if (messagesContainer && messagesContainer.parentNode) {\n            messagesContainer.parentNode.removeChild(messagesContainer);\n            messagesContainer = null;\n          }\n        }\n        /**\n         * Removes all cdk-describedby messages that are hosted through the element.\n         * @private\n         * @param {?} element\n         * @return {?}\n         */\n\n      }, {\n        key: \"_removeCdkDescribedByReferenceIds\",\n        value: function _removeCdkDescribedByReferenceIds(element) {\n          // Remove all aria-describedby reference IDs that are prefixed by CDK_DESCRIBEDBY_ID_PREFIX\n\n          /** @type {?} */\n          var originalReferenceIds = getAriaReferenceIds(element, 'aria-describedby').filter(\n          /**\n          * @param {?} id\n          * @return {?}\n          */\n          function (id) {\n            return id.indexOf(CDK_DESCRIBEDBY_ID_PREFIX) != 0;\n          });\n          element.setAttribute('aria-describedby', originalReferenceIds.join(' '));\n        }\n        /**\n         * Adds a message reference to the element using aria-describedby and increments the registered\n         * message's reference count.\n         * @private\n         * @param {?} element\n         * @param {?} message\n         * @return {?}\n         */\n\n      }, {\n        key: \"_addMessageReference\",\n        value: function _addMessageReference(element, message) {\n          /** @type {?} */\n          var registeredMessage =\n          /** @type {?} */\n          messageRegistry.get(message); // Add the aria-describedby reference and set the\n          // describedby_host attribute to mark the element.\n\n          addAriaReferencedId(element, 'aria-describedby', registeredMessage.messageElement.id);\n          element.setAttribute(CDK_DESCRIBEDBY_HOST_ATTRIBUTE, '');\n          registeredMessage.referenceCount++;\n        }\n        /**\n         * Removes a message reference from the element using aria-describedby\n         * and decrements the registered message's reference count.\n         * @private\n         * @param {?} element\n         * @param {?} message\n         * @return {?}\n         */\n\n      }, {\n        key: \"_removeMessageReference\",\n        value: function _removeMessageReference(element, message) {\n          /** @type {?} */\n          var registeredMessage =\n          /** @type {?} */\n          messageRegistry.get(message);\n          registeredMessage.referenceCount--;\n          removeAriaReferencedId(element, 'aria-describedby', registeredMessage.messageElement.id);\n          element.removeAttribute(CDK_DESCRIBEDBY_HOST_ATTRIBUTE);\n        }\n        /**\n         * Returns true if the element has been described by the provided message ID.\n         * @private\n         * @param {?} element\n         * @param {?} message\n         * @return {?}\n         */\n\n      }, {\n        key: \"_isElementDescribedByMessage\",\n        value: function _isElementDescribedByMessage(element, message) {\n          /** @type {?} */\n          var referenceIds = getAriaReferenceIds(element, 'aria-describedby');\n          /** @type {?} */\n\n          var registeredMessage = messageRegistry.get(message);\n          /** @type {?} */\n\n          var messageId = registeredMessage && registeredMessage.messageElement.id;\n          return !!messageId && referenceIds.indexOf(messageId) != -1;\n        }\n        /**\n         * Determines whether a message can be described on a particular element.\n         * @private\n         * @param {?} element\n         * @param {?} message\n         * @return {?}\n         */\n\n      }, {\n        key: \"_canBeDescribed\",\n        value: function _canBeDescribed(element, message) {\n          if (!this._isElementNode(element)) {\n            return false;\n          }\n\n          if (message && typeof message === 'object') {\n            // We'd have to make some assumptions about the description element's text, if the consumer\n            // passed in an element. Assume that if an element is passed in, the consumer has verified\n            // that it can be used as a description.\n            return true;\n          }\n          /** @type {?} */\n\n\n          var trimmedMessage = message == null ? '' : \"\".concat(message).trim();\n          /** @type {?} */\n\n          var ariaLabel = element.getAttribute('aria-label'); // We shouldn't set descriptions if they're exactly the same as the `aria-label` of the\n          // element, because screen readers will end up reading out the same text twice in a row.\n\n          return trimmedMessage ? !ariaLabel || ariaLabel.trim() !== trimmedMessage : false;\n        }\n        /**\n         * Checks whether a node is an Element node.\n         * @private\n         * @param {?} element\n         * @return {?}\n         */\n\n      }, {\n        key: \"_isElementNode\",\n        value: function _isElementNode(element) {\n          return element.nodeType === this._document.ELEMENT_NODE;\n        }\n      }]);\n\n      return AriaDescriber;\n    }();\n\n    AriaDescriber.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    AriaDescriber.ctorParameters = function () {\n      return [{\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"],\n          args: [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"]]\n        }]\n      }];\n    };\n    /** @nocollapse */\n\n\n    AriaDescriber.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵdefineInjectable\"])({\n      factory: function AriaDescriber_Factory() {\n        return new AriaDescriber(Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"]));\n      },\n      token: AriaDescriber,\n      providedIn: \"root\"\n    });\n    /**\n     * \\@docs-private \\@deprecated \\@breaking-change 8.0.0\n     * @param {?} parentDispatcher\n     * @param {?} _document\n     * @return {?}\n     */\n\n    function ARIA_DESCRIBER_PROVIDER_FACTORY(parentDispatcher, _document) {\n      return parentDispatcher || new AriaDescriber(_document);\n    }\n    /**\n     * \\@docs-private \\@deprecated \\@breaking-change 8.0.0\n     * @type {?}\n     */\n\n\n    var ARIA_DESCRIBER_PROVIDER = {\n      // If there is already an AriaDescriber available, use that. Otherwise, provide a new one.\n      provide: AriaDescriber,\n      deps: [[new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"](), new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"SkipSelf\"](), AriaDescriber],\n      /** @type {?} */\n      _angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"]],\n      useFactory: ARIA_DESCRIBER_PROVIDER_FACTORY\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * This class manages keyboard events for selectable lists. If you pass it a query list\n     * of items, it will set the active item correctly when arrow events occur.\n     * @template T\n     */\n\n    var ListKeyManager =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _items\n       */\n      function ListKeyManager(_items) {\n        var _this49 = this;\n\n        _classCallCheck(this, ListKeyManager);\n\n        this._items = _items;\n        this._activeItemIndex = -1;\n        this._activeItem = null;\n        this._wrap = false;\n        this._letterKeyStream = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Subject\"]();\n        this._typeaheadSubscription = rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Subscription\"].EMPTY;\n        this._vertical = true;\n        this._allowedModifierKeys = [];\n        /**\n         * Predicate function that can be used to check whether an item should be skipped\n         * by the key manager. By default, disabled items are skipped.\n         */\n\n        this._skipPredicateFn =\n        /**\n        * @param {?} item\n        * @return {?}\n        */\n        function (item) {\n          return item.disabled;\n        }; // Buffer for the letters that the user has pressed when the typeahead option is turned on.\n\n\n        this._pressedLetters = [];\n        /**\n         * Stream that emits any time the TAB key is pressed, so components can react\n         * when focus is shifted off of the list.\n         */\n\n        this.tabOut = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Subject\"]();\n        /**\n         * Stream that emits whenever the active item of the list manager changes.\n         */\n\n        this.change = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Subject\"](); // We allow for the items to be an array because, in some cases, the consumer may\n        // not have access to a QueryList of the items they want to manage (e.g. when the\n        // items aren't being collected via `ViewChildren` or `ContentChildren`).\n\n        if (_items instanceof _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"QueryList\"]) {\n          _items.changes.subscribe(\n          /**\n          * @param {?} newItems\n          * @return {?}\n          */\n          function (newItems) {\n            if (_this49._activeItem) {\n              /** @type {?} */\n              var itemArray = newItems.toArray();\n              /** @type {?} */\n\n              var newIndex = itemArray.indexOf(_this49._activeItem);\n\n              if (newIndex > -1 && newIndex !== _this49._activeItemIndex) {\n                _this49._activeItemIndex = newIndex;\n              }\n            }\n          });\n        }\n      }\n      /**\n       * Sets the predicate function that determines which items should be skipped by the\n       * list key manager.\n       * @template THIS\n       * @this {THIS}\n       * @param {?} predicate Function that determines whether the given item should be skipped.\n       * @return {THIS}\n       */\n\n\n      _createClass2(ListKeyManager, [{\n        key: \"skipPredicate\",\n        value: function skipPredicate(predicate) {\n          /** @type {?} */\n          this._skipPredicateFn = predicate;\n          return (\n            /** @type {?} */\n            this\n          );\n        }\n        /**\n         * Configures wrapping mode, which determines whether the active item will wrap to\n         * the other end of list when there are no more items in the given direction.\n         * @template THIS\n         * @this {THIS}\n         * @param {?=} shouldWrap Whether the list should wrap when reaching the end.\n         * @return {THIS}\n         */\n\n      }, {\n        key: \"withWrap\",\n        value: function withWrap() {\n          var shouldWrap = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;\n\n          /** @type {?} */\n          this._wrap = shouldWrap;\n          return (\n            /** @type {?} */\n            this\n          );\n        }\n        /**\n         * Configures whether the key manager should be able to move the selection vertically.\n         * @template THIS\n         * @this {THIS}\n         * @param {?=} enabled Whether vertical selection should be enabled.\n         * @return {THIS}\n         */\n\n      }, {\n        key: \"withVerticalOrientation\",\n        value: function withVerticalOrientation() {\n          var enabled = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;\n\n          /** @type {?} */\n          this._vertical = enabled;\n          return (\n            /** @type {?} */\n            this\n          );\n        }\n        /**\n         * Configures the key manager to move the selection horizontally.\n         * Passing in `null` will disable horizontal movement.\n         * @template THIS\n         * @this {THIS}\n         * @param {?} direction Direction in which the selection can be moved.\n         * @return {THIS}\n         */\n\n      }, {\n        key: \"withHorizontalOrientation\",\n        value: function withHorizontalOrientation(direction) {\n          /** @type {?} */\n          this._horizontal = direction;\n          return (\n            /** @type {?} */\n            this\n          );\n        }\n        /**\n         * Modifier keys which are allowed to be held down and whose default actions will be prevented\n         * as the user is pressing the arrow keys. Defaults to not allowing any modifier keys.\n         * @template THIS\n         * @this {THIS}\n         * @param {?} keys\n         * @return {THIS}\n         */\n\n      }, {\n        key: \"withAllowedModifierKeys\",\n        value: function withAllowedModifierKeys(keys) {\n          /** @type {?} */\n          this._allowedModifierKeys = keys;\n          return (\n            /** @type {?} */\n            this\n          );\n        }\n        /**\n         * Turns on typeahead mode which allows users to set the active item by typing.\n         * @template THIS\n         * @this {THIS}\n         * @param {?=} debounceInterval Time to wait after the last keystroke before setting the active item.\n         * @return {THIS}\n         */\n\n      }, {\n        key: \"withTypeAhead\",\n        value: function withTypeAhead() {\n          var _this50 = this;\n\n          var debounceInterval = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 200;\n\n          if (\n          /** @type {?} */\n          this._items.length &&\n          /** @type {?} */\n          this._items.some(\n          /**\n          * @param {?} item\n          * @return {?}\n          */\n          function (item) {\n            return typeof item.getLabel !== 'function';\n          })) {\n            throw Error('ListKeyManager items in typeahead mode must implement the `getLabel` method.');\n          }\n\n          /** @type {?} */\n          this._typeaheadSubscription.unsubscribe(); // Debounce the presses of non-navigational keys, collect the ones that correspond to letters\n          // and convert those letters back into a string. Afterwards find the first item that starts\n          // with that string and select it.\n\n\n          /** @type {?} */\n          this._typeaheadSubscription =\n          /** @type {?} */\n          this._letterKeyStream.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"tap\"])(\n          /**\n          * @param {?} keyCode\n          * @return {?}\n          */\n          function (keyCode) {\n            return (\n              /** @type {?} */\n              _this50._pressedLetters.push(keyCode)\n            );\n          }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"debounceTime\"])(debounceInterval), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"filter\"])(\n          /**\n          * @return {?}\n          */\n          function () {\n            return (\n              /** @type {?} */\n              _this50._pressedLetters.length > 0\n            );\n          }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"map\"])(\n          /**\n          * @return {?}\n          */\n          function () {\n            return (\n              /** @type {?} */\n              _this50._pressedLetters.join('')\n            );\n          })).subscribe(\n          /**\n          * @param {?} inputString\n          * @return {?}\n          */\n          function (inputString) {\n            /** @type {?} */\n            var items =\n            /** @type {?} */\n            _this50._getItemsArray(); // Start at 1 because we want to start searching at the item immediately\n            // following the current active item.\n\n\n            for (var i = 1; i < items.length + 1; i++) {\n              /** @type {?} */\n              var index = (\n              /** @type {?} */\n              _this50._activeItemIndex + i) % items.length;\n              /** @type {?} */\n\n              var item = items[index];\n\n              if (!\n              /** @type {?} */\n              _this50._skipPredicateFn(item) &&\n              /** @type {?} */\n              item.getLabel().toUpperCase().trim().indexOf(inputString) === 0) {\n                /** @type {?} */\n                _this50.setActiveItem(index);\n\n                break;\n              }\n            }\n\n            /** @type {?} */\n            _this50._pressedLetters = [];\n          });\n          return (\n            /** @type {?} */\n            this\n          );\n        }\n        /**\n         * @param {?} item\n         * @return {?}\n         */\n\n      }, {\n        key: \"setActiveItem\",\n        value: function setActiveItem(item) {\n          /** @type {?} */\n          var previousIndex = this._activeItemIndex;\n          this.updateActiveItem(item);\n\n          if (this._activeItemIndex !== previousIndex) {\n            this.change.next(this._activeItemIndex);\n          }\n        }\n        /**\n         * Sets the active item depending on the key event passed in.\n         * @param {?} event Keyboard event to be used for determining which element should be active.\n         * @return {?}\n         */\n\n      }, {\n        key: \"onKeydown\",\n        value: function onKeydown(event) {\n          var _this51 = this;\n\n          /** @type {?} */\n          var keyCode = event.keyCode;\n          /** @type {?} */\n\n          var modifiers = ['altKey', 'ctrlKey', 'metaKey', 'shiftKey'];\n          /** @type {?} */\n\n          var isModifierAllowed = modifiers.every(\n          /**\n          * @param {?} modifier\n          * @return {?}\n          */\n          function (modifier) {\n            return !event[modifier] || _this51._allowedModifierKeys.indexOf(modifier) > -1;\n          });\n\n          switch (keyCode) {\n            case _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_3__[\"TAB\"]:\n              this.tabOut.next();\n              return;\n\n            case _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_3__[\"DOWN_ARROW\"]:\n              if (this._vertical && isModifierAllowed) {\n                this.setNextItemActive();\n                break;\n              } else {\n                return;\n              }\n\n            case _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_3__[\"UP_ARROW\"]:\n              if (this._vertical && isModifierAllowed) {\n                this.setPreviousItemActive();\n                break;\n              } else {\n                return;\n              }\n\n            case _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_3__[\"RIGHT_ARROW\"]:\n              if (this._horizontal && isModifierAllowed) {\n                this._horizontal === 'rtl' ? this.setPreviousItemActive() : this.setNextItemActive();\n                break;\n              } else {\n                return;\n              }\n\n            case _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_3__[\"LEFT_ARROW\"]:\n              if (this._horizontal && isModifierAllowed) {\n                this._horizontal === 'rtl' ? this.setNextItemActive() : this.setPreviousItemActive();\n                break;\n              } else {\n                return;\n              }\n\n            default:\n              if (isModifierAllowed || Object(_angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_3__[\"hasModifierKey\"])(event, 'shiftKey')) {\n                // Attempt to use the `event.key` which also maps it to the user's keyboard language,\n                // otherwise fall back to resolving alphanumeric characters via the keyCode.\n                if (event.key && event.key.length === 1) {\n                  this._letterKeyStream.next(event.key.toLocaleUpperCase());\n                } else if (keyCode >= _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_3__[\"A\"] && keyCode <= _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_3__[\"Z\"] || keyCode >= _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_3__[\"ZERO\"] && keyCode <= _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_3__[\"NINE\"]) {\n                  this._letterKeyStream.next(String.fromCharCode(keyCode));\n                }\n              } // Note that we return here, in order to avoid preventing\n              // the default action of non-navigational keys.\n\n\n              return;\n          }\n\n          this._pressedLetters = [];\n          event.preventDefault();\n        }\n        /**\n         * Index of the currently active item.\n         * @return {?}\n         */\n\n      }, {\n        key: \"setFirstItemActive\",\n\n        /**\n         * Sets the active item to the first enabled item in the list.\n         * @return {?}\n         */\n        value: function setFirstItemActive() {\n          this._setActiveItemByIndex(0, 1);\n        }\n        /**\n         * Sets the active item to the last enabled item in the list.\n         * @return {?}\n         */\n\n      }, {\n        key: \"setLastItemActive\",\n        value: function setLastItemActive() {\n          this._setActiveItemByIndex(this._items.length - 1, -1);\n        }\n        /**\n         * Sets the active item to the next enabled item in the list.\n         * @return {?}\n         */\n\n      }, {\n        key: \"setNextItemActive\",\n        value: function setNextItemActive() {\n          this._activeItemIndex < 0 ? this.setFirstItemActive() : this._setActiveItemByDelta(1);\n        }\n        /**\n         * Sets the active item to a previous enabled item in the list.\n         * @return {?}\n         */\n\n      }, {\n        key: \"setPreviousItemActive\",\n        value: function setPreviousItemActive() {\n          this._activeItemIndex < 0 && this._wrap ? this.setLastItemActive() : this._setActiveItemByDelta(-1);\n        }\n        /**\n         * @param {?} item\n         * @return {?}\n         */\n\n      }, {\n        key: \"updateActiveItem\",\n        value: function updateActiveItem(item) {\n          /** @type {?} */\n          var itemArray = this._getItemsArray();\n          /** @type {?} */\n\n\n          var index = typeof item === 'number' ? item : itemArray.indexOf(item);\n          /** @type {?} */\n\n          var activeItem = itemArray[index]; // Explicitly check for `null` and `undefined` because other falsy values are valid.\n\n          this._activeItem = activeItem == null ? null : activeItem;\n          this._activeItemIndex = index;\n        }\n        /**\n         * Allows setting of the activeItemIndex without any other effects.\n         * @deprecated Use `updateActiveItem` instead.\n         * \\@breaking-change 8.0.0\n         * @param {?} index The new activeItemIndex.\n         * @return {?}\n         */\n\n      }, {\n        key: \"updateActiveItemIndex\",\n        value: function updateActiveItemIndex(index) {\n          this.updateActiveItem(index);\n        }\n        /**\n         * This method sets the active item, given a list of items and the delta between the\n         * currently active item and the new active item. It will calculate differently\n         * depending on whether wrap mode is turned on.\n         * @private\n         * @param {?} delta\n         * @return {?}\n         */\n\n      }, {\n        key: \"_setActiveItemByDelta\",\n        value: function _setActiveItemByDelta(delta) {\n          this._wrap ? this._setActiveInWrapMode(delta) : this._setActiveInDefaultMode(delta);\n        }\n        /**\n         * Sets the active item properly given \"wrap\" mode. In other words, it will continue to move\n         * down the list until it finds an item that is not disabled, and it will wrap if it\n         * encounters either end of the list.\n         * @private\n         * @param {?} delta\n         * @return {?}\n         */\n\n      }, {\n        key: \"_setActiveInWrapMode\",\n        value: function _setActiveInWrapMode(delta) {\n          /** @type {?} */\n          var items = this._getItemsArray();\n\n          for (var i = 1; i <= items.length; i++) {\n            /** @type {?} */\n            var index = (this._activeItemIndex + delta * i + items.length) % items.length;\n            /** @type {?} */\n\n            var item = items[index];\n\n            if (!this._skipPredicateFn(item)) {\n              this.setActiveItem(index);\n              return;\n            }\n          }\n        }\n        /**\n         * Sets the active item properly given the default mode. In other words, it will\n         * continue to move down the list until it finds an item that is not disabled. If\n         * it encounters either end of the list, it will stop and not wrap.\n         * @private\n         * @param {?} delta\n         * @return {?}\n         */\n\n      }, {\n        key: \"_setActiveInDefaultMode\",\n        value: function _setActiveInDefaultMode(delta) {\n          this._setActiveItemByIndex(this._activeItemIndex + delta, delta);\n        }\n        /**\n         * Sets the active item to the first enabled item starting at the index specified. If the\n         * item is disabled, it will move in the fallbackDelta direction until it either\n         * finds an enabled item or encounters the end of the list.\n         * @private\n         * @param {?} index\n         * @param {?} fallbackDelta\n         * @return {?}\n         */\n\n      }, {\n        key: \"_setActiveItemByIndex\",\n        value: function _setActiveItemByIndex(index, fallbackDelta) {\n          /** @type {?} */\n          var items = this._getItemsArray();\n\n          if (!items[index]) {\n            return;\n          }\n\n          while (this._skipPredicateFn(items[index])) {\n            index += fallbackDelta;\n\n            if (!items[index]) {\n              return;\n            }\n          }\n\n          this.setActiveItem(index);\n        }\n        /**\n         * Returns the items as an array.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_getItemsArray\",\n        value: function _getItemsArray() {\n          return this._items instanceof _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"QueryList\"] ? this._items.toArray() : this._items;\n        }\n      }, {\n        key: \"activeItemIndex\",\n        get: function get() {\n          return this._activeItemIndex;\n        }\n        /**\n         * The active item.\n         * @return {?}\n         */\n\n      }, {\n        key: \"activeItem\",\n        get: function get() {\n          return this._activeItem;\n        }\n      }]);\n\n      return ListKeyManager;\n    }();\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @template T\n     */\n\n\n    var ActiveDescendantKeyManager =\n    /*#__PURE__*/\n    function (_ListKeyManager) {\n      _inherits(ActiveDescendantKeyManager, _ListKeyManager);\n\n      function ActiveDescendantKeyManager() {\n        _classCallCheck(this, ActiveDescendantKeyManager);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(ActiveDescendantKeyManager).apply(this, arguments));\n      }\n\n      _createClass2(ActiveDescendantKeyManager, [{\n        key: \"setActiveItem\",\n\n        /**\n         * @param {?} index\n         * @return {?}\n         */\n        value: function setActiveItem(index) {\n          if (this.activeItem) {\n            this.activeItem.setInactiveStyles();\n          }\n\n          _get(_getPrototypeOf(ActiveDescendantKeyManager.prototype), \"setActiveItem\", this).call(this, index);\n\n          if (this.activeItem) {\n            this.activeItem.setActiveStyles();\n          }\n        }\n      }]);\n\n      return ActiveDescendantKeyManager;\n    }(ListKeyManager);\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @template T\n     */\n\n\n    var FocusKeyManager =\n    /*#__PURE__*/\n    function (_ListKeyManager2) {\n      _inherits(FocusKeyManager, _ListKeyManager2);\n\n      function FocusKeyManager() {\n        var _this52;\n\n        _classCallCheck(this, FocusKeyManager);\n\n        _this52 = _possibleConstructorReturn(this, _getPrototypeOf(FocusKeyManager).apply(this, arguments));\n        _this52._origin = 'program';\n        return _this52;\n      }\n      /**\n       * Sets the focus origin that will be passed in to the items for any subsequent `focus` calls.\n       * @template THIS\n       * @this {THIS}\n       * @param {?} origin Focus origin to be used when focusing items.\n       * @return {THIS}\n       */\n\n\n      _createClass2(FocusKeyManager, [{\n        key: \"setFocusOrigin\",\n        value: function setFocusOrigin(origin) {\n          /** @type {?} */\n          this._origin = origin;\n          return (\n            /** @type {?} */\n            this\n          );\n        }\n        /**\n         * @param {?} item\n         * @return {?}\n         */\n\n      }, {\n        key: \"setActiveItem\",\n        value: function setActiveItem(item) {\n          _get(_getPrototypeOf(FocusKeyManager.prototype), \"setActiveItem\", this).call(this, item);\n\n          if (this.activeItem) {\n            this.activeItem.focus(this._origin);\n          }\n        }\n      }]);\n\n      return FocusKeyManager;\n    }(ListKeyManager);\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n    // The InteractivityChecker leans heavily on the ally.js accessibility utilities.\n    // Methods like `isTabbable` are only covering specific edge-cases for the browsers which are\n    // supported.\n\n    /**\n     * Utility for checking the interactivity of an element, such as whether is is focusable or\n     * tabbable.\n     */\n\n\n    var InteractivityChecker =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _platform\n       */\n      function InteractivityChecker(_platform) {\n        _classCallCheck(this, InteractivityChecker);\n\n        this._platform = _platform;\n      }\n      /**\n       * Gets whether an element is disabled.\n       *\n       * @param {?} element Element to be checked.\n       * @return {?} Whether the element is disabled.\n       */\n\n\n      _createClass2(InteractivityChecker, [{\n        key: \"isDisabled\",\n        value: function isDisabled(element) {\n          // This does not capture some cases, such as a non-form control with a disabled attribute or\n          // a form control inside of a disabled form, but should capture the most common cases.\n          return element.hasAttribute('disabled');\n        }\n        /**\n         * Gets whether an element is visible for the purposes of interactivity.\n         *\n         * This will capture states like `display: none` and `visibility: hidden`, but not things like\n         * being clipped by an `overflow: hidden` parent or being outside the viewport.\n         *\n         * @param {?} element\n         * @return {?} Whether the element is visible.\n         */\n\n      }, {\n        key: \"isVisible\",\n        value: function isVisible(element) {\n          return hasGeometry(element) && getComputedStyle(element).visibility === 'visible';\n        }\n        /**\n         * Gets whether an element can be reached via Tab key.\n         * Assumes that the element has already been checked with isFocusable.\n         *\n         * @param {?} element Element to be checked.\n         * @return {?} Whether the element is tabbable.\n         */\n\n      }, {\n        key: \"isTabbable\",\n        value: function isTabbable(element) {\n          // Nothing is tabbable on the server 😎\n          if (!this._platform.isBrowser) {\n            return false;\n          }\n          /** @type {?} */\n\n\n          var frameElement = getFrameElement(getWindow(element));\n\n          if (frameElement) {\n            /** @type {?} */\n            var frameType = frameElement && frameElement.nodeName.toLowerCase(); // Frame elements inherit their tabindex onto all child elements.\n\n            if (getTabIndexValue(frameElement) === -1) {\n              return false;\n            } // Webkit and Blink consider anything inside of an <object> element as non-tabbable.\n\n\n            if ((this._platform.BLINK || this._platform.WEBKIT) && frameType === 'object') {\n              return false;\n            } // Webkit and Blink disable tabbing to an element inside of an invisible frame.\n\n\n            if ((this._platform.BLINK || this._platform.WEBKIT) && !this.isVisible(frameElement)) {\n              return false;\n            }\n          }\n          /** @type {?} */\n\n\n          var nodeName = element.nodeName.toLowerCase();\n          /** @type {?} */\n\n          var tabIndexValue = getTabIndexValue(element);\n\n          if (element.hasAttribute('contenteditable')) {\n            return tabIndexValue !== -1;\n          }\n\n          if (nodeName === 'iframe') {\n            // The frames may be tabbable depending on content, but it's not possibly to reliably\n            // investigate the content of the frames.\n            return false;\n          }\n\n          if (nodeName === 'audio') {\n            if (!element.hasAttribute('controls')) {\n              // By default an <audio> element without the controls enabled is not tabbable.\n              return false;\n            } else if (this._platform.BLINK) {\n              // In Blink <audio controls> elements are always tabbable.\n              return true;\n            }\n          }\n\n          if (nodeName === 'video') {\n            if (!element.hasAttribute('controls') && this._platform.TRIDENT) {\n              // In Trident a <video> element without the controls enabled is not tabbable.\n              return false;\n            } else if (this._platform.BLINK || this._platform.FIREFOX) {\n              // In Chrome and Firefox <video controls> elements are always tabbable.\n              return true;\n            }\n          }\n\n          if (nodeName === 'object' && (this._platform.BLINK || this._platform.WEBKIT)) {\n            // In all Blink and WebKit based browsers <object> elements are never tabbable.\n            return false;\n          } // In iOS the browser only considers some specific elements as tabbable.\n\n\n          if (this._platform.WEBKIT && this._platform.IOS && !isPotentiallyTabbableIOS(element)) {\n            return false;\n          }\n\n          return element.tabIndex >= 0;\n        }\n        /**\n         * Gets whether an element can be focused by the user.\n         *\n         * @param {?} element Element to be checked.\n         * @return {?} Whether the element is focusable.\n         */\n\n      }, {\n        key: \"isFocusable\",\n        value: function isFocusable(element) {\n          // Perform checks in order of left to most expensive.\n          // Again, naive approach that does not capture many edge cases and browser quirks.\n          return isPotentiallyFocusable(element) && !this.isDisabled(element) && this.isVisible(element);\n        }\n      }]);\n\n      return InteractivityChecker;\n    }();\n\n    InteractivityChecker.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    InteractivityChecker.ctorParameters = function () {\n      return [{\n        type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_5__[\"Platform\"]\n      }];\n    };\n    /** @nocollapse */\n\n\n    InteractivityChecker.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵdefineInjectable\"])({\n      factory: function InteractivityChecker_Factory() {\n        return new InteractivityChecker(Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_5__[\"Platform\"]));\n      },\n      token: InteractivityChecker,\n      providedIn: \"root\"\n    });\n    /**\n     * Returns the frame element from a window object. Since browsers like MS Edge throw errors if\n     * the frameElement property is being accessed from a different host address, this property\n     * should be accessed carefully.\n     * @param {?} window\n     * @return {?}\n     */\n\n    function getFrameElement(window) {\n      try {\n        return (\n          /** @type {?} */\n          window.frameElement\n        );\n      } catch (_a) {\n        return null;\n      }\n    }\n    /**\n     * Checks whether the specified element has any geometry / rectangles.\n     * @param {?} element\n     * @return {?}\n     */\n\n\n    function hasGeometry(element) {\n      // Use logic from jQuery to check for an invisible element.\n      // See https://github.com/jquery/jquery/blob/master/src/css/hiddenVisibleSelectors.js#L12\n      return !!(element.offsetWidth || element.offsetHeight || typeof element.getClientRects === 'function' && element.getClientRects().length);\n    }\n    /**\n     * Gets whether an element's\n     * @param {?} element\n     * @return {?}\n     */\n\n\n    function isNativeFormElement(element) {\n      /** @type {?} */\n      var nodeName = element.nodeName.toLowerCase();\n      return nodeName === 'input' || nodeName === 'select' || nodeName === 'button' || nodeName === 'textarea';\n    }\n    /**\n     * Gets whether an element is an `<input type=\"hidden\">`.\n     * @param {?} element\n     * @return {?}\n     */\n\n\n    function isHiddenInput(element) {\n      return isInputElement(element) && element.type == 'hidden';\n    }\n    /**\n     * Gets whether an element is an anchor that has an href attribute.\n     * @param {?} element\n     * @return {?}\n     */\n\n\n    function isAnchorWithHref(element) {\n      return isAnchorElement(element) && element.hasAttribute('href');\n    }\n    /**\n     * Gets whether an element is an input element.\n     * @param {?} element\n     * @return {?}\n     */\n\n\n    function isInputElement(element) {\n      return element.nodeName.toLowerCase() == 'input';\n    }\n    /**\n     * Gets whether an element is an anchor element.\n     * @param {?} element\n     * @return {?}\n     */\n\n\n    function isAnchorElement(element) {\n      return element.nodeName.toLowerCase() == 'a';\n    }\n    /**\n     * Gets whether an element has a valid tabindex.\n     * @param {?} element\n     * @return {?}\n     */\n\n\n    function hasValidTabIndex(element) {\n      if (!element.hasAttribute('tabindex') || element.tabIndex === undefined) {\n        return false;\n      }\n      /** @type {?} */\n\n\n      var tabIndex = element.getAttribute('tabindex'); // IE11 parses tabindex=\"\" as the value \"-32768\"\n\n      if (tabIndex == '-32768') {\n        return false;\n      }\n\n      return !!(tabIndex && !isNaN(parseInt(tabIndex, 10)));\n    }\n    /**\n     * Returns the parsed tabindex from the element attributes instead of returning the\n     * evaluated tabindex from the browsers defaults.\n     * @param {?} element\n     * @return {?}\n     */\n\n\n    function getTabIndexValue(element) {\n      if (!hasValidTabIndex(element)) {\n        return null;\n      } // See browser issue in Gecko https://bugzilla.mozilla.org/show_bug.cgi?id=1128054\n\n      /** @type {?} */\n\n\n      var tabIndex = parseInt(element.getAttribute('tabindex') || '', 10);\n      return isNaN(tabIndex) ? -1 : tabIndex;\n    }\n    /**\n     * Checks whether the specified element is potentially tabbable on iOS\n     * @param {?} element\n     * @return {?}\n     */\n\n\n    function isPotentiallyTabbableIOS(element) {\n      /** @type {?} */\n      var nodeName = element.nodeName.toLowerCase();\n      /** @type {?} */\n\n      var inputType = nodeName === 'input' &&\n      /** @type {?} */\n      element.type;\n      return inputType === 'text' || inputType === 'password' || nodeName === 'select' || nodeName === 'textarea';\n    }\n    /**\n     * Gets whether an element is potentially focusable without taking current visible/disabled state\n     * into account.\n     * @param {?} element\n     * @return {?}\n     */\n\n\n    function isPotentiallyFocusable(element) {\n      // Inputs are potentially focusable *unless* they're type=\"hidden\".\n      if (isHiddenInput(element)) {\n        return false;\n      }\n\n      return isNativeFormElement(element) || isAnchorWithHref(element) || element.hasAttribute('contenteditable') || hasValidTabIndex(element);\n    }\n    /**\n     * Gets the parent window of a DOM node with regards of being inside of an iframe.\n     * @param {?} node\n     * @return {?}\n     */\n\n\n    function getWindow(node) {\n      // ownerDocument is null if `node` itself *is* a document.\n      return node.ownerDocument && node.ownerDocument.defaultView || window;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Class that allows for trapping focus within a DOM element.\n     *\n     * This class currently uses a relatively simple approach to focus trapping.\n     * It assumes that the tab order is the same as DOM order, which is not necessarily true.\n     * Things like `tabIndex > 0`, flex `order`, and shadow roots can cause to two to misalign.\n     */\n\n\n    var FocusTrap =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _element\n       * @param {?} _checker\n       * @param {?} _ngZone\n       * @param {?} _document\n       * @param {?=} deferAnchors\n       */\n      function FocusTrap(_element, _checker, _ngZone, _document) {\n        var _this53 = this;\n\n        var deferAnchors = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;\n\n        _classCallCheck(this, FocusTrap);\n\n        this._element = _element;\n        this._checker = _checker;\n        this._ngZone = _ngZone;\n        this._document = _document;\n        this._hasAttached = false; // Event listeners for the anchors. Need to be regular functions so that we can unbind them later.\n\n        this.startAnchorListener =\n        /**\n        * @return {?}\n        */\n        function () {\n          return _this53.focusLastTabbableElement();\n        };\n\n        this.endAnchorListener =\n        /**\n        * @return {?}\n        */\n        function () {\n          return _this53.focusFirstTabbableElement();\n        };\n\n        this._enabled = true;\n\n        if (!deferAnchors) {\n          this.attachAnchors();\n        }\n      }\n      /**\n       * Whether the focus trap is active.\n       * @return {?}\n       */\n\n\n      _createClass2(FocusTrap, [{\n        key: \"destroy\",\n\n        /**\n         * Destroys the focus trap by cleaning up the anchors.\n         * @return {?}\n         */\n        value: function destroy() {\n          /** @type {?} */\n          var startAnchor = this._startAnchor;\n          /** @type {?} */\n\n          var endAnchor = this._endAnchor;\n\n          if (startAnchor) {\n            startAnchor.removeEventListener('focus', this.startAnchorListener);\n\n            if (startAnchor.parentNode) {\n              startAnchor.parentNode.removeChild(startAnchor);\n            }\n          }\n\n          if (endAnchor) {\n            endAnchor.removeEventListener('focus', this.endAnchorListener);\n\n            if (endAnchor.parentNode) {\n              endAnchor.parentNode.removeChild(endAnchor);\n            }\n          }\n\n          this._startAnchor = this._endAnchor = null;\n        }\n        /**\n         * Inserts the anchors into the DOM. This is usually done automatically\n         * in the constructor, but can be deferred for cases like directives with `*ngIf`.\n         * @return {?} Whether the focus trap managed to attach successfuly. This may not be the case\n         * if the target element isn't currently in the DOM.\n         */\n\n      }, {\n        key: \"attachAnchors\",\n        value: function attachAnchors() {\n          var _this54 = this;\n\n          // If we're not on the browser, there can be no focus to trap.\n          if (this._hasAttached) {\n            return true;\n          }\n\n          this._ngZone.runOutsideAngular(\n          /**\n          * @return {?}\n          */\n          function () {\n            if (!_this54._startAnchor) {\n              _this54._startAnchor = _this54._createAnchor();\n\n              /** @type {?} */\n              _this54._startAnchor.addEventListener('focus', _this54.startAnchorListener);\n            }\n\n            if (!_this54._endAnchor) {\n              _this54._endAnchor = _this54._createAnchor();\n\n              /** @type {?} */\n              _this54._endAnchor.addEventListener('focus', _this54.endAnchorListener);\n            }\n          });\n\n          if (this._element.parentNode) {\n            this._element.parentNode.insertBefore(\n            /** @type {?} */\n            this._startAnchor, this._element);\n\n            this._element.parentNode.insertBefore(\n            /** @type {?} */\n            this._endAnchor, this._element.nextSibling);\n\n            this._hasAttached = true;\n          }\n\n          return this._hasAttached;\n        }\n        /**\n         * Waits for the zone to stabilize, then either focuses the first element that the\n         * user specified, or the first tabbable element.\n         * @return {?} Returns a promise that resolves with a boolean, depending\n         * on whether focus was moved successfuly.\n         */\n\n      }, {\n        key: \"focusInitialElementWhenReady\",\n        value: function focusInitialElementWhenReady() {\n          var _this55 = this;\n\n          return new Promise(\n          /**\n          * @param {?} resolve\n          * @return {?}\n          */\n          function (resolve) {\n            _this55._executeOnStable(\n            /**\n            * @return {?}\n            */\n            function () {\n              return resolve(_this55.focusInitialElement());\n            });\n          });\n        }\n        /**\n         * Waits for the zone to stabilize, then focuses\n         * the first tabbable element within the focus trap region.\n         * @return {?} Returns a promise that resolves with a boolean, depending\n         * on whether focus was moved successfuly.\n         */\n\n      }, {\n        key: \"focusFirstTabbableElementWhenReady\",\n        value: function focusFirstTabbableElementWhenReady() {\n          var _this56 = this;\n\n          return new Promise(\n          /**\n          * @param {?} resolve\n          * @return {?}\n          */\n          function (resolve) {\n            _this56._executeOnStable(\n            /**\n            * @return {?}\n            */\n            function () {\n              return resolve(_this56.focusFirstTabbableElement());\n            });\n          });\n        }\n        /**\n         * Waits for the zone to stabilize, then focuses\n         * the last tabbable element within the focus trap region.\n         * @return {?} Returns a promise that resolves with a boolean, depending\n         * on whether focus was moved successfuly.\n         */\n\n      }, {\n        key: \"focusLastTabbableElementWhenReady\",\n        value: function focusLastTabbableElementWhenReady() {\n          var _this57 = this;\n\n          return new Promise(\n          /**\n          * @param {?} resolve\n          * @return {?}\n          */\n          function (resolve) {\n            _this57._executeOnStable(\n            /**\n            * @return {?}\n            */\n            function () {\n              return resolve(_this57.focusLastTabbableElement());\n            });\n          });\n        }\n        /**\n         * Get the specified boundary element of the trapped region.\n         * @private\n         * @param {?} bound The boundary to get (start or end of trapped region).\n         * @return {?} The boundary element.\n         */\n\n      }, {\n        key: \"_getRegionBoundary\",\n        value: function _getRegionBoundary(bound) {\n          // Contains the deprecated version of selector, for temporary backwards comparability.\n\n          /** @type {?} */\n          var markers =\n          /** @type {?} */\n          this._element.querySelectorAll(\"[cdk-focus-region-\".concat(bound, \"], \") + \"[cdkFocusRegion\".concat(bound, \"], \") + \"[cdk-focus-\".concat(bound, \"]\"));\n\n          for (var i = 0; i < markers.length; i++) {\n            // @breaking-change 8.0.0\n            if (markers[i].hasAttribute(\"cdk-focus-\".concat(bound))) {\n              console.warn(\"Found use of deprecated attribute 'cdk-focus-\".concat(bound, \"', \") + \"use 'cdkFocusRegion\".concat(bound, \"' instead. The deprecated \") + \"attribute will be removed in 8.0.0.\", markers[i]);\n            } else if (markers[i].hasAttribute(\"cdk-focus-region-\".concat(bound))) {\n              console.warn(\"Found use of deprecated attribute 'cdk-focus-region-\".concat(bound, \"', \") + \"use 'cdkFocusRegion\".concat(bound, \"' instead. The deprecated attribute \") + \"will be removed in 8.0.0.\", markers[i]);\n            }\n          }\n\n          if (bound == 'start') {\n            return markers.length ? markers[0] : this._getFirstTabbableElement(this._element);\n          }\n\n          return markers.length ? markers[markers.length - 1] : this._getLastTabbableElement(this._element);\n        }\n        /**\n         * Focuses the element that should be focused when the focus trap is initialized.\n         * @return {?} Whether focus was moved successfuly.\n         */\n\n      }, {\n        key: \"focusInitialElement\",\n        value: function focusInitialElement() {\n          // Contains the deprecated version of selector, for temporary backwards comparability.\n\n          /** @type {?} */\n          var redirectToElement =\n          /** @type {?} */\n          this._element.querySelector(\"[cdk-focus-initial], \" + \"[cdkFocusInitial]\");\n\n          if (redirectToElement) {\n            // @breaking-change 8.0.0\n            if (redirectToElement.hasAttribute(\"cdk-focus-initial\")) {\n              console.warn(\"Found use of deprecated attribute 'cdk-focus-initial', \" + \"use 'cdkFocusInitial' instead. The deprecated attribute \" + \"will be removed in 8.0.0\", redirectToElement);\n            } // Warn the consumer if the element they've pointed to\n            // isn't focusable, when not in production mode.\n\n\n            if (Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"isDevMode\"])() && !this._checker.isFocusable(redirectToElement)) {\n              console.warn(\"Element matching '[cdkFocusInitial]' is not focusable.\", redirectToElement);\n            }\n\n            redirectToElement.focus();\n            return true;\n          }\n\n          return this.focusFirstTabbableElement();\n        }\n        /**\n         * Focuses the first tabbable element within the focus trap region.\n         * @return {?} Whether focus was moved successfuly.\n         */\n\n      }, {\n        key: \"focusFirstTabbableElement\",\n        value: function focusFirstTabbableElement() {\n          /** @type {?} */\n          var redirectToElement = this._getRegionBoundary('start');\n\n          if (redirectToElement) {\n            redirectToElement.focus();\n          }\n\n          return !!redirectToElement;\n        }\n        /**\n         * Focuses the last tabbable element within the focus trap region.\n         * @return {?} Whether focus was moved successfuly.\n         */\n\n      }, {\n        key: \"focusLastTabbableElement\",\n        value: function focusLastTabbableElement() {\n          /** @type {?} */\n          var redirectToElement = this._getRegionBoundary('end');\n\n          if (redirectToElement) {\n            redirectToElement.focus();\n          }\n\n          return !!redirectToElement;\n        }\n        /**\n         * Checks whether the focus trap has successfuly been attached.\n         * @return {?}\n         */\n\n      }, {\n        key: \"hasAttached\",\n        value: function hasAttached() {\n          return this._hasAttached;\n        }\n        /**\n         * Get the first tabbable element from a DOM subtree (inclusive).\n         * @private\n         * @param {?} root\n         * @return {?}\n         */\n\n      }, {\n        key: \"_getFirstTabbableElement\",\n        value: function _getFirstTabbableElement(root) {\n          if (this._checker.isFocusable(root) && this._checker.isTabbable(root)) {\n            return root;\n          } // Iterate in DOM order. Note that IE doesn't have `children` for SVG so we fall\n          // back to `childNodes` which includes text nodes, comments etc.\n\n          /** @type {?} */\n\n\n          var children = root.children || root.childNodes;\n\n          for (var i = 0; i < children.length; i++) {\n            /** @type {?} */\n            var tabbableChild = children[i].nodeType === this._document.ELEMENT_NODE ? this._getFirstTabbableElement(\n            /** @type {?} */\n            children[i]) : null;\n\n            if (tabbableChild) {\n              return tabbableChild;\n            }\n          }\n\n          return null;\n        }\n        /**\n         * Get the last tabbable element from a DOM subtree (inclusive).\n         * @private\n         * @param {?} root\n         * @return {?}\n         */\n\n      }, {\n        key: \"_getLastTabbableElement\",\n        value: function _getLastTabbableElement(root) {\n          if (this._checker.isFocusable(root) && this._checker.isTabbable(root)) {\n            return root;\n          } // Iterate in reverse DOM order.\n\n          /** @type {?} */\n\n\n          var children = root.children || root.childNodes;\n\n          for (var i = children.length - 1; i >= 0; i--) {\n            /** @type {?} */\n            var tabbableChild = children[i].nodeType === this._document.ELEMENT_NODE ? this._getLastTabbableElement(\n            /** @type {?} */\n            children[i]) : null;\n\n            if (tabbableChild) {\n              return tabbableChild;\n            }\n          }\n\n          return null;\n        }\n        /**\n         * Creates an anchor element.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_createAnchor\",\n        value: function _createAnchor() {\n          /** @type {?} */\n          var anchor = this._document.createElement('div');\n\n          this._toggleAnchorTabIndex(this._enabled, anchor);\n\n          anchor.classList.add('cdk-visually-hidden');\n          anchor.classList.add('cdk-focus-trap-anchor');\n          anchor.setAttribute('aria-hidden', 'true');\n          return anchor;\n        }\n        /**\n         * Toggles the `tabindex` of an anchor, based on the enabled state of the focus trap.\n         * @private\n         * @param {?} isEnabled Whether the focus trap is enabled.\n         * @param {?} anchor Anchor on which to toggle the tabindex.\n         * @return {?}\n         */\n\n      }, {\n        key: \"_toggleAnchorTabIndex\",\n        value: function _toggleAnchorTabIndex(isEnabled, anchor) {\n          // Remove the tabindex completely, rather than setting it to -1, because if the\n          // element has a tabindex, the user might still hit it when navigating with the arrow keys.\n          isEnabled ? anchor.setAttribute('tabindex', '0') : anchor.removeAttribute('tabindex');\n        }\n        /**\n         * Executes a function when the zone is stable.\n         * @private\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"_executeOnStable\",\n        value: function _executeOnStable(fn) {\n          if (this._ngZone.isStable) {\n            fn();\n          } else {\n            this._ngZone.onStable.asObservable().pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"take\"])(1)).subscribe(fn);\n          }\n        }\n      }, {\n        key: \"enabled\",\n        get: function get() {\n          return this._enabled;\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n        ,\n        set: function set(value) {\n          this._enabled = value;\n\n          if (this._startAnchor && this._endAnchor) {\n            this._toggleAnchorTabIndex(value, this._startAnchor);\n\n            this._toggleAnchorTabIndex(value, this._endAnchor);\n          }\n        }\n      }]);\n\n      return FocusTrap;\n    }();\n    /**\n     * Factory that allows easy instantiation of focus traps.\n     */\n\n\n    var FocusTrapFactory =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _checker\n       * @param {?} _ngZone\n       * @param {?} _document\n       */\n      function FocusTrapFactory(_checker, _ngZone, _document) {\n        _classCallCheck(this, FocusTrapFactory);\n\n        this._checker = _checker;\n        this._ngZone = _ngZone;\n        this._document = _document;\n      }\n      /**\n       * Creates a focus-trapped region around the given element.\n       * @param {?} element The element around which focus will be trapped.\n       * @param {?=} deferCaptureElements Defers the creation of focus-capturing elements to be done\n       *     manually by the user.\n       * @return {?} The created focus trap instance.\n       */\n\n\n      _createClass2(FocusTrapFactory, [{\n        key: \"create\",\n        value: function create(element) {\n          var deferCaptureElements = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n          return new FocusTrap(element, this._checker, this._ngZone, this._document, deferCaptureElements);\n        }\n      }]);\n\n      return FocusTrapFactory;\n    }();\n\n    FocusTrapFactory.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    FocusTrapFactory.ctorParameters = function () {\n      return [{\n        type: InteractivityChecker\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgZone\"]\n      }, {\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"],\n          args: [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"]]\n        }]\n      }];\n    };\n    /** @nocollapse */\n\n\n    FocusTrapFactory.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵdefineInjectable\"])({\n      factory: function FocusTrapFactory_Factory() {\n        return new FocusTrapFactory(Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(InteractivityChecker), Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgZone\"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"]));\n      },\n      token: FocusTrapFactory,\n      providedIn: \"root\"\n    });\n    /**\n     * Directive for trapping focus within a region.\n     */\n\n    var CdkTrapFocus =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _elementRef\n       * @param {?} _focusTrapFactory\n       * @param {?} _document\n       */\n      function CdkTrapFocus(_elementRef, _focusTrapFactory, _document) {\n        _classCallCheck(this, CdkTrapFocus);\n\n        this._elementRef = _elementRef;\n        this._focusTrapFactory = _focusTrapFactory;\n        /**\n         * Previously focused element to restore focus to upon destroy when using autoCapture.\n         */\n\n        this._previouslyFocusedElement = null;\n        this._document = _document;\n        this.focusTrap = this._focusTrapFactory.create(this._elementRef.nativeElement, true);\n      }\n      /**\n       * Whether the focus trap is active.\n       * @return {?}\n       */\n\n\n      _createClass2(CdkTrapFocus, [{\n        key: \"ngOnDestroy\",\n\n        /**\n         * @return {?}\n         */\n        value: function ngOnDestroy() {\n          this.focusTrap.destroy(); // If we stored a previously focused element when using autoCapture, return focus to that\n          // element now that the trapped region is being destroyed.\n\n          if (this._previouslyFocusedElement) {\n            this._previouslyFocusedElement.focus();\n\n            this._previouslyFocusedElement = null;\n          }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngAfterContentInit\",\n        value: function ngAfterContentInit() {\n          this.focusTrap.attachAnchors();\n\n          if (this.autoCapture) {\n            this._previouslyFocusedElement =\n            /** @type {?} */\n            this._document.activeElement;\n            this.focusTrap.focusInitialElementWhenReady();\n          }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngDoCheck\",\n        value: function ngDoCheck() {\n          if (!this.focusTrap.hasAttached()) {\n            this.focusTrap.attachAnchors();\n          }\n        }\n      }, {\n        key: \"enabled\",\n        get: function get() {\n          return this.focusTrap.enabled;\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n        ,\n        set: function set(value) {\n          this.focusTrap.enabled = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_6__[\"coerceBooleanProperty\"])(value);\n        }\n        /**\n         * Whether the directive should automatially move focus into the trapped region upon\n         * initialization and return focus to the previous activeElement upon destruction.\n         * @return {?}\n         */\n\n      }, {\n        key: \"autoCapture\",\n        get: function get() {\n          return this._autoCapture;\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n        ,\n        set: function set(value) {\n          this._autoCapture = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_6__[\"coerceBooleanProperty\"])(value);\n        }\n      }]);\n\n      return CdkTrapFocus;\n    }();\n\n    CdkTrapFocus.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Directive\"],\n      args: [{\n        selector: '[cdkTrapFocus]',\n        exportAs: 'cdkTrapFocus'\n      }]\n    }];\n    /** @nocollapse */\n\n    CdkTrapFocus.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ElementRef\"]\n      }, {\n        type: FocusTrapFactory\n      }, {\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"],\n          args: [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"]]\n        }]\n      }];\n    };\n\n    CdkTrapFocus.propDecorators = {\n      enabled: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"],\n        args: ['cdkTrapFocus']\n      }],\n      autoCapture: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"],\n        args: ['cdkTrapFocusAutoCapture']\n      }]\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n    var LIVE_ANNOUNCER_ELEMENT_TOKEN = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"InjectionToken\"]('liveAnnouncerElement', {\n      providedIn: 'root',\n      factory: LIVE_ANNOUNCER_ELEMENT_TOKEN_FACTORY\n    });\n    /**\n     * \\@docs-private\n     * @return {?}\n     */\n\n    function LIVE_ANNOUNCER_ELEMENT_TOKEN_FACTORY() {\n      return null;\n    }\n    /**\n     * Injection token that can be used to configure the default options for the LiveAnnouncer.\n     * @type {?}\n     */\n\n\n    var LIVE_ANNOUNCER_DEFAULT_OPTIONS = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"InjectionToken\"]('LIVE_ANNOUNCER_DEFAULT_OPTIONS');\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    var LiveAnnouncer =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} elementToken\n       * @param {?} _ngZone\n       * @param {?} _document\n       * @param {?=} _defaultOptions\n       */\n      function LiveAnnouncer(elementToken, _ngZone, _document, _defaultOptions) {\n        _classCallCheck(this, LiveAnnouncer);\n\n        this._ngZone = _ngZone;\n        this._defaultOptions = _defaultOptions; // We inject the live element and document as `any` because the constructor signature cannot\n        // reference browser globals (HTMLElement, Document) on non-browser environments, since having\n        // a class decorator causes TypeScript to preserve the constructor signature types.\n\n        this._document = _document;\n        this._liveElement = elementToken || this._createLiveElement();\n      }\n      /**\n       * @param {?} message\n       * @param {...?} args\n       * @return {?}\n       */\n\n\n      _createClass2(LiveAnnouncer, [{\n        key: \"announce\",\n        value: function announce(message) {\n          var _this58 = this;\n\n          /** @type {?} */\n          var defaultOptions = this._defaultOptions;\n          /** @type {?} */\n\n          var politeness;\n          /** @type {?} */\n\n          var duration;\n\n          for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key3 = 1; _key3 < _len2; _key3++) {\n            args[_key3 - 1] = arguments[_key3];\n          }\n\n          if (args.length === 1 && typeof args[0] === 'number') {\n            duration = args[0];\n          } else {\n            politeness = args[0];\n            duration = args[1];\n          }\n\n          this.clear();\n          clearTimeout(this._previousTimeout);\n\n          if (!politeness) {\n            politeness = defaultOptions && defaultOptions.politeness ? defaultOptions.politeness : 'polite';\n          }\n\n          if (duration == null && defaultOptions) {\n            duration = defaultOptions.duration;\n          } // TODO: ensure changing the politeness works on all environments we support.\n\n\n          this._liveElement.setAttribute('aria-live', politeness); // This 100ms timeout is necessary for some browser + screen-reader combinations:\n          // - Both JAWS and NVDA over IE11 will not announce anything without a non-zero timeout.\n          // - With Chrome and IE11 with NVDA or JAWS, a repeated (identical) message won't be read a\n          //   second time without clearing and then using a non-zero delay.\n          // (using JAWS 17 at time of this writing).\n\n\n          return this._ngZone.runOutsideAngular(\n          /**\n          * @return {?}\n          */\n          function () {\n            return new Promise(\n            /**\n            * @param {?} resolve\n            * @return {?}\n            */\n            function (resolve) {\n              clearTimeout(_this58._previousTimeout);\n              _this58._previousTimeout = setTimeout(\n              /**\n              * @return {?}\n              */\n              function () {\n                _this58._liveElement.textContent = message;\n                resolve();\n\n                if (typeof duration === 'number') {\n                  _this58._previousTimeout = setTimeout(\n                  /**\n                  * @return {?}\n                  */\n                  function () {\n                    return _this58.clear();\n                  }, duration);\n                }\n              }, 100);\n            });\n          });\n        }\n        /**\n         * Clears the current text from the announcer element. Can be used to prevent\n         * screen readers from reading the text out again while the user is going\n         * through the page landmarks.\n         * @return {?}\n         */\n\n      }, {\n        key: \"clear\",\n        value: function clear() {\n          if (this._liveElement) {\n            this._liveElement.textContent = '';\n          }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          clearTimeout(this._previousTimeout);\n\n          if (this._liveElement && this._liveElement.parentNode) {\n            this._liveElement.parentNode.removeChild(this._liveElement);\n\n            this._liveElement =\n            /** @type {?} */\n            null;\n          }\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_createLiveElement\",\n        value: function _createLiveElement() {\n          /** @type {?} */\n          var elementClass = 'cdk-live-announcer-element';\n          /** @type {?} */\n\n          var previousElements = this._document.getElementsByClassName(elementClass);\n          /** @type {?} */\n\n\n          var liveEl = this._document.createElement('div'); // Remove any old containers. This can happen when coming in from a server-side-rendered page.\n\n\n          for (var i = 0; i < previousElements.length; i++) {\n            /** @type {?} */\n            previousElements[i].parentNode.removeChild(previousElements[i]);\n          }\n\n          liveEl.classList.add(elementClass);\n          liveEl.classList.add('cdk-visually-hidden');\n          liveEl.setAttribute('aria-atomic', 'true');\n          liveEl.setAttribute('aria-live', 'polite');\n\n          this._document.body.appendChild(liveEl);\n\n          return liveEl;\n        }\n      }]);\n\n      return LiveAnnouncer;\n    }();\n\n    LiveAnnouncer.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    LiveAnnouncer.ctorParameters = function () {\n      return [{\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"],\n          args: [LIVE_ANNOUNCER_ELEMENT_TOKEN]\n        }]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgZone\"]\n      }, {\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"],\n          args: [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"]]\n        }]\n      }, {\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"],\n          args: [LIVE_ANNOUNCER_DEFAULT_OPTIONS]\n        }]\n      }];\n    };\n    /** @nocollapse */\n\n\n    LiveAnnouncer.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵdefineInjectable\"])({\n      factory: function LiveAnnouncer_Factory() {\n        return new LiveAnnouncer(Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(LIVE_ANNOUNCER_ELEMENT_TOKEN, 8), Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgZone\"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(LIVE_ANNOUNCER_DEFAULT_OPTIONS, 8));\n      },\n      token: LiveAnnouncer,\n      providedIn: \"root\"\n    });\n    /**\n     * A directive that works similarly to aria-live, but uses the LiveAnnouncer to ensure compatibility\n     * with a wider range of browsers and screen readers.\n     */\n\n    var CdkAriaLive =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _elementRef\n       * @param {?} _liveAnnouncer\n       * @param {?} _contentObserver\n       * @param {?} _ngZone\n       */\n      function CdkAriaLive(_elementRef, _liveAnnouncer, _contentObserver, _ngZone) {\n        _classCallCheck(this, CdkAriaLive);\n\n        this._elementRef = _elementRef;\n        this._liveAnnouncer = _liveAnnouncer;\n        this._contentObserver = _contentObserver;\n        this._ngZone = _ngZone;\n        this._politeness = 'off';\n      }\n      /**\n       * The aria-live politeness level to use when announcing messages.\n       * @return {?}\n       */\n\n\n      _createClass2(CdkAriaLive, [{\n        key: \"ngOnDestroy\",\n\n        /**\n         * @return {?}\n         */\n        value: function ngOnDestroy() {\n          if (this._subscription) {\n            this._subscription.unsubscribe();\n          }\n        }\n      }, {\n        key: \"politeness\",\n        get: function get() {\n          return this._politeness;\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n        ,\n        set: function set(value) {\n          var _this59 = this;\n\n          this._politeness = value === 'polite' || value === 'assertive' ? value : 'off';\n\n          if (this._politeness === 'off') {\n            if (this._subscription) {\n              this._subscription.unsubscribe();\n\n              this._subscription = null;\n            }\n          } else if (!this._subscription) {\n            this._subscription = this._ngZone.runOutsideAngular(\n            /**\n            * @return {?}\n            */\n            function () {\n              return _this59._contentObserver.observe(_this59._elementRef).subscribe(\n              /**\n              * @return {?}\n              */\n              function () {\n                // Note that we use textContent here, rather than innerText, in order to avoid a reflow.\n\n                /** @type {?} */\n                var elementText = _this59._elementRef.nativeElement.textContent; // The `MutationObserver` fires also for attribute\n                // changes which we don't want to announce.\n\n                if (elementText !== _this59._previousAnnouncedText) {\n                  _this59._liveAnnouncer.announce(elementText, _this59._politeness);\n\n                  _this59._previousAnnouncedText = elementText;\n                }\n              });\n            });\n          }\n        }\n      }]);\n\n      return CdkAriaLive;\n    }();\n\n    CdkAriaLive.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Directive\"],\n      args: [{\n        selector: '[cdkAriaLive]',\n        exportAs: 'cdkAriaLive'\n      }]\n    }];\n    /** @nocollapse */\n\n    CdkAriaLive.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ElementRef\"]\n      }, {\n        type: LiveAnnouncer\n      }, {\n        type: _angular_cdk_observers__WEBPACK_IMPORTED_MODULE_7__[\"ContentObserver\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgZone\"]\n      }];\n    };\n\n    CdkAriaLive.propDecorators = {\n      politeness: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"],\n        args: ['cdkAriaLive']\n      }]\n    };\n    /**\n     * \\@docs-private \\@deprecated \\@breaking-change 8.0.0\n     * @param {?} parentAnnouncer\n     * @param {?} liveElement\n     * @param {?} _document\n     * @param {?} ngZone\n     * @return {?}\n     */\n\n    function LIVE_ANNOUNCER_PROVIDER_FACTORY(parentAnnouncer, liveElement, _document, ngZone) {\n      return parentAnnouncer || new LiveAnnouncer(liveElement, ngZone, _document);\n    }\n    /**\n     * \\@docs-private \\@deprecated \\@breaking-change 8.0.0\n     * @type {?}\n     */\n\n\n    var LIVE_ANNOUNCER_PROVIDER = {\n      // If there is already a LiveAnnouncer available, use that. Otherwise, provide a new one.\n      provide: LiveAnnouncer,\n      deps: [[new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"](), new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"SkipSelf\"](), LiveAnnouncer], [new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"](), new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"](LIVE_ANNOUNCER_ELEMENT_TOKEN)], _angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"], _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgZone\"]],\n      useFactory: LIVE_ANNOUNCER_PROVIDER_FACTORY\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n    // This is the value used by AngularJS Material. Through trial and error (on iPhone 6S) they found\n    // that a value of around 650ms seems appropriate.\n\n    /** @type {?} */\n\n    var TOUCH_BUFFER_MS = 650;\n    /**\n     * Event listener options that enable capturing and also\n     * mark the listener as passive if the browser supports it.\n     * @type {?}\n     */\n\n    var captureEventListenerOptions = Object(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_5__[\"normalizePassiveListenerOptions\"])({\n      passive: true,\n      capture: true\n    });\n    /**\n     * Monitors mouse and keyboard events to determine the cause of focus events.\n     */\n\n    var FocusMonitor =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _ngZone\n       * @param {?} _platform\n       */\n      function FocusMonitor(_ngZone, _platform) {\n        var _this60 = this;\n\n        _classCallCheck(this, FocusMonitor);\n\n        this._ngZone = _ngZone;\n        this._platform = _platform;\n        /**\n         * The focus origin that the next focus event is a result of.\n         */\n\n        this._origin = null;\n        /**\n         * Whether the window has just been focused.\n         */\n\n        this._windowFocused = false;\n        /**\n         * Map of elements being monitored to their info.\n         */\n\n        this._elementInfo = new Map();\n        /**\n         * The number of elements currently being monitored.\n         */\n\n        this._monitoredElementCount = 0;\n        /**\n         * Event listener for `keydown` events on the document.\n         * Needs to be an arrow function in order to preserve the context when it gets bound.\n         */\n\n        this._documentKeydownListener =\n        /**\n        * @return {?}\n        */\n        function () {\n          // On keydown record the origin and clear any touch event that may be in progress.\n          _this60._lastTouchTarget = null;\n\n          _this60._setOriginForCurrentEventQueue('keyboard');\n        };\n        /**\n         * Event listener for `mousedown` events on the document.\n         * Needs to be an arrow function in order to preserve the context when it gets bound.\n         */\n\n\n        this._documentMousedownListener =\n        /**\n        * @return {?}\n        */\n        function () {\n          // On mousedown record the origin only if there is not touch\n          // target, since a mousedown can happen as a result of a touch event.\n          if (!_this60._lastTouchTarget) {\n            _this60._setOriginForCurrentEventQueue('mouse');\n          }\n        };\n        /**\n         * Event listener for `touchstart` events on the document.\n         * Needs to be an arrow function in order to preserve the context when it gets bound.\n         */\n\n\n        this._documentTouchstartListener =\n        /**\n        * @param {?} event\n        * @return {?}\n        */\n        function (event) {\n          // When the touchstart event fires the focus event is not yet in the event queue. This means\n          // we can't rely on the trick used above (setting timeout of 1ms). Instead we wait 650ms to\n          // see if a focus happens.\n          if (_this60._touchTimeoutId != null) {\n            clearTimeout(_this60._touchTimeoutId);\n          } // Since this listener is bound on the `document` level, any events coming from the shadow DOM\n          // will have their `target` set to the shadow root. If available, use `composedPath` to\n          // figure out the event target.\n\n\n          _this60._lastTouchTarget = event.composedPath ? event.composedPath()[0] : event.target;\n          _this60._touchTimeoutId = setTimeout(\n          /**\n          * @return {?}\n          */\n          function () {\n            return _this60._lastTouchTarget = null;\n          }, TOUCH_BUFFER_MS);\n        };\n        /**\n         * Event listener for `focus` events on the window.\n         * Needs to be an arrow function in order to preserve the context when it gets bound.\n         */\n\n\n        this._windowFocusListener =\n        /**\n        * @return {?}\n        */\n        function () {\n          // Make a note of when the window regains focus, so we can\n          // restore the origin info for the focused element.\n          _this60._windowFocused = true;\n          _this60._windowFocusTimeoutId = setTimeout(\n          /**\n          * @return {?}\n          */\n          function () {\n            return _this60._windowFocused = false;\n          });\n        };\n      }\n      /**\n       * @param {?} element\n       * @param {?=} checkChildren\n       * @return {?}\n       */\n\n\n      _createClass2(FocusMonitor, [{\n        key: \"monitor\",\n        value: function monitor(element) {\n          var _this61 = this;\n\n          var checkChildren = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n          // Do nothing if we're not on the browser platform.\n          if (!this._platform.isBrowser) {\n            return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(null);\n          }\n          /** @type {?} */\n\n\n          var nativeElement = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_6__[\"coerceElement\"])(element); // Check if we're already monitoring this element.\n\n          if (this._elementInfo.has(nativeElement)) {\n            /** @type {?} */\n            var cachedInfo = this._elementInfo.get(nativeElement);\n\n            /** @type {?} */\n            cachedInfo.checkChildren = checkChildren;\n            return (\n              /** @type {?} */\n              cachedInfo.subject.asObservable()\n            );\n          } // Create monitored element info.\n\n          /** @type {?} */\n\n\n          var info = {\n            unlisten:\n            /**\n            * @return {?}\n            */\n            function unlisten() {},\n            checkChildren: checkChildren,\n            subject: new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Subject\"]()\n          };\n\n          this._elementInfo.set(nativeElement, info);\n\n          this._incrementMonitoredElementCount(); // Start listening. We need to listen in capture phase since focus events don't bubble.\n\n          /** @type {?} */\n\n\n          var focusListener =\n          /**\n          * @param {?} event\n          * @return {?}\n          */\n          function focusListener(event) {\n            return _this61._onFocus(event, nativeElement);\n          };\n          /** @type {?} */\n\n\n          var blurListener =\n          /**\n          * @param {?} event\n          * @return {?}\n          */\n          function blurListener(event) {\n            return _this61._onBlur(event, nativeElement);\n          };\n\n          this._ngZone.runOutsideAngular(\n          /**\n          * @return {?}\n          */\n          function () {\n            nativeElement.addEventListener('focus', focusListener, true);\n            nativeElement.addEventListener('blur', blurListener, true);\n          }); // Create an unlisten function for later.\n\n\n          info.unlisten =\n          /**\n          * @return {?}\n          */\n          function () {\n            nativeElement.removeEventListener('focus', focusListener, true);\n            nativeElement.removeEventListener('blur', blurListener, true);\n          };\n\n          return info.subject.asObservable();\n        }\n        /**\n         * @param {?} element\n         * @return {?}\n         */\n\n      }, {\n        key: \"stopMonitoring\",\n        value: function stopMonitoring(element) {\n          /** @type {?} */\n          var nativeElement = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_6__[\"coerceElement\"])(element);\n          /** @type {?} */\n\n          var elementInfo = this._elementInfo.get(nativeElement);\n\n          if (elementInfo) {\n            elementInfo.unlisten();\n            elementInfo.subject.complete();\n\n            this._setClasses(nativeElement);\n\n            this._elementInfo.delete(nativeElement);\n\n            this._decrementMonitoredElementCount();\n          }\n        }\n        /**\n         * @param {?} element\n         * @param {?} origin\n         * @param {?=} options\n         * @return {?}\n         */\n\n      }, {\n        key: \"focusVia\",\n        value: function focusVia(element, origin, options) {\n          /** @type {?} */\n          var nativeElement = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_6__[\"coerceElement\"])(element);\n\n          this._setOriginForCurrentEventQueue(origin); // `focus` isn't available on the server\n\n\n          if (typeof nativeElement.focus === 'function') {\n            // Cast the element to `any`, because the TS typings don't have the `options` parameter yet.\n\n            /** @type {?} */\n            nativeElement.focus(options);\n          }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          var _this62 = this;\n\n          this._elementInfo.forEach(\n          /**\n          * @param {?} _info\n          * @param {?} element\n          * @return {?}\n          */\n          function (_info, element) {\n            return _this62.stopMonitoring(element);\n          });\n        }\n        /**\n         * @private\n         * @param {?} element\n         * @param {?} className\n         * @param {?} shouldSet\n         * @return {?}\n         */\n\n      }, {\n        key: \"_toggleClass\",\n        value: function _toggleClass(element, className, shouldSet) {\n          if (shouldSet) {\n            element.classList.add(className);\n          } else {\n            element.classList.remove(className);\n          }\n        }\n        /**\n         * Sets the focus classes on the element based on the given focus origin.\n         * @private\n         * @param {?} element The element to update the classes on.\n         * @param {?=} origin The focus origin.\n         * @return {?}\n         */\n\n      }, {\n        key: \"_setClasses\",\n        value: function _setClasses(element, origin) {\n          /** @type {?} */\n          var elementInfo = this._elementInfo.get(element);\n\n          if (elementInfo) {\n            this._toggleClass(element, 'cdk-focused', !!origin);\n\n            this._toggleClass(element, 'cdk-touch-focused', origin === 'touch');\n\n            this._toggleClass(element, 'cdk-keyboard-focused', origin === 'keyboard');\n\n            this._toggleClass(element, 'cdk-mouse-focused', origin === 'mouse');\n\n            this._toggleClass(element, 'cdk-program-focused', origin === 'program');\n          }\n        }\n        /**\n         * Sets the origin and schedules an async function to clear it at the end of the event queue.\n         * @private\n         * @param {?} origin The origin to set.\n         * @return {?}\n         */\n\n      }, {\n        key: \"_setOriginForCurrentEventQueue\",\n        value: function _setOriginForCurrentEventQueue(origin) {\n          var _this63 = this;\n\n          this._ngZone.runOutsideAngular(\n          /**\n          * @return {?}\n          */\n          function () {\n            _this63._origin = origin; // Sometimes the focus origin won't be valid in Firefox because Firefox seems to focus *one*\n            // tick after the interaction event fired. To ensure the focus origin is always correct,\n            // the focus origin will be determined at the beginning of the next tick.\n\n            _this63._originTimeoutId = setTimeout(\n            /**\n            * @return {?}\n            */\n            function () {\n              return _this63._origin = null;\n            }, 1);\n          });\n        }\n        /**\n         * Checks whether the given focus event was caused by a touchstart event.\n         * @private\n         * @param {?} event The focus event to check.\n         * @return {?} Whether the event was caused by a touch.\n         */\n\n      }, {\n        key: \"_wasCausedByTouch\",\n        value: function _wasCausedByTouch(event) {\n          // Note(mmalerba): This implementation is not quite perfect, there is a small edge case.\n          // Consider the following dom structure:\n          //\n          // <div #parent tabindex=\"0\" cdkFocusClasses>\n          //   <div #child (click)=\"#parent.focus()\"></div>\n          // </div>\n          //\n          // If the user touches the #child element and the #parent is programmatically focused as a\n          // result, this code will still consider it to have been caused by the touch event and will\n          // apply the cdk-touch-focused class rather than the cdk-program-focused class. This is a\n          // relatively small edge-case that can be worked around by using\n          // focusVia(parentEl, 'program') to focus the parent element.\n          //\n          // If we decide that we absolutely must handle this case correctly, we can do so by listening\n          // for the first focus event after the touchstart, and then the first blur event after that\n          // focus event. When that blur event fires we know that whatever follows is not a result of the\n          // touchstart.\n\n          /** @type {?} */\n          var focusTarget = event.target;\n          return this._lastTouchTarget instanceof Node && focusTarget instanceof Node && (focusTarget === this._lastTouchTarget || focusTarget.contains(this._lastTouchTarget));\n        }\n        /**\n         * Handles focus events on a registered element.\n         * @private\n         * @param {?} event The focus event.\n         * @param {?} element The monitored element.\n         * @return {?}\n         */\n\n      }, {\n        key: \"_onFocus\",\n        value: function _onFocus(event, element) {\n          // NOTE(mmalerba): We currently set the classes based on the focus origin of the most recent\n          // focus event affecting the monitored element. If we want to use the origin of the first event\n          // instead we should check for the cdk-focused class here and return if the element already has\n          // it. (This only matters for elements that have includesChildren = true).\n          // NOTE(mmalerba): We currently set the classes based on the focus origin of the most recent\n          // focus event affecting the monitored element. If we want to use the origin of the first event\n          // instead we should check for the cdk-focused class here and return if the element already has\n          // it. (This only matters for elements that have includesChildren = true).\n          // If we are not counting child-element-focus as focused, make sure that the event target is the\n          // monitored element itself.\n\n          /** @type {?} */\n          var elementInfo = this._elementInfo.get(element);\n\n          if (!elementInfo || !elementInfo.checkChildren && element !== event.target) {\n            return;\n          } // If we couldn't detect a cause for the focus event, it's due to one of three reasons:\n          // 1) The window has just regained focus, in which case we want to restore the focused state of\n          //    the element from before the window blurred.\n          // 2) It was caused by a touch event, in which case we mark the origin as 'touch'.\n          // 3) The element was programmatically focused, in which case we should mark the origin as\n          //    'program'.\n\n          /** @type {?} */\n\n\n          var origin = this._origin;\n\n          if (!origin) {\n            if (this._windowFocused && this._lastFocusOrigin) {\n              origin = this._lastFocusOrigin;\n            } else if (this._wasCausedByTouch(event)) {\n              origin = 'touch';\n            } else {\n              origin = 'program';\n            }\n          }\n\n          this._setClasses(element, origin);\n\n          this._emitOrigin(elementInfo.subject, origin);\n\n          this._lastFocusOrigin = origin;\n        }\n        /**\n         * Handles blur events on a registered element.\n         * @param {?} event The blur event.\n         * @param {?} element The monitored element.\n         * @return {?}\n         */\n\n      }, {\n        key: \"_onBlur\",\n        value: function _onBlur(event, element) {\n          // If we are counting child-element-focus as focused, make sure that we aren't just blurring in\n          // order to focus another child of the monitored element.\n\n          /** @type {?} */\n          var elementInfo = this._elementInfo.get(element);\n\n          if (!elementInfo || elementInfo.checkChildren && event.relatedTarget instanceof Node && element.contains(event.relatedTarget)) {\n            return;\n          }\n\n          this._setClasses(element);\n\n          this._emitOrigin(elementInfo.subject, null);\n        }\n        /**\n         * @private\n         * @param {?} subject\n         * @param {?} origin\n         * @return {?}\n         */\n\n      }, {\n        key: \"_emitOrigin\",\n        value: function _emitOrigin(subject, origin) {\n          this._ngZone.run(\n          /**\n          * @return {?}\n          */\n          function () {\n            return subject.next(origin);\n          });\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_incrementMonitoredElementCount\",\n        value: function _incrementMonitoredElementCount() {\n          var _this64 = this;\n\n          // Register global listeners when first element is monitored.\n          if (++this._monitoredElementCount == 1 && this._platform.isBrowser) {\n            // Note: we listen to events in the capture phase so we\n            // can detect them even if the user stops propagation.\n            this._ngZone.runOutsideAngular(\n            /**\n            * @return {?}\n            */\n            function () {\n              document.addEventListener('keydown', _this64._documentKeydownListener, captureEventListenerOptions);\n              document.addEventListener('mousedown', _this64._documentMousedownListener, captureEventListenerOptions);\n              document.addEventListener('touchstart', _this64._documentTouchstartListener, captureEventListenerOptions);\n              window.addEventListener('focus', _this64._windowFocusListener);\n            });\n          }\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_decrementMonitoredElementCount\",\n        value: function _decrementMonitoredElementCount() {\n          // Unregister global listeners when last element is unmonitored.\n          if (! --this._monitoredElementCount) {\n            document.removeEventListener('keydown', this._documentKeydownListener, captureEventListenerOptions);\n            document.removeEventListener('mousedown', this._documentMousedownListener, captureEventListenerOptions);\n            document.removeEventListener('touchstart', this._documentTouchstartListener, captureEventListenerOptions);\n            window.removeEventListener('focus', this._windowFocusListener); // Clear timeouts for all potentially pending timeouts to prevent the leaks.\n\n            clearTimeout(this._windowFocusTimeoutId);\n            clearTimeout(this._touchTimeoutId);\n            clearTimeout(this._originTimeoutId);\n          }\n        }\n      }]);\n\n      return FocusMonitor;\n    }();\n\n    FocusMonitor.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    FocusMonitor.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgZone\"]\n      }, {\n        type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_5__[\"Platform\"]\n      }];\n    };\n    /** @nocollapse */\n\n\n    FocusMonitor.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵdefineInjectable\"])({\n      factory: function FocusMonitor_Factory() {\n        return new FocusMonitor(Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgZone\"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_5__[\"Platform\"]));\n      },\n      token: FocusMonitor,\n      providedIn: \"root\"\n    });\n    /**\n     * Directive that determines how a particular element was focused (via keyboard, mouse, touch, or\n     * programmatically) and adds corresponding classes to the element.\n     *\n     * There are two variants of this directive:\n     * 1) cdkMonitorElementFocus: does not consider an element to be focused if one of its children is\n     *    focused.\n     * 2) cdkMonitorSubtreeFocus: considers an element focused if it or any of its children are focused.\n     */\n\n    var CdkMonitorFocus =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _elementRef\n       * @param {?} _focusMonitor\n       */\n      function CdkMonitorFocus(_elementRef, _focusMonitor) {\n        var _this65 = this;\n\n        _classCallCheck(this, CdkMonitorFocus);\n\n        this._elementRef = _elementRef;\n        this._focusMonitor = _focusMonitor;\n        this.cdkFocusChange = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"EventEmitter\"]();\n        this._monitorSubscription = this._focusMonitor.monitor(this._elementRef, this._elementRef.nativeElement.hasAttribute('cdkMonitorSubtreeFocus')).subscribe(\n        /**\n        * @param {?} origin\n        * @return {?}\n        */\n        function (origin) {\n          return _this65.cdkFocusChange.emit(origin);\n        });\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(CdkMonitorFocus, [{\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          this._focusMonitor.stopMonitoring(this._elementRef);\n\n          this._monitorSubscription.unsubscribe();\n        }\n      }]);\n\n      return CdkMonitorFocus;\n    }();\n\n    CdkMonitorFocus.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Directive\"],\n      args: [{\n        selector: '[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]'\n      }]\n    }];\n    /** @nocollapse */\n\n    CdkMonitorFocus.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ElementRef\"]\n      }, {\n        type: FocusMonitor\n      }];\n    };\n\n    CdkMonitorFocus.propDecorators = {\n      cdkFocusChange: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Output\"]\n      }]\n    };\n    /**\n     * \\@docs-private \\@deprecated \\@breaking-change 8.0.0\n     * @param {?} parentDispatcher\n     * @param {?} ngZone\n     * @param {?} platform\n     * @return {?}\n     */\n\n    function FOCUS_MONITOR_PROVIDER_FACTORY(parentDispatcher, ngZone, platform) {\n      return parentDispatcher || new FocusMonitor(ngZone, platform);\n    }\n    /**\n     * \\@docs-private \\@deprecated \\@breaking-change 8.0.0\n     * @type {?}\n     */\n\n\n    var FOCUS_MONITOR_PROVIDER = {\n      // If there is already a FocusMonitor available, use that. Otherwise, provide a new one.\n      provide: FocusMonitor,\n      deps: [[new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"](), new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"SkipSelf\"](), FocusMonitor], _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgZone\"], _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_5__[\"Platform\"]],\n      useFactory: FOCUS_MONITOR_PROVIDER_FACTORY\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Screenreaders will often fire fake mousedown events when a focusable element\n     * is activated using the keyboard. We can typically distinguish between these faked\n     * mousedown events and real mousedown events using the \"buttons\" property. While\n     * real mousedowns will indicate the mouse button that was pressed (e.g. \"1\" for\n     * the left mouse button), faked mousedowns will usually set the property value to 0.\n     * @param {?} event\n     * @return {?}\n     */\n\n    function isFakeMousedownFromScreenReader(event) {\n      return event.buttons === 0;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n\n    var A11yModule = function A11yModule() {\n      _classCallCheck(this, A11yModule);\n    };\n\n    A11yModule.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgModule\"],\n      args: [{\n        imports: [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"CommonModule\"], _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_5__[\"PlatformModule\"], _angular_cdk_observers__WEBPACK_IMPORTED_MODULE_7__[\"ObserversModule\"]],\n        declarations: [CdkAriaLive, CdkTrapFocus, CdkMonitorFocus],\n        exports: [CdkAriaLive, CdkTrapFocus, CdkMonitorFocus]\n      }]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /***/\n  },\n\n  /***/\n  \"./node_modules/@angular/cdk/esm2015/bidi.js\":\n  /*!***************************************************!*\\\n    !*** ./node_modules/@angular/cdk/esm2015/bidi.js ***!\n    \\***************************************************/\n\n  /*! exports provided: Directionality, DIR_DOCUMENT, Dir, BidiModule, ɵa */\n\n  /***/\n  function node_modulesAngularCdkEsm2015BidiJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Directionality\", function () {\n      return Directionality;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DIR_DOCUMENT\", function () {\n      return DIR_DOCUMENT;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Dir\", function () {\n      return Dir;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"BidiModule\", function () {\n      return BidiModule;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵa\", function () {\n      return DIR_DOCUMENT_FACTORY;\n    });\n    /* harmony import */\n\n\n    var _angular_common__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! @angular/common */\n    \"./node_modules/@angular/common/fesm2015/common.js\");\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /**\n     * @license\n     * Copyright Google LLC All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Injection token used to inject the document into Directionality.\n     * This is used so that the value can be faked in tests.\n     *\n     * We can't use the real document in tests because changing the real `dir` causes geometry-based\n     * tests in Safari to fail.\n     *\n     * We also can't re-provide the DOCUMENT token from platform-brower because the unit tests\n     * themselves use things like `querySelector` in test code.\n     *\n     * This token is defined in a separate file from Directionality as a workaround for\n     * https://github.com/angular/angular/issues/22559\n     *\n     * \\@docs-private\n     * @type {?}\n     */\n\n\n    var DIR_DOCUMENT = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"InjectionToken\"]('cdk-dir-doc', {\n      providedIn: 'root',\n      factory: DIR_DOCUMENT_FACTORY\n    });\n    /**\n     * \\@docs-private\n     * @return {?}\n     */\n\n    function DIR_DOCUMENT_FACTORY() {\n      return Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"inject\"])(_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"]);\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * The directionality (LTR / RTL) context for the application (or a subtree of it).\n     * Exposes the current direction and a stream of direction changes.\n     */\n\n\n    var Directionality =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?=} _document\n       */\n      function Directionality(_document) {\n        _classCallCheck(this, Directionality);\n\n        /**\n         * The current 'ltr' or 'rtl' value.\n         */\n        this.value = 'ltr';\n        /**\n         * Stream that emits whenever the 'ltr' / 'rtl' state changes.\n         */\n\n        this.change = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"EventEmitter\"]();\n\n        if (_document) {\n          // TODO: handle 'auto' value -\n          // We still need to account for dir=\"auto\".\n          // It looks like HTMLElemenet.dir is also \"auto\" when that's set to the attribute,\n          // but getComputedStyle return either \"ltr\" or \"rtl\". avoiding getComputedStyle for now\n\n          /** @type {?} */\n          var bodyDir = _document.body ? _document.body.dir : null;\n          /** @type {?} */\n\n          var htmlDir = _document.documentElement ? _document.documentElement.dir : null;\n          /** @type {?} */\n\n          var value = bodyDir || htmlDir;\n          this.value = value === 'ltr' || value === 'rtl' ? value : 'ltr';\n        }\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(Directionality, [{\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          this.change.complete();\n        }\n      }]);\n\n      return Directionality;\n    }();\n\n    Directionality.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    Directionality.ctorParameters = function () {\n      return [{\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"],\n          args: [DIR_DOCUMENT]\n        }]\n      }];\n    };\n    /** @nocollapse */\n\n\n    Directionality.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵdefineInjectable\"])({\n      factory: function Directionality_Factory() {\n        return new Directionality(Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(DIR_DOCUMENT, 8));\n      },\n      token: Directionality,\n      providedIn: \"root\"\n    });\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Directive to listen for changes of direction of part of the DOM.\n     *\n     * Provides itself as Directionality such that descendant directives only need to ever inject\n     * Directionality to get the closest direction.\n     */\n\n    var Dir =\n    /*#__PURE__*/\n    function () {\n      function Dir() {\n        _classCallCheck(this, Dir);\n\n        /**\n         * Normalized direction that accounts for invalid/unsupported values.\n         */\n        this._dir = 'ltr';\n        /**\n         * Whether the `value` has been set to its initial value.\n         */\n\n        this._isInitialized = false;\n        /**\n         * Event emitted when the direction changes.\n         */\n\n        this.change = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"EventEmitter\"]();\n      }\n      /**\n       * \\@docs-private\n       * @return {?}\n       */\n\n\n      _createClass2(Dir, [{\n        key: \"ngAfterContentInit\",\n\n        /**\n         * Initialize once default value has been set.\n         * @return {?}\n         */\n        value: function ngAfterContentInit() {\n          this._isInitialized = true;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          this.change.complete();\n        }\n      }, {\n        key: \"dir\",\n        get: function get() {\n          return this._dir;\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n        ,\n        set: function set(value) {\n          /** @type {?} */\n          var old = this._dir;\n          /** @type {?} */\n\n          var normalizedValue = value ? value.toLowerCase() : value;\n          this._rawDir = value;\n          this._dir = normalizedValue === 'ltr' || normalizedValue === 'rtl' ? normalizedValue : 'ltr';\n\n          if (old !== this._dir && this._isInitialized) {\n            this.change.emit(this._dir);\n          }\n        }\n        /**\n         * Current layout direction of the element.\n         * @return {?}\n         */\n\n      }, {\n        key: \"value\",\n        get: function get() {\n          return this.dir;\n        }\n      }]);\n\n      return Dir;\n    }();\n\n    Dir.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Directive\"],\n      args: [{\n        selector: '[dir]',\n        providers: [{\n          provide: Directionality,\n          useExisting: Dir\n        }],\n        host: {\n          '[attr.dir]': '_rawDir'\n        },\n        exportAs: 'dir'\n      }]\n    }];\n    Dir.propDecorators = {\n      change: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Output\"],\n        args: ['dirChange']\n      }],\n      dir: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"]\n      }]\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    var BidiModule = function BidiModule() {\n      _classCallCheck(this, BidiModule);\n    };\n\n    BidiModule.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgModule\"],\n      args: [{\n        exports: [Dir],\n        declarations: [Dir]\n      }]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /***/\n  },\n\n  /***/\n  \"./node_modules/@angular/cdk/esm2015/cdk.js\":\n  /*!**************************************************!*\\\n    !*** ./node_modules/@angular/cdk/esm2015/cdk.js ***!\n    \\**************************************************/\n\n  /*! exports provided: VERSION */\n\n  /***/\n  function node_modulesAngularCdkEsm2015CdkJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"VERSION\", function () {\n      return VERSION;\n    });\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /**\n     * @license\n     * Copyright Google LLC All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Current version of the Angular Component Development Kit.\n     * @type {?}\n     */\n\n\n    var VERSION = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Version\"]('8.2.3');\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /***/\n  },\n\n  /***/\n  \"./node_modules/@angular/cdk/esm2015/coercion.js\":\n  /*!*******************************************************!*\\\n    !*** ./node_modules/@angular/cdk/esm2015/coercion.js ***!\n    \\*******************************************************/\n\n  /*! exports provided: coerceBooleanProperty, coerceNumberProperty, _isNumberValue, coerceArray, coerceCssPixelValue, coerceElement */\n\n  /***/\n  function node_modulesAngularCdkEsm2015CoercionJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"coerceBooleanProperty\", function () {\n      return coerceBooleanProperty;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"coerceNumberProperty\", function () {\n      return coerceNumberProperty;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"_isNumberValue\", function () {\n      return _isNumberValue;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"coerceArray\", function () {\n      return coerceArray;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"coerceCssPixelValue\", function () {\n      return coerceCssPixelValue;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"coerceElement\", function () {\n      return coerceElement;\n    });\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /**\n     * @license\n     * Copyright Google LLC All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Coerces a data-bound value (typically a string) to a boolean.\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function coerceBooleanProperty(value) {\n      return value != null && \"\".concat(value) !== 'false';\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @param {?} value\n     * @param {?=} fallbackValue\n     * @return {?}\n     */\n\n\n    function coerceNumberProperty(value) {\n      var fallbackValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n      return _isNumberValue(value) ? Number(value) : fallbackValue;\n    }\n    /**\n     * Whether the provided value is considered a number.\n     * \\@docs-private\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function _isNumberValue(value) {\n      // parseFloat(value) handles most of the cases we're interested in (it treats null, empty string,\n      // and other non-number values as NaN, where Number just uses 0) but it considers the string\n      // '123hello' to be a valid number. Therefore we also check if Number(value) is NaN.\n      return !isNaN(parseFloat(\n      /** @type {?} */\n      value)) && !isNaN(Number(value));\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Wraps the provided value in an array, unless the provided value is an array.\n     * @template T\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function coerceArray(value) {\n      return Array.isArray(value) ? value : [value];\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Coerces a value to a CSS pixel value.\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function coerceCssPixelValue(value) {\n      if (value == null) {\n        return '';\n      }\n\n      return typeof value === 'string' ? value : \"\".concat(value, \"px\");\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Coerces an ElementRef or an Element into an element.\n     * Useful for APIs that can accept either a ref or the native element itself.\n     * @template T\n     * @param {?} elementOrRef\n     * @return {?}\n     */\n\n\n    function coerceElement(elementOrRef) {\n      return elementOrRef instanceof _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"] ? elementOrRef.nativeElement : elementOrRef;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/@angular/cdk/esm2015/collections.js\":\n  /*!**********************************************************!*\\\n    !*** ./node_modules/@angular/cdk/esm2015/collections.js ***!\n    \\**********************************************************/\n\n  /*! exports provided: UniqueSelectionDispatcher, ArrayDataSource, isDataSource, DataSource, getMultipleValuesInSingleSelectionError, SelectionModel */\n\n  /***/\n  function node_modulesAngularCdkEsm2015CollectionsJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"UniqueSelectionDispatcher\", function () {\n      return UniqueSelectionDispatcher;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ArrayDataSource\", function () {\n      return ArrayDataSource;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"isDataSource\", function () {\n      return isDataSource;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DataSource\", function () {\n      return DataSource;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"getMultipleValuesInSingleSelectionError\", function () {\n      return getMultipleValuesInSingleSelectionError;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"SelectionModel\", function () {\n      return SelectionModel;\n    });\n    /* harmony import */\n\n\n    var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! rxjs */\n    \"./node_modules/rxjs/_esm2015/index.js\");\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /**\n     * @license\n     * Copyright Google LLC All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @abstract\n     * @template T\n     */\n\n\n    var DataSource = function DataSource() {\n      _classCallCheck(this, DataSource);\n    };\n    /**\n     * Checks whether an object is a data source.\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function isDataSource(value) {\n      // Check if the value is a DataSource by observing if it has a connect function. Cannot\n      // be checked as an `instanceof DataSource` since people could create their own sources\n      // that match the interface, but don't extend DataSource.\n      return value && typeof value.connect === 'function';\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * DataSource wrapper for a native array.\n     * @template T\n     */\n\n\n    var ArrayDataSource =\n    /*#__PURE__*/\n    function (_DataSource) {\n      _inherits(ArrayDataSource, _DataSource);\n\n      /**\n       * @param {?} _data\n       */\n      function ArrayDataSource(_data) {\n        var _this66;\n\n        _classCallCheck(this, ArrayDataSource);\n\n        _this66 = _possibleConstructorReturn(this, _getPrototypeOf(ArrayDataSource).call(this));\n        _this66._data = _data;\n        return _this66;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(ArrayDataSource, [{\n        key: \"connect\",\n        value: function connect() {\n          return this._data instanceof rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"] ? this._data : Object(rxjs__WEBPACK_IMPORTED_MODULE_0__[\"of\"])(this._data);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"disconnect\",\n        value: function disconnect() {}\n      }]);\n\n      return ArrayDataSource;\n    }(DataSource);\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Class to be used to power selecting one or more options from a list.\n     * @template T\n     */\n\n\n    var SelectionModel =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?=} _multiple\n       * @param {?=} initiallySelectedValues\n       * @param {?=} _emitChanges\n       */\n      function SelectionModel() {\n        var _this67 = this;\n\n        var _multiple = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n\n        var initiallySelectedValues = arguments.length > 1 ? arguments[1] : undefined;\n\n        var _emitChanges = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n\n        _classCallCheck(this, SelectionModel);\n\n        this._multiple = _multiple;\n        this._emitChanges = _emitChanges;\n        /**\n         * Currently-selected values.\n         */\n\n        this._selection = new Set();\n        /**\n         * Keeps track of the deselected options that haven't been emitted by the change event.\n         */\n\n        this._deselectedToEmit = [];\n        /**\n         * Keeps track of the selected options that haven't been emitted by the change event.\n         */\n\n        this._selectedToEmit = [];\n        /**\n         * Event emitted when the value has changed.\n         */\n\n        this.changed = new rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]();\n        /**\n         * Event emitted when the value has changed.\n         * @deprecated Use `changed` instead.\n         * \\@breaking-change 8.0.0 To be changed to `changed`\n         */\n\n        this.onChange = this.changed;\n\n        if (initiallySelectedValues && initiallySelectedValues.length) {\n          if (_multiple) {\n            initiallySelectedValues.forEach(\n            /**\n            * @param {?} value\n            * @return {?}\n            */\n            function (value) {\n              return _this67._markSelected(value);\n            });\n          } else {\n            this._markSelected(initiallySelectedValues[0]);\n          } // Clear the array in order to avoid firing the change event for preselected values.\n\n\n          this._selectedToEmit.length = 0;\n        }\n      }\n      /**\n       * Selected values.\n       * @return {?}\n       */\n\n\n      _createClass2(SelectionModel, [{\n        key: \"select\",\n\n        /**\n         * Selects a value or an array of values.\n         * @param {...?} values\n         * @return {?}\n         */\n        value: function select() {\n          var _this68 = this;\n\n          for (var _len3 = arguments.length, values = new Array(_len3), _key4 = 0; _key4 < _len3; _key4++) {\n            values[_key4] = arguments[_key4];\n          }\n\n          this._verifyValueAssignment(values);\n\n          values.forEach(\n          /**\n          * @param {?} value\n          * @return {?}\n          */\n          function (value) {\n            return _this68._markSelected(value);\n          });\n\n          this._emitChangeEvent();\n        }\n        /**\n         * Deselects a value or an array of values.\n         * @param {...?} values\n         * @return {?}\n         */\n\n      }, {\n        key: \"deselect\",\n        value: function deselect() {\n          var _this69 = this;\n\n          for (var _len4 = arguments.length, values = new Array(_len4), _key5 = 0; _key5 < _len4; _key5++) {\n            values[_key5] = arguments[_key5];\n          }\n\n          this._verifyValueAssignment(values);\n\n          values.forEach(\n          /**\n          * @param {?} value\n          * @return {?}\n          */\n          function (value) {\n            return _this69._unmarkSelected(value);\n          });\n\n          this._emitChangeEvent();\n        }\n        /**\n         * Toggles a value between selected and deselected.\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"toggle\",\n        value: function toggle(value) {\n          this.isSelected(value) ? this.deselect(value) : this.select(value);\n        }\n        /**\n         * Clears all of the selected values.\n         * @return {?}\n         */\n\n      }, {\n        key: \"clear\",\n        value: function clear() {\n          this._unmarkAll();\n\n          this._emitChangeEvent();\n        }\n        /**\n         * Determines whether a value is selected.\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"isSelected\",\n        value: function isSelected(value) {\n          return this._selection.has(value);\n        }\n        /**\n         * Determines whether the model does not have a value.\n         * @return {?}\n         */\n\n      }, {\n        key: \"isEmpty\",\n        value: function isEmpty() {\n          return this._selection.size === 0;\n        }\n        /**\n         * Determines whether the model has a value.\n         * @return {?}\n         */\n\n      }, {\n        key: \"hasValue\",\n        value: function hasValue() {\n          return !this.isEmpty();\n        }\n        /**\n         * Sorts the selected values based on a predicate function.\n         * @param {?=} predicate\n         * @return {?}\n         */\n\n      }, {\n        key: \"sort\",\n        value: function sort(predicate) {\n          if (this._multiple && this.selected) {\n            /** @type {?} */\n            this._selected.sort(predicate);\n          }\n        }\n        /**\n         * Gets whether multiple values can be selected.\n         * @return {?}\n         */\n\n      }, {\n        key: \"isMultipleSelection\",\n        value: function isMultipleSelection() {\n          return this._multiple;\n        }\n        /**\n         * Emits a change event and clears the records of selected and deselected values.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_emitChangeEvent\",\n        value: function _emitChangeEvent() {\n          // Clear the selected values so they can be re-cached.\n          this._selected = null;\n\n          if (this._selectedToEmit.length || this._deselectedToEmit.length) {\n            this.changed.next({\n              source: this,\n              added: this._selectedToEmit,\n              removed: this._deselectedToEmit\n            });\n            this._deselectedToEmit = [];\n            this._selectedToEmit = [];\n          }\n        }\n        /**\n         * Selects a value.\n         * @private\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"_markSelected\",\n        value: function _markSelected(value) {\n          if (!this.isSelected(value)) {\n            if (!this._multiple) {\n              this._unmarkAll();\n            }\n\n            this._selection.add(value);\n\n            if (this._emitChanges) {\n              this._selectedToEmit.push(value);\n            }\n          }\n        }\n        /**\n         * Deselects a value.\n         * @private\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"_unmarkSelected\",\n        value: function _unmarkSelected(value) {\n          if (this.isSelected(value)) {\n            this._selection.delete(value);\n\n            if (this._emitChanges) {\n              this._deselectedToEmit.push(value);\n            }\n          }\n        }\n        /**\n         * Clears out the selected values.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_unmarkAll\",\n        value: function _unmarkAll() {\n          var _this70 = this;\n\n          if (!this.isEmpty()) {\n            this._selection.forEach(\n            /**\n            * @param {?} value\n            * @return {?}\n            */\n            function (value) {\n              return _this70._unmarkSelected(value);\n            });\n          }\n        }\n        /**\n         * Verifies the value assignment and throws an error if the specified value array is\n         * including multiple values while the selection model is not supporting multiple values.\n         * @private\n         * @param {?} values\n         * @return {?}\n         */\n\n      }, {\n        key: \"_verifyValueAssignment\",\n        value: function _verifyValueAssignment(values) {\n          if (values.length > 1 && !this._multiple) {\n            throw getMultipleValuesInSingleSelectionError();\n          }\n        }\n      }, {\n        key: \"selected\",\n        get: function get() {\n          if (!this._selected) {\n            this._selected = Array.from(this._selection.values());\n          }\n\n          return this._selected;\n        }\n      }]);\n\n      return SelectionModel;\n    }();\n    /**\n     * Returns an error that reports that multiple values are passed into a selection model\n     * with a single value.\n     * \\@docs-private\n     * @return {?}\n     */\n\n\n    function getMultipleValuesInSingleSelectionError() {\n      return Error('Cannot pass multiple values into SelectionModel with single-value mode.');\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Class to coordinate unique selection based on name.\n     * Intended to be consumed as an Angular service.\n     * This service is needed because native radio change events are only fired on the item currently\n     * being selected, and we still need to uncheck the previous selection.\n     *\n     * This service does not *store* any IDs and names because they may change at any time, so it is\n     * less error-prone if they are simply passed through when the events occur.\n     */\n\n\n    var UniqueSelectionDispatcher =\n    /*#__PURE__*/\n    function () {\n      function UniqueSelectionDispatcher() {\n        _classCallCheck(this, UniqueSelectionDispatcher);\n\n        this._listeners = [];\n      }\n      /**\n       * Notify other items that selection for the given name has been set.\n       * @param {?} id ID of the item.\n       * @param {?} name Name of the item.\n       * @return {?}\n       */\n\n\n      _createClass2(UniqueSelectionDispatcher, [{\n        key: \"notify\",\n        value: function notify(id, name) {\n          var _iteratorNormalCompletion2 = true;\n          var _didIteratorError2 = false;\n          var _iteratorError2 = undefined;\n\n          try {\n            for (var _iterator2 = this._listeners[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {\n              var listener = _step2.value;\n              listener(id, name);\n            }\n          } catch (err) {\n            _didIteratorError2 = true;\n            _iteratorError2 = err;\n          } finally {\n            try {\n              if (!_iteratorNormalCompletion2 && _iterator2.return != null) {\n                _iterator2.return();\n              }\n            } finally {\n              if (_didIteratorError2) {\n                throw _iteratorError2;\n              }\n            }\n          }\n        }\n        /**\n         * Listen for future changes to item selection.\n         * @param {?} listener\n         * @return {?} Function used to deregister listener\n         */\n\n      }, {\n        key: \"listen\",\n        value: function listen(listener) {\n          var _this71 = this;\n\n          this._listeners.push(listener);\n\n          return (\n            /**\n            * @return {?}\n            */\n            function () {\n              _this71._listeners = _this71._listeners.filter(\n              /**\n              * @param {?} registered\n              * @return {?}\n              */\n              function (registered) {\n                return listener !== registered;\n              });\n            }\n          );\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          this._listeners = [];\n        }\n      }]);\n\n      return UniqueSelectionDispatcher;\n    }();\n\n    UniqueSelectionDispatcher.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    UniqueSelectionDispatcher.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵdefineInjectable\"])({\n      factory: function UniqueSelectionDispatcher_Factory() {\n        return new UniqueSelectionDispatcher();\n      },\n      token: UniqueSelectionDispatcher,\n      providedIn: \"root\"\n    });\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /***/\n  },\n\n  /***/\n  \"./node_modules/@angular/cdk/esm2015/keycodes.js\":\n  /*!*******************************************************!*\\\n    !*** ./node_modules/@angular/cdk/esm2015/keycodes.js ***!\n    \\*******************************************************/\n\n  /*! exports provided: MAC_ENTER, BACKSPACE, TAB, NUM_CENTER, ENTER, SHIFT, CONTROL, ALT, PAUSE, CAPS_LOCK, ESCAPE, SPACE, PAGE_UP, PAGE_DOWN, END, HOME, LEFT_ARROW, UP_ARROW, RIGHT_ARROW, DOWN_ARROW, PLUS_SIGN, PRINT_SCREEN, INSERT, DELETE, ZERO, ONE, TWO, THREE, FOUR, FIVE, SIX, SEVEN, EIGHT, NINE, FF_SEMICOLON, FF_EQUALS, QUESTION_MARK, AT_SIGN, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, META, MAC_WK_CMD_LEFT, MAC_WK_CMD_RIGHT, CONTEXT_MENU, NUMPAD_ZERO, NUMPAD_ONE, NUMPAD_TWO, NUMPAD_THREE, NUMPAD_FOUR, NUMPAD_FIVE, NUMPAD_SIX, NUMPAD_SEVEN, NUMPAD_EIGHT, NUMPAD_NINE, NUMPAD_MULTIPLY, NUMPAD_PLUS, NUMPAD_MINUS, NUMPAD_PERIOD, NUMPAD_DIVIDE, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, NUM_LOCK, SCROLL_LOCK, FIRST_MEDIA, FF_MINUS, MUTE, VOLUME_DOWN, VOLUME_UP, FF_MUTE, FF_VOLUME_DOWN, LAST_MEDIA, FF_VOLUME_UP, SEMICOLON, EQUALS, COMMA, DASH, SLASH, APOSTROPHE, TILDE, OPEN_SQUARE_BRACKET, BACKSLASH, CLOSE_SQUARE_BRACKET, SINGLE_QUOTE, MAC_META, hasModifierKey */\n\n  /***/\n  function node_modulesAngularCdkEsm2015KeycodesJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MAC_ENTER\", function () {\n      return MAC_ENTER;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"BACKSPACE\", function () {\n      return BACKSPACE;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TAB\", function () {\n      return TAB;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NUM_CENTER\", function () {\n      return NUM_CENTER;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ENTER\", function () {\n      return ENTER;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"SHIFT\", function () {\n      return SHIFT;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CONTROL\", function () {\n      return CONTROL;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ALT\", function () {\n      return ALT;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"PAUSE\", function () {\n      return PAUSE;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CAPS_LOCK\", function () {\n      return CAPS_LOCK;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ESCAPE\", function () {\n      return ESCAPE;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"SPACE\", function () {\n      return SPACE;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"PAGE_UP\", function () {\n      return PAGE_UP;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"PAGE_DOWN\", function () {\n      return PAGE_DOWN;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"END\", function () {\n      return END;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"HOME\", function () {\n      return HOME;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"LEFT_ARROW\", function () {\n      return LEFT_ARROW;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"UP_ARROW\", function () {\n      return UP_ARROW;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"RIGHT_ARROW\", function () {\n      return RIGHT_ARROW;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DOWN_ARROW\", function () {\n      return DOWN_ARROW;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"PLUS_SIGN\", function () {\n      return PLUS_SIGN;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"PRINT_SCREEN\", function () {\n      return PRINT_SCREEN;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"INSERT\", function () {\n      return INSERT;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DELETE\", function () {\n      return DELETE;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ZERO\", function () {\n      return ZERO;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ONE\", function () {\n      return ONE;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TWO\", function () {\n      return TWO;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"THREE\", function () {\n      return THREE;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FOUR\", function () {\n      return FOUR;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FIVE\", function () {\n      return FIVE;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"SIX\", function () {\n      return SIX;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"SEVEN\", function () {\n      return SEVEN;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"EIGHT\", function () {\n      return EIGHT;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NINE\", function () {\n      return NINE;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FF_SEMICOLON\", function () {\n      return FF_SEMICOLON;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FF_EQUALS\", function () {\n      return FF_EQUALS;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"QUESTION_MARK\", function () {\n      return QUESTION_MARK;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"AT_SIGN\", function () {\n      return AT_SIGN;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"A\", function () {\n      return A;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"B\", function () {\n      return B;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"C\", function () {\n      return C;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"D\", function () {\n      return D;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"E\", function () {\n      return E;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"F\", function () {\n      return F;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"G\", function () {\n      return G;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"H\", function () {\n      return H;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"I\", function () {\n      return I;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"J\", function () {\n      return J;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"K\", function () {\n      return K;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"L\", function () {\n      return L;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"M\", function () {\n      return M;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"N\", function () {\n      return N;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"O\", function () {\n      return O;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"P\", function () {\n      return P;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Q\", function () {\n      return Q;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"R\", function () {\n      return R;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"S\", function () {\n      return S;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"T\", function () {\n      return T;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"U\", function () {\n      return U;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"V\", function () {\n      return V;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"W\", function () {\n      return W;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"X\", function () {\n      return X;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Y\", function () {\n      return Y;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Z\", function () {\n      return Z;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"META\", function () {\n      return META;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MAC_WK_CMD_LEFT\", function () {\n      return MAC_WK_CMD_LEFT;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MAC_WK_CMD_RIGHT\", function () {\n      return MAC_WK_CMD_RIGHT;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CONTEXT_MENU\", function () {\n      return CONTEXT_MENU;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NUMPAD_ZERO\", function () {\n      return NUMPAD_ZERO;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NUMPAD_ONE\", function () {\n      return NUMPAD_ONE;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NUMPAD_TWO\", function () {\n      return NUMPAD_TWO;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NUMPAD_THREE\", function () {\n      return NUMPAD_THREE;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NUMPAD_FOUR\", function () {\n      return NUMPAD_FOUR;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NUMPAD_FIVE\", function () {\n      return NUMPAD_FIVE;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NUMPAD_SIX\", function () {\n      return NUMPAD_SIX;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NUMPAD_SEVEN\", function () {\n      return NUMPAD_SEVEN;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NUMPAD_EIGHT\", function () {\n      return NUMPAD_EIGHT;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NUMPAD_NINE\", function () {\n      return NUMPAD_NINE;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NUMPAD_MULTIPLY\", function () {\n      return NUMPAD_MULTIPLY;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NUMPAD_PLUS\", function () {\n      return NUMPAD_PLUS;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NUMPAD_MINUS\", function () {\n      return NUMPAD_MINUS;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NUMPAD_PERIOD\", function () {\n      return NUMPAD_PERIOD;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NUMPAD_DIVIDE\", function () {\n      return NUMPAD_DIVIDE;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"F1\", function () {\n      return F1;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"F2\", function () {\n      return F2;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"F3\", function () {\n      return F3;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"F4\", function () {\n      return F4;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"F5\", function () {\n      return F5;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"F6\", function () {\n      return F6;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"F7\", function () {\n      return F7;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"F8\", function () {\n      return F8;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"F9\", function () {\n      return F9;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"F10\", function () {\n      return F10;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"F11\", function () {\n      return F11;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"F12\", function () {\n      return F12;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NUM_LOCK\", function () {\n      return NUM_LOCK;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"SCROLL_LOCK\", function () {\n      return SCROLL_LOCK;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FIRST_MEDIA\", function () {\n      return FIRST_MEDIA;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FF_MINUS\", function () {\n      return FF_MINUS;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MUTE\", function () {\n      return MUTE;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"VOLUME_DOWN\", function () {\n      return VOLUME_DOWN;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"VOLUME_UP\", function () {\n      return VOLUME_UP;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FF_MUTE\", function () {\n      return FF_MUTE;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FF_VOLUME_DOWN\", function () {\n      return FF_VOLUME_DOWN;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"LAST_MEDIA\", function () {\n      return LAST_MEDIA;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FF_VOLUME_UP\", function () {\n      return FF_VOLUME_UP;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"SEMICOLON\", function () {\n      return SEMICOLON;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"EQUALS\", function () {\n      return EQUALS;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"COMMA\", function () {\n      return COMMA;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DASH\", function () {\n      return DASH;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"SLASH\", function () {\n      return SLASH;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"APOSTROPHE\", function () {\n      return APOSTROPHE;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TILDE\", function () {\n      return TILDE;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"OPEN_SQUARE_BRACKET\", function () {\n      return OPEN_SQUARE_BRACKET;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"BACKSLASH\", function () {\n      return BACKSLASH;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CLOSE_SQUARE_BRACKET\", function () {\n      return CLOSE_SQUARE_BRACKET;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"SINGLE_QUOTE\", function () {\n      return SINGLE_QUOTE;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MAC_META\", function () {\n      return MAC_META;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"hasModifierKey\", function () {\n      return hasModifierKey;\n    });\n    /**\n     * @license\n     * Copyright Google LLC All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var MAC_ENTER = 3;\n    /** @type {?} */\n\n    var BACKSPACE = 8;\n    /** @type {?} */\n\n    var TAB = 9;\n    /** @type {?} */\n\n    var NUM_CENTER = 12;\n    /** @type {?} */\n\n    var ENTER = 13;\n    /** @type {?} */\n\n    var SHIFT = 16;\n    /** @type {?} */\n\n    var CONTROL = 17;\n    /** @type {?} */\n\n    var ALT = 18;\n    /** @type {?} */\n\n    var PAUSE = 19;\n    /** @type {?} */\n\n    var CAPS_LOCK = 20;\n    /** @type {?} */\n\n    var ESCAPE = 27;\n    /** @type {?} */\n\n    var SPACE = 32;\n    /** @type {?} */\n\n    var PAGE_UP = 33;\n    /** @type {?} */\n\n    var PAGE_DOWN = 34;\n    /** @type {?} */\n\n    var END = 35;\n    /** @type {?} */\n\n    var HOME = 36;\n    /** @type {?} */\n\n    var LEFT_ARROW = 37;\n    /** @type {?} */\n\n    var UP_ARROW = 38;\n    /** @type {?} */\n\n    var RIGHT_ARROW = 39;\n    /** @type {?} */\n\n    var DOWN_ARROW = 40;\n    /** @type {?} */\n\n    var PLUS_SIGN = 43;\n    /** @type {?} */\n\n    var PRINT_SCREEN = 44;\n    /** @type {?} */\n\n    var INSERT = 45;\n    /** @type {?} */\n\n    var DELETE = 46;\n    /** @type {?} */\n\n    var ZERO = 48;\n    /** @type {?} */\n\n    var ONE = 49;\n    /** @type {?} */\n\n    var TWO = 50;\n    /** @type {?} */\n\n    var THREE = 51;\n    /** @type {?} */\n\n    var FOUR = 52;\n    /** @type {?} */\n\n    var FIVE = 53;\n    /** @type {?} */\n\n    var SIX = 54;\n    /** @type {?} */\n\n    var SEVEN = 55;\n    /** @type {?} */\n\n    var EIGHT = 56;\n    /** @type {?} */\n\n    var NINE = 57;\n    /** @type {?} */\n\n    var FF_SEMICOLON = 59; // Firefox (Gecko) fires this for semicolon instead of 186\n\n    /** @type {?} */\n\n    var FF_EQUALS = 61; // Firefox (Gecko) fires this for equals instead of 187\n\n    /** @type {?} */\n\n    var QUESTION_MARK = 63;\n    /** @type {?} */\n\n    var AT_SIGN = 64;\n    /** @type {?} */\n\n    var A = 65;\n    /** @type {?} */\n\n    var B = 66;\n    /** @type {?} */\n\n    var C = 67;\n    /** @type {?} */\n\n    var D = 68;\n    /** @type {?} */\n\n    var E = 69;\n    /** @type {?} */\n\n    var F = 70;\n    /** @type {?} */\n\n    var G = 71;\n    /** @type {?} */\n\n    var H = 72;\n    /** @type {?} */\n\n    var I = 73;\n    /** @type {?} */\n\n    var J = 74;\n    /** @type {?} */\n\n    var K = 75;\n    /** @type {?} */\n\n    var L = 76;\n    /** @type {?} */\n\n    var M = 77;\n    /** @type {?} */\n\n    var N = 78;\n    /** @type {?} */\n\n    var O = 79;\n    /** @type {?} */\n\n    var P = 80;\n    /** @type {?} */\n\n    var Q = 81;\n    /** @type {?} */\n\n    var R = 82;\n    /** @type {?} */\n\n    var S = 83;\n    /** @type {?} */\n\n    var T = 84;\n    /** @type {?} */\n\n    var U = 85;\n    /** @type {?} */\n\n    var V = 86;\n    /** @type {?} */\n\n    var W = 87;\n    /** @type {?} */\n\n    var X = 88;\n    /** @type {?} */\n\n    var Y = 89;\n    /** @type {?} */\n\n    var Z = 90;\n    /** @type {?} */\n\n    var META = 91; // WIN_KEY_LEFT\n\n    /** @type {?} */\n\n    var MAC_WK_CMD_LEFT = 91;\n    /** @type {?} */\n\n    var MAC_WK_CMD_RIGHT = 93;\n    /** @type {?} */\n\n    var CONTEXT_MENU = 93;\n    /** @type {?} */\n\n    var NUMPAD_ZERO = 96;\n    /** @type {?} */\n\n    var NUMPAD_ONE = 97;\n    /** @type {?} */\n\n    var NUMPAD_TWO = 98;\n    /** @type {?} */\n\n    var NUMPAD_THREE = 99;\n    /** @type {?} */\n\n    var NUMPAD_FOUR = 100;\n    /** @type {?} */\n\n    var NUMPAD_FIVE = 101;\n    /** @type {?} */\n\n    var NUMPAD_SIX = 102;\n    /** @type {?} */\n\n    var NUMPAD_SEVEN = 103;\n    /** @type {?} */\n\n    var NUMPAD_EIGHT = 104;\n    /** @type {?} */\n\n    var NUMPAD_NINE = 105;\n    /** @type {?} */\n\n    var NUMPAD_MULTIPLY = 106;\n    /** @type {?} */\n\n    var NUMPAD_PLUS = 107;\n    /** @type {?} */\n\n    var NUMPAD_MINUS = 109;\n    /** @type {?} */\n\n    var NUMPAD_PERIOD = 110;\n    /** @type {?} */\n\n    var NUMPAD_DIVIDE = 111;\n    /** @type {?} */\n\n    var F1 = 112;\n    /** @type {?} */\n\n    var F2 = 113;\n    /** @type {?} */\n\n    var F3 = 114;\n    /** @type {?} */\n\n    var F4 = 115;\n    /** @type {?} */\n\n    var F5 = 116;\n    /** @type {?} */\n\n    var F6 = 117;\n    /** @type {?} */\n\n    var F7 = 118;\n    /** @type {?} */\n\n    var F8 = 119;\n    /** @type {?} */\n\n    var F9 = 120;\n    /** @type {?} */\n\n    var F10 = 121;\n    /** @type {?} */\n\n    var F11 = 122;\n    /** @type {?} */\n\n    var F12 = 123;\n    /** @type {?} */\n\n    var NUM_LOCK = 144;\n    /** @type {?} */\n\n    var SCROLL_LOCK = 145;\n    /** @type {?} */\n\n    var FIRST_MEDIA = 166;\n    /** @type {?} */\n\n    var FF_MINUS = 173;\n    /** @type {?} */\n\n    var MUTE = 173; // Firefox (Gecko) fires 181 for MUTE\n\n    /** @type {?} */\n\n    var VOLUME_DOWN = 174; // Firefox (Gecko) fires 182 for VOLUME_DOWN\n\n    /** @type {?} */\n\n    var VOLUME_UP = 175; // Firefox (Gecko) fires 183 for VOLUME_UP\n\n    /** @type {?} */\n\n    var FF_MUTE = 181;\n    /** @type {?} */\n\n    var FF_VOLUME_DOWN = 182;\n    /** @type {?} */\n\n    var LAST_MEDIA = 183;\n    /** @type {?} */\n\n    var FF_VOLUME_UP = 183;\n    /** @type {?} */\n\n    var SEMICOLON = 186; // Firefox (Gecko) fires 59 for SEMICOLON\n\n    /** @type {?} */\n\n    var EQUALS = 187; // Firefox (Gecko) fires 61 for EQUALS\n\n    /** @type {?} */\n\n    var COMMA = 188;\n    /** @type {?} */\n\n    var DASH = 189; // Firefox (Gecko) fires 173 for DASH/MINUS\n\n    /** @type {?} */\n\n    var SLASH = 191;\n    /** @type {?} */\n\n    var APOSTROPHE = 192;\n    /** @type {?} */\n\n    var TILDE = 192;\n    /** @type {?} */\n\n    var OPEN_SQUARE_BRACKET = 219;\n    /** @type {?} */\n\n    var BACKSLASH = 220;\n    /** @type {?} */\n\n    var CLOSE_SQUARE_BRACKET = 221;\n    /** @type {?} */\n\n    var SINGLE_QUOTE = 222;\n    /** @type {?} */\n\n    var MAC_META = 224;\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Checks whether a modifier key is pressed.\n     * @param {?} event Event to be checked.\n     * @param {...?} modifiers\n     * @return {?}\n     */\n\n    function hasModifierKey(event) {\n      for (var _len5 = arguments.length, modifiers = new Array(_len5 > 1 ? _len5 - 1 : 0), _key6 = 1; _key6 < _len5; _key6++) {\n        modifiers[_key6 - 1] = arguments[_key6];\n      }\n\n      if (modifiers.length) {\n        return modifiers.some(\n        /**\n        * @param {?} modifier\n        * @return {?}\n        */\n        function (modifier) {\n          return event[modifier];\n        });\n      }\n\n      return event.altKey || event.shiftKey || event.ctrlKey || event.metaKey;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/@angular/cdk/esm2015/layout.js\":\n  /*!*****************************************************!*\\\n    !*** ./node_modules/@angular/cdk/esm2015/layout.js ***!\n    \\*****************************************************/\n\n  /*! exports provided: LayoutModule, BreakpointObserver, Breakpoints, MediaMatcher */\n\n  /***/\n  function node_modulesAngularCdkEsm2015LayoutJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"LayoutModule\", function () {\n      return LayoutModule;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"BreakpointObserver\", function () {\n      return BreakpointObserver;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Breakpoints\", function () {\n      return Breakpoints;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MediaMatcher\", function () {\n      return MediaMatcher;\n    });\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/cdk/platform */\n    \"./node_modules/@angular/cdk/esm2015/platform.js\");\n    /* harmony import */\n\n\n    var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! rxjs */\n    \"./node_modules/rxjs/_esm2015/index.js\");\n    /* harmony import */\n\n\n    var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! rxjs/operators */\n    \"./node_modules/rxjs/_esm2015/operators/index.js\");\n    /* harmony import */\n\n\n    var _angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! @angular/cdk/coercion */\n    \"./node_modules/@angular/cdk/esm2015/coercion.js\");\n    /**\n     * @license\n     * Copyright Google LLC All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n\n    var LayoutModule = function LayoutModule() {\n      _classCallCheck(this, LayoutModule);\n    };\n\n    LayoutModule.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"],\n      args: [{}]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Global registry for all dynamically-created, injected media queries.\n     * @type {?}\n     */\n\n    var mediaQueriesForWebkitCompatibility = new Set();\n    /**\n     * Style tag that holds all of the dynamically-created media queries.\n     * @type {?}\n     */\n\n    var mediaQueryStyleNode;\n    /**\n     * A utility for calling matchMedia queries.\n     */\n\n    var MediaMatcher =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _platform\n       */\n      function MediaMatcher(_platform) {\n        _classCallCheck(this, MediaMatcher);\n\n        this._platform = _platform;\n        this._matchMedia = this._platform.isBrowser && window.matchMedia ? // matchMedia is bound to the window scope intentionally as it is an illegal invocation to\n        // call it from a different scope.\n        window.matchMedia.bind(window) : noopMatchMedia;\n      }\n      /**\n       * Evaluates the given media query and returns the native MediaQueryList from which results\n       * can be retrieved.\n       * Confirms the layout engine will trigger for the selector query provided and returns the\n       * MediaQueryList for the query provided.\n       * @param {?} query\n       * @return {?}\n       */\n\n\n      _createClass2(MediaMatcher, [{\n        key: \"matchMedia\",\n        value: function matchMedia(query) {\n          if (this._platform.WEBKIT) {\n            createEmptyStyleRule(query);\n          }\n\n          return this._matchMedia(query);\n        }\n      }]);\n\n      return MediaMatcher;\n    }();\n\n    MediaMatcher.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    MediaMatcher.ctorParameters = function () {\n      return [{\n        type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_1__[\"Platform\"]\n      }];\n    };\n    /** @nocollapse */\n\n\n    MediaMatcher.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({\n      factory: function MediaMatcher_Factory() {\n        return new MediaMatcher(Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_1__[\"Platform\"]));\n      },\n      token: MediaMatcher,\n      providedIn: \"root\"\n    });\n    /**\n     * For Webkit engines that only trigger the MediaQueryListListener when\n     * there is at least one CSS selector for the respective media query.\n     * @param {?} query\n     * @return {?}\n     */\n\n    function createEmptyStyleRule(query) {\n      if (mediaQueriesForWebkitCompatibility.has(query)) {\n        return;\n      }\n\n      try {\n        if (!mediaQueryStyleNode) {\n          mediaQueryStyleNode = document.createElement('style');\n          mediaQueryStyleNode.setAttribute('type', 'text/css');\n\n          /** @type {?} */\n          document.head.appendChild(mediaQueryStyleNode);\n        }\n\n        if (mediaQueryStyleNode.sheet) {\n          /** @type {?} */\n          mediaQueryStyleNode.sheet.insertRule(\"@media \".concat(query, \" {.fx-query-test{ }}\"), 0);\n          mediaQueriesForWebkitCompatibility.add(query);\n        }\n      } catch (e) {\n        console.error(e);\n      }\n    }\n    /**\n     * No-op matchMedia replacement for non-browser platforms.\n     * @param {?} query\n     * @return {?}\n     */\n\n\n    function noopMatchMedia(query) {\n      // Use `as any` here to avoid adding additional necessary properties for\n      // the noop matcher.\n      return (\n        /** @type {?} */\n        {\n          matches: query === 'all' || query === '',\n          media: query,\n          addListener:\n          /**\n          * @return {?}\n          */\n          function addListener() {},\n          removeListener:\n          /**\n          * @return {?}\n          */\n          function removeListener() {}\n        }\n      );\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Utility for checking the matching state of \\@media queries.\n     */\n\n\n    var BreakpointObserver =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _mediaMatcher\n       * @param {?} _zone\n       */\n      function BreakpointObserver(_mediaMatcher, _zone) {\n        _classCallCheck(this, BreakpointObserver);\n\n        this._mediaMatcher = _mediaMatcher;\n        this._zone = _zone;\n        /**\n         * A map of all media queries currently being listened for.\n         */\n\n        this._queries = new Map();\n        /**\n         * A subject for all other observables to takeUntil based on.\n         */\n\n        this._destroySubject = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Subject\"]();\n      }\n      /**\n       * Completes the active subject, signalling to all other observables to complete.\n       * @return {?}\n       */\n\n\n      _createClass2(BreakpointObserver, [{\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          this._destroySubject.next();\n\n          this._destroySubject.complete();\n        }\n        /**\n         * Whether one or more media queries match the current viewport size.\n         * @param {?} value One or more media queries to check.\n         * @return {?} Whether any of the media queries match.\n         */\n\n      }, {\n        key: \"isMatched\",\n        value: function isMatched(value) {\n          var _this72 = this;\n\n          /** @type {?} */\n          var queries = splitQueries(Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_4__[\"coerceArray\"])(value));\n          return queries.some(\n          /**\n          * @param {?} mediaQuery\n          * @return {?}\n          */\n          function (mediaQuery) {\n            return _this72._registerQuery(mediaQuery).mql.matches;\n          });\n        }\n        /**\n         * Gets an observable of results for the given queries that will emit new results for any changes\n         * in matching of the given queries.\n         * @param {?} value One or more media queries to check.\n         * @return {?} A stream of matches for the given queries.\n         */\n\n      }, {\n        key: \"observe\",\n        value: function observe(value) {\n          var _this73 = this;\n\n          /** @type {?} */\n          var queries = splitQueries(Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_4__[\"coerceArray\"])(value));\n          /** @type {?} */\n\n          var observables = queries.map(\n          /**\n          * @param {?} query\n          * @return {?}\n          */\n          function (query) {\n            return _this73._registerQuery(query).observable;\n          });\n          /** @type {?} */\n\n          var stateObservable = Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"combineLatest\"])(observables); // Emit the first state immediately, and then debounce the subsequent emissions.\n\n          stateObservable = Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"concat\"])(stateObservable.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"take\"])(1)), stateObservable.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"skip\"])(1), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"debounceTime\"])(0)));\n          return stateObservable.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(\n          /**\n          * @param {?} breakpointStates\n          * @return {?}\n          */\n          function (breakpointStates) {\n            /** @type {?} */\n            var response = {\n              matches: false,\n              breakpoints: {}\n            };\n            breakpointStates.forEach(\n            /**\n            * @param {?} state\n            * @return {?}\n            */\n            function (state) {\n              response.matches = response.matches || state.matches;\n              response.breakpoints[state.query] = state.matches;\n            });\n            return response;\n          }));\n        }\n        /**\n         * Registers a specific query to be listened for.\n         * @private\n         * @param {?} query\n         * @return {?}\n         */\n\n      }, {\n        key: \"_registerQuery\",\n        value: function _registerQuery(query) {\n          var _this74 = this;\n\n          // Only set up a new MediaQueryList if it is not already being listened for.\n          if (this._queries.has(query)) {\n            return (\n              /** @type {?} */\n              this._queries.get(query)\n            );\n          }\n          /** @type {?} */\n\n\n          var mql = this._mediaMatcher.matchMedia(query); // Create callback for match changes and add it is as a listener.\n\n          /** @type {?} */\n\n\n          var queryObservable = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Observable\"](\n          /**\n          * @param {?} observer\n          * @return {?}\n          */\n          function (observer) {\n            // Listener callback methods are wrapped to be placed back in ngZone. Callbacks must be placed\n            // back into the zone because matchMedia is only included in Zone.js by loading the\n            // webapis-media-query.js file alongside the zone.js file.  Additionally, some browsers do not\n            // have MediaQueryList inherit from EventTarget, which causes inconsistencies in how Zone.js\n            // patches it.\n\n            /** @type {?} */\n            var handler =\n            /**\n            * @param {?} e\n            * @return {?}\n            */\n            function handler(e) {\n              return _this74._zone.run(\n              /**\n              * @return {?}\n              */\n              function () {\n                return observer.next(e);\n              });\n            };\n\n            mql.addListener(handler);\n            return (\n              /**\n              * @return {?}\n              */\n              function () {\n                mql.removeListener(handler);\n              }\n            );\n          }).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"startWith\"])(mql), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(\n          /**\n          * @param {?} nextMql\n          * @return {?}\n          */\n          function (nextMql) {\n            return {\n              query: query,\n              matches: nextMql.matches\n            };\n          }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"takeUntil\"])(this._destroySubject)); // Add the MediaQueryList to the set of queries.\n\n          /** @type {?} */\n\n          var output = {\n            observable: queryObservable,\n            mql: mql\n          };\n\n          this._queries.set(query, output);\n\n          return output;\n        }\n      }]);\n\n      return BreakpointObserver;\n    }();\n\n    BreakpointObserver.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    BreakpointObserver.ctorParameters = function () {\n      return [{\n        type: MediaMatcher\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgZone\"]\n      }];\n    };\n    /** @nocollapse */\n\n\n    BreakpointObserver.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({\n      factory: function BreakpointObserver_Factory() {\n        return new BreakpointObserver(Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(MediaMatcher), Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgZone\"]));\n      },\n      token: BreakpointObserver,\n      providedIn: \"root\"\n    });\n    /**\n     * Split each query string into separate query strings if two queries are provided as comma\n     * separated.\n     * @param {?} queries\n     * @return {?}\n     */\n\n    function splitQueries(queries) {\n      return queries.map(\n      /**\n      * @param {?} query\n      * @return {?}\n      */\n      function (query) {\n        return query.split(',');\n      }).reduce(\n      /**\n      * @param {?} a1\n      * @param {?} a2\n      * @return {?}\n      */\n      function (a1, a2) {\n        return a1.concat(a2);\n      }).map(\n      /**\n      * @param {?} query\n      * @return {?}\n      */\n      function (query) {\n        return query.trim();\n      });\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n    // PascalCase is being used as Breakpoints is used like an enum.\n    // tslint:disable-next-line:variable-name\n\n    /**\n     * @license\n     * Copyright Google LLC All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     * @type {?}\n     */\n\n\n    var Breakpoints = {\n      XSmall: '(max-width: 599.99px)',\n      Small: '(min-width: 600px) and (max-width: 959.99px)',\n      Medium: '(min-width: 960px) and (max-width: 1279.99px)',\n      Large: '(min-width: 1280px) and (max-width: 1919.99px)',\n      XLarge: '(min-width: 1920px)',\n      Handset: '(max-width: 599.99px) and (orientation: portrait), ' + '(max-width: 959.99px) and (orientation: landscape)',\n      Tablet: '(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait), ' + '(min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)',\n      Web: '(min-width: 840px) and (orientation: portrait), ' + '(min-width: 1280px) and (orientation: landscape)',\n      HandsetPortrait: '(max-width: 599.99px) and (orientation: portrait)',\n      TabletPortrait: '(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait)',\n      WebPortrait: '(min-width: 840px) and (orientation: portrait)',\n      HandsetLandscape: '(max-width: 959.99px) and (orientation: landscape)',\n      TabletLandscape: '(min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)',\n      WebLandscape: '(min-width: 1280px) and (orientation: landscape)'\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /***/\n  },\n\n  /***/\n  \"./node_modules/@angular/cdk/esm2015/observers.js\":\n  /*!********************************************************!*\\\n    !*** ./node_modules/@angular/cdk/esm2015/observers.js ***!\n    \\********************************************************/\n\n  /*! exports provided: MutationObserverFactory, ContentObserver, CdkObserveContent, ObserversModule */\n\n  /***/\n  function node_modulesAngularCdkEsm2015ObserversJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MutationObserverFactory\", function () {\n      return MutationObserverFactory;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ContentObserver\", function () {\n      return ContentObserver;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CdkObserveContent\", function () {\n      return CdkObserveContent;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ObserversModule\", function () {\n      return ObserversModule;\n    });\n    /* harmony import */\n\n\n    var _angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! @angular/cdk/coercion */\n    \"./node_modules/@angular/cdk/esm2015/coercion.js\");\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! rxjs */\n    \"./node_modules/rxjs/_esm2015/index.js\");\n    /* harmony import */\n\n\n    var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! rxjs/operators */\n    \"./node_modules/rxjs/_esm2015/operators/index.js\");\n    /**\n     * @license\n     * Copyright Google LLC All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Factory that creates a new MutationObserver and allows us to stub it out in unit tests.\n     * \\@docs-private\n     */\n\n\n    var MutationObserverFactory =\n    /*#__PURE__*/\n    function () {\n      function MutationObserverFactory() {\n        _classCallCheck(this, MutationObserverFactory);\n      }\n\n      _createClass2(MutationObserverFactory, [{\n        key: \"create\",\n\n        /**\n         * @param {?} callback\n         * @return {?}\n         */\n        value: function create(callback) {\n          return typeof MutationObserver === 'undefined' ? null : new MutationObserver(callback);\n        }\n      }]);\n\n      return MutationObserverFactory;\n    }();\n\n    MutationObserverFactory.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    MutationObserverFactory.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵdefineInjectable\"])({\n      factory: function MutationObserverFactory_Factory() {\n        return new MutationObserverFactory();\n      },\n      token: MutationObserverFactory,\n      providedIn: \"root\"\n    });\n    /**\n     * An injectable service that allows watching elements for changes to their content.\n     */\n\n    var ContentObserver =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _mutationObserverFactory\n       */\n      function ContentObserver(_mutationObserverFactory) {\n        _classCallCheck(this, ContentObserver);\n\n        this._mutationObserverFactory = _mutationObserverFactory;\n        /**\n         * Keeps track of the existing MutationObservers so they can be reused.\n         */\n\n        this._observedElements = new Map();\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(ContentObserver, [{\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          var _this75 = this;\n\n          this._observedElements.forEach(\n          /**\n          * @param {?} _\n          * @param {?} element\n          * @return {?}\n          */\n          function (_, element) {\n            return _this75._cleanupObserver(element);\n          });\n        }\n        /**\n         * @param {?} elementOrRef\n         * @return {?}\n         */\n\n      }, {\n        key: \"observe\",\n        value: function observe(elementOrRef) {\n          var _this76 = this;\n\n          /** @type {?} */\n          var element = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceElement\"])(elementOrRef);\n          return new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Observable\"](\n          /**\n          * @param {?} observer\n          * @return {?}\n          */\n          function (observer) {\n            /** @type {?} */\n            var stream = _this76._observeElement(element);\n            /** @type {?} */\n\n\n            var subscription = stream.subscribe(observer);\n            return (\n              /**\n              * @return {?}\n              */\n              function () {\n                subscription.unsubscribe();\n\n                _this76._unobserveElement(element);\n              }\n            );\n          });\n        }\n        /**\n         * Observes the given element by using the existing MutationObserver if available, or creating a\n         * new one if not.\n         * @private\n         * @param {?} element\n         * @return {?}\n         */\n\n      }, {\n        key: \"_observeElement\",\n        value: function _observeElement(element) {\n          if (!this._observedElements.has(element)) {\n            /** @type {?} */\n            var stream = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Subject\"]();\n            /** @type {?} */\n\n            var observer = this._mutationObserverFactory.create(\n            /**\n            * @param {?} mutations\n            * @return {?}\n            */\n            function (mutations) {\n              return stream.next(mutations);\n            });\n\n            if (observer) {\n              observer.observe(element, {\n                characterData: true,\n                childList: true,\n                subtree: true\n              });\n            }\n\n            this._observedElements.set(element, {\n              observer: observer,\n              stream: stream,\n              count: 1\n            });\n          } else {\n            /** @type {?} */this._observedElements.get(element).count++;\n          }\n\n          return (\n            /** @type {?} */\n            this._observedElements.get(element).stream\n          );\n        }\n        /**\n         * Un-observes the given element and cleans up the underlying MutationObserver if nobody else is\n         * observing this element.\n         * @private\n         * @param {?} element\n         * @return {?}\n         */\n\n      }, {\n        key: \"_unobserveElement\",\n        value: function _unobserveElement(element) {\n          if (this._observedElements.has(element)) {\n            /** @type {?} */this._observedElements.get(element).count--;\n\n            if (!\n            /** @type {?} */\n            this._observedElements.get(element).count) {\n              this._cleanupObserver(element);\n            }\n          }\n        }\n        /**\n         * Clean up the underlying MutationObserver for the specified element.\n         * @private\n         * @param {?} element\n         * @return {?}\n         */\n\n      }, {\n        key: \"_cleanupObserver\",\n        value: function _cleanupObserver(element) {\n          if (this._observedElements.has(element)) {\n            var _this$_observedElemen =\n            /** @type {?} */\n            this._observedElements.get(element),\n                observer = _this$_observedElemen.observer,\n                stream = _this$_observedElemen.stream;\n\n            if (observer) {\n              observer.disconnect();\n            }\n\n            stream.complete();\n\n            this._observedElements.delete(element);\n          }\n        }\n      }]);\n\n      return ContentObserver;\n    }();\n\n    ContentObserver.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    ContentObserver.ctorParameters = function () {\n      return [{\n        type: MutationObserverFactory\n      }];\n    };\n    /** @nocollapse */\n\n\n    ContentObserver.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵdefineInjectable\"])({\n      factory: function ContentObserver_Factory() {\n        return new ContentObserver(Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(MutationObserverFactory));\n      },\n      token: ContentObserver,\n      providedIn: \"root\"\n    });\n    /**\n     * Directive that triggers a callback whenever the content of\n     * its associated element has changed.\n     */\n\n    var CdkObserveContent =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _contentObserver\n       * @param {?} _elementRef\n       * @param {?} _ngZone\n       */\n      function CdkObserveContent(_contentObserver, _elementRef, _ngZone) {\n        _classCallCheck(this, CdkObserveContent);\n\n        this._contentObserver = _contentObserver;\n        this._elementRef = _elementRef;\n        this._ngZone = _ngZone;\n        /**\n         * Event emitted for each change in the element's content.\n         */\n\n        this.event = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"EventEmitter\"]();\n        this._disabled = false;\n        this._currentSubscription = null;\n      }\n      /**\n       * Whether observing content is disabled. This option can be used\n       * to disconnect the underlying MutationObserver until it is needed.\n       * @return {?}\n       */\n\n\n      _createClass2(CdkObserveContent, [{\n        key: \"ngAfterContentInit\",\n\n        /**\n         * @return {?}\n         */\n        value: function ngAfterContentInit() {\n          if (!this._currentSubscription && !this.disabled) {\n            this._subscribe();\n          }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          this._unsubscribe();\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_subscribe\",\n        value: function _subscribe() {\n          var _this77 = this;\n\n          this._unsubscribe();\n          /** @type {?} */\n\n\n          var stream = this._contentObserver.observe(this._elementRef); // TODO(mmalerba): We shouldn't be emitting on this @Output() outside the zone.\n          // Consider brining it back inside the zone next time we're making breaking changes.\n          // Bringing it back inside can cause things like infinite change detection loops and changed\n          // after checked errors if people's code isn't handling it properly.\n\n\n          this._ngZone.runOutsideAngular(\n          /**\n          * @return {?}\n          */\n          function () {\n            _this77._currentSubscription = (_this77.debounce ? stream.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"debounceTime\"])(_this77.debounce)) : stream).subscribe(_this77.event);\n          });\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_unsubscribe\",\n        value: function _unsubscribe() {\n          if (this._currentSubscription) {\n            this._currentSubscription.unsubscribe();\n          }\n        }\n      }, {\n        key: \"disabled\",\n        get: function get() {\n          return this._disabled;\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n        ,\n        set: function set(value) {\n          this._disabled = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceBooleanProperty\"])(value);\n          this._disabled ? this._unsubscribe() : this._subscribe();\n        }\n        /**\n         * Debounce interval for emitting the changes.\n         * @return {?}\n         */\n\n      }, {\n        key: \"debounce\",\n        get: function get() {\n          return this._debounce;\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n        ,\n        set: function set(value) {\n          this._debounce = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceNumberProperty\"])(value);\n\n          this._subscribe();\n        }\n      }]);\n\n      return CdkObserveContent;\n    }();\n\n    CdkObserveContent.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Directive\"],\n      args: [{\n        selector: '[cdkObserveContent]',\n        exportAs: 'cdkObserveContent'\n      }]\n    }];\n    /** @nocollapse */\n\n    CdkObserveContent.ctorParameters = function () {\n      return [{\n        type: ContentObserver\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ElementRef\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgZone\"]\n      }];\n    };\n\n    CdkObserveContent.propDecorators = {\n      event: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Output\"],\n        args: ['cdkObserveContent']\n      }],\n      disabled: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"],\n        args: ['cdkObserveContentDisabled']\n      }],\n      debounce: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"]\n      }]\n    };\n\n    var ObserversModule = function ObserversModule() {\n      _classCallCheck(this, ObserversModule);\n    };\n\n    ObserversModule.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgModule\"],\n      args: [{\n        exports: [CdkObserveContent],\n        declarations: [CdkObserveContent],\n        providers: [MutationObserverFactory]\n      }]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /***/\n  },\n\n  /***/\n  \"./node_modules/@angular/cdk/esm2015/overlay.js\":\n  /*!******************************************************!*\\\n    !*** ./node_modules/@angular/cdk/esm2015/overlay.js ***!\n    \\******************************************************/\n\n  /*! exports provided: ViewportRuler, VIEWPORT_RULER_PROVIDER, CdkScrollable, ScrollDispatcher, Overlay, OverlayContainer, CdkOverlayOrigin, CdkConnectedOverlay, FullscreenOverlayContainer, OverlayRef, OverlayKeyboardDispatcher, OverlayPositionBuilder, GlobalPositionStrategy, ConnectedPositionStrategy, FlexibleConnectedPositionStrategy, OverlayConfig, validateVerticalPosition, validateHorizontalPosition, ConnectionPositionPair, ScrollingVisibility, ConnectedOverlayPositionChange, ScrollStrategyOptions, RepositionScrollStrategy, CloseScrollStrategy, NoopScrollStrategy, BlockScrollStrategy, OverlayModule, OVERLAY_PROVIDERS, ɵg, ɵf, ɵb, ɵa, ɵc, ɵe, ɵd */\n\n  /***/\n  function node_modulesAngularCdkEsm2015OverlayJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Overlay\", function () {\n      return Overlay;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"OverlayContainer\", function () {\n      return OverlayContainer;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CdkOverlayOrigin\", function () {\n      return CdkOverlayOrigin;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CdkConnectedOverlay\", function () {\n      return CdkConnectedOverlay;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FullscreenOverlayContainer\", function () {\n      return FullscreenOverlayContainer;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"OverlayRef\", function () {\n      return OverlayRef;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"OverlayKeyboardDispatcher\", function () {\n      return OverlayKeyboardDispatcher;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"OverlayPositionBuilder\", function () {\n      return OverlayPositionBuilder;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"GlobalPositionStrategy\", function () {\n      return GlobalPositionStrategy;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ConnectedPositionStrategy\", function () {\n      return ConnectedPositionStrategy;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FlexibleConnectedPositionStrategy\", function () {\n      return FlexibleConnectedPositionStrategy;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"OverlayConfig\", function () {\n      return OverlayConfig;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"validateVerticalPosition\", function () {\n      return validateVerticalPosition;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"validateHorizontalPosition\", function () {\n      return validateHorizontalPosition;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ConnectionPositionPair\", function () {\n      return ConnectionPositionPair;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ScrollingVisibility\", function () {\n      return ScrollingVisibility;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ConnectedOverlayPositionChange\", function () {\n      return ConnectedOverlayPositionChange;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ScrollStrategyOptions\", function () {\n      return ScrollStrategyOptions;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"RepositionScrollStrategy\", function () {\n      return RepositionScrollStrategy;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CloseScrollStrategy\", function () {\n      return CloseScrollStrategy;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NoopScrollStrategy\", function () {\n      return NoopScrollStrategy;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"BlockScrollStrategy\", function () {\n      return BlockScrollStrategy;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"OverlayModule\", function () {\n      return OverlayModule;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"OVERLAY_PROVIDERS\", function () {\n      return OVERLAY_PROVIDERS;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵg\", function () {\n      return OVERLAY_KEYBOARD_DISPATCHER_PROVIDER;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵf\", function () {\n      return OVERLAY_KEYBOARD_DISPATCHER_PROVIDER_FACTORY;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵb\", function () {\n      return OVERLAY_CONTAINER_PROVIDER;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵa\", function () {\n      return OVERLAY_CONTAINER_PROVIDER_FACTORY;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵc\", function () {\n      return CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵe\", function () {\n      return CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵd\", function () {\n      return CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER_FACTORY;\n    });\n    /* harmony import */\n\n\n    var _angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! @angular/cdk/coercion */\n    \"./node_modules/@angular/cdk/esm2015/coercion.js\");\n    /* harmony import */\n\n\n    var _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/cdk/scrolling */\n    \"./node_modules/@angular/cdk/esm2015/scrolling.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ViewportRuler\", function () {\n      return _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_1__[\"ViewportRuler\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"VIEWPORT_RULER_PROVIDER\", function () {\n      return _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_1__[\"VIEWPORT_RULER_PROVIDER\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CdkScrollable\", function () {\n      return _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_1__[\"CdkScrollable\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ScrollDispatcher\", function () {\n      return _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_1__[\"ScrollDispatcher\"];\n    });\n    /* harmony import */\n\n\n    var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! @angular/common */\n    \"./node_modules/@angular/common/fesm2015/common.js\");\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var rxjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! rxjs */\n    \"./node_modules/rxjs/_esm2015/index.js\");\n    /* harmony import */\n\n\n    var rxjs_operators__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\n    /*! rxjs/operators */\n    \"./node_modules/rxjs/_esm2015/operators/index.js\");\n    /* harmony import */\n\n\n    var _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(\n    /*! @angular/cdk/platform */\n    \"./node_modules/@angular/cdk/esm2015/platform.js\");\n    /* harmony import */\n\n\n    var _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(\n    /*! @angular/cdk/bidi */\n    \"./node_modules/@angular/cdk/esm2015/bidi.js\");\n    /* harmony import */\n\n\n    var _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(\n    /*! @angular/cdk/portal */\n    \"./node_modules/@angular/cdk/esm2015/portal.js\");\n    /* harmony import */\n\n\n    var _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(\n    /*! @angular/cdk/keycodes */\n    \"./node_modules/@angular/cdk/esm2015/keycodes.js\");\n    /**\n     * @license\n     * Copyright Google LLC All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Strategy that will prevent the user from scrolling while the overlay is visible.\n     */\n\n\n    var BlockScrollStrategy =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _viewportRuler\n       * @param {?} document\n       */\n      function BlockScrollStrategy(_viewportRuler, document) {\n        _classCallCheck(this, BlockScrollStrategy);\n\n        this._viewportRuler = _viewportRuler;\n        this._previousHTMLStyles = {\n          top: '',\n          left: ''\n        };\n        this._isEnabled = false;\n        this._document = document;\n      }\n      /**\n       * Attaches this scroll strategy to an overlay.\n       * @return {?}\n       */\n\n\n      _createClass2(BlockScrollStrategy, [{\n        key: \"attach\",\n        value: function attach() {}\n        /**\n         * Blocks page-level scroll while the attached overlay is open.\n         * @return {?}\n         */\n\n      }, {\n        key: \"enable\",\n        value: function enable() {\n          if (this._canBeEnabled()) {\n            /** @type {?} */\n            var root =\n            /** @type {?} */\n            this._document.documentElement;\n            this._previousScrollPosition = this._viewportRuler.getViewportScrollPosition(); // Cache the previous inline styles in case the user had set them.\n\n            this._previousHTMLStyles.left = root.style.left || '';\n            this._previousHTMLStyles.top = root.style.top || ''; // Note: we're using the `html` node, instead of the `body`, because the `body` may\n            // have the user agent margin, whereas the `html` is guaranteed not to have one.\n\n            root.style.left = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceCssPixelValue\"])(-this._previousScrollPosition.left);\n            root.style.top = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceCssPixelValue\"])(-this._previousScrollPosition.top);\n            root.classList.add('cdk-global-scrollblock');\n            this._isEnabled = true;\n          }\n        }\n        /**\n         * Unblocks page-level scroll while the attached overlay is open.\n         * @return {?}\n         */\n\n      }, {\n        key: \"disable\",\n        value: function disable() {\n          if (this._isEnabled) {\n            /** @type {?} */\n            var html =\n            /** @type {?} */\n            this._document.documentElement;\n            /** @type {?} */\n\n            var body =\n            /** @type {?} */\n            this._document.body;\n            /** @type {?} */\n\n            var htmlStyle =\n            /** @type {?} */\n            html.style;\n            /** @type {?} */\n\n            var bodyStyle =\n            /** @type {?} */\n            body.style;\n            /** @type {?} */\n\n            var previousHtmlScrollBehavior = htmlStyle.scrollBehavior || '';\n            /** @type {?} */\n\n            var previousBodyScrollBehavior = bodyStyle.scrollBehavior || '';\n            this._isEnabled = false;\n            htmlStyle.left = this._previousHTMLStyles.left;\n            htmlStyle.top = this._previousHTMLStyles.top;\n            html.classList.remove('cdk-global-scrollblock'); // Disable user-defined smooth scrolling temporarily while we restore the scroll position.\n            // See https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-behavior\n\n            htmlStyle.scrollBehavior = bodyStyle.scrollBehavior = 'auto';\n            window.scroll(this._previousScrollPosition.left, this._previousScrollPosition.top);\n            htmlStyle.scrollBehavior = previousHtmlScrollBehavior;\n            bodyStyle.scrollBehavior = previousBodyScrollBehavior;\n          }\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_canBeEnabled\",\n        value: function _canBeEnabled() {\n          // Since the scroll strategies can't be singletons, we have to use a global CSS class\n          // (`cdk-global-scrollblock`) to make sure that we don't try to disable global\n          // scrolling multiple times.\n\n          /** @type {?} */\n          var html =\n          /** @type {?} */\n          this._document.documentElement;\n\n          if (html.classList.contains('cdk-global-scrollblock') || this._isEnabled) {\n            return false;\n          }\n          /** @type {?} */\n\n\n          var body = this._document.body;\n          /** @type {?} */\n\n          var viewport = this._viewportRuler.getViewportSize();\n\n          return body.scrollHeight > viewport.height || body.scrollWidth > viewport.width;\n        }\n      }]);\n\n      return BlockScrollStrategy;\n    }();\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Returns an error to be thrown when attempting to attach an already-attached scroll strategy.\n     * @return {?}\n     */\n\n\n    function getMatScrollStrategyAlreadyAttachedError() {\n      return Error(\"Scroll strategy has already been attached.\");\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Strategy that will close the overlay as soon as the user starts scrolling.\n     */\n\n\n    var CloseScrollStrategy =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _scrollDispatcher\n       * @param {?} _ngZone\n       * @param {?} _viewportRuler\n       * @param {?=} _config\n       */\n      function CloseScrollStrategy(_scrollDispatcher, _ngZone, _viewportRuler, _config) {\n        var _this78 = this;\n\n        _classCallCheck(this, CloseScrollStrategy);\n\n        this._scrollDispatcher = _scrollDispatcher;\n        this._ngZone = _ngZone;\n        this._viewportRuler = _viewportRuler;\n        this._config = _config;\n        this._scrollSubscription = null;\n        /**\n         * Detaches the overlay ref and disables the scroll strategy.\n         */\n\n        this._detach =\n        /**\n        * @return {?}\n        */\n        function () {\n          _this78.disable();\n\n          if (_this78._overlayRef.hasAttached()) {\n            _this78._ngZone.run(\n            /**\n            * @return {?}\n            */\n            function () {\n              return _this78._overlayRef.detach();\n            });\n          }\n        };\n      }\n      /**\n       * Attaches this scroll strategy to an overlay.\n       * @param {?} overlayRef\n       * @return {?}\n       */\n\n\n      _createClass2(CloseScrollStrategy, [{\n        key: \"attach\",\n        value: function attach(overlayRef) {\n          if (this._overlayRef) {\n            throw getMatScrollStrategyAlreadyAttachedError();\n          }\n\n          this._overlayRef = overlayRef;\n        }\n        /**\n         * Enables the closing of the attached overlay on scroll.\n         * @return {?}\n         */\n\n      }, {\n        key: \"enable\",\n        value: function enable() {\n          var _this79 = this;\n\n          if (this._scrollSubscription) {\n            return;\n          }\n          /** @type {?} */\n\n\n          var stream = this._scrollDispatcher.scrolled(0);\n\n          if (this._config && this._config.threshold && this._config.threshold > 1) {\n            this._initialScrollPosition = this._viewportRuler.getViewportScrollPosition().top;\n            this._scrollSubscription = stream.subscribe(\n            /**\n            * @return {?}\n            */\n            function () {\n              /** @type {?} */\n              var scrollPosition = _this79._viewportRuler.getViewportScrollPosition().top;\n\n              if (Math.abs(scrollPosition - _this79._initialScrollPosition) >\n              /** @type {?} */\n\n              /** @type {?} */\n              _this79._config.threshold) {\n                _this79._detach();\n              } else {\n                _this79._overlayRef.updatePosition();\n              }\n            });\n          } else {\n            this._scrollSubscription = stream.subscribe(this._detach);\n          }\n        }\n        /**\n         * Disables the closing the attached overlay on scroll.\n         * @return {?}\n         */\n\n      }, {\n        key: \"disable\",\n        value: function disable() {\n          if (this._scrollSubscription) {\n            this._scrollSubscription.unsubscribe();\n\n            this._scrollSubscription = null;\n          }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"detach\",\n        value: function detach() {\n          this.disable();\n          this._overlayRef =\n          /** @type {?} */\n          null;\n        }\n      }]);\n\n      return CloseScrollStrategy;\n    }();\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Scroll strategy that doesn't do anything.\n     */\n\n\n    var NoopScrollStrategy =\n    /*#__PURE__*/\n    function () {\n      function NoopScrollStrategy() {\n        _classCallCheck(this, NoopScrollStrategy);\n      }\n\n      _createClass2(NoopScrollStrategy, [{\n        key: \"enable\",\n\n        /**\n         * Does nothing, as this scroll strategy is a no-op.\n         * @return {?}\n         */\n        value: function enable() {}\n        /**\n         * Does nothing, as this scroll strategy is a no-op.\n         * @return {?}\n         */\n\n      }, {\n        key: \"disable\",\n        value: function disable() {}\n        /**\n         * Does nothing, as this scroll strategy is a no-op.\n         * @return {?}\n         */\n\n      }, {\n        key: \"attach\",\n        value: function attach() {}\n      }]);\n\n      return NoopScrollStrategy;\n    }();\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n    // TODO(jelbourn): move this to live with the rest of the scrolling code\n    // TODO(jelbourn): someday replace this with IntersectionObservers\n\n    /**\n     * Gets whether an element is scrolled outside of view by any of its parent scrolling containers.\n     * \\@docs-private\n     * @param {?} element Dimensions of the element (from getBoundingClientRect)\n     * @param {?} scrollContainers Dimensions of element's scrolling containers (from getBoundingClientRect)\n     * @return {?} Whether the element is scrolled out of view\n     */\n\n\n    function isElementScrolledOutsideView(element, scrollContainers) {\n      return scrollContainers.some(\n      /**\n      * @param {?} containerBounds\n      * @return {?}\n      */\n      function (containerBounds) {\n        /** @type {?} */\n        var outsideAbove = element.bottom < containerBounds.top;\n        /** @type {?} */\n\n        var outsideBelow = element.top > containerBounds.bottom;\n        /** @type {?} */\n\n        var outsideLeft = element.right < containerBounds.left;\n        /** @type {?} */\n\n        var outsideRight = element.left > containerBounds.right;\n        return outsideAbove || outsideBelow || outsideLeft || outsideRight;\n      });\n    }\n    /**\n     * Gets whether an element is clipped by any of its scrolling containers.\n     * \\@docs-private\n     * @param {?} element Dimensions of the element (from getBoundingClientRect)\n     * @param {?} scrollContainers Dimensions of element's scrolling containers (from getBoundingClientRect)\n     * @return {?} Whether the element is clipped\n     */\n\n\n    function isElementClippedByScrolling(element, scrollContainers) {\n      return scrollContainers.some(\n      /**\n      * @param {?} scrollContainerRect\n      * @return {?}\n      */\n      function (scrollContainerRect) {\n        /** @type {?} */\n        var clippedAbove = element.top < scrollContainerRect.top;\n        /** @type {?} */\n\n        var clippedBelow = element.bottom > scrollContainerRect.bottom;\n        /** @type {?} */\n\n        var clippedLeft = element.left < scrollContainerRect.left;\n        /** @type {?} */\n\n        var clippedRight = element.right > scrollContainerRect.right;\n        return clippedAbove || clippedBelow || clippedLeft || clippedRight;\n      });\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Strategy that will update the element position as the user is scrolling.\n     */\n\n\n    var RepositionScrollStrategy =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _scrollDispatcher\n       * @param {?} _viewportRuler\n       * @param {?} _ngZone\n       * @param {?=} _config\n       */\n      function RepositionScrollStrategy(_scrollDispatcher, _viewportRuler, _ngZone, _config) {\n        _classCallCheck(this, RepositionScrollStrategy);\n\n        this._scrollDispatcher = _scrollDispatcher;\n        this._viewportRuler = _viewportRuler;\n        this._ngZone = _ngZone;\n        this._config = _config;\n        this._scrollSubscription = null;\n      }\n      /**\n       * Attaches this scroll strategy to an overlay.\n       * @param {?} overlayRef\n       * @return {?}\n       */\n\n\n      _createClass2(RepositionScrollStrategy, [{\n        key: \"attach\",\n        value: function attach(overlayRef) {\n          if (this._overlayRef) {\n            throw getMatScrollStrategyAlreadyAttachedError();\n          }\n\n          this._overlayRef = overlayRef;\n        }\n        /**\n         * Enables repositioning of the attached overlay on scroll.\n         * @return {?}\n         */\n\n      }, {\n        key: \"enable\",\n        value: function enable() {\n          var _this80 = this;\n\n          if (!this._scrollSubscription) {\n            /** @type {?} */\n            var throttle = this._config ? this._config.scrollThrottle : 0;\n            this._scrollSubscription = this._scrollDispatcher.scrolled(throttle).subscribe(\n            /**\n            * @return {?}\n            */\n            function () {\n              _this80._overlayRef.updatePosition(); // TODO(crisbeto): make `close` on by default once all components can handle it.\n\n\n              if (_this80._config && _this80._config.autoClose) {\n                /** @type {?} */\n                var overlayRect = _this80._overlayRef.overlayElement.getBoundingClientRect();\n\n                var _this80$_viewportRule = _this80._viewportRuler.getViewportSize(),\n                    width = _this80$_viewportRule.width,\n                    height = _this80$_viewportRule.height; // TODO(crisbeto): include all ancestor scroll containers here once\n                // we have a way of exposing the trigger element to the scroll strategy.\n\n                /** @type {?} */\n\n\n                var parentRects = [{\n                  width: width,\n                  height: height,\n                  bottom: height,\n                  right: width,\n                  top: 0,\n                  left: 0\n                }];\n\n                if (isElementScrolledOutsideView(overlayRect, parentRects)) {\n                  _this80.disable();\n\n                  _this80._ngZone.run(\n                  /**\n                  * @return {?}\n                  */\n                  function () {\n                    return _this80._overlayRef.detach();\n                  });\n                }\n              }\n            });\n          }\n        }\n        /**\n         * Disables repositioning of the attached overlay on scroll.\n         * @return {?}\n         */\n\n      }, {\n        key: \"disable\",\n        value: function disable() {\n          if (this._scrollSubscription) {\n            this._scrollSubscription.unsubscribe();\n\n            this._scrollSubscription = null;\n          }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"detach\",\n        value: function detach() {\n          this.disable();\n          this._overlayRef =\n          /** @type {?} */\n          null;\n        }\n      }]);\n\n      return RepositionScrollStrategy;\n    }();\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Options for how an overlay will handle scrolling.\n     *\n     * Users can provide a custom value for `ScrollStrategyOptions` to replace the default\n     * behaviors. This class primarily acts as a factory for ScrollStrategy instances.\n     */\n\n\n    var ScrollStrategyOptions =\n    /**\n     * @param {?} _scrollDispatcher\n     * @param {?} _viewportRuler\n     * @param {?} _ngZone\n     * @param {?} document\n     */\n    function ScrollStrategyOptions(_scrollDispatcher, _viewportRuler, _ngZone, document) {\n      var _this81 = this;\n\n      _classCallCheck(this, ScrollStrategyOptions);\n\n      this._scrollDispatcher = _scrollDispatcher;\n      this._viewportRuler = _viewportRuler;\n      this._ngZone = _ngZone;\n      /**\n       * Do nothing on scroll.\n       */\n\n      this.noop =\n      /**\n      * @return {?}\n      */\n      function () {\n        return new NoopScrollStrategy();\n      };\n      /**\n       * Close the overlay as soon as the user scrolls.\n       * @param config Configuration to be used inside the scroll strategy.\n       */\n\n\n      this.close =\n      /**\n      * @param {?=} config\n      * @return {?}\n      */\n      function (config) {\n        return new CloseScrollStrategy(_this81._scrollDispatcher, _this81._ngZone, _this81._viewportRuler, config);\n      };\n      /**\n       * Block scrolling.\n       */\n\n\n      this.block =\n      /**\n      * @return {?}\n      */\n      function () {\n        return new BlockScrollStrategy(_this81._viewportRuler, _this81._document);\n      };\n      /**\n       * Update the overlay's position on scroll.\n       * @param config Configuration to be used inside the scroll strategy.\n       * Allows debouncing the reposition calls.\n       */\n\n\n      this.reposition =\n      /**\n      * @param {?=} config\n      * @return {?}\n      */\n      function (config) {\n        return new RepositionScrollStrategy(_this81._scrollDispatcher, _this81._viewportRuler, _this81._ngZone, config);\n      };\n\n      this._document = document;\n    };\n\n    ScrollStrategyOptions.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    ScrollStrategyOptions.ctorParameters = function () {\n      return [{\n        type: _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_1__[\"ScrollDispatcher\"]\n      }, {\n        type: _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_1__[\"ViewportRuler\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"NgZone\"]\n      }, {\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Inject\"],\n          args: [_angular_common__WEBPACK_IMPORTED_MODULE_2__[\"DOCUMENT\"]]\n        }]\n      }];\n    };\n    /** @nocollapse */\n\n\n    ScrollStrategyOptions.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ɵɵdefineInjectable\"])({\n      factory: function ScrollStrategyOptions_Factory() {\n        return new ScrollStrategyOptions(Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ɵɵinject\"])(_angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_1__[\"ScrollDispatcher\"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ɵɵinject\"])(_angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_1__[\"ViewportRuler\"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ɵɵinject\"])(_angular_core__WEBPACK_IMPORTED_MODULE_3__[\"NgZone\"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ɵɵinject\"])(_angular_common__WEBPACK_IMPORTED_MODULE_2__[\"DOCUMENT\"]));\n      },\n      token: ScrollStrategyOptions,\n      providedIn: \"root\"\n    });\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Initial configuration used when creating an overlay.\n     */\n\n    var OverlayConfig =\n    /**\n     * @param {?=} config\n     */\n    function OverlayConfig(config) {\n      _classCallCheck(this, OverlayConfig);\n\n      /**\n       * Strategy to be used when handling scroll events while the overlay is open.\n       */\n      this.scrollStrategy = new NoopScrollStrategy();\n      /**\n       * Custom class to add to the overlay pane.\n       */\n\n      this.panelClass = '';\n      /**\n       * Whether the overlay has a backdrop.\n       */\n\n      this.hasBackdrop = false;\n      /**\n       * Custom class to add to the backdrop\n       */\n\n      this.backdropClass = 'cdk-overlay-dark-backdrop';\n      /**\n       * Whether the overlay should be disposed of when the user goes backwards/forwards in history.\n       * Note that this usually doesn't include clicking on links (unless the user is using\n       * the `HashLocationStrategy`).\n       */\n\n      this.disposeOnNavigation = false;\n\n      if (config) {\n        /** @type {?} */\n        var configKeys =\n        /** @type {?} */\n        Object.keys(config);\n\n        for (var _i8 = 0, _configKeys = configKeys; _i8 < _configKeys.length; _i8++) {\n          var key = _configKeys[_i8];\n\n          if (config[key] !== undefined) {\n            // TypeScript, as of version 3.5, sees the left-hand-side of this expression\n            // as \"I don't know *which* key this is, so the only valid value is the intersection\n            // of all the posible values.\" In this case, that happens to be `undefined`. TypeScript\n            // is not smart enough to see that the right-hand-side is actually an access of the same\n            // exact type with the same exact key, meaning that the value type must be identical.\n            // So we use `any` to work around this.\n            this[key] =\n            /** @type {?} */\n            config[key];\n          }\n        }\n      }\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * The points of the origin element and the overlay element to connect.\n     */\n\n\n    var ConnectionPositionPair =\n    /**\n     * @param {?} origin\n     * @param {?} overlay\n     * @param {?=} offsetX\n     * @param {?=} offsetY\n     * @param {?=} panelClass\n     */\n    function ConnectionPositionPair(origin, overlay, offsetX, offsetY, panelClass) {\n      _classCallCheck(this, ConnectionPositionPair);\n\n      this.offsetX = offsetX;\n      this.offsetY = offsetY;\n      this.panelClass = panelClass;\n      this.originX = origin.originX;\n      this.originY = origin.originY;\n      this.overlayX = overlay.overlayX;\n      this.overlayY = overlay.overlayY;\n    };\n    /**\n     * Set of properties regarding the position of the origin and overlay relative to the viewport\n     * with respect to the containing Scrollable elements.\n     *\n     * The overlay and origin are clipped if any part of their bounding client rectangle exceeds the\n     * bounds of any one of the strategy's Scrollable's bounding client rectangle.\n     *\n     * The overlay and origin are outside view if there is no overlap between their bounding client\n     * rectangle and any one of the strategy's Scrollable's bounding client rectangle.\n     *\n     *       -----------                    -----------\n     *       | outside |                    | clipped |\n     *       |  view   |              --------------------------\n     *       |         |              |     |         |        |\n     *       ----------               |     -----------        |\n     *  --------------------------    |                        |\n     *  |                        |    |      Scrollable        |\n     *  |                        |    |                        |\n     *  |                        |     --------------------------\n     *  |      Scrollable        |\n     *  |                        |\n     *  --------------------------\n     *\n     * \\@docs-private\n     */\n\n\n    var ScrollingVisibility = function ScrollingVisibility() {\n      _classCallCheck(this, ScrollingVisibility);\n    };\n    /**\n     * The change event emitted by the strategy when a fallback position is used.\n     */\n\n\n    var ConnectedOverlayPositionChange =\n    /**\n     * @param {?} connectionPair\n     * @param {?} scrollableViewProperties\n     */\n    function ConnectedOverlayPositionChange(connectionPair, scrollableViewProperties) {\n      _classCallCheck(this, ConnectedOverlayPositionChange);\n\n      this.connectionPair = connectionPair;\n      this.scrollableViewProperties = scrollableViewProperties;\n    };\n    /** @nocollapse */\n\n\n    ConnectedOverlayPositionChange.ctorParameters = function () {\n      return [{\n        type: ConnectionPositionPair\n      }, {\n        type: ScrollingVisibility,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Optional\"]\n        }]\n      }];\n    };\n    /**\n     * Validates whether a vertical position property matches the expected values.\n     * \\@docs-private\n     * @param {?} property Name of the property being validated.\n     * @param {?} value Value of the property being validated.\n     * @return {?}\n     */\n\n\n    function validateVerticalPosition(property, value) {\n      if (value !== 'top' && value !== 'bottom' && value !== 'center') {\n        throw Error(\"ConnectedPosition: Invalid \".concat(property, \" \\\"\").concat(value, \"\\\". \") + \"Expected \\\"top\\\", \\\"bottom\\\" or \\\"center\\\".\");\n      }\n    }\n    /**\n     * Validates whether a horizontal position property matches the expected values.\n     * \\@docs-private\n     * @param {?} property Name of the property being validated.\n     * @param {?} value Value of the property being validated.\n     * @return {?}\n     */\n\n\n    function validateHorizontalPosition(property, value) {\n      if (value !== 'start' && value !== 'end' && value !== 'center') {\n        throw Error(\"ConnectedPosition: Invalid \".concat(property, \" \\\"\").concat(value, \"\\\". \") + \"Expected \\\"start\\\", \\\"end\\\" or \\\"center\\\".\");\n      }\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Service for dispatching keyboard events that land on the body to appropriate overlay ref,\n     * if any. It maintains a list of attached overlays to determine best suited overlay based\n     * on event target and order of overlay opens.\n     */\n\n\n    var OverlayKeyboardDispatcher =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} document\n       */\n      function OverlayKeyboardDispatcher(document) {\n        var _this82 = this;\n\n        _classCallCheck(this, OverlayKeyboardDispatcher);\n\n        /**\n         * Currently attached overlays in the order they were attached.\n         */\n        this._attachedOverlays = [];\n        /**\n         * Keyboard event listener that will be attached to the body.\n         */\n\n        this._keydownListener =\n        /**\n        * @param {?} event\n        * @return {?}\n        */\n        function (event) {\n          /** @type {?} */\n          var overlays = _this82._attachedOverlays;\n\n          for (var i = overlays.length - 1; i > -1; i--) {\n            // Dispatch the keydown event to the top overlay which has subscribers to its keydown events.\n            // We want to target the most recent overlay, rather than trying to match where the event came\n            // from, because some components might open an overlay, but keep focus on a trigger element\n            // (e.g. for select and autocomplete). We skip overlays without keydown event subscriptions,\n            // because we don't want overlays that don't handle keyboard events to block the ones below\n            // them that do.\n            if (overlays[i]._keydownEventSubscriptions > 0) {\n              overlays[i]._keydownEvents.next(event);\n\n              break;\n            }\n          }\n        };\n\n        this._document = document;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(OverlayKeyboardDispatcher, [{\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          this._detach();\n        }\n        /**\n         * Add a new overlay to the list of attached overlay refs.\n         * @param {?} overlayRef\n         * @return {?}\n         */\n\n      }, {\n        key: \"add\",\n        value: function add(overlayRef) {\n          // Ensure that we don't get the same overlay multiple times.\n          this.remove(overlayRef); // Lazily start dispatcher once first overlay is added\n\n          if (!this._isAttached) {\n            this._document.body.addEventListener('keydown', this._keydownListener);\n\n            this._isAttached = true;\n          }\n\n          this._attachedOverlays.push(overlayRef);\n        }\n        /**\n         * Remove an overlay from the list of attached overlay refs.\n         * @param {?} overlayRef\n         * @return {?}\n         */\n\n      }, {\n        key: \"remove\",\n        value: function remove(overlayRef) {\n          /** @type {?} */\n          var index = this._attachedOverlays.indexOf(overlayRef);\n\n          if (index > -1) {\n            this._attachedOverlays.splice(index, 1);\n          } // Remove the global listener once there are no more overlays.\n\n\n          if (this._attachedOverlays.length === 0) {\n            this._detach();\n          }\n        }\n        /**\n         * Detaches the global keyboard event listener.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_detach\",\n        value: function _detach() {\n          if (this._isAttached) {\n            this._document.body.removeEventListener('keydown', this._keydownListener);\n\n            this._isAttached = false;\n          }\n        }\n      }]);\n\n      return OverlayKeyboardDispatcher;\n    }();\n\n    OverlayKeyboardDispatcher.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    OverlayKeyboardDispatcher.ctorParameters = function () {\n      return [{\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Inject\"],\n          args: [_angular_common__WEBPACK_IMPORTED_MODULE_2__[\"DOCUMENT\"]]\n        }]\n      }];\n    };\n    /** @nocollapse */\n\n\n    OverlayKeyboardDispatcher.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ɵɵdefineInjectable\"])({\n      factory: function OverlayKeyboardDispatcher_Factory() {\n        return new OverlayKeyboardDispatcher(Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ɵɵinject\"])(_angular_common__WEBPACK_IMPORTED_MODULE_2__[\"DOCUMENT\"]));\n      },\n      token: OverlayKeyboardDispatcher,\n      providedIn: \"root\"\n    });\n    /**\n     * \\@docs-private \\@deprecated \\@breaking-change 8.0.0\n     * @param {?} dispatcher\n     * @param {?} _document\n     * @return {?}\n     */\n\n    function OVERLAY_KEYBOARD_DISPATCHER_PROVIDER_FACTORY(dispatcher, _document) {\n      return dispatcher || new OverlayKeyboardDispatcher(_document);\n    }\n    /**\n     * \\@docs-private \\@deprecated \\@breaking-change 8.0.0\n     * @type {?}\n     */\n\n\n    var OVERLAY_KEYBOARD_DISPATCHER_PROVIDER = {\n      // If there is already an OverlayKeyboardDispatcher available, use that.\n      // Otherwise, provide a new one.\n      provide: OverlayKeyboardDispatcher,\n      deps: [[new _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Optional\"](), new _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"SkipSelf\"](), OverlayKeyboardDispatcher],\n      /** @type {?} */\n      // Coerce to `InjectionToken` so that the `deps` match the \"shape\"\n      // of the type expected by Angular\n      _angular_common__WEBPACK_IMPORTED_MODULE_2__[\"DOCUMENT\"]],\n      useFactory: OVERLAY_KEYBOARD_DISPATCHER_PROVIDER_FACTORY\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Container inside which all overlays will render.\n     */\n\n    var OverlayContainer =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} document\n       */\n      function OverlayContainer(document) {\n        _classCallCheck(this, OverlayContainer);\n\n        this._document = document;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(OverlayContainer, [{\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          if (this._containerElement && this._containerElement.parentNode) {\n            this._containerElement.parentNode.removeChild(this._containerElement);\n          }\n        }\n        /**\n         * This method returns the overlay container element. It will lazily\n         * create the element the first time  it is called to facilitate using\n         * the container in non-browser environments.\n         * @return {?} the container element\n         */\n\n      }, {\n        key: \"getContainerElement\",\n        value: function getContainerElement() {\n          if (!this._containerElement) {\n            this._createContainer();\n          }\n\n          return this._containerElement;\n        }\n        /**\n         * Create the overlay container element, which is simply a div\n         * with the 'cdk-overlay-container' class on the document body.\n         * @protected\n         * @return {?}\n         */\n\n      }, {\n        key: \"_createContainer\",\n        value: function _createContainer() {\n          /** @type {?} */\n          var containerClass = 'cdk-overlay-container';\n          /** @type {?} */\n\n          var previousContainers = this._document.getElementsByClassName(containerClass); // Remove any old containers. This can happen when transitioning from the server to the client.\n\n\n          for (var i = 0; i < previousContainers.length; i++) {\n            /** @type {?} */\n            previousContainers[i].parentNode.removeChild(previousContainers[i]);\n          }\n          /** @type {?} */\n\n\n          var container = this._document.createElement('div');\n\n          container.classList.add(containerClass);\n\n          this._document.body.appendChild(container);\n\n          this._containerElement = container;\n        }\n      }]);\n\n      return OverlayContainer;\n    }();\n\n    OverlayContainer.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    OverlayContainer.ctorParameters = function () {\n      return [{\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Inject\"],\n          args: [_angular_common__WEBPACK_IMPORTED_MODULE_2__[\"DOCUMENT\"]]\n        }]\n      }];\n    };\n    /** @nocollapse */\n\n\n    OverlayContainer.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ɵɵdefineInjectable\"])({\n      factory: function OverlayContainer_Factory() {\n        return new OverlayContainer(Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ɵɵinject\"])(_angular_common__WEBPACK_IMPORTED_MODULE_2__[\"DOCUMENT\"]));\n      },\n      token: OverlayContainer,\n      providedIn: \"root\"\n    });\n    /**\n     * \\@docs-private \\@deprecated \\@breaking-change 8.0.0\n     * @param {?} parentContainer\n     * @param {?} _document\n     * @return {?}\n     */\n\n    function OVERLAY_CONTAINER_PROVIDER_FACTORY(parentContainer, _document) {\n      return parentContainer || new OverlayContainer(_document);\n    }\n    /**\n     * \\@docs-private \\@deprecated \\@breaking-change 8.0.0\n     * @type {?}\n     */\n\n\n    var OVERLAY_CONTAINER_PROVIDER = {\n      // If there is already an OverlayContainer available, use that. Otherwise, provide a new one.\n      provide: OverlayContainer,\n      deps: [[new _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Optional\"](), new _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"SkipSelf\"](), OverlayContainer],\n      /** @type {?} */\n      _angular_common__WEBPACK_IMPORTED_MODULE_2__[\"DOCUMENT\"]],\n      useFactory: OVERLAY_CONTAINER_PROVIDER_FACTORY\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Reference to an overlay that has been created with the Overlay service.\n     * Used to manipulate or dispose of said overlay.\n     */\n\n    var OverlayRef =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _portalOutlet\n       * @param {?} _host\n       * @param {?} _pane\n       * @param {?} _config\n       * @param {?} _ngZone\n       * @param {?} _keyboardDispatcher\n       * @param {?} _document\n       * @param {?=} _location\n       */\n      function OverlayRef(_portalOutlet, _host, _pane, _config, _ngZone, _keyboardDispatcher, _document, _location) {\n        var _this83 = this;\n\n        _classCallCheck(this, OverlayRef);\n\n        this._portalOutlet = _portalOutlet;\n        this._host = _host;\n        this._pane = _pane;\n        this._config = _config;\n        this._ngZone = _ngZone;\n        this._keyboardDispatcher = _keyboardDispatcher;\n        this._document = _document;\n        this._location = _location;\n        this._backdropElement = null;\n        this._backdropClick = new rxjs__WEBPACK_IMPORTED_MODULE_4__[\"Subject\"]();\n        this._attachments = new rxjs__WEBPACK_IMPORTED_MODULE_4__[\"Subject\"]();\n        this._detachments = new rxjs__WEBPACK_IMPORTED_MODULE_4__[\"Subject\"]();\n        this._locationChanges = rxjs__WEBPACK_IMPORTED_MODULE_4__[\"Subscription\"].EMPTY;\n\n        this._backdropClickHandler =\n        /**\n        * @param {?} event\n        * @return {?}\n        */\n        function (event) {\n          return _this83._backdropClick.next(event);\n        };\n\n        this._keydownEventsObservable = new rxjs__WEBPACK_IMPORTED_MODULE_4__[\"Observable\"](\n        /**\n        * @param {?} observer\n        * @return {?}\n        */\n        function (observer) {\n          /** @type {?} */\n          var subscription = _this83._keydownEvents.subscribe(observer);\n\n          _this83._keydownEventSubscriptions++;\n          return (\n            /**\n            * @return {?}\n            */\n            function () {\n              subscription.unsubscribe();\n              _this83._keydownEventSubscriptions--;\n            }\n          );\n        });\n        /**\n         * Stream of keydown events dispatched to this overlay.\n         */\n\n        this._keydownEvents = new rxjs__WEBPACK_IMPORTED_MODULE_4__[\"Subject\"]();\n        /**\n         * Amount of subscriptions to the keydown events.\n         */\n\n        this._keydownEventSubscriptions = 0;\n\n        if (_config.scrollStrategy) {\n          this._scrollStrategy = _config.scrollStrategy;\n\n          this._scrollStrategy.attach(this);\n        }\n\n        this._positionStrategy = _config.positionStrategy;\n      }\n      /**\n       * The overlay's HTML element\n       * @return {?}\n       */\n\n\n      _createClass2(OverlayRef, [{\n        key: \"attach\",\n\n        /**\n         * Attaches content, given via a Portal, to the overlay.\n         * If the overlay is configured to have a backdrop, it will be created.\n         *\n         * @param {?} portal Portal instance to which to attach the overlay.\n         * @return {?} The portal attachment result.\n         */\n        value: function attach(portal) {\n          var _this84 = this;\n\n          /** @type {?} */\n          var attachResult = this._portalOutlet.attach(portal);\n\n          if (this._positionStrategy) {\n            this._positionStrategy.attach(this);\n          } // Update the pane element with the given configuration.\n\n\n          if (!this._host.parentElement && this._previousHostParent) {\n            this._previousHostParent.appendChild(this._host);\n          }\n\n          this._updateStackingOrder();\n\n          this._updateElementSize();\n\n          this._updateElementDirection();\n\n          if (this._scrollStrategy) {\n            this._scrollStrategy.enable();\n          } // Update the position once the zone is stable so that the overlay will be fully rendered\n          // before attempting to position it, as the position may depend on the size of the rendered\n          // content.\n\n\n          this._ngZone.onStable.asObservable().pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__[\"take\"])(1)).subscribe(\n          /**\n          * @return {?}\n          */\n          function () {\n            // The overlay could've been detached before the zone has stabilized.\n            if (_this84.hasAttached()) {\n              _this84.updatePosition();\n            }\n          }); // Enable pointer events for the overlay pane element.\n\n\n          this._togglePointerEvents(true);\n\n          if (this._config.hasBackdrop) {\n            this._attachBackdrop();\n          }\n\n          if (this._config.panelClass) {\n            this._toggleClasses(this._pane, this._config.panelClass, true);\n          } // Only emit the `attachments` event once all other setup is done.\n\n\n          this._attachments.next(); // Track this overlay by the keyboard dispatcher\n\n\n          this._keyboardDispatcher.add(this); // @breaking-change 8.0.0 remove the null check for `_location`\n          // once the constructor parameter is made required.\n\n\n          if (this._config.disposeOnNavigation && this._location) {\n            this._locationChanges = this._location.subscribe(\n            /**\n            * @return {?}\n            */\n            function () {\n              return _this84.dispose();\n            });\n          }\n\n          return attachResult;\n        }\n        /**\n         * Detaches an overlay from a portal.\n         * @return {?} The portal detachment result.\n         */\n\n      }, {\n        key: \"detach\",\n        value: function detach() {\n          if (!this.hasAttached()) {\n            return;\n          }\n\n          this.detachBackdrop(); // When the overlay is detached, the pane element should disable pointer events.\n          // This is necessary because otherwise the pane element will cover the page and disable\n          // pointer events therefore. Depends on the position strategy and the applied pane boundaries.\n\n          this._togglePointerEvents(false);\n\n          if (this._positionStrategy && this._positionStrategy.detach) {\n            this._positionStrategy.detach();\n          }\n\n          if (this._scrollStrategy) {\n            this._scrollStrategy.disable();\n          }\n          /** @type {?} */\n\n\n          var detachmentResult = this._portalOutlet.detach(); // Only emit after everything is detached.\n\n\n          this._detachments.next(); // Remove this overlay from keyboard dispatcher tracking.\n\n\n          this._keyboardDispatcher.remove(this); // Keeping the host element in DOM the can cause scroll jank, because it still gets\n          // rendered, even though it's transparent and unclickable which is why we remove it.\n\n\n          this._detachContentWhenStable(); // Stop listening for location changes.\n\n\n          this._locationChanges.unsubscribe();\n\n          return detachmentResult;\n        }\n        /**\n         * Cleans up the overlay from the DOM.\n         * @return {?}\n         */\n\n      }, {\n        key: \"dispose\",\n        value: function dispose() {\n          /** @type {?} */\n          var isAttached = this.hasAttached();\n\n          if (this._positionStrategy) {\n            this._positionStrategy.dispose();\n          }\n\n          this._disposeScrollStrategy();\n\n          this.detachBackdrop();\n\n          this._locationChanges.unsubscribe();\n\n          this._keyboardDispatcher.remove(this);\n\n          this._portalOutlet.dispose();\n\n          this._attachments.complete();\n\n          this._backdropClick.complete();\n\n          this._keydownEvents.complete();\n\n          if (this._host && this._host.parentNode) {\n            this._host.parentNode.removeChild(this._host);\n\n            this._host =\n            /** @type {?} */\n            null;\n          }\n\n          this._previousHostParent = this._pane =\n          /** @type {?} */\n          null;\n\n          if (isAttached) {\n            this._detachments.next();\n          }\n\n          this._detachments.complete();\n        }\n        /**\n         * Whether the overlay has attached content.\n         * @return {?}\n         */\n\n      }, {\n        key: \"hasAttached\",\n        value: function hasAttached() {\n          return this._portalOutlet.hasAttached();\n        }\n        /**\n         * Gets an observable that emits when the backdrop has been clicked.\n         * @return {?}\n         */\n\n      }, {\n        key: \"backdropClick\",\n        value: function backdropClick() {\n          return this._backdropClick.asObservable();\n        }\n        /**\n         * Gets an observable that emits when the overlay has been attached.\n         * @return {?}\n         */\n\n      }, {\n        key: \"attachments\",\n        value: function attachments() {\n          return this._attachments.asObservable();\n        }\n        /**\n         * Gets an observable that emits when the overlay has been detached.\n         * @return {?}\n         */\n\n      }, {\n        key: \"detachments\",\n        value: function detachments() {\n          return this._detachments.asObservable();\n        }\n        /**\n         * Gets an observable of keydown events targeted to this overlay.\n         * @return {?}\n         */\n\n      }, {\n        key: \"keydownEvents\",\n        value: function keydownEvents() {\n          return this._keydownEventsObservable;\n        }\n        /**\n         * Gets the current overlay configuration, which is immutable.\n         * @return {?}\n         */\n\n      }, {\n        key: \"getConfig\",\n        value: function getConfig() {\n          return this._config;\n        }\n        /**\n         * Updates the position of the overlay based on the position strategy.\n         * @return {?}\n         */\n\n      }, {\n        key: \"updatePosition\",\n        value: function updatePosition() {\n          if (this._positionStrategy) {\n            this._positionStrategy.apply();\n          }\n        }\n        /**\n         * Switches to a new position strategy and updates the overlay position.\n         * @param {?} strategy\n         * @return {?}\n         */\n\n      }, {\n        key: \"updatePositionStrategy\",\n        value: function updatePositionStrategy(strategy) {\n          if (strategy === this._positionStrategy) {\n            return;\n          }\n\n          if (this._positionStrategy) {\n            this._positionStrategy.dispose();\n          }\n\n          this._positionStrategy = strategy;\n\n          if (this.hasAttached()) {\n            strategy.attach(this);\n            this.updatePosition();\n          }\n        }\n        /**\n         * Update the size properties of the overlay.\n         * @param {?} sizeConfig\n         * @return {?}\n         */\n\n      }, {\n        key: \"updateSize\",\n        value: function updateSize(sizeConfig) {\n          this._config = Object.assign({}, this._config, sizeConfig);\n\n          this._updateElementSize();\n        }\n        /**\n         * Sets the LTR/RTL direction for the overlay.\n         * @param {?} dir\n         * @return {?}\n         */\n\n      }, {\n        key: \"setDirection\",\n        value: function setDirection(dir) {\n          this._config = Object.assign({}, this._config, {\n            direction: dir\n          });\n\n          this._updateElementDirection();\n        }\n        /**\n         * Add a CSS class or an array of classes to the overlay pane.\n         * @param {?} classes\n         * @return {?}\n         */\n\n      }, {\n        key: \"addPanelClass\",\n        value: function addPanelClass(classes) {\n          if (this._pane) {\n            this._toggleClasses(this._pane, classes, true);\n          }\n        }\n        /**\n         * Remove a CSS class or an array of classes from the overlay pane.\n         * @param {?} classes\n         * @return {?}\n         */\n\n      }, {\n        key: \"removePanelClass\",\n        value: function removePanelClass(classes) {\n          if (this._pane) {\n            this._toggleClasses(this._pane, classes, false);\n          }\n        }\n        /**\n         * Returns the layout direction of the overlay panel.\n         * @return {?}\n         */\n\n      }, {\n        key: \"getDirection\",\n        value: function getDirection() {\n          /** @type {?} */\n          var direction = this._config.direction;\n\n          if (!direction) {\n            return 'ltr';\n          }\n\n          return typeof direction === 'string' ? direction : direction.value;\n        }\n        /**\n         * Switches to a new scroll strategy.\n         * @param {?} strategy\n         * @return {?}\n         */\n\n      }, {\n        key: \"updateScrollStrategy\",\n        value: function updateScrollStrategy(strategy) {\n          if (strategy === this._scrollStrategy) {\n            return;\n          }\n\n          this._disposeScrollStrategy();\n\n          this._scrollStrategy = strategy;\n\n          if (this.hasAttached()) {\n            strategy.attach(this);\n            strategy.enable();\n          }\n        }\n        /**\n         * Updates the text direction of the overlay panel.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_updateElementDirection\",\n        value: function _updateElementDirection() {\n          this._host.setAttribute('dir', this.getDirection());\n        }\n        /**\n         * Updates the size of the overlay element based on the overlay config.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_updateElementSize\",\n        value: function _updateElementSize() {\n          if (!this._pane) {\n            return;\n          }\n          /** @type {?} */\n\n\n          var style = this._pane.style;\n          style.width = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceCssPixelValue\"])(this._config.width);\n          style.height = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceCssPixelValue\"])(this._config.height);\n          style.minWidth = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceCssPixelValue\"])(this._config.minWidth);\n          style.minHeight = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceCssPixelValue\"])(this._config.minHeight);\n          style.maxWidth = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceCssPixelValue\"])(this._config.maxWidth);\n          style.maxHeight = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceCssPixelValue\"])(this._config.maxHeight);\n        }\n        /**\n         * Toggles the pointer events for the overlay pane element.\n         * @private\n         * @param {?} enablePointer\n         * @return {?}\n         */\n\n      }, {\n        key: \"_togglePointerEvents\",\n        value: function _togglePointerEvents(enablePointer) {\n          this._pane.style.pointerEvents = enablePointer ? 'auto' : 'none';\n        }\n        /**\n         * Attaches a backdrop for this overlay.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_attachBackdrop\",\n        value: function _attachBackdrop() {\n          var _this85 = this;\n\n          /** @type {?} */\n          var showingClass = 'cdk-overlay-backdrop-showing';\n          this._backdropElement = this._document.createElement('div');\n\n          this._backdropElement.classList.add('cdk-overlay-backdrop');\n\n          if (this._config.backdropClass) {\n            this._toggleClasses(this._backdropElement, this._config.backdropClass, true);\n          } // Insert the backdrop before the pane in the DOM order,\n          // in order to handle stacked overlays properly.\n\n\n          /** @type {?} */\n          this._host.parentElement.insertBefore(this._backdropElement, this._host); // Forward backdrop clicks such that the consumer of the overlay can perform whatever\n          // action desired when such a click occurs (usually closing the overlay).\n\n\n          this._backdropElement.addEventListener('click', this._backdropClickHandler); // Add class to fade-in the backdrop after one frame.\n\n\n          if (typeof requestAnimationFrame !== 'undefined') {\n            this._ngZone.runOutsideAngular(\n            /**\n            * @return {?}\n            */\n            function () {\n              requestAnimationFrame(\n              /**\n              * @return {?}\n              */\n              function () {\n                if (_this85._backdropElement) {\n                  _this85._backdropElement.classList.add(showingClass);\n                }\n              });\n            });\n          } else {\n            this._backdropElement.classList.add(showingClass);\n          }\n        }\n        /**\n         * Updates the stacking order of the element, moving it to the top if necessary.\n         * This is required in cases where one overlay was detached, while another one,\n         * that should be behind it, was destroyed. The next time both of them are opened,\n         * the stacking will be wrong, because the detached element's pane will still be\n         * in its original DOM position.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_updateStackingOrder\",\n        value: function _updateStackingOrder() {\n          if (this._host.nextSibling) {\n            /** @type {?} */\n            this._host.parentNode.appendChild(this._host);\n          }\n        }\n        /**\n         * Detaches the backdrop (if any) associated with the overlay.\n         * @return {?}\n         */\n\n      }, {\n        key: \"detachBackdrop\",\n        value: function detachBackdrop() {\n          var _this86 = this;\n\n          /** @type {?} */\n          var backdropToDetach = this._backdropElement;\n\n          if (!backdropToDetach) {\n            return;\n          }\n          /** @type {?} */\n\n\n          var timeoutId;\n          /** @type {?} */\n\n          var finishDetach =\n          /**\n          * @return {?}\n          */\n          function finishDetach() {\n            // It may not be attached to anything in certain cases (e.g. unit tests).\n            if (backdropToDetach) {\n              backdropToDetach.removeEventListener('click', _this86._backdropClickHandler);\n              backdropToDetach.removeEventListener('transitionend', finishDetach);\n\n              if (backdropToDetach.parentNode) {\n                backdropToDetach.parentNode.removeChild(backdropToDetach);\n              }\n            } // It is possible that a new portal has been attached to this overlay since we started\n            // removing the backdrop. If that is the case, only clear the backdrop reference if it\n            // is still the same instance that we started to remove.\n\n\n            if (_this86._backdropElement == backdropToDetach) {\n              _this86._backdropElement = null;\n            }\n\n            if (_this86._config.backdropClass) {\n              _this86._toggleClasses(\n              /** @type {?} */\n              backdropToDetach, _this86._config.backdropClass, false);\n            }\n\n            clearTimeout(timeoutId);\n          };\n\n          backdropToDetach.classList.remove('cdk-overlay-backdrop-showing');\n\n          this._ngZone.runOutsideAngular(\n          /**\n          * @return {?}\n          */\n          function () {\n            /** @type {?} */\n            backdropToDetach.addEventListener('transitionend', finishDetach);\n          }); // If the backdrop doesn't have a transition, the `transitionend` event won't fire.\n          // In this case we make it unclickable and we try to remove it after a delay.\n\n\n          backdropToDetach.style.pointerEvents = 'none'; // Run this outside the Angular zone because there's nothing that Angular cares about.\n          // If it were to run inside the Angular zone, every test that used Overlay would have to be\n          // either async or fakeAsync.\n\n          timeoutId = this._ngZone.runOutsideAngular(\n          /**\n          * @return {?}\n          */\n          function () {\n            return setTimeout(finishDetach, 500);\n          });\n        }\n        /**\n         * Toggles a single CSS class or an array of classes on an element.\n         * @private\n         * @param {?} element\n         * @param {?} cssClasses\n         * @param {?} isAdd\n         * @return {?}\n         */\n\n      }, {\n        key: \"_toggleClasses\",\n        value: function _toggleClasses(element, cssClasses, isAdd) {\n          /** @type {?} */\n          var classList = element.classList;\n          Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceArray\"])(cssClasses).forEach(\n          /**\n          * @param {?} cssClass\n          * @return {?}\n          */\n          function (cssClass) {\n            // We can't do a spread here, because IE doesn't support setting multiple classes.\n            // Also trying to add an empty string to a DOMTokenList will throw.\n            if (cssClass) {\n              isAdd ? classList.add(cssClass) : classList.remove(cssClass);\n            }\n          });\n        }\n        /**\n         * Detaches the overlay content next time the zone stabilizes.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_detachContentWhenStable\",\n        value: function _detachContentWhenStable() {\n          var _this87 = this;\n\n          // Normally we wouldn't have to explicitly run this outside the `NgZone`, however\n          // if the consumer is using `zone-patch-rxjs`, the `Subscription.unsubscribe` call will\n          // be patched to run inside the zone, which will throw us into an infinite loop.\n          this._ngZone.runOutsideAngular(\n          /**\n          * @return {?}\n          */\n          function () {\n            // We can't remove the host here immediately, because the overlay pane's content\n            // might still be animating. This stream helps us avoid interrupting the animation\n            // by waiting for the pane to become empty.\n\n            /** @type {?} */\n            var subscription = _this87._ngZone.onStable.asObservable().pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__[\"takeUntil\"])(Object(rxjs__WEBPACK_IMPORTED_MODULE_4__[\"merge\"])(_this87._attachments, _this87._detachments))).subscribe(\n            /**\n            * @return {?}\n            */\n            function () {\n              // Needs a couple of checks for the pane and host, because\n              // they may have been removed by the time the zone stabilizes.\n              if (!_this87._pane || !_this87._host || _this87._pane.children.length === 0) {\n                if (_this87._pane && _this87._config.panelClass) {\n                  _this87._toggleClasses(_this87._pane, _this87._config.panelClass, false);\n                }\n\n                if (_this87._host && _this87._host.parentElement) {\n                  _this87._previousHostParent = _this87._host.parentElement;\n\n                  _this87._previousHostParent.removeChild(_this87._host);\n                }\n\n                subscription.unsubscribe();\n              }\n            });\n          });\n        }\n        /**\n         * Disposes of a scroll strategy.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_disposeScrollStrategy\",\n        value: function _disposeScrollStrategy() {\n          /** @type {?} */\n          var scrollStrategy = this._scrollStrategy;\n\n          if (scrollStrategy) {\n            scrollStrategy.disable();\n\n            if (scrollStrategy.detach) {\n              scrollStrategy.detach();\n            }\n          }\n        }\n      }, {\n        key: \"overlayElement\",\n        get: function get() {\n          return this._pane;\n        }\n        /**\n         * The overlay's backdrop HTML element.\n         * @return {?}\n         */\n\n      }, {\n        key: \"backdropElement\",\n        get: function get() {\n          return this._backdropElement;\n        }\n        /**\n         * Wrapper around the panel element. Can be used for advanced\n         * positioning where a wrapper with specific styling is\n         * required around the overlay pane.\n         * @return {?}\n         */\n\n      }, {\n        key: \"hostElement\",\n        get: function get() {\n          return this._host;\n        }\n      }]);\n\n      return OverlayRef;\n    }();\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n    // TODO: refactor clipping detection into a separate thing (part of scrolling module)\n    // TODO: doesn't handle both flexible width and height when it has to scroll along both axis.\n\n    /**\n     * Class to be added to the overlay bounding box.\n     * @type {?}\n     */\n\n\n    var boundingBoxClass = 'cdk-overlay-connected-position-bounding-box';\n    /**\n     * A strategy for positioning overlays. Using this strategy, an overlay is given an\n     * implicit position relative some origin element. The relative position is defined in terms of\n     * a point on the origin element that is connected to a point on the overlay element. For example,\n     * a basic dropdown is connecting the bottom-left corner of the origin to the top-left corner\n     * of the overlay.\n     */\n\n    var FlexibleConnectedPositionStrategy =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} connectedTo\n       * @param {?} _viewportRuler\n       * @param {?} _document\n       * @param {?} _platform\n       * @param {?} _overlayContainer\n       */\n      function FlexibleConnectedPositionStrategy(connectedTo, _viewportRuler, _document, _platform, _overlayContainer) {\n        _classCallCheck(this, FlexibleConnectedPositionStrategy);\n\n        this._viewportRuler = _viewportRuler;\n        this._document = _document;\n        this._platform = _platform;\n        this._overlayContainer = _overlayContainer;\n        /**\n         * Last size used for the bounding box. Used to avoid resizing the overlay after open.\n         */\n\n        this._lastBoundingBoxSize = {\n          width: 0,\n          height: 0\n        };\n        /**\n         * Whether the overlay was pushed in a previous positioning.\n         */\n\n        this._isPushed = false;\n        /**\n         * Whether the overlay can be pushed on-screen on the initial open.\n         */\n\n        this._canPush = true;\n        /**\n         * Whether the overlay can grow via flexible width/height after the initial open.\n         */\n\n        this._growAfterOpen = false;\n        /**\n         * Whether the overlay's width and height can be constrained to fit within the viewport.\n         */\n\n        this._hasFlexibleDimensions = true;\n        /**\n         * Whether the overlay position is locked.\n         */\n\n        this._positionLocked = false;\n        /**\n         * Amount of space that must be maintained between the overlay and the edge of the viewport.\n         */\n\n        this._viewportMargin = 0;\n        /**\n         * The Scrollable containers used to check scrollable view properties on position change.\n         */\n\n        this._scrollables = [];\n        /**\n         * Ordered list of preferred positions, from most to least desirable.\n         */\n\n        this._preferredPositions = [];\n        /**\n         * Subject that emits whenever the position changes.\n         */\n\n        this._positionChanges = new rxjs__WEBPACK_IMPORTED_MODULE_4__[\"Subject\"]();\n        /**\n         * Subscription to viewport size changes.\n         */\n\n        this._resizeSubscription = rxjs__WEBPACK_IMPORTED_MODULE_4__[\"Subscription\"].EMPTY;\n        /**\n         * Default offset for the overlay along the x axis.\n         */\n\n        this._offsetX = 0;\n        /**\n         * Default offset for the overlay along the y axis.\n         */\n\n        this._offsetY = 0;\n        /**\n         * Keeps track of the CSS classes that the position strategy has applied on the overlay panel.\n         */\n\n        this._appliedPanelClasses = [];\n        /**\n         * Observable sequence of position changes.\n         */\n\n        this.positionChanges = this._positionChanges.asObservable();\n        this.setOrigin(connectedTo);\n      }\n      /**\n       * Ordered list of preferred positions, from most to least desirable.\n       * @return {?}\n       */\n\n\n      _createClass2(FlexibleConnectedPositionStrategy, [{\n        key: \"attach\",\n\n        /**\n         * Attaches this position strategy to an overlay.\n         * @param {?} overlayRef\n         * @return {?}\n         */\n        value: function attach(overlayRef) {\n          var _this88 = this;\n\n          if (this._overlayRef && overlayRef !== this._overlayRef) {\n            throw Error('This position strategy is already attached to an overlay');\n          }\n\n          this._validatePositions();\n\n          overlayRef.hostElement.classList.add(boundingBoxClass);\n          this._overlayRef = overlayRef;\n          this._boundingBox = overlayRef.hostElement;\n          this._pane = overlayRef.overlayElement;\n          this._isDisposed = false;\n          this._isInitialRender = true;\n          this._lastPosition = null;\n\n          this._resizeSubscription.unsubscribe();\n\n          this._resizeSubscription = this._viewportRuler.change().subscribe(\n          /**\n          * @return {?}\n          */\n          function () {\n            // When the window is resized, we want to trigger the next reposition as if it\n            // was an initial render, in order for the strategy to pick a new optimal position,\n            // otherwise position locking will cause it to stay at the old one.\n            _this88._isInitialRender = true;\n\n            _this88.apply();\n          });\n        }\n        /**\n         * Updates the position of the overlay element, using whichever preferred position relative\n         * to the origin best fits on-screen.\n         *\n         * The selection of a position goes as follows:\n         *  - If any positions fit completely within the viewport as-is,\n         *      choose the first position that does so.\n         *  - If flexible dimensions are enabled and at least one satifies the given minimum width/height,\n         *      choose the position with the greatest available size modified by the positions' weight.\n         *  - If pushing is enabled, take the position that went off-screen the least and push it\n         *      on-screen.\n         *  - If none of the previous criteria were met, use the position that goes off-screen the least.\n         * \\@docs-private\n         * @return {?}\n         */\n\n      }, {\n        key: \"apply\",\n        value: function apply() {\n          // We shouldn't do anything if the strategy was disposed or we're on the server.\n          if (this._isDisposed || !this._platform.isBrowser) {\n            return;\n          } // If the position has been applied already (e.g. when the overlay was opened) and the\n          // consumer opted into locking in the position, re-use the old position, in order to\n          // prevent the overlay from jumping around.\n\n\n          if (!this._isInitialRender && this._positionLocked && this._lastPosition) {\n            this.reapplyLastPosition();\n            return;\n          }\n\n          this._clearPanelClasses();\n\n          this._resetOverlayElementStyles();\n\n          this._resetBoundingBoxStyles(); // We need the bounding rects for the origin and the overlay to determine how to position\n          // the overlay relative to the origin.\n          // We use the viewport rect to determine whether a position would go off-screen.\n\n\n          this._viewportRect = this._getNarrowedViewportRect();\n          this._originRect = this._getOriginRect();\n          this._overlayRect = this._pane.getBoundingClientRect();\n          /** @type {?} */\n\n          var originRect = this._originRect;\n          /** @type {?} */\n\n          var overlayRect = this._overlayRect;\n          /** @type {?} */\n\n          var viewportRect = this._viewportRect; // Positions where the overlay will fit with flexible dimensions.\n\n          /** @type {?} */\n\n          var flexibleFits = []; // Fallback if none of the preferred positions fit within the viewport.\n\n          /** @type {?} */\n\n          var fallback; // Go through each of the preferred positions looking for a good fit.\n          // If a good fit is found, it will be applied immediately.\n\n          var _iteratorNormalCompletion3 = true;\n          var _didIteratorError3 = false;\n          var _iteratorError3 = undefined;\n\n          try {\n            for (var _iterator3 = this._preferredPositions[Symbol.iterator](), _step3; !(_iteratorNormalCompletion3 = (_step3 = _iterator3.next()).done); _iteratorNormalCompletion3 = true) {\n              var pos = _step3.value;\n\n              // Get the exact (x, y) coordinate for the point-of-origin on the origin element.\n\n              /** @type {?} */\n              var originPoint = this._getOriginPoint(originRect, pos); // From that point-of-origin, get the exact (x, y) coordinate for the top-left corner of the\n              // overlay in this position. We use the top-left corner for calculations and later translate\n              // this into an appropriate (top, left, bottom, right) style.\n\n              /** @type {?} */\n\n\n              var overlayPoint = this._getOverlayPoint(originPoint, overlayRect, pos); // Calculate how well the overlay would fit into the viewport with this point.\n\n              /** @type {?} */\n\n\n              var overlayFit = this._getOverlayFit(overlayPoint, overlayRect, viewportRect, pos); // If the overlay, without any further work, fits into the viewport, use this position.\n\n\n              if (overlayFit.isCompletelyWithinViewport) {\n                this._isPushed = false;\n\n                this._applyPosition(pos, originPoint);\n\n                return;\n              } // If the overlay has flexible dimensions, we can use this position\n              // so long as there's enough space for the minimum dimensions.\n\n\n              if (this._canFitWithFlexibleDimensions(overlayFit, overlayPoint, viewportRect)) {\n                // Save positions where the overlay will fit with flexible dimensions. We will use these\n                // if none of the positions fit *without* flexible dimensions.\n                flexibleFits.push({\n                  position: pos,\n                  origin: originPoint,\n                  overlayRect: overlayRect,\n                  boundingBoxRect: this._calculateBoundingBoxRect(originPoint, pos)\n                });\n                continue;\n              } // If the current preferred position does not fit on the screen, remember the position\n              // if it has more visible area on-screen than we've seen and move onto the next preferred\n              // position.\n\n\n              if (!fallback || fallback.overlayFit.visibleArea < overlayFit.visibleArea) {\n                fallback = {\n                  overlayFit: overlayFit,\n                  overlayPoint: overlayPoint,\n                  originPoint: originPoint,\n                  position: pos,\n                  overlayRect: overlayRect\n                };\n              }\n            } // If there are any positions where the overlay would fit with flexible dimensions, choose the\n            // one that has the greatest area available modified by the position's weight\n\n          } catch (err) {\n            _didIteratorError3 = true;\n            _iteratorError3 = err;\n          } finally {\n            try {\n              if (!_iteratorNormalCompletion3 && _iterator3.return != null) {\n                _iterator3.return();\n              }\n            } finally {\n              if (_didIteratorError3) {\n                throw _iteratorError3;\n              }\n            }\n          }\n\n          if (flexibleFits.length) {\n            /** @type {?} */\n            var bestFit = null;\n            /** @type {?} */\n\n            var bestScore = -1;\n            var _iteratorNormalCompletion4 = true;\n            var _didIteratorError4 = false;\n            var _iteratorError4 = undefined;\n\n            try {\n              for (var _iterator4 = flexibleFits[Symbol.iterator](), _step4; !(_iteratorNormalCompletion4 = (_step4 = _iterator4.next()).done); _iteratorNormalCompletion4 = true) {\n                var fit = _step4.value;\n\n                /** @type {?} */\n                var score = fit.boundingBoxRect.width * fit.boundingBoxRect.height * (fit.position.weight || 1);\n\n                if (score > bestScore) {\n                  bestScore = score;\n                  bestFit = fit;\n                }\n              }\n            } catch (err) {\n              _didIteratorError4 = true;\n              _iteratorError4 = err;\n            } finally {\n              try {\n                if (!_iteratorNormalCompletion4 && _iterator4.return != null) {\n                  _iterator4.return();\n                }\n              } finally {\n                if (_didIteratorError4) {\n                  throw _iteratorError4;\n                }\n              }\n            }\n\n            this._isPushed = false;\n\n            this._applyPosition(\n            /** @type {?} */\n            bestFit.position,\n            /** @type {?} */\n            bestFit.origin);\n\n            return;\n          } // When none of the preferred positions fit within the viewport, take the position\n          // that went off-screen the least and attempt to push it on-screen.\n\n\n          if (this._canPush) {\n            // TODO(jelbourn): after pushing, the opening \"direction\" of the overlay might not make sense.\n            this._isPushed = true;\n\n            this._applyPosition(\n            /** @type {?} */\n            fallback.position,\n            /** @type {?} */\n            fallback.originPoint);\n\n            return;\n          } // All options for getting the overlay within the viewport have been exhausted, so go with the\n          // position that went off-screen the least.\n\n\n          this._applyPosition(\n          /** @type {?} */\n          fallback.position,\n          /** @type {?} */\n          fallback.originPoint);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"detach\",\n        value: function detach() {\n          this._clearPanelClasses();\n\n          this._lastPosition = null;\n          this._previousPushAmount = null;\n\n          this._resizeSubscription.unsubscribe();\n        }\n        /**\n         * Cleanup after the element gets destroyed.\n         * @return {?}\n         */\n\n      }, {\n        key: \"dispose\",\n        value: function dispose() {\n          if (this._isDisposed) {\n            return;\n          } // We can't use `_resetBoundingBoxStyles` here, because it resets\n          // some properties to zero, rather than removing them.\n\n\n          if (this._boundingBox) {\n            extendStyles(this._boundingBox.style,\n            /** @type {?} */\n            {\n              top: '',\n              left: '',\n              right: '',\n              bottom: '',\n              height: '',\n              width: '',\n              alignItems: '',\n              justifyContent: ''\n            });\n          }\n\n          if (this._pane) {\n            this._resetOverlayElementStyles();\n          }\n\n          if (this._overlayRef) {\n            this._overlayRef.hostElement.classList.remove(boundingBoxClass);\n          }\n\n          this.detach();\n\n          this._positionChanges.complete();\n\n          this._overlayRef = this._boundingBox =\n          /** @type {?} */\n          null;\n          this._isDisposed = true;\n        }\n        /**\n         * This re-aligns the overlay element with the trigger in its last calculated position,\n         * even if a position higher in the \"preferred positions\" list would now fit. This\n         * allows one to re-align the panel without changing the orientation of the panel.\n         * @return {?}\n         */\n\n      }, {\n        key: \"reapplyLastPosition\",\n        value: function reapplyLastPosition() {\n          if (!this._isDisposed && (!this._platform || this._platform.isBrowser)) {\n            this._originRect = this._getOriginRect();\n            this._overlayRect = this._pane.getBoundingClientRect();\n            this._viewportRect = this._getNarrowedViewportRect();\n            /** @type {?} */\n\n            var lastPosition = this._lastPosition || this._preferredPositions[0];\n            /** @type {?} */\n\n            var originPoint = this._getOriginPoint(this._originRect, lastPosition);\n\n            this._applyPosition(lastPosition, originPoint);\n          }\n        }\n        /**\n         * Sets the list of Scrollable containers that host the origin element so that\n         * on reposition we can evaluate if it or the overlay has been clipped or outside view. Every\n         * Scrollable must be an ancestor element of the strategy's origin element.\n         * @template THIS\n         * @this {THIS}\n         * @param {?} scrollables\n         * @return {THIS}\n         */\n\n      }, {\n        key: \"withScrollableContainers\",\n        value: function withScrollableContainers(scrollables) {\n          /** @type {?} */\n          this._scrollables = scrollables;\n          return (\n            /** @type {?} */\n            this\n          );\n        }\n        /**\n         * Adds new preferred positions.\n         * @template THIS\n         * @this {THIS}\n         * @param {?} positions List of positions options for this overlay.\n         * @return {THIS}\n         */\n\n      }, {\n        key: \"withPositions\",\n        value: function withPositions(positions) {\n          /** @type {?} */\n          this._preferredPositions = positions; // If the last calculated position object isn't part of the positions anymore, clear\n          // it in order to avoid it being picked up if the consumer tries to re-apply.\n\n          if (positions.indexOf(\n          /** @type {?} */\n\n          /** @type {?} */\n          this._lastPosition) === -1) {\n            /** @type {?} */\n            this._lastPosition = null;\n          }\n\n          /** @type {?} */\n          this._validatePositions();\n\n          return (\n            /** @type {?} */\n            this\n          );\n        }\n        /**\n         * Sets a minimum distance the overlay may be positioned to the edge of the viewport.\n         * @template THIS\n         * @this {THIS}\n         * @param {?} margin Required margin between the overlay and the viewport edge in pixels.\n         * @return {THIS}\n         */\n\n      }, {\n        key: \"withViewportMargin\",\n        value: function withViewportMargin(margin) {\n          /** @type {?} */\n          this._viewportMargin = margin;\n          return (\n            /** @type {?} */\n            this\n          );\n        }\n        /**\n         * Sets whether the overlay's width and height can be constrained to fit within the viewport.\n         * @template THIS\n         * @this {THIS}\n         * @param {?=} flexibleDimensions\n         * @return {THIS}\n         */\n\n      }, {\n        key: \"withFlexibleDimensions\",\n        value: function withFlexibleDimensions() {\n          var flexibleDimensions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;\n\n          /** @type {?} */\n          this._hasFlexibleDimensions = flexibleDimensions;\n          return (\n            /** @type {?} */\n            this\n          );\n        }\n        /**\n         * Sets whether the overlay can grow after the initial open via flexible width/height.\n         * @template THIS\n         * @this {THIS}\n         * @param {?=} growAfterOpen\n         * @return {THIS}\n         */\n\n      }, {\n        key: \"withGrowAfterOpen\",\n        value: function withGrowAfterOpen() {\n          var growAfterOpen = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;\n\n          /** @type {?} */\n          this._growAfterOpen = growAfterOpen;\n          return (\n            /** @type {?} */\n            this\n          );\n        }\n        /**\n         * Sets whether the overlay can be pushed on-screen if none of the provided positions fit.\n         * @template THIS\n         * @this {THIS}\n         * @param {?=} canPush\n         * @return {THIS}\n         */\n\n      }, {\n        key: \"withPush\",\n        value: function withPush() {\n          var canPush = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;\n\n          /** @type {?} */\n          this._canPush = canPush;\n          return (\n            /** @type {?} */\n            this\n          );\n        }\n        /**\n         * Sets whether the overlay's position should be locked in after it is positioned\n         * initially. When an overlay is locked in, it won't attempt to reposition itself\n         * when the position is re-applied (e.g. when the user scrolls away).\n         * @template THIS\n         * @this {THIS}\n         * @param {?=} isLocked Whether the overlay should locked in.\n         * @return {THIS}\n         */\n\n      }, {\n        key: \"withLockedPosition\",\n        value: function withLockedPosition() {\n          var isLocked = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;\n\n          /** @type {?} */\n          this._positionLocked = isLocked;\n          return (\n            /** @type {?} */\n            this\n          );\n        }\n        /**\n         * Sets the origin, relative to which to position the overlay.\n         * Using an element origin is useful for building components that need to be positioned\n         * relatively to a trigger (e.g. dropdown menus or tooltips), whereas using a point can be\n         * used for cases like contextual menus which open relative to the user's pointer.\n         * @template THIS\n         * @this {THIS}\n         * @param {?} origin Reference to the new origin.\n         * @return {THIS}\n         */\n\n      }, {\n        key: \"setOrigin\",\n        value: function setOrigin(origin) {\n          /** @type {?} */\n          this._origin = origin;\n          return (\n            /** @type {?} */\n            this\n          );\n        }\n        /**\n         * Sets the default offset for the overlay's connection point on the x-axis.\n         * @template THIS\n         * @this {THIS}\n         * @param {?} offset New offset in the X axis.\n         * @return {THIS}\n         */\n\n      }, {\n        key: \"withDefaultOffsetX\",\n        value: function withDefaultOffsetX(offset) {\n          /** @type {?} */\n          this._offsetX = offset;\n          return (\n            /** @type {?} */\n            this\n          );\n        }\n        /**\n         * Sets the default offset for the overlay's connection point on the y-axis.\n         * @template THIS\n         * @this {THIS}\n         * @param {?} offset New offset in the Y axis.\n         * @return {THIS}\n         */\n\n      }, {\n        key: \"withDefaultOffsetY\",\n        value: function withDefaultOffsetY(offset) {\n          /** @type {?} */\n          this._offsetY = offset;\n          return (\n            /** @type {?} */\n            this\n          );\n        }\n        /**\n         * Configures that the position strategy should set a `transform-origin` on some elements\n         * inside the overlay, depending on the current position that is being applied. This is\n         * useful for the cases where the origin of an animation can change depending on the\n         * alignment of the overlay.\n         * @template THIS\n         * @this {THIS}\n         * @param {?} selector CSS selector that will be used to find the target\n         *    elements onto which to set the transform origin.\n         * @return {THIS}\n         */\n\n      }, {\n        key: \"withTransformOriginOn\",\n        value: function withTransformOriginOn(selector) {\n          /** @type {?} */\n          this._transformOriginSelector = selector;\n          return (\n            /** @type {?} */\n            this\n          );\n        }\n        /**\n         * Gets the (x, y) coordinate of a connection point on the origin based on a relative position.\n         * @private\n         * @param {?} originRect\n         * @param {?} pos\n         * @return {?}\n         */\n\n      }, {\n        key: \"_getOriginPoint\",\n        value: function _getOriginPoint(originRect, pos) {\n          /** @type {?} */\n          var x;\n\n          if (pos.originX == 'center') {\n            // Note: when centering we should always use the `left`\n            // offset, otherwise the position will be wrong in RTL.\n            x = originRect.left + originRect.width / 2;\n          } else {\n            /** @type {?} */\n            var startX = this._isRtl() ? originRect.right : originRect.left;\n            /** @type {?} */\n\n            var endX = this._isRtl() ? originRect.left : originRect.right;\n            x = pos.originX == 'start' ? startX : endX;\n          }\n          /** @type {?} */\n\n\n          var y;\n\n          if (pos.originY == 'center') {\n            y = originRect.top + originRect.height / 2;\n          } else {\n            y = pos.originY == 'top' ? originRect.top : originRect.bottom;\n          }\n\n          return {\n            x: x,\n            y: y\n          };\n        }\n        /**\n         * Gets the (x, y) coordinate of the top-left corner of the overlay given a given position and\n         * origin point to which the overlay should be connected.\n         * @private\n         * @param {?} originPoint\n         * @param {?} overlayRect\n         * @param {?} pos\n         * @return {?}\n         */\n\n      }, {\n        key: \"_getOverlayPoint\",\n        value: function _getOverlayPoint(originPoint, overlayRect, pos) {\n          // Calculate the (overlayStartX, overlayStartY), the start of the\n          // potential overlay position relative to the origin point.\n\n          /** @type {?} */\n          var overlayStartX;\n\n          if (pos.overlayX == 'center') {\n            overlayStartX = -overlayRect.width / 2;\n          } else if (pos.overlayX === 'start') {\n            overlayStartX = this._isRtl() ? -overlayRect.width : 0;\n          } else {\n            overlayStartX = this._isRtl() ? 0 : -overlayRect.width;\n          }\n          /** @type {?} */\n\n\n          var overlayStartY;\n\n          if (pos.overlayY == 'center') {\n            overlayStartY = -overlayRect.height / 2;\n          } else {\n            overlayStartY = pos.overlayY == 'top' ? 0 : -overlayRect.height;\n          } // The (x, y) coordinates of the overlay.\n\n\n          return {\n            x: originPoint.x + overlayStartX,\n            y: originPoint.y + overlayStartY\n          };\n        }\n        /**\n         * Gets how well an overlay at the given point will fit within the viewport.\n         * @private\n         * @param {?} point\n         * @param {?} overlay\n         * @param {?} viewport\n         * @param {?} position\n         * @return {?}\n         */\n\n      }, {\n        key: \"_getOverlayFit\",\n        value: function _getOverlayFit(point, overlay, viewport, position) {\n          var x = point.x,\n              y = point.y;\n          /** @type {?} */\n\n          var offsetX = this._getOffset(position, 'x');\n          /** @type {?} */\n\n\n          var offsetY = this._getOffset(position, 'y'); // Account for the offsets since they could push the overlay out of the viewport.\n\n\n          if (offsetX) {\n            x += offsetX;\n          }\n\n          if (offsetY) {\n            y += offsetY;\n          } // How much the overlay would overflow at this position, on each side.\n\n          /** @type {?} */\n\n\n          var leftOverflow = 0 - x;\n          /** @type {?} */\n\n          var rightOverflow = x + overlay.width - viewport.width;\n          /** @type {?} */\n\n          var topOverflow = 0 - y;\n          /** @type {?} */\n\n          var bottomOverflow = y + overlay.height - viewport.height; // Visible parts of the element on each axis.\n\n          /** @type {?} */\n\n          var visibleWidth = this._subtractOverflows(overlay.width, leftOverflow, rightOverflow);\n          /** @type {?} */\n\n\n          var visibleHeight = this._subtractOverflows(overlay.height, topOverflow, bottomOverflow);\n          /** @type {?} */\n\n\n          var visibleArea = visibleWidth * visibleHeight;\n          return {\n            visibleArea: visibleArea,\n            isCompletelyWithinViewport: overlay.width * overlay.height === visibleArea,\n            fitsInViewportVertically: visibleHeight === overlay.height,\n            fitsInViewportHorizontally: visibleWidth == overlay.width\n          };\n        }\n        /**\n         * Whether the overlay can fit within the viewport when it may resize either its width or height.\n         * @private\n         * @param {?} fit How well the overlay fits in the viewport at some position.\n         * @param {?} point The (x, y) coordinates of the overlat at some position.\n         * @param {?} viewport The geometry of the viewport.\n         * @return {?}\n         */\n\n      }, {\n        key: \"_canFitWithFlexibleDimensions\",\n        value: function _canFitWithFlexibleDimensions(fit, point, viewport) {\n          if (this._hasFlexibleDimensions) {\n            /** @type {?} */\n            var availableHeight = viewport.bottom - point.y;\n            /** @type {?} */\n\n            var availableWidth = viewport.right - point.x;\n            /** @type {?} */\n\n            var minHeight = this._overlayRef.getConfig().minHeight;\n            /** @type {?} */\n\n\n            var minWidth = this._overlayRef.getConfig().minWidth;\n            /** @type {?} */\n\n\n            var verticalFit = fit.fitsInViewportVertically || minHeight != null && minHeight <= availableHeight;\n            /** @type {?} */\n\n            var horizontalFit = fit.fitsInViewportHorizontally || minWidth != null && minWidth <= availableWidth;\n            return verticalFit && horizontalFit;\n          }\n\n          return false;\n        }\n        /**\n         * Gets the point at which the overlay can be \"pushed\" on-screen. If the overlay is larger than\n         * the viewport, the top-left corner will be pushed on-screen (with overflow occuring on the\n         * right and bottom).\n         *\n         * @private\n         * @param {?} start Starting point from which the overlay is pushed.\n         * @param {?} overlay Dimensions of the overlay.\n         * @param {?} scrollPosition Current viewport scroll position.\n         * @return {?} The point at which to position the overlay after pushing. This is effectively a new\n         *     originPoint.\n         */\n\n      }, {\n        key: \"_pushOverlayOnScreen\",\n        value: function _pushOverlayOnScreen(start, overlay, scrollPosition) {\n          // If the position is locked and we've pushed the overlay already, reuse the previous push\n          // amount, rather than pushing it again. If we were to continue pushing, the element would\n          // remain in the viewport, which goes against the expectations when position locking is enabled.\n          if (this._previousPushAmount && this._positionLocked) {\n            return {\n              x: start.x + this._previousPushAmount.x,\n              y: start.y + this._previousPushAmount.y\n            };\n          }\n          /** @type {?} */\n\n\n          var viewport = this._viewportRect; // Determine how much the overlay goes outside the viewport on each\n          // side, which we'll use to decide which direction to push it.\n\n          /** @type {?} */\n\n          var overflowRight = Math.max(start.x + overlay.width - viewport.right, 0);\n          /** @type {?} */\n\n          var overflowBottom = Math.max(start.y + overlay.height - viewport.bottom, 0);\n          /** @type {?} */\n\n          var overflowTop = Math.max(viewport.top - scrollPosition.top - start.y, 0);\n          /** @type {?} */\n\n          var overflowLeft = Math.max(viewport.left - scrollPosition.left - start.x, 0); // Amount by which to push the overlay in each axis such that it remains on-screen.\n\n          /** @type {?} */\n\n          var pushX = 0;\n          /** @type {?} */\n\n          var pushY = 0; // If the overlay fits completely within the bounds of the viewport, push it from whichever\n          // direction is goes off-screen. Otherwise, push the top-left corner such that its in the\n          // viewport and allow for the trailing end of the overlay to go out of bounds.\n\n          if (overlay.width <= viewport.width) {\n            pushX = overflowLeft || -overflowRight;\n          } else {\n            pushX = start.x < this._viewportMargin ? viewport.left - scrollPosition.left - start.x : 0;\n          }\n\n          if (overlay.height <= viewport.height) {\n            pushY = overflowTop || -overflowBottom;\n          } else {\n            pushY = start.y < this._viewportMargin ? viewport.top - scrollPosition.top - start.y : 0;\n          }\n\n          this._previousPushAmount = {\n            x: pushX,\n            y: pushY\n          };\n          return {\n            x: start.x + pushX,\n            y: start.y + pushY\n          };\n        }\n        /**\n         * Applies a computed position to the overlay and emits a position change.\n         * @private\n         * @param {?} position The position preference\n         * @param {?} originPoint The point on the origin element where the overlay is connected.\n         * @return {?}\n         */\n\n      }, {\n        key: \"_applyPosition\",\n        value: function _applyPosition(position, originPoint) {\n          this._setTransformOrigin(position);\n\n          this._setOverlayElementStyles(originPoint, position);\n\n          this._setBoundingBoxStyles(originPoint, position);\n\n          if (position.panelClass) {\n            this._addPanelClasses(position.panelClass);\n          } // Save the last connected position in case the position needs to be re-calculated.\n\n\n          this._lastPosition = position; // Notify that the position has been changed along with its change properties.\n          // We only emit if we've got any subscriptions, because the scroll visibility\n          // calculcations can be somewhat expensive.\n\n          if (this._positionChanges.observers.length) {\n            /** @type {?} */\n            var scrollableViewProperties = this._getScrollVisibility();\n            /** @type {?} */\n\n\n            var changeEvent = new ConnectedOverlayPositionChange(position, scrollableViewProperties);\n\n            this._positionChanges.next(changeEvent);\n          }\n\n          this._isInitialRender = false;\n        }\n        /**\n         * Sets the transform origin based on the configured selector and the passed-in position.\n         * @private\n         * @param {?} position\n         * @return {?}\n         */\n\n      }, {\n        key: \"_setTransformOrigin\",\n        value: function _setTransformOrigin(position) {\n          if (!this._transformOriginSelector) {\n            return;\n          }\n          /** @type {?} */\n\n\n          var elements =\n          /** @type {?} */\n          this._boundingBox.querySelectorAll(this._transformOriginSelector);\n          /** @type {?} */\n\n\n          var xOrigin;\n          /** @type {?} */\n\n          var yOrigin = position.overlayY;\n\n          if (position.overlayX === 'center') {\n            xOrigin = 'center';\n          } else if (this._isRtl()) {\n            xOrigin = position.overlayX === 'start' ? 'right' : 'left';\n          } else {\n            xOrigin = position.overlayX === 'start' ? 'left' : 'right';\n          }\n\n          for (var i = 0; i < elements.length; i++) {\n            elements[i].style.transformOrigin = \"\".concat(xOrigin, \" \").concat(yOrigin);\n          }\n        }\n        /**\n         * Gets the position and size of the overlay's sizing container.\n         *\n         * This method does no measuring and applies no styles so that we can cheaply compute the\n         * bounds for all positions and choose the best fit based on these results.\n         * @private\n         * @param {?} origin\n         * @param {?} position\n         * @return {?}\n         */\n\n      }, {\n        key: \"_calculateBoundingBoxRect\",\n        value: function _calculateBoundingBoxRect(origin, position) {\n          /** @type {?} */\n          var viewport = this._viewportRect;\n          /** @type {?} */\n\n          var isRtl = this._isRtl();\n          /** @type {?} */\n\n\n          var height;\n          /** @type {?} */\n\n          var top;\n          /** @type {?} */\n\n          var bottom;\n\n          if (position.overlayY === 'top') {\n            // Overlay is opening \"downward\" and thus is bound by the bottom viewport edge.\n            top = origin.y;\n            height = viewport.height - top + this._viewportMargin;\n          } else if (position.overlayY === 'bottom') {\n            // Overlay is opening \"upward\" and thus is bound by the top viewport edge. We need to add\n            // the viewport margin back in, because the viewport rect is narrowed down to remove the\n            // margin, whereas the `origin` position is calculated based on its `ClientRect`.\n            bottom = viewport.height - origin.y + this._viewportMargin * 2;\n            height = viewport.height - bottom + this._viewportMargin;\n          } else {\n            // If neither top nor bottom, it means that the overlay is vertically centered on the\n            // origin point. Note that we want the position relative to the viewport, rather than\n            // the page, which is why we don't use something like `viewport.bottom - origin.y` and\n            // `origin.y - viewport.top`.\n\n            /** @type {?} */\n            var smallestDistanceToViewportEdge = Math.min(viewport.bottom - origin.y + viewport.top, origin.y);\n            /** @type {?} */\n\n            var previousHeight = this._lastBoundingBoxSize.height;\n            height = smallestDistanceToViewportEdge * 2;\n            top = origin.y - smallestDistanceToViewportEdge;\n\n            if (height > previousHeight && !this._isInitialRender && !this._growAfterOpen) {\n              top = origin.y - previousHeight / 2;\n            }\n          } // The overlay is opening 'right-ward' (the content flows to the right).\n\n          /** @type {?} */\n\n\n          var isBoundedByRightViewportEdge = position.overlayX === 'start' && !isRtl || position.overlayX === 'end' && isRtl; // The overlay is opening 'left-ward' (the content flows to the left).\n\n          /** @type {?} */\n\n          var isBoundedByLeftViewportEdge = position.overlayX === 'end' && !isRtl || position.overlayX === 'start' && isRtl;\n          /** @type {?} */\n\n          var width;\n          /** @type {?} */\n\n          var left;\n          /** @type {?} */\n\n          var right;\n\n          if (isBoundedByLeftViewportEdge) {\n            right = viewport.width - origin.x + this._viewportMargin;\n            width = origin.x - this._viewportMargin;\n          } else if (isBoundedByRightViewportEdge) {\n            left = origin.x;\n            width = viewport.right - origin.x;\n          } else {\n            // If neither start nor end, it means that the overlay is horizontally centered on the\n            // origin point. Note that we want the position relative to the viewport, rather than\n            // the page, which is why we don't use something like `viewport.right - origin.x` and\n            // `origin.x - viewport.left`.\n\n            /** @type {?} */\n            var _smallestDistanceToViewportEdge = Math.min(viewport.right - origin.x + viewport.left, origin.x);\n            /** @type {?} */\n\n\n            var previousWidth = this._lastBoundingBoxSize.width;\n            width = _smallestDistanceToViewportEdge * 2;\n            left = origin.x - _smallestDistanceToViewportEdge;\n\n            if (width > previousWidth && !this._isInitialRender && !this._growAfterOpen) {\n              left = origin.x - previousWidth / 2;\n            }\n          }\n\n          return {\n            top:\n            /** @type {?} */\n            top,\n            left:\n            /** @type {?} */\n            left,\n            bottom:\n            /** @type {?} */\n            bottom,\n            right:\n            /** @type {?} */\n            right,\n            width: width,\n            height: height\n          };\n        }\n        /**\n         * Sets the position and size of the overlay's sizing wrapper. The wrapper is positioned on the\n         * origin's connection point and stetches to the bounds of the viewport.\n         *\n         * @private\n         * @param {?} origin The point on the origin element where the overlay is connected.\n         * @param {?} position The position preference\n         * @return {?}\n         */\n\n      }, {\n        key: \"_setBoundingBoxStyles\",\n        value: function _setBoundingBoxStyles(origin, position) {\n          /** @type {?} */\n          var boundingBoxRect = this._calculateBoundingBoxRect(origin, position); // It's weird if the overlay *grows* while scrolling, so we take the last size into account\n          // when applying a new size.\n\n\n          if (!this._isInitialRender && !this._growAfterOpen) {\n            boundingBoxRect.height = Math.min(boundingBoxRect.height, this._lastBoundingBoxSize.height);\n            boundingBoxRect.width = Math.min(boundingBoxRect.width, this._lastBoundingBoxSize.width);\n          }\n          /** @type {?} */\n\n\n          var styles =\n          /** @type {?} */\n          {};\n\n          if (this._hasExactPosition()) {\n            styles.top = styles.left = '0';\n            styles.bottom = styles.right = '';\n            styles.width = styles.height = '100%';\n          } else {\n            /** @type {?} */\n            var maxHeight = this._overlayRef.getConfig().maxHeight;\n            /** @type {?} */\n\n\n            var maxWidth = this._overlayRef.getConfig().maxWidth;\n\n            styles.height = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceCssPixelValue\"])(boundingBoxRect.height);\n            styles.top = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceCssPixelValue\"])(boundingBoxRect.top);\n            styles.bottom = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceCssPixelValue\"])(boundingBoxRect.bottom);\n            styles.width = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceCssPixelValue\"])(boundingBoxRect.width);\n            styles.left = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceCssPixelValue\"])(boundingBoxRect.left);\n            styles.right = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceCssPixelValue\"])(boundingBoxRect.right); // Push the pane content towards the proper direction.\n\n            if (position.overlayX === 'center') {\n              styles.alignItems = 'center';\n            } else {\n              styles.alignItems = position.overlayX === 'end' ? 'flex-end' : 'flex-start';\n            }\n\n            if (position.overlayY === 'center') {\n              styles.justifyContent = 'center';\n            } else {\n              styles.justifyContent = position.overlayY === 'bottom' ? 'flex-end' : 'flex-start';\n            }\n\n            if (maxHeight) {\n              styles.maxHeight = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceCssPixelValue\"])(maxHeight);\n            }\n\n            if (maxWidth) {\n              styles.maxWidth = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceCssPixelValue\"])(maxWidth);\n            }\n          }\n\n          this._lastBoundingBoxSize = boundingBoxRect;\n          extendStyles(\n          /** @type {?} */\n          this._boundingBox.style, styles);\n        }\n        /**\n         * Resets the styles for the bounding box so that a new positioning can be computed.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_resetBoundingBoxStyles\",\n        value: function _resetBoundingBoxStyles() {\n          extendStyles(\n          /** @type {?} */\n          this._boundingBox.style,\n          /** @type {?} */\n          {\n            top: '0',\n            left: '0',\n            right: '0',\n            bottom: '0',\n            height: '',\n            width: '',\n            alignItems: '',\n            justifyContent: ''\n          });\n        }\n        /**\n         * Resets the styles for the overlay pane so that a new positioning can be computed.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_resetOverlayElementStyles\",\n        value: function _resetOverlayElementStyles() {\n          extendStyles(this._pane.style,\n          /** @type {?} */\n          {\n            top: '',\n            left: '',\n            bottom: '',\n            right: '',\n            position: '',\n            transform: ''\n          });\n        }\n        /**\n         * Sets positioning styles to the overlay element.\n         * @private\n         * @param {?} originPoint\n         * @param {?} position\n         * @return {?}\n         */\n\n      }, {\n        key: \"_setOverlayElementStyles\",\n        value: function _setOverlayElementStyles(originPoint, position) {\n          /** @type {?} */\n          var styles =\n          /** @type {?} */\n          {};\n\n          if (this._hasExactPosition()) {\n            /** @type {?} */\n            var scrollPosition = this._viewportRuler.getViewportScrollPosition();\n\n            extendStyles(styles, this._getExactOverlayY(position, originPoint, scrollPosition));\n            extendStyles(styles, this._getExactOverlayX(position, originPoint, scrollPosition));\n          } else {\n            styles.position = 'static';\n          } // Use a transform to apply the offsets. We do this because the `center` positions rely on\n          // being in the normal flex flow and setting a `top` / `left` at all will completely throw\n          // off the position. We also can't use margins, because they won't have an effect in some\n          // cases where the element doesn't have anything to \"push off of\". Finally, this works\n          // better both with flexible and non-flexible positioning.\n\n          /** @type {?} */\n\n\n          var transformString = '';\n          /** @type {?} */\n\n          var offsetX = this._getOffset(position, 'x');\n          /** @type {?} */\n\n\n          var offsetY = this._getOffset(position, 'y');\n\n          if (offsetX) {\n            transformString += \"translateX(\".concat(offsetX, \"px) \");\n          }\n\n          if (offsetY) {\n            transformString += \"translateY(\".concat(offsetY, \"px)\");\n          }\n\n          styles.transform = transformString.trim(); // If a maxWidth or maxHeight is specified on the overlay, we remove them. We do this because\n          // we need these values to both be set to \"100%\" for the automatic flexible sizing to work.\n          // The maxHeight and maxWidth are set on the boundingBox in order to enforce the constraint.\n\n          if (this._hasFlexibleDimensions && this._overlayRef.getConfig().maxHeight) {\n            styles.maxHeight = '';\n          }\n\n          if (this._hasFlexibleDimensions && this._overlayRef.getConfig().maxWidth) {\n            styles.maxWidth = '';\n          }\n\n          extendStyles(this._pane.style, styles);\n        }\n        /**\n         * Gets the exact top/bottom for the overlay when not using flexible sizing or when pushing.\n         * @private\n         * @param {?} position\n         * @param {?} originPoint\n         * @param {?} scrollPosition\n         * @return {?}\n         */\n\n      }, {\n        key: \"_getExactOverlayY\",\n        value: function _getExactOverlayY(position, originPoint, scrollPosition) {\n          // Reset any existing styles. This is necessary in case the\n          // preferred position has changed since the last `apply`.\n\n          /** @type {?} */\n          var styles =\n          /** @type {?} */\n          {\n            top: null,\n            bottom: null\n          };\n          /** @type {?} */\n\n          var overlayPoint = this._getOverlayPoint(originPoint, this._overlayRect, position);\n\n          if (this._isPushed) {\n            overlayPoint = this._pushOverlayOnScreen(overlayPoint, this._overlayRect, scrollPosition);\n          }\n          /** @type {?} */\n\n\n          var virtualKeyboardOffset = this._overlayContainer.getContainerElement().getBoundingClientRect().top; // Normally this would be zero, however when the overlay is attached to an input (e.g. in an\n          // autocomplete), mobile browsers will shift everything in order to put the input in the middle\n          // of the screen and to make space for the virtual keyboard. We need to account for this offset,\n          // otherwise our positioning will be thrown off.\n\n\n          overlayPoint.y -= virtualKeyboardOffset; // We want to set either `top` or `bottom` based on whether the overlay wants to appear\n          // above or below the origin and the direction in which the element will expand.\n\n          if (position.overlayY === 'bottom') {\n            // When using `bottom`, we adjust the y position such that it is the distance\n            // from the bottom of the viewport rather than the top.\n\n            /** @type {?} */\n            var documentHeight =\n            /** @type {?} */\n            this._document.documentElement.clientHeight;\n            styles.bottom = \"\".concat(documentHeight - (overlayPoint.y + this._overlayRect.height), \"px\");\n          } else {\n            styles.top = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceCssPixelValue\"])(overlayPoint.y);\n          }\n\n          return styles;\n        }\n        /**\n         * Gets the exact left/right for the overlay when not using flexible sizing or when pushing.\n         * @private\n         * @param {?} position\n         * @param {?} originPoint\n         * @param {?} scrollPosition\n         * @return {?}\n         */\n\n      }, {\n        key: \"_getExactOverlayX\",\n        value: function _getExactOverlayX(position, originPoint, scrollPosition) {\n          // Reset any existing styles. This is necessary in case the preferred position has\n          // changed since the last `apply`.\n\n          /** @type {?} */\n          var styles =\n          /** @type {?} */\n          {\n            left: null,\n            right: null\n          };\n          /** @type {?} */\n\n          var overlayPoint = this._getOverlayPoint(originPoint, this._overlayRect, position);\n\n          if (this._isPushed) {\n            overlayPoint = this._pushOverlayOnScreen(overlayPoint, this._overlayRect, scrollPosition);\n          } // We want to set either `left` or `right` based on whether the overlay wants to appear \"before\"\n          // or \"after\" the origin, which determines the direction in which the element will expand.\n          // For the horizontal axis, the meaning of \"before\" and \"after\" change based on whether the\n          // page is in RTL or LTR.\n\n          /** @type {?} */\n\n\n          var horizontalStyleProperty;\n\n          if (this._isRtl()) {\n            horizontalStyleProperty = position.overlayX === 'end' ? 'left' : 'right';\n          } else {\n            horizontalStyleProperty = position.overlayX === 'end' ? 'right' : 'left';\n          } // When we're setting `right`, we adjust the x position such that it is the distance\n          // from the right edge of the viewport rather than the left edge.\n\n\n          if (horizontalStyleProperty === 'right') {\n            /** @type {?} */\n            var documentWidth =\n            /** @type {?} */\n            this._document.documentElement.clientWidth;\n            styles.right = \"\".concat(documentWidth - (overlayPoint.x + this._overlayRect.width), \"px\");\n          } else {\n            styles.left = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceCssPixelValue\"])(overlayPoint.x);\n          }\n\n          return styles;\n        }\n        /**\n         * Gets the view properties of the trigger and overlay, including whether they are clipped\n         * or completely outside the view of any of the strategy's scrollables.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_getScrollVisibility\",\n        value: function _getScrollVisibility() {\n          // Note: needs fresh rects since the position could've changed.\n\n          /** @type {?} */\n          var originBounds = this._getOriginRect();\n          /** @type {?} */\n\n\n          var overlayBounds = this._pane.getBoundingClientRect(); // TODO(jelbourn): instead of needing all of the client rects for these scrolling containers\n          // every time, we should be able to use the scrollTop of the containers if the size of those\n          // containers hasn't changed.\n\n          /** @type {?} */\n\n\n          var scrollContainerBounds = this._scrollables.map(\n          /**\n          * @param {?} scrollable\n          * @return {?}\n          */\n          function (scrollable) {\n            return scrollable.getElementRef().nativeElement.getBoundingClientRect();\n          });\n\n          return {\n            isOriginClipped: isElementClippedByScrolling(originBounds, scrollContainerBounds),\n            isOriginOutsideView: isElementScrolledOutsideView(originBounds, scrollContainerBounds),\n            isOverlayClipped: isElementClippedByScrolling(overlayBounds, scrollContainerBounds),\n            isOverlayOutsideView: isElementScrolledOutsideView(overlayBounds, scrollContainerBounds)\n          };\n        }\n        /**\n         * Subtracts the amount that an element is overflowing on an axis from its length.\n         * @private\n         * @param {?} length\n         * @param {...?} overflows\n         * @return {?}\n         */\n\n      }, {\n        key: \"_subtractOverflows\",\n        value: function _subtractOverflows(length) {\n          for (var _len6 = arguments.length, overflows = new Array(_len6 > 1 ? _len6 - 1 : 0), _key7 = 1; _key7 < _len6; _key7++) {\n            overflows[_key7 - 1] = arguments[_key7];\n          }\n\n          return overflows.reduce(\n          /**\n          * @param {?} currentValue\n          * @param {?} currentOverflow\n          * @return {?}\n          */\n          function (currentValue, currentOverflow) {\n            return currentValue - Math.max(currentOverflow, 0);\n          }, length);\n        }\n        /**\n         * Narrows the given viewport rect by the current _viewportMargin.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_getNarrowedViewportRect\",\n        value: function _getNarrowedViewportRect() {\n          // We recalculate the viewport rect here ourselves, rather than using the ViewportRuler,\n          // because we want to use the `clientWidth` and `clientHeight` as the base. The difference\n          // being that the client properties don't include the scrollbar, as opposed to `innerWidth`\n          // and `innerHeight` that do. This is necessary, because the overlay container uses\n          // 100% `width` and `height` which don't include the scrollbar either.\n\n          /** @type {?} */\n          var width =\n          /** @type {?} */\n          this._document.documentElement.clientWidth;\n          /** @type {?} */\n\n          var height =\n          /** @type {?} */\n          this._document.documentElement.clientHeight;\n          /** @type {?} */\n\n          var scrollPosition = this._viewportRuler.getViewportScrollPosition();\n\n          return {\n            top: scrollPosition.top + this._viewportMargin,\n            left: scrollPosition.left + this._viewportMargin,\n            right: scrollPosition.left + width - this._viewportMargin,\n            bottom: scrollPosition.top + height - this._viewportMargin,\n            width: width - 2 * this._viewportMargin,\n            height: height - 2 * this._viewportMargin\n          };\n        }\n        /**\n         * Whether the we're dealing with an RTL context\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_isRtl\",\n        value: function _isRtl() {\n          return this._overlayRef.getDirection() === 'rtl';\n        }\n        /**\n         * Determines whether the overlay uses exact or flexible positioning.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_hasExactPosition\",\n        value: function _hasExactPosition() {\n          return !this._hasFlexibleDimensions || this._isPushed;\n        }\n        /**\n         * Retrieves the offset of a position along the x or y axis.\n         * @private\n         * @param {?} position\n         * @param {?} axis\n         * @return {?}\n         */\n\n      }, {\n        key: \"_getOffset\",\n        value: function _getOffset(position, axis) {\n          if (axis === 'x') {\n            // We don't do something like `position['offset' + axis]` in\n            // order to avoid breking minifiers that rename properties.\n            return position.offsetX == null ? this._offsetX : position.offsetX;\n          }\n\n          return position.offsetY == null ? this._offsetY : position.offsetY;\n        }\n        /**\n         * Validates that the current position match the expected values.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_validatePositions\",\n        value: function _validatePositions() {\n          if (!this._preferredPositions.length) {\n            throw Error('FlexibleConnectedPositionStrategy: At least one position is required.');\n          } // TODO(crisbeto): remove these once Angular's template type\n          // checking is advanced enough to catch these cases.\n\n\n          this._preferredPositions.forEach(\n          /**\n          * @param {?} pair\n          * @return {?}\n          */\n          function (pair) {\n            validateHorizontalPosition('originX', pair.originX);\n            validateVerticalPosition('originY', pair.originY);\n            validateHorizontalPosition('overlayX', pair.overlayX);\n            validateVerticalPosition('overlayY', pair.overlayY);\n          });\n        }\n        /**\n         * Adds a single CSS class or an array of classes on the overlay panel.\n         * @private\n         * @param {?} cssClasses\n         * @return {?}\n         */\n\n      }, {\n        key: \"_addPanelClasses\",\n        value: function _addPanelClasses(cssClasses) {\n          var _this89 = this;\n\n          if (this._pane) {\n            Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceArray\"])(cssClasses).forEach(\n            /**\n            * @param {?} cssClass\n            * @return {?}\n            */\n            function (cssClass) {\n              if (cssClass !== '' && _this89._appliedPanelClasses.indexOf(cssClass) === -1) {\n                _this89._appliedPanelClasses.push(cssClass);\n\n                _this89._pane.classList.add(cssClass);\n              }\n            });\n          }\n        }\n        /**\n         * Clears the classes that the position strategy has applied from the overlay panel.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_clearPanelClasses\",\n        value: function _clearPanelClasses() {\n          var _this90 = this;\n\n          if (this._pane) {\n            this._appliedPanelClasses.forEach(\n            /**\n            * @param {?} cssClass\n            * @return {?}\n            */\n            function (cssClass) {\n              _this90._pane.classList.remove(cssClass);\n            });\n\n            this._appliedPanelClasses = [];\n          }\n        }\n        /**\n         * Returns the ClientRect of the current origin.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_getOriginRect\",\n        value: function _getOriginRect() {\n          /** @type {?} */\n          var origin = this._origin;\n\n          if (origin instanceof _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ElementRef\"]) {\n            return origin.nativeElement.getBoundingClientRect();\n          }\n\n          if (origin instanceof HTMLElement) {\n            return origin.getBoundingClientRect();\n          }\n          /** @type {?} */\n\n\n          var width = origin.width || 0;\n          /** @type {?} */\n\n          var height = origin.height || 0; // If the origin is a point, return a client rect as if it was a 0x0 element at the point.\n\n          return {\n            top: origin.y,\n            bottom: origin.y + height,\n            left: origin.x,\n            right: origin.x + width,\n            height: height,\n            width: width\n          };\n        }\n      }, {\n        key: \"positions\",\n        get: function get() {\n          return this._preferredPositions;\n        }\n      }]);\n\n      return FlexibleConnectedPositionStrategy;\n    }();\n    /**\n     * Shallow-extends a stylesheet object with another stylesheet object.\n     * @param {?} dest\n     * @param {?} source\n     * @return {?}\n     */\n\n\n    function extendStyles(dest, source) {\n      for (var key in source) {\n        if (source.hasOwnProperty(key)) {\n          dest[key] = source[key];\n        }\n      }\n\n      return dest;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * A strategy for positioning overlays. Using this strategy, an overlay is given an\n     * implicit position relative to some origin element. The relative position is defined in terms of\n     * a point on the origin element that is connected to a point on the overlay element. For example,\n     * a basic dropdown is connecting the bottom-left corner of the origin to the top-left corner\n     * of the overlay.\n     * @deprecated Use `FlexibleConnectedPositionStrategy` instead.\n     * \\@breaking-change 8.0.0\n     */\n\n\n    var ConnectedPositionStrategy =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} originPos\n       * @param {?} overlayPos\n       * @param {?} connectedTo\n       * @param {?} viewportRuler\n       * @param {?} document\n       * @param {?} platform\n       * @param {?} overlayContainer\n       */\n      function ConnectedPositionStrategy(originPos, overlayPos, connectedTo, viewportRuler, document, platform, overlayContainer) {\n        _classCallCheck(this, ConnectedPositionStrategy);\n\n        /**\n         * Ordered list of preferred positions, from most to least desirable.\n         */\n        this._preferredPositions = []; // Since the `ConnectedPositionStrategy` is deprecated and we don't want to maintain\n        // the extra logic, we create an instance of the positioning strategy that has some\n        // defaults that make it behave as the old position strategy and to which we'll\n        // proxy all of the API calls.\n\n        this._positionStrategy = new FlexibleConnectedPositionStrategy(connectedTo, viewportRuler, document, platform, overlayContainer).withFlexibleDimensions(false).withPush(false).withViewportMargin(0);\n        this.withFallbackPosition(originPos, overlayPos);\n      }\n      /**\n       * Whether the we're dealing with an RTL context\n       * @return {?}\n       */\n\n\n      _createClass2(ConnectedPositionStrategy, [{\n        key: \"attach\",\n\n        /**\n         * Attach this position strategy to an overlay.\n         * @param {?} overlayRef\n         * @return {?}\n         */\n        value: function attach(overlayRef) {\n          this._overlayRef = overlayRef;\n\n          this._positionStrategy.attach(overlayRef);\n\n          if (this._direction) {\n            overlayRef.setDirection(this._direction);\n            this._direction = null;\n          }\n        }\n        /**\n         * Disposes all resources used by the position strategy.\n         * @return {?}\n         */\n\n      }, {\n        key: \"dispose\",\n        value: function dispose() {\n          this._positionStrategy.dispose();\n        }\n        /**\n         * \\@docs-private\n         * @return {?}\n         */\n\n      }, {\n        key: \"detach\",\n        value: function detach() {\n          this._positionStrategy.detach();\n        }\n        /**\n         * Updates the position of the overlay element, using whichever preferred position relative\n         * to the origin fits on-screen.\n         * \\@docs-private\n         * @return {?}\n         */\n\n      }, {\n        key: \"apply\",\n        value: function apply() {\n          this._positionStrategy.apply();\n        }\n        /**\n         * Re-positions the overlay element with the trigger in its last calculated position,\n         * even if a position higher in the \"preferred positions\" list would now fit. This\n         * allows one to re-align the panel without changing the orientation of the panel.\n         * @return {?}\n         */\n\n      }, {\n        key: \"recalculateLastPosition\",\n        value: function recalculateLastPosition() {\n          this._positionStrategy.reapplyLastPosition();\n        }\n        /**\n         * Sets the list of Scrollable containers that host the origin element so that\n         * on reposition we can evaluate if it or the overlay has been clipped or outside view. Every\n         * Scrollable must be an ancestor element of the strategy's origin element.\n         * @param {?} scrollables\n         * @return {?}\n         */\n\n      }, {\n        key: \"withScrollableContainers\",\n        value: function withScrollableContainers(scrollables) {\n          this._positionStrategy.withScrollableContainers(scrollables);\n        }\n        /**\n         * Adds a new preferred fallback position.\n         * @template THIS\n         * @this {THIS}\n         * @param {?} originPos\n         * @param {?} overlayPos\n         * @param {?=} offsetX\n         * @param {?=} offsetY\n         * @return {THIS}\n         */\n\n      }, {\n        key: \"withFallbackPosition\",\n        value: function withFallbackPosition(originPos, overlayPos, offsetX, offsetY) {\n          /** @type {?} */\n          var position = new ConnectionPositionPair(originPos, overlayPos, offsetX, offsetY);\n\n          /** @type {?} */\n          this._preferredPositions.push(position);\n\n          /** @type {?} */\n          this._positionStrategy.withPositions(\n          /** @type {?} */\n          this._preferredPositions);\n\n          return (\n            /** @type {?} */\n            this\n          );\n        }\n        /**\n         * Sets the layout direction so the overlay's position can be adjusted to match.\n         * @template THIS\n         * @this {THIS}\n         * @param {?} dir New layout direction.\n         * @return {THIS}\n         */\n\n      }, {\n        key: \"withDirection\",\n        value: function withDirection(dir) {\n          // Since the direction might be declared before the strategy is attached,\n          // we save the value in a temporary property and we'll transfer it to the\n          // overlay ref on attachment.\n          if (\n          /** @type {?} */\n          this._overlayRef) {\n            /** @type {?} */\n            this._overlayRef.setDirection(dir);\n          } else {\n            /** @type {?} */\n            this._direction = dir;\n          }\n\n          return (\n            /** @type {?} */\n            this\n          );\n        }\n        /**\n         * Sets an offset for the overlay's connection point on the x-axis\n         * @template THIS\n         * @this {THIS}\n         * @param {?} offset New offset in the X axis.\n         * @return {THIS}\n         */\n\n      }, {\n        key: \"withOffsetX\",\n        value: function withOffsetX(offset) {\n          /** @type {?} */\n          this._positionStrategy.withDefaultOffsetX(offset);\n\n          return (\n            /** @type {?} */\n            this\n          );\n        }\n        /**\n         * Sets an offset for the overlay's connection point on the y-axis\n         * @template THIS\n         * @this {THIS}\n         * @param {?} offset New offset in the Y axis.\n         * @return {THIS}\n         */\n\n      }, {\n        key: \"withOffsetY\",\n        value: function withOffsetY(offset) {\n          /** @type {?} */\n          this._positionStrategy.withDefaultOffsetY(offset);\n\n          return (\n            /** @type {?} */\n            this\n          );\n        }\n        /**\n         * Sets whether the overlay's position should be locked in after it is positioned\n         * initially. When an overlay is locked in, it won't attempt to reposition itself\n         * when the position is re-applied (e.g. when the user scrolls away).\n         * @template THIS\n         * @this {THIS}\n         * @param {?} isLocked Whether the overlay should locked in.\n         * @return {THIS}\n         */\n\n      }, {\n        key: \"withLockedPosition\",\n        value: function withLockedPosition(isLocked) {\n          /** @type {?} */\n          this._positionStrategy.withLockedPosition(isLocked);\n\n          return (\n            /** @type {?} */\n            this\n          );\n        }\n        /**\n         * Overwrites the current set of positions with an array of new ones.\n         * @template THIS\n         * @this {THIS}\n         * @param {?} positions Position pairs to be set on the strategy.\n         * @return {THIS}\n         */\n\n      }, {\n        key: \"withPositions\",\n        value: function withPositions(positions) {\n          /** @type {?} */\n          this._preferredPositions = positions.slice();\n\n          /** @type {?} */\n          this._positionStrategy.withPositions(\n          /** @type {?} */\n          this._preferredPositions);\n\n          return (\n            /** @type {?} */\n            this\n          );\n        }\n        /**\n         * Sets the origin element, relative to which to position the overlay.\n         * @template THIS\n         * @this {THIS}\n         * @param {?} origin Reference to the new origin element.\n         * @return {THIS}\n         */\n\n      }, {\n        key: \"setOrigin\",\n        value: function setOrigin(origin) {\n          /** @type {?} */\n          this._positionStrategy.setOrigin(origin);\n\n          return (\n            /** @type {?} */\n            this\n          );\n        }\n      }, {\n        key: \"_isRtl\",\n        get: function get() {\n          return this._overlayRef.getDirection() === 'rtl';\n        }\n        /**\n         * Emits an event when the connection point changes.\n         * @return {?}\n         */\n\n      }, {\n        key: \"onPositionChange\",\n        get: function get() {\n          return this._positionStrategy.positionChanges;\n        }\n        /**\n         * Ordered list of preferred positions, from most to least desirable.\n         * @return {?}\n         */\n\n      }, {\n        key: \"positions\",\n        get: function get() {\n          return this._preferredPositions;\n        }\n      }]);\n\n      return ConnectedPositionStrategy;\n    }();\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Class to be added to the overlay pane wrapper.\n     * @type {?}\n     */\n\n\n    var wrapperClass = 'cdk-global-overlay-wrapper';\n    /**\n     * A strategy for positioning overlays. Using this strategy, an overlay is given an\n     * explicit position relative to the browser's viewport. We use flexbox, instead of\n     * transforms, in order to avoid issues with subpixel rendering which can cause the\n     * element to become blurry.\n     */\n\n    var GlobalPositionStrategy =\n    /*#__PURE__*/\n    function () {\n      function GlobalPositionStrategy() {\n        _classCallCheck(this, GlobalPositionStrategy);\n\n        this._cssPosition = 'static';\n        this._topOffset = '';\n        this._bottomOffset = '';\n        this._leftOffset = '';\n        this._rightOffset = '';\n        this._alignItems = '';\n        this._justifyContent = '';\n        this._width = '';\n        this._height = '';\n      }\n      /**\n       * @param {?} overlayRef\n       * @return {?}\n       */\n\n\n      _createClass2(GlobalPositionStrategy, [{\n        key: \"attach\",\n        value: function attach(overlayRef) {\n          /** @type {?} */\n          var config = overlayRef.getConfig();\n          this._overlayRef = overlayRef;\n\n          if (this._width && !config.width) {\n            overlayRef.updateSize({\n              width: this._width\n            });\n          }\n\n          if (this._height && !config.height) {\n            overlayRef.updateSize({\n              height: this._height\n            });\n          }\n\n          overlayRef.hostElement.classList.add(wrapperClass);\n          this._isDisposed = false;\n        }\n        /**\n         * Sets the top position of the overlay. Clears any previously set vertical position.\n         * @template THIS\n         * @this {THIS}\n         * @param {?=} value New top offset.\n         * @return {THIS}\n         */\n\n      }, {\n        key: \"top\",\n        value: function top() {\n          var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n\n          /** @type {?} */\n          this._bottomOffset = '';\n\n          /** @type {?} */\n          this._topOffset = value;\n\n          /** @type {?} */\n          this._alignItems = 'flex-start';\n          return (\n            /** @type {?} */\n            this\n          );\n        }\n        /**\n         * Sets the left position of the overlay. Clears any previously set horizontal position.\n         * @template THIS\n         * @this {THIS}\n         * @param {?=} value New left offset.\n         * @return {THIS}\n         */\n\n      }, {\n        key: \"left\",\n        value: function left() {\n          var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n\n          /** @type {?} */\n          this._rightOffset = '';\n\n          /** @type {?} */\n          this._leftOffset = value;\n\n          /** @type {?} */\n          this._justifyContent = 'flex-start';\n          return (\n            /** @type {?} */\n            this\n          );\n        }\n        /**\n         * Sets the bottom position of the overlay. Clears any previously set vertical position.\n         * @template THIS\n         * @this {THIS}\n         * @param {?=} value New bottom offset.\n         * @return {THIS}\n         */\n\n      }, {\n        key: \"bottom\",\n        value: function bottom() {\n          var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n\n          /** @type {?} */\n          this._topOffset = '';\n\n          /** @type {?} */\n          this._bottomOffset = value;\n\n          /** @type {?} */\n          this._alignItems = 'flex-end';\n          return (\n            /** @type {?} */\n            this\n          );\n        }\n        /**\n         * Sets the right position of the overlay. Clears any previously set horizontal position.\n         * @template THIS\n         * @this {THIS}\n         * @param {?=} value New right offset.\n         * @return {THIS}\n         */\n\n      }, {\n        key: \"right\",\n        value: function right() {\n          var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n\n          /** @type {?} */\n          this._leftOffset = '';\n\n          /** @type {?} */\n          this._rightOffset = value;\n\n          /** @type {?} */\n          this._justifyContent = 'flex-end';\n          return (\n            /** @type {?} */\n            this\n          );\n        }\n        /**\n         * Sets the overlay width and clears any previously set width.\n         * @deprecated Pass the `width` through the `OverlayConfig`.\n         * \\@breaking-change 8.0.0\n         * @template THIS\n         * @this {THIS}\n         * @param {?=} value New width for the overlay\n         * @return {THIS}\n         */\n\n      }, {\n        key: \"width\",\n        value: function width() {\n          var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n\n          if (\n          /** @type {?} */\n          this._overlayRef) {\n            /** @type {?} */\n            this._overlayRef.updateSize({\n              width: value\n            });\n          } else {\n            /** @type {?} */\n            this._width = value;\n          }\n\n          return (\n            /** @type {?} */\n            this\n          );\n        }\n        /**\n         * Sets the overlay height and clears any previously set height.\n         * @deprecated Pass the `height` through the `OverlayConfig`.\n         * \\@breaking-change 8.0.0\n         * @template THIS\n         * @this {THIS}\n         * @param {?=} value New height for the overlay\n         * @return {THIS}\n         */\n\n      }, {\n        key: \"height\",\n        value: function height() {\n          var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n\n          if (\n          /** @type {?} */\n          this._overlayRef) {\n            /** @type {?} */\n            this._overlayRef.updateSize({\n              height: value\n            });\n          } else {\n            /** @type {?} */\n            this._height = value;\n          }\n\n          return (\n            /** @type {?} */\n            this\n          );\n        }\n        /**\n         * Centers the overlay horizontally with an optional offset.\n         * Clears any previously set horizontal position.\n         *\n         * @template THIS\n         * @this {THIS}\n         * @param {?=} offset Overlay offset from the horizontal center.\n         * @return {THIS}\n         */\n\n      }, {\n        key: \"centerHorizontally\",\n        value: function centerHorizontally() {\n          var offset = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n\n          /** @type {?} */\n          this.left(offset);\n\n          /** @type {?} */\n          this._justifyContent = 'center';\n          return (\n            /** @type {?} */\n            this\n          );\n        }\n        /**\n         * Centers the overlay vertically with an optional offset.\n         * Clears any previously set vertical position.\n         *\n         * @template THIS\n         * @this {THIS}\n         * @param {?=} offset Overlay offset from the vertical center.\n         * @return {THIS}\n         */\n\n      }, {\n        key: \"centerVertically\",\n        value: function centerVertically() {\n          var offset = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n\n          /** @type {?} */\n          this.top(offset);\n\n          /** @type {?} */\n          this._alignItems = 'center';\n          return (\n            /** @type {?} */\n            this\n          );\n        }\n        /**\n         * Apply the position to the element.\n         * \\@docs-private\n         * @return {?}\n         */\n\n      }, {\n        key: \"apply\",\n        value: function apply() {\n          // Since the overlay ref applies the strategy asynchronously, it could\n          // have been disposed before it ends up being applied. If that is the\n          // case, we shouldn't do anything.\n          if (!this._overlayRef || !this._overlayRef.hasAttached()) {\n            return;\n          }\n          /** @type {?} */\n\n\n          var styles = this._overlayRef.overlayElement.style;\n          /** @type {?} */\n\n          var parentStyles = this._overlayRef.hostElement.style;\n          /** @type {?} */\n\n          var config = this._overlayRef.getConfig();\n\n          styles.position = this._cssPosition;\n          styles.marginLeft = config.width === '100%' ? '0' : this._leftOffset;\n          styles.marginTop = config.height === '100%' ? '0' : this._topOffset;\n          styles.marginBottom = this._bottomOffset;\n          styles.marginRight = this._rightOffset;\n\n          if (config.width === '100%') {\n            parentStyles.justifyContent = 'flex-start';\n          } else if (this._justifyContent === 'center') {\n            parentStyles.justifyContent = 'center';\n          } else if (this._overlayRef.getConfig().direction === 'rtl') {\n            // In RTL the browser will invert `flex-start` and `flex-end` automatically, but we\n            // don't want that because our positioning is explicitly `left` and `right`, hence\n            // why we do another inversion to ensure that the overlay stays in the same position.\n            // TODO: reconsider this if we add `start` and `end` methods.\n            if (this._justifyContent === 'flex-start') {\n              parentStyles.justifyContent = 'flex-end';\n            } else if (this._justifyContent === 'flex-end') {\n              parentStyles.justifyContent = 'flex-start';\n            }\n          } else {\n            parentStyles.justifyContent = this._justifyContent;\n          }\n\n          parentStyles.alignItems = config.height === '100%' ? 'flex-start' : this._alignItems;\n        }\n        /**\n         * Cleans up the DOM changes from the position strategy.\n         * \\@docs-private\n         * @return {?}\n         */\n\n      }, {\n        key: \"dispose\",\n        value: function dispose() {\n          if (this._isDisposed || !this._overlayRef) {\n            return;\n          }\n          /** @type {?} */\n\n\n          var styles = this._overlayRef.overlayElement.style;\n          /** @type {?} */\n\n          var parent = this._overlayRef.hostElement;\n          /** @type {?} */\n\n          var parentStyles = parent.style;\n          parent.classList.remove(wrapperClass);\n          parentStyles.justifyContent = parentStyles.alignItems = styles.marginTop = styles.marginBottom = styles.marginLeft = styles.marginRight = styles.position = '';\n          this._overlayRef =\n          /** @type {?} */\n          null;\n          this._isDisposed = true;\n        }\n      }]);\n\n      return GlobalPositionStrategy;\n    }();\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Builder for overlay position strategy.\n     */\n\n\n    var OverlayPositionBuilder =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _viewportRuler\n       * @param {?} _document\n       * @param {?} _platform\n       * @param {?} _overlayContainer\n       */\n      function OverlayPositionBuilder(_viewportRuler, _document, _platform, _overlayContainer) {\n        _classCallCheck(this, OverlayPositionBuilder);\n\n        this._viewportRuler = _viewportRuler;\n        this._document = _document;\n        this._platform = _platform;\n        this._overlayContainer = _overlayContainer;\n      }\n      /**\n       * Creates a global position strategy.\n       * @return {?}\n       */\n\n\n      _createClass2(OverlayPositionBuilder, [{\n        key: \"global\",\n        value: function global() {\n          return new GlobalPositionStrategy();\n        }\n        /**\n         * Creates a relative position strategy.\n         * @deprecated Use `flexibleConnectedTo` instead.\n         * \\@breaking-change 8.0.0\n         * @param {?} elementRef\n         * @param {?} originPos\n         * @param {?} overlayPos\n         * @return {?}\n         */\n\n      }, {\n        key: \"connectedTo\",\n        value: function connectedTo(elementRef, originPos, overlayPos) {\n          return new ConnectedPositionStrategy(originPos, overlayPos, elementRef, this._viewportRuler, this._document, this._platform, this._overlayContainer);\n        }\n        /**\n         * Creates a flexible position strategy.\n         * @param {?} origin Origin relative to which to position the overlay.\n         * @return {?}\n         */\n\n      }, {\n        key: \"flexibleConnectedTo\",\n        value: function flexibleConnectedTo(origin) {\n          return new FlexibleConnectedPositionStrategy(origin, this._viewportRuler, this._document, this._platform, this._overlayContainer);\n        }\n      }]);\n\n      return OverlayPositionBuilder;\n    }();\n\n    OverlayPositionBuilder.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    OverlayPositionBuilder.ctorParameters = function () {\n      return [{\n        type: _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_1__[\"ViewportRuler\"]\n      }, {\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Inject\"],\n          args: [_angular_common__WEBPACK_IMPORTED_MODULE_2__[\"DOCUMENT\"]]\n        }]\n      }, {\n        type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_6__[\"Platform\"]\n      }, {\n        type: OverlayContainer\n      }];\n    };\n    /** @nocollapse */\n\n\n    OverlayPositionBuilder.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ɵɵdefineInjectable\"])({\n      factory: function OverlayPositionBuilder_Factory() {\n        return new OverlayPositionBuilder(Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ɵɵinject\"])(_angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_1__[\"ViewportRuler\"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ɵɵinject\"])(_angular_common__WEBPACK_IMPORTED_MODULE_2__[\"DOCUMENT\"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ɵɵinject\"])(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_6__[\"Platform\"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ɵɵinject\"])(OverlayContainer));\n      },\n      token: OverlayPositionBuilder,\n      providedIn: \"root\"\n    });\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Next overlay unique ID.\n     * @type {?}\n     */\n\n    var nextUniqueId = 0; // Note that Overlay is *not* scoped to the app root because the ComponentFactoryResolver\n    // it needs is different based on where OverlayModule is imported.\n\n    /**\n     * Service to create Overlays. Overlays are dynamically added pieces of floating UI, meant to be\n     * used as a low-level building block for other components. Dialogs, tooltips, menus,\n     * selects, etc. can all be built using overlays. The service should primarily be used by authors\n     * of re-usable components rather than developers building end-user applications.\n     *\n     * An overlay *is* a PortalOutlet, so any kind of Portal can be loaded into one.\n     */\n\n    var Overlay =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} scrollStrategies\n       * @param {?} _overlayContainer\n       * @param {?} _componentFactoryResolver\n       * @param {?} _positionBuilder\n       * @param {?} _keyboardDispatcher\n       * @param {?} _injector\n       * @param {?} _ngZone\n       * @param {?} _document\n       * @param {?} _directionality\n       * @param {?=} _location\n       */\n      function Overlay(scrollStrategies, _overlayContainer, _componentFactoryResolver, _positionBuilder, _keyboardDispatcher, _injector, _ngZone, _document, _directionality, _location) {\n        _classCallCheck(this, Overlay);\n\n        this.scrollStrategies = scrollStrategies;\n        this._overlayContainer = _overlayContainer;\n        this._componentFactoryResolver = _componentFactoryResolver;\n        this._positionBuilder = _positionBuilder;\n        this._keyboardDispatcher = _keyboardDispatcher;\n        this._injector = _injector;\n        this._ngZone = _ngZone;\n        this._document = _document;\n        this._directionality = _directionality;\n        this._location = _location;\n      }\n      /**\n       * Creates an overlay.\n       * @param {?=} config Configuration applied to the overlay.\n       * @return {?} Reference to the created overlay.\n       */\n\n\n      _createClass2(Overlay, [{\n        key: \"create\",\n        value: function create(config) {\n          /** @type {?} */\n          var host = this._createHostElement();\n          /** @type {?} */\n\n\n          var pane = this._createPaneElement(host);\n          /** @type {?} */\n\n\n          var portalOutlet = this._createPortalOutlet(pane);\n          /** @type {?} */\n\n\n          var overlayConfig = new OverlayConfig(config);\n          overlayConfig.direction = overlayConfig.direction || this._directionality.value;\n          return new OverlayRef(portalOutlet, host, pane, overlayConfig, this._ngZone, this._keyboardDispatcher, this._document, this._location);\n        }\n        /**\n         * Gets a position builder that can be used, via fluent API,\n         * to construct and configure a position strategy.\n         * @return {?} An overlay position builder.\n         */\n\n      }, {\n        key: \"position\",\n        value: function position() {\n          return this._positionBuilder;\n        }\n        /**\n         * Creates the DOM element for an overlay and appends it to the overlay container.\n         * @private\n         * @param {?} host\n         * @return {?} Newly-created pane element\n         */\n\n      }, {\n        key: \"_createPaneElement\",\n        value: function _createPaneElement(host) {\n          /** @type {?} */\n          var pane = this._document.createElement('div');\n\n          pane.id = \"cdk-overlay-\".concat(nextUniqueId++);\n          pane.classList.add('cdk-overlay-pane');\n          host.appendChild(pane);\n          return pane;\n        }\n        /**\n         * Creates the host element that wraps around an overlay\n         * and can be used for advanced positioning.\n         * @private\n         * @return {?} Newly-create host element.\n         */\n\n      }, {\n        key: \"_createHostElement\",\n        value: function _createHostElement() {\n          /** @type {?} */\n          var host = this._document.createElement('div');\n\n          this._overlayContainer.getContainerElement().appendChild(host);\n\n          return host;\n        }\n        /**\n         * Create a DomPortalOutlet into which the overlay content can be loaded.\n         * @private\n         * @param {?} pane The DOM element to turn into a portal outlet.\n         * @return {?} A portal outlet for the given DOM element.\n         */\n\n      }, {\n        key: \"_createPortalOutlet\",\n        value: function _createPortalOutlet(pane) {\n          // We have to resolve the ApplicationRef later in order to allow people\n          // to use overlay-based providers during app initialization.\n          if (!this._appRef) {\n            this._appRef = this._injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ApplicationRef\"]);\n          }\n\n          return new _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_8__[\"DomPortalOutlet\"](pane, this._componentFactoryResolver, this._appRef, this._injector);\n        }\n      }]);\n\n      return Overlay;\n    }();\n\n    Overlay.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Injectable\"]\n    }];\n    /** @nocollapse */\n\n    Overlay.ctorParameters = function () {\n      return [{\n        type: ScrollStrategyOptions\n      }, {\n        type: OverlayContainer\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ComponentFactoryResolver\"]\n      }, {\n        type: OverlayPositionBuilder\n      }, {\n        type: OverlayKeyboardDispatcher\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Injector\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"NgZone\"]\n      }, {\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Inject\"],\n          args: [_angular_common__WEBPACK_IMPORTED_MODULE_2__[\"DOCUMENT\"]]\n        }]\n      }, {\n        type: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_7__[\"Directionality\"]\n      }, {\n        type: _angular_common__WEBPACK_IMPORTED_MODULE_2__[\"Location\"],\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Optional\"]\n        }]\n      }];\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Default set of positions for the overlay. Follows the behavior of a dropdown.\n     * @type {?}\n     */\n\n\n    var defaultPositionList = [{\n      originX: 'start',\n      originY: 'bottom',\n      overlayX: 'start',\n      overlayY: 'top'\n    }, {\n      originX: 'start',\n      originY: 'top',\n      overlayX: 'start',\n      overlayY: 'bottom'\n    }, {\n      originX: 'end',\n      originY: 'top',\n      overlayX: 'end',\n      overlayY: 'bottom'\n    }, {\n      originX: 'end',\n      originY: 'bottom',\n      overlayX: 'end',\n      overlayY: 'top'\n    }];\n    /**\n     * Injection token that determines the scroll handling while the connected overlay is open.\n     * @type {?}\n     */\n\n    var CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY = new _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"InjectionToken\"]('cdk-connected-overlay-scroll-strategy');\n    /**\n     * Directive applied to an element to make it usable as an origin for an Overlay using a\n     * ConnectedPositionStrategy.\n     */\n\n    var CdkOverlayOrigin =\n    /**\n     * @param {?} elementRef\n     */\n    function CdkOverlayOrigin(elementRef) {\n      _classCallCheck(this, CdkOverlayOrigin);\n\n      this.elementRef = elementRef;\n    };\n\n    CdkOverlayOrigin.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Directive\"],\n      args: [{\n        selector: '[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]',\n        exportAs: 'cdkOverlayOrigin'\n      }]\n    }];\n    /** @nocollapse */\n\n    CdkOverlayOrigin.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ElementRef\"]\n      }];\n    };\n    /**\n     * Directive to facilitate declarative creation of an\n     * Overlay using a FlexibleConnectedPositionStrategy.\n     */\n\n\n    var CdkConnectedOverlay =\n    /*#__PURE__*/\n    function () {\n      // TODO(jelbourn): inputs for size, scroll behavior, animation, etc.\n\n      /**\n       * @param {?} _overlay\n       * @param {?} templateRef\n       * @param {?} viewContainerRef\n       * @param {?} scrollStrategyFactory\n       * @param {?} _dir\n       */\n      function CdkConnectedOverlay(_overlay, templateRef, viewContainerRef, scrollStrategyFactory, _dir) {\n        _classCallCheck(this, CdkConnectedOverlay);\n\n        this._overlay = _overlay;\n        this._dir = _dir;\n        this._hasBackdrop = false;\n        this._lockPosition = false;\n        this._growAfterOpen = false;\n        this._flexibleDimensions = false;\n        this._push = false;\n        this._backdropSubscription = rxjs__WEBPACK_IMPORTED_MODULE_4__[\"Subscription\"].EMPTY;\n        /**\n         * Margin between the overlay and the viewport edges.\n         */\n\n        this.viewportMargin = 0;\n        /**\n         * Whether the overlay is open.\n         */\n\n        this.open = false;\n        /**\n         * Event emitted when the backdrop is clicked.\n         */\n\n        this.backdropClick = new _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"EventEmitter\"]();\n        /**\n         * Event emitted when the position has changed.\n         */\n\n        this.positionChange = new _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"EventEmitter\"]();\n        /**\n         * Event emitted when the overlay has been attached.\n         */\n\n        this.attach = new _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"EventEmitter\"]();\n        /**\n         * Event emitted when the overlay has been detached.\n         */\n\n        this.detach = new _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"EventEmitter\"]();\n        /**\n         * Emits when there are keyboard events that are targeted at the overlay.\n         */\n\n        this.overlayKeydown = new _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"EventEmitter\"]();\n        this._templatePortal = new _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_8__[\"TemplatePortal\"](templateRef, viewContainerRef);\n        this._scrollStrategyFactory = scrollStrategyFactory;\n        this.scrollStrategy = this._scrollStrategyFactory();\n      }\n      /**\n       * The offset in pixels for the overlay connection point on the x-axis\n       * @return {?}\n       */\n\n\n      _createClass2(CdkConnectedOverlay, [{\n        key: \"ngOnDestroy\",\n\n        /**\n         * @return {?}\n         */\n        value: function ngOnDestroy() {\n          if (this._overlayRef) {\n            this._overlayRef.dispose();\n          }\n\n          this._backdropSubscription.unsubscribe();\n        }\n        /**\n         * @param {?} changes\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngOnChanges\",\n        value: function ngOnChanges(changes) {\n          if (this._position) {\n            this._updatePositionStrategy(this._position);\n\n            this._overlayRef.updateSize({\n              width: this.width,\n              minWidth: this.minWidth,\n              height: this.height,\n              minHeight: this.minHeight\n            });\n\n            if (changes['origin'] && this.open) {\n              this._position.apply();\n            }\n          }\n\n          if (changes['open']) {\n            this.open ? this._attachOverlay() : this._detachOverlay();\n          }\n        }\n        /**\n         * Creates an overlay\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_createOverlay\",\n        value: function _createOverlay() {\n          var _this91 = this;\n\n          if (!this.positions || !this.positions.length) {\n            this.positions = defaultPositionList;\n          }\n\n          this._overlayRef = this._overlay.create(this._buildConfig());\n\n          this._overlayRef.keydownEvents().subscribe(\n          /**\n          * @param {?} event\n          * @return {?}\n          */\n          function (event) {\n            _this91.overlayKeydown.next(event);\n\n            if (event.keyCode === _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_9__[\"ESCAPE\"] && !Object(_angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_9__[\"hasModifierKey\"])(event)) {\n              event.preventDefault();\n\n              _this91._detachOverlay();\n            }\n          });\n        }\n        /**\n         * Builds the overlay config based on the directive's inputs\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_buildConfig\",\n        value: function _buildConfig() {\n          /** @type {?} */\n          var positionStrategy = this._position = this._createPositionStrategy();\n          /** @type {?} */\n\n\n          var overlayConfig = new OverlayConfig({\n            direction: this._dir,\n            positionStrategy: positionStrategy,\n            scrollStrategy: this.scrollStrategy,\n            hasBackdrop: this.hasBackdrop\n          });\n\n          if (this.width || this.width === 0) {\n            overlayConfig.width = this.width;\n          }\n\n          if (this.height || this.height === 0) {\n            overlayConfig.height = this.height;\n          }\n\n          if (this.minWidth || this.minWidth === 0) {\n            overlayConfig.minWidth = this.minWidth;\n          }\n\n          if (this.minHeight || this.minHeight === 0) {\n            overlayConfig.minHeight = this.minHeight;\n          }\n\n          if (this.backdropClass) {\n            overlayConfig.backdropClass = this.backdropClass;\n          }\n\n          if (this.panelClass) {\n            overlayConfig.panelClass = this.panelClass;\n          }\n\n          return overlayConfig;\n        }\n        /**\n         * Updates the state of a position strategy, based on the values of the directive inputs.\n         * @private\n         * @param {?} positionStrategy\n         * @return {?}\n         */\n\n      }, {\n        key: \"_updatePositionStrategy\",\n        value: function _updatePositionStrategy(positionStrategy) {\n          var _this92 = this;\n\n          /** @type {?} */\n          var positions = this.positions.map(\n          /**\n          * @param {?} currentPosition\n          * @return {?}\n          */\n          function (currentPosition) {\n            return {\n              originX: currentPosition.originX,\n              originY: currentPosition.originY,\n              overlayX: currentPosition.overlayX,\n              overlayY: currentPosition.overlayY,\n              offsetX: currentPosition.offsetX || _this92.offsetX,\n              offsetY: currentPosition.offsetY || _this92.offsetY,\n              panelClass: currentPosition.panelClass || undefined\n            };\n          });\n          return positionStrategy.setOrigin(this.origin.elementRef).withPositions(positions).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition);\n        }\n        /**\n         * Returns the position strategy of the overlay to be set on the overlay config\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_createPositionStrategy\",\n        value: function _createPositionStrategy() {\n          var _this93 = this;\n\n          /** @type {?} */\n          var strategy = this._overlay.position().flexibleConnectedTo(this.origin.elementRef);\n\n          this._updatePositionStrategy(strategy);\n\n          strategy.positionChanges.subscribe(\n          /**\n          * @param {?} p\n          * @return {?}\n          */\n          function (p) {\n            return _this93.positionChange.emit(p);\n          });\n          return strategy;\n        }\n        /**\n         * Attaches the overlay and subscribes to backdrop clicks if backdrop exists\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_attachOverlay\",\n        value: function _attachOverlay() {\n          var _this94 = this;\n\n          if (!this._overlayRef) {\n            this._createOverlay();\n          } else {\n            // Update the overlay size, in case the directive's inputs have changed\n            this._overlayRef.getConfig().hasBackdrop = this.hasBackdrop;\n          }\n\n          if (!this._overlayRef.hasAttached()) {\n            this._overlayRef.attach(this._templatePortal);\n\n            this.attach.emit();\n          }\n\n          if (this.hasBackdrop) {\n            this._backdropSubscription = this._overlayRef.backdropClick().subscribe(\n            /**\n            * @param {?} event\n            * @return {?}\n            */\n            function (event) {\n              _this94.backdropClick.emit(event);\n            });\n          } else {\n            this._backdropSubscription.unsubscribe();\n          }\n        }\n        /**\n         * Detaches the overlay and unsubscribes to backdrop clicks if backdrop exists\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_detachOverlay\",\n        value: function _detachOverlay() {\n          if (this._overlayRef) {\n            this._overlayRef.detach();\n\n            this.detach.emit();\n          }\n\n          this._backdropSubscription.unsubscribe();\n        }\n      }, {\n        key: \"offsetX\",\n        get: function get() {\n          return this._offsetX;\n        }\n        /**\n         * @param {?} offsetX\n         * @return {?}\n         */\n        ,\n        set: function set(offsetX) {\n          this._offsetX = offsetX;\n\n          if (this._position) {\n            this._updatePositionStrategy(this._position);\n          }\n        }\n        /**\n         * The offset in pixels for the overlay connection point on the y-axis\n         * @return {?}\n         */\n\n      }, {\n        key: \"offsetY\",\n        get: function get() {\n          return this._offsetY;\n        }\n        /**\n         * @param {?} offsetY\n         * @return {?}\n         */\n        ,\n        set: function set(offsetY) {\n          this._offsetY = offsetY;\n\n          if (this._position) {\n            this._updatePositionStrategy(this._position);\n          }\n        }\n        /**\n         * Whether or not the overlay should attach a backdrop.\n         * @return {?}\n         */\n\n      }, {\n        key: \"hasBackdrop\",\n        get: function get() {\n          return this._hasBackdrop;\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n        ,\n        set: function set(value) {\n          this._hasBackdrop = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceBooleanProperty\"])(value);\n        }\n        /**\n         * Whether or not the overlay should be locked when scrolling.\n         * @return {?}\n         */\n\n      }, {\n        key: \"lockPosition\",\n        get: function get() {\n          return this._lockPosition;\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n        ,\n        set: function set(value) {\n          this._lockPosition = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceBooleanProperty\"])(value);\n        }\n        /**\n         * Whether the overlay's width and height can be constrained to fit within the viewport.\n         * @return {?}\n         */\n\n      }, {\n        key: \"flexibleDimensions\",\n        get: function get() {\n          return this._flexibleDimensions;\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n        ,\n        set: function set(value) {\n          this._flexibleDimensions = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceBooleanProperty\"])(value);\n        }\n        /**\n         * Whether the overlay can grow after the initial open when flexible positioning is turned on.\n         * @return {?}\n         */\n\n      }, {\n        key: \"growAfterOpen\",\n        get: function get() {\n          return this._growAfterOpen;\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n        ,\n        set: function set(value) {\n          this._growAfterOpen = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceBooleanProperty\"])(value);\n        }\n        /**\n         * Whether the overlay can be pushed on-screen if none of the provided positions fit.\n         * @return {?}\n         */\n\n      }, {\n        key: \"push\",\n        get: function get() {\n          return this._push;\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n        ,\n        set: function set(value) {\n          this._push = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__[\"coerceBooleanProperty\"])(value);\n        }\n        /**\n         * The associated overlay reference.\n         * @return {?}\n         */\n\n      }, {\n        key: \"overlayRef\",\n        get: function get() {\n          return this._overlayRef;\n        }\n        /**\n         * The element's layout direction.\n         * @return {?}\n         */\n\n      }, {\n        key: \"dir\",\n        get: function get() {\n          return this._dir ? this._dir.value : 'ltr';\n        }\n      }]);\n\n      return CdkConnectedOverlay;\n    }();\n\n    CdkConnectedOverlay.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Directive\"],\n      args: [{\n        selector: '[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]',\n        exportAs: 'cdkConnectedOverlay'\n      }]\n    }];\n    /** @nocollapse */\n\n    CdkConnectedOverlay.ctorParameters = function () {\n      return [{\n        type: Overlay\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"TemplateRef\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ViewContainerRef\"]\n      }, {\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Inject\"],\n          args: [CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY]\n        }]\n      }, {\n        type: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_7__[\"Directionality\"],\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Optional\"]\n        }]\n      }];\n    };\n\n    CdkConnectedOverlay.propDecorators = {\n      origin: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"],\n        args: ['cdkConnectedOverlayOrigin']\n      }],\n      positions: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"],\n        args: ['cdkConnectedOverlayPositions']\n      }],\n      offsetX: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"],\n        args: ['cdkConnectedOverlayOffsetX']\n      }],\n      offsetY: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"],\n        args: ['cdkConnectedOverlayOffsetY']\n      }],\n      width: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"],\n        args: ['cdkConnectedOverlayWidth']\n      }],\n      height: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"],\n        args: ['cdkConnectedOverlayHeight']\n      }],\n      minWidth: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"],\n        args: ['cdkConnectedOverlayMinWidth']\n      }],\n      minHeight: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"],\n        args: ['cdkConnectedOverlayMinHeight']\n      }],\n      backdropClass: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"],\n        args: ['cdkConnectedOverlayBackdropClass']\n      }],\n      panelClass: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"],\n        args: ['cdkConnectedOverlayPanelClass']\n      }],\n      viewportMargin: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"],\n        args: ['cdkConnectedOverlayViewportMargin']\n      }],\n      scrollStrategy: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"],\n        args: ['cdkConnectedOverlayScrollStrategy']\n      }],\n      open: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"],\n        args: ['cdkConnectedOverlayOpen']\n      }],\n      hasBackdrop: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"],\n        args: ['cdkConnectedOverlayHasBackdrop']\n      }],\n      lockPosition: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"],\n        args: ['cdkConnectedOverlayLockPosition']\n      }],\n      flexibleDimensions: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"],\n        args: ['cdkConnectedOverlayFlexibleDimensions']\n      }],\n      growAfterOpen: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"],\n        args: ['cdkConnectedOverlayGrowAfterOpen']\n      }],\n      push: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"],\n        args: ['cdkConnectedOverlayPush']\n      }],\n      backdropClick: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Output\"]\n      }],\n      positionChange: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Output\"]\n      }],\n      attach: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Output\"]\n      }],\n      detach: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Output\"]\n      }],\n      overlayKeydown: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Output\"]\n      }]\n    };\n    /**\n     * \\@docs-private\n     * @param {?} overlay\n     * @return {?}\n     */\n\n    function CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER_FACTORY(overlay) {\n      return (\n        /**\n        * @return {?}\n        */\n        function () {\n          return overlay.scrollStrategies.reposition();\n        }\n      );\n    }\n    /**\n     * \\@docs-private\n     * @type {?}\n     */\n\n\n    var CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER = {\n      provide: CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY,\n      deps: [Overlay],\n      useFactory: CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER_FACTORY\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    var OverlayModule = function OverlayModule() {\n      _classCallCheck(this, OverlayModule);\n    };\n\n    OverlayModule.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"NgModule\"],\n      args: [{\n        imports: [_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_7__[\"BidiModule\"], _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_8__[\"PortalModule\"], _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_1__[\"ScrollingModule\"]],\n        exports: [CdkConnectedOverlay, CdkOverlayOrigin, _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_1__[\"ScrollingModule\"]],\n        declarations: [CdkConnectedOverlay, CdkOverlayOrigin],\n        providers: [Overlay, CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER]\n      }]\n    }];\n    /**\n     * @deprecated Use `OverlayModule` instead.\n     * \\@breaking-change 8.0.0\n     * \\@docs-private\n     * @type {?}\n     */\n\n    var OVERLAY_PROVIDERS = [Overlay, OverlayPositionBuilder, OVERLAY_KEYBOARD_DISPATCHER_PROVIDER, _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_1__[\"VIEWPORT_RULER_PROVIDER\"], OVERLAY_CONTAINER_PROVIDER, CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Alternative to OverlayContainer that supports correct displaying of overlay elements in\n     * Fullscreen mode\n     * https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullScreen\n     *\n     * Should be provided in the root component.\n     */\n\n    var FullscreenOverlayContainer =\n    /*#__PURE__*/\n    function (_OverlayContainer) {\n      _inherits(FullscreenOverlayContainer, _OverlayContainer);\n\n      /**\n       * @param {?} _document\n       */\n      function FullscreenOverlayContainer(_document) {\n        _classCallCheck(this, FullscreenOverlayContainer);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(FullscreenOverlayContainer).call(this, _document));\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(FullscreenOverlayContainer, [{\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          _get(_getPrototypeOf(FullscreenOverlayContainer.prototype), \"ngOnDestroy\", this).call(this);\n\n          if (this._fullScreenEventName && this._fullScreenListener) {\n            this._document.removeEventListener(this._fullScreenEventName, this._fullScreenListener);\n          }\n        }\n        /**\n         * @protected\n         * @return {?}\n         */\n\n      }, {\n        key: \"_createContainer\",\n        value: function _createContainer() {\n          var _this95 = this;\n\n          _get(_getPrototypeOf(FullscreenOverlayContainer.prototype), \"_createContainer\", this).call(this);\n\n          this._adjustParentForFullscreenChange();\n\n          this._addFullscreenChangeListener(\n          /**\n          * @return {?}\n          */\n          function () {\n            return _this95._adjustParentForFullscreenChange();\n          });\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_adjustParentForFullscreenChange\",\n        value: function _adjustParentForFullscreenChange() {\n          if (!this._containerElement) {\n            return;\n          }\n          /** @type {?} */\n\n\n          var fullscreenElement = this.getFullscreenElement();\n          /** @type {?} */\n\n          var parent = fullscreenElement || this._document.body;\n          parent.appendChild(this._containerElement);\n        }\n        /**\n         * @private\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"_addFullscreenChangeListener\",\n        value: function _addFullscreenChangeListener(fn) {\n          /** @type {?} */\n          var eventName = this._getEventName();\n\n          if (eventName) {\n            if (this._fullScreenListener) {\n              this._document.removeEventListener(eventName, this._fullScreenListener);\n            }\n\n            this._document.addEventListener(eventName, fn);\n\n            this._fullScreenListener = fn;\n          }\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_getEventName\",\n        value: function _getEventName() {\n          if (!this._fullScreenEventName) {\n            /** @type {?} */\n            var _document =\n            /** @type {?} */\n            this._document;\n\n            if (_document.fullscreenEnabled) {\n              this._fullScreenEventName = 'fullscreenchange';\n            } else if (_document.webkitFullscreenEnabled) {\n              this._fullScreenEventName = 'webkitfullscreenchange';\n            } else if (_document.mozFullScreenEnabled) {\n              this._fullScreenEventName = 'mozfullscreenchange';\n            } else if (_document.msFullscreenEnabled) {\n              this._fullScreenEventName = 'MSFullscreenChange';\n            }\n          }\n\n          return this._fullScreenEventName;\n        }\n        /**\n         * When the page is put into fullscreen mode, a specific element is specified.\n         * Only that element and its children are visible when in fullscreen mode.\n         * @return {?}\n         */\n\n      }, {\n        key: \"getFullscreenElement\",\n        value: function getFullscreenElement() {\n          /** @type {?} */\n          var _document =\n          /** @type {?} */\n          this._document;\n          return _document.fullscreenElement || _document.webkitFullscreenElement || _document.mozFullScreenElement || _document.msFullscreenElement || null;\n        }\n      }]);\n\n      return FullscreenOverlayContainer;\n    }(OverlayContainer);\n\n    FullscreenOverlayContainer.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    FullscreenOverlayContainer.ctorParameters = function () {\n      return [{\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Inject\"],\n          args: [_angular_common__WEBPACK_IMPORTED_MODULE_2__[\"DOCUMENT\"]]\n        }]\n      }];\n    };\n    /** @nocollapse */\n\n\n    FullscreenOverlayContainer.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ɵɵdefineInjectable\"])({\n      factory: function FullscreenOverlayContainer_Factory() {\n        return new FullscreenOverlayContainer(Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ɵɵinject\"])(_angular_common__WEBPACK_IMPORTED_MODULE_2__[\"DOCUMENT\"]));\n      },\n      token: FullscreenOverlayContainer,\n      providedIn: \"root\"\n    });\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /***/\n  },\n\n  /***/\n  \"./node_modules/@angular/cdk/esm2015/platform.js\":\n  /*!*******************************************************!*\\\n    !*** ./node_modules/@angular/cdk/esm2015/platform.js ***!\n    \\*******************************************************/\n\n  /*! exports provided: Platform, PlatformModule, getSupportedInputTypes, supportsPassiveEventListeners, normalizePassiveListenerOptions, supportsScrollBehavior, getRtlScrollAxisType, RtlScrollAxisType, _supportsShadowDom */\n\n  /***/\n  function node_modulesAngularCdkEsm2015PlatformJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Platform\", function () {\n      return Platform;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"PlatformModule\", function () {\n      return PlatformModule;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"getSupportedInputTypes\", function () {\n      return getSupportedInputTypes;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"supportsPassiveEventListeners\", function () {\n      return supportsPassiveEventListeners;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"normalizePassiveListenerOptions\", function () {\n      return normalizePassiveListenerOptions;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"supportsScrollBehavior\", function () {\n      return supportsScrollBehavior;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"getRtlScrollAxisType\", function () {\n      return getRtlScrollAxisType;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"RtlScrollAxisType\", function () {\n      return RtlScrollAxisType;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"_supportsShadowDom\", function () {\n      return _supportsShadowDom;\n    });\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/common */\n    \"./node_modules/@angular/common/fesm2015/common.js\");\n    /**\n     * @license\n     * Copyright Google LLC All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n    // Whether the current platform supports the V8 Break Iterator. The V8 check\n    // is necessary to detect all Blink based browsers.\n\n    /** @type {?} */\n\n\n    var hasV8BreakIterator; // We need a try/catch around the reference to `Intl`, because accessing it in some cases can\n    // cause IE to throw. These cases are tied to particular versions of Windows and can happen if\n    // the consumer is providing a polyfilled `Map`. See:\n    // https://github.com/Microsoft/ChakraCore/issues/3189\n    // https://github.com/angular/components/issues/15687\n\n    try {\n      hasV8BreakIterator = typeof Intl !== 'undefined' &&\n      /** @type {?} */\n      Intl.v8BreakIterator;\n    } catch (_a) {\n      hasV8BreakIterator = false;\n    }\n    /**\n     * Service to detect the current platform by comparing the userAgent strings and\n     * checking browser-specific global properties.\n     */\n\n\n    var Platform =\n    /**\n     * \\@breaking-change 8.0.0 remove optional decorator\n     * @param {?=} _platformId\n     */\n    function Platform(_platformId) {\n      _classCallCheck(this, Platform);\n\n      this._platformId = _platformId;\n      /**\n       * Whether the Angular application is being rendered in the browser.\n       * We want to use the Angular platform check because if the Document is shimmed\n       * without the navigator, the following checks will fail. This is preferred because\n       * sometimes the Document may be shimmed without the user's knowledge or intention\n       */\n\n      this.isBrowser = this._platformId ? Object(_angular_common__WEBPACK_IMPORTED_MODULE_1__[\"isPlatformBrowser\"])(this._platformId) : typeof document === 'object' && !!document;\n      /**\n       * Whether the current browser is Microsoft Edge.\n       */\n\n      this.EDGE = this.isBrowser && /(edge)/i.test(navigator.userAgent);\n      /**\n       * Whether the current rendering engine is Microsoft Trident.\n       */\n\n      this.TRIDENT = this.isBrowser && /(msie|trident)/i.test(navigator.userAgent);\n      /**\n       * Whether the current rendering engine is Blink.\n       */\n      // EdgeHTML and Trident mock Blink specific things and need to be excluded from this check.\n\n      this.BLINK = this.isBrowser && !!(\n      /** @type {?} */\n      window.chrome || hasV8BreakIterator) && typeof CSS !== 'undefined' && !this.EDGE && !this.TRIDENT;\n      /**\n       * Whether the current rendering engine is WebKit.\n       */\n      // Webkit is part of the userAgent in EdgeHTML, Blink and Trident. Therefore we need to\n      // ensure that Webkit runs standalone and is not used as another engine's base.\n\n      this.WEBKIT = this.isBrowser && /AppleWebKit/i.test(navigator.userAgent) && !this.BLINK && !this.EDGE && !this.TRIDENT;\n      /**\n       * Whether the current platform is Apple iOS.\n       */\n\n      this.IOS = this.isBrowser && /iPad|iPhone|iPod/.test(navigator.userAgent) && !('MSStream' in window);\n      /**\n       * Whether the current browser is Firefox.\n       */\n      // It's difficult to detect the plain Gecko engine, because most of the browsers identify\n      // them self as Gecko-like browsers and modify the userAgent's according to that.\n      // Since we only cover one explicit Firefox case, we can simply check for Firefox\n      // instead of having an unstable check for Gecko.\n\n      this.FIREFOX = this.isBrowser && /(firefox|minefield)/i.test(navigator.userAgent);\n      /**\n       * Whether the current platform is Android.\n       */\n      // Trident on mobile adds the android platform to the userAgent to trick detections.\n\n      this.ANDROID = this.isBrowser && /android/i.test(navigator.userAgent) && !this.TRIDENT;\n      /**\n       * Whether the current browser is Safari.\n       */\n      // Safari browsers will include the Safari keyword in their userAgent. Some browsers may fake\n      // this and just place the Safari keyword in the userAgent. To be more safe about Safari every\n      // Safari browser should also use Webkit as its layout engine.\n\n      this.SAFARI = this.isBrowser && /safari/i.test(navigator.userAgent) && this.WEBKIT;\n    };\n\n    Platform.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    Platform.ctorParameters = function () {\n      return [{\n        type: Object,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"PLATFORM_ID\"]]\n        }]\n      }];\n    };\n    /** @nocollapse */\n\n\n    Platform.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({\n      factory: function Platform_Factory() {\n        return new Platform(Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"PLATFORM_ID\"], 8));\n      },\n      token: Platform,\n      providedIn: \"root\"\n    });\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    var PlatformModule = function PlatformModule() {\n      _classCallCheck(this, PlatformModule);\n    };\n\n    PlatformModule.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"],\n      args: [{}]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Cached result Set of input types support by the current browser.\n     * @type {?}\n     */\n\n    var supportedInputTypes;\n    /**\n     * Types of `<input>` that *might* be supported.\n     * @type {?}\n     */\n\n    var candidateInputTypes = [// `color` must come first. Chrome 56 shows a warning if we change the type to `color` after\n    // first changing it to something else:\n    // The specified value \"\" does not conform to the required format.\n    // The format is \"#rrggbb\" where rr, gg, bb are two-digit hexadecimal numbers.\n    'color', 'button', 'checkbox', 'date', 'datetime-local', 'email', 'file', 'hidden', 'image', 'month', 'number', 'password', 'radio', 'range', 'reset', 'search', 'submit', 'tel', 'text', 'time', 'url', 'week'];\n    /**\n     * @return {?} The input types supported by this browser.\n     */\n\n    function getSupportedInputTypes() {\n      // Result is cached.\n      if (supportedInputTypes) {\n        return supportedInputTypes;\n      } // We can't check if an input type is not supported until we're on the browser, so say that\n      // everything is supported when not on the browser. We don't use `Platform` here since it's\n      // just a helper function and can't inject it.\n\n\n      if (typeof document !== 'object' || !document) {\n        supportedInputTypes = new Set(candidateInputTypes);\n        return supportedInputTypes;\n      }\n      /** @type {?} */\n\n\n      var featureTestInput = document.createElement('input');\n      supportedInputTypes = new Set(candidateInputTypes.filter(\n      /**\n      * @param {?} value\n      * @return {?}\n      */\n      function (value) {\n        featureTestInput.setAttribute('type', value);\n        return featureTestInput.type === value;\n      }));\n      return supportedInputTypes;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Cached result of whether the user's browser supports passive event listeners.\n     * @type {?}\n     */\n\n\n    var supportsPassiveEvents;\n    /**\n     * Checks whether the user's browser supports passive event listeners.\n     * See: https://github.com/WICG/EventListenerOptions/blob/gh-pages/explainer.md\n     * @return {?}\n     */\n\n    function supportsPassiveEventListeners() {\n      if (supportsPassiveEvents == null && typeof window !== 'undefined') {\n        try {\n          window.addEventListener('test',\n          /** @type {?} */\n          null, Object.defineProperty({}, 'passive', {\n            get:\n            /**\n            * @return {?}\n            */\n            function get() {\n              return supportsPassiveEvents = true;\n            }\n          }));\n        } finally {\n          supportsPassiveEvents = supportsPassiveEvents || false;\n        }\n      }\n\n      return supportsPassiveEvents;\n    }\n    /**\n     * Normalizes an `AddEventListener` object to something that can be passed\n     * to `addEventListener` on any browser, no matter whether it supports the\n     * `options` parameter.\n     * @param {?} options Object to be normalized.\n     * @return {?}\n     */\n\n\n    function normalizePassiveListenerOptions(options) {\n      return supportsPassiveEventListeners() ? options : !!options.capture;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @enum {number} */\n\n\n    var RtlScrollAxisType = {\n      /**\n       * scrollLeft is 0 when scrolled all the way left and (scrollWidth - clientWidth) when scrolled\n       * all the way right.\n       */\n      NORMAL: 0,\n\n      /**\n       * scrollLeft is -(scrollWidth - clientWidth) when scrolled all the way left and 0 when scrolled\n       * all the way right.\n       */\n      NEGATED: 1,\n\n      /**\n       * scrollLeft is (scrollWidth - clientWidth) when scrolled all the way left and 0 when scrolled\n       * all the way right.\n       */\n      INVERTED: 2\n    };\n    RtlScrollAxisType[RtlScrollAxisType.NORMAL] = 'NORMAL';\n    RtlScrollAxisType[RtlScrollAxisType.NEGATED] = 'NEGATED';\n    RtlScrollAxisType[RtlScrollAxisType.INVERTED] = 'INVERTED';\n    /**\n     * Cached result of the way the browser handles the horizontal scroll axis in RTL mode.\n     * @type {?}\n     */\n\n    var rtlScrollAxisType;\n    /**\n     * Check whether the browser supports scroll behaviors.\n     * @return {?}\n     */\n\n    function supportsScrollBehavior() {\n      return !!(typeof document == 'object' && 'scrollBehavior' in\n      /** @type {?} */\n      document.documentElement.style);\n    }\n    /**\n     * Checks the type of RTL scroll axis used by this browser. As of time of writing, Chrome is NORMAL,\n     * Firefox & Safari are NEGATED, and IE & Edge are INVERTED.\n     * @return {?}\n     */\n\n\n    function getRtlScrollAxisType() {\n      // We can't check unless we're on the browser. Just assume 'normal' if we're not.\n      if (typeof document !== 'object' || !document) {\n        return RtlScrollAxisType.NORMAL;\n      }\n\n      if (!rtlScrollAxisType) {\n        // Create a 1px wide scrolling container and a 2px wide content element.\n\n        /** @type {?} */\n        var scrollContainer = document.createElement('div');\n        /** @type {?} */\n\n        var containerStyle = scrollContainer.style;\n        scrollContainer.dir = 'rtl';\n        containerStyle.height = '1px';\n        containerStyle.width = '1px';\n        containerStyle.overflow = 'auto';\n        containerStyle.visibility = 'hidden';\n        containerStyle.pointerEvents = 'none';\n        containerStyle.position = 'absolute';\n        /** @type {?} */\n\n        var content = document.createElement('div');\n        /** @type {?} */\n\n        var contentStyle = content.style;\n        contentStyle.width = '2px';\n        contentStyle.height = '1px';\n        scrollContainer.appendChild(content);\n        document.body.appendChild(scrollContainer);\n        rtlScrollAxisType = RtlScrollAxisType.NORMAL; // The viewport starts scrolled all the way to the right in RTL mode. If we are in a NORMAL\n        // browser this would mean that the scrollLeft should be 1. If it's zero instead we know we're\n        // dealing with one of the other two types of browsers.\n\n        if (scrollContainer.scrollLeft === 0) {\n          // In a NEGATED browser the scrollLeft is always somewhere in [-maxScrollAmount, 0]. For an\n          // INVERTED browser it is always somewhere in [0, maxScrollAmount]. We can determine which by\n          // setting to the scrollLeft to 1. This is past the max for a NEGATED browser, so it will\n          // return 0 when we read it again.\n          scrollContainer.scrollLeft = 1;\n          rtlScrollAxisType = scrollContainer.scrollLeft === 0 ? RtlScrollAxisType.NEGATED : RtlScrollAxisType.INVERTED;\n        }\n\n        /** @type {?} */\n        scrollContainer.parentNode.removeChild(scrollContainer);\n      }\n\n      return rtlScrollAxisType;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var shadowDomIsSupported;\n    /**\n     * Checks whether the user's browser support Shadow DOM.\n     * @return {?}\n     */\n\n    function _supportsShadowDom() {\n      if (shadowDomIsSupported == null) {\n        /** @type {?} */\n        var head = typeof document !== 'undefined' ? document.head : null;\n        shadowDomIsSupported = !!(head && (\n        /** @type {?} */\n        head.createShadowRoot || head.attachShadow));\n      }\n\n      return shadowDomIsSupported;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/@angular/cdk/esm2015/portal.js\":\n  /*!*****************************************************!*\\\n    !*** ./node_modules/@angular/cdk/esm2015/portal.js ***!\n    \\*****************************************************/\n\n  /*! exports provided: Portal, ComponentPortal, TemplatePortal, BasePortalOutlet, BasePortalHost, DomPortalOutlet, DomPortalHost, CdkPortal, TemplatePortalDirective, CdkPortalOutlet, PortalHostDirective, PortalModule, PortalInjector */\n\n  /***/\n  function node_modulesAngularCdkEsm2015PortalJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Portal\", function () {\n      return Portal;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ComponentPortal\", function () {\n      return ComponentPortal;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TemplatePortal\", function () {\n      return TemplatePortal;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"BasePortalOutlet\", function () {\n      return BasePortalOutlet;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"BasePortalHost\", function () {\n      return BasePortalHost;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DomPortalOutlet\", function () {\n      return DomPortalOutlet;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DomPortalHost\", function () {\n      return DomPortalHost;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CdkPortal\", function () {\n      return CdkPortal;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TemplatePortalDirective\", function () {\n      return TemplatePortalDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CdkPortalOutlet\", function () {\n      return CdkPortalOutlet;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"PortalHostDirective\", function () {\n      return PortalHostDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"PortalModule\", function () {\n      return PortalModule;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"PortalInjector\", function () {\n      return PortalInjector;\n    });\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /**\n     * @license\n     * Copyright Google LLC All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Throws an exception when attempting to attach a null portal to a host.\n     * \\@docs-private\n     * @return {?}\n     */\n\n\n    function throwNullPortalError() {\n      throw Error('Must provide a portal to attach');\n    }\n    /**\n     * Throws an exception when attempting to attach a portal to a host that is already attached.\n     * \\@docs-private\n     * @return {?}\n     */\n\n\n    function throwPortalAlreadyAttachedError() {\n      throw Error('Host already has a portal attached');\n    }\n    /**\n     * Throws an exception when attempting to attach a portal to an already-disposed host.\n     * \\@docs-private\n     * @return {?}\n     */\n\n\n    function throwPortalOutletAlreadyDisposedError() {\n      throw Error('This PortalOutlet has already been disposed');\n    }\n    /**\n     * Throws an exception when attempting to attach an unknown portal type.\n     * \\@docs-private\n     * @return {?}\n     */\n\n\n    function throwUnknownPortalTypeError() {\n      throw Error('Attempting to attach an unknown Portal type. BasePortalOutlet accepts either ' + 'a ComponentPortal or a TemplatePortal.');\n    }\n    /**\n     * Throws an exception when attempting to attach a portal to a null host.\n     * \\@docs-private\n     * @return {?}\n     */\n\n\n    function throwNullPortalOutletError() {\n      throw Error('Attempting to attach a portal to a null PortalOutlet');\n    }\n    /**\n     * Throws an exception when attempting to detach a portal that is not attached.\n     * \\@docs-private\n     * @return {?}\n     */\n\n\n    function throwNoPortalAttachedError() {\n      throw Error('Attempting to detach a portal that is not attached to a host');\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * A `Portal` is something that you want to render somewhere else.\n     * It can be attach to / detached from a `PortalOutlet`.\n     * @abstract\n     * @template T\n     */\n\n\n    var Portal =\n    /*#__PURE__*/\n    function () {\n      function Portal() {\n        _classCallCheck(this, Portal);\n      }\n\n      _createClass2(Portal, [{\n        key: \"attach\",\n\n        /**\n         * Attach this portal to a host.\n         * @param {?} host\n         * @return {?}\n         */\n        value: function attach(host) {\n          if (host == null) {\n            throwNullPortalOutletError();\n          }\n\n          if (host.hasAttached()) {\n            throwPortalAlreadyAttachedError();\n          }\n\n          this._attachedHost = host;\n          return (\n            /** @type {?} */\n            host.attach(this)\n          );\n        }\n        /**\n         * Detach this portal from its host\n         * @return {?}\n         */\n\n      }, {\n        key: \"detach\",\n        value: function detach() {\n          /** @type {?} */\n          var host = this._attachedHost;\n\n          if (host == null) {\n            throwNoPortalAttachedError();\n          } else {\n            this._attachedHost = null;\n            host.detach();\n          }\n        }\n        /**\n         * Whether this portal is attached to a host.\n         * @return {?}\n         */\n\n      }, {\n        key: \"setAttachedHost\",\n\n        /**\n         * Sets the PortalOutlet reference without performing `attach()`. This is used directly by\n         * the PortalOutlet when it is performing an `attach()` or `detach()`.\n         * @param {?} host\n         * @return {?}\n         */\n        value: function setAttachedHost(host) {\n          this._attachedHost = host;\n        }\n      }, {\n        key: \"isAttached\",\n        get: function get() {\n          return this._attachedHost != null;\n        }\n      }]);\n\n      return Portal;\n    }();\n    /**\n     * A `ComponentPortal` is a portal that instantiates some Component upon attachment.\n     * @template T\n     */\n\n\n    var ComponentPortal =\n    /*#__PURE__*/\n    function (_Portal) {\n      _inherits(ComponentPortal, _Portal);\n\n      /**\n       * @param {?} component\n       * @param {?=} viewContainerRef\n       * @param {?=} injector\n       * @param {?=} componentFactoryResolver\n       */\n      function ComponentPortal(component, viewContainerRef, injector, componentFactoryResolver) {\n        var _this96;\n\n        _classCallCheck(this, ComponentPortal);\n\n        _this96 = _possibleConstructorReturn(this, _getPrototypeOf(ComponentPortal).call(this));\n        _this96.component = component;\n        _this96.viewContainerRef = viewContainerRef;\n        _this96.injector = injector;\n        _this96.componentFactoryResolver = componentFactoryResolver;\n        return _this96;\n      }\n\n      return ComponentPortal;\n    }(Portal);\n    /**\n     * A `TemplatePortal` is a portal that represents some embedded template (TemplateRef).\n     * @template C\n     */\n\n\n    var TemplatePortal =\n    /*#__PURE__*/\n    function (_Portal2) {\n      _inherits(TemplatePortal, _Portal2);\n\n      /**\n       * @param {?} template\n       * @param {?} viewContainerRef\n       * @param {?=} context\n       */\n      function TemplatePortal(template, viewContainerRef, context) {\n        var _this97;\n\n        _classCallCheck(this, TemplatePortal);\n\n        _this97 = _possibleConstructorReturn(this, _getPrototypeOf(TemplatePortal).call(this));\n        _this97.templateRef = template;\n        _this97.viewContainerRef = viewContainerRef;\n        _this97.context = context;\n        return _this97;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(TemplatePortal, [{\n        key: \"attach\",\n\n        /**\n         * Attach the portal to the provided `PortalOutlet`.\n         * When a context is provided it will override the `context` property of the `TemplatePortal`\n         * instance.\n         * @param {?} host\n         * @param {?=} context\n         * @return {?}\n         */\n        value: function attach(host) {\n          var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.context;\n          this.context = context;\n          return _get(_getPrototypeOf(TemplatePortal.prototype), \"attach\", this).call(this, host);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"detach\",\n        value: function detach() {\n          this.context = undefined;\n          return _get(_getPrototypeOf(TemplatePortal.prototype), \"detach\", this).call(this);\n        }\n      }, {\n        key: \"origin\",\n        get: function get() {\n          return this.templateRef.elementRef;\n        }\n      }]);\n\n      return TemplatePortal;\n    }(Portal);\n    /**\n     * Partial implementation of PortalOutlet that handles attaching\n     * ComponentPortal and TemplatePortal.\n     * @abstract\n     */\n\n\n    var BasePortalOutlet =\n    /*#__PURE__*/\n    function () {\n      function BasePortalOutlet() {\n        _classCallCheck(this, BasePortalOutlet);\n\n        /**\n         * Whether this host has already been permanently disposed.\n         */\n        this._isDisposed = false;\n      }\n      /**\n       * Whether this host has an attached portal.\n       * @return {?}\n       */\n\n\n      _createClass2(BasePortalOutlet, [{\n        key: \"hasAttached\",\n        value: function hasAttached() {\n          return !!this._attachedPortal;\n        }\n        /**\n         * Attaches a portal.\n         * @param {?} portal\n         * @return {?}\n         */\n\n      }, {\n        key: \"attach\",\n        value: function attach(portal) {\n          if (!portal) {\n            throwNullPortalError();\n          }\n\n          if (this.hasAttached()) {\n            throwPortalAlreadyAttachedError();\n          }\n\n          if (this._isDisposed) {\n            throwPortalOutletAlreadyDisposedError();\n          }\n\n          if (portal instanceof ComponentPortal) {\n            this._attachedPortal = portal;\n            return this.attachComponentPortal(portal);\n          } else if (portal instanceof TemplatePortal) {\n            this._attachedPortal = portal;\n            return this.attachTemplatePortal(portal);\n          }\n\n          throwUnknownPortalTypeError();\n        }\n        /**\n         * Detaches a previously attached portal.\n         * @return {?}\n         */\n\n      }, {\n        key: \"detach\",\n        value: function detach() {\n          if (this._attachedPortal) {\n            this._attachedPortal.setAttachedHost(null);\n\n            this._attachedPortal = null;\n          }\n\n          this._invokeDisposeFn();\n        }\n        /**\n         * Permanently dispose of this portal host.\n         * @return {?}\n         */\n\n      }, {\n        key: \"dispose\",\n        value: function dispose() {\n          if (this.hasAttached()) {\n            this.detach();\n          }\n\n          this._invokeDisposeFn();\n\n          this._isDisposed = true;\n        }\n        /**\n         * \\@docs-private\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"setDisposeFn\",\n        value: function setDisposeFn(fn) {\n          this._disposeFn = fn;\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_invokeDisposeFn\",\n        value: function _invokeDisposeFn() {\n          if (this._disposeFn) {\n            this._disposeFn();\n\n            this._disposeFn = null;\n          }\n        }\n      }]);\n\n      return BasePortalOutlet;\n    }();\n    /**\n     * @deprecated Use `BasePortalOutlet` instead.\n     * \\@breaking-change 9.0.0\n     * @abstract\n     */\n\n\n    var BasePortalHost =\n    /*#__PURE__*/\n    function (_BasePortalOutlet) {\n      _inherits(BasePortalHost, _BasePortalOutlet);\n\n      function BasePortalHost() {\n        _classCallCheck(this, BasePortalHost);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(BasePortalHost).apply(this, arguments));\n      }\n\n      return BasePortalHost;\n    }(BasePortalOutlet);\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * A PortalOutlet for attaching portals to an arbitrary DOM element outside of the Angular\n     * application context.\n     */\n\n\n    var DomPortalOutlet =\n    /*#__PURE__*/\n    function (_BasePortalOutlet2) {\n      _inherits(DomPortalOutlet, _BasePortalOutlet2);\n\n      /**\n       * @param {?} outletElement\n       * @param {?} _componentFactoryResolver\n       * @param {?} _appRef\n       * @param {?} _defaultInjector\n       */\n      function DomPortalOutlet(outletElement, _componentFactoryResolver, _appRef, _defaultInjector) {\n        var _this98;\n\n        _classCallCheck(this, DomPortalOutlet);\n\n        _this98 = _possibleConstructorReturn(this, _getPrototypeOf(DomPortalOutlet).call(this));\n        _this98.outletElement = outletElement;\n        _this98._componentFactoryResolver = _componentFactoryResolver;\n        _this98._appRef = _appRef;\n        _this98._defaultInjector = _defaultInjector;\n        return _this98;\n      }\n      /**\n       * Attach the given ComponentPortal to DOM element using the ComponentFactoryResolver.\n       * @template T\n       * @param {?} portal Portal to be attached\n       * @return {?} Reference to the created component.\n       */\n\n\n      _createClass2(DomPortalOutlet, [{\n        key: \"attachComponentPortal\",\n        value: function attachComponentPortal(portal) {\n          var _this99 = this;\n\n          /** @type {?} */\n          var resolver = portal.componentFactoryResolver || this._componentFactoryResolver;\n          /** @type {?} */\n\n          var componentFactory = resolver.resolveComponentFactory(portal.component);\n          /** @type {?} */\n\n          var componentRef; // If the portal specifies a ViewContainerRef, we will use that as the attachment point\n          // for the component (in terms of Angular's component tree, not rendering).\n          // When the ViewContainerRef is missing, we use the factory to create the component directly\n          // and then manually attach the view to the application.\n\n          if (portal.viewContainerRef) {\n            componentRef = portal.viewContainerRef.createComponent(componentFactory, portal.viewContainerRef.length, portal.injector || portal.viewContainerRef.injector);\n            this.setDisposeFn(\n            /**\n            * @return {?}\n            */\n            function () {\n              return componentRef.destroy();\n            });\n          } else {\n            componentRef = componentFactory.create(portal.injector || this._defaultInjector);\n\n            this._appRef.attachView(componentRef.hostView);\n\n            this.setDisposeFn(\n            /**\n            * @return {?}\n            */\n            function () {\n              _this99._appRef.detachView(componentRef.hostView);\n\n              componentRef.destroy();\n            });\n          } // At this point the component has been instantiated, so we move it to the location in the DOM\n          // where we want it to be rendered.\n\n\n          this.outletElement.appendChild(this._getComponentRootNode(componentRef));\n          return componentRef;\n        }\n        /**\n         * Attaches a template portal to the DOM as an embedded view.\n         * @template C\n         * @param {?} portal Portal to be attached.\n         * @return {?} Reference to the created embedded view.\n         */\n\n      }, {\n        key: \"attachTemplatePortal\",\n        value: function attachTemplatePortal(portal) {\n          var _this100 = this;\n\n          /** @type {?} */\n          var viewContainer = portal.viewContainerRef;\n          /** @type {?} */\n\n          var viewRef = viewContainer.createEmbeddedView(portal.templateRef, portal.context);\n          viewRef.detectChanges(); // The method `createEmbeddedView` will add the view as a child of the viewContainer.\n          // But for the DomPortalOutlet the view can be added everywhere in the DOM\n          // (e.g Overlay Container) To move the view to the specified host element. We just\n          // re-append the existing root nodes.\n\n          viewRef.rootNodes.forEach(\n          /**\n          * @param {?} rootNode\n          * @return {?}\n          */\n          function (rootNode) {\n            return _this100.outletElement.appendChild(rootNode);\n          });\n          this.setDisposeFn(\n          /**\n          * @return {?}\n          */\n          function () {\n            /** @type {?} */\n            var index = viewContainer.indexOf(viewRef);\n\n            if (index !== -1) {\n              viewContainer.remove(index);\n            }\n          }); // TODO(jelbourn): Return locals from view.\n\n          return viewRef;\n        }\n        /**\n         * Clears out a portal from the DOM.\n         * @return {?}\n         */\n\n      }, {\n        key: \"dispose\",\n        value: function dispose() {\n          _get(_getPrototypeOf(DomPortalOutlet.prototype), \"dispose\", this).call(this);\n\n          if (this.outletElement.parentNode != null) {\n            this.outletElement.parentNode.removeChild(this.outletElement);\n          }\n        }\n        /**\n         * Gets the root HTMLElement for an instantiated component.\n         * @private\n         * @param {?} componentRef\n         * @return {?}\n         */\n\n      }, {\n        key: \"_getComponentRootNode\",\n        value: function _getComponentRootNode(componentRef) {\n          return (\n            /** @type {?} */\n\n            /** @type {?} */\n            componentRef.hostView.rootNodes[0]\n          );\n        }\n      }]);\n\n      return DomPortalOutlet;\n    }(BasePortalOutlet);\n    /**\n     * @deprecated Use `DomPortalOutlet` instead.\n     * \\@breaking-change 9.0.0\n     */\n\n\n    var DomPortalHost =\n    /*#__PURE__*/\n    function (_DomPortalOutlet) {\n      _inherits(DomPortalHost, _DomPortalOutlet);\n\n      function DomPortalHost() {\n        _classCallCheck(this, DomPortalHost);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(DomPortalHost).apply(this, arguments));\n      }\n\n      return DomPortalHost;\n    }(DomPortalOutlet);\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Directive version of a `TemplatePortal`. Because the directive *is* a TemplatePortal,\n     * the directive instance itself can be attached to a host, enabling declarative use of portals.\n     */\n\n\n    var CdkPortal =\n    /*#__PURE__*/\n    function (_TemplatePortal) {\n      _inherits(CdkPortal, _TemplatePortal);\n\n      /**\n       * @param {?} templateRef\n       * @param {?} viewContainerRef\n       */\n      function CdkPortal(templateRef, viewContainerRef) {\n        _classCallCheck(this, CdkPortal);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(CdkPortal).call(this, templateRef, viewContainerRef));\n      }\n\n      return CdkPortal;\n    }(TemplatePortal);\n\n    CdkPortal.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: '[cdkPortal]',\n        exportAs: 'cdkPortal'\n      }]\n    }];\n    /** @nocollapse */\n\n    CdkPortal.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"TemplateRef\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ViewContainerRef\"]\n      }];\n    };\n    /**\n     * @deprecated Use `CdkPortal` instead.\n     * \\@breaking-change 9.0.0\n     */\n\n\n    var TemplatePortalDirective =\n    /*#__PURE__*/\n    function (_CdkPortal) {\n      _inherits(TemplatePortalDirective, _CdkPortal);\n\n      function TemplatePortalDirective() {\n        _classCallCheck(this, TemplatePortalDirective);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(TemplatePortalDirective).apply(this, arguments));\n      }\n\n      return TemplatePortalDirective;\n    }(CdkPortal);\n\n    TemplatePortalDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: '[cdk-portal], [portal]',\n        exportAs: 'cdkPortal',\n        providers: [{\n          provide: CdkPortal,\n          useExisting: TemplatePortalDirective\n        }]\n      }]\n    }];\n    /**\n     * Directive version of a PortalOutlet. Because the directive *is* a PortalOutlet, portals can be\n     * directly attached to it, enabling declarative use.\n     *\n     * Usage:\n     * `<ng-template [cdkPortalOutlet]=\"greeting\"></ng-template>`\n     */\n\n    var CdkPortalOutlet =\n    /*#__PURE__*/\n    function (_BasePortalOutlet3) {\n      _inherits(CdkPortalOutlet, _BasePortalOutlet3);\n\n      /**\n       * @param {?} _componentFactoryResolver\n       * @param {?} _viewContainerRef\n       */\n      function CdkPortalOutlet(_componentFactoryResolver, _viewContainerRef) {\n        var _this101;\n\n        _classCallCheck(this, CdkPortalOutlet);\n\n        _this101 = _possibleConstructorReturn(this, _getPrototypeOf(CdkPortalOutlet).call(this));\n        _this101._componentFactoryResolver = _componentFactoryResolver;\n        _this101._viewContainerRef = _viewContainerRef;\n        /**\n         * Whether the portal component is initialized.\n         */\n\n        _this101._isInitialized = false;\n        /**\n         * Emits when a portal is attached to the outlet.\n         */\n\n        _this101.attached = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"EventEmitter\"]();\n        return _this101;\n      }\n      /**\n       * Portal associated with the Portal outlet.\n       * @return {?}\n       */\n\n\n      _createClass2(CdkPortalOutlet, [{\n        key: \"ngOnInit\",\n\n        /**\n         * @return {?}\n         */\n        value: function ngOnInit() {\n          this._isInitialized = true;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          _get(_getPrototypeOf(CdkPortalOutlet.prototype), \"dispose\", this).call(this);\n\n          this._attachedPortal = null;\n          this._attachedRef = null;\n        }\n        /**\n         * Attach the given ComponentPortal to this PortalOutlet using the ComponentFactoryResolver.\n         *\n         * @template T\n         * @param {?} portal Portal to be attached to the portal outlet.\n         * @return {?} Reference to the created component.\n         */\n\n      }, {\n        key: \"attachComponentPortal\",\n        value: function attachComponentPortal(portal) {\n          portal.setAttachedHost(this); // If the portal specifies an origin, use that as the logical location of the component\n          // in the application tree. Otherwise use the location of this PortalOutlet.\n\n          /** @type {?} */\n\n          var viewContainerRef = portal.viewContainerRef != null ? portal.viewContainerRef : this._viewContainerRef;\n          /** @type {?} */\n\n          var resolver = portal.componentFactoryResolver || this._componentFactoryResolver;\n          /** @type {?} */\n\n          var componentFactory = resolver.resolveComponentFactory(portal.component);\n          /** @type {?} */\n\n          var ref = viewContainerRef.createComponent(componentFactory, viewContainerRef.length, portal.injector || viewContainerRef.injector);\n\n          _get(_getPrototypeOf(CdkPortalOutlet.prototype), \"setDisposeFn\", this).call(this,\n          /**\n          * @return {?}\n          */\n          function () {\n            return ref.destroy();\n          });\n\n          this._attachedPortal = portal;\n          this._attachedRef = ref;\n          this.attached.emit(ref);\n          return ref;\n        }\n        /**\n         * Attach the given TemplatePortal to this PortlHost as an embedded View.\n         * @template C\n         * @param {?} portal Portal to be attached.\n         * @return {?} Reference to the created embedded view.\n         */\n\n      }, {\n        key: \"attachTemplatePortal\",\n        value: function attachTemplatePortal(portal) {\n          var _this102 = this;\n\n          portal.setAttachedHost(this);\n          /** @type {?} */\n\n          var viewRef = this._viewContainerRef.createEmbeddedView(portal.templateRef, portal.context);\n\n          _get(_getPrototypeOf(CdkPortalOutlet.prototype), \"setDisposeFn\", this).call(this,\n          /**\n          * @return {?}\n          */\n          function () {\n            return _this102._viewContainerRef.clear();\n          });\n\n          this._attachedPortal = portal;\n          this._attachedRef = viewRef;\n          this.attached.emit(viewRef);\n          return viewRef;\n        }\n      }, {\n        key: \"portal\",\n        get: function get() {\n          return this._attachedPortal;\n        }\n        /**\n         * @param {?} portal\n         * @return {?}\n         */\n        ,\n        set: function set(portal) {\n          // Ignore the cases where the `portal` is set to a falsy value before the lifecycle hooks have\n          // run. This handles the cases where the user might do something like `<div cdkPortalOutlet>`\n          // and attach a portal programmatically in the parent component. When Angular does the first CD\n          // round, it will fire the setter with empty string, causing the user's content to be cleared.\n          if (this.hasAttached() && !portal && !this._isInitialized) {\n            return;\n          }\n\n          if (this.hasAttached()) {\n            _get(_getPrototypeOf(CdkPortalOutlet.prototype), \"detach\", this).call(this);\n          }\n\n          if (portal) {\n            _get(_getPrototypeOf(CdkPortalOutlet.prototype), \"attach\", this).call(this, portal);\n          }\n\n          this._attachedPortal = portal;\n        }\n        /**\n         * Component or view reference that is attached to the portal.\n         * @return {?}\n         */\n\n      }, {\n        key: \"attachedRef\",\n        get: function get() {\n          return this._attachedRef;\n        }\n      }]);\n\n      return CdkPortalOutlet;\n    }(BasePortalOutlet);\n\n    CdkPortalOutlet.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: '[cdkPortalOutlet]',\n        exportAs: 'cdkPortalOutlet',\n        inputs: ['portal: cdkPortalOutlet']\n      }]\n    }];\n    /** @nocollapse */\n\n    CdkPortalOutlet.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ComponentFactoryResolver\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ViewContainerRef\"]\n      }];\n    };\n\n    CdkPortalOutlet.propDecorators = {\n      attached: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Output\"]\n      }]\n    };\n    /**\n     * @deprecated Use `CdkPortalOutlet` instead.\n     * \\@breaking-change 9.0.0\n     */\n\n    var PortalHostDirective =\n    /*#__PURE__*/\n    function (_CdkPortalOutlet) {\n      _inherits(PortalHostDirective, _CdkPortalOutlet);\n\n      function PortalHostDirective() {\n        _classCallCheck(this, PortalHostDirective);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(PortalHostDirective).apply(this, arguments));\n      }\n\n      return PortalHostDirective;\n    }(CdkPortalOutlet);\n\n    PortalHostDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: '[cdkPortalHost], [portalHost]',\n        exportAs: 'cdkPortalHost',\n        inputs: ['portal: cdkPortalHost'],\n        providers: [{\n          provide: CdkPortalOutlet,\n          useExisting: PortalHostDirective\n        }]\n      }]\n    }];\n\n    var PortalModule = function PortalModule() {\n      _classCallCheck(this, PortalModule);\n    };\n\n    PortalModule.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"],\n      args: [{\n        exports: [CdkPortal, CdkPortalOutlet, TemplatePortalDirective, PortalHostDirective],\n        declarations: [CdkPortal, CdkPortalOutlet, TemplatePortalDirective, PortalHostDirective]\n      }]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Custom injector to be used when providing custom\n     * injection tokens to components inside a portal.\n     * \\@docs-private\n     */\n\n    var PortalInjector =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _parentInjector\n       * @param {?} _customTokens\n       */\n      function PortalInjector(_parentInjector, _customTokens) {\n        _classCallCheck(this, PortalInjector);\n\n        this._parentInjector = _parentInjector;\n        this._customTokens = _customTokens;\n      }\n      /**\n       * @param {?} token\n       * @param {?=} notFoundValue\n       * @return {?}\n       */\n\n\n      _createClass2(PortalInjector, [{\n        key: \"get\",\n        value: function get(token, notFoundValue) {\n          /** @type {?} */\n          var value = this._customTokens.get(token);\n\n          if (typeof value !== 'undefined') {\n            return value;\n          }\n\n          return this._parentInjector.get(token, notFoundValue);\n        }\n      }]);\n\n      return PortalInjector;\n    }();\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/@angular/cdk/esm2015/scrolling.js\":\n  /*!********************************************************!*\\\n    !*** ./node_modules/@angular/cdk/esm2015/scrolling.js ***!\n    \\********************************************************/\n\n  /*! exports provided: _fixedSizeVirtualScrollStrategyFactory, FixedSizeVirtualScrollStrategy, CdkFixedSizeVirtualScroll, SCROLL_DISPATCHER_PROVIDER_FACTORY, DEFAULT_SCROLL_TIME, ScrollDispatcher, SCROLL_DISPATCHER_PROVIDER, CdkScrollable, ScrollingModule, ScrollDispatchModule, VIEWPORT_RULER_PROVIDER_FACTORY, DEFAULT_RESIZE_TIME, ViewportRuler, VIEWPORT_RULER_PROVIDER, CdkVirtualForOf, VIRTUAL_SCROLL_STRATEGY, CdkVirtualScrollViewport */\n\n  /***/\n  function node_modulesAngularCdkEsm2015ScrollingJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"_fixedSizeVirtualScrollStrategyFactory\", function () {\n      return _fixedSizeVirtualScrollStrategyFactory;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FixedSizeVirtualScrollStrategy\", function () {\n      return FixedSizeVirtualScrollStrategy;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CdkFixedSizeVirtualScroll\", function () {\n      return CdkFixedSizeVirtualScroll;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"SCROLL_DISPATCHER_PROVIDER_FACTORY\", function () {\n      return SCROLL_DISPATCHER_PROVIDER_FACTORY;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DEFAULT_SCROLL_TIME\", function () {\n      return DEFAULT_SCROLL_TIME;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ScrollDispatcher\", function () {\n      return ScrollDispatcher;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"SCROLL_DISPATCHER_PROVIDER\", function () {\n      return SCROLL_DISPATCHER_PROVIDER;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CdkScrollable\", function () {\n      return CdkScrollable;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ScrollingModule\", function () {\n      return ScrollingModule;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ScrollDispatchModule\", function () {\n      return ScrollDispatchModule;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"VIEWPORT_RULER_PROVIDER_FACTORY\", function () {\n      return VIEWPORT_RULER_PROVIDER_FACTORY;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DEFAULT_RESIZE_TIME\", function () {\n      return DEFAULT_RESIZE_TIME;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ViewportRuler\", function () {\n      return ViewportRuler;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"VIEWPORT_RULER_PROVIDER\", function () {\n      return VIEWPORT_RULER_PROVIDER;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CdkVirtualForOf\", function () {\n      return CdkVirtualForOf;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"VIRTUAL_SCROLL_STRATEGY\", function () {\n      return VIRTUAL_SCROLL_STRATEGY;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CdkVirtualScrollViewport\", function () {\n      return CdkVirtualScrollViewport;\n    });\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var _angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/cdk/coercion */\n    \"./node_modules/@angular/cdk/esm2015/coercion.js\");\n    /* harmony import */\n\n\n    var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! rxjs */\n    \"./node_modules/rxjs/_esm2015/index.js\");\n    /* harmony import */\n\n\n    var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! rxjs/operators */\n    \"./node_modules/rxjs/_esm2015/operators/index.js\");\n    /* harmony import */\n\n\n    var _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! @angular/cdk/platform */\n    \"./node_modules/@angular/cdk/esm2015/platform.js\");\n    /* harmony import */\n\n\n    var _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\n    /*! @angular/cdk/bidi */\n    \"./node_modules/@angular/cdk/esm2015/bidi.js\");\n    /* harmony import */\n\n\n    var _angular_cdk_collections__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(\n    /*! @angular/cdk/collections */\n    \"./node_modules/@angular/cdk/esm2015/collections.js\");\n    /**\n     * @license\n     * Copyright Google LLC All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * The injection token used to specify the virtual scrolling strategy.\n     * @type {?}\n     */\n\n\n    var VIRTUAL_SCROLL_STRATEGY = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('VIRTUAL_SCROLL_STRATEGY');\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Virtual scrolling strategy for lists with items of known fixed size.\n     */\n\n    var FixedSizeVirtualScrollStrategy =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} itemSize The size of the items in the virtually scrolling list.\n       * @param {?} minBufferPx The minimum amount of buffer (in pixels) before needing to render more\n       * @param {?} maxBufferPx The amount of buffer (in pixels) to render when rendering more.\n       */\n      function FixedSizeVirtualScrollStrategy(itemSize, minBufferPx, maxBufferPx) {\n        _classCallCheck(this, FixedSizeVirtualScrollStrategy);\n\n        this._scrolledIndexChange = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Subject\"]();\n        /**\n         * \\@docs-private Implemented as part of VirtualScrollStrategy.\n         */\n\n        this.scrolledIndexChange = this._scrolledIndexChange.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"distinctUntilChanged\"])());\n        /**\n         * The attached viewport.\n         */\n\n        this._viewport = null;\n        this._itemSize = itemSize;\n        this._minBufferPx = minBufferPx;\n        this._maxBufferPx = maxBufferPx;\n      }\n      /**\n       * Attaches this scroll strategy to a viewport.\n       * @param {?} viewport The viewport to attach this strategy to.\n       * @return {?}\n       */\n\n\n      _createClass2(FixedSizeVirtualScrollStrategy, [{\n        key: \"attach\",\n        value: function attach(viewport) {\n          this._viewport = viewport;\n\n          this._updateTotalContentSize();\n\n          this._updateRenderedRange();\n        }\n        /**\n         * Detaches this scroll strategy from the currently attached viewport.\n         * @return {?}\n         */\n\n      }, {\n        key: \"detach\",\n        value: function detach() {\n          this._scrolledIndexChange.complete();\n\n          this._viewport = null;\n        }\n        /**\n         * Update the item size and buffer size.\n         * @param {?} itemSize The size of the items in the virtually scrolling list.\n         * @param {?} minBufferPx The minimum amount of buffer (in pixels) before needing to render more\n         * @param {?} maxBufferPx The amount of buffer (in pixels) to render when rendering more.\n         * @return {?}\n         */\n\n      }, {\n        key: \"updateItemAndBufferSize\",\n        value: function updateItemAndBufferSize(itemSize, minBufferPx, maxBufferPx) {\n          if (maxBufferPx < minBufferPx) {\n            throw Error('CDK virtual scroll: maxBufferPx must be greater than or equal to minBufferPx');\n          }\n\n          this._itemSize = itemSize;\n          this._minBufferPx = minBufferPx;\n          this._maxBufferPx = maxBufferPx;\n\n          this._updateTotalContentSize();\n\n          this._updateRenderedRange();\n        }\n        /**\n         * \\@docs-private Implemented as part of VirtualScrollStrategy.\n         * @return {?}\n         */\n\n      }, {\n        key: \"onContentScrolled\",\n        value: function onContentScrolled() {\n          this._updateRenderedRange();\n        }\n        /**\n         * \\@docs-private Implemented as part of VirtualScrollStrategy.\n         * @return {?}\n         */\n\n      }, {\n        key: \"onDataLengthChanged\",\n        value: function onDataLengthChanged() {\n          this._updateTotalContentSize();\n\n          this._updateRenderedRange();\n        }\n        /**\n         * \\@docs-private Implemented as part of VirtualScrollStrategy.\n         * @return {?}\n         */\n\n      }, {\n        key: \"onContentRendered\",\n        value: function onContentRendered() {}\n        /**\n         * \\@docs-private Implemented as part of VirtualScrollStrategy.\n         * @return {?}\n         */\n\n      }, {\n        key: \"onRenderedOffsetChanged\",\n        value: function onRenderedOffsetChanged() {}\n        /**\n         * Scroll to the offset for the given index.\n         * @param {?} index The index of the element to scroll to.\n         * @param {?} behavior The ScrollBehavior to use when scrolling.\n         * @return {?}\n         */\n\n      }, {\n        key: \"scrollToIndex\",\n        value: function scrollToIndex(index, behavior) {\n          if (this._viewport) {\n            this._viewport.scrollToOffset(index * this._itemSize, behavior);\n          }\n        }\n        /**\n         * Update the viewport's total content size.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_updateTotalContentSize\",\n        value: function _updateTotalContentSize() {\n          if (!this._viewport) {\n            return;\n          }\n\n          this._viewport.setTotalContentSize(this._viewport.getDataLength() * this._itemSize);\n        }\n        /**\n         * Update the viewport's rendered range.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_updateRenderedRange\",\n        value: function _updateRenderedRange() {\n          if (!this._viewport) {\n            return;\n          }\n          /** @type {?} */\n\n\n          var scrollOffset = this._viewport.measureScrollOffset();\n          /** @type {?} */\n\n\n          var firstVisibleIndex = scrollOffset / this._itemSize;\n          /** @type {?} */\n\n          var renderedRange = this._viewport.getRenderedRange();\n          /** @type {?} */\n\n\n          var newRange = {\n            start: renderedRange.start,\n            end: renderedRange.end\n          };\n          /** @type {?} */\n\n          var viewportSize = this._viewport.getViewportSize();\n          /** @type {?} */\n\n\n          var dataLength = this._viewport.getDataLength();\n          /** @type {?} */\n\n\n          var startBuffer = scrollOffset - newRange.start * this._itemSize;\n\n          if (startBuffer < this._minBufferPx && newRange.start != 0) {\n            /** @type {?} */\n            var expandStart = Math.ceil((this._maxBufferPx - startBuffer) / this._itemSize);\n            newRange.start = Math.max(0, newRange.start - expandStart);\n            newRange.end = Math.min(dataLength, Math.ceil(firstVisibleIndex + (viewportSize + this._minBufferPx) / this._itemSize));\n          } else {\n            /** @type {?} */\n            var endBuffer = newRange.end * this._itemSize - (scrollOffset + viewportSize);\n\n            if (endBuffer < this._minBufferPx && newRange.end != dataLength) {\n              /** @type {?} */\n              var expandEnd = Math.ceil((this._maxBufferPx - endBuffer) / this._itemSize);\n\n              if (expandEnd > 0) {\n                newRange.end = Math.min(dataLength, newRange.end + expandEnd);\n                newRange.start = Math.max(0, Math.floor(firstVisibleIndex - this._minBufferPx / this._itemSize));\n              }\n            }\n          }\n\n          this._viewport.setRenderedRange(newRange);\n\n          this._viewport.setRenderedContentOffset(this._itemSize * newRange.start);\n\n          this._scrolledIndexChange.next(Math.floor(firstVisibleIndex));\n        }\n      }]);\n\n      return FixedSizeVirtualScrollStrategy;\n    }();\n    /**\n     * Provider factory for `FixedSizeVirtualScrollStrategy` that simply extracts the already created\n     * `FixedSizeVirtualScrollStrategy` from the given directive.\n     * @param {?} fixedSizeDir The instance of `CdkFixedSizeVirtualScroll` to extract the\n     *     `FixedSizeVirtualScrollStrategy` from.\n     * @return {?}\n     */\n\n\n    function _fixedSizeVirtualScrollStrategyFactory(fixedSizeDir) {\n      return fixedSizeDir._scrollStrategy;\n    }\n    /**\n     * A virtual scroll strategy that supports fixed-size items.\n     */\n\n\n    var CdkFixedSizeVirtualScroll =\n    /*#__PURE__*/\n    function () {\n      function CdkFixedSizeVirtualScroll() {\n        _classCallCheck(this, CdkFixedSizeVirtualScroll);\n\n        this._itemSize = 20;\n        this._minBufferPx = 100;\n        this._maxBufferPx = 200;\n        /**\n         * The scroll strategy used by this directive.\n         */\n\n        this._scrollStrategy = new FixedSizeVirtualScrollStrategy(this.itemSize, this.minBufferPx, this.maxBufferPx);\n      }\n      /**\n       * The size of the items in the list (in pixels).\n       * @return {?}\n       */\n\n\n      _createClass2(CdkFixedSizeVirtualScroll, [{\n        key: \"ngOnChanges\",\n\n        /**\n         * @return {?}\n         */\n        value: function ngOnChanges() {\n          this._scrollStrategy.updateItemAndBufferSize(this.itemSize, this.minBufferPx, this.maxBufferPx);\n        }\n      }, {\n        key: \"itemSize\",\n        get: function get() {\n          return this._itemSize;\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n        ,\n        set: function set(value) {\n          this._itemSize = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_1__[\"coerceNumberProperty\"])(value);\n        }\n        /**\n         * The minimum amount of buffer rendered beyond the viewport (in pixels).\n         * If the amount of buffer dips below this number, more items will be rendered. Defaults to 100px.\n         * @return {?}\n         */\n\n      }, {\n        key: \"minBufferPx\",\n        get: function get() {\n          return this._minBufferPx;\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n        ,\n        set: function set(value) {\n          this._minBufferPx = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_1__[\"coerceNumberProperty\"])(value);\n        }\n        /**\n         * The number of pixels worth of buffer to render for when rendering new items. Defaults to 200px.\n         * @return {?}\n         */\n\n      }, {\n        key: \"maxBufferPx\",\n        get: function get() {\n          return this._maxBufferPx;\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n        ,\n        set: function set(value) {\n          this._maxBufferPx = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_1__[\"coerceNumberProperty\"])(value);\n        }\n      }]);\n\n      return CdkFixedSizeVirtualScroll;\n    }();\n\n    CdkFixedSizeVirtualScroll.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: 'cdk-virtual-scroll-viewport[itemSize]',\n        providers: [{\n          provide: VIRTUAL_SCROLL_STRATEGY,\n          useFactory: _fixedSizeVirtualScrollStrategyFactory,\n          deps: [Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])(\n          /**\n          * @return {?}\n          */\n          function () {\n            return CdkFixedSizeVirtualScroll;\n          })]\n        }]\n      }]\n    }];\n    CdkFixedSizeVirtualScroll.propDecorators = {\n      itemSize: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"]\n      }],\n      minBufferPx: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"]\n      }],\n      maxBufferPx: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"]\n      }]\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Time in ms to throttle the scrolling events by default.\n     * @type {?}\n     */\n\n    var DEFAULT_SCROLL_TIME = 20;\n    /**\n     * Service contained all registered Scrollable references and emits an event when any one of the\n     * Scrollable references emit a scrolled event.\n     */\n\n    var ScrollDispatcher =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _ngZone\n       * @param {?} _platform\n       */\n      function ScrollDispatcher(_ngZone, _platform) {\n        _classCallCheck(this, ScrollDispatcher);\n\n        this._ngZone = _ngZone;\n        this._platform = _platform;\n        /**\n         * Subject for notifying that a registered scrollable reference element has been scrolled.\n         */\n\n        this._scrolled = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Subject\"]();\n        /**\n         * Keeps track of the global `scroll` and `resize` subscriptions.\n         */\n\n        this._globalSubscription = null;\n        /**\n         * Keeps track of the amount of subscriptions to `scrolled`. Used for cleaning up afterwards.\n         */\n\n        this._scrolledCount = 0;\n        /**\n         * Map of all the scrollable references that are registered with the service and their\n         * scroll event subscriptions.\n         */\n\n        this.scrollContainers = new Map();\n      }\n      /**\n       * Registers a scrollable instance with the service and listens for its scrolled events. When the\n       * scrollable is scrolled, the service emits the event to its scrolled observable.\n       * @param {?} scrollable Scrollable instance to be registered.\n       * @return {?}\n       */\n\n\n      _createClass2(ScrollDispatcher, [{\n        key: \"register\",\n        value: function register(scrollable) {\n          var _this103 = this;\n\n          if (!this.scrollContainers.has(scrollable)) {\n            this.scrollContainers.set(scrollable, scrollable.elementScrolled().subscribe(\n            /**\n            * @return {?}\n            */\n            function () {\n              return _this103._scrolled.next(scrollable);\n            }));\n          }\n        }\n        /**\n         * Deregisters a Scrollable reference and unsubscribes from its scroll event observable.\n         * @param {?} scrollable Scrollable instance to be deregistered.\n         * @return {?}\n         */\n\n      }, {\n        key: \"deregister\",\n        value: function deregister(scrollable) {\n          /** @type {?} */\n          var scrollableReference = this.scrollContainers.get(scrollable);\n\n          if (scrollableReference) {\n            scrollableReference.unsubscribe();\n            this.scrollContainers.delete(scrollable);\n          }\n        }\n        /**\n         * Returns an observable that emits an event whenever any of the registered Scrollable\n         * references (or window, document, or body) fire a scrolled event. Can provide a time in ms\n         * to override the default \"throttle\" time.\n         *\n         * **Note:** in order to avoid hitting change detection for every scroll event,\n         * all of the events emitted from this stream will be run outside the Angular zone.\n         * If you need to update any data bindings as a result of a scroll event, you have\n         * to run the callback using `NgZone.run`.\n         * @param {?=} auditTimeInMs\n         * @return {?}\n         */\n\n      }, {\n        key: \"scrolled\",\n        value: function scrolled() {\n          var _this104 = this;\n\n          var auditTimeInMs = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : DEFAULT_SCROLL_TIME;\n\n          if (!this._platform.isBrowser) {\n            return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])();\n          }\n\n          return new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Observable\"](\n          /**\n          * @param {?} observer\n          * @return {?}\n          */\n          function (observer) {\n            if (!_this104._globalSubscription) {\n              _this104._addGlobalListener();\n            } // In the case of a 0ms delay, use an observable without auditTime\n            // since it does add a perceptible delay in processing overhead.\n\n            /** @type {?} */\n\n\n            var subscription = auditTimeInMs > 0 ? _this104._scrolled.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"auditTime\"])(auditTimeInMs)).subscribe(observer) : _this104._scrolled.subscribe(observer);\n            _this104._scrolledCount++;\n            return (\n              /**\n              * @return {?}\n              */\n              function () {\n                subscription.unsubscribe();\n                _this104._scrolledCount--;\n\n                if (!_this104._scrolledCount) {\n                  _this104._removeGlobalListener();\n                }\n              }\n            );\n          });\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          var _this105 = this;\n\n          this._removeGlobalListener();\n\n          this.scrollContainers.forEach(\n          /**\n          * @param {?} _\n          * @param {?} container\n          * @return {?}\n          */\n          function (_, container) {\n            return _this105.deregister(container);\n          });\n\n          this._scrolled.complete();\n        }\n        /**\n         * Returns an observable that emits whenever any of the\n         * scrollable ancestors of an element are scrolled.\n         * @param {?} elementRef Element whose ancestors to listen for.\n         * @param {?=} auditTimeInMs Time to throttle the scroll events.\n         * @return {?}\n         */\n\n      }, {\n        key: \"ancestorScrolled\",\n        value: function ancestorScrolled(elementRef, auditTimeInMs) {\n          /** @type {?} */\n          var ancestors = this.getAncestorScrollContainers(elementRef);\n          return this.scrolled(auditTimeInMs).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"filter\"])(\n          /**\n          * @param {?} target\n          * @return {?}\n          */\n          function (target) {\n            return !target || ancestors.indexOf(target) > -1;\n          }));\n        }\n        /**\n         * Returns all registered Scrollables that contain the provided element.\n         * @param {?} elementRef\n         * @return {?}\n         */\n\n      }, {\n        key: \"getAncestorScrollContainers\",\n        value: function getAncestorScrollContainers(elementRef) {\n          var _this106 = this;\n\n          /** @type {?} */\n          var scrollingContainers = [];\n          this.scrollContainers.forEach(\n          /**\n          * @param {?} _subscription\n          * @param {?} scrollable\n          * @return {?}\n          */\n          function (_subscription, scrollable) {\n            if (_this106._scrollableContainsElement(scrollable, elementRef)) {\n              scrollingContainers.push(scrollable);\n            }\n          });\n          return scrollingContainers;\n        }\n        /**\n         * Returns true if the element is contained within the provided Scrollable.\n         * @private\n         * @param {?} scrollable\n         * @param {?} elementRef\n         * @return {?}\n         */\n\n      }, {\n        key: \"_scrollableContainsElement\",\n        value: function _scrollableContainsElement(scrollable, elementRef) {\n          /** @type {?} */\n          var element = elementRef.nativeElement;\n          /** @type {?} */\n\n          var scrollableElement = scrollable.getElementRef().nativeElement; // Traverse through the element parents until we reach null, checking if any of the elements\n          // are the scrollable's element.\n\n          do {\n            if (element == scrollableElement) {\n              return true;\n            }\n          } while (element =\n          /** @type {?} */\n          element.parentElement);\n\n          return false;\n        }\n        /**\n         * Sets up the global scroll listeners.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_addGlobalListener\",\n        value: function _addGlobalListener() {\n          var _this107 = this;\n\n          this._globalSubscription = this._ngZone.runOutsideAngular(\n          /**\n          * @return {?}\n          */\n          function () {\n            return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"fromEvent\"])(window.document, 'scroll').subscribe(\n            /**\n            * @return {?}\n            */\n            function () {\n              return _this107._scrolled.next();\n            });\n          });\n        }\n        /**\n         * Cleans up the global scroll listener.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_removeGlobalListener\",\n        value: function _removeGlobalListener() {\n          if (this._globalSubscription) {\n            this._globalSubscription.unsubscribe();\n\n            this._globalSubscription = null;\n          }\n        }\n      }]);\n\n      return ScrollDispatcher;\n    }();\n\n    ScrollDispatcher.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    ScrollDispatcher.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgZone\"]\n      }, {\n        type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_4__[\"Platform\"]\n      }];\n    };\n    /** @nocollapse */\n\n\n    ScrollDispatcher.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({\n      factory: function ScrollDispatcher_Factory() {\n        return new ScrollDispatcher(Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgZone\"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_4__[\"Platform\"]));\n      },\n      token: ScrollDispatcher,\n      providedIn: \"root\"\n    });\n    /**\n     * \\@docs-private \\@deprecated \\@breaking-change 8.0.0\n     * @param {?} parentDispatcher\n     * @param {?} ngZone\n     * @param {?} platform\n     * @return {?}\n     */\n\n    function SCROLL_DISPATCHER_PROVIDER_FACTORY(parentDispatcher, ngZone, platform) {\n      return parentDispatcher || new ScrollDispatcher(ngZone, platform);\n    }\n    /**\n     * \\@docs-private \\@deprecated \\@breaking-change 8.0.0\n     * @type {?}\n     */\n\n\n    var SCROLL_DISPATCHER_PROVIDER = {\n      // If there is already a ScrollDispatcher available, use that. Otherwise, provide a new one.\n      provide: ScrollDispatcher,\n      deps: [[new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"](), new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"SkipSelf\"](), ScrollDispatcher], _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgZone\"], _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_4__[\"Platform\"]],\n      useFactory: SCROLL_DISPATCHER_PROVIDER_FACTORY\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Sends an event when the directive's element is scrolled. Registers itself with the\n     * ScrollDispatcher service to include itself as part of its collection of scrolling events that it\n     * can be listened to through the service.\n     */\n\n    var CdkScrollable =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} elementRef\n       * @param {?} scrollDispatcher\n       * @param {?} ngZone\n       * @param {?=} dir\n       */\n      function CdkScrollable(elementRef, scrollDispatcher, ngZone, dir) {\n        var _this108 = this;\n\n        _classCallCheck(this, CdkScrollable);\n\n        this.elementRef = elementRef;\n        this.scrollDispatcher = scrollDispatcher;\n        this.ngZone = ngZone;\n        this.dir = dir;\n        this._destroyed = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Subject\"]();\n        this._elementScrolled = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Observable\"](\n        /**\n        * @param {?} observer\n        * @return {?}\n        */\n        function (observer) {\n          return _this108.ngZone.runOutsideAngular(\n          /**\n          * @return {?}\n          */\n          function () {\n            return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"fromEvent\"])(_this108.elementRef.nativeElement, 'scroll').pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"takeUntil\"])(_this108._destroyed)).subscribe(observer);\n          });\n        });\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(CdkScrollable, [{\n        key: \"ngOnInit\",\n        value: function ngOnInit() {\n          this.scrollDispatcher.register(this);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          this.scrollDispatcher.deregister(this);\n\n          this._destroyed.next();\n\n          this._destroyed.complete();\n        }\n        /**\n         * Returns observable that emits when a scroll event is fired on the host element.\n         * @return {?}\n         */\n\n      }, {\n        key: \"elementScrolled\",\n        value: function elementScrolled() {\n          return this._elementScrolled;\n        }\n        /**\n         * Gets the ElementRef for the viewport.\n         * @return {?}\n         */\n\n      }, {\n        key: \"getElementRef\",\n        value: function getElementRef() {\n          return this.elementRef;\n        }\n        /**\n         * Scrolls to the specified offsets. This is a normalized version of the browser's native scrollTo\n         * method, since browsers are not consistent about what scrollLeft means in RTL. For this method\n         * left and right always refer to the left and right side of the scrolling container irrespective\n         * of the layout direction. start and end refer to left and right in an LTR context and vice-versa\n         * in an RTL context.\n         * @param {?} options specified the offsets to scroll to.\n         * @return {?}\n         */\n\n      }, {\n        key: \"scrollTo\",\n        value: function scrollTo(options) {\n          /** @type {?} */\n          var el = this.elementRef.nativeElement;\n          /** @type {?} */\n\n          var isRtl = this.dir && this.dir.value == 'rtl'; // Rewrite start & end offsets as right or left offsets.\n\n          options.left = options.left == null ? isRtl ? options.end : options.start : options.left;\n          options.right = options.right == null ? isRtl ? options.start : options.end : options.right; // Rewrite the bottom offset as a top offset.\n\n          if (options.bottom != null) {\n            /** @type {?} */\n            options.top = el.scrollHeight - el.clientHeight - options.bottom;\n          } // Rewrite the right offset as a left offset.\n\n\n          if (isRtl && Object(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_4__[\"getRtlScrollAxisType\"])() != _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_4__[\"RtlScrollAxisType\"].NORMAL) {\n            if (options.left != null) {\n              /** @type {?} */\n              options.right = el.scrollWidth - el.clientWidth - options.left;\n            }\n\n            if (Object(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_4__[\"getRtlScrollAxisType\"])() == _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_4__[\"RtlScrollAxisType\"].INVERTED) {\n              options.left = options.right;\n            } else if (Object(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_4__[\"getRtlScrollAxisType\"])() == _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_4__[\"RtlScrollAxisType\"].NEGATED) {\n              options.left = options.right ? -options.right : options.right;\n            }\n          } else {\n            if (options.right != null) {\n              /** @type {?} */\n              options.left = el.scrollWidth - el.clientWidth - options.right;\n            }\n          }\n\n          this._applyScrollToOptions(options);\n        }\n        /**\n         * @private\n         * @param {?} options\n         * @return {?}\n         */\n\n      }, {\n        key: \"_applyScrollToOptions\",\n        value: function _applyScrollToOptions(options) {\n          /** @type {?} */\n          var el = this.elementRef.nativeElement;\n\n          if (Object(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_4__[\"supportsScrollBehavior\"])()) {\n            el.scrollTo(options);\n          } else {\n            if (options.top != null) {\n              el.scrollTop = options.top;\n            }\n\n            if (options.left != null) {\n              el.scrollLeft = options.left;\n            }\n          }\n        }\n        /**\n         * Measures the scroll offset relative to the specified edge of the viewport. This method can be\n         * used instead of directly checking scrollLeft or scrollTop, since browsers are not consistent\n         * about what scrollLeft means in RTL. The values returned by this method are normalized such that\n         * left and right always refer to the left and right side of the scrolling container irrespective\n         * of the layout direction. start and end refer to left and right in an LTR context and vice-versa\n         * in an RTL context.\n         * @param {?} from The edge to measure from.\n         * @return {?}\n         */\n\n      }, {\n        key: \"measureScrollOffset\",\n        value: function measureScrollOffset(from) {\n          /** @type {?} */\n          var LEFT = 'left';\n          /** @type {?} */\n\n          var RIGHT = 'right';\n          /** @type {?} */\n\n          var el = this.elementRef.nativeElement;\n\n          if (from == 'top') {\n            return el.scrollTop;\n          }\n\n          if (from == 'bottom') {\n            return el.scrollHeight - el.clientHeight - el.scrollTop;\n          } // Rewrite start & end as left or right offsets.\n\n          /** @type {?} */\n\n\n          var isRtl = this.dir && this.dir.value == 'rtl';\n\n          if (from == 'start') {\n            from = isRtl ? RIGHT : LEFT;\n          } else if (from == 'end') {\n            from = isRtl ? LEFT : RIGHT;\n          }\n\n          if (isRtl && Object(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_4__[\"getRtlScrollAxisType\"])() == _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_4__[\"RtlScrollAxisType\"].INVERTED) {\n            // For INVERTED, scrollLeft is (scrollWidth - clientWidth) when scrolled all the way left and\n            // 0 when scrolled all the way right.\n            if (from == LEFT) {\n              return el.scrollWidth - el.clientWidth - el.scrollLeft;\n            } else {\n              return el.scrollLeft;\n            }\n          } else if (isRtl && Object(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_4__[\"getRtlScrollAxisType\"])() == _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_4__[\"RtlScrollAxisType\"].NEGATED) {\n            // For NEGATED, scrollLeft is -(scrollWidth - clientWidth) when scrolled all the way left and\n            // 0 when scrolled all the way right.\n            if (from == LEFT) {\n              return el.scrollLeft + el.scrollWidth - el.clientWidth;\n            } else {\n              return -el.scrollLeft;\n            }\n          } else {\n            // For NORMAL, as well as non-RTL contexts, scrollLeft is 0 when scrolled all the way left and\n            // (scrollWidth - clientWidth) when scrolled all the way right.\n            if (from == LEFT) {\n              return el.scrollLeft;\n            } else {\n              return el.scrollWidth - el.clientWidth - el.scrollLeft;\n            }\n          }\n        }\n      }]);\n\n      return CdkScrollable;\n    }();\n\n    CdkScrollable.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: '[cdk-scrollable], [cdkScrollable]'\n      }]\n    }];\n    /** @nocollapse */\n\n    CdkScrollable.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"]\n      }, {\n        type: ScrollDispatcher\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgZone\"]\n      }, {\n        type: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_5__[\"Directionality\"],\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }]\n      }];\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Checks if the given ranges are equal.\n     * @param {?} r1\n     * @param {?} r2\n     * @return {?}\n     */\n\n\n    function rangesEqual(r1, r2) {\n      return r1.start == r2.start && r1.end == r2.end;\n    }\n    /**\n     * Scheduler to be used for scroll events. Needs to fall back to\n     * something that doesn't rely on requestAnimationFrame on environments\n     * that don't support it (e.g. server-side rendering).\n     * @type {?}\n     */\n\n\n    var SCROLL_SCHEDULER = typeof requestAnimationFrame !== 'undefined' ? rxjs__WEBPACK_IMPORTED_MODULE_2__[\"animationFrameScheduler\"] : rxjs__WEBPACK_IMPORTED_MODULE_2__[\"asapScheduler\"];\n    /**\n     * A viewport that virtualizes its scrolling with the help of `CdkVirtualForOf`.\n     */\n\n    var CdkVirtualScrollViewport =\n    /*#__PURE__*/\n    function (_CdkScrollable) {\n      _inherits(CdkVirtualScrollViewport, _CdkScrollable);\n\n      /**\n       * @param {?} elementRef\n       * @param {?} _changeDetectorRef\n       * @param {?} ngZone\n       * @param {?} _scrollStrategy\n       * @param {?} dir\n       * @param {?} scrollDispatcher\n       */\n      function CdkVirtualScrollViewport(elementRef, _changeDetectorRef, ngZone, _scrollStrategy, dir, scrollDispatcher) {\n        var _this109;\n\n        _classCallCheck(this, CdkVirtualScrollViewport);\n\n        _this109 = _possibleConstructorReturn(this, _getPrototypeOf(CdkVirtualScrollViewport).call(this, elementRef, scrollDispatcher, ngZone, dir));\n        _this109.elementRef = elementRef;\n        _this109._changeDetectorRef = _changeDetectorRef;\n        _this109._scrollStrategy = _scrollStrategy;\n        /**\n         * Emits when the viewport is detached from a CdkVirtualForOf.\n         */\n\n        _this109._detachedSubject = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Subject\"]();\n        /**\n         * Emits when the rendered range changes.\n         */\n\n        _this109._renderedRangeSubject = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Subject\"]();\n        _this109._orientation = 'vertical'; // Note: we don't use the typical EventEmitter here because we need to subscribe to the scroll\n        // strategy lazily (i.e. only if the user is actually listening to the events). We do this because\n        // depending on how the strategy calculates the scrolled index, it may come at a cost to\n        // performance.\n\n        /**\n         * Emits when the index of the first element visible in the viewport changes.\n         */\n\n        _this109.scrolledIndexChange = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Observable\"](\n        /**\n        * @param {?} observer\n        * @return {?}\n        */\n        function (observer) {\n          return _this109._scrollStrategy.scrolledIndexChange.subscribe(\n          /**\n          * @param {?} index\n          * @return {?}\n          */\n          function (index) {\n            return Promise.resolve().then(\n            /**\n            * @return {?}\n            */\n            function () {\n              return _this109.ngZone.run(\n              /**\n              * @return {?}\n              */\n              function () {\n                return observer.next(index);\n              });\n            });\n          });\n        });\n        /**\n         * A stream that emits whenever the rendered range changes.\n         */\n\n        _this109.renderedRangeStream = _this109._renderedRangeSubject.asObservable();\n        /**\n         * The total size of all content (in pixels), including content that is not currently rendered.\n         */\n\n        _this109._totalContentSize = 0;\n        /**\n         * A string representing the `style.width` property value to be used for the spacer element.\n         */\n\n        _this109._totalContentWidth = '';\n        /**\n         * A string representing the `style.height` property value to be used for the spacer element.\n         */\n\n        _this109._totalContentHeight = '';\n        /**\n         * The currently rendered range of indices.\n         */\n\n        _this109._renderedRange = {\n          start: 0,\n          end: 0\n        };\n        /**\n         * The length of the data bound to this viewport (in number of items).\n         */\n\n        _this109._dataLength = 0;\n        /**\n         * The size of the viewport (in pixels).\n         */\n\n        _this109._viewportSize = 0;\n        /**\n         * The last rendered content offset that was set.\n         */\n\n        _this109._renderedContentOffset = 0;\n        /**\n         * Whether the last rendered content offset was to the end of the content (and therefore needs to\n         * be rewritten as an offset to the start of the content).\n         */\n\n        _this109._renderedContentOffsetNeedsRewrite = false;\n        /**\n         * Whether there is a pending change detection cycle.\n         */\n\n        _this109._isChangeDetectionPending = false;\n        /**\n         * A list of functions to run after the next change detection cycle.\n         */\n\n        _this109._runAfterChangeDetection = [];\n\n        if (!_scrollStrategy) {\n          throw Error('Error: cdk-virtual-scroll-viewport requires the \"itemSize\" property to be set.');\n        }\n\n        return _this109;\n      }\n      /**\n       * The direction the viewport scrolls.\n       * @return {?}\n       */\n\n\n      _createClass2(CdkVirtualScrollViewport, [{\n        key: \"ngOnInit\",\n\n        /**\n         * @return {?}\n         */\n        value: function ngOnInit() {\n          var _this110 = this;\n\n          _get(_getPrototypeOf(CdkVirtualScrollViewport.prototype), \"ngOnInit\", this).call(this); // It's still too early to measure the viewport at this point. Deferring with a promise allows\n          // the Viewport to be rendered with the correct size before we measure. We run this outside the\n          // zone to avoid causing more change detection cycles. We handle the change detection loop\n          // ourselves instead.\n\n\n          this.ngZone.runOutsideAngular(\n          /**\n          * @return {?}\n          */\n          function () {\n            return Promise.resolve().then(\n            /**\n            * @return {?}\n            */\n            function () {\n              _this110._measureViewportSize();\n\n              _this110._scrollStrategy.attach(_this110);\n\n              _this110.elementScrolled().pipe( // Start off with a fake scroll event so we properly detect our initial position.\n              Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"startWith\"])(\n              /** @type {?} */\n              null), // Collect multiple events into one until the next animation frame. This way if\n              // there are multiple scroll events in the same frame we only need to recheck\n              // our layout once.\n              Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"auditTime\"])(0, SCROLL_SCHEDULER)).subscribe(\n              /**\n              * @return {?}\n              */\n              function () {\n                return _this110._scrollStrategy.onContentScrolled();\n              });\n\n              _this110._markChangeDetectionNeeded();\n            });\n          });\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          this.detach();\n\n          this._scrollStrategy.detach(); // Complete all subjects\n\n\n          this._renderedRangeSubject.complete();\n\n          this._detachedSubject.complete();\n\n          _get(_getPrototypeOf(CdkVirtualScrollViewport.prototype), \"ngOnDestroy\", this).call(this);\n        }\n        /**\n         * Attaches a `CdkVirtualForOf` to this viewport.\n         * @param {?} forOf\n         * @return {?}\n         */\n\n      }, {\n        key: \"attach\",\n        value: function attach(forOf) {\n          var _this111 = this;\n\n          if (this._forOf) {\n            throw Error('CdkVirtualScrollViewport is already attached.');\n          } // Subscribe to the data stream of the CdkVirtualForOf to keep track of when the data length\n          // changes. Run outside the zone to avoid triggering change detection, since we're managing the\n          // change detection loop ourselves.\n\n\n          this.ngZone.runOutsideAngular(\n          /**\n          * @return {?}\n          */\n          function () {\n            _this111._forOf = forOf;\n\n            _this111._forOf.dataStream.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"takeUntil\"])(_this111._detachedSubject)).subscribe(\n            /**\n            * @param {?} data\n            * @return {?}\n            */\n            function (data) {\n              /** @type {?} */\n              var newLength = data.length;\n\n              if (newLength !== _this111._dataLength) {\n                _this111._dataLength = newLength;\n\n                _this111._scrollStrategy.onDataLengthChanged();\n              }\n\n              _this111._doChangeDetection();\n            });\n          });\n        }\n        /**\n         * Detaches the current `CdkVirtualForOf`.\n         * @return {?}\n         */\n\n      }, {\n        key: \"detach\",\n        value: function detach() {\n          this._forOf = null;\n\n          this._detachedSubject.next();\n        }\n        /**\n         * Gets the length of the data bound to this viewport (in number of items).\n         * @return {?}\n         */\n\n      }, {\n        key: \"getDataLength\",\n        value: function getDataLength() {\n          return this._dataLength;\n        }\n        /**\n         * Gets the size of the viewport (in pixels).\n         * @return {?}\n         */\n\n      }, {\n        key: \"getViewportSize\",\n        value: function getViewportSize() {\n          return this._viewportSize;\n        } // TODO(mmalerba): This is technically out of sync with what's really rendered until a render\n        // cycle happens. I'm being careful to only call it after the render cycle is complete and before\n        // setting it to something else, but its error prone and should probably be split into\n        // `pendingRange` and `renderedRange`, the latter reflecting whats actually in the DOM.\n\n        /**\n         * Get the current rendered range of items.\n         * @return {?}\n         */\n\n      }, {\n        key: \"getRenderedRange\",\n        value: function getRenderedRange() {\n          return this._renderedRange;\n        }\n        /**\n         * Sets the total size of all content (in pixels), including content that is not currently\n         * rendered.\n         * @param {?} size\n         * @return {?}\n         */\n\n      }, {\n        key: \"setTotalContentSize\",\n        value: function setTotalContentSize(size) {\n          if (this._totalContentSize !== size) {\n            this._totalContentSize = size;\n\n            this._calculateSpacerSize();\n\n            this._markChangeDetectionNeeded();\n          }\n        }\n        /**\n         * Sets the currently rendered range of indices.\n         * @param {?} range\n         * @return {?}\n         */\n\n      }, {\n        key: \"setRenderedRange\",\n        value: function setRenderedRange(range) {\n          var _this112 = this;\n\n          if (!rangesEqual(this._renderedRange, range)) {\n            this._renderedRangeSubject.next(this._renderedRange = range);\n\n            this._markChangeDetectionNeeded(\n            /**\n            * @return {?}\n            */\n            function () {\n              return _this112._scrollStrategy.onContentRendered();\n            });\n          }\n        }\n        /**\n         * Gets the offset from the start of the viewport to the start of the rendered data (in pixels).\n         * @return {?}\n         */\n\n      }, {\n        key: \"getOffsetToRenderedContentStart\",\n        value: function getOffsetToRenderedContentStart() {\n          return this._renderedContentOffsetNeedsRewrite ? null : this._renderedContentOffset;\n        }\n        /**\n         * Sets the offset from the start of the viewport to either the start or end of the rendered data\n         * (in pixels).\n         * @param {?} offset\n         * @param {?=} to\n         * @return {?}\n         */\n\n      }, {\n        key: \"setRenderedContentOffset\",\n        value: function setRenderedContentOffset(offset) {\n          var _this113 = this;\n\n          var to = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'to-start';\n          // For a horizontal viewport in a right-to-left language we need to translate along the x-axis\n          // in the negative direction.\n\n          /** @type {?} */\n          var isRtl = this.dir && this.dir.value == 'rtl';\n          /** @type {?} */\n\n          var isHorizontal = this.orientation == 'horizontal';\n          /** @type {?} */\n\n          var axis = isHorizontal ? 'X' : 'Y';\n          /** @type {?} */\n\n          var axisDirection = isHorizontal && isRtl ? -1 : 1;\n          /** @type {?} */\n\n          var transform = \"translate\".concat(axis, \"(\").concat(Number(axisDirection * offset), \"px)\");\n          this._renderedContentOffset = offset;\n\n          if (to === 'to-end') {\n            transform += \" translate\".concat(axis, \"(-100%)\"); // The viewport should rewrite this as a `to-start` offset on the next render cycle. Otherwise\n            // elements will appear to expand in the wrong direction (e.g. `mat-expansion-panel` would\n            // expand upward).\n\n            this._renderedContentOffsetNeedsRewrite = true;\n          }\n\n          if (this._renderedContentTransform != transform) {\n            // We know this value is safe because we parse `offset` with `Number()` before passing it\n            // into the string.\n            this._renderedContentTransform = transform;\n\n            this._markChangeDetectionNeeded(\n            /**\n            * @return {?}\n            */\n            function () {\n              if (_this113._renderedContentOffsetNeedsRewrite) {\n                _this113._renderedContentOffset -= _this113.measureRenderedContentSize();\n                _this113._renderedContentOffsetNeedsRewrite = false;\n\n                _this113.setRenderedContentOffset(_this113._renderedContentOffset);\n              } else {\n                _this113._scrollStrategy.onRenderedOffsetChanged();\n              }\n            });\n          }\n        }\n        /**\n         * Scrolls to the given offset from the start of the viewport. Please note that this is not always\n         * the same as setting `scrollTop` or `scrollLeft`. In a horizontal viewport with right-to-left\n         * direction, this would be the equivalent of setting a fictional `scrollRight` property.\n         * @param {?} offset The offset to scroll to.\n         * @param {?=} behavior The ScrollBehavior to use when scrolling. Default is behavior is `auto`.\n         * @return {?}\n         */\n\n      }, {\n        key: \"scrollToOffset\",\n        value: function scrollToOffset(offset) {\n          var behavior = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'auto';\n\n          /** @type {?} */\n          var options = {\n            behavior: behavior\n          };\n\n          if (this.orientation === 'horizontal') {\n            options.start = offset;\n          } else {\n            options.top = offset;\n          }\n\n          this.scrollTo(options);\n        }\n        /**\n         * Scrolls to the offset for the given index.\n         * @param {?} index The index of the element to scroll to.\n         * @param {?=} behavior The ScrollBehavior to use when scrolling. Default is behavior is `auto`.\n         * @return {?}\n         */\n\n      }, {\n        key: \"scrollToIndex\",\n        value: function scrollToIndex(index) {\n          var behavior = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'auto';\n\n          this._scrollStrategy.scrollToIndex(index, behavior);\n        }\n        /**\n         * Gets the current scroll offset from the start of the viewport (in pixels).\n         * @param {?=} from The edge to measure the offset from. Defaults to 'top' in vertical mode and 'start'\n         *     in horizontal mode.\n         * @return {?}\n         */\n\n      }, {\n        key: \"measureScrollOffset\",\n        value: function measureScrollOffset(from) {\n          return _get(_getPrototypeOf(CdkVirtualScrollViewport.prototype), \"measureScrollOffset\", this).call(this, from ? from : this.orientation === 'horizontal' ? 'start' : 'top');\n        }\n        /**\n         * Measure the combined size of all of the rendered items.\n         * @return {?}\n         */\n\n      }, {\n        key: \"measureRenderedContentSize\",\n        value: function measureRenderedContentSize() {\n          /** @type {?} */\n          var contentEl = this._contentWrapper.nativeElement;\n          return this.orientation === 'horizontal' ? contentEl.offsetWidth : contentEl.offsetHeight;\n        }\n        /**\n         * Measure the total combined size of the given range. Throws if the range includes items that are\n         * not rendered.\n         * @param {?} range\n         * @return {?}\n         */\n\n      }, {\n        key: \"measureRangeSize\",\n        value: function measureRangeSize(range) {\n          if (!this._forOf) {\n            return 0;\n          }\n\n          return this._forOf.measureRangeSize(range, this.orientation);\n        }\n        /**\n         * Update the viewport dimensions and re-render.\n         * @return {?}\n         */\n\n      }, {\n        key: \"checkViewportSize\",\n        value: function checkViewportSize() {\n          // TODO: Cleanup later when add logic for handling content resize\n          this._measureViewportSize();\n\n          this._scrollStrategy.onDataLengthChanged();\n        }\n        /**\n         * Measure the viewport size.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_measureViewportSize\",\n        value: function _measureViewportSize() {\n          /** @type {?} */\n          var viewportEl = this.elementRef.nativeElement;\n          this._viewportSize = this.orientation === 'horizontal' ? viewportEl.clientWidth : viewportEl.clientHeight;\n        }\n        /**\n         * Queue up change detection to run.\n         * @private\n         * @param {?=} runAfter\n         * @return {?}\n         */\n\n      }, {\n        key: \"_markChangeDetectionNeeded\",\n        value: function _markChangeDetectionNeeded(runAfter) {\n          var _this114 = this;\n\n          if (runAfter) {\n            this._runAfterChangeDetection.push(runAfter);\n          } // Use a Promise to batch together calls to `_doChangeDetection`. This way if we set a bunch of\n          // properties sequentially we only have to run `_doChangeDetection` once at the end.\n\n\n          if (!this._isChangeDetectionPending) {\n            this._isChangeDetectionPending = true;\n            this.ngZone.runOutsideAngular(\n            /**\n            * @return {?}\n            */\n            function () {\n              return Promise.resolve().then(\n              /**\n              * @return {?}\n              */\n              function () {\n                _this114._doChangeDetection();\n              });\n            });\n          }\n        }\n        /**\n         * Run change detection.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_doChangeDetection\",\n        value: function _doChangeDetection() {\n          var _this115 = this;\n\n          this._isChangeDetectionPending = false; // Apply changes to Angular bindings. Note: We must call `markForCheck` to run change detection\n          // from the root, since the repeated items are content projected in. Calling `detectChanges`\n          // instead does not properly check the projected content.\n\n          this.ngZone.run(\n          /**\n          * @return {?}\n          */\n          function () {\n            return _this115._changeDetectorRef.markForCheck();\n          }); // Apply the content transform. The transform can't be set via an Angular binding because\n          // bypassSecurityTrustStyle is banned in Google. However the value is safe, it's composed of\n          // string literals, a variable that can only be 'X' or 'Y', and user input that is run through\n          // the `Number` function first to coerce it to a numeric value.\n\n          this._contentWrapper.nativeElement.style.transform = this._renderedContentTransform;\n          /** @type {?} */\n\n          var runAfterChangeDetection = this._runAfterChangeDetection;\n          this._runAfterChangeDetection = [];\n          var _iteratorNormalCompletion5 = true;\n          var _didIteratorError5 = false;\n          var _iteratorError5 = undefined;\n\n          try {\n            for (var _iterator5 = runAfterChangeDetection[Symbol.iterator](), _step5; !(_iteratorNormalCompletion5 = (_step5 = _iterator5.next()).done); _iteratorNormalCompletion5 = true) {\n              var fn = _step5.value;\n              fn();\n            }\n          } catch (err) {\n            _didIteratorError5 = true;\n            _iteratorError5 = err;\n          } finally {\n            try {\n              if (!_iteratorNormalCompletion5 && _iterator5.return != null) {\n                _iterator5.return();\n              }\n            } finally {\n              if (_didIteratorError5) {\n                throw _iteratorError5;\n              }\n            }\n          }\n        }\n        /**\n         * Calculates the `style.width` and `style.height` for the spacer element.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_calculateSpacerSize\",\n        value: function _calculateSpacerSize() {\n          this._totalContentHeight = this.orientation === 'horizontal' ? '' : \"\".concat(this._totalContentSize, \"px\");\n          this._totalContentWidth = this.orientation === 'horizontal' ? \"\".concat(this._totalContentSize, \"px\") : '';\n        }\n      }, {\n        key: \"orientation\",\n        get: function get() {\n          return this._orientation;\n        }\n        /**\n         * @param {?} orientation\n         * @return {?}\n         */\n        ,\n        set: function set(orientation) {\n          if (this._orientation !== orientation) {\n            this._orientation = orientation;\n\n            this._calculateSpacerSize();\n          }\n        }\n      }]);\n\n      return CdkVirtualScrollViewport;\n    }(CdkScrollable);\n\n    CdkVirtualScrollViewport.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Component\"],\n      args: [{\n        selector: 'cdk-virtual-scroll-viewport',\n        template: \"<div #contentWrapper class=\\\"cdk-virtual-scroll-content-wrapper\\\"><ng-content></ng-content></div><div class=\\\"cdk-virtual-scroll-spacer\\\" [style.width]=\\\"_totalContentWidth\\\" [style.height]=\\\"_totalContentHeight\\\"></div>\",\n        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}\"],\n        host: {\n          'class': 'cdk-virtual-scroll-viewport',\n          '[class.cdk-virtual-scroll-orientation-horizontal]': 'orientation === \"horizontal\"',\n          '[class.cdk-virtual-scroll-orientation-vertical]': 'orientation !== \"horizontal\"'\n        },\n        encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ViewEncapsulation\"].None,\n        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ChangeDetectionStrategy\"].OnPush,\n        providers: [{\n          provide: CdkScrollable,\n          useExisting: CdkVirtualScrollViewport\n        }]\n      }]\n    }];\n    /** @nocollapse */\n\n    CdkVirtualScrollViewport.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ChangeDetectorRef\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgZone\"]\n      }, {\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [VIRTUAL_SCROLL_STRATEGY]\n        }]\n      }, {\n        type: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_5__[\"Directionality\"],\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }]\n      }, {\n        type: ScrollDispatcher\n      }];\n    };\n\n    CdkVirtualScrollViewport.propDecorators = {\n      orientation: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"]\n      }],\n      scrolledIndexChange: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Output\"]\n      }],\n      _contentWrapper: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ViewChild\"],\n        args: ['contentWrapper', {\n          static: true\n        }]\n      }]\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Helper to extract size from a DOM Node.\n     * @param {?} orientation\n     * @param {?} node\n     * @return {?}\n     */\n\n    function getSize(orientation, node) {\n      /** @type {?} */\n      var el =\n      /** @type {?} */\n      node;\n\n      if (!el.getBoundingClientRect) {\n        return 0;\n      }\n      /** @type {?} */\n\n\n      var rect = el.getBoundingClientRect();\n      return orientation == 'horizontal' ? rect.width : rect.height;\n    }\n    /**\n     * A directive similar to `ngForOf` to be used for rendering data inside a virtual scrolling\n     * container.\n     * @template T\n     */\n\n\n    var CdkVirtualForOf =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _viewContainerRef\n       * @param {?} _template\n       * @param {?} _differs\n       * @param {?} _viewport\n       * @param {?} ngZone\n       */\n      function CdkVirtualForOf(_viewContainerRef, _template, _differs, _viewport, ngZone) {\n        var _this116 = this;\n\n        _classCallCheck(this, CdkVirtualForOf);\n\n        this._viewContainerRef = _viewContainerRef;\n        this._template = _template;\n        this._differs = _differs;\n        this._viewport = _viewport;\n        /**\n         * Emits when the rendered view of the data changes.\n         */\n\n        this.viewChange = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Subject\"]();\n        /**\n         * Subject that emits when a new DataSource instance is given.\n         */\n\n        this._dataSourceChanges = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Subject\"]();\n        /**\n         * The size of the cache used to store templates that are not being used for re-use later.\n         * Setting the cache size to `0` will disable caching. Defaults to 20 templates.\n         */\n\n        this.cdkVirtualForTemplateCacheSize = 20;\n        /**\n         * Emits whenever the data in the current DataSource changes.\n         */\n\n        this.dataStream = this._dataSourceChanges.pipe( // Start off with null `DataSource`.\n        Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"startWith\"])(\n        /** @type {?} */\n        null), // Bundle up the previous and current data sources so we can work with both.\n        Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"pairwise\"])(), // Use `_changeDataSource` to disconnect from the previous data source and connect to the\n        // new one, passing back a stream of data changes which we run through `switchMap` to give\n        // us a data stream that emits the latest data from whatever the current `DataSource` is.\n        Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"switchMap\"])(\n        /**\n        * @param {?} __0\n        * @return {?}\n        */\n        function (_ref2) {\n          var _ref3 = _slicedToArray(_ref2, 2),\n              prev = _ref3[0],\n              cur = _ref3[1];\n\n          return _this116._changeDataSource(prev, cur);\n        }), // Replay the last emitted data when someone subscribes.\n        Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"shareReplay\"])(1));\n        /**\n         * The differ used to calculate changes to the data.\n         */\n\n        this._differ = null;\n        /**\n         * The template cache used to hold on ot template instancess that have been stamped out, but don't\n         * currently need to be rendered. These instances will be reused in the future rather than\n         * stamping out brand new ones.\n         */\n\n        this._templateCache = [];\n        /**\n         * Whether the rendered data should be updated during the next ngDoCheck cycle.\n         */\n\n        this._needsUpdate = false;\n        this._destroyed = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Subject\"]();\n        this.dataStream.subscribe(\n        /**\n        * @param {?} data\n        * @return {?}\n        */\n        function (data) {\n          _this116._data = data;\n\n          _this116._onRenderedDataChange();\n        });\n\n        this._viewport.renderedRangeStream.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"takeUntil\"])(this._destroyed)).subscribe(\n        /**\n        * @param {?} range\n        * @return {?}\n        */\n        function (range) {\n          _this116._renderedRange = range;\n          ngZone.run(\n          /**\n          * @return {?}\n          */\n          function () {\n            return _this116.viewChange.next(_this116._renderedRange);\n          });\n\n          _this116._onRenderedDataChange();\n        });\n\n        this._viewport.attach(this);\n      }\n      /**\n       * The DataSource to display.\n       * @return {?}\n       */\n\n\n      _createClass2(CdkVirtualForOf, [{\n        key: \"measureRangeSize\",\n\n        /**\n         * Measures the combined size (width for horizontal orientation, height for vertical) of all items\n         * in the specified range. Throws an error if the range includes items that are not currently\n         * rendered.\n         * @param {?} range\n         * @param {?} orientation\n         * @return {?}\n         */\n        value: function measureRangeSize(range, orientation) {\n          if (range.start >= range.end) {\n            return 0;\n          }\n\n          if (range.start < this._renderedRange.start || range.end > this._renderedRange.end) {\n            throw Error(\"Error: attempted to measure an item that isn't rendered.\");\n          } // The index into the list of rendered views for the first item in the range.\n\n          /** @type {?} */\n\n\n          var renderedStartIndex = range.start - this._renderedRange.start; // The length of the range we're measuring.\n\n          /** @type {?} */\n\n          var rangeLen = range.end - range.start; // Loop over all root nodes for all items in the range and sum up their size.\n\n          /** @type {?} */\n\n          var totalSize = 0;\n          /** @type {?} */\n\n          var i = rangeLen;\n\n          while (i--) {\n            /** @type {?} */\n            var view =\n            /** @type {?} */\n            this._viewContainerRef.get(i + renderedStartIndex);\n            /** @type {?} */\n\n\n            var j = view ? view.rootNodes.length : 0;\n\n            while (j--) {\n              totalSize += getSize(orientation,\n              /** @type {?} */\n              view.rootNodes[j]);\n            }\n          }\n\n          return totalSize;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngDoCheck\",\n        value: function ngDoCheck() {\n          if (this._differ && this._needsUpdate) {\n            // TODO(mmalerba): We should differentiate needs update due to scrolling and a new portion of\n            // this list being rendered (can use simpler algorithm) vs needs update due to data actually\n            // changing (need to do this diff).\n\n            /** @type {?} */\n            var changes = this._differ.diff(this._renderedItems);\n\n            if (!changes) {\n              this._updateContext();\n            } else {\n              this._applyChanges(changes);\n            }\n\n            this._needsUpdate = false;\n          }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          this._viewport.detach();\n\n          this._dataSourceChanges.next();\n\n          this._dataSourceChanges.complete();\n\n          this.viewChange.complete();\n\n          this._destroyed.next();\n\n          this._destroyed.complete();\n\n          var _iteratorNormalCompletion6 = true;\n          var _didIteratorError6 = false;\n          var _iteratorError6 = undefined;\n\n          try {\n            for (var _iterator6 = this._templateCache[Symbol.iterator](), _step6; !(_iteratorNormalCompletion6 = (_step6 = _iterator6.next()).done); _iteratorNormalCompletion6 = true) {\n              var view = _step6.value;\n              view.destroy();\n            }\n          } catch (err) {\n            _didIteratorError6 = true;\n            _iteratorError6 = err;\n          } finally {\n            try {\n              if (!_iteratorNormalCompletion6 && _iterator6.return != null) {\n                _iterator6.return();\n              }\n            } finally {\n              if (_didIteratorError6) {\n                throw _iteratorError6;\n              }\n            }\n          }\n        }\n        /**\n         * React to scroll state changes in the viewport.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_onRenderedDataChange\",\n        value: function _onRenderedDataChange() {\n          if (!this._renderedRange) {\n            return;\n          }\n\n          this._renderedItems = this._data.slice(this._renderedRange.start, this._renderedRange.end);\n\n          if (!this._differ) {\n            this._differ = this._differs.find(this._renderedItems).create(this.cdkVirtualForTrackBy);\n          }\n\n          this._needsUpdate = true;\n        }\n        /**\n         * Swap out one `DataSource` for another.\n         * @private\n         * @param {?} oldDs\n         * @param {?} newDs\n         * @return {?}\n         */\n\n      }, {\n        key: \"_changeDataSource\",\n        value: function _changeDataSource(oldDs, newDs) {\n          if (oldDs) {\n            oldDs.disconnect(this);\n          }\n\n          this._needsUpdate = true;\n          return newDs ? newDs.connect(this) : Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])();\n        }\n        /**\n         * Update the `CdkVirtualForOfContext` for all views.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_updateContext\",\n        value: function _updateContext() {\n          /** @type {?} */\n          var count = this._data.length;\n          /** @type {?} */\n\n          var i = this._viewContainerRef.length;\n\n          while (i--) {\n            /** @type {?} */\n            var view =\n            /** @type {?} */\n            this._viewContainerRef.get(i);\n\n            view.context.index = this._renderedRange.start + i;\n            view.context.count = count;\n\n            this._updateComputedContextProperties(view.context);\n\n            view.detectChanges();\n          }\n        }\n        /**\n         * Apply changes to the DOM.\n         * @private\n         * @param {?} changes\n         * @return {?}\n         */\n\n      }, {\n        key: \"_applyChanges\",\n        value: function _applyChanges(changes) {\n          var _this117 = this;\n\n          // Rearrange the views to put them in the right location.\n          changes.forEachOperation(\n          /**\n          * @param {?} record\n          * @param {?} adjustedPreviousIndex\n          * @param {?} currentIndex\n          * @return {?}\n          */\n          function (record, adjustedPreviousIndex, currentIndex) {\n            if (record.previousIndex == null) {\n              // Item added.\n              // Item added.\n\n              /** @type {?} */\n              var view = _this117._insertViewForNewItem(\n              /** @type {?} */\n              currentIndex);\n\n              view.context.$implicit = record.item;\n            } else if (currentIndex == null) {\n              // Item removed.\n              _this117._cacheView(_this117._detachView(\n              /** @type {?} */\n              adjustedPreviousIndex));\n            } else {\n              // Item moved.\n              // Item moved.\n\n              /** @type {?} */\n              var _view2 =\n              /** @type {?} */\n              _this117._viewContainerRef.get(\n              /** @type {?} */\n              adjustedPreviousIndex);\n\n              _this117._viewContainerRef.move(_view2, currentIndex);\n\n              _view2.context.$implicit = record.item;\n            }\n          }); // Update $implicit for any items that had an identity change.\n\n          changes.forEachIdentityChange(\n          /**\n          * @param {?} record\n          * @return {?}\n          */\n          function (record) {\n            /** @type {?} */\n            var view =\n            /** @type {?} */\n            _this117._viewContainerRef.get(\n            /** @type {?} */\n            record.currentIndex);\n\n            view.context.$implicit = record.item;\n          }); // Update the context variables on all items.\n\n          /** @type {?} */\n\n          var count = this._data.length;\n          /** @type {?} */\n\n          var i = this._viewContainerRef.length;\n\n          while (i--) {\n            /** @type {?} */\n            var view =\n            /** @type {?} */\n            this._viewContainerRef.get(i);\n\n            view.context.index = this._renderedRange.start + i;\n            view.context.count = count;\n\n            this._updateComputedContextProperties(view.context);\n          }\n        }\n        /**\n         * Cache the given detached view.\n         * @private\n         * @param {?} view\n         * @return {?}\n         */\n\n      }, {\n        key: \"_cacheView\",\n        value: function _cacheView(view) {\n          if (this._templateCache.length < this.cdkVirtualForTemplateCacheSize) {\n            this._templateCache.push(view);\n          } else {\n            /** @type {?} */\n            var index = this._viewContainerRef.indexOf(view); // It's very unlikely that the index will ever be -1, but just in case,\n            // destroy the view on its own, otherwise destroy it through the\n            // container to ensure that all the references are removed.\n\n\n            if (index === -1) {\n              view.destroy();\n            } else {\n              this._viewContainerRef.remove(index);\n            }\n          }\n        }\n        /**\n         * Inserts a view for a new item, either from the cache or by creating a new one.\n         * @private\n         * @param {?} index\n         * @return {?}\n         */\n\n      }, {\n        key: \"_insertViewForNewItem\",\n        value: function _insertViewForNewItem(index) {\n          return this._insertViewFromCache(index) || this._createEmbeddedViewAt(index);\n        }\n        /**\n         * Update the computed properties on the `CdkVirtualForOfContext`.\n         * @private\n         * @param {?} context\n         * @return {?}\n         */\n\n      }, {\n        key: \"_updateComputedContextProperties\",\n        value: function _updateComputedContextProperties(context) {\n          context.first = context.index === 0;\n          context.last = context.index === context.count - 1;\n          context.even = context.index % 2 === 0;\n          context.odd = !context.even;\n        }\n        /**\n         * Creates a new embedded view and moves it to the given index\n         * @private\n         * @param {?} index\n         * @return {?}\n         */\n\n      }, {\n        key: \"_createEmbeddedViewAt\",\n        value: function _createEmbeddedViewAt(index) {\n          // Note that it's important that we insert the item directly at the proper index,\n          // rather than inserting it and the moving it in place, because if there's a directive\n          // on the same node that injects the `ViewContainerRef`, Angular will insert another\n          // comment node which can throw off the move when it's being repeated for all items.\n          return this._viewContainerRef.createEmbeddedView(this._template, {\n            $implicit:\n            /** @type {?} */\n            null,\n            cdkVirtualForOf: this._cdkVirtualForOf,\n            index: -1,\n            count: -1,\n            first: false,\n            last: false,\n            odd: false,\n            even: false\n          }, index);\n        }\n        /**\n         * Inserts a recycled view from the cache at the given index.\n         * @private\n         * @param {?} index\n         * @return {?}\n         */\n\n      }, {\n        key: \"_insertViewFromCache\",\n        value: function _insertViewFromCache(index) {\n          /** @type {?} */\n          var cachedView = this._templateCache.pop();\n\n          if (cachedView) {\n            this._viewContainerRef.insert(cachedView, index);\n          }\n\n          return cachedView || null;\n        }\n        /**\n         * Detaches the embedded view at the given index.\n         * @private\n         * @param {?} index\n         * @return {?}\n         */\n\n      }, {\n        key: \"_detachView\",\n        value: function _detachView(index) {\n          return (\n            /** @type {?} */\n            this._viewContainerRef.detach(index)\n          );\n        }\n      }, {\n        key: \"cdkVirtualForOf\",\n        get: function get() {\n          return this._cdkVirtualForOf;\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n        ,\n        set: function set(value) {\n          this._cdkVirtualForOf = value;\n          /** @type {?} */\n\n          var ds = Object(_angular_cdk_collections__WEBPACK_IMPORTED_MODULE_6__[\"isDataSource\"])(value) ? value : // Slice the value if its an NgIterable to ensure we're working with an array.\n          new _angular_cdk_collections__WEBPACK_IMPORTED_MODULE_6__[\"ArrayDataSource\"](value instanceof rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Observable\"] ? value : Array.prototype.slice.call(value || []));\n\n          this._dataSourceChanges.next(ds);\n        }\n        /**\n         * The `TrackByFunction` to use for tracking changes. The `TrackByFunction` takes the index and\n         * the item and produces a value to be used as the item's identity when tracking changes.\n         * @return {?}\n         */\n\n      }, {\n        key: \"cdkVirtualForTrackBy\",\n        get: function get() {\n          return this._cdkVirtualForTrackBy;\n        }\n        /**\n         * @param {?} fn\n         * @return {?}\n         */\n        ,\n        set: function set(fn) {\n          var _this118 = this;\n\n          this._needsUpdate = true;\n          this._cdkVirtualForTrackBy = fn ?\n          /**\n          * @param {?} index\n          * @param {?} item\n          * @return {?}\n          */\n          function (index, item) {\n            return fn(index + (_this118._renderedRange ? _this118._renderedRange.start : 0), item);\n          } : undefined;\n        }\n        /**\n         * The template used to stamp out new elements.\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"cdkVirtualForTemplate\",\n        set: function set(value) {\n          if (value) {\n            this._needsUpdate = true;\n            this._template = value;\n          }\n        }\n      }]);\n\n      return CdkVirtualForOf;\n    }();\n\n    CdkVirtualForOf.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: '[cdkVirtualFor][cdkVirtualForOf]'\n      }]\n    }];\n    /** @nocollapse */\n\n    CdkVirtualForOf.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ViewContainerRef\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"TemplateRef\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"IterableDiffers\"]\n      }, {\n        type: CdkVirtualScrollViewport,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"SkipSelf\"]\n        }]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgZone\"]\n      }];\n    };\n\n    CdkVirtualForOf.propDecorators = {\n      cdkVirtualForOf: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"]\n      }],\n      cdkVirtualForTrackBy: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"]\n      }],\n      cdkVirtualForTemplate: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"]\n      }],\n      cdkVirtualForTemplateCacheSize: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"]\n      }]\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    var ScrollingModule = function ScrollingModule() {\n      _classCallCheck(this, ScrollingModule);\n    };\n\n    ScrollingModule.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"],\n      args: [{\n        imports: [_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_5__[\"BidiModule\"], _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_4__[\"PlatformModule\"]],\n        exports: [_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_5__[\"BidiModule\"], CdkFixedSizeVirtualScroll, CdkScrollable, CdkVirtualForOf, CdkVirtualScrollViewport],\n        declarations: [CdkFixedSizeVirtualScroll, CdkScrollable, CdkVirtualForOf, CdkVirtualScrollViewport]\n      }]\n    }];\n    /**\n     * @deprecated ScrollDispatchModule has been renamed to ScrollingModule.\n     * \\@breaking-change 8.0.0 delete this alias\n     */\n\n    var ScrollDispatchModule = function ScrollDispatchModule() {\n      _classCallCheck(this, ScrollDispatchModule);\n    };\n\n    ScrollDispatchModule.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"],\n      args: [{\n        imports: [ScrollingModule],\n        exports: [ScrollingModule]\n      }]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Time in ms to throttle the resize events by default.\n     * @type {?}\n     */\n\n    var DEFAULT_RESIZE_TIME = 20;\n    /**\n     * Simple utility for getting the bounds of the browser viewport.\n     * \\@docs-private\n     */\n\n    var ViewportRuler =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _platform\n       * @param {?} ngZone\n       */\n      function ViewportRuler(_platform, ngZone) {\n        var _this119 = this;\n\n        _classCallCheck(this, ViewportRuler);\n\n        this._platform = _platform;\n        ngZone.runOutsideAngular(\n        /**\n        * @return {?}\n        */\n        function () {\n          _this119._change = _platform.isBrowser ? Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"merge\"])(Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"fromEvent\"])(window, 'resize'), Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"fromEvent\"])(window, 'orientationchange')) : Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(); // Note that we need to do the subscription inside `runOutsideAngular`\n          // since subscribing is what causes the event listener to be added.\n\n          _this119._invalidateCache = _this119.change().subscribe(\n          /**\n          * @return {?}\n          */\n          function () {\n            return _this119._updateViewportSize();\n          });\n        });\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(ViewportRuler, [{\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          this._invalidateCache.unsubscribe();\n        }\n        /**\n         * Returns the viewport's width and height.\n         * @return {?}\n         */\n\n      }, {\n        key: \"getViewportSize\",\n        value: function getViewportSize() {\n          if (!this._viewportSize) {\n            this._updateViewportSize();\n          }\n          /** @type {?} */\n\n\n          var output = {\n            width: this._viewportSize.width,\n            height: this._viewportSize.height\n          }; // If we're not on a browser, don't cache the size since it'll be mocked out anyway.\n\n          if (!this._platform.isBrowser) {\n            this._viewportSize =\n            /** @type {?} */\n            null;\n          }\n\n          return output;\n        }\n        /**\n         * Gets a ClientRect for the viewport's bounds.\n         * @return {?}\n         */\n\n      }, {\n        key: \"getViewportRect\",\n        value: function getViewportRect() {\n          // Use the document element's bounding rect rather than the window scroll properties\n          // (e.g. pageYOffset, scrollY) due to in issue in Chrome and IE where window scroll\n          // properties and client coordinates (boundingClientRect, clientX/Y, etc.) are in different\n          // conceptual viewports. Under most circumstances these viewports are equivalent, but they\n          // can disagree when the page is pinch-zoomed (on devices that support touch).\n          // See https://bugs.chromium.org/p/chromium/issues/detail?id=489206#c4\n          // We use the documentElement instead of the body because, by default (without a css reset)\n          // browsers typically give the document body an 8px margin, which is not included in\n          // getBoundingClientRect().\n\n          /** @type {?} */\n          var scrollPosition = this.getViewportScrollPosition();\n\n          var _this$getViewportSize = this.getViewportSize(),\n              width = _this$getViewportSize.width,\n              height = _this$getViewportSize.height;\n\n          return {\n            top: scrollPosition.top,\n            left: scrollPosition.left,\n            bottom: scrollPosition.top + height,\n            right: scrollPosition.left + width,\n            height: height,\n            width: width\n          };\n        }\n        /**\n         * Gets the (top, left) scroll position of the viewport.\n         * @return {?}\n         */\n\n      }, {\n        key: \"getViewportScrollPosition\",\n        value: function getViewportScrollPosition() {\n          // While we can get a reference to the fake document\n          // during SSR, it doesn't have getBoundingClientRect.\n          if (!this._platform.isBrowser) {\n            return {\n              top: 0,\n              left: 0\n            };\n          } // The top-left-corner of the viewport is determined by the scroll position of the document\n          // body, normally just (scrollLeft, scrollTop). However, Chrome and Firefox disagree about\n          // whether `document.body` or `document.documentElement` is the scrolled element, so reading\n          // `scrollTop` and `scrollLeft` is inconsistent. However, using the bounding rect of\n          // `document.documentElement` works consistently, where the `top` and `left` values will\n          // equal negative the scroll position.\n\n          /** @type {?} */\n\n\n          var documentElement =\n          /** @type {?} */\n          document.documentElement;\n          /** @type {?} */\n\n          var documentRect = documentElement.getBoundingClientRect();\n          /** @type {?} */\n\n          var top = -documentRect.top || document.body.scrollTop || window.scrollY || documentElement.scrollTop || 0;\n          /** @type {?} */\n\n          var left = -documentRect.left || document.body.scrollLeft || window.scrollX || documentElement.scrollLeft || 0;\n          return {\n            top: top,\n            left: left\n          };\n        }\n        /**\n         * Returns a stream that emits whenever the size of the viewport changes.\n         * @param {?=} throttleTime Time in milliseconds to throttle the stream.\n         * @return {?}\n         */\n\n      }, {\n        key: \"change\",\n        value: function change() {\n          var throttleTime = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : DEFAULT_RESIZE_TIME;\n          return throttleTime > 0 ? this._change.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"auditTime\"])(throttleTime)) : this._change;\n        }\n        /**\n         * Updates the cached viewport size.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_updateViewportSize\",\n        value: function _updateViewportSize() {\n          this._viewportSize = this._platform.isBrowser ? {\n            width: window.innerWidth,\n            height: window.innerHeight\n          } : {\n            width: 0,\n            height: 0\n          };\n        }\n      }]);\n\n      return ViewportRuler;\n    }();\n\n    ViewportRuler.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    ViewportRuler.ctorParameters = function () {\n      return [{\n        type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_4__[\"Platform\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgZone\"]\n      }];\n    };\n    /** @nocollapse */\n\n\n    ViewportRuler.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({\n      factory: function ViewportRuler_Factory() {\n        return new ViewportRuler(Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_4__[\"Platform\"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgZone\"]));\n      },\n      token: ViewportRuler,\n      providedIn: \"root\"\n    });\n    /**\n     * \\@docs-private \\@deprecated \\@breaking-change 8.0.0\n     * @param {?} parentRuler\n     * @param {?} platform\n     * @param {?} ngZone\n     * @return {?}\n     */\n\n    function VIEWPORT_RULER_PROVIDER_FACTORY(parentRuler, platform, ngZone) {\n      return parentRuler || new ViewportRuler(platform, ngZone);\n    }\n    /**\n     * \\@docs-private \\@deprecated \\@breaking-change 8.0.0\n     * @type {?}\n     */\n\n\n    var VIEWPORT_RULER_PROVIDER = {\n      // If there is already a ViewportRuler available, use that. Otherwise, provide a new one.\n      provide: ViewportRuler,\n      deps: [[new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"](), new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"SkipSelf\"](), ViewportRuler], _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_4__[\"Platform\"], _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgZone\"]],\n      useFactory: VIEWPORT_RULER_PROVIDER_FACTORY\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /***/\n  },\n\n  /***/\n  \"./node_modules/@angular/common/fesm2015/common.js\":\n  /*!*********************************************************!*\\\n    !*** ./node_modules/@angular/common/fesm2015/common.js ***!\n    \\*********************************************************/\n\n  /*! exports provided: ɵangular_packages_common_common_c, ɵangular_packages_common_common_h, ɵangular_packages_common_common_g, ɵangular_packages_common_common_f, ɵangular_packages_common_common_k, ɵangular_packages_common_common_j, ɵangular_packages_common_common_i, ɵangular_packages_common_common_a, ɵangular_packages_common_common_b, ɵangular_packages_common_common_e, ɵangular_packages_common_common_d, ɵregisterLocaleData, registerLocaleData, formatDate, formatCurrency, formatNumber, formatPercent, NgLocaleLocalization, NgLocalization, Plural, NumberFormatStyle, FormStyle, TranslationWidth, FormatWidth, NumberSymbol, WeekDay, getNumberOfCurrencyDigits, getCurrencySymbol, getLocaleDayPeriods, getLocaleDayNames, getLocaleMonthNames, getLocaleId, getLocaleEraNames, getLocaleWeekEndRange, getLocaleFirstDayOfWeek, getLocaleDateFormat, getLocaleDateTimeFormat, getLocaleExtraDayPeriodRules, getLocaleExtraDayPeriods, getLocalePluralCase, getLocaleTimeFormat, getLocaleNumberSymbol, getLocaleNumberFormat, getLocaleCurrencyName, getLocaleCurrencySymbol, ɵparseCookieValue, CommonModule, DeprecatedI18NPipesModule, NgClass, NgClassBase, NgForOf, NgForOfContext, NgIf, NgIfContext, NgPlural, NgPluralCase, NgStyle, NgStyleBase, NgSwitch, NgSwitchCase, NgSwitchDefault, NgTemplateOutlet, NgComponentOutlet, DOCUMENT, AsyncPipe, DatePipe, I18nPluralPipe, I18nSelectPipe, JsonPipe, LowerCasePipe, CurrencyPipe, DecimalPipe, PercentPipe, SlicePipe, UpperCasePipe, TitleCasePipe, KeyValuePipe, DeprecatedDatePipe, DeprecatedCurrencyPipe, DeprecatedDecimalPipe, DeprecatedPercentPipe, ɵPLATFORM_BROWSER_ID, ɵPLATFORM_SERVER_ID, ɵPLATFORM_WORKER_APP_ID, ɵPLATFORM_WORKER_UI_ID, isPlatformBrowser, isPlatformServer, isPlatformWorkerApp, isPlatformWorkerUi, VERSION, ViewportScroller, ɵNullViewportScroller, ɵNgClassImplProvider__POST_R3__, ɵNgClassR2Impl, ɵNgClassImpl, ɵNgStyleImplProvider__POST_R3__, ɵNgStyleR2Impl, ɵNgStyleImpl, ɵngStyleDirectiveDef__POST_R3__, ɵngClassDirectiveDef__POST_R3__, PlatformLocation, LOCATION_INITIALIZED, LocationStrategy, APP_BASE_HREF, HashLocationStrategy, PathLocationStrategy, Location */\n\n  /***/\n  function node_modulesAngularCommonFesm2015CommonJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_common_common_c\", function () {\n      return COMMON_DIRECTIVES;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_common_common_h\", function () {\n      return NgClassImplProvider;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_common_common_g\", function () {\n      return NgClassImplProvider__PRE_R3__;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_common_common_f\", function () {\n      return NgClassR3Impl;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_common_common_k\", function () {\n      return NgStyleImplProvider;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_common_common_j\", function () {\n      return NgStyleImplProvider__PRE_R3__;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_common_common_i\", function () {\n      return NgStyleR3Impl;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_common_common_a\", function () {\n      return DEPRECATED_PLURAL_FN;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_common_common_b\", function () {\n      return getPluralCase;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_common_common_e\", function () {\n      return COMMON_DEPRECATED_I18N_PIPES;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_common_common_d\", function () {\n      return COMMON_PIPES;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵregisterLocaleData\", function () {\n      return registerLocaleData;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"registerLocaleData\", function () {\n      return registerLocaleData;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"formatDate\", function () {\n      return formatDate;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"formatCurrency\", function () {\n      return formatCurrency;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"formatNumber\", function () {\n      return formatNumber;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"formatPercent\", function () {\n      return formatPercent;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NgLocaleLocalization\", function () {\n      return NgLocaleLocalization;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NgLocalization\", function () {\n      return NgLocalization;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Plural\", function () {\n      return Plural;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NumberFormatStyle\", function () {\n      return NumberFormatStyle;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FormStyle\", function () {\n      return FormStyle;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TranslationWidth\", function () {\n      return TranslationWidth;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FormatWidth\", function () {\n      return FormatWidth;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NumberSymbol\", function () {\n      return NumberSymbol;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"WeekDay\", function () {\n      return WeekDay;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"getNumberOfCurrencyDigits\", function () {\n      return getNumberOfCurrencyDigits;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"getCurrencySymbol\", function () {\n      return getCurrencySymbol;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"getLocaleDayPeriods\", function () {\n      return getLocaleDayPeriods;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"getLocaleDayNames\", function () {\n      return getLocaleDayNames;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"getLocaleMonthNames\", function () {\n      return getLocaleMonthNames;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"getLocaleId\", function () {\n      return getLocaleId;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"getLocaleEraNames\", function () {\n      return getLocaleEraNames;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"getLocaleWeekEndRange\", function () {\n      return getLocaleWeekEndRange;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"getLocaleFirstDayOfWeek\", function () {\n      return getLocaleFirstDayOfWeek;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"getLocaleDateFormat\", function () {\n      return getLocaleDateFormat;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"getLocaleDateTimeFormat\", function () {\n      return getLocaleDateTimeFormat;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"getLocaleExtraDayPeriodRules\", function () {\n      return getLocaleExtraDayPeriodRules;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"getLocaleExtraDayPeriods\", function () {\n      return getLocaleExtraDayPeriods;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"getLocalePluralCase\", function () {\n      return getLocalePluralCase;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"getLocaleTimeFormat\", function () {\n      return getLocaleTimeFormat;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"getLocaleNumberSymbol\", function () {\n      return getLocaleNumberSymbol;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"getLocaleNumberFormat\", function () {\n      return getLocaleNumberFormat;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"getLocaleCurrencyName\", function () {\n      return getLocaleCurrencyName;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"getLocaleCurrencySymbol\", function () {\n      return getLocaleCurrencySymbol;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵparseCookieValue\", function () {\n      return parseCookieValue;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CommonModule\", function () {\n      return CommonModule;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DeprecatedI18NPipesModule\", function () {\n      return DeprecatedI18NPipesModule;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NgClass\", function () {\n      return NgClass;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NgClassBase\", function () {\n      return NgClassBase;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NgForOf\", function () {\n      return NgForOf;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NgForOfContext\", function () {\n      return NgForOfContext;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NgIf\", function () {\n      return NgIf;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NgIfContext\", function () {\n      return NgIfContext;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NgPlural\", function () {\n      return NgPlural;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NgPluralCase\", function () {\n      return NgPluralCase;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NgStyle\", function () {\n      return NgStyle;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NgStyleBase\", function () {\n      return NgStyleBase;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NgSwitch\", function () {\n      return NgSwitch;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NgSwitchCase\", function () {\n      return NgSwitchCase;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NgSwitchDefault\", function () {\n      return NgSwitchDefault;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NgTemplateOutlet\", function () {\n      return NgTemplateOutlet;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NgComponentOutlet\", function () {\n      return NgComponentOutlet;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DOCUMENT\", function () {\n      return DOCUMENT;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"AsyncPipe\", function () {\n      return AsyncPipe;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DatePipe\", function () {\n      return DatePipe;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"I18nPluralPipe\", function () {\n      return I18nPluralPipe;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"I18nSelectPipe\", function () {\n      return I18nSelectPipe;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"JsonPipe\", function () {\n      return JsonPipe;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"LowerCasePipe\", function () {\n      return LowerCasePipe;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CurrencyPipe\", function () {\n      return CurrencyPipe;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DecimalPipe\", function () {\n      return DecimalPipe;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"PercentPipe\", function () {\n      return PercentPipe;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"SlicePipe\", function () {\n      return SlicePipe;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"UpperCasePipe\", function () {\n      return UpperCasePipe;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TitleCasePipe\", function () {\n      return TitleCasePipe;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"KeyValuePipe\", function () {\n      return KeyValuePipe;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DeprecatedDatePipe\", function () {\n      return DeprecatedDatePipe;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DeprecatedCurrencyPipe\", function () {\n      return DeprecatedCurrencyPipe;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DeprecatedDecimalPipe\", function () {\n      return DeprecatedDecimalPipe;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DeprecatedPercentPipe\", function () {\n      return DeprecatedPercentPipe;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵPLATFORM_BROWSER_ID\", function () {\n      return PLATFORM_BROWSER_ID;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵPLATFORM_SERVER_ID\", function () {\n      return PLATFORM_SERVER_ID;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵPLATFORM_WORKER_APP_ID\", function () {\n      return PLATFORM_WORKER_APP_ID;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵPLATFORM_WORKER_UI_ID\", function () {\n      return PLATFORM_WORKER_UI_ID;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"isPlatformBrowser\", function () {\n      return isPlatformBrowser;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"isPlatformServer\", function () {\n      return isPlatformServer;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"isPlatformWorkerApp\", function () {\n      return isPlatformWorkerApp;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"isPlatformWorkerUi\", function () {\n      return isPlatformWorkerUi;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"VERSION\", function () {\n      return VERSION;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ViewportScroller\", function () {\n      return ViewportScroller;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵNullViewportScroller\", function () {\n      return NullViewportScroller;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵNgClassImplProvider__POST_R3__\", function () {\n      return NgClassImplProvider__POST_R3__;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵNgClassR2Impl\", function () {\n      return NgClassR2Impl;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵNgClassImpl\", function () {\n      return NgClassImpl;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵNgStyleImplProvider__POST_R3__\", function () {\n      return NgStyleImplProvider__POST_R3__;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵNgStyleR2Impl\", function () {\n      return NgStyleR2Impl;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵNgStyleImpl\", function () {\n      return NgStyleImpl;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵngStyleDirectiveDef__POST_R3__\", function () {\n      return ngStyleDirectiveDef__POST_R3__;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵngClassDirectiveDef__POST_R3__\", function () {\n      return ngClassDirectiveDef__POST_R3__;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"PlatformLocation\", function () {\n      return PlatformLocation;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"LOCATION_INITIALIZED\", function () {\n      return LOCATION_INITIALIZED;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"LocationStrategy\", function () {\n      return LocationStrategy;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"APP_BASE_HREF\", function () {\n      return APP_BASE_HREF;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"HashLocationStrategy\", function () {\n      return HashLocationStrategy;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"PathLocationStrategy\", function () {\n      return PathLocationStrategy;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Location\", function () {\n      return Location;\n    });\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /**\n     * @license Angular v8.2.14\n     * (c) 2010-2019 Google LLC. https://angular.io/\n     * License: MIT\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * This class should not be used directly by an application developer. Instead, use\n     * {\\@link Location}.\n     *\n     * `PlatformLocation` encapsulates all calls to DOM apis, which allows the Router to be platform\n     * agnostic.\n     * This means that we can have different implementation of `PlatformLocation` for the different\n     * platforms that angular supports. For example, `\\@angular/platform-browser` provides an\n     * implementation specific to the browser environment, while `\\@angular/platform-webworker` provides\n     * one suitable for use with web workers.\n     *\n     * The `PlatformLocation` class is used directly by all implementations of {\\@link LocationStrategy}\n     * when they need to interact with the DOM apis like pushState, popState, etc...\n     *\n     * {\\@link LocationStrategy} in turn is used by the {\\@link Location} service which is used directly\n     * by the {\\@link Router} in order to navigate between routes. Since all interactions between {\\@link\n     * Router} /\n     * {\\@link Location} / {\\@link LocationStrategy} and DOM apis flow through the `PlatformLocation`\n     * class they are all platform independent.\n     *\n     * \\@publicApi\n     * @abstract\n     */\n\n\n    var PlatformLocation = function PlatformLocation() {\n      _classCallCheck(this, PlatformLocation);\n    };\n\n    if (false) {}\n    /**\n     * \\@description\n     * Indicates when a location is initialized.\n     *\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var LOCATION_INITIALIZED = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('Location Initialized');\n    /**\n     * \\@description\n     * A serializable version of the event from `onPopState` or `onHashChange`\n     *\n     * \\@publicApi\n     * @record\n     */\n\n    function LocationChangeEvent() {}\n\n    if (false) {}\n    /**\n     * \\@publicApi\n     * @record\n     */\n\n\n    function LocationChangeListener() {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Enables the `Location` service to read route state from the browser's URL.\n     * Angular provides two strategies:\n     * `HashLocationStrategy` and `PathLocationStrategy`.\n     *\n     * Applications should use the `Router` or `Location` services to\n     * interact with application route state.\n     *\n     * For instance, `HashLocationStrategy` produces URLs like\n     * <code class=\"no-auto-link\">http://example.com#/foo</code>,\n     * and `PathLocationStrategy` produces\n     * <code class=\"no-auto-link\">http://example.com/foo</code> as an equivalent URL.\n     *\n     * See these two classes for more.\n     *\n     * \\@publicApi\n     * @abstract\n     */\n\n\n    var LocationStrategy = function LocationStrategy() {\n      _classCallCheck(this, LocationStrategy);\n    };\n\n    if (false) {}\n    /**\n     * A predefined [DI token](guide/glossary#di-token) for the base href\n     * to be used with the `PathLocationStrategy`.\n     * The base href is the URL prefix that should be preserved when generating\n     * and recognizing URLs.\n     *\n     * \\@usageNotes\n     *\n     * The following example shows how to use this token to configure the root app injector\n     * with a base href value, so that the DI framework can supply the dependency anywhere in the app.\n     *\n     * ```typescript\n     * import {Component, NgModule} from '\\@angular/core';\n     * import {APP_BASE_HREF} from '\\@angular/common';\n     *\n     * \\@NgModule({\n     *   providers: [{provide: APP_BASE_HREF, useValue: '/my/app'}]\n     * })\n     * class AppModule {}\n     * ```\n     *\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var APP_BASE_HREF = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('appBaseHref');\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * \\@publicApi\n     * @record\n     */\n\n    function PopStateEvent() {}\n\n    if (false) {}\n    /**\n     * \\@description\n     *\n     * A service that applications can use to interact with a browser's URL.\n     *\n     * Depending on the `LocationStrategy` used, `Location` persists\n     * to the URL's path or the URL's hash segment.\n     *\n     * \\@usageNotes\n     *\n     * It's better to use the `Router#navigate` service to trigger route changes. Use\n     * `Location` only if you need to interact with or create normalized URLs outside of\n     * routing.\n     *\n     * `Location` is responsible for normalizing the URL against the application's base href.\n     * A normalized URL is absolute from the URL host, includes the application's base href, and has no\n     * trailing slash:\n     * - `/my/app/user/123` is normalized\n     * - `my/app/user/123` **is not** normalized\n     * - `/my/app/user/123/` **is not** normalized\n     *\n     * ### Example\n     *\n     * <code-example path='common/location/ts/path_location_component.ts'\n     * region='LocationComponent'></code-example>\n     *\n     * \\@publicApi\n     */\n\n\n    var Location =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} platformStrategy\n       * @param {?} platformLocation\n       */\n      function Location(platformStrategy, platformLocation) {\n        var _this120 = this;\n\n        _classCallCheck(this, Location);\n\n        /**\n         * \\@internal\n         */\n        this._subject = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"EventEmitter\"]();\n        /**\n         * \\@internal\n         */\n\n        this._urlChangeListeners = [];\n        this._platformStrategy = platformStrategy;\n        /** @type {?} */\n\n        var browserBaseHref = this._platformStrategy.getBaseHref();\n\n        this._platformLocation = platformLocation;\n        this._baseHref = Location.stripTrailingSlash(_stripIndexHtml(browserBaseHref));\n\n        this._platformStrategy.onPopState(\n        /**\n        * @param {?} ev\n        * @return {?}\n        */\n        function (ev) {\n          _this120._subject.emit({\n            'url': _this120.path(true),\n            'pop': true,\n            'state': ev.state,\n            'type': ev.type\n          });\n        });\n      }\n      /**\n       * Normalizes the URL path for this location.\n       *\n       * @param {?=} includeHash True to include an anchor fragment in the path.\n       *\n       * @return {?} The normalized URL path.\n       */\n      // TODO: vsavkin. Remove the boolean flag and always include hash once the deprecated router is\n      // removed.\n\n\n      _createClass2(Location, [{\n        key: \"path\",\n        value: function path() {\n          var includeHash = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n          return this.normalize(this._platformStrategy.path(includeHash));\n        }\n        /**\n         * Reports the current state of the location history.\n         * @return {?} The current value of the `history.state` object.\n         */\n\n      }, {\n        key: \"getState\",\n        value: function getState() {\n          return this._platformLocation.getState();\n        }\n        /**\n         * Normalizes the given path and compares to the current normalized path.\n         *\n         * @param {?} path The given URL path.\n         * @param {?=} query Query parameters.\n         *\n         * @return {?} True if the given URL path is equal to the current normalized path, false\n         * otherwise.\n         */\n\n      }, {\n        key: \"isCurrentPathEqualTo\",\n        value: function isCurrentPathEqualTo(path) {\n          var query = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n          return this.path() == this.normalize(path + Location.normalizeQueryParams(query));\n        }\n        /**\n         * Normalizes a URL path by stripping any trailing slashes.\n         *\n         * @param {?} url String representing a URL.\n         *\n         * @return {?} The normalized URL string.\n         */\n\n      }, {\n        key: \"normalize\",\n        value: function normalize(url) {\n          return Location.stripTrailingSlash(_stripBaseHref(this._baseHref, _stripIndexHtml(url)));\n        }\n        /**\n         * Normalizes an external URL path.\n         * If the given URL doesn't begin with a leading slash (`'/'`), adds one\n         * before normalizing. Adds a hash if `HashLocationStrategy` is\n         * in use, or the `APP_BASE_HREF` if the `PathLocationStrategy` is in use.\n         *\n         * @param {?} url String representing a URL.\n         *\n         * @return {?} A normalized platform-specific URL.\n         */\n\n      }, {\n        key: \"prepareExternalUrl\",\n        value: function prepareExternalUrl(url) {\n          if (url && url[0] !== '/') {\n            url = '/' + url;\n          }\n\n          return this._platformStrategy.prepareExternalUrl(url);\n        } // TODO: rename this method to pushState\n\n        /**\n         * Changes the browser's URL to a normalized version of a given URL, and pushes a\n         * new item onto the platform's history.\n         *\n         * @param {?} path  URL path to normalize.\n         * @param {?=} query Query parameters.\n         * @param {?=} state Location history state.\n         *\n         * @return {?}\n         */\n\n      }, {\n        key: \"go\",\n        value: function go(path) {\n          var query = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n          var state = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n\n          this._platformStrategy.pushState(state, '', path, query);\n\n          this._notifyUrlChangeListeners(this.prepareExternalUrl(path + Location.normalizeQueryParams(query)), state);\n        }\n        /**\n         * Changes the browser's URL to a normalized version of the given URL, and replaces\n         * the top item on the platform's history stack.\n         *\n         * @param {?} path  URL path to normalize.\n         * @param {?=} query Query parameters.\n         * @param {?=} state Location history state.\n         * @return {?}\n         */\n\n      }, {\n        key: \"replaceState\",\n        value: function replaceState(path) {\n          var query = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n          var state = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n\n          this._platformStrategy.replaceState(state, '', path, query);\n\n          this._notifyUrlChangeListeners(this.prepareExternalUrl(path + Location.normalizeQueryParams(query)), state);\n        }\n        /**\n         * Navigates forward in the platform's history.\n         * @return {?}\n         */\n\n      }, {\n        key: \"forward\",\n        value: function forward() {\n          this._platformStrategy.forward();\n        }\n        /**\n         * Navigates back in the platform's history.\n         * @return {?}\n         */\n\n      }, {\n        key: \"back\",\n        value: function back() {\n          this._platformStrategy.back();\n        }\n        /**\n         * Registers a URL change listener. Use to catch updates performed by the Angular\n         * framework that are not detectible through \"popstate\" or \"hashchange\" events.\n         *\n         * @param {?} fn The change handler function, which take a URL and a location history state.\n         * @return {?}\n         */\n\n      }, {\n        key: \"onUrlChange\",\n        value: function onUrlChange(fn) {\n          var _this121 = this;\n\n          this._urlChangeListeners.push(fn);\n\n          this.subscribe(\n          /**\n          * @param {?} v\n          * @return {?}\n          */\n          function (v) {\n            _this121._notifyUrlChangeListeners(v.url, v.state);\n          });\n        }\n        /**\n         * \\@internal\n         * @param {?=} url\n         * @param {?=} state\n         * @return {?}\n         */\n\n      }, {\n        key: \"_notifyUrlChangeListeners\",\n        value: function _notifyUrlChangeListeners() {\n          var url = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n          var state = arguments.length > 1 ? arguments[1] : undefined;\n\n          this._urlChangeListeners.forEach(\n          /**\n          * @param {?} fn\n          * @return {?}\n          */\n          function (fn) {\n            return fn(url, state);\n          });\n        }\n        /**\n         * Subscribes to the platform's `popState` events.\n         *\n         * @param {?} onNext\n         * @param {?=} onThrow\n         * @param {?=} onReturn\n         * @return {?} Subscribed events.\n         */\n\n      }, {\n        key: \"subscribe\",\n        value: function subscribe(onNext, onThrow, onReturn) {\n          return this._subject.subscribe({\n            next: onNext,\n            error: onThrow,\n            complete: onReturn\n          });\n        }\n        /**\n         * Normalizes URL parameters by prepending with `?` if needed.\n         *\n         * @param {?} params String of URL parameters.\n         *\n         * @return {?} The normalized URL parameters string.\n         */\n\n      }], [{\n        key: \"normalizeQueryParams\",\n        value: function normalizeQueryParams(params) {\n          return params && params[0] !== '?' ? '?' + params : params;\n        }\n        /**\n         * Joins two parts of a URL with a slash if needed.\n         *\n         * @param {?} start  URL string\n         * @param {?} end    URL string\n         *\n         *\n         * @return {?} The joined URL string.\n         */\n\n      }, {\n        key: \"joinWithSlash\",\n        value: function joinWithSlash(start, end) {\n          if (start.length == 0) {\n            return end;\n          }\n\n          if (end.length == 0) {\n            return start;\n          }\n          /** @type {?} */\n\n\n          var slashes = 0;\n\n          if (start.endsWith('/')) {\n            slashes++;\n          }\n\n          if (end.startsWith('/')) {\n            slashes++;\n          }\n\n          if (slashes == 2) {\n            return start + end.substring(1);\n          }\n\n          if (slashes == 1) {\n            return start + end;\n          }\n\n          return start + '/' + end;\n        }\n        /**\n         * Removes a trailing slash from a URL string if needed.\n         * Looks for the first occurrence of either `#`, `?`, or the end of the\n         * line as `/` characters and removes the trailing slash if one exists.\n         *\n         * @param {?} url URL string.\n         *\n         * @return {?} The URL string, modified if needed.\n         */\n\n      }, {\n        key: \"stripTrailingSlash\",\n        value: function stripTrailingSlash(url) {\n          /** @type {?} */\n          var match = url.match(/#|\\?|$/);\n          /** @type {?} */\n\n          var pathEndIdx = match && match.index || url.length;\n          /** @type {?} */\n\n          var droppedSlashIdx = pathEndIdx - (url[pathEndIdx - 1] === '/' ? 1 : 0);\n          return url.slice(0, droppedSlashIdx) + url.slice(pathEndIdx);\n        }\n      }]);\n\n      return Location;\n    }();\n\n    Location.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"]\n    }];\n    /** @nocollapse */\n\n    Location.ctorParameters = function () {\n      return [{\n        type: LocationStrategy\n      }, {\n        type: PlatformLocation\n      }];\n    };\n\n    if (false) {}\n    /**\n     * @param {?} baseHref\n     * @param {?} url\n     * @return {?}\n     */\n\n\n    function _stripBaseHref(baseHref, url) {\n      return baseHref && url.startsWith(baseHref) ? url.substring(baseHref.length) : url;\n    }\n    /**\n     * @param {?} url\n     * @return {?}\n     */\n\n\n    function _stripIndexHtml(url) {\n      return url.replace(/\\/index.html$/, '');\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * \\@description\n     * A {\\@link LocationStrategy} used to configure the {\\@link Location} service to\n     * represent its state in the\n     * [hash fragment](https://en.wikipedia.org/wiki/Uniform_Resource_Locator#Syntax)\n     * of the browser's URL.\n     *\n     * For instance, if you call `location.go('/foo')`, the browser's URL will become\n     * `example.com#/foo`.\n     *\n     * \\@usageNotes\n     *\n     * ### Example\n     *\n     * {\\@example common/location/ts/hash_location_component.ts region='LocationComponent'}\n     *\n     * \\@publicApi\n     */\n\n\n    var HashLocationStrategy =\n    /*#__PURE__*/\n    function (_LocationStrategy) {\n      _inherits(HashLocationStrategy, _LocationStrategy);\n\n      /**\n       * @param {?} _platformLocation\n       * @param {?=} _baseHref\n       */\n      function HashLocationStrategy(_platformLocation, _baseHref) {\n        var _this122;\n\n        _classCallCheck(this, HashLocationStrategy);\n\n        _this122 = _possibleConstructorReturn(this, _getPrototypeOf(HashLocationStrategy).call(this));\n        _this122._platformLocation = _platformLocation;\n        _this122._baseHref = '';\n\n        if (_baseHref != null) {\n          _this122._baseHref = _baseHref;\n        }\n\n        return _this122;\n      }\n      /**\n       * @param {?} fn\n       * @return {?}\n       */\n\n\n      _createClass2(HashLocationStrategy, [{\n        key: \"onPopState\",\n        value: function onPopState(fn) {\n          this._platformLocation.onPopState(fn);\n\n          this._platformLocation.onHashChange(fn);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"getBaseHref\",\n        value: function getBaseHref() {\n          return this._baseHref;\n        }\n        /**\n         * @param {?=} includeHash\n         * @return {?}\n         */\n\n      }, {\n        key: \"path\",\n        value: function path() {\n          var includeHash = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n          // the hash value is always prefixed with a `#`\n          // and if it is empty then it will stay empty\n\n          /** @type {?} */\n          var path = this._platformLocation.hash;\n          if (path == null) path = '#';\n          return path.length > 0 ? path.substring(1) : path;\n        }\n        /**\n         * @param {?} internal\n         * @return {?}\n         */\n\n      }, {\n        key: \"prepareExternalUrl\",\n        value: function prepareExternalUrl(internal) {\n          /** @type {?} */\n          var url = Location.joinWithSlash(this._baseHref, internal);\n          return url.length > 0 ? '#' + url : url;\n        }\n        /**\n         * @param {?} state\n         * @param {?} title\n         * @param {?} path\n         * @param {?} queryParams\n         * @return {?}\n         */\n\n      }, {\n        key: \"pushState\",\n        value: function pushState(state, title, path, queryParams) {\n          /** @type {?} */\n          var url = this.prepareExternalUrl(path + Location.normalizeQueryParams(queryParams));\n\n          if (url.length == 0) {\n            url = this._platformLocation.pathname;\n          }\n\n          this._platformLocation.pushState(state, title, url);\n        }\n        /**\n         * @param {?} state\n         * @param {?} title\n         * @param {?} path\n         * @param {?} queryParams\n         * @return {?}\n         */\n\n      }, {\n        key: \"replaceState\",\n        value: function replaceState(state, title, path, queryParams) {\n          /** @type {?} */\n          var url = this.prepareExternalUrl(path + Location.normalizeQueryParams(queryParams));\n\n          if (url.length == 0) {\n            url = this._platformLocation.pathname;\n          }\n\n          this._platformLocation.replaceState(state, title, url);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"forward\",\n        value: function forward() {\n          this._platformLocation.forward();\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"back\",\n        value: function back() {\n          this._platformLocation.back();\n        }\n      }]);\n\n      return HashLocationStrategy;\n    }(LocationStrategy);\n\n    HashLocationStrategy.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"]\n    }];\n    /** @nocollapse */\n\n    HashLocationStrategy.ctorParameters = function () {\n      return [{\n        type: PlatformLocation\n      }, {\n        type: String,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [APP_BASE_HREF]\n        }]\n      }];\n    };\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * \\@description\n     * A {\\@link LocationStrategy} used to configure the {\\@link Location} service to\n     * represent its state in the\n     * [path](https://en.wikipedia.org/wiki/Uniform_Resource_Locator#Syntax) of the\n     * browser's URL.\n     *\n     * If you're using `PathLocationStrategy`, you must provide a {\\@link APP_BASE_HREF}\n     * or add a base element to the document. This URL prefix that will be preserved\n     * when generating and recognizing URLs.\n     *\n     * For instance, if you provide an `APP_BASE_HREF` of `'/my/app'` and call\n     * `location.go('/foo')`, the browser's URL will become\n     * `example.com/my/app/foo`.\n     *\n     * Similarly, if you add `<base href='/my/app'/>` to the document and call\n     * `location.go('/foo')`, the browser's URL will become\n     * `example.com/my/app/foo`.\n     *\n     * \\@usageNotes\n     *\n     * ### Example\n     *\n     * {\\@example common/location/ts/path_location_component.ts region='LocationComponent'}\n     *\n     * \\@publicApi\n     */\n\n\n    var PathLocationStrategy =\n    /*#__PURE__*/\n    function (_LocationStrategy2) {\n      _inherits(PathLocationStrategy, _LocationStrategy2);\n\n      /**\n       * @param {?} _platformLocation\n       * @param {?=} href\n       */\n      function PathLocationStrategy(_platformLocation, href) {\n        var _this123;\n\n        _classCallCheck(this, PathLocationStrategy);\n\n        _this123 = _possibleConstructorReturn(this, _getPrototypeOf(PathLocationStrategy).call(this));\n        _this123._platformLocation = _platformLocation;\n\n        if (href == null) {\n          href = _this123._platformLocation.getBaseHrefFromDOM();\n        }\n\n        if (href == 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.\");\n        }\n\n        _this123._baseHref = href;\n        return _this123;\n      }\n      /**\n       * @param {?} fn\n       * @return {?}\n       */\n\n\n      _createClass2(PathLocationStrategy, [{\n        key: \"onPopState\",\n        value: function onPopState(fn) {\n          this._platformLocation.onPopState(fn);\n\n          this._platformLocation.onHashChange(fn);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"getBaseHref\",\n        value: function getBaseHref() {\n          return this._baseHref;\n        }\n        /**\n         * @param {?} internal\n         * @return {?}\n         */\n\n      }, {\n        key: \"prepareExternalUrl\",\n        value: function prepareExternalUrl(internal) {\n          return Location.joinWithSlash(this._baseHref, internal);\n        }\n        /**\n         * @param {?=} includeHash\n         * @return {?}\n         */\n\n      }, {\n        key: \"path\",\n        value: function path() {\n          var includeHash = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n\n          /** @type {?} */\n          var pathname = this._platformLocation.pathname + Location.normalizeQueryParams(this._platformLocation.search);\n          /** @type {?} */\n\n          var hash = this._platformLocation.hash;\n          return hash && includeHash ? \"\".concat(pathname).concat(hash) : pathname;\n        }\n        /**\n         * @param {?} state\n         * @param {?} title\n         * @param {?} url\n         * @param {?} queryParams\n         * @return {?}\n         */\n\n      }, {\n        key: \"pushState\",\n        value: function pushState(state, title, url, queryParams) {\n          /** @type {?} */\n          var externalUrl = this.prepareExternalUrl(url + Location.normalizeQueryParams(queryParams));\n\n          this._platformLocation.pushState(state, title, externalUrl);\n        }\n        /**\n         * @param {?} state\n         * @param {?} title\n         * @param {?} url\n         * @param {?} queryParams\n         * @return {?}\n         */\n\n      }, {\n        key: \"replaceState\",\n        value: function replaceState(state, title, url, queryParams) {\n          /** @type {?} */\n          var externalUrl = this.prepareExternalUrl(url + Location.normalizeQueryParams(queryParams));\n\n          this._platformLocation.replaceState(state, title, externalUrl);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"forward\",\n        value: function forward() {\n          this._platformLocation.forward();\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"back\",\n        value: function back() {\n          this._platformLocation.back();\n        }\n      }]);\n\n      return PathLocationStrategy;\n    }(LocationStrategy);\n\n    PathLocationStrategy.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"]\n    }];\n    /** @nocollapse */\n\n    PathLocationStrategy.ctorParameters = function () {\n      return [{\n        type: PlatformLocation\n      }, {\n        type: String,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [APP_BASE_HREF]\n        }]\n      }];\n    };\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n    // THIS CODE IS GENERATED - DO NOT MODIFY\n    // See angular/tools/gulp-tasks/cldr/extract.js\n\n    /**\n     * \\@internal\n     * @type {?}\n     */\n\n\n    var CURRENCIES_EN = {\n      'ADP': [undefined, undefined, 0],\n      'AFN': [undefined, undefined, 0],\n      'ALL': [undefined, undefined, 0],\n      'AMD': [undefined, undefined, 0],\n      'AOA': [undefined, 'Kz'],\n      'ARS': [undefined, '$'],\n      'AUD': ['A$', '$'],\n      'BAM': [undefined, 'KM'],\n      'BBD': [undefined, '$'],\n      'BDT': [undefined, '৳'],\n      'BHD': [undefined, undefined, 3],\n      'BIF': [undefined, undefined, 0],\n      'BMD': [undefined, '$'],\n      'BND': [undefined, '$'],\n      'BOB': [undefined, 'Bs'],\n      'BRL': ['R$'],\n      'BSD': [undefined, '$'],\n      'BWP': [undefined, 'P'],\n      'BYN': [undefined, 'р.', 2],\n      'BYR': [undefined, undefined, 0],\n      'BZD': [undefined, '$'],\n      'CAD': ['CA$', '$', 2],\n      'CHF': [undefined, undefined, 2],\n      'CLF': [undefined, undefined, 4],\n      'CLP': [undefined, '$', 0],\n      'CNY': ['CN¥', '¥'],\n      'COP': [undefined, '$', 0],\n      'CRC': [undefined, '₡', 2],\n      'CUC': [undefined, '$'],\n      'CUP': [undefined, '$'],\n      'CZK': [undefined, 'Kč', 2],\n      'DJF': [undefined, undefined, 0],\n      'DKK': [undefined, 'kr', 2],\n      'DOP': [undefined, '$'],\n      'EGP': [undefined, 'E£'],\n      'ESP': [undefined, '₧', 0],\n      'EUR': ['€'],\n      'FJD': [undefined, '$'],\n      'FKP': [undefined, '£'],\n      'GBP': ['£'],\n      'GEL': [undefined, '₾'],\n      'GIP': [undefined, '£'],\n      'GNF': [undefined, 'FG', 0],\n      'GTQ': [undefined, 'Q'],\n      'GYD': [undefined, '$', 0],\n      'HKD': ['HK$', '$'],\n      'HNL': [undefined, 'L'],\n      'HRK': [undefined, 'kn'],\n      'HUF': [undefined, 'Ft', 2],\n      'IDR': [undefined, 'Rp', 0],\n      'ILS': ['₪'],\n      'INR': ['₹'],\n      'IQD': [undefined, undefined, 0],\n      'IRR': [undefined, undefined, 0],\n      'ISK': [undefined, 'kr', 0],\n      'ITL': [undefined, undefined, 0],\n      'JMD': [undefined, '$'],\n      'JOD': [undefined, undefined, 3],\n      'JPY': ['¥', undefined, 0],\n      'KHR': [undefined, '៛'],\n      'KMF': [undefined, 'CF', 0],\n      'KPW': [undefined, '₩', 0],\n      'KRW': ['₩', undefined, 0],\n      'KWD': [undefined, undefined, 3],\n      'KYD': [undefined, '$'],\n      'KZT': [undefined, '₸'],\n      'LAK': [undefined, '₭', 0],\n      'LBP': [undefined, 'L£', 0],\n      'LKR': [undefined, 'Rs'],\n      'LRD': [undefined, '$'],\n      'LTL': [undefined, 'Lt'],\n      'LUF': [undefined, undefined, 0],\n      'LVL': [undefined, 'Ls'],\n      'LYD': [undefined, undefined, 3],\n      'MGA': [undefined, 'Ar', 0],\n      'MGF': [undefined, undefined, 0],\n      'MMK': [undefined, 'K', 0],\n      'MNT': [undefined, '₮', 0],\n      'MRO': [undefined, undefined, 0],\n      'MUR': [undefined, 'Rs', 0],\n      'MXN': ['MX$', '$'],\n      'MYR': [undefined, 'RM'],\n      'NAD': [undefined, '$'],\n      'NGN': [undefined, '₦'],\n      'NIO': [undefined, 'C$'],\n      'NOK': [undefined, 'kr', 2],\n      'NPR': [undefined, 'Rs'],\n      'NZD': ['NZ$', '$'],\n      'OMR': [undefined, undefined, 3],\n      'PHP': [undefined, '₱'],\n      'PKR': [undefined, 'Rs', 0],\n      'PLN': [undefined, 'zł'],\n      'PYG': [undefined, '₲', 0],\n      'RON': [undefined, 'lei'],\n      'RSD': [undefined, undefined, 0],\n      'RUB': [undefined, '₽'],\n      'RUR': [undefined, 'р.'],\n      'RWF': [undefined, 'RF', 0],\n      'SBD': [undefined, '$'],\n      'SEK': [undefined, 'kr', 2],\n      'SGD': [undefined, '$'],\n      'SHP': [undefined, '£'],\n      'SLL': [undefined, undefined, 0],\n      'SOS': [undefined, undefined, 0],\n      'SRD': [undefined, '$'],\n      'SSP': [undefined, '£'],\n      'STD': [undefined, undefined, 0],\n      'STN': [undefined, 'Db'],\n      'SYP': [undefined, '£', 0],\n      'THB': [undefined, '฿'],\n      'TMM': [undefined, undefined, 0],\n      'TND': [undefined, undefined, 3],\n      'TOP': [undefined, 'T$'],\n      'TRL': [undefined, undefined, 0],\n      'TRY': [undefined, '₺'],\n      'TTD': [undefined, '$'],\n      'TWD': ['NT$', '$', 2],\n      'TZS': [undefined, undefined, 0],\n      'UAH': [undefined, '₴'],\n      'UGX': [undefined, undefined, 0],\n      'USD': ['$'],\n      'UYI': [undefined, undefined, 0],\n      'UYU': [undefined, '$'],\n      'UZS': [undefined, undefined, 0],\n      'VEF': [undefined, 'Bs'],\n      'VND': ['₫', undefined, 0],\n      'VUV': [undefined, undefined, 0],\n      'XAF': ['FCFA', undefined, 0],\n      'XCD': ['EC$', '$'],\n      'XOF': ['CFA', undefined, 0],\n      'XPF': ['CFPF', undefined, 0],\n      'YER': [undefined, undefined, 0],\n      'ZAR': [undefined, 'R'],\n      'ZMK': [undefined, undefined, 0],\n      'ZMW': [undefined, 'ZK'],\n      'ZWD': [undefined, undefined, 0]\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @enum {number} */\n\n    var NumberFormatStyle = {\n      Decimal: 0,\n      Percent: 1,\n      Currency: 2,\n      Scientific: 3\n    };\n    NumberFormatStyle[NumberFormatStyle.Decimal] = 'Decimal';\n    NumberFormatStyle[NumberFormatStyle.Percent] = 'Percent';\n    NumberFormatStyle[NumberFormatStyle.Currency] = 'Currency';\n    NumberFormatStyle[NumberFormatStyle.Scientific] = 'Scientific';\n    /** @enum {number} */\n\n    var Plural = {\n      Zero: 0,\n      One: 1,\n      Two: 2,\n      Few: 3,\n      Many: 4,\n      Other: 5\n    };\n    Plural[Plural.Zero] = 'Zero';\n    Plural[Plural.One] = 'One';\n    Plural[Plural.Two] = 'Two';\n    Plural[Plural.Few] = 'Few';\n    Plural[Plural.Many] = 'Many';\n    Plural[Plural.Other] = 'Other';\n    /** @enum {number} */\n\n    var FormStyle = {\n      Format: 0,\n      Standalone: 1\n    };\n    FormStyle[FormStyle.Format] = 'Format';\n    FormStyle[FormStyle.Standalone] = 'Standalone';\n    /** @enum {number} */\n\n    var TranslationWidth = {\n      /** 1 character for `en-US`. For example: 'S' */\n      Narrow: 0,\n\n      /** 3 characters for `en-US`. For example: 'Sun' */\n      Abbreviated: 1,\n\n      /** Full length for `en-US`. For example: \"Sunday\" */\n      Wide: 2,\n\n      /** 2 characters for `en-US`, For example: \"Su\" */\n      Short: 3\n    };\n    TranslationWidth[TranslationWidth.Narrow] = 'Narrow';\n    TranslationWidth[TranslationWidth.Abbreviated] = 'Abbreviated';\n    TranslationWidth[TranslationWidth.Wide] = 'Wide';\n    TranslationWidth[TranslationWidth.Short] = 'Short';\n    /** @enum {number} */\n\n    var FormatWidth = {\n      /**\n       * For `en-US`, 'M/d/yy, h:mm a'`\n       * (Example: `6/15/15, 9:03 AM`)\n       */\n      Short: 0,\n\n      /**\n       * For `en-US`, `'MMM d, y, h:mm:ss a'`\n       * (Example: `Jun 15, 2015, 9:03:01 AM`)\n       */\n      Medium: 1,\n\n      /**\n       * For `en-US`, `'MMMM d, y, h:mm:ss a z'`\n       * (Example: `June 15, 2015 at 9:03:01 AM GMT+1`)\n       */\n      Long: 2,\n\n      /**\n       * For `en-US`, `'EEEE, MMMM d, y, h:mm:ss a zzzz'`\n       * (Example: `Monday, June 15, 2015 at 9:03:01 AM GMT+01:00`)\n       */\n      Full: 3\n    };\n    FormatWidth[FormatWidth.Short] = 'Short';\n    FormatWidth[FormatWidth.Medium] = 'Medium';\n    FormatWidth[FormatWidth.Long] = 'Long';\n    FormatWidth[FormatWidth.Full] = 'Full';\n    /** @enum {number} */\n\n    var NumberSymbol = {\n      /**\n       * Decimal separator.\n       * For `en-US`, the dot character.\n       * Example : 2,345`.`67\n       */\n      Decimal: 0,\n\n      /**\n       * Grouping separator, typically for thousands.\n       * For `en-US`, the comma character.\n       * Example: 2`,`345.67\n       */\n      Group: 1,\n\n      /**\n       * List-item separator.\n       * Example: \"one, two, and three\"\n       */\n      List: 2,\n\n      /**\n       * Sign for percentage (out of 100).\n       * Example: 23.4%\n       */\n      PercentSign: 3,\n\n      /**\n       * Sign for positive numbers.\n       * Example: +23\n       */\n      PlusSign: 4,\n\n      /**\n       * Sign for negative numbers.\n       * Example: -23\n       */\n      MinusSign: 5,\n\n      /**\n       * Computer notation for exponential value (n times a power of 10).\n       * Example: 1.2E3\n       */\n      Exponential: 6,\n\n      /**\n       * Human-readable format of exponential.\n       * Example: 1.2x103\n       */\n      SuperscriptingExponent: 7,\n\n      /**\n       * Sign for permille (out of 1000).\n       * Example: 23.4‰\n       */\n      PerMille: 8,\n\n      /**\n       * Infinity, can be used with plus and minus.\n       * Example: ∞, +∞, -∞\n       */\n      Infinity: 9,\n\n      /**\n       * Not a number.\n       * Example: NaN\n       */\n      NaN: 10,\n\n      /**\n       * Symbol used between time units.\n       * Example: 10:52\n       */\n      TimeSeparator: 11,\n\n      /**\n       * Decimal separator for currency values (fallback to `Decimal`).\n       * Example: $2,345.67\n       */\n      CurrencyDecimal: 12,\n\n      /**\n       * Group separator for currency values (fallback to `Group`).\n       * Example: $2,345.67\n       */\n      CurrencyGroup: 13\n    };\n    NumberSymbol[NumberSymbol.Decimal] = 'Decimal';\n    NumberSymbol[NumberSymbol.Group] = 'Group';\n    NumberSymbol[NumberSymbol.List] = 'List';\n    NumberSymbol[NumberSymbol.PercentSign] = 'PercentSign';\n    NumberSymbol[NumberSymbol.PlusSign] = 'PlusSign';\n    NumberSymbol[NumberSymbol.MinusSign] = 'MinusSign';\n    NumberSymbol[NumberSymbol.Exponential] = 'Exponential';\n    NumberSymbol[NumberSymbol.SuperscriptingExponent] = 'SuperscriptingExponent';\n    NumberSymbol[NumberSymbol.PerMille] = 'PerMille';\n    NumberSymbol[NumberSymbol.Infinity] = 'Infinity';\n    NumberSymbol[NumberSymbol.NaN] = 'NaN';\n    NumberSymbol[NumberSymbol.TimeSeparator] = 'TimeSeparator';\n    NumberSymbol[NumberSymbol.CurrencyDecimal] = 'CurrencyDecimal';\n    NumberSymbol[NumberSymbol.CurrencyGroup] = 'CurrencyGroup';\n    /** @enum {number} */\n\n    var WeekDay = {\n      Sunday: 0,\n      Monday: 1,\n      Tuesday: 2,\n      Wednesday: 3,\n      Thursday: 4,\n      Friday: 5,\n      Saturday: 6\n    };\n    WeekDay[WeekDay.Sunday] = 'Sunday';\n    WeekDay[WeekDay.Monday] = 'Monday';\n    WeekDay[WeekDay.Tuesday] = 'Tuesday';\n    WeekDay[WeekDay.Wednesday] = 'Wednesday';\n    WeekDay[WeekDay.Thursday] = 'Thursday';\n    WeekDay[WeekDay.Friday] = 'Friday';\n    WeekDay[WeekDay.Saturday] = 'Saturday';\n    /**\n     * Retrieves the locale ID from the currently loaded locale.\n     * The loaded locale could be, for example, a global one rather than a regional one.\n     * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n     *\n     * \\@publicApi\n     * @param {?} locale A locale code, such as `fr-FR`.\n     * @return {?} The locale code. For example, `fr`.\n     */\n\n    function getLocaleId(locale) {\n      return Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵfindLocaleData\"])(locale)[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].LocaleId];\n    }\n    /**\n     * Retrieves day period strings for the given locale.\n     *\n     * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n     *\n     * \\@publicApi\n     * @param {?} locale A locale code for the locale format rules to use.\n     * @param {?} formStyle The required grammatical form.\n     * @param {?} width The required character width.\n     * @return {?} An array of localized period strings. For example, `[AM, PM]` for `en-US`.\n     */\n\n\n    function getLocaleDayPeriods(locale, formStyle, width) {\n      /** @type {?} */\n      var data = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵfindLocaleData\"])(locale);\n      /** @type {?} */\n\n      var amPmData =\n      /** @type {?} */\n      [data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].DayPeriodsFormat], data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].DayPeriodsStandalone]];\n      /** @type {?} */\n\n      var amPm = getLastDefinedValue(amPmData, formStyle);\n      return getLastDefinedValue(amPm, width);\n    }\n    /**\n     * Retrieves days of the week for the given locale, using the Gregorian calendar.\n     *\n     * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n     *\n     * \\@publicApi\n     * @param {?} locale A locale code for the locale format rules to use.\n     * @param {?} formStyle The required grammatical form.\n     * @param {?} width The required character width.\n     * @return {?} An array of localized name strings.\n     * For example,`[Sunday, Monday, ... Saturday]` for `en-US`.\n     */\n\n\n    function getLocaleDayNames(locale, formStyle, width) {\n      /** @type {?} */\n      var data = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵfindLocaleData\"])(locale);\n      /** @type {?} */\n\n      var daysData =\n      /** @type {?} */\n      [data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].DaysFormat], data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].DaysStandalone]];\n      /** @type {?} */\n\n      var days = getLastDefinedValue(daysData, formStyle);\n      return getLastDefinedValue(days, width);\n    }\n    /**\n     * Retrieves months of the year for the given locale, using the Gregorian calendar.\n     *\n     * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n     *\n     * \\@publicApi\n     * @param {?} locale A locale code for the locale format rules to use.\n     * @param {?} formStyle The required grammatical form.\n     * @param {?} width The required character width.\n     * @return {?} An array of localized name strings.\n     * For example,  `[January, February, ...]` for `en-US`.\n     */\n\n\n    function getLocaleMonthNames(locale, formStyle, width) {\n      /** @type {?} */\n      var data = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵfindLocaleData\"])(locale);\n      /** @type {?} */\n\n      var monthsData =\n      /** @type {?} */\n      [data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].MonthsFormat], data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].MonthsStandalone]];\n      /** @type {?} */\n\n      var months = getLastDefinedValue(monthsData, formStyle);\n      return getLastDefinedValue(months, width);\n    }\n    /**\n     * Retrieves Gregorian-calendar eras for the given locale.\n     * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n     *\n     * \\@publicApi\n     * @param {?} locale A locale code for the locale format rules to use.\n     * @param {?} width The required character width.\n     * @return {?} An array of localized era strings.\n     * For example, `[AD, BC]` for `en-US`.\n     */\n\n\n    function getLocaleEraNames(locale, width) {\n      /** @type {?} */\n      var data = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵfindLocaleData\"])(locale);\n      /** @type {?} */\n\n      var erasData =\n      /** @type {?} */\n      data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].Eras];\n      return getLastDefinedValue(erasData, width);\n    }\n    /**\n     * Retrieves the first day of the week for the given locale.\n     *\n     * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n     *\n     * \\@publicApi\n     * @param {?} locale A locale code for the locale format rules to use.\n     * @return {?} A day index number, using the 0-based week-day index for `en-US`\n     * (Sunday = 0, Monday = 1, ...).\n     * For example, for `fr-FR`, returns 1 to indicate that the first day is Monday.\n     */\n\n\n    function getLocaleFirstDayOfWeek(locale) {\n      /** @type {?} */\n      var data = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵfindLocaleData\"])(locale);\n      return data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].FirstDayOfWeek];\n    }\n    /**\n     * Range of week days that are considered the week-end for the given locale.\n     *\n     * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n     *\n     * \\@publicApi\n     * @param {?} locale A locale code for the locale format rules to use.\n     * @return {?} The range of day values, `[startDay, endDay]`.\n     */\n\n\n    function getLocaleWeekEndRange(locale) {\n      /** @type {?} */\n      var data = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵfindLocaleData\"])(locale);\n      return data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].WeekendRange];\n    }\n    /**\n     * Retrieves a localized date-value formating string.\n     *\n     * @see `FormatWidth` / [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n     *\n     * \\@publicApi\n     * @param {?} locale A locale code for the locale format rules to use.\n     * @param {?} width The format type.\n     * @return {?} The localized formating string.\n     */\n\n\n    function getLocaleDateFormat(locale, width) {\n      /** @type {?} */\n      var data = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵfindLocaleData\"])(locale);\n      return getLastDefinedValue(data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].DateFormat], width);\n    }\n    /**\n     * Retrieves a localized time-value formatting string.\n     *\n     * @see `FormatWidth` / [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n     * \\@publicApi\n     * @param {?} locale A locale code for the locale format rules to use.\n     * @param {?} width The format type.\n     * @return {?} The localized formatting string.\n     */\n\n\n    function getLocaleTimeFormat(locale, width) {\n      /** @type {?} */\n      var data = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵfindLocaleData\"])(locale);\n      return getLastDefinedValue(data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].TimeFormat], width);\n    }\n    /**\n     * Retrieves a localized date-time formatting string.\n     *\n     * @see `FormatWidth` / [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n     *\n     * \\@publicApi\n     * @param {?} locale A locale code for the locale format rules to use.\n     * @param {?} width The format type.\n     * @return {?} The localized formatting string.\n     */\n\n\n    function getLocaleDateTimeFormat(locale, width) {\n      /** @type {?} */\n      var data = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵfindLocaleData\"])(locale);\n      /** @type {?} */\n\n      var dateTimeFormatData =\n      /** @type {?} */\n      data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].DateTimeFormat];\n      return getLastDefinedValue(dateTimeFormatData, width);\n    }\n    /**\n     * Retrieves a localized number symbol that can be used to replace placeholders in number formats.\n     * @see `NumberSymbol` / [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n     *\n     * \\@publicApi\n     * @param {?} locale The locale code.\n     * @param {?} symbol The symbol to localize.\n     * @return {?} The character for the localized symbol.\n     */\n\n\n    function getLocaleNumberSymbol(locale, symbol) {\n      /** @type {?} */\n      var data = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵfindLocaleData\"])(locale);\n      /** @type {?} */\n\n      var res = data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].NumberSymbols][symbol];\n\n      if (typeof res === 'undefined') {\n        if (symbol === NumberSymbol.CurrencyDecimal) {\n          return data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].NumberSymbols][NumberSymbol.Decimal];\n        } else if (symbol === NumberSymbol.CurrencyGroup) {\n          return data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].NumberSymbols][NumberSymbol.Group];\n        }\n      }\n\n      return res;\n    }\n    /**\n     * Retrieves a number format for a given locale.\n     *\n     * Numbers are formatted using patterns, like `#,###.00`. For example, the pattern `#,###.00`\n     * when used to format the number 12345.678 could result in \"12'345,678\". That would happen if the\n     * grouping separator for your language is an apostrophe, and the decimal separator is a comma.\n     *\n     * <b>Important:</b> The characters `.` `,` `0` `#` (and others below) are special placeholders\n     * that stand for the decimal separator, and so on, and are NOT real characters.\n     * You must NOT \"translate\" the placeholders. For example, don't change `.` to `,` even though in\n     * your language the decimal point is written with a comma. The symbols should be replaced by the\n     * local equivalents, using the appropriate `NumberSymbol` for your language.\n     *\n     * Here are the special characters used in number patterns:\n     *\n     * | Symbol | Meaning |\n     * |--------|---------|\n     * | . | Replaced automatically by the character used for the decimal point. |\n     * | , | Replaced by the \"grouping\" (thousands) separator. |\n     * | 0 | Replaced by a digit (or zero if there aren't enough digits). |\n     * | # | Replaced by a digit (or nothing if there aren't enough). |\n     * | ¤ | Replaced by a currency symbol, such as $ or USD. |\n     * | % | Marks a percent format. The % symbol may change position, but must be retained. |\n     * | E | Marks a scientific format. The E symbol may change position, but must be retained. |\n     * | ' | Special characters used as literal characters are quoted with ASCII single quotes. |\n     *\n     * @see `NumberFormatStyle` / [CLDR website](http://cldr.unicode.org/translation/number-patterns) / [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n     *\n     * \\@publicApi\n     * @param {?} locale A locale code for the locale format rules to use.\n     * @param {?} type The type of numeric value to be formatted (such as `Decimal` or `Currency`.)\n     * @return {?} The localized format string.\n     */\n\n\n    function getLocaleNumberFormat(locale, type) {\n      /** @type {?} */\n      var data = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵfindLocaleData\"])(locale);\n      return data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].NumberFormats][type];\n    }\n    /**\n     * Retrieves the symbol used to represent the currency for the main country\n     * corresponding to a given locale. For example, '$' for `en-US`.\n     *\n     * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n     *\n     * \\@publicApi\n     * @param {?} locale A locale code for the locale format rules to use.\n     * @return {?} The localized symbol character,\n     * or `null` if the main country cannot be determined.\n     */\n\n\n    function getLocaleCurrencySymbol(locale) {\n      /** @type {?} */\n      var data = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵfindLocaleData\"])(locale);\n      return data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].CurrencySymbol] || null;\n    }\n    /**\n     * Retrieves the name of the currency for the main country corresponding\n     * to a given locale. For example, 'US Dollar' for `en-US`.\n     * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n     *\n     * \\@publicApi\n     * @param {?} locale A locale code for the locale format rules to use.\n     * @return {?} The currency name,\n     * or `null` if the main country cannot be determined.\n     */\n\n\n    function getLocaleCurrencyName(locale) {\n      /** @type {?} */\n      var data = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵfindLocaleData\"])(locale);\n      return data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].CurrencyName] || null;\n    }\n    /**\n     * Retrieves the currency values for a given locale.\n     * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n     * @param {?} locale A locale code for the locale format rules to use.\n     * @return {?} The currency values.\n     */\n\n\n    function getLocaleCurrencies(locale) {\n      /** @type {?} */\n      var data = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵfindLocaleData\"])(locale);\n      return data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].Currencies];\n    }\n    /**\n     * \\@alias core/ɵgetLocalePluralCase\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var getLocalePluralCase = _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵgetLocalePluralCase\"];\n    /**\n     * @param {?} data\n     * @return {?}\n     */\n\n    function checkFullData(data) {\n      if (!data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].ExtraData]) {\n        throw new Error(\"Missing extra locale data for the locale \\\"\".concat(data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].LocaleId], \"\\\". Use \\\"registerLocaleData\\\" to load new data. See the \\\"I18n guide\\\" on angular.io to know more.\"));\n      }\n    }\n    /**\n     * Retrieves locale-specific rules used to determine which day period to use\n     * when more than one period is defined for a locale.\n     *\n     * There is a rule for each defined day period. The\n     * first rule is applied to the first day period and so on.\n     * Fall back to AM/PM when no rules are available.\n     *\n     * A rule can specify a period as time range, or as a single time value.\n     *\n     * This functionality is only available when you have loaded the full locale data.\n     * See the [\"I18n guide\"](guide/i18n#i18n-pipes).\n     *\n     * @see `getLocaleExtraDayPeriods()` / [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n     *\n     * \\@publicApi\n     * @param {?} locale A locale code for the locale format rules to use.\n     * @return {?} The rules for the locale, a single time value or array of *from-time, to-time*,\n     * or null if no periods are available.\n     *\n     */\n\n\n    function getLocaleExtraDayPeriodRules(locale) {\n      /** @type {?} */\n      var data = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵfindLocaleData\"])(locale);\n      checkFullData(data);\n      /** @type {?} */\n\n      var rules = data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].ExtraData][2\n      /* ExtraDayPeriodsRules */\n      ] || [];\n      return rules.map(\n      /**\n      * @param {?} rule\n      * @return {?}\n      */\n      function (rule) {\n        if (typeof rule === 'string') {\n          return extractTime(rule);\n        }\n\n        return [extractTime(rule[0]), extractTime(rule[1])];\n      });\n    }\n    /**\n     * Retrieves locale-specific day periods, which indicate roughly how a day is broken up\n     * in different languages.\n     * For example, for `en-US`, periods are morning, noon, afternoon, evening, and midnight.\n     *\n     * This functionality is only available when you have loaded the full locale data.\n     * See the [\"I18n guide\"](guide/i18n#i18n-pipes).\n     *\n     * @see `getLocaleExtraDayPeriodRules()` / [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n     *\n     * \\@publicApi\n     * @param {?} locale A locale code for the locale format rules to use.\n     * @param {?} formStyle The required grammatical form.\n     * @param {?} width The required character width.\n     * @return {?} The translated day-period strings.\n     */\n\n\n    function getLocaleExtraDayPeriods(locale, formStyle, width) {\n      /** @type {?} */\n      var data = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵfindLocaleData\"])(locale);\n      checkFullData(data);\n      /** @type {?} */\n\n      var dayPeriodsData =\n      /** @type {?} */\n      [data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].ExtraData][0\n      /* ExtraDayPeriodFormats */\n      ], data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].ExtraData][1\n      /* ExtraDayPeriodStandalone */\n      ]];\n      /** @type {?} */\n\n      var dayPeriods = getLastDefinedValue(dayPeriodsData, formStyle) || [];\n      return getLastDefinedValue(dayPeriods, width) || [];\n    }\n    /**\n     * Retrieves the first value that is defined in an array, going backwards from an index position.\n     *\n     * To avoid repeating the same data (as when the \"format\" and \"standalone\" forms are the same)\n     * add the first value to the locale data arrays, and add other values only if they are different.\n     *\n     * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n     *\n     * \\@publicApi\n     * @template T\n     * @param {?} data The data array to retrieve from.\n     * @param {?} index A 0-based index into the array to start from.\n     * @return {?} The value immediately before the given index position.\n     */\n\n\n    function getLastDefinedValue(data, index) {\n      for (var i = index; i > -1; i--) {\n        if (typeof data[i] !== 'undefined') {\n          return data[i];\n        }\n      }\n\n      throw new Error('Locale data API: locale data undefined');\n    }\n    /**\n     * Extracts the hours and minutes from a string like \"15:45\"\n     * @param {?} time\n     * @return {?}\n     */\n\n\n    function extractTime(time) {\n      var _time$split = time.split(':'),\n          _time$split2 = _slicedToArray(_time$split, 2),\n          h = _time$split2[0],\n          m = _time$split2[1];\n\n      return {\n        hours: +h,\n        minutes: +m\n      };\n    }\n    /**\n     * Retrieves the currency symbol for a given currency code.\n     *\n     * For example, for the default `en-US` locale, the code `USD` can\n     * be represented by the narrow symbol `$` or the wide symbol `US$`.\n     *\n     * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n     *\n     * \\@publicApi\n     * @param {?} code The currency code.\n     * @param {?} format The format, `wide` or `narrow`.\n     * @param {?=} locale A locale code for the locale format rules to use.\n     *\n     * @return {?} The symbol, or the currency code if no symbol is available.0\n     */\n\n\n    function getCurrencySymbol(code, format) {\n      var locale = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'en';\n\n      /** @type {?} */\n      var currency = getLocaleCurrencies(locale)[code] || CURRENCIES_EN[code] || [];\n      /** @type {?} */\n\n      var symbolNarrow = currency[1\n      /* SymbolNarrow */\n      ];\n\n      if (format === 'narrow' && typeof symbolNarrow === 'string') {\n        return symbolNarrow;\n      }\n\n      return currency[0\n      /* Symbol */\n      ] || code;\n    } // Most currencies have cents, that's why the default is 2\n\n    /** @type {?} */\n\n\n    var DEFAULT_NB_OF_CURRENCY_DIGITS = 2;\n    /**\n     * Reports the number of decimal digits for a given currency.\n     * The value depends upon the presence of cents in that particular currency.\n     *\n     * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n     *\n     * \\@publicApi\n     * @param {?} code The currency code.\n     * @return {?} The number of decimal digits, typically 0 or 2.\n     */\n\n    function getNumberOfCurrencyDigits(code) {\n      /** @type {?} */\n      var digits;\n      /** @type {?} */\n\n      var currency = CURRENCIES_EN[code];\n\n      if (currency) {\n        digits = currency[2\n        /* NbOfDigits */\n        ];\n      }\n\n      return typeof digits === 'number' ? digits : DEFAULT_NB_OF_CURRENCY_DIGITS;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var ISO8601_DATE_REGEX = /^(\\d{4})-?(\\d\\d)-?(\\d\\d)(?:T(\\d\\d)(?::?(\\d\\d)(?::?(\\d\\d)(?:\\.(\\d+))?)?)?(Z|([+-])(\\d\\d):?(\\d\\d))?)?$/; //    1        2       3         4          5          6          7          8  9     10      11\n\n    /** @type {?} */\n\n    var NAMED_FORMATS = {};\n    /** @type {?} */\n\n    var DATE_FORMATS_SPLIT = /((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\\s\\S]*)/;\n    /** @enum {number} */\n\n    var ZoneWidth = {\n      Short: 0,\n      ShortGMT: 1,\n      Long: 2,\n      Extended: 3\n    };\n    ZoneWidth[ZoneWidth.Short] = 'Short';\n    ZoneWidth[ZoneWidth.ShortGMT] = 'ShortGMT';\n    ZoneWidth[ZoneWidth.Long] = 'Long';\n    ZoneWidth[ZoneWidth.Extended] = 'Extended';\n    /** @enum {number} */\n\n    var DateType = {\n      FullYear: 0,\n      Month: 1,\n      Date: 2,\n      Hours: 3,\n      Minutes: 4,\n      Seconds: 5,\n      FractionalSeconds: 6,\n      Day: 7\n    };\n    DateType[DateType.FullYear] = 'FullYear';\n    DateType[DateType.Month] = 'Month';\n    DateType[DateType.Date] = 'Date';\n    DateType[DateType.Hours] = 'Hours';\n    DateType[DateType.Minutes] = 'Minutes';\n    DateType[DateType.Seconds] = 'Seconds';\n    DateType[DateType.FractionalSeconds] = 'FractionalSeconds';\n    DateType[DateType.Day] = 'Day';\n    /** @enum {number} */\n\n    var TranslationType = {\n      DayPeriods: 0,\n      Days: 1,\n      Months: 2,\n      Eras: 3\n    };\n    TranslationType[TranslationType.DayPeriods] = 'DayPeriods';\n    TranslationType[TranslationType.Days] = 'Days';\n    TranslationType[TranslationType.Months] = 'Months';\n    TranslationType[TranslationType.Eras] = 'Eras';\n    /**\n     * \\@ngModule CommonModule\n     * \\@description\n     *\n     * Formats a date according to locale rules.\n     *\n     * @see `DatePipe` / [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n     *\n     * \\@publicApi\n     * @param {?} value The date to format, as a Date, or a number (milliseconds since UTC epoch)\n     * or an [ISO date-time string](https://www.w3.org/TR/NOTE-datetime).\n     * @param {?} format The date-time components to include. See `DatePipe` for details.\n     * @param {?} locale A locale code for the locale format rules to use.\n     * @param {?=} timezone The time zone. A time zone offset from GMT (such as `'+0430'`),\n     * or a standard UTC/GMT or continental US time zone abbreviation.\n     * If not specified, uses host system settings.\n     *\n     * @return {?} The formatted date string.\n     *\n     */\n\n    function formatDate(value, format, locale, timezone) {\n      /** @type {?} */\n      var date = toDate(value);\n      /** @type {?} */\n\n      var namedFormat = getNamedFormat(locale, format);\n      format = namedFormat || format;\n      /** @type {?} */\n\n      var parts = [];\n      /** @type {?} */\n\n      var match;\n\n      while (format) {\n        match = DATE_FORMATS_SPLIT.exec(format);\n\n        if (match) {\n          parts = parts.concat(match.slice(1));\n          /** @type {?} */\n\n          var part = parts.pop();\n\n          if (!part) {\n            break;\n          }\n\n          format = part;\n        } else {\n          parts.push(format);\n          break;\n        }\n      }\n      /** @type {?} */\n\n\n      var dateTimezoneOffset = date.getTimezoneOffset();\n\n      if (timezone) {\n        dateTimezoneOffset = timezoneToOffset(timezone, dateTimezoneOffset);\n        date = convertTimezoneToLocal(date, timezone, true);\n      }\n      /** @type {?} */\n\n\n      var text = '';\n      parts.forEach(\n      /**\n      * @param {?} value\n      * @return {?}\n      */\n      function (value) {\n        /** @type {?} */\n        var dateFormatter = getDateFormatter(value);\n        text += dateFormatter ? dateFormatter(date, locale, dateTimezoneOffset) : value === '\\'\\'' ? '\\'' : value.replace(/(^'|'$)/g, '').replace(/''/g, '\\'');\n      });\n      return text;\n    }\n    /**\n     * @param {?} locale\n     * @param {?} format\n     * @return {?}\n     */\n\n\n    function getNamedFormat(locale, format) {\n      /** @type {?} */\n      var localeId = getLocaleId(locale);\n      NAMED_FORMATS[localeId] = NAMED_FORMATS[localeId] || {};\n\n      if (NAMED_FORMATS[localeId][format]) {\n        return NAMED_FORMATS[localeId][format];\n      }\n      /** @type {?} */\n\n\n      var formatValue = '';\n\n      switch (format) {\n        case 'shortDate':\n          formatValue = getLocaleDateFormat(locale, FormatWidth.Short);\n          break;\n\n        case 'mediumDate':\n          formatValue = getLocaleDateFormat(locale, FormatWidth.Medium);\n          break;\n\n        case 'longDate':\n          formatValue = getLocaleDateFormat(locale, FormatWidth.Long);\n          break;\n\n        case 'fullDate':\n          formatValue = getLocaleDateFormat(locale, FormatWidth.Full);\n          break;\n\n        case 'shortTime':\n          formatValue = getLocaleTimeFormat(locale, FormatWidth.Short);\n          break;\n\n        case 'mediumTime':\n          formatValue = getLocaleTimeFormat(locale, FormatWidth.Medium);\n          break;\n\n        case 'longTime':\n          formatValue = getLocaleTimeFormat(locale, FormatWidth.Long);\n          break;\n\n        case 'fullTime':\n          formatValue = getLocaleTimeFormat(locale, FormatWidth.Full);\n          break;\n\n        case 'short':\n          /** @type {?} */\n          var shortTime = getNamedFormat(locale, 'shortTime');\n          /** @type {?} */\n\n          var shortDate = getNamedFormat(locale, 'shortDate');\n          formatValue = formatDateTime(getLocaleDateTimeFormat(locale, FormatWidth.Short), [shortTime, shortDate]);\n          break;\n\n        case 'medium':\n          /** @type {?} */\n          var mediumTime = getNamedFormat(locale, 'mediumTime');\n          /** @type {?} */\n\n          var mediumDate = getNamedFormat(locale, 'mediumDate');\n          formatValue = formatDateTime(getLocaleDateTimeFormat(locale, FormatWidth.Medium), [mediumTime, mediumDate]);\n          break;\n\n        case 'long':\n          /** @type {?} */\n          var longTime = getNamedFormat(locale, 'longTime');\n          /** @type {?} */\n\n          var longDate = getNamedFormat(locale, 'longDate');\n          formatValue = formatDateTime(getLocaleDateTimeFormat(locale, FormatWidth.Long), [longTime, longDate]);\n          break;\n\n        case 'full':\n          /** @type {?} */\n          var fullTime = getNamedFormat(locale, 'fullTime');\n          /** @type {?} */\n\n          var fullDate = getNamedFormat(locale, 'fullDate');\n          formatValue = formatDateTime(getLocaleDateTimeFormat(locale, FormatWidth.Full), [fullTime, fullDate]);\n          break;\n      }\n\n      if (formatValue) {\n        NAMED_FORMATS[localeId][format] = formatValue;\n      }\n\n      return formatValue;\n    }\n    /**\n     * @param {?} str\n     * @param {?} opt_values\n     * @return {?}\n     */\n\n\n    function formatDateTime(str, opt_values) {\n      if (opt_values) {\n        str = str.replace(/\\{([^}]+)}/g,\n        /**\n        * @param {?} match\n        * @param {?} key\n        * @return {?}\n        */\n        function (match, key) {\n          return opt_values != null && key in opt_values ? opt_values[key] : match;\n        });\n      }\n\n      return str;\n    }\n    /**\n     * @param {?} num\n     * @param {?} digits\n     * @param {?=} minusSign\n     * @param {?=} trim\n     * @param {?=} negWrap\n     * @return {?}\n     */\n\n\n    function padNumber(num, digits) {\n      var minusSign = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '-';\n      var trim = arguments.length > 3 ? arguments[3] : undefined;\n      var negWrap = arguments.length > 4 ? arguments[4] : undefined;\n\n      /** @type {?} */\n      var neg = '';\n\n      if (num < 0 || negWrap && num <= 0) {\n        if (negWrap) {\n          num = -num + 1;\n        } else {\n          num = -num;\n          neg = minusSign;\n        }\n      }\n      /** @type {?} */\n\n\n      var strNum = String(num);\n\n      while (strNum.length < digits) {\n        strNum = '0' + strNum;\n      }\n\n      if (trim) {\n        strNum = strNum.substr(strNum.length - digits);\n      }\n\n      return neg + strNum;\n    }\n    /**\n     * @param {?} milliseconds\n     * @param {?} digits\n     * @return {?}\n     */\n\n\n    function formatFractionalSeconds(milliseconds, digits) {\n      /** @type {?} */\n      var strMs = padNumber(milliseconds, 3);\n      return strMs.substr(0, digits);\n    }\n    /**\n     * Returns a date formatter that transforms a date into its locale digit representation\n     * @param {?} name\n     * @param {?} size\n     * @param {?=} offset\n     * @param {?=} trim\n     * @param {?=} negWrap\n     * @return {?}\n     */\n\n\n    function dateGetter(name, size) {\n      var offset = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n      var trim = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;\n      var negWrap = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;\n      return (\n        /**\n        * @param {?} date\n        * @param {?} locale\n        * @return {?}\n        */\n        function (date, locale) {\n          /** @type {?} */\n          var part = getDatePart(name, date);\n\n          if (offset > 0 || part > -offset) {\n            part += offset;\n          }\n\n          if (name === DateType.Hours) {\n            if (part === 0 && offset === -12) {\n              part = 12;\n            }\n          } else if (name === DateType.FractionalSeconds) {\n            return formatFractionalSeconds(part, size);\n          }\n          /** @type {?} */\n\n\n          var localeMinus = getLocaleNumberSymbol(locale, NumberSymbol.MinusSign);\n          return padNumber(part, size, localeMinus, trim, negWrap);\n        }\n      );\n    }\n    /**\n     * @param {?} part\n     * @param {?} date\n     * @return {?}\n     */\n\n\n    function getDatePart(part, date) {\n      switch (part) {\n        case DateType.FullYear:\n          return date.getFullYear();\n\n        case DateType.Month:\n          return date.getMonth();\n\n        case DateType.Date:\n          return date.getDate();\n\n        case DateType.Hours:\n          return date.getHours();\n\n        case DateType.Minutes:\n          return date.getMinutes();\n\n        case DateType.Seconds:\n          return date.getSeconds();\n\n        case DateType.FractionalSeconds:\n          return date.getMilliseconds();\n\n        case DateType.Day:\n          return date.getDay();\n\n        default:\n          throw new Error(\"Unknown DateType value \\\"\".concat(part, \"\\\".\"));\n      }\n    }\n    /**\n     * Returns a date formatter that transforms a date into its locale string representation\n     * @param {?} name\n     * @param {?} width\n     * @param {?=} form\n     * @param {?=} extended\n     * @return {?}\n     */\n\n\n    function dateStrGetter(name, width) {\n      var form = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : FormStyle.Format;\n      var extended = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;\n      return (\n        /**\n        * @param {?} date\n        * @param {?} locale\n        * @return {?}\n        */\n        function (date, locale) {\n          return getDateTranslation(date, locale, name, width, form, extended);\n        }\n      );\n    }\n    /**\n     * Returns the locale translation of a date for a given form, type and width\n     * @param {?} date\n     * @param {?} locale\n     * @param {?} name\n     * @param {?} width\n     * @param {?} form\n     * @param {?} extended\n     * @return {?}\n     */\n\n\n    function getDateTranslation(date, locale, name, width, form, extended) {\n      switch (name) {\n        case TranslationType.Months:\n          return getLocaleMonthNames(locale, form, width)[date.getMonth()];\n\n        case TranslationType.Days:\n          return getLocaleDayNames(locale, form, width)[date.getDay()];\n\n        case TranslationType.DayPeriods:\n          /** @type {?} */\n          var currentHours = date.getHours();\n          /** @type {?} */\n\n          var currentMinutes = date.getMinutes();\n\n          if (extended) {\n            /** @type {?} */\n            var rules = getLocaleExtraDayPeriodRules(locale);\n            /** @type {?} */\n\n            var dayPeriods = getLocaleExtraDayPeriods(locale, form, width);\n            /** @type {?} */\n\n            var result;\n            rules.forEach(\n            /**\n            * @param {?} rule\n            * @param {?} index\n            * @return {?}\n            */\n            function (rule, index) {\n              if (Array.isArray(rule)) {\n                // morning, afternoon, evening, night\n                var _rule$ = rule[0],\n                    hoursFrom = _rule$.hours,\n                    minutesFrom = _rule$.minutes;\n                var _rule$2 = rule[1],\n                    hoursTo = _rule$2.hours,\n                    minutesTo = _rule$2.minutes;\n\n                if (currentHours >= hoursFrom && currentMinutes >= minutesFrom && (currentHours < hoursTo || currentHours === hoursTo && currentMinutes < minutesTo)) {\n                  result = dayPeriods[index];\n                }\n              } else {\n                // noon or midnight\n                // noon or midnight\n                var hours = rule.hours,\n                    minutes = rule.minutes;\n\n                if (hours === currentHours && minutes === currentMinutes) {\n                  result = dayPeriods[index];\n                }\n              }\n            });\n\n            if (result) {\n              return result;\n            }\n          } // if no rules for the day periods, we use am/pm by default\n\n\n          return getLocaleDayPeriods(locale, form,\n          /** @type {?} */\n          width)[currentHours < 12 ? 0 : 1];\n\n        case TranslationType.Eras:\n          return getLocaleEraNames(locale,\n          /** @type {?} */\n          width)[date.getFullYear() <= 0 ? 0 : 1];\n\n        default:\n          // This default case is not needed by TypeScript compiler, as the switch is exhaustive.\n          // However Closure Compiler does not understand that and reports an error in typed mode.\n          // The `throw new Error` below works around the problem, and the unexpected: never variable\n          // makes sure tsc still checks this code is unreachable.\n\n          /** @type {?} */\n          var unexpected = name;\n          throw new Error(\"unexpected translation type \".concat(unexpected));\n      }\n    }\n    /**\n     * Returns a date formatter that transforms a date and an offset into a timezone with ISO8601 or\n     * GMT format depending on the width (eg: short = +0430, short:GMT = GMT+4, long = GMT+04:30,\n     * extended = +04:30)\n     * @param {?} width\n     * @return {?}\n     */\n\n\n    function timeZoneGetter(width) {\n      return (\n        /**\n        * @param {?} date\n        * @param {?} locale\n        * @param {?} offset\n        * @return {?}\n        */\n        function (date, locale, offset) {\n          /** @type {?} */\n          var zone = -1 * offset;\n          /** @type {?} */\n\n          var minusSign = getLocaleNumberSymbol(locale, NumberSymbol.MinusSign);\n          /** @type {?} */\n\n          var hours = zone > 0 ? Math.floor(zone / 60) : Math.ceil(zone / 60);\n\n          switch (width) {\n            case ZoneWidth.Short:\n              return (zone >= 0 ? '+' : '') + padNumber(hours, 2, minusSign) + padNumber(Math.abs(zone % 60), 2, minusSign);\n\n            case ZoneWidth.ShortGMT:\n              return 'GMT' + (zone >= 0 ? '+' : '') + padNumber(hours, 1, minusSign);\n\n            case ZoneWidth.Long:\n              return 'GMT' + (zone >= 0 ? '+' : '') + padNumber(hours, 2, minusSign) + ':' + padNumber(Math.abs(zone % 60), 2, minusSign);\n\n            case ZoneWidth.Extended:\n              if (offset === 0) {\n                return 'Z';\n              } else {\n                return (zone >= 0 ? '+' : '') + padNumber(hours, 2, minusSign) + ':' + padNumber(Math.abs(zone % 60), 2, minusSign);\n              }\n\n            default:\n              throw new Error(\"Unknown zone width \\\"\".concat(width, \"\\\"\"));\n          }\n        }\n      );\n    }\n    /** @type {?} */\n\n\n    var JANUARY = 0;\n    /** @type {?} */\n\n    var THURSDAY = 4;\n    /**\n     * @param {?} year\n     * @return {?}\n     */\n\n    function getFirstThursdayOfYear(year) {\n      /** @type {?} */\n      var firstDayOfYear = new Date(year, JANUARY, 1).getDay();\n      return new Date(year, 0, 1 + (firstDayOfYear <= THURSDAY ? THURSDAY : THURSDAY + 7) - firstDayOfYear);\n    }\n    /**\n     * @param {?} datetime\n     * @return {?}\n     */\n\n\n    function getThursdayThisWeek(datetime) {\n      return new Date(datetime.getFullYear(), datetime.getMonth(), datetime.getDate() + (THURSDAY - datetime.getDay()));\n    }\n    /**\n     * @param {?} size\n     * @param {?=} monthBased\n     * @return {?}\n     */\n\n\n    function weekGetter(size) {\n      var monthBased = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n      return (\n        /**\n        * @param {?} date\n        * @param {?} locale\n        * @return {?}\n        */\n        function (date, locale) {\n          /** @type {?} */\n          var result;\n\n          if (monthBased) {\n            /** @type {?} */\n            var nbDaysBefore1stDayOfMonth = new Date(date.getFullYear(), date.getMonth(), 1).getDay() - 1;\n            /** @type {?} */\n\n            var today = date.getDate();\n            result = 1 + Math.floor((today + nbDaysBefore1stDayOfMonth) / 7);\n          } else {\n            /** @type {?} */\n            var firstThurs = getFirstThursdayOfYear(date.getFullYear());\n            /** @type {?} */\n\n            var thisThurs = getThursdayThisWeek(date);\n            /** @type {?} */\n\n            var diff = thisThurs.getTime() - firstThurs.getTime();\n            result = 1 + Math.round(diff / 6.048e8); // 6.048e8 ms per week\n          }\n\n          return padNumber(result, size, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign));\n        }\n      );\n    }\n    /** @type {?} */\n\n\n    var DATE_FORMATS = {}; // Based on CLDR formats:\n    // See complete list: http://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table\n    // See also explanations: http://cldr.unicode.org/translation/date-time\n    // TODO(ocombe): support all missing cldr formats: Y, U, Q, D, F, e, c, j, J, C, A, v, V, X, x\n\n    /**\n     * @param {?} format\n     * @return {?}\n     */\n\n    function getDateFormatter(format) {\n      if (DATE_FORMATS[format]) {\n        return DATE_FORMATS[format];\n      }\n      /** @type {?} */\n\n\n      var formatter;\n\n      switch (format) {\n        // Era name (AD/BC)\n        case 'G':\n        case 'GG':\n        case 'GGG':\n          formatter = dateStrGetter(TranslationType.Eras, TranslationWidth.Abbreviated);\n          break;\n\n        case 'GGGG':\n          formatter = dateStrGetter(TranslationType.Eras, TranslationWidth.Wide);\n          break;\n\n        case 'GGGGG':\n          formatter = dateStrGetter(TranslationType.Eras, TranslationWidth.Narrow);\n          break;\n        // 1 digit representation of the year, e.g. (AD 1 => 1, AD 199 => 199)\n\n        case 'y':\n          formatter = dateGetter(DateType.FullYear, 1, 0, false, true);\n          break;\n        // 2 digit representation of the year, padded (00-99). (e.g. AD 2001 => 01, AD 2010 => 10)\n\n        case 'yy':\n          formatter = dateGetter(DateType.FullYear, 2, 0, true, true);\n          break;\n        // 3 digit representation of the year, padded (000-999). (e.g. AD 2001 => 01, AD 2010 => 10)\n\n        case 'yyy':\n          formatter = dateGetter(DateType.FullYear, 3, 0, false, true);\n          break;\n        // 4 digit representation of the year (e.g. AD 1 => 0001, AD 2010 => 2010)\n\n        case 'yyyy':\n          formatter = dateGetter(DateType.FullYear, 4, 0, false, true);\n          break;\n        // Month of the year (1-12), numeric\n\n        case 'M':\n        case 'L':\n          formatter = dateGetter(DateType.Month, 1, 1);\n          break;\n\n        case 'MM':\n        case 'LL':\n          formatter = dateGetter(DateType.Month, 2, 1);\n          break;\n        // Month of the year (January, ...), string, format\n\n        case 'MMM':\n          formatter = dateStrGetter(TranslationType.Months, TranslationWidth.Abbreviated);\n          break;\n\n        case 'MMMM':\n          formatter = dateStrGetter(TranslationType.Months, TranslationWidth.Wide);\n          break;\n\n        case 'MMMMM':\n          formatter = dateStrGetter(TranslationType.Months, TranslationWidth.Narrow);\n          break;\n        // Month of the year (January, ...), string, standalone\n\n        case 'LLL':\n          formatter = dateStrGetter(TranslationType.Months, TranslationWidth.Abbreviated, FormStyle.Standalone);\n          break;\n\n        case 'LLLL':\n          formatter = dateStrGetter(TranslationType.Months, TranslationWidth.Wide, FormStyle.Standalone);\n          break;\n\n        case 'LLLLL':\n          formatter = dateStrGetter(TranslationType.Months, TranslationWidth.Narrow, FormStyle.Standalone);\n          break;\n        // Week of the year (1, ... 52)\n\n        case 'w':\n          formatter = weekGetter(1);\n          break;\n\n        case 'ww':\n          formatter = weekGetter(2);\n          break;\n        // Week of the month (1, ...)\n\n        case 'W':\n          formatter = weekGetter(1, true);\n          break;\n        // Day of the month (1-31)\n\n        case 'd':\n          formatter = dateGetter(DateType.Date, 1);\n          break;\n\n        case 'dd':\n          formatter = dateGetter(DateType.Date, 2);\n          break;\n        // Day of the Week\n\n        case 'E':\n        case 'EE':\n        case 'EEE':\n          formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Abbreviated);\n          break;\n\n        case 'EEEE':\n          formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Wide);\n          break;\n\n        case 'EEEEE':\n          formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Narrow);\n          break;\n\n        case 'EEEEEE':\n          formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Short);\n          break;\n        // Generic period of the day (am-pm)\n\n        case 'a':\n        case 'aa':\n        case 'aaa':\n          formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Abbreviated);\n          break;\n\n        case 'aaaa':\n          formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Wide);\n          break;\n\n        case 'aaaaa':\n          formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Narrow);\n          break;\n        // Extended period of the day (midnight, at night, ...), standalone\n\n        case 'b':\n        case 'bb':\n        case 'bbb':\n          formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Abbreviated, FormStyle.Standalone, true);\n          break;\n\n        case 'bbbb':\n          formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Wide, FormStyle.Standalone, true);\n          break;\n\n        case 'bbbbb':\n          formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Narrow, FormStyle.Standalone, true);\n          break;\n        // Extended period of the day (midnight, night, ...), standalone\n\n        case 'B':\n        case 'BB':\n        case 'BBB':\n          formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Abbreviated, FormStyle.Format, true);\n          break;\n\n        case 'BBBB':\n          formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Wide, FormStyle.Format, true);\n          break;\n\n        case 'BBBBB':\n          formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Narrow, FormStyle.Format, true);\n          break;\n        // Hour in AM/PM, (1-12)\n\n        case 'h':\n          formatter = dateGetter(DateType.Hours, 1, -12);\n          break;\n\n        case 'hh':\n          formatter = dateGetter(DateType.Hours, 2, -12);\n          break;\n        // Hour of the day (0-23)\n\n        case 'H':\n          formatter = dateGetter(DateType.Hours, 1);\n          break;\n        // Hour in day, padded (00-23)\n\n        case 'HH':\n          formatter = dateGetter(DateType.Hours, 2);\n          break;\n        // Minute of the hour (0-59)\n\n        case 'm':\n          formatter = dateGetter(DateType.Minutes, 1);\n          break;\n\n        case 'mm':\n          formatter = dateGetter(DateType.Minutes, 2);\n          break;\n        // Second of the minute (0-59)\n\n        case 's':\n          formatter = dateGetter(DateType.Seconds, 1);\n          break;\n\n        case 'ss':\n          formatter = dateGetter(DateType.Seconds, 2);\n          break;\n        // Fractional second\n\n        case 'S':\n          formatter = dateGetter(DateType.FractionalSeconds, 1);\n          break;\n\n        case 'SS':\n          formatter = dateGetter(DateType.FractionalSeconds, 2);\n          break;\n\n        case 'SSS':\n          formatter = dateGetter(DateType.FractionalSeconds, 3);\n          break;\n        // Timezone ISO8601 short format (-0430)\n\n        case 'Z':\n        case 'ZZ':\n        case 'ZZZ':\n          formatter = timeZoneGetter(ZoneWidth.Short);\n          break;\n        // Timezone ISO8601 extended format (-04:30)\n\n        case 'ZZZZZ':\n          formatter = timeZoneGetter(ZoneWidth.Extended);\n          break;\n        // Timezone GMT short format (GMT+4)\n\n        case 'O':\n        case 'OO':\n        case 'OOO': // Should be location, but fallback to format O instead because we don't have the data yet\n\n        case 'z':\n        case 'zz':\n        case 'zzz':\n          formatter = timeZoneGetter(ZoneWidth.ShortGMT);\n          break;\n        // Timezone GMT long format (GMT+0430)\n\n        case 'OOOO':\n        case 'ZZZZ': // Should be location, but fallback to format O instead because we don't have the data yet\n\n        case 'zzzz':\n          formatter = timeZoneGetter(ZoneWidth.Long);\n          break;\n\n        default:\n          return null;\n      }\n\n      DATE_FORMATS[format] = formatter;\n      return formatter;\n    }\n    /**\n     * @param {?} timezone\n     * @param {?} fallback\n     * @return {?}\n     */\n\n\n    function timezoneToOffset(timezone, fallback) {\n      // Support: IE 9-11 only, Edge 13-15+\n      // IE/Edge do not \"understand\" colon (`:`) in timezone\n      timezone = timezone.replace(/:/g, '');\n      /** @type {?} */\n\n      var requestedTimezoneOffset = Date.parse('Jan 01, 1970 00:00:00 ' + timezone) / 60000;\n      return isNaN(requestedTimezoneOffset) ? fallback : requestedTimezoneOffset;\n    }\n    /**\n     * @param {?} date\n     * @param {?} minutes\n     * @return {?}\n     */\n\n\n    function addDateMinutes(date, minutes) {\n      date = new Date(date.getTime());\n      date.setMinutes(date.getMinutes() + minutes);\n      return date;\n    }\n    /**\n     * @param {?} date\n     * @param {?} timezone\n     * @param {?} reverse\n     * @return {?}\n     */\n\n\n    function convertTimezoneToLocal(date, timezone, reverse) {\n      /** @type {?} */\n      var reverseValue = reverse ? -1 : 1;\n      /** @type {?} */\n\n      var dateTimezoneOffset = date.getTimezoneOffset();\n      /** @type {?} */\n\n      var timezoneOffset = timezoneToOffset(timezone, dateTimezoneOffset);\n      return addDateMinutes(date, reverseValue * (timezoneOffset - dateTimezoneOffset));\n    }\n    /**\n     * Converts a value to date.\n     *\n     * Supported input formats:\n     * - `Date`\n     * - number: timestamp\n     * - string: numeric (e.g. \"1234\"), ISO and date strings in a format supported by\n     *   [Date.parse()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/parse).\n     *   Note: ISO strings without time return a date without timeoffset.\n     *\n     * Throws if unable to convert to a date.\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function toDate(value) {\n      if (isDate(value)) {\n        return value;\n      }\n\n      if (typeof value === 'number' && !isNaN(value)) {\n        return new Date(value);\n      }\n\n      if (typeof value === 'string') {\n        value = value.trim();\n        /** @type {?} */\n\n        var parsedNb = parseFloat(value); // any string that only contains numbers, like \"1234\" but not like \"1234hello\"\n\n        if (!isNaN(\n        /** @type {?} */\n        value - parsedNb)) {\n          return new Date(parsedNb);\n        }\n\n        if (/^(\\d{4}-\\d{1,2}-\\d{1,2})$/.test(value)) {\n          /* For ISO Strings without time the day, month and year must be extracted from the ISO String\n                before Date creation to avoid time offset and errors in the new Date.\n                If we only replace '-' with ',' in the ISO String (\"2015,01,01\"), and try to create a new\n                date, some browsers (e.g. IE 9) will throw an invalid Date error.\n                If we leave the '-' (\"2015-01-01\") and try to create a new Date(\"2015-01-01\") the timeoffset\n                is applied.\n                Note: ISO months are 0 for January, 1 for February, ... */\n          var _value$split$map = value.split('-').map(\n          /**\n          * @param {?} val\n          * @return {?}\n          */\n          function (val) {\n            return +val;\n          }),\n              _value$split$map2 = _slicedToArray(_value$split$map, 3),\n              y = _value$split$map2[0],\n              m = _value$split$map2[1],\n              d = _value$split$map2[2];\n\n          return new Date(y, m - 1, d);\n        }\n        /** @type {?} */\n\n\n        var match;\n\n        if (match = value.match(ISO8601_DATE_REGEX)) {\n          return isoStringToDate(match);\n        }\n      }\n      /** @type {?} */\n\n\n      var date = new Date(\n      /** @type {?} */\n      value);\n\n      if (!isDate(date)) {\n        throw new Error(\"Unable to convert \\\"\".concat(value, \"\\\" into a date\"));\n      }\n\n      return date;\n    }\n    /**\n     * Converts a date in ISO8601 to a Date.\n     * Used instead of `Date.parse` because of browser discrepancies.\n     * @param {?} match\n     * @return {?}\n     */\n\n\n    function isoStringToDate(match) {\n      /** @type {?} */\n      var date = new Date(0);\n      /** @type {?} */\n\n      var tzHour = 0;\n      /** @type {?} */\n\n      var tzMin = 0; // match[8] means that the string contains \"Z\" (UTC) or a timezone like \"+01:00\" or \"+0100\"\n\n      /** @type {?} */\n\n      var dateSetter = match[8] ? date.setUTCFullYear : date.setFullYear;\n      /** @type {?} */\n\n      var timeSetter = match[8] ? date.setUTCHours : date.setHours; // if there is a timezone defined like \"+01:00\" or \"+0100\"\n\n      if (match[9]) {\n        tzHour = Number(match[9] + match[10]);\n        tzMin = Number(match[9] + match[11]);\n      }\n\n      dateSetter.call(date, Number(match[1]), Number(match[2]) - 1, Number(match[3]));\n      /** @type {?} */\n\n      var h = Number(match[4] || 0) - tzHour;\n      /** @type {?} */\n\n      var m = Number(match[5] || 0) - tzMin;\n      /** @type {?} */\n\n      var s = Number(match[6] || 0);\n      /** @type {?} */\n\n      var ms = Math.round(parseFloat('0.' + (match[7] || 0)) * 1000);\n      timeSetter.call(date, h, m, s, ms);\n      return date;\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function isDate(value) {\n      return value instanceof Date && !isNaN(value.valueOf());\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var NUMBER_FORMAT_REGEXP = /^(\\d+)?\\.((\\d+)(-(\\d+))?)?$/;\n    /** @type {?} */\n\n    var MAX_DIGITS = 22;\n    /** @type {?} */\n\n    var DECIMAL_SEP = '.';\n    /** @type {?} */\n\n    var ZERO_CHAR = '0';\n    /** @type {?} */\n\n    var PATTERN_SEP = ';';\n    /** @type {?} */\n\n    var GROUP_SEP = ',';\n    /** @type {?} */\n\n    var DIGIT_CHAR = '#';\n    /** @type {?} */\n\n    var CURRENCY_CHAR = '¤';\n    /** @type {?} */\n\n    var PERCENT_CHAR = '%';\n    /**\n     * Transforms a number to a locale string based on a style and a format.\n     * @param {?} value\n     * @param {?} pattern\n     * @param {?} locale\n     * @param {?} groupSymbol\n     * @param {?} decimalSymbol\n     * @param {?=} digitsInfo\n     * @param {?=} isPercent\n     * @return {?}\n     */\n\n    function formatNumberToLocaleString(value, pattern, locale, groupSymbol, decimalSymbol, digitsInfo) {\n      var isPercent = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : false;\n\n      /** @type {?} */\n      var formattedText = '';\n      /** @type {?} */\n\n      var isZero = false;\n\n      if (!isFinite(value)) {\n        formattedText = getLocaleNumberSymbol(locale, NumberSymbol.Infinity);\n      } else {\n        /** @type {?} */\n        var parsedNumber = parseNumber(value);\n\n        if (isPercent) {\n          parsedNumber = toPercent(parsedNumber);\n        }\n        /** @type {?} */\n\n\n        var minInt = pattern.minInt;\n        /** @type {?} */\n\n        var minFraction = pattern.minFrac;\n        /** @type {?} */\n\n        var maxFraction = pattern.maxFrac;\n\n        if (digitsInfo) {\n          /** @type {?} */\n          var parts = digitsInfo.match(NUMBER_FORMAT_REGEXP);\n\n          if (parts === null) {\n            throw new Error(\"\".concat(digitsInfo, \" is not a valid digit info\"));\n          }\n          /** @type {?} */\n\n\n          var minIntPart = parts[1];\n          /** @type {?} */\n\n          var minFractionPart = parts[3];\n          /** @type {?} */\n\n          var maxFractionPart = parts[5];\n\n          if (minIntPart != null) {\n            minInt = parseIntAutoRadix(minIntPart);\n          }\n\n          if (minFractionPart != null) {\n            minFraction = parseIntAutoRadix(minFractionPart);\n          }\n\n          if (maxFractionPart != null) {\n            maxFraction = parseIntAutoRadix(maxFractionPart);\n          } else if (minFractionPart != null && minFraction > maxFraction) {\n            maxFraction = minFraction;\n          }\n        }\n\n        roundNumber(parsedNumber, minFraction, maxFraction);\n        /** @type {?} */\n\n        var digits = parsedNumber.digits;\n        /** @type {?} */\n\n        var integerLen = parsedNumber.integerLen;\n        /** @type {?} */\n\n        var exponent = parsedNumber.exponent;\n        /** @type {?} */\n\n        var decimals = [];\n        isZero = digits.every(\n        /**\n        * @param {?} d\n        * @return {?}\n        */\n        function (d) {\n          return !d;\n        }); // pad zeros for small numbers\n\n        for (; integerLen < minInt; integerLen++) {\n          digits.unshift(0);\n        } // pad zeros for small numbers\n\n\n        for (; integerLen < 0; integerLen++) {\n          digits.unshift(0);\n        } // extract decimals digits\n\n\n        if (integerLen > 0) {\n          decimals = digits.splice(integerLen, digits.length);\n        } else {\n          decimals = digits;\n          digits = [0];\n        } // format the integer digits with grouping separators\n\n        /** @type {?} */\n\n\n        var groups = [];\n\n        if (digits.length >= pattern.lgSize) {\n          groups.unshift(digits.splice(-pattern.lgSize, digits.length).join(''));\n        }\n\n        while (digits.length > pattern.gSize) {\n          groups.unshift(digits.splice(-pattern.gSize, digits.length).join(''));\n        }\n\n        if (digits.length) {\n          groups.unshift(digits.join(''));\n        }\n\n        formattedText = groups.join(getLocaleNumberSymbol(locale, groupSymbol)); // append the decimal digits\n\n        if (decimals.length) {\n          formattedText += getLocaleNumberSymbol(locale, decimalSymbol) + decimals.join('');\n        }\n\n        if (exponent) {\n          formattedText += getLocaleNumberSymbol(locale, NumberSymbol.Exponential) + '+' + exponent;\n        }\n      }\n\n      if (value < 0 && !isZero) {\n        formattedText = pattern.negPre + formattedText + pattern.negSuf;\n      } else {\n        formattedText = pattern.posPre + formattedText + pattern.posSuf;\n      }\n\n      return formattedText;\n    }\n    /**\n     * \\@ngModule CommonModule\n     * \\@description\n     *\n     * Formats a number as currency using locale rules.\n     *\n     * @see `formatNumber()` / `DecimalPipe` / [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n     *\n     * \\@publicApi\n     * @param {?} value The number to format.\n     * @param {?} locale A locale code for the locale format rules to use.\n     * @param {?} currency A string containing the currency symbol or its name,\n     * such as \"$\" or \"Canadian Dollar\". Used in output string, but does not affect the operation\n     * of the function.\n     * @param {?=} currencyCode The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217)\n     * currency code, such as `USD` for the US dollar and `EUR` for the euro.\n     * Used to determine the number of digits in the decimal part.\n     * @param {?=} digitsInfo\n     * @return {?} The formatted currency value.\n     *\n     */\n\n\n    function formatCurrency(value, locale, currency, currencyCode, digitsInfo) {\n      /** @type {?} */\n      var format = getLocaleNumberFormat(locale, NumberFormatStyle.Currency);\n      /** @type {?} */\n\n      var pattern = parseNumberFormat(format, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign));\n      pattern.minFrac = getNumberOfCurrencyDigits(\n      /** @type {?} */\n      currencyCode);\n      pattern.maxFrac = pattern.minFrac;\n      /** @type {?} */\n\n      var res = formatNumberToLocaleString(value, pattern, locale, NumberSymbol.CurrencyGroup, NumberSymbol.CurrencyDecimal, digitsInfo);\n      return res.replace(CURRENCY_CHAR, currency) // if we have 2 time the currency character, the second one is ignored\n      .replace(CURRENCY_CHAR, '');\n    }\n    /**\n     * \\@ngModule CommonModule\n     * \\@description\n     *\n     * Formats a number as a percentage according to locale rules.\n     *\n     * @see `formatNumber()` / `DecimalPipe` / [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n     * \\@publicApi\n     *\n     * @param {?} value The number to format.\n     * @param {?} locale A locale code for the locale format rules to use.\n     * @param {?=} digitsInfo\n     * @return {?} The formatted percentage value.\n     *\n     */\n\n\n    function formatPercent(value, locale, digitsInfo) {\n      /** @type {?} */\n      var format = getLocaleNumberFormat(locale, NumberFormatStyle.Percent);\n      /** @type {?} */\n\n      var pattern = parseNumberFormat(format, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign));\n      /** @type {?} */\n\n      var res = formatNumberToLocaleString(value, pattern, locale, NumberSymbol.Group, NumberSymbol.Decimal, digitsInfo, true);\n      return res.replace(new RegExp(PERCENT_CHAR, 'g'), getLocaleNumberSymbol(locale, NumberSymbol.PercentSign));\n    }\n    /**\n     * \\@ngModule CommonModule\n     * \\@description\n     *\n     * Formats a number as text, with group sizing, separator, and other\n     * parameters based on the locale.\n     *\n     * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n     *\n     * \\@publicApi\n     * @param {?} value The number to format.\n     * @param {?} locale A locale code for the locale format rules to use.\n     * @param {?=} digitsInfo\n     * @return {?} The formatted text string.\n     */\n\n\n    function formatNumber(value, locale, digitsInfo) {\n      /** @type {?} */\n      var format = getLocaleNumberFormat(locale, NumberFormatStyle.Decimal);\n      /** @type {?} */\n\n      var pattern = parseNumberFormat(format, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign));\n      return formatNumberToLocaleString(value, pattern, locale, NumberSymbol.Group, NumberSymbol.Decimal, digitsInfo);\n    }\n    /**\n     * @record\n     */\n\n\n    function ParsedNumberFormat() {}\n\n    if (false) {}\n    /**\n     * @param {?} format\n     * @param {?=} minusSign\n     * @return {?}\n     */\n\n\n    function parseNumberFormat(format) {\n      var minusSign = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '-';\n\n      /** @type {?} */\n      var p = {\n        minInt: 1,\n        minFrac: 0,\n        maxFrac: 0,\n        posPre: '',\n        posSuf: '',\n        negPre: '',\n        negSuf: '',\n        gSize: 0,\n        lgSize: 0\n      };\n      /** @type {?} */\n\n      var patternParts = format.split(PATTERN_SEP);\n      /** @type {?} */\n\n      var positive = patternParts[0];\n      /** @type {?} */\n\n      var negative = patternParts[1];\n      /** @type {?} */\n\n      var positiveParts = positive.indexOf(DECIMAL_SEP) !== -1 ? positive.split(DECIMAL_SEP) : [positive.substring(0, positive.lastIndexOf(ZERO_CHAR) + 1), positive.substring(positive.lastIndexOf(ZERO_CHAR) + 1)];\n      /** @type {?} */\n\n      var integer = positiveParts[0];\n      /** @type {?} */\n\n      var fraction = positiveParts[1] || '';\n      p.posPre = integer.substr(0, integer.indexOf(DIGIT_CHAR));\n\n      for (var i = 0; i < fraction.length; i++) {\n        /** @type {?} */\n        var ch = fraction.charAt(i);\n\n        if (ch === ZERO_CHAR) {\n          p.minFrac = p.maxFrac = i + 1;\n        } else if (ch === DIGIT_CHAR) {\n          p.maxFrac = i + 1;\n        } else {\n          p.posSuf += ch;\n        }\n      }\n      /** @type {?} */\n\n\n      var groups = integer.split(GROUP_SEP);\n      p.gSize = groups[1] ? groups[1].length : 0;\n      p.lgSize = groups[2] || groups[1] ? (groups[2] || groups[1]).length : 0;\n\n      if (negative) {\n        /** @type {?} */\n        var trunkLen = positive.length - p.posPre.length - p.posSuf.length;\n        /** @type {?} */\n\n        var pos = negative.indexOf(DIGIT_CHAR);\n        p.negPre = negative.substr(0, pos).replace(/'/g, '');\n        p.negSuf = negative.substr(pos + trunkLen).replace(/'/g, '');\n      } else {\n        p.negPre = minusSign + p.posPre;\n        p.negSuf = p.posSuf;\n      }\n\n      return p;\n    }\n    /**\n     * @record\n     */\n\n\n    function ParsedNumber() {}\n\n    if (false) {} // Transforms a parsed number into a percentage by multiplying it by 100\n\n    /**\n     * @param {?} parsedNumber\n     * @return {?}\n     */\n\n\n    function toPercent(parsedNumber) {\n      // if the number is 0, don't do anything\n      if (parsedNumber.digits[0] === 0) {\n        return parsedNumber;\n      } // Getting the current number of decimals\n\n      /** @type {?} */\n\n\n      var fractionLen = parsedNumber.digits.length - parsedNumber.integerLen;\n\n      if (parsedNumber.exponent) {\n        parsedNumber.exponent += 2;\n      } else {\n        if (fractionLen === 0) {\n          parsedNumber.digits.push(0, 0);\n        } else if (fractionLen === 1) {\n          parsedNumber.digits.push(0);\n        }\n\n        parsedNumber.integerLen += 2;\n      }\n\n      return parsedNumber;\n    }\n    /**\n     * Parses a number.\n     * Significant bits of this parse algorithm came from https://github.com/MikeMcl/big.js/\n     * @param {?} num\n     * @return {?}\n     */\n\n\n    function parseNumber(num) {\n      /** @type {?} */\n      var numStr = Math.abs(num) + '';\n      /** @type {?} */\n\n      var exponent = 0;\n      /** @type {?} */\n\n      var digits;\n      /** @type {?} */\n\n      var integerLen;\n      /** @type {?} */\n\n      var i;\n      /** @type {?} */\n\n      var j;\n      /** @type {?} */\n\n      var zeros; // Decimal point?\n\n      if ((integerLen = numStr.indexOf(DECIMAL_SEP)) > -1) {\n        numStr = numStr.replace(DECIMAL_SEP, '');\n      } // Exponential form?\n\n\n      if ((i = numStr.search(/e/i)) > 0) {\n        // Work out the exponent.\n        if (integerLen < 0) integerLen = i;\n        integerLen += +numStr.slice(i + 1);\n        numStr = numStr.substring(0, i);\n      } else if (integerLen < 0) {\n        // There was no decimal point or exponent so it is an integer.\n        integerLen = numStr.length;\n      } // Count the number of leading zeros.\n\n\n      for (i = 0; numStr.charAt(i) === ZERO_CHAR; i++) {\n        /* empty */\n      }\n\n      if (i === (zeros = numStr.length)) {\n        // The digits are all zero.\n        digits = [0];\n        integerLen = 1;\n      } else {\n        // Count the number of trailing zeros\n        zeros--;\n\n        while (numStr.charAt(zeros) === ZERO_CHAR) {\n          zeros--;\n        } // Trailing zeros are insignificant so ignore them\n\n\n        integerLen -= i;\n        digits = []; // Convert string to array of digits without leading/trailing zeros.\n\n        for (j = 0; i <= zeros; i++, j++) {\n          digits[j] = Number(numStr.charAt(i));\n        }\n      } // If the number overflows the maximum allowed digits then use an exponent.\n\n\n      if (integerLen > MAX_DIGITS) {\n        digits = digits.splice(0, MAX_DIGITS - 1);\n        exponent = integerLen - 1;\n        integerLen = 1;\n      }\n\n      return {\n        digits: digits,\n        exponent: exponent,\n        integerLen: integerLen\n      };\n    }\n    /**\n     * Round the parsed number to the specified number of decimal places\n     * This function changes the parsedNumber in-place\n     * @param {?} parsedNumber\n     * @param {?} minFrac\n     * @param {?} maxFrac\n     * @return {?}\n     */\n\n\n    function roundNumber(parsedNumber, minFrac, maxFrac) {\n      if (minFrac > maxFrac) {\n        throw new Error(\"The minimum number of digits after fraction (\".concat(minFrac, \") is higher than the maximum (\").concat(maxFrac, \").\"));\n      }\n      /** @type {?} */\n\n\n      var digits = parsedNumber.digits;\n      /** @type {?} */\n\n      var fractionLen = digits.length - parsedNumber.integerLen;\n      /** @type {?} */\n\n      var fractionSize = Math.min(Math.max(minFrac, fractionLen), maxFrac); // The index of the digit to where rounding is to occur\n\n      /** @type {?} */\n\n      var roundAt = fractionSize + parsedNumber.integerLen;\n      /** @type {?} */\n\n      var digit = digits[roundAt];\n\n      if (roundAt > 0) {\n        // Drop fractional digits beyond `roundAt`\n        digits.splice(Math.max(parsedNumber.integerLen, roundAt)); // Set non-fractional digits beyond `roundAt` to 0\n\n        for (var j = roundAt; j < digits.length; j++) {\n          digits[j] = 0;\n        }\n      } else {\n        // We rounded to zero so reset the parsedNumber\n        fractionLen = Math.max(0, fractionLen);\n        parsedNumber.integerLen = 1;\n        digits.length = Math.max(1, roundAt = fractionSize + 1);\n        digits[0] = 0;\n\n        for (var i = 1; i < roundAt; i++) {\n          digits[i] = 0;\n        }\n      }\n\n      if (digit >= 5) {\n        if (roundAt - 1 < 0) {\n          for (var k = 0; k > roundAt; k--) {\n            digits.unshift(0);\n            parsedNumber.integerLen++;\n          }\n\n          digits.unshift(1);\n          parsedNumber.integerLen++;\n        } else {\n          digits[roundAt - 1]++;\n        }\n      } // Pad out with zeros to get the required fraction length\n\n\n      for (; fractionLen < Math.max(0, fractionSize); fractionLen++) {\n        digits.push(0);\n      }\n      /** @type {?} */\n\n\n      var dropTrailingZeros = fractionSize !== 0; // Minimal length = nb of decimals required + current nb of integers\n      // Any number besides that is optional and can be removed if it's a trailing 0\n\n      /** @type {?} */\n\n      var minLen = minFrac + parsedNumber.integerLen; // Do any carrying, e.g. a digit was rounded up to 10\n\n      /** @type {?} */\n\n      var carry = digits.reduceRight(\n      /**\n      * @param {?} carry\n      * @param {?} d\n      * @param {?} i\n      * @param {?} digits\n      * @return {?}\n      */\n      function (carry, d, i, digits) {\n        d = d + carry;\n        digits[i] = d < 10 ? d : d - 10; // d % 10\n\n        if (dropTrailingZeros) {\n          // Do not keep meaningless fractional trailing zeros (e.g. 15.52000 --> 15.52)\n          if (digits[i] === 0 && i >= minLen) {\n            digits.pop();\n          } else {\n            dropTrailingZeros = false;\n          }\n        }\n\n        return d >= 10 ? 1 : 0; // Math.floor(d / 10);\n      }, 0);\n\n      if (carry) {\n        digits.unshift(carry);\n        parsedNumber.integerLen++;\n      }\n    }\n    /**\n     * @param {?} text\n     * @return {?}\n     */\n\n\n    function parseIntAutoRadix(text) {\n      /** @type {?} */\n      var result = parseInt(text);\n\n      if (isNaN(result)) {\n        throw new Error('Invalid integer literal when parsing ' + text);\n      }\n\n      return result;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @deprecated from v5\n     * @type {?}\n     */\n\n\n    var DEPRECATED_PLURAL_FN = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('UseV4Plurals');\n    /**\n     * \\@publicApi\n     * @abstract\n     */\n\n    var NgLocalization = function NgLocalization() {\n      _classCallCheck(this, NgLocalization);\n    };\n\n    if (false) {}\n    /**\n     * Returns the plural category for a given value.\n     * - \"=value\" when the case exists,\n     * - the plural category otherwise\n     * @param {?} value\n     * @param {?} cases\n     * @param {?} ngLocalization\n     * @param {?=} locale\n     * @return {?}\n     */\n\n\n    function getPluralCategory(value, cases, ngLocalization, locale) {\n      /** @type {?} */\n      var key = \"=\".concat(value);\n\n      if (cases.indexOf(key) > -1) {\n        return key;\n      }\n\n      key = ngLocalization.getPluralCategory(value, locale);\n\n      if (cases.indexOf(key) > -1) {\n        return key;\n      }\n\n      if (cases.indexOf('other') > -1) {\n        return 'other';\n      }\n\n      throw new Error(\"No plural message found for value \\\"\".concat(value, \"\\\"\"));\n    }\n    /**\n     * Returns the plural case based on the locale\n     *\n     * \\@publicApi\n     */\n\n\n    var NgLocaleLocalization =\n    /*#__PURE__*/\n    function (_NgLocalization) {\n      _inherits(NgLocaleLocalization, _NgLocalization);\n\n      /**\n       * @param {?} locale\n       * @param {?=} deprecatedPluralFn\n       */\n      function NgLocaleLocalization(locale, deprecatedPluralFn) {\n        var _this124;\n\n        _classCallCheck(this, NgLocaleLocalization);\n\n        _this124 = _possibleConstructorReturn(this, _getPrototypeOf(NgLocaleLocalization).call(this));\n        _this124.locale = locale;\n        _this124.deprecatedPluralFn = deprecatedPluralFn;\n        return _this124;\n      }\n      /**\n       * @param {?} value\n       * @param {?=} locale\n       * @return {?}\n       */\n\n\n      _createClass2(NgLocaleLocalization, [{\n        key: \"getPluralCategory\",\n        value: function getPluralCategory(value, locale) {\n          /** @type {?} */\n          var plural = this.deprecatedPluralFn ? this.deprecatedPluralFn(locale || this.locale, value) : getLocalePluralCase(locale || this.locale)(value);\n\n          switch (plural) {\n            case Plural.Zero:\n              return 'zero';\n\n            case Plural.One:\n              return 'one';\n\n            case Plural.Two:\n              return 'two';\n\n            case Plural.Few:\n              return 'few';\n\n            case Plural.Many:\n              return 'many';\n\n            default:\n              return 'other';\n          }\n        }\n      }]);\n\n      return NgLocaleLocalization;\n    }(NgLocalization);\n\n    NgLocaleLocalization.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"]\n    }];\n    /** @nocollapse */\n\n    NgLocaleLocalization.ctorParameters = function () {\n      return [{\n        type: String,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"LOCALE_ID\"]]\n        }]\n      }, {\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [DEPRECATED_PLURAL_FN]\n        }]\n      }];\n    };\n\n    if (false) {}\n    /**\n     * Returns the plural case based on the locale\n     *\n     * @deprecated from v5 the plural case function is in locale data files common/locales/*.ts\n     * \\@publicApi\n     * @param {?} locale\n     * @param {?} nLike\n     * @return {?}\n     */\n\n\n    function getPluralCase(locale, nLike) {\n      // TODO(vicb): lazy compute\n      if (typeof nLike === 'string') {\n        nLike = parseInt(\n        /** @type {?} */\n        nLike, 10);\n      }\n      /** @type {?} */\n\n\n      var n =\n      /** @type {?} */\n      nLike;\n      /** @type {?} */\n\n      var nDecimal = n.toString().replace(/^[^.]*\\.?/, '');\n      /** @type {?} */\n\n      var i = Math.floor(Math.abs(n));\n      /** @type {?} */\n\n      var v = nDecimal.length;\n      /** @type {?} */\n\n      var f = parseInt(nDecimal, 10);\n      /** @type {?} */\n\n      var t = parseInt(n.toString().replace(/^[^.]*\\.?|0+$/g, ''), 10) || 0;\n      /** @type {?} */\n\n      var lang = locale.split('-')[0].toLowerCase();\n\n      switch (lang) {\n        case 'af':\n        case 'asa':\n        case 'az':\n        case 'bem':\n        case 'bez':\n        case 'bg':\n        case 'brx':\n        case 'ce':\n        case 'cgg':\n        case 'chr':\n        case 'ckb':\n        case 'ee':\n        case 'el':\n        case 'eo':\n        case 'es':\n        case 'eu':\n        case 'fo':\n        case 'fur':\n        case 'gsw':\n        case 'ha':\n        case 'haw':\n        case 'hu':\n        case 'jgo':\n        case 'jmc':\n        case 'ka':\n        case 'kk':\n        case 'kkj':\n        case 'kl':\n        case 'ks':\n        case 'ksb':\n        case 'ky':\n        case 'lb':\n        case 'lg':\n        case 'mas':\n        case 'mgo':\n        case 'ml':\n        case 'mn':\n        case 'nb':\n        case 'nd':\n        case 'ne':\n        case 'nn':\n        case 'nnh':\n        case 'nyn':\n        case 'om':\n        case 'or':\n        case 'os':\n        case 'ps':\n        case 'rm':\n        case 'rof':\n        case 'rwk':\n        case 'saq':\n        case 'seh':\n        case 'sn':\n        case 'so':\n        case 'sq':\n        case 'ta':\n        case 'te':\n        case 'teo':\n        case 'tk':\n        case 'tr':\n        case 'ug':\n        case 'uz':\n        case 'vo':\n        case 'vun':\n        case 'wae':\n        case 'xog':\n          if (n === 1) return Plural.One;\n          return Plural.Other;\n\n        case 'ak':\n        case 'ln':\n        case 'mg':\n        case 'pa':\n        case 'ti':\n          if (n === Math.floor(n) && n >= 0 && n <= 1) return Plural.One;\n          return Plural.Other;\n\n        case 'am':\n        case 'as':\n        case 'bn':\n        case 'fa':\n        case 'gu':\n        case 'hi':\n        case 'kn':\n        case 'mr':\n        case 'zu':\n          if (i === 0 || n === 1) return Plural.One;\n          return Plural.Other;\n\n        case 'ar':\n          if (n === 0) return Plural.Zero;\n          if (n === 1) return Plural.One;\n          if (n === 2) return Plural.Two;\n          if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10) return Plural.Few;\n          if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99) return Plural.Many;\n          return Plural.Other;\n\n        case 'ast':\n        case 'ca':\n        case 'de':\n        case 'en':\n        case 'et':\n        case 'fi':\n        case 'fy':\n        case 'gl':\n        case 'it':\n        case 'nl':\n        case 'sv':\n        case 'sw':\n        case 'ur':\n        case 'yi':\n          if (i === 1 && v === 0) return Plural.One;\n          return Plural.Other;\n\n        case 'be':\n          if (n % 10 === 1 && !(n % 100 === 11)) return Plural.One;\n          if (n % 10 === Math.floor(n % 10) && n % 10 >= 2 && n % 10 <= 4 && !(n % 100 >= 12 && n % 100 <= 14)) return Plural.Few;\n          if (n % 10 === 0 || n % 10 === Math.floor(n % 10) && n % 10 >= 5 && n % 10 <= 9 || n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 14) return Plural.Many;\n          return Plural.Other;\n\n        case 'br':\n          if (n % 10 === 1 && !(n % 100 === 11 || n % 100 === 71 || n % 100 === 91)) return Plural.One;\n          if (n % 10 === 2 && !(n % 100 === 12 || n % 100 === 72 || n % 100 === 92)) return Plural.Two;\n          if (n % 10 === Math.floor(n % 10) && (n % 10 >= 3 && n % 10 <= 4 || n % 10 === 9) && !(n % 100 >= 10 && n % 100 <= 19 || n % 100 >= 70 && n % 100 <= 79 || n % 100 >= 90 && n % 100 <= 99)) return Plural.Few;\n          if (!(n === 0) && n % 1e6 === 0) return Plural.Many;\n          return Plural.Other;\n\n        case 'bs':\n        case 'hr':\n        case 'sr':\n          if (v === 0 && i % 10 === 1 && !(i % 100 === 11) || f % 10 === 1 && !(f % 100 === 11)) return Plural.One;\n          if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && !(i % 100 >= 12 && i % 100 <= 14) || f % 10 === Math.floor(f % 10) && f % 10 >= 2 && f % 10 <= 4 && !(f % 100 >= 12 && f % 100 <= 14)) return Plural.Few;\n          return Plural.Other;\n\n        case 'cs':\n        case 'sk':\n          if (i === 1 && v === 0) return Plural.One;\n          if (i === Math.floor(i) && i >= 2 && i <= 4 && v === 0) return Plural.Few;\n          if (!(v === 0)) return Plural.Many;\n          return Plural.Other;\n\n        case 'cy':\n          if (n === 0) return Plural.Zero;\n          if (n === 1) return Plural.One;\n          if (n === 2) return Plural.Two;\n          if (n === 3) return Plural.Few;\n          if (n === 6) return Plural.Many;\n          return Plural.Other;\n\n        case 'da':\n          if (n === 1 || !(t === 0) && (i === 0 || i === 1)) return Plural.One;\n          return Plural.Other;\n\n        case 'dsb':\n        case 'hsb':\n          if (v === 0 && i % 100 === 1 || f % 100 === 1) return Plural.One;\n          if (v === 0 && i % 100 === 2 || f % 100 === 2) return Plural.Two;\n          if (v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 3 && i % 100 <= 4 || f % 100 === Math.floor(f % 100) && f % 100 >= 3 && f % 100 <= 4) return Plural.Few;\n          return Plural.Other;\n\n        case 'ff':\n        case 'fr':\n        case 'hy':\n        case 'kab':\n          if (i === 0 || i === 1) return Plural.One;\n          return Plural.Other;\n\n        case 'fil':\n          if (v === 0 && (i === 1 || i === 2 || i === 3) || v === 0 && !(i % 10 === 4 || i % 10 === 6 || i % 10 === 9) || !(v === 0) && !(f % 10 === 4 || f % 10 === 6 || f % 10 === 9)) return Plural.One;\n          return Plural.Other;\n\n        case 'ga':\n          if (n === 1) return Plural.One;\n          if (n === 2) return Plural.Two;\n          if (n === Math.floor(n) && n >= 3 && n <= 6) return Plural.Few;\n          if (n === Math.floor(n) && n >= 7 && n <= 10) return Plural.Many;\n          return Plural.Other;\n\n        case 'gd':\n          if (n === 1 || n === 11) return Plural.One;\n          if (n === 2 || n === 12) return Plural.Two;\n          if (n === Math.floor(n) && (n >= 3 && n <= 10 || n >= 13 && n <= 19)) return Plural.Few;\n          return Plural.Other;\n\n        case 'gv':\n          if (v === 0 && i % 10 === 1) return Plural.One;\n          if (v === 0 && i % 10 === 2) return Plural.Two;\n          if (v === 0 && (i % 100 === 0 || i % 100 === 20 || i % 100 === 40 || i % 100 === 60 || i % 100 === 80)) return Plural.Few;\n          if (!(v === 0)) return Plural.Many;\n          return Plural.Other;\n\n        case 'he':\n          if (i === 1 && v === 0) return Plural.One;\n          if (i === 2 && v === 0) return Plural.Two;\n          if (v === 0 && !(n >= 0 && n <= 10) && n % 10 === 0) return Plural.Many;\n          return Plural.Other;\n\n        case 'is':\n          if (t === 0 && i % 10 === 1 && !(i % 100 === 11) || !(t === 0)) return Plural.One;\n          return Plural.Other;\n\n        case 'ksh':\n          if (n === 0) return Plural.Zero;\n          if (n === 1) return Plural.One;\n          return Plural.Other;\n\n        case 'kw':\n        case 'naq':\n        case 'se':\n        case 'smn':\n          if (n === 1) return Plural.One;\n          if (n === 2) return Plural.Two;\n          return Plural.Other;\n\n        case 'lag':\n          if (n === 0) return Plural.Zero;\n          if ((i === 0 || i === 1) && !(n === 0)) return Plural.One;\n          return Plural.Other;\n\n        case 'lt':\n          if (n % 10 === 1 && !(n % 100 >= 11 && n % 100 <= 19)) return Plural.One;\n          if (n % 10 === Math.floor(n % 10) && n % 10 >= 2 && n % 10 <= 9 && !(n % 100 >= 11 && n % 100 <= 19)) return Plural.Few;\n          if (!(f === 0)) return Plural.Many;\n          return Plural.Other;\n\n        case 'lv':\n        case 'prg':\n          if (n % 10 === 0 || n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 19 || v === 2 && f % 100 === Math.floor(f % 100) && f % 100 >= 11 && f % 100 <= 19) return Plural.Zero;\n          if (n % 10 === 1 && !(n % 100 === 11) || v === 2 && f % 10 === 1 && !(f % 100 === 11) || !(v === 2) && f % 10 === 1) return Plural.One;\n          return Plural.Other;\n\n        case 'mk':\n          if (v === 0 && i % 10 === 1 || f % 10 === 1) return Plural.One;\n          return Plural.Other;\n\n        case 'mt':\n          if (n === 1) return Plural.One;\n          if (n === 0 || n % 100 === Math.floor(n % 100) && n % 100 >= 2 && n % 100 <= 10) return Plural.Few;\n          if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 19) return Plural.Many;\n          return Plural.Other;\n\n        case 'pl':\n          if (i === 1 && v === 0) return Plural.One;\n          if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && !(i % 100 >= 12 && i % 100 <= 14)) return Plural.Few;\n          if (v === 0 && !(i === 1) && i % 10 === Math.floor(i % 10) && i % 10 >= 0 && i % 10 <= 1 || v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 5 && i % 10 <= 9 || v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 12 && i % 100 <= 14) return Plural.Many;\n          return Plural.Other;\n\n        case 'pt':\n          if (n === Math.floor(n) && n >= 0 && n <= 2 && !(n === 2)) return Plural.One;\n          return Plural.Other;\n\n        case 'ro':\n          if (i === 1 && v === 0) return Plural.One;\n          if (!(v === 0) || n === 0 || !(n === 1) && n % 100 === Math.floor(n % 100) && n % 100 >= 1 && n % 100 <= 19) return Plural.Few;\n          return Plural.Other;\n\n        case 'ru':\n        case 'uk':\n          if (v === 0 && i % 10 === 1 && !(i % 100 === 11)) return Plural.One;\n          if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 && !(i % 100 >= 12 && i % 100 <= 14)) return Plural.Few;\n          if (v === 0 && i % 10 === 0 || v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 5 && i % 10 <= 9 || v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 11 && i % 100 <= 14) return Plural.Many;\n          return Plural.Other;\n\n        case 'shi':\n          if (i === 0 || n === 1) return Plural.One;\n          if (n === Math.floor(n) && n >= 2 && n <= 10) return Plural.Few;\n          return Plural.Other;\n\n        case 'si':\n          if (n === 0 || n === 1 || i === 0 && f === 1) return Plural.One;\n          return Plural.Other;\n\n        case 'sl':\n          if (v === 0 && i % 100 === 1) return Plural.One;\n          if (v === 0 && i % 100 === 2) return Plural.Two;\n          if (v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 3 && i % 100 <= 4 || !(v === 0)) return Plural.Few;\n          return Plural.Other;\n\n        case 'tzm':\n          if (n === Math.floor(n) && n >= 0 && n <= 1 || n === Math.floor(n) && n >= 11 && n <= 99) return Plural.One;\n          return Plural.Other;\n        // When there is no specification, the default is always \"other\"\n        // Spec: http://cldr.unicode.org/index/cldr-spec/plural-rules\n        // > other (required—general plural form — also used if the language only has a single form)\n\n        default:\n          return Plural.Other;\n      }\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Register global data to be used internally by Angular. See the\n     * [\"I18n guide\"](guide/i18n#i18n-pipes) to know how to import additional locale data.\n     *\n     * \\@publicApi\n     * @param {?} data\n     * @param {?=} localeId\n     * @param {?=} extraData\n     * @return {?}\n     */\n    // The signature registerLocaleData(data: any, extraData?: any) is deprecated since v5.1\n\n\n    function registerLocaleData(data, localeId, extraData) {\n      if (typeof localeId !== 'string') {\n        extraData = localeId;\n        localeId = data[_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].LocaleId];\n      }\n\n      localeId = localeId.toLowerCase().replace(/_/g, '-');\n      _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLOCALE_DATA\"][localeId] = data;\n\n      if (extraData) {\n        _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLOCALE_DATA\"][localeId][_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵLocaleDataIndex\"].ExtraData] = extraData;\n      }\n    }\n    /** @enum {number} */\n\n\n    var ExtraLocaleDataIndex = {\n      ExtraDayPeriodFormats: 0,\n      ExtraDayPeriodStandalone: 1,\n      ExtraDayPeriodsRules: 2\n    };\n    /** @enum {number} */\n\n    var CurrencyIndex = {\n      Symbol: 0,\n      SymbolNarrow: 1,\n      NbOfDigits: 2\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * @param {?} cookieStr\n     * @param {?} name\n     * @return {?}\n     */\n\n    function parseCookieValue(cookieStr, name) {\n      name = encodeURIComponent(name);\n      var _iteratorNormalCompletion7 = true;\n      var _didIteratorError7 = false;\n      var _iteratorError7 = undefined;\n\n      try {\n        for (var _iterator7 = cookieStr.split(';')[Symbol.iterator](), _step7; !(_iteratorNormalCompletion7 = (_step7 = _iterator7.next()).done); _iteratorNormalCompletion7 = true) {\n          var cookie = _step7.value;\n\n          /** @type {?} */\n          var eqIndex = cookie.indexOf('=');\n\n          var _ref4 = eqIndex == -1 ? [cookie, ''] : [cookie.slice(0, eqIndex), cookie.slice(eqIndex + 1)],\n              _ref5 = _slicedToArray(_ref4, 2),\n              cookieName = _ref5[0],\n              cookieValue = _ref5[1];\n\n          if (cookieName.trim() === name) {\n            return decodeURIComponent(cookieValue);\n          }\n        }\n      } catch (err) {\n        _didIteratorError7 = true;\n        _iteratorError7 = err;\n      } finally {\n        try {\n          if (!_iteratorNormalCompletion7 && _iterator7.return != null) {\n            _iterator7.return();\n          }\n        } finally {\n          if (_didIteratorError7) {\n            throw _iteratorError7;\n          }\n        }\n      }\n\n      return null;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * Used to diff and convert ngStyle/ngClass instructions into [style] and [class] bindings.\n     *\n     * ngStyle and ngClass both accept various forms of input and behave differently than that\n     * of how [style] and [class] behave in Angular.\n     *\n     * The differences are:\n     *  - ngStyle and ngClass both **watch** their binding values for changes each time CD runs\n     *    while [style] and [class] bindings do not (they check for identity changes)\n     *  - ngStyle allows for unit-based keys (e.g. `{'max-width.px':value}`) and [style] does not\n     *  - ngClass supports arrays of class values and [class] only accepts map and string values\n     *  - ngClass allows for multiple className keys (space-separated) within an array or map\n     *     (as the * key) while [class] only accepts a simple key/value map object\n     *\n     * Having Angular understand and adapt to all the different forms of behavior is complicated\n     * and unnecessary. Instead, ngClass and ngStyle should have their input values be converted\n     * into something that the core-level [style] and [class] bindings understand.\n     *\n     * This [StylingDiffer] class handles this conversion by creating a new input value each time\n     * the inner representation of the binding value have changed.\n     *\n     * ## Why do we care about ngStyle/ngClass?\n     * The styling algorithm code (documented inside of `render3/interfaces/styling.ts`) needs to\n     * respect and understand the styling values emitted through ngStyle and ngClass (when they\n     * are present and used in a template).\n     *\n     * Instead of having these directives manage styling on their own, they should be included\n     * into the Angular styling algorithm that exists for [style] and [class] bindings.\n     *\n     * Here's why:\n     *\n     * - If ngStyle/ngClass is used in combination with [style]/[class] bindings then the\n     *   styles and classes would fall out of sync and be applied and updated at\n     *   inconsistent times\n     * - Both ngClass/ngStyle do not respect [class.name] and [style.prop] bindings\n     *   (they will write over them given the right combination of events)\n     *\n     *   ```\n     *   <!-- if `w1` is updated then it will always override `w2`\n     *        if `w2` is updated then it will always override `w1`\n     *        if both are updated at the same time then `w1` wins -->\n     *   <div [ngStyle]=\"{width:w1}\" [style.width]=\"w2\">...</div>\n     *\n     *   <!-- if `w1` is updated then it will always lose to `w2`\n     *        if `w2` is updated then it will always override `w1`\n     *        if both are updated at the same time then `w2` wins -->\n     *   <div [style]=\"{width:w1}\" [style.width]=\"w2\">...</div>\n     *   ```\n     * - ngClass/ngStyle were written as a directives and made use of maps, closures and other\n     *   expensive data structures which were evaluated each time CD runs\n     * @template T\n     */\n\n\n    var StylingDiffer =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _name\n       * @param {?} _options\n       */\n      function StylingDiffer(_name, _options) {\n        _classCallCheck(this, StylingDiffer);\n\n        this._name = _name;\n        this._options = _options;\n        this.value = null;\n        this._lastSetValue = null;\n        this._lastSetValueType = 0\n        /* Null */\n        ;\n        this._lastSetValueIdentityChange = false;\n      }\n      /**\n       * Sets (updates) the styling value within the differ.\n       *\n       * Only when `hasValueChanged` is called then this new value will be evaluted\n       * and checked against the previous value.\n       *\n       * @param {?} value the new styling value provided from the ngClass/ngStyle binding\n       * @return {?}\n       */\n\n\n      _createClass2(StylingDiffer, [{\n        key: \"setValue\",\n        value: function setValue(value) {\n          if (Array.isArray(value)) {\n            this._lastSetValueType = 4\n            /* Array */\n            ;\n          } else if (value instanceof Set) {\n            this._lastSetValueType = 8\n            /* Set */\n            ;\n          } else if (value && typeof value === 'string') {\n            if (!(this._options & 4\n            /* AllowStringValue */\n            )) {\n              throw new Error(this._name + ' string values are not allowed');\n            }\n\n            this._lastSetValueType = 1\n            /* String */\n            ;\n          } else {\n            this._lastSetValueType = value ? 2\n            /* Map */\n            : 0\n            /* Null */\n            ;\n          }\n\n          this._lastSetValueIdentityChange = true;\n          this._lastSetValue = value || null;\n        }\n        /**\n         * Determines whether or not the value has changed.\n         *\n         * This function can be called right after `setValue()` is called, but it can also be\n         * called incase the existing value (if it's a collection) changes internally. If the\n         * value is indeed a collection it will do the necessary diffing work and produce a\n         * new object value as assign that to `value`.\n         *\n         * @return {?} whether or not the value has changed in some way.\n         */\n\n      }, {\n        key: \"hasValueChanged\",\n        value: function hasValueChanged() {\n          /** @type {?} */\n          var valueHasChanged = this._lastSetValueIdentityChange;\n          if (!valueHasChanged && !(this._lastSetValueType & 14\n          /* Collection */\n          )) return false;\n          /** @type {?} */\n\n          var finalValue = null;\n          /** @type {?} */\n\n          var trimValues = this._options & 1\n          /* TrimProperties */\n          ? true : false;\n          /** @type {?} */\n\n          var parseOutUnits = this._options & 8\n          /* AllowUnits */\n          ? true : false;\n          /** @type {?} */\n\n          var allowSubKeys = this._options & 2\n          /* AllowSubKeys */\n          ? true : false;\n\n          switch (this._lastSetValueType) {\n            // case 1: [input]=\"string\"\n            case 1\n            /* String */\n            :\n              /** @type {?} */\n              var tokens =\n              /** @type {?} */\n              this._lastSetValue.split(/\\s+/g);\n\n              if (this._options & 16\n              /* ForceAsMap */\n              ) {\n                  finalValue = {};\n                  tokens.forEach(\n                  /**\n                  * @param {?} token\n                  * @param {?} i\n                  * @return {?}\n                  */\n                  function (token, i) {\n                    return (\n                      /** @type {?} */\n                      finalValue[token] = true\n                    );\n                  });\n                } else {\n                finalValue = tokens.reduce(\n                /**\n                * @param {?} str\n                * @param {?} token\n                * @param {?} i\n                * @return {?}\n                */\n                function (str, token, i) {\n                  return str + (i ? ' ' : '') + token;\n                });\n              }\n\n              break;\n            // case 2: [input]=\"{key:value}\"\n\n            case 2\n            /* Map */\n            :\n              /** @type {?} */\n              var map =\n              /** @type {?} */\n              this._lastSetValue;\n              /** @type {?} */\n\n              var keys = Object.keys(map);\n\n              if (!valueHasChanged) {\n                if (this.value) {\n                  // we know that the classExp value exists and that it is\n                  // a map (otherwise an identity change would have occurred)\n                  valueHasChanged = mapHasChanged(keys,\n                  /** @type {?} */\n                  this.value, map);\n                } else {\n                  valueHasChanged = true;\n                }\n              }\n\n              if (valueHasChanged) {\n                finalValue = bulidMapFromValues(this._name, trimValues, parseOutUnits, allowSubKeys, map, keys);\n              }\n\n              break;\n            // case 3a: [input]=\"[str1, str2, ...]\"\n            // case 3b: [input]=\"Set\"\n\n            case 4\n            /* Array */\n            :\n            case 8\n            /* Set */\n            :\n              /** @type {?} */\n              var values = Array.from(\n              /** @type {?} */\n              this._lastSetValue);\n\n              if (!valueHasChanged) {\n                /** @type {?} */\n                var _keys = Object.keys(\n                /** @type {?} */\n                this.value);\n\n                valueHasChanged = !arrayEqualsArray(_keys, values);\n              }\n\n              if (valueHasChanged) {\n                finalValue = bulidMapFromValues(this._name, trimValues, parseOutUnits, allowSubKeys, values);\n              }\n\n              break;\n            // case 4: [input]=\"null|undefined\"\n\n            default:\n              finalValue = null;\n              break;\n          }\n\n          if (valueHasChanged) {\n            /** @type {?} */\n            this.value =\n            /** @type {?} */\n            finalValue;\n          }\n\n          return valueHasChanged;\n        }\n      }]);\n\n      return StylingDiffer;\n    }();\n\n    if (false) {}\n    /** @enum {number} */\n\n\n    var StylingDifferOptions = {\n      None: 0,\n      TrimProperties: 1,\n      AllowSubKeys: 2,\n      AllowStringValue: 4,\n      AllowUnits: 8,\n      ForceAsMap: 16\n    };\n    /** @enum {number} */\n\n    var StylingDifferValueTypes = {\n      Null: 0,\n      String: 1,\n      Map: 2,\n      Array: 4,\n      Set: 8,\n      Collection: 14\n    };\n    /**\n     * builds and returns a map based on the values input value\n     *\n     * If the `keys` param is provided then the `values` param is treated as a\n     * string map. Otherwise `values` is treated as a string array.\n     * @param {?} errorPrefix\n     * @param {?} trim\n     * @param {?} parseOutUnits\n     * @param {?} allowSubKeys\n     * @param {?} values\n     * @param {?=} keys\n     * @return {?}\n     */\n\n    function bulidMapFromValues(errorPrefix, trim, parseOutUnits, allowSubKeys, values, keys) {\n      /** @type {?} */\n      var map = {};\n\n      if (keys) {\n        // case 1: map\n        for (var i = 0; i < keys.length; i++) {\n          /** @type {?} */\n          var key = keys[i];\n          key = trim ? key.trim() : key;\n          /** @type {?} */\n\n          var value =\n          /** @type {?} */\n          values[key];\n          setMapValues(map, key, value, parseOutUnits, allowSubKeys);\n        }\n      } else {\n        // case 2: array\n        for (var _i9 = 0; _i9 < values.length; _i9++) {\n          /** @type {?} */\n          var _value2 =\n          /** @type {?} */\n          values[_i9];\n          assertValidValue(errorPrefix, _value2);\n          _value2 = trim ? _value2.trim() : _value2;\n          setMapValues(map, _value2, true, false, allowSubKeys);\n        }\n      }\n\n      return map;\n    }\n    /**\n     * @param {?} errorPrefix\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function assertValidValue(errorPrefix, value) {\n      if (typeof value !== 'string') {\n        throw new Error(\"\".concat(errorPrefix, \" can only toggle CSS classes expressed as strings, got \").concat(value));\n      }\n    }\n    /**\n     * @param {?} map\n     * @param {?} key\n     * @param {?} value\n     * @param {?} parseOutUnits\n     * @param {?} allowSubKeys\n     * @return {?}\n     */\n\n\n    function setMapValues(map, key, value, parseOutUnits, allowSubKeys) {\n      if (allowSubKeys && key.indexOf(' ') > 0) {\n        /** @type {?} */\n        var innerKeys = key.split(/\\s+/g);\n\n        for (var j = 0; j < innerKeys.length; j++) {\n          setIndividualMapValue(map, innerKeys[j], value, parseOutUnits);\n        }\n      } else {\n        setIndividualMapValue(map, key, value, parseOutUnits);\n      }\n    }\n    /**\n     * @param {?} map\n     * @param {?} key\n     * @param {?} value\n     * @param {?} parseOutUnits\n     * @return {?}\n     */\n\n\n    function setIndividualMapValue(map, key, value, parseOutUnits) {\n      if (parseOutUnits) {\n        /** @type {?} */\n        var values = normalizeStyleKeyAndValue(key, value);\n        value = values.value;\n        key = values.key;\n      }\n\n      map[key] = value;\n    }\n    /**\n     * @param {?} key\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function normalizeStyleKeyAndValue(key, value) {\n      /** @type {?} */\n      var index = key.indexOf('.');\n\n      if (index > 0) {\n        /** @type {?} */\n        var unit = key.substr(index + 1);\n        key = key.substring(0, index);\n\n        if (value != null) {\n          // we should not convert null values to string\n          value += unit;\n        }\n      }\n\n      return {\n        key: key,\n        value: value\n      };\n    }\n    /**\n     * @param {?} keys\n     * @param {?} a\n     * @param {?} b\n     * @return {?}\n     */\n\n\n    function mapHasChanged(keys, a, b) {\n      /** @type {?} */\n      var oldKeys = Object.keys(a);\n      /** @type {?} */\n\n      var newKeys = keys; // the keys are different which means the map changed\n\n      if (!arrayEqualsArray(oldKeys, newKeys)) {\n        return true;\n      }\n\n      for (var i = 0; i < newKeys.length; i++) {\n        /** @type {?} */\n        var key = newKeys[i];\n\n        if (a[key] !== b[key]) {\n          return true;\n        }\n      }\n\n      return false;\n    }\n    /**\n     * @param {?} a\n     * @param {?} b\n     * @return {?}\n     */\n\n\n    function arrayEqualsArray(a, b) {\n      if (a && b) {\n        if (a.length !== b.length) return false;\n\n        for (var i = 0; i < a.length; i++) {\n          if (b.indexOf(a[i]) === -1) return false;\n        }\n\n        return true;\n      }\n\n      return false;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Used as a token for an injected service within the NgClass directive.\n     *\n     * NgClass behaves differenly whether or not VE is being used or not. If\n     * present then the legacy ngClass diffing algorithm will be used as an\n     * injected service. Otherwise the new diffing algorithm (which delegates\n     * to the `[class]` binding) will be used. This toggle behavior is done so\n     * via the ivy_switch mechanism.\n     * @abstract\n     */\n\n\n    var NgClassImpl = function NgClassImpl() {\n      _classCallCheck(this, NgClassImpl);\n    };\n\n    if (false) {}\n\n    var NgClassR2Impl =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _iterableDiffers\n       * @param {?} _keyValueDiffers\n       * @param {?} _ngEl\n       * @param {?} _renderer\n       */\n      function NgClassR2Impl(_iterableDiffers, _keyValueDiffers, _ngEl, _renderer) {\n        _classCallCheck(this, NgClassR2Impl);\n\n        this._iterableDiffers = _iterableDiffers;\n        this._keyValueDiffers = _keyValueDiffers;\n        this._ngEl = _ngEl;\n        this._renderer = _renderer;\n        this._initialClasses = [];\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(NgClassR2Impl, [{\n        key: \"getValue\",\n        value: function getValue() {\n          return null;\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"setClass\",\n        value: function setClass(value) {\n          this._removeClasses(this._initialClasses);\n\n          this._initialClasses = typeof value === 'string' ? value.split(/\\s+/) : [];\n\n          this._applyClasses(this._initialClasses);\n\n          this._applyClasses(this._rawClass);\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"setNgClass\",\n        value: function setNgClass(value) {\n          this._removeClasses(this._rawClass);\n\n          this._applyClasses(this._initialClasses);\n\n          this._iterableDiffer = null;\n          this._keyValueDiffer = null;\n          this._rawClass = typeof value === 'string' ? value.split(/\\s+/) : value;\n\n          if (this._rawClass) {\n            if (Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵisListLikeIterable\"])(this._rawClass)) {\n              this._iterableDiffer = this._iterableDiffers.find(this._rawClass).create();\n            } else {\n              this._keyValueDiffer = this._keyValueDiffers.find(this._rawClass).create();\n            }\n          }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"applyChanges\",\n        value: function applyChanges() {\n          if (this._iterableDiffer) {\n            /** @type {?} */\n            var iterableChanges = this._iterableDiffer.diff(\n            /** @type {?} */\n            this._rawClass);\n\n            if (iterableChanges) {\n              this._applyIterableChanges(iterableChanges);\n            }\n          } else if (this._keyValueDiffer) {\n            /** @type {?} */\n            var keyValueChanges = this._keyValueDiffer.diff(\n            /** @type {?} */\n            this._rawClass);\n\n            if (keyValueChanges) {\n              this._applyKeyValueChanges(keyValueChanges);\n            }\n          }\n        }\n        /**\n         * @private\n         * @param {?} changes\n         * @return {?}\n         */\n\n      }, {\n        key: \"_applyKeyValueChanges\",\n        value: function _applyKeyValueChanges(changes) {\n          var _this125 = this;\n\n          changes.forEachAddedItem(\n          /**\n          * @param {?} record\n          * @return {?}\n          */\n          function (record) {\n            return _this125._toggleClass(record.key, record.currentValue);\n          });\n          changes.forEachChangedItem(\n          /**\n          * @param {?} record\n          * @return {?}\n          */\n          function (record) {\n            return _this125._toggleClass(record.key, record.currentValue);\n          });\n          changes.forEachRemovedItem(\n          /**\n          * @param {?} record\n          * @return {?}\n          */\n          function (record) {\n            if (record.previousValue) {\n              _this125._toggleClass(record.key, false);\n            }\n          });\n        }\n        /**\n         * @private\n         * @param {?} changes\n         * @return {?}\n         */\n\n      }, {\n        key: \"_applyIterableChanges\",\n        value: function _applyIterableChanges(changes) {\n          var _this126 = this;\n\n          changes.forEachAddedItem(\n          /**\n          * @param {?} record\n          * @return {?}\n          */\n          function (record) {\n            if (typeof record.item === 'string') {\n              _this126._toggleClass(record.item, true);\n            } else {\n              throw new Error(\"NgClass can only toggle CSS classes expressed as strings, got \".concat(Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵstringify\"])(record.item)));\n            }\n          });\n          changes.forEachRemovedItem(\n          /**\n          * @param {?} record\n          * @return {?}\n          */\n          function (record) {\n            return _this126._toggleClass(record.item, false);\n          });\n        }\n        /**\n         * Applies a collection of CSS classes to the DOM element.\n         *\n         * For argument of type Set and Array CSS class names contained in those collections are always\n         * added.\n         * For argument of type Map CSS class name in the map's key is toggled based on the value (added\n         * for truthy and removed for falsy).\n         * @private\n         * @param {?} rawClassVal\n         * @return {?}\n         */\n\n      }, {\n        key: \"_applyClasses\",\n        value: function _applyClasses(rawClassVal) {\n          var _this127 = this;\n\n          if (rawClassVal) {\n            if (Array.isArray(rawClassVal) || rawClassVal instanceof Set) {\n              /** @type {?} */\n              rawClassVal.forEach(\n              /**\n              * @param {?} klass\n              * @return {?}\n              */\n              function (klass) {\n                return _this127._toggleClass(klass, true);\n              });\n            } else {\n              Object.keys(rawClassVal).forEach(\n              /**\n              * @param {?} klass\n              * @return {?}\n              */\n              function (klass) {\n                return _this127._toggleClass(klass, !!rawClassVal[klass]);\n              });\n            }\n          }\n        }\n        /**\n         * Removes a collection of CSS classes from the DOM element. This is mostly useful for cleanup\n         * purposes.\n         * @private\n         * @param {?} rawClassVal\n         * @return {?}\n         */\n\n      }, {\n        key: \"_removeClasses\",\n        value: function _removeClasses(rawClassVal) {\n          var _this128 = this;\n\n          if (rawClassVal) {\n            if (Array.isArray(rawClassVal) || rawClassVal instanceof Set) {\n              /** @type {?} */\n              rawClassVal.forEach(\n              /**\n              * @param {?} klass\n              * @return {?}\n              */\n              function (klass) {\n                return _this128._toggleClass(klass, false);\n              });\n            } else {\n              Object.keys(rawClassVal).forEach(\n              /**\n              * @param {?} klass\n              * @return {?}\n              */\n              function (klass) {\n                return _this128._toggleClass(klass, false);\n              });\n            }\n          }\n        }\n        /**\n         * @private\n         * @param {?} klass\n         * @param {?} enabled\n         * @return {?}\n         */\n\n      }, {\n        key: \"_toggleClass\",\n        value: function _toggleClass(klass, enabled) {\n          var _this129 = this;\n\n          klass = klass.trim();\n\n          if (klass) {\n            klass.split(/\\s+/g).forEach(\n            /**\n            * @param {?} klass\n            * @return {?}\n            */\n            function (klass) {\n              if (enabled) {\n                _this129._renderer.addClass(_this129._ngEl.nativeElement, klass);\n              } else {\n                _this129._renderer.removeClass(_this129._ngEl.nativeElement, klass);\n              }\n            });\n          }\n        }\n      }]);\n\n      return NgClassR2Impl;\n    }();\n\n    NgClassR2Impl.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"]\n    }];\n    /** @nocollapse */\n\n    NgClassR2Impl.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"IterableDiffers\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"KeyValueDiffers\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Renderer2\"]\n      }];\n    };\n\n    if (false) {}\n\n    var NgClassR3Impl =\n    /*#__PURE__*/\n    function () {\n      function NgClassR3Impl() {\n        _classCallCheck(this, NgClassR3Impl);\n\n        this._value = null;\n        this._ngClassDiffer = new StylingDiffer('NgClass', 1\n        /* TrimProperties */\n        | 2\n        /* AllowSubKeys */\n        | 4\n        /* AllowStringValue */\n        | 16\n        /* ForceAsMap */\n        );\n        this._classStringDiffer = null;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(NgClassR3Impl, [{\n        key: \"getValue\",\n        value: function getValue() {\n          return this._value;\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"setClass\",\n        value: function setClass(value) {\n          // early exit incase the binding gets emitted as an empty value which\n          // means there is no reason to instantiate and diff the values...\n          if (!value && !this._classStringDiffer) return;\n          this._classStringDiffer = this._classStringDiffer || new StylingDiffer('class', 4\n          /* AllowStringValue */\n          | 16\n          /* ForceAsMap */\n          );\n\n          this._classStringDiffer.setValue(value);\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"setNgClass\",\n        value: function setNgClass(value) {\n          this._ngClassDiffer.setValue(value);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"applyChanges\",\n        value: function applyChanges() {\n          /** @type {?} */\n          var classChanged = this._classStringDiffer ? this._classStringDiffer.hasValueChanged() : false;\n          /** @type {?} */\n\n          var ngClassChanged = this._ngClassDiffer.hasValueChanged();\n\n          if (classChanged || ngClassChanged) {\n            /** @type {?} */\n            var value = this._ngClassDiffer.value;\n\n            if (this._classStringDiffer) {\n              /** @type {?} */\n              var classValue = this._classStringDiffer.value;\n\n              if (classValue) {\n                value = value ? Object.assign({}, classValue, value) : classValue;\n              }\n            }\n\n            this._value = value;\n          }\n        }\n      }]);\n\n      return NgClassR3Impl;\n    }();\n\n    NgClassR3Impl.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"]\n    }];\n\n    if (false) {} // the implementation for both NgStyleR2Impl and NgStyleR3Impl are\n    // not ivy_switch'd away, instead they are only hooked up into the\n    // DI via NgStyle's directive's provider property.\n\n    /** @type {?} */\n\n\n    var NgClassImplProvider__PRE_R3__ = {\n      provide: NgClassImpl,\n      useClass: NgClassR2Impl\n    };\n    /** @type {?} */\n\n    var NgClassImplProvider__POST_R3__ = {\n      provide: NgClassImpl,\n      useClass: NgClassR3Impl\n    };\n    /** @type {?} */\n\n    var NgClassImplProvider = NgClassImplProvider__PRE_R3__;\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /*\n     * NgClass (as well as NgStyle) behaves differently when loaded in the VE and when not.\n     *\n     * If the VE is present (which is for older versions of Angular) then NgClass will inject\n     * the legacy diffing algorithm as a service and delegate all styling changes to that.\n     *\n     * If the VE is not present then NgStyle will normalize (through the injected service) and\n     * then write all styling changes to the `[style]` binding directly (through a host binding).\n     * Then Angular will notice the host binding change and treat the changes as styling\n     * changes and apply them via the core styling instructions that exist within Angular.\n     */\n    // used when the VE is present\n\n    /** @type {?} */\n\n    var ngClassDirectiveDef__PRE_R3__ = undefined; // used when the VE is not present (note the directive will\n    // never be instantiated normally because it is apart of a\n    // base class)\n\n    var ɵ0 =\n    /**\n    * @return {?}\n    */\n    function ɵ0() {},\n        ɵ1 =\n    /**\n    * @return {?}\n    */\n    function ɵ1() {},\n        ɵ2 =\n    /**\n    * @param {?} rf\n    * @param {?} ctx\n    * @param {?} elIndex\n    * @return {?}\n    */\n    function ɵ2(rf, ctx, elIndex) {\n      if (rf & 1\n      /* Create */\n      ) {\n          Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵallocHostVars\"])(1);\n          Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵstyling\"])();\n        }\n\n      if (rf & 2\n      /* Update */\n      ) {\n          Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵclassMap\"])(ctx.getValue());\n          Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵstylingApply\"])();\n        }\n    };\n    /** @type {?} */\n\n\n    var ngClassDirectiveDef__POST_R3__ = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineDirective\"])({\n      type:\n      /** @type {?} */\n      ɵ0,\n      selectors:\n      /** @type {?} */\n      null,\n      factory: ɵ1,\n      hostBindings: ɵ2\n    });\n    /** @type {?} */\n\n    var ngClassDirectiveDef = ngClassDirectiveDef__PRE_R3__;\n    /**\n     * Serves as the base non-VE container for NgClass.\n     *\n     * While this is a base class that NgClass extends from, the\n     * class itself acts as a container for non-VE code to setup\n     * a link to the `[class]` host binding (via the static\n     * `ngDirectiveDef` property on the class).\n     *\n     * Note that the `ngDirectiveDef` property's code is switched\n     * depending if VE is present or not (this allows for the\n     * binding code to be set only for newer versions of Angular).\n     *\n     * \\@publicApi\n     */\n\n    var NgClassBase =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _delegate\n       */\n      function NgClassBase(_delegate) {\n        _classCallCheck(this, NgClassBase);\n\n        this._delegate = _delegate;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(NgClassBase, [{\n        key: \"getValue\",\n        value: function getValue() {\n          return this._delegate.getValue();\n        }\n      }]);\n\n      return NgClassBase;\n    }();\n    /** @nocollapse */\n\n\n    NgClassBase.ngDirectiveDef = ngClassDirectiveDef;\n\n    if (false) {}\n    /**\n     * \\@ngModule CommonModule\n     *\n     * \\@usageNotes\n     * ```\n     *     <some-element [ngClass]=\"'first second'\">...</some-element>\n     *\n     *     <some-element [ngClass]=\"['first', 'second']\">...</some-element>\n     *\n     *     <some-element [ngClass]=\"{'first': true, 'second': true, 'third': false}\">...</some-element>\n     *\n     *     <some-element [ngClass]=\"stringExp|arrayExp|objExp\">...</some-element>\n     *\n     *     <some-element [ngClass]=\"{'class1 class2 class3' : true}\">...</some-element>\n     * ```\n     *\n     * \\@description\n     *\n     * Adds and removes CSS classes on an HTML element.\n     *\n     * The CSS classes are updated as follows, depending on the type of the expression evaluation:\n     * - `string` - the CSS classes listed in the string (space delimited) are added,\n     * - `Array` - the CSS classes declared as Array elements are added,\n     * - `Object` - keys are CSS classes that get added when the expression given in the value\n     *              evaluates to a truthy value, otherwise they are removed.\n     *\n     * \\@publicApi\n     */\n\n\n    var NgClass =\n    /*#__PURE__*/\n    function (_NgClassBase) {\n      _inherits(NgClass, _NgClassBase);\n\n      /**\n       * @param {?} delegate\n       */\n      function NgClass(delegate) {\n        _classCallCheck(this, NgClass);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(NgClass).call(this, delegate));\n      }\n      /**\n       * @param {?} value\n       * @return {?}\n       */\n\n\n      _createClass2(NgClass, [{\n        key: \"ngDoCheck\",\n\n        /**\n         * @return {?}\n         */\n        value: function ngDoCheck() {\n          this._delegate.applyChanges();\n        }\n      }, {\n        key: \"klass\",\n        set: function set(value) {\n          this._delegate.setClass(value);\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngClass\",\n        set: function set(value) {\n          this._delegate.setNgClass(value);\n        }\n      }]);\n\n      return NgClass;\n    }(NgClassBase);\n\n    NgClass.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: '[ngClass]',\n        providers: [NgClassImplProvider]\n      }]\n    }];\n    /** @nocollapse */\n\n    NgClass.ctorParameters = function () {\n      return [{\n        type: NgClassImpl\n      }];\n    };\n\n    NgClass.propDecorators = {\n      klass: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"],\n        args: ['class']\n      }],\n      ngClass: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"],\n        args: ['ngClass']\n      }]\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Instantiates a single {\\@link Component} type and inserts its Host View into current View.\n     * `NgComponentOutlet` provides a declarative approach for dynamic component creation.\n     *\n     * `NgComponentOutlet` requires a component type, if a falsy value is set the view will clear and\n     * any existing component will get destroyed.\n     *\n     * \\@usageNotes\n     *\n     * ### Fine tune control\n     *\n     * You can control the component creation process by using the following optional attributes:\n     *\n     * * `ngComponentOutletInjector`: Optional custom {\\@link Injector} that will be used as parent for\n     * the Component. Defaults to the injector of the current view container.\n     *\n     * * `ngComponentOutletContent`: Optional list of projectable nodes to insert into the content\n     * section of the component, if exists.\n     *\n     * * `ngComponentOutletNgModuleFactory`: Optional module factory to allow dynamically loading other\n     * module, then load a component from that module.\n     *\n     * ### Syntax\n     *\n     * Simple\n     * ```\n     * <ng-container *ngComponentOutlet=\"componentTypeExpression\"></ng-container>\n     * ```\n     *\n     * Customized injector/content\n     * ```\n     * <ng-container *ngComponentOutlet=\"componentTypeExpression;\n     *                                   injector: injectorExpression;\n     *                                   content: contentNodesExpression;\">\n     * </ng-container>\n     * ```\n     *\n     * Customized ngModuleFactory\n     * ```\n     * <ng-container *ngComponentOutlet=\"componentTypeExpression;\n     *                                   ngModuleFactory: moduleFactory;\">\n     * </ng-container>\n     * ```\n     *\n     * ### A simple example\n     *\n     * {\\@example common/ngComponentOutlet/ts/module.ts region='SimpleExample'}\n     *\n     * A more complete example with additional options:\n     *\n     * {\\@example common/ngComponentOutlet/ts/module.ts region='CompleteExample'}\n     *\n     * \\@publicApi\n     * \\@ngModule CommonModule\n     */\n\n    var NgComponentOutlet =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _viewContainerRef\n       */\n      function NgComponentOutlet(_viewContainerRef) {\n        _classCallCheck(this, NgComponentOutlet);\n\n        this._viewContainerRef = _viewContainerRef;\n        this._componentRef = null;\n        this._moduleRef = null;\n      }\n      /**\n       * @param {?} changes\n       * @return {?}\n       */\n\n\n      _createClass2(NgComponentOutlet, [{\n        key: \"ngOnChanges\",\n        value: function ngOnChanges(changes) {\n          this._viewContainerRef.clear();\n\n          this._componentRef = null;\n\n          if (this.ngComponentOutlet) {\n            /** @type {?} */\n            var elInjector = this.ngComponentOutletInjector || this._viewContainerRef.parentInjector;\n\n            if (changes['ngComponentOutletNgModuleFactory']) {\n              if (this._moduleRef) this._moduleRef.destroy();\n\n              if (this.ngComponentOutletNgModuleFactory) {\n                /** @type {?} */\n                var parentModule = elInjector.get(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModuleRef\"]);\n                this._moduleRef = this.ngComponentOutletNgModuleFactory.create(parentModule.injector);\n              } else {\n                this._moduleRef = null;\n              }\n            }\n            /** @type {?} */\n\n\n            var componentFactoryResolver = this._moduleRef ? this._moduleRef.componentFactoryResolver : elInjector.get(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ComponentFactoryResolver\"]);\n            /** @type {?} */\n\n            var componentFactory = componentFactoryResolver.resolveComponentFactory(this.ngComponentOutlet);\n            this._componentRef = this._viewContainerRef.createComponent(componentFactory, this._viewContainerRef.length, elInjector, this.ngComponentOutletContent);\n          }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          if (this._moduleRef) this._moduleRef.destroy();\n        }\n      }]);\n\n      return NgComponentOutlet;\n    }();\n\n    NgComponentOutlet.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: '[ngComponentOutlet]'\n      }]\n    }];\n    /** @nocollapse */\n\n    NgComponentOutlet.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ViewContainerRef\"]\n      }];\n    };\n\n    NgComponentOutlet.propDecorators = {\n      ngComponentOutlet: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"]\n      }],\n      ngComponentOutletInjector: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"]\n      }],\n      ngComponentOutletContent: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"]\n      }],\n      ngComponentOutletNgModuleFactory: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"]\n      }]\n    };\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * \\@publicApi\n     * @template T\n     */\n\n\n    var NgForOfContext =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} $implicit\n       * @param {?} ngForOf\n       * @param {?} index\n       * @param {?} count\n       */\n      function NgForOfContext($implicit, ngForOf, index, count) {\n        _classCallCheck(this, NgForOfContext);\n\n        this.$implicit = $implicit;\n        this.ngForOf = ngForOf;\n        this.index = index;\n        this.count = count;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(NgForOfContext, [{\n        key: \"first\",\n        get: function get() {\n          return this.index === 0;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"last\",\n        get: function get() {\n          return this.index === this.count - 1;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"even\",\n        get: function get() {\n          return this.index % 2 === 0;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"odd\",\n        get: function get() {\n          return !this.even;\n        }\n      }]);\n\n      return NgForOfContext;\n    }();\n\n    if (false) {}\n    /**\n     * A [structural directive](guide/structural-directives) that renders\n     * a template for each item in a collection.\n     * The directive is placed on an element, which becomes the parent\n     * of the cloned templates.\n     *\n     * The `ngForOf` directive is generally used in the\n     * [shorthand form](guide/structural-directives#the-asterisk--prefix) `*ngFor`.\n     * In this form, the template to be rendered for each iteration is the content\n     * of an anchor element containing the directive.\n     *\n     * The following example shows the shorthand syntax with some options,\n     * contained in an `<li>` element.\n     *\n     * ```\n     * <li *ngFor=\"let item of items; index as i; trackBy: trackByFn\">...</li>\n     * ```\n     *\n     * The shorthand form expands into a long form that uses the `ngForOf` selector\n     * on an `<ng-template>` element.\n     * The content of the `<ng-template>` element is the `<li>` element that held the\n     * short-form directive.\n     *\n     * Here is the expanded version of the short-form example.\n     *\n     * ```\n     * <ng-template ngFor let-item [ngForOf]=\"items\" let-i=\"index\" [ngForTrackBy]=\"trackByFn\">\n     *   <li>...</li>\n     * </ng-template>\n     * ```\n     *\n     * Angular automatically expands the shorthand syntax as it compiles the template.\n     * The context for each embedded view is logically merged to the current component\n     * context according to its lexical position.\n     *\n     * When using the shorthand syntax, Angular allows only [one structural directive\n     * on an element](guide/structural-directives#one-structural-directive-per-host-element).\n     * If you want to iterate conditionally, for example,\n     * put the `*ngIf` on a container element that wraps the `*ngFor` element.\n     * For futher discussion, see\n     * [Structural Directives](guide/structural-directives#one-per-element).\n     *\n     * \\@usageNotes\n     *\n     * ### Local variables\n     *\n     * `NgForOf` provides exported values that can be aliased to local variables.\n     * For example:\n     *\n     *  ```\n     * <li *ngFor=\"let user of userObservable | async as users; index as i; first as isFirst\">\n     *    {{i}}/{{users.length}}. {{user}} <span *ngIf=\"isFirst\">default</span>\n     * </li>\n     * ```\n     *\n     * The following exported values can be aliased to local variables:\n     *\n     * - `$implicit: T`: The value of the individual items in the iterable (`ngForOf`).\n     * - `ngForOf: NgIterable<T>`: The value of the iterable expression. Useful when the expression is\n     * more complex then a property access, for example when using the async pipe (`userStreams |\n     * async`).\n     * - `index: number`: The index of the current item in the iterable.\n     * - `first: boolean`: True when the item is the first item in the iterable.\n     * - `last: boolean`: True when the item is the last item in the iterable.\n     * - `even: boolean`: True when the item has an even index in the iterable.\n     * - `odd: boolean`: True when the item has an odd index in the iterable.\n     *\n     * ### Change propagation\n     *\n     * When the contents of the iterator changes, `NgForOf` makes the corresponding changes to the DOM:\n     *\n     * * When an item is added, a new instance of the template is added to the DOM.\n     * * When an item is removed, its template instance is removed from the DOM.\n     * * When items are reordered, their respective templates are reordered in the DOM.\n     *\n     * Angular uses object identity to track insertions and deletions within the iterator and reproduce\n     * those changes in the DOM. This has important implications for animations and any stateful\n     * controls that are present, such as `<input>` elements that accept user input. Inserted rows can\n     * be animated in, deleted rows can be animated out, and unchanged rows retain any unsaved state\n     * such as user input.\n     * For more on animations, see [Transitions and Triggers](guide/transition-and-triggers).\n     *\n     * The identities of elements in the iterator can change while the data does not.\n     * This can happen, for example, if the iterator is produced from an RPC to the server, and that\n     * RPC is re-run. Even if the data hasn't changed, the second response produces objects with\n     * different identities, and Angular must tear down the entire DOM and rebuild it (as if all old\n     * elements were deleted and all new elements inserted).\n     *\n     * To avoid this expensive operation, you can customize the default tracking algorithm.\n     * by supplying the `trackBy` option to `NgForOf`.\n     * `trackBy` takes a function that has two arguments: `index` and `item`.\n     * If `trackBy` is given, Angular tracks changes by the return value of the function.\n     *\n     * @see [Structural Directives](guide/structural-directives)\n     * \\@ngModule CommonModule\n     * \\@publicApi\n     * @template T\n     */\n\n\n    var NgForOf =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _viewContainer\n       * @param {?} _template\n       * @param {?} _differs\n       */\n      function NgForOf(_viewContainer, _template, _differs) {\n        _classCallCheck(this, NgForOf);\n\n        this._viewContainer = _viewContainer;\n        this._template = _template;\n        this._differs = _differs;\n        this._ngForOfDirty = true;\n        this._differ = null;\n      }\n      /**\n       * The value of the iterable expression, which can be used as a\n       * [template input variable](guide/structural-directives#template-input-variable).\n       * @param {?} ngForOf\n       * @return {?}\n       */\n\n\n      _createClass2(NgForOf, [{\n        key: \"ngDoCheck\",\n\n        /**\n         * Applies the changes when needed.\n         * @return {?}\n         */\n        value: function ngDoCheck() {\n          if (this._ngForOfDirty) {\n            this._ngForOfDirty = false; // React on ngForOf changes only once all inputs have been initialized\n\n            /** @type {?} */\n\n            var value = this._ngForOf;\n\n            if (!this._differ && value) {\n              try {\n                this._differ = this._differs.find(value).create(this.ngForTrackBy);\n              } catch (_a) {\n                throw new Error(\"Cannot find a differ supporting object '\".concat(value, \"' of type '\").concat(getTypeName(value), \"'. NgFor only supports binding to Iterables such as Arrays.\"));\n              }\n            }\n          }\n\n          if (this._differ) {\n            /** @type {?} */\n            var changes = this._differ.diff(this._ngForOf);\n\n            if (changes) this._applyChanges(changes);\n          }\n        }\n        /**\n         * @private\n         * @param {?} changes\n         * @return {?}\n         */\n\n      }, {\n        key: \"_applyChanges\",\n        value: function _applyChanges(changes) {\n          var _this130 = this;\n\n          /** @type {?} */\n          var insertTuples = [];\n          changes.forEachOperation(\n          /**\n          * @param {?} item\n          * @param {?} adjustedPreviousIndex\n          * @param {?} currentIndex\n          * @return {?}\n          */\n          function (item, adjustedPreviousIndex, currentIndex) {\n            if (item.previousIndex == null) {\n              /** @type {?} */\n              var view = _this130._viewContainer.createEmbeddedView(_this130._template, new NgForOfContext(\n              /** @type {?} */\n              null, _this130._ngForOf, -1, -1), currentIndex === null ? undefined : currentIndex);\n              /** @type {?} */\n\n\n              var tuple = new RecordViewTuple(item, view);\n              insertTuples.push(tuple);\n            } else if (currentIndex == null) {\n              _this130._viewContainer.remove(adjustedPreviousIndex === null ? undefined : adjustedPreviousIndex);\n            } else if (adjustedPreviousIndex !== null) {\n              /** @type {?} */\n              var _view3 =\n              /** @type {?} */\n              _this130._viewContainer.get(adjustedPreviousIndex);\n\n              _this130._viewContainer.move(_view3, currentIndex);\n              /** @type {?} */\n\n\n              var _tuple = new RecordViewTuple(item,\n              /** @type {?} */\n              _view3);\n\n              insertTuples.push(_tuple);\n            }\n          });\n\n          for (var i = 0; i < insertTuples.length; i++) {\n            this._perViewChange(insertTuples[i].view, insertTuples[i].record);\n          }\n\n          for (var _i10 = 0, ilen = this._viewContainer.length; _i10 < ilen; _i10++) {\n            /** @type {?} */\n            var viewRef =\n            /** @type {?} */\n            this._viewContainer.get(_i10);\n\n            viewRef.context.index = _i10;\n            viewRef.context.count = ilen;\n            viewRef.context.ngForOf = this._ngForOf;\n          }\n\n          changes.forEachIdentityChange(\n          /**\n          * @param {?} record\n          * @return {?}\n          */\n          function (record) {\n            /** @type {?} */\n            var viewRef =\n            /** @type {?} */\n            _this130._viewContainer.get(record.currentIndex);\n\n            viewRef.context.$implicit = record.item;\n          });\n        }\n        /**\n         * @private\n         * @param {?} view\n         * @param {?} record\n         * @return {?}\n         */\n\n      }, {\n        key: \"_perViewChange\",\n        value: function _perViewChange(view, record) {\n          view.context.$implicit = record.item;\n        }\n        /**\n         * Asserts the correct type of the context for the template that `NgForOf` will render.\n         *\n         * The presence of this method is a signal to the Ivy template type-check compiler that the\n         * `NgForOf` structural directive renders its template with a specific context type.\n         * @template T\n         * @param {?} dir\n         * @param {?} ctx\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngForOf\",\n        set: function set(ngForOf) {\n          this._ngForOf = ngForOf;\n          this._ngForOfDirty = true;\n        }\n        /**\n         * A function that defines how to track changes for items in the iterable.\n         *\n         * When items are added, moved, or removed in the iterable,\n         * the directive must re-render the appropriate DOM nodes.\n         * To minimize churn in the DOM, only nodes that have changed\n         * are re-rendered.\n         *\n         * By default, the change detector assumes that\n         * the object instance identifies the node in the iterable.\n         * When this function is supplied, the directive uses\n         * the result of calling this function to identify the item node,\n         * rather than the identity of the object itself.\n         *\n         * The function receives two inputs,\n         * the iteration index and the node object ID.\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngForTrackBy\",\n        set: function set(fn) {\n          if (Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"isDevMode\"])() && fn != null && typeof fn !== 'function') {\n            // TODO(vicb): use a log service once there is a public one available\n            if (\n            /** @type {?} */\n            console &&\n            /** @type {?} */\n            console.warn) {\n              console.warn(\"trackBy must be a function, but received \".concat(JSON.stringify(fn), \". \") + \"See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information.\");\n            }\n          }\n\n          this._trackByFn = fn;\n        }\n        /**\n         * @return {?}\n         */\n        ,\n        get: function get() {\n          return this._trackByFn;\n        }\n        /**\n         * A reference to the template that is stamped out for each item in the iterable.\n         * @see [template reference variable](guide/template-syntax#template-reference-variables--var-)\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngForTemplate\",\n        set: function set(value) {\n          // TODO(TS2.1): make TemplateRef<Partial<NgForRowOf<T>>> once we move to TS v2.1\n          // The current type is too restrictive; a template that just uses index, for example,\n          // should be acceptable.\n          if (value) {\n            this._template = value;\n          }\n        }\n      }], [{\n        key: \"ngTemplateContextGuard\",\n        value: function ngTemplateContextGuard(dir, ctx) {\n          return true;\n        }\n      }]);\n\n      return NgForOf;\n    }();\n\n    NgForOf.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: '[ngFor][ngForOf]'\n      }]\n    }];\n    /** @nocollapse */\n\n    NgForOf.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ViewContainerRef\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"TemplateRef\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"IterableDiffers\"]\n      }];\n    };\n\n    NgForOf.propDecorators = {\n      ngForOf: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"]\n      }],\n      ngForTrackBy: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"]\n      }],\n      ngForTemplate: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"]\n      }]\n    };\n\n    if (false) {}\n    /**\n     * @template T\n     */\n\n\n    var RecordViewTuple =\n    /**\n     * @param {?} record\n     * @param {?} view\n     */\n    function RecordViewTuple(record, view) {\n      _classCallCheck(this, RecordViewTuple);\n\n      this.record = record;\n      this.view = view;\n    };\n\n    if (false) {}\n    /**\n     * @param {?} type\n     * @return {?}\n     */\n\n\n    function getTypeName(type) {\n      return type['name'] || typeof type;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * A structural directive that conditionally includes a template based on the value of\n     * an expression coerced to Boolean.\n     * When the expression evaluates to true, Angular renders the template\n     * provided in a `then` clause, and when  false or null,\n     * Angular renders the template provided in an optional `else` clause. The default\n     * template for the `else` clause is blank.\n     *\n     * A [shorthand form](guide/structural-directives#the-asterisk--prefix) of the directive,\n     * `*ngIf=\"condition\"`, is generally used, provided\n     * as an attribute of the anchor element for the inserted template.\n     * Angular expands this into a more explicit version, in which the anchor element\n     * is contained in an `<ng-template>` element.\n     *\n     * Simple form with shorthand syntax:\n     *\n     * ```\n     * <div *ngIf=\"condition\">Content to render when condition is true.</div>\n     * ```\n     *\n     * Simple form with expanded syntax:\n     *\n     * ```\n     * <ng-template [ngIf]=\"condition\"><div>Content to render when condition is\n     * true.</div></ng-template>\n     * ```\n     *\n     * Form with an \"else\" block:\n     *\n     * ```\n     * <div *ngIf=\"condition; else elseBlock\">Content to render when condition is true.</div>\n     * <ng-template #elseBlock>Content to render when condition is false.</ng-template>\n     * ```\n     *\n     * Shorthand form with \"then\" and \"else\" blocks:\n     *\n     * ```\n     * <div *ngIf=\"condition; then thenBlock else elseBlock\"></div>\n     * <ng-template #thenBlock>Content to render when condition is true.</ng-template>\n     * <ng-template #elseBlock>Content to render when condition is false.</ng-template>\n     * ```\n     *\n     * Form with storing the value locally:\n     *\n     * ```\n     * <div *ngIf=\"condition as value; else elseBlock\">{{value}}</div>\n     * <ng-template #elseBlock>Content to render when value is null.</ng-template>\n     * ```\n     *\n     * \\@usageNotes\n     *\n     * The `*ngIf` directive is most commonly used to conditionally show an inline template,\n     * as seen in the following  example.\n     * The default `else` template is blank.\n     *\n     * {\\@example common/ngIf/ts/module.ts region='NgIfSimple'}\n     *\n     * ### Showing an alternative template using `else`\n     *\n     * To display a template when `expression` evaluates to false, use an `else` template\n     * binding as shown in the following example.\n     * The `else` binding points to an `<ng-template>`  element labeled `#elseBlock`.\n     * The template can be defined anywhere in the component view, but is typically placed right after\n     * `ngIf` for readability.\n     *\n     * {\\@example common/ngIf/ts/module.ts region='NgIfElse'}\n     *\n     * ### Using an external `then` template\n     *\n     * In the previous example, the then-clause template is specified inline, as the content of the\n     * tag that contains the `ngIf` directive. You can also specify a template that is defined\n     * externally, by referencing a labeled `<ng-template>` element. When you do this, you can\n     * change which template to use at runtime, as shown in the following example.\n     *\n     * {\\@example common/ngIf/ts/module.ts region='NgIfThenElse'}\n     *\n     * ### Storing a conditional result in a variable\n     *\n     * You might want to show a set of properties from the same object. If you are waiting\n     * for asynchronous data, the object can be undefined.\n     * In this case, you can use `ngIf` and store the result of the condition in a local\n     * variable as shown in the the following example.\n     *\n     * {\\@example common/ngIf/ts/module.ts region='NgIfAs'}\n     *\n     * This code uses only one `AsyncPipe`, so only one subscription is created.\n     * The conditional statement stores the result of `userStream|async` in the local variable `user`.\n     * You can then bind the local `user` repeatedly.\n     *\n     * The conditional displays the data only if `userStream` returns a value,\n     * so you don't need to use the\n     * [safe-navigation-operator](guide/template-syntax#safe-navigation-operator) (`?.`)\n     * to guard against null values when accessing properties.\n     * You can display an alternative template while waiting for the data.\n     *\n     * ### Shorthand syntax\n     *\n     * The shorthand syntax `*ngIf` expands into two separate template specifications\n     * for the \"then\" and \"else\" clauses. For example, consider the following shorthand statement,\n     * that is meant to show a loading page while waiting for data to be loaded.\n     *\n     * ```\n     * <div class=\"hero-list\" *ngIf=\"heroes else loading\">\n     *  ...\n     * </div>\n     *\n     * <ng-template #loading>\n     *  <div>Loading...</div>\n     * </ng-template>\n     * ```\n     *\n     * You can see that the \"else\" clause references the `<ng-template>`\n     * with the `#loading` label, and the template for the \"then\" clause\n     * is provided as the content of the anchor element.\n     *\n     * However, when Angular expands the shorthand syntax, it creates\n     * another `<ng-template>` tag, with `ngIf` and `ngIfElse` directives.\n     * The anchor element containing the template for the \"then\" clause becomes\n     * the content of this unlabeled `<ng-template>` tag.\n     *\n     * ```\n     * <ng-template [ngIf]=\"hero-list\" [ngIfElse]=\"loading\">\n     *  <div class=\"hero-list\">\n     *   ...\n     *  </div>\n     * </ng-template>\n     *\n     * <ng-template #loading>\n     *  <div>Loading...</div>\n     * </ng-template>\n     * ```\n     *\n     * The presence of the implicit template object has implications for the nesting of\n     * structural directives. For more on this subject, see\n     * [Structural Directives](https://angular.io/guide/structural-directives#one-per-element).\n     *\n     * \\@ngModule CommonModule\n     * \\@publicApi\n     */\n\n\n    var NgIf =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _viewContainer\n       * @param {?} templateRef\n       */\n      function NgIf(_viewContainer, templateRef) {\n        _classCallCheck(this, NgIf);\n\n        this._viewContainer = _viewContainer;\n        this._context = new NgIfContext();\n        this._thenTemplateRef = null;\n        this._elseTemplateRef = null;\n        this._thenViewRef = null;\n        this._elseViewRef = null;\n        this._thenTemplateRef = templateRef;\n      }\n      /**\n       * The Boolean expression to evaluate as the condition for showing a template.\n       * @param {?} condition\n       * @return {?}\n       */\n\n\n      _createClass2(NgIf, [{\n        key: \"_updateView\",\n\n        /**\n         * @private\n         * @return {?}\n         */\n        value: function _updateView() {\n          if (this._context.$implicit) {\n            if (!this._thenViewRef) {\n              this._viewContainer.clear();\n\n              this._elseViewRef = null;\n\n              if (this._thenTemplateRef) {\n                this._thenViewRef = this._viewContainer.createEmbeddedView(this._thenTemplateRef, this._context);\n              }\n            }\n          } else {\n            if (!this._elseViewRef) {\n              this._viewContainer.clear();\n\n              this._thenViewRef = null;\n\n              if (this._elseTemplateRef) {\n                this._elseViewRef = this._viewContainer.createEmbeddedView(this._elseTemplateRef, this._context);\n              }\n            }\n          }\n        }\n      }, {\n        key: \"ngIf\",\n        set: function set(condition) {\n          this._context.$implicit = this._context.ngIf = condition;\n\n          this._updateView();\n        }\n        /**\n         * A template to show if the condition expression evaluates to true.\n         * @param {?} templateRef\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngIfThen\",\n        set: function set(templateRef) {\n          assertTemplate('ngIfThen', templateRef);\n          this._thenTemplateRef = templateRef;\n          this._thenViewRef = null; // clear previous view if any.\n\n          this._updateView();\n        }\n        /**\n         * A template to show if the condition expression evaluates to false.\n         * @param {?} templateRef\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngIfElse\",\n        set: function set(templateRef) {\n          assertTemplate('ngIfElse', templateRef);\n          this._elseTemplateRef = templateRef;\n          this._elseViewRef = null; // clear previous view if any.\n\n          this._updateView();\n        }\n      }]);\n\n      return NgIf;\n    }();\n\n    NgIf.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: '[ngIf]'\n      }]\n    }];\n    /** @nocollapse */\n\n    NgIf.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ViewContainerRef\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"TemplateRef\"]\n      }];\n    };\n\n    NgIf.propDecorators = {\n      ngIf: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"]\n      }],\n      ngIfThen: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"]\n      }],\n      ngIfElse: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"]\n      }]\n    };\n\n    if (false) {}\n    /**\n     * \\@publicApi\n     */\n\n\n    var NgIfContext = function NgIfContext() {\n      _classCallCheck(this, NgIfContext);\n\n      this.$implicit = null;\n      this.ngIf = null;\n    };\n\n    if (false) {}\n    /**\n     * @param {?} property\n     * @param {?} templateRef\n     * @return {?}\n     */\n\n\n    function assertTemplate(property, templateRef) {\n      /** @type {?} */\n      var isTemplateRefOrNull = !!(!templateRef || templateRef.createEmbeddedView);\n\n      if (!isTemplateRefOrNull) {\n        throw new Error(\"\".concat(property, \" must be a TemplateRef, but received '\").concat(Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵstringify\"])(templateRef), \"'.\"));\n      }\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n\n    var SwitchView =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _viewContainerRef\n       * @param {?} _templateRef\n       */\n      function SwitchView(_viewContainerRef, _templateRef) {\n        _classCallCheck(this, SwitchView);\n\n        this._viewContainerRef = _viewContainerRef;\n        this._templateRef = _templateRef;\n        this._created = false;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(SwitchView, [{\n        key: \"create\",\n        value: function create() {\n          this._created = true;\n\n          this._viewContainerRef.createEmbeddedView(this._templateRef);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"destroy\",\n        value: function destroy() {\n          this._created = false;\n\n          this._viewContainerRef.clear();\n        }\n        /**\n         * @param {?} created\n         * @return {?}\n         */\n\n      }, {\n        key: \"enforceState\",\n        value: function enforceState(created) {\n          if (created && !this._created) {\n            this.create();\n          } else if (!created && this._created) {\n            this.destroy();\n          }\n        }\n      }]);\n\n      return SwitchView;\n    }();\n\n    if (false) {}\n    /**\n     * \\@ngModule CommonModule\n     *\n     * \\@description A structural directive that adds or removes templates (displaying or hiding views)\n     * when the next match expression matches the switch expression.\n     *\n     * The `[ngSwitch]` directive on a container specifies an expression to match against.\n     * The expressions to match are provided by `ngSwitchCase` directives on views within the container.\n     * - Every view that matches is rendered.\n     * - If there are no matches, a view with the `ngSwitchDefault` directive is rendered.\n     * - Elements within the `[NgSwitch]` statement but outside of any `NgSwitchCase`\n     * or `ngSwitchDefault` directive are preserved at the location.\n     *\n     * \\@usageNotes\n     * Define a container element for the directive, and specify the switch expression\n     * to match against as an attribute:\n     *\n     * ```\n     * <container-element [ngSwitch]=\"switch_expression\">\n     * ```\n     *\n     * Within the container, `*ngSwitchCase` statements specify the match expressions\n     * as attributes. Include `*ngSwitchDefault` as the final case.\n     *\n     * ```\n     * <container-element [ngSwitch]=\"switch_expression\">\n     *    <some-element *ngSwitchCase=\"match_expression_1\">...</some-element>\n     * ...\n     *    <some-element *ngSwitchDefault>...</some-element>\n     * </container-element>\n     * ```\n     *\n     * ### Usage Examples\n     *\n     * The following example shows how to use more than one case to display the same view:\n     *\n     * ```\n     * <container-element [ngSwitch]=\"switch_expression\">\n     *   <!-- the same view can be shown in more than one case -->\n     *   <some-element *ngSwitchCase=\"match_expression_1\">...</some-element>\n     *   <some-element *ngSwitchCase=\"match_expression_2\">...</some-element>\n     *   <some-other-element *ngSwitchCase=\"match_expression_3\">...</some-other-element>\n     *   <!--default case when there are no matches -->\n     *   <some-element *ngSwitchDefault>...</some-element>\n     * </container-element>\n     * ```\n     *\n     * The following example shows how cases can be nested:\n     * ```\n     * <container-element [ngSwitch]=\"switch_expression\">\n     *       <some-element *ngSwitchCase=\"match_expression_1\">...</some-element>\n     *       <some-element *ngSwitchCase=\"match_expression_2\">...</some-element>\n     *       <some-other-element *ngSwitchCase=\"match_expression_3\">...</some-other-element>\n     *       <ng-container *ngSwitchCase=\"match_expression_3\">\n     *         <!-- use a ng-container to group multiple root nodes -->\n     *         <inner-element></inner-element>\n     *         <inner-other-element></inner-other-element>\n     *       </ng-container>\n     *       <some-element *ngSwitchDefault>...</some-element>\n     *     </container-element>\n     * ```\n     *\n     * \\@publicApi\n     * @see `NgSwitchCase`\n     * @see `NgSwitchDefault`\n     * @see [Structural Directives](guide/structural-directives)\n     *\n     */\n\n\n    var NgSwitch =\n    /*#__PURE__*/\n    function () {\n      function NgSwitch() {\n        _classCallCheck(this, NgSwitch);\n\n        this._defaultUsed = false;\n        this._caseCount = 0;\n        this._lastCaseCheckIndex = 0;\n        this._lastCasesMatched = false;\n      }\n      /**\n       * @param {?} newValue\n       * @return {?}\n       */\n\n\n      _createClass2(NgSwitch, [{\n        key: \"_addCase\",\n\n        /**\n         * \\@internal\n         * @return {?}\n         */\n        value: function _addCase() {\n          return this._caseCount++;\n        }\n        /**\n         * \\@internal\n         * @param {?} view\n         * @return {?}\n         */\n\n      }, {\n        key: \"_addDefault\",\n        value: function _addDefault(view) {\n          if (!this._defaultViews) {\n            this._defaultViews = [];\n          }\n\n          this._defaultViews.push(view);\n        }\n        /**\n         * \\@internal\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"_matchCase\",\n        value: function _matchCase(value) {\n          /** @type {?} */\n          var matched = value == this._ngSwitch;\n          this._lastCasesMatched = this._lastCasesMatched || matched;\n          this._lastCaseCheckIndex++;\n\n          if (this._lastCaseCheckIndex === this._caseCount) {\n            this._updateDefaultCases(!this._lastCasesMatched);\n\n            this._lastCaseCheckIndex = 0;\n            this._lastCasesMatched = false;\n          }\n\n          return matched;\n        }\n        /**\n         * @private\n         * @param {?} useDefault\n         * @return {?}\n         */\n\n      }, {\n        key: \"_updateDefaultCases\",\n        value: function _updateDefaultCases(useDefault) {\n          if (this._defaultViews && useDefault !== this._defaultUsed) {\n            this._defaultUsed = useDefault;\n\n            for (var i = 0; i < this._defaultViews.length; i++) {\n              /** @type {?} */\n              var defaultView = this._defaultViews[i];\n              defaultView.enforceState(useDefault);\n            }\n          }\n        }\n      }, {\n        key: \"ngSwitch\",\n        set: function set(newValue) {\n          this._ngSwitch = newValue;\n\n          if (this._caseCount === 0) {\n            this._updateDefaultCases(true);\n          }\n        }\n      }]);\n\n      return NgSwitch;\n    }();\n\n    NgSwitch.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: '[ngSwitch]'\n      }]\n    }];\n    NgSwitch.propDecorators = {\n      ngSwitch: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"]\n      }]\n    };\n\n    if (false) {}\n    /**\n     * \\@ngModule CommonModule\n     *\n     * \\@description\n     * Provides a switch case expression to match against an enclosing `ngSwitch` expression.\n     * When the expressions match, the given `NgSwitchCase` template is rendered.\n     * If multiple match expressions match the switch expression value, all of them are displayed.\n     *\n     * \\@usageNotes\n     *\n     * Within a switch container, `*ngSwitchCase` statements specify the match expressions\n     * as attributes. Include `*ngSwitchDefault` as the final case.\n     *\n     * ```\n     * <container-element [ngSwitch]=\"switch_expression\">\n     *   <some-element *ngSwitchCase=\"match_expression_1\">...</some-element>\n     *   ...\n     *   <some-element *ngSwitchDefault>...</some-element>\n     * </container-element>\n     * ```\n     *\n     * Each switch-case statement contains an in-line HTML template or template reference\n     * that defines the subtree to be selected if the value of the match expression\n     * matches the value of the switch expression.\n     *\n     * Unlike JavaScript, which uses strict equality, Angular uses loose equality.\n     * This means that the empty string, `\"\"` matches 0.\n     *\n     * \\@publicApi\n     * @see `NgSwitch`\n     * @see `NgSwitchDefault`\n     *\n     */\n\n\n    var NgSwitchCase =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} viewContainer\n       * @param {?} templateRef\n       * @param {?} ngSwitch\n       */\n      function NgSwitchCase(viewContainer, templateRef, ngSwitch) {\n        _classCallCheck(this, NgSwitchCase);\n\n        this.ngSwitch = ngSwitch;\n\n        ngSwitch._addCase();\n\n        this._view = new SwitchView(viewContainer, templateRef);\n      }\n      /**\n       * Performs case matching. For internal use only.\n       * @return {?}\n       */\n\n\n      _createClass2(NgSwitchCase, [{\n        key: \"ngDoCheck\",\n        value: function ngDoCheck() {\n          this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase));\n        }\n      }]);\n\n      return NgSwitchCase;\n    }();\n\n    NgSwitchCase.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: '[ngSwitchCase]'\n      }]\n    }];\n    /** @nocollapse */\n\n    NgSwitchCase.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ViewContainerRef\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"TemplateRef\"]\n      }, {\n        type: NgSwitch,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Host\"]\n        }]\n      }];\n    };\n\n    NgSwitchCase.propDecorators = {\n      ngSwitchCase: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"]\n      }]\n    };\n\n    if (false) {}\n    /**\n     * \\@ngModule CommonModule\n     *\n     * \\@description\n     *\n     * Creates a view that is rendered when no `NgSwitchCase` expressions\n     * match the `NgSwitch` expression.\n     * This statement should be the final case in an `NgSwitch`.\n     *\n     * \\@publicApi\n     * @see `NgSwitch`\n     * @see `NgSwitchCase`\n     *\n     */\n\n\n    var NgSwitchDefault =\n    /**\n     * @param {?} viewContainer\n     * @param {?} templateRef\n     * @param {?} ngSwitch\n     */\n    function NgSwitchDefault(viewContainer, templateRef, ngSwitch) {\n      _classCallCheck(this, NgSwitchDefault);\n\n      ngSwitch._addDefault(new SwitchView(viewContainer, templateRef));\n    };\n\n    NgSwitchDefault.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: '[ngSwitchDefault]'\n      }]\n    }];\n    /** @nocollapse */\n\n    NgSwitchDefault.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ViewContainerRef\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"TemplateRef\"]\n      }, {\n        type: NgSwitch,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Host\"]\n        }]\n      }];\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * \\@ngModule CommonModule\n     *\n     * \\@usageNotes\n     * ```\n     * <some-element [ngPlural]=\"value\">\n     *   <ng-template ngPluralCase=\"=0\">there is nothing</ng-template>\n     *   <ng-template ngPluralCase=\"=1\">there is one</ng-template>\n     *   <ng-template ngPluralCase=\"few\">there are a few</ng-template>\n     * </some-element>\n     * ```\n     *\n     * \\@description\n     *\n     * Adds / removes DOM sub-trees based on a numeric value. Tailored for pluralization.\n     *\n     * Displays DOM sub-trees that match the switch expression value, or failing that, DOM sub-trees\n     * that match the switch expression's pluralization category.\n     *\n     * To use this directive you must provide a container element that sets the `[ngPlural]` attribute\n     * to a switch expression. Inner elements with a `[ngPluralCase]` will display based on their\n     * expression:\n     * - if `[ngPluralCase]` is set to a value starting with `=`, it will only display if the value\n     *   matches the switch expression exactly,\n     * - otherwise, the view will be treated as a \"category match\", and will only display if exact\n     *   value matches aren't found and the value maps to its category for the defined locale.\n     *\n     * See http://cldr.unicode.org/index/cldr-spec/plural-rules\n     *\n     * \\@publicApi\n     */\n\n\n    var NgPlural =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _localization\n       */\n      function NgPlural(_localization) {\n        _classCallCheck(this, NgPlural);\n\n        this._localization = _localization;\n        this._caseViews = {};\n      }\n      /**\n       * @param {?} value\n       * @return {?}\n       */\n\n\n      _createClass2(NgPlural, [{\n        key: \"addCase\",\n\n        /**\n         * @param {?} value\n         * @param {?} switchView\n         * @return {?}\n         */\n        value: function addCase(value, switchView) {\n          this._caseViews[value] = switchView;\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_updateView\",\n        value: function _updateView() {\n          this._clearViews();\n          /** @type {?} */\n\n\n          var cases = Object.keys(this._caseViews);\n          /** @type {?} */\n\n          var key = getPluralCategory(this._switchValue, cases, this._localization);\n\n          this._activateView(this._caseViews[key]);\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_clearViews\",\n        value: function _clearViews() {\n          if (this._activeView) this._activeView.destroy();\n        }\n        /**\n         * @private\n         * @param {?} view\n         * @return {?}\n         */\n\n      }, {\n        key: \"_activateView\",\n        value: function _activateView(view) {\n          if (view) {\n            this._activeView = view;\n\n            this._activeView.create();\n          }\n        }\n      }, {\n        key: \"ngPlural\",\n        set: function set(value) {\n          this._switchValue = value;\n\n          this._updateView();\n        }\n      }]);\n\n      return NgPlural;\n    }();\n\n    NgPlural.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: '[ngPlural]'\n      }]\n    }];\n    /** @nocollapse */\n\n    NgPlural.ctorParameters = function () {\n      return [{\n        type: NgLocalization\n      }];\n    };\n\n    NgPlural.propDecorators = {\n      ngPlural: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"]\n      }]\n    };\n\n    if (false) {}\n    /**\n     * \\@ngModule CommonModule\n     *\n     * \\@description\n     *\n     * Creates a view that will be added/removed from the parent {\\@link NgPlural} when the\n     * given expression matches the plural expression according to CLDR rules.\n     *\n     * \\@usageNotes\n     * ```\n     * <some-element [ngPlural]=\"value\">\n     *   <ng-template ngPluralCase=\"=0\">...</ng-template>\n     *   <ng-template ngPluralCase=\"other\">...</ng-template>\n     * </some-element>\n     * ```\n     *\n     * See {\\@link NgPlural} for more details and example.\n     *\n     * \\@publicApi\n     */\n\n\n    var NgPluralCase =\n    /**\n     * @param {?} value\n     * @param {?} template\n     * @param {?} viewContainer\n     * @param {?} ngPlural\n     */\n    function NgPluralCase(value, template, viewContainer, ngPlural) {\n      _classCallCheck(this, NgPluralCase);\n\n      this.value = value;\n      /** @type {?} */\n\n      var isANumber = !isNaN(Number(value));\n      ngPlural.addCase(isANumber ? \"=\".concat(value) : value, new SwitchView(viewContainer, template));\n    };\n\n    NgPluralCase.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: '[ngPluralCase]'\n      }]\n    }];\n    /** @nocollapse */\n\n    NgPluralCase.ctorParameters = function () {\n      return [{\n        type: String,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Attribute\"],\n          args: ['ngPluralCase']\n        }]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"TemplateRef\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ViewContainerRef\"]\n      }, {\n        type: NgPlural,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Host\"]\n        }]\n      }];\n    };\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Used as a token for an injected service within the NgStyle directive.\n     *\n     * NgStyle behaves differenly whether or not VE is being used or not. If\n     * present then the legacy ngClass diffing algorithm will be used as an\n     * injected service. Otherwise the new diffing algorithm (which delegates\n     * to the `[style]` binding) will be used. This toggle behavior is done so\n     * via the ivy_switch mechanism.\n     * @abstract\n     */\n\n\n    var NgStyleImpl = function NgStyleImpl() {\n      _classCallCheck(this, NgStyleImpl);\n    };\n\n    if (false) {}\n\n    var NgStyleR2Impl =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _ngEl\n       * @param {?} _differs\n       * @param {?} _renderer\n       */\n      function NgStyleR2Impl(_ngEl, _differs, _renderer) {\n        _classCallCheck(this, NgStyleR2Impl);\n\n        this._ngEl = _ngEl;\n        this._differs = _differs;\n        this._renderer = _renderer;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(NgStyleR2Impl, [{\n        key: \"getValue\",\n        value: function getValue() {\n          return null;\n        }\n        /**\n         * A map of style properties, specified as colon-separated\n         * key-value pairs.\n         * * The key is a style name, with an optional `.<unit>` suffix\n         *    (such as 'top.px', 'font-style.em').\n         * * The value is an expression to be evaluated.\n         * @param {?} values\n         * @return {?}\n         */\n\n      }, {\n        key: \"setNgStyle\",\n        value: function setNgStyle(values) {\n          this._ngStyle = values;\n\n          if (!this._differ && values) {\n            this._differ = this._differs.find(values).create();\n          }\n        }\n        /**\n         * Applies the new styles if needed.\n         * @return {?}\n         */\n\n      }, {\n        key: \"applyChanges\",\n        value: function applyChanges() {\n          if (this._differ) {\n            /** @type {?} */\n            var changes = this._differ.diff(this._ngStyle);\n\n            if (changes) {\n              this._applyChanges(changes);\n            }\n          }\n        }\n        /**\n         * @private\n         * @param {?} changes\n         * @return {?}\n         */\n\n      }, {\n        key: \"_applyChanges\",\n        value: function _applyChanges(changes) {\n          var _this131 = this;\n\n          changes.forEachRemovedItem(\n          /**\n          * @param {?} record\n          * @return {?}\n          */\n          function (record) {\n            return _this131._setStyle(record.key, null);\n          });\n          changes.forEachAddedItem(\n          /**\n          * @param {?} record\n          * @return {?}\n          */\n          function (record) {\n            return _this131._setStyle(record.key, record.currentValue);\n          });\n          changes.forEachChangedItem(\n          /**\n          * @param {?} record\n          * @return {?}\n          */\n          function (record) {\n            return _this131._setStyle(record.key, record.currentValue);\n          });\n        }\n        /**\n         * @private\n         * @param {?} nameAndUnit\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"_setStyle\",\n        value: function _setStyle(nameAndUnit, value) {\n          var _nameAndUnit$split = nameAndUnit.split('.'),\n              _nameAndUnit$split2 = _slicedToArray(_nameAndUnit$split, 2),\n              name = _nameAndUnit$split2[0],\n              unit = _nameAndUnit$split2[1];\n\n          value = value != null && unit ? \"\".concat(value).concat(unit) : value;\n\n          if (value != null) {\n            this._renderer.setStyle(this._ngEl.nativeElement, name,\n            /** @type {?} */\n            value);\n          } else {\n            this._renderer.removeStyle(this._ngEl.nativeElement, name);\n          }\n        }\n      }]);\n\n      return NgStyleR2Impl;\n    }();\n\n    NgStyleR2Impl.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"]\n    }];\n    /** @nocollapse */\n\n    NgStyleR2Impl.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"KeyValueDiffers\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Renderer2\"]\n      }];\n    };\n\n    if (false) {}\n\n    var NgStyleR3Impl =\n    /*#__PURE__*/\n    function () {\n      function NgStyleR3Impl() {\n        _classCallCheck(this, NgStyleR3Impl);\n\n        this._differ = new StylingDiffer('NgStyle', 8\n        /* AllowUnits */\n        );\n        this._value = null;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(NgStyleR3Impl, [{\n        key: \"getValue\",\n        value: function getValue() {\n          return this._value;\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"setNgStyle\",\n        value: function setNgStyle(value) {\n          this._differ.setValue(value);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"applyChanges\",\n        value: function applyChanges() {\n          if (this._differ.hasValueChanged()) {\n            this._value = this._differ.value;\n          }\n        }\n      }]);\n\n      return NgStyleR3Impl;\n    }();\n\n    NgStyleR3Impl.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"]\n    }];\n\n    if (false) {} // the implementation for both NgClassR2Impl and NgClassR3Impl are\n    // not ivy_switch'd away, instead they are only hooked up into the\n    // DI via NgStyle's directive's provider property.\n\n    /** @type {?} */\n\n\n    var NgStyleImplProvider__PRE_R3__ = {\n      provide: NgStyleImpl,\n      useClass: NgStyleR2Impl\n    };\n    /** @type {?} */\n\n    var NgStyleImplProvider__POST_R3__ = {\n      provide: NgStyleImpl,\n      useClass: NgStyleR3Impl\n    };\n    /** @type {?} */\n\n    var NgStyleImplProvider = NgStyleImplProvider__PRE_R3__;\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /*\n     * NgStyle (as well as NgClass) behaves differently when loaded in the VE and when not.\n     *\n     * If the VE is present (which is for older versions of Angular) then NgStyle will inject\n     * the legacy diffing algorithm as a service and delegate all styling changes to that.\n     *\n     * If the VE is not present then NgStyle will normalize (through the injected service) and\n     * then write all styling changes to the `[style]` binding directly (through a host binding).\n     * Then Angular will notice the host binding change and treat the changes as styling\n     * changes and apply them via the core styling instructions that exist within Angular.\n     */\n    // used when the VE is present\n\n    /** @type {?} */\n\n    var ngStyleDirectiveDef__PRE_R3__ = undefined; // used when the VE is not present (note the directive will\n    // never be instantiated normally because it is apart of a\n    // base class)\n\n    var ɵ0$1 =\n    /**\n    * @return {?}\n    */\n    function ɵ0$1() {},\n        ɵ1$1 =\n    /**\n    * @return {?}\n    */\n    function ɵ1$1() {},\n        ɵ2$1 =\n    /**\n    * @param {?} rf\n    * @param {?} ctx\n    * @param {?} elIndex\n    * @return {?}\n    */\n    function ɵ2$1(rf, ctx, elIndex) {\n      if (rf & 1\n      /* Create */\n      ) {\n          Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵstyling\"])();\n        }\n\n      if (rf & 2\n      /* Update */\n      ) {\n          Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵstyleMap\"])(ctx.getValue());\n          Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵstylingApply\"])();\n        }\n    };\n    /** @type {?} */\n\n\n    var ngStyleDirectiveDef__POST_R3__ = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineDirective\"])({\n      type:\n      /** @type {?} */\n      ɵ0$1,\n      selectors:\n      /** @type {?} */\n      null,\n      factory: ɵ1$1,\n      hostBindings: ɵ2$1\n    });\n    /** @type {?} */\n\n    var ngStyleDirectiveDef = ngStyleDirectiveDef__PRE_R3__;\n    /**\n     * Serves as the base non-VE container for NgStyle.\n     *\n     * While this is a base class that NgStyle extends from, the\n     * class itself acts as a container for non-VE code to setup\n     * a link to the `[style]` host binding (via the static\n     * `ngDirectiveDef` property on the class).\n     *\n     * Note that the `ngDirectiveDef` property's code is switched\n     * depending if VE is present or not (this allows for the\n     * binding code to be set only for newer versions of Angular).\n     *\n     * \\@publicApi\n     */\n\n    var NgStyleBase =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _delegate\n       */\n      function NgStyleBase(_delegate) {\n        _classCallCheck(this, NgStyleBase);\n\n        this._delegate = _delegate;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(NgStyleBase, [{\n        key: \"getValue\",\n        value: function getValue() {\n          return this._delegate.getValue();\n        }\n      }]);\n\n      return NgStyleBase;\n    }();\n    /** @nocollapse */\n\n\n    NgStyleBase.ngDirectiveDef = ngStyleDirectiveDef;\n\n    if (false) {}\n    /**\n     * \\@ngModule CommonModule\n     *\n     * \\@usageNotes\n     *\n     * Set the font of the containing element to the result of an expression.\n     *\n     * ```\n     * <some-element [ngStyle]=\"{'font-style': styleExp}\">...</some-element>\n     * ```\n     *\n     * Set the width of the containing element to a pixel value returned by an expression.\n     *\n     * ```\n     * <some-element [ngStyle]=\"{'max-width.px': widthExp}\">...</some-element>\n     * ```\n     *\n     * Set a collection of style values using an expression that returns key-value pairs.\n     *\n     * ```\n     * <some-element [ngStyle]=\"objExp\">...</some-element>\n     * ```\n     *\n     * \\@description\n     *\n     * An attribute directive that updates styles for the containing HTML element.\n     * Sets one or more style properties, specified as colon-separated key-value pairs.\n     * The key is a style name, with an optional `.<unit>` suffix\n     * (such as 'top.px', 'font-style.em').\n     * The value is an expression to be evaluated.\n     * The resulting non-null value, expressed in the given unit,\n     * is assigned to the given style property.\n     * If the result of evaluation is null, the corresponding style is removed.\n     *\n     * \\@publicApi\n     */\n\n\n    var NgStyle =\n    /*#__PURE__*/\n    function (_NgStyleBase) {\n      _inherits(NgStyle, _NgStyleBase);\n\n      /**\n       * @param {?} delegate\n       */\n      function NgStyle(delegate) {\n        _classCallCheck(this, NgStyle);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(NgStyle).call(this, delegate));\n      }\n      /**\n       * @param {?} value\n       * @return {?}\n       */\n\n\n      _createClass2(NgStyle, [{\n        key: \"ngDoCheck\",\n\n        /**\n         * @return {?}\n         */\n        value: function ngDoCheck() {\n          this._delegate.applyChanges();\n        }\n      }, {\n        key: \"ngStyle\",\n        set: function set(value) {\n          this._delegate.setNgStyle(value);\n        }\n      }]);\n\n      return NgStyle;\n    }(NgStyleBase);\n\n    NgStyle.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: '[ngStyle]',\n        providers: [NgStyleImplProvider]\n      }]\n    }];\n    /** @nocollapse */\n\n    NgStyle.ctorParameters = function () {\n      return [{\n        type: NgStyleImpl\n      }];\n    };\n\n    NgStyle.propDecorators = {\n      ngStyle: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"],\n        args: ['ngStyle']\n      }]\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * \\@ngModule CommonModule\n     *\n     * \\@description\n     *\n     * Inserts an embedded view from a prepared `TemplateRef`.\n     *\n     * You can attach a context object to the `EmbeddedViewRef` by setting `[ngTemplateOutletContext]`.\n     * `[ngTemplateOutletContext]` should be an object, the object's keys will be available for binding\n     * by the local template `let` declarations.\n     *\n     * \\@usageNotes\n     * ```\n     * <ng-container *ngTemplateOutlet=\"templateRefExp; context: contextExp\"></ng-container>\n     * ```\n     *\n     * Using the key `$implicit` in the context object will set its value as default.\n     *\n     * ### Example\n     *\n     * {\\@example common/ngTemplateOutlet/ts/module.ts region='NgTemplateOutlet'}\n     *\n     * \\@publicApi\n     */\n\n    var NgTemplateOutlet =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _viewContainerRef\n       */\n      function NgTemplateOutlet(_viewContainerRef) {\n        _classCallCheck(this, NgTemplateOutlet);\n\n        this._viewContainerRef = _viewContainerRef;\n        this._viewRef = null;\n        /**\n         * A context object to attach to the {\\@link EmbeddedViewRef}. This should be an\n         * object, the object's keys will be available for binding by the local template `let`\n         * declarations.\n         * Using the key `$implicit` in the context object will set its value as default.\n         */\n\n        this.ngTemplateOutletContext = null;\n        /**\n         * A string defining the template reference and optionally the context object for the template.\n         */\n\n        this.ngTemplateOutlet = null;\n      }\n      /**\n       * @param {?} changes\n       * @return {?}\n       */\n\n\n      _createClass2(NgTemplateOutlet, [{\n        key: \"ngOnChanges\",\n        value: function ngOnChanges(changes) {\n          /** @type {?} */\n          var recreateView = this._shouldRecreateView(changes);\n\n          if (recreateView) {\n            if (this._viewRef) {\n              this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._viewRef));\n            }\n\n            if (this.ngTemplateOutlet) {\n              this._viewRef = this._viewContainerRef.createEmbeddedView(this.ngTemplateOutlet, this.ngTemplateOutletContext);\n            }\n          } else {\n            if (this._viewRef && this.ngTemplateOutletContext) {\n              this._updateExistingContext(this.ngTemplateOutletContext);\n            }\n          }\n        }\n        /**\n         * We need to re-create existing embedded view if:\n         * - templateRef has changed\n         * - context has changes\n         *\n         * We mark context object as changed when the corresponding object\n         * shape changes (new properties are added or existing properties are removed).\n         * In other words we consider context with the same properties as \"the same\" even\n         * if object reference changes (see https://github.com/angular/angular/issues/13407).\n         * @private\n         * @param {?} changes\n         * @return {?}\n         */\n\n      }, {\n        key: \"_shouldRecreateView\",\n        value: function _shouldRecreateView(changes) {\n          /** @type {?} */\n          var ctxChange = changes['ngTemplateOutletContext'];\n          return !!changes['ngTemplateOutlet'] || ctxChange && this._hasContextShapeChanged(ctxChange);\n        }\n        /**\n         * @private\n         * @param {?} ctxChange\n         * @return {?}\n         */\n\n      }, {\n        key: \"_hasContextShapeChanged\",\n        value: function _hasContextShapeChanged(ctxChange) {\n          /** @type {?} */\n          var prevCtxKeys = Object.keys(ctxChange.previousValue || {});\n          /** @type {?} */\n\n          var currCtxKeys = Object.keys(ctxChange.currentValue || {});\n\n          if (prevCtxKeys.length === currCtxKeys.length) {\n            var _iteratorNormalCompletion8 = true;\n            var _didIteratorError8 = false;\n            var _iteratorError8 = undefined;\n\n            try {\n              for (var _iterator8 = currCtxKeys[Symbol.iterator](), _step8; !(_iteratorNormalCompletion8 = (_step8 = _iterator8.next()).done); _iteratorNormalCompletion8 = true) {\n                var propName = _step8.value;\n\n                if (prevCtxKeys.indexOf(propName) === -1) {\n                  return true;\n                }\n              }\n            } catch (err) {\n              _didIteratorError8 = true;\n              _iteratorError8 = err;\n            } finally {\n              try {\n                if (!_iteratorNormalCompletion8 && _iterator8.return != null) {\n                  _iterator8.return();\n                }\n              } finally {\n                if (_didIteratorError8) {\n                  throw _iteratorError8;\n                }\n              }\n            }\n\n            return false;\n          } else {\n            return true;\n          }\n        }\n        /**\n         * @private\n         * @param {?} ctx\n         * @return {?}\n         */\n\n      }, {\n        key: \"_updateExistingContext\",\n        value: function _updateExistingContext(ctx) {\n          for (var _i11 = 0, _Object$keys = Object.keys(ctx); _i11 < _Object$keys.length; _i11++) {\n            var propName = _Object$keys[_i11];\n\n            /** @type {?} */\n\n            /** @type {?} */\n            this._viewRef.context[propName] =\n            /** @type {?} */\n            this.ngTemplateOutletContext[propName];\n          }\n        }\n      }]);\n\n      return NgTemplateOutlet;\n    }();\n\n    NgTemplateOutlet.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: '[ngTemplateOutlet]'\n      }]\n    }];\n    /** @nocollapse */\n\n    NgTemplateOutlet.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ViewContainerRef\"]\n      }];\n    };\n\n    NgTemplateOutlet.propDecorators = {\n      ngTemplateOutletContext: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"]\n      }],\n      ngTemplateOutlet: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"]\n      }]\n    };\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * A collection of Angular directives that are likely to be used in each and every Angular\n     * application.\n     * @type {?}\n     */\n\n\n    var COMMON_DIRECTIVES = [NgClass, NgComponentOutlet, NgForOf, NgIf, NgTemplateOutlet, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgPlural, NgPluralCase];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @param {?} type\n     * @param {?} value\n     * @return {?}\n     */\n\n    function invalidPipeArgumentError(type, value) {\n      return Error(\"InvalidPipeArgument: '\".concat(value, \"' for pipe '\").concat(Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵstringify\"])(type), \"'\"));\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n\n    var NumberFormatter =\n    /*#__PURE__*/\n    function () {\n      function NumberFormatter() {\n        _classCallCheck(this, NumberFormatter);\n      }\n\n      _createClass2(NumberFormatter, null, [{\n        key: \"format\",\n\n        /**\n         * @param {?} num\n         * @param {?} locale\n         * @param {?} style\n         * @param {?=} opts\n         * @return {?}\n         */\n        value: function format(num, locale, style) {\n          var opts = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n          var minimumIntegerDigits = opts.minimumIntegerDigits,\n              minimumFractionDigits = opts.minimumFractionDigits,\n              maximumFractionDigits = opts.maximumFractionDigits,\n              currency = opts.currency,\n              _opts$currencyAsSymbo = opts.currencyAsSymbol,\n              currencyAsSymbol = _opts$currencyAsSymbo === void 0 ? false : _opts$currencyAsSymbo;\n          /** @type {?} */\n\n          var options = {\n            minimumIntegerDigits: minimumIntegerDigits,\n            minimumFractionDigits: minimumFractionDigits,\n            maximumFractionDigits: maximumFractionDigits,\n            style: NumberFormatStyle[style].toLowerCase()\n          };\n\n          if (style == NumberFormatStyle.Currency) {\n            options.currency = typeof currency == 'string' ? currency : undefined;\n            options.currencyDisplay = currencyAsSymbol ? 'symbol' : 'code';\n          }\n\n          return new Intl.NumberFormat(locale, options).format(num);\n        }\n      }]);\n\n      return NumberFormatter;\n    }();\n    /** @type {?} */\n\n\n    var DATE_FORMATS_SPLIT$1 = /((?:[^yMLdHhmsazZEwGjJ']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|J+|j+|m+|s+|a|z|Z|G+|w+))(.*)/;\n    /** @type {?} */\n\n    var PATTERN_ALIASES = {\n      // Keys are quoted so they do not get renamed during closure compilation.\n      'yMMMdjms': datePartGetterFactory(combine([digitCondition('year', 1), nameCondition('month', 3), digitCondition('day', 1), digitCondition('hour', 1), digitCondition('minute', 1), digitCondition('second', 1)])),\n      'yMdjm': datePartGetterFactory(combine([digitCondition('year', 1), digitCondition('month', 1), digitCondition('day', 1), digitCondition('hour', 1), digitCondition('minute', 1)])),\n      'yMMMMEEEEd': datePartGetterFactory(combine([digitCondition('year', 1), nameCondition('month', 4), nameCondition('weekday', 4), digitCondition('day', 1)])),\n      'yMMMMd': datePartGetterFactory(combine([digitCondition('year', 1), nameCondition('month', 4), digitCondition('day', 1)])),\n      'yMMMd': datePartGetterFactory(combine([digitCondition('year', 1), nameCondition('month', 3), digitCondition('day', 1)])),\n      'yMd': datePartGetterFactory(combine([digitCondition('year', 1), digitCondition('month', 1), digitCondition('day', 1)])),\n      'jms': datePartGetterFactory(combine([digitCondition('hour', 1), digitCondition('second', 1), digitCondition('minute', 1)])),\n      'jm': datePartGetterFactory(combine([digitCondition('hour', 1), digitCondition('minute', 1)]))\n    };\n    /** @type {?} */\n\n    var DATE_FORMATS$1 = {\n      // Keys are quoted so they do not get renamed.\n      'yyyy': datePartGetterFactory(digitCondition('year', 4)),\n      'yy': datePartGetterFactory(digitCondition('year', 2)),\n      'y': datePartGetterFactory(digitCondition('year', 1)),\n      'MMMM': datePartGetterFactory(nameCondition('month', 4)),\n      'MMM': datePartGetterFactory(nameCondition('month', 3)),\n      'MM': datePartGetterFactory(digitCondition('month', 2)),\n      'M': datePartGetterFactory(digitCondition('month', 1)),\n      'LLLL': datePartGetterFactory(nameCondition('month', 4)),\n      'L': datePartGetterFactory(nameCondition('month', 1)),\n      'dd': datePartGetterFactory(digitCondition('day', 2)),\n      'd': datePartGetterFactory(digitCondition('day', 1)),\n      'HH': digitModifier(hourExtractor(datePartGetterFactory(hour12Modify(digitCondition('hour', 2), false)))),\n      'H': hourExtractor(datePartGetterFactory(hour12Modify(digitCondition('hour', 1), false))),\n      'hh': digitModifier(hourExtractor(datePartGetterFactory(hour12Modify(digitCondition('hour', 2), true)))),\n      'h': hourExtractor(datePartGetterFactory(hour12Modify(digitCondition('hour', 1), true))),\n      'jj': datePartGetterFactory(digitCondition('hour', 2)),\n      'j': datePartGetterFactory(digitCondition('hour', 1)),\n      'mm': digitModifier(datePartGetterFactory(digitCondition('minute', 2))),\n      'm': datePartGetterFactory(digitCondition('minute', 1)),\n      'ss': digitModifier(datePartGetterFactory(digitCondition('second', 2))),\n      's': datePartGetterFactory(digitCondition('second', 1)),\n      // while ISO 8601 requires fractions to be prefixed with `.` or `,`\n      // we can be just safely rely on using `sss` since we currently don't support single or two digit\n      // fractions\n      'sss': datePartGetterFactory(digitCondition('second', 3)),\n      'EEEE': datePartGetterFactory(nameCondition('weekday', 4)),\n      'EEE': datePartGetterFactory(nameCondition('weekday', 3)),\n      'EE': datePartGetterFactory(nameCondition('weekday', 2)),\n      'E': datePartGetterFactory(nameCondition('weekday', 1)),\n      'a': hourClockExtractor(datePartGetterFactory(hour12Modify(digitCondition('hour', 1), true))),\n      'Z': timeZoneGetter$1('short'),\n      'z': timeZoneGetter$1('long'),\n      'ww': datePartGetterFactory({}),\n      // Week of year, padded (00-53). Week 01 is the week with the\n      // first Thursday of the year. not support ?\n      'w': datePartGetterFactory({}),\n      // Week of year (0-53). Week 1 is the week with the first Thursday\n      // of the year not support ?\n      'G': datePartGetterFactory(nameCondition('era', 1)),\n      'GG': datePartGetterFactory(nameCondition('era', 2)),\n      'GGG': datePartGetterFactory(nameCondition('era', 3)),\n      'GGGG': datePartGetterFactory(nameCondition('era', 4))\n    };\n    /**\n     * @param {?} inner\n     * @return {?}\n     */\n\n    function digitModifier(inner) {\n      return (\n        /**\n        * @param {?} date\n        * @param {?} locale\n        * @return {?}\n        */\n        function (date, locale) {\n          /** @type {?} */\n          var result = inner(date, locale);\n          return result.length == 1 ? '0' + result : result;\n        }\n      );\n    }\n    /**\n     * @param {?} inner\n     * @return {?}\n     */\n\n\n    function hourClockExtractor(inner) {\n      return (\n        /**\n        * @param {?} date\n        * @param {?} locale\n        * @return {?}\n        */\n        function (date, locale) {\n          return inner(date, locale).split(' ')[1];\n        }\n      );\n    }\n    /**\n     * @param {?} inner\n     * @return {?}\n     */\n\n\n    function hourExtractor(inner) {\n      return (\n        /**\n        * @param {?} date\n        * @param {?} locale\n        * @return {?}\n        */\n        function (date, locale) {\n          return inner(date, locale).split(' ')[0];\n        }\n      );\n    }\n    /**\n     * @param {?} date\n     * @param {?} locale\n     * @param {?} options\n     * @return {?}\n     */\n\n\n    function intlDateFormat(date, locale, options) {\n      return new Intl.DateTimeFormat(locale, options).format(date).replace(/[\\u200e\\u200f]/g, '');\n    }\n    /**\n     * @param {?} timezone\n     * @return {?}\n     */\n\n\n    function timeZoneGetter$1(timezone) {\n      // To workaround `Intl` API restriction for single timezone let format with 24 hours\n\n      /** @type {?} */\n      var options = {\n        hour: '2-digit',\n        hour12: false,\n        timeZoneName: timezone\n      };\n      return (\n        /**\n        * @param {?} date\n        * @param {?} locale\n        * @return {?}\n        */\n        function (date, locale) {\n          /** @type {?} */\n          var result = intlDateFormat(date, locale, options); // Then extract first 3 letters that related to hours\n\n          return result ? result.substring(3) : '';\n        }\n      );\n    }\n    /**\n     * @param {?} options\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function hour12Modify(options, value) {\n      options.hour12 = value;\n      return options;\n    }\n    /**\n     * @param {?} prop\n     * @param {?} len\n     * @return {?}\n     */\n\n\n    function digitCondition(prop, len) {\n      /** @type {?} */\n      var result = {};\n      result[prop] = len === 2 ? '2-digit' : 'numeric';\n      return result;\n    }\n    /**\n     * @param {?} prop\n     * @param {?} len\n     * @return {?}\n     */\n\n\n    function nameCondition(prop, len) {\n      /** @type {?} */\n      var result = {};\n\n      if (len < 4) {\n        result[prop] = len > 1 ? 'short' : 'narrow';\n      } else {\n        result[prop] = 'long';\n      }\n\n      return result;\n    }\n    /**\n     * @param {?} options\n     * @return {?}\n     */\n\n\n    function combine(options) {\n      return options.reduce(\n      /**\n      * @param {?} merged\n      * @param {?} opt\n      * @return {?}\n      */\n      function (merged, opt) {\n        return Object.assign({}, merged, opt);\n      }, {});\n    }\n    /**\n     * @param {?} ret\n     * @return {?}\n     */\n\n\n    function datePartGetterFactory(ret) {\n      return (\n        /**\n        * @param {?} date\n        * @param {?} locale\n        * @return {?}\n        */\n        function (date, locale) {\n          return intlDateFormat(date, locale, ret);\n        }\n      );\n    }\n    /** @type {?} */\n\n\n    var DATE_FORMATTER_CACHE = new Map();\n    /**\n     * @param {?} format\n     * @param {?} date\n     * @param {?} locale\n     * @return {?}\n     */\n\n    function dateFormatter(format, date, locale) {\n      /** @type {?} */\n      var fn = PATTERN_ALIASES[format];\n      if (fn) return fn(date, locale);\n      /** @type {?} */\n\n      var cacheKey = format;\n      /** @type {?} */\n\n      var parts = DATE_FORMATTER_CACHE.get(cacheKey);\n\n      if (!parts) {\n        parts = [];\n        /** @type {?} */\n\n        var match;\n        DATE_FORMATS_SPLIT$1.exec(format);\n        /** @type {?} */\n\n        var _format = format;\n\n        while (_format) {\n          match = DATE_FORMATS_SPLIT$1.exec(_format);\n\n          if (match) {\n            parts = parts.concat(match.slice(1));\n            _format =\n            /** @type {?} */\n            parts.pop();\n          } else {\n            parts.push(_format);\n            _format = null;\n          }\n        }\n\n        DATE_FORMATTER_CACHE.set(cacheKey, parts);\n      }\n\n      return parts.reduce(\n      /**\n      * @param {?} text\n      * @param {?} part\n      * @return {?}\n      */\n      function (text, part) {\n        /** @type {?} */\n        var fn = DATE_FORMATS$1[part];\n        return text + (fn ? fn(date, locale) : partToTime(part));\n      }, '');\n    }\n    /**\n     * @param {?} part\n     * @return {?}\n     */\n\n\n    function partToTime(part) {\n      return part === '\\'\\'' ? '\\'' : part.replace(/(^'|'$)/g, '').replace(/''/g, '\\'');\n    }\n\n    var DateFormatter =\n    /*#__PURE__*/\n    function () {\n      function DateFormatter() {\n        _classCallCheck(this, DateFormatter);\n      }\n\n      _createClass2(DateFormatter, null, [{\n        key: \"format\",\n\n        /**\n         * @param {?} date\n         * @param {?} locale\n         * @param {?} pattern\n         * @return {?}\n         */\n        value: function format(date, locale, pattern) {\n          return dateFormatter(pattern, date, locale);\n        }\n      }]);\n\n      return DateFormatter;\n    }();\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * \\@ngModule CommonModule\n     * \\@description\n     *\n     * Formats a date according to locale rules.\n     *\n     * Where:\n     * - `expression` is a date object or a number (milliseconds since UTC epoch) or an ISO string\n     * (https://www.w3.org/TR/NOTE-datetime).\n     * - `format` indicates which date/time components to include. The format can be predefined as\n     *   shown below or custom as shown in the table.\n     *   - `'medium'`: equivalent to `'yMMMdjms'` (e.g. `Sep 3, 2010, 12:05:08 PM` for `en-US`)\n     *   - `'short'`: equivalent to `'yMdjm'` (e.g. `9/3/2010, 12:05 PM` for `en-US`)\n     *   - `'fullDate'`: equivalent to `'yMMMMEEEEd'` (e.g. `Friday, September 3, 2010` for `en-US`)\n     *   - `'longDate'`: equivalent to `'yMMMMd'` (e.g. `September 3, 2010` for `en-US`)\n     *   - `'mediumDate'`: equivalent to `'yMMMd'` (e.g. `Sep 3, 2010` for `en-US`)\n     *   - `'shortDate'`: equivalent to `'yMd'` (e.g. `9/3/2010` for `en-US`)\n     *   - `'mediumTime'`: equivalent to `'jms'` (e.g. `12:05:08 PM` for `en-US`)\n     *   - `'shortTime'`: equivalent to `'jm'` (e.g. `12:05 PM` for `en-US`)\n     *\n     *\n     *  | Component | Symbol | Narrow | Short Form   | Long Form         | Numeric   | 2-digit   |\n     *  |-----------|:------:|--------|--------------|-------------------|-----------|-----------|\n     *  | era       |   G    | G (A)  | GGG (AD)     | GGGG (Anno Domini)| -         | -         |\n     *  | year      |   y    | -      | -            | -                 | y (2015)  | yy (15)   |\n     *  | month     |   M    | L (S)  | MMM (Sep)    | MMMM (September)  | M (9)     | MM (09)   |\n     *  | day       |   d    | -      | -            | -                 | d (3)     | dd (03)   |\n     *  | weekday   |   E    | E (S)  | EEE (Sun)    | EEEE (Sunday)     | -         | -         |\n     *  | hour      |   j    | -      | -            | -                 | j (13)    | jj (13)   |\n     *  | hour12    |   h    | -      | -            | -                 | h (1 PM)  | hh (01 PM)|\n     *  | hour24    |   H    | -      | -            | -                 | H (13)    | HH (13)   |\n     *  | minute    |   m    | -      | -            | -                 | m (5)     | mm (05)   |\n     *  | second    |   s    | -      | -            | -                 | s (9)     | ss (09)   |\n     *  | timezone  |   z    | -      | -            | z (Pacific Standard Time)| -  | -         |\n     *  | timezone  |   Z    | -      | Z (GMT-8:00) | -                 | -         | -         |\n     *  | timezone  |   a    | -      | a (PM)       | -                 | -         | -         |\n     *\n     * In javascript, only the components specified will be respected (not the ordering,\n     * punctuations, ...) and details of the formatting will be dependent on the locale.\n     *\n     * Timezone of the formatted text will be the local system timezone of the end-user's machine.\n     *\n     * When the expression is a ISO string without time (e.g. 2016-09-19) the time zone offset is not\n     * applied and the formatted text will have the same day, month and year of the expression.\n     *\n     * WARNINGS:\n     * - this pipe is marked as pure hence it will not be re-evaluated when the input is mutated.\n     *   Instead users should treat the date as an immutable object and change the reference when the\n     *   pipe needs to re-run (this is to avoid reformatting the date on every change detection run\n     *   which would be an expensive operation).\n     * - this pipe uses the Internationalization API. Therefore it is only reliable in Chrome and Opera\n     *   browsers.\n     *\n     * \\@usageNotes\n     *\n     * ### Examples\n     *\n     * Assuming `dateObj` is (year: 2010, month: 9, day: 3, hour: 12 PM, minute: 05, second: 08)\n     * in the _local_ time and locale is 'en-US':\n     *\n     * {\\@example common/pipes/ts/date_pipe.ts region='DeprecatedDatePipe'}\n     *\n     * \\@publicApi\n     */\n\n\n    var DeprecatedDatePipe =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _locale\n       */\n      function DeprecatedDatePipe(_locale) {\n        _classCallCheck(this, DeprecatedDatePipe);\n\n        this._locale = _locale;\n      }\n      /**\n       * @param {?} value\n       * @param {?=} pattern\n       * @return {?}\n       */\n\n\n      _createClass2(DeprecatedDatePipe, [{\n        key: \"transform\",\n        value: function transform(value) {\n          var pattern = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'mediumDate';\n          if (value == null || value === '' || value !== value) return null;\n          /** @type {?} */\n\n          var date;\n\n          if (typeof value === 'string') {\n            value = value.trim();\n          }\n\n          if (isDate$1(value)) {\n            date = value;\n          } else if (!isNaN(value - parseFloat(value))) {\n            date = new Date(parseFloat(value));\n          } else if (typeof value === 'string' && /^(\\d{4}-\\d{1,2}-\\d{1,2})$/.test(value)) {\n            /**\n             * For ISO Strings without time the day, month and year must be extracted from the ISO String\n             * before Date creation to avoid time offset and errors in the new Date.\n             * If we only replace '-' with ',' in the ISO String (\"2015,01,01\"), and try to create a new\n             * date, some browsers (e.g. IE 9) will throw an invalid Date error\n             * If we leave the '-' (\"2015-01-01\") and try to create a new Date(\"2015-01-01\") the\n             * timeoffset\n             * is applied\n             * Note: ISO months are 0 for January, 1 for February, ...\n             */\n            var _value$split$map3 = value.split('-').map(\n            /**\n            * @param {?} val\n            * @return {?}\n            */\n            function (val) {\n              return parseInt(val, 10);\n            }),\n                _value$split$map4 = _slicedToArray(_value$split$map3, 3),\n                y = _value$split$map4[0],\n                m = _value$split$map4[1],\n                d = _value$split$map4[2];\n\n            date = new Date(y, m - 1, d);\n          } else {\n            date = new Date(value);\n          }\n\n          if (!isDate$1(date)) {\n            /** @type {?} */\n            var match;\n\n            if (typeof value === 'string' && (match = value.match(ISO8601_DATE_REGEX))) {\n              date = isoStringToDate(match);\n            } else {\n              throw invalidPipeArgumentError(DeprecatedDatePipe, value);\n            }\n          }\n\n          return DateFormatter.format(date, this._locale, DeprecatedDatePipe._ALIASES[pattern] || pattern);\n        }\n      }]);\n\n      return DeprecatedDatePipe;\n    }();\n    /**\n     * \\@internal\n     */\n\n\n    DeprecatedDatePipe._ALIASES = {\n      'medium': 'yMMMdjms',\n      'short': 'yMdjm',\n      'fullDate': 'yMMMMEEEEd',\n      'longDate': 'yMMMMd',\n      'mediumDate': 'yMMMd',\n      'shortDate': 'yMd',\n      'mediumTime': 'jms',\n      'shortTime': 'jm'\n    };\n    DeprecatedDatePipe.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Pipe\"],\n      args: [{\n        name: 'date',\n        pure: true\n      }]\n    }];\n    /** @nocollapse */\n\n    DeprecatedDatePipe.ctorParameters = function () {\n      return [{\n        type: String,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"LOCALE_ID\"]]\n        }]\n      }];\n    };\n\n    if (false) {}\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function isDate$1(value) {\n      return value instanceof Date && !isNaN(value.valueOf());\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @param {?} pipe\n     * @param {?} locale\n     * @param {?} value\n     * @param {?} style\n     * @param {?=} digits\n     * @param {?=} currency\n     * @param {?=} currencyAsSymbol\n     * @return {?}\n     */\n\n\n    function formatNumber$1(pipe, locale, value, style, digits) {\n      var currency = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : null;\n      var currencyAsSymbol = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : false;\n      if (value == null) return null; // Convert strings to numbers\n\n      value = typeof value === 'string' && !isNaN(+value - parseFloat(value)) ? +value : value;\n\n      if (typeof value !== 'number') {\n        throw invalidPipeArgumentError(pipe, value);\n      }\n      /** @type {?} */\n\n\n      var minInt;\n      /** @type {?} */\n\n      var minFraction;\n      /** @type {?} */\n\n      var maxFraction;\n\n      if (style !== NumberFormatStyle.Currency) {\n        // rely on Intl default for currency\n        minInt = 1;\n        minFraction = 0;\n        maxFraction = 3;\n      }\n\n      if (digits) {\n        /** @type {?} */\n        var parts = digits.match(NUMBER_FORMAT_REGEXP);\n\n        if (parts === null) {\n          throw new Error(\"\".concat(digits, \" is not a valid digit info for number pipes\"));\n        }\n\n        if (parts[1] != null) {\n          // min integer digits\n          minInt = parseIntAutoRadix(parts[1]);\n        }\n\n        if (parts[3] != null) {\n          // min fraction digits\n          minFraction = parseIntAutoRadix(parts[3]);\n        }\n\n        if (parts[5] != null) {\n          // max fraction digits\n          maxFraction = parseIntAutoRadix(parts[5]);\n        }\n      }\n\n      return NumberFormatter.format(\n      /** @type {?} */\n      value, locale, style, {\n        minimumIntegerDigits: minInt,\n        minimumFractionDigits: minFraction,\n        maximumFractionDigits: maxFraction,\n        currency: currency,\n        currencyAsSymbol: currencyAsSymbol\n      });\n    }\n    /**\n     * Formats a number as text. Group sizing and separator and other locale-specific\n     * configurations are based on the active locale.\n     *\n     * where `expression` is a number:\n     *  - `digitInfo` is a `string` which has a following format: <br>\n     *     <code>{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}</code>\n     *   - `minIntegerDigits` is the minimum number of integer digits to use. Defaults to `1`.\n     *   - `minFractionDigits` is the minimum number of digits after fraction. Defaults to `0`.\n     *   - `maxFractionDigits` is the maximum number of digits after fraction. Defaults to `3`.\n     *\n     * For more information on the acceptable range for each of these numbers and other\n     * details see your native internationalization library.\n     *\n     * WARNING: this pipe uses the Internationalization API which is not yet available in all browsers\n     * and may require a polyfill. See [Browser Support](guide/browser-support) for details.\n     *\n     * \\@usageNotes\n     *\n     * ### Example\n     *\n     * {\\@example common/pipes/ts/number_pipe.ts region='DeprecatedNumberPipe'}\n     *\n     * \\@ngModule CommonModule\n     * \\@publicApi\n     */\n\n\n    var DeprecatedDecimalPipe =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _locale\n       */\n      function DeprecatedDecimalPipe(_locale) {\n        _classCallCheck(this, DeprecatedDecimalPipe);\n\n        this._locale = _locale;\n      }\n      /**\n       * @param {?} value\n       * @param {?=} digits\n       * @return {?}\n       */\n\n\n      _createClass2(DeprecatedDecimalPipe, [{\n        key: \"transform\",\n        value: function transform(value, digits) {\n          return formatNumber$1(DeprecatedDecimalPipe, this._locale, value, NumberFormatStyle.Decimal, digits);\n        }\n      }]);\n\n      return DeprecatedDecimalPipe;\n    }();\n\n    DeprecatedDecimalPipe.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Pipe\"],\n      args: [{\n        name: 'number'\n      }]\n    }];\n    /** @nocollapse */\n\n    DeprecatedDecimalPipe.ctorParameters = function () {\n      return [{\n        type: String,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"LOCALE_ID\"]]\n        }]\n      }];\n    };\n\n    if (false) {}\n    /**\n     * \\@ngModule CommonModule\n     *\n     * \\@description\n     *\n     * Formats a number as percentage according to locale rules.\n     *\n     * - `digitInfo` See {\\@link DecimalPipe} for detailed description.\n     *\n     * WARNING: this pipe uses the Internationalization API which is not yet available in all browsers\n     * and may require a polyfill. See [Browser Support](guide/browser-support) for details.\n     *\n     * \\@usageNotes\n     *\n     * ### Example\n     *\n     * {\\@example common/pipes/ts/percent_pipe.ts region='DeprecatedPercentPipe'}\n     *\n     * \\@publicApi\n     */\n\n\n    var DeprecatedPercentPipe =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _locale\n       */\n      function DeprecatedPercentPipe(_locale) {\n        _classCallCheck(this, DeprecatedPercentPipe);\n\n        this._locale = _locale;\n      }\n      /**\n       * @param {?} value\n       * @param {?=} digits\n       * @return {?}\n       */\n\n\n      _createClass2(DeprecatedPercentPipe, [{\n        key: \"transform\",\n        value: function transform(value, digits) {\n          return formatNumber$1(DeprecatedPercentPipe, this._locale, value, NumberFormatStyle.Percent, digits);\n        }\n      }]);\n\n      return DeprecatedPercentPipe;\n    }();\n\n    DeprecatedPercentPipe.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Pipe\"],\n      args: [{\n        name: 'percent'\n      }]\n    }];\n    /** @nocollapse */\n\n    DeprecatedPercentPipe.ctorParameters = function () {\n      return [{\n        type: String,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"LOCALE_ID\"]]\n        }]\n      }];\n    };\n\n    if (false) {}\n    /**\n     * \\@ngModule CommonModule\n     * \\@description\n     *\n     * Formats a number as currency using locale rules.\n     *\n     * Use `currency` to format a number as currency.\n     *\n     * - `currencyCode` is the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code, such\n     *    as `USD` for the US dollar and `EUR` for the euro.\n     * - `symbolDisplay` is a boolean indicating whether to use the currency symbol or code.\n     *   - `true`: use symbol (e.g. `$`).\n     *   - `false`(default): use code (e.g. `USD`).\n     * - `digitInfo` See {\\@link DecimalPipe} for detailed description.\n     *\n     * WARNING: this pipe uses the Internationalization API which is not yet available in all browsers\n     * and may require a polyfill. See [Browser Support](guide/browser-support) for details.\n     *\n     * \\@usageNotes\n     *\n     * ### Example\n     *\n     * {\\@example common/pipes/ts/currency_pipe.ts region='DeprecatedCurrencyPipe'}\n     *\n     * \\@publicApi\n     */\n\n\n    var DeprecatedCurrencyPipe =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _locale\n       */\n      function DeprecatedCurrencyPipe(_locale) {\n        _classCallCheck(this, DeprecatedCurrencyPipe);\n\n        this._locale = _locale;\n      }\n      /**\n       * @param {?} value\n       * @param {?=} currencyCode\n       * @param {?=} symbolDisplay\n       * @param {?=} digits\n       * @return {?}\n       */\n\n\n      _createClass2(DeprecatedCurrencyPipe, [{\n        key: \"transform\",\n        value: function transform(value) {\n          var currencyCode = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'USD';\n          var symbolDisplay = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n          var digits = arguments.length > 3 ? arguments[3] : undefined;\n          return formatNumber$1(DeprecatedCurrencyPipe, this._locale, value, NumberFormatStyle.Currency, digits, currencyCode, symbolDisplay);\n        }\n      }]);\n\n      return DeprecatedCurrencyPipe;\n    }();\n\n    DeprecatedCurrencyPipe.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Pipe\"],\n      args: [{\n        name: 'currency'\n      }]\n    }];\n    /** @nocollapse */\n\n    DeprecatedCurrencyPipe.ctorParameters = function () {\n      return [{\n        type: String,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"LOCALE_ID\"]]\n        }]\n      }];\n    };\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * A collection of deprecated i18n pipes that require intl api\n     *\n     * @deprecated from v5\n     * @type {?}\n     */\n\n\n    var COMMON_DEPRECATED_I18N_PIPES = [DeprecatedDecimalPipe, DeprecatedPercentPipe, DeprecatedCurrencyPipe, DeprecatedDatePipe];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @record\n     */\n\n    function SubscriptionStrategy() {}\n\n    if (false) {}\n\n    var ObservableStrategy =\n    /*#__PURE__*/\n    function () {\n      function ObservableStrategy() {\n        _classCallCheck(this, ObservableStrategy);\n      }\n\n      _createClass2(ObservableStrategy, [{\n        key: \"createSubscription\",\n\n        /**\n         * @param {?} async\n         * @param {?} updateLatestValue\n         * @return {?}\n         */\n        value: function createSubscription(async, updateLatestValue) {\n          return async.subscribe({\n            next: updateLatestValue,\n            error:\n            /**\n            * @param {?} e\n            * @return {?}\n            */\n            function error(e) {\n              throw e;\n            }\n          });\n        }\n        /**\n         * @param {?} subscription\n         * @return {?}\n         */\n\n      }, {\n        key: \"dispose\",\n        value: function dispose(subscription) {\n          subscription.unsubscribe();\n        }\n        /**\n         * @param {?} subscription\n         * @return {?}\n         */\n\n      }, {\n        key: \"onDestroy\",\n        value: function onDestroy(subscription) {\n          subscription.unsubscribe();\n        }\n      }]);\n\n      return ObservableStrategy;\n    }();\n\n    var PromiseStrategy =\n    /*#__PURE__*/\n    function () {\n      function PromiseStrategy() {\n        _classCallCheck(this, PromiseStrategy);\n      }\n\n      _createClass2(PromiseStrategy, [{\n        key: \"createSubscription\",\n\n        /**\n         * @param {?} async\n         * @param {?} updateLatestValue\n         * @return {?}\n         */\n        value: function createSubscription(async, updateLatestValue) {\n          return async.then(updateLatestValue,\n          /**\n          * @param {?} e\n          * @return {?}\n          */\n          function (e) {\n            throw e;\n          });\n        }\n        /**\n         * @param {?} subscription\n         * @return {?}\n         */\n\n      }, {\n        key: \"dispose\",\n        value: function dispose(subscription) {}\n        /**\n         * @param {?} subscription\n         * @return {?}\n         */\n\n      }, {\n        key: \"onDestroy\",\n        value: function onDestroy(subscription) {}\n      }]);\n\n      return PromiseStrategy;\n    }();\n    /** @type {?} */\n\n\n    var _promiseStrategy = new PromiseStrategy();\n    /** @type {?} */\n\n\n    var _observableStrategy = new ObservableStrategy();\n    /**\n     * \\@ngModule CommonModule\n     * \\@description\n     *\n     * Unwraps a value from an asynchronous primitive.\n     *\n     * The `async` pipe subscribes to an `Observable` or `Promise` and returns the latest value it has\n     * emitted. When a new value is emitted, the `async` pipe marks the component to be checked for\n     * changes. When the component gets destroyed, the `async` pipe unsubscribes automatically to avoid\n     * potential memory leaks.\n     *\n     * \\@usageNotes\n     *\n     * ### Examples\n     *\n     * This example binds a `Promise` to the view. Clicking the `Resolve` button resolves the\n     * promise.\n     *\n     * {\\@example common/pipes/ts/async_pipe.ts region='AsyncPipePromise'}\n     *\n     * It's also possible to use `async` with Observables. The example below binds the `time` Observable\n     * to the view. The Observable continuously updates the view with the current time.\n     *\n     * {\\@example common/pipes/ts/async_pipe.ts region='AsyncPipeObservable'}\n     *\n     * \\@publicApi\n     */\n\n\n    var AsyncPipe =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _ref\n       */\n      function AsyncPipe(_ref) {\n        _classCallCheck(this, AsyncPipe);\n\n        this._ref = _ref;\n        this._latestValue = null;\n        this._latestReturnedValue = null;\n        this._subscription = null;\n        this._obj = null;\n        this._strategy =\n        /** @type {?} */\n        null;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(AsyncPipe, [{\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          if (this._subscription) {\n            this._dispose();\n          }\n        }\n        /**\n         * @param {?} obj\n         * @return {?}\n         */\n\n      }, {\n        key: \"transform\",\n        value: function transform(obj) {\n          if (!this._obj) {\n            if (obj) {\n              this._subscribe(obj);\n            }\n\n            this._latestReturnedValue = this._latestValue;\n            return this._latestValue;\n          }\n\n          if (obj !== this._obj) {\n            this._dispose();\n\n            return this.transform(\n            /** @type {?} */\n            obj);\n          }\n\n          if (Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵlooseIdentical\"])(this._latestValue, this._latestReturnedValue)) {\n            return this._latestReturnedValue;\n          }\n\n          this._latestReturnedValue = this._latestValue;\n          return _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"WrappedValue\"].wrap(this._latestValue);\n        }\n        /**\n         * @private\n         * @param {?} obj\n         * @return {?}\n         */\n\n      }, {\n        key: \"_subscribe\",\n        value: function _subscribe(obj) {\n          var _this132 = this;\n\n          this._obj = obj;\n          this._strategy = this._selectStrategy(obj);\n          this._subscription = this._strategy.createSubscription(obj,\n          /**\n          * @param {?} value\n          * @return {?}\n          */\n          function (value) {\n            return _this132._updateLatestValue(obj, value);\n          });\n        }\n        /**\n         * @private\n         * @param {?} obj\n         * @return {?}\n         */\n\n      }, {\n        key: \"_selectStrategy\",\n        value: function _selectStrategy(obj) {\n          if (Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵisPromise\"])(obj)) {\n            return _promiseStrategy;\n          }\n\n          if (Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵisObservable\"])(obj)) {\n            return _observableStrategy;\n          }\n\n          throw invalidPipeArgumentError(AsyncPipe, obj);\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_dispose\",\n        value: function _dispose() {\n          this._strategy.dispose(\n          /** @type {?} */\n          this._subscription);\n\n          this._latestValue = null;\n          this._latestReturnedValue = null;\n          this._subscription = null;\n          this._obj = null;\n        }\n        /**\n         * @private\n         * @param {?} async\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"_updateLatestValue\",\n        value: function _updateLatestValue(async, value) {\n          if (async === this._obj) {\n            this._latestValue = value;\n\n            this._ref.markForCheck();\n          }\n        }\n      }]);\n\n      return AsyncPipe;\n    }();\n\n    AsyncPipe.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"]\n    }, {\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Pipe\"],\n      args: [{\n        name: 'async',\n        pure: false\n      }]\n    }];\n    /** @nocollapse */\n\n    AsyncPipe.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ChangeDetectorRef\"]\n      }];\n    };\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Transforms text to all lower case.\n     *\n     * @see `UpperCasePipe`\n     * @see `TitleCasePipe`\n     * \\@usageNotes\n     *\n     * The following example defines a view that allows the user to enter\n     * text, and then uses the pipe to convert the input text to all lower case.\n     *\n     * <code-example path=\"common/pipes/ts/lowerupper_pipe.ts\" region='LowerUpperPipe'></code-example>\n     *\n     * \\@ngModule CommonModule\n     * \\@publicApi\n     */\n\n\n    var LowerCasePipe =\n    /*#__PURE__*/\n    function () {\n      function LowerCasePipe() {\n        _classCallCheck(this, LowerCasePipe);\n      }\n\n      _createClass2(LowerCasePipe, [{\n        key: \"transform\",\n\n        /**\n         * @param {?} value The string to transform to lower case.\n         * @return {?}\n         */\n        value: function transform(value) {\n          if (!value) return value;\n\n          if (typeof value !== 'string') {\n            throw invalidPipeArgumentError(LowerCasePipe, value);\n          }\n\n          return value.toLowerCase();\n        }\n      }]);\n\n      return LowerCasePipe;\n    }();\n\n    LowerCasePipe.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"]\n    }, {\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Pipe\"],\n      args: [{\n        name: 'lowercase'\n      }]\n    }]; //\n    // Regex below matches any Unicode word and compatible with ES5. In ES2018 the same result\n    // can be achieved by using /\\p{L}\\S*/gu and also known as Unicode Property Escapes\n    // (http://2ality.com/2017/07/regexp-unicode-property-escapes.html). Since there is no\n    // transpilation of this functionality down to ES5 without external tool, the only solution is\n    // to use already transpiled form. Example can be found here -\n    // https://mothereff.in/regexpu#input=var+regex+%3D+/%5Cp%7BL%7D/u%3B&unicodePropertyEscape=1\n    //\n\n    /** @type {?} */\n\n    var unicodeWordMatch = /(?:[A-Za-z\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u0860-\\u086A\\u08A0-\\u08B4\\u08B6-\\u08BD\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u09FC\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5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\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F5\\u13F8-\\u13FD\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16F1-\\u16F8\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u1884\\u1887-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1C80-\\u1C88\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2183\\u2184\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005\\u3006\\u3031-\\u3035\\u303B\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312E\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FEA\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6E5\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA7AE\\uA7B0-\\uA7B7\\uA7F7-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA8FD\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uA9E0-\\uA9E4\\uA9E6-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5\\u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57\\uDE59\\uDE5B\\uDE5D\\uDE5F\\uDE61\\uDE62\\uDE64\\uDE67-\\uDE6A\\uDE6C-\\uDE72\\uDE74-\\uDE77\\uDE79-\\uDE7C\\uDE7E\\uDE80-\\uDE89\\uDE8B-\\uDE9B\\uDEA1-\\uDEA3\\uDEA5-\\uDEA9\\uDEAB-\\uDEBB]|\\uD869[\\uDC00-\\uDED6\\uDF00-\\uDFFF]|\\uD86D[\\uDC00-\\uDF34\\uDF40-\\uDFFF]|\\uD86E[\\uDC00-\\uDC1D\\uDC20-\\uDFFF]|\\uD873[\\uDC00-\\uDEA1\\uDEB0-\\uDFFF]|\\uD87A[\\uDC00-\\uDFE0]|\\uD87E[\\uDC00-\\uDE1D])\\S*/g;\n    /**\n     * Transforms text to title case.\n     * Capitalizes the first letter of each word, and transforms the\n     * rest of the word to lower case.\n     * Words are delimited by any whitespace character, such as a space, tab, or line-feed character.\n     *\n     * @see `LowerCasePipe`\n     * @see `UpperCasePipe`\n     *\n     * \\@usageNotes\n     * The following example shows the result of transforming various strings into title case.\n     *\n     * <code-example path=\"common/pipes/ts/titlecase_pipe.ts\" region='TitleCasePipe'></code-example>\n     *\n     * \\@ngModule CommonModule\n     * \\@publicApi\n     */\n\n    var TitleCasePipe =\n    /*#__PURE__*/\n    function () {\n      function TitleCasePipe() {\n        _classCallCheck(this, TitleCasePipe);\n      }\n\n      _createClass2(TitleCasePipe, [{\n        key: \"transform\",\n\n        /**\n         * @param {?} value The string to transform to title case.\n         * @return {?}\n         */\n        value: function transform(value) {\n          if (!value) return value;\n\n          if (typeof value !== 'string') {\n            throw invalidPipeArgumentError(TitleCasePipe, value);\n          }\n\n          return value.replace(unicodeWordMatch,\n          /**\n          * @param {?} txt\n          * @return {?}\n          */\n          function (txt) {\n            return txt[0].toUpperCase() + txt.substr(1).toLowerCase();\n          });\n        }\n      }]);\n\n      return TitleCasePipe;\n    }();\n\n    TitleCasePipe.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"]\n    }, {\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Pipe\"],\n      args: [{\n        name: 'titlecase'\n      }]\n    }];\n    /**\n     * Transforms text to all upper case.\n     * @see `LowerCasePipe`\n     * @see `TitleCasePipe`\n     *\n     * \\@ngModule CommonModule\n     * \\@publicApi\n     */\n\n    var UpperCasePipe =\n    /*#__PURE__*/\n    function () {\n      function UpperCasePipe() {\n        _classCallCheck(this, UpperCasePipe);\n      }\n\n      _createClass2(UpperCasePipe, [{\n        key: \"transform\",\n\n        /**\n         * @param {?} value The string to transform to upper case.\n         * @return {?}\n         */\n        value: function transform(value) {\n          if (!value) return value;\n\n          if (typeof value !== 'string') {\n            throw invalidPipeArgumentError(UpperCasePipe, value);\n          }\n\n          return value.toUpperCase();\n        }\n      }]);\n\n      return UpperCasePipe;\n    }();\n\n    UpperCasePipe.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"]\n    }, {\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Pipe\"],\n      args: [{\n        name: 'uppercase'\n      }]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n    // clang-format off\n\n    /**\n     * \\@ngModule CommonModule\n     * \\@description\n     *\n     * Formats a date value according to locale rules.\n     *\n     * Only the `en-US` locale data comes with Angular. To localize dates\n     * in another language, you must import the corresponding locale data.\n     * See the [I18n guide](guide/i18n#i18n-pipes) for more information.\n     *\n     * @see `formatDate()`\n     *\n     *\n     * \\@usageNotes\n     *\n     * The result of this pipe is not reevaluated when the input is mutated. To avoid the need to\n     * reformat the date on every change-detection cycle, treat the date as an immutable object\n     * and change the reference when the pipe needs to run again.\n     *\n     * ### Pre-defined format options\n     *\n     * Examples are given in `en-US` locale.\n     *\n     * - `'short'`: equivalent to `'M/d/yy, h:mm a'` (`6/15/15, 9:03 AM`).\n     * - `'medium'`: equivalent to `'MMM d, y, h:mm:ss a'` (`Jun 15, 2015, 9:03:01 AM`).\n     * - `'long'`: equivalent to `'MMMM d, y, h:mm:ss a z'` (`June 15, 2015 at 9:03:01 AM\n     * GMT+1`).\n     * - `'full'`: equivalent to `'EEEE, MMMM d, y, h:mm:ss a zzzz'` (`Monday, June 15, 2015 at\n     * 9:03:01 AM GMT+01:00`).\n     * - `'shortDate'`: equivalent to `'M/d/yy'` (`6/15/15`).\n     * - `'mediumDate'`: equivalent to `'MMM d, y'` (`Jun 15, 2015`).\n     * - `'longDate'`: equivalent to `'MMMM d, y'` (`June 15, 2015`).\n     * - `'fullDate'`: equivalent to `'EEEE, MMMM d, y'` (`Monday, June 15, 2015`).\n     * - `'shortTime'`: equivalent to `'h:mm a'` (`9:03 AM`).\n     * - `'mediumTime'`: equivalent to `'h:mm:ss a'` (`9:03:01 AM`).\n     * - `'longTime'`: equivalent to `'h:mm:ss a z'` (`9:03:01 AM GMT+1`).\n     * - `'fullTime'`: equivalent to `'h:mm:ss a zzzz'` (`9:03:01 AM GMT+01:00`).\n     *\n     * ### Custom format options\n     *\n     * You can construct a format string using symbols to specify the components\n     * of a date-time value, as described in the following table.\n     * Format details depend on the locale.\n     * Fields marked with (*) are only available in the extra data set for the given locale.\n     *\n     *  | Field type         | Format      | Description                                                   | Example Value                                              |\n     *  |--------------------|-------------|---------------------------------------------------------------|------------------------------------------------------------|\n     *  | Era                | G, GG & GGG | Abbreviated                                                   | AD                                                         |\n     *  |                    | GGGG        | Wide                                                          | Anno Domini                                                |\n     *  |                    | GGGGG       | Narrow                                                        | A                                                          |\n     *  | Year               | y           | Numeric: minimum digits                                       | 2, 20, 201, 2017, 20173                                    |\n     *  |                    | yy          | Numeric: 2 digits + zero padded                               | 02, 20, 01, 17, 73                                         |\n     *  |                    | yyy         | Numeric: 3 digits + zero padded                               | 002, 020, 201, 2017, 20173                                 |\n     *  |                    | yyyy        | Numeric: 4 digits or more + zero padded                       | 0002, 0020, 0201, 2017, 20173                              |\n     *  | Month              | M           | Numeric: 1 digit                                              | 9, 12                                                      |\n     *  |                    | MM          | Numeric: 2 digits + zero padded                               | 09, 12                                                     |\n     *  |                    | MMM         | Abbreviated                                                   | Sep                                                        |\n     *  |                    | MMMM        | Wide                                                          | September                                                  |\n     *  |                    | MMMMM       | Narrow                                                        | S                                                          |\n     *  | Month standalone   | L           | Numeric: 1 digit                                              | 9, 12                                                      |\n     *  |                    | LL          | Numeric: 2 digits + zero padded                               | 09, 12                                                     |\n     *  |                    | LLL         | Abbreviated                                                   | Sep                                                        |\n     *  |                    | LLLL        | Wide                                                          | September                                                  |\n     *  |                    | LLLLL       | Narrow                                                        | S                                                          |\n     *  | Week of year       | w           | Numeric: minimum digits                                       | 1... 53                                                    |\n     *  |                    | ww          | Numeric: 2 digits + zero padded                               | 01... 53                                                   |\n     *  | Week of month      | W           | Numeric: 1 digit                                              | 1... 5                                                     |\n     *  | Day of month       | d           | Numeric: minimum digits                                       | 1                                                          |\n     *  |                    | dd          | Numeric: 2 digits + zero padded                               | 01                                                          |\n     *  | Week day           | E, EE & EEE | Abbreviated                                                   | Tue                                                        |\n     *  |                    | EEEE        | Wide                                                          | Tuesday                                                    |\n     *  |                    | EEEEE       | Narrow                                                        | T                                                          |\n     *  |                    | EEEEEE      | Short                                                         | Tu                                                         |\n     *  | Period             | a, aa & aaa | Abbreviated                                                   | am/pm or AM/PM                                             |\n     *  |                    | aaaa        | Wide (fallback to `a` when missing)                           | ante meridiem/post meridiem                                |\n     *  |                    | aaaaa       | Narrow                                                        | a/p                                                        |\n     *  | Period*            | B, BB & BBB | Abbreviated                                                   | mid.                                                       |\n     *  |                    | BBBB        | Wide                                                          | am, pm, midnight, noon, morning, afternoon, evening, night |\n     *  |                    | BBBBB       | Narrow                                                        | md                                                         |\n     *  | Period standalone* | b, bb & bbb | Abbreviated                                                   | mid.                                                       |\n     *  |                    | bbbb        | Wide                                                          | am, pm, midnight, noon, morning, afternoon, evening, night |\n     *  |                    | bbbbb       | Narrow                                                        | md                                                         |\n     *  | Hour 1-12          | h           | Numeric: minimum digits                                       | 1, 12                                                      |\n     *  |                    | hh          | Numeric: 2 digits + zero padded                               | 01, 12                                                     |\n     *  | Hour 0-23          | H           | Numeric: minimum digits                                       | 0, 23                                                      |\n     *  |                    | HH          | Numeric: 2 digits + zero padded                               | 00, 23                                                     |\n     *  | Minute             | m           | Numeric: minimum digits                                       | 8, 59                                                      |\n     *  |                    | mm          | Numeric: 2 digits + zero padded                               | 08, 59                                                     |\n     *  | Second             | s           | Numeric: minimum digits                                       | 0... 59                                                    |\n     *  |                    | ss          | Numeric: 2 digits + zero padded                               | 00... 59                                                   |\n     *  | Fractional seconds | S           | Numeric: 1 digit                                              | 0... 9                                                     |\n     *  |                    | SS          | Numeric: 2 digits + zero padded                               | 00... 99                                                   |\n     *  |                    | SSS         | Numeric: 3 digits + zero padded (= milliseconds)              | 000... 999                                                 |\n     *  | Zone               | z, zz & zzz | Short specific non location format (fallback to O)            | GMT-8                                                      |\n     *  |                    | zzzz        | Long specific non location format (fallback to OOOO)          | GMT-08:00                                                  |\n     *  |                    | Z, ZZ & ZZZ | ISO8601 basic format                                          | -0800                                                      |\n     *  |                    | ZZZZ        | Long localized GMT format                                     | GMT-8:00                                                   |\n     *  |                    | ZZZZZ       | ISO8601 extended format + Z indicator for offset 0 (= XXXXX)  | -08:00                                                     |\n     *  |                    | O, OO & OOO | Short localized GMT format                                    | GMT-8                                                      |\n     *  |                    | OOOO        | Long localized GMT format                                     | GMT-08:00                                                  |\n     *\n     * Note that timezone correction is not applied to an ISO string that has no time component, such as \"2016-09-19\"\n     *\n     * ### Format examples\n     *\n     * These examples transform a date into various formats,\n     * assuming that `dateObj` is a JavaScript `Date` object for\n     * year: 2015, month: 6, day: 15, hour: 21, minute: 43, second: 11,\n     * given in the local time for the `en-US` locale.\n     *\n     * ```\n     * {{ dateObj | date }}               // output is 'Jun 15, 2015'\n     * {{ dateObj | date:'medium' }}      // output is 'Jun 15, 2015, 9:43:11 PM'\n     * {{ dateObj | date:'shortTime' }}   // output is '9:43 PM'\n     * {{ dateObj | date:'mm:ss' }}       // output is '43:11'\n     * ```\n     *\n     * ### Usage example\n     *\n     * The following component uses a date pipe to display the current date in different formats.\n     *\n     * ```\n     * \\@Component({\n     *  selector: 'date-pipe',\n     *  template: `<div>\n     *    <p>Today is {{today | date}}</p>\n     *    <p>Or if you prefer, {{today | date:'fullDate'}}</p>\n     *    <p>The time is {{today | date:'h:mm a z'}}</p>\n     *  </div>`\n     * })\n     * // Get the current date and time as a date-time value.\n     * export class DatePipeComponent {\n     *   today: number = Date.now();\n     * }\n     * ```\n     *\n     * \\@publicApi\n     */\n    // clang-format on\n\n    var DatePipe =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} locale\n       */\n      function DatePipe(locale) {\n        _classCallCheck(this, DatePipe);\n\n        this.locale = locale;\n      }\n      /**\n       * @param {?} value The date expression: a `Date` object,  a number\n       * (milliseconds since UTC epoch), or an ISO string (https://www.w3.org/TR/NOTE-datetime).\n       * @param {?=} format The date/time components to include, using predefined options or a\n       * custom format string.\n       * @param {?=} timezone A timezone offset (such as `'+0430'`), or a standard\n       * UTC/GMT or continental US timezone abbreviation.\n       * When not supplied, uses the end-user's local system timezone.\n       * @param {?=} locale A locale code for the locale format rules to use.\n       * When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default.\n       * See [Setting your app locale](guide/i18n#setting-up-the-locale-of-your-app).\n       * @return {?} A date string in the desired format.\n       */\n\n\n      _createClass2(DatePipe, [{\n        key: \"transform\",\n        value: function transform(value) {\n          var format = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'mediumDate';\n          var timezone = arguments.length > 2 ? arguments[2] : undefined;\n          var locale = arguments.length > 3 ? arguments[3] : undefined;\n          if (value == null || value === '' || value !== value) return null;\n\n          try {\n            return formatDate(value, format, locale || this.locale, timezone);\n          } catch (error) {\n            throw invalidPipeArgumentError(DatePipe, error.message);\n          }\n        }\n      }]);\n\n      return DatePipe;\n    }();\n\n    DatePipe.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"]\n    }, {\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Pipe\"],\n      args: [{\n        name: 'date',\n        pure: true\n      }]\n    }];\n    /** @nocollapse */\n\n    DatePipe.ctorParameters = function () {\n      return [{\n        type: String,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"LOCALE_ID\"]]\n        }]\n      }];\n    };\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var _INTERPOLATION_REGEXP = /#/g;\n    /**\n     * \\@ngModule CommonModule\n     * \\@description\n     *\n     * Maps a value to a string that pluralizes the value according to locale rules.\n     *\n     * \\@usageNotes\n     *\n     * ### Example\n     *\n     * {\\@example common/pipes/ts/i18n_pipe.ts region='I18nPluralPipeComponent'}\n     *\n     * \\@publicApi\n     */\n\n    var I18nPluralPipe =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _localization\n       */\n      function I18nPluralPipe(_localization) {\n        _classCallCheck(this, I18nPluralPipe);\n\n        this._localization = _localization;\n      }\n      /**\n       * @param {?} value the number to be formatted\n       * @param {?} pluralMap an object that mimics the ICU format, see\n       * http://userguide.icu-project.org/formatparse/messages.\n       * @param {?=} locale a `string` defining the locale to use (uses the current {\\@link LOCALE_ID} by\n       * default).\n       * @return {?}\n       */\n\n\n      _createClass2(I18nPluralPipe, [{\n        key: \"transform\",\n        value: function transform(value, pluralMap, locale) {\n          if (value == null) return '';\n\n          if (typeof pluralMap !== 'object' || pluralMap === null) {\n            throw invalidPipeArgumentError(I18nPluralPipe, pluralMap);\n          }\n          /** @type {?} */\n\n\n          var key = getPluralCategory(value, Object.keys(pluralMap), this._localization, locale);\n          return pluralMap[key].replace(_INTERPOLATION_REGEXP, value.toString());\n        }\n      }]);\n\n      return I18nPluralPipe;\n    }();\n\n    I18nPluralPipe.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"]\n    }, {\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Pipe\"],\n      args: [{\n        name: 'i18nPlural',\n        pure: true\n      }]\n    }];\n    /** @nocollapse */\n\n    I18nPluralPipe.ctorParameters = function () {\n      return [{\n        type: NgLocalization\n      }];\n    };\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * \\@ngModule CommonModule\n     * \\@description\n     *\n     * Generic selector that displays the string that matches the current value.\n     *\n     * If none of the keys of the `mapping` match the `value`, then the content\n     * of the `other` key is returned when present, otherwise an empty string is returned.\n     *\n     * \\@usageNotes\n     *\n     * ### Example\n     *\n     * {\\@example common/pipes/ts/i18n_pipe.ts region='I18nSelectPipeComponent'}\n     *\n     * \\@publicApi\n     */\n\n\n    var I18nSelectPipe =\n    /*#__PURE__*/\n    function () {\n      function I18nSelectPipe() {\n        _classCallCheck(this, I18nSelectPipe);\n      }\n\n      _createClass2(I18nSelectPipe, [{\n        key: \"transform\",\n\n        /**\n         * @param {?} value a string to be internationalized.\n         * @param {?} mapping an object that indicates the text that should be displayed\n         * for different values of the provided `value`.\n         * @return {?}\n         */\n        value: function transform(value, mapping) {\n          if (value == null) return '';\n\n          if (typeof mapping !== 'object' || typeof value !== 'string') {\n            throw invalidPipeArgumentError(I18nSelectPipe, mapping);\n          }\n\n          if (mapping.hasOwnProperty(value)) {\n            return mapping[value];\n          }\n\n          if (mapping.hasOwnProperty('other')) {\n            return mapping['other'];\n          }\n\n          return '';\n        }\n      }]);\n\n      return I18nSelectPipe;\n    }();\n\n    I18nSelectPipe.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"]\n    }, {\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Pipe\"],\n      args: [{\n        name: 'i18nSelect',\n        pure: true\n      }]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * \\@ngModule CommonModule\n     * \\@description\n     *\n     * Converts a value into its JSON-format representation.  Useful for debugging.\n     *\n     * \\@usageNotes\n     *\n     * The following component uses a JSON pipe to convert an object\n     * to JSON format, and displays the string in both formats for comparison.\n     *\n     * {\\@example common/pipes/ts/json_pipe.ts region='JsonPipe'}\n     *\n     * \\@publicApi\n     */\n\n    var JsonPipe =\n    /*#__PURE__*/\n    function () {\n      function JsonPipe() {\n        _classCallCheck(this, JsonPipe);\n      }\n\n      _createClass2(JsonPipe, [{\n        key: \"transform\",\n\n        /**\n         * @param {?} value A value of any type to convert into a JSON-format string.\n         * @return {?}\n         */\n        value: function transform(value) {\n          return JSON.stringify(value, null, 2);\n        }\n      }]);\n\n      return JsonPipe;\n    }();\n\n    JsonPipe.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"]\n    }, {\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Pipe\"],\n      args: [{\n        name: 'json',\n        pure: false\n      }]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @template K, V\n     * @param {?} key\n     * @param {?} value\n     * @return {?}\n     */\n\n    function makeKeyValuePair(key, value) {\n      return {\n        key: key,\n        value: value\n      };\n    }\n    /**\n     * A key value pair.\n     * Usually used to represent the key value pairs from a Map or Object.\n     *\n     * \\@publicApi\n     * @record\n     * @template K, V\n     */\n\n\n    function KeyValue() {}\n\n    if (false) {}\n    /**\n     * \\@ngModule CommonModule\n     * \\@description\n     *\n     * Transforms Object or Map into an array of key value pairs.\n     *\n     * The output array will be ordered by keys.\n     * By default the comparator will be by Unicode point value.\n     * You can optionally pass a compareFn if your keys are complex types.\n     *\n     * \\@usageNotes\n     * ### Examples\n     *\n     * This examples show how an Object or a Map can be iterated by ngFor with the use of this keyvalue\n     * pipe.\n     *\n     * {\\@example common/pipes/ts/keyvalue_pipe.ts region='KeyValuePipe'}\n     *\n     * \\@publicApi\n     */\n\n\n    var KeyValuePipe =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} differs\n       */\n      function KeyValuePipe(differs) {\n        _classCallCheck(this, KeyValuePipe);\n\n        this.differs = differs;\n        this.keyValues = [];\n      }\n      /**\n       * @template K, V\n       * @param {?} input\n       * @param {?=} compareFn\n       * @return {?}\n       */\n\n\n      _createClass2(KeyValuePipe, [{\n        key: \"transform\",\n        value: function transform(input) {\n          var _this133 = this;\n\n          var compareFn = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultComparator;\n\n          if (!input || !(input instanceof Map) && typeof input !== 'object') {\n            return null;\n          }\n\n          if (!this.differ) {\n            // make a differ for whatever type we've been passed in\n            this.differ = this.differs.find(input).create();\n          }\n          /** @type {?} */\n\n\n          var differChanges = this.differ.diff(\n          /** @type {?} */\n          input);\n\n          if (differChanges) {\n            this.keyValues = [];\n            differChanges.forEachItem(\n            /**\n            * @param {?} r\n            * @return {?}\n            */\n            function (r) {\n              _this133.keyValues.push(makeKeyValuePair(r.key,\n              /** @type {?} */\n              r.currentValue));\n            });\n            this.keyValues.sort(compareFn);\n          }\n\n          return this.keyValues;\n        }\n      }]);\n\n      return KeyValuePipe;\n    }();\n\n    KeyValuePipe.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"]\n    }, {\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Pipe\"],\n      args: [{\n        name: 'keyvalue',\n        pure: false\n      }]\n    }];\n    /** @nocollapse */\n\n    KeyValuePipe.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"KeyValueDiffers\"]\n      }];\n    };\n\n    if (false) {}\n    /**\n     * @template K, V\n     * @param {?} keyValueA\n     * @param {?} keyValueB\n     * @return {?}\n     */\n\n\n    function defaultComparator(keyValueA, keyValueB) {\n      /** @type {?} */\n      var a = keyValueA.key;\n      /** @type {?} */\n\n      var b = keyValueB.key; // if same exit with 0;\n\n      if (a === b) return 0; // make sure that undefined are at the end of the sort.\n\n      if (a === undefined) return 1;\n      if (b === undefined) return -1; // make sure that nulls are at the end of the sort.\n\n      if (a === null) return 1;\n      if (b === null) return -1;\n\n      if (typeof a == 'string' && typeof b == 'string') {\n        return a < b ? -1 : 1;\n      }\n\n      if (typeof a == 'number' && typeof b == 'number') {\n        return a - b;\n      }\n\n      if (typeof a == 'boolean' && typeof b == 'boolean') {\n        return a < b ? -1 : 1;\n      } // `a` and `b` are of different types. Compare their string values.\n\n      /** @type {?} */\n\n\n      var aString = String(a);\n      /** @type {?} */\n\n      var bString = String(b);\n      return aString == bString ? 0 : aString < bString ? -1 : 1;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * \\@ngModule CommonModule\n     * \\@description\n     *\n     * Transforms a number into a string,\n     * formatted according to locale rules that determine group sizing and\n     * separator, decimal-point character, and other locale-specific\n     * configurations.\n     *\n     * If no parameters are specified, the function rounds off to the nearest value using this\n     * [rounding method](https://en.wikibooks.org/wiki/Arithmetic/Rounding).\n     * The behavior differs from that of the JavaScript ```Math.round()``` function.\n     * In the following case for example, the pipe rounds down where\n     * ```Math.round()``` rounds up:\n     *\n     * ```html\n     * -2.5 | number:'1.0-0'\n     * > -3\n     * Math.round(-2.5)\n     * > -2\n     * ```\n     *\n     * @see `formatNumber()`\n     *\n     * \\@usageNotes\n     * The following code shows how the pipe transforms numbers\n     * into text strings, according to various format specifications,\n     * where the caller's default locale is `en-US`.\n     *\n     * ### Example\n     *\n     * <code-example path=\"common/pipes/ts/number_pipe.ts\" region='NumberPipe'></code-example>\n     *\n     * \\@publicApi\n     */\n\n\n    var DecimalPipe =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _locale\n       */\n      function DecimalPipe(_locale) {\n        _classCallCheck(this, DecimalPipe);\n\n        this._locale = _locale;\n      }\n      /**\n       * @param {?} value The number to be formatted.\n       * @param {?=} digitsInfo Decimal representation options, specified by a string\n       * in the following format:<br>\n       * <code>{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}</code>.\n       *   - `minIntegerDigits`: The minimum number of integer digits before the decimal point.\n       * Default is `1`.\n       *   - `minFractionDigits`: The minimum number of digits after the decimal point.\n       * Default is `0`.\n       *   - `maxFractionDigits`: The maximum number of digits after the decimal point.\n       * Default is `3`.\n       * @param {?=} locale A locale code for the locale format rules to use.\n       * When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default.\n       * See [Setting your app locale](guide/i18n#setting-up-the-locale-of-your-app).\n       * @return {?}\n       */\n\n\n      _createClass2(DecimalPipe, [{\n        key: \"transform\",\n        value: function transform(value, digitsInfo, locale) {\n          if (isEmpty(value)) return null;\n          locale = locale || this._locale;\n\n          try {\n            /** @type {?} */\n            var num = strToNumber(value);\n            return formatNumber(num, locale, digitsInfo);\n          } catch (error) {\n            throw invalidPipeArgumentError(DecimalPipe, error.message);\n          }\n        }\n      }]);\n\n      return DecimalPipe;\n    }();\n\n    DecimalPipe.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"]\n    }, {\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Pipe\"],\n      args: [{\n        name: 'number'\n      }]\n    }];\n    /** @nocollapse */\n\n    DecimalPipe.ctorParameters = function () {\n      return [{\n        type: String,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"LOCALE_ID\"]]\n        }]\n      }];\n    };\n\n    if (false) {}\n    /**\n     * \\@ngModule CommonModule\n     * \\@description\n     *\n     * Transforms a number to a percentage\n     * string, formatted according to locale rules that determine group sizing and\n     * separator, decimal-point character, and other locale-specific\n     * configurations.\n     *\n     * @see `formatPercent()`\n     *\n     * \\@usageNotes\n     * The following code shows how the pipe transforms numbers\n     * into text strings, according to various format specifications,\n     * where the caller's default locale is `en-US`.\n     *\n     * <code-example path=\"common/pipes/ts/percent_pipe.ts\" region='PercentPipe'></code-example>\n     *\n     * \\@publicApi\n     */\n\n\n    var PercentPipe =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _locale\n       */\n      function PercentPipe(_locale) {\n        _classCallCheck(this, PercentPipe);\n\n        this._locale = _locale;\n      }\n      /**\n       *\n       * @param {?} value The number to be formatted as a percentage.\n       * @param {?=} digitsInfo Decimal representation options, specified by a string\n       * in the following format:<br>\n       * <code>{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}</code>.\n       *   - `minIntegerDigits`: The minimum number of integer digits before the decimal point.\n       * Default is `1`.\n       *   - `minFractionDigits`: The minimum number of digits after the decimal point.\n       * Default is `0`.\n       *   - `maxFractionDigits`: The maximum number of digits after the decimal point.\n       * Default is `0`.\n       * @param {?=} locale A locale code for the locale format rules to use.\n       * When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default.\n       * See [Setting your app locale](guide/i18n#setting-up-the-locale-of-your-app).\n       * @return {?}\n       */\n\n\n      _createClass2(PercentPipe, [{\n        key: \"transform\",\n        value: function transform(value, digitsInfo, locale) {\n          if (isEmpty(value)) return null;\n          locale = locale || this._locale;\n\n          try {\n            /** @type {?} */\n            var num = strToNumber(value);\n            return formatPercent(num, locale, digitsInfo);\n          } catch (error) {\n            throw invalidPipeArgumentError(PercentPipe, error.message);\n          }\n        }\n      }]);\n\n      return PercentPipe;\n    }();\n\n    PercentPipe.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"]\n    }, {\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Pipe\"],\n      args: [{\n        name: 'percent'\n      }]\n    }];\n    /** @nocollapse */\n\n    PercentPipe.ctorParameters = function () {\n      return [{\n        type: String,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"LOCALE_ID\"]]\n        }]\n      }];\n    };\n\n    if (false) {}\n    /**\n     * \\@ngModule CommonModule\n     * \\@description\n     *\n     * Transforms a number to a currency string, formatted according to locale rules\n     * that determine group sizing and separator, decimal-point character,\n     * and other locale-specific configurations.\n     *\n     * @see `getCurrencySymbol()`\n     * @see `formatCurrency()`\n     *\n     * \\@usageNotes\n     * The following code shows how the pipe transforms numbers\n     * into text strings, according to various format specifications,\n     * where the caller's default locale is `en-US`.\n     *\n     * <code-example path=\"common/pipes/ts/currency_pipe.ts\" region='CurrencyPipe'></code-example>\n     *\n     * \\@publicApi\n     */\n\n\n    var CurrencyPipe =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _locale\n       */\n      function CurrencyPipe(_locale) {\n        _classCallCheck(this, CurrencyPipe);\n\n        this._locale = _locale;\n      }\n      /**\n       *\n       * @param {?} value The number to be formatted as currency.\n       * @param {?=} currencyCode The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code,\n       * such as `USD` for the US dollar and `EUR` for the euro.\n       * @param {?=} display The format for the currency indicator. One of the following:\n       *   - `code`: Show the code (such as `USD`).\n       *   - `symbol`(default): Show the symbol (such as `$`).\n       *   - `symbol-narrow`: Use the narrow symbol for locales that have two symbols for their\n       * currency.\n       * For example, the Canadian dollar CAD has the symbol `CA$` and the symbol-narrow `$`. If the\n       * locale has no narrow symbol, uses the standard symbol for the locale.\n       *   - String: Use the given string value instead of a code or a symbol.\n       * For example, an empty string will suppress the currency & symbol.\n       *   - Boolean (marked deprecated in v5): `true` for symbol and false for `code`.\n       *\n       * @param {?=} digitsInfo Decimal representation options, specified by a string\n       * in the following format:<br>\n       * <code>{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}</code>.\n       *   - `minIntegerDigits`: The minimum number of integer digits before the decimal point.\n       * Default is `1`.\n       *   - `minFractionDigits`: The minimum number of digits after the decimal point.\n       * Default is `2`.\n       *   - `maxFractionDigits`: The maximum number of digits after the decimal point.\n       * Default is `2`.\n       * If not provided, the number will be formatted with the proper amount of digits,\n       * depending on what the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) specifies.\n       * For example, the Canadian dollar has 2 digits, whereas the Chilean peso has none.\n       * @param {?=} locale A locale code for the locale format rules to use.\n       * When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default.\n       * See [Setting your app locale](guide/i18n#setting-up-the-locale-of-your-app).\n       * @return {?}\n       */\n\n\n      _createClass2(CurrencyPipe, [{\n        key: \"transform\",\n        value: function transform(value, currencyCode) {\n          var display = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'symbol';\n          var digitsInfo = arguments.length > 3 ? arguments[3] : undefined;\n          var locale = arguments.length > 4 ? arguments[4] : undefined;\n          if (isEmpty(value)) return null;\n          locale = locale || this._locale;\n\n          if (typeof display === 'boolean') {\n            if (\n            /** @type {?} */\n            console &&\n            /** @type {?} */\n            console.warn) {\n              console.warn(\"Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are \\\"code\\\", \\\"symbol\\\" or \\\"symbol-narrow\\\".\");\n            }\n\n            display = display ? 'symbol' : 'code';\n          }\n          /** @type {?} */\n\n\n          var currency = currencyCode || 'USD';\n\n          if (display !== 'code') {\n            if (display === 'symbol' || display === 'symbol-narrow') {\n              currency = getCurrencySymbol(currency, display === 'symbol' ? 'wide' : 'narrow', locale);\n            } else {\n              currency = display;\n            }\n          }\n\n          try {\n            /** @type {?} */\n            var num = strToNumber(value);\n            return formatCurrency(num, locale, currency, currencyCode, digitsInfo);\n          } catch (error) {\n            throw invalidPipeArgumentError(CurrencyPipe, error.message);\n          }\n        }\n      }]);\n\n      return CurrencyPipe;\n    }();\n\n    CurrencyPipe.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"]\n    }, {\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Pipe\"],\n      args: [{\n        name: 'currency'\n      }]\n    }];\n    /** @nocollapse */\n\n    CurrencyPipe.ctorParameters = function () {\n      return [{\n        type: String,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"LOCALE_ID\"]]\n        }]\n      }];\n    };\n\n    if (false) {}\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function isEmpty(value) {\n      return value == null || value === '' || value !== value;\n    }\n    /**\n     * Transforms a string into a number (if needed).\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function strToNumber(value) {\n      // Convert strings to numbers\n      if (typeof value === 'string' && !isNaN(Number(value) - parseFloat(value))) {\n        return Number(value);\n      }\n\n      if (typeof value !== 'number') {\n        throw new Error(\"\".concat(value, \" is not a number\"));\n      }\n\n      return value;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * \\@ngModule CommonModule\n     * \\@description\n     *\n     * Creates a new `Array` or `String` containing a subset (slice) of the elements.\n     *\n     * \\@usageNotes\n     *\n     * All behavior is based on the expected behavior of the JavaScript API `Array.prototype.slice()`\n     * and `String.prototype.slice()`.\n     *\n     * When operating on an `Array`, the returned `Array` is always a copy even when all\n     * the elements are being returned.\n     *\n     * When operating on a blank value, the pipe returns the blank value.\n     *\n     * ### List Example\n     *\n     * This `ngFor` example:\n     *\n     * {\\@example common/pipes/ts/slice_pipe.ts region='SlicePipe_list'}\n     *\n     * produces the following:\n     *\n     * ```html\n     * <li>b</li>\n     * <li>c</li>\n     * ```\n     *\n     * ### String Examples\n     *\n     * {\\@example common/pipes/ts/slice_pipe.ts region='SlicePipe_string'}\n     *\n     * \\@publicApi\n     */\n\n\n    var SlicePipe =\n    /*#__PURE__*/\n    function () {\n      function SlicePipe() {\n        _classCallCheck(this, SlicePipe);\n      }\n\n      _createClass2(SlicePipe, [{\n        key: \"transform\",\n\n        /**\n         * @param {?} value\n         * @param {?} start\n         * @param {?=} end\n         * @return {?}\n         */\n        value: function transform(value, start, end) {\n          if (value == null) return value;\n\n          if (!this.supports(value)) {\n            throw invalidPipeArgumentError(SlicePipe, value);\n          }\n\n          return value.slice(start, end);\n        }\n        /**\n         * @private\n         * @param {?} obj\n         * @return {?}\n         */\n\n      }, {\n        key: \"supports\",\n        value: function supports(obj) {\n          return typeof obj === 'string' || Array.isArray(obj);\n        }\n      }]);\n\n      return SlicePipe;\n    }();\n\n    SlicePipe.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"]\n    }, {\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Pipe\"],\n      args: [{\n        name: 'slice',\n        pure: false\n      }]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * A collection of Angular pipes that are likely to be used in each and every application.\n     * @type {?}\n     */\n\n    var COMMON_PIPES = [AsyncPipe, UpperCasePipe, LowerCasePipe, JsonPipe, SlicePipe, DecimalPipe, PercentPipe, TitleCasePipe, CurrencyPipe, DatePipe, I18nPluralPipe, I18nSelectPipe, KeyValuePipe];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n    // Note: This does not contain the location providers,\n    // as they need some platform specific implementations to work.\n\n    /**\n     * Exports all the basic Angular directives and pipes,\n     * such as `NgIf`, `NgForOf`, `DecimalPipe`, and so on.\n     * Re-exported by `BrowserModule`, which is included automatically in the root\n     * `AppModule` when you create a new app with the CLI `new` command.\n     *\n     * * The `providers` options configure the NgModule's injector to provide\n     * localization dependencies to members.\n     * * The `exports` options make the declared directives and pipes available for import\n     * by other NgModules.\n     *\n     * \\@publicApi\n     */\n\n    var CommonModule = function CommonModule() {\n      _classCallCheck(this, CommonModule);\n    };\n\n    CommonModule.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"],\n      args: [{\n        declarations: [COMMON_DIRECTIVES, COMMON_PIPES],\n        exports: [COMMON_DIRECTIVES, COMMON_PIPES],\n        providers: [{\n          provide: NgLocalization,\n          useClass: NgLocaleLocalization\n        }]\n      }]\n    }];\n    var ɵ0$2 = getPluralCase;\n    /**\n     * A module that contains the deprecated i18n pipes.\n     *\n     * @deprecated from v5\n     * \\@publicApi\n     */\n\n    var DeprecatedI18NPipesModule = function DeprecatedI18NPipesModule() {\n      _classCallCheck(this, DeprecatedI18NPipesModule);\n    };\n\n    DeprecatedI18NPipesModule.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"],\n      args: [{\n        declarations: [COMMON_DEPRECATED_I18N_PIPES],\n        exports: [COMMON_DEPRECATED_I18N_PIPES],\n        providers: [{\n          provide: DEPRECATED_PLURAL_FN,\n          useValue: ɵ0$2\n        }]\n      }]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * A DI Token representing the main rendering context. In a browser this is the DOM Document.\n     *\n     * Note: Document might not be available in the Application Context when Application and Rendering\n     * Contexts are not the same (e.g. when running the application in a Web Worker).\n     *\n     * \\@publicApi\n     * @type {?}\n     */\n\n    var DOCUMENT = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('DocumentToken');\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /** @type {?} */\n\n    var PLATFORM_BROWSER_ID = 'browser';\n    /** @type {?} */\n\n    var PLATFORM_SERVER_ID = 'server';\n    /** @type {?} */\n\n    var PLATFORM_WORKER_APP_ID = 'browserWorkerApp';\n    /** @type {?} */\n\n    var PLATFORM_WORKER_UI_ID = 'browserWorkerUi';\n    /**\n     * Returns whether a platform id represents a browser platform.\n     * \\@publicApi\n     * @param {?} platformId\n     * @return {?}\n     */\n\n    function isPlatformBrowser(platformId) {\n      return platformId === PLATFORM_BROWSER_ID;\n    }\n    /**\n     * Returns whether a platform id represents a server platform.\n     * \\@publicApi\n     * @param {?} platformId\n     * @return {?}\n     */\n\n\n    function isPlatformServer(platformId) {\n      return platformId === PLATFORM_SERVER_ID;\n    }\n    /**\n     * Returns whether a platform id represents a web worker app platform.\n     * \\@publicApi\n     * @param {?} platformId\n     * @return {?}\n     */\n\n\n    function isPlatformWorkerApp(platformId) {\n      return platformId === PLATFORM_WORKER_APP_ID;\n    }\n    /**\n     * Returns whether a platform id represents a web worker UI platform.\n     * \\@publicApi\n     * @param {?} platformId\n     * @return {?}\n     */\n\n\n    function isPlatformWorkerUi(platformId) {\n      return platformId === PLATFORM_WORKER_UI_ID;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var VERSION = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Version\"]('8.2.14');\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Defines a scroll position manager. Implemented by `BrowserViewportScroller`.\n     *\n     * \\@publicApi\n     * @abstract\n     */\n\n    var ViewportScroller = function ViewportScroller() {\n      _classCallCheck(this, ViewportScroller);\n    }; // De-sugared tree-shakable injection\n    // See #23917\n\n    /** @nocollapse */\n\n    /** @nocollapse */\n\n\n    ViewportScroller.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({\n      token: ViewportScroller,\n      providedIn: 'root',\n      factory:\n      /**\n      * @nocollapse @return {?}\n      */\n      function factory() {\n        return new BrowserViewportScroller(Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(DOCUMENT), window, Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ErrorHandler\"]));\n      }\n    });\n\n    if (false) {}\n    /**\n     * Manages the scroll position for a browser window.\n     */\n\n\n    var BrowserViewportScroller =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} document\n       * @param {?} window\n       * @param {?} errorHandler\n       */\n      function BrowserViewportScroller(document, window, errorHandler) {\n        _classCallCheck(this, BrowserViewportScroller);\n\n        this.document = document;\n        this.window = window;\n        this.errorHandler = errorHandler;\n\n        this.offset =\n        /**\n        * @return {?}\n        */\n        function () {\n          return [0, 0];\n        };\n      }\n      /**\n       * Configures the top offset used when scrolling to an anchor.\n       * @param {?} offset A position in screen coordinates (a tuple with x and y values)\n       * or a function that returns the top offset position.\n       *\n       * @return {?}\n       */\n\n\n      _createClass2(BrowserViewportScroller, [{\n        key: \"setOffset\",\n        value: function setOffset(offset) {\n          if (Array.isArray(offset)) {\n            this.offset =\n            /**\n            * @return {?}\n            */\n            function () {\n              return offset;\n            };\n          } else {\n            this.offset = offset;\n          }\n        }\n        /**\n         * Retrieves the current scroll position.\n         * @return {?} The position in screen coordinates.\n         */\n\n      }, {\n        key: \"getScrollPosition\",\n        value: function getScrollPosition() {\n          if (this.supportScrollRestoration()) {\n            return [this.window.scrollX, this.window.scrollY];\n          } else {\n            return [0, 0];\n          }\n        }\n        /**\n         * Sets the scroll position.\n         * @param {?} position The new position in screen coordinates.\n         * @return {?}\n         */\n\n      }, {\n        key: \"scrollToPosition\",\n        value: function scrollToPosition(position) {\n          if (this.supportScrollRestoration()) {\n            this.window.scrollTo(position[0], position[1]);\n          }\n        }\n        /**\n         * Scrolls to an anchor element.\n         * @param {?} anchor The ID of the anchor element.\n         * @return {?}\n         */\n\n      }, {\n        key: \"scrollToAnchor\",\n        value: function scrollToAnchor(anchor) {\n          if (this.supportScrollRestoration()) {\n            // Escape anything passed to `querySelector` as it can throw errors and stop the application\n            // from working if invalid values are passed.\n            if (this.window.CSS && this.window.CSS.escape) {\n              anchor = this.window.CSS.escape(anchor);\n            } else {\n              anchor = anchor.replace(/(\\\"|\\'\\ |:|\\.|\\[|\\]|,|=)/g, '\\\\$1');\n            }\n\n            try {\n              /** @type {?} */\n              var elSelectedById = this.document.querySelector(\"#\".concat(anchor));\n\n              if (elSelectedById) {\n                this.scrollToElement(elSelectedById);\n                return;\n              }\n              /** @type {?} */\n\n\n              var elSelectedByName = this.document.querySelector(\"[name='\".concat(anchor, \"']\"));\n\n              if (elSelectedByName) {\n                this.scrollToElement(elSelectedByName);\n                return;\n              }\n            } catch (e) {\n              this.errorHandler.handleError(e);\n            }\n          }\n        }\n        /**\n         * Disables automatic scroll restoration provided by the browser.\n         * @param {?} scrollRestoration\n         * @return {?}\n         */\n\n      }, {\n        key: \"setHistoryScrollRestoration\",\n        value: function setHistoryScrollRestoration(scrollRestoration) {\n          if (this.supportScrollRestoration()) {\n            /** @type {?} */\n            var history = this.window.history;\n\n            if (history && history.scrollRestoration) {\n              history.scrollRestoration = scrollRestoration;\n            }\n          }\n        }\n        /**\n         * @private\n         * @param {?} el\n         * @return {?}\n         */\n\n      }, {\n        key: \"scrollToElement\",\n        value: function scrollToElement(el) {\n          /** @type {?} */\n          var rect = el.getBoundingClientRect();\n          /** @type {?} */\n\n          var left = rect.left + this.window.pageXOffset;\n          /** @type {?} */\n\n          var top = rect.top + this.window.pageYOffset;\n          /** @type {?} */\n\n          var offset = this.offset();\n          this.window.scrollTo(left - offset[0], top - offset[1]);\n        }\n        /**\n         * We only support scroll restoration when we can get a hold of window.\n         * This means that we do not support this behavior when running in a web worker.\n         *\n         * Lifting this restriction right now would require more changes in the dom adapter.\n         * Since webworkers aren't widely used, we will lift it once RouterScroller is\n         * battle-tested.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"supportScrollRestoration\",\n        value: function supportScrollRestoration() {\n          try {\n            return !!this.window && !!this.window.scrollTo;\n          } catch (_a) {\n            return false;\n          }\n        }\n      }]);\n\n      return BrowserViewportScroller;\n    }();\n\n    if (false) {}\n    /**\n     * Provides an empty implementation of the viewport scroller. This will\n     * live in \\@angular/common as it will be used by both platform-server and platform-webworker.\n     */\n\n\n    var NullViewportScroller =\n    /*#__PURE__*/\n    function () {\n      function NullViewportScroller() {\n        _classCallCheck(this, NullViewportScroller);\n      }\n\n      _createClass2(NullViewportScroller, [{\n        key: \"setOffset\",\n\n        /**\n         * Empty implementation\n         * @param {?} offset\n         * @return {?}\n         */\n        value: function setOffset(offset) {}\n        /**\n         * Empty implementation\n         * @return {?}\n         */\n\n      }, {\n        key: \"getScrollPosition\",\n        value: function getScrollPosition() {\n          return [0, 0];\n        }\n        /**\n         * Empty implementation\n         * @param {?} position\n         * @return {?}\n         */\n\n      }, {\n        key: \"scrollToPosition\",\n        value: function scrollToPosition(position) {}\n        /**\n         * Empty implementation\n         * @param {?} anchor\n         * @return {?}\n         */\n\n      }, {\n        key: \"scrollToAnchor\",\n        value: function scrollToAnchor(anchor) {}\n        /**\n         * Empty implementation\n         * @param {?} scrollRestoration\n         * @return {?}\n         */\n\n      }, {\n        key: \"setHistoryScrollRestoration\",\n        value: function setHistoryScrollRestoration(scrollRestoration) {}\n      }]);\n\n      return NullViewportScroller;\n    }();\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Generated bundle index. Do not edit.\n     */\n\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/@angular/common/fesm2015/http.js\":\n  /*!*******************************************************!*\\\n    !*** ./node_modules/@angular/common/fesm2015/http.js ***!\n    \\*******************************************************/\n\n  /*! exports provided: ɵangular_packages_common_http_http_a, ɵangular_packages_common_http_http_b, ɵangular_packages_common_http_http_c, ɵangular_packages_common_http_http_d, ɵangular_packages_common_http_http_g, ɵangular_packages_common_http_http_h, ɵangular_packages_common_http_http_e, ɵangular_packages_common_http_http_f, HttpBackend, HttpHandler, HttpClient, HttpHeaders, HTTP_INTERCEPTORS, JsonpClientBackend, JsonpInterceptor, HttpClientJsonpModule, HttpClientModule, HttpClientXsrfModule, ɵHttpInterceptingHandler, HttpParams, HttpUrlEncodingCodec, HttpRequest, HttpErrorResponse, HttpEventType, HttpHeaderResponse, HttpResponse, HttpResponseBase, HttpXhrBackend, XhrFactory, HttpXsrfTokenExtractor */\n\n  /***/\n  function node_modulesAngularCommonFesm2015HttpJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_common_http_http_a\", function () {\n      return NoopInterceptor;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_common_http_http_b\", function () {\n      return JsonpCallbackContext;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_common_http_http_c\", function () {\n      return jsonpCallbackContext;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_common_http_http_d\", function () {\n      return BrowserXhr;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_common_http_http_g\", function () {\n      return HttpXsrfCookieExtractor;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_common_http_http_h\", function () {\n      return HttpXsrfInterceptor;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_common_http_http_e\", function () {\n      return XSRF_COOKIE_NAME;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_common_http_http_f\", function () {\n      return XSRF_HEADER_NAME;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"HttpBackend\", function () {\n      return HttpBackend;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"HttpHandler\", function () {\n      return HttpHandler;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"HttpClient\", function () {\n      return HttpClient;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"HttpHeaders\", function () {\n      return HttpHeaders;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"HTTP_INTERCEPTORS\", function () {\n      return HTTP_INTERCEPTORS;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"JsonpClientBackend\", function () {\n      return JsonpClientBackend;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"JsonpInterceptor\", function () {\n      return JsonpInterceptor;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"HttpClientJsonpModule\", function () {\n      return HttpClientJsonpModule;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"HttpClientModule\", function () {\n      return HttpClientModule;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"HttpClientXsrfModule\", function () {\n      return HttpClientXsrfModule;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵHttpInterceptingHandler\", function () {\n      return HttpInterceptingHandler;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"HttpParams\", function () {\n      return HttpParams;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"HttpUrlEncodingCodec\", function () {\n      return HttpUrlEncodingCodec;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"HttpRequest\", function () {\n      return HttpRequest;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"HttpErrorResponse\", function () {\n      return HttpErrorResponse;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"HttpEventType\", function () {\n      return HttpEventType;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"HttpHeaderResponse\", function () {\n      return HttpHeaderResponse;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"HttpResponse\", function () {\n      return HttpResponse;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"HttpResponseBase\", function () {\n      return HttpResponseBase;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"HttpXhrBackend\", function () {\n      return HttpXhrBackend;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"XhrFactory\", function () {\n      return XhrFactory;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"HttpXsrfTokenExtractor\", function () {\n      return HttpXsrfTokenExtractor;\n    });\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! rxjs */\n    \"./node_modules/rxjs/_esm2015/index.js\");\n    /* harmony import */\n\n\n    var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! rxjs/operators */\n    \"./node_modules/rxjs/_esm2015/operators/index.js\");\n    /* harmony import */\n\n\n    var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! @angular/common */\n    \"./node_modules/@angular/common/fesm2015/common.js\");\n    /**\n     * @license Angular v8.2.14\n     * (c) 2010-2019 Google LLC. https://angular.io/\n     * License: MIT\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * Transforms an `HttpRequest` into a stream of `HttpEvent`s, one of which will likely be a\n     * `HttpResponse`.\n     *\n     * `HttpHandler` is injectable. When injected, the handler instance dispatches requests to the\n     * first interceptor in the chain, which dispatches to the second, etc, eventually reaching the\n     * `HttpBackend`.\n     *\n     * In an `HttpInterceptor`, the `HttpHandler` parameter is the next interceptor in the chain.\n     *\n     * \\@publicApi\n     * @abstract\n     */\n\n\n    var HttpHandler = function HttpHandler() {\n      _classCallCheck(this, HttpHandler);\n    };\n\n    if (false) {}\n    /**\n     * A final `HttpHandler` which will dispatch the request via browser HTTP APIs to a backend.\n     *\n     * Interceptors sit between the `HttpClient` interface and the `HttpBackend`.\n     *\n     * When injected, `HttpBackend` dispatches requests directly to the backend, without going\n     * through the interceptor chain.\n     *\n     * \\@publicApi\n     * @abstract\n     */\n\n\n    var HttpBackend = function HttpBackend() {\n      _classCallCheck(this, HttpBackend);\n    };\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * @record\n     */\n\n\n    function Update() {}\n\n    if (false) {}\n    /**\n     * Represents the header configuration options for an HTTP request.\n     * Instances are immutable. Modifying methods return a cloned\n     * instance with the change. The original object is never changed.\n     *\n     * \\@publicApi\n     */\n\n\n    var HttpHeaders =\n    /*#__PURE__*/\n    function () {\n      /**\n       * Constructs a new HTTP header object with the given values.\n       * @param {?=} headers\n       */\n      function HttpHeaders(headers) {\n        var _this134 = this;\n\n        _classCallCheck(this, HttpHeaders);\n\n        /**\n         * Internal map of lowercased header names to the normalized\n         * form of the name (the form seen first).\n         */\n        this.normalizedNames = new Map();\n        /**\n         * Queued updates to be materialized the next initialization.\n         */\n\n        this.lazyUpdate = null;\n\n        if (!headers) {\n          this.headers = new Map();\n        } else if (typeof headers === 'string') {\n          this.lazyInit =\n          /**\n          * @return {?}\n          */\n          function () {\n            _this134.headers = new Map();\n            headers.split('\\n').forEach(\n            /**\n            * @param {?} line\n            * @return {?}\n            */\n            function (line) {\n              /** @type {?} */\n              var index = line.indexOf(':');\n\n              if (index > 0) {\n                /** @type {?} */\n                var name = line.slice(0, index);\n                /** @type {?} */\n\n                var key = name.toLowerCase();\n                /** @type {?} */\n\n                var value = line.slice(index + 1).trim();\n\n                _this134.maybeSetNormalizedName(name, key);\n\n                if (_this134.headers.has(key)) {\n                  /** @type {?} */\n                  _this134.headers.get(key).push(value);\n                } else {\n                  _this134.headers.set(key, [value]);\n                }\n              }\n            });\n          };\n        } else {\n          this.lazyInit =\n          /**\n          * @return {?}\n          */\n          function () {\n            _this134.headers = new Map();\n            Object.keys(headers).forEach(\n            /**\n            * @param {?} name\n            * @return {?}\n            */\n            function (name) {\n              /** @type {?} */\n              var values = headers[name];\n              /** @type {?} */\n\n              var key = name.toLowerCase();\n\n              if (typeof values === 'string') {\n                values = [values];\n              }\n\n              if (values.length > 0) {\n                _this134.headers.set(key, values);\n\n                _this134.maybeSetNormalizedName(name, key);\n              }\n            });\n          };\n        }\n      }\n      /**\n       * Checks for existence of a given header.\n       *\n       * @param {?} name The header name to check for existence.\n       *\n       * @return {?} True if the header exists, false otherwise.\n       */\n\n\n      _createClass2(HttpHeaders, [{\n        key: \"has\",\n        value: function has(name) {\n          this.init();\n          return this.headers.has(name.toLowerCase());\n        }\n        /**\n         * Retrieves the first value of a given header.\n         *\n         * @param {?} name The header name.\n         *\n         * @return {?} The value string if the header exists, null otherwise\n         */\n\n      }, {\n        key: \"get\",\n        value: function get(name) {\n          this.init();\n          /** @type {?} */\n\n          var values = this.headers.get(name.toLowerCase());\n          return values && values.length > 0 ? values[0] : null;\n        }\n        /**\n         * Retrieves the names of the headers.\n         *\n         * @return {?} A list of header names.\n         */\n\n      }, {\n        key: \"keys\",\n        value: function keys() {\n          this.init();\n          return Array.from(this.normalizedNames.values());\n        }\n        /**\n         * Retrieves a list of values for a given header.\n         *\n         * @param {?} name The header name from which to retrieve values.\n         *\n         * @return {?} A string of values if the header exists, null otherwise.\n         */\n\n      }, {\n        key: \"getAll\",\n        value: function getAll(name) {\n          this.init();\n          return this.headers.get(name.toLowerCase()) || null;\n        }\n        /**\n         * Appends a new value to the existing set of values for a header\n         * and returns them in a clone of the original instance.\n         *\n         * @param {?} name The header name for which to append the value or values.\n         * @param {?} value The new value or array of values.\n         *\n         * @return {?} A clone of the HTTP headers object with the value appended to the given header.\n         */\n\n      }, {\n        key: \"append\",\n        value: function append(name, value) {\n          return this.clone({\n            name: name,\n            value: value,\n            op: 'a'\n          });\n        }\n        /**\n         * Sets or modifies a value for a given header in a clone of the original instance.\n         * If the header already exists, its value is replaced with the given value\n         * in the returned object.\n         *\n         * @param {?} name The header name.\n         * @param {?} value The value or values to set or overide for the given header.\n         *\n         * @return {?} A clone of the HTTP headers object with the newly set header value.\n         */\n\n      }, {\n        key: \"set\",\n        value: function set(name, value) {\n          return this.clone({\n            name: name,\n            value: value,\n            op: 's'\n          });\n        }\n        /**\n         * Deletes values for a given header in a clone of the original instance.\n         *\n         * @param {?} name The header name.\n         * @param {?=} value The value or values to delete for the given header.\n         *\n         * @return {?} A clone of the HTTP headers object with the given value deleted.\n         */\n\n      }, {\n        key: \"delete\",\n        value: function _delete(name, value) {\n          return this.clone({\n            name: name,\n            value: value,\n            op: 'd'\n          });\n        }\n        /**\n         * @private\n         * @param {?} name\n         * @param {?} lcName\n         * @return {?}\n         */\n\n      }, {\n        key: \"maybeSetNormalizedName\",\n        value: function maybeSetNormalizedName(name, lcName) {\n          if (!this.normalizedNames.has(lcName)) {\n            this.normalizedNames.set(lcName, name);\n          }\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"init\",\n        value: function init() {\n          var _this135 = this;\n\n          if (!!this.lazyInit) {\n            if (this.lazyInit instanceof HttpHeaders) {\n              this.copyFrom(this.lazyInit);\n            } else {\n              this.lazyInit();\n            }\n\n            this.lazyInit = null;\n\n            if (!!this.lazyUpdate) {\n              this.lazyUpdate.forEach(\n              /**\n              * @param {?} update\n              * @return {?}\n              */\n              function (update) {\n                return _this135.applyUpdate(update);\n              });\n              this.lazyUpdate = null;\n            }\n          }\n        }\n        /**\n         * @private\n         * @param {?} other\n         * @return {?}\n         */\n\n      }, {\n        key: \"copyFrom\",\n        value: function copyFrom(other) {\n          var _this136 = this;\n\n          other.init();\n          Array.from(other.headers.keys()).forEach(\n          /**\n          * @param {?} key\n          * @return {?}\n          */\n          function (key) {\n            _this136.headers.set(key,\n            /** @type {?} */\n            other.headers.get(key));\n\n            _this136.normalizedNames.set(key,\n            /** @type {?} */\n            other.normalizedNames.get(key));\n          });\n        }\n        /**\n         * @private\n         * @param {?} update\n         * @return {?}\n         */\n\n      }, {\n        key: \"clone\",\n        value: function clone(update) {\n          /** @type {?} */\n          var clone = new HttpHeaders();\n          clone.lazyInit = !!this.lazyInit && this.lazyInit instanceof HttpHeaders ? this.lazyInit : this;\n          clone.lazyUpdate = (this.lazyUpdate || []).concat([update]);\n          return clone;\n        }\n        /**\n         * @private\n         * @param {?} update\n         * @return {?}\n         */\n\n      }, {\n        key: \"applyUpdate\",\n        value: function applyUpdate(update) {\n          /** @type {?} */\n          var key = update.name.toLowerCase();\n\n          switch (update.op) {\n            case 'a':\n            case 's':\n              /** @type {?} */\n              var value =\n              /** @type {?} */\n              update.value;\n\n              if (typeof value === 'string') {\n                value = [value];\n              }\n\n              if (value.length === 0) {\n                return;\n              }\n\n              this.maybeSetNormalizedName(update.name, key);\n              /** @type {?} */\n\n              var base = (update.op === 'a' ? this.headers.get(key) : undefined) || [];\n              base.push.apply(base, _toConsumableArray(value));\n              this.headers.set(key, base);\n              break;\n\n            case 'd':\n              /** @type {?} */\n              var toDelete =\n              /** @type {?} */\n              update.value;\n\n              if (!toDelete) {\n                this.headers.delete(key);\n                this.normalizedNames.delete(key);\n              } else {\n                /** @type {?} */\n                var existing = this.headers.get(key);\n\n                if (!existing) {\n                  return;\n                }\n\n                existing = existing.filter(\n                /**\n                * @param {?} value\n                * @return {?}\n                */\n                function (value) {\n                  return toDelete.indexOf(value) === -1;\n                });\n\n                if (existing.length === 0) {\n                  this.headers.delete(key);\n                  this.normalizedNames.delete(key);\n                } else {\n                  this.headers.set(key, existing);\n                }\n              }\n\n              break;\n          }\n        }\n        /**\n         * \\@internal\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"forEach\",\n        value: function forEach(fn) {\n          var _this137 = this;\n\n          this.init();\n          Array.from(this.normalizedNames.keys()).forEach(\n          /**\n          * @param {?} key\n          * @return {?}\n          */\n          function (key) {\n            return fn(\n            /** @type {?} */\n            _this137.normalizedNames.get(key),\n            /** @type {?} */\n            _this137.headers.get(key));\n          });\n        }\n      }]);\n\n      return HttpHeaders;\n    }();\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * A codec for encoding and decoding parameters in URLs.\n     *\n     * Used by `HttpParams`.\n     *\n     * \\@publicApi\n     *\n     * @record\n     */\n\n\n    function HttpParameterCodec() {}\n\n    if (false) {}\n    /**\n     * Provides encoding and decoding of URL parameter and query-string values.\n     *\n     * Serializes and parses URL parameter keys and values to encode and decode them.\n     * If you pass URL query parameters without encoding,\n     * the query parameters can be misinterpreted at the receiving end.\n     *\n     *\n     * \\@publicApi\n     */\n\n\n    var HttpUrlEncodingCodec =\n    /*#__PURE__*/\n    function () {\n      function HttpUrlEncodingCodec() {\n        _classCallCheck(this, HttpUrlEncodingCodec);\n      }\n\n      _createClass2(HttpUrlEncodingCodec, [{\n        key: \"encodeKey\",\n\n        /**\n         * Encodes a key name for a URL parameter or query-string.\n         * @param {?} key The key name.\n         * @return {?} The encoded key name.\n         */\n        value: function encodeKey(key) {\n          return standardEncoding(key);\n        }\n        /**\n         * Encodes the value of a URL parameter or query-string.\n         * @param {?} value The value.\n         * @return {?} The encoded value.\n         */\n\n      }, {\n        key: \"encodeValue\",\n        value: function encodeValue(value) {\n          return standardEncoding(value);\n        }\n        /**\n         * Decodes an encoded URL parameter or query-string key.\n         * @param {?} key The encoded key name.\n         * @return {?} The decoded key name.\n         */\n\n      }, {\n        key: \"decodeKey\",\n        value: function decodeKey(key) {\n          return decodeURIComponent(key);\n        }\n        /**\n         * Decodes an encoded URL parameter or query-string value.\n         * @param {?} value The encoded value.\n         * @return {?} The decoded value.\n         */\n\n      }, {\n        key: \"decodeValue\",\n        value: function decodeValue(value) {\n          return decodeURIComponent(value);\n        }\n      }]);\n\n      return HttpUrlEncodingCodec;\n    }();\n    /**\n     * @param {?} rawParams\n     * @param {?} codec\n     * @return {?}\n     */\n\n\n    function paramParser(rawParams, codec) {\n      /** @type {?} */\n      var map = new Map();\n\n      if (rawParams.length > 0) {\n        /** @type {?} */\n        var params = rawParams.split('&');\n        params.forEach(\n        /**\n        * @param {?} param\n        * @return {?}\n        */\n        function (param) {\n          /** @type {?} */\n          var eqIdx = param.indexOf('=');\n\n          var _ref6 = eqIdx == -1 ? [codec.decodeKey(param), ''] : [codec.decodeKey(param.slice(0, eqIdx)), codec.decodeValue(param.slice(eqIdx + 1))],\n              _ref7 = _slicedToArray(_ref6, 2),\n              key = _ref7[0],\n              val = _ref7[1];\n          /** @type {?} */\n\n\n          var list = map.get(key) || [];\n          list.push(val);\n          map.set(key, list);\n        });\n      }\n\n      return map;\n    }\n    /**\n     * @param {?} v\n     * @return {?}\n     */\n\n\n    function standardEncoding(v) {\n      return encodeURIComponent(v).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, '/');\n    }\n    /**\n     * @record\n     */\n\n\n    function Update$1() {}\n\n    if (false) {}\n    /**\n     * Options used to construct an `HttpParams` instance.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n\n    function HttpParamsOptions() {}\n\n    if (false) {}\n    /**\n     * An HTTP request/response body that represents serialized parameters,\n     * per the MIME type `application/x-www-form-urlencoded`.\n     *\n     * This class is immutable; all mutation operations return a new instance.\n     *\n     * \\@publicApi\n     */\n\n\n    var HttpParams =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?=} options\n       */\n      function HttpParams() {\n        var _this138 = this;\n\n        var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] :\n        /** @type {?} */\n        {};\n\n        _classCallCheck(this, HttpParams);\n\n        this.updates = null;\n        this.cloneFrom = null;\n        this.encoder = options.encoder || new HttpUrlEncodingCodec();\n\n        if (!!options.fromString) {\n          if (!!options.fromObject) {\n            throw new Error(\"Cannot specify both fromString and fromObject.\");\n          }\n\n          this.map = paramParser(options.fromString, this.encoder);\n        } else if (!!options.fromObject) {\n          this.map = new Map();\n          Object.keys(options.fromObject).forEach(\n          /**\n          * @param {?} key\n          * @return {?}\n          */\n          function (key) {\n            /** @type {?} */\n            var value =\n            /** @type {?} */\n            options.fromObject[key];\n\n            /** @type {?} */\n            _this138.map.set(key, Array.isArray(value) ? value : [value]);\n          });\n        } else {\n          this.map = null;\n        }\n      }\n      /**\n       * Reports whether the body includes one or more values for a given parameter.\n       * @param {?} param The parameter name.\n       * @return {?} True if the parameter has one or more values,\n       * false if it has no value or is not present.\n       */\n\n\n      _createClass2(HttpParams, [{\n        key: \"has\",\n        value: function has(param) {\n          this.init();\n          return (\n            /** @type {?} */\n            this.map.has(param)\n          );\n        }\n        /**\n         * Retrieves the first value for a parameter.\n         * @param {?} param The parameter name.\n         * @return {?} The first value of the given parameter,\n         * or `null` if the parameter is not present.\n         */\n\n      }, {\n        key: \"get\",\n        value: function get(param) {\n          this.init();\n          /** @type {?} */\n\n          var res =\n          /** @type {?} */\n          this.map.get(param);\n          return !!res ? res[0] : null;\n        }\n        /**\n         * Retrieves all values for a  parameter.\n         * @param {?} param The parameter name.\n         * @return {?} All values in a string array,\n         * or `null` if the parameter not present.\n         */\n\n      }, {\n        key: \"getAll\",\n        value: function getAll(param) {\n          this.init();\n          return (\n            /** @type {?} */\n            this.map.get(param) || null\n          );\n        }\n        /**\n         * Retrieves all the parameters for this body.\n         * @return {?} The parameter names in a string array.\n         */\n\n      }, {\n        key: \"keys\",\n        value: function keys() {\n          this.init();\n          return Array.from(\n          /** @type {?} */\n          this.map.keys());\n        }\n        /**\n         * Appends a new value to existing values for a parameter.\n         * @param {?} param The parameter name.\n         * @param {?} value The new value to add.\n         * @return {?} A new body with the appended value.\n         */\n\n      }, {\n        key: \"append\",\n        value: function append(param, value) {\n          return this.clone({\n            param: param,\n            value: value,\n            op: 'a'\n          });\n        }\n        /**\n         * Replaces the value for a parameter.\n         * @param {?} param The parameter name.\n         * @param {?} value The new value.\n         * @return {?} A new body with the new value.\n         */\n\n      }, {\n        key: \"set\",\n        value: function set(param, value) {\n          return this.clone({\n            param: param,\n            value: value,\n            op: 's'\n          });\n        }\n        /**\n         * Removes a given value or all values from a parameter.\n         * @param {?} param The parameter name.\n         * @param {?=} value The value to remove, if provided.\n         * @return {?} A new body with the given value removed, or with all values\n         * removed if no value is specified.\n         */\n\n      }, {\n        key: \"delete\",\n        value: function _delete(param, value) {\n          return this.clone({\n            param: param,\n            value: value,\n            op: 'd'\n          });\n        }\n        /**\n         * Serializes the body to an encoded string, where key-value pairs (separated by `=`) are\n         * separated by `&`s.\n         * @return {?}\n         */\n\n      }, {\n        key: \"toString\",\n        value: function toString() {\n          var _this139 = this;\n\n          this.init();\n          return this.keys().map(\n          /**\n          * @param {?} key\n          * @return {?}\n          */\n          function (key) {\n            /** @type {?} */\n            var eKey = _this139.encoder.encodeKey(key);\n\n            return (\n              /** @type {?} */\n\n              /** @type {?} */\n              _this139.map.get(key).map(\n              /**\n              * @param {?} value\n              * @return {?}\n              */\n              function (value) {\n                return eKey + '=' + _this139.encoder.encodeValue(value);\n              }).join('&')\n            );\n          }).join('&');\n        }\n        /**\n         * @private\n         * @param {?} update\n         * @return {?}\n         */\n\n      }, {\n        key: \"clone\",\n        value: function clone(update) {\n          /** @type {?} */\n          var clone = new HttpParams(\n          /** @type {?} */\n          {\n            encoder: this.encoder\n          });\n          clone.cloneFrom = this.cloneFrom || this;\n          clone.updates = (this.updates || []).concat([update]);\n          return clone;\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"init\",\n        value: function init() {\n          var _this140 = this;\n\n          if (this.map === null) {\n            this.map = new Map();\n          }\n\n          if (this.cloneFrom !== null) {\n            this.cloneFrom.init();\n            this.cloneFrom.keys().forEach(\n            /**\n            * @param {?} key\n            * @return {?}\n            */\n            function (key) {\n              return (\n                /** @type {?} */\n                _this140.map.set(key,\n                /** @type {?} */\n\n                /** @type {?} */\n\n                /** @type {?} */\n                _this140.cloneFrom.map.get(key))\n              );\n            });\n\n            /** @type {?} */\n            this.updates.forEach(\n            /**\n            * @param {?} update\n            * @return {?}\n            */\n            function (update) {\n              switch (update.op) {\n                case 'a':\n                case 's':\n                  /** @type {?} */\n                  var base = (update.op === 'a' ?\n                  /** @type {?} */\n                  _this140.map.get(update.param) : undefined) || [];\n                  base.push(\n                  /** @type {?} */\n                  update.value);\n\n                  /** @type {?} */\n                  _this140.map.set(update.param, base);\n\n                  break;\n\n                case 'd':\n                  if (update.value !== undefined) {\n                    /** @type {?} */\n                    var _base =\n                    /** @type {?} */\n                    _this140.map.get(update.param) || [];\n                    /** @type {?} */\n\n\n                    var idx = _base.indexOf(update.value);\n\n                    if (idx !== -1) {\n                      _base.splice(idx, 1);\n                    }\n\n                    if (_base.length > 0) {\n                      /** @type {?} */\n                      _this140.map.set(update.param, _base);\n                    } else {\n                      /** @type {?} */\n                      _this140.map.delete(update.param);\n                    }\n                  } else {\n                    /** @type {?} */\n                    _this140.map.delete(update.param);\n\n                    break;\n                  }\n\n              }\n            });\n            this.cloneFrom = this.updates = null;\n          }\n        }\n      }]);\n\n      return HttpParams;\n    }();\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Construction interface for `HttpRequest`s.\n     *\n     * All values are optional and will override default values if provided.\n     * @record\n     */\n\n\n    function HttpRequestInit() {}\n\n    if (false) {}\n    /**\n     * Determine whether the given HTTP method may include a body.\n     * @param {?} method\n     * @return {?}\n     */\n\n\n    function mightHaveBody(method) {\n      switch (method) {\n        case 'DELETE':\n        case 'GET':\n        case 'HEAD':\n        case 'OPTIONS':\n        case 'JSONP':\n          return false;\n\n        default:\n          return true;\n      }\n    }\n    /**\n     * Safely assert whether the given value is an ArrayBuffer.\n     *\n     * In some execution environments ArrayBuffer is not defined.\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function isArrayBuffer(value) {\n      return typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer;\n    }\n    /**\n     * Safely assert whether the given value is a Blob.\n     *\n     * In some execution environments Blob is not defined.\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function isBlob(value) {\n      return typeof Blob !== 'undefined' && value instanceof Blob;\n    }\n    /**\n     * Safely assert whether the given value is a FormData instance.\n     *\n     * In some execution environments FormData is not defined.\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function isFormData(value) {\n      return typeof FormData !== 'undefined' && value instanceof FormData;\n    }\n    /**\n     * An outgoing HTTP request with an optional typed body.\n     *\n     * `HttpRequest` represents an outgoing request, including URL, method,\n     * headers, body, and other request configuration options. Instances should be\n     * assumed to be immutable. To modify a `HttpRequest`, the `clone`\n     * method should be used.\n     *\n     * \\@publicApi\n     * @template T\n     */\n\n\n    var HttpRequest =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} method\n       * @param {?} url\n       * @param {?=} third\n       * @param {?=} fourth\n       */\n      function HttpRequest(method, url, third, fourth) {\n        _classCallCheck(this, HttpRequest);\n\n        this.url = url;\n        /**\n         * The request body, or `null` if one isn't set.\n         *\n         * Bodies are not enforced to be immutable, as they can include a reference to any\n         * user-defined data type. However, interceptors should take care to preserve\n         * idempotence by treating them as such.\n         */\n\n        this.body = null;\n        /**\n         * Whether this request should be made in a way that exposes progress events.\n         *\n         * Progress events are expensive (change detection runs on each event) and so\n         * they should only be requested if the consumer intends to monitor them.\n         */\n\n        this.reportProgress = false;\n        /**\n         * Whether this request should be sent with outgoing credentials (cookies).\n         */\n\n        this.withCredentials = false;\n        /**\n         * The expected response type of the server.\n         *\n         * This is used to parse the response appropriately before returning it to\n         * the requestee.\n         */\n\n        this.responseType = 'json';\n        this.method = method.toUpperCase(); // Next, need to figure out which argument holds the HttpRequestInit\n        // options, if any.\n\n        /** @type {?} */\n\n        var options; // Check whether a body argument is expected. The only valid way to omit\n        // the body argument is to use a known no-body method like GET.\n\n        if (mightHaveBody(this.method) || !!fourth) {\n          // Body is the third argument, options are the fourth.\n          this.body = third !== undefined ?\n          /** @type {?} */\n          third : null;\n          options = fourth;\n        } else {\n          // No body required, options are the third argument. The body stays null.\n          options =\n          /** @type {?} */\n          third;\n        } // If options have been passed, interpret them.\n\n\n        if (options) {\n          // Normalize reportProgress and withCredentials.\n          this.reportProgress = !!options.reportProgress;\n          this.withCredentials = !!options.withCredentials; // Override default response type of 'json' if one is provided.\n\n          if (!!options.responseType) {\n            this.responseType = options.responseType;\n          } // Override headers if they're provided.\n\n\n          if (!!options.headers) {\n            this.headers = options.headers;\n          }\n\n          if (!!options.params) {\n            this.params = options.params;\n          }\n        } // If no headers have been passed in, construct a new HttpHeaders instance.\n\n\n        if (!this.headers) {\n          this.headers = new HttpHeaders();\n        } // If no parameters have been passed in, construct a new HttpUrlEncodedParams instance.\n\n\n        if (!this.params) {\n          this.params = new HttpParams();\n          this.urlWithParams = url;\n        } else {\n          // Encode the parameters to a string in preparation for inclusion in the URL.\n\n          /** @type {?} */\n          var params = this.params.toString();\n\n          if (params.length === 0) {\n            // No parameters, the visible URL is just the URL given at creation time.\n            this.urlWithParams = url;\n          } else {\n            // Does the URL already have query parameters? Look for '?'.\n\n            /** @type {?} */\n            var qIdx = url.indexOf('?'); // There are 3 cases to handle:\n            // 1) No existing parameters -> append '?' followed by params.\n            // 2) '?' exists and is followed by existing query string ->\n            //    append '&' followed by params.\n            // 3) '?' exists at the end of the url -> append params directly.\n            // This basically amounts to determining the character, if any, with\n            // which to join the URL and parameters.\n\n            /** @type {?} */\n\n            var sep = qIdx === -1 ? '?' : qIdx < url.length - 1 ? '&' : '';\n            this.urlWithParams = url + sep + params;\n          }\n        }\n      }\n      /**\n       * Transform the free-form body into a serialized format suitable for\n       * transmission to the server.\n       * @return {?}\n       */\n\n\n      _createClass2(HttpRequest, [{\n        key: \"serializeBody\",\n        value: function serializeBody() {\n          // If no body is present, no need to serialize it.\n          if (this.body === null) {\n            return null;\n          } // Check whether the body is already in a serialized form. If so,\n          // it can just be returned directly.\n\n\n          if (isArrayBuffer(this.body) || isBlob(this.body) || isFormData(this.body) || typeof this.body === 'string') {\n            return this.body;\n          } // Check whether the body is an instance of HttpUrlEncodedParams.\n\n\n          if (this.body instanceof HttpParams) {\n            return this.body.toString();\n          } // Check whether the body is an object or array, and serialize with JSON if so.\n\n\n          if (typeof this.body === 'object' || typeof this.body === 'boolean' || Array.isArray(this.body)) {\n            return JSON.stringify(this.body);\n          } // Fall back on toString() for everything else.\n\n\n          return (\n            /** @type {?} */\n            this.body.toString()\n          );\n        }\n        /**\n         * Examine the body and attempt to infer an appropriate MIME type\n         * for it.\n         *\n         * If no such type can be inferred, this method will return `null`.\n         * @return {?}\n         */\n\n      }, {\n        key: \"detectContentTypeHeader\",\n        value: function detectContentTypeHeader() {\n          // An empty body has no content type.\n          if (this.body === null) {\n            return null;\n          } // FormData bodies rely on the browser's content type assignment.\n\n\n          if (isFormData(this.body)) {\n            return null;\n          } // Blobs usually have their own content type. If it doesn't, then\n          // no type can be inferred.\n\n\n          if (isBlob(this.body)) {\n            return this.body.type || null;\n          } // Array buffers have unknown contents and thus no type can be inferred.\n\n\n          if (isArrayBuffer(this.body)) {\n            return null;\n          } // Technically, strings could be a form of JSON data, but it's safe enough\n          // to assume they're plain strings.\n\n\n          if (typeof this.body === 'string') {\n            return 'text/plain';\n          } // `HttpUrlEncodedParams` has its own content-type.\n\n\n          if (this.body instanceof HttpParams) {\n            return 'application/x-www-form-urlencoded;charset=UTF-8';\n          } // Arrays, objects, and numbers will be encoded as JSON.\n\n\n          if (typeof this.body === 'object' || typeof this.body === 'number' || Array.isArray(this.body)) {\n            return 'application/json';\n          } // No type could be inferred.\n\n\n          return null;\n        }\n        /**\n         * @param {?=} update\n         * @return {?}\n         */\n\n      }, {\n        key: \"clone\",\n        value: function clone() {\n          var update = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n          // For method, url, and responseType, take the current value unless\n          // it is overridden in the update hash.\n\n          /** @type {?} */\n          var method = update.method || this.method;\n          /** @type {?} */\n\n          var url = update.url || this.url;\n          /** @type {?} */\n\n          var responseType = update.responseType || this.responseType; // The body is somewhat special - a `null` value in update.body means\n          // whatever current body is present is being overridden with an empty\n          // body, whereas an `undefined` value in update.body implies no\n          // override.\n\n          /** @type {?} */\n\n          var body = update.body !== undefined ? update.body : this.body; // Carefully handle the boolean options to differentiate between\n          // `false` and `undefined` in the update args.\n\n          /** @type {?} */\n\n          var withCredentials = update.withCredentials !== undefined ? update.withCredentials : this.withCredentials;\n          /** @type {?} */\n\n          var reportProgress = update.reportProgress !== undefined ? update.reportProgress : this.reportProgress; // Headers and params may be appended to if `setHeaders` or\n          // `setParams` are used.\n\n          /** @type {?} */\n\n          var headers = update.headers || this.headers;\n          /** @type {?} */\n\n          var params = update.params || this.params; // Check whether the caller has asked to add headers.\n\n          if (update.setHeaders !== undefined) {\n            // Set every requested header.\n            headers = Object.keys(update.setHeaders).reduce(\n            /**\n            * @param {?} headers\n            * @param {?} name\n            * @return {?}\n            */\n            function (headers, name) {\n              return headers.set(name,\n              /** @type {?} */\n              update.setHeaders[name]);\n            }, headers);\n          } // Check whether the caller has asked to set params.\n\n\n          if (update.setParams) {\n            // Set every requested param.\n            params = Object.keys(update.setParams).reduce(\n            /**\n            * @param {?} params\n            * @param {?} param\n            * @return {?}\n            */\n            function (params, param) {\n              return params.set(param,\n              /** @type {?} */\n              update.setParams[param]);\n            }, params);\n          } // Finally, construct the new HttpRequest using the pieces from above.\n\n\n          return new HttpRequest(method, url, body, {\n            params: params,\n            headers: headers,\n            reportProgress: reportProgress,\n            responseType: responseType,\n            withCredentials: withCredentials\n          });\n        }\n      }]);\n\n      return HttpRequest;\n    }();\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @enum {number} */\n\n\n    var HttpEventType = {\n      /**\n       * The request was sent out over the wire.\n       */\n      Sent: 0,\n\n      /**\n       * An upload progress event was received.\n       */\n      UploadProgress: 1,\n\n      /**\n       * The response status code and headers were received.\n       */\n      ResponseHeader: 2,\n\n      /**\n       * A download progress event was received.\n       */\n      DownloadProgress: 3,\n\n      /**\n       * The full response including the body was received.\n       */\n      Response: 4,\n\n      /**\n       * A custom event from an interceptor or a backend.\n       */\n      User: 5\n    };\n    HttpEventType[HttpEventType.Sent] = 'Sent';\n    HttpEventType[HttpEventType.UploadProgress] = 'UploadProgress';\n    HttpEventType[HttpEventType.ResponseHeader] = 'ResponseHeader';\n    HttpEventType[HttpEventType.DownloadProgress] = 'DownloadProgress';\n    HttpEventType[HttpEventType.Response] = 'Response';\n    HttpEventType[HttpEventType.User] = 'User';\n    /**\n     * Base interface for progress events.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n    function HttpProgressEvent() {}\n\n    if (false) {}\n    /**\n     * A download progress event.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n\n    function HttpDownloadProgressEvent() {}\n\n    if (false) {}\n    /**\n     * An upload progress event.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n\n    function HttpUploadProgressEvent() {}\n\n    if (false) {}\n    /**\n     * An event indicating that the request was sent to the server. Useful\n     * when a request may be retried multiple times, to distinguish between\n     * retries on the final event stream.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n\n    function HttpSentEvent() {}\n\n    if (false) {}\n    /**\n     * A user-defined event.\n     *\n     * Grouping all custom events under this type ensures they will be handled\n     * and forwarded by all implementations of interceptors.\n     *\n     * \\@publicApi\n     * @record\n     * @template T\n     */\n\n\n    function HttpUserEvent() {}\n\n    if (false) {}\n    /**\n     * An error that represents a failed attempt to JSON.parse text coming back\n     * from the server.\n     *\n     * It bundles the Error object with the actual response body that failed to parse.\n     *\n     *\n     * @record\n     */\n\n\n    function HttpJsonParseError() {}\n\n    if (false) {}\n    /**\n     * Base class for both `HttpResponse` and `HttpHeaderResponse`.\n     *\n     * \\@publicApi\n     * @abstract\n     */\n\n\n    var HttpResponseBase =\n    /**\n     * Super-constructor for all responses.\n     *\n     * The single parameter accepted is an initialization hash. Any properties\n     * of the response passed there will override the default values.\n     * @param {?} init\n     * @param {?=} defaultStatus\n     * @param {?=} defaultStatusText\n     */\n    function HttpResponseBase(init) {\n      var defaultStatus = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 200;\n      var defaultStatusText = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'OK';\n\n      _classCallCheck(this, HttpResponseBase);\n\n      // If the hash has values passed, use them to initialize the response.\n      // Otherwise use the default values.\n      this.headers = init.headers || new HttpHeaders();\n      this.status = init.status !== undefined ? init.status : defaultStatus;\n      this.statusText = init.statusText || defaultStatusText;\n      this.url = init.url || null; // Cache the ok value to avoid defining a getter.\n\n      this.ok = this.status >= 200 && this.status < 300;\n    };\n\n    if (false) {}\n    /**\n     * A partial HTTP response which only includes the status and header data,\n     * but no response body.\n     *\n     * `HttpHeaderResponse` is a `HttpEvent` available on the response\n     * event stream, only when progress events are requested.\n     *\n     * \\@publicApi\n     */\n\n\n    var HttpHeaderResponse =\n    /*#__PURE__*/\n    function (_HttpResponseBase) {\n      _inherits(HttpHeaderResponse, _HttpResponseBase);\n\n      /**\n       * Create a new `HttpHeaderResponse` with the given parameters.\n       * @param {?=} init\n       */\n      function HttpHeaderResponse() {\n        var _this141;\n\n        var init = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n        _classCallCheck(this, HttpHeaderResponse);\n\n        _this141 = _possibleConstructorReturn(this, _getPrototypeOf(HttpHeaderResponse).call(this, init));\n        _this141.type = HttpEventType.ResponseHeader;\n        return _this141;\n      }\n      /**\n       * Copy this `HttpHeaderResponse`, overriding its contents with the\n       * given parameter hash.\n       * @param {?=} update\n       * @return {?}\n       */\n\n\n      _createClass2(HttpHeaderResponse, [{\n        key: \"clone\",\n        value: function clone() {\n          var update = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n          // Perform a straightforward initialization of the new HttpHeaderResponse,\n          // overriding the current parameters with new ones if given.\n          return new HttpHeaderResponse({\n            headers: update.headers || this.headers,\n            status: update.status !== undefined ? update.status : this.status,\n            statusText: update.statusText || this.statusText,\n            url: update.url || this.url || undefined\n          });\n        }\n      }]);\n\n      return HttpHeaderResponse;\n    }(HttpResponseBase);\n\n    if (false) {}\n    /**\n     * A full HTTP response, including a typed response body (which may be `null`\n     * if one was not returned).\n     *\n     * `HttpResponse` is a `HttpEvent` available on the response event\n     * stream.\n     *\n     * \\@publicApi\n     * @template T\n     */\n\n\n    var HttpResponse =\n    /*#__PURE__*/\n    function (_HttpResponseBase2) {\n      _inherits(HttpResponse, _HttpResponseBase2);\n\n      /**\n       * Construct a new `HttpResponse`.\n       * @param {?=} init\n       */\n      function HttpResponse() {\n        var _this142;\n\n        var init = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n        _classCallCheck(this, HttpResponse);\n\n        _this142 = _possibleConstructorReturn(this, _getPrototypeOf(HttpResponse).call(this, init));\n        _this142.type = HttpEventType.Response;\n        _this142.body = init.body !== undefined ? init.body : null;\n        return _this142;\n      }\n      /**\n       * @param {?=} update\n       * @return {?}\n       */\n\n\n      _createClass2(HttpResponse, [{\n        key: \"clone\",\n        value: function clone() {\n          var update = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n          return new HttpResponse({\n            body: update.body !== undefined ? update.body : this.body,\n            headers: update.headers || this.headers,\n            status: update.status !== undefined ? update.status : this.status,\n            statusText: update.statusText || this.statusText,\n            url: update.url || this.url || undefined\n          });\n        }\n      }]);\n\n      return HttpResponse;\n    }(HttpResponseBase);\n\n    if (false) {}\n    /**\n     * A response that represents an error or failure, either from a\n     * non-successful HTTP status, an error while executing the request,\n     * or some other failure which occurred during the parsing of the response.\n     *\n     * Any error returned on the `Observable` response stream will be\n     * wrapped in an `HttpErrorResponse` to provide additional context about\n     * the state of the HTTP layer when the error occurred. The error property\n     * will contain either a wrapped Error object or the error response returned\n     * from the server.\n     *\n     * \\@publicApi\n     */\n\n\n    var HttpErrorResponse =\n    /*#__PURE__*/\n    function (_HttpResponseBase3) {\n      _inherits(HttpErrorResponse, _HttpResponseBase3);\n\n      /**\n       * @param {?} init\n       */\n      function HttpErrorResponse(init) {\n        var _this143;\n\n        _classCallCheck(this, HttpErrorResponse);\n\n        // Initialize with a default status of 0 / Unknown Error.\n        _this143 = _possibleConstructorReturn(this, _getPrototypeOf(HttpErrorResponse).call(this, init, 0, 'Unknown Error'));\n        _this143.name = 'HttpErrorResponse';\n        /**\n         * Errors are never okay, even when the status code is in the 2xx success range.\n         */\n\n        _this143.ok = false; // If the response was successful, then this was a parse error. Otherwise, it was\n        // a protocol-level failure of some sort. Either the request failed in transit\n        // or the server returned an unsuccessful status code.\n\n        if (_this143.status >= 200 && _this143.status < 300) {\n          _this143.message = \"Http failure during parsing for \".concat(init.url || '(unknown url)');\n        } else {\n          _this143.message = \"Http failure response for \".concat(init.url || '(unknown url)', \": \").concat(init.status, \" \").concat(init.statusText);\n        }\n\n        _this143.error = init.error || null;\n        return _this143;\n      }\n\n      return HttpErrorResponse;\n    }(HttpResponseBase);\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Constructs an instance of `HttpRequestOptions<T>` from a source `HttpMethodOptions` and\n     * the given `body`. This function clones the object and adds the body.\n     *\n     * Note that the `responseType` *options* value is a String that identifies the\n     * single data type of the response.\n     * A single overload version of the method handles each response type.\n     * The value of `responseType` cannot be a union, as the combined signature could imply.\n     *\n     * @template T\n     * @param {?} options\n     * @param {?} body\n     * @return {?}\n     */\n\n\n    function addBody(options, body) {\n      return {\n        body: body,\n        headers: options.headers,\n        observe: options.observe,\n        params: options.params,\n        reportProgress: options.reportProgress,\n        responseType: options.responseType,\n        withCredentials: options.withCredentials\n      };\n    }\n    /**\n     * Performs HTTP requests.\n     * This service is available as an injectable class, with methods to perform HTTP requests.\n     * Each request method has multiple signatures, and the return type varies based on\n     * the signature that is called (mainly the values of `observe` and `responseType`).\n     *\n     * Note that the `responseType` *options* value is a String that identifies the\n     * single data type of the response.\n     * A single overload version of the method handles each response type.\n     * The value of `responseType` cannot be a union, as the combined signature could imply.\n     *\n     * \\@usageNotes\n     * Sample HTTP requests for the [Tour of Heroes](/tutorial/toh-pt0) application.\n     *\n     * ### HTTP Request Example\n     *\n     * ```\n     *  // GET heroes whose name contains search term\n     * searchHeroes(term: string): observable<Hero[]>{\n     *\n     *  const params = new HttpParams({fromString: 'name=term'});\n     *    return this.httpClient.request('GET', this.heroesUrl, {responseType:'json', params});\n     * }\n     * ```\n     * ### JSONP Example\n     * ```\n     * requestJsonp(url, callback = 'callback') {\n     *  return this.httpClient.jsonp(this.heroesURL, callback);\n     * }\n     * ```\n     *\n     * ### PATCH Example\n     * ```\n     * // PATCH one of the heroes' name\n     * patchHero (id: number, heroName: string): Observable<{}> {\n     * const url = `${this.heroesUrl}/${id}`;   // PATCH api/heroes/42\n     *  return this.httpClient.patch(url, {name: heroName}, httpOptions)\n     *    .pipe(catchError(this.handleError('patchHero')));\n     * }\n     * ```\n     *\n     * @see [HTTP Guide](guide/http)\n     *\n     * \\@publicApi\n     */\n\n\n    var HttpClient =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} handler\n       */\n      function HttpClient(handler) {\n        _classCallCheck(this, HttpClient);\n\n        this.handler = handler;\n      }\n      /**\n       * Constructs an observable for a generic HTTP request that, when subscribed,\n       * fires the request through the chain of registered interceptors and on to the\n       * server.\n       *\n       * You can pass an `HttpRequest` directly as the only parameter. In this case,\n       * the call returns an observable of the raw `HttpEvent` stream.\n       *\n       * Alternatively you can pass an HTTP method as the first parameter,\n       * a URL string as the second, and an options hash containing the request body as the third.\n       * See `addBody()`. In this case, the specified `responseType` and `observe` options determine the\n       * type of returned observable.\n       *   * The `responseType` value determines how a successful response body is parsed.\n       *   * If `responseType` is the default `json`, you can pass a type interface for the resulting\n       * object as a type parameter to the call.\n       *\n       * The `observe` value determines the return type, according to what you are interested in\n       * observing.\n       *   * An `observe` value of events returns an observable of the raw `HttpEvent` stream, including\n       * progress events by default.\n       *   * An `observe` value of response returns an observable of `HttpResponse<T>`,\n       * where the `T` parameter depends on the `responseType` and any optionally provided type\n       * parameter.\n       *   * An `observe` value of body returns an observable of `<T>` with the same `T` body type.\n       *\n       * @param {?} first\n       * @param {?=} url\n       * @param {?=} options\n       * @return {?}\n       */\n\n\n      _createClass2(HttpClient, [{\n        key: \"request\",\n        value: function request(first, url) {\n          var _this144 = this;\n\n          var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n          /** @type {?} */\n          var req; // First, check whether the primary argument is an instance of `HttpRequest`.\n\n          if (first instanceof HttpRequest) {\n            // It is. The other arguments must be undefined (per the signatures) and can be\n            // ignored.\n            req =\n            /** @type {?} */\n            first;\n          } else {\n            // It's a string, so it represents a URL. Construct a request based on it,\n            // and incorporate the remaining arguments (assuming `GET` unless a method is\n            // provided.\n            // Figure out the headers.\n\n            /** @type {?} */\n            var headers = undefined;\n\n            if (options.headers instanceof HttpHeaders) {\n              headers = options.headers;\n            } else {\n              headers = new HttpHeaders(options.headers);\n            } // Sort out parameters.\n\n            /** @type {?} */\n\n\n            var params = undefined;\n\n            if (!!options.params) {\n              if (options.params instanceof HttpParams) {\n                params = options.params;\n              } else {\n                params = new HttpParams(\n                /** @type {?} */\n                {\n                  fromObject: options.params\n                });\n              }\n            } // Construct the request.\n\n\n            req = new HttpRequest(first,\n            /** @type {?} */\n            url, options.body !== undefined ? options.body : null, {\n              headers: headers,\n              params: params,\n              reportProgress: options.reportProgress,\n              // By default, JSON is assumed to be returned for all calls.\n              responseType: options.responseType || 'json',\n              withCredentials: options.withCredentials\n            });\n          } // Start with an Observable.of() the initial request, and run the handler (which\n          // includes all interceptors) inside a concatMap(). This way, the handler runs\n          // inside an Observable chain, which causes interceptors to be re-run on every\n          // subscription (this also makes retries re-run the handler, including interceptors).\n\n          /** @type {?} */\n\n\n          var events$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_1__[\"of\"])(req).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__[\"concatMap\"])(\n          /**\n          * @param {?} req\n          * @return {?}\n          */\n          function (req) {\n            return _this144.handler.handle(req);\n          })); // If coming via the API signature which accepts a previously constructed HttpRequest,\n          // the only option is to get the event stream. Otherwise, return the event stream if\n          // that is what was requested.\n\n          if (first instanceof HttpRequest || options.observe === 'events') {\n            return events$;\n          } // The requested stream contains either the full response or the body. In either\n          // case, the first step is to filter the event stream to extract a stream of\n          // responses(s).\n\n          /** @type {?} */\n\n\n          var res$ =\n          /** @type {?} */\n          events$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__[\"filter\"])(\n          /**\n          * @param {?} event\n          * @return {?}\n          */\n          function (event) {\n            return event instanceof HttpResponse;\n          })); // Decide which stream to return.\n\n          switch (options.observe || 'body') {\n            case 'body':\n              // The requested stream is the body. Map the response stream to the response\n              // body. This could be done more simply, but a misbehaving interceptor might\n              // transform the response body into a different format and ignore the requested\n              // responseType. Guard against this by validating that the response is of the\n              // requested type.\n              switch (req.responseType) {\n                case 'arraybuffer':\n                  return res$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__[\"map\"])(\n                  /**\n                  * @param {?} res\n                  * @return {?}\n                  */\n                  function (res) {\n                    // Validate that the body is an ArrayBuffer.\n                    if (res.body !== null && !(res.body instanceof ArrayBuffer)) {\n                      throw new Error('Response is not an ArrayBuffer.');\n                    }\n\n                    return res.body;\n                  }));\n\n                case 'blob':\n                  return res$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__[\"map\"])(\n                  /**\n                  * @param {?} res\n                  * @return {?}\n                  */\n                  function (res) {\n                    // Validate that the body is a Blob.\n                    if (res.body !== null && !(res.body instanceof Blob)) {\n                      throw new Error('Response is not a Blob.');\n                    }\n\n                    return res.body;\n                  }));\n\n                case 'text':\n                  return res$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__[\"map\"])(\n                  /**\n                  * @param {?} res\n                  * @return {?}\n                  */\n                  function (res) {\n                    // Validate that the body is a string.\n                    if (res.body !== null && typeof res.body !== 'string') {\n                      throw new Error('Response is not a string.');\n                    }\n\n                    return res.body;\n                  }));\n\n                case 'json':\n                default:\n                  // No validation needed for JSON responses, as they can be of any type.\n                  return res$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__[\"map\"])(\n                  /**\n                  * @param {?} res\n                  * @return {?}\n                  */\n                  function (res) {\n                    return res.body;\n                  }));\n              }\n\n            case 'response':\n              // The response stream was requested directly, so return it.\n              return res$;\n\n            default:\n              // Guard against new future observe types being added.\n              throw new Error(\"Unreachable: unhandled observe type \".concat(options.observe, \"}\"));\n          }\n        }\n        /**\n         * Constructs an observable that, when subscribed, causes the configured\n         * `DELETE` request to execute on the server. See the individual overloads for\n         * details on the return type.\n         *\n         * @param {?} url     The endpoint URL.\n         * @param {?=} options The HTTP options to send with the request.\n         *\n         * @return {?}\n         */\n\n      }, {\n        key: \"delete\",\n        value: function _delete(url) {\n          var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n          return this.request('DELETE', url,\n          /** @type {?} */\n          options);\n        }\n        /**\n         * Constructs an observable that, when subscribed, causes the configured\n         * `GET` request to execute on the server. See the individual overloads for\n         * details on the return type.\n         * @param {?} url\n         * @param {?=} options\n         * @return {?}\n         */\n\n      }, {\n        key: \"get\",\n        value: function get(url) {\n          var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n          return this.request('GET', url,\n          /** @type {?} */\n          options);\n        }\n        /**\n         * Constructs an observable that, when subscribed, causes the configured\n         * `HEAD` request to execute on the server. The `HEAD` method returns\n         * meta information about the resource without transferring the\n         * resource itself. See the individual overloads for\n         * details on the return type.\n         * @param {?} url\n         * @param {?=} options\n         * @return {?}\n         */\n\n      }, {\n        key: \"head\",\n        value: function head(url) {\n          var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n          return this.request('HEAD', url,\n          /** @type {?} */\n          options);\n        }\n        /**\n         * Constructs an `Observable` that, when subscribed, causes a request with the special method\n         * `JSONP` to be dispatched via the interceptor pipeline.\n         * The [JSONP pattern](https://en.wikipedia.org/wiki/JSONP) works around limitations of certain\n         * API endpoints that don't support newer,\n         * and preferable [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) protocol.\n         * JSONP treats the endpoint API as a JavaScript file and tricks the browser to process the\n         * requests even if the API endpoint is not located on the same domain (origin) as the client-side\n         * application making the request.\n         * The endpoint API must support JSONP callback for JSONP requests to work.\n         * The resource API returns the JSON response wrapped in a callback function.\n         * You can pass the callback function name as one of the query parameters.\n         * Note that JSONP requests can only be used with `GET` requests.\n         *\n         * @template T\n         * @param {?} url The resource URL.\n         * @param {?} callbackParam The callback function name.\n         *\n         * @return {?}\n         */\n\n      }, {\n        key: \"jsonp\",\n        value: function jsonp(url, callbackParam) {\n          return this.request('JSONP', url, {\n            params: new HttpParams().append(callbackParam, 'JSONP_CALLBACK'),\n            observe: 'body',\n            responseType: 'json'\n          });\n        }\n        /**\n         * Constructs an `Observable` that, when subscribed, causes the configured\n         * `OPTIONS` request to execute on the server. This method allows the client\n         * to determine the supported HTTP methods and other capabilites of an endpoint,\n         * without implying a resource action. See the individual overloads for\n         * details on the return type.\n         * @param {?} url\n         * @param {?=} options\n         * @return {?}\n         */\n\n      }, {\n        key: \"options\",\n        value: function options(url) {\n          var _options2 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n          return this.request('OPTIONS', url,\n          /** @type {?} */\n          _options2);\n        }\n        /**\n         * Constructs an observable that, when subscribed, causes the configured\n         * `PATCH` request to execute on the server. See the individual overloads for\n         * details on the return type.\n         * @param {?} url\n         * @param {?} body\n         * @param {?=} options\n         * @return {?}\n         */\n\n      }, {\n        key: \"patch\",\n        value: function patch(url, body) {\n          var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n          return this.request('PATCH', url, addBody(options, body));\n        }\n        /**\n         * Constructs an observable that, when subscribed, causes the configured\n         * `POST` request to execute on the server. The server responds with the location of\n         * the replaced resource. See the individual overloads for\n         * details on the return type.\n         * @param {?} url\n         * @param {?} body\n         * @param {?=} options\n         * @return {?}\n         */\n\n      }, {\n        key: \"post\",\n        value: function post(url, body) {\n          var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n          return this.request('POST', url, addBody(options, body));\n        }\n        /**\n         * Constructs an observable that, when subscribed, causes the configured\n         * `PUT` request to execute on the server. The `PUT` method replaces an existing resource\n         * with a new set of values.\n         * See the individual overloads for details on the return type.\n         * @param {?} url\n         * @param {?} body\n         * @param {?=} options\n         * @return {?}\n         */\n\n      }, {\n        key: \"put\",\n        value: function put(url, body) {\n          var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n          return this.request('PUT', url, addBody(options, body));\n        }\n      }]);\n\n      return HttpClient;\n    }();\n\n    HttpClient.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"]\n    }];\n    /** @nocollapse */\n\n    HttpClient.ctorParameters = function () {\n      return [{\n        type: HttpHandler\n      }];\n    };\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Intercepts and handles an `HttpRequest` or `HttpResponse`.\n     *\n     * Most interceptors transform the outgoing request before passing it to the\n     * next interceptor in the chain, by calling `next.handle(transformedReq)`.\n     * An interceptor may transform the\n     * response event stream as well, by applying additional RxJS operators on the stream\n     * returned by `next.handle()`.\n     *\n     * More rarely, an interceptor may handle the request entirely,\n     * and compose a new event stream instead of invoking `next.handle()`. This is an\n     * acceptable behavior, but keep in mind that further interceptors will be skipped entirely.\n     *\n     * It is also rare but valid for an interceptor to return multiple responses on the\n     * event stream for a single request.\n     *\n     * \\@publicApi\n     *\n     * @see [HTTP Guide](guide/http#intercepting-requests-and-responses)\n     *\n     * \\@usageNotes\n     *\n     * To use the same instance of `HttpInterceptors` for the entire app, import the `HttpClientModule`\n     * only in your `AppModule`, and add the interceptors to the root application injector .\n     * If you import `HttpClientModule` multiple times across different modules (for example, in lazy\n     * loading modules), each import creates a new copy of the `HttpClientModule`, which overwrites the interceptors\n     * provided in the root module.\n     *\n     * @record\n     */\n\n\n    function HttpInterceptor() {}\n\n    if (false) {}\n    /**\n     * `HttpHandler` which applies an `HttpInterceptor` to an `HttpRequest`.\n     *\n     *\n     */\n\n\n    var HttpInterceptorHandler =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} next\n       * @param {?} interceptor\n       */\n      function HttpInterceptorHandler(next, interceptor) {\n        _classCallCheck(this, HttpInterceptorHandler);\n\n        this.next = next;\n        this.interceptor = interceptor;\n      }\n      /**\n       * @param {?} req\n       * @return {?}\n       */\n\n\n      _createClass2(HttpInterceptorHandler, [{\n        key: \"handle\",\n        value: function handle(req) {\n          return this.interceptor.intercept(req, this.next);\n        }\n      }]);\n\n      return HttpInterceptorHandler;\n    }();\n\n    if (false) {}\n    /**\n     * A multi-provider token that represents the array of registered\n     * `HttpInterceptor` objects.\n     *\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var HTTP_INTERCEPTORS = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('HTTP_INTERCEPTORS');\n\n    var NoopInterceptor =\n    /*#__PURE__*/\n    function () {\n      function NoopInterceptor() {\n        _classCallCheck(this, NoopInterceptor);\n      }\n\n      _createClass2(NoopInterceptor, [{\n        key: \"intercept\",\n\n        /**\n         * @param {?} req\n         * @param {?} next\n         * @return {?}\n         */\n        value: function intercept(req, next) {\n          return next.handle(req);\n        }\n      }]);\n\n      return NoopInterceptor;\n    }();\n\n    NoopInterceptor.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n    // Every request made through JSONP needs a callback name that's unique across the\n    // whole page. Each request is assigned an id and the callback name is constructed\n    // from that. The next id to be assigned is tracked in a global variable here that\n    // is shared among all applications on the page.\n\n    /** @type {?} */\n\n    var nextRequestId = 0; // Error text given when a JSONP script is injected, but doesn't invoke the callback\n    // passed in its URL.\n\n    /** @type {?} */\n\n    var JSONP_ERR_NO_CALLBACK = 'JSONP injected script did not invoke callback.'; // Error text given when a request is passed to the JsonpClientBackend that doesn't\n    // have a request method JSONP.\n\n    /** @type {?} */\n\n    var JSONP_ERR_WRONG_METHOD = 'JSONP requests must use JSONP request method.';\n    /** @type {?} */\n\n    var JSONP_ERR_WRONG_RESPONSE_TYPE = 'JSONP requests must use Json response type.';\n    /**\n     * DI token/abstract type representing a map of JSONP callbacks.\n     *\n     * In the browser, this should always be the `window` object.\n     *\n     *\n     * @abstract\n     */\n\n    var JsonpCallbackContext = function JsonpCallbackContext() {\n      _classCallCheck(this, JsonpCallbackContext);\n    };\n    /**\n     * Processes an `HttpRequest` with the JSONP method,\n     * by performing JSONP style requests.\n     * @see `HttpHandler`\n     * @see `HttpXhrBackend`\n     *\n     * \\@publicApi\n     */\n\n\n    var JsonpClientBackend =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} callbackMap\n       * @param {?} document\n       */\n      function JsonpClientBackend(callbackMap, document) {\n        _classCallCheck(this, JsonpClientBackend);\n\n        this.callbackMap = callbackMap;\n        this.document = document;\n      }\n      /**\n       * Get the name of the next callback method, by incrementing the global `nextRequestId`.\n       * @private\n       * @return {?}\n       */\n\n\n      _createClass2(JsonpClientBackend, [{\n        key: \"nextCallback\",\n        value: function nextCallback() {\n          return \"ng_jsonp_callback_\".concat(nextRequestId++);\n        }\n        /**\n         * Processes a JSONP request and returns an event stream of the results.\n         * @param {?} req The request object.\n         * @return {?} An observable of the response events.\n         *\n         */\n\n      }, {\n        key: \"handle\",\n        value: function handle(req) {\n          var _this145 = this;\n\n          // Firstly, check both the method and response type. If either doesn't match\n          // then the request was improperly routed here and cannot be handled.\n          if (req.method !== 'JSONP') {\n            throw new Error(JSONP_ERR_WRONG_METHOD);\n          } else if (req.responseType !== 'json') {\n            throw new Error(JSONP_ERR_WRONG_RESPONSE_TYPE);\n          } // Everything else happens inside the Observable boundary.\n\n\n          return new rxjs__WEBPACK_IMPORTED_MODULE_1__[\"Observable\"](\n          /**\n          * @param {?} observer\n          * @return {?}\n          */\n          function (observer) {\n            // The first step to make a request is to generate the callback name, and replace the\n            // callback placeholder in the URL with the name. Care has to be taken here to ensure\n            // a trailing &, if matched, gets inserted back into the URL in the correct place.\n\n            /** @type {?} */\n            var callback = _this145.nextCallback();\n            /** @type {?} */\n\n\n            var url = req.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/, \"=\".concat(callback, \"$1\")); // Construct the <script> tag and point it at the URL.\n\n            /** @type {?} */\n\n            var node = _this145.document.createElement('script');\n\n            node.src = url; // A JSONP request requires waiting for multiple callbacks. These variables\n            // are closed over and track state across those callbacks.\n            // The response object, if one has been received, or null otherwise.\n\n            /** @type {?} */\n\n            var body = null; // Whether the response callback has been called.\n\n            /** @type {?} */\n\n            var finished = false; // Whether the request has been cancelled (and thus any other callbacks)\n            // should be ignored.\n\n            /** @type {?} */\n\n            var cancelled = false; // Set the response callback in this.callbackMap (which will be the window\n            // object in the browser. The script being loaded via the <script> tag will\n            // eventually call this callback.\n\n            _this145.callbackMap[callback] =\n            /**\n            * @param {?=} data\n            * @return {?}\n            */\n            function (data) {\n              // Data has been received from the JSONP script. Firstly, delete this callback.\n              delete _this145.callbackMap[callback]; // Next, make sure the request wasn't cancelled in the meantime.\n\n              if (cancelled) {\n                return;\n              } // Set state to indicate data was received.\n\n\n              body = data;\n              finished = true;\n            }; // cleanup() is a utility closure that removes the <script> from the page and\n            // the response callback from the window. This logic is used in both the\n            // success, error, and cancellation paths, so it's extracted out for convenience.\n\n            /** @type {?} */\n\n\n            var cleanup =\n            /**\n            * @return {?}\n            */\n            function cleanup() {\n              // Remove the <script> tag if it's still on the page.\n              if (node.parentNode) {\n                node.parentNode.removeChild(node);\n              } // Remove the response callback from the callbackMap (window object in the\n              // browser).\n\n\n              delete _this145.callbackMap[callback];\n            }; // onLoad() is the success callback which runs after the response callback\n            // if the JSONP script loads successfully. The event itself is unimportant.\n            // If something went wrong, onLoad() may run without the response callback\n            // having been invoked.\n\n            /** @type {?} */\n\n\n            var onLoad =\n            /**\n            * @param {?} event\n            * @return {?}\n            */\n            function onLoad(event) {\n              // Do nothing if the request has been cancelled.\n              if (cancelled) {\n                return;\n              } // Cleanup the page.\n\n\n              cleanup(); // Check whether the response callback has run.\n\n              if (!finished) {\n                // It hasn't, something went wrong with the request. Return an error via\n                // the Observable error path. All JSONP errors have status 0.\n                observer.error(new HttpErrorResponse({\n                  url: url,\n                  status: 0,\n                  statusText: 'JSONP Error',\n                  error: new Error(JSONP_ERR_NO_CALLBACK)\n                }));\n                return;\n              } // Success. body either contains the response body or null if none was\n              // returned.\n\n\n              observer.next(new HttpResponse({\n                body: body,\n                status: 200,\n                statusText: 'OK',\n                url: url\n              })); // Complete the stream, the response is over.\n\n              observer.complete();\n            }; // onError() is the error callback, which runs if the script returned generates\n            // a Javascript error. It emits the error via the Observable error channel as\n            // a HttpErrorResponse.\n\n            /** @type {?} */\n\n\n            var onError =\n            /**\n            * @param {?} error\n            * @return {?}\n            */\n            function onError(error) {\n              // If the request was already cancelled, no need to emit anything.\n              if (cancelled) {\n                return;\n              }\n\n              cleanup(); // Wrap the error in a HttpErrorResponse.\n\n              observer.error(new HttpErrorResponse({\n                error: error,\n                status: 0,\n                statusText: 'JSONP Error',\n                url: url\n              }));\n            }; // Subscribe to both the success (load) and error events on the <script> tag,\n            // and add it to the page.\n\n\n            node.addEventListener('load', onLoad);\n            node.addEventListener('error', onError);\n\n            _this145.document.body.appendChild(node); // The request has now been successfully sent.\n\n\n            observer.next({\n              type: HttpEventType.Sent\n            }); // Cancellation handler.\n\n            return (\n              /**\n              * @return {?}\n              */\n              function () {\n                // Track the cancellation so event listeners won't do anything even if already scheduled.\n                cancelled = true; // Remove the event listeners so they won't run if the events later fire.\n\n                node.removeEventListener('load', onLoad);\n                node.removeEventListener('error', onError); // And finally, clean up the page.\n\n                cleanup();\n              }\n            );\n          });\n        }\n      }]);\n\n      return JsonpClientBackend;\n    }();\n\n    JsonpClientBackend.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"]\n    }];\n    /** @nocollapse */\n\n    JsonpClientBackend.ctorParameters = function () {\n      return [{\n        type: JsonpCallbackContext\n      }, {\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [_angular_common__WEBPACK_IMPORTED_MODULE_3__[\"DOCUMENT\"]]\n        }]\n      }];\n    };\n\n    if (false) {}\n    /**\n     * Identifies requests with the method JSONP and\n     * shifts them to the `JsonpClientBackend`.\n     *\n     * @see `HttpInterceptor`\n     *\n     * \\@publicApi\n     */\n\n\n    var JsonpInterceptor =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} jsonp\n       */\n      function JsonpInterceptor(jsonp) {\n        _classCallCheck(this, JsonpInterceptor);\n\n        this.jsonp = jsonp;\n      }\n      /**\n       * Identifies and handles a given JSONP request.\n       * @param {?} req The outgoing request object to handle.\n       * @param {?} next The next interceptor in the chain, or the backend\n       * if no interceptors remain in the chain.\n       * @return {?} An observable of the event stream.\n       */\n\n\n      _createClass2(JsonpInterceptor, [{\n        key: \"intercept\",\n        value: function intercept(req, next) {\n          if (req.method === 'JSONP') {\n            return this.jsonp.handle(\n            /** @type {?} */\n            req);\n          } // Fall through for normal HTTP requests.\n\n\n          return next.handle(req);\n        }\n      }]);\n\n      return JsonpInterceptor;\n    }();\n\n    JsonpInterceptor.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"]\n    }];\n    /** @nocollapse */\n\n    JsonpInterceptor.ctorParameters = function () {\n      return [{\n        type: JsonpClientBackend\n      }];\n    };\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var XSSI_PREFIX = /^\\)\\]\\}',?\\n/;\n    /**\n     * Determine an appropriate URL for the response, by checking either\n     * XMLHttpRequest.responseURL or the X-Request-URL header.\n     * @param {?} xhr\n     * @return {?}\n     */\n\n    function getResponseUrl(xhr) {\n      if ('responseURL' in xhr && xhr.responseURL) {\n        return xhr.responseURL;\n      }\n\n      if (/^X-Request-URL:/m.test(xhr.getAllResponseHeaders())) {\n        return xhr.getResponseHeader('X-Request-URL');\n      }\n\n      return null;\n    }\n    /**\n     * A wrapper around the `XMLHttpRequest` constructor.\n     *\n     * \\@publicApi\n     * @abstract\n     */\n\n\n    var XhrFactory = function XhrFactory() {\n      _classCallCheck(this, XhrFactory);\n    };\n\n    if (false) {}\n    /**\n     * A factory for `HttpXhrBackend` that uses the `XMLHttpRequest` browser API.\n     *\n     */\n\n\n    var BrowserXhr =\n    /*#__PURE__*/\n    function () {\n      function BrowserXhr() {\n        _classCallCheck(this, BrowserXhr);\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(BrowserXhr, [{\n        key: \"build\",\n        value: function build() {\n          return (\n            /** @type {?} */\n            new XMLHttpRequest()\n          );\n        }\n      }]);\n\n      return BrowserXhr;\n    }();\n\n    BrowserXhr.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"]\n    }];\n    /** @nocollapse */\n\n    BrowserXhr.ctorParameters = function () {\n      return [];\n    };\n    /**\n     * Tracks a response from the server that does not yet have a body.\n     * @record\n     */\n\n\n    function PartialResponse() {}\n\n    if (false) {}\n    /**\n     * Uses `XMLHttpRequest` to send requests to a backend server.\n     * @see `HttpHandler`\n     * @see `JsonpClientBackend`\n     *\n     * \\@publicApi\n     */\n\n\n    var HttpXhrBackend =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} xhrFactory\n       */\n      function HttpXhrBackend(xhrFactory) {\n        _classCallCheck(this, HttpXhrBackend);\n\n        this.xhrFactory = xhrFactory;\n      }\n      /**\n       * Processes a request and returns a stream of response events.\n       * @param {?} req The request object.\n       * @return {?} An observable of the response events.\n       */\n\n\n      _createClass2(HttpXhrBackend, [{\n        key: \"handle\",\n        value: function handle(req) {\n          var _this146 = this;\n\n          // Quick check to give a better error message when a user attempts to use\n          // HttpClient.jsonp() without installing the JsonpClientModule\n          if (req.method === 'JSONP') {\n            throw new Error(\"Attempted to construct Jsonp request without JsonpClientModule installed.\");\n          } // Everything happens on Observable subscription.\n\n\n          return new rxjs__WEBPACK_IMPORTED_MODULE_1__[\"Observable\"](\n          /**\n          * @param {?} observer\n          * @return {?}\n          */\n          function (observer) {\n            // Start by setting up the XHR object with request method, URL, and withCredentials flag.\n\n            /** @type {?} */\n            var xhr = _this146.xhrFactory.build();\n\n            xhr.open(req.method, req.urlWithParams);\n\n            if (!!req.withCredentials) {\n              xhr.withCredentials = true;\n            } // Add all the requested headers.\n\n\n            req.headers.forEach(\n            /**\n            * @param {?} name\n            * @param {?} values\n            * @return {?}\n            */\n            function (name, values) {\n              return xhr.setRequestHeader(name, values.join(','));\n            }); // Add an Accept header if one isn't present already.\n\n            if (!req.headers.has('Accept')) {\n              xhr.setRequestHeader('Accept', 'application/json, text/plain, */*');\n            } // Auto-detect the Content-Type header if one isn't present already.\n\n\n            if (!req.headers.has('Content-Type')) {\n              /** @type {?} */\n              var detectedType = req.detectContentTypeHeader(); // Sometimes Content-Type detection fails.\n\n              if (detectedType !== null) {\n                xhr.setRequestHeader('Content-Type', detectedType);\n              }\n            } // Set the responseType if one was requested.\n\n\n            if (req.responseType) {\n              /** @type {?} */\n              var responseType = req.responseType.toLowerCase(); // JSON responses need to be processed as text. This is because if the server\n              // returns an XSSI-prefixed JSON response, the browser will fail to parse it,\n              // xhr.response will be null, and xhr.responseText cannot be accessed to\n              // retrieve the prefixed JSON data in order to strip the prefix. Thus, all JSON\n              // is parsed by first requesting text and then applying JSON.parse.\n\n              xhr.responseType =\n              /** @type {?} */\n              responseType !== 'json' ? responseType : 'text';\n            } // Serialize the request body if one is present. If not, this will be set to null.\n\n            /** @type {?} */\n\n\n            var reqBody = req.serializeBody(); // If progress events are enabled, response headers will be delivered\n            // in two events - the HttpHeaderResponse event and the full HttpResponse\n            // event. However, since response headers don't change in between these\n            // two events, it doesn't make sense to parse them twice. So headerResponse\n            // caches the data extracted from the response whenever it's first parsed,\n            // to ensure parsing isn't duplicated.\n\n            /** @type {?} */\n\n            var headerResponse = null; // partialFromXhr extracts the HttpHeaderResponse from the current XMLHttpRequest\n            // state, and memoizes it into headerResponse.\n\n            /** @type {?} */\n\n            var partialFromXhr =\n            /**\n            * @return {?}\n            */\n            function partialFromXhr() {\n              if (headerResponse !== null) {\n                return headerResponse;\n              } // Read status and normalize an IE9 bug (http://bugs.jquery.com/ticket/1450).\n\n              /** @type {?} */\n\n\n              var status = xhr.status === 1223 ? 204 : xhr.status;\n              /** @type {?} */\n\n              var statusText = xhr.statusText || 'OK'; // Parse headers from XMLHttpRequest - this step is lazy.\n\n              /** @type {?} */\n\n              var headers = new HttpHeaders(xhr.getAllResponseHeaders()); // Read the response URL from the XMLHttpResponse instance and fall back on the\n              // request URL.\n\n              /** @type {?} */\n\n              var url = getResponseUrl(xhr) || req.url; // Construct the HttpHeaderResponse and memoize it.\n\n              headerResponse = new HttpHeaderResponse({\n                headers: headers,\n                status: status,\n                statusText: statusText,\n                url: url\n              });\n              return headerResponse;\n            }; // Next, a few closures are defined for the various events which XMLHttpRequest can\n            // emit. This allows them to be unregistered as event listeners later.\n            // First up is the load event, which represents a response being fully available.\n\n            /** @type {?} */\n\n\n            var onLoad =\n            /**\n            * @return {?}\n            */\n            function onLoad() {\n              // Read response state from the memoized partial data.\n              var _partialFromXhr = partialFromXhr(),\n                  headers = _partialFromXhr.headers,\n                  status = _partialFromXhr.status,\n                  statusText = _partialFromXhr.statusText,\n                  url = _partialFromXhr.url; // The body will be read out if present.\n\n              /** @type {?} */\n\n\n              var body = null;\n\n              if (status !== 204) {\n                // Use XMLHttpRequest.response if set, responseText otherwise.\n                body = typeof xhr.response === 'undefined' ? xhr.responseText : xhr.response;\n              } // Normalize another potential bug (this one comes from CORS).\n\n\n              if (status === 0) {\n                status = !!body ? 200 : 0;\n              } // ok determines whether the response will be transmitted on the event or\n              // error channel. Unsuccessful status codes (not 2xx) will always be errors,\n              // but a successful status code can still result in an error if the user\n              // asked for JSON data and the body cannot be parsed as such.\n\n              /** @type {?} */\n\n\n              var ok = status >= 200 && status < 300; // Check whether the body needs to be parsed as JSON (in many cases the browser\n              // will have done that already).\n\n              if (req.responseType === 'json' && typeof body === 'string') {\n                // Save the original body, before attempting XSSI prefix stripping.\n\n                /** @type {?} */\n                var originalBody = body;\n                body = body.replace(XSSI_PREFIX, '');\n\n                try {\n                  // Attempt the parse. If it fails, a parse error should be delivered to the user.\n                  body = body !== '' ? JSON.parse(body) : null;\n                } catch (error) {\n                  // Since the JSON.parse failed, it's reasonable to assume this might not have been a\n                  // JSON response. Restore the original body (including any XSSI prefix) to deliver\n                  // a better error response.\n                  body = originalBody; // If this was an error request to begin with, leave it as a string, it probably\n                  // just isn't JSON. Otherwise, deliver the parsing error to the user.\n\n                  if (ok) {\n                    // Even though the response status was 2xx, this is still an error.\n                    ok = false; // The parse error contains the text of the body that failed to parse.\n\n                    body =\n                    /** @type {?} */\n                    {\n                      error: error,\n                      text: body\n                    };\n                  }\n                }\n              }\n\n              if (ok) {\n                // A successful response is delivered on the event stream.\n                observer.next(new HttpResponse({\n                  body: body,\n                  headers: headers,\n                  status: status,\n                  statusText: statusText,\n                  url: url || undefined\n                })); // The full body has been received and delivered, no further events\n                // are possible. This request is complete.\n\n                observer.complete();\n              } else {\n                // An unsuccessful request is delivered on the error channel.\n                observer.error(new HttpErrorResponse({\n                  // The error in this case is the response body (error from the server).\n                  error: body,\n                  headers: headers,\n                  status: status,\n                  statusText: statusText,\n                  url: url || undefined\n                }));\n              }\n            }; // The onError callback is called when something goes wrong at the network level.\n            // Connection timeout, DNS error, offline, etc. These are actual errors, and are\n            // transmitted on the error channel.\n\n            /** @type {?} */\n\n\n            var onError =\n            /**\n            * @param {?} error\n            * @return {?}\n            */\n            function onError(error) {\n              var _partialFromXhr2 = partialFromXhr(),\n                  url = _partialFromXhr2.url;\n              /** @type {?} */\n\n\n              var res = new HttpErrorResponse({\n                error: error,\n                status: xhr.status || 0,\n                statusText: xhr.statusText || 'Unknown Error',\n                url: url || undefined\n              });\n              observer.error(res);\n            }; // The sentHeaders flag tracks whether the HttpResponseHeaders event\n            // has been sent on the stream. This is necessary to track if progress\n            // is enabled since the event will be sent on only the first download\n            // progerss event.\n\n            /** @type {?} */\n\n\n            var sentHeaders = false; // The download progress event handler, which is only registered if\n            // progress events are enabled.\n\n            /** @type {?} */\n\n            var onDownProgress =\n            /**\n            * @param {?} event\n            * @return {?}\n            */\n            function onDownProgress(event) {\n              // Send the HttpResponseHeaders event if it hasn't been sent already.\n              if (!sentHeaders) {\n                observer.next(partialFromXhr());\n                sentHeaders = true;\n              } // Start building the download progress event to deliver on the response\n              // event stream.\n\n              /** @type {?} */\n\n\n              var progressEvent = {\n                type: HttpEventType.DownloadProgress,\n                loaded: event.loaded\n              }; // Set the total number of bytes in the event if it's available.\n\n              if (event.lengthComputable) {\n                progressEvent.total = event.total;\n              } // If the request was for text content and a partial response is\n              // available on XMLHttpRequest, include it in the progress event\n              // to allow for streaming reads.\n\n\n              if (req.responseType === 'text' && !!xhr.responseText) {\n                progressEvent.partialText = xhr.responseText;\n              } // Finally, fire the event.\n\n\n              observer.next(progressEvent);\n            }; // The upload progress event handler, which is only registered if\n            // progress events are enabled.\n\n            /** @type {?} */\n\n\n            var onUpProgress =\n            /**\n            * @param {?} event\n            * @return {?}\n            */\n            function onUpProgress(event) {\n              // Upload progress events are simpler. Begin building the progress\n              // event.\n\n              /** @type {?} */\n              var progress = {\n                type: HttpEventType.UploadProgress,\n                loaded: event.loaded\n              }; // If the total number of bytes being uploaded is available, include\n              // it.\n\n              if (event.lengthComputable) {\n                progress.total = event.total;\n              } // Send the event.\n\n\n              observer.next(progress);\n            }; // By default, register for load and error events.\n\n\n            xhr.addEventListener('load', onLoad);\n            xhr.addEventListener('error', onError); // Progress events are only enabled if requested.\n\n            if (req.reportProgress) {\n              // Download progress is always enabled if requested.\n              xhr.addEventListener('progress', onDownProgress); // Upload progress depends on whether there is a body to upload.\n\n              if (reqBody !== null && xhr.upload) {\n                xhr.upload.addEventListener('progress', onUpProgress);\n              }\n            } // Fire the request, and notify the event stream that it was fired.\n\n\n            xhr.send(\n            /** @type {?} */\n            reqBody);\n            observer.next({\n              type: HttpEventType.Sent\n            }); // This is the return from the Observable function, which is the\n            // request cancellation handler.\n\n            return (\n              /**\n              * @return {?}\n              */\n              function () {\n                // On a cancellation, remove all registered event listeners.\n                xhr.removeEventListener('error', onError);\n                xhr.removeEventListener('load', onLoad);\n\n                if (req.reportProgress) {\n                  xhr.removeEventListener('progress', onDownProgress);\n\n                  if (reqBody !== null && xhr.upload) {\n                    xhr.upload.removeEventListener('progress', onUpProgress);\n                  }\n                } // Finally, abort the in-flight request.\n\n\n                xhr.abort();\n              }\n            );\n          });\n        }\n      }]);\n\n      return HttpXhrBackend;\n    }();\n\n    HttpXhrBackend.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"]\n    }];\n    /** @nocollapse */\n\n    HttpXhrBackend.ctorParameters = function () {\n      return [{\n        type: XhrFactory\n      }];\n    };\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var XSRF_COOKIE_NAME = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('XSRF_COOKIE_NAME');\n    /** @type {?} */\n\n    var XSRF_HEADER_NAME = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('XSRF_HEADER_NAME');\n    /**\n     * Retrieves the current XSRF token to use with the next outgoing request.\n     *\n     * \\@publicApi\n     * @abstract\n     */\n\n    var HttpXsrfTokenExtractor = function HttpXsrfTokenExtractor() {\n      _classCallCheck(this, HttpXsrfTokenExtractor);\n    };\n\n    if (false) {}\n    /**\n     * `HttpXsrfTokenExtractor` which retrieves the token from a cookie.\n     */\n\n\n    var HttpXsrfCookieExtractor =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} doc\n       * @param {?} platform\n       * @param {?} cookieName\n       */\n      function HttpXsrfCookieExtractor(doc, platform, cookieName) {\n        _classCallCheck(this, HttpXsrfCookieExtractor);\n\n        this.doc = doc;\n        this.platform = platform;\n        this.cookieName = cookieName;\n        this.lastCookieString = '';\n        this.lastToken = null;\n        /**\n         * \\@internal for testing\n         */\n\n        this.parseCount = 0;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(HttpXsrfCookieExtractor, [{\n        key: \"getToken\",\n        value: function getToken() {\n          if (this.platform === 'server') {\n            return null;\n          }\n          /** @type {?} */\n\n\n          var cookieString = this.doc.cookie || '';\n\n          if (cookieString !== this.lastCookieString) {\n            this.parseCount++;\n            this.lastToken = Object(_angular_common__WEBPACK_IMPORTED_MODULE_3__[\"ɵparseCookieValue\"])(cookieString, this.cookieName);\n            this.lastCookieString = cookieString;\n          }\n\n          return this.lastToken;\n        }\n      }]);\n\n      return HttpXsrfCookieExtractor;\n    }();\n\n    HttpXsrfCookieExtractor.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"]\n    }];\n    /** @nocollapse */\n\n    HttpXsrfCookieExtractor.ctorParameters = function () {\n      return [{\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [_angular_common__WEBPACK_IMPORTED_MODULE_3__[\"DOCUMENT\"]]\n        }]\n      }, {\n        type: String,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"PLATFORM_ID\"]]\n        }]\n      }, {\n        type: String,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [XSRF_COOKIE_NAME]\n        }]\n      }];\n    };\n\n    if (false) {}\n    /**\n     * `HttpInterceptor` which adds an XSRF token to eligible outgoing requests.\n     */\n\n\n    var HttpXsrfInterceptor =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} tokenService\n       * @param {?} headerName\n       */\n      function HttpXsrfInterceptor(tokenService, headerName) {\n        _classCallCheck(this, HttpXsrfInterceptor);\n\n        this.tokenService = tokenService;\n        this.headerName = headerName;\n      }\n      /**\n       * @param {?} req\n       * @param {?} next\n       * @return {?}\n       */\n\n\n      _createClass2(HttpXsrfInterceptor, [{\n        key: \"intercept\",\n        value: function intercept(req, next) {\n          /** @type {?} */\n          var lcUrl = req.url.toLowerCase(); // Skip both non-mutating requests and absolute URLs.\n          // Non-mutating requests don't require a token, and absolute URLs require special handling\n          // anyway as the cookie set\n          // on our origin is not the same as the token expected by another origin.\n\n          if (req.method === 'GET' || req.method === 'HEAD' || lcUrl.startsWith('http://') || lcUrl.startsWith('https://')) {\n            return next.handle(req);\n          }\n          /** @type {?} */\n\n\n          var token = this.tokenService.getToken(); // Be careful not to overwrite an existing header of the same name.\n\n          if (token !== null && !req.headers.has(this.headerName)) {\n            req = req.clone({\n              headers: req.headers.set(this.headerName, token)\n            });\n          }\n\n          return next.handle(req);\n        }\n      }]);\n\n      return HttpXsrfInterceptor;\n    }();\n\n    HttpXsrfInterceptor.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"]\n    }];\n    /** @nocollapse */\n\n    HttpXsrfInterceptor.ctorParameters = function () {\n      return [{\n        type: HttpXsrfTokenExtractor\n      }, {\n        type: String,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [XSRF_HEADER_NAME]\n        }]\n      }];\n    };\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * An injectable `HttpHandler` that applies multiple interceptors\n     * to a request before passing it to the given `HttpBackend`.\n     *\n     * The interceptors are loaded lazily from the injector, to allow\n     * interceptors to themselves inject classes depending indirectly\n     * on `HttpInterceptingHandler` itself.\n     * @see `HttpInterceptor`\n     */\n\n\n    var HttpInterceptingHandler =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} backend\n       * @param {?} injector\n       */\n      function HttpInterceptingHandler(backend, injector) {\n        _classCallCheck(this, HttpInterceptingHandler);\n\n        this.backend = backend;\n        this.injector = injector;\n        this.chain = null;\n      }\n      /**\n       * @param {?} req\n       * @return {?}\n       */\n\n\n      _createClass2(HttpInterceptingHandler, [{\n        key: \"handle\",\n        value: function handle(req) {\n          if (this.chain === null) {\n            /** @type {?} */\n            var interceptors = this.injector.get(HTTP_INTERCEPTORS, []);\n            this.chain = interceptors.reduceRight(\n            /**\n            * @param {?} next\n            * @param {?} interceptor\n            * @return {?}\n            */\n            function (next, interceptor) {\n              return new HttpInterceptorHandler(next, interceptor);\n            }, this.backend);\n          }\n\n          return this.chain.handle(req);\n        }\n      }]);\n\n      return HttpInterceptingHandler;\n    }();\n\n    HttpInterceptingHandler.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"]\n    }];\n    /** @nocollapse */\n\n    HttpInterceptingHandler.ctorParameters = function () {\n      return [{\n        type: HttpBackend\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injector\"]\n      }];\n    };\n\n    if (false) {}\n    /**\n     * Constructs an `HttpHandler` that applies interceptors\n     * to a request before passing it to the given `HttpBackend`.\n     *\n     * Use as a factory function within `HttpClientModule`.\n     *\n     *\n     * @param {?} backend\n     * @param {?=} interceptors\n     * @return {?}\n     */\n\n\n    function interceptingHandler(backend) {\n      var interceptors = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n\n      if (!interceptors) {\n        return backend;\n      }\n\n      return interceptors.reduceRight(\n      /**\n      * @param {?} next\n      * @param {?} interceptor\n      * @return {?}\n      */\n      function (next, interceptor) {\n        return new HttpInterceptorHandler(next, interceptor);\n      }, backend);\n    }\n    /**\n     * Factory function that determines where to store JSONP callbacks.\n     *\n     * Ordinarily JSONP callbacks are stored on the `window` object, but this may not exist\n     * in test environments. In that case, callbacks are stored on an anonymous object instead.\n     *\n     *\n     * @return {?}\n     */\n\n\n    function jsonpCallbackContext() {\n      if (typeof window === 'object') {\n        return window;\n      }\n\n      return {};\n    }\n    /**\n     * Configures XSRF protection support for outgoing requests.\n     *\n     * For a server that supports a cookie-based XSRF protection system,\n     * use directly to configure XSRF protection with the correct\n     * cookie and header names.\n     *\n     * If no names are supplied, the default cookie name is `XSRF-TOKEN`\n     * and the default header name is `X-XSRF-TOKEN`.\n     *\n     * \\@publicApi\n     */\n\n\n    var HttpClientXsrfModule =\n    /*#__PURE__*/\n    function () {\n      function HttpClientXsrfModule() {\n        _classCallCheck(this, HttpClientXsrfModule);\n      }\n\n      _createClass2(HttpClientXsrfModule, null, [{\n        key: \"disable\",\n\n        /**\n         * Disable the default XSRF protection.\n         * @return {?}\n         */\n        value: function disable() {\n          return {\n            ngModule: HttpClientXsrfModule,\n            providers: [{\n              provide: HttpXsrfInterceptor,\n              useClass: NoopInterceptor\n            }]\n          };\n        }\n        /**\n         * Configure XSRF protection.\n         * @param {?=} options An object that can specify either or both\n         * cookie name or header name.\n         * - Cookie name default is `XSRF-TOKEN`.\n         * - Header name default is `X-XSRF-TOKEN`.\n         *\n         * @return {?}\n         */\n\n      }, {\n        key: \"withOptions\",\n        value: function withOptions() {\n          var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n          return {\n            ngModule: HttpClientXsrfModule,\n            providers: [options.cookieName ? {\n              provide: XSRF_COOKIE_NAME,\n              useValue: options.cookieName\n            } : [], options.headerName ? {\n              provide: XSRF_HEADER_NAME,\n              useValue: options.headerName\n            } : []]\n          };\n        }\n      }]);\n\n      return HttpClientXsrfModule;\n    }();\n\n    HttpClientXsrfModule.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"],\n      args: [{\n        providers: [HttpXsrfInterceptor, {\n          provide: HTTP_INTERCEPTORS,\n          useExisting: HttpXsrfInterceptor,\n          multi: true\n        }, {\n          provide: HttpXsrfTokenExtractor,\n          useClass: HttpXsrfCookieExtractor\n        }, {\n          provide: XSRF_COOKIE_NAME,\n          useValue: 'XSRF-TOKEN'\n        }, {\n          provide: XSRF_HEADER_NAME,\n          useValue: 'X-XSRF-TOKEN'\n        }]\n      }]\n    }];\n    /**\n     * Configures the [dependency injector](guide/glossary#injector) for `HttpClient`\n     * with supporting services for XSRF. Automatically imported by `HttpClientModule`.\n     *\n     * You can add interceptors to the chain behind `HttpClient` by binding them to the\n     * multiprovider for built-in [DI token](guide/glossary#di-token) `HTTP_INTERCEPTORS`.\n     *\n     * \\@publicApi\n     */\n\n    var HttpClientModule = function HttpClientModule() {\n      _classCallCheck(this, HttpClientModule);\n    };\n\n    HttpClientModule.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"],\n      args: [{\n        /**\n         * Optional configuration for XSRF protection.\n         */\n        imports: [HttpClientXsrfModule.withOptions({\n          cookieName: 'XSRF-TOKEN',\n          headerName: 'X-XSRF-TOKEN'\n        })],\n\n        /**\n         * Configures the [dependency injector](guide/glossary#injector) where it is imported\n         * with supporting services for HTTP communications.\n         */\n        providers: [HttpClient, {\n          provide: HttpHandler,\n          useClass: HttpInterceptingHandler\n        }, HttpXhrBackend, {\n          provide: HttpBackend,\n          useExisting: HttpXhrBackend\n        }, BrowserXhr, {\n          provide: XhrFactory,\n          useExisting: BrowserXhr\n        }]\n      }]\n    }];\n    /**\n     * Configures the [dependency injector](guide/glossary#injector) for `HttpClient`\n     * with supporting services for JSONP.\n     * Without this module, Jsonp requests reach the backend\n     * with method JSONP, where they are rejected.\n     *\n     * You can add interceptors to the chain behind `HttpClient` by binding them to the\n     * multiprovider for built-in [DI token](guide/glossary#di-token) `HTTP_INTERCEPTORS`.\n     *\n     * \\@publicApi\n     */\n\n    var HttpClientJsonpModule = function HttpClientJsonpModule() {\n      _classCallCheck(this, HttpClientJsonpModule);\n    };\n\n    HttpClientJsonpModule.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"],\n      args: [{\n        providers: [JsonpClientBackend, {\n          provide: JsonpCallbackContext,\n          useFactory: jsonpCallbackContext\n        }, {\n          provide: HTTP_INTERCEPTORS,\n          useClass: JsonpInterceptor,\n          multi: true\n        }]\n      }]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Generated bundle index. Do not edit.\n     */\n\n    /***/\n  },\n\n  /***/\n  \"./node_modules/@angular/compiler/fesm2015/compiler.js\":\n  /*!*************************************************************!*\\\n    !*** ./node_modules/@angular/compiler/fesm2015/compiler.js ***!\n    \\*************************************************************/\n\n  /*! exports provided: core, CompilerConfig, preserveWhitespacesDefault, isLoweredSymbol, createLoweredSymbol, Identifiers, JitCompiler, ConstantPool, DirectiveResolver, PipeResolver, NgModuleResolver, DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, NgModuleCompiler, ArrayType, AssertNotNull, DYNAMIC_TYPE, BinaryOperator, BinaryOperatorExpr, BuiltinMethod, BuiltinType, BuiltinTypeName, BuiltinVar, CastExpr, ClassField, ClassMethod, ClassStmt, CommaExpr, CommentStmt, ConditionalExpr, DeclareFunctionStmt, DeclareVarStmt, Expression, ExpressionStatement, ExpressionType, ExternalExpr, ExternalReference, literalMap, FunctionExpr, IfStmt, InstantiateExpr, InvokeFunctionExpr, InvokeMethodExpr, JSDocCommentStmt, LiteralArrayExpr, LiteralExpr, LiteralMapExpr, MapType, NotExpr, ReadKeyExpr, ReadPropExpr, ReadVarExpr, ReturnStatement, ThrowStmt, TryCatchStmt, Type, WrappedNodeExpr, WriteKeyExpr, WritePropExpr, WriteVarExpr, StmtModifier, Statement, STRING_TYPE, TypeofExpr, collectExternalReferences, EmitterVisitorContext, JitEvaluator, ViewCompiler, findStaticQueryIds, staticViewQueryIds, getParseErrors, isSyntaxError, syntaxError, Version, TmplAstBoundAttribute, TmplAstBoundEvent, TmplAstBoundText, TmplAstContent, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate, TmplAstText, TmplAstTextAttribute, TmplAstVariable, R3Identifiers, R3ResolvedDependencyType, compileInjector, compileNgModule, compilePipeFromMetadata, makeBindingParser, parseTemplate, compileBaseDefFromMetadata, compileComponentFromMetadata, compileDirectiveFromMetadata, parseHostBindings, verifyHostBindings, publishFacade, VERSION, TextAst, BoundTextAst, AttrAst, BoundElementPropertyAst, BoundEventAst, ReferenceAst, VariableAst, ElementAst, EmbeddedTemplateAst, BoundDirectivePropertyAst, DirectiveAst, ProviderAst, ProviderAstType, NgContentAst, NullTemplateVisitor, RecursiveTemplateAstVisitor, templateVisitAll, sanitizeIdentifier, identifierName, identifierModuleUrl, viewClassName, rendererTypeName, hostViewClassName, componentFactoryName, CompileSummaryKind, tokenName, tokenReference, CompileStylesheetMetadata, CompileTemplateMetadata, CompileDirectiveMetadata, CompilePipeMetadata, CompileShallowModuleMetadata, CompileNgModuleMetadata, TransitiveCompileNgModuleMetadata, ProviderMeta, flatten, templateSourceUrl, sharedStylesheetJitUrl, ngModuleJitUrl, templateJitUrl, createAotUrlResolver, createAotCompiler, AotCompiler, analyzeNgModules, analyzeAndValidateNgModules, analyzeFile, analyzeFileForInjectables, mergeAnalyzedFiles, GeneratedFile, toTypeScript, formattedError, isFormattedError, StaticReflector, StaticSymbol, StaticSymbolCache, ResolvedStaticSymbol, StaticSymbolResolver, unescapeIdentifier, unwrapResolvedMetadata, AotSummaryResolver, AstPath, SummaryResolver, JitSummaryResolver, CompileReflector, createUrlResolverWithoutPackagePrefix, createOfflineCompileUrlResolver, UrlResolver, getUrlScheme, ResourceLoader, ElementSchemaRegistry, Extractor, I18NHtmlParser, MessageBundle, Serializer, Xliff, Xliff2, Xmb, Xtb, DirectiveNormalizer, ParserError, ParseSpan, AST, Quote, EmptyExpr, ImplicitReceiver, Chain, Conditional, PropertyRead, PropertyWrite, SafePropertyRead, KeyedRead, KeyedWrite, BindingPipe, LiteralPrimitive, LiteralArray, LiteralMap, Interpolation, Binary, PrefixNot, NonNullAssert, MethodCall, SafeMethodCall, FunctionCall, AbsoluteSourceSpan, ASTWithSource, TemplateBinding, NullAstVisitor, RecursiveAstVisitor, AstTransformer, AstMemoryEfficientTransformer, visitAstChildren, ParsedProperty, ParsedPropertyType, ParsedEvent, ParsedVariable, BoundElementProperty, TokenType, Lexer, Token, EOF, isIdentifier, isQuote, SplitInterpolation, TemplateBindingParseResult, Parser, _ParseAST, ERROR_COMPONENT_TYPE, CompileMetadataResolver, Text, Expansion, ExpansionCase, Attribute, Element, Comment, visitAll, RecursiveVisitor, findNode, HtmlParser, ParseTreeResult, TreeError, HtmlTagDefinition, getHtmlTagDefinition, TagContentType, splitNsName, isNgContainer, isNgContent, isNgTemplate, getNsPrefix, mergeNsAndName, NAMED_ENTITIES, NGSP_UNICODE, debugOutputAstAsTypeScript, TypeScriptEmitter, ParseLocation, ParseSourceFile, ParseSourceSpan, EMPTY_PARSE_LOCATION, EMPTY_SOURCE_SPAN, ParseErrorLevel, ParseError, typeSourceSpan, r3JitTypeSourceSpan, DomElementSchemaRegistry, CssSelector, SelectorMatcher, SelectorListContext, SelectorContext, HOST_ATTR, CONTENT_ATTR, StylesCompileDependency, CompiledStylesheet, StyleCompiler, TemplateParseError, TemplateParseResult, TemplateParser, splitClasses, createElementCssSelector, removeSummaryDuplicates, isEmptyExpression, compileInjectable, R3TargetBinder, R3BoundTarget */\n\n  /***/\n  function node_modulesAngularCompilerFesm2015CompilerJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    var _BoundPropertyMapping;\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"core\", function () {\n      return core;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CompilerConfig\", function () {\n      return CompilerConfig;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"preserveWhitespacesDefault\", function () {\n      return preserveWhitespacesDefault;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"isLoweredSymbol\", function () {\n      return isLoweredSymbol;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"createLoweredSymbol\", function () {\n      return createLoweredSymbol;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Identifiers\", function () {\n      return Identifiers;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"JitCompiler\", function () {\n      return JitCompiler;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ConstantPool\", function () {\n      return ConstantPool;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DirectiveResolver\", function () {\n      return DirectiveResolver;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"PipeResolver\", function () {\n      return PipeResolver;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NgModuleResolver\", function () {\n      return NgModuleResolver;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DEFAULT_INTERPOLATION_CONFIG\", function () {\n      return DEFAULT_INTERPOLATION_CONFIG;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"InterpolationConfig\", function () {\n      return InterpolationConfig;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NgModuleCompiler\", function () {\n      return NgModuleCompiler;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ArrayType\", function () {\n      return ArrayType;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"AssertNotNull\", function () {\n      return AssertNotNull;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DYNAMIC_TYPE\", function () {\n      return DYNAMIC_TYPE;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"BinaryOperator\", function () {\n      return BinaryOperator;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"BinaryOperatorExpr\", function () {\n      return BinaryOperatorExpr;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"BuiltinMethod\", function () {\n      return BuiltinMethod;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"BuiltinType\", function () {\n      return BuiltinType;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"BuiltinTypeName\", function () {\n      return BuiltinTypeName;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"BuiltinVar\", function () {\n      return BuiltinVar;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CastExpr\", function () {\n      return CastExpr;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ClassField\", function () {\n      return ClassField;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ClassMethod\", function () {\n      return ClassMethod;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ClassStmt\", function () {\n      return ClassStmt;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CommaExpr\", function () {\n      return CommaExpr;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CommentStmt\", function () {\n      return CommentStmt;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ConditionalExpr\", function () {\n      return ConditionalExpr;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DeclareFunctionStmt\", function () {\n      return DeclareFunctionStmt;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DeclareVarStmt\", function () {\n      return DeclareVarStmt;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Expression\", function () {\n      return Expression;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ExpressionStatement\", function () {\n      return ExpressionStatement;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ExpressionType\", function () {\n      return ExpressionType;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ExternalExpr\", function () {\n      return ExternalExpr;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ExternalReference\", function () {\n      return ExternalReference;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"literalMap\", function () {\n      return literalMap;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FunctionExpr\", function () {\n      return FunctionExpr;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"IfStmt\", function () {\n      return IfStmt;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"InstantiateExpr\", function () {\n      return InstantiateExpr;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"InvokeFunctionExpr\", function () {\n      return InvokeFunctionExpr;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"InvokeMethodExpr\", function () {\n      return InvokeMethodExpr;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"JSDocCommentStmt\", function () {\n      return JSDocCommentStmt;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"LiteralArrayExpr\", function () {\n      return LiteralArrayExpr;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"LiteralExpr\", function () {\n      return LiteralExpr;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"LiteralMapExpr\", function () {\n      return LiteralMapExpr;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MapType\", function () {\n      return MapType;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NotExpr\", function () {\n      return NotExpr;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ReadKeyExpr\", function () {\n      return ReadKeyExpr;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ReadPropExpr\", function () {\n      return ReadPropExpr;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ReadVarExpr\", function () {\n      return ReadVarExpr;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ReturnStatement\", function () {\n      return ReturnStatement;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ThrowStmt\", function () {\n      return ThrowStmt;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TryCatchStmt\", function () {\n      return TryCatchStmt;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Type\", function () {\n      return Type$1;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"WrappedNodeExpr\", function () {\n      return WrappedNodeExpr;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"WriteKeyExpr\", function () {\n      return WriteKeyExpr;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"WritePropExpr\", function () {\n      return WritePropExpr;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"WriteVarExpr\", function () {\n      return WriteVarExpr;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"StmtModifier\", function () {\n      return StmtModifier;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Statement\", function () {\n      return Statement;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"STRING_TYPE\", function () {\n      return STRING_TYPE;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TypeofExpr\", function () {\n      return TypeofExpr;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"collectExternalReferences\", function () {\n      return collectExternalReferences;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"EmitterVisitorContext\", function () {\n      return EmitterVisitorContext;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"JitEvaluator\", function () {\n      return JitEvaluator;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ViewCompiler\", function () {\n      return ViewCompiler;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"findStaticQueryIds\", function () {\n      return findStaticQueryIds;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"staticViewQueryIds\", function () {\n      return staticViewQueryIds;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"getParseErrors\", function () {\n      return getParseErrors;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"isSyntaxError\", function () {\n      return isSyntaxError;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"syntaxError\", function () {\n      return syntaxError;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Version\", function () {\n      return Version;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TmplAstBoundAttribute\", function () {\n      return BoundAttribute;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TmplAstBoundEvent\", function () {\n      return BoundEvent;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TmplAstBoundText\", function () {\n      return BoundText;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TmplAstContent\", function () {\n      return Content;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TmplAstElement\", function () {\n      return Element;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TmplAstRecursiveVisitor\", function () {\n      return RecursiveVisitor;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TmplAstReference\", function () {\n      return Reference;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TmplAstTemplate\", function () {\n      return Template;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TmplAstText\", function () {\n      return Text;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TmplAstTextAttribute\", function () {\n      return TextAttribute;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TmplAstVariable\", function () {\n      return Variable;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"R3Identifiers\", function () {\n      return Identifiers$1;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"R3ResolvedDependencyType\", function () {\n      return R3ResolvedDependencyType;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"compileInjector\", function () {\n      return _compileInjector;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"compileNgModule\", function () {\n      return _compileNgModule;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"compilePipeFromMetadata\", function () {\n      return compilePipeFromMetadata;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"makeBindingParser\", function () {\n      return makeBindingParser;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"parseTemplate\", function () {\n      return parseTemplate;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"compileBaseDefFromMetadata\", function () {\n      return compileBaseDefFromMetadata;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"compileComponentFromMetadata\", function () {\n      return compileComponentFromMetadata;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"compileDirectiveFromMetadata\", function () {\n      return compileDirectiveFromMetadata;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"parseHostBindings\", function () {\n      return parseHostBindings;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"verifyHostBindings\", function () {\n      return verifyHostBindings;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"publishFacade\", function () {\n      return publishFacade;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"VERSION\", function () {\n      return VERSION$1;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TextAst\", function () {\n      return TextAst;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"BoundTextAst\", function () {\n      return BoundTextAst;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"AttrAst\", function () {\n      return AttrAst;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"BoundElementPropertyAst\", function () {\n      return BoundElementPropertyAst;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"BoundEventAst\", function () {\n      return BoundEventAst;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ReferenceAst\", function () {\n      return ReferenceAst;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"VariableAst\", function () {\n      return VariableAst;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ElementAst\", function () {\n      return ElementAst;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"EmbeddedTemplateAst\", function () {\n      return EmbeddedTemplateAst;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"BoundDirectivePropertyAst\", function () {\n      return BoundDirectivePropertyAst;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DirectiveAst\", function () {\n      return DirectiveAst;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ProviderAst\", function () {\n      return ProviderAst;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ProviderAstType\", function () {\n      return ProviderAstType;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NgContentAst\", function () {\n      return NgContentAst;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NullTemplateVisitor\", function () {\n      return NullTemplateVisitor;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"RecursiveTemplateAstVisitor\", function () {\n      return RecursiveTemplateAstVisitor;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"templateVisitAll\", function () {\n      return templateVisitAll;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"sanitizeIdentifier\", function () {\n      return sanitizeIdentifier;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"identifierName\", function () {\n      return identifierName;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"identifierModuleUrl\", function () {\n      return identifierModuleUrl;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"viewClassName\", function () {\n      return viewClassName;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"rendererTypeName\", function () {\n      return rendererTypeName;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"hostViewClassName\", function () {\n      return hostViewClassName;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"componentFactoryName\", function () {\n      return componentFactoryName;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CompileSummaryKind\", function () {\n      return CompileSummaryKind;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"tokenName\", function () {\n      return tokenName;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"tokenReference\", function () {\n      return tokenReference;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CompileStylesheetMetadata\", function () {\n      return CompileStylesheetMetadata;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CompileTemplateMetadata\", function () {\n      return CompileTemplateMetadata;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CompileDirectiveMetadata\", function () {\n      return CompileDirectiveMetadata;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CompilePipeMetadata\", function () {\n      return CompilePipeMetadata;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CompileShallowModuleMetadata\", function () {\n      return CompileShallowModuleMetadata;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CompileNgModuleMetadata\", function () {\n      return CompileNgModuleMetadata;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TransitiveCompileNgModuleMetadata\", function () {\n      return TransitiveCompileNgModuleMetadata;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ProviderMeta\", function () {\n      return ProviderMeta;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"flatten\", function () {\n      return flatten;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"templateSourceUrl\", function () {\n      return templateSourceUrl;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"sharedStylesheetJitUrl\", function () {\n      return sharedStylesheetJitUrl;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ngModuleJitUrl\", function () {\n      return ngModuleJitUrl;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"templateJitUrl\", function () {\n      return templateJitUrl;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"createAotUrlResolver\", function () {\n      return createAotUrlResolver;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"createAotCompiler\", function () {\n      return createAotCompiler;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"AotCompiler\", function () {\n      return AotCompiler;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"analyzeNgModules\", function () {\n      return analyzeNgModules;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"analyzeAndValidateNgModules\", function () {\n      return analyzeAndValidateNgModules;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"analyzeFile\", function () {\n      return analyzeFile;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"analyzeFileForInjectables\", function () {\n      return analyzeFileForInjectables;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"mergeAnalyzedFiles\", function () {\n      return mergeAnalyzedFiles;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"GeneratedFile\", function () {\n      return GeneratedFile;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"toTypeScript\", function () {\n      return toTypeScript;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"formattedError\", function () {\n      return formattedError;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"isFormattedError\", function () {\n      return isFormattedError;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"StaticReflector\", function () {\n      return StaticReflector;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"StaticSymbol\", function () {\n      return StaticSymbol;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"StaticSymbolCache\", function () {\n      return StaticSymbolCache;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ResolvedStaticSymbol\", function () {\n      return ResolvedStaticSymbol;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"StaticSymbolResolver\", function () {\n      return StaticSymbolResolver;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"unescapeIdentifier\", function () {\n      return unescapeIdentifier;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"unwrapResolvedMetadata\", function () {\n      return unwrapResolvedMetadata;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"AotSummaryResolver\", function () {\n      return AotSummaryResolver;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"AstPath\", function () {\n      return AstPath;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"SummaryResolver\", function () {\n      return SummaryResolver;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"JitSummaryResolver\", function () {\n      return JitSummaryResolver;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CompileReflector\", function () {\n      return CompileReflector;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"createUrlResolverWithoutPackagePrefix\", function () {\n      return createUrlResolverWithoutPackagePrefix;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"createOfflineCompileUrlResolver\", function () {\n      return createOfflineCompileUrlResolver;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"UrlResolver\", function () {\n      return UrlResolver;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"getUrlScheme\", function () {\n      return getUrlScheme;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ResourceLoader\", function () {\n      return ResourceLoader;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ElementSchemaRegistry\", function () {\n      return ElementSchemaRegistry;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Extractor\", function () {\n      return Extractor;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"I18NHtmlParser\", function () {\n      return I18NHtmlParser;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MessageBundle\", function () {\n      return MessageBundle;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Serializer\", function () {\n      return Serializer;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Xliff\", function () {\n      return Xliff;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Xliff2\", function () {\n      return Xliff2;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Xmb\", function () {\n      return Xmb;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Xtb\", function () {\n      return Xtb;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DirectiveNormalizer\", function () {\n      return DirectiveNormalizer;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ParserError\", function () {\n      return ParserError;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ParseSpan\", function () {\n      return ParseSpan;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"AST\", function () {\n      return AST;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Quote\", function () {\n      return Quote;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"EmptyExpr\", function () {\n      return EmptyExpr;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ImplicitReceiver\", function () {\n      return ImplicitReceiver;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Chain\", function () {\n      return Chain;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Conditional\", function () {\n      return Conditional;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"PropertyRead\", function () {\n      return PropertyRead;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"PropertyWrite\", function () {\n      return PropertyWrite;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"SafePropertyRead\", function () {\n      return SafePropertyRead;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"KeyedRead\", function () {\n      return KeyedRead;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"KeyedWrite\", function () {\n      return KeyedWrite;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"BindingPipe\", function () {\n      return BindingPipe;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"LiteralPrimitive\", function () {\n      return LiteralPrimitive;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"LiteralArray\", function () {\n      return LiteralArray;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"LiteralMap\", function () {\n      return LiteralMap;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Interpolation\", function () {\n      return Interpolation;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Binary\", function () {\n      return Binary;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"PrefixNot\", function () {\n      return PrefixNot;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NonNullAssert\", function () {\n      return NonNullAssert;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MethodCall\", function () {\n      return MethodCall;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"SafeMethodCall\", function () {\n      return SafeMethodCall;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FunctionCall\", function () {\n      return FunctionCall;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"AbsoluteSourceSpan\", function () {\n      return AbsoluteSourceSpan;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ASTWithSource\", function () {\n      return ASTWithSource;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TemplateBinding\", function () {\n      return TemplateBinding;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NullAstVisitor\", function () {\n      return NullAstVisitor;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"RecursiveAstVisitor\", function () {\n      return RecursiveAstVisitor$1;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"AstTransformer\", function () {\n      return AstTransformer$1;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"AstMemoryEfficientTransformer\", function () {\n      return AstMemoryEfficientTransformer;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"visitAstChildren\", function () {\n      return visitAstChildren;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ParsedProperty\", function () {\n      return ParsedProperty;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ParsedPropertyType\", function () {\n      return ParsedPropertyType;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ParsedEvent\", function () {\n      return ParsedEvent;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ParsedVariable\", function () {\n      return ParsedVariable;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"BoundElementProperty\", function () {\n      return BoundElementProperty;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TokenType\", function () {\n      return TokenType$1;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Lexer\", function () {\n      return Lexer;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Token\", function () {\n      return Token$1;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"EOF\", function () {\n      return EOF;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"isIdentifier\", function () {\n      return isIdentifier;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"isQuote\", function () {\n      return isQuote;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"SplitInterpolation\", function () {\n      return SplitInterpolation;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TemplateBindingParseResult\", function () {\n      return TemplateBindingParseResult;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Parser\", function () {\n      return Parser$1;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"_ParseAST\", function () {\n      return _ParseAST;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ERROR_COMPONENT_TYPE\", function () {\n      return ERROR_COMPONENT_TYPE;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CompileMetadataResolver\", function () {\n      return CompileMetadataResolver;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Text\", function () {\n      return Text$3;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Expansion\", function () {\n      return Expansion;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ExpansionCase\", function () {\n      return ExpansionCase;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Attribute\", function () {\n      return Attribute;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Element\", function () {\n      return Element$1;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Comment\", function () {\n      return Comment;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"visitAll\", function () {\n      return visitAll$1;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"RecursiveVisitor\", function () {\n      return RecursiveVisitor$1;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"findNode\", function () {\n      return findNode;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"HtmlParser\", function () {\n      return HtmlParser;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ParseTreeResult\", function () {\n      return ParseTreeResult;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TreeError\", function () {\n      return TreeError;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"HtmlTagDefinition\", function () {\n      return HtmlTagDefinition;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"getHtmlTagDefinition\", function () {\n      return getHtmlTagDefinition;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TagContentType\", function () {\n      return TagContentType;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"splitNsName\", function () {\n      return splitNsName;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"isNgContainer\", function () {\n      return isNgContainer;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"isNgContent\", function () {\n      return isNgContent;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"isNgTemplate\", function () {\n      return isNgTemplate;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"getNsPrefix\", function () {\n      return getNsPrefix;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"mergeNsAndName\", function () {\n      return mergeNsAndName;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NAMED_ENTITIES\", function () {\n      return NAMED_ENTITIES;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NGSP_UNICODE\", function () {\n      return NGSP_UNICODE;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"debugOutputAstAsTypeScript\", function () {\n      return debugOutputAstAsTypeScript;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TypeScriptEmitter\", function () {\n      return TypeScriptEmitter;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ParseLocation\", function () {\n      return ParseLocation;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ParseSourceFile\", function () {\n      return ParseSourceFile;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ParseSourceSpan\", function () {\n      return ParseSourceSpan;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"EMPTY_PARSE_LOCATION\", function () {\n      return EMPTY_PARSE_LOCATION;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"EMPTY_SOURCE_SPAN\", function () {\n      return EMPTY_SOURCE_SPAN;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ParseErrorLevel\", function () {\n      return ParseErrorLevel;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ParseError\", function () {\n      return ParseError;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"typeSourceSpan\", function () {\n      return typeSourceSpan;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"r3JitTypeSourceSpan\", function () {\n      return r3JitTypeSourceSpan;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DomElementSchemaRegistry\", function () {\n      return DomElementSchemaRegistry;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CssSelector\", function () {\n      return CssSelector;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"SelectorMatcher\", function () {\n      return SelectorMatcher;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"SelectorListContext\", function () {\n      return SelectorListContext;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"SelectorContext\", function () {\n      return SelectorContext;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"HOST_ATTR\", function () {\n      return HOST_ATTR;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CONTENT_ATTR\", function () {\n      return CONTENT_ATTR;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"StylesCompileDependency\", function () {\n      return StylesCompileDependency;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CompiledStylesheet\", function () {\n      return CompiledStylesheet;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"StyleCompiler\", function () {\n      return StyleCompiler;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TemplateParseError\", function () {\n      return TemplateParseError;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TemplateParseResult\", function () {\n      return TemplateParseResult;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TemplateParser\", function () {\n      return TemplateParser;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"splitClasses\", function () {\n      return splitClasses;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"createElementCssSelector\", function () {\n      return createElementCssSelector;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"removeSummaryDuplicates\", function () {\n      return removeSummaryDuplicates;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"isEmptyExpression\", function () {\n      return isEmptyExpression;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"compileInjectable\", function () {\n      return _compileInjectable;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"R3TargetBinder\", function () {\n      return R3TargetBinder;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"R3BoundTarget\", function () {\n      return R3BoundTarget;\n    });\n    /**\n     * @license Angular v8.2.14\n     * (c) 2010-2019 Google LLC. https://angular.io/\n     * License: MIT\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var TagContentType;\n\n    (function (TagContentType) {\n      TagContentType[TagContentType[\"RAW_TEXT\"] = 0] = \"RAW_TEXT\";\n      TagContentType[TagContentType[\"ESCAPABLE_RAW_TEXT\"] = 1] = \"ESCAPABLE_RAW_TEXT\";\n      TagContentType[TagContentType[\"PARSABLE_DATA\"] = 2] = \"PARSABLE_DATA\";\n    })(TagContentType || (TagContentType = {}));\n\n    function splitNsName(elementName) {\n      if (elementName[0] != ':') {\n        return [null, elementName];\n      }\n\n      var colonIndex = elementName.indexOf(':', 1);\n\n      if (colonIndex == -1) {\n        throw new Error(\"Unsupported format \\\"\".concat(elementName, \"\\\" expecting \\\":namespace:name\\\"\"));\n      }\n\n      return [elementName.slice(1, colonIndex), elementName.slice(colonIndex + 1)];\n    } // `<ng-container>` tags work the same regardless the namespace\n\n\n    function isNgContainer(tagName) {\n      return splitNsName(tagName)[1] === 'ng-container';\n    } // `<ng-content>` tags work the same regardless the namespace\n\n\n    function isNgContent(tagName) {\n      return splitNsName(tagName)[1] === 'ng-content';\n    } // `<ng-template>` tags work the same regardless the namespace\n\n\n    function isNgTemplate(tagName) {\n      return splitNsName(tagName)[1] === 'ng-template';\n    }\n\n    function getNsPrefix(fullName) {\n      return fullName === null ? null : splitNsName(fullName)[0];\n    }\n\n    function mergeNsAndName(prefix, localName) {\n      return prefix ? \":\".concat(prefix, \":\").concat(localName) : localName;\n    } // see http://www.w3.org/TR/html51/syntax.html#named-character-references\n    // see https://html.spec.whatwg.org/multipage/entities.json\n    // This list is not exhaustive to keep the compiler footprint low.\n    // The `&#123;` / `&#x1ab;` syntax should be used when the named character reference does not\n    // exist.\n\n\n    var NAMED_ENTITIES = {\n      'Aacute': \"\\xC1\",\n      'aacute': \"\\xE1\",\n      'Acirc': \"\\xC2\",\n      'acirc': \"\\xE2\",\n      'acute': \"\\xB4\",\n      'AElig': \"\\xC6\",\n      'aelig': \"\\xE6\",\n      'Agrave': \"\\xC0\",\n      'agrave': \"\\xE0\",\n      'alefsym': \"\\u2135\",\n      'Alpha': \"\\u0391\",\n      'alpha': \"\\u03B1\",\n      'amp': '&',\n      'and': \"\\u2227\",\n      'ang': \"\\u2220\",\n      'apos': \"'\",\n      'Aring': \"\\xC5\",\n      'aring': \"\\xE5\",\n      'asymp': \"\\u2248\",\n      'Atilde': \"\\xC3\",\n      'atilde': \"\\xE3\",\n      'Auml': \"\\xC4\",\n      'auml': \"\\xE4\",\n      'bdquo': \"\\u201E\",\n      'Beta': \"\\u0392\",\n      'beta': \"\\u03B2\",\n      'brvbar': \"\\xA6\",\n      'bull': \"\\u2022\",\n      'cap': \"\\u2229\",\n      'Ccedil': \"\\xC7\",\n      'ccedil': \"\\xE7\",\n      'cedil': \"\\xB8\",\n      'cent': \"\\xA2\",\n      'Chi': \"\\u03A7\",\n      'chi': \"\\u03C7\",\n      'circ': \"\\u02C6\",\n      'clubs': \"\\u2663\",\n      'cong': \"\\u2245\",\n      'copy': \"\\xA9\",\n      'crarr': \"\\u21B5\",\n      'cup': \"\\u222A\",\n      'curren': \"\\xA4\",\n      'dagger': \"\\u2020\",\n      'Dagger': \"\\u2021\",\n      'darr': \"\\u2193\",\n      'dArr': \"\\u21D3\",\n      'deg': \"\\xB0\",\n      'Delta': \"\\u0394\",\n      'delta': \"\\u03B4\",\n      'diams': \"\\u2666\",\n      'divide': \"\\xF7\",\n      'Eacute': \"\\xC9\",\n      'eacute': \"\\xE9\",\n      'Ecirc': \"\\xCA\",\n      'ecirc': \"\\xEA\",\n      'Egrave': \"\\xC8\",\n      'egrave': \"\\xE8\",\n      'empty': \"\\u2205\",\n      'emsp': \"\\u2003\",\n      'ensp': \"\\u2002\",\n      'Epsilon': \"\\u0395\",\n      'epsilon': \"\\u03B5\",\n      'equiv': \"\\u2261\",\n      'Eta': \"\\u0397\",\n      'eta': \"\\u03B7\",\n      'ETH': \"\\xD0\",\n      'eth': \"\\xF0\",\n      'Euml': \"\\xCB\",\n      'euml': \"\\xEB\",\n      'euro': \"\\u20AC\",\n      'exist': \"\\u2203\",\n      'fnof': \"\\u0192\",\n      'forall': \"\\u2200\",\n      'frac12': \"\\xBD\",\n      'frac14': \"\\xBC\",\n      'frac34': \"\\xBE\",\n      'frasl': \"\\u2044\",\n      'Gamma': \"\\u0393\",\n      'gamma': \"\\u03B3\",\n      'ge': \"\\u2265\",\n      'gt': '>',\n      'harr': \"\\u2194\",\n      'hArr': \"\\u21D4\",\n      'hearts': \"\\u2665\",\n      'hellip': \"\\u2026\",\n      'Iacute': \"\\xCD\",\n      'iacute': \"\\xED\",\n      'Icirc': \"\\xCE\",\n      'icirc': \"\\xEE\",\n      'iexcl': \"\\xA1\",\n      'Igrave': \"\\xCC\",\n      'igrave': \"\\xEC\",\n      'image': \"\\u2111\",\n      'infin': \"\\u221E\",\n      'int': \"\\u222B\",\n      'Iota': \"\\u0399\",\n      'iota': \"\\u03B9\",\n      'iquest': \"\\xBF\",\n      'isin': \"\\u2208\",\n      'Iuml': \"\\xCF\",\n      'iuml': \"\\xEF\",\n      'Kappa': \"\\u039A\",\n      'kappa': \"\\u03BA\",\n      'Lambda': \"\\u039B\",\n      'lambda': \"\\u03BB\",\n      'lang': \"\\u27E8\",\n      'laquo': \"\\xAB\",\n      'larr': \"\\u2190\",\n      'lArr': \"\\u21D0\",\n      'lceil': \"\\u2308\",\n      'ldquo': \"\\u201C\",\n      'le': \"\\u2264\",\n      'lfloor': \"\\u230A\",\n      'lowast': \"\\u2217\",\n      'loz': \"\\u25CA\",\n      'lrm': \"\\u200E\",\n      'lsaquo': \"\\u2039\",\n      'lsquo': \"\\u2018\",\n      'lt': '<',\n      'macr': \"\\xAF\",\n      'mdash': \"\\u2014\",\n      'micro': \"\\xB5\",\n      'middot': \"\\xB7\",\n      'minus': \"\\u2212\",\n      'Mu': \"\\u039C\",\n      'mu': \"\\u03BC\",\n      'nabla': \"\\u2207\",\n      'nbsp': \"\\xA0\",\n      'ndash': \"\\u2013\",\n      'ne': \"\\u2260\",\n      'ni': \"\\u220B\",\n      'not': \"\\xAC\",\n      'notin': \"\\u2209\",\n      'nsub': \"\\u2284\",\n      'Ntilde': \"\\xD1\",\n      'ntilde': \"\\xF1\",\n      'Nu': \"\\u039D\",\n      'nu': \"\\u03BD\",\n      'Oacute': \"\\xD3\",\n      'oacute': \"\\xF3\",\n      'Ocirc': \"\\xD4\",\n      'ocirc': \"\\xF4\",\n      'OElig': \"\\u0152\",\n      'oelig': \"\\u0153\",\n      'Ograve': \"\\xD2\",\n      'ograve': \"\\xF2\",\n      'oline': \"\\u203E\",\n      'Omega': \"\\u03A9\",\n      'omega': \"\\u03C9\",\n      'Omicron': \"\\u039F\",\n      'omicron': \"\\u03BF\",\n      'oplus': \"\\u2295\",\n      'or': \"\\u2228\",\n      'ordf': \"\\xAA\",\n      'ordm': \"\\xBA\",\n      'Oslash': \"\\xD8\",\n      'oslash': \"\\xF8\",\n      'Otilde': \"\\xD5\",\n      'otilde': \"\\xF5\",\n      'otimes': \"\\u2297\",\n      'Ouml': \"\\xD6\",\n      'ouml': \"\\xF6\",\n      'para': \"\\xB6\",\n      'permil': \"\\u2030\",\n      'perp': \"\\u22A5\",\n      'Phi': \"\\u03A6\",\n      'phi': \"\\u03C6\",\n      'Pi': \"\\u03A0\",\n      'pi': \"\\u03C0\",\n      'piv': \"\\u03D6\",\n      'plusmn': \"\\xB1\",\n      'pound': \"\\xA3\",\n      'prime': \"\\u2032\",\n      'Prime': \"\\u2033\",\n      'prod': \"\\u220F\",\n      'prop': \"\\u221D\",\n      'Psi': \"\\u03A8\",\n      'psi': \"\\u03C8\",\n      'quot': \"\\\"\",\n      'radic': \"\\u221A\",\n      'rang': \"\\u27E9\",\n      'raquo': \"\\xBB\",\n      'rarr': \"\\u2192\",\n      'rArr': \"\\u21D2\",\n      'rceil': \"\\u2309\",\n      'rdquo': \"\\u201D\",\n      'real': \"\\u211C\",\n      'reg': \"\\xAE\",\n      'rfloor': \"\\u230B\",\n      'Rho': \"\\u03A1\",\n      'rho': \"\\u03C1\",\n      'rlm': \"\\u200F\",\n      'rsaquo': \"\\u203A\",\n      'rsquo': \"\\u2019\",\n      'sbquo': \"\\u201A\",\n      'Scaron': \"\\u0160\",\n      'scaron': \"\\u0161\",\n      'sdot': \"\\u22C5\",\n      'sect': \"\\xA7\",\n      'shy': \"\\xAD\",\n      'Sigma': \"\\u03A3\",\n      'sigma': \"\\u03C3\",\n      'sigmaf': \"\\u03C2\",\n      'sim': \"\\u223C\",\n      'spades': \"\\u2660\",\n      'sub': \"\\u2282\",\n      'sube': \"\\u2286\",\n      'sum': \"\\u2211\",\n      'sup': \"\\u2283\",\n      'sup1': \"\\xB9\",\n      'sup2': \"\\xB2\",\n      'sup3': \"\\xB3\",\n      'supe': \"\\u2287\",\n      'szlig': \"\\xDF\",\n      'Tau': \"\\u03A4\",\n      'tau': \"\\u03C4\",\n      'there4': \"\\u2234\",\n      'Theta': \"\\u0398\",\n      'theta': \"\\u03B8\",\n      'thetasym': \"\\u03D1\",\n      'thinsp': \"\\u2009\",\n      'THORN': \"\\xDE\",\n      'thorn': \"\\xFE\",\n      'tilde': \"\\u02DC\",\n      'times': \"\\xD7\",\n      'trade': \"\\u2122\",\n      'Uacute': \"\\xDA\",\n      'uacute': \"\\xFA\",\n      'uarr': \"\\u2191\",\n      'uArr': \"\\u21D1\",\n      'Ucirc': \"\\xDB\",\n      'ucirc': \"\\xFB\",\n      'Ugrave': \"\\xD9\",\n      'ugrave': \"\\xF9\",\n      'uml': \"\\xA8\",\n      'upsih': \"\\u03D2\",\n      'Upsilon': \"\\u03A5\",\n      'upsilon': \"\\u03C5\",\n      'Uuml': \"\\xDC\",\n      'uuml': \"\\xFC\",\n      'weierp': \"\\u2118\",\n      'Xi': \"\\u039E\",\n      'xi': \"\\u03BE\",\n      'Yacute': \"\\xDD\",\n      'yacute': \"\\xFD\",\n      'yen': \"\\xA5\",\n      'yuml': \"\\xFF\",\n      'Yuml': \"\\u0178\",\n      'Zeta': \"\\u0396\",\n      'zeta': \"\\u03B6\",\n      'zwj': \"\\u200D\",\n      'zwnj': \"\\u200C\"\n    }; // The &ngsp; pseudo-entity is denoting a space. see:\n    // https://github.com/dart-lang/angular/blob/0bb611387d29d65b5af7f9d2515ab571fd3fbee4/_tests/test/compiler/preserve_whitespace_test.dart\n\n    var NGSP_UNICODE = \"\\uE500\";\n    NAMED_ENTITIES['ngsp'] = NGSP_UNICODE;\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    var HtmlTagDefinition =\n    /*#__PURE__*/\n    function () {\n      function HtmlTagDefinition() {\n        var _this147 = this;\n\n        var _ref8 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n            closedByChildren = _ref8.closedByChildren,\n            implicitNamespacePrefix = _ref8.implicitNamespacePrefix,\n            _ref8$contentType = _ref8.contentType,\n            contentType = _ref8$contentType === void 0 ? TagContentType.PARSABLE_DATA : _ref8$contentType,\n            _ref8$closedByParent = _ref8.closedByParent,\n            closedByParent = _ref8$closedByParent === void 0 ? false : _ref8$closedByParent,\n            _ref8$isVoid = _ref8.isVoid,\n            isVoid = _ref8$isVoid === void 0 ? false : _ref8$isVoid,\n            _ref8$ignoreFirstLf = _ref8.ignoreFirstLf,\n            ignoreFirstLf = _ref8$ignoreFirstLf === void 0 ? false : _ref8$ignoreFirstLf;\n\n        _classCallCheck(this, HtmlTagDefinition);\n\n        this.closedByChildren = {};\n        this.closedByParent = false;\n        this.canSelfClose = false;\n\n        if (closedByChildren && closedByChildren.length > 0) {\n          closedByChildren.forEach(function (tagName) {\n            return _this147.closedByChildren[tagName] = true;\n          });\n        }\n\n        this.isVoid = isVoid;\n        this.closedByParent = closedByParent || isVoid;\n        this.implicitNamespacePrefix = implicitNamespacePrefix || null;\n        this.contentType = contentType;\n        this.ignoreFirstLf = ignoreFirstLf;\n      }\n\n      _createClass2(HtmlTagDefinition, [{\n        key: \"isClosedByChild\",\n        value: function isClosedByChild(name) {\n          return this.isVoid || name.toLowerCase() in this.closedByChildren;\n        }\n      }]);\n\n      return HtmlTagDefinition;\n    }();\n\n    var _DEFAULT_TAG_DEFINITION; // see http://www.w3.org/TR/html51/syntax.html#optional-tags\n    // This implementation does not fully conform to the HTML5 spec.\n\n\n    var TAG_DEFINITIONS;\n\n    function getHtmlTagDefinition(tagName) {\n      if (!TAG_DEFINITIONS) {\n        _DEFAULT_TAG_DEFINITION = new HtmlTagDefinition();\n        TAG_DEFINITIONS = {\n          'base': new HtmlTagDefinition({\n            isVoid: true\n          }),\n          'meta': new HtmlTagDefinition({\n            isVoid: true\n          }),\n          'area': new HtmlTagDefinition({\n            isVoid: true\n          }),\n          'embed': new HtmlTagDefinition({\n            isVoid: true\n          }),\n          'link': new HtmlTagDefinition({\n            isVoid: true\n          }),\n          'img': new HtmlTagDefinition({\n            isVoid: true\n          }),\n          'input': new HtmlTagDefinition({\n            isVoid: true\n          }),\n          'param': new HtmlTagDefinition({\n            isVoid: true\n          }),\n          'hr': new HtmlTagDefinition({\n            isVoid: true\n          }),\n          'br': new HtmlTagDefinition({\n            isVoid: true\n          }),\n          'source': new HtmlTagDefinition({\n            isVoid: true\n          }),\n          'track': new HtmlTagDefinition({\n            isVoid: true\n          }),\n          'wbr': new HtmlTagDefinition({\n            isVoid: true\n          }),\n          'p': new HtmlTagDefinition({\n            closedByChildren: ['address', 'article', 'aside', 'blockquote', 'div', 'dl', 'fieldset', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'header', 'hgroup', 'hr', 'main', 'nav', 'ol', 'p', 'pre', 'section', 'table', 'ul'],\n            closedByParent: true\n          }),\n          'thead': new HtmlTagDefinition({\n            closedByChildren: ['tbody', 'tfoot']\n          }),\n          'tbody': new HtmlTagDefinition({\n            closedByChildren: ['tbody', 'tfoot'],\n            closedByParent: true\n          }),\n          'tfoot': new HtmlTagDefinition({\n            closedByChildren: ['tbody'],\n            closedByParent: true\n          }),\n          'tr': new HtmlTagDefinition({\n            closedByChildren: ['tr'],\n            closedByParent: true\n          }),\n          'td': new HtmlTagDefinition({\n            closedByChildren: ['td', 'th'],\n            closedByParent: true\n          }),\n          'th': new HtmlTagDefinition({\n            closedByChildren: ['td', 'th'],\n            closedByParent: true\n          }),\n          'col': new HtmlTagDefinition({\n            isVoid: true\n          }),\n          'svg': new HtmlTagDefinition({\n            implicitNamespacePrefix: 'svg'\n          }),\n          'math': new HtmlTagDefinition({\n            implicitNamespacePrefix: 'math'\n          }),\n          'li': new HtmlTagDefinition({\n            closedByChildren: ['li'],\n            closedByParent: true\n          }),\n          'dt': new HtmlTagDefinition({\n            closedByChildren: ['dt', 'dd']\n          }),\n          'dd': new HtmlTagDefinition({\n            closedByChildren: ['dt', 'dd'],\n            closedByParent: true\n          }),\n          'rb': new HtmlTagDefinition({\n            closedByChildren: ['rb', 'rt', 'rtc', 'rp'],\n            closedByParent: true\n          }),\n          'rt': new HtmlTagDefinition({\n            closedByChildren: ['rb', 'rt', 'rtc', 'rp'],\n            closedByParent: true\n          }),\n          'rtc': new HtmlTagDefinition({\n            closedByChildren: ['rb', 'rtc', 'rp'],\n            closedByParent: true\n          }),\n          'rp': new HtmlTagDefinition({\n            closedByChildren: ['rb', 'rt', 'rtc', 'rp'],\n            closedByParent: true\n          }),\n          'optgroup': new HtmlTagDefinition({\n            closedByChildren: ['optgroup'],\n            closedByParent: true\n          }),\n          'option': new HtmlTagDefinition({\n            closedByChildren: ['option', 'optgroup'],\n            closedByParent: true\n          }),\n          'pre': new HtmlTagDefinition({\n            ignoreFirstLf: true\n          }),\n          'listing': new HtmlTagDefinition({\n            ignoreFirstLf: true\n          }),\n          'style': new HtmlTagDefinition({\n            contentType: TagContentType.RAW_TEXT\n          }),\n          'script': new HtmlTagDefinition({\n            contentType: TagContentType.RAW_TEXT\n          }),\n          'title': new HtmlTagDefinition({\n            contentType: TagContentType.ESCAPABLE_RAW_TEXT\n          }),\n          'textarea': new HtmlTagDefinition({\n            contentType: TagContentType.ESCAPABLE_RAW_TEXT,\n            ignoreFirstLf: true\n          })\n        };\n      }\n\n      return TAG_DEFINITIONS[tagName.toLowerCase()] || _DEFAULT_TAG_DEFINITION;\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var _SELECTOR_REGEXP = new RegExp('(\\\\:not\\\\()|' + //\":not(\"\n    '([-\\\\w]+)|' + // \"tag\"\n    '(?:\\\\.([-\\\\w]+))|' + // \".class\"\n    // \"-\" should appear first in the regexp below as FF31 parses \"[.-\\w]\" as a range\n    '(?:\\\\[([-.\\\\w*]+)(?:=([\\\"\\']?)([^\\\\]\\\"\\']*)\\\\5)?\\\\])|' + // \"[name]\", \"[name=value]\",\n    // \"[name=\"value\"]\",\n    // \"[name='value']\"\n    '(\\\\))|' + // \")\"\n    '(\\\\s*,\\\\s*)', // \",\"\n    'g');\n    /**\n     * A css selector contains an element name,\n     * css classes and attribute/value pairs with the purpose\n     * of selecting subsets out of them.\n     */\n\n\n    var CssSelector =\n    /*#__PURE__*/\n    function () {\n      function CssSelector() {\n        _classCallCheck(this, CssSelector);\n\n        this.element = null;\n        this.classNames = [];\n        /**\n         * The selectors are encoded in pairs where:\n         * - even locations are attribute names\n         * - odd locations are attribute values.\n         *\n         * Example:\n         * Selector: `[key1=value1][key2]` would parse to:\n         * ```\n         * ['key1', 'value1', 'key2', '']\n         * ```\n         */\n\n        this.attrs = [];\n        this.notSelectors = [];\n      }\n\n      _createClass2(CssSelector, [{\n        key: \"isElementSelector\",\n        value: function isElementSelector() {\n          return this.hasElementSelector() && this.classNames.length == 0 && this.attrs.length == 0 && this.notSelectors.length === 0;\n        }\n      }, {\n        key: \"hasElementSelector\",\n        value: function hasElementSelector() {\n          return !!this.element;\n        }\n      }, {\n        key: \"setElement\",\n        value: function setElement() {\n          var element = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n          this.element = element;\n        }\n        /** Gets a template string for an element that matches the selector. */\n\n      }, {\n        key: \"getMatchingElementTemplate\",\n        value: function getMatchingElementTemplate() {\n          var tagName = this.element || 'div';\n          var classAttr = this.classNames.length > 0 ? \" class=\\\"\".concat(this.classNames.join(' '), \"\\\"\") : '';\n          var attrs = '';\n\n          for (var i = 0; i < this.attrs.length; i += 2) {\n            var attrName = this.attrs[i];\n            var attrValue = this.attrs[i + 1] !== '' ? \"=\\\"\".concat(this.attrs[i + 1], \"\\\"\") : '';\n            attrs += \" \".concat(attrName).concat(attrValue);\n          }\n\n          return getHtmlTagDefinition(tagName).isVoid ? \"<\".concat(tagName).concat(classAttr).concat(attrs, \"/>\") : \"<\".concat(tagName).concat(classAttr).concat(attrs, \"></\").concat(tagName, \">\");\n        }\n      }, {\n        key: \"getAttrs\",\n        value: function getAttrs() {\n          var result = [];\n\n          if (this.classNames.length > 0) {\n            result.push('class', this.classNames.join(' '));\n          }\n\n          return result.concat(this.attrs);\n        }\n      }, {\n        key: \"addAttribute\",\n        value: function addAttribute(name) {\n          var value = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n          this.attrs.push(name, value && value.toLowerCase() || '');\n        }\n      }, {\n        key: \"addClassName\",\n        value: function addClassName(name) {\n          this.classNames.push(name.toLowerCase());\n        }\n      }, {\n        key: \"toString\",\n        value: function toString() {\n          var res = this.element || '';\n\n          if (this.classNames) {\n            this.classNames.forEach(function (klass) {\n              return res += \".\".concat(klass);\n            });\n          }\n\n          if (this.attrs) {\n            for (var i = 0; i < this.attrs.length; i += 2) {\n              var name = this.attrs[i];\n              var value = this.attrs[i + 1];\n              res += \"[\".concat(name).concat(value ? '=' + value : '', \"]\");\n            }\n          }\n\n          this.notSelectors.forEach(function (notSelector) {\n            return res += \":not(\".concat(notSelector, \")\");\n          });\n          return res;\n        }\n      }], [{\n        key: \"parse\",\n        value: function parse(selector) {\n          var results = [];\n\n          var _addResult = function _addResult(res, cssSel) {\n            if (cssSel.notSelectors.length > 0 && !cssSel.element && cssSel.classNames.length == 0 && cssSel.attrs.length == 0) {\n              cssSel.element = '*';\n            }\n\n            res.push(cssSel);\n          };\n\n          var cssSelector = new CssSelector();\n          var match;\n          var current = cssSelector;\n          var inNot = false;\n          _SELECTOR_REGEXP.lastIndex = 0;\n\n          while (match = _SELECTOR_REGEXP.exec(selector)) {\n            if (match[1]) {\n              if (inNot) {\n                throw new Error('Nesting :not is not allowed in a selector');\n              }\n\n              inNot = true;\n              current = new CssSelector();\n              cssSelector.notSelectors.push(current);\n            }\n\n            if (match[2]) {\n              current.setElement(match[2]);\n            }\n\n            if (match[3]) {\n              current.addClassName(match[3]);\n            }\n\n            if (match[4]) {\n              current.addAttribute(match[4], match[6]);\n            }\n\n            if (match[7]) {\n              inNot = false;\n              current = cssSelector;\n            }\n\n            if (match[8]) {\n              if (inNot) {\n                throw new Error('Multiple selectors in :not are not supported');\n              }\n\n              _addResult(results, cssSelector);\n\n              cssSelector = current = new CssSelector();\n            }\n          }\n\n          _addResult(results, cssSelector);\n\n          return results;\n        }\n      }]);\n\n      return CssSelector;\n    }();\n    /**\n     * Reads a list of CssSelectors and allows to calculate which ones\n     * are contained in a given CssSelector.\n     */\n\n\n    var SelectorMatcher =\n    /*#__PURE__*/\n    function () {\n      function SelectorMatcher() {\n        _classCallCheck(this, SelectorMatcher);\n\n        this._elementMap = new Map();\n        this._elementPartialMap = new Map();\n        this._classMap = new Map();\n        this._classPartialMap = new Map();\n        this._attrValueMap = new Map();\n        this._attrValuePartialMap = new Map();\n        this._listContexts = [];\n      }\n\n      _createClass2(SelectorMatcher, [{\n        key: \"addSelectables\",\n        value: function addSelectables(cssSelectors, callbackCtxt) {\n          var listContext = null;\n\n          if (cssSelectors.length > 1) {\n            listContext = new SelectorListContext(cssSelectors);\n\n            this._listContexts.push(listContext);\n          }\n\n          for (var i = 0; i < cssSelectors.length; i++) {\n            this._addSelectable(cssSelectors[i], callbackCtxt, listContext);\n          }\n        }\n        /**\n         * Add an object that can be found later on by calling `match`.\n         * @param cssSelector A css selector\n         * @param callbackCtxt An opaque object that will be given to the callback of the `match` function\n         */\n\n      }, {\n        key: \"_addSelectable\",\n        value: function _addSelectable(cssSelector, callbackCtxt, listContext) {\n          var matcher = this;\n          var element = cssSelector.element;\n          var classNames = cssSelector.classNames;\n          var attrs = cssSelector.attrs;\n          var selectable = new SelectorContext(cssSelector, callbackCtxt, listContext);\n\n          if (element) {\n            var isTerminal = attrs.length === 0 && classNames.length === 0;\n\n            if (isTerminal) {\n              this._addTerminal(matcher._elementMap, element, selectable);\n            } else {\n              matcher = this._addPartial(matcher._elementPartialMap, element);\n            }\n          }\n\n          if (classNames) {\n            for (var i = 0; i < classNames.length; i++) {\n              var _isTerminal = attrs.length === 0 && i === classNames.length - 1;\n\n              var className = classNames[i];\n\n              if (_isTerminal) {\n                this._addTerminal(matcher._classMap, className, selectable);\n              } else {\n                matcher = this._addPartial(matcher._classPartialMap, className);\n              }\n            }\n          }\n\n          if (attrs) {\n            for (var _i12 = 0; _i12 < attrs.length; _i12 += 2) {\n              var _isTerminal2 = _i12 === attrs.length - 2;\n\n              var name = attrs[_i12];\n              var value = attrs[_i12 + 1];\n\n              if (_isTerminal2) {\n                var terminalMap = matcher._attrValueMap;\n                var terminalValuesMap = terminalMap.get(name);\n\n                if (!terminalValuesMap) {\n                  terminalValuesMap = new Map();\n                  terminalMap.set(name, terminalValuesMap);\n                }\n\n                this._addTerminal(terminalValuesMap, value, selectable);\n              } else {\n                var partialMap = matcher._attrValuePartialMap;\n                var partialValuesMap = partialMap.get(name);\n\n                if (!partialValuesMap) {\n                  partialValuesMap = new Map();\n                  partialMap.set(name, partialValuesMap);\n                }\n\n                matcher = this._addPartial(partialValuesMap, value);\n              }\n            }\n          }\n        }\n      }, {\n        key: \"_addTerminal\",\n        value: function _addTerminal(map, name, selectable) {\n          var terminalList = map.get(name);\n\n          if (!terminalList) {\n            terminalList = [];\n            map.set(name, terminalList);\n          }\n\n          terminalList.push(selectable);\n        }\n      }, {\n        key: \"_addPartial\",\n        value: function _addPartial(map, name) {\n          var matcher = map.get(name);\n\n          if (!matcher) {\n            matcher = new SelectorMatcher();\n            map.set(name, matcher);\n          }\n\n          return matcher;\n        }\n        /**\n         * Find the objects that have been added via `addSelectable`\n         * whose css selector is contained in the given css selector.\n         * @param cssSelector A css selector\n         * @param matchedCallback This callback will be called with the object handed into `addSelectable`\n         * @return boolean true if a match was found\n        */\n\n      }, {\n        key: \"match\",\n        value: function match(cssSelector, matchedCallback) {\n          var result = false;\n          var element = cssSelector.element;\n          var classNames = cssSelector.classNames;\n          var attrs = cssSelector.attrs;\n\n          for (var i = 0; i < this._listContexts.length; i++) {\n            this._listContexts[i].alreadyMatched = false;\n          }\n\n          result = this._matchTerminal(this._elementMap, element, cssSelector, matchedCallback) || result;\n          result = this._matchPartial(this._elementPartialMap, element, cssSelector, matchedCallback) || result;\n\n          if (classNames) {\n            for (var _i13 = 0; _i13 < classNames.length; _i13++) {\n              var className = classNames[_i13];\n              result = this._matchTerminal(this._classMap, className, cssSelector, matchedCallback) || result;\n              result = this._matchPartial(this._classPartialMap, className, cssSelector, matchedCallback) || result;\n            }\n          }\n\n          if (attrs) {\n            for (var _i14 = 0; _i14 < attrs.length; _i14 += 2) {\n              var name = attrs[_i14];\n              var value = attrs[_i14 + 1];\n\n              var terminalValuesMap = this._attrValueMap.get(name);\n\n              if (value) {\n                result = this._matchTerminal(terminalValuesMap, '', cssSelector, matchedCallback) || result;\n              }\n\n              result = this._matchTerminal(terminalValuesMap, value, cssSelector, matchedCallback) || result;\n\n              var partialValuesMap = this._attrValuePartialMap.get(name);\n\n              if (value) {\n                result = this._matchPartial(partialValuesMap, '', cssSelector, matchedCallback) || result;\n              }\n\n              result = this._matchPartial(partialValuesMap, value, cssSelector, matchedCallback) || result;\n            }\n          }\n\n          return result;\n        }\n        /** @internal */\n\n      }, {\n        key: \"_matchTerminal\",\n        value: function _matchTerminal(map, name, cssSelector, matchedCallback) {\n          if (!map || typeof name !== 'string') {\n            return false;\n          }\n\n          var selectables = map.get(name) || [];\n          var starSelectables = map.get('*');\n\n          if (starSelectables) {\n            selectables = selectables.concat(starSelectables);\n          }\n\n          if (selectables.length === 0) {\n            return false;\n          }\n\n          var selectable;\n          var result = false;\n\n          for (var i = 0; i < selectables.length; i++) {\n            selectable = selectables[i];\n            result = selectable.finalize(cssSelector, matchedCallback) || result;\n          }\n\n          return result;\n        }\n        /** @internal */\n\n      }, {\n        key: \"_matchPartial\",\n        value: function _matchPartial(map, name, cssSelector, matchedCallback) {\n          if (!map || typeof name !== 'string') {\n            return false;\n          }\n\n          var nestedSelector = map.get(name);\n\n          if (!nestedSelector) {\n            return false;\n          } // TODO(perf): get rid of recursion and measure again\n          // TODO(perf): don't pass the whole selector into the recursion,\n          // but only the not processed parts\n\n\n          return nestedSelector.match(cssSelector, matchedCallback);\n        }\n      }], [{\n        key: \"createNotMatcher\",\n        value: function createNotMatcher(notSelectors) {\n          var notMatcher = new SelectorMatcher();\n          notMatcher.addSelectables(notSelectors, null);\n          return notMatcher;\n        }\n      }]);\n\n      return SelectorMatcher;\n    }();\n\n    var SelectorListContext = function SelectorListContext(selectors) {\n      _classCallCheck(this, SelectorListContext);\n\n      this.selectors = selectors;\n      this.alreadyMatched = false;\n    }; // Store context to pass back selector and context when a selector is matched\n\n\n    var SelectorContext =\n    /*#__PURE__*/\n    function () {\n      function SelectorContext(selector, cbContext, listContext) {\n        _classCallCheck(this, SelectorContext);\n\n        this.selector = selector;\n        this.cbContext = cbContext;\n        this.listContext = listContext;\n        this.notSelectors = selector.notSelectors;\n      }\n\n      _createClass2(SelectorContext, [{\n        key: \"finalize\",\n        value: function finalize(cssSelector, callback) {\n          var result = true;\n\n          if (this.notSelectors.length > 0 && (!this.listContext || !this.listContext.alreadyMatched)) {\n            var notMatcher = SelectorMatcher.createNotMatcher(this.notSelectors);\n            result = !notMatcher.match(cssSelector, null);\n          }\n\n          if (result && callback && (!this.listContext || !this.listContext.alreadyMatched)) {\n            if (this.listContext) {\n              this.listContext.alreadyMatched = true;\n            }\n\n            callback(this.selector, this.cbContext);\n          }\n\n          return result;\n        }\n      }]);\n\n      return SelectorContext;\n    }();\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var createInject = makeMetadataFactory('Inject', function (token) {\n      return {\n        token: token\n      };\n    });\n    var createInjectionToken = makeMetadataFactory('InjectionToken', function (desc) {\n      return {\n        _desc: desc,\n        ngInjectableDef: undefined\n      };\n    });\n    var createAttribute = makeMetadataFactory('Attribute', function (attributeName) {\n      return {\n        attributeName: attributeName\n      };\n    });\n    var createContentChildren = makeMetadataFactory('ContentChildren', function (selector) {\n      var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n      return Object.assign({\n        selector: selector,\n        first: false,\n        isViewQuery: false,\n        descendants: false\n      }, data);\n    });\n    var createContentChild = makeMetadataFactory('ContentChild', function (selector) {\n      var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n      return Object.assign({\n        selector: selector,\n        first: true,\n        isViewQuery: false,\n        descendants: true\n      }, data);\n    });\n    var createViewChildren = makeMetadataFactory('ViewChildren', function (selector) {\n      var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n      return Object.assign({\n        selector: selector,\n        first: false,\n        isViewQuery: true,\n        descendants: true\n      }, data);\n    });\n    var createViewChild = makeMetadataFactory('ViewChild', function (selector, data) {\n      return Object.assign({\n        selector: selector,\n        first: true,\n        isViewQuery: true,\n        descendants: true\n      }, data);\n    });\n    var createDirective = makeMetadataFactory('Directive', function () {\n      var dir = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n      return dir;\n    });\n    var ViewEncapsulation;\n\n    (function (ViewEncapsulation) {\n      ViewEncapsulation[ViewEncapsulation[\"Emulated\"] = 0] = \"Emulated\";\n      ViewEncapsulation[ViewEncapsulation[\"Native\"] = 1] = \"Native\";\n      ViewEncapsulation[ViewEncapsulation[\"None\"] = 2] = \"None\";\n      ViewEncapsulation[ViewEncapsulation[\"ShadowDom\"] = 3] = \"ShadowDom\";\n    })(ViewEncapsulation || (ViewEncapsulation = {}));\n\n    var ChangeDetectionStrategy;\n\n    (function (ChangeDetectionStrategy) {\n      ChangeDetectionStrategy[ChangeDetectionStrategy[\"OnPush\"] = 0] = \"OnPush\";\n      ChangeDetectionStrategy[ChangeDetectionStrategy[\"Default\"] = 1] = \"Default\";\n    })(ChangeDetectionStrategy || (ChangeDetectionStrategy = {}));\n\n    var createComponent = makeMetadataFactory('Component', function () {\n      var c = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n      return Object.assign({\n        changeDetection: ChangeDetectionStrategy.Default\n      }, c);\n    });\n    var createPipe = makeMetadataFactory('Pipe', function (p) {\n      return Object.assign({\n        pure: true\n      }, p);\n    });\n    var createInput = makeMetadataFactory('Input', function (bindingPropertyName) {\n      return {\n        bindingPropertyName: bindingPropertyName\n      };\n    });\n    var createOutput = makeMetadataFactory('Output', function (bindingPropertyName) {\n      return {\n        bindingPropertyName: bindingPropertyName\n      };\n    });\n    var createHostBinding = makeMetadataFactory('HostBinding', function (hostPropertyName) {\n      return {\n        hostPropertyName: hostPropertyName\n      };\n    });\n    var createHostListener = makeMetadataFactory('HostListener', function (eventName, args) {\n      return {\n        eventName: eventName,\n        args: args\n      };\n    });\n    var createNgModule = makeMetadataFactory('NgModule', function (ngModule) {\n      return ngModule;\n    });\n    var createInjectable = makeMetadataFactory('Injectable', function () {\n      var injectable = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n      return injectable;\n    });\n    var CUSTOM_ELEMENTS_SCHEMA = {\n      name: 'custom-elements'\n    };\n    var NO_ERRORS_SCHEMA = {\n      name: 'no-errors-schema'\n    };\n    var createOptional = makeMetadataFactory('Optional');\n    var createSelf = makeMetadataFactory('Self');\n    var createSkipSelf = makeMetadataFactory('SkipSelf');\n    var createHost = makeMetadataFactory('Host');\n    var Type = Function;\n    var SecurityContext;\n\n    (function (SecurityContext) {\n      SecurityContext[SecurityContext[\"NONE\"] = 0] = \"NONE\";\n      SecurityContext[SecurityContext[\"HTML\"] = 1] = \"HTML\";\n      SecurityContext[SecurityContext[\"STYLE\"] = 2] = \"STYLE\";\n      SecurityContext[SecurityContext[\"SCRIPT\"] = 3] = \"SCRIPT\";\n      SecurityContext[SecurityContext[\"URL\"] = 4] = \"URL\";\n      SecurityContext[SecurityContext[\"RESOURCE_URL\"] = 5] = \"RESOURCE_URL\";\n    })(SecurityContext || (SecurityContext = {}));\n\n    var MissingTranslationStrategy;\n\n    (function (MissingTranslationStrategy) {\n      MissingTranslationStrategy[MissingTranslationStrategy[\"Error\"] = 0] = \"Error\";\n      MissingTranslationStrategy[MissingTranslationStrategy[\"Warning\"] = 1] = \"Warning\";\n      MissingTranslationStrategy[MissingTranslationStrategy[\"Ignore\"] = 2] = \"Ignore\";\n    })(MissingTranslationStrategy || (MissingTranslationStrategy = {}));\n\n    function makeMetadataFactory(name, props) {\n      // This must be declared as a function, not a fat arrow, so that ES2015 devmode produces code\n      // that works with the static_reflector.ts in the ViewEngine compiler.\n      // In particular, `_registerDecoratorOrConstructor` assumes that the value returned here can be\n      // new'ed.\n      function factory() {\n        var values = props ? props.apply(void 0, arguments) : {};\n        return Object.assign({\n          ngMetadataName: name\n        }, values);\n      }\n\n      factory.isTypeOf = function (obj) {\n        return obj && obj.ngMetadataName === name;\n      };\n\n      factory.ngMetadataName = name;\n      return factory;\n    }\n\n    function parserSelectorToSimpleSelector(selector) {\n      var classes = selector.classNames && selector.classNames.length ? [8\n      /* CLASS */\n      ].concat(_toConsumableArray(selector.classNames)) : [];\n      var elementName = selector.element && selector.element !== '*' ? selector.element : '';\n      return [elementName].concat(_toConsumableArray(selector.attrs), _toConsumableArray(classes));\n    }\n\n    function parserSelectorToNegativeSelector(selector) {\n      var classes = selector.classNames && selector.classNames.length ? [8\n      /* CLASS */\n      ].concat(_toConsumableArray(selector.classNames)) : [];\n\n      if (selector.element) {\n        return [1\n        /* NOT */\n        | 4\n        /* ELEMENT */\n        , selector.element].concat(_toConsumableArray(selector.attrs), _toConsumableArray(classes));\n      } else if (selector.attrs.length) {\n        return [1\n        /* NOT */\n        | 2\n        /* ATTRIBUTE */\n        ].concat(_toConsumableArray(selector.attrs), _toConsumableArray(classes));\n      } else {\n        return selector.classNames && selector.classNames.length ? [1\n        /* NOT */\n        | 8\n        /* CLASS */\n        ].concat(_toConsumableArray(selector.classNames)) : [];\n      }\n    }\n\n    function parserSelectorToR3Selector(selector) {\n      var positive = parserSelectorToSimpleSelector(selector);\n      var negative = selector.notSelectors && selector.notSelectors.length ? selector.notSelectors.map(function (notSelector) {\n        return parserSelectorToNegativeSelector(notSelector);\n      }) : [];\n      return positive.concat.apply(positive, _toConsumableArray(negative));\n    }\n\n    function parseSelectorToR3Selector(selector) {\n      return selector ? CssSelector.parse(selector).map(parserSelectorToR3Selector) : [];\n    }\n\n    var core =\n    /*#__PURE__*/\n    Object.freeze({\n      createInject: createInject,\n      createInjectionToken: createInjectionToken,\n      createAttribute: createAttribute,\n      createContentChildren: createContentChildren,\n      createContentChild: createContentChild,\n      createViewChildren: createViewChildren,\n      createViewChild: createViewChild,\n      createDirective: createDirective,\n\n      get ViewEncapsulation() {\n        return ViewEncapsulation;\n      },\n\n      get ChangeDetectionStrategy() {\n        return ChangeDetectionStrategy;\n      },\n\n      createComponent: createComponent,\n      createPipe: createPipe,\n      createInput: createInput,\n      createOutput: createOutput,\n      createHostBinding: createHostBinding,\n      createHostListener: createHostListener,\n      createNgModule: createNgModule,\n      createInjectable: createInjectable,\n      CUSTOM_ELEMENTS_SCHEMA: CUSTOM_ELEMENTS_SCHEMA,\n      NO_ERRORS_SCHEMA: NO_ERRORS_SCHEMA,\n      createOptional: createOptional,\n      createSelf: createSelf,\n      createSkipSelf: createSkipSelf,\n      createHost: createHost,\n      Type: Type,\n\n      get SecurityContext() {\n        return SecurityContext;\n      },\n\n      get MissingTranslationStrategy() {\n        return MissingTranslationStrategy;\n      },\n\n      parseSelectorToR3Selector: parseSelectorToR3Selector\n    });\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n    //// Types\n\n    var TypeModifier;\n\n    (function (TypeModifier) {\n      TypeModifier[TypeModifier[\"Const\"] = 0] = \"Const\";\n    })(TypeModifier || (TypeModifier = {}));\n\n    var Type$1 =\n    /*#__PURE__*/\n    function () {\n      function Type$1() {\n        var modifiers = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n\n        _classCallCheck(this, Type$1);\n\n        this.modifiers = modifiers;\n\n        if (!modifiers) {\n          this.modifiers = [];\n        }\n      }\n\n      _createClass2(Type$1, [{\n        key: \"hasModifier\",\n        value: function hasModifier(modifier) {\n          return this.modifiers.indexOf(modifier) !== -1;\n        }\n      }]);\n\n      return Type$1;\n    }();\n\n    var BuiltinTypeName;\n\n    (function (BuiltinTypeName) {\n      BuiltinTypeName[BuiltinTypeName[\"Dynamic\"] = 0] = \"Dynamic\";\n      BuiltinTypeName[BuiltinTypeName[\"Bool\"] = 1] = \"Bool\";\n      BuiltinTypeName[BuiltinTypeName[\"String\"] = 2] = \"String\";\n      BuiltinTypeName[BuiltinTypeName[\"Int\"] = 3] = \"Int\";\n      BuiltinTypeName[BuiltinTypeName[\"Number\"] = 4] = \"Number\";\n      BuiltinTypeName[BuiltinTypeName[\"Function\"] = 5] = \"Function\";\n      BuiltinTypeName[BuiltinTypeName[\"Inferred\"] = 6] = \"Inferred\";\n      BuiltinTypeName[BuiltinTypeName[\"None\"] = 7] = \"None\";\n    })(BuiltinTypeName || (BuiltinTypeName = {}));\n\n    var BuiltinType =\n    /*#__PURE__*/\n    function (_Type$) {\n      _inherits(BuiltinType, _Type$);\n\n      function BuiltinType(name) {\n        var _this148;\n\n        var modifiers = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n\n        _classCallCheck(this, BuiltinType);\n\n        _this148 = _possibleConstructorReturn(this, _getPrototypeOf(BuiltinType).call(this, modifiers));\n        _this148.name = name;\n        return _this148;\n      }\n\n      _createClass2(BuiltinType, [{\n        key: \"visitType\",\n        value: function visitType(visitor, context) {\n          return visitor.visitBuiltinType(this, context);\n        }\n      }]);\n\n      return BuiltinType;\n    }(Type$1);\n\n    var ExpressionType =\n    /*#__PURE__*/\n    function (_Type$2) {\n      _inherits(ExpressionType, _Type$2);\n\n      function ExpressionType(value) {\n        var _this149;\n\n        var modifiers = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n        var typeParams = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n\n        _classCallCheck(this, ExpressionType);\n\n        _this149 = _possibleConstructorReturn(this, _getPrototypeOf(ExpressionType).call(this, modifiers));\n        _this149.value = value;\n        _this149.typeParams = typeParams;\n        return _this149;\n      }\n\n      _createClass2(ExpressionType, [{\n        key: \"visitType\",\n        value: function visitType(visitor, context) {\n          return visitor.visitExpressionType(this, context);\n        }\n      }]);\n\n      return ExpressionType;\n    }(Type$1);\n\n    var ArrayType =\n    /*#__PURE__*/\n    function (_Type$3) {\n      _inherits(ArrayType, _Type$3);\n\n      function ArrayType(of) {\n        var _this150;\n\n        var modifiers = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n\n        _classCallCheck(this, ArrayType);\n\n        _this150 = _possibleConstructorReturn(this, _getPrototypeOf(ArrayType).call(this, modifiers));\n        _this150.of = of;\n        return _this150;\n      }\n\n      _createClass2(ArrayType, [{\n        key: \"visitType\",\n        value: function visitType(visitor, context) {\n          return visitor.visitArrayType(this, context);\n        }\n      }]);\n\n      return ArrayType;\n    }(Type$1);\n\n    var MapType =\n    /*#__PURE__*/\n    function (_Type$4) {\n      _inherits(MapType, _Type$4);\n\n      function MapType(valueType) {\n        var _this151;\n\n        var modifiers = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n\n        _classCallCheck(this, MapType);\n\n        _this151 = _possibleConstructorReturn(this, _getPrototypeOf(MapType).call(this, modifiers));\n        _this151.valueType = valueType || null;\n        return _this151;\n      }\n\n      _createClass2(MapType, [{\n        key: \"visitType\",\n        value: function visitType(visitor, context) {\n          return visitor.visitMapType(this, context);\n        }\n      }]);\n\n      return MapType;\n    }(Type$1);\n\n    var DYNAMIC_TYPE = new BuiltinType(BuiltinTypeName.Dynamic);\n    var INFERRED_TYPE = new BuiltinType(BuiltinTypeName.Inferred);\n    var BOOL_TYPE = new BuiltinType(BuiltinTypeName.Bool);\n    var INT_TYPE = new BuiltinType(BuiltinTypeName.Int);\n    var NUMBER_TYPE = new BuiltinType(BuiltinTypeName.Number);\n    var STRING_TYPE = new BuiltinType(BuiltinTypeName.String);\n    var FUNCTION_TYPE = new BuiltinType(BuiltinTypeName.Function);\n    var NONE_TYPE = new BuiltinType(BuiltinTypeName.None); ///// Expressions\n\n    var BinaryOperator;\n\n    (function (BinaryOperator) {\n      BinaryOperator[BinaryOperator[\"Equals\"] = 0] = \"Equals\";\n      BinaryOperator[BinaryOperator[\"NotEquals\"] = 1] = \"NotEquals\";\n      BinaryOperator[BinaryOperator[\"Identical\"] = 2] = \"Identical\";\n      BinaryOperator[BinaryOperator[\"NotIdentical\"] = 3] = \"NotIdentical\";\n      BinaryOperator[BinaryOperator[\"Minus\"] = 4] = \"Minus\";\n      BinaryOperator[BinaryOperator[\"Plus\"] = 5] = \"Plus\";\n      BinaryOperator[BinaryOperator[\"Divide\"] = 6] = \"Divide\";\n      BinaryOperator[BinaryOperator[\"Multiply\"] = 7] = \"Multiply\";\n      BinaryOperator[BinaryOperator[\"Modulo\"] = 8] = \"Modulo\";\n      BinaryOperator[BinaryOperator[\"And\"] = 9] = \"And\";\n      BinaryOperator[BinaryOperator[\"Or\"] = 10] = \"Or\";\n      BinaryOperator[BinaryOperator[\"BitwiseAnd\"] = 11] = \"BitwiseAnd\";\n      BinaryOperator[BinaryOperator[\"Lower\"] = 12] = \"Lower\";\n      BinaryOperator[BinaryOperator[\"LowerEquals\"] = 13] = \"LowerEquals\";\n      BinaryOperator[BinaryOperator[\"Bigger\"] = 14] = \"Bigger\";\n      BinaryOperator[BinaryOperator[\"BiggerEquals\"] = 15] = \"BiggerEquals\";\n    })(BinaryOperator || (BinaryOperator = {}));\n\n    function nullSafeIsEquivalent(base, other) {\n      if (base == null || other == null) {\n        return base == other;\n      }\n\n      return base.isEquivalent(other);\n    }\n\n    function areAllEquivalent(base, other) {\n      var len = base.length;\n\n      if (len !== other.length) {\n        return false;\n      }\n\n      for (var i = 0; i < len; i++) {\n        if (!base[i].isEquivalent(other[i])) {\n          return false;\n        }\n      }\n\n      return true;\n    }\n\n    var Expression =\n    /*#__PURE__*/\n    function () {\n      function Expression(type, sourceSpan) {\n        _classCallCheck(this, Expression);\n\n        this.type = type || null;\n        this.sourceSpan = sourceSpan || null;\n      }\n\n      _createClass2(Expression, [{\n        key: \"prop\",\n        value: function prop(name, sourceSpan) {\n          return new ReadPropExpr(this, name, null, sourceSpan);\n        }\n      }, {\n        key: \"key\",\n        value: function key(index, type, sourceSpan) {\n          return new ReadKeyExpr(this, index, type, sourceSpan);\n        }\n      }, {\n        key: \"callMethod\",\n        value: function callMethod(name, params, sourceSpan) {\n          return new InvokeMethodExpr(this, name, params, null, sourceSpan);\n        }\n      }, {\n        key: \"callFn\",\n        value: function callFn(params, sourceSpan) {\n          return new InvokeFunctionExpr(this, params, null, sourceSpan);\n        }\n      }, {\n        key: \"instantiate\",\n        value: function instantiate(params, type, sourceSpan) {\n          return new InstantiateExpr(this, params, type, sourceSpan);\n        }\n      }, {\n        key: \"conditional\",\n        value: function conditional(trueCase) {\n          var falseCase = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n          var sourceSpan = arguments.length > 2 ? arguments[2] : undefined;\n          return new ConditionalExpr(this, trueCase, falseCase, null, sourceSpan);\n        }\n      }, {\n        key: \"equals\",\n        value: function equals(rhs, sourceSpan) {\n          return new BinaryOperatorExpr(BinaryOperator.Equals, this, rhs, null, sourceSpan);\n        }\n      }, {\n        key: \"notEquals\",\n        value: function notEquals(rhs, sourceSpan) {\n          return new BinaryOperatorExpr(BinaryOperator.NotEquals, this, rhs, null, sourceSpan);\n        }\n      }, {\n        key: \"identical\",\n        value: function identical(rhs, sourceSpan) {\n          return new BinaryOperatorExpr(BinaryOperator.Identical, this, rhs, null, sourceSpan);\n        }\n      }, {\n        key: \"notIdentical\",\n        value: function notIdentical(rhs, sourceSpan) {\n          return new BinaryOperatorExpr(BinaryOperator.NotIdentical, this, rhs, null, sourceSpan);\n        }\n      }, {\n        key: \"minus\",\n        value: function minus(rhs, sourceSpan) {\n          return new BinaryOperatorExpr(BinaryOperator.Minus, this, rhs, null, sourceSpan);\n        }\n      }, {\n        key: \"plus\",\n        value: function plus(rhs, sourceSpan) {\n          return new BinaryOperatorExpr(BinaryOperator.Plus, this, rhs, null, sourceSpan);\n        }\n      }, {\n        key: \"divide\",\n        value: function divide(rhs, sourceSpan) {\n          return new BinaryOperatorExpr(BinaryOperator.Divide, this, rhs, null, sourceSpan);\n        }\n      }, {\n        key: \"multiply\",\n        value: function multiply(rhs, sourceSpan) {\n          return new BinaryOperatorExpr(BinaryOperator.Multiply, this, rhs, null, sourceSpan);\n        }\n      }, {\n        key: \"modulo\",\n        value: function modulo(rhs, sourceSpan) {\n          return new BinaryOperatorExpr(BinaryOperator.Modulo, this, rhs, null, sourceSpan);\n        }\n      }, {\n        key: \"and\",\n        value: function and(rhs, sourceSpan) {\n          return new BinaryOperatorExpr(BinaryOperator.And, this, rhs, null, sourceSpan);\n        }\n      }, {\n        key: \"bitwiseAnd\",\n        value: function bitwiseAnd(rhs, sourceSpan) {\n          var parens = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n          return new BinaryOperatorExpr(BinaryOperator.BitwiseAnd, this, rhs, null, sourceSpan, parens);\n        }\n      }, {\n        key: \"or\",\n        value: function or(rhs, sourceSpan) {\n          return new BinaryOperatorExpr(BinaryOperator.Or, this, rhs, null, sourceSpan);\n        }\n      }, {\n        key: \"lower\",\n        value: function lower(rhs, sourceSpan) {\n          return new BinaryOperatorExpr(BinaryOperator.Lower, this, rhs, null, sourceSpan);\n        }\n      }, {\n        key: \"lowerEquals\",\n        value: function lowerEquals(rhs, sourceSpan) {\n          return new BinaryOperatorExpr(BinaryOperator.LowerEquals, this, rhs, null, sourceSpan);\n        }\n      }, {\n        key: \"bigger\",\n        value: function bigger(rhs, sourceSpan) {\n          return new BinaryOperatorExpr(BinaryOperator.Bigger, this, rhs, null, sourceSpan);\n        }\n      }, {\n        key: \"biggerEquals\",\n        value: function biggerEquals(rhs, sourceSpan) {\n          return new BinaryOperatorExpr(BinaryOperator.BiggerEquals, this, rhs, null, sourceSpan);\n        }\n      }, {\n        key: \"isBlank\",\n        value: function isBlank(sourceSpan) {\n          // Note: We use equals by purpose here to compare to null and undefined in JS.\n          // We use the typed null to allow strictNullChecks to narrow types.\n          return this.equals(TYPED_NULL_EXPR, sourceSpan);\n        }\n      }, {\n        key: \"cast\",\n        value: function cast(type, sourceSpan) {\n          return new CastExpr(this, type, sourceSpan);\n        }\n      }, {\n        key: \"toStmt\",\n        value: function toStmt() {\n          return new ExpressionStatement(this, null);\n        }\n      }]);\n\n      return Expression;\n    }();\n\n    var BuiltinVar;\n\n    (function (BuiltinVar) {\n      BuiltinVar[BuiltinVar[\"This\"] = 0] = \"This\";\n      BuiltinVar[BuiltinVar[\"Super\"] = 1] = \"Super\";\n      BuiltinVar[BuiltinVar[\"CatchError\"] = 2] = \"CatchError\";\n      BuiltinVar[BuiltinVar[\"CatchStack\"] = 3] = \"CatchStack\";\n    })(BuiltinVar || (BuiltinVar = {}));\n\n    var ReadVarExpr =\n    /*#__PURE__*/\n    function (_Expression) {\n      _inherits(ReadVarExpr, _Expression);\n\n      function ReadVarExpr(name, type, sourceSpan) {\n        var _this152;\n\n        _classCallCheck(this, ReadVarExpr);\n\n        _this152 = _possibleConstructorReturn(this, _getPrototypeOf(ReadVarExpr).call(this, type, sourceSpan));\n\n        if (typeof name === 'string') {\n          _this152.name = name;\n          _this152.builtin = null;\n        } else {\n          _this152.name = null;\n          _this152.builtin = name;\n        }\n\n        return _this152;\n      }\n\n      _createClass2(ReadVarExpr, [{\n        key: \"isEquivalent\",\n        value: function isEquivalent(e) {\n          return e instanceof ReadVarExpr && this.name === e.name && this.builtin === e.builtin;\n        }\n      }, {\n        key: \"isConstant\",\n        value: function isConstant() {\n          return false;\n        }\n      }, {\n        key: \"visitExpression\",\n        value: function visitExpression(visitor, context) {\n          return visitor.visitReadVarExpr(this, context);\n        }\n      }, {\n        key: \"set\",\n        value: function set(value) {\n          if (!this.name) {\n            throw new Error(\"Built in variable \".concat(this.builtin, \" can not be assigned to.\"));\n          }\n\n          return new WriteVarExpr(this.name, value, null, this.sourceSpan);\n        }\n      }]);\n\n      return ReadVarExpr;\n    }(Expression);\n\n    var TypeofExpr =\n    /*#__PURE__*/\n    function (_Expression2) {\n      _inherits(TypeofExpr, _Expression2);\n\n      function TypeofExpr(expr, type, sourceSpan) {\n        var _this153;\n\n        _classCallCheck(this, TypeofExpr);\n\n        _this153 = _possibleConstructorReturn(this, _getPrototypeOf(TypeofExpr).call(this, type, sourceSpan));\n        _this153.expr = expr;\n        return _this153;\n      }\n\n      _createClass2(TypeofExpr, [{\n        key: \"visitExpression\",\n        value: function visitExpression(visitor, context) {\n          return visitor.visitTypeofExpr(this, context);\n        }\n      }, {\n        key: \"isEquivalent\",\n        value: function isEquivalent(e) {\n          return e instanceof TypeofExpr && e.expr.isEquivalent(this.expr);\n        }\n      }, {\n        key: \"isConstant\",\n        value: function isConstant() {\n          return this.expr.isConstant();\n        }\n      }]);\n\n      return TypeofExpr;\n    }(Expression);\n\n    var WrappedNodeExpr =\n    /*#__PURE__*/\n    function (_Expression3) {\n      _inherits(WrappedNodeExpr, _Expression3);\n\n      function WrappedNodeExpr(node, type, sourceSpan) {\n        var _this154;\n\n        _classCallCheck(this, WrappedNodeExpr);\n\n        _this154 = _possibleConstructorReturn(this, _getPrototypeOf(WrappedNodeExpr).call(this, type, sourceSpan));\n        _this154.node = node;\n        return _this154;\n      }\n\n      _createClass2(WrappedNodeExpr, [{\n        key: \"isEquivalent\",\n        value: function isEquivalent(e) {\n          return e instanceof WrappedNodeExpr && this.node === e.node;\n        }\n      }, {\n        key: \"isConstant\",\n        value: function isConstant() {\n          return false;\n        }\n      }, {\n        key: \"visitExpression\",\n        value: function visitExpression(visitor, context) {\n          return visitor.visitWrappedNodeExpr(this, context);\n        }\n      }]);\n\n      return WrappedNodeExpr;\n    }(Expression);\n\n    var WriteVarExpr =\n    /*#__PURE__*/\n    function (_Expression4) {\n      _inherits(WriteVarExpr, _Expression4);\n\n      function WriteVarExpr(name, value, type, sourceSpan) {\n        var _this155;\n\n        _classCallCheck(this, WriteVarExpr);\n\n        _this155 = _possibleConstructorReturn(this, _getPrototypeOf(WriteVarExpr).call(this, type || value.type, sourceSpan));\n        _this155.name = name;\n        _this155.value = value;\n        return _this155;\n      }\n\n      _createClass2(WriteVarExpr, [{\n        key: \"isEquivalent\",\n        value: function isEquivalent(e) {\n          return e instanceof WriteVarExpr && this.name === e.name && this.value.isEquivalent(e.value);\n        }\n      }, {\n        key: \"isConstant\",\n        value: function isConstant() {\n          return false;\n        }\n      }, {\n        key: \"visitExpression\",\n        value: function visitExpression(visitor, context) {\n          return visitor.visitWriteVarExpr(this, context);\n        }\n      }, {\n        key: \"toDeclStmt\",\n        value: function toDeclStmt(type, modifiers) {\n          return new DeclareVarStmt(this.name, this.value, type, modifiers, this.sourceSpan);\n        }\n      }, {\n        key: \"toConstDecl\",\n        value: function toConstDecl() {\n          return this.toDeclStmt(INFERRED_TYPE, [StmtModifier.Final]);\n        }\n      }]);\n\n      return WriteVarExpr;\n    }(Expression);\n\n    var WriteKeyExpr =\n    /*#__PURE__*/\n    function (_Expression5) {\n      _inherits(WriteKeyExpr, _Expression5);\n\n      function WriteKeyExpr(receiver, index, value, type, sourceSpan) {\n        var _this156;\n\n        _classCallCheck(this, WriteKeyExpr);\n\n        _this156 = _possibleConstructorReturn(this, _getPrototypeOf(WriteKeyExpr).call(this, type || value.type, sourceSpan));\n        _this156.receiver = receiver;\n        _this156.index = index;\n        _this156.value = value;\n        return _this156;\n      }\n\n      _createClass2(WriteKeyExpr, [{\n        key: \"isEquivalent\",\n        value: function isEquivalent(e) {\n          return e instanceof WriteKeyExpr && this.receiver.isEquivalent(e.receiver) && this.index.isEquivalent(e.index) && this.value.isEquivalent(e.value);\n        }\n      }, {\n        key: \"isConstant\",\n        value: function isConstant() {\n          return false;\n        }\n      }, {\n        key: \"visitExpression\",\n        value: function visitExpression(visitor, context) {\n          return visitor.visitWriteKeyExpr(this, context);\n        }\n      }]);\n\n      return WriteKeyExpr;\n    }(Expression);\n\n    var WritePropExpr =\n    /*#__PURE__*/\n    function (_Expression6) {\n      _inherits(WritePropExpr, _Expression6);\n\n      function WritePropExpr(receiver, name, value, type, sourceSpan) {\n        var _this157;\n\n        _classCallCheck(this, WritePropExpr);\n\n        _this157 = _possibleConstructorReturn(this, _getPrototypeOf(WritePropExpr).call(this, type || value.type, sourceSpan));\n        _this157.receiver = receiver;\n        _this157.name = name;\n        _this157.value = value;\n        return _this157;\n      }\n\n      _createClass2(WritePropExpr, [{\n        key: \"isEquivalent\",\n        value: function isEquivalent(e) {\n          return e instanceof WritePropExpr && this.receiver.isEquivalent(e.receiver) && this.name === e.name && this.value.isEquivalent(e.value);\n        }\n      }, {\n        key: \"isConstant\",\n        value: function isConstant() {\n          return false;\n        }\n      }, {\n        key: \"visitExpression\",\n        value: function visitExpression(visitor, context) {\n          return visitor.visitWritePropExpr(this, context);\n        }\n      }]);\n\n      return WritePropExpr;\n    }(Expression);\n\n    var BuiltinMethod;\n\n    (function (BuiltinMethod) {\n      BuiltinMethod[BuiltinMethod[\"ConcatArray\"] = 0] = \"ConcatArray\";\n      BuiltinMethod[BuiltinMethod[\"SubscribeObservable\"] = 1] = \"SubscribeObservable\";\n      BuiltinMethod[BuiltinMethod[\"Bind\"] = 2] = \"Bind\";\n    })(BuiltinMethod || (BuiltinMethod = {}));\n\n    var InvokeMethodExpr =\n    /*#__PURE__*/\n    function (_Expression7) {\n      _inherits(InvokeMethodExpr, _Expression7);\n\n      function InvokeMethodExpr(receiver, method, args, type, sourceSpan) {\n        var _this158;\n\n        _classCallCheck(this, InvokeMethodExpr);\n\n        _this158 = _possibleConstructorReturn(this, _getPrototypeOf(InvokeMethodExpr).call(this, type, sourceSpan));\n        _this158.receiver = receiver;\n        _this158.args = args;\n\n        if (typeof method === 'string') {\n          _this158.name = method;\n          _this158.builtin = null;\n        } else {\n          _this158.name = null;\n          _this158.builtin = method;\n        }\n\n        return _this158;\n      }\n\n      _createClass2(InvokeMethodExpr, [{\n        key: \"isEquivalent\",\n        value: function isEquivalent(e) {\n          return e instanceof InvokeMethodExpr && this.receiver.isEquivalent(e.receiver) && this.name === e.name && this.builtin === e.builtin && areAllEquivalent(this.args, e.args);\n        }\n      }, {\n        key: \"isConstant\",\n        value: function isConstant() {\n          return false;\n        }\n      }, {\n        key: \"visitExpression\",\n        value: function visitExpression(visitor, context) {\n          return visitor.visitInvokeMethodExpr(this, context);\n        }\n      }]);\n\n      return InvokeMethodExpr;\n    }(Expression);\n\n    var InvokeFunctionExpr =\n    /*#__PURE__*/\n    function (_Expression8) {\n      _inherits(InvokeFunctionExpr, _Expression8);\n\n      function InvokeFunctionExpr(fn, args, type, sourceSpan) {\n        var _this159;\n\n        var pure = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;\n\n        _classCallCheck(this, InvokeFunctionExpr);\n\n        _this159 = _possibleConstructorReturn(this, _getPrototypeOf(InvokeFunctionExpr).call(this, type, sourceSpan));\n        _this159.fn = fn;\n        _this159.args = args;\n        _this159.pure = pure;\n        return _this159;\n      }\n\n      _createClass2(InvokeFunctionExpr, [{\n        key: \"isEquivalent\",\n        value: function isEquivalent(e) {\n          return e instanceof InvokeFunctionExpr && this.fn.isEquivalent(e.fn) && areAllEquivalent(this.args, e.args) && this.pure === e.pure;\n        }\n      }, {\n        key: \"isConstant\",\n        value: function isConstant() {\n          return false;\n        }\n      }, {\n        key: \"visitExpression\",\n        value: function visitExpression(visitor, context) {\n          return visitor.visitInvokeFunctionExpr(this, context);\n        }\n      }]);\n\n      return InvokeFunctionExpr;\n    }(Expression);\n\n    var InstantiateExpr =\n    /*#__PURE__*/\n    function (_Expression9) {\n      _inherits(InstantiateExpr, _Expression9);\n\n      function InstantiateExpr(classExpr, args, type, sourceSpan) {\n        var _this160;\n\n        _classCallCheck(this, InstantiateExpr);\n\n        _this160 = _possibleConstructorReturn(this, _getPrototypeOf(InstantiateExpr).call(this, type, sourceSpan));\n        _this160.classExpr = classExpr;\n        _this160.args = args;\n        return _this160;\n      }\n\n      _createClass2(InstantiateExpr, [{\n        key: \"isEquivalent\",\n        value: function isEquivalent(e) {\n          return e instanceof InstantiateExpr && this.classExpr.isEquivalent(e.classExpr) && areAllEquivalent(this.args, e.args);\n        }\n      }, {\n        key: \"isConstant\",\n        value: function isConstant() {\n          return false;\n        }\n      }, {\n        key: \"visitExpression\",\n        value: function visitExpression(visitor, context) {\n          return visitor.visitInstantiateExpr(this, context);\n        }\n      }]);\n\n      return InstantiateExpr;\n    }(Expression);\n\n    var LiteralExpr =\n    /*#__PURE__*/\n    function (_Expression10) {\n      _inherits(LiteralExpr, _Expression10);\n\n      function LiteralExpr(value, type, sourceSpan) {\n        var _this161;\n\n        _classCallCheck(this, LiteralExpr);\n\n        _this161 = _possibleConstructorReturn(this, _getPrototypeOf(LiteralExpr).call(this, type, sourceSpan));\n        _this161.value = value;\n        return _this161;\n      }\n\n      _createClass2(LiteralExpr, [{\n        key: \"isEquivalent\",\n        value: function isEquivalent(e) {\n          return e instanceof LiteralExpr && this.value === e.value;\n        }\n      }, {\n        key: \"isConstant\",\n        value: function isConstant() {\n          return true;\n        }\n      }, {\n        key: \"visitExpression\",\n        value: function visitExpression(visitor, context) {\n          return visitor.visitLiteralExpr(this, context);\n        }\n      }]);\n\n      return LiteralExpr;\n    }(Expression);\n\n    var ExternalExpr =\n    /*#__PURE__*/\n    function (_Expression11) {\n      _inherits(ExternalExpr, _Expression11);\n\n      function ExternalExpr(value, type) {\n        var _this162;\n\n        var typeParams = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n        var sourceSpan = arguments.length > 3 ? arguments[3] : undefined;\n\n        _classCallCheck(this, ExternalExpr);\n\n        _this162 = _possibleConstructorReturn(this, _getPrototypeOf(ExternalExpr).call(this, type, sourceSpan));\n        _this162.value = value;\n        _this162.typeParams = typeParams;\n        return _this162;\n      }\n\n      _createClass2(ExternalExpr, [{\n        key: \"isEquivalent\",\n        value: function isEquivalent(e) {\n          return e instanceof ExternalExpr && this.value.name === e.value.name && this.value.moduleName === e.value.moduleName && this.value.runtime === e.value.runtime;\n        }\n      }, {\n        key: \"isConstant\",\n        value: function isConstant() {\n          return false;\n        }\n      }, {\n        key: \"visitExpression\",\n        value: function visitExpression(visitor, context) {\n          return visitor.visitExternalExpr(this, context);\n        }\n      }]);\n\n      return ExternalExpr;\n    }(Expression);\n\n    var ExternalReference = function ExternalReference(moduleName, name, runtime) {\n      _classCallCheck(this, ExternalReference);\n\n      this.moduleName = moduleName;\n      this.name = name;\n      this.runtime = runtime;\n    };\n\n    var ConditionalExpr =\n    /*#__PURE__*/\n    function (_Expression12) {\n      _inherits(ConditionalExpr, _Expression12);\n\n      function ConditionalExpr(condition, trueCase) {\n        var _this163;\n\n        var falseCase = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n        var type = arguments.length > 3 ? arguments[3] : undefined;\n        var sourceSpan = arguments.length > 4 ? arguments[4] : undefined;\n\n        _classCallCheck(this, ConditionalExpr);\n\n        _this163 = _possibleConstructorReturn(this, _getPrototypeOf(ConditionalExpr).call(this, type || trueCase.type, sourceSpan));\n        _this163.condition = condition;\n        _this163.falseCase = falseCase;\n        _this163.trueCase = trueCase;\n        return _this163;\n      }\n\n      _createClass2(ConditionalExpr, [{\n        key: \"isEquivalent\",\n        value: function isEquivalent(e) {\n          return e instanceof ConditionalExpr && this.condition.isEquivalent(e.condition) && this.trueCase.isEquivalent(e.trueCase) && nullSafeIsEquivalent(this.falseCase, e.falseCase);\n        }\n      }, {\n        key: \"isConstant\",\n        value: function isConstant() {\n          return false;\n        }\n      }, {\n        key: \"visitExpression\",\n        value: function visitExpression(visitor, context) {\n          return visitor.visitConditionalExpr(this, context);\n        }\n      }]);\n\n      return ConditionalExpr;\n    }(Expression);\n\n    var NotExpr =\n    /*#__PURE__*/\n    function (_Expression13) {\n      _inherits(NotExpr, _Expression13);\n\n      function NotExpr(condition, sourceSpan) {\n        var _this164;\n\n        _classCallCheck(this, NotExpr);\n\n        _this164 = _possibleConstructorReturn(this, _getPrototypeOf(NotExpr).call(this, BOOL_TYPE, sourceSpan));\n        _this164.condition = condition;\n        return _this164;\n      }\n\n      _createClass2(NotExpr, [{\n        key: \"isEquivalent\",\n        value: function isEquivalent(e) {\n          return e instanceof NotExpr && this.condition.isEquivalent(e.condition);\n        }\n      }, {\n        key: \"isConstant\",\n        value: function isConstant() {\n          return false;\n        }\n      }, {\n        key: \"visitExpression\",\n        value: function visitExpression(visitor, context) {\n          return visitor.visitNotExpr(this, context);\n        }\n      }]);\n\n      return NotExpr;\n    }(Expression);\n\n    var AssertNotNull =\n    /*#__PURE__*/\n    function (_Expression14) {\n      _inherits(AssertNotNull, _Expression14);\n\n      function AssertNotNull(condition, sourceSpan) {\n        var _this165;\n\n        _classCallCheck(this, AssertNotNull);\n\n        _this165 = _possibleConstructorReturn(this, _getPrototypeOf(AssertNotNull).call(this, condition.type, sourceSpan));\n        _this165.condition = condition;\n        return _this165;\n      }\n\n      _createClass2(AssertNotNull, [{\n        key: \"isEquivalent\",\n        value: function isEquivalent(e) {\n          return e instanceof AssertNotNull && this.condition.isEquivalent(e.condition);\n        }\n      }, {\n        key: \"isConstant\",\n        value: function isConstant() {\n          return false;\n        }\n      }, {\n        key: \"visitExpression\",\n        value: function visitExpression(visitor, context) {\n          return visitor.visitAssertNotNullExpr(this, context);\n        }\n      }]);\n\n      return AssertNotNull;\n    }(Expression);\n\n    var CastExpr =\n    /*#__PURE__*/\n    function (_Expression15) {\n      _inherits(CastExpr, _Expression15);\n\n      function CastExpr(value, type, sourceSpan) {\n        var _this166;\n\n        _classCallCheck(this, CastExpr);\n\n        _this166 = _possibleConstructorReturn(this, _getPrototypeOf(CastExpr).call(this, type, sourceSpan));\n        _this166.value = value;\n        return _this166;\n      }\n\n      _createClass2(CastExpr, [{\n        key: \"isEquivalent\",\n        value: function isEquivalent(e) {\n          return e instanceof CastExpr && this.value.isEquivalent(e.value);\n        }\n      }, {\n        key: \"isConstant\",\n        value: function isConstant() {\n          return false;\n        }\n      }, {\n        key: \"visitExpression\",\n        value: function visitExpression(visitor, context) {\n          return visitor.visitCastExpr(this, context);\n        }\n      }]);\n\n      return CastExpr;\n    }(Expression);\n\n    var FnParam =\n    /*#__PURE__*/\n    function () {\n      function FnParam(name) {\n        var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n\n        _classCallCheck(this, FnParam);\n\n        this.name = name;\n        this.type = type;\n      }\n\n      _createClass2(FnParam, [{\n        key: \"isEquivalent\",\n        value: function isEquivalent(param) {\n          return this.name === param.name;\n        }\n      }]);\n\n      return FnParam;\n    }();\n\n    var FunctionExpr =\n    /*#__PURE__*/\n    function (_Expression16) {\n      _inherits(FunctionExpr, _Expression16);\n\n      function FunctionExpr(params, statements, type, sourceSpan, name) {\n        var _this167;\n\n        _classCallCheck(this, FunctionExpr);\n\n        _this167 = _possibleConstructorReturn(this, _getPrototypeOf(FunctionExpr).call(this, type, sourceSpan));\n        _this167.params = params;\n        _this167.statements = statements;\n        _this167.name = name;\n        return _this167;\n      }\n\n      _createClass2(FunctionExpr, [{\n        key: \"isEquivalent\",\n        value: function isEquivalent(e) {\n          return e instanceof FunctionExpr && areAllEquivalent(this.params, e.params) && areAllEquivalent(this.statements, e.statements);\n        }\n      }, {\n        key: \"isConstant\",\n        value: function isConstant() {\n          return false;\n        }\n      }, {\n        key: \"visitExpression\",\n        value: function visitExpression(visitor, context) {\n          return visitor.visitFunctionExpr(this, context);\n        }\n      }, {\n        key: \"toDeclStmt\",\n        value: function toDeclStmt(name) {\n          var modifiers = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n          return new DeclareFunctionStmt(name, this.params, this.statements, this.type, modifiers, this.sourceSpan);\n        }\n      }]);\n\n      return FunctionExpr;\n    }(Expression);\n\n    var BinaryOperatorExpr =\n    /*#__PURE__*/\n    function (_Expression17) {\n      _inherits(BinaryOperatorExpr, _Expression17);\n\n      function BinaryOperatorExpr(operator, lhs, rhs, type, sourceSpan) {\n        var _this168;\n\n        var parens = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : true;\n\n        _classCallCheck(this, BinaryOperatorExpr);\n\n        _this168 = _possibleConstructorReturn(this, _getPrototypeOf(BinaryOperatorExpr).call(this, type || lhs.type, sourceSpan));\n        _this168.operator = operator;\n        _this168.rhs = rhs;\n        _this168.parens = parens;\n        _this168.lhs = lhs;\n        return _this168;\n      }\n\n      _createClass2(BinaryOperatorExpr, [{\n        key: \"isEquivalent\",\n        value: function isEquivalent(e) {\n          return e instanceof BinaryOperatorExpr && this.operator === e.operator && this.lhs.isEquivalent(e.lhs) && this.rhs.isEquivalent(e.rhs);\n        }\n      }, {\n        key: \"isConstant\",\n        value: function isConstant() {\n          return false;\n        }\n      }, {\n        key: \"visitExpression\",\n        value: function visitExpression(visitor, context) {\n          return visitor.visitBinaryOperatorExpr(this, context);\n        }\n      }]);\n\n      return BinaryOperatorExpr;\n    }(Expression);\n\n    var ReadPropExpr =\n    /*#__PURE__*/\n    function (_Expression18) {\n      _inherits(ReadPropExpr, _Expression18);\n\n      function ReadPropExpr(receiver, name, type, sourceSpan) {\n        var _this169;\n\n        _classCallCheck(this, ReadPropExpr);\n\n        _this169 = _possibleConstructorReturn(this, _getPrototypeOf(ReadPropExpr).call(this, type, sourceSpan));\n        _this169.receiver = receiver;\n        _this169.name = name;\n        return _this169;\n      }\n\n      _createClass2(ReadPropExpr, [{\n        key: \"isEquivalent\",\n        value: function isEquivalent(e) {\n          return e instanceof ReadPropExpr && this.receiver.isEquivalent(e.receiver) && this.name === e.name;\n        }\n      }, {\n        key: \"isConstant\",\n        value: function isConstant() {\n          return false;\n        }\n      }, {\n        key: \"visitExpression\",\n        value: function visitExpression(visitor, context) {\n          return visitor.visitReadPropExpr(this, context);\n        }\n      }, {\n        key: \"set\",\n        value: function set(value) {\n          return new WritePropExpr(this.receiver, this.name, value, null, this.sourceSpan);\n        }\n      }]);\n\n      return ReadPropExpr;\n    }(Expression);\n\n    var ReadKeyExpr =\n    /*#__PURE__*/\n    function (_Expression19) {\n      _inherits(ReadKeyExpr, _Expression19);\n\n      function ReadKeyExpr(receiver, index, type, sourceSpan) {\n        var _this170;\n\n        _classCallCheck(this, ReadKeyExpr);\n\n        _this170 = _possibleConstructorReturn(this, _getPrototypeOf(ReadKeyExpr).call(this, type, sourceSpan));\n        _this170.receiver = receiver;\n        _this170.index = index;\n        return _this170;\n      }\n\n      _createClass2(ReadKeyExpr, [{\n        key: \"isEquivalent\",\n        value: function isEquivalent(e) {\n          return e instanceof ReadKeyExpr && this.receiver.isEquivalent(e.receiver) && this.index.isEquivalent(e.index);\n        }\n      }, {\n        key: \"isConstant\",\n        value: function isConstant() {\n          return false;\n        }\n      }, {\n        key: \"visitExpression\",\n        value: function visitExpression(visitor, context) {\n          return visitor.visitReadKeyExpr(this, context);\n        }\n      }, {\n        key: \"set\",\n        value: function set(value) {\n          return new WriteKeyExpr(this.receiver, this.index, value, null, this.sourceSpan);\n        }\n      }]);\n\n      return ReadKeyExpr;\n    }(Expression);\n\n    var LiteralArrayExpr =\n    /*#__PURE__*/\n    function (_Expression20) {\n      _inherits(LiteralArrayExpr, _Expression20);\n\n      function LiteralArrayExpr(entries, type, sourceSpan) {\n        var _this171;\n\n        _classCallCheck(this, LiteralArrayExpr);\n\n        _this171 = _possibleConstructorReturn(this, _getPrototypeOf(LiteralArrayExpr).call(this, type, sourceSpan));\n        _this171.entries = entries;\n        return _this171;\n      }\n\n      _createClass2(LiteralArrayExpr, [{\n        key: \"isConstant\",\n        value: function isConstant() {\n          return this.entries.every(function (e) {\n            return e.isConstant();\n          });\n        }\n      }, {\n        key: \"isEquivalent\",\n        value: function isEquivalent(e) {\n          return e instanceof LiteralArrayExpr && areAllEquivalent(this.entries, e.entries);\n        }\n      }, {\n        key: \"visitExpression\",\n        value: function visitExpression(visitor, context) {\n          return visitor.visitLiteralArrayExpr(this, context);\n        }\n      }]);\n\n      return LiteralArrayExpr;\n    }(Expression);\n\n    var LiteralMapEntry =\n    /*#__PURE__*/\n    function () {\n      function LiteralMapEntry(key, value, quoted) {\n        _classCallCheck(this, LiteralMapEntry);\n\n        this.key = key;\n        this.value = value;\n        this.quoted = quoted;\n      }\n\n      _createClass2(LiteralMapEntry, [{\n        key: \"isEquivalent\",\n        value: function isEquivalent(e) {\n          return this.key === e.key && this.value.isEquivalent(e.value);\n        }\n      }]);\n\n      return LiteralMapEntry;\n    }();\n\n    var LiteralMapExpr =\n    /*#__PURE__*/\n    function (_Expression21) {\n      _inherits(LiteralMapExpr, _Expression21);\n\n      function LiteralMapExpr(entries, type, sourceSpan) {\n        var _this172;\n\n        _classCallCheck(this, LiteralMapExpr);\n\n        _this172 = _possibleConstructorReturn(this, _getPrototypeOf(LiteralMapExpr).call(this, type, sourceSpan));\n        _this172.entries = entries;\n        _this172.valueType = null;\n\n        if (type) {\n          _this172.valueType = type.valueType;\n        }\n\n        return _this172;\n      }\n\n      _createClass2(LiteralMapExpr, [{\n        key: \"isEquivalent\",\n        value: function isEquivalent(e) {\n          return e instanceof LiteralMapExpr && areAllEquivalent(this.entries, e.entries);\n        }\n      }, {\n        key: \"isConstant\",\n        value: function isConstant() {\n          return this.entries.every(function (e) {\n            return e.value.isConstant();\n          });\n        }\n      }, {\n        key: \"visitExpression\",\n        value: function visitExpression(visitor, context) {\n          return visitor.visitLiteralMapExpr(this, context);\n        }\n      }]);\n\n      return LiteralMapExpr;\n    }(Expression);\n\n    var CommaExpr =\n    /*#__PURE__*/\n    function (_Expression22) {\n      _inherits(CommaExpr, _Expression22);\n\n      function CommaExpr(parts, sourceSpan) {\n        var _this173;\n\n        _classCallCheck(this, CommaExpr);\n\n        _this173 = _possibleConstructorReturn(this, _getPrototypeOf(CommaExpr).call(this, parts[parts.length - 1].type, sourceSpan));\n        _this173.parts = parts;\n        return _this173;\n      }\n\n      _createClass2(CommaExpr, [{\n        key: \"isEquivalent\",\n        value: function isEquivalent(e) {\n          return e instanceof CommaExpr && areAllEquivalent(this.parts, e.parts);\n        }\n      }, {\n        key: \"isConstant\",\n        value: function isConstant() {\n          return false;\n        }\n      }, {\n        key: \"visitExpression\",\n        value: function visitExpression(visitor, context) {\n          return visitor.visitCommaExpr(this, context);\n        }\n      }]);\n\n      return CommaExpr;\n    }(Expression);\n\n    var THIS_EXPR = new ReadVarExpr(BuiltinVar.This, null, null);\n    var SUPER_EXPR = new ReadVarExpr(BuiltinVar.Super, null, null);\n    var CATCH_ERROR_VAR = new ReadVarExpr(BuiltinVar.CatchError, null, null);\n    var CATCH_STACK_VAR = new ReadVarExpr(BuiltinVar.CatchStack, null, null);\n    var NULL_EXPR = new LiteralExpr(null, null, null);\n    var TYPED_NULL_EXPR = new LiteralExpr(null, INFERRED_TYPE, null); //// Statements\n\n    var StmtModifier;\n\n    (function (StmtModifier) {\n      StmtModifier[StmtModifier[\"Final\"] = 0] = \"Final\";\n      StmtModifier[StmtModifier[\"Private\"] = 1] = \"Private\";\n      StmtModifier[StmtModifier[\"Exported\"] = 2] = \"Exported\";\n      StmtModifier[StmtModifier[\"Static\"] = 3] = \"Static\";\n    })(StmtModifier || (StmtModifier = {}));\n\n    var Statement =\n    /*#__PURE__*/\n    function () {\n      function Statement(modifiers, sourceSpan) {\n        _classCallCheck(this, Statement);\n\n        this.modifiers = modifiers || [];\n        this.sourceSpan = sourceSpan || null;\n      }\n\n      _createClass2(Statement, [{\n        key: \"hasModifier\",\n        value: function hasModifier(modifier) {\n          return this.modifiers.indexOf(modifier) !== -1;\n        }\n      }]);\n\n      return Statement;\n    }();\n\n    var DeclareVarStmt =\n    /*#__PURE__*/\n    function (_Statement) {\n      _inherits(DeclareVarStmt, _Statement);\n\n      function DeclareVarStmt(name, value, type) {\n        var _this174;\n\n        var modifiers = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;\n        var sourceSpan = arguments.length > 4 ? arguments[4] : undefined;\n\n        _classCallCheck(this, DeclareVarStmt);\n\n        _this174 = _possibleConstructorReturn(this, _getPrototypeOf(DeclareVarStmt).call(this, modifiers, sourceSpan));\n        _this174.name = name;\n        _this174.value = value;\n        _this174.type = type || value && value.type || null;\n        return _this174;\n      }\n\n      _createClass2(DeclareVarStmt, [{\n        key: \"isEquivalent\",\n        value: function isEquivalent(stmt) {\n          return stmt instanceof DeclareVarStmt && this.name === stmt.name && (this.value ? !!stmt.value && this.value.isEquivalent(stmt.value) : !stmt.value);\n        }\n      }, {\n        key: \"visitStatement\",\n        value: function visitStatement(visitor, context) {\n          return visitor.visitDeclareVarStmt(this, context);\n        }\n      }]);\n\n      return DeclareVarStmt;\n    }(Statement);\n\n    var DeclareFunctionStmt =\n    /*#__PURE__*/\n    function (_Statement2) {\n      _inherits(DeclareFunctionStmt, _Statement2);\n\n      function DeclareFunctionStmt(name, params, statements, type) {\n        var _this175;\n\n        var modifiers = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : null;\n        var sourceSpan = arguments.length > 5 ? arguments[5] : undefined;\n\n        _classCallCheck(this, DeclareFunctionStmt);\n\n        _this175 = _possibleConstructorReturn(this, _getPrototypeOf(DeclareFunctionStmt).call(this, modifiers, sourceSpan));\n        _this175.name = name;\n        _this175.params = params;\n        _this175.statements = statements;\n        _this175.type = type || null;\n        return _this175;\n      }\n\n      _createClass2(DeclareFunctionStmt, [{\n        key: \"isEquivalent\",\n        value: function isEquivalent(stmt) {\n          return stmt instanceof DeclareFunctionStmt && areAllEquivalent(this.params, stmt.params) && areAllEquivalent(this.statements, stmt.statements);\n        }\n      }, {\n        key: \"visitStatement\",\n        value: function visitStatement(visitor, context) {\n          return visitor.visitDeclareFunctionStmt(this, context);\n        }\n      }]);\n\n      return DeclareFunctionStmt;\n    }(Statement);\n\n    var ExpressionStatement =\n    /*#__PURE__*/\n    function (_Statement3) {\n      _inherits(ExpressionStatement, _Statement3);\n\n      function ExpressionStatement(expr, sourceSpan) {\n        var _this176;\n\n        _classCallCheck(this, ExpressionStatement);\n\n        _this176 = _possibleConstructorReturn(this, _getPrototypeOf(ExpressionStatement).call(this, null, sourceSpan));\n        _this176.expr = expr;\n        return _this176;\n      }\n\n      _createClass2(ExpressionStatement, [{\n        key: \"isEquivalent\",\n        value: function isEquivalent(stmt) {\n          return stmt instanceof ExpressionStatement && this.expr.isEquivalent(stmt.expr);\n        }\n      }, {\n        key: \"visitStatement\",\n        value: function visitStatement(visitor, context) {\n          return visitor.visitExpressionStmt(this, context);\n        }\n      }]);\n\n      return ExpressionStatement;\n    }(Statement);\n\n    var ReturnStatement =\n    /*#__PURE__*/\n    function (_Statement4) {\n      _inherits(ReturnStatement, _Statement4);\n\n      function ReturnStatement(value, sourceSpan) {\n        var _this177;\n\n        _classCallCheck(this, ReturnStatement);\n\n        _this177 = _possibleConstructorReturn(this, _getPrototypeOf(ReturnStatement).call(this, null, sourceSpan));\n        _this177.value = value;\n        return _this177;\n      }\n\n      _createClass2(ReturnStatement, [{\n        key: \"isEquivalent\",\n        value: function isEquivalent(stmt) {\n          return stmt instanceof ReturnStatement && this.value.isEquivalent(stmt.value);\n        }\n      }, {\n        key: \"visitStatement\",\n        value: function visitStatement(visitor, context) {\n          return visitor.visitReturnStmt(this, context);\n        }\n      }]);\n\n      return ReturnStatement;\n    }(Statement);\n\n    var AbstractClassPart =\n    /*#__PURE__*/\n    function () {\n      function AbstractClassPart(type, modifiers) {\n        _classCallCheck(this, AbstractClassPart);\n\n        this.modifiers = modifiers;\n\n        if (!modifiers) {\n          this.modifiers = [];\n        }\n\n        this.type = type || null;\n      }\n\n      _createClass2(AbstractClassPart, [{\n        key: \"hasModifier\",\n        value: function hasModifier(modifier) {\n          return this.modifiers.indexOf(modifier) !== -1;\n        }\n      }]);\n\n      return AbstractClassPart;\n    }();\n\n    var ClassField =\n    /*#__PURE__*/\n    function (_AbstractClassPart) {\n      _inherits(ClassField, _AbstractClassPart);\n\n      function ClassField(name, type) {\n        var _this178;\n\n        var modifiers = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n        var initializer = arguments.length > 3 ? arguments[3] : undefined;\n\n        _classCallCheck(this, ClassField);\n\n        _this178 = _possibleConstructorReturn(this, _getPrototypeOf(ClassField).call(this, type, modifiers));\n        _this178.name = name;\n        _this178.initializer = initializer;\n        return _this178;\n      }\n\n      _createClass2(ClassField, [{\n        key: \"isEquivalent\",\n        value: function isEquivalent(f) {\n          return this.name === f.name;\n        }\n      }]);\n\n      return ClassField;\n    }(AbstractClassPart);\n\n    var ClassMethod =\n    /*#__PURE__*/\n    function (_AbstractClassPart2) {\n      _inherits(ClassMethod, _AbstractClassPart2);\n\n      function ClassMethod(name, params, body, type) {\n        var _this179;\n\n        var modifiers = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : null;\n\n        _classCallCheck(this, ClassMethod);\n\n        _this179 = _possibleConstructorReturn(this, _getPrototypeOf(ClassMethod).call(this, type, modifiers));\n        _this179.name = name;\n        _this179.params = params;\n        _this179.body = body;\n        return _this179;\n      }\n\n      _createClass2(ClassMethod, [{\n        key: \"isEquivalent\",\n        value: function isEquivalent(m) {\n          return this.name === m.name && areAllEquivalent(this.body, m.body);\n        }\n      }]);\n\n      return ClassMethod;\n    }(AbstractClassPart);\n\n    var ClassGetter =\n    /*#__PURE__*/\n    function (_AbstractClassPart3) {\n      _inherits(ClassGetter, _AbstractClassPart3);\n\n      function ClassGetter(name, body, type) {\n        var _this180;\n\n        var modifiers = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;\n\n        _classCallCheck(this, ClassGetter);\n\n        _this180 = _possibleConstructorReturn(this, _getPrototypeOf(ClassGetter).call(this, type, modifiers));\n        _this180.name = name;\n        _this180.body = body;\n        return _this180;\n      }\n\n      _createClass2(ClassGetter, [{\n        key: \"isEquivalent\",\n        value: function isEquivalent(m) {\n          return this.name === m.name && areAllEquivalent(this.body, m.body);\n        }\n      }]);\n\n      return ClassGetter;\n    }(AbstractClassPart);\n\n    var ClassStmt =\n    /*#__PURE__*/\n    function (_Statement5) {\n      _inherits(ClassStmt, _Statement5);\n\n      function ClassStmt(name, parent, fields, getters, constructorMethod, methods) {\n        var _this181;\n\n        var modifiers = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : null;\n        var sourceSpan = arguments.length > 7 ? arguments[7] : undefined;\n\n        _classCallCheck(this, ClassStmt);\n\n        _this181 = _possibleConstructorReturn(this, _getPrototypeOf(ClassStmt).call(this, modifiers, sourceSpan));\n        _this181.name = name;\n        _this181.parent = parent;\n        _this181.fields = fields;\n        _this181.getters = getters;\n        _this181.constructorMethod = constructorMethod;\n        _this181.methods = methods;\n        return _this181;\n      }\n\n      _createClass2(ClassStmt, [{\n        key: \"isEquivalent\",\n        value: function isEquivalent(stmt) {\n          return stmt instanceof ClassStmt && this.name === stmt.name && nullSafeIsEquivalent(this.parent, stmt.parent) && areAllEquivalent(this.fields, stmt.fields) && areAllEquivalent(this.getters, stmt.getters) && this.constructorMethod.isEquivalent(stmt.constructorMethod) && areAllEquivalent(this.methods, stmt.methods);\n        }\n      }, {\n        key: \"visitStatement\",\n        value: function visitStatement(visitor, context) {\n          return visitor.visitDeclareClassStmt(this, context);\n        }\n      }]);\n\n      return ClassStmt;\n    }(Statement);\n\n    var IfStmt =\n    /*#__PURE__*/\n    function (_Statement6) {\n      _inherits(IfStmt, _Statement6);\n\n      function IfStmt(condition, trueCase) {\n        var _this182;\n\n        var falseCase = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n        var sourceSpan = arguments.length > 3 ? arguments[3] : undefined;\n\n        _classCallCheck(this, IfStmt);\n\n        _this182 = _possibleConstructorReturn(this, _getPrototypeOf(IfStmt).call(this, null, sourceSpan));\n        _this182.condition = condition;\n        _this182.trueCase = trueCase;\n        _this182.falseCase = falseCase;\n        return _this182;\n      }\n\n      _createClass2(IfStmt, [{\n        key: \"isEquivalent\",\n        value: function isEquivalent(stmt) {\n          return stmt instanceof IfStmt && this.condition.isEquivalent(stmt.condition) && areAllEquivalent(this.trueCase, stmt.trueCase) && areAllEquivalent(this.falseCase, stmt.falseCase);\n        }\n      }, {\n        key: \"visitStatement\",\n        value: function visitStatement(visitor, context) {\n          return visitor.visitIfStmt(this, context);\n        }\n      }]);\n\n      return IfStmt;\n    }(Statement);\n\n    var CommentStmt =\n    /*#__PURE__*/\n    function (_Statement7) {\n      _inherits(CommentStmt, _Statement7);\n\n      function CommentStmt(comment) {\n        var _this183;\n\n        var multiline = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n        var sourceSpan = arguments.length > 2 ? arguments[2] : undefined;\n\n        _classCallCheck(this, CommentStmt);\n\n        _this183 = _possibleConstructorReturn(this, _getPrototypeOf(CommentStmt).call(this, null, sourceSpan));\n        _this183.comment = comment;\n        _this183.multiline = multiline;\n        return _this183;\n      }\n\n      _createClass2(CommentStmt, [{\n        key: \"isEquivalent\",\n        value: function isEquivalent(stmt) {\n          return stmt instanceof CommentStmt;\n        }\n      }, {\n        key: \"visitStatement\",\n        value: function visitStatement(visitor, context) {\n          return visitor.visitCommentStmt(this, context);\n        }\n      }]);\n\n      return CommentStmt;\n    }(Statement);\n\n    var JSDocCommentStmt =\n    /*#__PURE__*/\n    function (_Statement8) {\n      _inherits(JSDocCommentStmt, _Statement8);\n\n      function JSDocCommentStmt() {\n        var _this184;\n\n        var tags = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n        var sourceSpan = arguments.length > 1 ? arguments[1] : undefined;\n\n        _classCallCheck(this, JSDocCommentStmt);\n\n        _this184 = _possibleConstructorReturn(this, _getPrototypeOf(JSDocCommentStmt).call(this, null, sourceSpan));\n        _this184.tags = tags;\n        return _this184;\n      }\n\n      _createClass2(JSDocCommentStmt, [{\n        key: \"isEquivalent\",\n        value: function isEquivalent(stmt) {\n          return stmt instanceof JSDocCommentStmt && this.toString() === stmt.toString();\n        }\n      }, {\n        key: \"visitStatement\",\n        value: function visitStatement(visitor, context) {\n          return visitor.visitJSDocCommentStmt(this, context);\n        }\n      }, {\n        key: \"toString\",\n        value: function toString() {\n          return serializeTags(this.tags);\n        }\n      }]);\n\n      return JSDocCommentStmt;\n    }(Statement);\n\n    var TryCatchStmt =\n    /*#__PURE__*/\n    function (_Statement9) {\n      _inherits(TryCatchStmt, _Statement9);\n\n      function TryCatchStmt(bodyStmts, catchStmts, sourceSpan) {\n        var _this185;\n\n        _classCallCheck(this, TryCatchStmt);\n\n        _this185 = _possibleConstructorReturn(this, _getPrototypeOf(TryCatchStmt).call(this, null, sourceSpan));\n        _this185.bodyStmts = bodyStmts;\n        _this185.catchStmts = catchStmts;\n        return _this185;\n      }\n\n      _createClass2(TryCatchStmt, [{\n        key: \"isEquivalent\",\n        value: function isEquivalent(stmt) {\n          return stmt instanceof TryCatchStmt && areAllEquivalent(this.bodyStmts, stmt.bodyStmts) && areAllEquivalent(this.catchStmts, stmt.catchStmts);\n        }\n      }, {\n        key: \"visitStatement\",\n        value: function visitStatement(visitor, context) {\n          return visitor.visitTryCatchStmt(this, context);\n        }\n      }]);\n\n      return TryCatchStmt;\n    }(Statement);\n\n    var ThrowStmt =\n    /*#__PURE__*/\n    function (_Statement10) {\n      _inherits(ThrowStmt, _Statement10);\n\n      function ThrowStmt(error, sourceSpan) {\n        var _this186;\n\n        _classCallCheck(this, ThrowStmt);\n\n        _this186 = _possibleConstructorReturn(this, _getPrototypeOf(ThrowStmt).call(this, null, sourceSpan));\n        _this186.error = error;\n        return _this186;\n      }\n\n      _createClass2(ThrowStmt, [{\n        key: \"isEquivalent\",\n        value: function isEquivalent(stmt) {\n          return stmt instanceof TryCatchStmt && this.error.isEquivalent(stmt.error);\n        }\n      }, {\n        key: \"visitStatement\",\n        value: function visitStatement(visitor, context) {\n          return visitor.visitThrowStmt(this, context);\n        }\n      }]);\n\n      return ThrowStmt;\n    }(Statement);\n\n    var AstTransformer =\n    /*#__PURE__*/\n    function () {\n      function AstTransformer() {\n        _classCallCheck(this, AstTransformer);\n      }\n\n      _createClass2(AstTransformer, [{\n        key: \"transformExpr\",\n        value: function transformExpr(expr, context) {\n          return expr;\n        }\n      }, {\n        key: \"transformStmt\",\n        value: function transformStmt(stmt, context) {\n          return stmt;\n        }\n      }, {\n        key: \"visitReadVarExpr\",\n        value: function visitReadVarExpr(ast, context) {\n          return this.transformExpr(ast, context);\n        }\n      }, {\n        key: \"visitWrappedNodeExpr\",\n        value: function visitWrappedNodeExpr(ast, context) {\n          return this.transformExpr(ast, context);\n        }\n      }, {\n        key: \"visitTypeofExpr\",\n        value: function visitTypeofExpr(expr, context) {\n          return this.transformExpr(new TypeofExpr(expr.expr.visitExpression(this, context), expr.type, expr.sourceSpan), context);\n        }\n      }, {\n        key: \"visitWriteVarExpr\",\n        value: function visitWriteVarExpr(expr, context) {\n          return this.transformExpr(new WriteVarExpr(expr.name, expr.value.visitExpression(this, context), expr.type, expr.sourceSpan), context);\n        }\n      }, {\n        key: \"visitWriteKeyExpr\",\n        value: function visitWriteKeyExpr(expr, context) {\n          return this.transformExpr(new WriteKeyExpr(expr.receiver.visitExpression(this, context), expr.index.visitExpression(this, context), expr.value.visitExpression(this, context), expr.type, expr.sourceSpan), context);\n        }\n      }, {\n        key: \"visitWritePropExpr\",\n        value: function visitWritePropExpr(expr, context) {\n          return this.transformExpr(new WritePropExpr(expr.receiver.visitExpression(this, context), expr.name, expr.value.visitExpression(this, context), expr.type, expr.sourceSpan), context);\n        }\n      }, {\n        key: \"visitInvokeMethodExpr\",\n        value: function visitInvokeMethodExpr(ast, context) {\n          var method = ast.builtin || ast.name;\n          return this.transformExpr(new InvokeMethodExpr(ast.receiver.visitExpression(this, context), method, this.visitAllExpressions(ast.args, context), ast.type, ast.sourceSpan), context);\n        }\n      }, {\n        key: \"visitInvokeFunctionExpr\",\n        value: function visitInvokeFunctionExpr(ast, context) {\n          return this.transformExpr(new InvokeFunctionExpr(ast.fn.visitExpression(this, context), this.visitAllExpressions(ast.args, context), ast.type, ast.sourceSpan), context);\n        }\n      }, {\n        key: \"visitInstantiateExpr\",\n        value: function visitInstantiateExpr(ast, context) {\n          return this.transformExpr(new InstantiateExpr(ast.classExpr.visitExpression(this, context), this.visitAllExpressions(ast.args, context), ast.type, ast.sourceSpan), context);\n        }\n      }, {\n        key: \"visitLiteralExpr\",\n        value: function visitLiteralExpr(ast, context) {\n          return this.transformExpr(ast, context);\n        }\n      }, {\n        key: \"visitExternalExpr\",\n        value: function visitExternalExpr(ast, context) {\n          return this.transformExpr(ast, context);\n        }\n      }, {\n        key: \"visitConditionalExpr\",\n        value: function visitConditionalExpr(ast, context) {\n          return this.transformExpr(new ConditionalExpr(ast.condition.visitExpression(this, context), ast.trueCase.visitExpression(this, context), ast.falseCase.visitExpression(this, context), ast.type, ast.sourceSpan), context);\n        }\n      }, {\n        key: \"visitNotExpr\",\n        value: function visitNotExpr(ast, context) {\n          return this.transformExpr(new NotExpr(ast.condition.visitExpression(this, context), ast.sourceSpan), context);\n        }\n      }, {\n        key: \"visitAssertNotNullExpr\",\n        value: function visitAssertNotNullExpr(ast, context) {\n          return this.transformExpr(new AssertNotNull(ast.condition.visitExpression(this, context), ast.sourceSpan), context);\n        }\n      }, {\n        key: \"visitCastExpr\",\n        value: function visitCastExpr(ast, context) {\n          return this.transformExpr(new CastExpr(ast.value.visitExpression(this, context), ast.type, ast.sourceSpan), context);\n        }\n      }, {\n        key: \"visitFunctionExpr\",\n        value: function visitFunctionExpr(ast, context) {\n          return this.transformExpr(new FunctionExpr(ast.params, this.visitAllStatements(ast.statements, context), ast.type, ast.sourceSpan), context);\n        }\n      }, {\n        key: \"visitBinaryOperatorExpr\",\n        value: function visitBinaryOperatorExpr(ast, context) {\n          return this.transformExpr(new BinaryOperatorExpr(ast.operator, ast.lhs.visitExpression(this, context), ast.rhs.visitExpression(this, context), ast.type, ast.sourceSpan), context);\n        }\n      }, {\n        key: \"visitReadPropExpr\",\n        value: function visitReadPropExpr(ast, context) {\n          return this.transformExpr(new ReadPropExpr(ast.receiver.visitExpression(this, context), ast.name, ast.type, ast.sourceSpan), context);\n        }\n      }, {\n        key: \"visitReadKeyExpr\",\n        value: function visitReadKeyExpr(ast, context) {\n          return this.transformExpr(new ReadKeyExpr(ast.receiver.visitExpression(this, context), ast.index.visitExpression(this, context), ast.type, ast.sourceSpan), context);\n        }\n      }, {\n        key: \"visitLiteralArrayExpr\",\n        value: function visitLiteralArrayExpr(ast, context) {\n          return this.transformExpr(new LiteralArrayExpr(this.visitAllExpressions(ast.entries, context), ast.type, ast.sourceSpan), context);\n        }\n      }, {\n        key: \"visitLiteralMapExpr\",\n        value: function visitLiteralMapExpr(ast, context) {\n          var _this187 = this;\n\n          var entries = ast.entries.map(function (entry) {\n            return new LiteralMapEntry(entry.key, entry.value.visitExpression(_this187, context), entry.quoted);\n          });\n          var mapType = new MapType(ast.valueType, null);\n          return this.transformExpr(new LiteralMapExpr(entries, mapType, ast.sourceSpan), context);\n        }\n      }, {\n        key: \"visitCommaExpr\",\n        value: function visitCommaExpr(ast, context) {\n          return this.transformExpr(new CommaExpr(this.visitAllExpressions(ast.parts, context), ast.sourceSpan), context);\n        }\n      }, {\n        key: \"visitAllExpressions\",\n        value: function visitAllExpressions(exprs, context) {\n          var _this188 = this;\n\n          return exprs.map(function (expr) {\n            return expr.visitExpression(_this188, context);\n          });\n        }\n      }, {\n        key: \"visitDeclareVarStmt\",\n        value: function visitDeclareVarStmt(stmt, context) {\n          var value = stmt.value && stmt.value.visitExpression(this, context);\n          return this.transformStmt(new DeclareVarStmt(stmt.name, value, stmt.type, stmt.modifiers, stmt.sourceSpan), context);\n        }\n      }, {\n        key: \"visitDeclareFunctionStmt\",\n        value: function visitDeclareFunctionStmt(stmt, context) {\n          return this.transformStmt(new DeclareFunctionStmt(stmt.name, stmt.params, this.visitAllStatements(stmt.statements, context), stmt.type, stmt.modifiers, stmt.sourceSpan), context);\n        }\n      }, {\n        key: \"visitExpressionStmt\",\n        value: function visitExpressionStmt(stmt, context) {\n          return this.transformStmt(new ExpressionStatement(stmt.expr.visitExpression(this, context), stmt.sourceSpan), context);\n        }\n      }, {\n        key: \"visitReturnStmt\",\n        value: function visitReturnStmt(stmt, context) {\n          return this.transformStmt(new ReturnStatement(stmt.value.visitExpression(this, context), stmt.sourceSpan), context);\n        }\n      }, {\n        key: \"visitDeclareClassStmt\",\n        value: function visitDeclareClassStmt(stmt, context) {\n          var _this189 = this;\n\n          var parent = stmt.parent.visitExpression(this, context);\n          var getters = stmt.getters.map(function (getter) {\n            return new ClassGetter(getter.name, _this189.visitAllStatements(getter.body, context), getter.type, getter.modifiers);\n          });\n          var ctorMethod = stmt.constructorMethod && new ClassMethod(stmt.constructorMethod.name, stmt.constructorMethod.params, this.visitAllStatements(stmt.constructorMethod.body, context), stmt.constructorMethod.type, stmt.constructorMethod.modifiers);\n          var methods = stmt.methods.map(function (method) {\n            return new ClassMethod(method.name, method.params, _this189.visitAllStatements(method.body, context), method.type, method.modifiers);\n          });\n          return this.transformStmt(new ClassStmt(stmt.name, parent, stmt.fields, getters, ctorMethod, methods, stmt.modifiers, stmt.sourceSpan), context);\n        }\n      }, {\n        key: \"visitIfStmt\",\n        value: function visitIfStmt(stmt, context) {\n          return this.transformStmt(new IfStmt(stmt.condition.visitExpression(this, context), this.visitAllStatements(stmt.trueCase, context), this.visitAllStatements(stmt.falseCase, context), stmt.sourceSpan), context);\n        }\n      }, {\n        key: \"visitTryCatchStmt\",\n        value: function visitTryCatchStmt(stmt, context) {\n          return this.transformStmt(new TryCatchStmt(this.visitAllStatements(stmt.bodyStmts, context), this.visitAllStatements(stmt.catchStmts, context), stmt.sourceSpan), context);\n        }\n      }, {\n        key: \"visitThrowStmt\",\n        value: function visitThrowStmt(stmt, context) {\n          return this.transformStmt(new ThrowStmt(stmt.error.visitExpression(this, context), stmt.sourceSpan), context);\n        }\n      }, {\n        key: \"visitCommentStmt\",\n        value: function visitCommentStmt(stmt, context) {\n          return this.transformStmt(stmt, context);\n        }\n      }, {\n        key: \"visitJSDocCommentStmt\",\n        value: function visitJSDocCommentStmt(stmt, context) {\n          return this.transformStmt(stmt, context);\n        }\n      }, {\n        key: \"visitAllStatements\",\n        value: function visitAllStatements(stmts, context) {\n          var _this190 = this;\n\n          return stmts.map(function (stmt) {\n            return stmt.visitStatement(_this190, context);\n          });\n        }\n      }]);\n\n      return AstTransformer;\n    }();\n\n    var RecursiveAstVisitor =\n    /*#__PURE__*/\n    function () {\n      function RecursiveAstVisitor() {\n        _classCallCheck(this, RecursiveAstVisitor);\n      }\n\n      _createClass2(RecursiveAstVisitor, [{\n        key: \"visitType\",\n        value: function visitType(ast, context) {\n          return ast;\n        }\n      }, {\n        key: \"visitExpression\",\n        value: function visitExpression(ast, context) {\n          if (ast.type) {\n            ast.type.visitType(this, context);\n          }\n\n          return ast;\n        }\n      }, {\n        key: \"visitBuiltinType\",\n        value: function visitBuiltinType(type, context) {\n          return this.visitType(type, context);\n        }\n      }, {\n        key: \"visitExpressionType\",\n        value: function visitExpressionType(type, context) {\n          var _this191 = this;\n\n          type.value.visitExpression(this, context);\n\n          if (type.typeParams !== null) {\n            type.typeParams.forEach(function (param) {\n              return _this191.visitType(param, context);\n            });\n          }\n\n          return this.visitType(type, context);\n        }\n      }, {\n        key: \"visitArrayType\",\n        value: function visitArrayType(type, context) {\n          return this.visitType(type, context);\n        }\n      }, {\n        key: \"visitMapType\",\n        value: function visitMapType(type, context) {\n          return this.visitType(type, context);\n        }\n      }, {\n        key: \"visitWrappedNodeExpr\",\n        value: function visitWrappedNodeExpr(ast, context) {\n          return ast;\n        }\n      }, {\n        key: \"visitTypeofExpr\",\n        value: function visitTypeofExpr(ast, context) {\n          return this.visitExpression(ast, context);\n        }\n      }, {\n        key: \"visitReadVarExpr\",\n        value: function visitReadVarExpr(ast, context) {\n          return this.visitExpression(ast, context);\n        }\n      }, {\n        key: \"visitWriteVarExpr\",\n        value: function visitWriteVarExpr(ast, context) {\n          ast.value.visitExpression(this, context);\n          return this.visitExpression(ast, context);\n        }\n      }, {\n        key: \"visitWriteKeyExpr\",\n        value: function visitWriteKeyExpr(ast, context) {\n          ast.receiver.visitExpression(this, context);\n          ast.index.visitExpression(this, context);\n          ast.value.visitExpression(this, context);\n          return this.visitExpression(ast, context);\n        }\n      }, {\n        key: \"visitWritePropExpr\",\n        value: function visitWritePropExpr(ast, context) {\n          ast.receiver.visitExpression(this, context);\n          ast.value.visitExpression(this, context);\n          return this.visitExpression(ast, context);\n        }\n      }, {\n        key: \"visitInvokeMethodExpr\",\n        value: function visitInvokeMethodExpr(ast, context) {\n          ast.receiver.visitExpression(this, context);\n          this.visitAllExpressions(ast.args, context);\n          return this.visitExpression(ast, context);\n        }\n      }, {\n        key: \"visitInvokeFunctionExpr\",\n        value: function visitInvokeFunctionExpr(ast, context) {\n          ast.fn.visitExpression(this, context);\n          this.visitAllExpressions(ast.args, context);\n          return this.visitExpression(ast, context);\n        }\n      }, {\n        key: \"visitInstantiateExpr\",\n        value: function visitInstantiateExpr(ast, context) {\n          ast.classExpr.visitExpression(this, context);\n          this.visitAllExpressions(ast.args, context);\n          return this.visitExpression(ast, context);\n        }\n      }, {\n        key: \"visitLiteralExpr\",\n        value: function visitLiteralExpr(ast, context) {\n          return this.visitExpression(ast, context);\n        }\n      }, {\n        key: \"visitExternalExpr\",\n        value: function visitExternalExpr(ast, context) {\n          var _this192 = this;\n\n          if (ast.typeParams) {\n            ast.typeParams.forEach(function (type) {\n              return type.visitType(_this192, context);\n            });\n          }\n\n          return this.visitExpression(ast, context);\n        }\n      }, {\n        key: \"visitConditionalExpr\",\n        value: function visitConditionalExpr(ast, context) {\n          ast.condition.visitExpression(this, context);\n          ast.trueCase.visitExpression(this, context);\n          ast.falseCase.visitExpression(this, context);\n          return this.visitExpression(ast, context);\n        }\n      }, {\n        key: \"visitNotExpr\",\n        value: function visitNotExpr(ast, context) {\n          ast.condition.visitExpression(this, context);\n          return this.visitExpression(ast, context);\n        }\n      }, {\n        key: \"visitAssertNotNullExpr\",\n        value: function visitAssertNotNullExpr(ast, context) {\n          ast.condition.visitExpression(this, context);\n          return this.visitExpression(ast, context);\n        }\n      }, {\n        key: \"visitCastExpr\",\n        value: function visitCastExpr(ast, context) {\n          ast.value.visitExpression(this, context);\n          return this.visitExpression(ast, context);\n        }\n      }, {\n        key: \"visitFunctionExpr\",\n        value: function visitFunctionExpr(ast, context) {\n          this.visitAllStatements(ast.statements, context);\n          return this.visitExpression(ast, context);\n        }\n      }, {\n        key: \"visitBinaryOperatorExpr\",\n        value: function visitBinaryOperatorExpr(ast, context) {\n          ast.lhs.visitExpression(this, context);\n          ast.rhs.visitExpression(this, context);\n          return this.visitExpression(ast, context);\n        }\n      }, {\n        key: \"visitReadPropExpr\",\n        value: function visitReadPropExpr(ast, context) {\n          ast.receiver.visitExpression(this, context);\n          return this.visitExpression(ast, context);\n        }\n      }, {\n        key: \"visitReadKeyExpr\",\n        value: function visitReadKeyExpr(ast, context) {\n          ast.receiver.visitExpression(this, context);\n          ast.index.visitExpression(this, context);\n          return this.visitExpression(ast, context);\n        }\n      }, {\n        key: \"visitLiteralArrayExpr\",\n        value: function visitLiteralArrayExpr(ast, context) {\n          this.visitAllExpressions(ast.entries, context);\n          return this.visitExpression(ast, context);\n        }\n      }, {\n        key: \"visitLiteralMapExpr\",\n        value: function visitLiteralMapExpr(ast, context) {\n          var _this193 = this;\n\n          ast.entries.forEach(function (entry) {\n            return entry.value.visitExpression(_this193, context);\n          });\n          return this.visitExpression(ast, context);\n        }\n      }, {\n        key: \"visitCommaExpr\",\n        value: function visitCommaExpr(ast, context) {\n          this.visitAllExpressions(ast.parts, context);\n          return this.visitExpression(ast, context);\n        }\n      }, {\n        key: \"visitAllExpressions\",\n        value: function visitAllExpressions(exprs, context) {\n          var _this194 = this;\n\n          exprs.forEach(function (expr) {\n            return expr.visitExpression(_this194, context);\n          });\n        }\n      }, {\n        key: \"visitDeclareVarStmt\",\n        value: function visitDeclareVarStmt(stmt, context) {\n          if (stmt.value) {\n            stmt.value.visitExpression(this, context);\n          }\n\n          if (stmt.type) {\n            stmt.type.visitType(this, context);\n          }\n\n          return stmt;\n        }\n      }, {\n        key: \"visitDeclareFunctionStmt\",\n        value: function visitDeclareFunctionStmt(stmt, context) {\n          this.visitAllStatements(stmt.statements, context);\n\n          if (stmt.type) {\n            stmt.type.visitType(this, context);\n          }\n\n          return stmt;\n        }\n      }, {\n        key: \"visitExpressionStmt\",\n        value: function visitExpressionStmt(stmt, context) {\n          stmt.expr.visitExpression(this, context);\n          return stmt;\n        }\n      }, {\n        key: \"visitReturnStmt\",\n        value: function visitReturnStmt(stmt, context) {\n          stmt.value.visitExpression(this, context);\n          return stmt;\n        }\n      }, {\n        key: \"visitDeclareClassStmt\",\n        value: function visitDeclareClassStmt(stmt, context) {\n          var _this195 = this;\n\n          stmt.parent.visitExpression(this, context);\n          stmt.getters.forEach(function (getter) {\n            return _this195.visitAllStatements(getter.body, context);\n          });\n\n          if (stmt.constructorMethod) {\n            this.visitAllStatements(stmt.constructorMethod.body, context);\n          }\n\n          stmt.methods.forEach(function (method) {\n            return _this195.visitAllStatements(method.body, context);\n          });\n          return stmt;\n        }\n      }, {\n        key: \"visitIfStmt\",\n        value: function visitIfStmt(stmt, context) {\n          stmt.condition.visitExpression(this, context);\n          this.visitAllStatements(stmt.trueCase, context);\n          this.visitAllStatements(stmt.falseCase, context);\n          return stmt;\n        }\n      }, {\n        key: \"visitTryCatchStmt\",\n        value: function visitTryCatchStmt(stmt, context) {\n          this.visitAllStatements(stmt.bodyStmts, context);\n          this.visitAllStatements(stmt.catchStmts, context);\n          return stmt;\n        }\n      }, {\n        key: \"visitThrowStmt\",\n        value: function visitThrowStmt(stmt, context) {\n          stmt.error.visitExpression(this, context);\n          return stmt;\n        }\n      }, {\n        key: \"visitCommentStmt\",\n        value: function visitCommentStmt(stmt, context) {\n          return stmt;\n        }\n      }, {\n        key: \"visitJSDocCommentStmt\",\n        value: function visitJSDocCommentStmt(stmt, context) {\n          return stmt;\n        }\n      }, {\n        key: \"visitAllStatements\",\n        value: function visitAllStatements(stmts, context) {\n          var _this196 = this;\n\n          stmts.forEach(function (stmt) {\n            return stmt.visitStatement(_this196, context);\n          });\n        }\n      }]);\n\n      return RecursiveAstVisitor;\n    }();\n\n    function findReadVarNames(stmts) {\n      var visitor = new _ReadVarVisitor();\n      visitor.visitAllStatements(stmts, null);\n      return visitor.varNames;\n    }\n\n    var _ReadVarVisitor =\n    /*#__PURE__*/\n    function (_RecursiveAstVisitor) {\n      _inherits(_ReadVarVisitor, _RecursiveAstVisitor);\n\n      function _ReadVarVisitor() {\n        var _this197;\n\n        _classCallCheck(this, _ReadVarVisitor);\n\n        _this197 = _possibleConstructorReturn(this, _getPrototypeOf(_ReadVarVisitor).apply(this, arguments));\n        _this197.varNames = new Set();\n        return _this197;\n      }\n\n      _createClass2(_ReadVarVisitor, [{\n        key: \"visitDeclareFunctionStmt\",\n        value: function visitDeclareFunctionStmt(stmt, context) {\n          // Don't descend into nested functions\n          return stmt;\n        }\n      }, {\n        key: \"visitDeclareClassStmt\",\n        value: function visitDeclareClassStmt(stmt, context) {\n          // Don't descend into nested classes\n          return stmt;\n        }\n      }, {\n        key: \"visitReadVarExpr\",\n        value: function visitReadVarExpr(ast, context) {\n          if (ast.name) {\n            this.varNames.add(ast.name);\n          }\n\n          return null;\n        }\n      }]);\n\n      return _ReadVarVisitor;\n    }(RecursiveAstVisitor);\n\n    function collectExternalReferences(stmts) {\n      var visitor = new _FindExternalReferencesVisitor();\n      visitor.visitAllStatements(stmts, null);\n      return visitor.externalReferences;\n    }\n\n    var _FindExternalReferencesVisitor =\n    /*#__PURE__*/\n    function (_RecursiveAstVisitor2) {\n      _inherits(_FindExternalReferencesVisitor, _RecursiveAstVisitor2);\n\n      function _FindExternalReferencesVisitor() {\n        var _this198;\n\n        _classCallCheck(this, _FindExternalReferencesVisitor);\n\n        _this198 = _possibleConstructorReturn(this, _getPrototypeOf(_FindExternalReferencesVisitor).apply(this, arguments));\n        _this198.externalReferences = [];\n        return _this198;\n      }\n\n      _createClass2(_FindExternalReferencesVisitor, [{\n        key: \"visitExternalExpr\",\n        value: function visitExternalExpr(e, context) {\n          this.externalReferences.push(e.value);\n          return _get(_getPrototypeOf(_FindExternalReferencesVisitor.prototype), \"visitExternalExpr\", this).call(this, e, context);\n        }\n      }]);\n\n      return _FindExternalReferencesVisitor;\n    }(RecursiveAstVisitor);\n\n    function applySourceSpanToStatementIfNeeded(stmt, sourceSpan) {\n      if (!sourceSpan) {\n        return stmt;\n      }\n\n      var transformer = new _ApplySourceSpanTransformer(sourceSpan);\n      return stmt.visitStatement(transformer, null);\n    }\n\n    function applySourceSpanToExpressionIfNeeded(expr, sourceSpan) {\n      if (!sourceSpan) {\n        return expr;\n      }\n\n      var transformer = new _ApplySourceSpanTransformer(sourceSpan);\n      return expr.visitExpression(transformer, null);\n    }\n\n    var _ApplySourceSpanTransformer =\n    /*#__PURE__*/\n    function (_AstTransformer) {\n      _inherits(_ApplySourceSpanTransformer, _AstTransformer);\n\n      function _ApplySourceSpanTransformer(sourceSpan) {\n        var _this199;\n\n        _classCallCheck(this, _ApplySourceSpanTransformer);\n\n        _this199 = _possibleConstructorReturn(this, _getPrototypeOf(_ApplySourceSpanTransformer).call(this));\n        _this199.sourceSpan = sourceSpan;\n        return _this199;\n      }\n\n      _createClass2(_ApplySourceSpanTransformer, [{\n        key: \"_clone\",\n        value: function _clone(obj) {\n          var clone = Object.create(obj.constructor.prototype);\n\n          for (var _i15 = 0, _Object$keys2 = Object.keys(obj); _i15 < _Object$keys2.length; _i15++) {\n            var prop = _Object$keys2[_i15];\n            clone[prop] = obj[prop];\n          }\n\n          return clone;\n        }\n      }, {\n        key: \"transformExpr\",\n        value: function transformExpr(expr, context) {\n          if (!expr.sourceSpan) {\n            expr = this._clone(expr);\n            expr.sourceSpan = this.sourceSpan;\n          }\n\n          return expr;\n        }\n      }, {\n        key: \"transformStmt\",\n        value: function transformStmt(stmt, context) {\n          if (!stmt.sourceSpan) {\n            stmt = this._clone(stmt);\n            stmt.sourceSpan = this.sourceSpan;\n          }\n\n          return stmt;\n        }\n      }]);\n\n      return _ApplySourceSpanTransformer;\n    }(AstTransformer);\n\n    function variable(name, type, sourceSpan) {\n      return new ReadVarExpr(name, type, sourceSpan);\n    }\n\n    function importExpr(id) {\n      var typeParams = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n      var sourceSpan = arguments.length > 2 ? arguments[2] : undefined;\n      return new ExternalExpr(id, null, typeParams, sourceSpan);\n    }\n\n    function importType(id) {\n      var typeParams = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n      var typeModifiers = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n      return id != null ? expressionType(importExpr(id, typeParams, null), typeModifiers) : null;\n    }\n\n    function expressionType(expr) {\n      var typeModifiers = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n      var typeParams = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n      return new ExpressionType(expr, typeModifiers, typeParams);\n    }\n\n    function typeofExpr(expr) {\n      return new TypeofExpr(expr);\n    }\n\n    function literalArr(values, type, sourceSpan) {\n      return new LiteralArrayExpr(values, type, sourceSpan);\n    }\n\n    function literalMap(values) {\n      var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n      return new LiteralMapExpr(values.map(function (e) {\n        return new LiteralMapEntry(e.key, e.value, e.quoted);\n      }), type, null);\n    }\n\n    function not(expr, sourceSpan) {\n      return new NotExpr(expr, sourceSpan);\n    }\n\n    function assertNotNull(expr, sourceSpan) {\n      return new AssertNotNull(expr, sourceSpan);\n    }\n\n    function fn(params, body, type, sourceSpan, name) {\n      return new FunctionExpr(params, body, type, sourceSpan, name);\n    }\n\n    function ifStmt(condition, thenClause, elseClause) {\n      return new IfStmt(condition, thenClause, elseClause);\n    }\n\n    function literal(value, type, sourceSpan) {\n      return new LiteralExpr(value, type, sourceSpan);\n    }\n\n    function isNull(exp) {\n      return exp instanceof LiteralExpr && exp.value === null;\n    }\n    /*\n     * Serializes a `Tag` into a string.\n     * Returns a string like \" @foo {bar} baz\" (note the leading whitespace before `@foo`).\n     */\n\n\n    function tagToString(tag) {\n      var out = '';\n\n      if (tag.tagName) {\n        out += \" @\".concat(tag.tagName);\n      }\n\n      if (tag.text) {\n        if (tag.text.match(/\\/\\*|\\*\\//)) {\n          throw new Error('JSDoc text cannot contain \"/*\" and \"*/\"');\n        }\n\n        out += ' ' + tag.text.replace(/@/g, '\\\\@');\n      }\n\n      return out;\n    }\n\n    function serializeTags(tags) {\n      if (tags.length === 0) return '';\n      var out = '*\\n';\n      var _iteratorNormalCompletion9 = true;\n      var _didIteratorError9 = false;\n      var _iteratorError9 = undefined;\n\n      try {\n        for (var _iterator9 = tags[Symbol.iterator](), _step9; !(_iteratorNormalCompletion9 = (_step9 = _iterator9.next()).done); _iteratorNormalCompletion9 = true) {\n          var tag = _step9.value;\n          out += ' *'; // If the tagToString is multi-line, insert \" * \" prefixes on subsequent lines.\n\n          out += tagToString(tag).replace(/\\n/g, '\\n * ');\n          out += '\\n';\n        }\n      } catch (err) {\n        _didIteratorError9 = true;\n        _iteratorError9 = err;\n      } finally {\n        try {\n          if (!_iteratorNormalCompletion9 && _iterator9.return != null) {\n            _iterator9.return();\n          }\n        } finally {\n          if (_didIteratorError9) {\n            throw _iteratorError9;\n          }\n        }\n      }\n\n      out += ' ';\n      return out;\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var DASH_CASE_REGEXP = /-+([a-z0-9])/g;\n\n    function dashCaseToCamelCase(input) {\n      return input.replace(DASH_CASE_REGEXP, function () {\n        for (var _len7 = arguments.length, m = new Array(_len7), _key8 = 0; _key8 < _len7; _key8++) {\n          m[_key8] = arguments[_key8];\n        }\n\n        return m[1].toUpperCase();\n      });\n    }\n\n    function splitAtColon(input, defaultValues) {\n      return _splitAt(input, ':', defaultValues);\n    }\n\n    function splitAtPeriod(input, defaultValues) {\n      return _splitAt(input, '.', defaultValues);\n    }\n\n    function _splitAt(input, character, defaultValues) {\n      var characterIndex = input.indexOf(character);\n      if (characterIndex == -1) return defaultValues;\n      return [input.slice(0, characterIndex).trim(), input.slice(characterIndex + 1).trim()];\n    }\n\n    function visitValue(value, visitor, context) {\n      if (Array.isArray(value)) {\n        return visitor.visitArray(value, context);\n      }\n\n      if (isStrictStringMap(value)) {\n        return visitor.visitStringMap(value, context);\n      }\n\n      if (value == null || typeof value == 'string' || typeof value == 'number' || typeof value == 'boolean') {\n        return visitor.visitPrimitive(value, context);\n      }\n\n      return visitor.visitOther(value, context);\n    }\n\n    function isDefined(val) {\n      return val !== null && val !== undefined;\n    }\n\n    function noUndefined(val) {\n      return val === undefined ? null : val;\n    }\n\n    var ValueTransformer =\n    /*#__PURE__*/\n    function () {\n      function ValueTransformer() {\n        _classCallCheck(this, ValueTransformer);\n      }\n\n      _createClass2(ValueTransformer, [{\n        key: \"visitArray\",\n        value: function visitArray(arr, context) {\n          var _this200 = this;\n\n          return arr.map(function (value) {\n            return visitValue(value, _this200, context);\n          });\n        }\n      }, {\n        key: \"visitStringMap\",\n        value: function visitStringMap(map, context) {\n          var _this201 = this;\n\n          var result = {};\n          Object.keys(map).forEach(function (key) {\n            result[key] = visitValue(map[key], _this201, context);\n          });\n          return result;\n        }\n      }, {\n        key: \"visitPrimitive\",\n        value: function visitPrimitive(value, context) {\n          return value;\n        }\n      }, {\n        key: \"visitOther\",\n        value: function visitOther(value, context) {\n          return value;\n        }\n      }]);\n\n      return ValueTransformer;\n    }();\n\n    var SyncAsync = {\n      assertSync: function assertSync(value) {\n        if (isPromise(value)) {\n          throw new Error(\"Illegal state: value cannot be a promise\");\n        }\n\n        return value;\n      },\n      then: function then(value, cb) {\n        return isPromise(value) ? value.then(cb) : cb(value);\n      },\n      all: function all(syncAsyncValues) {\n        return syncAsyncValues.some(isPromise) ? Promise.all(syncAsyncValues) : syncAsyncValues;\n      }\n    };\n\n    function error(msg) {\n      throw new Error(\"Internal Error: \".concat(msg));\n    }\n\n    function syntaxError(msg, parseErrors) {\n      var error = Error(msg);\n      error[ERROR_SYNTAX_ERROR] = true;\n      if (parseErrors) error[ERROR_PARSE_ERRORS] = parseErrors;\n      return error;\n    }\n\n    var ERROR_SYNTAX_ERROR = 'ngSyntaxError';\n    var ERROR_PARSE_ERRORS = 'ngParseErrors';\n\n    function isSyntaxError(error) {\n      return error[ERROR_SYNTAX_ERROR];\n    }\n\n    function getParseErrors(error) {\n      return error[ERROR_PARSE_ERRORS] || [];\n    } // Escape characters that have a special meaning in Regular Expressions\n\n\n    function escapeRegExp(s) {\n      return s.replace(/([.*+?^=!:${}()|[\\]\\/\\\\])/g, '\\\\$1');\n    }\n\n    var STRING_MAP_PROTO = Object.getPrototypeOf({});\n\n    function isStrictStringMap(obj) {\n      return typeof obj === 'object' && obj !== null && Object.getPrototypeOf(obj) === STRING_MAP_PROTO;\n    }\n\n    function utf8Encode(str) {\n      var encoded = '';\n\n      for (var index = 0; index < str.length; index++) {\n        var codePoint = str.charCodeAt(index); // decode surrogate\n        // see https://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae\n\n        if (codePoint >= 0xd800 && codePoint <= 0xdbff && str.length > index + 1) {\n          var low = str.charCodeAt(index + 1);\n\n          if (low >= 0xdc00 && low <= 0xdfff) {\n            index++;\n            codePoint = (codePoint - 0xd800 << 10) + low - 0xdc00 + 0x10000;\n          }\n        }\n\n        if (codePoint <= 0x7f) {\n          encoded += String.fromCharCode(codePoint);\n        } else if (codePoint <= 0x7ff) {\n          encoded += String.fromCharCode(codePoint >> 6 & 0x1F | 0xc0, codePoint & 0x3f | 0x80);\n        } else if (codePoint <= 0xffff) {\n          encoded += String.fromCharCode(codePoint >> 12 | 0xe0, codePoint >> 6 & 0x3f | 0x80, codePoint & 0x3f | 0x80);\n        } else if (codePoint <= 0x1fffff) {\n          encoded += String.fromCharCode(codePoint >> 18 & 0x07 | 0xf0, codePoint >> 12 & 0x3f | 0x80, codePoint >> 6 & 0x3f | 0x80, codePoint & 0x3f | 0x80);\n        }\n      }\n\n      return encoded;\n    }\n\n    function stringify(token) {\n      if (typeof token === 'string') {\n        return token;\n      }\n\n      if (token instanceof Array) {\n        return '[' + token.map(stringify).join(', ') + ']';\n      }\n\n      if (token == null) {\n        return '' + token;\n      }\n\n      if (token.overriddenName) {\n        return \"\".concat(token.overriddenName);\n      }\n\n      if (token.name) {\n        return \"\".concat(token.name);\n      }\n\n      if (!token.toString) {\n        return 'object';\n      } // WARNING: do not try to `JSON.stringify(token)` here\n      // see https://github.com/angular/angular/issues/23440\n\n\n      var res = token.toString();\n\n      if (res == null) {\n        return '' + res;\n      }\n\n      var newLineIndex = res.indexOf('\\n');\n      return newLineIndex === -1 ? res : res.substring(0, newLineIndex);\n    }\n    /**\n     * Lazily retrieves the reference value from a forwardRef.\n     */\n\n\n    function resolveForwardRef(type) {\n      if (typeof type === 'function' && type.hasOwnProperty('__forward_ref__')) {\n        return type();\n      } else {\n        return type;\n      }\n    }\n    /**\n     * Determine if the argument is shaped like a Promise\n     */\n\n\n    function isPromise(obj) {\n      // allow any Promise/A+ compliant thenable.\n      // It's up to the caller to ensure that obj.then conforms to the spec\n      return !!obj && typeof obj.then === 'function';\n    }\n\n    var Version = function Version(full) {\n      _classCallCheck(this, Version);\n\n      this.full = full;\n      var splits = full.split('.');\n      this.major = splits[0];\n      this.minor = splits[1];\n      this.patch = splits.slice(2).join('.');\n    };\n\n    var __window = typeof window !== 'undefined' && window;\n\n    var __self = typeof self !== 'undefined' && typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope && self;\n\n    var __global = typeof global !== 'undefined' && global; // Check __global first, because in Node tests both __global and __window may be defined and _global\n    // should be __global in that case.\n\n\n    var _global = __global || __window || __self;\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var CONSTANT_PREFIX = '_c';\n    /**\n     * Context to use when producing a key.\n     *\n     * This ensures we see the constant not the reference variable when producing\n     * a key.\n     */\n\n    var KEY_CONTEXT = {};\n    /**\n     * A node that is a place-holder that allows the node to be replaced when the actual\n     * node is known.\n     *\n     * This allows the constant pool to change an expression from a direct reference to\n     * a constant to a shared constant. It returns a fix-up node that is later allowed to\n     * change the referenced expression.\n     */\n\n    var FixupExpression =\n    /*#__PURE__*/\n    function (_Expression23) {\n      _inherits(FixupExpression, _Expression23);\n\n      function FixupExpression(resolved) {\n        var _this202;\n\n        _classCallCheck(this, FixupExpression);\n\n        _this202 = _possibleConstructorReturn(this, _getPrototypeOf(FixupExpression).call(this, resolved.type));\n        _this202.resolved = resolved;\n        _this202.original = resolved;\n        return _this202;\n      }\n\n      _createClass2(FixupExpression, [{\n        key: \"visitExpression\",\n        value: function visitExpression(visitor, context) {\n          if (context === KEY_CONTEXT) {\n            // When producing a key we want to traverse the constant not the\n            // variable used to refer to it.\n            return this.original.visitExpression(visitor, context);\n          } else {\n            return this.resolved.visitExpression(visitor, context);\n          }\n        }\n      }, {\n        key: \"isEquivalent\",\n        value: function isEquivalent(e) {\n          return e instanceof FixupExpression && this.resolved.isEquivalent(e.resolved);\n        }\n      }, {\n        key: \"isConstant\",\n        value: function isConstant() {\n          return true;\n        }\n      }, {\n        key: \"fixup\",\n        value: function fixup(expression) {\n          this.resolved = expression;\n          this.shared = true;\n        }\n      }]);\n\n      return FixupExpression;\n    }(Expression);\n    /**\n     * A constant pool allows a code emitter to share constant in an output context.\n     *\n     * The constant pool also supports sharing access to ivy definitions references.\n     */\n\n\n    var ConstantPool =\n    /*#__PURE__*/\n    function () {\n      function ConstantPool() {\n        _classCallCheck(this, ConstantPool);\n\n        this.statements = [];\n        this.literals = new Map();\n        this.literalFactories = new Map();\n        this.injectorDefinitions = new Map();\n        this.directiveDefinitions = new Map();\n        this.componentDefinitions = new Map();\n        this.pipeDefinitions = new Map();\n        this.nextNameIndex = 0;\n      }\n\n      _createClass2(ConstantPool, [{\n        key: \"getConstLiteral\",\n        value: function getConstLiteral(literal, forceShared) {\n          if (literal instanceof LiteralExpr || literal instanceof FixupExpression) {\n            // Do no put simple literals into the constant pool or try to produce a constant for a\n            // reference to a constant.\n            return literal;\n          }\n\n          var key = this.keyOf(literal);\n          var fixup = this.literals.get(key);\n          var newValue = false;\n\n          if (!fixup) {\n            fixup = new FixupExpression(literal);\n            this.literals.set(key, fixup);\n            newValue = true;\n          }\n\n          if (!newValue && !fixup.shared || newValue && forceShared) {\n            // Replace the expression with a variable\n            var name = this.freshName();\n            this.statements.push(variable(name).set(literal).toDeclStmt(INFERRED_TYPE, [StmtModifier.Final]));\n            fixup.fixup(variable(name));\n          }\n\n          return fixup;\n        }\n      }, {\n        key: \"getDefinition\",\n        value: function getDefinition(type, kind, ctx) {\n          var forceShared = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;\n          var definitions = this.definitionsOf(kind);\n          var fixup = definitions.get(type);\n          var newValue = false;\n\n          if (!fixup) {\n            var property = this.propertyNameOf(kind);\n            fixup = new FixupExpression(ctx.importExpr(type).prop(property));\n            definitions.set(type, fixup);\n            newValue = true;\n          }\n\n          if (!newValue && !fixup.shared || newValue && forceShared) {\n            var name = this.freshName();\n            this.statements.push(variable(name).set(fixup.resolved).toDeclStmt(INFERRED_TYPE, [StmtModifier.Final]));\n            fixup.fixup(variable(name));\n          }\n\n          return fixup;\n        }\n      }, {\n        key: \"getLiteralFactory\",\n        value: function getLiteralFactory(literal$1) {\n          // Create a pure function that builds an array of a mix of constant  and variable expressions\n          if (literal$1 instanceof LiteralArrayExpr) {\n            var argumentsForKey = literal$1.entries.map(function (e) {\n              return e.isConstant() ? e : literal(null);\n            });\n            var key = this.keyOf(literalArr(argumentsForKey));\n            return this._getLiteralFactory(key, literal$1.entries, function (entries) {\n              return literalArr(entries);\n            });\n          } else {\n            var expressionForKey = literalMap(literal$1.entries.map(function (e) {\n              return {\n                key: e.key,\n                value: e.value.isConstant() ? e.value : literal(null),\n                quoted: e.quoted\n              };\n            }));\n\n            var _key9 = this.keyOf(expressionForKey);\n\n            return this._getLiteralFactory(_key9, literal$1.entries.map(function (e) {\n              return e.value;\n            }), function (entries) {\n              return literalMap(entries.map(function (value, index) {\n                return {\n                  key: literal$1.entries[index].key,\n                  value: value,\n                  quoted: literal$1.entries[index].quoted\n                };\n              }));\n            });\n          }\n        }\n      }, {\n        key: \"_getLiteralFactory\",\n        value: function _getLiteralFactory(key, values, resultMap) {\n          var _this203 = this;\n\n          var literalFactory = this.literalFactories.get(key);\n          var literalFactoryArguments = values.filter(function (e) {\n            return !e.isConstant();\n          });\n\n          if (!literalFactory) {\n            var resultExpressions = values.map(function (e, index) {\n              return e.isConstant() ? _this203.getConstLiteral(e, true) : variable(\"a\".concat(index));\n            });\n            var parameters = resultExpressions.filter(isVariable).map(function (e) {\n              return new FnParam(e.name, DYNAMIC_TYPE);\n            });\n            var pureFunctionDeclaration = fn(parameters, [new ReturnStatement(resultMap(resultExpressions))], INFERRED_TYPE);\n            var name = this.freshName();\n            this.statements.push(variable(name).set(pureFunctionDeclaration).toDeclStmt(INFERRED_TYPE, [StmtModifier.Final]));\n            literalFactory = variable(name);\n            this.literalFactories.set(key, literalFactory);\n          }\n\n          return {\n            literalFactory: literalFactory,\n            literalFactoryArguments: literalFactoryArguments\n          };\n        }\n        /**\n         * Produce a unique name.\n         *\n         * The name might be unique among different prefixes if any of the prefixes end in\n         * a digit so the prefix should be a constant string (not based on user input) and\n         * must not end in a digit.\n         */\n\n      }, {\n        key: \"uniqueName\",\n        value: function uniqueName(prefix) {\n          return \"\".concat(prefix).concat(this.nextNameIndex++);\n        }\n      }, {\n        key: \"definitionsOf\",\n        value: function definitionsOf(kind) {\n          switch (kind) {\n            case 2\n            /* Component */\n            :\n              return this.componentDefinitions;\n\n            case 1\n            /* Directive */\n            :\n              return this.directiveDefinitions;\n\n            case 0\n            /* Injector */\n            :\n              return this.injectorDefinitions;\n\n            case 3\n            /* Pipe */\n            :\n              return this.pipeDefinitions;\n          }\n\n          error(\"Unknown definition kind \".concat(kind));\n          return this.componentDefinitions;\n        }\n      }, {\n        key: \"propertyNameOf\",\n        value: function propertyNameOf(kind) {\n          switch (kind) {\n            case 2\n            /* Component */\n            :\n              return 'ngComponentDef';\n\n            case 1\n            /* Directive */\n            :\n              return 'ngDirectiveDef';\n\n            case 0\n            /* Injector */\n            :\n              return 'ngInjectorDef';\n\n            case 3\n            /* Pipe */\n            :\n              return 'ngPipeDef';\n          }\n\n          error(\"Unknown definition kind \".concat(kind));\n          return '<unknown>';\n        }\n      }, {\n        key: \"freshName\",\n        value: function freshName() {\n          return this.uniqueName(CONSTANT_PREFIX);\n        }\n      }, {\n        key: \"keyOf\",\n        value: function keyOf(expression) {\n          return expression.visitExpression(new KeyVisitor(), KEY_CONTEXT);\n        }\n      }]);\n\n      return ConstantPool;\n    }();\n    /**\n     * Visitor used to determine if 2 expressions are equivalent and can be shared in the\n     * `ConstantPool`.\n     *\n     * When the id (string) generated by the visitor is equal, expressions are considered equivalent.\n     */\n\n\n    var KeyVisitor =\n    /*#__PURE__*/\n    function () {\n      function KeyVisitor() {\n        _classCallCheck(this, KeyVisitor);\n\n        this.visitWrappedNodeExpr = invalid;\n        this.visitWriteVarExpr = invalid;\n        this.visitWriteKeyExpr = invalid;\n        this.visitWritePropExpr = invalid;\n        this.visitInvokeMethodExpr = invalid;\n        this.visitInvokeFunctionExpr = invalid;\n        this.visitInstantiateExpr = invalid;\n        this.visitConditionalExpr = invalid;\n        this.visitNotExpr = invalid;\n        this.visitAssertNotNullExpr = invalid;\n        this.visitCastExpr = invalid;\n        this.visitFunctionExpr = invalid;\n        this.visitBinaryOperatorExpr = invalid;\n        this.visitReadPropExpr = invalid;\n        this.visitReadKeyExpr = invalid;\n        this.visitCommaExpr = invalid;\n      }\n\n      _createClass2(KeyVisitor, [{\n        key: \"visitLiteralExpr\",\n        value: function visitLiteralExpr(ast) {\n          return \"\".concat(typeof ast.value === 'string' ? '\"' + ast.value + '\"' : ast.value);\n        }\n      }, {\n        key: \"visitLiteralArrayExpr\",\n        value: function visitLiteralArrayExpr(ast, context) {\n          var _this204 = this;\n\n          return \"[\".concat(ast.entries.map(function (entry) {\n            return entry.visitExpression(_this204, context);\n          }).join(','), \"]\");\n        }\n      }, {\n        key: \"visitLiteralMapExpr\",\n        value: function visitLiteralMapExpr(ast, context) {\n          var _this205 = this;\n\n          var mapKey = function mapKey(entry) {\n            var quote = entry.quoted ? '\"' : '';\n            return \"\".concat(quote).concat(entry.key).concat(quote);\n          };\n\n          var mapEntry = function mapEntry(entry) {\n            return \"\".concat(mapKey(entry), \":\").concat(entry.value.visitExpression(_this205, context));\n          };\n\n          return \"{\".concat(ast.entries.map(mapEntry).join(','));\n        }\n      }, {\n        key: \"visitExternalExpr\",\n        value: function visitExternalExpr(ast) {\n          return ast.value.moduleName ? \"EX:\".concat(ast.value.moduleName, \":\").concat(ast.value.name) : \"EX:\".concat(ast.value.runtime.name);\n        }\n      }, {\n        key: \"visitReadVarExpr\",\n        value: function visitReadVarExpr(node) {\n          return \"VAR:\".concat(node.name);\n        }\n      }, {\n        key: \"visitTypeofExpr\",\n        value: function visitTypeofExpr(node, context) {\n          return \"TYPEOF:\".concat(node.expr.visitExpression(this, context));\n        }\n      }]);\n\n      return KeyVisitor;\n    }();\n\n    function invalid(arg) {\n      throw new Error(\"Invalid state: Visitor \".concat(this.constructor.name, \" doesn't handle \").concat(arg.constructor.name));\n    }\n\n    function isVariable(e) {\n      return e instanceof ReadVarExpr;\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var CORE = '@angular/core';\n\n    var Identifiers = function Identifiers() {\n      _classCallCheck(this, Identifiers);\n    };\n\n    Identifiers.ANALYZE_FOR_ENTRY_COMPONENTS = {\n      name: 'ANALYZE_FOR_ENTRY_COMPONENTS',\n      moduleName: CORE\n    };\n    Identifiers.ElementRef = {\n      name: 'ElementRef',\n      moduleName: CORE\n    };\n    Identifiers.NgModuleRef = {\n      name: 'NgModuleRef',\n      moduleName: CORE\n    };\n    Identifiers.ViewContainerRef = {\n      name: 'ViewContainerRef',\n      moduleName: CORE\n    };\n    Identifiers.ChangeDetectorRef = {\n      name: 'ChangeDetectorRef',\n      moduleName: CORE\n    };\n    Identifiers.QueryList = {\n      name: 'QueryList',\n      moduleName: CORE\n    };\n    Identifiers.TemplateRef = {\n      name: 'TemplateRef',\n      moduleName: CORE\n    };\n    Identifiers.Renderer2 = {\n      name: 'Renderer2',\n      moduleName: CORE\n    };\n    Identifiers.CodegenComponentFactoryResolver = {\n      name: 'ɵCodegenComponentFactoryResolver',\n      moduleName: CORE\n    };\n    Identifiers.ComponentFactoryResolver = {\n      name: 'ComponentFactoryResolver',\n      moduleName: CORE\n    };\n    Identifiers.ComponentFactory = {\n      name: 'ComponentFactory',\n      moduleName: CORE\n    };\n    Identifiers.ComponentRef = {\n      name: 'ComponentRef',\n      moduleName: CORE\n    };\n    Identifiers.NgModuleFactory = {\n      name: 'NgModuleFactory',\n      moduleName: CORE\n    };\n    Identifiers.createModuleFactory = {\n      name: 'ɵcmf',\n      moduleName: CORE\n    };\n    Identifiers.moduleDef = {\n      name: 'ɵmod',\n      moduleName: CORE\n    };\n    Identifiers.moduleProviderDef = {\n      name: 'ɵmpd',\n      moduleName: CORE\n    };\n    Identifiers.RegisterModuleFactoryFn = {\n      name: 'ɵregisterModuleFactory',\n      moduleName: CORE\n    };\n    Identifiers.inject = {\n      name: 'ɵɵinject',\n      moduleName: CORE\n    };\n    Identifiers.INJECTOR = {\n      name: 'INJECTOR',\n      moduleName: CORE\n    };\n    Identifiers.Injector = {\n      name: 'Injector',\n      moduleName: CORE\n    };\n    Identifiers.ɵɵdefineInjectable = {\n      name: 'ɵɵdefineInjectable',\n      moduleName: CORE\n    };\n    Identifiers.InjectableDef = {\n      name: 'ɵɵInjectableDef',\n      moduleName: CORE\n    };\n    Identifiers.ViewEncapsulation = {\n      name: 'ViewEncapsulation',\n      moduleName: CORE\n    };\n    Identifiers.ChangeDetectionStrategy = {\n      name: 'ChangeDetectionStrategy',\n      moduleName: CORE\n    };\n    Identifiers.SecurityContext = {\n      name: 'SecurityContext',\n      moduleName: CORE\n    };\n    Identifiers.LOCALE_ID = {\n      name: 'LOCALE_ID',\n      moduleName: CORE\n    };\n    Identifiers.TRANSLATIONS_FORMAT = {\n      name: 'TRANSLATIONS_FORMAT',\n      moduleName: CORE\n    };\n    Identifiers.inlineInterpolate = {\n      name: 'ɵinlineInterpolate',\n      moduleName: CORE\n    };\n    Identifiers.interpolate = {\n      name: 'ɵinterpolate',\n      moduleName: CORE\n    };\n    Identifiers.EMPTY_ARRAY = {\n      name: 'ɵEMPTY_ARRAY',\n      moduleName: CORE\n    };\n    Identifiers.EMPTY_MAP = {\n      name: 'ɵEMPTY_MAP',\n      moduleName: CORE\n    };\n    Identifiers.Renderer = {\n      name: 'Renderer',\n      moduleName: CORE\n    };\n    Identifiers.viewDef = {\n      name: 'ɵvid',\n      moduleName: CORE\n    };\n    Identifiers.elementDef = {\n      name: 'ɵeld',\n      moduleName: CORE\n    };\n    Identifiers.anchorDef = {\n      name: 'ɵand',\n      moduleName: CORE\n    };\n    Identifiers.textDef = {\n      name: 'ɵted',\n      moduleName: CORE\n    };\n    Identifiers.directiveDef = {\n      name: 'ɵdid',\n      moduleName: CORE\n    };\n    Identifiers.providerDef = {\n      name: 'ɵprd',\n      moduleName: CORE\n    };\n    Identifiers.queryDef = {\n      name: 'ɵqud',\n      moduleName: CORE\n    };\n    Identifiers.pureArrayDef = {\n      name: 'ɵpad',\n      moduleName: CORE\n    };\n    Identifiers.pureObjectDef = {\n      name: 'ɵpod',\n      moduleName: CORE\n    };\n    Identifiers.purePipeDef = {\n      name: 'ɵppd',\n      moduleName: CORE\n    };\n    Identifiers.pipeDef = {\n      name: 'ɵpid',\n      moduleName: CORE\n    };\n    Identifiers.nodeValue = {\n      name: 'ɵnov',\n      moduleName: CORE\n    };\n    Identifiers.ngContentDef = {\n      name: 'ɵncd',\n      moduleName: CORE\n    };\n    Identifiers.unwrapValue = {\n      name: 'ɵunv',\n      moduleName: CORE\n    };\n    Identifiers.createRendererType2 = {\n      name: 'ɵcrt',\n      moduleName: CORE\n    }; // type only\n\n    Identifiers.RendererType2 = {\n      name: 'RendererType2',\n      moduleName: CORE\n    }; // type only\n\n    Identifiers.ViewDefinition = {\n      name: 'ɵViewDefinition',\n      moduleName: CORE\n    };\n    Identifiers.createComponentFactory = {\n      name: 'ɵccf',\n      moduleName: CORE\n    };\n    Identifiers.setClassMetadata = {\n      name: 'ɵsetClassMetadata',\n      moduleName: CORE\n    };\n\n    function createTokenForReference(reference) {\n      return {\n        identifier: {\n          reference: reference\n        }\n      };\n    }\n\n    function createTokenForExternalReference(reflector, reference) {\n      return createTokenForReference(reflector.resolveExternalReference(reference));\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * A token representing the a reference to a static type.\n     *\n     * This token is unique for a filePath and name and can be used as a hash table key.\n     */\n\n\n    var StaticSymbol =\n    /*#__PURE__*/\n    function () {\n      function StaticSymbol(filePath, name, members) {\n        _classCallCheck(this, StaticSymbol);\n\n        this.filePath = filePath;\n        this.name = name;\n        this.members = members;\n      }\n\n      _createClass2(StaticSymbol, [{\n        key: \"assertNoMembers\",\n        value: function assertNoMembers() {\n          if (this.members.length) {\n            throw new Error(\"Illegal state: symbol without members expected, but got \".concat(JSON.stringify(this), \".\"));\n          }\n        }\n      }]);\n\n      return StaticSymbol;\n    }();\n    /**\n     * A cache of static symbol used by the StaticReflector to return the same symbol for the\n     * same symbol values.\n     */\n\n\n    var StaticSymbolCache =\n    /*#__PURE__*/\n    function () {\n      function StaticSymbolCache() {\n        _classCallCheck(this, StaticSymbolCache);\n\n        this.cache = new Map();\n      }\n\n      _createClass2(StaticSymbolCache, [{\n        key: \"get\",\n        value: function get(declarationFile, name, members) {\n          members = members || [];\n          var memberSuffix = members.length ? \".\".concat(members.join('.')) : '';\n          var key = \"\\\"\".concat(declarationFile, \"\\\".\").concat(name).concat(memberSuffix);\n          var result = this.cache.get(key);\n\n          if (!result) {\n            result = new StaticSymbol(declarationFile, name, members);\n            this.cache.set(key, result);\n          }\n\n          return result;\n        }\n      }]);\n\n      return StaticSymbolCache;\n    }();\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n    // group 0: \"[prop] or (event) or @trigger\"\n    // group 1: \"prop\" from \"[prop]\"\n    // group 2: \"event\" from \"(event)\"\n    // group 3: \"@trigger\" from \"@trigger\"\n\n\n    var HOST_REG_EXP = /^(?:(?:\\[([^\\]]+)\\])|(?:\\(([^\\)]+)\\)))|(\\@[-\\w]+)$/;\n\n    function sanitizeIdentifier(name) {\n      return name.replace(/\\W/g, '_');\n    }\n\n    var _anonymousTypeIndex = 0;\n\n    function identifierName(compileIdentifier) {\n      if (!compileIdentifier || !compileIdentifier.reference) {\n        return null;\n      }\n\n      var ref = compileIdentifier.reference;\n\n      if (ref instanceof StaticSymbol) {\n        return ref.name;\n      }\n\n      if (ref['__anonymousType']) {\n        return ref['__anonymousType'];\n      }\n\n      var identifier = stringify(ref);\n\n      if (identifier.indexOf('(') >= 0) {\n        // case: anonymous functions!\n        identifier = \"anonymous_\".concat(_anonymousTypeIndex++);\n        ref['__anonymousType'] = identifier;\n      } else {\n        identifier = sanitizeIdentifier(identifier);\n      }\n\n      return identifier;\n    }\n\n    function identifierModuleUrl(compileIdentifier) {\n      var ref = compileIdentifier.reference;\n\n      if (ref instanceof StaticSymbol) {\n        return ref.filePath;\n      } // Runtime type\n\n\n      return \"./\".concat(stringify(ref));\n    }\n\n    function viewClassName(compType, embeddedTemplateIndex) {\n      return \"View_\".concat(identifierName({\n        reference: compType\n      }), \"_\").concat(embeddedTemplateIndex);\n    }\n\n    function rendererTypeName(compType) {\n      return \"RenderType_\".concat(identifierName({\n        reference: compType\n      }));\n    }\n\n    function hostViewClassName(compType) {\n      return \"HostView_\".concat(identifierName({\n        reference: compType\n      }));\n    }\n\n    function componentFactoryName(compType) {\n      return \"\".concat(identifierName({\n        reference: compType\n      }), \"NgFactory\");\n    }\n\n    var CompileSummaryKind;\n\n    (function (CompileSummaryKind) {\n      CompileSummaryKind[CompileSummaryKind[\"Pipe\"] = 0] = \"Pipe\";\n      CompileSummaryKind[CompileSummaryKind[\"Directive\"] = 1] = \"Directive\";\n      CompileSummaryKind[CompileSummaryKind[\"NgModule\"] = 2] = \"NgModule\";\n      CompileSummaryKind[CompileSummaryKind[\"Injectable\"] = 3] = \"Injectable\";\n    })(CompileSummaryKind || (CompileSummaryKind = {}));\n\n    function tokenName(token) {\n      return token.value != null ? sanitizeIdentifier(token.value) : identifierName(token.identifier);\n    }\n\n    function tokenReference(token) {\n      if (token.identifier != null) {\n        return token.identifier.reference;\n      } else {\n        return token.value;\n      }\n    }\n    /**\n     * Metadata about a stylesheet\n     */\n\n\n    var CompileStylesheetMetadata = function CompileStylesheetMetadata() {\n      var _ref9 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n          moduleUrl = _ref9.moduleUrl,\n          styles = _ref9.styles,\n          styleUrls = _ref9.styleUrls;\n\n      _classCallCheck(this, CompileStylesheetMetadata);\n\n      this.moduleUrl = moduleUrl || null;\n      this.styles = _normalizeArray(styles);\n      this.styleUrls = _normalizeArray(styleUrls);\n    };\n    /**\n     * Metadata regarding compilation of a template.\n     */\n\n\n    var CompileTemplateMetadata =\n    /*#__PURE__*/\n    function () {\n      function CompileTemplateMetadata(_ref10) {\n        var encapsulation = _ref10.encapsulation,\n            template = _ref10.template,\n            templateUrl = _ref10.templateUrl,\n            htmlAst = _ref10.htmlAst,\n            styles = _ref10.styles,\n            styleUrls = _ref10.styleUrls,\n            externalStylesheets = _ref10.externalStylesheets,\n            animations = _ref10.animations,\n            ngContentSelectors = _ref10.ngContentSelectors,\n            interpolation = _ref10.interpolation,\n            isInline = _ref10.isInline,\n            preserveWhitespaces = _ref10.preserveWhitespaces;\n\n        _classCallCheck(this, CompileTemplateMetadata);\n\n        this.encapsulation = encapsulation;\n        this.template = template;\n        this.templateUrl = templateUrl;\n        this.htmlAst = htmlAst;\n        this.styles = _normalizeArray(styles);\n        this.styleUrls = _normalizeArray(styleUrls);\n        this.externalStylesheets = _normalizeArray(externalStylesheets);\n        this.animations = animations ? flatten(animations) : [];\n        this.ngContentSelectors = ngContentSelectors || [];\n\n        if (interpolation && interpolation.length != 2) {\n          throw new Error(\"'interpolation' should have a start and an end symbol.\");\n        }\n\n        this.interpolation = interpolation;\n        this.isInline = isInline;\n        this.preserveWhitespaces = preserveWhitespaces;\n      }\n\n      _createClass2(CompileTemplateMetadata, [{\n        key: \"toSummary\",\n        value: function toSummary() {\n          return {\n            ngContentSelectors: this.ngContentSelectors,\n            encapsulation: this.encapsulation,\n            styles: this.styles,\n            animations: this.animations\n          };\n        }\n      }]);\n\n      return CompileTemplateMetadata;\n    }();\n    /**\n     * Metadata regarding compilation of a directive.\n     */\n\n\n    var CompileDirectiveMetadata =\n    /*#__PURE__*/\n    function () {\n      _createClass2(CompileDirectiveMetadata, null, [{\n        key: \"create\",\n        value: function create(_ref11) {\n          var isHost = _ref11.isHost,\n              type = _ref11.type,\n              isComponent = _ref11.isComponent,\n              selector = _ref11.selector,\n              exportAs = _ref11.exportAs,\n              changeDetection = _ref11.changeDetection,\n              inputs = _ref11.inputs,\n              outputs = _ref11.outputs,\n              host = _ref11.host,\n              providers = _ref11.providers,\n              viewProviders = _ref11.viewProviders,\n              queries = _ref11.queries,\n              guards = _ref11.guards,\n              viewQueries = _ref11.viewQueries,\n              entryComponents = _ref11.entryComponents,\n              template = _ref11.template,\n              componentViewType = _ref11.componentViewType,\n              rendererType = _ref11.rendererType,\n              componentFactory = _ref11.componentFactory;\n          var hostListeners = {};\n          var hostProperties = {};\n          var hostAttributes = {};\n\n          if (host != null) {\n            Object.keys(host).forEach(function (key) {\n              var value = host[key];\n              var matches = key.match(HOST_REG_EXP);\n\n              if (matches === null) {\n                hostAttributes[key] = value;\n              } else if (matches[1] != null) {\n                hostProperties[matches[1]] = value;\n              } else if (matches[2] != null) {\n                hostListeners[matches[2]] = value;\n              }\n            });\n          }\n\n          var inputsMap = {};\n\n          if (inputs != null) {\n            inputs.forEach(function (bindConfig) {\n              // canonical syntax: `dirProp: elProp`\n              // if there is no `:`, use dirProp = elProp\n              var parts = splitAtColon(bindConfig, [bindConfig, bindConfig]);\n              inputsMap[parts[0]] = parts[1];\n            });\n          }\n\n          var outputsMap = {};\n\n          if (outputs != null) {\n            outputs.forEach(function (bindConfig) {\n              // canonical syntax: `dirProp: elProp`\n              // if there is no `:`, use dirProp = elProp\n              var parts = splitAtColon(bindConfig, [bindConfig, bindConfig]);\n              outputsMap[parts[0]] = parts[1];\n            });\n          }\n\n          return new CompileDirectiveMetadata({\n            isHost: isHost,\n            type: type,\n            isComponent: !!isComponent,\n            selector: selector,\n            exportAs: exportAs,\n            changeDetection: changeDetection,\n            inputs: inputsMap,\n            outputs: outputsMap,\n            hostListeners: hostListeners,\n            hostProperties: hostProperties,\n            hostAttributes: hostAttributes,\n            providers: providers,\n            viewProviders: viewProviders,\n            queries: queries,\n            guards: guards,\n            viewQueries: viewQueries,\n            entryComponents: entryComponents,\n            template: template,\n            componentViewType: componentViewType,\n            rendererType: rendererType,\n            componentFactory: componentFactory\n          });\n        }\n      }]);\n\n      function CompileDirectiveMetadata(_ref12) {\n        var isHost = _ref12.isHost,\n            type = _ref12.type,\n            isComponent = _ref12.isComponent,\n            selector = _ref12.selector,\n            exportAs = _ref12.exportAs,\n            changeDetection = _ref12.changeDetection,\n            inputs = _ref12.inputs,\n            outputs = _ref12.outputs,\n            hostListeners = _ref12.hostListeners,\n            hostProperties = _ref12.hostProperties,\n            hostAttributes = _ref12.hostAttributes,\n            providers = _ref12.providers,\n            viewProviders = _ref12.viewProviders,\n            queries = _ref12.queries,\n            guards = _ref12.guards,\n            viewQueries = _ref12.viewQueries,\n            entryComponents = _ref12.entryComponents,\n            template = _ref12.template,\n            componentViewType = _ref12.componentViewType,\n            rendererType = _ref12.rendererType,\n            componentFactory = _ref12.componentFactory;\n\n        _classCallCheck(this, CompileDirectiveMetadata);\n\n        this.isHost = !!isHost;\n        this.type = type;\n        this.isComponent = isComponent;\n        this.selector = selector;\n        this.exportAs = exportAs;\n        this.changeDetection = changeDetection;\n        this.inputs = inputs;\n        this.outputs = outputs;\n        this.hostListeners = hostListeners;\n        this.hostProperties = hostProperties;\n        this.hostAttributes = hostAttributes;\n        this.providers = _normalizeArray(providers);\n        this.viewProviders = _normalizeArray(viewProviders);\n        this.queries = _normalizeArray(queries);\n        this.guards = guards;\n        this.viewQueries = _normalizeArray(viewQueries);\n        this.entryComponents = _normalizeArray(entryComponents);\n        this.template = template;\n        this.componentViewType = componentViewType;\n        this.rendererType = rendererType;\n        this.componentFactory = componentFactory;\n      }\n\n      _createClass2(CompileDirectiveMetadata, [{\n        key: \"toSummary\",\n        value: function toSummary() {\n          return {\n            summaryKind: CompileSummaryKind.Directive,\n            type: this.type,\n            isComponent: this.isComponent,\n            selector: this.selector,\n            exportAs: this.exportAs,\n            inputs: this.inputs,\n            outputs: this.outputs,\n            hostListeners: this.hostListeners,\n            hostProperties: this.hostProperties,\n            hostAttributes: this.hostAttributes,\n            providers: this.providers,\n            viewProviders: this.viewProviders,\n            queries: this.queries,\n            guards: this.guards,\n            viewQueries: this.viewQueries,\n            entryComponents: this.entryComponents,\n            changeDetection: this.changeDetection,\n            template: this.template && this.template.toSummary(),\n            componentViewType: this.componentViewType,\n            rendererType: this.rendererType,\n            componentFactory: this.componentFactory\n          };\n        }\n      }]);\n\n      return CompileDirectiveMetadata;\n    }();\n\n    var CompilePipeMetadata =\n    /*#__PURE__*/\n    function () {\n      function CompilePipeMetadata(_ref13) {\n        var type = _ref13.type,\n            name = _ref13.name,\n            pure = _ref13.pure;\n\n        _classCallCheck(this, CompilePipeMetadata);\n\n        this.type = type;\n        this.name = name;\n        this.pure = !!pure;\n      }\n\n      _createClass2(CompilePipeMetadata, [{\n        key: \"toSummary\",\n        value: function toSummary() {\n          return {\n            summaryKind: CompileSummaryKind.Pipe,\n            type: this.type,\n            name: this.name,\n            pure: this.pure\n          };\n        }\n      }]);\n\n      return CompilePipeMetadata;\n    }();\n\n    var CompileShallowModuleMetadata = function CompileShallowModuleMetadata() {\n      _classCallCheck(this, CompileShallowModuleMetadata);\n    };\n    /**\n     * Metadata regarding compilation of a module.\n     */\n\n\n    var CompileNgModuleMetadata =\n    /*#__PURE__*/\n    function () {\n      function CompileNgModuleMetadata(_ref14) {\n        var type = _ref14.type,\n            providers = _ref14.providers,\n            declaredDirectives = _ref14.declaredDirectives,\n            exportedDirectives = _ref14.exportedDirectives,\n            declaredPipes = _ref14.declaredPipes,\n            exportedPipes = _ref14.exportedPipes,\n            entryComponents = _ref14.entryComponents,\n            bootstrapComponents = _ref14.bootstrapComponents,\n            importedModules = _ref14.importedModules,\n            exportedModules = _ref14.exportedModules,\n            schemas = _ref14.schemas,\n            transitiveModule = _ref14.transitiveModule,\n            id = _ref14.id;\n\n        _classCallCheck(this, CompileNgModuleMetadata);\n\n        this.type = type || null;\n        this.declaredDirectives = _normalizeArray(declaredDirectives);\n        this.exportedDirectives = _normalizeArray(exportedDirectives);\n        this.declaredPipes = _normalizeArray(declaredPipes);\n        this.exportedPipes = _normalizeArray(exportedPipes);\n        this.providers = _normalizeArray(providers);\n        this.entryComponents = _normalizeArray(entryComponents);\n        this.bootstrapComponents = _normalizeArray(bootstrapComponents);\n        this.importedModules = _normalizeArray(importedModules);\n        this.exportedModules = _normalizeArray(exportedModules);\n        this.schemas = _normalizeArray(schemas);\n        this.id = id || null;\n        this.transitiveModule = transitiveModule || null;\n      }\n\n      _createClass2(CompileNgModuleMetadata, [{\n        key: \"toSummary\",\n        value: function toSummary() {\n          var module = this.transitiveModule;\n          return {\n            summaryKind: CompileSummaryKind.NgModule,\n            type: this.type,\n            entryComponents: module.entryComponents,\n            providers: module.providers,\n            modules: module.modules,\n            exportedDirectives: module.exportedDirectives,\n            exportedPipes: module.exportedPipes\n          };\n        }\n      }]);\n\n      return CompileNgModuleMetadata;\n    }();\n\n    var TransitiveCompileNgModuleMetadata =\n    /*#__PURE__*/\n    function () {\n      function TransitiveCompileNgModuleMetadata() {\n        _classCallCheck(this, TransitiveCompileNgModuleMetadata);\n\n        this.directivesSet = new Set();\n        this.directives = [];\n        this.exportedDirectivesSet = new Set();\n        this.exportedDirectives = [];\n        this.pipesSet = new Set();\n        this.pipes = [];\n        this.exportedPipesSet = new Set();\n        this.exportedPipes = [];\n        this.modulesSet = new Set();\n        this.modules = [];\n        this.entryComponentsSet = new Set();\n        this.entryComponents = [];\n        this.providers = [];\n      }\n\n      _createClass2(TransitiveCompileNgModuleMetadata, [{\n        key: \"addProvider\",\n        value: function addProvider(provider, module) {\n          this.providers.push({\n            provider: provider,\n            module: module\n          });\n        }\n      }, {\n        key: \"addDirective\",\n        value: function addDirective(id) {\n          if (!this.directivesSet.has(id.reference)) {\n            this.directivesSet.add(id.reference);\n            this.directives.push(id);\n          }\n        }\n      }, {\n        key: \"addExportedDirective\",\n        value: function addExportedDirective(id) {\n          if (!this.exportedDirectivesSet.has(id.reference)) {\n            this.exportedDirectivesSet.add(id.reference);\n            this.exportedDirectives.push(id);\n          }\n        }\n      }, {\n        key: \"addPipe\",\n        value: function addPipe(id) {\n          if (!this.pipesSet.has(id.reference)) {\n            this.pipesSet.add(id.reference);\n            this.pipes.push(id);\n          }\n        }\n      }, {\n        key: \"addExportedPipe\",\n        value: function addExportedPipe(id) {\n          if (!this.exportedPipesSet.has(id.reference)) {\n            this.exportedPipesSet.add(id.reference);\n            this.exportedPipes.push(id);\n          }\n        }\n      }, {\n        key: \"addModule\",\n        value: function addModule(id) {\n          if (!this.modulesSet.has(id.reference)) {\n            this.modulesSet.add(id.reference);\n            this.modules.push(id);\n          }\n        }\n      }, {\n        key: \"addEntryComponent\",\n        value: function addEntryComponent(ec) {\n          if (!this.entryComponentsSet.has(ec.componentType)) {\n            this.entryComponentsSet.add(ec.componentType);\n            this.entryComponents.push(ec);\n          }\n        }\n      }]);\n\n      return TransitiveCompileNgModuleMetadata;\n    }();\n\n    function _normalizeArray(obj) {\n      return obj || [];\n    }\n\n    var ProviderMeta = function ProviderMeta(token, _ref15) {\n      var useClass = _ref15.useClass,\n          useValue = _ref15.useValue,\n          useExisting = _ref15.useExisting,\n          useFactory = _ref15.useFactory,\n          deps = _ref15.deps,\n          multi = _ref15.multi;\n\n      _classCallCheck(this, ProviderMeta);\n\n      this.token = token;\n      this.useClass = useClass || null;\n      this.useValue = useValue;\n      this.useExisting = useExisting;\n      this.useFactory = useFactory || null;\n      this.dependencies = deps || null;\n      this.multi = !!multi;\n    };\n\n    function flatten(list) {\n      return list.reduce(function (flat, item) {\n        var flatItem = Array.isArray(item) ? flatten(item) : item;\n        return flat.concat(flatItem);\n      }, []);\n    }\n\n    function jitSourceUrl(url) {\n      // Note: We need 3 \"/\" so that ng shows up as a separate domain\n      // in the chrome dev tools.\n      return url.replace(/(\\w+:\\/\\/[\\w:-]+)?(\\/+)?/, 'ng:///');\n    }\n\n    function templateSourceUrl(ngModuleType, compMeta, templateMeta) {\n      var url;\n\n      if (templateMeta.isInline) {\n        if (compMeta.type.reference instanceof StaticSymbol) {\n          // Note: a .ts file might contain multiple components with inline templates,\n          // so we need to give them unique urls, as these will be used for sourcemaps.\n          url = \"\".concat(compMeta.type.reference.filePath, \".\").concat(compMeta.type.reference.name, \".html\");\n        } else {\n          url = \"\".concat(identifierName(ngModuleType), \"/\").concat(identifierName(compMeta.type), \".html\");\n        }\n      } else {\n        url = templateMeta.templateUrl;\n      }\n\n      return compMeta.type.reference instanceof StaticSymbol ? url : jitSourceUrl(url);\n    }\n\n    function sharedStylesheetJitUrl(meta, id) {\n      var pathParts = meta.moduleUrl.split(/\\/\\\\/g);\n      var baseName = pathParts[pathParts.length - 1];\n      return jitSourceUrl(\"css/\".concat(id).concat(baseName, \".ngstyle.js\"));\n    }\n\n    function ngModuleJitUrl(moduleMeta) {\n      return jitSourceUrl(\"\".concat(identifierName(moduleMeta.type), \"/module.ngfactory.js\"));\n    }\n\n    function templateJitUrl(ngModuleType, compMeta) {\n      return jitSourceUrl(\"\".concat(identifierName(ngModuleType), \"/\").concat(identifierName(compMeta.type), \".ngfactory.js\"));\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var CORE$1 = '@angular/core';\n\n    var Identifiers$1 = function Identifiers$1() {\n      _classCallCheck(this, Identifiers$1);\n    };\n    /* Methods */\n\n\n    Identifiers$1.NEW_METHOD = 'factory';\n    Identifiers$1.TRANSFORM_METHOD = 'transform';\n    Identifiers$1.PATCH_DEPS = 'patchedDeps';\n    /* Instructions */\n\n    Identifiers$1.namespaceHTML = {\n      name: 'ɵɵnamespaceHTML',\n      moduleName: CORE$1\n    };\n    Identifiers$1.namespaceMathML = {\n      name: 'ɵɵnamespaceMathML',\n      moduleName: CORE$1\n    };\n    Identifiers$1.namespaceSVG = {\n      name: 'ɵɵnamespaceSVG',\n      moduleName: CORE$1\n    };\n    Identifiers$1.element = {\n      name: 'ɵɵelement',\n      moduleName: CORE$1\n    };\n    Identifiers$1.elementStart = {\n      name: 'ɵɵelementStart',\n      moduleName: CORE$1\n    };\n    Identifiers$1.elementEnd = {\n      name: 'ɵɵelementEnd',\n      moduleName: CORE$1\n    };\n    Identifiers$1.select = {\n      name: 'ɵɵselect',\n      moduleName: CORE$1\n    };\n    Identifiers$1.updateSyntheticHostBinding = {\n      name: 'ɵɵupdateSyntheticHostBinding',\n      moduleName: CORE$1\n    };\n    Identifiers$1.componentHostSyntheticListener = {\n      name: 'ɵɵcomponentHostSyntheticListener',\n      moduleName: CORE$1\n    };\n    Identifiers$1.attribute = {\n      name: 'ɵɵattribute',\n      moduleName: CORE$1\n    };\n    Identifiers$1.attributeInterpolate1 = {\n      name: 'ɵɵattributeInterpolate1',\n      moduleName: CORE$1\n    };\n    Identifiers$1.attributeInterpolate2 = {\n      name: 'ɵɵattributeInterpolate2',\n      moduleName: CORE$1\n    };\n    Identifiers$1.attributeInterpolate3 = {\n      name: 'ɵɵattributeInterpolate3',\n      moduleName: CORE$1\n    };\n    Identifiers$1.attributeInterpolate4 = {\n      name: 'ɵɵattributeInterpolate4',\n      moduleName: CORE$1\n    };\n    Identifiers$1.attributeInterpolate5 = {\n      name: 'ɵɵattributeInterpolate5',\n      moduleName: CORE$1\n    };\n    Identifiers$1.attributeInterpolate6 = {\n      name: 'ɵɵattributeInterpolate6',\n      moduleName: CORE$1\n    };\n    Identifiers$1.attributeInterpolate7 = {\n      name: 'ɵɵattributeInterpolate7',\n      moduleName: CORE$1\n    };\n    Identifiers$1.attributeInterpolate8 = {\n      name: 'ɵɵattributeInterpolate8',\n      moduleName: CORE$1\n    };\n    Identifiers$1.attributeInterpolateV = {\n      name: 'ɵɵattributeInterpolateV',\n      moduleName: CORE$1\n    };\n    Identifiers$1.classProp = {\n      name: 'ɵɵclassProp',\n      moduleName: CORE$1\n    };\n    Identifiers$1.elementContainerStart = {\n      name: 'ɵɵelementContainerStart',\n      moduleName: CORE$1\n    };\n    Identifiers$1.elementContainerEnd = {\n      name: 'ɵɵelementContainerEnd',\n      moduleName: CORE$1\n    };\n    Identifiers$1.elementContainer = {\n      name: 'ɵɵelementContainer',\n      moduleName: CORE$1\n    };\n    Identifiers$1.styling = {\n      name: 'ɵɵstyling',\n      moduleName: CORE$1\n    };\n    Identifiers$1.styleMap = {\n      name: 'ɵɵstyleMap',\n      moduleName: CORE$1\n    };\n    Identifiers$1.classMap = {\n      name: 'ɵɵclassMap',\n      moduleName: CORE$1\n    };\n    Identifiers$1.classMapInterpolate1 = {\n      name: 'ɵɵclassMapInterpolate1',\n      moduleName: CORE$1\n    };\n    Identifiers$1.classMapInterpolate2 = {\n      name: 'ɵɵclassMapInterpolate2',\n      moduleName: CORE$1\n    };\n    Identifiers$1.classMapInterpolate3 = {\n      name: 'ɵɵclassMapInterpolate3',\n      moduleName: CORE$1\n    };\n    Identifiers$1.classMapInterpolate4 = {\n      name: 'ɵɵclassMapInterpolate4',\n      moduleName: CORE$1\n    };\n    Identifiers$1.classMapInterpolate5 = {\n      name: 'ɵɵclassMapInterpolate5',\n      moduleName: CORE$1\n    };\n    Identifiers$1.classMapInterpolate6 = {\n      name: 'ɵɵclassMapInterpolate6',\n      moduleName: CORE$1\n    };\n    Identifiers$1.classMapInterpolate7 = {\n      name: 'ɵɵclassMapInterpolate7',\n      moduleName: CORE$1\n    };\n    Identifiers$1.classMapInterpolate8 = {\n      name: 'ɵɵclassMapInterpolate8',\n      moduleName: CORE$1\n    };\n    Identifiers$1.classMapInterpolateV = {\n      name: 'ɵɵclassMapInterpolateV',\n      moduleName: CORE$1\n    };\n    Identifiers$1.styleProp = {\n      name: 'ɵɵstyleProp',\n      moduleName: CORE$1\n    };\n    Identifiers$1.stylePropInterpolate1 = {\n      name: 'ɵɵstylePropInterpolate1',\n      moduleName: CORE$1\n    };\n    Identifiers$1.stylePropInterpolate2 = {\n      name: 'ɵɵstylePropInterpolate2',\n      moduleName: CORE$1\n    };\n    Identifiers$1.stylePropInterpolate3 = {\n      name: 'ɵɵstylePropInterpolate3',\n      moduleName: CORE$1\n    };\n    Identifiers$1.stylePropInterpolate4 = {\n      name: 'ɵɵstylePropInterpolate4',\n      moduleName: CORE$1\n    };\n    Identifiers$1.stylePropInterpolate5 = {\n      name: 'ɵɵstylePropInterpolate5',\n      moduleName: CORE$1\n    };\n    Identifiers$1.stylePropInterpolate6 = {\n      name: 'ɵɵstylePropInterpolate6',\n      moduleName: CORE$1\n    };\n    Identifiers$1.stylePropInterpolate7 = {\n      name: 'ɵɵstylePropInterpolate7',\n      moduleName: CORE$1\n    };\n    Identifiers$1.stylePropInterpolate8 = {\n      name: 'ɵɵstylePropInterpolate8',\n      moduleName: CORE$1\n    };\n    Identifiers$1.stylePropInterpolateV = {\n      name: 'ɵɵstylePropInterpolateV',\n      moduleName: CORE$1\n    };\n    Identifiers$1.stylingApply = {\n      name: 'ɵɵstylingApply',\n      moduleName: CORE$1\n    };\n    Identifiers$1.styleSanitizer = {\n      name: 'ɵɵstyleSanitizer',\n      moduleName: CORE$1\n    };\n    Identifiers$1.elementHostAttrs = {\n      name: 'ɵɵelementHostAttrs',\n      moduleName: CORE$1\n    };\n    Identifiers$1.containerCreate = {\n      name: 'ɵɵcontainer',\n      moduleName: CORE$1\n    };\n    Identifiers$1.nextContext = {\n      name: 'ɵɵnextContext',\n      moduleName: CORE$1\n    };\n    Identifiers$1.templateCreate = {\n      name: 'ɵɵtemplate',\n      moduleName: CORE$1\n    };\n    Identifiers$1.text = {\n      name: 'ɵɵtext',\n      moduleName: CORE$1\n    };\n    Identifiers$1.textBinding = {\n      name: 'ɵɵtextBinding',\n      moduleName: CORE$1\n    };\n    Identifiers$1.enableBindings = {\n      name: 'ɵɵenableBindings',\n      moduleName: CORE$1\n    };\n    Identifiers$1.disableBindings = {\n      name: 'ɵɵdisableBindings',\n      moduleName: CORE$1\n    };\n    Identifiers$1.allocHostVars = {\n      name: 'ɵɵallocHostVars',\n      moduleName: CORE$1\n    };\n    Identifiers$1.getCurrentView = {\n      name: 'ɵɵgetCurrentView',\n      moduleName: CORE$1\n    };\n    Identifiers$1.textInterpolate = {\n      name: 'ɵɵtextInterpolate',\n      moduleName: CORE$1\n    };\n    Identifiers$1.textInterpolate1 = {\n      name: 'ɵɵtextInterpolate1',\n      moduleName: CORE$1\n    };\n    Identifiers$1.textInterpolate2 = {\n      name: 'ɵɵtextInterpolate2',\n      moduleName: CORE$1\n    };\n    Identifiers$1.textInterpolate3 = {\n      name: 'ɵɵtextInterpolate3',\n      moduleName: CORE$1\n    };\n    Identifiers$1.textInterpolate4 = {\n      name: 'ɵɵtextInterpolate4',\n      moduleName: CORE$1\n    };\n    Identifiers$1.textInterpolate5 = {\n      name: 'ɵɵtextInterpolate5',\n      moduleName: CORE$1\n    };\n    Identifiers$1.textInterpolate6 = {\n      name: 'ɵɵtextInterpolate6',\n      moduleName: CORE$1\n    };\n    Identifiers$1.textInterpolate7 = {\n      name: 'ɵɵtextInterpolate7',\n      moduleName: CORE$1\n    };\n    Identifiers$1.textInterpolate8 = {\n      name: 'ɵɵtextInterpolate8',\n      moduleName: CORE$1\n    };\n    Identifiers$1.textInterpolateV = {\n      name: 'ɵɵtextInterpolateV',\n      moduleName: CORE$1\n    };\n    Identifiers$1.restoreView = {\n      name: 'ɵɵrestoreView',\n      moduleName: CORE$1\n    };\n    Identifiers$1.pureFunction0 = {\n      name: 'ɵɵpureFunction0',\n      moduleName: CORE$1\n    };\n    Identifiers$1.pureFunction1 = {\n      name: 'ɵɵpureFunction1',\n      moduleName: CORE$1\n    };\n    Identifiers$1.pureFunction2 = {\n      name: 'ɵɵpureFunction2',\n      moduleName: CORE$1\n    };\n    Identifiers$1.pureFunction3 = {\n      name: 'ɵɵpureFunction3',\n      moduleName: CORE$1\n    };\n    Identifiers$1.pureFunction4 = {\n      name: 'ɵɵpureFunction4',\n      moduleName: CORE$1\n    };\n    Identifiers$1.pureFunction5 = {\n      name: 'ɵɵpureFunction5',\n      moduleName: CORE$1\n    };\n    Identifiers$1.pureFunction6 = {\n      name: 'ɵɵpureFunction6',\n      moduleName: CORE$1\n    };\n    Identifiers$1.pureFunction7 = {\n      name: 'ɵɵpureFunction7',\n      moduleName: CORE$1\n    };\n    Identifiers$1.pureFunction8 = {\n      name: 'ɵɵpureFunction8',\n      moduleName: CORE$1\n    };\n    Identifiers$1.pureFunctionV = {\n      name: 'ɵɵpureFunctionV',\n      moduleName: CORE$1\n    };\n    Identifiers$1.pipeBind1 = {\n      name: 'ɵɵpipeBind1',\n      moduleName: CORE$1\n    };\n    Identifiers$1.pipeBind2 = {\n      name: 'ɵɵpipeBind2',\n      moduleName: CORE$1\n    };\n    Identifiers$1.pipeBind3 = {\n      name: 'ɵɵpipeBind3',\n      moduleName: CORE$1\n    };\n    Identifiers$1.pipeBind4 = {\n      name: 'ɵɵpipeBind4',\n      moduleName: CORE$1\n    };\n    Identifiers$1.pipeBindV = {\n      name: 'ɵɵpipeBindV',\n      moduleName: CORE$1\n    };\n    Identifiers$1.hostProperty = {\n      name: 'ɵɵhostProperty',\n      moduleName: CORE$1\n    };\n    Identifiers$1.property = {\n      name: 'ɵɵproperty',\n      moduleName: CORE$1\n    };\n    Identifiers$1.propertyInterpolate = {\n      name: 'ɵɵpropertyInterpolate',\n      moduleName: CORE$1\n    };\n    Identifiers$1.propertyInterpolate1 = {\n      name: 'ɵɵpropertyInterpolate1',\n      moduleName: CORE$1\n    };\n    Identifiers$1.propertyInterpolate2 = {\n      name: 'ɵɵpropertyInterpolate2',\n      moduleName: CORE$1\n    };\n    Identifiers$1.propertyInterpolate3 = {\n      name: 'ɵɵpropertyInterpolate3',\n      moduleName: CORE$1\n    };\n    Identifiers$1.propertyInterpolate4 = {\n      name: 'ɵɵpropertyInterpolate4',\n      moduleName: CORE$1\n    };\n    Identifiers$1.propertyInterpolate5 = {\n      name: 'ɵɵpropertyInterpolate5',\n      moduleName: CORE$1\n    };\n    Identifiers$1.propertyInterpolate6 = {\n      name: 'ɵɵpropertyInterpolate6',\n      moduleName: CORE$1\n    };\n    Identifiers$1.propertyInterpolate7 = {\n      name: 'ɵɵpropertyInterpolate7',\n      moduleName: CORE$1\n    };\n    Identifiers$1.propertyInterpolate8 = {\n      name: 'ɵɵpropertyInterpolate8',\n      moduleName: CORE$1\n    };\n    Identifiers$1.propertyInterpolateV = {\n      name: 'ɵɵpropertyInterpolateV',\n      moduleName: CORE$1\n    };\n    Identifiers$1.i18n = {\n      name: 'ɵɵi18n',\n      moduleName: CORE$1\n    };\n    Identifiers$1.i18nAttributes = {\n      name: 'ɵɵi18nAttributes',\n      moduleName: CORE$1\n    };\n    Identifiers$1.i18nExp = {\n      name: 'ɵɵi18nExp',\n      moduleName: CORE$1\n    };\n    Identifiers$1.i18nStart = {\n      name: 'ɵɵi18nStart',\n      moduleName: CORE$1\n    };\n    Identifiers$1.i18nEnd = {\n      name: 'ɵɵi18nEnd',\n      moduleName: CORE$1\n    };\n    Identifiers$1.i18nApply = {\n      name: 'ɵɵi18nApply',\n      moduleName: CORE$1\n    };\n    Identifiers$1.i18nPostprocess = {\n      name: 'ɵɵi18nPostprocess',\n      moduleName: CORE$1\n    };\n    Identifiers$1.i18nLocalize = {\n      name: 'ɵɵi18nLocalize',\n      moduleName: CORE$1\n    };\n    Identifiers$1.load = {\n      name: 'ɵɵload',\n      moduleName: CORE$1\n    };\n    Identifiers$1.pipe = {\n      name: 'ɵɵpipe',\n      moduleName: CORE$1\n    };\n    Identifiers$1.projection = {\n      name: 'ɵɵprojection',\n      moduleName: CORE$1\n    };\n    Identifiers$1.projectionDef = {\n      name: 'ɵɵprojectionDef',\n      moduleName: CORE$1\n    };\n    Identifiers$1.reference = {\n      name: 'ɵɵreference',\n      moduleName: CORE$1\n    };\n    Identifiers$1.inject = {\n      name: 'ɵɵinject',\n      moduleName: CORE$1\n    };\n    Identifiers$1.injectAttribute = {\n      name: 'ɵɵinjectAttribute',\n      moduleName: CORE$1\n    };\n    Identifiers$1.injectPipeChangeDetectorRef = {\n      name: 'ɵɵinjectPipeChangeDetectorRef',\n      moduleName: CORE$1\n    };\n    Identifiers$1.directiveInject = {\n      name: 'ɵɵdirectiveInject',\n      moduleName: CORE$1\n    };\n    Identifiers$1.templateRefExtractor = {\n      name: 'ɵɵtemplateRefExtractor',\n      moduleName: CORE$1\n    };\n    Identifiers$1.resolveWindow = {\n      name: 'ɵɵresolveWindow',\n      moduleName: CORE$1\n    };\n    Identifiers$1.resolveDocument = {\n      name: 'ɵɵresolveDocument',\n      moduleName: CORE$1\n    };\n    Identifiers$1.resolveBody = {\n      name: 'ɵɵresolveBody',\n      moduleName: CORE$1\n    };\n    Identifiers$1.defineBase = {\n      name: 'ɵɵdefineBase',\n      moduleName: CORE$1\n    };\n    Identifiers$1.BaseDef = {\n      name: 'ɵɵBaseDef',\n      moduleName: CORE$1\n    };\n    Identifiers$1.defineComponent = {\n      name: 'ɵɵdefineComponent',\n      moduleName: CORE$1\n    };\n    Identifiers$1.setComponentScope = {\n      name: 'ɵɵsetComponentScope',\n      moduleName: CORE$1\n    };\n    Identifiers$1.ComponentDefWithMeta = {\n      name: 'ɵɵComponentDefWithMeta',\n      moduleName: CORE$1\n    };\n    Identifiers$1.defineDirective = {\n      name: 'ɵɵdefineDirective',\n      moduleName: CORE$1\n    };\n    Identifiers$1.DirectiveDefWithMeta = {\n      name: 'ɵɵDirectiveDefWithMeta',\n      moduleName: CORE$1\n    };\n    Identifiers$1.InjectorDef = {\n      name: 'ɵɵInjectorDef',\n      moduleName: CORE$1\n    };\n    Identifiers$1.defineInjector = {\n      name: 'ɵɵdefineInjector',\n      moduleName: CORE$1\n    };\n    Identifiers$1.NgModuleDefWithMeta = {\n      name: 'ɵɵNgModuleDefWithMeta',\n      moduleName: CORE$1\n    };\n    Identifiers$1.defineNgModule = {\n      name: 'ɵɵdefineNgModule',\n      moduleName: CORE$1\n    };\n    Identifiers$1.setNgModuleScope = {\n      name: 'ɵɵsetNgModuleScope',\n      moduleName: CORE$1\n    };\n    Identifiers$1.PipeDefWithMeta = {\n      name: 'ɵɵPipeDefWithMeta',\n      moduleName: CORE$1\n    };\n    Identifiers$1.definePipe = {\n      name: 'ɵɵdefinePipe',\n      moduleName: CORE$1\n    };\n    Identifiers$1.queryRefresh = {\n      name: 'ɵɵqueryRefresh',\n      moduleName: CORE$1\n    };\n    Identifiers$1.viewQuery = {\n      name: 'ɵɵviewQuery',\n      moduleName: CORE$1\n    };\n    Identifiers$1.staticViewQuery = {\n      name: 'ɵɵstaticViewQuery',\n      moduleName: CORE$1\n    };\n    Identifiers$1.staticContentQuery = {\n      name: 'ɵɵstaticContentQuery',\n      moduleName: CORE$1\n    };\n    Identifiers$1.loadViewQuery = {\n      name: 'ɵɵloadViewQuery',\n      moduleName: CORE$1\n    };\n    Identifiers$1.contentQuery = {\n      name: 'ɵɵcontentQuery',\n      moduleName: CORE$1\n    };\n    Identifiers$1.loadContentQuery = {\n      name: 'ɵɵloadContentQuery',\n      moduleName: CORE$1\n    };\n    Identifiers$1.NgOnChangesFeature = {\n      name: 'ɵɵNgOnChangesFeature',\n      moduleName: CORE$1\n    };\n    Identifiers$1.InheritDefinitionFeature = {\n      name: 'ɵɵInheritDefinitionFeature',\n      moduleName: CORE$1\n    };\n    Identifiers$1.ProvidersFeature = {\n      name: 'ɵɵProvidersFeature',\n      moduleName: CORE$1\n    };\n    Identifiers$1.listener = {\n      name: 'ɵɵlistener',\n      moduleName: CORE$1\n    };\n    Identifiers$1.getFactoryOf = {\n      name: 'ɵɵgetFactoryOf',\n      moduleName: CORE$1\n    };\n    Identifiers$1.getInheritedFactory = {\n      name: 'ɵɵgetInheritedFactory',\n      moduleName: CORE$1\n    }; // sanitization-related functions\n\n    Identifiers$1.sanitizeHtml = {\n      name: 'ɵɵsanitizeHtml',\n      moduleName: CORE$1\n    };\n    Identifiers$1.sanitizeStyle = {\n      name: 'ɵɵsanitizeStyle',\n      moduleName: CORE$1\n    };\n    Identifiers$1.defaultStyleSanitizer = {\n      name: 'ɵɵdefaultStyleSanitizer',\n      moduleName: CORE$1\n    };\n    Identifiers$1.sanitizeResourceUrl = {\n      name: 'ɵɵsanitizeResourceUrl',\n      moduleName: CORE$1\n    };\n    Identifiers$1.sanitizeScript = {\n      name: 'ɵɵsanitizeScript',\n      moduleName: CORE$1\n    };\n    Identifiers$1.sanitizeUrl = {\n      name: 'ɵɵsanitizeUrl',\n      moduleName: CORE$1\n    };\n    Identifiers$1.sanitizeUrlOrResourceUrl = {\n      name: 'ɵɵsanitizeUrlOrResourceUrl',\n      moduleName: CORE$1\n    };\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    var $EOF = 0;\n    var $BSPACE = 8;\n    var $TAB = 9;\n    var $LF = 10;\n    var $VTAB = 11;\n    var $FF = 12;\n    var $CR = 13;\n    var $SPACE = 32;\n    var $BANG = 33;\n    var $DQ = 34;\n    var $HASH = 35;\n    var $$ = 36;\n    var $PERCENT = 37;\n    var $AMPERSAND = 38;\n    var $SQ = 39;\n    var $LPAREN = 40;\n    var $RPAREN = 41;\n    var $STAR = 42;\n    var $PLUS = 43;\n    var $COMMA = 44;\n    var $MINUS = 45;\n    var $PERIOD = 46;\n    var $SLASH = 47;\n    var $COLON = 58;\n    var $SEMICOLON = 59;\n    var $LT = 60;\n    var $EQ = 61;\n    var $GT = 62;\n    var $QUESTION = 63;\n    var $0 = 48;\n    var $7 = 55;\n    var $9 = 57;\n    var $A = 65;\n    var $E = 69;\n    var $F = 70;\n    var $X = 88;\n    var $Z = 90;\n    var $LBRACKET = 91;\n    var $BACKSLASH = 92;\n    var $RBRACKET = 93;\n    var $CARET = 94;\n    var $_ = 95;\n    var $a = 97;\n    var $b = 98;\n    var $e = 101;\n    var $f = 102;\n    var $n = 110;\n    var $r = 114;\n    var $t = 116;\n    var $u = 117;\n    var $v = 118;\n    var $x = 120;\n    var $z = 122;\n    var $LBRACE = 123;\n    var $BAR = 124;\n    var $RBRACE = 125;\n    var $NBSP = 160;\n    var $PIPE = 124;\n    var $TILDA = 126;\n    var $AT = 64;\n    var $BT = 96;\n\n    function isWhitespace(code) {\n      return code >= $TAB && code <= $SPACE || code == $NBSP;\n    }\n\n    function isDigit(code) {\n      return $0 <= code && code <= $9;\n    }\n\n    function isAsciiLetter(code) {\n      return code >= $a && code <= $z || code >= $A && code <= $Z;\n    }\n\n    function isAsciiHexDigit(code) {\n      return code >= $a && code <= $f || code >= $A && code <= $F || isDigit(code);\n    }\n\n    function isNewLine(code) {\n      return code === $LF || code === $CR;\n    }\n\n    function isOctalDigit(code) {\n      return $0 <= code && code <= $7;\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var ParseLocation =\n    /*#__PURE__*/\n    function () {\n      function ParseLocation(file, offset, line, col) {\n        _classCallCheck(this, ParseLocation);\n\n        this.file = file;\n        this.offset = offset;\n        this.line = line;\n        this.col = col;\n      }\n\n      _createClass2(ParseLocation, [{\n        key: \"toString\",\n        value: function toString() {\n          return this.offset != null ? \"\".concat(this.file.url, \"@\").concat(this.line, \":\").concat(this.col) : this.file.url;\n        }\n      }, {\n        key: \"moveBy\",\n        value: function moveBy(delta) {\n          var source = this.file.content;\n          var len = source.length;\n          var offset = this.offset;\n          var line = this.line;\n          var col = this.col;\n\n          while (offset > 0 && delta < 0) {\n            offset--;\n            delta++;\n            var ch = source.charCodeAt(offset);\n\n            if (ch == $LF) {\n              line--;\n              var priorLine = source.substr(0, offset - 1).lastIndexOf(String.fromCharCode($LF));\n              col = priorLine > 0 ? offset - priorLine : offset;\n            } else {\n              col--;\n            }\n          }\n\n          while (offset < len && delta > 0) {\n            var _ch = source.charCodeAt(offset);\n\n            offset++;\n            delta--;\n\n            if (_ch == $LF) {\n              line++;\n              col = 0;\n            } else {\n              col++;\n            }\n          }\n\n          return new ParseLocation(this.file, offset, line, col);\n        } // Return the source around the location\n        // Up to `maxChars` or `maxLines` on each side of the location\n\n      }, {\n        key: \"getContext\",\n        value: function getContext(maxChars, maxLines) {\n          var content = this.file.content;\n          var startOffset = this.offset;\n\n          if (startOffset != null) {\n            if (startOffset > content.length - 1) {\n              startOffset = content.length - 1;\n            }\n\n            var endOffset = startOffset;\n            var ctxChars = 0;\n            var ctxLines = 0;\n\n            while (ctxChars < maxChars && startOffset > 0) {\n              startOffset--;\n              ctxChars++;\n\n              if (content[startOffset] == '\\n') {\n                if (++ctxLines == maxLines) {\n                  break;\n                }\n              }\n            }\n\n            ctxChars = 0;\n            ctxLines = 0;\n\n            while (ctxChars < maxChars && endOffset < content.length - 1) {\n              endOffset++;\n              ctxChars++;\n\n              if (content[endOffset] == '\\n') {\n                if (++ctxLines == maxLines) {\n                  break;\n                }\n              }\n            }\n\n            return {\n              before: content.substring(startOffset, this.offset),\n              after: content.substring(this.offset, endOffset + 1)\n            };\n          }\n\n          return null;\n        }\n      }]);\n\n      return ParseLocation;\n    }();\n\n    var ParseSourceFile = function ParseSourceFile(content, url) {\n      _classCallCheck(this, ParseSourceFile);\n\n      this.content = content;\n      this.url = url;\n    };\n\n    var ParseSourceSpan =\n    /*#__PURE__*/\n    function () {\n      function ParseSourceSpan(start, end) {\n        var details = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n\n        _classCallCheck(this, ParseSourceSpan);\n\n        this.start = start;\n        this.end = end;\n        this.details = details;\n      }\n\n      _createClass2(ParseSourceSpan, [{\n        key: \"toString\",\n        value: function toString() {\n          return this.start.file.content.substring(this.start.offset, this.end.offset);\n        }\n      }]);\n\n      return ParseSourceSpan;\n    }();\n\n    var EMPTY_PARSE_LOCATION = new ParseLocation(new ParseSourceFile('', ''), 0, 0, 0);\n    var EMPTY_SOURCE_SPAN = new ParseSourceSpan(EMPTY_PARSE_LOCATION, EMPTY_PARSE_LOCATION);\n    var ParseErrorLevel;\n\n    (function (ParseErrorLevel) {\n      ParseErrorLevel[ParseErrorLevel[\"WARNING\"] = 0] = \"WARNING\";\n      ParseErrorLevel[ParseErrorLevel[\"ERROR\"] = 1] = \"ERROR\";\n    })(ParseErrorLevel || (ParseErrorLevel = {}));\n\n    var ParseError =\n    /*#__PURE__*/\n    function () {\n      function ParseError(span, msg) {\n        var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : ParseErrorLevel.ERROR;\n\n        _classCallCheck(this, ParseError);\n\n        this.span = span;\n        this.msg = msg;\n        this.level = level;\n      }\n\n      _createClass2(ParseError, [{\n        key: \"contextualMessage\",\n        value: function contextualMessage() {\n          var ctx = this.span.start.getContext(100, 3);\n          return ctx ? \"\".concat(this.msg, \" (\\\"\").concat(ctx.before, \"[\").concat(ParseErrorLevel[this.level], \" ->]\").concat(ctx.after, \"\\\")\") : this.msg;\n        }\n      }, {\n        key: \"toString\",\n        value: function toString() {\n          var details = this.span.details ? \", \".concat(this.span.details) : '';\n          return \"\".concat(this.contextualMessage(), \": \").concat(this.span.start).concat(details);\n        }\n      }]);\n\n      return ParseError;\n    }();\n\n    function typeSourceSpan(kind, type) {\n      var moduleUrl = identifierModuleUrl(type);\n      var sourceFileName = moduleUrl != null ? \"in \".concat(kind, \" \").concat(identifierName(type), \" in \").concat(moduleUrl) : \"in \".concat(kind, \" \").concat(identifierName(type));\n      var sourceFile = new ParseSourceFile('', sourceFileName);\n      return new ParseSourceSpan(new ParseLocation(sourceFile, -1, -1, -1), new ParseLocation(sourceFile, -1, -1, -1));\n    }\n    /**\n     * Generates Source Span object for a given R3 Type for JIT mode.\n     *\n     * @param kind Component or Directive.\n     * @param typeName name of the Component or Directive.\n     * @param sourceUrl reference to Component or Directive source.\n     * @returns instance of ParseSourceSpan that represent a given Component or Directive.\n     */\n\n\n    function r3JitTypeSourceSpan(kind, typeName, sourceUrl) {\n      var sourceFileName = \"in \".concat(kind, \" \").concat(typeName, \" in \").concat(sourceUrl);\n      var sourceFile = new ParseSourceFile('', sourceFileName);\n      return new ParseSourceSpan(new ParseLocation(sourceFile, -1, -1, -1), new ParseLocation(sourceFile, -1, -1, -1));\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var Text =\n    /*#__PURE__*/\n    function () {\n      function Text(value, sourceSpan) {\n        _classCallCheck(this, Text);\n\n        this.value = value;\n        this.sourceSpan = sourceSpan;\n      }\n\n      _createClass2(Text, [{\n        key: \"visit\",\n        value: function visit(visitor) {\n          return visitor.visitText(this);\n        }\n      }]);\n\n      return Text;\n    }();\n\n    var BoundText =\n    /*#__PURE__*/\n    function () {\n      function BoundText(value, sourceSpan, i18n) {\n        _classCallCheck(this, BoundText);\n\n        this.value = value;\n        this.sourceSpan = sourceSpan;\n        this.i18n = i18n;\n      }\n\n      _createClass2(BoundText, [{\n        key: \"visit\",\n        value: function visit(visitor) {\n          return visitor.visitBoundText(this);\n        }\n      }]);\n\n      return BoundText;\n    }();\n\n    var TextAttribute =\n    /*#__PURE__*/\n    function () {\n      function TextAttribute(name, value, sourceSpan, valueSpan, i18n) {\n        _classCallCheck(this, TextAttribute);\n\n        this.name = name;\n        this.value = value;\n        this.sourceSpan = sourceSpan;\n        this.valueSpan = valueSpan;\n        this.i18n = i18n;\n      }\n\n      _createClass2(TextAttribute, [{\n        key: \"visit\",\n        value: function visit(visitor) {\n          return visitor.visitTextAttribute(this);\n        }\n      }]);\n\n      return TextAttribute;\n    }();\n\n    var BoundAttribute =\n    /*#__PURE__*/\n    function () {\n      function BoundAttribute(name, type, securityContext, value, unit, sourceSpan, valueSpan, i18n) {\n        _classCallCheck(this, BoundAttribute);\n\n        this.name = name;\n        this.type = type;\n        this.securityContext = securityContext;\n        this.value = value;\n        this.unit = unit;\n        this.sourceSpan = sourceSpan;\n        this.valueSpan = valueSpan;\n        this.i18n = i18n;\n      }\n\n      _createClass2(BoundAttribute, [{\n        key: \"visit\",\n        value: function visit(visitor) {\n          return visitor.visitBoundAttribute(this);\n        }\n      }], [{\n        key: \"fromBoundElementProperty\",\n        value: function fromBoundElementProperty(prop, i18n) {\n          return new BoundAttribute(prop.name, prop.type, prop.securityContext, prop.value, prop.unit, prop.sourceSpan, prop.valueSpan, i18n);\n        }\n      }]);\n\n      return BoundAttribute;\n    }();\n\n    var BoundEvent =\n    /*#__PURE__*/\n    function () {\n      function BoundEvent(name, type, handler, target, phase, sourceSpan, handlerSpan) {\n        _classCallCheck(this, BoundEvent);\n\n        this.name = name;\n        this.type = type;\n        this.handler = handler;\n        this.target = target;\n        this.phase = phase;\n        this.sourceSpan = sourceSpan;\n        this.handlerSpan = handlerSpan;\n      }\n\n      _createClass2(BoundEvent, [{\n        key: \"visit\",\n        value: function visit(visitor) {\n          return visitor.visitBoundEvent(this);\n        }\n      }], [{\n        key: \"fromParsedEvent\",\n        value: function fromParsedEvent(event) {\n          var target = event.type === 0\n          /* Regular */\n          ? event.targetOrPhase : null;\n          var phase = event.type === 1\n          /* Animation */\n          ? event.targetOrPhase : null;\n          return new BoundEvent(event.name, event.type, event.handler, target, phase, event.sourceSpan, event.handlerSpan);\n        }\n      }]);\n\n      return BoundEvent;\n    }();\n\n    var Element =\n    /*#__PURE__*/\n    function () {\n      function Element(name, attributes, inputs, outputs, children, references, sourceSpan, startSourceSpan, endSourceSpan, i18n) {\n        _classCallCheck(this, Element);\n\n        this.name = name;\n        this.attributes = attributes;\n        this.inputs = inputs;\n        this.outputs = outputs;\n        this.children = children;\n        this.references = references;\n        this.sourceSpan = sourceSpan;\n        this.startSourceSpan = startSourceSpan;\n        this.endSourceSpan = endSourceSpan;\n        this.i18n = i18n; // If the element is empty then the source span should include any closing tag\n\n        if (children.length === 0 && startSourceSpan && endSourceSpan) {\n          this.sourceSpan = new ParseSourceSpan(sourceSpan.start, endSourceSpan.end);\n        }\n      }\n\n      _createClass2(Element, [{\n        key: \"visit\",\n        value: function visit(visitor) {\n          return visitor.visitElement(this);\n        }\n      }]);\n\n      return Element;\n    }();\n\n    var Template =\n    /*#__PURE__*/\n    function () {\n      function Template(tagName, attributes, inputs, outputs, templateAttrs, children, references, variables, sourceSpan, startSourceSpan, endSourceSpan, i18n) {\n        _classCallCheck(this, Template);\n\n        this.tagName = tagName;\n        this.attributes = attributes;\n        this.inputs = inputs;\n        this.outputs = outputs;\n        this.templateAttrs = templateAttrs;\n        this.children = children;\n        this.references = references;\n        this.variables = variables;\n        this.sourceSpan = sourceSpan;\n        this.startSourceSpan = startSourceSpan;\n        this.endSourceSpan = endSourceSpan;\n        this.i18n = i18n;\n      }\n\n      _createClass2(Template, [{\n        key: \"visit\",\n        value: function visit(visitor) {\n          return visitor.visitTemplate(this);\n        }\n      }]);\n\n      return Template;\n    }();\n\n    var Content =\n    /*#__PURE__*/\n    function () {\n      function Content(selector, attributes, sourceSpan, i18n) {\n        _classCallCheck(this, Content);\n\n        this.selector = selector;\n        this.attributes = attributes;\n        this.sourceSpan = sourceSpan;\n        this.i18n = i18n;\n      }\n\n      _createClass2(Content, [{\n        key: \"visit\",\n        value: function visit(visitor) {\n          return visitor.visitContent(this);\n        }\n      }]);\n\n      return Content;\n    }();\n\n    var Variable =\n    /*#__PURE__*/\n    function () {\n      function Variable(name, value, sourceSpan, valueSpan) {\n        _classCallCheck(this, Variable);\n\n        this.name = name;\n        this.value = value;\n        this.sourceSpan = sourceSpan;\n        this.valueSpan = valueSpan;\n      }\n\n      _createClass2(Variable, [{\n        key: \"visit\",\n        value: function visit(visitor) {\n          return visitor.visitVariable(this);\n        }\n      }]);\n\n      return Variable;\n    }();\n\n    var Reference =\n    /*#__PURE__*/\n    function () {\n      function Reference(name, value, sourceSpan, valueSpan) {\n        _classCallCheck(this, Reference);\n\n        this.name = name;\n        this.value = value;\n        this.sourceSpan = sourceSpan;\n        this.valueSpan = valueSpan;\n      }\n\n      _createClass2(Reference, [{\n        key: \"visit\",\n        value: function visit(visitor) {\n          return visitor.visitReference(this);\n        }\n      }]);\n\n      return Reference;\n    }();\n\n    var Icu =\n    /*#__PURE__*/\n    function () {\n      function Icu(vars, placeholders, sourceSpan, i18n) {\n        _classCallCheck(this, Icu);\n\n        this.vars = vars;\n        this.placeholders = placeholders;\n        this.sourceSpan = sourceSpan;\n        this.i18n = i18n;\n      }\n\n      _createClass2(Icu, [{\n        key: \"visit\",\n        value: function visit(visitor) {\n          return visitor.visitIcu(this);\n        }\n      }]);\n\n      return Icu;\n    }();\n\n    var NullVisitor =\n    /*#__PURE__*/\n    function () {\n      function NullVisitor() {\n        _classCallCheck(this, NullVisitor);\n      }\n\n      _createClass2(NullVisitor, [{\n        key: \"visitElement\",\n        value: function visitElement(element) {}\n      }, {\n        key: \"visitTemplate\",\n        value: function visitTemplate(template) {}\n      }, {\n        key: \"visitContent\",\n        value: function visitContent(content) {}\n      }, {\n        key: \"visitVariable\",\n        value: function visitVariable(variable) {}\n      }, {\n        key: \"visitReference\",\n        value: function visitReference(reference) {}\n      }, {\n        key: \"visitTextAttribute\",\n        value: function visitTextAttribute(attribute) {}\n      }, {\n        key: \"visitBoundAttribute\",\n        value: function visitBoundAttribute(attribute) {}\n      }, {\n        key: \"visitBoundEvent\",\n        value: function visitBoundEvent(attribute) {}\n      }, {\n        key: \"visitText\",\n        value: function visitText(text) {}\n      }, {\n        key: \"visitBoundText\",\n        value: function visitBoundText(text) {}\n      }, {\n        key: \"visitIcu\",\n        value: function visitIcu(icu) {}\n      }]);\n\n      return NullVisitor;\n    }();\n\n    var RecursiveVisitor =\n    /*#__PURE__*/\n    function () {\n      function RecursiveVisitor() {\n        _classCallCheck(this, RecursiveVisitor);\n      }\n\n      _createClass2(RecursiveVisitor, [{\n        key: \"visitElement\",\n        value: function visitElement(element) {\n          visitAll(this, element.attributes);\n          visitAll(this, element.children);\n          visitAll(this, element.references);\n        }\n      }, {\n        key: \"visitTemplate\",\n        value: function visitTemplate(template) {\n          visitAll(this, template.attributes);\n          visitAll(this, template.children);\n          visitAll(this, template.references);\n          visitAll(this, template.variables);\n        }\n      }, {\n        key: \"visitContent\",\n        value: function visitContent(content) {}\n      }, {\n        key: \"visitVariable\",\n        value: function visitVariable(variable) {}\n      }, {\n        key: \"visitReference\",\n        value: function visitReference(reference) {}\n      }, {\n        key: \"visitTextAttribute\",\n        value: function visitTextAttribute(attribute) {}\n      }, {\n        key: \"visitBoundAttribute\",\n        value: function visitBoundAttribute(attribute) {}\n      }, {\n        key: \"visitBoundEvent\",\n        value: function visitBoundEvent(attribute) {}\n      }, {\n        key: \"visitText\",\n        value: function visitText(text) {}\n      }, {\n        key: \"visitBoundText\",\n        value: function visitBoundText(text) {}\n      }, {\n        key: \"visitIcu\",\n        value: function visitIcu(icu) {}\n      }]);\n\n      return RecursiveVisitor;\n    }();\n\n    var TransformVisitor =\n    /*#__PURE__*/\n    function () {\n      function TransformVisitor() {\n        _classCallCheck(this, TransformVisitor);\n      }\n\n      _createClass2(TransformVisitor, [{\n        key: \"visitElement\",\n        value: function visitElement(element) {\n          var newAttributes = transformAll(this, element.attributes);\n          var newInputs = transformAll(this, element.inputs);\n          var newOutputs = transformAll(this, element.outputs);\n          var newChildren = transformAll(this, element.children);\n          var newReferences = transformAll(this, element.references);\n\n          if (newAttributes != element.attributes || newInputs != element.inputs || newOutputs != element.outputs || newChildren != element.children || newReferences != element.references) {\n            return new Element(element.name, newAttributes, newInputs, newOutputs, newChildren, newReferences, element.sourceSpan, element.startSourceSpan, element.endSourceSpan);\n          }\n\n          return element;\n        }\n      }, {\n        key: \"visitTemplate\",\n        value: function visitTemplate(template) {\n          var newAttributes = transformAll(this, template.attributes);\n          var newInputs = transformAll(this, template.inputs);\n          var newOutputs = transformAll(this, template.outputs);\n          var newTemplateAttrs = transformAll(this, template.templateAttrs);\n          var newChildren = transformAll(this, template.children);\n          var newReferences = transformAll(this, template.references);\n          var newVariables = transformAll(this, template.variables);\n\n          if (newAttributes != template.attributes || newInputs != template.inputs || newOutputs != template.outputs || newTemplateAttrs != template.templateAttrs || newChildren != template.children || newReferences != template.references || newVariables != template.variables) {\n            return new Template(template.tagName, newAttributes, newInputs, newOutputs, newTemplateAttrs, newChildren, newReferences, newVariables, template.sourceSpan, template.startSourceSpan, template.endSourceSpan);\n          }\n\n          return template;\n        }\n      }, {\n        key: \"visitContent\",\n        value: function visitContent(content) {\n          return content;\n        }\n      }, {\n        key: \"visitVariable\",\n        value: function visitVariable(variable) {\n          return variable;\n        }\n      }, {\n        key: \"visitReference\",\n        value: function visitReference(reference) {\n          return reference;\n        }\n      }, {\n        key: \"visitTextAttribute\",\n        value: function visitTextAttribute(attribute) {\n          return attribute;\n        }\n      }, {\n        key: \"visitBoundAttribute\",\n        value: function visitBoundAttribute(attribute) {\n          return attribute;\n        }\n      }, {\n        key: \"visitBoundEvent\",\n        value: function visitBoundEvent(attribute) {\n          return attribute;\n        }\n      }, {\n        key: \"visitText\",\n        value: function visitText(text) {\n          return text;\n        }\n      }, {\n        key: \"visitBoundText\",\n        value: function visitBoundText(text) {\n          return text;\n        }\n      }, {\n        key: \"visitIcu\",\n        value: function visitIcu(icu) {\n          return icu;\n        }\n      }]);\n\n      return TransformVisitor;\n    }();\n\n    function visitAll(visitor, nodes) {\n      var result = [];\n\n      if (visitor.visit) {\n        var _iteratorNormalCompletion10 = true;\n        var _didIteratorError10 = false;\n        var _iteratorError10 = undefined;\n\n        try {\n          for (var _iterator10 = nodes[Symbol.iterator](), _step10; !(_iteratorNormalCompletion10 = (_step10 = _iterator10.next()).done); _iteratorNormalCompletion10 = true) {\n            var node = _step10.value;\n            var newNode = visitor.visit(node) || node.visit(visitor);\n          }\n        } catch (err) {\n          _didIteratorError10 = true;\n          _iteratorError10 = err;\n        } finally {\n          try {\n            if (!_iteratorNormalCompletion10 && _iterator10.return != null) {\n              _iterator10.return();\n            }\n          } finally {\n            if (_didIteratorError10) {\n              throw _iteratorError10;\n            }\n          }\n        }\n      } else {\n        var _iteratorNormalCompletion11 = true;\n        var _didIteratorError11 = false;\n        var _iteratorError11 = undefined;\n\n        try {\n          for (var _iterator11 = nodes[Symbol.iterator](), _step11; !(_iteratorNormalCompletion11 = (_step11 = _iterator11.next()).done); _iteratorNormalCompletion11 = true) {\n            var _node = _step11.value;\n\n            var _newNode = _node.visit(visitor);\n\n            if (_newNode) {\n              result.push(_newNode);\n            }\n          }\n        } catch (err) {\n          _didIteratorError11 = true;\n          _iteratorError11 = err;\n        } finally {\n          try {\n            if (!_iteratorNormalCompletion11 && _iterator11.return != null) {\n              _iterator11.return();\n            }\n          } finally {\n            if (_didIteratorError11) {\n              throw _iteratorError11;\n            }\n          }\n        }\n      }\n\n      return result;\n    }\n\n    function transformAll(visitor, nodes) {\n      var result = [];\n      var changed = false;\n      var _iteratorNormalCompletion12 = true;\n      var _didIteratorError12 = false;\n      var _iteratorError12 = undefined;\n\n      try {\n        for (var _iterator12 = nodes[Symbol.iterator](), _step12; !(_iteratorNormalCompletion12 = (_step12 = _iterator12.next()).done); _iteratorNormalCompletion12 = true) {\n          var node = _step12.value;\n          var newNode = node.visit(visitor);\n\n          if (newNode) {\n            result.push(newNode);\n          }\n\n          changed = changed || newNode != node;\n        }\n      } catch (err) {\n        _didIteratorError12 = true;\n        _iteratorError12 = err;\n      } finally {\n        try {\n          if (!_iteratorNormalCompletion12 && _iterator12.return != null) {\n            _iterator12.return();\n          }\n        } finally {\n          if (_didIteratorError12) {\n            throw _iteratorError12;\n          }\n        }\n      }\n\n      return changed ? result : nodes;\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var Message =\n    /**\n     * @param nodes message AST\n     * @param placeholders maps placeholder names to static content\n     * @param placeholderToMessage maps placeholder names to messages (used for nested ICU messages)\n     * @param meaning\n     * @param description\n     * @param id\n     */\n    function Message(nodes, placeholders, placeholderToMessage, meaning, description, id) {\n      _classCallCheck(this, Message);\n\n      this.nodes = nodes;\n      this.placeholders = placeholders;\n      this.placeholderToMessage = placeholderToMessage;\n      this.meaning = meaning;\n      this.description = description;\n      this.id = id;\n\n      if (nodes.length) {\n        this.sources = [{\n          filePath: nodes[0].sourceSpan.start.file.url,\n          startLine: nodes[0].sourceSpan.start.line + 1,\n          startCol: nodes[0].sourceSpan.start.col + 1,\n          endLine: nodes[nodes.length - 1].sourceSpan.end.line + 1,\n          endCol: nodes[0].sourceSpan.start.col + 1\n        }];\n      } else {\n        this.sources = [];\n      }\n    };\n\n    var Text$1 =\n    /*#__PURE__*/\n    function () {\n      function Text$1(value, sourceSpan) {\n        _classCallCheck(this, Text$1);\n\n        this.value = value;\n        this.sourceSpan = sourceSpan;\n      }\n\n      _createClass2(Text$1, [{\n        key: \"visit\",\n        value: function visit(visitor, context) {\n          return visitor.visitText(this, context);\n        }\n      }]);\n\n      return Text$1;\n    }(); // TODO(vicb): do we really need this node (vs an array) ?\n\n\n    var Container =\n    /*#__PURE__*/\n    function () {\n      function Container(children, sourceSpan) {\n        _classCallCheck(this, Container);\n\n        this.children = children;\n        this.sourceSpan = sourceSpan;\n      }\n\n      _createClass2(Container, [{\n        key: \"visit\",\n        value: function visit(visitor, context) {\n          return visitor.visitContainer(this, context);\n        }\n      }]);\n\n      return Container;\n    }();\n\n    var Icu$1 =\n    /*#__PURE__*/\n    function () {\n      function Icu$1(expression, type, cases, sourceSpan) {\n        _classCallCheck(this, Icu$1);\n\n        this.expression = expression;\n        this.type = type;\n        this.cases = cases;\n        this.sourceSpan = sourceSpan;\n      }\n\n      _createClass2(Icu$1, [{\n        key: \"visit\",\n        value: function visit(visitor, context) {\n          return visitor.visitIcu(this, context);\n        }\n      }]);\n\n      return Icu$1;\n    }();\n\n    var TagPlaceholder =\n    /*#__PURE__*/\n    function () {\n      function TagPlaceholder(tag, attrs, startName, closeName, children, isVoid, sourceSpan) {\n        _classCallCheck(this, TagPlaceholder);\n\n        this.tag = tag;\n        this.attrs = attrs;\n        this.startName = startName;\n        this.closeName = closeName;\n        this.children = children;\n        this.isVoid = isVoid;\n        this.sourceSpan = sourceSpan;\n      }\n\n      _createClass2(TagPlaceholder, [{\n        key: \"visit\",\n        value: function visit(visitor, context) {\n          return visitor.visitTagPlaceholder(this, context);\n        }\n      }]);\n\n      return TagPlaceholder;\n    }();\n\n    var Placeholder =\n    /*#__PURE__*/\n    function () {\n      function Placeholder(value, name, sourceSpan) {\n        _classCallCheck(this, Placeholder);\n\n        this.value = value;\n        this.name = name;\n        this.sourceSpan = sourceSpan;\n      }\n\n      _createClass2(Placeholder, [{\n        key: \"visit\",\n        value: function visit(visitor, context) {\n          return visitor.visitPlaceholder(this, context);\n        }\n      }]);\n\n      return Placeholder;\n    }();\n\n    var IcuPlaceholder =\n    /*#__PURE__*/\n    function () {\n      function IcuPlaceholder(value, name, sourceSpan) {\n        _classCallCheck(this, IcuPlaceholder);\n\n        this.value = value;\n        this.name = name;\n        this.sourceSpan = sourceSpan;\n      }\n\n      _createClass2(IcuPlaceholder, [{\n        key: \"visit\",\n        value: function visit(visitor, context) {\n          return visitor.visitIcuPlaceholder(this, context);\n        }\n      }]);\n\n      return IcuPlaceholder;\n    }(); // Clone the AST\n\n\n    var CloneVisitor =\n    /*#__PURE__*/\n    function () {\n      function CloneVisitor() {\n        _classCallCheck(this, CloneVisitor);\n      }\n\n      _createClass2(CloneVisitor, [{\n        key: \"visitText\",\n        value: function visitText(text, context) {\n          return new Text$1(text.value, text.sourceSpan);\n        }\n      }, {\n        key: \"visitContainer\",\n        value: function visitContainer(container, context) {\n          var _this206 = this;\n\n          var children = container.children.map(function (n) {\n            return n.visit(_this206, context);\n          });\n          return new Container(children, container.sourceSpan);\n        }\n      }, {\n        key: \"visitIcu\",\n        value: function visitIcu(icu, context) {\n          var _this207 = this;\n\n          var cases = {};\n          Object.keys(icu.cases).forEach(function (key) {\n            return cases[key] = icu.cases[key].visit(_this207, context);\n          });\n          var msg = new Icu$1(icu.expression, icu.type, cases, icu.sourceSpan);\n          msg.expressionPlaceholder = icu.expressionPlaceholder;\n          return msg;\n        }\n      }, {\n        key: \"visitTagPlaceholder\",\n        value: function visitTagPlaceholder(ph, context) {\n          var _this208 = this;\n\n          var children = ph.children.map(function (n) {\n            return n.visit(_this208, context);\n          });\n          return new TagPlaceholder(ph.tag, ph.attrs, ph.startName, ph.closeName, children, ph.isVoid, ph.sourceSpan);\n        }\n      }, {\n        key: \"visitPlaceholder\",\n        value: function visitPlaceholder(ph, context) {\n          return new Placeholder(ph.value, ph.name, ph.sourceSpan);\n        }\n      }, {\n        key: \"visitIcuPlaceholder\",\n        value: function visitIcuPlaceholder(ph, context) {\n          return new IcuPlaceholder(ph.value, ph.name, ph.sourceSpan);\n        }\n      }]);\n\n      return CloneVisitor;\n    }(); // Visit all the nodes recursively\n\n\n    var RecurseVisitor =\n    /*#__PURE__*/\n    function () {\n      function RecurseVisitor() {\n        _classCallCheck(this, RecurseVisitor);\n      }\n\n      _createClass2(RecurseVisitor, [{\n        key: \"visitText\",\n        value: function visitText(text, context) {}\n      }, {\n        key: \"visitContainer\",\n        value: function visitContainer(container, context) {\n          var _this209 = this;\n\n          container.children.forEach(function (child) {\n            return child.visit(_this209);\n          });\n        }\n      }, {\n        key: \"visitIcu\",\n        value: function visitIcu(icu, context) {\n          var _this210 = this;\n\n          Object.keys(icu.cases).forEach(function (k) {\n            icu.cases[k].visit(_this210);\n          });\n        }\n      }, {\n        key: \"visitTagPlaceholder\",\n        value: function visitTagPlaceholder(ph, context) {\n          var _this211 = this;\n\n          ph.children.forEach(function (child) {\n            return child.visit(_this211);\n          });\n        }\n      }, {\n        key: \"visitPlaceholder\",\n        value: function visitPlaceholder(ph, context) {}\n      }, {\n        key: \"visitIcuPlaceholder\",\n        value: function visitIcuPlaceholder(ph, context) {}\n      }]);\n\n      return RecurseVisitor;\n    }();\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    function _digest2(message) {\n      return message.id || sha1(serializeNodes(message.nodes).join('') + \"[\".concat(message.meaning, \"]\"));\n    }\n\n    function decimalDigest(message) {\n      if (message.id) {\n        return message.id;\n      }\n\n      var visitor = new _SerializerIgnoreIcuExpVisitor();\n      var parts = message.nodes.map(function (a) {\n        return a.visit(visitor, null);\n      });\n      return computeMsgId(parts.join(''), message.meaning);\n    }\n    /**\n     * Serialize the i18n ast to something xml-like in order to generate an UID.\n     *\n     * The visitor is also used in the i18n parser tests\n     *\n     * @internal\n     */\n\n\n    var _SerializerVisitor =\n    /*#__PURE__*/\n    function () {\n      function _SerializerVisitor() {\n        _classCallCheck(this, _SerializerVisitor);\n      }\n\n      _createClass2(_SerializerVisitor, [{\n        key: \"visitText\",\n        value: function visitText(text, context) {\n          return text.value;\n        }\n      }, {\n        key: \"visitContainer\",\n        value: function visitContainer(container, context) {\n          var _this212 = this;\n\n          return \"[\".concat(container.children.map(function (child) {\n            return child.visit(_this212);\n          }).join(', '), \"]\");\n        }\n      }, {\n        key: \"visitIcu\",\n        value: function visitIcu(icu, context) {\n          var _this213 = this;\n\n          var strCases = Object.keys(icu.cases).map(function (k) {\n            return \"\".concat(k, \" {\").concat(icu.cases[k].visit(_this213), \"}\");\n          });\n          return \"{\".concat(icu.expression, \", \").concat(icu.type, \", \").concat(strCases.join(', '), \"}\");\n        }\n      }, {\n        key: \"visitTagPlaceholder\",\n        value: function visitTagPlaceholder(ph, context) {\n          var _this214 = this;\n\n          return ph.isVoid ? \"<ph tag name=\\\"\".concat(ph.startName, \"\\\"/>\") : \"<ph tag name=\\\"\".concat(ph.startName, \"\\\">\").concat(ph.children.map(function (child) {\n            return child.visit(_this214);\n          }).join(', '), \"</ph name=\\\"\").concat(ph.closeName, \"\\\">\");\n        }\n      }, {\n        key: \"visitPlaceholder\",\n        value: function visitPlaceholder(ph, context) {\n          return ph.value ? \"<ph name=\\\"\".concat(ph.name, \"\\\">\").concat(ph.value, \"</ph>\") : \"<ph name=\\\"\".concat(ph.name, \"\\\"/>\");\n        }\n      }, {\n        key: \"visitIcuPlaceholder\",\n        value: function visitIcuPlaceholder(ph, context) {\n          return \"<ph icu name=\\\"\".concat(ph.name, \"\\\">\").concat(ph.value.visit(this), \"</ph>\");\n        }\n      }]);\n\n      return _SerializerVisitor;\n    }();\n\n    var serializerVisitor = new _SerializerVisitor();\n\n    function serializeNodes(nodes) {\n      return nodes.map(function (a) {\n        return a.visit(serializerVisitor, null);\n      });\n    }\n    /**\n     * Serialize the i18n ast to something xml-like in order to generate an UID.\n     *\n     * Ignore the ICU expressions so that message IDs stays identical if only the expression changes.\n     *\n     * @internal\n     */\n\n\n    var _SerializerIgnoreIcuExpVisitor =\n    /*#__PURE__*/\n    function (_SerializerVisitor2) {\n      _inherits(_SerializerIgnoreIcuExpVisitor, _SerializerVisitor2);\n\n      function _SerializerIgnoreIcuExpVisitor() {\n        _classCallCheck(this, _SerializerIgnoreIcuExpVisitor);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(_SerializerIgnoreIcuExpVisitor).apply(this, arguments));\n      }\n\n      _createClass2(_SerializerIgnoreIcuExpVisitor, [{\n        key: \"visitIcu\",\n        value: function visitIcu(icu, context) {\n          var _this215 = this;\n\n          var strCases = Object.keys(icu.cases).map(function (k) {\n            return \"\".concat(k, \" {\").concat(icu.cases[k].visit(_this215), \"}\");\n          }); // Do not take the expression into account\n\n          return \"{\".concat(icu.type, \", \").concat(strCases.join(', '), \"}\");\n        }\n      }]);\n\n      return _SerializerIgnoreIcuExpVisitor;\n    }(_SerializerVisitor);\n    /**\n     * Compute the SHA1 of the given string\n     *\n     * see http://csrc.nist.gov/publications/fips/fips180-4/fips-180-4.pdf\n     *\n     * WARNING: this function has not been designed not tested with security in mind.\n     *          DO NOT USE IT IN A SECURITY SENSITIVE CONTEXT.\n     */\n\n\n    function sha1(str) {\n      var utf8 = utf8Encode(str);\n      var words32 = stringToWords32(utf8, Endian.Big);\n      var len = utf8.length * 8;\n      var w = new Array(80);\n      var a = 0x67452301,\n          b = 0xefcdab89,\n          c = 0x98badcfe,\n          d = 0x10325476,\n          e = 0xc3d2e1f0;\n      words32[len >> 5] |= 0x80 << 24 - len % 32;\n      words32[(len + 64 >> 9 << 4) + 15] = len;\n\n      for (var i = 0; i < words32.length; i += 16) {\n        var h0 = a,\n            h1 = b,\n            h2 = c,\n            h3 = d,\n            h4 = e;\n\n        for (var j = 0; j < 80; j++) {\n          if (j < 16) {\n            w[j] = words32[i + j];\n          } else {\n            w[j] = rol32(w[j - 3] ^ w[j - 8] ^ w[j - 14] ^ w[j - 16], 1);\n          }\n\n          var _fk = fk(j, b, c, d),\n              _fk2 = _slicedToArray(_fk, 2),\n              f = _fk2[0],\n              k = _fk2[1];\n\n          var temp = [rol32(a, 5), f, e, k, w[j]].reduce(add32);\n          var _ref16 = [d, c, rol32(b, 30), a, temp];\n          e = _ref16[0];\n          d = _ref16[1];\n          c = _ref16[2];\n          b = _ref16[3];\n          a = _ref16[4];\n        }\n\n        var _ref17 = [add32(a, h0), add32(b, h1), add32(c, h2), add32(d, h3), add32(e, h4)];\n        a = _ref17[0];\n        b = _ref17[1];\n        c = _ref17[2];\n        d = _ref17[3];\n        e = _ref17[4];\n      }\n\n      return byteStringToHexString(words32ToByteString([a, b, c, d, e]));\n    }\n\n    function fk(index, b, c, d) {\n      if (index < 20) {\n        return [b & c | ~b & d, 0x5a827999];\n      }\n\n      if (index < 40) {\n        return [b ^ c ^ d, 0x6ed9eba1];\n      }\n\n      if (index < 60) {\n        return [b & c | b & d | c & d, 0x8f1bbcdc];\n      }\n\n      return [b ^ c ^ d, 0xca62c1d6];\n    }\n    /**\n     * Compute the fingerprint of the given string\n     *\n     * The output is 64 bit number encoded as a decimal string\n     *\n     * based on:\n     * https://github.com/google/closure-compiler/blob/master/src/com/google/javascript/jscomp/GoogleJsMessageIdGenerator.java\n     */\n\n\n    function fingerprint(str) {\n      var utf8 = utf8Encode(str);\n      var _ref18 = [hash32(utf8, 0), hash32(utf8, 102072)],\n          hi = _ref18[0],\n          lo = _ref18[1];\n\n      if (hi == 0 && (lo == 0 || lo == 1)) {\n        hi = hi ^ 0x130f9bef;\n        lo = lo ^ -0x6b5f56d8;\n      }\n\n      return [hi, lo];\n    }\n\n    function computeMsgId(msg, meaning) {\n      var _fingerprint = fingerprint(msg),\n          _fingerprint2 = _slicedToArray(_fingerprint, 2),\n          hi = _fingerprint2[0],\n          lo = _fingerprint2[1];\n\n      if (meaning) {\n        var _fingerprint3 = fingerprint(meaning),\n            _fingerprint4 = _slicedToArray(_fingerprint3, 2),\n            him = _fingerprint4[0],\n            lom = _fingerprint4[1];\n\n        var _add = add64(rol64([hi, lo], 1), [him, lom]);\n\n        var _add2 = _slicedToArray(_add, 2);\n\n        hi = _add2[0];\n        lo = _add2[1];\n      }\n\n      return byteStringToDecString(words32ToByteString([hi & 0x7fffffff, lo]));\n    }\n\n    function hash32(str, c) {\n      var a = 0x9e3779b9,\n          b = 0x9e3779b9;\n      var i;\n      var len = str.length;\n\n      for (i = 0; i + 12 <= len; i += 12) {\n        a = add32(a, wordAt(str, i, Endian.Little));\n        b = add32(b, wordAt(str, i + 4, Endian.Little));\n        c = add32(c, wordAt(str, i + 8, Endian.Little));\n\n        var _mix = mix([a, b, c]);\n\n        var _mix2 = _slicedToArray(_mix, 3);\n\n        a = _mix2[0];\n        b = _mix2[1];\n        c = _mix2[2];\n      }\n\n      a = add32(a, wordAt(str, i, Endian.Little));\n      b = add32(b, wordAt(str, i + 4, Endian.Little)); // the first byte of c is reserved for the length\n\n      c = add32(c, len);\n      c = add32(c, wordAt(str, i + 8, Endian.Little) << 8);\n      return mix([a, b, c])[2];\n    } // clang-format off\n\n\n    function mix(_ref19) {\n      var _ref20 = _slicedToArray(_ref19, 3),\n          a = _ref20[0],\n          b = _ref20[1],\n          c = _ref20[2];\n\n      a = sub32(a, b);\n      a = sub32(a, c);\n      a ^= c >>> 13;\n      b = sub32(b, c);\n      b = sub32(b, a);\n      b ^= a << 8;\n      c = sub32(c, a);\n      c = sub32(c, b);\n      c ^= b >>> 13;\n      a = sub32(a, b);\n      a = sub32(a, c);\n      a ^= c >>> 12;\n      b = sub32(b, c);\n      b = sub32(b, a);\n      b ^= a << 16;\n      c = sub32(c, a);\n      c = sub32(c, b);\n      c ^= b >>> 5;\n      a = sub32(a, b);\n      a = sub32(a, c);\n      a ^= c >>> 3;\n      b = sub32(b, c);\n      b = sub32(b, a);\n      b ^= a << 10;\n      c = sub32(c, a);\n      c = sub32(c, b);\n      c ^= b >>> 15;\n      return [a, b, c];\n    } // clang-format on\n    // Utils\n\n\n    var Endian;\n\n    (function (Endian) {\n      Endian[Endian[\"Little\"] = 0] = \"Little\";\n      Endian[Endian[\"Big\"] = 1] = \"Big\";\n    })(Endian || (Endian = {}));\n\n    function add32(a, b) {\n      return add32to64(a, b)[1];\n    }\n\n    function add32to64(a, b) {\n      var low = (a & 0xffff) + (b & 0xffff);\n      var high = (a >>> 16) + (b >>> 16) + (low >>> 16);\n      return [high >>> 16, high << 16 | low & 0xffff];\n    }\n\n    function add64(_ref21, _ref22) {\n      var _ref23 = _slicedToArray(_ref21, 2),\n          ah = _ref23[0],\n          al = _ref23[1];\n\n      var _ref24 = _slicedToArray(_ref22, 2),\n          bh = _ref24[0],\n          bl = _ref24[1];\n\n      var _add32to = add32to64(al, bl),\n          _add32to2 = _slicedToArray(_add32to, 2),\n          carry = _add32to2[0],\n          l = _add32to2[1];\n\n      var h = add32(add32(ah, bh), carry);\n      return [h, l];\n    }\n\n    function sub32(a, b) {\n      var low = (a & 0xffff) - (b & 0xffff);\n      var high = (a >> 16) - (b >> 16) + (low >> 16);\n      return high << 16 | low & 0xffff;\n    } // Rotate a 32b number left `count` position\n\n\n    function rol32(a, count) {\n      return a << count | a >>> 32 - count;\n    } // Rotate a 64b number left `count` position\n\n\n    function rol64(_ref25, count) {\n      var _ref26 = _slicedToArray(_ref25, 2),\n          hi = _ref26[0],\n          lo = _ref26[1];\n\n      var h = hi << count | lo >>> 32 - count;\n      var l = lo << count | hi >>> 32 - count;\n      return [h, l];\n    }\n\n    function stringToWords32(str, endian) {\n      var words32 = Array(str.length + 3 >>> 2);\n\n      for (var i = 0; i < words32.length; i++) {\n        words32[i] = wordAt(str, i * 4, endian);\n      }\n\n      return words32;\n    }\n\n    function byteAt(str, index) {\n      return index >= str.length ? 0 : str.charCodeAt(index) & 0xff;\n    }\n\n    function wordAt(str, index, endian) {\n      var word = 0;\n\n      if (endian === Endian.Big) {\n        for (var i = 0; i < 4; i++) {\n          word += byteAt(str, index + i) << 24 - 8 * i;\n        }\n      } else {\n        for (var _i16 = 0; _i16 < 4; _i16++) {\n          word += byteAt(str, index + _i16) << 8 * _i16;\n        }\n      }\n\n      return word;\n    }\n\n    function words32ToByteString(words32) {\n      return words32.reduce(function (str, word) {\n        return str + word32ToByteString(word);\n      }, '');\n    }\n\n    function word32ToByteString(word) {\n      var str = '';\n\n      for (var i = 0; i < 4; i++) {\n        str += String.fromCharCode(word >>> 8 * (3 - i) & 0xff);\n      }\n\n      return str;\n    }\n\n    function byteStringToHexString(str) {\n      var hex = '';\n\n      for (var i = 0; i < str.length; i++) {\n        var b = byteAt(str, i);\n        hex += (b >>> 4).toString(16) + (b & 0x0f).toString(16);\n      }\n\n      return hex.toLowerCase();\n    } // based on http://www.danvk.org/hex2dec.html (JS can not handle more than 56b)\n\n\n    function byteStringToDecString(str) {\n      var decimal = '';\n      var toThePower = '1';\n\n      for (var i = str.length - 1; i >= 0; i--) {\n        decimal = addBigInt(decimal, numberTimesBigInt(byteAt(str, i), toThePower));\n        toThePower = numberTimesBigInt(256, toThePower);\n      }\n\n      return decimal.split('').reverse().join('');\n    } // x and y decimal, lowest significant digit first\n\n\n    function addBigInt(x, y) {\n      var sum = '';\n      var len = Math.max(x.length, y.length);\n\n      for (var i = 0, carry = 0; i < len || carry; i++) {\n        var tmpSum = carry + +(x[i] || 0) + +(y[i] || 0);\n\n        if (tmpSum >= 10) {\n          carry = 1;\n          sum += tmpSum - 10;\n        } else {\n          carry = 0;\n          sum += tmpSum;\n        }\n      }\n\n      return sum;\n    }\n\n    function numberTimesBigInt(num, b) {\n      var product = '';\n      var bToThePower = b;\n\n      for (; num !== 0; num = num >>> 1) {\n        if (num & 1) product = addBigInt(product, bToThePower);\n        bToThePower = addBigInt(bToThePower, bToThePower);\n      }\n\n      return product;\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var Serializer =\n    /*#__PURE__*/\n    function () {\n      function Serializer() {\n        _classCallCheck(this, Serializer);\n      }\n\n      _createClass2(Serializer, [{\n        key: \"createNameMapper\",\n        // Creates a name mapper, see `PlaceholderMapper`\n        // Returning `null` means that no name mapping is used.\n        value: function createNameMapper(message) {\n          return null;\n        }\n      }]);\n\n      return Serializer;\n    }();\n    /**\n     * A simple mapper that take a function to transform an internal name to a public name\n     */\n\n\n    var SimplePlaceholderMapper =\n    /*#__PURE__*/\n    function (_RecurseVisitor) {\n      _inherits(SimplePlaceholderMapper, _RecurseVisitor);\n\n      // create a mapping from the message\n      function SimplePlaceholderMapper(message, mapName) {\n        var _this216;\n\n        _classCallCheck(this, SimplePlaceholderMapper);\n\n        _this216 = _possibleConstructorReturn(this, _getPrototypeOf(SimplePlaceholderMapper).call(this));\n        _this216.mapName = mapName;\n        _this216.internalToPublic = {};\n        _this216.publicToNextId = {};\n        _this216.publicToInternal = {};\n        message.nodes.forEach(function (node) {\n          return node.visit(_assertThisInitialized(_this216));\n        });\n        return _this216;\n      }\n\n      _createClass2(SimplePlaceholderMapper, [{\n        key: \"toPublicName\",\n        value: function toPublicName(internalName) {\n          return this.internalToPublic.hasOwnProperty(internalName) ? this.internalToPublic[internalName] : null;\n        }\n      }, {\n        key: \"toInternalName\",\n        value: function toInternalName(publicName) {\n          return this.publicToInternal.hasOwnProperty(publicName) ? this.publicToInternal[publicName] : null;\n        }\n      }, {\n        key: \"visitText\",\n        value: function visitText(text, context) {\n          return null;\n        }\n      }, {\n        key: \"visitTagPlaceholder\",\n        value: function visitTagPlaceholder(ph, context) {\n          this.visitPlaceholderName(ph.startName);\n\n          _get(_getPrototypeOf(SimplePlaceholderMapper.prototype), \"visitTagPlaceholder\", this).call(this, ph, context);\n\n          this.visitPlaceholderName(ph.closeName);\n        }\n      }, {\n        key: \"visitPlaceholder\",\n        value: function visitPlaceholder(ph, context) {\n          this.visitPlaceholderName(ph.name);\n        }\n      }, {\n        key: \"visitIcuPlaceholder\",\n        value: function visitIcuPlaceholder(ph, context) {\n          this.visitPlaceholderName(ph.name);\n        } // XMB placeholders could only contains A-Z, 0-9 and _\n\n      }, {\n        key: \"visitPlaceholderName\",\n        value: function visitPlaceholderName(internalName) {\n          if (!internalName || this.internalToPublic.hasOwnProperty(internalName)) {\n            return;\n          }\n\n          var publicName = this.mapName(internalName);\n\n          if (this.publicToInternal.hasOwnProperty(publicName)) {\n            // Create a new XMB when it has already been used\n            var nextId = this.publicToNextId[publicName];\n            this.publicToNextId[publicName] = nextId + 1;\n            publicName = \"\".concat(publicName, \"_\").concat(nextId);\n          } else {\n            this.publicToNextId[publicName] = 1;\n          }\n\n          this.internalToPublic[internalName] = publicName;\n          this.publicToInternal[publicName] = internalName;\n        }\n      }]);\n\n      return SimplePlaceholderMapper;\n    }(RecurseVisitor);\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var _Visitor =\n    /*#__PURE__*/\n    function () {\n      function _Visitor() {\n        _classCallCheck(this, _Visitor);\n      }\n\n      _createClass2(_Visitor, [{\n        key: \"visitTag\",\n        value: function visitTag(tag) {\n          var _this217 = this;\n\n          var strAttrs = this._serializeAttributes(tag.attrs);\n\n          if (tag.children.length == 0) {\n            return \"<\".concat(tag.name).concat(strAttrs, \"/>\");\n          }\n\n          var strChildren = tag.children.map(function (node) {\n            return node.visit(_this217);\n          });\n          return \"<\".concat(tag.name).concat(strAttrs, \">\").concat(strChildren.join(''), \"</\").concat(tag.name, \">\");\n        }\n      }, {\n        key: \"visitText\",\n        value: function visitText(text) {\n          return text.value;\n        }\n      }, {\n        key: \"visitDeclaration\",\n        value: function visitDeclaration(decl) {\n          return \"<?xml\".concat(this._serializeAttributes(decl.attrs), \" ?>\");\n        }\n      }, {\n        key: \"_serializeAttributes\",\n        value: function _serializeAttributes(attrs) {\n          var strAttrs = Object.keys(attrs).map(function (name) {\n            return \"\".concat(name, \"=\\\"\").concat(attrs[name], \"\\\"\");\n          }).join(' ');\n          return strAttrs.length > 0 ? ' ' + strAttrs : '';\n        }\n      }, {\n        key: \"visitDoctype\",\n        value: function visitDoctype(doctype) {\n          return \"<!DOCTYPE \".concat(doctype.rootTag, \" [\\n\").concat(doctype.dtd, \"\\n]>\");\n        }\n      }]);\n\n      return _Visitor;\n    }();\n\n    var _visitor = new _Visitor();\n\n    function serialize(nodes) {\n      return nodes.map(function (node) {\n        return node.visit(_visitor);\n      }).join('');\n    }\n\n    var Declaration =\n    /*#__PURE__*/\n    function () {\n      function Declaration(unescapedAttrs) {\n        var _this218 = this;\n\n        _classCallCheck(this, Declaration);\n\n        this.attrs = {};\n        Object.keys(unescapedAttrs).forEach(function (k) {\n          _this218.attrs[k] = escapeXml(unescapedAttrs[k]);\n        });\n      }\n\n      _createClass2(Declaration, [{\n        key: \"visit\",\n        value: function visit(visitor) {\n          return visitor.visitDeclaration(this);\n        }\n      }]);\n\n      return Declaration;\n    }();\n\n    var Doctype =\n    /*#__PURE__*/\n    function () {\n      function Doctype(rootTag, dtd) {\n        _classCallCheck(this, Doctype);\n\n        this.rootTag = rootTag;\n        this.dtd = dtd;\n      }\n\n      _createClass2(Doctype, [{\n        key: \"visit\",\n        value: function visit(visitor) {\n          return visitor.visitDoctype(this);\n        }\n      }]);\n\n      return Doctype;\n    }();\n\n    var Tag =\n    /*#__PURE__*/\n    function () {\n      function Tag(name) {\n        var _this219 = this;\n\n        var unescapedAttrs = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n        var children = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n\n        _classCallCheck(this, Tag);\n\n        this.name = name;\n        this.children = children;\n        this.attrs = {};\n        Object.keys(unescapedAttrs).forEach(function (k) {\n          _this219.attrs[k] = escapeXml(unescapedAttrs[k]);\n        });\n      }\n\n      _createClass2(Tag, [{\n        key: \"visit\",\n        value: function visit(visitor) {\n          return visitor.visitTag(this);\n        }\n      }]);\n\n      return Tag;\n    }();\n\n    var Text$2 =\n    /*#__PURE__*/\n    function () {\n      function Text$2(unescapedValue) {\n        _classCallCheck(this, Text$2);\n\n        this.value = escapeXml(unescapedValue);\n      }\n\n      _createClass2(Text$2, [{\n        key: \"visit\",\n        value: function visit(visitor) {\n          return visitor.visitText(this);\n        }\n      }]);\n\n      return Text$2;\n    }();\n\n    var CR =\n    /*#__PURE__*/\n    function (_Text$) {\n      _inherits(CR, _Text$);\n\n      function CR() {\n        var ws = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n\n        _classCallCheck(this, CR);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(CR).call(this, \"\\n\".concat(new Array(ws + 1).join(' '))));\n      }\n\n      return CR;\n    }(Text$2);\n\n    var _ESCAPED_CHARS = [[/&/g, '&amp;'], [/\"/g, '&quot;'], [/'/g, '&apos;'], [/</g, '&lt;'], [/>/g, '&gt;']]; // Escape `_ESCAPED_CHARS` characters in the given text with encoded entities\n\n    function escapeXml(text) {\n      return _ESCAPED_CHARS.reduce(function (text, entry) {\n        return text.replace(entry[0], entry[1]);\n      }, text);\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var _MESSAGES_TAG = 'messagebundle';\n    var _MESSAGE_TAG = 'msg';\n    var _PLACEHOLDER_TAG = 'ph';\n    var _EXAMPLE_TAG = 'ex';\n    var _SOURCE_TAG = 'source';\n    var _DOCTYPE = \"<!ELEMENT messagebundle (msg)*>\\n<!ATTLIST messagebundle class CDATA #IMPLIED>\\n\\n<!ELEMENT msg (#PCDATA|ph|source)*>\\n<!ATTLIST msg id CDATA #IMPLIED>\\n<!ATTLIST msg seq CDATA #IMPLIED>\\n<!ATTLIST msg name CDATA #IMPLIED>\\n<!ATTLIST msg desc CDATA #IMPLIED>\\n<!ATTLIST msg meaning CDATA #IMPLIED>\\n<!ATTLIST msg obsolete (obsolete) #IMPLIED>\\n<!ATTLIST msg xml:space (default|preserve) \\\"default\\\">\\n<!ATTLIST msg is_hidden CDATA #IMPLIED>\\n\\n<!ELEMENT source (#PCDATA)>\\n\\n<!ELEMENT ph (#PCDATA|ex)*>\\n<!ATTLIST ph name CDATA #REQUIRED>\\n\\n<!ELEMENT ex (#PCDATA)>\";\n\n    var Xmb =\n    /*#__PURE__*/\n    function (_Serializer) {\n      _inherits(Xmb, _Serializer);\n\n      function Xmb() {\n        _classCallCheck(this, Xmb);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(Xmb).apply(this, arguments));\n      }\n\n      _createClass2(Xmb, [{\n        key: \"write\",\n        value: function write(messages, locale) {\n          var exampleVisitor = new ExampleVisitor();\n          var visitor = new _Visitor$1();\n          var rootNode = new Tag(_MESSAGES_TAG);\n          messages.forEach(function (message) {\n            var attrs = {\n              id: message.id\n            };\n\n            if (message.description) {\n              attrs['desc'] = message.description;\n            }\n\n            if (message.meaning) {\n              attrs['meaning'] = message.meaning;\n            }\n\n            var sourceTags = [];\n            message.sources.forEach(function (source) {\n              sourceTags.push(new Tag(_SOURCE_TAG, {}, [new Text$2(\"\".concat(source.filePath, \":\").concat(source.startLine).concat(source.endLine !== source.startLine ? ',' + source.endLine : ''))]));\n            });\n            rootNode.children.push(new CR(2), new Tag(_MESSAGE_TAG, attrs, [].concat(sourceTags, _toConsumableArray(visitor.serialize(message.nodes)))));\n          });\n          rootNode.children.push(new CR());\n          return serialize([new Declaration({\n            version: '1.0',\n            encoding: 'UTF-8'\n          }), new CR(), new Doctype(_MESSAGES_TAG, _DOCTYPE), new CR(), exampleVisitor.addDefaultExamples(rootNode), new CR()]);\n        }\n      }, {\n        key: \"load\",\n        value: function load(content, url) {\n          throw new Error('Unsupported');\n        }\n      }, {\n        key: \"digest\",\n        value: function digest(message) {\n          return digest$1(message);\n        }\n      }, {\n        key: \"createNameMapper\",\n        value: function createNameMapper(message) {\n          return new SimplePlaceholderMapper(message, toPublicName);\n        }\n      }]);\n\n      return Xmb;\n    }(Serializer);\n\n    var _Visitor$1 =\n    /*#__PURE__*/\n    function () {\n      function _Visitor$1() {\n        _classCallCheck(this, _Visitor$1);\n      }\n\n      _createClass2(_Visitor$1, [{\n        key: \"visitText\",\n        value: function visitText(text, context) {\n          return [new Text$2(text.value)];\n        }\n      }, {\n        key: \"visitContainer\",\n        value: function visitContainer(container, context) {\n          var _this220 = this;\n\n          var nodes = [];\n          container.children.forEach(function (node) {\n            return nodes.push.apply(nodes, _toConsumableArray(node.visit(_this220)));\n          });\n          return nodes;\n        }\n      }, {\n        key: \"visitIcu\",\n        value: function visitIcu(icu, context) {\n          var _this221 = this;\n\n          var nodes = [new Text$2(\"{\".concat(icu.expressionPlaceholder, \", \").concat(icu.type, \", \"))];\n          Object.keys(icu.cases).forEach(function (c) {\n            nodes.push.apply(nodes, [new Text$2(\"\".concat(c, \" {\"))].concat(_toConsumableArray(icu.cases[c].visit(_this221)), [new Text$2(\"} \")]));\n          });\n          nodes.push(new Text$2(\"}\"));\n          return nodes;\n        }\n      }, {\n        key: \"visitTagPlaceholder\",\n        value: function visitTagPlaceholder(ph, context) {\n          var startTagAsText = new Text$2(\"<\".concat(ph.tag, \">\"));\n          var startEx = new Tag(_EXAMPLE_TAG, {}, [startTagAsText]); // TC requires PH to have a non empty EX, and uses the text node to show the \"original\" value.\n\n          var startTagPh = new Tag(_PLACEHOLDER_TAG, {\n            name: ph.startName\n          }, [startEx, startTagAsText]);\n\n          if (ph.isVoid) {\n            // void tags have no children nor closing tags\n            return [startTagPh];\n          }\n\n          var closeTagAsText = new Text$2(\"</\".concat(ph.tag, \">\"));\n          var closeEx = new Tag(_EXAMPLE_TAG, {}, [closeTagAsText]); // TC requires PH to have a non empty EX, and uses the text node to show the \"original\" value.\n\n          var closeTagPh = new Tag(_PLACEHOLDER_TAG, {\n            name: ph.closeName\n          }, [closeEx, closeTagAsText]);\n          return [startTagPh].concat(_toConsumableArray(this.serialize(ph.children)), [closeTagPh]);\n        }\n      }, {\n        key: \"visitPlaceholder\",\n        value: function visitPlaceholder(ph, context) {\n          var interpolationAsText = new Text$2(\"{{\".concat(ph.value, \"}}\")); // Example tag needs to be not-empty for TC.\n\n          var exTag = new Tag(_EXAMPLE_TAG, {}, [interpolationAsText]);\n          return [// TC requires PH to have a non empty EX, and uses the text node to show the \"original\" value.\n          new Tag(_PLACEHOLDER_TAG, {\n            name: ph.name\n          }, [exTag, interpolationAsText])];\n        }\n      }, {\n        key: \"visitIcuPlaceholder\",\n        value: function visitIcuPlaceholder(ph, context) {\n          var icuExpression = ph.value.expression;\n          var icuType = ph.value.type;\n          var icuCases = Object.keys(ph.value.cases).map(function (value) {\n            return value + ' {...}';\n          }).join(' ');\n          var icuAsText = new Text$2(\"{\".concat(icuExpression, \", \").concat(icuType, \", \").concat(icuCases, \"}\"));\n          var exTag = new Tag(_EXAMPLE_TAG, {}, [icuAsText]);\n          return [// TC requires PH to have a non empty EX, and uses the text node to show the \"original\" value.\n          new Tag(_PLACEHOLDER_TAG, {\n            name: ph.name\n          }, [exTag, icuAsText])];\n        }\n      }, {\n        key: \"serialize\",\n        value: function serialize(nodes) {\n          var _ref27,\n              _this222 = this;\n\n          return (_ref27 = []).concat.apply(_ref27, _toConsumableArray(nodes.map(function (node) {\n            return node.visit(_this222);\n          })));\n        }\n      }]);\n\n      return _Visitor$1;\n    }();\n\n    function digest$1(message) {\n      return decimalDigest(message);\n    } // TC requires at least one non-empty example on placeholders\n\n\n    var ExampleVisitor =\n    /*#__PURE__*/\n    function () {\n      function ExampleVisitor() {\n        _classCallCheck(this, ExampleVisitor);\n      }\n\n      _createClass2(ExampleVisitor, [{\n        key: \"addDefaultExamples\",\n        value: function addDefaultExamples(node) {\n          node.visit(this);\n          return node;\n        }\n      }, {\n        key: \"visitTag\",\n        value: function visitTag(tag) {\n          var _this223 = this;\n\n          if (tag.name === _PLACEHOLDER_TAG) {\n            if (!tag.children || tag.children.length == 0) {\n              var exText = new Text$2(tag.attrs['name'] || '...');\n              tag.children = [new Tag(_EXAMPLE_TAG, {}, [exText])];\n            }\n          } else if (tag.children) {\n            tag.children.forEach(function (node) {\n              return node.visit(_this223);\n            });\n          }\n        }\n      }, {\n        key: \"visitText\",\n        value: function visitText(text) {}\n      }, {\n        key: \"visitDeclaration\",\n        value: function visitDeclaration(decl) {}\n      }, {\n        key: \"visitDoctype\",\n        value: function visitDoctype(doctype) {}\n      }]);\n\n      return ExampleVisitor;\n    }(); // XMB/XTB placeholders can only contain A-Z, 0-9 and _\n\n\n    function toPublicName(internalName) {\n      return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, '_');\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    function mapEntry(key, value) {\n      return {\n        key: key,\n        value: value,\n        quoted: false\n      };\n    }\n\n    function mapLiteral(obj) {\n      var quoted = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n      return literalMap(Object.keys(obj).map(function (key) {\n        return {\n          key: key,\n          quoted: quoted,\n          value: obj[key]\n        };\n      }));\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /* Closure variables holding messages must be named `MSG_[A-Z0-9]+` */\n\n\n    var CLOSURE_TRANSLATION_PREFIX = 'MSG_';\n    /* Prefix for non-`goog.getMsg` i18n-related vars */\n\n    var TRANSLATION_PREFIX = 'I18N_';\n    /** Closure uses `goog.getMsg(message)` to lookup translations */\n\n    var GOOG_GET_MSG = 'goog.getMsg';\n    /** Name of the global variable that is used to determine if we use Closure translations or not */\n\n    var NG_I18N_CLOSURE_MODE = 'ngI18nClosureMode';\n    /** I18n separators for metadata **/\n\n    var I18N_MEANING_SEPARATOR = '|';\n    var I18N_ID_SEPARATOR = '@@';\n    /** Name of the i18n attributes **/\n\n    var I18N_ATTR = 'i18n';\n    var I18N_ATTR_PREFIX = 'i18n-';\n    /** Prefix of var expressions used in ICUs */\n\n    var I18N_ICU_VAR_PREFIX = 'VAR_';\n    /** Prefix of ICU expressions for post processing */\n\n    var I18N_ICU_MAPPING_PREFIX = 'I18N_EXP_';\n    /** Placeholder wrapper for i18n expressions **/\n\n    var I18N_PLACEHOLDER_SYMBOL = '�';\n\n    function i18nTranslationToDeclStmt(variable$1, closureVar, message, meta, params) {\n      var statements = []; // var I18N_X;\n\n      statements.push(new DeclareVarStmt(variable$1.name, undefined, INFERRED_TYPE, null, variable$1.sourceSpan));\n      var args = [literal(message)];\n\n      if (params && Object.keys(params).length) {\n        args.push(mapLiteral(params, true));\n      } // Closure JSDoc comments\n\n\n      var docStatements = i18nMetaToDocStmt(meta);\n      var thenStatements = docStatements ? [docStatements] : [];\n      var googFnCall = variable(GOOG_GET_MSG).callFn(args); // const MSG_... = goog.getMsg(..);\n\n      thenStatements.push(closureVar.set(googFnCall).toConstDecl()); // I18N_X = MSG_...;\n\n      thenStatements.push(new ExpressionStatement(variable$1.set(closureVar)));\n      var localizeFnCall = importExpr(Identifiers$1.i18nLocalize).callFn(args); // I18N_X = i18nLocalize(...);\n\n      var elseStatements = [new ExpressionStatement(variable$1.set(localizeFnCall))]; // if(ngI18nClosureMode) { ... } else { ... }\n\n      statements.push(ifStmt(variable(NG_I18N_CLOSURE_MODE), thenStatements, elseStatements));\n      return statements;\n    } // Converts i18n meta information for a message (id, description, meaning)\n    // to a JsDoc statement formatted as expected by the Closure compiler.\n\n\n    function i18nMetaToDocStmt(meta) {\n      var tags = [];\n\n      if (meta.description) {\n        tags.push({\n          tagName: \"desc\"\n          /* Desc */\n          ,\n          text: meta.description\n        });\n      }\n\n      if (meta.meaning) {\n        tags.push({\n          tagName: \"meaning\"\n          /* Meaning */\n          ,\n          text: meta.meaning\n        });\n      }\n\n      return tags.length == 0 ? null : new JSDocCommentStmt(tags);\n    }\n\n    function isI18nAttribute(name) {\n      return name === I18N_ATTR || name.startsWith(I18N_ATTR_PREFIX);\n    }\n\n    function isI18nRootNode(meta) {\n      return meta instanceof Message;\n    }\n\n    function isSingleI18nIcu(meta) {\n      return isI18nRootNode(meta) && meta.nodes.length === 1 && meta.nodes[0] instanceof Icu$1;\n    }\n\n    function hasI18nAttrs(element) {\n      return element.attrs.some(function (attr) {\n        return isI18nAttribute(attr.name);\n      });\n    }\n\n    function metaFromI18nMessage(message) {\n      var id = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n      return {\n        id: typeof id === 'string' ? id : message.id || '',\n        meaning: message.meaning || '',\n        description: message.description || ''\n      };\n    }\n\n    function icuFromI18nMessage(message) {\n      return message.nodes[0];\n    }\n\n    function wrapI18nPlaceholder(content) {\n      var contextId = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n      var blockId = contextId > 0 ? \":\".concat(contextId) : '';\n      return \"\".concat(I18N_PLACEHOLDER_SYMBOL).concat(content).concat(blockId).concat(I18N_PLACEHOLDER_SYMBOL);\n    }\n\n    function assembleI18nBoundString(strings) {\n      var bindingStartIndex = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n      var contextId = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n      if (!strings.length) return '';\n      var acc = '';\n      var lastIdx = strings.length - 1;\n\n      for (var i = 0; i < lastIdx; i++) {\n        acc += \"\".concat(strings[i]).concat(wrapI18nPlaceholder(bindingStartIndex + i, contextId));\n      }\n\n      acc += strings[lastIdx];\n      return acc;\n    }\n\n    function getSeqNumberGenerator() {\n      var startsAt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n      var current = startsAt;\n      return function () {\n        return current++;\n      };\n    }\n\n    function placeholdersToParams(placeholders) {\n      var params = {};\n      placeholders.forEach(function (values, key) {\n        params[key] = literal(values.length > 1 ? \"[\".concat(values.join('|'), \"]\") : values[0]);\n      });\n      return params;\n    }\n\n    function updatePlaceholderMap(map, name) {\n      var current = map.get(name) || [];\n\n      for (var _len8 = arguments.length, values = new Array(_len8 > 2 ? _len8 - 2 : 0), _key10 = 2; _key10 < _len8; _key10++) {\n        values[_key10 - 2] = arguments[_key10];\n      }\n\n      current.push.apply(current, values);\n      map.set(name, current);\n    }\n\n    function assembleBoundTextPlaceholders(meta) {\n      var bindingStartIndex = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n      var contextId = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n      var startIdx = bindingStartIndex;\n      var placeholders = new Map();\n      var node = meta instanceof Message ? meta.nodes.find(function (node) {\n        return node instanceof Container;\n      }) : meta;\n\n      if (node) {\n        node.children.filter(function (child) {\n          return child instanceof Placeholder;\n        }).forEach(function (child, idx) {\n          var content = wrapI18nPlaceholder(startIdx + idx, contextId);\n          updatePlaceholderMap(placeholders, child.name, content);\n        });\n      }\n\n      return placeholders;\n    }\n\n    function findIndex(items, callback) {\n      for (var i = 0; i < items.length; i++) {\n        if (callback(items[i])) {\n          return i;\n        }\n      }\n\n      return -1;\n    }\n    /**\n     * Parses i18n metas like:\n     *  - \"@@id\",\n     *  - \"description[@@id]\",\n     *  - \"meaning|description[@@id]\"\n     * and returns an object with parsed output.\n     *\n     * @param meta String that represents i18n meta\n     * @returns Object with id, meaning and description fields\n     */\n\n\n    function parseI18nMeta(meta) {\n      var id;\n      var meaning;\n      var description;\n\n      if (meta) {\n        var idIndex = meta.indexOf(I18N_ID_SEPARATOR);\n        var descIndex = meta.indexOf(I18N_MEANING_SEPARATOR);\n        var meaningAndDesc;\n\n        var _ref28 = idIndex > -1 ? [meta.slice(0, idIndex), meta.slice(idIndex + 2)] : [meta, ''];\n\n        var _ref29 = _slicedToArray(_ref28, 2);\n\n        meaningAndDesc = _ref29[0];\n        id = _ref29[1];\n\n        var _ref30 = descIndex > -1 ? [meaningAndDesc.slice(0, descIndex), meaningAndDesc.slice(descIndex + 1)] : ['', meaningAndDesc];\n\n        var _ref31 = _slicedToArray(_ref30, 2);\n\n        meaning = _ref31[0];\n        description = _ref31[1];\n      }\n\n      return {\n        id: id,\n        meaning: meaning,\n        description: description\n      };\n    }\n    /**\n     * Converts internal placeholder names to public-facing format\n     * (for example to use in goog.getMsg call).\n     * Example: `START_TAG_DIV_1` is converted to `startTagDiv_1`.\n     *\n     * @param name The placeholder name that should be formatted\n     * @returns Formatted placeholder name\n     */\n\n\n    function formatI18nPlaceholderName(name) {\n      var useCamelCase = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n      var publicName = toPublicName(name);\n\n      if (!useCamelCase) {\n        return publicName;\n      }\n\n      var chunks = publicName.split('_');\n\n      if (chunks.length === 1) {\n        // if no \"_\" found - just lowercase the value\n        return name.toLowerCase();\n      }\n\n      var postfix; // eject last element if it's a number\n\n      if (/^\\d+$/.test(chunks[chunks.length - 1])) {\n        postfix = chunks.pop();\n      }\n\n      var raw = chunks.shift().toLowerCase();\n\n      if (chunks.length) {\n        raw += chunks.map(function (c) {\n          return c.charAt(0).toUpperCase() + c.slice(1).toLowerCase();\n        }).join('');\n      }\n\n      return postfix ? \"\".concat(raw, \"_\").concat(postfix) : raw;\n    }\n    /**\n     * Generates a prefix for translation const name.\n     *\n     * @param extra Additional local prefix that should be injected into translation var name\n     * @returns Complete translation const prefix\n     */\n\n\n    function getTranslationConstPrefix(extra) {\n      return \"\".concat(CLOSURE_TRANSLATION_PREFIX).concat(extra).toUpperCase();\n    }\n    /**\n     * Generates translation declaration statements.\n     *\n     * @param variable Translation value reference\n     * @param closureVar Variable for Closure `goog.getMsg` calls\n     * @param message Text message to be translated\n     * @param meta Object that contains meta information (id, meaning and description)\n     * @param params Object with placeholders key-value pairs\n     * @param transformFn Optional transformation (post processing) function reference\n     * @returns Array of Statements that represent a given translation\n     */\n\n\n    function getTranslationDeclStmts(variable, closureVar, message, meta) {\n      var params = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {};\n      var transformFn = arguments.length > 5 ? arguments[5] : undefined;\n      var statements = [];\n      statements.push.apply(statements, _toConsumableArray(i18nTranslationToDeclStmt(variable, closureVar, message, meta, params)));\n\n      if (transformFn) {\n        statements.push(new ExpressionStatement(variable.set(transformFn(variable))));\n      }\n\n      return statements;\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * Checks whether an object key contains potentially unsafe chars, thus the key should be wrapped in\n     * quotes. Note: we do not wrap all keys into quotes, as it may have impact on minification and may\n     * bot work in some cases when object keys are mangled by minifier.\n     *\n     * TODO(FW-1136): this is a temporary solution, we need to come up with a better way of working with\n     * inputs that contain potentially unsafe chars.\n     */\n\n\n    var UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/;\n    /** Name of the temporary to use during data binding */\n\n    var TEMPORARY_NAME = '_t';\n    /** Name of the context parameter passed into a template function */\n\n    var CONTEXT_NAME = 'ctx';\n    /** Name of the RenderFlag passed into a template function */\n\n    var RENDER_FLAGS = 'rf';\n    /** The prefix reference variables */\n\n    var REFERENCE_PREFIX = '_r';\n    /** The name of the implicit context reference */\n\n    var IMPLICIT_REFERENCE = '$implicit';\n    /** Non bindable attribute name **/\n\n    var NON_BINDABLE_ATTR = 'ngNonBindable';\n    /**\n     * Creates an allocator for a temporary variable.\n     *\n     * A variable declaration is added to the statements the first time the allocator is invoked.\n     */\n\n    function temporaryAllocator(statements, name) {\n      var temp = null;\n      return function () {\n        if (!temp) {\n          statements.push(new DeclareVarStmt(TEMPORARY_NAME, undefined, DYNAMIC_TYPE));\n          temp = variable(name);\n        }\n\n        return temp;\n      };\n    }\n\n    function unsupported(feature) {\n      if (this) {\n        throw new Error(\"Builder \".concat(this.constructor.name, \" doesn't support \").concat(feature, \" yet\"));\n      }\n\n      throw new Error(\"Feature \".concat(feature, \" is not supported yet\"));\n    }\n\n    function invalid$1(arg) {\n      throw new Error(\"Invalid state: Visitor \".concat(this.constructor.name, \" doesn't handle \").concat(arg.constructor.name));\n    }\n\n    function asLiteral(value) {\n      if (Array.isArray(value)) {\n        return literalArr(value.map(asLiteral));\n      }\n\n      return literal(value, INFERRED_TYPE);\n    }\n\n    function conditionallyCreateMapObjectLiteral(keys, keepDeclared) {\n      if (Object.getOwnPropertyNames(keys).length > 0) {\n        return mapToExpression(keys, keepDeclared);\n      }\n\n      return null;\n    }\n\n    function mapToExpression(map, keepDeclared) {\n      return literalMap(Object.getOwnPropertyNames(map).map(function (key) {\n        // canonical syntax: `dirProp: publicProp`\n        // if there is no `:`, use dirProp = elProp\n        var value = map[key];\n        var declaredName;\n        var publicName;\n        var minifiedName;\n\n        if (Array.isArray(value)) {\n          var _value3 = _slicedToArray(value, 2);\n\n          publicName = _value3[0];\n          declaredName = _value3[1];\n        } else {\n          var _splitAtColon = splitAtColon(key, [key, value]);\n\n          var _splitAtColon2 = _slicedToArray(_splitAtColon, 2);\n\n          declaredName = _splitAtColon2[0];\n          publicName = _splitAtColon2[1];\n        }\n\n        minifiedName = declaredName;\n        return {\n          key: minifiedName,\n          // put quotes around keys that contain potentially unsafe characters\n          quoted: UNSAFE_OBJECT_KEY_NAME_REGEXP.test(minifiedName),\n          value: keepDeclared && publicName !== declaredName ? literalArr([asLiteral(publicName), asLiteral(declaredName)]) : asLiteral(publicName)\n        };\n      }));\n    }\n    /**\n     *  Remove trailing null nodes as they are implied.\n     */\n\n\n    function trimTrailingNulls(parameters) {\n      while (isNull(parameters[parameters.length - 1])) {\n        parameters.pop();\n      }\n\n      return parameters;\n    }\n\n    function getQueryPredicate(query, constantPool) {\n      if (Array.isArray(query.predicate)) {\n        var predicate = [];\n        query.predicate.forEach(function (selector) {\n          // Each item in predicates array may contain strings with comma-separated refs\n          // (for ex. 'ref, ref1, ..., refN'), thus we extract individual refs and store them\n          // as separate array entities\n          var selectors = selector.split(',').map(function (token) {\n            return literal(token.trim());\n          });\n          predicate.push.apply(predicate, _toConsumableArray(selectors));\n        });\n        return constantPool.getConstLiteral(literalArr(predicate), true);\n      } else {\n        return query.predicate;\n      }\n    }\n\n    function noop() {}\n\n    var DefinitionMap =\n    /*#__PURE__*/\n    function () {\n      function DefinitionMap() {\n        _classCallCheck(this, DefinitionMap);\n\n        this.values = [];\n      }\n\n      _createClass2(DefinitionMap, [{\n        key: \"set\",\n        value: function set(key, value) {\n          if (value) {\n            this.values.push({\n              key: key,\n              value: value,\n              quoted: false\n            });\n          }\n        }\n      }, {\n        key: \"toLiteralMap\",\n        value: function toLiteralMap() {\n          return literalMap(this.values);\n        }\n      }]);\n\n      return DefinitionMap;\n    }();\n    /**\n     * Extract a map of properties to values for a given element or template node, which can be used\n     * by the directive matching machinery.\n     *\n     * @param elOrTpl the element or template in question\n     * @return an object set up for directive matching. For attributes on the element/template, this\n     * object maps a property name to its (static) value. For any bindings, this map simply maps the\n     * property name to an empty string.\n     */\n\n\n    function getAttrsForDirectiveMatching(elOrTpl) {\n      var attributesMap = {};\n\n      if (elOrTpl instanceof Template && elOrTpl.tagName !== 'ng-template') {\n        elOrTpl.templateAttrs.forEach(function (a) {\n          return attributesMap[a.name] = '';\n        });\n      } else {\n        elOrTpl.attributes.forEach(function (a) {\n          if (!isI18nAttribute(a.name)) {\n            attributesMap[a.name] = a.value;\n          }\n        });\n        elOrTpl.inputs.forEach(function (i) {\n          attributesMap[i.name] = '';\n        });\n        elOrTpl.outputs.forEach(function (o) {\n          attributesMap[o.name] = '';\n        });\n      }\n\n      return attributesMap;\n    }\n    /** Returns a call expression to a chained instruction, e.g. `property(params[0])(params[1])`. */\n\n\n    function chainedInstruction(reference, calls, span) {\n      var expression = importExpr(reference, null, span);\n\n      if (calls.length > 0) {\n        for (var i = 0; i < calls.length; i++) {\n          expression = expression.callFn(calls[i], span);\n        }\n      } else {\n        // Add a blank invocation, in case the `calls` array is empty.\n        expression = expression.callFn([], span);\n      }\n\n      return expression;\n    }\n    /**\n     * Gets the number of arguments expected to be passed to a generated instruction in the case of\n     * interpolation instructions.\n     * @param interpolation An interpolation ast\n     */\n\n\n    function getInterpolationArgsLength(interpolation) {\n      var expressions = interpolation.expressions,\n          strings = interpolation.strings;\n\n      if (expressions.length === 1 && strings.length === 2 && strings[0] === '' && strings[1] === '') {\n        // If the interpolation has one interpolated value, but the prefix and suffix are both empty\n        // strings, we only pass one argument, to a special instruction like `propertyInterpolate` or\n        // `textInterpolate`.\n        return 1;\n      } else {\n        return expressions.length + strings.length;\n      }\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var R3FactoryDelegateType;\n\n    (function (R3FactoryDelegateType) {\n      R3FactoryDelegateType[R3FactoryDelegateType[\"Class\"] = 0] = \"Class\";\n      R3FactoryDelegateType[R3FactoryDelegateType[\"Function\"] = 1] = \"Function\";\n      R3FactoryDelegateType[R3FactoryDelegateType[\"Factory\"] = 2] = \"Factory\";\n    })(R3FactoryDelegateType || (R3FactoryDelegateType = {}));\n    /**\n     * Resolved type of a dependency.\n     *\n     * Occasionally, dependencies will have special significance which is known statically. In that\n     * case the `R3ResolvedDependencyType` informs the factory generator that a particular dependency\n     * should be generated specially (usually by calling a special injection function instead of the\n     * standard one).\n     */\n\n\n    var R3ResolvedDependencyType;\n\n    (function (R3ResolvedDependencyType) {\n      /**\n       * A normal token dependency.\n       */\n      R3ResolvedDependencyType[R3ResolvedDependencyType[\"Token\"] = 0] = \"Token\";\n      /**\n       * The dependency is for an attribute.\n       *\n       * The token expression is a string representing the attribute name.\n       */\n\n      R3ResolvedDependencyType[R3ResolvedDependencyType[\"Attribute\"] = 1] = \"Attribute\";\n      /**\n       * Injecting the `ChangeDetectorRef` token. Needs special handling when injected into a pipe.\n       */\n\n      R3ResolvedDependencyType[R3ResolvedDependencyType[\"ChangeDetectorRef\"] = 2] = \"ChangeDetectorRef\";\n    })(R3ResolvedDependencyType || (R3ResolvedDependencyType = {}));\n    /**\n     * Construct a factory function expression for the given `R3FactoryMetadata`.\n     */\n\n\n    function compileFactoryFunction(meta) {\n      var isPipe = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n      var t = variable('t');\n      var statements = []; // The type to instantiate via constructor invocation. If there is no delegated factory, meaning\n      // this type is always created by constructor invocation, then this is the type-to-create\n      // parameter provided by the user (t) if specified, or the current type if not. If there is a\n      // delegated factory (which is used to create the current type) then this is only the type-to-\n      // create parameter (t).\n\n      var typeForCtor = !isDelegatedMetadata(meta) ? new BinaryOperatorExpr(BinaryOperator.Or, t, meta.type) : t;\n      var ctorExpr = null;\n\n      if (meta.deps !== null) {\n        // There is a constructor (either explicitly or implicitly defined).\n        if (meta.deps !== 'invalid') {\n          ctorExpr = new InstantiateExpr(typeForCtor, injectDependencies(meta.deps, meta.injectFn, isPipe));\n        }\n      } else {\n        var baseFactory = variable(\"\\u0275\".concat(meta.name, \"_BaseFactory\"));\n        var getInheritedFactory = importExpr(Identifiers$1.getInheritedFactory);\n        var baseFactoryStmt = baseFactory.set(getInheritedFactory.callFn([meta.type])).toDeclStmt(INFERRED_TYPE, [StmtModifier.Exported, StmtModifier.Final]);\n        statements.push(baseFactoryStmt); // There is no constructor, use the base class' factory to construct typeForCtor.\n\n        ctorExpr = baseFactory.callFn([typeForCtor]);\n      }\n\n      var ctorExprFinal = ctorExpr;\n      var body = [];\n      var retExpr = null;\n\n      function makeConditionalFactory(nonCtorExpr) {\n        var r = variable('r');\n        body.push(r.set(NULL_EXPR).toDeclStmt());\n        var ctorStmt = null;\n\n        if (ctorExprFinal !== null) {\n          ctorStmt = r.set(ctorExprFinal).toStmt();\n        } else {\n          ctorStmt = makeErrorStmt(meta.name);\n        }\n\n        body.push(ifStmt(t, [ctorStmt], [r.set(nonCtorExpr).toStmt()]));\n        return r;\n      }\n\n      if (isDelegatedMetadata(meta) && meta.delegateType === R3FactoryDelegateType.Factory) {\n        var delegateFactory = variable(\"\\u0275\".concat(meta.name, \"_BaseFactory\"));\n        var getFactoryOf = importExpr(Identifiers$1.getFactoryOf);\n\n        if (meta.delegate.isEquivalent(meta.type)) {\n          throw new Error(\"Illegal state: compiling factory that delegates to itself\");\n        }\n\n        var delegateFactoryStmt = delegateFactory.set(getFactoryOf.callFn([meta.delegate])).toDeclStmt(INFERRED_TYPE, [StmtModifier.Exported, StmtModifier.Final]);\n        statements.push(delegateFactoryStmt);\n        retExpr = makeConditionalFactory(delegateFactory.callFn([]));\n      } else if (isDelegatedMetadata(meta)) {\n        // This type is created with a delegated factory. If a type parameter is not specified, call\n        // the factory instead.\n        var delegateArgs = injectDependencies(meta.delegateDeps, meta.injectFn, isPipe); // Either call `new delegate(...)` or `delegate(...)` depending on meta.useNewForDelegate.\n\n        var factoryExpr = new (meta.delegateType === R3FactoryDelegateType.Class ? InstantiateExpr : InvokeFunctionExpr)(meta.delegate, delegateArgs);\n        retExpr = makeConditionalFactory(factoryExpr);\n      } else if (isExpressionFactoryMetadata(meta)) {\n        // TODO(alxhub): decide whether to lower the value here or in the caller\n        retExpr = makeConditionalFactory(meta.expression);\n      } else {\n        retExpr = ctorExpr;\n      }\n\n      if (retExpr !== null) {\n        body.push(new ReturnStatement(retExpr));\n      } else {\n        body.push(makeErrorStmt(meta.name));\n      }\n\n      return {\n        factory: fn([new FnParam('t', DYNAMIC_TYPE)], body, INFERRED_TYPE, undefined, \"\".concat(meta.name, \"_Factory\")),\n        statements: statements\n      };\n    }\n\n    function injectDependencies(deps, injectFn, isPipe) {\n      return deps.map(function (dep) {\n        return compileInjectDependency(dep, injectFn, isPipe);\n      });\n    }\n\n    function compileInjectDependency(dep, injectFn, isPipe) {\n      // Interpret the dependency according to its resolved type.\n      switch (dep.resolved) {\n        case R3ResolvedDependencyType.Token:\n        case R3ResolvedDependencyType.ChangeDetectorRef:\n          // Build up the injection flags according to the metadata.\n          var flags = 0\n          /* Default */\n          | (dep.self ? 2\n          /* Self */\n          : 0) | (dep.skipSelf ? 4\n          /* SkipSelf */\n          : 0) | (dep.host ? 1\n          /* Host */\n          : 0) | (dep.optional ? 8\n          /* Optional */\n          : 0); // If this dependency is optional or otherwise has non-default flags, then additional\n          // parameters describing how to inject the dependency must be passed to the inject function\n          // that's being used.\n\n          var flagsParam = flags !== 0\n          /* Default */\n          || dep.optional ? literal(flags) : null; // We have a separate instruction for injecting ChangeDetectorRef into a pipe.\n\n          if (isPipe && dep.resolved === R3ResolvedDependencyType.ChangeDetectorRef) {\n            return importExpr(Identifiers$1.injectPipeChangeDetectorRef).callFn(flagsParam ? [flagsParam] : []);\n          } // Build up the arguments to the injectFn call.\n\n\n          var injectArgs = [dep.token];\n\n          if (flagsParam) {\n            injectArgs.push(flagsParam);\n          }\n\n          return importExpr(injectFn).callFn(injectArgs);\n\n        case R3ResolvedDependencyType.Attribute:\n          // In the case of attributes, the attribute name in question is given as the token.\n          return importExpr(Identifiers$1.injectAttribute).callFn([dep.token]);\n\n        default:\n          return unsupported(\"Unknown R3ResolvedDependencyType: \".concat(R3ResolvedDependencyType[dep.resolved]));\n      }\n    }\n    /**\n     * A helper function useful for extracting `R3DependencyMetadata` from a Render2\n     * `CompileTypeMetadata` instance.\n     */\n\n\n    function dependenciesFromGlobalMetadata(type, outputCtx, reflector) {\n      // Use the `CompileReflector` to look up references to some well-known Angular types. These will\n      // be compared with the token to statically determine whether the token has significance to\n      // Angular, and set the correct `R3ResolvedDependencyType` as a result.\n      var injectorRef = reflector.resolveExternalReference(Identifiers.Injector); // Iterate through the type's DI dependencies and produce `R3DependencyMetadata` for each of them.\n\n      var deps = [];\n      var _iteratorNormalCompletion13 = true;\n      var _didIteratorError13 = false;\n      var _iteratorError13 = undefined;\n\n      try {\n        for (var _iterator13 = type.diDeps[Symbol.iterator](), _step13; !(_iteratorNormalCompletion13 = (_step13 = _iterator13.next()).done); _iteratorNormalCompletion13 = true) {\n          var dependency = _step13.value;\n\n          if (dependency.token) {\n            var tokenRef = tokenReference(dependency.token);\n            var resolved = dependency.isAttribute ? R3ResolvedDependencyType.Attribute : R3ResolvedDependencyType.Token; // In the case of most dependencies, the token will be a reference to a type. Sometimes,\n            // however, it can be a string, in the case of older Angular code or @Attribute injection.\n\n            var token = tokenRef instanceof StaticSymbol ? outputCtx.importExpr(tokenRef) : literal(tokenRef); // Construct the dependency.\n\n            deps.push({\n              token: token,\n              resolved: resolved,\n              host: !!dependency.isHost,\n              optional: !!dependency.isOptional,\n              self: !!dependency.isSelf,\n              skipSelf: !!dependency.isSkipSelf\n            });\n          } else {\n            unsupported('dependency without a token');\n          }\n        }\n      } catch (err) {\n        _didIteratorError13 = true;\n        _iteratorError13 = err;\n      } finally {\n        try {\n          if (!_iteratorNormalCompletion13 && _iterator13.return != null) {\n            _iterator13.return();\n          }\n        } finally {\n          if (_didIteratorError13) {\n            throw _iteratorError13;\n          }\n        }\n      }\n\n      return deps;\n    }\n\n    function makeErrorStmt(name) {\n      return new ThrowStmt(new InstantiateExpr(new ReadVarExpr('Error'), [literal(\"\".concat(name, \" has a constructor which is not compatible with Dependency Injection. It should probably not be @Injectable().\"))]));\n    }\n\n    function isDelegatedMetadata(meta) {\n      return meta.delegateType !== undefined;\n    }\n\n    function isExpressionFactoryMetadata(meta) {\n      return meta.expression !== undefined;\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * Convert an object map with `Expression` values into a `LiteralMapExpr`.\n     */\n\n\n    function mapToMapExpression(map) {\n      var result = Object.keys(map).map(function (key) {\n        return {\n          key: key,\n          value: map[key],\n          quoted: false\n        };\n      });\n      return literalMap(result);\n    }\n    /**\n     * Convert metadata into an `Expression` in the given `OutputContext`.\n     *\n     * This operation will handle arrays, references to symbols, or literal `null` or `undefined`.\n     */\n\n\n    function convertMetaToOutput(meta, ctx) {\n      if (Array.isArray(meta)) {\n        return literalArr(meta.map(function (entry) {\n          return convertMetaToOutput(entry, ctx);\n        }));\n      }\n\n      if (meta instanceof StaticSymbol) {\n        return ctx.importExpr(meta);\n      }\n\n      if (meta == null) {\n        return literal(meta);\n      }\n\n      throw new Error(\"Internal error: Unsupported or unknown metadata: \".concat(meta));\n    }\n\n    function typeWithParameters(type, numParams) {\n      var params = null;\n\n      if (numParams > 0) {\n        params = [];\n\n        for (var i = 0; i < numParams; i++) {\n          params.push(DYNAMIC_TYPE);\n        }\n      }\n\n      return expressionType(type, null, params);\n    }\n\n    var ANIMATE_SYMBOL_PREFIX = '@';\n\n    function prepareSyntheticPropertyName(name) {\n      return \"\".concat(ANIMATE_SYMBOL_PREFIX).concat(name);\n    }\n\n    function prepareSyntheticListenerName(name, phase) {\n      return \"\".concat(ANIMATE_SYMBOL_PREFIX).concat(name, \".\").concat(phase);\n    }\n\n    function isSyntheticPropertyOrListener(name) {\n      return name.charAt(0) == ANIMATE_SYMBOL_PREFIX;\n    }\n\n    function getSyntheticPropertyName(name) {\n      // this will strip out listener phase values...\n      // @foo.start => @foo\n      var i = name.indexOf('.');\n      name = i > 0 ? name.substring(0, i) : name;\n\n      if (name.charAt(0) !== ANIMATE_SYMBOL_PREFIX) {\n        name = ANIMATE_SYMBOL_PREFIX + name;\n      }\n\n      return name;\n    }\n\n    function prepareSyntheticListenerFunctionName(name, phase) {\n      return \"animation_\".concat(name, \"_\").concat(phase);\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    function _compileInjectable(meta) {\n      var result = null;\n      var factoryMeta = {\n        name: meta.name,\n        type: meta.type,\n        deps: meta.ctorDeps,\n        injectFn: Identifiers.inject\n      };\n\n      if (meta.useClass !== undefined) {\n        // meta.useClass has two modes of operation. Either deps are specified, in which case `new` is\n        // used to instantiate the class with dependencies injected, or deps are not specified and\n        // the factory of the class is used to instantiate it.\n        //\n        // A special case exists for useClass: Type where Type is the injectable type itself and no\n        // deps are specified, in which case 'useClass' is effectively ignored.\n        var useClassOnSelf = meta.useClass.isEquivalent(meta.type);\n        var deps = undefined;\n\n        if (meta.userDeps !== undefined) {\n          deps = meta.userDeps;\n        }\n\n        if (deps !== undefined) {\n          // factory: () => new meta.useClass(...deps)\n          result = compileFactoryFunction(Object.assign({}, factoryMeta, {\n            delegate: meta.useClass,\n            delegateDeps: deps,\n            delegateType: R3FactoryDelegateType.Class\n          }));\n        } else if (useClassOnSelf) {\n          result = compileFactoryFunction(factoryMeta);\n        } else {\n          result = compileFactoryFunction(Object.assign({}, factoryMeta, {\n            delegate: meta.useClass,\n            delegateType: R3FactoryDelegateType.Factory\n          }));\n        }\n      } else if (meta.useFactory !== undefined) {\n        result = compileFactoryFunction(Object.assign({}, factoryMeta, {\n          delegate: meta.useFactory,\n          delegateDeps: meta.userDeps || [],\n          delegateType: R3FactoryDelegateType.Function\n        }));\n      } else if (meta.useValue !== undefined) {\n        // Note: it's safe to use `meta.useValue` instead of the `USE_VALUE in meta` check used for\n        // client code because meta.useValue is an Expression which will be defined even if the actual\n        // value is undefined.\n        result = compileFactoryFunction(Object.assign({}, factoryMeta, {\n          expression: meta.useValue\n        }));\n      } else if (meta.useExisting !== undefined) {\n        // useExisting is an `inject` call on the existing token.\n        result = compileFactoryFunction(Object.assign({}, factoryMeta, {\n          expression: importExpr(Identifiers.inject).callFn([meta.useExisting])\n        }));\n      } else {\n        result = compileFactoryFunction(factoryMeta);\n      }\n\n      var token = meta.type;\n      var providedIn = meta.providedIn;\n      var expression = importExpr(Identifiers.ɵɵdefineInjectable).callFn([mapToMapExpression({\n        token: token,\n        factory: result.factory,\n        providedIn: providedIn\n      })]);\n      var type = new ExpressionType(importExpr(Identifiers.InjectableDef, [typeWithParameters(meta.type, meta.typeArgumentCount)]));\n      return {\n        expression: expression,\n        type: type,\n        statements: result.statements\n      };\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    function assertArrayOfStrings(identifier, value) {\n      if (value == null) {\n        return;\n      }\n\n      if (!Array.isArray(value)) {\n        throw new Error(\"Expected '\".concat(identifier, \"' to be an array of strings.\"));\n      }\n\n      for (var i = 0; i < value.length; i += 1) {\n        if (typeof value[i] !== 'string') {\n          throw new Error(\"Expected '\".concat(identifier, \"' to be an array of strings.\"));\n        }\n      }\n    }\n\n    var UNUSABLE_INTERPOLATION_REGEXPS = [/^\\s*$/, /[<>]/, /^[{}]$/, /&(#|[a-z])/i, /^\\/\\//];\n\n    function assertInterpolationSymbols(identifier, value) {\n      if (value != null && !(Array.isArray(value) && value.length == 2)) {\n        throw new Error(\"Expected '\".concat(identifier, \"' to be an array, [start, end].\"));\n      } else if (value != null) {\n        var start = value[0];\n        var end = value[1]; // Check for unusable interpolation symbols\n\n        UNUSABLE_INTERPOLATION_REGEXPS.forEach(function (regexp) {\n          if (regexp.test(start) || regexp.test(end)) {\n            throw new Error(\"['\".concat(start, \"', '\").concat(end, \"'] contains unusable interpolation symbol.\"));\n          }\n        });\n      }\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var InterpolationConfig =\n    /*#__PURE__*/\n    function () {\n      function InterpolationConfig(start, end) {\n        _classCallCheck(this, InterpolationConfig);\n\n        this.start = start;\n        this.end = end;\n      }\n\n      _createClass2(InterpolationConfig, null, [{\n        key: \"fromArray\",\n        value: function fromArray(markers) {\n          if (!markers) {\n            return DEFAULT_INTERPOLATION_CONFIG;\n          }\n\n          assertInterpolationSymbols('interpolation', markers);\n          return new InterpolationConfig(markers[0], markers[1]);\n        }\n      }]);\n\n      return InterpolationConfig;\n    }();\n\n    var DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig('{{', '}}');\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n    // https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit\n\n    var VERSION = 3;\n    var JS_B64_PREFIX = '# sourceMappingURL=data:application/json;base64,';\n\n    var SourceMapGenerator =\n    /*#__PURE__*/\n    function () {\n      function SourceMapGenerator() {\n        var file = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n\n        _classCallCheck(this, SourceMapGenerator);\n\n        this.file = file;\n        this.sourcesContent = new Map();\n        this.lines = [];\n        this.lastCol0 = 0;\n        this.hasMappings = false;\n      } // The content is `null` when the content is expected to be loaded using the URL\n\n\n      _createClass2(SourceMapGenerator, [{\n        key: \"addSource\",\n        value: function addSource(url) {\n          var content = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n\n          if (!this.sourcesContent.has(url)) {\n            this.sourcesContent.set(url, content);\n          }\n\n          return this;\n        }\n      }, {\n        key: \"addLine\",\n        value: function addLine() {\n          this.lines.push([]);\n          this.lastCol0 = 0;\n          return this;\n        }\n      }, {\n        key: \"addMapping\",\n        value: function addMapping(col0, sourceUrl, sourceLine0, sourceCol0) {\n          if (!this.currentLine) {\n            throw new Error(\"A line must be added before mappings can be added\");\n          }\n\n          if (sourceUrl != null && !this.sourcesContent.has(sourceUrl)) {\n            throw new Error(\"Unknown source file \\\"\".concat(sourceUrl, \"\\\"\"));\n          }\n\n          if (col0 == null) {\n            throw new Error(\"The column in the generated code must be provided\");\n          }\n\n          if (col0 < this.lastCol0) {\n            throw new Error(\"Mapping should be added in output order\");\n          }\n\n          if (sourceUrl && (sourceLine0 == null || sourceCol0 == null)) {\n            throw new Error(\"The source location must be provided when a source url is provided\");\n          }\n\n          this.hasMappings = true;\n          this.lastCol0 = col0;\n          this.currentLine.push({\n            col0: col0,\n            sourceUrl: sourceUrl,\n            sourceLine0: sourceLine0,\n            sourceCol0: sourceCol0\n          });\n          return this;\n        }\n      }, {\n        key: \"toJSON\",\n        value: function toJSON() {\n          var _this224 = this;\n\n          if (!this.hasMappings) {\n            return null;\n          }\n\n          var sourcesIndex = new Map();\n          var sources = [];\n          var sourcesContent = [];\n          Array.from(this.sourcesContent.keys()).forEach(function (url, i) {\n            sourcesIndex.set(url, i);\n            sources.push(url);\n            sourcesContent.push(_this224.sourcesContent.get(url) || null);\n          });\n          var mappings = '';\n          var lastCol0 = 0;\n          var lastSourceIndex = 0;\n          var lastSourceLine0 = 0;\n          var lastSourceCol0 = 0;\n          this.lines.forEach(function (segments) {\n            lastCol0 = 0;\n            mappings += segments.map(function (segment) {\n              // zero-based starting column of the line in the generated code\n              var segAsStr = toBase64VLQ(segment.col0 - lastCol0);\n              lastCol0 = segment.col0;\n\n              if (segment.sourceUrl != null) {\n                // zero-based index into the “sources” list\n                segAsStr += toBase64VLQ(sourcesIndex.get(segment.sourceUrl) - lastSourceIndex);\n                lastSourceIndex = sourcesIndex.get(segment.sourceUrl); // the zero-based starting line in the original source\n\n                segAsStr += toBase64VLQ(segment.sourceLine0 - lastSourceLine0);\n                lastSourceLine0 = segment.sourceLine0; // the zero-based starting column in the original source\n\n                segAsStr += toBase64VLQ(segment.sourceCol0 - lastSourceCol0);\n                lastSourceCol0 = segment.sourceCol0;\n              }\n\n              return segAsStr;\n            }).join(',');\n            mappings += ';';\n          });\n          mappings = mappings.slice(0, -1);\n          return {\n            'file': this.file || '',\n            'version': VERSION,\n            'sourceRoot': '',\n            'sources': sources,\n            'sourcesContent': sourcesContent,\n            'mappings': mappings\n          };\n        }\n      }, {\n        key: \"toJsComment\",\n        value: function toJsComment() {\n          return this.hasMappings ? '//' + JS_B64_PREFIX + toBase64String(JSON.stringify(this, null, 0)) : '';\n        }\n      }, {\n        key: \"currentLine\",\n        get: function get() {\n          return this.lines.slice(-1)[0];\n        }\n      }]);\n\n      return SourceMapGenerator;\n    }();\n\n    function toBase64String(value) {\n      var b64 = '';\n      value = utf8Encode(value);\n\n      for (var i = 0; i < value.length;) {\n        var i1 = value.charCodeAt(i++);\n        var i2 = value.charCodeAt(i++);\n        var i3 = value.charCodeAt(i++);\n        b64 += toBase64Digit(i1 >> 2);\n        b64 += toBase64Digit((i1 & 3) << 4 | (isNaN(i2) ? 0 : i2 >> 4));\n        b64 += isNaN(i2) ? '=' : toBase64Digit((i2 & 15) << 2 | i3 >> 6);\n        b64 += isNaN(i2) || isNaN(i3) ? '=' : toBase64Digit(i3 & 63);\n      }\n\n      return b64;\n    }\n\n    function toBase64VLQ(value) {\n      value = value < 0 ? (-value << 1) + 1 : value << 1;\n      var out = '';\n\n      do {\n        var digit = value & 31;\n        value = value >> 5;\n\n        if (value > 0) {\n          digit = digit | 32;\n        }\n\n        out += toBase64Digit(digit);\n      } while (value > 0);\n\n      return out;\n    }\n\n    var B64_DIGITS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';\n\n    function toBase64Digit(value) {\n      if (value < 0 || value >= 64) {\n        throw new Error(\"Can only encode value in the range [0, 63]\");\n      }\n\n      return B64_DIGITS[value];\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\\\|\\n|\\r|\\$/g;\n    var _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;\n    var _INDENT_WITH = '  ';\n    var CATCH_ERROR_VAR$1 = variable('error', null, null);\n    var CATCH_STACK_VAR$1 = variable('stack', null, null);\n\n    var _EmittedLine = function _EmittedLine(indent) {\n      _classCallCheck(this, _EmittedLine);\n\n      this.indent = indent;\n      this.partsLength = 0;\n      this.parts = [];\n      this.srcSpans = [];\n    };\n\n    var EmitterVisitorContext =\n    /*#__PURE__*/\n    function () {\n      function EmitterVisitorContext(_indent) {\n        _classCallCheck(this, EmitterVisitorContext);\n\n        this._indent = _indent;\n        this._classes = [];\n        this._preambleLineCount = 0;\n        this._lines = [new _EmittedLine(_indent)];\n      }\n\n      _createClass2(EmitterVisitorContext, [{\n        key: \"println\",\n        value: function println(from) {\n          var lastPart = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n          this.print(from || null, lastPart, true);\n        }\n      }, {\n        key: \"lineIsEmpty\",\n        value: function lineIsEmpty() {\n          return this._currentLine.parts.length === 0;\n        }\n      }, {\n        key: \"lineLength\",\n        value: function lineLength() {\n          return this._currentLine.indent * _INDENT_WITH.length + this._currentLine.partsLength;\n        }\n      }, {\n        key: \"print\",\n        value: function print(from, part) {\n          var newLine = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n\n          if (part.length > 0) {\n            this._currentLine.parts.push(part);\n\n            this._currentLine.partsLength += part.length;\n\n            this._currentLine.srcSpans.push(from && from.sourceSpan || null);\n          }\n\n          if (newLine) {\n            this._lines.push(new _EmittedLine(this._indent));\n          }\n        }\n      }, {\n        key: \"removeEmptyLastLine\",\n        value: function removeEmptyLastLine() {\n          if (this.lineIsEmpty()) {\n            this._lines.pop();\n          }\n        }\n      }, {\n        key: \"incIndent\",\n        value: function incIndent() {\n          this._indent++;\n\n          if (this.lineIsEmpty()) {\n            this._currentLine.indent = this._indent;\n          }\n        }\n      }, {\n        key: \"decIndent\",\n        value: function decIndent() {\n          this._indent--;\n\n          if (this.lineIsEmpty()) {\n            this._currentLine.indent = this._indent;\n          }\n        }\n      }, {\n        key: \"pushClass\",\n        value: function pushClass(clazz) {\n          this._classes.push(clazz);\n        }\n      }, {\n        key: \"popClass\",\n        value: function popClass() {\n          return this._classes.pop();\n        }\n      }, {\n        key: \"toSource\",\n        value: function toSource() {\n          return this.sourceLines.map(function (l) {\n            return l.parts.length > 0 ? _createIndent(l.indent) + l.parts.join('') : '';\n          }).join('\\n');\n        }\n      }, {\n        key: \"toSourceMapGenerator\",\n        value: function toSourceMapGenerator(genFilePath) {\n          var startsAtLine = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n          var map = new SourceMapGenerator(genFilePath);\n          var firstOffsetMapped = false;\n\n          var mapFirstOffsetIfNeeded = function mapFirstOffsetIfNeeded() {\n            if (!firstOffsetMapped) {\n              // Add a single space so that tools won't try to load the file from disk.\n              // Note: We are using virtual urls like `ng:///`, so we have to\n              // provide a content here.\n              map.addSource(genFilePath, ' ').addMapping(0, genFilePath, 0, 0);\n              firstOffsetMapped = true;\n            }\n          };\n\n          for (var i = 0; i < startsAtLine; i++) {\n            map.addLine();\n            mapFirstOffsetIfNeeded();\n          }\n\n          this.sourceLines.forEach(function (line, lineIdx) {\n            map.addLine();\n            var spans = line.srcSpans;\n            var parts = line.parts;\n            var col0 = line.indent * _INDENT_WITH.length;\n            var spanIdx = 0; // skip leading parts without source spans\n\n            while (spanIdx < spans.length && !spans[spanIdx]) {\n              col0 += parts[spanIdx].length;\n              spanIdx++;\n            }\n\n            if (spanIdx < spans.length && lineIdx === 0 && col0 === 0) {\n              firstOffsetMapped = true;\n            } else {\n              mapFirstOffsetIfNeeded();\n            }\n\n            while (spanIdx < spans.length) {\n              var span = spans[spanIdx];\n              var source = span.start.file;\n              var sourceLine = span.start.line;\n              var sourceCol = span.start.col;\n              map.addSource(source.url, source.content).addMapping(col0, source.url, sourceLine, sourceCol);\n              col0 += parts[spanIdx].length;\n              spanIdx++; // assign parts without span or the same span to the previous segment\n\n              while (spanIdx < spans.length && (span === spans[spanIdx] || !spans[spanIdx])) {\n                col0 += parts[spanIdx].length;\n                spanIdx++;\n              }\n            }\n          });\n          return map;\n        }\n      }, {\n        key: \"setPreambleLineCount\",\n        value: function setPreambleLineCount(count) {\n          return this._preambleLineCount = count;\n        }\n      }, {\n        key: \"spanOf\",\n        value: function spanOf(line, column) {\n          var emittedLine = this._lines[line - this._preambleLineCount];\n\n          if (emittedLine) {\n            var columnsLeft = column - _createIndent(emittedLine.indent).length;\n\n            for (var partIndex = 0; partIndex < emittedLine.parts.length; partIndex++) {\n              var part = emittedLine.parts[partIndex];\n\n              if (part.length > columnsLeft) {\n                return emittedLine.srcSpans[partIndex];\n              }\n\n              columnsLeft -= part.length;\n            }\n          }\n\n          return null;\n        }\n      }, {\n        key: \"_currentLine\",\n        get: function get() {\n          return this._lines[this._lines.length - 1];\n        }\n      }, {\n        key: \"currentClass\",\n        get: function get() {\n          return this._classes.length > 0 ? this._classes[this._classes.length - 1] : null;\n        }\n      }, {\n        key: \"sourceLines\",\n        get: function get() {\n          if (this._lines.length && this._lines[this._lines.length - 1].parts.length === 0) {\n            return this._lines.slice(0, -1);\n          }\n\n          return this._lines;\n        }\n      }], [{\n        key: \"createRoot\",\n        value: function createRoot() {\n          return new EmitterVisitorContext(0);\n        }\n      }]);\n\n      return EmitterVisitorContext;\n    }();\n\n    var AbstractEmitterVisitor =\n    /*#__PURE__*/\n    function () {\n      function AbstractEmitterVisitor(_escapeDollarInStrings) {\n        _classCallCheck(this, AbstractEmitterVisitor);\n\n        this._escapeDollarInStrings = _escapeDollarInStrings;\n      }\n\n      _createClass2(AbstractEmitterVisitor, [{\n        key: \"visitExpressionStmt\",\n        value: function visitExpressionStmt(stmt, ctx) {\n          stmt.expr.visitExpression(this, ctx);\n          ctx.println(stmt, ';');\n          return null;\n        }\n      }, {\n        key: \"visitReturnStmt\",\n        value: function visitReturnStmt(stmt, ctx) {\n          ctx.print(stmt, \"return \");\n          stmt.value.visitExpression(this, ctx);\n          ctx.println(stmt, ';');\n          return null;\n        }\n      }, {\n        key: \"visitIfStmt\",\n        value: function visitIfStmt(stmt, ctx) {\n          ctx.print(stmt, \"if (\");\n          stmt.condition.visitExpression(this, ctx);\n          ctx.print(stmt, \") {\");\n          var hasElseCase = stmt.falseCase != null && stmt.falseCase.length > 0;\n\n          if (stmt.trueCase.length <= 1 && !hasElseCase) {\n            ctx.print(stmt, \" \");\n            this.visitAllStatements(stmt.trueCase, ctx);\n            ctx.removeEmptyLastLine();\n            ctx.print(stmt, \" \");\n          } else {\n            ctx.println();\n            ctx.incIndent();\n            this.visitAllStatements(stmt.trueCase, ctx);\n            ctx.decIndent();\n\n            if (hasElseCase) {\n              ctx.println(stmt, \"} else {\");\n              ctx.incIndent();\n              this.visitAllStatements(stmt.falseCase, ctx);\n              ctx.decIndent();\n            }\n          }\n\n          ctx.println(stmt, \"}\");\n          return null;\n        }\n      }, {\n        key: \"visitThrowStmt\",\n        value: function visitThrowStmt(stmt, ctx) {\n          ctx.print(stmt, \"throw \");\n          stmt.error.visitExpression(this, ctx);\n          ctx.println(stmt, \";\");\n          return null;\n        }\n      }, {\n        key: \"visitCommentStmt\",\n        value: function visitCommentStmt(stmt, ctx) {\n          if (stmt.multiline) {\n            ctx.println(stmt, \"/* \".concat(stmt.comment, \" */\"));\n          } else {\n            stmt.comment.split('\\n').forEach(function (line) {\n              ctx.println(stmt, \"// \".concat(line));\n            });\n          }\n\n          return null;\n        }\n      }, {\n        key: \"visitJSDocCommentStmt\",\n        value: function visitJSDocCommentStmt(stmt, ctx) {\n          ctx.println(stmt, \"/*\".concat(stmt.toString(), \"*/\"));\n          return null;\n        }\n      }, {\n        key: \"visitWriteVarExpr\",\n        value: function visitWriteVarExpr(expr, ctx) {\n          var lineWasEmpty = ctx.lineIsEmpty();\n\n          if (!lineWasEmpty) {\n            ctx.print(expr, '(');\n          }\n\n          ctx.print(expr, \"\".concat(expr.name, \" = \"));\n          expr.value.visitExpression(this, ctx);\n\n          if (!lineWasEmpty) {\n            ctx.print(expr, ')');\n          }\n\n          return null;\n        }\n      }, {\n        key: \"visitWriteKeyExpr\",\n        value: function visitWriteKeyExpr(expr, ctx) {\n          var lineWasEmpty = ctx.lineIsEmpty();\n\n          if (!lineWasEmpty) {\n            ctx.print(expr, '(');\n          }\n\n          expr.receiver.visitExpression(this, ctx);\n          ctx.print(expr, \"[\");\n          expr.index.visitExpression(this, ctx);\n          ctx.print(expr, \"] = \");\n          expr.value.visitExpression(this, ctx);\n\n          if (!lineWasEmpty) {\n            ctx.print(expr, ')');\n          }\n\n          return null;\n        }\n      }, {\n        key: \"visitWritePropExpr\",\n        value: function visitWritePropExpr(expr, ctx) {\n          var lineWasEmpty = ctx.lineIsEmpty();\n\n          if (!lineWasEmpty) {\n            ctx.print(expr, '(');\n          }\n\n          expr.receiver.visitExpression(this, ctx);\n          ctx.print(expr, \".\".concat(expr.name, \" = \"));\n          expr.value.visitExpression(this, ctx);\n\n          if (!lineWasEmpty) {\n            ctx.print(expr, ')');\n          }\n\n          return null;\n        }\n      }, {\n        key: \"visitInvokeMethodExpr\",\n        value: function visitInvokeMethodExpr(expr, ctx) {\n          expr.receiver.visitExpression(this, ctx);\n          var name = expr.name;\n\n          if (expr.builtin != null) {\n            name = this.getBuiltinMethodName(expr.builtin);\n\n            if (name == null) {\n              // some builtins just mean to skip the call.\n              return null;\n            }\n          }\n\n          ctx.print(expr, \".\".concat(name, \"(\"));\n          this.visitAllExpressions(expr.args, ctx, \",\");\n          ctx.print(expr, \")\");\n          return null;\n        }\n      }, {\n        key: \"visitInvokeFunctionExpr\",\n        value: function visitInvokeFunctionExpr(expr, ctx) {\n          expr.fn.visitExpression(this, ctx);\n          ctx.print(expr, \"(\");\n          this.visitAllExpressions(expr.args, ctx, ',');\n          ctx.print(expr, \")\");\n          return null;\n        }\n      }, {\n        key: \"visitWrappedNodeExpr\",\n        value: function visitWrappedNodeExpr(ast, ctx) {\n          throw new Error('Abstract emitter cannot visit WrappedNodeExpr.');\n        }\n      }, {\n        key: \"visitTypeofExpr\",\n        value: function visitTypeofExpr(expr, ctx) {\n          ctx.print(expr, 'typeof ');\n          expr.expr.visitExpression(this, ctx);\n        }\n      }, {\n        key: \"visitReadVarExpr\",\n        value: function visitReadVarExpr(ast, ctx) {\n          var varName = ast.name;\n\n          if (ast.builtin != null) {\n            switch (ast.builtin) {\n              case BuiltinVar.Super:\n                varName = 'super';\n                break;\n\n              case BuiltinVar.This:\n                varName = 'this';\n                break;\n\n              case BuiltinVar.CatchError:\n                varName = CATCH_ERROR_VAR$1.name;\n                break;\n\n              case BuiltinVar.CatchStack:\n                varName = CATCH_STACK_VAR$1.name;\n                break;\n\n              default:\n                throw new Error(\"Unknown builtin variable \".concat(ast.builtin));\n            }\n          }\n\n          ctx.print(ast, varName);\n          return null;\n        }\n      }, {\n        key: \"visitInstantiateExpr\",\n        value: function visitInstantiateExpr(ast, ctx) {\n          ctx.print(ast, \"new \");\n          ast.classExpr.visitExpression(this, ctx);\n          ctx.print(ast, \"(\");\n          this.visitAllExpressions(ast.args, ctx, ',');\n          ctx.print(ast, \")\");\n          return null;\n        }\n      }, {\n        key: \"visitLiteralExpr\",\n        value: function visitLiteralExpr(ast, ctx) {\n          var value = ast.value;\n\n          if (typeof value === 'string') {\n            ctx.print(ast, escapeIdentifier(value, this._escapeDollarInStrings));\n          } else {\n            ctx.print(ast, \"\".concat(value));\n          }\n\n          return null;\n        }\n      }, {\n        key: \"visitConditionalExpr\",\n        value: function visitConditionalExpr(ast, ctx) {\n          ctx.print(ast, \"(\");\n          ast.condition.visitExpression(this, ctx);\n          ctx.print(ast, '? ');\n          ast.trueCase.visitExpression(this, ctx);\n          ctx.print(ast, ': ');\n          ast.falseCase.visitExpression(this, ctx);\n          ctx.print(ast, \")\");\n          return null;\n        }\n      }, {\n        key: \"visitNotExpr\",\n        value: function visitNotExpr(ast, ctx) {\n          ctx.print(ast, '!');\n          ast.condition.visitExpression(this, ctx);\n          return null;\n        }\n      }, {\n        key: \"visitAssertNotNullExpr\",\n        value: function visitAssertNotNullExpr(ast, ctx) {\n          ast.condition.visitExpression(this, ctx);\n          return null;\n        }\n      }, {\n        key: \"visitBinaryOperatorExpr\",\n        value: function visitBinaryOperatorExpr(ast, ctx) {\n          var opStr;\n\n          switch (ast.operator) {\n            case BinaryOperator.Equals:\n              opStr = '==';\n              break;\n\n            case BinaryOperator.Identical:\n              opStr = '===';\n              break;\n\n            case BinaryOperator.NotEquals:\n              opStr = '!=';\n              break;\n\n            case BinaryOperator.NotIdentical:\n              opStr = '!==';\n              break;\n\n            case BinaryOperator.And:\n              opStr = '&&';\n              break;\n\n            case BinaryOperator.BitwiseAnd:\n              opStr = '&';\n              break;\n\n            case BinaryOperator.Or:\n              opStr = '||';\n              break;\n\n            case BinaryOperator.Plus:\n              opStr = '+';\n              break;\n\n            case BinaryOperator.Minus:\n              opStr = '-';\n              break;\n\n            case BinaryOperator.Divide:\n              opStr = '/';\n              break;\n\n            case BinaryOperator.Multiply:\n              opStr = '*';\n              break;\n\n            case BinaryOperator.Modulo:\n              opStr = '%';\n              break;\n\n            case BinaryOperator.Lower:\n              opStr = '<';\n              break;\n\n            case BinaryOperator.LowerEquals:\n              opStr = '<=';\n              break;\n\n            case BinaryOperator.Bigger:\n              opStr = '>';\n              break;\n\n            case BinaryOperator.BiggerEquals:\n              opStr = '>=';\n              break;\n\n            default:\n              throw new Error(\"Unknown operator \".concat(ast.operator));\n          }\n\n          if (ast.parens) ctx.print(ast, \"(\");\n          ast.lhs.visitExpression(this, ctx);\n          ctx.print(ast, \" \".concat(opStr, \" \"));\n          ast.rhs.visitExpression(this, ctx);\n          if (ast.parens) ctx.print(ast, \")\");\n          return null;\n        }\n      }, {\n        key: \"visitReadPropExpr\",\n        value: function visitReadPropExpr(ast, ctx) {\n          ast.receiver.visitExpression(this, ctx);\n          ctx.print(ast, \".\");\n          ctx.print(ast, ast.name);\n          return null;\n        }\n      }, {\n        key: \"visitReadKeyExpr\",\n        value: function visitReadKeyExpr(ast, ctx) {\n          ast.receiver.visitExpression(this, ctx);\n          ctx.print(ast, \"[\");\n          ast.index.visitExpression(this, ctx);\n          ctx.print(ast, \"]\");\n          return null;\n        }\n      }, {\n        key: \"visitLiteralArrayExpr\",\n        value: function visitLiteralArrayExpr(ast, ctx) {\n          ctx.print(ast, \"[\");\n          this.visitAllExpressions(ast.entries, ctx, ',');\n          ctx.print(ast, \"]\");\n          return null;\n        }\n      }, {\n        key: \"visitLiteralMapExpr\",\n        value: function visitLiteralMapExpr(ast, ctx) {\n          var _this225 = this;\n\n          ctx.print(ast, \"{\");\n          this.visitAllObjects(function (entry) {\n            ctx.print(ast, \"\".concat(escapeIdentifier(entry.key, _this225._escapeDollarInStrings, entry.quoted), \":\"));\n            entry.value.visitExpression(_this225, ctx);\n          }, ast.entries, ctx, ',');\n          ctx.print(ast, \"}\");\n          return null;\n        }\n      }, {\n        key: \"visitCommaExpr\",\n        value: function visitCommaExpr(ast, ctx) {\n          ctx.print(ast, '(');\n          this.visitAllExpressions(ast.parts, ctx, ',');\n          ctx.print(ast, ')');\n          return null;\n        }\n      }, {\n        key: \"visitAllExpressions\",\n        value: function visitAllExpressions(expressions, ctx, separator) {\n          var _this226 = this;\n\n          this.visitAllObjects(function (expr) {\n            return expr.visitExpression(_this226, ctx);\n          }, expressions, ctx, separator);\n        }\n      }, {\n        key: \"visitAllObjects\",\n        value: function visitAllObjects(handler, expressions, ctx, separator) {\n          var incrementedIndent = false;\n\n          for (var i = 0; i < expressions.length; i++) {\n            if (i > 0) {\n              if (ctx.lineLength() > 80) {\n                ctx.print(null, separator, true);\n\n                if (!incrementedIndent) {\n                  // continuation are marked with double indent.\n                  ctx.incIndent();\n                  ctx.incIndent();\n                  incrementedIndent = true;\n                }\n              } else {\n                ctx.print(null, separator, false);\n              }\n            }\n\n            handler(expressions[i]);\n          }\n\n          if (incrementedIndent) {\n            // continuation are marked with double indent.\n            ctx.decIndent();\n            ctx.decIndent();\n          }\n        }\n      }, {\n        key: \"visitAllStatements\",\n        value: function visitAllStatements(statements, ctx) {\n          var _this227 = this;\n\n          statements.forEach(function (stmt) {\n            return stmt.visitStatement(_this227, ctx);\n          });\n        }\n      }]);\n\n      return AbstractEmitterVisitor;\n    }();\n\n    function escapeIdentifier(input, escapeDollar) {\n      var alwaysQuote = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n\n      if (input == null) {\n        return null;\n      }\n\n      var body = input.replace(_SINGLE_QUOTE_ESCAPE_STRING_RE, function () {\n        if ((arguments.length <= 0 ? undefined : arguments[0]) == '$') {\n          return escapeDollar ? '\\\\$' : '$';\n        } else if ((arguments.length <= 0 ? undefined : arguments[0]) == '\\n') {\n          return '\\\\n';\n        } else if ((arguments.length <= 0 ? undefined : arguments[0]) == '\\r') {\n          return '\\\\r';\n        } else {\n          return \"\\\\\".concat(arguments.length <= 0 ? undefined : arguments[0]);\n        }\n      });\n      var requiresQuotes = alwaysQuote || !_LEGAL_IDENTIFIER_RE.test(body);\n      return requiresQuotes ? \"'\".concat(body, \"'\") : body;\n    }\n\n    function _createIndent(count) {\n      var res = '';\n\n      for (var i = 0; i < count; i++) {\n        res += _INDENT_WITH;\n      }\n\n      return res;\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var AbstractJsEmitterVisitor =\n    /*#__PURE__*/\n    function (_AbstractEmitterVisit) {\n      _inherits(AbstractJsEmitterVisitor, _AbstractEmitterVisit);\n\n      function AbstractJsEmitterVisitor() {\n        _classCallCheck(this, AbstractJsEmitterVisitor);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(AbstractJsEmitterVisitor).call(this, false));\n      }\n\n      _createClass2(AbstractJsEmitterVisitor, [{\n        key: \"visitDeclareClassStmt\",\n        value: function visitDeclareClassStmt(stmt, ctx) {\n          var _this228 = this;\n\n          ctx.pushClass(stmt);\n\n          this._visitClassConstructor(stmt, ctx);\n\n          if (stmt.parent != null) {\n            ctx.print(stmt, \"\".concat(stmt.name, \".prototype = Object.create(\"));\n            stmt.parent.visitExpression(this, ctx);\n            ctx.println(stmt, \".prototype);\");\n          }\n\n          stmt.getters.forEach(function (getter) {\n            return _this228._visitClassGetter(stmt, getter, ctx);\n          });\n          stmt.methods.forEach(function (method) {\n            return _this228._visitClassMethod(stmt, method, ctx);\n          });\n          ctx.popClass();\n          return null;\n        }\n      }, {\n        key: \"_visitClassConstructor\",\n        value: function _visitClassConstructor(stmt, ctx) {\n          ctx.print(stmt, \"function \".concat(stmt.name, \"(\"));\n\n          if (stmt.constructorMethod != null) {\n            this._visitParams(stmt.constructorMethod.params, ctx);\n          }\n\n          ctx.println(stmt, \") {\");\n          ctx.incIndent();\n\n          if (stmt.constructorMethod != null) {\n            if (stmt.constructorMethod.body.length > 0) {\n              ctx.println(stmt, \"var self = this;\");\n              this.visitAllStatements(stmt.constructorMethod.body, ctx);\n            }\n          }\n\n          ctx.decIndent();\n          ctx.println(stmt, \"}\");\n        }\n      }, {\n        key: \"_visitClassGetter\",\n        value: function _visitClassGetter(stmt, getter, ctx) {\n          ctx.println(stmt, \"Object.defineProperty(\".concat(stmt.name, \".prototype, '\").concat(getter.name, \"', { get: function() {\"));\n          ctx.incIndent();\n\n          if (getter.body.length > 0) {\n            ctx.println(stmt, \"var self = this;\");\n            this.visitAllStatements(getter.body, ctx);\n          }\n\n          ctx.decIndent();\n          ctx.println(stmt, \"}});\");\n        }\n      }, {\n        key: \"_visitClassMethod\",\n        value: function _visitClassMethod(stmt, method, ctx) {\n          ctx.print(stmt, \"\".concat(stmt.name, \".prototype.\").concat(method.name, \" = function(\"));\n\n          this._visitParams(method.params, ctx);\n\n          ctx.println(stmt, \") {\");\n          ctx.incIndent();\n\n          if (method.body.length > 0) {\n            ctx.println(stmt, \"var self = this;\");\n            this.visitAllStatements(method.body, ctx);\n          }\n\n          ctx.decIndent();\n          ctx.println(stmt, \"};\");\n        }\n      }, {\n        key: \"visitWrappedNodeExpr\",\n        value: function visitWrappedNodeExpr(ast, ctx) {\n          throw new Error('Cannot emit a WrappedNodeExpr in Javascript.');\n        }\n      }, {\n        key: \"visitReadVarExpr\",\n        value: function visitReadVarExpr(ast, ctx) {\n          if (ast.builtin === BuiltinVar.This) {\n            ctx.print(ast, 'self');\n          } else if (ast.builtin === BuiltinVar.Super) {\n            throw new Error(\"'super' needs to be handled at a parent ast node, not at the variable level!\");\n          } else {\n            _get(_getPrototypeOf(AbstractJsEmitterVisitor.prototype), \"visitReadVarExpr\", this).call(this, ast, ctx);\n          }\n\n          return null;\n        }\n      }, {\n        key: \"visitDeclareVarStmt\",\n        value: function visitDeclareVarStmt(stmt, ctx) {\n          ctx.print(stmt, \"var \".concat(stmt.name));\n\n          if (stmt.value) {\n            ctx.print(stmt, ' = ');\n            stmt.value.visitExpression(this, ctx);\n          }\n\n          ctx.println(stmt, \";\");\n          return null;\n        }\n      }, {\n        key: \"visitCastExpr\",\n        value: function visitCastExpr(ast, ctx) {\n          ast.value.visitExpression(this, ctx);\n          return null;\n        }\n      }, {\n        key: \"visitInvokeFunctionExpr\",\n        value: function visitInvokeFunctionExpr(expr, ctx) {\n          var fnExpr = expr.fn;\n\n          if (fnExpr instanceof ReadVarExpr && fnExpr.builtin === BuiltinVar.Super) {\n            ctx.currentClass.parent.visitExpression(this, ctx);\n            ctx.print(expr, \".call(this\");\n\n            if (expr.args.length > 0) {\n              ctx.print(expr, \", \");\n              this.visitAllExpressions(expr.args, ctx, ',');\n            }\n\n            ctx.print(expr, \")\");\n          } else {\n            _get(_getPrototypeOf(AbstractJsEmitterVisitor.prototype), \"visitInvokeFunctionExpr\", this).call(this, expr, ctx);\n          }\n\n          return null;\n        }\n      }, {\n        key: \"visitFunctionExpr\",\n        value: function visitFunctionExpr(ast, ctx) {\n          ctx.print(ast, \"function\".concat(ast.name ? ' ' + ast.name : '', \"(\"));\n\n          this._visitParams(ast.params, ctx);\n\n          ctx.println(ast, \") {\");\n          ctx.incIndent();\n          this.visitAllStatements(ast.statements, ctx);\n          ctx.decIndent();\n          ctx.print(ast, \"}\");\n          return null;\n        }\n      }, {\n        key: \"visitDeclareFunctionStmt\",\n        value: function visitDeclareFunctionStmt(stmt, ctx) {\n          ctx.print(stmt, \"function \".concat(stmt.name, \"(\"));\n\n          this._visitParams(stmt.params, ctx);\n\n          ctx.println(stmt, \") {\");\n          ctx.incIndent();\n          this.visitAllStatements(stmt.statements, ctx);\n          ctx.decIndent();\n          ctx.println(stmt, \"}\");\n          return null;\n        }\n      }, {\n        key: \"visitTryCatchStmt\",\n        value: function visitTryCatchStmt(stmt, ctx) {\n          ctx.println(stmt, \"try {\");\n          ctx.incIndent();\n          this.visitAllStatements(stmt.bodyStmts, ctx);\n          ctx.decIndent();\n          ctx.println(stmt, \"} catch (\".concat(CATCH_ERROR_VAR$1.name, \") {\"));\n          ctx.incIndent();\n          var catchStmts = [CATCH_STACK_VAR$1.set(CATCH_ERROR_VAR$1.prop('stack')).toDeclStmt(null, [StmtModifier.Final])].concat(stmt.catchStmts);\n          this.visitAllStatements(catchStmts, ctx);\n          ctx.decIndent();\n          ctx.println(stmt, \"}\");\n          return null;\n        }\n      }, {\n        key: \"_visitParams\",\n        value: function _visitParams(params, ctx) {\n          this.visitAllObjects(function (param) {\n            return ctx.print(null, param.name);\n          }, params, ctx, ',');\n        }\n      }, {\n        key: \"getBuiltinMethodName\",\n        value: function getBuiltinMethodName(method) {\n          var name;\n\n          switch (method) {\n            case BuiltinMethod.ConcatArray:\n              name = 'concat';\n              break;\n\n            case BuiltinMethod.SubscribeObservable:\n              name = 'subscribe';\n              break;\n\n            case BuiltinMethod.Bind:\n              name = 'bind';\n              break;\n\n            default:\n              throw new Error(\"Unknown builtin method: \".concat(method));\n          }\n\n          return name;\n        }\n      }]);\n\n      return AbstractJsEmitterVisitor;\n    }(AbstractEmitterVisitor);\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * A helper class to manage the evaluation of JIT generated code.\n     */\n\n\n    var JitEvaluator =\n    /*#__PURE__*/\n    function () {\n      function JitEvaluator() {\n        _classCallCheck(this, JitEvaluator);\n      }\n\n      _createClass2(JitEvaluator, [{\n        key: \"evaluateStatements\",\n\n        /**\n         *\n         * @param sourceUrl The URL of the generated code.\n         * @param statements An array of Angular statement AST nodes to be evaluated.\n         * @param reflector A helper used when converting the statements to executable code.\n         * @param createSourceMaps If true then create a source-map for the generated code and include it\n         * inline as a source-map comment.\n         * @returns A map of all the variables in the generated code.\n         */\n        value: function evaluateStatements(sourceUrl, statements, reflector, createSourceMaps) {\n          var converter = new JitEmitterVisitor(reflector);\n          var ctx = EmitterVisitorContext.createRoot(); // Ensure generated code is in strict mode\n\n          if (statements.length > 0 && !isUseStrictStatement(statements[0])) {\n            statements = [literal('use strict').toStmt()].concat(_toConsumableArray(statements));\n          }\n\n          converter.visitAllStatements(statements, ctx);\n          converter.createReturnStmt(ctx);\n          return this.evaluateCode(sourceUrl, ctx, converter.getArgs(), createSourceMaps);\n        }\n        /**\n         * Evaluate a piece of JIT generated code.\n         * @param sourceUrl The URL of this generated code.\n         * @param ctx A context object that contains an AST of the code to be evaluated.\n         * @param vars A map containing the names and values of variables that the evaluated code might\n         * reference.\n         * @param createSourceMap If true then create a source-map for the generated code and include it\n         * inline as a source-map comment.\n         * @returns The result of evaluating the code.\n         */\n\n      }, {\n        key: \"evaluateCode\",\n        value: function evaluateCode(sourceUrl, ctx, vars, createSourceMap) {\n          var fnBody = \"\\\"use strict\\\";\".concat(ctx.toSource(), \"\\n//# sourceURL=\").concat(sourceUrl);\n          var fnArgNames = [];\n          var fnArgValues = [];\n\n          for (var argName in vars) {\n            fnArgValues.push(vars[argName]);\n            fnArgNames.push(argName);\n          }\n\n          if (createSourceMap) {\n            // using `new Function(...)` generates a header, 1 line of no arguments, 2 lines otherwise\n            // E.g. ```\n            // function anonymous(a,b,c\n            // /**/) { ... }```\n            // We don't want to hard code this fact, so we auto detect it via an empty function first.\n            var emptyFn = _construct(Function, _toConsumableArray(fnArgNames.concat('return null;'))).toString();\n\n            var headerLines = emptyFn.slice(0, emptyFn.indexOf('return null;')).split('\\n').length - 1;\n            fnBody += \"\\n\".concat(ctx.toSourceMapGenerator(sourceUrl, headerLines).toJsComment());\n          }\n\n          var fn = _construct(Function, _toConsumableArray(fnArgNames.concat(fnBody)));\n\n          return this.executeFunction(fn, fnArgValues);\n        }\n        /**\n         * Execute a JIT generated function by calling it.\n         *\n         * This method can be overridden in tests to capture the functions that are generated\n         * by this `JitEvaluator` class.\n         *\n         * @param fn A function to execute.\n         * @param args The arguments to pass to the function being executed.\n         * @returns The return value of the executed function.\n         */\n\n      }, {\n        key: \"executeFunction\",\n        value: function executeFunction(fn, args) {\n          return fn.apply(void 0, _toConsumableArray(args));\n        }\n      }]);\n\n      return JitEvaluator;\n    }();\n    /**\n     * An Angular AST visitor that converts AST nodes into executable JavaScript code.\n     */\n\n\n    var JitEmitterVisitor =\n    /*#__PURE__*/\n    function (_AbstractJsEmitterVis) {\n      _inherits(JitEmitterVisitor, _AbstractJsEmitterVis);\n\n      function JitEmitterVisitor(reflector) {\n        var _this229;\n\n        _classCallCheck(this, JitEmitterVisitor);\n\n        _this229 = _possibleConstructorReturn(this, _getPrototypeOf(JitEmitterVisitor).call(this));\n        _this229.reflector = reflector;\n        _this229._evalArgNames = [];\n        _this229._evalArgValues = [];\n        _this229._evalExportedVars = [];\n        return _this229;\n      }\n\n      _createClass2(JitEmitterVisitor, [{\n        key: \"createReturnStmt\",\n        value: function createReturnStmt(ctx) {\n          var stmt = new ReturnStatement(new LiteralMapExpr(this._evalExportedVars.map(function (resultVar) {\n            return new LiteralMapEntry(resultVar, variable(resultVar), false);\n          })));\n          stmt.visitStatement(this, ctx);\n        }\n      }, {\n        key: \"getArgs\",\n        value: function getArgs() {\n          var result = {};\n\n          for (var i = 0; i < this._evalArgNames.length; i++) {\n            result[this._evalArgNames[i]] = this._evalArgValues[i];\n          }\n\n          return result;\n        }\n      }, {\n        key: \"visitExternalExpr\",\n        value: function visitExternalExpr(ast, ctx) {\n          this._emitReferenceToExternal(ast, this.reflector.resolveExternalReference(ast.value), ctx);\n\n          return null;\n        }\n      }, {\n        key: \"visitWrappedNodeExpr\",\n        value: function visitWrappedNodeExpr(ast, ctx) {\n          this._emitReferenceToExternal(ast, ast.node, ctx);\n\n          return null;\n        }\n      }, {\n        key: \"visitDeclareVarStmt\",\n        value: function visitDeclareVarStmt(stmt, ctx) {\n          if (stmt.hasModifier(StmtModifier.Exported)) {\n            this._evalExportedVars.push(stmt.name);\n          }\n\n          return _get(_getPrototypeOf(JitEmitterVisitor.prototype), \"visitDeclareVarStmt\", this).call(this, stmt, ctx);\n        }\n      }, {\n        key: \"visitDeclareFunctionStmt\",\n        value: function visitDeclareFunctionStmt(stmt, ctx) {\n          if (stmt.hasModifier(StmtModifier.Exported)) {\n            this._evalExportedVars.push(stmt.name);\n          }\n\n          return _get(_getPrototypeOf(JitEmitterVisitor.prototype), \"visitDeclareFunctionStmt\", this).call(this, stmt, ctx);\n        }\n      }, {\n        key: \"visitDeclareClassStmt\",\n        value: function visitDeclareClassStmt(stmt, ctx) {\n          if (stmt.hasModifier(StmtModifier.Exported)) {\n            this._evalExportedVars.push(stmt.name);\n          }\n\n          return _get(_getPrototypeOf(JitEmitterVisitor.prototype), \"visitDeclareClassStmt\", this).call(this, stmt, ctx);\n        }\n      }, {\n        key: \"_emitReferenceToExternal\",\n        value: function _emitReferenceToExternal(ast, value, ctx) {\n          var id = this._evalArgValues.indexOf(value);\n\n          if (id === -1) {\n            id = this._evalArgValues.length;\n\n            this._evalArgValues.push(value);\n\n            var name = identifierName({\n              reference: value\n            }) || 'val';\n\n            this._evalArgNames.push(\"jit_\".concat(name, \"_\").concat(id));\n          }\n\n          ctx.print(ast, this._evalArgNames[id]);\n        }\n      }]);\n\n      return JitEmitterVisitor;\n    }(AbstractJsEmitterVisitor);\n\n    function isUseStrictStatement(statement) {\n      return statement.isEquivalent(literal('use strict').toStmt());\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * Implementation of `CompileReflector` which resolves references to @angular/core\n     * symbols at runtime, according to a consumer-provided mapping.\n     *\n     * Only supports `resolveExternalReference`, all other methods throw.\n     */\n\n\n    var R3JitReflector =\n    /*#__PURE__*/\n    function () {\n      function R3JitReflector(context) {\n        _classCallCheck(this, R3JitReflector);\n\n        this.context = context;\n      }\n\n      _createClass2(R3JitReflector, [{\n        key: \"resolveExternalReference\",\n        value: function resolveExternalReference(ref) {\n          // This reflector only handles @angular/core imports.\n          if (ref.moduleName !== '@angular/core') {\n            throw new Error(\"Cannot resolve external reference to \".concat(ref.moduleName, \", only references to @angular/core are supported.\"));\n          }\n\n          if (!this.context.hasOwnProperty(ref.name)) {\n            throw new Error(\"No value provided for @angular/core symbol '\".concat(ref.name, \"'.\"));\n          }\n\n          return this.context[ref.name];\n        }\n      }, {\n        key: \"parameters\",\n        value: function parameters(typeOrFunc) {\n          throw new Error('Not implemented.');\n        }\n      }, {\n        key: \"annotations\",\n        value: function annotations(typeOrFunc) {\n          throw new Error('Not implemented.');\n        }\n      }, {\n        key: \"shallowAnnotations\",\n        value: function shallowAnnotations(typeOrFunc) {\n          throw new Error('Not implemented.');\n        }\n      }, {\n        key: \"tryAnnotations\",\n        value: function tryAnnotations(typeOrFunc) {\n          throw new Error('Not implemented.');\n        }\n      }, {\n        key: \"propMetadata\",\n        value: function propMetadata(typeOrFunc) {\n          throw new Error('Not implemented.');\n        }\n      }, {\n        key: \"hasLifecycleHook\",\n        value: function hasLifecycleHook(type, lcProperty) {\n          throw new Error('Not implemented.');\n        }\n      }, {\n        key: \"guards\",\n        value: function guards(typeOrFunc) {\n          throw new Error('Not implemented.');\n        }\n      }, {\n        key: \"componentModuleUrl\",\n        value: function componentModuleUrl(type, cmpMetadata) {\n          throw new Error('Not implemented.');\n        }\n      }]);\n\n      return R3JitReflector;\n    }();\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * Construct an `R3NgModuleDef` for the given `R3NgModuleMetadata`.\n     */\n\n\n    function _compileNgModule(meta) {\n      var moduleType = meta.type,\n          bootstrap = meta.bootstrap,\n          declarations = meta.declarations,\n          imports = meta.imports,\n          exports = meta.exports,\n          schemas = meta.schemas,\n          containsForwardDecls = meta.containsForwardDecls,\n          emitInline = meta.emitInline,\n          id = meta.id;\n      var additionalStatements = [];\n      var definitionMap = {\n        type: moduleType\n      }; // Only generate the keys in the metadata if the arrays have values.\n\n      if (bootstrap.length) {\n        definitionMap.bootstrap = refsToArray(bootstrap, containsForwardDecls);\n      } // If requested to emit scope information inline, pass the declarations, imports and exports to\n      // the `ɵɵdefineNgModule` call. The JIT compilation uses this.\n\n\n      if (emitInline) {\n        if (declarations.length) {\n          definitionMap.declarations = refsToArray(declarations, containsForwardDecls);\n        }\n\n        if (imports.length) {\n          definitionMap.imports = refsToArray(imports, containsForwardDecls);\n        }\n\n        if (exports.length) {\n          definitionMap.exports = refsToArray(exports, containsForwardDecls);\n        }\n      } // If not emitting inline, the scope information is not passed into `ɵɵdefineNgModule` as it would\n      // prevent tree-shaking of the declarations, imports and exports references.\n      else {\n          var setNgModuleScopeCall = generateSetNgModuleScopeCall(meta);\n\n          if (setNgModuleScopeCall !== null) {\n            additionalStatements.push(setNgModuleScopeCall);\n          }\n        }\n\n      if (schemas && schemas.length) {\n        definitionMap.schemas = literalArr(schemas.map(function (ref) {\n          return ref.value;\n        }));\n      }\n\n      if (id) {\n        definitionMap.id = id;\n      }\n\n      var expression = importExpr(Identifiers$1.defineNgModule).callFn([mapToMapExpression(definitionMap)]);\n      var type = new ExpressionType(importExpr(Identifiers$1.NgModuleDefWithMeta, [new ExpressionType(moduleType), tupleTypeOf(declarations), tupleTypeOf(imports), tupleTypeOf(exports)]));\n      return {\n        expression: expression,\n        type: type,\n        additionalStatements: additionalStatements\n      };\n    }\n    /**\n     * Generates a function call to `ɵɵsetNgModuleScope` with all necessary information so that the\n     * transitive module scope can be computed during runtime in JIT mode. This call is marked pure\n     * such that the references to declarations, imports and exports may be elided causing these\n     * symbols to become tree-shakeable.\n     */\n\n\n    function generateSetNgModuleScopeCall(meta) {\n      var moduleType = meta.type,\n          declarations = meta.declarations,\n          imports = meta.imports,\n          exports = meta.exports,\n          containsForwardDecls = meta.containsForwardDecls;\n      var scopeMap = {};\n\n      if (declarations.length) {\n        scopeMap.declarations = refsToArray(declarations, containsForwardDecls);\n      }\n\n      if (imports.length) {\n        scopeMap.imports = refsToArray(imports, containsForwardDecls);\n      }\n\n      if (exports.length) {\n        scopeMap.exports = refsToArray(exports, containsForwardDecls);\n      }\n\n      if (Object.keys(scopeMap).length === 0) {\n        return null;\n      }\n\n      var fnCall = new InvokeFunctionExpr(\n      /* fn */\n      importExpr(Identifiers$1.setNgModuleScope),\n      /* args */\n      [moduleType, mapToMapExpression(scopeMap)],\n      /* type */\n      undefined,\n      /* sourceSpan */\n      undefined,\n      /* pure */\n      true);\n      return fnCall.toStmt();\n    }\n\n    function _compileInjector(meta) {\n      var result = compileFactoryFunction({\n        name: meta.name,\n        type: meta.type,\n        deps: meta.deps,\n        injectFn: Identifiers$1.inject\n      });\n      var definitionMap = {\n        factory: result.factory\n      };\n\n      if (meta.providers !== null) {\n        definitionMap.providers = meta.providers;\n      }\n\n      if (meta.imports.length > 0) {\n        definitionMap.imports = literalArr(meta.imports);\n      }\n\n      var expression = importExpr(Identifiers$1.defineInjector).callFn([mapToMapExpression(definitionMap)]);\n      var type = new ExpressionType(importExpr(Identifiers$1.InjectorDef, [new ExpressionType(meta.type)]));\n      return {\n        expression: expression,\n        type: type,\n        statements: result.statements\n      };\n    } // TODO(alxhub): integrate this with `compileNgModule`. Currently the two are separate operations.\n\n\n    function compileNgModuleFromRender2(ctx, ngModule, injectableCompiler) {\n      var className = identifierName(ngModule.type);\n      var rawImports = ngModule.rawImports ? [ngModule.rawImports] : [];\n      var rawExports = ngModule.rawExports ? [ngModule.rawExports] : [];\n      var injectorDefArg = mapLiteral({\n        'factory': injectableCompiler.factoryFor({\n          type: ngModule.type,\n          symbol: ngModule.type.reference\n        }, ctx),\n        'providers': convertMetaToOutput(ngModule.rawProviders, ctx),\n        'imports': convertMetaToOutput([].concat(rawImports, rawExports), ctx)\n      });\n      var injectorDef = importExpr(Identifiers$1.defineInjector).callFn([injectorDefArg]);\n      ctx.statements.push(new ClassStmt(\n      /* name */\n      className,\n      /* parent */\n      null,\n      /* fields */\n      [new ClassField(\n      /* name */\n      'ngInjectorDef',\n      /* type */\n      INFERRED_TYPE,\n      /* modifiers */\n      [StmtModifier.Static],\n      /* initializer */\n      injectorDef)],\n      /* getters */\n      [],\n      /* constructorMethod */\n      new ClassMethod(null, [], []),\n      /* methods */\n      []));\n    }\n\n    function accessExportScope(module) {\n      var selectorScope = new ReadPropExpr(module, 'ngModuleDef');\n      return new ReadPropExpr(selectorScope, 'exported');\n    }\n\n    function tupleTypeOf(exp) {\n      var types = exp.map(function (ref) {\n        return typeofExpr(ref.type);\n      });\n      return exp.length > 0 ? expressionType(literalArr(types)) : NONE_TYPE;\n    }\n\n    function refsToArray(refs, shouldForwardDeclare) {\n      var values = literalArr(refs.map(function (ref) {\n        return ref.value;\n      }));\n      return shouldForwardDeclare ? fn([], [new ReturnStatement(values)]) : values;\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    function compilePipeFromMetadata(metadata) {\n      var definitionMapValues = []; // e.g. `name: 'myPipe'`\n\n      definitionMapValues.push({\n        key: 'name',\n        value: literal(metadata.pipeName),\n        quoted: false\n      }); // e.g. `type: MyPipe`\n\n      definitionMapValues.push({\n        key: 'type',\n        value: metadata.type,\n        quoted: false\n      });\n      var templateFactory = compileFactoryFunction({\n        name: metadata.name,\n        type: metadata.type,\n        deps: metadata.deps,\n        injectFn: Identifiers$1.directiveInject\n      }, true);\n      definitionMapValues.push({\n        key: 'factory',\n        value: templateFactory.factory,\n        quoted: false\n      }); // e.g. `pure: true`\n\n      definitionMapValues.push({\n        key: 'pure',\n        value: literal(metadata.pure),\n        quoted: false\n      });\n      var expression = importExpr(Identifiers$1.definePipe).callFn([literalMap(definitionMapValues)]);\n      var type = new ExpressionType(importExpr(Identifiers$1.PipeDefWithMeta, [typeWithParameters(metadata.type, metadata.typeArgumentCount), new ExpressionType(new LiteralExpr(metadata.pipeName))]));\n      return {\n        expression: expression,\n        type: type,\n        statements: templateFactory.statements\n      };\n    }\n    /**\n     * Write a pipe definition to the output context.\n     */\n\n\n    function compilePipeFromRender2(outputCtx, pipe, reflector) {\n      var definitionMapValues = [];\n      var name = identifierName(pipe.type);\n\n      if (!name) {\n        return error(\"Cannot resolve the name of \".concat(pipe.type));\n      }\n\n      var metadata = {\n        name: name,\n        pipeName: pipe.name,\n        type: outputCtx.importExpr(pipe.type.reference),\n        typeArgumentCount: 0,\n        deps: dependenciesFromGlobalMetadata(pipe.type, outputCtx, reflector),\n        pure: pipe.pure\n      };\n      var res = compilePipeFromMetadata(metadata);\n      var definitionField = outputCtx.constantPool.propertyNameOf(3\n      /* Pipe */\n      );\n      outputCtx.statements.push(new ClassStmt(\n      /* name */\n      name,\n      /* parent */\n      null,\n      /* fields */\n      [new ClassField(\n      /* name */\n      definitionField,\n      /* type */\n      INFERRED_TYPE,\n      /* modifiers */\n      [StmtModifier.Static],\n      /* initializer */\n      res.expression)],\n      /* getters */\n      [],\n      /* constructorMethod */\n      new ClassMethod(null, [], []),\n      /* methods */\n      []));\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var ParserError = function ParserError(message, input, errLocation, ctxLocation) {\n      _classCallCheck(this, ParserError);\n\n      this.input = input;\n      this.errLocation = errLocation;\n      this.ctxLocation = ctxLocation;\n      this.message = \"Parser Error: \".concat(message, \" \").concat(errLocation, \" [\").concat(input, \"] in \").concat(ctxLocation);\n    };\n\n    var ParseSpan = function ParseSpan(start, end) {\n      _classCallCheck(this, ParseSpan);\n\n      this.start = start;\n      this.end = end;\n    };\n\n    var AST =\n    /*#__PURE__*/\n    function () {\n      function AST(span) {\n        _classCallCheck(this, AST);\n\n        this.span = span;\n      }\n\n      _createClass2(AST, [{\n        key: \"visit\",\n        value: function visit(visitor) {\n          var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n          return null;\n        }\n      }, {\n        key: \"toString\",\n        value: function toString() {\n          return 'AST';\n        }\n      }]);\n\n      return AST;\n    }();\n    /**\n     * Represents a quoted expression of the form:\n     *\n     * quote = prefix `:` uninterpretedExpression\n     * prefix = identifier\n     * uninterpretedExpression = arbitrary string\n     *\n     * A quoted expression is meant to be pre-processed by an AST transformer that\n     * converts it into another AST that no longer contains quoted expressions.\n     * It is meant to allow third-party developers to extend Angular template\n     * expression language. The `uninterpretedExpression` part of the quote is\n     * therefore not interpreted by the Angular's own expression parser.\n     */\n\n\n    var Quote =\n    /*#__PURE__*/\n    function (_AST) {\n      _inherits(Quote, _AST);\n\n      function Quote(span, prefix, uninterpretedExpression, location) {\n        var _this230;\n\n        _classCallCheck(this, Quote);\n\n        _this230 = _possibleConstructorReturn(this, _getPrototypeOf(Quote).call(this, span));\n        _this230.prefix = prefix;\n        _this230.uninterpretedExpression = uninterpretedExpression;\n        _this230.location = location;\n        return _this230;\n      }\n\n      _createClass2(Quote, [{\n        key: \"visit\",\n        value: function visit(visitor) {\n          var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n          return visitor.visitQuote(this, context);\n        }\n      }, {\n        key: \"toString\",\n        value: function toString() {\n          return 'Quote';\n        }\n      }]);\n\n      return Quote;\n    }(AST);\n\n    var EmptyExpr =\n    /*#__PURE__*/\n    function (_AST2) {\n      _inherits(EmptyExpr, _AST2);\n\n      function EmptyExpr() {\n        _classCallCheck(this, EmptyExpr);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(EmptyExpr).apply(this, arguments));\n      }\n\n      _createClass2(EmptyExpr, [{\n        key: \"visit\",\n        value: function visit(visitor) {// do nothing\n\n          var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n        }\n      }]);\n\n      return EmptyExpr;\n    }(AST);\n\n    var ImplicitReceiver =\n    /*#__PURE__*/\n    function (_AST3) {\n      _inherits(ImplicitReceiver, _AST3);\n\n      function ImplicitReceiver() {\n        _classCallCheck(this, ImplicitReceiver);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(ImplicitReceiver).apply(this, arguments));\n      }\n\n      _createClass2(ImplicitReceiver, [{\n        key: \"visit\",\n        value: function visit(visitor) {\n          var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n          return visitor.visitImplicitReceiver(this, context);\n        }\n      }]);\n\n      return ImplicitReceiver;\n    }(AST);\n    /**\n     * Multiple expressions separated by a semicolon.\n     */\n\n\n    var Chain =\n    /*#__PURE__*/\n    function (_AST4) {\n      _inherits(Chain, _AST4);\n\n      function Chain(span, expressions) {\n        var _this231;\n\n        _classCallCheck(this, Chain);\n\n        _this231 = _possibleConstructorReturn(this, _getPrototypeOf(Chain).call(this, span));\n        _this231.expressions = expressions;\n        return _this231;\n      }\n\n      _createClass2(Chain, [{\n        key: \"visit\",\n        value: function visit(visitor) {\n          var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n          return visitor.visitChain(this, context);\n        }\n      }]);\n\n      return Chain;\n    }(AST);\n\n    var Conditional =\n    /*#__PURE__*/\n    function (_AST5) {\n      _inherits(Conditional, _AST5);\n\n      function Conditional(span, condition, trueExp, falseExp) {\n        var _this232;\n\n        _classCallCheck(this, Conditional);\n\n        _this232 = _possibleConstructorReturn(this, _getPrototypeOf(Conditional).call(this, span));\n        _this232.condition = condition;\n        _this232.trueExp = trueExp;\n        _this232.falseExp = falseExp;\n        return _this232;\n      }\n\n      _createClass2(Conditional, [{\n        key: \"visit\",\n        value: function visit(visitor) {\n          var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n          return visitor.visitConditional(this, context);\n        }\n      }]);\n\n      return Conditional;\n    }(AST);\n\n    var PropertyRead =\n    /*#__PURE__*/\n    function (_AST6) {\n      _inherits(PropertyRead, _AST6);\n\n      function PropertyRead(span, receiver, name) {\n        var _this233;\n\n        _classCallCheck(this, PropertyRead);\n\n        _this233 = _possibleConstructorReturn(this, _getPrototypeOf(PropertyRead).call(this, span));\n        _this233.receiver = receiver;\n        _this233.name = name;\n        return _this233;\n      }\n\n      _createClass2(PropertyRead, [{\n        key: \"visit\",\n        value: function visit(visitor) {\n          var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n          return visitor.visitPropertyRead(this, context);\n        }\n      }]);\n\n      return PropertyRead;\n    }(AST);\n\n    var PropertyWrite =\n    /*#__PURE__*/\n    function (_AST7) {\n      _inherits(PropertyWrite, _AST7);\n\n      function PropertyWrite(span, receiver, name, value) {\n        var _this234;\n\n        _classCallCheck(this, PropertyWrite);\n\n        _this234 = _possibleConstructorReturn(this, _getPrototypeOf(PropertyWrite).call(this, span));\n        _this234.receiver = receiver;\n        _this234.name = name;\n        _this234.value = value;\n        return _this234;\n      }\n\n      _createClass2(PropertyWrite, [{\n        key: \"visit\",\n        value: function visit(visitor) {\n          var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n          return visitor.visitPropertyWrite(this, context);\n        }\n      }]);\n\n      return PropertyWrite;\n    }(AST);\n\n    var SafePropertyRead =\n    /*#__PURE__*/\n    function (_AST8) {\n      _inherits(SafePropertyRead, _AST8);\n\n      function SafePropertyRead(span, receiver, name) {\n        var _this235;\n\n        _classCallCheck(this, SafePropertyRead);\n\n        _this235 = _possibleConstructorReturn(this, _getPrototypeOf(SafePropertyRead).call(this, span));\n        _this235.receiver = receiver;\n        _this235.name = name;\n        return _this235;\n      }\n\n      _createClass2(SafePropertyRead, [{\n        key: \"visit\",\n        value: function visit(visitor) {\n          var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n          return visitor.visitSafePropertyRead(this, context);\n        }\n      }]);\n\n      return SafePropertyRead;\n    }(AST);\n\n    var KeyedRead =\n    /*#__PURE__*/\n    function (_AST9) {\n      _inherits(KeyedRead, _AST9);\n\n      function KeyedRead(span, obj, key) {\n        var _this236;\n\n        _classCallCheck(this, KeyedRead);\n\n        _this236 = _possibleConstructorReturn(this, _getPrototypeOf(KeyedRead).call(this, span));\n        _this236.obj = obj;\n        _this236.key = key;\n        return _this236;\n      }\n\n      _createClass2(KeyedRead, [{\n        key: \"visit\",\n        value: function visit(visitor) {\n          var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n          return visitor.visitKeyedRead(this, context);\n        }\n      }]);\n\n      return KeyedRead;\n    }(AST);\n\n    var KeyedWrite =\n    /*#__PURE__*/\n    function (_AST10) {\n      _inherits(KeyedWrite, _AST10);\n\n      function KeyedWrite(span, obj, key, value) {\n        var _this237;\n\n        _classCallCheck(this, KeyedWrite);\n\n        _this237 = _possibleConstructorReturn(this, _getPrototypeOf(KeyedWrite).call(this, span));\n        _this237.obj = obj;\n        _this237.key = key;\n        _this237.value = value;\n        return _this237;\n      }\n\n      _createClass2(KeyedWrite, [{\n        key: \"visit\",\n        value: function visit(visitor) {\n          var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n          return visitor.visitKeyedWrite(this, context);\n        }\n      }]);\n\n      return KeyedWrite;\n    }(AST);\n\n    var BindingPipe =\n    /*#__PURE__*/\n    function (_AST11) {\n      _inherits(BindingPipe, _AST11);\n\n      function BindingPipe(span, exp, name, args) {\n        var _this238;\n\n        _classCallCheck(this, BindingPipe);\n\n        _this238 = _possibleConstructorReturn(this, _getPrototypeOf(BindingPipe).call(this, span));\n        _this238.exp = exp;\n        _this238.name = name;\n        _this238.args = args;\n        return _this238;\n      }\n\n      _createClass2(BindingPipe, [{\n        key: \"visit\",\n        value: function visit(visitor) {\n          var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n          return visitor.visitPipe(this, context);\n        }\n      }]);\n\n      return BindingPipe;\n    }(AST);\n\n    var LiteralPrimitive =\n    /*#__PURE__*/\n    function (_AST12) {\n      _inherits(LiteralPrimitive, _AST12);\n\n      function LiteralPrimitive(span, value) {\n        var _this239;\n\n        _classCallCheck(this, LiteralPrimitive);\n\n        _this239 = _possibleConstructorReturn(this, _getPrototypeOf(LiteralPrimitive).call(this, span));\n        _this239.value = value;\n        return _this239;\n      }\n\n      _createClass2(LiteralPrimitive, [{\n        key: \"visit\",\n        value: function visit(visitor) {\n          var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n          return visitor.visitLiteralPrimitive(this, context);\n        }\n      }]);\n\n      return LiteralPrimitive;\n    }(AST);\n\n    var LiteralArray =\n    /*#__PURE__*/\n    function (_AST13) {\n      _inherits(LiteralArray, _AST13);\n\n      function LiteralArray(span, expressions) {\n        var _this240;\n\n        _classCallCheck(this, LiteralArray);\n\n        _this240 = _possibleConstructorReturn(this, _getPrototypeOf(LiteralArray).call(this, span));\n        _this240.expressions = expressions;\n        return _this240;\n      }\n\n      _createClass2(LiteralArray, [{\n        key: \"visit\",\n        value: function visit(visitor) {\n          var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n          return visitor.visitLiteralArray(this, context);\n        }\n      }]);\n\n      return LiteralArray;\n    }(AST);\n\n    var LiteralMap =\n    /*#__PURE__*/\n    function (_AST14) {\n      _inherits(LiteralMap, _AST14);\n\n      function LiteralMap(span, keys, values) {\n        var _this241;\n\n        _classCallCheck(this, LiteralMap);\n\n        _this241 = _possibleConstructorReturn(this, _getPrototypeOf(LiteralMap).call(this, span));\n        _this241.keys = keys;\n        _this241.values = values;\n        return _this241;\n      }\n\n      _createClass2(LiteralMap, [{\n        key: \"visit\",\n        value: function visit(visitor) {\n          var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n          return visitor.visitLiteralMap(this, context);\n        }\n      }]);\n\n      return LiteralMap;\n    }(AST);\n\n    var Interpolation =\n    /*#__PURE__*/\n    function (_AST15) {\n      _inherits(Interpolation, _AST15);\n\n      function Interpolation(span, strings, expressions) {\n        var _this242;\n\n        _classCallCheck(this, Interpolation);\n\n        _this242 = _possibleConstructorReturn(this, _getPrototypeOf(Interpolation).call(this, span));\n        _this242.strings = strings;\n        _this242.expressions = expressions;\n        return _this242;\n      }\n\n      _createClass2(Interpolation, [{\n        key: \"visit\",\n        value: function visit(visitor) {\n          var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n          return visitor.visitInterpolation(this, context);\n        }\n      }]);\n\n      return Interpolation;\n    }(AST);\n\n    var Binary =\n    /*#__PURE__*/\n    function (_AST16) {\n      _inherits(Binary, _AST16);\n\n      function Binary(span, operation, left, right) {\n        var _this243;\n\n        _classCallCheck(this, Binary);\n\n        _this243 = _possibleConstructorReturn(this, _getPrototypeOf(Binary).call(this, span));\n        _this243.operation = operation;\n        _this243.left = left;\n        _this243.right = right;\n        return _this243;\n      }\n\n      _createClass2(Binary, [{\n        key: \"visit\",\n        value: function visit(visitor) {\n          var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n          return visitor.visitBinary(this, context);\n        }\n      }]);\n\n      return Binary;\n    }(AST);\n\n    var PrefixNot =\n    /*#__PURE__*/\n    function (_AST17) {\n      _inherits(PrefixNot, _AST17);\n\n      function PrefixNot(span, expression) {\n        var _this244;\n\n        _classCallCheck(this, PrefixNot);\n\n        _this244 = _possibleConstructorReturn(this, _getPrototypeOf(PrefixNot).call(this, span));\n        _this244.expression = expression;\n        return _this244;\n      }\n\n      _createClass2(PrefixNot, [{\n        key: \"visit\",\n        value: function visit(visitor) {\n          var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n          return visitor.visitPrefixNot(this, context);\n        }\n      }]);\n\n      return PrefixNot;\n    }(AST);\n\n    var NonNullAssert =\n    /*#__PURE__*/\n    function (_AST18) {\n      _inherits(NonNullAssert, _AST18);\n\n      function NonNullAssert(span, expression) {\n        var _this245;\n\n        _classCallCheck(this, NonNullAssert);\n\n        _this245 = _possibleConstructorReturn(this, _getPrototypeOf(NonNullAssert).call(this, span));\n        _this245.expression = expression;\n        return _this245;\n      }\n\n      _createClass2(NonNullAssert, [{\n        key: \"visit\",\n        value: function visit(visitor) {\n          var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n          return visitor.visitNonNullAssert(this, context);\n        }\n      }]);\n\n      return NonNullAssert;\n    }(AST);\n\n    var MethodCall =\n    /*#__PURE__*/\n    function (_AST19) {\n      _inherits(MethodCall, _AST19);\n\n      function MethodCall(span, receiver, name, args) {\n        var _this246;\n\n        _classCallCheck(this, MethodCall);\n\n        _this246 = _possibleConstructorReturn(this, _getPrototypeOf(MethodCall).call(this, span));\n        _this246.receiver = receiver;\n        _this246.name = name;\n        _this246.args = args;\n        return _this246;\n      }\n\n      _createClass2(MethodCall, [{\n        key: \"visit\",\n        value: function visit(visitor) {\n          var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n          return visitor.visitMethodCall(this, context);\n        }\n      }]);\n\n      return MethodCall;\n    }(AST);\n\n    var SafeMethodCall =\n    /*#__PURE__*/\n    function (_AST20) {\n      _inherits(SafeMethodCall, _AST20);\n\n      function SafeMethodCall(span, receiver, name, args) {\n        var _this247;\n\n        _classCallCheck(this, SafeMethodCall);\n\n        _this247 = _possibleConstructorReturn(this, _getPrototypeOf(SafeMethodCall).call(this, span));\n        _this247.receiver = receiver;\n        _this247.name = name;\n        _this247.args = args;\n        return _this247;\n      }\n\n      _createClass2(SafeMethodCall, [{\n        key: \"visit\",\n        value: function visit(visitor) {\n          var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n          return visitor.visitSafeMethodCall(this, context);\n        }\n      }]);\n\n      return SafeMethodCall;\n    }(AST);\n\n    var FunctionCall =\n    /*#__PURE__*/\n    function (_AST21) {\n      _inherits(FunctionCall, _AST21);\n\n      function FunctionCall(span, target, args) {\n        var _this248;\n\n        _classCallCheck(this, FunctionCall);\n\n        _this248 = _possibleConstructorReturn(this, _getPrototypeOf(FunctionCall).call(this, span));\n        _this248.target = target;\n        _this248.args = args;\n        return _this248;\n      }\n\n      _createClass2(FunctionCall, [{\n        key: \"visit\",\n        value: function visit(visitor) {\n          var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n          return visitor.visitFunctionCall(this, context);\n        }\n      }]);\n\n      return FunctionCall;\n    }(AST);\n    /**\n     * Records the absolute position of a text span in a source file, where `start` and `end` are the\n     * starting and ending byte offsets, respectively, of the text span in a source file.\n     */\n\n\n    var AbsoluteSourceSpan = function AbsoluteSourceSpan(start, end) {\n      _classCallCheck(this, AbsoluteSourceSpan);\n\n      this.start = start;\n      this.end = end;\n    };\n\n    var ASTWithSource =\n    /*#__PURE__*/\n    function (_AST22) {\n      _inherits(ASTWithSource, _AST22);\n\n      function ASTWithSource(ast, source, location, absoluteOffset, errors) {\n        var _this249;\n\n        _classCallCheck(this, ASTWithSource);\n\n        _this249 = _possibleConstructorReturn(this, _getPrototypeOf(ASTWithSource).call(this, new ParseSpan(0, source == null ? 0 : source.length)));\n        _this249.ast = ast;\n        _this249.source = source;\n        _this249.location = location;\n        _this249.errors = errors;\n        _this249.sourceSpan = new AbsoluteSourceSpan(absoluteOffset, absoluteOffset + _this249.span.end);\n        return _this249;\n      }\n\n      _createClass2(ASTWithSource, [{\n        key: \"visit\",\n        value: function visit(visitor) {\n          var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n\n          if (visitor.visitASTWithSource) {\n            return visitor.visitASTWithSource(this, context);\n          }\n\n          return this.ast.visit(visitor, context);\n        }\n      }, {\n        key: \"toString\",\n        value: function toString() {\n          return \"\".concat(this.source, \" in \").concat(this.location);\n        }\n      }]);\n\n      return ASTWithSource;\n    }(AST);\n\n    var TemplateBinding = function TemplateBinding(span, key, keyIsVar, name, expression) {\n      _classCallCheck(this, TemplateBinding);\n\n      this.span = span;\n      this.key = key;\n      this.keyIsVar = keyIsVar;\n      this.name = name;\n      this.expression = expression;\n    };\n\n    var NullAstVisitor =\n    /*#__PURE__*/\n    function () {\n      function NullAstVisitor() {\n        _classCallCheck(this, NullAstVisitor);\n      }\n\n      _createClass2(NullAstVisitor, [{\n        key: \"visitBinary\",\n        value: function visitBinary(ast, context) {}\n      }, {\n        key: \"visitChain\",\n        value: function visitChain(ast, context) {}\n      }, {\n        key: \"visitConditional\",\n        value: function visitConditional(ast, context) {}\n      }, {\n        key: \"visitFunctionCall\",\n        value: function visitFunctionCall(ast, context) {}\n      }, {\n        key: \"visitImplicitReceiver\",\n        value: function visitImplicitReceiver(ast, context) {}\n      }, {\n        key: \"visitInterpolation\",\n        value: function visitInterpolation(ast, context) {}\n      }, {\n        key: \"visitKeyedRead\",\n        value: function visitKeyedRead(ast, context) {}\n      }, {\n        key: \"visitKeyedWrite\",\n        value: function visitKeyedWrite(ast, context) {}\n      }, {\n        key: \"visitLiteralArray\",\n        value: function visitLiteralArray(ast, context) {}\n      }, {\n        key: \"visitLiteralMap\",\n        value: function visitLiteralMap(ast, context) {}\n      }, {\n        key: \"visitLiteralPrimitive\",\n        value: function visitLiteralPrimitive(ast, context) {}\n      }, {\n        key: \"visitMethodCall\",\n        value: function visitMethodCall(ast, context) {}\n      }, {\n        key: \"visitPipe\",\n        value: function visitPipe(ast, context) {}\n      }, {\n        key: \"visitPrefixNot\",\n        value: function visitPrefixNot(ast, context) {}\n      }, {\n        key: \"visitNonNullAssert\",\n        value: function visitNonNullAssert(ast, context) {}\n      }, {\n        key: \"visitPropertyRead\",\n        value: function visitPropertyRead(ast, context) {}\n      }, {\n        key: \"visitPropertyWrite\",\n        value: function visitPropertyWrite(ast, context) {}\n      }, {\n        key: \"visitQuote\",\n        value: function visitQuote(ast, context) {}\n      }, {\n        key: \"visitSafeMethodCall\",\n        value: function visitSafeMethodCall(ast, context) {}\n      }, {\n        key: \"visitSafePropertyRead\",\n        value: function visitSafePropertyRead(ast, context) {}\n      }]);\n\n      return NullAstVisitor;\n    }();\n\n    var RecursiveAstVisitor$1 =\n    /*#__PURE__*/\n    function () {\n      function RecursiveAstVisitor$1() {\n        _classCallCheck(this, RecursiveAstVisitor$1);\n      }\n\n      _createClass2(RecursiveAstVisitor$1, [{\n        key: \"visitBinary\",\n        value: function visitBinary(ast, context) {\n          ast.left.visit(this, context);\n          ast.right.visit(this, context);\n          return null;\n        }\n      }, {\n        key: \"visitChain\",\n        value: function visitChain(ast, context) {\n          return this.visitAll(ast.expressions, context);\n        }\n      }, {\n        key: \"visitConditional\",\n        value: function visitConditional(ast, context) {\n          ast.condition.visit(this, context);\n          ast.trueExp.visit(this, context);\n          ast.falseExp.visit(this, context);\n          return null;\n        }\n      }, {\n        key: \"visitPipe\",\n        value: function visitPipe(ast, context) {\n          ast.exp.visit(this, context);\n          this.visitAll(ast.args, context);\n          return null;\n        }\n      }, {\n        key: \"visitFunctionCall\",\n        value: function visitFunctionCall(ast, context) {\n          ast.target.visit(this, context);\n          this.visitAll(ast.args, context);\n          return null;\n        }\n      }, {\n        key: \"visitImplicitReceiver\",\n        value: function visitImplicitReceiver(ast, context) {\n          return null;\n        }\n      }, {\n        key: \"visitInterpolation\",\n        value: function visitInterpolation(ast, context) {\n          return this.visitAll(ast.expressions, context);\n        }\n      }, {\n        key: \"visitKeyedRead\",\n        value: function visitKeyedRead(ast, context) {\n          ast.obj.visit(this, context);\n          ast.key.visit(this, context);\n          return null;\n        }\n      }, {\n        key: \"visitKeyedWrite\",\n        value: function visitKeyedWrite(ast, context) {\n          ast.obj.visit(this, context);\n          ast.key.visit(this, context);\n          ast.value.visit(this, context);\n          return null;\n        }\n      }, {\n        key: \"visitLiteralArray\",\n        value: function visitLiteralArray(ast, context) {\n          return this.visitAll(ast.expressions, context);\n        }\n      }, {\n        key: \"visitLiteralMap\",\n        value: function visitLiteralMap(ast, context) {\n          return this.visitAll(ast.values, context);\n        }\n      }, {\n        key: \"visitLiteralPrimitive\",\n        value: function visitLiteralPrimitive(ast, context) {\n          return null;\n        }\n      }, {\n        key: \"visitMethodCall\",\n        value: function visitMethodCall(ast, context) {\n          ast.receiver.visit(this, context);\n          return this.visitAll(ast.args, context);\n        }\n      }, {\n        key: \"visitPrefixNot\",\n        value: function visitPrefixNot(ast, context) {\n          ast.expression.visit(this, context);\n          return null;\n        }\n      }, {\n        key: \"visitNonNullAssert\",\n        value: function visitNonNullAssert(ast, context) {\n          ast.expression.visit(this, context);\n          return null;\n        }\n      }, {\n        key: \"visitPropertyRead\",\n        value: function visitPropertyRead(ast, context) {\n          ast.receiver.visit(this, context);\n          return null;\n        }\n      }, {\n        key: \"visitPropertyWrite\",\n        value: function visitPropertyWrite(ast, context) {\n          ast.receiver.visit(this, context);\n          ast.value.visit(this, context);\n          return null;\n        }\n      }, {\n        key: \"visitSafePropertyRead\",\n        value: function visitSafePropertyRead(ast, context) {\n          ast.receiver.visit(this, context);\n          return null;\n        }\n      }, {\n        key: \"visitSafeMethodCall\",\n        value: function visitSafeMethodCall(ast, context) {\n          ast.receiver.visit(this, context);\n          return this.visitAll(ast.args, context);\n        }\n      }, {\n        key: \"visitAll\",\n        value: function visitAll(asts, context) {\n          var _this250 = this;\n\n          asts.forEach(function (ast) {\n            return ast.visit(_this250, context);\n          });\n          return null;\n        }\n      }, {\n        key: \"visitQuote\",\n        value: function visitQuote(ast, context) {\n          return null;\n        }\n      }]);\n\n      return RecursiveAstVisitor$1;\n    }();\n\n    var AstTransformer$1 =\n    /*#__PURE__*/\n    function () {\n      function AstTransformer$1() {\n        _classCallCheck(this, AstTransformer$1);\n      }\n\n      _createClass2(AstTransformer$1, [{\n        key: \"visitImplicitReceiver\",\n        value: function visitImplicitReceiver(ast, context) {\n          return ast;\n        }\n      }, {\n        key: \"visitInterpolation\",\n        value: function visitInterpolation(ast, context) {\n          return new Interpolation(ast.span, ast.strings, this.visitAll(ast.expressions));\n        }\n      }, {\n        key: \"visitLiteralPrimitive\",\n        value: function visitLiteralPrimitive(ast, context) {\n          return new LiteralPrimitive(ast.span, ast.value);\n        }\n      }, {\n        key: \"visitPropertyRead\",\n        value: function visitPropertyRead(ast, context) {\n          return new PropertyRead(ast.span, ast.receiver.visit(this), ast.name);\n        }\n      }, {\n        key: \"visitPropertyWrite\",\n        value: function visitPropertyWrite(ast, context) {\n          return new PropertyWrite(ast.span, ast.receiver.visit(this), ast.name, ast.value.visit(this));\n        }\n      }, {\n        key: \"visitSafePropertyRead\",\n        value: function visitSafePropertyRead(ast, context) {\n          return new SafePropertyRead(ast.span, ast.receiver.visit(this), ast.name);\n        }\n      }, {\n        key: \"visitMethodCall\",\n        value: function visitMethodCall(ast, context) {\n          return new MethodCall(ast.span, ast.receiver.visit(this), ast.name, this.visitAll(ast.args));\n        }\n      }, {\n        key: \"visitSafeMethodCall\",\n        value: function visitSafeMethodCall(ast, context) {\n          return new SafeMethodCall(ast.span, ast.receiver.visit(this), ast.name, this.visitAll(ast.args));\n        }\n      }, {\n        key: \"visitFunctionCall\",\n        value: function visitFunctionCall(ast, context) {\n          return new FunctionCall(ast.span, ast.target.visit(this), this.visitAll(ast.args));\n        }\n      }, {\n        key: \"visitLiteralArray\",\n        value: function visitLiteralArray(ast, context) {\n          return new LiteralArray(ast.span, this.visitAll(ast.expressions));\n        }\n      }, {\n        key: \"visitLiteralMap\",\n        value: function visitLiteralMap(ast, context) {\n          return new LiteralMap(ast.span, ast.keys, this.visitAll(ast.values));\n        }\n      }, {\n        key: \"visitBinary\",\n        value: function visitBinary(ast, context) {\n          return new Binary(ast.span, ast.operation, ast.left.visit(this), ast.right.visit(this));\n        }\n      }, {\n        key: \"visitPrefixNot\",\n        value: function visitPrefixNot(ast, context) {\n          return new PrefixNot(ast.span, ast.expression.visit(this));\n        }\n      }, {\n        key: \"visitNonNullAssert\",\n        value: function visitNonNullAssert(ast, context) {\n          return new NonNullAssert(ast.span, ast.expression.visit(this));\n        }\n      }, {\n        key: \"visitConditional\",\n        value: function visitConditional(ast, context) {\n          return new Conditional(ast.span, ast.condition.visit(this), ast.trueExp.visit(this), ast.falseExp.visit(this));\n        }\n      }, {\n        key: \"visitPipe\",\n        value: function visitPipe(ast, context) {\n          return new BindingPipe(ast.span, ast.exp.visit(this), ast.name, this.visitAll(ast.args));\n        }\n      }, {\n        key: \"visitKeyedRead\",\n        value: function visitKeyedRead(ast, context) {\n          return new KeyedRead(ast.span, ast.obj.visit(this), ast.key.visit(this));\n        }\n      }, {\n        key: \"visitKeyedWrite\",\n        value: function visitKeyedWrite(ast, context) {\n          return new KeyedWrite(ast.span, ast.obj.visit(this), ast.key.visit(this), ast.value.visit(this));\n        }\n      }, {\n        key: \"visitAll\",\n        value: function visitAll(asts) {\n          var res = new Array(asts.length);\n\n          for (var i = 0; i < asts.length; ++i) {\n            res[i] = asts[i].visit(this);\n          }\n\n          return res;\n        }\n      }, {\n        key: \"visitChain\",\n        value: function visitChain(ast, context) {\n          return new Chain(ast.span, this.visitAll(ast.expressions));\n        }\n      }, {\n        key: \"visitQuote\",\n        value: function visitQuote(ast, context) {\n          return new Quote(ast.span, ast.prefix, ast.uninterpretedExpression, ast.location);\n        }\n      }]);\n\n      return AstTransformer$1;\n    }(); // A transformer that only creates new nodes if the transformer makes a change or\n    // a change is made a child node.\n\n\n    var AstMemoryEfficientTransformer =\n    /*#__PURE__*/\n    function () {\n      function AstMemoryEfficientTransformer() {\n        _classCallCheck(this, AstMemoryEfficientTransformer);\n      }\n\n      _createClass2(AstMemoryEfficientTransformer, [{\n        key: \"visitImplicitReceiver\",\n        value: function visitImplicitReceiver(ast, context) {\n          return ast;\n        }\n      }, {\n        key: \"visitInterpolation\",\n        value: function visitInterpolation(ast, context) {\n          var expressions = this.visitAll(ast.expressions);\n          if (expressions !== ast.expressions) return new Interpolation(ast.span, ast.strings, expressions);\n          return ast;\n        }\n      }, {\n        key: \"visitLiteralPrimitive\",\n        value: function visitLiteralPrimitive(ast, context) {\n          return ast;\n        }\n      }, {\n        key: \"visitPropertyRead\",\n        value: function visitPropertyRead(ast, context) {\n          var receiver = ast.receiver.visit(this);\n\n          if (receiver !== ast.receiver) {\n            return new PropertyRead(ast.span, receiver, ast.name);\n          }\n\n          return ast;\n        }\n      }, {\n        key: \"visitPropertyWrite\",\n        value: function visitPropertyWrite(ast, context) {\n          var receiver = ast.receiver.visit(this);\n          var value = ast.value.visit(this);\n\n          if (receiver !== ast.receiver || value !== ast.value) {\n            return new PropertyWrite(ast.span, receiver, ast.name, value);\n          }\n\n          return ast;\n        }\n      }, {\n        key: \"visitSafePropertyRead\",\n        value: function visitSafePropertyRead(ast, context) {\n          var receiver = ast.receiver.visit(this);\n\n          if (receiver !== ast.receiver) {\n            return new SafePropertyRead(ast.span, receiver, ast.name);\n          }\n\n          return ast;\n        }\n      }, {\n        key: \"visitMethodCall\",\n        value: function visitMethodCall(ast, context) {\n          var receiver = ast.receiver.visit(this);\n          var args = this.visitAll(ast.args);\n\n          if (receiver !== ast.receiver || args !== ast.args) {\n            return new MethodCall(ast.span, receiver, ast.name, args);\n          }\n\n          return ast;\n        }\n      }, {\n        key: \"visitSafeMethodCall\",\n        value: function visitSafeMethodCall(ast, context) {\n          var receiver = ast.receiver.visit(this);\n          var args = this.visitAll(ast.args);\n\n          if (receiver !== ast.receiver || args !== ast.args) {\n            return new SafeMethodCall(ast.span, receiver, ast.name, args);\n          }\n\n          return ast;\n        }\n      }, {\n        key: \"visitFunctionCall\",\n        value: function visitFunctionCall(ast, context) {\n          var target = ast.target && ast.target.visit(this);\n          var args = this.visitAll(ast.args);\n\n          if (target !== ast.target || args !== ast.args) {\n            return new FunctionCall(ast.span, target, args);\n          }\n\n          return ast;\n        }\n      }, {\n        key: \"visitLiteralArray\",\n        value: function visitLiteralArray(ast, context) {\n          var expressions = this.visitAll(ast.expressions);\n\n          if (expressions !== ast.expressions) {\n            return new LiteralArray(ast.span, expressions);\n          }\n\n          return ast;\n        }\n      }, {\n        key: \"visitLiteralMap\",\n        value: function visitLiteralMap(ast, context) {\n          var values = this.visitAll(ast.values);\n\n          if (values !== ast.values) {\n            return new LiteralMap(ast.span, ast.keys, values);\n          }\n\n          return ast;\n        }\n      }, {\n        key: \"visitBinary\",\n        value: function visitBinary(ast, context) {\n          var left = ast.left.visit(this);\n          var right = ast.right.visit(this);\n\n          if (left !== ast.left || right !== ast.right) {\n            return new Binary(ast.span, ast.operation, left, right);\n          }\n\n          return ast;\n        }\n      }, {\n        key: \"visitPrefixNot\",\n        value: function visitPrefixNot(ast, context) {\n          var expression = ast.expression.visit(this);\n\n          if (expression !== ast.expression) {\n            return new PrefixNot(ast.span, expression);\n          }\n\n          return ast;\n        }\n      }, {\n        key: \"visitNonNullAssert\",\n        value: function visitNonNullAssert(ast, context) {\n          var expression = ast.expression.visit(this);\n\n          if (expression !== ast.expression) {\n            return new NonNullAssert(ast.span, expression);\n          }\n\n          return ast;\n        }\n      }, {\n        key: \"visitConditional\",\n        value: function visitConditional(ast, context) {\n          var condition = ast.condition.visit(this);\n          var trueExp = ast.trueExp.visit(this);\n          var falseExp = ast.falseExp.visit(this);\n\n          if (condition !== ast.condition || trueExp !== ast.trueExp || falseExp !== ast.falseExp) {\n            return new Conditional(ast.span, condition, trueExp, falseExp);\n          }\n\n          return ast;\n        }\n      }, {\n        key: \"visitPipe\",\n        value: function visitPipe(ast, context) {\n          var exp = ast.exp.visit(this);\n          var args = this.visitAll(ast.args);\n\n          if (exp !== ast.exp || args !== ast.args) {\n            return new BindingPipe(ast.span, exp, ast.name, args);\n          }\n\n          return ast;\n        }\n      }, {\n        key: \"visitKeyedRead\",\n        value: function visitKeyedRead(ast, context) {\n          var obj = ast.obj.visit(this);\n          var key = ast.key.visit(this);\n\n          if (obj !== ast.obj || key !== ast.key) {\n            return new KeyedRead(ast.span, obj, key);\n          }\n\n          return ast;\n        }\n      }, {\n        key: \"visitKeyedWrite\",\n        value: function visitKeyedWrite(ast, context) {\n          var obj = ast.obj.visit(this);\n          var key = ast.key.visit(this);\n          var value = ast.value.visit(this);\n\n          if (obj !== ast.obj || key !== ast.key || value !== ast.value) {\n            return new KeyedWrite(ast.span, obj, key, value);\n          }\n\n          return ast;\n        }\n      }, {\n        key: \"visitAll\",\n        value: function visitAll(asts) {\n          var res = new Array(asts.length);\n          var modified = false;\n\n          for (var i = 0; i < asts.length; ++i) {\n            var original = asts[i];\n            var value = original.visit(this);\n            res[i] = value;\n            modified = modified || value !== original;\n          }\n\n          return modified ? res : asts;\n        }\n      }, {\n        key: \"visitChain\",\n        value: function visitChain(ast, context) {\n          var expressions = this.visitAll(ast.expressions);\n\n          if (expressions !== ast.expressions) {\n            return new Chain(ast.span, expressions);\n          }\n\n          return ast;\n        }\n      }, {\n        key: \"visitQuote\",\n        value: function visitQuote(ast, context) {\n          return ast;\n        }\n      }]);\n\n      return AstMemoryEfficientTransformer;\n    }();\n\n    function visitAstChildren(ast, visitor, context) {\n      function visit(ast) {\n        visitor.visit && visitor.visit(ast, context) || ast.visit(visitor, context);\n      }\n\n      function visitAll(asts) {\n        asts.forEach(visit);\n      }\n\n      ast.visit({\n        visitBinary: function visitBinary(ast) {\n          visit(ast.left);\n          visit(ast.right);\n        },\n        visitChain: function visitChain(ast) {\n          visitAll(ast.expressions);\n        },\n        visitConditional: function visitConditional(ast) {\n          visit(ast.condition);\n          visit(ast.trueExp);\n          visit(ast.falseExp);\n        },\n        visitFunctionCall: function visitFunctionCall(ast) {\n          if (ast.target) {\n            visit(ast.target);\n          }\n\n          visitAll(ast.args);\n        },\n        visitImplicitReceiver: function visitImplicitReceiver(ast) {},\n        visitInterpolation: function visitInterpolation(ast) {\n          visitAll(ast.expressions);\n        },\n        visitKeyedRead: function visitKeyedRead(ast) {\n          visit(ast.obj);\n          visit(ast.key);\n        },\n        visitKeyedWrite: function visitKeyedWrite(ast) {\n          visit(ast.obj);\n          visit(ast.key);\n          visit(ast.obj);\n        },\n        visitLiteralArray: function visitLiteralArray(ast) {\n          visitAll(ast.expressions);\n        },\n        visitLiteralMap: function visitLiteralMap(ast) {},\n        visitLiteralPrimitive: function visitLiteralPrimitive(ast) {},\n        visitMethodCall: function visitMethodCall(ast) {\n          visit(ast.receiver);\n          visitAll(ast.args);\n        },\n        visitPipe: function visitPipe(ast) {\n          visit(ast.exp);\n          visitAll(ast.args);\n        },\n        visitPrefixNot: function visitPrefixNot(ast) {\n          visit(ast.expression);\n        },\n        visitNonNullAssert: function visitNonNullAssert(ast) {\n          visit(ast.expression);\n        },\n        visitPropertyRead: function visitPropertyRead(ast) {\n          visit(ast.receiver);\n        },\n        visitPropertyWrite: function visitPropertyWrite(ast) {\n          visit(ast.receiver);\n          visit(ast.value);\n        },\n        visitQuote: function visitQuote(ast) {},\n        visitSafeMethodCall: function visitSafeMethodCall(ast) {\n          visit(ast.receiver);\n          visitAll(ast.args);\n        },\n        visitSafePropertyRead: function visitSafePropertyRead(ast) {\n          visit(ast.receiver);\n        }\n      });\n    } // Bindings\n\n\n    var ParsedProperty = function ParsedProperty(name, expression, type, sourceSpan, valueSpan) {\n      _classCallCheck(this, ParsedProperty);\n\n      this.name = name;\n      this.expression = expression;\n      this.type = type;\n      this.sourceSpan = sourceSpan;\n      this.valueSpan = valueSpan;\n      this.isLiteral = this.type === ParsedPropertyType.LITERAL_ATTR;\n      this.isAnimation = this.type === ParsedPropertyType.ANIMATION;\n    };\n\n    var ParsedPropertyType;\n\n    (function (ParsedPropertyType) {\n      ParsedPropertyType[ParsedPropertyType[\"DEFAULT\"] = 0] = \"DEFAULT\";\n      ParsedPropertyType[ParsedPropertyType[\"LITERAL_ATTR\"] = 1] = \"LITERAL_ATTR\";\n      ParsedPropertyType[ParsedPropertyType[\"ANIMATION\"] = 2] = \"ANIMATION\";\n    })(ParsedPropertyType || (ParsedPropertyType = {}));\n\n    var ParsedEvent = // Regular events have a target\n    // Animation events have a phase\n    function ParsedEvent(name, targetOrPhase, type, handler, sourceSpan, handlerSpan) {\n      _classCallCheck(this, ParsedEvent);\n\n      this.name = name;\n      this.targetOrPhase = targetOrPhase;\n      this.type = type;\n      this.handler = handler;\n      this.sourceSpan = sourceSpan;\n      this.handlerSpan = handlerSpan;\n    };\n\n    var ParsedVariable = function ParsedVariable(name, value, sourceSpan) {\n      _classCallCheck(this, ParsedVariable);\n\n      this.name = name;\n      this.value = value;\n      this.sourceSpan = sourceSpan;\n    };\n\n    var BoundElementProperty = function BoundElementProperty(name, type, securityContext, value, unit, sourceSpan, valueSpan) {\n      _classCallCheck(this, BoundElementProperty);\n\n      this.name = name;\n      this.type = type;\n      this.securityContext = securityContext;\n      this.value = value;\n      this.unit = unit;\n      this.sourceSpan = sourceSpan;\n      this.valueSpan = valueSpan;\n    };\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var EventHandlerVars = function EventHandlerVars() {\n      _classCallCheck(this, EventHandlerVars);\n    };\n\n    EventHandlerVars.event = variable('$event');\n\n    var ConvertActionBindingResult = function ConvertActionBindingResult(\n    /**\n     * Render2 compatible statements,\n     */\n    stmts,\n    /**\n     * Variable name used with render2 compatible statements.\n     */\n    allowDefault) {\n      _classCallCheck(this, ConvertActionBindingResult);\n\n      this.stmts = stmts;\n      this.allowDefault = allowDefault;\n      /**\n       * This is bit of a hack. It converts statements which render2 expects to statements which are\n       * expected by render3.\n       *\n       * Example: `<div click=\"doSomething($event)\">` will generate:\n       *\n       * Render3:\n       * ```\n       * const pd_b:any = ((<any>ctx.doSomething($event)) !== false);\n       * return pd_b;\n       * ```\n       *\n       * but render2 expects:\n       * ```\n       * return ctx.doSomething($event);\n       * ```\n       */\n      // TODO(misko): remove this hack once we no longer support ViewEngine.\n\n      this.render3Stmts = stmts.map(function (statement) {\n        if (statement instanceof DeclareVarStmt && statement.name == allowDefault.name && statement.value instanceof BinaryOperatorExpr) {\n          var lhs = statement.value.lhs;\n          return new ReturnStatement(lhs.value);\n        }\n\n        return statement;\n      });\n    };\n    /**\n     * Converts the given expression AST into an executable output AST, assuming the expression is\n     * used in an action binding (e.g. an event handler).\n     */\n\n\n    function convertActionBinding(localResolver, implicitReceiver, action, bindingId, interpolationFunction, baseSourceSpan) {\n      if (!localResolver) {\n        localResolver = new DefaultLocalResolver();\n      }\n\n      var actionWithoutBuiltins = convertPropertyBindingBuiltins({\n        createLiteralArrayConverter: function createLiteralArrayConverter(argCount) {\n          // Note: no caching for literal arrays in actions.\n          return function (args) {\n            return literalArr(args);\n          };\n        },\n        createLiteralMapConverter: function createLiteralMapConverter(keys) {\n          // Note: no caching for literal maps in actions.\n          return function (values) {\n            var entries = keys.map(function (k, i) {\n              return {\n                key: k.key,\n                value: values[i],\n                quoted: k.quoted\n              };\n            });\n            return literalMap(entries);\n          };\n        },\n        createPipeConverter: function createPipeConverter(name) {\n          throw new Error(\"Illegal State: Actions are not allowed to contain pipes. Pipe: \".concat(name));\n        }\n      }, action);\n      var visitor = new _AstToIrVisitor(localResolver, implicitReceiver, bindingId, interpolationFunction, baseSourceSpan);\n      var actionStmts = [];\n      flattenStatements(actionWithoutBuiltins.visit(visitor, _Mode.Statement), actionStmts);\n      prependTemporaryDecls(visitor.temporaryCount, bindingId, actionStmts);\n\n      if (visitor.usesImplicitReceiver) {\n        localResolver.notifyImplicitReceiverUse();\n      }\n\n      var lastIndex = actionStmts.length - 1;\n      var preventDefaultVar = null;\n\n      if (lastIndex >= 0) {\n        var lastStatement = actionStmts[lastIndex];\n        var returnExpr = convertStmtIntoExpression(lastStatement);\n\n        if (returnExpr) {\n          // Note: We need to cast the result of the method call to dynamic,\n          // as it might be a void method!\n          preventDefaultVar = createPreventDefaultVar(bindingId);\n          actionStmts[lastIndex] = preventDefaultVar.set(returnExpr.cast(DYNAMIC_TYPE).notIdentical(literal(false))).toDeclStmt(null, [StmtModifier.Final]);\n        }\n      }\n\n      return new ConvertActionBindingResult(actionStmts, preventDefaultVar);\n    }\n\n    function convertPropertyBindingBuiltins(converterFactory, ast) {\n      return convertBuiltins(converterFactory, ast);\n    }\n\n    var ConvertPropertyBindingResult = function ConvertPropertyBindingResult(stmts, currValExpr) {\n      _classCallCheck(this, ConvertPropertyBindingResult);\n\n      this.stmts = stmts;\n      this.currValExpr = currValExpr;\n    };\n\n    var BindingForm;\n\n    (function (BindingForm) {\n      // The general form of binding expression, supports all expressions.\n      BindingForm[BindingForm[\"General\"] = 0] = \"General\"; // Try to generate a simple binding (no temporaries or statements)\n      // otherwise generate a general binding\n\n      BindingForm[BindingForm[\"TrySimple\"] = 1] = \"TrySimple\";\n    })(BindingForm || (BindingForm = {}));\n    /**\n     * Converts the given expression AST into an executable output AST, assuming the expression\n     * is used in property binding. The expression has to be preprocessed via\n     * `convertPropertyBindingBuiltins`.\n     */\n\n\n    function _convertPropertyBinding(localResolver, implicitReceiver, expressionWithoutBuiltins, bindingId, form, interpolationFunction) {\n      if (!localResolver) {\n        localResolver = new DefaultLocalResolver();\n      }\n\n      var currValExpr = createCurrValueExpr(bindingId);\n      var visitor = new _AstToIrVisitor(localResolver, implicitReceiver, bindingId, interpolationFunction);\n      var outputExpr = expressionWithoutBuiltins.visit(visitor, _Mode.Expression);\n      var stmts = getStatementsFromVisitor(visitor, bindingId);\n\n      if (visitor.usesImplicitReceiver) {\n        localResolver.notifyImplicitReceiverUse();\n      }\n\n      if (visitor.temporaryCount === 0 && form == BindingForm.TrySimple) {\n        return new ConvertPropertyBindingResult([], outputExpr);\n      }\n\n      stmts.push(currValExpr.set(outputExpr).toDeclStmt(DYNAMIC_TYPE, [StmtModifier.Final]));\n      return new ConvertPropertyBindingResult(stmts, currValExpr);\n    }\n    /**\n     * Given some expression, such as a binding or interpolation expression, and a context expression to\n     * look values up on, visit each facet of the given expression resolving values from the context\n     * expression such that a list of arguments can be derived from the found values that can be used as\n     * arguments to an external update instruction.\n     *\n     * @param localResolver The resolver to use to look up expressions by name appropriately\n     * @param contextVariableExpression The expression representing the context variable used to create\n     * the final argument expressions\n     * @param expressionWithArgumentsToExtract The expression to visit to figure out what values need to\n     * be resolved and what arguments list to build.\n     * @param bindingId A name prefix used to create temporary variable names if they're needed for the\n     * arguments generated\n     * @returns An array of expressions that can be passed as arguments to instruction expressions like\n     * `o.importExpr(R3.propertyInterpolate).callFn(result)`\n     */\n\n\n    function convertUpdateArguments(localResolver, contextVariableExpression, expressionWithArgumentsToExtract, bindingId) {\n      var visitor = new _AstToIrVisitor(localResolver, contextVariableExpression, bindingId, undefined);\n      var outputExpr = expressionWithArgumentsToExtract.visit(visitor, _Mode.Expression);\n\n      if (visitor.usesImplicitReceiver) {\n        localResolver.notifyImplicitReceiverUse();\n      }\n\n      var stmts = getStatementsFromVisitor(visitor, bindingId); // Removing the first argument, because it was a length for ViewEngine, not Ivy.\n\n      var args = outputExpr.args.slice(1);\n\n      if (expressionWithArgumentsToExtract instanceof Interpolation) {\n        // If we're dealing with an interpolation of 1 value with an empty prefix and suffix, reduce the\n        // args returned to just the value, because we're going to pass it to a special instruction.\n        var strings = expressionWithArgumentsToExtract.strings;\n\n        if (args.length === 3 && strings[0] === '' && strings[1] === '') {\n          // Single argument interpolate instructions.\n          args = [args[1]];\n        } else if (args.length >= 19) {\n          // 19 or more arguments must be passed to the `interpolateV`-style instructions, which accept\n          // an array of arguments\n          args = [literalArr(args)];\n        }\n      }\n\n      return {\n        stmts: stmts,\n        args: args\n      };\n    }\n\n    function getStatementsFromVisitor(visitor, bindingId) {\n      var stmts = [];\n\n      for (var i = 0; i < visitor.temporaryCount; i++) {\n        stmts.push(temporaryDeclaration(bindingId, i));\n      }\n\n      return stmts;\n    }\n\n    function convertBuiltins(converterFactory, ast) {\n      var visitor = new _BuiltinAstConverter(converterFactory);\n      return ast.visit(visitor);\n    }\n\n    function temporaryName(bindingId, temporaryNumber) {\n      return \"tmp_\".concat(bindingId, \"_\").concat(temporaryNumber);\n    }\n\n    function temporaryDeclaration(bindingId, temporaryNumber) {\n      return new DeclareVarStmt(temporaryName(bindingId, temporaryNumber), NULL_EXPR);\n    }\n\n    function prependTemporaryDecls(temporaryCount, bindingId, statements) {\n      for (var i = temporaryCount - 1; i >= 0; i--) {\n        statements.unshift(temporaryDeclaration(bindingId, i));\n      }\n    }\n\n    var _Mode;\n\n    (function (_Mode) {\n      _Mode[_Mode[\"Statement\"] = 0] = \"Statement\";\n      _Mode[_Mode[\"Expression\"] = 1] = \"Expression\";\n    })(_Mode || (_Mode = {}));\n\n    function ensureStatementMode(mode, ast) {\n      if (mode !== _Mode.Statement) {\n        throw new Error(\"Expected a statement, but saw \".concat(ast));\n      }\n    }\n\n    function ensureExpressionMode(mode, ast) {\n      if (mode !== _Mode.Expression) {\n        throw new Error(\"Expected an expression, but saw \".concat(ast));\n      }\n    }\n\n    function convertToStatementIfNeeded(mode, expr) {\n      if (mode === _Mode.Statement) {\n        return expr.toStmt();\n      } else {\n        return expr;\n      }\n    }\n\n    var _BuiltinAstConverter =\n    /*#__PURE__*/\n    function (_AstTransformer$) {\n      _inherits(_BuiltinAstConverter, _AstTransformer$);\n\n      function _BuiltinAstConverter(_converterFactory) {\n        var _this251;\n\n        _classCallCheck(this, _BuiltinAstConverter);\n\n        _this251 = _possibleConstructorReturn(this, _getPrototypeOf(_BuiltinAstConverter).call(this));\n        _this251._converterFactory = _converterFactory;\n        return _this251;\n      }\n\n      _createClass2(_BuiltinAstConverter, [{\n        key: \"visitPipe\",\n        value: function visitPipe(ast, context) {\n          var _this252 = this;\n\n          var args = [ast.exp].concat(_toConsumableArray(ast.args)).map(function (ast) {\n            return ast.visit(_this252, context);\n          });\n          return new BuiltinFunctionCall(ast.span, args, this._converterFactory.createPipeConverter(ast.name, args.length));\n        }\n      }, {\n        key: \"visitLiteralArray\",\n        value: function visitLiteralArray(ast, context) {\n          var _this253 = this;\n\n          var args = ast.expressions.map(function (ast) {\n            return ast.visit(_this253, context);\n          });\n          return new BuiltinFunctionCall(ast.span, args, this._converterFactory.createLiteralArrayConverter(ast.expressions.length));\n        }\n      }, {\n        key: \"visitLiteralMap\",\n        value: function visitLiteralMap(ast, context) {\n          var _this254 = this;\n\n          var args = ast.values.map(function (ast) {\n            return ast.visit(_this254, context);\n          });\n          return new BuiltinFunctionCall(ast.span, args, this._converterFactory.createLiteralMapConverter(ast.keys));\n        }\n      }]);\n\n      return _BuiltinAstConverter;\n    }(AstTransformer$1);\n\n    var _AstToIrVisitor =\n    /*#__PURE__*/\n    function () {\n      function _AstToIrVisitor(_localResolver, _implicitReceiver, bindingId, interpolationFunction, baseSourceSpan) {\n        _classCallCheck(this, _AstToIrVisitor);\n\n        this._localResolver = _localResolver;\n        this._implicitReceiver = _implicitReceiver;\n        this.bindingId = bindingId;\n        this.interpolationFunction = interpolationFunction;\n        this.baseSourceSpan = baseSourceSpan;\n        this._nodeMap = new Map();\n        this._resultMap = new Map();\n        this._currentTemporary = 0;\n        this.temporaryCount = 0;\n        this.usesImplicitReceiver = false;\n      }\n\n      _createClass2(_AstToIrVisitor, [{\n        key: \"visitBinary\",\n        value: function visitBinary(ast, mode) {\n          var op;\n\n          switch (ast.operation) {\n            case '+':\n              op = BinaryOperator.Plus;\n              break;\n\n            case '-':\n              op = BinaryOperator.Minus;\n              break;\n\n            case '*':\n              op = BinaryOperator.Multiply;\n              break;\n\n            case '/':\n              op = BinaryOperator.Divide;\n              break;\n\n            case '%':\n              op = BinaryOperator.Modulo;\n              break;\n\n            case '&&':\n              op = BinaryOperator.And;\n              break;\n\n            case '||':\n              op = BinaryOperator.Or;\n              break;\n\n            case '==':\n              op = BinaryOperator.Equals;\n              break;\n\n            case '!=':\n              op = BinaryOperator.NotEquals;\n              break;\n\n            case '===':\n              op = BinaryOperator.Identical;\n              break;\n\n            case '!==':\n              op = BinaryOperator.NotIdentical;\n              break;\n\n            case '<':\n              op = BinaryOperator.Lower;\n              break;\n\n            case '>':\n              op = BinaryOperator.Bigger;\n              break;\n\n            case '<=':\n              op = BinaryOperator.LowerEquals;\n              break;\n\n            case '>=':\n              op = BinaryOperator.BiggerEquals;\n              break;\n\n            default:\n              throw new Error(\"Unsupported operation \".concat(ast.operation));\n          }\n\n          return convertToStatementIfNeeded(mode, new BinaryOperatorExpr(op, this._visit(ast.left, _Mode.Expression), this._visit(ast.right, _Mode.Expression), undefined, this.convertSourceSpan(ast.span)));\n        }\n      }, {\n        key: \"visitChain\",\n        value: function visitChain(ast, mode) {\n          ensureStatementMode(mode, ast);\n          return this.visitAll(ast.expressions, mode);\n        }\n      }, {\n        key: \"visitConditional\",\n        value: function visitConditional(ast, mode) {\n          var value = this._visit(ast.condition, _Mode.Expression);\n\n          return convertToStatementIfNeeded(mode, value.conditional(this._visit(ast.trueExp, _Mode.Expression), this._visit(ast.falseExp, _Mode.Expression), this.convertSourceSpan(ast.span)));\n        }\n      }, {\n        key: \"visitPipe\",\n        value: function visitPipe(ast, mode) {\n          throw new Error(\"Illegal state: Pipes should have been converted into functions. Pipe: \".concat(ast.name));\n        }\n      }, {\n        key: \"visitFunctionCall\",\n        value: function visitFunctionCall(ast, mode) {\n          var convertedArgs = this.visitAll(ast.args, _Mode.Expression);\n          var fnResult;\n\n          if (ast instanceof BuiltinFunctionCall) {\n            fnResult = ast.converter(convertedArgs);\n          } else {\n            fnResult = this._visit(ast.target, _Mode.Expression).callFn(convertedArgs, this.convertSourceSpan(ast.span));\n          }\n\n          return convertToStatementIfNeeded(mode, fnResult);\n        }\n      }, {\n        key: \"visitImplicitReceiver\",\n        value: function visitImplicitReceiver(ast, mode) {\n          ensureExpressionMode(mode, ast);\n          this.usesImplicitReceiver = true;\n          return this._implicitReceiver;\n        }\n      }, {\n        key: \"visitInterpolation\",\n        value: function visitInterpolation(ast, mode) {\n          ensureExpressionMode(mode, ast);\n          var args = [literal(ast.expressions.length)];\n\n          for (var i = 0; i < ast.strings.length - 1; i++) {\n            args.push(literal(ast.strings[i]));\n            args.push(this._visit(ast.expressions[i], _Mode.Expression));\n          }\n\n          args.push(literal(ast.strings[ast.strings.length - 1]));\n\n          if (this.interpolationFunction) {\n            return this.interpolationFunction(args);\n          }\n\n          return ast.expressions.length <= 9 ? importExpr(Identifiers.inlineInterpolate).callFn(args) : importExpr(Identifiers.interpolate).callFn([args[0], literalArr(args.slice(1), undefined, this.convertSourceSpan(ast.span))]);\n        }\n      }, {\n        key: \"visitKeyedRead\",\n        value: function visitKeyedRead(ast, mode) {\n          var leftMostSafe = this.leftMostSafeNode(ast);\n\n          if (leftMostSafe) {\n            return this.convertSafeAccess(ast, leftMostSafe, mode);\n          } else {\n            return convertToStatementIfNeeded(mode, this._visit(ast.obj, _Mode.Expression).key(this._visit(ast.key, _Mode.Expression)));\n          }\n        }\n      }, {\n        key: \"visitKeyedWrite\",\n        value: function visitKeyedWrite(ast, mode) {\n          var obj = this._visit(ast.obj, _Mode.Expression);\n\n          var key = this._visit(ast.key, _Mode.Expression);\n\n          var value = this._visit(ast.value, _Mode.Expression);\n\n          return convertToStatementIfNeeded(mode, obj.key(key).set(value));\n        }\n      }, {\n        key: \"visitLiteralArray\",\n        value: function visitLiteralArray(ast, mode) {\n          throw new Error(\"Illegal State: literal arrays should have been converted into functions\");\n        }\n      }, {\n        key: \"visitLiteralMap\",\n        value: function visitLiteralMap(ast, mode) {\n          throw new Error(\"Illegal State: literal maps should have been converted into functions\");\n        }\n      }, {\n        key: \"visitLiteralPrimitive\",\n        value: function visitLiteralPrimitive(ast, mode) {\n          // For literal values of null, undefined, true, or false allow type interference\n          // to infer the type.\n          var type = ast.value === null || ast.value === undefined || ast.value === true || ast.value === true ? INFERRED_TYPE : undefined;\n          return convertToStatementIfNeeded(mode, literal(ast.value, type, this.convertSourceSpan(ast.span)));\n        }\n      }, {\n        key: \"_getLocal\",\n        value: function _getLocal(name) {\n          return this._localResolver.getLocal(name);\n        }\n      }, {\n        key: \"visitMethodCall\",\n        value: function visitMethodCall(ast, mode) {\n          if (ast.receiver instanceof ImplicitReceiver && ast.name == '$any') {\n            var args = this.visitAll(ast.args, _Mode.Expression);\n\n            if (args.length != 1) {\n              throw new Error(\"Invalid call to $any, expected 1 argument but received \".concat(args.length || 'none'));\n            }\n\n            return args[0].cast(DYNAMIC_TYPE, this.convertSourceSpan(ast.span));\n          }\n\n          var leftMostSafe = this.leftMostSafeNode(ast);\n\n          if (leftMostSafe) {\n            return this.convertSafeAccess(ast, leftMostSafe, mode);\n          } else {\n            var _args = this.visitAll(ast.args, _Mode.Expression);\n\n            var prevUsesImplicitReceiver = this.usesImplicitReceiver;\n            var result = null;\n\n            var receiver = this._visit(ast.receiver, _Mode.Expression);\n\n            if (receiver === this._implicitReceiver) {\n              var varExpr = this._getLocal(ast.name);\n\n              if (varExpr) {\n                // Restore the previous \"usesImplicitReceiver\" state since the implicit\n                // receiver has been replaced with a resolved local expression.\n                this.usesImplicitReceiver = prevUsesImplicitReceiver;\n                result = varExpr.callFn(_args);\n              }\n            }\n\n            if (result == null) {\n              result = receiver.callMethod(ast.name, _args, this.convertSourceSpan(ast.span));\n            }\n\n            return convertToStatementIfNeeded(mode, result);\n          }\n        }\n      }, {\n        key: \"visitPrefixNot\",\n        value: function visitPrefixNot(ast, mode) {\n          return convertToStatementIfNeeded(mode, not(this._visit(ast.expression, _Mode.Expression)));\n        }\n      }, {\n        key: \"visitNonNullAssert\",\n        value: function visitNonNullAssert(ast, mode) {\n          return convertToStatementIfNeeded(mode, assertNotNull(this._visit(ast.expression, _Mode.Expression)));\n        }\n      }, {\n        key: \"visitPropertyRead\",\n        value: function visitPropertyRead(ast, mode) {\n          var leftMostSafe = this.leftMostSafeNode(ast);\n\n          if (leftMostSafe) {\n            return this.convertSafeAccess(ast, leftMostSafe, mode);\n          } else {\n            var result = null;\n            var prevUsesImplicitReceiver = this.usesImplicitReceiver;\n\n            var receiver = this._visit(ast.receiver, _Mode.Expression);\n\n            if (receiver === this._implicitReceiver) {\n              result = this._getLocal(ast.name);\n\n              if (result) {\n                // Restore the previous \"usesImplicitReceiver\" state since the implicit\n                // receiver has been replaced with a resolved local expression.\n                this.usesImplicitReceiver = prevUsesImplicitReceiver;\n              }\n            }\n\n            if (result == null) {\n              result = receiver.prop(ast.name);\n            }\n\n            return convertToStatementIfNeeded(mode, result);\n          }\n        }\n      }, {\n        key: \"visitPropertyWrite\",\n        value: function visitPropertyWrite(ast, mode) {\n          var receiver = this._visit(ast.receiver, _Mode.Expression);\n\n          var prevUsesImplicitReceiver = this.usesImplicitReceiver;\n          var varExpr = null;\n\n          if (receiver === this._implicitReceiver) {\n            var localExpr = this._getLocal(ast.name);\n\n            if (localExpr) {\n              if (localExpr instanceof ReadPropExpr) {\n                // If the local variable is a property read expression, it's a reference\n                // to a 'context.property' value and will be used as the target of the\n                // write expression.\n                varExpr = localExpr; // Restore the previous \"usesImplicitReceiver\" state since the implicit\n                // receiver has been replaced with a resolved local expression.\n\n                this.usesImplicitReceiver = prevUsesImplicitReceiver;\n              } else {\n                // Otherwise it's an error.\n                throw new Error('Cannot assign to a reference or variable!');\n              }\n            }\n          } // If no local expression could be produced, use the original receiver's\n          // property as the target.\n\n\n          if (varExpr === null) {\n            varExpr = receiver.prop(ast.name);\n          }\n\n          return convertToStatementIfNeeded(mode, varExpr.set(this._visit(ast.value, _Mode.Expression)));\n        }\n      }, {\n        key: \"visitSafePropertyRead\",\n        value: function visitSafePropertyRead(ast, mode) {\n          return this.convertSafeAccess(ast, this.leftMostSafeNode(ast), mode);\n        }\n      }, {\n        key: \"visitSafeMethodCall\",\n        value: function visitSafeMethodCall(ast, mode) {\n          return this.convertSafeAccess(ast, this.leftMostSafeNode(ast), mode);\n        }\n      }, {\n        key: \"visitAll\",\n        value: function visitAll(asts, mode) {\n          var _this255 = this;\n\n          return asts.map(function (ast) {\n            return _this255._visit(ast, mode);\n          });\n        }\n      }, {\n        key: \"visitQuote\",\n        value: function visitQuote(ast, mode) {\n          throw new Error(\"Quotes are not supported for evaluation!\\n        Statement: \".concat(ast.uninterpretedExpression, \" located at \").concat(ast.location));\n        }\n      }, {\n        key: \"_visit\",\n        value: function _visit(ast, mode) {\n          var result = this._resultMap.get(ast);\n\n          if (result) return result;\n          return (this._nodeMap.get(ast) || ast).visit(this, mode);\n        }\n      }, {\n        key: \"convertSafeAccess\",\n        value: function convertSafeAccess(ast, leftMostSafe, mode) {\n          // If the expression contains a safe access node on the left it needs to be converted to\n          // an expression that guards the access to the member by checking the receiver for blank. As\n          // execution proceeds from left to right, the left most part of the expression must be guarded\n          // first but, because member access is left associative, the right side of the expression is at\n          // the top of the AST. The desired result requires lifting a copy of the the left part of the\n          // expression up to test it for blank before generating the unguarded version.\n          // Consider, for example the following expression: a?.b.c?.d.e\n          // This results in the ast:\n          //         .\n          //        / \\\n          //       ?.   e\n          //      /  \\\n          //     .    d\n          //    / \\\n          //   ?.  c\n          //  /  \\\n          // a    b\n          // The following tree should be generated:\n          //\n          //        /---- ? ----\\\n          //       /      |      \\\n          //     a   /--- ? ---\\  null\n          //        /     |     \\\n          //       .      .     null\n          //      / \\    / \\\n          //     .  c   .   e\n          //    / \\    / \\\n          //   a   b  .   d\n          //         / \\\n          //        .   c\n          //       / \\\n          //      a   b\n          //\n          // Notice that the first guard condition is the left hand of the left most safe access node\n          // which comes in as leftMostSafe to this routine.\n          var guardedExpression = this._visit(leftMostSafe.receiver, _Mode.Expression);\n\n          var temporary = undefined;\n\n          if (this.needsTemporary(leftMostSafe.receiver)) {\n            // If the expression has method calls or pipes then we need to save the result into a\n            // temporary variable to avoid calling stateful or impure code more than once.\n            temporary = this.allocateTemporary(); // Preserve the result in the temporary variable\n\n            guardedExpression = temporary.set(guardedExpression); // Ensure all further references to the guarded expression refer to the temporary instead.\n\n            this._resultMap.set(leftMostSafe.receiver, temporary);\n          }\n\n          var condition = guardedExpression.isBlank(); // Convert the ast to an unguarded access to the receiver's member. The map will substitute\n          // leftMostNode with its unguarded version in the call to `this.visit()`.\n\n          if (leftMostSafe instanceof SafeMethodCall) {\n            this._nodeMap.set(leftMostSafe, new MethodCall(leftMostSafe.span, leftMostSafe.receiver, leftMostSafe.name, leftMostSafe.args));\n          } else {\n            this._nodeMap.set(leftMostSafe, new PropertyRead(leftMostSafe.span, leftMostSafe.receiver, leftMostSafe.name));\n          } // Recursively convert the node now without the guarded member access.\n\n\n          var access = this._visit(ast, _Mode.Expression); // Remove the mapping. This is not strictly required as the converter only traverses each node\n          // once but is safer if the conversion is changed to traverse the nodes more than once.\n\n\n          this._nodeMap.delete(leftMostSafe); // If we allocated a temporary, release it.\n\n\n          if (temporary) {\n            this.releaseTemporary(temporary);\n          } // Produce the conditional\n\n\n          return convertToStatementIfNeeded(mode, condition.conditional(literal(null), access));\n        } // Given a expression of the form a?.b.c?.d.e the the left most safe node is\n        // the (a?.b). The . and ?. are left associative thus can be rewritten as:\n        // ((((a?.c).b).c)?.d).e. This returns the most deeply nested safe read or\n        // safe method call as this needs be transform initially to:\n        //   a == null ? null : a.c.b.c?.d.e\n        // then to:\n        //   a == null ? null : a.b.c == null ? null : a.b.c.d.e\n\n      }, {\n        key: \"leftMostSafeNode\",\n        value: function leftMostSafeNode(ast) {\n          var _this256 = this;\n\n          var visit = function visit(visitor, ast) {\n            return (_this256._nodeMap.get(ast) || ast).visit(visitor);\n          };\n\n          return ast.visit({\n            visitBinary: function visitBinary(ast) {\n              return null;\n            },\n            visitChain: function visitChain(ast) {\n              return null;\n            },\n            visitConditional: function visitConditional(ast) {\n              return null;\n            },\n            visitFunctionCall: function visitFunctionCall(ast) {\n              return null;\n            },\n            visitImplicitReceiver: function visitImplicitReceiver(ast) {\n              return null;\n            },\n            visitInterpolation: function visitInterpolation(ast) {\n              return null;\n            },\n            visitKeyedRead: function visitKeyedRead(ast) {\n              return visit(this, ast.obj);\n            },\n            visitKeyedWrite: function visitKeyedWrite(ast) {\n              return null;\n            },\n            visitLiteralArray: function visitLiteralArray(ast) {\n              return null;\n            },\n            visitLiteralMap: function visitLiteralMap(ast) {\n              return null;\n            },\n            visitLiteralPrimitive: function visitLiteralPrimitive(ast) {\n              return null;\n            },\n            visitMethodCall: function visitMethodCall(ast) {\n              return visit(this, ast.receiver);\n            },\n            visitPipe: function visitPipe(ast) {\n              return null;\n            },\n            visitPrefixNot: function visitPrefixNot(ast) {\n              return null;\n            },\n            visitNonNullAssert: function visitNonNullAssert(ast) {\n              return null;\n            },\n            visitPropertyRead: function visitPropertyRead(ast) {\n              return visit(this, ast.receiver);\n            },\n            visitPropertyWrite: function visitPropertyWrite(ast) {\n              return null;\n            },\n            visitQuote: function visitQuote(ast) {\n              return null;\n            },\n            visitSafeMethodCall: function visitSafeMethodCall(ast) {\n              return visit(this, ast.receiver) || ast;\n            },\n            visitSafePropertyRead: function visitSafePropertyRead(ast) {\n              return visit(this, ast.receiver) || ast;\n            }\n          });\n        } // Returns true of the AST includes a method or a pipe indicating that, if the\n        // expression is used as the target of a safe property or method access then\n        // the expression should be stored into a temporary variable.\n\n      }, {\n        key: \"needsTemporary\",\n        value: function needsTemporary(ast) {\n          var _this257 = this;\n\n          var visit = function visit(visitor, ast) {\n            return ast && (_this257._nodeMap.get(ast) || ast).visit(visitor);\n          };\n\n          var visitSome = function visitSome(visitor, ast) {\n            return ast.some(function (ast) {\n              return visit(visitor, ast);\n            });\n          };\n\n          return ast.visit({\n            visitBinary: function visitBinary(ast) {\n              return visit(this, ast.left) || visit(this, ast.right);\n            },\n            visitChain: function visitChain(ast) {\n              return false;\n            },\n            visitConditional: function visitConditional(ast) {\n              return visit(this, ast.condition) || visit(this, ast.trueExp) || visit(this, ast.falseExp);\n            },\n            visitFunctionCall: function visitFunctionCall(ast) {\n              return true;\n            },\n            visitImplicitReceiver: function visitImplicitReceiver(ast) {\n              return false;\n            },\n            visitInterpolation: function visitInterpolation(ast) {\n              return visitSome(this, ast.expressions);\n            },\n            visitKeyedRead: function visitKeyedRead(ast) {\n              return false;\n            },\n            visitKeyedWrite: function visitKeyedWrite(ast) {\n              return false;\n            },\n            visitLiteralArray: function visitLiteralArray(ast) {\n              return true;\n            },\n            visitLiteralMap: function visitLiteralMap(ast) {\n              return true;\n            },\n            visitLiteralPrimitive: function visitLiteralPrimitive(ast) {\n              return false;\n            },\n            visitMethodCall: function visitMethodCall(ast) {\n              return true;\n            },\n            visitPipe: function visitPipe(ast) {\n              return true;\n            },\n            visitPrefixNot: function visitPrefixNot(ast) {\n              return visit(this, ast.expression);\n            },\n            visitNonNullAssert: function visitNonNullAssert(ast) {\n              return visit(this, ast.expression);\n            },\n            visitPropertyRead: function visitPropertyRead(ast) {\n              return false;\n            },\n            visitPropertyWrite: function visitPropertyWrite(ast) {\n              return false;\n            },\n            visitQuote: function visitQuote(ast) {\n              return false;\n            },\n            visitSafeMethodCall: function visitSafeMethodCall(ast) {\n              return true;\n            },\n            visitSafePropertyRead: function visitSafePropertyRead(ast) {\n              return false;\n            }\n          });\n        }\n      }, {\n        key: \"allocateTemporary\",\n        value: function allocateTemporary() {\n          var tempNumber = this._currentTemporary++;\n          this.temporaryCount = Math.max(this._currentTemporary, this.temporaryCount);\n          return new ReadVarExpr(temporaryName(this.bindingId, tempNumber));\n        }\n      }, {\n        key: \"releaseTemporary\",\n        value: function releaseTemporary(temporary) {\n          this._currentTemporary--;\n\n          if (temporary.name != temporaryName(this.bindingId, this._currentTemporary)) {\n            throw new Error(\"Temporary \".concat(temporary.name, \" released out of order\"));\n          }\n        }\n        /**\n         * Creates an absolute `ParseSourceSpan` from the relative `ParseSpan`.\n         *\n         * `ParseSpan` objects are relative to the start of the expression.\n         * This method converts these to full `ParseSourceSpan` objects that\n         * show where the span is within the overall source file.\n         *\n         * @param span the relative span to convert.\n         * @returns a `ParseSourceSpan` for the the given span or null if no\n         * `baseSourceSpan` was provided to this class.\n         */\n\n      }, {\n        key: \"convertSourceSpan\",\n        value: function convertSourceSpan(span) {\n          if (this.baseSourceSpan) {\n            var start = this.baseSourceSpan.start.moveBy(span.start);\n            var end = this.baseSourceSpan.start.moveBy(span.end);\n            return new ParseSourceSpan(start, end);\n          } else {\n            return null;\n          }\n        }\n      }]);\n\n      return _AstToIrVisitor;\n    }();\n\n    function flattenStatements(arg, output) {\n      if (Array.isArray(arg)) {\n        arg.forEach(function (entry) {\n          return flattenStatements(entry, output);\n        });\n      } else {\n        output.push(arg);\n      }\n    }\n\n    var DefaultLocalResolver =\n    /*#__PURE__*/\n    function () {\n      function DefaultLocalResolver() {\n        _classCallCheck(this, DefaultLocalResolver);\n      }\n\n      _createClass2(DefaultLocalResolver, [{\n        key: \"notifyImplicitReceiverUse\",\n        value: function notifyImplicitReceiverUse() {}\n      }, {\n        key: \"getLocal\",\n        value: function getLocal(name) {\n          if (name === EventHandlerVars.event.name) {\n            return EventHandlerVars.event;\n          }\n\n          return null;\n        }\n      }]);\n\n      return DefaultLocalResolver;\n    }();\n\n    function createCurrValueExpr(bindingId) {\n      return variable(\"currVal_\".concat(bindingId)); // fix syntax highlighting: `\n    }\n\n    function createPreventDefaultVar(bindingId) {\n      return variable(\"pd_\".concat(bindingId));\n    }\n\n    function convertStmtIntoExpression(stmt) {\n      if (stmt instanceof ExpressionStatement) {\n        return stmt.expr;\n      } else if (stmt instanceof ReturnStatement) {\n        return stmt.value;\n      }\n\n      return null;\n    }\n\n    var BuiltinFunctionCall =\n    /*#__PURE__*/\n    function (_FunctionCall) {\n      _inherits(BuiltinFunctionCall, _FunctionCall);\n\n      function BuiltinFunctionCall(span, args, converter) {\n        var _this258;\n\n        _classCallCheck(this, BuiltinFunctionCall);\n\n        _this258 = _possibleConstructorReturn(this, _getPrototypeOf(BuiltinFunctionCall).call(this, span, null, args));\n        _this258.args = args;\n        _this258.converter = converter;\n        return _this258;\n      }\n\n      return BuiltinFunctionCall;\n    }(FunctionCall);\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * This file is a port of shadowCSS from webcomponents.js to TypeScript.\n     *\n     * Please make sure to keep to edits in sync with the source file.\n     *\n     * Source:\n     * https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js\n     *\n     * The original file level comment is reproduced below\n     */\n\n    /*\n      This is a limited shim for ShadowDOM css styling.\n      https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#styles\n    \n      The intention here is to support only the styling features which can be\n      relatively simply implemented. The goal is to allow users to avoid the\n      most obvious pitfalls and do so without compromising performance significantly.\n      For ShadowDOM styling that's not covered here, a set of best practices\n      can be provided that should allow users to accomplish more complex styling.\n    \n      The following is a list of specific ShadowDOM styling features and a brief\n      discussion of the approach used to shim.\n    \n      Shimmed features:\n    \n      * :host, :host-context: ShadowDOM allows styling of the shadowRoot's host\n      element using the :host rule. To shim this feature, the :host styles are\n      reformatted and prefixed with a given scope name and promoted to a\n      document level stylesheet.\n      For example, given a scope name of .foo, a rule like this:\n    \n        :host {\n            background: red;\n          }\n        }\n    \n      becomes:\n    \n        .foo {\n          background: red;\n        }\n    \n      * encapsulation: Styles defined within ShadowDOM, apply only to\n      dom inside the ShadowDOM. Polymer uses one of two techniques to implement\n      this feature.\n    \n      By default, rules are prefixed with the host element tag name\n      as a descendant selector. This ensures styling does not leak out of the 'top'\n      of the element's ShadowDOM. For example,\n    \n      div {\n          font-weight: bold;\n        }\n    \n      becomes:\n    \n      x-foo div {\n          font-weight: bold;\n        }\n    \n      becomes:\n    \n    \n      Alternatively, if WebComponents.ShadowCSS.strictStyling is set to true then\n      selectors are scoped by adding an attribute selector suffix to each\n      simple selector that contains the host element tag name. Each element\n      in the element's ShadowDOM template is also given the scope attribute.\n      Thus, these rules match only elements that have the scope attribute.\n      For example, given a scope name of x-foo, a rule like this:\n    \n        div {\n          font-weight: bold;\n        }\n    \n      becomes:\n    \n        div[x-foo] {\n          font-weight: bold;\n        }\n    \n      Note that elements that are dynamically added to a scope must have the scope\n      selector added to them manually.\n    \n      * upper/lower bound encapsulation: Styles which are defined outside a\n      shadowRoot should not cross the ShadowDOM boundary and should not apply\n      inside a shadowRoot.\n    \n      This styling behavior is not emulated. Some possible ways to do this that\n      were rejected due to complexity and/or performance concerns include: (1) reset\n      every possible property for every possible selector for a given scope name;\n      (2) re-implement css in javascript.\n    \n      As an alternative, users should make sure to use selectors\n      specific to the scope in which they are working.\n    \n      * ::distributed: This behavior is not emulated. It's often not necessary\n      to style the contents of a specific insertion point and instead, descendants\n      of the host element can be styled selectively. Users can also create an\n      extra node around an insertion point and style that node's contents\n      via descendent selectors. For example, with a shadowRoot like this:\n    \n        <style>\n          ::content(div) {\n            background: red;\n          }\n        </style>\n        <content></content>\n    \n      could become:\n    \n        <style>\n          / *@polyfill .content-container div * /\n          ::content(div) {\n            background: red;\n          }\n        </style>\n        <div class=\"content-container\">\n          <content></content>\n        </div>\n    \n      Note the use of @polyfill in the comment above a ShadowDOM specific style\n      declaration. This is a directive to the styling shim to use the selector\n      in comments in lieu of the next selector when running under polyfill.\n    */\n\n\n    var ShadowCss =\n    /*#__PURE__*/\n    function () {\n      function ShadowCss() {\n        _classCallCheck(this, ShadowCss);\n\n        this.strictStyling = true;\n      }\n      /*\n      * Shim some cssText with the given selector. Returns cssText that can\n      * be included in the document via WebComponents.ShadowCSS.addCssToDocument(css).\n      *\n      * When strictStyling is true:\n      * - selector is the attribute added to all elements inside the host,\n      * - hostSelector is the attribute added to the host itself.\n      */\n\n\n      _createClass2(ShadowCss, [{\n        key: \"shimCssText\",\n        value: function shimCssText(cssText, selector) {\n          var hostSelector = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';\n          var commentsWithHash = extractCommentsWithHash(cssText);\n          cssText = stripComments(cssText);\n          cssText = this._insertDirectives(cssText);\n\n          var scopedCssText = this._scopeCssText(cssText, selector, hostSelector);\n\n          return [scopedCssText].concat(_toConsumableArray(commentsWithHash)).join('\\n');\n        }\n      }, {\n        key: \"_insertDirectives\",\n        value: function _insertDirectives(cssText) {\n          cssText = this._insertPolyfillDirectivesInCssText(cssText);\n          return this._insertPolyfillRulesInCssText(cssText);\n        }\n        /*\n         * Process styles to convert native ShadowDOM rules that will trip\n         * up the css parser; we rely on decorating the stylesheet with inert rules.\n         *\n         * For example, we convert this rule:\n         *\n         * polyfill-next-selector { content: ':host menu-item'; }\n         * ::content menu-item {\n         *\n         * to this:\n         *\n         * scopeName menu-item {\n         *\n        **/\n\n      }, {\n        key: \"_insertPolyfillDirectivesInCssText\",\n        value: function _insertPolyfillDirectivesInCssText(cssText) {\n          // Difference with webcomponents.js: does not handle comments\n          return cssText.replace(_cssContentNextSelectorRe, function () {\n            return (arguments.length <= 2 ? undefined : arguments[2]) + '{';\n          });\n        }\n        /*\n         * Process styles to add rules which will only apply under the polyfill\n         *\n         * For example, we convert this rule:\n         *\n         * polyfill-rule {\n         *   content: ':host menu-item';\n         * ...\n         * }\n         *\n         * to this:\n         *\n         * scopeName menu-item {...}\n         *\n        **/\n\n      }, {\n        key: \"_insertPolyfillRulesInCssText\",\n        value: function _insertPolyfillRulesInCssText(cssText) {\n          // Difference with webcomponents.js: does not handle comments\n          return cssText.replace(_cssContentRuleRe, function () {\n            for (var _len9 = arguments.length, m = new Array(_len9), _key11 = 0; _key11 < _len9; _key11++) {\n              m[_key11] = arguments[_key11];\n            }\n\n            var rule = m[0].replace(m[1], '').replace(m[2], '');\n            return m[4] + rule;\n          });\n        }\n        /* Ensure styles are scoped. Pseudo-scoping takes a rule like:\n         *\n         *  .foo {... }\n         *\n         *  and converts this to\n         *\n         *  scopeName .foo { ... }\n        */\n\n      }, {\n        key: \"_scopeCssText\",\n        value: function _scopeCssText(cssText, scopeSelector, hostSelector) {\n          var unscopedRules = this._extractUnscopedRulesFromCssText(cssText); // replace :host and :host-context -shadowcsshost and -shadowcsshost respectively\n\n\n          cssText = this._insertPolyfillHostInCssText(cssText);\n          cssText = this._convertColonHost(cssText);\n          cssText = this._convertColonHostContext(cssText);\n          cssText = this._convertShadowDOMSelectors(cssText);\n\n          if (scopeSelector) {\n            cssText = this._scopeSelectors(cssText, scopeSelector, hostSelector);\n          }\n\n          cssText = cssText + '\\n' + unscopedRules;\n          return cssText.trim();\n        }\n        /*\n         * Process styles to add rules which will only apply under the polyfill\n         * and do not process via CSSOM. (CSSOM is destructive to rules on rare\n         * occasions, e.g. -webkit-calc on Safari.)\n         * For example, we convert this rule:\n         *\n         * @polyfill-unscoped-rule {\n         *   content: 'menu-item';\n         * ... }\n         *\n         * to this:\n         *\n         * menu-item {...}\n         *\n        **/\n\n      }, {\n        key: \"_extractUnscopedRulesFromCssText\",\n        value: function _extractUnscopedRulesFromCssText(cssText) {\n          // Difference with webcomponents.js: does not handle comments\n          var r = '';\n          var m;\n          _cssContentUnscopedRuleRe.lastIndex = 0;\n\n          while ((m = _cssContentUnscopedRuleRe.exec(cssText)) !== null) {\n            var rule = m[0].replace(m[2], '').replace(m[1], m[4]);\n            r += rule + '\\n\\n';\n          }\n\n          return r;\n        }\n        /*\n         * convert a rule like :host(.foo) > .bar { }\n         *\n         * to\n         *\n         * .foo<scopeName> > .bar\n        */\n\n      }, {\n        key: \"_convertColonHost\",\n        value: function _convertColonHost(cssText) {\n          return this._convertColonRule(cssText, _cssColonHostRe, this._colonHostPartReplacer);\n        }\n        /*\n         * convert a rule like :host-context(.foo) > .bar { }\n         *\n         * to\n         *\n         * .foo<scopeName> > .bar, .foo scopeName > .bar { }\n         *\n         * and\n         *\n         * :host-context(.foo:host) .bar { ... }\n         *\n         * to\n         *\n         * .foo<scopeName> .bar { ... }\n        */\n\n      }, {\n        key: \"_convertColonHostContext\",\n        value: function _convertColonHostContext(cssText) {\n          return this._convertColonRule(cssText, _cssColonHostContextRe, this._colonHostContextPartReplacer);\n        }\n      }, {\n        key: \"_convertColonRule\",\n        value: function _convertColonRule(cssText, regExp, partReplacer) {\n          // m[1] = :host(-context), m[2] = contents of (), m[3] rest of rule\n          return cssText.replace(regExp, function () {\n            for (var _len10 = arguments.length, m = new Array(_len10), _key12 = 0; _key12 < _len10; _key12++) {\n              m[_key12] = arguments[_key12];\n            }\n\n            if (m[2]) {\n              var parts = m[2].split(',');\n              var r = [];\n\n              for (var i = 0; i < parts.length; i++) {\n                var p = parts[i].trim();\n                if (!p) break;\n                r.push(partReplacer(_polyfillHostNoCombinator, p, m[3]));\n              }\n\n              return r.join(',');\n            } else {\n              return _polyfillHostNoCombinator + m[3];\n            }\n          });\n        }\n      }, {\n        key: \"_colonHostContextPartReplacer\",\n        value: function _colonHostContextPartReplacer(host, part, suffix) {\n          if (part.indexOf(_polyfillHost) > -1) {\n            return this._colonHostPartReplacer(host, part, suffix);\n          } else {\n            return host + part + suffix + ', ' + part + ' ' + host + suffix;\n          }\n        }\n      }, {\n        key: \"_colonHostPartReplacer\",\n        value: function _colonHostPartReplacer(host, part, suffix) {\n          return host + part.replace(_polyfillHost, '') + suffix;\n        }\n        /*\n         * Convert combinators like ::shadow and pseudo-elements like ::content\n         * by replacing with space.\n        */\n\n      }, {\n        key: \"_convertShadowDOMSelectors\",\n        value: function _convertShadowDOMSelectors(cssText) {\n          return _shadowDOMSelectorsRe.reduce(function (result, pattern) {\n            return result.replace(pattern, ' ');\n          }, cssText);\n        } // change a selector like 'div' to 'name div'\n\n      }, {\n        key: \"_scopeSelectors\",\n        value: function _scopeSelectors(cssText, scopeSelector, hostSelector) {\n          var _this259 = this;\n\n          return processRules(cssText, function (rule) {\n            var selector = rule.selector;\n            var content = rule.content;\n\n            if (rule.selector[0] != '@') {\n              selector = _this259._scopeSelector(rule.selector, scopeSelector, hostSelector, _this259.strictStyling);\n            } else if (rule.selector.startsWith('@media') || rule.selector.startsWith('@supports') || rule.selector.startsWith('@page') || rule.selector.startsWith('@document')) {\n              content = _this259._scopeSelectors(rule.content, scopeSelector, hostSelector);\n            }\n\n            return new CssRule(selector, content);\n          });\n        }\n      }, {\n        key: \"_scopeSelector\",\n        value: function _scopeSelector(selector, scopeSelector, hostSelector, strict) {\n          var _this260 = this;\n\n          return selector.split(',').map(function (part) {\n            return part.trim().split(_shadowDeepSelectors);\n          }).map(function (deepParts) {\n            var _deepParts = _toArray(deepParts),\n                shallowPart = _deepParts[0],\n                otherParts = _deepParts.slice(1);\n\n            var applyScope = function applyScope(shallowPart) {\n              if (_this260._selectorNeedsScoping(shallowPart, scopeSelector)) {\n                return strict ? _this260._applyStrictSelectorScope(shallowPart, scopeSelector, hostSelector) : _this260._applySelectorScope(shallowPart, scopeSelector, hostSelector);\n              } else {\n                return shallowPart;\n              }\n            };\n\n            return [applyScope(shallowPart)].concat(_toConsumableArray(otherParts)).join(' ');\n          }).join(', ');\n        }\n      }, {\n        key: \"_selectorNeedsScoping\",\n        value: function _selectorNeedsScoping(selector, scopeSelector) {\n          var re = this._makeScopeMatcher(scopeSelector);\n\n          return !re.test(selector);\n        }\n      }, {\n        key: \"_makeScopeMatcher\",\n        value: function _makeScopeMatcher(scopeSelector) {\n          var lre = /\\[/g;\n          var rre = /\\]/g;\n          scopeSelector = scopeSelector.replace(lre, '\\\\[').replace(rre, '\\\\]');\n          return new RegExp('^(' + scopeSelector + ')' + _selectorReSuffix, 'm');\n        }\n      }, {\n        key: \"_applySelectorScope\",\n        value: function _applySelectorScope(selector, scopeSelector, hostSelector) {\n          // Difference from webcomponents.js: scopeSelector could not be an array\n          return this._applySimpleSelectorScope(selector, scopeSelector, hostSelector);\n        } // scope via name and [is=name]\n\n      }, {\n        key: \"_applySimpleSelectorScope\",\n        value: function _applySimpleSelectorScope(selector, scopeSelector, hostSelector) {\n          // In Android browser, the lastIndex is not reset when the regex is used in String.replace()\n          _polyfillHostRe.lastIndex = 0;\n\n          if (_polyfillHostRe.test(selector)) {\n            var replaceBy = this.strictStyling ? \"[\".concat(hostSelector, \"]\") : scopeSelector;\n            return selector.replace(_polyfillHostNoCombinatorRe, function (hnc, selector) {\n              return selector.replace(/([^:]*)(:*)(.*)/, function (_, before, colon, after) {\n                return before + replaceBy + colon + after;\n              });\n            }).replace(_polyfillHostRe, replaceBy + ' ');\n          }\n\n          return scopeSelector + ' ' + selector;\n        } // return a selector with [name] suffix on each simple selector\n        // e.g. .foo.bar > .zot becomes .foo[name].bar[name] > .zot[name]  /** @internal */\n\n      }, {\n        key: \"_applyStrictSelectorScope\",\n        value: function _applyStrictSelectorScope(selector, scopeSelector, hostSelector) {\n          var _this261 = this;\n\n          var isRe = /\\[is=([^\\]]*)\\]/g;\n          scopeSelector = scopeSelector.replace(isRe, function (_) {\n            return arguments.length <= 1 ? undefined : arguments[1];\n          });\n          var attrName = '[' + scopeSelector + ']';\n\n          var _scopeSelectorPart = function _scopeSelectorPart(p) {\n            var scopedP = p.trim();\n\n            if (!scopedP) {\n              return '';\n            }\n\n            if (p.indexOf(_polyfillHostNoCombinator) > -1) {\n              scopedP = _this261._applySimpleSelectorScope(p, scopeSelector, hostSelector);\n            } else {\n              // remove :host since it should be unnecessary\n              var t = p.replace(_polyfillHostRe, '');\n\n              if (t.length > 0) {\n                var matches = t.match(/([^:]*)(:*)(.*)/);\n\n                if (matches) {\n                  scopedP = matches[1] + attrName + matches[2] + matches[3];\n                }\n              }\n            }\n\n            return scopedP;\n          };\n\n          var safeContent = new SafeSelector(selector);\n          selector = safeContent.content();\n          var scopedSelector = '';\n          var startIndex = 0;\n          var res;\n          var sep = /( |>|\\+|~(?!=))\\s*/g; // If a selector appears before :host it should not be shimmed as it\n          // matches on ancestor elements and not on elements in the host's shadow\n          // `:host-context(div)` is transformed to\n          // `-shadowcsshost-no-combinatordiv, div -shadowcsshost-no-combinator`\n          // the `div` is not part of the component in the 2nd selectors and should not be scoped.\n          // Historically `component-tag:host` was matching the component so we also want to preserve\n          // this behavior to avoid breaking legacy apps (it should not match).\n          // The behavior should be:\n          // - `tag:host` -> `tag[h]` (this is to avoid breaking legacy apps, should not match anything)\n          // - `tag :host` -> `tag [h]` (`tag` is not scoped because it's considered part of a\n          //   `:host-context(tag)`)\n\n          var hasHost = selector.indexOf(_polyfillHostNoCombinator) > -1; // Only scope parts after the first `-shadowcsshost-no-combinator` when it is present\n\n          var shouldScope = !hasHost;\n\n          while ((res = sep.exec(selector)) !== null) {\n            var separator = res[1];\n\n            var _part = selector.slice(startIndex, res.index).trim();\n\n            shouldScope = shouldScope || _part.indexOf(_polyfillHostNoCombinator) > -1;\n            var scopedPart = shouldScope ? _scopeSelectorPart(_part) : _part;\n            scopedSelector += \"\".concat(scopedPart, \" \").concat(separator, \" \");\n            startIndex = sep.lastIndex;\n          }\n\n          var part = selector.substring(startIndex);\n          shouldScope = shouldScope || part.indexOf(_polyfillHostNoCombinator) > -1;\n          scopedSelector += shouldScope ? _scopeSelectorPart(part) : part; // replace the placeholders with their original values\n\n          return safeContent.restore(scopedSelector);\n        }\n      }, {\n        key: \"_insertPolyfillHostInCssText\",\n        value: function _insertPolyfillHostInCssText(selector) {\n          return selector.replace(_colonHostContextRe, _polyfillHostContext).replace(_colonHostRe, _polyfillHost);\n        }\n      }]);\n\n      return ShadowCss;\n    }();\n\n    var SafeSelector =\n    /*#__PURE__*/\n    function () {\n      function SafeSelector(selector) {\n        var _this262 = this;\n\n        _classCallCheck(this, SafeSelector);\n\n        this.placeholders = [];\n        this.index = 0; // Replaces attribute selectors with placeholders.\n        // The WS in [attr=\"va lue\"] would otherwise be interpreted as a selector separator.\n\n        selector = selector.replace(/(\\[[^\\]]*\\])/g, function (_, keep) {\n          var replaceBy = \"__ph-\".concat(_this262.index, \"__\");\n\n          _this262.placeholders.push(keep);\n\n          _this262.index++;\n          return replaceBy;\n        }); // Replaces the expression in `:nth-child(2n + 1)` with a placeholder.\n        // WS and \"+\" would otherwise be interpreted as selector separators.\n\n        this._content = selector.replace(/(:nth-[-\\w]+)(\\([^)]+\\))/g, function (_, pseudo, exp) {\n          var replaceBy = \"__ph-\".concat(_this262.index, \"__\");\n\n          _this262.placeholders.push(exp);\n\n          _this262.index++;\n          return pseudo + replaceBy;\n        });\n      }\n\n      _createClass2(SafeSelector, [{\n        key: \"restore\",\n        value: function restore(content) {\n          var _this263 = this;\n\n          return content.replace(/__ph-(\\d+)__/g, function (ph, index) {\n            return _this263.placeholders[+index];\n          });\n        }\n      }, {\n        key: \"content\",\n        value: function content() {\n          return this._content;\n        }\n      }]);\n\n      return SafeSelector;\n    }();\n\n    var _cssContentNextSelectorRe = /polyfill-next-selector[^}]*content:[\\s]*?(['\"])(.*?)\\1[;\\s]*}([^{]*?){/gim;\n    var _cssContentRuleRe = /(polyfill-rule)[^}]*(content:[\\s]*(['\"])(.*?)\\3)[;\\s]*[^}]*}/gim;\n    var _cssContentUnscopedRuleRe = /(polyfill-unscoped-rule)[^}]*(content:[\\s]*(['\"])(.*?)\\3)[;\\s]*[^}]*}/gim;\n    var _polyfillHost = '-shadowcsshost'; // note: :host-context pre-processed to -shadowcsshostcontext.\n\n    var _polyfillHostContext = '-shadowcsscontext';\n\n    var _parenSuffix = ')(?:\\\\((' + '(?:\\\\([^)(]*\\\\)|[^)(]*)+?' + ')\\\\))?([^,{]*)';\n\n    var _cssColonHostRe = new RegExp('(' + _polyfillHost + _parenSuffix, 'gim');\n\n    var _cssColonHostContextRe = new RegExp('(' + _polyfillHostContext + _parenSuffix, 'gim');\n\n    var _polyfillHostNoCombinator = _polyfillHost + '-no-combinator';\n\n    var _polyfillHostNoCombinatorRe = /-shadowcsshost-no-combinator([^\\s]*)/;\n    var _shadowDOMSelectorsRe = [/::shadow/g, /::content/g, // Deprecated selectors\n    /\\/shadow-deep\\//g, /\\/shadow\\//g]; // The deep combinator is deprecated in the CSS spec\n    // Support for `>>>`, `deep`, `::ng-deep` is then also deprecated and will be removed in the future.\n    // see https://github.com/angular/angular/pull/17677\n\n    var _shadowDeepSelectors = /(?:>>>)|(?:\\/deep\\/)|(?:::ng-deep)/g;\n    var _selectorReSuffix = '([>\\\\s~+\\[.,{:][\\\\s\\\\S]*)?$';\n    var _polyfillHostRe = /-shadowcsshost/gim;\n    var _colonHostRe = /:host/gim;\n    var _colonHostContextRe = /:host-context/gim;\n    var _commentRe = /\\/\\*\\s*[\\s\\S]*?\\*\\//g;\n\n    function stripComments(input) {\n      return input.replace(_commentRe, '');\n    }\n\n    var _commentWithHashRe = /\\/\\*\\s*#\\s*source(Mapping)?URL=[\\s\\S]+?\\*\\//g;\n\n    function extractCommentsWithHash(input) {\n      return input.match(_commentWithHashRe) || [];\n    }\n\n    var _ruleRe = /(\\s*)([^;\\{\\}]+?)(\\s*)((?:{%BLOCK%}?\\s*;?)|(?:\\s*;))/g;\n    var _curlyRe = /([{}])/g;\n    var OPEN_CURLY = '{';\n    var CLOSE_CURLY = '}';\n    var BLOCK_PLACEHOLDER = '%BLOCK%';\n\n    var CssRule = function CssRule(selector, content) {\n      _classCallCheck(this, CssRule);\n\n      this.selector = selector;\n      this.content = content;\n    };\n\n    function processRules(input, ruleCallback) {\n      var inputWithEscapedBlocks = escapeBlocks(input);\n      var nextBlockIndex = 0;\n      return inputWithEscapedBlocks.escapedString.replace(_ruleRe, function () {\n        var selector = arguments.length <= 2 ? undefined : arguments[2];\n        var content = '';\n        var suffix = arguments.length <= 4 ? undefined : arguments[4];\n        var contentPrefix = '';\n\n        if (suffix && suffix.startsWith('{' + BLOCK_PLACEHOLDER)) {\n          content = inputWithEscapedBlocks.blocks[nextBlockIndex++];\n          suffix = suffix.substring(BLOCK_PLACEHOLDER.length + 1);\n          contentPrefix = '{';\n        }\n\n        var rule = ruleCallback(new CssRule(selector, content));\n        return \"\".concat(arguments.length <= 1 ? undefined : arguments[1]).concat(rule.selector).concat(arguments.length <= 3 ? undefined : arguments[3]).concat(contentPrefix).concat(rule.content).concat(suffix);\n      });\n    }\n\n    var StringWithEscapedBlocks = function StringWithEscapedBlocks(escapedString, blocks) {\n      _classCallCheck(this, StringWithEscapedBlocks);\n\n      this.escapedString = escapedString;\n      this.blocks = blocks;\n    };\n\n    function escapeBlocks(input) {\n      var inputParts = input.split(_curlyRe);\n      var resultParts = [];\n      var escapedBlocks = [];\n      var bracketCount = 0;\n      var currentBlockParts = [];\n\n      for (var partIndex = 0; partIndex < inputParts.length; partIndex++) {\n        var part = inputParts[partIndex];\n\n        if (part == CLOSE_CURLY) {\n          bracketCount--;\n        }\n\n        if (bracketCount > 0) {\n          currentBlockParts.push(part);\n        } else {\n          if (currentBlockParts.length > 0) {\n            escapedBlocks.push(currentBlockParts.join(''));\n            resultParts.push(BLOCK_PLACEHOLDER);\n            currentBlockParts = [];\n          }\n\n          resultParts.push(part);\n        }\n\n        if (part == OPEN_CURLY) {\n          bracketCount++;\n        }\n      }\n\n      if (currentBlockParts.length > 0) {\n        escapedBlocks.push(currentBlockParts.join(''));\n        resultParts.push(BLOCK_PLACEHOLDER);\n      }\n\n      return new StringWithEscapedBlocks(resultParts.join(''), escapedBlocks);\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var COMPONENT_VARIABLE = '%COMP%';\n    var HOST_ATTR = \"_nghost-\".concat(COMPONENT_VARIABLE);\n    var CONTENT_ATTR = \"_ngcontent-\".concat(COMPONENT_VARIABLE);\n\n    var StylesCompileDependency = function StylesCompileDependency(name, moduleUrl, setValue) {\n      _classCallCheck(this, StylesCompileDependency);\n\n      this.name = name;\n      this.moduleUrl = moduleUrl;\n      this.setValue = setValue;\n    };\n\n    var CompiledStylesheet = function CompiledStylesheet(outputCtx, stylesVar, dependencies, isShimmed, meta) {\n      _classCallCheck(this, CompiledStylesheet);\n\n      this.outputCtx = outputCtx;\n      this.stylesVar = stylesVar;\n      this.dependencies = dependencies;\n      this.isShimmed = isShimmed;\n      this.meta = meta;\n    };\n\n    var StyleCompiler =\n    /*#__PURE__*/\n    function () {\n      function StyleCompiler(_urlResolver) {\n        _classCallCheck(this, StyleCompiler);\n\n        this._urlResolver = _urlResolver;\n        this._shadowCss = new ShadowCss();\n      }\n\n      _createClass2(StyleCompiler, [{\n        key: \"compileComponent\",\n        value: function compileComponent(outputCtx, comp) {\n          var template = comp.template;\n          return this._compileStyles(outputCtx, comp, new CompileStylesheetMetadata({\n            styles: template.styles,\n            styleUrls: template.styleUrls,\n            moduleUrl: identifierModuleUrl(comp.type)\n          }), this.needsStyleShim(comp), true);\n        }\n      }, {\n        key: \"compileStyles\",\n        value: function compileStyles(outputCtx, comp, stylesheet) {\n          var shim = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : this.needsStyleShim(comp);\n          return this._compileStyles(outputCtx, comp, stylesheet, shim, false);\n        }\n      }, {\n        key: \"needsStyleShim\",\n        value: function needsStyleShim(comp) {\n          return comp.template.encapsulation === ViewEncapsulation.Emulated;\n        }\n      }, {\n        key: \"_compileStyles\",\n        value: function _compileStyles(outputCtx, comp, stylesheet, shim, isComponentStylesheet) {\n          var _this264 = this;\n\n          var styleExpressions = stylesheet.styles.map(function (plainStyle) {\n            return literal(_this264._shimIfNeeded(plainStyle, shim));\n          });\n          var dependencies = [];\n          stylesheet.styleUrls.forEach(function (styleUrl) {\n            var exprIndex = styleExpressions.length; // Note: This placeholder will be filled later.\n\n            styleExpressions.push(null);\n            dependencies.push(new StylesCompileDependency(getStylesVarName(null), styleUrl, function (value) {\n              return styleExpressions[exprIndex] = outputCtx.importExpr(value);\n            }));\n          }); // styles variable contains plain strings and arrays of other styles arrays (recursive),\n          // so we set its type to dynamic.\n\n          var stylesVar = getStylesVarName(isComponentStylesheet ? comp : null);\n          var stmt = variable(stylesVar).set(literalArr(styleExpressions, new ArrayType(DYNAMIC_TYPE, [TypeModifier.Const]))).toDeclStmt(null, isComponentStylesheet ? [StmtModifier.Final] : [StmtModifier.Final, StmtModifier.Exported]);\n          outputCtx.statements.push(stmt);\n          return new CompiledStylesheet(outputCtx, stylesVar, dependencies, shim, stylesheet);\n        }\n      }, {\n        key: \"_shimIfNeeded\",\n        value: function _shimIfNeeded(style, shim) {\n          return shim ? this._shadowCss.shimCssText(style, CONTENT_ATTR, HOST_ATTR) : style;\n        }\n      }]);\n\n      return StyleCompiler;\n    }();\n\n    function getStylesVarName(component) {\n      var result = \"styles\";\n\n      if (component) {\n        result += \"_\".concat(identifierName(component.type));\n      }\n\n      return result;\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * A path is an ordered set of elements. Typically a path is to  a\n     * particular offset in a source file. The head of the list is the top\n     * most node. The tail is the node that contains the offset directly.\n     *\n     * For example, the expression `a + b + c` might have an ast that looks\n     * like:\n     *     +\n     *    / \\\n     *   a   +\n     *      / \\\n     *     b   c\n     *\n     * The path to the node at offset 9 would be `['+' at 1-10, '+' at 7-10,\n     * 'c' at 9-10]` and the path the node at offset 1 would be\n     * `['+' at 1-10, 'a' at 1-2]`.\n     */\n\n\n    var AstPath =\n    /*#__PURE__*/\n    function () {\n      function AstPath(path) {\n        var position = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : -1;\n\n        _classCallCheck(this, AstPath);\n\n        this.path = path;\n        this.position = position;\n      }\n\n      _createClass2(AstPath, [{\n        key: \"parentOf\",\n        value: function parentOf(node) {\n          return node && this.path[this.path.indexOf(node) - 1];\n        }\n      }, {\n        key: \"childOf\",\n        value: function childOf(node) {\n          return this.path[this.path.indexOf(node) + 1];\n        }\n      }, {\n        key: \"first\",\n        value: function first(ctor) {\n          for (var i = this.path.length - 1; i >= 0; i--) {\n            var item = this.path[i];\n            if (item instanceof ctor) return item;\n          }\n        }\n      }, {\n        key: \"push\",\n        value: function push(node) {\n          this.path.push(node);\n        }\n      }, {\n        key: \"pop\",\n        value: function pop() {\n          return this.path.pop();\n        }\n      }, {\n        key: \"empty\",\n        get: function get() {\n          return !this.path || !this.path.length;\n        }\n      }, {\n        key: \"head\",\n        get: function get() {\n          return this.path[0];\n        }\n      }, {\n        key: \"tail\",\n        get: function get() {\n          return this.path[this.path.length - 1];\n        }\n      }]);\n\n      return AstPath;\n    }();\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var Text$3 =\n    /*#__PURE__*/\n    function () {\n      function Text$3(value, sourceSpan, i18n) {\n        _classCallCheck(this, Text$3);\n\n        this.value = value;\n        this.sourceSpan = sourceSpan;\n        this.i18n = i18n;\n      }\n\n      _createClass2(Text$3, [{\n        key: \"visit\",\n        value: function visit(visitor, context) {\n          return visitor.visitText(this, context);\n        }\n      }]);\n\n      return Text$3;\n    }();\n\n    var Expansion =\n    /*#__PURE__*/\n    function () {\n      function Expansion(switchValue, type, cases, sourceSpan, switchValueSourceSpan, i18n) {\n        _classCallCheck(this, Expansion);\n\n        this.switchValue = switchValue;\n        this.type = type;\n        this.cases = cases;\n        this.sourceSpan = sourceSpan;\n        this.switchValueSourceSpan = switchValueSourceSpan;\n        this.i18n = i18n;\n      }\n\n      _createClass2(Expansion, [{\n        key: \"visit\",\n        value: function visit(visitor, context) {\n          return visitor.visitExpansion(this, context);\n        }\n      }]);\n\n      return Expansion;\n    }();\n\n    var ExpansionCase =\n    /*#__PURE__*/\n    function () {\n      function ExpansionCase(value, expression, sourceSpan, valueSourceSpan, expSourceSpan) {\n        _classCallCheck(this, ExpansionCase);\n\n        this.value = value;\n        this.expression = expression;\n        this.sourceSpan = sourceSpan;\n        this.valueSourceSpan = valueSourceSpan;\n        this.expSourceSpan = expSourceSpan;\n      }\n\n      _createClass2(ExpansionCase, [{\n        key: \"visit\",\n        value: function visit(visitor, context) {\n          return visitor.visitExpansionCase(this, context);\n        }\n      }]);\n\n      return ExpansionCase;\n    }();\n\n    var Attribute =\n    /*#__PURE__*/\n    function () {\n      function Attribute(name, value, sourceSpan, valueSpan, i18n) {\n        _classCallCheck(this, Attribute);\n\n        this.name = name;\n        this.value = value;\n        this.sourceSpan = sourceSpan;\n        this.valueSpan = valueSpan;\n        this.i18n = i18n;\n      }\n\n      _createClass2(Attribute, [{\n        key: \"visit\",\n        value: function visit(visitor, context) {\n          return visitor.visitAttribute(this, context);\n        }\n      }]);\n\n      return Attribute;\n    }();\n\n    var Element$1 =\n    /*#__PURE__*/\n    function () {\n      function Element$1(name, attrs, children, sourceSpan) {\n        var startSourceSpan = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : null;\n        var endSourceSpan = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : null;\n        var i18n = arguments.length > 6 ? arguments[6] : undefined;\n\n        _classCallCheck(this, Element$1);\n\n        this.name = name;\n        this.attrs = attrs;\n        this.children = children;\n        this.sourceSpan = sourceSpan;\n        this.startSourceSpan = startSourceSpan;\n        this.endSourceSpan = endSourceSpan;\n        this.i18n = i18n;\n      }\n\n      _createClass2(Element$1, [{\n        key: \"visit\",\n        value: function visit(visitor, context) {\n          return visitor.visitElement(this, context);\n        }\n      }]);\n\n      return Element$1;\n    }();\n\n    var Comment =\n    /*#__PURE__*/\n    function () {\n      function Comment(value, sourceSpan) {\n        _classCallCheck(this, Comment);\n\n        this.value = value;\n        this.sourceSpan = sourceSpan;\n      }\n\n      _createClass2(Comment, [{\n        key: \"visit\",\n        value: function visit(visitor, context) {\n          return visitor.visitComment(this, context);\n        }\n      }]);\n\n      return Comment;\n    }();\n\n    function visitAll$1(visitor, nodes) {\n      var context = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n      var result = [];\n      var visit = visitor.visit ? function (ast) {\n        return visitor.visit(ast, context) || ast.visit(visitor, context);\n      } : function (ast) {\n        return ast.visit(visitor, context);\n      };\n      nodes.forEach(function (ast) {\n        var astResult = visit(ast);\n\n        if (astResult) {\n          result.push(astResult);\n        }\n      });\n      return result;\n    }\n\n    var RecursiveVisitor$1 =\n    /*#__PURE__*/\n    function () {\n      function RecursiveVisitor$1() {\n        _classCallCheck(this, RecursiveVisitor$1);\n      }\n\n      _createClass2(RecursiveVisitor$1, [{\n        key: \"visitElement\",\n        value: function visitElement(ast, context) {\n          this.visitChildren(context, function (visit) {\n            visit(ast.attrs);\n            visit(ast.children);\n          });\n        }\n      }, {\n        key: \"visitAttribute\",\n        value: function visitAttribute(ast, context) {}\n      }, {\n        key: \"visitText\",\n        value: function visitText(ast, context) {}\n      }, {\n        key: \"visitComment\",\n        value: function visitComment(ast, context) {}\n      }, {\n        key: \"visitExpansion\",\n        value: function visitExpansion(ast, context) {\n          return this.visitChildren(context, function (visit) {\n            visit(ast.cases);\n          });\n        }\n      }, {\n        key: \"visitExpansionCase\",\n        value: function visitExpansionCase(ast, context) {}\n      }, {\n        key: \"visitChildren\",\n        value: function visitChildren(context, cb) {\n          var results = [];\n          var t = this;\n\n          function visit(children) {\n            if (children) results.push(visitAll$1(t, children, context));\n          }\n\n          cb(visit);\n          return Array.prototype.concat.apply([], results);\n        }\n      }]);\n\n      return RecursiveVisitor$1;\n    }();\n\n    function spanOf(ast) {\n      var start = ast.sourceSpan.start.offset;\n      var end = ast.sourceSpan.end.offset;\n\n      if (ast instanceof Element$1) {\n        if (ast.endSourceSpan) {\n          end = ast.endSourceSpan.end.offset;\n        } else if (ast.children && ast.children.length) {\n          end = spanOf(ast.children[ast.children.length - 1]).end;\n        }\n      }\n\n      return {\n        start: start,\n        end: end\n      };\n    }\n\n    function findNode(nodes, position) {\n      var path = [];\n      var visitor = new (\n      /*#__PURE__*/\n      function (_RecursiveVisitor$) {\n        _inherits(_class, _RecursiveVisitor$);\n\n        function _class() {\n          _classCallCheck(this, _class);\n\n          return _possibleConstructorReturn(this, _getPrototypeOf(_class).apply(this, arguments));\n        }\n\n        _createClass2(_class, [{\n          key: \"visit\",\n          value: function visit(ast, context) {\n            var span = spanOf(ast);\n\n            if (span.start <= position && position < span.end) {\n              path.push(ast);\n            } else {\n              // Returning a value here will result in the children being skipped.\n              return true;\n            }\n          }\n        }]);\n\n        return _class;\n      }(RecursiveVisitor$1))();\n      visitAll$1(visitor, nodes);\n      return new AstPath(path, position);\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var TokenType;\n\n    (function (TokenType) {\n      TokenType[TokenType[\"TAG_OPEN_START\"] = 0] = \"TAG_OPEN_START\";\n      TokenType[TokenType[\"TAG_OPEN_END\"] = 1] = \"TAG_OPEN_END\";\n      TokenType[TokenType[\"TAG_OPEN_END_VOID\"] = 2] = \"TAG_OPEN_END_VOID\";\n      TokenType[TokenType[\"TAG_CLOSE\"] = 3] = \"TAG_CLOSE\";\n      TokenType[TokenType[\"TEXT\"] = 4] = \"TEXT\";\n      TokenType[TokenType[\"ESCAPABLE_RAW_TEXT\"] = 5] = \"ESCAPABLE_RAW_TEXT\";\n      TokenType[TokenType[\"RAW_TEXT\"] = 6] = \"RAW_TEXT\";\n      TokenType[TokenType[\"COMMENT_START\"] = 7] = \"COMMENT_START\";\n      TokenType[TokenType[\"COMMENT_END\"] = 8] = \"COMMENT_END\";\n      TokenType[TokenType[\"CDATA_START\"] = 9] = \"CDATA_START\";\n      TokenType[TokenType[\"CDATA_END\"] = 10] = \"CDATA_END\";\n      TokenType[TokenType[\"ATTR_NAME\"] = 11] = \"ATTR_NAME\";\n      TokenType[TokenType[\"ATTR_QUOTE\"] = 12] = \"ATTR_QUOTE\";\n      TokenType[TokenType[\"ATTR_VALUE\"] = 13] = \"ATTR_VALUE\";\n      TokenType[TokenType[\"DOC_TYPE\"] = 14] = \"DOC_TYPE\";\n      TokenType[TokenType[\"EXPANSION_FORM_START\"] = 15] = \"EXPANSION_FORM_START\";\n      TokenType[TokenType[\"EXPANSION_CASE_VALUE\"] = 16] = \"EXPANSION_CASE_VALUE\";\n      TokenType[TokenType[\"EXPANSION_CASE_EXP_START\"] = 17] = \"EXPANSION_CASE_EXP_START\";\n      TokenType[TokenType[\"EXPANSION_CASE_EXP_END\"] = 18] = \"EXPANSION_CASE_EXP_END\";\n      TokenType[TokenType[\"EXPANSION_FORM_END\"] = 19] = \"EXPANSION_FORM_END\";\n      TokenType[TokenType[\"EOF\"] = 20] = \"EOF\";\n    })(TokenType || (TokenType = {}));\n\n    var Token = function Token(type, parts, sourceSpan) {\n      _classCallCheck(this, Token);\n\n      this.type = type;\n      this.parts = parts;\n      this.sourceSpan = sourceSpan;\n    };\n\n    var TokenError =\n    /*#__PURE__*/\n    function (_ParseError) {\n      _inherits(TokenError, _ParseError);\n\n      function TokenError(errorMsg, tokenType, span) {\n        var _this265;\n\n        _classCallCheck(this, TokenError);\n\n        _this265 = _possibleConstructorReturn(this, _getPrototypeOf(TokenError).call(this, span, errorMsg));\n        _this265.tokenType = tokenType;\n        return _this265;\n      }\n\n      return TokenError;\n    }(ParseError);\n\n    var TokenizeResult = function TokenizeResult(tokens, errors) {\n      _classCallCheck(this, TokenizeResult);\n\n      this.tokens = tokens;\n      this.errors = errors;\n    };\n\n    function tokenize(source, url, getTagDefinition) {\n      var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n      return new _Tokenizer(new ParseSourceFile(source, url), getTagDefinition, options).tokenize();\n    }\n\n    var _CR_OR_CRLF_REGEXP = /\\r\\n?/g;\n\n    function _unexpectedCharacterErrorMsg(charCode) {\n      var char = charCode === $EOF ? 'EOF' : String.fromCharCode(charCode);\n      return \"Unexpected character \\\"\".concat(char, \"\\\"\");\n    }\n\n    function _unknownEntityErrorMsg(entitySrc) {\n      return \"Unknown entity \\\"\".concat(entitySrc, \"\\\" - use the \\\"&#<decimal>;\\\" or  \\\"&#x<hex>;\\\" syntax\");\n    }\n\n    var _ControlFlowError = function _ControlFlowError(error) {\n      _classCallCheck(this, _ControlFlowError);\n\n      this.error = error;\n    }; // See http://www.w3.org/TR/html51/syntax.html#writing\n\n\n    var _Tokenizer =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param _file The html source file being tokenized.\n       * @param _getTagDefinition A function that will retrieve a tag definition for a given tag name.\n       * @param options Configuration of the tokenization.\n       */\n      function _Tokenizer(_file, _getTagDefinition, options) {\n        _classCallCheck(this, _Tokenizer);\n\n        this._getTagDefinition = _getTagDefinition;\n        this._currentTokenStart = null;\n        this._currentTokenType = null;\n        this._expansionCaseStack = [];\n        this._inInterpolation = false;\n        this.tokens = [];\n        this.errors = [];\n        this._tokenizeIcu = options.tokenizeExpansionForms || false;\n        this._interpolationConfig = options.interpolationConfig || DEFAULT_INTERPOLATION_CONFIG;\n        this._leadingTriviaCodePoints = options.leadingTriviaChars && options.leadingTriviaChars.map(function (c) {\n          return c.codePointAt(0) || 0;\n        });\n        var range = options.range || {\n          endPos: _file.content.length,\n          startPos: 0,\n          startLine: 0,\n          startCol: 0\n        };\n        this._cursor = options.escapedString ? new EscapedCharacterCursor(_file, range) : new PlainCharacterCursor(_file, range);\n\n        try {\n          this._cursor.init();\n        } catch (e) {\n          this.handleError(e);\n        }\n      }\n\n      _createClass2(_Tokenizer, [{\n        key: \"_processCarriageReturns\",\n        value: function _processCarriageReturns(content) {\n          // http://www.w3.org/TR/html5/syntax.html#preprocessing-the-input-stream\n          // In order to keep the original position in the source, we can not\n          // pre-process it.\n          // Instead CRs are processed right before instantiating the tokens.\n          return content.replace(_CR_OR_CRLF_REGEXP, '\\n');\n        }\n      }, {\n        key: \"tokenize\",\n        value: function tokenize() {\n          while (this._cursor.peek() !== $EOF) {\n            var start = this._cursor.clone();\n\n            try {\n              if (this._attemptCharCode($LT)) {\n                if (this._attemptCharCode($BANG)) {\n                  if (this._attemptCharCode($LBRACKET)) {\n                    this._consumeCdata(start);\n                  } else if (this._attemptCharCode($MINUS)) {\n                    this._consumeComment(start);\n                  } else {\n                    this._consumeDocType(start);\n                  }\n                } else if (this._attemptCharCode($SLASH)) {\n                  this._consumeTagClose(start);\n                } else {\n                  this._consumeTagOpen(start);\n                }\n              } else if (!(this._tokenizeIcu && this._tokenizeExpansionForm())) {\n                this._consumeText();\n              }\n            } catch (e) {\n              this.handleError(e);\n            }\n          }\n\n          this._beginToken(TokenType.EOF);\n\n          this._endToken([]);\n\n          return new TokenizeResult(mergeTextTokens(this.tokens), this.errors);\n        }\n        /**\n         * @returns whether an ICU token has been created\n         * @internal\n         */\n\n      }, {\n        key: \"_tokenizeExpansionForm\",\n        value: function _tokenizeExpansionForm() {\n          if (this.isExpansionFormStart()) {\n            this._consumeExpansionFormStart();\n\n            return true;\n          }\n\n          if (isExpansionCaseStart(this._cursor.peek()) && this._isInExpansionForm()) {\n            this._consumeExpansionCaseStart();\n\n            return true;\n          }\n\n          if (this._cursor.peek() === $RBRACE) {\n            if (this._isInExpansionCase()) {\n              this._consumeExpansionCaseEnd();\n\n              return true;\n            }\n\n            if (this._isInExpansionForm()) {\n              this._consumeExpansionFormEnd();\n\n              return true;\n            }\n          }\n\n          return false;\n        }\n      }, {\n        key: \"_beginToken\",\n        value: function _beginToken(type) {\n          var start = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this._cursor.clone();\n          this._currentTokenStart = start;\n          this._currentTokenType = type;\n        }\n      }, {\n        key: \"_endToken\",\n        value: function _endToken(parts) {\n          var end = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this._cursor.clone();\n\n          if (this._currentTokenStart === null) {\n            throw new TokenError('Programming error - attempted to end a token when there was no start to the token', this._currentTokenType, this._cursor.getSpan(end));\n          }\n\n          if (this._currentTokenType === null) {\n            throw new TokenError('Programming error - attempted to end a token which has no token type', null, this._cursor.getSpan(this._currentTokenStart));\n          }\n\n          var token = new Token(this._currentTokenType, parts, this._cursor.getSpan(this._currentTokenStart, this._leadingTriviaCodePoints));\n          this.tokens.push(token);\n          this._currentTokenStart = null;\n          this._currentTokenType = null;\n          return token;\n        }\n      }, {\n        key: \"_createError\",\n        value: function _createError(msg, span) {\n          if (this._isInExpansionForm()) {\n            msg += \" (Do you have an unescaped \\\"{\\\" in your template? Use \\\"{{ '{' }}\\\") to escape it.)\";\n          }\n\n          var error = new TokenError(msg, this._currentTokenType, span);\n          this._currentTokenStart = null;\n          this._currentTokenType = null;\n          return new _ControlFlowError(error);\n        }\n      }, {\n        key: \"handleError\",\n        value: function handleError(e) {\n          if (e instanceof CursorError) {\n            e = this._createError(e.msg, this._cursor.getSpan(e.cursor));\n          }\n\n          if (e instanceof _ControlFlowError) {\n            this.errors.push(e.error);\n          } else {\n            throw e;\n          }\n        }\n      }, {\n        key: \"_attemptCharCode\",\n        value: function _attemptCharCode(charCode) {\n          if (this._cursor.peek() === charCode) {\n            this._cursor.advance();\n\n            return true;\n          }\n\n          return false;\n        }\n      }, {\n        key: \"_attemptCharCodeCaseInsensitive\",\n        value: function _attemptCharCodeCaseInsensitive(charCode) {\n          if (compareCharCodeCaseInsensitive(this._cursor.peek(), charCode)) {\n            this._cursor.advance();\n\n            return true;\n          }\n\n          return false;\n        }\n      }, {\n        key: \"_requireCharCode\",\n        value: function _requireCharCode(charCode) {\n          var location = this._cursor.clone();\n\n          if (!this._attemptCharCode(charCode)) {\n            throw this._createError(_unexpectedCharacterErrorMsg(this._cursor.peek()), this._cursor.getSpan(location));\n          }\n        }\n      }, {\n        key: \"_attemptStr\",\n        value: function _attemptStr(chars) {\n          var len = chars.length;\n\n          if (this._cursor.charsLeft() < len) {\n            return false;\n          }\n\n          var initialPosition = this._cursor.clone();\n\n          for (var i = 0; i < len; i++) {\n            if (!this._attemptCharCode(chars.charCodeAt(i))) {\n              // If attempting to parse the string fails, we want to reset the parser\n              // to where it was before the attempt\n              this._cursor = initialPosition;\n              return false;\n            }\n          }\n\n          return true;\n        }\n      }, {\n        key: \"_attemptStrCaseInsensitive\",\n        value: function _attemptStrCaseInsensitive(chars) {\n          for (var i = 0; i < chars.length; i++) {\n            if (!this._attemptCharCodeCaseInsensitive(chars.charCodeAt(i))) {\n              return false;\n            }\n          }\n\n          return true;\n        }\n      }, {\n        key: \"_requireStr\",\n        value: function _requireStr(chars) {\n          var location = this._cursor.clone();\n\n          if (!this._attemptStr(chars)) {\n            throw this._createError(_unexpectedCharacterErrorMsg(this._cursor.peek()), this._cursor.getSpan(location));\n          }\n        }\n      }, {\n        key: \"_attemptCharCodeUntilFn\",\n        value: function _attemptCharCodeUntilFn(predicate) {\n          while (!predicate(this._cursor.peek())) {\n            this._cursor.advance();\n          }\n        }\n      }, {\n        key: \"_requireCharCodeUntilFn\",\n        value: function _requireCharCodeUntilFn(predicate, len) {\n          var start = this._cursor.clone();\n\n          this._attemptCharCodeUntilFn(predicate);\n\n          var end = this._cursor.clone();\n\n          if (end.diff(start) < len) {\n            throw this._createError(_unexpectedCharacterErrorMsg(this._cursor.peek()), this._cursor.getSpan(start));\n          }\n        }\n      }, {\n        key: \"_attemptUntilChar\",\n        value: function _attemptUntilChar(char) {\n          while (this._cursor.peek() !== char) {\n            this._cursor.advance();\n          }\n        }\n      }, {\n        key: \"_readChar\",\n        value: function _readChar(decodeEntities) {\n          if (decodeEntities && this._cursor.peek() === $AMPERSAND) {\n            return this._decodeEntity();\n          } else {\n            // Don't rely upon reading directly from `_input` as the actual char value\n            // may have been generated from an escape sequence.\n            var char = String.fromCodePoint(this._cursor.peek());\n\n            this._cursor.advance();\n\n            return char;\n          }\n        }\n      }, {\n        key: \"_decodeEntity\",\n        value: function _decodeEntity() {\n          var start = this._cursor.clone();\n\n          this._cursor.advance();\n\n          if (this._attemptCharCode($HASH)) {\n            var isHex = this._attemptCharCode($x) || this._attemptCharCode($X);\n\n            var codeStart = this._cursor.clone();\n\n            this._attemptCharCodeUntilFn(isDigitEntityEnd);\n\n            if (this._cursor.peek() != $SEMICOLON) {\n              throw this._createError(_unexpectedCharacterErrorMsg(this._cursor.peek()), this._cursor.getSpan());\n            }\n\n            var strNum = this._cursor.getChars(codeStart);\n\n            this._cursor.advance();\n\n            try {\n              var charCode = parseInt(strNum, isHex ? 16 : 10);\n              return String.fromCharCode(charCode);\n            } catch (_a) {\n              throw this._createError(_unknownEntityErrorMsg(this._cursor.getChars(start)), this._cursor.getSpan());\n            }\n          } else {\n            var nameStart = this._cursor.clone();\n\n            this._attemptCharCodeUntilFn(isNamedEntityEnd);\n\n            if (this._cursor.peek() != $SEMICOLON) {\n              this._cursor = nameStart;\n              return '&';\n            }\n\n            var name = this._cursor.getChars(nameStart);\n\n            this._cursor.advance();\n\n            var char = NAMED_ENTITIES[name];\n\n            if (!char) {\n              throw this._createError(_unknownEntityErrorMsg(name), this._cursor.getSpan(start));\n            }\n\n            return char;\n          }\n        }\n      }, {\n        key: \"_consumeRawText\",\n        value: function _consumeRawText(decodeEntities, endMarkerPredicate) {\n          this._beginToken(decodeEntities ? TokenType.ESCAPABLE_RAW_TEXT : TokenType.RAW_TEXT);\n\n          var parts = [];\n\n          while (true) {\n            var tagCloseStart = this._cursor.clone();\n\n            var foundEndMarker = endMarkerPredicate();\n            this._cursor = tagCloseStart;\n\n            if (foundEndMarker) {\n              break;\n            }\n\n            parts.push(this._readChar(decodeEntities));\n          }\n\n          return this._endToken([this._processCarriageReturns(parts.join(''))]);\n        }\n      }, {\n        key: \"_consumeComment\",\n        value: function _consumeComment(start) {\n          var _this266 = this;\n\n          this._beginToken(TokenType.COMMENT_START, start);\n\n          this._requireCharCode($MINUS);\n\n          this._endToken([]);\n\n          this._consumeRawText(false, function () {\n            return _this266._attemptStr('-->');\n          });\n\n          this._beginToken(TokenType.COMMENT_END);\n\n          this._requireStr('-->');\n\n          this._endToken([]);\n        }\n      }, {\n        key: \"_consumeCdata\",\n        value: function _consumeCdata(start) {\n          var _this267 = this;\n\n          this._beginToken(TokenType.CDATA_START, start);\n\n          this._requireStr('CDATA[');\n\n          this._endToken([]);\n\n          this._consumeRawText(false, function () {\n            return _this267._attemptStr(']]>');\n          });\n\n          this._beginToken(TokenType.CDATA_END);\n\n          this._requireStr(']]>');\n\n          this._endToken([]);\n        }\n      }, {\n        key: \"_consumeDocType\",\n        value: function _consumeDocType(start) {\n          this._beginToken(TokenType.DOC_TYPE, start);\n\n          var contentStart = this._cursor.clone();\n\n          this._attemptUntilChar($GT);\n\n          var content = this._cursor.getChars(contentStart);\n\n          this._cursor.advance();\n\n          this._endToken([content]);\n        }\n      }, {\n        key: \"_consumePrefixAndName\",\n        value: function _consumePrefixAndName() {\n          var nameOrPrefixStart = this._cursor.clone();\n\n          var prefix = '';\n\n          while (this._cursor.peek() !== $COLON && !isPrefixEnd(this._cursor.peek())) {\n            this._cursor.advance();\n          }\n\n          var nameStart;\n\n          if (this._cursor.peek() === $COLON) {\n            prefix = this._cursor.getChars(nameOrPrefixStart);\n\n            this._cursor.advance();\n\n            nameStart = this._cursor.clone();\n          } else {\n            nameStart = nameOrPrefixStart;\n          }\n\n          this._requireCharCodeUntilFn(isNameEnd, prefix === '' ? 0 : 1);\n\n          var name = this._cursor.getChars(nameStart);\n\n          return [prefix, name];\n        }\n      }, {\n        key: \"_consumeTagOpen\",\n        value: function _consumeTagOpen(start) {\n          var tagName;\n          var prefix;\n          var openTagToken;\n          var tokensBeforeTagOpen = this.tokens.length;\n\n          var innerStart = this._cursor.clone();\n\n          try {\n            if (!isAsciiLetter(this._cursor.peek())) {\n              throw this._createError(_unexpectedCharacterErrorMsg(this._cursor.peek()), this._cursor.getSpan(start));\n            }\n\n            openTagToken = this._consumeTagOpenStart(start);\n            prefix = openTagToken.parts[0];\n            tagName = openTagToken.parts[1];\n\n            this._attemptCharCodeUntilFn(isNotWhitespace);\n\n            while (this._cursor.peek() !== $SLASH && this._cursor.peek() !== $GT) {\n              this._consumeAttributeName();\n\n              this._attemptCharCodeUntilFn(isNotWhitespace);\n\n              if (this._attemptCharCode($EQ)) {\n                this._attemptCharCodeUntilFn(isNotWhitespace);\n\n                this._consumeAttributeValue();\n              }\n\n              this._attemptCharCodeUntilFn(isNotWhitespace);\n            }\n\n            this._consumeTagOpenEnd();\n          } catch (e) {\n            if (e instanceof _ControlFlowError) {\n              // When the start tag is invalid (including invalid \"attributes\"), assume we want a \"<\"\n              this._cursor = innerStart;\n\n              if (openTagToken) {\n                this.tokens.length = tokensBeforeTagOpen;\n              } // Back to back text tokens are merged at the end\n\n\n              this._beginToken(TokenType.TEXT, start);\n\n              this._endToken(['<']);\n\n              return;\n            }\n\n            throw e;\n          }\n\n          var contentTokenType = this._getTagDefinition(tagName).contentType;\n\n          if (contentTokenType === TagContentType.RAW_TEXT) {\n            this._consumeRawTextWithTagClose(prefix, tagName, false);\n          } else if (contentTokenType === TagContentType.ESCAPABLE_RAW_TEXT) {\n            this._consumeRawTextWithTagClose(prefix, tagName, true);\n          }\n        }\n      }, {\n        key: \"_consumeRawTextWithTagClose\",\n        value: function _consumeRawTextWithTagClose(prefix, tagName, decodeEntities) {\n          var _this268 = this;\n\n          var textToken = this._consumeRawText(decodeEntities, function () {\n            if (!_this268._attemptCharCode($LT)) return false;\n            if (!_this268._attemptCharCode($SLASH)) return false;\n\n            _this268._attemptCharCodeUntilFn(isNotWhitespace);\n\n            if (!_this268._attemptStrCaseInsensitive(tagName)) return false;\n\n            _this268._attemptCharCodeUntilFn(isNotWhitespace);\n\n            return _this268._attemptCharCode($GT);\n          });\n\n          this._beginToken(TokenType.TAG_CLOSE);\n\n          this._requireCharCodeUntilFn(function (code) {\n            return code === $GT;\n          }, 3);\n\n          this._cursor.advance(); // Consume the `>`\n\n\n          this._endToken([prefix, tagName]);\n        }\n      }, {\n        key: \"_consumeTagOpenStart\",\n        value: function _consumeTagOpenStart(start) {\n          this._beginToken(TokenType.TAG_OPEN_START, start);\n\n          var parts = this._consumePrefixAndName();\n\n          return this._endToken(parts);\n        }\n      }, {\n        key: \"_consumeAttributeName\",\n        value: function _consumeAttributeName() {\n          var attrNameStart = this._cursor.peek();\n\n          if (attrNameStart === $SQ || attrNameStart === $DQ) {\n            throw this._createError(_unexpectedCharacterErrorMsg(attrNameStart), this._cursor.getSpan());\n          }\n\n          this._beginToken(TokenType.ATTR_NAME);\n\n          var prefixAndName = this._consumePrefixAndName();\n\n          this._endToken(prefixAndName);\n        }\n      }, {\n        key: \"_consumeAttributeValue\",\n        value: function _consumeAttributeValue() {\n          var value;\n\n          if (this._cursor.peek() === $SQ || this._cursor.peek() === $DQ) {\n            this._beginToken(TokenType.ATTR_QUOTE);\n\n            var quoteChar = this._cursor.peek();\n\n            this._cursor.advance();\n\n            this._endToken([String.fromCodePoint(quoteChar)]);\n\n            this._beginToken(TokenType.ATTR_VALUE);\n\n            var parts = [];\n\n            while (this._cursor.peek() !== quoteChar) {\n              parts.push(this._readChar(true));\n            }\n\n            value = parts.join('');\n\n            this._endToken([this._processCarriageReturns(value)]);\n\n            this._beginToken(TokenType.ATTR_QUOTE);\n\n            this._cursor.advance();\n\n            this._endToken([String.fromCodePoint(quoteChar)]);\n          } else {\n            this._beginToken(TokenType.ATTR_VALUE);\n\n            var valueStart = this._cursor.clone();\n\n            this._requireCharCodeUntilFn(isNameEnd, 1);\n\n            value = this._cursor.getChars(valueStart);\n\n            this._endToken([this._processCarriageReturns(value)]);\n          }\n        }\n      }, {\n        key: \"_consumeTagOpenEnd\",\n        value: function _consumeTagOpenEnd() {\n          var tokenType = this._attemptCharCode($SLASH) ? TokenType.TAG_OPEN_END_VOID : TokenType.TAG_OPEN_END;\n\n          this._beginToken(tokenType);\n\n          this._requireCharCode($GT);\n\n          this._endToken([]);\n        }\n      }, {\n        key: \"_consumeTagClose\",\n        value: function _consumeTagClose(start) {\n          this._beginToken(TokenType.TAG_CLOSE, start);\n\n          this._attemptCharCodeUntilFn(isNotWhitespace);\n\n          var prefixAndName = this._consumePrefixAndName();\n\n          this._attemptCharCodeUntilFn(isNotWhitespace);\n\n          this._requireCharCode($GT);\n\n          this._endToken(prefixAndName);\n        }\n      }, {\n        key: \"_consumeExpansionFormStart\",\n        value: function _consumeExpansionFormStart() {\n          this._beginToken(TokenType.EXPANSION_FORM_START);\n\n          this._requireCharCode($LBRACE);\n\n          this._endToken([]);\n\n          this._expansionCaseStack.push(TokenType.EXPANSION_FORM_START);\n\n          this._beginToken(TokenType.RAW_TEXT);\n\n          var condition = this._readUntil($COMMA);\n\n          this._endToken([condition]);\n\n          this._requireCharCode($COMMA);\n\n          this._attemptCharCodeUntilFn(isNotWhitespace);\n\n          this._beginToken(TokenType.RAW_TEXT);\n\n          var type = this._readUntil($COMMA);\n\n          this._endToken([type]);\n\n          this._requireCharCode($COMMA);\n\n          this._attemptCharCodeUntilFn(isNotWhitespace);\n        }\n      }, {\n        key: \"_consumeExpansionCaseStart\",\n        value: function _consumeExpansionCaseStart() {\n          this._beginToken(TokenType.EXPANSION_CASE_VALUE);\n\n          var value = this._readUntil($LBRACE).trim();\n\n          this._endToken([value]);\n\n          this._attemptCharCodeUntilFn(isNotWhitespace);\n\n          this._beginToken(TokenType.EXPANSION_CASE_EXP_START);\n\n          this._requireCharCode($LBRACE);\n\n          this._endToken([]);\n\n          this._attemptCharCodeUntilFn(isNotWhitespace);\n\n          this._expansionCaseStack.push(TokenType.EXPANSION_CASE_EXP_START);\n        }\n      }, {\n        key: \"_consumeExpansionCaseEnd\",\n        value: function _consumeExpansionCaseEnd() {\n          this._beginToken(TokenType.EXPANSION_CASE_EXP_END);\n\n          this._requireCharCode($RBRACE);\n\n          this._endToken([]);\n\n          this._attemptCharCodeUntilFn(isNotWhitespace);\n\n          this._expansionCaseStack.pop();\n        }\n      }, {\n        key: \"_consumeExpansionFormEnd\",\n        value: function _consumeExpansionFormEnd() {\n          this._beginToken(TokenType.EXPANSION_FORM_END);\n\n          this._requireCharCode($RBRACE);\n\n          this._endToken([]);\n\n          this._expansionCaseStack.pop();\n        }\n      }, {\n        key: \"_consumeText\",\n        value: function _consumeText() {\n          var start = this._cursor.clone();\n\n          this._beginToken(TokenType.TEXT, start);\n\n          var parts = [];\n\n          do {\n            if (this._interpolationConfig && this._attemptStr(this._interpolationConfig.start)) {\n              parts.push(this._interpolationConfig.start);\n              this._inInterpolation = true;\n            } else if (this._interpolationConfig && this._inInterpolation && this._attemptStr(this._interpolationConfig.end)) {\n              parts.push(this._interpolationConfig.end);\n              this._inInterpolation = false;\n            } else {\n              parts.push(this._readChar(true));\n            }\n          } while (!this._isTextEnd());\n\n          this._endToken([this._processCarriageReturns(parts.join(''))]);\n        }\n      }, {\n        key: \"_isTextEnd\",\n        value: function _isTextEnd() {\n          if (this._cursor.peek() === $LT || this._cursor.peek() === $EOF) {\n            return true;\n          }\n\n          if (this._tokenizeIcu && !this._inInterpolation) {\n            if (this.isExpansionFormStart()) {\n              // start of an expansion form\n              return true;\n            }\n\n            if (this._cursor.peek() === $RBRACE && this._isInExpansionCase()) {\n              // end of and expansion case\n              return true;\n            }\n          }\n\n          return false;\n        }\n      }, {\n        key: \"_readUntil\",\n        value: function _readUntil(char) {\n          var start = this._cursor.clone();\n\n          this._attemptUntilChar(char);\n\n          return this._cursor.getChars(start);\n        }\n      }, {\n        key: \"_isInExpansionCase\",\n        value: function _isInExpansionCase() {\n          return this._expansionCaseStack.length > 0 && this._expansionCaseStack[this._expansionCaseStack.length - 1] === TokenType.EXPANSION_CASE_EXP_START;\n        }\n      }, {\n        key: \"_isInExpansionForm\",\n        value: function _isInExpansionForm() {\n          return this._expansionCaseStack.length > 0 && this._expansionCaseStack[this._expansionCaseStack.length - 1] === TokenType.EXPANSION_FORM_START;\n        }\n      }, {\n        key: \"isExpansionFormStart\",\n        value: function isExpansionFormStart() {\n          if (this._cursor.peek() !== $LBRACE) {\n            return false;\n          }\n\n          if (this._interpolationConfig) {\n            var start = this._cursor.clone();\n\n            var isInterpolation = this._attemptStr(this._interpolationConfig.start);\n\n            this._cursor = start;\n            return !isInterpolation;\n          }\n\n          return true;\n        }\n      }]);\n\n      return _Tokenizer;\n    }();\n\n    function isNotWhitespace(code) {\n      return !isWhitespace(code) || code === $EOF;\n    }\n\n    function isNameEnd(code) {\n      return isWhitespace(code) || code === $GT || code === $SLASH || code === $SQ || code === $DQ || code === $EQ;\n    }\n\n    function isPrefixEnd(code) {\n      return (code < $a || $z < code) && (code < $A || $Z < code) && (code < $0 || code > $9);\n    }\n\n    function isDigitEntityEnd(code) {\n      return code == $SEMICOLON || code == $EOF || !isAsciiHexDigit(code);\n    }\n\n    function isNamedEntityEnd(code) {\n      return code == $SEMICOLON || code == $EOF || !isAsciiLetter(code);\n    }\n\n    function isExpansionCaseStart(peek) {\n      return peek === $EQ || isAsciiLetter(peek) || isDigit(peek);\n    }\n\n    function compareCharCodeCaseInsensitive(code1, code2) {\n      return toUpperCaseCharCode(code1) == toUpperCaseCharCode(code2);\n    }\n\n    function toUpperCaseCharCode(code) {\n      return code >= $a && code <= $z ? code - $a + $A : code;\n    }\n\n    function mergeTextTokens(srcTokens) {\n      var dstTokens = [];\n      var lastDstToken = undefined;\n\n      for (var i = 0; i < srcTokens.length; i++) {\n        var token = srcTokens[i];\n\n        if (lastDstToken && lastDstToken.type == TokenType.TEXT && token.type == TokenType.TEXT) {\n          lastDstToken.parts[0] += token.parts[0];\n          lastDstToken.sourceSpan.end = token.sourceSpan.end;\n        } else {\n          lastDstToken = token;\n          dstTokens.push(lastDstToken);\n        }\n      }\n\n      return dstTokens;\n    }\n\n    var PlainCharacterCursor =\n    /*#__PURE__*/\n    function () {\n      function PlainCharacterCursor(fileOrCursor, range) {\n        _classCallCheck(this, PlainCharacterCursor);\n\n        if (fileOrCursor instanceof PlainCharacterCursor) {\n          this.file = fileOrCursor.file;\n          this.input = fileOrCursor.input;\n          this.end = fileOrCursor.end;\n          this.state = Object.assign({}, fileOrCursor.state);\n        } else {\n          if (!range) {\n            throw new Error('Programming error: the range argument must be provided with a file argument.');\n          }\n\n          this.file = fileOrCursor;\n          this.input = fileOrCursor.content;\n          this.end = range.endPos;\n          this.state = {\n            peek: -1,\n            offset: range.startPos,\n            line: range.startLine,\n            column: range.startCol\n          };\n        }\n      }\n\n      _createClass2(PlainCharacterCursor, [{\n        key: \"clone\",\n        value: function clone() {\n          return new PlainCharacterCursor(this);\n        }\n      }, {\n        key: \"peek\",\n        value: function peek() {\n          return this.state.peek;\n        }\n      }, {\n        key: \"charsLeft\",\n        value: function charsLeft() {\n          return this.end - this.state.offset;\n        }\n      }, {\n        key: \"diff\",\n        value: function diff(other) {\n          return this.state.offset - other.state.offset;\n        }\n      }, {\n        key: \"advance\",\n        value: function advance() {\n          this.advanceState(this.state);\n        }\n      }, {\n        key: \"init\",\n        value: function init() {\n          this.updatePeek(this.state);\n        }\n      }, {\n        key: \"getSpan\",\n        value: function getSpan(start, leadingTriviaCodePoints) {\n          start = start || this;\n\n          if (leadingTriviaCodePoints) {\n            start = start.clone();\n\n            while (this.diff(start) > 0 && leadingTriviaCodePoints.indexOf(start.peek()) !== -1) {\n              start.advance();\n            }\n          }\n\n          return new ParseSourceSpan(new ParseLocation(start.file, start.state.offset, start.state.line, start.state.column), new ParseLocation(this.file, this.state.offset, this.state.line, this.state.column));\n        }\n      }, {\n        key: \"getChars\",\n        value: function getChars(start) {\n          return this.input.substring(start.state.offset, this.state.offset);\n        }\n      }, {\n        key: \"charAt\",\n        value: function charAt(pos) {\n          return this.input.charCodeAt(pos);\n        }\n      }, {\n        key: \"advanceState\",\n        value: function advanceState(state) {\n          if (state.offset >= this.end) {\n            this.state = state;\n            throw new CursorError('Unexpected character \"EOF\"', this);\n          }\n\n          var currentChar = this.charAt(state.offset);\n\n          if (currentChar === $LF) {\n            state.line++;\n            state.column = 0;\n          } else if (!isNewLine(currentChar)) {\n            state.column++;\n          }\n\n          state.offset++;\n          this.updatePeek(state);\n        }\n      }, {\n        key: \"updatePeek\",\n        value: function updatePeek(state) {\n          state.peek = state.offset >= this.end ? $EOF : this.charAt(state.offset);\n        }\n      }]);\n\n      return PlainCharacterCursor;\n    }();\n\n    var EscapedCharacterCursor =\n    /*#__PURE__*/\n    function (_PlainCharacterCursor) {\n      _inherits(EscapedCharacterCursor, _PlainCharacterCursor);\n\n      function EscapedCharacterCursor(fileOrCursor, range) {\n        var _this269;\n\n        _classCallCheck(this, EscapedCharacterCursor);\n\n        if (fileOrCursor instanceof EscapedCharacterCursor) {\n          _this269 = _possibleConstructorReturn(this, _getPrototypeOf(EscapedCharacterCursor).call(this, fileOrCursor));\n          _this269.internalState = Object.assign({}, fileOrCursor.internalState);\n        } else {\n          _this269 = _possibleConstructorReturn(this, _getPrototypeOf(EscapedCharacterCursor).call(this, fileOrCursor, range));\n          _this269.internalState = _this269.state;\n        }\n\n        return _possibleConstructorReturn(_this269);\n      }\n\n      _createClass2(EscapedCharacterCursor, [{\n        key: \"advance\",\n        value: function advance() {\n          this.state = this.internalState;\n\n          _get(_getPrototypeOf(EscapedCharacterCursor.prototype), \"advance\", this).call(this);\n\n          this.processEscapeSequence();\n        }\n      }, {\n        key: \"init\",\n        value: function init() {\n          _get(_getPrototypeOf(EscapedCharacterCursor.prototype), \"init\", this).call(this);\n\n          this.processEscapeSequence();\n        }\n      }, {\n        key: \"clone\",\n        value: function clone() {\n          return new EscapedCharacterCursor(this);\n        }\n      }, {\n        key: \"getChars\",\n        value: function getChars(start) {\n          var cursor = start.clone();\n          var chars = '';\n\n          while (cursor.internalState.offset < this.internalState.offset) {\n            chars += String.fromCodePoint(cursor.peek());\n            cursor.advance();\n          }\n\n          return chars;\n        }\n        /**\n         * Process the escape sequence that starts at the current position in the text.\n         *\n         * This method is called to ensure that `peek` has the unescaped value of escape sequences.\n         */\n\n      }, {\n        key: \"processEscapeSequence\",\n        value: function processEscapeSequence() {\n          var _this270 = this;\n\n          var peek = function peek() {\n            return _this270.internalState.peek;\n          };\n\n          if (peek() === $BACKSLASH) {\n            // We have hit an escape sequence so we need the internal state to become independent\n            // of the external state.\n            this.internalState = Object.assign({}, this.state); // Move past the backslash\n\n            this.advanceState(this.internalState); // First check for standard control char sequences\n\n            if (peek() === $n) {\n              this.state.peek = $LF;\n            } else if (peek() === $r) {\n              this.state.peek = $CR;\n            } else if (peek() === $v) {\n              this.state.peek = $VTAB;\n            } else if (peek() === $t) {\n              this.state.peek = $TAB;\n            } else if (peek() === $b) {\n              this.state.peek = $BSPACE;\n            } else if (peek() === $f) {\n              this.state.peek = $FF;\n            } // Now consider more complex sequences\n            else if (peek() === $u) {\n                // Unicode code-point sequence\n                this.advanceState(this.internalState); // advance past the `u` char\n\n                if (peek() === $LBRACE) {\n                  // Variable length Unicode, e.g. `\\x{123}`\n                  this.advanceState(this.internalState); // advance past the `{` char\n                  // Advance past the variable number of hex digits until we hit a `}` char\n\n                  var digitStart = this.clone();\n                  var length = 0;\n\n                  while (peek() !== $RBRACE) {\n                    this.advanceState(this.internalState);\n                    length++;\n                  }\n\n                  this.state.peek = this.decodeHexDigits(digitStart, length);\n                } else {\n                  // Fixed length Unicode, e.g. `\\u1234`\n                  var _digitStart = this.clone();\n\n                  this.advanceState(this.internalState);\n                  this.advanceState(this.internalState);\n                  this.advanceState(this.internalState);\n                  this.state.peek = this.decodeHexDigits(_digitStart, 4);\n                }\n              } else if (peek() === $x) {\n                // Hex char code, e.g. `\\x2F`\n                this.advanceState(this.internalState); // advance past the `x` char\n\n                var _digitStart2 = this.clone();\n\n                this.advanceState(this.internalState);\n                this.state.peek = this.decodeHexDigits(_digitStart2, 2);\n              } else if (isOctalDigit(peek())) {\n                // Octal char code, e.g. `\\012`,\n                var octal = '';\n                var _length = 0;\n                var previous = this.clone();\n\n                while (isOctalDigit(peek()) && _length < 3) {\n                  previous = this.clone();\n                  octal += String.fromCodePoint(peek());\n                  this.advanceState(this.internalState);\n                  _length++;\n                }\n\n                this.state.peek = parseInt(octal, 8); // Backup one char\n\n                this.internalState = previous.internalState;\n              } else if (isNewLine(this.internalState.peek)) {\n                // Line continuation `\\` followed by a new line\n                this.advanceState(this.internalState); // advance over the newline\n\n                this.state = this.internalState;\n              } else {\n                // If none of the `if` blocks were executed then we just have an escaped normal character.\n                // In that case we just, effectively, skip the backslash from the character.\n                this.state.peek = this.internalState.peek;\n              }\n          }\n        }\n      }, {\n        key: \"decodeHexDigits\",\n        value: function decodeHexDigits(start, length) {\n          var hex = this.input.substr(start.internalState.offset, length);\n          var charCode = parseInt(hex, 16);\n\n          if (!isNaN(charCode)) {\n            return charCode;\n          } else {\n            start.state = start.internalState;\n            throw new CursorError('Invalid hexadecimal escape sequence', start);\n          }\n        }\n      }]);\n\n      return EscapedCharacterCursor;\n    }(PlainCharacterCursor);\n\n    var CursorError = function CursorError(msg, cursor) {\n      _classCallCheck(this, CursorError);\n\n      this.msg = msg;\n      this.cursor = cursor;\n    };\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var TreeError =\n    /*#__PURE__*/\n    function (_ParseError2) {\n      _inherits(TreeError, _ParseError2);\n\n      function TreeError(elementName, span, msg) {\n        var _this271;\n\n        _classCallCheck(this, TreeError);\n\n        _this271 = _possibleConstructorReturn(this, _getPrototypeOf(TreeError).call(this, span, msg));\n        _this271.elementName = elementName;\n        return _this271;\n      }\n\n      _createClass2(TreeError, null, [{\n        key: \"create\",\n        value: function create(elementName, span, msg) {\n          return new TreeError(elementName, span, msg);\n        }\n      }]);\n\n      return TreeError;\n    }(ParseError);\n\n    var ParseTreeResult = function ParseTreeResult(rootNodes, errors) {\n      _classCallCheck(this, ParseTreeResult);\n\n      this.rootNodes = rootNodes;\n      this.errors = errors;\n    };\n\n    var Parser =\n    /*#__PURE__*/\n    function () {\n      function Parser(getTagDefinition) {\n        _classCallCheck(this, Parser);\n\n        this.getTagDefinition = getTagDefinition;\n      }\n\n      _createClass2(Parser, [{\n        key: \"parse\",\n        value: function parse(source, url, options) {\n          var tokensAndErrors = tokenize(source, url, this.getTagDefinition, options);\n          var treeAndErrors = new _TreeBuilder(tokensAndErrors.tokens, this.getTagDefinition).build();\n          return new ParseTreeResult(treeAndErrors.rootNodes, tokensAndErrors.errors.concat(treeAndErrors.errors));\n        }\n      }]);\n\n      return Parser;\n    }();\n\n    var _TreeBuilder =\n    /*#__PURE__*/\n    function () {\n      function _TreeBuilder(tokens, getTagDefinition) {\n        _classCallCheck(this, _TreeBuilder);\n\n        this.tokens = tokens;\n        this.getTagDefinition = getTagDefinition;\n        this._index = -1;\n        this._rootNodes = [];\n        this._errors = [];\n        this._elementStack = [];\n\n        this._advance();\n      }\n\n      _createClass2(_TreeBuilder, [{\n        key: \"build\",\n        value: function build() {\n          while (this._peek.type !== TokenType.EOF) {\n            if (this._peek.type === TokenType.TAG_OPEN_START) {\n              this._consumeStartTag(this._advance());\n            } else if (this._peek.type === TokenType.TAG_CLOSE) {\n              this._consumeEndTag(this._advance());\n            } else if (this._peek.type === TokenType.CDATA_START) {\n              this._closeVoidElement();\n\n              this._consumeCdata(this._advance());\n            } else if (this._peek.type === TokenType.COMMENT_START) {\n              this._closeVoidElement();\n\n              this._consumeComment(this._advance());\n            } else if (this._peek.type === TokenType.TEXT || this._peek.type === TokenType.RAW_TEXT || this._peek.type === TokenType.ESCAPABLE_RAW_TEXT) {\n              this._closeVoidElement();\n\n              this._consumeText(this._advance());\n            } else if (this._peek.type === TokenType.EXPANSION_FORM_START) {\n              this._consumeExpansion(this._advance());\n            } else {\n              // Skip all other tokens...\n              this._advance();\n            }\n          }\n\n          return new ParseTreeResult(this._rootNodes, this._errors);\n        }\n      }, {\n        key: \"_advance\",\n        value: function _advance() {\n          var prev = this._peek;\n\n          if (this._index < this.tokens.length - 1) {\n            // Note: there is always an EOF token at the end\n            this._index++;\n          }\n\n          this._peek = this.tokens[this._index];\n          return prev;\n        }\n      }, {\n        key: \"_advanceIf\",\n        value: function _advanceIf(type) {\n          if (this._peek.type === type) {\n            return this._advance();\n          }\n\n          return null;\n        }\n      }, {\n        key: \"_consumeCdata\",\n        value: function _consumeCdata(startToken) {\n          this._consumeText(this._advance());\n\n          this._advanceIf(TokenType.CDATA_END);\n        }\n      }, {\n        key: \"_consumeComment\",\n        value: function _consumeComment(token) {\n          var text = this._advanceIf(TokenType.RAW_TEXT);\n\n          this._advanceIf(TokenType.COMMENT_END);\n\n          var value = text != null ? text.parts[0].trim() : null;\n\n          this._addToParent(new Comment(value, token.sourceSpan));\n        }\n      }, {\n        key: \"_consumeExpansion\",\n        value: function _consumeExpansion(token) {\n          var switchValue = this._advance();\n\n          var type = this._advance();\n\n          var cases = []; // read =\n\n          while (this._peek.type === TokenType.EXPANSION_CASE_VALUE) {\n            var expCase = this._parseExpansionCase();\n\n            if (!expCase) return; // error\n\n            cases.push(expCase);\n          } // read the final }\n\n\n          if (this._peek.type !== TokenType.EXPANSION_FORM_END) {\n            this._errors.push(TreeError.create(null, this._peek.sourceSpan, \"Invalid ICU message. Missing '}'.\"));\n\n            return;\n          }\n\n          var sourceSpan = new ParseSourceSpan(token.sourceSpan.start, this._peek.sourceSpan.end);\n\n          this._addToParent(new Expansion(switchValue.parts[0], type.parts[0], cases, sourceSpan, switchValue.sourceSpan));\n\n          this._advance();\n        }\n      }, {\n        key: \"_parseExpansionCase\",\n        value: function _parseExpansionCase() {\n          var value = this._advance(); // read {\n\n\n          if (this._peek.type !== TokenType.EXPANSION_CASE_EXP_START) {\n            this._errors.push(TreeError.create(null, this._peek.sourceSpan, \"Invalid ICU message. Missing '{'.\"));\n\n            return null;\n          } // read until }\n\n\n          var start = this._advance();\n\n          var exp = this._collectExpansionExpTokens(start);\n\n          if (!exp) return null;\n\n          var end = this._advance();\n\n          exp.push(new Token(TokenType.EOF, [], end.sourceSpan)); // parse everything in between { and }\n\n          var parsedExp = new _TreeBuilder(exp, this.getTagDefinition).build();\n\n          if (parsedExp.errors.length > 0) {\n            this._errors = this._errors.concat(parsedExp.errors);\n            return null;\n          }\n\n          var sourceSpan = new ParseSourceSpan(value.sourceSpan.start, end.sourceSpan.end);\n          var expSourceSpan = new ParseSourceSpan(start.sourceSpan.start, end.sourceSpan.end);\n          return new ExpansionCase(value.parts[0], parsedExp.rootNodes, sourceSpan, value.sourceSpan, expSourceSpan);\n        }\n      }, {\n        key: \"_collectExpansionExpTokens\",\n        value: function _collectExpansionExpTokens(start) {\n          var exp = [];\n          var expansionFormStack = [TokenType.EXPANSION_CASE_EXP_START];\n\n          while (true) {\n            if (this._peek.type === TokenType.EXPANSION_FORM_START || this._peek.type === TokenType.EXPANSION_CASE_EXP_START) {\n              expansionFormStack.push(this._peek.type);\n            }\n\n            if (this._peek.type === TokenType.EXPANSION_CASE_EXP_END) {\n              if (lastOnStack(expansionFormStack, TokenType.EXPANSION_CASE_EXP_START)) {\n                expansionFormStack.pop();\n                if (expansionFormStack.length == 0) return exp;\n              } else {\n                this._errors.push(TreeError.create(null, start.sourceSpan, \"Invalid ICU message. Missing '}'.\"));\n\n                return null;\n              }\n            }\n\n            if (this._peek.type === TokenType.EXPANSION_FORM_END) {\n              if (lastOnStack(expansionFormStack, TokenType.EXPANSION_FORM_START)) {\n                expansionFormStack.pop();\n              } else {\n                this._errors.push(TreeError.create(null, start.sourceSpan, \"Invalid ICU message. Missing '}'.\"));\n\n                return null;\n              }\n            }\n\n            if (this._peek.type === TokenType.EOF) {\n              this._errors.push(TreeError.create(null, start.sourceSpan, \"Invalid ICU message. Missing '}'.\"));\n\n              return null;\n            }\n\n            exp.push(this._advance());\n          }\n        }\n      }, {\n        key: \"_consumeText\",\n        value: function _consumeText(token) {\n          var text = token.parts[0];\n\n          if (text.length > 0 && text[0] == '\\n') {\n            var parent = this._getParentElement();\n\n            if (parent != null && parent.children.length == 0 && this.getTagDefinition(parent.name).ignoreFirstLf) {\n              text = text.substring(1);\n            }\n          }\n\n          if (text.length > 0) {\n            this._addToParent(new Text$3(text, token.sourceSpan));\n          }\n        }\n      }, {\n        key: \"_closeVoidElement\",\n        value: function _closeVoidElement() {\n          var el = this._getParentElement();\n\n          if (el && this.getTagDefinition(el.name).isVoid) {\n            this._elementStack.pop();\n          }\n        }\n      }, {\n        key: \"_consumeStartTag\",\n        value: function _consumeStartTag(startTagToken) {\n          var prefix = startTagToken.parts[0];\n          var name = startTagToken.parts[1];\n          var attrs = [];\n\n          while (this._peek.type === TokenType.ATTR_NAME) {\n            attrs.push(this._consumeAttr(this._advance()));\n          }\n\n          var fullName = this._getElementFullName(prefix, name, this._getParentElement());\n\n          var selfClosing = false; // Note: There could have been a tokenizer error\n          // so that we don't get a token for the end tag...\n\n          if (this._peek.type === TokenType.TAG_OPEN_END_VOID) {\n            this._advance();\n\n            selfClosing = true;\n            var tagDef = this.getTagDefinition(fullName);\n\n            if (!(tagDef.canSelfClose || getNsPrefix(fullName) !== null || tagDef.isVoid)) {\n              this._errors.push(TreeError.create(fullName, startTagToken.sourceSpan, \"Only void and foreign elements can be self closed \\\"\".concat(startTagToken.parts[1], \"\\\"\")));\n            }\n          } else if (this._peek.type === TokenType.TAG_OPEN_END) {\n            this._advance();\n\n            selfClosing = false;\n          }\n\n          var end = this._peek.sourceSpan.start;\n          var span = new ParseSourceSpan(startTagToken.sourceSpan.start, end);\n          var el = new Element$1(fullName, attrs, [], span, span, undefined);\n\n          this._pushElement(el);\n\n          if (selfClosing) {\n            this._popElement(fullName);\n\n            el.endSourceSpan = span;\n          }\n        }\n      }, {\n        key: \"_pushElement\",\n        value: function _pushElement(el) {\n          var parentEl = this._getParentElement();\n\n          if (parentEl && this.getTagDefinition(parentEl.name).isClosedByChild(el.name)) {\n            this._elementStack.pop();\n          }\n\n          this._addToParent(el);\n\n          this._elementStack.push(el);\n        }\n      }, {\n        key: \"_consumeEndTag\",\n        value: function _consumeEndTag(endTagToken) {\n          var fullName = this._getElementFullName(endTagToken.parts[0], endTagToken.parts[1], this._getParentElement());\n\n          if (this._getParentElement()) {\n            this._getParentElement().endSourceSpan = endTagToken.sourceSpan;\n          }\n\n          if (this.getTagDefinition(fullName).isVoid) {\n            this._errors.push(TreeError.create(fullName, endTagToken.sourceSpan, \"Void elements do not have end tags \\\"\".concat(endTagToken.parts[1], \"\\\"\")));\n          } else if (!this._popElement(fullName)) {\n            var errMsg = \"Unexpected closing tag \\\"\".concat(fullName, \"\\\". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags\");\n\n            this._errors.push(TreeError.create(fullName, endTagToken.sourceSpan, errMsg));\n          }\n        }\n      }, {\n        key: \"_popElement\",\n        value: function _popElement(fullName) {\n          for (var stackIndex = this._elementStack.length - 1; stackIndex >= 0; stackIndex--) {\n            var el = this._elementStack[stackIndex];\n\n            if (el.name == fullName) {\n              this._elementStack.splice(stackIndex, this._elementStack.length - stackIndex);\n\n              return true;\n            }\n\n            if (!this.getTagDefinition(el.name).closedByParent) {\n              return false;\n            }\n          }\n\n          return false;\n        }\n      }, {\n        key: \"_consumeAttr\",\n        value: function _consumeAttr(attrName) {\n          var fullName = mergeNsAndName(attrName.parts[0], attrName.parts[1]);\n          var end = attrName.sourceSpan.end;\n          var value = '';\n          var valueSpan = undefined;\n\n          if (this._peek.type === TokenType.ATTR_QUOTE) {\n            this._advance();\n          }\n\n          if (this._peek.type === TokenType.ATTR_VALUE) {\n            var valueToken = this._advance();\n\n            value = valueToken.parts[0];\n            end = valueToken.sourceSpan.end;\n            valueSpan = valueToken.sourceSpan;\n          }\n\n          if (this._peek.type === TokenType.ATTR_QUOTE) {\n            var quoteToken = this._advance();\n\n            end = quoteToken.sourceSpan.end;\n          }\n\n          return new Attribute(fullName, value, new ParseSourceSpan(attrName.sourceSpan.start, end), valueSpan);\n        }\n      }, {\n        key: \"_getParentElement\",\n        value: function _getParentElement() {\n          return this._elementStack.length > 0 ? this._elementStack[this._elementStack.length - 1] : null;\n        }\n        /**\n         * Returns the parent in the DOM and the container.\n         *\n         * `<ng-container>` elements are skipped as they are not rendered as DOM element.\n         */\n\n      }, {\n        key: \"_getParentElementSkippingContainers\",\n        value: function _getParentElementSkippingContainers() {\n          var container = null;\n\n          for (var i = this._elementStack.length - 1; i >= 0; i--) {\n            if (!isNgContainer(this._elementStack[i].name)) {\n              return {\n                parent: this._elementStack[i],\n                container: container\n              };\n            }\n\n            container = this._elementStack[i];\n          }\n\n          return {\n            parent: null,\n            container: container\n          };\n        }\n      }, {\n        key: \"_addToParent\",\n        value: function _addToParent(node) {\n          var parent = this._getParentElement();\n\n          if (parent != null) {\n            parent.children.push(node);\n          } else {\n            this._rootNodes.push(node);\n          }\n        }\n        /**\n         * Insert a node between the parent and the container.\n         * When no container is given, the node is appended as a child of the parent.\n         * Also updates the element stack accordingly.\n         *\n         * @internal\n         */\n\n      }, {\n        key: \"_insertBeforeContainer\",\n        value: function _insertBeforeContainer(parent, container, node) {\n          if (!container) {\n            this._addToParent(node);\n\n            this._elementStack.push(node);\n          } else {\n            if (parent) {\n              // replace the container with the new node in the children\n              var index = parent.children.indexOf(container);\n              parent.children[index] = node;\n            } else {\n              this._rootNodes.push(node);\n            }\n\n            node.children.push(container);\n\n            this._elementStack.splice(this._elementStack.indexOf(container), 0, node);\n          }\n        }\n      }, {\n        key: \"_getElementFullName\",\n        value: function _getElementFullName(prefix, localName, parentElement) {\n          if (prefix === '') {\n            prefix = this.getTagDefinition(localName).implicitNamespacePrefix || '';\n\n            if (prefix === '' && parentElement != null) {\n              prefix = getNsPrefix(parentElement.name);\n            }\n          }\n\n          return mergeNsAndName(prefix, localName);\n        }\n      }]);\n\n      return _TreeBuilder;\n    }();\n\n    function lastOnStack(stack, element) {\n      return stack.length > 0 && stack[stack.length - 1] === element;\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var HtmlParser =\n    /*#__PURE__*/\n    function (_Parser) {\n      _inherits(HtmlParser, _Parser);\n\n      function HtmlParser() {\n        _classCallCheck(this, HtmlParser);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(HtmlParser).call(this, getHtmlTagDefinition));\n      }\n\n      _createClass2(HtmlParser, [{\n        key: \"parse\",\n        value: function parse(source, url, options) {\n          return _get(_getPrototypeOf(HtmlParser.prototype), \"parse\", this).call(this, source, url, options);\n        }\n      }]);\n\n      return HtmlParser;\n    }(Parser);\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var PRESERVE_WS_ATTR_NAME = 'ngPreserveWhitespaces';\n    var SKIP_WS_TRIM_TAGS = new Set(['pre', 'template', 'textarea', 'script', 'style']); // Equivalent to \\s with \\u00a0 (non-breaking space) excluded.\n    // Based on https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp\n\n    var WS_CHARS = \" \\f\\n\\r\\t\\x0B\\u1680\\u180E\\u2000-\\u200A\\u2028\\u2029\\u202F\\u205F\\u3000\\uFEFF\";\n    var NO_WS_REGEXP = new RegExp(\"[^\".concat(WS_CHARS, \"]\"));\n    var WS_REPLACE_REGEXP = new RegExp(\"[\".concat(WS_CHARS, \"]{2,}\"), 'g');\n\n    function hasPreserveWhitespacesAttr(attrs) {\n      return attrs.some(function (attr) {\n        return attr.name === PRESERVE_WS_ATTR_NAME;\n      });\n    }\n    /**\n     * Angular Dart introduced &ngsp; as a placeholder for non-removable space, see:\n     * https://github.com/dart-lang/angular/blob/0bb611387d29d65b5af7f9d2515ab571fd3fbee4/_tests/test/compiler/preserve_whitespace_test.dart#L25-L32\n     * In Angular Dart &ngsp; is converted to the 0xE500 PUA (Private Use Areas) unicode character\n     * and later on replaced by a space. We are re-implementing the same idea here.\n     */\n\n\n    function replaceNgsp(value) {\n      // lexer is replacing the &ngsp; pseudo-entity with NGSP_UNICODE\n      return value.replace(new RegExp(NGSP_UNICODE, 'g'), ' ');\n    }\n    /**\n     * This visitor can walk HTML parse tree and remove / trim text nodes using the following rules:\n     * - consider spaces, tabs and new lines as whitespace characters;\n     * - drop text nodes consisting of whitespace characters only;\n     * - for all other text nodes replace consecutive whitespace characters with one space;\n     * - convert &ngsp; pseudo-entity to a single space;\n     *\n     * Removal and trimming of whitespaces have positive performance impact (less code to generate\n     * while compiling templates, faster view creation). At the same time it can be \"destructive\"\n     * in some cases (whitespaces can influence layout). Because of the potential of breaking layout\n     * this visitor is not activated by default in Angular 5 and people need to explicitly opt-in for\n     * whitespace removal. The default option for whitespace removal will be revisited in Angular 6\n     * and might be changed to \"on\" by default.\n     */\n\n\n    var WhitespaceVisitor =\n    /*#__PURE__*/\n    function () {\n      function WhitespaceVisitor() {\n        _classCallCheck(this, WhitespaceVisitor);\n      }\n\n      _createClass2(WhitespaceVisitor, [{\n        key: \"visitElement\",\n        value: function visitElement(element, context) {\n          if (SKIP_WS_TRIM_TAGS.has(element.name) || hasPreserveWhitespacesAttr(element.attrs)) {\n            // don't descent into elements where we need to preserve whitespaces\n            // but still visit all attributes to eliminate one used as a market to preserve WS\n            return new Element$1(element.name, visitAll$1(this, element.attrs), element.children, element.sourceSpan, element.startSourceSpan, element.endSourceSpan, element.i18n);\n          }\n\n          return new Element$1(element.name, element.attrs, visitAll$1(this, element.children), element.sourceSpan, element.startSourceSpan, element.endSourceSpan, element.i18n);\n        }\n      }, {\n        key: \"visitAttribute\",\n        value: function visitAttribute(attribute, context) {\n          return attribute.name !== PRESERVE_WS_ATTR_NAME ? attribute : null;\n        }\n      }, {\n        key: \"visitText\",\n        value: function visitText(text, context) {\n          var isNotBlank = text.value.match(NO_WS_REGEXP);\n\n          if (isNotBlank) {\n            return new Text$3(replaceNgsp(text.value).replace(WS_REPLACE_REGEXP, ' '), text.sourceSpan, text.i18n);\n          }\n\n          return null;\n        }\n      }, {\n        key: \"visitComment\",\n        value: function visitComment(comment, context) {\n          return comment;\n        }\n      }, {\n        key: \"visitExpansion\",\n        value: function visitExpansion(expansion, context) {\n          return expansion;\n        }\n      }, {\n        key: \"visitExpansionCase\",\n        value: function visitExpansionCase(expansionCase, context) {\n          return expansionCase;\n        }\n      }]);\n\n      return WhitespaceVisitor;\n    }();\n\n    function removeWhitespaces(htmlAstWithErrors) {\n      return new ParseTreeResult(visitAll$1(new WhitespaceVisitor(), htmlAstWithErrors.rootNodes), htmlAstWithErrors.errors);\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n    // http://cldr.unicode.org/index/cldr-spec/plural-rules\n\n\n    var PLURAL_CASES = ['zero', 'one', 'two', 'few', 'many', 'other'];\n    /**\n     * Expands special forms into elements.\n     *\n     * For example,\n     *\n     * ```\n     * { messages.length, plural,\n     *   =0 {zero}\n     *   =1 {one}\n     *   other {more than one}\n     * }\n     * ```\n     *\n     * will be expanded into\n     *\n     * ```\n     * <ng-container [ngPlural]=\"messages.length\">\n     *   <ng-template ngPluralCase=\"=0\">zero</ng-template>\n     *   <ng-template ngPluralCase=\"=1\">one</ng-template>\n     *   <ng-template ngPluralCase=\"other\">more than one</ng-template>\n     * </ng-container>\n     * ```\n     */\n\n    function expandNodes(nodes) {\n      var expander = new _Expander();\n      return new ExpansionResult(visitAll$1(expander, nodes), expander.isExpanded, expander.errors);\n    }\n\n    var ExpansionResult = function ExpansionResult(nodes, expanded, errors) {\n      _classCallCheck(this, ExpansionResult);\n\n      this.nodes = nodes;\n      this.expanded = expanded;\n      this.errors = errors;\n    };\n\n    var ExpansionError =\n    /*#__PURE__*/\n    function (_ParseError3) {\n      _inherits(ExpansionError, _ParseError3);\n\n      function ExpansionError(span, errorMsg) {\n        _classCallCheck(this, ExpansionError);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(ExpansionError).call(this, span, errorMsg));\n      }\n\n      return ExpansionError;\n    }(ParseError);\n    /**\n     * Expand expansion forms (plural, select) to directives\n     *\n     * @internal\n     */\n\n\n    var _Expander =\n    /*#__PURE__*/\n    function () {\n      function _Expander() {\n        _classCallCheck(this, _Expander);\n\n        this.isExpanded = false;\n        this.errors = [];\n      }\n\n      _createClass2(_Expander, [{\n        key: \"visitElement\",\n        value: function visitElement(element, context) {\n          return new Element$1(element.name, element.attrs, visitAll$1(this, element.children), element.sourceSpan, element.startSourceSpan, element.endSourceSpan);\n        }\n      }, {\n        key: \"visitAttribute\",\n        value: function visitAttribute(attribute, context) {\n          return attribute;\n        }\n      }, {\n        key: \"visitText\",\n        value: function visitText(text, context) {\n          return text;\n        }\n      }, {\n        key: \"visitComment\",\n        value: function visitComment(comment, context) {\n          return comment;\n        }\n      }, {\n        key: \"visitExpansion\",\n        value: function visitExpansion(icu, context) {\n          this.isExpanded = true;\n          return icu.type == 'plural' ? _expandPluralForm(icu, this.errors) : _expandDefaultForm(icu, this.errors);\n        }\n      }, {\n        key: \"visitExpansionCase\",\n        value: function visitExpansionCase(icuCase, context) {\n          throw new Error('Should not be reached');\n        }\n      }]);\n\n      return _Expander;\n    }(); // Plural forms are expanded to `NgPlural` and `NgPluralCase`s\n\n\n    function _expandPluralForm(ast, errors) {\n      var children = ast.cases.map(function (c) {\n        if (PLURAL_CASES.indexOf(c.value) == -1 && !c.value.match(/^=\\d+$/)) {\n          errors.push(new ExpansionError(c.valueSourceSpan, \"Plural cases should be \\\"=<number>\\\" or one of \".concat(PLURAL_CASES.join(\", \"))));\n        }\n\n        var expansionResult = expandNodes(c.expression);\n        errors.push.apply(errors, _toConsumableArray(expansionResult.errors));\n        return new Element$1(\"ng-template\", [new Attribute('ngPluralCase', \"\".concat(c.value), c.valueSourceSpan)], expansionResult.nodes, c.sourceSpan, c.sourceSpan, c.sourceSpan);\n      });\n      var switchAttr = new Attribute('[ngPlural]', ast.switchValue, ast.switchValueSourceSpan);\n      return new Element$1('ng-container', [switchAttr], children, ast.sourceSpan, ast.sourceSpan, ast.sourceSpan);\n    } // ICU messages (excluding plural form) are expanded to `NgSwitch`  and `NgSwitchCase`s\n\n\n    function _expandDefaultForm(ast, errors) {\n      var children = ast.cases.map(function (c) {\n        var expansionResult = expandNodes(c.expression);\n        errors.push.apply(errors, _toConsumableArray(expansionResult.errors));\n\n        if (c.value === 'other') {\n          // other is the default case when no values match\n          return new Element$1(\"ng-template\", [new Attribute('ngSwitchDefault', '', c.valueSourceSpan)], expansionResult.nodes, c.sourceSpan, c.sourceSpan, c.sourceSpan);\n        }\n\n        return new Element$1(\"ng-template\", [new Attribute('ngSwitchCase', \"\".concat(c.value), c.valueSourceSpan)], expansionResult.nodes, c.sourceSpan, c.sourceSpan, c.sourceSpan);\n      });\n      var switchAttr = new Attribute('[ngSwitch]', ast.switchValue, ast.switchValueSourceSpan);\n      return new Element$1('ng-container', [switchAttr], children, ast.sourceSpan, ast.sourceSpan, ast.sourceSpan);\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * A segment of text within the template.\n     */\n\n\n    var TextAst =\n    /*#__PURE__*/\n    function () {\n      function TextAst(value, ngContentIndex, sourceSpan) {\n        _classCallCheck(this, TextAst);\n\n        this.value = value;\n        this.ngContentIndex = ngContentIndex;\n        this.sourceSpan = sourceSpan;\n      }\n\n      _createClass2(TextAst, [{\n        key: \"visit\",\n        value: function visit(visitor, context) {\n          return visitor.visitText(this, context);\n        }\n      }]);\n\n      return TextAst;\n    }();\n    /**\n     * A bound expression within the text of a template.\n     */\n\n\n    var BoundTextAst =\n    /*#__PURE__*/\n    function () {\n      function BoundTextAst(value, ngContentIndex, sourceSpan) {\n        _classCallCheck(this, BoundTextAst);\n\n        this.value = value;\n        this.ngContentIndex = ngContentIndex;\n        this.sourceSpan = sourceSpan;\n      }\n\n      _createClass2(BoundTextAst, [{\n        key: \"visit\",\n        value: function visit(visitor, context) {\n          return visitor.visitBoundText(this, context);\n        }\n      }]);\n\n      return BoundTextAst;\n    }();\n    /**\n     * A plain attribute on an element.\n     */\n\n\n    var AttrAst =\n    /*#__PURE__*/\n    function () {\n      function AttrAst(name, value, sourceSpan) {\n        _classCallCheck(this, AttrAst);\n\n        this.name = name;\n        this.value = value;\n        this.sourceSpan = sourceSpan;\n      }\n\n      _createClass2(AttrAst, [{\n        key: \"visit\",\n        value: function visit(visitor, context) {\n          return visitor.visitAttr(this, context);\n        }\n      }]);\n\n      return AttrAst;\n    }();\n\n    var BoundPropertyMapping = (_BoundPropertyMapping = {}, _defineProperty(_BoundPropertyMapping, 4\n    /* Animation */\n    , 4), _defineProperty(_BoundPropertyMapping, 1\n    /* Attribute */\n    ,\n    /* Animation */\n    1), _defineProperty(_BoundPropertyMapping, 2\n    /* Class */\n    ,\n    /* Attribute */\n    2), _defineProperty(_BoundPropertyMapping, 0\n    /* Property */\n    ,\n    /* Class */\n    0), _defineProperty(_BoundPropertyMapping, 3\n    /* Style */\n    ,\n    /* Property */\n    3), _BoundPropertyMapping);\n    /**\n     * A binding for an element property (e.g. `[property]=\"expression\"`) or an animation trigger (e.g.\n     * `[@trigger]=\"stateExp\"`)\n     */\n\n    var BoundElementPropertyAst =\n    /*#__PURE__*/\n    function () {\n      function BoundElementPropertyAst(name, type, securityContext, value, unit, sourceSpan) {\n        _classCallCheck(this, BoundElementPropertyAst);\n\n        this.name = name;\n        this.type = type;\n        this.securityContext = securityContext;\n        this.value = value;\n        this.unit = unit;\n        this.sourceSpan = sourceSpan;\n        this.isAnimation = this.type === 4\n        /* Animation */\n        ;\n      }\n\n      _createClass2(BoundElementPropertyAst, [{\n        key: \"visit\",\n        value: function visit(visitor, context) {\n          return visitor.visitElementProperty(this, context);\n        }\n      }], [{\n        key: \"fromBoundProperty\",\n        value: function fromBoundProperty(prop) {\n          var type = BoundPropertyMapping[prop.type];\n          return new BoundElementPropertyAst(prop.name, type, prop.securityContext, prop.value, prop.unit, prop.sourceSpan);\n        }\n      }]);\n\n      return BoundElementPropertyAst;\n    }();\n    /**\n     * A binding for an element event (e.g. `(event)=\"handler()\"`) or an animation trigger event (e.g.\n     * `(@trigger.phase)=\"callback($event)\"`).\n     */\n\n\n    var BoundEventAst =\n    /*#__PURE__*/\n    function () {\n      function BoundEventAst(name, target, phase, handler, sourceSpan, handlerSpan) {\n        _classCallCheck(this, BoundEventAst);\n\n        this.name = name;\n        this.target = target;\n        this.phase = phase;\n        this.handler = handler;\n        this.sourceSpan = sourceSpan;\n        this.handlerSpan = handlerSpan;\n        this.fullName = BoundEventAst.calcFullName(this.name, this.target, this.phase);\n        this.isAnimation = !!this.phase;\n      }\n\n      _createClass2(BoundEventAst, [{\n        key: \"visit\",\n        value: function visit(visitor, context) {\n          return visitor.visitEvent(this, context);\n        }\n      }], [{\n        key: \"calcFullName\",\n        value: function calcFullName(name, target, phase) {\n          if (target) {\n            return \"\".concat(target, \":\").concat(name);\n          }\n\n          if (phase) {\n            return \"@\".concat(name, \".\").concat(phase);\n          }\n\n          return name;\n        }\n      }, {\n        key: \"fromParsedEvent\",\n        value: function fromParsedEvent(event) {\n          var target = event.type === 0\n          /* Regular */\n          ? event.targetOrPhase : null;\n          var phase = event.type === 1\n          /* Animation */\n          ? event.targetOrPhase : null;\n          return new BoundEventAst(event.name, target, phase, event.handler, event.sourceSpan, event.handlerSpan);\n        }\n      }]);\n\n      return BoundEventAst;\n    }();\n    /**\n     * A reference declaration on an element (e.g. `let someName=\"expression\"`).\n     */\n\n\n    var ReferenceAst =\n    /*#__PURE__*/\n    function () {\n      function ReferenceAst(name, value, originalValue, sourceSpan) {\n        _classCallCheck(this, ReferenceAst);\n\n        this.name = name;\n        this.value = value;\n        this.originalValue = originalValue;\n        this.sourceSpan = sourceSpan;\n      }\n\n      _createClass2(ReferenceAst, [{\n        key: \"visit\",\n        value: function visit(visitor, context) {\n          return visitor.visitReference(this, context);\n        }\n      }]);\n\n      return ReferenceAst;\n    }();\n    /**\n     * A variable declaration on a <ng-template> (e.g. `var-someName=\"someLocalName\"`).\n     */\n\n\n    var VariableAst =\n    /*#__PURE__*/\n    function () {\n      function VariableAst(name, value, sourceSpan) {\n        _classCallCheck(this, VariableAst);\n\n        this.name = name;\n        this.value = value;\n        this.sourceSpan = sourceSpan;\n      }\n\n      _createClass2(VariableAst, [{\n        key: \"visit\",\n        value: function visit(visitor, context) {\n          return visitor.visitVariable(this, context);\n        }\n      }], [{\n        key: \"fromParsedVariable\",\n        value: function fromParsedVariable(v) {\n          return new VariableAst(v.name, v.value, v.sourceSpan);\n        }\n      }]);\n\n      return VariableAst;\n    }();\n    /**\n     * An element declaration in a template.\n     */\n\n\n    var ElementAst =\n    /*#__PURE__*/\n    function () {\n      function ElementAst(name, attrs, inputs, outputs, references, directives, providers, hasViewContainer, queryMatches, children, ngContentIndex, sourceSpan, endSourceSpan) {\n        _classCallCheck(this, ElementAst);\n\n        this.name = name;\n        this.attrs = attrs;\n        this.inputs = inputs;\n        this.outputs = outputs;\n        this.references = references;\n        this.directives = directives;\n        this.providers = providers;\n        this.hasViewContainer = hasViewContainer;\n        this.queryMatches = queryMatches;\n        this.children = children;\n        this.ngContentIndex = ngContentIndex;\n        this.sourceSpan = sourceSpan;\n        this.endSourceSpan = endSourceSpan;\n      }\n\n      _createClass2(ElementAst, [{\n        key: \"visit\",\n        value: function visit(visitor, context) {\n          return visitor.visitElement(this, context);\n        }\n      }]);\n\n      return ElementAst;\n    }();\n    /**\n     * A `<ng-template>` element included in an Angular template.\n     */\n\n\n    var EmbeddedTemplateAst =\n    /*#__PURE__*/\n    function () {\n      function EmbeddedTemplateAst(attrs, outputs, references, variables, directives, providers, hasViewContainer, queryMatches, children, ngContentIndex, sourceSpan) {\n        _classCallCheck(this, EmbeddedTemplateAst);\n\n        this.attrs = attrs;\n        this.outputs = outputs;\n        this.references = references;\n        this.variables = variables;\n        this.directives = directives;\n        this.providers = providers;\n        this.hasViewContainer = hasViewContainer;\n        this.queryMatches = queryMatches;\n        this.children = children;\n        this.ngContentIndex = ngContentIndex;\n        this.sourceSpan = sourceSpan;\n      }\n\n      _createClass2(EmbeddedTemplateAst, [{\n        key: \"visit\",\n        value: function visit(visitor, context) {\n          return visitor.visitEmbeddedTemplate(this, context);\n        }\n      }]);\n\n      return EmbeddedTemplateAst;\n    }();\n    /**\n     * A directive property with a bound value (e.g. `*ngIf=\"condition\").\n     */\n\n\n    var BoundDirectivePropertyAst =\n    /*#__PURE__*/\n    function () {\n      function BoundDirectivePropertyAst(directiveName, templateName, value, sourceSpan) {\n        _classCallCheck(this, BoundDirectivePropertyAst);\n\n        this.directiveName = directiveName;\n        this.templateName = templateName;\n        this.value = value;\n        this.sourceSpan = sourceSpan;\n      }\n\n      _createClass2(BoundDirectivePropertyAst, [{\n        key: \"visit\",\n        value: function visit(visitor, context) {\n          return visitor.visitDirectiveProperty(this, context);\n        }\n      }]);\n\n      return BoundDirectivePropertyAst;\n    }();\n    /**\n     * A directive declared on an element.\n     */\n\n\n    var DirectiveAst =\n    /*#__PURE__*/\n    function () {\n      function DirectiveAst(directive, inputs, hostProperties, hostEvents, contentQueryStartId, sourceSpan) {\n        _classCallCheck(this, DirectiveAst);\n\n        this.directive = directive;\n        this.inputs = inputs;\n        this.hostProperties = hostProperties;\n        this.hostEvents = hostEvents;\n        this.contentQueryStartId = contentQueryStartId;\n        this.sourceSpan = sourceSpan;\n      }\n\n      _createClass2(DirectiveAst, [{\n        key: \"visit\",\n        value: function visit(visitor, context) {\n          return visitor.visitDirective(this, context);\n        }\n      }]);\n\n      return DirectiveAst;\n    }();\n    /**\n     * A provider declared on an element\n     */\n\n\n    var ProviderAst =\n    /*#__PURE__*/\n    function () {\n      function ProviderAst(token, multiProvider, eager, providers, providerType, lifecycleHooks, sourceSpan, isModule) {\n        _classCallCheck(this, ProviderAst);\n\n        this.token = token;\n        this.multiProvider = multiProvider;\n        this.eager = eager;\n        this.providers = providers;\n        this.providerType = providerType;\n        this.lifecycleHooks = lifecycleHooks;\n        this.sourceSpan = sourceSpan;\n        this.isModule = isModule;\n      }\n\n      _createClass2(ProviderAst, [{\n        key: \"visit\",\n        value: function visit(visitor, context) {\n          // No visit method in the visitor for now...\n          return null;\n        }\n      }]);\n\n      return ProviderAst;\n    }();\n\n    var ProviderAstType;\n\n    (function (ProviderAstType) {\n      ProviderAstType[ProviderAstType[\"PublicService\"] = 0] = \"PublicService\";\n      ProviderAstType[ProviderAstType[\"PrivateService\"] = 1] = \"PrivateService\";\n      ProviderAstType[ProviderAstType[\"Component\"] = 2] = \"Component\";\n      ProviderAstType[ProviderAstType[\"Directive\"] = 3] = \"Directive\";\n      ProviderAstType[ProviderAstType[\"Builtin\"] = 4] = \"Builtin\";\n    })(ProviderAstType || (ProviderAstType = {}));\n    /**\n     * Position where content is to be projected (instance of `<ng-content>` in a template).\n     */\n\n\n    var NgContentAst =\n    /*#__PURE__*/\n    function () {\n      function NgContentAst(index, ngContentIndex, sourceSpan) {\n        _classCallCheck(this, NgContentAst);\n\n        this.index = index;\n        this.ngContentIndex = ngContentIndex;\n        this.sourceSpan = sourceSpan;\n      }\n\n      _createClass2(NgContentAst, [{\n        key: \"visit\",\n        value: function visit(visitor, context) {\n          return visitor.visitNgContent(this, context);\n        }\n      }]);\n\n      return NgContentAst;\n    }();\n    /**\n     * A visitor that accepts each node but doesn't do anything. It is intended to be used\n     * as the base class for a visitor that is only interested in a subset of the node types.\n     */\n\n\n    var NullTemplateVisitor =\n    /*#__PURE__*/\n    function () {\n      function NullTemplateVisitor() {\n        _classCallCheck(this, NullTemplateVisitor);\n      }\n\n      _createClass2(NullTemplateVisitor, [{\n        key: \"visitNgContent\",\n        value: function visitNgContent(ast, context) {}\n      }, {\n        key: \"visitEmbeddedTemplate\",\n        value: function visitEmbeddedTemplate(ast, context) {}\n      }, {\n        key: \"visitElement\",\n        value: function visitElement(ast, context) {}\n      }, {\n        key: \"visitReference\",\n        value: function visitReference(ast, context) {}\n      }, {\n        key: \"visitVariable\",\n        value: function visitVariable(ast, context) {}\n      }, {\n        key: \"visitEvent\",\n        value: function visitEvent(ast, context) {}\n      }, {\n        key: \"visitElementProperty\",\n        value: function visitElementProperty(ast, context) {}\n      }, {\n        key: \"visitAttr\",\n        value: function visitAttr(ast, context) {}\n      }, {\n        key: \"visitBoundText\",\n        value: function visitBoundText(ast, context) {}\n      }, {\n        key: \"visitText\",\n        value: function visitText(ast, context) {}\n      }, {\n        key: \"visitDirective\",\n        value: function visitDirective(ast, context) {}\n      }, {\n        key: \"visitDirectiveProperty\",\n        value: function visitDirectiveProperty(ast, context) {}\n      }]);\n\n      return NullTemplateVisitor;\n    }();\n    /**\n     * Base class that can be used to build a visitor that visits each node\n     * in an template ast recursively.\n     */\n\n\n    var RecursiveTemplateAstVisitor =\n    /*#__PURE__*/\n    function (_NullTemplateVisitor) {\n      _inherits(RecursiveTemplateAstVisitor, _NullTemplateVisitor);\n\n      function RecursiveTemplateAstVisitor() {\n        _classCallCheck(this, RecursiveTemplateAstVisitor);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(RecursiveTemplateAstVisitor).call(this));\n      } // Nodes with children\n\n\n      _createClass2(RecursiveTemplateAstVisitor, [{\n        key: \"visitEmbeddedTemplate\",\n        value: function visitEmbeddedTemplate(ast, context) {\n          return this.visitChildren(context, function (visit) {\n            visit(ast.attrs);\n            visit(ast.references);\n            visit(ast.variables);\n            visit(ast.directives);\n            visit(ast.providers);\n            visit(ast.children);\n          });\n        }\n      }, {\n        key: \"visitElement\",\n        value: function visitElement(ast, context) {\n          return this.visitChildren(context, function (visit) {\n            visit(ast.attrs);\n            visit(ast.inputs);\n            visit(ast.outputs);\n            visit(ast.references);\n            visit(ast.directives);\n            visit(ast.providers);\n            visit(ast.children);\n          });\n        }\n      }, {\n        key: \"visitDirective\",\n        value: function visitDirective(ast, context) {\n          return this.visitChildren(context, function (visit) {\n            visit(ast.inputs);\n            visit(ast.hostProperties);\n            visit(ast.hostEvents);\n          });\n        }\n      }, {\n        key: \"visitChildren\",\n        value: function visitChildren(context, cb) {\n          var results = [];\n          var t = this;\n\n          function visit(children) {\n            if (children && children.length) results.push(templateVisitAll(t, children, context));\n          }\n\n          cb(visit);\n          return Array.prototype.concat.apply([], results);\n        }\n      }]);\n\n      return RecursiveTemplateAstVisitor;\n    }(NullTemplateVisitor);\n    /**\n     * Visit every node in a list of {@link TemplateAst}s with the given {@link TemplateAstVisitor}.\n     */\n\n\n    function templateVisitAll(visitor, asts) {\n      var context = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n      var result = [];\n      var visit = visitor.visit ? function (ast) {\n        return visitor.visit(ast, context) || ast.visit(visitor, context);\n      } : function (ast) {\n        return ast.visit(visitor, context);\n      };\n      asts.forEach(function (ast) {\n        var astResult = visit(ast);\n\n        if (astResult) {\n          result.push(astResult);\n        }\n      });\n      return result;\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var ProviderError =\n    /*#__PURE__*/\n    function (_ParseError4) {\n      _inherits(ProviderError, _ParseError4);\n\n      function ProviderError(message, span) {\n        _classCallCheck(this, ProviderError);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(ProviderError).call(this, span, message));\n      }\n\n      return ProviderError;\n    }(ParseError);\n\n    var ProviderViewContext = function ProviderViewContext(reflector, component) {\n      var _this272 = this;\n\n      _classCallCheck(this, ProviderViewContext);\n\n      this.reflector = reflector;\n      this.component = component;\n      this.errors = [];\n      this.viewQueries = _getViewQueries(component);\n      this.viewProviders = new Map();\n      component.viewProviders.forEach(function (provider) {\n        if (_this272.viewProviders.get(tokenReference(provider.token)) == null) {\n          _this272.viewProviders.set(tokenReference(provider.token), true);\n        }\n      });\n    };\n\n    var ProviderElementContext =\n    /*#__PURE__*/\n    function () {\n      function ProviderElementContext(viewContext, _parent, _isViewRoot, _directiveAsts, attrs, refs, isTemplate, contentQueryStartId, _sourceSpan) {\n        var _this273 = this;\n\n        _classCallCheck(this, ProviderElementContext);\n\n        this.viewContext = viewContext;\n        this._parent = _parent;\n        this._isViewRoot = _isViewRoot;\n        this._directiveAsts = _directiveAsts;\n        this._sourceSpan = _sourceSpan;\n        this._transformedProviders = new Map();\n        this._seenProviders = new Map();\n        this._queriedTokens = new Map();\n        this.transformedHasViewContainer = false;\n        this._attrs = {};\n        attrs.forEach(function (attrAst) {\n          return _this273._attrs[attrAst.name] = attrAst.value;\n        });\n\n        var directivesMeta = _directiveAsts.map(function (directiveAst) {\n          return directiveAst.directive;\n        });\n\n        this._allProviders = _resolveProvidersFromDirectives(directivesMeta, _sourceSpan, viewContext.errors);\n        this._contentQueries = _getContentQueries(contentQueryStartId, directivesMeta);\n        Array.from(this._allProviders.values()).forEach(function (provider) {\n          _this273._addQueryReadsTo(provider.token, provider.token, _this273._queriedTokens);\n        });\n\n        if (isTemplate) {\n          var templateRefId = createTokenForExternalReference(this.viewContext.reflector, Identifiers.TemplateRef);\n\n          this._addQueryReadsTo(templateRefId, templateRefId, this._queriedTokens);\n        }\n\n        refs.forEach(function (refAst) {\n          var defaultQueryValue = refAst.value || createTokenForExternalReference(_this273.viewContext.reflector, Identifiers.ElementRef);\n\n          _this273._addQueryReadsTo({\n            value: refAst.name\n          }, defaultQueryValue, _this273._queriedTokens);\n        });\n\n        if (this._queriedTokens.get(this.viewContext.reflector.resolveExternalReference(Identifiers.ViewContainerRef))) {\n          this.transformedHasViewContainer = true;\n        } // create the providers that we know are eager first\n\n\n        Array.from(this._allProviders.values()).forEach(function (provider) {\n          var eager = provider.eager || _this273._queriedTokens.get(tokenReference(provider.token));\n\n          if (eager) {\n            _this273._getOrCreateLocalProvider(provider.providerType, provider.token, true);\n          }\n        });\n      }\n\n      _createClass2(ProviderElementContext, [{\n        key: \"afterElement\",\n        value: function afterElement() {\n          var _this274 = this;\n\n          // collect lazy providers\n          Array.from(this._allProviders.values()).forEach(function (provider) {\n            _this274._getOrCreateLocalProvider(provider.providerType, provider.token, false);\n          });\n        }\n      }, {\n        key: \"_addQueryReadsTo\",\n        value: function _addQueryReadsTo(token, defaultValue, queryReadTokens) {\n          this._getQueriesFor(token).forEach(function (query) {\n            var queryValue = query.meta.read || defaultValue;\n            var tokenRef = tokenReference(queryValue);\n            var queryMatches = queryReadTokens.get(tokenRef);\n\n            if (!queryMatches) {\n              queryMatches = [];\n              queryReadTokens.set(tokenRef, queryMatches);\n            }\n\n            queryMatches.push({\n              queryId: query.queryId,\n              value: queryValue\n            });\n          });\n        }\n      }, {\n        key: \"_getQueriesFor\",\n        value: function _getQueriesFor(token) {\n          var result = [];\n          var currentEl = this;\n          var distance = 0;\n          var queries;\n\n          while (currentEl !== null) {\n            queries = currentEl._contentQueries.get(tokenReference(token));\n\n            if (queries) {\n              result.push.apply(result, _toConsumableArray(queries.filter(function (query) {\n                return query.meta.descendants || distance <= 1;\n              })));\n            }\n\n            if (currentEl._directiveAsts.length > 0) {\n              distance++;\n            }\n\n            currentEl = currentEl._parent;\n          }\n\n          queries = this.viewContext.viewQueries.get(tokenReference(token));\n\n          if (queries) {\n            result.push.apply(result, _toConsumableArray(queries));\n          }\n\n          return result;\n        }\n      }, {\n        key: \"_getOrCreateLocalProvider\",\n        value: function _getOrCreateLocalProvider(requestingProviderType, token, eager) {\n          var _this275 = this;\n\n          var resolvedProvider = this._allProviders.get(tokenReference(token));\n\n          if (!resolvedProvider || (requestingProviderType === ProviderAstType.Directive || requestingProviderType === ProviderAstType.PublicService) && resolvedProvider.providerType === ProviderAstType.PrivateService || (requestingProviderType === ProviderAstType.PrivateService || requestingProviderType === ProviderAstType.PublicService) && resolvedProvider.providerType === ProviderAstType.Builtin) {\n            return null;\n          }\n\n          var transformedProviderAst = this._transformedProviders.get(tokenReference(token));\n\n          if (transformedProviderAst) {\n            return transformedProviderAst;\n          }\n\n          if (this._seenProviders.get(tokenReference(token)) != null) {\n            this.viewContext.errors.push(new ProviderError(\"Cannot instantiate cyclic dependency! \".concat(tokenName(token)), this._sourceSpan));\n            return null;\n          }\n\n          this._seenProviders.set(tokenReference(token), true);\n\n          var transformedProviders = resolvedProvider.providers.map(function (provider) {\n            var transformedUseValue = provider.useValue;\n            var transformedUseExisting = provider.useExisting;\n            var transformedDeps = undefined;\n\n            if (provider.useExisting != null) {\n              var existingDiDep = _this275._getDependency(resolvedProvider.providerType, {\n                token: provider.useExisting\n              }, eager);\n\n              if (existingDiDep.token != null) {\n                transformedUseExisting = existingDiDep.token;\n              } else {\n                transformedUseExisting = null;\n                transformedUseValue = existingDiDep.value;\n              }\n            } else if (provider.useFactory) {\n              var deps = provider.deps || provider.useFactory.diDeps;\n              transformedDeps = deps.map(function (dep) {\n                return _this275._getDependency(resolvedProvider.providerType, dep, eager);\n              });\n            } else if (provider.useClass) {\n              var _deps = provider.deps || provider.useClass.diDeps;\n\n              transformedDeps = _deps.map(function (dep) {\n                return _this275._getDependency(resolvedProvider.providerType, dep, eager);\n              });\n            }\n\n            return _transformProvider(provider, {\n              useExisting: transformedUseExisting,\n              useValue: transformedUseValue,\n              deps: transformedDeps\n            });\n          });\n          transformedProviderAst = _transformProviderAst(resolvedProvider, {\n            eager: eager,\n            providers: transformedProviders\n          });\n\n          this._transformedProviders.set(tokenReference(token), transformedProviderAst);\n\n          return transformedProviderAst;\n        }\n      }, {\n        key: \"_getLocalDependency\",\n        value: function _getLocalDependency(requestingProviderType, dep) {\n          var eager = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n\n          if (dep.isAttribute) {\n            var attrValue = this._attrs[dep.token.value];\n            return {\n              isValue: true,\n              value: attrValue == null ? null : attrValue\n            };\n          }\n\n          if (dep.token != null) {\n            // access builtints\n            if (requestingProviderType === ProviderAstType.Directive || requestingProviderType === ProviderAstType.Component) {\n              if (tokenReference(dep.token) === this.viewContext.reflector.resolveExternalReference(Identifiers.Renderer) || tokenReference(dep.token) === this.viewContext.reflector.resolveExternalReference(Identifiers.ElementRef) || tokenReference(dep.token) === this.viewContext.reflector.resolveExternalReference(Identifiers.ChangeDetectorRef) || tokenReference(dep.token) === this.viewContext.reflector.resolveExternalReference(Identifiers.TemplateRef)) {\n                return dep;\n              }\n\n              if (tokenReference(dep.token) === this.viewContext.reflector.resolveExternalReference(Identifiers.ViewContainerRef)) {\n                this.transformedHasViewContainer = true;\n              }\n            } // access the injector\n\n\n            if (tokenReference(dep.token) === this.viewContext.reflector.resolveExternalReference(Identifiers.Injector)) {\n              return dep;\n            } // access providers\n\n\n            if (this._getOrCreateLocalProvider(requestingProviderType, dep.token, eager) != null) {\n              return dep;\n            }\n          }\n\n          return null;\n        }\n      }, {\n        key: \"_getDependency\",\n        value: function _getDependency(requestingProviderType, dep) {\n          var eager = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n          var currElement = this;\n          var currEager = eager;\n          var result = null;\n\n          if (!dep.isSkipSelf) {\n            result = this._getLocalDependency(requestingProviderType, dep, eager);\n          }\n\n          if (dep.isSelf) {\n            if (!result && dep.isOptional) {\n              result = {\n                isValue: true,\n                value: null\n              };\n            }\n          } else {\n            // check parent elements\n            while (!result && currElement._parent) {\n              var prevElement = currElement;\n              currElement = currElement._parent;\n\n              if (prevElement._isViewRoot) {\n                currEager = false;\n              }\n\n              result = currElement._getLocalDependency(ProviderAstType.PublicService, dep, currEager);\n            } // check @Host restriction\n\n\n            if (!result) {\n              if (!dep.isHost || this.viewContext.component.isHost || this.viewContext.component.type.reference === tokenReference(dep.token) || this.viewContext.viewProviders.get(tokenReference(dep.token)) != null) {\n                result = dep;\n              } else {\n                result = dep.isOptional ? {\n                  isValue: true,\n                  value: null\n                } : null;\n              }\n            }\n          }\n\n          if (!result) {\n            this.viewContext.errors.push(new ProviderError(\"No provider for \".concat(tokenName(dep.token)), this._sourceSpan));\n          }\n\n          return result;\n        }\n      }, {\n        key: \"transformProviders\",\n        get: function get() {\n          // Note: Maps keep their insertion order.\n          var lazyProviders = [];\n          var eagerProviders = [];\n\n          this._transformedProviders.forEach(function (provider) {\n            if (provider.eager) {\n              eagerProviders.push(provider);\n            } else {\n              lazyProviders.push(provider);\n            }\n          });\n\n          return lazyProviders.concat(eagerProviders);\n        }\n      }, {\n        key: \"transformedDirectiveAsts\",\n        get: function get() {\n          var sortedProviderTypes = this.transformProviders.map(function (provider) {\n            return provider.token.identifier;\n          });\n\n          var sortedDirectives = this._directiveAsts.slice();\n\n          sortedDirectives.sort(function (dir1, dir2) {\n            return sortedProviderTypes.indexOf(dir1.directive.type) - sortedProviderTypes.indexOf(dir2.directive.type);\n          });\n          return sortedDirectives;\n        }\n      }, {\n        key: \"queryMatches\",\n        get: function get() {\n          var allMatches = [];\n\n          this._queriedTokens.forEach(function (matches) {\n            allMatches.push.apply(allMatches, _toConsumableArray(matches));\n          });\n\n          return allMatches;\n        }\n      }]);\n\n      return ProviderElementContext;\n    }();\n\n    var NgModuleProviderAnalyzer =\n    /*#__PURE__*/\n    function () {\n      function NgModuleProviderAnalyzer(reflector, ngModule, extraProviders, sourceSpan) {\n        var _this276 = this;\n\n        _classCallCheck(this, NgModuleProviderAnalyzer);\n\n        this.reflector = reflector;\n        this._transformedProviders = new Map();\n        this._seenProviders = new Map();\n        this._errors = [];\n        this._allProviders = new Map();\n        ngModule.transitiveModule.modules.forEach(function (ngModuleType) {\n          var ngModuleProvider = {\n            token: {\n              identifier: ngModuleType\n            },\n            useClass: ngModuleType\n          };\n\n          _resolveProviders([ngModuleProvider], ProviderAstType.PublicService, true, sourceSpan, _this276._errors, _this276._allProviders,\n          /* isModule */\n          true);\n        });\n\n        _resolveProviders(ngModule.transitiveModule.providers.map(function (entry) {\n          return entry.provider;\n        }).concat(extraProviders), ProviderAstType.PublicService, false, sourceSpan, this._errors, this._allProviders,\n        /* isModule */\n        false);\n      }\n\n      _createClass2(NgModuleProviderAnalyzer, [{\n        key: \"parse\",\n        value: function parse() {\n          var _this277 = this;\n\n          Array.from(this._allProviders.values()).forEach(function (provider) {\n            _this277._getOrCreateLocalProvider(provider.token, provider.eager);\n          });\n\n          if (this._errors.length > 0) {\n            var errorString = this._errors.join('\\n');\n\n            throw new Error(\"Provider parse errors:\\n\".concat(errorString));\n          } // Note: Maps keep their insertion order.\n\n\n          var lazyProviders = [];\n          var eagerProviders = [];\n\n          this._transformedProviders.forEach(function (provider) {\n            if (provider.eager) {\n              eagerProviders.push(provider);\n            } else {\n              lazyProviders.push(provider);\n            }\n          });\n\n          return lazyProviders.concat(eagerProviders);\n        }\n      }, {\n        key: \"_getOrCreateLocalProvider\",\n        value: function _getOrCreateLocalProvider(token, eager) {\n          var _this278 = this;\n\n          var resolvedProvider = this._allProviders.get(tokenReference(token));\n\n          if (!resolvedProvider) {\n            return null;\n          }\n\n          var transformedProviderAst = this._transformedProviders.get(tokenReference(token));\n\n          if (transformedProviderAst) {\n            return transformedProviderAst;\n          }\n\n          if (this._seenProviders.get(tokenReference(token)) != null) {\n            this._errors.push(new ProviderError(\"Cannot instantiate cyclic dependency! \".concat(tokenName(token)), resolvedProvider.sourceSpan));\n\n            return null;\n          }\n\n          this._seenProviders.set(tokenReference(token), true);\n\n          var transformedProviders = resolvedProvider.providers.map(function (provider) {\n            var transformedUseValue = provider.useValue;\n            var transformedUseExisting = provider.useExisting;\n            var transformedDeps = undefined;\n\n            if (provider.useExisting != null) {\n              var existingDiDep = _this278._getDependency({\n                token: provider.useExisting\n              }, eager, resolvedProvider.sourceSpan);\n\n              if (existingDiDep.token != null) {\n                transformedUseExisting = existingDiDep.token;\n              } else {\n                transformedUseExisting = null;\n                transformedUseValue = existingDiDep.value;\n              }\n            } else if (provider.useFactory) {\n              var deps = provider.deps || provider.useFactory.diDeps;\n              transformedDeps = deps.map(function (dep) {\n                return _this278._getDependency(dep, eager, resolvedProvider.sourceSpan);\n              });\n            } else if (provider.useClass) {\n              var _deps2 = provider.deps || provider.useClass.diDeps;\n\n              transformedDeps = _deps2.map(function (dep) {\n                return _this278._getDependency(dep, eager, resolvedProvider.sourceSpan);\n              });\n            }\n\n            return _transformProvider(provider, {\n              useExisting: transformedUseExisting,\n              useValue: transformedUseValue,\n              deps: transformedDeps\n            });\n          });\n          transformedProviderAst = _transformProviderAst(resolvedProvider, {\n            eager: eager,\n            providers: transformedProviders\n          });\n\n          this._transformedProviders.set(tokenReference(token), transformedProviderAst);\n\n          return transformedProviderAst;\n        }\n      }, {\n        key: \"_getDependency\",\n        value: function _getDependency(dep) {\n          var eager = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n          var requestorSourceSpan = arguments.length > 2 ? arguments[2] : undefined;\n          var foundLocal = false;\n\n          if (!dep.isSkipSelf && dep.token != null) {\n            // access the injector\n            if (tokenReference(dep.token) === this.reflector.resolveExternalReference(Identifiers.Injector) || tokenReference(dep.token) === this.reflector.resolveExternalReference(Identifiers.ComponentFactoryResolver)) {\n              foundLocal = true; // access providers\n            } else if (this._getOrCreateLocalProvider(dep.token, eager) != null) {\n              foundLocal = true;\n            }\n          }\n\n          return dep;\n        }\n      }]);\n\n      return NgModuleProviderAnalyzer;\n    }();\n\n    function _transformProvider(provider, _ref32) {\n      var useExisting = _ref32.useExisting,\n          useValue = _ref32.useValue,\n          deps = _ref32.deps;\n      return {\n        token: provider.token,\n        useClass: provider.useClass,\n        useExisting: useExisting,\n        useFactory: provider.useFactory,\n        useValue: useValue,\n        deps: deps,\n        multi: provider.multi\n      };\n    }\n\n    function _transformProviderAst(provider, _ref33) {\n      var eager = _ref33.eager,\n          providers = _ref33.providers;\n      return new ProviderAst(provider.token, provider.multiProvider, provider.eager || eager, providers, provider.providerType, provider.lifecycleHooks, provider.sourceSpan, provider.isModule);\n    }\n\n    function _resolveProvidersFromDirectives(directives, sourceSpan, targetErrors) {\n      var providersByToken = new Map();\n      directives.forEach(function (directive) {\n        var dirProvider = {\n          token: {\n            identifier: directive.type\n          },\n          useClass: directive.type\n        };\n\n        _resolveProviders([dirProvider], directive.isComponent ? ProviderAstType.Component : ProviderAstType.Directive, true, sourceSpan, targetErrors, providersByToken,\n        /* isModule */\n        false);\n      }); // Note: directives need to be able to overwrite providers of a component!\n\n      var directivesWithComponentFirst = directives.filter(function (dir) {\n        return dir.isComponent;\n      }).concat(directives.filter(function (dir) {\n        return !dir.isComponent;\n      }));\n      directivesWithComponentFirst.forEach(function (directive) {\n        _resolveProviders(directive.providers, ProviderAstType.PublicService, false, sourceSpan, targetErrors, providersByToken,\n        /* isModule */\n        false);\n\n        _resolveProviders(directive.viewProviders, ProviderAstType.PrivateService, false, sourceSpan, targetErrors, providersByToken,\n        /* isModule */\n        false);\n      });\n      return providersByToken;\n    }\n\n    function _resolveProviders(providers, providerType, eager, sourceSpan, targetErrors, targetProvidersByToken, isModule) {\n      providers.forEach(function (provider) {\n        var resolvedProvider = targetProvidersByToken.get(tokenReference(provider.token));\n\n        if (resolvedProvider != null && !!resolvedProvider.multiProvider !== !!provider.multi) {\n          targetErrors.push(new ProviderError(\"Mixing multi and non multi provider is not possible for token \".concat(tokenName(resolvedProvider.token)), sourceSpan));\n        }\n\n        if (!resolvedProvider) {\n          var lifecycleHooks = provider.token.identifier && provider.token.identifier.lifecycleHooks ? provider.token.identifier.lifecycleHooks : [];\n          var isUseValue = !(provider.useClass || provider.useExisting || provider.useFactory);\n          resolvedProvider = new ProviderAst(provider.token, !!provider.multi, eager || isUseValue, [provider], providerType, lifecycleHooks, sourceSpan, isModule);\n          targetProvidersByToken.set(tokenReference(provider.token), resolvedProvider);\n        } else {\n          if (!provider.multi) {\n            resolvedProvider.providers.length = 0;\n          }\n\n          resolvedProvider.providers.push(provider);\n        }\n      });\n    }\n\n    function _getViewQueries(component) {\n      // Note: queries start with id 1 so we can use the number in a Bloom filter!\n      var viewQueryId = 1;\n      var viewQueries = new Map();\n\n      if (component.viewQueries) {\n        component.viewQueries.forEach(function (query) {\n          return _addQueryToTokenMap(viewQueries, {\n            meta: query,\n            queryId: viewQueryId++\n          });\n        });\n      }\n\n      return viewQueries;\n    }\n\n    function _getContentQueries(contentQueryStartId, directives) {\n      var contentQueryId = contentQueryStartId;\n      var contentQueries = new Map();\n      directives.forEach(function (directive, directiveIndex) {\n        if (directive.queries) {\n          directive.queries.forEach(function (query) {\n            return _addQueryToTokenMap(contentQueries, {\n              meta: query,\n              queryId: contentQueryId++\n            });\n          });\n        }\n      });\n      return contentQueries;\n    }\n\n    function _addQueryToTokenMap(map, query) {\n      query.meta.selectors.forEach(function (token) {\n        var entry = map.get(tokenReference(token));\n\n        if (!entry) {\n          entry = [];\n          map.set(tokenReference(token), entry);\n        }\n\n        entry.push(query);\n      });\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var StyleWithImports = function StyleWithImports(style, styleUrls) {\n      _classCallCheck(this, StyleWithImports);\n\n      this.style = style;\n      this.styleUrls = styleUrls;\n    };\n\n    function isStyleUrlResolvable(url) {\n      if (url == null || url.length === 0 || url[0] == '/') return false;\n      var schemeMatch = url.match(URL_WITH_SCHEMA_REGEXP);\n      return schemeMatch === null || schemeMatch[1] == 'package' || schemeMatch[1] == 'asset';\n    }\n    /**\n     * Rewrites stylesheets by resolving and removing the @import urls that\n     * are either relative or don't have a `package:` scheme\n     */\n\n\n    function extractStyleUrls(resolver, baseUrl, cssText) {\n      var foundUrls = [];\n      var modifiedCssText = cssText.replace(CSS_STRIPPABLE_COMMENT_REGEXP, '').replace(CSS_IMPORT_REGEXP, function () {\n        var url = (arguments.length <= 1 ? undefined : arguments[1]) || (arguments.length <= 2 ? undefined : arguments[2]);\n\n        if (!isStyleUrlResolvable(url)) {\n          // Do not attempt to resolve non-package absolute URLs with URI\n          // scheme\n          return arguments.length <= 0 ? undefined : arguments[0];\n        }\n\n        foundUrls.push(resolver.resolve(baseUrl, url));\n        return '';\n      });\n      return new StyleWithImports(modifiedCssText, foundUrls);\n    }\n\n    var CSS_IMPORT_REGEXP = /@import\\s+(?:url\\()?\\s*(?:(?:['\"]([^'\"]*))|([^;\\)\\s]*))[^;]*;?/g;\n    var CSS_STRIPPABLE_COMMENT_REGEXP = /\\/\\*(?!#\\s*(?:sourceURL|sourceMappingURL)=)[\\s\\S]+?\\*\\//g;\n    var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    var PROPERTY_PARTS_SEPARATOR = '.';\n    var ATTRIBUTE_PREFIX = 'attr';\n    var CLASS_PREFIX = 'class';\n    var STYLE_PREFIX = 'style';\n    var ANIMATE_PROP_PREFIX = 'animate-';\n    /**\n     * Parses bindings in templates and in the directive host area.\n     */\n\n    var BindingParser =\n    /*#__PURE__*/\n    function () {\n      function BindingParser(_exprParser, _interpolationConfig, _schemaRegistry, pipes, errors) {\n        _classCallCheck(this, BindingParser);\n\n        this._exprParser = _exprParser;\n        this._interpolationConfig = _interpolationConfig;\n        this._schemaRegistry = _schemaRegistry;\n        this.errors = errors;\n        this.pipesByName = null;\n        this._usedPipes = new Map(); // When the `pipes` parameter is `null`, do not check for used pipes\n        // This is used in IVY when we might not know the available pipes at compile time\n\n        if (pipes) {\n          var pipesByName = new Map();\n          pipes.forEach(function (pipe) {\n            return pipesByName.set(pipe.name, pipe);\n          });\n          this.pipesByName = pipesByName;\n        }\n      }\n\n      _createClass2(BindingParser, [{\n        key: \"getUsedPipes\",\n        value: function getUsedPipes() {\n          return Array.from(this._usedPipes.values());\n        }\n      }, {\n        key: \"createBoundHostProperties\",\n        value: function createBoundHostProperties(dirMeta, sourceSpan) {\n          var _this279 = this;\n\n          if (dirMeta.hostProperties) {\n            var boundProps = [];\n            Object.keys(dirMeta.hostProperties).forEach(function (propName) {\n              var expression = dirMeta.hostProperties[propName];\n\n              if (typeof expression === 'string') {\n                _this279.parsePropertyBinding(propName, expression, true, sourceSpan, sourceSpan.start.offset, undefined, [], boundProps);\n              } else {\n                _this279._reportError(\"Value of the host property binding \\\"\".concat(propName, \"\\\" needs to be a string representing an expression but got \\\"\").concat(expression, \"\\\" (\").concat(typeof expression, \")\"), sourceSpan);\n              }\n            });\n            return boundProps;\n          }\n\n          return null;\n        }\n      }, {\n        key: \"createDirectiveHostPropertyAsts\",\n        value: function createDirectiveHostPropertyAsts(dirMeta, elementSelector, sourceSpan) {\n          var _this280 = this;\n\n          var boundProps = this.createBoundHostProperties(dirMeta, sourceSpan);\n          return boundProps && boundProps.map(function (prop) {\n            return _this280.createBoundElementProperty(elementSelector, prop);\n          });\n        }\n      }, {\n        key: \"createDirectiveHostEventAsts\",\n        value: function createDirectiveHostEventAsts(dirMeta, sourceSpan) {\n          var _this281 = this;\n\n          if (dirMeta.hostListeners) {\n            var targetEvents = [];\n            Object.keys(dirMeta.hostListeners).forEach(function (propName) {\n              var expression = dirMeta.hostListeners[propName];\n\n              if (typeof expression === 'string') {\n                // TODO: pass a more accurate handlerSpan for this event.\n                _this281.parseEvent(propName, expression, sourceSpan, sourceSpan, [], targetEvents);\n              } else {\n                _this281._reportError(\"Value of the host listener \\\"\".concat(propName, \"\\\" needs to be a string representing an expression but got \\\"\").concat(expression, \"\\\" (\").concat(typeof expression, \")\"), sourceSpan);\n              }\n            });\n            return targetEvents;\n          }\n\n          return null;\n        }\n      }, {\n        key: \"parseInterpolation\",\n        value: function parseInterpolation(value, sourceSpan) {\n          var sourceInfo = sourceSpan.start.toString();\n\n          try {\n            var ast = this._exprParser.parseInterpolation(value, sourceInfo, sourceSpan.start.offset, this._interpolationConfig);\n\n            if (ast) this._reportExpressionParserErrors(ast.errors, sourceSpan);\n\n            this._checkPipes(ast, sourceSpan);\n\n            return ast;\n          } catch (e) {\n            this._reportError(\"\".concat(e), sourceSpan);\n\n            return this._exprParser.wrapLiteralPrimitive('ERROR', sourceInfo, sourceSpan.start.offset);\n          }\n        } // Parse an inline template binding. ie `<tag *tplKey=\"<tplValue>\">`\n\n      }, {\n        key: \"parseInlineTemplateBinding\",\n        value: function parseInlineTemplateBinding(tplKey, tplValue, sourceSpan, absoluteOffset, targetMatchableAttrs, targetProps, targetVars) {\n          var bindings = this._parseTemplateBindings(tplKey, tplValue, sourceSpan);\n\n          for (var i = 0; i < bindings.length; i++) {\n            var binding = bindings[i];\n\n            if (binding.keyIsVar) {\n              targetVars.push(new ParsedVariable(binding.key, binding.name, sourceSpan));\n            } else if (binding.expression) {\n              this._parsePropertyAst(binding.key, binding.expression, sourceSpan, undefined, targetMatchableAttrs, targetProps);\n            } else {\n              targetMatchableAttrs.push([binding.key, '']);\n              this.parseLiteralAttr(binding.key, null, sourceSpan, absoluteOffset, undefined, targetMatchableAttrs, targetProps);\n            }\n          }\n        }\n      }, {\n        key: \"_parseTemplateBindings\",\n        value: function _parseTemplateBindings(tplKey, tplValue, sourceSpan) {\n          var _this282 = this;\n\n          var sourceInfo = sourceSpan.start.toString();\n\n          try {\n            var bindingsResult = this._exprParser.parseTemplateBindings(tplKey, tplValue, sourceInfo, sourceSpan.start.offset);\n\n            this._reportExpressionParserErrors(bindingsResult.errors, sourceSpan);\n\n            bindingsResult.templateBindings.forEach(function (binding) {\n              if (binding.expression) {\n                _this282._checkPipes(binding.expression, sourceSpan);\n              }\n            });\n            bindingsResult.warnings.forEach(function (warning) {\n              _this282._reportError(warning, sourceSpan, ParseErrorLevel.WARNING);\n            });\n            return bindingsResult.templateBindings;\n          } catch (e) {\n            this._reportError(\"\".concat(e), sourceSpan);\n\n            return [];\n          }\n        }\n      }, {\n        key: \"parseLiteralAttr\",\n        value: function parseLiteralAttr(name, value, sourceSpan, absoluteOffset, valueSpan, targetMatchableAttrs, targetProps) {\n          if (isAnimationLabel(name)) {\n            name = name.substring(1);\n\n            if (value) {\n              this._reportError(\"Assigning animation triggers via @prop=\\\"exp\\\" attributes with an expression is invalid.\" + \" Use property bindings (e.g. [@prop]=\\\"exp\\\") or use an attribute without a value (e.g. @prop) instead.\", sourceSpan, ParseErrorLevel.ERROR);\n            }\n\n            this._parseAnimation(name, value, sourceSpan, absoluteOffset, valueSpan, targetMatchableAttrs, targetProps);\n          } else {\n            targetProps.push(new ParsedProperty(name, this._exprParser.wrapLiteralPrimitive(value, '', absoluteOffset), ParsedPropertyType.LITERAL_ATTR, sourceSpan, valueSpan));\n          }\n        }\n      }, {\n        key: \"parsePropertyBinding\",\n        value: function parsePropertyBinding(name, expression, isHost, sourceSpan, absoluteOffset, valueSpan, targetMatchableAttrs, targetProps) {\n          var isAnimationProp = false;\n\n          if (name.startsWith(ANIMATE_PROP_PREFIX)) {\n            isAnimationProp = true;\n            name = name.substring(ANIMATE_PROP_PREFIX.length);\n          } else if (isAnimationLabel(name)) {\n            isAnimationProp = true;\n            name = name.substring(1);\n          }\n\n          if (isAnimationProp) {\n            this._parseAnimation(name, expression, sourceSpan, absoluteOffset, valueSpan, targetMatchableAttrs, targetProps);\n          } else {\n            this._parsePropertyAst(name, this._parseBinding(expression, isHost, valueSpan || sourceSpan, absoluteOffset), sourceSpan, valueSpan, targetMatchableAttrs, targetProps);\n          }\n        }\n      }, {\n        key: \"parsePropertyInterpolation\",\n        value: function parsePropertyInterpolation(name, value, sourceSpan, valueSpan, targetMatchableAttrs, targetProps) {\n          var expr = this.parseInterpolation(value, valueSpan || sourceSpan);\n\n          if (expr) {\n            this._parsePropertyAst(name, expr, sourceSpan, valueSpan, targetMatchableAttrs, targetProps);\n\n            return true;\n          }\n\n          return false;\n        }\n      }, {\n        key: \"_parsePropertyAst\",\n        value: function _parsePropertyAst(name, ast, sourceSpan, valueSpan, targetMatchableAttrs, targetProps) {\n          targetMatchableAttrs.push([name, ast.source]);\n          targetProps.push(new ParsedProperty(name, ast, ParsedPropertyType.DEFAULT, sourceSpan, valueSpan));\n        }\n      }, {\n        key: \"_parseAnimation\",\n        value: function _parseAnimation(name, expression, sourceSpan, absoluteOffset, valueSpan, targetMatchableAttrs, targetProps) {\n          // This will occur when a @trigger is not paired with an expression.\n          // For animations it is valid to not have an expression since */void\n          // states will be applied by angular when the element is attached/detached\n          var ast = this._parseBinding(expression || 'undefined', false, valueSpan || sourceSpan, absoluteOffset);\n\n          targetMatchableAttrs.push([name, ast.source]);\n          targetProps.push(new ParsedProperty(name, ast, ParsedPropertyType.ANIMATION, sourceSpan, valueSpan));\n        }\n      }, {\n        key: \"_parseBinding\",\n        value: function _parseBinding(value, isHostBinding, sourceSpan, absoluteOffset) {\n          var sourceInfo = (sourceSpan && sourceSpan.start || '(unknown)').toString();\n\n          try {\n            var ast = isHostBinding ? this._exprParser.parseSimpleBinding(value, sourceInfo, absoluteOffset, this._interpolationConfig) : this._exprParser.parseBinding(value, sourceInfo, absoluteOffset, this._interpolationConfig);\n            if (ast) this._reportExpressionParserErrors(ast.errors, sourceSpan);\n\n            this._checkPipes(ast, sourceSpan);\n\n            return ast;\n          } catch (e) {\n            this._reportError(\"\".concat(e), sourceSpan);\n\n            return this._exprParser.wrapLiteralPrimitive('ERROR', sourceInfo, absoluteOffset);\n          }\n        }\n      }, {\n        key: \"createBoundElementProperty\",\n        value: function createBoundElementProperty(elementSelector, boundProp) {\n          var skipValidation = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n          var mapPropertyName = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;\n\n          if (boundProp.isAnimation) {\n            return new BoundElementProperty(boundProp.name, 4\n            /* Animation */\n            , SecurityContext.NONE, boundProp.expression, null, boundProp.sourceSpan, boundProp.valueSpan);\n          }\n\n          var unit = null;\n          var bindingType = undefined;\n          var boundPropertyName = null;\n          var parts = boundProp.name.split(PROPERTY_PARTS_SEPARATOR);\n          var securityContexts = undefined; // Check for special cases (prefix style, attr, class)\n\n          if (parts.length > 1) {\n            if (parts[0] == ATTRIBUTE_PREFIX) {\n              boundPropertyName = parts[1];\n\n              if (!skipValidation) {\n                this._validatePropertyOrAttributeName(boundPropertyName, boundProp.sourceSpan, true);\n              }\n\n              securityContexts = _calcPossibleSecurityContexts(this._schemaRegistry, elementSelector, boundPropertyName, true);\n              var nsSeparatorIdx = boundPropertyName.indexOf(':');\n\n              if (nsSeparatorIdx > -1) {\n                var ns = boundPropertyName.substring(0, nsSeparatorIdx);\n                var name = boundPropertyName.substring(nsSeparatorIdx + 1);\n                boundPropertyName = mergeNsAndName(ns, name);\n              }\n\n              bindingType = 1\n              /* Attribute */\n              ;\n            } else if (parts[0] == CLASS_PREFIX) {\n              boundPropertyName = parts[1];\n              bindingType = 2\n              /* Class */\n              ;\n              securityContexts = [SecurityContext.NONE];\n            } else if (parts[0] == STYLE_PREFIX) {\n              unit = parts.length > 2 ? parts[2] : null;\n              boundPropertyName = parts[1];\n              bindingType = 3\n              /* Style */\n              ;\n              securityContexts = [SecurityContext.STYLE];\n            }\n          } // If not a special case, use the full property name\n\n\n          if (boundPropertyName === null) {\n            var mappedPropName = this._schemaRegistry.getMappedPropName(boundProp.name);\n\n            boundPropertyName = mapPropertyName ? mappedPropName : boundProp.name;\n            securityContexts = _calcPossibleSecurityContexts(this._schemaRegistry, elementSelector, mappedPropName, false);\n            bindingType = 0\n            /* Property */\n            ;\n\n            if (!skipValidation) {\n              this._validatePropertyOrAttributeName(mappedPropName, boundProp.sourceSpan, false);\n            }\n          }\n\n          return new BoundElementProperty(boundPropertyName, bindingType, securityContexts[0], boundProp.expression, unit, boundProp.sourceSpan, boundProp.valueSpan);\n        }\n      }, {\n        key: \"parseEvent\",\n        value: function parseEvent(name, expression, sourceSpan, handlerSpan, targetMatchableAttrs, targetEvents) {\n          if (isAnimationLabel(name)) {\n            name = name.substr(1);\n\n            this._parseAnimationEvent(name, expression, sourceSpan, handlerSpan, targetEvents);\n          } else {\n            this._parseRegularEvent(name, expression, sourceSpan, handlerSpan, targetMatchableAttrs, targetEvents);\n          }\n        }\n      }, {\n        key: \"calcPossibleSecurityContexts\",\n        value: function calcPossibleSecurityContexts(selector, propName, isAttribute) {\n          var prop = this._schemaRegistry.getMappedPropName(propName);\n\n          return _calcPossibleSecurityContexts(this._schemaRegistry, selector, prop, isAttribute);\n        }\n      }, {\n        key: \"_parseAnimationEvent\",\n        value: function _parseAnimationEvent(name, expression, sourceSpan, handlerSpan, targetEvents) {\n          var matches = splitAtPeriod(name, [name, '']);\n          var eventName = matches[0];\n          var phase = matches[1].toLowerCase();\n\n          if (phase) {\n            switch (phase) {\n              case 'start':\n              case 'done':\n                var ast = this._parseAction(expression, handlerSpan);\n\n                targetEvents.push(new ParsedEvent(eventName, phase, 1\n                /* Animation */\n                , ast, sourceSpan, handlerSpan));\n                break;\n\n              default:\n                this._reportError(\"The provided animation output phase value \\\"\".concat(phase, \"\\\" for \\\"@\").concat(eventName, \"\\\" is not supported (use start or done)\"), sourceSpan);\n\n                break;\n            }\n          } else {\n            this._reportError(\"The animation trigger output event (@\".concat(eventName, \") is missing its phase value name (start or done are currently supported)\"), sourceSpan);\n          }\n        }\n      }, {\n        key: \"_parseRegularEvent\",\n        value: function _parseRegularEvent(name, expression, sourceSpan, handlerSpan, targetMatchableAttrs, targetEvents) {\n          // long format: 'target: eventName'\n          var _splitAtColon3 = splitAtColon(name, [null, name]),\n              _splitAtColon4 = _slicedToArray(_splitAtColon3, 2),\n              target = _splitAtColon4[0],\n              eventName = _splitAtColon4[1];\n\n          var ast = this._parseAction(expression, handlerSpan);\n\n          targetMatchableAttrs.push([name, ast.source]);\n          targetEvents.push(new ParsedEvent(eventName, target, 0\n          /* Regular */\n          , ast, sourceSpan, handlerSpan)); // Don't detect directives for event names for now,\n          // so don't add the event name to the matchableAttrs\n        }\n      }, {\n        key: \"_parseAction\",\n        value: function _parseAction(value, sourceSpan) {\n          var sourceInfo = (sourceSpan && sourceSpan.start || '(unknown').toString();\n          var absoluteOffset = sourceSpan && sourceSpan.start ? sourceSpan.start.offset : 0;\n\n          try {\n            var ast = this._exprParser.parseAction(value, sourceInfo, absoluteOffset, this._interpolationConfig);\n\n            if (ast) {\n              this._reportExpressionParserErrors(ast.errors, sourceSpan);\n            }\n\n            if (!ast || ast.ast instanceof EmptyExpr) {\n              this._reportError(\"Empty expressions are not allowed\", sourceSpan);\n\n              return this._exprParser.wrapLiteralPrimitive('ERROR', sourceInfo, absoluteOffset);\n            }\n\n            this._checkPipes(ast, sourceSpan);\n\n            return ast;\n          } catch (e) {\n            this._reportError(\"\".concat(e), sourceSpan);\n\n            return this._exprParser.wrapLiteralPrimitive('ERROR', sourceInfo, absoluteOffset);\n          }\n        }\n      }, {\n        key: \"_reportError\",\n        value: function _reportError(message, sourceSpan) {\n          var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : ParseErrorLevel.ERROR;\n          this.errors.push(new ParseError(sourceSpan, message, level));\n        }\n      }, {\n        key: \"_reportExpressionParserErrors\",\n        value: function _reportExpressionParserErrors(errors, sourceSpan) {\n          var _iteratorNormalCompletion14 = true;\n          var _didIteratorError14 = false;\n          var _iteratorError14 = undefined;\n\n          try {\n            for (var _iterator14 = errors[Symbol.iterator](), _step14; !(_iteratorNormalCompletion14 = (_step14 = _iterator14.next()).done); _iteratorNormalCompletion14 = true) {\n              var _error = _step14.value;\n\n              this._reportError(_error.message, sourceSpan);\n            }\n          } catch (err) {\n            _didIteratorError14 = true;\n            _iteratorError14 = err;\n          } finally {\n            try {\n              if (!_iteratorNormalCompletion14 && _iterator14.return != null) {\n                _iterator14.return();\n              }\n            } finally {\n              if (_didIteratorError14) {\n                throw _iteratorError14;\n              }\n            }\n          }\n        } // Make sure all the used pipes are known in `this.pipesByName`\n\n      }, {\n        key: \"_checkPipes\",\n        value: function _checkPipes(ast, sourceSpan) {\n          var _this283 = this;\n\n          if (ast && this.pipesByName) {\n            var collector = new PipeCollector();\n            ast.visit(collector);\n            collector.pipes.forEach(function (ast, pipeName) {\n              var pipeMeta = _this283.pipesByName.get(pipeName);\n\n              if (!pipeMeta) {\n                _this283._reportError(\"The pipe '\".concat(pipeName, \"' could not be found\"), new ParseSourceSpan(sourceSpan.start.moveBy(ast.span.start), sourceSpan.start.moveBy(ast.span.end)));\n              } else {\n                _this283._usedPipes.set(pipeName, pipeMeta);\n              }\n            });\n          }\n        }\n        /**\n         * @param propName the name of the property / attribute\n         * @param sourceSpan\n         * @param isAttr true when binding to an attribute\n         */\n\n      }, {\n        key: \"_validatePropertyOrAttributeName\",\n        value: function _validatePropertyOrAttributeName(propName, sourceSpan, isAttr) {\n          var report = isAttr ? this._schemaRegistry.validateAttribute(propName) : this._schemaRegistry.validateProperty(propName);\n\n          if (report.error) {\n            this._reportError(report.msg, sourceSpan, ParseErrorLevel.ERROR);\n          }\n        }\n      }, {\n        key: \"interpolationConfig\",\n        get: function get() {\n          return this._interpolationConfig;\n        }\n      }]);\n\n      return BindingParser;\n    }();\n\n    var PipeCollector =\n    /*#__PURE__*/\n    function (_RecursiveAstVisitor$) {\n      _inherits(PipeCollector, _RecursiveAstVisitor$);\n\n      function PipeCollector() {\n        var _this284;\n\n        _classCallCheck(this, PipeCollector);\n\n        _this284 = _possibleConstructorReturn(this, _getPrototypeOf(PipeCollector).apply(this, arguments));\n        _this284.pipes = new Map();\n        return _this284;\n      }\n\n      _createClass2(PipeCollector, [{\n        key: \"visitPipe\",\n        value: function visitPipe(ast, context) {\n          this.pipes.set(ast.name, ast);\n          ast.exp.visit(this);\n          this.visitAll(ast.args, context);\n          return null;\n        }\n      }]);\n\n      return PipeCollector;\n    }(RecursiveAstVisitor$1);\n\n    function isAnimationLabel(name) {\n      return name[0] == '@';\n    }\n\n    function _calcPossibleSecurityContexts(registry, selector, propName, isAttribute) {\n      var ctxs = [];\n      CssSelector.parse(selector).forEach(function (selector) {\n        var elementNames = selector.element ? [selector.element] : registry.allKnownElementNames();\n        var notElementNames = new Set(selector.notSelectors.filter(function (selector) {\n          return selector.isElementSelector();\n        }).map(function (selector) {\n          return selector.element;\n        }));\n        var possibleElementNames = elementNames.filter(function (elementName) {\n          return !notElementNames.has(elementName);\n        });\n        ctxs.push.apply(ctxs, _toConsumableArray(possibleElementNames.map(function (elementName) {\n          return registry.securityContext(elementName, propName, isAttribute);\n        })));\n      });\n      return ctxs.length === 0 ? [SecurityContext.NONE] : Array.from(new Set(ctxs)).sort();\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var NG_CONTENT_SELECT_ATTR = 'select';\n    var LINK_ELEMENT = 'link';\n    var LINK_STYLE_REL_ATTR = 'rel';\n    var LINK_STYLE_HREF_ATTR = 'href';\n    var LINK_STYLE_REL_VALUE = 'stylesheet';\n    var STYLE_ELEMENT = 'style';\n    var SCRIPT_ELEMENT = 'script';\n    var NG_NON_BINDABLE_ATTR = 'ngNonBindable';\n    var NG_PROJECT_AS = 'ngProjectAs';\n\n    function preparseElement(ast) {\n      var selectAttr = null;\n      var hrefAttr = null;\n      var relAttr = null;\n      var nonBindable = false;\n      var projectAs = '';\n      ast.attrs.forEach(function (attr) {\n        var lcAttrName = attr.name.toLowerCase();\n\n        if (lcAttrName == NG_CONTENT_SELECT_ATTR) {\n          selectAttr = attr.value;\n        } else if (lcAttrName == LINK_STYLE_HREF_ATTR) {\n          hrefAttr = attr.value;\n        } else if (lcAttrName == LINK_STYLE_REL_ATTR) {\n          relAttr = attr.value;\n        } else if (attr.name == NG_NON_BINDABLE_ATTR) {\n          nonBindable = true;\n        } else if (attr.name == NG_PROJECT_AS) {\n          if (attr.value.length > 0) {\n            projectAs = attr.value;\n          }\n        }\n      });\n      selectAttr = normalizeNgContentSelect(selectAttr);\n      var nodeName = ast.name.toLowerCase();\n      var type = PreparsedElementType.OTHER;\n\n      if (isNgContent(nodeName)) {\n        type = PreparsedElementType.NG_CONTENT;\n      } else if (nodeName == STYLE_ELEMENT) {\n        type = PreparsedElementType.STYLE;\n      } else if (nodeName == SCRIPT_ELEMENT) {\n        type = PreparsedElementType.SCRIPT;\n      } else if (nodeName == LINK_ELEMENT && relAttr == LINK_STYLE_REL_VALUE) {\n        type = PreparsedElementType.STYLESHEET;\n      }\n\n      return new PreparsedElement(type, selectAttr, hrefAttr, nonBindable, projectAs);\n    }\n\n    var PreparsedElementType;\n\n    (function (PreparsedElementType) {\n      PreparsedElementType[PreparsedElementType[\"NG_CONTENT\"] = 0] = \"NG_CONTENT\";\n      PreparsedElementType[PreparsedElementType[\"STYLE\"] = 1] = \"STYLE\";\n      PreparsedElementType[PreparsedElementType[\"STYLESHEET\"] = 2] = \"STYLESHEET\";\n      PreparsedElementType[PreparsedElementType[\"SCRIPT\"] = 3] = \"SCRIPT\";\n      PreparsedElementType[PreparsedElementType[\"OTHER\"] = 4] = \"OTHER\";\n    })(PreparsedElementType || (PreparsedElementType = {}));\n\n    var PreparsedElement = function PreparsedElement(type, selectAttr, hrefAttr, nonBindable, projectAs) {\n      _classCallCheck(this, PreparsedElement);\n\n      this.type = type;\n      this.selectAttr = selectAttr;\n      this.hrefAttr = hrefAttr;\n      this.nonBindable = nonBindable;\n      this.projectAs = projectAs;\n    };\n\n    function normalizeNgContentSelect(selectAttr) {\n      if (selectAttr === null || selectAttr.length === 0) {\n        return '*';\n      }\n\n      return selectAttr;\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var BIND_NAME_REGEXP = /^(?:(?:(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.+))|\\[\\(([^\\)]+)\\)\\]|\\[([^\\]]+)\\]|\\(([^\\)]+)\\))$/; // Group 1 = \"bind-\"\n\n    var KW_BIND_IDX = 1; // Group 2 = \"let-\"\n\n    var KW_LET_IDX = 2; // Group 3 = \"ref-/#\"\n\n    var KW_REF_IDX = 3; // Group 4 = \"on-\"\n\n    var KW_ON_IDX = 4; // Group 5 = \"bindon-\"\n\n    var KW_BINDON_IDX = 5; // Group 6 = \"@\"\n\n    var KW_AT_IDX = 6; // Group 7 = the identifier after \"bind-\", \"let-\", \"ref-/#\", \"on-\", \"bindon-\" or \"@\"\n\n    var IDENT_KW_IDX = 7; // Group 8 = identifier inside [()]\n\n    var IDENT_BANANA_BOX_IDX = 8; // Group 9 = identifier inside []\n\n    var IDENT_PROPERTY_IDX = 9; // Group 10 = identifier inside ()\n\n    var IDENT_EVENT_IDX = 10;\n    var TEMPLATE_ATTR_PREFIX = '*';\n    var CLASS_ATTR = 'class';\n\n    var _TEXT_CSS_SELECTOR;\n\n    function TEXT_CSS_SELECTOR() {\n      if (!_TEXT_CSS_SELECTOR) {\n        _TEXT_CSS_SELECTOR = CssSelector.parse('*')[0];\n      }\n\n      return _TEXT_CSS_SELECTOR;\n    }\n\n    var TemplateParseError =\n    /*#__PURE__*/\n    function (_ParseError5) {\n      _inherits(TemplateParseError, _ParseError5);\n\n      function TemplateParseError(message, span, level) {\n        _classCallCheck(this, TemplateParseError);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(TemplateParseError).call(this, span, message, level));\n      }\n\n      return TemplateParseError;\n    }(ParseError);\n\n    var TemplateParseResult = function TemplateParseResult(templateAst, usedPipes, errors) {\n      _classCallCheck(this, TemplateParseResult);\n\n      this.templateAst = templateAst;\n      this.usedPipes = usedPipes;\n      this.errors = errors;\n    };\n\n    var TemplateParser =\n    /*#__PURE__*/\n    function () {\n      function TemplateParser(_config, _reflector, _exprParser, _schemaRegistry, _htmlParser, _console, transforms) {\n        _classCallCheck(this, TemplateParser);\n\n        this._config = _config;\n        this._reflector = _reflector;\n        this._exprParser = _exprParser;\n        this._schemaRegistry = _schemaRegistry;\n        this._htmlParser = _htmlParser;\n        this._console = _console;\n        this.transforms = transforms;\n      }\n\n      _createClass2(TemplateParser, [{\n        key: \"parse\",\n        value: function parse(component, template, directives, pipes, schemas, templateUrl, preserveWhitespaces) {\n          var result = this.tryParse(component, template, directives, pipes, schemas, templateUrl, preserveWhitespaces);\n          var warnings = result.errors.filter(function (error) {\n            return error.level === ParseErrorLevel.WARNING;\n          });\n          var errors = result.errors.filter(function (error) {\n            return error.level === ParseErrorLevel.ERROR;\n          });\n\n          if (warnings.length > 0) {\n            this._console.warn(\"Template parse warnings:\\n\".concat(warnings.join('\\n')));\n          }\n\n          if (errors.length > 0) {\n            var errorString = errors.join('\\n');\n            throw syntaxError(\"Template parse errors:\\n\".concat(errorString), errors);\n          }\n\n          return {\n            template: result.templateAst,\n            pipes: result.usedPipes\n          };\n        }\n      }, {\n        key: \"tryParse\",\n        value: function tryParse(component, template, directives, pipes, schemas, templateUrl, preserveWhitespaces) {\n          var htmlParseResult = typeof template === 'string' ? this._htmlParser.parse(template, templateUrl, {\n            tokenizeExpansionForms: true,\n            interpolationConfig: this.getInterpolationConfig(component)\n          }) : template;\n\n          if (!preserveWhitespaces) {\n            htmlParseResult = removeWhitespaces(htmlParseResult);\n          }\n\n          return this.tryParseHtml(this.expandHtml(htmlParseResult), component, directives, pipes, schemas);\n        }\n      }, {\n        key: \"tryParseHtml\",\n        value: function tryParseHtml(htmlAstWithErrors, component, directives, pipes, schemas) {\n          var result;\n          var errors = htmlAstWithErrors.errors;\n          var usedPipes = [];\n\n          if (htmlAstWithErrors.rootNodes.length > 0) {\n            var uniqDirectives = removeSummaryDuplicates(directives);\n            var uniqPipes = removeSummaryDuplicates(pipes);\n            var providerViewContext = new ProviderViewContext(this._reflector, component);\n            var interpolationConfig = undefined;\n\n            if (component.template && component.template.interpolation) {\n              interpolationConfig = {\n                start: component.template.interpolation[0],\n                end: component.template.interpolation[1]\n              };\n            }\n\n            var bindingParser = new BindingParser(this._exprParser, interpolationConfig, this._schemaRegistry, uniqPipes, errors);\n            var parseVisitor = new TemplateParseVisitor(this._reflector, this._config, providerViewContext, uniqDirectives, bindingParser, this._schemaRegistry, schemas, errors);\n            result = visitAll$1(parseVisitor, htmlAstWithErrors.rootNodes, EMPTY_ELEMENT_CONTEXT);\n            errors.push.apply(errors, _toConsumableArray(providerViewContext.errors));\n            usedPipes.push.apply(usedPipes, _toConsumableArray(bindingParser.getUsedPipes()));\n          } else {\n            result = [];\n          }\n\n          this._assertNoReferenceDuplicationOnTemplate(result, errors);\n\n          if (errors.length > 0) {\n            return new TemplateParseResult(result, usedPipes, errors);\n          }\n\n          if (this.transforms) {\n            this.transforms.forEach(function (transform) {\n              result = templateVisitAll(transform, result);\n            });\n          }\n\n          return new TemplateParseResult(result, usedPipes, errors);\n        }\n      }, {\n        key: \"expandHtml\",\n        value: function expandHtml(htmlAstWithErrors) {\n          var forced = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n          var errors = htmlAstWithErrors.errors;\n\n          if (errors.length == 0 || forced) {\n            // Transform ICU messages to angular directives\n            var expandedHtmlAst = expandNodes(htmlAstWithErrors.rootNodes);\n            errors.push.apply(errors, _toConsumableArray(expandedHtmlAst.errors));\n            htmlAstWithErrors = new ParseTreeResult(expandedHtmlAst.nodes, errors);\n          }\n\n          return htmlAstWithErrors;\n        }\n      }, {\n        key: \"getInterpolationConfig\",\n        value: function getInterpolationConfig(component) {\n          if (component.template) {\n            return InterpolationConfig.fromArray(component.template.interpolation);\n          }\n\n          return undefined;\n        }\n        /** @internal */\n\n      }, {\n        key: \"_assertNoReferenceDuplicationOnTemplate\",\n        value: function _assertNoReferenceDuplicationOnTemplate(result, errors) {\n          var existingReferences = [];\n          result.filter(function (element) {\n            return !!element.references;\n          }).forEach(function (element) {\n            return element.references.forEach(function (reference) {\n              var name = reference.name;\n\n              if (existingReferences.indexOf(name) < 0) {\n                existingReferences.push(name);\n              } else {\n                var _error2 = new TemplateParseError(\"Reference \\\"#\".concat(name, \"\\\" is defined several times\"), reference.sourceSpan, ParseErrorLevel.ERROR);\n\n                errors.push(_error2);\n              }\n            });\n          });\n        }\n      }, {\n        key: \"expressionParser\",\n        get: function get() {\n          return this._exprParser;\n        }\n      }]);\n\n      return TemplateParser;\n    }();\n\n    var TemplateParseVisitor =\n    /*#__PURE__*/\n    function () {\n      function TemplateParseVisitor(reflector, config, providerViewContext, directives, _bindingParser, _schemaRegistry, _schemas, _targetErrors) {\n        var _this285 = this;\n\n        _classCallCheck(this, TemplateParseVisitor);\n\n        this.reflector = reflector;\n        this.config = config;\n        this.providerViewContext = providerViewContext;\n        this._bindingParser = _bindingParser;\n        this._schemaRegistry = _schemaRegistry;\n        this._schemas = _schemas;\n        this._targetErrors = _targetErrors;\n        this.selectorMatcher = new SelectorMatcher();\n        this.directivesIndex = new Map();\n        this.ngContentCount = 0; // Note: queries start with id 1 so we can use the number in a Bloom filter!\n\n        this.contentQueryStartId = providerViewContext.component.viewQueries.length + 1;\n        directives.forEach(function (directive, index) {\n          var selector = CssSelector.parse(directive.selector);\n\n          _this285.selectorMatcher.addSelectables(selector, directive);\n\n          _this285.directivesIndex.set(directive, index);\n        });\n      }\n\n      _createClass2(TemplateParseVisitor, [{\n        key: \"visitExpansion\",\n        value: function visitExpansion(expansion, context) {\n          return null;\n        }\n      }, {\n        key: \"visitExpansionCase\",\n        value: function visitExpansionCase(expansionCase, context) {\n          return null;\n        }\n      }, {\n        key: \"visitText\",\n        value: function visitText(text, parent) {\n          var ngContentIndex = parent.findNgContentIndex(TEXT_CSS_SELECTOR());\n          var valueNoNgsp = replaceNgsp(text.value);\n\n          var expr = this._bindingParser.parseInterpolation(valueNoNgsp, text.sourceSpan);\n\n          return expr ? new BoundTextAst(expr, ngContentIndex, text.sourceSpan) : new TextAst(valueNoNgsp, ngContentIndex, text.sourceSpan);\n        }\n      }, {\n        key: \"visitAttribute\",\n        value: function visitAttribute(attribute, context) {\n          return new AttrAst(attribute.name, attribute.value, attribute.sourceSpan);\n        }\n      }, {\n        key: \"visitComment\",\n        value: function visitComment(comment, context) {\n          return null;\n        }\n      }, {\n        key: \"visitElement\",\n        value: function visitElement(element, parent) {\n          var _this286 = this;\n\n          var queryStartIndex = this.contentQueryStartId;\n          var elName = element.name;\n          var preparsedElement = preparseElement(element);\n\n          if (preparsedElement.type === PreparsedElementType.SCRIPT || preparsedElement.type === PreparsedElementType.STYLE) {\n            // Skipping <script> for security reasons\n            // Skipping <style> as we already processed them\n            // in the StyleCompiler\n            return null;\n          }\n\n          if (preparsedElement.type === PreparsedElementType.STYLESHEET && isStyleUrlResolvable(preparsedElement.hrefAttr)) {\n            // Skipping stylesheets with either relative urls or package scheme as we already processed\n            // them in the StyleCompiler\n            return null;\n          }\n\n          var matchableAttrs = [];\n          var elementOrDirectiveProps = [];\n          var elementOrDirectiveRefs = [];\n          var elementVars = [];\n          var events = [];\n          var templateElementOrDirectiveProps = [];\n          var templateMatchableAttrs = [];\n          var templateElementVars = [];\n          var hasInlineTemplates = false;\n          var attrs = [];\n          var isTemplateElement = isNgTemplate(element.name);\n          element.attrs.forEach(function (attr) {\n            var parsedVariables = [];\n\n            var hasBinding = _this286._parseAttr(isTemplateElement, attr, matchableAttrs, elementOrDirectiveProps, events, elementOrDirectiveRefs, elementVars);\n\n            elementVars.push.apply(elementVars, _toConsumableArray(parsedVariables.map(function (v) {\n              return VariableAst.fromParsedVariable(v);\n            })));\n            var templateValue;\n            var templateKey;\n\n            var normalizedName = _this286._normalizeAttributeName(attr.name);\n\n            if (normalizedName.startsWith(TEMPLATE_ATTR_PREFIX)) {\n              templateValue = attr.value;\n              templateKey = normalizedName.substring(TEMPLATE_ATTR_PREFIX.length);\n            }\n\n            var hasTemplateBinding = templateValue != null;\n\n            if (hasTemplateBinding) {\n              if (hasInlineTemplates) {\n                _this286._reportError(\"Can't have multiple template bindings on one element. Use only one attribute prefixed with *\", attr.sourceSpan);\n              }\n\n              hasInlineTemplates = true;\n              var _parsedVariables = [];\n\n              _this286._bindingParser.parseInlineTemplateBinding(templateKey, templateValue, attr.sourceSpan, attr.sourceSpan.start.offset, templateMatchableAttrs, templateElementOrDirectiveProps, _parsedVariables);\n\n              templateElementVars.push.apply(templateElementVars, _toConsumableArray(_parsedVariables.map(function (v) {\n                return VariableAst.fromParsedVariable(v);\n              })));\n            }\n\n            if (!hasBinding && !hasTemplateBinding) {\n              // don't include the bindings as attributes as well in the AST\n              attrs.push(_this286.visitAttribute(attr, null));\n              matchableAttrs.push([attr.name, attr.value]);\n            }\n          });\n          var elementCssSelector = createElementCssSelector(elName, matchableAttrs);\n\n          var _this$_parseDirective = this._parseDirectives(this.selectorMatcher, elementCssSelector),\n              directiveMetas = _this$_parseDirective.directives,\n              matchElement = _this$_parseDirective.matchElement;\n\n          var references = [];\n          var boundDirectivePropNames = new Set();\n\n          var directiveAsts = this._createDirectiveAsts(isTemplateElement, element.name, directiveMetas, elementOrDirectiveProps, elementOrDirectiveRefs, element.sourceSpan, references, boundDirectivePropNames);\n\n          var elementProps = this._createElementPropertyAsts(element.name, elementOrDirectiveProps, boundDirectivePropNames);\n\n          var isViewRoot = parent.isTemplateElement || hasInlineTemplates;\n          var providerContext = new ProviderElementContext(this.providerViewContext, parent.providerContext, isViewRoot, directiveAsts, attrs, references, isTemplateElement, queryStartIndex, element.sourceSpan);\n          var children = visitAll$1(preparsedElement.nonBindable ? NON_BINDABLE_VISITOR : this, element.children, ElementContext.create(isTemplateElement, directiveAsts, isTemplateElement ? parent.providerContext : providerContext));\n          providerContext.afterElement(); // Override the actual selector when the `ngProjectAs` attribute is provided\n\n          var projectionSelector = preparsedElement.projectAs != '' ? CssSelector.parse(preparsedElement.projectAs)[0] : elementCssSelector;\n          var ngContentIndex = parent.findNgContentIndex(projectionSelector);\n          var parsedElement;\n\n          if (preparsedElement.type === PreparsedElementType.NG_CONTENT) {\n            // `<ng-content>` element\n            if (element.children && !element.children.every(_isEmptyTextNode)) {\n              this._reportError(\"<ng-content> element cannot have content.\", element.sourceSpan);\n            }\n\n            parsedElement = new NgContentAst(this.ngContentCount++, hasInlineTemplates ? null : ngContentIndex, element.sourceSpan);\n          } else if (isTemplateElement) {\n            // `<ng-template>` element\n            this._assertAllEventsPublishedByDirectives(directiveAsts, events);\n\n            this._assertNoComponentsNorElementBindingsOnTemplate(directiveAsts, elementProps, element.sourceSpan);\n\n            parsedElement = new EmbeddedTemplateAst(attrs, events, references, elementVars, providerContext.transformedDirectiveAsts, providerContext.transformProviders, providerContext.transformedHasViewContainer, providerContext.queryMatches, children, hasInlineTemplates ? null : ngContentIndex, element.sourceSpan);\n          } else {\n            // element other than `<ng-content>` and `<ng-template>`\n            this._assertElementExists(matchElement, element);\n\n            this._assertOnlyOneComponent(directiveAsts, element.sourceSpan);\n\n            var _ngContentIndex = hasInlineTemplates ? null : parent.findNgContentIndex(projectionSelector);\n\n            parsedElement = new ElementAst(elName, attrs, elementProps, events, references, providerContext.transformedDirectiveAsts, providerContext.transformProviders, providerContext.transformedHasViewContainer, providerContext.queryMatches, children, hasInlineTemplates ? null : _ngContentIndex, element.sourceSpan, element.endSourceSpan || null);\n          }\n\n          if (hasInlineTemplates) {\n            // The element as a *-attribute\n            var templateQueryStartIndex = this.contentQueryStartId;\n            var templateSelector = createElementCssSelector('ng-template', templateMatchableAttrs);\n\n            var _this$_parseDirective2 = this._parseDirectives(this.selectorMatcher, templateSelector),\n                directives = _this$_parseDirective2.directives;\n\n            var templateBoundDirectivePropNames = new Set();\n\n            var templateDirectiveAsts = this._createDirectiveAsts(true, elName, directives, templateElementOrDirectiveProps, [], element.sourceSpan, [], templateBoundDirectivePropNames);\n\n            var templateElementProps = this._createElementPropertyAsts(elName, templateElementOrDirectiveProps, templateBoundDirectivePropNames);\n\n            this._assertNoComponentsNorElementBindingsOnTemplate(templateDirectiveAsts, templateElementProps, element.sourceSpan);\n\n            var templateProviderContext = new ProviderElementContext(this.providerViewContext, parent.providerContext, parent.isTemplateElement, templateDirectiveAsts, [], [], true, templateQueryStartIndex, element.sourceSpan);\n            templateProviderContext.afterElement();\n            parsedElement = new EmbeddedTemplateAst([], [], [], templateElementVars, templateProviderContext.transformedDirectiveAsts, templateProviderContext.transformProviders, templateProviderContext.transformedHasViewContainer, templateProviderContext.queryMatches, [parsedElement], ngContentIndex, element.sourceSpan);\n          }\n\n          return parsedElement;\n        }\n      }, {\n        key: \"_parseAttr\",\n        value: function _parseAttr(isTemplateElement, attr, targetMatchableAttrs, targetProps, targetEvents, targetRefs, targetVars) {\n          var name = this._normalizeAttributeName(attr.name);\n\n          var value = attr.value;\n          var srcSpan = attr.sourceSpan;\n          var absoluteOffset = attr.valueSpan ? attr.valueSpan.start.offset : srcSpan.start.offset;\n          var boundEvents = [];\n          var bindParts = name.match(BIND_NAME_REGEXP);\n          var hasBinding = false;\n\n          if (bindParts !== null) {\n            hasBinding = true;\n\n            if (bindParts[KW_BIND_IDX] != null) {\n              this._bindingParser.parsePropertyBinding(bindParts[IDENT_KW_IDX], value, false, srcSpan, absoluteOffset, attr.valueSpan, targetMatchableAttrs, targetProps);\n            } else if (bindParts[KW_LET_IDX]) {\n              if (isTemplateElement) {\n                var identifier = bindParts[IDENT_KW_IDX];\n\n                this._parseVariable(identifier, value, srcSpan, targetVars);\n              } else {\n                this._reportError(\"\\\"let-\\\" is only supported on ng-template elements.\", srcSpan);\n              }\n            } else if (bindParts[KW_REF_IDX]) {\n              var _identifier = bindParts[IDENT_KW_IDX];\n\n              this._parseReference(_identifier, value, srcSpan, targetRefs);\n            } else if (bindParts[KW_ON_IDX]) {\n              this._bindingParser.parseEvent(bindParts[IDENT_KW_IDX], value, srcSpan, attr.valueSpan || srcSpan, targetMatchableAttrs, boundEvents);\n            } else if (bindParts[KW_BINDON_IDX]) {\n              this._bindingParser.parsePropertyBinding(bindParts[IDENT_KW_IDX], value, false, srcSpan, absoluteOffset, attr.valueSpan, targetMatchableAttrs, targetProps);\n\n              this._parseAssignmentEvent(bindParts[IDENT_KW_IDX], value, srcSpan, attr.valueSpan || srcSpan, targetMatchableAttrs, boundEvents);\n            } else if (bindParts[KW_AT_IDX]) {\n              this._bindingParser.parseLiteralAttr(name, value, srcSpan, absoluteOffset, attr.valueSpan, targetMatchableAttrs, targetProps);\n            } else if (bindParts[IDENT_BANANA_BOX_IDX]) {\n              this._bindingParser.parsePropertyBinding(bindParts[IDENT_BANANA_BOX_IDX], value, false, srcSpan, absoluteOffset, attr.valueSpan, targetMatchableAttrs, targetProps);\n\n              this._parseAssignmentEvent(bindParts[IDENT_BANANA_BOX_IDX], value, srcSpan, attr.valueSpan || srcSpan, targetMatchableAttrs, boundEvents);\n            } else if (bindParts[IDENT_PROPERTY_IDX]) {\n              this._bindingParser.parsePropertyBinding(bindParts[IDENT_PROPERTY_IDX], value, false, srcSpan, absoluteOffset, attr.valueSpan, targetMatchableAttrs, targetProps);\n            } else if (bindParts[IDENT_EVENT_IDX]) {\n              this._bindingParser.parseEvent(bindParts[IDENT_EVENT_IDX], value, srcSpan, attr.valueSpan || srcSpan, targetMatchableAttrs, boundEvents);\n            }\n          } else {\n            hasBinding = this._bindingParser.parsePropertyInterpolation(name, value, srcSpan, attr.valueSpan, targetMatchableAttrs, targetProps);\n          }\n\n          if (!hasBinding) {\n            this._bindingParser.parseLiteralAttr(name, value, srcSpan, absoluteOffset, attr.valueSpan, targetMatchableAttrs, targetProps);\n          }\n\n          targetEvents.push.apply(targetEvents, _toConsumableArray(boundEvents.map(function (e) {\n            return BoundEventAst.fromParsedEvent(e);\n          })));\n          return hasBinding;\n        }\n      }, {\n        key: \"_normalizeAttributeName\",\n        value: function _normalizeAttributeName(attrName) {\n          return /^data-/i.test(attrName) ? attrName.substring(5) : attrName;\n        }\n      }, {\n        key: \"_parseVariable\",\n        value: function _parseVariable(identifier, value, sourceSpan, targetVars) {\n          if (identifier.indexOf('-') > -1) {\n            this._reportError(\"\\\"-\\\" is not allowed in variable names\", sourceSpan);\n          }\n\n          targetVars.push(new VariableAst(identifier, value, sourceSpan));\n        }\n      }, {\n        key: \"_parseReference\",\n        value: function _parseReference(identifier, value, sourceSpan, targetRefs) {\n          if (identifier.indexOf('-') > -1) {\n            this._reportError(\"\\\"-\\\" is not allowed in reference names\", sourceSpan);\n          }\n\n          targetRefs.push(new ElementOrDirectiveRef(identifier, value, sourceSpan));\n        }\n      }, {\n        key: \"_parseAssignmentEvent\",\n        value: function _parseAssignmentEvent(name, expression, sourceSpan, valueSpan, targetMatchableAttrs, targetEvents) {\n          this._bindingParser.parseEvent(\"\".concat(name, \"Change\"), \"\".concat(expression, \"=$event\"), sourceSpan, valueSpan, targetMatchableAttrs, targetEvents);\n        }\n      }, {\n        key: \"_parseDirectives\",\n        value: function _parseDirectives(selectorMatcher, elementCssSelector) {\n          var _this287 = this;\n\n          // Need to sort the directives so that we get consistent results throughout,\n          // as selectorMatcher uses Maps inside.\n          // Also deduplicate directives as they might match more than one time!\n          var directives = new Array(this.directivesIndex.size); // Whether any directive selector matches on the element name\n\n          var matchElement = false;\n          selectorMatcher.match(elementCssSelector, function (selector, directive) {\n            directives[_this287.directivesIndex.get(directive)] = directive;\n            matchElement = matchElement || selector.hasElementSelector();\n          });\n          return {\n            directives: directives.filter(function (dir) {\n              return !!dir;\n            }),\n            matchElement: matchElement\n          };\n        }\n      }, {\n        key: \"_createDirectiveAsts\",\n        value: function _createDirectiveAsts(isTemplateElement, elementName, directives, props, elementOrDirectiveRefs, elementSourceSpan, targetReferences, targetBoundDirectivePropNames) {\n          var _this288 = this;\n\n          var matchedReferences = new Set();\n          var component = null;\n          var directiveAsts = directives.map(function (directive) {\n            var sourceSpan = new ParseSourceSpan(elementSourceSpan.start, elementSourceSpan.end, \"Directive \".concat(identifierName(directive.type)));\n\n            if (directive.isComponent) {\n              component = directive;\n            }\n\n            var directiveProperties = [];\n\n            var boundProperties = _this288._bindingParser.createDirectiveHostPropertyAsts(directive, elementName, sourceSpan);\n\n            var hostProperties = boundProperties.map(function (prop) {\n              return BoundElementPropertyAst.fromBoundProperty(prop);\n            }); // Note: We need to check the host properties here as well,\n            // as we don't know the element name in the DirectiveWrapperCompiler yet.\n\n            hostProperties = _this288._checkPropertiesInSchema(elementName, hostProperties);\n\n            var parsedEvents = _this288._bindingParser.createDirectiveHostEventAsts(directive, sourceSpan);\n\n            _this288._createDirectivePropertyAsts(directive.inputs, props, directiveProperties, targetBoundDirectivePropNames);\n\n            elementOrDirectiveRefs.forEach(function (elOrDirRef) {\n              if (elOrDirRef.value.length === 0 && directive.isComponent || elOrDirRef.isReferenceToDirective(directive)) {\n                targetReferences.push(new ReferenceAst(elOrDirRef.name, createTokenForReference(directive.type.reference), elOrDirRef.value, elOrDirRef.sourceSpan));\n                matchedReferences.add(elOrDirRef.name);\n              }\n            });\n            var hostEvents = parsedEvents.map(function (e) {\n              return BoundEventAst.fromParsedEvent(e);\n            });\n            var contentQueryStartId = _this288.contentQueryStartId;\n            _this288.contentQueryStartId += directive.queries.length;\n            return new DirectiveAst(directive, directiveProperties, hostProperties, hostEvents, contentQueryStartId, sourceSpan);\n          });\n          elementOrDirectiveRefs.forEach(function (elOrDirRef) {\n            if (elOrDirRef.value.length > 0) {\n              if (!matchedReferences.has(elOrDirRef.name)) {\n                _this288._reportError(\"There is no directive with \\\"exportAs\\\" set to \\\"\".concat(elOrDirRef.value, \"\\\"\"), elOrDirRef.sourceSpan);\n              }\n            } else if (!component) {\n              var refToken = null;\n\n              if (isTemplateElement) {\n                refToken = createTokenForExternalReference(_this288.reflector, Identifiers.TemplateRef);\n              }\n\n              targetReferences.push(new ReferenceAst(elOrDirRef.name, refToken, elOrDirRef.value, elOrDirRef.sourceSpan));\n            }\n          });\n          return directiveAsts;\n        }\n      }, {\n        key: \"_createDirectivePropertyAsts\",\n        value: function _createDirectivePropertyAsts(directiveProperties, boundProps, targetBoundDirectiveProps, targetBoundDirectivePropNames) {\n          if (directiveProperties) {\n            var boundPropsByName = new Map();\n            boundProps.forEach(function (boundProp) {\n              var prevValue = boundPropsByName.get(boundProp.name);\n\n              if (!prevValue || prevValue.isLiteral) {\n                // give [a]=\"b\" a higher precedence than a=\"b\" on the same element\n                boundPropsByName.set(boundProp.name, boundProp);\n              }\n            });\n            Object.keys(directiveProperties).forEach(function (dirProp) {\n              var elProp = directiveProperties[dirProp];\n              var boundProp = boundPropsByName.get(elProp); // Bindings are optional, so this binding only needs to be set up if an expression is given.\n\n              if (boundProp) {\n                targetBoundDirectivePropNames.add(boundProp.name);\n\n                if (!isEmptyExpression(boundProp.expression)) {\n                  targetBoundDirectiveProps.push(new BoundDirectivePropertyAst(dirProp, boundProp.name, boundProp.expression, boundProp.sourceSpan));\n                }\n              }\n            });\n          }\n        }\n      }, {\n        key: \"_createElementPropertyAsts\",\n        value: function _createElementPropertyAsts(elementName, props, boundDirectivePropNames) {\n          var _this289 = this;\n\n          var boundElementProps = [];\n          props.forEach(function (prop) {\n            if (!prop.isLiteral && !boundDirectivePropNames.has(prop.name)) {\n              var boundProp = _this289._bindingParser.createBoundElementProperty(elementName, prop);\n\n              boundElementProps.push(BoundElementPropertyAst.fromBoundProperty(boundProp));\n            }\n          });\n          return this._checkPropertiesInSchema(elementName, boundElementProps);\n        }\n      }, {\n        key: \"_findComponentDirectives\",\n        value: function _findComponentDirectives(directives) {\n          return directives.filter(function (directive) {\n            return directive.directive.isComponent;\n          });\n        }\n      }, {\n        key: \"_findComponentDirectiveNames\",\n        value: function _findComponentDirectiveNames(directives) {\n          return this._findComponentDirectives(directives).map(function (directive) {\n            return identifierName(directive.directive.type);\n          });\n        }\n      }, {\n        key: \"_assertOnlyOneComponent\",\n        value: function _assertOnlyOneComponent(directives, sourceSpan) {\n          var componentTypeNames = this._findComponentDirectiveNames(directives);\n\n          if (componentTypeNames.length > 1) {\n            this._reportError(\"More than one component matched on this element.\\n\" + \"Make sure that only one component's selector can match a given element.\\n\" + \"Conflicting components: \".concat(componentTypeNames.join(',')), sourceSpan);\n          }\n        }\n        /**\n         * Make sure that non-angular tags conform to the schemas.\n         *\n         * Note: An element is considered an angular tag when at least one directive selector matches the\n         * tag name.\n         *\n         * @param matchElement Whether any directive has matched on the tag name\n         * @param element the html element\n         */\n\n      }, {\n        key: \"_assertElementExists\",\n        value: function _assertElementExists(matchElement, element) {\n          var elName = element.name.replace(/^:xhtml:/, '');\n\n          if (!matchElement && !this._schemaRegistry.hasElement(elName, this._schemas)) {\n            var errorMsg = \"'\".concat(elName, \"' is not a known element:\\n\");\n            errorMsg += \"1. If '\".concat(elName, \"' is an Angular component, then verify that it is part of this module.\\n\");\n\n            if (elName.indexOf('-') > -1) {\n              errorMsg += \"2. If '\".concat(elName, \"' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.\");\n            } else {\n              errorMsg += \"2. To allow any element add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.\";\n            }\n\n            this._reportError(errorMsg, element.sourceSpan);\n          }\n        }\n      }, {\n        key: \"_assertNoComponentsNorElementBindingsOnTemplate\",\n        value: function _assertNoComponentsNorElementBindingsOnTemplate(directives, elementProps, sourceSpan) {\n          var _this290 = this;\n\n          var componentTypeNames = this._findComponentDirectiveNames(directives);\n\n          if (componentTypeNames.length > 0) {\n            this._reportError(\"Components on an embedded template: \".concat(componentTypeNames.join(',')), sourceSpan);\n          }\n\n          elementProps.forEach(function (prop) {\n            _this290._reportError(\"Property binding \".concat(prop.name, \" not used by any directive on an embedded template. Make sure that the property name is spelled correctly and all directives are listed in the \\\"@NgModule.declarations\\\".\"), sourceSpan);\n          });\n        }\n      }, {\n        key: \"_assertAllEventsPublishedByDirectives\",\n        value: function _assertAllEventsPublishedByDirectives(directives, events) {\n          var _this291 = this;\n\n          var allDirectiveEvents = new Set();\n          directives.forEach(function (directive) {\n            Object.keys(directive.directive.outputs).forEach(function (k) {\n              var eventName = directive.directive.outputs[k];\n              allDirectiveEvents.add(eventName);\n            });\n          });\n          events.forEach(function (event) {\n            if (event.target != null || !allDirectiveEvents.has(event.name)) {\n              _this291._reportError(\"Event binding \".concat(event.fullName, \" not emitted by any directive on an embedded template. Make sure that the event name is spelled correctly and all directives are listed in the \\\"@NgModule.declarations\\\".\"), event.sourceSpan);\n            }\n          });\n        }\n      }, {\n        key: \"_checkPropertiesInSchema\",\n        value: function _checkPropertiesInSchema(elementName, boundProps) {\n          var _this292 = this;\n\n          // Note: We can't filter out empty expressions before this method,\n          // as we still want to validate them!\n          return boundProps.filter(function (boundProp) {\n            if (boundProp.type === 0\n            /* Property */\n            && !_this292._schemaRegistry.hasProperty(elementName, boundProp.name, _this292._schemas)) {\n              var errorMsg = \"Can't bind to '\".concat(boundProp.name, \"' since it isn't a known property of '\").concat(elementName, \"'.\");\n\n              if (elementName.startsWith('ng-')) {\n                errorMsg += \"\\n1. If '\".concat(boundProp.name, \"' is an Angular directive, then add 'CommonModule' to the '@NgModule.imports' of this component.\") + \"\\n2. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.\";\n              } else if (elementName.indexOf('-') > -1) {\n                errorMsg += \"\\n1. If '\".concat(elementName, \"' is an Angular component and it has '\").concat(boundProp.name, \"' input, then verify that it is part of this module.\") + \"\\n2. If '\".concat(elementName, \"' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.\") + \"\\n3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.\";\n              }\n\n              _this292._reportError(errorMsg, boundProp.sourceSpan);\n            }\n\n            return !isEmptyExpression(boundProp.value);\n          });\n        }\n      }, {\n        key: \"_reportError\",\n        value: function _reportError(message, sourceSpan) {\n          var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : ParseErrorLevel.ERROR;\n\n          this._targetErrors.push(new ParseError(sourceSpan, message, level));\n        }\n      }]);\n\n      return TemplateParseVisitor;\n    }();\n\n    var NonBindableVisitor =\n    /*#__PURE__*/\n    function () {\n      function NonBindableVisitor() {\n        _classCallCheck(this, NonBindableVisitor);\n      }\n\n      _createClass2(NonBindableVisitor, [{\n        key: \"visitElement\",\n        value: function visitElement(ast, parent) {\n          var preparsedElement = preparseElement(ast);\n\n          if (preparsedElement.type === PreparsedElementType.SCRIPT || preparsedElement.type === PreparsedElementType.STYLE || preparsedElement.type === PreparsedElementType.STYLESHEET) {\n            // Skipping <script> for security reasons\n            // Skipping <style> and stylesheets as we already processed them\n            // in the StyleCompiler\n            return null;\n          }\n\n          var attrNameAndValues = ast.attrs.map(function (attr) {\n            return [attr.name, attr.value];\n          });\n          var selector = createElementCssSelector(ast.name, attrNameAndValues);\n          var ngContentIndex = parent.findNgContentIndex(selector);\n          var children = visitAll$1(this, ast.children, EMPTY_ELEMENT_CONTEXT);\n          return new ElementAst(ast.name, visitAll$1(this, ast.attrs), [], [], [], [], [], false, [], children, ngContentIndex, ast.sourceSpan, ast.endSourceSpan);\n        }\n      }, {\n        key: \"visitComment\",\n        value: function visitComment(comment, context) {\n          return null;\n        }\n      }, {\n        key: \"visitAttribute\",\n        value: function visitAttribute(attribute, context) {\n          return new AttrAst(attribute.name, attribute.value, attribute.sourceSpan);\n        }\n      }, {\n        key: \"visitText\",\n        value: function visitText(text, parent) {\n          var ngContentIndex = parent.findNgContentIndex(TEXT_CSS_SELECTOR());\n          return new TextAst(text.value, ngContentIndex, text.sourceSpan);\n        }\n      }, {\n        key: \"visitExpansion\",\n        value: function visitExpansion(expansion, context) {\n          return expansion;\n        }\n      }, {\n        key: \"visitExpansionCase\",\n        value: function visitExpansionCase(expansionCase, context) {\n          return expansionCase;\n        }\n      }]);\n\n      return NonBindableVisitor;\n    }();\n    /**\n     * A reference to an element or directive in a template. E.g., the reference in this template:\n     *\n     * <div #myMenu=\"coolMenu\">\n     *\n     * would be {name: 'myMenu', value: 'coolMenu', sourceSpan: ...}\n     */\n\n\n    var ElementOrDirectiveRef =\n    /*#__PURE__*/\n    function () {\n      function ElementOrDirectiveRef(name, value, sourceSpan) {\n        _classCallCheck(this, ElementOrDirectiveRef);\n\n        this.name = name;\n        this.value = value;\n        this.sourceSpan = sourceSpan;\n      }\n      /** Gets whether this is a reference to the given directive. */\n\n\n      _createClass2(ElementOrDirectiveRef, [{\n        key: \"isReferenceToDirective\",\n        value: function isReferenceToDirective(directive) {\n          return splitExportAs(directive.exportAs).indexOf(this.value) !== -1;\n        }\n      }]);\n\n      return ElementOrDirectiveRef;\n    }();\n    /** Splits a raw, potentially comma-delimited `exportAs` value into an array of names. */\n\n\n    function splitExportAs(exportAs) {\n      return exportAs ? exportAs.split(',').map(function (e) {\n        return e.trim();\n      }) : [];\n    }\n\n    function splitClasses(classAttrValue) {\n      return classAttrValue.trim().split(/\\s+/g);\n    }\n\n    var ElementContext =\n    /*#__PURE__*/\n    function () {\n      function ElementContext(isTemplateElement, _ngContentIndexMatcher, _wildcardNgContentIndex, providerContext) {\n        _classCallCheck(this, ElementContext);\n\n        this.isTemplateElement = isTemplateElement;\n        this._ngContentIndexMatcher = _ngContentIndexMatcher;\n        this._wildcardNgContentIndex = _wildcardNgContentIndex;\n        this.providerContext = providerContext;\n      }\n\n      _createClass2(ElementContext, [{\n        key: \"findNgContentIndex\",\n        value: function findNgContentIndex(selector) {\n          var ngContentIndices = [];\n\n          this._ngContentIndexMatcher.match(selector, function (selector, ngContentIndex) {\n            ngContentIndices.push(ngContentIndex);\n          });\n\n          ngContentIndices.sort();\n\n          if (this._wildcardNgContentIndex != null) {\n            ngContentIndices.push(this._wildcardNgContentIndex);\n          }\n\n          return ngContentIndices.length > 0 ? ngContentIndices[0] : null;\n        }\n      }], [{\n        key: \"create\",\n        value: function create(isTemplateElement, directives, providerContext) {\n          var matcher = new SelectorMatcher();\n          var wildcardNgContentIndex = null;\n          var component = directives.find(function (directive) {\n            return directive.directive.isComponent;\n          });\n\n          if (component) {\n            var ngContentSelectors = component.directive.template.ngContentSelectors;\n\n            for (var i = 0; i < ngContentSelectors.length; i++) {\n              var selector = ngContentSelectors[i];\n\n              if (selector === '*') {\n                wildcardNgContentIndex = i;\n              } else {\n                matcher.addSelectables(CssSelector.parse(ngContentSelectors[i]), i);\n              }\n            }\n          }\n\n          return new ElementContext(isTemplateElement, matcher, wildcardNgContentIndex, providerContext);\n        }\n      }]);\n\n      return ElementContext;\n    }();\n\n    function createElementCssSelector(elementName, attributes) {\n      var cssSelector = new CssSelector();\n      var elNameNoNs = splitNsName(elementName)[1];\n      cssSelector.setElement(elNameNoNs);\n\n      for (var i = 0; i < attributes.length; i++) {\n        var attrName = attributes[i][0];\n        var attrNameNoNs = splitNsName(attrName)[1];\n        var attrValue = attributes[i][1];\n        cssSelector.addAttribute(attrNameNoNs, attrValue);\n\n        if (attrName.toLowerCase() == CLASS_ATTR) {\n          var classes = splitClasses(attrValue);\n          classes.forEach(function (className) {\n            return cssSelector.addClassName(className);\n          });\n        }\n      }\n\n      return cssSelector;\n    }\n\n    var EMPTY_ELEMENT_CONTEXT = new ElementContext(true, new SelectorMatcher(), null, null);\n    var NON_BINDABLE_VISITOR = new NonBindableVisitor();\n\n    function _isEmptyTextNode(node) {\n      return node instanceof Text$3 && node.value.trim().length == 0;\n    }\n\n    function removeSummaryDuplicates(items) {\n      var map = new Map();\n      items.forEach(function (item) {\n        if (!map.get(item.type.reference)) {\n          map.set(item.type.reference, item);\n        }\n      });\n      return Array.from(map.values());\n    }\n\n    function isEmptyExpression(ast) {\n      if (ast instanceof ASTWithSource) {\n        ast = ast.ast;\n      }\n\n      return ast instanceof EmptyExpr;\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * Parses string representation of a style and converts it into object literal.\n     *\n     * @param value string representation of style as used in the `style` attribute in HTML.\n     *   Example: `color: red; height: auto`.\n     * @returns An array of style property name and value pairs, e.g. `['color', 'red', 'height',\n     * 'auto']`\n     */\n\n\n    function parse(value) {\n      // we use a string array here instead of a string map\n      // because a string-map is not guaranteed to retain the\n      // order of the entries whereas a string array can be\n      // construted in a [key, value, key, value] format.\n      var styles = [];\n      var i = 0;\n      var parenDepth = 0;\n      var quote = 0\n      /* QuoteNone */\n      ;\n      var valueStart = 0;\n      var propStart = 0;\n      var currentProp = null;\n      var valueHasQuotes = false;\n\n      while (i < value.length) {\n        var token = value.charCodeAt(i++);\n\n        switch (token) {\n          case 40\n          /* OpenParen */\n          :\n            parenDepth++;\n            break;\n\n          case 41\n          /* CloseParen */\n          :\n            parenDepth--;\n            break;\n\n          case 39\n          /* QuoteSingle */\n          :\n            // valueStart needs to be there since prop values don't\n            // have quotes in CSS\n            valueHasQuotes = valueHasQuotes || valueStart > 0;\n\n            if (quote === 0\n            /* QuoteNone */\n            ) {\n                quote = 39\n                /* QuoteSingle */\n                ;\n              } else if (quote === 39\n            /* QuoteSingle */\n            && value.charCodeAt(i - 1) !== 92\n            /* BackSlash */\n            ) {\n                quote = 0\n                /* QuoteNone */\n                ;\n              }\n\n            break;\n\n          case 34\n          /* QuoteDouble */\n          :\n            // same logic as above\n            valueHasQuotes = valueHasQuotes || valueStart > 0;\n\n            if (quote === 0\n            /* QuoteNone */\n            ) {\n                quote = 34\n                /* QuoteDouble */\n                ;\n              } else if (quote === 34\n            /* QuoteDouble */\n            && value.charCodeAt(i - 1) !== 92\n            /* BackSlash */\n            ) {\n                quote = 0\n                /* QuoteNone */\n                ;\n              }\n\n            break;\n\n          case 58\n          /* Colon */\n          :\n            if (!currentProp && parenDepth === 0 && quote === 0\n            /* QuoteNone */\n            ) {\n                currentProp = hyphenate(value.substring(propStart, i - 1).trim());\n                valueStart = i;\n              }\n\n            break;\n\n          case 59\n          /* Semicolon */\n          :\n            if (currentProp && valueStart > 0 && parenDepth === 0 && quote === 0\n            /* QuoteNone */\n            ) {\n                var styleVal = value.substring(valueStart, i - 1).trim();\n                styles.push(currentProp, valueHasQuotes ? stripUnnecessaryQuotes(styleVal) : styleVal);\n                propStart = i;\n                valueStart = 0;\n                currentProp = null;\n                valueHasQuotes = false;\n              }\n\n            break;\n        }\n      }\n\n      if (currentProp && valueStart) {\n        var _styleVal = value.substr(valueStart).trim();\n\n        styles.push(currentProp, valueHasQuotes ? stripUnnecessaryQuotes(_styleVal) : _styleVal);\n      }\n\n      return styles;\n    }\n\n    function stripUnnecessaryQuotes(value) {\n      var qS = value.charCodeAt(0);\n      var qE = value.charCodeAt(value.length - 1);\n\n      if (qS == qE && (qS == 39\n      /* QuoteSingle */\n      || qS == 34\n      /* QuoteDouble */\n      )) {\n        var tempValue = value.substring(1, value.length - 1); // special case to avoid using a multi-quoted string that was just chomped\n        // (e.g. `font-family: \"Verdana\", \"sans-serif\"`)\n\n        if (tempValue.indexOf('\\'') == -1 && tempValue.indexOf('\"') == -1) {\n          value = tempValue;\n        }\n      }\n\n      return value;\n    }\n\n    function hyphenate(value) {\n      return value.replace(/[a-z][A-Z]/g, function (v) {\n        return v.charAt(0) + '-' + v.charAt(1);\n      }).toLowerCase();\n    }\n\n    var IMPORTANT_FLAG = '!important';\n    /**\n     * Produces creation/update instructions for all styling bindings (class and style)\n     *\n     * It also produces the creation instruction to register all initial styling values\n     * (which are all the static class=\"...\" and style=\"...\" attribute values that exist\n     * on an element within a template).\n     *\n     * The builder class below handles producing instructions for the following cases:\n     *\n     * - Static style/class attributes (style=\"...\" and class=\"...\")\n     * - Dynamic style/class map bindings ([style]=\"map\" and [class]=\"map|string\")\n     * - Dynamic style/class property bindings ([style.prop]=\"exp\" and [class.name]=\"exp\")\n     *\n     * Due to the complex relationship of all of these cases, the instructions generated\n     * for these attributes/properties/bindings must be done so in the correct order. The\n     * order which these must be generated is as follows:\n     *\n     * if (createMode) {\n     *   styling(...)\n     * }\n     * if (updateMode) {\n     *   styleMap(...)\n     *   classMap(...)\n     *   styleProp(...)\n     *   classProp(...)\n     *   stylingApply(...)\n     * }\n     *\n     * The creation/update methods within the builder class produce these instructions.\n     */\n\n    var StylingBuilder =\n    /*#__PURE__*/\n    function () {\n      function StylingBuilder(_elementIndexExpr, _directiveExpr) {\n        _classCallCheck(this, StylingBuilder);\n\n        this._elementIndexExpr = _elementIndexExpr;\n        this._directiveExpr = _directiveExpr;\n        /** Whether or not there are any static styling values present */\n\n        this._hasInitialValues = false;\n        /**\n         *  Whether or not there are any styling bindings present\n         *  (i.e. `[style]`, `[class]`, `[style.prop]` or `[class.name]`)\n         */\n\n        this.hasBindings = false;\n        /** the input for [class] (if it exists) */\n\n        this._classMapInput = null;\n        /** the input for [style] (if it exists) */\n\n        this._styleMapInput = null;\n        /** an array of each [style.prop] input */\n\n        this._singleStyleInputs = null;\n        /** an array of each [class.name] input */\n\n        this._singleClassInputs = null;\n        this._lastStylingInput = null;\n        this._firstStylingInput = null; // maps are used instead of hash maps because a Map will\n        // retain the ordering of the keys\n\n        /**\n         * Represents the location of each style binding in the template\n         * (e.g. `<div [style.width]=\"w\" [style.height]=\"h\">` implies\n         * that `width=0` and `height=1`)\n         */\n\n        this._stylesIndex = new Map();\n        /**\n         * Represents the location of each class binding in the template\n         * (e.g. `<div [class.big]=\"b\" [class.hidden]=\"h\">` implies\n         * that `big=0` and `hidden=1`)\n         */\n\n        this._classesIndex = new Map();\n        this._initialStyleValues = [];\n        this._initialClassValues = []; // certain style properties ALWAYS need sanitization\n        // this is checked each time new styles are encountered\n\n        this._useDefaultSanitizer = false;\n      }\n      /**\n       * Registers a given input to the styling builder to be later used when producing AOT code.\n       *\n       * The code below will only accept the input if it is somehow tied to styling (whether it be\n       * style/class bindings or static style/class attributes).\n       */\n\n\n      _createClass2(StylingBuilder, [{\n        key: \"registerBoundInput\",\n        value: function registerBoundInput(input) {\n          // [attr.style] or [attr.class] are skipped in the code below,\n          // they should not be treated as styling-based bindings since\n          // they are intended to be written directly to the attr and\n          // will therefore skip all style/class resolution that is present\n          // with style=\"\", [style]=\"\" and [style.prop]=\"\", class=\"\",\n          // [class.prop]=\"\". [class]=\"\" assignments\n          var binding = null;\n          var name = input.name;\n\n          switch (input.type) {\n            case 0\n            /* Property */\n            :\n              binding = this.registerInputBasedOnName(name, input.value, input.sourceSpan);\n              break;\n\n            case 3\n            /* Style */\n            :\n              binding = this.registerStyleInput(name, false, input.value, input.sourceSpan, input.unit);\n              break;\n\n            case 2\n            /* Class */\n            :\n              binding = this.registerClassInput(name, false, input.value, input.sourceSpan);\n              break;\n          }\n\n          return binding ? true : false;\n        }\n      }, {\n        key: \"registerInputBasedOnName\",\n        value: function registerInputBasedOnName(name, expression, sourceSpan) {\n          var binding = null;\n          var nameToMatch = name.substring(0, 5); // class | style\n\n          var isStyle = nameToMatch === 'style';\n          var isClass = isStyle ? false : nameToMatch === 'class';\n\n          if (isStyle || isClass) {\n            var isMapBased = name.charAt(5) !== '.'; // style.prop or class.prop makes this a no\n\n            var property = name.substr(isMapBased ? 5 : 6); // the dot explains why there's a +1\n\n            if (isStyle) {\n              binding = this.registerStyleInput(property, isMapBased, expression, sourceSpan);\n            } else {\n              binding = this.registerClassInput(property, isMapBased, expression, sourceSpan);\n            }\n          }\n\n          return binding;\n        }\n      }, {\n        key: \"registerStyleInput\",\n        value: function registerStyleInput(name, isMapBased, value, sourceSpan, unit) {\n          if (isEmptyExpression(value)) {\n            return null;\n          }\n\n          name = normalizePropName(name);\n\n          var _parseProperty = parseProperty(name),\n              property = _parseProperty.property,\n              hasOverrideFlag = _parseProperty.hasOverrideFlag,\n              bindingUnit = _parseProperty.unit;\n\n          var entry = {\n            name: property,\n            unit: unit || bindingUnit,\n            value: value,\n            sourceSpan: sourceSpan,\n            hasOverrideFlag: hasOverrideFlag\n          };\n\n          if (isMapBased) {\n            this._useDefaultSanitizer = true;\n            this._styleMapInput = entry;\n          } else {\n            (this._singleStyleInputs = this._singleStyleInputs || []).push(entry);\n            this._useDefaultSanitizer = this._useDefaultSanitizer || isStyleSanitizable(name);\n            registerIntoMap(this._stylesIndex, property);\n          }\n\n          this._lastStylingInput = entry;\n          this._firstStylingInput = this._firstStylingInput || entry;\n          this.hasBindings = true;\n          return entry;\n        }\n      }, {\n        key: \"registerClassInput\",\n        value: function registerClassInput(name, isMapBased, value, sourceSpan) {\n          if (isEmptyExpression(value)) {\n            return null;\n          }\n\n          var _parseProperty2 = parseProperty(name),\n              property = _parseProperty2.property,\n              hasOverrideFlag = _parseProperty2.hasOverrideFlag;\n\n          var entry = {\n            name: property,\n            value: value,\n            sourceSpan: sourceSpan,\n            hasOverrideFlag: hasOverrideFlag,\n            unit: null\n          };\n\n          if (isMapBased) {\n            this._classMapInput = entry;\n          } else {\n            (this._singleClassInputs = this._singleClassInputs || []).push(entry);\n            registerIntoMap(this._classesIndex, property);\n          }\n\n          this._lastStylingInput = entry;\n          this._firstStylingInput = this._firstStylingInput || entry;\n          this.hasBindings = true;\n          return entry;\n        }\n        /**\n         * Registers the element's static style string value to the builder.\n         *\n         * @param value the style string (e.g. `width:100px; height:200px;`)\n         */\n\n      }, {\n        key: \"registerStyleAttr\",\n        value: function registerStyleAttr(value) {\n          this._initialStyleValues = parse(value);\n          this._hasInitialValues = true;\n        }\n        /**\n         * Registers the element's static class string value to the builder.\n         *\n         * @param value the className string (e.g. `disabled gold zoom`)\n         */\n\n      }, {\n        key: \"registerClassAttr\",\n        value: function registerClassAttr(value) {\n          this._initialClassValues = value.trim().split(/\\s+/g);\n          this._hasInitialValues = true;\n        }\n        /**\n         * Appends all styling-related expressions to the provided attrs array.\n         *\n         * @param attrs an existing array where each of the styling expressions\n         * will be inserted into.\n         */\n\n      }, {\n        key: \"populateInitialStylingAttrs\",\n        value: function populateInitialStylingAttrs(attrs) {\n          // [CLASS_MARKER, 'foo', 'bar', 'baz' ...]\n          if (this._initialClassValues.length) {\n            attrs.push(literal(1\n            /* Classes */\n            ));\n\n            for (var i = 0; i < this._initialClassValues.length; i++) {\n              attrs.push(literal(this._initialClassValues[i]));\n            }\n          } // [STYLE_MARKER, 'width', '200px', 'height', '100px', ...]\n\n\n          if (this._initialStyleValues.length) {\n            attrs.push(literal(2\n            /* Styles */\n            ));\n\n            for (var _i17 = 0; _i17 < this._initialStyleValues.length; _i17 += 2) {\n              attrs.push(literal(this._initialStyleValues[_i17]), literal(this._initialStyleValues[_i17 + 1]));\n            }\n          }\n        }\n        /**\n         * Builds an instruction with all the expressions and parameters for `elementHostAttrs`.\n         *\n         * The instruction generation code below is used for producing the AOT statement code which is\n         * responsible for registering initial styles (within a directive hostBindings' creation block),\n         * as well as any of the provided attribute values, to the directive host element.\n         */\n\n      }, {\n        key: \"buildHostAttrsInstruction\",\n        value: function buildHostAttrsInstruction(sourceSpan, attrs, constantPool) {\n          var _this293 = this;\n\n          if (this._directiveExpr && (attrs.length || this._hasInitialValues)) {\n            return {\n              sourceSpan: sourceSpan,\n              reference: Identifiers$1.elementHostAttrs,\n              allocateBindingSlots: 0,\n              params: function params() {\n                // params => elementHostAttrs(attrs)\n                _this293.populateInitialStylingAttrs(attrs);\n\n                var attrArray = !attrs.some(function (attr) {\n                  return attr instanceof WrappedNodeExpr;\n                }) ? getConstantLiteralFromArray(constantPool, attrs) : literalArr(attrs);\n                return [attrArray];\n              }\n            };\n          }\n\n          return null;\n        }\n        /**\n         * Builds an instruction with all the expressions and parameters for `styling`.\n         *\n         * The instruction generation code below is used for producing the AOT statement code which is\n         * responsible for registering style/class bindings to an element.\n         */\n\n      }, {\n        key: \"buildStylingInstruction\",\n        value: function buildStylingInstruction(sourceSpan, constantPool) {\n          if (this.hasBindings) {\n            return {\n              sourceSpan: sourceSpan,\n              allocateBindingSlots: 0,\n              reference: Identifiers$1.styling,\n              params: function params() {\n                return [];\n              }\n            };\n          }\n\n          return null;\n        }\n        /**\n         * Builds an instruction with all the expressions and parameters for `classMap`.\n         *\n         * The instruction data will contain all expressions for `classMap` to function\n         * which includes the `[class]` expression params.\n         */\n\n      }, {\n        key: \"buildClassMapInstruction\",\n        value: function buildClassMapInstruction(valueConverter) {\n          if (this._classMapInput) {\n            return this._buildMapBasedInstruction(valueConverter, true, this._classMapInput);\n          }\n\n          return null;\n        }\n        /**\n         * Builds an instruction with all the expressions and parameters for `styleMap`.\n         *\n         * The instruction data will contain all expressions for `styleMap` to function\n         * which includes the `[style]` expression params.\n         */\n\n      }, {\n        key: \"buildStyleMapInstruction\",\n        value: function buildStyleMapInstruction(valueConverter) {\n          if (this._styleMapInput) {\n            return this._buildMapBasedInstruction(valueConverter, false, this._styleMapInput);\n          }\n\n          return null;\n        }\n      }, {\n        key: \"_buildMapBasedInstruction\",\n        value: function _buildMapBasedInstruction(valueConverter, isClassBased, stylingInput) {\n          // each styling binding value is stored in the LView\n          var totalBindingSlotsRequired = 1; // these values must be outside of the update block so that they can\n          // be evaluated (the AST visit call) during creation time so that any\n          // pipes can be picked up in time before the template is built\n\n          var mapValue = stylingInput.value.visit(valueConverter);\n          var reference;\n\n          if (mapValue instanceof Interpolation && isClassBased) {\n            totalBindingSlotsRequired += mapValue.expressions.length;\n            reference = getClassMapInterpolationExpression(mapValue);\n          } else {\n            reference = isClassBased ? Identifiers$1.classMap : Identifiers$1.styleMap;\n          }\n\n          return {\n            sourceSpan: stylingInput.sourceSpan,\n            reference: reference,\n            allocateBindingSlots: totalBindingSlotsRequired,\n            supportsInterpolation: isClassBased,\n            params: function params(convertFn) {\n              var convertResult = convertFn(mapValue);\n              return Array.isArray(convertResult) ? convertResult : [convertResult];\n            }\n          };\n        }\n      }, {\n        key: \"_buildSingleInputs\",\n        value: function _buildSingleInputs(reference, inputs, mapIndex, allowUnits, valueConverter, getInterpolationExpressionFn) {\n          var totalBindingSlotsRequired = 0;\n          return inputs.map(function (input) {\n            var value = input.value.visit(valueConverter); // each styling binding value is stored in the LView\n\n            var totalBindingSlotsRequired = 1;\n\n            if (value instanceof Interpolation) {\n              totalBindingSlotsRequired += value.expressions.length;\n\n              if (getInterpolationExpressionFn) {\n                reference = getInterpolationExpressionFn(value);\n              }\n            }\n\n            return {\n              sourceSpan: input.sourceSpan,\n              supportsInterpolation: !!getInterpolationExpressionFn,\n              allocateBindingSlots: totalBindingSlotsRequired,\n              reference: reference,\n              params: function params(convertFn) {\n                // params => stylingProp(propName, value)\n                var params = [];\n                params.push(literal(input.name));\n                var convertResult = convertFn(value);\n\n                if (Array.isArray(convertResult)) {\n                  params.push.apply(params, _toConsumableArray(convertResult));\n                } else {\n                  params.push(convertResult);\n                }\n\n                if (allowUnits && input.unit) {\n                  params.push(literal(input.unit));\n                }\n\n                return params;\n              }\n            };\n          });\n        }\n      }, {\n        key: \"_buildClassInputs\",\n        value: function _buildClassInputs(valueConverter) {\n          if (this._singleClassInputs) {\n            return this._buildSingleInputs(Identifiers$1.classProp, this._singleClassInputs, this._classesIndex, false, valueConverter);\n          }\n\n          return [];\n        }\n      }, {\n        key: \"_buildStyleInputs\",\n        value: function _buildStyleInputs(valueConverter) {\n          if (this._singleStyleInputs) {\n            return this._buildSingleInputs(Identifiers$1.styleProp, this._singleStyleInputs, this._stylesIndex, true, valueConverter, getStylePropInterpolationExpression);\n          }\n\n          return [];\n        }\n      }, {\n        key: \"_buildApplyFn\",\n        value: function _buildApplyFn() {\n          return {\n            sourceSpan: this._lastStylingInput ? this._lastStylingInput.sourceSpan : null,\n            reference: Identifiers$1.stylingApply,\n            allocateBindingSlots: 0,\n            params: function params() {\n              return [];\n            }\n          };\n        }\n      }, {\n        key: \"_buildSanitizerFn\",\n        value: function _buildSanitizerFn() {\n          return {\n            sourceSpan: this._firstStylingInput ? this._firstStylingInput.sourceSpan : null,\n            reference: Identifiers$1.styleSanitizer,\n            allocateBindingSlots: 0,\n            params: function params() {\n              return [importExpr(Identifiers$1.defaultStyleSanitizer)];\n            }\n          };\n        }\n        /**\n         * Constructs all instructions which contain the expressions that will be placed\n         * into the update block of a template function or a directive hostBindings function.\n         */\n\n      }, {\n        key: \"buildUpdateLevelInstructions\",\n        value: function buildUpdateLevelInstructions(valueConverter) {\n          var instructions = [];\n\n          if (this.hasBindings) {\n            if (this._useDefaultSanitizer) {\n              instructions.push(this._buildSanitizerFn());\n            }\n\n            var styleMapInstruction = this.buildStyleMapInstruction(valueConverter);\n\n            if (styleMapInstruction) {\n              instructions.push(styleMapInstruction);\n            }\n\n            var classMapInstruction = this.buildClassMapInstruction(valueConverter);\n\n            if (classMapInstruction) {\n              instructions.push(classMapInstruction);\n            }\n\n            instructions.push.apply(instructions, _toConsumableArray(this._buildStyleInputs(valueConverter)));\n            instructions.push.apply(instructions, _toConsumableArray(this._buildClassInputs(valueConverter)));\n            instructions.push(this._buildApplyFn());\n          }\n\n          return instructions;\n        }\n      }]);\n\n      return StylingBuilder;\n    }();\n\n    function registerIntoMap(map, key) {\n      if (!map.has(key)) {\n        map.set(key, map.size);\n      }\n    }\n\n    function isStyleSanitizable(prop) {\n      // Note that browsers support both the dash case and\n      // camel case property names when setting through JS.\n      return prop === 'background-image' || prop === 'backgroundImage' || prop === 'background' || prop === 'border-image' || prop === 'borderImage' || prop === 'filter' || prop === 'list-style' || prop === 'listStyle' || prop === 'list-style-image' || prop === 'listStyleImage' || prop === 'clip-path' || prop === 'clipPath';\n    }\n    /**\n     * Simple helper function to either provide the constant literal that will house the value\n     * here or a null value if the provided values are empty.\n     */\n\n\n    function getConstantLiteralFromArray(constantPool, values) {\n      return values.length ? constantPool.getConstLiteral(literalArr(values), true) : NULL_EXPR;\n    }\n    /**\n     * Simple helper function that adds a parameter or does nothing at all depending on the provided\n     * predicate and totalExpectedArgs values\n     */\n\n\n    function addParam(params, predicate, value, argNumber, totalExpectedArgs) {\n      if (predicate && value) {\n        params.push(value);\n      } else if (argNumber < totalExpectedArgs) {\n        params.push(NULL_EXPR);\n      }\n    }\n\n    function parseProperty(name) {\n      var hasOverrideFlag = false;\n      var overrideIndex = name.indexOf(IMPORTANT_FLAG);\n\n      if (overrideIndex !== -1) {\n        name = overrideIndex > 0 ? name.substring(0, overrideIndex) : '';\n        hasOverrideFlag = true;\n      }\n\n      var unit = '';\n      var property = name;\n      var unitIndex = name.lastIndexOf('.');\n\n      if (unitIndex > 0) {\n        unit = name.substr(unitIndex + 1);\n        property = name.substring(0, unitIndex);\n      }\n\n      return {\n        property: property,\n        unit: unit,\n        hasOverrideFlag: hasOverrideFlag\n      };\n    }\n    /**\n     * Gets the instruction to generate for an interpolated class map.\n     * @param interpolation An Interpolation AST\n     */\n\n\n    function getClassMapInterpolationExpression(interpolation) {\n      switch (getInterpolationArgsLength(interpolation)) {\n        case 1:\n          return Identifiers$1.classMap;\n\n        case 3:\n          return Identifiers$1.classMapInterpolate1;\n\n        case 5:\n          return Identifiers$1.classMapInterpolate2;\n\n        case 7:\n          return Identifiers$1.classMapInterpolate3;\n\n        case 9:\n          return Identifiers$1.classMapInterpolate4;\n\n        case 11:\n          return Identifiers$1.classMapInterpolate5;\n\n        case 13:\n          return Identifiers$1.classMapInterpolate6;\n\n        case 15:\n          return Identifiers$1.classMapInterpolate7;\n\n        case 17:\n          return Identifiers$1.classMapInterpolate8;\n\n        default:\n          return Identifiers$1.classMapInterpolateV;\n      }\n    }\n    /**\n     * Gets the instruction to generate for an interpolated style prop.\n     * @param interpolation An Interpolation AST\n     */\n\n\n    function getStylePropInterpolationExpression(interpolation) {\n      switch (getInterpolationArgsLength(interpolation)) {\n        case 1:\n          return Identifiers$1.styleProp;\n\n        case 3:\n          return Identifiers$1.stylePropInterpolate1;\n\n        case 5:\n          return Identifiers$1.stylePropInterpolate2;\n\n        case 7:\n          return Identifiers$1.stylePropInterpolate3;\n\n        case 9:\n          return Identifiers$1.stylePropInterpolate4;\n\n        case 11:\n          return Identifiers$1.stylePropInterpolate5;\n\n        case 13:\n          return Identifiers$1.stylePropInterpolate6;\n\n        case 15:\n          return Identifiers$1.stylePropInterpolate7;\n\n        case 17:\n          return Identifiers$1.stylePropInterpolate8;\n\n        default:\n          return Identifiers$1.stylePropInterpolateV;\n      }\n    }\n\n    function normalizePropName(prop) {\n      return hyphenate(prop);\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var TokenType$1;\n\n    (function (TokenType) {\n      TokenType[TokenType[\"Character\"] = 0] = \"Character\";\n      TokenType[TokenType[\"Identifier\"] = 1] = \"Identifier\";\n      TokenType[TokenType[\"Keyword\"] = 2] = \"Keyword\";\n      TokenType[TokenType[\"String\"] = 3] = \"String\";\n      TokenType[TokenType[\"Operator\"] = 4] = \"Operator\";\n      TokenType[TokenType[\"Number\"] = 5] = \"Number\";\n      TokenType[TokenType[\"Error\"] = 6] = \"Error\";\n    })(TokenType$1 || (TokenType$1 = {}));\n\n    var KEYWORDS = ['var', 'let', 'as', 'null', 'undefined', 'true', 'false', 'if', 'else', 'this'];\n\n    var Lexer =\n    /*#__PURE__*/\n    function () {\n      function Lexer() {\n        _classCallCheck(this, Lexer);\n      }\n\n      _createClass2(Lexer, [{\n        key: \"tokenize\",\n        value: function tokenize(text) {\n          var scanner = new _Scanner(text);\n          var tokens = [];\n          var token = scanner.scanToken();\n\n          while (token != null) {\n            tokens.push(token);\n            token = scanner.scanToken();\n          }\n\n          return tokens;\n        }\n      }]);\n\n      return Lexer;\n    }();\n\n    var Token$1 =\n    /*#__PURE__*/\n    function () {\n      function Token$1(index, type, numValue, strValue) {\n        _classCallCheck(this, Token$1);\n\n        this.index = index;\n        this.type = type;\n        this.numValue = numValue;\n        this.strValue = strValue;\n      }\n\n      _createClass2(Token$1, [{\n        key: \"isCharacter\",\n        value: function isCharacter(code) {\n          return this.type == TokenType$1.Character && this.numValue == code;\n        }\n      }, {\n        key: \"isNumber\",\n        value: function isNumber() {\n          return this.type == TokenType$1.Number;\n        }\n      }, {\n        key: \"isString\",\n        value: function isString() {\n          return this.type == TokenType$1.String;\n        }\n      }, {\n        key: \"isOperator\",\n        value: function isOperator(operator) {\n          return this.type == TokenType$1.Operator && this.strValue == operator;\n        }\n      }, {\n        key: \"isIdentifier\",\n        value: function isIdentifier() {\n          return this.type == TokenType$1.Identifier;\n        }\n      }, {\n        key: \"isKeyword\",\n        value: function isKeyword() {\n          return this.type == TokenType$1.Keyword;\n        }\n      }, {\n        key: \"isKeywordLet\",\n        value: function isKeywordLet() {\n          return this.type == TokenType$1.Keyword && this.strValue == 'let';\n        }\n      }, {\n        key: \"isKeywordAs\",\n        value: function isKeywordAs() {\n          return this.type == TokenType$1.Keyword && this.strValue == 'as';\n        }\n      }, {\n        key: \"isKeywordNull\",\n        value: function isKeywordNull() {\n          return this.type == TokenType$1.Keyword && this.strValue == 'null';\n        }\n      }, {\n        key: \"isKeywordUndefined\",\n        value: function isKeywordUndefined() {\n          return this.type == TokenType$1.Keyword && this.strValue == 'undefined';\n        }\n      }, {\n        key: \"isKeywordTrue\",\n        value: function isKeywordTrue() {\n          return this.type == TokenType$1.Keyword && this.strValue == 'true';\n        }\n      }, {\n        key: \"isKeywordFalse\",\n        value: function isKeywordFalse() {\n          return this.type == TokenType$1.Keyword && this.strValue == 'false';\n        }\n      }, {\n        key: \"isKeywordThis\",\n        value: function isKeywordThis() {\n          return this.type == TokenType$1.Keyword && this.strValue == 'this';\n        }\n      }, {\n        key: \"isError\",\n        value: function isError() {\n          return this.type == TokenType$1.Error;\n        }\n      }, {\n        key: \"toNumber\",\n        value: function toNumber() {\n          return this.type == TokenType$1.Number ? this.numValue : -1;\n        }\n      }, {\n        key: \"toString\",\n        value: function toString() {\n          switch (this.type) {\n            case TokenType$1.Character:\n            case TokenType$1.Identifier:\n            case TokenType$1.Keyword:\n            case TokenType$1.Operator:\n            case TokenType$1.String:\n            case TokenType$1.Error:\n              return this.strValue;\n\n            case TokenType$1.Number:\n              return this.numValue.toString();\n\n            default:\n              return null;\n          }\n        }\n      }]);\n\n      return Token$1;\n    }();\n\n    function newCharacterToken(index, code) {\n      return new Token$1(index, TokenType$1.Character, code, String.fromCharCode(code));\n    }\n\n    function newIdentifierToken(index, text) {\n      return new Token$1(index, TokenType$1.Identifier, 0, text);\n    }\n\n    function newKeywordToken(index, text) {\n      return new Token$1(index, TokenType$1.Keyword, 0, text);\n    }\n\n    function newOperatorToken(index, text) {\n      return new Token$1(index, TokenType$1.Operator, 0, text);\n    }\n\n    function newStringToken(index, text) {\n      return new Token$1(index, TokenType$1.String, 0, text);\n    }\n\n    function newNumberToken(index, n) {\n      return new Token$1(index, TokenType$1.Number, n, '');\n    }\n\n    function newErrorToken(index, message) {\n      return new Token$1(index, TokenType$1.Error, 0, message);\n    }\n\n    var EOF = new Token$1(-1, TokenType$1.Character, 0, '');\n\n    var _Scanner =\n    /*#__PURE__*/\n    function () {\n      function _Scanner(input) {\n        _classCallCheck(this, _Scanner);\n\n        this.input = input;\n        this.peek = 0;\n        this.index = -1;\n        this.length = input.length;\n        this.advance();\n      }\n\n      _createClass2(_Scanner, [{\n        key: \"advance\",\n        value: function advance() {\n          this.peek = ++this.index >= this.length ? $EOF : this.input.charCodeAt(this.index);\n        }\n      }, {\n        key: \"scanToken\",\n        value: function scanToken() {\n          var input = this.input,\n              length = this.length;\n          var peek = this.peek,\n              index = this.index; // Skip whitespace.\n\n          while (peek <= $SPACE) {\n            if (++index >= length) {\n              peek = $EOF;\n              break;\n            } else {\n              peek = input.charCodeAt(index);\n            }\n          }\n\n          this.peek = peek;\n          this.index = index;\n\n          if (index >= length) {\n            return null;\n          } // Handle identifiers and numbers.\n\n\n          if (isIdentifierStart(peek)) return this.scanIdentifier();\n          if (isDigit(peek)) return this.scanNumber(index);\n          var start = index;\n\n          switch (peek) {\n            case $PERIOD:\n              this.advance();\n              return isDigit(this.peek) ? this.scanNumber(start) : newCharacterToken(start, $PERIOD);\n\n            case $LPAREN:\n            case $RPAREN:\n            case $LBRACE:\n            case $RBRACE:\n            case $LBRACKET:\n            case $RBRACKET:\n            case $COMMA:\n            case $COLON:\n            case $SEMICOLON:\n              return this.scanCharacter(start, peek);\n\n            case $SQ:\n            case $DQ:\n              return this.scanString();\n\n            case $HASH:\n            case $PLUS:\n            case $MINUS:\n            case $STAR:\n            case $SLASH:\n            case $PERCENT:\n            case $CARET:\n              return this.scanOperator(start, String.fromCharCode(peek));\n\n            case $QUESTION:\n              return this.scanComplexOperator(start, '?', $PERIOD, '.');\n\n            case $LT:\n            case $GT:\n              return this.scanComplexOperator(start, String.fromCharCode(peek), $EQ, '=');\n\n            case $BANG:\n            case $EQ:\n              return this.scanComplexOperator(start, String.fromCharCode(peek), $EQ, '=', $EQ, '=');\n\n            case $AMPERSAND:\n              return this.scanComplexOperator(start, '&', $AMPERSAND, '&');\n\n            case $BAR:\n              return this.scanComplexOperator(start, '|', $BAR, '|');\n\n            case $NBSP:\n              while (isWhitespace(this.peek)) {\n                this.advance();\n              }\n\n              return this.scanToken();\n          }\n\n          this.advance();\n          return this.error(\"Unexpected character [\".concat(String.fromCharCode(peek), \"]\"), 0);\n        }\n      }, {\n        key: \"scanCharacter\",\n        value: function scanCharacter(start, code) {\n          this.advance();\n          return newCharacterToken(start, code);\n        }\n      }, {\n        key: \"scanOperator\",\n        value: function scanOperator(start, str) {\n          this.advance();\n          return newOperatorToken(start, str);\n        }\n        /**\n         * Tokenize a 2/3 char long operator\n         *\n         * @param start start index in the expression\n         * @param one first symbol (always part of the operator)\n         * @param twoCode code point for the second symbol\n         * @param two second symbol (part of the operator when the second code point matches)\n         * @param threeCode code point for the third symbol\n         * @param three third symbol (part of the operator when provided and matches source expression)\n         */\n\n      }, {\n        key: \"scanComplexOperator\",\n        value: function scanComplexOperator(start, one, twoCode, two, threeCode, three) {\n          this.advance();\n          var str = one;\n\n          if (this.peek == twoCode) {\n            this.advance();\n            str += two;\n          }\n\n          if (threeCode != null && this.peek == threeCode) {\n            this.advance();\n            str += three;\n          }\n\n          return newOperatorToken(start, str);\n        }\n      }, {\n        key: \"scanIdentifier\",\n        value: function scanIdentifier() {\n          var start = this.index;\n          this.advance();\n\n          while (isIdentifierPart(this.peek)) {\n            this.advance();\n          }\n\n          var str = this.input.substring(start, this.index);\n          return KEYWORDS.indexOf(str) > -1 ? newKeywordToken(start, str) : newIdentifierToken(start, str);\n        }\n      }, {\n        key: \"scanNumber\",\n        value: function scanNumber(start) {\n          var simple = this.index === start;\n          this.advance(); // Skip initial digit.\n\n          while (true) {\n            if (isDigit(this.peek)) {// Do nothing.\n            } else if (this.peek == $PERIOD) {\n              simple = false;\n            } else if (isExponentStart(this.peek)) {\n              this.advance();\n              if (isExponentSign(this.peek)) this.advance();\n              if (!isDigit(this.peek)) return this.error('Invalid exponent', -1);\n              simple = false;\n            } else {\n              break;\n            }\n\n            this.advance();\n          }\n\n          var str = this.input.substring(start, this.index);\n          var value = simple ? parseIntAutoRadix(str) : parseFloat(str);\n          return newNumberToken(start, value);\n        }\n      }, {\n        key: \"scanString\",\n        value: function scanString() {\n          var start = this.index;\n          var quote = this.peek;\n          this.advance(); // Skip initial quote.\n\n          var buffer = '';\n          var marker = this.index;\n          var input = this.input;\n\n          while (this.peek != quote) {\n            if (this.peek == $BACKSLASH) {\n              buffer += input.substring(marker, this.index);\n              this.advance();\n              var unescapedCode = void 0; // Workaround for TS2.1-introduced type strictness\n\n              this.peek = this.peek;\n\n              if (this.peek == $u) {\n                // 4 character hex code for unicode character.\n                var hex = input.substring(this.index + 1, this.index + 5);\n\n                if (/^[0-9a-f]+$/i.test(hex)) {\n                  unescapedCode = parseInt(hex, 16);\n                } else {\n                  return this.error(\"Invalid unicode escape [\\\\u\".concat(hex, \"]\"), 0);\n                }\n\n                for (var i = 0; i < 5; i++) {\n                  this.advance();\n                }\n              } else {\n                unescapedCode = unescape(this.peek);\n                this.advance();\n              }\n\n              buffer += String.fromCharCode(unescapedCode);\n              marker = this.index;\n            } else if (this.peek == $EOF) {\n              return this.error('Unterminated quote', 0);\n            } else {\n              this.advance();\n            }\n          }\n\n          var last = input.substring(marker, this.index);\n          this.advance(); // Skip terminating quote.\n\n          return newStringToken(start, buffer + last);\n        }\n      }, {\n        key: \"error\",\n        value: function error(message, offset) {\n          var position = this.index + offset;\n          return newErrorToken(position, \"Lexer Error: \".concat(message, \" at column \").concat(position, \" in expression [\").concat(this.input, \"]\"));\n        }\n      }]);\n\n      return _Scanner;\n    }();\n\n    function isIdentifierStart(code) {\n      return $a <= code && code <= $z || $A <= code && code <= $Z || code == $_ || code == $$;\n    }\n\n    function isIdentifier(input) {\n      if (input.length == 0) return false;\n      var scanner = new _Scanner(input);\n      if (!isIdentifierStart(scanner.peek)) return false;\n      scanner.advance();\n\n      while (scanner.peek !== $EOF) {\n        if (!isIdentifierPart(scanner.peek)) return false;\n        scanner.advance();\n      }\n\n      return true;\n    }\n\n    function isIdentifierPart(code) {\n      return isAsciiLetter(code) || isDigit(code) || code == $_ || code == $$;\n    }\n\n    function isExponentStart(code) {\n      return code == $e || code == $E;\n    }\n\n    function isExponentSign(code) {\n      return code == $MINUS || code == $PLUS;\n    }\n\n    function isQuote(code) {\n      return code === $SQ || code === $DQ || code === $BT;\n    }\n\n    function unescape(code) {\n      switch (code) {\n        case $n:\n          return $LF;\n\n        case $f:\n          return $FF;\n\n        case $r:\n          return $CR;\n\n        case $t:\n          return $TAB;\n\n        case $v:\n          return $VTAB;\n\n        default:\n          return code;\n      }\n    }\n\n    function parseIntAutoRadix(text) {\n      var result = parseInt(text);\n\n      if (isNaN(result)) {\n        throw new Error('Invalid integer literal when parsing ' + text);\n      }\n\n      return result;\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var SplitInterpolation = function SplitInterpolation(strings, expressions, offsets) {\n      _classCallCheck(this, SplitInterpolation);\n\n      this.strings = strings;\n      this.expressions = expressions;\n      this.offsets = offsets;\n    };\n\n    var TemplateBindingParseResult = function TemplateBindingParseResult(templateBindings, warnings, errors) {\n      _classCallCheck(this, TemplateBindingParseResult);\n\n      this.templateBindings = templateBindings;\n      this.warnings = warnings;\n      this.errors = errors;\n    };\n\n    function _createInterpolateRegExp(config) {\n      var pattern = escapeRegExp(config.start) + '([\\\\s\\\\S]*?)' + escapeRegExp(config.end);\n      return new RegExp(pattern, 'g');\n    }\n\n    var Parser$1 =\n    /*#__PURE__*/\n    function () {\n      function Parser$1(_lexer) {\n        _classCallCheck(this, Parser$1);\n\n        this._lexer = _lexer;\n        this.errors = [];\n      }\n\n      _createClass2(Parser$1, [{\n        key: \"parseAction\",\n        value: function parseAction(input, location, absoluteOffset) {\n          var interpolationConfig = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : DEFAULT_INTERPOLATION_CONFIG;\n\n          this._checkNoInterpolation(input, location, interpolationConfig);\n\n          var sourceToLex = this._stripComments(input);\n\n          var tokens = this._lexer.tokenize(this._stripComments(input));\n\n          var ast = new _ParseAST(input, location, absoluteOffset, tokens, sourceToLex.length, true, this.errors, input.length - sourceToLex.length).parseChain();\n          return new ASTWithSource(ast, input, location, absoluteOffset, this.errors);\n        }\n      }, {\n        key: \"parseBinding\",\n        value: function parseBinding(input, location, absoluteOffset) {\n          var interpolationConfig = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : DEFAULT_INTERPOLATION_CONFIG;\n\n          var ast = this._parseBindingAst(input, location, absoluteOffset, interpolationConfig);\n\n          return new ASTWithSource(ast, input, location, absoluteOffset, this.errors);\n        }\n      }, {\n        key: \"parseSimpleBinding\",\n        value: function parseSimpleBinding(input, location, absoluteOffset) {\n          var interpolationConfig = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : DEFAULT_INTERPOLATION_CONFIG;\n\n          var ast = this._parseBindingAst(input, location, absoluteOffset, interpolationConfig);\n\n          var errors = SimpleExpressionChecker.check(ast);\n\n          if (errors.length > 0) {\n            this._reportError(\"Host binding expression cannot contain \".concat(errors.join(' ')), input, location);\n          }\n\n          return new ASTWithSource(ast, input, location, absoluteOffset, this.errors);\n        }\n      }, {\n        key: \"_reportError\",\n        value: function _reportError(message, input, errLocation, ctxLocation) {\n          this.errors.push(new ParserError(message, input, errLocation, ctxLocation));\n        }\n      }, {\n        key: \"_parseBindingAst\",\n        value: function _parseBindingAst(input, location, absoluteOffset, interpolationConfig) {\n          // Quotes expressions use 3rd-party expression language. We don't want to use\n          // our lexer or parser for that, so we check for that ahead of time.\n          var quote = this._parseQuote(input, location);\n\n          if (quote != null) {\n            return quote;\n          }\n\n          this._checkNoInterpolation(input, location, interpolationConfig);\n\n          var sourceToLex = this._stripComments(input);\n\n          var tokens = this._lexer.tokenize(sourceToLex);\n\n          return new _ParseAST(input, location, absoluteOffset, tokens, sourceToLex.length, false, this.errors, input.length - sourceToLex.length).parseChain();\n        }\n      }, {\n        key: \"_parseQuote\",\n        value: function _parseQuote(input, location) {\n          if (input == null) return null;\n          var prefixSeparatorIndex = input.indexOf(':');\n          if (prefixSeparatorIndex == -1) return null;\n          var prefix = input.substring(0, prefixSeparatorIndex).trim();\n          if (!isIdentifier(prefix)) return null;\n          var uninterpretedExpression = input.substring(prefixSeparatorIndex + 1);\n          return new Quote(new ParseSpan(0, input.length), prefix, uninterpretedExpression, location);\n        }\n      }, {\n        key: \"parseTemplateBindings\",\n        value: function parseTemplateBindings(tplKey, tplValue, location, absoluteOffset) {\n          var tokens = this._lexer.tokenize(tplValue);\n\n          return new _ParseAST(tplValue, location, absoluteOffset, tokens, tplValue.length, false, this.errors, 0).parseTemplateBindings(tplKey);\n        }\n      }, {\n        key: \"parseInterpolation\",\n        value: function parseInterpolation(input, location, absoluteOffset) {\n          var interpolationConfig = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : DEFAULT_INTERPOLATION_CONFIG;\n          var split = this.splitInterpolation(input, location, interpolationConfig);\n          if (split == null) return null;\n          var expressions = [];\n\n          for (var i = 0; i < split.expressions.length; ++i) {\n            var expressionText = split.expressions[i];\n\n            var sourceToLex = this._stripComments(expressionText);\n\n            var tokens = this._lexer.tokenize(sourceToLex);\n\n            var ast = new _ParseAST(input, location, absoluteOffset, tokens, sourceToLex.length, false, this.errors, split.offsets[i] + (expressionText.length - sourceToLex.length)).parseChain();\n            expressions.push(ast);\n          }\n\n          return new ASTWithSource(new Interpolation(new ParseSpan(0, input == null ? 0 : input.length), split.strings, expressions), input, location, absoluteOffset, this.errors);\n        }\n      }, {\n        key: \"splitInterpolation\",\n        value: function splitInterpolation(input, location) {\n          var interpolationConfig = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : DEFAULT_INTERPOLATION_CONFIG;\n\n          var regexp = _createInterpolateRegExp(interpolationConfig);\n\n          var parts = input.split(regexp);\n\n          if (parts.length <= 1) {\n            return null;\n          }\n\n          var strings = [];\n          var expressions = [];\n          var offsets = [];\n          var offset = 0;\n\n          for (var i = 0; i < parts.length; i++) {\n            var part = parts[i];\n\n            if (i % 2 === 0) {\n              // fixed string\n              strings.push(part);\n              offset += part.length;\n            } else if (part.trim().length > 0) {\n              offset += interpolationConfig.start.length;\n              expressions.push(part);\n              offsets.push(offset);\n              offset += part.length + interpolationConfig.end.length;\n            } else {\n              this._reportError('Blank expressions are not allowed in interpolated strings', input, \"at column \".concat(this._findInterpolationErrorColumn(parts, i, interpolationConfig), \" in\"), location);\n\n              expressions.push('$implict');\n              offsets.push(offset);\n            }\n          }\n\n          return new SplitInterpolation(strings, expressions, offsets);\n        }\n      }, {\n        key: \"wrapLiteralPrimitive\",\n        value: function wrapLiteralPrimitive(input, location, absoluteOffset) {\n          return new ASTWithSource(new LiteralPrimitive(new ParseSpan(0, input == null ? 0 : input.length), input), input, location, absoluteOffset, this.errors);\n        }\n      }, {\n        key: \"_stripComments\",\n        value: function _stripComments(input) {\n          var i = this._commentStart(input);\n\n          return i != null ? input.substring(0, i).trim() : input;\n        }\n      }, {\n        key: \"_commentStart\",\n        value: function _commentStart(input) {\n          var outerQuote = null;\n\n          for (var i = 0; i < input.length - 1; i++) {\n            var char = input.charCodeAt(i);\n            var nextChar = input.charCodeAt(i + 1);\n            if (char === $SLASH && nextChar == $SLASH && outerQuote == null) return i;\n\n            if (outerQuote === char) {\n              outerQuote = null;\n            } else if (outerQuote == null && isQuote(char)) {\n              outerQuote = char;\n            }\n          }\n\n          return null;\n        }\n      }, {\n        key: \"_checkNoInterpolation\",\n        value: function _checkNoInterpolation(input, location, interpolationConfig) {\n          var regexp = _createInterpolateRegExp(interpolationConfig);\n\n          var parts = input.split(regexp);\n\n          if (parts.length > 1) {\n            this._reportError(\"Got interpolation (\".concat(interpolationConfig.start).concat(interpolationConfig.end, \") where expression was expected\"), input, \"at column \".concat(this._findInterpolationErrorColumn(parts, 1, interpolationConfig), \" in\"), location);\n          }\n        }\n      }, {\n        key: \"_findInterpolationErrorColumn\",\n        value: function _findInterpolationErrorColumn(parts, partInErrIdx, interpolationConfig) {\n          var errLocation = '';\n\n          for (var j = 0; j < partInErrIdx; j++) {\n            errLocation += j % 2 === 0 ? parts[j] : \"\".concat(interpolationConfig.start).concat(parts[j]).concat(interpolationConfig.end);\n          }\n\n          return errLocation.length;\n        }\n      }]);\n\n      return Parser$1;\n    }();\n\n    var _ParseAST =\n    /*#__PURE__*/\n    function () {\n      function _ParseAST(input, location, absoluteOffset, tokens, inputLength, parseAction, errors, offset) {\n        _classCallCheck(this, _ParseAST);\n\n        this.input = input;\n        this.location = location;\n        this.absoluteOffset = absoluteOffset;\n        this.tokens = tokens;\n        this.inputLength = inputLength;\n        this.parseAction = parseAction;\n        this.errors = errors;\n        this.offset = offset;\n        this.rparensExpected = 0;\n        this.rbracketsExpected = 0;\n        this.rbracesExpected = 0;\n        this.index = 0;\n      }\n\n      _createClass2(_ParseAST, [{\n        key: \"peek\",\n        value: function peek(offset) {\n          var i = this.index + offset;\n          return i < this.tokens.length ? this.tokens[i] : EOF;\n        }\n      }, {\n        key: \"span\",\n        value: function span(start) {\n          return new ParseSpan(start, this.inputIndex);\n        }\n      }, {\n        key: \"advance\",\n        value: function advance() {\n          this.index++;\n        }\n      }, {\n        key: \"optionalCharacter\",\n        value: function optionalCharacter(code) {\n          if (this.next.isCharacter(code)) {\n            this.advance();\n            return true;\n          } else {\n            return false;\n          }\n        }\n      }, {\n        key: \"peekKeywordLet\",\n        value: function peekKeywordLet() {\n          return this.next.isKeywordLet();\n        }\n      }, {\n        key: \"peekKeywordAs\",\n        value: function peekKeywordAs() {\n          return this.next.isKeywordAs();\n        }\n      }, {\n        key: \"expectCharacter\",\n        value: function expectCharacter(code) {\n          if (this.optionalCharacter(code)) return;\n          this.error(\"Missing expected \".concat(String.fromCharCode(code)));\n        }\n      }, {\n        key: \"optionalOperator\",\n        value: function optionalOperator(op) {\n          if (this.next.isOperator(op)) {\n            this.advance();\n            return true;\n          } else {\n            return false;\n          }\n        }\n      }, {\n        key: \"expectOperator\",\n        value: function expectOperator(operator) {\n          if (this.optionalOperator(operator)) return;\n          this.error(\"Missing expected operator \".concat(operator));\n        }\n      }, {\n        key: \"expectIdentifierOrKeyword\",\n        value: function expectIdentifierOrKeyword() {\n          var n = this.next;\n\n          if (!n.isIdentifier() && !n.isKeyword()) {\n            this.error(\"Unexpected token \".concat(n, \", expected identifier or keyword\"));\n            return '';\n          }\n\n          this.advance();\n          return n.toString();\n        }\n      }, {\n        key: \"expectIdentifierOrKeywordOrString\",\n        value: function expectIdentifierOrKeywordOrString() {\n          var n = this.next;\n\n          if (!n.isIdentifier() && !n.isKeyword() && !n.isString()) {\n            this.error(\"Unexpected token \".concat(n, \", expected identifier, keyword, or string\"));\n            return '';\n          }\n\n          this.advance();\n          return n.toString();\n        }\n      }, {\n        key: \"parseChain\",\n        value: function parseChain() {\n          var exprs = [];\n          var start = this.inputIndex;\n\n          while (this.index < this.tokens.length) {\n            var expr = this.parsePipe();\n            exprs.push(expr);\n\n            if (this.optionalCharacter($SEMICOLON)) {\n              if (!this.parseAction) {\n                this.error('Binding expression cannot contain chained expression');\n              }\n\n              while (this.optionalCharacter($SEMICOLON)) {} // read all semicolons\n\n            } else if (this.index < this.tokens.length) {\n              this.error(\"Unexpected token '\".concat(this.next, \"'\"));\n            }\n          }\n\n          if (exprs.length == 0) return new EmptyExpr(this.span(start));\n          if (exprs.length == 1) return exprs[0];\n          return new Chain(this.span(start), exprs);\n        }\n      }, {\n        key: \"parsePipe\",\n        value: function parsePipe() {\n          var result = this.parseExpression();\n\n          if (this.optionalOperator('|')) {\n            if (this.parseAction) {\n              this.error('Cannot have a pipe in an action expression');\n            }\n\n            do {\n              var name = this.expectIdentifierOrKeyword();\n              var args = [];\n\n              while (this.optionalCharacter($COLON)) {\n                args.push(this.parseExpression());\n              }\n\n              result = new BindingPipe(this.span(result.span.start), result, name, args);\n            } while (this.optionalOperator('|'));\n          }\n\n          return result;\n        }\n      }, {\n        key: \"parseExpression\",\n        value: function parseExpression() {\n          return this.parseConditional();\n        }\n      }, {\n        key: \"parseConditional\",\n        value: function parseConditional() {\n          var start = this.inputIndex;\n          var result = this.parseLogicalOr();\n\n          if (this.optionalOperator('?')) {\n            var yes = this.parsePipe();\n            var no;\n\n            if (!this.optionalCharacter($COLON)) {\n              var end = this.inputIndex;\n              var expression = this.input.substring(start, end);\n              this.error(\"Conditional expression \".concat(expression, \" requires all 3 expressions\"));\n              no = new EmptyExpr(this.span(start));\n            } else {\n              no = this.parsePipe();\n            }\n\n            return new Conditional(this.span(start), result, yes, no);\n          } else {\n            return result;\n          }\n        }\n      }, {\n        key: \"parseLogicalOr\",\n        value: function parseLogicalOr() {\n          // '||'\n          var result = this.parseLogicalAnd();\n\n          while (this.optionalOperator('||')) {\n            var right = this.parseLogicalAnd();\n            result = new Binary(this.span(result.span.start), '||', result, right);\n          }\n\n          return result;\n        }\n      }, {\n        key: \"parseLogicalAnd\",\n        value: function parseLogicalAnd() {\n          // '&&'\n          var result = this.parseEquality();\n\n          while (this.optionalOperator('&&')) {\n            var right = this.parseEquality();\n            result = new Binary(this.span(result.span.start), '&&', result, right);\n          }\n\n          return result;\n        }\n      }, {\n        key: \"parseEquality\",\n        value: function parseEquality() {\n          // '==','!=','===','!=='\n          var result = this.parseRelational();\n\n          while (this.next.type == TokenType$1.Operator) {\n            var operator = this.next.strValue;\n\n            switch (operator) {\n              case '==':\n              case '===':\n              case '!=':\n              case '!==':\n                this.advance();\n                var right = this.parseRelational();\n                result = new Binary(this.span(result.span.start), operator, result, right);\n                continue;\n            }\n\n            break;\n          }\n\n          return result;\n        }\n      }, {\n        key: \"parseRelational\",\n        value: function parseRelational() {\n          // '<', '>', '<=', '>='\n          var result = this.parseAdditive();\n\n          while (this.next.type == TokenType$1.Operator) {\n            var operator = this.next.strValue;\n\n            switch (operator) {\n              case '<':\n              case '>':\n              case '<=':\n              case '>=':\n                this.advance();\n                var right = this.parseAdditive();\n                result = new Binary(this.span(result.span.start), operator, result, right);\n                continue;\n            }\n\n            break;\n          }\n\n          return result;\n        }\n      }, {\n        key: \"parseAdditive\",\n        value: function parseAdditive() {\n          // '+', '-'\n          var result = this.parseMultiplicative();\n\n          while (this.next.type == TokenType$1.Operator) {\n            var operator = this.next.strValue;\n\n            switch (operator) {\n              case '+':\n              case '-':\n                this.advance();\n                var right = this.parseMultiplicative();\n                result = new Binary(this.span(result.span.start), operator, result, right);\n                continue;\n            }\n\n            break;\n          }\n\n          return result;\n        }\n      }, {\n        key: \"parseMultiplicative\",\n        value: function parseMultiplicative() {\n          // '*', '%', '/'\n          var result = this.parsePrefix();\n\n          while (this.next.type == TokenType$1.Operator) {\n            var operator = this.next.strValue;\n\n            switch (operator) {\n              case '*':\n              case '%':\n              case '/':\n                this.advance();\n                var right = this.parsePrefix();\n                result = new Binary(this.span(result.span.start), operator, result, right);\n                continue;\n            }\n\n            break;\n          }\n\n          return result;\n        }\n      }, {\n        key: \"parsePrefix\",\n        value: function parsePrefix() {\n          if (this.next.type == TokenType$1.Operator) {\n            var start = this.inputIndex;\n            var operator = this.next.strValue;\n            var result;\n\n            switch (operator) {\n              case '+':\n                this.advance();\n                result = this.parsePrefix();\n                return new Binary(this.span(start), '-', result, new LiteralPrimitive(new ParseSpan(start, start), 0));\n\n              case '-':\n                this.advance();\n                result = this.parsePrefix();\n                return new Binary(this.span(start), operator, new LiteralPrimitive(new ParseSpan(start, start), 0), result);\n\n              case '!':\n                this.advance();\n                result = this.parsePrefix();\n                return new PrefixNot(this.span(start), result);\n            }\n          }\n\n          return this.parseCallChain();\n        }\n      }, {\n        key: \"parseCallChain\",\n        value: function parseCallChain() {\n          var result = this.parsePrimary();\n\n          while (true) {\n            if (this.optionalCharacter($PERIOD)) {\n              result = this.parseAccessMemberOrMethodCall(result, false);\n            } else if (this.optionalOperator('?.')) {\n              result = this.parseAccessMemberOrMethodCall(result, true);\n            } else if (this.optionalCharacter($LBRACKET)) {\n              this.rbracketsExpected++;\n              var key = this.parsePipe();\n              this.rbracketsExpected--;\n              this.expectCharacter($RBRACKET);\n\n              if (this.optionalOperator('=')) {\n                var value = this.parseConditional();\n                result = new KeyedWrite(this.span(result.span.start), result, key, value);\n              } else {\n                result = new KeyedRead(this.span(result.span.start), result, key);\n              }\n            } else if (this.optionalCharacter($LPAREN)) {\n              this.rparensExpected++;\n              var args = this.parseCallArguments();\n              this.rparensExpected--;\n              this.expectCharacter($RPAREN);\n              result = new FunctionCall(this.span(result.span.start), result, args);\n            } else if (this.optionalOperator('!')) {\n              result = new NonNullAssert(this.span(result.span.start), result);\n            } else {\n              return result;\n            }\n          }\n        }\n      }, {\n        key: \"parsePrimary\",\n        value: function parsePrimary() {\n          var start = this.inputIndex;\n\n          if (this.optionalCharacter($LPAREN)) {\n            this.rparensExpected++;\n            var result = this.parsePipe();\n            this.rparensExpected--;\n            this.expectCharacter($RPAREN);\n            return result;\n          } else if (this.next.isKeywordNull()) {\n            this.advance();\n            return new LiteralPrimitive(this.span(start), null);\n          } else if (this.next.isKeywordUndefined()) {\n            this.advance();\n            return new LiteralPrimitive(this.span(start), void 0);\n          } else if (this.next.isKeywordTrue()) {\n            this.advance();\n            return new LiteralPrimitive(this.span(start), true);\n          } else if (this.next.isKeywordFalse()) {\n            this.advance();\n            return new LiteralPrimitive(this.span(start), false);\n          } else if (this.next.isKeywordThis()) {\n            this.advance();\n            return new ImplicitReceiver(this.span(start));\n          } else if (this.optionalCharacter($LBRACKET)) {\n            this.rbracketsExpected++;\n            var elements = this.parseExpressionList($RBRACKET);\n            this.rbracketsExpected--;\n            this.expectCharacter($RBRACKET);\n            return new LiteralArray(this.span(start), elements);\n          } else if (this.next.isCharacter($LBRACE)) {\n            return this.parseLiteralMap();\n          } else if (this.next.isIdentifier()) {\n            return this.parseAccessMemberOrMethodCall(new ImplicitReceiver(this.span(start)), false);\n          } else if (this.next.isNumber()) {\n            var value = this.next.toNumber();\n            this.advance();\n            return new LiteralPrimitive(this.span(start), value);\n          } else if (this.next.isString()) {\n            var literalValue = this.next.toString();\n            this.advance();\n            return new LiteralPrimitive(this.span(start), literalValue);\n          } else if (this.index >= this.tokens.length) {\n            this.error(\"Unexpected end of expression: \".concat(this.input));\n            return new EmptyExpr(this.span(start));\n          } else {\n            this.error(\"Unexpected token \".concat(this.next));\n            return new EmptyExpr(this.span(start));\n          }\n        }\n      }, {\n        key: \"parseExpressionList\",\n        value: function parseExpressionList(terminator) {\n          var result = [];\n\n          if (!this.next.isCharacter(terminator)) {\n            do {\n              result.push(this.parsePipe());\n            } while (this.optionalCharacter($COMMA));\n          }\n\n          return result;\n        }\n      }, {\n        key: \"parseLiteralMap\",\n        value: function parseLiteralMap() {\n          var keys = [];\n          var values = [];\n          var start = this.inputIndex;\n          this.expectCharacter($LBRACE);\n\n          if (!this.optionalCharacter($RBRACE)) {\n            this.rbracesExpected++;\n\n            do {\n              var quoted = this.next.isString();\n              var key = this.expectIdentifierOrKeywordOrString();\n              keys.push({\n                key: key,\n                quoted: quoted\n              });\n              this.expectCharacter($COLON);\n              values.push(this.parsePipe());\n            } while (this.optionalCharacter($COMMA));\n\n            this.rbracesExpected--;\n            this.expectCharacter($RBRACE);\n          }\n\n          return new LiteralMap(this.span(start), keys, values);\n        }\n      }, {\n        key: \"parseAccessMemberOrMethodCall\",\n        value: function parseAccessMemberOrMethodCall(receiver) {\n          var isSafe = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n          var start = receiver.span.start;\n          var id = this.expectIdentifierOrKeyword();\n\n          if (this.optionalCharacter($LPAREN)) {\n            this.rparensExpected++;\n            var args = this.parseCallArguments();\n            this.expectCharacter($RPAREN);\n            this.rparensExpected--;\n            var span = this.span(start);\n            return isSafe ? new SafeMethodCall(span, receiver, id, args) : new MethodCall(span, receiver, id, args);\n          } else {\n            if (isSafe) {\n              if (this.optionalOperator('=')) {\n                this.error('The \\'?.\\' operator cannot be used in the assignment');\n                return new EmptyExpr(this.span(start));\n              } else {\n                return new SafePropertyRead(this.span(start), receiver, id);\n              }\n            } else {\n              if (this.optionalOperator('=')) {\n                if (!this.parseAction) {\n                  this.error('Bindings cannot contain assignments');\n                  return new EmptyExpr(this.span(start));\n                }\n\n                var value = this.parseConditional();\n                return new PropertyWrite(this.span(start), receiver, id, value);\n              } else {\n                return new PropertyRead(this.span(start), receiver, id);\n              }\n            }\n          }\n        }\n      }, {\n        key: \"parseCallArguments\",\n        value: function parseCallArguments() {\n          if (this.next.isCharacter($RPAREN)) return [];\n          var positionals = [];\n\n          do {\n            positionals.push(this.parsePipe());\n          } while (this.optionalCharacter($COMMA));\n\n          return positionals;\n        }\n        /**\n         * An identifier, a keyword, a string with an optional `-` in between.\n         */\n\n      }, {\n        key: \"expectTemplateBindingKey\",\n        value: function expectTemplateBindingKey() {\n          var result = '';\n          var operatorFound = false;\n\n          do {\n            result += this.expectIdentifierOrKeywordOrString();\n            operatorFound = this.optionalOperator('-');\n\n            if (operatorFound) {\n              result += '-';\n            }\n          } while (operatorFound);\n\n          return result.toString();\n        } // Parses the AST for `<some-tag *tplKey=AST>`\n\n      }, {\n        key: \"parseTemplateBindings\",\n        value: function parseTemplateBindings(tplKey) {\n          var firstBinding = true;\n          var bindings = [];\n          var warnings = [];\n\n          do {\n            var start = this.inputIndex;\n            var rawKey = void 0;\n            var key = void 0;\n            var isVar = false;\n\n            if (firstBinding) {\n              rawKey = key = tplKey;\n              firstBinding = false;\n            } else {\n              isVar = this.peekKeywordLet();\n              if (isVar) this.advance();\n              rawKey = this.expectTemplateBindingKey();\n              key = isVar ? rawKey : tplKey + rawKey[0].toUpperCase() + rawKey.substring(1);\n              this.optionalCharacter($COLON);\n            }\n\n            var name = null;\n            var expression = null;\n\n            if (isVar) {\n              if (this.optionalOperator('=')) {\n                name = this.expectTemplateBindingKey();\n              } else {\n                name = '\\$implicit';\n              }\n            } else if (this.peekKeywordAs()) {\n              this.advance(); // consume `as`\n\n              name = rawKey;\n              key = this.expectTemplateBindingKey(); // read local var name\n\n              isVar = true;\n            } else if (this.next !== EOF && !this.peekKeywordLet()) {\n              var _start = this.inputIndex;\n              var ast = this.parsePipe();\n              var source = this.input.substring(_start - this.offset, this.inputIndex - this.offset);\n              expression = new ASTWithSource(ast, source, this.location, this.absoluteOffset, this.errors);\n            }\n\n            bindings.push(new TemplateBinding(this.span(start), key, isVar, name, expression));\n\n            if (this.peekKeywordAs() && !isVar) {\n              var letStart = this.inputIndex;\n              this.advance(); // consume `as`\n\n              var letName = this.expectTemplateBindingKey(); // read local var name\n\n              bindings.push(new TemplateBinding(this.span(letStart), letName, true, key, null));\n            }\n\n            if (!this.optionalCharacter($SEMICOLON)) {\n              this.optionalCharacter($COMMA);\n            }\n          } while (this.index < this.tokens.length);\n\n          return new TemplateBindingParseResult(bindings, warnings, this.errors);\n        }\n      }, {\n        key: \"error\",\n        value: function error(message) {\n          var index = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n          this.errors.push(new ParserError(message, this.input, this.locationText(index), this.location));\n          this.skip();\n        }\n      }, {\n        key: \"locationText\",\n        value: function locationText() {\n          var index = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n          if (index == null) index = this.index;\n          return index < this.tokens.length ? \"at column \".concat(this.tokens[index].index + 1, \" in\") : \"at the end of the expression\";\n        } // Error recovery should skip tokens until it encounters a recovery point. skip() treats\n        // the end of input and a ';' as unconditionally a recovery point. It also treats ')',\n        // '}' and ']' as conditional recovery points if one of calling productions is expecting\n        // one of these symbols. This allows skip() to recover from errors such as '(a.) + 1' allowing\n        // more of the AST to be retained (it doesn't skip any tokens as the ')' is retained because\n        // of the '(' begins an '(' <expr> ')' production). The recovery points of grouping symbols\n        // must be conditional as they must be skipped if none of the calling productions are not\n        // expecting the closing token else we will never make progress in the case of an\n        // extraneous group closing symbol (such as a stray ')'). This is not the case for ';' because\n        // parseChain() is always the root production and it expects a ';'.\n        // If a production expects one of these token it increments the corresponding nesting count,\n        // and then decrements it just prior to checking if the token is in the input.\n\n      }, {\n        key: \"skip\",\n        value: function skip() {\n          var n = this.next;\n\n          while (this.index < this.tokens.length && !n.isCharacter($SEMICOLON) && (this.rparensExpected <= 0 || !n.isCharacter($RPAREN)) && (this.rbracesExpected <= 0 || !n.isCharacter($RBRACE)) && (this.rbracketsExpected <= 0 || !n.isCharacter($RBRACKET))) {\n            if (this.next.isError()) {\n              this.errors.push(new ParserError(this.next.toString(), this.input, this.locationText(), this.location));\n            }\n\n            this.advance();\n            n = this.next;\n          }\n        }\n      }, {\n        key: \"next\",\n        get: function get() {\n          return this.peek(0);\n        }\n      }, {\n        key: \"inputIndex\",\n        get: function get() {\n          return this.index < this.tokens.length ? this.next.index + this.offset : this.inputLength + this.offset;\n        }\n      }]);\n\n      return _ParseAST;\n    }();\n\n    var SimpleExpressionChecker =\n    /*#__PURE__*/\n    function () {\n      function SimpleExpressionChecker() {\n        _classCallCheck(this, SimpleExpressionChecker);\n\n        this.errors = [];\n      }\n\n      _createClass2(SimpleExpressionChecker, [{\n        key: \"visitImplicitReceiver\",\n        value: function visitImplicitReceiver(ast, context) {}\n      }, {\n        key: \"visitInterpolation\",\n        value: function visitInterpolation(ast, context) {}\n      }, {\n        key: \"visitLiteralPrimitive\",\n        value: function visitLiteralPrimitive(ast, context) {}\n      }, {\n        key: \"visitPropertyRead\",\n        value: function visitPropertyRead(ast, context) {}\n      }, {\n        key: \"visitPropertyWrite\",\n        value: function visitPropertyWrite(ast, context) {}\n      }, {\n        key: \"visitSafePropertyRead\",\n        value: function visitSafePropertyRead(ast, context) {}\n      }, {\n        key: \"visitMethodCall\",\n        value: function visitMethodCall(ast, context) {}\n      }, {\n        key: \"visitSafeMethodCall\",\n        value: function visitSafeMethodCall(ast, context) {}\n      }, {\n        key: \"visitFunctionCall\",\n        value: function visitFunctionCall(ast, context) {}\n      }, {\n        key: \"visitLiteralArray\",\n        value: function visitLiteralArray(ast, context) {\n          this.visitAll(ast.expressions);\n        }\n      }, {\n        key: \"visitLiteralMap\",\n        value: function visitLiteralMap(ast, context) {\n          this.visitAll(ast.values);\n        }\n      }, {\n        key: \"visitBinary\",\n        value: function visitBinary(ast, context) {}\n      }, {\n        key: \"visitPrefixNot\",\n        value: function visitPrefixNot(ast, context) {}\n      }, {\n        key: \"visitNonNullAssert\",\n        value: function visitNonNullAssert(ast, context) {}\n      }, {\n        key: \"visitConditional\",\n        value: function visitConditional(ast, context) {}\n      }, {\n        key: \"visitPipe\",\n        value: function visitPipe(ast, context) {\n          this.errors.push('pipes');\n        }\n      }, {\n        key: \"visitKeyedRead\",\n        value: function visitKeyedRead(ast, context) {}\n      }, {\n        key: \"visitKeyedWrite\",\n        value: function visitKeyedWrite(ast, context) {}\n      }, {\n        key: \"visitAll\",\n        value: function visitAll(asts) {\n          var _this294 = this;\n\n          return asts.map(function (node) {\n            return node.visit(_this294);\n          });\n        }\n      }, {\n        key: \"visitChain\",\n        value: function visitChain(ast, context) {}\n      }, {\n        key: \"visitQuote\",\n        value: function visitQuote(ast, context) {}\n      }], [{\n        key: \"check\",\n        value: function check(ast) {\n          var s = new SimpleExpressionChecker();\n          ast.visit(s);\n          return s.errors;\n        }\n      }]);\n\n      return SimpleExpressionChecker;\n    }();\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n    // =================================================================================================\n    // =================================================================================================\n    // =========== S T O P   -  S T O P   -  S T O P   -  S T O P   -  S T O P   -  S T O P  ===========\n    // =================================================================================================\n    // =================================================================================================\n    //\n    //        DO NOT EDIT THIS LIST OF SECURITY SENSITIVE PROPERTIES WITHOUT A SECURITY REVIEW!\n    //                               Reach out to mprobst for details.\n    //\n    // =================================================================================================\n\n    /** Map from tagName|propertyName SecurityContext. Properties applying to all tags use '*'. */\n\n\n    var _SECURITY_SCHEMA;\n\n    function SECURITY_SCHEMA() {\n      if (!_SECURITY_SCHEMA) {\n        _SECURITY_SCHEMA = {}; // Case is insignificant below, all element and attribute names are lower-cased for lookup.\n\n        registerContext(SecurityContext.HTML, ['iframe|srcdoc', '*|innerHTML', '*|outerHTML']);\n        registerContext(SecurityContext.STYLE, ['*|style']); // NB: no SCRIPT contexts here, they are never allowed due to the parser stripping them.\n\n        registerContext(SecurityContext.URL, ['*|formAction', 'area|href', 'area|ping', 'audio|src', 'a|href', 'a|ping', 'blockquote|cite', 'body|background', 'del|cite', 'form|action', 'img|src', 'img|srcset', 'input|src', 'ins|cite', 'q|cite', 'source|src', 'source|srcset', 'track|src', 'video|poster', 'video|src']);\n        registerContext(SecurityContext.RESOURCE_URL, ['applet|code', 'applet|codebase', 'base|href', 'embed|src', 'frame|src', 'head|profile', 'html|manifest', 'iframe|src', 'link|href', 'media|src', 'object|codebase', 'object|data', 'script|src']);\n      }\n\n      return _SECURITY_SCHEMA;\n    }\n\n    function registerContext(ctx, specs) {\n      var _iteratorNormalCompletion15 = true;\n      var _didIteratorError15 = false;\n      var _iteratorError15 = undefined;\n\n      try {\n        for (var _iterator15 = specs[Symbol.iterator](), _step15; !(_iteratorNormalCompletion15 = (_step15 = _iterator15.next()).done); _iteratorNormalCompletion15 = true) {\n          var spec = _step15.value;\n          _SECURITY_SCHEMA[spec.toLowerCase()] = ctx;\n        }\n      } catch (err) {\n        _didIteratorError15 = true;\n        _iteratorError15 = err;\n      } finally {\n        try {\n          if (!_iteratorNormalCompletion15 && _iterator15.return != null) {\n            _iterator15.return();\n          }\n        } finally {\n          if (_didIteratorError15) {\n            throw _iteratorError15;\n          }\n        }\n      }\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var ElementSchemaRegistry = function ElementSchemaRegistry() {\n      _classCallCheck(this, ElementSchemaRegistry);\n    };\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var BOOLEAN = 'boolean';\n    var NUMBER = 'number';\n    var STRING = 'string';\n    var OBJECT = 'object';\n    /**\n     * This array represents the DOM schema. It encodes inheritance, properties, and events.\n     *\n     * ## Overview\n     *\n     * Each line represents one kind of element. The `element_inheritance` and properties are joined\n     * using `element_inheritance|properties` syntax.\n     *\n     * ## Element Inheritance\n     *\n     * The `element_inheritance` can be further subdivided as `element1,element2,...^parentElement`.\n     * Here the individual elements are separated by `,` (commas). Every element in the list\n     * has identical properties.\n     *\n     * An `element` may inherit additional properties from `parentElement` If no `^parentElement` is\n     * specified then `\"\"` (blank) element is assumed.\n     *\n     * NOTE: The blank element inherits from root `[Element]` element, the super element of all\n     * elements.\n     *\n     * NOTE an element prefix such as `:svg:` has no special meaning to the schema.\n     *\n     * ## Properties\n     *\n     * Each element has a set of properties separated by `,` (commas). Each property can be prefixed\n     * by a special character designating its type:\n     *\n     * - (no prefix): property is a string.\n     * - `*`: property represents an event.\n     * - `!`: property is a boolean.\n     * - `#`: property is a number.\n     * - `%`: property is an object.\n     *\n     * ## Query\n     *\n     * The class creates an internal squas representation which allows to easily answer the query of\n     * if a given property exist on a given element.\n     *\n     * NOTE: We don't yet support querying for types or events.\n     * NOTE: This schema is auto extracted from `schema_extractor.ts` located in the test folder,\n     *       see dom_element_schema_registry_spec.ts\n     */\n    // =================================================================================================\n    // =================================================================================================\n    // =========== S T O P   -  S T O P   -  S T O P   -  S T O P   -  S T O P   -  S T O P  ===========\n    // =================================================================================================\n    // =================================================================================================\n    //\n    //                       DO NOT EDIT THIS DOM SCHEMA WITHOUT A SECURITY REVIEW!\n    //\n    // Newly added properties must be security reviewed and assigned an appropriate SecurityContext in\n    // dom_security_schema.ts. Reach out to mprobst & rjamet for details.\n    //\n    // =================================================================================================\n\n    var SCHEMA = ['[Element]|textContent,%classList,className,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*copy,*cut,*paste,*search,*selectstart,*webkitfullscreenchange,*webkitfullscreenerror,*wheel,outerHTML,#scrollLeft,#scrollTop,slot' +\n    /* added manually to avoid breaking changes */\n    ',*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored', '[HTMLElement]^[Element]|accessKey,contentEditable,dir,!draggable,!hidden,innerText,lang,*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,outerText,!spellcheck,%style,#tabIndex,title,!translate', 'abbr,address,article,aside,b,bdi,bdo,cite,code,dd,dfn,dt,em,figcaption,figure,footer,header,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,contentEditable,dir,!draggable,!hidden,innerText,lang,*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,outerText,!spellcheck,%style,#tabIndex,title,!translate', 'media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,src,%srcObject,#volume', ':svg:^[HTMLElement]|*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,%style,#tabIndex', ':svg:graphics^:svg:|', ':svg:animation^:svg:|*begin,*end,*repeat', ':svg:geometry^:svg:|', ':svg:componentTransferFunction^:svg:|', ':svg:gradient^:svg:|', ':svg:textContent^:svg:graphics|', ':svg:textPositioning^:svg:textContent|', 'a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,rev,search,shape,target,text,type,username', 'area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,search,shape,target,username', 'audio^media|', 'br^[HTMLElement]|clear', 'base^[HTMLElement]|href,target', 'body^[HTMLElement]|aLink,background,bgColor,link,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink', 'button^[HTMLElement]|!autofocus,!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value', 'canvas^[HTMLElement]|#height,#width', 'content^[HTMLElement]|select', 'dl^[HTMLElement]|!compact', 'datalist^[HTMLElement]|', 'details^[HTMLElement]|!open', 'dialog^[HTMLElement]|!open,returnValue', 'dir^[HTMLElement]|!compact', 'div^[HTMLElement]|align', 'embed^[HTMLElement]|align,height,name,src,type,width', 'fieldset^[HTMLElement]|!disabled,name', 'font^[HTMLElement]|color,face,size', 'form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target', 'frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src', 'frameset^[HTMLElement]|cols,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows', 'hr^[HTMLElement]|align,color,!noShade,size,width', 'head^[HTMLElement]|', 'h1,h2,h3,h4,h5,h6^[HTMLElement]|align', 'html^[HTMLElement]|version', 'iframe^[HTMLElement]|align,!allowFullscreen,frameBorder,height,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width', 'img^[HTMLElement]|align,alt,border,%crossOrigin,#height,#hspace,!isMap,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width', 'input^[HTMLElement]|accept,align,alt,autocapitalize,autocomplete,!autofocus,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width', 'li^[HTMLElement]|type,#value', 'label^[HTMLElement]|htmlFor', 'legend^[HTMLElement]|align', 'link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type', 'map^[HTMLElement]|name', 'marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width', 'menu^[HTMLElement]|!compact', 'meta^[HTMLElement]|content,httpEquiv,name,scheme', 'meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value', 'ins,del^[HTMLElement]|cite,dateTime', 'ol^[HTMLElement]|!compact,!reversed,#start,type', 'object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width', 'optgroup^[HTMLElement]|!disabled,label', 'option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value', 'output^[HTMLElement]|defaultValue,%htmlFor,name,value', 'p^[HTMLElement]|align', 'param^[HTMLElement]|name,type,value,valueType', 'picture^[HTMLElement]|', 'pre^[HTMLElement]|#width', 'progress^[HTMLElement]|#max,#value', 'q,blockquote,cite^[HTMLElement]|', 'script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,src,text,type', 'select^[HTMLElement]|!autofocus,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value', 'shadow^[HTMLElement]|', 'slot^[HTMLElement]|name', 'source^[HTMLElement]|media,sizes,src,srcset,type', 'span^[HTMLElement]|', 'style^[HTMLElement]|!disabled,media,type', 'caption^[HTMLElement]|align', 'th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width', 'col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width', 'table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width', 'tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign', 'tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign', 'template^[HTMLElement]|', 'textarea^[HTMLElement]|autocapitalize,!autofocus,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap', 'title^[HTMLElement]|text', 'track^[HTMLElement]|!default,kind,label,src,srclang', 'ul^[HTMLElement]|!compact,type', 'unknown^[HTMLElement]|', 'video^media|#height,poster,#width', ':svg:a^:svg:graphics|', ':svg:animate^:svg:animation|', ':svg:animateMotion^:svg:animation|', ':svg:animateTransform^:svg:animation|', ':svg:circle^:svg:geometry|', ':svg:clipPath^:svg:graphics|', ':svg:defs^:svg:graphics|', ':svg:desc^:svg:|', ':svg:discard^:svg:|', ':svg:ellipse^:svg:geometry|', ':svg:feBlend^:svg:|', ':svg:feColorMatrix^:svg:|', ':svg:feComponentTransfer^:svg:|', ':svg:feComposite^:svg:|', ':svg:feConvolveMatrix^:svg:|', ':svg:feDiffuseLighting^:svg:|', ':svg:feDisplacementMap^:svg:|', ':svg:feDistantLight^:svg:|', ':svg:feDropShadow^:svg:|', ':svg:feFlood^:svg:|', ':svg:feFuncA^:svg:componentTransferFunction|', ':svg:feFuncB^:svg:componentTransferFunction|', ':svg:feFuncG^:svg:componentTransferFunction|', ':svg:feFuncR^:svg:componentTransferFunction|', ':svg:feGaussianBlur^:svg:|', ':svg:feImage^:svg:|', ':svg:feMerge^:svg:|', ':svg:feMergeNode^:svg:|', ':svg:feMorphology^:svg:|', ':svg:feOffset^:svg:|', ':svg:fePointLight^:svg:|', ':svg:feSpecularLighting^:svg:|', ':svg:feSpotLight^:svg:|', ':svg:feTile^:svg:|', ':svg:feTurbulence^:svg:|', ':svg:filter^:svg:|', ':svg:foreignObject^:svg:graphics|', ':svg:g^:svg:graphics|', ':svg:image^:svg:graphics|', ':svg:line^:svg:geometry|', ':svg:linearGradient^:svg:gradient|', ':svg:mpath^:svg:|', ':svg:marker^:svg:|', ':svg:mask^:svg:|', ':svg:metadata^:svg:|', ':svg:path^:svg:geometry|', ':svg:pattern^:svg:|', ':svg:polygon^:svg:geometry|', ':svg:polyline^:svg:geometry|', ':svg:radialGradient^:svg:gradient|', ':svg:rect^:svg:geometry|', ':svg:svg^:svg:graphics|#currentScale,#zoomAndPan', ':svg:script^:svg:|type', ':svg:set^:svg:animation|', ':svg:stop^:svg:|', ':svg:style^:svg:|!disabled,media,title,type', ':svg:switch^:svg:graphics|', ':svg:symbol^:svg:|', ':svg:tspan^:svg:textPositioning|', ':svg:text^:svg:textPositioning|', ':svg:textPath^:svg:textContent|', ':svg:title^:svg:|', ':svg:use^:svg:graphics|', ':svg:view^:svg:|#zoomAndPan', 'data^[HTMLElement]|value', 'keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name', 'menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default', 'summary^[HTMLElement]|', 'time^[HTMLElement]|dateTime', ':svg:cursor^:svg:|'];\n    var _ATTR_TO_PROP = {\n      'class': 'className',\n      'for': 'htmlFor',\n      'formaction': 'formAction',\n      'innerHtml': 'innerHTML',\n      'readonly': 'readOnly',\n      'tabindex': 'tabIndex'\n    };\n\n    var DomElementSchemaRegistry =\n    /*#__PURE__*/\n    function (_ElementSchemaRegistr) {\n      _inherits(DomElementSchemaRegistry, _ElementSchemaRegistr);\n\n      function DomElementSchemaRegistry() {\n        var _this295;\n\n        _classCallCheck(this, DomElementSchemaRegistry);\n\n        _this295 = _possibleConstructorReturn(this, _getPrototypeOf(DomElementSchemaRegistry).call(this));\n        _this295._schema = {};\n        SCHEMA.forEach(function (encodedType) {\n          var type = {};\n\n          var _encodedType$split = encodedType.split('|'),\n              _encodedType$split2 = _slicedToArray(_encodedType$split, 2),\n              strType = _encodedType$split2[0],\n              strProperties = _encodedType$split2[1];\n\n          var properties = strProperties.split(',');\n\n          var _strType$split = strType.split('^'),\n              _strType$split2 = _slicedToArray(_strType$split, 2),\n              typeNames = _strType$split2[0],\n              superName = _strType$split2[1];\n\n          typeNames.split(',').forEach(function (tag) {\n            return _this295._schema[tag.toLowerCase()] = type;\n          });\n\n          var superType = superName && _this295._schema[superName.toLowerCase()];\n\n          if (superType) {\n            Object.keys(superType).forEach(function (prop) {\n              type[prop] = superType[prop];\n            });\n          }\n\n          properties.forEach(function (property) {\n            if (property.length > 0) {\n              switch (property[0]) {\n                case '*':\n                  // We don't yet support events.\n                  // If ever allowing to bind to events, GO THROUGH A SECURITY REVIEW, allowing events\n                  // will\n                  // almost certainly introduce bad XSS vulnerabilities.\n                  // type[property.substring(1)] = EVENT;\n                  break;\n\n                case '!':\n                  type[property.substring(1)] = BOOLEAN;\n                  break;\n\n                case '#':\n                  type[property.substring(1)] = NUMBER;\n                  break;\n\n                case '%':\n                  type[property.substring(1)] = OBJECT;\n                  break;\n\n                default:\n                  type[property] = STRING;\n              }\n            }\n          });\n        });\n        return _this295;\n      }\n\n      _createClass2(DomElementSchemaRegistry, [{\n        key: \"hasProperty\",\n        value: function hasProperty(tagName, propName, schemaMetas) {\n          if (schemaMetas.some(function (schema) {\n            return schema.name === NO_ERRORS_SCHEMA.name;\n          })) {\n            return true;\n          }\n\n          if (tagName.indexOf('-') > -1) {\n            if (isNgContainer(tagName) || isNgContent(tagName)) {\n              return false;\n            }\n\n            if (schemaMetas.some(function (schema) {\n              return schema.name === CUSTOM_ELEMENTS_SCHEMA.name;\n            })) {\n              // Can't tell now as we don't know which properties a custom element will get\n              // once it is instantiated\n              return true;\n            }\n          }\n\n          var elementProperties = this._schema[tagName.toLowerCase()] || this._schema['unknown'];\n\n          return !!elementProperties[propName];\n        }\n      }, {\n        key: \"hasElement\",\n        value: function hasElement(tagName, schemaMetas) {\n          if (schemaMetas.some(function (schema) {\n            return schema.name === NO_ERRORS_SCHEMA.name;\n          })) {\n            return true;\n          }\n\n          if (tagName.indexOf('-') > -1) {\n            if (isNgContainer(tagName) || isNgContent(tagName)) {\n              return true;\n            }\n\n            if (schemaMetas.some(function (schema) {\n              return schema.name === CUSTOM_ELEMENTS_SCHEMA.name;\n            })) {\n              // Allow any custom elements\n              return true;\n            }\n          }\n\n          return !!this._schema[tagName.toLowerCase()];\n        }\n        /**\n         * securityContext returns the security context for the given property on the given DOM tag.\n         *\n         * Tag and property name are statically known and cannot change at runtime, i.e. it is not\n         * possible to bind a value into a changing attribute or tag name.\n         *\n         * The filtering is based on a list of allowed tags|attributes. All attributes in the schema\n         * above are assumed to have the 'NONE' security context, i.e. that they are safe inert\n         * string values. Only specific well known attack vectors are assigned their appropriate context.\n         */\n\n      }, {\n        key: \"securityContext\",\n        value: function securityContext(tagName, propName, isAttribute) {\n          if (isAttribute) {\n            // NB: For security purposes, use the mapped property name, not the attribute name.\n            propName = this.getMappedPropName(propName);\n          } // Make sure comparisons are case insensitive, so that case differences between attribute and\n          // property names do not have a security impact.\n\n\n          tagName = tagName.toLowerCase();\n          propName = propName.toLowerCase();\n          var ctx = SECURITY_SCHEMA()[tagName + '|' + propName];\n\n          if (ctx) {\n            return ctx;\n          }\n\n          ctx = SECURITY_SCHEMA()['*|' + propName];\n          return ctx ? ctx : SecurityContext.NONE;\n        }\n      }, {\n        key: \"getMappedPropName\",\n        value: function getMappedPropName(propName) {\n          return _ATTR_TO_PROP[propName] || propName;\n        }\n      }, {\n        key: \"getDefaultComponentElementName\",\n        value: function getDefaultComponentElementName() {\n          return 'ng-component';\n        }\n      }, {\n        key: \"validateProperty\",\n        value: function validateProperty(name) {\n          if (name.toLowerCase().startsWith('on')) {\n            var msg = \"Binding to event property '\".concat(name, \"' is disallowed for security reasons, \") + \"please use (\".concat(name.slice(2), \")=...\") + \"\\nIf '\".concat(name, \"' is a directive input, make sure the directive is imported by the\") + \" current module.\";\n            return {\n              error: true,\n              msg: msg\n            };\n          } else {\n            return {\n              error: false\n            };\n          }\n        }\n      }, {\n        key: \"validateAttribute\",\n        value: function validateAttribute(name) {\n          if (name.toLowerCase().startsWith('on')) {\n            var msg = \"Binding to event attribute '\".concat(name, \"' is disallowed for security reasons, \") + \"please use (\".concat(name.slice(2), \")=...\");\n            return {\n              error: true,\n              msg: msg\n            };\n          } else {\n            return {\n              error: false\n            };\n          }\n        }\n      }, {\n        key: \"allKnownElementNames\",\n        value: function allKnownElementNames() {\n          return Object.keys(this._schema);\n        }\n      }, {\n        key: \"normalizeAnimationStyleProperty\",\n        value: function normalizeAnimationStyleProperty(propName) {\n          return dashCaseToCamelCase(propName);\n        }\n      }, {\n        key: \"normalizeAnimationStyleValue\",\n        value: function normalizeAnimationStyleValue(camelCaseProp, userProvidedProp, val) {\n          var unit = '';\n          var strVal = val.toString().trim();\n          var errorMsg = null;\n\n          if (_isPixelDimensionStyle(camelCaseProp) && val !== 0 && val !== '0') {\n            if (typeof val === 'number') {\n              unit = 'px';\n            } else {\n              var valAndSuffixMatch = val.match(/^[+-]?[\\d\\.]+([a-z]*)$/);\n\n              if (valAndSuffixMatch && valAndSuffixMatch[1].length == 0) {\n                errorMsg = \"Please provide a CSS unit value for \".concat(userProvidedProp, \":\").concat(val);\n              }\n            }\n          }\n\n          return {\n            error: errorMsg,\n            value: strVal + unit\n          };\n        }\n      }]);\n\n      return DomElementSchemaRegistry;\n    }(ElementSchemaRegistry);\n\n    function _isPixelDimensionStyle(prop) {\n      switch (prop) {\n        case 'width':\n        case 'height':\n        case 'minWidth':\n        case 'minHeight':\n        case 'maxWidth':\n        case 'maxHeight':\n        case 'left':\n        case 'top':\n        case 'bottom':\n        case 'right':\n        case 'fontSize':\n        case 'outlineWidth':\n        case 'outlineOffset':\n        case 'paddingTop':\n        case 'paddingLeft':\n        case 'paddingBottom':\n        case 'paddingRight':\n        case 'marginTop':\n        case 'marginLeft':\n        case 'marginBottom':\n        case 'marginRight':\n        case 'borderRadius':\n        case 'borderWidth':\n        case 'borderTopWidth':\n        case 'borderLeftWidth':\n        case 'borderRightWidth':\n        case 'borderBottomWidth':\n        case 'textIndent':\n          return true;\n\n        default:\n          return false;\n      }\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var BIND_NAME_REGEXP$1 = /^(?:(?:(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.+))|\\[\\(([^\\)]+)\\)\\]|\\[([^\\]]+)\\]|\\(([^\\)]+)\\))$/; // Group 1 = \"bind-\"\n\n    var KW_BIND_IDX$1 = 1; // Group 2 = \"let-\"\n\n    var KW_LET_IDX$1 = 2; // Group 3 = \"ref-/#\"\n\n    var KW_REF_IDX$1 = 3; // Group 4 = \"on-\"\n\n    var KW_ON_IDX$1 = 4; // Group 5 = \"bindon-\"\n\n    var KW_BINDON_IDX$1 = 5; // Group 6 = \"@\"\n\n    var KW_AT_IDX$1 = 6; // Group 7 = the identifier after \"bind-\", \"let-\", \"ref-/#\", \"on-\", \"bindon-\" or \"@\"\n\n    var IDENT_KW_IDX$1 = 7; // Group 8 = identifier inside [()]\n\n    var IDENT_BANANA_BOX_IDX$1 = 8; // Group 9 = identifier inside []\n\n    var IDENT_PROPERTY_IDX$1 = 9; // Group 10 = identifier inside ()\n\n    var IDENT_EVENT_IDX$1 = 10;\n    var TEMPLATE_ATTR_PREFIX$1 = '*';\n\n    function htmlAstToRender3Ast(htmlNodes, bindingParser) {\n      var transformer = new HtmlAstToIvyAst(bindingParser);\n      var ivyNodes = visitAll$1(transformer, htmlNodes); // Errors might originate in either the binding parser or the html to ivy transformer\n\n      var allErrors = bindingParser.errors.concat(transformer.errors);\n      var errors = allErrors.filter(function (e) {\n        return e.level === ParseErrorLevel.ERROR;\n      });\n\n      if (errors.length > 0) {\n        var errorString = errors.join('\\n');\n        throw syntaxError(\"Template parse errors:\\n\".concat(errorString), errors);\n      }\n\n      return {\n        nodes: ivyNodes,\n        errors: allErrors,\n        styleUrls: transformer.styleUrls,\n        styles: transformer.styles\n      };\n    }\n\n    var HtmlAstToIvyAst =\n    /*#__PURE__*/\n    function () {\n      function HtmlAstToIvyAst(bindingParser) {\n        _classCallCheck(this, HtmlAstToIvyAst);\n\n        this.bindingParser = bindingParser;\n        this.errors = [];\n        this.styles = [];\n        this.styleUrls = [];\n      } // HTML visitor\n\n\n      _createClass2(HtmlAstToIvyAst, [{\n        key: \"visitElement\",\n        value: function visitElement(element) {\n          var _this296 = this;\n\n          var preparsedElement = preparseElement(element);\n\n          if (preparsedElement.type === PreparsedElementType.SCRIPT) {\n            return null;\n          } else if (preparsedElement.type === PreparsedElementType.STYLE) {\n            var contents = textContents(element);\n\n            if (contents !== null) {\n              this.styles.push(contents);\n            }\n\n            return null;\n          } else if (preparsedElement.type === PreparsedElementType.STYLESHEET && isStyleUrlResolvable(preparsedElement.hrefAttr)) {\n            this.styleUrls.push(preparsedElement.hrefAttr);\n            return null;\n          } // Whether the element is a `<ng-template>`\n\n\n          var isTemplateElement = isNgTemplate(element.name);\n          var parsedProperties = [];\n          var boundEvents = [];\n          var variables = [];\n          var references = [];\n          var attributes = [];\n          var i18nAttrsMeta = {};\n          var templateParsedProperties = [];\n          var templateVariables = []; // Whether the element has any *-attribute\n\n          var elementHasInlineTemplate = false;\n          var _iteratorNormalCompletion16 = true;\n          var _didIteratorError16 = false;\n          var _iteratorError16 = undefined;\n\n          try {\n            for (var _iterator16 = element.attrs[Symbol.iterator](), _step16; !(_iteratorNormalCompletion16 = (_step16 = _iterator16.next()).done); _iteratorNormalCompletion16 = true) {\n              var attribute = _step16.value;\n              var hasBinding = false;\n              var normalizedName = normalizeAttributeName(attribute.name); // `*attr` defines template bindings\n\n              var isTemplateBinding = false;\n\n              if (attribute.i18n) {\n                i18nAttrsMeta[attribute.name] = attribute.i18n;\n              }\n\n              if (normalizedName.startsWith(TEMPLATE_ATTR_PREFIX$1)) {\n                // *-attributes\n                if (elementHasInlineTemplate) {\n                  this.reportError(\"Can't have multiple template bindings on one element. Use only one attribute prefixed with *\", attribute.sourceSpan);\n                }\n\n                isTemplateBinding = true;\n                elementHasInlineTemplate = true;\n                var templateValue = attribute.value;\n                var templateKey = normalizedName.substring(TEMPLATE_ATTR_PREFIX$1.length);\n                var parsedVariables = [];\n                var absoluteOffset = attribute.valueSpan ? attribute.valueSpan.start.offset : attribute.sourceSpan.start.offset;\n                this.bindingParser.parseInlineTemplateBinding(templateKey, templateValue, attribute.sourceSpan, absoluteOffset, [], templateParsedProperties, parsedVariables);\n                templateVariables.push.apply(templateVariables, _toConsumableArray(parsedVariables.map(function (v) {\n                  return new Variable(v.name, v.value, v.sourceSpan);\n                })));\n              } else {\n                // Check for variables, events, property bindings, interpolation\n                hasBinding = this.parseAttribute(isTemplateElement, attribute, [], parsedProperties, boundEvents, variables, references);\n              }\n\n              if (!hasBinding && !isTemplateBinding) {\n                // don't include the bindings as attributes as well in the AST\n                attributes.push(this.visitAttribute(attribute));\n              }\n            }\n          } catch (err) {\n            _didIteratorError16 = true;\n            _iteratorError16 = err;\n          } finally {\n            try {\n              if (!_iteratorNormalCompletion16 && _iterator16.return != null) {\n                _iterator16.return();\n              }\n            } finally {\n              if (_didIteratorError16) {\n                throw _iteratorError16;\n              }\n            }\n          }\n\n          var children = visitAll$1(preparsedElement.nonBindable ? NON_BINDABLE_VISITOR$1 : this, element.children);\n          var parsedElement;\n\n          if (preparsedElement.type === PreparsedElementType.NG_CONTENT) {\n            // `<ng-content>`\n            if (element.children && !element.children.every(function (node) {\n              return isEmptyTextNode(node) || isCommentNode(node);\n            })) {\n              this.reportError(\"<ng-content> element cannot have content.\", element.sourceSpan);\n            }\n\n            var selector = preparsedElement.selectAttr;\n            var attrs = element.attrs.map(function (attr) {\n              return _this296.visitAttribute(attr);\n            });\n            parsedElement = new Content(selector, attrs, element.sourceSpan, element.i18n);\n          } else if (isTemplateElement) {\n            // `<ng-template>`\n            var _attrs = this.extractAttributes(element.name, parsedProperties, i18nAttrsMeta);\n\n            parsedElement = new Template(element.name, attributes, _attrs.bound, boundEvents, [\n              /* no template attributes */\n            ], children, references, variables, element.sourceSpan, element.startSourceSpan, element.endSourceSpan, element.i18n);\n          } else {\n            var _attrs2 = this.extractAttributes(element.name, parsedProperties, i18nAttrsMeta);\n\n            parsedElement = new Element(element.name, attributes, _attrs2.bound, boundEvents, children, references, element.sourceSpan, element.startSourceSpan, element.endSourceSpan, element.i18n);\n          }\n\n          if (elementHasInlineTemplate) {\n            // If this node is an inline-template (e.g. has *ngFor) then we need to create a template\n            // node that contains this node.\n            // Moreover, if the node is an element, then we need to hoist its attributes to the template\n            // node for matching against content projection selectors.\n            var _attrs3 = this.extractAttributes('ng-template', templateParsedProperties, i18nAttrsMeta);\n\n            var templateAttrs = [];\n\n            _attrs3.literal.forEach(function (attr) {\n              return templateAttrs.push(attr);\n            });\n\n            _attrs3.bound.forEach(function (attr) {\n              return templateAttrs.push(attr);\n            });\n\n            var hoistedAttrs = parsedElement instanceof Element ? {\n              attributes: parsedElement.attributes,\n              inputs: parsedElement.inputs,\n              outputs: parsedElement.outputs\n            } : {\n              attributes: [],\n              inputs: [],\n              outputs: []\n            }; // TODO(pk): test for this case\n\n            parsedElement = new Template(parsedElement.name, hoistedAttrs.attributes, hoistedAttrs.inputs, hoistedAttrs.outputs, templateAttrs, [parsedElement], [\n              /* no references */\n            ], templateVariables, element.sourceSpan, element.startSourceSpan, element.endSourceSpan, element.i18n);\n          }\n\n          return parsedElement;\n        }\n      }, {\n        key: \"visitAttribute\",\n        value: function visitAttribute(attribute) {\n          return new TextAttribute(attribute.name, attribute.value, attribute.sourceSpan, attribute.valueSpan, attribute.i18n);\n        }\n      }, {\n        key: \"visitText\",\n        value: function visitText(text) {\n          return this._visitTextWithInterpolation(text.value, text.sourceSpan, text.i18n);\n        }\n      }, {\n        key: \"visitExpansion\",\n        value: function visitExpansion(expansion) {\n          var _this297 = this;\n\n          var meta = expansion.i18n; // do not generate Icu in case it was created\n          // outside of i18n block in a template\n\n          if (!meta) {\n            return null;\n          }\n\n          var vars = {};\n          var placeholders = {}; // extract VARs from ICUs - we process them separately while\n          // assembling resulting message via goog.getMsg function, since\n          // we need to pass them to top-level goog.getMsg call\n\n          Object.keys(meta.placeholders).forEach(function (key) {\n            var value = meta.placeholders[key];\n\n            if (key.startsWith(I18N_ICU_VAR_PREFIX)) {\n              var config = _this297.bindingParser.interpolationConfig; // ICU expression is a plain string, not wrapped into start\n              // and end tags, so we wrap it before passing to binding parser\n\n              var wrapped = \"\".concat(config.start).concat(value).concat(config.end);\n              vars[key] = _this297._visitTextWithInterpolation(wrapped, expansion.sourceSpan);\n            } else {\n              placeholders[key] = _this297._visitTextWithInterpolation(value, expansion.sourceSpan);\n            }\n          });\n          return new Icu(vars, placeholders, expansion.sourceSpan, meta);\n        }\n      }, {\n        key: \"visitExpansionCase\",\n        value: function visitExpansionCase(expansionCase) {\n          return null;\n        }\n      }, {\n        key: \"visitComment\",\n        value: function visitComment(comment) {\n          return null;\n        } // convert view engine `ParsedProperty` to a format suitable for IVY\n\n      }, {\n        key: \"extractAttributes\",\n        value: function extractAttributes(elementName, properties, i18nPropsMeta) {\n          var _this298 = this;\n\n          var bound = [];\n          var literal = [];\n          properties.forEach(function (prop) {\n            var i18n = i18nPropsMeta[prop.name];\n\n            if (prop.isLiteral) {\n              literal.push(new TextAttribute(prop.name, prop.expression.source || '', prop.sourceSpan, undefined, i18n));\n            } else {\n              // Note that validation is skipped and property mapping is disabled\n              // due to the fact that we need to make sure a given prop is not an\n              // input of a directive and directive matching happens at runtime.\n              var bep = _this298.bindingParser.createBoundElementProperty(elementName, prop,\n              /* skipValidation */\n              true,\n              /* mapPropertyName */\n              false);\n\n              bound.push(BoundAttribute.fromBoundElementProperty(bep, i18n));\n            }\n          });\n          return {\n            bound: bound,\n            literal: literal\n          };\n        }\n      }, {\n        key: \"parseAttribute\",\n        value: function parseAttribute(isTemplateElement, attribute, matchableAttributes, parsedProperties, boundEvents, variables, references) {\n          var name = normalizeAttributeName(attribute.name);\n          var value = attribute.value;\n          var srcSpan = attribute.sourceSpan;\n          var absoluteOffset = attribute.valueSpan ? attribute.valueSpan.start.offset : srcSpan.start.offset;\n          var bindParts = name.match(BIND_NAME_REGEXP$1);\n          var hasBinding = false;\n\n          if (bindParts) {\n            hasBinding = true;\n\n            if (bindParts[KW_BIND_IDX$1] != null) {\n              this.bindingParser.parsePropertyBinding(bindParts[IDENT_KW_IDX$1], value, false, srcSpan, absoluteOffset, attribute.valueSpan, matchableAttributes, parsedProperties);\n            } else if (bindParts[KW_LET_IDX$1]) {\n              if (isTemplateElement) {\n                var identifier = bindParts[IDENT_KW_IDX$1];\n                this.parseVariable(identifier, value, srcSpan, attribute.valueSpan, variables);\n              } else {\n                this.reportError(\"\\\"let-\\\" is only supported on ng-template elements.\", srcSpan);\n              }\n            } else if (bindParts[KW_REF_IDX$1]) {\n              var _identifier2 = bindParts[IDENT_KW_IDX$1];\n              this.parseReference(_identifier2, value, srcSpan, attribute.valueSpan, references);\n            } else if (bindParts[KW_ON_IDX$1]) {\n              var events = [];\n              this.bindingParser.parseEvent(bindParts[IDENT_KW_IDX$1], value, srcSpan, attribute.valueSpan || srcSpan, matchableAttributes, events);\n              addEvents(events, boundEvents);\n            } else if (bindParts[KW_BINDON_IDX$1]) {\n              this.bindingParser.parsePropertyBinding(bindParts[IDENT_KW_IDX$1], value, false, srcSpan, absoluteOffset, attribute.valueSpan, matchableAttributes, parsedProperties);\n              this.parseAssignmentEvent(bindParts[IDENT_KW_IDX$1], value, srcSpan, attribute.valueSpan, matchableAttributes, boundEvents);\n            } else if (bindParts[KW_AT_IDX$1]) {\n              this.bindingParser.parseLiteralAttr(name, value, srcSpan, absoluteOffset, attribute.valueSpan, matchableAttributes, parsedProperties);\n            } else if (bindParts[IDENT_BANANA_BOX_IDX$1]) {\n              this.bindingParser.parsePropertyBinding(bindParts[IDENT_BANANA_BOX_IDX$1], value, false, srcSpan, absoluteOffset, attribute.valueSpan, matchableAttributes, parsedProperties);\n              this.parseAssignmentEvent(bindParts[IDENT_BANANA_BOX_IDX$1], value, srcSpan, attribute.valueSpan, matchableAttributes, boundEvents);\n            } else if (bindParts[IDENT_PROPERTY_IDX$1]) {\n              this.bindingParser.parsePropertyBinding(bindParts[IDENT_PROPERTY_IDX$1], value, false, srcSpan, absoluteOffset, attribute.valueSpan, matchableAttributes, parsedProperties);\n            } else if (bindParts[IDENT_EVENT_IDX$1]) {\n              var _events2 = [];\n              this.bindingParser.parseEvent(bindParts[IDENT_EVENT_IDX$1], value, srcSpan, attribute.valueSpan || srcSpan, matchableAttributes, _events2);\n              addEvents(_events2, boundEvents);\n            }\n          } else {\n            hasBinding = this.bindingParser.parsePropertyInterpolation(name, value, srcSpan, attribute.valueSpan, matchableAttributes, parsedProperties);\n          }\n\n          return hasBinding;\n        }\n      }, {\n        key: \"_visitTextWithInterpolation\",\n        value: function _visitTextWithInterpolation(value, sourceSpan, i18n) {\n          var valueNoNgsp = replaceNgsp(value);\n          var expr = this.bindingParser.parseInterpolation(valueNoNgsp, sourceSpan);\n          return expr ? new BoundText(expr, sourceSpan, i18n) : new Text(valueNoNgsp, sourceSpan);\n        }\n      }, {\n        key: \"parseVariable\",\n        value: function parseVariable(identifier, value, sourceSpan, valueSpan, variables) {\n          if (identifier.indexOf('-') > -1) {\n            this.reportError(\"\\\"-\\\" is not allowed in variable names\", sourceSpan);\n          }\n\n          variables.push(new Variable(identifier, value, sourceSpan, valueSpan));\n        }\n      }, {\n        key: \"parseReference\",\n        value: function parseReference(identifier, value, sourceSpan, valueSpan, references) {\n          if (identifier.indexOf('-') > -1) {\n            this.reportError(\"\\\"-\\\" is not allowed in reference names\", sourceSpan);\n          }\n\n          references.push(new Reference(identifier, value, sourceSpan, valueSpan));\n        }\n      }, {\n        key: \"parseAssignmentEvent\",\n        value: function parseAssignmentEvent(name, expression, sourceSpan, valueSpan, targetMatchableAttrs, boundEvents) {\n          var events = [];\n          this.bindingParser.parseEvent(\"\".concat(name, \"Change\"), \"\".concat(expression, \"=$event\"), sourceSpan, valueSpan || sourceSpan, targetMatchableAttrs, events);\n          addEvents(events, boundEvents);\n        }\n      }, {\n        key: \"reportError\",\n        value: function reportError(message, sourceSpan) {\n          var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : ParseErrorLevel.ERROR;\n          this.errors.push(new ParseError(sourceSpan, message, level));\n        }\n      }]);\n\n      return HtmlAstToIvyAst;\n    }();\n\n    var NonBindableVisitor$1 =\n    /*#__PURE__*/\n    function () {\n      function NonBindableVisitor$1() {\n        _classCallCheck(this, NonBindableVisitor$1);\n      }\n\n      _createClass2(NonBindableVisitor$1, [{\n        key: \"visitElement\",\n        value: function visitElement(ast) {\n          var preparsedElement = preparseElement(ast);\n\n          if (preparsedElement.type === PreparsedElementType.SCRIPT || preparsedElement.type === PreparsedElementType.STYLE || preparsedElement.type === PreparsedElementType.STYLESHEET) {\n            // Skipping <script> for security reasons\n            // Skipping <style> and stylesheets as we already processed them\n            // in the StyleCompiler\n            return null;\n          }\n\n          var children = visitAll$1(this, ast.children, null);\n          return new Element(ast.name, visitAll$1(this, ast.attrs),\n          /* inputs */\n          [],\n          /* outputs */\n          [], children,\n          /* references */\n          [], ast.sourceSpan, ast.startSourceSpan, ast.endSourceSpan);\n        }\n      }, {\n        key: \"visitComment\",\n        value: function visitComment(comment) {\n          return null;\n        }\n      }, {\n        key: \"visitAttribute\",\n        value: function visitAttribute(attribute) {\n          return new TextAttribute(attribute.name, attribute.value, attribute.sourceSpan, undefined, attribute.i18n);\n        }\n      }, {\n        key: \"visitText\",\n        value: function visitText(text) {\n          return new Text(text.value, text.sourceSpan);\n        }\n      }, {\n        key: \"visitExpansion\",\n        value: function visitExpansion(expansion) {\n          return null;\n        }\n      }, {\n        key: \"visitExpansionCase\",\n        value: function visitExpansionCase(expansionCase) {\n          return null;\n        }\n      }]);\n\n      return NonBindableVisitor$1;\n    }();\n\n    var NON_BINDABLE_VISITOR$1 = new NonBindableVisitor$1();\n\n    function normalizeAttributeName(attrName) {\n      return /^data-/i.test(attrName) ? attrName.substring(5) : attrName;\n    }\n\n    function addEvents(events, boundEvents) {\n      boundEvents.push.apply(boundEvents, _toConsumableArray(events.map(function (e) {\n        return BoundEvent.fromParsedEvent(e);\n      })));\n    }\n\n    function isEmptyTextNode(node) {\n      return node instanceof Text$3 && node.value.trim().length == 0;\n    }\n\n    function isCommentNode(node) {\n      return node instanceof Comment;\n    }\n\n    function textContents(node) {\n      if (node.children.length !== 1 || !(node.children[0] instanceof Text$3)) {\n        return null;\n      } else {\n        return node.children[0].value;\n      }\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var TagType;\n\n    (function (TagType) {\n      TagType[TagType[\"ELEMENT\"] = 0] = \"ELEMENT\";\n      TagType[TagType[\"TEMPLATE\"] = 1] = \"TEMPLATE\";\n      TagType[TagType[\"PROJECTION\"] = 2] = \"PROJECTION\";\n    })(TagType || (TagType = {}));\n    /**\n     * Generates an object that is used as a shared state between parent and all child contexts.\n     */\n\n\n    function setupRegistry() {\n      return {\n        getUniqueId: getSeqNumberGenerator(),\n        icus: new Map()\n      };\n    }\n    /**\n     * I18nContext is a helper class which keeps track of all i18n-related aspects\n     * (accumulates placeholders, bindings, etc) between i18nStart and i18nEnd instructions.\n     *\n     * When we enter a nested template, the top-level context is being passed down\n     * to the nested component, which uses this context to generate a child instance\n     * of I18nContext class (to handle nested template) and at the end, reconciles it back\n     * with the parent context.\n     *\n     * @param index Instruction index of i18nStart, which initiates this context\n     * @param ref Reference to a translation const that represents the content if thus context\n     * @param level Nestng level defined for child contexts\n     * @param templateIndex Instruction index of a template which this context belongs to\n     * @param meta Meta information (id, meaning, description, etc) associated with this context\n     */\n\n\n    var I18nContext =\n    /*#__PURE__*/\n    function () {\n      function I18nContext(index, ref) {\n        var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n        var templateIndex = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;\n        var meta = arguments.length > 4 ? arguments[4] : undefined;\n        var registry = arguments.length > 5 ? arguments[5] : undefined;\n\n        _classCallCheck(this, I18nContext);\n\n        this.index = index;\n        this.ref = ref;\n        this.level = level;\n        this.templateIndex = templateIndex;\n        this.meta = meta;\n        this.registry = registry;\n        this.bindings = new Set();\n        this.placeholders = new Map();\n        this.isEmitted = false;\n        this._unresolvedCtxCount = 0;\n        this._registry = registry || setupRegistry();\n        this.id = this._registry.getUniqueId();\n      }\n\n      _createClass2(I18nContext, [{\n        key: \"appendTag\",\n        value: function appendTag(type, node, index, closed) {\n          if (node.isVoid && closed) {\n            return; // ignore \"close\" for void tags\n          }\n\n          var ph = node.isVoid || !closed ? node.startName : node.closeName;\n          var content = {\n            type: type,\n            index: index,\n            ctx: this.id,\n            isVoid: node.isVoid,\n            closed: closed\n          };\n          updatePlaceholderMap(this.placeholders, ph, content);\n        }\n      }, {\n        key: \"getSerializedPlaceholders\",\n        value: function getSerializedPlaceholders() {\n          var result = new Map();\n          this.placeholders.forEach(function (values, key) {\n            return result.set(key, values.map(serializePlaceholderValue));\n          });\n          return result;\n        } // public API to accumulate i18n-related content\n\n      }, {\n        key: \"appendBinding\",\n        value: function appendBinding(binding) {\n          this.bindings.add(binding);\n        }\n      }, {\n        key: \"appendIcu\",\n        value: function appendIcu(name, ref) {\n          updatePlaceholderMap(this._registry.icus, name, ref);\n        }\n      }, {\n        key: \"appendBoundText\",\n        value: function appendBoundText(node) {\n          var _this299 = this;\n\n          var phs = assembleBoundTextPlaceholders(node, this.bindings.size, this.id);\n          phs.forEach(function (values, key) {\n            return updatePlaceholderMap.apply(void 0, [_this299.placeholders, key].concat(_toConsumableArray(values)));\n          });\n        }\n      }, {\n        key: \"appendTemplate\",\n        value: function appendTemplate(node, index) {\n          // add open and close tags at the same time,\n          // since we process nested templates separately\n          this.appendTag(TagType.TEMPLATE, node, index, false);\n          this.appendTag(TagType.TEMPLATE, node, index, true);\n          this._unresolvedCtxCount++;\n        }\n      }, {\n        key: \"appendElement\",\n        value: function appendElement(node, index, closed) {\n          this.appendTag(TagType.ELEMENT, node, index, closed);\n        }\n      }, {\n        key: \"appendProjection\",\n        value: function appendProjection(node, index) {\n          // add open and close tags at the same time,\n          // since we process projected content separately\n          this.appendTag(TagType.PROJECTION, node, index, false);\n          this.appendTag(TagType.PROJECTION, node, index, true);\n        }\n        /**\n         * Generates an instance of a child context based on the root one,\n         * when we enter a nested template within I18n section.\n         *\n         * @param index Instruction index of corresponding i18nStart, which initiates this context\n         * @param templateIndex Instruction index of a template which this context belongs to\n         * @param meta Meta information (id, meaning, description, etc) associated with this context\n         *\n         * @returns I18nContext instance\n         */\n\n      }, {\n        key: \"forkChildContext\",\n        value: function forkChildContext(index, templateIndex, meta) {\n          return new I18nContext(index, this.ref, this.level + 1, templateIndex, meta, this._registry);\n        }\n        /**\n         * Reconciles child context into parent one once the end of the i18n block is reached (i18nEnd).\n         *\n         * @param context Child I18nContext instance to be reconciled with parent context.\n         */\n\n      }, {\n        key: \"reconcileChildContext\",\n        value: function reconcileChildContext(context) {\n          var _this300 = this;\n\n          // set the right context id for open and close\n          // template tags, so we can use it as sub-block ids\n          ['start', 'close'].forEach(function (op) {\n            var key = context.meta[\"\".concat(op, \"Name\")];\n            var phs = _this300.placeholders.get(key) || [];\n            var tag = phs.find(findTemplateFn(_this300.id, context.templateIndex));\n\n            if (tag) {\n              tag.ctx = context.id;\n            }\n          }); // reconcile placeholders\n\n          var childPhs = context.placeholders;\n          childPhs.forEach(function (values, key) {\n            var phs = _this300.placeholders.get(key);\n\n            if (!phs) {\n              _this300.placeholders.set(key, values);\n\n              return;\n            } // try to find matching template...\n\n\n            var tmplIdx = findIndex(phs, findTemplateFn(context.id, context.templateIndex));\n\n            if (tmplIdx >= 0) {\n              // ... if found - replace it with nested template content\n              var isCloseTag = key.startsWith('CLOSE');\n              var isTemplateTag = key.endsWith('NG-TEMPLATE');\n\n              if (isTemplateTag) {\n                // current template's content is placed before or after\n                // parent template tag, depending on the open/close atrribute\n                phs.splice.apply(phs, [tmplIdx + (isCloseTag ? 0 : 1), 0].concat(_toConsumableArray(values)));\n              } else {\n                var idx = isCloseTag ? values.length - 1 : 0;\n                values[idx].tmpl = phs[tmplIdx];\n                phs.splice.apply(phs, [tmplIdx, 1].concat(_toConsumableArray(values)));\n              }\n            } else {\n              // ... otherwise just append content to placeholder value\n              phs.push.apply(phs, _toConsumableArray(values));\n            }\n\n            _this300.placeholders.set(key, phs);\n          });\n          this._unresolvedCtxCount--;\n        }\n      }, {\n        key: \"icus\",\n        get: function get() {\n          return this._registry.icus;\n        }\n      }, {\n        key: \"isRoot\",\n        get: function get() {\n          return this.level === 0;\n        }\n      }, {\n        key: \"isResolved\",\n        get: function get() {\n          return this._unresolvedCtxCount === 0;\n        }\n      }]);\n\n      return I18nContext;\n    }(); //\n    // Helper methods\n    //\n\n\n    function wrap(symbol, index, contextId, closed) {\n      var state = closed ? '/' : '';\n      return wrapI18nPlaceholder(\"\".concat(state).concat(symbol).concat(index), contextId);\n    }\n\n    function wrapTag(symbol, _ref34, closed) {\n      var index = _ref34.index,\n          ctx = _ref34.ctx,\n          isVoid = _ref34.isVoid;\n      return isVoid ? wrap(symbol, index, ctx) + wrap(symbol, index, ctx, true) : wrap(symbol, index, ctx, closed);\n    }\n\n    function findTemplateFn(ctx, templateIndex) {\n      return function (token) {\n        return typeof token === 'object' && token.type === TagType.TEMPLATE && token.index === templateIndex && token.ctx === ctx;\n      };\n    }\n\n    function serializePlaceholderValue(value) {\n      var element = function element(data, closed) {\n        return wrapTag('#', data, closed);\n      };\n\n      var template = function template(data, closed) {\n        return wrapTag('*', data, closed);\n      };\n\n      var projection = function projection(data, closed) {\n        return wrapTag('!', data, closed);\n      };\n\n      switch (value.type) {\n        case TagType.ELEMENT:\n          // close element tag\n          if (value.closed) {\n            return element(value, true) + (value.tmpl ? template(value.tmpl, true) : '');\n          } // open element tag that also initiates a template\n\n\n          if (value.tmpl) {\n            return template(value.tmpl) + element(value) + (value.isVoid ? template(value.tmpl, true) : '');\n          }\n\n          return element(value);\n\n        case TagType.TEMPLATE:\n          return template(value, value.closed);\n\n        case TagType.PROJECTION:\n          return projection(value, value.closed);\n\n        default:\n          return value;\n      }\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var TAG_TO_PLACEHOLDER_NAMES = {\n      'A': 'LINK',\n      'B': 'BOLD_TEXT',\n      'BR': 'LINE_BREAK',\n      'EM': 'EMPHASISED_TEXT',\n      'H1': 'HEADING_LEVEL1',\n      'H2': 'HEADING_LEVEL2',\n      'H3': 'HEADING_LEVEL3',\n      'H4': 'HEADING_LEVEL4',\n      'H5': 'HEADING_LEVEL5',\n      'H6': 'HEADING_LEVEL6',\n      'HR': 'HORIZONTAL_RULE',\n      'I': 'ITALIC_TEXT',\n      'LI': 'LIST_ITEM',\n      'LINK': 'MEDIA_LINK',\n      'OL': 'ORDERED_LIST',\n      'P': 'PARAGRAPH',\n      'Q': 'QUOTATION',\n      'S': 'STRIKETHROUGH_TEXT',\n      'SMALL': 'SMALL_TEXT',\n      'SUB': 'SUBSTRIPT',\n      'SUP': 'SUPERSCRIPT',\n      'TBODY': 'TABLE_BODY',\n      'TD': 'TABLE_CELL',\n      'TFOOT': 'TABLE_FOOTER',\n      'TH': 'TABLE_HEADER_CELL',\n      'THEAD': 'TABLE_HEADER',\n      'TR': 'TABLE_ROW',\n      'TT': 'MONOSPACED_TEXT',\n      'U': 'UNDERLINED_TEXT',\n      'UL': 'UNORDERED_LIST'\n    };\n    /**\n     * Creates unique names for placeholder with different content.\n     *\n     * Returns the same placeholder name when the content is identical.\n     */\n\n    var PlaceholderRegistry =\n    /*#__PURE__*/\n    function () {\n      function PlaceholderRegistry() {\n        _classCallCheck(this, PlaceholderRegistry);\n\n        // Count the occurrence of the base name top generate a unique name\n        this._placeHolderNameCounts = {}; // Maps signature to placeholder names\n\n        this._signatureToName = {};\n      }\n\n      _createClass2(PlaceholderRegistry, [{\n        key: \"getStartTagPlaceholderName\",\n        value: function getStartTagPlaceholderName(tag, attrs, isVoid) {\n          var signature = this._hashTag(tag, attrs, isVoid);\n\n          if (this._signatureToName[signature]) {\n            return this._signatureToName[signature];\n          }\n\n          var upperTag = tag.toUpperCase();\n          var baseName = TAG_TO_PLACEHOLDER_NAMES[upperTag] || \"TAG_\".concat(upperTag);\n\n          var name = this._generateUniqueName(isVoid ? baseName : \"START_\".concat(baseName));\n\n          this._signatureToName[signature] = name;\n          return name;\n        }\n      }, {\n        key: \"getCloseTagPlaceholderName\",\n        value: function getCloseTagPlaceholderName(tag) {\n          var signature = this._hashClosingTag(tag);\n\n          if (this._signatureToName[signature]) {\n            return this._signatureToName[signature];\n          }\n\n          var upperTag = tag.toUpperCase();\n          var baseName = TAG_TO_PLACEHOLDER_NAMES[upperTag] || \"TAG_\".concat(upperTag);\n\n          var name = this._generateUniqueName(\"CLOSE_\".concat(baseName));\n\n          this._signatureToName[signature] = name;\n          return name;\n        }\n      }, {\n        key: \"getPlaceholderName\",\n        value: function getPlaceholderName(name, content) {\n          var upperName = name.toUpperCase();\n          var signature = \"PH: \".concat(upperName, \"=\").concat(content);\n\n          if (this._signatureToName[signature]) {\n            return this._signatureToName[signature];\n          }\n\n          var uniqueName = this._generateUniqueName(upperName);\n\n          this._signatureToName[signature] = uniqueName;\n          return uniqueName;\n        }\n      }, {\n        key: \"getUniquePlaceholder\",\n        value: function getUniquePlaceholder(name) {\n          return this._generateUniqueName(name.toUpperCase());\n        } // Generate a hash for a tag - does not take attribute order into account\n\n      }, {\n        key: \"_hashTag\",\n        value: function _hashTag(tag, attrs, isVoid) {\n          var start = \"<\".concat(tag);\n          var strAttrs = Object.keys(attrs).sort().map(function (name) {\n            return \" \".concat(name, \"=\").concat(attrs[name]);\n          }).join('');\n          var end = isVoid ? '/>' : \"></\".concat(tag, \">\");\n          return start + strAttrs + end;\n        }\n      }, {\n        key: \"_hashClosingTag\",\n        value: function _hashClosingTag(tag) {\n          return this._hashTag(\"/\".concat(tag), {}, false);\n        }\n      }, {\n        key: \"_generateUniqueName\",\n        value: function _generateUniqueName(base) {\n          var seen = this._placeHolderNameCounts.hasOwnProperty(base);\n\n          if (!seen) {\n            this._placeHolderNameCounts[base] = 1;\n            return base;\n          }\n\n          var id = this._placeHolderNameCounts[base];\n          this._placeHolderNameCounts[base] = id + 1;\n          return \"\".concat(base, \"_\").concat(id);\n        }\n      }]);\n\n      return PlaceholderRegistry;\n    }();\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var _expParser = new Parser$1(new Lexer());\n    /**\n     * Returns a function converting html nodes to an i18n Message given an interpolationConfig\n     */\n\n\n    function createI18nMessageFactory(interpolationConfig) {\n      var visitor = new _I18nVisitor(_expParser, interpolationConfig);\n      return function (nodes, meaning, description, id, visitNodeFn) {\n        return visitor.toI18nMessage(nodes, meaning, description, id, visitNodeFn);\n      };\n    }\n\n    var _I18nVisitor =\n    /*#__PURE__*/\n    function () {\n      function _I18nVisitor(_expressionParser, _interpolationConfig) {\n        _classCallCheck(this, _I18nVisitor);\n\n        this._expressionParser = _expressionParser;\n        this._interpolationConfig = _interpolationConfig;\n      }\n\n      _createClass2(_I18nVisitor, [{\n        key: \"toI18nMessage\",\n        value: function toI18nMessage(nodes, meaning, description, id, visitNodeFn) {\n          this._isIcu = nodes.length == 1 && nodes[0] instanceof Expansion;\n          this._icuDepth = 0;\n          this._placeholderRegistry = new PlaceholderRegistry();\n          this._placeholderToContent = {};\n          this._placeholderToMessage = {};\n          this._visitNodeFn = visitNodeFn;\n          var i18nodes = visitAll$1(this, nodes, {});\n          return new Message(i18nodes, this._placeholderToContent, this._placeholderToMessage, meaning, description, id);\n        }\n      }, {\n        key: \"_visitNode\",\n        value: function _visitNode(html, i18n) {\n          if (this._visitNodeFn) {\n            this._visitNodeFn(html, i18n);\n          }\n\n          return i18n;\n        }\n      }, {\n        key: \"visitElement\",\n        value: function visitElement(el, context) {\n          var children = visitAll$1(this, el.children);\n          var attrs = {};\n          el.attrs.forEach(function (attr) {\n            // Do not visit the attributes, translatable ones are top-level ASTs\n            attrs[attr.name] = attr.value;\n          });\n          var isVoid = getHtmlTagDefinition(el.name).isVoid;\n\n          var startPhName = this._placeholderRegistry.getStartTagPlaceholderName(el.name, attrs, isVoid);\n\n          this._placeholderToContent[startPhName] = el.sourceSpan.toString();\n          var closePhName = '';\n\n          if (!isVoid) {\n            closePhName = this._placeholderRegistry.getCloseTagPlaceholderName(el.name);\n            this._placeholderToContent[closePhName] = \"</\".concat(el.name, \">\");\n          }\n\n          var node = new TagPlaceholder(el.name, attrs, startPhName, closePhName, children, isVoid, el.sourceSpan);\n          return this._visitNode(el, node);\n        }\n      }, {\n        key: \"visitAttribute\",\n        value: function visitAttribute(attribute, context) {\n          var node = this._visitTextWithInterpolation(attribute.value, attribute.sourceSpan);\n\n          return this._visitNode(attribute, node);\n        }\n      }, {\n        key: \"visitText\",\n        value: function visitText(text, context) {\n          var node = this._visitTextWithInterpolation(text.value, text.sourceSpan);\n\n          return this._visitNode(text, node);\n        }\n      }, {\n        key: \"visitComment\",\n        value: function visitComment(comment, context) {\n          return null;\n        }\n      }, {\n        key: \"visitExpansion\",\n        value: function visitExpansion(icu, context) {\n          var _this301 = this;\n\n          this._icuDepth++;\n          var i18nIcuCases = {};\n          var i18nIcu = new Icu$1(icu.switchValue, icu.type, i18nIcuCases, icu.sourceSpan);\n          icu.cases.forEach(function (caze) {\n            i18nIcuCases[caze.value] = new Container(caze.expression.map(function (node) {\n              return node.visit(_this301, {});\n            }), caze.expSourceSpan);\n          });\n          this._icuDepth--;\n\n          if (this._isIcu || this._icuDepth > 0) {\n            // Returns an ICU node when:\n            // - the message (vs a part of the message) is an ICU message, or\n            // - the ICU message is nested.\n            var expPh = this._placeholderRegistry.getUniquePlaceholder(\"VAR_\".concat(icu.type));\n\n            i18nIcu.expressionPlaceholder = expPh;\n            this._placeholderToContent[expPh] = icu.switchValue;\n            return this._visitNode(icu, i18nIcu);\n          } // Else returns a placeholder\n          // ICU placeholders should not be replaced with their original content but with the their\n          // translations. We need to create a new visitor (they are not re-entrant) to compute the\n          // message id.\n          // TODO(vicb): add a html.Node -> i18n.Message cache to avoid having to re-create the msg\n\n\n          var phName = this._placeholderRegistry.getPlaceholderName('ICU', icu.sourceSpan.toString());\n\n          var visitor = new _I18nVisitor(this._expressionParser, this._interpolationConfig);\n          this._placeholderToMessage[phName] = visitor.toI18nMessage([icu], '', '', '');\n          var node = new IcuPlaceholder(i18nIcu, phName, icu.sourceSpan);\n          return this._visitNode(icu, node);\n        }\n      }, {\n        key: \"visitExpansionCase\",\n        value: function visitExpansionCase(icuCase, context) {\n          throw new Error('Unreachable code');\n        }\n      }, {\n        key: \"_visitTextWithInterpolation\",\n        value: function _visitTextWithInterpolation(text, sourceSpan) {\n          var splitInterpolation = this._expressionParser.splitInterpolation(text, sourceSpan.start.toString(), this._interpolationConfig);\n\n          if (!splitInterpolation) {\n            // No expression, return a single text\n            return new Text$1(text, sourceSpan);\n          } // Return a group of text + expressions\n\n\n          var nodes = [];\n          var container = new Container(nodes, sourceSpan);\n          var _this$_interpolationC = this._interpolationConfig,\n              sDelimiter = _this$_interpolationC.start,\n              eDelimiter = _this$_interpolationC.end;\n\n          for (var i = 0; i < splitInterpolation.strings.length - 1; i++) {\n            var expression = splitInterpolation.expressions[i];\n            var baseName = _extractPlaceholderName(expression) || 'INTERPOLATION';\n\n            var phName = this._placeholderRegistry.getPlaceholderName(baseName, expression);\n\n            if (splitInterpolation.strings[i].length) {\n              // No need to add empty strings\n              nodes.push(new Text$1(splitInterpolation.strings[i], sourceSpan));\n            }\n\n            nodes.push(new Placeholder(expression, phName, sourceSpan));\n            this._placeholderToContent[phName] = sDelimiter + expression + eDelimiter;\n          } // The last index contains no expression\n\n\n          var lastStringIdx = splitInterpolation.strings.length - 1;\n\n          if (splitInterpolation.strings[lastStringIdx].length) {\n            nodes.push(new Text$1(splitInterpolation.strings[lastStringIdx], sourceSpan));\n          }\n\n          return container;\n        }\n      }]);\n\n      return _I18nVisitor;\n    }();\n\n    var _CUSTOM_PH_EXP = /\\/\\/[\\s\\S]*i18n[\\s\\S]*\\([\\s\\S]*ph[\\s\\S]*=[\\s\\S]*(\"|')([\\s\\S]*?)\\1[\\s\\S]*\\)/g;\n\n    function _extractPlaceholderName(input) {\n      return input.split(_CUSTOM_PH_EXP)[2];\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    function setI18nRefs(html, i18n) {\n      html.i18n = i18n;\n    }\n    /**\n     * This visitor walks over HTML parse tree and converts information stored in\n     * i18n-related attributes (\"i18n\" and \"i18n-*\") into i18n meta object that is\n     * stored with other element's and attribute's information.\n     */\n\n\n    var I18nMetaVisitor =\n    /*#__PURE__*/\n    function () {\n      function I18nMetaVisitor() {\n        var interpolationConfig = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : DEFAULT_INTERPOLATION_CONFIG;\n        var keepI18nAttrs = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n        _classCallCheck(this, I18nMetaVisitor);\n\n        this.interpolationConfig = interpolationConfig;\n        this.keepI18nAttrs = keepI18nAttrs; // i18n message generation factory\n\n        this._createI18nMessage = createI18nMessageFactory(interpolationConfig);\n      }\n\n      _createClass2(I18nMetaVisitor, [{\n        key: \"_generateI18nMessage\",\n        value: function _generateI18nMessage(nodes) {\n          var meta = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n          var visitNodeFn = arguments.length > 2 ? arguments[2] : undefined;\n          var parsed = typeof meta === 'string' ? parseI18nMeta(meta) : metaFromI18nMessage(meta);\n\n          var message = this._createI18nMessage(nodes, parsed.meaning || '', parsed.description || '', parsed.id || '', visitNodeFn);\n\n          if (!message.id) {\n            // generate (or restore) message id if not specified in template\n            message.id = typeof meta !== 'string' && meta.id || decimalDigest(message);\n          }\n\n          return message;\n        }\n      }, {\n        key: \"visitElement\",\n        value: function visitElement(element, context) {\n          if (hasI18nAttrs(element)) {\n            var attrs = [];\n            var attrsMeta = {};\n            var _iteratorNormalCompletion17 = true;\n            var _didIteratorError17 = false;\n            var _iteratorError17 = undefined;\n\n            try {\n              for (var _iterator17 = element.attrs[Symbol.iterator](), _step17; !(_iteratorNormalCompletion17 = (_step17 = _iterator17.next()).done); _iteratorNormalCompletion17 = true) {\n                var _attr = _step17.value;\n\n                if (_attr.name === I18N_ATTR) {\n                  // root 'i18n' node attribute\n                  var i18n = element.i18n || _attr.value;\n\n                  var message = this._generateI18nMessage(element.children, i18n, setI18nRefs); // do not assign empty i18n meta\n\n\n                  if (message.nodes.length) {\n                    element.i18n = message;\n                  }\n                } else if (_attr.name.startsWith(I18N_ATTR_PREFIX)) {\n                  // 'i18n-*' attributes\n                  var key = _attr.name.slice(I18N_ATTR_PREFIX.length);\n\n                  attrsMeta[key] = _attr.value;\n                } else {\n                  // non-i18n attributes\n                  attrs.push(_attr);\n                }\n              } // set i18n meta for attributes\n\n            } catch (err) {\n              _didIteratorError17 = true;\n              _iteratorError17 = err;\n            } finally {\n              try {\n                if (!_iteratorNormalCompletion17 && _iterator17.return != null) {\n                  _iterator17.return();\n                }\n              } finally {\n                if (_didIteratorError17) {\n                  throw _iteratorError17;\n                }\n              }\n            }\n\n            if (Object.keys(attrsMeta).length) {\n              var _iteratorNormalCompletion18 = true;\n              var _didIteratorError18 = false;\n              var _iteratorError18 = undefined;\n\n              try {\n                for (var _iterator18 = attrs[Symbol.iterator](), _step18; !(_iteratorNormalCompletion18 = (_step18 = _iterator18.next()).done); _iteratorNormalCompletion18 = true) {\n                  var attr = _step18.value;\n                  var meta = attrsMeta[attr.name]; // do not create translation for empty attributes\n\n                  if (meta !== undefined && attr.value) {\n                    attr.i18n = this._generateI18nMessage([attr], attr.i18n || meta);\n                  }\n                }\n              } catch (err) {\n                _didIteratorError18 = true;\n                _iteratorError18 = err;\n              } finally {\n                try {\n                  if (!_iteratorNormalCompletion18 && _iterator18.return != null) {\n                    _iterator18.return();\n                  }\n                } finally {\n                  if (_didIteratorError18) {\n                    throw _iteratorError18;\n                  }\n                }\n              }\n            }\n\n            if (!this.keepI18nAttrs) {\n              // update element's attributes,\n              // keeping only non-i18n related ones\n              element.attrs = attrs;\n            }\n          }\n\n          visitAll$1(this, element.children);\n          return element;\n        }\n      }, {\n        key: \"visitExpansion\",\n        value: function visitExpansion(expansion, context) {\n          var message;\n          var meta = expansion.i18n;\n\n          if (meta instanceof IcuPlaceholder) {\n            // set ICU placeholder name (e.g. \"ICU_1\"),\n            // generated while processing root element contents,\n            // so we can reference it when we output translation\n            var name = meta.name;\n            message = this._generateI18nMessage([expansion], meta);\n            var icu = icuFromI18nMessage(message);\n            icu.name = name;\n          } else {\n            // when ICU is a root level translation\n            message = this._generateI18nMessage([expansion], meta);\n          }\n\n          expansion.i18n = message;\n          return expansion;\n        }\n      }, {\n        key: \"visitText\",\n        value: function visitText(text, context) {\n          return text;\n        }\n      }, {\n        key: \"visitAttribute\",\n        value: function visitAttribute(attribute, context) {\n          return attribute;\n        }\n      }, {\n        key: \"visitComment\",\n        value: function visitComment(comment, context) {\n          return comment;\n        }\n      }, {\n        key: \"visitExpansionCase\",\n        value: function visitExpansionCase(expansionCase, context) {\n          return expansionCase;\n        }\n      }]);\n\n      return I18nMetaVisitor;\n    }();\n\n    function processI18nMeta(htmlAstWithErrors) {\n      var interpolationConfig = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : DEFAULT_INTERPOLATION_CONFIG;\n      return new ParseTreeResult(visitAll$1(new I18nMetaVisitor(interpolationConfig,\n      /* keepI18nAttrs */\n      false), htmlAstWithErrors.rootNodes), htmlAstWithErrors.errors);\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * This visitor walks over i18n tree and generates its string representation, including ICUs and\n     * placeholders in `{$placeholder}` (for plain messages) or `{PLACEHOLDER}` (inside ICUs) format.\n     */\n\n\n    var SerializerVisitor =\n    /*#__PURE__*/\n    function () {\n      function SerializerVisitor() {\n        _classCallCheck(this, SerializerVisitor);\n\n        /**\n         * Keeps track of ICU nesting level, allowing to detect that we are processing elements of an ICU.\n         *\n         * This is needed due to the fact that placeholders in ICUs and in other messages are represented\n         * differently in Closure:\n         * - {$placeholder} in non-ICU case\n         * - {PLACEHOLDER} inside ICU\n         */\n        this.icuNestingLevel = 0;\n      }\n\n      _createClass2(SerializerVisitor, [{\n        key: \"formatPh\",\n        value: function formatPh(value) {\n          var isInsideIcu = this.icuNestingLevel > 0;\n          var formatted = formatI18nPlaceholderName(value,\n          /* useCamelCase */\n          !isInsideIcu);\n          return isInsideIcu ? \"{\".concat(formatted, \"}\") : \"{$\".concat(formatted, \"}\");\n        }\n      }, {\n        key: \"visitText\",\n        value: function visitText(text, context) {\n          return text.value;\n        }\n      }, {\n        key: \"visitContainer\",\n        value: function visitContainer(container, context) {\n          var _this302 = this;\n\n          return container.children.map(function (child) {\n            return child.visit(_this302);\n          }).join('');\n        }\n      }, {\n        key: \"visitIcu\",\n        value: function visitIcu(icu, context) {\n          var _this303 = this;\n\n          this.icuNestingLevel++;\n          var strCases = Object.keys(icu.cases).map(function (k) {\n            return \"\".concat(k, \" {\").concat(icu.cases[k].visit(_this303), \"}\");\n          });\n          var result = \"{\".concat(icu.expressionPlaceholder, \", \").concat(icu.type, \", \").concat(strCases.join(' '), \"}\");\n          this.icuNestingLevel--;\n          return result;\n        }\n      }, {\n        key: \"visitTagPlaceholder\",\n        value: function visitTagPlaceholder(ph, context) {\n          var _this304 = this;\n\n          return ph.isVoid ? this.formatPh(ph.startName) : \"\".concat(this.formatPh(ph.startName)).concat(ph.children.map(function (child) {\n            return child.visit(_this304);\n          }).join('')).concat(this.formatPh(ph.closeName));\n        }\n      }, {\n        key: \"visitPlaceholder\",\n        value: function visitPlaceholder(ph, context) {\n          return this.formatPh(ph.name);\n        }\n      }, {\n        key: \"visitIcuPlaceholder\",\n        value: function visitIcuPlaceholder(ph, context) {\n          return this.formatPh(ph.name);\n        }\n      }]);\n\n      return SerializerVisitor;\n    }();\n\n    var serializerVisitor$1 = new SerializerVisitor();\n\n    function getSerializedI18nContent(message) {\n      return message.nodes.map(function (node) {\n        return node.visit(serializerVisitor$1, null);\n      }).join('');\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n    // Selector attribute name of `<ng-content>`\n\n\n    var NG_CONTENT_SELECT_ATTR$1 = 'select'; // Attribute name of `ngProjectAs`.\n\n    var NG_PROJECT_AS_ATTR_NAME = 'ngProjectAs'; // List of supported global targets for event listeners\n\n    var GLOBAL_TARGET_RESOLVERS = new Map([['window', Identifiers$1.resolveWindow], ['document', Identifiers$1.resolveDocument], ['body', Identifiers$1.resolveBody]]);\n    var LEADING_TRIVIA_CHARS = [' ', '\\n', '\\r', '\\t']; //  if (rf & flags) { .. }\n\n    function renderFlagCheckIfStmt(flags, statements) {\n      return ifStmt(variable(RENDER_FLAGS).bitwiseAnd(literal(flags), null, false), statements);\n    }\n\n    function prepareEventListenerParameters(eventAst) {\n      var handlerName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n      var scope = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n      var type = eventAst.type,\n          name = eventAst.name,\n          target = eventAst.target,\n          phase = eventAst.phase,\n          handler = eventAst.handler;\n\n      if (target && !GLOBAL_TARGET_RESOLVERS.has(target)) {\n        throw new Error(\"Unexpected global target '\".concat(target, \"' defined for '\").concat(name, \"' event.\\n        Supported list of global targets: \").concat(Array.from(GLOBAL_TARGET_RESOLVERS.keys()), \".\"));\n      }\n\n      var implicitReceiverExpr = scope === null || scope.bindingLevel === 0 ? variable(CONTEXT_NAME) : scope.getOrCreateSharedContextVar(0);\n      var bindingExpr = convertActionBinding(scope, implicitReceiverExpr, handler, 'b', function () {\n        return error('Unexpected interpolation');\n      }, eventAst.handlerSpan);\n      var statements = [];\n\n      if (scope) {\n        statements.push.apply(statements, _toConsumableArray(scope.restoreViewStatement()));\n        statements.push.apply(statements, _toConsumableArray(scope.variableDeclarations()));\n      }\n\n      statements.push.apply(statements, _toConsumableArray(bindingExpr.render3Stmts));\n      var eventName = type === 1\n      /* Animation */\n      ? prepareSyntheticListenerName(name, phase) : name;\n      var fnName = handlerName && sanitizeIdentifier(handlerName);\n      var fnArgs = [new FnParam('$event', DYNAMIC_TYPE)];\n      var handlerFn = fn(fnArgs, statements, INFERRED_TYPE, null, fnName);\n      var params = [literal(eventName), handlerFn];\n\n      if (target) {\n        params.push(literal(false), // `useCapture` flag, defaults to `false`\n        importExpr(GLOBAL_TARGET_RESOLVERS.get(target)));\n      }\n\n      return params;\n    }\n\n    var TemplateDefinitionBuilder =\n    /*#__PURE__*/\n    function () {\n      function TemplateDefinitionBuilder(constantPool, parentBindingScope) {\n        var _this305 = this;\n\n        var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n        var contextName = arguments.length > 3 ? arguments[3] : undefined;\n        var i18nContext = arguments.length > 4 ? arguments[4] : undefined;\n        var templateIndex = arguments.length > 5 ? arguments[5] : undefined;\n        var templateName = arguments.length > 6 ? arguments[6] : undefined;\n        var directiveMatcher = arguments.length > 7 ? arguments[7] : undefined;\n        var directives = arguments.length > 8 ? arguments[8] : undefined;\n        var pipeTypeByName = arguments.length > 9 ? arguments[9] : undefined;\n        var pipes = arguments.length > 10 ? arguments[10] : undefined;\n\n        var _namespace = arguments.length > 11 ? arguments[11] : undefined;\n\n        var relativeContextFilePath = arguments.length > 12 ? arguments[12] : undefined;\n        var i18nUseExternalIds = arguments.length > 13 ? arguments[13] : undefined;\n\n        _classCallCheck(this, TemplateDefinitionBuilder);\n\n        this.constantPool = constantPool;\n        this.level = level;\n        this.contextName = contextName;\n        this.i18nContext = i18nContext;\n        this.templateIndex = templateIndex;\n        this.templateName = templateName;\n        this.directiveMatcher = directiveMatcher;\n        this.directives = directives;\n        this.pipeTypeByName = pipeTypeByName;\n        this.pipes = pipes;\n        this._namespace = _namespace;\n        this.relativeContextFilePath = relativeContextFilePath;\n        this.i18nUseExternalIds = i18nUseExternalIds;\n        this._dataIndex = 0;\n        this._bindingContext = 0;\n        this._prefixCode = [];\n        /**\n         * List of callbacks to generate creation mode instructions. We store them here as we process\n         * the template so bindings in listeners are resolved only once all nodes have been visited.\n         * This ensures all local refs and context variables are available for matching.\n         */\n\n        this._creationCodeFns = [];\n        /**\n         * List of callbacks to generate update mode instructions. We store them here as we process\n         * the template so bindings are resolved only once all nodes have been visited. This ensures\n         * all local refs and context variables are available for matching.\n         */\n\n        this._updateCodeFns = [];\n        /**\n         * Memorizes the last node index for which a select instruction has been generated.\n         * We're initializing this to -1 to ensure the `select(0)` instruction is generated before any\n         * relevant update instructions.\n         */\n\n        this._lastNodeIndexWithFlush = -1;\n        /** Temporary variable declarations generated from visiting pipes, literals, etc. */\n\n        this._tempVariables = [];\n        /**\n         * List of callbacks to build nested templates. Nested templates must not be visited until\n         * after the parent template has finished visiting all of its nodes. This ensures that all\n         * local ref bindings in nested templates are able to find local ref values if the refs\n         * are defined after the template declaration.\n         */\n\n        this._nestedTemplateFns = [];\n        this._unsupported = unsupported; // i18n context local to this template\n\n        this.i18n = null; // Number of slots to reserve for pureFunctions\n\n        this._pureFunctionSlots = 0; // Number of binding slots\n\n        this._bindingSlots = 0; // Projection slots found in the template. Projection slots can distribute projected\n        // nodes based on a selector, or can just use the wildcard selector to match\n        // all nodes which aren't matching any selector.\n\n        this._ngContentReservedSlots = []; // Number of non-default selectors found in all parent templates of this template. We need to\n        // track it to properly adjust projection slot index in the `projection` instruction.\n\n        this._ngContentSelectorsOffset = 0; // Expression that should be used as implicit receiver when converting template\n        // expressions to output AST.\n\n        this._implicitReceiverExpr = null; // These should be handled in the template or element directly.\n\n        this.visitReference = invalid$1;\n        this.visitVariable = invalid$1;\n        this.visitTextAttribute = invalid$1;\n        this.visitBoundAttribute = invalid$1;\n        this.visitBoundEvent = invalid$1;\n        this._bindingScope = parentBindingScope.nestedScope(level); // Turn the relative context file path into an identifier by replacing non-alphanumeric\n        // characters with underscores.\n\n        this.fileBasedI18nSuffix = relativeContextFilePath.replace(/[^A-Za-z0-9]/g, '_') + '_';\n        this._valueConverter = new ValueConverter(constantPool, function () {\n          return _this305.allocateDataSlot();\n        }, function (numSlots) {\n          return _this305.allocatePureFunctionSlots(numSlots);\n        }, function (name, localName, slot, value) {\n          var pipeType = pipeTypeByName.get(name);\n\n          if (pipeType) {\n            _this305.pipes.add(pipeType);\n          }\n\n          _this305._bindingScope.set(_this305.level, localName, value);\n\n          _this305.creationInstruction(null, Identifiers$1.pipe, [literal(slot), literal(name)]);\n        });\n      }\n\n      _createClass2(TemplateDefinitionBuilder, [{\n        key: \"registerContextVariables\",\n        value: function registerContextVariables(variable$1) {\n          var scopedName = this._bindingScope.freshReferenceName();\n\n          var retrievalLevel = this.level;\n          var lhs = variable(variable$1.name + scopedName);\n\n          this._bindingScope.set(retrievalLevel, variable$1.name, lhs, 1\n          /* CONTEXT */\n          , function (scope, relativeLevel) {\n            var rhs;\n\n            if (scope.bindingLevel === retrievalLevel) {\n              // e.g. ctx\n              rhs = variable(CONTEXT_NAME);\n            } else {\n              var sharedCtxVar = scope.getSharedContextName(retrievalLevel); // e.g. ctx_r0   OR  x(2);\n\n              rhs = sharedCtxVar ? sharedCtxVar : generateNextContextExpr(relativeLevel);\n            } // e.g. const $item$ = x(2).$implicit;\n\n\n            return [lhs.set(rhs.prop(variable$1.value || IMPLICIT_REFERENCE)).toConstDecl()];\n          });\n        }\n      }, {\n        key: \"buildTemplateFunction\",\n        value: function buildTemplateFunction(nodes, variables) {\n          var _this306 = this;\n\n          var ngContentSelectorsOffset = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n          var i18n = arguments.length > 3 ? arguments[3] : undefined;\n          this._ngContentSelectorsOffset = ngContentSelectorsOffset;\n\n          if (this._namespace !== Identifiers$1.namespaceHTML) {\n            this.creationInstruction(null, this._namespace);\n          } // Create variable bindings\n\n\n          variables.forEach(function (v) {\n            return _this306.registerContextVariables(v);\n          }); // Initiate i18n context in case:\n          // - this template has parent i18n context\n          // - or the template has i18n meta associated with it,\n          //   but it's not initiated by the Element (e.g. <ng-template i18n>)\n\n          var initI18nContext = this.i18nContext || isI18nRootNode(i18n) && !isSingleI18nIcu(i18n) && !(isSingleElementTemplate(nodes) && nodes[0].i18n === i18n);\n          var selfClosingI18nInstruction = hasTextChildrenOnly(nodes);\n\n          if (initI18nContext) {\n            this.i18nStart(null, i18n, selfClosingI18nInstruction);\n          } // This is the initial pass through the nodes of this template. In this pass, we\n          // queue all creation mode and update mode instructions for generation in the second\n          // pass. It's necessary to separate the passes to ensure local refs are defined before\n          // resolving bindings. We also count bindings in this pass as we walk bound expressions.\n\n\n          visitAll(this, nodes); // Add total binding count to pure function count so pure function instructions are\n          // generated with the correct slot offset when update instructions are processed.\n\n          this._pureFunctionSlots += this._bindingSlots; // Pipes are walked in the first pass (to enqueue `pipe()` creation instructions and\n          // `pipeBind` update instructions), so we have to update the slot offsets manually\n          // to account for bindings.\n\n          this._valueConverter.updatePipeSlotOffsets(this._bindingSlots); // Nested templates must be processed before creation instructions so template()\n          // instructions can be generated with the correct internal const count.\n\n\n          this._nestedTemplateFns.forEach(function (buildTemplateFn) {\n            return buildTemplateFn();\n          }); // Output the `projectionDef` instruction when some `<ng-content>` tags are present.\n          // The `projectionDef` instruction is only emitted for the component template and\n          // is skipped for nested templates (<ng-template> tags).\n\n\n          if (this.level === 0 && this._ngContentReservedSlots.length) {\n            var parameters = []; // By default the `projectionDef` instructions creates one slot for the wildcard\n            // selector if no parameters are passed. Therefore we only want to allocate a new\n            // array for the projection slots if the default projection slot is not sufficient.\n\n            if (this._ngContentReservedSlots.length > 1 || this._ngContentReservedSlots[0] !== '*') {\n              var r3ReservedSlots = this._ngContentReservedSlots.map(function (s) {\n                return s !== '*' ? parseSelectorToR3Selector(s) : s;\n              });\n\n              parameters.push(this.constantPool.getConstLiteral(asLiteral(r3ReservedSlots), true));\n            } // Since we accumulate ngContent selectors while processing template elements,\n            // we *prepend* `projectionDef` to creation instructions block, to put it before\n            // any `projection` instructions\n\n\n            this.creationInstruction(null, Identifiers$1.projectionDef, parameters,\n            /* prepend */\n            true);\n          }\n\n          if (initI18nContext) {\n            this.i18nEnd(null, selfClosingI18nInstruction);\n          } // Generate all the creation mode instructions (e.g. resolve bindings in listeners)\n\n\n          var creationStatements = this._creationCodeFns.map(function (fn) {\n            return fn();\n          }); // Generate all the update mode instructions (e.g. resolve property or text bindings)\n\n\n          var updateStatements = this._updateCodeFns.map(function (fn) {\n            return fn();\n          }); //  Variable declaration must occur after binding resolution so we can generate context\n          //  instructions that build on each other.\n          // e.g. const b = nextContext().$implicit(); const b = nextContext();\n\n\n          var creationVariables = this._bindingScope.viewSnapshotStatements();\n\n          var updateVariables = this._bindingScope.variableDeclarations().concat(this._tempVariables);\n\n          var creationBlock = creationStatements.length > 0 ? [renderFlagCheckIfStmt(1\n          /* Create */\n          , creationVariables.concat(creationStatements))] : [];\n          var updateBlock = updateStatements.length > 0 ? [renderFlagCheckIfStmt(2\n          /* Update */\n          , updateVariables.concat(updateStatements))] : [];\n          return fn( // i.e. (rf: RenderFlags, ctx: any)\n          [new FnParam(RENDER_FLAGS, NUMBER_TYPE), new FnParam(CONTEXT_NAME, null)], [].concat(_toConsumableArray(this._prefixCode), creationBlock, updateBlock), INFERRED_TYPE, null, this.templateName);\n        } // LocalResolver\n\n      }, {\n        key: \"getLocal\",\n        value: function getLocal(name) {\n          return this._bindingScope.get(name);\n        } // LocalResolver\n\n      }, {\n        key: \"notifyImplicitReceiverUse\",\n        value: function notifyImplicitReceiverUse() {\n          this._bindingScope.notifyImplicitReceiverUse();\n        }\n      }, {\n        key: \"i18nTranslate\",\n        value: function i18nTranslate(message) {\n          var _this$constantPool$st;\n\n          var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n          var ref = arguments.length > 2 ? arguments[2] : undefined;\n          var transformFn = arguments.length > 3 ? arguments[3] : undefined;\n\n          var _ref = ref || variable(this.constantPool.uniqueName(TRANSLATION_PREFIX)); // Closure Compiler requires const names to start with `MSG_` but disallows any other const to\n          // start with `MSG_`. We define a variable starting with `MSG_` just for the `goog.getMsg` call\n\n\n          var closureVar = this.i18nGenerateClosureVar(message.id);\n          var formattedParams = this.i18nFormatPlaceholderNames(params,\n          /* useCamelCase */\n          true);\n          var meta = metaFromI18nMessage(message);\n          var content = getSerializedI18nContent(message);\n          var statements = getTranslationDeclStmts(_ref, closureVar, content, meta, formattedParams, transformFn);\n\n          (_this$constantPool$st = this.constantPool.statements).push.apply(_this$constantPool$st, _toConsumableArray(statements));\n\n          return _ref;\n        }\n      }, {\n        key: \"i18nFormatPlaceholderNames\",\n        value: function i18nFormatPlaceholderNames() {\n          var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n          var useCamelCase = arguments.length > 1 ? arguments[1] : undefined;\n          var _params = {};\n\n          if (params && Object.keys(params).length) {\n            Object.keys(params).forEach(function (key) {\n              return _params[formatI18nPlaceholderName(key, useCamelCase)] = params[key];\n            });\n          }\n\n          return _params;\n        }\n      }, {\n        key: \"i18nAppendBindings\",\n        value: function i18nAppendBindings(expressions) {\n          var _this307 = this;\n\n          if (expressions.length > 0) {\n            expressions.forEach(function (expression) {\n              return _this307.i18n.appendBinding(expression);\n            });\n          }\n        }\n      }, {\n        key: \"i18nBindProps\",\n        value: function i18nBindProps(props) {\n          var _this308 = this;\n\n          var bound = {};\n          Object.keys(props).forEach(function (key) {\n            var prop = props[key];\n\n            if (prop instanceof Text) {\n              bound[key] = literal(prop.value);\n            } else {\n              var value = prop.value.visit(_this308._valueConverter);\n\n              _this308.allocateBindingSlots(value);\n\n              if (value instanceof Interpolation) {\n                var strings = value.strings,\n                    expressions = value.expressions;\n                var _this308$i18n = _this308.i18n,\n                    id = _this308$i18n.id,\n                    bindings = _this308$i18n.bindings;\n                var label = assembleI18nBoundString(strings, bindings.size, id);\n\n                _this308.i18nAppendBindings(expressions);\n\n                bound[key] = literal(label);\n              }\n            }\n          });\n          return bound;\n        }\n      }, {\n        key: \"i18nGenerateClosureVar\",\n        value: function i18nGenerateClosureVar(messageId) {\n          var name;\n          var suffix = this.fileBasedI18nSuffix.toUpperCase();\n\n          if (this.i18nUseExternalIds) {\n            var prefix = getTranslationConstPrefix(\"EXTERNAL_\");\n            var uniqueSuffix = this.constantPool.uniqueName(suffix);\n            name = \"\".concat(prefix).concat(sanitizeIdentifier(messageId), \"$$\").concat(uniqueSuffix);\n          } else {\n            var _prefix = getTranslationConstPrefix(suffix);\n\n            name = this.constantPool.uniqueName(_prefix);\n          }\n\n          return variable(name);\n        }\n      }, {\n        key: \"i18nUpdateRef\",\n        value: function i18nUpdateRef(context) {\n          var icus = context.icus,\n              meta = context.meta,\n              isRoot = context.isRoot,\n              isResolved = context.isResolved,\n              isEmitted = context.isEmitted;\n\n          if (isRoot && isResolved && !isEmitted && !isSingleI18nIcu(meta)) {\n            context.isEmitted = true;\n            var placeholders = context.getSerializedPlaceholders();\n            var icuMapping = {};\n            var params = placeholders.size ? placeholdersToParams(placeholders) : {};\n\n            if (icus.size) {\n              icus.forEach(function (refs, key) {\n                if (refs.length === 1) {\n                  // if we have one ICU defined for a given\n                  // placeholder - just output its reference\n                  params[key] = refs[0];\n                } else {\n                  // ... otherwise we need to activate post-processing\n                  // to replace ICU placeholders with proper values\n                  var placeholder = wrapI18nPlaceholder(\"\".concat(I18N_ICU_MAPPING_PREFIX).concat(key));\n                  params[key] = literal(placeholder);\n                  icuMapping[key] = literalArr(refs);\n                }\n              });\n            } // translation requires post processing in 2 cases:\n            // - if we have placeholders with multiple values (ex. `START_DIV`: [�#1�, �#2�, ...])\n            // - if we have multiple ICUs that refer to the same placeholder name\n\n\n            var needsPostprocessing = Array.from(placeholders.values()).some(function (value) {\n              return value.length > 1;\n            }) || Object.keys(icuMapping).length;\n            var transformFn;\n\n            if (needsPostprocessing) {\n              transformFn = function transformFn(raw) {\n                var args = [raw];\n\n                if (Object.keys(icuMapping).length) {\n                  args.push(mapLiteral(icuMapping, true));\n                }\n\n                return instruction(null, Identifiers$1.i18nPostprocess, args);\n              };\n            }\n\n            this.i18nTranslate(meta, params, context.ref, transformFn);\n          }\n        }\n      }, {\n        key: \"i18nStart\",\n        value: function i18nStart() {\n          var span = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n          var meta = arguments.length > 1 ? arguments[1] : undefined;\n          var selfClosing = arguments.length > 2 ? arguments[2] : undefined;\n          var index = this.allocateDataSlot();\n\n          if (this.i18nContext) {\n            this.i18n = this.i18nContext.forkChildContext(index, this.templateIndex, meta);\n          } else {\n            var _ref35 = variable(this.constantPool.uniqueName(TRANSLATION_PREFIX));\n\n            this.i18n = new I18nContext(index, _ref35, 0, this.templateIndex, meta);\n          } // generate i18nStart instruction\n\n\n          var _this$i18n = this.i18n,\n              id = _this$i18n.id,\n              ref = _this$i18n.ref;\n          var params = [literal(index), ref];\n\n          if (id > 0) {\n            // do not push 3rd argument (sub-block id)\n            // into i18nStart call for top level i18n context\n            params.push(literal(id));\n          }\n\n          this.creationInstruction(span, selfClosing ? Identifiers$1.i18n : Identifiers$1.i18nStart, params);\n        }\n      }, {\n        key: \"i18nEnd\",\n        value: function i18nEnd() {\n          var _this309 = this;\n\n          var span = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n          var selfClosing = arguments.length > 1 ? arguments[1] : undefined;\n\n          if (!this.i18n) {\n            throw new Error('i18nEnd is executed with no i18n context present');\n          }\n\n          if (this.i18nContext) {\n            this.i18nContext.reconcileChildContext(this.i18n);\n            this.i18nUpdateRef(this.i18nContext);\n          } else {\n            this.i18nUpdateRef(this.i18n);\n          } // setup accumulated bindings\n\n\n          var _this$i18n2 = this.i18n,\n              index = _this$i18n2.index,\n              bindings = _this$i18n2.bindings;\n\n          if (bindings.size) {\n            var chainBindings = [];\n            bindings.forEach(function (binding) {\n              chainBindings.push({\n                sourceSpan: span,\n                value: function value() {\n                  return _this309.convertPropertyBinding(binding);\n                }\n              });\n            });\n            this.updateInstructionChain(index, Identifiers$1.i18nExp, chainBindings);\n            this.updateInstruction(index, span, Identifiers$1.i18nApply, [literal(index)]);\n          }\n\n          if (!selfClosing) {\n            this.creationInstruction(span, Identifiers$1.i18nEnd);\n          }\n\n          this.i18n = null; // reset local i18n context\n        }\n      }, {\n        key: \"visitContent\",\n        value: function visitContent(ngContent) {\n          var slot = this.allocateDataSlot();\n          var projectionSlotIdx = this._ngContentSelectorsOffset + this._ngContentReservedSlots.length;\n          var parameters = [literal(slot)];\n          var attributes = [];\n\n          this._ngContentReservedSlots.push(ngContent.selector);\n\n          ngContent.attributes.forEach(function (attribute) {\n            var name = attribute.name,\n                value = attribute.value;\n\n            if (name === NG_PROJECT_AS_ATTR_NAME) {\n              attributes.push.apply(attributes, _toConsumableArray(getNgProjectAsLiteral(attribute)));\n            } else if (name.toLowerCase() !== NG_CONTENT_SELECT_ATTR$1) {\n              attributes.push(literal(name), literal(value));\n            }\n          });\n\n          if (attributes.length > 0) {\n            parameters.push(literal(projectionSlotIdx), literalArr(attributes));\n          } else if (projectionSlotIdx !== 0) {\n            parameters.push(literal(projectionSlotIdx));\n          }\n\n          this.creationInstruction(ngContent.sourceSpan, Identifiers$1.projection, parameters);\n\n          if (this.i18n) {\n            this.i18n.appendProjection(ngContent.i18n, slot);\n          }\n        }\n      }, {\n        key: \"getNamespaceInstruction\",\n        value: function getNamespaceInstruction(namespaceKey) {\n          switch (namespaceKey) {\n            case 'math':\n              return Identifiers$1.namespaceMathML;\n\n            case 'svg':\n              return Identifiers$1.namespaceSVG;\n\n            default:\n              return Identifiers$1.namespaceHTML;\n          }\n        }\n      }, {\n        key: \"addNamespaceInstruction\",\n        value: function addNamespaceInstruction(nsInstruction, element) {\n          this._namespace = nsInstruction;\n          this.creationInstruction(element.sourceSpan, nsInstruction);\n        }\n      }, {\n        key: \"visitElement\",\n        value: function visitElement(element) {\n          var _this310 = this;\n\n          var elementIndex = this.allocateDataSlot();\n          var stylingBuilder = new StylingBuilder(literal(elementIndex), null);\n          var isNonBindableMode = false;\n          var isI18nRootElement = isI18nRootNode(element.i18n) && !isSingleI18nIcu(element.i18n);\n\n          if (isI18nRootElement && this.i18n) {\n            throw new Error(\"Could not mark an element as translatable inside of a translatable section\");\n          }\n\n          var i18nAttrs = [];\n          var outputAttrs = [];\n\n          var _splitNsName = splitNsName(element.name),\n              _splitNsName2 = _slicedToArray(_splitNsName, 2),\n              namespaceKey = _splitNsName2[0],\n              elementName = _splitNsName2[1];\n\n          var isNgContainer$1 = isNgContainer(element.name); // Handle styling, i18n, ngNonBindable attributes\n\n          var _iteratorNormalCompletion19 = true;\n          var _didIteratorError19 = false;\n          var _iteratorError19 = undefined;\n\n          try {\n            for (var _iterator19 = element.attributes[Symbol.iterator](), _step19; !(_iteratorNormalCompletion19 = (_step19 = _iterator19.next()).done); _iteratorNormalCompletion19 = true) {\n              var attr = _step19.value;\n              var name = attr.name,\n                  value = attr.value;\n\n              if (name === NON_BINDABLE_ATTR) {\n                isNonBindableMode = true;\n              } else if (name === 'style') {\n                stylingBuilder.registerStyleAttr(value);\n              } else if (name === 'class') {\n                stylingBuilder.registerClassAttr(value);\n              } else {\n                if (attr.i18n) {\n                  // Place attributes into a separate array for i18n processing, but also keep such\n                  // attributes in the main list to make them available for directive matching at runtime.\n                  // TODO(FW-1248): prevent attributes duplication in `i18nAttributes` and `elementStart`\n                  // arguments\n                  i18nAttrs.push(attr);\n                } else {\n                  outputAttrs.push(attr);\n                }\n              }\n            } // Match directives on non i18n attributes\n\n          } catch (err) {\n            _didIteratorError19 = true;\n            _iteratorError19 = err;\n          } finally {\n            try {\n              if (!_iteratorNormalCompletion19 && _iterator19.return != null) {\n                _iterator19.return();\n              }\n            } finally {\n              if (_didIteratorError19) {\n                throw _iteratorError19;\n              }\n            }\n          }\n\n          this.matchDirectives(element.name, element); // Regular element or ng-container creation mode\n\n          var parameters = [literal(elementIndex)];\n\n          if (!isNgContainer$1) {\n            parameters.push(literal(elementName));\n          } // Add the attributes\n\n\n          var attributes = [];\n          var allOtherInputs = [];\n          element.inputs.forEach(function (input) {\n            var stylingInputWasSet = stylingBuilder.registerBoundInput(input);\n\n            if (!stylingInputWasSet) {\n              if (input.type === 0\n              /* Property */\n              && input.i18n) {\n                // Place attributes into a separate array for i18n processing, but also keep such\n                // attributes in the main list to make them available for directive matching at runtime.\n                // TODO(FW-1248): prevent attributes duplication in `i18nAttributes` and `elementStart`\n                // arguments\n                i18nAttrs.push(input);\n              } else {\n                allOtherInputs.push(input);\n              }\n            }\n          });\n          outputAttrs.forEach(function (attr) {\n            if (attr.name === NG_PROJECT_AS_ATTR_NAME) {\n              attributes.push.apply(attributes, _toConsumableArray(getNgProjectAsLiteral(attr)));\n            } else {\n              attributes.push.apply(attributes, _toConsumableArray(getAttributeNameLiterals(attr.name)).concat([literal(attr.value)]));\n            }\n          }); // add attributes for directive and projection matching purposes\n\n          attributes.push.apply(attributes, _toConsumableArray(this.prepareNonRenderAttrs(allOtherInputs, element.outputs, stylingBuilder, [], i18nAttrs)));\n          parameters.push(this.toAttrsParam(attributes)); // local refs (ex.: <div #foo #bar=\"baz\">)\n\n          parameters.push(this.prepareRefsParameter(element.references));\n          var wasInNamespace = this._namespace;\n          var currentNamespace = this.getNamespaceInstruction(namespaceKey); // If the namespace is changing now, include an instruction to change it\n          // during element creation.\n\n          if (currentNamespace !== wasInNamespace) {\n            this.addNamespaceInstruction(currentNamespace, element);\n          }\n\n          if (this.i18n) {\n            this.i18n.appendElement(element.i18n, elementIndex);\n          } // Note that we do not append text node instructions and ICUs inside i18n section,\n          // so we exclude them while calculating whether current element has children\n\n\n          var hasChildren = !isI18nRootElement && this.i18n ? !hasTextChildrenOnly(element.children) : element.children.length > 0;\n          var createSelfClosingInstruction = !stylingBuilder.hasBindings && element.outputs.length === 0 && i18nAttrs.length === 0 && !hasChildren;\n          var createSelfClosingI18nInstruction = !createSelfClosingInstruction && !stylingBuilder.hasBindings && hasTextChildrenOnly(element.children);\n\n          if (createSelfClosingInstruction) {\n            this.creationInstruction(element.sourceSpan, isNgContainer$1 ? Identifiers$1.elementContainer : Identifiers$1.element, trimTrailingNulls(parameters));\n          } else {\n            this.creationInstruction(element.sourceSpan, isNgContainer$1 ? Identifiers$1.elementContainerStart : Identifiers$1.elementStart, trimTrailingNulls(parameters));\n\n            if (isNonBindableMode) {\n              this.creationInstruction(element.sourceSpan, Identifiers$1.disableBindings);\n            } // process i18n element attributes\n\n\n            if (i18nAttrs.length) {\n              var hasBindings = false;\n              var i18nAttrArgs = [];\n              var bindings = [];\n              i18nAttrs.forEach(function (attr) {\n                var message = attr.i18n;\n\n                if (attr instanceof TextAttribute) {\n                  i18nAttrArgs.push(literal(attr.name), _this310.i18nTranslate(message));\n                } else {\n                  var converted = attr.value.visit(_this310._valueConverter);\n\n                  _this310.allocateBindingSlots(converted);\n\n                  if (converted instanceof Interpolation) {\n                    var placeholders = assembleBoundTextPlaceholders(message);\n                    var params = placeholdersToParams(placeholders);\n                    i18nAttrArgs.push(literal(attr.name), _this310.i18nTranslate(message, params));\n                    converted.expressions.forEach(function (expression) {\n                      hasBindings = true;\n                      bindings.push({\n                        sourceSpan: element.sourceSpan,\n                        value: function value() {\n                          return _this310.convertExpressionBinding(expression);\n                        }\n                      });\n                    });\n                  }\n                }\n              });\n\n              if (bindings.length) {\n                this.updateInstructionChain(elementIndex, Identifiers$1.i18nExp, bindings);\n              }\n\n              if (i18nAttrArgs.length) {\n                var index = literal(this.allocateDataSlot());\n                var args = this.constantPool.getConstLiteral(literalArr(i18nAttrArgs), true);\n                this.creationInstruction(element.sourceSpan, Identifiers$1.i18nAttributes, [index, args]);\n\n                if (hasBindings) {\n                  this.updateInstruction(elementIndex, element.sourceSpan, Identifiers$1.i18nApply, [index]);\n                }\n              }\n            } // The style bindings code is placed into two distinct blocks within the template function AOT\n            // code: creation and update. The creation code contains the `styling` instructions\n            // which will apply the collected binding values to the element. `styling` is\n            // designed to run inside of `elementStart` and `elementEnd`. The update instructions\n            // (things like `styleProp`, `classProp`, etc..) are applied later on in this\n            // file\n\n\n            this.processStylingInstruction(elementIndex, stylingBuilder.buildStylingInstruction(element.sourceSpan, this.constantPool), true); // Generate Listeners (outputs)\n\n            element.outputs.forEach(function (outputAst) {\n              _this310.creationInstruction(outputAst.sourceSpan, Identifiers$1.listener, _this310.prepareListenerParameter(element.name, outputAst, elementIndex));\n            }); // Note: it's important to keep i18n/i18nStart instructions after i18nAttributes and\n            // listeners, to make sure i18nAttributes instruction targets current element at runtime.\n\n            if (isI18nRootElement) {\n              this.i18nStart(element.sourceSpan, element.i18n, createSelfClosingI18nInstruction);\n            }\n          } // the code here will collect all update-level styling instructions and add them to the\n          // update block of the template function AOT code. Instructions like `styleProp`,\n          // `styleMap`, `classMap`, `classProp` and `stylingApply`\n          // are all generated and assigned in the code below.\n\n\n          var stylingInstructions = stylingBuilder.buildUpdateLevelInstructions(this._valueConverter);\n          var limit = stylingInstructions.length - 1;\n\n          for (var i = 0; i <= limit; i++) {\n            var _instruction = stylingInstructions[i];\n            this._bindingSlots += _instruction.allocateBindingSlots;\n            this.processStylingInstruction(elementIndex, _instruction, false);\n          } // the reason why `undefined` is used is because the renderer understands this as a\n          // special value to symbolize that there is no RHS to this binding\n          // TODO (matsko): revisit this once FW-959 is approached\n\n\n          var emptyValueBindInstruction = literal(undefined);\n          var propertyBindings = [];\n          var attributeBindings = []; // Generate element input bindings\n\n          allOtherInputs.forEach(function (input) {\n            var inputType = input.type;\n\n            if (inputType === 4\n            /* Animation */\n            ) {\n                var _value4 = input.value.visit(_this310._valueConverter); // animation bindings can be presented in the following formats:\n                // 1. [@binding]=\"fooExp\"\n                // 2. [@binding]=\"{value:fooExp, params:{...}}\"\n                // 3. [@binding]\n                // 4. @binding\n                // All formats will be valid for when a synthetic binding is created.\n                // The reasoning for this is because the renderer should get each\n                // synthetic binding value in the order of the array that they are\n                // defined in...\n\n\n                var hasValue = _value4 instanceof LiteralPrimitive ? !!_value4.value : true;\n\n                _this310.allocateBindingSlots(_value4);\n\n                propertyBindings.push({\n                  name: prepareSyntheticPropertyName(input.name),\n                  sourceSpan: input.sourceSpan,\n                  value: function value() {\n                    return hasValue ? _this310.convertPropertyBinding(_value4) : emptyValueBindInstruction;\n                  }\n                });\n              } else {\n              // we must skip attributes with associated i18n context, since these attributes are handled\n              // separately and corresponding `i18nExp` and `i18nApply` instructions will be generated\n              if (input.i18n) return;\n\n              var _value5 = input.value.visit(_this310._valueConverter);\n\n              if (_value5 !== undefined) {\n                var params = [];\n\n                var _splitNsName3 = splitNsName(input.name),\n                    _splitNsName4 = _slicedToArray(_splitNsName3, 2),\n                    attrNamespace = _splitNsName4[0],\n                    attrName = _splitNsName4[1];\n\n                var isAttributeBinding = inputType === 1\n                /* Attribute */\n                ;\n                var sanitizationRef = resolveSanitizationFn(input.securityContext, isAttributeBinding);\n                if (sanitizationRef) params.push(sanitizationRef);\n\n                if (attrNamespace) {\n                  var namespaceLiteral = literal(attrNamespace);\n\n                  if (sanitizationRef) {\n                    params.push(namespaceLiteral);\n                  } else {\n                    // If there wasn't a sanitization ref, we need to add\n                    // an extra param so that we can pass in the namespace.\n                    params.push(literal(null), namespaceLiteral);\n                  }\n                }\n\n                _this310.allocateBindingSlots(_value5);\n\n                if (inputType === 0\n                /* Property */\n                ) {\n                    if (_value5 instanceof Interpolation) {\n                      // prop=\"{{value}}\" and friends\n                      _this310.interpolatedUpdateInstruction(getPropertyInterpolationExpression(_value5), elementIndex, attrName, input, _value5, params);\n                    } else {\n                      // [prop]=\"value\"\n                      // Collect all the properties so that we can chain into a single function at the end.\n                      propertyBindings.push({\n                        name: attrName,\n                        sourceSpan: input.sourceSpan,\n                        value: function value() {\n                          return _this310.convertPropertyBinding(_value5);\n                        },\n                        params: params\n                      });\n                    }\n                  } else if (inputType === 1\n                /* Attribute */\n                ) {\n                    if (_value5 instanceof Interpolation && getInterpolationArgsLength(_value5) > 1) {\n                      // attr.name=\"text{{value}}\" and friends\n                      _this310.interpolatedUpdateInstruction(getAttributeInterpolationExpression(_value5), elementIndex, attrName, input, _value5, params);\n                    } else {\n                      var boundValue = _value5 instanceof Interpolation ? _value5.expressions[0] : _value5; // [attr.name]=\"value\" or attr.name=\"{{value}}\"\n                      // Collect the attribute bindings so that they can be chained at the end.\n\n                      attributeBindings.push({\n                        name: attrName,\n                        sourceSpan: input.sourceSpan,\n                        value: function value() {\n                          return _this310.convertPropertyBinding(boundValue);\n                        },\n                        params: params\n                      });\n                    }\n                  } else {\n                  // class prop\n                  _this310.updateInstruction(elementIndex, input.sourceSpan, Identifiers$1.classProp, function () {\n                    return [literal(elementIndex), literal(attrName), _this310.convertPropertyBinding(_value5)].concat(params);\n                  });\n                }\n              }\n            }\n          });\n\n          if (propertyBindings.length > 0) {\n            this.updateInstructionChain(elementIndex, Identifiers$1.property, propertyBindings);\n          }\n\n          if (attributeBindings.length > 0) {\n            this.updateInstructionChain(elementIndex, Identifiers$1.attribute, attributeBindings);\n          } // Traverse element child nodes\n\n\n          visitAll(this, element.children);\n\n          if (!isI18nRootElement && this.i18n) {\n            this.i18n.appendElement(element.i18n, elementIndex, true);\n          }\n\n          if (!createSelfClosingInstruction) {\n            // Finish element construction mode.\n            var span = element.endSourceSpan || element.sourceSpan;\n\n            if (isI18nRootElement) {\n              this.i18nEnd(span, createSelfClosingI18nInstruction);\n            }\n\n            if (isNonBindableMode) {\n              this.creationInstruction(span, Identifiers$1.enableBindings);\n            }\n\n            this.creationInstruction(span, isNgContainer$1 ? Identifiers$1.elementContainerEnd : Identifiers$1.elementEnd);\n          }\n        }\n        /**\n         * Adds an update instruction for an interpolated property or attribute, such as\n         * `prop=\"{{value}}\"` or `attr.title=\"{{value}}\"`\n         */\n\n      }, {\n        key: \"interpolatedUpdateInstruction\",\n        value: function interpolatedUpdateInstruction(instruction, elementIndex, attrName, input, value, params) {\n          var _this311 = this;\n\n          this.updateInstruction(elementIndex, input.sourceSpan, instruction, function () {\n            return [literal(attrName)].concat(_toConsumableArray(_this311.getUpdateInstructionArguments(value)), _toConsumableArray(params));\n          });\n        }\n      }, {\n        key: \"visitTemplate\",\n        value: function visitTemplate(template) {\n          var _this312 = this;\n\n          var NG_TEMPLATE_TAG_NAME = 'ng-template';\n          var templateIndex = this.allocateDataSlot();\n\n          if (this.i18n) {\n            this.i18n.appendTemplate(template.i18n, templateIndex);\n          }\n\n          var tagName = sanitizeIdentifier(template.tagName || '');\n          var contextName = \"\".concat(this.contextName).concat(tagName ? '_' + tagName : '', \"_\").concat(templateIndex);\n          var templateName = \"\".concat(contextName, \"_Template\");\n          var parameters = [literal(templateIndex), variable(templateName), // We don't care about the tag's namespace here, because we infer\n          // it based on the parent nodes inside the template instruction.\n          literal(template.tagName ? splitNsName(template.tagName)[1] : template.tagName)]; // find directives matching on a given <ng-template> node\n\n          this.matchDirectives(NG_TEMPLATE_TAG_NAME, template); // prepare attributes parameter (including attributes used for directive matching)\n\n          var attrsExprs = [];\n          template.attributes.forEach(function (a) {\n            attrsExprs.push(asLiteral(a.name), asLiteral(a.value));\n          });\n          attrsExprs.push.apply(attrsExprs, _toConsumableArray(this.prepareNonRenderAttrs(template.inputs, template.outputs, undefined, template.templateAttrs)));\n          parameters.push(this.toAttrsParam(attrsExprs)); // local refs (ex.: <ng-template #foo>)\n\n          if (template.references && template.references.length) {\n            parameters.push(this.prepareRefsParameter(template.references));\n            parameters.push(importExpr(Identifiers$1.templateRefExtractor));\n          } // Create the template function\n\n\n          var templateVisitor = new TemplateDefinitionBuilder(this.constantPool, this._bindingScope, this.level + 1, contextName, this.i18n, templateIndex, templateName, this.directiveMatcher, this.directives, this.pipeTypeByName, this.pipes, this._namespace, this.fileBasedI18nSuffix, this.i18nUseExternalIds); // Nested templates must not be visited until after their parent templates have completed\n          // processing, so they are queued here until after the initial pass. Otherwise, we wouldn't\n          // be able to support bindings in nested templates to local refs that occur after the\n          // template definition. e.g. <div *ngIf=\"showing\">{{ foo }}</div>  <div #foo></div>\n\n          this._nestedTemplateFns.push(function () {\n            var templateFunctionExpr = templateVisitor.buildTemplateFunction(template.children, template.variables, _this312._ngContentReservedSlots.length + _this312._ngContentSelectorsOffset, template.i18n);\n\n            _this312.constantPool.statements.push(templateFunctionExpr.toDeclStmt(templateName, null));\n\n            if (templateVisitor._ngContentReservedSlots.length) {\n              var _this312$_ngContentRe;\n\n              (_this312$_ngContentRe = _this312._ngContentReservedSlots).push.apply(_this312$_ngContentRe, _toConsumableArray(templateVisitor._ngContentReservedSlots));\n            }\n          }); // e.g. template(1, MyComp_Template_1)\n\n\n          this.creationInstruction(template.sourceSpan, Identifiers$1.templateCreate, function () {\n            parameters.splice(2, 0, literal(templateVisitor.getConstCount()), literal(templateVisitor.getVarCount()));\n            return trimTrailingNulls(parameters);\n          }); // handle property bindings e.g. ɵɵproperty('ngForOf', ctx.items), et al;\n\n          this.templatePropertyBindings(templateIndex, template.templateAttrs); // Only add normal input/output binding instructions on explicit ng-template elements.\n\n          if (template.tagName === NG_TEMPLATE_TAG_NAME) {\n            // Add the input bindings\n            this.templatePropertyBindings(templateIndex, template.inputs); // Generate listeners for directive output\n\n            template.outputs.forEach(function (outputAst) {\n              _this312.creationInstruction(outputAst.sourceSpan, Identifiers$1.listener, _this312.prepareListenerParameter('ng_template', outputAst, templateIndex));\n            });\n          }\n        }\n      }, {\n        key: \"visitBoundText\",\n        value: function visitBoundText(text) {\n          var _this313 = this;\n\n          if (this.i18n) {\n            var _value6 = text.value.visit(this._valueConverter);\n\n            this.allocateBindingSlots(_value6);\n\n            if (_value6 instanceof Interpolation) {\n              this.i18n.appendBoundText(text.i18n);\n              this.i18nAppendBindings(_value6.expressions);\n            }\n\n            return;\n          }\n\n          var nodeIndex = this.allocateDataSlot();\n          this.creationInstruction(text.sourceSpan, Identifiers$1.text, [literal(nodeIndex)]);\n          var value = text.value.visit(this._valueConverter);\n          this.allocateBindingSlots(value);\n\n          if (value instanceof Interpolation) {\n            this.updateInstruction(nodeIndex, text.sourceSpan, getTextInterpolationExpression(value), function () {\n              return _this313.getUpdateInstructionArguments(value);\n            });\n          } else {\n            this.updateInstruction(nodeIndex, text.sourceSpan, Identifiers$1.textBinding, function () {\n              return [_this313.convertPropertyBinding(value)];\n            });\n          }\n        }\n      }, {\n        key: \"visitText\",\n        value: function visitText(text) {\n          // when a text element is located within a translatable\n          // block, we exclude this text element from instructions set,\n          // since it will be captured in i18n content and processed at runtime\n          if (!this.i18n) {\n            this.creationInstruction(text.sourceSpan, Identifiers$1.text, [literal(this.allocateDataSlot()), literal(text.value)]);\n          }\n        }\n      }, {\n        key: \"visitIcu\",\n        value: function visitIcu(icu) {\n          var _this314 = this;\n\n          var initWasInvoked = false; // if an ICU was created outside of i18n block, we still treat\n          // it as a translatable entity and invoke i18nStart and i18nEnd\n          // to generate i18n context and the necessary instructions\n\n          if (!this.i18n) {\n            initWasInvoked = true;\n            this.i18nStart(null, icu.i18n, true);\n          }\n\n          var i18n = this.i18n;\n          var vars = this.i18nBindProps(icu.vars);\n          var placeholders = this.i18nBindProps(icu.placeholders); // output ICU directly and keep ICU reference in context\n\n          var message = icu.i18n; // we always need post-processing function for ICUs, to make sure that:\n          // - all placeholders in a form of {PLACEHOLDER} are replaced with actual values (note:\n          // `goog.getMsg` does not process ICUs and uses the `{PLACEHOLDER}` format for placeholders\n          // inside ICUs)\n          // - all ICU vars (such as `VAR_SELECT` or `VAR_PLURAL`) are replaced with correct values\n\n          var transformFn = function transformFn(raw) {\n            var params = Object.assign({}, vars, placeholders);\n\n            var formatted = _this314.i18nFormatPlaceholderNames(params,\n            /* useCamelCase */\n            false);\n\n            return instruction(null, Identifiers$1.i18nPostprocess, [raw, mapLiteral(formatted, true)]);\n          }; // in case the whole i18n message is a single ICU - we do not need to\n          // create a separate top-level translation, we can use the root ref instead\n          // and make this ICU a top-level translation\n          // note: ICU placeholders are replaced with actual values in `i18nPostprocess` function\n          // separately, so we do not pass placeholders into `i18nTranslate` function.\n\n\n          if (isSingleI18nIcu(i18n.meta)) {\n            this.i18nTranslate(message,\n            /* placeholders */\n            {}, i18n.ref, transformFn);\n          } else {\n            // output ICU directly and keep ICU reference in context\n            var ref = this.i18nTranslate(message,\n            /* placeholders */\n            {},\n            /* ref */\n            undefined, transformFn);\n            i18n.appendIcu(icuFromI18nMessage(message).name, ref);\n          }\n\n          if (initWasInvoked) {\n            this.i18nEnd(null, true);\n          }\n\n          return null;\n        }\n      }, {\n        key: \"allocateDataSlot\",\n        value: function allocateDataSlot() {\n          return this._dataIndex++;\n        }\n      }, {\n        key: \"getConstCount\",\n        value: function getConstCount() {\n          return this._dataIndex;\n        }\n      }, {\n        key: \"getVarCount\",\n        value: function getVarCount() {\n          return this._pureFunctionSlots;\n        }\n      }, {\n        key: \"getNgContentSelectors\",\n        value: function getNgContentSelectors() {\n          return this._ngContentReservedSlots.length ? this.constantPool.getConstLiteral(asLiteral(this._ngContentReservedSlots), true) : null;\n        }\n      }, {\n        key: \"bindingContext\",\n        value: function bindingContext() {\n          return \"\".concat(this._bindingContext++);\n        }\n      }, {\n        key: \"templatePropertyBindings\",\n        value: function templatePropertyBindings(templateIndex, attrs) {\n          var _this315 = this;\n\n          var propertyBindings = [];\n          attrs.forEach(function (input) {\n            if (input instanceof BoundAttribute) {\n              var _value7 = input.value.visit(_this315._valueConverter);\n\n              if (_value7 !== undefined) {\n                _this315.allocateBindingSlots(_value7);\n\n                propertyBindings.push({\n                  name: input.name,\n                  sourceSpan: input.sourceSpan,\n                  value: function value() {\n                    return _this315.convertPropertyBinding(_value7);\n                  }\n                });\n              }\n            }\n          });\n\n          if (propertyBindings.length > 0) {\n            this.updateInstructionChain(templateIndex, Identifiers$1.property, propertyBindings);\n          }\n        } // Bindings must only be resolved after all local refs have been visited, so all\n        // instructions are queued in callbacks that execute once the initial pass has completed.\n        // Otherwise, we wouldn't be able to support local refs that are defined after their\n        // bindings. e.g. {{ foo }} <div #foo></div>\n\n      }, {\n        key: \"instructionFn\",\n        value: function instructionFn(fns, span, reference, paramsOrFn) {\n          var prepend = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;\n          fns[prepend ? 'unshift' : 'push'](function () {\n            var params = Array.isArray(paramsOrFn) ? paramsOrFn : paramsOrFn();\n            return instruction(span, reference, params).toStmt();\n          });\n        }\n      }, {\n        key: \"processStylingInstruction\",\n        value: function processStylingInstruction(elementIndex, instruction, createMode) {\n          var _this316 = this;\n\n          if (instruction) {\n            if (createMode) {\n              this.creationInstruction(instruction.sourceSpan, instruction.reference, function () {\n                return instruction.params(function (value) {\n                  return _this316.convertPropertyBinding(value);\n                });\n              });\n            } else {\n              this.updateInstruction(elementIndex, instruction.sourceSpan, instruction.reference, function () {\n                return instruction.params(function (value) {\n                  return instruction.supportsInterpolation && value instanceof Interpolation ? _this316.getUpdateInstructionArguments(value) : _this316.convertPropertyBinding(value);\n                });\n              });\n            }\n          }\n        }\n      }, {\n        key: \"creationInstruction\",\n        value: function creationInstruction(span, reference, paramsOrFn, prepend) {\n          this.instructionFn(this._creationCodeFns, span, reference, paramsOrFn || [], prepend);\n        }\n      }, {\n        key: \"updateInstruction\",\n        value: function updateInstruction(nodeIndex, span, reference, paramsOrFn) {\n          this.addSelectInstructionIfNecessary(nodeIndex, span);\n          this.instructionFn(this._updateCodeFns, span, reference, paramsOrFn || []);\n        }\n      }, {\n        key: \"updateInstructionChain\",\n        value: function updateInstructionChain(nodeIndex, reference, bindings) {\n          var span = bindings.length ? bindings[0].sourceSpan : null;\n          this.addSelectInstructionIfNecessary(nodeIndex, span);\n\n          this._updateCodeFns.push(function () {\n            var calls = bindings.map(function (property) {\n              var fnParams = [property.value()].concat(_toConsumableArray(property.params || []));\n\n              if (property.name) {\n                fnParams.unshift(literal(property.name));\n              }\n\n              return fnParams;\n            });\n            return chainedInstruction(reference, calls, span).toStmt();\n          });\n        }\n      }, {\n        key: \"addSelectInstructionIfNecessary\",\n        value: function addSelectInstructionIfNecessary(nodeIndex, span) {\n          if (this._lastNodeIndexWithFlush < nodeIndex) {\n            if (nodeIndex > 0) {\n              this.instructionFn(this._updateCodeFns, span, Identifiers$1.select, [literal(nodeIndex)]);\n            }\n\n            this._lastNodeIndexWithFlush = nodeIndex;\n          }\n        }\n      }, {\n        key: \"allocatePureFunctionSlots\",\n        value: function allocatePureFunctionSlots(numSlots) {\n          var originalSlots = this._pureFunctionSlots;\n          this._pureFunctionSlots += numSlots;\n          return originalSlots;\n        }\n      }, {\n        key: \"allocateBindingSlots\",\n        value: function allocateBindingSlots(value) {\n          this._bindingSlots += value instanceof Interpolation ? value.expressions.length : 1;\n        }\n        /**\n         * Gets an expression that refers to the implicit receiver. The implicit\n         * receiver is always the root level context.\n         */\n\n      }, {\n        key: \"getImplicitReceiverExpr\",\n        value: function getImplicitReceiverExpr() {\n          if (this._implicitReceiverExpr) {\n            return this._implicitReceiverExpr;\n          }\n\n          return this._implicitReceiverExpr = this.level === 0 ? variable(CONTEXT_NAME) : this._bindingScope.getOrCreateSharedContextVar(0);\n        }\n      }, {\n        key: \"convertExpressionBinding\",\n        value: function convertExpressionBinding(value) {\n          var convertedPropertyBinding = _convertPropertyBinding(this, this.getImplicitReceiverExpr(), value, this.bindingContext(), BindingForm.TrySimple);\n\n          return convertedPropertyBinding.currValExpr;\n        }\n      }, {\n        key: \"convertPropertyBinding\",\n        value: function convertPropertyBinding(value) {\n          var _this$_tempVariables;\n\n          var convertedPropertyBinding = _convertPropertyBinding(this, this.getImplicitReceiverExpr(), value, this.bindingContext(), BindingForm.TrySimple, function () {\n            return error('Unexpected interpolation');\n          });\n\n          var valExpr = convertedPropertyBinding.currValExpr;\n\n          (_this$_tempVariables = this._tempVariables).push.apply(_this$_tempVariables, _toConsumableArray(convertedPropertyBinding.stmts));\n\n          return valExpr;\n        }\n        /**\n         * Gets a list of argument expressions to pass to an update instruction expression. Also updates\n         * the temp variables state with temp variables that were identified as needing to be created\n         * while visiting the arguments.\n         * @param value The original expression we will be resolving an arguments list from.\n         */\n\n      }, {\n        key: \"getUpdateInstructionArguments\",\n        value: function getUpdateInstructionArguments(value) {\n          var _this$_tempVariables2;\n\n          var _convertUpdateArgumen = convertUpdateArguments(this, this.getImplicitReceiverExpr(), value, this.bindingContext()),\n              args = _convertUpdateArgumen.args,\n              stmts = _convertUpdateArgumen.stmts;\n\n          (_this$_tempVariables2 = this._tempVariables).push.apply(_this$_tempVariables2, _toConsumableArray(stmts));\n\n          return args;\n        }\n      }, {\n        key: \"matchDirectives\",\n        value: function matchDirectives(tagName, elOrTpl) {\n          var _this317 = this;\n\n          if (this.directiveMatcher) {\n            var selector = createCssSelector(tagName, getAttrsForDirectiveMatching(elOrTpl));\n            this.directiveMatcher.match(selector, function (cssSelector, staticType) {\n              _this317.directives.add(staticType);\n            });\n          }\n        }\n        /**\n         * Prepares all attribute expression values for the `TAttributes` array.\n         *\n         * The purpose of this function is to properly construct an attributes array that\n         * is passed into the `elementStart` (or just `element`) functions. Because there\n         * are many different types of attributes, the array needs to be constructed in a\n         * special way so that `elementStart` can properly evaluate them.\n         *\n         * The format looks like this:\n         *\n         * ```\n         * attrs = [prop, value, prop2, value2,\n         *   CLASSES, class1, class2,\n         *   STYLES, style1, value1, style2, value2,\n         *   BINDINGS, name1, name2, name3,\n         *   TEMPLATE, name4, name5, name6,\n         *   I18N, name7, name8, ...]\n         * ```\n         *\n         * Note that this function will fully ignore all synthetic (@foo) attribute values\n         * because those values are intended to always be generated as property instructions.\n         */\n\n      }, {\n        key: \"prepareNonRenderAttrs\",\n        value: function prepareNonRenderAttrs(inputs, outputs, styles) {\n          var templateAttrs = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : [];\n          var i18nAttrs = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : [];\n          var alreadySeen = new Set();\n          var attrExprs = [];\n\n          function addAttrExpr(key, value) {\n            if (typeof key === 'string') {\n              if (!alreadySeen.has(key)) {\n                attrExprs.push.apply(attrExprs, _toConsumableArray(getAttributeNameLiterals(key)));\n                value !== undefined && attrExprs.push(value);\n                alreadySeen.add(key);\n              }\n            } else {\n              attrExprs.push(literal(key));\n            }\n          } // it's important that this occurs before BINDINGS and TEMPLATE because once `elementStart`\n          // comes across the BINDINGS or TEMPLATE markers then it will continue reading each value as\n          // as single property value cell by cell.\n\n\n          if (styles) {\n            styles.populateInitialStylingAttrs(attrExprs);\n          }\n\n          if (inputs.length || outputs.length) {\n            var attrsLengthBeforeInputs = attrExprs.length;\n\n            for (var i = 0; i < inputs.length; i++) {\n              var input = inputs[i]; // We don't want the animation and attribute bindings in the\n              // attributes array since they aren't used for directive matching.\n\n              if (input.type !== 4\n              /* Animation */\n              && input.type !== 1\n              /* Attribute */\n              ) {\n                  addAttrExpr(input.name);\n                }\n            }\n\n            for (var _i18 = 0; _i18 < outputs.length; _i18++) {\n              var output = outputs[_i18];\n\n              if (output.type !== 1\n              /* Animation */\n              ) {\n                  addAttrExpr(output.name);\n                }\n            } // this is a cheap way of adding the marker only after all the input/output\n            // values have been filtered (by not including the animation ones) and added\n            // to the expressions. The marker is important because it tells the runtime\n            // code that this is where attributes without values start...\n\n\n            if (attrExprs.length !== attrsLengthBeforeInputs) {\n              attrExprs.splice(attrsLengthBeforeInputs, 0, literal(3\n              /* Bindings */\n              ));\n            }\n          }\n\n          if (templateAttrs.length) {\n            attrExprs.push(literal(4\n            /* Template */\n            ));\n            templateAttrs.forEach(function (attr) {\n              return addAttrExpr(attr.name);\n            });\n          }\n\n          if (i18nAttrs.length) {\n            attrExprs.push(literal(6\n            /* I18n */\n            ));\n            i18nAttrs.forEach(function (attr) {\n              return addAttrExpr(attr.name);\n            });\n          }\n\n          return attrExprs;\n        }\n      }, {\n        key: \"toAttrsParam\",\n        value: function toAttrsParam(attrsExprs) {\n          return attrsExprs.length > 0 ? this.constantPool.getConstLiteral(literalArr(attrsExprs), true) : TYPED_NULL_EXPR;\n        }\n      }, {\n        key: \"prepareRefsParameter\",\n        value: function prepareRefsParameter(references) {\n          var _this318 = this;\n\n          if (!references || references.length === 0) {\n            return TYPED_NULL_EXPR;\n          }\n\n          var refsParam = flatten(references.map(function (reference) {\n            var slot = _this318.allocateDataSlot(); // Generate the update temporary.\n\n\n            var variableName = _this318._bindingScope.freshReferenceName();\n\n            var retrievalLevel = _this318.level;\n            var lhs = variable(variableName);\n\n            _this318._bindingScope.set(retrievalLevel, reference.name, lhs, 0\n            /* DEFAULT */\n            , function (scope, relativeLevel) {\n              // e.g. nextContext(2);\n              var nextContextStmt = relativeLevel > 0 ? [generateNextContextExpr(relativeLevel).toStmt()] : []; // e.g. const $foo$ = reference(1);\n\n              var refExpr = lhs.set(importExpr(Identifiers$1.reference).callFn([literal(slot)]));\n              return nextContextStmt.concat(refExpr.toConstDecl());\n            }, true);\n\n            return [reference.name, reference.value];\n          }));\n          return this.constantPool.getConstLiteral(asLiteral(refsParam), true);\n        }\n      }, {\n        key: \"prepareListenerParameter\",\n        value: function prepareListenerParameter(tagName, outputAst, index) {\n          var _this319 = this;\n\n          return function () {\n            var eventName = outputAst.name;\n            var bindingFnName = outputAst.type === 1\n            /* Animation */\n            ? // synthetic @listener.foo values are treated the exact same as are standard listeners\n            prepareSyntheticListenerFunctionName(eventName, outputAst.phase) : sanitizeIdentifier(eventName);\n            var handlerName = \"\".concat(_this319.templateName, \"_\").concat(tagName, \"_\").concat(bindingFnName, \"_\").concat(index, \"_listener\");\n\n            var scope = _this319._bindingScope.nestedScope(_this319._bindingScope.bindingLevel);\n\n            return prepareEventListenerParameters(outputAst, handlerName, scope);\n          };\n        }\n      }]);\n\n      return TemplateDefinitionBuilder;\n    }();\n\n    var ValueConverter =\n    /*#__PURE__*/\n    function (_AstMemoryEfficientTr) {\n      _inherits(ValueConverter, _AstMemoryEfficientTr);\n\n      function ValueConverter(constantPool, allocateSlot, allocatePureFunctionSlots, definePipe) {\n        var _this320;\n\n        _classCallCheck(this, ValueConverter);\n\n        _this320 = _possibleConstructorReturn(this, _getPrototypeOf(ValueConverter).call(this));\n        _this320.constantPool = constantPool;\n        _this320.allocateSlot = allocateSlot;\n        _this320.allocatePureFunctionSlots = allocatePureFunctionSlots;\n        _this320.definePipe = definePipe;\n        _this320._pipeBindExprs = [];\n        return _this320;\n      } // AstMemoryEfficientTransformer\n\n\n      _createClass2(ValueConverter, [{\n        key: \"visitPipe\",\n        value: function visitPipe(pipe, context) {\n          // Allocate a slot to create the pipe\n          var slot = this.allocateSlot();\n          var slotPseudoLocal = \"PIPE:\".concat(slot); // Allocate one slot for the result plus one slot per pipe argument\n\n          var pureFunctionSlot = this.allocatePureFunctionSlots(2 + pipe.args.length);\n          var target = new PropertyRead(pipe.span, new ImplicitReceiver(pipe.span), slotPseudoLocal);\n\n          var _pipeBindingCallInfo = pipeBindingCallInfo(pipe.args),\n              identifier = _pipeBindingCallInfo.identifier,\n              isVarLength = _pipeBindingCallInfo.isVarLength;\n\n          this.definePipe(pipe.name, slotPseudoLocal, slot, importExpr(identifier));\n          var args = [pipe.exp].concat(_toConsumableArray(pipe.args));\n          var convertedArgs = isVarLength ? this.visitAll([new LiteralArray(pipe.span, args)]) : this.visitAll(args);\n          var pipeBindExpr = new FunctionCall(pipe.span, target, [new LiteralPrimitive(pipe.span, slot), new LiteralPrimitive(pipe.span, pureFunctionSlot)].concat(_toConsumableArray(convertedArgs)));\n\n          this._pipeBindExprs.push(pipeBindExpr);\n\n          return pipeBindExpr;\n        }\n      }, {\n        key: \"updatePipeSlotOffsets\",\n        value: function updatePipeSlotOffsets(bindingSlots) {\n          this._pipeBindExprs.forEach(function (pipe) {\n            // update the slot offset arg (index 1) to account for binding slots\n            var slotOffset = pipe.args[1];\n            slotOffset.value += bindingSlots;\n          });\n        }\n      }, {\n        key: \"visitLiteralArray\",\n        value: function visitLiteralArray(array, context) {\n          var _this321 = this;\n\n          return new BuiltinFunctionCall(array.span, this.visitAll(array.expressions), function (values) {\n            // If the literal has calculated (non-literal) elements transform it into\n            // calls to literal factories that compose the literal and will cache intermediate\n            // values. Otherwise, just return an literal array that contains the values.\n            var literal = literalArr(values);\n            return values.every(function (a) {\n              return a.isConstant();\n            }) ? _this321.constantPool.getConstLiteral(literal, true) : getLiteralFactory(_this321.constantPool, literal, _this321.allocatePureFunctionSlots);\n          });\n        }\n      }, {\n        key: \"visitLiteralMap\",\n        value: function visitLiteralMap(map, context) {\n          var _this322 = this;\n\n          return new BuiltinFunctionCall(map.span, this.visitAll(map.values), function (values) {\n            // If the literal has calculated (non-literal) elements  transform it into\n            // calls to literal factories that compose the literal and will cache intermediate\n            // values. Otherwise, just return an literal array that contains the values.\n            var literal = literalMap(values.map(function (value, index) {\n              return {\n                key: map.keys[index].key,\n                value: value,\n                quoted: map.keys[index].quoted\n              };\n            }));\n            return values.every(function (a) {\n              return a.isConstant();\n            }) ? _this322.constantPool.getConstLiteral(literal, true) : getLiteralFactory(_this322.constantPool, literal, _this322.allocatePureFunctionSlots);\n          });\n        }\n      }]);\n\n      return ValueConverter;\n    }(AstMemoryEfficientTransformer); // Pipes always have at least one parameter, the value they operate on\n\n\n    var pipeBindingIdentifiers = [Identifiers$1.pipeBind1, Identifiers$1.pipeBind2, Identifiers$1.pipeBind3, Identifiers$1.pipeBind4];\n\n    function pipeBindingCallInfo(args) {\n      var identifier = pipeBindingIdentifiers[args.length];\n      return {\n        identifier: identifier || Identifiers$1.pipeBindV,\n        isVarLength: !identifier\n      };\n    }\n\n    var pureFunctionIdentifiers = [Identifiers$1.pureFunction0, Identifiers$1.pureFunction1, Identifiers$1.pureFunction2, Identifiers$1.pureFunction3, Identifiers$1.pureFunction4, Identifiers$1.pureFunction5, Identifiers$1.pureFunction6, Identifiers$1.pureFunction7, Identifiers$1.pureFunction8];\n\n    function pureFunctionCallInfo(args) {\n      var identifier = pureFunctionIdentifiers[args.length];\n      return {\n        identifier: identifier || Identifiers$1.pureFunctionV,\n        isVarLength: !identifier\n      };\n    }\n\n    function instruction(span, reference, params) {\n      return importExpr(reference, null, span).callFn(params, span);\n    } // e.g. x(2);\n\n\n    function generateNextContextExpr(relativeLevelDiff) {\n      return importExpr(Identifiers$1.nextContext).callFn(relativeLevelDiff > 1 ? [literal(relativeLevelDiff)] : []);\n    }\n\n    function getLiteralFactory(constantPool, literal$1, allocateSlots) {\n      var _constantPool$getLite = constantPool.getLiteralFactory(literal$1),\n          literalFactory = _constantPool$getLite.literalFactory,\n          literalFactoryArguments = _constantPool$getLite.literalFactoryArguments; // Allocate 1 slot for the result plus 1 per argument\n\n\n      var startSlot = allocateSlots(1 + literalFactoryArguments.length);\n      literalFactoryArguments.length > 0 || error(\"Expected arguments to a literal factory function\");\n\n      var _pureFunctionCallInfo = pureFunctionCallInfo(literalFactoryArguments),\n          identifier = _pureFunctionCallInfo.identifier,\n          isVarLength = _pureFunctionCallInfo.isVarLength; // Literal factories are pure functions that only need to be re-invoked when the parameters\n      // change.\n\n\n      var args = [literal(startSlot), literalFactory];\n\n      if (isVarLength) {\n        args.push(literalArr(literalFactoryArguments));\n      } else {\n        args.push.apply(args, _toConsumableArray(literalFactoryArguments));\n      }\n\n      return importExpr(identifier).callFn(args);\n    }\n    /**\n     * Gets an array of literals that can be added to an expression\n     * to represent the name and namespace of an attribute. E.g.\n     * `:xlink:href` turns into `[AttributeMarker.NamespaceURI, 'xlink', 'href']`.\n     *\n     * @param name Name of the attribute, including the namespace.\n     */\n\n\n    function getAttributeNameLiterals(name) {\n      var _splitNsName5 = splitNsName(name),\n          _splitNsName6 = _slicedToArray(_splitNsName5, 2),\n          attributeNamespace = _splitNsName6[0],\n          attributeName = _splitNsName6[1];\n\n      var nameLiteral = literal(attributeName);\n\n      if (attributeNamespace) {\n        return [literal(0\n        /* NamespaceURI */\n        ), literal(attributeNamespace), nameLiteral];\n      }\n\n      return [nameLiteral];\n    }\n    /** The prefix used to get a shared context in BindingScope's map. */\n\n\n    var SHARED_CONTEXT_KEY = '$$shared_ctx$$';\n\n    var BindingScope =\n    /*#__PURE__*/\n    function () {\n      function BindingScope() {\n        var bindingLevel = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n        var parent = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n\n        _classCallCheck(this, BindingScope);\n\n        this.bindingLevel = bindingLevel;\n        this.parent = parent;\n        /** Keeps a map from local variables to their BindingData. */\n\n        this.map = new Map();\n        this.referenceNameIndex = 0;\n        this.restoreViewVariable = null;\n      }\n\n      _createClass2(BindingScope, [{\n        key: \"get\",\n        value: function get(name) {\n          var current = this;\n\n          while (current) {\n            var value = current.map.get(name);\n\n            if (value != null) {\n              if (current !== this) {\n                // make a local copy and reset the `declare` state\n                value = {\n                  retrievalLevel: value.retrievalLevel,\n                  lhs: value.lhs,\n                  declareLocalCallback: value.declareLocalCallback,\n                  declare: false,\n                  priority: value.priority,\n                  localRef: value.localRef\n                }; // Cache the value locally.\n\n                this.map.set(name, value); // Possibly generate a shared context var\n\n                this.maybeGenerateSharedContextVar(value);\n                this.maybeRestoreView(value.retrievalLevel, value.localRef);\n              }\n\n              if (value.declareLocalCallback && !value.declare) {\n                value.declare = true;\n              }\n\n              return value.lhs;\n            }\n\n            current = current.parent;\n          } // If we get to this point, we are looking for a property on the top level component\n          // - If level === 0, we are on the top and don't need to re-declare `ctx`.\n          // - If level > 0, we are in an embedded view. We need to retrieve the name of the\n          // local var we used to store the component context, e.g. const $comp$ = x();\n\n\n          return this.bindingLevel === 0 ? null : this.getComponentProperty(name);\n        }\n        /**\n         * Create a local variable for later reference.\n         *\n         * @param retrievalLevel The level from which this value can be retrieved\n         * @param name Name of the variable.\n         * @param lhs AST representing the left hand side of the `let lhs = rhs;`.\n         * @param priority The sorting priority of this var\n         * @param declareLocalCallback The callback to invoke when declaring this local var\n         * @param localRef Whether or not this is a local ref\n         */\n\n      }, {\n        key: \"set\",\n        value: function set(retrievalLevel, name, lhs) {\n          var priority = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0;\n          var\n          /* DEFAULT */\n          declareLocalCallback = arguments.length > 4 ? arguments[4] : undefined;\n          var localRef = arguments.length > 5 ? arguments[5] : undefined;\n\n          if (this.map.has(name)) {\n            if (localRef) {\n              // Do not throw an error if it's a local ref and do not update existing value,\n              // so the first defined ref is always returned.\n              return this;\n            }\n\n            error(\"The name \".concat(name, \" is already defined in scope to be \").concat(this.map.get(name)));\n          }\n\n          this.map.set(name, {\n            retrievalLevel: retrievalLevel,\n            lhs: lhs,\n            declare: false,\n            declareLocalCallback: declareLocalCallback,\n            priority: priority,\n            localRef: localRef || false\n          });\n          return this;\n        } // Implemented as part of LocalResolver.\n\n      }, {\n        key: \"getLocal\",\n        value: function getLocal(name) {\n          return this.get(name);\n        } // Implemented as part of LocalResolver.\n\n      }, {\n        key: \"notifyImplicitReceiverUse\",\n        value: function notifyImplicitReceiverUse() {\n          if (this.bindingLevel !== 0) {\n            // Since the implicit receiver is accessed in an embedded view, we need to\n            // ensure that we declare a shared context variable for the current template\n            // in the update variables.\n            this.map.get(SHARED_CONTEXT_KEY + 0).declare = true;\n          }\n        }\n      }, {\n        key: \"nestedScope\",\n        value: function nestedScope(level) {\n          var newScope = new BindingScope(level, this);\n          if (level > 0) newScope.generateSharedContextVar(0);\n          return newScope;\n        }\n        /**\n         * Gets or creates a shared context variable and returns its expression. Note that\n         * this does not mean that the shared variable will be declared. Variables in the\n         * binding scope will be only declared if they are used.\n         */\n\n      }, {\n        key: \"getOrCreateSharedContextVar\",\n        value: function getOrCreateSharedContextVar(retrievalLevel) {\n          var bindingKey = SHARED_CONTEXT_KEY + retrievalLevel;\n\n          if (!this.map.has(bindingKey)) {\n            this.generateSharedContextVar(retrievalLevel);\n          } // Shared context variables are always generated as \"ReadVarExpr\".\n\n\n          return this.map.get(bindingKey).lhs;\n        }\n      }, {\n        key: \"getSharedContextName\",\n        value: function getSharedContextName(retrievalLevel) {\n          var sharedCtxObj = this.map.get(SHARED_CONTEXT_KEY + retrievalLevel); // Shared context variables are always generated as \"ReadVarExpr\".\n\n          return sharedCtxObj && sharedCtxObj.declare ? sharedCtxObj.lhs : null;\n        }\n      }, {\n        key: \"maybeGenerateSharedContextVar\",\n        value: function maybeGenerateSharedContextVar(value) {\n          if (value.priority === 1\n          /* CONTEXT */\n          && value.retrievalLevel < this.bindingLevel) {\n            var sharedCtxObj = this.map.get(SHARED_CONTEXT_KEY + value.retrievalLevel);\n\n            if (sharedCtxObj) {\n              sharedCtxObj.declare = true;\n            } else {\n              this.generateSharedContextVar(value.retrievalLevel);\n            }\n          }\n        }\n      }, {\n        key: \"generateSharedContextVar\",\n        value: function generateSharedContextVar(retrievalLevel) {\n          var lhs = variable(CONTEXT_NAME + this.freshReferenceName());\n          this.map.set(SHARED_CONTEXT_KEY + retrievalLevel, {\n            retrievalLevel: retrievalLevel,\n            lhs: lhs,\n            declareLocalCallback: function declareLocalCallback(scope, relativeLevel) {\n              // const ctx_r0 = nextContext(2);\n              return [lhs.set(generateNextContextExpr(relativeLevel)).toConstDecl()];\n            },\n            declare: false,\n            priority: 2\n            /* SHARED_CONTEXT */\n            ,\n            localRef: false\n          });\n        }\n      }, {\n        key: \"getComponentProperty\",\n        value: function getComponentProperty(name) {\n          var componentValue = this.map.get(SHARED_CONTEXT_KEY + 0);\n          componentValue.declare = true;\n          this.maybeRestoreView(0, false);\n          return componentValue.lhs.prop(name);\n        }\n      }, {\n        key: \"maybeRestoreView\",\n        value: function maybeRestoreView(retrievalLevel, localRefLookup) {\n          // We want to restore the current view in listener fns if:\n          // 1 - we are accessing a value in a parent view, which requires walking the view tree rather\n          // than using the ctx arg. In this case, the retrieval and binding level will be different.\n          // 2 - we are looking up a local ref, which requires restoring the view where the local\n          // ref is stored\n          if (this.isListenerScope() && (retrievalLevel < this.bindingLevel || localRefLookup)) {\n            if (!this.parent.restoreViewVariable) {\n              // parent saves variable to generate a shared `const $s$ = getCurrentView();` instruction\n              this.parent.restoreViewVariable = variable(this.parent.freshReferenceName());\n            }\n\n            this.restoreViewVariable = this.parent.restoreViewVariable;\n          }\n        }\n      }, {\n        key: \"restoreViewStatement\",\n        value: function restoreViewStatement() {\n          // restoreView($state$);\n          return this.restoreViewVariable ? [instruction(null, Identifiers$1.restoreView, [this.restoreViewVariable]).toStmt()] : [];\n        }\n      }, {\n        key: \"viewSnapshotStatements\",\n        value: function viewSnapshotStatements() {\n          // const $state$ = getCurrentView();\n          var getCurrentViewInstruction = instruction(null, Identifiers$1.getCurrentView, []);\n          return this.restoreViewVariable ? [this.restoreViewVariable.set(getCurrentViewInstruction).toConstDecl()] : [];\n        }\n      }, {\n        key: \"isListenerScope\",\n        value: function isListenerScope() {\n          return this.parent && this.parent.bindingLevel === this.bindingLevel;\n        }\n      }, {\n        key: \"variableDeclarations\",\n        value: function variableDeclarations() {\n          var _this323 = this;\n\n          var currentContextLevel = 0;\n          return Array.from(this.map.values()).filter(function (value) {\n            return value.declare;\n          }).sort(function (a, b) {\n            return b.retrievalLevel - a.retrievalLevel || b.priority - a.priority;\n          }).reduce(function (stmts, value) {\n            var levelDiff = _this323.bindingLevel - value.retrievalLevel;\n            var currStmts = value.declareLocalCallback(_this323, levelDiff - currentContextLevel);\n            currentContextLevel = levelDiff;\n            return stmts.concat(currStmts);\n          }, []);\n        }\n      }, {\n        key: \"freshReferenceName\",\n        value: function freshReferenceName() {\n          var current = this; // Find the top scope as it maintains the global reference count\n\n          while (current.parent) {\n            current = current.parent;\n          }\n\n          var ref = \"\".concat(REFERENCE_PREFIX).concat(current.referenceNameIndex++);\n          return ref;\n        }\n      }], [{\n        key: \"ROOT_SCOPE\",\n        get: function get() {\n          if (!BindingScope._ROOT_SCOPE) {\n            BindingScope._ROOT_SCOPE = new BindingScope().set(0, '$event', variable('$event'));\n          }\n\n          return BindingScope._ROOT_SCOPE;\n        }\n      }]);\n\n      return BindingScope;\n    }();\n    /**\n     * Creates a `CssSelector` given a tag name and a map of attributes\n     */\n\n\n    function createCssSelector(tag, attributes) {\n      var cssSelector = new CssSelector();\n      cssSelector.setElement(tag);\n      Object.getOwnPropertyNames(attributes).forEach(function (name) {\n        var value = attributes[name];\n        cssSelector.addAttribute(name, value);\n\n        if (name.toLowerCase() === 'class') {\n          var classes = value.trim().split(/\\s+/);\n          classes.forEach(function (className) {\n            return cssSelector.addClassName(className);\n          });\n        }\n      });\n      return cssSelector;\n    }\n    /**\n     * Creates an array of expressions out of an `ngProjectAs` attributes\n     * which can be added to the instruction parameters.\n     */\n\n\n    function getNgProjectAsLiteral(attribute) {\n      // Parse the attribute value into a CssSelectorList. Note that we only take the\n      // first selector, because we don't support multiple selectors in ngProjectAs.\n      var parsedR3Selector = parseSelectorToR3Selector(attribute.value)[0];\n      return [literal(5\n      /* ProjectAs */\n      ), asLiteral(parsedR3Selector)];\n    }\n    /**\n     * Gets the instruction to generate for an interpolated property\n     * @param interpolation An Interpolation AST\n     */\n\n\n    function getPropertyInterpolationExpression(interpolation) {\n      switch (getInterpolationArgsLength(interpolation)) {\n        case 1:\n          return Identifiers$1.propertyInterpolate;\n\n        case 3:\n          return Identifiers$1.propertyInterpolate1;\n\n        case 5:\n          return Identifiers$1.propertyInterpolate2;\n\n        case 7:\n          return Identifiers$1.propertyInterpolate3;\n\n        case 9:\n          return Identifiers$1.propertyInterpolate4;\n\n        case 11:\n          return Identifiers$1.propertyInterpolate5;\n\n        case 13:\n          return Identifiers$1.propertyInterpolate6;\n\n        case 15:\n          return Identifiers$1.propertyInterpolate7;\n\n        case 17:\n          return Identifiers$1.propertyInterpolate8;\n\n        default:\n          return Identifiers$1.propertyInterpolateV;\n      }\n    }\n    /**\n     * Gets the instruction to generate for an interpolated attribute\n     * @param interpolation An Interpolation AST\n     */\n\n\n    function getAttributeInterpolationExpression(interpolation) {\n      switch (getInterpolationArgsLength(interpolation)) {\n        case 3:\n          return Identifiers$1.attributeInterpolate1;\n\n        case 5:\n          return Identifiers$1.attributeInterpolate2;\n\n        case 7:\n          return Identifiers$1.attributeInterpolate3;\n\n        case 9:\n          return Identifiers$1.attributeInterpolate4;\n\n        case 11:\n          return Identifiers$1.attributeInterpolate5;\n\n        case 13:\n          return Identifiers$1.attributeInterpolate6;\n\n        case 15:\n          return Identifiers$1.attributeInterpolate7;\n\n        case 17:\n          return Identifiers$1.attributeInterpolate8;\n\n        default:\n          return Identifiers$1.attributeInterpolateV;\n      }\n    }\n    /**\n     * Gets the instruction to generate for interpolated text.\n     * @param interpolation An Interpolation AST\n     */\n\n\n    function getTextInterpolationExpression(interpolation) {\n      switch (getInterpolationArgsLength(interpolation)) {\n        case 1:\n          return Identifiers$1.textInterpolate;\n\n        case 3:\n          return Identifiers$1.textInterpolate1;\n\n        case 5:\n          return Identifiers$1.textInterpolate2;\n\n        case 7:\n          return Identifiers$1.textInterpolate3;\n\n        case 9:\n          return Identifiers$1.textInterpolate4;\n\n        case 11:\n          return Identifiers$1.textInterpolate5;\n\n        case 13:\n          return Identifiers$1.textInterpolate6;\n\n        case 15:\n          return Identifiers$1.textInterpolate7;\n\n        case 17:\n          return Identifiers$1.textInterpolate8;\n\n        default:\n          return Identifiers$1.textInterpolateV;\n      }\n    }\n    /**\n     * Parse a template into render3 `Node`s and additional metadata, with no other dependencies.\n     *\n     * @param template text of the template to parse\n     * @param templateUrl URL to use for source mapping of the parsed template\n     * @param options options to modify how the template is parsed\n     */\n\n\n    function parseTemplate(template, templateUrl) {\n      var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n      var interpolationConfig = options.interpolationConfig,\n          preserveWhitespaces = options.preserveWhitespaces;\n      var bindingParser = makeBindingParser(interpolationConfig);\n      var htmlParser = new HtmlParser();\n      var parseResult = htmlParser.parse(template, templateUrl, Object.assign({\n        leadingTriviaChars: LEADING_TRIVIA_CHARS\n      }, options, {\n        tokenizeExpansionForms: true\n      }));\n\n      if (parseResult.errors && parseResult.errors.length > 0) {\n        return {\n          errors: parseResult.errors,\n          nodes: [],\n          styleUrls: [],\n          styles: []\n        };\n      }\n\n      var rootNodes = parseResult.rootNodes; // process i18n meta information (scan attributes, generate ids)\n      // before we run whitespace removal process, because existing i18n\n      // extraction process (ng xi18n) relies on a raw content to generate\n      // message ids\n\n      rootNodes = visitAll$1(new I18nMetaVisitor(interpolationConfig, !preserveWhitespaces), rootNodes);\n\n      if (!preserveWhitespaces) {\n        rootNodes = visitAll$1(new WhitespaceVisitor(), rootNodes); // run i18n meta visitor again in case we remove whitespaces, because\n        // that might affect generated i18n message content. During this pass\n        // i18n IDs generated at the first pass will be preserved, so we can mimic\n        // existing extraction process (ng xi18n)\n\n        rootNodes = visitAll$1(new I18nMetaVisitor(interpolationConfig,\n        /* keepI18nAttrs */\n        false), rootNodes);\n      }\n\n      var _htmlAstToRender3Ast = htmlAstToRender3Ast(rootNodes, bindingParser),\n          nodes = _htmlAstToRender3Ast.nodes,\n          errors = _htmlAstToRender3Ast.errors,\n          styleUrls = _htmlAstToRender3Ast.styleUrls,\n          styles = _htmlAstToRender3Ast.styles;\n\n      if (errors && errors.length > 0) {\n        return {\n          errors: errors,\n          nodes: [],\n          styleUrls: [],\n          styles: []\n        };\n      }\n\n      return {\n        nodes: nodes,\n        styleUrls: styleUrls,\n        styles: styles\n      };\n    }\n    /**\n     * Construct a `BindingParser` with a default configuration.\n     */\n\n\n    function makeBindingParser() {\n      var interpolationConfig = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : DEFAULT_INTERPOLATION_CONFIG;\n      return new BindingParser(new Parser$1(new Lexer()), interpolationConfig, new DomElementSchemaRegistry(), null, []);\n    }\n\n    function resolveSanitizationFn(context, isAttribute) {\n      switch (context) {\n        case SecurityContext.HTML:\n          return importExpr(Identifiers$1.sanitizeHtml);\n\n        case SecurityContext.SCRIPT:\n          return importExpr(Identifiers$1.sanitizeScript);\n\n        case SecurityContext.STYLE:\n          // the compiler does not fill in an instruction for [style.prop?] binding\n          // values because the style algorithm knows internally what props are subject\n          // to sanitization (only [attr.style] values are explicitly sanitized)\n          return isAttribute ? importExpr(Identifiers$1.sanitizeStyle) : null;\n\n        case SecurityContext.URL:\n          return importExpr(Identifiers$1.sanitizeUrl);\n\n        case SecurityContext.RESOURCE_URL:\n          return importExpr(Identifiers$1.sanitizeResourceUrl);\n\n        default:\n          return null;\n      }\n    }\n\n    function isSingleElementTemplate(children) {\n      return children.length === 1 && children[0] instanceof Element;\n    }\n\n    function isTextNode(node) {\n      return node instanceof Text || node instanceof BoundText || node instanceof Icu;\n    }\n\n    function hasTextChildrenOnly(children) {\n      return children.every(isTextNode);\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var EMPTY_ARRAY = []; // This regex matches any binding names that contain the \"attr.\" prefix, e.g. \"attr.required\"\n    // If there is a match, the first matching group will contain the attribute name to bind.\n\n    var ATTR_REGEX = /attr\\.([^\\]]+)/;\n\n    function getStylingPrefix(name) {\n      return name.substring(0, 5); // style or class\n    }\n\n    function baseDirectiveFields(meta, constantPool, bindingParser) {\n      var definitionMap = new DefinitionMap(); // e.g. `type: MyDirective`\n\n      definitionMap.set('type', meta.type); // e.g. `selectors: [['', 'someDir', '']]`\n\n      definitionMap.set('selectors', createDirectiveSelector(meta.selector)); // e.g. `factory: () => new MyApp(directiveInject(ElementRef))`\n\n      var result = compileFactoryFunction({\n        name: meta.name,\n        type: meta.type,\n        deps: meta.deps,\n        injectFn: Identifiers$1.directiveInject\n      });\n      definitionMap.set('factory', result.factory);\n\n      if (meta.queries.length > 0) {\n        // e.g. `contentQueries: (rf, ctx, dirIndex) => { ... }\n        definitionMap.set('contentQueries', createContentQueriesFunction(meta.queries, constantPool, meta.name));\n      }\n\n      if (meta.viewQueries.length) {\n        definitionMap.set('viewQuery', createViewQueriesFunction(meta.viewQueries, constantPool, meta.name));\n      } // e.g. `hostBindings: (rf, ctx, elIndex) => { ... }\n\n\n      definitionMap.set('hostBindings', createHostBindingsFunction(meta.host, meta.typeSourceSpan, bindingParser, constantPool, meta.selector || '', meta.name)); // e.g 'inputs: {a: 'a'}`\n\n      definitionMap.set('inputs', conditionallyCreateMapObjectLiteral(meta.inputs, true)); // e.g 'outputs: {a: 'a'}`\n\n      definitionMap.set('outputs', conditionallyCreateMapObjectLiteral(meta.outputs));\n\n      if (meta.exportAs !== null) {\n        definitionMap.set('exportAs', literalArr(meta.exportAs.map(function (e) {\n          return literal(e);\n        })));\n      }\n\n      return {\n        definitionMap: definitionMap,\n        statements: result.statements\n      };\n    }\n    /**\n     * Add features to the definition map.\n     */\n\n\n    function addFeatures(definitionMap, meta) {\n      // e.g. `features: [NgOnChangesFeature()]`\n      var features = [];\n      var providers = meta.providers;\n      var viewProviders = meta.viewProviders;\n\n      if (providers || viewProviders) {\n        var args = [providers || new LiteralArrayExpr([])];\n\n        if (viewProviders) {\n          args.push(viewProviders);\n        }\n\n        features.push(importExpr(Identifiers$1.ProvidersFeature).callFn(args));\n      }\n\n      if (meta.usesInheritance) {\n        features.push(importExpr(Identifiers$1.InheritDefinitionFeature));\n      }\n\n      if (meta.lifecycle.usesOnChanges) {\n        features.push(importExpr(Identifiers$1.NgOnChangesFeature).callFn(EMPTY_ARRAY));\n      }\n\n      if (features.length) {\n        definitionMap.set('features', literalArr(features));\n      }\n    }\n    /**\n     * Compile a directive for the render3 runtime as defined by the `R3DirectiveMetadata`.\n     */\n\n\n    function compileDirectiveFromMetadata(meta, constantPool, bindingParser) {\n      var _baseDirectiveFields = baseDirectiveFields(meta, constantPool, bindingParser),\n          definitionMap = _baseDirectiveFields.definitionMap,\n          statements = _baseDirectiveFields.statements;\n\n      addFeatures(definitionMap, meta);\n      var expression = importExpr(Identifiers$1.defineDirective).callFn([definitionMap.toLiteralMap()]);\n\n      if (!meta.selector) {\n        throw new Error(\"Directive \".concat(meta.name, \" has no selector, please add it!\"));\n      }\n\n      var type = createTypeForDef(meta, Identifiers$1.DirectiveDefWithMeta);\n      return {\n        expression: expression,\n        type: type,\n        statements: statements\n      };\n    }\n    /**\n     * Compile a base definition for the render3 runtime as defined by {@link R3BaseRefMetadata}\n     * @param meta the metadata used for compilation.\n     */\n\n\n    function compileBaseDefFromMetadata(meta, constantPool, bindingParser) {\n      var definitionMap = new DefinitionMap();\n\n      if (meta.inputs) {\n        var inputs = meta.inputs;\n        var inputsMap = Object.keys(inputs).map(function (key) {\n          var v = inputs[key];\n          var value = Array.isArray(v) ? literalArr(v.map(function (vx) {\n            return literal(vx);\n          })) : literal(v);\n          return {\n            key: key,\n            value: value,\n            quoted: false\n          };\n        });\n        definitionMap.set('inputs', literalMap(inputsMap));\n      }\n\n      if (meta.outputs) {\n        var outputs = meta.outputs;\n        var outputsMap = Object.keys(outputs).map(function (key) {\n          var value = literal(outputs[key]);\n          return {\n            key: key,\n            value: value,\n            quoted: false\n          };\n        });\n        definitionMap.set('outputs', literalMap(outputsMap));\n      }\n\n      if (meta.viewQueries && meta.viewQueries.length > 0) {\n        definitionMap.set('viewQuery', createViewQueriesFunction(meta.viewQueries, constantPool));\n      }\n\n      if (meta.queries && meta.queries.length > 0) {\n        definitionMap.set('contentQueries', createContentQueriesFunction(meta.queries, constantPool));\n      }\n\n      if (meta.host) {\n        definitionMap.set('hostBindings', createHostBindingsFunction(meta.host, meta.typeSourceSpan, bindingParser, constantPool, meta.name));\n      }\n\n      var expression = importExpr(Identifiers$1.defineBase).callFn([definitionMap.toLiteralMap()]);\n      var type = new ExpressionType(importExpr(Identifiers$1.BaseDef),\n      /* modifiers */\n      null, [expressionType(meta.type)]);\n      return {\n        expression: expression,\n        type: type\n      };\n    }\n    /**\n     * Compile a component for the render3 runtime as defined by the `R3ComponentMetadata`.\n     */\n\n\n    function compileComponentFromMetadata(meta, constantPool, bindingParser) {\n      var _baseDirectiveFields2 = baseDirectiveFields(meta, constantPool, bindingParser),\n          definitionMap = _baseDirectiveFields2.definitionMap,\n          statements = _baseDirectiveFields2.statements;\n\n      addFeatures(definitionMap, meta);\n      var selector = meta.selector && CssSelector.parse(meta.selector);\n      var firstSelector = selector && selector[0]; // e.g. `attr: [\"class\", \".my.app\"]`\n      // This is optional an only included if the first selector of a component specifies attributes.\n\n      if (firstSelector) {\n        var selectorAttributes = firstSelector.getAttrs();\n\n        if (selectorAttributes.length) {\n          definitionMap.set('attrs', constantPool.getConstLiteral(literalArr(selectorAttributes.map(function (value) {\n            return value != null ? literal(value) : literal(undefined);\n          })),\n          /* forceShared */\n          true));\n        }\n      } // Generate the CSS matcher that recognize directive\n\n\n      var directiveMatcher = null;\n\n      if (meta.directives.length > 0) {\n        var matcher = new SelectorMatcher();\n        var _iteratorNormalCompletion20 = true;\n        var _didIteratorError20 = false;\n        var _iteratorError20 = undefined;\n\n        try {\n          for (var _iterator20 = meta.directives[Symbol.iterator](), _step20; !(_iteratorNormalCompletion20 = (_step20 = _iterator20.next()).done); _iteratorNormalCompletion20 = true) {\n            var _step20$value = _step20.value,\n                _selector = _step20$value.selector,\n                _expression = _step20$value.expression;\n            matcher.addSelectables(CssSelector.parse(_selector), _expression);\n          }\n        } catch (err) {\n          _didIteratorError20 = true;\n          _iteratorError20 = err;\n        } finally {\n          try {\n            if (!_iteratorNormalCompletion20 && _iterator20.return != null) {\n              _iterator20.return();\n            }\n          } finally {\n            if (_didIteratorError20) {\n              throw _iteratorError20;\n            }\n          }\n        }\n\n        directiveMatcher = matcher;\n      } // e.g. `template: function MyComponent_Template(_ctx, _cm) {...}`\n\n\n      var templateTypeName = meta.name;\n      var templateName = templateTypeName ? \"\".concat(templateTypeName, \"_Template\") : null;\n      var directivesUsed = new Set();\n      var pipesUsed = new Set();\n      var changeDetection = meta.changeDetection;\n      var template = meta.template;\n      var templateBuilder = new TemplateDefinitionBuilder(constantPool, BindingScope.ROOT_SCOPE, 0, templateTypeName, null, null, templateName, directiveMatcher, directivesUsed, meta.pipes, pipesUsed, Identifiers$1.namespaceHTML, meta.relativeContextFilePath, meta.i18nUseExternalIds);\n      var templateFunctionExpression = templateBuilder.buildTemplateFunction(template.nodes, []); // We need to provide this so that dynamically generated components know what\n      // projected content blocks to pass through to the component when it is instantiated.\n\n      var ngContentSelectors = templateBuilder.getNgContentSelectors();\n\n      if (ngContentSelectors) {\n        definitionMap.set('ngContentSelectors', ngContentSelectors);\n      } // e.g. `consts: 2`\n\n\n      definitionMap.set('consts', literal(templateBuilder.getConstCount())); // e.g. `vars: 2`\n\n      definitionMap.set('vars', literal(templateBuilder.getVarCount()));\n      definitionMap.set('template', templateFunctionExpression); // e.g. `directives: [MyDirective]`\n\n      if (directivesUsed.size) {\n        var directivesExpr = literalArr(Array.from(directivesUsed));\n\n        if (meta.wrapDirectivesAndPipesInClosure) {\n          directivesExpr = fn([], [new ReturnStatement(directivesExpr)]);\n        }\n\n        definitionMap.set('directives', directivesExpr);\n      } // e.g. `pipes: [MyPipe]`\n\n\n      if (pipesUsed.size) {\n        var pipesExpr = literalArr(Array.from(pipesUsed));\n\n        if (meta.wrapDirectivesAndPipesInClosure) {\n          pipesExpr = fn([], [new ReturnStatement(pipesExpr)]);\n        }\n\n        definitionMap.set('pipes', pipesExpr);\n      }\n\n      if (meta.encapsulation === null) {\n        meta.encapsulation = ViewEncapsulation.Emulated;\n      } // e.g. `styles: [str1, str2]`\n\n\n      if (meta.styles && meta.styles.length) {\n        var styleValues = meta.encapsulation == ViewEncapsulation.Emulated ? compileStyles(meta.styles, CONTENT_ATTR, HOST_ATTR) : meta.styles;\n        var strings = styleValues.map(function (str) {\n          return literal(str);\n        });\n        definitionMap.set('styles', literalArr(strings));\n      } else if (meta.encapsulation === ViewEncapsulation.Emulated) {\n        // If there is no style, don't generate css selectors on elements\n        meta.encapsulation = ViewEncapsulation.None;\n      } // Only set view encapsulation if it's not the default value\n\n\n      if (meta.encapsulation !== ViewEncapsulation.Emulated) {\n        definitionMap.set('encapsulation', literal(meta.encapsulation));\n      } // e.g. `animation: [trigger('123', [])]`\n\n\n      if (meta.animations !== null) {\n        definitionMap.set('data', literalMap([{\n          key: 'animation',\n          value: meta.animations,\n          quoted: false\n        }]));\n      } // Only set the change detection flag if it's defined and it's not the default.\n\n\n      if (changeDetection != null && changeDetection !== ChangeDetectionStrategy.Default) {\n        definitionMap.set('changeDetection', literal(changeDetection));\n      } // On the type side, remove newlines from the selector as it will need to fit into a TypeScript\n      // string literal, which must be on one line.\n\n\n      var selectorForType = (meta.selector || '').replace(/\\n/g, '');\n      var expression = importExpr(Identifiers$1.defineComponent).callFn([definitionMap.toLiteralMap()]);\n      var type = createTypeForDef(meta, Identifiers$1.ComponentDefWithMeta);\n      return {\n        expression: expression,\n        type: type,\n        statements: statements\n      };\n    }\n    /**\n     * A wrapper around `compileDirective` which depends on render2 global analysis data as its input\n     * instead of the `R3DirectiveMetadata`.\n     *\n     * `R3DirectiveMetadata` is computed from `CompileDirectiveMetadata` and other statically reflected\n     * information.\n     */\n\n\n    function compileDirectiveFromRender2(outputCtx, directive, reflector, bindingParser) {\n      var name = identifierName(directive.type);\n      name || error(\"Cannot resolver the name of \".concat(directive.type));\n      var definitionField = outputCtx.constantPool.propertyNameOf(1\n      /* Directive */\n      );\n      var meta = directiveMetadataFromGlobalMetadata(directive, outputCtx, reflector);\n      var res = compileDirectiveFromMetadata(meta, outputCtx.constantPool, bindingParser); // Create the partial class to be merged with the actual class.\n\n      outputCtx.statements.push(new ClassStmt(name, null, [new ClassField(definitionField, INFERRED_TYPE, [StmtModifier.Static], res.expression)], [], new ClassMethod(null, [], []), []));\n    }\n    /**\n     * A wrapper around `compileComponent` which depends on render2 global analysis data as its input\n     * instead of the `R3DirectiveMetadata`.\n     *\n     * `R3ComponentMetadata` is computed from `CompileDirectiveMetadata` and other statically reflected\n     * information.\n     */\n\n\n    function compileComponentFromRender2(outputCtx, component, render3Ast, reflector, bindingParser, directiveTypeBySel, pipeTypeByName) {\n      var name = identifierName(component.type);\n      name || error(\"Cannot resolver the name of \".concat(component.type));\n      var definitionField = outputCtx.constantPool.propertyNameOf(2\n      /* Component */\n      );\n      var summary = component.toSummary(); // Compute the R3ComponentMetadata from the CompileDirectiveMetadata\n\n      var meta = Object.assign({}, directiveMetadataFromGlobalMetadata(component, outputCtx, reflector), {\n        selector: component.selector,\n        template: {\n          nodes: render3Ast.nodes\n        },\n        directives: [],\n        pipes: typeMapToExpressionMap(pipeTypeByName, outputCtx),\n        viewQueries: queriesFromGlobalMetadata(component.viewQueries, outputCtx),\n        wrapDirectivesAndPipesInClosure: false,\n        styles: summary.template && summary.template.styles || EMPTY_ARRAY,\n        encapsulation: summary.template && summary.template.encapsulation || ViewEncapsulation.Emulated,\n        interpolation: DEFAULT_INTERPOLATION_CONFIG,\n        animations: null,\n        viewProviders: component.viewProviders.length > 0 ? new WrappedNodeExpr(component.viewProviders) : null,\n        relativeContextFilePath: '',\n        i18nUseExternalIds: true\n      });\n      var res = compileComponentFromMetadata(meta, outputCtx.constantPool, bindingParser); // Create the partial class to be merged with the actual class.\n\n      outputCtx.statements.push(new ClassStmt(name, null, [new ClassField(definitionField, INFERRED_TYPE, [StmtModifier.Static], res.expression)], [], new ClassMethod(null, [], []), []));\n    }\n    /**\n     * Compute `R3DirectiveMetadata` given `CompileDirectiveMetadata` and a `CompileReflector`.\n     */\n\n\n    function directiveMetadataFromGlobalMetadata(directive, outputCtx, reflector) {\n      // The global-analysis based Ivy mode in ngc is no longer utilized/supported.\n      throw new Error('unsupported');\n    }\n    /**\n     * Convert `CompileQueryMetadata` into `R3QueryMetadata`.\n     */\n\n\n    function queriesFromGlobalMetadata(queries, outputCtx) {\n      return queries.map(function (query) {\n        var read = null;\n\n        if (query.read && query.read.identifier) {\n          read = outputCtx.importExpr(query.read.identifier.reference);\n        }\n\n        return {\n          propertyName: query.propertyName,\n          first: query.first,\n          predicate: selectorsFromGlobalMetadata(query.selectors, outputCtx),\n          descendants: query.descendants,\n          read: read,\n          static: !!query.static\n        };\n      });\n    }\n    /**\n     * Convert `CompileTokenMetadata` for query selectors into either an expression for a predicate\n     * type, or a list of string predicates.\n     */\n\n\n    function selectorsFromGlobalMetadata(selectors, outputCtx) {\n      if (selectors.length > 1 || selectors.length == 1 && selectors[0].value) {\n        var selectorStrings = selectors.map(function (value) {\n          return value.value;\n        });\n        selectorStrings.some(function (value) {\n          return !value;\n        }) && error('Found a type among the string selectors expected');\n        return outputCtx.constantPool.getConstLiteral(literalArr(selectorStrings.map(function (value) {\n          return literal(value);\n        })));\n      }\n\n      if (selectors.length == 1) {\n        var first = selectors[0];\n\n        if (first.identifier) {\n          return outputCtx.importExpr(first.identifier.reference);\n        }\n      }\n\n      error('Unexpected query form');\n      return NULL_EXPR;\n    }\n\n    function prepareQueryParams(query, constantPool) {\n      var parameters = [getQueryPredicate(query, constantPool), literal(query.descendants)];\n\n      if (query.read) {\n        parameters.push(query.read);\n      }\n\n      return parameters;\n    } // Turn a directive selector into an R3-compatible selector for directive def\n\n\n    function createDirectiveSelector(selector) {\n      return asLiteral(parseSelectorToR3Selector(selector));\n    }\n\n    function convertAttributesToExpressions(attributes) {\n      var values = [];\n      var _iteratorNormalCompletion21 = true;\n      var _didIteratorError21 = false;\n      var _iteratorError21 = undefined;\n\n      try {\n        for (var _iterator21 = Object.getOwnPropertyNames(attributes)[Symbol.iterator](), _step21; !(_iteratorNormalCompletion21 = (_step21 = _iterator21.next()).done); _iteratorNormalCompletion21 = true) {\n          var key = _step21.value;\n          var value = attributes[key];\n          values.push(literal(key), value);\n        }\n      } catch (err) {\n        _didIteratorError21 = true;\n        _iteratorError21 = err;\n      } finally {\n        try {\n          if (!_iteratorNormalCompletion21 && _iterator21.return != null) {\n            _iterator21.return();\n          }\n        } finally {\n          if (_didIteratorError21) {\n            throw _iteratorError21;\n          }\n        }\n      }\n\n      return values;\n    } // Define and update any content queries\n\n\n    function createContentQueriesFunction(queries, constantPool, name) {\n      var createStatements = [];\n      var updateStatements = [];\n      var tempAllocator = temporaryAllocator(updateStatements, TEMPORARY_NAME);\n      var _iteratorNormalCompletion22 = true;\n      var _didIteratorError22 = false;\n      var _iteratorError22 = undefined;\n\n      try {\n        for (var _iterator22 = queries[Symbol.iterator](), _step22; !(_iteratorNormalCompletion22 = (_step22 = _iterator22.next()).done); _iteratorNormalCompletion22 = true) {\n          var query = _step22.value;\n          var queryInstruction = query.static ? Identifiers$1.staticContentQuery : Identifiers$1.contentQuery; // creation, e.g. r3.contentQuery(dirIndex, somePredicate, true, null);\n\n          createStatements.push(importExpr(queryInstruction).callFn([variable('dirIndex')].concat(_toConsumableArray(prepareQueryParams(query, constantPool)))).toStmt()); // update, e.g. (r3.queryRefresh(tmp = r3.loadContentQuery()) && (ctx.someDir = tmp));\n\n          var temporary = tempAllocator();\n          var getQueryList = importExpr(Identifiers$1.loadContentQuery).callFn([]);\n          var refresh = importExpr(Identifiers$1.queryRefresh).callFn([temporary.set(getQueryList)]);\n          var updateDirective = variable(CONTEXT_NAME).prop(query.propertyName).set(query.first ? temporary.prop('first') : temporary);\n          updateStatements.push(refresh.and(updateDirective).toStmt());\n        }\n      } catch (err) {\n        _didIteratorError22 = true;\n        _iteratorError22 = err;\n      } finally {\n        try {\n          if (!_iteratorNormalCompletion22 && _iterator22.return != null) {\n            _iterator22.return();\n          }\n        } finally {\n          if (_didIteratorError22) {\n            throw _iteratorError22;\n          }\n        }\n      }\n\n      var contentQueriesFnName = name ? \"\".concat(name, \"_ContentQueries\") : null;\n      return fn([new FnParam(RENDER_FLAGS, NUMBER_TYPE), new FnParam(CONTEXT_NAME, null), new FnParam('dirIndex', null)], [renderFlagCheckIfStmt(1\n      /* Create */\n      , createStatements), renderFlagCheckIfStmt(2\n      /* Update */\n      , updateStatements)], INFERRED_TYPE, null, contentQueriesFnName);\n    }\n\n    function stringAsType(str) {\n      return expressionType(literal(str));\n    }\n\n    function stringMapAsType(map) {\n      var mapValues = Object.keys(map).map(function (key) {\n        var value = Array.isArray(map[key]) ? map[key][0] : map[key];\n        return {\n          key: key,\n          value: literal(value),\n          quoted: true\n        };\n      });\n      return expressionType(literalMap(mapValues));\n    }\n\n    function stringArrayAsType(arr) {\n      return arr.length > 0 ? expressionType(literalArr(arr.map(function (value) {\n        return literal(value);\n      }))) : NONE_TYPE;\n    }\n\n    function createTypeForDef(meta, typeBase) {\n      // On the type side, remove newlines from the selector as it will need to fit into a TypeScript\n      // string literal, which must be on one line.\n      var selectorForType = (meta.selector || '').replace(/\\n/g, '');\n      return expressionType(importExpr(typeBase, [typeWithParameters(meta.type, meta.typeArgumentCount), stringAsType(selectorForType), meta.exportAs !== null ? stringArrayAsType(meta.exportAs) : NONE_TYPE, stringMapAsType(meta.inputs), stringMapAsType(meta.outputs), stringArrayAsType(meta.queries.map(function (q) {\n        return q.propertyName;\n      }))]));\n    } // Define and update any view queries\n\n\n    function createViewQueriesFunction(viewQueries, constantPool, name) {\n      var createStatements = [];\n      var updateStatements = [];\n      var tempAllocator = temporaryAllocator(updateStatements, TEMPORARY_NAME);\n      viewQueries.forEach(function (query) {\n        var queryInstruction = query.static ? Identifiers$1.staticViewQuery : Identifiers$1.viewQuery; // creation, e.g. r3.viewQuery(somePredicate, true);\n\n        var queryDefinition = importExpr(queryInstruction).callFn(prepareQueryParams(query, constantPool));\n        createStatements.push(queryDefinition.toStmt()); // update, e.g. (r3.queryRefresh(tmp = r3.loadViewQuery()) && (ctx.someDir = tmp));\n\n        var temporary = tempAllocator();\n        var getQueryList = importExpr(Identifiers$1.loadViewQuery).callFn([]);\n        var refresh = importExpr(Identifiers$1.queryRefresh).callFn([temporary.set(getQueryList)]);\n        var updateDirective = variable(CONTEXT_NAME).prop(query.propertyName).set(query.first ? temporary.prop('first') : temporary);\n        updateStatements.push(refresh.and(updateDirective).toStmt());\n      });\n      var viewQueryFnName = name ? \"\".concat(name, \"_Query\") : null;\n      return fn([new FnParam(RENDER_FLAGS, NUMBER_TYPE), new FnParam(CONTEXT_NAME, null)], [renderFlagCheckIfStmt(1\n      /* Create */\n      , createStatements), renderFlagCheckIfStmt(2\n      /* Update */\n      , updateStatements)], INFERRED_TYPE, null, viewQueryFnName);\n    } // Return a host binding function or null if one is not necessary.\n\n\n    function createHostBindingsFunction(hostBindingsMetadata, typeSourceSpan, bindingParser, constantPool, selector, name) {\n      // Initialize hostVarsCount to number of bound host properties (interpolations illegal)\n      var hostVarsCount = Object.keys(hostBindingsMetadata.properties).length;\n      var elVarExp = variable('elIndex');\n      var bindingContext = variable(CONTEXT_NAME);\n      var styleBuilder = new StylingBuilder(elVarExp, bindingContext);\n      var _hostBindingsMetadata = hostBindingsMetadata.specialAttributes,\n          styleAttr = _hostBindingsMetadata.styleAttr,\n          classAttr = _hostBindingsMetadata.classAttr;\n\n      if (styleAttr !== undefined) {\n        styleBuilder.registerStyleAttr(styleAttr);\n      }\n\n      if (classAttr !== undefined) {\n        styleBuilder.registerClassAttr(classAttr);\n      }\n\n      var createStatements = [];\n      var updateStatements = [];\n      var totalHostVarsCount = hostVarsCount;\n      var hostBindingSourceSpan = typeSourceSpan;\n      var directiveSummary = metadataAsSummary(hostBindingsMetadata);\n      var valueConverter;\n\n      var getValueConverter = function getValueConverter() {\n        if (!valueConverter) {\n          var hostVarsCountFn = function hostVarsCountFn(numSlots) {\n            var originalVarsCount = totalHostVarsCount;\n            totalHostVarsCount += numSlots;\n            return originalVarsCount;\n          };\n\n          valueConverter = new ValueConverter(constantPool, function () {\n            return error('Unexpected node');\n          }, // new nodes are illegal here\n          hostVarsCountFn, function () {\n            return error('Unexpected pipe');\n          }); // pipes are illegal here\n        }\n\n        return valueConverter;\n      }; // Calculate host event bindings\n\n\n      var eventBindings = bindingParser.createDirectiveHostEventAsts(directiveSummary, hostBindingSourceSpan);\n\n      if (eventBindings && eventBindings.length) {\n        var listeners = createHostListeners(eventBindings, name);\n        createStatements.push.apply(createStatements, _toConsumableArray(listeners));\n      } // Calculate the host property bindings\n\n\n      var bindings = bindingParser.createBoundHostProperties(directiveSummary, hostBindingSourceSpan);\n      var propertyBindings = [];\n      var attributeBindings = [];\n      var syntheticHostBindings = [];\n      bindings && bindings.forEach(function (binding) {\n        var name = binding.name;\n        var stylingInputWasSet = styleBuilder.registerInputBasedOnName(name, binding.expression, binding.sourceSpan);\n\n        if (!stylingInputWasSet) {\n          // resolve literal arrays and literal objects\n          var value = binding.expression.visit(getValueConverter());\n          var bindingExpr = bindingFn(bindingContext, value);\n\n          var _getBindingNameAndIns = getBindingNameAndInstruction(binding),\n              bindingName = _getBindingNameAndIns.bindingName,\n              _instruction2 = _getBindingNameAndIns.instruction,\n              isAttribute = _getBindingNameAndIns.isAttribute;\n\n          var securityContexts = bindingParser.calcPossibleSecurityContexts(selector, bindingName, isAttribute).filter(function (context) {\n            return context !== SecurityContext.NONE;\n          });\n          var sanitizerFn = null;\n\n          if (securityContexts.length) {\n            if (securityContexts.length === 2 && securityContexts.indexOf(SecurityContext.URL) > -1 && securityContexts.indexOf(SecurityContext.RESOURCE_URL) > -1) {\n              // Special case for some URL attributes (such as \"src\" and \"href\") that may be a part\n              // of different security contexts. In this case we use special santitization function and\n              // select the actual sanitizer at runtime based on a tag name that is provided while\n              // invoking sanitization function.\n              sanitizerFn = importExpr(Identifiers$1.sanitizeUrlOrResourceUrl);\n            } else {\n              sanitizerFn = resolveSanitizationFn(securityContexts[0], isAttribute);\n            }\n          }\n\n          var instructionParams = [literal(bindingName), bindingExpr.currValExpr];\n\n          if (sanitizerFn) {\n            instructionParams.push(sanitizerFn);\n          }\n\n          updateStatements.push.apply(updateStatements, _toConsumableArray(bindingExpr.stmts));\n\n          if (_instruction2 === Identifiers$1.hostProperty) {\n            propertyBindings.push(instructionParams);\n          } else if (_instruction2 === Identifiers$1.attribute) {\n            attributeBindings.push(instructionParams);\n          } else if (_instruction2 === Identifiers$1.updateSyntheticHostBinding) {\n            syntheticHostBindings.push(instructionParams);\n          } else {\n            updateStatements.push(importExpr(_instruction2).callFn(instructionParams).toStmt());\n          }\n        }\n      });\n\n      if (propertyBindings.length > 0) {\n        updateStatements.push(chainedInstruction(Identifiers$1.hostProperty, propertyBindings).toStmt());\n      }\n\n      if (attributeBindings.length > 0) {\n        updateStatements.push(chainedInstruction(Identifiers$1.attribute, attributeBindings).toStmt());\n      }\n\n      if (syntheticHostBindings.length > 0) {\n        updateStatements.push(chainedInstruction(Identifiers$1.updateSyntheticHostBinding, syntheticHostBindings).toStmt());\n      } // since we're dealing with directives/components and both have hostBinding\n      // functions, we need to generate a special hostAttrs instruction that deals\n      // with both the assignment of styling as well as static attributes to the host\n      // element. The instruction below will instruct all initial styling (styling\n      // that is inside of a host binding within a directive/component) to be attached\n      // to the host element alongside any of the provided host attributes that were\n      // collected earlier.\n\n\n      var hostAttrs = convertAttributesToExpressions(hostBindingsMetadata.attributes);\n      var hostInstruction = styleBuilder.buildHostAttrsInstruction(null, hostAttrs, constantPool);\n\n      if (hostInstruction) {\n        createStatements.push(createStylingStmt(hostInstruction, bindingContext, bindingFn));\n      }\n\n      if (styleBuilder.hasBindings) {\n        // singular style/class bindings (things like `[style.prop]` and `[class.name]`)\n        // MUST be registered on a given element within the component/directive\n        // templateFn/hostBindingsFn functions. The instruction below will figure out\n        // what all the bindings are and then generate the statements required to register\n        // those bindings to the element via `styling`.\n        var stylingInstruction = styleBuilder.buildStylingInstruction(null, constantPool);\n\n        if (stylingInstruction) {\n          createStatements.push(createStylingStmt(stylingInstruction, bindingContext, bindingFn));\n        } // finally each binding that was registered in the statement above will need to be added to\n        // the update block of a component/directive templateFn/hostBindingsFn so that the bindings\n        // are evaluated and updated for the element.\n\n\n        styleBuilder.buildUpdateLevelInstructions(getValueConverter()).forEach(function (instruction) {\n          // we subtract a value of `1` here because the binding slot was already\n          // allocated at the top of this method when all the input bindings were\n          // counted.\n          totalHostVarsCount += Math.max(instruction.allocateBindingSlots - 1, 0);\n          updateStatements.push(createStylingStmt(instruction, bindingContext, bindingFn));\n        });\n      }\n\n      if (totalHostVarsCount) {\n        createStatements.unshift(importExpr(Identifiers$1.allocHostVars).callFn([literal(totalHostVarsCount)]).toStmt());\n      }\n\n      if (createStatements.length > 0 || updateStatements.length > 0) {\n        var hostBindingsFnName = name ? \"\".concat(name, \"_HostBindings\") : null;\n        var statements = [];\n\n        if (createStatements.length > 0) {\n          statements.push(renderFlagCheckIfStmt(1\n          /* Create */\n          , createStatements));\n        }\n\n        if (updateStatements.length > 0) {\n          statements.push(renderFlagCheckIfStmt(2\n          /* Update */\n          , updateStatements));\n        }\n\n        return fn([new FnParam(RENDER_FLAGS, NUMBER_TYPE), new FnParam(CONTEXT_NAME, null), new FnParam(elVarExp.name, NUMBER_TYPE)], statements, INFERRED_TYPE, null, hostBindingsFnName);\n      }\n\n      return null;\n    }\n\n    function bindingFn(implicit, value) {\n      return _convertPropertyBinding(null, implicit, value, 'b', BindingForm.TrySimple, function () {\n        return error('Unexpected interpolation');\n      });\n    }\n\n    function createStylingStmt(instruction, bindingContext, bindingFn) {\n      var params = instruction.params(function (value) {\n        return bindingFn(bindingContext, value).currValExpr;\n      });\n      return importExpr(instruction.reference, null, instruction.sourceSpan).callFn(params, instruction.sourceSpan).toStmt();\n    }\n\n    function getBindingNameAndInstruction(binding) {\n      var bindingName = binding.name;\n      var instruction; // Check to see if this is an attr binding or a property binding\n\n      var attrMatches = bindingName.match(ATTR_REGEX);\n\n      if (attrMatches) {\n        bindingName = attrMatches[1];\n        instruction = Identifiers$1.attribute;\n      } else {\n        if (binding.isAnimation) {\n          bindingName = prepareSyntheticPropertyName(bindingName); // host bindings that have a synthetic property (e.g. @foo) should always be rendered\n          // in the context of the component and not the parent. Therefore there is a special\n          // compatibility instruction available for this purpose.\n\n          instruction = Identifiers$1.updateSyntheticHostBinding;\n        } else {\n          instruction = Identifiers$1.hostProperty;\n        }\n      }\n\n      return {\n        bindingName: bindingName,\n        instruction: instruction,\n        isAttribute: !!attrMatches\n      };\n    }\n\n    function createHostListeners(eventBindings, name) {\n      return eventBindings.map(function (binding) {\n        var bindingName = binding.name && sanitizeIdentifier(binding.name);\n        var bindingFnName = binding.type === 1\n        /* Animation */\n        ? prepareSyntheticListenerFunctionName(bindingName, binding.targetOrPhase) : bindingName;\n        var handlerName = name && bindingName ? \"\".concat(name, \"_\").concat(bindingFnName, \"_HostBindingHandler\") : null;\n        var params = prepareEventListenerParameters(BoundEvent.fromParsedEvent(binding), handlerName);\n        var instruction = binding.type == 1\n        /* Animation */\n        ? Identifiers$1.componentHostSyntheticListener : Identifiers$1.listener;\n        return importExpr(instruction).callFn(params).toStmt();\n      });\n    }\n\n    function metadataAsSummary(meta) {\n      // clang-format off\n      return {\n        // This is used by the BindingParser, which only deals with listeners and properties. There's no\n        // need to pass attributes to it.\n        hostAttributes: {},\n        hostListeners: meta.listeners,\n        hostProperties: meta.properties\n      }; // clang-format on\n    }\n\n    function typeMapToExpressionMap(map, outputCtx) {\n      // Convert each map entry into another entry where the value is an expression importing the type.\n      var entries = Array.from(map).map(function (_ref36) {\n        var _ref37 = _slicedToArray(_ref36, 2),\n            key = _ref37[0],\n            type = _ref37[1];\n\n        return [key, outputCtx.importExpr(type)];\n      });\n      return new Map(entries);\n    }\n\n    var HOST_REG_EXP$1 = /^(?:\\[([^\\]]+)\\])|(?:\\(([^\\)]+)\\))$/;\n\n    function parseHostBindings(host) {\n      var attributes = {};\n      var listeners = {};\n      var properties = {};\n      var specialAttributes = {};\n\n      for (var _i19 = 0, _Object$keys3 = Object.keys(host); _i19 < _Object$keys3.length; _i19++) {\n        var key = _Object$keys3[_i19];\n        var value = host[key];\n        var matches = key.match(HOST_REG_EXP$1);\n\n        if (matches === null) {\n          switch (key) {\n            case 'class':\n              if (typeof value !== 'string') {\n                // TODO(alxhub): make this a diagnostic.\n                throw new Error(\"Class binding must be string\");\n              }\n\n              specialAttributes.classAttr = value;\n              break;\n\n            case 'style':\n              if (typeof value !== 'string') {\n                // TODO(alxhub): make this a diagnostic.\n                throw new Error(\"Style binding must be string\");\n              }\n\n              specialAttributes.styleAttr = value;\n              break;\n\n            default:\n              if (typeof value === 'string') {\n                attributes[key] = literal(value);\n              } else {\n                attributes[key] = value;\n              }\n\n          }\n        } else if (matches[1\n        /* Binding */\n        ] != null) {\n          if (typeof value !== 'string') {\n            // TODO(alxhub): make this a diagnostic.\n            throw new Error(\"Property binding must be string\");\n          } // synthetic properties (the ones that have a `@` as a prefix)\n          // are still treated the same as regular properties. Therefore\n          // there is no point in storing them in a separate map.\n\n\n          properties[matches[1\n          /* Binding */\n          ]] = value;\n        } else if (matches[2\n        /* Event */\n        ] != null) {\n          if (typeof value !== 'string') {\n            // TODO(alxhub): make this a diagnostic.\n            throw new Error(\"Event binding must be string\");\n          }\n\n          listeners[matches[2\n          /* Event */\n          ]] = value;\n        }\n      }\n\n      return {\n        attributes: attributes,\n        listeners: listeners,\n        properties: properties,\n        specialAttributes: specialAttributes\n      };\n    }\n    /**\n     * Verifies host bindings and returns the list of errors (if any). Empty array indicates that a\n     * given set of host bindings has no errors.\n     *\n     * @param bindings set of host bindings to verify.\n     * @param sourceSpan source span where host bindings were defined.\n     * @returns array of errors associated with a given set of host bindings.\n     */\n\n\n    function verifyHostBindings(bindings, sourceSpan) {\n      var summary = metadataAsSummary(bindings); // TODO: abstract out host bindings verification logic and use it instead of\n      // creating events and properties ASTs to detect errors (FW-996)\n\n      var bindingParser = makeBindingParser();\n      bindingParser.createDirectiveHostEventAsts(summary, sourceSpan);\n      bindingParser.createBoundHostProperties(summary, sourceSpan);\n      return bindingParser.errors;\n    }\n\n    function compileStyles(styles, selector, hostSelector) {\n      var shadowCss = new ShadowCss();\n      return styles.map(function (style) {\n        return shadowCss.shimCssText(style, selector, hostSelector);\n      });\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * An interface for retrieving documents by URL that the compiler uses\n     * to load templates.\n     */\n\n\n    var ResourceLoader =\n    /*#__PURE__*/\n    function () {\n      function ResourceLoader() {\n        _classCallCheck(this, ResourceLoader);\n      }\n\n      _createClass2(ResourceLoader, [{\n        key: \"get\",\n        value: function get(url) {\n          return '';\n        }\n      }]);\n\n      return ResourceLoader;\n    }();\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var CompilerFacadeImpl =\n    /*#__PURE__*/\n    function () {\n      function CompilerFacadeImpl() {\n        var jitEvaluator = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : new JitEvaluator();\n\n        _classCallCheck(this, CompilerFacadeImpl);\n\n        this.jitEvaluator = jitEvaluator;\n        this.R3ResolvedDependencyType = R3ResolvedDependencyType;\n        this.ResourceLoader = ResourceLoader;\n        this.elementSchemaRegistry = new DomElementSchemaRegistry();\n      }\n\n      _createClass2(CompilerFacadeImpl, [{\n        key: \"compilePipe\",\n        value: function compilePipe(angularCoreEnv, sourceMapUrl, facade) {\n          var res = compilePipeFromMetadata({\n            name: facade.name,\n            type: new WrappedNodeExpr(facade.type),\n            typeArgumentCount: facade.typeArgumentCount,\n            deps: convertR3DependencyMetadataArray(facade.deps),\n            pipeName: facade.pipeName,\n            pure: facade.pure\n          });\n          return this.jitExpression(res.expression, angularCoreEnv, sourceMapUrl, res.statements);\n        }\n      }, {\n        key: \"compileInjectable\",\n        value: function compileInjectable(angularCoreEnv, sourceMapUrl, facade) {\n          var _compileInjectable2 = _compileInjectable({\n            name: facade.name,\n            type: new WrappedNodeExpr(facade.type),\n            typeArgumentCount: facade.typeArgumentCount,\n            providedIn: computeProvidedIn(facade.providedIn),\n            useClass: wrapExpression(facade, USE_CLASS),\n            useFactory: wrapExpression(facade, USE_FACTORY),\n            useValue: wrapExpression(facade, USE_VALUE),\n            useExisting: wrapExpression(facade, USE_EXISTING),\n            ctorDeps: convertR3DependencyMetadataArray(facade.ctorDeps),\n            userDeps: convertR3DependencyMetadataArray(facade.userDeps) || undefined\n          }),\n              expression = _compileInjectable2.expression,\n              statements = _compileInjectable2.statements;\n\n          return this.jitExpression(expression, angularCoreEnv, sourceMapUrl, statements);\n        }\n      }, {\n        key: \"compileInjector\",\n        value: function compileInjector(angularCoreEnv, sourceMapUrl, facade) {\n          var meta = {\n            name: facade.name,\n            type: new WrappedNodeExpr(facade.type),\n            deps: convertR3DependencyMetadataArray(facade.deps),\n            providers: new WrappedNodeExpr(facade.providers),\n            imports: facade.imports.map(function (i) {\n              return new WrappedNodeExpr(i);\n            })\n          };\n\n          var res = _compileInjector(meta);\n\n          return this.jitExpression(res.expression, angularCoreEnv, sourceMapUrl, res.statements);\n        }\n      }, {\n        key: \"compileNgModule\",\n        value: function compileNgModule(angularCoreEnv, sourceMapUrl, facade) {\n          var meta = {\n            type: new WrappedNodeExpr(facade.type),\n            bootstrap: facade.bootstrap.map(wrapReference),\n            declarations: facade.declarations.map(wrapReference),\n            imports: facade.imports.map(wrapReference),\n            exports: facade.exports.map(wrapReference),\n            emitInline: true,\n            containsForwardDecls: false,\n            schemas: facade.schemas ? facade.schemas.map(wrapReference) : null,\n            id: facade.id ? new WrappedNodeExpr(facade.id) : null\n          };\n\n          var res = _compileNgModule(meta);\n\n          return this.jitExpression(res.expression, angularCoreEnv, sourceMapUrl, []);\n        }\n      }, {\n        key: \"compileDirective\",\n        value: function compileDirective(angularCoreEnv, sourceMapUrl, facade) {\n          var constantPool = new ConstantPool();\n          var bindingParser = makeBindingParser();\n          var meta = convertDirectiveFacadeToMetadata(facade);\n          var res = compileDirectiveFromMetadata(meta, constantPool, bindingParser);\n          var preStatements = [].concat(_toConsumableArray(constantPool.statements), _toConsumableArray(res.statements));\n          return this.jitExpression(res.expression, angularCoreEnv, sourceMapUrl, preStatements);\n        }\n      }, {\n        key: \"compileComponent\",\n        value: function compileComponent(angularCoreEnv, sourceMapUrl, facade) {\n          // The ConstantPool is a requirement of the JIT'er.\n          var constantPool = new ConstantPool();\n          var interpolationConfig = facade.interpolation ? InterpolationConfig.fromArray(facade.interpolation) : DEFAULT_INTERPOLATION_CONFIG; // Parse the template and check for errors.\n\n          var template = parseTemplate(facade.template, sourceMapUrl, {\n            preserveWhitespaces: facade.preserveWhitespaces,\n            interpolationConfig: interpolationConfig\n          });\n\n          if (template.errors !== undefined) {\n            var errors = template.errors.map(function (err) {\n              return err.toString();\n            }).join(', ');\n            throw new Error(\"Errors during JIT compilation of template for \".concat(facade.name, \": \").concat(errors));\n          } // Compile the component metadata, including template, into an expression.\n          // TODO(alxhub): implement inputs, outputs, queries, etc.\n\n\n          var res = compileComponentFromMetadata(Object.assign({}, facade, convertDirectiveFacadeToMetadata(facade), {\n            selector: facade.selector || this.elementSchemaRegistry.getDefaultComponentElementName(),\n            template: template,\n            wrapDirectivesAndPipesInClosure: false,\n            styles: facade.styles || [],\n            encapsulation: facade.encapsulation,\n            interpolation: interpolationConfig,\n            changeDetection: facade.changeDetection,\n            animations: facade.animations != null ? new WrappedNodeExpr(facade.animations) : null,\n            viewProviders: facade.viewProviders != null ? new WrappedNodeExpr(facade.viewProviders) : null,\n            relativeContextFilePath: '',\n            i18nUseExternalIds: true\n          }), constantPool, makeBindingParser(interpolationConfig));\n          var preStatements = [].concat(_toConsumableArray(constantPool.statements), _toConsumableArray(res.statements));\n          return this.jitExpression(res.expression, angularCoreEnv, \"ng:///\".concat(facade.name, \".js\"), preStatements);\n        }\n      }, {\n        key: \"compileBase\",\n        value: function compileBase(angularCoreEnv, sourceMapUrl, facade) {\n          var constantPool = new ConstantPool();\n          var typeSourceSpan = this.createParseSourceSpan('Base', facade.name, \"ng:///\".concat(facade.name, \".js\"));\n          var meta = Object.assign({}, facade, {\n            typeSourceSpan: typeSourceSpan,\n            viewQueries: facade.viewQueries ? facade.viewQueries.map(convertToR3QueryMetadata) : facade.viewQueries,\n            queries: facade.queries ? facade.queries.map(convertToR3QueryMetadata) : facade.queries,\n            host: extractHostBindings(facade.propMetadata, typeSourceSpan)\n          });\n          var res = compileBaseDefFromMetadata(meta, constantPool, makeBindingParser());\n          return this.jitExpression(res.expression, angularCoreEnv, sourceMapUrl, constantPool.statements);\n        }\n      }, {\n        key: \"createParseSourceSpan\",\n        value: function createParseSourceSpan(kind, typeName, sourceUrl) {\n          return r3JitTypeSourceSpan(kind, typeName, sourceUrl);\n        }\n        /**\n         * JIT compiles an expression and returns the result of executing that expression.\n         *\n         * @param def the definition which will be compiled and executed to get the value to patch\n         * @param context an object map of @angular/core symbol names to symbols which will be available\n         * in the context of the compiled expression\n         * @param sourceUrl a URL to use for the source map of the compiled expression\n         * @param preStatements a collection of statements that should be evaluated before the expression.\n         */\n\n      }, {\n        key: \"jitExpression\",\n        value: function jitExpression(def, context, sourceUrl, preStatements) {\n          // The ConstantPool may contain Statements which declare variables used in the final expression.\n          // Therefore, its statements need to precede the actual JIT operation. The final statement is a\n          // declaration of $def which is set to the expression being compiled.\n          var statements = [].concat(_toConsumableArray(preStatements), [new DeclareVarStmt('$def', def, undefined, [StmtModifier.Exported])]);\n          var res = this.jitEvaluator.evaluateStatements(sourceUrl, statements, new R3JitReflector(context),\n          /* enableSourceMaps */\n          true);\n          return res['$def'];\n        }\n      }]);\n\n      return CompilerFacadeImpl;\n    }();\n\n    var USE_CLASS = Object.keys({\n      useClass: null\n    })[0];\n    var USE_FACTORY = Object.keys({\n      useFactory: null\n    })[0];\n    var USE_VALUE = Object.keys({\n      useValue: null\n    })[0];\n    var USE_EXISTING = Object.keys({\n      useExisting: null\n    })[0];\n\n    var wrapReference = function wrapReference(value) {\n      var wrapped = new WrappedNodeExpr(value);\n      return {\n        value: wrapped,\n        type: wrapped\n      };\n    };\n\n    function convertToR3QueryMetadata(facade) {\n      return Object.assign({}, facade, {\n        predicate: Array.isArray(facade.predicate) ? facade.predicate : new WrappedNodeExpr(facade.predicate),\n        read: facade.read ? new WrappedNodeExpr(facade.read) : null,\n        static: facade.static\n      });\n    }\n\n    function convertDirectiveFacadeToMetadata(facade) {\n      var inputsFromMetadata = parseInputOutputs(facade.inputs || []);\n      var outputsFromMetadata = parseInputOutputs(facade.outputs || []);\n      var propMetadata = facade.propMetadata;\n      var inputsFromType = {};\n      var outputsFromType = {};\n\n      var _loop3 = function _loop3(field) {\n        if (propMetadata.hasOwnProperty(field)) {\n          propMetadata[field].forEach(function (ann) {\n            if (isInput(ann)) {\n              inputsFromType[field] = ann.bindingPropertyName ? [ann.bindingPropertyName, field] : field;\n            } else if (isOutput(ann)) {\n              outputsFromType[field] = ann.bindingPropertyName || field;\n            }\n          });\n        }\n      };\n\n      for (var field in propMetadata) {\n        _loop3(field);\n      }\n\n      return Object.assign({}, facade, {\n        typeSourceSpan: facade.typeSourceSpan,\n        type: new WrappedNodeExpr(facade.type),\n        deps: convertR3DependencyMetadataArray(facade.deps),\n        host: extractHostBindings(facade.propMetadata, facade.typeSourceSpan, facade.host),\n        inputs: Object.assign({}, inputsFromMetadata, inputsFromType),\n        outputs: Object.assign({}, outputsFromMetadata, outputsFromType),\n        queries: facade.queries.map(convertToR3QueryMetadata),\n        providers: facade.providers != null ? new WrappedNodeExpr(facade.providers) : null,\n        viewQueries: facade.viewQueries.map(convertToR3QueryMetadata)\n      });\n    }\n\n    function wrapExpression(obj, property) {\n      if (obj.hasOwnProperty(property)) {\n        return new WrappedNodeExpr(obj[property]);\n      } else {\n        return undefined;\n      }\n    }\n\n    function computeProvidedIn(providedIn) {\n      if (providedIn == null || typeof providedIn === 'string') {\n        return new LiteralExpr(providedIn);\n      } else {\n        return new WrappedNodeExpr(providedIn);\n      }\n    }\n\n    function convertR3DependencyMetadata(facade) {\n      var tokenExpr;\n\n      if (facade.token === null) {\n        tokenExpr = new LiteralExpr(null);\n      } else if (facade.resolved === R3ResolvedDependencyType.Attribute) {\n        tokenExpr = new LiteralExpr(facade.token);\n      } else {\n        tokenExpr = new WrappedNodeExpr(facade.token);\n      }\n\n      return {\n        token: tokenExpr,\n        resolved: facade.resolved,\n        host: facade.host,\n        optional: facade.optional,\n        self: facade.self,\n        skipSelf: facade.skipSelf\n      };\n    }\n\n    function convertR3DependencyMetadataArray(facades) {\n      return facades == null ? null : facades.map(convertR3DependencyMetadata);\n    }\n\n    function extractHostBindings(propMetadata, sourceSpan, host) {\n      // First parse the declarations from the metadata.\n      var bindings = parseHostBindings(host || {}); // After that check host bindings for errors\n\n      var errors = verifyHostBindings(bindings, sourceSpan);\n\n      if (errors.length) {\n        throw new Error(errors.map(function (error) {\n          return error.msg;\n        }).join('\\n'));\n      } // Next, loop over the properties of the object, looking for @HostBinding and @HostListener.\n\n\n      var _loop4 = function _loop4(field) {\n        if (propMetadata.hasOwnProperty(field)) {\n          propMetadata[field].forEach(function (ann) {\n            if (isHostBinding(ann)) {\n              bindings.properties[ann.hostPropertyName || field] = field;\n            } else if (isHostListener(ann)) {\n              bindings.listeners[ann.eventName || field] = \"\".concat(field, \"(\").concat((ann.args || []).join(','), \")\");\n            }\n          });\n        }\n      };\n\n      for (var field in propMetadata) {\n        _loop4(field);\n      }\n\n      return bindings;\n    }\n\n    function isHostBinding(value) {\n      return value.ngMetadataName === 'HostBinding';\n    }\n\n    function isHostListener(value) {\n      return value.ngMetadataName === 'HostListener';\n    }\n\n    function isInput(value) {\n      return value.ngMetadataName === 'Input';\n    }\n\n    function isOutput(value) {\n      return value.ngMetadataName === 'Output';\n    }\n\n    function parseInputOutputs(values) {\n      return values.reduce(function (map, value) {\n        var _value$split$map5 = value.split(',').map(function (piece) {\n          return piece.trim();\n        }),\n            _value$split$map6 = _slicedToArray(_value$split$map5, 2),\n            field = _value$split$map6[0],\n            property = _value$split$map6[1];\n\n        map[field] = property || field;\n        return map;\n      }, {});\n    }\n\n    function publishFacade(global) {\n      var ng = global.ng || (global.ng = {});\n      ng.ɵcompilerFacade = new CompilerFacadeImpl();\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var VERSION$1 = new Version('8.2.14');\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    var CompilerConfig = function CompilerConfig() {\n      var _ref38 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n          _ref38$defaultEncapsu = _ref38.defaultEncapsulation,\n          defaultEncapsulation = _ref38$defaultEncapsu === void 0 ? ViewEncapsulation.Emulated : _ref38$defaultEncapsu,\n          _ref38$useJit = _ref38.useJit,\n          useJit = _ref38$useJit === void 0 ? true : _ref38$useJit,\n          _ref38$jitDevMode = _ref38.jitDevMode,\n          jitDevMode = _ref38$jitDevMode === void 0 ? false : _ref38$jitDevMode,\n          _ref38$missingTransla = _ref38.missingTranslation,\n          missingTranslation = _ref38$missingTransla === void 0 ? null : _ref38$missingTransla,\n          preserveWhitespaces = _ref38.preserveWhitespaces,\n          strictInjectionParameters = _ref38.strictInjectionParameters;\n\n      _classCallCheck(this, CompilerConfig);\n\n      this.defaultEncapsulation = defaultEncapsulation;\n      this.useJit = !!useJit;\n      this.jitDevMode = !!jitDevMode;\n      this.missingTranslation = missingTranslation;\n      this.preserveWhitespaces = preserveWhitespacesDefault(noUndefined(preserveWhitespaces));\n      this.strictInjectionParameters = strictInjectionParameters === true;\n    };\n\n    function preserveWhitespacesDefault(preserveWhitespacesOption) {\n      var defaultSetting = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n      return preserveWhitespacesOption === null ? defaultSetting : preserveWhitespacesOption;\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var DirectiveNormalizer =\n    /*#__PURE__*/\n    function () {\n      function DirectiveNormalizer(_resourceLoader, _urlResolver, _htmlParser, _config) {\n        _classCallCheck(this, DirectiveNormalizer);\n\n        this._resourceLoader = _resourceLoader;\n        this._urlResolver = _urlResolver;\n        this._htmlParser = _htmlParser;\n        this._config = _config;\n        this._resourceLoaderCache = new Map();\n      }\n\n      _createClass2(DirectiveNormalizer, [{\n        key: \"clearCache\",\n        value: function clearCache() {\n          this._resourceLoaderCache.clear();\n        }\n      }, {\n        key: \"clearCacheFor\",\n        value: function clearCacheFor(normalizedDirective) {\n          var _this324 = this;\n\n          if (!normalizedDirective.isComponent) {\n            return;\n          }\n\n          var template = normalizedDirective.template;\n\n          this._resourceLoaderCache.delete(template.templateUrl);\n\n          template.externalStylesheets.forEach(function (stylesheet) {\n            _this324._resourceLoaderCache.delete(stylesheet.moduleUrl);\n          });\n        }\n      }, {\n        key: \"_fetch\",\n        value: function _fetch(url) {\n          var result = this._resourceLoaderCache.get(url);\n\n          if (!result) {\n            result = this._resourceLoader.get(url);\n\n            this._resourceLoaderCache.set(url, result);\n          }\n\n          return result;\n        }\n      }, {\n        key: \"normalizeTemplate\",\n        value: function normalizeTemplate(prenormData) {\n          var _this325 = this;\n\n          if (isDefined(prenormData.template)) {\n            if (isDefined(prenormData.templateUrl)) {\n              throw syntaxError(\"'\".concat(stringify(prenormData.componentType), \"' component cannot define both template and templateUrl\"));\n            }\n\n            if (typeof prenormData.template !== 'string') {\n              throw syntaxError(\"The template specified for component \".concat(stringify(prenormData.componentType), \" is not a string\"));\n            }\n          } else if (isDefined(prenormData.templateUrl)) {\n            if (typeof prenormData.templateUrl !== 'string') {\n              throw syntaxError(\"The templateUrl specified for component \".concat(stringify(prenormData.componentType), \" is not a string\"));\n            }\n          } else {\n            throw syntaxError(\"No template specified for component \".concat(stringify(prenormData.componentType)));\n          }\n\n          if (isDefined(prenormData.preserveWhitespaces) && typeof prenormData.preserveWhitespaces !== 'boolean') {\n            throw syntaxError(\"The preserveWhitespaces option for component \".concat(stringify(prenormData.componentType), \" must be a boolean\"));\n          }\n\n          return SyncAsync.then(this._preParseTemplate(prenormData), function (preparsedTemplate) {\n            return _this325._normalizeTemplateMetadata(prenormData, preparsedTemplate);\n          });\n        }\n      }, {\n        key: \"_preParseTemplate\",\n        value: function _preParseTemplate(prenomData) {\n          var _this326 = this;\n\n          var template;\n          var templateUrl;\n\n          if (prenomData.template != null) {\n            template = prenomData.template;\n            templateUrl = prenomData.moduleUrl;\n          } else {\n            templateUrl = this._urlResolver.resolve(prenomData.moduleUrl, prenomData.templateUrl);\n            template = this._fetch(templateUrl);\n          }\n\n          return SyncAsync.then(template, function (template) {\n            return _this326._preparseLoadedTemplate(prenomData, template, templateUrl);\n          });\n        }\n      }, {\n        key: \"_preparseLoadedTemplate\",\n        value: function _preparseLoadedTemplate(prenormData, template, templateAbsUrl) {\n          var isInline = !!prenormData.template;\n          var interpolationConfig = InterpolationConfig.fromArray(prenormData.interpolation);\n          var templateUrl = templateSourceUrl({\n            reference: prenormData.ngModuleType\n          }, {\n            type: {\n              reference: prenormData.componentType\n            }\n          }, {\n            isInline: isInline,\n            templateUrl: templateAbsUrl\n          });\n\n          var rootNodesAndErrors = this._htmlParser.parse(template, templateUrl, {\n            tokenizeExpansionForms: true,\n            interpolationConfig: interpolationConfig\n          });\n\n          if (rootNodesAndErrors.errors.length > 0) {\n            var errorString = rootNodesAndErrors.errors.join('\\n');\n            throw syntaxError(\"Template parse errors:\\n\".concat(errorString));\n          }\n\n          var templateMetadataStyles = this._normalizeStylesheet(new CompileStylesheetMetadata({\n            styles: prenormData.styles,\n            moduleUrl: prenormData.moduleUrl\n          }));\n\n          var visitor = new TemplatePreparseVisitor();\n          visitAll$1(visitor, rootNodesAndErrors.rootNodes);\n\n          var templateStyles = this._normalizeStylesheet(new CompileStylesheetMetadata({\n            styles: visitor.styles,\n            styleUrls: visitor.styleUrls,\n            moduleUrl: templateAbsUrl\n          }));\n\n          var styles = templateMetadataStyles.styles.concat(templateStyles.styles);\n          var inlineStyleUrls = templateMetadataStyles.styleUrls.concat(templateStyles.styleUrls);\n\n          var styleUrls = this._normalizeStylesheet(new CompileStylesheetMetadata({\n            styleUrls: prenormData.styleUrls,\n            moduleUrl: prenormData.moduleUrl\n          })).styleUrls;\n\n          return {\n            template: template,\n            templateUrl: templateAbsUrl,\n            isInline: isInline,\n            htmlAst: rootNodesAndErrors,\n            styles: styles,\n            inlineStyleUrls: inlineStyleUrls,\n            styleUrls: styleUrls,\n            ngContentSelectors: visitor.ngContentSelectors\n          };\n        }\n      }, {\n        key: \"_normalizeTemplateMetadata\",\n        value: function _normalizeTemplateMetadata(prenormData, preparsedTemplate) {\n          var _this327 = this;\n\n          return SyncAsync.then(this._loadMissingExternalStylesheets(preparsedTemplate.styleUrls.concat(preparsedTemplate.inlineStyleUrls)), function (externalStylesheets) {\n            return _this327._normalizeLoadedTemplateMetadata(prenormData, preparsedTemplate, externalStylesheets);\n          });\n        }\n      }, {\n        key: \"_normalizeLoadedTemplateMetadata\",\n        value: function _normalizeLoadedTemplateMetadata(prenormData, preparsedTemplate, stylesheets) {\n          var _this328 = this;\n\n          // Algorithm:\n          // - produce exactly 1 entry per original styleUrl in\n          // CompileTemplateMetadata.externalStylesheets with all styles inlined\n          // - inline all styles that are referenced by the template into CompileTemplateMetadata.styles.\n          // Reason: be able to determine how many stylesheets there are even without loading\n          // the template nor the stylesheets, so we can create a stub for TypeScript always synchronously\n          // (as resource loading may be async)\n          var styles = _toConsumableArray(preparsedTemplate.styles);\n\n          this._inlineStyles(preparsedTemplate.inlineStyleUrls, stylesheets, styles);\n\n          var styleUrls = preparsedTemplate.styleUrls;\n          var externalStylesheets = styleUrls.map(function (styleUrl) {\n            var stylesheet = stylesheets.get(styleUrl);\n\n            var styles = _toConsumableArray(stylesheet.styles);\n\n            _this328._inlineStyles(stylesheet.styleUrls, stylesheets, styles);\n\n            return new CompileStylesheetMetadata({\n              moduleUrl: styleUrl,\n              styles: styles\n            });\n          });\n          var encapsulation = prenormData.encapsulation;\n\n          if (encapsulation == null) {\n            encapsulation = this._config.defaultEncapsulation;\n          }\n\n          if (encapsulation === ViewEncapsulation.Emulated && styles.length === 0 && styleUrls.length === 0) {\n            encapsulation = ViewEncapsulation.None;\n          }\n\n          return new CompileTemplateMetadata({\n            encapsulation: encapsulation,\n            template: preparsedTemplate.template,\n            templateUrl: preparsedTemplate.templateUrl,\n            htmlAst: preparsedTemplate.htmlAst,\n            styles: styles,\n            styleUrls: styleUrls,\n            ngContentSelectors: preparsedTemplate.ngContentSelectors,\n            animations: prenormData.animations,\n            interpolation: prenormData.interpolation,\n            isInline: preparsedTemplate.isInline,\n            externalStylesheets: externalStylesheets,\n            preserveWhitespaces: preserveWhitespacesDefault(prenormData.preserveWhitespaces, this._config.preserveWhitespaces)\n          });\n        }\n      }, {\n        key: \"_inlineStyles\",\n        value: function _inlineStyles(styleUrls, stylesheets, targetStyles) {\n          var _this329 = this;\n\n          styleUrls.forEach(function (styleUrl) {\n            var stylesheet = stylesheets.get(styleUrl);\n            stylesheet.styles.forEach(function (style) {\n              return targetStyles.push(style);\n            });\n\n            _this329._inlineStyles(stylesheet.styleUrls, stylesheets, targetStyles);\n          });\n        }\n      }, {\n        key: \"_loadMissingExternalStylesheets\",\n        value: function _loadMissingExternalStylesheets(styleUrls) {\n          var _this330 = this;\n\n          var loadedStylesheets = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : new Map();\n          return SyncAsync.then(SyncAsync.all(styleUrls.filter(function (styleUrl) {\n            return !loadedStylesheets.has(styleUrl);\n          }).map(function (styleUrl) {\n            return SyncAsync.then(_this330._fetch(styleUrl), function (loadedStyle) {\n              var stylesheet = _this330._normalizeStylesheet(new CompileStylesheetMetadata({\n                styles: [loadedStyle],\n                moduleUrl: styleUrl\n              }));\n\n              loadedStylesheets.set(styleUrl, stylesheet);\n              return _this330._loadMissingExternalStylesheets(stylesheet.styleUrls, loadedStylesheets);\n            });\n          })), function (_) {\n            return loadedStylesheets;\n          });\n        }\n      }, {\n        key: \"_normalizeStylesheet\",\n        value: function _normalizeStylesheet(stylesheet) {\n          var _this331 = this;\n\n          var moduleUrl = stylesheet.moduleUrl;\n          var allStyleUrls = stylesheet.styleUrls.filter(isStyleUrlResolvable).map(function (url) {\n            return _this331._urlResolver.resolve(moduleUrl, url);\n          });\n          var allStyles = stylesheet.styles.map(function (style) {\n            var styleWithImports = extractStyleUrls(_this331._urlResolver, moduleUrl, style);\n            allStyleUrls.push.apply(allStyleUrls, _toConsumableArray(styleWithImports.styleUrls));\n            return styleWithImports.style;\n          });\n          return new CompileStylesheetMetadata({\n            styles: allStyles,\n            styleUrls: allStyleUrls,\n            moduleUrl: moduleUrl\n          });\n        }\n      }]);\n\n      return DirectiveNormalizer;\n    }();\n\n    var TemplatePreparseVisitor =\n    /*#__PURE__*/\n    function () {\n      function TemplatePreparseVisitor() {\n        _classCallCheck(this, TemplatePreparseVisitor);\n\n        this.ngContentSelectors = [];\n        this.styles = [];\n        this.styleUrls = [];\n        this.ngNonBindableStackCount = 0;\n      }\n\n      _createClass2(TemplatePreparseVisitor, [{\n        key: \"visitElement\",\n        value: function visitElement(ast, context) {\n          var preparsedElement = preparseElement(ast);\n\n          switch (preparsedElement.type) {\n            case PreparsedElementType.NG_CONTENT:\n              if (this.ngNonBindableStackCount === 0) {\n                this.ngContentSelectors.push(preparsedElement.selectAttr);\n              }\n\n              break;\n\n            case PreparsedElementType.STYLE:\n              var textContent = '';\n              ast.children.forEach(function (child) {\n                if (child instanceof Text$3) {\n                  textContent += child.value;\n                }\n              });\n              this.styles.push(textContent);\n              break;\n\n            case PreparsedElementType.STYLESHEET:\n              this.styleUrls.push(preparsedElement.hrefAttr);\n              break;\n\n            default:\n              break;\n          }\n\n          if (preparsedElement.nonBindable) {\n            this.ngNonBindableStackCount++;\n          }\n\n          visitAll$1(this, ast.children);\n\n          if (preparsedElement.nonBindable) {\n            this.ngNonBindableStackCount--;\n          }\n\n          return null;\n        }\n      }, {\n        key: \"visitExpansion\",\n        value: function visitExpansion(ast, context) {\n          visitAll$1(this, ast.cases);\n        }\n      }, {\n        key: \"visitExpansionCase\",\n        value: function visitExpansionCase(ast, context) {\n          visitAll$1(this, ast.expression);\n        }\n      }, {\n        key: \"visitComment\",\n        value: function visitComment(ast, context) {\n          return null;\n        }\n      }, {\n        key: \"visitAttribute\",\n        value: function visitAttribute(ast, context) {\n          return null;\n        }\n      }, {\n        key: \"visitText\",\n        value: function visitText(ast, context) {\n          return null;\n        }\n      }]);\n\n      return TemplatePreparseVisitor;\n    }();\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var QUERY_METADATA_IDENTIFIERS = [createViewChild, createViewChildren, createContentChild, createContentChildren];\n    /*\n     * Resolve a `Type` for {@link Directive}.\n     *\n     * This interface can be overridden by the application developer to create custom behavior.\n     *\n     * See {@link Compiler}\n     */\n\n    var DirectiveResolver =\n    /*#__PURE__*/\n    function () {\n      function DirectiveResolver(_reflector) {\n        _classCallCheck(this, DirectiveResolver);\n\n        this._reflector = _reflector;\n      }\n\n      _createClass2(DirectiveResolver, [{\n        key: \"isDirective\",\n        value: function isDirective(type) {\n          var typeMetadata = this._reflector.annotations(resolveForwardRef(type));\n\n          return typeMetadata && typeMetadata.some(isDirectiveMetadata);\n        }\n      }, {\n        key: \"resolve\",\n        value: function resolve(type) {\n          var throwIfNotFound = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n\n          var typeMetadata = this._reflector.annotations(resolveForwardRef(type));\n\n          if (typeMetadata) {\n            var metadata = findLast(typeMetadata, isDirectiveMetadata);\n\n            if (metadata) {\n              var propertyMetadata = this._reflector.propMetadata(type);\n\n              var guards = this._reflector.guards(type);\n\n              return this._mergeWithPropertyMetadata(metadata, propertyMetadata, guards, type);\n            }\n          }\n\n          if (throwIfNotFound) {\n            throw new Error(\"No Directive annotation found on \".concat(stringify(type)));\n          }\n\n          return null;\n        }\n      }, {\n        key: \"_mergeWithPropertyMetadata\",\n        value: function _mergeWithPropertyMetadata(dm, propertyMetadata, guards, directiveType) {\n          var inputs = [];\n          var outputs = [];\n          var host = {};\n          var queries = {};\n          Object.keys(propertyMetadata).forEach(function (propName) {\n            var input = findLast(propertyMetadata[propName], function (a) {\n              return createInput.isTypeOf(a);\n            });\n\n            if (input) {\n              if (input.bindingPropertyName) {\n                inputs.push(\"\".concat(propName, \": \").concat(input.bindingPropertyName));\n              } else {\n                inputs.push(propName);\n              }\n            }\n\n            var output = findLast(propertyMetadata[propName], function (a) {\n              return createOutput.isTypeOf(a);\n            });\n\n            if (output) {\n              if (output.bindingPropertyName) {\n                outputs.push(\"\".concat(propName, \": \").concat(output.bindingPropertyName));\n              } else {\n                outputs.push(propName);\n              }\n            }\n\n            var hostBindings = propertyMetadata[propName].filter(function (a) {\n              return createHostBinding.isTypeOf(a);\n            });\n            hostBindings.forEach(function (hostBinding) {\n              if (hostBinding.hostPropertyName) {\n                var startWith = hostBinding.hostPropertyName[0];\n\n                if (startWith === '(') {\n                  throw new Error(\"@HostBinding can not bind to events. Use @HostListener instead.\");\n                } else if (startWith === '[') {\n                  throw new Error(\"@HostBinding parameter should be a property name, 'class.<name>', or 'attr.<name>'.\");\n                }\n\n                host[\"[\".concat(hostBinding.hostPropertyName, \"]\")] = propName;\n              } else {\n                host[\"[\".concat(propName, \"]\")] = propName;\n              }\n            });\n            var hostListeners = propertyMetadata[propName].filter(function (a) {\n              return createHostListener.isTypeOf(a);\n            });\n            hostListeners.forEach(function (hostListener) {\n              var args = hostListener.args || [];\n              host[\"(\".concat(hostListener.eventName, \")\")] = \"\".concat(propName, \"(\").concat(args.join(','), \")\");\n            });\n            var query = findLast(propertyMetadata[propName], function (a) {\n              return QUERY_METADATA_IDENTIFIERS.some(function (i) {\n                return i.isTypeOf(a);\n              });\n            });\n\n            if (query) {\n              queries[propName] = query;\n            }\n          });\n          return this._merge(dm, inputs, outputs, host, queries, guards, directiveType);\n        }\n      }, {\n        key: \"_extractPublicName\",\n        value: function _extractPublicName(def) {\n          return splitAtColon(def, [null, def])[1].trim();\n        }\n      }, {\n        key: \"_dedupeBindings\",\n        value: function _dedupeBindings(bindings) {\n          var names = new Set();\n          var publicNames = new Set();\n          var reversedResult = []; // go last to first to allow later entries to overwrite previous entries\n\n          for (var i = bindings.length - 1; i >= 0; i--) {\n            var binding = bindings[i];\n\n            var name = this._extractPublicName(binding);\n\n            publicNames.add(name);\n\n            if (!names.has(name)) {\n              names.add(name);\n              reversedResult.push(binding);\n            }\n          }\n\n          return reversedResult.reverse();\n        }\n      }, {\n        key: \"_merge\",\n        value: function _merge(directive, inputs, outputs, host, queries, guards, directiveType) {\n          var mergedInputs = this._dedupeBindings(directive.inputs ? directive.inputs.concat(inputs) : inputs);\n\n          var mergedOutputs = this._dedupeBindings(directive.outputs ? directive.outputs.concat(outputs) : outputs);\n\n          var mergedHost = directive.host ? Object.assign({}, directive.host, host) : host;\n          var mergedQueries = directive.queries ? Object.assign({}, directive.queries, queries) : queries;\n\n          if (createComponent.isTypeOf(directive)) {\n            var comp = directive;\n            return createComponent({\n              selector: comp.selector,\n              inputs: mergedInputs,\n              outputs: mergedOutputs,\n              host: mergedHost,\n              exportAs: comp.exportAs,\n              moduleId: comp.moduleId,\n              queries: mergedQueries,\n              changeDetection: comp.changeDetection,\n              providers: comp.providers,\n              viewProviders: comp.viewProviders,\n              entryComponents: comp.entryComponents,\n              template: comp.template,\n              templateUrl: comp.templateUrl,\n              styles: comp.styles,\n              styleUrls: comp.styleUrls,\n              encapsulation: comp.encapsulation,\n              animations: comp.animations,\n              interpolation: comp.interpolation,\n              preserveWhitespaces: directive.preserveWhitespaces\n            });\n          } else {\n            return createDirective({\n              selector: directive.selector,\n              inputs: mergedInputs,\n              outputs: mergedOutputs,\n              host: mergedHost,\n              exportAs: directive.exportAs,\n              queries: mergedQueries,\n              providers: directive.providers,\n              guards: guards\n            });\n          }\n        }\n      }]);\n\n      return DirectiveResolver;\n    }();\n\n    function isDirectiveMetadata(type) {\n      return createDirective.isTypeOf(type) || createComponent.isTypeOf(type);\n    }\n\n    function findLast(arr, condition) {\n      for (var i = arr.length - 1; i >= 0; i--) {\n        if (condition(arr[i])) {\n          return arr[i];\n        }\n      }\n\n      return null;\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * An i18n error.\n     */\n\n\n    var I18nError =\n    /*#__PURE__*/\n    function (_ParseError6) {\n      _inherits(I18nError, _ParseError6);\n\n      function I18nError(span, msg) {\n        _classCallCheck(this, I18nError);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(I18nError).call(this, span, msg));\n      }\n\n      return I18nError;\n    }(ParseError);\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var _I18N_ATTR = 'i18n';\n    var _I18N_ATTR_PREFIX = 'i18n-';\n    var _I18N_COMMENT_PREFIX_REGEXP = /^i18n:?/;\n    var MEANING_SEPARATOR = '|';\n    var ID_SEPARATOR = '@@';\n    var i18nCommentsWarned = false;\n    /**\n     * Extract translatable messages from an html AST\n     */\n\n    function extractMessages(nodes, interpolationConfig, implicitTags, implicitAttrs) {\n      var visitor = new _Visitor$2(implicitTags, implicitAttrs);\n      return visitor.extract(nodes, interpolationConfig);\n    }\n\n    function mergeTranslations(nodes, translations, interpolationConfig, implicitTags, implicitAttrs) {\n      var visitor = new _Visitor$2(implicitTags, implicitAttrs);\n      return visitor.merge(nodes, translations, interpolationConfig);\n    }\n\n    var ExtractionResult = function ExtractionResult(messages, errors) {\n      _classCallCheck(this, ExtractionResult);\n\n      this.messages = messages;\n      this.errors = errors;\n    };\n\n    var _VisitorMode;\n\n    (function (_VisitorMode) {\n      _VisitorMode[_VisitorMode[\"Extract\"] = 0] = \"Extract\";\n      _VisitorMode[_VisitorMode[\"Merge\"] = 1] = \"Merge\";\n    })(_VisitorMode || (_VisitorMode = {}));\n    /**\n     * This Visitor is used:\n     * 1. to extract all the translatable strings from an html AST (see `extract()`),\n     * 2. to replace the translatable strings with the actual translations (see `merge()`)\n     *\n     * @internal\n     */\n\n\n    var _Visitor$2 =\n    /*#__PURE__*/\n    function () {\n      function _Visitor$2(_implicitTags, _implicitAttrs) {\n        _classCallCheck(this, _Visitor$2);\n\n        this._implicitTags = _implicitTags;\n        this._implicitAttrs = _implicitAttrs;\n      }\n      /**\n       * Extracts the messages from the tree\n       */\n\n\n      _createClass2(_Visitor$2, [{\n        key: \"extract\",\n        value: function extract(nodes, interpolationConfig) {\n          var _this332 = this;\n\n          this._init(_VisitorMode.Extract, interpolationConfig);\n\n          nodes.forEach(function (node) {\n            return node.visit(_this332, null);\n          });\n\n          if (this._inI18nBlock) {\n            this._reportError(nodes[nodes.length - 1], 'Unclosed block');\n          }\n\n          return new ExtractionResult(this._messages, this._errors);\n        }\n        /**\n         * Returns a tree where all translatable nodes are translated\n         */\n\n      }, {\n        key: \"merge\",\n        value: function merge(nodes, translations, interpolationConfig) {\n          this._init(_VisitorMode.Merge, interpolationConfig);\n\n          this._translations = translations; // Construct a single fake root element\n\n          var wrapper = new Element$1('wrapper', [], nodes, undefined, undefined, undefined);\n          var translatedNode = wrapper.visit(this, null);\n\n          if (this._inI18nBlock) {\n            this._reportError(nodes[nodes.length - 1], 'Unclosed block');\n          }\n\n          return new ParseTreeResult(translatedNode.children, this._errors);\n        }\n      }, {\n        key: \"visitExpansionCase\",\n        value: function visitExpansionCase(icuCase, context) {\n          // Parse cases for translatable html attributes\n          var expression = visitAll$1(this, icuCase.expression, context);\n\n          if (this._mode === _VisitorMode.Merge) {\n            return new ExpansionCase(icuCase.value, expression, icuCase.sourceSpan, icuCase.valueSourceSpan, icuCase.expSourceSpan);\n          }\n        }\n      }, {\n        key: \"visitExpansion\",\n        value: function visitExpansion(icu, context) {\n          this._mayBeAddBlockChildren(icu);\n\n          var wasInIcu = this._inIcu;\n\n          if (!this._inIcu) {\n            // nested ICU messages should not be extracted but top-level translated as a whole\n            if (this._isInTranslatableSection) {\n              this._addMessage([icu]);\n            }\n\n            this._inIcu = true;\n          }\n\n          var cases = visitAll$1(this, icu.cases, context);\n\n          if (this._mode === _VisitorMode.Merge) {\n            icu = new Expansion(icu.switchValue, icu.type, cases, icu.sourceSpan, icu.switchValueSourceSpan);\n          }\n\n          this._inIcu = wasInIcu;\n          return icu;\n        }\n      }, {\n        key: \"visitComment\",\n        value: function visitComment(comment, context) {\n          var isOpening = _isOpeningComment(comment);\n\n          if (isOpening && this._isInTranslatableSection) {\n            this._reportError(comment, 'Could not start a block inside a translatable section');\n\n            return;\n          }\n\n          var isClosing = _isClosingComment(comment);\n\n          if (isClosing && !this._inI18nBlock) {\n            this._reportError(comment, 'Trying to close an unopened block');\n\n            return;\n          }\n\n          if (!this._inI18nNode && !this._inIcu) {\n            if (!this._inI18nBlock) {\n              if (isOpening) {\n                // deprecated from v5 you should use <ng-container i18n> instead of i18n comments\n                if (!i18nCommentsWarned && console && console.warn) {\n                  i18nCommentsWarned = true;\n                  var details = comment.sourceSpan.details ? \", \".concat(comment.sourceSpan.details) : ''; // TODO(ocombe): use a log service once there is a public one available\n\n                  console.warn(\"I18n comments are deprecated, use an <ng-container> element instead (\".concat(comment.sourceSpan.start).concat(details, \")\"));\n                }\n\n                this._inI18nBlock = true;\n                this._blockStartDepth = this._depth;\n                this._blockChildren = [];\n                this._blockMeaningAndDesc = comment.value.replace(_I18N_COMMENT_PREFIX_REGEXP, '').trim();\n\n                this._openTranslatableSection(comment);\n              }\n            } else {\n              if (isClosing) {\n                if (this._depth == this._blockStartDepth) {\n                  this._closeTranslatableSection(comment, this._blockChildren);\n\n                  this._inI18nBlock = false;\n\n                  var message = this._addMessage(this._blockChildren, this._blockMeaningAndDesc); // merge attributes in sections\n\n\n                  var nodes = this._translateMessage(comment, message);\n\n                  return visitAll$1(this, nodes);\n                } else {\n                  this._reportError(comment, 'I18N blocks should not cross element boundaries');\n\n                  return;\n                }\n              }\n            }\n          }\n        }\n      }, {\n        key: \"visitText\",\n        value: function visitText(text, context) {\n          if (this._isInTranslatableSection) {\n            this._mayBeAddBlockChildren(text);\n          }\n\n          return text;\n        }\n      }, {\n        key: \"visitElement\",\n        value: function visitElement(el, context) {\n          var _this333 = this;\n\n          this._mayBeAddBlockChildren(el);\n\n          this._depth++;\n          var wasInI18nNode = this._inI18nNode;\n          var wasInImplicitNode = this._inImplicitNode;\n          var childNodes = [];\n          var translatedChildNodes = undefined; // Extract:\n          // - top level nodes with the (implicit) \"i18n\" attribute if not already in a section\n          // - ICU messages\n\n          var i18nAttr = _getI18nAttr(el);\n\n          var i18nMeta = i18nAttr ? i18nAttr.value : '';\n          var isImplicit = this._implicitTags.some(function (tag) {\n            return el.name === tag;\n          }) && !this._inIcu && !this._isInTranslatableSection;\n          var isTopLevelImplicit = !wasInImplicitNode && isImplicit;\n          this._inImplicitNode = wasInImplicitNode || isImplicit;\n\n          if (!this._isInTranslatableSection && !this._inIcu) {\n            if (i18nAttr || isTopLevelImplicit) {\n              this._inI18nNode = true;\n\n              var message = this._addMessage(el.children, i18nMeta);\n\n              translatedChildNodes = this._translateMessage(el, message);\n            }\n\n            if (this._mode == _VisitorMode.Extract) {\n              var isTranslatable = i18nAttr || isTopLevelImplicit;\n              if (isTranslatable) this._openTranslatableSection(el);\n              visitAll$1(this, el.children);\n              if (isTranslatable) this._closeTranslatableSection(el, el.children);\n            }\n          } else {\n            if (i18nAttr || isTopLevelImplicit) {\n              this._reportError(el, 'Could not mark an element as translatable inside a translatable section');\n            }\n\n            if (this._mode == _VisitorMode.Extract) {\n              // Descend into child nodes for extraction\n              visitAll$1(this, el.children);\n            }\n          }\n\n          if (this._mode === _VisitorMode.Merge) {\n            var visitNodes = translatedChildNodes || el.children;\n            visitNodes.forEach(function (child) {\n              var visited = child.visit(_this333, context);\n\n              if (visited && !_this333._isInTranslatableSection) {\n                // Do not add the children from translatable sections (= i18n blocks here)\n                // They will be added later in this loop when the block closes (i.e. on `<!-- /i18n -->`)\n                childNodes = childNodes.concat(visited);\n              }\n            });\n          }\n\n          this._visitAttributesOf(el);\n\n          this._depth--;\n          this._inI18nNode = wasInI18nNode;\n          this._inImplicitNode = wasInImplicitNode;\n\n          if (this._mode === _VisitorMode.Merge) {\n            var translatedAttrs = this._translateAttributes(el);\n\n            return new Element$1(el.name, translatedAttrs, childNodes, el.sourceSpan, el.startSourceSpan, el.endSourceSpan);\n          }\n\n          return null;\n        }\n      }, {\n        key: \"visitAttribute\",\n        value: function visitAttribute(attribute, context) {\n          throw new Error('unreachable code');\n        }\n      }, {\n        key: \"_init\",\n        value: function _init(mode, interpolationConfig) {\n          this._mode = mode;\n          this._inI18nBlock = false;\n          this._inI18nNode = false;\n          this._depth = 0;\n          this._inIcu = false;\n          this._msgCountAtSectionStart = undefined;\n          this._errors = [];\n          this._messages = [];\n          this._inImplicitNode = false;\n          this._createI18nMessage = createI18nMessageFactory(interpolationConfig);\n        } // looks for translatable attributes\n\n      }, {\n        key: \"_visitAttributesOf\",\n        value: function _visitAttributesOf(el) {\n          var _this334 = this;\n\n          var explicitAttrNameToValue = {};\n          var implicitAttrNames = this._implicitAttrs[el.name] || [];\n          el.attrs.filter(function (attr) {\n            return attr.name.startsWith(_I18N_ATTR_PREFIX);\n          }).forEach(function (attr) {\n            return explicitAttrNameToValue[attr.name.slice(_I18N_ATTR_PREFIX.length)] = attr.value;\n          });\n          el.attrs.forEach(function (attr) {\n            if (attr.name in explicitAttrNameToValue) {\n              _this334._addMessage([attr], explicitAttrNameToValue[attr.name]);\n            } else if (implicitAttrNames.some(function (name) {\n              return attr.name === name;\n            })) {\n              _this334._addMessage([attr]);\n            }\n          });\n        } // add a translatable message\n\n      }, {\n        key: \"_addMessage\",\n        value: function _addMessage(ast, msgMeta) {\n          if (ast.length == 0 || ast.length == 1 && ast[0] instanceof Attribute && !ast[0].value) {\n            // Do not create empty messages\n            return null;\n          }\n\n          var _parseMessageMeta2 = _parseMessageMeta(msgMeta),\n              meaning = _parseMessageMeta2.meaning,\n              description = _parseMessageMeta2.description,\n              id = _parseMessageMeta2.id;\n\n          var message = this._createI18nMessage(ast, meaning, description, id);\n\n          this._messages.push(message);\n\n          return message;\n        } // Translates the given message given the `TranslationBundle`\n        // This is used for translating elements / blocks - see `_translateAttributes` for attributes\n        // no-op when called in extraction mode (returns [])\n\n      }, {\n        key: \"_translateMessage\",\n        value: function _translateMessage(el, message) {\n          if (message && this._mode === _VisitorMode.Merge) {\n            var nodes = this._translations.get(message);\n\n            if (nodes) {\n              return nodes;\n            }\n\n            this._reportError(el, \"Translation unavailable for message id=\\\"\".concat(this._translations.digest(message), \"\\\"\"));\n          }\n\n          return [];\n        } // translate the attributes of an element and remove i18n specific attributes\n\n      }, {\n        key: \"_translateAttributes\",\n        value: function _translateAttributes(el) {\n          var _this335 = this;\n\n          var attributes = el.attrs;\n          var i18nParsedMessageMeta = {};\n          attributes.forEach(function (attr) {\n            if (attr.name.startsWith(_I18N_ATTR_PREFIX)) {\n              i18nParsedMessageMeta[attr.name.slice(_I18N_ATTR_PREFIX.length)] = _parseMessageMeta(attr.value);\n            }\n          });\n          var translatedAttributes = [];\n          attributes.forEach(function (attr) {\n            if (attr.name === _I18N_ATTR || attr.name.startsWith(_I18N_ATTR_PREFIX)) {\n              // strip i18n specific attributes\n              return;\n            }\n\n            if (attr.value && attr.value != '' && i18nParsedMessageMeta.hasOwnProperty(attr.name)) {\n              var _i18nParsedMessageMet = i18nParsedMessageMeta[attr.name],\n                  meaning = _i18nParsedMessageMet.meaning,\n                  description = _i18nParsedMessageMet.description,\n                  id = _i18nParsedMessageMet.id;\n\n              var message = _this335._createI18nMessage([attr], meaning, description, id);\n\n              var nodes = _this335._translations.get(message);\n\n              if (nodes) {\n                if (nodes.length == 0) {\n                  translatedAttributes.push(new Attribute(attr.name, '', attr.sourceSpan));\n                } else if (nodes[0] instanceof Text$3) {\n                  var value = nodes[0].value;\n                  translatedAttributes.push(new Attribute(attr.name, value, attr.sourceSpan));\n                } else {\n                  _this335._reportError(el, \"Unexpected translation for attribute \\\"\".concat(attr.name, \"\\\" (id=\\\"\").concat(id || _this335._translations.digest(message), \"\\\")\"));\n                }\n              } else {\n                _this335._reportError(el, \"Translation unavailable for attribute \\\"\".concat(attr.name, \"\\\" (id=\\\"\").concat(id || _this335._translations.digest(message), \"\\\")\"));\n              }\n            } else {\n              translatedAttributes.push(attr);\n            }\n          });\n          return translatedAttributes;\n        }\n        /**\n         * Add the node as a child of the block when:\n         * - we are in a block,\n         * - we are not inside a ICU message (those are handled separately),\n         * - the node is a \"direct child\" of the block\n         */\n\n      }, {\n        key: \"_mayBeAddBlockChildren\",\n        value: function _mayBeAddBlockChildren(node) {\n          if (this._inI18nBlock && !this._inIcu && this._depth == this._blockStartDepth) {\n            this._blockChildren.push(node);\n          }\n        }\n        /**\n         * Marks the start of a section, see `_closeTranslatableSection`\n         */\n\n      }, {\n        key: \"_openTranslatableSection\",\n        value: function _openTranslatableSection(node) {\n          if (this._isInTranslatableSection) {\n            this._reportError(node, 'Unexpected section start');\n          } else {\n            this._msgCountAtSectionStart = this._messages.length;\n          }\n        }\n        /**\n         * A translatable section could be:\n         * - the content of translatable element,\n         * - nodes between `<!-- i18n -->` and `<!-- /i18n -->` comments\n         */\n\n      }, {\n        key: \"_closeTranslatableSection\",\n\n        /**\n         * Terminates a section.\n         *\n         * If a section has only one significant children (comments not significant) then we should not\n         * keep the message from this children:\n         *\n         * `<p i18n=\"meaning|description\">{ICU message}</p>` would produce two messages:\n         * - one for the <p> content with meaning and description,\n         * - another one for the ICU message.\n         *\n         * In this case the last message is discarded as it contains less information (the AST is\n         * otherwise identical).\n         *\n         * Note that we should still keep messages extracted from attributes inside the section (ie in the\n         * ICU message here)\n         */\n        value: function _closeTranslatableSection(node, directChildren) {\n          if (!this._isInTranslatableSection) {\n            this._reportError(node, 'Unexpected section end');\n\n            return;\n          }\n\n          var startIndex = this._msgCountAtSectionStart;\n          var significantChildren = directChildren.reduce(function (count, node) {\n            return count + (node instanceof Comment ? 0 : 1);\n          }, 0);\n\n          if (significantChildren == 1) {\n            for (var i = this._messages.length - 1; i >= startIndex; i--) {\n              var ast = this._messages[i].nodes;\n\n              if (!(ast.length == 1 && ast[0] instanceof Text$1)) {\n                this._messages.splice(i, 1);\n\n                break;\n              }\n            }\n          }\n\n          this._msgCountAtSectionStart = undefined;\n        }\n      }, {\n        key: \"_reportError\",\n        value: function _reportError(node, msg) {\n          this._errors.push(new I18nError(node.sourceSpan, msg));\n        }\n      }, {\n        key: \"_isInTranslatableSection\",\n        get: function get() {\n          return this._msgCountAtSectionStart !== void 0;\n        }\n      }]);\n\n      return _Visitor$2;\n    }();\n\n    function _isOpeningComment(n) {\n      return !!(n instanceof Comment && n.value && n.value.startsWith('i18n'));\n    }\n\n    function _isClosingComment(n) {\n      return !!(n instanceof Comment && n.value && n.value === '/i18n');\n    }\n\n    function _getI18nAttr(p) {\n      return p.attrs.find(function (attr) {\n        return attr.name === _I18N_ATTR;\n      }) || null;\n    }\n\n    function _parseMessageMeta(i18n) {\n      if (!i18n) return {\n        meaning: '',\n        description: '',\n        id: ''\n      };\n      var idIndex = i18n.indexOf(ID_SEPARATOR);\n      var descIndex = i18n.indexOf(MEANING_SEPARATOR);\n\n      var _ref39 = idIndex > -1 ? [i18n.slice(0, idIndex), i18n.slice(idIndex + 2)] : [i18n, ''],\n          _ref40 = _slicedToArray(_ref39, 2),\n          meaningAndDesc = _ref40[0],\n          id = _ref40[1];\n\n      var _ref41 = descIndex > -1 ? [meaningAndDesc.slice(0, descIndex), meaningAndDesc.slice(descIndex + 1)] : ['', meaningAndDesc],\n          _ref42 = _slicedToArray(_ref41, 2),\n          meaning = _ref42[0],\n          description = _ref42[1];\n\n      return {\n        meaning: meaning,\n        description: description,\n        id: id\n      };\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var XmlTagDefinition =\n    /*#__PURE__*/\n    function () {\n      function XmlTagDefinition() {\n        _classCallCheck(this, XmlTagDefinition);\n\n        this.closedByParent = false;\n        this.contentType = TagContentType.PARSABLE_DATA;\n        this.isVoid = false;\n        this.ignoreFirstLf = false;\n        this.canSelfClose = true;\n      }\n\n      _createClass2(XmlTagDefinition, [{\n        key: \"requireExtraParent\",\n        value: function requireExtraParent(currentParent) {\n          return false;\n        }\n      }, {\n        key: \"isClosedByChild\",\n        value: function isClosedByChild(name) {\n          return false;\n        }\n      }]);\n\n      return XmlTagDefinition;\n    }();\n\n    var _TAG_DEFINITION = new XmlTagDefinition();\n\n    function getXmlTagDefinition(tagName) {\n      return _TAG_DEFINITION;\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var XmlParser =\n    /*#__PURE__*/\n    function (_Parser2) {\n      _inherits(XmlParser, _Parser2);\n\n      function XmlParser() {\n        _classCallCheck(this, XmlParser);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(XmlParser).call(this, getXmlTagDefinition));\n      }\n\n      _createClass2(XmlParser, [{\n        key: \"parse\",\n        value: function parse(source, url, options) {\n          return _get(_getPrototypeOf(XmlParser.prototype), \"parse\", this).call(this, source, url, options);\n        }\n      }]);\n\n      return XmlParser;\n    }(Parser);\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var _VERSION = '1.2';\n    var _XMLNS = 'urn:oasis:names:tc:xliff:document:1.2'; // TODO(vicb): make this a param (s/_/-/)\n\n    var _DEFAULT_SOURCE_LANG = 'en';\n    var _PLACEHOLDER_TAG$1 = 'x';\n    var _MARKER_TAG = 'mrk';\n    var _FILE_TAG = 'file';\n    var _SOURCE_TAG$1 = 'source';\n    var _SEGMENT_SOURCE_TAG = 'seg-source';\n    var _ALT_TRANS_TAG = 'alt-trans';\n    var _TARGET_TAG = 'target';\n    var _UNIT_TAG = 'trans-unit';\n    var _CONTEXT_GROUP_TAG = 'context-group';\n    var _CONTEXT_TAG = 'context'; // http://docs.oasis-open.org/xliff/v1.2/os/xliff-core.html\n    // http://docs.oasis-open.org/xliff/v1.2/xliff-profile-html/xliff-profile-html-1.2.html\n\n    var Xliff =\n    /*#__PURE__*/\n    function (_Serializer2) {\n      _inherits(Xliff, _Serializer2);\n\n      function Xliff() {\n        _classCallCheck(this, Xliff);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(Xliff).apply(this, arguments));\n      }\n\n      _createClass2(Xliff, [{\n        key: \"write\",\n        value: function write(messages, locale) {\n          var visitor = new _WriteVisitor();\n          var transUnits = [];\n          messages.forEach(function (message) {\n            var _transUnit$children;\n\n            var contextTags = [];\n            message.sources.forEach(function (source) {\n              var contextGroupTag = new Tag(_CONTEXT_GROUP_TAG, {\n                purpose: 'location'\n              });\n              contextGroupTag.children.push(new CR(10), new Tag(_CONTEXT_TAG, {\n                'context-type': 'sourcefile'\n              }, [new Text$2(source.filePath)]), new CR(10), new Tag(_CONTEXT_TAG, {\n                'context-type': 'linenumber'\n              }, [new Text$2(\"\".concat(source.startLine))]), new CR(8));\n              contextTags.push(new CR(8), contextGroupTag);\n            });\n            var transUnit = new Tag(_UNIT_TAG, {\n              id: message.id,\n              datatype: 'html'\n            });\n\n            (_transUnit$children = transUnit.children).push.apply(_transUnit$children, [new CR(8), new Tag(_SOURCE_TAG$1, {}, visitor.serialize(message.nodes))].concat(contextTags));\n\n            if (message.description) {\n              transUnit.children.push(new CR(8), new Tag('note', {\n                priority: '1',\n                from: 'description'\n              }, [new Text$2(message.description)]));\n            }\n\n            if (message.meaning) {\n              transUnit.children.push(new CR(8), new Tag('note', {\n                priority: '1',\n                from: 'meaning'\n              }, [new Text$2(message.meaning)]));\n            }\n\n            transUnit.children.push(new CR(6));\n            transUnits.push(new CR(6), transUnit);\n          });\n          var body = new Tag('body', {}, [].concat(transUnits, [new CR(4)]));\n          var file = new Tag('file', {\n            'source-language': locale || _DEFAULT_SOURCE_LANG,\n            datatype: 'plaintext',\n            original: 'ng2.template'\n          }, [new CR(4), body, new CR(2)]);\n          var xliff = new Tag('xliff', {\n            version: _VERSION,\n            xmlns: _XMLNS\n          }, [new CR(2), file, new CR()]);\n          return serialize([new Declaration({\n            version: '1.0',\n            encoding: 'UTF-8'\n          }), new CR(), xliff, new CR()]);\n        }\n      }, {\n        key: \"load\",\n        value: function load(content, url) {\n          // xliff to xml nodes\n          var xliffParser = new XliffParser();\n\n          var _xliffParser$parse = xliffParser.parse(content, url),\n              locale = _xliffParser$parse.locale,\n              msgIdToHtml = _xliffParser$parse.msgIdToHtml,\n              errors = _xliffParser$parse.errors; // xml nodes to i18n nodes\n\n\n          var i18nNodesByMsgId = {};\n          var converter = new XmlToI18n();\n          Object.keys(msgIdToHtml).forEach(function (msgId) {\n            var _converter$convert = converter.convert(msgIdToHtml[msgId], url),\n                i18nNodes = _converter$convert.i18nNodes,\n                e = _converter$convert.errors;\n\n            errors.push.apply(errors, _toConsumableArray(e));\n            i18nNodesByMsgId[msgId] = i18nNodes;\n          });\n\n          if (errors.length) {\n            throw new Error(\"xliff parse errors:\\n\".concat(errors.join('\\n')));\n          }\n\n          return {\n            locale: locale,\n            i18nNodesByMsgId: i18nNodesByMsgId\n          };\n        }\n      }, {\n        key: \"digest\",\n        value: function digest(message) {\n          return _digest2(message);\n        }\n      }]);\n\n      return Xliff;\n    }(Serializer);\n\n    var _WriteVisitor =\n    /*#__PURE__*/\n    function () {\n      function _WriteVisitor() {\n        _classCallCheck(this, _WriteVisitor);\n      }\n\n      _createClass2(_WriteVisitor, [{\n        key: \"visitText\",\n        value: function visitText(text, context) {\n          return [new Text$2(text.value)];\n        }\n      }, {\n        key: \"visitContainer\",\n        value: function visitContainer(container, context) {\n          var _this336 = this;\n\n          var nodes = [];\n          container.children.forEach(function (node) {\n            return nodes.push.apply(nodes, _toConsumableArray(node.visit(_this336)));\n          });\n          return nodes;\n        }\n      }, {\n        key: \"visitIcu\",\n        value: function visitIcu(icu, context) {\n          var _this337 = this;\n\n          var nodes = [new Text$2(\"{\".concat(icu.expressionPlaceholder, \", \").concat(icu.type, \", \"))];\n          Object.keys(icu.cases).forEach(function (c) {\n            nodes.push.apply(nodes, [new Text$2(\"\".concat(c, \" {\"))].concat(_toConsumableArray(icu.cases[c].visit(_this337)), [new Text$2(\"} \")]));\n          });\n          nodes.push(new Text$2(\"}\"));\n          return nodes;\n        }\n      }, {\n        key: \"visitTagPlaceholder\",\n        value: function visitTagPlaceholder(ph, context) {\n          var ctype = getCtypeForTag(ph.tag);\n\n          if (ph.isVoid) {\n            // void tags have no children nor closing tags\n            return [new Tag(_PLACEHOLDER_TAG$1, {\n              id: ph.startName,\n              ctype: ctype,\n              'equiv-text': \"<\".concat(ph.tag, \"/>\")\n            })];\n          }\n\n          var startTagPh = new Tag(_PLACEHOLDER_TAG$1, {\n            id: ph.startName,\n            ctype: ctype,\n            'equiv-text': \"<\".concat(ph.tag, \">\")\n          });\n          var closeTagPh = new Tag(_PLACEHOLDER_TAG$1, {\n            id: ph.closeName,\n            ctype: ctype,\n            'equiv-text': \"</\".concat(ph.tag, \">\")\n          });\n          return [startTagPh].concat(_toConsumableArray(this.serialize(ph.children)), [closeTagPh]);\n        }\n      }, {\n        key: \"visitPlaceholder\",\n        value: function visitPlaceholder(ph, context) {\n          return [new Tag(_PLACEHOLDER_TAG$1, {\n            id: ph.name,\n            'equiv-text': \"{{\".concat(ph.value, \"}}\")\n          })];\n        }\n      }, {\n        key: \"visitIcuPlaceholder\",\n        value: function visitIcuPlaceholder(ph, context) {\n          var equivText = \"{\".concat(ph.value.expression, \", \").concat(ph.value.type, \", \").concat(Object.keys(ph.value.cases).map(function (value) {\n            return value + ' {...}';\n          }).join(' '), \"}\");\n          return [new Tag(_PLACEHOLDER_TAG$1, {\n            id: ph.name,\n            'equiv-text': equivText\n          })];\n        }\n      }, {\n        key: \"serialize\",\n        value: function serialize(nodes) {\n          var _ref43,\n              _this338 = this;\n\n          return (_ref43 = []).concat.apply(_ref43, _toConsumableArray(nodes.map(function (node) {\n            return node.visit(_this338);\n          })));\n        }\n      }]);\n\n      return _WriteVisitor;\n    }(); // TODO(vicb): add error management (structure)\n    // Extract messages as xml nodes from the xliff file\n\n\n    var XliffParser =\n    /*#__PURE__*/\n    function () {\n      function XliffParser() {\n        _classCallCheck(this, XliffParser);\n\n        this._locale = null;\n      }\n\n      _createClass2(XliffParser, [{\n        key: \"parse\",\n        value: function parse(xliff, url) {\n          this._unitMlString = null;\n          this._msgIdToHtml = {};\n          var xml = new XmlParser().parse(xliff, url);\n          this._errors = xml.errors;\n          visitAll$1(this, xml.rootNodes, null);\n          return {\n            msgIdToHtml: this._msgIdToHtml,\n            errors: this._errors,\n            locale: this._locale\n          };\n        }\n      }, {\n        key: \"visitElement\",\n        value: function visitElement(element, context) {\n          switch (element.name) {\n            case _UNIT_TAG:\n              this._unitMlString = null;\n              var idAttr = element.attrs.find(function (attr) {\n                return attr.name === 'id';\n              });\n\n              if (!idAttr) {\n                this._addError(element, \"<\".concat(_UNIT_TAG, \"> misses the \\\"id\\\" attribute\"));\n              } else {\n                var id = idAttr.value;\n\n                if (this._msgIdToHtml.hasOwnProperty(id)) {\n                  this._addError(element, \"Duplicated translations for msg \".concat(id));\n                } else {\n                  visitAll$1(this, element.children, null);\n\n                  if (typeof this._unitMlString === 'string') {\n                    this._msgIdToHtml[id] = this._unitMlString;\n                  } else {\n                    this._addError(element, \"Message \".concat(id, \" misses a translation\"));\n                  }\n                }\n              }\n\n              break;\n            // ignore those tags\n\n            case _SOURCE_TAG$1:\n            case _SEGMENT_SOURCE_TAG:\n            case _ALT_TRANS_TAG:\n              break;\n\n            case _TARGET_TAG:\n              var innerTextStart = element.startSourceSpan.end.offset;\n              var innerTextEnd = element.endSourceSpan.start.offset;\n              var content = element.startSourceSpan.start.file.content;\n              var innerText = content.slice(innerTextStart, innerTextEnd);\n              this._unitMlString = innerText;\n              break;\n\n            case _FILE_TAG:\n              var localeAttr = element.attrs.find(function (attr) {\n                return attr.name === 'target-language';\n              });\n\n              if (localeAttr) {\n                this._locale = localeAttr.value;\n              }\n\n              visitAll$1(this, element.children, null);\n              break;\n\n            default:\n              // TODO(vicb): assert file structure, xliff version\n              // For now only recurse on unhandled nodes\n              visitAll$1(this, element.children, null);\n          }\n        }\n      }, {\n        key: \"visitAttribute\",\n        value: function visitAttribute(attribute, context) {}\n      }, {\n        key: \"visitText\",\n        value: function visitText(text, context) {}\n      }, {\n        key: \"visitComment\",\n        value: function visitComment(comment, context) {}\n      }, {\n        key: \"visitExpansion\",\n        value: function visitExpansion(expansion, context) {}\n      }, {\n        key: \"visitExpansionCase\",\n        value: function visitExpansionCase(expansionCase, context) {}\n      }, {\n        key: \"_addError\",\n        value: function _addError(node, message) {\n          this._errors.push(new I18nError(node.sourceSpan, message));\n        }\n      }]);\n\n      return XliffParser;\n    }(); // Convert ml nodes (xliff syntax) to i18n nodes\n\n\n    var XmlToI18n =\n    /*#__PURE__*/\n    function () {\n      function XmlToI18n() {\n        _classCallCheck(this, XmlToI18n);\n      }\n\n      _createClass2(XmlToI18n, [{\n        key: \"convert\",\n        value: function convert(message, url) {\n          var _ref44;\n\n          var xmlIcu = new XmlParser().parse(message, url, {\n            tokenizeExpansionForms: true\n          });\n          this._errors = xmlIcu.errors;\n          var i18nNodes = this._errors.length > 0 || xmlIcu.rootNodes.length == 0 ? [] : (_ref44 = []).concat.apply(_ref44, _toConsumableArray(visitAll$1(this, xmlIcu.rootNodes)));\n          return {\n            i18nNodes: i18nNodes,\n            errors: this._errors\n          };\n        }\n      }, {\n        key: \"visitText\",\n        value: function visitText(text, context) {\n          return new Text$1(text.value, text.sourceSpan);\n        }\n      }, {\n        key: \"visitElement\",\n        value: function visitElement(el, context) {\n          if (el.name === _PLACEHOLDER_TAG$1) {\n            var nameAttr = el.attrs.find(function (attr) {\n              return attr.name === 'id';\n            });\n\n            if (nameAttr) {\n              return new Placeholder('', nameAttr.value, el.sourceSpan);\n            }\n\n            this._addError(el, \"<\".concat(_PLACEHOLDER_TAG$1, \"> misses the \\\"id\\\" attribute\"));\n\n            return null;\n          }\n\n          if (el.name === _MARKER_TAG) {\n            var _ref45;\n\n            return (_ref45 = []).concat.apply(_ref45, _toConsumableArray(visitAll$1(this, el.children)));\n          }\n\n          this._addError(el, \"Unexpected tag\");\n\n          return null;\n        }\n      }, {\n        key: \"visitExpansion\",\n        value: function visitExpansion(icu, context) {\n          var caseMap = {};\n          visitAll$1(this, icu.cases).forEach(function (c) {\n            caseMap[c.value] = new Container(c.nodes, icu.sourceSpan);\n          });\n          return new Icu$1(icu.switchValue, icu.type, caseMap, icu.sourceSpan);\n        }\n      }, {\n        key: \"visitExpansionCase\",\n        value: function visitExpansionCase(icuCase, context) {\n          return {\n            value: icuCase.value,\n            nodes: visitAll$1(this, icuCase.expression)\n          };\n        }\n      }, {\n        key: \"visitComment\",\n        value: function visitComment(comment, context) {}\n      }, {\n        key: \"visitAttribute\",\n        value: function visitAttribute(attribute, context) {}\n      }, {\n        key: \"_addError\",\n        value: function _addError(node, message) {\n          this._errors.push(new I18nError(node.sourceSpan, message));\n        }\n      }]);\n\n      return XmlToI18n;\n    }();\n\n    function getCtypeForTag(tag) {\n      switch (tag.toLowerCase()) {\n        case 'br':\n          return 'lb';\n\n        case 'img':\n          return 'image';\n\n        default:\n          return \"x-\".concat(tag);\n      }\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var _VERSION$1 = '2.0';\n    var _XMLNS$1 = 'urn:oasis:names:tc:xliff:document:2.0'; // TODO(vicb): make this a param (s/_/-/)\n\n    var _DEFAULT_SOURCE_LANG$1 = 'en';\n    var _PLACEHOLDER_TAG$2 = 'ph';\n    var _PLACEHOLDER_SPANNING_TAG = 'pc';\n    var _MARKER_TAG$1 = 'mrk';\n    var _XLIFF_TAG = 'xliff';\n    var _SOURCE_TAG$2 = 'source';\n    var _TARGET_TAG$1 = 'target';\n    var _UNIT_TAG$1 = 'unit'; // http://docs.oasis-open.org/xliff/xliff-core/v2.0/os/xliff-core-v2.0-os.html\n\n    var Xliff2 =\n    /*#__PURE__*/\n    function (_Serializer3) {\n      _inherits(Xliff2, _Serializer3);\n\n      function Xliff2() {\n        _classCallCheck(this, Xliff2);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(Xliff2).apply(this, arguments));\n      }\n\n      _createClass2(Xliff2, [{\n        key: \"write\",\n        value: function write(messages, locale) {\n          var visitor = new _WriteVisitor$1();\n          var units = [];\n          messages.forEach(function (message) {\n            var unit = new Tag(_UNIT_TAG$1, {\n              id: message.id\n            });\n            var notes = new Tag('notes');\n\n            if (message.description || message.meaning) {\n              if (message.description) {\n                notes.children.push(new CR(8), new Tag('note', {\n                  category: 'description'\n                }, [new Text$2(message.description)]));\n              }\n\n              if (message.meaning) {\n                notes.children.push(new CR(8), new Tag('note', {\n                  category: 'meaning'\n                }, [new Text$2(message.meaning)]));\n              }\n            }\n\n            message.sources.forEach(function (source) {\n              notes.children.push(new CR(8), new Tag('note', {\n                category: 'location'\n              }, [new Text$2(\"\".concat(source.filePath, \":\").concat(source.startLine).concat(source.endLine !== source.startLine ? ',' + source.endLine : ''))]));\n            });\n            notes.children.push(new CR(6));\n            unit.children.push(new CR(6), notes);\n            var segment = new Tag('segment');\n            segment.children.push(new CR(8), new Tag(_SOURCE_TAG$2, {}, visitor.serialize(message.nodes)), new CR(6));\n            unit.children.push(new CR(6), segment, new CR(4));\n            units.push(new CR(4), unit);\n          });\n          var file = new Tag('file', {\n            'original': 'ng.template',\n            id: 'ngi18n'\n          }, [].concat(units, [new CR(2)]));\n          var xliff = new Tag(_XLIFF_TAG, {\n            version: _VERSION$1,\n            xmlns: _XMLNS$1,\n            srcLang: locale || _DEFAULT_SOURCE_LANG$1\n          }, [new CR(2), file, new CR()]);\n          return serialize([new Declaration({\n            version: '1.0',\n            encoding: 'UTF-8'\n          }), new CR(), xliff, new CR()]);\n        }\n      }, {\n        key: \"load\",\n        value: function load(content, url) {\n          // xliff to xml nodes\n          var xliff2Parser = new Xliff2Parser();\n\n          var _xliff2Parser$parse = xliff2Parser.parse(content, url),\n              locale = _xliff2Parser$parse.locale,\n              msgIdToHtml = _xliff2Parser$parse.msgIdToHtml,\n              errors = _xliff2Parser$parse.errors; // xml nodes to i18n nodes\n\n\n          var i18nNodesByMsgId = {};\n          var converter = new XmlToI18n$1();\n          Object.keys(msgIdToHtml).forEach(function (msgId) {\n            var _converter$convert2 = converter.convert(msgIdToHtml[msgId], url),\n                i18nNodes = _converter$convert2.i18nNodes,\n                e = _converter$convert2.errors;\n\n            errors.push.apply(errors, _toConsumableArray(e));\n            i18nNodesByMsgId[msgId] = i18nNodes;\n          });\n\n          if (errors.length) {\n            throw new Error(\"xliff2 parse errors:\\n\".concat(errors.join('\\n')));\n          }\n\n          return {\n            locale: locale,\n            i18nNodesByMsgId: i18nNodesByMsgId\n          };\n        }\n      }, {\n        key: \"digest\",\n        value: function digest(message) {\n          return decimalDigest(message);\n        }\n      }]);\n\n      return Xliff2;\n    }(Serializer);\n\n    var _WriteVisitor$1 =\n    /*#__PURE__*/\n    function () {\n      function _WriteVisitor$1() {\n        _classCallCheck(this, _WriteVisitor$1);\n      }\n\n      _createClass2(_WriteVisitor$1, [{\n        key: \"visitText\",\n        value: function visitText(text, context) {\n          return [new Text$2(text.value)];\n        }\n      }, {\n        key: \"visitContainer\",\n        value: function visitContainer(container, context) {\n          var _this339 = this;\n\n          var nodes = [];\n          container.children.forEach(function (node) {\n            return nodes.push.apply(nodes, _toConsumableArray(node.visit(_this339)));\n          });\n          return nodes;\n        }\n      }, {\n        key: \"visitIcu\",\n        value: function visitIcu(icu, context) {\n          var _this340 = this;\n\n          var nodes = [new Text$2(\"{\".concat(icu.expressionPlaceholder, \", \").concat(icu.type, \", \"))];\n          Object.keys(icu.cases).forEach(function (c) {\n            nodes.push.apply(nodes, [new Text$2(\"\".concat(c, \" {\"))].concat(_toConsumableArray(icu.cases[c].visit(_this340)), [new Text$2(\"} \")]));\n          });\n          nodes.push(new Text$2(\"}\"));\n          return nodes;\n        }\n      }, {\n        key: \"visitTagPlaceholder\",\n        value: function visitTagPlaceholder(ph, context) {\n          var _ref46,\n              _this341 = this;\n\n          var type = getTypeForTag(ph.tag);\n\n          if (ph.isVoid) {\n            var tagPh = new Tag(_PLACEHOLDER_TAG$2, {\n              id: (this._nextPlaceholderId++).toString(),\n              equiv: ph.startName,\n              type: type,\n              disp: \"<\".concat(ph.tag, \"/>\")\n            });\n            return [tagPh];\n          }\n\n          var tagPc = new Tag(_PLACEHOLDER_SPANNING_TAG, {\n            id: (this._nextPlaceholderId++).toString(),\n            equivStart: ph.startName,\n            equivEnd: ph.closeName,\n            type: type,\n            dispStart: \"<\".concat(ph.tag, \">\"),\n            dispEnd: \"</\".concat(ph.tag, \">\")\n          });\n\n          var nodes = (_ref46 = []).concat.apply(_ref46, _toConsumableArray(ph.children.map(function (node) {\n            return node.visit(_this341);\n          })));\n\n          if (nodes.length) {\n            nodes.forEach(function (node) {\n              return tagPc.children.push(node);\n            });\n          } else {\n            tagPc.children.push(new Text$2(''));\n          }\n\n          return [tagPc];\n        }\n      }, {\n        key: \"visitPlaceholder\",\n        value: function visitPlaceholder(ph, context) {\n          var idStr = (this._nextPlaceholderId++).toString();\n          return [new Tag(_PLACEHOLDER_TAG$2, {\n            id: idStr,\n            equiv: ph.name,\n            disp: \"{{\".concat(ph.value, \"}}\")\n          })];\n        }\n      }, {\n        key: \"visitIcuPlaceholder\",\n        value: function visitIcuPlaceholder(ph, context) {\n          var cases = Object.keys(ph.value.cases).map(function (value) {\n            return value + ' {...}';\n          }).join(' ');\n          var idStr = (this._nextPlaceholderId++).toString();\n          return [new Tag(_PLACEHOLDER_TAG$2, {\n            id: idStr,\n            equiv: ph.name,\n            disp: \"{\".concat(ph.value.expression, \", \").concat(ph.value.type, \", \").concat(cases, \"}\")\n          })];\n        }\n      }, {\n        key: \"serialize\",\n        value: function serialize(nodes) {\n          var _ref47,\n              _this342 = this;\n\n          this._nextPlaceholderId = 0;\n          return (_ref47 = []).concat.apply(_ref47, _toConsumableArray(nodes.map(function (node) {\n            return node.visit(_this342);\n          })));\n        }\n      }]);\n\n      return _WriteVisitor$1;\n    }(); // Extract messages as xml nodes from the xliff file\n\n\n    var Xliff2Parser =\n    /*#__PURE__*/\n    function () {\n      function Xliff2Parser() {\n        _classCallCheck(this, Xliff2Parser);\n\n        this._locale = null;\n      }\n\n      _createClass2(Xliff2Parser, [{\n        key: \"parse\",\n        value: function parse(xliff, url) {\n          this._unitMlString = null;\n          this._msgIdToHtml = {};\n          var xml = new XmlParser().parse(xliff, url);\n          this._errors = xml.errors;\n          visitAll$1(this, xml.rootNodes, null);\n          return {\n            msgIdToHtml: this._msgIdToHtml,\n            errors: this._errors,\n            locale: this._locale\n          };\n        }\n      }, {\n        key: \"visitElement\",\n        value: function visitElement(element, context) {\n          switch (element.name) {\n            case _UNIT_TAG$1:\n              this._unitMlString = null;\n              var idAttr = element.attrs.find(function (attr) {\n                return attr.name === 'id';\n              });\n\n              if (!idAttr) {\n                this._addError(element, \"<\".concat(_UNIT_TAG$1, \"> misses the \\\"id\\\" attribute\"));\n              } else {\n                var id = idAttr.value;\n\n                if (this._msgIdToHtml.hasOwnProperty(id)) {\n                  this._addError(element, \"Duplicated translations for msg \".concat(id));\n                } else {\n                  visitAll$1(this, element.children, null);\n\n                  if (typeof this._unitMlString === 'string') {\n                    this._msgIdToHtml[id] = this._unitMlString;\n                  } else {\n                    this._addError(element, \"Message \".concat(id, \" misses a translation\"));\n                  }\n                }\n              }\n\n              break;\n\n            case _SOURCE_TAG$2:\n              // ignore source message\n              break;\n\n            case _TARGET_TAG$1:\n              var innerTextStart = element.startSourceSpan.end.offset;\n              var innerTextEnd = element.endSourceSpan.start.offset;\n              var content = element.startSourceSpan.start.file.content;\n              var innerText = content.slice(innerTextStart, innerTextEnd);\n              this._unitMlString = innerText;\n              break;\n\n            case _XLIFF_TAG:\n              var localeAttr = element.attrs.find(function (attr) {\n                return attr.name === 'trgLang';\n              });\n\n              if (localeAttr) {\n                this._locale = localeAttr.value;\n              }\n\n              var versionAttr = element.attrs.find(function (attr) {\n                return attr.name === 'version';\n              });\n\n              if (versionAttr) {\n                var version = versionAttr.value;\n\n                if (version !== '2.0') {\n                  this._addError(element, \"The XLIFF file version \".concat(version, \" is not compatible with XLIFF 2.0 serializer\"));\n                } else {\n                  visitAll$1(this, element.children, null);\n                }\n              }\n\n              break;\n\n            default:\n              visitAll$1(this, element.children, null);\n          }\n        }\n      }, {\n        key: \"visitAttribute\",\n        value: function visitAttribute(attribute, context) {}\n      }, {\n        key: \"visitText\",\n        value: function visitText(text, context) {}\n      }, {\n        key: \"visitComment\",\n        value: function visitComment(comment, context) {}\n      }, {\n        key: \"visitExpansion\",\n        value: function visitExpansion(expansion, context) {}\n      }, {\n        key: \"visitExpansionCase\",\n        value: function visitExpansionCase(expansionCase, context) {}\n      }, {\n        key: \"_addError\",\n        value: function _addError(node, message) {\n          this._errors.push(new I18nError(node.sourceSpan, message));\n        }\n      }]);\n\n      return Xliff2Parser;\n    }(); // Convert ml nodes (xliff syntax) to i18n nodes\n\n\n    var XmlToI18n$1 =\n    /*#__PURE__*/\n    function () {\n      function XmlToI18n$1() {\n        _classCallCheck(this, XmlToI18n$1);\n      }\n\n      _createClass2(XmlToI18n$1, [{\n        key: \"convert\",\n        value: function convert(message, url) {\n          var _ref48;\n\n          var xmlIcu = new XmlParser().parse(message, url, {\n            tokenizeExpansionForms: true\n          });\n          this._errors = xmlIcu.errors;\n          var i18nNodes = this._errors.length > 0 || xmlIcu.rootNodes.length == 0 ? [] : (_ref48 = []).concat.apply(_ref48, _toConsumableArray(visitAll$1(this, xmlIcu.rootNodes)));\n          return {\n            i18nNodes: i18nNodes,\n            errors: this._errors\n          };\n        }\n      }, {\n        key: \"visitText\",\n        value: function visitText(text, context) {\n          return new Text$1(text.value, text.sourceSpan);\n        }\n      }, {\n        key: \"visitElement\",\n        value: function visitElement(el, context) {\n          var _this343 = this,\n              _ref49;\n\n          switch (el.name) {\n            case _PLACEHOLDER_TAG$2:\n              var nameAttr = el.attrs.find(function (attr) {\n                return attr.name === 'equiv';\n              });\n\n              if (nameAttr) {\n                return [new Placeholder('', nameAttr.value, el.sourceSpan)];\n              }\n\n              this._addError(el, \"<\".concat(_PLACEHOLDER_TAG$2, \"> misses the \\\"equiv\\\" attribute\"));\n\n              break;\n\n            case _PLACEHOLDER_SPANNING_TAG:\n              var startAttr = el.attrs.find(function (attr) {\n                return attr.name === 'equivStart';\n              });\n              var endAttr = el.attrs.find(function (attr) {\n                return attr.name === 'equivEnd';\n              });\n\n              if (!startAttr) {\n                this._addError(el, \"<\".concat(_PLACEHOLDER_TAG$2, \"> misses the \\\"equivStart\\\" attribute\"));\n              } else if (!endAttr) {\n                this._addError(el, \"<\".concat(_PLACEHOLDER_TAG$2, \"> misses the \\\"equivEnd\\\" attribute\"));\n              } else {\n                var startId = startAttr.value;\n                var endId = endAttr.value;\n                var nodes = [];\n                return nodes.concat.apply(nodes, [new Placeholder('', startId, el.sourceSpan)].concat(_toConsumableArray(el.children.map(function (node) {\n                  return node.visit(_this343, null);\n                })), [new Placeholder('', endId, el.sourceSpan)]));\n              }\n\n              break;\n\n            case _MARKER_TAG$1:\n              return (_ref49 = []).concat.apply(_ref49, _toConsumableArray(visitAll$1(this, el.children)));\n\n            default:\n              this._addError(el, \"Unexpected tag\");\n\n          }\n\n          return null;\n        }\n      }, {\n        key: \"visitExpansion\",\n        value: function visitExpansion(icu, context) {\n          var caseMap = {};\n          visitAll$1(this, icu.cases).forEach(function (c) {\n            caseMap[c.value] = new Container(c.nodes, icu.sourceSpan);\n          });\n          return new Icu$1(icu.switchValue, icu.type, caseMap, icu.sourceSpan);\n        }\n      }, {\n        key: \"visitExpansionCase\",\n        value: function visitExpansionCase(icuCase, context) {\n          var _ref50;\n\n          return {\n            value: icuCase.value,\n            nodes: (_ref50 = []).concat.apply(_ref50, _toConsumableArray(visitAll$1(this, icuCase.expression)))\n          };\n        }\n      }, {\n        key: \"visitComment\",\n        value: function visitComment(comment, context) {}\n      }, {\n        key: \"visitAttribute\",\n        value: function visitAttribute(attribute, context) {}\n      }, {\n        key: \"_addError\",\n        value: function _addError(node, message) {\n          this._errors.push(new I18nError(node.sourceSpan, message));\n        }\n      }]);\n\n      return XmlToI18n$1;\n    }();\n\n    function getTypeForTag(tag) {\n      switch (tag.toLowerCase()) {\n        case 'br':\n        case 'b':\n        case 'i':\n        case 'u':\n          return 'fmt';\n\n        case 'img':\n          return 'image';\n\n        case 'a':\n          return 'link';\n\n        default:\n          return 'other';\n      }\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var _TRANSLATIONS_TAG = 'translationbundle';\n    var _TRANSLATION_TAG = 'translation';\n    var _PLACEHOLDER_TAG$3 = 'ph';\n\n    var Xtb =\n    /*#__PURE__*/\n    function (_Serializer4) {\n      _inherits(Xtb, _Serializer4);\n\n      function Xtb() {\n        _classCallCheck(this, Xtb);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(Xtb).apply(this, arguments));\n      }\n\n      _createClass2(Xtb, [{\n        key: \"write\",\n        value: function write(messages, locale) {\n          throw new Error('Unsupported');\n        }\n      }, {\n        key: \"load\",\n        value: function load(content, url) {\n          // xtb to xml nodes\n          var xtbParser = new XtbParser();\n\n          var _xtbParser$parse = xtbParser.parse(content, url),\n              locale = _xtbParser$parse.locale,\n              msgIdToHtml = _xtbParser$parse.msgIdToHtml,\n              errors = _xtbParser$parse.errors; // xml nodes to i18n nodes\n\n\n          var i18nNodesByMsgId = {};\n          var converter = new XmlToI18n$2(); // Because we should be able to load xtb files that rely on features not supported by angular,\n          // we need to delay the conversion of html to i18n nodes so that non angular messages are not\n          // converted\n\n          Object.keys(msgIdToHtml).forEach(function (msgId) {\n            var valueFn = function valueFn() {\n              var _converter$convert3 = converter.convert(msgIdToHtml[msgId], url),\n                  i18nNodes = _converter$convert3.i18nNodes,\n                  errors = _converter$convert3.errors;\n\n              if (errors.length) {\n                throw new Error(\"xtb parse errors:\\n\".concat(errors.join('\\n')));\n              }\n\n              return i18nNodes;\n            };\n\n            createLazyProperty(i18nNodesByMsgId, msgId, valueFn);\n          });\n\n          if (errors.length) {\n            throw new Error(\"xtb parse errors:\\n\".concat(errors.join('\\n')));\n          }\n\n          return {\n            locale: locale,\n            i18nNodesByMsgId: i18nNodesByMsgId\n          };\n        }\n      }, {\n        key: \"digest\",\n        value: function digest(message) {\n          return digest$1(message);\n        }\n      }, {\n        key: \"createNameMapper\",\n        value: function createNameMapper(message) {\n          return new SimplePlaceholderMapper(message, toPublicName);\n        }\n      }]);\n\n      return Xtb;\n    }(Serializer);\n\n    function createLazyProperty(messages, id, valueFn) {\n      Object.defineProperty(messages, id, {\n        configurable: true,\n        enumerable: true,\n        get: function get() {\n          var value = valueFn();\n          Object.defineProperty(messages, id, {\n            enumerable: true,\n            value: value\n          });\n          return value;\n        },\n        set: function set(_) {\n          throw new Error('Could not overwrite an XTB translation');\n        }\n      });\n    } // Extract messages as xml nodes from the xtb file\n\n\n    var XtbParser =\n    /*#__PURE__*/\n    function () {\n      function XtbParser() {\n        _classCallCheck(this, XtbParser);\n\n        this._locale = null;\n      }\n\n      _createClass2(XtbParser, [{\n        key: \"parse\",\n        value: function parse(xtb, url) {\n          this._bundleDepth = 0;\n          this._msgIdToHtml = {}; // We can not parse the ICU messages at this point as some messages might not originate\n          // from Angular that could not be lex'd.\n\n          var xml = new XmlParser().parse(xtb, url);\n          this._errors = xml.errors;\n          visitAll$1(this, xml.rootNodes);\n          return {\n            msgIdToHtml: this._msgIdToHtml,\n            errors: this._errors,\n            locale: this._locale\n          };\n        }\n      }, {\n        key: \"visitElement\",\n        value: function visitElement(element, context) {\n          switch (element.name) {\n            case _TRANSLATIONS_TAG:\n              this._bundleDepth++;\n\n              if (this._bundleDepth > 1) {\n                this._addError(element, \"<\".concat(_TRANSLATIONS_TAG, \"> elements can not be nested\"));\n              }\n\n              var langAttr = element.attrs.find(function (attr) {\n                return attr.name === 'lang';\n              });\n\n              if (langAttr) {\n                this._locale = langAttr.value;\n              }\n\n              visitAll$1(this, element.children, null);\n              this._bundleDepth--;\n              break;\n\n            case _TRANSLATION_TAG:\n              var idAttr = element.attrs.find(function (attr) {\n                return attr.name === 'id';\n              });\n\n              if (!idAttr) {\n                this._addError(element, \"<\".concat(_TRANSLATION_TAG, \"> misses the \\\"id\\\" attribute\"));\n              } else {\n                var id = idAttr.value;\n\n                if (this._msgIdToHtml.hasOwnProperty(id)) {\n                  this._addError(element, \"Duplicated translations for msg \".concat(id));\n                } else {\n                  var innerTextStart = element.startSourceSpan.end.offset;\n                  var innerTextEnd = element.endSourceSpan.start.offset;\n                  var content = element.startSourceSpan.start.file.content;\n                  var innerText = content.slice(innerTextStart, innerTextEnd);\n                  this._msgIdToHtml[id] = innerText;\n                }\n              }\n\n              break;\n\n            default:\n              this._addError(element, 'Unexpected tag');\n\n          }\n        }\n      }, {\n        key: \"visitAttribute\",\n        value: function visitAttribute(attribute, context) {}\n      }, {\n        key: \"visitText\",\n        value: function visitText(text, context) {}\n      }, {\n        key: \"visitComment\",\n        value: function visitComment(comment, context) {}\n      }, {\n        key: \"visitExpansion\",\n        value: function visitExpansion(expansion, context) {}\n      }, {\n        key: \"visitExpansionCase\",\n        value: function visitExpansionCase(expansionCase, context) {}\n      }, {\n        key: \"_addError\",\n        value: function _addError(node, message) {\n          this._errors.push(new I18nError(node.sourceSpan, message));\n        }\n      }]);\n\n      return XtbParser;\n    }(); // Convert ml nodes (xtb syntax) to i18n nodes\n\n\n    var XmlToI18n$2 =\n    /*#__PURE__*/\n    function () {\n      function XmlToI18n$2() {\n        _classCallCheck(this, XmlToI18n$2);\n      }\n\n      _createClass2(XmlToI18n$2, [{\n        key: \"convert\",\n        value: function convert(message, url) {\n          var xmlIcu = new XmlParser().parse(message, url, {\n            tokenizeExpansionForms: true\n          });\n          this._errors = xmlIcu.errors;\n          var i18nNodes = this._errors.length > 0 || xmlIcu.rootNodes.length == 0 ? [] : visitAll$1(this, xmlIcu.rootNodes);\n          return {\n            i18nNodes: i18nNodes,\n            errors: this._errors\n          };\n        }\n      }, {\n        key: \"visitText\",\n        value: function visitText(text, context) {\n          return new Text$1(text.value, text.sourceSpan);\n        }\n      }, {\n        key: \"visitExpansion\",\n        value: function visitExpansion(icu, context) {\n          var caseMap = {};\n          visitAll$1(this, icu.cases).forEach(function (c) {\n            caseMap[c.value] = new Container(c.nodes, icu.sourceSpan);\n          });\n          return new Icu$1(icu.switchValue, icu.type, caseMap, icu.sourceSpan);\n        }\n      }, {\n        key: \"visitExpansionCase\",\n        value: function visitExpansionCase(icuCase, context) {\n          return {\n            value: icuCase.value,\n            nodes: visitAll$1(this, icuCase.expression)\n          };\n        }\n      }, {\n        key: \"visitElement\",\n        value: function visitElement(el, context) {\n          if (el.name === _PLACEHOLDER_TAG$3) {\n            var nameAttr = el.attrs.find(function (attr) {\n              return attr.name === 'name';\n            });\n\n            if (nameAttr) {\n              return new Placeholder('', nameAttr.value, el.sourceSpan);\n            }\n\n            this._addError(el, \"<\".concat(_PLACEHOLDER_TAG$3, \"> misses the \\\"name\\\" attribute\"));\n          } else {\n            this._addError(el, \"Unexpected tag\");\n          }\n\n          return null;\n        }\n      }, {\n        key: \"visitComment\",\n        value: function visitComment(comment, context) {}\n      }, {\n        key: \"visitAttribute\",\n        value: function visitAttribute(attribute, context) {}\n      }, {\n        key: \"_addError\",\n        value: function _addError(node, message) {\n          this._errors.push(new I18nError(node.sourceSpan, message));\n        }\n      }]);\n\n      return XmlToI18n$2;\n    }();\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * A container for translated messages\n     */\n\n\n    var TranslationBundle =\n    /*#__PURE__*/\n    function () {\n      function TranslationBundle() {\n        var _i18nNodesByMsgId = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n        var locale = arguments.length > 1 ? arguments[1] : undefined;\n        var digest = arguments.length > 2 ? arguments[2] : undefined;\n        var mapperFactory = arguments.length > 3 ? arguments[3] : undefined;\n        var missingTranslationStrategy = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : MissingTranslationStrategy.Warning;\n        var console = arguments.length > 5 ? arguments[5] : undefined;\n\n        _classCallCheck(this, TranslationBundle);\n\n        this._i18nNodesByMsgId = _i18nNodesByMsgId;\n        this.digest = digest;\n        this.mapperFactory = mapperFactory;\n        this._i18nToHtml = new I18nToHtmlVisitor(_i18nNodesByMsgId, locale, digest, mapperFactory, missingTranslationStrategy, console);\n      } // Creates a `TranslationBundle` by parsing the given `content` with the `serializer`.\n\n\n      _createClass2(TranslationBundle, [{\n        key: \"get\",\n        // Returns the translation as HTML nodes from the given source message.\n        value: function get(srcMsg) {\n          var html = this._i18nToHtml.convert(srcMsg);\n\n          if (html.errors.length) {\n            throw new Error(html.errors.join('\\n'));\n          }\n\n          return html.nodes;\n        }\n      }, {\n        key: \"has\",\n        value: function has(srcMsg) {\n          return this.digest(srcMsg) in this._i18nNodesByMsgId;\n        }\n      }], [{\n        key: \"load\",\n        value: function load(content, url, serializer, missingTranslationStrategy, console) {\n          var _serializer$load = serializer.load(content, url),\n              locale = _serializer$load.locale,\n              i18nNodesByMsgId = _serializer$load.i18nNodesByMsgId;\n\n          var digestFn = function digestFn(m) {\n            return serializer.digest(m);\n          };\n\n          var mapperFactory = function mapperFactory(m) {\n            return serializer.createNameMapper(m);\n          };\n\n          return new TranslationBundle(i18nNodesByMsgId, locale, digestFn, mapperFactory, missingTranslationStrategy, console);\n        }\n      }]);\n\n      return TranslationBundle;\n    }();\n\n    var I18nToHtmlVisitor =\n    /*#__PURE__*/\n    function () {\n      function I18nToHtmlVisitor() {\n        var _i18nNodesByMsgId = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n        var _locale = arguments.length > 1 ? arguments[1] : undefined;\n\n        var _digest = arguments.length > 2 ? arguments[2] : undefined;\n\n        var _mapperFactory = arguments.length > 3 ? arguments[3] : undefined;\n\n        var _missingTranslationStrategy = arguments.length > 4 ? arguments[4] : undefined;\n\n        var _console = arguments.length > 5 ? arguments[5] : undefined;\n\n        _classCallCheck(this, I18nToHtmlVisitor);\n\n        this._i18nNodesByMsgId = _i18nNodesByMsgId;\n        this._locale = _locale;\n        this._digest = _digest;\n        this._mapperFactory = _mapperFactory;\n        this._missingTranslationStrategy = _missingTranslationStrategy;\n        this._console = _console;\n        this._contextStack = [];\n        this._errors = [];\n      }\n\n      _createClass2(I18nToHtmlVisitor, [{\n        key: \"convert\",\n        value: function convert(srcMsg) {\n          this._contextStack.length = 0;\n          this._errors.length = 0; // i18n to text\n\n          var text = this._convertToText(srcMsg); // text to html\n\n\n          var url = srcMsg.nodes[0].sourceSpan.start.file.url;\n          var html = new HtmlParser().parse(text, url, {\n            tokenizeExpansionForms: true\n          });\n          return {\n            nodes: html.rootNodes,\n            errors: [].concat(_toConsumableArray(this._errors), _toConsumableArray(html.errors))\n          };\n        }\n      }, {\n        key: \"visitText\",\n        value: function visitText(text, context) {\n          // `convert()` uses an `HtmlParser` to return `html.Node`s\n          // we should then make sure that any special characters are escaped\n          return escapeXml(text.value);\n        }\n      }, {\n        key: \"visitContainer\",\n        value: function visitContainer(container, context) {\n          var _this344 = this;\n\n          return container.children.map(function (n) {\n            return n.visit(_this344);\n          }).join('');\n        }\n      }, {\n        key: \"visitIcu\",\n        value: function visitIcu(icu, context) {\n          var _this345 = this;\n\n          var cases = Object.keys(icu.cases).map(function (k) {\n            return \"\".concat(k, \" {\").concat(icu.cases[k].visit(_this345), \"}\");\n          }); // TODO(vicb): Once all format switch to using expression placeholders\n          // we should throw when the placeholder is not in the source message\n\n          var exp = this._srcMsg.placeholders.hasOwnProperty(icu.expression) ? this._srcMsg.placeholders[icu.expression] : icu.expression;\n          return \"{\".concat(exp, \", \").concat(icu.type, \", \").concat(cases.join(' '), \"}\");\n        }\n      }, {\n        key: \"visitPlaceholder\",\n        value: function visitPlaceholder(ph, context) {\n          var phName = this._mapper(ph.name);\n\n          if (this._srcMsg.placeholders.hasOwnProperty(phName)) {\n            return this._srcMsg.placeholders[phName];\n          }\n\n          if (this._srcMsg.placeholderToMessage.hasOwnProperty(phName)) {\n            return this._convertToText(this._srcMsg.placeholderToMessage[phName]);\n          }\n\n          this._addError(ph, \"Unknown placeholder \\\"\".concat(ph.name, \"\\\"\"));\n\n          return '';\n        } // Loaded message contains only placeholders (vs tag and icu placeholders).\n        // However when a translation can not be found, we need to serialize the source message\n        // which can contain tag placeholders\n\n      }, {\n        key: \"visitTagPlaceholder\",\n        value: function visitTagPlaceholder(ph, context) {\n          var _this346 = this;\n\n          var tag = \"\".concat(ph.tag);\n          var attrs = Object.keys(ph.attrs).map(function (name) {\n            return \"\".concat(name, \"=\\\"\").concat(ph.attrs[name], \"\\\"\");\n          }).join(' ');\n\n          if (ph.isVoid) {\n            return \"<\".concat(tag, \" \").concat(attrs, \"/>\");\n          }\n\n          var children = ph.children.map(function (c) {\n            return c.visit(_this346);\n          }).join('');\n          return \"<\".concat(tag, \" \").concat(attrs, \">\").concat(children, \"</\").concat(tag, \">\");\n        } // Loaded message contains only placeholders (vs tag and icu placeholders).\n        // However when a translation can not be found, we need to serialize the source message\n        // which can contain tag placeholders\n\n      }, {\n        key: \"visitIcuPlaceholder\",\n        value: function visitIcuPlaceholder(ph, context) {\n          // An ICU placeholder references the source message to be serialized\n          return this._convertToText(this._srcMsg.placeholderToMessage[ph.name]);\n        }\n        /**\n         * Convert a source message to a translated text string:\n         * - text nodes are replaced with their translation,\n         * - placeholders are replaced with their content,\n         * - ICU nodes are converted to ICU expressions.\n         */\n\n      }, {\n        key: \"_convertToText\",\n        value: function _convertToText(srcMsg) {\n          var _this347 = this;\n\n          var id = this._digest(srcMsg);\n\n          var mapper = this._mapperFactory ? this._mapperFactory(srcMsg) : null;\n          var nodes;\n\n          this._contextStack.push({\n            msg: this._srcMsg,\n            mapper: this._mapper\n          });\n\n          this._srcMsg = srcMsg;\n\n          if (this._i18nNodesByMsgId.hasOwnProperty(id)) {\n            // When there is a translation use its nodes as the source\n            // And create a mapper to convert serialized placeholder names to internal names\n            nodes = this._i18nNodesByMsgId[id];\n\n            this._mapper = function (name) {\n              return mapper ? mapper.toInternalName(name) : name;\n            };\n          } else {\n            // When no translation has been found\n            // - report an error / a warning / nothing,\n            // - use the nodes from the original message\n            // - placeholders are already internal and need no mapper\n            if (this._missingTranslationStrategy === MissingTranslationStrategy.Error) {\n              var ctx = this._locale ? \" for locale \\\"\".concat(this._locale, \"\\\"\") : '';\n\n              this._addError(srcMsg.nodes[0], \"Missing translation for message \\\"\".concat(id, \"\\\"\").concat(ctx));\n            } else if (this._console && this._missingTranslationStrategy === MissingTranslationStrategy.Warning) {\n              var _ctx2 = this._locale ? \" for locale \\\"\".concat(this._locale, \"\\\"\") : '';\n\n              this._console.warn(\"Missing translation for message \\\"\".concat(id, \"\\\"\").concat(_ctx2));\n            }\n\n            nodes = srcMsg.nodes;\n\n            this._mapper = function (name) {\n              return name;\n            };\n          }\n\n          var text = nodes.map(function (node) {\n            return node.visit(_this347);\n          }).join('');\n\n          var context = this._contextStack.pop();\n\n          this._srcMsg = context.msg;\n          this._mapper = context.mapper;\n          return text;\n        }\n      }, {\n        key: \"_addError\",\n        value: function _addError(el, msg) {\n          this._errors.push(new I18nError(el.sourceSpan, msg));\n        }\n      }]);\n\n      return I18nToHtmlVisitor;\n    }();\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var I18NHtmlParser =\n    /*#__PURE__*/\n    function () {\n      function I18NHtmlParser(_htmlParser, translations, translationsFormat) {\n        var missingTranslation = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : MissingTranslationStrategy.Warning;\n        var console = arguments.length > 4 ? arguments[4] : undefined;\n\n        _classCallCheck(this, I18NHtmlParser);\n\n        this._htmlParser = _htmlParser;\n\n        if (translations) {\n          var serializer = createSerializer(translationsFormat);\n          this._translationBundle = TranslationBundle.load(translations, 'i18n', serializer, missingTranslation, console);\n        } else {\n          this._translationBundle = new TranslationBundle({}, null, _digest2, undefined, missingTranslation, console);\n        }\n      }\n\n      _createClass2(I18NHtmlParser, [{\n        key: \"parse\",\n        value: function parse(source, url) {\n          var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n          var interpolationConfig = options.interpolationConfig || DEFAULT_INTERPOLATION_CONFIG;\n\n          var parseResult = this._htmlParser.parse(source, url, Object.assign({\n            interpolationConfig: interpolationConfig\n          }, options));\n\n          if (parseResult.errors.length) {\n            return new ParseTreeResult(parseResult.rootNodes, parseResult.errors);\n          }\n\n          return mergeTranslations(parseResult.rootNodes, this._translationBundle, interpolationConfig, [], {});\n        }\n      }]);\n\n      return I18NHtmlParser;\n    }();\n\n    function createSerializer(format) {\n      format = (format || 'xlf').toLowerCase();\n\n      switch (format) {\n        case 'xmb':\n          return new Xmb();\n\n        case 'xtb':\n          return new Xtb();\n\n        case 'xliff2':\n        case 'xlf2':\n          return new Xliff2();\n\n        case 'xliff':\n        case 'xlf':\n        default:\n          return new Xliff();\n      }\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var QUOTED_KEYS = '$quoted$';\n\n    function convertValueToOutputAst(ctx, value) {\n      var type = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n      return visitValue(value, new _ValueOutputAstTransformer(ctx), type);\n    }\n\n    var _ValueOutputAstTransformer =\n    /*#__PURE__*/\n    function () {\n      function _ValueOutputAstTransformer(ctx) {\n        _classCallCheck(this, _ValueOutputAstTransformer);\n\n        this.ctx = ctx;\n      }\n\n      _createClass2(_ValueOutputAstTransformer, [{\n        key: \"visitArray\",\n        value: function visitArray(arr, type) {\n          var _this348 = this;\n\n          return literalArr(arr.map(function (value) {\n            return visitValue(value, _this348, null);\n          }), type);\n        }\n      }, {\n        key: \"visitStringMap\",\n        value: function visitStringMap(map, type) {\n          var _this349 = this;\n\n          var entries = [];\n          var quotedSet = new Set(map && map[QUOTED_KEYS]);\n          Object.keys(map).forEach(function (key) {\n            entries.push(new LiteralMapEntry(key, visitValue(map[key], _this349, null), quotedSet.has(key)));\n          });\n          return new LiteralMapExpr(entries, type);\n        }\n      }, {\n        key: \"visitPrimitive\",\n        value: function visitPrimitive(value, type) {\n          return literal(value, type);\n        }\n      }, {\n        key: \"visitOther\",\n        value: function visitOther(value, type) {\n          if (value instanceof Expression) {\n            return value;\n          } else {\n            return this.ctx.importExpr(value);\n          }\n        }\n      }]);\n\n      return _ValueOutputAstTransformer;\n    }();\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    function mapEntry$1(key, value) {\n      return {\n        key: key,\n        value: value,\n        quoted: false\n      };\n    }\n\n    var InjectableCompiler =\n    /*#__PURE__*/\n    function () {\n      function InjectableCompiler(reflector, alwaysGenerateDef) {\n        _classCallCheck(this, InjectableCompiler);\n\n        this.reflector = reflector;\n        this.alwaysGenerateDef = alwaysGenerateDef;\n        this.tokenInjector = reflector.resolveExternalReference(Identifiers.Injector);\n      }\n\n      _createClass2(InjectableCompiler, [{\n        key: \"depsArray\",\n        value: function depsArray(deps, ctx) {\n          var _this350 = this;\n\n          return deps.map(function (dep) {\n            var token = dep;\n            var args = [token];\n            var flags = 0\n            /* Default */\n            ;\n\n            if (Array.isArray(dep)) {\n              for (var i = 0; i < dep.length; i++) {\n                var v = dep[i];\n\n                if (v) {\n                  if (v.ngMetadataName === 'Optional') {\n                    flags |= 8\n                    /* Optional */\n                    ;\n                  } else if (v.ngMetadataName === 'SkipSelf') {\n                    flags |= 4\n                    /* SkipSelf */\n                    ;\n                  } else if (v.ngMetadataName === 'Self') {\n                    flags |= 2\n                    /* Self */\n                    ;\n                  } else if (v.ngMetadataName === 'Inject') {\n                    token = v.token;\n                  } else {\n                    token = v;\n                  }\n                }\n              }\n            }\n\n            var tokenExpr;\n\n            if (typeof token === 'string') {\n              tokenExpr = literal(token);\n            } else if (token === _this350.tokenInjector) {\n              tokenExpr = importExpr(Identifiers.INJECTOR);\n            } else {\n              tokenExpr = ctx.importExpr(token);\n            }\n\n            if (flags !== 0\n            /* Default */\n            ) {\n                args = [tokenExpr, literal(flags)];\n              } else {\n              args = [tokenExpr];\n            }\n\n            return importExpr(Identifiers.inject).callFn(args);\n          });\n        }\n      }, {\n        key: \"factoryFor\",\n        value: function factoryFor(injectable, ctx) {\n          var retValue;\n\n          if (injectable.useExisting) {\n            retValue = importExpr(Identifiers.inject).callFn([ctx.importExpr(injectable.useExisting)]);\n          } else if (injectable.useFactory) {\n            var deps = injectable.deps || [];\n\n            if (deps.length > 0) {\n              retValue = ctx.importExpr(injectable.useFactory).callFn(this.depsArray(deps, ctx));\n            } else {\n              return ctx.importExpr(injectable.useFactory);\n            }\n          } else if (injectable.useValue) {\n            retValue = convertValueToOutputAst(ctx, injectable.useValue);\n          } else {\n            var clazz = injectable.useClass || injectable.symbol;\n            var depArgs = this.depsArray(this.reflector.parameters(clazz), ctx);\n            retValue = new InstantiateExpr(ctx.importExpr(clazz), depArgs);\n          }\n\n          return fn([], [new ReturnStatement(retValue)], undefined, undefined, injectable.symbol.name + '_Factory');\n        }\n      }, {\n        key: \"injectableDef\",\n        value: function injectableDef(injectable, ctx) {\n          var providedIn = NULL_EXPR;\n\n          if (injectable.providedIn !== undefined) {\n            if (injectable.providedIn === null) {\n              providedIn = NULL_EXPR;\n            } else if (typeof injectable.providedIn === 'string') {\n              providedIn = literal(injectable.providedIn);\n            } else {\n              providedIn = ctx.importExpr(injectable.providedIn);\n            }\n          }\n\n          var def = [mapEntry$1('factory', this.factoryFor(injectable, ctx)), mapEntry$1('token', ctx.importExpr(injectable.type.reference)), mapEntry$1('providedIn', providedIn)];\n          return importExpr(Identifiers.ɵɵdefineInjectable).callFn([literalMap(def)]);\n        }\n      }, {\n        key: \"compile\",\n        value: function compile(injectable, ctx) {\n          if (this.alwaysGenerateDef || injectable.providedIn !== undefined) {\n            var className = identifierName(injectable.type);\n            var clazz = new ClassStmt(className, null, [new ClassField('ngInjectableDef', INFERRED_TYPE, [StmtModifier.Static], this.injectableDef(injectable, ctx))], [], new ClassMethod(null, [], []), []);\n            ctx.statements.push(clazz);\n          }\n        }\n      }]);\n\n      return InjectableCompiler;\n    }();\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var STRIP_SRC_FILE_SUFFIXES = /(\\.ts|\\.d\\.ts|\\.js|\\.jsx|\\.tsx)$/;\n    var GENERATED_FILE = /\\.ngfactory\\.|\\.ngsummary\\./;\n    var JIT_SUMMARY_FILE = /\\.ngsummary\\./;\n    var JIT_SUMMARY_NAME = /NgSummary$/;\n\n    function ngfactoryFilePath(filePath) {\n      var forceSourceFile = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n      var urlWithSuffix = splitTypescriptSuffix(filePath, forceSourceFile);\n      return \"\".concat(urlWithSuffix[0], \".ngfactory\").concat(normalizeGenFileSuffix(urlWithSuffix[1]));\n    }\n\n    function stripGeneratedFileSuffix(filePath) {\n      return filePath.replace(GENERATED_FILE, '.');\n    }\n\n    function isGeneratedFile(filePath) {\n      return GENERATED_FILE.test(filePath);\n    }\n\n    function splitTypescriptSuffix(path) {\n      var forceSourceFile = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n      if (path.endsWith('.d.ts')) {\n        return [path.slice(0, -5), forceSourceFile ? '.ts' : '.d.ts'];\n      }\n\n      var lastDot = path.lastIndexOf('.');\n\n      if (lastDot !== -1) {\n        return [path.substring(0, lastDot), path.substring(lastDot)];\n      }\n\n      return [path, ''];\n    }\n\n    function normalizeGenFileSuffix(srcFileSuffix) {\n      return srcFileSuffix === '.tsx' ? '.ts' : srcFileSuffix;\n    }\n\n    function summaryFileName(fileName) {\n      var fileNameWithoutSuffix = fileName.replace(STRIP_SRC_FILE_SUFFIXES, '');\n      return \"\".concat(fileNameWithoutSuffix, \".ngsummary.json\");\n    }\n\n    function summaryForJitFileName(fileName) {\n      var forceSourceFile = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n      var urlWithSuffix = splitTypescriptSuffix(stripGeneratedFileSuffix(fileName), forceSourceFile);\n      return \"\".concat(urlWithSuffix[0], \".ngsummary\").concat(urlWithSuffix[1]);\n    }\n\n    function stripSummaryForJitFileSuffix(filePath) {\n      return filePath.replace(JIT_SUMMARY_FILE, '.');\n    }\n\n    function summaryForJitName(symbolName) {\n      return \"\".concat(symbolName, \"NgSummary\");\n    }\n\n    function stripSummaryForJitNameSuffix(symbolName) {\n      return symbolName.replace(JIT_SUMMARY_NAME, '');\n    }\n\n    var LOWERED_SYMBOL = /\\u0275\\d+/;\n\n    function isLoweredSymbol(name) {\n      return LOWERED_SYMBOL.test(name);\n    }\n\n    function createLoweredSymbol(id) {\n      return \"\\u0275\".concat(id);\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var LifecycleHooks;\n\n    (function (LifecycleHooks) {\n      LifecycleHooks[LifecycleHooks[\"OnInit\"] = 0] = \"OnInit\";\n      LifecycleHooks[LifecycleHooks[\"OnDestroy\"] = 1] = \"OnDestroy\";\n      LifecycleHooks[LifecycleHooks[\"DoCheck\"] = 2] = \"DoCheck\";\n      LifecycleHooks[LifecycleHooks[\"OnChanges\"] = 3] = \"OnChanges\";\n      LifecycleHooks[LifecycleHooks[\"AfterContentInit\"] = 4] = \"AfterContentInit\";\n      LifecycleHooks[LifecycleHooks[\"AfterContentChecked\"] = 5] = \"AfterContentChecked\";\n      LifecycleHooks[LifecycleHooks[\"AfterViewInit\"] = 6] = \"AfterViewInit\";\n      LifecycleHooks[LifecycleHooks[\"AfterViewChecked\"] = 7] = \"AfterViewChecked\";\n    })(LifecycleHooks || (LifecycleHooks = {}));\n\n    var LIFECYCLE_HOOKS_VALUES = [LifecycleHooks.OnInit, LifecycleHooks.OnDestroy, LifecycleHooks.DoCheck, LifecycleHooks.OnChanges, LifecycleHooks.AfterContentInit, LifecycleHooks.AfterContentChecked, LifecycleHooks.AfterViewInit, LifecycleHooks.AfterViewChecked];\n\n    function hasLifecycleHook(reflector, hook, token) {\n      return reflector.hasLifecycleHook(token, getHookName(hook));\n    }\n\n    function getAllLifecycleHooks(reflector, token) {\n      return LIFECYCLE_HOOKS_VALUES.filter(function (hook) {\n        return hasLifecycleHook(reflector, hook, token);\n      });\n    }\n\n    function getHookName(hook) {\n      switch (hook) {\n        case LifecycleHooks.OnInit:\n          return 'ngOnInit';\n\n        case LifecycleHooks.OnDestroy:\n          return 'ngOnDestroy';\n\n        case LifecycleHooks.DoCheck:\n          return 'ngDoCheck';\n\n        case LifecycleHooks.OnChanges:\n          return 'ngOnChanges';\n\n        case LifecycleHooks.AfterContentInit:\n          return 'ngAfterContentInit';\n\n        case LifecycleHooks.AfterContentChecked:\n          return 'ngAfterContentChecked';\n\n        case LifecycleHooks.AfterViewInit:\n          return 'ngAfterViewInit';\n\n        case LifecycleHooks.AfterViewChecked:\n          return 'ngAfterViewChecked';\n\n        default:\n          // This default case is not needed by TypeScript compiler, as the switch is exhaustive.\n          // However Closure Compiler does not understand that and reports an error in typed mode.\n          // The `throw new Error` below works around the problem, and the unexpected: never variable\n          // makes sure tsc still checks this code is unreachable.\n          var unexpected = hook;\n          throw new Error(\"unexpected \".concat(unexpected));\n      }\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var ERROR_COMPONENT_TYPE = 'ngComponentType'; // Design notes:\n    // - don't lazily create metadata:\n    //   For some metadata, we need to do async work sometimes,\n    //   so the user has to kick off this loading.\n    //   But we want to report errors even when the async work is\n    //   not required to check that the user would have been able\n    //   to wait correctly.\n\n    var CompileMetadataResolver =\n    /*#__PURE__*/\n    function () {\n      function CompileMetadataResolver(_config, _htmlParser, _ngModuleResolver, _directiveResolver, _pipeResolver, _summaryResolver, _schemaRegistry, _directiveNormalizer, _console, _staticSymbolCache, _reflector, _errorCollector) {\n        _classCallCheck(this, CompileMetadataResolver);\n\n        this._config = _config;\n        this._htmlParser = _htmlParser;\n        this._ngModuleResolver = _ngModuleResolver;\n        this._directiveResolver = _directiveResolver;\n        this._pipeResolver = _pipeResolver;\n        this._summaryResolver = _summaryResolver;\n        this._schemaRegistry = _schemaRegistry;\n        this._directiveNormalizer = _directiveNormalizer;\n        this._console = _console;\n        this._staticSymbolCache = _staticSymbolCache;\n        this._reflector = _reflector;\n        this._errorCollector = _errorCollector;\n        this._nonNormalizedDirectiveCache = new Map();\n        this._directiveCache = new Map();\n        this._summaryCache = new Map();\n        this._pipeCache = new Map();\n        this._ngModuleCache = new Map();\n        this._ngModuleOfTypes = new Map();\n        this._shallowModuleCache = new Map();\n      }\n\n      _createClass2(CompileMetadataResolver, [{\n        key: \"getReflector\",\n        value: function getReflector() {\n          return this._reflector;\n        }\n      }, {\n        key: \"clearCacheFor\",\n        value: function clearCacheFor(type) {\n          var dirMeta = this._directiveCache.get(type);\n\n          this._directiveCache.delete(type);\n\n          this._nonNormalizedDirectiveCache.delete(type);\n\n          this._summaryCache.delete(type);\n\n          this._pipeCache.delete(type);\n\n          this._ngModuleOfTypes.delete(type); // Clear all of the NgModule as they contain transitive information!\n\n\n          this._ngModuleCache.clear();\n\n          if (dirMeta) {\n            this._directiveNormalizer.clearCacheFor(dirMeta);\n          }\n        }\n      }, {\n        key: \"clearCache\",\n        value: function clearCache() {\n          this._directiveCache.clear();\n\n          this._nonNormalizedDirectiveCache.clear();\n\n          this._summaryCache.clear();\n\n          this._pipeCache.clear();\n\n          this._ngModuleCache.clear();\n\n          this._ngModuleOfTypes.clear();\n\n          this._directiveNormalizer.clearCache();\n        }\n      }, {\n        key: \"_createProxyClass\",\n        value: function _createProxyClass(baseType, name) {\n          var delegate = null;\n\n          var proxyClass = function proxyClass() {\n            if (!delegate) {\n              throw new Error(\"Illegal state: Class \".concat(name, \" for type \").concat(stringify(baseType), \" is not compiled yet!\"));\n            }\n\n            return delegate.apply(this, arguments);\n          };\n\n          proxyClass.setDelegate = function (d) {\n            delegate = d;\n            proxyClass.prototype = d.prototype;\n          }; // Make stringify work correctly\n\n\n          proxyClass.overriddenName = name;\n          return proxyClass;\n        }\n      }, {\n        key: \"getGeneratedClass\",\n        value: function getGeneratedClass(dirType, name) {\n          if (dirType instanceof StaticSymbol) {\n            return this._staticSymbolCache.get(ngfactoryFilePath(dirType.filePath), name);\n          } else {\n            return this._createProxyClass(dirType, name);\n          }\n        }\n      }, {\n        key: \"getComponentViewClass\",\n        value: function getComponentViewClass(dirType) {\n          return this.getGeneratedClass(dirType, viewClassName(dirType, 0));\n        }\n      }, {\n        key: \"getHostComponentViewClass\",\n        value: function getHostComponentViewClass(dirType) {\n          return this.getGeneratedClass(dirType, hostViewClassName(dirType));\n        }\n      }, {\n        key: \"getHostComponentType\",\n        value: function getHostComponentType(dirType) {\n          var name = \"\".concat(identifierName({\n            reference: dirType\n          }), \"_Host\");\n\n          if (dirType instanceof StaticSymbol) {\n            return this._staticSymbolCache.get(dirType.filePath, name);\n          }\n\n          return this._createProxyClass(dirType, name);\n        }\n      }, {\n        key: \"getRendererType\",\n        value: function getRendererType(dirType) {\n          if (dirType instanceof StaticSymbol) {\n            return this._staticSymbolCache.get(ngfactoryFilePath(dirType.filePath), rendererTypeName(dirType));\n          } else {\n            // returning an object as proxy,\n            // that we fill later during runtime compilation.\n            return {};\n          }\n        }\n      }, {\n        key: \"getComponentFactory\",\n        value: function getComponentFactory(selector, dirType, inputs, outputs) {\n          if (dirType instanceof StaticSymbol) {\n            return this._staticSymbolCache.get(ngfactoryFilePath(dirType.filePath), componentFactoryName(dirType));\n          } else {\n            var hostView = this.getHostComponentViewClass(dirType); // Note: ngContentSelectors will be filled later once the template is\n            // loaded.\n\n            var createComponentFactory = this._reflector.resolveExternalReference(Identifiers.createComponentFactory);\n\n            return createComponentFactory(selector, dirType, hostView, inputs, outputs, []);\n          }\n        }\n      }, {\n        key: \"initComponentFactory\",\n        value: function initComponentFactory(factory, ngContentSelectors) {\n          if (!(factory instanceof StaticSymbol)) {\n            var _factory$ngContentSel;\n\n            (_factory$ngContentSel = factory.ngContentSelectors).push.apply(_factory$ngContentSel, _toConsumableArray(ngContentSelectors));\n          }\n        }\n      }, {\n        key: \"_loadSummary\",\n        value: function _loadSummary(type, kind) {\n          var typeSummary = this._summaryCache.get(type);\n\n          if (!typeSummary) {\n            var summary = this._summaryResolver.resolveSummary(type);\n\n            typeSummary = summary ? summary.type : null;\n\n            this._summaryCache.set(type, typeSummary || null);\n          }\n\n          return typeSummary && typeSummary.summaryKind === kind ? typeSummary : null;\n        }\n      }, {\n        key: \"getHostComponentMetadata\",\n        value: function getHostComponentMetadata(compMeta, hostViewType) {\n          var hostType = this.getHostComponentType(compMeta.type.reference);\n\n          if (!hostViewType) {\n            hostViewType = this.getHostComponentViewClass(hostType);\n          } // Note: ! is ok here as this method should only be called with normalized directive\n          // metadata, which always fills in the selector.\n\n\n          var template = CssSelector.parse(compMeta.selector)[0].getMatchingElementTemplate();\n          var templateUrl = '';\n\n          var htmlAst = this._htmlParser.parse(template, templateUrl);\n\n          return CompileDirectiveMetadata.create({\n            isHost: true,\n            type: {\n              reference: hostType,\n              diDeps: [],\n              lifecycleHooks: []\n            },\n            template: new CompileTemplateMetadata({\n              encapsulation: ViewEncapsulation.None,\n              template: template,\n              templateUrl: templateUrl,\n              htmlAst: htmlAst,\n              styles: [],\n              styleUrls: [],\n              ngContentSelectors: [],\n              animations: [],\n              isInline: true,\n              externalStylesheets: [],\n              interpolation: null,\n              preserveWhitespaces: false\n            }),\n            exportAs: null,\n            changeDetection: ChangeDetectionStrategy.Default,\n            inputs: [],\n            outputs: [],\n            host: {},\n            isComponent: true,\n            selector: '*',\n            providers: [],\n            viewProviders: [],\n            queries: [],\n            guards: {},\n            viewQueries: [],\n            componentViewType: hostViewType,\n            rendererType: {\n              id: '__Host__',\n              encapsulation: ViewEncapsulation.None,\n              styles: [],\n              data: {}\n            },\n            entryComponents: [],\n            componentFactory: null\n          });\n        }\n      }, {\n        key: \"loadDirectiveMetadata\",\n        value: function loadDirectiveMetadata(ngModuleType, directiveType, isSync) {\n          var _this351 = this;\n\n          if (this._directiveCache.has(directiveType)) {\n            return null;\n          }\n\n          directiveType = resolveForwardRef(directiveType);\n\n          var _this$getNonNormalize = this.getNonNormalizedDirectiveMetadata(directiveType),\n              annotation = _this$getNonNormalize.annotation,\n              metadata = _this$getNonNormalize.metadata;\n\n          var createDirectiveMetadata = function createDirectiveMetadata(templateMetadata) {\n            var normalizedDirMeta = new CompileDirectiveMetadata({\n              isHost: false,\n              type: metadata.type,\n              isComponent: metadata.isComponent,\n              selector: metadata.selector,\n              exportAs: metadata.exportAs,\n              changeDetection: metadata.changeDetection,\n              inputs: metadata.inputs,\n              outputs: metadata.outputs,\n              hostListeners: metadata.hostListeners,\n              hostProperties: metadata.hostProperties,\n              hostAttributes: metadata.hostAttributes,\n              providers: metadata.providers,\n              viewProviders: metadata.viewProviders,\n              queries: metadata.queries,\n              guards: metadata.guards,\n              viewQueries: metadata.viewQueries,\n              entryComponents: metadata.entryComponents,\n              componentViewType: metadata.componentViewType,\n              rendererType: metadata.rendererType,\n              componentFactory: metadata.componentFactory,\n              template: templateMetadata\n            });\n\n            if (templateMetadata) {\n              _this351.initComponentFactory(metadata.componentFactory, templateMetadata.ngContentSelectors);\n            }\n\n            _this351._directiveCache.set(directiveType, normalizedDirMeta);\n\n            _this351._summaryCache.set(directiveType, normalizedDirMeta.toSummary());\n\n            return null;\n          };\n\n          if (metadata.isComponent) {\n            var template = metadata.template;\n\n            var templateMeta = this._directiveNormalizer.normalizeTemplate({\n              ngModuleType: ngModuleType,\n              componentType: directiveType,\n              moduleUrl: this._reflector.componentModuleUrl(directiveType, annotation),\n              encapsulation: template.encapsulation,\n              template: template.template,\n              templateUrl: template.templateUrl,\n              styles: template.styles,\n              styleUrls: template.styleUrls,\n              animations: template.animations,\n              interpolation: template.interpolation,\n              preserveWhitespaces: template.preserveWhitespaces\n            });\n\n            if (isPromise(templateMeta) && isSync) {\n              this._reportError(componentStillLoadingError(directiveType), directiveType);\n\n              return null;\n            }\n\n            return SyncAsync.then(templateMeta, createDirectiveMetadata);\n          } else {\n            // directive\n            createDirectiveMetadata(null);\n            return null;\n          }\n        }\n      }, {\n        key: \"getNonNormalizedDirectiveMetadata\",\n        value: function getNonNormalizedDirectiveMetadata(directiveType) {\n          var _this352 = this;\n\n          directiveType = resolveForwardRef(directiveType);\n\n          if (!directiveType) {\n            return null;\n          }\n\n          var cacheEntry = this._nonNormalizedDirectiveCache.get(directiveType);\n\n          if (cacheEntry) {\n            return cacheEntry;\n          }\n\n          var dirMeta = this._directiveResolver.resolve(directiveType, false);\n\n          if (!dirMeta) {\n            return null;\n          }\n\n          var nonNormalizedTemplateMetadata = undefined;\n\n          if (createComponent.isTypeOf(dirMeta)) {\n            // component\n            var compMeta = dirMeta;\n            assertArrayOfStrings('styles', compMeta.styles);\n            assertArrayOfStrings('styleUrls', compMeta.styleUrls);\n            assertInterpolationSymbols('interpolation', compMeta.interpolation);\n            var animations = compMeta.animations;\n            nonNormalizedTemplateMetadata = new CompileTemplateMetadata({\n              encapsulation: noUndefined(compMeta.encapsulation),\n              template: noUndefined(compMeta.template),\n              templateUrl: noUndefined(compMeta.templateUrl),\n              htmlAst: null,\n              styles: compMeta.styles || [],\n              styleUrls: compMeta.styleUrls || [],\n              animations: animations || [],\n              interpolation: noUndefined(compMeta.interpolation),\n              isInline: !!compMeta.template,\n              externalStylesheets: [],\n              ngContentSelectors: [],\n              preserveWhitespaces: noUndefined(dirMeta.preserveWhitespaces)\n            });\n          }\n\n          var changeDetectionStrategy = null;\n          var viewProviders = [];\n          var entryComponentMetadata = [];\n          var selector = dirMeta.selector;\n\n          if (createComponent.isTypeOf(dirMeta)) {\n            // Component\n            var _compMeta = dirMeta;\n            changeDetectionStrategy = _compMeta.changeDetection;\n\n            if (_compMeta.viewProviders) {\n              viewProviders = this._getProvidersMetadata(_compMeta.viewProviders, entryComponentMetadata, \"viewProviders for \\\"\".concat(stringifyType(directiveType), \"\\\"\"), [], directiveType);\n            }\n\n            if (_compMeta.entryComponents) {\n              entryComponentMetadata = flattenAndDedupeArray(_compMeta.entryComponents).map(function (type) {\n                return _this352._getEntryComponentMetadata(type);\n              }).concat(entryComponentMetadata);\n            }\n\n            if (!selector) {\n              selector = this._schemaRegistry.getDefaultComponentElementName();\n            }\n          } else {\n            // Directive\n            if (!selector) {\n              this._reportError(syntaxError(\"Directive \".concat(stringifyType(directiveType), \" has no selector, please add it!\")), directiveType);\n\n              selector = 'error';\n            }\n          }\n\n          var providers = [];\n\n          if (dirMeta.providers != null) {\n            providers = this._getProvidersMetadata(dirMeta.providers, entryComponentMetadata, \"providers for \\\"\".concat(stringifyType(directiveType), \"\\\"\"), [], directiveType);\n          }\n\n          var queries = [];\n          var viewQueries = [];\n\n          if (dirMeta.queries != null) {\n            queries = this._getQueriesMetadata(dirMeta.queries, false, directiveType);\n            viewQueries = this._getQueriesMetadata(dirMeta.queries, true, directiveType);\n          }\n\n          var metadata = CompileDirectiveMetadata.create({\n            isHost: false,\n            selector: selector,\n            exportAs: noUndefined(dirMeta.exportAs),\n            isComponent: !!nonNormalizedTemplateMetadata,\n            type: this._getTypeMetadata(directiveType),\n            template: nonNormalizedTemplateMetadata,\n            changeDetection: changeDetectionStrategy,\n            inputs: dirMeta.inputs || [],\n            outputs: dirMeta.outputs || [],\n            host: dirMeta.host || {},\n            providers: providers || [],\n            viewProviders: viewProviders || [],\n            queries: queries || [],\n            guards: dirMeta.guards || {},\n            viewQueries: viewQueries || [],\n            entryComponents: entryComponentMetadata,\n            componentViewType: nonNormalizedTemplateMetadata ? this.getComponentViewClass(directiveType) : null,\n            rendererType: nonNormalizedTemplateMetadata ? this.getRendererType(directiveType) : null,\n            componentFactory: null\n          });\n\n          if (nonNormalizedTemplateMetadata) {\n            metadata.componentFactory = this.getComponentFactory(selector, directiveType, metadata.inputs, metadata.outputs);\n          }\n\n          cacheEntry = {\n            metadata: metadata,\n            annotation: dirMeta\n          };\n\n          this._nonNormalizedDirectiveCache.set(directiveType, cacheEntry);\n\n          return cacheEntry;\n        }\n        /**\n         * Gets the metadata for the given directive.\n         * This assumes `loadNgModuleDirectiveAndPipeMetadata` has been called first.\n         */\n\n      }, {\n        key: \"getDirectiveMetadata\",\n        value: function getDirectiveMetadata(directiveType) {\n          var dirMeta = this._directiveCache.get(directiveType);\n\n          if (!dirMeta) {\n            this._reportError(syntaxError(\"Illegal state: getDirectiveMetadata can only be called after loadNgModuleDirectiveAndPipeMetadata for a module that declares it. Directive \".concat(stringifyType(directiveType), \".\")), directiveType);\n          }\n\n          return dirMeta;\n        }\n      }, {\n        key: \"getDirectiveSummary\",\n        value: function getDirectiveSummary(dirType) {\n          var dirSummary = this._loadSummary(dirType, CompileSummaryKind.Directive);\n\n          if (!dirSummary) {\n            this._reportError(syntaxError(\"Illegal state: Could not load the summary for directive \".concat(stringifyType(dirType), \".\")), dirType);\n          }\n\n          return dirSummary;\n        }\n      }, {\n        key: \"isDirective\",\n        value: function isDirective(type) {\n          return !!this._loadSummary(type, CompileSummaryKind.Directive) || this._directiveResolver.isDirective(type);\n        }\n      }, {\n        key: \"isPipe\",\n        value: function isPipe(type) {\n          return !!this._loadSummary(type, CompileSummaryKind.Pipe) || this._pipeResolver.isPipe(type);\n        }\n      }, {\n        key: \"isNgModule\",\n        value: function isNgModule(type) {\n          return !!this._loadSummary(type, CompileSummaryKind.NgModule) || this._ngModuleResolver.isNgModule(type);\n        }\n      }, {\n        key: \"getNgModuleSummary\",\n        value: function getNgModuleSummary(moduleType) {\n          var alreadyCollecting = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n\n          var moduleSummary = this._loadSummary(moduleType, CompileSummaryKind.NgModule);\n\n          if (!moduleSummary) {\n            var moduleMeta = this.getNgModuleMetadata(moduleType, false, alreadyCollecting);\n            moduleSummary = moduleMeta ? moduleMeta.toSummary() : null;\n\n            if (moduleSummary) {\n              this._summaryCache.set(moduleType, moduleSummary);\n            }\n          }\n\n          return moduleSummary;\n        }\n        /**\n         * Loads the declared directives and pipes of an NgModule.\n         */\n\n      }, {\n        key: \"loadNgModuleDirectiveAndPipeMetadata\",\n        value: function loadNgModuleDirectiveAndPipeMetadata(moduleType, isSync) {\n          var _this353 = this;\n\n          var throwIfNotFound = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n          var ngModule = this.getNgModuleMetadata(moduleType, throwIfNotFound);\n          var loading = [];\n\n          if (ngModule) {\n            ngModule.declaredDirectives.forEach(function (id) {\n              var promise = _this353.loadDirectiveMetadata(moduleType, id.reference, isSync);\n\n              if (promise) {\n                loading.push(promise);\n              }\n            });\n            ngModule.declaredPipes.forEach(function (id) {\n              return _this353._loadPipeMetadata(id.reference);\n            });\n          }\n\n          return Promise.all(loading);\n        }\n      }, {\n        key: \"getShallowModuleMetadata\",\n        value: function getShallowModuleMetadata(moduleType) {\n          var compileMeta = this._shallowModuleCache.get(moduleType);\n\n          if (compileMeta) {\n            return compileMeta;\n          }\n\n          var ngModuleMeta = findLast(this._reflector.shallowAnnotations(moduleType), createNgModule.isTypeOf);\n          compileMeta = {\n            type: this._getTypeMetadata(moduleType),\n            rawExports: ngModuleMeta.exports,\n            rawImports: ngModuleMeta.imports,\n            rawProviders: ngModuleMeta.providers\n          };\n\n          this._shallowModuleCache.set(moduleType, compileMeta);\n\n          return compileMeta;\n        }\n      }, {\n        key: \"getNgModuleMetadata\",\n        value: function getNgModuleMetadata(moduleType) {\n          var _this354 = this;\n\n          var throwIfNotFound = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n          var alreadyCollecting = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n          moduleType = resolveForwardRef(moduleType);\n\n          var compileMeta = this._ngModuleCache.get(moduleType);\n\n          if (compileMeta) {\n            return compileMeta;\n          }\n\n          var meta = this._ngModuleResolver.resolve(moduleType, throwIfNotFound);\n\n          if (!meta) {\n            return null;\n          }\n\n          var declaredDirectives = [];\n          var exportedNonModuleIdentifiers = [];\n          var declaredPipes = [];\n          var importedModules = [];\n          var exportedModules = [];\n          var providers = [];\n          var entryComponents = [];\n          var bootstrapComponents = [];\n          var schemas = [];\n\n          if (meta.imports) {\n            flattenAndDedupeArray(meta.imports).forEach(function (importedType) {\n              var importedModuleType = undefined;\n\n              if (isValidType(importedType)) {\n                importedModuleType = importedType;\n              } else if (importedType && importedType.ngModule) {\n                var moduleWithProviders = importedType;\n                importedModuleType = moduleWithProviders.ngModule;\n\n                if (moduleWithProviders.providers) {\n                  providers.push.apply(providers, _toConsumableArray(_this354._getProvidersMetadata(moduleWithProviders.providers, entryComponents, \"provider for the NgModule '\".concat(stringifyType(importedModuleType), \"'\"), [], importedType)));\n                }\n              }\n\n              if (importedModuleType) {\n                if (_this354._checkSelfImport(moduleType, importedModuleType)) return;\n                if (!alreadyCollecting) alreadyCollecting = new Set();\n\n                if (alreadyCollecting.has(importedModuleType)) {\n                  _this354._reportError(syntaxError(\"\".concat(_this354._getTypeDescriptor(importedModuleType), \" '\").concat(stringifyType(importedType), \"' is imported recursively by the module '\").concat(stringifyType(moduleType), \"'.\")), moduleType);\n\n                  return;\n                }\n\n                alreadyCollecting.add(importedModuleType);\n\n                var importedModuleSummary = _this354.getNgModuleSummary(importedModuleType, alreadyCollecting);\n\n                alreadyCollecting.delete(importedModuleType);\n\n                if (!importedModuleSummary) {\n                  _this354._reportError(syntaxError(\"Unexpected \".concat(_this354._getTypeDescriptor(importedType), \" '\").concat(stringifyType(importedType), \"' imported by the module '\").concat(stringifyType(moduleType), \"'. Please add a @NgModule annotation.\")), moduleType);\n\n                  return;\n                }\n\n                importedModules.push(importedModuleSummary);\n              } else {\n                _this354._reportError(syntaxError(\"Unexpected value '\".concat(stringifyType(importedType), \"' imported by the module '\").concat(stringifyType(moduleType), \"'\")), moduleType);\n\n                return;\n              }\n            });\n          }\n\n          if (meta.exports) {\n            flattenAndDedupeArray(meta.exports).forEach(function (exportedType) {\n              if (!isValidType(exportedType)) {\n                _this354._reportError(syntaxError(\"Unexpected value '\".concat(stringifyType(exportedType), \"' exported by the module '\").concat(stringifyType(moduleType), \"'\")), moduleType);\n\n                return;\n              }\n\n              if (!alreadyCollecting) alreadyCollecting = new Set();\n\n              if (alreadyCollecting.has(exportedType)) {\n                _this354._reportError(syntaxError(\"\".concat(_this354._getTypeDescriptor(exportedType), \" '\").concat(stringify(exportedType), \"' is exported recursively by the module '\").concat(stringifyType(moduleType), \"'\")), moduleType);\n\n                return;\n              }\n\n              alreadyCollecting.add(exportedType);\n\n              var exportedModuleSummary = _this354.getNgModuleSummary(exportedType, alreadyCollecting);\n\n              alreadyCollecting.delete(exportedType);\n\n              if (exportedModuleSummary) {\n                exportedModules.push(exportedModuleSummary);\n              } else {\n                exportedNonModuleIdentifiers.push(_this354._getIdentifierMetadata(exportedType));\n              }\n            });\n          } // Note: This will be modified later, so we rely on\n          // getting a new instance every time!\n\n\n          var transitiveModule = this._getTransitiveNgModuleMetadata(importedModules, exportedModules);\n\n          if (meta.declarations) {\n            flattenAndDedupeArray(meta.declarations).forEach(function (declaredType) {\n              if (!isValidType(declaredType)) {\n                _this354._reportError(syntaxError(\"Unexpected value '\".concat(stringifyType(declaredType), \"' declared by the module '\").concat(stringifyType(moduleType), \"'\")), moduleType);\n\n                return;\n              }\n\n              var declaredIdentifier = _this354._getIdentifierMetadata(declaredType);\n\n              if (_this354.isDirective(declaredType)) {\n                transitiveModule.addDirective(declaredIdentifier);\n                declaredDirectives.push(declaredIdentifier);\n\n                _this354._addTypeToModule(declaredType, moduleType);\n              } else if (_this354.isPipe(declaredType)) {\n                transitiveModule.addPipe(declaredIdentifier);\n                transitiveModule.pipes.push(declaredIdentifier);\n                declaredPipes.push(declaredIdentifier);\n\n                _this354._addTypeToModule(declaredType, moduleType);\n              } else {\n                _this354._reportError(syntaxError(\"Unexpected \".concat(_this354._getTypeDescriptor(declaredType), \" '\").concat(stringifyType(declaredType), \"' declared by the module '\").concat(stringifyType(moduleType), \"'. Please add a @Pipe/@Directive/@Component annotation.\")), moduleType);\n\n                return;\n              }\n            });\n          }\n\n          var exportedDirectives = [];\n          var exportedPipes = [];\n          exportedNonModuleIdentifiers.forEach(function (exportedId) {\n            if (transitiveModule.directivesSet.has(exportedId.reference)) {\n              exportedDirectives.push(exportedId);\n              transitiveModule.addExportedDirective(exportedId);\n            } else if (transitiveModule.pipesSet.has(exportedId.reference)) {\n              exportedPipes.push(exportedId);\n              transitiveModule.addExportedPipe(exportedId);\n            } else {\n              _this354._reportError(syntaxError(\"Can't export \".concat(_this354._getTypeDescriptor(exportedId.reference), \" \").concat(stringifyType(exportedId.reference), \" from \").concat(stringifyType(moduleType), \" as it was neither declared nor imported!\")), moduleType);\n\n              return;\n            }\n          }); // The providers of the module have to go last\n          // so that they overwrite any other provider we already added.\n\n          if (meta.providers) {\n            providers.push.apply(providers, _toConsumableArray(this._getProvidersMetadata(meta.providers, entryComponents, \"provider for the NgModule '\".concat(stringifyType(moduleType), \"'\"), [], moduleType)));\n          }\n\n          if (meta.entryComponents) {\n            entryComponents.push.apply(entryComponents, _toConsumableArray(flattenAndDedupeArray(meta.entryComponents).map(function (type) {\n              return _this354._getEntryComponentMetadata(type);\n            })));\n          }\n\n          if (meta.bootstrap) {\n            flattenAndDedupeArray(meta.bootstrap).forEach(function (type) {\n              if (!isValidType(type)) {\n                _this354._reportError(syntaxError(\"Unexpected value '\".concat(stringifyType(type), \"' used in the bootstrap property of module '\").concat(stringifyType(moduleType), \"'\")), moduleType);\n\n                return;\n              }\n\n              bootstrapComponents.push(_this354._getIdentifierMetadata(type));\n            });\n          }\n\n          entryComponents.push.apply(entryComponents, _toConsumableArray(bootstrapComponents.map(function (type) {\n            return _this354._getEntryComponentMetadata(type.reference);\n          })));\n\n          if (meta.schemas) {\n            schemas.push.apply(schemas, _toConsumableArray(flattenAndDedupeArray(meta.schemas)));\n          }\n\n          compileMeta = new CompileNgModuleMetadata({\n            type: this._getTypeMetadata(moduleType),\n            providers: providers,\n            entryComponents: entryComponents,\n            bootstrapComponents: bootstrapComponents,\n            schemas: schemas,\n            declaredDirectives: declaredDirectives,\n            exportedDirectives: exportedDirectives,\n            declaredPipes: declaredPipes,\n            exportedPipes: exportedPipes,\n            importedModules: importedModules,\n            exportedModules: exportedModules,\n            transitiveModule: transitiveModule,\n            id: meta.id || null\n          });\n          entryComponents.forEach(function (id) {\n            return transitiveModule.addEntryComponent(id);\n          });\n          providers.forEach(function (provider) {\n            return transitiveModule.addProvider(provider, compileMeta.type);\n          });\n          transitiveModule.addModule(compileMeta.type);\n\n          this._ngModuleCache.set(moduleType, compileMeta);\n\n          return compileMeta;\n        }\n      }, {\n        key: \"_checkSelfImport\",\n        value: function _checkSelfImport(moduleType, importedModuleType) {\n          if (moduleType === importedModuleType) {\n            this._reportError(syntaxError(\"'\".concat(stringifyType(moduleType), \"' module can't import itself\")), moduleType);\n\n            return true;\n          }\n\n          return false;\n        }\n      }, {\n        key: \"_getTypeDescriptor\",\n        value: function _getTypeDescriptor(type) {\n          if (isValidType(type)) {\n            if (this.isDirective(type)) {\n              return 'directive';\n            }\n\n            if (this.isPipe(type)) {\n              return 'pipe';\n            }\n\n            if (this.isNgModule(type)) {\n              return 'module';\n            }\n          }\n\n          if (type.provide) {\n            return 'provider';\n          }\n\n          return 'value';\n        }\n      }, {\n        key: \"_addTypeToModule\",\n        value: function _addTypeToModule(type, moduleType) {\n          var oldModule = this._ngModuleOfTypes.get(type);\n\n          if (oldModule && oldModule !== moduleType) {\n            this._reportError(syntaxError(\"Type \".concat(stringifyType(type), \" is part of the declarations of 2 modules: \").concat(stringifyType(oldModule), \" and \").concat(stringifyType(moduleType), \"! \") + \"Please consider moving \".concat(stringifyType(type), \" to a higher module that imports \").concat(stringifyType(oldModule), \" and \").concat(stringifyType(moduleType), \". \") + \"You can also create a new NgModule that exports and includes \".concat(stringifyType(type), \" then import that NgModule in \").concat(stringifyType(oldModule), \" and \").concat(stringifyType(moduleType), \".\")), moduleType);\n\n            return;\n          }\n\n          this._ngModuleOfTypes.set(type, moduleType);\n        }\n      }, {\n        key: \"_getTransitiveNgModuleMetadata\",\n        value: function _getTransitiveNgModuleMetadata(importedModules, exportedModules) {\n          // collect `providers` / `entryComponents` from all imported and all exported modules\n          var result = new TransitiveCompileNgModuleMetadata();\n          var modulesByToken = new Map();\n          importedModules.concat(exportedModules).forEach(function (modSummary) {\n            modSummary.modules.forEach(function (mod) {\n              return result.addModule(mod);\n            });\n            modSummary.entryComponents.forEach(function (comp) {\n              return result.addEntryComponent(comp);\n            });\n            var addedTokens = new Set();\n            modSummary.providers.forEach(function (entry) {\n              var tokenRef = tokenReference(entry.provider.token);\n              var prevModules = modulesByToken.get(tokenRef);\n\n              if (!prevModules) {\n                prevModules = new Set();\n                modulesByToken.set(tokenRef, prevModules);\n              }\n\n              var moduleRef = entry.module.reference; // Note: the providers of one module may still contain multiple providers\n              // per token (e.g. for multi providers), and we need to preserve these.\n\n              if (addedTokens.has(tokenRef) || !prevModules.has(moduleRef)) {\n                prevModules.add(moduleRef);\n                addedTokens.add(tokenRef);\n                result.addProvider(entry.provider, entry.module);\n              }\n            });\n          });\n          exportedModules.forEach(function (modSummary) {\n            modSummary.exportedDirectives.forEach(function (id) {\n              return result.addExportedDirective(id);\n            });\n            modSummary.exportedPipes.forEach(function (id) {\n              return result.addExportedPipe(id);\n            });\n          });\n          importedModules.forEach(function (modSummary) {\n            modSummary.exportedDirectives.forEach(function (id) {\n              return result.addDirective(id);\n            });\n            modSummary.exportedPipes.forEach(function (id) {\n              return result.addPipe(id);\n            });\n          });\n          return result;\n        }\n      }, {\n        key: \"_getIdentifierMetadata\",\n        value: function _getIdentifierMetadata(type) {\n          type = resolveForwardRef(type);\n          return {\n            reference: type\n          };\n        }\n      }, {\n        key: \"isInjectable\",\n        value: function isInjectable(type) {\n          var annotations = this._reflector.tryAnnotations(type);\n\n          return annotations.some(function (ann) {\n            return createInjectable.isTypeOf(ann);\n          });\n        }\n      }, {\n        key: \"getInjectableSummary\",\n        value: function getInjectableSummary(type) {\n          return {\n            summaryKind: CompileSummaryKind.Injectable,\n            type: this._getTypeMetadata(type, null, false)\n          };\n        }\n      }, {\n        key: \"getInjectableMetadata\",\n        value: function getInjectableMetadata(type) {\n          var dependencies = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n          var throwOnUnknownDeps = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n\n          var typeSummary = this._loadSummary(type, CompileSummaryKind.Injectable);\n\n          var typeMetadata = typeSummary ? typeSummary.type : this._getTypeMetadata(type, dependencies, throwOnUnknownDeps);\n\n          var annotations = this._reflector.annotations(type).filter(function (ann) {\n            return createInjectable.isTypeOf(ann);\n          });\n\n          if (annotations.length === 0) {\n            return null;\n          }\n\n          var meta = annotations[annotations.length - 1];\n          return {\n            symbol: type,\n            type: typeMetadata,\n            providedIn: meta.providedIn,\n            useValue: meta.useValue,\n            useClass: meta.useClass,\n            useExisting: meta.useExisting,\n            useFactory: meta.useFactory,\n            deps: meta.deps\n          };\n        }\n      }, {\n        key: \"_getTypeMetadata\",\n        value: function _getTypeMetadata(type) {\n          var dependencies = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n          var throwOnUnknownDeps = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n\n          var identifier = this._getIdentifierMetadata(type);\n\n          return {\n            reference: identifier.reference,\n            diDeps: this._getDependenciesMetadata(identifier.reference, dependencies, throwOnUnknownDeps),\n            lifecycleHooks: getAllLifecycleHooks(this._reflector, identifier.reference)\n          };\n        }\n      }, {\n        key: \"_getFactoryMetadata\",\n        value: function _getFactoryMetadata(factory) {\n          var dependencies = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n          factory = resolveForwardRef(factory);\n          return {\n            reference: factory,\n            diDeps: this._getDependenciesMetadata(factory, dependencies)\n          };\n        }\n        /**\n         * Gets the metadata for the given pipe.\n         * This assumes `loadNgModuleDirectiveAndPipeMetadata` has been called first.\n         */\n\n      }, {\n        key: \"getPipeMetadata\",\n        value: function getPipeMetadata(pipeType) {\n          var pipeMeta = this._pipeCache.get(pipeType);\n\n          if (!pipeMeta) {\n            this._reportError(syntaxError(\"Illegal state: getPipeMetadata can only be called after loadNgModuleDirectiveAndPipeMetadata for a module that declares it. Pipe \".concat(stringifyType(pipeType), \".\")), pipeType);\n          }\n\n          return pipeMeta || null;\n        }\n      }, {\n        key: \"getPipeSummary\",\n        value: function getPipeSummary(pipeType) {\n          var pipeSummary = this._loadSummary(pipeType, CompileSummaryKind.Pipe);\n\n          if (!pipeSummary) {\n            this._reportError(syntaxError(\"Illegal state: Could not load the summary for pipe \".concat(stringifyType(pipeType), \".\")), pipeType);\n          }\n\n          return pipeSummary;\n        }\n      }, {\n        key: \"getOrLoadPipeMetadata\",\n        value: function getOrLoadPipeMetadata(pipeType) {\n          var pipeMeta = this._pipeCache.get(pipeType);\n\n          if (!pipeMeta) {\n            pipeMeta = this._loadPipeMetadata(pipeType);\n          }\n\n          return pipeMeta;\n        }\n      }, {\n        key: \"_loadPipeMetadata\",\n        value: function _loadPipeMetadata(pipeType) {\n          pipeType = resolveForwardRef(pipeType);\n\n          var pipeAnnotation = this._pipeResolver.resolve(pipeType);\n\n          var pipeMeta = new CompilePipeMetadata({\n            type: this._getTypeMetadata(pipeType),\n            name: pipeAnnotation.name,\n            pure: !!pipeAnnotation.pure\n          });\n\n          this._pipeCache.set(pipeType, pipeMeta);\n\n          this._summaryCache.set(pipeType, pipeMeta.toSummary());\n\n          return pipeMeta;\n        }\n      }, {\n        key: \"_getDependenciesMetadata\",\n        value: function _getDependenciesMetadata(typeOrFunc, dependencies) {\n          var _this355 = this;\n\n          var throwOnUnknownDeps = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n          var hasUnknownDeps = false;\n          var params = dependencies || this._reflector.parameters(typeOrFunc) || [];\n          var dependenciesMetadata = params.map(function (param) {\n            var isAttribute = false;\n            var isHost = false;\n            var isSelf = false;\n            var isSkipSelf = false;\n            var isOptional = false;\n            var token = null;\n\n            if (Array.isArray(param)) {\n              param.forEach(function (paramEntry) {\n                if (createHost.isTypeOf(paramEntry)) {\n                  isHost = true;\n                } else if (createSelf.isTypeOf(paramEntry)) {\n                  isSelf = true;\n                } else if (createSkipSelf.isTypeOf(paramEntry)) {\n                  isSkipSelf = true;\n                } else if (createOptional.isTypeOf(paramEntry)) {\n                  isOptional = true;\n                } else if (createAttribute.isTypeOf(paramEntry)) {\n                  isAttribute = true;\n                  token = paramEntry.attributeName;\n                } else if (createInject.isTypeOf(paramEntry)) {\n                  token = paramEntry.token;\n                } else if (createInjectionToken.isTypeOf(paramEntry) || paramEntry instanceof StaticSymbol) {\n                  token = paramEntry;\n                } else if (isValidType(paramEntry) && token == null) {\n                  token = paramEntry;\n                }\n              });\n            } else {\n              token = param;\n            }\n\n            if (token == null) {\n              hasUnknownDeps = true;\n              return {};\n            }\n\n            return {\n              isAttribute: isAttribute,\n              isHost: isHost,\n              isSelf: isSelf,\n              isSkipSelf: isSkipSelf,\n              isOptional: isOptional,\n              token: _this355._getTokenMetadata(token)\n            };\n          });\n\n          if (hasUnknownDeps) {\n            var depsTokens = dependenciesMetadata.map(function (dep) {\n              return dep.token ? stringifyType(dep.token) : '?';\n            }).join(', ');\n            var message = \"Can't resolve all parameters for \".concat(stringifyType(typeOrFunc), \": (\").concat(depsTokens, \").\");\n\n            if (throwOnUnknownDeps || this._config.strictInjectionParameters) {\n              this._reportError(syntaxError(message), typeOrFunc);\n            } else {\n              this._console.warn(\"Warning: \".concat(message, \" This will become an error in Angular v6.x\"));\n            }\n          }\n\n          return dependenciesMetadata;\n        }\n      }, {\n        key: \"_getTokenMetadata\",\n        value: function _getTokenMetadata(token) {\n          token = resolveForwardRef(token);\n          var compileToken;\n\n          if (typeof token === 'string') {\n            compileToken = {\n              value: token\n            };\n          } else {\n            compileToken = {\n              identifier: {\n                reference: token\n              }\n            };\n          }\n\n          return compileToken;\n        }\n      }, {\n        key: \"_getProvidersMetadata\",\n        value: function _getProvidersMetadata(providers, targetEntryComponents, debugInfo) {\n          var _this356 = this;\n\n          var compileProviders = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : [];\n          var type = arguments.length > 4 ? arguments[4] : undefined;\n          providers.forEach(function (provider, providerIdx) {\n            if (Array.isArray(provider)) {\n              _this356._getProvidersMetadata(provider, targetEntryComponents, debugInfo, compileProviders);\n            } else {\n              provider = resolveForwardRef(provider);\n              var providerMeta = undefined;\n\n              if (provider && typeof provider === 'object' && provider.hasOwnProperty('provide')) {\n                _this356._validateProvider(provider);\n\n                providerMeta = new ProviderMeta(provider.provide, provider);\n              } else if (isValidType(provider)) {\n                providerMeta = new ProviderMeta(provider, {\n                  useClass: provider\n                });\n              } else if (provider === void 0) {\n                _this356._reportError(syntaxError(\"Encountered undefined provider! Usually this means you have a circular dependencies. This might be caused by using 'barrel' index.ts files.\"));\n\n                return;\n              } else {\n                var providersInfo = providers.reduce(function (soFar, seenProvider, seenProviderIdx) {\n                  if (seenProviderIdx < providerIdx) {\n                    soFar.push(\"\".concat(stringifyType(seenProvider)));\n                  } else if (seenProviderIdx == providerIdx) {\n                    soFar.push(\"?\".concat(stringifyType(seenProvider), \"?\"));\n                  } else if (seenProviderIdx == providerIdx + 1) {\n                    soFar.push('...');\n                  }\n\n                  return soFar;\n                }, []).join(', ');\n\n                _this356._reportError(syntaxError(\"Invalid \".concat(debugInfo ? debugInfo : 'provider', \" - only instances of Provider and Type are allowed, got: [\").concat(providersInfo, \"]\")), type);\n\n                return;\n              }\n\n              if (providerMeta.token === _this356._reflector.resolveExternalReference(Identifiers.ANALYZE_FOR_ENTRY_COMPONENTS)) {\n                targetEntryComponents.push.apply(targetEntryComponents, _toConsumableArray(_this356._getEntryComponentsFromProvider(providerMeta, type)));\n              } else {\n                compileProviders.push(_this356.getProviderMetadata(providerMeta));\n              }\n            }\n          });\n          return compileProviders;\n        }\n      }, {\n        key: \"_validateProvider\",\n        value: function _validateProvider(provider) {\n          if (provider.hasOwnProperty('useClass') && provider.useClass == null) {\n            this._reportError(syntaxError(\"Invalid provider for \".concat(stringifyType(provider.provide), \". useClass cannot be \").concat(provider.useClass, \".\\n           Usually it happens when:\\n           1. There's a circular dependency (might be caused by using index.ts (barrel) files).\\n           2. Class was used before it was declared. Use forwardRef in this case.\")));\n          }\n        }\n      }, {\n        key: \"_getEntryComponentsFromProvider\",\n        value: function _getEntryComponentsFromProvider(provider, type) {\n          var _this357 = this;\n\n          var components = [];\n          var collectedIdentifiers = [];\n\n          if (provider.useFactory || provider.useExisting || provider.useClass) {\n            this._reportError(syntaxError(\"The ANALYZE_FOR_ENTRY_COMPONENTS token only supports useValue!\"), type);\n\n            return [];\n          }\n\n          if (!provider.multi) {\n            this._reportError(syntaxError(\"The ANALYZE_FOR_ENTRY_COMPONENTS token only supports 'multi = true'!\"), type);\n\n            return [];\n          }\n\n          extractIdentifiers(provider.useValue, collectedIdentifiers);\n          collectedIdentifiers.forEach(function (identifier) {\n            var entry = _this357._getEntryComponentMetadata(identifier.reference, false);\n\n            if (entry) {\n              components.push(entry);\n            }\n          });\n          return components;\n        }\n      }, {\n        key: \"_getEntryComponentMetadata\",\n        value: function _getEntryComponentMetadata(dirType) {\n          var throwIfNotFound = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n          var dirMeta = this.getNonNormalizedDirectiveMetadata(dirType);\n\n          if (dirMeta && dirMeta.metadata.isComponent) {\n            return {\n              componentType: dirType,\n              componentFactory: dirMeta.metadata.componentFactory\n            };\n          }\n\n          var dirSummary = this._loadSummary(dirType, CompileSummaryKind.Directive);\n\n          if (dirSummary && dirSummary.isComponent) {\n            return {\n              componentType: dirType,\n              componentFactory: dirSummary.componentFactory\n            };\n          }\n\n          if (throwIfNotFound) {\n            throw syntaxError(\"\".concat(dirType.name, \" cannot be used as an entry component.\"));\n          }\n\n          return null;\n        }\n      }, {\n        key: \"_getInjectableTypeMetadata\",\n        value: function _getInjectableTypeMetadata(type) {\n          var dependencies = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n\n          var typeSummary = this._loadSummary(type, CompileSummaryKind.Injectable);\n\n          if (typeSummary) {\n            return typeSummary.type;\n          }\n\n          return this._getTypeMetadata(type, dependencies);\n        }\n      }, {\n        key: \"getProviderMetadata\",\n        value: function getProviderMetadata(provider) {\n          var compileDeps = undefined;\n          var compileTypeMetadata = null;\n          var compileFactoryMetadata = null;\n\n          var token = this._getTokenMetadata(provider.token);\n\n          if (provider.useClass) {\n            compileTypeMetadata = this._getInjectableTypeMetadata(provider.useClass, provider.dependencies);\n            compileDeps = compileTypeMetadata.diDeps;\n\n            if (provider.token === provider.useClass) {\n              // use the compileTypeMetadata as it contains information about lifecycleHooks...\n              token = {\n                identifier: compileTypeMetadata\n              };\n            }\n          } else if (provider.useFactory) {\n            compileFactoryMetadata = this._getFactoryMetadata(provider.useFactory, provider.dependencies);\n            compileDeps = compileFactoryMetadata.diDeps;\n          }\n\n          return {\n            token: token,\n            useClass: compileTypeMetadata,\n            useValue: provider.useValue,\n            useFactory: compileFactoryMetadata,\n            useExisting: provider.useExisting ? this._getTokenMetadata(provider.useExisting) : undefined,\n            deps: compileDeps,\n            multi: provider.multi\n          };\n        }\n      }, {\n        key: \"_getQueriesMetadata\",\n        value: function _getQueriesMetadata(queries, isViewQuery, directiveType) {\n          var _this358 = this;\n\n          var res = [];\n          Object.keys(queries).forEach(function (propertyName) {\n            var query = queries[propertyName];\n\n            if (query.isViewQuery === isViewQuery) {\n              res.push(_this358._getQueryMetadata(query, propertyName, directiveType));\n            }\n          });\n          return res;\n        }\n      }, {\n        key: \"_queryVarBindings\",\n        value: function _queryVarBindings(selector) {\n          return selector.split(/\\s*,\\s*/);\n        }\n      }, {\n        key: \"_getQueryMetadata\",\n        value: function _getQueryMetadata(q, propertyName, typeOrFunc) {\n          var _this359 = this;\n\n          var selectors;\n\n          if (typeof q.selector === 'string') {\n            selectors = this._queryVarBindings(q.selector).map(function (varName) {\n              return _this359._getTokenMetadata(varName);\n            });\n          } else {\n            if (!q.selector) {\n              this._reportError(syntaxError(\"Can't construct a query for the property \\\"\".concat(propertyName, \"\\\" of \\\"\").concat(stringifyType(typeOrFunc), \"\\\" since the query selector wasn't defined.\")), typeOrFunc);\n\n              selectors = [];\n            } else {\n              selectors = [this._getTokenMetadata(q.selector)];\n            }\n          }\n\n          return {\n            selectors: selectors,\n            first: q.first,\n            descendants: q.descendants,\n            propertyName: propertyName,\n            read: q.read ? this._getTokenMetadata(q.read) : null,\n            static: q.static\n          };\n        }\n      }, {\n        key: \"_reportError\",\n        value: function _reportError(error, type, otherType) {\n          if (this._errorCollector) {\n            this._errorCollector(error, type);\n\n            if (otherType) {\n              this._errorCollector(error, otherType);\n            }\n          } else {\n            throw error;\n          }\n        }\n      }]);\n\n      return CompileMetadataResolver;\n    }();\n\n    function flattenArray(tree) {\n      var out = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n\n      if (tree) {\n        for (var i = 0; i < tree.length; i++) {\n          var item = resolveForwardRef(tree[i]);\n\n          if (Array.isArray(item)) {\n            flattenArray(item, out);\n          } else {\n            out.push(item);\n          }\n        }\n      }\n\n      return out;\n    }\n\n    function dedupeArray(array) {\n      if (array) {\n        return Array.from(new Set(array));\n      }\n\n      return [];\n    }\n\n    function flattenAndDedupeArray(tree) {\n      return dedupeArray(flattenArray(tree));\n    }\n\n    function isValidType(value) {\n      return value instanceof StaticSymbol || value instanceof Type;\n    }\n\n    function extractIdentifiers(value, targetIdentifiers) {\n      visitValue(value, new _CompileValueConverter(), targetIdentifiers);\n    }\n\n    var _CompileValueConverter =\n    /*#__PURE__*/\n    function (_ValueTransformer) {\n      _inherits(_CompileValueConverter, _ValueTransformer);\n\n      function _CompileValueConverter() {\n        _classCallCheck(this, _CompileValueConverter);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(_CompileValueConverter).apply(this, arguments));\n      }\n\n      _createClass2(_CompileValueConverter, [{\n        key: \"visitOther\",\n        value: function visitOther(value, targetIdentifiers) {\n          targetIdentifiers.push({\n            reference: value\n          });\n        }\n      }]);\n\n      return _CompileValueConverter;\n    }(ValueTransformer);\n\n    function stringifyType(type) {\n      if (type instanceof StaticSymbol) {\n        return \"\".concat(type.name, \" in \").concat(type.filePath);\n      } else {\n        return stringify(type);\n      }\n    }\n    /**\n     * Indicates that a component is still being loaded in a synchronous compile.\n     */\n\n\n    function componentStillLoadingError(compType) {\n      var error = Error(\"Can't compile synchronously as \".concat(stringify(compType), \" is still being loaded!\"));\n      error[ERROR_COMPONENT_TYPE] = compType;\n      return error;\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    function providerDef(ctx, providerAst) {\n      var flags = 0\n      /* None */\n      ;\n\n      if (!providerAst.eager) {\n        flags |= 4096\n        /* LazyProvider */\n        ;\n      }\n\n      if (providerAst.providerType === ProviderAstType.PrivateService) {\n        flags |= 8192\n        /* PrivateProvider */\n        ;\n      }\n\n      if (providerAst.isModule) {\n        flags |= 1073741824\n        /* TypeModuleProvider */\n        ;\n      }\n\n      providerAst.lifecycleHooks.forEach(function (lifecycleHook) {\n        // for regular providers, we only support ngOnDestroy\n        if (lifecycleHook === LifecycleHooks.OnDestroy || providerAst.providerType === ProviderAstType.Directive || providerAst.providerType === ProviderAstType.Component) {\n          flags |= lifecycleHookToNodeFlag(lifecycleHook);\n        }\n      });\n\n      var _ref51 = providerAst.multiProvider ? multiProviderDef(ctx, flags, providerAst.providers) : singleProviderDef(ctx, flags, providerAst.providerType, providerAst.providers[0]),\n          providerExpr = _ref51.providerExpr,\n          providerFlags = _ref51.flags,\n          depsExpr = _ref51.depsExpr;\n\n      return {\n        providerExpr: providerExpr,\n        flags: providerFlags,\n        depsExpr: depsExpr,\n        tokenExpr: tokenExpr(ctx, providerAst.token)\n      };\n    }\n\n    function multiProviderDef(ctx, flags, providers) {\n      var allDepDefs = [];\n      var allParams = [];\n      var exprs = providers.map(function (provider, providerIndex) {\n        var expr;\n\n        if (provider.useClass) {\n          var depExprs = convertDeps(providerIndex, provider.deps || provider.useClass.diDeps);\n          expr = ctx.importExpr(provider.useClass.reference).instantiate(depExprs);\n        } else if (provider.useFactory) {\n          var _depExprs = convertDeps(providerIndex, provider.deps || provider.useFactory.diDeps);\n\n          expr = ctx.importExpr(provider.useFactory.reference).callFn(_depExprs);\n        } else if (provider.useExisting) {\n          var _depExprs2 = convertDeps(providerIndex, [{\n            token: provider.useExisting\n          }]);\n\n          expr = _depExprs2[0];\n        } else {\n          expr = convertValueToOutputAst(ctx, provider.useValue);\n        }\n\n        return expr;\n      });\n      var providerExpr = fn(allParams, [new ReturnStatement(literalArr(exprs))], INFERRED_TYPE);\n      return {\n        providerExpr: providerExpr,\n        flags: flags | 1024\n        /* TypeFactoryProvider */\n        ,\n        depsExpr: literalArr(allDepDefs)\n      };\n\n      function convertDeps(providerIndex, deps) {\n        return deps.map(function (dep, depIndex) {\n          var paramName = \"p\".concat(providerIndex, \"_\").concat(depIndex);\n          allParams.push(new FnParam(paramName, DYNAMIC_TYPE));\n          allDepDefs.push(depDef(ctx, dep));\n          return variable(paramName);\n        });\n      }\n    }\n\n    function singleProviderDef(ctx, flags, providerType, providerMeta) {\n      var providerExpr;\n      var deps;\n\n      if (providerType === ProviderAstType.Directive || providerType === ProviderAstType.Component) {\n        providerExpr = ctx.importExpr(providerMeta.useClass.reference);\n        flags |= 16384\n        /* TypeDirective */\n        ;\n        deps = providerMeta.deps || providerMeta.useClass.diDeps;\n      } else {\n        if (providerMeta.useClass) {\n          providerExpr = ctx.importExpr(providerMeta.useClass.reference);\n          flags |= 512\n          /* TypeClassProvider */\n          ;\n          deps = providerMeta.deps || providerMeta.useClass.diDeps;\n        } else if (providerMeta.useFactory) {\n          providerExpr = ctx.importExpr(providerMeta.useFactory.reference);\n          flags |= 1024\n          /* TypeFactoryProvider */\n          ;\n          deps = providerMeta.deps || providerMeta.useFactory.diDeps;\n        } else if (providerMeta.useExisting) {\n          providerExpr = NULL_EXPR;\n          flags |= 2048\n          /* TypeUseExistingProvider */\n          ;\n          deps = [{\n            token: providerMeta.useExisting\n          }];\n        } else {\n          providerExpr = convertValueToOutputAst(ctx, providerMeta.useValue);\n          flags |= 256\n          /* TypeValueProvider */\n          ;\n          deps = [];\n        }\n      }\n\n      var depsExpr = literalArr(deps.map(function (dep) {\n        return depDef(ctx, dep);\n      }));\n      return {\n        providerExpr: providerExpr,\n        flags: flags,\n        depsExpr: depsExpr\n      };\n    }\n\n    function tokenExpr(ctx, tokenMeta) {\n      return tokenMeta.identifier ? ctx.importExpr(tokenMeta.identifier.reference) : literal(tokenMeta.value);\n    }\n\n    function depDef(ctx, dep) {\n      // Note: the following fields have already been normalized out by provider_analyzer:\n      // - isAttribute, isHost\n      var expr = dep.isValue ? convertValueToOutputAst(ctx, dep.value) : tokenExpr(ctx, dep.token);\n      var flags = 0\n      /* None */\n      ;\n\n      if (dep.isSkipSelf) {\n        flags |= 1\n        /* SkipSelf */\n        ;\n      }\n\n      if (dep.isOptional) {\n        flags |= 2\n        /* Optional */\n        ;\n      }\n\n      if (dep.isSelf) {\n        flags |= 4\n        /* Self */\n        ;\n      }\n\n      if (dep.isValue) {\n        flags |= 8\n        /* Value */\n        ;\n      }\n\n      return flags === 0\n      /* None */\n      ? expr : literalArr([literal(flags), expr]);\n    }\n\n    function lifecycleHookToNodeFlag(lifecycleHook) {\n      var nodeFlag = 0\n      /* None */\n      ;\n\n      switch (lifecycleHook) {\n        case LifecycleHooks.AfterContentChecked:\n          nodeFlag = 2097152\n          /* AfterContentChecked */\n          ;\n          break;\n\n        case LifecycleHooks.AfterContentInit:\n          nodeFlag = 1048576\n          /* AfterContentInit */\n          ;\n          break;\n\n        case LifecycleHooks.AfterViewChecked:\n          nodeFlag = 8388608\n          /* AfterViewChecked */\n          ;\n          break;\n\n        case LifecycleHooks.AfterViewInit:\n          nodeFlag = 4194304\n          /* AfterViewInit */\n          ;\n          break;\n\n        case LifecycleHooks.DoCheck:\n          nodeFlag = 262144\n          /* DoCheck */\n          ;\n          break;\n\n        case LifecycleHooks.OnChanges:\n          nodeFlag = 524288\n          /* OnChanges */\n          ;\n          break;\n\n        case LifecycleHooks.OnDestroy:\n          nodeFlag = 131072\n          /* OnDestroy */\n          ;\n          break;\n\n        case LifecycleHooks.OnInit:\n          nodeFlag = 65536\n          /* OnInit */\n          ;\n          break;\n      }\n\n      return nodeFlag;\n    }\n\n    function componentFactoryResolverProviderDef(reflector, ctx, flags, entryComponents) {\n      var entryComponentFactories = entryComponents.map(function (entryComponent) {\n        return ctx.importExpr(entryComponent.componentFactory);\n      });\n      var token = createTokenForExternalReference(reflector, Identifiers.ComponentFactoryResolver);\n      var classMeta = {\n        diDeps: [{\n          isValue: true,\n          value: literalArr(entryComponentFactories)\n        }, {\n          token: token,\n          isSkipSelf: true,\n          isOptional: true\n        }, {\n          token: createTokenForExternalReference(reflector, Identifiers.NgModuleRef)\n        }],\n        lifecycleHooks: [],\n        reference: reflector.resolveExternalReference(Identifiers.CodegenComponentFactoryResolver)\n      };\n\n      var _singleProviderDef = singleProviderDef(ctx, flags, ProviderAstType.PrivateService, {\n        token: token,\n        multi: false,\n        useClass: classMeta\n      }),\n          providerExpr = _singleProviderDef.providerExpr,\n          providerFlags = _singleProviderDef.flags,\n          depsExpr = _singleProviderDef.depsExpr;\n\n      return {\n        providerExpr: providerExpr,\n        flags: providerFlags,\n        depsExpr: depsExpr,\n        tokenExpr: tokenExpr(ctx, token)\n      };\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var NgModuleCompileResult = function NgModuleCompileResult(ngModuleFactoryVar) {\n      _classCallCheck(this, NgModuleCompileResult);\n\n      this.ngModuleFactoryVar = ngModuleFactoryVar;\n    };\n\n    var LOG_VAR = variable('_l');\n\n    var NgModuleCompiler =\n    /*#__PURE__*/\n    function () {\n      function NgModuleCompiler(reflector) {\n        _classCallCheck(this, NgModuleCompiler);\n\n        this.reflector = reflector;\n      }\n\n      _createClass2(NgModuleCompiler, [{\n        key: \"compile\",\n        value: function compile(ctx, ngModuleMeta, extraProviders) {\n          var sourceSpan = typeSourceSpan('NgModule', ngModuleMeta.type);\n          var entryComponentFactories = ngModuleMeta.transitiveModule.entryComponents;\n          var bootstrapComponents = ngModuleMeta.bootstrapComponents;\n          var providerParser = new NgModuleProviderAnalyzer(this.reflector, ngModuleMeta, extraProviders, sourceSpan);\n          var providerDefs = [componentFactoryResolverProviderDef(this.reflector, ctx, 0\n          /* None */\n          , entryComponentFactories)].concat(providerParser.parse().map(function (provider) {\n            return providerDef(ctx, provider);\n          })).map(function (_ref52) {\n            var providerExpr = _ref52.providerExpr,\n                depsExpr = _ref52.depsExpr,\n                flags = _ref52.flags,\n                tokenExpr = _ref52.tokenExpr;\n            return importExpr(Identifiers.moduleProviderDef).callFn([literal(flags), tokenExpr, providerExpr, depsExpr]);\n          });\n          var ngModuleDef = importExpr(Identifiers.moduleDef).callFn([literalArr(providerDefs)]);\n          var ngModuleDefFactory = fn([new FnParam(LOG_VAR.name)], [new ReturnStatement(ngModuleDef)], INFERRED_TYPE);\n          var ngModuleFactoryVar = \"\".concat(identifierName(ngModuleMeta.type), \"NgFactory\");\n\n          this._createNgModuleFactory(ctx, ngModuleMeta.type.reference, importExpr(Identifiers.createModuleFactory).callFn([ctx.importExpr(ngModuleMeta.type.reference), literalArr(bootstrapComponents.map(function (id) {\n            return ctx.importExpr(id.reference);\n          })), ngModuleDefFactory]));\n\n          if (ngModuleMeta.id) {\n            var id = typeof ngModuleMeta.id === 'string' ? literal(ngModuleMeta.id) : ctx.importExpr(ngModuleMeta.id);\n            var registerFactoryStmt = importExpr(Identifiers.RegisterModuleFactoryFn).callFn([id, variable(ngModuleFactoryVar)]).toStmt();\n            ctx.statements.push(registerFactoryStmt);\n          }\n\n          return new NgModuleCompileResult(ngModuleFactoryVar);\n        }\n      }, {\n        key: \"createStub\",\n        value: function createStub(ctx, ngModuleReference) {\n          this._createNgModuleFactory(ctx, ngModuleReference, NULL_EXPR);\n        }\n      }, {\n        key: \"_createNgModuleFactory\",\n        value: function _createNgModuleFactory(ctx, reference, value) {\n          var ngModuleFactoryVar = \"\".concat(identifierName({\n            reference: reference\n          }), \"NgFactory\");\n          var ngModuleFactoryStmt = variable(ngModuleFactoryVar).set(value).toDeclStmt(importType(Identifiers.NgModuleFactory, [expressionType(ctx.importExpr(reference))], [TypeModifier.Const]), [StmtModifier.Final, StmtModifier.Exported]);\n          ctx.statements.push(ngModuleFactoryStmt);\n        }\n      }]);\n\n      return NgModuleCompiler;\n    }();\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * Resolves types to {@link NgModule}.\n     */\n\n\n    var NgModuleResolver =\n    /*#__PURE__*/\n    function () {\n      function NgModuleResolver(_reflector) {\n        _classCallCheck(this, NgModuleResolver);\n\n        this._reflector = _reflector;\n      }\n\n      _createClass2(NgModuleResolver, [{\n        key: \"isNgModule\",\n        value: function isNgModule(type) {\n          return this._reflector.annotations(type).some(createNgModule.isTypeOf);\n        }\n      }, {\n        key: \"resolve\",\n        value: function resolve(type) {\n          var throwIfNotFound = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n          var ngModuleMeta = findLast(this._reflector.annotations(type), createNgModule.isTypeOf);\n\n          if (ngModuleMeta) {\n            return ngModuleMeta;\n          } else {\n            if (throwIfNotFound) {\n              throw new Error(\"No NgModule metadata found for '\".concat(stringify(type), \"'.\"));\n            }\n\n            return null;\n          }\n        }\n      }]);\n\n      return NgModuleResolver;\n    }();\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var _debugFilePath = '/debug/lib';\n\n    function debugOutputAstAsTypeScript(ast) {\n      var converter = new _TsEmitterVisitor();\n      var ctx = EmitterVisitorContext.createRoot();\n      var asts = Array.isArray(ast) ? ast : [ast];\n      asts.forEach(function (ast) {\n        if (ast instanceof Statement) {\n          ast.visitStatement(converter, ctx);\n        } else if (ast instanceof Expression) {\n          ast.visitExpression(converter, ctx);\n        } else if (ast instanceof Type$1) {\n          ast.visitType(converter, ctx);\n        } else {\n          throw new Error(\"Don't know how to print debug info for \".concat(ast));\n        }\n      });\n      return ctx.toSource();\n    }\n\n    var TypeScriptEmitter =\n    /*#__PURE__*/\n    function () {\n      function TypeScriptEmitter() {\n        _classCallCheck(this, TypeScriptEmitter);\n      }\n\n      _createClass2(TypeScriptEmitter, [{\n        key: \"emitStatementsAndContext\",\n        value: function emitStatementsAndContext(genFilePath, stmts) {\n          var preamble = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';\n          var emitSourceMaps = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;\n          var referenceFilter = arguments.length > 4 ? arguments[4] : undefined;\n          var importFilter = arguments.length > 5 ? arguments[5] : undefined;\n          var converter = new _TsEmitterVisitor(referenceFilter, importFilter);\n          var ctx = EmitterVisitorContext.createRoot();\n          converter.visitAllStatements(stmts, ctx);\n          var preambleLines = preamble ? preamble.split('\\n') : [];\n          converter.reexports.forEach(function (reexports, exportedModuleName) {\n            var reexportsCode = reexports.map(function (reexport) {\n              return \"\".concat(reexport.name, \" as \").concat(reexport.as);\n            }).join(',');\n            preambleLines.push(\"export {\".concat(reexportsCode, \"} from '\").concat(exportedModuleName, \"';\"));\n          });\n          converter.importsWithPrefixes.forEach(function (prefix, importedModuleName) {\n            // Note: can't write the real word for import as it screws up system.js auto detection...\n            preambleLines.push(\"imp\" + \"ort * as \".concat(prefix, \" from '\").concat(importedModuleName, \"';\"));\n          });\n          var sm = emitSourceMaps ? ctx.toSourceMapGenerator(genFilePath, preambleLines.length).toJsComment() : '';\n          var lines = [].concat(_toConsumableArray(preambleLines), [ctx.toSource(), sm]);\n\n          if (sm) {\n            // always add a newline at the end, as some tools have bugs without it.\n            lines.push('');\n          }\n\n          ctx.setPreambleLineCount(preambleLines.length);\n          return {\n            sourceText: lines.join('\\n'),\n            context: ctx\n          };\n        }\n      }, {\n        key: \"emitStatements\",\n        value: function emitStatements(genFilePath, stmts) {\n          var preamble = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';\n          return this.emitStatementsAndContext(genFilePath, stmts, preamble).sourceText;\n        }\n      }]);\n\n      return TypeScriptEmitter;\n    }();\n\n    var _TsEmitterVisitor =\n    /*#__PURE__*/\n    function (_AbstractEmitterVisit2) {\n      _inherits(_TsEmitterVisitor, _AbstractEmitterVisit2);\n\n      function _TsEmitterVisitor(referenceFilter, importFilter) {\n        var _this360;\n\n        _classCallCheck(this, _TsEmitterVisitor);\n\n        _this360 = _possibleConstructorReturn(this, _getPrototypeOf(_TsEmitterVisitor).call(this, false));\n        _this360.referenceFilter = referenceFilter;\n        _this360.importFilter = importFilter;\n        _this360.typeExpression = 0;\n        _this360.importsWithPrefixes = new Map();\n        _this360.reexports = new Map();\n        return _this360;\n      }\n\n      _createClass2(_TsEmitterVisitor, [{\n        key: \"visitType\",\n        value: function visitType(t, ctx) {\n          var defaultType = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'any';\n\n          if (t) {\n            this.typeExpression++;\n            t.visitType(this, ctx);\n            this.typeExpression--;\n          } else {\n            ctx.print(null, defaultType);\n          }\n        }\n      }, {\n        key: \"visitLiteralExpr\",\n        value: function visitLiteralExpr(ast, ctx) {\n          var value = ast.value;\n\n          if (value == null && ast.type != INFERRED_TYPE) {\n            ctx.print(ast, \"(\".concat(value, \" as any)\"));\n            return null;\n          }\n\n          return _get(_getPrototypeOf(_TsEmitterVisitor.prototype), \"visitLiteralExpr\", this).call(this, ast, ctx);\n        } // Temporary workaround to support strictNullCheck enabled consumers of ngc emit.\n        // In SNC mode, [] have the type never[], so we cast here to any[].\n        // TODO: narrow the cast to a more explicit type, or use a pattern that does not\n        // start with [].concat. see https://github.com/angular/angular/pull/11846\n\n      }, {\n        key: \"visitLiteralArrayExpr\",\n        value: function visitLiteralArrayExpr(ast, ctx) {\n          if (ast.entries.length === 0) {\n            ctx.print(ast, '(');\n          }\n\n          var result = _get(_getPrototypeOf(_TsEmitterVisitor.prototype), \"visitLiteralArrayExpr\", this).call(this, ast, ctx);\n\n          if (ast.entries.length === 0) {\n            ctx.print(ast, ' as any[])');\n          }\n\n          return result;\n        }\n      }, {\n        key: \"visitExternalExpr\",\n        value: function visitExternalExpr(ast, ctx) {\n          this._visitIdentifier(ast.value, ast.typeParams, ctx);\n\n          return null;\n        }\n      }, {\n        key: \"visitAssertNotNullExpr\",\n        value: function visitAssertNotNullExpr(ast, ctx) {\n          var result = _get(_getPrototypeOf(_TsEmitterVisitor.prototype), \"visitAssertNotNullExpr\", this).call(this, ast, ctx);\n\n          ctx.print(ast, '!');\n          return result;\n        }\n      }, {\n        key: \"visitDeclareVarStmt\",\n        value: function visitDeclareVarStmt(stmt, ctx) {\n          if (stmt.hasModifier(StmtModifier.Exported) && stmt.value instanceof ExternalExpr && !stmt.type) {\n            // check for a reexport\n            var _stmt$value$value = stmt.value.value,\n                name = _stmt$value$value.name,\n                moduleName = _stmt$value$value.moduleName;\n\n            if (moduleName) {\n              var reexports = this.reexports.get(moduleName);\n\n              if (!reexports) {\n                reexports = [];\n                this.reexports.set(moduleName, reexports);\n              }\n\n              reexports.push({\n                name: name,\n                as: stmt.name\n              });\n              return null;\n            }\n          }\n\n          if (stmt.hasModifier(StmtModifier.Exported)) {\n            ctx.print(stmt, \"export \");\n          }\n\n          if (stmt.hasModifier(StmtModifier.Final)) {\n            ctx.print(stmt, \"const\");\n          } else {\n            ctx.print(stmt, \"var\");\n          }\n\n          ctx.print(stmt, \" \".concat(stmt.name));\n\n          this._printColonType(stmt.type, ctx);\n\n          if (stmt.value) {\n            ctx.print(stmt, \" = \");\n            stmt.value.visitExpression(this, ctx);\n          }\n\n          ctx.println(stmt, \";\");\n          return null;\n        }\n      }, {\n        key: \"visitWrappedNodeExpr\",\n        value: function visitWrappedNodeExpr(ast, ctx) {\n          throw new Error('Cannot visit a WrappedNodeExpr when outputting Typescript.');\n        }\n      }, {\n        key: \"visitCastExpr\",\n        value: function visitCastExpr(ast, ctx) {\n          ctx.print(ast, \"(<\");\n          ast.type.visitType(this, ctx);\n          ctx.print(ast, \">\");\n          ast.value.visitExpression(this, ctx);\n          ctx.print(ast, \")\");\n          return null;\n        }\n      }, {\n        key: \"visitInstantiateExpr\",\n        value: function visitInstantiateExpr(ast, ctx) {\n          ctx.print(ast, \"new \");\n          this.typeExpression++;\n          ast.classExpr.visitExpression(this, ctx);\n          this.typeExpression--;\n          ctx.print(ast, \"(\");\n          this.visitAllExpressions(ast.args, ctx, ',');\n          ctx.print(ast, \")\");\n          return null;\n        }\n      }, {\n        key: \"visitDeclareClassStmt\",\n        value: function visitDeclareClassStmt(stmt, ctx) {\n          var _this361 = this;\n\n          ctx.pushClass(stmt);\n\n          if (stmt.hasModifier(StmtModifier.Exported)) {\n            ctx.print(stmt, \"export \");\n          }\n\n          ctx.print(stmt, \"class \".concat(stmt.name));\n\n          if (stmt.parent != null) {\n            ctx.print(stmt, \" extends \");\n            this.typeExpression++;\n            stmt.parent.visitExpression(this, ctx);\n            this.typeExpression--;\n          }\n\n          ctx.println(stmt, \" {\");\n          ctx.incIndent();\n          stmt.fields.forEach(function (field) {\n            return _this361._visitClassField(field, ctx);\n          });\n\n          if (stmt.constructorMethod != null) {\n            this._visitClassConstructor(stmt, ctx);\n          }\n\n          stmt.getters.forEach(function (getter) {\n            return _this361._visitClassGetter(getter, ctx);\n          });\n          stmt.methods.forEach(function (method) {\n            return _this361._visitClassMethod(method, ctx);\n          });\n          ctx.decIndent();\n          ctx.println(stmt, \"}\");\n          ctx.popClass();\n          return null;\n        }\n      }, {\n        key: \"_visitClassField\",\n        value: function _visitClassField(field, ctx) {\n          if (field.hasModifier(StmtModifier.Private)) {\n            // comment out as a workaround for #10967\n            ctx.print(null, \"/*private*/ \");\n          }\n\n          if (field.hasModifier(StmtModifier.Static)) {\n            ctx.print(null, 'static ');\n          }\n\n          ctx.print(null, field.name);\n\n          this._printColonType(field.type, ctx);\n\n          if (field.initializer) {\n            ctx.print(null, ' = ');\n            field.initializer.visitExpression(this, ctx);\n          }\n\n          ctx.println(null, \";\");\n        }\n      }, {\n        key: \"_visitClassGetter\",\n        value: function _visitClassGetter(getter, ctx) {\n          if (getter.hasModifier(StmtModifier.Private)) {\n            ctx.print(null, \"private \");\n          }\n\n          ctx.print(null, \"get \".concat(getter.name, \"()\"));\n\n          this._printColonType(getter.type, ctx);\n\n          ctx.println(null, \" {\");\n          ctx.incIndent();\n          this.visitAllStatements(getter.body, ctx);\n          ctx.decIndent();\n          ctx.println(null, \"}\");\n        }\n      }, {\n        key: \"_visitClassConstructor\",\n        value: function _visitClassConstructor(stmt, ctx) {\n          ctx.print(stmt, \"constructor(\");\n\n          this._visitParams(stmt.constructorMethod.params, ctx);\n\n          ctx.println(stmt, \") {\");\n          ctx.incIndent();\n          this.visitAllStatements(stmt.constructorMethod.body, ctx);\n          ctx.decIndent();\n          ctx.println(stmt, \"}\");\n        }\n      }, {\n        key: \"_visitClassMethod\",\n        value: function _visitClassMethod(method, ctx) {\n          if (method.hasModifier(StmtModifier.Private)) {\n            ctx.print(null, \"private \");\n          }\n\n          ctx.print(null, \"\".concat(method.name, \"(\"));\n\n          this._visitParams(method.params, ctx);\n\n          ctx.print(null, \")\");\n\n          this._printColonType(method.type, ctx, 'void');\n\n          ctx.println(null, \" {\");\n          ctx.incIndent();\n          this.visitAllStatements(method.body, ctx);\n          ctx.decIndent();\n          ctx.println(null, \"}\");\n        }\n      }, {\n        key: \"visitFunctionExpr\",\n        value: function visitFunctionExpr(ast, ctx) {\n          if (ast.name) {\n            ctx.print(ast, 'function ');\n            ctx.print(ast, ast.name);\n          }\n\n          ctx.print(ast, \"(\");\n\n          this._visitParams(ast.params, ctx);\n\n          ctx.print(ast, \")\");\n\n          this._printColonType(ast.type, ctx, 'void');\n\n          if (!ast.name) {\n            ctx.print(ast, \" => \");\n          }\n\n          ctx.println(ast, '{');\n          ctx.incIndent();\n          this.visitAllStatements(ast.statements, ctx);\n          ctx.decIndent();\n          ctx.print(ast, \"}\");\n          return null;\n        }\n      }, {\n        key: \"visitDeclareFunctionStmt\",\n        value: function visitDeclareFunctionStmt(stmt, ctx) {\n          if (stmt.hasModifier(StmtModifier.Exported)) {\n            ctx.print(stmt, \"export \");\n          }\n\n          ctx.print(stmt, \"function \".concat(stmt.name, \"(\"));\n\n          this._visitParams(stmt.params, ctx);\n\n          ctx.print(stmt, \")\");\n\n          this._printColonType(stmt.type, ctx, 'void');\n\n          ctx.println(stmt, \" {\");\n          ctx.incIndent();\n          this.visitAllStatements(stmt.statements, ctx);\n          ctx.decIndent();\n          ctx.println(stmt, \"}\");\n          return null;\n        }\n      }, {\n        key: \"visitTryCatchStmt\",\n        value: function visitTryCatchStmt(stmt, ctx) {\n          ctx.println(stmt, \"try {\");\n          ctx.incIndent();\n          this.visitAllStatements(stmt.bodyStmts, ctx);\n          ctx.decIndent();\n          ctx.println(stmt, \"} catch (\".concat(CATCH_ERROR_VAR$1.name, \") {\"));\n          ctx.incIndent();\n          var catchStmts = [CATCH_STACK_VAR$1.set(CATCH_ERROR_VAR$1.prop('stack', null)).toDeclStmt(null, [StmtModifier.Final])].concat(stmt.catchStmts);\n          this.visitAllStatements(catchStmts, ctx);\n          ctx.decIndent();\n          ctx.println(stmt, \"}\");\n          return null;\n        }\n      }, {\n        key: \"visitBuiltinType\",\n        value: function visitBuiltinType(type, ctx) {\n          var typeStr;\n\n          switch (type.name) {\n            case BuiltinTypeName.Bool:\n              typeStr = 'boolean';\n              break;\n\n            case BuiltinTypeName.Dynamic:\n              typeStr = 'any';\n              break;\n\n            case BuiltinTypeName.Function:\n              typeStr = 'Function';\n              break;\n\n            case BuiltinTypeName.Number:\n              typeStr = 'number';\n              break;\n\n            case BuiltinTypeName.Int:\n              typeStr = 'number';\n              break;\n\n            case BuiltinTypeName.String:\n              typeStr = 'string';\n              break;\n\n            case BuiltinTypeName.None:\n              typeStr = 'never';\n              break;\n\n            default:\n              throw new Error(\"Unsupported builtin type \".concat(type.name));\n          }\n\n          ctx.print(null, typeStr);\n          return null;\n        }\n      }, {\n        key: \"visitExpressionType\",\n        value: function visitExpressionType(ast, ctx) {\n          var _this362 = this;\n\n          ast.value.visitExpression(this, ctx);\n\n          if (ast.typeParams !== null) {\n            ctx.print(null, '<');\n            this.visitAllObjects(function (type) {\n              return _this362.visitType(type, ctx);\n            }, ast.typeParams, ctx, ',');\n            ctx.print(null, '>');\n          }\n\n          return null;\n        }\n      }, {\n        key: \"visitArrayType\",\n        value: function visitArrayType(type, ctx) {\n          this.visitType(type.of, ctx);\n          ctx.print(null, \"[]\");\n          return null;\n        }\n      }, {\n        key: \"visitMapType\",\n        value: function visitMapType(type, ctx) {\n          ctx.print(null, \"{[key: string]:\");\n          this.visitType(type.valueType, ctx);\n          ctx.print(null, \"}\");\n          return null;\n        }\n      }, {\n        key: \"getBuiltinMethodName\",\n        value: function getBuiltinMethodName(method) {\n          var name;\n\n          switch (method) {\n            case BuiltinMethod.ConcatArray:\n              name = 'concat';\n              break;\n\n            case BuiltinMethod.SubscribeObservable:\n              name = 'subscribe';\n              break;\n\n            case BuiltinMethod.Bind:\n              name = 'bind';\n              break;\n\n            default:\n              throw new Error(\"Unknown builtin method: \".concat(method));\n          }\n\n          return name;\n        }\n      }, {\n        key: \"_visitParams\",\n        value: function _visitParams(params, ctx) {\n          var _this363 = this;\n\n          this.visitAllObjects(function (param) {\n            ctx.print(null, param.name);\n\n            _this363._printColonType(param.type, ctx);\n          }, params, ctx, ',');\n        }\n      }, {\n        key: \"_visitIdentifier\",\n        value: function _visitIdentifier(value, typeParams, ctx) {\n          var _this364 = this;\n\n          var name = value.name,\n              moduleName = value.moduleName;\n\n          if (this.referenceFilter && this.referenceFilter(value)) {\n            ctx.print(null, '(null as any)');\n            return;\n          }\n\n          if (moduleName && (!this.importFilter || !this.importFilter(value))) {\n            var prefix = this.importsWithPrefixes.get(moduleName);\n\n            if (prefix == null) {\n              prefix = \"i\".concat(this.importsWithPrefixes.size);\n              this.importsWithPrefixes.set(moduleName, prefix);\n            }\n\n            ctx.print(null, \"\".concat(prefix, \".\"));\n          }\n\n          ctx.print(null, name);\n\n          if (this.typeExpression > 0) {\n            // If we are in a type expression that refers to a generic type then supply\n            // the required type parameters. If there were not enough type parameters\n            // supplied, supply any as the type. Outside a type expression the reference\n            // should not supply type parameters and be treated as a simple value reference\n            // to the constructor function itself.\n            var suppliedParameters = typeParams || [];\n\n            if (suppliedParameters.length > 0) {\n              ctx.print(null, \"<\");\n              this.visitAllObjects(function (type) {\n                return type.visitType(_this364, ctx);\n              }, typeParams, ctx, ',');\n              ctx.print(null, \">\");\n            }\n          }\n        }\n      }, {\n        key: \"_printColonType\",\n        value: function _printColonType(type, ctx, defaultType) {\n          if (type !== INFERRED_TYPE) {\n            ctx.print(null, ':');\n            this.visitType(type, ctx, defaultType);\n          }\n        }\n      }]);\n\n      return _TsEmitterVisitor;\n    }(AbstractEmitterVisitor);\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * Resolve a `Type` for {@link Pipe}.\n     *\n     * This interface can be overridden by the application developer to create custom behavior.\n     *\n     * See {@link Compiler}\n     */\n\n\n    var PipeResolver =\n    /*#__PURE__*/\n    function () {\n      function PipeResolver(_reflector) {\n        _classCallCheck(this, PipeResolver);\n\n        this._reflector = _reflector;\n      }\n\n      _createClass2(PipeResolver, [{\n        key: \"isPipe\",\n        value: function isPipe(type) {\n          var typeMetadata = this._reflector.annotations(resolveForwardRef(type));\n\n          return typeMetadata && typeMetadata.some(createPipe.isTypeOf);\n        }\n        /**\n         * Return {@link Pipe} for a given `Type`.\n         */\n\n      }, {\n        key: \"resolve\",\n        value: function resolve(type) {\n          var throwIfNotFound = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n\n          var metas = this._reflector.annotations(resolveForwardRef(type));\n\n          if (metas) {\n            var annotation = findLast(metas, createPipe.isTypeOf);\n\n            if (annotation) {\n              return annotation;\n            }\n          }\n\n          if (throwIfNotFound) {\n            throw new Error(\"No Pipe decorator found on \".concat(stringify(type)));\n          }\n\n          return null;\n        }\n      }]);\n\n      return PipeResolver;\n    }();\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * Generates code that is used to type check templates.\n     */\n\n\n    var TypeCheckCompiler =\n    /*#__PURE__*/\n    function () {\n      function TypeCheckCompiler(options, reflector) {\n        _classCallCheck(this, TypeCheckCompiler);\n\n        this.options = options;\n        this.reflector = reflector;\n      }\n      /**\n       * Important notes:\n       * - This must not produce new `import` statements, but only refer to types outside\n       *   of the file via the variables provided via externalReferenceVars.\n       *   This allows Typescript to reuse the old program's structure as no imports have changed.\n       * - This must not produce any exports, as this would pollute the .d.ts file\n       *   and also violate the point above.\n       */\n\n\n      _createClass2(TypeCheckCompiler, [{\n        key: \"compileComponent\",\n        value: function compileComponent(componentId, component, template, usedPipes, externalReferenceVars, ctx) {\n          var _this365 = this;\n\n          var pipes = new Map();\n          usedPipes.forEach(function (p) {\n            return pipes.set(p.name, p.type.reference);\n          });\n          var embeddedViewCount = 0;\n\n          var viewBuilderFactory = function viewBuilderFactory(parent, guards) {\n            var embeddedViewIndex = embeddedViewCount++;\n            return new ViewBuilder(_this365.options, _this365.reflector, externalReferenceVars, parent, component.type.reference, component.isHost, embeddedViewIndex, pipes, guards, ctx, viewBuilderFactory);\n          };\n\n          var visitor = viewBuilderFactory(null, []);\n          visitor.visitAll([], template);\n          return visitor.build(componentId);\n        }\n      }]);\n\n      return TypeCheckCompiler;\n    }();\n\n    var DYNAMIC_VAR_NAME = '_any';\n\n    var TypeCheckLocalResolver =\n    /*#__PURE__*/\n    function () {\n      function TypeCheckLocalResolver() {\n        _classCallCheck(this, TypeCheckLocalResolver);\n      }\n\n      _createClass2(TypeCheckLocalResolver, [{\n        key: \"notifyImplicitReceiverUse\",\n        value: function notifyImplicitReceiverUse() {}\n      }, {\n        key: \"getLocal\",\n        value: function getLocal(name) {\n          if (name === EventHandlerVars.event.name) {\n            // References to the event should not be type-checked.\n            // TODO(chuckj): determine a better type for the event.\n            return variable(DYNAMIC_VAR_NAME);\n          }\n\n          return null;\n        }\n      }]);\n\n      return TypeCheckLocalResolver;\n    }();\n\n    var defaultResolver = new TypeCheckLocalResolver();\n\n    var ViewBuilder =\n    /*#__PURE__*/\n    function () {\n      function ViewBuilder(options, reflector, externalReferenceVars, parent, component, isHostComponent, embeddedViewIndex, pipes, guards, ctx, viewBuilderFactory) {\n        _classCallCheck(this, ViewBuilder);\n\n        this.options = options;\n        this.reflector = reflector;\n        this.externalReferenceVars = externalReferenceVars;\n        this.parent = parent;\n        this.component = component;\n        this.isHostComponent = isHostComponent;\n        this.embeddedViewIndex = embeddedViewIndex;\n        this.pipes = pipes;\n        this.guards = guards;\n        this.ctx = ctx;\n        this.viewBuilderFactory = viewBuilderFactory;\n        this.refOutputVars = new Map();\n        this.variables = [];\n        this.children = [];\n        this.updates = [];\n        this.actions = [];\n      }\n\n      _createClass2(ViewBuilder, [{\n        key: \"getOutputVar\",\n        value: function getOutputVar(type) {\n          var varName;\n\n          if (type === this.component && this.isHostComponent) {\n            varName = DYNAMIC_VAR_NAME;\n          } else if (type instanceof StaticSymbol) {\n            varName = this.externalReferenceVars.get(type);\n          } else {\n            varName = DYNAMIC_VAR_NAME;\n          }\n\n          if (!varName) {\n            throw new Error(\"Illegal State: referring to a type without a variable \".concat(JSON.stringify(type)));\n          }\n\n          return varName;\n        }\n      }, {\n        key: \"getTypeGuardExpressions\",\n        value: function getTypeGuardExpressions(ast) {\n          var result = _toConsumableArray(this.guards);\n\n          var _iteratorNormalCompletion23 = true;\n          var _didIteratorError23 = false;\n          var _iteratorError23 = undefined;\n\n          try {\n            for (var _iterator23 = ast.directives[Symbol.iterator](), _step23; !(_iteratorNormalCompletion23 = (_step23 = _iterator23.next()).done); _iteratorNormalCompletion23 = true) {\n              var directive = _step23.value;\n              var _iteratorNormalCompletion24 = true;\n              var _didIteratorError24 = false;\n              var _iteratorError24 = undefined;\n\n              try {\n                for (var _iterator24 = directive.inputs[Symbol.iterator](), _step24; !(_iteratorNormalCompletion24 = (_step24 = _iterator24.next()).done); _iteratorNormalCompletion24 = true) {\n                  var input = _step24.value;\n                  var guard = directive.directive.guards[input.directiveName];\n\n                  if (guard) {\n                    var useIf = guard === 'UseIf';\n                    result.push({\n                      guard: guard,\n                      useIf: useIf,\n                      expression: {\n                        context: this.component,\n                        value: input.value\n                      }\n                    });\n                  }\n                }\n              } catch (err) {\n                _didIteratorError24 = true;\n                _iteratorError24 = err;\n              } finally {\n                try {\n                  if (!_iteratorNormalCompletion24 && _iterator24.return != null) {\n                    _iterator24.return();\n                  }\n                } finally {\n                  if (_didIteratorError24) {\n                    throw _iteratorError24;\n                  }\n                }\n              }\n            }\n          } catch (err) {\n            _didIteratorError23 = true;\n            _iteratorError23 = err;\n          } finally {\n            try {\n              if (!_iteratorNormalCompletion23 && _iterator23.return != null) {\n                _iterator23.return();\n              }\n            } finally {\n              if (_didIteratorError23) {\n                throw _iteratorError23;\n              }\n            }\n          }\n\n          return result;\n        }\n      }, {\n        key: \"visitAll\",\n        value: function visitAll(variables, astNodes) {\n          this.variables = variables;\n          templateVisitAll(this, astNodes);\n        }\n      }, {\n        key: \"build\",\n        value: function build(componentId) {\n          var _this366 = this;\n\n          var targetStatements = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n          this.children.forEach(function (child) {\n            return child.build(componentId, targetStatements);\n          });\n          var viewStmts = [variable(DYNAMIC_VAR_NAME).set(NULL_EXPR).toDeclStmt(DYNAMIC_TYPE)];\n          var bindingCount = 0;\n          this.updates.forEach(function (expression) {\n            var _viewStmts;\n\n            var _this366$preprocessUp = _this366.preprocessUpdateExpression(expression),\n                sourceSpan = _this366$preprocessUp.sourceSpan,\n                context = _this366$preprocessUp.context,\n                value = _this366$preprocessUp.value;\n\n            var bindingId = \"\".concat(bindingCount++);\n            var nameResolver = context === _this366.component ? _this366 : defaultResolver;\n\n            var _convertPropertyBindi = _convertPropertyBinding(nameResolver, variable(_this366.getOutputVar(context)), value, bindingId, BindingForm.General),\n                stmts = _convertPropertyBindi.stmts,\n                currValExpr = _convertPropertyBindi.currValExpr;\n\n            stmts.push(new ExpressionStatement(currValExpr));\n\n            (_viewStmts = viewStmts).push.apply(_viewStmts, _toConsumableArray(stmts.map(function (stmt) {\n              return applySourceSpanToStatementIfNeeded(stmt, sourceSpan);\n            })));\n          });\n          this.actions.forEach(function (_ref53) {\n            var _viewStmts2;\n\n            var sourceSpan = _ref53.sourceSpan,\n                context = _ref53.context,\n                value = _ref53.value;\n            var bindingId = \"\".concat(bindingCount++);\n            var nameResolver = context === _this366.component ? _this366 : defaultResolver;\n\n            var _convertActionBinding = convertActionBinding(nameResolver, variable(_this366.getOutputVar(context)), value, bindingId),\n                stmts = _convertActionBinding.stmts;\n\n            (_viewStmts2 = viewStmts).push.apply(_viewStmts2, _toConsumableArray(stmts.map(function (stmt) {\n              return applySourceSpanToStatementIfNeeded(stmt, sourceSpan);\n            })));\n          });\n\n          if (this.guards.length) {\n            var guardExpression = undefined;\n            var _iteratorNormalCompletion25 = true;\n            var _didIteratorError25 = false;\n            var _iteratorError25 = undefined;\n\n            try {\n              for (var _iterator25 = this.guards[Symbol.iterator](), _step25; !(_iteratorNormalCompletion25 = (_step25 = _iterator25.next()).done); _iteratorNormalCompletion25 = true) {\n                var guard = _step25.value;\n\n                var _this$preprocessUpdat = this.preprocessUpdateExpression(guard.expression),\n                    context = _this$preprocessUpdat.context,\n                    value = _this$preprocessUpdat.value;\n\n                var bindingId = \"\".concat(bindingCount++);\n                var nameResolver = context === this.component ? this : defaultResolver; // We only support support simple expressions and ignore others as they\n                // are unlikely to affect type narrowing.\n\n                var _convertPropertyBindi2 = _convertPropertyBinding(nameResolver, variable(this.getOutputVar(context)), value, bindingId, BindingForm.TrySimple),\n                    stmts = _convertPropertyBindi2.stmts,\n                    currValExpr = _convertPropertyBindi2.currValExpr;\n\n                if (stmts.length == 0) {\n                  var guardClause = guard.useIf ? currValExpr : this.ctx.importExpr(guard.guard).callFn([currValExpr]);\n                  guardExpression = guardExpression ? guardExpression.and(guardClause) : guardClause;\n                }\n              }\n            } catch (err) {\n              _didIteratorError25 = true;\n              _iteratorError25 = err;\n            } finally {\n              try {\n                if (!_iteratorNormalCompletion25 && _iterator25.return != null) {\n                  _iterator25.return();\n                }\n              } finally {\n                if (_didIteratorError25) {\n                  throw _iteratorError25;\n                }\n              }\n            }\n\n            if (guardExpression) {\n              viewStmts = [new IfStmt(guardExpression, viewStmts)];\n            }\n          }\n\n          var viewName = \"_View_\".concat(componentId, \"_\").concat(this.embeddedViewIndex);\n          var viewFactory = new DeclareFunctionStmt(viewName, [], viewStmts);\n          targetStatements.push(viewFactory);\n          return targetStatements;\n        }\n      }, {\n        key: \"visitBoundText\",\n        value: function visitBoundText(ast, context) {\n          var _this367 = this;\n\n          var astWithSource = ast.value;\n          var inter = astWithSource.ast;\n          inter.expressions.forEach(function (expr) {\n            return _this367.updates.push({\n              context: _this367.component,\n              value: expr,\n              sourceSpan: ast.sourceSpan\n            });\n          });\n        }\n      }, {\n        key: \"visitEmbeddedTemplate\",\n        value: function visitEmbeddedTemplate(ast, context) {\n          this.visitElementOrTemplate(ast); // Note: The old view compiler used to use an `any` type\n          // for the context in any embedded view.\n          // We keep this behaivor behind a flag for now.\n\n          if (this.options.fullTemplateTypeCheck) {\n            // Find any applicable type guards. For example, NgIf has a type guard on ngIf\n            // (see NgIf.ngIfTypeGuard) that can be used to indicate that a template is only\n            // stamped out if ngIf is truthy so any bindings in the template can assume that,\n            // if a nullable type is used for ngIf, that expression is not null or undefined.\n            var guards = this.getTypeGuardExpressions(ast);\n            var childVisitor = this.viewBuilderFactory(this, guards);\n            this.children.push(childVisitor);\n            childVisitor.visitAll(ast.variables, ast.children);\n          }\n        }\n      }, {\n        key: \"visitElement\",\n        value: function visitElement(ast, context) {\n          var _this368 = this;\n\n          this.visitElementOrTemplate(ast);\n          var inputDefs = [];\n          var updateRendererExpressions = [];\n          var outputDefs = [];\n          ast.inputs.forEach(function (inputAst) {\n            _this368.updates.push({\n              context: _this368.component,\n              value: inputAst.value,\n              sourceSpan: inputAst.sourceSpan\n            });\n          });\n          templateVisitAll(this, ast.children);\n        }\n      }, {\n        key: \"visitElementOrTemplate\",\n        value: function visitElementOrTemplate(ast) {\n          var _this369 = this;\n\n          ast.directives.forEach(function (dirAst) {\n            _this369.visitDirective(dirAst);\n          });\n          ast.references.forEach(function (ref) {\n            var outputVarType = null; // Note: The old view compiler used to use an `any` type\n            // for directives exposed via `exportAs`.\n            // We keep this behaivor behind a flag for now.\n\n            if (ref.value && ref.value.identifier && _this369.options.fullTemplateTypeCheck) {\n              outputVarType = ref.value.identifier.reference;\n            } else {\n              outputVarType = BuiltinTypeName.Dynamic;\n            }\n\n            _this369.refOutputVars.set(ref.name, outputVarType);\n          });\n          ast.outputs.forEach(function (outputAst) {\n            _this369.actions.push({\n              context: _this369.component,\n              value: outputAst.handler,\n              sourceSpan: outputAst.sourceSpan\n            });\n          });\n        }\n      }, {\n        key: \"visitDirective\",\n        value: function visitDirective(dirAst) {\n          var _this370 = this;\n\n          var dirType = dirAst.directive.type.reference;\n          dirAst.inputs.forEach(function (input) {\n            return _this370.updates.push({\n              context: _this370.component,\n              value: input.value,\n              sourceSpan: input.sourceSpan\n            });\n          }); // Note: The old view compiler used to use an `any` type\n          // for expressions in host properties / events.\n          // We keep this behaivor behind a flag for now.\n\n          if (this.options.fullTemplateTypeCheck) {\n            dirAst.hostProperties.forEach(function (inputAst) {\n              return _this370.updates.push({\n                context: dirType,\n                value: inputAst.value,\n                sourceSpan: inputAst.sourceSpan\n              });\n            });\n            dirAst.hostEvents.forEach(function (hostEventAst) {\n              return _this370.actions.push({\n                context: dirType,\n                value: hostEventAst.handler,\n                sourceSpan: hostEventAst.sourceSpan\n              });\n            });\n          }\n        }\n      }, {\n        key: \"notifyImplicitReceiverUse\",\n        value: function notifyImplicitReceiverUse() {}\n      }, {\n        key: \"getLocal\",\n        value: function getLocal(name) {\n          if (name == EventHandlerVars.event.name) {\n            return variable(this.getOutputVar(BuiltinTypeName.Dynamic));\n          }\n\n          for (var currBuilder = this; currBuilder; currBuilder = currBuilder.parent) {\n            var outputVarType = void 0; // check references\n\n            outputVarType = currBuilder.refOutputVars.get(name);\n\n            if (outputVarType == null) {\n              // check variables\n              var varAst = currBuilder.variables.find(function (varAst) {\n                return varAst.name === name;\n              });\n\n              if (varAst) {\n                outputVarType = BuiltinTypeName.Dynamic;\n              }\n            }\n\n            if (outputVarType != null) {\n              return variable(this.getOutputVar(outputVarType));\n            }\n          }\n\n          return null;\n        }\n      }, {\n        key: \"pipeOutputVar\",\n        value: function pipeOutputVar(name) {\n          var pipe = this.pipes.get(name);\n\n          if (!pipe) {\n            throw new Error(\"Illegal State: Could not find pipe \".concat(name, \" in template of \").concat(this.component));\n          }\n\n          return this.getOutputVar(pipe);\n        }\n      }, {\n        key: \"preprocessUpdateExpression\",\n        value: function preprocessUpdateExpression(expression) {\n          var _this371 = this;\n\n          return {\n            sourceSpan: expression.sourceSpan,\n            context: expression.context,\n            value: convertPropertyBindingBuiltins({\n              createLiteralArrayConverter: function createLiteralArrayConverter(argCount) {\n                return function (args) {\n                  var arr = literalArr(args); // Note: The old view compiler used to use an `any` type\n                  // for arrays.\n\n                  return _this371.options.fullTemplateTypeCheck ? arr : arr.cast(DYNAMIC_TYPE);\n                };\n              },\n              createLiteralMapConverter: function createLiteralMapConverter(keys) {\n                return function (values) {\n                  var entries = keys.map(function (k, i) {\n                    return {\n                      key: k.key,\n                      value: values[i],\n                      quoted: k.quoted\n                    };\n                  });\n                  var map = literalMap(entries); // Note: The old view compiler used to use an `any` type\n                  // for maps.\n\n                  return _this371.options.fullTemplateTypeCheck ? map : map.cast(DYNAMIC_TYPE);\n                };\n              },\n              createPipeConverter: function createPipeConverter(name, argCount) {\n                return function (args) {\n                  // Note: The old view compiler used to use an `any` type\n                  // for pipes.\n                  var pipeExpr = _this371.options.fullTemplateTypeCheck ? variable(_this371.pipeOutputVar(name)) : variable(_this371.getOutputVar(BuiltinTypeName.Dynamic));\n                  return pipeExpr.callMethod('transform', args);\n                };\n              }\n            }, expression.value)\n          };\n        }\n      }, {\n        key: \"visitNgContent\",\n        value: function visitNgContent(ast, context) {}\n      }, {\n        key: \"visitText\",\n        value: function visitText(ast, context) {}\n      }, {\n        key: \"visitDirectiveProperty\",\n        value: function visitDirectiveProperty(ast, context) {}\n      }, {\n        key: \"visitReference\",\n        value: function visitReference(ast, context) {}\n      }, {\n        key: \"visitVariable\",\n        value: function visitVariable(ast, context) {}\n      }, {\n        key: \"visitEvent\",\n        value: function visitEvent(ast, context) {}\n      }, {\n        key: \"visitElementProperty\",\n        value: function visitElementProperty(ast, context) {}\n      }, {\n        key: \"visitAttr\",\n        value: function visitAttr(ast, context) {}\n      }]);\n\n      return ViewBuilder;\n    }();\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var CLASS_ATTR$1 = 'class';\n    var STYLE_ATTR = 'style';\n    var IMPLICIT_TEMPLATE_VAR = '\\$implicit';\n\n    var ViewCompileResult = function ViewCompileResult(viewClassVar, rendererTypeVar) {\n      _classCallCheck(this, ViewCompileResult);\n\n      this.viewClassVar = viewClassVar;\n      this.rendererTypeVar = rendererTypeVar;\n    };\n\n    var ViewCompiler =\n    /*#__PURE__*/\n    function () {\n      function ViewCompiler(_reflector) {\n        _classCallCheck(this, ViewCompiler);\n\n        this._reflector = _reflector;\n      }\n\n      _createClass2(ViewCompiler, [{\n        key: \"compileComponent\",\n        value: function compileComponent(outputCtx, component, template, styles, usedPipes) {\n          var _this372 = this,\n              _outputCtx$statements;\n\n          var embeddedViewCount = 0;\n          var staticQueryIds = findStaticQueryIds(template);\n          var renderComponentVarName = undefined;\n\n          if (!component.isHost) {\n            var _template2 = component.template;\n            var customRenderData = [];\n\n            if (_template2.animations && _template2.animations.length) {\n              customRenderData.push(new LiteralMapEntry('animation', convertValueToOutputAst(outputCtx, _template2.animations), true));\n            }\n\n            var renderComponentVar = variable(rendererTypeName(component.type.reference));\n            renderComponentVarName = renderComponentVar.name;\n            outputCtx.statements.push(renderComponentVar.set(importExpr(Identifiers.createRendererType2).callFn([new LiteralMapExpr([new LiteralMapEntry('encapsulation', literal(_template2.encapsulation), false), new LiteralMapEntry('styles', styles, false), new LiteralMapEntry('data', new LiteralMapExpr(customRenderData), false)])])).toDeclStmt(importType(Identifiers.RendererType2), [StmtModifier.Final, StmtModifier.Exported]));\n          }\n\n          var viewBuilderFactory = function viewBuilderFactory(parent) {\n            var embeddedViewIndex = embeddedViewCount++;\n            return new ViewBuilder$1(_this372._reflector, outputCtx, parent, component, embeddedViewIndex, usedPipes, staticQueryIds, viewBuilderFactory);\n          };\n\n          var visitor = viewBuilderFactory(null);\n          visitor.visitAll([], template);\n\n          (_outputCtx$statements = outputCtx.statements).push.apply(_outputCtx$statements, _toConsumableArray(visitor.build()));\n\n          return new ViewCompileResult(visitor.viewName, renderComponentVarName);\n        }\n      }]);\n\n      return ViewCompiler;\n    }();\n\n    var LOG_VAR$1 = variable('_l');\n    var VIEW_VAR = variable('_v');\n    var CHECK_VAR = variable('_ck');\n    var COMP_VAR = variable('_co');\n    var EVENT_NAME_VAR = variable('en');\n    var ALLOW_DEFAULT_VAR = variable(\"ad\");\n\n    var ViewBuilder$1 =\n    /*#__PURE__*/\n    function () {\n      function ViewBuilder$1(reflector, outputCtx, parent, component, embeddedViewIndex, usedPipes, staticQueryIds, viewBuilderFactory) {\n        _classCallCheck(this, ViewBuilder$1);\n\n        this.reflector = reflector;\n        this.outputCtx = outputCtx;\n        this.parent = parent;\n        this.component = component;\n        this.embeddedViewIndex = embeddedViewIndex;\n        this.usedPipes = usedPipes;\n        this.staticQueryIds = staticQueryIds;\n        this.viewBuilderFactory = viewBuilderFactory;\n        this.nodes = [];\n        this.purePipeNodeIndices = Object.create(null); // Need Object.create so that we don't have builtin values...\n\n        this.refNodeIndices = Object.create(null);\n        this.variables = [];\n        this.children = []; // TODO(tbosch): The old view compiler used to use an `any` type\n        // for the context in any embedded view. We keep this behaivor for now\n        // to be able to introduce the new view compiler without too many errors.\n\n        this.compType = this.embeddedViewIndex > 0 ? DYNAMIC_TYPE : expressionType(outputCtx.importExpr(this.component.type.reference));\n        this.viewName = viewClassName(this.component.type.reference, this.embeddedViewIndex);\n      }\n\n      _createClass2(ViewBuilder$1, [{\n        key: \"visitAll\",\n        value: function visitAll(variables, astNodes) {\n          var _this373 = this;\n\n          this.variables = variables; // create the pipes for the pure pipes immediately, so that we know their indices.\n\n          if (!this.parent) {\n            this.usedPipes.forEach(function (pipe) {\n              if (pipe.pure) {\n                _this373.purePipeNodeIndices[pipe.name] = _this373._createPipe(null, pipe);\n              }\n            });\n          }\n\n          if (!this.parent) {\n            var queryIds = staticViewQueryIds(this.staticQueryIds);\n            this.component.viewQueries.forEach(function (query, queryIndex) {\n              // Note: queries start with id 1 so we can use the number in a Bloom filter!\n              var queryId = queryIndex + 1;\n              var bindingType = query.first ? 0\n              /* First */\n              : 1\n              /* All */\n              ;\n              var flags = 134217728\n              /* TypeViewQuery */\n              | calcStaticDynamicQueryFlags(queryIds, queryId, query);\n\n              _this373.nodes.push(function () {\n                return {\n                  sourceSpan: null,\n                  nodeFlags: flags,\n                  nodeDef: importExpr(Identifiers.queryDef).callFn([literal(flags), literal(queryId), new LiteralMapExpr([new LiteralMapEntry(query.propertyName, literal(bindingType), false)])])\n                };\n              });\n            });\n          }\n\n          templateVisitAll(this, astNodes);\n\n          if (this.parent && (astNodes.length === 0 || needsAdditionalRootNode(astNodes))) {\n            // if the view is an embedded view, then we need to add an additional root node in some cases\n            this.nodes.push(function () {\n              return {\n                sourceSpan: null,\n                nodeFlags: 1\n                /* TypeElement */\n                ,\n                nodeDef: importExpr(Identifiers.anchorDef).callFn([literal(0\n                /* None */\n                ), NULL_EXPR, NULL_EXPR, literal(0)])\n              };\n            });\n          }\n        }\n      }, {\n        key: \"build\",\n        value: function build() {\n          var targetStatements = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n          this.children.forEach(function (child) {\n            return child.build(targetStatements);\n          });\n\n          var _this$_createNodeExpr = this._createNodeExpressions(),\n              updateRendererStmts = _this$_createNodeExpr.updateRendererStmts,\n              updateDirectivesStmts = _this$_createNodeExpr.updateDirectivesStmts,\n              nodeDefExprs = _this$_createNodeExpr.nodeDefExprs;\n\n          var updateRendererFn = this._createUpdateFn(updateRendererStmts);\n\n          var updateDirectivesFn = this._createUpdateFn(updateDirectivesStmts);\n\n          var viewFlags = 0\n          /* None */\n          ;\n\n          if (!this.parent && this.component.changeDetection === ChangeDetectionStrategy.OnPush) {\n            viewFlags |= 2\n            /* OnPush */\n            ;\n          }\n\n          var viewFactory = new DeclareFunctionStmt(this.viewName, [new FnParam(LOG_VAR$1.name)], [new ReturnStatement(importExpr(Identifiers.viewDef).callFn([literal(viewFlags), literalArr(nodeDefExprs), updateDirectivesFn, updateRendererFn]))], importType(Identifiers.ViewDefinition), this.embeddedViewIndex === 0 ? [StmtModifier.Exported] : []);\n          targetStatements.push(viewFactory);\n          return targetStatements;\n        }\n      }, {\n        key: \"_createUpdateFn\",\n        value: function _createUpdateFn(updateStmts) {\n          var updateFn;\n\n          if (updateStmts.length > 0) {\n            var preStmts = [];\n\n            if (!this.component.isHost && findReadVarNames(updateStmts).has(COMP_VAR.name)) {\n              preStmts.push(COMP_VAR.set(VIEW_VAR.prop('component')).toDeclStmt(this.compType));\n            }\n\n            updateFn = fn([new FnParam(CHECK_VAR.name, INFERRED_TYPE), new FnParam(VIEW_VAR.name, INFERRED_TYPE)], [].concat(preStmts, _toConsumableArray(updateStmts)), INFERRED_TYPE);\n          } else {\n            updateFn = NULL_EXPR;\n          }\n\n          return updateFn;\n        }\n      }, {\n        key: \"visitNgContent\",\n        value: function visitNgContent(ast, context) {\n          // ngContentDef(ngContentIndex: number, index: number): NodeDef;\n          this.nodes.push(function () {\n            return {\n              sourceSpan: ast.sourceSpan,\n              nodeFlags: 8\n              /* TypeNgContent */\n              ,\n              nodeDef: importExpr(Identifiers.ngContentDef).callFn([literal(ast.ngContentIndex), literal(ast.index)])\n            };\n          });\n        }\n      }, {\n        key: \"visitText\",\n        value: function visitText(ast, context) {\n          // Static text nodes have no check function\n          var checkIndex = -1;\n          this.nodes.push(function () {\n            return {\n              sourceSpan: ast.sourceSpan,\n              nodeFlags: 2\n              /* TypeText */\n              ,\n              nodeDef: importExpr(Identifiers.textDef).callFn([literal(checkIndex), literal(ast.ngContentIndex), literalArr([literal(ast.value)])])\n            };\n          });\n        }\n      }, {\n        key: \"visitBoundText\",\n        value: function visitBoundText(ast, context) {\n          var _this374 = this;\n\n          var nodeIndex = this.nodes.length; // reserve the space in the nodeDefs array\n\n          this.nodes.push(null);\n          var astWithSource = ast.value;\n          var inter = astWithSource.ast;\n          var updateRendererExpressions = inter.expressions.map(function (expr, bindingIndex) {\n            return _this374._preprocessUpdateExpression({\n              nodeIndex: nodeIndex,\n              bindingIndex: bindingIndex,\n              sourceSpan: ast.sourceSpan,\n              context: COMP_VAR,\n              value: expr\n            });\n          }); // Check index is the same as the node index during compilation\n          // They might only differ at runtime\n\n          var checkIndex = nodeIndex;\n\n          this.nodes[nodeIndex] = function () {\n            return {\n              sourceSpan: ast.sourceSpan,\n              nodeFlags: 2\n              /* TypeText */\n              ,\n              nodeDef: importExpr(Identifiers.textDef).callFn([literal(checkIndex), literal(ast.ngContentIndex), literalArr(inter.strings.map(function (s) {\n                return literal(s);\n              }))]),\n              updateRenderer: updateRendererExpressions\n            };\n          };\n        }\n      }, {\n        key: \"visitEmbeddedTemplate\",\n        value: function visitEmbeddedTemplate(ast, context) {\n          var _this375 = this;\n\n          var nodeIndex = this.nodes.length; // reserve the space in the nodeDefs array\n\n          this.nodes.push(null);\n\n          var _this$_visitElementOr = this._visitElementOrTemplate(nodeIndex, ast),\n              flags = _this$_visitElementOr.flags,\n              queryMatchesExpr = _this$_visitElementOr.queryMatchesExpr,\n              hostEvents = _this$_visitElementOr.hostEvents;\n\n          var childVisitor = this.viewBuilderFactory(this);\n          this.children.push(childVisitor);\n          childVisitor.visitAll(ast.variables, ast.children);\n          var childCount = this.nodes.length - nodeIndex - 1; // anchorDef(\n          //   flags: NodeFlags, matchedQueries: [string, QueryValueType][], ngContentIndex: number,\n          //   childCount: number, handleEventFn?: ElementHandleEventFn, templateFactory?:\n          //   ViewDefinitionFactory): NodeDef;\n\n          this.nodes[nodeIndex] = function () {\n            return {\n              sourceSpan: ast.sourceSpan,\n              nodeFlags: 1\n              /* TypeElement */\n              | flags,\n              nodeDef: importExpr(Identifiers.anchorDef).callFn([literal(flags), queryMatchesExpr, literal(ast.ngContentIndex), literal(childCount), _this375._createElementHandleEventFn(nodeIndex, hostEvents), variable(childVisitor.viewName)])\n            };\n          };\n        }\n      }, {\n        key: \"visitElement\",\n        value: function visitElement(ast, context) {\n          var _this376 = this;\n\n          var nodeIndex = this.nodes.length; // reserve the space in the nodeDefs array so we can add children\n\n          this.nodes.push(null); // Using a null element name creates an anchor.\n\n          var elName = isNgContainer(ast.name) ? null : ast.name;\n\n          var _this$_visitElementOr2 = this._visitElementOrTemplate(nodeIndex, ast),\n              flags = _this$_visitElementOr2.flags,\n              usedEvents = _this$_visitElementOr2.usedEvents,\n              queryMatchesExpr = _this$_visitElementOr2.queryMatchesExpr,\n              dirHostBindings = _this$_visitElementOr2.hostBindings,\n              hostEvents = _this$_visitElementOr2.hostEvents;\n\n          var inputDefs = [];\n          var updateRendererExpressions = [];\n          var outputDefs = [];\n\n          if (elName) {\n            var hostBindings = ast.inputs.map(function (inputAst) {\n              return {\n                context: COMP_VAR,\n                inputAst: inputAst,\n                dirAst: null\n              };\n            }).concat(dirHostBindings);\n\n            if (hostBindings.length) {\n              updateRendererExpressions = hostBindings.map(function (hostBinding, bindingIndex) {\n                return _this376._preprocessUpdateExpression({\n                  context: hostBinding.context,\n                  nodeIndex: nodeIndex,\n                  bindingIndex: bindingIndex,\n                  sourceSpan: hostBinding.inputAst.sourceSpan,\n                  value: hostBinding.inputAst.value\n                });\n              });\n              inputDefs = hostBindings.map(function (hostBinding) {\n                return elementBindingDef(hostBinding.inputAst, hostBinding.dirAst);\n              });\n            }\n\n            outputDefs = usedEvents.map(function (_ref54) {\n              var _ref55 = _slicedToArray(_ref54, 2),\n                  target = _ref55[0],\n                  eventName = _ref55[1];\n\n              return literalArr([literal(target), literal(eventName)]);\n            });\n          }\n\n          templateVisitAll(this, ast.children);\n          var childCount = this.nodes.length - nodeIndex - 1;\n          var compAst = ast.directives.find(function (dirAst) {\n            return dirAst.directive.isComponent;\n          });\n          var compRendererType = NULL_EXPR;\n          var compView = NULL_EXPR;\n\n          if (compAst) {\n            compView = this.outputCtx.importExpr(compAst.directive.componentViewType);\n            compRendererType = this.outputCtx.importExpr(compAst.directive.rendererType);\n          } // Check index is the same as the node index during compilation\n          // They might only differ at runtime\n\n\n          var checkIndex = nodeIndex;\n\n          this.nodes[nodeIndex] = function () {\n            return {\n              sourceSpan: ast.sourceSpan,\n              nodeFlags: 1\n              /* TypeElement */\n              | flags,\n              nodeDef: importExpr(Identifiers.elementDef).callFn([literal(checkIndex), literal(flags), queryMatchesExpr, literal(ast.ngContentIndex), literal(childCount), literal(elName), elName ? fixedAttrsDef(ast) : NULL_EXPR, inputDefs.length ? literalArr(inputDefs) : NULL_EXPR, outputDefs.length ? literalArr(outputDefs) : NULL_EXPR, _this376._createElementHandleEventFn(nodeIndex, hostEvents), compView, compRendererType]),\n              updateRenderer: updateRendererExpressions\n            };\n          };\n        }\n      }, {\n        key: \"_visitElementOrTemplate\",\n        value: function _visitElementOrTemplate(nodeIndex, ast) {\n          var _this377 = this;\n\n          var flags = 0\n          /* None */\n          ;\n\n          if (ast.hasViewContainer) {\n            flags |= 16777216\n            /* EmbeddedViews */\n            ;\n          }\n\n          var usedEvents = new Map();\n          ast.outputs.forEach(function (event) {\n            var _elementEventNameAndT = elementEventNameAndTarget(event, null),\n                name = _elementEventNameAndT.name,\n                target = _elementEventNameAndT.target;\n\n            usedEvents.set(elementEventFullName(target, name), [target, name]);\n          });\n          ast.directives.forEach(function (dirAst) {\n            dirAst.hostEvents.forEach(function (event) {\n              var _elementEventNameAndT2 = elementEventNameAndTarget(event, dirAst),\n                  name = _elementEventNameAndT2.name,\n                  target = _elementEventNameAndT2.target;\n\n              usedEvents.set(elementEventFullName(target, name), [target, name]);\n            });\n          });\n          var hostBindings = [];\n          var hostEvents = [];\n\n          this._visitComponentFactoryResolverProvider(ast.directives);\n\n          ast.providers.forEach(function (providerAst, providerIndex) {\n            var dirAst = undefined;\n            var dirIndex = undefined;\n            ast.directives.forEach(function (localDirAst, i) {\n              if (localDirAst.directive.type.reference === tokenReference(providerAst.token)) {\n                dirAst = localDirAst;\n                dirIndex = i;\n              }\n            });\n\n            if (dirAst) {\n              var _this377$_visitDirect = _this377._visitDirective(providerAst, dirAst, dirIndex, nodeIndex, ast.references, ast.queryMatches, usedEvents, _this377.staticQueryIds.get(ast)),\n                  dirHostBindings = _this377$_visitDirect.hostBindings,\n                  dirHostEvents = _this377$_visitDirect.hostEvents;\n\n              hostBindings.push.apply(hostBindings, _toConsumableArray(dirHostBindings));\n              hostEvents.push.apply(hostEvents, _toConsumableArray(dirHostEvents));\n            } else {\n              _this377._visitProvider(providerAst, ast.queryMatches);\n            }\n          });\n          var queryMatchExprs = [];\n          ast.queryMatches.forEach(function (match) {\n            var valueType = undefined;\n\n            if (tokenReference(match.value) === _this377.reflector.resolveExternalReference(Identifiers.ElementRef)) {\n              valueType = 0\n              /* ElementRef */\n              ;\n            } else if (tokenReference(match.value) === _this377.reflector.resolveExternalReference(Identifiers.ViewContainerRef)) {\n              valueType = 3\n              /* ViewContainerRef */\n              ;\n            } else if (tokenReference(match.value) === _this377.reflector.resolveExternalReference(Identifiers.TemplateRef)) {\n              valueType = 2\n              /* TemplateRef */\n              ;\n            }\n\n            if (valueType != null) {\n              queryMatchExprs.push(literalArr([literal(match.queryId), literal(valueType)]));\n            }\n          });\n          ast.references.forEach(function (ref) {\n            var valueType = undefined;\n\n            if (!ref.value) {\n              valueType = 1\n              /* RenderElement */\n              ;\n            } else if (tokenReference(ref.value) === _this377.reflector.resolveExternalReference(Identifiers.TemplateRef)) {\n              valueType = 2\n              /* TemplateRef */\n              ;\n            }\n\n            if (valueType != null) {\n              _this377.refNodeIndices[ref.name] = nodeIndex;\n              queryMatchExprs.push(literalArr([literal(ref.name), literal(valueType)]));\n            }\n          });\n          ast.outputs.forEach(function (outputAst) {\n            hostEvents.push({\n              context: COMP_VAR,\n              eventAst: outputAst,\n              dirAst: null\n            });\n          });\n          return {\n            flags: flags,\n            usedEvents: Array.from(usedEvents.values()),\n            queryMatchesExpr: queryMatchExprs.length ? literalArr(queryMatchExprs) : NULL_EXPR,\n            hostBindings: hostBindings,\n            hostEvents: hostEvents\n          };\n        }\n      }, {\n        key: \"_visitDirective\",\n        value: function _visitDirective(providerAst, dirAst, directiveIndex, elementNodeIndex, refs, queryMatches, usedEvents, queryIds) {\n          var _this378 = this;\n\n          var nodeIndex = this.nodes.length; // reserve the space in the nodeDefs array so we can add children\n\n          this.nodes.push(null);\n          dirAst.directive.queries.forEach(function (query, queryIndex) {\n            var queryId = dirAst.contentQueryStartId + queryIndex;\n            var flags = 67108864\n            /* TypeContentQuery */\n            | calcStaticDynamicQueryFlags(queryIds, queryId, query);\n            var bindingType = query.first ? 0\n            /* First */\n            : 1\n            /* All */\n            ;\n\n            _this378.nodes.push(function () {\n              return {\n                sourceSpan: dirAst.sourceSpan,\n                nodeFlags: flags,\n                nodeDef: importExpr(Identifiers.queryDef).callFn([literal(flags), literal(queryId), new LiteralMapExpr([new LiteralMapEntry(query.propertyName, literal(bindingType), false)])])\n              };\n            });\n          }); // Note: the operation below might also create new nodeDefs,\n          // but we don't want them to be a child of a directive,\n          // as they might be a provider/pipe on their own.\n          // I.e. we only allow queries as children of directives nodes.\n\n          var childCount = this.nodes.length - nodeIndex - 1;\n\n          var _this$_visitProviderO = this._visitProviderOrDirective(providerAst, queryMatches),\n              flags = _this$_visitProviderO.flags,\n              queryMatchExprs = _this$_visitProviderO.queryMatchExprs,\n              providerExpr = _this$_visitProviderO.providerExpr,\n              depsExpr = _this$_visitProviderO.depsExpr;\n\n          refs.forEach(function (ref) {\n            if (ref.value && tokenReference(ref.value) === tokenReference(providerAst.token)) {\n              _this378.refNodeIndices[ref.name] = nodeIndex;\n              queryMatchExprs.push(literalArr([literal(ref.name), literal(4\n              /* Provider */\n              )]));\n            }\n          });\n\n          if (dirAst.directive.isComponent) {\n            flags |= 32768\n            /* Component */\n            ;\n          }\n\n          var inputDefs = dirAst.inputs.map(function (inputAst, inputIndex) {\n            var mapValue = literalArr([literal(inputIndex), literal(inputAst.directiveName)]); // Note: it's important to not quote the key so that we can capture renames by minifiers!\n\n            return new LiteralMapEntry(inputAst.directiveName, mapValue, false);\n          });\n          var outputDefs = [];\n          var dirMeta = dirAst.directive;\n          Object.keys(dirMeta.outputs).forEach(function (propName) {\n            var eventName = dirMeta.outputs[propName];\n\n            if (usedEvents.has(eventName)) {\n              // Note: it's important to not quote the key so that we can capture renames by minifiers!\n              outputDefs.push(new LiteralMapEntry(propName, literal(eventName), false));\n            }\n          });\n          var updateDirectiveExpressions = [];\n\n          if (dirAst.inputs.length || (flags & (262144\n          /* DoCheck */\n          | 65536\n          /* OnInit */\n          )) > 0) {\n            updateDirectiveExpressions = dirAst.inputs.map(function (input, bindingIndex) {\n              return _this378._preprocessUpdateExpression({\n                nodeIndex: nodeIndex,\n                bindingIndex: bindingIndex,\n                sourceSpan: input.sourceSpan,\n                context: COMP_VAR,\n                value: input.value\n              });\n            });\n          }\n\n          var dirContextExpr = importExpr(Identifiers.nodeValue).callFn([VIEW_VAR, literal(nodeIndex)]);\n          var hostBindings = dirAst.hostProperties.map(function (inputAst) {\n            return {\n              context: dirContextExpr,\n              dirAst: dirAst,\n              inputAst: inputAst\n            };\n          });\n          var hostEvents = dirAst.hostEvents.map(function (hostEventAst) {\n            return {\n              context: dirContextExpr,\n              eventAst: hostEventAst,\n              dirAst: dirAst\n            };\n          }); // Check index is the same as the node index during compilation\n          // They might only differ at runtime\n\n          var checkIndex = nodeIndex;\n\n          this.nodes[nodeIndex] = function () {\n            return {\n              sourceSpan: dirAst.sourceSpan,\n              nodeFlags: 16384\n              /* TypeDirective */\n              | flags,\n              nodeDef: importExpr(Identifiers.directiveDef).callFn([literal(checkIndex), literal(flags), queryMatchExprs.length ? literalArr(queryMatchExprs) : NULL_EXPR, literal(childCount), providerExpr, depsExpr, inputDefs.length ? new LiteralMapExpr(inputDefs) : NULL_EXPR, outputDefs.length ? new LiteralMapExpr(outputDefs) : NULL_EXPR]),\n              updateDirectives: updateDirectiveExpressions,\n              directive: dirAst.directive.type\n            };\n          };\n\n          return {\n            hostBindings: hostBindings,\n            hostEvents: hostEvents\n          };\n        }\n      }, {\n        key: \"_visitProvider\",\n        value: function _visitProvider(providerAst, queryMatches) {\n          this._addProviderNode(this._visitProviderOrDirective(providerAst, queryMatches));\n        }\n      }, {\n        key: \"_visitComponentFactoryResolverProvider\",\n        value: function _visitComponentFactoryResolverProvider(directives) {\n          var componentDirMeta = directives.find(function (dirAst) {\n            return dirAst.directive.isComponent;\n          });\n\n          if (componentDirMeta && componentDirMeta.directive.entryComponents.length) {\n            var _componentFactoryReso = componentFactoryResolverProviderDef(this.reflector, this.outputCtx, 8192\n            /* PrivateProvider */\n            , componentDirMeta.directive.entryComponents),\n                providerExpr = _componentFactoryReso.providerExpr,\n                depsExpr = _componentFactoryReso.depsExpr,\n                flags = _componentFactoryReso.flags,\n                _tokenExpr = _componentFactoryReso.tokenExpr;\n\n            this._addProviderNode({\n              providerExpr: providerExpr,\n              depsExpr: depsExpr,\n              flags: flags,\n              tokenExpr: _tokenExpr,\n              queryMatchExprs: [],\n              sourceSpan: componentDirMeta.sourceSpan\n            });\n          }\n        }\n      }, {\n        key: \"_addProviderNode\",\n        value: function _addProviderNode(data) {\n          var nodeIndex = this.nodes.length; // providerDef(\n          //   flags: NodeFlags, matchedQueries: [string, QueryValueType][], token:any,\n          //   value: any, deps: ([DepFlags, any] | any)[]): NodeDef;\n\n          this.nodes.push(function () {\n            return {\n              sourceSpan: data.sourceSpan,\n              nodeFlags: data.flags,\n              nodeDef: importExpr(Identifiers.providerDef).callFn([literal(data.flags), data.queryMatchExprs.length ? literalArr(data.queryMatchExprs) : NULL_EXPR, data.tokenExpr, data.providerExpr, data.depsExpr])\n            };\n          });\n        }\n      }, {\n        key: \"_visitProviderOrDirective\",\n        value: function _visitProviderOrDirective(providerAst, queryMatches) {\n          var flags = 0\n          /* None */\n          ;\n          var queryMatchExprs = [];\n          queryMatches.forEach(function (match) {\n            if (tokenReference(match.value) === tokenReference(providerAst.token)) {\n              queryMatchExprs.push(literalArr([literal(match.queryId), literal(4\n              /* Provider */\n              )]));\n            }\n          });\n\n          var _providerDef = providerDef(this.outputCtx, providerAst),\n              providerExpr = _providerDef.providerExpr,\n              depsExpr = _providerDef.depsExpr,\n              providerFlags = _providerDef.flags,\n              tokenExpr = _providerDef.tokenExpr;\n\n          return {\n            flags: flags | providerFlags,\n            queryMatchExprs: queryMatchExprs,\n            providerExpr: providerExpr,\n            depsExpr: depsExpr,\n            tokenExpr: tokenExpr,\n            sourceSpan: providerAst.sourceSpan\n          };\n        }\n      }, {\n        key: \"getLocal\",\n        value: function getLocal(name) {\n          if (name == EventHandlerVars.event.name) {\n            return EventHandlerVars.event;\n          }\n\n          var currViewExpr = VIEW_VAR;\n\n          for (var currBuilder = this; currBuilder; currBuilder = currBuilder.parent, currViewExpr = currViewExpr.prop('parent').cast(DYNAMIC_TYPE)) {\n            // check references\n            var refNodeIndex = currBuilder.refNodeIndices[name];\n\n            if (refNodeIndex != null) {\n              return importExpr(Identifiers.nodeValue).callFn([currViewExpr, literal(refNodeIndex)]);\n            } // check variables\n\n\n            var varAst = currBuilder.variables.find(function (varAst) {\n              return varAst.name === name;\n            });\n\n            if (varAst) {\n              var varValue = varAst.value || IMPLICIT_TEMPLATE_VAR;\n              return currViewExpr.prop('context').prop(varValue);\n            }\n          }\n\n          return null;\n        }\n      }, {\n        key: \"notifyImplicitReceiverUse\",\n        value: function notifyImplicitReceiverUse() {// Not needed in View Engine as View Engine walks through the generated\n          // expressions to figure out if the implicit receiver is used and needs\n          // to be generated as part of the pre-update statements.\n        }\n      }, {\n        key: \"_createLiteralArrayConverter\",\n        value: function _createLiteralArrayConverter(sourceSpan, argCount) {\n          if (argCount === 0) {\n            var valueExpr = importExpr(Identifiers.EMPTY_ARRAY);\n            return function () {\n              return valueExpr;\n            };\n          }\n\n          var checkIndex = this.nodes.length;\n          this.nodes.push(function () {\n            return {\n              sourceSpan: sourceSpan,\n              nodeFlags: 32\n              /* TypePureArray */\n              ,\n              nodeDef: importExpr(Identifiers.pureArrayDef).callFn([literal(checkIndex), literal(argCount)])\n            };\n          });\n          return function (args) {\n            return callCheckStmt(checkIndex, args);\n          };\n        }\n      }, {\n        key: \"_createLiteralMapConverter\",\n        value: function _createLiteralMapConverter(sourceSpan, keys) {\n          if (keys.length === 0) {\n            var valueExpr = importExpr(Identifiers.EMPTY_MAP);\n            return function () {\n              return valueExpr;\n            };\n          }\n\n          var map = literalMap(keys.map(function (e, i) {\n            return Object.assign({}, e, {\n              value: literal(i)\n            });\n          }));\n          var checkIndex = this.nodes.length;\n          this.nodes.push(function () {\n            return {\n              sourceSpan: sourceSpan,\n              nodeFlags: 64\n              /* TypePureObject */\n              ,\n              nodeDef: importExpr(Identifiers.pureObjectDef).callFn([literal(checkIndex), map])\n            };\n          });\n          return function (args) {\n            return callCheckStmt(checkIndex, args);\n          };\n        }\n      }, {\n        key: \"_createPipeConverter\",\n        value: function _createPipeConverter(expression, name, argCount) {\n          var pipe = this.usedPipes.find(function (pipeSummary) {\n            return pipeSummary.name === name;\n          });\n\n          if (pipe.pure) {\n            var checkIndex = this.nodes.length;\n            this.nodes.push(function () {\n              return {\n                sourceSpan: expression.sourceSpan,\n                nodeFlags: 128\n                /* TypePurePipe */\n                ,\n                nodeDef: importExpr(Identifiers.purePipeDef).callFn([literal(checkIndex), literal(argCount)])\n              };\n            }); // find underlying pipe in the component view\n\n            var compViewExpr = VIEW_VAR;\n            var compBuilder = this;\n\n            while (compBuilder.parent) {\n              compBuilder = compBuilder.parent;\n              compViewExpr = compViewExpr.prop('parent').cast(DYNAMIC_TYPE);\n            }\n\n            var pipeNodeIndex = compBuilder.purePipeNodeIndices[name];\n            var pipeValueExpr = importExpr(Identifiers.nodeValue).callFn([compViewExpr, literal(pipeNodeIndex)]);\n            return function (args) {\n              return callUnwrapValue(expression.nodeIndex, expression.bindingIndex, callCheckStmt(checkIndex, [pipeValueExpr].concat(args)));\n            };\n          } else {\n            var nodeIndex = this._createPipe(expression.sourceSpan, pipe);\n\n            var nodeValueExpr = importExpr(Identifiers.nodeValue).callFn([VIEW_VAR, literal(nodeIndex)]);\n            return function (args) {\n              return callUnwrapValue(expression.nodeIndex, expression.bindingIndex, nodeValueExpr.callMethod('transform', args));\n            };\n          }\n        }\n      }, {\n        key: \"_createPipe\",\n        value: function _createPipe(sourceSpan, pipe) {\n          var _this379 = this;\n\n          var nodeIndex = this.nodes.length;\n          var flags = 0\n          /* None */\n          ;\n          pipe.type.lifecycleHooks.forEach(function (lifecycleHook) {\n            // for pipes, we only support ngOnDestroy\n            if (lifecycleHook === LifecycleHooks.OnDestroy) {\n              flags |= lifecycleHookToNodeFlag(lifecycleHook);\n            }\n          });\n          var depExprs = pipe.type.diDeps.map(function (diDep) {\n            return depDef(_this379.outputCtx, diDep);\n          }); // function pipeDef(\n          //   flags: NodeFlags, ctor: any, deps: ([DepFlags, any] | any)[]): NodeDef\n\n          this.nodes.push(function () {\n            return {\n              sourceSpan: sourceSpan,\n              nodeFlags: 16\n              /* TypePipe */\n              ,\n              nodeDef: importExpr(Identifiers.pipeDef).callFn([literal(flags), _this379.outputCtx.importExpr(pipe.type.reference), literalArr(depExprs)])\n            };\n          });\n          return nodeIndex;\n        }\n        /**\n         * For the AST in `UpdateExpression.value`:\n         * - create nodes for pipes, literal arrays and, literal maps,\n         * - update the AST to replace pipes, literal arrays and, literal maps with calls to check fn.\n         *\n         * WARNING: This might create new nodeDefs (for pipes and literal arrays and literal maps)!\n         */\n\n      }, {\n        key: \"_preprocessUpdateExpression\",\n        value: function _preprocessUpdateExpression(expression) {\n          var _this380 = this;\n\n          return {\n            nodeIndex: expression.nodeIndex,\n            bindingIndex: expression.bindingIndex,\n            sourceSpan: expression.sourceSpan,\n            context: expression.context,\n            value: convertPropertyBindingBuiltins({\n              createLiteralArrayConverter: function createLiteralArrayConverter(argCount) {\n                return _this380._createLiteralArrayConverter(expression.sourceSpan, argCount);\n              },\n              createLiteralMapConverter: function createLiteralMapConverter(keys) {\n                return _this380._createLiteralMapConverter(expression.sourceSpan, keys);\n              },\n              createPipeConverter: function createPipeConverter(name, argCount) {\n                return _this380._createPipeConverter(expression, name, argCount);\n              }\n            }, expression.value)\n          };\n        }\n      }, {\n        key: \"_createNodeExpressions\",\n        value: function _createNodeExpressions() {\n          var self = this;\n          var updateBindingCount = 0;\n          var updateRendererStmts = [];\n          var updateDirectivesStmts = [];\n          var nodeDefExprs = this.nodes.map(function (factory, nodeIndex) {\n            var _factory = factory(),\n                nodeDef = _factory.nodeDef,\n                nodeFlags = _factory.nodeFlags,\n                updateDirectives = _factory.updateDirectives,\n                updateRenderer = _factory.updateRenderer,\n                sourceSpan = _factory.sourceSpan;\n\n            if (updateRenderer) {\n              updateRendererStmts.push.apply(updateRendererStmts, _toConsumableArray(createUpdateStatements(nodeIndex, sourceSpan, updateRenderer, false)));\n            }\n\n            if (updateDirectives) {\n              updateDirectivesStmts.push.apply(updateDirectivesStmts, _toConsumableArray(createUpdateStatements(nodeIndex, sourceSpan, updateDirectives, (nodeFlags & (262144\n              /* DoCheck */\n              | 65536\n              /* OnInit */\n              )) > 0)));\n            } // We use a comma expression to call the log function before\n            // the nodeDef function, but still use the result of the nodeDef function\n            // as the value.\n            // Note: We only add the logger to elements / text nodes,\n            // so we don't generate too much code.\n\n\n            var logWithNodeDef = nodeFlags & 3\n            /* CatRenderNode */\n            ? new CommaExpr([LOG_VAR$1.callFn([]).callFn([]), nodeDef]) : nodeDef;\n            return applySourceSpanToExpressionIfNeeded(logWithNodeDef, sourceSpan);\n          });\n          return {\n            updateRendererStmts: updateRendererStmts,\n            updateDirectivesStmts: updateDirectivesStmts,\n            nodeDefExprs: nodeDefExprs\n          };\n\n          function createUpdateStatements(nodeIndex, sourceSpan, expressions, allowEmptyExprs) {\n            var updateStmts = [];\n            var exprs = expressions.map(function (_ref56) {\n              var sourceSpan = _ref56.sourceSpan,\n                  context = _ref56.context,\n                  value = _ref56.value;\n              var bindingId = \"\".concat(updateBindingCount++);\n              var nameResolver = context === COMP_VAR ? self : null;\n\n              var _convertPropertyBindi3 = _convertPropertyBinding(nameResolver, context, value, bindingId, BindingForm.General),\n                  stmts = _convertPropertyBindi3.stmts,\n                  currValExpr = _convertPropertyBindi3.currValExpr;\n\n              updateStmts.push.apply(updateStmts, _toConsumableArray(stmts.map(function (stmt) {\n                return applySourceSpanToStatementIfNeeded(stmt, sourceSpan);\n              })));\n              return applySourceSpanToExpressionIfNeeded(currValExpr, sourceSpan);\n            });\n\n            if (expressions.length || allowEmptyExprs) {\n              updateStmts.push(applySourceSpanToStatementIfNeeded(callCheckStmt(nodeIndex, exprs).toStmt(), sourceSpan));\n            }\n\n            return updateStmts;\n          }\n        }\n      }, {\n        key: \"_createElementHandleEventFn\",\n        value: function _createElementHandleEventFn(nodeIndex, handlers) {\n          var _this381 = this;\n\n          var handleEventStmts = [];\n          var handleEventBindingCount = 0;\n          handlers.forEach(function (_ref57) {\n            var context = _ref57.context,\n                eventAst = _ref57.eventAst,\n                dirAst = _ref57.dirAst;\n            var bindingId = \"\".concat(handleEventBindingCount++);\n            var nameResolver = context === COMP_VAR ? _this381 : null;\n\n            var _convertActionBinding2 = convertActionBinding(nameResolver, context, eventAst.handler, bindingId),\n                stmts = _convertActionBinding2.stmts,\n                allowDefault = _convertActionBinding2.allowDefault;\n\n            var trueStmts = stmts;\n\n            if (allowDefault) {\n              trueStmts.push(ALLOW_DEFAULT_VAR.set(allowDefault.and(ALLOW_DEFAULT_VAR)).toStmt());\n            }\n\n            var _elementEventNameAndT3 = elementEventNameAndTarget(eventAst, dirAst),\n                eventTarget = _elementEventNameAndT3.target,\n                eventName = _elementEventNameAndT3.name;\n\n            var fullEventName = elementEventFullName(eventTarget, eventName);\n            handleEventStmts.push(applySourceSpanToStatementIfNeeded(new IfStmt(literal(fullEventName).identical(EVENT_NAME_VAR), trueStmts), eventAst.sourceSpan));\n          });\n          var handleEventFn;\n\n          if (handleEventStmts.length > 0) {\n            var preStmts = [ALLOW_DEFAULT_VAR.set(literal(true)).toDeclStmt(BOOL_TYPE)];\n\n            if (!this.component.isHost && findReadVarNames(handleEventStmts).has(COMP_VAR.name)) {\n              preStmts.push(COMP_VAR.set(VIEW_VAR.prop('component')).toDeclStmt(this.compType));\n            }\n\n            handleEventFn = fn([new FnParam(VIEW_VAR.name, INFERRED_TYPE), new FnParam(EVENT_NAME_VAR.name, INFERRED_TYPE), new FnParam(EventHandlerVars.event.name, INFERRED_TYPE)], [].concat(preStmts, handleEventStmts, [new ReturnStatement(ALLOW_DEFAULT_VAR)]), INFERRED_TYPE);\n          } else {\n            handleEventFn = NULL_EXPR;\n          }\n\n          return handleEventFn;\n        }\n      }, {\n        key: \"visitDirective\",\n        value: function visitDirective(ast, context) {}\n      }, {\n        key: \"visitDirectiveProperty\",\n        value: function visitDirectiveProperty(ast, context) {}\n      }, {\n        key: \"visitReference\",\n        value: function visitReference(ast, context) {}\n      }, {\n        key: \"visitVariable\",\n        value: function visitVariable(ast, context) {}\n      }, {\n        key: \"visitEvent\",\n        value: function visitEvent(ast, context) {}\n      }, {\n        key: \"visitElementProperty\",\n        value: function visitElementProperty(ast, context) {}\n      }, {\n        key: \"visitAttr\",\n        value: function visitAttr(ast, context) {}\n      }]);\n\n      return ViewBuilder$1;\n    }();\n\n    function needsAdditionalRootNode(astNodes) {\n      var lastAstNode = astNodes[astNodes.length - 1];\n\n      if (lastAstNode instanceof EmbeddedTemplateAst) {\n        return lastAstNode.hasViewContainer;\n      }\n\n      if (lastAstNode instanceof ElementAst) {\n        if (isNgContainer(lastAstNode.name) && lastAstNode.children.length) {\n          return needsAdditionalRootNode(lastAstNode.children);\n        }\n\n        return lastAstNode.hasViewContainer;\n      }\n\n      return lastAstNode instanceof NgContentAst;\n    }\n\n    function elementBindingDef(inputAst, dirAst) {\n      var inputType = inputAst.type;\n\n      switch (inputType) {\n        case 1\n        /* Attribute */\n        :\n          return literalArr([literal(1\n          /* TypeElementAttribute */\n          ), literal(inputAst.name), literal(inputAst.securityContext)]);\n\n        case 0\n        /* Property */\n        :\n          return literalArr([literal(8\n          /* TypeProperty */\n          ), literal(inputAst.name), literal(inputAst.securityContext)]);\n\n        case 4\n        /* Animation */\n        :\n          var bindingType = 8\n          /* TypeProperty */\n          | (dirAst && dirAst.directive.isComponent ? 32\n          /* SyntheticHostProperty */\n          : 16\n          /* SyntheticProperty */\n          );\n          return literalArr([literal(bindingType), literal('@' + inputAst.name), literal(inputAst.securityContext)]);\n\n        case 2\n        /* Class */\n        :\n          return literalArr([literal(2\n          /* TypeElementClass */\n          ), literal(inputAst.name), NULL_EXPR]);\n\n        case 3\n        /* Style */\n        :\n          return literalArr([literal(4\n          /* TypeElementStyle */\n          ), literal(inputAst.name), literal(inputAst.unit)]);\n\n        default:\n          // This default case is not needed by TypeScript compiler, as the switch is exhaustive.\n          // However Closure Compiler does not understand that and reports an error in typed mode.\n          // The `throw new Error` below works around the problem, and the unexpected: never variable\n          // makes sure tsc still checks this code is unreachable.\n          var unexpected = inputType;\n          throw new Error(\"unexpected \".concat(unexpected));\n      }\n    }\n\n    function fixedAttrsDef(elementAst) {\n      var mapResult = Object.create(null);\n      elementAst.attrs.forEach(function (attrAst) {\n        mapResult[attrAst.name] = attrAst.value;\n      });\n      elementAst.directives.forEach(function (dirAst) {\n        Object.keys(dirAst.directive.hostAttributes).forEach(function (name) {\n          var value = dirAst.directive.hostAttributes[name];\n          var prevValue = mapResult[name];\n          mapResult[name] = prevValue != null ? mergeAttributeValue(name, prevValue, value) : value;\n        });\n      }); // Note: We need to sort to get a defined output order\n      // for tests and for caching generated artifacts...\n\n      return literalArr(Object.keys(mapResult).sort().map(function (attrName) {\n        return literalArr([literal(attrName), literal(mapResult[attrName])]);\n      }));\n    }\n\n    function mergeAttributeValue(attrName, attrValue1, attrValue2) {\n      if (attrName == CLASS_ATTR$1 || attrName == STYLE_ATTR) {\n        return \"\".concat(attrValue1, \" \").concat(attrValue2);\n      } else {\n        return attrValue2;\n      }\n    }\n\n    function callCheckStmt(nodeIndex, exprs) {\n      if (exprs.length > 10) {\n        return CHECK_VAR.callFn([VIEW_VAR, literal(nodeIndex), literal(1\n        /* Dynamic */\n        ), literalArr(exprs)]);\n      } else {\n        return CHECK_VAR.callFn([VIEW_VAR, literal(nodeIndex), literal(0\n        /* Inline */\n        )].concat(_toConsumableArray(exprs)));\n      }\n    }\n\n    function callUnwrapValue(nodeIndex, bindingIdx, expr) {\n      return importExpr(Identifiers.unwrapValue).callFn([VIEW_VAR, literal(nodeIndex), literal(bindingIdx), expr]);\n    }\n\n    function findStaticQueryIds(nodes) {\n      var result = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : new Map();\n      nodes.forEach(function (node) {\n        var staticQueryIds = new Set();\n        var dynamicQueryIds = new Set();\n        var queryMatches = undefined;\n\n        if (node instanceof ElementAst) {\n          findStaticQueryIds(node.children, result);\n          node.children.forEach(function (child) {\n            var childData = result.get(child);\n            childData.staticQueryIds.forEach(function (queryId) {\n              return staticQueryIds.add(queryId);\n            });\n            childData.dynamicQueryIds.forEach(function (queryId) {\n              return dynamicQueryIds.add(queryId);\n            });\n          });\n          queryMatches = node.queryMatches;\n        } else if (node instanceof EmbeddedTemplateAst) {\n          findStaticQueryIds(node.children, result);\n          node.children.forEach(function (child) {\n            var childData = result.get(child);\n            childData.staticQueryIds.forEach(function (queryId) {\n              return dynamicQueryIds.add(queryId);\n            });\n            childData.dynamicQueryIds.forEach(function (queryId) {\n              return dynamicQueryIds.add(queryId);\n            });\n          });\n          queryMatches = node.queryMatches;\n        }\n\n        if (queryMatches) {\n          queryMatches.forEach(function (match) {\n            return staticQueryIds.add(match.queryId);\n          });\n        }\n\n        dynamicQueryIds.forEach(function (queryId) {\n          return staticQueryIds.delete(queryId);\n        });\n        result.set(node, {\n          staticQueryIds: staticQueryIds,\n          dynamicQueryIds: dynamicQueryIds\n        });\n      });\n      return result;\n    }\n\n    function staticViewQueryIds(nodeStaticQueryIds) {\n      var staticQueryIds = new Set();\n      var dynamicQueryIds = new Set();\n      Array.from(nodeStaticQueryIds.values()).forEach(function (entry) {\n        entry.staticQueryIds.forEach(function (queryId) {\n          return staticQueryIds.add(queryId);\n        });\n        entry.dynamicQueryIds.forEach(function (queryId) {\n          return dynamicQueryIds.add(queryId);\n        });\n      });\n      dynamicQueryIds.forEach(function (queryId) {\n        return staticQueryIds.delete(queryId);\n      });\n      return {\n        staticQueryIds: staticQueryIds,\n        dynamicQueryIds: dynamicQueryIds\n      };\n    }\n\n    function elementEventNameAndTarget(eventAst, dirAst) {\n      if (eventAst.isAnimation) {\n        return {\n          name: \"@\".concat(eventAst.name, \".\").concat(eventAst.phase),\n          target: dirAst && dirAst.directive.isComponent ? 'component' : null\n        };\n      } else {\n        return eventAst;\n      }\n    }\n\n    function calcStaticDynamicQueryFlags(queryIds, queryId, query) {\n      var flags = 0\n      /* None */\n      ; // Note: We only make queries static that query for a single item.\n      // This is because of backwards compatibility with the old view compiler...\n\n      if (query.first && shouldResolveAsStaticQuery(queryIds, queryId, query)) {\n        flags |= 268435456\n        /* StaticQuery */\n        ;\n      } else {\n        flags |= 536870912\n        /* DynamicQuery */\n        ;\n      }\n\n      return flags;\n    }\n\n    function shouldResolveAsStaticQuery(queryIds, queryId, query) {\n      // If query.static has been set by the user, use that value to determine whether\n      // the query is static. If none has been set, sort the query into static/dynamic\n      // based on query results (i.e. dynamic if CD needs to run to get all results).\n      return query.static || query.static == null && (queryIds.staticQueryIds.has(queryId) || !queryIds.dynamicQueryIds.has(queryId));\n    }\n\n    function elementEventFullName(target, name) {\n      return target ? \"\".concat(target, \":\").concat(name) : name;\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * A container for message extracted from the templates.\n     */\n\n\n    var MessageBundle =\n    /*#__PURE__*/\n    function () {\n      function MessageBundle(_htmlParser, _implicitTags, _implicitAttrs) {\n        var _locale = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;\n\n        _classCallCheck(this, MessageBundle);\n\n        this._htmlParser = _htmlParser;\n        this._implicitTags = _implicitTags;\n        this._implicitAttrs = _implicitAttrs;\n        this._locale = _locale;\n        this._messages = [];\n      }\n\n      _createClass2(MessageBundle, [{\n        key: \"updateFromTemplate\",\n        value: function updateFromTemplate(html, url, interpolationConfig) {\n          var _this$_messages;\n\n          var htmlParserResult = this._htmlParser.parse(html, url, {\n            tokenizeExpansionForms: true,\n            interpolationConfig: interpolationConfig\n          });\n\n          if (htmlParserResult.errors.length) {\n            return htmlParserResult.errors;\n          }\n\n          var i18nParserResult = extractMessages(htmlParserResult.rootNodes, interpolationConfig, this._implicitTags, this._implicitAttrs);\n\n          if (i18nParserResult.errors.length) {\n            return i18nParserResult.errors;\n          }\n\n          (_this$_messages = this._messages).push.apply(_this$_messages, _toConsumableArray(i18nParserResult.messages));\n\n          return [];\n        } // Return the message in the internal format\n        // The public (serialized) format might be different, see the `write` method.\n\n      }, {\n        key: \"getMessages\",\n        value: function getMessages() {\n          return this._messages;\n        }\n      }, {\n        key: \"write\",\n        value: function write(serializer, filterSources) {\n          var messages = {};\n          var mapperVisitor = new MapPlaceholderNames(); // Deduplicate messages based on their ID\n\n          this._messages.forEach(function (message) {\n            var id = serializer.digest(message);\n\n            if (!messages.hasOwnProperty(id)) {\n              messages[id] = message;\n            } else {\n              var _messages$id$sources;\n\n              (_messages$id$sources = messages[id].sources).push.apply(_messages$id$sources, _toConsumableArray(message.sources));\n            }\n          }); // Transform placeholder names using the serializer mapping\n\n\n          var msgList = Object.keys(messages).map(function (id) {\n            var mapper = serializer.createNameMapper(messages[id]);\n            var src = messages[id];\n            var nodes = mapper ? mapperVisitor.convert(src.nodes, mapper) : src.nodes;\n            var transformedMessage = new Message(nodes, {}, {}, src.meaning, src.description, id);\n            transformedMessage.sources = src.sources;\n\n            if (filterSources) {\n              transformedMessage.sources.forEach(function (source) {\n                return source.filePath = filterSources(source.filePath);\n              });\n            }\n\n            return transformedMessage;\n          });\n          return serializer.write(msgList, this._locale);\n        }\n      }]);\n\n      return MessageBundle;\n    }(); // Transform an i18n AST by renaming the placeholder nodes with the given mapper\n\n\n    var MapPlaceholderNames =\n    /*#__PURE__*/\n    function (_CloneVisitor) {\n      _inherits(MapPlaceholderNames, _CloneVisitor);\n\n      function MapPlaceholderNames() {\n        _classCallCheck(this, MapPlaceholderNames);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(MapPlaceholderNames).apply(this, arguments));\n      }\n\n      _createClass2(MapPlaceholderNames, [{\n        key: \"convert\",\n        value: function convert(nodes, mapper) {\n          var _this382 = this;\n\n          return mapper ? nodes.map(function (n) {\n            return n.visit(_this382, mapper);\n          }) : nodes;\n        }\n      }, {\n        key: \"visitTagPlaceholder\",\n        value: function visitTagPlaceholder(ph, mapper) {\n          var _this383 = this;\n\n          var startName = mapper.toPublicName(ph.startName);\n          var closeName = ph.closeName ? mapper.toPublicName(ph.closeName) : ph.closeName;\n          var children = ph.children.map(function (n) {\n            return n.visit(_this383, mapper);\n          });\n          return new TagPlaceholder(ph.tag, ph.attrs, startName, closeName, children, ph.isVoid, ph.sourceSpan);\n        }\n      }, {\n        key: \"visitPlaceholder\",\n        value: function visitPlaceholder(ph, mapper) {\n          return new Placeholder(ph.value, mapper.toPublicName(ph.name), ph.sourceSpan);\n        }\n      }, {\n        key: \"visitIcuPlaceholder\",\n        value: function visitIcuPlaceholder(ph, mapper) {\n          return new IcuPlaceholder(ph.value, mapper.toPublicName(ph.name), ph.sourceSpan);\n        }\n      }]);\n\n      return MapPlaceholderNames;\n    }(CloneVisitor);\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var GeneratedFile =\n    /*#__PURE__*/\n    function () {\n      function GeneratedFile(srcFileUrl, genFileUrl, sourceOrStmts) {\n        _classCallCheck(this, GeneratedFile);\n\n        this.srcFileUrl = srcFileUrl;\n        this.genFileUrl = genFileUrl;\n\n        if (typeof sourceOrStmts === 'string') {\n          this.source = sourceOrStmts;\n          this.stmts = null;\n        } else {\n          this.source = null;\n          this.stmts = sourceOrStmts;\n        }\n      }\n\n      _createClass2(GeneratedFile, [{\n        key: \"isEquivalent\",\n        value: function isEquivalent(other) {\n          if (this.genFileUrl !== other.genFileUrl) {\n            return false;\n          }\n\n          if (this.source) {\n            return this.source === other.source;\n          }\n\n          if (other.stmts == null) {\n            return false;\n          } // Note: the constructor guarantees that if this.source is not filled,\n          // then this.stmts is.\n\n\n          return areAllEquivalent(this.stmts, other.stmts);\n        }\n      }]);\n\n      return GeneratedFile;\n    }();\n\n    function toTypeScript(file) {\n      var preamble = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n\n      if (!file.stmts) {\n        throw new Error(\"Illegal state: No stmts present on GeneratedFile \".concat(file.genFileUrl));\n      }\n\n      return new TypeScriptEmitter().emitStatements(file.genFileUrl, file.stmts, preamble);\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    function _listLazyRoutes(moduleMeta, reflector) {\n      var allLazyRoutes = [];\n      var _iteratorNormalCompletion26 = true;\n      var _didIteratorError26 = false;\n      var _iteratorError26 = undefined;\n\n      try {\n        for (var _iterator26 = moduleMeta.transitiveModule.providers[Symbol.iterator](), _step26; !(_iteratorNormalCompletion26 = (_step26 = _iterator26.next()).done); _iteratorNormalCompletion26 = true) {\n          var _step26$value = _step26.value,\n              provider = _step26$value.provider,\n              _module = _step26$value.module;\n\n          if (tokenReference(provider.token) === reflector.ROUTES) {\n            var loadChildren = _collectLoadChildren(provider.useValue);\n\n            var _iteratorNormalCompletion27 = true;\n            var _didIteratorError27 = false;\n            var _iteratorError27 = undefined;\n\n            try {\n              for (var _iterator27 = loadChildren[Symbol.iterator](), _step27; !(_iteratorNormalCompletion27 = (_step27 = _iterator27.next()).done); _iteratorNormalCompletion27 = true) {\n                var route = _step27.value;\n                allLazyRoutes.push(parseLazyRoute(route, reflector, _module.reference));\n              }\n            } catch (err) {\n              _didIteratorError27 = true;\n              _iteratorError27 = err;\n            } finally {\n              try {\n                if (!_iteratorNormalCompletion27 && _iterator27.return != null) {\n                  _iterator27.return();\n                }\n              } finally {\n                if (_didIteratorError27) {\n                  throw _iteratorError27;\n                }\n              }\n            }\n          }\n        }\n      } catch (err) {\n        _didIteratorError26 = true;\n        _iteratorError26 = err;\n      } finally {\n        try {\n          if (!_iteratorNormalCompletion26 && _iterator26.return != null) {\n            _iterator26.return();\n          }\n        } finally {\n          if (_didIteratorError26) {\n            throw _iteratorError26;\n          }\n        }\n      }\n\n      return allLazyRoutes;\n    }\n\n    function _collectLoadChildren(routes) {\n      var target = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n\n      if (typeof routes === 'string') {\n        target.push(routes);\n      } else if (Array.isArray(routes)) {\n        var _iteratorNormalCompletion28 = true;\n        var _didIteratorError28 = false;\n        var _iteratorError28 = undefined;\n\n        try {\n          for (var _iterator28 = routes[Symbol.iterator](), _step28; !(_iteratorNormalCompletion28 = (_step28 = _iterator28.next()).done); _iteratorNormalCompletion28 = true) {\n            var route = _step28.value;\n\n            _collectLoadChildren(route, target);\n          }\n        } catch (err) {\n          _didIteratorError28 = true;\n          _iteratorError28 = err;\n        } finally {\n          try {\n            if (!_iteratorNormalCompletion28 && _iterator28.return != null) {\n              _iterator28.return();\n            }\n          } finally {\n            if (_didIteratorError28) {\n              throw _iteratorError28;\n            }\n          }\n        }\n      } else if (routes.loadChildren) {\n        _collectLoadChildren(routes.loadChildren, target);\n      } else if (routes.children) {\n        _collectLoadChildren(routes.children, target);\n      }\n\n      return target;\n    }\n\n    function parseLazyRoute(route, reflector, module) {\n      var _route$split = route.split('#'),\n          _route$split2 = _slicedToArray(_route$split, 2),\n          routePath = _route$split2[0],\n          routeName = _route$split2[1];\n\n      var referencedModule = reflector.resolveExternalReference({\n        moduleName: routePath,\n        name: routeName\n      }, module ? module.filePath : undefined);\n      return {\n        route: route,\n        module: module || referencedModule,\n        referencedModule: referencedModule\n      };\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var TS = /^(?!.*\\.d\\.ts$).*\\.ts$/;\n\n    var ResolvedStaticSymbol = function ResolvedStaticSymbol(symbol, metadata) {\n      _classCallCheck(this, ResolvedStaticSymbol);\n\n      this.symbol = symbol;\n      this.metadata = metadata;\n    };\n\n    var SUPPORTED_SCHEMA_VERSION = 4;\n    /**\n     * This class is responsible for loading metadata per symbol,\n     * and normalizing references between symbols.\n     *\n     * Internally, it only uses symbols without members,\n     * and deduces the values for symbols with members based\n     * on these symbols.\n     */\n\n    var StaticSymbolResolver =\n    /*#__PURE__*/\n    function () {\n      function StaticSymbolResolver(host, staticSymbolCache, summaryResolver, errorRecorder) {\n        _classCallCheck(this, StaticSymbolResolver);\n\n        this.host = host;\n        this.staticSymbolCache = staticSymbolCache;\n        this.summaryResolver = summaryResolver;\n        this.errorRecorder = errorRecorder;\n        this.metadataCache = new Map(); // Note: this will only contain StaticSymbols without members!\n\n        this.resolvedSymbols = new Map();\n        this.resolvedFilePaths = new Set(); // Note: this will only contain StaticSymbols without members!\n\n        this.importAs = new Map();\n        this.symbolResourcePaths = new Map();\n        this.symbolFromFile = new Map();\n        this.knownFileNameToModuleNames = new Map();\n      }\n\n      _createClass2(StaticSymbolResolver, [{\n        key: \"resolveSymbol\",\n        value: function resolveSymbol(staticSymbol) {\n          if (staticSymbol.members.length > 0) {\n            return this._resolveSymbolMembers(staticSymbol);\n          } // Note: always ask for a summary first,\n          // as we might have read shallow metadata via a .d.ts file\n          // for the symbol.\n\n\n          var resultFromSummary = this._resolveSymbolFromSummary(staticSymbol);\n\n          if (resultFromSummary) {\n            return resultFromSummary;\n          }\n\n          var resultFromCache = this.resolvedSymbols.get(staticSymbol);\n\n          if (resultFromCache) {\n            return resultFromCache;\n          } // Note: Some users use libraries that were not compiled with ngc, i.e. they don't\n          // have summaries, only .d.ts files. So we always need to check both, the summary\n          // and metadata.\n\n\n          this._createSymbolsOf(staticSymbol.filePath);\n\n          return this.resolvedSymbols.get(staticSymbol);\n        }\n        /**\n         * getImportAs produces a symbol that can be used to import the given symbol.\n         * The import might be different than the symbol if the symbol is exported from\n         * a library with a summary; in which case we want to import the symbol from the\n         * ngfactory re-export instead of directly to avoid introducing a direct dependency\n         * on an otherwise indirect dependency.\n         *\n         * @param staticSymbol the symbol for which to generate a import symbol\n         */\n\n      }, {\n        key: \"getImportAs\",\n        value: function getImportAs(staticSymbol) {\n          var useSummaries = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n\n          if (staticSymbol.members.length) {\n            var baseSymbol = this.getStaticSymbol(staticSymbol.filePath, staticSymbol.name);\n            var baseImportAs = this.getImportAs(baseSymbol, useSummaries);\n            return baseImportAs ? this.getStaticSymbol(baseImportAs.filePath, baseImportAs.name, staticSymbol.members) : null;\n          }\n\n          var summarizedFileName = stripSummaryForJitFileSuffix(staticSymbol.filePath);\n\n          if (summarizedFileName !== staticSymbol.filePath) {\n            var summarizedName = stripSummaryForJitNameSuffix(staticSymbol.name);\n\n            var _baseSymbol = this.getStaticSymbol(summarizedFileName, summarizedName, staticSymbol.members);\n\n            var _baseImportAs = this.getImportAs(_baseSymbol, useSummaries);\n\n            return _baseImportAs ? this.getStaticSymbol(summaryForJitFileName(_baseImportAs.filePath), summaryForJitName(_baseImportAs.name), _baseSymbol.members) : null;\n          }\n\n          var result = useSummaries && this.summaryResolver.getImportAs(staticSymbol) || null;\n\n          if (!result) {\n            result = this.importAs.get(staticSymbol);\n          }\n\n          return result;\n        }\n        /**\n         * getResourcePath produces the path to the original location of the symbol and should\n         * be used to determine the relative location of resource references recorded in\n         * symbol metadata.\n         */\n\n      }, {\n        key: \"getResourcePath\",\n        value: function getResourcePath(staticSymbol) {\n          return this.symbolResourcePaths.get(staticSymbol) || staticSymbol.filePath;\n        }\n        /**\n         * getTypeArity returns the number of generic type parameters the given symbol\n         * has. If the symbol is not a type the result is null.\n         */\n\n      }, {\n        key: \"getTypeArity\",\n        value: function getTypeArity(staticSymbol) {\n          // If the file is a factory/ngsummary file, don't resolve the symbol as doing so would\n          // cause the metadata for an factory/ngsummary file to be loaded which doesn't exist.\n          // All references to generated classes must include the correct arity whenever\n          // generating code.\n          if (isGeneratedFile(staticSymbol.filePath)) {\n            return null;\n          }\n\n          var resolvedSymbol = unwrapResolvedMetadata(this.resolveSymbol(staticSymbol));\n\n          while (resolvedSymbol && resolvedSymbol.metadata instanceof StaticSymbol) {\n            resolvedSymbol = unwrapResolvedMetadata(this.resolveSymbol(resolvedSymbol.metadata));\n          }\n\n          return resolvedSymbol && resolvedSymbol.metadata && resolvedSymbol.metadata.arity || null;\n        }\n      }, {\n        key: \"getKnownModuleName\",\n        value: function getKnownModuleName(filePath) {\n          return this.knownFileNameToModuleNames.get(filePath) || null;\n        }\n      }, {\n        key: \"recordImportAs\",\n        value: function recordImportAs(sourceSymbol, targetSymbol) {\n          sourceSymbol.assertNoMembers();\n          targetSymbol.assertNoMembers();\n          this.importAs.set(sourceSymbol, targetSymbol);\n        }\n      }, {\n        key: \"recordModuleNameForFileName\",\n        value: function recordModuleNameForFileName(fileName, moduleName) {\n          this.knownFileNameToModuleNames.set(fileName, moduleName);\n        }\n        /**\n         * Invalidate all information derived from the given file.\n         *\n         * @param fileName the file to invalidate\n         */\n\n      }, {\n        key: \"invalidateFile\",\n        value: function invalidateFile(fileName) {\n          this.metadataCache.delete(fileName);\n          this.resolvedFilePaths.delete(fileName);\n          var symbols = this.symbolFromFile.get(fileName);\n\n          if (symbols) {\n            this.symbolFromFile.delete(fileName);\n            var _iteratorNormalCompletion29 = true;\n            var _didIteratorError29 = false;\n            var _iteratorError29 = undefined;\n\n            try {\n              for (var _iterator29 = symbols[Symbol.iterator](), _step29; !(_iteratorNormalCompletion29 = (_step29 = _iterator29.next()).done); _iteratorNormalCompletion29 = true) {\n                var symbol = _step29.value;\n                this.resolvedSymbols.delete(symbol);\n                this.importAs.delete(symbol);\n                this.symbolResourcePaths.delete(symbol);\n              }\n            } catch (err) {\n              _didIteratorError29 = true;\n              _iteratorError29 = err;\n            } finally {\n              try {\n                if (!_iteratorNormalCompletion29 && _iterator29.return != null) {\n                  _iterator29.return();\n                }\n              } finally {\n                if (_didIteratorError29) {\n                  throw _iteratorError29;\n                }\n              }\n            }\n          }\n        }\n        /** @internal */\n\n      }, {\n        key: \"ignoreErrorsFor\",\n        value: function ignoreErrorsFor(cb) {\n          var recorder = this.errorRecorder;\n\n          this.errorRecorder = function () {};\n\n          try {\n            return cb();\n          } finally {\n            this.errorRecorder = recorder;\n          }\n        }\n      }, {\n        key: \"_resolveSymbolMembers\",\n        value: function _resolveSymbolMembers(staticSymbol) {\n          var members = staticSymbol.members;\n          var baseResolvedSymbol = this.resolveSymbol(this.getStaticSymbol(staticSymbol.filePath, staticSymbol.name));\n\n          if (!baseResolvedSymbol) {\n            return null;\n          }\n\n          var baseMetadata = unwrapResolvedMetadata(baseResolvedSymbol.metadata);\n\n          if (baseMetadata instanceof StaticSymbol) {\n            return new ResolvedStaticSymbol(staticSymbol, this.getStaticSymbol(baseMetadata.filePath, baseMetadata.name, members));\n          } else if (baseMetadata && baseMetadata.__symbolic === 'class') {\n            if (baseMetadata.statics && members.length === 1) {\n              return new ResolvedStaticSymbol(staticSymbol, baseMetadata.statics[members[0]]);\n            }\n          } else {\n            var value = baseMetadata;\n\n            for (var i = 0; i < members.length && value; i++) {\n              value = value[members[i]];\n            }\n\n            return new ResolvedStaticSymbol(staticSymbol, value);\n          }\n\n          return null;\n        }\n      }, {\n        key: \"_resolveSymbolFromSummary\",\n        value: function _resolveSymbolFromSummary(staticSymbol) {\n          var summary = this.summaryResolver.resolveSummary(staticSymbol);\n          return summary ? new ResolvedStaticSymbol(staticSymbol, summary.metadata) : null;\n        }\n        /**\n         * getStaticSymbol produces a Type whose metadata is known but whose implementation is not loaded.\n         * All types passed to the StaticResolver should be pseudo-types returned by this method.\n         *\n         * @param declarationFile the absolute path of the file where the symbol is declared\n         * @param name the name of the type.\n         * @param members a symbol for a static member of the named type\n         */\n\n      }, {\n        key: \"getStaticSymbol\",\n        value: function getStaticSymbol(declarationFile, name, members) {\n          return this.staticSymbolCache.get(declarationFile, name, members);\n        }\n        /**\n         * hasDecorators checks a file's metadata for the presence of decorators without evaluating the\n         * metadata.\n         *\n         * @param filePath the absolute path to examine for decorators.\n         * @returns true if any class in the file has a decorator.\n         */\n\n      }, {\n        key: \"hasDecorators\",\n        value: function hasDecorators(filePath) {\n          var metadata = this.getModuleMetadata(filePath);\n\n          if (metadata['metadata']) {\n            return Object.keys(metadata['metadata']).some(function (metadataKey) {\n              var entry = metadata['metadata'][metadataKey];\n              return entry && entry.__symbolic === 'class' && entry.decorators;\n            });\n          }\n\n          return false;\n        }\n      }, {\n        key: \"getSymbolsOf\",\n        value: function getSymbolsOf(filePath) {\n          var summarySymbols = this.summaryResolver.getSymbolsOf(filePath);\n\n          if (summarySymbols) {\n            return summarySymbols;\n          } // Note: Some users use libraries that were not compiled with ngc, i.e. they don't\n          // have summaries, only .d.ts files, but `summaryResolver.isLibraryFile` returns true.\n\n\n          this._createSymbolsOf(filePath);\n\n          var metadataSymbols = [];\n          this.resolvedSymbols.forEach(function (resolvedSymbol) {\n            if (resolvedSymbol.symbol.filePath === filePath) {\n              metadataSymbols.push(resolvedSymbol.symbol);\n            }\n          });\n          return metadataSymbols;\n        }\n      }, {\n        key: \"_createSymbolsOf\",\n        value: function _createSymbolsOf(filePath) {\n          var _this384 = this;\n\n          if (this.resolvedFilePaths.has(filePath)) {\n            return;\n          }\n\n          this.resolvedFilePaths.add(filePath);\n          var resolvedSymbols = [];\n          var metadata = this.getModuleMetadata(filePath);\n\n          if (metadata['importAs']) {\n            // Index bundle indices should use the importAs module name defined\n            // in the bundle.\n            this.knownFileNameToModuleNames.set(filePath, metadata['importAs']);\n          } // handle the symbols in one of the re-export location\n\n\n          if (metadata['exports']) {\n            var _iteratorNormalCompletion30 = true;\n            var _didIteratorError30 = false;\n            var _iteratorError30 = undefined;\n\n            try {\n              var _loop5 = function _loop5() {\n                var moduleExport = _step30.value;\n\n                // handle the symbols in the list of explicitly re-exported symbols.\n                if (moduleExport.export) {\n                  moduleExport.export.forEach(function (exportSymbol) {\n                    var symbolName;\n\n                    if (typeof exportSymbol === 'string') {\n                      symbolName = exportSymbol;\n                    } else {\n                      symbolName = exportSymbol.as;\n                    }\n\n                    symbolName = unescapeIdentifier(symbolName);\n                    var symName = symbolName;\n\n                    if (typeof exportSymbol !== 'string') {\n                      symName = unescapeIdentifier(exportSymbol.name);\n                    }\n\n                    var resolvedModule = _this384.resolveModule(moduleExport.from, filePath);\n\n                    if (resolvedModule) {\n                      var targetSymbol = _this384.getStaticSymbol(resolvedModule, symName);\n\n                      var sourceSymbol = _this384.getStaticSymbol(filePath, symbolName);\n\n                      resolvedSymbols.push(_this384.createExport(sourceSymbol, targetSymbol));\n                    }\n                  });\n                } else {\n                  // handle the symbols via export * directives.\n                  var resolvedModule = _this384.resolveModule(moduleExport.from, filePath);\n\n                  if (resolvedModule) {\n                    var nestedExports = _this384.getSymbolsOf(resolvedModule);\n\n                    nestedExports.forEach(function (targetSymbol) {\n                      var sourceSymbol = _this384.getStaticSymbol(filePath, targetSymbol.name);\n\n                      resolvedSymbols.push(_this384.createExport(sourceSymbol, targetSymbol));\n                    });\n                  }\n                }\n              };\n\n              for (var _iterator30 = metadata['exports'][Symbol.iterator](), _step30; !(_iteratorNormalCompletion30 = (_step30 = _iterator30.next()).done); _iteratorNormalCompletion30 = true) {\n                _loop5();\n              }\n            } catch (err) {\n              _didIteratorError30 = true;\n              _iteratorError30 = err;\n            } finally {\n              try {\n                if (!_iteratorNormalCompletion30 && _iterator30.return != null) {\n                  _iterator30.return();\n                }\n              } finally {\n                if (_didIteratorError30) {\n                  throw _iteratorError30;\n                }\n              }\n            }\n          } // handle the actual metadata. Has to be after the exports\n          // as there might be collisions in the names, and we want the symbols\n          // of the current module to win ofter reexports.\n\n\n          if (metadata['metadata']) {\n            // handle direct declarations of the symbol\n            var topLevelSymbolNames = new Set(Object.keys(metadata['metadata']).map(unescapeIdentifier));\n            var origins = metadata['origins'] || {};\n            Object.keys(metadata['metadata']).forEach(function (metadataKey) {\n              var symbolMeta = metadata['metadata'][metadataKey];\n              var name = unescapeIdentifier(metadataKey);\n\n              var symbol = _this384.getStaticSymbol(filePath, name);\n\n              var origin = origins.hasOwnProperty(metadataKey) && origins[metadataKey];\n\n              if (origin) {\n                // If the symbol is from a bundled index, use the declaration location of the\n                // symbol so relative references (such as './my.html') will be calculated\n                // correctly.\n                var originFilePath = _this384.resolveModule(origin, filePath);\n\n                if (!originFilePath) {\n                  _this384.reportError(new Error(\"Couldn't resolve original symbol for \".concat(origin, \" from \").concat(_this384.host.getOutputName(filePath))));\n                } else {\n                  _this384.symbolResourcePaths.set(symbol, originFilePath);\n                }\n              }\n\n              resolvedSymbols.push(_this384.createResolvedSymbol(symbol, filePath, topLevelSymbolNames, symbolMeta));\n            });\n          }\n\n          resolvedSymbols.forEach(function (resolvedSymbol) {\n            return _this384.resolvedSymbols.set(resolvedSymbol.symbol, resolvedSymbol);\n          });\n          this.symbolFromFile.set(filePath, resolvedSymbols.map(function (resolvedSymbol) {\n            return resolvedSymbol.symbol;\n          }));\n        }\n      }, {\n        key: \"createResolvedSymbol\",\n        value: function createResolvedSymbol(sourceSymbol, topLevelPath, topLevelSymbolNames, metadata) {\n          var _this385 = this;\n\n          // For classes that don't have Angular summaries / metadata,\n          // we only keep their arity, but nothing else\n          // (e.g. their constructor parameters).\n          // We do this to prevent introducing deep imports\n          // as we didn't generate .ngfactory.ts files with proper reexports.\n          var isTsFile = TS.test(sourceSymbol.filePath);\n\n          if (this.summaryResolver.isLibraryFile(sourceSymbol.filePath) && !isTsFile && metadata && metadata['__symbolic'] === 'class') {\n            var _transformedMeta = {\n              __symbolic: 'class',\n              arity: metadata.arity\n            };\n            return new ResolvedStaticSymbol(sourceSymbol, _transformedMeta);\n          }\n\n          var _originalFileMemo;\n\n          var getOriginalName = function getOriginalName() {\n            if (!_originalFileMemo) {\n              // Guess what the original file name is from the reference. If it has a `.d.ts` extension\n              // replace it with `.ts`. If it already has `.ts` just leave it in place. If it doesn't have\n              // .ts or .d.ts, append `.ts'. Also, if it is in `node_modules`, trim the `node_module`\n              // location as it is not important to finding the file.\n              _originalFileMemo = _this385.host.getOutputName(topLevelPath.replace(/((\\.ts)|(\\.d\\.ts)|)$/, '.ts').replace(/^.*node_modules[/\\\\]/, ''));\n            }\n\n            return _originalFileMemo;\n          };\n\n          var self = this;\n\n          var ReferenceTransformer =\n          /*#__PURE__*/\n          function (_ValueTransformer2) {\n            _inherits(ReferenceTransformer, _ValueTransformer2);\n\n            function ReferenceTransformer() {\n              _classCallCheck(this, ReferenceTransformer);\n\n              return _possibleConstructorReturn(this, _getPrototypeOf(ReferenceTransformer).apply(this, arguments));\n            }\n\n            _createClass2(ReferenceTransformer, [{\n              key: \"visitStringMap\",\n              value: function visitStringMap(map, functionParams) {\n                var symbolic = map['__symbolic'];\n\n                if (symbolic === 'function') {\n                  var oldLen = functionParams.length;\n                  functionParams.push.apply(functionParams, _toConsumableArray(map['parameters'] || []));\n\n                  var result = _get(_getPrototypeOf(ReferenceTransformer.prototype), \"visitStringMap\", this).call(this, map, functionParams);\n\n                  functionParams.length = oldLen;\n                  return result;\n                } else if (symbolic === 'reference') {\n                  var _module2 = map['module'];\n                  var name = map['name'] ? unescapeIdentifier(map['name']) : map['name'];\n\n                  if (!name) {\n                    return null;\n                  }\n\n                  var filePath;\n\n                  if (_module2) {\n                    filePath = self.resolveModule(_module2, sourceSymbol.filePath);\n\n                    if (!filePath) {\n                      return {\n                        __symbolic: 'error',\n                        message: \"Could not resolve \".concat(_module2, \" relative to \").concat(self.host.getMetadataFor(sourceSymbol.filePath), \".\"),\n                        line: map['line'],\n                        character: map['character'],\n                        fileName: getOriginalName()\n                      };\n                    }\n\n                    return {\n                      __symbolic: 'resolved',\n                      symbol: self.getStaticSymbol(filePath, name),\n                      line: map['line'],\n                      character: map['character'],\n                      fileName: getOriginalName()\n                    };\n                  } else if (functionParams.indexOf(name) >= 0) {\n                    // reference to a function parameter\n                    return {\n                      __symbolic: 'reference',\n                      name: name\n                    };\n                  } else {\n                    if (topLevelSymbolNames.has(name)) {\n                      return self.getStaticSymbol(topLevelPath, name);\n                    } // ambient value\n\n\n                    null;\n                  }\n                } else if (symbolic === 'error') {\n                  return Object.assign({}, map, {\n                    fileName: getOriginalName()\n                  });\n                } else {\n                  return _get(_getPrototypeOf(ReferenceTransformer.prototype), \"visitStringMap\", this).call(this, map, functionParams);\n                }\n              }\n            }]);\n\n            return ReferenceTransformer;\n          }(ValueTransformer);\n\n          var transformedMeta = visitValue(metadata, new ReferenceTransformer(), []);\n          var unwrappedTransformedMeta = unwrapResolvedMetadata(transformedMeta);\n\n          if (unwrappedTransformedMeta instanceof StaticSymbol) {\n            return this.createExport(sourceSymbol, unwrappedTransformedMeta);\n          }\n\n          return new ResolvedStaticSymbol(sourceSymbol, transformedMeta);\n        }\n      }, {\n        key: \"createExport\",\n        value: function createExport(sourceSymbol, targetSymbol) {\n          sourceSymbol.assertNoMembers();\n          targetSymbol.assertNoMembers();\n\n          if (this.summaryResolver.isLibraryFile(sourceSymbol.filePath) && this.summaryResolver.isLibraryFile(targetSymbol.filePath)) {\n            // This case is for an ng library importing symbols from a plain ts library\n            // transitively.\n            // Note: We rely on the fact that we discover symbols in the direction\n            // from source files to library files\n            this.importAs.set(targetSymbol, this.getImportAs(sourceSymbol) || sourceSymbol);\n          }\n\n          return new ResolvedStaticSymbol(sourceSymbol, targetSymbol);\n        }\n      }, {\n        key: \"reportError\",\n        value: function reportError(error, context, path) {\n          if (this.errorRecorder) {\n            this.errorRecorder(error, context && context.filePath || path);\n          } else {\n            throw error;\n          }\n        }\n        /**\n         * @param module an absolute path to a module file.\n         */\n\n      }, {\n        key: \"getModuleMetadata\",\n        value: function getModuleMetadata(module) {\n          var moduleMetadata = this.metadataCache.get(module);\n\n          if (!moduleMetadata) {\n            var moduleMetadatas = this.host.getMetadataFor(module);\n\n            if (moduleMetadatas) {\n              var maxVersion = -1;\n              moduleMetadatas.forEach(function (md) {\n                if (md && md['version'] > maxVersion) {\n                  maxVersion = md['version'];\n                  moduleMetadata = md;\n                }\n              });\n            }\n\n            if (!moduleMetadata) {\n              moduleMetadata = {\n                __symbolic: 'module',\n                version: SUPPORTED_SCHEMA_VERSION,\n                module: module,\n                metadata: {}\n              };\n            }\n\n            if (moduleMetadata['version'] != SUPPORTED_SCHEMA_VERSION) {\n              var errorMessage = moduleMetadata['version'] == 2 ? \"Unsupported metadata version \".concat(moduleMetadata['version'], \" for module \").concat(module, \". This module should be compiled with a newer version of ngc\") : \"Metadata version mismatch for module \".concat(this.host.getOutputName(module), \", found version \").concat(moduleMetadata['version'], \", expected \").concat(SUPPORTED_SCHEMA_VERSION);\n              this.reportError(new Error(errorMessage));\n            }\n\n            this.metadataCache.set(module, moduleMetadata);\n          }\n\n          return moduleMetadata;\n        }\n      }, {\n        key: \"getSymbolByModule\",\n        value: function getSymbolByModule(module, symbolName, containingFile) {\n          var filePath = this.resolveModule(module, containingFile);\n\n          if (!filePath) {\n            this.reportError(new Error(\"Could not resolve module \".concat(module).concat(containingFile ? ' relative to ' + this.host.getOutputName(containingFile) : '')));\n            return this.getStaticSymbol(\"ERROR:\".concat(module), symbolName);\n          }\n\n          return this.getStaticSymbol(filePath, symbolName);\n        }\n      }, {\n        key: \"resolveModule\",\n        value: function resolveModule(module, containingFile) {\n          try {\n            return this.host.moduleNameToFileName(module, containingFile);\n          } catch (e) {\n            console.error(\"Could not resolve module '\".concat(module, \"' relative to file \").concat(containingFile));\n            this.reportError(e, undefined, containingFile);\n          }\n\n          return null;\n        }\n      }]);\n\n      return StaticSymbolResolver;\n    }(); // Remove extra underscore from escaped identifier.\n    // See https://github.com/Microsoft/TypeScript/blob/master/src/compiler/utilities.ts\n\n\n    function unescapeIdentifier(identifier) {\n      return identifier.startsWith('___') ? identifier.substr(1) : identifier;\n    }\n\n    function unwrapResolvedMetadata(metadata) {\n      if (metadata && metadata.__symbolic === 'resolved') {\n        return metadata.symbol;\n      }\n\n      return metadata;\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    function serializeSummaries(srcFileName, forJitCtx, summaryResolver, symbolResolver, symbols, types) {\n      var createExternalSymbolReexports = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : false;\n      var toJsonSerializer = new ToJsonSerializer(symbolResolver, summaryResolver, srcFileName); // for symbols, we use everything except for the class metadata itself\n      // (we keep the statics though), as the class metadata is contained in the\n      // CompileTypeSummary.\n\n      symbols.forEach(function (resolvedSymbol) {\n        return toJsonSerializer.addSummary({\n          symbol: resolvedSymbol.symbol,\n          metadata: resolvedSymbol.metadata\n        });\n      }); // Add type summaries.\n\n      types.forEach(function (_ref58) {\n        var summary = _ref58.summary,\n            metadata = _ref58.metadata;\n        toJsonSerializer.addSummary({\n          symbol: summary.type.reference,\n          metadata: undefined,\n          type: summary\n        });\n      });\n\n      var _toJsonSerializer$ser = toJsonSerializer.serialize(createExternalSymbolReexports),\n          json = _toJsonSerializer$ser.json,\n          exportAs = _toJsonSerializer$ser.exportAs;\n\n      if (forJitCtx) {\n        var forJitSerializer = new ForJitSerializer(forJitCtx, symbolResolver, summaryResolver);\n        types.forEach(function (_ref59) {\n          var summary = _ref59.summary,\n              metadata = _ref59.metadata;\n          forJitSerializer.addSourceType(summary, metadata);\n        });\n        toJsonSerializer.unprocessedSymbolSummariesBySymbol.forEach(function (summary) {\n          if (summaryResolver.isLibraryFile(summary.symbol.filePath) && summary.type) {\n            forJitSerializer.addLibType(summary.type);\n          }\n        });\n        forJitSerializer.serialize(exportAs);\n      }\n\n      return {\n        json: json,\n        exportAs: exportAs\n      };\n    }\n\n    function deserializeSummaries(symbolCache, summaryResolver, libraryFileName, json) {\n      var deserializer = new FromJsonDeserializer(symbolCache, summaryResolver);\n      return deserializer.deserialize(libraryFileName, json);\n    }\n\n    function createForJitStub(outputCtx, reference) {\n      return createSummaryForJitFunction(outputCtx, reference, NULL_EXPR);\n    }\n\n    function createSummaryForJitFunction(outputCtx, reference, value) {\n      var fnName = summaryForJitName(reference.name);\n      outputCtx.statements.push(fn([], [new ReturnStatement(value)], new ArrayType(DYNAMIC_TYPE)).toDeclStmt(fnName, [StmtModifier.Final, StmtModifier.Exported]));\n    }\n\n    var ToJsonSerializer =\n    /*#__PURE__*/\n    function (_ValueTransformer3) {\n      _inherits(ToJsonSerializer, _ValueTransformer3);\n\n      function ToJsonSerializer(symbolResolver, summaryResolver, srcFileName) {\n        var _this386;\n\n        _classCallCheck(this, ToJsonSerializer);\n\n        _this386 = _possibleConstructorReturn(this, _getPrototypeOf(ToJsonSerializer).call(this));\n        _this386.symbolResolver = symbolResolver;\n        _this386.summaryResolver = summaryResolver;\n        _this386.srcFileName = srcFileName; // Note: This only contains symbols without members.\n\n        _this386.symbols = [];\n        _this386.indexBySymbol = new Map();\n        _this386.reexportedBy = new Map(); // This now contains a `__symbol: number` in the place of\n        // StaticSymbols, but otherwise has the same shape as the original objects.\n\n        _this386.processedSummaryBySymbol = new Map();\n        _this386.processedSummaries = [];\n        _this386.unprocessedSymbolSummariesBySymbol = new Map();\n        _this386.moduleName = symbolResolver.getKnownModuleName(srcFileName);\n        return _this386;\n      }\n\n      _createClass2(ToJsonSerializer, [{\n        key: \"addSummary\",\n        value: function addSummary(summary) {\n          var _this387 = this;\n\n          var unprocessedSummary = this.unprocessedSymbolSummariesBySymbol.get(summary.symbol);\n          var processedSummary = this.processedSummaryBySymbol.get(summary.symbol);\n\n          if (!unprocessedSummary) {\n            unprocessedSummary = {\n              symbol: summary.symbol,\n              metadata: undefined\n            };\n            this.unprocessedSymbolSummariesBySymbol.set(summary.symbol, unprocessedSummary);\n            processedSummary = {\n              symbol: this.processValue(summary.symbol, 0\n              /* None */\n              )\n            };\n            this.processedSummaries.push(processedSummary);\n            this.processedSummaryBySymbol.set(summary.symbol, processedSummary);\n          }\n\n          if (!unprocessedSummary.metadata && summary.metadata) {\n            var metadata = summary.metadata || {};\n\n            if (metadata.__symbolic === 'class') {\n              // For classes, we keep everything except their class decorators.\n              // We need to keep e.g. the ctor args, method names, method decorators\n              // so that the class can be extended in another compilation unit.\n              // We don't keep the class decorators as\n              // 1) they refer to data\n              //   that should not cause a rebuild of downstream compilation units\n              //   (e.g. inline templates of @Component, or @NgModule.declarations)\n              // 2) their data is already captured in TypeSummaries, e.g. DirectiveSummary.\n              var clone = {};\n              Object.keys(metadata).forEach(function (propName) {\n                if (propName !== 'decorators') {\n                  clone[propName] = metadata[propName];\n                }\n              });\n              metadata = clone;\n            } else if (isCall(metadata)) {\n              if (!isFunctionCall(metadata) && !isMethodCallOnVariable(metadata)) {\n                // Don't store complex calls as we won't be able to simplify them anyways later on.\n                metadata = {\n                  __symbolic: 'error',\n                  message: 'Complex function calls are not supported.'\n                };\n              }\n            } // Note: We need to keep storing ctor calls for e.g.\n            // `export const x = new InjectionToken(...)`\n\n\n            unprocessedSummary.metadata = metadata;\n            processedSummary.metadata = this.processValue(metadata, 1\n            /* ResolveValue */\n            );\n\n            if (metadata instanceof StaticSymbol && this.summaryResolver.isLibraryFile(metadata.filePath)) {\n              var declarationSymbol = this.symbols[this.indexBySymbol.get(metadata)];\n\n              if (!isLoweredSymbol(declarationSymbol.name)) {\n                // Note: symbols that were introduced during codegen in the user file can have a reexport\n                // if a user used `export *`. However, we can't rely on this as tsickle will change\n                // `export *` into named exports, using only the information from the typechecker.\n                // As we introduce the new symbols after typecheck, Tsickle does not know about them,\n                // and omits them when expanding `export *`.\n                // So we have to keep reexporting these symbols manually via .ngfactory files.\n                this.reexportedBy.set(declarationSymbol, summary.symbol);\n              }\n            }\n          }\n\n          if (!unprocessedSummary.type && summary.type) {\n            unprocessedSummary.type = summary.type; // Note: We don't add the summaries of all referenced symbols as for the ResolvedSymbols,\n            // as the type summaries already contain the transitive data that they require\n            // (in a minimal way).\n\n            processedSummary.type = this.processValue(summary.type, 0\n            /* None */\n            ); // except for reexported directives / pipes, so we need to store\n            // their summaries explicitly.\n\n            if (summary.type.summaryKind === CompileSummaryKind.NgModule) {\n              var ngModuleSummary = summary.type;\n              ngModuleSummary.exportedDirectives.concat(ngModuleSummary.exportedPipes).forEach(function (id) {\n                var symbol = id.reference;\n\n                if (_this387.summaryResolver.isLibraryFile(symbol.filePath) && !_this387.unprocessedSymbolSummariesBySymbol.has(symbol)) {\n                  var _summary = _this387.summaryResolver.resolveSummary(symbol);\n\n                  if (_summary) {\n                    _this387.addSummary(_summary);\n                  }\n                }\n              });\n            }\n          }\n        }\n        /**\n         * @param createExternalSymbolReexports Whether external static symbols should be re-exported.\n         * This can be enabled if external symbols should be re-exported by the current module in\n         * order to avoid dynamically generated module dependencies which can break strict dependency\n         * enforcements (as in Google3). Read more here: https://github.com/angular/angular/issues/25644\n         */\n\n      }, {\n        key: \"serialize\",\n        value: function serialize(createExternalSymbolReexports) {\n          var _this388 = this;\n\n          var exportAs = [];\n          var json = JSON.stringify({\n            moduleName: this.moduleName,\n            summaries: this.processedSummaries,\n            symbols: this.symbols.map(function (symbol, index) {\n              symbol.assertNoMembers();\n              var importAs = undefined;\n\n              if (_this388.summaryResolver.isLibraryFile(symbol.filePath)) {\n                var reexportSymbol = _this388.reexportedBy.get(symbol);\n\n                if (reexportSymbol) {\n                  // In case the given external static symbol is already manually exported by the\n                  // user, we just proxy the external static symbol reference to the manual export.\n                  // This ensures that the AOT compiler imports the external symbol through the\n                  // user export and does not introduce another dependency which is not needed.\n                  importAs = _this388.indexBySymbol.get(reexportSymbol);\n                } else if (createExternalSymbolReexports) {\n                  // In this case, the given external static symbol is *not* manually exported by\n                  // the user, and we manually create a re-export in the factory file so that we\n                  // don't introduce another module dependency. This is useful when running within\n                  // Bazel so that the AOT compiler does not introduce any module dependencies\n                  // which can break the strict dependency enforcement. (e.g. as in Google3)\n                  // Read more about this here: https://github.com/angular/angular/issues/25644\n                  var summary = _this388.unprocessedSymbolSummariesBySymbol.get(symbol);\n\n                  if (!summary || !summary.metadata || summary.metadata.__symbolic !== 'interface') {\n                    importAs = \"\".concat(symbol.name, \"_\").concat(index);\n                    exportAs.push({\n                      symbol: symbol,\n                      exportAs: importAs\n                    });\n                  }\n                }\n              }\n\n              return {\n                __symbol: index,\n                name: symbol.name,\n                filePath: _this388.summaryResolver.toSummaryFileName(symbol.filePath, _this388.srcFileName),\n                importAs: importAs\n              };\n            })\n          });\n          return {\n            json: json,\n            exportAs: exportAs\n          };\n        }\n      }, {\n        key: \"processValue\",\n        value: function processValue(value, flags) {\n          return visitValue(value, this, flags);\n        }\n      }, {\n        key: \"visitOther\",\n        value: function visitOther(value, context) {\n          if (value instanceof StaticSymbol) {\n            var baseSymbol = this.symbolResolver.getStaticSymbol(value.filePath, value.name);\n            var index = this.visitStaticSymbol(baseSymbol, context);\n            return {\n              __symbol: index,\n              members: value.members\n            };\n          }\n        }\n        /**\n         * Strip line and character numbers from ngsummaries.\n         * Emitting them causes white spaces changes to retrigger upstream\n         * recompilations in bazel.\n         * TODO: find out a way to have line and character numbers in errors without\n         * excessive recompilation in bazel.\n         */\n\n      }, {\n        key: \"visitStringMap\",\n        value: function visitStringMap(map, context) {\n          if (map['__symbolic'] === 'resolved') {\n            return visitValue(map['symbol'], this, context);\n          }\n\n          if (map['__symbolic'] === 'error') {\n            delete map['line'];\n            delete map['character'];\n          }\n\n          return _get(_getPrototypeOf(ToJsonSerializer.prototype), \"visitStringMap\", this).call(this, map, context);\n        }\n        /**\n         * Returns null if the options.resolveValue is true, and the summary for the symbol\n         * resolved to a type or could not be resolved.\n         */\n\n      }, {\n        key: \"visitStaticSymbol\",\n        value: function visitStaticSymbol(baseSymbol, flags) {\n          var index = this.indexBySymbol.get(baseSymbol);\n          var summary = null;\n\n          if (flags & 1\n          /* ResolveValue */\n          && this.summaryResolver.isLibraryFile(baseSymbol.filePath)) {\n            if (this.unprocessedSymbolSummariesBySymbol.has(baseSymbol)) {\n              // the summary for this symbol was already added\n              // -> nothing to do.\n              return index;\n            }\n\n            summary = this.loadSummary(baseSymbol);\n\n            if (summary && summary.metadata instanceof StaticSymbol) {\n              // The summary is a reexport\n              index = this.visitStaticSymbol(summary.metadata, flags); // reset the summary as it is just a reexport, so we don't want to store it.\n\n              summary = null;\n            }\n          } else if (index != null) {\n            // Note: == on purpose to compare with undefined!\n            // No summary and the symbol is already added -> nothing to do.\n            return index;\n          } // Note: == on purpose to compare with undefined!\n\n\n          if (index == null) {\n            index = this.symbols.length;\n            this.symbols.push(baseSymbol);\n          }\n\n          this.indexBySymbol.set(baseSymbol, index);\n\n          if (summary) {\n            this.addSummary(summary);\n          }\n\n          return index;\n        }\n      }, {\n        key: \"loadSummary\",\n        value: function loadSummary(symbol) {\n          var summary = this.summaryResolver.resolveSummary(symbol);\n\n          if (!summary) {\n            // some symbols might originate from a plain typescript library\n            // that just exported .d.ts and .metadata.json files, i.e. where no summary\n            // files were created.\n            var resolvedSymbol = this.symbolResolver.resolveSymbol(symbol);\n\n            if (resolvedSymbol) {\n              summary = {\n                symbol: resolvedSymbol.symbol,\n                metadata: resolvedSymbol.metadata\n              };\n            }\n          }\n\n          return summary;\n        }\n      }]);\n\n      return ToJsonSerializer;\n    }(ValueTransformer);\n\n    var ForJitSerializer =\n    /*#__PURE__*/\n    function () {\n      function ForJitSerializer(outputCtx, symbolResolver, summaryResolver) {\n        _classCallCheck(this, ForJitSerializer);\n\n        this.outputCtx = outputCtx;\n        this.symbolResolver = symbolResolver;\n        this.summaryResolver = summaryResolver;\n        this.data = [];\n      }\n\n      _createClass2(ForJitSerializer, [{\n        key: \"addSourceType\",\n        value: function addSourceType(summary, metadata) {\n          this.data.push({\n            summary: summary,\n            metadata: metadata,\n            isLibrary: false\n          });\n        }\n      }, {\n        key: \"addLibType\",\n        value: function addLibType(summary) {\n          this.data.push({\n            summary: summary,\n            metadata: null,\n            isLibrary: true\n          });\n        }\n      }, {\n        key: \"serialize\",\n        value: function serialize(exportAsArr) {\n          var _this389 = this;\n\n          var exportAsBySymbol = new Map();\n          var _iteratorNormalCompletion31 = true;\n          var _didIteratorError31 = false;\n          var _iteratorError31 = undefined;\n\n          try {\n            for (var _iterator31 = exportAsArr[Symbol.iterator](), _step31; !(_iteratorNormalCompletion31 = (_step31 = _iterator31.next()).done); _iteratorNormalCompletion31 = true) {\n              var _step31$value = _step31.value,\n                  symbol = _step31$value.symbol,\n                  exportAs = _step31$value.exportAs;\n              exportAsBySymbol.set(symbol, exportAs);\n            }\n          } catch (err) {\n            _didIteratorError31 = true;\n            _iteratorError31 = err;\n          } finally {\n            try {\n              if (!_iteratorNormalCompletion31 && _iterator31.return != null) {\n                _iterator31.return();\n              }\n            } finally {\n              if (_didIteratorError31) {\n                throw _iteratorError31;\n              }\n            }\n          }\n\n          var ngModuleSymbols = new Set();\n          var _iteratorNormalCompletion32 = true;\n          var _didIteratorError32 = false;\n          var _iteratorError32 = undefined;\n\n          try {\n            for (var _iterator32 = this.data[Symbol.iterator](), _step32; !(_iteratorNormalCompletion32 = (_step32 = _iterator32.next()).done); _iteratorNormalCompletion32 = true) {\n              var _step32$value = _step32.value,\n                  summary = _step32$value.summary,\n                  metadata = _step32$value.metadata,\n                  isLibrary = _step32$value.isLibrary;\n\n              if (summary.summaryKind === CompileSummaryKind.NgModule) {\n                // collect the symbols that refer to NgModule classes.\n                // Note: we can't just rely on `summary.type.summaryKind` to determine this as\n                // we don't add the summaries of all referenced symbols when we serialize type summaries.\n                // See serializeSummaries for details.\n                ngModuleSymbols.add(summary.type.reference);\n                var modSummary = summary;\n                var _iteratorNormalCompletion33 = true;\n                var _didIteratorError33 = false;\n                var _iteratorError33 = undefined;\n\n                try {\n                  for (var _iterator33 = modSummary.modules[Symbol.iterator](), _step33; !(_iteratorNormalCompletion33 = (_step33 = _iterator33.next()).done); _iteratorNormalCompletion33 = true) {\n                    var mod = _step33.value;\n                    ngModuleSymbols.add(mod.reference);\n                  }\n                } catch (err) {\n                  _didIteratorError33 = true;\n                  _iteratorError33 = err;\n                } finally {\n                  try {\n                    if (!_iteratorNormalCompletion33 && _iterator33.return != null) {\n                      _iterator33.return();\n                    }\n                  } finally {\n                    if (_didIteratorError33) {\n                      throw _iteratorError33;\n                    }\n                  }\n                }\n              }\n\n              if (!isLibrary) {\n                var fnName = summaryForJitName(summary.type.reference.name);\n                createSummaryForJitFunction(this.outputCtx, summary.type.reference, this.serializeSummaryWithDeps(summary, metadata));\n              }\n            }\n          } catch (err) {\n            _didIteratorError32 = true;\n            _iteratorError32 = err;\n          } finally {\n            try {\n              if (!_iteratorNormalCompletion32 && _iterator32.return != null) {\n                _iterator32.return();\n              }\n            } finally {\n              if (_didIteratorError32) {\n                throw _iteratorError32;\n              }\n            }\n          }\n\n          ngModuleSymbols.forEach(function (ngModuleSymbol) {\n            if (_this389.summaryResolver.isLibraryFile(ngModuleSymbol.filePath)) {\n              var exportAs = exportAsBySymbol.get(ngModuleSymbol) || ngModuleSymbol.name;\n              var jitExportAsName = summaryForJitName(exportAs);\n\n              _this389.outputCtx.statements.push(variable(jitExportAsName).set(_this389.serializeSummaryRef(ngModuleSymbol)).toDeclStmt(null, [StmtModifier.Exported]));\n            }\n          });\n        }\n      }, {\n        key: \"serializeSummaryWithDeps\",\n        value: function serializeSummaryWithDeps(summary, metadata) {\n          var _this390 = this;\n\n          var expressions = [this.serializeSummary(summary)];\n          var providers = [];\n\n          if (metadata instanceof CompileNgModuleMetadata) {\n            expressions.push.apply(expressions, _toConsumableArray( // For directives / pipes, we only add the declared ones,\n            // and rely on transitively importing NgModules to get the transitive\n            // summaries.\n            metadata.declaredDirectives.concat(metadata.declaredPipes).map(function (type) {\n              return type.reference;\n            }) // For modules,\n            // we also add the summaries for modules\n            // from libraries.\n            // This is ok as we produce reexports for all transitive modules.\n            .concat(metadata.transitiveModule.modules.map(function (type) {\n              return type.reference;\n            }).filter(function (ref) {\n              return ref !== metadata.type.reference;\n            })).map(function (ref) {\n              return _this390.serializeSummaryRef(ref);\n            }))); // Note: We don't use `NgModuleSummary.providers`, as that one is transitive,\n            // and we already have transitive modules.\n\n            providers = metadata.providers;\n          } else if (summary.summaryKind === CompileSummaryKind.Directive) {\n            var dirSummary = summary;\n            providers = dirSummary.providers.concat(dirSummary.viewProviders);\n          } // Note: We can't just refer to the `ngsummary.ts` files for `useClass` providers (as we do for\n          // declaredDirectives / declaredPipes), as we allow\n          // providers without ctor arguments to skip the `@Injectable` decorator,\n          // i.e. we didn't generate .ngsummary.ts files for these.\n\n\n          expressions.push.apply(expressions, _toConsumableArray(providers.filter(function (provider) {\n            return !!provider.useClass;\n          }).map(function (provider) {\n            return _this390.serializeSummary({\n              summaryKind: CompileSummaryKind.Injectable,\n              type: provider.useClass\n            });\n          })));\n          return literalArr(expressions);\n        }\n      }, {\n        key: \"serializeSummaryRef\",\n        value: function serializeSummaryRef(typeSymbol) {\n          var jitImportedSymbol = this.symbolResolver.getStaticSymbol(summaryForJitFileName(typeSymbol.filePath), summaryForJitName(typeSymbol.name));\n          return this.outputCtx.importExpr(jitImportedSymbol);\n        }\n      }, {\n        key: \"serializeSummary\",\n        value: function serializeSummary(data) {\n          var outputCtx = this.outputCtx;\n\n          var Transformer =\n          /*#__PURE__*/\n          function () {\n            function Transformer() {\n              _classCallCheck(this, Transformer);\n            }\n\n            _createClass2(Transformer, [{\n              key: \"visitArray\",\n              value: function visitArray(arr, context) {\n                var _this391 = this;\n\n                return literalArr(arr.map(function (entry) {\n                  return visitValue(entry, _this391, context);\n                }));\n              }\n            }, {\n              key: \"visitStringMap\",\n              value: function visitStringMap(map, context) {\n                var _this392 = this;\n\n                return new LiteralMapExpr(Object.keys(map).map(function (key) {\n                  return new LiteralMapEntry(key, visitValue(map[key], _this392, context), false);\n                }));\n              }\n            }, {\n              key: \"visitPrimitive\",\n              value: function visitPrimitive(value, context) {\n                return literal(value);\n              }\n            }, {\n              key: \"visitOther\",\n              value: function visitOther(value, context) {\n                if (value instanceof StaticSymbol) {\n                  return outputCtx.importExpr(value);\n                } else {\n                  throw new Error(\"Illegal State: Encountered value \".concat(value));\n                }\n              }\n            }]);\n\n            return Transformer;\n          }();\n\n          return visitValue(data, new Transformer(), null);\n        }\n      }]);\n\n      return ForJitSerializer;\n    }();\n\n    var FromJsonDeserializer =\n    /*#__PURE__*/\n    function (_ValueTransformer4) {\n      _inherits(FromJsonDeserializer, _ValueTransformer4);\n\n      function FromJsonDeserializer(symbolCache, summaryResolver) {\n        var _this393;\n\n        _classCallCheck(this, FromJsonDeserializer);\n\n        _this393 = _possibleConstructorReturn(this, _getPrototypeOf(FromJsonDeserializer).call(this));\n        _this393.symbolCache = symbolCache;\n        _this393.summaryResolver = summaryResolver;\n        return _this393;\n      }\n\n      _createClass2(FromJsonDeserializer, [{\n        key: \"deserialize\",\n        value: function deserialize(libraryFileName, json) {\n          var _this394 = this;\n\n          var data = JSON.parse(json);\n          var allImportAs = [];\n          this.symbols = data.symbols.map(function (serializedSymbol) {\n            return _this394.symbolCache.get(_this394.summaryResolver.fromSummaryFileName(serializedSymbol.filePath, libraryFileName), serializedSymbol.name);\n          });\n          data.symbols.forEach(function (serializedSymbol, index) {\n            var symbol = _this394.symbols[index];\n            var importAs = serializedSymbol.importAs;\n\n            if (typeof importAs === 'number') {\n              allImportAs.push({\n                symbol: symbol,\n                importAs: _this394.symbols[importAs]\n              });\n            } else if (typeof importAs === 'string') {\n              allImportAs.push({\n                symbol: symbol,\n                importAs: _this394.symbolCache.get(ngfactoryFilePath(libraryFileName), importAs)\n              });\n            }\n          });\n          var summaries = visitValue(data.summaries, this, null);\n          return {\n            moduleName: data.moduleName,\n            summaries: summaries,\n            importAs: allImportAs\n          };\n        }\n      }, {\n        key: \"visitStringMap\",\n        value: function visitStringMap(map, context) {\n          if ('__symbol' in map) {\n            var baseSymbol = this.symbols[map['__symbol']];\n            var members = map['members'];\n            return members.length ? this.symbolCache.get(baseSymbol.filePath, baseSymbol.name, members) : baseSymbol;\n          } else {\n            return _get(_getPrototypeOf(FromJsonDeserializer.prototype), \"visitStringMap\", this).call(this, map, context);\n          }\n        }\n      }]);\n\n      return FromJsonDeserializer;\n    }(ValueTransformer);\n\n    function isCall(metadata) {\n      return metadata && metadata.__symbolic === 'call';\n    }\n\n    function isFunctionCall(metadata) {\n      return isCall(metadata) && unwrapResolvedMetadata(metadata.expression) instanceof StaticSymbol;\n    }\n\n    function isMethodCallOnVariable(metadata) {\n      return isCall(metadata) && metadata.expression && metadata.expression.__symbolic === 'select' && unwrapResolvedMetadata(metadata.expression.expression) instanceof StaticSymbol;\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var AotCompiler =\n    /*#__PURE__*/\n    function () {\n      function AotCompiler(_config, _options, _host, reflector, _metadataResolver, _templateParser, _styleCompiler, _viewCompiler, _typeCheckCompiler, _ngModuleCompiler, _injectableCompiler, _outputEmitter, _summaryResolver, _symbolResolver) {\n        _classCallCheck(this, AotCompiler);\n\n        this._config = _config;\n        this._options = _options;\n        this._host = _host;\n        this.reflector = reflector;\n        this._metadataResolver = _metadataResolver;\n        this._templateParser = _templateParser;\n        this._styleCompiler = _styleCompiler;\n        this._viewCompiler = _viewCompiler;\n        this._typeCheckCompiler = _typeCheckCompiler;\n        this._ngModuleCompiler = _ngModuleCompiler;\n        this._injectableCompiler = _injectableCompiler;\n        this._outputEmitter = _outputEmitter;\n        this._summaryResolver = _summaryResolver;\n        this._symbolResolver = _symbolResolver;\n        this._templateAstCache = new Map();\n        this._analyzedFiles = new Map();\n        this._analyzedFilesForInjectables = new Map();\n      }\n\n      _createClass2(AotCompiler, [{\n        key: \"clearCache\",\n        value: function clearCache() {\n          this._metadataResolver.clearCache();\n        }\n      }, {\n        key: \"analyzeModulesSync\",\n        value: function analyzeModulesSync(rootFiles) {\n          var _this395 = this;\n\n          var analyzeResult = analyzeAndValidateNgModules(rootFiles, this._host, this._symbolResolver, this._metadataResolver);\n          analyzeResult.ngModules.forEach(function (ngModule) {\n            return _this395._metadataResolver.loadNgModuleDirectiveAndPipeMetadata(ngModule.type.reference, true);\n          });\n          return analyzeResult;\n        }\n      }, {\n        key: \"analyzeModulesAsync\",\n        value: function analyzeModulesAsync(rootFiles) {\n          var _this396 = this;\n\n          var analyzeResult = analyzeAndValidateNgModules(rootFiles, this._host, this._symbolResolver, this._metadataResolver);\n          return Promise.all(analyzeResult.ngModules.map(function (ngModule) {\n            return _this396._metadataResolver.loadNgModuleDirectiveAndPipeMetadata(ngModule.type.reference, false);\n          })).then(function () {\n            return analyzeResult;\n          });\n        }\n      }, {\n        key: \"_analyzeFile\",\n        value: function _analyzeFile(fileName) {\n          var analyzedFile = this._analyzedFiles.get(fileName);\n\n          if (!analyzedFile) {\n            analyzedFile = analyzeFile(this._host, this._symbolResolver, this._metadataResolver, fileName);\n\n            this._analyzedFiles.set(fileName, analyzedFile);\n          }\n\n          return analyzedFile;\n        }\n      }, {\n        key: \"_analyzeFileForInjectables\",\n        value: function _analyzeFileForInjectables(fileName) {\n          var analyzedFile = this._analyzedFilesForInjectables.get(fileName);\n\n          if (!analyzedFile) {\n            analyzedFile = analyzeFileForInjectables(this._host, this._symbolResolver, this._metadataResolver, fileName);\n\n            this._analyzedFilesForInjectables.set(fileName, analyzedFile);\n          }\n\n          return analyzedFile;\n        }\n      }, {\n        key: \"findGeneratedFileNames\",\n        value: function findGeneratedFileNames(fileName) {\n          var _this397 = this;\n\n          var genFileNames = [];\n\n          var file = this._analyzeFile(fileName); // Make sure we create a .ngfactory if we have a injectable/directive/pipe/NgModule\n          // or a reference to a non source file.\n          // Note: This is overestimating the required .ngfactory files as the real calculation is harder.\n          // Only do this for StubEmitFlags.Basic, as adding a type check block\n          // does not change this file (as we generate type check blocks based on NgModules).\n\n\n          if (this._options.allowEmptyCodegenFiles || file.directives.length || file.pipes.length || file.injectables.length || file.ngModules.length || file.exportsNonSourceFiles) {\n            genFileNames.push(ngfactoryFilePath(file.fileName, true));\n\n            if (this._options.enableSummariesForJit) {\n              genFileNames.push(summaryForJitFileName(file.fileName, true));\n            }\n          }\n\n          var fileSuffix = normalizeGenFileSuffix(splitTypescriptSuffix(file.fileName, true)[1]);\n          file.directives.forEach(function (dirSymbol) {\n            var compMeta = _this397._metadataResolver.getNonNormalizedDirectiveMetadata(dirSymbol).metadata;\n\n            if (!compMeta.isComponent) {\n              return;\n            } // Note: compMeta is a component and therefore template is non null.\n\n\n            compMeta.template.styleUrls.forEach(function (styleUrl) {\n              var normalizedUrl = _this397._host.resourceNameToFileName(styleUrl, file.fileName);\n\n              if (!normalizedUrl) {\n                throw syntaxError(\"Couldn't resolve resource \".concat(styleUrl, \" relative to \").concat(file.fileName));\n              }\n\n              var needsShim = (compMeta.template.encapsulation || _this397._config.defaultEncapsulation) === ViewEncapsulation.Emulated;\n              genFileNames.push(_stylesModuleUrl(normalizedUrl, needsShim, fileSuffix));\n\n              if (_this397._options.allowEmptyCodegenFiles) {\n                genFileNames.push(_stylesModuleUrl(normalizedUrl, !needsShim, fileSuffix));\n              }\n            });\n          });\n          return genFileNames;\n        }\n      }, {\n        key: \"emitBasicStub\",\n        value: function emitBasicStub(genFileName, originalFileName) {\n          var outputCtx = this._createOutputContext(genFileName);\n\n          if (genFileName.endsWith('.ngfactory.ts')) {\n            if (!originalFileName) {\n              throw new Error(\"Assertion error: require the original file for .ngfactory.ts stubs. File: \".concat(genFileName));\n            }\n\n            var originalFile = this._analyzeFile(originalFileName);\n\n            this._createNgFactoryStub(outputCtx, originalFile, 1\n            /* Basic */\n            );\n          } else if (genFileName.endsWith('.ngsummary.ts')) {\n            if (this._options.enableSummariesForJit) {\n              if (!originalFileName) {\n                throw new Error(\"Assertion error: require the original file for .ngsummary.ts stubs. File: \".concat(genFileName));\n              }\n\n              var _originalFile = this._analyzeFile(originalFileName);\n\n              _createEmptyStub(outputCtx);\n\n              _originalFile.ngModules.forEach(function (ngModule) {\n                // create exports that user code can reference\n                createForJitStub(outputCtx, ngModule.type.reference);\n              });\n            }\n          } else if (genFileName.endsWith('.ngstyle.ts')) {\n            _createEmptyStub(outputCtx);\n          } // Note: for the stubs, we don't need a property srcFileUrl,\n          // as later on in emitAllImpls we will create the proper GeneratedFiles with the\n          // correct srcFileUrl.\n          // This is good as e.g. for .ngstyle.ts files we can't derive\n          // the url of components based on the genFileUrl.\n\n\n          return this._codegenSourceModule('unknown', outputCtx);\n        }\n      }, {\n        key: \"emitTypeCheckStub\",\n        value: function emitTypeCheckStub(genFileName, originalFileName) {\n          var originalFile = this._analyzeFile(originalFileName);\n\n          var outputCtx = this._createOutputContext(genFileName);\n\n          if (genFileName.endsWith('.ngfactory.ts')) {\n            this._createNgFactoryStub(outputCtx, originalFile, 2\n            /* TypeCheck */\n            );\n          }\n\n          return outputCtx.statements.length > 0 ? this._codegenSourceModule(originalFile.fileName, outputCtx) : null;\n        }\n      }, {\n        key: \"loadFilesAsync\",\n        value: function loadFilesAsync(fileNames, tsFiles) {\n          var _this398 = this;\n\n          var files = fileNames.map(function (fileName) {\n            return _this398._analyzeFile(fileName);\n          });\n          var loadingPromises = [];\n          files.forEach(function (file) {\n            return file.ngModules.forEach(function (ngModule) {\n              return loadingPromises.push(_this398._metadataResolver.loadNgModuleDirectiveAndPipeMetadata(ngModule.type.reference, false));\n            });\n          });\n          var analyzedInjectables = tsFiles.map(function (tsFile) {\n            return _this398._analyzeFileForInjectables(tsFile);\n          });\n          return Promise.all(loadingPromises).then(function (_) {\n            return {\n              analyzedModules: mergeAndValidateNgFiles(files),\n              analyzedInjectables: analyzedInjectables\n            };\n          });\n        }\n      }, {\n        key: \"loadFilesSync\",\n        value: function loadFilesSync(fileNames, tsFiles) {\n          var _this399 = this;\n\n          var files = fileNames.map(function (fileName) {\n            return _this399._analyzeFile(fileName);\n          });\n          files.forEach(function (file) {\n            return file.ngModules.forEach(function (ngModule) {\n              return _this399._metadataResolver.loadNgModuleDirectiveAndPipeMetadata(ngModule.type.reference, true);\n            });\n          });\n          var analyzedInjectables = tsFiles.map(function (tsFile) {\n            return _this399._analyzeFileForInjectables(tsFile);\n          });\n          return {\n            analyzedModules: mergeAndValidateNgFiles(files),\n            analyzedInjectables: analyzedInjectables\n          };\n        }\n      }, {\n        key: \"_createNgFactoryStub\",\n        value: function _createNgFactoryStub(outputCtx, file, emitFlags) {\n          var _this400 = this;\n\n          var componentId = 0;\n          file.ngModules.forEach(function (ngModuleMeta, ngModuleIndex) {\n            // Note: the code below needs to executed for StubEmitFlags.Basic and StubEmitFlags.TypeCheck,\n            // so we don't change the .ngfactory file too much when adding the type-check block.\n            // create exports that user code can reference\n            _this400._ngModuleCompiler.createStub(outputCtx, ngModuleMeta.type.reference); // add references to the symbols from the metadata.\n            // These can be used by the type check block for components,\n            // and they also cause TypeScript to include these files into the program too,\n            // which will make them part of the analyzedFiles.\n\n\n            var externalReferences = [].concat(_toConsumableArray(ngModuleMeta.transitiveModule.directives.map(function (d) {\n              return d.reference;\n            })), _toConsumableArray(ngModuleMeta.transitiveModule.pipes.map(function (d) {\n              return d.reference;\n            })), _toConsumableArray(ngModuleMeta.importedModules.map(function (m) {\n              return m.type.reference;\n            })), _toConsumableArray(ngModuleMeta.exportedModules.map(function (m) {\n              return m.type.reference;\n            })), _toConsumableArray(_this400._externalIdentifierReferences([Identifiers.TemplateRef, Identifiers.ElementRef])));\n            var externalReferenceVars = new Map();\n            externalReferences.forEach(function (ref, typeIndex) {\n              externalReferenceVars.set(ref, \"_decl\".concat(ngModuleIndex, \"_\").concat(typeIndex));\n            });\n            externalReferenceVars.forEach(function (varName, reference) {\n              outputCtx.statements.push(variable(varName).set(NULL_EXPR.cast(DYNAMIC_TYPE)).toDeclStmt(expressionType(outputCtx.importExpr(reference,\n              /* typeParams */\n              null,\n              /* useSummaries */\n              false))));\n            });\n\n            if (emitFlags & 2\n            /* TypeCheck */\n            ) {\n                // add the type-check block for all components of the NgModule\n                ngModuleMeta.declaredDirectives.forEach(function (dirId) {\n                  var compMeta = _this400._metadataResolver.getDirectiveMetadata(dirId.reference);\n\n                  if (!compMeta.isComponent) {\n                    return;\n                  }\n\n                  componentId++;\n\n                  _this400._createTypeCheckBlock(outputCtx, \"\".concat(compMeta.type.reference.name, \"_Host_\").concat(componentId), ngModuleMeta, _this400._metadataResolver.getHostComponentMetadata(compMeta), [compMeta.type], externalReferenceVars);\n\n                  _this400._createTypeCheckBlock(outputCtx, \"\".concat(compMeta.type.reference.name, \"_\").concat(componentId), ngModuleMeta, compMeta, ngModuleMeta.transitiveModule.directives, externalReferenceVars);\n                });\n              }\n          });\n\n          if (outputCtx.statements.length === 0) {\n            _createEmptyStub(outputCtx);\n          }\n        }\n      }, {\n        key: \"_externalIdentifierReferences\",\n        value: function _externalIdentifierReferences(references) {\n          var result = [];\n          var _iteratorNormalCompletion34 = true;\n          var _didIteratorError34 = false;\n          var _iteratorError34 = undefined;\n\n          try {\n            for (var _iterator34 = references[Symbol.iterator](), _step34; !(_iteratorNormalCompletion34 = (_step34 = _iterator34.next()).done); _iteratorNormalCompletion34 = true) {\n              var reference = _step34.value;\n              var token = createTokenForExternalReference(this.reflector, reference);\n\n              if (token.identifier) {\n                result.push(token.identifier.reference);\n              }\n            }\n          } catch (err) {\n            _didIteratorError34 = true;\n            _iteratorError34 = err;\n          } finally {\n            try {\n              if (!_iteratorNormalCompletion34 && _iterator34.return != null) {\n                _iterator34.return();\n              }\n            } finally {\n              if (_didIteratorError34) {\n                throw _iteratorError34;\n              }\n            }\n          }\n\n          return result;\n        }\n      }, {\n        key: \"_createTypeCheckBlock\",\n        value: function _createTypeCheckBlock(ctx, componentId, moduleMeta, compMeta, directives, externalReferenceVars) {\n          var _ctx$statements;\n\n          var _this$_parseTemplate = this._parseTemplate(compMeta, moduleMeta, directives),\n              parsedTemplate = _this$_parseTemplate.template,\n              usedPipes = _this$_parseTemplate.pipes;\n\n          (_ctx$statements = ctx.statements).push.apply(_ctx$statements, _toConsumableArray(this._typeCheckCompiler.compileComponent(componentId, compMeta, parsedTemplate, usedPipes, externalReferenceVars, ctx)));\n        }\n      }, {\n        key: \"emitMessageBundle\",\n        value: function emitMessageBundle(analyzeResult, locale) {\n          var _this401 = this;\n\n          var errors = [];\n          var htmlParser = new HtmlParser(); // TODO(vicb): implicit tags & attributes\n\n          var messageBundle = new MessageBundle(htmlParser, [], {}, locale);\n          analyzeResult.files.forEach(function (file) {\n            var compMetas = [];\n            file.directives.forEach(function (directiveType) {\n              var dirMeta = _this401._metadataResolver.getDirectiveMetadata(directiveType);\n\n              if (dirMeta && dirMeta.isComponent) {\n                compMetas.push(dirMeta);\n              }\n            });\n            compMetas.forEach(function (compMeta) {\n              var html = compMeta.template.template; // Template URL points to either an HTML or TS file depending on whether\n              // the file is used with `templateUrl:` or `template:`, respectively.\n\n              var templateUrl = compMeta.template.templateUrl;\n              var interpolationConfig = InterpolationConfig.fromArray(compMeta.template.interpolation);\n              errors.push.apply(errors, _toConsumableArray(messageBundle.updateFromTemplate(html, templateUrl, interpolationConfig)));\n            });\n          });\n\n          if (errors.length) {\n            throw new Error(errors.map(function (e) {\n              return e.toString();\n            }).join('\\n'));\n          }\n\n          return messageBundle;\n        }\n      }, {\n        key: \"emitAllPartialModules\",\n        value: function emitAllPartialModules(_ref60, r3Files) {\n          var _this402 = this;\n\n          var ngModuleByPipeOrDirective = _ref60.ngModuleByPipeOrDirective,\n              files = _ref60.files;\n          var contextMap = new Map();\n\n          var getContext = function getContext(fileName) {\n            if (!contextMap.has(fileName)) {\n              contextMap.set(fileName, _this402._createOutputContext(fileName));\n            }\n\n            return contextMap.get(fileName);\n          };\n\n          files.forEach(function (file) {\n            return _this402._compilePartialModule(file.fileName, ngModuleByPipeOrDirective, file.directives, file.pipes, file.ngModules, file.injectables, getContext(file.fileName));\n          });\n          r3Files.forEach(function (file) {\n            return _this402._compileShallowModules(file.fileName, file.shallowModules, getContext(file.fileName));\n          });\n          return Array.from(contextMap.values()).map(function (context) {\n            return {\n              fileName: context.genFilePath,\n              statements: [].concat(_toConsumableArray(context.constantPool.statements), _toConsumableArray(context.statements))\n            };\n          });\n        }\n      }, {\n        key: \"_compileShallowModules\",\n        value: function _compileShallowModules(fileName, shallowModules, context) {\n          var _this403 = this;\n\n          shallowModules.forEach(function (module) {\n            return compileNgModuleFromRender2(context, module, _this403._injectableCompiler);\n          });\n        }\n      }, {\n        key: \"_compilePartialModule\",\n        value: function _compilePartialModule(fileName, ngModuleByPipeOrDirective, directives, pipes, ngModules, injectables, context) {\n          var _this404 = this;\n\n          var errors = [];\n          var schemaRegistry = new DomElementSchemaRegistry();\n          var hostBindingParser = new BindingParser(this._templateParser.expressionParser, DEFAULT_INTERPOLATION_CONFIG, schemaRegistry, [], errors); // Process all components and directives\n\n          directives.forEach(function (directiveType) {\n            var directiveMetadata = _this404._metadataResolver.getDirectiveMetadata(directiveType);\n\n            if (directiveMetadata.isComponent) {\n              var _module3 = ngModuleByPipeOrDirective.get(directiveType);\n\n              _module3 || error(\"Cannot determine the module for component '\".concat(identifierName(directiveMetadata.type), \"'\"));\n              var htmlAst = directiveMetadata.template.htmlAst;\n              var preserveWhitespaces = directiveMetadata.template.preserveWhitespaces;\n\n              if (!preserveWhitespaces) {\n                htmlAst = removeWhitespaces(htmlAst);\n              }\n\n              var render3Ast = htmlAstToRender3Ast(htmlAst.rootNodes, hostBindingParser); // Map of StaticType by directive selectors\n\n              var directiveTypeBySel = new Map();\n\n              var _directives = _module3.transitiveModule.directives.map(function (dir) {\n                return _this404._metadataResolver.getDirectiveSummary(dir.reference);\n              });\n\n              _directives.forEach(function (directive) {\n                if (directive.selector) {\n                  directiveTypeBySel.set(directive.selector, directive.type.reference);\n                }\n              }); // Map of StaticType by pipe names\n\n\n              var pipeTypeByName = new Map();\n\n              var _pipes = _module3.transitiveModule.pipes.map(function (pipe) {\n                return _this404._metadataResolver.getPipeSummary(pipe.reference);\n              });\n\n              _pipes.forEach(function (pipe) {\n                pipeTypeByName.set(pipe.name, pipe.type.reference);\n              });\n\n              compileComponentFromRender2(context, directiveMetadata, render3Ast, _this404.reflector, hostBindingParser, directiveTypeBySel, pipeTypeByName);\n            } else {\n              compileDirectiveFromRender2(context, directiveMetadata, _this404.reflector, hostBindingParser);\n            }\n          });\n          pipes.forEach(function (pipeType) {\n            var pipeMetadata = _this404._metadataResolver.getPipeMetadata(pipeType);\n\n            if (pipeMetadata) {\n              compilePipeFromRender2(context, pipeMetadata, _this404.reflector);\n            }\n          });\n          injectables.forEach(function (injectable) {\n            return _this404._injectableCompiler.compile(injectable, context);\n          });\n        }\n      }, {\n        key: \"emitAllPartialModules2\",\n        value: function emitAllPartialModules2(files) {\n          var _this405 = this;\n\n          // Using reduce like this is a select many pattern (where map is a select pattern)\n          return files.reduce(function (r, file) {\n            r.push.apply(r, _toConsumableArray(_this405._emitPartialModule2(file.fileName, file.injectables)));\n            return r;\n          }, []);\n        }\n      }, {\n        key: \"_emitPartialModule2\",\n        value: function _emitPartialModule2(fileName, injectables) {\n          var _this406 = this;\n\n          var context = this._createOutputContext(fileName);\n\n          injectables.forEach(function (injectable) {\n            return _this406._injectableCompiler.compile(injectable, context);\n          });\n\n          if (context.statements && context.statements.length > 0) {\n            return [{\n              fileName: fileName,\n              statements: [].concat(_toConsumableArray(context.constantPool.statements), _toConsumableArray(context.statements))\n            }];\n          }\n\n          return [];\n        }\n      }, {\n        key: \"emitAllImpls\",\n        value: function emitAllImpls(analyzeResult) {\n          var _this407 = this;\n\n          var ngModuleByPipeOrDirective = analyzeResult.ngModuleByPipeOrDirective,\n              files = analyzeResult.files;\n          var sourceModules = files.map(function (file) {\n            return _this407._compileImplFile(file.fileName, ngModuleByPipeOrDirective, file.directives, file.pipes, file.ngModules, file.injectables);\n          });\n          return flatten(sourceModules);\n        }\n      }, {\n        key: \"_compileImplFile\",\n        value: function _compileImplFile(srcFileUrl, ngModuleByPipeOrDirective, directives, pipes, ngModules, injectables) {\n          var _this408 = this;\n\n          var fileSuffix = normalizeGenFileSuffix(splitTypescriptSuffix(srcFileUrl, true)[1]);\n          var generatedFiles = [];\n\n          var outputCtx = this._createOutputContext(ngfactoryFilePath(srcFileUrl, true));\n\n          generatedFiles.push.apply(generatedFiles, _toConsumableArray(this._createSummary(srcFileUrl, directives, pipes, ngModules, injectables, outputCtx))); // compile all ng modules\n\n          ngModules.forEach(function (ngModuleMeta) {\n            return _this408._compileModule(outputCtx, ngModuleMeta);\n          }); // compile components\n\n          directives.forEach(function (dirType) {\n            var compMeta = _this408._metadataResolver.getDirectiveMetadata(dirType);\n\n            if (!compMeta.isComponent) {\n              return;\n            }\n\n            var ngModule = ngModuleByPipeOrDirective.get(dirType);\n\n            if (!ngModule) {\n              throw new Error(\"Internal Error: cannot determine the module for component \".concat(identifierName(compMeta.type), \"!\"));\n            } // compile styles\n\n\n            var componentStylesheet = _this408._styleCompiler.compileComponent(outputCtx, compMeta); // Note: compMeta is a component and therefore template is non null.\n\n\n            compMeta.template.externalStylesheets.forEach(function (stylesheetMeta) {\n              // Note: fill non shim and shim style files as they might\n              // be shared by component with and without ViewEncapsulation.\n              var shim = _this408._styleCompiler.needsStyleShim(compMeta);\n\n              generatedFiles.push(_this408._codegenStyles(srcFileUrl, compMeta, stylesheetMeta, shim, fileSuffix));\n\n              if (_this408._options.allowEmptyCodegenFiles) {\n                generatedFiles.push(_this408._codegenStyles(srcFileUrl, compMeta, stylesheetMeta, !shim, fileSuffix));\n              }\n            }); // compile components\n\n            var compViewVars = _this408._compileComponent(outputCtx, compMeta, ngModule, ngModule.transitiveModule.directives, componentStylesheet, fileSuffix);\n\n            _this408._compileComponentFactory(outputCtx, compMeta, ngModule, fileSuffix);\n          });\n\n          if (outputCtx.statements.length > 0 || this._options.allowEmptyCodegenFiles) {\n            var srcModule = this._codegenSourceModule(srcFileUrl, outputCtx);\n\n            generatedFiles.unshift(srcModule);\n          }\n\n          return generatedFiles;\n        }\n      }, {\n        key: \"_createSummary\",\n        value: function _createSummary(srcFileName, directives, pipes, ngModules, injectables, ngFactoryCtx) {\n          var _this409 = this;\n\n          var symbolSummaries = this._symbolResolver.getSymbolsOf(srcFileName).map(function (symbol) {\n            return _this409._symbolResolver.resolveSymbol(symbol);\n          });\n\n          var typeData = [].concat(_toConsumableArray(ngModules.map(function (meta) {\n            return {\n              summary: _this409._metadataResolver.getNgModuleSummary(meta.type.reference),\n              metadata: _this409._metadataResolver.getNgModuleMetadata(meta.type.reference)\n            };\n          })), _toConsumableArray(directives.map(function (ref) {\n            return {\n              summary: _this409._metadataResolver.getDirectiveSummary(ref),\n              metadata: _this409._metadataResolver.getDirectiveMetadata(ref)\n            };\n          })), _toConsumableArray(pipes.map(function (ref) {\n            return {\n              summary: _this409._metadataResolver.getPipeSummary(ref),\n              metadata: _this409._metadataResolver.getPipeMetadata(ref)\n            };\n          })), _toConsumableArray(injectables.map(function (ref) {\n            return {\n              summary: _this409._metadataResolver.getInjectableSummary(ref.symbol),\n              metadata: _this409._metadataResolver.getInjectableSummary(ref.symbol).type\n            };\n          })));\n          var forJitOutputCtx = this._options.enableSummariesForJit ? this._createOutputContext(summaryForJitFileName(srcFileName, true)) : null;\n\n          var _serializeSummaries = serializeSummaries(srcFileName, forJitOutputCtx, this._summaryResolver, this._symbolResolver, symbolSummaries, typeData, this._options.createExternalSymbolFactoryReexports),\n              json = _serializeSummaries.json,\n              exportAs = _serializeSummaries.exportAs;\n\n          exportAs.forEach(function (entry) {\n            ngFactoryCtx.statements.push(variable(entry.exportAs).set(ngFactoryCtx.importExpr(entry.symbol)).toDeclStmt(null, [StmtModifier.Exported]));\n          });\n          var summaryJson = new GeneratedFile(srcFileName, summaryFileName(srcFileName), json);\n          var result = [summaryJson];\n\n          if (forJitOutputCtx) {\n            result.push(this._codegenSourceModule(srcFileName, forJitOutputCtx));\n          }\n\n          return result;\n        }\n      }, {\n        key: \"_compileModule\",\n        value: function _compileModule(outputCtx, ngModule) {\n          var providers = [];\n\n          if (this._options.locale) {\n            var normalizedLocale = this._options.locale.replace(/_/g, '-');\n\n            providers.push({\n              token: createTokenForExternalReference(this.reflector, Identifiers.LOCALE_ID),\n              useValue: normalizedLocale\n            });\n          }\n\n          if (this._options.i18nFormat) {\n            providers.push({\n              token: createTokenForExternalReference(this.reflector, Identifiers.TRANSLATIONS_FORMAT),\n              useValue: this._options.i18nFormat\n            });\n          }\n\n          this._ngModuleCompiler.compile(outputCtx, ngModule, providers);\n        }\n      }, {\n        key: \"_compileComponentFactory\",\n        value: function _compileComponentFactory(outputCtx, compMeta, ngModule, fileSuffix) {\n          var hostMeta = this._metadataResolver.getHostComponentMetadata(compMeta);\n\n          var hostViewFactoryVar = this._compileComponent(outputCtx, hostMeta, ngModule, [compMeta.type], null, fileSuffix).viewClassVar;\n\n          var compFactoryVar = componentFactoryName(compMeta.type.reference);\n          var inputsExprs = [];\n\n          for (var propName in compMeta.inputs) {\n            var templateName = compMeta.inputs[propName]; // Don't quote so that the key gets minified...\n\n            inputsExprs.push(new LiteralMapEntry(propName, literal(templateName), false));\n          }\n\n          var outputsExprs = [];\n\n          for (var _propName in compMeta.outputs) {\n            var _templateName = compMeta.outputs[_propName]; // Don't quote so that the key gets minified...\n\n            outputsExprs.push(new LiteralMapEntry(_propName, literal(_templateName), false));\n          }\n\n          outputCtx.statements.push(variable(compFactoryVar).set(importExpr(Identifiers.createComponentFactory).callFn([literal(compMeta.selector), outputCtx.importExpr(compMeta.type.reference), variable(hostViewFactoryVar), new LiteralMapExpr(inputsExprs), new LiteralMapExpr(outputsExprs), literalArr(compMeta.template.ngContentSelectors.map(function (selector) {\n            return literal(selector);\n          }))])).toDeclStmt(importType(Identifiers.ComponentFactory, [expressionType(outputCtx.importExpr(compMeta.type.reference))], [TypeModifier.Const]), [StmtModifier.Final, StmtModifier.Exported]));\n        }\n      }, {\n        key: \"_compileComponent\",\n        value: function _compileComponent(outputCtx, compMeta, ngModule, directiveIdentifiers, componentStyles, fileSuffix) {\n          var _this$_parseTemplate2 = this._parseTemplate(compMeta, ngModule, directiveIdentifiers),\n              parsedTemplate = _this$_parseTemplate2.template,\n              usedPipes = _this$_parseTemplate2.pipes;\n\n          var stylesExpr = componentStyles ? variable(componentStyles.stylesVar) : literalArr([]);\n\n          var viewResult = this._viewCompiler.compileComponent(outputCtx, compMeta, parsedTemplate, stylesExpr, usedPipes);\n\n          if (componentStyles) {\n            _resolveStyleStatements(this._symbolResolver, componentStyles, this._styleCompiler.needsStyleShim(compMeta), fileSuffix);\n          }\n\n          return viewResult;\n        }\n      }, {\n        key: \"_parseTemplate\",\n        value: function _parseTemplate(compMeta, ngModule, directiveIdentifiers) {\n          var _this410 = this;\n\n          if (this._templateAstCache.has(compMeta.type.reference)) {\n            return this._templateAstCache.get(compMeta.type.reference);\n          }\n\n          var preserveWhitespaces = compMeta.template.preserveWhitespaces;\n          var directives = directiveIdentifiers.map(function (dir) {\n            return _this410._metadataResolver.getDirectiveSummary(dir.reference);\n          });\n          var pipes = ngModule.transitiveModule.pipes.map(function (pipe) {\n            return _this410._metadataResolver.getPipeSummary(pipe.reference);\n          });\n\n          var result = this._templateParser.parse(compMeta, compMeta.template.htmlAst, directives, pipes, ngModule.schemas, templateSourceUrl(ngModule.type, compMeta, compMeta.template), preserveWhitespaces);\n\n          this._templateAstCache.set(compMeta.type.reference, result);\n\n          return result;\n        }\n      }, {\n        key: \"_createOutputContext\",\n        value: function _createOutputContext(genFilePath) {\n          var _this411 = this;\n\n          var importExpr$1 = function importExpr$1(symbol) {\n            var typeParams = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n            var useSummaries = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n\n            if (!(symbol instanceof StaticSymbol)) {\n              throw new Error(\"Internal error: unknown identifier \".concat(JSON.stringify(symbol)));\n            }\n\n            var arity = _this411._symbolResolver.getTypeArity(symbol) || 0;\n\n            var _ref61 = _this411._symbolResolver.getImportAs(symbol, useSummaries) || symbol,\n                filePath = _ref61.filePath,\n                name = _ref61.name,\n                members = _ref61.members;\n\n            var importModule = _this411._fileNameToModuleName(filePath, genFilePath); // It should be good enough to compare filePath to genFilePath and if they are equal\n            // there is a self reference. However, ngfactory files generate to .ts but their\n            // symbols have .d.ts so a simple compare is insufficient. They should be canonical\n            // and is tracked by #17705.\n\n\n            var selfReference = _this411._fileNameToModuleName(genFilePath, genFilePath);\n\n            var moduleName = importModule === selfReference ? null : importModule; // If we are in a type expression that refers to a generic type then supply\n            // the required type parameters. If there were not enough type parameters\n            // supplied, supply any as the type. Outside a type expression the reference\n            // should not supply type parameters and be treated as a simple value reference\n            // to the constructor function itself.\n\n            var suppliedTypeParams = typeParams || [];\n            var missingTypeParamsCount = arity - suppliedTypeParams.length;\n            var allTypeParams = suppliedTypeParams.concat(new Array(missingTypeParamsCount).fill(DYNAMIC_TYPE));\n            return members.reduce(function (expr, memberName) {\n              return expr.prop(memberName);\n            }, importExpr(new ExternalReference(moduleName, name, null), allTypeParams));\n          };\n\n          return {\n            statements: [],\n            genFilePath: genFilePath,\n            importExpr: importExpr$1,\n            constantPool: new ConstantPool()\n          };\n        }\n      }, {\n        key: \"_fileNameToModuleName\",\n        value: function _fileNameToModuleName(importedFilePath, containingFilePath) {\n          return this._summaryResolver.getKnownModuleName(importedFilePath) || this._symbolResolver.getKnownModuleName(importedFilePath) || this._host.fileNameToModuleName(importedFilePath, containingFilePath);\n        }\n      }, {\n        key: \"_codegenStyles\",\n        value: function _codegenStyles(srcFileUrl, compMeta, stylesheetMetadata, isShimmed, fileSuffix) {\n          var outputCtx = this._createOutputContext(_stylesModuleUrl(stylesheetMetadata.moduleUrl, isShimmed, fileSuffix));\n\n          var compiledStylesheet = this._styleCompiler.compileStyles(outputCtx, compMeta, stylesheetMetadata, isShimmed);\n\n          _resolveStyleStatements(this._symbolResolver, compiledStylesheet, isShimmed, fileSuffix);\n\n          return this._codegenSourceModule(srcFileUrl, outputCtx);\n        }\n      }, {\n        key: \"_codegenSourceModule\",\n        value: function _codegenSourceModule(srcFileUrl, ctx) {\n          return new GeneratedFile(srcFileUrl, ctx.genFilePath, ctx.statements);\n        }\n      }, {\n        key: \"listLazyRoutes\",\n        value: function listLazyRoutes(entryRoute, analyzedModules) {\n          var self = this;\n\n          if (entryRoute) {\n            var symbol = parseLazyRoute(entryRoute, this.reflector).referencedModule;\n            return visitLazyRoute(symbol);\n          } else if (analyzedModules) {\n            var allLazyRoutes = [];\n            var _iteratorNormalCompletion35 = true;\n            var _didIteratorError35 = false;\n            var _iteratorError35 = undefined;\n\n            try {\n              for (var _iterator35 = analyzedModules.ngModules[Symbol.iterator](), _step35; !(_iteratorNormalCompletion35 = (_step35 = _iterator35.next()).done); _iteratorNormalCompletion35 = true) {\n                var ngModule = _step35.value;\n\n                var lazyRoutes = _listLazyRoutes(ngModule, this.reflector);\n\n                var _iteratorNormalCompletion36 = true;\n                var _didIteratorError36 = false;\n                var _iteratorError36 = undefined;\n\n                try {\n                  for (var _iterator36 = lazyRoutes[Symbol.iterator](), _step36; !(_iteratorNormalCompletion36 = (_step36 = _iterator36.next()).done); _iteratorNormalCompletion36 = true) {\n                    var lazyRoute = _step36.value;\n                    allLazyRoutes.push(lazyRoute);\n                  }\n                } catch (err) {\n                  _didIteratorError36 = true;\n                  _iteratorError36 = err;\n                } finally {\n                  try {\n                    if (!_iteratorNormalCompletion36 && _iterator36.return != null) {\n                      _iterator36.return();\n                    }\n                  } finally {\n                    if (_didIteratorError36) {\n                      throw _iteratorError36;\n                    }\n                  }\n                }\n              }\n            } catch (err) {\n              _didIteratorError35 = true;\n              _iteratorError35 = err;\n            } finally {\n              try {\n                if (!_iteratorNormalCompletion35 && _iterator35.return != null) {\n                  _iterator35.return();\n                }\n              } finally {\n                if (_didIteratorError35) {\n                  throw _iteratorError35;\n                }\n              }\n            }\n\n            return allLazyRoutes;\n          } else {\n            throw new Error(\"Either route or analyzedModules has to be specified!\");\n          }\n\n          function visitLazyRoute(symbol) {\n            var seenRoutes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : new Set();\n            var allLazyRoutes = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n\n            // Support pointing to default exports, but stop recursing there,\n            // as the StaticReflector does not yet support default exports.\n            if (seenRoutes.has(symbol) || !symbol.name) {\n              return allLazyRoutes;\n            }\n\n            seenRoutes.add(symbol);\n\n            var lazyRoutes = _listLazyRoutes(self._metadataResolver.getNgModuleMetadata(symbol, true), self.reflector);\n\n            var _iteratorNormalCompletion37 = true;\n            var _didIteratorError37 = false;\n            var _iteratorError37 = undefined;\n\n            try {\n              for (var _iterator37 = lazyRoutes[Symbol.iterator](), _step37; !(_iteratorNormalCompletion37 = (_step37 = _iterator37.next()).done); _iteratorNormalCompletion37 = true) {\n                var _lazyRoute = _step37.value;\n                allLazyRoutes.push(_lazyRoute);\n                visitLazyRoute(_lazyRoute.referencedModule, seenRoutes, allLazyRoutes);\n              }\n            } catch (err) {\n              _didIteratorError37 = true;\n              _iteratorError37 = err;\n            } finally {\n              try {\n                if (!_iteratorNormalCompletion37 && _iterator37.return != null) {\n                  _iterator37.return();\n                }\n              } finally {\n                if (_didIteratorError37) {\n                  throw _iteratorError37;\n                }\n              }\n            }\n\n            return allLazyRoutes;\n          }\n        }\n      }]);\n\n      return AotCompiler;\n    }();\n\n    function _createEmptyStub(outputCtx) {\n      // Note: We need to produce at least one import statement so that\n      // TypeScript knows that the file is an es6 module. Otherwise our generated\n      // exports / imports won't be emitted properly by TypeScript.\n      outputCtx.statements.push(importExpr(Identifiers.ComponentFactory).toStmt());\n    }\n\n    function _resolveStyleStatements(symbolResolver, compileResult, needsShim, fileSuffix) {\n      compileResult.dependencies.forEach(function (dep) {\n        dep.setValue(symbolResolver.getStaticSymbol(_stylesModuleUrl(dep.moduleUrl, needsShim, fileSuffix), dep.name));\n      });\n    }\n\n    function _stylesModuleUrl(stylesheetUrl, shim, suffix) {\n      return \"\".concat(stylesheetUrl).concat(shim ? '.shim' : '', \".ngstyle\").concat(suffix);\n    }\n\n    function analyzeNgModules(fileNames, host, staticSymbolResolver, metadataResolver) {\n      var files = _analyzeFilesIncludingNonProgramFiles(fileNames, host, staticSymbolResolver, metadataResolver);\n\n      return mergeAnalyzedFiles(files);\n    }\n\n    function analyzeAndValidateNgModules(fileNames, host, staticSymbolResolver, metadataResolver) {\n      return validateAnalyzedModules(analyzeNgModules(fileNames, host, staticSymbolResolver, metadataResolver));\n    }\n\n    function validateAnalyzedModules(analyzedModules) {\n      if (analyzedModules.symbolsMissingModule && analyzedModules.symbolsMissingModule.length) {\n        var messages = analyzedModules.symbolsMissingModule.map(function (s) {\n          return \"Cannot determine the module for class \".concat(s.name, \" in \").concat(s.filePath, \"! Add \").concat(s.name, \" to the NgModule to fix it.\");\n        });\n        throw syntaxError(messages.join('\\n'));\n      }\n\n      return analyzedModules;\n    } // Analyzes all of the program files,\n    // including files that are not part of the program\n    // but are referenced by an NgModule.\n\n\n    function _analyzeFilesIncludingNonProgramFiles(fileNames, host, staticSymbolResolver, metadataResolver) {\n      var seenFiles = new Set();\n      var files = [];\n\n      var visitFile = function visitFile(fileName) {\n        if (seenFiles.has(fileName) || !host.isSourceFile(fileName)) {\n          return false;\n        }\n\n        seenFiles.add(fileName);\n        var analyzedFile = analyzeFile(host, staticSymbolResolver, metadataResolver, fileName);\n        files.push(analyzedFile);\n        analyzedFile.ngModules.forEach(function (ngModule) {\n          ngModule.transitiveModule.modules.forEach(function (modMeta) {\n            return visitFile(modMeta.reference.filePath);\n          });\n        });\n      };\n\n      fileNames.forEach(function (fileName) {\n        return visitFile(fileName);\n      });\n      return files;\n    }\n\n    function analyzeFile(host, staticSymbolResolver, metadataResolver, fileName) {\n      var directives = [];\n      var pipes = [];\n      var injectables = [];\n      var ngModules = [];\n      var hasDecorators = staticSymbolResolver.hasDecorators(fileName);\n      var exportsNonSourceFiles = false; // Don't analyze .d.ts files that have no decorators as a shortcut\n      // to speed up the analysis. This prevents us from\n      // resolving the references in these files.\n      // Note: exportsNonSourceFiles is only needed when compiling with summaries,\n      // which is not the case when .d.ts files are treated as input files.\n\n      if (!fileName.endsWith('.d.ts') || hasDecorators) {\n        staticSymbolResolver.getSymbolsOf(fileName).forEach(function (symbol) {\n          var resolvedSymbol = staticSymbolResolver.resolveSymbol(symbol);\n          var symbolMeta = resolvedSymbol.metadata;\n\n          if (!symbolMeta || symbolMeta.__symbolic === 'error') {\n            return;\n          }\n\n          var isNgSymbol = false;\n\n          if (symbolMeta.__symbolic === 'class') {\n            if (metadataResolver.isDirective(symbol)) {\n              isNgSymbol = true;\n              directives.push(symbol);\n            } else if (metadataResolver.isPipe(symbol)) {\n              isNgSymbol = true;\n              pipes.push(symbol);\n            } else if (metadataResolver.isNgModule(symbol)) {\n              var ngModule = metadataResolver.getNgModuleMetadata(symbol, false);\n\n              if (ngModule) {\n                isNgSymbol = true;\n                ngModules.push(ngModule);\n              }\n            } else if (metadataResolver.isInjectable(symbol)) {\n              isNgSymbol = true;\n              var injectable = metadataResolver.getInjectableMetadata(symbol, null, false);\n\n              if (injectable) {\n                injectables.push(injectable);\n              }\n            }\n          }\n\n          if (!isNgSymbol) {\n            exportsNonSourceFiles = exportsNonSourceFiles || isValueExportingNonSourceFile(host, symbolMeta);\n          }\n        });\n      }\n\n      return {\n        fileName: fileName,\n        directives: directives,\n        pipes: pipes,\n        ngModules: ngModules,\n        injectables: injectables,\n        exportsNonSourceFiles: exportsNonSourceFiles\n      };\n    }\n\n    function analyzeFileForInjectables(host, staticSymbolResolver, metadataResolver, fileName) {\n      var injectables = [];\n      var shallowModules = [];\n\n      if (staticSymbolResolver.hasDecorators(fileName)) {\n        staticSymbolResolver.getSymbolsOf(fileName).forEach(function (symbol) {\n          var resolvedSymbol = staticSymbolResolver.resolveSymbol(symbol);\n          var symbolMeta = resolvedSymbol.metadata;\n\n          if (!symbolMeta || symbolMeta.__symbolic === 'error') {\n            return;\n          }\n\n          if (symbolMeta.__symbolic === 'class') {\n            if (metadataResolver.isInjectable(symbol)) {\n              var injectable = metadataResolver.getInjectableMetadata(symbol, null, false);\n\n              if (injectable) {\n                injectables.push(injectable);\n              }\n            } else if (metadataResolver.isNgModule(symbol)) {\n              var _module4 = metadataResolver.getShallowModuleMetadata(symbol);\n\n              if (_module4) {\n                shallowModules.push(_module4);\n              }\n            }\n          }\n        });\n      }\n\n      return {\n        fileName: fileName,\n        injectables: injectables,\n        shallowModules: shallowModules\n      };\n    }\n\n    function isValueExportingNonSourceFile(host, metadata) {\n      var exportsNonSourceFiles = false;\n\n      var Visitor =\n      /*#__PURE__*/\n      function () {\n        function Visitor() {\n          _classCallCheck(this, Visitor);\n        }\n\n        _createClass2(Visitor, [{\n          key: \"visitArray\",\n          value: function visitArray(arr, context) {\n            var _this412 = this;\n\n            arr.forEach(function (v) {\n              return visitValue(v, _this412, context);\n            });\n          }\n        }, {\n          key: \"visitStringMap\",\n          value: function visitStringMap(map, context) {\n            var _this413 = this;\n\n            Object.keys(map).forEach(function (key) {\n              return visitValue(map[key], _this413, context);\n            });\n          }\n        }, {\n          key: \"visitPrimitive\",\n          value: function visitPrimitive(value, context) {}\n        }, {\n          key: \"visitOther\",\n          value: function visitOther(value, context) {\n            if (value instanceof StaticSymbol && !host.isSourceFile(value.filePath)) {\n              exportsNonSourceFiles = true;\n            }\n          }\n        }]);\n\n        return Visitor;\n      }();\n\n      visitValue(metadata, new Visitor(), null);\n      return exportsNonSourceFiles;\n    }\n\n    function mergeAnalyzedFiles(analyzedFiles) {\n      var allNgModules = [];\n      var ngModuleByPipeOrDirective = new Map();\n      var allPipesAndDirectives = new Set();\n      analyzedFiles.forEach(function (af) {\n        af.ngModules.forEach(function (ngModule) {\n          allNgModules.push(ngModule);\n          ngModule.declaredDirectives.forEach(function (d) {\n            return ngModuleByPipeOrDirective.set(d.reference, ngModule);\n          });\n          ngModule.declaredPipes.forEach(function (p) {\n            return ngModuleByPipeOrDirective.set(p.reference, ngModule);\n          });\n        });\n        af.directives.forEach(function (d) {\n          return allPipesAndDirectives.add(d);\n        });\n        af.pipes.forEach(function (p) {\n          return allPipesAndDirectives.add(p);\n        });\n      });\n      var symbolsMissingModule = [];\n      allPipesAndDirectives.forEach(function (ref) {\n        if (!ngModuleByPipeOrDirective.has(ref)) {\n          symbolsMissingModule.push(ref);\n        }\n      });\n      return {\n        ngModules: allNgModules,\n        ngModuleByPipeOrDirective: ngModuleByPipeOrDirective,\n        symbolsMissingModule: symbolsMissingModule,\n        files: analyzedFiles\n      };\n    }\n\n    function mergeAndValidateNgFiles(files) {\n      return validateAnalyzedModules(mergeAnalyzedFiles(files));\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var FORMATTED_MESSAGE = 'ngFormattedMessage';\n\n    function indentStr(level) {\n      if (level <= 0) return '';\n      if (level < 6) return ['', ' ', '  ', '   ', '    ', '     '][level];\n      var half = indentStr(Math.floor(level / 2));\n      return half + half + (level % 2 === 1 ? ' ' : '');\n    }\n\n    function formatChain(chain) {\n      var indent = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n      if (!chain) return '';\n      var position = chain.position ? \"\".concat(chain.position.fileName, \"(\").concat(chain.position.line + 1, \",\").concat(chain.position.column + 1, \")\") : '';\n      var prefix = position && indent === 0 ? \"\".concat(position, \": \") : '';\n      var postfix = position && indent !== 0 ? \" at \".concat(position) : '';\n      var message = \"\".concat(prefix).concat(chain.message).concat(postfix);\n      return \"\".concat(indentStr(indent)).concat(message).concat(chain.next && '\\n' + formatChain(chain.next, indent + 2) || '');\n    }\n\n    function formattedError(chain) {\n      var message = formatChain(chain) + '.';\n      var error = syntaxError(message);\n      error[FORMATTED_MESSAGE] = true;\n      error.chain = chain;\n      error.position = chain.position;\n      return error;\n    }\n\n    function isFormattedError(error) {\n      return !!error[FORMATTED_MESSAGE];\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var ANGULAR_CORE = '@angular/core';\n    var ANGULAR_ROUTER = '@angular/router';\n    var HIDDEN_KEY = /^\\$.*\\$$/;\n    var IGNORE = {\n      __symbolic: 'ignore'\n    };\n    var USE_VALUE$1 = 'useValue';\n    var PROVIDE = 'provide';\n    var REFERENCE_SET = new Set([USE_VALUE$1, 'useFactory', 'data', 'id', 'loadChildren']);\n    var TYPEGUARD_POSTFIX = 'TypeGuard';\n    var USE_IF = 'UseIf';\n\n    function shouldIgnore(value) {\n      return value && value.__symbolic == 'ignore';\n    }\n    /**\n     * A static reflector implements enough of the Reflector API that is necessary to compile\n     * templates statically.\n     */\n\n\n    var StaticReflector =\n    /*#__PURE__*/\n    function () {\n      function StaticReflector(summaryResolver, symbolResolver) {\n        var _this414 = this;\n\n        var knownMetadataClasses = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n        var knownMetadataFunctions = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : [];\n        var errorRecorder = arguments.length > 4 ? arguments[4] : undefined;\n\n        _classCallCheck(this, StaticReflector);\n\n        this.summaryResolver = summaryResolver;\n        this.symbolResolver = symbolResolver;\n        this.errorRecorder = errorRecorder;\n        this.annotationCache = new Map();\n        this.shallowAnnotationCache = new Map();\n        this.propertyCache = new Map();\n        this.parameterCache = new Map();\n        this.methodCache = new Map();\n        this.staticCache = new Map();\n        this.conversionMap = new Map();\n        this.resolvedExternalReferences = new Map();\n        this.annotationForParentClassWithSummaryKind = new Map();\n        this.initializeConversionMap();\n        knownMetadataClasses.forEach(function (kc) {\n          return _this414._registerDecoratorOrConstructor(_this414.getStaticSymbol(kc.filePath, kc.name), kc.ctor);\n        });\n        knownMetadataFunctions.forEach(function (kf) {\n          return _this414._registerFunction(_this414.getStaticSymbol(kf.filePath, kf.name), kf.fn);\n        });\n        this.annotationForParentClassWithSummaryKind.set(CompileSummaryKind.Directive, [createDirective, createComponent]);\n        this.annotationForParentClassWithSummaryKind.set(CompileSummaryKind.Pipe, [createPipe]);\n        this.annotationForParentClassWithSummaryKind.set(CompileSummaryKind.NgModule, [createNgModule]);\n        this.annotationForParentClassWithSummaryKind.set(CompileSummaryKind.Injectable, [createInjectable, createPipe, createDirective, createComponent, createNgModule]);\n      }\n\n      _createClass2(StaticReflector, [{\n        key: \"componentModuleUrl\",\n        value: function componentModuleUrl(typeOrFunc) {\n          var staticSymbol = this.findSymbolDeclaration(typeOrFunc);\n          return this.symbolResolver.getResourcePath(staticSymbol);\n        }\n      }, {\n        key: \"resolveExternalReference\",\n        value: function resolveExternalReference(ref, containingFile) {\n          var key = undefined;\n\n          if (!containingFile) {\n            key = \"\".concat(ref.moduleName, \":\").concat(ref.name);\n\n            var _declarationSymbol = this.resolvedExternalReferences.get(key);\n\n            if (_declarationSymbol) return _declarationSymbol;\n          }\n\n          var refSymbol = this.symbolResolver.getSymbolByModule(ref.moduleName, ref.name, containingFile);\n          var declarationSymbol = this.findSymbolDeclaration(refSymbol);\n\n          if (!containingFile) {\n            this.symbolResolver.recordModuleNameForFileName(refSymbol.filePath, ref.moduleName);\n            this.symbolResolver.recordImportAs(declarationSymbol, refSymbol);\n          }\n\n          if (key) {\n            this.resolvedExternalReferences.set(key, declarationSymbol);\n          }\n\n          return declarationSymbol;\n        }\n      }, {\n        key: \"findDeclaration\",\n        value: function findDeclaration(moduleUrl, name, containingFile) {\n          return this.findSymbolDeclaration(this.symbolResolver.getSymbolByModule(moduleUrl, name, containingFile));\n        }\n      }, {\n        key: \"tryFindDeclaration\",\n        value: function tryFindDeclaration(moduleUrl, name, containingFile) {\n          var _this415 = this;\n\n          return this.symbolResolver.ignoreErrorsFor(function () {\n            return _this415.findDeclaration(moduleUrl, name, containingFile);\n          });\n        }\n      }, {\n        key: \"findSymbolDeclaration\",\n        value: function findSymbolDeclaration(symbol) {\n          var resolvedSymbol = this.symbolResolver.resolveSymbol(symbol);\n\n          if (resolvedSymbol) {\n            var resolvedMetadata = resolvedSymbol.metadata;\n\n            if (resolvedMetadata && resolvedMetadata.__symbolic === 'resolved') {\n              resolvedMetadata = resolvedMetadata.symbol;\n            }\n\n            if (resolvedMetadata instanceof StaticSymbol) {\n              return this.findSymbolDeclaration(resolvedSymbol.metadata);\n            }\n          }\n\n          return symbol;\n        }\n      }, {\n        key: \"tryAnnotations\",\n        value: function tryAnnotations(type) {\n          var originalRecorder = this.errorRecorder;\n\n          this.errorRecorder = function (error, fileName) {};\n\n          try {\n            return this.annotations(type);\n          } finally {\n            this.errorRecorder = originalRecorder;\n          }\n        }\n      }, {\n        key: \"annotations\",\n        value: function annotations(type) {\n          var _this416 = this;\n\n          return this._annotations(type, function (type, decorators) {\n            return _this416.simplify(type, decorators);\n          }, this.annotationCache);\n        }\n      }, {\n        key: \"shallowAnnotations\",\n        value: function shallowAnnotations(type) {\n          var _this417 = this;\n\n          return this._annotations(type, function (type, decorators) {\n            return _this417.simplify(type, decorators, true);\n          }, this.shallowAnnotationCache);\n        }\n      }, {\n        key: \"_annotations\",\n        value: function _annotations(type, simplify, annotationCache) {\n          var annotations = annotationCache.get(type);\n\n          if (!annotations) {\n            annotations = [];\n            var classMetadata = this.getTypeMetadata(type);\n            var parentType = this.findParentType(type, classMetadata);\n\n            if (parentType) {\n              var _annotations2;\n\n              var parentAnnotations = this.annotations(parentType);\n\n              (_annotations2 = annotations).push.apply(_annotations2, _toConsumableArray(parentAnnotations));\n            }\n\n            var ownAnnotations = [];\n\n            if (classMetadata['decorators']) {\n              ownAnnotations = simplify(type, classMetadata['decorators']);\n\n              if (ownAnnotations) {\n                var _annotations3;\n\n                (_annotations3 = annotations).push.apply(_annotations3, _toConsumableArray(ownAnnotations));\n              }\n            }\n\n            if (parentType && !this.summaryResolver.isLibraryFile(type.filePath) && this.summaryResolver.isLibraryFile(parentType.filePath)) {\n              var summary = this.summaryResolver.resolveSummary(parentType);\n\n              if (summary && summary.type) {\n                var requiredAnnotationTypes = this.annotationForParentClassWithSummaryKind.get(summary.type.summaryKind);\n                var typeHasRequiredAnnotation = requiredAnnotationTypes.some(function (requiredType) {\n                  return ownAnnotations.some(function (ann) {\n                    return requiredType.isTypeOf(ann);\n                  });\n                });\n\n                if (!typeHasRequiredAnnotation) {\n                  this.reportError(formatMetadataError(metadataError(\"Class \".concat(type.name, \" in \").concat(type.filePath, \" extends from a \").concat(CompileSummaryKind[summary.type.summaryKind], \" in another compilation unit without duplicating the decorator\"),\n                  /* summary */\n                  undefined, \"Please add a \".concat(requiredAnnotationTypes.map(function (type) {\n                    return type.ngMetadataName;\n                  }).join(' or '), \" decorator to the class\")), type), type);\n                }\n              }\n            }\n\n            annotationCache.set(type, annotations.filter(function (ann) {\n              return !!ann;\n            }));\n          }\n\n          return annotations;\n        }\n      }, {\n        key: \"propMetadata\",\n        value: function propMetadata(type) {\n          var _this418 = this;\n\n          var propMetadata = this.propertyCache.get(type);\n\n          if (!propMetadata) {\n            var classMetadata = this.getTypeMetadata(type);\n            propMetadata = {};\n            var parentType = this.findParentType(type, classMetadata);\n\n            if (parentType) {\n              var parentPropMetadata = this.propMetadata(parentType);\n              Object.keys(parentPropMetadata).forEach(function (parentProp) {\n                propMetadata[parentProp] = parentPropMetadata[parentProp];\n              });\n            }\n\n            var members = classMetadata['members'] || {};\n            Object.keys(members).forEach(function (propName) {\n              var propData = members[propName];\n              var prop = propData.find(function (a) {\n                return a['__symbolic'] == 'property' || a['__symbolic'] == 'method';\n              });\n              var decorators = [];\n\n              if (propMetadata[propName]) {\n                decorators.push.apply(decorators, _toConsumableArray(propMetadata[propName]));\n              }\n\n              propMetadata[propName] = decorators;\n\n              if (prop && prop['decorators']) {\n                decorators.push.apply(decorators, _toConsumableArray(_this418.simplify(type, prop['decorators'])));\n              }\n            });\n            this.propertyCache.set(type, propMetadata);\n          }\n\n          return propMetadata;\n        }\n      }, {\n        key: \"parameters\",\n        value: function parameters(type) {\n          var _this419 = this;\n\n          if (!(type instanceof StaticSymbol)) {\n            this.reportError(new Error(\"parameters received \".concat(JSON.stringify(type), \" which is not a StaticSymbol\")), type);\n            return [];\n          }\n\n          try {\n            var parameters = this.parameterCache.get(type);\n\n            if (!parameters) {\n              var classMetadata = this.getTypeMetadata(type);\n              var parentType = this.findParentType(type, classMetadata);\n              var members = classMetadata ? classMetadata['members'] : null;\n              var ctorData = members ? members['__ctor__'] : null;\n\n              if (ctorData) {\n                var ctor = ctorData.find(function (a) {\n                  return a['__symbolic'] == 'constructor';\n                });\n                var rawParameterTypes = ctor['parameters'] || [];\n                var parameterDecorators = this.simplify(type, ctor['parameterDecorators'] || []);\n                parameters = [];\n                rawParameterTypes.forEach(function (rawParamType, index) {\n                  var nestedResult = [];\n\n                  var paramType = _this419.trySimplify(type, rawParamType);\n\n                  if (paramType) nestedResult.push(paramType);\n                  var decorators = parameterDecorators ? parameterDecorators[index] : null;\n\n                  if (decorators) {\n                    nestedResult.push.apply(nestedResult, _toConsumableArray(decorators));\n                  }\n\n                  parameters.push(nestedResult);\n                });\n              } else if (parentType) {\n                parameters = this.parameters(parentType);\n              }\n\n              if (!parameters) {\n                parameters = [];\n              }\n\n              this.parameterCache.set(type, parameters);\n            }\n\n            return parameters;\n          } catch (e) {\n            console.error(\"Failed on type \".concat(JSON.stringify(type), \" with error \").concat(e));\n            throw e;\n          }\n        }\n      }, {\n        key: \"_methodNames\",\n        value: function _methodNames(type) {\n          var methodNames = this.methodCache.get(type);\n\n          if (!methodNames) {\n            var classMetadata = this.getTypeMetadata(type);\n            methodNames = {};\n            var parentType = this.findParentType(type, classMetadata);\n\n            if (parentType) {\n              var parentMethodNames = this._methodNames(parentType);\n\n              Object.keys(parentMethodNames).forEach(function (parentProp) {\n                methodNames[parentProp] = parentMethodNames[parentProp];\n              });\n            }\n\n            var members = classMetadata['members'] || {};\n            Object.keys(members).forEach(function (propName) {\n              var propData = members[propName];\n              var isMethod = propData.some(function (a) {\n                return a['__symbolic'] == 'method';\n              });\n              methodNames[propName] = methodNames[propName] || isMethod;\n            });\n            this.methodCache.set(type, methodNames);\n          }\n\n          return methodNames;\n        }\n      }, {\n        key: \"_staticMembers\",\n        value: function _staticMembers(type) {\n          var staticMembers = this.staticCache.get(type);\n\n          if (!staticMembers) {\n            var classMetadata = this.getTypeMetadata(type);\n            var staticMemberData = classMetadata['statics'] || {};\n            staticMembers = Object.keys(staticMemberData);\n            this.staticCache.set(type, staticMembers);\n          }\n\n          return staticMembers;\n        }\n      }, {\n        key: \"findParentType\",\n        value: function findParentType(type, classMetadata) {\n          var parentType = this.trySimplify(type, classMetadata['extends']);\n\n          if (parentType instanceof StaticSymbol) {\n            return parentType;\n          }\n        }\n      }, {\n        key: \"hasLifecycleHook\",\n        value: function hasLifecycleHook(type, lcProperty) {\n          if (!(type instanceof StaticSymbol)) {\n            this.reportError(new Error(\"hasLifecycleHook received \".concat(JSON.stringify(type), \" which is not a StaticSymbol\")), type);\n          }\n\n          try {\n            return !!this._methodNames(type)[lcProperty];\n          } catch (e) {\n            console.error(\"Failed on type \".concat(JSON.stringify(type), \" with error \").concat(e));\n            throw e;\n          }\n        }\n      }, {\n        key: \"guards\",\n        value: function guards(type) {\n          if (!(type instanceof StaticSymbol)) {\n            this.reportError(new Error(\"guards received \".concat(JSON.stringify(type), \" which is not a StaticSymbol\")), type);\n            return {};\n          }\n\n          var staticMembers = this._staticMembers(type);\n\n          var result = {};\n          var _iteratorNormalCompletion38 = true;\n          var _didIteratorError38 = false;\n          var _iteratorError38 = undefined;\n\n          try {\n            for (var _iterator38 = staticMembers[Symbol.iterator](), _step38; !(_iteratorNormalCompletion38 = (_step38 = _iterator38.next()).done); _iteratorNormalCompletion38 = true) {\n              var name = _step38.value;\n\n              if (name.endsWith(TYPEGUARD_POSTFIX)) {\n                var property = name.substr(0, name.length - TYPEGUARD_POSTFIX.length);\n                var value = void 0;\n\n                if (property.endsWith(USE_IF)) {\n                  property = name.substr(0, property.length - USE_IF.length);\n                  value = USE_IF;\n                } else {\n                  value = this.getStaticSymbol(type.filePath, type.name, [name]);\n                }\n\n                result[property] = value;\n              }\n            }\n          } catch (err) {\n            _didIteratorError38 = true;\n            _iteratorError38 = err;\n          } finally {\n            try {\n              if (!_iteratorNormalCompletion38 && _iterator38.return != null) {\n                _iterator38.return();\n              }\n            } finally {\n              if (_didIteratorError38) {\n                throw _iteratorError38;\n              }\n            }\n          }\n\n          return result;\n        }\n      }, {\n        key: \"_registerDecoratorOrConstructor\",\n        value: function _registerDecoratorOrConstructor(type, ctor) {\n          this.conversionMap.set(type, function (context, args) {\n            return _construct(ctor, _toConsumableArray(args));\n          });\n        }\n      }, {\n        key: \"_registerFunction\",\n        value: function _registerFunction(type, fn) {\n          this.conversionMap.set(type, function (context, args) {\n            return fn.apply(undefined, args);\n          });\n        }\n      }, {\n        key: \"initializeConversionMap\",\n        value: function initializeConversionMap() {\n          this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'Injectable'), createInjectable);\n\n          this.injectionToken = this.findDeclaration(ANGULAR_CORE, 'InjectionToken');\n          this.opaqueToken = this.findDeclaration(ANGULAR_CORE, 'OpaqueToken');\n          this.ROUTES = this.tryFindDeclaration(ANGULAR_ROUTER, 'ROUTES');\n          this.ANALYZE_FOR_ENTRY_COMPONENTS = this.findDeclaration(ANGULAR_CORE, 'ANALYZE_FOR_ENTRY_COMPONENTS');\n\n          this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'Host'), createHost);\n\n          this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'Self'), createSelf);\n\n          this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'SkipSelf'), createSkipSelf);\n\n          this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'Inject'), createInject);\n\n          this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'Optional'), createOptional);\n\n          this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'Attribute'), createAttribute);\n\n          this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'ContentChild'), createContentChild);\n\n          this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'ContentChildren'), createContentChildren);\n\n          this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'ViewChild'), createViewChild);\n\n          this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'ViewChildren'), createViewChildren);\n\n          this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'Input'), createInput);\n\n          this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'Output'), createOutput);\n\n          this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'Pipe'), createPipe);\n\n          this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'HostBinding'), createHostBinding);\n\n          this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'HostListener'), createHostListener);\n\n          this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'Directive'), createDirective);\n\n          this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'Component'), createComponent);\n\n          this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'NgModule'), createNgModule); // Note: Some metadata classes can be used directly with Provider.deps.\n\n\n          this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'Host'), createHost);\n\n          this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'Self'), createSelf);\n\n          this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'SkipSelf'), createSkipSelf);\n\n          this._registerDecoratorOrConstructor(this.findDeclaration(ANGULAR_CORE, 'Optional'), createOptional);\n        }\n        /**\n         * getStaticSymbol produces a Type whose metadata is known but whose implementation is not loaded.\n         * All types passed to the StaticResolver should be pseudo-types returned by this method.\n         *\n         * @param declarationFile the absolute path of the file where the symbol is declared\n         * @param name the name of the type.\n         */\n\n      }, {\n        key: \"getStaticSymbol\",\n        value: function getStaticSymbol(declarationFile, name, members) {\n          return this.symbolResolver.getStaticSymbol(declarationFile, name, members);\n        }\n        /**\n         * Simplify but discard any errors\n         */\n\n      }, {\n        key: \"trySimplify\",\n        value: function trySimplify(context, value) {\n          var originalRecorder = this.errorRecorder;\n\n          this.errorRecorder = function (error, fileName) {};\n\n          var result = this.simplify(context, value);\n          this.errorRecorder = originalRecorder;\n          return result;\n        }\n        /** @internal */\n\n      }, {\n        key: \"simplify\",\n        value: function simplify(context, value) {\n          var lazy = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n          var self = this;\n          var scope = BindingScope$1.empty;\n          var calling = new Map();\n          var rootContext = context;\n\n          function simplifyInContext(context, value, depth, references) {\n            function resolveReferenceValue(staticSymbol) {\n              var resolvedSymbol = self.symbolResolver.resolveSymbol(staticSymbol);\n              return resolvedSymbol ? resolvedSymbol.metadata : null;\n            }\n\n            function simplifyEagerly(value) {\n              return simplifyInContext(context, value, depth, 0);\n            }\n\n            function simplifyLazily(value) {\n              return simplifyInContext(context, value, depth, references + 1);\n            }\n\n            function simplifyNested(nestedContext, value) {\n              if (nestedContext === context) {\n                // If the context hasn't changed let the exception propagate unmodified.\n                return simplifyInContext(nestedContext, value, depth + 1, references);\n              }\n\n              try {\n                return simplifyInContext(nestedContext, value, depth + 1, references);\n              } catch (e) {\n                if (isMetadataError(e)) {\n                  // Propagate the message text up but add a message to the chain that explains how we got\n                  // here.\n                  // e.chain implies e.symbol\n                  var summaryMsg = e.chain ? 'references \\'' + e.symbol.name + '\\'' : errorSummary(e);\n                  var summary = \"'\".concat(nestedContext.name, \"' \").concat(summaryMsg);\n                  var chain = {\n                    message: summary,\n                    position: e.position,\n                    next: e.chain\n                  }; // TODO(chuckj): retrieve the position information indirectly from the collectors node\n                  // map if the metadata is from a .ts file.\n\n                  self.error({\n                    message: e.message,\n                    advise: e.advise,\n                    context: e.context,\n                    chain: chain,\n                    symbol: nestedContext\n                  }, context);\n                } else {\n                  // It is probably an internal error.\n                  throw e;\n                }\n              }\n            }\n\n            function simplifyCall(functionSymbol, targetFunction, args, targetExpression) {\n              if (targetFunction && targetFunction['__symbolic'] == 'function') {\n                if (calling.get(functionSymbol)) {\n                  self.error({\n                    message: 'Recursion is not supported',\n                    summary: \"called '\".concat(functionSymbol.name, \"' recursively\"),\n                    value: targetFunction\n                  }, functionSymbol);\n                }\n\n                try {\n                  var _value8 = targetFunction['value'];\n\n                  if (_value8 && (depth != 0 || _value8.__symbolic != 'error')) {\n                    var parameters = targetFunction['parameters'];\n                    var defaults = targetFunction.defaults;\n                    args = args.map(function (arg) {\n                      return simplifyNested(context, arg);\n                    }).map(function (arg) {\n                      return shouldIgnore(arg) ? undefined : arg;\n                    });\n\n                    if (defaults && defaults.length > args.length) {\n                      var _args2;\n\n                      (_args2 = args).push.apply(_args2, _toConsumableArray(defaults.slice(args.length).map(function (value) {\n                        return simplify(value);\n                      })));\n                    }\n\n                    calling.set(functionSymbol, true);\n                    var functionScope = BindingScope$1.build();\n\n                    for (var i = 0; i < parameters.length; i++) {\n                      functionScope.define(parameters[i], args[i]);\n                    }\n\n                    var oldScope = scope;\n\n                    var _result;\n\n                    try {\n                      scope = functionScope.done();\n                      _result = simplifyNested(functionSymbol, _value8);\n                    } finally {\n                      scope = oldScope;\n                    }\n\n                    return _result;\n                  }\n                } finally {\n                  calling.delete(functionSymbol);\n                }\n              }\n\n              if (depth === 0) {\n                // If depth is 0 we are evaluating the top level expression that is describing element\n                // decorator. In this case, it is a decorator we don't understand, such as a custom\n                // non-angular decorator, and we should just ignore it.\n                return IGNORE;\n              }\n\n              var position = undefined;\n\n              if (targetExpression && targetExpression.__symbolic == 'resolved') {\n                var line = targetExpression.line;\n                var character = targetExpression.character;\n                var fileName = targetExpression.fileName;\n\n                if (fileName != null && line != null && character != null) {\n                  position = {\n                    fileName: fileName,\n                    line: line,\n                    column: character\n                  };\n                }\n              }\n\n              self.error({\n                message: FUNCTION_CALL_NOT_SUPPORTED,\n                context: functionSymbol,\n                value: targetFunction,\n                position: position\n              }, context);\n            }\n\n            function simplify(expression) {\n              if (isPrimitive(expression)) {\n                return expression;\n              }\n\n              if (expression instanceof Array) {\n                var _result2 = [];\n                var _iteratorNormalCompletion39 = true;\n                var _didIteratorError39 = false;\n                var _iteratorError39 = undefined;\n\n                try {\n                  for (var _iterator39 = expression[Symbol.iterator](), _step39; !(_iteratorNormalCompletion39 = (_step39 = _iterator39.next()).done); _iteratorNormalCompletion39 = true) {\n                    var item = _step39.value;\n\n                    // Check for a spread expression\n                    if (item && item.__symbolic === 'spread') {\n                      // We call with references as 0 because we require the actual value and cannot\n                      // tolerate a reference here.\n                      var spreadArray = simplifyEagerly(item.expression);\n\n                      if (Array.isArray(spreadArray)) {\n                        var _iteratorNormalCompletion40 = true;\n                        var _didIteratorError40 = false;\n                        var _iteratorError40 = undefined;\n\n                        try {\n                          for (var _iterator40 = spreadArray[Symbol.iterator](), _step40; !(_iteratorNormalCompletion40 = (_step40 = _iterator40.next()).done); _iteratorNormalCompletion40 = true) {\n                            var spreadItem = _step40.value;\n\n                            _result2.push(spreadItem);\n                          }\n                        } catch (err) {\n                          _didIteratorError40 = true;\n                          _iteratorError40 = err;\n                        } finally {\n                          try {\n                            if (!_iteratorNormalCompletion40 && _iterator40.return != null) {\n                              _iterator40.return();\n                            }\n                          } finally {\n                            if (_didIteratorError40) {\n                              throw _iteratorError40;\n                            }\n                          }\n                        }\n\n                        continue;\n                      }\n                    }\n\n                    var _value9 = simplify(item);\n\n                    if (shouldIgnore(_value9)) {\n                      continue;\n                    }\n\n                    _result2.push(_value9);\n                  }\n                } catch (err) {\n                  _didIteratorError39 = true;\n                  _iteratorError39 = err;\n                } finally {\n                  try {\n                    if (!_iteratorNormalCompletion39 && _iterator39.return != null) {\n                      _iterator39.return();\n                    }\n                  } finally {\n                    if (_didIteratorError39) {\n                      throw _iteratorError39;\n                    }\n                  }\n                }\n\n                return _result2;\n              }\n\n              if (expression instanceof StaticSymbol) {\n                // Stop simplification at builtin symbols or if we are in a reference context and\n                // the symbol doesn't have members.\n                if (expression === self.injectionToken || self.conversionMap.has(expression) || references > 0 && !expression.members.length) {\n                  return expression;\n                } else {\n                  var staticSymbol = expression;\n                  var declarationValue = resolveReferenceValue(staticSymbol);\n\n                  if (declarationValue != null) {\n                    return simplifyNested(staticSymbol, declarationValue);\n                  } else {\n                    return staticSymbol;\n                  }\n                }\n              }\n\n              if (expression) {\n                if (expression['__symbolic']) {\n                  var _staticSymbol;\n\n                  switch (expression['__symbolic']) {\n                    case 'binop':\n                      var left = simplify(expression['left']);\n                      if (shouldIgnore(left)) return left;\n                      var right = simplify(expression['right']);\n                      if (shouldIgnore(right)) return right;\n\n                      switch (expression['operator']) {\n                        case '&&':\n                          return left && right;\n\n                        case '||':\n                          return left || right;\n\n                        case '|':\n                          return left | right;\n\n                        case '^':\n                          return left ^ right;\n\n                        case '&':\n                          return left & right;\n\n                        case '==':\n                          return left == right;\n\n                        case '!=':\n                          return left != right;\n\n                        case '===':\n                          return left === right;\n\n                        case '!==':\n                          return left !== right;\n\n                        case '<':\n                          return left < right;\n\n                        case '>':\n                          return left > right;\n\n                        case '<=':\n                          return left <= right;\n\n                        case '>=':\n                          return left >= right;\n\n                        case '<<':\n                          return left << right;\n\n                        case '>>':\n                          return left >> right;\n\n                        case '+':\n                          return left + right;\n\n                        case '-':\n                          return left - right;\n\n                        case '*':\n                          return left * right;\n\n                        case '/':\n                          return left / right;\n\n                        case '%':\n                          return left % right;\n                      }\n\n                      return null;\n\n                    case 'if':\n                      var condition = simplify(expression['condition']);\n                      return condition ? simplify(expression['thenExpression']) : simplify(expression['elseExpression']);\n\n                    case 'pre':\n                      var operand = simplify(expression['operand']);\n                      if (shouldIgnore(operand)) return operand;\n\n                      switch (expression['operator']) {\n                        case '+':\n                          return operand;\n\n                        case '-':\n                          return -operand;\n\n                        case '!':\n                          return !operand;\n\n                        case '~':\n                          return ~operand;\n                      }\n\n                      return null;\n\n                    case 'index':\n                      var indexTarget = simplifyEagerly(expression['expression']);\n                      var index = simplifyEagerly(expression['index']);\n                      if (indexTarget && isPrimitive(index)) return indexTarget[index];\n                      return null;\n\n                    case 'select':\n                      var member = expression['member'];\n                      var selectContext = context;\n                      var selectTarget = simplify(expression['expression']);\n\n                      if (selectTarget instanceof StaticSymbol) {\n                        var members = selectTarget.members.concat(member);\n                        selectContext = self.getStaticSymbol(selectTarget.filePath, selectTarget.name, members);\n\n                        var _declarationValue = resolveReferenceValue(selectContext);\n\n                        if (_declarationValue != null) {\n                          return simplifyNested(selectContext, _declarationValue);\n                        } else {\n                          return selectContext;\n                        }\n                      }\n\n                      if (selectTarget && isPrimitive(member)) return simplifyNested(selectContext, selectTarget[member]);\n                      return null;\n\n                    case 'reference':\n                      // Note: This only has to deal with variable references, as symbol references have\n                      // been converted into 'resolved'\n                      // in the StaticSymbolResolver.\n                      var name = expression['name'];\n                      var localValue = scope.resolve(name);\n\n                      if (localValue != BindingScope$1.missing) {\n                        return localValue;\n                      }\n\n                      break;\n\n                    case 'resolved':\n                      try {\n                        return simplify(expression.symbol);\n                      } catch (e) {\n                        // If an error is reported evaluating the symbol record the position of the\n                        // reference in the error so it can\n                        // be reported in the error message generated from the exception.\n                        if (isMetadataError(e) && expression.fileName != null && expression.line != null && expression.character != null) {\n                          e.position = {\n                            fileName: expression.fileName,\n                            line: expression.line,\n                            column: expression.character\n                          };\n                        }\n\n                        throw e;\n                      }\n\n                    case 'class':\n                      return context;\n\n                    case 'function':\n                      return context;\n\n                    case 'new':\n                    case 'call':\n                      // Determine if the function is a built-in conversion\n                      _staticSymbol = simplifyInContext(context, expression['expression'], depth + 1,\n                      /* references */\n                      0);\n\n                      if (_staticSymbol instanceof StaticSymbol) {\n                        if (_staticSymbol === self.injectionToken || _staticSymbol === self.opaqueToken) {\n                          // if somebody calls new InjectionToken, don't create an InjectionToken,\n                          // but rather return the symbol to which the InjectionToken is assigned to.\n                          // OpaqueToken is supported too as it is required by the language service to\n                          // support v4 and prior versions of Angular.\n                          return context;\n                        }\n\n                        var argExpressions = expression['arguments'] || [];\n                        var converter = self.conversionMap.get(_staticSymbol);\n\n                        if (converter) {\n                          var args = argExpressions.map(function (arg) {\n                            return simplifyNested(context, arg);\n                          }).map(function (arg) {\n                            return shouldIgnore(arg) ? undefined : arg;\n                          });\n                          return converter(context, args);\n                        } else {\n                          // Determine if the function is one we can simplify.\n                          var targetFunction = resolveReferenceValue(_staticSymbol);\n                          return simplifyCall(_staticSymbol, targetFunction, argExpressions, expression['expression']);\n                        }\n                      }\n\n                      return IGNORE;\n\n                    case 'error':\n                      var message = expression.message;\n\n                      if (expression['line'] != null) {\n                        self.error({\n                          message: message,\n                          context: expression.context,\n                          value: expression,\n                          position: {\n                            fileName: expression['fileName'],\n                            line: expression['line'],\n                            column: expression['character']\n                          }\n                        }, context);\n                      } else {\n                        self.error({\n                          message: message,\n                          context: expression.context\n                        }, context);\n                      }\n\n                      return IGNORE;\n\n                    case 'ignore':\n                      return expression;\n                  }\n\n                  return null;\n                }\n\n                return mapStringMap(expression, function (value, name) {\n                  if (REFERENCE_SET.has(name)) {\n                    if (name === USE_VALUE$1 && PROVIDE in expression) {\n                      // If this is a provider expression, check for special tokens that need the value\n                      // during analysis.\n                      var provide = simplify(expression.provide);\n\n                      if (provide === self.ROUTES || provide == self.ANALYZE_FOR_ENTRY_COMPONENTS) {\n                        return simplify(value);\n                      }\n                    }\n\n                    return simplifyLazily(value);\n                  }\n\n                  return simplify(value);\n                });\n              }\n\n              return IGNORE;\n            }\n\n            return simplify(value);\n          }\n\n          var result;\n\n          try {\n            result = simplifyInContext(context, value, 0, lazy ? 1 : 0);\n          } catch (e) {\n            if (this.errorRecorder) {\n              this.reportError(e, context);\n            } else {\n              throw formatMetadataError(e, context);\n            }\n          }\n\n          if (shouldIgnore(result)) {\n            return undefined;\n          }\n\n          return result;\n        }\n      }, {\n        key: \"getTypeMetadata\",\n        value: function getTypeMetadata(type) {\n          var resolvedSymbol = this.symbolResolver.resolveSymbol(type);\n          return resolvedSymbol && resolvedSymbol.metadata ? resolvedSymbol.metadata : {\n            __symbolic: 'class'\n          };\n        }\n      }, {\n        key: \"reportError\",\n        value: function reportError(error, context, path) {\n          if (this.errorRecorder) {\n            this.errorRecorder(formatMetadataError(error, context), context && context.filePath || path);\n          } else {\n            throw error;\n          }\n        }\n      }, {\n        key: \"error\",\n        value: function error(_ref62, reportingContext) {\n          var message = _ref62.message,\n              summary = _ref62.summary,\n              advise = _ref62.advise,\n              position = _ref62.position,\n              context = _ref62.context,\n              value = _ref62.value,\n              symbol = _ref62.symbol,\n              chain = _ref62.chain;\n          this.reportError(metadataError(message, summary, advise, position, symbol, context, chain), reportingContext);\n        }\n      }]);\n\n      return StaticReflector;\n    }();\n\n    var METADATA_ERROR = 'ngMetadataError';\n\n    function metadataError(message, summary, advise, position, symbol, context, chain) {\n      var error = syntaxError(message);\n      error[METADATA_ERROR] = true;\n      if (advise) error.advise = advise;\n      if (position) error.position = position;\n      if (summary) error.summary = summary;\n      if (context) error.context = context;\n      if (chain) error.chain = chain;\n      if (symbol) error.symbol = symbol;\n      return error;\n    }\n\n    function isMetadataError(error) {\n      return !!error[METADATA_ERROR];\n    }\n\n    var REFERENCE_TO_NONEXPORTED_CLASS = 'Reference to non-exported class';\n    var VARIABLE_NOT_INITIALIZED = 'Variable not initialized';\n    var DESTRUCTURE_NOT_SUPPORTED = 'Destructuring not supported';\n    var COULD_NOT_RESOLVE_TYPE = 'Could not resolve type';\n    var FUNCTION_CALL_NOT_SUPPORTED = 'Function call not supported';\n    var REFERENCE_TO_LOCAL_SYMBOL = 'Reference to a local symbol';\n    var LAMBDA_NOT_SUPPORTED = 'Lambda not supported';\n\n    function expandedMessage(message, context) {\n      switch (message) {\n        case REFERENCE_TO_NONEXPORTED_CLASS:\n          if (context && context.className) {\n            return \"References to a non-exported class are not supported in decorators but \".concat(context.className, \" was referenced.\");\n          }\n\n          break;\n\n        case VARIABLE_NOT_INITIALIZED:\n          return 'Only initialized variables and constants can be referenced in decorators because the value of this variable is needed by the template compiler';\n\n        case DESTRUCTURE_NOT_SUPPORTED:\n          return 'Referencing an exported destructured variable or constant is not supported in decorators and this value is needed by the template compiler';\n\n        case COULD_NOT_RESOLVE_TYPE:\n          if (context && context.typeName) {\n            return \"Could not resolve type \".concat(context.typeName);\n          }\n\n          break;\n\n        case FUNCTION_CALL_NOT_SUPPORTED:\n          if (context && context.name) {\n            return \"Function calls are not supported in decorators but '\".concat(context.name, \"' was called\");\n          }\n\n          return 'Function calls are not supported in decorators';\n\n        case REFERENCE_TO_LOCAL_SYMBOL:\n          if (context && context.name) {\n            return \"Reference to a local (non-exported) symbols are not supported in decorators but '\".concat(context.name, \"' was referenced\");\n          }\n\n          break;\n\n        case LAMBDA_NOT_SUPPORTED:\n          return \"Function expressions are not supported in decorators\";\n      }\n\n      return message;\n    }\n\n    function messageAdvise(message, context) {\n      switch (message) {\n        case REFERENCE_TO_NONEXPORTED_CLASS:\n          if (context && context.className) {\n            return \"Consider exporting '\".concat(context.className, \"'\");\n          }\n\n          break;\n\n        case DESTRUCTURE_NOT_SUPPORTED:\n          return 'Consider simplifying to avoid destructuring';\n\n        case REFERENCE_TO_LOCAL_SYMBOL:\n          if (context && context.name) {\n            return \"Consider exporting '\".concat(context.name, \"'\");\n          }\n\n          break;\n\n        case LAMBDA_NOT_SUPPORTED:\n          return \"Consider changing the function expression into an exported function\";\n      }\n\n      return undefined;\n    }\n\n    function errorSummary(error) {\n      if (error.summary) {\n        return error.summary;\n      }\n\n      switch (error.message) {\n        case REFERENCE_TO_NONEXPORTED_CLASS:\n          if (error.context && error.context.className) {\n            return \"references non-exported class \".concat(error.context.className);\n          }\n\n          break;\n\n        case VARIABLE_NOT_INITIALIZED:\n          return 'is not initialized';\n\n        case DESTRUCTURE_NOT_SUPPORTED:\n          return 'is a destructured variable';\n\n        case COULD_NOT_RESOLVE_TYPE:\n          return 'could not be resolved';\n\n        case FUNCTION_CALL_NOT_SUPPORTED:\n          if (error.context && error.context.name) {\n            return \"calls '\".concat(error.context.name, \"'\");\n          }\n\n          return \"calls a function\";\n\n        case REFERENCE_TO_LOCAL_SYMBOL:\n          if (error.context && error.context.name) {\n            return \"references local variable \".concat(error.context.name);\n          }\n\n          return \"references a local variable\";\n      }\n\n      return 'contains the error';\n    }\n\n    function mapStringMap(input, transform) {\n      if (!input) return {};\n      var result = {};\n      Object.keys(input).forEach(function (key) {\n        var value = transform(input[key], key);\n\n        if (!shouldIgnore(value)) {\n          if (HIDDEN_KEY.test(key)) {\n            Object.defineProperty(result, key, {\n              enumerable: false,\n              configurable: true,\n              value: value\n            });\n          } else {\n            result[key] = value;\n          }\n        }\n      });\n      return result;\n    }\n\n    function isPrimitive(o) {\n      return o === null || typeof o !== 'function' && typeof o !== 'object';\n    }\n\n    var BindingScope$1 =\n    /*#__PURE__*/\n    function () {\n      function BindingScope$1() {\n        _classCallCheck(this, BindingScope$1);\n      }\n\n      _createClass2(BindingScope$1, null, [{\n        key: \"build\",\n        value: function build() {\n          var current = new Map();\n          return {\n            define: function define(name, value) {\n              current.set(name, value);\n              return this;\n            },\n            done: function done() {\n              return current.size > 0 ? new PopulatedScope(current) : BindingScope$1.empty;\n            }\n          };\n        }\n      }]);\n\n      return BindingScope$1;\n    }();\n\n    BindingScope$1.missing = {};\n    BindingScope$1.empty = {\n      resolve: function resolve(name) {\n        return BindingScope$1.missing;\n      }\n    };\n\n    var PopulatedScope =\n    /*#__PURE__*/\n    function (_BindingScope$) {\n      _inherits(PopulatedScope, _BindingScope$);\n\n      function PopulatedScope(bindings) {\n        var _this420;\n\n        _classCallCheck(this, PopulatedScope);\n\n        _this420 = _possibleConstructorReturn(this, _getPrototypeOf(PopulatedScope).call(this));\n        _this420.bindings = bindings;\n        return _this420;\n      }\n\n      _createClass2(PopulatedScope, [{\n        key: \"resolve\",\n        value: function resolve(name) {\n          return this.bindings.has(name) ? this.bindings.get(name) : BindingScope$1.missing;\n        }\n      }]);\n\n      return PopulatedScope;\n    }(BindingScope$1);\n\n    function formatMetadataMessageChain(chain, advise) {\n      var expanded = expandedMessage(chain.message, chain.context);\n      var nesting = chain.symbol ? \" in '\".concat(chain.symbol.name, \"'\") : '';\n      var message = \"\".concat(expanded).concat(nesting);\n      var position = chain.position;\n      var next = chain.next ? formatMetadataMessageChain(chain.next, advise) : advise ? {\n        message: advise\n      } : undefined;\n      return {\n        message: message,\n        position: position,\n        next: next\n      };\n    }\n\n    function formatMetadataError(e, context) {\n      if (isMetadataError(e)) {\n        // Produce a formatted version of the and leaving enough information in the original error\n        // to recover the formatting information to eventually produce a diagnostic error message.\n        var position = e.position;\n        var chain = {\n          message: \"Error during template compile of '\".concat(context.name, \"'\"),\n          position: position,\n          next: {\n            message: e.message,\n            next: e.chain,\n            context: e.context,\n            symbol: e.symbol\n          }\n        };\n        var advise = e.advise || messageAdvise(e.message, e.context);\n        return formattedError(formatMetadataMessageChain(chain, advise));\n      }\n\n      return e;\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var AotSummaryResolver =\n    /*#__PURE__*/\n    function () {\n      function AotSummaryResolver(host, staticSymbolCache) {\n        _classCallCheck(this, AotSummaryResolver);\n\n        this.host = host;\n        this.staticSymbolCache = staticSymbolCache; // Note: this will only contain StaticSymbols without members!\n\n        this.summaryCache = new Map();\n        this.loadedFilePaths = new Map(); // Note: this will only contain StaticSymbols without members!\n\n        this.importAs = new Map();\n        this.knownFileNameToModuleNames = new Map();\n      }\n\n      _createClass2(AotSummaryResolver, [{\n        key: \"isLibraryFile\",\n        value: function isLibraryFile(filePath) {\n          // Note: We need to strip the .ngfactory. file path,\n          // so this method also works for generated files\n          // (for which host.isSourceFile will always return false).\n          return !this.host.isSourceFile(stripGeneratedFileSuffix(filePath));\n        }\n      }, {\n        key: \"toSummaryFileName\",\n        value: function toSummaryFileName(filePath, referringSrcFileName) {\n          return this.host.toSummaryFileName(filePath, referringSrcFileName);\n        }\n      }, {\n        key: \"fromSummaryFileName\",\n        value: function fromSummaryFileName(fileName, referringLibFileName) {\n          return this.host.fromSummaryFileName(fileName, referringLibFileName);\n        }\n      }, {\n        key: \"resolveSummary\",\n        value: function resolveSummary(staticSymbol) {\n          var rootSymbol = staticSymbol.members.length ? this.staticSymbolCache.get(staticSymbol.filePath, staticSymbol.name) : staticSymbol;\n          var summary = this.summaryCache.get(rootSymbol);\n\n          if (!summary) {\n            this._loadSummaryFile(staticSymbol.filePath);\n\n            summary = this.summaryCache.get(staticSymbol);\n          }\n\n          return rootSymbol === staticSymbol && summary || null;\n        }\n      }, {\n        key: \"getSymbolsOf\",\n        value: function getSymbolsOf(filePath) {\n          if (this._loadSummaryFile(filePath)) {\n            return Array.from(this.summaryCache.keys()).filter(function (symbol) {\n              return symbol.filePath === filePath;\n            });\n          }\n\n          return null;\n        }\n      }, {\n        key: \"getImportAs\",\n        value: function getImportAs(staticSymbol) {\n          staticSymbol.assertNoMembers();\n          return this.importAs.get(staticSymbol);\n        }\n        /**\n         * Converts a file path to a module name that can be used as an `import`.\n         */\n\n      }, {\n        key: \"getKnownModuleName\",\n        value: function getKnownModuleName(importedFilePath) {\n          return this.knownFileNameToModuleNames.get(importedFilePath) || null;\n        }\n      }, {\n        key: \"addSummary\",\n        value: function addSummary(summary) {\n          this.summaryCache.set(summary.symbol, summary);\n        }\n      }, {\n        key: \"_loadSummaryFile\",\n        value: function _loadSummaryFile(filePath) {\n          var _this421 = this;\n\n          var hasSummary = this.loadedFilePaths.get(filePath);\n\n          if (hasSummary != null) {\n            return hasSummary;\n          }\n\n          var json = null;\n\n          if (this.isLibraryFile(filePath)) {\n            var summaryFilePath = summaryFileName(filePath);\n\n            try {\n              json = this.host.loadSummary(summaryFilePath);\n            } catch (e) {\n              console.error(\"Error loading summary file \".concat(summaryFilePath));\n              throw e;\n            }\n          }\n\n          hasSummary = json != null;\n          this.loadedFilePaths.set(filePath, hasSummary);\n\n          if (json) {\n            var _deserializeSummaries = deserializeSummaries(this.staticSymbolCache, this, filePath, json),\n                moduleName = _deserializeSummaries.moduleName,\n                summaries = _deserializeSummaries.summaries,\n                importAs = _deserializeSummaries.importAs;\n\n            summaries.forEach(function (summary) {\n              return _this421.summaryCache.set(summary.symbol, summary);\n            });\n\n            if (moduleName) {\n              this.knownFileNameToModuleNames.set(filePath, moduleName);\n            }\n\n            importAs.forEach(function (importAs) {\n              _this421.importAs.set(importAs.symbol, importAs.importAs);\n            });\n          }\n\n          return hasSummary;\n        }\n      }]);\n\n      return AotSummaryResolver;\n    }();\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    function createAotUrlResolver(host) {\n      return {\n        resolve: function resolve(basePath, url) {\n          var filePath = host.resourceNameToFileName(url, basePath);\n\n          if (!filePath) {\n            throw syntaxError(\"Couldn't resolve resource \".concat(url, \" from \").concat(basePath));\n          }\n\n          return filePath;\n        }\n      };\n    }\n    /**\n     * Creates a new AotCompiler based on options and a host.\n     */\n\n\n    function createAotCompiler(compilerHost, options, errorCollector) {\n      var translations = options.translations || '';\n      var urlResolver = createAotUrlResolver(compilerHost);\n      var symbolCache = new StaticSymbolCache();\n      var summaryResolver = new AotSummaryResolver(compilerHost, symbolCache);\n      var symbolResolver = new StaticSymbolResolver(compilerHost, symbolCache, summaryResolver);\n      var staticReflector = new StaticReflector(summaryResolver, symbolResolver, [], [], errorCollector);\n      var htmlParser;\n\n      if (!!options.enableIvy) {\n        // Ivy handles i18n at the compiler level so we must use a regular parser\n        htmlParser = new HtmlParser();\n      } else {\n        htmlParser = new I18NHtmlParser(new HtmlParser(), translations, options.i18nFormat, options.missingTranslation, console);\n      }\n\n      var config = new CompilerConfig({\n        defaultEncapsulation: ViewEncapsulation.Emulated,\n        useJit: false,\n        missingTranslation: options.missingTranslation,\n        preserveWhitespaces: options.preserveWhitespaces,\n        strictInjectionParameters: options.strictInjectionParameters\n      });\n      var normalizer = new DirectiveNormalizer({\n        get: function get(url) {\n          return compilerHost.loadResource(url);\n        }\n      }, urlResolver, htmlParser, config);\n      var expressionParser = new Parser$1(new Lexer());\n      var elementSchemaRegistry = new DomElementSchemaRegistry();\n      var tmplParser = new TemplateParser(config, staticReflector, expressionParser, elementSchemaRegistry, htmlParser, console, []);\n      var resolver = new CompileMetadataResolver(config, htmlParser, new NgModuleResolver(staticReflector), new DirectiveResolver(staticReflector), new PipeResolver(staticReflector), summaryResolver, elementSchemaRegistry, normalizer, console, symbolCache, staticReflector, errorCollector); // TODO(vicb): do not pass options.i18nFormat here\n\n      var viewCompiler = new ViewCompiler(staticReflector);\n      var typeCheckCompiler = new TypeCheckCompiler(options, staticReflector);\n      var compiler = new AotCompiler(config, options, compilerHost, staticReflector, resolver, tmplParser, new StyleCompiler(urlResolver), viewCompiler, typeCheckCompiler, new NgModuleCompiler(staticReflector), new InjectableCompiler(staticReflector, !!options.enableIvy), new TypeScriptEmitter(), summaryResolver, symbolResolver);\n      return {\n        compiler: compiler,\n        reflector: staticReflector\n      };\n    }\n\n    var SummaryResolver = function SummaryResolver() {\n      _classCallCheck(this, SummaryResolver);\n    };\n\n    var JitSummaryResolver =\n    /*#__PURE__*/\n    function () {\n      function JitSummaryResolver() {\n        _classCallCheck(this, JitSummaryResolver);\n\n        this._summaries = new Map();\n      }\n\n      _createClass2(JitSummaryResolver, [{\n        key: \"isLibraryFile\",\n        value: function isLibraryFile() {\n          return false;\n        }\n      }, {\n        key: \"toSummaryFileName\",\n        value: function toSummaryFileName(fileName) {\n          return fileName;\n        }\n      }, {\n        key: \"fromSummaryFileName\",\n        value: function fromSummaryFileName(fileName) {\n          return fileName;\n        }\n      }, {\n        key: \"resolveSummary\",\n        value: function resolveSummary(reference) {\n          return this._summaries.get(reference) || null;\n        }\n      }, {\n        key: \"getSymbolsOf\",\n        value: function getSymbolsOf() {\n          return [];\n        }\n      }, {\n        key: \"getImportAs\",\n        value: function getImportAs(reference) {\n          return reference;\n        }\n      }, {\n        key: \"getKnownModuleName\",\n        value: function getKnownModuleName(fileName) {\n          return null;\n        }\n      }, {\n        key: \"addSummary\",\n        value: function addSummary(summary) {\n          this._summaries.set(summary.symbol, summary);\n        }\n      }]);\n\n      return JitSummaryResolver;\n    }();\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    function interpretStatements(statements, reflector) {\n      var ctx = new _ExecutionContext(null, null, null, new Map());\n      var visitor = new StatementInterpreter(reflector);\n      visitor.visitAllStatements(statements, ctx);\n      var result = {};\n      ctx.exports.forEach(function (exportName) {\n        result[exportName] = ctx.vars.get(exportName);\n      });\n      return result;\n    }\n\n    function _executeFunctionStatements(varNames, varValues, statements, ctx, visitor) {\n      var childCtx = ctx.createChildWihtLocalVars();\n\n      for (var i = 0; i < varNames.length; i++) {\n        childCtx.vars.set(varNames[i], varValues[i]);\n      }\n\n      var result = visitor.visitAllStatements(statements, childCtx);\n      return result ? result.value : null;\n    }\n\n    var _ExecutionContext =\n    /*#__PURE__*/\n    function () {\n      function _ExecutionContext(parent, instance, className, vars) {\n        _classCallCheck(this, _ExecutionContext);\n\n        this.parent = parent;\n        this.instance = instance;\n        this.className = className;\n        this.vars = vars;\n        this.exports = [];\n      }\n\n      _createClass2(_ExecutionContext, [{\n        key: \"createChildWihtLocalVars\",\n        value: function createChildWihtLocalVars() {\n          return new _ExecutionContext(this, this.instance, this.className, new Map());\n        }\n      }]);\n\n      return _ExecutionContext;\n    }();\n\n    var ReturnValue = function ReturnValue(value) {\n      _classCallCheck(this, ReturnValue);\n\n      this.value = value;\n    };\n\n    function createDynamicClass(_classStmt, _ctx, _visitor) {\n      var propertyDescriptors = {};\n\n      _classStmt.getters.forEach(function (getter) {\n        // Note: use `function` instead of arrow function to capture `this`\n        propertyDescriptors[getter.name] = {\n          configurable: false,\n          get: function get() {\n            var instanceCtx = new _ExecutionContext(_ctx, this, _classStmt.name, _ctx.vars);\n            return _executeFunctionStatements([], [], getter.body, instanceCtx, _visitor);\n          }\n        };\n      });\n\n      _classStmt.methods.forEach(function (method) {\n        var paramNames = method.params.map(function (param) {\n          return param.name;\n        }); // Note: use `function` instead of arrow function to capture `this`\n\n        propertyDescriptors[method.name] = {\n          writable: false,\n          configurable: false,\n          value: function value() {\n            var instanceCtx = new _ExecutionContext(_ctx, this, _classStmt.name, _ctx.vars);\n\n            for (var _len11 = arguments.length, args = new Array(_len11), _key13 = 0; _key13 < _len11; _key13++) {\n              args[_key13] = arguments[_key13];\n            }\n\n            return _executeFunctionStatements(paramNames, args, method.body, instanceCtx, _visitor);\n          }\n        };\n      });\n\n      var ctorParamNames = _classStmt.constructorMethod.params.map(function (param) {\n        return param.name;\n      }); // Note: use `function` instead of arrow function to capture `this`\n\n\n      var ctor = function ctor() {\n        var _this422 = this;\n\n        var instanceCtx = new _ExecutionContext(_ctx, this, _classStmt.name, _ctx.vars);\n\n        _classStmt.fields.forEach(function (field) {\n          _this422[field.name] = undefined;\n        });\n\n        for (var _len12 = arguments.length, args = new Array(_len12), _key14 = 0; _key14 < _len12; _key14++) {\n          args[_key14] = arguments[_key14];\n        }\n\n        _executeFunctionStatements(ctorParamNames, args, _classStmt.constructorMethod.body, instanceCtx, _visitor);\n      };\n\n      var superClass = _classStmt.parent ? _classStmt.parent.visitExpression(_visitor, _ctx) : Object;\n      ctor.prototype = Object.create(superClass.prototype, propertyDescriptors);\n      return ctor;\n    }\n\n    var StatementInterpreter =\n    /*#__PURE__*/\n    function () {\n      function StatementInterpreter(reflector) {\n        _classCallCheck(this, StatementInterpreter);\n\n        this.reflector = reflector;\n      }\n\n      _createClass2(StatementInterpreter, [{\n        key: \"debugAst\",\n        value: function debugAst(ast) {\n          return debugOutputAstAsTypeScript(ast);\n        }\n      }, {\n        key: \"visitDeclareVarStmt\",\n        value: function visitDeclareVarStmt(stmt, ctx) {\n          var initialValue = stmt.value ? stmt.value.visitExpression(this, ctx) : undefined;\n          ctx.vars.set(stmt.name, initialValue);\n\n          if (stmt.hasModifier(StmtModifier.Exported)) {\n            ctx.exports.push(stmt.name);\n          }\n\n          return null;\n        }\n      }, {\n        key: \"visitWriteVarExpr\",\n        value: function visitWriteVarExpr(expr, ctx) {\n          var value = expr.value.visitExpression(this, ctx);\n          var currCtx = ctx;\n\n          while (currCtx != null) {\n            if (currCtx.vars.has(expr.name)) {\n              currCtx.vars.set(expr.name, value);\n              return value;\n            }\n\n            currCtx = currCtx.parent;\n          }\n\n          throw new Error(\"Not declared variable \".concat(expr.name));\n        }\n      }, {\n        key: \"visitWrappedNodeExpr\",\n        value: function visitWrappedNodeExpr(ast, ctx) {\n          throw new Error('Cannot interpret a WrappedNodeExpr.');\n        }\n      }, {\n        key: \"visitTypeofExpr\",\n        value: function visitTypeofExpr(ast, ctx) {\n          throw new Error('Cannot interpret a TypeofExpr');\n        }\n      }, {\n        key: \"visitReadVarExpr\",\n        value: function visitReadVarExpr(ast, ctx) {\n          var varName = ast.name;\n\n          if (ast.builtin != null) {\n            switch (ast.builtin) {\n              case BuiltinVar.Super:\n                return Object.getPrototypeOf(ctx.instance);\n\n              case BuiltinVar.This:\n                return ctx.instance;\n\n              case BuiltinVar.CatchError:\n                varName = CATCH_ERROR_VAR$2;\n                break;\n\n              case BuiltinVar.CatchStack:\n                varName = CATCH_STACK_VAR$2;\n                break;\n\n              default:\n                throw new Error(\"Unknown builtin variable \".concat(ast.builtin));\n            }\n          }\n\n          var currCtx = ctx;\n\n          while (currCtx != null) {\n            if (currCtx.vars.has(varName)) {\n              return currCtx.vars.get(varName);\n            }\n\n            currCtx = currCtx.parent;\n          }\n\n          throw new Error(\"Not declared variable \".concat(varName));\n        }\n      }, {\n        key: \"visitWriteKeyExpr\",\n        value: function visitWriteKeyExpr(expr, ctx) {\n          var receiver = expr.receiver.visitExpression(this, ctx);\n          var index = expr.index.visitExpression(this, ctx);\n          var value = expr.value.visitExpression(this, ctx);\n          receiver[index] = value;\n          return value;\n        }\n      }, {\n        key: \"visitWritePropExpr\",\n        value: function visitWritePropExpr(expr, ctx) {\n          var receiver = expr.receiver.visitExpression(this, ctx);\n          var value = expr.value.visitExpression(this, ctx);\n          receiver[expr.name] = value;\n          return value;\n        }\n      }, {\n        key: \"visitInvokeMethodExpr\",\n        value: function visitInvokeMethodExpr(expr, ctx) {\n          var receiver = expr.receiver.visitExpression(this, ctx);\n          var args = this.visitAllExpressions(expr.args, ctx);\n          var result;\n\n          if (expr.builtin != null) {\n            switch (expr.builtin) {\n              case BuiltinMethod.ConcatArray:\n                result = receiver.concat.apply(receiver, _toConsumableArray(args));\n                break;\n\n              case BuiltinMethod.SubscribeObservable:\n                result = receiver.subscribe({\n                  next: args[0]\n                });\n                break;\n\n              case BuiltinMethod.Bind:\n                result = receiver.bind.apply(receiver, _toConsumableArray(args));\n                break;\n\n              default:\n                throw new Error(\"Unknown builtin method \".concat(expr.builtin));\n            }\n          } else {\n            result = receiver[expr.name].apply(receiver, args);\n          }\n\n          return result;\n        }\n      }, {\n        key: \"visitInvokeFunctionExpr\",\n        value: function visitInvokeFunctionExpr(stmt, ctx) {\n          var args = this.visitAllExpressions(stmt.args, ctx);\n          var fnExpr = stmt.fn;\n\n          if (fnExpr instanceof ReadVarExpr && fnExpr.builtin === BuiltinVar.Super) {\n            ctx.instance.constructor.prototype.constructor.apply(ctx.instance, args);\n            return null;\n          } else {\n            var _fn = stmt.fn.visitExpression(this, ctx);\n\n            return _fn.apply(null, args);\n          }\n        }\n      }, {\n        key: \"visitReturnStmt\",\n        value: function visitReturnStmt(stmt, ctx) {\n          return new ReturnValue(stmt.value.visitExpression(this, ctx));\n        }\n      }, {\n        key: \"visitDeclareClassStmt\",\n        value: function visitDeclareClassStmt(stmt, ctx) {\n          var clazz = createDynamicClass(stmt, ctx, this);\n          ctx.vars.set(stmt.name, clazz);\n\n          if (stmt.hasModifier(StmtModifier.Exported)) {\n            ctx.exports.push(stmt.name);\n          }\n\n          return null;\n        }\n      }, {\n        key: \"visitExpressionStmt\",\n        value: function visitExpressionStmt(stmt, ctx) {\n          return stmt.expr.visitExpression(this, ctx);\n        }\n      }, {\n        key: \"visitIfStmt\",\n        value: function visitIfStmt(stmt, ctx) {\n          var condition = stmt.condition.visitExpression(this, ctx);\n\n          if (condition) {\n            return this.visitAllStatements(stmt.trueCase, ctx);\n          } else if (stmt.falseCase != null) {\n            return this.visitAllStatements(stmt.falseCase, ctx);\n          }\n\n          return null;\n        }\n      }, {\n        key: \"visitTryCatchStmt\",\n        value: function visitTryCatchStmt(stmt, ctx) {\n          try {\n            return this.visitAllStatements(stmt.bodyStmts, ctx);\n          } catch (e) {\n            var childCtx = ctx.createChildWihtLocalVars();\n            childCtx.vars.set(CATCH_ERROR_VAR$2, e);\n            childCtx.vars.set(CATCH_STACK_VAR$2, e.stack);\n            return this.visitAllStatements(stmt.catchStmts, childCtx);\n          }\n        }\n      }, {\n        key: \"visitThrowStmt\",\n        value: function visitThrowStmt(stmt, ctx) {\n          throw stmt.error.visitExpression(this, ctx);\n        }\n      }, {\n        key: \"visitCommentStmt\",\n        value: function visitCommentStmt(stmt, context) {\n          return null;\n        }\n      }, {\n        key: \"visitJSDocCommentStmt\",\n        value: function visitJSDocCommentStmt(stmt, context) {\n          return null;\n        }\n      }, {\n        key: \"visitInstantiateExpr\",\n        value: function visitInstantiateExpr(ast, ctx) {\n          var args = this.visitAllExpressions(ast.args, ctx);\n          var clazz = ast.classExpr.visitExpression(this, ctx);\n          return _construct(clazz, _toConsumableArray(args));\n        }\n      }, {\n        key: \"visitLiteralExpr\",\n        value: function visitLiteralExpr(ast, ctx) {\n          return ast.value;\n        }\n      }, {\n        key: \"visitExternalExpr\",\n        value: function visitExternalExpr(ast, ctx) {\n          return this.reflector.resolveExternalReference(ast.value);\n        }\n      }, {\n        key: \"visitConditionalExpr\",\n        value: function visitConditionalExpr(ast, ctx) {\n          if (ast.condition.visitExpression(this, ctx)) {\n            return ast.trueCase.visitExpression(this, ctx);\n          } else if (ast.falseCase != null) {\n            return ast.falseCase.visitExpression(this, ctx);\n          }\n\n          return null;\n        }\n      }, {\n        key: \"visitNotExpr\",\n        value: function visitNotExpr(ast, ctx) {\n          return !ast.condition.visitExpression(this, ctx);\n        }\n      }, {\n        key: \"visitAssertNotNullExpr\",\n        value: function visitAssertNotNullExpr(ast, ctx) {\n          return ast.condition.visitExpression(this, ctx);\n        }\n      }, {\n        key: \"visitCastExpr\",\n        value: function visitCastExpr(ast, ctx) {\n          return ast.value.visitExpression(this, ctx);\n        }\n      }, {\n        key: \"visitFunctionExpr\",\n        value: function visitFunctionExpr(ast, ctx) {\n          var paramNames = ast.params.map(function (param) {\n            return param.name;\n          });\n          return _declareFn(paramNames, ast.statements, ctx, this);\n        }\n      }, {\n        key: \"visitDeclareFunctionStmt\",\n        value: function visitDeclareFunctionStmt(stmt, ctx) {\n          var paramNames = stmt.params.map(function (param) {\n            return param.name;\n          });\n          ctx.vars.set(stmt.name, _declareFn(paramNames, stmt.statements, ctx, this));\n\n          if (stmt.hasModifier(StmtModifier.Exported)) {\n            ctx.exports.push(stmt.name);\n          }\n\n          return null;\n        }\n      }, {\n        key: \"visitBinaryOperatorExpr\",\n        value: function visitBinaryOperatorExpr(ast, ctx) {\n          var _this423 = this;\n\n          var lhs = function lhs() {\n            return ast.lhs.visitExpression(_this423, ctx);\n          };\n\n          var rhs = function rhs() {\n            return ast.rhs.visitExpression(_this423, ctx);\n          };\n\n          switch (ast.operator) {\n            case BinaryOperator.Equals:\n              return lhs() == rhs();\n\n            case BinaryOperator.Identical:\n              return lhs() === rhs();\n\n            case BinaryOperator.NotEquals:\n              return lhs() != rhs();\n\n            case BinaryOperator.NotIdentical:\n              return lhs() !== rhs();\n\n            case BinaryOperator.And:\n              return lhs() && rhs();\n\n            case BinaryOperator.Or:\n              return lhs() || rhs();\n\n            case BinaryOperator.Plus:\n              return lhs() + rhs();\n\n            case BinaryOperator.Minus:\n              return lhs() - rhs();\n\n            case BinaryOperator.Divide:\n              return lhs() / rhs();\n\n            case BinaryOperator.Multiply:\n              return lhs() * rhs();\n\n            case BinaryOperator.Modulo:\n              return lhs() % rhs();\n\n            case BinaryOperator.Lower:\n              return lhs() < rhs();\n\n            case BinaryOperator.LowerEquals:\n              return lhs() <= rhs();\n\n            case BinaryOperator.Bigger:\n              return lhs() > rhs();\n\n            case BinaryOperator.BiggerEquals:\n              return lhs() >= rhs();\n\n            default:\n              throw new Error(\"Unknown operator \".concat(ast.operator));\n          }\n        }\n      }, {\n        key: \"visitReadPropExpr\",\n        value: function visitReadPropExpr(ast, ctx) {\n          var result;\n          var receiver = ast.receiver.visitExpression(this, ctx);\n          result = receiver[ast.name];\n          return result;\n        }\n      }, {\n        key: \"visitReadKeyExpr\",\n        value: function visitReadKeyExpr(ast, ctx) {\n          var receiver = ast.receiver.visitExpression(this, ctx);\n          var prop = ast.index.visitExpression(this, ctx);\n          return receiver[prop];\n        }\n      }, {\n        key: \"visitLiteralArrayExpr\",\n        value: function visitLiteralArrayExpr(ast, ctx) {\n          return this.visitAllExpressions(ast.entries, ctx);\n        }\n      }, {\n        key: \"visitLiteralMapExpr\",\n        value: function visitLiteralMapExpr(ast, ctx) {\n          var _this424 = this;\n\n          var result = {};\n          ast.entries.forEach(function (entry) {\n            return result[entry.key] = entry.value.visitExpression(_this424, ctx);\n          });\n          return result;\n        }\n      }, {\n        key: \"visitCommaExpr\",\n        value: function visitCommaExpr(ast, context) {\n          var values = this.visitAllExpressions(ast.parts, context);\n          return values[values.length - 1];\n        }\n      }, {\n        key: \"visitAllExpressions\",\n        value: function visitAllExpressions(expressions, ctx) {\n          var _this425 = this;\n\n          return expressions.map(function (expr) {\n            return expr.visitExpression(_this425, ctx);\n          });\n        }\n      }, {\n        key: \"visitAllStatements\",\n        value: function visitAllStatements(statements, ctx) {\n          for (var i = 0; i < statements.length; i++) {\n            var stmt = statements[i];\n            var val = stmt.visitStatement(this, ctx);\n\n            if (val instanceof ReturnValue) {\n              return val;\n            }\n          }\n\n          return null;\n        }\n      }]);\n\n      return StatementInterpreter;\n    }();\n\n    function _declareFn(varNames, statements, ctx, visitor) {\n      return function () {\n        for (var _len13 = arguments.length, args = new Array(_len13), _key15 = 0; _key15 < _len13; _key15++) {\n          args[_key15] = arguments[_key15];\n        }\n\n        return _executeFunctionStatements(varNames, args, statements, ctx, visitor);\n      };\n    }\n\n    var CATCH_ERROR_VAR$2 = 'error';\n    var CATCH_STACK_VAR$2 = 'stack';\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * An internal module of the Angular compiler that begins with component types,\n     * extracts templates, and eventually produces a compiled version of the component\n     * ready for linking into an application.\n     *\n     * @security  When compiling templates at runtime, you must ensure that the entire template comes\n     * from a trusted source. Attacker-controlled data introduced by a template could expose your\n     * application to XSS risks.  For more detail, see the [Security Guide](http://g.co/ng/security).\n     */\n\n    var JitCompiler =\n    /*#__PURE__*/\n    function () {\n      function JitCompiler(_metadataResolver, _templateParser, _styleCompiler, _viewCompiler, _ngModuleCompiler, _summaryResolver, _reflector, _jitEvaluator, _compilerConfig, _console, getExtraNgModuleProviders) {\n        _classCallCheck(this, JitCompiler);\n\n        this._metadataResolver = _metadataResolver;\n        this._templateParser = _templateParser;\n        this._styleCompiler = _styleCompiler;\n        this._viewCompiler = _viewCompiler;\n        this._ngModuleCompiler = _ngModuleCompiler;\n        this._summaryResolver = _summaryResolver;\n        this._reflector = _reflector;\n        this._jitEvaluator = _jitEvaluator;\n        this._compilerConfig = _compilerConfig;\n        this._console = _console;\n        this.getExtraNgModuleProviders = getExtraNgModuleProviders;\n        this._compiledTemplateCache = new Map();\n        this._compiledHostTemplateCache = new Map();\n        this._compiledDirectiveWrapperCache = new Map();\n        this._compiledNgModuleCache = new Map();\n        this._sharedStylesheetCount = 0;\n        this._addedAotSummaries = new Set();\n      }\n\n      _createClass2(JitCompiler, [{\n        key: \"compileModuleSync\",\n        value: function compileModuleSync(moduleType) {\n          return SyncAsync.assertSync(this._compileModuleAndComponents(moduleType, true));\n        }\n      }, {\n        key: \"compileModuleAsync\",\n        value: function compileModuleAsync(moduleType) {\n          return Promise.resolve(this._compileModuleAndComponents(moduleType, false));\n        }\n      }, {\n        key: \"compileModuleAndAllComponentsSync\",\n        value: function compileModuleAndAllComponentsSync(moduleType) {\n          return SyncAsync.assertSync(this._compileModuleAndAllComponents(moduleType, true));\n        }\n      }, {\n        key: \"compileModuleAndAllComponentsAsync\",\n        value: function compileModuleAndAllComponentsAsync(moduleType) {\n          return Promise.resolve(this._compileModuleAndAllComponents(moduleType, false));\n        }\n      }, {\n        key: \"getComponentFactory\",\n        value: function getComponentFactory(component) {\n          var summary = this._metadataResolver.getDirectiveSummary(component);\n\n          return summary.componentFactory;\n        }\n      }, {\n        key: \"loadAotSummaries\",\n        value: function loadAotSummaries(summaries) {\n          this.clearCache();\n\n          this._addAotSummaries(summaries);\n        }\n      }, {\n        key: \"_addAotSummaries\",\n        value: function _addAotSummaries(fn) {\n          if (this._addedAotSummaries.has(fn)) {\n            return;\n          }\n\n          this._addedAotSummaries.add(fn);\n\n          var summaries = fn();\n\n          for (var i = 0; i < summaries.length; i++) {\n            var entry = summaries[i];\n\n            if (typeof entry === 'function') {\n              this._addAotSummaries(entry);\n            } else {\n              var summary = entry;\n\n              this._summaryResolver.addSummary({\n                symbol: summary.type.reference,\n                metadata: null,\n                type: summary\n              });\n            }\n          }\n        }\n      }, {\n        key: \"hasAotSummary\",\n        value: function hasAotSummary(ref) {\n          return !!this._summaryResolver.resolveSummary(ref);\n        }\n      }, {\n        key: \"_filterJitIdentifiers\",\n        value: function _filterJitIdentifiers(ids) {\n          var _this426 = this;\n\n          return ids.map(function (mod) {\n            return mod.reference;\n          }).filter(function (ref) {\n            return !_this426.hasAotSummary(ref);\n          });\n        }\n      }, {\n        key: \"_compileModuleAndComponents\",\n        value: function _compileModuleAndComponents(moduleType, isSync) {\n          var _this427 = this;\n\n          return SyncAsync.then(this._loadModules(moduleType, isSync), function () {\n            _this427._compileComponents(moduleType, null);\n\n            return _this427._compileModule(moduleType);\n          });\n        }\n      }, {\n        key: \"_compileModuleAndAllComponents\",\n        value: function _compileModuleAndAllComponents(moduleType, isSync) {\n          var _this428 = this;\n\n          return SyncAsync.then(this._loadModules(moduleType, isSync), function () {\n            var componentFactories = [];\n\n            _this428._compileComponents(moduleType, componentFactories);\n\n            return {\n              ngModuleFactory: _this428._compileModule(moduleType),\n              componentFactories: componentFactories\n            };\n          });\n        }\n      }, {\n        key: \"_loadModules\",\n        value: function _loadModules(mainModule, isSync) {\n          var _this429 = this;\n\n          var loading = [];\n\n          var mainNgModule = this._metadataResolver.getNgModuleMetadata(mainModule); // Note: for runtime compilation, we want to transitively compile all modules,\n          // so we also need to load the declared directives / pipes for all nested modules.\n\n\n          this._filterJitIdentifiers(mainNgModule.transitiveModule.modules).forEach(function (nestedNgModule) {\n            // getNgModuleMetadata only returns null if the value passed in is not an NgModule\n            var moduleMeta = _this429._metadataResolver.getNgModuleMetadata(nestedNgModule);\n\n            _this429._filterJitIdentifiers(moduleMeta.declaredDirectives).forEach(function (ref) {\n              var promise = _this429._metadataResolver.loadDirectiveMetadata(moduleMeta.type.reference, ref, isSync);\n\n              if (promise) {\n                loading.push(promise);\n              }\n            });\n\n            _this429._filterJitIdentifiers(moduleMeta.declaredPipes).forEach(function (ref) {\n              return _this429._metadataResolver.getOrLoadPipeMetadata(ref);\n            });\n          });\n\n          return SyncAsync.all(loading);\n        }\n      }, {\n        key: \"_compileModule\",\n        value: function _compileModule(moduleType) {\n          var ngModuleFactory = this._compiledNgModuleCache.get(moduleType);\n\n          if (!ngModuleFactory) {\n            var moduleMeta = this._metadataResolver.getNgModuleMetadata(moduleType); // Always provide a bound Compiler\n\n\n            var extraProviders = this.getExtraNgModuleProviders(moduleMeta.type.reference);\n            var outputCtx = createOutputContext();\n\n            var compileResult = this._ngModuleCompiler.compile(outputCtx, moduleMeta, extraProviders);\n\n            ngModuleFactory = this._interpretOrJit(ngModuleJitUrl(moduleMeta), outputCtx.statements)[compileResult.ngModuleFactoryVar];\n\n            this._compiledNgModuleCache.set(moduleMeta.type.reference, ngModuleFactory);\n          }\n\n          return ngModuleFactory;\n        }\n        /**\n         * @internal\n         */\n\n      }, {\n        key: \"_compileComponents\",\n        value: function _compileComponents(mainModule, allComponentFactories) {\n          var _this430 = this;\n\n          var ngModule = this._metadataResolver.getNgModuleMetadata(mainModule);\n\n          var moduleByJitDirective = new Map();\n          var templates = new Set();\n\n          var transJitModules = this._filterJitIdentifiers(ngModule.transitiveModule.modules);\n\n          transJitModules.forEach(function (localMod) {\n            var localModuleMeta = _this430._metadataResolver.getNgModuleMetadata(localMod);\n\n            _this430._filterJitIdentifiers(localModuleMeta.declaredDirectives).forEach(function (dirRef) {\n              moduleByJitDirective.set(dirRef, localModuleMeta);\n\n              var dirMeta = _this430._metadataResolver.getDirectiveMetadata(dirRef);\n\n              if (dirMeta.isComponent) {\n                templates.add(_this430._createCompiledTemplate(dirMeta, localModuleMeta));\n\n                if (allComponentFactories) {\n                  var template = _this430._createCompiledHostTemplate(dirMeta.type.reference, localModuleMeta);\n\n                  templates.add(template);\n                  allComponentFactories.push(dirMeta.componentFactory);\n                }\n              }\n            });\n          });\n          transJitModules.forEach(function (localMod) {\n            var localModuleMeta = _this430._metadataResolver.getNgModuleMetadata(localMod);\n\n            _this430._filterJitIdentifiers(localModuleMeta.declaredDirectives).forEach(function (dirRef) {\n              var dirMeta = _this430._metadataResolver.getDirectiveMetadata(dirRef);\n\n              if (dirMeta.isComponent) {\n                dirMeta.entryComponents.forEach(function (entryComponentType) {\n                  var moduleMeta = moduleByJitDirective.get(entryComponentType.componentType);\n                  templates.add(_this430._createCompiledHostTemplate(entryComponentType.componentType, moduleMeta));\n                });\n              }\n            });\n\n            localModuleMeta.entryComponents.forEach(function (entryComponentType) {\n              if (!_this430.hasAotSummary(entryComponentType.componentType)) {\n                var moduleMeta = moduleByJitDirective.get(entryComponentType.componentType);\n                templates.add(_this430._createCompiledHostTemplate(entryComponentType.componentType, moduleMeta));\n              }\n            });\n          });\n          templates.forEach(function (template) {\n            return _this430._compileTemplate(template);\n          });\n        }\n      }, {\n        key: \"clearCacheFor\",\n        value: function clearCacheFor(type) {\n          this._compiledNgModuleCache.delete(type);\n\n          this._metadataResolver.clearCacheFor(type);\n\n          this._compiledHostTemplateCache.delete(type);\n\n          var compiledTemplate = this._compiledTemplateCache.get(type);\n\n          if (compiledTemplate) {\n            this._compiledTemplateCache.delete(type);\n          }\n        }\n      }, {\n        key: \"clearCache\",\n        value: function clearCache() {\n          // Note: don't clear the _addedAotSummaries, as they don't change!\n          this._metadataResolver.clearCache();\n\n          this._compiledTemplateCache.clear();\n\n          this._compiledHostTemplateCache.clear();\n\n          this._compiledNgModuleCache.clear();\n        }\n      }, {\n        key: \"_createCompiledHostTemplate\",\n        value: function _createCompiledHostTemplate(compType, ngModule) {\n          if (!ngModule) {\n            throw new Error(\"Component \".concat(stringify(compType), \" is not part of any NgModule or the module has not been imported into your module.\"));\n          }\n\n          var compiledTemplate = this._compiledHostTemplateCache.get(compType);\n\n          if (!compiledTemplate) {\n            var compMeta = this._metadataResolver.getDirectiveMetadata(compType);\n\n            assertComponent(compMeta);\n\n            var hostMeta = this._metadataResolver.getHostComponentMetadata(compMeta, compMeta.componentFactory.viewDefFactory);\n\n            compiledTemplate = new CompiledTemplate(true, compMeta.type, hostMeta, ngModule, [compMeta.type]);\n\n            this._compiledHostTemplateCache.set(compType, compiledTemplate);\n          }\n\n          return compiledTemplate;\n        }\n      }, {\n        key: \"_createCompiledTemplate\",\n        value: function _createCompiledTemplate(compMeta, ngModule) {\n          var compiledTemplate = this._compiledTemplateCache.get(compMeta.type.reference);\n\n          if (!compiledTemplate) {\n            assertComponent(compMeta);\n            compiledTemplate = new CompiledTemplate(false, compMeta.type, compMeta, ngModule, ngModule.transitiveModule.directives);\n\n            this._compiledTemplateCache.set(compMeta.type.reference, compiledTemplate);\n          }\n\n          return compiledTemplate;\n        }\n      }, {\n        key: \"_compileTemplate\",\n        value: function _compileTemplate(template) {\n          var _this431 = this;\n\n          if (template.isCompiled) {\n            return;\n          }\n\n          var compMeta = template.compMeta;\n          var externalStylesheetsByModuleUrl = new Map();\n          var outputContext = createOutputContext();\n\n          var componentStylesheet = this._styleCompiler.compileComponent(outputContext, compMeta);\n\n          compMeta.template.externalStylesheets.forEach(function (stylesheetMeta) {\n            var compiledStylesheet = _this431._styleCompiler.compileStyles(createOutputContext(), compMeta, stylesheetMeta);\n\n            externalStylesheetsByModuleUrl.set(stylesheetMeta.moduleUrl, compiledStylesheet);\n          });\n\n          this._resolveStylesCompileResult(componentStylesheet, externalStylesheetsByModuleUrl);\n\n          var pipes = template.ngModule.transitiveModule.pipes.map(function (pipe) {\n            return _this431._metadataResolver.getPipeSummary(pipe.reference);\n          });\n\n          var _this$_parseTemplate3 = this._parseTemplate(compMeta, template.ngModule, template.directives),\n              parsedTemplate = _this$_parseTemplate3.template,\n              usedPipes = _this$_parseTemplate3.pipes;\n\n          var compileResult = this._viewCompiler.compileComponent(outputContext, compMeta, parsedTemplate, variable(componentStylesheet.stylesVar), usedPipes);\n\n          var evalResult = this._interpretOrJit(templateJitUrl(template.ngModule.type, template.compMeta), outputContext.statements);\n\n          var viewClass = evalResult[compileResult.viewClassVar];\n          var rendererType = evalResult[compileResult.rendererTypeVar];\n          template.compiled(viewClass, rendererType);\n        }\n      }, {\n        key: \"_parseTemplate\",\n        value: function _parseTemplate(compMeta, ngModule, directiveIdentifiers) {\n          var _this432 = this;\n\n          // Note: ! is ok here as components always have a template.\n          var preserveWhitespaces = compMeta.template.preserveWhitespaces;\n          var directives = directiveIdentifiers.map(function (dir) {\n            return _this432._metadataResolver.getDirectiveSummary(dir.reference);\n          });\n          var pipes = ngModule.transitiveModule.pipes.map(function (pipe) {\n            return _this432._metadataResolver.getPipeSummary(pipe.reference);\n          });\n          return this._templateParser.parse(compMeta, compMeta.template.htmlAst, directives, pipes, ngModule.schemas, templateSourceUrl(ngModule.type, compMeta, compMeta.template), preserveWhitespaces);\n        }\n      }, {\n        key: \"_resolveStylesCompileResult\",\n        value: function _resolveStylesCompileResult(result, externalStylesheetsByModuleUrl) {\n          var _this433 = this;\n\n          result.dependencies.forEach(function (dep, i) {\n            var nestedCompileResult = externalStylesheetsByModuleUrl.get(dep.moduleUrl);\n\n            var nestedStylesArr = _this433._resolveAndEvalStylesCompileResult(nestedCompileResult, externalStylesheetsByModuleUrl);\n\n            dep.setValue(nestedStylesArr);\n          });\n        }\n      }, {\n        key: \"_resolveAndEvalStylesCompileResult\",\n        value: function _resolveAndEvalStylesCompileResult(result, externalStylesheetsByModuleUrl) {\n          this._resolveStylesCompileResult(result, externalStylesheetsByModuleUrl);\n\n          return this._interpretOrJit(sharedStylesheetJitUrl(result.meta, this._sharedStylesheetCount++), result.outputCtx.statements)[result.stylesVar];\n        }\n      }, {\n        key: \"_interpretOrJit\",\n        value: function _interpretOrJit(sourceUrl, statements) {\n          if (!this._compilerConfig.useJit) {\n            return interpretStatements(statements, this._reflector);\n          } else {\n            return this._jitEvaluator.evaluateStatements(sourceUrl, statements, this._reflector, this._compilerConfig.jitDevMode);\n          }\n        }\n      }]);\n\n      return JitCompiler;\n    }();\n\n    var CompiledTemplate =\n    /*#__PURE__*/\n    function () {\n      function CompiledTemplate(isHost, compType, compMeta, ngModule, directives) {\n        _classCallCheck(this, CompiledTemplate);\n\n        this.isHost = isHost;\n        this.compType = compType;\n        this.compMeta = compMeta;\n        this.ngModule = ngModule;\n        this.directives = directives;\n        this._viewClass = null;\n        this.isCompiled = false;\n      }\n\n      _createClass2(CompiledTemplate, [{\n        key: \"compiled\",\n        value: function compiled(viewClass, rendererType) {\n          this._viewClass = viewClass;\n          this.compMeta.componentViewType.setDelegate(viewClass);\n\n          for (var prop in rendererType) {\n            this.compMeta.rendererType[prop] = rendererType[prop];\n          }\n\n          this.isCompiled = true;\n        }\n      }]);\n\n      return CompiledTemplate;\n    }();\n\n    function assertComponent(meta) {\n      if (!meta.isComponent) {\n        throw new Error(\"Could not compile '\".concat(identifierName(meta.type), \"' because it is not a component.\"));\n      }\n    }\n\n    function createOutputContext() {\n      var importExpr$1 = function importExpr$1(symbol) {\n        return importExpr({\n          name: identifierName(symbol),\n          moduleName: null,\n          runtime: symbol\n        });\n      };\n\n      return {\n        statements: [],\n        genFilePath: '',\n        importExpr: importExpr$1,\n        constantPool: new ConstantPool()\n      };\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * Provides access to reflection data about symbols that the compiler needs.\n     */\n\n\n    var CompileReflector = function CompileReflector() {\n      _classCallCheck(this, CompileReflector);\n    };\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * Create a {@link UrlResolver} with no package prefix.\n     */\n\n\n    function createUrlResolverWithoutPackagePrefix() {\n      return new UrlResolver();\n    }\n\n    function createOfflineCompileUrlResolver() {\n      return new UrlResolver('.');\n    }\n\n    var UrlResolver =\n    /*#__PURE__*/\n    function () {\n      function UrlResolverImpl() {\n        var _packagePrefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n\n        _classCallCheck(this, UrlResolverImpl);\n\n        this._packagePrefix = _packagePrefix;\n      }\n      /**\n       * Resolves the `url` given the `baseUrl`:\n       * - when the `url` is null, the `baseUrl` is returned,\n       * - if `url` is relative ('path/to/here', './path/to/here'), the resolved url is a combination of\n       * `baseUrl` and `url`,\n       * - if `url` is absolute (it has a scheme: 'http://', 'https://' or start with '/'), the `url` is\n       * returned as is (ignoring the `baseUrl`)\n       */\n\n\n      _createClass2(UrlResolverImpl, [{\n        key: \"resolve\",\n        value: function resolve(baseUrl, url) {\n          var resolvedUrl = url;\n\n          if (baseUrl != null && baseUrl.length > 0) {\n            resolvedUrl = _resolveUrl(baseUrl, resolvedUrl);\n          }\n\n          var resolvedParts = _split(resolvedUrl);\n\n          var prefix = this._packagePrefix;\n\n          if (prefix != null && resolvedParts != null && resolvedParts[_ComponentIndex.Scheme] == 'package') {\n            var path = resolvedParts[_ComponentIndex.Path];\n            prefix = prefix.replace(/\\/+$/, '');\n            path = path.replace(/^\\/+/, '');\n            return \"\".concat(prefix, \"/\").concat(path);\n          }\n\n          return resolvedUrl;\n        }\n      }]);\n\n      return UrlResolverImpl;\n    }();\n    /**\n     * Extract the scheme of a URL.\n     */\n\n\n    function getUrlScheme(url) {\n      var match = _split(url);\n\n      return match && match[_ComponentIndex.Scheme] || '';\n    } // The code below is adapted from Traceur:\n    // https://github.com/google/traceur-compiler/blob/9511c1dafa972bf0de1202a8a863bad02f0f95a8/src/runtime/url.js\n\n    /**\n     * Builds a URI string from already-encoded parts.\n     *\n     * No encoding is performed.  Any component may be omitted as either null or\n     * undefined.\n     *\n     * @param opt_scheme The scheme such as 'http'.\n     * @param opt_userInfo The user name before the '@'.\n     * @param opt_domain The domain such as 'www.google.com', already\n     *     URI-encoded.\n     * @param opt_port The port number.\n     * @param opt_path The path, already URI-encoded.  If it is not\n     *     empty, it must begin with a slash.\n     * @param opt_queryData The URI-encoded query data.\n     * @param opt_fragment The URI-encoded fragment identifier.\n     * @return The fully combined URI.\n     */\n\n\n    function _buildFromEncodedParts(opt_scheme, opt_userInfo, opt_domain, opt_port, opt_path, opt_queryData, opt_fragment) {\n      var out = [];\n\n      if (opt_scheme != null) {\n        out.push(opt_scheme + ':');\n      }\n\n      if (opt_domain != null) {\n        out.push('//');\n\n        if (opt_userInfo != null) {\n          out.push(opt_userInfo + '@');\n        }\n\n        out.push(opt_domain);\n\n        if (opt_port != null) {\n          out.push(':' + opt_port);\n        }\n      }\n\n      if (opt_path != null) {\n        out.push(opt_path);\n      }\n\n      if (opt_queryData != null) {\n        out.push('?' + opt_queryData);\n      }\n\n      if (opt_fragment != null) {\n        out.push('#' + opt_fragment);\n      }\n\n      return out.join('');\n    }\n    /**\n     * A regular expression for breaking a URI into its component parts.\n     *\n     * {@link http://www.gbiv.com/protocols/uri/rfc/rfc3986.html#RFC2234} says\n     * As the \"first-match-wins\" algorithm is identical to the \"greedy\"\n     * disambiguation method used by POSIX regular expressions, it is natural and\n     * commonplace to use a regular expression for parsing the potential five\n     * components of a URI reference.\n     *\n     * The following line is the regular expression for breaking-down a\n     * well-formed URI reference into its components.\n     *\n     * <pre>\n     * ^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?\n     *  12            3  4          5       6  7        8 9\n     * </pre>\n     *\n     * The numbers in the second line above are only to assist readability; they\n     * indicate the reference points for each subexpression (i.e., each paired\n     * parenthesis). We refer to the value matched for subexpression <n> as $<n>.\n     * For example, matching the above expression to\n     * <pre>\n     *     http://www.ics.uci.edu/pub/ietf/uri/#Related\n     * </pre>\n     * results in the following subexpression matches:\n     * <pre>\n     *    $1 = http:\n     *    $2 = http\n     *    $3 = //www.ics.uci.edu\n     *    $4 = www.ics.uci.edu\n     *    $5 = /pub/ietf/uri/\n     *    $6 = <undefined>\n     *    $7 = <undefined>\n     *    $8 = #Related\n     *    $9 = Related\n     * </pre>\n     * where <undefined> indicates that the component is not present, as is the\n     * case for the query component in the above example. Therefore, we can\n     * determine the value of the five components as\n     * <pre>\n     *    scheme    = $2\n     *    authority = $4\n     *    path      = $5\n     *    query     = $7\n     *    fragment  = $9\n     * </pre>\n     *\n     * The regular expression has been modified slightly to expose the\n     * userInfo, domain, and port separately from the authority.\n     * The modified version yields\n     * <pre>\n     *    $1 = http              scheme\n     *    $2 = <undefined>       userInfo -\\\n     *    $3 = www.ics.uci.edu   domain     | authority\n     *    $4 = <undefined>       port     -/\n     *    $5 = /pub/ietf/uri/    path\n     *    $6 = <undefined>       query without ?\n     *    $7 = Related           fragment without #\n     * </pre>\n     * @internal\n     */\n\n\n    var _splitRe = new RegExp('^' + '(?:' + '([^:/?#.]+)' + // scheme - ignore special characters\n    // used by other URL parts such as :,\n    // ?, /, #, and .\n    ':)?' + '(?://' + '(?:([^/?#]*)@)?' + // userInfo\n    \"([\\\\w\\\\d\\\\-\\\\u0100-\\\\uffff.%]*)\" + // domain - restrict to letters,\n    // digits, dashes, dots, percent\n    // escapes, and unicode characters.\n    '(?::([0-9]+))?' + // port\n    ')?' + '([^?#]+)?' + // path\n    '(?:\\\\?([^#]*))?' + // query\n    '(?:#(.*))?' + // fragment\n    '$');\n    /**\n     * The index of each URI component in the return value of goog.uri.utils.split.\n     * @enum {number}\n     */\n\n\n    var _ComponentIndex;\n\n    (function (_ComponentIndex) {\n      _ComponentIndex[_ComponentIndex[\"Scheme\"] = 1] = \"Scheme\";\n      _ComponentIndex[_ComponentIndex[\"UserInfo\"] = 2] = \"UserInfo\";\n      _ComponentIndex[_ComponentIndex[\"Domain\"] = 3] = \"Domain\";\n      _ComponentIndex[_ComponentIndex[\"Port\"] = 4] = \"Port\";\n      _ComponentIndex[_ComponentIndex[\"Path\"] = 5] = \"Path\";\n      _ComponentIndex[_ComponentIndex[\"QueryData\"] = 6] = \"QueryData\";\n      _ComponentIndex[_ComponentIndex[\"Fragment\"] = 7] = \"Fragment\";\n    })(_ComponentIndex || (_ComponentIndex = {}));\n    /**\n     * Splits a URI into its component parts.\n     *\n     * Each component can be accessed via the component indices; for example:\n     * <pre>\n     * goog.uri.utils.split(someStr)[goog.uri.utils.CompontentIndex.QUERY_DATA];\n     * </pre>\n     *\n     * @param uri The URI string to examine.\n     * @return Each component still URI-encoded.\n     *     Each component that is present will contain the encoded value, whereas\n     *     components that are not present will be undefined or empty, depending\n     *     on the browser's regular expression implementation.  Never null, since\n     *     arbitrary strings may still look like path names.\n     */\n\n\n    function _split(uri) {\n      return uri.match(_splitRe);\n    }\n    /**\n      * Removes dot segments in given path component, as described in\n      * RFC 3986, section 5.2.4.\n      *\n      * @param path A non-empty path component.\n      * @return Path component with removed dot segments.\n      */\n\n\n    function _removeDotSegments(path) {\n      if (path == '/') return '/';\n      var leadingSlash = path[0] == '/' ? '/' : '';\n      var trailingSlash = path[path.length - 1] === '/' ? '/' : '';\n      var segments = path.split('/');\n      var out = [];\n      var up = 0;\n\n      for (var pos = 0; pos < segments.length; pos++) {\n        var segment = segments[pos];\n\n        switch (segment) {\n          case '':\n          case '.':\n            break;\n\n          case '..':\n            if (out.length > 0) {\n              out.pop();\n            } else {\n              up++;\n            }\n\n            break;\n\n          default:\n            out.push(segment);\n        }\n      }\n\n      if (leadingSlash == '') {\n        while (up-- > 0) {\n          out.unshift('..');\n        }\n\n        if (out.length === 0) out.push('.');\n      }\n\n      return leadingSlash + out.join('/') + trailingSlash;\n    }\n    /**\n     * Takes an array of the parts from split and canonicalizes the path part\n     * and then joins all the parts.\n     */\n\n\n    function _joinAndCanonicalizePath(parts) {\n      var path = parts[_ComponentIndex.Path];\n      path = path == null ? '' : _removeDotSegments(path);\n      parts[_ComponentIndex.Path] = path;\n      return _buildFromEncodedParts(parts[_ComponentIndex.Scheme], parts[_ComponentIndex.UserInfo], parts[_ComponentIndex.Domain], parts[_ComponentIndex.Port], path, parts[_ComponentIndex.QueryData], parts[_ComponentIndex.Fragment]);\n    }\n    /**\n     * Resolves a URL.\n     * @param base The URL acting as the base URL.\n     * @param to The URL to resolve.\n     */\n\n\n    function _resolveUrl(base, url) {\n      var parts = _split(encodeURI(url));\n\n      var baseParts = _split(base);\n\n      if (parts[_ComponentIndex.Scheme] != null) {\n        return _joinAndCanonicalizePath(parts);\n      } else {\n        parts[_ComponentIndex.Scheme] = baseParts[_ComponentIndex.Scheme];\n      }\n\n      for (var i = _ComponentIndex.Scheme; i <= _ComponentIndex.Port; i++) {\n        if (parts[i] == null) {\n          parts[i] = baseParts[i];\n        }\n      }\n\n      if (parts[_ComponentIndex.Path][0] == '/') {\n        return _joinAndCanonicalizePath(parts);\n      }\n\n      var path = baseParts[_ComponentIndex.Path];\n      if (path == null) path = '/';\n      var index = path.lastIndexOf('/');\n      path = path.substring(0, index + 1) + parts[_ComponentIndex.Path];\n      parts[_ComponentIndex.Path] = path;\n      return _joinAndCanonicalizePath(parts);\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var Extractor =\n    /*#__PURE__*/\n    function () {\n      function Extractor(host, staticSymbolResolver, messageBundle, metadataResolver) {\n        _classCallCheck(this, Extractor);\n\n        this.host = host;\n        this.staticSymbolResolver = staticSymbolResolver;\n        this.messageBundle = messageBundle;\n        this.metadataResolver = metadataResolver;\n      }\n\n      _createClass2(Extractor, [{\n        key: \"extract\",\n        value: function extract(rootFiles) {\n          var _this434 = this;\n\n          var _analyzeAndValidateNg = analyzeAndValidateNgModules(rootFiles, this.host, this.staticSymbolResolver, this.metadataResolver),\n              files = _analyzeAndValidateNg.files,\n              ngModules = _analyzeAndValidateNg.ngModules;\n\n          return Promise.all(ngModules.map(function (ngModule) {\n            return _this434.metadataResolver.loadNgModuleDirectiveAndPipeMetadata(ngModule.type.reference, false);\n          })).then(function () {\n            var errors = [];\n            files.forEach(function (file) {\n              var compMetas = [];\n              file.directives.forEach(function (directiveType) {\n                var dirMeta = _this434.metadataResolver.getDirectiveMetadata(directiveType);\n\n                if (dirMeta && dirMeta.isComponent) {\n                  compMetas.push(dirMeta);\n                }\n              });\n              compMetas.forEach(function (compMeta) {\n                var html = compMeta.template.template; // Template URL points to either an HTML or TS file depending on\n                // whether the file is used with `templateUrl:` or `template:`,\n                // respectively.\n\n                var templateUrl = compMeta.template.templateUrl;\n                var interpolationConfig = InterpolationConfig.fromArray(compMeta.template.interpolation);\n                errors.push.apply(errors, _toConsumableArray(_this434.messageBundle.updateFromTemplate(html, templateUrl, interpolationConfig)));\n              });\n            });\n\n            if (errors.length) {\n              throw new Error(errors.map(function (e) {\n                return e.toString();\n              }).join('\\n'));\n            }\n\n            return _this434.messageBundle;\n          });\n        }\n      }], [{\n        key: \"create\",\n        value: function create(host, locale) {\n          var htmlParser = new HtmlParser();\n          var urlResolver = createAotUrlResolver(host);\n          var symbolCache = new StaticSymbolCache();\n          var summaryResolver = new AotSummaryResolver(host, symbolCache);\n          var staticSymbolResolver = new StaticSymbolResolver(host, symbolCache, summaryResolver);\n          var staticReflector = new StaticReflector(summaryResolver, staticSymbolResolver);\n          var config = new CompilerConfig({\n            defaultEncapsulation: ViewEncapsulation.Emulated,\n            useJit: false\n          });\n          var normalizer = new DirectiveNormalizer({\n            get: function get(url) {\n              return host.loadResource(url);\n            }\n          }, urlResolver, htmlParser, config);\n          var elementSchemaRegistry = new DomElementSchemaRegistry();\n          var resolver = new CompileMetadataResolver(config, htmlParser, new NgModuleResolver(staticReflector), new DirectiveResolver(staticReflector), new PipeResolver(staticReflector), summaryResolver, elementSchemaRegistry, normalizer, console, symbolCache, staticReflector); // TODO(vicb): implicit tags & attributes\n\n          var messageBundle = new MessageBundle(htmlParser, [], {}, locale);\n          var extractor = new Extractor(host, staticSymbolResolver, messageBundle, resolver);\n          return {\n            extractor: extractor,\n            staticReflector: staticReflector\n          };\n        }\n      }]);\n\n      return Extractor;\n    }();\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * Processes `Target`s with a given set of directives and performs a binding operation, which\n     * returns an object similar to TypeScript's `ts.TypeChecker` that contains knowledge about the\n     * target.\n     */\n\n\n    var R3TargetBinder =\n    /*#__PURE__*/\n    function () {\n      function R3TargetBinder(directiveMatcher) {\n        _classCallCheck(this, R3TargetBinder);\n\n        this.directiveMatcher = directiveMatcher;\n      }\n      /**\n       * Perform a binding operation on the given `Target` and return a `BoundTarget` which contains\n       * metadata about the types referenced in the template.\n       */\n\n\n      _createClass2(R3TargetBinder, [{\n        key: \"bind\",\n        value: function bind(target) {\n          if (!target.template) {\n            // TODO(alxhub): handle targets which contain things like HostBindings, etc.\n            throw new Error('Binding without a template not yet supported');\n          } // First, parse the template into a `Scope` structure. This operation captures the syntactic\n          // scopes in the template and makes them available for later use.\n\n\n          var scope = Scope.apply(target.template); // Next, perform directive matching on the template using the `DirectiveBinder`. This returns:\n          //   - directives: Map of nodes (elements & ng-templates) to the directives on them.\n          //   - bindings: Map of inputs, outputs, and attributes to the directive/element that claims\n          //     them. TODO(alxhub): handle multiple directives claiming an input/output/etc.\n          //   - references: Map of #references to their targets.\n\n          var _DirectiveBinder$appl = DirectiveBinder.apply(target.template, this.directiveMatcher),\n              directives = _DirectiveBinder$appl.directives,\n              bindings = _DirectiveBinder$appl.bindings,\n              references = _DirectiveBinder$appl.references; // Finally, run the TemplateBinder to bind references, variables, and other entities within the\n          // template. This extracts all the metadata that doesn't depend on directive matching.\n\n\n          var _TemplateBinder$apply = TemplateBinder.apply(target.template, scope),\n              expressions = _TemplateBinder$apply.expressions,\n              symbols = _TemplateBinder$apply.symbols,\n              nestingLevel = _TemplateBinder$apply.nestingLevel,\n              usedPipes = _TemplateBinder$apply.usedPipes;\n\n          return new R3BoundTarget(target, directives, bindings, references, expressions, symbols, nestingLevel, usedPipes);\n        }\n      }]);\n\n      return R3TargetBinder;\n    }();\n    /**\n     * Represents a binding scope within a template.\n     *\n     * Any variables, references, or other named entities declared within the template will\n     * be captured and available by name in `namedEntities`. Additionally, child templates will\n     * be analyzed and have their child `Scope`s available in `childScopes`.\n     */\n\n\n    var Scope =\n    /*#__PURE__*/\n    function () {\n      function Scope(parentScope) {\n        _classCallCheck(this, Scope);\n\n        this.parentScope = parentScope;\n        /**\n         * Named members of the `Scope`, such as `Reference`s or `Variable`s.\n         */\n\n        this.namedEntities = new Map();\n        /**\n         * Child `Scope`s for immediately nested `Template`s.\n         */\n\n        this.childScopes = new Map();\n      }\n      /**\n       * Process a template (either as a `Template` sub-template with variables, or a plain array of\n       * template `Node`s) and construct its `Scope`.\n       */\n\n\n      _createClass2(Scope, [{\n        key: \"ingest\",\n\n        /**\n         * Internal method to process the template and populate the `Scope`.\n         */\n        value: function ingest(template) {\n          var _this435 = this;\n\n          if (template instanceof Template) {\n            // Variables on an <ng-template> are defined in the inner scope.\n            template.variables.forEach(function (node) {\n              return _this435.visitVariable(node);\n            }); // Process the nodes of the template.\n\n            template.children.forEach(function (node) {\n              return node.visit(_this435);\n            });\n          } else {\n            // No overarching `Template` instance, so process the nodes directly.\n            template.forEach(function (node) {\n              return node.visit(_this435);\n            });\n          }\n        }\n      }, {\n        key: \"visitElement\",\n        value: function visitElement(element) {\n          var _this436 = this;\n\n          // `Element`s in the template may have `Reference`s which are captured in the scope.\n          element.references.forEach(function (node) {\n            return _this436.visitReference(node);\n          }); // Recurse into the `Element`'s children.\n\n          element.children.forEach(function (node) {\n            return node.visit(_this436);\n          });\n        }\n      }, {\n        key: \"visitTemplate\",\n        value: function visitTemplate(template) {\n          var _this437 = this;\n\n          // References on a <ng-template> are defined in the outer scope, so capture them before\n          // processing the template's child scope.\n          template.references.forEach(function (node) {\n            return _this437.visitReference(node);\n          }); // Next, create an inner scope and process the template within it.\n\n          var scope = new Scope(this);\n          scope.ingest(template);\n          this.childScopes.set(template, scope);\n        }\n      }, {\n        key: \"visitVariable\",\n        value: function visitVariable(variable) {\n          // Declare the variable if it's not already.\n          this.maybeDeclare(variable);\n        }\n      }, {\n        key: \"visitReference\",\n        value: function visitReference(reference) {\n          // Declare the variable if it's not already.\n          this.maybeDeclare(reference);\n        } // Unused visitors.\n\n      }, {\n        key: \"visitContent\",\n        value: function visitContent(content) {}\n      }, {\n        key: \"visitBoundAttribute\",\n        value: function visitBoundAttribute(attr) {}\n      }, {\n        key: \"visitBoundEvent\",\n        value: function visitBoundEvent(event) {}\n      }, {\n        key: \"visitBoundText\",\n        value: function visitBoundText(text) {}\n      }, {\n        key: \"visitText\",\n        value: function visitText(text) {}\n      }, {\n        key: \"visitTextAttribute\",\n        value: function visitTextAttribute(attr) {}\n      }, {\n        key: \"visitIcu\",\n        value: function visitIcu(icu) {}\n      }, {\n        key: \"maybeDeclare\",\n        value: function maybeDeclare(thing) {\n          // Declare something with a name, as long as that name isn't taken.\n          if (!this.namedEntities.has(thing.name)) {\n            this.namedEntities.set(thing.name, thing);\n          }\n        }\n        /**\n         * Look up a variable within this `Scope`.\n         *\n         * This can recurse into a parent `Scope` if it's available.\n         */\n\n      }, {\n        key: \"lookup\",\n        value: function lookup(name) {\n          if (this.namedEntities.has(name)) {\n            // Found in the local scope.\n            return this.namedEntities.get(name);\n          } else if (this.parentScope !== undefined) {\n            // Not in the local scope, but there's a parent scope so check there.\n            return this.parentScope.lookup(name);\n          } else {\n            // At the top level and it wasn't found.\n            return null;\n          }\n        }\n        /**\n         * Get the child scope for a `Template`.\n         *\n         * This should always be defined.\n         */\n\n      }, {\n        key: \"getChildScope\",\n        value: function getChildScope(template) {\n          var res = this.childScopes.get(template);\n\n          if (res === undefined) {\n            throw new Error(\"Assertion error: child scope for \".concat(template, \" not found\"));\n          }\n\n          return res;\n        }\n      }], [{\n        key: \"apply\",\n        value: function apply(template) {\n          var scope = new Scope();\n          scope.ingest(template);\n          return scope;\n        }\n      }]);\n\n      return Scope;\n    }();\n    /**\n     * Processes a template and matches directives on nodes (elements and templates).\n     *\n     * Usually used via the static `apply()` method.\n     */\n\n\n    var DirectiveBinder =\n    /*#__PURE__*/\n    function () {\n      function DirectiveBinder(matcher, directives, bindings, references) {\n        _classCallCheck(this, DirectiveBinder);\n\n        this.matcher = matcher;\n        this.directives = directives;\n        this.bindings = bindings;\n        this.references = references;\n      }\n      /**\n       * Process a template (list of `Node`s) and perform directive matching against each node.\n       *\n       * @param template the list of template `Node`s to match (recursively).\n       * @param selectorMatcher a `SelectorMatcher` containing the directives that are in scope for\n       * this template.\n       * @returns three maps which contain information about directives in the template: the\n       * `directives` map which lists directives matched on each node, the `bindings` map which\n       * indicates which directives claimed which bindings (inputs, outputs, etc), and the `references`\n       * map which resolves #references (`Reference`s) within the template to the named directive or\n       * template node.\n       */\n\n\n      _createClass2(DirectiveBinder, [{\n        key: \"ingest\",\n        value: function ingest(template) {\n          var _this438 = this;\n\n          template.forEach(function (node) {\n            return node.visit(_this438);\n          });\n        }\n      }, {\n        key: \"visitElement\",\n        value: function visitElement(element) {\n          this.visitElementOrTemplate(element.name, element);\n        }\n      }, {\n        key: \"visitTemplate\",\n        value: function visitTemplate(template) {\n          this.visitElementOrTemplate('ng-template', template);\n        }\n      }, {\n        key: \"visitElementOrTemplate\",\n        value: function visitElementOrTemplate(tag, node) {\n          var _this439 = this;\n\n          // First, determine the HTML shape of the node for the purpose of directive matching.\n          // Do this by building up a `CssSelector` for the node.\n          var cssSelector = new CssSelector();\n          cssSelector.setElement(tag); // Add attributes to the CSS selector.\n\n          var attrs = getAttrsForDirectiveMatching(node);\n          Object.getOwnPropertyNames(attrs).forEach(function (name) {\n            var value = attrs[name];\n            cssSelector.addAttribute(name, value); // Treat the 'class' attribute specially.\n\n            if (name.toLowerCase() === 'class') {\n              var classes = value.trim().split(/\\s+/g);\n              classes.forEach(function (className) {\n                return cssSelector.addClassName(className);\n              });\n            }\n          }); // Next, use the `SelectorMatcher` to get the list of directives on the node.\n\n          var directives = [];\n          this.matcher.match(cssSelector, function (_, directive) {\n            return directives.push(directive);\n          });\n\n          if (directives.length > 0) {\n            this.directives.set(node, directives);\n          } // Resolve any references that are created on this node.\n\n\n          node.references.forEach(function (ref) {\n            var dirTarget = null; // If the reference expression is empty, then it matches the \"primary\" directive on the node\n            // (if there is one). Otherwise it matches the host node itself (either an element or\n            // <ng-template> node).\n\n            if (ref.value.trim() === '') {\n              // This could be a reference to a component if there is one.\n              dirTarget = directives.find(function (dir) {\n                return dir.isComponent;\n              }) || null;\n            } else {\n              // This is a reference to a directive exported via exportAs. One should exist.\n              dirTarget = directives.find(function (dir) {\n                return dir.exportAs !== null && dir.exportAs.some(function (value) {\n                  return value === ref.value;\n                });\n              }) || null; // Check if a matching directive was found, and error if it wasn't.\n\n              if (dirTarget === null) {\n                // TODO(alxhub): Return an error value here that can be used for template validation.\n                throw new Error(\"Assertion error: failed to find directive with exportAs: \".concat(ref.value));\n              }\n            }\n\n            if (dirTarget !== null) {\n              // This reference points to a directive.\n              _this439.references.set(ref, {\n                directive: dirTarget,\n                node: node\n              });\n            } else {\n              // This reference points to the node itself.\n              _this439.references.set(ref, node);\n            }\n          }); // Associate attributes/bindings on the node with directives or with the node itself.\n\n          var processAttribute = function processAttribute(attribute) {\n            var dir = directives.find(function (dir) {\n              return dir.inputs.hasOwnProperty(attribute.name);\n            });\n\n            if (dir !== undefined) {\n              _this439.bindings.set(attribute, dir);\n            } else {\n              _this439.bindings.set(attribute, node);\n            }\n          };\n\n          node.attributes.forEach(processAttribute);\n          node.inputs.forEach(processAttribute);\n          node.outputs.forEach(processAttribute);\n\n          if (node instanceof Template) {\n            node.templateAttrs.forEach(processAttribute);\n          } // Recurse into the node's children.\n\n\n          node.children.forEach(function (child) {\n            return child.visit(_this439);\n          });\n        } // Unused visitors.\n\n      }, {\n        key: \"visitContent\",\n        value: function visitContent(content) {}\n      }, {\n        key: \"visitVariable\",\n        value: function visitVariable(variable) {}\n      }, {\n        key: \"visitReference\",\n        value: function visitReference(reference) {}\n      }, {\n        key: \"visitTextAttribute\",\n        value: function visitTextAttribute(attribute) {}\n      }, {\n        key: \"visitBoundAttribute\",\n        value: function visitBoundAttribute(attribute) {}\n      }, {\n        key: \"visitBoundEvent\",\n        value: function visitBoundEvent(attribute) {}\n      }, {\n        key: \"visitBoundAttributeOrEvent\",\n        value: function visitBoundAttributeOrEvent(node) {}\n      }, {\n        key: \"visitText\",\n        value: function visitText(text) {}\n      }, {\n        key: \"visitBoundText\",\n        value: function visitBoundText(text) {}\n      }, {\n        key: \"visitIcu\",\n        value: function visitIcu(icu) {}\n      }], [{\n        key: \"apply\",\n        value: function apply(template, selectorMatcher) {\n          var directives = new Map();\n          var bindings = new Map();\n          var references = new Map();\n          var matcher = new DirectiveBinder(selectorMatcher, directives, bindings, references);\n          matcher.ingest(template);\n          return {\n            directives: directives,\n            bindings: bindings,\n            references: references\n          };\n        }\n      }]);\n\n      return DirectiveBinder;\n    }();\n    /**\n     * Processes a template and extract metadata about expressions and symbols within.\n     *\n     * This is a companion to the `DirectiveBinder` that doesn't require knowledge of directives matched\n     * within the template in order to operate.\n     *\n     * Expressions are visited by the superclass `RecursiveAstVisitor`, with custom logic provided\n     * by overridden methods from that visitor.\n     */\n\n\n    var TemplateBinder =\n    /*#__PURE__*/\n    function (_RecursiveAstVisitor$2) {\n      _inherits(TemplateBinder, _RecursiveAstVisitor$2);\n\n      function TemplateBinder(bindings, symbols, usedPipes, nestingLevel, scope, template, level) {\n        var _this440;\n\n        _classCallCheck(this, TemplateBinder);\n\n        _this440 = _possibleConstructorReturn(this, _getPrototypeOf(TemplateBinder).call(this));\n        _this440.bindings = bindings;\n        _this440.symbols = symbols;\n        _this440.usedPipes = usedPipes;\n        _this440.nestingLevel = nestingLevel;\n        _this440.scope = scope;\n        _this440.template = template;\n        _this440.level = level;\n        _this440.pipesUsed = []; // Save a bit of processing time by constructing this closure in advance.\n\n        _this440.visitNode = function (node) {\n          return node.visit(_assertThisInitialized(_this440));\n        };\n\n        return _this440;\n      }\n      /**\n       * Process a template and extract metadata about expressions and symbols within.\n       *\n       * @param template the nodes of the template to process\n       * @param scope the `Scope` of the template being processed.\n       * @returns three maps which contain metadata about the template: `expressions` which interprets\n       * special `AST` nodes in expressions as pointing to references or variables declared within the\n       * template, `symbols` which maps those variables and references to the nested `Template` which\n       * declares them, if any, and `nestingLevel` which associates each `Template` with a integer\n       * nesting level (how many levels deep within the template structure the `Template` is), starting\n       * at 1.\n       */\n\n\n      _createClass2(TemplateBinder, [{\n        key: \"ingest\",\n        value: function ingest(template) {\n          if (template instanceof Template) {\n            // For <ng-template>s, process only variables and child nodes. Inputs, outputs, templateAttrs,\n            // and references were all processed in the scope of the containing template.\n            template.variables.forEach(this.visitNode);\n            template.children.forEach(this.visitNode); // Set the nesting level.\n\n            this.nestingLevel.set(template, this.level);\n          } else {\n            // Visit each node from the top-level template.\n            template.forEach(this.visitNode);\n          }\n        }\n      }, {\n        key: \"visitElement\",\n        value: function visitElement(element) {\n          // Visit the inputs, outputs, and children of the element.\n          element.inputs.forEach(this.visitNode);\n          element.outputs.forEach(this.visitNode);\n          element.children.forEach(this.visitNode);\n        }\n      }, {\n        key: \"visitTemplate\",\n        value: function visitTemplate(template) {\n          // First, visit inputs, outputs and template attributes of the template node.\n          template.inputs.forEach(this.visitNode);\n          template.outputs.forEach(this.visitNode);\n          template.templateAttrs.forEach(this.visitNode); // References are also evaluated in the outer context.\n\n          template.references.forEach(this.visitNode); // Next, recurse into the template using its scope, and bumping the nesting level up by one.\n\n          var childScope = this.scope.getChildScope(template);\n          var binder = new TemplateBinder(this.bindings, this.symbols, this.usedPipes, this.nestingLevel, childScope, template, this.level + 1);\n          binder.ingest(template);\n        }\n      }, {\n        key: \"visitVariable\",\n        value: function visitVariable(variable) {\n          // Register the `Variable` as a symbol in the current `Template`.\n          if (this.template !== null) {\n            this.symbols.set(variable, this.template);\n          }\n        }\n      }, {\n        key: \"visitReference\",\n        value: function visitReference(reference) {\n          // Register the `Reference` as a symbol in the current `Template`.\n          if (this.template !== null) {\n            this.symbols.set(reference, this.template);\n          }\n        } // Unused template visitors\n\n      }, {\n        key: \"visitText\",\n        value: function visitText(text) {}\n      }, {\n        key: \"visitContent\",\n        value: function visitContent(content) {}\n      }, {\n        key: \"visitTextAttribute\",\n        value: function visitTextAttribute(attribute) {}\n      }, {\n        key: \"visitIcu\",\n        value: function visitIcu(icu) {} // The remaining visitors are concerned with processing AST expressions within template bindings\n\n      }, {\n        key: \"visitBoundAttribute\",\n        value: function visitBoundAttribute(attribute) {\n          attribute.value.visit(this);\n        }\n      }, {\n        key: \"visitBoundEvent\",\n        value: function visitBoundEvent(event) {\n          event.handler.visit(this);\n        }\n      }, {\n        key: \"visitBoundText\",\n        value: function visitBoundText(text) {\n          text.value.visit(this);\n        }\n      }, {\n        key: \"visitPipe\",\n        value: function visitPipe(ast, context) {\n          this.usedPipes.add(ast.name);\n          return _get(_getPrototypeOf(TemplateBinder.prototype), \"visitPipe\", this).call(this, ast, context);\n        } // These five types of AST expressions can refer to expression roots, which could be variables\n        // or references in the current scope.\n\n      }, {\n        key: \"visitPropertyRead\",\n        value: function visitPropertyRead(ast, context) {\n          this.maybeMap(context, ast, ast.name);\n          return _get(_getPrototypeOf(TemplateBinder.prototype), \"visitPropertyRead\", this).call(this, ast, context);\n        }\n      }, {\n        key: \"visitSafePropertyRead\",\n        value: function visitSafePropertyRead(ast, context) {\n          this.maybeMap(context, ast, ast.name);\n          return _get(_getPrototypeOf(TemplateBinder.prototype), \"visitSafePropertyRead\", this).call(this, ast, context);\n        }\n      }, {\n        key: \"visitPropertyWrite\",\n        value: function visitPropertyWrite(ast, context) {\n          this.maybeMap(context, ast, ast.name);\n          return _get(_getPrototypeOf(TemplateBinder.prototype), \"visitPropertyWrite\", this).call(this, ast, context);\n        }\n      }, {\n        key: \"visitMethodCall\",\n        value: function visitMethodCall(ast, context) {\n          this.maybeMap(context, ast, ast.name);\n          return _get(_getPrototypeOf(TemplateBinder.prototype), \"visitMethodCall\", this).call(this, ast, context);\n        }\n      }, {\n        key: \"visitSafeMethodCall\",\n        value: function visitSafeMethodCall(ast, context) {\n          this.maybeMap(context, ast, ast.name);\n          return _get(_getPrototypeOf(TemplateBinder.prototype), \"visitSafeMethodCall\", this).call(this, ast, context);\n        }\n      }, {\n        key: \"maybeMap\",\n        value: function maybeMap(scope, ast, name) {\n          // If the receiver of the expression isn't the `ImplicitReceiver`, this isn't the root of an\n          // `AST` expression that maps to a `Variable` or `Reference`.\n          if (!(ast.receiver instanceof ImplicitReceiver)) {\n            return;\n          } // Check whether the name exists in the current scope. If so, map it. Otherwise, the name is\n          // probably a property on the top-level component context.\n\n\n          var target = this.scope.lookup(name);\n\n          if (target !== null) {\n            this.bindings.set(ast, target);\n          }\n        }\n      }], [{\n        key: \"apply\",\n        value: function apply(template, scope) {\n          var expressions = new Map();\n          var symbols = new Map();\n          var nestingLevel = new Map();\n          var usedPipes = new Set(); // The top-level template has nesting level 0.\n\n          var binder = new TemplateBinder(expressions, symbols, usedPipes, nestingLevel, scope, template instanceof Template ? template : null, 0);\n          binder.ingest(template);\n          return {\n            expressions: expressions,\n            symbols: symbols,\n            nestingLevel: nestingLevel,\n            usedPipes: usedPipes\n          };\n        }\n      }]);\n\n      return TemplateBinder;\n    }(RecursiveAstVisitor$1);\n    /**\n     * Metadata container for a `Target` that allows queries for specific bits of metadata.\n     *\n     * See `BoundTarget` for documentation on the individual methods.\n     */\n\n\n    var R3BoundTarget =\n    /*#__PURE__*/\n    function () {\n      function R3BoundTarget(target, directives, bindings, references, exprTargets, symbols, nestingLevel, usedPipes) {\n        _classCallCheck(this, R3BoundTarget);\n\n        this.target = target;\n        this.directives = directives;\n        this.bindings = bindings;\n        this.references = references;\n        this.exprTargets = exprTargets;\n        this.symbols = symbols;\n        this.nestingLevel = nestingLevel;\n        this.usedPipes = usedPipes;\n      }\n\n      _createClass2(R3BoundTarget, [{\n        key: \"getDirectivesOfNode\",\n        value: function getDirectivesOfNode(node) {\n          return this.directives.get(node) || null;\n        }\n      }, {\n        key: \"getReferenceTarget\",\n        value: function getReferenceTarget(ref) {\n          return this.references.get(ref) || null;\n        }\n      }, {\n        key: \"getConsumerOfBinding\",\n        value: function getConsumerOfBinding(binding) {\n          return this.bindings.get(binding) || null;\n        }\n      }, {\n        key: \"getExpressionTarget\",\n        value: function getExpressionTarget(expr) {\n          return this.exprTargets.get(expr) || null;\n        }\n      }, {\n        key: \"getTemplateOfSymbol\",\n        value: function getTemplateOfSymbol(symbol) {\n          return this.symbols.get(symbol) || null;\n        }\n      }, {\n        key: \"getNestingLevel\",\n        value: function getNestingLevel(template) {\n          return this.nestingLevel.get(template) || 0;\n        }\n      }, {\n        key: \"getUsedDirectives\",\n        value: function getUsedDirectives() {\n          var set = new Set();\n          this.directives.forEach(function (dirs) {\n            return dirs.forEach(function (dir) {\n              return set.add(dir);\n            });\n          });\n          return Array.from(set.values());\n        }\n      }, {\n        key: \"getUsedPipes\",\n        value: function getUsedPipes() {\n          return Array.from(this.usedPipes);\n        }\n      }]);\n\n      return R3BoundTarget;\n    }();\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n    // This file only reexports content of the `src` folder. Keep it that way.\n    // This function call has a global side effects and publishes the compiler into global namespace for\n    // the late binding of the Compiler to the @angular/core for jit compilation.\n\n\n    publishFacade(_global);\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n    // This file only reexports content of the `src` folder. Keep it that way.\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /***/\n  },\n\n  /***/\n  \"./node_modules/@angular/core/fesm2015/core.js\":\n  /*!*****************************************************!*\\\n    !*** ./node_modules/@angular/core/fesm2015/core.js ***!\n    \\*****************************************************/\n\n  /*! exports provided: ɵangular_packages_core_core_q, ɵangular_packages_core_core_n, ɵangular_packages_core_core_o, ɵangular_packages_core_core_p, ɵangular_packages_core_core_r, ɵangular_packages_core_core_f, ɵangular_packages_core_core_l, ɵangular_packages_core_core_m, ɵangular_packages_core_core_k, ɵangular_packages_core_core_j, ɵangular_packages_core_core_b, ɵangular_packages_core_core_a, ɵangular_packages_core_core_c, ɵangular_packages_core_core_d, ɵangular_packages_core_core_e, ɵangular_packages_core_core_i, ɵangular_packages_core_core_s, ɵangular_packages_core_core_u, ɵangular_packages_core_core_t, ɵangular_packages_core_core_x, ɵangular_packages_core_core_v, ɵangular_packages_core_core_w, ɵangular_packages_core_core_ba, ɵangular_packages_core_core_bb, ɵangular_packages_core_core_bc, ɵangular_packages_core_core_bd, ɵangular_packages_core_core_be, ɵangular_packages_core_core_bm, ɵangular_packages_core_core_bl, ɵangular_packages_core_core_g, ɵangular_packages_core_core_h, ɵangular_packages_core_core_bg, ɵangular_packages_core_core_bk, ɵangular_packages_core_core_bh, ɵangular_packages_core_core_bi, ɵangular_packages_core_core_bn, ɵangular_packages_core_core_y, ɵangular_packages_core_core_z, createPlatform, assertPlatform, destroyPlatform, getPlatform, PlatformRef, ApplicationRef, createPlatformFactory, NgProbeToken, enableProdMode, isDevMode, APP_ID, PACKAGE_ROOT_URL, PLATFORM_INITIALIZER, PLATFORM_ID, APP_BOOTSTRAP_LISTENER, APP_INITIALIZER, ApplicationInitStatus, DebugElement, DebugEventListener, DebugNode, asNativeElements, getDebugNode, Testability, TestabilityRegistry, setTestabilityGetter, TRANSLATIONS, TRANSLATIONS_FORMAT, LOCALE_ID, MissingTranslationStrategy, ApplicationModule, wtfCreateScope, wtfLeave, wtfStartTimeRange, wtfEndTimeRange, Type, EventEmitter, ErrorHandler, Sanitizer, SecurityContext, Attribute, ANALYZE_FOR_ENTRY_COMPONENTS, ContentChild, ContentChildren, Query, ViewChild, ViewChildren, Component, Directive, HostBinding, HostListener, Input, Output, Pipe, NgModule, CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA, ViewEncapsulation, Version, VERSION, InjectFlags, ɵɵdefineInjectable, defineInjectable, ɵɵdefineInjector, forwardRef, resolveForwardRef, Injectable, Injector, ɵɵinject, inject, INJECTOR, ReflectiveInjector, ResolvedReflectiveFactory, ReflectiveKey, InjectionToken, Inject, Optional, Self, SkipSelf, Host, NgZone, ɵNoopNgZone, RenderComponentType, Renderer, Renderer2, RendererFactory2, RendererStyleFlags2, RootRenderer, COMPILER_OPTIONS, Compiler, CompilerFactory, ModuleWithComponentFactories, ComponentFactory, ɵComponentFactory, ComponentRef, ComponentFactoryResolver, ElementRef, NgModuleFactory, NgModuleRef, NgModuleFactoryLoader, getModuleFactory, QueryList, SystemJsNgModuleLoader, SystemJsNgModuleLoaderConfig, TemplateRef, ViewContainerRef, EmbeddedViewRef, ViewRef, ChangeDetectionStrategy, ChangeDetectorRef, DefaultIterableDiffer, IterableDiffers, KeyValueDiffers, SimpleChange, WrappedValue, platformCore, ɵALLOW_MULTIPLE_PLATFORMS, ɵAPP_ID_RANDOM_PROVIDER, ɵdefaultIterableDiffers, ɵdefaultKeyValueDiffers, ɵdevModeEqual, ɵisListLikeIterable, ɵChangeDetectorStatus, ɵisDefaultChangeDetectionStrategy, ɵConsole, ɵsetCurrentInjector, ɵgetInjectableDef, ɵAPP_ROOT, ɵDEFAULT_LOCALE_ID, ɵivyEnabled, ɵCodegenComponentFactoryResolver, ɵclearResolutionOfComponentResourcesQueue, ɵresolveComponentResources, ɵReflectionCapabilities, ɵRenderDebugInfo, ɵ_sanitizeHtml, ɵ_sanitizeStyle, ɵ_sanitizeUrl, ɵglobal, ɵlooseIdentical, ɵstringify, ɵmakeDecorator, ɵisObservable, ɵisPromise, ɵclearOverrides, ɵinitServicesIfNeeded, ɵoverrideComponentView, ɵoverrideProvider, ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR, ɵgetLocalePluralCase, ɵfindLocaleData, ɵLOCALE_DATA, ɵLocaleDataIndex, ɵɵattribute, ɵɵattributeInterpolate1, ɵɵattributeInterpolate2, ɵɵattributeInterpolate3, ɵɵattributeInterpolate4, ɵɵattributeInterpolate5, ɵɵattributeInterpolate6, ɵɵattributeInterpolate7, ɵɵattributeInterpolate8, ɵɵattributeInterpolateV, ɵɵdefineBase, ɵɵdefineComponent, ɵɵdefineDirective, ɵɵdefinePipe, ɵɵdefineNgModule, ɵdetectChanges, ɵrenderComponent, ɵRender3ComponentFactory, ɵRender3ComponentRef, ɵɵdirectiveInject, ɵɵinjectAttribute, ɵɵinjectPipeChangeDetectorRef, ɵɵgetFactoryOf, ɵɵgetInheritedFactory, ɵɵsetComponentScope, ɵɵsetNgModuleScope, ɵɵtemplateRefExtractor, ɵɵProvidersFeature, ɵɵInheritDefinitionFeature, ɵɵNgOnChangesFeature, ɵLifecycleHooksFeature, ɵRender3NgModuleRef, ɵmarkDirty, ɵNgModuleFactory, ɵNO_CHANGE, ɵɵcontainer, ɵɵnextContext, ɵɵelementStart, ɵɵnamespaceHTML, ɵɵnamespaceMathML, ɵɵnamespaceSVG, ɵɵelement, ɵɵlistener, ɵɵtext, ɵɵtextInterpolate, ɵɵtextInterpolate1, ɵɵtextInterpolate2, ɵɵtextInterpolate3, ɵɵtextInterpolate4, ɵɵtextInterpolate5, ɵɵtextInterpolate6, ɵɵtextInterpolate7, ɵɵtextInterpolate8, ɵɵtextInterpolateV, ɵɵembeddedViewStart, ɵɵprojection, ɵɵpipeBind1, ɵɵpipeBind2, ɵɵpipeBind3, ɵɵpipeBind4, ɵɵpipeBindV, ɵɵpureFunction0, ɵɵpureFunction1, ɵɵpureFunction2, ɵɵpureFunction3, ɵɵpureFunction4, ɵɵpureFunction5, ɵɵpureFunction6, ɵɵpureFunction7, ɵɵpureFunction8, ɵɵpureFunctionV, ɵɵgetCurrentView, ɵgetDirectives, ɵgetHostElement, ɵɵrestoreView, ɵɵcontainerRefreshStart, ɵɵcontainerRefreshEnd, ɵɵqueryRefresh, ɵɵviewQuery, ɵɵstaticViewQuery, ɵɵstaticContentQuery, ɵɵloadViewQuery, ɵɵcontentQuery, ɵɵloadContentQuery, ɵɵelementEnd, ɵɵhostProperty, ɵɵproperty, ɵɵpropertyInterpolate, ɵɵpropertyInterpolate1, ɵɵpropertyInterpolate2, ɵɵpropertyInterpolate3, ɵɵpropertyInterpolate4, ɵɵpropertyInterpolate5, ɵɵpropertyInterpolate6, ɵɵpropertyInterpolate7, ɵɵpropertyInterpolate8, ɵɵpropertyInterpolateV, ɵɵupdateSyntheticHostBinding, ɵɵcomponentHostSyntheticListener, ɵɵprojectionDef, ɵɵreference, ɵɵenableBindings, ɵɵdisableBindings, ɵɵallocHostVars, ɵɵelementContainerStart, ɵɵelementContainerEnd, ɵɵelementContainer, ɵɵstyling, ɵɵstyleMap, ɵɵstyleSanitizer, ɵɵclassMap, ɵɵclassMapInterpolate1, ɵɵclassMapInterpolate2, ɵɵclassMapInterpolate3, ɵɵclassMapInterpolate4, ɵɵclassMapInterpolate5, ɵɵclassMapInterpolate6, ɵɵclassMapInterpolate7, ɵɵclassMapInterpolate8, ɵɵclassMapInterpolateV, ɵɵstyleProp, ɵɵstylePropInterpolate1, ɵɵstylePropInterpolate2, ɵɵstylePropInterpolate3, ɵɵstylePropInterpolate4, ɵɵstylePropInterpolate5, ɵɵstylePropInterpolate6, ɵɵstylePropInterpolate7, ɵɵstylePropInterpolate8, ɵɵstylePropInterpolateV, ɵɵstylingApply, ɵɵclassProp, ɵɵelementHostAttrs, ɵɵselect, ɵɵtextBinding, ɵɵtemplate, ɵɵembeddedViewEnd, ɵstore, ɵɵload, ɵɵpipe, ɵwhenRendered, ɵɵi18n, ɵɵi18nAttributes, ɵɵi18nExp, ɵɵi18nStart, ɵɵi18nEnd, ɵɵi18nApply, ɵɵi18nPostprocess, ɵi18nConfigureLocalize, ɵɵi18nLocalize, ɵsetLocaleId, ɵsetClassMetadata, ɵɵresolveWindow, ɵɵresolveDocument, ɵɵresolveBody, ɵcompileComponent, ɵcompileDirective, ɵcompileNgModule, ɵcompileNgModuleDefs, ɵpatchComponentDefWithScope, ɵresetCompiledComponents, ɵflushModuleScopingQueueAsMuchAsPossible, ɵtransitiveScopesFor, ɵcompilePipe, ɵɵsanitizeHtml, ɵɵsanitizeStyle, ɵɵdefaultStyleSanitizer, ɵɵsanitizeScript, ɵɵsanitizeUrl, ɵɵsanitizeResourceUrl, ɵɵsanitizeUrlOrResourceUrl, ɵbypassSanitizationTrustHtml, ɵbypassSanitizationTrustStyle, ɵbypassSanitizationTrustScript, ɵbypassSanitizationTrustUrl, ɵbypassSanitizationTrustResourceUrl, ɵgetLContext, ɵNG_ELEMENT_ID, ɵNG_COMPONENT_DEF, ɵNG_DIRECTIVE_DEF, ɵNG_PIPE_DEF, ɵNG_MODULE_DEF, ɵNG_BASE_DEF, ɵNG_INJECTABLE_DEF, ɵNG_INJECTOR_DEF, ɵcompileNgModuleFactory__POST_R3__, ɵisBoundToModule__POST_R3__, ɵSWITCH_COMPILE_COMPONENT__POST_R3__, ɵSWITCH_COMPILE_DIRECTIVE__POST_R3__, ɵSWITCH_COMPILE_PIPE__POST_R3__, ɵSWITCH_COMPILE_NGMODULE__POST_R3__, ɵgetDebugNode__POST_R3__, ɵSWITCH_COMPILE_INJECTABLE__POST_R3__, ɵSWITCH_IVY_ENABLED__POST_R3__, ɵSWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__, ɵCompiler_compileModuleSync__POST_R3__, ɵCompiler_compileModuleAsync__POST_R3__, ɵCompiler_compileModuleAndAllComponentsSync__POST_R3__, ɵCompiler_compileModuleAndAllComponentsAsync__POST_R3__, ɵSWITCH_ELEMENT_REF_FACTORY__POST_R3__, ɵSWITCH_TEMPLATE_REF_FACTORY__POST_R3__, ɵSWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__, ɵSWITCH_RENDERER2_FACTORY__POST_R3__, ɵgetModuleFactory__POST_R3__, ɵregisterNgModuleType, ɵpublishGlobalUtil, ɵpublishDefaultGlobalUtils, ɵcreateInjector, ɵINJECTOR_IMPL__POST_R3__, ɵregisterModuleFactory, ɵEMPTY_ARRAY, ɵEMPTY_MAP, ɵand, ɵccf, ɵcmf, ɵcrt, ɵdid, ɵeld, ɵgetComponentViewDefinitionFactory, ɵinlineInterpolate, ɵinterpolate, ɵmod, ɵmpd, ɵncd, ɵnov, ɵpid, ɵprd, ɵpad, ɵpod, ɵppd, ɵqud, ɵted, ɵunv, ɵvid */\n\n  /***/\n  function node_modulesAngularCoreFesm2015CoreJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_q\", function () {\n      return APPLICATION_MODULE_PROVIDERS;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_n\", function () {\n      return _iterableDiffersFactory;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_o\", function () {\n      return _keyValueDiffersFactory;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_p\", function () {\n      return _localeFactory;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_r\", function () {\n      return zoneSchedulerFactory;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_f\", function () {\n      return _appIdRandomProviderFactory;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_l\", function () {\n      return DefaultIterableDifferFactory;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_m\", function () {\n      return DefaultKeyValueDifferFactory;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_k\", function () {\n      return DebugElement__PRE_R3__;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_j\", function () {\n      return DebugNode__PRE_R3__;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_b\", function () {\n      return NullInjector;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_a\", function () {\n      return injectInjectorOnly;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_c\", function () {\n      return ReflectiveInjector_;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_d\", function () {\n      return ReflectiveDependency;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_e\", function () {\n      return resolveReflectiveProviders;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_i\", function () {\n      return getModuleFactory__PRE_R3__;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_s\", function () {\n      return wtfEnabled;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_u\", function () {\n      return createScope;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_t\", function () {\n      return detectWTF;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_x\", function () {\n      return endTimeRange;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_v\", function () {\n      return leave;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_w\", function () {\n      return startTimeRange;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_ba\", function () {\n      return SCHEDULER;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_bb\", function () {\n      return injectAttributeImpl;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_bc\", function () {\n      return getLView;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_bd\", function () {\n      return getPreviousOrParentTNode;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_be\", function () {\n      return nextContextImpl;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_bm\", function () {\n      return getRootContext;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_bl\", function () {\n      return loadInternal;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_g\", function () {\n      return createElementRef;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_h\", function () {\n      return createTemplateRef;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_bg\", function () {\n      return getUrlSanitizer;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_bk\", function () {\n      return noSideEffects;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_bh\", function () {\n      return makeParamDecorator;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_bi\", function () {\n      return makePropDecorator;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_bn\", function () {\n      return getClosureSafeProperty;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_y\", function () {\n      return _def;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_core_core_z\", function () {\n      return DebugContext;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"createPlatform\", function () {\n      return createPlatform;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"assertPlatform\", function () {\n      return assertPlatform;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"destroyPlatform\", function () {\n      return destroyPlatform;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"getPlatform\", function () {\n      return getPlatform;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"PlatformRef\", function () {\n      return PlatformRef;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ApplicationRef\", function () {\n      return ApplicationRef;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"createPlatformFactory\", function () {\n      return createPlatformFactory;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NgProbeToken\", function () {\n      return NgProbeToken;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"enableProdMode\", function () {\n      return enableProdMode;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"isDevMode\", function () {\n      return isDevMode;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"APP_ID\", function () {\n      return APP_ID;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"PACKAGE_ROOT_URL\", function () {\n      return PACKAGE_ROOT_URL;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"PLATFORM_INITIALIZER\", function () {\n      return PLATFORM_INITIALIZER;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"PLATFORM_ID\", function () {\n      return PLATFORM_ID;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"APP_BOOTSTRAP_LISTENER\", function () {\n      return APP_BOOTSTRAP_LISTENER;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"APP_INITIALIZER\", function () {\n      return APP_INITIALIZER;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ApplicationInitStatus\", function () {\n      return ApplicationInitStatus;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DebugElement\", function () {\n      return DebugElement;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DebugEventListener\", function () {\n      return DebugEventListener;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DebugNode\", function () {\n      return DebugNode$1;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"asNativeElements\", function () {\n      return asNativeElements;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"getDebugNode\", function () {\n      return getDebugNode;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Testability\", function () {\n      return Testability;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TestabilityRegistry\", function () {\n      return TestabilityRegistry;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"setTestabilityGetter\", function () {\n      return setTestabilityGetter;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TRANSLATIONS\", function () {\n      return TRANSLATIONS$1;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TRANSLATIONS_FORMAT\", function () {\n      return TRANSLATIONS_FORMAT;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"LOCALE_ID\", function () {\n      return LOCALE_ID$1;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MissingTranslationStrategy\", function () {\n      return MissingTranslationStrategy;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ApplicationModule\", function () {\n      return ApplicationModule;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"wtfCreateScope\", function () {\n      return wtfCreateScope;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"wtfLeave\", function () {\n      return wtfLeave;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"wtfStartTimeRange\", function () {\n      return wtfStartTimeRange;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"wtfEndTimeRange\", function () {\n      return wtfEndTimeRange;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Type\", function () {\n      return Type;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"EventEmitter\", function () {\n      return EventEmitter;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ErrorHandler\", function () {\n      return ErrorHandler;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Sanitizer\", function () {\n      return Sanitizer;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"SecurityContext\", function () {\n      return SecurityContext;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Attribute\", function () {\n      return Attribute;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ANALYZE_FOR_ENTRY_COMPONENTS\", function () {\n      return ANALYZE_FOR_ENTRY_COMPONENTS;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ContentChild\", function () {\n      return ContentChild;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ContentChildren\", function () {\n      return ContentChildren;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Query\", function () {\n      return Query;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ViewChild\", function () {\n      return ViewChild;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ViewChildren\", function () {\n      return ViewChildren;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Component\", function () {\n      return Component;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Directive\", function () {\n      return Directive;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"HostBinding\", function () {\n      return HostBinding;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"HostListener\", function () {\n      return HostListener;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Input\", function () {\n      return Input;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Output\", function () {\n      return Output;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Pipe\", function () {\n      return Pipe;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NgModule\", function () {\n      return NgModule;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CUSTOM_ELEMENTS_SCHEMA\", function () {\n      return CUSTOM_ELEMENTS_SCHEMA;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NO_ERRORS_SCHEMA\", function () {\n      return NO_ERRORS_SCHEMA;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ViewEncapsulation\", function () {\n      return ViewEncapsulation;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Version\", function () {\n      return Version;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"VERSION\", function () {\n      return VERSION;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"InjectFlags\", function () {\n      return InjectFlags;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵdefineInjectable\", function () {\n      return ɵɵdefineInjectable;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"defineInjectable\", function () {\n      return defineInjectable;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵdefineInjector\", function () {\n      return ɵɵdefineInjector;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"forwardRef\", function () {\n      return forwardRef;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"resolveForwardRef\", function () {\n      return resolveForwardRef;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Injectable\", function () {\n      return Injectable;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Injector\", function () {\n      return Injector;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵinject\", function () {\n      return ɵɵinject;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"inject\", function () {\n      return inject;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"INJECTOR\", function () {\n      return INJECTOR;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ReflectiveInjector\", function () {\n      return ReflectiveInjector;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ResolvedReflectiveFactory\", function () {\n      return ResolvedReflectiveFactory;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ReflectiveKey\", function () {\n      return ReflectiveKey;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"InjectionToken\", function () {\n      return InjectionToken;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Inject\", function () {\n      return Inject;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Optional\", function () {\n      return Optional;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Self\", function () {\n      return Self;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"SkipSelf\", function () {\n      return SkipSelf;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Host\", function () {\n      return Host;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NgZone\", function () {\n      return NgZone;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵNoopNgZone\", function () {\n      return NoopNgZone;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"RenderComponentType\", function () {\n      return RenderComponentType;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Renderer\", function () {\n      return Renderer;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Renderer2\", function () {\n      return Renderer2;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"RendererFactory2\", function () {\n      return RendererFactory2;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"RendererStyleFlags2\", function () {\n      return RendererStyleFlags2;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"RootRenderer\", function () {\n      return RootRenderer;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"COMPILER_OPTIONS\", function () {\n      return COMPILER_OPTIONS;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Compiler\", function () {\n      return Compiler;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CompilerFactory\", function () {\n      return CompilerFactory;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ModuleWithComponentFactories\", function () {\n      return ModuleWithComponentFactories;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ComponentFactory\", function () {\n      return ComponentFactory;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵComponentFactory\", function () {\n      return ComponentFactory;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ComponentRef\", function () {\n      return ComponentRef;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ComponentFactoryResolver\", function () {\n      return ComponentFactoryResolver;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ElementRef\", function () {\n      return ElementRef;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NgModuleFactory\", function () {\n      return NgModuleFactory;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NgModuleRef\", function () {\n      return NgModuleRef;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NgModuleFactoryLoader\", function () {\n      return NgModuleFactoryLoader;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"getModuleFactory\", function () {\n      return getModuleFactory;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"QueryList\", function () {\n      return QueryList;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"SystemJsNgModuleLoader\", function () {\n      return SystemJsNgModuleLoader;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"SystemJsNgModuleLoaderConfig\", function () {\n      return SystemJsNgModuleLoaderConfig;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TemplateRef\", function () {\n      return TemplateRef;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ViewContainerRef\", function () {\n      return ViewContainerRef;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"EmbeddedViewRef\", function () {\n      return EmbeddedViewRef;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ViewRef\", function () {\n      return ViewRef$1;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ChangeDetectionStrategy\", function () {\n      return ChangeDetectionStrategy;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ChangeDetectorRef\", function () {\n      return ChangeDetectorRef;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DefaultIterableDiffer\", function () {\n      return DefaultIterableDiffer;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"IterableDiffers\", function () {\n      return IterableDiffers;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"KeyValueDiffers\", function () {\n      return KeyValueDiffers;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"SimpleChange\", function () {\n      return SimpleChange;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"WrappedValue\", function () {\n      return WrappedValue;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"platformCore\", function () {\n      return platformCore;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵALLOW_MULTIPLE_PLATFORMS\", function () {\n      return ALLOW_MULTIPLE_PLATFORMS;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵAPP_ID_RANDOM_PROVIDER\", function () {\n      return APP_ID_RANDOM_PROVIDER;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵdefaultIterableDiffers\", function () {\n      return defaultIterableDiffers;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵdefaultKeyValueDiffers\", function () {\n      return defaultKeyValueDiffers;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵdevModeEqual\", function () {\n      return devModeEqual$1;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵisListLikeIterable\", function () {\n      return isListLikeIterable$1;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵChangeDetectorStatus\", function () {\n      return ChangeDetectorStatus;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵisDefaultChangeDetectionStrategy\", function () {\n      return isDefaultChangeDetectionStrategy;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵConsole\", function () {\n      return Console;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵsetCurrentInjector\", function () {\n      return setCurrentInjector;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵgetInjectableDef\", function () {\n      return getInjectableDef;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵAPP_ROOT\", function () {\n      return APP_ROOT;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵDEFAULT_LOCALE_ID\", function () {\n      return DEFAULT_LOCALE_ID;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵivyEnabled\", function () {\n      return ivyEnabled;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵCodegenComponentFactoryResolver\", function () {\n      return CodegenComponentFactoryResolver;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵclearResolutionOfComponentResourcesQueue\", function () {\n      return clearResolutionOfComponentResourcesQueue;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵresolveComponentResources\", function () {\n      return resolveComponentResources;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵReflectionCapabilities\", function () {\n      return ReflectionCapabilities;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵRenderDebugInfo\", function () {\n      return RenderDebugInfo;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵ_sanitizeHtml\", function () {\n      return _sanitizeHtml;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵ_sanitizeStyle\", function () {\n      return _sanitizeStyle;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵ_sanitizeUrl\", function () {\n      return _sanitizeUrl;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵglobal\", function () {\n      return _global;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵlooseIdentical\", function () {\n      return looseIdentical;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵstringify\", function () {\n      return stringify;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵmakeDecorator\", function () {\n      return makeDecorator;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵisObservable\", function () {\n      return isObservable;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵisPromise\", function () {\n      return isPromise;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵclearOverrides\", function () {\n      return clearOverrides;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵinitServicesIfNeeded\", function () {\n      return initServicesIfNeeded;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵoverrideComponentView\", function () {\n      return overrideComponentView;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵoverrideProvider\", function () {\n      return overrideProvider;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR\", function () {\n      return NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵgetLocalePluralCase\", function () {\n      return getLocalePluralCase;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵfindLocaleData\", function () {\n      return findLocaleData;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵLOCALE_DATA\", function () {\n      return LOCALE_DATA;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵLocaleDataIndex\", function () {\n      return LocaleDataIndex;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵattribute\", function () {\n      return ɵɵattribute;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵattributeInterpolate1\", function () {\n      return ɵɵattributeInterpolate1;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵattributeInterpolate2\", function () {\n      return ɵɵattributeInterpolate2;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵattributeInterpolate3\", function () {\n      return ɵɵattributeInterpolate3;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵattributeInterpolate4\", function () {\n      return ɵɵattributeInterpolate4;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵattributeInterpolate5\", function () {\n      return ɵɵattributeInterpolate5;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵattributeInterpolate6\", function () {\n      return ɵɵattributeInterpolate6;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵattributeInterpolate7\", function () {\n      return ɵɵattributeInterpolate7;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵattributeInterpolate8\", function () {\n      return ɵɵattributeInterpolate8;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵattributeInterpolateV\", function () {\n      return ɵɵattributeInterpolateV;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵdefineBase\", function () {\n      return ɵɵdefineBase;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵdefineComponent\", function () {\n      return ɵɵdefineComponent;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵdefineDirective\", function () {\n      return ɵɵdefineDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵdefinePipe\", function () {\n      return ɵɵdefinePipe;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵdefineNgModule\", function () {\n      return ɵɵdefineNgModule;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵdetectChanges\", function () {\n      return detectChanges;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵrenderComponent\", function () {\n      return renderComponent;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵRender3ComponentFactory\", function () {\n      return ComponentFactory$1;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵRender3ComponentRef\", function () {\n      return ComponentRef$1;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵdirectiveInject\", function () {\n      return ɵɵdirectiveInject;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵinjectAttribute\", function () {\n      return ɵɵinjectAttribute;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵinjectPipeChangeDetectorRef\", function () {\n      return ɵɵinjectPipeChangeDetectorRef;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵgetFactoryOf\", function () {\n      return ɵɵgetFactoryOf;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵgetInheritedFactory\", function () {\n      return ɵɵgetInheritedFactory;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵsetComponentScope\", function () {\n      return ɵɵsetComponentScope;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵsetNgModuleScope\", function () {\n      return ɵɵsetNgModuleScope;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵtemplateRefExtractor\", function () {\n      return ɵɵtemplateRefExtractor;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵProvidersFeature\", function () {\n      return ɵɵProvidersFeature;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵInheritDefinitionFeature\", function () {\n      return ɵɵInheritDefinitionFeature;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵNgOnChangesFeature\", function () {\n      return ɵɵNgOnChangesFeature;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵLifecycleHooksFeature\", function () {\n      return LifecycleHooksFeature;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵRender3NgModuleRef\", function () {\n      return NgModuleRef$1;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵmarkDirty\", function () {\n      return markDirty;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵNgModuleFactory\", function () {\n      return NgModuleFactory$1;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵNO_CHANGE\", function () {\n      return NO_CHANGE;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵcontainer\", function () {\n      return ɵɵcontainer;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵnextContext\", function () {\n      return ɵɵnextContext;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵelementStart\", function () {\n      return ɵɵelementStart;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵnamespaceHTML\", function () {\n      return ɵɵnamespaceHTML;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵnamespaceMathML\", function () {\n      return ɵɵnamespaceMathML;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵnamespaceSVG\", function () {\n      return ɵɵnamespaceSVG;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵelement\", function () {\n      return ɵɵelement;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵlistener\", function () {\n      return ɵɵlistener;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵtext\", function () {\n      return ɵɵtext;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵtextInterpolate\", function () {\n      return ɵɵtextInterpolate;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵtextInterpolate1\", function () {\n      return ɵɵtextInterpolate1;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵtextInterpolate2\", function () {\n      return ɵɵtextInterpolate2;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵtextInterpolate3\", function () {\n      return ɵɵtextInterpolate3;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵtextInterpolate4\", function () {\n      return ɵɵtextInterpolate4;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵtextInterpolate5\", function () {\n      return ɵɵtextInterpolate5;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵtextInterpolate6\", function () {\n      return ɵɵtextInterpolate6;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵtextInterpolate7\", function () {\n      return ɵɵtextInterpolate7;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵtextInterpolate8\", function () {\n      return ɵɵtextInterpolate8;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵtextInterpolateV\", function () {\n      return ɵɵtextInterpolateV;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵembeddedViewStart\", function () {\n      return ɵɵembeddedViewStart;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵprojection\", function () {\n      return ɵɵprojection;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵpipeBind1\", function () {\n      return ɵɵpipeBind1;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵpipeBind2\", function () {\n      return ɵɵpipeBind2;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵpipeBind3\", function () {\n      return ɵɵpipeBind3;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵpipeBind4\", function () {\n      return ɵɵpipeBind4;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵpipeBindV\", function () {\n      return ɵɵpipeBindV;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵpureFunction0\", function () {\n      return ɵɵpureFunction0;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵpureFunction1\", function () {\n      return ɵɵpureFunction1;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵpureFunction2\", function () {\n      return ɵɵpureFunction2;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵpureFunction3\", function () {\n      return ɵɵpureFunction3;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵpureFunction4\", function () {\n      return ɵɵpureFunction4;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵpureFunction5\", function () {\n      return ɵɵpureFunction5;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵpureFunction6\", function () {\n      return ɵɵpureFunction6;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵpureFunction7\", function () {\n      return ɵɵpureFunction7;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵpureFunction8\", function () {\n      return ɵɵpureFunction8;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵpureFunctionV\", function () {\n      return ɵɵpureFunctionV;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵgetCurrentView\", function () {\n      return ɵɵgetCurrentView;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵgetDirectives\", function () {\n      return getDirectives;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵgetHostElement\", function () {\n      return getHostElement;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵrestoreView\", function () {\n      return ɵɵrestoreView;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵcontainerRefreshStart\", function () {\n      return ɵɵcontainerRefreshStart;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵcontainerRefreshEnd\", function () {\n      return ɵɵcontainerRefreshEnd;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵqueryRefresh\", function () {\n      return ɵɵqueryRefresh;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵviewQuery\", function () {\n      return ɵɵviewQuery;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵstaticViewQuery\", function () {\n      return ɵɵstaticViewQuery;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵstaticContentQuery\", function () {\n      return ɵɵstaticContentQuery;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵloadViewQuery\", function () {\n      return ɵɵloadViewQuery;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵcontentQuery\", function () {\n      return ɵɵcontentQuery;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵloadContentQuery\", function () {\n      return ɵɵloadContentQuery;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵelementEnd\", function () {\n      return ɵɵelementEnd;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵhostProperty\", function () {\n      return ɵɵhostProperty;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵproperty\", function () {\n      return ɵɵproperty;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵpropertyInterpolate\", function () {\n      return ɵɵpropertyInterpolate;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵpropertyInterpolate1\", function () {\n      return ɵɵpropertyInterpolate1;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵpropertyInterpolate2\", function () {\n      return ɵɵpropertyInterpolate2;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵpropertyInterpolate3\", function () {\n      return ɵɵpropertyInterpolate3;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵpropertyInterpolate4\", function () {\n      return ɵɵpropertyInterpolate4;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵpropertyInterpolate5\", function () {\n      return ɵɵpropertyInterpolate5;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵpropertyInterpolate6\", function () {\n      return ɵɵpropertyInterpolate6;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵpropertyInterpolate7\", function () {\n      return ɵɵpropertyInterpolate7;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵpropertyInterpolate8\", function () {\n      return ɵɵpropertyInterpolate8;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵpropertyInterpolateV\", function () {\n      return ɵɵpropertyInterpolateV;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵupdateSyntheticHostBinding\", function () {\n      return ɵɵupdateSyntheticHostBinding;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵcomponentHostSyntheticListener\", function () {\n      return ɵɵcomponentHostSyntheticListener;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵprojectionDef\", function () {\n      return ɵɵprojectionDef;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵreference\", function () {\n      return ɵɵreference;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵenableBindings\", function () {\n      return ɵɵenableBindings;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵdisableBindings\", function () {\n      return ɵɵdisableBindings;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵallocHostVars\", function () {\n      return ɵɵallocHostVars;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵelementContainerStart\", function () {\n      return ɵɵelementContainerStart;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵelementContainerEnd\", function () {\n      return ɵɵelementContainerEnd;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵelementContainer\", function () {\n      return ɵɵelementContainer;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵstyling\", function () {\n      return ɵɵstyling;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵstyleMap\", function () {\n      return ɵɵstyleMap;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵstyleSanitizer\", function () {\n      return ɵɵstyleSanitizer;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵclassMap\", function () {\n      return ɵɵclassMap;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵclassMapInterpolate1\", function () {\n      return ɵɵclassMapInterpolate1;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵclassMapInterpolate2\", function () {\n      return ɵɵclassMapInterpolate2;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵclassMapInterpolate3\", function () {\n      return ɵɵclassMapInterpolate3;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵclassMapInterpolate4\", function () {\n      return ɵɵclassMapInterpolate4;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵclassMapInterpolate5\", function () {\n      return ɵɵclassMapInterpolate5;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵclassMapInterpolate6\", function () {\n      return ɵɵclassMapInterpolate6;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵclassMapInterpolate7\", function () {\n      return ɵɵclassMapInterpolate7;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵclassMapInterpolate8\", function () {\n      return ɵɵclassMapInterpolate8;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵclassMapInterpolateV\", function () {\n      return ɵɵclassMapInterpolateV;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵstyleProp\", function () {\n      return ɵɵstyleProp;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵstylePropInterpolate1\", function () {\n      return ɵɵstylePropInterpolate1;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵstylePropInterpolate2\", function () {\n      return ɵɵstylePropInterpolate2;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵstylePropInterpolate3\", function () {\n      return ɵɵstylePropInterpolate3;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵstylePropInterpolate4\", function () {\n      return ɵɵstylePropInterpolate4;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵstylePropInterpolate5\", function () {\n      return ɵɵstylePropInterpolate5;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵstylePropInterpolate6\", function () {\n      return ɵɵstylePropInterpolate6;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵstylePropInterpolate7\", function () {\n      return ɵɵstylePropInterpolate7;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵstylePropInterpolate8\", function () {\n      return ɵɵstylePropInterpolate8;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵstylePropInterpolateV\", function () {\n      return ɵɵstylePropInterpolateV;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵstylingApply\", function () {\n      return ɵɵstylingApply;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵclassProp\", function () {\n      return ɵɵclassProp;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵelementHostAttrs\", function () {\n      return ɵɵelementHostAttrs;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵselect\", function () {\n      return ɵɵselect;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵtextBinding\", function () {\n      return ɵɵtextBinding;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵtemplate\", function () {\n      return ɵɵtemplate;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵembeddedViewEnd\", function () {\n      return ɵɵembeddedViewEnd;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵstore\", function () {\n      return store;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵload\", function () {\n      return ɵɵload;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵpipe\", function () {\n      return ɵɵpipe;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵwhenRendered\", function () {\n      return whenRendered;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵi18n\", function () {\n      return ɵɵi18n;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵi18nAttributes\", function () {\n      return ɵɵi18nAttributes;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵi18nExp\", function () {\n      return ɵɵi18nExp;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵi18nStart\", function () {\n      return ɵɵi18nStart;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵi18nEnd\", function () {\n      return ɵɵi18nEnd;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵi18nApply\", function () {\n      return ɵɵi18nApply;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵi18nPostprocess\", function () {\n      return ɵɵi18nPostprocess;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵi18nConfigureLocalize\", function () {\n      return i18nConfigureLocalize;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵi18nLocalize\", function () {\n      return ɵɵi18nLocalize;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵsetLocaleId\", function () {\n      return setLocaleId;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵsetClassMetadata\", function () {\n      return setClassMetadata;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵresolveWindow\", function () {\n      return ɵɵresolveWindow;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵresolveDocument\", function () {\n      return ɵɵresolveDocument;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵresolveBody\", function () {\n      return ɵɵresolveBody;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵcompileComponent\", function () {\n      return compileComponent;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵcompileDirective\", function () {\n      return compileDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵcompileNgModule\", function () {\n      return compileNgModule;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵcompileNgModuleDefs\", function () {\n      return compileNgModuleDefs;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵpatchComponentDefWithScope\", function () {\n      return patchComponentDefWithScope;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵresetCompiledComponents\", function () {\n      return resetCompiledComponents;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵflushModuleScopingQueueAsMuchAsPossible\", function () {\n      return flushModuleScopingQueueAsMuchAsPossible;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵtransitiveScopesFor\", function () {\n      return transitiveScopesFor;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵcompilePipe\", function () {\n      return compilePipe;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵsanitizeHtml\", function () {\n      return ɵɵsanitizeHtml;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵsanitizeStyle\", function () {\n      return ɵɵsanitizeStyle;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵdefaultStyleSanitizer\", function () {\n      return ɵɵdefaultStyleSanitizer;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵsanitizeScript\", function () {\n      return ɵɵsanitizeScript;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵsanitizeUrl\", function () {\n      return ɵɵsanitizeUrl;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵsanitizeResourceUrl\", function () {\n      return ɵɵsanitizeResourceUrl;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵɵsanitizeUrlOrResourceUrl\", function () {\n      return ɵɵsanitizeUrlOrResourceUrl;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵbypassSanitizationTrustHtml\", function () {\n      return bypassSanitizationTrustHtml;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵbypassSanitizationTrustStyle\", function () {\n      return bypassSanitizationTrustStyle;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵbypassSanitizationTrustScript\", function () {\n      return bypassSanitizationTrustScript;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵbypassSanitizationTrustUrl\", function () {\n      return bypassSanitizationTrustUrl;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵbypassSanitizationTrustResourceUrl\", function () {\n      return bypassSanitizationTrustResourceUrl;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵgetLContext\", function () {\n      return getLContext;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵNG_ELEMENT_ID\", function () {\n      return NG_ELEMENT_ID;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵNG_COMPONENT_DEF\", function () {\n      return NG_COMPONENT_DEF;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵNG_DIRECTIVE_DEF\", function () {\n      return NG_DIRECTIVE_DEF;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵNG_PIPE_DEF\", function () {\n      return NG_PIPE_DEF;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵNG_MODULE_DEF\", function () {\n      return NG_MODULE_DEF;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵNG_BASE_DEF\", function () {\n      return NG_BASE_DEF;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵNG_INJECTABLE_DEF\", function () {\n      return NG_INJECTABLE_DEF;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵNG_INJECTOR_DEF\", function () {\n      return NG_INJECTOR_DEF;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵcompileNgModuleFactory__POST_R3__\", function () {\n      return compileNgModuleFactory__POST_R3__;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵisBoundToModule__POST_R3__\", function () {\n      return isBoundToModule__POST_R3__;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵSWITCH_COMPILE_COMPONENT__POST_R3__\", function () {\n      return SWITCH_COMPILE_COMPONENT__POST_R3__;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵSWITCH_COMPILE_DIRECTIVE__POST_R3__\", function () {\n      return SWITCH_COMPILE_DIRECTIVE__POST_R3__;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵSWITCH_COMPILE_PIPE__POST_R3__\", function () {\n      return SWITCH_COMPILE_PIPE__POST_R3__;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵSWITCH_COMPILE_NGMODULE__POST_R3__\", function () {\n      return SWITCH_COMPILE_NGMODULE__POST_R3__;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵgetDebugNode__POST_R3__\", function () {\n      return getDebugNode__POST_R3__;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵSWITCH_COMPILE_INJECTABLE__POST_R3__\", function () {\n      return SWITCH_COMPILE_INJECTABLE__POST_R3__;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵSWITCH_IVY_ENABLED__POST_R3__\", function () {\n      return SWITCH_IVY_ENABLED__POST_R3__;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵSWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__\", function () {\n      return SWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵCompiler_compileModuleSync__POST_R3__\", function () {\n      return Compiler_compileModuleSync__POST_R3__;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵCompiler_compileModuleAsync__POST_R3__\", function () {\n      return Compiler_compileModuleAsync__POST_R3__;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵCompiler_compileModuleAndAllComponentsSync__POST_R3__\", function () {\n      return Compiler_compileModuleAndAllComponentsSync__POST_R3__;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵCompiler_compileModuleAndAllComponentsAsync__POST_R3__\", function () {\n      return Compiler_compileModuleAndAllComponentsAsync__POST_R3__;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵSWITCH_ELEMENT_REF_FACTORY__POST_R3__\", function () {\n      return SWITCH_ELEMENT_REF_FACTORY__POST_R3__;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵSWITCH_TEMPLATE_REF_FACTORY__POST_R3__\", function () {\n      return SWITCH_TEMPLATE_REF_FACTORY__POST_R3__;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵSWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__\", function () {\n      return SWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵSWITCH_RENDERER2_FACTORY__POST_R3__\", function () {\n      return SWITCH_RENDERER2_FACTORY__POST_R3__;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵgetModuleFactory__POST_R3__\", function () {\n      return getModuleFactory__POST_R3__;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵregisterNgModuleType\", function () {\n      return registerNgModuleType;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵpublishGlobalUtil\", function () {\n      return publishGlobalUtil;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵpublishDefaultGlobalUtils\", function () {\n      return publishDefaultGlobalUtils;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵcreateInjector\", function () {\n      return createInjector;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵINJECTOR_IMPL__POST_R3__\", function () {\n      return INJECTOR_IMPL__POST_R3__;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵregisterModuleFactory\", function () {\n      return registerModuleFactory;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵEMPTY_ARRAY\", function () {\n      return EMPTY_ARRAY$3;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵEMPTY_MAP\", function () {\n      return EMPTY_MAP;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵand\", function () {\n      return anchorDef;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵccf\", function () {\n      return createComponentFactory;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵcmf\", function () {\n      return createNgModuleFactory;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵcrt\", function () {\n      return createRendererType2;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵdid\", function () {\n      return directiveDef;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵeld\", function () {\n      return elementDef;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵgetComponentViewDefinitionFactory\", function () {\n      return getComponentViewDefinitionFactory;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵinlineInterpolate\", function () {\n      return inlineInterpolate;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵinterpolate\", function () {\n      return interpolate;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵmod\", function () {\n      return moduleDef;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵmpd\", function () {\n      return moduleProvideDef;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵncd\", function () {\n      return ngContentDef;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵnov\", function () {\n      return nodeValue;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵpid\", function () {\n      return pipeDef;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵprd\", function () {\n      return providerDef;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵpad\", function () {\n      return pureArrayDef;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵpod\", function () {\n      return pureObjectDef;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵppd\", function () {\n      return purePipeDef;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵqud\", function () {\n      return queryDef;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵted\", function () {\n      return textDef;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵunv\", function () {\n      return unwrapValue;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵvid\", function () {\n      return viewDef;\n    });\n    /* harmony import */\n\n\n    var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! rxjs */\n    \"./node_modules/rxjs/_esm2015/index.js\");\n    /* harmony import */\n\n\n    var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! rxjs/operators */\n    \"./node_modules/rxjs/_esm2015/operators/index.js\");\n    /**\n     * @license Angular v8.2.14\n     * (c) 2010-2019 Google LLC. https://angular.io/\n     * License: MIT\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var ANNOTATIONS = '__annotations__';\n    var PARAMETERS = '__parameters__';\n    var PROP_METADATA = '__prop__metadata__';\n    /**\n     * @suppress {globalThis}\n     */\n\n    function makeDecorator(name, props, parentClass, additionalProcessing, typeFn) {\n      var metaCtor = makeMetadataCtor(props);\n\n      function DecoratorFactory() {\n        for (var _len14 = arguments.length, args = new Array(_len14), _key16 = 0; _key16 < _len14; _key16++) {\n          args[_key16] = arguments[_key16];\n        }\n\n        if (this instanceof DecoratorFactory) {\n          metaCtor.call.apply(metaCtor, [this].concat(args));\n          return this;\n        }\n\n        var annotationInstance = _construct(DecoratorFactory, args);\n\n        return function TypeDecorator(cls) {\n          if (typeFn) typeFn.apply(void 0, [cls].concat(args)); // Use of Object.defineProperty is important since it creates non-enumerable property which\n          // prevents the property is copied during subclassing.\n\n          var annotations = cls.hasOwnProperty(ANNOTATIONS) ? cls[ANNOTATIONS] : Object.defineProperty(cls, ANNOTATIONS, {\n            value: []\n          })[ANNOTATIONS];\n          annotations.push(annotationInstance);\n          if (additionalProcessing) additionalProcessing(cls);\n          return cls;\n        };\n      }\n\n      if (parentClass) {\n        DecoratorFactory.prototype = Object.create(parentClass.prototype);\n      }\n\n      DecoratorFactory.prototype.ngMetadataName = name;\n      DecoratorFactory.annotationCls = DecoratorFactory;\n      return DecoratorFactory;\n    }\n\n    function makeMetadataCtor(props) {\n      return function ctor() {\n        if (props) {\n          var values = props.apply(void 0, arguments);\n\n          for (var propName in values) {\n            this[propName] = values[propName];\n          }\n        }\n      };\n    }\n\n    function makeParamDecorator(name, props, parentClass) {\n      var metaCtor = makeMetadataCtor(props);\n\n      function ParamDecoratorFactory() {\n        for (var _len15 = arguments.length, args = new Array(_len15), _key17 = 0; _key17 < _len15; _key17++) {\n          args[_key17] = arguments[_key17];\n        }\n\n        if (this instanceof ParamDecoratorFactory) {\n          metaCtor.apply(this, args);\n          return this;\n        }\n\n        var annotationInstance = _construct(ParamDecoratorFactory, args);\n\n        ParamDecorator.annotation = annotationInstance;\n        return ParamDecorator;\n\n        function ParamDecorator(cls, unusedKey, index) {\n          // Use of Object.defineProperty is important since it creates non-enumerable property which\n          // prevents the property is copied during subclassing.\n          var parameters = cls.hasOwnProperty(PARAMETERS) ? cls[PARAMETERS] : Object.defineProperty(cls, PARAMETERS, {\n            value: []\n          })[PARAMETERS]; // there might be gaps if some in between parameters do not have annotations.\n          // we pad with nulls.\n\n          while (parameters.length <= index) {\n            parameters.push(null);\n          }\n\n          (parameters[index] = parameters[index] || []).push(annotationInstance);\n          return cls;\n        }\n      }\n\n      if (parentClass) {\n        ParamDecoratorFactory.prototype = Object.create(parentClass.prototype);\n      }\n\n      ParamDecoratorFactory.prototype.ngMetadataName = name;\n      ParamDecoratorFactory.annotationCls = ParamDecoratorFactory;\n      return ParamDecoratorFactory;\n    }\n\n    function makePropDecorator(name, props, parentClass, additionalProcessing) {\n      var metaCtor = makeMetadataCtor(props);\n\n      function PropDecoratorFactory() {\n        for (var _len16 = arguments.length, args = new Array(_len16), _key18 = 0; _key18 < _len16; _key18++) {\n          args[_key18] = arguments[_key18];\n        }\n\n        if (this instanceof PropDecoratorFactory) {\n          metaCtor.apply(this, args);\n          return this;\n        }\n\n        var decoratorInstance = _construct(PropDecoratorFactory, args);\n\n        function PropDecorator(target, name) {\n          var constructor = target.constructor; // Use of Object.defineProperty is important since it creates non-enumerable property which\n          // prevents the property is copied during subclassing.\n\n          var meta = constructor.hasOwnProperty(PROP_METADATA) ? constructor[PROP_METADATA] : Object.defineProperty(constructor, PROP_METADATA, {\n            value: {}\n          })[PROP_METADATA];\n          meta[name] = meta.hasOwnProperty(name) && meta[name] || [];\n          meta[name].unshift(decoratorInstance);\n          if (additionalProcessing) additionalProcessing.apply(void 0, [target, name].concat(args));\n        }\n\n        return PropDecorator;\n      }\n\n      if (parentClass) {\n        PropDecoratorFactory.prototype = Object.create(parentClass.prototype);\n      }\n\n      PropDecoratorFactory.prototype.ngMetadataName = name;\n      PropDecoratorFactory.annotationCls = PropDecoratorFactory;\n      return PropDecoratorFactory;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Type of the Inject decorator / constructor function.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n\n    function InjectDecorator() {} // WARNING: interface has both a type and a value, skipping emit\n\n\n    var ɵ0 =\n    /**\n    * @param {?} token\n    * @return {?}\n    */\n    function ɵ0(token) {\n      return {\n        token: token\n      };\n    };\n    /**\n     * Inject decorator and metadata.\n     *\n     * \\@Annotation\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var Inject = makeParamDecorator('Inject', ɵ0);\n    /**\n     * Type of the Optional decorator / constructor function.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n    function OptionalDecorator() {} // WARNING: interface has both a type and a value, skipping emit\n\n    /**\n     * Optional decorator and metadata.\n     *\n     * \\@Annotation\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var Optional = makeParamDecorator('Optional');\n    /**\n     * Type of the Self decorator / constructor function.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n    function SelfDecorator() {} // WARNING: interface has both a type and a value, skipping emit\n\n    /**\n     * Self decorator and metadata.\n     *\n     * \\@Annotation\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var Self = makeParamDecorator('Self');\n    /**\n     * Type of the SkipSelf decorator / constructor function.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n    function SkipSelfDecorator() {} // WARNING: interface has both a type and a value, skipping emit\n\n    /**\n     * SkipSelf decorator and metadata.\n     *\n     * \\@Annotation\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var SkipSelf = makeParamDecorator('SkipSelf');\n    /**\n     * Type of the Host decorator / constructor function.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n    function HostDecorator() {} // WARNING: interface has both a type and a value, skipping emit\n\n    /**\n     * Host decorator and metadata.\n     *\n     * \\@Annotation\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var Host = makeParamDecorator('Host');\n    /**\n     * Type of the Attribute decorator / constructor function.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n    function AttributeDecorator() {} // WARNING: interface has both a type and a value, skipping emit\n\n\n    var ɵ1 =\n    /**\n    * @param {?=} attributeName\n    * @return {?}\n    */\n    function ɵ1(attributeName) {\n      return {\n        attributeName: attributeName\n      };\n    };\n    /**\n     * Attribute decorator and metadata.\n     *\n     * \\@Annotation\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var Attribute = makeParamDecorator('Attribute', ɵ1);\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * Injection flags for DI.\n     *\n     * @publicApi\n     */\n\n    var InjectFlags;\n\n    (function (InjectFlags) {\n      // TODO(alxhub): make this 'const' when ngc no longer writes exports of it into ngfactory files.\n\n      /** Check self and check parent injector if needed */\n      InjectFlags[InjectFlags[\"Default\"] = 0] = \"Default\";\n      /**\n       * Specifies that an injector should retrieve a dependency from any injector until reaching the\n       * host element of the current component. (Only used with Element Injector)\n       */\n\n      InjectFlags[InjectFlags[\"Host\"] = 1] = \"Host\";\n      /** Don't ascend to ancestors of the node requesting injection. */\n\n      InjectFlags[InjectFlags[\"Self\"] = 2] = \"Self\";\n      /** Skip the node that is requesting injection. */\n\n      InjectFlags[InjectFlags[\"SkipSelf\"] = 4] = \"SkipSelf\";\n      /** Inject `defaultValue` instead if token not found. */\n\n      InjectFlags[InjectFlags[\"Optional\"] = 8] = \"Optional\";\n    })(InjectFlags || (InjectFlags = {}));\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    function getClosureSafeProperty(objWithPropertyToExtract) {\n      for (var key in objWithPropertyToExtract) {\n        if (objWithPropertyToExtract[key] === getClosureSafeProperty) {\n          return key;\n        }\n      }\n\n      throw Error('Could not find renamed property on target object.');\n    }\n    /**\n     * Sets properties on a target object from a source object, but only if\n     * the property doesn't already exist on the target object.\n     * @param target The target to set properties on\n     * @param source The source of the property keys and values to set\n     */\n\n\n    function fillProperties(target, source) {\n      for (var key in source) {\n        if (source.hasOwnProperty(key) && !target.hasOwnProperty(key)) {\n          target[key] = source[key];\n        }\n      }\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * Construct an `InjectableDef` which defines how a token will be constructed by the DI system, and\n     * in which injectors (if any) it will be available.\n     *\n     * This should be assigned to a static `ngInjectableDef` field on a type, which will then be an\n     * `InjectableType`.\n     *\n     * Options:\n     * * `providedIn` determines which injectors will include the injectable, by either associating it\n     *   with an `@NgModule` or other `InjectorType`, or by specifying that this injectable should be\n     *   provided in the `'root'` injector, which will be the application-level injector in most apps.\n     * * `factory` gives the zero argument function which will create an instance of the injectable.\n     *   The factory can call `inject` to access the `Injector` and request injection of dependencies.\n     *\n     * @codeGenApi\n     */\n\n\n    function ɵɵdefineInjectable(opts) {\n      return {\n        token: opts.token,\n        providedIn: opts.providedIn || null,\n        factory: opts.factory,\n        value: undefined\n      };\n    }\n    /**\n     * @deprecated in v8, delete after v10. This API should be used only be generated code, and that\n     * code should now use ɵɵdefineInjectable instead.\n     * @publicApi\n     */\n\n\n    var defineInjectable = ɵɵdefineInjectable;\n    /**\n     * Construct an `InjectorDef` which configures an injector.\n     *\n     * This should be assigned to a static `ngInjectorDef` field on a type, which will then be an\n     * `InjectorType`.\n     *\n     * Options:\n     *\n     * * `factory`: an `InjectorType` is an instantiable type, so a zero argument `factory` function to\n     *   create the type must be provided. If that factory function needs to inject arguments, it can\n     *   use the `inject` function.\n     * * `providers`: an optional array of providers to add to the injector. Each provider must\n     *   either have a factory or point to a type which has an `ngInjectableDef` static property (the\n     *   type must be an `InjectableType`).\n     * * `imports`: an optional array of imports of other `InjectorType`s or `InjectorTypeWithModule`s\n     *   whose providers will also be added to the injector. Locally provided types will override\n     *   providers from imports.\n     *\n     * @publicApi\n     */\n\n    function ɵɵdefineInjector(options) {\n      return {\n        factory: options.factory,\n        providers: options.providers || [],\n        imports: options.imports || []\n      };\n    }\n    /**\n     * Read the `ngInjectableDef` for `type` in a way which is immune to accidentally reading inherited\n     * value.\n     *\n     * @param type A type which may have its own (non-inherited) `ngInjectableDef`.\n     */\n\n\n    function getInjectableDef(type) {\n      var def = type[NG_INJECTABLE_DEF]; // The definition read above may come from a base class. `hasOwnProperty` is not sufficient to\n      // distinguish this case, as in older browsers (e.g. IE10) static property inheritance is\n      // implemented by copying the properties.\n      //\n      // Instead, the ngInjectableDef's token is compared to the type, and if they don't match then the\n      // property was not defined directly on the type itself, and was likely inherited. The definition\n      // is only returned if the type matches the def.token.\n\n      return def && def.token === type ? def : null;\n    }\n    /**\n     * Read the `ngInjectableDef` for `type` or read the `ngInjectableDef` from one of its ancestors.\n     *\n     * @param type A type which may have `ngInjectableDef`, via inheritance.\n     *\n     * @deprecated Will be removed in v10, where an error will occur in the scenario if we find the\n     * `ngInjectableDef` on an ancestor only.\n     */\n\n\n    function getInheritedInjectableDef(type) {\n      if (type && type[NG_INJECTABLE_DEF]) {\n        // TODO(FW-1307): Re-add ngDevMode when closure can handle it\n        // ngDevMode &&\n        console.warn(\"DEPRECATED: DI is instantiating a token \\\"\".concat(type.name, \"\\\" that inherits its @Injectable decorator but does not provide one itself.\\n\") + \"This will become an error in v10. Please add @Injectable() to the \\\"\".concat(type.name, \"\\\" class.\"));\n        return type[NG_INJECTABLE_DEF];\n      } else {\n        return null;\n      }\n    }\n    /**\n     * Read the `ngInjectorDef` type in a way which is immune to accidentally reading inherited value.\n     *\n     * @param type type which may have `ngInjectorDef`\n     */\n\n\n    function getInjectorDef(type) {\n      return type && type.hasOwnProperty(NG_INJECTOR_DEF) ? type[NG_INJECTOR_DEF] : null;\n    }\n\n    var NG_INJECTABLE_DEF = getClosureSafeProperty({\n      ngInjectableDef: getClosureSafeProperty\n    });\n    var NG_INJECTOR_DEF = getClosureSafeProperty({\n      ngInjectorDef: getClosureSafeProperty\n    });\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    function stringify(token) {\n      if (typeof token === 'string') {\n        return token;\n      }\n\n      if (token instanceof Array) {\n        return '[' + token.map(stringify).join(', ') + ']';\n      }\n\n      if (token == null) {\n        return '' + token;\n      }\n\n      if (token.overriddenName) {\n        return \"\".concat(token.overriddenName);\n      }\n\n      if (token.name) {\n        return \"\".concat(token.name);\n      }\n\n      var res = token.toString();\n\n      if (res == null) {\n        return '' + res;\n      }\n\n      var newLineIndex = res.indexOf('\\n');\n      return newLineIndex === -1 ? res : res.substring(0, newLineIndex);\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * An interface that a function passed into {\\@link forwardRef} has to implement.\n     *\n     * \\@usageNotes\n     * ### Example\n     *\n     * {\\@example core/di/ts/forward_ref/forward_ref_spec.ts region='forward_ref_fn'}\n     * \\@publicApi\n     * @record\n     */\n\n\n    function ForwardRefFn() {}\n    /** @type {?} */\n\n\n    var __forward_ref__ = getClosureSafeProperty({\n      __forward_ref__: getClosureSafeProperty\n    });\n    /**\n     * Allows to refer to references which are not yet defined.\n     *\n     * For instance, `forwardRef` is used when the `token` which we need to refer to for the purposes of\n     * DI is declared, but not yet defined. It is also used when the `token` which we use when creating\n     * a query is not yet defined.\n     *\n     * \\@usageNotes\n     * ### Example\n     * {\\@example core/di/ts/forward_ref/forward_ref_spec.ts region='forward_ref'}\n     * \\@publicApi\n     * @param {?} forwardRefFn\n     * @return {?}\n     */\n\n\n    function forwardRef(forwardRefFn) {\n      /** @type {?} */\n      forwardRefFn.__forward_ref__ = forwardRef;\n\n      /** @type {?} */\n      forwardRefFn.toString =\n      /**\n      * @return {?}\n      */\n      function () {\n        return stringify(this());\n      };\n\n      return (\n        /** @type {?} */\n\n        /** @type {?} */\n        forwardRefFn\n      );\n    }\n    /**\n     * Lazily retrieves the reference value from a forwardRef.\n     *\n     * Acts as the identity function when given a non-forward-ref value.\n     *\n     * \\@usageNotes\n     * ### Example\n     *\n     * {\\@example core/di/ts/forward_ref/forward_ref_spec.ts region='resolve_forward_ref'}\n     *\n     * @see `forwardRef`\n     * \\@publicApi\n     * @template T\n     * @param {?} type\n     * @return {?}\n     */\n\n\n    function resolveForwardRef(type) {\n      /** @type {?} */\n      var fn = type;\n\n      if (typeof fn === 'function' && fn.hasOwnProperty(__forward_ref__) && fn.__forward_ref__ === forwardRef) {\n        return fn();\n      } else {\n        return type;\n      }\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var __globalThis = typeof globalThis !== 'undefined' && globalThis;\n\n    var __window = typeof window !== 'undefined' && window;\n\n    var __self = typeof self !== 'undefined' && typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope && self;\n\n    var __global = typeof global !== 'undefined' && global; // Always use __globalThis if available, which is the spec-defined global variable across all\n    // environments, then fallback to __global first, because in Node tests both __global and\n    // __window may be defined and _global should be __global in that case.\n\n\n    var _global = __globalThis || __global || __window || __self;\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var R3ResolvedDependencyType;\n\n    (function (R3ResolvedDependencyType) {\n      R3ResolvedDependencyType[R3ResolvedDependencyType[\"Token\"] = 0] = \"Token\";\n      R3ResolvedDependencyType[R3ResolvedDependencyType[\"Attribute\"] = 1] = \"Attribute\";\n      R3ResolvedDependencyType[R3ResolvedDependencyType[\"ChangeDetectorRef\"] = 2] = \"ChangeDetectorRef\";\n    })(R3ResolvedDependencyType || (R3ResolvedDependencyType = {}));\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    function getCompilerFacade() {\n      var globalNg = _global['ng'];\n\n      if (!globalNg || !globalNg.ɵcompilerFacade) {\n        throw new Error(\"Angular JIT compilation failed: '@angular/compiler' not loaded!\\n\" + \"  - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\\n\" + \"  - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\\n\" + \"  - Alternatively provide the compiler with 'import \\\"@angular/compiler\\\";' before bootstrapping.\");\n      }\n\n      return globalNg.ɵcompilerFacade;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Creates a token that can be used in a DI Provider.\n     *\n     * Use an `InjectionToken` whenever the type you are injecting is not reified (does not have a\n     * runtime representation) such as when injecting an interface, callable type, array or\n     * parameterized type.\n     *\n     * `InjectionToken` is parameterized on `T` which is the type of object which will be returned by\n     * the `Injector`. This provides additional level of type safety.\n     *\n     * ```\n     * interface MyInterface {...}\n     * var myInterface = injector.get(new InjectionToken<MyInterface>('SomeToken'));\n     * // myInterface is inferred to be MyInterface.\n     * ```\n     *\n     * When creating an `InjectionToken`, you can optionally specify a factory function which returns\n     * (possibly by creating) a default value of the parameterized type `T`. This sets up the\n     * `InjectionToken` using this factory as a provider as if it was defined explicitly in the\n     * application's root injector. If the factory function, which takes zero arguments, needs to inject\n     * dependencies, it can do so using the `inject` function. See below for an example.\n     *\n     * Additionally, if a `factory` is specified you can also specify the `providedIn` option, which\n     * overrides the above behavior and marks the token as belonging to a particular `\\@NgModule`. As\n     * mentioned above, `'root'` is the default value for `providedIn`.\n     *\n     * \\@usageNotes\n     * ### Basic Example\n     *\n     * ### Plain InjectionToken\n     *\n     * {\\@example core/di/ts/injector_spec.ts region='InjectionToken'}\n     *\n     * ### Tree-shakable InjectionToken\n     *\n     * {\\@example core/di/ts/injector_spec.ts region='ShakableInjectionToken'}\n     *\n     *\n     * \\@publicApi\n     * @template T\n     */\n\n\n    var InjectionToken =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _desc\n       * @param {?=} options\n       */\n      function InjectionToken(_desc, options) {\n        _classCallCheck(this, InjectionToken);\n\n        this._desc = _desc;\n        /**\n         * \\@internal\n         */\n\n        this.ngMetadataName = 'InjectionToken';\n        /** @nocollapse */\n\n        this.ngInjectableDef = undefined;\n\n        if (typeof options == 'number') {\n          // This is a special hack to assign __NG_ELEMENT_ID__ to this instance.\n          // __NG_ELEMENT_ID__ is Used by Ivy to determine bloom filter id.\n          // We are using it to assign `-1` which is used to identify `Injector`.\n\n          /** @type {?} */\n          this.__NG_ELEMENT_ID__ = options;\n        } else if (options !== undefined) {\n          /** @nocollapse */\n          this.ngInjectableDef = ɵɵdefineInjectable({\n            token: this,\n            providedIn: options.providedIn || 'root',\n            factory: options.factory\n          });\n        }\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(InjectionToken, [{\n        key: \"toString\",\n        value: function toString() {\n          return \"InjectionToken \".concat(this._desc);\n        }\n      }]);\n\n      return InjectionToken;\n    }();\n\n    if (false) {}\n    /**\n     * @record\n     * @template T\n     */\n\n\n    function InjectableDefToken() {}\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * An InjectionToken that gets the current `Injector` for `createInjector()`-style injectors.\n     *\n     * Requesting this token instead of `Injector` allows `StaticInjector` to be tree-shaken from a\n     * project.\n     *\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var INJECTOR = new InjectionToken('INJECTOR',\n    /** @type {?} */\n    -1);\n    /** @type {?} */\n\n    var _THROW_IF_NOT_FOUND = new Object();\n    /** @type {?} */\n\n\n    var THROW_IF_NOT_FOUND = _THROW_IF_NOT_FOUND;\n    /** @type {?} */\n\n    var NG_TEMP_TOKEN_PATH = 'ngTempTokenPath';\n    /** @type {?} */\n\n    var NG_TOKEN_PATH = 'ngTokenPath';\n    /** @type {?} */\n\n    var NEW_LINE = /\\n/gm;\n    /** @type {?} */\n\n    var NO_NEW_LINE = 'ɵ';\n    /** @type {?} */\n\n    var SOURCE = '__source';\n    var ɵ0$1 = getClosureSafeProperty;\n    /** @type {?} */\n\n    var USE_VALUE = getClosureSafeProperty({\n      provide: String,\n      useValue: ɵ0$1\n    });\n    /**\n     * Current injector value used by `inject`.\n     * - `undefined`: it is an error to call `inject`\n     * - `null`: `inject` can be called but there is no injector (limp-mode).\n     * - Injector instance: Use the injector for resolution.\n     * @type {?}\n     */\n\n    var _currentInjector = undefined;\n    /**\n     * @param {?} injector\n     * @return {?}\n     */\n\n    function setCurrentInjector(injector) {\n      /** @type {?} */\n      var former = _currentInjector;\n      _currentInjector = injector;\n      return former;\n    }\n    /**\n     * Current implementation of inject.\n     *\n     * By default, it is `injectInjectorOnly`, which makes it `Injector`-only aware. It can be changed\n     * to `directiveInject`, which brings in the `NodeInjector` system of ivy. It is designed this\n     * way for two reasons:\n     *  1. `Injector` should not depend on ivy logic.\n     *  2. To maintain tree shake-ability we don't want to bring in unnecessary code.\n     * @type {?}\n     */\n\n\n    var _injectImplementation;\n    /**\n     * Sets the current inject implementation.\n     * @param {?} impl\n     * @return {?}\n     */\n\n\n    function setInjectImplementation(impl) {\n      /** @type {?} */\n      var previous = _injectImplementation;\n      _injectImplementation = impl;\n      return previous;\n    }\n    /**\n     * @template T\n     * @param {?} token\n     * @param {?=} flags\n     * @return {?}\n     */\n\n\n    function injectInjectorOnly(token) {\n      var flags = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : InjectFlags.Default;\n\n      if (_currentInjector === undefined) {\n        throw new Error(\"inject() must be called from an injection context\");\n      } else if (_currentInjector === null) {\n        return injectRootLimpMode(token, undefined, flags);\n      } else {\n        return _currentInjector.get(token, flags & InjectFlags.Optional ? null : undefined, flags);\n      }\n    }\n    /**\n     * @template T\n     * @param {?} token\n     * @param {?=} flags\n     * @return {?}\n     */\n\n\n    function ɵɵinject(token) {\n      var flags = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : InjectFlags.Default;\n      return (_injectImplementation || injectInjectorOnly)(token, flags);\n    }\n    /**\n     * Injects a token from the currently active injector.\n     *\n     * Must be used in the context of a factory function such as one defined for an\n     * `InjectionToken`. Throws an error if not called from such a context.\n     *\n     * Within such a factory function, using this function to request injection of a dependency\n     * is faster and more type-safe than providing an additional array of dependencies\n     * (as has been common with `useFactory` providers).\n     *\n     * \\@param token The injection token for the dependency to be injected.\n     * \\@param flags Optional flags that control how injection is executed.\n     * The flags correspond to injection strategies that can be specified with\n     * parameter decorators `\\@Host`, `\\@Self`, `\\@SkipSef`, and `\\@Optional`.\n     * \\@return True if injection is successful, null otherwise.\n     *\n     * \\@usageNotes\n     *\n     * ### Example\n     *\n     * {\\@example core/di/ts/injector_spec.ts region='ShakableInjectionToken'}\n     *\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var inject = ɵɵinject;\n    /**\n     * Injects `root` tokens in limp mode.\n     *\n     * If no injector exists, we can still inject tree-shakable providers which have `providedIn` set to\n     * `\"root\"`. This is known as the limp mode injection. In such case the value is stored in the\n     * `InjectableDef`.\n     * @template T\n     * @param {?} token\n     * @param {?} notFoundValue\n     * @param {?} flags\n     * @return {?}\n     */\n\n    function injectRootLimpMode(token, notFoundValue, flags) {\n      /** @type {?} */\n      var injectableDef = getInjectableDef(token);\n\n      if (injectableDef && injectableDef.providedIn == 'root') {\n        return injectableDef.value === undefined ? injectableDef.value = injectableDef.factory() : injectableDef.value;\n      }\n\n      if (flags & InjectFlags.Optional) return null;\n      if (notFoundValue !== undefined) return notFoundValue;\n      throw new Error(\"Injector: NOT_FOUND [\".concat(stringify(token), \"]\"));\n    }\n    /**\n     * @param {?} types\n     * @return {?}\n     */\n\n\n    function injectArgs(types) {\n      /** @type {?} */\n      var args = [];\n\n      for (var i = 0; i < types.length; i++) {\n        /** @type {?} */\n        var arg = resolveForwardRef(types[i]);\n\n        if (Array.isArray(arg)) {\n          if (arg.length === 0) {\n            throw new Error('Arguments array must have arguments.');\n          }\n          /** @type {?} */\n\n\n          var type = undefined;\n          /** @type {?} */\n\n          var flags = InjectFlags.Default;\n\n          for (var j = 0; j < arg.length; j++) {\n            /** @type {?} */\n            var meta = arg[j];\n\n            if (meta instanceof Optional || meta.ngMetadataName === 'Optional' || meta === Optional) {\n              flags |= InjectFlags.Optional;\n            } else if (meta instanceof SkipSelf || meta.ngMetadataName === 'SkipSelf' || meta === SkipSelf) {\n              flags |= InjectFlags.SkipSelf;\n            } else if (meta instanceof Self || meta.ngMetadataName === 'Self' || meta === Self) {\n              flags |= InjectFlags.Self;\n            } else if (meta instanceof Inject || meta === Inject) {\n              type = meta.token;\n            } else {\n              type = meta;\n            }\n          }\n\n          args.push(ɵɵinject(\n          /** @type {?} */\n          type, flags));\n        } else {\n          args.push(ɵɵinject(arg));\n        }\n      }\n\n      return args;\n    }\n\n    var NullInjector =\n    /*#__PURE__*/\n    function () {\n      function NullInjector() {\n        _classCallCheck(this, NullInjector);\n      }\n\n      _createClass2(NullInjector, [{\n        key: \"get\",\n\n        /**\n         * @param {?} token\n         * @param {?=} notFoundValue\n         * @return {?}\n         */\n        value: function get(token) {\n          var notFoundValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : THROW_IF_NOT_FOUND;\n\n          if (notFoundValue === THROW_IF_NOT_FOUND) {\n            // Intentionally left behind: With dev tools open the debugger will stop here. There is no\n            // reason why correctly written application should cause this exception.\n            // TODO(misko): uncomment the next line once `ngDevMode` works with closure.\n            // if(ngDevMode) debugger;\n\n            /** @type {?} */\n            var error = new Error(\"NullInjectorError: No provider for \".concat(stringify(token), \"!\"));\n            error.name = 'NullInjectorError';\n            throw error;\n          }\n\n          return notFoundValue;\n        }\n      }]);\n\n      return NullInjector;\n    }();\n    /**\n     * @param {?} e\n     * @param {?} token\n     * @param {?} injectorErrorName\n     * @param {?} source\n     * @return {?}\n     */\n\n\n    function catchInjectorError(e, token, injectorErrorName, source) {\n      /** @type {?} */\n      var tokenPath = e[NG_TEMP_TOKEN_PATH];\n\n      if (token[SOURCE]) {\n        tokenPath.unshift(token[SOURCE]);\n      }\n\n      e.message = formatError('\\n' + e.message, tokenPath, injectorErrorName, source);\n      e[NG_TOKEN_PATH] = tokenPath;\n      e[NG_TEMP_TOKEN_PATH] = null;\n      throw e;\n    }\n    /**\n     * @param {?} text\n     * @param {?} obj\n     * @param {?} injectorErrorName\n     * @param {?=} source\n     * @return {?}\n     */\n\n\n    function formatError(text, obj, injectorErrorName) {\n      var source = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;\n      text = text && text.charAt(0) === '\\n' && text.charAt(1) == NO_NEW_LINE ? text.substr(2) : text;\n      /** @type {?} */\n\n      var context = stringify(obj);\n\n      if (obj instanceof Array) {\n        context = obj.map(stringify).join(' -> ');\n      } else if (typeof obj === 'object') {\n        /** @type {?} */\n        var parts =\n        /** @type {?} */\n        [];\n\n        for (var key in obj) {\n          if (obj.hasOwnProperty(key)) {\n            /** @type {?} */\n            var value = obj[key];\n            parts.push(key + ':' + (typeof value === 'string' ? JSON.stringify(value) : stringify(value)));\n          }\n        }\n\n        context = \"{\".concat(parts.join(', '), \"}\");\n      }\n\n      return \"\".concat(injectorErrorName).concat(source ? '(' + source + ')' : '', \"[\").concat(context, \"]: \").concat(text.replace(NEW_LINE, '\\n  '));\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * A mapping of the \\@angular/core API surface used in generated expressions to the actual symbols.\n     *\n     * This should be kept up to date with the public exports of \\@angular/core.\n     * @type {?}\n     */\n\n\n    var angularCoreDiEnv = {\n      'ɵɵdefineInjectable': ɵɵdefineInjectable,\n      'ɵɵdefineInjector': ɵɵdefineInjector,\n      'ɵɵinject': ɵɵinject,\n      'ɵɵgetFactoryOf': getFactoryOf\n    };\n    /**\n     * @template T\n     * @param {?} type\n     * @return {?}\n     */\n\n    function getFactoryOf(type) {\n      /** @type {?} */\n      var typeAny =\n      /** @type {?} */\n      type;\n      /** @type {?} */\n\n      var def = getInjectableDef(typeAny) || getInjectorDef(typeAny);\n\n      if (!def || def.factory === undefined) {\n        return null;\n      }\n\n      return def.factory;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * Represents an instance of an NgModule created via a {\\@link NgModuleFactory}.\n     *\n     * `NgModuleRef` provides access to the NgModule Instance as well other objects related to this\n     * NgModule Instance.\n     *\n     * \\@publicApi\n     * @abstract\n     * @template T\n     */\n\n\n    var NgModuleRef = function NgModuleRef() {\n      _classCallCheck(this, NgModuleRef);\n    };\n\n    if (false) {}\n    /**\n     * @record\n     * @template T\n     */\n\n\n    function InternalNgModuleRef() {}\n\n    if (false) {}\n    /**\n     * \\@publicApi\n     * @abstract\n     * @template T\n     */\n\n\n    var NgModuleFactory = function NgModuleFactory() {\n      _classCallCheck(this, NgModuleFactory);\n    };\n\n    if (false) {}\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n    * Equivalent to ES6 spread, add each item to an array.\n    *\n    * @param items The items to add\n    * @param arr The array to which you want to add the items\n    */\n\n\n    function addAllToArray(items, arr) {\n      for (var i = 0; i < items.length; i++) {\n        arr.push(items[i]);\n      }\n    }\n    /**\n     * Flattens an array.\n     */\n\n\n    function flatten(list, dst) {\n      if (dst === undefined) dst = list;\n\n      for (var i = 0; i < list.length; i++) {\n        var item = list[i];\n\n        if (Array.isArray(item)) {\n          // we need to inline it.\n          if (dst === list) {\n            // Our assumption that the list was already flat was wrong and\n            // we need to clone flat since we need to write to it.\n            dst = list.slice(0, i);\n          }\n\n          flatten(item, dst);\n        } else if (dst !== list) {\n          dst.push(item);\n        }\n      }\n\n      return dst;\n    }\n\n    function deepForEach(input, fn) {\n      input.forEach(function (value) {\n        return Array.isArray(value) ? deepForEach(value, fn) : fn(value);\n      });\n    }\n\n    function addToArray(arr, index, value) {\n      // perf: array.push is faster than array.splice!\n      if (index >= arr.length) {\n        arr.push(value);\n      } else {\n        arr.splice(index, 0, value);\n      }\n    }\n\n    function removeFromArray(arr, index) {\n      // perf: array.pop is faster than array.splice!\n      if (index >= arr.length - 1) {\n        return arr.pop();\n      } else {\n        return arr.splice(index, 1)[0];\n      }\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    function assertNumber(actual, msg) {\n      if (typeof actual != 'number') {\n        throwError(msg);\n      }\n    }\n\n    function assertEqual(actual, expected, msg) {\n      if (actual != expected) {\n        throwError(msg);\n      }\n    }\n\n    function assertNotEqual(actual, expected, msg) {\n      if (actual == expected) {\n        throwError(msg);\n      }\n    }\n\n    function assertSame(actual, expected, msg) {\n      if (actual !== expected) {\n        throwError(msg);\n      }\n    }\n\n    function assertNotSame(actual, expected, msg) {\n      if (actual === expected) {\n        throwError(msg);\n      }\n    }\n\n    function assertLessThan(actual, expected, msg) {\n      if (actual >= expected) {\n        throwError(msg);\n      }\n    }\n\n    function assertGreaterThan(actual, expected, msg) {\n      if (actual <= expected) {\n        throwError(msg);\n      }\n    }\n\n    function assertNotDefined(actual, msg) {\n      if (actual != null) {\n        throwError(msg);\n      }\n    }\n\n    function assertDefined(actual, msg) {\n      if (actual == null) {\n        throwError(msg);\n      }\n    }\n\n    function throwError(msg) {\n      // tslint:disable-next-line\n      debugger; // Left intentionally for better debugger experience.\n\n      throw new Error(\"ASSERTION ERROR: \".concat(msg));\n    }\n\n    function assertDomNode(node) {\n      // If we're in a worker, `Node` will not be defined.\n      assertEqual(typeof Node !== 'undefined' && node instanceof Node || typeof node === 'object' && node != null && node.constructor.name === 'WebWorkerRenderNode', true, \"The provided value must be an instance of a DOM Node but got \".concat(stringify(node)));\n    }\n\n    function assertDataInRange(arr, index) {\n      var maxLen = arr ? arr.length : 0;\n      assertLessThan(index, maxLen, \"Index expected to be less than \".concat(maxLen, \" but got \").concat(index));\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    function ngDevModeResetPerfCounters() {\n      var locationString = typeof location !== 'undefined' ? location.toString() : '';\n      var newCounters = {\n        namedConstructors: locationString.indexOf('ngDevMode=namedConstructors') != -1,\n        firstTemplatePass: 0,\n        tNode: 0,\n        tView: 0,\n        rendererCreateTextNode: 0,\n        rendererSetText: 0,\n        rendererCreateElement: 0,\n        rendererAddEventListener: 0,\n        rendererSetAttribute: 0,\n        rendererRemoveAttribute: 0,\n        rendererSetProperty: 0,\n        rendererSetClassName: 0,\n        rendererAddClass: 0,\n        rendererRemoveClass: 0,\n        rendererSetStyle: 0,\n        rendererRemoveStyle: 0,\n        rendererDestroy: 0,\n        rendererDestroyNode: 0,\n        rendererMoveNode: 0,\n        rendererRemoveNode: 0,\n        rendererAppendChild: 0,\n        rendererInsertBefore: 0,\n        rendererCreateComment: 0,\n        styleMap: 0,\n        styleMapCacheMiss: 0,\n        classMap: 0,\n        classMapCacheMiss: 0,\n        styleProp: 0,\n        stylePropCacheMiss: 0,\n        classProp: 0,\n        classPropCacheMiss: 0,\n        flushStyling: 0,\n        classesApplied: 0,\n        stylesApplied: 0,\n        stylingWritePersistedState: 0,\n        stylingReadPersistedState: 0\n      }; // Make sure to refer to ngDevMode as ['ngDevMode'] for closure.\n\n      var allowNgDevModeTrue = locationString.indexOf('ngDevMode=false') === -1;\n      _global['ngDevMode'] = allowNgDevModeTrue && newCounters;\n      return newCounters;\n    }\n    /**\n     * This checks to see if the `ngDevMode` has been set. If yes,\n     * then we honor it, otherwise we default to dev mode with additional checks.\n     *\n     * The idea is that unless we are doing production build where we explicitly\n     * set `ngDevMode == false` we should be helping the developer by providing\n     * as much early warning and errors as possible.\n     *\n     * NOTE: changes to the `ngDevMode` name must be synced with `compiler-cli/src/tooling.ts`.\n     */\n\n\n    if (typeof ngDevMode === 'undefined' || ngDevMode) {\n      ngDevModeResetPerfCounters();\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /** @enum {number} */\n\n\n    var ChangeDetectionStrategy = {\n      /**\n       * Use the `CheckOnce` strategy, meaning that automatic change detection is deactivated\n       * until reactivated by setting the strategy to `Default` (`CheckAlways`).\n       * Change detection can still be explicitly invoked.\n       * This strategy applies to all child directives and cannot be overridden.\n       */\n      OnPush: 0,\n\n      /**\n       * Use the default `CheckAlways` strategy, in which change detection is automatic until\n       * explicitly deactivated.\n       */\n      Default: 1\n    };\n    ChangeDetectionStrategy[ChangeDetectionStrategy.OnPush] = 'OnPush';\n    ChangeDetectionStrategy[ChangeDetectionStrategy.Default] = 'Default';\n    /** @enum {number} */\n\n    var ChangeDetectorStatus = {\n      /**\n       * A state in which, after calling `detectChanges()`, the change detector\n       * state becomes `Checked`, and must be explicitly invoked or reactivated.\n       */\n      CheckOnce: 0,\n\n      /**\n       * A state in which change detection is skipped until the change detector mode\n       * becomes `CheckOnce`.\n       */\n      Checked: 1,\n\n      /**\n       * A state in which change detection continues automatically until explicitly\n       * deactivated.\n       */\n      CheckAlways: 2,\n\n      /**\n       * A state in which a change detector sub tree is not a part of the main tree and\n       * should be skipped.\n       */\n      Detached: 3,\n\n      /**\n       * Indicates that the change detector encountered an error checking a binding\n       * or calling a directive lifecycle method and is now in an inconsistent state. Change\n       * detectors in this state do not detect changes.\n       */\n      Errored: 4,\n\n      /**\n       * Indicates that the change detector has been destroyed.\n       */\n      Destroyed: 5\n    };\n    ChangeDetectorStatus[ChangeDetectorStatus.CheckOnce] = 'CheckOnce';\n    ChangeDetectorStatus[ChangeDetectorStatus.Checked] = 'Checked';\n    ChangeDetectorStatus[ChangeDetectorStatus.CheckAlways] = 'CheckAlways';\n    ChangeDetectorStatus[ChangeDetectorStatus.Detached] = 'Detached';\n    ChangeDetectorStatus[ChangeDetectorStatus.Errored] = 'Errored';\n    ChangeDetectorStatus[ChangeDetectorStatus.Destroyed] = 'Destroyed';\n    /**\n     * Reports whether a given strategy is currently the default for change detection.\n     * @see `ChangeDetectorStatus` / `ChangeDetectorRef`\n     * @param {?} changeDetectionStrategy The strategy to check.\n     * @return {?} True if the given strategy is the current default, false otherwise.\n     */\n\n    function isDefaultChangeDetectionStrategy(changeDetectionStrategy) {\n      return changeDetectionStrategy == null || changeDetectionStrategy === ChangeDetectionStrategy.Default;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /** @enum {number} */\n\n\n    var ViewEncapsulation = {\n      /**\n       * Emulate `Native` scoping of styles by adding an attribute containing surrogate id to the Host\n       * Element and pre-processing the style rules provided via {@link Component#styles styles} or\n       * {@link Component#styleUrls styleUrls}, and adding the new Host Element attribute to all\n       * selectors.\n       *\n       * This is the default option.\n       */\n      Emulated: 0,\n\n      /**\n       * @deprecated v6.1.0 - use {ViewEncapsulation.ShadowDom} instead.\n       * Use the native encapsulation mechanism of the renderer.\n       *\n       * For the DOM this means using the deprecated [Shadow DOM\n       * v0](https://w3c.github.io/webcomponents/spec/shadow/) and\n       * creating a ShadowRoot for Component's Host Element.\n       */\n      Native: 1,\n\n      /**\n       * Don't provide any template or style encapsulation.\n       */\n      None: 2,\n\n      /**\n       * Use Shadow DOM to encapsulate styles.\n       *\n       * For the DOM this means using modern [Shadow\n       * DOM](https://w3c.github.io/webcomponents/spec/shadow/) and\n       * creating a ShadowRoot for Component's Host Element.\n       */\n      ShadowDom: 3\n    };\n    ViewEncapsulation[ViewEncapsulation.Emulated] = 'Emulated';\n    ViewEncapsulation[ViewEncapsulation.Native] = 'Native';\n    ViewEncapsulation[ViewEncapsulation.None] = 'None';\n    ViewEncapsulation[ViewEncapsulation.ShadowDom] = 'ShadowDom';\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * Convince closure compiler that the wrapped function has no side-effects.\n     *\n     * Closure compiler always assumes that `toString` has no side-effects. We use this quirk to\n     * allow us to execute a function but have closure compiler mark the call as no-side-effects.\n     * It is important that the return value for the `noSideEffects` function be assigned\n     * to something which is retained otherwise the call to `noSideEffects` will be removed by closure\n     * compiler.\n     */\n\n    function noSideEffects(fn) {\n      return '' + {\n        toString: fn\n      };\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * This file contains reuseable \"empty\" symbols that can be used as default return values\n     * in different parts of the rendering code. Because the same symbols are returned, this\n     * allows for identity checks against these values to be consistently used by the framework\n     * code.\n     * @type {?}\n     */\n\n\n    var EMPTY_OBJ = {};\n    /** @type {?} */\n\n    var EMPTY_ARRAY = []; // freezing the values prevents any code from accidentally inserting new values in\n\n    if (typeof ngDevMode !== 'undefined' && ngDevMode) {\n      // These property accesses can be ignored because ngDevMode will be set to false\n      // when optimizing code and the whole if statement will be dropped.\n      // tslint:disable-next-line:no-toplevel-property-access\n      Object.freeze(EMPTY_OBJ); // tslint:disable-next-line:no-toplevel-property-access\n\n      Object.freeze(EMPTY_ARRAY);\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var NG_COMPONENT_DEF = getClosureSafeProperty({\n      ngComponentDef: getClosureSafeProperty\n    });\n    /** @type {?} */\n\n    var NG_DIRECTIVE_DEF = getClosureSafeProperty({\n      ngDirectiveDef: getClosureSafeProperty\n    });\n    /** @type {?} */\n\n    var NG_PIPE_DEF = getClosureSafeProperty({\n      ngPipeDef: getClosureSafeProperty\n    });\n    /** @type {?} */\n\n    var NG_MODULE_DEF = getClosureSafeProperty({\n      ngModuleDef: getClosureSafeProperty\n    });\n    /** @type {?} */\n\n    var NG_LOCALE_ID_DEF = getClosureSafeProperty({\n      ngLocaleIdDef: getClosureSafeProperty\n    });\n    /** @type {?} */\n\n    var NG_BASE_DEF = getClosureSafeProperty({\n      ngBaseDef: getClosureSafeProperty\n    }); // TODO(misko): This is wrong. The NG_ELEMENT_ID should never be minified.\n\n    /**\n     * If a directive is diPublic, bloomAdd sets a property on the type with this constant as\n     * the key and the directive's unique ID as the value. This allows us to map directives to their\n     * bloom filter bit for DI.\n     * @type {?}\n     */\n\n    var NG_ELEMENT_ID = getClosureSafeProperty({\n      __NG_ELEMENT_ID__: getClosureSafeProperty\n    });\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n    var _renderCompCount = 0;\n    /**\n     * Create a component definition object.\n     *\n     *\n     * # Example\n     * ```\n     * class MyDirective {\n     *   // Generated by Angular Template Compiler\n     *   // [Symbol] syntax will not be supported by TypeScript until v2.7\n     *   static ngComponentDef = defineComponent({\n     *     ...\n     *   });\n     * }\n     * ```\n     * \\@codeGenApi\n     * @template T\n     * @param {?} componentDefinition\n     * @return {?}\n     */\n\n    function ɵɵdefineComponent(componentDefinition) {\n      /** @type {?} */\n      var type = componentDefinition.type;\n      /** @type {?} */\n\n      var typePrototype = type.prototype;\n      /** @type {?} */\n\n      var declaredInputs =\n      /** @type {?} */\n      {};\n      /** @type {?} */\n\n      var def = {\n        type: type,\n        providersResolver: null,\n        consts: componentDefinition.consts,\n        vars: componentDefinition.vars,\n        factory: componentDefinition.factory,\n        template: componentDefinition.template ||\n        /** @type {?} */\n        null,\n        ngContentSelectors: componentDefinition.ngContentSelectors,\n        hostBindings: componentDefinition.hostBindings || null,\n        contentQueries: componentDefinition.contentQueries || null,\n        declaredInputs: declaredInputs,\n        inputs:\n        /** @type {?} */\n        null,\n        // assigned in noSideEffects\n        outputs:\n        /** @type {?} */\n        null,\n        // assigned in noSideEffects\n        exportAs: componentDefinition.exportAs || null,\n        onChanges: null,\n        onInit: typePrototype.ngOnInit || null,\n        doCheck: typePrototype.ngDoCheck || null,\n        afterContentInit: typePrototype.ngAfterContentInit || null,\n        afterContentChecked: typePrototype.ngAfterContentChecked || null,\n        afterViewInit: typePrototype.ngAfterViewInit || null,\n        afterViewChecked: typePrototype.ngAfterViewChecked || null,\n        onDestroy: typePrototype.ngOnDestroy || null,\n        onPush: componentDefinition.changeDetection === ChangeDetectionStrategy.OnPush,\n        directiveDefs:\n        /** @type {?} */\n        null,\n        // assigned in noSideEffects\n        pipeDefs:\n        /** @type {?} */\n        null,\n        // assigned in noSideEffects\n        selectors: componentDefinition.selectors,\n        viewQuery: componentDefinition.viewQuery || null,\n        features:\n        /** @type {?} */\n        componentDefinition.features || null,\n        data: componentDefinition.data || {},\n        // TODO(misko): convert ViewEncapsulation into const enum so that it can be used directly in the\n        // next line. Also `None` should be 0 not 2.\n        encapsulation: componentDefinition.encapsulation || ViewEncapsulation.Emulated,\n        id: 'c',\n        styles: componentDefinition.styles || EMPTY_ARRAY,\n        _:\n        /** @type {?} */\n        null,\n        setInput: null,\n        schemas: componentDefinition.schemas || null,\n        tView: null\n      };\n      def._ =\n      /** @type {?} */\n      noSideEffects(\n      /**\n      * @return {?}\n      */\n      function () {\n        /** @type {?} */\n        var directiveTypes =\n        /** @type {?} */\n        componentDefinition.directives;\n        /** @type {?} */\n\n        var feature = componentDefinition.features;\n        /** @type {?} */\n\n        var pipeTypes =\n        /** @type {?} */\n        componentDefinition.pipes;\n        def.id += _renderCompCount++;\n        def.inputs = invertObject(componentDefinition.inputs, declaredInputs), def.outputs = invertObject(componentDefinition.outputs), feature && feature.forEach(\n        /**\n        * @param {?} fn\n        * @return {?}\n        */\n        function (fn) {\n          return fn(def);\n        });\n        def.directiveDefs = directiveTypes ?\n        /**\n        * @return {?}\n        */\n        function () {\n          return (typeof directiveTypes === 'function' ? directiveTypes() : directiveTypes).map(extractDirectiveDef);\n        } : null;\n        def.pipeDefs = pipeTypes ?\n        /**\n        * @return {?}\n        */\n        function () {\n          return (typeof pipeTypes === 'function' ? pipeTypes() : pipeTypes).map(extractPipeDef);\n        } : null; // Add ngInjectableDef so components are reachable through the module injector by default\n        // (unless it has already been set by the @Injectable decorator). This is mostly to\n        // support injecting components in tests. In real application code, components should\n        // be retrieved through the node injector, so this isn't a problem.\n\n        if (!type.hasOwnProperty(NG_INJECTABLE_DEF)) {\n          /** @type {?} */\n          type[NG_INJECTABLE_DEF] = ɵɵdefineInjectable({\n            token: type,\n            factory:\n            /** @type {?} */\n            componentDefinition.factory\n          });\n        }\n      });\n      return (\n        /** @type {?} */\n        def\n      );\n    }\n    /**\n     * \\@codeGenApi\n     * @param {?} type\n     * @param {?} directives\n     * @param {?} pipes\n     * @return {?}\n     */\n\n\n    function ɵɵsetComponentScope(type, directives, pipes) {\n      /** @type {?} */\n      var def =\n      /** @type {?} */\n      type.ngComponentDef;\n\n      def.directiveDefs =\n      /**\n      * @return {?}\n      */\n      function () {\n        return directives.map(extractDirectiveDef);\n      };\n\n      def.pipeDefs =\n      /**\n      * @return {?}\n      */\n      function () {\n        return pipes.map(extractPipeDef);\n      };\n    }\n    /**\n     * @param {?} type\n     * @return {?}\n     */\n\n\n    function extractDirectiveDef(type) {\n      /** @type {?} */\n      var def = getComponentDef(type) || getDirectiveDef(type);\n\n      if (ngDevMode && !def) {\n        throw new Error(\"'\".concat(type.name, \"' is neither 'ComponentType' or 'DirectiveType'.\"));\n      }\n\n      return (\n        /** @type {?} */\n        def\n      );\n    }\n    /**\n     * @param {?} type\n     * @return {?}\n     */\n\n\n    function extractPipeDef(type) {\n      /** @type {?} */\n      var def = getPipeDef(type);\n\n      if (ngDevMode && !def) {\n        throw new Error(\"'\".concat(type.name, \"' is not a 'PipeType'.\"));\n      }\n\n      return (\n        /** @type {?} */\n        def\n      );\n    }\n    /**\n     * \\@codeGenApi\n     * @template T\n     * @param {?} def\n     * @return {?}\n     */\n\n\n    function ɵɵdefineNgModule(def) {\n      /** @type {?} */\n      var res = {\n        type: def.type,\n        bootstrap: def.bootstrap || EMPTY_ARRAY,\n        declarations: def.declarations || EMPTY_ARRAY,\n        imports: def.imports || EMPTY_ARRAY,\n        exports: def.exports || EMPTY_ARRAY,\n        transitiveCompileScopes: null,\n        schemas: def.schemas || null,\n        id: def.id || null\n      };\n      return (\n        /** @type {?} */\n        res\n      );\n    }\n    /**\n     * Adds the module metadata that is necessary to compute the module's transitive scope to an\n     * existing module definition.\n     *\n     * Scope metadata of modules is not used in production builds, so calls to this function can be\n     * marked pure to tree-shake it from the bundle, allowing for all referenced declarations\n     * to become eligible for tree-shaking as well.\n     *\n     * \\@codeGenApi\n     * @param {?} type\n     * @param {?} scope\n     * @return {?}\n     */\n\n\n    function ɵɵsetNgModuleScope(type, scope) {\n      return (\n        /** @type {?} */\n        noSideEffects(\n        /**\n        * @return {?}\n        */\n        function () {\n          /** @type {?} */\n\n          /** @nocollapse */\n          var ngModuleDef = getNgModuleDef(type, true);\n          ngModuleDef.declarations = scope.declarations || EMPTY_ARRAY;\n          ngModuleDef.imports = scope.imports || EMPTY_ARRAY;\n          ngModuleDef.exports = scope.exports || EMPTY_ARRAY;\n        })\n      );\n    }\n    /**\n     * Inverts an inputs or outputs lookup such that the keys, which were the\n     * minified keys, are part of the values, and the values are parsed so that\n     * the publicName of the property is the new key\n     *\n     * e.g. for\n     *\n     * ```\n     * class Comp {\n     * \\@Input()\n     *   propName1: string;\n     *\n     * \\@Input('publicName2')\n     *   declaredPropName2: number;\n     * }\n     * ```\n     *\n     * will be serialized as\n     *\n     * ```\n     * {\n     *   propName1: 'propName1',\n     *   declaredPropName2: ['publicName2', 'declaredPropName2'],\n     * }\n     * ```\n     *\n     * which is than translated by the minifier as:\n     *\n     * ```\n     * {\n     *   minifiedPropName1: 'propName1',\n     *   minifiedPropName2: ['publicName2', 'declaredPropName2'],\n     * }\n     * ```\n     *\n     * becomes: (public name => minifiedName)\n     *\n     * ```\n     * {\n     *  'propName1': 'minifiedPropName1',\n     *  'publicName2': 'minifiedPropName2',\n     * }\n     * ```\n     *\n     * Optionally the function can take `secondary` which will result in: (public name => declared name)\n     *\n     * ```\n     * {\n     *  'propName1': 'propName1',\n     *  'publicName2': 'declaredPropName2',\n     * }\n     * ```\n     *\n     * @template T\n     * @param {?=} obj\n     * @param {?=} secondary\n     * @return {?}\n     */\n\n\n    function invertObject(obj, secondary) {\n      if (obj == null) return (\n        /** @type {?} */\n        EMPTY_OBJ\n      );\n      /** @type {?} */\n\n      var newLookup = {};\n\n      for (var minifiedKey in obj) {\n        if (obj.hasOwnProperty(minifiedKey)) {\n          /** @type {?} */\n          var publicName =\n          /** @type {?} */\n          obj[minifiedKey];\n          /** @type {?} */\n\n          var declaredName = publicName;\n\n          if (Array.isArray(publicName)) {\n            declaredName = publicName[1];\n            publicName = publicName[0];\n          }\n\n          newLookup[publicName] = minifiedKey;\n\n          if (secondary) {\n            secondary[publicName] =\n            /** @type {?} */\n            declaredName;\n          }\n        }\n      }\n\n      return newLookup;\n    }\n    /**\n     * Create a base definition\n     *\n     * # Example\n     * ```ts\n     * class ShouldBeInherited {\n     *   static ngBaseDef = ɵɵdefineBase({\n     *      ...\n     *   })\n     * }\n     * ```\n     *\n     * \\@codeGenApi\n     * @template T\n     * @param {?} baseDefinition The base definition parameters\n     *\n     * @return {?}\n     */\n\n\n    function ɵɵdefineBase(baseDefinition) {\n      /** @type {?} */\n      var declaredInputs =\n      /** @type {?} */\n      {};\n      return {\n        inputs: invertObject(\n        /** @type {?} */\n        baseDefinition.inputs, declaredInputs),\n        declaredInputs: declaredInputs,\n        outputs: invertObject(\n        /** @type {?} */\n        baseDefinition.outputs),\n        viewQuery: baseDefinition.viewQuery || null,\n        contentQueries: baseDefinition.contentQueries || null,\n        hostBindings: baseDefinition.hostBindings || null\n      };\n    }\n    /**\n     * Create a directive definition object.\n     *\n     * # Example\n     * ```ts\n     * class MyDirective {\n     *   // Generated by Angular Template Compiler\n     *   // [Symbol] syntax will not be supported by TypeScript until v2.7\n     *   static ngDirectiveDef = ɵɵdefineDirective({\n     *     ...\n     *   });\n     * }\n     * ```\n     *\n     * \\@codeGenApi\n     * @type {?}\n     */\n\n\n    var ɵɵdefineDirective =\n    /** @type {?} */\n\n    /** @type {?} */\n    ɵɵdefineComponent;\n    /**\n     * Create a pipe definition object.\n     *\n     * # Example\n     * ```\n     * class MyPipe implements PipeTransform {\n     *   // Generated by Angular Template Compiler\n     *   static ngPipeDef = definePipe({\n     *     ...\n     *   });\n     * }\n     * ```\n     * \\@codeGenApi\n     * @template T\n     * @param {?} pipeDef Pipe definition generated by the compiler\n     *\n     * @return {?}\n     */\n\n    function ɵɵdefinePipe(pipeDef) {\n      return (\n        /** @type {?} */\n\n        /** @type {?} */\n        {\n          name: pipeDef.name,\n          factory: pipeDef.factory,\n          pure: pipeDef.pure !== false,\n          onDestroy: pipeDef.type.prototype.ngOnDestroy || null\n        }\n      );\n    }\n    /**\n     * The following getter methods retrieve the definition form the type. Currently the retrieval\n     * honors inheritance, but in the future we may change the rule to require that definitions are\n     * explicit. This would require some sort of migration strategy.\n     * @template T\n     * @param {?} type\n     * @return {?}\n     */\n\n\n    function getComponentDef(type) {\n      return (\n        /** @type {?} */\n        type[NG_COMPONENT_DEF] || null\n      );\n    }\n    /**\n     * @template T\n     * @param {?} type\n     * @return {?}\n     */\n\n\n    function getDirectiveDef(type) {\n      return (\n        /** @type {?} */\n        type[NG_DIRECTIVE_DEF] || null\n      );\n    }\n    /**\n     * @template T\n     * @param {?} type\n     * @return {?}\n     */\n\n\n    function getPipeDef(type) {\n      return (\n        /** @type {?} */\n        type[NG_PIPE_DEF] || null\n      );\n    }\n    /**\n     * @template T\n     * @param {?} type\n     * @return {?}\n     */\n\n\n    function getBaseDef(type) {\n      return (\n        /** @type {?} */\n        type[NG_BASE_DEF] || null\n      );\n    }\n    /**\n     * @template T\n     * @param {?} type\n     * @param {?=} throwNotFound\n     * @return {?}\n     */\n\n\n    function getNgModuleDef(type, throwNotFound) {\n      /** @type {?} */\n\n      /** @nocollapse */\n      var ngModuleDef =\n      /** @type {?} */\n      type[NG_MODULE_DEF] || null;\n\n      if (!ngModuleDef && throwNotFound === true) {\n        throw new Error(\"Type \".concat(stringify(type), \" does not have 'ngModuleDef' property.\"));\n      }\n\n      return ngModuleDef;\n    }\n    /**\n     * @param {?} type\n     * @return {?}\n     */\n\n\n    function getNgLocaleIdDef(type) {\n      return (\n        /** @type {?} */\n        type[NG_LOCALE_ID_DEF] || null\n      );\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n    // Below are constants for LView indices to help us look up LView members\n    // without having to remember the specific indices.\n    // Uglify will inline these when minifying so there shouldn't be a cost.\n\n    /** @type {?} */\n\n\n    var HOST = 0;\n    /** @type {?} */\n\n    var TVIEW = 1;\n    /** @type {?} */\n\n    var FLAGS = 2;\n    /** @type {?} */\n\n    var PARENT = 3;\n    /** @type {?} */\n\n    var NEXT = 4;\n    /** @type {?} */\n\n    var QUERIES = 5;\n    /** @type {?} */\n\n    var T_HOST = 6;\n    /** @type {?} */\n\n    var BINDING_INDEX = 7;\n    /** @type {?} */\n\n    var CLEANUP = 8;\n    /** @type {?} */\n\n    var CONTEXT = 9;\n    /** @type {?} */\n\n    var INJECTOR$1 = 10;\n    /** @type {?} */\n\n    var RENDERER_FACTORY = 11;\n    /** @type {?} */\n\n    var RENDERER = 12;\n    /** @type {?} */\n\n    var SANITIZER = 13;\n    /** @type {?} */\n\n    var CHILD_HEAD = 14;\n    /** @type {?} */\n\n    var CHILD_TAIL = 15;\n    /** @type {?} */\n\n    var DECLARATION_VIEW = 16;\n    /** @type {?} */\n\n    var DECLARATION_LCONTAINER = 17;\n    /** @type {?} */\n\n    var PREORDER_HOOK_FLAGS = 18;\n    /**\n     * Size of LView's header. Necessary to adjust for it when setting slots.\n     * @type {?}\n     */\n\n    var HEADER_OFFSET = 19;\n    /**\n     * @record\n     */\n\n    function OpaqueViewState() {}\n\n    if (false) {}\n    /**\n     * `LView` stores all of the information needed to process the instructions as\n     * they are invoked from the template. Each embedded view and component view has its\n     * own `LView`. When processing a particular view, we set the `viewData` to that\n     * `LView`. When that view is done processing, the `viewData` is set back to\n     * whatever the original `viewData` was before (the parent `LView`).\n     *\n     * Keeping separate state for each view facilities view insertion / deletion, so we\n     * don't have to edit the data array based on which views are present.\n     * @record\n     */\n\n\n    function LView() {}\n\n    if (false) {}\n    /** @enum {number} */\n\n\n    var LViewFlags = {\n      /** The state of the init phase on the first 2 bits */\n      InitPhaseStateIncrementer: 1,\n      InitPhaseStateMask: 3,\n\n      /**\n       * Whether or not the view is in creationMode.\n       *\n       * This must be stored in the view rather than using `data` as a marker so that\n       * we can properly support embedded views. Otherwise, when exiting a child view\n       * back into the parent view, `data` will be defined and `creationMode` will be\n       * improperly reported as false.\n       */\n      CreationMode: 4,\n\n      /**\n       * Whether or not this LView instance is on its first processing pass.\n       *\n       * An LView instance is considered to be on its \"first pass\" until it\n       * has completed one creation mode run and one update mode run. At this\n       * time, the flag is turned off.\n       */\n      FirstLViewPass: 8,\n\n      /** Whether this view has default change detection strategy (checks always) or onPush */\n      CheckAlways: 16,\n\n      /**\n       * Whether or not manual change detection is turned on for onPush components.\n       *\n       * This is a special mode that only marks components dirty in two cases:\n       * 1) There has been a change to an @Input property\n       * 2) `markDirty()` has been called manually by the user\n       *\n       * Note that in this mode, the firing of events does NOT mark components\n       * dirty automatically.\n       *\n       * Manual mode is turned off by default for backwards compatibility, as events\n       * automatically mark OnPush components dirty in View Engine.\n       *\n       * TODO: Add a public API to ChangeDetectionStrategy to turn this mode on\n       */\n      ManualOnPush: 32,\n\n      /** Whether or not this view is currently dirty (needing check) */\n      Dirty: 64,\n\n      /** Whether or not this view is currently attached to change detection tree. */\n      Attached: 128,\n\n      /** Whether or not this view is destroyed. */\n      Destroyed: 256,\n\n      /** Whether or not this view is the root view */\n      IsRoot: 512,\n\n      /**\n       * Index of the current init phase on last 22 bits\n       */\n      IndexWithinInitPhaseIncrementer: 1024,\n      IndexWithinInitPhaseShift: 10,\n      IndexWithinInitPhaseReset: 1023\n    };\n    /** @enum {number} */\n\n    var InitPhaseState = {\n      OnInitHooksToBeRun: 0,\n      AfterContentInitHooksToBeRun: 1,\n      AfterViewInitHooksToBeRun: 2,\n      InitPhaseCompleted: 3\n    };\n    /** @enum {number} */\n\n    var PreOrderHookFlags = {\n      /** The index of the next pre-order hook to be called in the hooks array, on the first 16\n         bits */\n      IndexOfTheNextPreOrderHookMaskMask: 65535,\n\n      /**\n       * The number of init hooks that have already been called, on the last 16 bits\n       */\n      NumberOfInitHooksCalledIncrementer: 65536,\n      NumberOfInitHooksCalledShift: 16,\n      NumberOfInitHooksCalledMask: 4294901760\n    };\n    /**\n     * Set of instructions used to process host bindings efficiently.\n     *\n     * See VIEW_DATA.md for more information.\n     * @record\n     */\n\n    function ExpandoInstructions() {}\n    /**\n     * The static data for an LView (shared between all templates of a\n     * given type).\n     *\n     * Stored on the `ComponentDef.tView`.\n     * @record\n     */\n\n\n    function TView() {}\n\n    if (false) {}\n    /** @enum {number} */\n\n\n    var RootContextFlags = {\n      Empty: 0,\n      DetectChanges: 1,\n      FlushPlayers: 2\n    };\n    /**\n     * RootContext contains information which is shared for all components which\n     * were bootstrapped with {\\@link renderComponent}.\n     * @record\n     */\n\n    function RootContext() {}\n\n    if (false) {} // Note: This hack is necessary so we don't erroneously get a circular dependency\n    // failure based on types.\n\n    /** @type {?} */\n\n\n    var unusedValueExportToPlacateAjd = 1;\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Special location which allows easy identification of type. If we have an array which was\n     * retrieved from the `LView` and that array has `true` at `TYPE` location, we know it is\n     * `LContainer`.\n     * @type {?}\n     */\n\n    var TYPE = 1;\n    /**\n     * Below are constants for LContainer indices to help us look up LContainer members\n     * without having to remember the specific indices.\n     * Uglify will inline these when minifying so there shouldn't be a cost.\n     * @type {?}\n     */\n\n    var ACTIVE_INDEX = 2; // PARENT and NEXT are indices 3 and 4\n    // As we already have these constants in LView, we don't need to re-create them.\n\n    /** @type {?} */\n\n    var MOVED_VIEWS = 5; // T_HOST is index 6\n    // We already have this constants in LView, we don't need to re-create it.\n\n    /** @type {?} */\n\n    var NATIVE = 7;\n    /** @type {?} */\n\n    var VIEW_REFS = 8;\n    /**\n     * Size of LContainer's header. Represents the index after which all views in the\n     * container will be inserted. We need to keep a record of current views so we know\n     * which views are already in the DOM (and don't need to be re-added) and so we can\n     * remove views from the DOM when they are no longer required.\n     * @type {?}\n     */\n\n    var CONTAINER_HEADER_OFFSET = 9;\n    /**\n     * The state associated with a container.\n     *\n     * This is an array so that its structure is closer to LView. This helps\n     * when traversing the view tree (which is a mix of containers and component\n     * views), so we can jump to viewOrContainer[NEXT] in the same way regardless\n     * of type.\n     * @record\n     */\n\n    function LContainer() {}\n\n    if (false) {} // Note: This hack is necessary so we don't erroneously get a circular dependency\n    // failure based on types.\n\n    /** @type {?} */\n\n\n    var unusedValueExportToPlacateAjd$1 = 1;\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * True if `value` is `LView`.\n     * @param {?} value wrapped value of `RNode`, `LView`, `LContainer`\n     * @return {?}\n     */\n\n    function isLView(value) {\n      return Array.isArray(value) && typeof value[TYPE] === 'object';\n    }\n    /**\n     * True if `value` is `LContainer`.\n     * @param {?} value wrapped value of `RNode`, `LView`, `LContainer`\n     * @return {?}\n     */\n\n\n    function isLContainer(value) {\n      return Array.isArray(value) && value[TYPE] === true;\n    }\n    /**\n     * @param {?} tNode\n     * @return {?}\n     */\n\n\n    function isContentQueryHost(tNode) {\n      return (tNode.flags & 4\n      /* hasContentQuery */\n      ) !== 0;\n    }\n    /**\n     * @param {?} tNode\n     * @return {?}\n     */\n\n\n    function isComponent(tNode) {\n      return (tNode.flags & 1\n      /* isComponent */\n      ) === 1\n      /* isComponent */\n      ;\n    }\n    /**\n     * @template T\n     * @param {?} def\n     * @return {?}\n     */\n\n\n    function isComponentDef(def) {\n      return (\n        /** @type {?} */\n        def.template !== null\n      );\n    }\n    /**\n     * @param {?} target\n     * @return {?}\n     */\n\n\n    function isRootView(target) {\n      return (target[FLAGS] & 512\n      /* IsRoot */\n      ) !== 0;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @param {?} tNode\n     * @param {?} lView\n     * @return {?}\n     */\n\n\n    function assertTNodeForLView(tNode, lView) {\n      tNode.hasOwnProperty('tView_') && assertEqual(\n      /** @type {?} */\n\n      /** @type {?} */\n      tNode.tView_, lView[TVIEW], 'This TNode does not belong to this LView.');\n    }\n    /**\n     * @param {?} actual\n     * @param {?=} msg\n     * @return {?}\n     */\n\n\n    function assertComponentType(actual) {\n      var msg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'Type passed in is not ComponentType, it does not have \\'ngComponentDef\\' property.';\n\n      if (!getComponentDef(actual)) {\n        throwError(msg);\n      }\n    }\n    /**\n     * @param {?} actual\n     * @param {?=} msg\n     * @return {?}\n     */\n\n\n    function assertNgModuleType(actual) {\n      var msg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'Type passed in is not NgModuleType, it does not have \\'ngModuleDef\\' property.';\n\n      if (!getNgModuleDef(actual)) {\n        throwError(msg);\n      }\n    }\n    /**\n     * @param {?} isParent\n     * @return {?}\n     */\n\n\n    function assertPreviousIsParent(isParent) {\n      assertEqual(isParent, true, 'previousOrParentTNode should be a parent');\n    }\n    /**\n     * @param {?} tNode\n     * @return {?}\n     */\n\n\n    function assertHasParent(tNode) {\n      assertDefined(tNode, 'previousOrParentTNode should exist!');\n      assertDefined(\n      /** @type {?} */\n      tNode.parent, 'previousOrParentTNode should have a parent');\n    }\n    /**\n     * @param {?} lView\n     * @param {?} index\n     * @param {?=} arr\n     * @return {?}\n     */\n\n\n    function assertDataNext(lView, index, arr) {\n      if (arr == null) arr = lView;\n      assertEqual(arr.length, index, \"index \".concat(index, \" expected to be at the end of arr (length \").concat(arr.length, \")\"));\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function assertLContainerOrUndefined(value) {\n      value && assertEqual(isLContainer(value), true, 'Expecting LContainer or undefined or null');\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function assertLContainer(value) {\n      assertDefined(value, 'LContainer must be defined');\n      assertEqual(isLContainer(value), true, 'Expecting LContainer');\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function assertLViewOrUndefined(value) {\n      value && assertEqual(isLView(value), true, 'Expecting LView or undefined or null');\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function assertLView(value) {\n      assertDefined(value, 'LView must be defined');\n      assertEqual(isLView(value), true, 'Expecting LView');\n    }\n    /**\n     * @param {?} tView\n     * @param {?} errMessage\n     * @return {?}\n     */\n\n\n    function assertFirstTemplatePass(tView, errMessage) {\n      assertEqual(tView.firstTemplatePass, true, errMessage);\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /** @type {?} */\n\n\n    var TNODE = 8;\n    /** @type {?} */\n\n    var PARENT_INJECTOR = 8;\n    /** @type {?} */\n\n    var INJECTOR_BLOOM_PARENT_SIZE = 9;\n    /**\n     * Represents a relative location of parent injector.\n     *\n     * The interfaces encodes number of parents `LView`s to traverse and index in the `LView`\n     * pointing to the parent injector.\n     * @record\n     */\n\n    function RelativeInjectorLocation() {}\n\n    if (false) {}\n    /** @enum {number} */\n\n\n    var RelativeInjectorLocationFlags = {\n      InjectorIndexMask: 32767,\n      ViewOffsetShift: 16,\n      NO_PARENT: -1\n    };\n    /** @type {?} */\n\n    var NO_PARENT_INJECTOR =\n    /** @type {?} */\n    -1;\n    /**\n     * Each injector is saved in 9 contiguous slots in `LView` and 9 contiguous slots in\n     * `TView.data`. This allows us to store information about the current node's tokens (which\n     * can be shared in `TView`) as well as the tokens of its ancestor nodes (which cannot be\n     * shared, so they live in `LView`).\n     *\n     * Each of these slots (aside from the last slot) contains a bloom filter. This bloom filter\n     * determines whether a directive is available on the associated node or not. This prevents us\n     * from searching the directives array at this level unless it's probable the directive is in it.\n     *\n     * See: https://en.wikipedia.org/wiki/Bloom_filter for more about bloom filters.\n     *\n     * Because all injectors have been flattened into `LView` and `TViewData`, they cannot typed\n     * using interfaces as they were previously. The start index of each `LInjector` and `TInjector`\n     * will differ based on where it is flattened into the main array, so it's not possible to know\n     * the indices ahead of time and save their types here. The interfaces are still included here\n     * for documentation purposes.\n     *\n     * export interface LInjector extends Array<any> {\n     *\n     *    // Cumulative bloom for directive IDs 0-31  (IDs are % BLOOM_SIZE)\n     *    [0]: number;\n     *\n     *    // Cumulative bloom for directive IDs 32-63\n     *    [1]: number;\n     *\n     *    // Cumulative bloom for directive IDs 64-95\n     *    [2]: number;\n     *\n     *    // Cumulative bloom for directive IDs 96-127\n     *    [3]: number;\n     *\n     *    // Cumulative bloom for directive IDs 128-159\n     *    [4]: number;\n     *\n     *    // Cumulative bloom for directive IDs 160 - 191\n     *    [5]: number;\n     *\n     *    // Cumulative bloom for directive IDs 192 - 223\n     *    [6]: number;\n     *\n     *    // Cumulative bloom for directive IDs 224 - 255\n     *    [7]: number;\n     *\n     *    // We need to store a reference to the injector's parent so DI can keep looking up\n     *    // the injector tree until it finds the dependency it's looking for.\n     *    [PARENT_INJECTOR]: number;\n     * }\n     *\n     * export interface TInjector extends Array<any> {\n     *\n     *    // Shared node bloom for directive IDs 0-31  (IDs are % BLOOM_SIZE)\n     *    [0]: number;\n     *\n     *    // Shared node bloom for directive IDs 32-63\n     *    [1]: number;\n     *\n     *    // Shared node bloom for directive IDs 64-95\n     *    [2]: number;\n     *\n     *    // Shared node bloom for directive IDs 96-127\n     *    [3]: number;\n     *\n     *    // Shared node bloom for directive IDs 128-159\n     *    [4]: number;\n     *\n     *    // Shared node bloom for directive IDs 160 - 191\n     *    [5]: number;\n     *\n     *    // Shared node bloom for directive IDs 192 - 223\n     *    [6]: number;\n     *\n     *    // Shared node bloom for directive IDs 224 - 255\n     *    [7]: number;\n     *\n     *    // Necessary to find directive indices for a particular node.\n     *    [TNODE]: TElementNode|TElementContainerNode|TContainerNode;\n     *  }\n     */\n\n    /**\n     * Factory for creating instances of injectors in the NodeInjector.\n     *\n     * This factory is complicated by the fact that it can resolve `multi` factories as well.\n     *\n     * NOTE: Some of the fields are optional which means that this class has two hidden classes.\n     * - One without `multi` support (most common)\n     * - One with `multi` values, (rare).\n     *\n     * Since VMs can cache up to 4 inline hidden classes this is OK.\n     *\n     * - Single factory: Only `resolving` and `factory` is defined.\n     * - `providers` factory: `componentProviders` is a number and `index = -1`.\n     * - `viewProviders` factory: `componentProviders` is a number and `index` points to `providers`.\n     */\n\n    var NodeInjectorFactory =\n    /**\n     * @param {?} factory\n     * @param {?} isViewProvider\n     * @param {?} injectImplementation\n     */\n    function NodeInjectorFactory(factory,\n    /**\n     * Set to `true` if the token is declared in `viewProviders` (or if it is component).\n     */\n    isViewProvider, injectImplementation) {\n      _classCallCheck(this, NodeInjectorFactory);\n\n      this.factory = factory;\n      /**\n       * Marker set to true during factory invocation to see if we get into recursive loop.\n       * Recursive loop causes an error to be displayed.\n       */\n\n      this.resolving = false;\n      this.canSeeViewProviders = isViewProvider;\n      this.injectImpl = injectImplementation;\n    };\n\n    if (false) {}\n    /**\n     * @param {?} obj\n     * @return {?}\n     */\n\n\n    function isFactory(obj) {\n      // See: https://jsperf.com/instanceof-vs-getprototypeof\n      return obj !== null && typeof obj == 'object' && Object.getPrototypeOf(obj) == NodeInjectorFactory.prototype;\n    } // Note: This hack is necessary so we don't erroneously get a circular dependency\n    // failure based on types.\n\n    /** @type {?} */\n\n\n    var unusedValueExportToPlacateAjd$2 = 1;\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @param {?} tNode\n     * @param {?} type\n     * @return {?}\n     */\n\n    function assertNodeType(tNode, type) {\n      assertDefined(tNode, 'should be called with a TNode');\n      assertEqual(tNode.type, type, \"should be a \".concat(typeName(type)));\n    }\n    /**\n     * @param {?} tNode\n     * @param {...?} types\n     * @return {?}\n     */\n\n\n    function assertNodeOfPossibleTypes(tNode) {\n      assertDefined(tNode, 'should be called with a TNode');\n      /** @type {?} */\n\n      for (var _len17 = arguments.length, types = new Array(_len17 > 1 ? _len17 - 1 : 0), _key19 = 1; _key19 < _len17; _key19++) {\n        types[_key19 - 1] = arguments[_key19];\n      }\n\n      var found = types.some(\n      /**\n      * @param {?} type\n      * @return {?}\n      */\n      function (type) {\n        return tNode.type === type;\n      });\n      assertEqual(found, true, \"Should be one of \".concat(types.map(typeName).join(', '), \" but got \").concat(typeName(tNode.type)));\n    }\n    /**\n     * @param {?} type\n     * @return {?}\n     */\n\n\n    function typeName(type) {\n      if (type == 1\n      /* Projection */\n      ) return 'Projection';\n      if (type == 0\n      /* Container */\n      ) return 'Container';\n      if (type == 2\n      /* View */\n      ) return 'View';\n      if (type == 3\n      /* Element */\n      ) return 'Element';\n      if (type == 4\n      /* ElementContainer */\n      ) return 'ElementContainer';\n      return '<unknown>';\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Adds all directive lifecycle hooks from the given `DirectiveDef` to the given `TView`.\n     *\n     * Must be run *only* on the first template pass.\n     *\n     * Sets up the pre-order hooks on the provided `tView`,\n     * see {\\@link HookData} for details about the data structure.\n     *\n     * @param {?} directiveIndex The index of the directive in LView\n     * @param {?} directiveDef The definition containing the hooks to setup in tView\n     * @param {?} tView The current TView\n     * @param {?} nodeIndex The index of the node to which the directive is attached\n     * @param {?} initialPreOrderHooksLength the number of pre-order hooks already registered before the\n     * current process, used to know if the node index has to be added to the array. If it is -1,\n     * the node index is never added.\n     * @param {?} initialPreOrderCheckHooksLength same as previous for pre-order check hooks\n     * @return {?}\n     */\n\n\n    function registerPreOrderHooks(directiveIndex, directiveDef, tView, nodeIndex, initialPreOrderHooksLength, initialPreOrderCheckHooksLength) {\n      ngDevMode && assertEqual(tView.firstTemplatePass, true, 'Should only be called on first template pass');\n      var onChanges = directiveDef.onChanges,\n          onInit = directiveDef.onInit,\n          doCheck = directiveDef.doCheck;\n\n      if (initialPreOrderHooksLength >= 0 && (!tView.preOrderHooks || initialPreOrderHooksLength === tView.preOrderHooks.length) && (onChanges || onInit || doCheck)) {\n        (tView.preOrderHooks || (tView.preOrderHooks = [])).push(nodeIndex);\n      }\n\n      if (initialPreOrderCheckHooksLength >= 0 && (!tView.preOrderCheckHooks || initialPreOrderCheckHooksLength === tView.preOrderCheckHooks.length) && (onChanges || doCheck)) {\n        (tView.preOrderCheckHooks || (tView.preOrderCheckHooks = [])).push(nodeIndex);\n      }\n\n      if (onChanges) {\n        (tView.preOrderHooks || (tView.preOrderHooks = [])).push(directiveIndex, onChanges);\n        (tView.preOrderCheckHooks || (tView.preOrderCheckHooks = [])).push(directiveIndex, onChanges);\n      }\n\n      if (onInit) {\n        (tView.preOrderHooks || (tView.preOrderHooks = [])).push(-directiveIndex, onInit);\n      }\n\n      if (doCheck) {\n        (tView.preOrderHooks || (tView.preOrderHooks = [])).push(directiveIndex, doCheck);\n        (tView.preOrderCheckHooks || (tView.preOrderCheckHooks = [])).push(directiveIndex, doCheck);\n      }\n    }\n    /**\n     *\n     * Loops through the directives on the provided `tNode` and queues hooks to be\n     * run that are not initialization hooks.\n     *\n     * Should be executed during `elementEnd()` and similar to\n     * preserve hook execution order. Content, view, and destroy hooks for projected\n     * components and directives must be called *before* their hosts.\n     *\n     * Sets up the content, view, and destroy hooks on the provided `tView`,\n     * see {\\@link HookData} for details about the data structure.\n     *\n     * NOTE: This does not set up `onChanges`, `onInit` or `doCheck`, those are set up\n     * separately at `elementStart`.\n     *\n     * @param {?} tView The current TView\n     * @param {?} tNode The TNode whose directives are to be searched for hooks to queue\n     * @return {?}\n     */\n\n\n    function registerPostOrderHooks(tView, tNode) {\n      if (tView.firstTemplatePass) {\n        // It's necessary to loop through the directives at elementEnd() (rather than processing in\n        // directiveCreate) so we can preserve the current hook order. Content, view, and destroy\n        // hooks for projected components and directives must be called *before* their hosts.\n        for (var i = tNode.directiveStart, end = tNode.directiveEnd; i < end; i++) {\n          /** @type {?} */\n          var _directiveDef =\n          /** @type {?} */\n          tView.data[i];\n\n          if (_directiveDef.afterContentInit) {\n            (tView.contentHooks || (tView.contentHooks = [])).push(-i, _directiveDef.afterContentInit);\n          }\n\n          if (_directiveDef.afterContentChecked) {\n            (tView.contentHooks || (tView.contentHooks = [])).push(i, _directiveDef.afterContentChecked);\n            (tView.contentCheckHooks || (tView.contentCheckHooks = [])).push(i, _directiveDef.afterContentChecked);\n          }\n\n          if (_directiveDef.afterViewInit) {\n            (tView.viewHooks || (tView.viewHooks = [])).push(-i, _directiveDef.afterViewInit);\n          }\n\n          if (_directiveDef.afterViewChecked) {\n            (tView.viewHooks || (tView.viewHooks = [])).push(i, _directiveDef.afterViewChecked);\n            (tView.viewCheckHooks || (tView.viewCheckHooks = [])).push(i, _directiveDef.afterViewChecked);\n          }\n\n          if (_directiveDef.onDestroy != null) {\n            (tView.destroyHooks || (tView.destroyHooks = [])).push(i, _directiveDef.onDestroy);\n          }\n        }\n      }\n    }\n    /**\n     * Executing hooks requires complex logic as we need to deal with 2 constraints.\n     *\n     * 1. Init hooks (ngOnInit, ngAfterContentInit, ngAfterViewInit) must all be executed once and only\n     * once, across many change detection cycles. This must be true even if some hooks throw, or if\n     * some recursively trigger a change detection cycle.\n     * To solve that, it is required to track the state of the execution of these init hooks.\n     * This is done by storing and maintaining flags in the view: the {@link InitPhaseState},\n     * and the index within that phase. They can be seen as a cursor in the following structure:\n     * [[onInit1, onInit2], [afterContentInit1], [afterViewInit1, afterViewInit2, afterViewInit3]]\n     * They are are stored as flags in LView[FLAGS].\n     *\n     * 2. Pre-order hooks can be executed in batches, because of the select instruction.\n     * To be able to pause and resume their execution, we also need some state about the hook's array\n     * that is being processed:\n     * - the index of the next hook to be executed\n     * - the number of init hooks already found in the processed part of the  array\n     * They are are stored as flags in LView[PREORDER_HOOK_FLAGS].\n     */\n\n    /**\n     * Executes necessary hooks at the start of executing a template.\n     *\n     * Executes hooks that are to be run during the initialization of a directive such\n     * as `onChanges`, `onInit`, and `doCheck`.\n     *\n     * @param {?} currentView\n     * @param {?} tView Static data for the view containing the hooks to be executed\n     * @param {?} checkNoChangesMode Whether or not we're in checkNoChanges mode.\n     * @param {?} currentNodeIndex\n     * @return {?}\n     */\n\n\n    function executePreOrderHooks(currentView, tView, checkNoChangesMode, currentNodeIndex) {\n      if (!checkNoChangesMode) {\n        executeHooks(currentView, tView.preOrderHooks, tView.preOrderCheckHooks, checkNoChangesMode, 0\n        /* OnInitHooksToBeRun */\n        , currentNodeIndex !== undefined ? currentNodeIndex : null);\n      }\n    }\n    /**\n     * Executes hooks against the given `LView` based off of whether or not\n     * This is the first pass.\n     *\n     * @param {?} currentView The view instance data to run the hooks against\n     * @param {?} firstPassHooks An array of hooks to run if we're in the first view pass\n     * @param {?} checkHooks An Array of hooks to run if we're not in the first view pass.\n     * @param {?} checkNoChangesMode Whether or not we're in no changes mode.\n     * @param {?} initPhaseState the current state of the init phase\n     * @param {?} currentNodeIndex 3 cases depending the the value:\n     * - undefined: all hooks from the array should be executed (post-order case)\n     * - null: execute hooks only from the saved index until the end of the array (pre-order case, when\n     * flushing the remaining hooks)\n     * - number: execute hooks only from the saved index until that node index exclusive (pre-order\n     * case, when executing select(number))\n     * @return {?}\n     */\n\n\n    function executeHooks(currentView, firstPassHooks, checkHooks, checkNoChangesMode, initPhaseState, currentNodeIndex) {\n      if (checkNoChangesMode) return;\n      /** @type {?} */\n\n      var hooksToCall = (currentView[FLAGS] & 3\n      /* InitPhaseStateMask */\n      ) === initPhaseState ? firstPassHooks : checkHooks;\n\n      if (hooksToCall) {\n        callHooks(currentView, hooksToCall, initPhaseState, currentNodeIndex);\n      } // The init phase state must be always checked here as it may have been recursively updated\n\n\n      if (currentNodeIndex == null && (currentView[FLAGS] & 3\n      /* InitPhaseStateMask */\n      ) === initPhaseState && initPhaseState !== 3\n      /* InitPhaseCompleted */\n      ) {\n          currentView[FLAGS] &= 1023\n          /* IndexWithinInitPhaseReset */\n          ;\n          currentView[FLAGS] += 1\n          /* InitPhaseStateIncrementer */\n          ;\n        }\n    }\n    /**\n     * Calls lifecycle hooks with their contexts, skipping init hooks if it's not\n     * the first LView pass\n     *\n     * @param {?} currentView The current view\n     * @param {?} arr The array in which the hooks are found\n     * @param {?} initPhase\n     * @param {?} currentNodeIndex 3 cases depending the the value:\n     * - undefined: all hooks from the array should be executed (post-order case)\n     * - null: execute hooks only from the saved index until the end of the array (pre-order case, when\n     * flushing the remaining hooks)\n     * - number: execute hooks only from the saved index until that node index exclusive (pre-order\n     * case, when executing select(number))\n     * @return {?}\n     */\n\n\n    function callHooks(currentView, arr, initPhase, currentNodeIndex) {\n      /** @type {?} */\n      var startIndex = currentNodeIndex !== undefined ? currentView[PREORDER_HOOK_FLAGS] & 65535\n      /* IndexOfTheNextPreOrderHookMaskMask */\n      : 0;\n      /** @type {?} */\n\n      var nodeIndexLimit = currentNodeIndex != null ? currentNodeIndex : -1;\n      /** @type {?} */\n\n      var lastNodeIndexFound = 0;\n\n      for (var i = startIndex; i < arr.length; i++) {\n        /** @type {?} */\n        var hook =\n        /** @type {?} */\n        arr[i + 1];\n\n        if (typeof hook === 'number') {\n          lastNodeIndexFound =\n          /** @type {?} */\n          arr[i];\n\n          if (currentNodeIndex != null && lastNodeIndexFound >= currentNodeIndex) {\n            break;\n          }\n        } else {\n          /** @type {?} */\n          var isInitHook = arr[i] < 0;\n          if (isInitHook) currentView[PREORDER_HOOK_FLAGS] += 65536\n          /* NumberOfInitHooksCalledIncrementer */\n          ;\n\n          if (lastNodeIndexFound < nodeIndexLimit || nodeIndexLimit == -1) {\n            callHook(currentView, initPhase, arr, i);\n            currentView[PREORDER_HOOK_FLAGS] = (currentView[PREORDER_HOOK_FLAGS] & 4294901760\n            /* NumberOfInitHooksCalledMask */\n            ) + i + 2;\n          }\n\n          i++;\n        }\n      }\n    }\n    /**\n     * Execute one hook against the current `LView`.\n     *\n     * @param {?} currentView The current view\n     * @param {?} initPhase\n     * @param {?} arr The array in which the hooks are found\n     * @param {?} i The current index within the hook data array\n     * @return {?}\n     */\n\n\n    function callHook(currentView, initPhase, arr, i) {\n      /** @type {?} */\n      var isInitHook = arr[i] < 0;\n      /** @type {?} */\n\n      var hook =\n      /** @type {?} */\n      arr[i + 1];\n      /** @type {?} */\n\n      var directiveIndex = isInitHook ? -arr[i] :\n      /** @type {?} */\n      arr[i];\n      /** @type {?} */\n\n      var directive = currentView[directiveIndex];\n\n      if (isInitHook) {\n        /** @type {?} */\n        var indexWithintInitPhase = currentView[FLAGS] >> 10\n        /* IndexWithinInitPhaseShift */\n        ; // The init phase state must be always checked here as it may have been recursively\n        // updated\n\n        if (indexWithintInitPhase < currentView[PREORDER_HOOK_FLAGS] >> 16\n        /* NumberOfInitHooksCalledShift */\n        && (currentView[FLAGS] & 3\n        /* InitPhaseStateMask */\n        ) === initPhase) {\n          currentView[FLAGS] += 1024\n          /* IndexWithinInitPhaseIncrementer */\n          ;\n          hook.call(directive);\n        }\n      } else {\n        hook.call(directive);\n      }\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n    * @license\n    * Copyright Google Inc. All Rights Reserved.\n    *\n    * Use of this source code is governed by an MIT-style license that can be\n    * found in the LICENSE file at https://angular.io/license\n    */\n\n    /**\n     * --------\n     *\n     * // TODO(matsko): add updateMask info\n     *\n     * This file contains all state-based logic for styling in Angular.\n     *\n     * Styling in Angular is evaluated with a series of styling-specific\n     * template instructions which are called one after another each time\n     * change detection occurs in Angular.\n     *\n     * Styling makes use of various temporary, state-based variables between\n     * instructions so that it can better cache and optimize its values.\n     * These values are usually populated and cleared when an element is\n     * exited in change detection (once all the instructions are run for\n     * that element).\n     *\n     * There are, however, situations where the state-based values\n     * need to be stored and used at a later point. This ONLY occurs when\n     * there are template-level as well as host-binding-level styling\n     * instructions on the same element. The example below shows exactly\n     * what could be:\n     *\n     * ```html\n     * <!-- two sources of styling: the template and the directive -->\n     * <div [style.width]=\"width\" dir-that-sets-height></div>\n     * ```\n     *\n     * If and when this situation occurs, the current styling state is\n     * stored in a storage map value and then later accessed once the\n     * host bindings are evaluated. Once styling for the current element\n     * is over then the map entry will be cleared.\n     *\n     * To learn more about the algorithm see `TStylingContext`.\n     *\n     * --------\n     */\n\n    /** @type {?} */\n\n\n    var _stylingState = null;\n    /** @type {?} */\n\n    var _stateStorage = new Map(); // this value is not used outside this file and is only here\n    // as a caching check for when the element changes.\n\n    /** @type {?} */\n\n\n    var _stylingElement = null;\n    /**\n     * Used as a state reference for update values between style/class binding instructions.\n     * @record\n     */\n\n    function StylingState() {}\n\n    if (false) {}\n    /** @type {?} */\n\n\n    var STYLING_INDEX_START_VALUE = 1;\n    /** @type {?} */\n\n    var BIT_MASK_START_VALUE = 0;\n    /**\n     * @param {?} element\n     * @param {?=} readFromMap\n     * @return {?}\n     */\n\n    function getStylingState(element, readFromMap) {\n      if (!_stylingElement || element !== _stylingElement) {\n        _stylingElement = element;\n\n        if (readFromMap) {\n          _stylingState = _stateStorage.get(element) || null;\n          ngDevMode && ngDevMode.stylingReadPersistedState++;\n        }\n\n        _stylingState = _stylingState || {\n          classesBitMask: BIT_MASK_START_VALUE,\n          classesIndex: STYLING_INDEX_START_VALUE,\n          stylesBitMask: BIT_MASK_START_VALUE,\n          stylesIndex: STYLING_INDEX_START_VALUE\n        };\n      }\n\n      return (\n        /** @type {?} */\n        _stylingState\n      );\n    }\n    /**\n     * @return {?}\n     */\n\n\n    function resetStylingState() {\n      _stylingState = null;\n      _stylingElement = null;\n    }\n    /**\n     * @param {?} element\n     * @param {?} state\n     * @return {?}\n     */\n\n\n    function storeStylingState(element, state) {\n      ngDevMode && ngDevMode.stylingWritePersistedState++;\n\n      _stateStorage.set(element, state);\n    }\n    /**\n     * @param {?} element\n     * @return {?}\n     */\n\n\n    function deleteStylingStateFromStorage(element) {\n      _stateStorage.delete(element);\n    }\n    /**\n     * @return {?}\n     */\n\n\n    function resetAllStylingState() {\n      resetStylingState();\n\n      _stateStorage.clear();\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * This property will be monkey-patched on elements, components and directives\n     * @type {?}\n     */\n\n\n    var MONKEY_PATCH_KEY_NAME = '__ngContext__';\n    /**\n     * The internal view context which is specific to a given DOM element, directive or\n     * component instance. Each value in here (besides the LView and element node details)\n     * can be present, null or undefined. If undefined then it implies the value has not been\n     * looked up yet, otherwise, if null, then a lookup was executed and nothing was found.\n     *\n     * Each value will get filled when the respective value is examined within the getContext\n     * function. The component, element and each directive instance will share the same instance\n     * of the context.\n     * @record\n     */\n\n    function LContext() {}\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * For efficiency reasons we often put several different data types (`RNode`, `LView`, `LContainer`)\n     * in same location in `LView`. This is because we don't want to pre-allocate space for it\n     * because the storage is sparse. This file contains utilities for dealing with such data types.\n     *\n     * How do we know what is stored at a given location in `LView`.\n     * - `Array.isArray(value) === false` => `RNode` (The normal storage value)\n     * - `Array.isArray(value) === true` => then the `value[0]` represents the wrapped value.\n     *   - `typeof value[TYPE] === 'object'` => `LView`\n     *      - This happens when we have a component at a given location\n     *   - `typeof value[TYPE] === true` => `LContainer`\n     *      - This happens when we have `LContainer` binding at a given location.\n     *\n     *\n     * NOTE: it is assumed that `Array.isArray` and `typeof` operations are very efficient.\n     */\n\n    /**\n     * Returns `RNode`.\n     * @param {?} value wrapped value of `RNode`, `LView`, `LContainer`\n     * @return {?}\n     */\n\n\n    function unwrapRNode(value) {\n      while (Array.isArray(value)) {\n        value =\n        /** @type {?} */\n        value[HOST];\n      }\n\n      return (\n        /** @type {?} */\n        value\n      );\n    }\n    /**\n     * Returns `LView` or `null` if not found.\n     * @param {?} value wrapped value of `RNode`, `LView`, `LContainer`\n     * @return {?}\n     */\n\n\n    function unwrapLView(value) {\n      while (Array.isArray(value)) {\n        // This check is same as `isLView()` but we don't call at as we don't want to call\n        // `Array.isArray()` twice and give JITer more work for inlining.\n        if (typeof value[TYPE] === 'object') return (\n          /** @type {?} */\n          value\n        );\n        value =\n        /** @type {?} */\n        value[HOST];\n      }\n\n      return null;\n    }\n    /**\n     * Returns `LContainer` or `null` if not found.\n     * @param {?} value wrapped value of `RNode`, `LView`, `LContainer`\n     * @return {?}\n     */\n\n\n    function unwrapLContainer(value) {\n      while (Array.isArray(value)) {\n        // This check is same as `isLContainer()` but we don't call at as we don't want to call\n        // `Array.isArray()` twice and give JITer more work for inlining.\n        if (value[TYPE] === true) return (\n          /** @type {?} */\n          value\n        );\n        value =\n        /** @type {?} */\n        value[HOST];\n      }\n\n      return null;\n    }\n    /**\n     * Retrieves an element value from the provided `viewData`, by unwrapping\n     * from any containers, component views, or style contexts.\n     * @param {?} index\n     * @param {?} lView\n     * @return {?}\n     */\n\n\n    function getNativeByIndex(index, lView) {\n      return unwrapRNode(lView[index + HEADER_OFFSET]);\n    }\n    /**\n     * Retrieve an `RNode` for a given `TNode` and `LView`.\n     *\n     * This function guarantees in dev mode to retrieve a non-null `RNode`.\n     *\n     * @param {?} tNode\n     * @param {?} lView\n     * @return {?}\n     */\n\n\n    function getNativeByTNode(tNode, lView) {\n      ngDevMode && assertTNodeForLView(tNode, lView);\n      ngDevMode && assertDataInRange(lView, tNode.index);\n      /** @type {?} */\n\n      var node = unwrapRNode(lView[tNode.index]);\n      ngDevMode && assertDomNode(node);\n      return node;\n    }\n    /**\n     * Retrieve an `RNode` or `null` for a given `TNode` and `LView`.\n     *\n     * Some `TNode`s don't have associated `RNode`s. For example `Projection`\n     *\n     * @param {?} tNode\n     * @param {?} lView\n     * @return {?}\n     */\n\n\n    function getNativeByTNodeOrNull(tNode, lView) {\n      ngDevMode && assertTNodeForLView(tNode, lView);\n      /** @type {?} */\n\n      var index = tNode.index;\n      /** @type {?} */\n\n      var node = index == -1 ? null : unwrapRNode(lView[index]);\n      ngDevMode && node !== null && assertDomNode(node);\n      return node;\n    }\n    /**\n     * A helper function that returns `true` if a given `TNode` has any matching directives.\n     * @param {?} tNode\n     * @return {?}\n     */\n\n\n    function hasDirectives(tNode) {\n      return tNode.directiveEnd > tNode.directiveStart;\n    }\n    /**\n     * @param {?} index\n     * @param {?} view\n     * @return {?}\n     */\n\n\n    function getTNode(index, view) {\n      ngDevMode && assertGreaterThan(index, -1, 'wrong index for TNode');\n      ngDevMode && assertLessThan(index, view[TVIEW].data.length, 'wrong index for TNode');\n      return (\n        /** @type {?} */\n        view[TVIEW].data[index + HEADER_OFFSET]\n      );\n    }\n    /**\n     * Retrieves a value from any `LView` or `TData`.\n     * @template T\n     * @param {?} view\n     * @param {?} index\n     * @return {?}\n     */\n\n\n    function loadInternal(view, index) {\n      ngDevMode && assertDataInRange(view, index + HEADER_OFFSET);\n      return view[index + HEADER_OFFSET];\n    }\n    /**\n     * @param {?} nodeIndex\n     * @param {?} hostView\n     * @return {?}\n     */\n\n\n    function getComponentViewByIndex(nodeIndex, hostView) {\n      // Could be an LView or an LContainer. If LContainer, unwrap to find LView.\n\n      /** @type {?} */\n      var slotValue = hostView[nodeIndex];\n      /** @type {?} */\n\n      var lView = isLView(slotValue) ? slotValue : slotValue[HOST];\n      return lView;\n    }\n    /**\n     * Returns the monkey-patch value data present on the target (which could be\n     * a component, directive or a DOM node).\n     * @param {?} target\n     * @return {?}\n     */\n\n\n    function readPatchedData(target) {\n      ngDevMode && assertDefined(target, 'Target expected');\n      return target[MONKEY_PATCH_KEY_NAME];\n    }\n    /**\n     * @param {?} target\n     * @return {?}\n     */\n\n\n    function readPatchedLView(target) {\n      /** @type {?} */\n      var value = readPatchedData(target);\n\n      if (value) {\n        return Array.isArray(value) ? value :\n        /** @type {?} */\n        value.lView;\n      }\n\n      return null;\n    }\n    /**\n     * Returns a boolean for whether the view is attached to the change detection tree.\n     *\n     * Note: This determines whether a view should be checked, not whether it's inserted\n     * into a container. For that, you'll want `viewAttachedToContainer` below.\n     * @param {?} view\n     * @return {?}\n     */\n\n\n    function viewAttachedToChangeDetector(view) {\n      return (view[FLAGS] & 128\n      /* Attached */\n      ) === 128\n      /* Attached */\n      ;\n    }\n    /**\n     * Returns a boolean for whether the view is attached to a container.\n     * @param {?} view\n     * @return {?}\n     */\n\n\n    function viewAttachedToContainer(view) {\n      return isLContainer(view[PARENT]);\n    }\n    /**\n     * Resets the pre-order hook flags of the view.\n     * @param {?} lView the LView on which the flags are reset\n     * @return {?}\n     */\n\n\n    function resetPreOrderHookFlags(lView) {\n      lView[PREORDER_HOOK_FLAGS] = 0;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Store the element depth count. This is used to identify the root elements of the template\n     * so that we can than attach `LView` to only those elements.\n     * @type {?}\n     */\n\n\n    var elementDepthCount;\n    /**\n     * @return {?}\n     */\n\n    function getElementDepthCount() {\n      // top level variables should not be exported for performance reasons (PERF_NOTES.md)\n      return elementDepthCount;\n    }\n    /**\n     * @return {?}\n     */\n\n\n    function increaseElementDepthCount() {\n      elementDepthCount++;\n    }\n    /**\n     * @return {?}\n     */\n\n\n    function decreaseElementDepthCount() {\n      elementDepthCount--;\n    }\n    /** @type {?} */\n\n\n    var currentDirectiveDef = null;\n    /**\n     * @return {?}\n     */\n\n    function getCurrentDirectiveDef() {\n      // top level variables should not be exported for performance reasons (PERF_NOTES.md)\n      return currentDirectiveDef;\n    }\n    /**\n     * @param {?} def\n     * @return {?}\n     */\n\n\n    function setCurrentDirectiveDef(def) {\n      currentDirectiveDef = def;\n    }\n    /**\n     * Stores whether directives should be matched to elements.\n     *\n     * When template contains `ngNonBindable` than we need to prevent the runtime form matching\n     * directives on children of that element.\n     *\n     * Example:\n     * ```\n     * <my-comp my-directive>\n     *   Should match component / directive.\n     * </my-comp>\n     * <div ngNonBindable>\n     *   <my-comp my-directive>\n     *     Should not match component / directive because we are in ngNonBindable.\n     *   </my-comp>\n     * </div>\n     * ```\n     * @type {?}\n     */\n\n\n    var bindingsEnabled;\n    /**\n     * @return {?}\n     */\n\n    function getBindingsEnabled() {\n      // top level variables should not be exported for performance reasons (PERF_NOTES.md)\n      return bindingsEnabled;\n    }\n    /**\n     * Enables directive matching on elements.\n     *\n     *  * Example:\n     * ```\n     * <my-comp my-directive>\n     *   Should match component / directive.\n     * </my-comp>\n     * <div ngNonBindable>\n     *   <!-- ɵɵdisableBindings() -->\n     *   <my-comp my-directive>\n     *     Should not match component / directive because we are in ngNonBindable.\n     *   </my-comp>\n     *   <!-- ɵɵenableBindings() -->\n     * </div>\n     * ```\n     *\n     * \\@codeGenApi\n     * @return {?}\n     */\n\n\n    function ɵɵenableBindings() {\n      bindingsEnabled = true;\n    }\n    /**\n     * Disables directive matching on element.\n     *\n     *  * Example:\n     * ```\n     * <my-comp my-directive>\n     *   Should match component / directive.\n     * </my-comp>\n     * <div ngNonBindable>\n     *   <!-- ɵɵdisableBindings() -->\n     *   <my-comp my-directive>\n     *     Should not match component / directive because we are in ngNonBindable.\n     *   </my-comp>\n     *   <!-- ɵɵenableBindings() -->\n     * </div>\n     * ```\n     *\n     * \\@codeGenApi\n     * @return {?}\n     */\n\n\n    function ɵɵdisableBindings() {\n      bindingsEnabled = false;\n    }\n    /**\n     * @return {?}\n     */\n\n\n    function getLView() {\n      return lView;\n    }\n    /**\n     * Used as the starting directive id value.\n     *\n     * All subsequent directives are incremented from this value onwards.\n     * The reason why this value is `1` instead of `0` is because the `0`\n     * value is reserved for the template.\n     * @type {?}\n     */\n\n\n    var MIN_DIRECTIVE_ID = 1;\n    /** @type {?} */\n\n    var activeDirectiveId = MIN_DIRECTIVE_ID;\n    /**\n     * Position depth (with respect from leaf to root) in a directive sub-class inheritance chain.\n     * @type {?}\n     */\n\n    var activeDirectiveSuperClassDepthPosition = 0;\n    /**\n     * Total count of how many directives are a part of an inheritance chain.\n     *\n     * When directives are sub-classed (extended) from one to another, Angular\n     * needs to keep track of exactly how many were encountered so it can accurately\n     * generate the next directive id (once the next directive id is visited).\n     * Normally the next directive id just a single incremented value from the\n     * previous one, however, if the previous directive is a part of an inheritance\n     * chain (a series of sub-classed directives) then the incremented value must\n     * also take into account the total amount of sub-classed values.\n     *\n     * Note that this value resets back to zero once the next directive is\n     * visited (when `incrementActiveDirectiveId` or `setActiveHostElement`\n     * is called).\n     * @type {?}\n     */\n\n    var activeDirectiveSuperClassHeight = 0;\n    /**\n     * Sets the active directive host element and resets the directive id value\n     * (when the provided elementIndex value has changed).\n     *\n     * @param {?=} elementIndex the element index value for the host element where\n     *                     the directive/component instance lives\n     * @return {?}\n     */\n\n    function setActiveHostElement() {\n      var elementIndex = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n\n      if (_selectedIndex !== elementIndex) {\n        setSelectedIndex(elementIndex == null ? -1 : elementIndex);\n        activeDirectiveId = elementIndex == null ? 0 : MIN_DIRECTIVE_ID;\n        activeDirectiveSuperClassDepthPosition = 0;\n        activeDirectiveSuperClassHeight = 0;\n      }\n    }\n    /**\n     * Returns the current id value of the current directive.\n     *\n     * For example we have an element that has two directives on it:\n     * <div dir-one dir-two></div>\n     *\n     * dirOne->hostBindings() (id == 1)\n     * dirTwo->hostBindings() (id == 2)\n     *\n     * Note that this is only active when `hostBinding` functions are being processed.\n     *\n     * Note that directive id values are specific to an element (this means that\n     * the same id value could be present on another element with a completely\n     * different set of directives).\n     * @return {?}\n     */\n\n\n    function getActiveDirectiveId() {\n      return activeDirectiveId;\n    }\n    /**\n     * Increments the current directive id value.\n     *\n     * For example we have an element that has two directives on it:\n     * <div dir-one dir-two></div>\n     *\n     * dirOne->hostBindings() (index = 1)\n     * // increment\n     * dirTwo->hostBindings() (index = 2)\n     *\n     * Depending on whether or not a previous directive had any inherited\n     * directives present, that value will be incremented in addition\n     * to the id jumping up by one.\n     *\n     * Note that this is only active when `hostBinding` functions are being processed.\n     *\n     * Note that directive id values are specific to an element (this means that\n     * the same id value could be present on another element with a completely\n     * different set of directives).\n     * @return {?}\n     */\n\n\n    function incrementActiveDirectiveId() {\n      activeDirectiveId += 1 + activeDirectiveSuperClassHeight; // because we are dealing with a new directive this\n      // means we have exited out of the inheritance chain\n\n      activeDirectiveSuperClassDepthPosition = 0;\n      activeDirectiveSuperClassHeight = 0;\n    }\n    /**\n     * Set the current super class (reverse inheritance) position depth for a directive.\n     *\n     * For example we have two directives: Child and Other (but Child is a sub-class of Parent)\n     * <div child-dir other-dir></div>\n     *\n     * // increment\n     * parentInstance->hostBindings() (depth = 1)\n     * // decrement\n     * childInstance->hostBindings() (depth = 0)\n     * otherInstance->hostBindings() (depth = 0 b/c it's a different directive)\n     *\n     * Note that this is only active when `hostBinding` functions are being processed.\n     * @param {?} delta\n     * @return {?}\n     */\n\n\n    function adjustActiveDirectiveSuperClassDepthPosition(delta) {\n      activeDirectiveSuperClassDepthPosition += delta; // we keep track of the height value so that when the next directive is visited\n      // then Angular knows to generate a new directive id value which has taken into\n      // account how many sub-class directives were a part of the previous directive.\n\n      activeDirectiveSuperClassHeight = Math.max(activeDirectiveSuperClassHeight, activeDirectiveSuperClassDepthPosition);\n    }\n    /**\n     * Returns he current depth of the super/sub class inheritance chain.\n     *\n     * This will return how many inherited directive/component classes\n     * exist in the current chain.\n     *\n     * ```typescript\n     * \\@Directive({ selector: '[super-dir]' })\n     * class SuperDir {}\n     *  / selector: '[sub-dir]' })\n     * class SubDir extends SuperDir {}\n     *\n     * // if `<div sub-dir>` is used then the super class height is `1`\n     * // if `<div super-dir>` is used then the super class height is `0`\n     * ```\n     * @return {?}\n     */\n\n\n    function getActiveDirectiveSuperClassHeight() {\n      return activeDirectiveSuperClassHeight;\n    }\n    /**\n     * Returns the current super class (reverse inheritance) depth for a directive.\n     *\n     * This is designed to help instruction code distinguish different hostBindings\n     * calls from each other when a directive has extended from another directive.\n     * Normally using the directive id value is enough, but with the case\n     * of parent/sub-class directive inheritance more information is required.\n     *\n     * Note that this is only active when `hostBinding` functions are being processed.\n     * @return {?}\n     */\n\n\n    function getActiveDirectiveSuperClassDepth() {\n      return activeDirectiveSuperClassDepthPosition;\n    }\n    /**\n     * Restores `contextViewData` to the given OpaqueViewState instance.\n     *\n     * Used in conjunction with the getCurrentView() instruction to save a snapshot\n     * of the current view and restore it when listeners are invoked. This allows\n     * walking the declaration view tree in listeners to get vars from parent views.\n     *\n     * \\@codeGenApi\n     * @param {?} viewToRestore The OpaqueViewState instance to restore.\n     *\n     * @return {?}\n     */\n\n\n    function ɵɵrestoreView(viewToRestore) {\n      contextLView =\n      /** @type {?} */\n\n      /** @type {?} */\n      viewToRestore;\n    }\n    /**\n     * Used to set the parent property when nodes are created and track query results.\n     * @type {?}\n     */\n\n\n    var previousOrParentTNode;\n    /**\n     * @return {?}\n     */\n\n    function getPreviousOrParentTNode() {\n      // top level variables should not be exported for performance reasons (PERF_NOTES.md)\n      return previousOrParentTNode;\n    }\n    /**\n     * @param {?} tNode\n     * @param {?} _isParent\n     * @return {?}\n     */\n\n\n    function setPreviousOrParentTNode(tNode, _isParent) {\n      previousOrParentTNode = tNode;\n      isParent = _isParent;\n    }\n    /**\n     * @param {?} tNode\n     * @param {?} view\n     * @return {?}\n     */\n\n\n    function setTNodeAndViewData(tNode, view) {\n      ngDevMode && assertLViewOrUndefined(view);\n      previousOrParentTNode = tNode;\n      lView = view;\n    }\n    /**\n     * If `isParent` is:\n     *  - `true`: then `previousOrParentTNode` points to a parent node.\n     *  - `false`: then `previousOrParentTNode` points to previous node (sibling).\n     * @type {?}\n     */\n\n\n    var isParent;\n    /**\n     * @return {?}\n     */\n\n    function getIsParent() {\n      // top level variables should not be exported for performance reasons (PERF_NOTES.md)\n      return isParent;\n    }\n    /**\n     * @return {?}\n     */\n\n\n    function setIsNotParent() {\n      isParent = false;\n    }\n    /**\n     * @return {?}\n     */\n\n\n    function setIsParent() {\n      isParent = true;\n    }\n    /**\n     * Checks whether a given view is in creation mode\n     * @param {?=} view\n     * @return {?}\n     */\n\n\n    function isCreationMode() {\n      var view = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : lView;\n      return (view[FLAGS] & 4\n      /* CreationMode */\n      ) === 4\n      /* CreationMode */\n      ;\n    }\n    /**\n     * State of the current view being processed.\n     *\n     * An array of nodes (text, element, container, etc), pipes, their bindings, and\n     * any local variables that need to be stored between invocations.\n     * @type {?}\n     */\n\n\n    var lView;\n    /**\n     * The last viewData retrieved by nextContext().\n     * Allows building nextContext() and reference() calls.\n     *\n     * e.g. const inner = x().$implicit; const outer = x().$implicit;\n     * @type {?}\n     */\n\n    var contextLView =\n    /** @type {?} */\n    null;\n    /**\n     * @return {?}\n     */\n\n    function getContextLView() {\n      // top level variables should not be exported for performance reasons (PERF_NOTES.md)\n      return contextLView;\n    }\n    /**\n     * In this mode, any changes in bindings will throw an ExpressionChangedAfterChecked error.\n     *\n     * Necessary to support ChangeDetectorRef.checkNoChanges().\n     * @type {?}\n     */\n\n\n    var checkNoChangesMode = false;\n    /**\n     * @return {?}\n     */\n\n    function getCheckNoChangesMode() {\n      // top level variables should not be exported for performance reasons (PERF_NOTES.md)\n      return checkNoChangesMode;\n    }\n    /**\n     * @param {?} mode\n     * @return {?}\n     */\n\n\n    function setCheckNoChangesMode(mode) {\n      checkNoChangesMode = mode;\n    }\n    /**\n     * The root index from which pure function instructions should calculate their binding\n     * indices. In component views, this is TView.bindingStartIndex. In a host binding\n     * context, this is the TView.expandoStartIndex + any dirs/hostVars before the given dir.\n     * @type {?}\n     */\n\n\n    var bindingRootIndex = -1; // top level variables should not be exported for performance reasons (PERF_NOTES.md)\n\n    /**\n     * @return {?}\n     */\n\n    function getBindingRoot() {\n      return bindingRootIndex;\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function setBindingRoot(value) {\n      bindingRootIndex = value;\n    }\n    /**\n     * Current index of a View or Content Query which needs to be processed next.\n     * We iterate over the list of Queries and increment current query index at every step.\n     * @type {?}\n     */\n\n\n    var currentQueryIndex = 0;\n    /**\n     * @return {?}\n     */\n\n    function getCurrentQueryIndex() {\n      // top level variables should not be exported for performance reasons (PERF_NOTES.md)\n      return currentQueryIndex;\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function setCurrentQueryIndex(value) {\n      currentQueryIndex = value;\n    }\n    /**\n     * Swap the current state with a new state.\n     *\n     * For performance reasons we store the state in the top level of the module.\n     * This way we minimize the number of properties to read. Whenever a new view\n     * is entered we have to store the state for later, and when the view is\n     * exited the state has to be restored\n     *\n     * @param {?} newView New state to become active\n     * @param {?} hostTNode\n     * @return {?} the previous state;\n     */\n\n\n    function enterView(newView, hostTNode) {\n      ngDevMode && assertLViewOrUndefined(newView);\n      /** @type {?} */\n\n      var oldView = lView;\n\n      if (newView) {\n        /** @type {?} */\n        var tView = newView[TVIEW];\n        bindingRootIndex = tView.bindingStartIndex;\n      }\n\n      previousOrParentTNode =\n      /** @type {?} */\n      hostTNode;\n      isParent = true;\n      lView = contextLView = newView;\n      return oldView;\n    }\n    /**\n     * @template T\n     * @param {?=} level\n     * @return {?}\n     */\n\n\n    function nextContextImpl() {\n      var level = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;\n      contextLView = walkUpViews(level,\n      /** @type {?} */\n      contextLView);\n      return (\n        /** @type {?} */\n        contextLView[CONTEXT]\n      );\n    }\n    /**\n     * @param {?} nestingLevel\n     * @param {?} currentView\n     * @return {?}\n     */\n\n\n    function walkUpViews(nestingLevel, currentView) {\n      while (nestingLevel > 0) {\n        ngDevMode && assertDefined(currentView[DECLARATION_VIEW], 'Declaration view should be defined if nesting level is greater than 0.');\n        currentView =\n        /** @type {?} */\n        currentView[DECLARATION_VIEW];\n        nestingLevel--;\n      }\n\n      return currentView;\n    }\n    /**\n     * Resets the application state.\n     * @return {?}\n     */\n\n\n    function resetComponentState() {\n      isParent = false;\n      previousOrParentTNode =\n      /** @type {?} */\n      null;\n      elementDepthCount = 0;\n      bindingsEnabled = true;\n      setCurrentStyleSanitizer(null);\n      resetAllStylingState();\n    }\n    /**\n     * Used in lieu of enterView to make it clear when we are exiting a child view. This makes\n     * the direction of traversal (up or down the view tree) a bit clearer.\n     *\n     * @param {?} newView New state to become active\n     * @param {?} safeToRunHooks Whether the runtime is in a state where running lifecycle hooks is valid.\n     * This is not always the case (for example, the application may have crashed and `leaveView` is\n     * being executed while unwinding the call stack).\n     * @return {?}\n     */\n\n\n    function leaveView(newView, safeToRunHooks) {\n      /** @type {?} */\n      var tView = lView[TVIEW];\n\n      if (isCreationMode(lView)) {\n        lView[FLAGS] &= ~4\n        /* CreationMode */\n        ;\n      } else {\n        try {\n          resetPreOrderHookFlags(lView);\n          safeToRunHooks && executeHooks(lView, tView.viewHooks, tView.viewCheckHooks, checkNoChangesMode, 2\n          /* AfterViewInitHooksToBeRun */\n          , undefined);\n        } finally {\n          // Views are clean and in update mode after being checked, so these bits are cleared\n          lView[FLAGS] &= ~(64\n          /* Dirty */\n          | 8\n          /* FirstLViewPass */\n          );\n          lView[BINDING_INDEX] = tView.bindingStartIndex;\n        }\n      }\n\n      enterView(newView, null);\n    }\n    /** @type {?} */\n\n\n    var _selectedIndex = -1;\n    /**\n     * Gets the most recent index passed to {\\@link select}\n     *\n     * Used with {\\@link property} instruction (and more in the future) to identify the index in the\n     * current `LView` to act on.\n     * @return {?}\n     */\n\n\n    function getSelectedIndex() {\n      return _selectedIndex;\n    }\n    /**\n     * Sets the most recent index passed to {\\@link select}\n     *\n     * Used with {\\@link property} instruction (and more in the future) to identify the index in the\n     * current `LView` to act on.\n     * @param {?} index\n     * @return {?}\n     */\n\n\n    function setSelectedIndex(index) {\n      _selectedIndex = index; // we have now jumped to another element\n      // therefore the state is stale\n\n      resetStylingState();\n    }\n    /** @type {?} */\n\n\n    var _currentNamespace = null;\n    /**\n     * Sets the namespace used to create elements to `'http://www.w3.org/2000/svg'` in global state.\n     *\n     * \\@codeGenApi\n     * @return {?}\n     */\n\n    function ɵɵnamespaceSVG() {\n      _currentNamespace = 'http://www.w3.org/2000/svg';\n    }\n    /**\n     * Sets the namespace used to create elements to `'http://www.w3.org/1998/MathML/'` in global state.\n     *\n     * \\@codeGenApi\n     * @return {?}\n     */\n\n\n    function ɵɵnamespaceMathML() {\n      _currentNamespace = 'http://www.w3.org/1998/MathML/';\n    }\n    /**\n     * Sets the namespace used to create elements to `null`, which forces element creation to use\n     * `createElement` rather than `createElementNS`.\n     *\n     * \\@codeGenApi\n     * @return {?}\n     */\n\n\n    function ɵɵnamespaceHTML() {\n      namespaceHTMLInternal();\n    }\n    /**\n     * Sets the namespace used to create elements to `null`, which forces element creation to use\n     * `createElement` rather than `createElementNS`.\n     * @return {?}\n     */\n\n\n    function namespaceHTMLInternal() {\n      _currentNamespace = null;\n    }\n    /**\n     * @return {?}\n     */\n\n\n    function getNamespace() {\n      return _currentNamespace;\n    }\n    /** @type {?} */\n\n\n    var _currentSanitizer;\n    /**\n     * @param {?} sanitizer\n     * @return {?}\n     */\n\n\n    function setCurrentStyleSanitizer(sanitizer) {\n      _currentSanitizer = sanitizer;\n    }\n    /**\n     * @return {?}\n     */\n\n\n    function getCurrentStyleSanitizer() {\n      return _currentSanitizer;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Returns whether the values are different from a change detection stand point.\n     *\n     * Constraints are relaxed in checkNoChanges mode. See `devModeEqual` for details.\n     * @param {?} a\n     * @param {?} b\n     * @return {?}\n     */\n\n\n    function isDifferent(a, b) {\n      // NaN is the only value that is not equal to itself so the first\n      // test checks if both a and b are not NaN\n      return !(a !== a && b !== b) && a !== b;\n    }\n    /**\n     * Used for stringify render output in Ivy.\n     * Important! This function is very performance-sensitive and we should\n     * be extra careful not to introduce megamorphic reads in it.\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function renderStringify(value) {\n      if (typeof value === 'string') return value;\n      if (value == null) return '';\n      return '' + value;\n    }\n    /**\n     * Used to stringify a value so that it can be displayed in an error message.\n     * Important! This function contains a megamorphic read and should only be\n     * used for error messages.\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function stringifyForError(value) {\n      if (typeof value === 'function') return value.name || value.toString();\n\n      if (typeof value === 'object' && value != null && typeof value.type === 'function') {\n        return value.type.name || value.type.toString();\n      }\n\n      return renderStringify(value);\n    }\n\n    var ɵ0$2 =\n    /**\n    * @return {?}\n    */\n    function ɵ0$2() {\n      return (typeof requestAnimationFrame !== 'undefined' && requestAnimationFrame || // browser only\n      setTimeout // everything else\n      ).bind(_global);\n    };\n    /** @type {?} */\n\n\n    var defaultScheduler = ɵ0$2();\n    /**\n     *\n     * \\@codeGenApi\n     * @param {?} element\n     * @return {?}\n     */\n\n    function ɵɵresolveWindow(element) {\n      return {\n        name: 'window',\n        target: element.ownerDocument.defaultView\n      };\n    }\n    /**\n     *\n     * \\@codeGenApi\n     * @param {?} element\n     * @return {?}\n     */\n\n\n    function ɵɵresolveDocument(element) {\n      return {\n        name: 'document',\n        target: element.ownerDocument\n      };\n    }\n    /**\n     *\n     * \\@codeGenApi\n     * @param {?} element\n     * @return {?}\n     */\n\n\n    function ɵɵresolveBody(element) {\n      return {\n        name: 'body',\n        target: element.ownerDocument.body\n      };\n    }\n    /**\n     * The special delimiter we use to separate property names, prefixes, and suffixes\n     * in property binding metadata. See storeBindingMetadata().\n     *\n     * We intentionally use the Unicode \"REPLACEMENT CHARACTER\" (U+FFFD) as a delimiter\n     * because it is a very uncommon character that is unlikely to be part of a user's\n     * property names or interpolation strings. If it is in fact used in a property\n     * binding, DebugElement.properties will not return the correct value for that\n     * binding. However, there should be no runtime effect for real applications.\n     *\n     * This character is typically rendered as a question mark inside of a diamond.\n     * See https://en.wikipedia.org/wiki/Specials_(Unicode_block)\n     *\n     * @type {?}\n     */\n\n\n    var INTERPOLATION_DELIMITER = \"\\uFFFD\";\n    /**\n     * Determines whether or not the given string is a property metadata string.\n     * See storeBindingMetadata().\n     * @param {?} str\n     * @return {?}\n     */\n\n    function isPropMetadataString(str) {\n      return str.indexOf(INTERPOLATION_DELIMITER) >= 0;\n    }\n    /**\n     * Unwrap a value which might be behind a closure (for forward declaration reasons).\n     * @template T\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function maybeUnwrapFn(value) {\n      if (value instanceof Function) {\n        return value();\n      } else {\n        return value;\n      }\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var MAP_BASED_ENTRY_PROP_NAME = '--MAP--';\n    /** @type {?} */\n\n    var TEMPLATE_DIRECTIVE_INDEX = 0;\n    /**\n     * Creates a new instance of the `TStylingContext`.\n     *\n     * The `TStylingContext` is used as a manifest of all style or all class bindings on\n     * an element. Because it is a T-level data-structure, it is only created once per\n     * tNode for styles and for classes. This function allocates a new instance of a\n     * `TStylingContext` with the initial values (see `interfaces.ts` for more info).\n     * @param {?=} initialStyling\n     * @return {?}\n     */\n\n    function allocTStylingContext(initialStyling) {\n      // because map-based bindings deal with a dynamic set of values, there\n      // is no way to know ahead of time whether or not sanitization is required.\n      // For this reason the configuration will always mark sanitization as active\n      // (this means that when map-based values are applied then sanitization will\n      // be checked against each property).\n\n      /** @type {?} */\n      var mapBasedConfig = 1\n      /* SanitizationRequired */\n      ;\n      return [initialStyling || [''], 0\n      /* Initial */\n      , TEMPLATE_DIRECTIVE_INDEX, mapBasedConfig, 0, MAP_BASED_ENTRY_PROP_NAME];\n    }\n    /**\n     * Sets the provided directive as the last directive index in the provided `TStylingContext`.\n     *\n     * Styling in Angular can be applied from the template as well as multiple sources of\n     * host bindings. This means that each binding function (the template function or the\n     * hostBindings functions) will generate styling instructions as well as a styling\n     * apply function (i.e. `stylingApply()`). Because host bindings functions and the\n     * template function are independent from one another this means that the styling apply\n     * function will be called multiple times. By tracking the last directive index (which\n     * is what happens in this function) the styling algorithm knows exactly when to flush\n     * styling (which is when the last styling apply function is executed).\n     * @param {?} context\n     * @param {?} lastDirectiveIndex\n     * @return {?}\n     */\n\n\n    function updateLastDirectiveIndex(context, lastDirectiveIndex) {\n      if (lastDirectiveIndex === TEMPLATE_DIRECTIVE_INDEX) {\n        /** @type {?} */\n        var currentValue = context[2\n        /* LastDirectiveIndexPosition */\n        ];\n\n        if (currentValue > TEMPLATE_DIRECTIVE_INDEX) {\n          // This means that a directive or two contained a host bindings function, but\n          // now the template function also contains styling. When this combination of sources\n          // comes up then we need to tell the context to store the state between updates\n          // (because host bindings evaluation happens after template binding evaluation).\n          markContextToPersistState(context);\n        }\n      } else {\n        context[2\n        /* LastDirectiveIndexPosition */\n        ] = lastDirectiveIndex;\n      }\n    }\n    /**\n     * @param {?} context\n     * @return {?}\n     */\n\n\n    function getConfig(context) {\n      return context[1\n      /* ConfigPosition */\n      ];\n    }\n    /**\n     * @param {?} context\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function setConfig(context, value) {\n      context[1\n      /* ConfigPosition */\n      ] = value;\n    }\n    /**\n     * @param {?} context\n     * @param {?} index\n     * @return {?}\n     */\n\n\n    function getProp(context, index) {\n      return (\n        /** @type {?} */\n        context[index + 2\n        /* PropOffset */\n        ]\n      );\n    }\n    /**\n     * @param {?} context\n     * @param {?} index\n     * @return {?}\n     */\n\n\n    function getPropConfig(context, index) {\n      return (\n        /** @type {?} */\n        context[index + 0\n        /* ConfigAndGuardOffset */\n        ] & 1\n        /* Mask */\n\n      );\n    }\n    /**\n     * @param {?} context\n     * @param {?} index\n     * @return {?}\n     */\n\n\n    function isSanitizationRequired(context, index) {\n      return (getPropConfig(context, index) & 1\n      /* SanitizationRequired */\n      ) > 0;\n    }\n    /**\n     * @param {?} context\n     * @param {?} index\n     * @return {?}\n     */\n\n\n    function getGuardMask(context, index) {\n      /** @type {?} */\n      var configGuardValue =\n      /** @type {?} */\n      context[index + 0\n      /* ConfigAndGuardOffset */\n      ];\n      return configGuardValue >> 1\n      /* TotalBits */\n      ;\n    }\n    /**\n     * @param {?} context\n     * @param {?} index\n     * @param {?} maskValue\n     * @return {?}\n     */\n\n\n    function setGuardMask(context, index, maskValue) {\n      /** @type {?} */\n      var config = getPropConfig(context, index);\n      /** @type {?} */\n\n      var guardMask = maskValue << 1\n      /* TotalBits */\n      ;\n      context[index + 0\n      /* ConfigAndGuardOffset */\n      ] = config | guardMask;\n    }\n    /**\n     * @param {?} context\n     * @param {?} index\n     * @return {?}\n     */\n\n\n    function getValuesCount(context, index) {\n      return (\n        /** @type {?} */\n        context[index + 1\n        /* ValuesCountOffset */\n        ]\n      );\n    }\n    /**\n     * @param {?} context\n     * @param {?} index\n     * @param {?} offset\n     * @return {?}\n     */\n\n\n    function getBindingValue(context, index, offset) {\n      return (\n        /** @type {?} */\n        context[index + 3\n        /* BindingsStartOffset */\n        + offset]\n      );\n    }\n    /**\n     * @param {?} context\n     * @param {?} index\n     * @return {?}\n     */\n\n\n    function getDefaultValue(context, index) {\n      /** @type {?} */\n      var valuesCount = getValuesCount(context, index);\n      return (\n        /** @type {?} */\n        context[index + 3\n        /* BindingsStartOffset */\n        + valuesCount - 1]\n      );\n    }\n    /**\n     * Temporary function which determines whether or not a context is\n     * allowed to be flushed based on the provided directive index.\n     * @param {?} context\n     * @param {?} index\n     * @return {?}\n     */\n\n\n    function allowStylingFlush(context, index) {\n      return context && index === context[2\n      /* LastDirectiveIndexPosition */\n      ] ? true : false;\n    }\n    /**\n     * @param {?} context\n     * @return {?}\n     */\n\n\n    function lockContext(context) {\n      setConfig(context, getConfig(context) | 1\n      /* Locked */\n      );\n    }\n    /**\n     * @param {?} context\n     * @return {?}\n     */\n\n\n    function isContextLocked(context) {\n      return (getConfig(context) & 1\n      /* Locked */\n      ) > 0;\n    }\n    /**\n     * @param {?} context\n     * @return {?}\n     */\n\n\n    function stateIsPersisted(context) {\n      return (getConfig(context) & 2\n      /* PersistStateValues */\n      ) > 0;\n    }\n    /**\n     * @param {?} context\n     * @return {?}\n     */\n\n\n    function markContextToPersistState(context) {\n      setConfig(context, getConfig(context) | 2\n      /* PersistStateValues */\n      );\n    }\n    /**\n     * @param {?} context\n     * @return {?}\n     */\n\n\n    function getPropValuesStartPosition(context) {\n      return 6\n      /* MapBindingsBindingsStartPosition */\n      + context[4\n      /* MapBindingsValuesCountPosition */\n      ];\n    }\n    /**\n     * @param {?} prop\n     * @return {?}\n     */\n\n\n    function isMapBased(prop) {\n      return prop === MAP_BASED_ENTRY_PROP_NAME;\n    }\n    /**\n     * @param {?} a\n     * @param {?} b\n     * @return {?}\n     */\n\n\n    function hasValueChanged(a, b) {\n      /** @type {?} */\n      var compareValueA = Array.isArray(a) ? a[0\n      /* RawValuePosition */\n      ] : a;\n      /** @type {?} */\n\n      var compareValueB = Array.isArray(b) ? b[0\n      /* RawValuePosition */\n      ] : b; // these are special cases for String based values (which are created as artifacts\n      // when sanitization is bypassed on a particular value)\n\n      if (compareValueA instanceof String) {\n        compareValueA = compareValueA.toString();\n      }\n\n      if (compareValueB instanceof String) {\n        compareValueB = compareValueB.toString();\n      }\n\n      return isDifferent(compareValueA, compareValueB);\n    }\n    /**\n     * Determines whether the provided styling value is truthy or falsy.\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function isStylingValueDefined(value) {\n      // the reason why null is compared against is because\n      // a CSS class value that is set to `false` must be\n      // respected (otherwise it would be treated as falsy).\n      // Empty string values are because developers usually\n      // set a value to an empty string to remove it.\n      return value != null && value !== '';\n    }\n    /**\n     * @param {?} a\n     * @param {?} b\n     * @param {?=} separator\n     * @return {?}\n     */\n\n\n    function concatString(a, b) {\n      var separator = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : ' ';\n      return a + (b.length && a.length ? separator : '') + b;\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function hyphenate(value) {\n      return value.replace(/[a-z][A-Z]/g,\n      /**\n      * @param {?} v\n      * @return {?}\n      */\n      function (v) {\n        return v.charAt(0) + '-' + v.charAt(1);\n      }).toLowerCase();\n    }\n    /**\n     * Returns an instance of `StylingMapArray`.\n     *\n     * This function is designed to find an instance of `StylingMapArray` in case it is stored\n     * inside of an instance of `TStylingContext`. When a styling context is created it\n     * will copy over an initial styling values from the tNode (which are stored as a\n     * `StylingMapArray` on the `tNode.classes` or `tNode.styles` values).\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function getStylingMapArray(value) {\n      return isStylingContext(value) ?\n      /** @type {?} */\n      value[0\n      /* InitialStylingValuePosition */\n      ] : value;\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function isStylingContext(value) {\n      // the StylingMapArray is in the format of [initial, prop, string, prop, string]\n      // and this is the defining value to distinguish between arrays\n      return Array.isArray(value) && value.length >= 6\n      /* MapBindingsBindingsStartPosition */\n      && typeof value[1] !== 'string';\n    }\n    /**\n     * @param {?} context\n     * @return {?}\n     */\n\n\n    function getInitialStylingValue(context) {\n      /** @type {?} */\n      var map = getStylingMapArray(context);\n      return map &&\n      /** @type {?} */\n      map[0\n      /* RawValuePosition */\n      ] || '';\n    }\n    /**\n     * @param {?} tNode\n     * @return {?}\n     */\n\n\n    function hasClassInput(tNode) {\n      return (tNode.flags & 8\n      /* hasClassInput */\n      ) !== 0;\n    }\n    /**\n     * @param {?} tNode\n     * @return {?}\n     */\n\n\n    function hasStyleInput(tNode) {\n      return (tNode.flags & 16\n      /* hasStyleInput */\n      ) !== 0;\n    }\n    /**\n     * @param {?} map\n     * @param {?} index\n     * @return {?}\n     */\n\n\n    function getMapProp(map, index) {\n      return (\n        /** @type {?} */\n        map[index + 0\n        /* PropOffset */\n        ]\n      );\n    }\n    /**\n     * @param {?} map\n     * @param {?} index\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function setMapValue(map, index, value) {\n      map[index + 1\n      /* ValueOffset */\n      ] = value;\n    }\n    /**\n     * @param {?} map\n     * @param {?} index\n     * @return {?}\n     */\n\n\n    function getMapValue(map, index) {\n      return (\n        /** @type {?} */\n        map[index + 1\n        /* ValueOffset */\n        ]\n      );\n    }\n    /**\n     * @param {?} classes\n     * @return {?}\n     */\n\n\n    function forceClassesAsString(classes) {\n      if (classes && typeof classes !== 'string') {\n        classes = Object.keys(classes).join(' ');\n      }\n\n      return (\n        /** @type {?} */\n        classes || ''\n      );\n    }\n    /**\n     * @param {?} styles\n     * @return {?}\n     */\n\n\n    function forceStylesAsString(styles) {\n      /** @type {?} */\n      var str = '';\n\n      if (styles) {\n        /** @type {?} */\n        var props = Object.keys(styles);\n\n        for (var i = 0; i < props.length; i++) {\n          /** @type {?} */\n          var prop = props[i];\n          str = concatString(str, \"\".concat(prop, \":\").concat(styles[prop]), ';');\n        }\n      }\n\n      return str;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * The goal here is to make sure that the browser DOM API is the Renderer.\n     * We do this by defining a subset of DOM API to be the renderer and than\n     * use that time for rendering.\n     *\n     * At runtime we can then use the DOM api directly, in server or web-worker\n     * it will be easy to implement such API.\n     */\n\n    /** @enum {number} */\n\n\n    var RendererStyleFlags3 = {\n      Important: 1,\n      DashCase: 2\n    };\n    RendererStyleFlags3[RendererStyleFlags3.Important] = 'Important';\n    RendererStyleFlags3[RendererStyleFlags3.DashCase] = 'DashCase';\n    /**\n     * Object Oriented style of API needed to create elements and text nodes.\n     *\n     * This is the native browser API style, e.g. operations are methods on individual objects\n     * like HTMLElement. With this style, no additional code is needed as a facade\n     * (reducing payload size).\n     *\n     * @record\n     */\n\n    function ObjectOrientedRenderer3() {}\n\n    if (false) {}\n    /**\n     * Returns whether the `renderer` is a `ProceduralRenderer3`\n     * @param {?} renderer\n     * @return {?}\n     */\n\n\n    function isProceduralRenderer(renderer) {\n      return !!\n      /** @type {?} */\n      renderer.listen;\n    }\n    /**\n     * Procedural style of API needed to create elements and text nodes.\n     *\n     * In non-native browser environments (e.g. platforms such as web-workers), this is the\n     * facade that enables element manipulation. This also facilitates backwards compatibility\n     * with Renderer2.\n     * @record\n     */\n\n\n    function ProceduralRenderer3() {}\n\n    if (false) {}\n    /**\n     * @record\n     */\n\n\n    function RendererFactory3() {}\n\n    if (false) {}\n\n    var ɵ0$3 =\n    /**\n    * @param {?} hostElement\n    * @param {?} rendererType\n    * @return {?}\n    */\n    function ɵ0$3(hostElement, rendererType) {\n      return document;\n    };\n    /** @type {?} */\n\n\n    var domRendererFactory3 = {\n      createRenderer: ɵ0$3\n    };\n    /**\n     * Subset of API needed for appending elements and text nodes.\n     * @record\n     */\n\n    function RNode() {}\n\n    if (false) {}\n    /**\n     * Subset of API needed for writing attributes, properties, and setting up\n     * listeners on Element.\n     * @record\n     */\n\n\n    function RElement() {}\n\n    if (false) {}\n    /**\n     * @record\n     */\n\n\n    function RCssStyleDeclaration() {}\n\n    if (false) {}\n    /**\n     * @record\n     */\n\n\n    function RDomTokenList() {}\n\n    if (false) {}\n    /**\n     * @record\n     */\n\n\n    function RText() {}\n\n    if (false) {}\n    /**\n     * @record\n     */\n\n\n    function RComment() {}\n\n    if (false) {} // Note: This hack is necessary so we don't erroneously get a circular dependency\n    // failure based on types.\n\n    /** @type {?} */\n\n\n    var unusedValueExportToPlacateAjd$3 = 1;\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Assigns all attribute values to the provided element via the inferred renderer.\n     *\n     * This function accepts two forms of attribute entries:\n     *\n     * default: (key, value):\n     *  attrs = [key1, value1, key2, value2]\n     *\n     * namespaced: (NAMESPACE_MARKER, uri, name, value)\n     *  attrs = [NAMESPACE_MARKER, uri, name, value, NAMESPACE_MARKER, uri, name, value]\n     *\n     * The `attrs` array can contain a mix of both the default and namespaced entries.\n     * The \"default\" values are set without a marker, but if the function comes across\n     * a marker value then it will attempt to set a namespaced value. If the marker is\n     * not of a namespaced value then the function will quit and return the index value\n     * where it stopped during the iteration of the attrs array.\n     *\n     * See [AttributeMarker] to understand what the namespace marker value is.\n     *\n     * Note that this instruction does not support assigning style and class values to\n     * an element. See `elementStart` and `elementHostAttrs` to learn how styling values\n     * are applied to an element.\n     *\n     * @param {?} native The element that the attributes will be assigned to\n     * @param {?} attrs The attribute array of values that will be assigned to the element\n     * @return {?} the index value that was last accessed in the attributes array\n     */\n\n    function setUpAttributes(native, attrs) {\n      /** @type {?} */\n      var renderer = getLView()[RENDERER];\n      /** @type {?} */\n\n      var isProc = isProceduralRenderer(renderer);\n      /** @type {?} */\n\n      var i = 0;\n\n      while (i < attrs.length) {\n        /** @type {?} */\n        var value = attrs[i];\n\n        if (typeof value === 'number') {\n          // only namespaces are supported. Other value types (such as style/class\n          // entries) are not supported in this function.\n          if (value !== 0\n          /* NamespaceURI */\n          ) {\n              break;\n            } // we just landed on the marker value ... therefore\n          // we should skip to the next entry\n\n\n          i++;\n          /** @type {?} */\n\n          var namespaceURI =\n          /** @type {?} */\n          attrs[i++];\n          /** @type {?} */\n\n          var attrName =\n          /** @type {?} */\n          attrs[i++];\n          /** @type {?} */\n\n          var attrVal =\n          /** @type {?} */\n          attrs[i++];\n          ngDevMode && ngDevMode.rendererSetAttribute++;\n          isProc ?\n          /** @type {?} */\n          renderer.setAttribute(native, attrName, attrVal, namespaceURI) : native.setAttributeNS(namespaceURI, attrName, attrVal);\n        } else {\n          // attrName is string;\n\n          /** @type {?} */\n          var _attrName =\n          /** @type {?} */\n          value;\n          /** @type {?} */\n\n          var _attrVal = attrs[++i]; // Standard attributes\n\n          ngDevMode && ngDevMode.rendererSetAttribute++;\n\n          if (isAnimationProp(_attrName)) {\n            if (isProc) {\n              /** @type {?} */\n              renderer.setProperty(native, _attrName, _attrVal);\n            }\n          } else {\n            isProc ?\n            /** @type {?} */\n            renderer.setAttribute(native,\n            /** @type {?} */\n            _attrName,\n            /** @type {?} */\n            _attrVal) : native.setAttribute(\n            /** @type {?} */\n            _attrName,\n            /** @type {?} */\n            _attrVal);\n          }\n\n          i++;\n        }\n      } // another piece of code may iterate over the same attributes array. Therefore\n      // it may be helpful to return the exact spot where the attributes array exited\n      // whether by running into an unsupported marker or if all the static values were\n      // iterated over.\n\n\n      return i;\n    }\n    /**\n     * @param {?} attrs\n     * @param {?} startIndex\n     * @return {?}\n     */\n\n\n    function attrsStylingIndexOf(attrs, startIndex) {\n      for (var i = startIndex; i < attrs.length; i++) {\n        /** @type {?} */\n        var val = attrs[i];\n\n        if (val === 1\n        /* Classes */\n        || val === 2\n        /* Styles */\n        ) {\n            return i;\n          }\n      }\n\n      return -1;\n    }\n    /**\n     * Test whether the given value is a marker that indicates that the following\n     * attribute values in a `TAttributes` array are only the names of attributes,\n     * and not name-value pairs.\n     * @param {?} marker The attribute marker to test.\n     * @return {?} true if the marker is a \"name-only\" marker (e.g. `Bindings`, `Template` or `I18n`).\n     */\n\n\n    function isNameOnlyAttributeMarker(marker) {\n      return marker === 3\n      /* Bindings */\n      || marker === 4\n      /* Template */\n      || marker === 6\n      /* I18n */\n      ;\n    }\n    /** @type {?} */\n\n\n    var ANIMATION_PROP_PREFIX = '@';\n    /**\n     * @param {?} name\n     * @return {?}\n     */\n\n    function isAnimationProp(name) {\n      return name[0] === ANIMATION_PROP_PREFIX;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n    /// Parent Injector Utils ///////////////////////////////////////////////////////////////\n\n    /**\n     * @param {?} parentLocation\n     * @return {?}\n     */\n\n\n    function hasParentInjector(parentLocation) {\n      return parentLocation !== NO_PARENT_INJECTOR;\n    }\n    /**\n     * @param {?} parentLocation\n     * @return {?}\n     */\n\n\n    function getParentInjectorIndex(parentLocation) {\n      return (\n        /** @type {?} */\n\n        /** @type {?} */\n        parentLocation & 32767\n        /* InjectorIndexMask */\n\n      );\n    }\n    /**\n     * @param {?} parentLocation\n     * @return {?}\n     */\n\n\n    function getParentInjectorViewOffset(parentLocation) {\n      return (\n        /** @type {?} */\n\n        /** @type {?} */\n        parentLocation >> 16\n        /* ViewOffsetShift */\n\n      );\n    }\n    /**\n     * Unwraps a parent injector location number to find the view offset from the current injector,\n     * then walks up the declaration view tree until the view is found that contains the parent\n     * injector.\n     *\n     * @param {?} location The location of the parent injector, which contains the view offset\n     * @param {?} startView The LView instance from which to start walking up the view tree\n     * @return {?} The LView instance that contains the parent injector\n     */\n\n\n    function getParentInjectorView(location, startView) {\n      /** @type {?} */\n      var viewOffset = getParentInjectorViewOffset(location);\n      /** @type {?} */\n\n      var parentView = startView; // For most cases, the parent injector can be found on the host node (e.g. for component\n      // or container), but we must keep the loop here to support the rarer case of deeply nested\n      // <ng-template> tags or inline views, where the parent injector might live many views\n      // above the child injector.\n\n      while (viewOffset > 0) {\n        parentView =\n        /** @type {?} */\n        parentView[DECLARATION_VIEW];\n        viewOffset--;\n      }\n\n      return parentView;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Gets the parent LView of the passed LView, if the PARENT is an LContainer, will get the parent of\n     * that LContainer, which is an LView\n     * @param {?} lView the lView whose parent to get\n     * @return {?}\n     */\n\n\n    function getLViewParent(lView) {\n      ngDevMode && assertLView(lView);\n      /** @type {?} */\n\n      var parent = lView[PARENT];\n      return isLContainer(parent) ?\n      /** @type {?} */\n      parent[PARENT] : parent;\n    }\n    /**\n     * Retrieve the root view from any component or `LView` by walking the parent `LView` until\n     * reaching the root `LView`.\n     *\n     * @param {?} componentOrLView any component or `LView`\n     * @return {?}\n     */\n\n\n    function getRootView(componentOrLView) {\n      ngDevMode && assertDefined(componentOrLView, 'component');\n      /** @type {?} */\n\n      var lView = isLView(componentOrLView) ? componentOrLView :\n      /** @type {?} */\n      readPatchedLView(componentOrLView);\n\n      while (lView && !(lView[FLAGS] & 512\n      /* IsRoot */\n      )) {\n        lView =\n        /** @type {?} */\n        getLViewParent(lView);\n      }\n\n      ngDevMode && assertLView(lView);\n      return lView;\n    }\n    /**\n     * Given an `LView`, find the closest declaration view which is not an embedded view.\n     *\n     * This method searches for the `LView` associated with the component which declared the `LView`.\n     *\n     * This function may return itself if the `LView` passed in is not an embedded `LView`. Otherwise\n     * it walks the declaration parents until it finds a component view (non-embedded-view.)\n     *\n     * @param {?} lView LView for which we want a host element node\n     * @return {?} The host node\n     */\n\n\n    function findComponentView(lView) {\n      /** @type {?} */\n      var rootTNode = lView[T_HOST];\n\n      while (rootTNode !== null && rootTNode.type === 2\n      /* View */\n      ) {\n        ngDevMode && assertDefined(lView[DECLARATION_VIEW], 'lView[DECLARATION_VIEW]');\n        lView =\n        /** @type {?} */\n        lView[DECLARATION_VIEW];\n        rootTNode = lView[T_HOST];\n      }\n\n      ngDevMode && assertLView(lView);\n      return lView;\n    }\n    /**\n     * Returns the `RootContext` instance that is associated with\n     * the application where the target is situated. It does this by walking the parent views until it\n     * gets to the root view, then getting the context off of that.\n     *\n     * @param {?} viewOrComponent the `LView` or component to get the root context for.\n     * @return {?}\n     */\n\n\n    function getRootContext(viewOrComponent) {\n      /** @type {?} */\n      var rootView = getRootView(viewOrComponent);\n      ngDevMode && assertDefined(rootView[CONTEXT], 'RootView has no context. Perhaps it is disconnected?');\n      return (\n        /** @type {?} */\n        rootView[CONTEXT]\n      );\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Defines if the call to `inject` should include `viewProviders` in its resolution.\n     *\n     * This is set to true when we try to instantiate a component. This value is reset in\n     * `getNodeInjectable` to a value which matches the declaration location of the token about to be\n     * instantiated. This is done so that if we are injecting a token which was declared outside of\n     * `viewProviders` we don't accidentally pull `viewProviders` in.\n     *\n     * Example:\n     *\n     * ```\n     * \\@Injectable()\n     * class MyService {\n     *   constructor(public value: String) {}\n     * }\n     *\n     * \\@Component({\n     *   providers: [\n     *     MyService,\n     *     {provide: String, value: 'providers' }\n     *   ]\n     *   viewProviders: [\n     *     {provide: String, value: 'viewProviders'}\n     *   ]\n     * })\n     * class MyComponent {\n     *   constructor(myService: MyService, value: String) {\n     *     // We expect that Component can see into `viewProviders`.\n     *     expect(value).toEqual('viewProviders');\n     *     // `MyService` was not declared in `viewProviders` hence it can't see it.\n     *     expect(myService.value).toEqual('providers');\n     *   }\n     * }\n     *\n     * ```\n     * @type {?}\n     */\n\n\n    var includeViewProviders = true;\n    /**\n     * @param {?} v\n     * @return {?}\n     */\n\n    function setIncludeViewProviders(v) {\n      /** @type {?} */\n      var oldValue = includeViewProviders;\n      includeViewProviders = v;\n      return oldValue;\n    }\n    /**\n     * The number of slots in each bloom filter (used by DI). The larger this number, the fewer\n     * directives that will share slots, and thus, the fewer false positives when checking for\n     * the existence of a directive.\n     * @type {?}\n     */\n\n\n    var BLOOM_SIZE = 256;\n    /** @type {?} */\n\n    var BLOOM_MASK = BLOOM_SIZE - 1;\n    /**\n     * Counter used to generate unique IDs for directives.\n     * @type {?}\n     */\n\n    var nextNgElementId = 0;\n    /**\n     * Registers this directive as present in its node's injector by flipping the directive's\n     * corresponding bit in the injector's bloom filter.\n     *\n     * @param {?} injectorIndex The index of the node injector where this token should be registered\n     * @param {?} tView The TView for the injector's bloom filters\n     * @param {?} type The directive token to register\n     * @return {?}\n     */\n\n    function bloomAdd(injectorIndex, tView, type) {\n      ngDevMode && assertEqual(tView.firstTemplatePass, true, 'expected firstTemplatePass to be true');\n      /** @type {?} */\n\n      var id = typeof type !== 'string' ?\n      /** @type {?} */\n      type[NG_ELEMENT_ID] : type.charCodeAt(0) || 0; // Set a unique ID on the directive type, so if something tries to inject the directive,\n      // we can easily retrieve the ID and hash it into the bloom bit that should be checked.\n\n      if (id == null) {\n        id =\n        /** @type {?} */\n        type[NG_ELEMENT_ID] = nextNgElementId++;\n      } // We only have BLOOM_SIZE (256) slots in our bloom filter (8 buckets * 32 bits each),\n      // so all unique IDs must be modulo-ed into a number from 0 - 255 to fit into the filter.\n\n      /** @type {?} */\n\n\n      var bloomBit = id & BLOOM_MASK; // Create a mask that targets the specific bit associated with the directive.\n      // JS bit operations are 32 bits, so this will be a number between 2^0 and 2^31, corresponding\n      // to bit positions 0 - 31 in a 32 bit integer.\n\n      /** @type {?} */\n\n      var mask = 1 << bloomBit; // Use the raw bloomBit number to determine which bloom filter bucket we should check\n      // e.g: bf0 = [0 - 31], bf1 = [32 - 63], bf2 = [64 - 95], bf3 = [96 - 127], etc\n\n      /** @type {?} */\n\n      var b7 = bloomBit & 0x80;\n      /** @type {?} */\n\n      var b6 = bloomBit & 0x40;\n      /** @type {?} */\n\n      var b5 = bloomBit & 0x20;\n      /** @type {?} */\n\n      var tData =\n      /** @type {?} */\n      tView.data;\n\n      if (b7) {\n        b6 ? b5 ? tData[injectorIndex + 7] |= mask : tData[injectorIndex + 6] |= mask : b5 ? tData[injectorIndex + 5] |= mask : tData[injectorIndex + 4] |= mask;\n      } else {\n        b6 ? b5 ? tData[injectorIndex + 3] |= mask : tData[injectorIndex + 2] |= mask : b5 ? tData[injectorIndex + 1] |= mask : tData[injectorIndex] |= mask;\n      }\n    }\n    /**\n     * Creates (or gets an existing) injector for a given element or container.\n     *\n     * @param {?} tNode for which an injector should be retrieved / created.\n     * @param {?} hostView View where the node is stored\n     * @return {?} Node injector\n     */\n\n\n    function getOrCreateNodeInjectorForNode(tNode, hostView) {\n      /** @type {?} */\n      var existingInjectorIndex = getInjectorIndex(tNode, hostView);\n\n      if (existingInjectorIndex !== -1) {\n        return existingInjectorIndex;\n      }\n      /** @type {?} */\n\n\n      var tView = hostView[TVIEW];\n\n      if (tView.firstTemplatePass) {\n        tNode.injectorIndex = hostView.length;\n        insertBloom(tView.data, tNode); // foundation for node bloom\n\n        insertBloom(hostView, null); // foundation for cumulative bloom\n\n        insertBloom(tView.blueprint, null);\n        ngDevMode && assertEqual(tNode.flags === 0 || tNode.flags === 1\n        /* isComponent */\n        , true, 'expected tNode.flags to not be initialized');\n      }\n      /** @type {?} */\n\n\n      var parentLoc = getParentInjectorLocation(tNode, hostView);\n      /** @type {?} */\n\n      var parentIndex = getParentInjectorIndex(parentLoc);\n      /** @type {?} */\n\n      var parentLView = getParentInjectorView(parentLoc, hostView);\n      /** @type {?} */\n\n      var injectorIndex = tNode.injectorIndex; // If a parent injector can't be found, its location is set to -1.\n      // In that case, we don't need to set up a cumulative bloom\n\n      if (hasParentInjector(parentLoc)) {\n        /** @type {?} */\n        var parentData =\n        /** @type {?} */\n        parentLView[TVIEW].data; // Creates a cumulative bloom filter that merges the parent's bloom filter\n        // and its own cumulative bloom (which contains tokens for all ancestors)\n\n        for (var i = 0; i < 8; i++) {\n          hostView[injectorIndex + i] = parentLView[parentIndex + i] | parentData[parentIndex + i];\n        }\n      }\n\n      hostView[injectorIndex + PARENT_INJECTOR] = parentLoc;\n      return injectorIndex;\n    }\n    /**\n     * @param {?} arr\n     * @param {?} footer\n     * @return {?}\n     */\n\n\n    function insertBloom(arr, footer) {\n      arr.push(0, 0, 0, 0, 0, 0, 0, 0, footer);\n    }\n    /**\n     * @param {?} tNode\n     * @param {?} hostView\n     * @return {?}\n     */\n\n\n    function getInjectorIndex(tNode, hostView) {\n      if (tNode.injectorIndex === -1 || // If the injector index is the same as its parent's injector index, then the index has been\n      // copied down from the parent node. No injector has been created yet on this node.\n      tNode.parent && tNode.parent.injectorIndex === tNode.injectorIndex || // After the first template pass, the injector index might exist but the parent values\n      // might not have been calculated yet for this instance\n      hostView[tNode.injectorIndex + PARENT_INJECTOR] == null) {\n        return -1;\n      } else {\n        return tNode.injectorIndex;\n      }\n    }\n    /**\n     * Finds the index of the parent injector, with a view offset if applicable. Used to set the\n     * parent injector initially.\n     *\n     * Returns a combination of number of `ViewData` we have to go up and index in that `Viewdata`\n     * @param {?} tNode\n     * @param {?} view\n     * @return {?}\n     */\n\n\n    function getParentInjectorLocation(tNode, view) {\n      if (tNode.parent && tNode.parent.injectorIndex !== -1) {\n        return (\n          /** @type {?} */\n          tNode.parent.injectorIndex\n        ); // ViewOffset is 0\n      } // For most cases, the parent injector index can be found on the host node (e.g. for component\n      // or container), so this loop will be skipped, but we must keep the loop here to support\n      // the rarer case of deeply nested <ng-template> tags or inline views.\n\n      /** @type {?} */\n\n\n      var hostTNode = view[T_HOST];\n      /** @type {?} */\n\n      var viewOffset = 1;\n\n      while (hostTNode && hostTNode.injectorIndex === -1) {\n        view =\n        /** @type {?} */\n        view[DECLARATION_VIEW];\n        hostTNode = view ? view[T_HOST] : null;\n        viewOffset++;\n      }\n\n      return hostTNode ? hostTNode.injectorIndex | viewOffset << 16\n      /* ViewOffsetShift */\n      :\n      /** @type {?} */\n      -1;\n    }\n    /**\n     * Makes a type or an injection token public to the DI system by adding it to an\n     * injector's bloom filter.\n     *\n     * @param {?} injectorIndex\n     * @param {?} tView\n     * @param {?} token The type or the injection token to be made public\n     * @return {?}\n     */\n\n\n    function diPublicInInjector(injectorIndex, tView, token) {\n      bloomAdd(injectorIndex, tView, token);\n    }\n    /**\n     * Inject static attribute value into directive constructor.\n     *\n     * This method is used with `factory` functions which are generated as part of\n     * `defineDirective` or `defineComponent`. The method retrieves the static value\n     * of an attribute. (Dynamic attributes are not supported since they are not resolved\n     *  at the time of injection and can change over time.)\n     *\n     * # Example\n     * Given:\n     * ```\n     * \\@Component(...)\n     * class MyComponent {\n     *   constructor(\\@Attribute('title') title: string) { ... }\n     * }\n     * ```\n     * When instantiated with\n     * ```\n     * <my-component title=\"Hello\"></my-component>\n     * ```\n     *\n     * Then factory method generated is:\n     * ```\n     * MyComponent.ngComponentDef = defineComponent({\n     *   factory: () => new MyComponent(injectAttribute('title'))\n     *   ...\n     * })\n     * ```\n     *\n     * \\@publicApi\n     * @param {?} tNode\n     * @param {?} attrNameToInject\n     * @return {?}\n     */\n\n\n    function injectAttributeImpl(tNode, attrNameToInject) {\n      ngDevMode && assertNodeOfPossibleTypes(tNode, 0\n      /* Container */\n      , 3\n      /* Element */\n      , 4\n      /* ElementContainer */\n      );\n      ngDevMode && assertDefined(tNode, 'expecting tNode');\n\n      if (attrNameToInject === 'class') {\n        return getInitialStylingValue(tNode.classes);\n      }\n\n      if (attrNameToInject === 'style') {\n        return getInitialStylingValue(tNode.styles);\n      }\n      /** @type {?} */\n\n\n      var attrs = tNode.attrs;\n\n      if (attrs) {\n        /** @type {?} */\n        var attrsLength = attrs.length;\n        /** @type {?} */\n\n        var i = 0;\n\n        while (i < attrsLength) {\n          /** @type {?} */\n          var value = attrs[i]; // If we hit a `Bindings` or `Template` marker then we are done.\n\n          if (isNameOnlyAttributeMarker(value)) break; // Skip namespaced attributes\n\n          if (value === 0\n          /* NamespaceURI */\n          ) {\n              // we skip the next two values\n              // as namespaced attributes looks like\n              // [..., AttributeMarker.NamespaceURI, 'http://someuri.com/test', 'test:exist',\n              // 'existValue', ...]\n              i = i + 2;\n            } else if (typeof value === 'number') {\n            // Skip to the first value of the marked attribute.\n            i++;\n\n            while (i < attrsLength && typeof attrs[i] === 'string') {\n              i++;\n            }\n          } else if (value === attrNameToInject) {\n            return (\n              /** @type {?} */\n              attrs[i + 1]\n            );\n          } else {\n            i = i + 2;\n          }\n        }\n      }\n\n      return null;\n    }\n    /**\n     * Returns the value associated to the given token from the NodeInjectors => ModuleInjector.\n     *\n     * Look for the injector providing the token by walking up the node injector tree and then\n     * the module injector tree.\n     *\n     * This function patches `token` with `__NG_ELEMENT_ID__` which contains the id for the bloom\n     * filter. Negative values are reserved for special objects.\n     *   - `-1` is reserved for injecting `Injector` (implemented by `NodeInjector`)\n     *\n     * @template T\n     * @param {?} tNode The Node where the search for the injector should start\n     * @param {?} lView The `LView` that contains the `tNode`\n     * @param {?} token The token to look for\n     * @param {?=} flags Injection flags\n     * @param {?=} notFoundValue The value to return when the injection flags is `InjectFlags.Optional`\n     * @return {?} the value from the injector, `null` when not found, or `notFoundValue` if provided\n     */\n\n\n    function getOrCreateInjectable(tNode, lView, token) {\n      var flags = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : InjectFlags.Default;\n      var notFoundValue = arguments.length > 4 ? arguments[4] : undefined;\n\n      if (tNode) {\n        /** @type {?} */\n        var bloomHash = bloomHashBitOrFactory(token); // If the ID stored here is a function, this is a special object like ElementRef or TemplateRef\n        // so just call the factory function to create it.\n\n        if (typeof bloomHash === 'function') {\n          /** @type {?} */\n          var savePreviousOrParentTNode = getPreviousOrParentTNode();\n          /** @type {?} */\n\n          var saveLView = getLView();\n          setTNodeAndViewData(tNode, lView);\n\n          try {\n            /** @type {?} */\n            var value = bloomHash();\n\n            if (value == null && !(flags & InjectFlags.Optional)) {\n              throw new Error(\"No provider for \".concat(stringifyForError(token), \"!\"));\n            } else {\n              return value;\n            }\n          } finally {\n            setTNodeAndViewData(savePreviousOrParentTNode, saveLView);\n          }\n        } else if (typeof bloomHash == 'number') {\n          if (bloomHash === -1) {\n            // `-1` is a special value used to identify `Injector` types.\n            return (\n              /** @type {?} */\n              new NodeInjector(tNode, lView)\n            );\n          } // If the token has a bloom hash, then it is a token which could be in NodeInjector.\n          // A reference to the previous injector TView that was found while climbing the element\n          // injector tree. This is used to know if viewProviders can be accessed on the current\n          // injector.\n\n          /** @type {?} */\n\n\n          var previousTView = null;\n          /** @type {?} */\n\n          var injectorIndex = getInjectorIndex(tNode, lView);\n          /** @type {?} */\n\n          var parentLocation = NO_PARENT_INJECTOR;\n          /** @type {?} */\n\n          var hostTElementNode = flags & InjectFlags.Host ? findComponentView(lView)[T_HOST] : null; // If we should skip this injector, or if there is no injector on this node, start by\n          // searching\n          // the parent injector.\n\n          if (injectorIndex === -1 || flags & InjectFlags.SkipSelf) {\n            parentLocation = injectorIndex === -1 ? getParentInjectorLocation(tNode, lView) : lView[injectorIndex + PARENT_INJECTOR];\n\n            if (!shouldSearchParent(flags, false)) {\n              injectorIndex = -1;\n            } else {\n              previousTView = lView[TVIEW];\n              injectorIndex = getParentInjectorIndex(parentLocation);\n              lView = getParentInjectorView(parentLocation, lView);\n            }\n          } // Traverse up the injector tree until we find a potential match or until we know there\n          // *isn't* a match.\n\n\n          while (injectorIndex !== -1) {\n            parentLocation = lView[injectorIndex + PARENT_INJECTOR]; // Check the current injector. If it matches, see if it contains token.\n\n            /** @type {?} */\n\n            var tView = lView[TVIEW];\n\n            if (bloomHasToken(bloomHash, injectorIndex, tView.data)) {\n              // At this point, we have an injector which *may* contain the token, so we step through\n              // the providers and directives associated with the injector's corresponding node to get\n              // the instance.\n\n              /** @type {?} */\n              var instance = searchTokensOnInjector(injectorIndex, lView, token, previousTView, flags, hostTElementNode);\n\n              if (instance !== NOT_FOUND) {\n                return instance;\n              }\n            }\n\n            if (shouldSearchParent(flags, lView[TVIEW].data[injectorIndex + TNODE] === hostTElementNode) && bloomHasToken(bloomHash, injectorIndex, lView)) {\n              // The def wasn't found anywhere on this node, so it was a false positive.\n              // Traverse up the tree and continue searching.\n              previousTView = tView;\n              injectorIndex = getParentInjectorIndex(parentLocation);\n              lView = getParentInjectorView(parentLocation, lView);\n            } else {\n              // If we should not search parent OR If the ancestor bloom filter value does not have the\n              // bit corresponding to the directive we can give up on traversing up to find the specific\n              // injector.\n              injectorIndex = -1;\n            }\n          }\n        }\n      }\n\n      if (flags & InjectFlags.Optional && notFoundValue === undefined) {\n        // This must be set or the NullInjector will throw for optional deps\n        notFoundValue = null;\n      }\n\n      if ((flags & (InjectFlags.Self | InjectFlags.Host)) === 0) {\n        /** @type {?} */\n        var moduleInjector = lView[INJECTOR$1]; // switch to `injectInjectorOnly` implementation for module injector, since module injector\n        // should not have access to Component/Directive DI scope (that may happen through\n        // `directiveInject` implementation)\n\n        /** @type {?} */\n\n        var previousInjectImplementation = setInjectImplementation(undefined);\n\n        try {\n          if (moduleInjector) {\n            return moduleInjector.get(token, notFoundValue, flags & InjectFlags.Optional);\n          } else {\n            return injectRootLimpMode(token, notFoundValue, flags & InjectFlags.Optional);\n          }\n        } finally {\n          setInjectImplementation(previousInjectImplementation);\n        }\n      }\n\n      if (flags & InjectFlags.Optional) {\n        return notFoundValue;\n      } else {\n        throw new Error(\"NodeInjector: NOT_FOUND [\".concat(stringifyForError(token), \"]\"));\n      }\n    }\n    /** @type {?} */\n\n\n    var NOT_FOUND = {};\n    /**\n     * @template T\n     * @param {?} injectorIndex\n     * @param {?} lView\n     * @param {?} token\n     * @param {?} previousTView\n     * @param {?} flags\n     * @param {?} hostTElementNode\n     * @return {?}\n     */\n\n    function searchTokensOnInjector(injectorIndex, lView, token, previousTView, flags, hostTElementNode) {\n      /** @type {?} */\n      var currentTView = lView[TVIEW];\n      /** @type {?} */\n\n      var tNode =\n      /** @type {?} */\n      currentTView.data[injectorIndex + TNODE]; // First, we need to determine if view providers can be accessed by the starting element.\n      // There are two possibities\n\n      /** @type {?} */\n\n      var canAccessViewProviders = previousTView == null ? // 1) This is the first invocation `previousTView == null` which means that we are at the\n      // `TNode` of where injector is starting to look. In such a case the only time we are allowed\n      // to look into the ViewProviders is if:\n      // - we are on a component\n      // - AND the injector set `includeViewProviders` to true (implying that the token can see\n      // ViewProviders because it is the Component or a Service which itself was declared in\n      // ViewProviders)\n      isComponent(tNode) && includeViewProviders : // 2) `previousTView != null` which means that we are now walking across the parent nodes.\n      // In such a case we are only allowed to look into the ViewProviders if:\n      // - We just crossed from child View to Parent View `previousTView != currentTView`\n      // - AND the parent TNode is an Element.\n      // This means that we just came from the Component's View and therefore are allowed to see\n      // into the ViewProviders.\n      previousTView != currentTView && tNode.type === 3\n      /* Element */\n      ; // This special case happens when there is a @host on the inject and when we are searching\n      // on the host element node.\n\n      /** @type {?} */\n\n      var isHostSpecialCase = flags & InjectFlags.Host && hostTElementNode === tNode;\n      /** @type {?} */\n\n      var injectableIdx = locateDirectiveOrProvider(tNode, currentTView, token, canAccessViewProviders, isHostSpecialCase);\n\n      if (injectableIdx !== null) {\n        return getNodeInjectable(currentTView.data, lView, injectableIdx,\n        /** @type {?} */\n        tNode);\n      } else {\n        return NOT_FOUND;\n      }\n    }\n    /**\n     * Searches for the given token among the node's directives and providers.\n     *\n     * @template T\n     * @param {?} tNode TNode on which directives are present.\n     * @param {?} tView The tView we are currently processing\n     * @param {?} token Provider token or type of a directive to look for.\n     * @param {?} canAccessViewProviders Whether view providers should be considered.\n     * @param {?} isHostSpecialCase Whether the host special case applies.\n     * @return {?} Index of a found directive or provider, or null when none found.\n     */\n\n\n    function locateDirectiveOrProvider(tNode, tView, token, canAccessViewProviders, isHostSpecialCase) {\n      /** @type {?} */\n      var nodeProviderIndexes = tNode.providerIndexes;\n      /** @type {?} */\n\n      var tInjectables = tView.data;\n      /** @type {?} */\n\n      var injectablesStart = nodeProviderIndexes & 65535\n      /* ProvidersStartIndexMask */\n      ;\n      /** @type {?} */\n\n      var directivesStart = tNode.directiveStart;\n      /** @type {?} */\n\n      var directiveEnd = tNode.directiveEnd;\n      /** @type {?} */\n\n      var cptViewProvidersCount = nodeProviderIndexes >> 16\n      /* CptViewProvidersCountShift */\n      ;\n      /** @type {?} */\n\n      var startingIndex = canAccessViewProviders ? injectablesStart : injectablesStart + cptViewProvidersCount; // When the host special case applies, only the viewProviders and the component are visible\n\n      /** @type {?} */\n\n      var endIndex = isHostSpecialCase ? injectablesStart + cptViewProvidersCount : directiveEnd;\n\n      for (var i = startingIndex; i < endIndex; i++) {\n        /** @type {?} */\n        var providerTokenOrDef =\n        /** @type {?} */\n        tInjectables[i];\n\n        if (i < directivesStart && token === providerTokenOrDef || i >= directivesStart &&\n        /** @type {?} */\n        providerTokenOrDef.type === token) {\n          return i;\n        }\n      }\n\n      if (isHostSpecialCase) {\n        /** @type {?} */\n        var dirDef =\n        /** @type {?} */\n        tInjectables[directivesStart];\n\n        if (dirDef && isComponentDef(dirDef) && dirDef.type === token) {\n          return directivesStart;\n        }\n      }\n\n      return null;\n    }\n    /**\n     * Retrieve or instantiate the injectable from the `lData` at particular `index`.\n     *\n     * This function checks to see if the value has already been instantiated and if so returns the\n     * cached `injectable`. Otherwise if it detects that the value is still a factory it\n     * instantiates the `injectable` and caches the value.\n     * @param {?} tData\n     * @param {?} lData\n     * @param {?} index\n     * @param {?} tNode\n     * @return {?}\n     */\n\n\n    function getNodeInjectable(tData, lData, index, tNode) {\n      /** @type {?} */\n      var value = lData[index];\n\n      if (isFactory(value)) {\n        /** @type {?} */\n        var factory = value;\n\n        if (factory.resolving) {\n          throw new Error(\"Circular dep for \".concat(stringifyForError(tData[index])));\n        }\n        /** @type {?} */\n\n\n        var previousIncludeViewProviders = setIncludeViewProviders(factory.canSeeViewProviders);\n        factory.resolving = true;\n        /** @type {?} */\n\n        var previousInjectImplementation;\n\n        if (factory.injectImpl) {\n          previousInjectImplementation = setInjectImplementation(factory.injectImpl);\n        }\n        /** @type {?} */\n\n\n        var savePreviousOrParentTNode = getPreviousOrParentTNode();\n        /** @type {?} */\n\n        var saveLView = getLView();\n        setTNodeAndViewData(tNode, lData);\n\n        try {\n          value = lData[index] = factory.factory(undefined, tData, lData, tNode);\n        } finally {\n          if (factory.injectImpl) setInjectImplementation(previousInjectImplementation);\n          setIncludeViewProviders(previousIncludeViewProviders);\n          factory.resolving = false;\n          setTNodeAndViewData(savePreviousOrParentTNode, saveLView);\n        }\n      }\n\n      return value;\n    }\n    /**\n     * Returns the bit in an injector's bloom filter that should be used to determine whether or not\n     * the directive might be provided by the injector.\n     *\n     * When a directive is public, it is added to the bloom filter and given a unique ID that can be\n     * retrieved on the Type. When the directive isn't public or the token is not a directive `null`\n     * is returned as the node injector can not possibly provide that token.\n     *\n     * @param {?} token the injection token\n     * @return {?} the matching bit to check in the bloom filter or `null` if the token is not known.\n     *   When the returned value is negative then it represents special values such as `Injector`.\n     */\n\n\n    function bloomHashBitOrFactory(token) {\n      ngDevMode && assertDefined(token, 'token must be defined');\n\n      if (typeof token === 'string') {\n        return token.charCodeAt(0) || 0;\n      }\n      /** @type {?} */\n\n\n      var tokenId =\n      /** @type {?} */\n      token[NG_ELEMENT_ID]; // Negative token IDs are used for special objects such as `Injector`\n\n      return typeof tokenId === 'number' && tokenId > 0 ? tokenId & BLOOM_MASK : tokenId;\n    }\n    /**\n     * @param {?} bloomHash\n     * @param {?} injectorIndex\n     * @param {?} injectorView\n     * @return {?}\n     */\n\n\n    function bloomHasToken(bloomHash, injectorIndex, injectorView) {\n      // Create a mask that targets the specific bit associated with the directive we're looking for.\n      // JS bit operations are 32 bits, so this will be a number between 2^0 and 2^31, corresponding\n      // to bit positions 0 - 31 in a 32 bit integer.\n\n      /** @type {?} */\n      var mask = 1 << bloomHash;\n      /** @type {?} */\n\n      var b7 = bloomHash & 0x80;\n      /** @type {?} */\n\n      var b6 = bloomHash & 0x40;\n      /** @type {?} */\n\n      var b5 = bloomHash & 0x20; // Our bloom filter size is 256 bits, which is eight 32-bit bloom filter buckets:\n      // bf0 = [0 - 31], bf1 = [32 - 63], bf2 = [64 - 95], bf3 = [96 - 127], etc.\n      // Get the bloom filter value from the appropriate bucket based on the directive's bloomBit.\n\n      /** @type {?} */\n\n      var value;\n\n      if (b7) {\n        value = b6 ? b5 ? injectorView[injectorIndex + 7] : injectorView[injectorIndex + 6] : b5 ? injectorView[injectorIndex + 5] : injectorView[injectorIndex + 4];\n      } else {\n        value = b6 ? b5 ? injectorView[injectorIndex + 3] : injectorView[injectorIndex + 2] : b5 ? injectorView[injectorIndex + 1] : injectorView[injectorIndex];\n      } // If the bloom filter value has the bit corresponding to the directive's bloomBit flipped on,\n      // this injector is a potential match.\n\n\n      return !!(value & mask);\n    }\n    /**\n     * Returns true if flags prevent parent injector from being searched for tokens\n     * @param {?} flags\n     * @param {?} isFirstHostTNode\n     * @return {?}\n     */\n\n\n    function shouldSearchParent(flags, isFirstHostTNode) {\n      return !(flags & InjectFlags.Self) && !(flags & InjectFlags.Host && isFirstHostTNode);\n    }\n\n    var NodeInjector =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _tNode\n       * @param {?} _lView\n       */\n      function NodeInjector(_tNode, _lView) {\n        _classCallCheck(this, NodeInjector);\n\n        this._tNode = _tNode;\n        this._lView = _lView;\n      }\n      /**\n       * @param {?} token\n       * @param {?=} notFoundValue\n       * @return {?}\n       */\n\n\n      _createClass2(NodeInjector, [{\n        key: \"get\",\n        value: function get(token, notFoundValue) {\n          return getOrCreateInjectable(this._tNode, this._lView, token, undefined, notFoundValue);\n        }\n      }]);\n\n      return NodeInjector;\n    }();\n\n    if (false) {}\n    /**\n     * \\@codeGenApi\n     * @template T\n     * @param {?} type\n     * @return {?}\n     */\n\n\n    function ɵɵgetFactoryOf(type) {\n      /** @type {?} */\n      var typeAny =\n      /** @type {?} */\n      type;\n      /** @type {?} */\n\n      var def = getComponentDef(typeAny) || getDirectiveDef(typeAny) || getPipeDef(typeAny) || getInjectableDef(typeAny) || getInjectorDef(typeAny);\n\n      if (!def || def.factory === undefined) {\n        return null;\n      }\n\n      return def.factory;\n    }\n    /**\n     * \\@codeGenApi\n     * @template T\n     * @param {?} type\n     * @return {?}\n     */\n\n\n    function ɵɵgetInheritedFactory(type) {\n      /** @type {?} */\n      var proto =\n      /** @type {?} */\n      Object.getPrototypeOf(type.prototype).constructor;\n      /** @type {?} */\n\n      var factory = ɵɵgetFactoryOf(proto);\n\n      if (factory !== null) {\n        return factory;\n      } else {\n        // There is no factory defined. Either this was improper usage of inheritance\n        // (no Angular decorator on the superclass) or there is no constructor at all\n        // in the inheritance chain. Since the two cases cannot be distinguished, the\n        // latter has to be assumed.\n        return (\n          /**\n          * @param {?} t\n          * @return {?}\n          */\n          function (t) {\n            return new t();\n          }\n        );\n      }\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var ERROR_TYPE = 'ngType';\n    var ERROR_DEBUG_CONTEXT = 'ngDebugContext';\n    var ERROR_ORIGINAL_ERROR = 'ngOriginalError';\n    var ERROR_LOGGER = 'ngErrorLogger';\n\n    function wrappedError(message, originalError) {\n      var msg = \"\".concat(message, \" caused by: \").concat(originalError instanceof Error ? originalError.message : originalError);\n      var error = Error(msg);\n      error[ERROR_ORIGINAL_ERROR] = originalError;\n      return error;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @param {?} error\n     * @return {?}\n     */\n\n\n    function getType(error) {\n      return (\n        /** @type {?} */\n        error[ERROR_TYPE]\n      );\n    }\n    /**\n     * @param {?} error\n     * @return {?}\n     */\n\n\n    function getDebugContext(error) {\n      return (\n        /** @type {?} */\n        error[ERROR_DEBUG_CONTEXT]\n      );\n    }\n    /**\n     * @param {?} error\n     * @return {?}\n     */\n\n\n    function getOriginalError(error) {\n      return (\n        /** @type {?} */\n        error[ERROR_ORIGINAL_ERROR]\n      );\n    }\n    /**\n     * @param {?} error\n     * @return {?}\n     */\n\n\n    function getErrorLogger(error) {\n      return (\n        /** @type {?} */\n        error[ERROR_LOGGER] || defaultErrorLogger\n      );\n    }\n    /**\n     * @param {?} console\n     * @param {...?} values\n     * @return {?}\n     */\n\n\n    function defaultErrorLogger(console) {\n      for (var _len18 = arguments.length, values = new Array(_len18 > 1 ? _len18 - 1 : 0), _key20 = 1; _key20 < _len18; _key20++) {\n        values[_key20 - 1] = arguments[_key20];\n      }\n\n      /** @type {?} */\n      console.error.apply(console, values);\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Provides a hook for centralized exception handling.\n     *\n     * The default implementation of `ErrorHandler` prints error messages to the `console`. To\n     * intercept error handling, write a custom exception handler that replaces this default as\n     * appropriate for your app.\n     *\n     * \\@usageNotes\n     * ### Example\n     *\n     * ```\n     * class MyErrorHandler implements ErrorHandler {\n     *   handleError(error) {\n     *     // do something with the exception\n     *   }\n     * }\n     *\n     * \\@NgModule({\n     *   providers: [{provide: ErrorHandler, useClass: MyErrorHandler}]\n     * })\n     * class MyModule {}\n     * ```\n     *\n     * \\@publicApi\n     */\n\n\n    var ErrorHandler =\n    /*#__PURE__*/\n    function () {\n      function ErrorHandler() {\n        _classCallCheck(this, ErrorHandler);\n\n        /**\n         * \\@internal\n         */\n        this._console = console;\n      }\n      /**\n       * @param {?} error\n       * @return {?}\n       */\n\n\n      _createClass2(ErrorHandler, [{\n        key: \"handleError\",\n        value: function handleError(error) {\n          /** @type {?} */\n          var originalError = this._findOriginalError(error);\n          /** @type {?} */\n\n\n          var context = this._findContext(error); // Note: Browser consoles show the place from where console.error was called.\n          // We can use this to give users additional information about the error.\n\n          /** @type {?} */\n\n\n          var errorLogger = getErrorLogger(error);\n          errorLogger(this._console, \"ERROR\", error);\n\n          if (originalError) {\n            errorLogger(this._console, \"ORIGINAL ERROR\", originalError);\n          }\n\n          if (context) {\n            errorLogger(this._console, 'ERROR CONTEXT', context);\n          }\n        }\n        /**\n         * \\@internal\n         * @param {?} error\n         * @return {?}\n         */\n\n      }, {\n        key: \"_findContext\",\n        value: function _findContext(error) {\n          if (error) {\n            return getDebugContext(error) ? getDebugContext(error) : this._findContext(getOriginalError(error));\n          }\n\n          return null;\n        }\n        /**\n         * \\@internal\n         * @param {?} error\n         * @return {?}\n         */\n\n      }, {\n        key: \"_findOriginalError\",\n        value: function _findOriginalError(error) {\n          /** @type {?} */\n          var e = getOriginalError(error);\n\n          while (e && getOriginalError(e)) {\n            e = getOriginalError(e);\n          }\n\n          return e;\n        }\n      }]);\n\n      return ErrorHandler;\n    }();\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * A schema definition associated with an NgModule.\n     *\n     * @see `\\@NgModule`, `CUSTOM_ELEMENTS_SCHEMA`, `NO_ERRORS_SCHEMA`\n     *\n     * @param name The name of a defined schema.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n\n    function SchemaMetadata() {}\n\n    if (false) {}\n    /**\n     * Defines a schema that allows an NgModule to contain the following:\n     * - Non-Angular elements named with dash case (`-`).\n     * - Element properties named with dash case (`-`).\n     * Dash case is the naming convention for custom elements.\n     *\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var CUSTOM_ELEMENTS_SCHEMA = {\n      name: 'custom-elements'\n    };\n    /**\n     * Defines a schema that allows any property on any element.\n     *\n     * \\@publicApi\n     * @type {?}\n     */\n\n    var NO_ERRORS_SCHEMA = {\n      name: 'no-errors-schema'\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /** @type {?} */\n\n    var BRAND = '__SANITIZER_TRUSTED_BRAND__';\n    /** @enum {string} */\n\n    var BypassType = {\n      Url: 'Url',\n      Html: 'Html',\n      ResourceUrl: 'ResourceUrl',\n      Script: 'Script',\n      Style: 'Style'\n    };\n    /**\n     * A branded trusted string used with sanitization.\n     *\n     * See: {\\@link TrustedHtmlString}, {\\@link TrustedResourceUrlString}, {\\@link TrustedScriptString},\n     * {\\@link TrustedStyleString}, {\\@link TrustedUrlString}\n     * @record\n     */\n\n    function TrustedString() {}\n\n    if (false) {}\n    /**\n     * A branded trusted string used with sanitization of `html` strings.\n     *\n     * See: {\\@link bypassSanitizationTrustHtml} and {\\@link htmlSanitizer}.\n     * @record\n     */\n\n\n    function TrustedHtmlString() {}\n\n    if (false) {}\n    /**\n     * A branded trusted string used with sanitization of `style` strings.\n     *\n     * See: {\\@link bypassSanitizationTrustStyle} and {\\@link styleSanitizer}.\n     * @record\n     */\n\n\n    function TrustedStyleString() {}\n\n    if (false) {}\n    /**\n     * A branded trusted string used with sanitization of `url` strings.\n     *\n     * See: {\\@link bypassSanitizationTrustScript} and {\\@link scriptSanitizer}.\n     * @record\n     */\n\n\n    function TrustedScriptString() {}\n\n    if (false) {}\n    /**\n     * A branded trusted string used with sanitization of `url` strings.\n     *\n     * See: {\\@link bypassSanitizationTrustUrl} and {\\@link urlSanitizer}.\n     * @record\n     */\n\n\n    function TrustedUrlString() {}\n\n    if (false) {}\n    /**\n     * A branded trusted string used with sanitization of `resourceUrl` strings.\n     *\n     * See: {\\@link bypassSanitizationTrustResourceUrl} and {\\@link resourceUrlSanitizer}.\n     * @record\n     */\n\n\n    function TrustedResourceUrlString() {}\n\n    if (false) {}\n    /**\n     * @param {?} value\n     * @param {?} type\n     * @return {?}\n     */\n\n\n    function allowSanitizationBypass(value, type) {\n      return value instanceof String &&\n      /** @type {?} */\n      value[BRAND] === type;\n    }\n    /**\n     * Mark `html` string as trusted.\n     *\n     * This function wraps the trusted string in `String` and brands it in a way which makes it\n     * recognizable to {\\@link htmlSanitizer} to be trusted implicitly.\n     *\n     * @param {?} trustedHtml `html` string which needs to be implicitly trusted.\n     * @return {?} a `html` `String` which has been branded to be implicitly trusted.\n     */\n\n\n    function bypassSanitizationTrustHtml(trustedHtml) {\n      return bypassSanitizationTrustString(trustedHtml, \"Html\"\n      /* Html */\n      );\n    }\n    /**\n     * Mark `style` string as trusted.\n     *\n     * This function wraps the trusted string in `String` and brands it in a way which makes it\n     * recognizable to {\\@link styleSanitizer} to be trusted implicitly.\n     *\n     * @param {?} trustedStyle `style` string which needs to be implicitly trusted.\n     * @return {?} a `style` `String` which has been branded to be implicitly trusted.\n     */\n\n\n    function bypassSanitizationTrustStyle(trustedStyle) {\n      return bypassSanitizationTrustString(trustedStyle, \"Style\"\n      /* Style */\n      );\n    }\n    /**\n     * Mark `script` string as trusted.\n     *\n     * This function wraps the trusted string in `String` and brands it in a way which makes it\n     * recognizable to {\\@link scriptSanitizer} to be trusted implicitly.\n     *\n     * @param {?} trustedScript `script` string which needs to be implicitly trusted.\n     * @return {?} a `script` `String` which has been branded to be implicitly trusted.\n     */\n\n\n    function bypassSanitizationTrustScript(trustedScript) {\n      return bypassSanitizationTrustString(trustedScript, \"Script\"\n      /* Script */\n      );\n    }\n    /**\n     * Mark `url` string as trusted.\n     *\n     * This function wraps the trusted string in `String` and brands it in a way which makes it\n     * recognizable to {\\@link urlSanitizer} to be trusted implicitly.\n     *\n     * @param {?} trustedUrl `url` string which needs to be implicitly trusted.\n     * @return {?} a `url` `String` which has been branded to be implicitly trusted.\n     */\n\n\n    function bypassSanitizationTrustUrl(trustedUrl) {\n      return bypassSanitizationTrustString(trustedUrl, \"Url\"\n      /* Url */\n      );\n    }\n    /**\n     * Mark `url` string as trusted.\n     *\n     * This function wraps the trusted string in `String` and brands it in a way which makes it\n     * recognizable to {\\@link resourceUrlSanitizer} to be trusted implicitly.\n     *\n     * @param {?} trustedResourceUrl `url` string which needs to be implicitly trusted.\n     * @return {?} a `url` `String` which has been branded to be implicitly trusted.\n     */\n\n\n    function bypassSanitizationTrustResourceUrl(trustedResourceUrl) {\n      return bypassSanitizationTrustString(trustedResourceUrl, \"ResourceUrl\"\n      /* ResourceUrl */\n      );\n    }\n    /**\n     * @param {?} trustedString\n     * @param {?} mode\n     * @return {?}\n     */\n\n\n    function bypassSanitizationTrustString(trustedString, mode) {\n      // tslint:disable-next-line\n\n      /** @type {?} */\n      var trusted =\n      /** @type {?} */\n      new String(trustedString);\n      trusted[BRAND] = mode;\n      return trusted;\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * This file is used to control if the default rendering pipeline should be `ViewEngine` or `Ivy`.\n     *\n     * For more information on how to run and debug tests with either Ivy or View Engine (legacy),\n     * please see [BAZEL.md](./docs/BAZEL.md).\n     */\n\n\n    var _devMode = true;\n    var _runModeLocked = false;\n    /**\n     * Returns whether Angular is in development mode. After called once,\n     * the value is locked and won't change any more.\n     *\n     * By default, this is true, unless a user calls `enableProdMode` before calling this.\n     *\n     * @publicApi\n     */\n\n    function isDevMode() {\n      _runModeLocked = true;\n      return _devMode;\n    }\n    /**\n     * Disable Angular's development mode, which turns off assertions and other\n     * checks within the framework.\n     *\n     * One important assertion this disables verifies that a change detection pass\n     * does not result in additional changes to any bindings (also known as\n     * unidirectional data flow).\n     *\n     * @publicApi\n     */\n\n\n    function enableProdMode() {\n      if (_runModeLocked) {\n        throw new Error('Cannot enable prod mode after platform setup.');\n      }\n\n      _devMode = false;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * This helper class is used to get hold of an inert tree of DOM elements containing dirty HTML\n     * that needs sanitizing.\n     * Depending upon browser support we must use one of three strategies for doing this.\n     * Support: Safari 10.x -> XHR strategy\n     * Support: Firefox -> DomParser strategy\n     * Default: InertDocument strategy\n     */\n\n\n    var InertBodyHelper =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} defaultDoc\n       */\n      function InertBodyHelper(defaultDoc) {\n        _classCallCheck(this, InertBodyHelper);\n\n        this.defaultDoc = defaultDoc;\n        this.inertDocument = this.defaultDoc.implementation.createHTMLDocument('sanitization-inert');\n        this.inertBodyElement = this.inertDocument.body;\n\n        if (this.inertBodyElement == null) {\n          // usually there should be only one body element in the document, but IE doesn't have any, so\n          // we need to create one.\n\n          /** @type {?} */\n          var inertHtml = this.inertDocument.createElement('html');\n          this.inertDocument.appendChild(inertHtml);\n          this.inertBodyElement = this.inertDocument.createElement('body');\n          inertHtml.appendChild(this.inertBodyElement);\n        }\n\n        this.inertBodyElement.innerHTML = '<svg><g onload=\"this.parentNode.remove()\"></g></svg>';\n\n        if (this.inertBodyElement.querySelector && !this.inertBodyElement.querySelector('svg')) {\n          // We just hit the Safari 10.1 bug - which allows JS to run inside the SVG G element\n          // so use the XHR strategy.\n          this.getInertBodyElement = this.getInertBodyElement_XHR;\n          return;\n        }\n\n        this.inertBodyElement.innerHTML = '<svg><p><style><img src=\"</style><img src=x onerror=alert(1)//\">';\n\n        if (this.inertBodyElement.querySelector && this.inertBodyElement.querySelector('svg img')) {\n          // We just hit the Firefox bug - which prevents the inner img JS from being sanitized\n          // so use the DOMParser strategy, if it is available.\n          // If the DOMParser is not available then we are not in Firefox (Server/WebWorker?) so we\n          // fall through to the default strategy below.\n          if (isDOMParserAvailable()) {\n            this.getInertBodyElement = this.getInertBodyElement_DOMParser;\n            return;\n          }\n        } // None of the bugs were hit so it is safe for us to use the default InertDocument strategy\n\n\n        this.getInertBodyElement = this.getInertBodyElement_InertDocument;\n      }\n      /**\n       * Use XHR to create and fill an inert body element (on Safari 10.1)\n       * See\n       * https://github.com/cure53/DOMPurify/blob/a992d3a75031cb8bb032e5ea8399ba972bdf9a65/src/purify.js#L439-L449\n       * @private\n       * @param {?} html\n       * @return {?}\n       */\n\n\n      _createClass2(InertBodyHelper, [{\n        key: \"getInertBodyElement_XHR\",\n        value: function getInertBodyElement_XHR(html) {\n          // We add these extra elements to ensure that the rest of the content is parsed as expected\n          // e.g. leading whitespace is maintained and tags like `<meta>` do not get hoisted to the\n          // `<head>` tag.\n          html = '<body><remove></remove>' + html + '</body>';\n\n          try {\n            html = encodeURI(html);\n          } catch (_a) {\n            return null;\n          }\n          /** @type {?} */\n\n\n          var xhr = new XMLHttpRequest();\n          xhr.responseType = 'document';\n          xhr.open('GET', 'data:text/html;charset=utf-8,' + html, false);\n          xhr.send(undefined);\n          /** @type {?} */\n\n          var body = xhr.response.body;\n          body.removeChild(\n          /** @type {?} */\n          body.firstChild);\n          return body;\n        }\n        /**\n         * Use DOMParser to create and fill an inert body element (on Firefox)\n         * See https://github.com/cure53/DOMPurify/releases/tag/0.6.7\n         *\n         * @private\n         * @param {?} html\n         * @return {?}\n         */\n\n      }, {\n        key: \"getInertBodyElement_DOMParser\",\n        value: function getInertBodyElement_DOMParser(html) {\n          // We add these extra elements to ensure that the rest of the content is parsed as expected\n          // e.g. leading whitespace is maintained and tags like `<meta>` do not get hoisted to the\n          // `<head>` tag.\n          html = '<body><remove></remove>' + html + '</body>';\n\n          try {\n            /** @type {?} */\n            var body =\n            /** @type {?} */\n            new\n            /** @type {?} */\n            window.DOMParser().parseFromString(html, 'text/html').body;\n            body.removeChild(\n            /** @type {?} */\n            body.firstChild);\n            return body;\n          } catch (_a) {\n            return null;\n          }\n        }\n        /**\n         * Use an HTML5 `template` element, if supported, or an inert body element created via\n         * `createHtmlDocument` to create and fill an inert DOM element.\n         * This is the default sane strategy to use if the browser does not require one of the specialised\n         * strategies above.\n         * @private\n         * @param {?} html\n         * @return {?}\n         */\n\n      }, {\n        key: \"getInertBodyElement_InertDocument\",\n        value: function getInertBodyElement_InertDocument(html) {\n          // Prefer using <template> element if supported.\n\n          /** @type {?} */\n          var templateEl = this.inertDocument.createElement('template');\n\n          if ('content' in templateEl) {\n            templateEl.innerHTML = html;\n            return templateEl;\n          }\n\n          this.inertBodyElement.innerHTML = html; // Support: IE 9-11 only\n          // strip custom-namespaced attributes on IE<=11\n\n          if (\n          /** @type {?} */\n          this.defaultDoc.documentMode) {\n            this.stripCustomNsAttrs(this.inertBodyElement);\n          }\n\n          return this.inertBodyElement;\n        }\n        /**\n         * When IE9-11 comes across an unknown namespaced attribute e.g. 'xlink:foo' it adds 'xmlns:ns1'\n         * attribute to declare ns1 namespace and prefixes the attribute with 'ns1' (e.g.\n         * 'ns1:xlink:foo').\n         *\n         * This is undesirable since we don't want to allow any of these custom attributes. This method\n         * strips them all.\n         * @private\n         * @param {?} el\n         * @return {?}\n         */\n\n      }, {\n        key: \"stripCustomNsAttrs\",\n        value: function stripCustomNsAttrs(el) {\n          /** @type {?} */\n          var elAttrs = el.attributes; // loop backwards so that we can support removals.\n\n          for (var i = elAttrs.length - 1; 0 < i; i--) {\n            /** @type {?} */\n            var attrib = elAttrs.item(i);\n            /** @type {?} */\n\n            var attrName =\n            /** @type {?} */\n            attrib.name;\n\n            if (attrName === 'xmlns:ns1' || attrName.indexOf('ns1:') === 0) {\n              el.removeAttribute(attrName);\n            }\n          }\n          /** @type {?} */\n\n\n          var childNode =\n          /** @type {?} */\n          el.firstChild;\n\n          while (childNode) {\n            if (childNode.nodeType === Node.ELEMENT_NODE) this.stripCustomNsAttrs(\n            /** @type {?} */\n            childNode);\n            childNode = childNode.nextSibling;\n          }\n        }\n      }]);\n\n      return InertBodyHelper;\n    }();\n\n    if (false) {}\n    /**\n     * We need to determine whether the DOMParser exists in the global context.\n     * The try-catch is because, on some browsers, trying to access this property\n     * on window can actually throw an error.\n     *\n     * @suppress {uselessCode}\n     * @return {?}\n     */\n\n\n    function isDOMParserAvailable() {\n      try {\n        return !!\n        /** @type {?} */\n        window.DOMParser;\n      } catch (_a) {\n        return false;\n      }\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * A pattern that recognizes a commonly useful subset of URLs that are safe.\n     *\n     * This regular expression matches a subset of URLs that will not cause script\n     * execution if used in URL context within a HTML document. Specifically, this\n     * regular expression matches if (comment from here on and regex copied from\n     * Soy's EscapingConventions):\n     * (1) Either an allowed protocol (http, https, mailto or ftp).\n     * (2) or no protocol.  A protocol must be followed by a colon. The below\n     *     allows that by allowing colons only after one of the characters [/?#].\n     *     A colon after a hash (#) must be in the fragment.\n     *     Otherwise, a colon after a (?) must be in a query.\n     *     Otherwise, a colon after a single solidus (/) must be in a path.\n     *     Otherwise, a colon after a double solidus (//) must be in the authority\n     *     (before port).\n     *\n     * The pattern disallows &, used in HTML entity declarations before\n     * one of the characters in [/?#]. This disallows HTML entities used in the\n     * protocol name, which should never happen, e.g. \"h&#116;tp\" for \"http\".\n     * It also disallows HTML entities in the first path part of a relative path,\n     * e.g. \"foo&lt;bar/baz\".  Our existing escaping functions should not produce\n     * that. More importantly, it disallows masking of a colon,\n     * e.g. \"javascript&#58;...\".\n     *\n     * This regular expression was taken from the Closure sanitization library.\n     * @type {?}\n     */\n\n\n    var SAFE_URL_PATTERN = /^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi;\n    /* A pattern that matches safe srcset values */\n\n    /** @type {?} */\n\n    var SAFE_SRCSET_PATTERN = /^(?:(?:https?|file):|[^&:/?#]*(?:[/?#]|$))/gi;\n    /**\n     * A pattern that matches safe data URLs. Only matches image, video and audio types.\n     * @type {?}\n     */\n\n    var DATA_URL_PATTERN = /^data:(?:image\\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\\/(?:mpeg|mp4|ogg|webm)|audio\\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\\/]+=*$/i;\n    /**\n     * @param {?} url\n     * @return {?}\n     */\n\n    function _sanitizeUrl(url) {\n      url = String(url);\n      if (url.match(SAFE_URL_PATTERN) || url.match(DATA_URL_PATTERN)) return url;\n\n      if (isDevMode()) {\n        console.warn(\"WARNING: sanitizing unsafe URL value \".concat(url, \" (see http://g.co/ng/security#xss)\"));\n      }\n\n      return 'unsafe:' + url;\n    }\n    /**\n     * @param {?} srcset\n     * @return {?}\n     */\n\n\n    function sanitizeSrcset(srcset) {\n      srcset = String(srcset);\n      return srcset.split(',').map(\n      /**\n      * @param {?} srcset\n      * @return {?}\n      */\n      function (srcset) {\n        return _sanitizeUrl(srcset.trim());\n      }).join(', ');\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @param {?} tags\n     * @return {?}\n     */\n\n\n    function tagSet(tags) {\n      /** @type {?} */\n      var res = {};\n      var _iteratorNormalCompletion41 = true;\n      var _didIteratorError41 = false;\n      var _iteratorError41 = undefined;\n\n      try {\n        for (var _iterator41 = tags.split(',')[Symbol.iterator](), _step41; !(_iteratorNormalCompletion41 = (_step41 = _iterator41.next()).done); _iteratorNormalCompletion41 = true) {\n          var t = _step41.value;\n          res[t] = true;\n        }\n      } catch (err) {\n        _didIteratorError41 = true;\n        _iteratorError41 = err;\n      } finally {\n        try {\n          if (!_iteratorNormalCompletion41 && _iterator41.return != null) {\n            _iterator41.return();\n          }\n        } finally {\n          if (_didIteratorError41) {\n            throw _iteratorError41;\n          }\n        }\n      }\n\n      return res;\n    }\n    /**\n     * @param {...?} sets\n     * @return {?}\n     */\n\n\n    function merge() {\n      /** @type {?} */\n      var res = {};\n\n      for (var _len19 = arguments.length, sets = new Array(_len19), _key21 = 0; _key21 < _len19; _key21++) {\n        sets[_key21] = arguments[_key21];\n      }\n\n      for (var _i20 = 0, _sets = sets; _i20 < _sets.length; _i20++) {\n        var s = _sets[_i20];\n\n        for (var v in s) {\n          if (s.hasOwnProperty(v)) res[v] = true;\n        }\n      }\n\n      return res;\n    } // Good source of info about elements and attributes\n    // http://dev.w3.org/html5/spec/Overview.html#semantics\n    // http://simon.html5.org/html-elements\n    // Safe Void Elements - HTML5\n    // http://dev.w3.org/html5/spec/Overview.html#void-elements\n\n    /** @type {?} */\n\n\n    var VOID_ELEMENTS = tagSet('area,br,col,hr,img,wbr'); // Elements that you can, intentionally, leave open (and which close themselves)\n    // http://dev.w3.org/html5/spec/Overview.html#optional-tags\n\n    /** @type {?} */\n\n    var OPTIONAL_END_TAG_BLOCK_ELEMENTS = tagSet('colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr');\n    /** @type {?} */\n\n    var OPTIONAL_END_TAG_INLINE_ELEMENTS = tagSet('rp,rt');\n    /** @type {?} */\n\n    var OPTIONAL_END_TAG_ELEMENTS = merge(OPTIONAL_END_TAG_INLINE_ELEMENTS, OPTIONAL_END_TAG_BLOCK_ELEMENTS); // Safe Block Elements - HTML5\n\n    /** @type {?} */\n\n    var BLOCK_ELEMENTS = merge(OPTIONAL_END_TAG_BLOCK_ELEMENTS, tagSet('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')); // Inline Elements - HTML5\n\n    /** @type {?} */\n\n    var INLINE_ELEMENTS = merge(OPTIONAL_END_TAG_INLINE_ELEMENTS, tagSet('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'));\n    /** @type {?} */\n\n    var VALID_ELEMENTS = merge(VOID_ELEMENTS, BLOCK_ELEMENTS, INLINE_ELEMENTS, OPTIONAL_END_TAG_ELEMENTS); // Attributes that have href and hence need to be sanitized\n\n    /** @type {?} */\n\n    var URI_ATTRS = tagSet('background,cite,href,itemtype,longdesc,poster,src,xlink:href'); // Attributes that have special href set hence need to be sanitized\n\n    /** @type {?} */\n\n    var SRCSET_ATTRS = tagSet('srcset');\n    /** @type {?} */\n\n    var HTML_ATTRS = tagSet('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'); // Accessibility attributes as per WAI-ARIA 1.1 (W3C Working Draft 14 December 2018)\n\n    /** @type {?} */\n\n    var ARIA_ATTRS = tagSet('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'); // NB: This currently consciously doesn't support SVG. SVG sanitization has had several security\n    // issues in the past, so it seems safer to leave it out if possible. If support for binding SVG via\n    // innerHTML is required, SVG attributes should be added here.\n    // NB: Sanitization does not allow <form> elements or other active elements (<button> etc). Those\n    // can be sanitized, but they increase security surface area without a legitimate use case, so they\n    // are left out here.\n\n    /** @type {?} */\n\n    var VALID_ATTRS = merge(URI_ATTRS, SRCSET_ATTRS, HTML_ATTRS, ARIA_ATTRS); // Elements whose content should not be traversed/preserved, if the elements themselves are invalid.\n    //\n    // Typically, `<invalid>Some content</invalid>` would traverse (and in this case preserve)\n    // `Some content`, but strip `invalid-element` opening/closing tags. For some elements, though, we\n    // don't want to preserve the content, if the elements themselves are going to be removed.\n\n    /** @type {?} */\n\n    var SKIP_TRAVERSING_CONTENT_IF_INVALID_ELEMENTS = tagSet('script,style,template');\n    /**\n     * SanitizingHtmlSerializer serializes a DOM fragment, stripping out any unsafe elements and unsafe\n     * attributes.\n     */\n\n    var SanitizingHtmlSerializer =\n    /*#__PURE__*/\n    function () {\n      function SanitizingHtmlSerializer() {\n        _classCallCheck(this, SanitizingHtmlSerializer);\n\n        // Explicitly track if something was stripped, to avoid accidentally warning of sanitization just\n        // because characters were re-encoded.\n        this.sanitizedSomething = false;\n        this.buf = [];\n      }\n      /**\n       * @param {?} el\n       * @return {?}\n       */\n\n\n      _createClass2(SanitizingHtmlSerializer, [{\n        key: \"sanitizeChildren\",\n        value: function sanitizeChildren(el) {\n          // This cannot use a TreeWalker, as it has to run on Angular's various DOM adapters.\n          // However this code never accesses properties off of `document` before deleting its contents\n          // again, so it shouldn't be vulnerable to DOM clobbering.\n\n          /** @type {?} */\n          var current =\n          /** @type {?} */\n          el.firstChild;\n          /** @type {?} */\n\n          var traverseContent = true;\n\n          while (current) {\n            if (current.nodeType === Node.ELEMENT_NODE) {\n              traverseContent = this.startElement(\n              /** @type {?} */\n              current);\n            } else if (current.nodeType === Node.TEXT_NODE) {\n              this.chars(\n              /** @type {?} */\n              current.nodeValue);\n            } else {\n              // Strip non-element, non-text nodes.\n              this.sanitizedSomething = true;\n            }\n\n            if (traverseContent && current.firstChild) {\n              current =\n              /** @type {?} */\n              current.firstChild;\n              continue;\n            }\n\n            while (current) {\n              // Leaving the element. Walk up and to the right, closing tags as we go.\n              if (current.nodeType === Node.ELEMENT_NODE) {\n                this.endElement(\n                /** @type {?} */\n                current);\n              }\n              /** @type {?} */\n\n\n              var next = this.checkClobberedElement(current,\n              /** @type {?} */\n              current.nextSibling);\n\n              if (next) {\n                current = next;\n                break;\n              }\n\n              current = this.checkClobberedElement(current,\n              /** @type {?} */\n              current.parentNode);\n            }\n          }\n\n          return this.buf.join('');\n        }\n        /**\n         * Sanitizes an opening element tag (if valid) and returns whether the element's contents should\n         * be traversed. Element content must always be traversed (even if the element itself is not\n         * valid/safe), unless the element is one of `SKIP_TRAVERSING_CONTENT_IF_INVALID_ELEMENTS`.\n         *\n         * @private\n         * @param {?} element The element to sanitize.\n         * @return {?} True if the element's contents should be traversed.\n         */\n\n      }, {\n        key: \"startElement\",\n        value: function startElement(element) {\n          /** @type {?} */\n          var tagName = element.nodeName.toLowerCase();\n\n          if (!VALID_ELEMENTS.hasOwnProperty(tagName)) {\n            this.sanitizedSomething = true;\n            return !SKIP_TRAVERSING_CONTENT_IF_INVALID_ELEMENTS.hasOwnProperty(tagName);\n          }\n\n          this.buf.push('<');\n          this.buf.push(tagName);\n          /** @type {?} */\n\n          var elAttrs = element.attributes;\n\n          for (var i = 0; i < elAttrs.length; i++) {\n            /** @type {?} */\n            var elAttr = elAttrs.item(i);\n            /** @type {?} */\n\n            var attrName =\n            /** @type {?} */\n            elAttr.name;\n            /** @type {?} */\n\n            var lower = attrName.toLowerCase();\n\n            if (!VALID_ATTRS.hasOwnProperty(lower)) {\n              this.sanitizedSomething = true;\n              continue;\n            }\n            /** @type {?} */\n\n\n            var value =\n            /** @type {?} */\n            elAttr.value; // TODO(martinprobst): Special case image URIs for data:image/...\n\n            if (URI_ATTRS[lower]) value = _sanitizeUrl(value);\n            if (SRCSET_ATTRS[lower]) value = sanitizeSrcset(value);\n            this.buf.push(' ', attrName, '=\"', encodeEntities(value), '\"');\n          }\n\n          this.buf.push('>');\n          return true;\n        }\n        /**\n         * @private\n         * @param {?} current\n         * @return {?}\n         */\n\n      }, {\n        key: \"endElement\",\n        value: function endElement(current) {\n          /** @type {?} */\n          var tagName = current.nodeName.toLowerCase();\n\n          if (VALID_ELEMENTS.hasOwnProperty(tagName) && !VOID_ELEMENTS.hasOwnProperty(tagName)) {\n            this.buf.push('</');\n            this.buf.push(tagName);\n            this.buf.push('>');\n          }\n        }\n        /**\n         * @private\n         * @param {?} chars\n         * @return {?}\n         */\n\n      }, {\n        key: \"chars\",\n        value: function chars(_chars) {\n          this.buf.push(encodeEntities(_chars));\n        }\n        /**\n         * @param {?} node\n         * @param {?} nextNode\n         * @return {?}\n         */\n\n      }, {\n        key: \"checkClobberedElement\",\n        value: function checkClobberedElement(node, nextNode) {\n          if (nextNode && (node.compareDocumentPosition(nextNode) & Node.DOCUMENT_POSITION_CONTAINED_BY) === Node.DOCUMENT_POSITION_CONTAINED_BY) {\n            throw new Error(\"Failed to sanitize html because the element is clobbered: \".concat(\n            /** @type {?} */\n            node.outerHTML));\n          }\n\n          return nextNode;\n        }\n      }]);\n\n      return SanitizingHtmlSerializer;\n    }();\n\n    if (false) {} // Regular Expressions for parsing tags and attributes\n\n    /** @type {?} */\n\n\n    var SURROGATE_PAIR_REGEXP = /[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]/g; // ! to ~ is the ASCII range.\n\n    /** @type {?} */\n\n    var NON_ALPHANUMERIC_REGEXP = /([^\\#-~ |!])/g;\n    /**\n     * Escapes all potentially dangerous characters, so that the\n     * resulting string can be safely inserted into attribute or\n     * element text.\n     * @param {?} value\n     * @return {?}\n     */\n\n    function encodeEntities(value) {\n      return value.replace(/&/g, '&amp;').replace(SURROGATE_PAIR_REGEXP,\n      /**\n      * @param {?} match\n      * @return {?}\n      */\n      function (match) {\n        /** @type {?} */\n        var hi = match.charCodeAt(0);\n        /** @type {?} */\n\n        var low = match.charCodeAt(1);\n        return '&#' + ((hi - 0xD800) * 0x400 + (low - 0xDC00) + 0x10000) + ';';\n      }).replace(NON_ALPHANUMERIC_REGEXP,\n      /**\n      * @param {?} match\n      * @return {?}\n      */\n      function (match) {\n        return '&#' + match.charCodeAt(0) + ';';\n      }).replace(/</g, '&lt;').replace(/>/g, '&gt;');\n    }\n    /** @type {?} */\n\n\n    var inertBodyHelper;\n    /**\n     * Sanitizes the given unsafe, untrusted HTML fragment, and returns HTML text that is safe to add to\n     * the DOM in a browser environment.\n     * @param {?} defaultDoc\n     * @param {?} unsafeHtmlInput\n     * @return {?}\n     */\n\n    function _sanitizeHtml(defaultDoc, unsafeHtmlInput) {\n      /** @type {?} */\n      var inertBodyElement = null;\n\n      try {\n        inertBodyHelper = inertBodyHelper || new InertBodyHelper(defaultDoc); // Make sure unsafeHtml is actually a string (TypeScript types are not enforced at runtime).\n\n        /** @type {?} */\n\n        var unsafeHtml = unsafeHtmlInput ? String(unsafeHtmlInput) : '';\n        inertBodyElement = inertBodyHelper.getInertBodyElement(unsafeHtml); // mXSS protection. Repeatedly parse the document to make sure it stabilizes, so that a browser\n        // trying to auto-correct incorrect HTML cannot cause formerly inert HTML to become dangerous.\n\n        /** @type {?} */\n\n        var mXSSAttempts = 5;\n        /** @type {?} */\n\n        var parsedHtml = unsafeHtml;\n\n        do {\n          if (mXSSAttempts === 0) {\n            throw new Error('Failed to sanitize html because the input is unstable');\n          }\n\n          mXSSAttempts--;\n          unsafeHtml = parsedHtml;\n          parsedHtml =\n          /** @type {?} */\n          inertBodyElement.innerHTML;\n          inertBodyElement = inertBodyHelper.getInertBodyElement(unsafeHtml);\n        } while (unsafeHtml !== parsedHtml);\n        /** @type {?} */\n\n\n        var sanitizer = new SanitizingHtmlSerializer();\n        /** @type {?} */\n\n        var safeHtml = sanitizer.sanitizeChildren(\n        /** @type {?} */\n        getTemplateContent(\n        /** @type {?} */\n        inertBodyElement) || inertBodyElement);\n\n        if (isDevMode() && sanitizer.sanitizedSomething) {\n          console.warn('WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss');\n        }\n\n        return safeHtml;\n      } finally {\n        // In case anything goes wrong, clear out inertElement to reset the entire DOM structure.\n        if (inertBodyElement) {\n          /** @type {?} */\n          var parent = getTemplateContent(inertBodyElement) || inertBodyElement;\n\n          while (parent.firstChild) {\n            parent.removeChild(parent.firstChild);\n          }\n        }\n      }\n    }\n    /**\n     * @param {?} el\n     * @return {?}\n     */\n\n\n    function getTemplateContent(el) {\n      return 'content' in\n      /** @type {?} */\n      el && isTemplateElement(el) ? el.content : null;\n    }\n    /**\n     * @param {?} el\n     * @return {?}\n     */\n\n\n    function isTemplateElement(el) {\n      return el.nodeType === Node.ELEMENT_NODE && el.nodeName === 'TEMPLATE';\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /** @enum {number} */\n\n\n    var SecurityContext = {\n      NONE: 0,\n      HTML: 1,\n      STYLE: 2,\n      SCRIPT: 3,\n      URL: 4,\n      RESOURCE_URL: 5\n    };\n    SecurityContext[SecurityContext.NONE] = 'NONE';\n    SecurityContext[SecurityContext.HTML] = 'HTML';\n    SecurityContext[SecurityContext.STYLE] = 'STYLE';\n    SecurityContext[SecurityContext.SCRIPT] = 'SCRIPT';\n    SecurityContext[SecurityContext.URL] = 'URL';\n    SecurityContext[SecurityContext.RESOURCE_URL] = 'RESOURCE_URL';\n    /**\n     * Sanitizer is used by the views to sanitize potentially dangerous values.\n     *\n     * \\@publicApi\n     * @abstract\n     */\n\n    var Sanitizer = function Sanitizer() {\n      _classCallCheck(this, Sanitizer);\n    };\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Regular expression for safe style values.\n     *\n     * Quotes (\" and ') are allowed, but a check must be done elsewhere to ensure they're balanced.\n     *\n     * ',' allows multiple values to be assigned to the same property (e.g. background-attachment or\n     * font-family) and hence could allow multiple values to get injected, but that should pose no risk\n     * of XSS.\n     *\n     * The function expression checks only for XSS safety, not for CSS validity.\n     *\n     * This regular expression was taken from the Closure sanitization library, and augmented for\n     * transformation values.\n     * @type {?}\n     */\n\n\n    var VALUES = '[-,.\"\\'%_!# a-zA-Z0-9]+';\n    /** @type {?} */\n\n    var TRANSFORMATION_FNS = '(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?';\n    /** @type {?} */\n\n    var COLOR_FNS = '(?:rgb|hsl)a?';\n    /** @type {?} */\n\n    var GRADIENTS = '(?:repeating-)?(?:linear|radial)-gradient';\n    /** @type {?} */\n\n    var CSS3_FNS = '(?:calc|attr)';\n    /** @type {?} */\n\n    var FN_ARGS = '\\\\([-0-9.%, #a-zA-Z]+\\\\)';\n    /** @type {?} */\n\n    var SAFE_STYLE_VALUE = new RegExp(\"^(\".concat(VALUES, \"|\") + \"(?:\".concat(TRANSFORMATION_FNS, \"|\").concat(COLOR_FNS, \"|\").concat(GRADIENTS, \"|\").concat(CSS3_FNS, \")\") + \"\".concat(FN_ARGS, \")$\"), 'g');\n    /**\n     * Matches a `url(...)` value with an arbitrary argument as long as it does\n     * not contain parentheses.\n     *\n     * The URL value still needs to be sanitized separately.\n     *\n     * `url(...)` values are a very common use case, e.g. for `background-image`. With carefully crafted\n     * CSS style rules, it is possible to construct an information leak with `url` values in CSS, e.g.\n     * by observing whether scroll bars are displayed, or character ranges used by a font face\n     * definition.\n     *\n     * Angular only allows binding CSS values (as opposed to entire CSS rules), so it is unlikely that\n     * binding a URL value without further cooperation from the page will cause an information leak, and\n     * if so, it is just a leak, not a full blown XSS vulnerability.\n     *\n     * Given the common use case, low likelihood of attack vector, and low impact of an attack, this\n     * code is permissive and allows URLs that sanitize otherwise.\n     * @type {?}\n     */\n\n    var URL_RE = /^url\\(([^)]+)\\)$/;\n    /**\n     * Checks that quotes (\" and ') are properly balanced inside a string. Assumes\n     * that neither escape (\\) nor any other character that could result in\n     * breaking out of a string parsing context are allowed;\n     * see http://www.w3.org/TR/css3-syntax/#string-token-diagram.\n     *\n     * This code was taken from the Closure sanitization library.\n     * @param {?} value\n     * @return {?}\n     */\n\n    function hasBalancedQuotes(value) {\n      /** @type {?} */\n      var outsideSingle = true;\n      /** @type {?} */\n\n      var outsideDouble = true;\n\n      for (var i = 0; i < value.length; i++) {\n        /** @type {?} */\n        var c = value.charAt(i);\n\n        if (c === '\\'' && outsideDouble) {\n          outsideSingle = !outsideSingle;\n        } else if (c === '\"' && outsideSingle) {\n          outsideDouble = !outsideDouble;\n        }\n      }\n\n      return outsideSingle && outsideDouble;\n    }\n    /**\n     * Sanitizes the given untrusted CSS style property value (i.e. not an entire object, just a single\n     * value) and returns a value that is safe to use in a browser environment.\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function _sanitizeStyle(value) {\n      value = String(value).trim(); // Make sure it's actually a string.\n\n      if (!value) return ''; // Single url(...) values are supported, but only for URLs that sanitize cleanly. See above for\n      // reasoning behind this.\n\n      /** @type {?} */\n\n      var urlMatch = value.match(URL_RE);\n\n      if (urlMatch && _sanitizeUrl(urlMatch[1]) === urlMatch[1] || value.match(SAFE_STYLE_VALUE) && hasBalancedQuotes(value)) {\n        return value; // Safe style values.\n      }\n\n      if (isDevMode()) {\n        console.warn(\"WARNING: sanitizing unsafe style value \".concat(value, \" (see http://g.co/ng/security#xss).\"));\n      }\n\n      return 'unsafe';\n    }\n    /** @enum {number} */\n\n\n    var StyleSanitizeMode = {\n      /** Just check to see if the property is required to be sanitized or not */\n      ValidateProperty: 1,\n\n      /** Skip checking the property; just sanitize the value */\n      SanitizeOnly: 2,\n\n      /** Check the property and (if true) then sanitize the value */\n      ValidateAndSanitize: 3\n    };\n    /**\n     * Used to intercept and sanitize style values before they are written to the renderer.\n     *\n     * This function is designed to be called in two modes. When a value is not provided\n     * then the function will return a boolean whether a property will be sanitized later.\n     * If a value is provided then the sanitized version of that will be returned.\n     * @record\n     */\n\n    function StyleSanitizeFn() {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * An `html` sanitizer which converts untrusted `html` **string** into trusted string by removing\n     * dangerous content.\n     *\n     * This method parses the `html` and locates potentially dangerous content (such as urls and\n     * javascript) and removes it.\n     *\n     * It is possible to mark a string as trusted by calling {\\@link bypassSanitizationTrustHtml}.\n     *\n     * \\@publicApi\n     * @param {?} unsafeHtml untrusted `html`, typically from the user.\n     * @return {?} `html` string which is safe to display to user, because all of the dangerous javascript\n     * and urls have been removed.\n     *\n     */\n\n\n    function ɵɵsanitizeHtml(unsafeHtml) {\n      /** @type {?} */\n      var sanitizer = getSanitizer();\n\n      if (sanitizer) {\n        return sanitizer.sanitize(SecurityContext.HTML, unsafeHtml) || '';\n      }\n\n      if (allowSanitizationBypass(unsafeHtml, \"Html\"\n      /* Html */\n      )) {\n        return unsafeHtml.toString();\n      }\n\n      return _sanitizeHtml(document, renderStringify(unsafeHtml));\n    }\n    /**\n     * A `style` sanitizer which converts untrusted `style` **string** into trusted string by removing\n     * dangerous content.\n     *\n     * This method parses the `style` and locates potentially dangerous content (such as urls and\n     * javascript) and removes it.\n     *\n     * It is possible to mark a string as trusted by calling {\\@link bypassSanitizationTrustStyle}.\n     *\n     * \\@publicApi\n     * @param {?} unsafeStyle untrusted `style`, typically from the user.\n     * @return {?} `style` string which is safe to bind to the `style` properties, because all of the\n     * dangerous javascript and urls have been removed.\n     *\n     */\n\n\n    function ɵɵsanitizeStyle(unsafeStyle) {\n      /** @type {?} */\n      var sanitizer = getSanitizer();\n\n      if (sanitizer) {\n        return sanitizer.sanitize(SecurityContext.STYLE, unsafeStyle) || '';\n      }\n\n      if (allowSanitizationBypass(unsafeStyle, \"Style\"\n      /* Style */\n      )) {\n        return unsafeStyle.toString();\n      }\n\n      return _sanitizeStyle(renderStringify(unsafeStyle));\n    }\n    /**\n     * A `url` sanitizer which converts untrusted `url` **string** into trusted string by removing\n     * dangerous\n     * content.\n     *\n     * This method parses the `url` and locates potentially dangerous content (such as javascript) and\n     * removes it.\n     *\n     * It is possible to mark a string as trusted by calling {\\@link bypassSanitizationTrustUrl}.\n     *\n     * \\@publicApi\n     * @param {?} unsafeUrl untrusted `url`, typically from the user.\n     * @return {?} `url` string which is safe to bind to the `src` properties such as `<img src>`, because\n     * all of the dangerous javascript has been removed.\n     *\n     */\n\n\n    function ɵɵsanitizeUrl(unsafeUrl) {\n      /** @type {?} */\n      var sanitizer = getSanitizer();\n\n      if (sanitizer) {\n        return sanitizer.sanitize(SecurityContext.URL, unsafeUrl) || '';\n      }\n\n      if (allowSanitizationBypass(unsafeUrl, \"Url\"\n      /* Url */\n      )) {\n        return unsafeUrl.toString();\n      }\n\n      return _sanitizeUrl(renderStringify(unsafeUrl));\n    }\n    /**\n     * A `url` sanitizer which only lets trusted `url`s through.\n     *\n     * This passes only `url`s marked trusted by calling {\\@link bypassSanitizationTrustResourceUrl}.\n     *\n     * \\@publicApi\n     * @param {?} unsafeResourceUrl untrusted `url`, typically from the user.\n     * @return {?} `url` string which is safe to bind to the `src` properties such as `<img src>`, because\n     * only trusted `url`s have been allowed to pass.\n     *\n     */\n\n\n    function ɵɵsanitizeResourceUrl(unsafeResourceUrl) {\n      /** @type {?} */\n      var sanitizer = getSanitizer();\n\n      if (sanitizer) {\n        return sanitizer.sanitize(SecurityContext.RESOURCE_URL, unsafeResourceUrl) || '';\n      }\n\n      if (allowSanitizationBypass(unsafeResourceUrl, \"ResourceUrl\"\n      /* ResourceUrl */\n      )) {\n        return unsafeResourceUrl.toString();\n      }\n\n      throw new Error('unsafe value used in a resource URL context (see http://g.co/ng/security#xss)');\n    }\n    /**\n     * A `script` sanitizer which only lets trusted javascript through.\n     *\n     * This passes only `script`s marked trusted by calling {\\@link\n     * bypassSanitizationTrustScript}.\n     *\n     * \\@publicApi\n     * @param {?} unsafeScript untrusted `script`, typically from the user.\n     * @return {?} `url` string which is safe to bind to the `<script>` element such as `<img src>`,\n     * because only trusted `scripts` have been allowed to pass.\n     *\n     */\n\n\n    function ɵɵsanitizeScript(unsafeScript) {\n      /** @type {?} */\n      var sanitizer = getSanitizer();\n\n      if (sanitizer) {\n        return sanitizer.sanitize(SecurityContext.SCRIPT, unsafeScript) || '';\n      }\n\n      if (allowSanitizationBypass(unsafeScript, \"Script\"\n      /* Script */\n      )) {\n        return unsafeScript.toString();\n      }\n\n      throw new Error('unsafe value used in a script context');\n    }\n    /**\n     * Detects which sanitizer to use for URL property, based on tag name and prop name.\n     *\n     * The rules are based on the RESOURCE_URL context config from\n     * `packages/compiler/src/schema/dom_security_schema.ts`.\n     * If tag and prop names don't match Resource URL schema, use URL sanitizer.\n     * @param {?} tag\n     * @param {?} prop\n     * @return {?}\n     */\n\n\n    function getUrlSanitizer(tag, prop) {\n      if (prop === 'src' && (tag === 'embed' || tag === 'frame' || tag === 'iframe' || tag === 'media' || tag === 'script') || prop === 'href' && (tag === 'base' || tag === 'link')) {\n        return ɵɵsanitizeResourceUrl;\n      }\n\n      return ɵɵsanitizeUrl;\n    }\n    /**\n     * Sanitizes URL, selecting sanitizer function based on tag and property names.\n     *\n     * This function is used in case we can't define security context at compile time, when only prop\n     * name is available. This happens when we generate host bindings for Directives/Components. The\n     * host element is unknown at compile time, so we defer calculation of specific sanitizer to\n     * runtime.\n     *\n     * \\@publicApi\n     * @param {?} unsafeUrl untrusted `url`, typically from the user.\n     * @param {?} tag target element tag name.\n     * @param {?} prop name of the property that contains the value.\n     * @return {?} `url` string which is safe to bind.\n     *\n     */\n\n\n    function ɵɵsanitizeUrlOrResourceUrl(unsafeUrl, tag, prop) {\n      return getUrlSanitizer(tag, prop)(unsafeUrl);\n    }\n    /**\n     * The default style sanitizer will handle sanitization for style properties by\n     * sanitizing any CSS property that can include a `url` value (usually image-based properties)\n     *\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var ɵɵdefaultStyleSanitizer =\n    /** @type {?} */\n\n    /**\n    * @param {?} prop\n    * @param {?} value\n    * @param {?=} mode\n    * @return {?}\n    */\n    function ɵɵdefaultStyleSanitizer(prop, value, mode) {\n      mode = mode || 3\n      /* ValidateAndSanitize */\n      ;\n      /** @type {?} */\n\n      var doSanitizeValue = true;\n\n      if (mode & 1\n      /* ValidateProperty */\n      ) {\n          doSanitizeValue = prop === 'background-image' || prop === 'background' || prop === 'border-image' || prop === 'filter' || prop === 'list-style' || prop === 'list-style-image' || prop === 'clip-path';\n        }\n\n      if (mode & 2\n      /* SanitizeOnly */\n      ) {\n          return doSanitizeValue ? ɵɵsanitizeStyle(value) : value;\n        } else {\n        return doSanitizeValue;\n      }\n    };\n    /**\n     * @param {?} name\n     * @return {?}\n     */\n\n\n    function validateAgainstEventProperties(name) {\n      if (name.toLowerCase().startsWith('on')) {\n        /** @type {?} */\n        var msg = \"Binding to event property '\".concat(name, \"' is disallowed for security reasons, \") + \"please use (\".concat(name.slice(2), \")=...\") + \"\\nIf '\".concat(name, \"' is a directive input, make sure the directive is imported by the\") + \" current module.\";\n        throw new Error(msg);\n      }\n    }\n    /**\n     * @param {?} name\n     * @return {?}\n     */\n\n\n    function validateAgainstEventAttributes(name) {\n      if (name.toLowerCase().startsWith('on')) {\n        /** @type {?} */\n        var msg = \"Binding to event attribute '\".concat(name, \"' is disallowed for security reasons, \") + \"please use (\".concat(name.slice(2), \")=...\");\n        throw new Error(msg);\n      }\n    }\n    /**\n     * @return {?}\n     */\n\n\n    function getSanitizer() {\n      /** @type {?} */\n      var lView = getLView();\n      return lView && lView[SANITIZER];\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * THIS FILE CONTAINS CODE WHICH SHOULD BE TREE SHAKEN AND NEVER CALLED FROM PRODUCTION CODE!!!\n     */\n\n    /**\n     * Creates an `Array` construction with a given name. This is useful when\n     * looking for memory consumption to see what time of array it is.\n     *\n     *\n     * @param name Name to give to the constructor\n     * @returns A subclass of `Array` if possible. This can only be done in\n     *          environments which support `class` construct.\n     */\n\n\n    function createNamedArrayType(name) {\n      // This should never be called in prod mode, so let's verify that is the case.\n      if (ngDevMode) {\n        try {\n          // We need to do it this way so that TypeScript does not down-level the below code.\n          var FunctionConstructor = createNamedArrayType.constructor;\n          return new FunctionConstructor('Array', \"return class ABC extends Array{}\")(Array);\n        } catch (e) {\n          // If it does not work just give up and fall back to regular Array.\n          return Array;\n        }\n      } else {\n        throw new Error('Looks like we are in \\'prod mode\\', but we are creating a named Array type, which is wrong! Check your code');\n      }\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    function normalizeDebugBindingName(name) {\n      // Attribute names with `$` (eg `x-y$`) are valid per spec, but unsupported by some browsers\n      name = camelCaseToDashCase(name.replace(/[$@]/g, '_'));\n      return \"ng-reflect-\".concat(name);\n    }\n\n    var CAMEL_CASE_REGEXP = /([A-Z])/g;\n\n    function camelCaseToDashCase(input) {\n      return input.replace(CAMEL_CASE_REGEXP, function () {\n        for (var _len20 = arguments.length, m = new Array(_len20), _key22 = 0; _key22 < _len20; _key22++) {\n          m[_key22] = arguments[_key22];\n        }\n\n        return '-' + m[1].toLowerCase();\n      });\n    }\n\n    function normalizeDebugBindingValue(value) {\n      try {\n        // Limit the size of the value as otherwise the DOM just gets polluted.\n        return value != null ? value.toString().slice(0, 30) : value;\n      } catch (e) {\n        return '[ERROR] Exception while trying to serialize the value';\n      }\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Returns the matching `LContext` data for a given DOM node, directive or component instance.\n     *\n     * This function will examine the provided DOM element, component, or directive instance\\'s\n     * monkey-patched property to derive the `LContext` data. Once called then the monkey-patched\n     * value will be that of the newly created `LContext`.\n     *\n     * If the monkey-patched value is the `LView` instance then the context value for that\n     * target will be created and the monkey-patch reference will be updated. Therefore when this\n     * function is called it may mutate the provided element\\'s, component\\'s or any of the associated\n     * directive\\'s monkey-patch values.\n     *\n     * If the monkey-patch value is not detected then the code will walk up the DOM until an element\n     * is found which contains a monkey-patch reference. When that occurs then the provided element\n     * will be updated with a new context (which is then returned). If the monkey-patch value is not\n     * detected for a component/directive instance then it will throw an error (all components and\n     * directives should be automatically monkey-patched by ivy).\n     *\n     * @param {?} target Component, Directive or DOM Node.\n     * @return {?}\n     */\n\n\n    function getLContext(target) {\n      /** @type {?} */\n      var mpValue = readPatchedData(target);\n\n      if (mpValue) {\n        // only when it's an array is it considered an LView instance\n        // ... otherwise it's an already constructed LContext instance\n        if (Array.isArray(mpValue)) {\n          /** @type {?} */\n          var _lView2 =\n          /** @type {?} */\n          mpValue;\n          /** @type {?} */\n\n          var nodeIndex;\n          /** @type {?} */\n\n          var component = undefined;\n          /** @type {?} */\n\n          var directives = undefined;\n\n          if (isComponentInstance(target)) {\n            nodeIndex = findViaComponent(_lView2, target);\n\n            if (nodeIndex == -1) {\n              throw new Error('The provided component was not found in the application');\n            }\n\n            component = target;\n          } else if (isDirectiveInstance(target)) {\n            nodeIndex = findViaDirective(_lView2, target);\n\n            if (nodeIndex == -1) {\n              throw new Error('The provided directive was not found in the application');\n            }\n\n            directives = getDirectivesAtNodeIndex(nodeIndex, _lView2, false);\n          } else {\n            nodeIndex = findViaNativeElement(_lView2,\n            /** @type {?} */\n            target);\n\n            if (nodeIndex == -1) {\n              return null;\n            }\n          } // the goal is not to fill the entire context full of data because the lookups\n          // are expensive. Instead, only the target data (the element, component, container, ICU\n          // expression or directive details) are filled into the context. If called multiple times\n          // with different target values then the missing target data will be filled in.\n\n          /** @type {?} */\n\n\n          var native = unwrapRNode(_lView2[nodeIndex]);\n          /** @type {?} */\n\n          var existingCtx = readPatchedData(native);\n          /** @type {?} */\n\n          var context = existingCtx && !Array.isArray(existingCtx) ? existingCtx : createLContext(_lView2, nodeIndex, native); // only when the component has been discovered then update the monkey-patch\n\n          if (component && context.component === undefined) {\n            context.component = component;\n            attachPatchData(context.component, context);\n          } // only when the directives have been discovered then update the monkey-patch\n\n\n          if (directives && context.directives === undefined) {\n            context.directives = directives;\n\n            for (var i = 0; i < directives.length; i++) {\n              attachPatchData(directives[i], context);\n            }\n          }\n\n          attachPatchData(context.native, context);\n          mpValue = context;\n        }\n      } else {\n        /** @type {?} */\n        var rElement =\n        /** @type {?} */\n        target;\n        ngDevMode && assertDomNode(rElement); // if the context is not found then we need to traverse upwards up the DOM\n        // to find the nearest element that has already been monkey patched with data\n\n        /** @type {?} */\n\n        var parent =\n        /** @type {?} */\n        rElement;\n\n        while (parent = parent.parentNode) {\n          /** @type {?} */\n          var parentContext = readPatchedData(parent);\n\n          if (parentContext) {\n            /** @type {?} */\n            var _lView3 = void 0;\n\n            if (Array.isArray(parentContext)) {\n              _lView3 =\n              /** @type {?} */\n              parentContext;\n            } else {\n              _lView3 = parentContext.lView;\n            } // the edge of the app was also reached here through another means\n            // (maybe because the DOM was changed manually).\n\n\n            if (!_lView3) {\n              return null;\n            }\n            /** @type {?} */\n\n\n            var index = findViaNativeElement(_lView3, rElement);\n\n            if (index >= 0) {\n              /** @type {?} */\n              var _native = unwrapRNode(_lView3[index]);\n              /** @type {?} */\n\n\n              var _context2 = createLContext(_lView3, index, _native);\n\n              attachPatchData(_native, _context2);\n              mpValue = _context2;\n              break;\n            }\n          }\n        }\n      }\n\n      return (\n        /** @type {?} */\n        mpValue || null\n      );\n    }\n    /**\n     * Creates an empty instance of a `LContext` context\n     * @param {?} lView\n     * @param {?} nodeIndex\n     * @param {?} native\n     * @return {?}\n     */\n\n\n    function createLContext(lView, nodeIndex, native) {\n      return {\n        lView: lView,\n        nodeIndex: nodeIndex,\n        native: native,\n        component: undefined,\n        directives: undefined,\n        localRefs: undefined\n      };\n    }\n    /**\n     * Takes a component instance and returns the view for that component.\n     *\n     * @param {?} componentInstance\n     * @return {?} The component's view\n     */\n\n\n    function getComponentViewByInstance(componentInstance) {\n      /** @type {?} */\n      var lView = readPatchedData(componentInstance);\n      /** @type {?} */\n\n      var view;\n\n      if (Array.isArray(lView)) {\n        /** @type {?} */\n        var nodeIndex = findViaComponent(lView, componentInstance);\n        view = getComponentViewByIndex(nodeIndex, lView);\n        /** @type {?} */\n\n        var context = createLContext(lView, nodeIndex,\n        /** @type {?} */\n        view[HOST]);\n        context.component = componentInstance;\n        attachPatchData(componentInstance, context);\n        attachPatchData(context.native, context);\n      } else {\n        /** @type {?} */\n        var _context3 =\n        /** @type {?} */\n\n        /** @type {?} */\n        lView;\n        view = getComponentViewByIndex(_context3.nodeIndex, _context3.lView);\n      }\n\n      return view;\n    }\n    /**\n     * Assigns the given data to the given target (which could be a component,\n     * directive or DOM node instance) using monkey-patching.\n     * @param {?} target\n     * @param {?} data\n     * @return {?}\n     */\n\n\n    function attachPatchData(target, data) {\n      target[MONKEY_PATCH_KEY_NAME] = data;\n    }\n    /**\n     * @param {?} instance\n     * @return {?}\n     */\n\n\n    function isComponentInstance(instance) {\n      return instance && instance.constructor && instance.constructor.ngComponentDef;\n    }\n    /**\n     * @param {?} instance\n     * @return {?}\n     */\n\n\n    function isDirectiveInstance(instance) {\n      return instance && instance.constructor && instance.constructor.ngDirectiveDef;\n    }\n    /**\n     * Locates the element within the given LView and returns the matching index\n     * @param {?} lView\n     * @param {?} target\n     * @return {?}\n     */\n\n\n    function findViaNativeElement(lView, target) {\n      /** @type {?} */\n      var tNode = lView[TVIEW].firstChild;\n\n      while (tNode) {\n        /** @type {?} */\n        var native =\n        /** @type {?} */\n        getNativeByTNodeOrNull(tNode, lView);\n\n        if (native === target) {\n          return tNode.index;\n        }\n\n        tNode = traverseNextElement(tNode);\n      }\n\n      return -1;\n    }\n    /**\n     * Locates the next tNode (child, sibling or parent).\n     * @param {?} tNode\n     * @return {?}\n     */\n\n\n    function traverseNextElement(tNode) {\n      if (tNode.child) {\n        return tNode.child;\n      } else if (tNode.next) {\n        return tNode.next;\n      } else {\n        // Let's take the following template: <div><span>text</span></div><component/>\n        // After checking the text node, we need to find the next parent that has a \"next\" TNode,\n        // in this case the parent `div`, so that we can find the component.\n        while (tNode.parent && !tNode.parent.next) {\n          tNode = tNode.parent;\n        }\n\n        return tNode.parent && tNode.parent.next;\n      }\n    }\n    /**\n     * Locates the component within the given LView and returns the matching index\n     * @param {?} lView\n     * @param {?} componentInstance\n     * @return {?}\n     */\n\n\n    function findViaComponent(lView, componentInstance) {\n      /** @type {?} */\n      var componentIndices = lView[TVIEW].components;\n\n      if (componentIndices) {\n        for (var i = 0; i < componentIndices.length; i++) {\n          /** @type {?} */\n          var elementComponentIndex = componentIndices[i];\n          /** @type {?} */\n\n          var componentView = getComponentViewByIndex(elementComponentIndex, lView);\n\n          if (componentView[CONTEXT] === componentInstance) {\n            return elementComponentIndex;\n          }\n        }\n      } else {\n        /** @type {?} */\n        var rootComponentView = getComponentViewByIndex(HEADER_OFFSET, lView);\n        /** @type {?} */\n\n        var rootComponent = rootComponentView[CONTEXT];\n\n        if (rootComponent === componentInstance) {\n          // we are dealing with the root element here therefore we know that the\n          // element is the very first element after the HEADER data in the lView\n          return HEADER_OFFSET;\n        }\n      }\n\n      return -1;\n    }\n    /**\n     * Locates the directive within the given LView and returns the matching index\n     * @param {?} lView\n     * @param {?} directiveInstance\n     * @return {?}\n     */\n\n\n    function findViaDirective(lView, directiveInstance) {\n      // if a directive is monkey patched then it will (by default)\n      // have a reference to the LView of the current view. The\n      // element bound to the directive being search lives somewhere\n      // in the view data. We loop through the nodes and check their\n      // list of directives for the instance.\n\n      /** @type {?} */\n      var tNode = lView[TVIEW].firstChild;\n\n      while (tNode) {\n        /** @type {?} */\n        var directiveIndexStart = tNode.directiveStart;\n        /** @type {?} */\n\n        var directiveIndexEnd = tNode.directiveEnd;\n\n        for (var i = directiveIndexStart; i < directiveIndexEnd; i++) {\n          if (lView[i] === directiveInstance) {\n            return tNode.index;\n          }\n        }\n\n        tNode = traverseNextElement(tNode);\n      }\n\n      return -1;\n    }\n    /**\n     * Returns a list of directives extracted from the given view based on the\n     * provided list of directive index values.\n     *\n     * @param {?} nodeIndex The node index\n     * @param {?} lView The target view data\n     * @param {?} includeComponents Whether or not to include components in returned directives\n     * @return {?}\n     */\n\n\n    function getDirectivesAtNodeIndex(nodeIndex, lView, includeComponents) {\n      /** @type {?} */\n      var tNode =\n      /** @type {?} */\n      lView[TVIEW].data[nodeIndex];\n      /** @type {?} */\n\n      var directiveStartIndex = tNode.directiveStart;\n      if (directiveStartIndex == 0) return EMPTY_ARRAY;\n      /** @type {?} */\n\n      var directiveEndIndex = tNode.directiveEnd;\n      if (!includeComponents && tNode.flags & 1\n      /* isComponent */\n      ) directiveStartIndex++;\n      return lView.slice(directiveStartIndex, directiveEndIndex);\n    }\n    /**\n     * @param {?} nodeIndex\n     * @param {?} lView\n     * @return {?}\n     */\n\n\n    function getComponentAtNodeIndex(nodeIndex, lView) {\n      /** @type {?} */\n      var tNode =\n      /** @type {?} */\n      lView[TVIEW].data[nodeIndex];\n      /** @type {?} */\n\n      var directiveStartIndex = tNode.directiveStart;\n      return tNode.flags & 1\n      /* isComponent */\n      ? lView[directiveStartIndex] : null;\n    }\n    /**\n     * Returns a map of local references (local reference name => element or directive instance) that\n     * exist on a given element.\n     * @param {?} lView\n     * @param {?} nodeIndex\n     * @return {?}\n     */\n\n\n    function discoverLocalRefs(lView, nodeIndex) {\n      /** @type {?} */\n      var tNode =\n      /** @type {?} */\n      lView[TVIEW].data[nodeIndex];\n\n      if (tNode && tNode.localNames) {\n        /** @type {?} */\n        var result = {};\n        /** @type {?} */\n\n        var localIndex = tNode.index + 1;\n\n        for (var i = 0; i < tNode.localNames.length; i += 2) {\n          result[tNode.localNames[i]] = lView[localIndex];\n          localIndex++;\n        }\n\n        return result;\n      }\n\n      return null;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Called when directives inject each other (creating a circular dependency)\n     * @param {?} token\n     * @return {?}\n     */\n\n\n    function throwCyclicDependencyError(token) {\n      throw new Error(\"Cannot instantiate cyclic dependency! \".concat(token));\n    }\n    /**\n     * Called when there are multiple component selectors that match a given node\n     * @param {?} tNode\n     * @return {?}\n     */\n\n\n    function throwMultipleComponentError(tNode) {\n      throw new Error(\"Multiple components match node with tagname \".concat(tNode.tagName));\n    }\n    /**\n     * Throws an ExpressionChangedAfterChecked error if checkNoChanges mode is on.\n     * @param {?} creationMode\n     * @param {?} oldValue\n     * @param {?} currValue\n     * @return {?}\n     */\n\n\n    function throwErrorIfNoChangesMode(creationMode, oldValue, currValue) {\n      /** @type {?} */\n      var msg = \"ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '\".concat(oldValue, \"'. Current value: '\").concat(currValue, \"'.\");\n\n      if (creationMode) {\n        msg += \" 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 ?\";\n      } // TODO: include debug context\n\n\n      throw new Error(msg);\n    }\n    /**\n     * @return {?}\n     */\n\n\n    function throwMixedMultiProviderError() {\n      throw new Error(\"Cannot mix multi providers and regular providers\");\n    }\n    /**\n     * @param {?=} ngModuleType\n     * @param {?=} providers\n     * @param {?=} provider\n     * @return {?}\n     */\n\n\n    function throwInvalidProviderError(ngModuleType, providers, provider) {\n      /** @type {?} */\n      var ngModuleDetail = '';\n\n      if (ngModuleType && providers) {\n        /** @type {?} */\n        var providerDetail = providers.map(\n        /**\n        * @param {?} v\n        * @return {?}\n        */\n        function (v) {\n          return v == provider ? '?' + provider + '?' : '...';\n        });\n        ngModuleDetail = \" - only instances of Provider and Type are allowed, got: [\".concat(providerDetail.join(', '), \"]\");\n      }\n\n      throw new Error(\"Invalid provider for the NgModule '\".concat(stringify(ngModuleType), \"'\") + ngModuleDetail);\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @enum {number} */\n\n\n    var TNodeType = {\n      /**\n       * The TNode contains information about an {@link LContainer} for embedded views.\n       */\n      Container: 0,\n\n      /**\n       * The TNode contains information about an `<ng-content>` projection\n       */\n      Projection: 1,\n\n      /**\n       * The TNode contains information about an {@link LView}\n       */\n      View: 2,\n\n      /**\n       * The TNode contains information about a DOM element aka {@link RNode}.\n       */\n      Element: 3,\n\n      /**\n       * The TNode contains information about an `<ng-container>` element {@link RNode}.\n       */\n      ElementContainer: 4,\n\n      /**\n       * The TNode contains information about an ICU comment used in `i18n`.\n       */\n      IcuContainer: 5\n    };\n    /** @enum {number} */\n\n    var TNodeFlags = {\n      /** This bit is set if the node is a component */\n      isComponent: 1,\n\n      /** This bit is set if the node has been projected */\n      isProjected: 2,\n\n      /** This bit is set if any directive on this node has content queries */\n      hasContentQuery: 4,\n\n      /** This bit is set if the node has any \"class\" inputs */\n      hasClassInput: 8,\n\n      /** This bit is set if the node has any \"style\" inputs */\n      hasStyleInput: 16,\n\n      /** This bit is set if the node has been detached by i18n */\n      isDetached: 32\n    };\n    /** @enum {number} */\n\n    var TNodeProviderIndexes = {\n      /** The index of the first provider on this node is encoded on the least significant bits */\n      ProvidersStartIndexMask: 65535,\n\n      /** The count of view providers from the component on this node is encoded on the 16 most\n         significant bits */\n      CptViewProvidersCountShift: 16,\n      CptViewProvidersCountShifter: 65536\n    };\n    /** @enum {number} */\n\n    var AttributeMarker = {\n      /**\n       * Marker indicates that the following 3 values in the attributes array are:\n       * namespaceUri, attributeName, attributeValue\n       * in that order.\n       */\n      NamespaceURI: 0,\n\n      /**\n        * Signals class declaration.\n        *\n        * Each value following `Classes` designates a class name to include on the element.\n        * ## Example:\n        *\n        * Given:\n        * ```\n        * <div class=\"foo bar baz\">...<d/vi>\n        * ```\n        *\n        * the generated code is:\n        * ```\n        * var _c1 = [AttributeMarker.Classes, 'foo', 'bar', 'baz'];\n        * ```\n        */\n      Classes: 1,\n\n      /**\n       * Signals style declaration.\n       *\n       * Each pair of values following `Styles` designates a style name and value to include on the\n       * element.\n       * ## Example:\n       *\n       * Given:\n       * ```\n       * <div style=\"width:100px; height:200px; color:red\">...</div>\n       * ```\n       *\n       * the generated code is:\n       * ```\n       * var _c1 = [AttributeMarker.Styles, 'width', '100px', 'height'. '200px', 'color', 'red'];\n       * ```\n       */\n      Styles: 2,\n\n      /**\n       * Signals that the following attribute names were extracted from input or output bindings.\n       *\n       * For example, given the following HTML:\n       *\n       * ```\n       * <div moo=\"car\" [foo]=\"exp\" (bar)=\"doSth()\">\n       * ```\n       *\n       * the generated code is:\n       *\n       * ```\n       * var _c1 = ['moo', 'car', AttributeMarker.Bindings, 'foo', 'bar'];\n       * ```\n       */\n      Bindings: 3,\n\n      /**\n       * Signals that the following attribute names were hoisted from an inline-template declaration.\n       *\n       * For example, given the following HTML:\n       *\n       * ```\n       * <div *ngFor=\"let value of values; trackBy:trackBy\" dirA [dirB]=\"value\">\n       * ```\n       *\n       * the generated code for the `template()` instruction would include:\n       *\n       * ```\n       * ['dirA', '', AttributeMarker.Bindings, 'dirB', AttributeMarker.Template, 'ngFor', 'ngForOf',\n       * 'ngForTrackBy', 'let-value']\n       * ```\n       *\n       * while the generated code for the `element()` instruction inside the template function would\n       * include:\n       *\n       * ```\n       * ['dirA', '', AttributeMarker.Bindings, 'dirB']\n       * ```\n       */\n      Template: 4,\n\n      /**\n       * Signals that the following attribute is `ngProjectAs` and its value is a parsed `CssSelector`.\n       *\n       * For example, given the following HTML:\n       *\n       * ```\n       * <h1 attr=\"value\" ngProjectAs=\"[title]\">\n       * ```\n       *\n       * the generated code for the `element()` instruction would include:\n       *\n       * ```\n       * ['attr', 'value', AttributeMarker.ProjectAs, ['', 'title', '']]\n       * ```\n       */\n      ProjectAs: 5,\n\n      /**\n       * Signals that the following attribute will be translated by runtime i18n\n       *\n       * For example, given the following HTML:\n       *\n       * ```\n       * <div moo=\"car\" foo=\"value\" i18n-foo [bar]=\"binding\" i18n-bar>\n       * ```\n       *\n       * the generated code is:\n       *\n       * ```\n       * var _c1 = ['moo', 'car', AttributeMarker.I18n, 'foo', 'bar'];\n       */\n      I18n: 6\n    };\n    /**\n     * Binding data (flyweight) for a particular node that is shared between all templates\n     * of a specific type.\n     *\n     * If a property is:\n     *    - PropertyAliases: that property's data was generated and this is it\n     *    - Null: that property's data was already generated and nothing was found.\n     *    - Undefined: that property's data has not yet been generated\n     *\n     * see: https://en.wikipedia.org/wiki/Flyweight_pattern for more on the Flyweight pattern\n     * @record\n     */\n\n    function TNode() {}\n\n    if (false) {}\n    /**\n     * Static data for an element\n     * @record\n     */\n\n\n    function TElementNode() {}\n\n    if (false) {}\n    /**\n     * Static data for a text node\n     * @record\n     */\n\n\n    function TTextNode() {}\n\n    if (false) {}\n    /**\n     * Static data for an LContainer\n     * @record\n     */\n\n\n    function TContainerNode() {}\n\n    if (false) {}\n    /**\n     * Static data for an <ng-container>\n     * @record\n     */\n\n\n    function TElementContainerNode() {}\n\n    if (false) {}\n    /**\n     * Static data for an ICU expression\n     * @record\n     */\n\n\n    function TIcuContainerNode() {}\n\n    if (false) {}\n    /**\n     * Static data for a view\n     * @record\n     */\n\n\n    function TViewNode() {}\n\n    if (false) {}\n    /**\n     * Static data for an LProjectionNode\n     * @record\n     */\n\n\n    function TProjectionNode() {}\n\n    if (false) {} // Note: This hack is necessary so we don't erroneously get a circular dependency\n    // failure based on types.\n\n    /** @type {?} */\n\n\n    var unusedValueExportToPlacateAjd$4 = 1;\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /** @enum {number} */\n\n    var SelectorFlags = {\n      /** Indicates this is the beginning of a new negative selector */\n      NOT: 1,\n\n      /** Mode for matching attributes */\n      ATTRIBUTE: 2,\n\n      /** Mode for matching tag names */\n      ELEMENT: 4,\n\n      /** Mode for matching class names */\n      CLASS: 8\n    }; // Note: This hack is necessary so we don't erroneously get a circular dependency\n    // failure based on types.\n\n    /** @type {?} */\n\n    var unusedValueExportToPlacateAjd$5 = 1;\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n    var unusedValueToPlacateAjd = unusedValueExportToPlacateAjd$4 + unusedValueExportToPlacateAjd$5;\n    /** @type {?} */\n\n    var NG_TEMPLATE_SELECTOR = 'ng-template';\n    /**\n     * @param {?} nodeClassAttrVal\n     * @param {?} cssClassToMatch\n     * @return {?}\n     */\n\n    function isCssClassMatching(nodeClassAttrVal, cssClassToMatch) {\n      /** @type {?} */\n      var nodeClassesLen = nodeClassAttrVal.length;\n      /** @type {?} */\n\n      var matchIndex =\n      /** @type {?} */\n      nodeClassAttrVal.indexOf(cssClassToMatch);\n      /** @type {?} */\n\n      var matchEndIdx = matchIndex + cssClassToMatch.length;\n\n      if (matchIndex === -1 // no match\n      || matchIndex > 0 &&\n      /** @type {?} */\n      nodeClassAttrVal[matchIndex - 1] !== ' ' // no space before\n      || matchEndIdx < nodeClassesLen &&\n      /** @type {?} */\n      nodeClassAttrVal[matchEndIdx] !== ' ') // no space after\n        {\n          return false;\n        }\n\n      return true;\n    }\n    /**\n     * Function that checks whether a given tNode matches tag-based selector and has a valid type.\n     *\n     * Matching can be performed in 2 modes: projection mode (when we project nodes) and regular\n     * directive matching mode:\n     * - in the \"directive matching\" mode we do _not_ take TContainer's tagName into account if it is\n     * different from NG_TEMPLATE_SELECTOR (value different from NG_TEMPLATE_SELECTOR indicates that a\n     * tag name was extracted from * syntax so we would match the same directive twice);\n     * - in the \"projection\" mode, we use a tag name potentially extracted from the * syntax processing\n     * (applicable to TNodeType.Container only).\n     * @param {?} tNode\n     * @param {?} currentSelector\n     * @param {?} isProjectionMode\n     * @return {?}\n     */\n\n\n    function hasTagAndTypeMatch(tNode, currentSelector, isProjectionMode) {\n      /** @type {?} */\n      var tagNameToCompare = tNode.type === 0\n      /* Container */\n      && !isProjectionMode ? NG_TEMPLATE_SELECTOR : tNode.tagName;\n      return currentSelector === tagNameToCompare;\n    }\n    /**\n     * A utility function to match an Ivy node static data against a simple CSS selector\n     *\n     * @param {?} tNode\n     * @param {?} selector The selector to try matching against the node.\n     * @param {?} isProjectionMode if `true` we are matching for content projection, otherwise we are doing\n     * directive matching.\n     * @return {?} true if node matches the selector.\n     */\n\n\n    function isNodeMatchingSelector(tNode, selector, isProjectionMode) {\n      ngDevMode && assertDefined(selector[0], 'Selector should have a tag name');\n      /** @type {?} */\n\n      var mode = 4\n      /* ELEMENT */\n      ;\n      /** @type {?} */\n\n      var nodeAttrs = tNode.attrs || []; // Find the index of first attribute that has no value, only a name.\n\n      /** @type {?} */\n\n      var nameOnlyMarkerIdx = getNameOnlyMarkerIndex(nodeAttrs); // When processing \":not\" selectors, we skip to the next \":not\" if the\n      // current one doesn't match\n\n      /** @type {?} */\n\n      var skipToNextSelector = false;\n\n      for (var i = 0; i < selector.length; i++) {\n        /** @type {?} */\n        var current = selector[i];\n\n        if (typeof current === 'number') {\n          // If we finish processing a :not selector and it hasn't failed, return false\n          if (!skipToNextSelector && !isPositive(mode) && !isPositive(\n          /** @type {?} */\n          current)) {\n            return false;\n          } // If we are skipping to the next :not() and this mode flag is positive,\n          // it's a part of the current :not() selector, and we should keep skipping\n\n\n          if (skipToNextSelector && isPositive(current)) continue;\n          skipToNextSelector = false;\n          mode =\n          /** @type {?} */\n          current | mode & 1\n          /* NOT */\n          ;\n          continue;\n        }\n\n        if (skipToNextSelector) continue;\n\n        if (mode & 4\n        /* ELEMENT */\n        ) {\n            mode = 2\n            /* ATTRIBUTE */\n            | mode & 1\n            /* NOT */\n            ;\n\n            if (current !== '' && !hasTagAndTypeMatch(tNode, current, isProjectionMode) || current === '' && selector.length === 1) {\n              if (isPositive(mode)) return false;\n              skipToNextSelector = true;\n            }\n          } else {\n          /** @type {?} */\n          var selectorAttrValue = mode & 8\n          /* CLASS */\n          ? current : selector[++i]; // special case for matching against classes when a tNode has been instantiated with\n          // class and style values as separate attribute values (e.g. ['title', CLASS, 'foo'])\n\n          if (mode & 8\n          /* CLASS */\n          && tNode.classes) {\n            if (!isCssClassMatching(getInitialStylingValue(tNode.classes),\n            /** @type {?} */\n            selectorAttrValue)) {\n              if (isPositive(mode)) return false;\n              skipToNextSelector = true;\n            }\n\n            continue;\n          }\n          /** @type {?} */\n\n\n          var isInlineTemplate = tNode.type == 0\n          /* Container */\n          && tNode.tagName !== NG_TEMPLATE_SELECTOR;\n          /** @type {?} */\n\n          var attrName = mode & 8\n          /* CLASS */\n          ? 'class' : current;\n          /** @type {?} */\n\n          var attrIndexInNode = findAttrIndexInNode(attrName, nodeAttrs, isInlineTemplate, isProjectionMode);\n\n          if (attrIndexInNode === -1) {\n            if (isPositive(mode)) return false;\n            skipToNextSelector = true;\n            continue;\n          }\n\n          if (selectorAttrValue !== '') {\n            /** @type {?} */\n            var nodeAttrValue = void 0;\n\n            if (attrIndexInNode > nameOnlyMarkerIdx) {\n              nodeAttrValue = '';\n            } else {\n              ngDevMode && assertNotEqual(nodeAttrs[attrIndexInNode], 0\n              /* NamespaceURI */\n              , 'We do not match directives on namespaced attributes');\n              nodeAttrValue =\n              /** @type {?} */\n              nodeAttrs[attrIndexInNode + 1];\n            }\n            /** @type {?} */\n\n\n            var compareAgainstClassName = mode & 8\n            /* CLASS */\n            ? nodeAttrValue : null;\n\n            if (compareAgainstClassName && !isCssClassMatching(compareAgainstClassName,\n            /** @type {?} */\n            selectorAttrValue) || mode & 2\n            /* ATTRIBUTE */\n            && selectorAttrValue !== nodeAttrValue) {\n              if (isPositive(mode)) return false;\n              skipToNextSelector = true;\n            }\n          }\n        }\n      }\n\n      return isPositive(mode) || skipToNextSelector;\n    }\n    /**\n     * @param {?} mode\n     * @return {?}\n     */\n\n\n    function isPositive(mode) {\n      return (mode & 1\n      /* NOT */\n      ) === 0;\n    }\n    /**\n     * Examines the attribute's definition array for a node to find the index of the\n     * attribute that matches the given `name`.\n     *\n     * NOTE: This will not match namespaced attributes.\n     *\n     * Attribute matching depends upon `isInlineTemplate` and `isProjectionMode`.\n     * The following table summarizes which types of attributes we attempt to match:\n     *\n     * ===========================================================================================================\n     * Modes                   | Normal Attributes | Bindings Attributes | Template Attributes | I18n\n     * Attributes\n     * ===========================================================================================================\n     * Inline + Projection     | YES               | YES                 | NO                  | YES\n     * -----------------------------------------------------------------------------------------------------------\n     * Inline + Directive      | NO                | NO                  | YES                 | NO\n     * -----------------------------------------------------------------------------------------------------------\n     * Non-inline + Projection | YES               | YES                 | NO                  | YES\n     * -----------------------------------------------------------------------------------------------------------\n     * Non-inline + Directive  | YES               | YES                 | NO                  | YES\n     * ===========================================================================================================\n     *\n     * @param {?} name the name of the attribute to find\n     * @param {?} attrs the attribute array to examine\n     * @param {?} isInlineTemplate true if the node being matched is an inline template (e.g. `*ngFor`)\n     * rather than a manually expanded template node (e.g `<ng-template>`).\n     * @param {?} isProjectionMode true if we are matching against content projection otherwise we are\n     * matching against directives.\n     * @return {?}\n     */\n\n\n    function findAttrIndexInNode(name, attrs, isInlineTemplate, isProjectionMode) {\n      if (attrs === null) return -1;\n      /** @type {?} */\n\n      var i = 0;\n\n      if (isProjectionMode || !isInlineTemplate) {\n        /** @type {?} */\n        var bindingsMode = false;\n\n        while (i < attrs.length) {\n          /** @type {?} */\n          var maybeAttrName = attrs[i];\n\n          if (maybeAttrName === name) {\n            return i;\n          } else if (maybeAttrName === 3\n          /* Bindings */\n          || maybeAttrName === 6\n          /* I18n */\n          ) {\n              bindingsMode = true;\n            } else if (maybeAttrName === 1\n          /* Classes */\n          ) {\n              /** @type {?} */\n              var value = attrs[++i]; // We should skip classes here because we have a separate mechanism for\n              // matching classes in projection mode.\n\n              while (typeof value === 'string') {\n                value = attrs[++i];\n              }\n\n              continue;\n            } else if (maybeAttrName === 4\n          /* Template */\n          ) {\n              // We do not care about Template attributes in this scenario.\n              break;\n            } else if (maybeAttrName === 0\n          /* NamespaceURI */\n          ) {\n              // Skip the whole namespaced attribute and value. This is by design.\n              i += 4;\n              continue;\n            } // In binding mode there are only names, rather than name-value pairs.\n\n\n          i += bindingsMode ? 1 : 2;\n        } // We did not match the attribute\n\n\n        return -1;\n      } else {\n        return matchTemplateAttribute(attrs, name);\n      }\n    }\n    /**\n     * @param {?} tNode\n     * @param {?} selector\n     * @param {?=} isProjectionMode\n     * @return {?}\n     */\n\n\n    function isNodeMatchingSelectorList(tNode, selector) {\n      var isProjectionMode = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n\n      for (var i = 0; i < selector.length; i++) {\n        if (isNodeMatchingSelector(tNode, selector[i], isProjectionMode)) {\n          return true;\n        }\n      }\n\n      return false;\n    }\n    /**\n     * @param {?} tNode\n     * @return {?}\n     */\n\n\n    function getProjectAsAttrValue(tNode) {\n      /** @type {?} */\n      var nodeAttrs = tNode.attrs;\n\n      if (nodeAttrs != null) {\n        /** @type {?} */\n        var ngProjectAsAttrIdx = nodeAttrs.indexOf(5\n        /* ProjectAs */\n        ); // only check for ngProjectAs in attribute names, don't accidentally match attribute's value\n        // (attribute names are stored at even indexes)\n\n        if ((ngProjectAsAttrIdx & 1) === 0) {\n          return (\n            /** @type {?} */\n            nodeAttrs[ngProjectAsAttrIdx + 1]\n          );\n        }\n      }\n\n      return null;\n    }\n    /**\n     * @param {?} nodeAttrs\n     * @return {?}\n     */\n\n\n    function getNameOnlyMarkerIndex(nodeAttrs) {\n      for (var i = 0; i < nodeAttrs.length; i++) {\n        /** @type {?} */\n        var nodeAttr = nodeAttrs[i];\n\n        if (isNameOnlyAttributeMarker(nodeAttr)) {\n          return i;\n        }\n      }\n\n      return nodeAttrs.length;\n    }\n    /**\n     * @param {?} attrs\n     * @param {?} name\n     * @return {?}\n     */\n\n\n    function matchTemplateAttribute(attrs, name) {\n      /** @type {?} */\n      var i = attrs.indexOf(4\n      /* Template */\n      );\n\n      if (i > -1) {\n        i++;\n\n        while (i < attrs.length) {\n          if (attrs[i] === name) return i;\n          i++;\n        }\n      }\n\n      return -1;\n    }\n    /**\n     * Checks whether a selector is inside a CssSelectorList\n     * @param {?} selector Selector to be checked.\n     * @param {?} list List in which to look for the selector.\n     * @return {?}\n     */\n\n\n    function isSelectorInSelectorList(selector, list) {\n      selectorListLoop: for (var i = 0; i < list.length; i++) {\n        /** @type {?} */\n        var currentSelectorInList = list[i];\n\n        if (selector.length !== currentSelectorInList.length) {\n          continue;\n        }\n\n        for (var j = 0; j < selector.length; j++) {\n          if (selector[j] !== currentSelectorInList[j]) {\n            continue selectorListLoop;\n          }\n        }\n\n        return true;\n      }\n\n      return false;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n    // The first bit value reflects a map-based binding value's bit.\n    // The reason why it's always activated for every entry in the map\n    // is so that if any map-binding values update then all other prop\n    // based bindings will pass the guard check automatically without\n    // any extra code or flags.\n\n    /**\n     * --------\n     *\n     * This file contains the core logic for styling in Angular.\n     *\n     * All styling bindings (i.e. `[style]`, `[style.prop]`, `[class]` and `[class.name]`)\n     * will have their values be applied through the logic in this file.\n     *\n     * When a binding is encountered (e.g. `<div [style.width]=\"w\">`) then\n     * the binding data will be populated into a `TStylingContext` data-structure.\n     * There is only one `TStylingContext` per `TNode` and each element instance\n     * will update its style/class binding values in concert with the styling\n     * context.\n     *\n     * To learn more about the algorithm see `TStylingContext`.\n     *\n     * --------\n     * @type {?}\n     */\n\n\n    var DEFAULT_GUARD_MASK_VALUE = 1;\n    /**\n     * The guard/update mask bit index location for map-based bindings.\n     *\n     * All map-based bindings (i.e. `[style]` and `[class]` )\n     * @type {?}\n     */\n\n    var STYLING_INDEX_FOR_MAP_BINDING = 0;\n    /**\n     * Default fallback value for a styling binding.\n     *\n     * A value of `null` is used here which signals to the styling algorithm that\n     * the styling value is not present. This way if there are no other values\n     * detected then it will be removed once the style/class property is dirty and\n     * diffed within the styling algorithm present in `flushStyling`.\n     * @type {?}\n     */\n\n    var DEFAULT_BINDING_VALUE = null;\n    /**\n     * Default size count value for a new entry in a context.\n     *\n     * A value of `1` is used here because each entry in the context has a default\n     * property.\n     * @type {?}\n     */\n\n    var DEFAULT_SIZE_VALUE = 1;\n    /** @type {?} */\n\n    var deferredBindingQueue = [];\n    /**\n     * Visits a class-based binding and updates the new value (if changed).\n     *\n     * This function is called each time a class-based styling instruction\n     * is executed. It's important that it's always called (even if the value\n     * has not changed) so that the inner counter index value is incremented.\n     * This way, each instruction is always guaranteed to get the same counter\n     * state each time it's called (which then allows the `TStylingContext`\n     * and the bit mask values to be in sync).\n     * @param {?} context\n     * @param {?} data\n     * @param {?} element\n     * @param {?} prop\n     * @param {?} bindingIndex\n     * @param {?} value\n     * @param {?} deferRegistration\n     * @param {?} forceUpdate\n     * @return {?}\n     */\n\n    function updateClassBinding(context, data, element, prop, bindingIndex, value, deferRegistration, forceUpdate) {\n      /** @type {?} */\n      var isMapBased = !prop;\n      /** @type {?} */\n\n      var state = getStylingState(element, stateIsPersisted(context));\n      /** @type {?} */\n\n      var index = isMapBased ? STYLING_INDEX_FOR_MAP_BINDING : state.classesIndex++;\n      /** @type {?} */\n\n      var updated = updateBindingData(context, data, index, prop, bindingIndex, value, deferRegistration, forceUpdate, false);\n\n      if (updated || forceUpdate) {\n        // We flip the bit in the bitMask to reflect that the binding\n        // at the `index` slot has changed. This identifies to the flushing\n        // phase that the bindings for this particular CSS class need to be\n        // applied again because on or more of the bindings for the CSS\n        // class have changed.\n        state.classesBitMask |= 1 << index;\n        return true;\n      }\n\n      return false;\n    }\n    /**\n     * Visits a style-based binding and updates the new value (if changed).\n     *\n     * This function is called each time a style-based styling instruction\n     * is executed. It's important that it's always called (even if the value\n     * has not changed) so that the inner counter index value is incremented.\n     * This way, each instruction is always guaranteed to get the same counter\n     * state each time it's called (which then allows the `TStylingContext`\n     * and the bit mask values to be in sync).\n     * @param {?} context\n     * @param {?} data\n     * @param {?} element\n     * @param {?} prop\n     * @param {?} bindingIndex\n     * @param {?} value\n     * @param {?} sanitizer\n     * @param {?} deferRegistration\n     * @param {?} forceUpdate\n     * @return {?}\n     */\n\n\n    function updateStyleBinding(context, data, element, prop, bindingIndex, value, sanitizer, deferRegistration, forceUpdate) {\n      /** @type {?} */\n      var isMapBased = !prop;\n      /** @type {?} */\n\n      var state = getStylingState(element, stateIsPersisted(context));\n      /** @type {?} */\n\n      var index = isMapBased ? STYLING_INDEX_FOR_MAP_BINDING : state.stylesIndex++;\n      /** @type {?} */\n\n      var sanitizationRequired = isMapBased ? true : sanitizer ? sanitizer(\n      /** @type {?} */\n      prop, null, 1\n      /* ValidateProperty */\n      ) : false;\n      /** @type {?} */\n\n      var updated = updateBindingData(context, data, index, prop, bindingIndex, value, deferRegistration, forceUpdate, sanitizationRequired);\n\n      if (updated || forceUpdate) {\n        // We flip the bit in the bitMask to reflect that the binding\n        // at the `index` slot has changed. This identifies to the flushing\n        // phase that the bindings for this particular property need to be\n        // applied again because on or more of the bindings for the CSS\n        // property have changed.\n        state.stylesBitMask |= 1 << index;\n        return true;\n      }\n\n      return false;\n    }\n    /**\n     * Called each time a binding value has changed within the provided `TStylingContext`.\n     *\n     * This function is designed to be called from `updateStyleBinding` and `updateClassBinding`.\n     * If called during the first update pass, the binding will be registered in the context.\n     * If the binding does get registered and the `deferRegistration` flag is true then the\n     * binding data will be queued up until the context is later flushed in `applyStyling`.\n     *\n     * This function will also update binding slot in the provided `LStylingData` with the\n     * new binding entry (if it has changed).\n     *\n     * @param {?} context\n     * @param {?} data\n     * @param {?} counterIndex\n     * @param {?} prop\n     * @param {?} bindingIndex\n     * @param {?} value\n     * @param {?} deferRegistration\n     * @param {?} forceUpdate\n     * @param {?} sanitizationRequired\n     * @return {?} whether or not the binding value was updated in the `LStylingData`.\n     */\n\n\n    function updateBindingData(context, data, counterIndex, prop, bindingIndex, value, deferRegistration, forceUpdate, sanitizationRequired) {\n      if (!isContextLocked(context)) {\n        if (deferRegistration) {\n          deferBindingRegistration(context, counterIndex, prop, bindingIndex, sanitizationRequired);\n        } else {\n          deferredBindingQueue.length && flushDeferredBindings(); // this will only happen during the first update pass of the\n          // context. The reason why we can't use `tNode.firstTemplatePass`\n          // here is because its not guaranteed to be true when the first\n          // update pass is executed (remember that all styling instructions\n          // are run in the update phase, and, as a result, are no more\n          // styling instructions that are run in the creation phase).\n\n          registerBinding(context, counterIndex, prop, bindingIndex, sanitizationRequired);\n        }\n      }\n      /** @type {?} */\n\n\n      var changed = forceUpdate || hasValueChanged(data[bindingIndex], value);\n\n      if (changed) {\n        data[bindingIndex] = value;\n      }\n\n      return changed;\n    }\n    /**\n     * Schedules a binding registration to be run at a later point.\n     *\n     * The reasoning for this feature is to ensure that styling\n     * bindings are registered in the correct order for when\n     * directives/components have a super/sub class inheritance\n     * chains. Each directive's styling bindings must be\n     * registered into the context in reverse order. Therefore all\n     * bindings will be buffered in reverse order and then applied\n     * after the inheritance chain exits.\n     * @param {?} context\n     * @param {?} counterIndex\n     * @param {?} prop\n     * @param {?} bindingIndex\n     * @param {?} sanitizationRequired\n     * @return {?}\n     */\n\n\n    function deferBindingRegistration(context, counterIndex, prop, bindingIndex, sanitizationRequired) {\n      deferredBindingQueue.unshift(context, counterIndex, prop, bindingIndex, sanitizationRequired);\n    }\n    /**\n     * Flushes the collection of deferred bindings and causes each entry\n     * to be registered into the context.\n     * @return {?}\n     */\n\n\n    function flushDeferredBindings() {\n      /** @type {?} */\n      var i = 0;\n\n      while (i < deferredBindingQueue.length) {\n        /** @type {?} */\n        var context =\n        /** @type {?} */\n        deferredBindingQueue[i++];\n        /** @type {?} */\n\n        var count =\n        /** @type {?} */\n        deferredBindingQueue[i++];\n        /** @type {?} */\n\n        var prop =\n        /** @type {?} */\n        deferredBindingQueue[i++];\n        /** @type {?} */\n\n        var bindingIndex =\n        /** @type {?} */\n        deferredBindingQueue[i++];\n        /** @type {?} */\n\n        var sanitizationRequired =\n        /** @type {?} */\n        deferredBindingQueue[i++];\n        registerBinding(context, count, prop, bindingIndex, sanitizationRequired);\n      }\n\n      deferredBindingQueue.length = 0;\n    }\n    /**\n     * Registers the provided binding (prop + bindingIndex) into the context.\n     *\n     * This function is shared between bindings that are assigned immediately\n     * (via `updateBindingData`) and at a deferred stage. When called, it will\n     * figure out exactly where to place the binding data in the context.\n     *\n     * It is needed because it will either update or insert a styling property\n     * into the context at the correct spot.\n     *\n     * When called, one of two things will happen:\n     *\n     * 1) If the property already exists in the context then it will just add\n     *    the provided `bindingValue` to the end of the binding sources region\n     *    for that particular property.\n     *\n     *    - If the binding value is a number then it will be added as a new\n     *      binding index source next to the other binding sources for the property.\n     *\n     *    - Otherwise, if the binding value is a string/boolean/null type then it will\n     *      replace the default value for the property if the default value is `null`.\n     *\n     * 2) If the property does not exist then it will be inserted into the context.\n     *    The styling context relies on all properties being stored in alphabetical\n     *    order, so it knows exactly where to store it.\n     *\n     *    When inserted, a default `null` value is created for the property which exists\n     *    as the default value for the binding. If the bindingValue property is inserted\n     *    and it is either a string, number or null value then that will replace the default\n     *    value.\n     *\n     * Note that this function is also used for map-based styling bindings. They are treated\n     * much the same as prop-based bindings, but, because they do not have a property value\n     * (since it's a map), all map-based entries are stored in an already populated area of\n     * the context at the top (which is reserved for map-based entries).\n     * @param {?} context\n     * @param {?} countId\n     * @param {?} prop\n     * @param {?} bindingValue\n     * @param {?=} sanitizationRequired\n     * @return {?}\n     */\n\n\n    function registerBinding(context, countId, prop, bindingValue, sanitizationRequired) {\n      /** @type {?} */\n      var registered = false;\n\n      if (prop) {\n        // prop-based bindings (e.g `<div [style.width]=\"w\" [class.foo]=\"f\">`)\n\n        /** @type {?} */\n        var found = false;\n        /** @type {?} */\n\n        var i = getPropValuesStartPosition(context);\n\n        while (i < context.length) {\n          /** @type {?} */\n          var valuesCount = getValuesCount(context, i);\n          /** @type {?} */\n\n          var p = getProp(context, i);\n          found = prop <= p;\n\n          if (found) {\n            // all style/class bindings are sorted by property name\n            if (prop < p) {\n              allocateNewContextEntry(context, i, prop, sanitizationRequired);\n            }\n\n            addBindingIntoContext(context, false, i, bindingValue, countId);\n            break;\n          }\n\n          i += 3\n          /* BindingsStartOffset */\n          + valuesCount;\n        }\n\n        if (!found) {\n          allocateNewContextEntry(context, context.length, prop, sanitizationRequired);\n          addBindingIntoContext(context, false, i, bindingValue, countId);\n          registered = true;\n        }\n      } else {\n        // map-based bindings (e.g `<div [style]=\"s\" [class]=\"{className:true}\">`)\n        // there is no need to allocate the map-based binding region into the context\n        // since it is already there when the context is first created.\n        addBindingIntoContext(context, true, 3\n        /* MapBindingsPosition */\n        , bindingValue, countId);\n        registered = true;\n      }\n\n      return registered;\n    }\n    /**\n     * @param {?} context\n     * @param {?} index\n     * @param {?} prop\n     * @param {?=} sanitizationRequired\n     * @return {?}\n     */\n\n\n    function allocateNewContextEntry(context, index, prop, sanitizationRequired) {\n      // 1,2: splice index locations\n      // 3: each entry gets a config value (guard mask + flags)\n      // 4. each entry gets a size value (which is always one because there is always a default binding\n      // value)\n      // 5. the property that is getting allocated into the context\n      // 6. the default binding value (usually `null`)\n\n      /** @type {?} */\n      var config = sanitizationRequired ? 1\n      /* SanitizationRequired */\n      : 0\n      /* Default */\n      ;\n      context.splice(index, 0, config, DEFAULT_SIZE_VALUE, prop, DEFAULT_BINDING_VALUE);\n      setGuardMask(context, index, DEFAULT_GUARD_MASK_VALUE);\n    }\n    /**\n     * Inserts a new binding value into a styling property tuple in the `TStylingContext`.\n     *\n     * A bindingValue is inserted into a context during the first update pass\n     * of a template or host bindings function. When this occurs, two things\n     * happen:\n     *\n     * - If the bindingValue value is a number then it is treated as a bindingIndex\n     *   value (a index in the `LView`) and it will be inserted next to the other\n     *   binding index entries.\n     *\n     * - Otherwise the binding value will update the default value for the property\n     *   and this will only happen if the default value is `null`.\n     *\n     * Note that this function also handles map-based bindings and will insert them\n     * at the top of the context.\n     * @param {?} context\n     * @param {?} isMapBased\n     * @param {?} index\n     * @param {?} bindingValue\n     * @param {?} countId\n     * @return {?}\n     */\n\n\n    function addBindingIntoContext(context, isMapBased, index, bindingValue, countId) {\n      /** @type {?} */\n      var valuesCount = getValuesCount(context, index);\n      /** @type {?} */\n\n      var firstValueIndex = index + 3\n      /* BindingsStartOffset */\n      ;\n      /** @type {?} */\n\n      var lastValueIndex = firstValueIndex + valuesCount;\n\n      if (!isMapBased) {\n        // prop-based values all have default values, but map-based entries do not.\n        // we want to access the index for the default value in this case and not just\n        // the bindings...\n        lastValueIndex--;\n      }\n\n      if (typeof bindingValue === 'number') {\n        // the loop here will check to see if the binding already exists\n        // for the property in the context. Why? The reason for this is\n        // because the styling context is not \"locked\" until the first\n        // flush has occurred. This means that if a repeated element\n        // registers its styling bindings then it will register each\n        // binding more than once (since its duplicated). This check\n        // will prevent that from happening. Note that this only happens\n        // when a binding is first encountered and not each time it is\n        // updated.\n        for (var i = firstValueIndex; i <= lastValueIndex; i++) {\n          /** @type {?} */\n          var indexAtPosition = context[i];\n          if (indexAtPosition === bindingValue) return;\n        }\n\n        context.splice(lastValueIndex, 0, bindingValue);\n        /** @type {?} */context[index + 1 /* ValuesCountOffset */]++; // now that a new binding index has been added to the property\n        // the guard mask bit value (at the `countId` position) needs\n        // to be included into the existing mask value.\n\n        /** @type {?} */\n\n        var guardMask = getGuardMask(context, index) | 1 << countId;\n        setGuardMask(context, index, guardMask);\n      } else if (bindingValue !== null && context[lastValueIndex] == null) {\n        context[lastValueIndex] = bindingValue;\n      }\n    }\n    /**\n     * Applies all pending style and class bindings to the provided element.\n     *\n     * This function will attempt to flush styling via the provided `classesContext`\n     * and `stylesContext` context values. This function is designed to be run from\n     * the `stylingApply()` instruction (which is run at the very end of styling\n     * change detection) and will rely on any state values that are set from when\n     * any styling bindings update.\n     *\n     * This function may be called multiple times on the same element because it can\n     * be called from the template code as well as from host bindings. In order for\n     * styling to be successfully flushed to the element (which will only happen once\n     * despite this being called multiple times), the following criteria must be met:\n     *\n     * - `flushStyling` is called from the very last directive that has styling for\n     *    the element (see `allowStylingFlush()`).\n     * - one or more bindings for classes or styles has updated (this is checked by\n     *   examining the classes or styles bit mask).\n     *\n     * If the style and class values are successfully applied to the element then\n     * the temporary state values for the element will be cleared. Otherwise, if\n     * this did not occur then the styling state is persisted (see `state.ts` for\n     * more information on how this works).\n     * @param {?} renderer\n     * @param {?} data\n     * @param {?} classesContext\n     * @param {?} stylesContext\n     * @param {?} element\n     * @param {?} directiveIndex\n     * @param {?} styleSanitizer\n     * @return {?}\n     */\n\n\n    function flushStyling(renderer, data, classesContext, stylesContext, element, directiveIndex, styleSanitizer) {\n      ngDevMode && ngDevMode.flushStyling++;\n      /** @type {?} */\n\n      var persistState = classesContext ? stateIsPersisted(classesContext) : stylesContext ? stateIsPersisted(stylesContext) : false;\n      /** @type {?} */\n\n      var allowFlushClasses = allowStylingFlush(classesContext, directiveIndex);\n      /** @type {?} */\n\n      var allowFlushStyles = allowStylingFlush(stylesContext, directiveIndex); // deferred bindings are bindings which are scheduled to register with\n      // the context at a later point. These bindings can only registered when\n      // the context will be 100% flushed to the element.\n\n      if (deferredBindingQueue.length && (allowFlushClasses || allowFlushStyles)) {\n        flushDeferredBindings();\n      }\n      /** @type {?} */\n\n\n      var state = getStylingState(element, persistState);\n      /** @type {?} */\n\n      var classesFlushed = maybeApplyStyling(renderer, element, data, classesContext, allowFlushClasses, state.classesBitMask, setClass, null);\n      /** @type {?} */\n\n      var stylesFlushed = maybeApplyStyling(renderer, element, data, stylesContext, allowFlushStyles, state.stylesBitMask, setStyle, styleSanitizer);\n\n      if (classesFlushed && stylesFlushed) {\n        resetStylingState();\n\n        if (persistState) {\n          deleteStylingStateFromStorage(element);\n        }\n      } else if (persistState) {\n        storeStylingState(element, state);\n      }\n    }\n    /**\n     * @param {?} renderer\n     * @param {?} element\n     * @param {?} data\n     * @param {?} context\n     * @param {?} allowFlush\n     * @param {?} bitMask\n     * @param {?} styleSetter\n     * @param {?} styleSanitizer\n     * @return {?}\n     */\n\n\n    function maybeApplyStyling(renderer, element, data, context, allowFlush, bitMask, styleSetter, styleSanitizer) {\n      if (allowFlush && context) {\n        lockAndFinalizeContext(context);\n\n        if (contextHasUpdates(context, bitMask)) {\n          ngDevMode && (styleSanitizer ? ngDevMode.stylesApplied++ : ngDevMode.classesApplied++);\n          applyStyling(\n          /** @type {?} */\n          context, renderer, element, data, bitMask, styleSetter, styleSanitizer);\n          return true;\n        }\n      }\n\n      return allowFlush;\n    }\n    /**\n     * @param {?} context\n     * @param {?} bitMask\n     * @return {?}\n     */\n\n\n    function contextHasUpdates(context, bitMask) {\n      return context && bitMask > BIT_MASK_START_VALUE;\n    }\n    /**\n     * Locks the context (so no more bindings can be added) and also copies over initial class/style\n     * values into their binding areas.\n     *\n     * There are two main actions that take place in this function:\n     *\n     * - Locking the context:\n     *   Locking the context is required so that the style/class instructions know NOT to\n     *   register a binding again after the first update pass has run. If a locking bit was\n     *   not used then it would need to scan over the context each time an instruction is run\n     *   (which is expensive).\n     *\n     * - Patching initial values:\n     *   Directives and component host bindings may include static class/style values which are\n     *   bound to the host element. When this happens, the styling context will need to be informed\n     *   so it can use these static styling values as defaults when a matching binding is falsy.\n     *   These initial styling values are read from the initial styling values slot within the\n     *   provided `TStylingContext` (which is an instance of a `StylingMapArray`). This inner map will\n     *   be updated each time a host binding applies its static styling values (via `elementHostAttrs`)\n     *   so these values are only read at this point because this is the very last point before the\n     *   first style/class values are flushed to the element.\n     * @param {?} context\n     * @return {?}\n     */\n\n\n    function lockAndFinalizeContext(context) {\n      if (!isContextLocked(context)) {\n        /** @type {?} */\n        var initialValues = getStylingMapArray(context);\n\n        if (initialValues) {\n          updateInitialStylingOnContext(context, initialValues);\n        }\n\n        lockContext(context);\n      }\n    }\n    /**\n     * Runs through the provided styling context and applies each value to\n     * the provided element (via the renderer) if one or more values are present.\n     *\n     * This function will iterate over all entries present in the provided\n     * `TStylingContext` array (both prop-based and map-based bindings).-\n     *\n     * Each entry, within the `TStylingContext` array, is stored alphabetically\n     * and this means that each prop/value entry will be applied in order\n     * (so long as it is marked dirty in the provided `bitMask` value).\n     *\n     * If there are any map-based entries present (which are applied to the\n     * element via the `[style]` and `[class]` bindings) then those entries\n     * will be applied as well. However, the code for that is not a part of\n     * this function. Instead, each time a property is visited, then the\n     * code below will call an external function called `stylingMapsSyncFn`\n     * and, if present, it will keep the application of styling values in\n     * map-based bindings up to sync with the application of prop-based\n     * bindings.\n     *\n     * Visit `styling_next/map_based_bindings.ts` to learn more about how the\n     * algorithm works for map-based styling bindings.\n     *\n     * Note that this function is not designed to be called in isolation (use\n     * `applyClasses` and `applyStyles` to actually apply styling values).\n     * @param {?} context\n     * @param {?} renderer\n     * @param {?} element\n     * @param {?} bindingData\n     * @param {?} bitMaskValue\n     * @param {?} applyStylingFn\n     * @param {?} sanitizer\n     * @return {?}\n     */\n\n\n    function applyStyling(context, renderer, element, bindingData, bitMaskValue, applyStylingFn, sanitizer) {\n      /** @type {?} */\n      var bitMask = normalizeBitMaskValue(bitMaskValue);\n      /** @type {?} */\n\n      var stylingMapsSyncFn = getStylingMapsSyncFn();\n      /** @type {?} */\n\n      var mapsGuardMask = getGuardMask(context, 3\n      /* MapBindingsPosition */\n      );\n      /** @type {?} */\n\n      var applyAllValues = (bitMask & mapsGuardMask) > 0;\n      /** @type {?} */\n\n      var mapsMode = applyAllValues ? 1\n      /* ApplyAllValues */\n      : 0\n      /* TraverseValues */\n      ;\n      /** @type {?} */\n\n      var i = getPropValuesStartPosition(context);\n\n      while (i < context.length) {\n        /** @type {?} */\n        var valuesCount = getValuesCount(context, i);\n        /** @type {?} */\n\n        var guardMask = getGuardMask(context, i);\n\n        if (bitMask & guardMask) {\n          /** @type {?} */\n          var valueApplied = false;\n          /** @type {?} */\n\n          var prop = getProp(context, i);\n          /** @type {?} */\n\n          var valuesCountUpToDefault = valuesCount - 1;\n          /** @type {?} */\n\n          var defaultValue =\n          /** @type {?} */\n          getBindingValue(context, i, valuesCountUpToDefault); // case 1: apply prop-based values\n          // try to apply the binding values and see if a non-null\n          // value gets set for the styling binding\n\n          for (var j = 0; j < valuesCountUpToDefault; j++) {\n            /** @type {?} */\n            var bindingIndex =\n            /** @type {?} */\n            getBindingValue(context, i, j);\n            /** @type {?} */\n\n            var value = bindingData[bindingIndex];\n\n            if (isStylingValueDefined(value)) {\n              /** @type {?} */\n              var finalValue = sanitizer && isSanitizationRequired(context, i) ? sanitizer(prop, value, 2\n              /* SanitizeOnly */\n              ) : value;\n              applyStylingFn(renderer, element, prop, finalValue, bindingIndex);\n              valueApplied = true;\n              break;\n            }\n          } // case 2: apply map-based values\n          // traverse through each map-based styling binding and update all values up to\n          // the provided `prop` value. If the property was not applied in the loop above\n          // then it will be attempted to be applied in the maps sync code below.\n\n\n          if (stylingMapsSyncFn) {\n            // determine whether or not to apply the target property or to skip it\n\n            /** @type {?} */\n            var mode = mapsMode | (valueApplied ? 4\n            /* SkipTargetProp */\n            : 2\n            /* ApplyTargetProp */\n            );\n            /** @type {?} */\n\n            var valueAppliedWithinMap = stylingMapsSyncFn(context, renderer, element, bindingData, applyStylingFn, sanitizer, mode, prop, defaultValue);\n            valueApplied = valueApplied || valueAppliedWithinMap;\n          } // case 3: apply the default value\n          // if the value has not yet been applied then a truthy value does not exist in the\n          // prop-based or map-based bindings code. If and when this happens, just apply the\n          // default value (even if the default value is `null`).\n\n\n          if (!valueApplied) {\n            applyStylingFn(renderer, element, prop, defaultValue);\n          }\n        }\n\n        i += 3\n        /* BindingsStartOffset */\n        + valuesCount;\n      } // the map-based styling entries may have not applied all their\n      // values. For this reason, one more call to the sync function\n      // needs to be issued at the end.\n\n\n      if (stylingMapsSyncFn) {\n        stylingMapsSyncFn(context, renderer, element, bindingData, applyStylingFn, sanitizer, mapsMode);\n      }\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function normalizeBitMaskValue(value) {\n      // if pass => apply all values (-1 implies that all bits are flipped to true)\n      if (value === true) return -1; // if pass => skip all values\n\n      if (value === false) return 0; // return the bit mask value as is\n\n      return value;\n    }\n    /** @type {?} */\n\n\n    var _activeStylingMapApplyFn = null;\n    /**\n     * @return {?}\n     */\n\n    function getStylingMapsSyncFn() {\n      return _activeStylingMapApplyFn;\n    }\n    /**\n     * @param {?} fn\n     * @return {?}\n     */\n\n\n    function setStylingMapsSyncFn(fn) {\n      _activeStylingMapApplyFn = fn;\n    }\n    /**\n     * Assigns a style value to a style property for the given element.\n     * @type {?}\n     */\n\n\n    var setStyle =\n    /**\n    * @param {?} renderer\n    * @param {?} native\n    * @param {?} prop\n    * @param {?} value\n    * @return {?}\n    */\n    function setStyle(renderer, native, prop, value) {\n      // the reason why this may be `null` is either because\n      // it's a container element or it's a part of a test\n      // environment that doesn't have styling. In either\n      // case it's safe not to apply styling to the element.\n\n      /** @type {?} */\n      var nativeStyle = native.style;\n\n      if (value) {\n        // opacity, z-index and flexbox all have number values\n        // and these need to be converted into strings so that\n        // they can be assigned properly.\n        value = value.toString();\n        ngDevMode && ngDevMode.rendererSetStyle++;\n        renderer && isProceduralRenderer(renderer) ? renderer.setStyle(native, prop, value, RendererStyleFlags3.DashCase) : nativeStyle && nativeStyle.setProperty(prop, value);\n      } else {\n        ngDevMode && ngDevMode.rendererRemoveStyle++;\n        renderer && isProceduralRenderer(renderer) ? renderer.removeStyle(native, prop, RendererStyleFlags3.DashCase) : nativeStyle && nativeStyle.removeProperty(prop);\n      }\n    };\n\n    var ɵ0$4 = setStyle;\n    /**\n     * Adds/removes the provided className value to the provided element.\n     * @type {?}\n     */\n\n    var setClass =\n    /**\n    * @param {?} renderer\n    * @param {?} native\n    * @param {?} className\n    * @param {?} value\n    * @return {?}\n    */\n    function setClass(renderer, native, className, value) {\n      if (className !== '') {\n        // the reason why this may be `null` is either because\n        // it's a container element or it's a part of a test\n        // environment that doesn't have styling. In either\n        // case it's safe not to apply styling to the element.\n\n        /** @type {?} */\n        var classList = native.classList;\n\n        if (value) {\n          ngDevMode && ngDevMode.rendererAddClass++;\n          renderer && isProceduralRenderer(renderer) ? renderer.addClass(native, className) : classList && classList.add(className);\n        } else {\n          ngDevMode && ngDevMode.rendererRemoveClass++;\n          renderer && isProceduralRenderer(renderer) ? renderer.removeClass(native, className) : classList && classList.remove(className);\n        }\n      }\n    };\n\n    var ɵ1$1 = setClass;\n    /**\n     * Iterates over all provided styling entries and renders them on the element.\n     *\n     * This function is used alongside a `StylingMapArray` entry. This entry is not\n     * the same as the `TStylingContext` and is only really used when an element contains\n     * initial styling values (e.g. `<div style=\"width:200px\">`), but no style/class bindings\n     * are present. If and when that happens then this function will be called to render all\n     * initial styling values on an element.\n     * @param {?} renderer\n     * @param {?} element\n     * @param {?} stylingValues\n     * @param {?} isClassBased\n     * @return {?}\n     */\n\n    function renderStylingMap(renderer, element, stylingValues, isClassBased) {\n      /** @type {?} */\n      var stylingMapArr = getStylingMapArray(stylingValues);\n\n      if (stylingMapArr) {\n        for (var i = 1\n        /* ValuesStartPosition */\n        ; i < stylingMapArr.length; i += 2\n        /* TupleSize */\n        ) {\n          /** @type {?} */\n          var prop = getMapProp(stylingMapArr, i);\n          /** @type {?} */\n\n          var value = getMapValue(stylingMapArr, i);\n\n          if (isClassBased) {\n            setClass(renderer, element, prop, value, null);\n          } else {\n            setStyle(renderer, element, prop, value, null);\n          }\n        }\n      }\n    }\n    /**\n     * Registers all initial styling entries into the provided context.\n     *\n     * This function will iterate over all entries in the provided `initialStyling` ar}ray and register\n     * them as default (initial) values in the provided context. Initial styling values in a context are\n     * the default values that are to be applied unless overwritten by a binding.\n     *\n     * The reason why this function exists and isn't a part of the context construction is because\n     * host binding is evaluated at a later stage after the element is created. This means that\n     * if a directive or component contains any initial styling code (i.e. `<div class=\"foo\">`)\n     * then that initial styling data can only be applied once the styling for that element\n     * is first applied (at the end of the update phase). Once that happens then the context will\n     * update itself with the complete initial styling for the element.\n     * @param {?} context\n     * @param {?} initialStyling\n     * @return {?}\n     */\n\n\n    function updateInitialStylingOnContext(context, initialStyling) {\n      // `-1` is used here because all initial styling data is not a spart\n      // of a binding (since it's static)\n\n      /** @type {?} */\n      var INITIAL_STYLING_COUNT_ID = -1;\n\n      for (var i = 1\n      /* ValuesStartPosition */\n      ; i < initialStyling.length; i += 2\n      /* TupleSize */\n      ) {\n        /** @type {?} */\n        var value = getMapValue(initialStyling, i);\n\n        if (value) {\n          /** @type {?} */\n          var prop = getMapProp(initialStyling, i);\n          registerBinding(context, INITIAL_STYLING_COUNT_ID, prop, value, false);\n        }\n      }\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n    // WARNING: interface has both a type and a value, skipping emit\n\n    /**\n     * A special value which designates that a value has not changed.\n     * @type {?}\n     */\n\n\n    var NO_CHANGE =\n    /** @type {?} */\n    {};\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /** @enum {number} */\n\n    var I18nMutateOpCode = {\n      /**\n       * Stores shift amount for bits 17-3 that contain reference index.\n       */\n      SHIFT_REF: 3,\n\n      /**\n       * Stores shift amount for bits 31-17 that contain parent index.\n       */\n      SHIFT_PARENT: 17,\n\n      /**\n       * Mask for OpCode\n       */\n      MASK_OPCODE: 7,\n\n      /**\n       * OpCode to select a node. (next OpCode will contain the operation.)\n       */\n      Select: 0,\n\n      /**\n       * OpCode to append the current node to `PARENT`.\n       */\n      AppendChild: 1,\n\n      /**\n       * OpCode to remove the `REF` node from `PARENT`.\n       */\n      Remove: 3,\n\n      /**\n       * OpCode to set the attribute of a node.\n       */\n      Attr: 4,\n\n      /**\n       * OpCode to simulate elementEnd()\n       */\n      ElementEnd: 5,\n\n      /**\n       * OpCode to read the remove OpCodes for the nested ICU\n       */\n      RemoveNestedIcu: 6\n    };\n    /**\n     * Marks that the next string is for element.\n     *\n     * See `I18nMutateOpCodes` documentation.\n     * @type {?}\n     */\n\n    var ELEMENT_MARKER = {\n      marker: 'element'\n    }; // WARNING: interface has both a type and a value, skipping emit\n\n    /**\n     * Marks that the next string is for comment.\n     *\n     * See `I18nMutateOpCodes` documentation.\n     * @type {?}\n     */\n\n    var COMMENT_MARKER = {\n      marker: 'comment'\n    }; // WARNING: interface has both a type and a value, skipping emit\n\n    /**\n     * Array storing OpCode for dynamically creating `i18n` blocks.\n     *\n     * Example:\n     * ```ts\n     * <I18nCreateOpCode>[\n     *   // For adding text nodes\n     *   // ---------------------\n     *   // Equivalent to:\n     *   //   const node = lView[index++] = document.createTextNode('abc');\n     *   //   lView[1].insertBefore(node, lView[2]);\n     *   'abc', 1 << SHIFT_PARENT | 2 << SHIFT_REF | InsertBefore,\n     *\n     *   // Equivalent to:\n     *   //   const node = lView[index++] = document.createTextNode('xyz');\n     *   //   lView[1].appendChild(node);\n     *   'xyz', 1 << SHIFT_PARENT | AppendChild,\n     *\n     *   // For adding element nodes\n     *   // ---------------------\n     *   // Equivalent to:\n     *   //   const node = lView[index++] = document.createElement('div');\n     *   //   lView[1].insertBefore(node, lView[2]);\n     *   ELEMENT_MARKER, 'div', 1 << SHIFT_PARENT | 2 << SHIFT_REF | InsertBefore,\n     *\n     *   // Equivalent to:\n     *   //   const node = lView[index++] = document.createElement('div');\n     *   //   lView[1].appendChild(node);\n     *   ELEMENT_MARKER, 'div', 1 << SHIFT_PARENT | AppendChild,\n     *\n     *   // For adding comment nodes\n     *   // ---------------------\n     *   // Equivalent to:\n     *   //   const node = lView[index++] = document.createComment('');\n     *   //   lView[1].insertBefore(node, lView[2]);\n     *   COMMENT_MARKER, '', 1 << SHIFT_PARENT | 2 << SHIFT_REF | InsertBefore,\n     *\n     *   // Equivalent to:\n     *   //   const node = lView[index++] = document.createComment('');\n     *   //   lView[1].appendChild(node);\n     *   COMMENT_MARKER, '', 1 << SHIFT_PARENT | AppendChild,\n     *\n     *   // For moving existing nodes to a different location\n     *   // --------------------------------------------------\n     *   // Equivalent to:\n     *   //   const node = lView[1];\n     *   //   lView[2].insertBefore(node, lView[3]);\n     *   1 << SHIFT_REF | Select, 2 << SHIFT_PARENT | 3 << SHIFT_REF | InsertBefore,\n     *\n     *   // Equivalent to:\n     *   //   const node = lView[1];\n     *   //   lView[2].appendChild(node);\n     *   1 << SHIFT_REF | Select, 2 << SHIFT_PARENT | AppendChild,\n     *\n     *   // For removing existing nodes\n     *   // --------------------------------------------------\n     *   //   const node = lView[1];\n     *   //   removeChild(tView.data(1), node, lView);\n     *   1 << SHIFT_REF | Remove,\n     *\n     *   // For writing attributes\n     *   // --------------------------------------------------\n     *   //   const node = lView[1];\n     *   //   node.setAttribute('attr', 'value');\n     *   1 << SHIFT_REF | Select, 'attr', 'value'\n     *            // NOTE: Select followed by two string (vs select followed by OpCode)\n     * ];\n     * ```\n     * NOTE:\n     *   - `index` is initial location where the extra nodes should be stored in the EXPANDO section of\n     * `LVIewData`.\n     *\n     * See: `applyI18nCreateOpCodes`;\n     * @record\n     */\n\n    function I18nMutateOpCodes() {}\n    /** @enum {number} */\n\n\n    var I18nUpdateOpCode = {\n      /**\n       * Stores shift amount for bits 17-2 that contain reference index.\n       */\n      SHIFT_REF: 2,\n\n      /**\n       * Mask for OpCode\n       */\n      MASK_OPCODE: 3,\n\n      /**\n       * OpCode to update a text node.\n       */\n      Text: 0,\n\n      /**\n       * OpCode to update a attribute of a node.\n       */\n      Attr: 1,\n\n      /**\n       * OpCode to switch the current ICU case.\n       */\n      IcuSwitch: 2,\n\n      /**\n       * OpCode to update the current ICU case.\n       */\n      IcuUpdate: 3\n    };\n    /**\n     * Stores DOM operations which need to be applied to update DOM render tree due to changes in\n     * expressions.\n     *\n     * The basic idea is that `i18nExp` OpCodes capture expression changes and update a change\n     * mask bit. (Bit 1 for expression 1, bit 2 for expression 2 etc..., bit 32 for expression 32 and\n     * higher.) The OpCodes then compare its own change mask against the expression change mask to\n     * determine if the OpCodes should execute.\n     *\n     * These OpCodes can be used by both the i18n block as well as ICU sub-block.\n     *\n     * ## Example\n     *\n     * Assume\n     * ```ts\n     *   if (rf & RenderFlags.Update) {\n     *    i18nExp(bind(ctx.exp1)); // If changed set mask bit 1\n     *    i18nExp(bind(ctx.exp2)); // If changed set mask bit 2\n     *    i18nExp(bind(ctx.exp3)); // If changed set mask bit 3\n     *    i18nExp(bind(ctx.exp4)); // If changed set mask bit 4\n     *    i18nApply(0);            // Apply all changes by executing the OpCodes.\n     *  }\n     * ```\n     * We can assume that each call to `i18nExp` sets an internal `changeMask` bit depending on the\n     * index of `i18nExp`.\n     *\n     * ### OpCodes\n     * ```ts\n     * <I18nUpdateOpCodes>[\n     *   // The following OpCodes represent: `<div i18n-title=\"pre{{exp1}}in{{exp2}}post\">`\n     *   // If `changeMask & 0b11`\n     *   //        has changed then execute update OpCodes.\n     *   //        has NOT changed then skip `7` values and start processing next OpCodes.\n     *   0b11, 7,\n     *   // Concatenate `newValue = 'pre'+lView[bindIndex-4]+'in'+lView[bindIndex-3]+'post';`.\n     *   'pre', -4, 'in', -3, 'post',\n     *   // Update attribute: `elementAttribute(1, 'title', sanitizerFn(newValue));`\n     *   1 << SHIFT_REF | Attr, 'title', sanitizerFn,\n     *\n     *   // The following OpCodes represent: `<div i18n>Hello {{exp3}}!\">`\n     *   // If `changeMask & 0b100`\n     *   //        has changed then execute update OpCodes.\n     *   //        has NOT changed then skip `4` values and start processing next OpCodes.\n     *   0b100, 4,\n     *   // Concatenate `newValue = 'Hello ' + lView[bindIndex -2] + '!';`.\n     *   'Hello ', -2, '!',\n     *   // Update text: `lView[1].textContent = newValue;`\n     *   1 << SHIFT_REF | Text,\n     *\n     *   // The following OpCodes represent: `<div i18n>{exp4, plural, ... }\">`\n     *   // If `changeMask & 0b1000`\n     *   //        has changed then execute update OpCodes.\n     *   //        has NOT changed then skip `4` values and start processing next OpCodes.\n     *   0b1000, 4,\n     *   // Concatenate `newValue = lView[bindIndex -1];`.\n     *   -1,\n     *   // Switch ICU: `icuSwitchCase(lView[1], 0, newValue);`\n     *   0 << SHIFT_ICU | 1 << SHIFT_REF | IcuSwitch,\n     *\n     *   // Note `changeMask & -1` is always true, so the IcuUpdate will always execute.\n     *   -1, 1,\n     *   // Update ICU: `icuUpdateCase(lView[1], 0);`\n     *   0 << SHIFT_ICU | 1 << SHIFT_REF | IcuUpdate,\n     *\n     * ];\n     * ```\n     *\n     * @record\n     */\n\n    function I18nUpdateOpCodes() {}\n    /**\n     * Store information for the i18n translation block.\n     * @record\n     */\n\n\n    function TI18n() {}\n\n    if (false) {}\n    /** @enum {number} */\n\n\n    var IcuType = {\n      select: 0,\n      plural: 1\n    };\n    /**\n     * @record\n     */\n\n    function TIcu() {}\n\n    if (false) {} // Note: This hack is necessary so we don't erroneously get a circular dependency\n    // failure based on types.\n\n    /** @type {?} */\n\n\n    var unusedValueExportToPlacateAjd$6 = 1;\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     * @param {?} obj\n     * @param {?} debug\n     * @return {?}\n     */\n\n    function attachDebugObject(obj, debug) {\n      Object.defineProperty(obj, 'debug', {\n        value: debug,\n        enumerable: false\n      });\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Used to apply styling values presently within any map-based bindings on an element.\n     *\n     * Angular supports map-based styling bindings which can be applied via the\n     * `[style]` and `[class]` bindings which can be placed on any HTML element.\n     * These bindings can work independently, together or alongside prop-based\n     * styling bindings (e.g. `<div [style]=\"x\" [style.width]=\"w\">`).\n     *\n     * If a map-based styling binding is detected by the compiler, the following\n     * AOT code is produced:\n     *\n     * ```typescript\n     * styleMap(ctx.styles); // styles = {key:value}\n     * classMap(ctx.classes); // classes = {key:value}|string\n     * ```\n     *\n     * If and when either of the instructions above are evaluated, then the code\n     * present in this file is included into the bundle. The mechanism used, to\n     * activate support for map-based bindings at runtime is possible via the\n     * `activeStylingMapFeature` function (which is also present in this file).\n     *\n     * # The Algorithm\n     * Whenever a map-based binding updates (which is when the identity of the\n     * map-value changes) then the map is iterated over and a `StylingMapArray` array\n     * is produced. The `StylingMapArray` instance is stored in the binding location\n     * where the `BINDING_INDEX` is situated when the `styleMap()` or `classMap()`\n     * instruction were called. Once the binding changes, then the internal `bitMask`\n     * value is marked as dirty.\n     *\n     * Styling values are applied once CD exits the element (which happens when\n     * the `select(n)` instruction is called or the template function exits). When\n     * this occurs, all prop-based bindings are applied. If a map-based binding is\n     * present then a special flushing function (called a sync function) is made\n     * available and it will be called each time a styling property is flushed.\n     *\n     * The flushing algorithm is designed to apply styling for a property (which is\n     * a CSS property or a className value) one by one. If map-based bindings\n     * are present, then the flushing algorithm will keep calling the maps styling\n     * sync function each time a property is visited. This way, the flushing\n     * behavior of map-based bindings will always be at the same property level\n     * as the current prop-based property being iterated over (because everything\n     * is alphabetically sorted).\n     *\n     * Let's imagine we have the following HTML template code:\n     *\n     * ```html\n     * <div [style]=\"{width:'100px', height:'200px', 'z-index':'10'}\"\n     *      [style.width.px]=\"200\">...</div>\n     * ```\n     *\n     * When CD occurs, both the `[style]` and `[style.width]` bindings\n     * are evaluated. Then when the styles are flushed on screen, the\n     * following operations happen:\n     *\n     * 1. `[style.width]` is attempted to be written to the element.\n     *\n     * 2.  Once that happens, the algorithm instructs the map-based\n     *     entries (`[style]` in this case) to \"catch up\" and apply\n     *     all values up to the `width` value. When this happens the\n     *     `height` value is applied to the element (since it is\n     *     alphabetically situated before the `width` property).\n     *\n     * 3. Since there are no more prop-based entries anymore, the\n     *    loop exits and then, just before the flushing ends, it\n     *    instructs all map-based bindings to \"finish up\" applying\n     *    their values.\n     *\n     * 4. The only remaining value within the map-based entries is\n     *    the `z-index` value (`width` got skipped because it was\n     *    successfully applied via the prop-based `[style.width]`\n     *    binding). Since all map-based entries are told to \"finish up\",\n     *    the `z-index` value is iterated over and it is then applied\n     *    to the element.\n     *\n     * The most important thing to take note of here is that prop-based\n     * bindings are evaluated in order alongside map-based bindings.\n     * This allows all styling across an element to be applied in O(n)\n     * time (a similar algorithm is that of the array merge algorithm\n     * in merge sort).\n     * @type {?}\n     */\n\n\n    var syncStylingMap =\n    /**\n    * @param {?} context\n    * @param {?} renderer\n    * @param {?} element\n    * @param {?} data\n    * @param {?} applyStylingFn\n    * @param {?} sanitizer\n    * @param {?} mode\n    * @param {?=} targetProp\n    * @param {?=} defaultValue\n    * @return {?}\n    */\n    function syncStylingMap(context, renderer, element, data, applyStylingFn, sanitizer, mode, targetProp, defaultValue) {\n      /** @type {?} */\n      var targetPropValueWasApplied = false; // once the map-based styling code is activate it is never deactivated. For this reason a\n      // check to see if the current styling context has any map based bindings is required.\n\n      /** @type {?} */\n\n      var totalMaps = getValuesCount(context, 3\n      /* MapBindingsPosition */\n      );\n\n      if (totalMaps) {\n        /** @type {?} */\n        var runTheSyncAlgorithm = true;\n        /** @type {?} */\n\n        var loopUntilEnd = !targetProp; // If the code is told to finish up (run until the end), but the mode\n        // hasn't been flagged to apply values (it only traverses values) then\n        // there is no point in iterating over the array because nothing will\n        // be applied to the element.\n\n        if (loopUntilEnd && mode & ~1\n        /* ApplyAllValues */\n        ) {\n          runTheSyncAlgorithm = false;\n          targetPropValueWasApplied = true;\n        }\n\n        if (runTheSyncAlgorithm) {\n          targetPropValueWasApplied = innerSyncStylingMap(context, renderer, element, data, applyStylingFn, sanitizer, mode, targetProp || null, 0, defaultValue || null);\n        }\n\n        if (loopUntilEnd) {\n          resetSyncCursors();\n        }\n      }\n\n      return targetPropValueWasApplied;\n    };\n    /**\n     * Recursive function designed to apply map-based styling to an element one map at a time.\n     *\n     * This function is designed to be called from the `syncStylingMap` function and will\n     * apply map-based styling data one map at a time to the provided `element`.\n     *\n     * This function is recursive and it will call itself if a follow-up map value is to be\n     * processed. To learn more about how the algorithm works, see `syncStylingMap`.\n     * @param {?} context\n     * @param {?} renderer\n     * @param {?} element\n     * @param {?} data\n     * @param {?} applyStylingFn\n     * @param {?} sanitizer\n     * @param {?} mode\n     * @param {?} targetProp\n     * @param {?} currentMapIndex\n     * @param {?} defaultValue\n     * @return {?}\n     */\n\n\n    function innerSyncStylingMap(context, renderer, element, data, applyStylingFn, sanitizer, mode, targetProp, currentMapIndex, defaultValue) {\n      /** @type {?} */\n      var targetPropValueWasApplied = false;\n      /** @type {?} */\n\n      var totalMaps = getValuesCount(context, 3\n      /* MapBindingsPosition */\n      );\n\n      if (currentMapIndex < totalMaps) {\n        /** @type {?} */\n        var bindingIndex =\n        /** @type {?} */\n        getBindingValue(context, 3\n        /* MapBindingsPosition */\n        , currentMapIndex);\n        /** @type {?} */\n\n        var stylingMapArr =\n        /** @type {?} */\n        data[bindingIndex];\n        /** @type {?} */\n\n        var cursor = getCurrentSyncCursor(currentMapIndex);\n\n        while (cursor < stylingMapArr.length) {\n          /** @type {?} */\n          var prop = getMapProp(stylingMapArr, cursor);\n          /** @type {?} */\n\n          var iteratedTooFar = targetProp && prop > targetProp;\n          /** @type {?} */\n\n          var isTargetPropMatched = !iteratedTooFar && prop === targetProp;\n          /** @type {?} */\n\n          var value = getMapValue(stylingMapArr, cursor);\n          /** @type {?} */\n\n          var valueIsDefined = isStylingValueDefined(value); // the recursive code is designed to keep applying until\n          // it reaches or goes past the target prop. If and when\n          // this happens then it will stop processing values, but\n          // all other map values must also catch up to the same\n          // point. This is why a recursive call is still issued\n          // even if the code has iterated too far.\n\n          /** @type {?} */\n\n          var innerMode = iteratedTooFar ? mode : resolveInnerMapMode(mode, valueIsDefined, isTargetPropMatched);\n          /** @type {?} */\n\n          var innerProp = iteratedTooFar ? targetProp : prop;\n          /** @type {?} */\n\n          var valueApplied = innerSyncStylingMap(context, renderer, element, data, applyStylingFn, sanitizer, innerMode, innerProp, currentMapIndex + 1, defaultValue);\n\n          if (iteratedTooFar) {\n            if (!targetPropValueWasApplied) {\n              targetPropValueWasApplied = valueApplied;\n            }\n\n            break;\n          }\n\n          if (!valueApplied && isValueAllowedToBeApplied(mode, isTargetPropMatched)) {\n            /** @type {?} */\n            var useDefault = isTargetPropMatched && !valueIsDefined;\n            /** @type {?} */\n\n            var valueToApply = useDefault ? defaultValue : value;\n            /** @type {?} */\n\n            var bindingIndexToApply = useDefault ? bindingIndex : null;\n            /** @type {?} */\n\n            var finalValue = sanitizer ? sanitizer(prop, valueToApply, 3\n            /* ValidateAndSanitize */\n            ) : valueToApply;\n            applyStylingFn(renderer, element, prop, finalValue, bindingIndexToApply);\n            valueApplied = true;\n          }\n\n          targetPropValueWasApplied = valueApplied && isTargetPropMatched;\n          cursor += 2\n          /* TupleSize */\n          ;\n        }\n\n        setCurrentSyncCursor(currentMapIndex, cursor); // this is a fallback case in the event that the styling map is `null` for this\n        // binding but there are other map-based bindings that need to be evaluated\n        // afterwards. If the `prop` value is falsy then the intention is to cycle\n        // through all of the properties in the remaining maps as well. If the current\n        // styling map is too short then there are no values to iterate over. In either\n        // case the follow-up maps need to be iterated over.\n\n        if (stylingMapArr.length === 1\n        /* ValuesStartPosition */\n        || !targetProp) {\n          return innerSyncStylingMap(context, renderer, element, data, applyStylingFn, sanitizer, mode, targetProp, currentMapIndex + 1, defaultValue);\n        }\n      }\n\n      return targetPropValueWasApplied;\n    }\n    /**\n     * Enables support for map-based styling bindings (e.g. `[style]` and `[class]` bindings).\n     * @return {?}\n     */\n\n\n    function activateStylingMapFeature() {\n      setStylingMapsSyncFn(syncStylingMap);\n    }\n    /**\n     * Used to determine the mode for the inner recursive call.\n     *\n     * If an inner map is iterated on then this is done so for one\n     * of two reasons:\n     *\n     * - value is being applied:\n     *   if the value is being applied from this current styling\n     *   map then there is no need to apply it in a deeper map.\n     *\n     * - value is being not applied:\n     *   apply the value if it is found in a deeper map.\n     *\n     * When these reasons are encountered the flags will for the\n     * inner map mode will be configured.\n     * @param {?} currentMode\n     * @param {?} valueIsDefined\n     * @param {?} isExactMatch\n     * @return {?}\n     */\n\n\n    function resolveInnerMapMode(currentMode, valueIsDefined, isExactMatch) {\n      /** @type {?} */\n      var innerMode = currentMode;\n\n      if (!valueIsDefined && !(currentMode & 4\n      /* SkipTargetProp */\n      ) && (isExactMatch || currentMode & 1\n      /* ApplyAllValues */\n      )) {\n        // case 1: set the mode to apply the targeted prop value if it\n        // ends up being encountered in another map value\n        innerMode |= 2\n        /* ApplyTargetProp */\n        ;\n        innerMode &= ~4\n        /* SkipTargetProp */\n        ;\n      } else {\n        // case 2: set the mode to skip the targeted prop value if it\n        // ends up being encountered in another map value\n        innerMode |= 4\n        /* SkipTargetProp */\n        ;\n        innerMode &= ~2\n        /* ApplyTargetProp */\n        ;\n      }\n\n      return innerMode;\n    }\n    /**\n     * Decides whether or not a prop/value entry will be applied to an element.\n     *\n     * To determine whether or not a value is to be applied,\n     * the following procedure is evaluated:\n     *\n     * First check to see the current `mode` status:\n     *  1. If the mode value permits all props to be applied then allow.\n     *    - But do not allow if the current prop is set to be skipped.\n     *  2. Otherwise if the current prop is permitted then allow.\n     * @param {?} mode\n     * @param {?} isTargetPropMatched\n     * @return {?}\n     */\n\n\n    function isValueAllowedToBeApplied(mode, isTargetPropMatched) {\n      /** @type {?} */\n      var doApplyValue = (mode & 1\n      /* ApplyAllValues */\n      ) > 0;\n\n      if (!doApplyValue) {\n        if (mode & 2\n        /* ApplyTargetProp */\n        ) {\n            doApplyValue = isTargetPropMatched;\n          }\n      } else if (mode & 4\n      /* SkipTargetProp */\n      && isTargetPropMatched) {\n        doApplyValue = false;\n      }\n\n      return doApplyValue;\n    }\n    /**\n     * Used to keep track of concurrent cursor values for multiple map-based styling bindings present on\n     * an element.\n     * @type {?}\n     */\n\n\n    var MAP_CURSORS = [];\n    /**\n     * Used to reset the state of each cursor value being used to iterate over map-based styling\n     * bindings.\n     * @return {?}\n     */\n\n    function resetSyncCursors() {\n      for (var i = 0; i < MAP_CURSORS.length; i++) {\n        MAP_CURSORS[i] = 1\n        /* ValuesStartPosition */\n        ;\n      }\n    }\n    /**\n     * Returns an active cursor value at a given mapIndex location.\n     * @param {?} mapIndex\n     * @return {?}\n     */\n\n\n    function getCurrentSyncCursor(mapIndex) {\n      if (mapIndex >= MAP_CURSORS.length) {\n        MAP_CURSORS.push(1\n        /* ValuesStartPosition */\n        );\n      }\n\n      return MAP_CURSORS[mapIndex];\n    }\n    /**\n     * Sets a cursor value at a given mapIndex location.\n     * @param {?} mapIndex\n     * @param {?} indexValue\n     * @return {?}\n     */\n\n\n    function setCurrentSyncCursor(mapIndex, indexValue) {\n      MAP_CURSORS[mapIndex] = indexValue;\n    }\n    /**\n     * Used to convert a {key:value} map into a `StylingMapArray` array.\n     *\n     * This function will either generate a new `StylingMapArray` instance\n     * or it will patch the provided `newValues` map value into an\n     * existing `StylingMapArray` value (this only happens if `bindingValue`\n     * is an instance of `StylingMapArray`).\n     *\n     * If a new key/value map is provided with an old `StylingMapArray`\n     * value then all properties will be overwritten with their new\n     * values or with `null`. This means that the array will never\n     * shrink in size (but it will also not be created and thrown\n     * away whenever the {key:value} map entries change).\n     * @param {?} bindingValue\n     * @param {?} newValues\n     * @param {?=} normalizeProps\n     * @return {?}\n     */\n\n\n    function normalizeIntoStylingMap(bindingValue, newValues, normalizeProps) {\n      /** @type {?} */\n      var stylingMapArr = Array.isArray(bindingValue) ? bindingValue : [null];\n      stylingMapArr[0\n      /* RawValuePosition */\n      ] = newValues || null; // because the new values may not include all the properties\n      // that the old ones had, all values are set to `null` before\n      // the new values are applied. This way, when flushed, the\n      // styling algorithm knows exactly what style/class values\n      // to remove from the element (since they are `null`).\n\n      for (var j = 1\n      /* ValuesStartPosition */\n      ; j < stylingMapArr.length; j += 2\n      /* TupleSize */\n      ) {\n        setMapValue(stylingMapArr, j, null);\n      }\n      /** @type {?} */\n\n\n      var props = null;\n      /** @type {?} */\n\n      var map;\n      /** @type {?} */\n\n      var allValuesTrue = false;\n\n      if (typeof newValues === 'string') {\n        // [class] bindings allow string values\n        if (newValues.length) {\n          props = newValues.split(/\\s+/);\n          allValuesTrue = true;\n        }\n      } else {\n        props = newValues ? Object.keys(newValues) : null;\n        map = newValues;\n      }\n\n      if (props) {\n        for (var i = 0; i < props.length; i++) {\n          /** @type {?} */\n          var prop =\n          /** @type {?} */\n          props[i];\n          /** @type {?} */\n\n          var newProp = normalizeProps ? hyphenate(prop) : prop;\n          /** @type {?} */\n\n          var value = allValuesTrue ? true :\n          /** @type {?} */\n          map[prop];\n          addItemToStylingMap(stylingMapArr, newProp, value, true);\n        }\n      }\n\n      return stylingMapArr;\n    }\n    /**\n     * Inserts the provided item into the provided styling array at the right spot.\n     *\n     * The `StylingMapArray` type is a sorted key/value array of entries. This means\n     * that when a new entry is inserted it must be placed at the right spot in the\n     * array. This function figures out exactly where to place it.\n     * @param {?} stylingMapArr\n     * @param {?} prop\n     * @param {?} value\n     * @param {?=} allowOverwrite\n     * @return {?}\n     */\n\n\n    function addItemToStylingMap(stylingMapArr, prop, value, allowOverwrite) {\n      for (var j = 1\n      /* ValuesStartPosition */\n      ; j < stylingMapArr.length; j += 2\n      /* TupleSize */\n      ) {\n        /** @type {?} */\n        var propAtIndex = getMapProp(stylingMapArr, j);\n\n        if (prop <= propAtIndex) {\n          /** @type {?} */\n          var applied = false;\n\n          if (propAtIndex === prop) {\n            /** @type {?} */\n            var valueAtIndex = stylingMapArr[j];\n\n            if (allowOverwrite || !isStylingValueDefined(valueAtIndex)) {\n              applied = true;\n              setMapValue(stylingMapArr, j, value);\n            }\n          } else {\n            applied = true;\n            stylingMapArr.splice(j, 0, prop, value);\n          }\n\n          return applied;\n        }\n      }\n\n      stylingMapArr.push(prop, value);\n      return true;\n    }\n    /**\n     * Converts the provided styling map array into a string.\n     *\n     * Classes => `one two three`\n     * Styles => `prop:value; prop2:value2`\n     * @param {?} map\n     * @param {?} isClassBased\n     * @return {?}\n     */\n\n\n    function stylingMapToString(map, isClassBased) {\n      /** @type {?} */\n      var str = '';\n\n      for (var i = 1\n      /* ValuesStartPosition */\n      ; i < map.length; i += 2\n      /* TupleSize */\n      ) {\n        /** @type {?} */\n        var prop = getMapProp(map, i);\n        /** @type {?} */\n\n        var value =\n        /** @type {?} */\n        getMapValue(map, i);\n        /** @type {?} */\n\n        var attrValue = concatString(prop, isClassBased ? '' : value, ':');\n        str = concatString(str, attrValue, isClassBased ? ' ' : '; ');\n      }\n\n      return str;\n    }\n    /**\n     * Converts the provided styling map array into a key value map.\n     * @param {?} map\n     * @return {?}\n     */\n\n\n    function stylingMapToStringMap(map) {\n      /** @type {?} */\n      var stringMap = {};\n\n      if (map) {\n        for (var i = 1\n        /* ValuesStartPosition */\n        ; i < map.length; i += 2\n        /* TupleSize */\n        ) {\n          /** @type {?} */\n          var prop = getMapProp(map, i);\n          /** @type {?} */\n\n          var value =\n          /** @type {?} */\n          getMapValue(map, i);\n          stringMap[prop] = value;\n        }\n      }\n\n      return stringMap;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * A debug/testing-oriented summary of a styling entry.\n     *\n     * A value such as this is generated as an artifact of the `DebugStyling`\n     * summary.\n     * @record\n     */\n\n\n    function LStylingSummary() {}\n\n    if (false) {}\n    /**\n     * A debug/testing-oriented summary of all styling entries for a `DebugNode` instance.\n     * @record\n     */\n\n\n    function DebugStyling() {}\n\n    if (false) {}\n    /**\n     * A debug/testing-oriented summary of all styling entries within a `TStylingContext`.\n     * @record\n     */\n\n\n    function TStylingTupleSummary() {}\n\n    if (false) {}\n    /**\n     * Instantiates and attaches an instance of `TStylingContextDebug` to the provided context.\n     * @param {?} context\n     * @return {?}\n     */\n\n\n    function attachStylingDebugObject(context) {\n      /** @type {?} */\n      var debug = new TStylingContextDebug(context);\n      attachDebugObject(context, debug);\n      return debug;\n    }\n    /**\n     * A human-readable debug summary of the styling data present within `TStylingContext`.\n     *\n     * This class is designed to be used within testing code or when an\n     * application has `ngDevMode` activated.\n     */\n\n\n    var TStylingContextDebug =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} context\n       */\n      function TStylingContextDebug(context) {\n        _classCallCheck(this, TStylingContextDebug);\n\n        this.context = context;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(TStylingContextDebug, [{\n        key: \"isLocked\",\n        get: function get() {\n          return isContextLocked(this.context);\n        }\n        /**\n         * Returns a detailed summary of each styling entry in the context.\n         *\n         * See `TStylingTupleSummary`.\n         * @return {?}\n         */\n\n      }, {\n        key: \"entries\",\n        get: function get() {\n          /** @type {?} */\n          var context = this.context;\n          /** @type {?} */\n\n          var entries = {};\n          /** @type {?} */\n\n          var start = 3\n          /* MapBindingsPosition */\n          ;\n          /** @type {?} */\n\n          var i = start;\n\n          while (i < context.length) {\n            /** @type {?} */\n            var valuesCount = getValuesCount(context, i); // the context may contain placeholder values which are populated ahead of time,\n            // but contain no actual binding values. In this situation there is no point in\n            // classifying this as an \"entry\" since no real data is stored here yet.\n\n            if (valuesCount) {\n              /** @type {?} */\n              var prop = getProp(context, i);\n              /** @type {?} */\n\n              var guardMask = getGuardMask(context, i);\n              /** @type {?} */\n\n              var defaultValue = getDefaultValue(context, i);\n              /** @type {?} */\n\n              var sanitizationRequired = isSanitizationRequired(context, i);\n              /** @type {?} */\n\n              var bindingsStartPosition = i + 3\n              /* BindingsStartOffset */\n              ;\n              /** @type {?} */\n\n              var sources = [];\n\n              for (var j = 0; j < valuesCount; j++) {\n                sources.push(\n                /** @type {?} */\n                context[bindingsStartPosition + j]);\n              }\n\n              entries[prop] = {\n                prop: prop,\n                guardMask: guardMask,\n                sanitizationRequired: sanitizationRequired,\n                valuesCount: valuesCount,\n                defaultValue: defaultValue,\n                sources: sources\n              };\n            }\n\n            i += 3\n            /* BindingsStartOffset */\n            + valuesCount;\n          }\n\n          return entries;\n        }\n      }]);\n\n      return TStylingContextDebug;\n    }();\n\n    if (false) {}\n    /**\n     * A human-readable debug summary of the styling data present for a `DebugNode` instance.\n     *\n     * This class is designed to be used within testing code or when an\n     * application has `ngDevMode` activated.\n     */\n\n\n    var NodeStylingDebug =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} context\n       * @param {?} _data\n       * @param {?=} _isClassBased\n       */\n      function NodeStylingDebug(context, _data, _isClassBased) {\n        _classCallCheck(this, NodeStylingDebug);\n\n        this.context = context;\n        this._data = _data;\n        this._isClassBased = _isClassBased;\n        this._sanitizer = null;\n      }\n      /**\n       * Overrides the sanitizer used to process styles.\n       * @param {?} sanitizer\n       * @return {?}\n       */\n\n\n      _createClass2(NodeStylingDebug, [{\n        key: \"overrideSanitizer\",\n        value: function overrideSanitizer(sanitizer) {\n          this._sanitizer = sanitizer;\n        }\n        /**\n         * Returns a detailed summary of each styling entry in the context and\n         * what their runtime representation is.\n         *\n         * See `LStylingSummary`.\n         * @return {?}\n         */\n\n      }, {\n        key: \"_mapValues\",\n\n        /**\n         * @private\n         * @param {?} fn\n         * @return {?}\n         */\n        value: function _mapValues(fn) {\n          // there is no need to store/track an element instance. The\n          // element is only used when the styling algorithm attempts to\n          // style the value (and we mock out the stylingApplyFn anyway).\n\n          /** @type {?} */\n          var mockElement =\n          /** @type {?} */\n          {};\n          /** @type {?} */\n\n          var hasMaps = getValuesCount(this.context, 3\n          /* MapBindingsPosition */\n          ) > 0;\n\n          if (hasMaps) {\n            activateStylingMapFeature();\n          }\n          /** @type {?} */\n\n\n          var mapFn =\n          /**\n          * @param {?} renderer\n          * @param {?} element\n          * @param {?} prop\n          * @param {?} value\n          * @param {?=} bindingIndex\n          * @return {?}\n          */\n          function mapFn(renderer, element, prop, value, bindingIndex) {\n            fn(prop, value, bindingIndex || null);\n          };\n          /** @type {?} */\n\n\n          var sanitizer = this._isClassBased ? null : this._sanitizer || getCurrentStyleSanitizer();\n          applyStyling(this.context, null, mockElement, this._data, true, mapFn, sanitizer);\n        }\n      }, {\n        key: \"summary\",\n        get: function get() {\n          /** @type {?} */\n          var entries = {};\n\n          this._mapValues(\n          /**\n          * @param {?} prop\n          * @param {?} value\n          * @param {?} bindingIndex\n          * @return {?}\n          */\n          function (prop, value, bindingIndex) {\n            entries[prop] = {\n              prop: prop,\n              value: value,\n              bindingIndex: bindingIndex\n            };\n          });\n\n          return entries;\n        }\n        /**\n         * Returns a key/value map of all the styles/classes that were last applied to the element.\n         * @return {?}\n         */\n\n      }, {\n        key: \"values\",\n        get: function get() {\n          /** @type {?} */\n          var entries = {};\n\n          this._mapValues(\n          /**\n          * @param {?} prop\n          * @param {?} value\n          * @return {?}\n          */\n          function (prop, value) {\n            entries[prop] = value;\n          });\n\n          return entries;\n        }\n      }]);\n\n      return NodeStylingDebug;\n    }();\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /*\n     * This file contains conditionally attached classes which provide human readable (debug) level\n     * information for `LView`, `LContainer` and other internal data structures. These data structures\n     * are stored internally as array which makes it very difficult during debugging to reason about the\n     * current state of the system.\n     *\n     * Patching the array with extra property does change the array's hidden class' but it does not\n     * change the cost of access, therefore this patching should not have significant if any impact in\n     * `ngDevMode` mode. (see: https://jsperf.com/array-vs-monkey-patch-array)\n     *\n     * So instead of seeing:\n     * ```\n     * Array(30) [Object, 659, null, …]\n     * ```\n     *\n     * You get to see:\n     * ```\n     * LViewDebug {\n     *   views: [...],\n     *   flags: {attached: true, ...}\n     *   nodes: [\n     *     {html: '<div id=\"123\">', ..., nodes: [\n     *       {html: '<span>', ..., nodes: null}\n     *     ]}\n     *   ]\n     * }\n     * ```\n     */\n\n    /** @type {?} */\n\n\n    var LViewArray = ngDevMode && createNamedArrayType('LView');\n    /** @type {?} */\n\n    var LVIEW_EMPTY; // can't initialize here or it will not be tree shaken, because `LView`\n    // constructor could have side-effects.\n\n    /**\n     * This function clones a blueprint and creates LView.\n     *\n     * Simple slice will keep the same type, and we need it to be LView\n     * @param {?} list\n     * @return {?}\n     */\n\n    function cloneToLView(list) {\n      if (LVIEW_EMPTY === undefined) LVIEW_EMPTY = new\n      /** @type {?} */\n      LViewArray();\n      return (\n        /** @type {?} */\n        LVIEW_EMPTY.concat(list)\n      );\n    }\n    /**\n     * This class is a debug version of Object literal so that we can have constructor name show up in\n     * debug tools in ngDevMode.\n     * @type {?}\n     */\n\n\n    var TViewConstructor =\n    /**\n     * @param {?} id\n     * @param {?} blueprint\n     * @param {?} template\n     * @param {?} queries\n     * @param {?} viewQuery\n     * @param {?} node\n     * @param {?} data\n     * @param {?} bindingStartIndex\n     * @param {?} expandoStartIndex\n     * @param {?} expandoInstructions\n     * @param {?} firstTemplatePass\n     * @param {?} staticViewQueries\n     * @param {?} staticContentQueries\n     * @param {?} preOrderHooks\n     * @param {?} preOrderCheckHooks\n     * @param {?} contentHooks\n     * @param {?} contentCheckHooks\n     * @param {?} viewHooks\n     * @param {?} viewCheckHooks\n     * @param {?} destroyHooks\n     * @param {?} cleanup\n     * @param {?} contentQueries\n     * @param {?} components\n     * @param {?} directiveRegistry\n     * @param {?} pipeRegistry\n     * @param {?} firstChild\n     * @param {?} schemas\n     */\n    function TView(id, //\n    blueprint, //\n    template, //\n    queries, //\n    viewQuery, //\n    node, //\n    data, //\n    bindingStartIndex, //\n    expandoStartIndex, //\n    expandoInstructions, //\n    firstTemplatePass, //\n    staticViewQueries, //\n    staticContentQueries, //\n    preOrderHooks, //\n    preOrderCheckHooks, //\n    contentHooks, //\n    contentCheckHooks, //\n    viewHooks, //\n    viewCheckHooks, //\n    destroyHooks, //\n    cleanup, //\n    contentQueries, //\n    components, //\n    directiveRegistry, //\n    pipeRegistry, //\n    firstChild, //\n    schemas) {\n      _classCallCheck(this, TView);\n\n      this.id = id;\n      this.blueprint = blueprint;\n      this.template = template;\n      this.queries = queries;\n      this.viewQuery = viewQuery;\n      this.node = node;\n      this.data = data;\n      this.bindingStartIndex = bindingStartIndex;\n      this.expandoStartIndex = expandoStartIndex;\n      this.expandoInstructions = expandoInstructions;\n      this.firstTemplatePass = firstTemplatePass;\n      this.staticViewQueries = staticViewQueries;\n      this.staticContentQueries = staticContentQueries;\n      this.preOrderHooks = preOrderHooks;\n      this.preOrderCheckHooks = preOrderCheckHooks;\n      this.contentHooks = contentHooks;\n      this.contentCheckHooks = contentCheckHooks;\n      this.viewHooks = viewHooks;\n      this.viewCheckHooks = viewCheckHooks;\n      this.destroyHooks = destroyHooks;\n      this.cleanup = cleanup;\n      this.contentQueries = contentQueries;\n      this.components = components;\n      this.directiveRegistry = directiveRegistry;\n      this.pipeRegistry = pipeRegistry;\n      this.firstChild = firstChild;\n      this.schemas = schemas;\n    };\n    /** @type {?} */\n\n\n    var TNodeConstructor =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} tView_\n       * @param {?} type\n       * @param {?} index\n       * @param {?} injectorIndex\n       * @param {?} directiveStart\n       * @param {?} directiveEnd\n       * @param {?} propertyMetadataStartIndex\n       * @param {?} propertyMetadataEndIndex\n       * @param {?} flags\n       * @param {?} providerIndexes\n       * @param {?} tagName\n       * @param {?} attrs\n       * @param {?} localNames\n       * @param {?} initialInputs\n       * @param {?} inputs\n       * @param {?} outputs\n       * @param {?} tViews\n       * @param {?} next\n       * @param {?} projectionNext\n       * @param {?} child\n       * @param {?} parent\n       * @param {?} projection\n       * @param {?} styles\n       * @param {?} classes\n       */\n      function TNode(tView_, //\n      type, //\n      index, //\n      injectorIndex, //\n      directiveStart, //\n      directiveEnd, //\n      propertyMetadataStartIndex, //\n      propertyMetadataEndIndex, //\n      flags, //\n      providerIndexes, //\n      tagName, //\n      attrs, //\n      localNames, //\n      initialInputs, //\n      inputs, //\n      outputs, //\n      tViews, //\n      next, //\n      projectionNext, //\n      child, //\n      parent, //\n      projection, //\n      styles, //\n      classes) {\n        _classCallCheck(this, TNode);\n\n        this.tView_ = tView_;\n        this.type = type;\n        this.index = index;\n        this.injectorIndex = injectorIndex;\n        this.directiveStart = directiveStart;\n        this.directiveEnd = directiveEnd;\n        this.propertyMetadataStartIndex = propertyMetadataStartIndex;\n        this.propertyMetadataEndIndex = propertyMetadataEndIndex;\n        this.flags = flags;\n        this.providerIndexes = providerIndexes;\n        this.tagName = tagName;\n        this.attrs = attrs;\n        this.localNames = localNames;\n        this.initialInputs = initialInputs;\n        this.inputs = inputs;\n        this.outputs = outputs;\n        this.tViews = tViews;\n        this.next = next;\n        this.projectionNext = projectionNext;\n        this.child = child;\n        this.parent = parent;\n        this.projection = projection;\n        this.styles = styles;\n        this.classes = classes;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(TNode, [{\n        key: \"type_\",\n        get: function get() {\n          switch (this.type) {\n            case 0\n            /* Container */\n            :\n              return 'TNodeType.Container';\n\n            case 3\n            /* Element */\n            :\n              return 'TNodeType.Element';\n\n            case 4\n            /* ElementContainer */\n            :\n              return 'TNodeType.ElementContainer';\n\n            case 5\n            /* IcuContainer */\n            :\n              return 'TNodeType.IcuContainer';\n\n            case 1\n            /* Projection */\n            :\n              return 'TNodeType.Projection';\n\n            case 2\n            /* View */\n            :\n              return 'TNodeType.View';\n\n            default:\n              return 'TNodeType.???';\n          }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"flags_\",\n        get: function get() {\n          /** @type {?} */\n          var flags = [];\n          if (this.flags & 8\n          /* hasClassInput */\n          ) flags.push('TNodeFlags.hasClassInput');\n          if (this.flags & 4\n          /* hasContentQuery */\n          ) flags.push('TNodeFlags.hasContentQuery');\n          if (this.flags & 16\n          /* hasStyleInput */\n          ) flags.push('TNodeFlags.hasStyleInput');\n          if (this.flags & 1\n          /* isComponent */\n          ) flags.push('TNodeFlags.isComponent');\n          if (this.flags & 32\n          /* isDetached */\n          ) flags.push('TNodeFlags.isDetached');\n          if (this.flags & 2\n          /* isProjected */\n          ) flags.push('TNodeFlags.isProjected');\n          return flags.join('|');\n        }\n      }]);\n\n      return TNode;\n    }();\n    /** @type {?} */\n\n\n    var TViewData = ngDevMode && createNamedArrayType('TViewData');\n    /** @type {?} */\n\n    var TVIEWDATA_EMPTY; // can't initialize here or it will not be tree shaken, because `LView`\n    // constructor could have side-effects.\n\n    /**\n     * This function clones a blueprint and creates TData.\n     *\n     * Simple slice will keep the same type, and we need it to be TData\n     * @param {?} list\n     * @return {?}\n     */\n\n    function cloneToTViewData(list) {\n      if (TVIEWDATA_EMPTY === undefined) TVIEWDATA_EMPTY = new\n      /** @type {?} */\n      TViewData();\n      return (\n        /** @type {?} */\n        TVIEWDATA_EMPTY.concat(list)\n      );\n    }\n    /** @type {?} */\n\n\n    var LViewBlueprint = ngDevMode && createNamedArrayType('LViewBlueprint');\n    /** @type {?} */\n\n    var MatchesArray = ngDevMode && createNamedArrayType('MatchesArray');\n    /** @type {?} */\n\n    var TViewComponents = ngDevMode && createNamedArrayType('TViewComponents');\n    /** @type {?} */\n\n    var TNodeLocalNames = ngDevMode && createNamedArrayType('TNodeLocalNames');\n    /** @type {?} */\n\n    var TNodeInitialInputs = ngDevMode && createNamedArrayType('TNodeInitialInputs');\n    /** @type {?} */\n\n    var TNodeInitialData = ngDevMode && createNamedArrayType('TNodeInitialData');\n    /** @type {?} */\n\n    var LCleanup = ngDevMode && createNamedArrayType('LCleanup');\n    /** @type {?} */\n\n    var TCleanup = ngDevMode && createNamedArrayType('TCleanup');\n    /**\n     * @param {?} lView\n     * @return {?}\n     */\n\n    function attachLViewDebug(lView) {\n      attachDebugObject(lView, new LViewDebug(lView));\n    }\n    /**\n     * @param {?} lContainer\n     * @return {?}\n     */\n\n\n    function attachLContainerDebug(lContainer) {\n      attachDebugObject(lContainer, new LContainerDebug(lContainer));\n    }\n    /**\n     * @param {?} obj\n     * @return {?}\n     */\n\n\n    function toDebug(obj) {\n      if (obj) {\n        /** @type {?} */\n        var debug =\n        /** @type {?} */\n        obj.debug;\n        assertDefined(debug, 'Object does not have a debug representation.');\n        return debug;\n      } else {\n        return obj;\n      }\n    }\n    /**\n     * Use this method to unwrap a native element in `LView` and convert it into HTML for easier\n     * reading.\n     *\n     * @param {?} value possibly wrapped native DOM node.\n     * @param {?=} includeChildren If `true` then the serialized HTML form will include child elements (same\n     * as `outerHTML`). If `false` then the serialized HTML form will only contain the element itself\n     * (will not serialize child elements).\n     * @return {?}\n     */\n\n\n    function toHtml(value) {\n      var includeChildren = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n      /** @type {?} */\n      var node =\n      /** @type {?} */\n      unwrapRNode(value);\n\n      if (node) {\n        /** @type {?} */\n        var isTextNode = node.nodeType === Node.TEXT_NODE;\n        /** @type {?} */\n\n        var outerHTML = (isTextNode ? node.textContent : node.outerHTML) || '';\n\n        if (includeChildren || isTextNode) {\n          return outerHTML;\n        } else {\n          /** @type {?} */\n          var innerHTML = node.innerHTML;\n          return outerHTML.split(innerHTML)[0] || null;\n        }\n      } else {\n        return null;\n      }\n    }\n\n    var LViewDebug =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _raw_lView\n       */\n      function LViewDebug(_raw_lView) {\n        _classCallCheck(this, LViewDebug);\n\n        this._raw_lView = _raw_lView;\n      }\n      /**\n       * Flags associated with the `LView` unpacked into a more readable state.\n       * @return {?}\n       */\n\n\n      _createClass2(LViewDebug, [{\n        key: \"flags\",\n        get: function get() {\n          /** @type {?} */\n          var flags = this._raw_lView[FLAGS];\n          return {\n            __raw__flags__: flags,\n            initPhaseState: flags & 3\n            /* InitPhaseStateMask */\n            ,\n            creationMode: !!(flags & 4\n            /* CreationMode */\n            ),\n            firstViewPass: !!(flags & 8\n            /* FirstLViewPass */\n            ),\n            checkAlways: !!(flags & 16\n            /* CheckAlways */\n            ),\n            dirty: !!(flags & 64\n            /* Dirty */\n            ),\n            attached: !!(flags & 128\n            /* Attached */\n            ),\n            destroyed: !!(flags & 256\n            /* Destroyed */\n            ),\n            isRoot: !!(flags & 512\n            /* IsRoot */\n            ),\n            indexWithinInitPhase: flags >> 10\n            /* IndexWithinInitPhaseShift */\n\n          };\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"parent\",\n        get: function get() {\n          return toDebug(this._raw_lView[PARENT]);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"host\",\n        get: function get() {\n          return toHtml(this._raw_lView[HOST], true);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"context\",\n        get: function get() {\n          return this._raw_lView[CONTEXT];\n        }\n        /**\n         * The tree of nodes associated with the current `LView`. The nodes have been normalized into a\n         * tree structure with relevant details pulled out for readability.\n         * @return {?}\n         */\n\n      }, {\n        key: \"nodes\",\n        get: function get() {\n          /** @type {?} */\n          var lView = this._raw_lView;\n          /** @type {?} */\n\n          var tNode = lView[TVIEW].firstChild;\n          return toDebugNodes(tNode, lView);\n        }\n        /**\n         * Additional information which is hidden behind a property. The extra level of indirection is\n         * done so that the debug view would not be cluttered with properties which are only rarely\n         * relevant to the developer.\n         * @return {?}\n         */\n\n      }, {\n        key: \"__other__\",\n        get: function get() {\n          return {\n            tView: this._raw_lView[TVIEW],\n            cleanup: this._raw_lView[CLEANUP],\n            injector: this._raw_lView[INJECTOR$1],\n            rendererFactory: this._raw_lView[RENDERER_FACTORY],\n            renderer: this._raw_lView[RENDERER],\n            sanitizer: this._raw_lView[SANITIZER],\n            childHead: toDebug(this._raw_lView[CHILD_HEAD]),\n            next: toDebug(this._raw_lView[NEXT]),\n            childTail: toDebug(this._raw_lView[CHILD_TAIL]),\n            declarationView: toDebug(this._raw_lView[DECLARATION_VIEW]),\n            queries: null,\n            tHost: this._raw_lView[T_HOST],\n            bindingIndex: this._raw_lView[BINDING_INDEX]\n          };\n        }\n        /**\n         * Normalized view of child views (and containers) attached at this location.\n         * @return {?}\n         */\n\n      }, {\n        key: \"childViews\",\n        get: function get() {\n          /** @type {?} */\n          var childViews = [];\n          /** @type {?} */\n\n          var child = this.__other__.childHead;\n\n          while (child) {\n            childViews.push(child);\n            child = child.__other__.next;\n          }\n\n          return childViews;\n        }\n      }]);\n\n      return LViewDebug;\n    }();\n\n    if (false) {}\n    /**\n     * @record\n     */\n\n\n    function DebugNode() {}\n\n    if (false) {}\n    /**\n     * Turns a flat list of nodes into a tree by walking the associated `TNode` tree.\n     *\n     * @param {?} tNode\n     * @param {?} lView\n     * @return {?}\n     */\n\n\n    function toDebugNodes(tNode, lView) {\n      if (tNode) {\n        /** @type {?} */\n        var debugNodes = [];\n        /** @type {?} */\n\n        var tNodeCursor = tNode;\n\n        while (tNodeCursor) {\n          /** @type {?} */\n          var rawValue = lView[tNode.index];\n          /** @type {?} */\n\n          var native = unwrapRNode(rawValue);\n          /** @type {?} */\n\n          var componentLViewDebug = toDebug(readLViewValue(rawValue));\n          /** @type {?} */\n\n          var styles = isStylingContext(tNode.styles) ? new NodeStylingDebug(\n          /** @type {?} */\n\n          /** @type {?} */\n          tNode.styles, lView) : null;\n          /** @type {?} */\n\n          var classes = isStylingContext(tNode.classes) ? new NodeStylingDebug(\n          /** @type {?} */\n\n          /** @type {?} */\n          tNode.classes, lView, true) : null;\n          debugNodes.push({\n            html: toHtml(native),\n            native:\n            /** @type {?} */\n            native,\n            styles: styles,\n            classes: classes,\n            nodes: toDebugNodes(tNode.child, lView),\n            component: componentLViewDebug\n          });\n          tNodeCursor = tNodeCursor.next;\n        }\n\n        return debugNodes;\n      } else {\n        return null;\n      }\n    }\n\n    var LContainerDebug =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _raw_lContainer\n       */\n      function LContainerDebug(_raw_lContainer) {\n        _classCallCheck(this, LContainerDebug);\n\n        this._raw_lContainer = _raw_lContainer;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(LContainerDebug, [{\n        key: \"activeIndex\",\n        get: function get() {\n          return this._raw_lContainer[ACTIVE_INDEX];\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"views\",\n        get: function get() {\n          return this._raw_lContainer.slice(CONTAINER_HEADER_OFFSET).map(\n          /** @type {?} */\n          toDebug);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"parent\",\n        get: function get() {\n          return toDebug(this._raw_lContainer[PARENT]);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"movedViews\",\n        get: function get() {\n          return this._raw_lContainer[MOVED_VIEWS];\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"host\",\n        get: function get() {\n          return this._raw_lContainer[HOST];\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"native\",\n        get: function get() {\n          return this._raw_lContainer[NATIVE];\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"__other__\",\n        get: function get() {\n          return {\n            next: toDebug(this._raw_lContainer[NEXT])\n          };\n        }\n      }]);\n\n      return LContainerDebug;\n    }();\n\n    if (false) {}\n    /**\n     * Return an `LView` value if found.\n     *\n     * @param {?} value `LView` if any\n     * @return {?}\n     */\n\n\n    function readLViewValue(value) {\n      while (Array.isArray(value)) {\n        // This check is not quite right, as it does not take into account `StylingContext`\n        // This is why it is in debug, not in util.ts\n        if (value.length >= HEADER_OFFSET - 1) return (\n          /** @type {?} */\n          value\n        );\n        value = value[HOST];\n      }\n\n      return null;\n    }\n\n    var I18NDebugItem =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} __raw_opCode\n       * @param {?} _lView\n       * @param {?} nodeIndex\n       * @param {?} type\n       */\n      function I18NDebugItem(__raw_opCode, _lView, nodeIndex, type) {\n        _classCallCheck(this, I18NDebugItem);\n\n        this.__raw_opCode = __raw_opCode;\n        this._lView = _lView;\n        this.nodeIndex = nodeIndex;\n        this.type = type;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(I18NDebugItem, [{\n        key: \"tNode\",\n        get: function get() {\n          return getTNode(this.nodeIndex, this._lView);\n        }\n      }]);\n\n      return I18NDebugItem;\n    }();\n\n    if (false) {}\n    /**\n     * Turns a list of \"Create\" & \"Update\" OpCodes into a human-readable list of operations for\n     * debugging purposes.\n     * @param {?} mutateOpCodes mutation opCodes to read\n     * @param {?} updateOpCodes update opCodes to read\n     * @param {?} icus list of ICU expressions\n     * @param {?} lView The view the opCodes are acting on\n     * @return {?}\n     */\n\n\n    function attachI18nOpCodesDebug(mutateOpCodes, updateOpCodes, icus, lView) {\n      attachDebugObject(mutateOpCodes, new I18nMutateOpCodesDebug(mutateOpCodes, lView));\n      attachDebugObject(updateOpCodes, new I18nUpdateOpCodesDebug(updateOpCodes, icus, lView));\n\n      if (icus) {\n        icus.forEach(\n        /**\n        * @param {?} icu\n        * @return {?}\n        */\n        function (icu) {\n          icu.create.forEach(\n          /**\n          * @param {?} icuCase\n          * @return {?}\n          */\n          function (icuCase) {\n            attachDebugObject(icuCase, new I18nMutateOpCodesDebug(icuCase, lView));\n          });\n          icu.update.forEach(\n          /**\n          * @param {?} icuCase\n          * @return {?}\n          */\n          function (icuCase) {\n            attachDebugObject(icuCase, new I18nUpdateOpCodesDebug(icuCase, icus, lView));\n          });\n        });\n      }\n    }\n\n    var I18nMutateOpCodesDebug =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} __raw_opCodes\n       * @param {?} __lView\n       */\n      function I18nMutateOpCodesDebug(__raw_opCodes, __lView) {\n        _classCallCheck(this, I18nMutateOpCodesDebug);\n\n        this.__raw_opCodes = __raw_opCodes;\n        this.__lView = __lView;\n      }\n      /**\n       * A list of operation information about how the OpCodes will act on the view.\n       * @return {?}\n       */\n\n\n      _createClass2(I18nMutateOpCodesDebug, [{\n        key: \"operations\",\n        get: function get() {\n          var __lView = this.__lView,\n              __raw_opCodes = this.__raw_opCodes;\n          /** @type {?} */\n\n          var results = [];\n\n          for (var i = 0; i < __raw_opCodes.length; i++) {\n            /** @type {?} */\n            var opCode = __raw_opCodes[i];\n            /** @type {?} */\n\n            var result = void 0;\n\n            if (typeof opCode === 'string') {\n              result = {\n                __raw_opCode: opCode,\n                type: 'Create Text Node',\n                nodeIndex: __raw_opCodes[++i],\n                text: opCode\n              };\n            }\n\n            if (typeof opCode === 'number') {\n              switch (opCode & 7\n              /* MASK_OPCODE */\n              ) {\n                case 1\n                /* AppendChild */\n                :\n                  /** @type {?} */\n                  var destinationNodeIndex = opCode >>> 17\n                  /* SHIFT_PARENT */\n                  ;\n                  result = new I18NDebugItem(opCode, __lView, destinationNodeIndex, 'AppendChild');\n                  break;\n\n                case 0\n                /* Select */\n                :\n                  /** @type {?} */\n                  var nodeIndex = opCode >>> 3\n                  /* SHIFT_REF */\n                  ;\n                  result = new I18NDebugItem(opCode, __lView, nodeIndex, 'Select');\n                  break;\n\n                case 5\n                /* ElementEnd */\n                :\n                  /** @type {?} */\n                  var elementIndex = opCode >>> 3\n                  /* SHIFT_REF */\n                  ;\n                  result = new I18NDebugItem(opCode, __lView, elementIndex, 'ElementEnd');\n                  break;\n\n                case 4\n                /* Attr */\n                :\n                  elementIndex = opCode >>> 3\n                  /* SHIFT_REF */\n                  ;\n                  result = new I18NDebugItem(opCode, __lView, elementIndex, 'Attr');\n                  result['attrName'] = __raw_opCodes[++i];\n                  result['attrValue'] = __raw_opCodes[++i];\n                  break;\n              }\n            }\n\n            if (!result) {\n              switch (opCode) {\n                case COMMENT_MARKER:\n                  result = {\n                    __raw_opCode: opCode,\n                    type: 'COMMENT_MARKER',\n                    commentValue: __raw_opCodes[++i],\n                    nodeIndex: __raw_opCodes[++i]\n                  };\n                  break;\n\n                case ELEMENT_MARKER:\n                  result = {\n                    __raw_opCode: opCode,\n                    type: 'ELEMENT_MARKER'\n                  };\n                  break;\n              }\n            }\n\n            if (!result) {\n              result = {\n                __raw_opCode: opCode,\n                type: 'Unknown Op Code',\n                code: opCode\n              };\n            }\n\n            results.push(result);\n          }\n\n          return results;\n        }\n      }]);\n\n      return I18nMutateOpCodesDebug;\n    }();\n\n    if (false) {}\n\n    var I18nUpdateOpCodesDebug =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} __raw_opCodes\n       * @param {?} icus\n       * @param {?} __lView\n       */\n      function I18nUpdateOpCodesDebug(__raw_opCodes, icus, __lView) {\n        _classCallCheck(this, I18nUpdateOpCodesDebug);\n\n        this.__raw_opCodes = __raw_opCodes;\n        this.icus = icus;\n        this.__lView = __lView;\n      }\n      /**\n       * A list of operation information about how the OpCodes will act on the view.\n       * @return {?}\n       */\n\n\n      _createClass2(I18nUpdateOpCodesDebug, [{\n        key: \"operations\",\n        get: function get() {\n          var __lView = this.__lView,\n              __raw_opCodes = this.__raw_opCodes,\n              icus = this.icus;\n          /** @type {?} */\n\n          var results = [];\n\n          for (var i = 0; i < __raw_opCodes.length; i++) {\n            // bit code to check if we should apply the next update\n\n            /** @type {?} */\n            var checkBit =\n            /** @type {?} */\n            __raw_opCodes[i]; // Number of opCodes to skip until next set of update codes\n\n            /** @type {?} */\n\n            var skipCodes =\n            /** @type {?} */\n            __raw_opCodes[++i];\n            /** @type {?} */\n\n            var value = '';\n\n            for (var j = i + 1; j <= i + skipCodes; j++) {\n              /** @type {?} */\n              var opCode = __raw_opCodes[j];\n\n              if (typeof opCode === 'string') {\n                value += opCode;\n              } else if (typeof opCode == 'number') {\n                if (opCode < 0) {\n                  // It's a binding index whose value is negative\n                  // We cannot know the value of the binding so we only show the index\n                  value += \"\\uFFFD\".concat(-opCode - 1, \"\\uFFFD\");\n                } else {\n                  /** @type {?} */\n                  var nodeIndex = opCode >>> 2\n                  /* SHIFT_REF */\n                  ;\n                  /** @type {?} */\n\n                  var tIcuIndex = void 0;\n                  /** @type {?} */\n\n                  var tIcu = void 0;\n\n                  switch (opCode & 3\n                  /* MASK_OPCODE */\n                  ) {\n                    case 1\n                    /* Attr */\n                    :\n                      /** @type {?} */\n                      var attrName =\n                      /** @type {?} */\n                      __raw_opCodes[++j];\n                      /** @type {?} */\n\n                      var sanitizeFn = __raw_opCodes[++j];\n                      results.push({\n                        __raw_opCode: opCode,\n                        checkBit: checkBit,\n                        type: 'Attr',\n                        attrValue: value,\n                        attrName: attrName,\n                        sanitizeFn: sanitizeFn\n                      });\n                      break;\n\n                    case 0\n                    /* Text */\n                    :\n                      results.push({\n                        __raw_opCode: opCode,\n                        checkBit: checkBit,\n                        type: 'Text',\n                        nodeIndex: nodeIndex,\n                        text: value\n                      });\n                      break;\n\n                    case 2\n                    /* IcuSwitch */\n                    :\n                      tIcuIndex =\n                      /** @type {?} */\n                      __raw_opCodes[++j];\n                      tIcu =\n                      /** @type {?} */\n                      icus[tIcuIndex];\n                      /** @type {?} */\n\n                      var result = new I18NDebugItem(opCode, __lView, nodeIndex, 'IcuSwitch');\n                      result['tIcuIndex'] = tIcuIndex;\n                      result['checkBit'] = checkBit;\n                      result['mainBinding'] = value;\n                      result['tIcu'] = tIcu;\n                      results.push(result);\n                      break;\n\n                    case 3\n                    /* IcuUpdate */\n                    :\n                      tIcuIndex =\n                      /** @type {?} */\n                      __raw_opCodes[++j];\n                      tIcu =\n                      /** @type {?} */\n                      icus[tIcuIndex];\n                      result = new I18NDebugItem(opCode, __lView, nodeIndex, 'IcuUpdate');\n                      result['tIcuIndex'] = tIcuIndex;\n                      result['checkBit'] = checkBit;\n                      result['tIcu'] = tIcu;\n                      results.push(result);\n                      break;\n                  }\n                }\n              }\n            }\n\n            i += skipCodes;\n          }\n\n          return results;\n        }\n      }]);\n\n      return I18nUpdateOpCodesDebug;\n    }();\n\n    if (false) {}\n    /**\n     * @record\n     */\n\n\n    function I18nOpCodesDebug() {}\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Selects an element for later binding instructions.\n     *\n     * Used in conjunction with instructions like {\\@link property} to act on elements with specified\n     * indices, for example those created with {\\@link element} or {\\@link elementStart}.\n     *\n     * ```ts\n     * (rf: RenderFlags, ctx: any) => {\n     *   if (rf & 1) {\n     *     element(0, 'div');\n     *   }\n     *   if (rf & 2) {\n     *     select(0); // Select the <div/> created above.\n     *     property('title', 'test');\n     *   }\n     *  }\n     * ```\n     * \\@codeGenApi\n     * @param {?} index the index of the item to act on with the following instructions\n     *\n     * @return {?}\n     */\n\n\n    function ɵɵselect(index) {\n      ngDevMode && assertGreaterThan(index, -1, 'Invalid index');\n      ngDevMode && assertLessThan(index, getLView().length - HEADER_OFFSET, 'Should be within range for the view data');\n      /** @type {?} */\n\n      var lView = getLView();\n      selectInternal(lView, index);\n    }\n    /**\n     * @param {?} lView\n     * @param {?} index\n     * @return {?}\n     */\n\n\n    function selectInternal(lView, index) {\n      // Flush the initial hooks for elements in the view that have been added up to this point.\n      executePreOrderHooks(lView, lView[TVIEW], getCheckNoChangesMode(), index); // We must set the selected index *after* running the hooks, because hooks may have side-effects\n      // that cause other template functions to run, thus updating the selected index, which is global\n      // state. If we run `setSelectedIndex` *before* we run the hooks, in some cases the selected index\n      // will be altered by the time we leave the `ɵɵselect` instruction.\n\n      setSelectedIndex(index);\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n\n    var ɵ0$5 =\n    /**\n    * @return {?}\n    */\n    function ɵ0$5() {\n      return Promise.resolve(null);\n    };\n    /**\n     * A permanent marker promise which signifies that the current CD tree is\n     * clean.\n     * @type {?}\n     */\n\n\n    var _CLEAN_PROMISE = ɵ0$5();\n    /** @enum {number} */\n\n\n    var BindingDirection = {\n      Input: 0,\n      Output: 1\n    };\n    /**\n     * Refreshes the view, executing the following steps in that order:\n     * triggers init hooks, refreshes dynamic embedded views, triggers content hooks, sets host\n     * bindings, refreshes child components.\n     * Note: view hooks are triggered later when leaving the view.\n     * @param {?} lView\n     * @return {?}\n     */\n\n    function refreshDescendantViews(lView) {\n      /** @type {?} */\n      var tView = lView[TVIEW];\n      /** @type {?} */\n\n      var creationMode = isCreationMode(lView); // This needs to be set before children are processed to support recursive components\n\n      tView.firstTemplatePass = false; // Resetting the bindingIndex of the current LView as the next steps may trigger change detection.\n\n      lView[BINDING_INDEX] = tView.bindingStartIndex; // If this is a creation pass, we should not call lifecycle hooks or evaluate bindings.\n      // This will be done in the update pass.\n\n      if (!creationMode) {\n        /** @type {?} */\n        var _checkNoChangesMode = getCheckNoChangesMode();\n\n        executePreOrderHooks(lView, tView, _checkNoChangesMode, undefined);\n        refreshDynamicEmbeddedViews(lView); // Content query results must be refreshed before content hooks are called.\n\n        refreshContentQueries(tView, lView);\n        resetPreOrderHookFlags(lView);\n        executeHooks(lView, tView.contentHooks, tView.contentCheckHooks, _checkNoChangesMode, 1\n        /* AfterContentInitHooksToBeRun */\n        , undefined);\n        setHostBindings(tView, lView);\n      } // We resolve content queries specifically marked as `static` in creation mode. Dynamic\n      // content queries are resolved during change detection (i.e. update mode), after embedded\n      // views are refreshed (see block above).\n\n\n      if (creationMode && tView.staticContentQueries) {\n        refreshContentQueries(tView, lView);\n      } // We must materialize query results before child components are processed\n      // in case a child component has projected a container. The LContainer needs\n      // to exist so the embedded views are properly attached by the container.\n\n\n      if (!creationMode || tView.staticViewQueries) {\n        executeViewQueryFn(2\n        /* Update */\n        , tView, lView[CONTEXT]);\n      }\n\n      refreshChildComponents(lView, tView.components);\n    }\n    /**\n     * Sets the host bindings for the current view.\n     * @param {?} tView\n     * @param {?} viewData\n     * @return {?}\n     */\n\n\n    function setHostBindings(tView, viewData) {\n      /** @type {?} */\n      var selectedIndex = getSelectedIndex();\n\n      try {\n        if (tView.expandoInstructions) {\n          /** @type {?} */\n          var _bindingRootIndex = viewData[BINDING_INDEX] = tView.expandoStartIndex;\n\n          setBindingRoot(_bindingRootIndex);\n          /** @type {?} */\n\n          var currentDirectiveIndex = -1;\n          /** @type {?} */\n\n          var currentElementIndex = -1;\n\n          for (var i = 0; i < tView.expandoInstructions.length; i++) {\n            /** @type {?} */\n            var instruction = tView.expandoInstructions[i];\n\n            if (typeof instruction === 'number') {\n              if (instruction <= 0) {\n                // Negative numbers mean that we are starting new EXPANDO block and need to update\n                // the current element and directive index.\n                currentElementIndex = -instruction;\n                setActiveHostElement(currentElementIndex); // Injector block and providers are taken into account.\n\n                /** @type {?} */\n\n                var providerCount =\n                /** @type {?} */\n                tView.expandoInstructions[++i];\n                _bindingRootIndex += INJECTOR_BLOOM_PARENT_SIZE + providerCount;\n                currentDirectiveIndex = _bindingRootIndex;\n              } else {\n                // This is either the injector size (so the binding root can skip over directives\n                // and get to the first set of host bindings on this node) or the host var count\n                // (to get to the next set of host bindings on this node).\n                _bindingRootIndex += instruction;\n              }\n\n              setBindingRoot(_bindingRootIndex);\n            } else {\n              // If it's not a number, it's a host binding function that needs to be executed.\n              if (instruction !== null) {\n                viewData[BINDING_INDEX] = _bindingRootIndex;\n                /** @type {?} */\n\n                var hostCtx = unwrapRNode(viewData[currentDirectiveIndex]);\n                instruction(2\n                /* Update */\n                , hostCtx, currentElementIndex); // Each directive gets a uniqueId value that is the same for both\n                // create and update calls when the hostBindings function is called. The\n                // directive uniqueId is not set anywhere--it is just incremented between\n                // each hostBindings call and is useful for helping instruction code\n                // uniquely determine which directive is currently active when executed.\n\n                incrementActiveDirectiveId();\n              }\n\n              currentDirectiveIndex++;\n            }\n          }\n        }\n      } finally {\n        setActiveHostElement(selectedIndex);\n      }\n    }\n    /**\n     * Refreshes all content queries declared by directives in a given view\n     * @param {?} tView\n     * @param {?} lView\n     * @return {?}\n     */\n\n\n    function refreshContentQueries(tView, lView) {\n      /** @type {?} */\n      var contentQueries = tView.contentQueries;\n\n      if (contentQueries !== null) {\n        for (var i = 0; i < contentQueries.length; i += 2) {\n          /** @type {?} */\n          var queryStartIdx = contentQueries[i];\n          /** @type {?} */\n\n          var directiveDefIdx = contentQueries[i + 1];\n\n          if (directiveDefIdx !== -1) {\n            /** @type {?} */\n            var _directiveDef2 =\n            /** @type {?} */\n            tView.data[directiveDefIdx];\n            ngDevMode && assertDefined(_directiveDef2.contentQueries, 'contentQueries function should be defined');\n            setCurrentQueryIndex(queryStartIdx);\n\n            /** @type {?} */\n            _directiveDef2.contentQueries(2\n            /* Update */\n            , lView[directiveDefIdx], directiveDefIdx);\n          }\n        }\n      }\n    }\n    /**\n     * Refreshes child components in the current view.\n     * @param {?} hostLView\n     * @param {?} components\n     * @return {?}\n     */\n\n\n    function refreshChildComponents(hostLView, components) {\n      if (components != null) {\n        for (var i = 0; i < components.length; i++) {\n          componentRefresh(hostLView, components[i]);\n        }\n      }\n    }\n    /**\n     * Creates a native element from a tag name, using a renderer.\n     * @param {?} name the tag name\n     * @param {?=} overriddenRenderer Optional A renderer to override the default one\n     * @return {?} the element created\n     */\n\n\n    function elementCreate(name, overriddenRenderer) {\n      /** @type {?} */\n      var native;\n      /** @type {?} */\n\n      var rendererToUse = overriddenRenderer || getLView()[RENDERER];\n      /** @type {?} */\n\n      var namespace = getNamespace();\n\n      if (isProceduralRenderer(rendererToUse)) {\n        native = rendererToUse.createElement(name, namespace);\n      } else {\n        if (namespace === null) {\n          native = rendererToUse.createElement(name);\n        } else {\n          native = rendererToUse.createElementNS(namespace, name);\n        }\n      }\n\n      return native;\n    }\n    /**\n     * @template T\n     * @param {?} parentLView\n     * @param {?} tView\n     * @param {?} context\n     * @param {?} flags\n     * @param {?} host\n     * @param {?} tHostNode\n     * @param {?=} rendererFactory\n     * @param {?=} renderer\n     * @param {?=} sanitizer\n     * @param {?=} injector\n     * @return {?}\n     */\n\n\n    function createLView(parentLView, tView, context, flags, host, tHostNode, rendererFactory, renderer, sanitizer, injector) {\n      /** @type {?} */\n      var lView = ngDevMode ? cloneToLView(tView.blueprint) :\n      /** @type {?} */\n      tView.blueprint.slice();\n      lView[HOST] = host;\n      lView[FLAGS] = flags | 4\n      /* CreationMode */\n      | 128\n      /* Attached */\n      | 8\n      /* FirstLViewPass */\n      ;\n      resetPreOrderHookFlags(lView);\n      lView[PARENT] = lView[DECLARATION_VIEW] = parentLView;\n      lView[CONTEXT] = context;\n      lView[RENDERER_FACTORY] =\n      /** @type {?} */\n      rendererFactory || parentLView && parentLView[RENDERER_FACTORY];\n      ngDevMode && assertDefined(lView[RENDERER_FACTORY], 'RendererFactory is required');\n      lView[RENDERER] =\n      /** @type {?} */\n      renderer || parentLView && parentLView[RENDERER];\n      ngDevMode && assertDefined(lView[RENDERER], 'Renderer is required');\n      lView[SANITIZER] = sanitizer || parentLView && parentLView[SANITIZER] ||\n      /** @type {?} */\n      null;\n      lView[\n      /** @type {?} */\n      INJECTOR$1] = injector || parentLView && parentLView[INJECTOR$1] || null;\n      lView[T_HOST] = tHostNode;\n      ngDevMode && attachLViewDebug(lView);\n      return lView;\n    }\n    /**\n     * @param {?} tView\n     * @param {?} tHostNode\n     * @param {?} index\n     * @param {?} type\n     * @param {?} name\n     * @param {?} attrs\n     * @return {?}\n     */\n\n\n    function getOrCreateTNode(tView, tHostNode, index, type, name, attrs) {\n      // Keep this function short, so that the VM will inline it.\n\n      /** @type {?} */\n      var adjustedIndex = index + HEADER_OFFSET;\n      /** @type {?} */\n\n      var tNode =\n      /** @type {?} */\n      tView.data[adjustedIndex] || createTNodeAtIndex(tView, tHostNode, adjustedIndex, type, name, attrs, index);\n      setPreviousOrParentTNode(tNode, true);\n      return (\n        /** @type {?} */\n        tNode\n      );\n    }\n    /**\n     * @param {?} tView\n     * @param {?} tHostNode\n     * @param {?} adjustedIndex\n     * @param {?} type\n     * @param {?} name\n     * @param {?} attrs\n     * @param {?} index\n     * @return {?}\n     */\n\n\n    function createTNodeAtIndex(tView, tHostNode, adjustedIndex, type, name, attrs, index) {\n      /** @type {?} */\n      var previousOrParentTNode = getPreviousOrParentTNode();\n      /** @type {?} */\n\n      var isParent = getIsParent();\n      /** @type {?} */\n\n      var parent = isParent ? previousOrParentTNode : previousOrParentTNode && previousOrParentTNode.parent; // Parents cannot cross component boundaries because components will be used in multiple places,\n      // so it's only set if the view is the same.\n\n      /** @type {?} */\n\n      var parentInSameView = parent && parent !== tHostNode;\n      /** @type {?} */\n\n      var tParentNode = parentInSameView ?\n      /** @type {?} */\n      parent : null;\n      /** @type {?} */\n\n      var tNode = tView.data[adjustedIndex] = createTNode(tView, tParentNode, type, adjustedIndex, name, attrs); // The first node is not always the one at index 0, in case of i18n, index 0 can be the\n      // instruction `i18nStart` and the first node has the index 1 or more\n\n      if (index === 0 || !tView.firstChild) {\n        tView.firstChild = tNode;\n      } // Now link ourselves into the tree.\n\n\n      if (previousOrParentTNode) {\n        if (isParent && previousOrParentTNode.child == null && (tNode.parent !== null || previousOrParentTNode.type === 2\n        /* View */\n        )) {\n          // We are in the same view, which means we are adding content node to the parent view.\n          previousOrParentTNode.child = tNode;\n        } else if (!isParent) {\n          previousOrParentTNode.next = tNode;\n        }\n      }\n\n      return tNode;\n    }\n    /**\n     * @param {?} tView\n     * @param {?} tParentNode\n     * @param {?} index\n     * @param {?} lView\n     * @return {?}\n     */\n\n\n    function assignTViewNodeToLView(tView, tParentNode, index, lView) {\n      // View nodes are not stored in data because they can be added / removed at runtime (which\n      // would cause indices to change). Their TNodes are instead stored in tView.node.\n\n      /** @type {?} */\n      var tNode = tView.node;\n\n      if (tNode == null) {\n        ngDevMode && tParentNode && assertNodeOfPossibleTypes(tParentNode, 3\n        /* Element */\n        , 0\n        /* Container */\n        );\n        tView.node = tNode =\n        /** @type {?} */\n        createTNode(tView,\n        /** @type {?} */\n        tParentNode, //\n        2\n        /* View */\n        , index, null, null);\n      }\n\n      return lView[T_HOST] =\n      /** @type {?} */\n      tNode;\n    }\n    /**\n     * When elements are created dynamically after a view blueprint is created (e.g. through\n     * i18nApply() or ComponentFactory.create), we need to adjust the blueprint for future\n     * template passes.\n     *\n     * @param {?} view The LView containing the blueprint to adjust\n     * @param {?} numSlotsToAlloc The number of slots to alloc in the LView, should be >0\n     * @return {?}\n     */\n\n\n    function allocExpando(view, numSlotsToAlloc) {\n      ngDevMode && assertGreaterThan(numSlotsToAlloc, 0, 'The number of slots to alloc should be greater than 0');\n\n      if (numSlotsToAlloc > 0) {\n        /** @type {?} */\n        var tView = view[TVIEW];\n\n        if (tView.firstTemplatePass) {\n          for (var i = 0; i < numSlotsToAlloc; i++) {\n            tView.blueprint.push(null);\n            tView.data.push(null);\n            view.push(null);\n          } // We should only increment the expando start index if there aren't already directives\n          // and injectors saved in the \"expando\" section\n\n\n          if (!tView.expandoInstructions) {\n            tView.expandoStartIndex += numSlotsToAlloc;\n          } else {\n            // Since we're adding the dynamic nodes into the expando section, we need to let the host\n            // bindings know that they should skip x slots\n            tView.expandoInstructions.push(numSlotsToAlloc);\n          }\n        }\n      }\n    } //////////////////////////\n    //// Render\n    //////////////////////////\n\n    /**\n     * Used for creating the LViewNode of a dynamic embedded view,\n     * either through ViewContainerRef.createEmbeddedView() or TemplateRef.createEmbeddedView().\n     * Such lViewNode will then be renderer with renderEmbeddedTemplate() (see below).\n     * @template T\n     * @param {?} tView\n     * @param {?} context\n     * @param {?} declarationView\n     * @param {?} injectorIndex\n     * @return {?}\n     */\n\n\n    function createEmbeddedViewAndNode(tView, context, declarationView, injectorIndex) {\n      /** @type {?} */\n      var _isParent = getIsParent();\n      /** @type {?} */\n\n\n      var _previousOrParentTNode = getPreviousOrParentTNode();\n\n      setPreviousOrParentTNode(\n      /** @type {?} */\n      null, true);\n      /** @type {?} */\n\n      var lView = createLView(declarationView, tView, context, 16\n      /* CheckAlways */\n      , null, null);\n      lView[DECLARATION_VIEW] = declarationView;\n      assignTViewNodeToLView(tView, null, -1, lView);\n\n      if (tView.firstTemplatePass) {\n        /** @type {?} */\n        tView.node.injectorIndex = injectorIndex;\n      }\n\n      setPreviousOrParentTNode(_previousOrParentTNode, _isParent);\n      return lView;\n    }\n    /**\n     * Used for rendering embedded views (e.g. dynamically created views)\n     *\n     * Dynamically created views must store/retrieve their TViews differently from component views\n     * because their template functions are nested in the template functions of their hosts, creating\n     * closures. If their host template happens to be an embedded template in a loop (e.g. ngFor\n     * inside\n     * an ngFor), the nesting would mean we'd have multiple instances of the template function, so we\n     * can't store TViews in the template function itself (as we do for comps). Instead, we store the\n     * TView for dynamically created views on their host TNode, which only has one instance.\n     * @template T\n     * @param {?} viewToRender\n     * @param {?} tView\n     * @param {?} context\n     * @return {?}\n     */\n\n\n    function renderEmbeddedTemplate(viewToRender, tView, context) {\n      /** @type {?} */\n      var _isParent = getIsParent();\n      /** @type {?} */\n\n\n      var _previousOrParentTNode = getPreviousOrParentTNode();\n      /** @type {?} */\n\n\n      var oldView;\n\n      if (viewToRender[FLAGS] & 512\n      /* IsRoot */\n      ) {\n          // This is a root view inside the view tree\n          tickRootContext(getRootContext(viewToRender));\n        } else {\n        // Will become true if the `try` block executes with no errors.\n\n        /** @type {?} */\n        var safeToRunHooks = false;\n\n        try {\n          setPreviousOrParentTNode(\n          /** @type {?} */\n          null, true);\n          oldView = enterView(viewToRender, viewToRender[T_HOST]);\n          resetPreOrderHookFlags(viewToRender);\n          executeTemplate(viewToRender,\n          /** @type {?} */\n          tView.template, getRenderFlags(viewToRender), context); // This must be set to false immediately after the first creation run because in an\n          // ngFor loop, all the views will be created together before update mode runs and turns\n          // off firstTemplatePass. If we don't set it here, instances will perform directive\n          // matching, etc again and again.\n\n          tView.firstTemplatePass = false;\n          refreshDescendantViews(viewToRender);\n          safeToRunHooks = true;\n        } finally {\n          leaveView(\n          /** @type {?} */\n          oldView, safeToRunHooks);\n          setPreviousOrParentTNode(_previousOrParentTNode, _isParent);\n        }\n      }\n    }\n    /**\n     * @template T\n     * @param {?} hostView\n     * @param {?} context\n     * @param {?=} templateFn\n     * @return {?}\n     */\n\n\n    function renderComponentOrTemplate(hostView, context, templateFn) {\n      /** @type {?} */\n      var rendererFactory = hostView[RENDERER_FACTORY];\n      /** @type {?} */\n\n      var oldView = enterView(hostView, hostView[T_HOST]);\n      /** @type {?} */\n\n      var normalExecutionPath = !getCheckNoChangesMode();\n      /** @type {?} */\n\n      var creationModeIsActive = isCreationMode(hostView); // Will become true if the `try` block executes with no errors.\n\n      /** @type {?} */\n\n      var safeToRunHooks = false;\n\n      try {\n        if (normalExecutionPath && !creationModeIsActive && rendererFactory.begin) {\n          rendererFactory.begin();\n        }\n\n        if (creationModeIsActive) {\n          // creation mode pass\n          templateFn && executeTemplate(hostView, templateFn, 1\n          /* Create */\n          , context);\n          refreshDescendantViews(hostView);\n          hostView[FLAGS] &= ~4\n          /* CreationMode */\n          ;\n        } // update mode pass\n\n\n        resetPreOrderHookFlags(hostView);\n        templateFn && executeTemplate(hostView, templateFn, 2\n        /* Update */\n        , context);\n        refreshDescendantViews(hostView);\n        safeToRunHooks = true;\n      } finally {\n        if (normalExecutionPath && !creationModeIsActive && rendererFactory.end) {\n          rendererFactory.end();\n        }\n\n        leaveView(oldView, safeToRunHooks);\n      }\n    }\n    /**\n     * @template T\n     * @param {?} lView\n     * @param {?} templateFn\n     * @param {?} rf\n     * @param {?} context\n     * @return {?}\n     */\n\n\n    function executeTemplate(lView, templateFn, rf, context) {\n      namespaceHTMLInternal();\n      /** @type {?} */\n\n      var prevSelectedIndex = getSelectedIndex();\n\n      try {\n        setActiveHostElement(null);\n\n        if (rf & 2\n        /* Update */\n        ) {\n            // When we're updating, have an inherent ɵɵselect(0) so we don't have to generate that\n            // instruction for most update blocks\n            selectInternal(lView, 0);\n          }\n\n        templateFn(rf, context);\n      } finally {\n        setSelectedIndex(prevSelectedIndex);\n      }\n    }\n    /**\n     * This function returns the default configuration of rendering flags depending on when the\n     * template is in creation mode or update mode. Update block and create block are\n     * always run separately.\n     * @param {?} view\n     * @return {?}\n     */\n\n\n    function getRenderFlags(view) {\n      return isCreationMode(view) ? 1\n      /* Create */\n      : 2\n      /* Update */\n      ;\n    } //////////////////////////\n    //// Element\n    //////////////////////////\n\n    /**\n     * @param {?} tView\n     * @param {?} tNode\n     * @param {?} lView\n     * @return {?}\n     */\n\n\n    function executeContentQueries(tView, tNode, lView) {\n      if (isContentQueryHost(tNode)) {\n        /** @type {?} */\n        var start = tNode.directiveStart;\n        /** @type {?} */\n\n        var end = tNode.directiveEnd;\n\n        for (var directiveIndex = start; directiveIndex < end; directiveIndex++) {\n          /** @type {?} */\n          var def =\n          /** @type {?} */\n          tView.data[directiveIndex];\n\n          if (def.contentQueries) {\n            def.contentQueries(1\n            /* Create */\n            , lView[directiveIndex], directiveIndex);\n          }\n        }\n      }\n    }\n    /**\n     * Creates directive instances and populates local refs.\n     *\n     * @param {?} tView\n     * @param {?} lView\n     * @param {?} tNode\n     * @param {?=} localRefExtractor mapping function that extracts local ref value from TNode\n     * @return {?}\n     */\n\n\n    function createDirectivesAndLocals(tView, lView, tNode) {\n      var localRefExtractor = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : getNativeByTNode;\n      if (!getBindingsEnabled()) return;\n      instantiateAllDirectives(tView, lView, tNode);\n      invokeDirectivesHostBindings(tView, lView, tNode);\n      saveResolvedLocalsInData(lView, tNode, localRefExtractor);\n      setActiveHostElement(null);\n    }\n    /**\n     * Takes a list of local names and indices and pushes the resolved local variable values\n     * to LView in the same order as they are loaded in the template with load().\n     * @param {?} viewData\n     * @param {?} tNode\n     * @param {?} localRefExtractor\n     * @return {?}\n     */\n\n\n    function saveResolvedLocalsInData(viewData, tNode, localRefExtractor) {\n      /** @type {?} */\n      var localNames = tNode.localNames;\n\n      if (localNames) {\n        /** @type {?} */\n        var localIndex = tNode.index + 1;\n\n        for (var i = 0; i < localNames.length; i += 2) {\n          /** @type {?} */\n          var index =\n          /** @type {?} */\n          localNames[i + 1];\n          /** @type {?} */\n\n          var value = index === -1 ? localRefExtractor(\n          /** @type {?} */\n          tNode, viewData) : viewData[index];\n          viewData[localIndex++] = value;\n        }\n      }\n    }\n    /**\n     * Gets TView from a template function or creates a new TView\n     * if it doesn't already exist.\n     *\n     * @param {?} def ComponentDef\n     * @return {?} TView\n     */\n\n\n    function getOrCreateTView(def) {\n      return def.tView || (def.tView = createTView(-1, def.template, def.consts, def.vars, def.directiveDefs, def.pipeDefs, def.viewQuery, def.schemas));\n    }\n    /**\n     * Creates a TView instance\n     *\n     * @param {?} viewIndex The viewBlockId for inline views, or -1 if it's a component/dynamic\n     * @param {?} templateFn Template function\n     * @param {?} consts The number of nodes, local refs, and pipes in this template\n     * @param {?} vars\n     * @param {?} directives Registry of directives for this view\n     * @param {?} pipes Registry of pipes for this view\n     * @param {?} viewQuery View queries for this view\n     * @param {?} schemas Schemas for this view\n     * @return {?}\n     */\n\n\n    function createTView(viewIndex, templateFn, consts, vars, directives, pipes, viewQuery, schemas) {\n      ngDevMode && ngDevMode.tView++;\n      /** @type {?} */\n\n      var bindingStartIndex = HEADER_OFFSET + consts; // This length does not yet contain host bindings from child directives because at this point,\n      // we don't know which directives are active on this template. As soon as a directive is matched\n      // that has a host binding, we will update the blueprint with that def's hostVars count.\n\n      /** @type {?} */\n\n      var initialViewLength = bindingStartIndex + vars;\n      /** @type {?} */\n\n      var blueprint = createViewBlueprint(bindingStartIndex, initialViewLength);\n      return blueprint[\n      /** @type {?} */\n      TVIEW] = ngDevMode ? new TViewConstructor(viewIndex, // id: number,\n      blueprint, // blueprint: LView,\n      templateFn, // template: ComponentTemplate<{}>|null,\n      null, // queries: TQueries|null\n      viewQuery,\n      /** @type {?} */\n      null, // node: TViewNode|TElementNode|null,\n      cloneToTViewData(blueprint).fill(null, bindingStartIndex), // data: TData,\n      bindingStartIndex, // bindingStartIndex: number,\n      initialViewLength, // expandoStartIndex: number,\n      null, // expandoInstructions: ExpandoInstructions|null,\n      true, // firstTemplatePass: boolean,\n      false, // staticViewQueries: boolean,\n      false, // staticContentQueries: boolean,\n      null, // preOrderHooks: HookData|null,\n      null, // preOrderCheckHooks: HookData|null,\n      null, // contentHooks: HookData|null,\n      null, // contentCheckHooks: HookData|null,\n      null, // viewHooks: HookData|null,\n      null, // viewCheckHooks: HookData|null,\n      null, // destroyHooks: HookData|null,\n      null, // cleanup: any[]|null,\n      null, // contentQueries: number[]|null,\n      null, // components: number[]|null,\n      typeof directives === 'function' ? directives() : directives, // directiveRegistry: DirectiveDefList|null,\n      typeof pipes === 'function' ? pipes() : pipes, // pipeRegistry: PipeDefList|null,\n      null, // firstChild: TNode|null,\n      schemas) : {\n        id: viewIndex,\n        blueprint: blueprint,\n        template: templateFn,\n        queries: null,\n        viewQuery: viewQuery,\n        node:\n        /** @type {?} */\n        null,\n        data: blueprint.slice().fill(null, bindingStartIndex),\n        bindingStartIndex: bindingStartIndex,\n        expandoStartIndex: initialViewLength,\n        expandoInstructions: null,\n        firstTemplatePass: true,\n        staticViewQueries: false,\n        staticContentQueries: false,\n        preOrderHooks: null,\n        preOrderCheckHooks: null,\n        contentHooks: null,\n        contentCheckHooks: null,\n        viewHooks: null,\n        viewCheckHooks: null,\n        destroyHooks: null,\n        cleanup: null,\n        contentQueries: null,\n        components: null,\n        directiveRegistry: typeof directives === 'function' ? directives() : directives,\n        pipeRegistry: typeof pipes === 'function' ? pipes() : pipes,\n        firstChild: null,\n        schemas: schemas\n      };\n    }\n    /**\n     * @param {?} bindingStartIndex\n     * @param {?} initialViewLength\n     * @return {?}\n     */\n\n\n    function createViewBlueprint(bindingStartIndex, initialViewLength) {\n      /** @type {?} */\n      var blueprint =\n      /** @type {?} */\n      new (ngDevMode ?\n      /** @type {?} */\n      LViewBlueprint : Array)(initialViewLength).fill(null, 0, bindingStartIndex).fill(NO_CHANGE, bindingStartIndex);\n      blueprint[BINDING_INDEX] = bindingStartIndex;\n      return blueprint;\n    }\n    /**\n     * @param {?} text\n     * @param {?} token\n     * @return {?}\n     */\n\n\n    function createError(text, token) {\n      return new Error(\"Renderer: \".concat(text, \" [\").concat(stringifyForError(token), \"]\"));\n    }\n    /**\n     * Locates the host native element, used for bootstrapping existing nodes into rendering pipeline.\n     *\n     * @param {?} factory\n     * @param {?} elementOrSelector Render element or CSS selector to locate the element.\n     * @return {?}\n     */\n\n\n    function locateHostElement(factory, elementOrSelector) {\n      /** @type {?} */\n      var defaultRenderer = factory.createRenderer(null, null);\n      /** @type {?} */\n\n      var rNode = typeof elementOrSelector === 'string' ? isProceduralRenderer(defaultRenderer) ? defaultRenderer.selectRootElement(elementOrSelector) : defaultRenderer.querySelector(elementOrSelector) : elementOrSelector;\n\n      if (ngDevMode && !rNode) {\n        if (typeof elementOrSelector === 'string') {\n          throw createError('Host node with selector not found:', elementOrSelector);\n        } else {\n          throw createError('Host node is required:', elementOrSelector);\n        }\n      }\n\n      return rNode;\n    }\n    /**\n     * Saves context for this cleanup function in LView.cleanupInstances.\n     *\n     * On the first template pass, saves in TView:\n     * - Cleanup function\n     * - Index of context we just saved in LView.cleanupInstances\n     * @param {?} lView\n     * @param {?} context\n     * @param {?} cleanupFn\n     * @return {?}\n     */\n\n\n    function storeCleanupWithContext(lView, context, cleanupFn) {\n      /** @type {?} */\n      var lCleanup = getCleanup(lView);\n      lCleanup.push(context);\n\n      if (lView[TVIEW].firstTemplatePass) {\n        getTViewCleanup(lView).push(cleanupFn, lCleanup.length - 1);\n      }\n    }\n    /**\n     * Saves the cleanup function itself in LView.cleanupInstances.\n     *\n     * This is necessary for functions that are wrapped with their contexts, like in renderer2\n     * listeners.\n     *\n     * On the first template pass, the index of the cleanup function is saved in TView.\n     * @param {?} view\n     * @param {?} cleanupFn\n     * @return {?}\n     */\n\n\n    function storeCleanupFn(view, cleanupFn) {\n      getCleanup(view).push(cleanupFn);\n\n      if (view[TVIEW].firstTemplatePass) {\n        getTViewCleanup(view).push(\n        /** @type {?} */\n        view[CLEANUP].length - 1, null);\n      }\n    }\n    /**\n     * Constructs a TNode object from the arguments.\n     *\n     * @param {?} tView `TView` to which this `TNode` belongs (used only in `ngDevMode`)\n     * @param {?} tParent\n     * @param {?} type The type of the node\n     * @param {?} adjustedIndex The index of the TNode in TView.data, adjusted for HEADER_OFFSET\n     * @param {?} tagName The tag name of the node\n     * @param {?} attrs The attributes defined on this node\n     * @return {?} the TNode object\n     */\n\n\n    function createTNode(tView, tParent, type, adjustedIndex, tagName, attrs) {\n      ngDevMode && ngDevMode.tNode++;\n      /** @type {?} */\n\n      var injectorIndex = tParent ? tParent.injectorIndex : -1;\n      return ngDevMode ? new TNodeConstructor(tView, // tView_: TView\n      type, // type: TNodeType\n      adjustedIndex, // index: number\n      injectorIndex, // injectorIndex: number\n      -1, // directiveStart: number\n      -1, // directiveEnd: number\n      -1, // propertyMetadataStartIndex: number\n      -1, // propertyMetadataEndIndex: number\n      0, // flags: TNodeFlags\n      0, // providerIndexes: TNodeProviderIndexes\n      tagName, // tagName: string|null\n      attrs, // attrs: (string|AttributeMarker|(string|SelectorFlags)[])[]|null\n      null, // localNames: (string|number)[]|null\n      undefined, // initialInputs: (string[]|null)[]|null|undefined\n      undefined, // inputs: PropertyAliases|null|undefined\n      undefined, // outputs: PropertyAliases|null|undefined\n      null, // tViews: ITView|ITView[]|null\n      null, // next: ITNode|null\n      null, // projectionNext: ITNode|null\n      null, // child: ITNode|null\n      tParent, // parent: TElementNode|TContainerNode|null\n      null, // projection: number|(ITNode|RNode[])[]|null\n      null, // styles: TStylingContext|null\n      null) : {\n        type: type,\n        index: adjustedIndex,\n        injectorIndex: injectorIndex,\n        directiveStart: -1,\n        directiveEnd: -1,\n        propertyMetadataStartIndex: -1,\n        propertyMetadataEndIndex: -1,\n        flags: 0,\n        providerIndexes: 0,\n        tagName: tagName,\n        attrs: attrs,\n        localNames: null,\n        initialInputs: undefined,\n        inputs: undefined,\n        outputs: undefined,\n        tViews: null,\n        next: null,\n        projectionNext: null,\n        child: null,\n        parent: tParent,\n        projection: null,\n        styles: null,\n        classes: null\n      };\n    }\n    /**\n     * Consolidates all inputs or outputs of all directives on this logical node.\n     *\n     * @param {?} tNode\n     * @param {?} direction whether to consider inputs or outputs\n     * @return {?} PropertyAliases|null aggregate of all properties if any, `null` otherwise\n     */\n\n\n    function generatePropertyAliases(tNode, direction) {\n      /** @type {?} */\n      var tView = getLView()[TVIEW];\n      /** @type {?} */\n\n      var propStore = null;\n      /** @type {?} */\n\n      var start = tNode.directiveStart;\n      /** @type {?} */\n\n      var end = tNode.directiveEnd;\n\n      if (end > start) {\n        /** @type {?} */\n        var isInput = direction === 0\n        /* Input */\n        ;\n        /** @type {?} */\n\n        var defs = tView.data;\n\n        for (var i = start; i < end; i++) {\n          /** @type {?} */\n          var _directiveDef3 =\n          /** @type {?} */\n          defs[i];\n          /** @type {?} */\n\n          var propertyAliasMap = isInput ? _directiveDef3.inputs : _directiveDef3.outputs;\n\n          for (var publicName in propertyAliasMap) {\n            if (propertyAliasMap.hasOwnProperty(publicName)) {\n              propStore = propStore || {};\n              /** @type {?} */\n\n              var internalName = propertyAliasMap[publicName];\n              /** @type {?} */\n\n              var hasProperty = propStore.hasOwnProperty(publicName);\n              hasProperty ? propStore[publicName].push(i, publicName, internalName) : propStore[publicName] = [i, publicName, internalName];\n            }\n          }\n        }\n      }\n\n      return propStore;\n    }\n    /**\n     * Mapping between attributes names that don't correspond to their element property names.\n     * Note: this mapping has to be kept in sync with the equally named mapping in the template\n     * type-checking machinery of ngtsc.\n     * @type {?}\n     */\n\n\n    var ATTR_TO_PROP = {\n      'class': 'className',\n      'for': 'htmlFor',\n      'formaction': 'formAction',\n      'innerHtml': 'innerHTML',\n      'readonly': 'readOnly',\n      'tabindex': 'tabIndex'\n    };\n    /**\n     * @template T\n     * @param {?} index\n     * @param {?} propName\n     * @param {?} value\n     * @param {?=} sanitizer\n     * @param {?=} nativeOnly\n     * @param {?=} loadRendererFn\n     * @return {?}\n     */\n\n    function elementPropertyInternal(index, propName, value, sanitizer, nativeOnly, loadRendererFn) {\n      ngDevMode && assertNotSame(value,\n      /** @type {?} */\n      NO_CHANGE, 'Incoming value should never be NO_CHANGE.');\n      /** @type {?} */\n\n      var lView = getLView();\n      /** @type {?} */\n\n      var element =\n      /** @type {?} */\n      getNativeByIndex(index, lView);\n      /** @type {?} */\n\n      var tNode = getTNode(index, lView);\n      /** @type {?} */\n\n      var inputData;\n      /** @type {?} */\n\n      var dataValue;\n\n      if (!nativeOnly && (inputData = initializeTNodeInputs(tNode)) && (dataValue = inputData[propName])) {\n        setInputsForProperty(lView, dataValue, value);\n        if (isComponent(tNode)) markDirtyIfOnPush(lView, index + HEADER_OFFSET);\n\n        if (ngDevMode) {\n          if (tNode.type === 3\n          /* Element */\n          || tNode.type === 0\n          /* Container */\n          ) {\n              /**\n               * dataValue is an array containing runtime input or output names for the directives:\n               * i+0: directive instance index\n               * i+1: publicName\n               * i+2: privateName\n               *\n               * e.g. [0, 'change', 'change-minified']\n               * we want to set the reflected property with the privateName: dataValue[i+2]\n               */\n              for (var i = 0; i < dataValue.length; i += 3) {\n                setNgReflectProperty(lView, element, tNode.type,\n                /** @type {?} */\n                dataValue[i + 2], value);\n              }\n            }\n        }\n      } else if (tNode.type === 3\n      /* Element */\n      ) {\n          propName = ATTR_TO_PROP[propName] || propName;\n\n          if (ngDevMode) {\n            validateAgainstEventProperties(propName);\n            validateAgainstUnknownProperties(lView, element, propName, tNode);\n            ngDevMode.rendererSetProperty++;\n          }\n\n          savePropertyDebugData(tNode, lView, propName, lView[TVIEW].data, nativeOnly);\n          /** @type {?} */\n\n          var renderer = loadRendererFn ? loadRendererFn(tNode, lView) : lView[RENDERER]; // It is assumed that the sanitizer is only added when the compiler determines that the\n          // property\n          // is risky, so sanitization can be done without further checks.\n\n          value = sanitizer != null ?\n          /** @type {?} */\n          sanitizer(value, tNode.tagName || '', propName) : value;\n\n          if (isProceduralRenderer(renderer)) {\n            renderer.setProperty(\n            /** @type {?} */\n            element, propName, value);\n          } else if (!isAnimationProp(propName)) {\n            /** @type {?} */\n            element.setProperty ?\n            /** @type {?} */\n            element.setProperty(propName, value) :\n            /** @type {?} */\n            element[propName] = value;\n          }\n        } else if (tNode.type === 0\n      /* Container */\n      ) {\n          // If the node is a container and the property didn't\n          // match any of the inputs or schemas we should throw.\n          if (ngDevMode && !matchingSchemas(lView, tNode.tagName)) {\n            throw createUnknownPropertyError(propName, tNode);\n          }\n        }\n    }\n    /**\n     * If node is an OnPush component, marks its LView dirty.\n     * @param {?} lView\n     * @param {?} viewIndex\n     * @return {?}\n     */\n\n\n    function markDirtyIfOnPush(lView, viewIndex) {\n      ngDevMode && assertLView(lView);\n      /** @type {?} */\n\n      var childComponentLView = getComponentViewByIndex(viewIndex, lView);\n\n      if (!(childComponentLView[FLAGS] & 16\n      /* CheckAlways */\n      )) {\n        childComponentLView[FLAGS] |= 64\n        /* Dirty */\n        ;\n      }\n    }\n    /**\n     * @param {?} lView\n     * @param {?} element\n     * @param {?} type\n     * @param {?} attrName\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function setNgReflectProperty(lView, element, type, attrName, value) {\n      /** @type {?} */\n      var renderer = lView[RENDERER];\n      attrName = normalizeDebugBindingName(attrName);\n      /** @type {?} */\n\n      var debugValue = normalizeDebugBindingValue(value);\n\n      if (type === 3\n      /* Element */\n      ) {\n          if (value == null) {\n            isProceduralRenderer(renderer) ? renderer.removeAttribute(\n            /** @type {?} */\n            element, attrName) :\n            /** @type {?} */\n            element.removeAttribute(attrName);\n          } else {\n            isProceduralRenderer(renderer) ? renderer.setAttribute(\n            /** @type {?} */\n            element, attrName, debugValue) :\n            /** @type {?} */\n            element.setAttribute(attrName, debugValue);\n          }\n        } else {\n        /** @type {?} */\n        var textContent = \"bindings=\".concat(JSON.stringify(_defineProperty({}, attrName, debugValue), null, 2));\n\n        if (isProceduralRenderer(renderer)) {\n          renderer.setValue(\n          /** @type {?} */\n          element, textContent);\n        } else {\n          /** @type {?} */\n          element.textContent = textContent;\n        }\n      }\n    }\n    /**\n     * @param {?} hostView\n     * @param {?} element\n     * @param {?} propName\n     * @param {?} tNode\n     * @return {?}\n     */\n\n\n    function validateAgainstUnknownProperties(hostView, element, propName, tNode) {\n      // If the tag matches any of the schemas we shouldn't throw.\n      if (matchingSchemas(hostView, tNode.tagName)) {\n        return;\n      } // If prop is not a known property of the HTML element...\n\n\n      if (!(propName in element) && // and we are in a browser context... (web worker nodes should be skipped)\n      typeof Node === 'function' && element instanceof Node && // and isn't a synthetic animation property...\n      propName[0] !== ANIMATION_PROP_PREFIX) {\n        // ... it is probably a user error and we should throw.\n        throw createUnknownPropertyError(propName, tNode);\n      }\n    }\n    /**\n     * @param {?} hostView\n     * @param {?} tagName\n     * @return {?}\n     */\n\n\n    function matchingSchemas(hostView, tagName) {\n      /** @type {?} */\n      var schemas = hostView[TVIEW].schemas;\n\n      if (schemas !== null) {\n        for (var i = 0; i < schemas.length; i++) {\n          /** @type {?} */\n          var schema = schemas[i];\n\n          if (schema === NO_ERRORS_SCHEMA || schema === CUSTOM_ELEMENTS_SCHEMA && tagName && tagName.indexOf('-') > -1) {\n            return true;\n          }\n        }\n      }\n\n      return false;\n    }\n    /**\n     * Stores debugging data for this property binding on first template pass.\n     * This enables features like DebugElement.properties.\n     * @param {?} tNode\n     * @param {?} lView\n     * @param {?} propName\n     * @param {?} tData\n     * @param {?} nativeOnly\n     * @return {?}\n     */\n\n\n    function savePropertyDebugData(tNode, lView, propName, tData, nativeOnly) {\n      /** @type {?} */\n      var lastBindingIndex = lView[BINDING_INDEX] - 1; // Bind/interpolation functions save binding metadata in the last binding index,\n      // but leave the property name blank. If the interpolation delimiter is at the 0\n      // index, we know that this is our first pass and the property name still needs to\n      // be set.\n\n      /** @type {?} */\n\n      var bindingMetadata =\n      /** @type {?} */\n      tData[lastBindingIndex];\n\n      if (bindingMetadata[0] == INTERPOLATION_DELIMITER) {\n        tData[lastBindingIndex] = propName + bindingMetadata; // We don't want to store indices for host bindings because they are stored in a\n        // different part of LView (the expando section).\n\n        if (!nativeOnly) {\n          if (tNode.propertyMetadataStartIndex == -1) {\n            tNode.propertyMetadataStartIndex = lastBindingIndex;\n          }\n\n          tNode.propertyMetadataEndIndex = lastBindingIndex + 1;\n        }\n      }\n    }\n    /**\n     * Creates an error that should be thrown when encountering an unknown property on an element.\n     * @param {?} propName Name of the invalid property.\n     * @param {?} tNode Node on which we encountered the error.\n     * @return {?}\n     */\n\n\n    function createUnknownPropertyError(propName, tNode) {\n      return new Error(\"Template error: Can't bind to '\".concat(propName, \"' since it isn't a known property of '\").concat(tNode.tagName, \"'.\"));\n    }\n    /**\n     * Instantiate a root component.\n     * @template T\n     * @param {?} tView\n     * @param {?} viewData\n     * @param {?} def\n     * @return {?}\n     */\n\n\n    function instantiateRootComponent(tView, viewData, def) {\n      /** @type {?} */\n      var rootTNode = getPreviousOrParentTNode();\n\n      if (tView.firstTemplatePass) {\n        if (def.providersResolver) def.providersResolver(def);\n        generateExpandoInstructionBlock(tView, rootTNode, 1);\n        baseResolveDirective(tView, viewData, def, def.factory);\n      }\n      /** @type {?} */\n\n\n      var directive = getNodeInjectable(tView.data, viewData, viewData.length - 1,\n      /** @type {?} */\n      rootTNode);\n      postProcessBaseDirective(viewData, rootTNode, directive);\n      return directive;\n    }\n    /**\n     * Resolve the matched directives on a node.\n     * @param {?} tView\n     * @param {?} lView\n     * @param {?} tNode\n     * @param {?} localRefs\n     * @return {?}\n     */\n\n\n    function resolveDirectives(tView, lView, tNode, localRefs) {\n      // Please make sure to have explicit type for `exportsMap`. Inferred type triggers bug in\n      // tsickle.\n      ngDevMode && assertEqual(tView.firstTemplatePass, true, 'should run on first template pass only');\n      if (!getBindingsEnabled()) return;\n      /** @type {?} */\n\n      var directives = findDirectiveMatches(tView, lView, tNode);\n      /** @type {?} */\n\n      var exportsMap = localRefs ? {\n        '': -1\n      } : null;\n\n      if (directives) {\n        initNodeFlags(tNode, tView.data.length, directives.length); // When the same token is provided by several directives on the same node, some rules apply in\n        // the viewEngine:\n        // - viewProviders have priority over providers\n        // - the last directive in NgModule.declarations has priority over the previous one\n        // So to match these rules, the order in which providers are added in the arrays is very\n        // important.\n\n        for (var i = 0; i < directives.length; i++) {\n          /** @type {?} */\n          var def =\n          /** @type {?} */\n          directives[i];\n          if (def.providersResolver) def.providersResolver(def);\n        }\n\n        generateExpandoInstructionBlock(tView, tNode, directives.length);\n        /** @type {?} */\n\n        var initialPreOrderHooksLength = tView.preOrderHooks && tView.preOrderHooks.length || 0;\n        /** @type {?} */\n\n        var initialPreOrderCheckHooksLength = tView.preOrderCheckHooks && tView.preOrderCheckHooks.length || 0;\n        /** @type {?} */\n\n        var nodeIndex = tNode.index - HEADER_OFFSET;\n\n        for (var _i21 = 0; _i21 < directives.length; _i21++) {\n          /** @type {?} */\n          var _def2 =\n          /** @type {?} */\n          directives[_i21];\n          /** @type {?} */\n\n          var directiveDefIdx = tView.data.length;\n          baseResolveDirective(tView, lView, _def2, _def2.factory);\n          saveNameToExportMap(\n          /** @type {?} */\n          tView.data.length - 1, _def2, exportsMap); // Init hooks are queued now so ngOnInit is called in host components before\n          // any projected components.\n\n          registerPreOrderHooks(directiveDefIdx, _def2, tView, nodeIndex, initialPreOrderHooksLength, initialPreOrderCheckHooksLength);\n        }\n      }\n\n      if (exportsMap) cacheMatchingLocalNames(tNode, localRefs, exportsMap);\n    }\n    /**\n     * Instantiate all the directives that were previously resolved on the current node.\n     * @param {?} tView\n     * @param {?} lView\n     * @param {?} tNode\n     * @return {?}\n     */\n\n\n    function instantiateAllDirectives(tView, lView, tNode) {\n      /** @type {?} */\n      var start = tNode.directiveStart;\n      /** @type {?} */\n\n      var end = tNode.directiveEnd;\n\n      if (!tView.firstTemplatePass && start < end) {\n        getOrCreateNodeInjectorForNode(\n        /** @type {?} */\n        tNode, lView);\n      }\n\n      for (var i = start; i < end; i++) {\n        /** @type {?} */\n        var def =\n        /** @type {?} */\n        tView.data[i];\n\n        if (isComponentDef(def)) {\n          addComponentLogic(lView, tNode,\n          /** @type {?} */\n          def);\n        }\n        /** @type {?} */\n\n\n        var directive = getNodeInjectable(tView.data,\n        /** @type {?} */\n        lView, i,\n        /** @type {?} */\n        tNode);\n        postProcessDirective(lView, directive, def, i);\n      }\n    }\n    /**\n     * @param {?} tView\n     * @param {?} viewData\n     * @param {?} tNode\n     * @return {?}\n     */\n\n\n    function invokeDirectivesHostBindings(tView, viewData, tNode) {\n      /** @type {?} */\n      var start = tNode.directiveStart;\n      /** @type {?} */\n\n      var end = tNode.directiveEnd;\n      /** @type {?} */\n\n      var expando =\n      /** @type {?} */\n      tView.expandoInstructions;\n      /** @type {?} */\n\n      var firstTemplatePass = tView.firstTemplatePass;\n      /** @type {?} */\n\n      var elementIndex = tNode.index - HEADER_OFFSET;\n      /** @type {?} */\n\n      var selectedIndex = getSelectedIndex();\n\n      try {\n        setActiveHostElement(elementIndex);\n\n        for (var i = start; i < end; i++) {\n          /** @type {?} */\n          var def =\n          /** @type {?} */\n          tView.data[i];\n          /** @type {?} */\n\n          var directive = viewData[i];\n\n          if (def.hostBindings) {\n            invokeHostBindingsInCreationMode(def, expando, directive, tNode, firstTemplatePass); // Each directive gets a uniqueId value that is the same for both\n            // create and update calls when the hostBindings function is called. The\n            // directive uniqueId is not set anywhere--it is just incremented between\n            // each hostBindings call and is useful for helping instruction code\n            // uniquely determine which directive is currently active when executed.\n\n            incrementActiveDirectiveId();\n          } else if (firstTemplatePass) {\n            expando.push(null);\n          }\n        }\n      } finally {\n        setActiveHostElement(selectedIndex);\n      }\n    }\n    /**\n     * @param {?} def\n     * @param {?} expando\n     * @param {?} directive\n     * @param {?} tNode\n     * @param {?} firstTemplatePass\n     * @return {?}\n     */\n\n\n    function invokeHostBindingsInCreationMode(def, expando, directive, tNode, firstTemplatePass) {\n      /** @type {?} */\n      var previousExpandoLength = expando.length;\n      setCurrentDirectiveDef(def);\n      /** @type {?} */\n\n      var elementIndex = tNode.index - HEADER_OFFSET;\n\n      /** @type {?} */\n      def.hostBindings(1\n      /* Create */\n      , directive, elementIndex);\n      setCurrentDirectiveDef(null); // `hostBindings` function may or may not contain `allocHostVars` call\n      // (e.g. it may not if it only contains host listeners), so we need to check whether\n      // `expandoInstructions` has changed and if not - we still push `hostBindings` to\n      // expando block, to make sure we execute it for DI cycle\n\n      if (previousExpandoLength === expando.length && firstTemplatePass) {\n        expando.push(def.hostBindings);\n      }\n    }\n    /**\n     * Generates a new block in TView.expandoInstructions for this node.\n     *\n     * Each expando block starts with the element index (turned negative so we can distinguish\n     * it from the hostVar count) and the directive count. See more in VIEW_DATA.md.\n     * @param {?} tView\n     * @param {?} tNode\n     * @param {?} directiveCount\n     * @return {?}\n     */\n\n\n    function generateExpandoInstructionBlock(tView, tNode, directiveCount) {\n      ngDevMode && assertEqual(tView.firstTemplatePass, true, 'Expando block should only be generated on first template pass.');\n      /** @type {?} */\n\n      var elementIndex = -(tNode.index - HEADER_OFFSET);\n      /** @type {?} */\n\n      var providerStartIndex = tNode.providerIndexes & 65535\n      /* ProvidersStartIndexMask */\n      ;\n      /** @type {?} */\n\n      var providerCount = tView.data.length - providerStartIndex;\n      (tView.expandoInstructions || (tView.expandoInstructions = [])).push(elementIndex, providerCount, directiveCount);\n    }\n    /**\n     * Process a directive on the current node after its creation.\n     * @template T\n     * @param {?} viewData\n     * @param {?} directive\n     * @param {?} def\n     * @param {?} directiveDefIdx\n     * @return {?}\n     */\n\n\n    function postProcessDirective(viewData, directive, def, directiveDefIdx) {\n      /** @type {?} */\n      var previousOrParentTNode = getPreviousOrParentTNode();\n      postProcessBaseDirective(viewData, previousOrParentTNode, directive);\n      ngDevMode && assertDefined(previousOrParentTNode, 'previousOrParentTNode');\n\n      if (previousOrParentTNode && previousOrParentTNode.attrs) {\n        setInputsFromAttrs(directiveDefIdx, directive, def, previousOrParentTNode);\n      }\n\n      if (viewData[TVIEW].firstTemplatePass && def.contentQueries) {\n        previousOrParentTNode.flags |= 4\n        /* hasContentQuery */\n        ;\n      }\n\n      if (isComponentDef(def)) {\n        /** @type {?} */\n        var componentView = getComponentViewByIndex(previousOrParentTNode.index, viewData);\n        componentView[CONTEXT] = directive;\n      }\n    }\n    /**\n     * A lighter version of postProcessDirective() that is used for the root component.\n     * @template T\n     * @param {?} lView\n     * @param {?} previousOrParentTNode\n     * @param {?} directive\n     * @return {?}\n     */\n\n\n    function postProcessBaseDirective(lView, previousOrParentTNode, directive) {\n      /** @type {?} */\n      var native = getNativeByTNode(previousOrParentTNode, lView);\n      ngDevMode && assertEqual(lView[BINDING_INDEX], lView[TVIEW].bindingStartIndex, 'directives should be created before any bindings');\n      ngDevMode && assertPreviousIsParent(getIsParent());\n      attachPatchData(directive, lView);\n\n      if (native) {\n        attachPatchData(native, lView);\n      }\n    }\n    /**\n     * Matches the current node against all available selectors.\n     * If a component is matched (at most one), it is returned in first position in the array.\n     * @param {?} tView\n     * @param {?} viewData\n     * @param {?} tNode\n     * @return {?}\n     */\n\n\n    function findDirectiveMatches(tView, viewData, tNode) {\n      ngDevMode && assertEqual(tView.firstTemplatePass, true, 'should run on first template pass only');\n      /** @type {?} */\n\n      var registry = tView.directiveRegistry;\n      /** @type {?} */\n\n      var matches = null;\n\n      if (registry) {\n        for (var i = 0; i < registry.length; i++) {\n          /** @type {?} */\n          var def =\n          /** @type {?} */\n          registry[i];\n\n          if (isNodeMatchingSelectorList(tNode,\n          /** @type {?} */\n          def.selectors,\n          /* isProjectionMode */\n          false)) {\n            matches || (matches = ngDevMode ? new\n            /** @type {?} */\n            MatchesArray() : []);\n            diPublicInInjector(getOrCreateNodeInjectorForNode(tNode, viewData), tView, def.type);\n\n            if (isComponentDef(def)) {\n              if (tNode.flags & 1\n              /* isComponent */\n              ) throwMultipleComponentError(tNode);\n              tNode.flags = 1\n              /* isComponent */\n              ; // The component is always stored first with directives after.\n\n              matches.unshift(def);\n            } else {\n              matches.push(def);\n            }\n          }\n        }\n      }\n\n      return matches;\n    }\n    /**\n     * Stores index of component's host element so it will be queued for view refresh during CD.\n     * @param {?} previousOrParentTNode\n     * @return {?}\n     */\n\n\n    function queueComponentIndexForCheck(previousOrParentTNode) {\n      /** @type {?} */\n      var tView = getLView()[TVIEW];\n      ngDevMode && assertEqual(tView.firstTemplatePass, true, 'Should only be called in first template pass.');\n      (tView.components || (tView.components = ngDevMode ? new\n      /** @type {?} */\n      TViewComponents() : [])).push(previousOrParentTNode.index);\n    }\n    /**\n     * Caches local names and their matching directive indices for query and template lookups.\n     * @param {?} tNode\n     * @param {?} localRefs\n     * @param {?} exportsMap\n     * @return {?}\n     */\n\n\n    function cacheMatchingLocalNames(tNode, localRefs, exportsMap) {\n      if (localRefs) {\n        /** @type {?} */\n        var localNames = tNode.localNames = ngDevMode ? new\n        /** @type {?} */\n        TNodeLocalNames() : []; // Local names must be stored in tNode in the same order that localRefs are defined\n        // in the template to ensure the data is loaded in the same slots as their refs\n        // in the template (for template queries).\n\n        for (var i = 0; i < localRefs.length; i += 2) {\n          /** @type {?} */\n          var index = exportsMap[localRefs[i + 1]];\n          if (index == null) throw new Error(\"Export of name '\".concat(localRefs[i + 1], \"' not found!\"));\n          localNames.push(localRefs[i], index);\n        }\n      }\n    }\n    /**\n     * Builds up an export map as directives are created, so local refs can be quickly mapped\n     * to their directive instances.\n     * @param {?} index\n     * @param {?} def\n     * @param {?} exportsMap\n     * @return {?}\n     */\n\n\n    function saveNameToExportMap(index, def, exportsMap) {\n      if (exportsMap) {\n        if (def.exportAs) {\n          for (var i = 0; i < def.exportAs.length; i++) {\n            exportsMap[def.exportAs[i]] = index;\n          }\n        }\n\n        if (\n        /** @type {?} */\n        def.template) exportsMap[''] = index;\n      }\n    }\n    /**\n     * Initializes the flags on the current node, setting all indices to the initial index,\n     * the directive count to 0, and adding the isComponent flag.\n     * @param {?} tNode\n     * @param {?} index the initial index\n     * @param {?} numberOfDirectives\n     * @return {?}\n     */\n\n\n    function initNodeFlags(tNode, index, numberOfDirectives) {\n      /** @type {?} */\n      var flags = tNode.flags;\n      ngDevMode && assertEqual(flags === 0 || flags === 1\n      /* isComponent */\n      , true, 'expected node flags to not be initialized');\n      ngDevMode && assertNotEqual(numberOfDirectives, tNode.directiveEnd - tNode.directiveStart, 'Reached the max number of directives'); // When the first directive is created on a node, save the index\n\n      tNode.flags = flags & 1\n      /* isComponent */\n      ;\n      tNode.directiveStart = index;\n      tNode.directiveEnd = index + numberOfDirectives;\n      tNode.providerIndexes = index;\n    }\n    /**\n     * @template T\n     * @param {?} tView\n     * @param {?} viewData\n     * @param {?} def\n     * @param {?} directiveFactory\n     * @return {?}\n     */\n\n\n    function baseResolveDirective(tView, viewData, def, directiveFactory) {\n      tView.data.push(def);\n      /** @type {?} */\n\n      var nodeInjectorFactory = new NodeInjectorFactory(directiveFactory, isComponentDef(def), null);\n      tView.blueprint.push(nodeInjectorFactory);\n      viewData.push(nodeInjectorFactory);\n    }\n    /**\n     * @template T\n     * @param {?} lView\n     * @param {?} previousOrParentTNode\n     * @param {?} def\n     * @return {?}\n     */\n\n\n    function addComponentLogic(lView, previousOrParentTNode, def) {\n      /** @type {?} */\n      var native = getNativeByTNode(previousOrParentTNode, lView);\n      /** @type {?} */\n\n      var tView = getOrCreateTView(def); // Only component views should be added to the view tree directly. Embedded views are\n      // accessed through their containers because they may be removed / re-added later.\n\n      /** @type {?} */\n\n      var rendererFactory = lView[RENDERER_FACTORY];\n      /** @type {?} */\n\n      var componentView = addToViewTree(lView, createLView(lView, tView, null, def.onPush ? 64\n      /* Dirty */\n      : 16\n      /* CheckAlways */\n      , lView[previousOrParentTNode.index],\n      /** @type {?} */\n      previousOrParentTNode, rendererFactory, rendererFactory.createRenderer(\n      /** @type {?} */\n      native, def)));\n      componentView[T_HOST] =\n      /** @type {?} */\n      previousOrParentTNode; // Component view will always be created before any injected LContainers,\n      // so this is a regular element, wrap it with the component view\n\n      lView[previousOrParentTNode.index] = componentView;\n\n      if (lView[TVIEW].firstTemplatePass) {\n        queueComponentIndexForCheck(previousOrParentTNode);\n      }\n    }\n    /**\n     * @param {?} index\n     * @param {?} name\n     * @param {?} value\n     * @param {?} lView\n     * @param {?=} sanitizer\n     * @param {?=} namespace\n     * @return {?}\n     */\n\n\n    function elementAttributeInternal(index, name, value, lView, sanitizer, namespace) {\n      ngDevMode && assertNotSame(value,\n      /** @type {?} */\n      NO_CHANGE, 'Incoming value should never be NO_CHANGE.');\n      ngDevMode && validateAgainstEventAttributes(name);\n      /** @type {?} */\n\n      var element =\n      /** @type {?} */\n      getNativeByIndex(index, lView);\n      /** @type {?} */\n\n      var renderer = lView[RENDERER];\n\n      if (value == null) {\n        ngDevMode && ngDevMode.rendererRemoveAttribute++;\n        isProceduralRenderer(renderer) ? renderer.removeAttribute(element, name, namespace) : element.removeAttribute(name);\n      } else {\n        ngDevMode && ngDevMode.rendererSetAttribute++;\n        /** @type {?} */\n\n        var tNode = getTNode(index, lView);\n        /** @type {?} */\n\n        var strValue = sanitizer == null ? renderStringify(value) : sanitizer(value, tNode.tagName || '', name);\n\n        if (isProceduralRenderer(renderer)) {\n          renderer.setAttribute(element, name, strValue, namespace);\n        } else {\n          namespace ? element.setAttributeNS(namespace, name, strValue) : element.setAttribute(name, strValue);\n        }\n      }\n    }\n    /**\n     * Sets initial input properties on directive instances from attribute data\n     *\n     * @template T\n     * @param {?} directiveIndex Index of the directive in directives array\n     * @param {?} instance Instance of the directive on which to set the initial inputs\n     * @param {?} def The directive def that contains the list of inputs\n     * @param {?} tNode The static data for this node\n     * @return {?}\n     */\n\n\n    function setInputsFromAttrs(directiveIndex, instance, def, tNode) {\n      /** @type {?} */\n      var initialInputData =\n      /** @type {?} */\n      tNode.initialInputs;\n\n      if (initialInputData === undefined || directiveIndex >= initialInputData.length) {\n        initialInputData = generateInitialInputs(directiveIndex, def.inputs, tNode);\n      }\n      /** @type {?} */\n\n\n      var initialInputs = initialInputData[directiveIndex];\n\n      if (initialInputs) {\n        /** @type {?} */\n        var setInput = def.setInput;\n\n        for (var i = 0; i < initialInputs.length;) {\n          /** @type {?} */\n          var publicName = initialInputs[i++];\n          /** @type {?} */\n\n          var privateName = initialInputs[i++];\n          /** @type {?} */\n\n          var value = initialInputs[i++];\n\n          if (setInput) {\n            /** @type {?} */\n            def.setInput(instance, value, publicName, privateName);\n          } else {\n            /** @type {?} */\n            instance[privateName] = value;\n          }\n\n          if (ngDevMode) {\n            /** @type {?} */\n            var _lView4 = getLView();\n            /** @type {?} */\n\n\n            var nativeElement =\n            /** @type {?} */\n            getNativeByTNode(tNode, _lView4);\n            setNgReflectProperty(_lView4, nativeElement, tNode.type, privateName, value);\n          }\n        }\n      }\n    }\n    /**\n     * Generates initialInputData for a node and stores it in the template's static storage\n     * so subsequent template invocations don't have to recalculate it.\n     *\n     * initialInputData is an array containing values that need to be set as input properties\n     * for directives on this node, but only once on creation. We need this array to support\n     * the case where you set an \\@Input property of a directive using attribute-like syntax.\n     * e.g. if you have a `name` \\@Input, you can set it once like this:\n     *\n     * <my-component name=\"Bess\"></my-component>\n     *\n     * @param {?} directiveIndex Index to store the initial input data\n     * @param {?} inputs The list of inputs from the directive def\n     * @param {?} tNode The static data on this node\n     * @return {?}\n     */\n\n\n    function generateInitialInputs(directiveIndex, inputs, tNode) {\n      /** @type {?} */\n      var initialInputData = tNode.initialInputs || (tNode.initialInputs = ngDevMode ? new\n      /** @type {?} */\n      TNodeInitialInputs() : []); // Ensure that we don't create sparse arrays\n\n      for (var _i22 = initialInputData.length; _i22 <= directiveIndex; _i22++) {\n        initialInputData.push(null);\n      }\n      /** @type {?} */\n\n\n      var attrs =\n      /** @type {?} */\n      tNode.attrs;\n      /** @type {?} */\n\n      var i = 0;\n\n      while (i < attrs.length) {\n        /** @type {?} */\n        var attrName = attrs[i];\n\n        if (attrName === 0\n        /* NamespaceURI */\n        ) {\n            // We do not allow inputs on namespaced attributes.\n            i += 4;\n            continue;\n          } else if (attrName === 5\n        /* ProjectAs */\n        ) {\n            // Skip over the `ngProjectAs` value.\n            i += 2;\n            continue;\n          } // If we hit any other attribute markers, we're done anyway. None of those are valid inputs.\n\n\n        if (typeof attrName === 'number') break;\n        /** @type {?} */\n\n        var minifiedInputName = inputs[\n        /** @type {?} */\n        attrName];\n        /** @type {?} */\n\n        var attrValue = attrs[i + 1];\n\n        if (minifiedInputName !== undefined) {\n          /** @type {?} */\n          var inputsToStore = initialInputData[directiveIndex] || (initialInputData[directiveIndex] = ngDevMode ? new\n          /** @type {?} */\n          TNodeInitialData() : []);\n          inputsToStore.push(\n          /** @type {?} */\n          attrName, minifiedInputName,\n          /** @type {?} */\n          attrValue);\n        }\n\n        i += 2;\n      }\n\n      return initialInputData;\n    } //////////////////////////\n    //// ViewContainer & View\n    //////////////////////////\n    // Not sure why I need to do `any` here but TS complains later.\n\n    /** @type {?} */\n\n\n    var LContainerArray = ngDevMode && createNamedArrayType('LContainer');\n    /**\n     * Creates a LContainer, either from a container instruction, or for a ViewContainerRef.\n     *\n     * @param {?} hostNative The host element for the LContainer\n     * @param {?} currentView The parent view of the LContainer\n     * @param {?} native The native comment element\n     * @param {?} tNode\n     * @param {?=} isForViewContainerRef Optional a flag indicating the ViewContainerRef case\n     * @return {?} LContainer\n     */\n\n    function createLContainer(hostNative, currentView, native, tNode, isForViewContainerRef) {\n      ngDevMode && assertDomNode(native);\n      ngDevMode && assertLView(currentView); // https://jsperf.com/array-literal-vs-new-array-really\n\n      /** @type {?} */\n\n      var lContainer = new (ngDevMode ? LContainerArray : Array)(hostNative, // host native\n      true, // Boolean `true` in this position signifies that this is an `LContainer`\n      isForViewContainerRef ? -1 : 0, // active index\n      currentView, // parent\n      null, // next\n      null, // queries\n      tNode, // t_host\n      native, // native,\n      null);\n      ngDevMode && attachLContainerDebug(lContainer);\n      return lContainer;\n    }\n    /**\n     * Goes over dynamic embedded views (ones created through ViewContainerRef APIs) and refreshes\n     * them\n     * by executing an associated template function.\n     * @param {?} lView\n     * @return {?}\n     */\n\n\n    function refreshDynamicEmbeddedViews(lView) {\n      for (var current = lView[CHILD_HEAD]; current !== null; current = current[NEXT]) {\n        // Note: current can be an LView or an LContainer instance, but here we are only interested\n        // in LContainer. We can tell it's an LContainer because its length is less than the LView\n        // header.\n        if (current[ACTIVE_INDEX] === -1 && isLContainer(current)) {\n          for (var i = CONTAINER_HEADER_OFFSET; i < current.length; i++) {\n            /** @type {?} */\n            var dynamicViewData = current[i]; // The directives and pipes are not needed here as an existing view is only being\n            // refreshed.\n\n            ngDevMode && assertDefined(dynamicViewData[TVIEW], 'TView must be allocated');\n            renderEmbeddedTemplate(dynamicViewData, dynamicViewData[TVIEW],\n            /** @type {?} */\n            dynamicViewData[CONTEXT]);\n          }\n        }\n      }\n    } /////////////\n\n    /**\n     * Refreshes components by entering the component view and processing its bindings, queries, etc.\n     *\n     * @param {?} hostLView\n     * @param {?} adjustedElementIndex  Element index in LView[] (adjusted for HEADER_OFFSET)\n     * @return {?}\n     */\n\n\n    function componentRefresh(hostLView, adjustedElementIndex) {\n      ngDevMode && assertDataInRange(hostLView, adjustedElementIndex);\n      /** @type {?} */\n\n      var componentView = getComponentViewByIndex(adjustedElementIndex, hostLView);\n      ngDevMode && assertNodeType(\n      /** @type {?} */\n      hostLView[TVIEW].data[adjustedElementIndex], 3\n      /* Element */\n      ); // Only components in creation mode, attached CheckAlways\n      // components or attached, dirty OnPush components should be checked\n\n      if ((viewAttachedToChangeDetector(componentView) || isCreationMode(hostLView)) && componentView[FLAGS] & (16\n      /* CheckAlways */\n      | 64\n      /* Dirty */\n      )) {\n        syncViewWithBlueprint(componentView);\n        checkView(componentView, componentView[CONTEXT]);\n      }\n    }\n    /**\n     * Syncs an LView instance with its blueprint if they have gotten out of sync.\n     *\n     * Typically, blueprints and their view instances should always be in sync, so the loop here\n     * will be skipped. However, consider this case of two components side-by-side:\n     *\n     * App template:\n     * ```\n     * <comp></comp>\n     * <comp></comp>\n     * ```\n     *\n     * The following will happen:\n     * 1. App template begins processing.\n     * 2. First <comp> is matched as a component and its LView is created.\n     * 3. Second <comp> is matched as a component and its LView is created.\n     * 4. App template completes processing, so it's time to check child templates.\n     * 5. First <comp> template is checked. It has a directive, so its def is pushed to blueprint.\n     * 6. Second <comp> template is checked. Its blueprint has been updated by the first\n     * <comp> template, but its LView was created before this update, so it is out of sync.\n     *\n     * Note that embedded views inside ngFor loops will never be out of sync because these views\n     * are processed as soon as they are created.\n     *\n     * @param {?} componentView The view to sync\n     * @return {?}\n     */\n\n\n    function syncViewWithBlueprint(componentView) {\n      /** @type {?} */\n      var componentTView = componentView[TVIEW];\n\n      for (var i = componentView.length; i < componentTView.blueprint.length; i++) {\n        componentView[i] = componentTView.blueprint[i];\n      }\n    }\n    /**\n     * Adds LView or LContainer to the end of the current view tree.\n     *\n     * This structure will be used to traverse through nested views to remove listeners\n     * and call onDestroy callbacks.\n     *\n     * @template T\n     * @param {?} lView The view where LView or LContainer should be added\n     * @param {?} lViewOrLContainer The LView or LContainer to add to the view tree\n     * @return {?} The state passed in\n     */\n\n\n    function addToViewTree(lView, lViewOrLContainer) {\n      // TODO(benlesh/misko): This implementation is incorrect, because it always adds the LContainer\n      // to\n      // the end of the queue, which means if the developer retrieves the LContainers from RNodes out\n      // of\n      // order, the change detection will run out of order, as the act of retrieving the the\n      // LContainer\n      // from the RNode is what adds it to the queue.\n      if (lView[CHILD_HEAD]) {\n        /** @type {?} */\n        lView[CHILD_TAIL][NEXT] = lViewOrLContainer;\n      } else {\n        lView[CHILD_HEAD] = lViewOrLContainer;\n      }\n\n      lView[CHILD_TAIL] = lViewOrLContainer;\n      return lViewOrLContainer;\n    } ///////////////////////////////\n    //// Change detection\n    ///////////////////////////////\n\n    /**\n     * Marks current view and all ancestors dirty.\n     *\n     * Returns the root view because it is found as a byproduct of marking the view tree\n     * dirty, and can be used by methods that consume markViewDirty() to easily schedule\n     * change detection. Otherwise, such methods would need to traverse up the view tree\n     * an additional time to get the root view and schedule a tick on it.\n     *\n     * @param {?} lView The starting LView to mark dirty\n     * @return {?} the root LView\n     */\n\n\n    function markViewDirty(lView) {\n      while (lView) {\n        lView[FLAGS] |= 64\n        /* Dirty */\n        ;\n        /** @type {?} */\n\n        var parent = getLViewParent(lView); // Stop traversing up as soon as you find a root view that wasn't attached to any container\n\n        if (isRootView(lView) && !parent) {\n          return lView;\n        } // continue otherwise\n\n\n        lView =\n        /** @type {?} */\n        parent;\n      }\n\n      return null;\n    }\n    /**\n     * Used to schedule change detection on the whole application.\n     *\n     * Unlike `tick`, `scheduleTick` coalesces multiple calls into one change detection run.\n     * It is usually called indirectly by calling `markDirty` when the view needs to be\n     * re-rendered.\n     *\n     * Typically `scheduleTick` uses `requestAnimationFrame` to coalesce multiple\n     * `scheduleTick` requests. The scheduling function can be overridden in\n     * `renderComponent`'s `scheduler` option.\n     * @param {?} rootContext\n     * @param {?} flags\n     * @return {?}\n     */\n\n\n    function scheduleTick(rootContext, flags) {\n      /** @type {?} */\n      var nothingScheduled = rootContext.flags === 0\n      /* Empty */\n      ;\n      rootContext.flags |= flags;\n\n      if (nothingScheduled && rootContext.clean == _CLEAN_PROMISE) {\n        /** @type {?} */\n        var res;\n        rootContext.clean = new Promise(\n        /**\n        * @param {?} r\n        * @return {?}\n        */\n        function (r) {\n          return res = r;\n        });\n        rootContext.scheduler(\n        /**\n        * @return {?}\n        */\n        function () {\n          if (rootContext.flags & 1\n          /* DetectChanges */\n          ) {\n              rootContext.flags &= ~1\n              /* DetectChanges */\n              ;\n              tickRootContext(rootContext);\n            }\n\n          if (rootContext.flags & 2\n          /* FlushPlayers */\n          ) {\n              rootContext.flags &= ~2\n              /* FlushPlayers */\n              ;\n              /** @type {?} */\n\n              var playerHandler = rootContext.playerHandler;\n\n              if (playerHandler) {\n                playerHandler.flushPlayers();\n              }\n            }\n\n          rootContext.clean = _CLEAN_PROMISE;\n\n          /** @type {?} */\n          res(null);\n        });\n      }\n    }\n    /**\n     * @param {?} rootContext\n     * @return {?}\n     */\n\n\n    function tickRootContext(rootContext) {\n      for (var i = 0; i < rootContext.components.length; i++) {\n        /** @type {?} */\n        var rootComponent = rootContext.components[i];\n        renderComponentOrTemplate(\n        /** @type {?} */\n        readPatchedLView(rootComponent), rootComponent);\n      }\n    }\n    /**\n     * @template T\n     * @param {?} view\n     * @param {?} context\n     * @return {?}\n     */\n\n\n    function detectChangesInternal(view, context) {\n      /** @type {?} */\n      var rendererFactory = view[RENDERER_FACTORY];\n      if (rendererFactory.begin) rendererFactory.begin();\n\n      try {\n        if (isCreationMode(view)) {\n          checkView(view, context); // creation mode pass\n        }\n\n        checkView(view, context); // update mode pass\n      } catch (error) {\n        handleError(view, error);\n        throw error;\n      } finally {\n        if (rendererFactory.end) rendererFactory.end();\n      }\n    }\n    /**\n     * Synchronously perform change detection on a root view and its components.\n     *\n     * @param {?} lView The view which the change detection should be performed on.\n     * @return {?}\n     */\n\n\n    function detectChangesInRootView(lView) {\n      tickRootContext(\n      /** @type {?} */\n      lView[CONTEXT]);\n    }\n    /**\n     * Checks the change detector and its children, and throws if any changes are detected.\n     *\n     * This is used in development mode to verify that running change detection doesn't\n     * introduce other changes.\n     * @template T\n     * @param {?} component\n     * @return {?}\n     */\n\n\n    function checkNoChanges(component) {\n      /** @type {?} */\n      var view = getComponentViewByInstance(component);\n      checkNoChangesInternal(view, component);\n    }\n    /**\n     * @template T\n     * @param {?} view\n     * @param {?} context\n     * @return {?}\n     */\n\n\n    function checkNoChangesInternal(view, context) {\n      setCheckNoChangesMode(true);\n\n      try {\n        detectChangesInternal(view, context);\n      } finally {\n        setCheckNoChangesMode(false);\n      }\n    }\n    /**\n     * Checks the change detector on a root view and its components, and throws if any changes are\n     * detected.\n     *\n     * This is used in development mode to verify that running change detection doesn't\n     * introduce other changes.\n     *\n     * @param {?} lView The view which the change detection should be checked on.\n     * @return {?}\n     */\n\n\n    function checkNoChangesInRootView(lView) {\n      setCheckNoChangesMode(true);\n\n      try {\n        detectChangesInRootView(lView);\n      } finally {\n        setCheckNoChangesMode(false);\n      }\n    }\n    /**\n     * Checks the view of the component provided. Does not gate on dirty checks or execute doCheck.\n     * @template T\n     * @param {?} hostView\n     * @param {?} component\n     * @return {?}\n     */\n\n\n    function checkView(hostView, component) {\n      /** @type {?} */\n      var hostTView = hostView[TVIEW];\n      /** @type {?} */\n\n      var oldView = enterView(hostView, hostView[T_HOST]);\n      /** @type {?} */\n\n      var templateFn =\n      /** @type {?} */\n      hostTView.template;\n      /** @type {?} */\n\n      var creationMode = isCreationMode(hostView); // Will become true if the `try` block executes with no errors.\n\n      /** @type {?} */\n\n      var safeToRunHooks = false;\n\n      try {\n        resetPreOrderHookFlags(hostView);\n        creationMode && executeViewQueryFn(1\n        /* Create */\n        , hostTView, component);\n        executeTemplate(hostView, templateFn, getRenderFlags(hostView), component);\n        refreshDescendantViews(hostView);\n        safeToRunHooks = true;\n      } finally {\n        leaveView(oldView, safeToRunHooks);\n      }\n    }\n    /**\n     * @template T\n     * @param {?} flags\n     * @param {?} tView\n     * @param {?} component\n     * @return {?}\n     */\n\n\n    function executeViewQueryFn(flags, tView, component) {\n      /** @type {?} */\n      var viewQuery = tView.viewQuery;\n\n      if (viewQuery !== null) {\n        setCurrentQueryIndex(0);\n        viewQuery(flags, component);\n      }\n    } ///////////////////////////////\n    //// Bindings & interpolations\n    ///////////////////////////////\n\n    /**\n     * Creates binding metadata for a particular binding and stores it in\n     * TView.data. These are generated in order to support DebugElement.properties.\n     *\n     * Each binding / interpolation will have one (including attribute bindings)\n     * because at the time of binding, we don't know to which instruction the binding\n     * belongs. It is always stored in TView.data at the index of the last binding\n     * value in LView (e.g. for interpolation8, it would be stored at the index of\n     * the 8th value).\n     *\n     * @param {?} lView The LView that contains the current binding index.\n     * @param {?=} prefix The static prefix string\n     * @param {?=} suffix The static suffix string\n     *\n     * @return {?} Newly created binding metadata string for this binding or null\n     */\n\n\n    function storeBindingMetadata(lView) {\n      var prefix = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n      var suffix = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';\n\n      /** @type {?} */\n      var tData = lView[TVIEW].data;\n      /** @type {?} */\n\n      var lastBindingIndex = lView[BINDING_INDEX] - 1;\n      /** @type {?} */\n\n      var value = INTERPOLATION_DELIMITER + prefix + INTERPOLATION_DELIMITER + suffix;\n      return tData[lastBindingIndex] == null ? tData[lastBindingIndex] = value : null;\n    }\n    /** @type {?} */\n\n\n    var CLEAN_PROMISE = _CLEAN_PROMISE;\n    /**\n     * @param {?} tNode\n     * @return {?}\n     */\n\n    function initializeTNodeInputs(tNode) {\n      // If tNode.inputs is undefined, a listener has created outputs, but inputs haven't\n      // yet been checked.\n      if (tNode.inputs === undefined) {\n        // mark inputs as checked\n        tNode.inputs = generatePropertyAliases(tNode, 0\n        /* Input */\n        );\n      }\n\n      return tNode.inputs;\n    }\n    /**\n     * @param {?} view\n     * @return {?}\n     */\n\n\n    function getCleanup(view) {\n      // top level variables should not be exported for performance reasons (PERF_NOTES.md)\n      return view[CLEANUP] || (view[CLEANUP] = ngDevMode ? new\n      /** @type {?} */\n      LCleanup() : []);\n    }\n    /**\n     * @param {?} view\n     * @return {?}\n     */\n\n\n    function getTViewCleanup(view) {\n      return view[TVIEW].cleanup || (view[TVIEW].cleanup = ngDevMode ? new\n      /** @type {?} */\n      TCleanup() : []);\n    }\n    /**\n     * There are cases where the sub component's renderer needs to be included\n     * instead of the current renderer (see the componentSyntheticHost* instructions).\n     * @param {?} tNode\n     * @param {?} lView\n     * @return {?}\n     */\n\n\n    function loadComponentRenderer(tNode, lView) {\n      /** @type {?} */\n      var componentLView =\n      /** @type {?} */\n      lView[tNode.index];\n      return componentLView[RENDERER];\n    }\n    /**\n     * Handles an error thrown in an LView.\n     * @param {?} lView\n     * @param {?} error\n     * @return {?}\n     */\n\n\n    function handleError(lView, error) {\n      /** @type {?} */\n      var injector = lView[INJECTOR$1];\n      /** @type {?} */\n\n      var errorHandler = injector ? injector.get(ErrorHandler, null) : null;\n      errorHandler && errorHandler.handleError(error);\n    }\n    /**\n     * Set the inputs of directives at the current node to corresponding value.\n     *\n     * @param {?} lView the `LView` which contains the directives.\n     * @param {?} inputs mapping between the public \"input\" name and privately-known,\n     * possibly minified, property names to write to.\n     * @param {?} value Value to set.\n     * @return {?}\n     */\n\n\n    function setInputsForProperty(lView, inputs, value) {\n      /** @type {?} */\n      var tView = lView[TVIEW];\n\n      for (var i = 0; i < inputs.length;) {\n        /** @type {?} */\n        var index =\n        /** @type {?} */\n        inputs[i++];\n        /** @type {?} */\n\n        var publicName =\n        /** @type {?} */\n        inputs[i++];\n        /** @type {?} */\n\n        var privateName =\n        /** @type {?} */\n        inputs[i++];\n        /** @type {?} */\n\n        var instance = lView[index];\n        ngDevMode && assertDataInRange(lView, index);\n        /** @type {?} */\n\n        var def =\n        /** @type {?} */\n        tView.data[index];\n        /** @type {?} */\n\n        var setInput = def.setInput;\n\n        if (setInput) {\n          /** @type {?} */\n          def.setInput(instance, value, publicName, privateName);\n        } else {\n          instance[privateName] = value;\n        }\n      }\n    }\n    /**\n     * Updates a text binding at a given index in a given LView.\n     * @param {?} lView\n     * @param {?} index\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function textBindingInternal(lView, index, value) {\n      ngDevMode && assertNotSame(value,\n      /** @type {?} */\n      NO_CHANGE, 'value should not be NO_CHANGE');\n      ngDevMode && assertDataInRange(lView, index + HEADER_OFFSET);\n      /** @type {?} */\n\n      var element =\n      /** @type {?} */\n\n      /** @type {?} */\n      getNativeByIndex(index, lView);\n      ngDevMode && assertDefined(element, 'native element should exist');\n      ngDevMode && ngDevMode.rendererSetText++;\n      /** @type {?} */\n\n      var renderer = lView[RENDERER];\n      isProceduralRenderer(renderer) ? renderer.setValue(element, value) : element.textContent = value;\n    }\n    /**\n     * Renders all initial styling (class and style values) on to the element from the tNode.\n     *\n     * All initial styling data (i.e. any values extracted from the `style` or `class` attributes\n     * on an element) are collected into the `tNode.styles` and `tNode.classes` data structures.\n     * These values are populated during the creation phase of an element and are then later\n     * applied once the element is instantiated. This function applies each of the static\n     * style and class entries to the element.\n     * @param {?} renderer\n     * @param {?} native\n     * @param {?} tNode\n     * @return {?}\n     */\n\n\n    function renderInitialStyling(renderer, native, tNode) {\n      renderStylingMap(renderer, native, tNode.classes, true);\n      renderStylingMap(renderer, native, tNode.styles, false);\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var unusedValueToPlacateAjd$1 = unusedValueExportToPlacateAjd$1 + unusedValueExportToPlacateAjd$4 + unusedValueExportToPlacateAjd$5 + unusedValueExportToPlacateAjd$3 + unusedValueExportToPlacateAjd;\n    /**\n     * @param {?} tNode\n     * @param {?} embeddedView\n     * @return {?}\n     */\n\n    function getLContainer(tNode, embeddedView) {\n      ngDevMode && assertLView(embeddedView);\n      /** @type {?} */\n\n      var container =\n      /** @type {?} */\n      embeddedView[PARENT];\n\n      if (tNode.index === -1) {\n        // This is a dynamically created view inside a dynamic container.\n        // The parent isn't an LContainer if the embedded view hasn't been attached yet.\n        return isLContainer(container) ? container : null;\n      } else {\n        ngDevMode && assertLContainer(container); // This is a inline view node (e.g. embeddedViewStart)\n\n        return container;\n      }\n    }\n    /**\n     * Retrieves render parent for a given view.\n     * Might be null if a view is not yet attached to any container.\n     * @param {?} tViewNode\n     * @param {?} view\n     * @return {?}\n     */\n\n\n    function getContainerRenderParent(tViewNode, view) {\n      /** @type {?} */\n      var container = getLContainer(tViewNode, view);\n      return container ? nativeParentNode(view[RENDERER], container[NATIVE]) : null;\n    }\n    /** @enum {number} */\n\n\n    var WalkTNodeTreeAction = {\n      /** node insert in the native environment */\n      Insert: 0,\n\n      /** node detach from the native environment */\n      Detach: 1,\n\n      /** node destruction using the renderer's API */\n      Destroy: 2\n    };\n    /**\n     * NOTE: for performance reasons, the possible actions are inlined within the function instead of\n     * being passed as an argument.\n     * @param {?} action\n     * @param {?} renderer\n     * @param {?} parent\n     * @param {?} lNodeToHandle\n     * @param {?=} beforeNode\n     * @return {?}\n     */\n\n    function executeActionOnElementOrContainer(action, renderer, parent, lNodeToHandle, beforeNode) {\n      // If this slot was allocated for a text node dynamically created by i18n, the text node itself\n      // won't be created until i18nApply() in the update block, so this node should be skipped.\n      // For more info, see \"ICU expressions should work inside an ngTemplateOutlet inside an ngFor\"\n      // in `i18n_spec.ts`.\n      if (lNodeToHandle != null) {\n        /** @type {?} */\n        var lContainer;\n        /** @type {?} */\n\n        var _isComponent = false; // We are expecting an RNode, but in the case of a component or LContainer the `RNode` is\n        // wrapped\n        // in an array which needs to be unwrapped. We need to know if it is a component and if\n        // it has LContainer so that we can process all of those cases appropriately.\n\n        if (isLContainer(lNodeToHandle)) {\n          lContainer = lNodeToHandle;\n        } else if (isLView(lNodeToHandle)) {\n          _isComponent = true;\n          ngDevMode && assertDefined(lNodeToHandle[HOST], 'HOST must be defined for a component LView');\n          lNodeToHandle =\n          /** @type {?} */\n          lNodeToHandle[HOST];\n        }\n        /** @type {?} */\n\n\n        var rNode = unwrapRNode(lNodeToHandle);\n        ngDevMode && assertDomNode(rNode);\n\n        if (action === 0\n        /* Insert */\n        ) {\n            nativeInsertBefore(renderer,\n            /** @type {?} */\n            parent, rNode, beforeNode || null);\n          } else if (action === 1\n        /* Detach */\n        ) {\n            nativeRemoveNode(renderer, rNode, _isComponent);\n          } else if (action === 2\n        /* Destroy */\n        ) {\n            ngDevMode && ngDevMode.rendererDestroyNode++;\n\n            /** @type {?} */\n\n            /** @type {?} */\n            renderer.destroyNode(rNode);\n          }\n\n        if (lContainer != null) {\n          executeActionOnContainer(renderer, action, lContainer, parent, beforeNode);\n        }\n      }\n    }\n    /**\n     * @param {?} value\n     * @param {?} renderer\n     * @return {?}\n     */\n\n\n    function createTextNode(value, renderer) {\n      return isProceduralRenderer(renderer) ? renderer.createText(renderStringify(value)) : renderer.createTextNode(renderStringify(value));\n    }\n    /**\n     * @param {?} lView\n     * @param {?} insertMode\n     * @param {?=} beforeNode\n     * @return {?}\n     */\n\n\n    function addRemoveViewFromContainer(lView, insertMode, beforeNode) {\n      /** @type {?} */\n      var renderParent = getContainerRenderParent(\n      /** @type {?} */\n      lView[TVIEW].node, lView);\n      ngDevMode && assertNodeType(\n      /** @type {?} */\n      lView[TVIEW].node, 2\n      /* View */\n      );\n\n      if (renderParent) {\n        /** @type {?} */\n        var renderer = lView[RENDERER];\n        /** @type {?} */\n\n        var action = insertMode ? 0\n        /* Insert */\n        : 1\n        /* Detach */\n        ;\n        executeActionOnView(renderer, action, lView, renderParent, beforeNode);\n      }\n    }\n    /**\n     * Detach a `LView` from the DOM by detaching its nodes.\n     *\n     * @param {?} lView the `LView` to be detached.\n     * @return {?}\n     */\n\n\n    function renderDetachView(lView) {\n      executeActionOnView(lView[RENDERER], 1\n      /* Detach */\n      , lView, null, null);\n    }\n    /**\n     * Traverses down and up the tree of views and containers to remove listeners and\n     * call onDestroy callbacks.\n     *\n     * Notes:\n     *  - Because it's used for onDestroy calls, it needs to be bottom-up.\n     *  - Must process containers instead of their views to avoid splicing\n     *  when views are destroyed and re-added.\n     *  - Using a while loop because it's faster than recursion\n     *  - Destroy only called on movement to sibling or movement to parent (laterally or up)\n     *\n     * @param {?} rootView The view to destroy\n     * @return {?}\n     */\n\n\n    function destroyViewTree(rootView) {\n      // If the view has no children, we can clean it up and return early.\n\n      /** @type {?} */\n      var lViewOrLContainer = rootView[CHILD_HEAD];\n\n      if (!lViewOrLContainer) {\n        return cleanUpView(rootView);\n      }\n\n      while (lViewOrLContainer) {\n        /** @type {?} */\n        var next = null;\n\n        if (isLView(lViewOrLContainer)) {\n          // If LView, traverse down to child.\n          next = lViewOrLContainer[CHILD_HEAD];\n        } else {\n          ngDevMode && assertLContainer(lViewOrLContainer); // If container, traverse down to its first LView.\n\n          /** @type {?} */\n\n          var firstView = lViewOrLContainer[CONTAINER_HEADER_OFFSET];\n          if (firstView) next = firstView;\n        }\n\n        if (!next) {\n          // Only clean up view when moving to the side or up, as destroy hooks\n          // should be called in order from the bottom up.\n          while (lViewOrLContainer && !\n          /** @type {?} */\n          lViewOrLContainer[NEXT] && lViewOrLContainer !== rootView) {\n            cleanUpView(lViewOrLContainer);\n            lViewOrLContainer = getParentState(lViewOrLContainer, rootView);\n          }\n\n          cleanUpView(lViewOrLContainer || rootView);\n          next = lViewOrLContainer &&\n          /** @type {?} */\n          lViewOrLContainer[NEXT];\n        }\n\n        lViewOrLContainer = next;\n      }\n    }\n    /**\n     * Inserts a view into a container.\n     *\n     * This adds the view to the container's array of active views in the correct\n     * position. It also adds the view's elements to the DOM if the container isn't a\n     * root node of another view (in that case, the view's elements will be added when\n     * the container's parent view is added later).\n     *\n     * @param {?} lView The view to insert\n     * @param {?} lContainer The container into which the view should be inserted\n     * @param {?} index Which index in the container to insert the child view into\n     * @return {?}\n     */\n\n\n    function insertView(lView, lContainer, index) {\n      ngDevMode && assertLView(lView);\n      ngDevMode && assertLContainer(lContainer);\n      /** @type {?} */\n\n      var indexInContainer = CONTAINER_HEADER_OFFSET + index;\n      /** @type {?} */\n\n      var containerLength = lContainer.length;\n\n      if (index > 0) {\n        // This is a new view, we need to add it to the children.\n        lContainer[indexInContainer - 1][NEXT] = lView;\n      }\n\n      if (index < containerLength - CONTAINER_HEADER_OFFSET) {\n        lView[NEXT] = lContainer[indexInContainer];\n        addToArray(lContainer, CONTAINER_HEADER_OFFSET + index, lView);\n      } else {\n        lContainer.push(lView);\n        lView[NEXT] = null;\n      }\n\n      lView[PARENT] = lContainer; // track views where declaration and insertion points are different\n\n      /** @type {?} */\n\n      var declarationLContainer = lView[DECLARATION_LCONTAINER];\n\n      if (declarationLContainer !== null && lContainer !== declarationLContainer) {\n        trackMovedView(declarationLContainer, lView);\n      } // notify query that a new view has been added\n\n      /** @type {?} */\n\n\n      var lQueries = lView[QUERIES];\n\n      if (lQueries !== null) {\n        lQueries.insertView(lView[TVIEW]);\n      } // Sets the attached flag\n\n\n      lView[FLAGS] |= 128\n      /* Attached */\n      ;\n    }\n    /**\n     * Track views created from the declaration container (TemplateRef) and inserted into a\n     * different LContainer.\n     * @param {?} declarationContainer\n     * @param {?} lView\n     * @return {?}\n     */\n\n\n    function trackMovedView(declarationContainer, lView) {\n      ngDevMode && assertLContainer(declarationContainer);\n      /** @type {?} */\n\n      var declaredViews = declarationContainer[MOVED_VIEWS];\n\n      if (declaredViews === null) {\n        declarationContainer[MOVED_VIEWS] = [lView];\n      } else {\n        declaredViews.push(lView);\n      }\n    }\n    /**\n     * @param {?} declarationContainer\n     * @param {?} lView\n     * @return {?}\n     */\n\n\n    function detachMovedView(declarationContainer, lView) {\n      ngDevMode && assertLContainer(declarationContainer);\n      ngDevMode && assertDefined(declarationContainer[MOVED_VIEWS], 'A projected view should belong to a non-empty projected views collection');\n      /** @type {?} */\n\n      var projectedViews =\n      /** @type {?} */\n      declarationContainer[MOVED_VIEWS];\n      /** @type {?} */\n\n      var declaredViewIndex = projectedViews.indexOf(lView);\n      projectedViews.splice(declaredViewIndex, 1);\n    }\n    /**\n     * Detaches a view from a container.\n     *\n     * This method removes the view from the container's array of active views. It also\n     * removes the view's elements from the DOM.\n     *\n     * @param {?} lContainer The container from which to detach a view\n     * @param {?} removeIndex The index of the view to detach\n     * @return {?} Detached LView instance.\n     */\n\n\n    function detachView(lContainer, removeIndex) {\n      if (lContainer.length <= CONTAINER_HEADER_OFFSET) return;\n      /** @type {?} */\n\n      var indexInContainer = CONTAINER_HEADER_OFFSET + removeIndex;\n      /** @type {?} */\n\n      var viewToDetach = lContainer[indexInContainer];\n\n      if (viewToDetach) {\n        /** @type {?} */\n        var declarationLContainer = viewToDetach[DECLARATION_LCONTAINER];\n\n        if (declarationLContainer !== null && declarationLContainer !== lContainer) {\n          detachMovedView(declarationLContainer, viewToDetach);\n        }\n\n        if (removeIndex > 0) {\n          lContainer[indexInContainer - 1][NEXT] =\n          /** @type {?} */\n          viewToDetach[NEXT];\n        }\n        /** @type {?} */\n\n\n        var removedLView = removeFromArray(lContainer, CONTAINER_HEADER_OFFSET + removeIndex);\n        addRemoveViewFromContainer(viewToDetach, false); // notify query that a view has been removed\n\n        /** @type {?} */\n\n        var lQueries = removedLView[QUERIES];\n\n        if (lQueries !== null) {\n          lQueries.detachView(removedLView[TVIEW]);\n        }\n\n        viewToDetach[PARENT] = null;\n        viewToDetach[NEXT] = null; // Unsets the attached flag\n\n        viewToDetach[FLAGS] &= ~128\n        /* Attached */\n        ;\n      }\n\n      return viewToDetach;\n    }\n    /**\n     * Removes a view from a container, i.e. detaches it and then destroys the underlying LView.\n     *\n     * @param {?} lContainer The container from which to remove a view\n     * @param {?} removeIndex The index of the view to remove\n     * @return {?}\n     */\n\n\n    function removeView(lContainer, removeIndex) {\n      /** @type {?} */\n      var detachedView = detachView(lContainer, removeIndex);\n      detachedView && destroyLView(detachedView);\n    }\n    /**\n     * A standalone function which destroys an LView,\n     * conducting cleanup (e.g. removing listeners, calling onDestroys).\n     *\n     * @param {?} lView The view to be destroyed.\n     * @return {?}\n     */\n\n\n    function destroyLView(lView) {\n      if (!(lView[FLAGS] & 256\n      /* Destroyed */\n      )) {\n        /** @type {?} */\n        var renderer = lView[RENDERER];\n\n        if (isProceduralRenderer(renderer) && renderer.destroyNode) {\n          executeActionOnView(renderer, 2\n          /* Destroy */\n          , lView, null, null);\n        }\n\n        destroyViewTree(lView);\n      }\n    }\n    /**\n     * Determines which LViewOrLContainer to jump to when traversing back up the\n     * tree in destroyViewTree.\n     *\n     * Normally, the view's parent LView should be checked, but in the case of\n     * embedded views, the container (which is the view node's parent, but not the\n     * LView's parent) needs to be checked for a possible next property.\n     *\n     * @param {?} lViewOrLContainer The LViewOrLContainer for which we need a parent state\n     * @param {?} rootView The rootView, so we don't propagate too far up the view tree\n     * @return {?} The correct parent LViewOrLContainer\n     */\n\n\n    function getParentState(lViewOrLContainer, rootView) {\n      /** @type {?} */\n      var tNode;\n\n      if (isLView(lViewOrLContainer) && (tNode = lViewOrLContainer[T_HOST]) && tNode.type === 2\n      /* View */\n      ) {\n          // if it's an embedded view, the state needs to go up to the container, in case the\n          // container has a next\n          return getLContainer(\n          /** @type {?} */\n          tNode, lViewOrLContainer);\n        } else {\n        // otherwise, use parent view for containers or component views\n        return lViewOrLContainer[PARENT] === rootView ? null : lViewOrLContainer[PARENT];\n      }\n    }\n    /**\n     * Calls onDestroys hooks for all directives and pipes in a given view and then removes all\n     * listeners. Listeners are removed as the last step so events delivered in the onDestroys hooks\n     * can be propagated to \\@Output listeners.\n     *\n     * @param {?} view The LView to clean up\n     * @return {?}\n     */\n\n\n    function cleanUpView(view) {\n      if (isLView(view) && !(view[FLAGS] & 256\n      /* Destroyed */\n      )) {\n        // Usually the Attached flag is removed when the view is detached from its parent, however\n        // if it's a root view, the flag won't be unset hence why we're also removing on destroy.\n        view[FLAGS] &= ~128\n        /* Attached */\n        ; // Mark the LView as destroyed *before* executing the onDestroy hooks. An onDestroy hook\n        // runs arbitrary user code, which could include its own `viewRef.destroy()` (or similar). If\n        // We don't flag the view as destroyed before the hooks, this could lead to an infinite loop.\n        // This also aligns with the ViewEngine behavior. It also means that the onDestroy hook is\n        // really more of an \"afterDestroy\" hook if you think about it.\n\n        view[FLAGS] |= 256\n        /* Destroyed */\n        ;\n        executeOnDestroys(view);\n        removeListeners(view);\n        /** @type {?} */\n\n        var hostTNode = view[T_HOST]; // For component views only, the local renderer is destroyed as clean up time.\n\n        if (hostTNode && hostTNode.type === 3\n        /* Element */\n        && isProceduralRenderer(view[RENDERER])) {\n          ngDevMode && ngDevMode.rendererDestroy++;\n\n          /** @type {?} */\n          view[RENDERER].destroy();\n        }\n        /** @type {?} */\n\n\n        var declarationContainer = view[DECLARATION_LCONTAINER]; // we are dealing with an embedded view that is still inserted into a container\n\n        if (declarationContainer !== null && isLContainer(view[PARENT])) {\n          // and this is a projected view\n          if (declarationContainer !== view[PARENT]) {\n            detachMovedView(declarationContainer, view);\n          } // For embedded views still attached to a container: remove query result from this view.\n\n          /** @type {?} */\n\n\n          var lQueries = view[QUERIES];\n\n          if (lQueries !== null) {\n            lQueries.detachView(view[TVIEW]);\n          }\n        }\n      }\n    }\n    /**\n     * Removes listeners and unsubscribes from output subscriptions\n     * @param {?} lView\n     * @return {?}\n     */\n\n\n    function removeListeners(lView) {\n      /** @type {?} */\n      var tCleanup = lView[TVIEW].cleanup;\n\n      if (tCleanup !== null) {\n        /** @type {?} */\n        var lCleanup =\n        /** @type {?} */\n        lView[CLEANUP];\n\n        for (var i = 0; i < tCleanup.length - 1; i += 2) {\n          if (typeof tCleanup[i] === 'string') {\n            // This is a native DOM listener\n\n            /** @type {?} */\n            var idxOrTargetGetter = tCleanup[i + 1];\n            /** @type {?} */\n\n            var target = typeof idxOrTargetGetter === 'function' ? idxOrTargetGetter(lView) : unwrapRNode(lView[idxOrTargetGetter]);\n            /** @type {?} */\n\n            var listener = lCleanup[tCleanup[i + 2]];\n            /** @type {?} */\n\n            var useCaptureOrSubIdx = tCleanup[i + 3];\n\n            if (typeof useCaptureOrSubIdx === 'boolean') {\n              // native DOM listener registered with Renderer3\n              target.removeEventListener(tCleanup[i], listener, useCaptureOrSubIdx);\n            } else {\n              if (useCaptureOrSubIdx >= 0) {\n                // unregister\n                lCleanup[useCaptureOrSubIdx]();\n              } else {\n                // Subscription\n                lCleanup[-useCaptureOrSubIdx].unsubscribe();\n              }\n            }\n\n            i += 2;\n          } else {\n            // This is a cleanup function that is grouped with the index of its context\n\n            /** @type {?} */\n            var context = lCleanup[tCleanup[i + 1]];\n            tCleanup[i].call(context);\n          }\n        }\n\n        lView[CLEANUP] = null;\n      }\n    }\n    /**\n     * Calls onDestroy hooks for this view\n     * @param {?} view\n     * @return {?}\n     */\n\n\n    function executeOnDestroys(view) {\n      /** @type {?} */\n      var tView = view[TVIEW];\n      /** @type {?} */\n\n      var destroyHooks;\n\n      if (tView != null && (destroyHooks = tView.destroyHooks) != null) {\n        for (var i = 0; i < destroyHooks.length; i += 2) {\n          /** @type {?} */\n          var context = view[\n          /** @type {?} */\n          destroyHooks[i]]; // Only call the destroy hook if the context has been requested.\n\n          if (!(context instanceof NodeInjectorFactory)) {\n            /** @type {?} */\n            destroyHooks[i + 1].call(context);\n          }\n        }\n      }\n    }\n    /**\n     * Returns a native element if a node can be inserted into the given parent.\n     *\n     * There are two reasons why we may not be able to insert a element immediately.\n     * - Projection: When creating a child content element of a component, we have to skip the\n     *   insertion because the content of a component will be projected.\n     *   `<component><content>delayed due to projection</content></component>`\n     * - Parent container is disconnected: This can happen when we are inserting a view into\n     *   parent container, which itself is disconnected. For example the parent container is part\n     *   of a View which has not be inserted or is made for projection but has not been inserted\n     *   into destination.\n     * @param {?} tNode\n     * @param {?} currentView\n     * @return {?}\n     */\n\n\n    function getRenderParent(tNode, currentView) {\n      // Nodes of the top-most view can be inserted eagerly.\n      if (isRootView(currentView)) {\n        return nativeParentNode(currentView[RENDERER], getNativeByTNode(tNode, currentView));\n      } // Skip over element and ICU containers as those are represented by a comment node and\n      // can't be used as a render parent.\n\n      /** @type {?} */\n\n\n      var parent = getHighestElementOrICUContainer(tNode);\n      /** @type {?} */\n\n      var renderParent = parent.parent; // If the parent is null, then we are inserting across views: either into an embedded view or a\n      // component view.\n\n      if (renderParent == null) {\n        /** @type {?} */\n        var hostTNode =\n        /** @type {?} */\n        currentView[T_HOST];\n\n        if (hostTNode.type === 2\n        /* View */\n        ) {\n            // We are inserting a root element of an embedded view We might delay insertion of children\n            // for a given view if it is disconnected. This might happen for 2 main reasons:\n            // - view is not inserted into any container(view was created but not inserted yet)\n            // - view is inserted into a container but the container itself is not inserted into the DOM\n            // (container might be part of projection or child of a view that is not inserted yet).\n            // In other words we can insert children of a given view if this view was inserted into a\n            // container and the container itself has its render parent determined.\n            return getContainerRenderParent(\n            /** @type {?} */\n            hostTNode, currentView);\n          } else {\n          // We are inserting a root element of the component view into the component host element and\n          // it should always be eager.\n          return getHostNative(currentView);\n        }\n      } else {\n        /** @type {?} */\n        var isIcuCase = parent && parent.type === 5\n        /* IcuContainer */\n        ; // If the parent of this node is an ICU container, then it is represented by comment node and we\n        // need to use it as an anchor. If it is projected then its direct parent node is the renderer.\n\n        if (isIcuCase && parent.flags & 2\n        /* isProjected */\n        ) {\n            return (\n              /** @type {?} */\n              getNativeByTNode(parent, currentView).parentNode\n            );\n          }\n\n        ngDevMode && assertNodeType(renderParent, 3\n        /* Element */\n        );\n\n        if (renderParent.flags & 1\n        /* isComponent */\n        && !isIcuCase) {\n          /** @type {?} */\n          var tData = currentView[TVIEW].data;\n          /** @type {?} */\n\n          var _tNode2 =\n          /** @type {?} */\n          tData[renderParent.index];\n          /** @type {?} */\n\n          var encapsulation =\n          /** @type {?} */\n          tData[_tNode2.directiveStart].encapsulation; // We've got a parent which is an element in the current view. We just need to verify if the\n          // parent element is not a component. Component's content nodes are not inserted immediately\n          // because they will be projected, and so doing insert at this point would be wasteful.\n          // Since the projection would then move it to its final destination. Note that we can't\n          // make this assumption when using the Shadow DOM, because the native projection placeholders\n          // (<content> or <slot>) have to be in place as elements are being inserted.\n\n          if (encapsulation !== ViewEncapsulation.ShadowDom && encapsulation !== ViewEncapsulation.Native) {\n            return null;\n          }\n        }\n\n        return (\n          /** @type {?} */\n          getNativeByTNode(renderParent, currentView)\n        );\n      }\n    }\n    /**\n     * Gets the native host element for a given view. Will return null if the current view does not have\n     * a host element.\n     * @param {?} currentView\n     * @return {?}\n     */\n\n\n    function getHostNative(currentView) {\n      ngDevMode && assertLView(currentView);\n      /** @type {?} */\n\n      var hostTNode = currentView[T_HOST];\n      return hostTNode && hostTNode.type === 3\n      /* Element */\n      ?\n      /** @type {?} */\n      getNativeByTNode(hostTNode,\n      /** @type {?} */\n      getLViewParent(currentView)) : null;\n    }\n    /**\n     * Inserts a native node before another native node for a given parent using {\\@link Renderer3}.\n     * This is a utility function that can be used when native nodes were determined - it abstracts an\n     * actual renderer being used.\n     * @param {?} renderer\n     * @param {?} parent\n     * @param {?} child\n     * @param {?} beforeNode\n     * @return {?}\n     */\n\n\n    function nativeInsertBefore(renderer, parent, child, beforeNode) {\n      ngDevMode && ngDevMode.rendererInsertBefore++;\n\n      if (isProceduralRenderer(renderer)) {\n        renderer.insertBefore(parent, child, beforeNode);\n      } else {\n        parent.insertBefore(child, beforeNode, true);\n      }\n    }\n    /**\n     * @param {?} renderer\n     * @param {?} parent\n     * @param {?} child\n     * @return {?}\n     */\n\n\n    function nativeAppendChild(renderer, parent, child) {\n      ngDevMode && ngDevMode.rendererAppendChild++;\n\n      if (isProceduralRenderer(renderer)) {\n        renderer.appendChild(parent, child);\n      } else {\n        parent.appendChild(child);\n      }\n    }\n    /**\n     * @param {?} renderer\n     * @param {?} parent\n     * @param {?} child\n     * @param {?} beforeNode\n     * @return {?}\n     */\n\n\n    function nativeAppendOrInsertBefore(renderer, parent, child, beforeNode) {\n      if (beforeNode !== null) {\n        nativeInsertBefore(renderer, parent, child, beforeNode);\n      } else {\n        nativeAppendChild(renderer, parent, child);\n      }\n    }\n    /**\n     * Removes a node from the DOM given its native parent.\n     * @param {?} renderer\n     * @param {?} parent\n     * @param {?} child\n     * @param {?=} isHostElement\n     * @return {?}\n     */\n\n\n    function nativeRemoveChild(renderer, parent, child, isHostElement) {\n      if (isProceduralRenderer(renderer)) {\n        renderer.removeChild(parent, child, isHostElement);\n      } else {\n        parent.removeChild(child);\n      }\n    }\n    /**\n     * Returns a native parent of a given native node.\n     * @param {?} renderer\n     * @param {?} node\n     * @return {?}\n     */\n\n\n    function nativeParentNode(renderer, node) {\n      return (\n        /** @type {?} */\n        isProceduralRenderer(renderer) ? renderer.parentNode(node) : node.parentNode\n      );\n    }\n    /**\n     * Returns a native sibling of a given native node.\n     * @param {?} renderer\n     * @param {?} node\n     * @return {?}\n     */\n\n\n    function nativeNextSibling(renderer, node) {\n      return isProceduralRenderer(renderer) ? renderer.nextSibling(node) : node.nextSibling;\n    }\n    /**\n     * Finds a native \"anchor\" node for cases where we can't append a native child directly\n     * (`appendChild`) and need to use a reference (anchor) node for the `insertBefore` operation.\n     * @param {?} parentTNode\n     * @param {?} lView\n     * @return {?}\n     */\n\n\n    function getNativeAnchorNode(parentTNode, lView) {\n      if (parentTNode.type === 2\n      /* View */\n      ) {\n          /** @type {?} */\n          var lContainer =\n          /** @type {?} */\n          getLContainer(\n          /** @type {?} */\n          parentTNode, lView);\n          /** @type {?} */\n\n          var index = lContainer.indexOf(lView, CONTAINER_HEADER_OFFSET) - CONTAINER_HEADER_OFFSET;\n          return getBeforeNodeForView(index, lContainer);\n        } else if (parentTNode.type === 4\n      /* ElementContainer */\n      || parentTNode.type === 5\n      /* IcuContainer */\n      ) {\n          return getNativeByTNode(parentTNode, lView);\n        }\n\n      return null;\n    }\n    /**\n     * Appends the `child` native node (or a collection of nodes) to the `parent`.\n     *\n     * The element insertion might be delayed {\\@link canInsertNativeNode}.\n     *\n     * @param {?} childEl The native child (or children) that should be appended\n     * @param {?} childTNode The TNode of the child element\n     * @param {?} currentView The current LView\n     * @return {?} Whether or not the child was appended\n     */\n\n\n    function appendChild(childEl, childTNode, currentView) {\n      /** @type {?} */\n      var renderParent = getRenderParent(childTNode, currentView);\n\n      if (renderParent != null) {\n        /** @type {?} */\n        var renderer = currentView[RENDERER];\n        /** @type {?} */\n\n        var parentTNode = childTNode.parent ||\n        /** @type {?} */\n        currentView[T_HOST];\n        /** @type {?} */\n\n        var anchorNode = getNativeAnchorNode(parentTNode, currentView);\n\n        if (Array.isArray(childEl)) {\n          var _iteratorNormalCompletion42 = true;\n          var _didIteratorError42 = false;\n          var _iteratorError42 = undefined;\n\n          try {\n            for (var _iterator42 = childEl[Symbol.iterator](), _step42; !(_iteratorNormalCompletion42 = (_step42 = _iterator42.next()).done); _iteratorNormalCompletion42 = true) {\n              var nativeNode = _step42.value;\n              nativeAppendOrInsertBefore(renderer, renderParent, nativeNode, anchorNode);\n            }\n          } catch (err) {\n            _didIteratorError42 = true;\n            _iteratorError42 = err;\n          } finally {\n            try {\n              if (!_iteratorNormalCompletion42 && _iterator42.return != null) {\n                _iterator42.return();\n              }\n            } finally {\n              if (_didIteratorError42) {\n                throw _iteratorError42;\n              }\n            }\n          }\n        } else {\n          nativeAppendOrInsertBefore(renderer, renderParent, childEl, anchorNode);\n        }\n      }\n    }\n    /**\n     * Gets the top-level element or an ICU container if those containers are nested.\n     *\n     * @param {?} tNode The starting TNode for which we should skip element and ICU containers\n     * @return {?} The TNode of the highest level ICU container or element container\n     */\n\n\n    function getHighestElementOrICUContainer(tNode) {\n      while (tNode.parent != null && (tNode.parent.type === 4\n      /* ElementContainer */\n      || tNode.parent.type === 5\n      /* IcuContainer */\n      )) {\n        tNode = tNode.parent;\n      }\n\n      return tNode;\n    }\n    /**\n     * @param {?} viewIndexInContainer\n     * @param {?} lContainer\n     * @return {?}\n     */\n\n\n    function getBeforeNodeForView(viewIndexInContainer, lContainer) {\n      /** @type {?} */\n      var nextViewIndex = CONTAINER_HEADER_OFFSET + viewIndexInContainer + 1;\n\n      if (nextViewIndex < lContainer.length) {\n        /** @type {?} */\n        var _lView5 =\n        /** @type {?} */\n        lContainer[nextViewIndex];\n        ngDevMode && assertDefined(_lView5[T_HOST], 'Missing Host TNode');\n        /** @type {?} */\n\n        var tViewNodeChild =\n        /** @type {?} */\n        _lView5[T_HOST].child;\n        return tViewNodeChild !== null ? getNativeByTNodeOrNull(tViewNodeChild, _lView5) : lContainer[NATIVE];\n      } else {\n        return lContainer[NATIVE];\n      }\n    }\n    /**\n     * Removes a native node itself using a given renderer. To remove the node we are looking up its\n     * parent from the native tree as not all platforms / browsers support the equivalent of\n     * node.remove().\n     *\n     * @param {?} renderer A renderer to be used\n     * @param {?} rNode The native node that should be removed\n     * @param {?=} isHostElement A flag indicating if a node to be removed is a host of a component.\n     * @return {?}\n     */\n\n\n    function nativeRemoveNode(renderer, rNode, isHostElement) {\n      /** @type {?} */\n      var nativeParent = nativeParentNode(renderer, rNode);\n\n      if (nativeParent) {\n        nativeRemoveChild(renderer, nativeParent, rNode, isHostElement);\n      }\n    }\n    /**\n     * Appends nodes to a target projection place. Nodes to insert were previously re-distribution and\n     * stored on a component host level.\n     * @param {?} lView A LView where nodes are inserted (target LView)\n     * @param {?} tProjectionNode A projection node where previously re-distribution should be appended\n     * (target insertion place)\n     * @param {?} selectorIndex A bucket from where nodes to project should be taken\n     * @param {?} componentView A where projectable nodes were initially created (source view)\n     * @return {?}\n     */\n\n\n    function appendProjectedNodes(lView, tProjectionNode, selectorIndex, componentView) {\n      /** @type {?} */\n      var projectedView =\n      /** @type {?} */\n\n      /** @type {?} */\n      componentView[PARENT];\n      /** @type {?} */\n\n      var componentNode =\n      /** @type {?} */\n      componentView[T_HOST];\n      /** @type {?} */\n\n      var nodeToProject =\n      /** @type {?} */\n      componentNode.projection[selectorIndex];\n\n      if (Array.isArray(nodeToProject)) {\n        appendChild(nodeToProject, tProjectionNode, lView);\n      } else {\n        while (nodeToProject) {\n          if (!(nodeToProject.flags & 32\n          /* isDetached */\n          )) {\n            if (nodeToProject.type === 1\n            /* Projection */\n            ) {\n                appendProjectedNodes(lView, tProjectionNode,\n                /** @type {?} */\n                nodeToProject.projection, findComponentView(projectedView));\n              } else {\n              // This flag must be set now or we won't know that this node is projected\n              // if the nodes are inserted into a container later.\n              nodeToProject.flags |= 2\n              /* isProjected */\n              ;\n              appendProjectedNode(nodeToProject, tProjectionNode, lView, projectedView);\n            }\n          }\n\n          nodeToProject = nodeToProject.projectionNext;\n        }\n      }\n    }\n    /**\n     * Loops over all children of a TNode container and appends them to the DOM\n     *\n     * @param {?} ngContainerChildTNode The first child of the TNode container\n     * @param {?} tProjectionNode The projection (ng-content) TNode\n     * @param {?} currentView Current LView\n     * @param {?} projectionView Projection view (view above current)\n     * @return {?}\n     */\n\n\n    function appendProjectedChildren(ngContainerChildTNode, tProjectionNode, currentView, projectionView) {\n      while (ngContainerChildTNode) {\n        appendProjectedNode(ngContainerChildTNode, tProjectionNode, currentView, projectionView);\n        ngContainerChildTNode = ngContainerChildTNode.next;\n      }\n    }\n    /**\n     * Appends a projected node to the DOM, or in the case of a projected container,\n     * appends the nodes from all of the container's active views to the DOM.\n     *\n     * @param {?} projectedTNode The TNode to be projected\n     * @param {?} tProjectionNode The projection (ng-content) TNode\n     * @param {?} currentView Current LView\n     * @param {?} projectionView Projection view (view above current)\n     * @return {?}\n     */\n\n\n    function appendProjectedNode(projectedTNode, tProjectionNode, currentView, projectionView) {\n      /** @type {?} */\n      var native = getNativeByTNode(projectedTNode, projectionView);\n      appendChild(native, tProjectionNode, currentView); // the projected contents are processed while in the shadow view (which is the currentView)\n      // therefore we need to extract the view where the host element lives since it's the\n      // logical container of the content projected views\n\n      attachPatchData(native, projectionView);\n      /** @type {?} */\n\n      var nodeOrContainer = projectionView[projectedTNode.index];\n\n      if (projectedTNode.type === 0\n      /* Container */\n      ) {\n          // The node we are adding is a container and we are adding it to an element which\n          // is not a component (no more re-projection).\n          // Alternatively a container is projected at the root of a component's template\n          // and can't be re-projected (as not content of any component).\n          // Assign the final projection location in those cases.\n          for (var i = CONTAINER_HEADER_OFFSET; i < nodeOrContainer.length; i++) {\n            addRemoveViewFromContainer(nodeOrContainer[i], true, nodeOrContainer[NATIVE]);\n          }\n        } else if (projectedTNode.type === 5\n      /* IcuContainer */\n      ) {\n          // The node we are adding is an ICU container which is why we also need to project all the\n          // children nodes that might have been created previously and are linked to this anchor\n\n          /** @type {?} */\n          var ngContainerChildTNode =\n          /** @type {?} */\n          projectedTNode.child;\n          appendProjectedChildren(ngContainerChildTNode, ngContainerChildTNode, projectionView, projectionView);\n        } else {\n        if (projectedTNode.type === 4\n        /* ElementContainer */\n        ) {\n            appendProjectedChildren(projectedTNode.child, tProjectionNode, currentView, projectionView);\n          }\n\n        if (isLContainer(nodeOrContainer)) {\n          appendChild(nodeOrContainer[NATIVE], tProjectionNode, currentView);\n        }\n      }\n    }\n    /**\n     * `executeActionOnView` performs an operation on the view as specified in `action` (insert, detach,\n     * destroy)\n     *\n     * Inserting a view without projection or containers at top level is simple. Just iterate over the\n     * root nodes of the View, and for each node perform the `action`.\n     *\n     * Things get more complicated with containers and projections. That is because coming across:\n     * - Container: implies that we have to insert/remove/destroy the views of that container as well\n     *              which in turn can have their own Containers at the View roots.\n     * - Projection: implies that we have to insert/remove/destroy the nodes of the projection. The\n     *               complication is that the nodes we are projecting can themselves have Containers\n     *               or other Projections.\n     *\n     * As you can see this is a very recursive problem. While the recursive implementation is not the\n     * most efficient one, trying to unroll the nodes non-recursively results in very complex code that\n     * is very hard (to maintain). We are sacrificing a bit of performance for readability using a\n     * recursive implementation.\n     *\n     * @param {?} renderer Renderer to use\n     * @param {?} action action to perform (insert, detach, destroy)\n     * @param {?} lView The LView which needs to be inserted, detached, destroyed.\n     * @param {?} renderParent parent DOM element for insertion/removal.\n     * @param {?} beforeNode Before which node the insertions should happen.\n     * @return {?}\n     */\n\n\n    function executeActionOnView(renderer, action, lView, renderParent, beforeNode) {\n      /** @type {?} */\n      var tView = lView[TVIEW];\n      ngDevMode && assertNodeType(\n      /** @type {?} */\n      tView.node, 2\n      /* View */\n      );\n      /** @type {?} */\n\n      var viewRootTNode =\n      /** @type {?} */\n      tView.node.child;\n\n      while (viewRootTNode !== null) {\n        executeActionOnNode(renderer, action, lView, viewRootTNode, renderParent, beforeNode);\n        viewRootTNode = viewRootTNode.next;\n      }\n    }\n    /**\n     * `executeActionOnProjection` performs an operation on the projection specified by `action`\n     * (insert, detach, destroy).\n     *\n     * Inserting a projection requires us to locate the projected nodes from the parent component. The\n     * complication is that those nodes themselves could be re-projected from their parent component.\n     *\n     * @param {?} renderer Renderer to use\n     * @param {?} action action to perform (insert, detach, destroy)\n     * @param {?} lView The LView which needs to be inserted, detached, destroyed.\n     * @param {?} tProjectionNode projection TNode to process\n     * @param {?} renderParent parent DOM element for insertion/removal.\n     * @param {?} beforeNode Before which node the insertions should happen.\n     * @return {?}\n     */\n\n\n    function executeActionOnProjection(renderer, action, lView, tProjectionNode, renderParent, beforeNode) {\n      /** @type {?} */\n      var componentLView = findComponentView(lView);\n      /** @type {?} */\n\n      var componentNode =\n      /** @type {?} */\n      componentLView[T_HOST];\n      ngDevMode && assertDefined(componentNode.projection, 'Element nodes for which projection is processed must have projection defined.');\n      /** @type {?} */\n\n      var nodeToProject =\n      /** @type {?} */\n      componentNode.projection[tProjectionNode.projection];\n\n      if (nodeToProject !== undefined) {\n        if (Array.isArray(nodeToProject)) {\n          for (var i = 0; i < nodeToProject.length; i++) {\n            /** @type {?} */\n            var rNode = nodeToProject[i];\n            ngDevMode && assertDomNode(rNode);\n            executeActionOnElementOrContainer(action, renderer, renderParent, rNode, beforeNode);\n          }\n        } else {\n          /** @type {?} */\n          var projectionTNode = nodeToProject;\n          /** @type {?} */\n\n          var projectedComponentLView =\n          /** @type {?} */\n          componentLView[PARENT];\n\n          while (projectionTNode !== null) {\n            executeActionOnNode(renderer, action, projectedComponentLView, projectionTNode, renderParent, beforeNode);\n            projectionTNode = projectionTNode.projectionNext;\n          }\n        }\n      }\n    }\n    /**\n     * `executeActionOnContainer` performs an operation on the container and its views as specified by\n     * `action` (insert, detach, destroy)\n     *\n     * Inserting a Container is complicated by the fact that the container may have Views which\n     * themselves have containers or projections.\n     *\n     * @param {?} renderer Renderer to use\n     * @param {?} action action to perform (insert, detach, destroy)\n     * @param {?} lContainer The LContainer which needs to be inserted, detached, destroyed.\n     * @param {?} renderParent parent DOM element for insertion/removal.\n     * @param {?} beforeNode Before which node the insertions should happen.\n     * @return {?}\n     */\n\n\n    function executeActionOnContainer(renderer, action, lContainer, renderParent, beforeNode) {\n      ngDevMode && assertLContainer(lContainer);\n      /** @type {?} */\n\n      var anchor = lContainer[NATIVE]; // LContainer has its own before node.\n\n      /** @type {?} */\n\n      var native = unwrapRNode(lContainer); // An LContainer can be created dynamically on any node by injecting ViewContainerRef.\n      // Asking for a ViewContainerRef on an element will result in a creation of a separate anchor node\n      // (comment in the DOM) that will be different from the LContainer's host node. In this particular\n      // case we need to execute action on 2 nodes:\n      // - container's host node (this is done in the executeNodeAction)\n      // - container's host node (this is done here)\n\n      if (anchor !== native) {\n        executeActionOnElementOrContainer(action, renderer, renderParent, anchor, beforeNode);\n      }\n\n      for (var i = CONTAINER_HEADER_OFFSET; i < lContainer.length; i++) {\n        /** @type {?} */\n        var _lView6 =\n        /** @type {?} */\n        lContainer[i];\n        executeActionOnView(renderer, action, _lView6, renderParent, anchor);\n      }\n    }\n    /**\n     * `executeActionOnElementContainerOrIcuContainer` performs an operation on the ng-container node\n     * and its child nodes as specified by the `action` (insert, detach, destroy).\n     *\n     * @param {?} renderer Renderer to use\n     * @param {?} action action to perform (insert, detach, destroy)\n     * @param {?} lView The LView which needs to be inserted, detached, destroyed.\n     * @param {?} tNode The TNode associated with the `ElementContainer` or `IcuContainer`.\n     * @param {?} renderParent parent DOM element for insertion/removal.\n     * @param {?} beforeNode Before which node the insertions should happen.\n     * @return {?}\n     */\n\n\n    function executeActionOnElementContainerOrIcuContainer(renderer, action, lView, tNode, renderParent, beforeNode) {\n      /** @type {?} */\n      var node = lView[tNode.index];\n      executeActionOnElementOrContainer(action, renderer, renderParent, node, beforeNode);\n      /** @type {?} */\n\n      var childTNode = tNode.child;\n\n      while (childTNode) {\n        executeActionOnNode(renderer, action, lView, childTNode, renderParent, beforeNode);\n        childTNode = childTNode.next;\n      }\n    }\n    /**\n     * @param {?} renderer\n     * @param {?} action\n     * @param {?} lView\n     * @param {?} tNode\n     * @param {?} renderParent\n     * @param {?} beforeNode\n     * @return {?}\n     */\n\n\n    function executeActionOnNode(renderer, action, lView, tNode, renderParent, beforeNode) {\n      /** @type {?} */\n      var nodeType = tNode.type;\n\n      if (!(tNode.flags & 32\n      /* isDetached */\n      )) {\n        if (nodeType === 4\n        /* ElementContainer */\n        || nodeType === 5\n        /* IcuContainer */\n        ) {\n            executeActionOnElementContainerOrIcuContainer(renderer, action, lView,\n            /** @type {?} */\n            tNode, renderParent, beforeNode);\n          } else if (nodeType === 1\n        /* Projection */\n        ) {\n            executeActionOnProjection(renderer, action, lView,\n            /** @type {?} */\n            tNode, renderParent, beforeNode);\n          } else {\n          ngDevMode && assertNodeOfPossibleTypes(tNode, 3\n          /* Element */\n          , 0\n          /* Container */\n          );\n          executeActionOnElementOrContainer(action, renderer, renderParent, lView[tNode.index], beforeNode);\n        }\n      }\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Unwraps a parent injector location number to find the view offset from the current injector,\n     * then walks up the declaration view tree until the TNode of the parent injector is found.\n     *\n     * @param {?} location The location of the parent injector, which contains the view offset\n     * @param {?} startView The LView instance from which to start walking up the view tree\n     * @param {?} startTNode The TNode instance of the starting element\n     * @return {?} The TNode of the parent injector\n     */\n\n\n    function getParentInjectorTNode(location, startView, startTNode) {\n      if (startTNode.parent && startTNode.parent.injectorIndex !== -1) {\n        // view offset is 0\n\n        /** @type {?} */\n        var injectorIndex = startTNode.parent.injectorIndex;\n        /** @type {?} */\n\n        var _parentTNode = startTNode.parent;\n\n        while (_parentTNode.parent != null && injectorIndex == _parentTNode.injectorIndex) {\n          _parentTNode = _parentTNode.parent;\n        }\n\n        return _parentTNode;\n      }\n      /** @type {?} */\n\n\n      var viewOffset = getParentInjectorViewOffset(location); // view offset is 1\n\n      /** @type {?} */\n\n      var parentView = startView;\n      /** @type {?} */\n\n      var parentTNode =\n      /** @type {?} */\n      startView[T_HOST]; // view offset is superior to 1\n\n      while (viewOffset > 1) {\n        parentView =\n        /** @type {?} */\n        parentView[DECLARATION_VIEW];\n        parentTNode =\n        /** @type {?} */\n        parentView[T_HOST];\n        viewOffset--;\n      }\n\n      return parentTNode;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @record\n     */\n\n\n    function viewEngine_ChangeDetectorRef_interface() {}\n    /**\n     * @template T\n     */\n\n\n    var ViewRef =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _lView\n       * @param {?} _context\n       * @param {?} _componentIndex\n       */\n      function ViewRef(_lView, _context, _componentIndex) {\n        _classCallCheck(this, ViewRef);\n\n        this._context = _context;\n        this._componentIndex = _componentIndex;\n        this._appRef = null;\n        this._viewContainerRef = null;\n        /**\n         * \\@internal\n         */\n\n        this._tViewNode = null;\n        this._lView = _lView;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(ViewRef, [{\n        key: \"destroy\",\n\n        /**\n         * @return {?}\n         */\n        value: function destroy() {\n          if (this._appRef) {\n            this._appRef.detachView(this);\n          } else if (this._viewContainerRef) {\n            /** @type {?} */\n            var index = this._viewContainerRef.indexOf(this);\n\n            if (index > -1) {\n              this._viewContainerRef.detach(index);\n            }\n\n            this._viewContainerRef = null;\n          }\n\n          destroyLView(this._lView);\n        }\n        /**\n         * @param {?} callback\n         * @return {?}\n         */\n\n      }, {\n        key: \"onDestroy\",\n        value: function onDestroy(callback) {\n          storeCleanupFn(this._lView, callback);\n        }\n        /**\n         * Marks a view and all of its ancestors dirty.\n         *\n         * It also triggers change detection by calling `scheduleTick` internally, which coalesces\n         * multiple `markForCheck` calls to into one change detection run.\n         *\n         * This can be used to ensure an {\\@link ChangeDetectionStrategy#OnPush OnPush} component is\n         * checked when it needs to be re-rendered but the two normal triggers haven't marked it\n         * dirty (i.e. inputs haven't changed and events haven't fired in the view).\n         *\n         * <!-- TODO: Add a link to a chapter on OnPush components -->\n         *\n         * \\@usageNotes\n         * ### Example\n         *\n         * ```typescript\n         * \\@Component({\n         *   selector: 'my-app',\n         *   template: `Number of ticks: {{numberOfTicks}}`\n         *   changeDetection: ChangeDetectionStrategy.OnPush,\n         * })\n         * class AppComponent {\n         *   numberOfTicks = 0;\n         *\n         *   constructor(private ref: ChangeDetectorRef) {\n         *     setInterval(() => {\n         *       this.numberOfTicks++;\n         *       // the following is required, otherwise the view will not be updated\n         *       this.ref.markForCheck();\n         *     }, 1000);\n         *   }\n         * }\n         * ```\n         * @return {?}\n         */\n\n      }, {\n        key: \"markForCheck\",\n        value: function markForCheck() {\n          markViewDirty(this._lView);\n        }\n        /**\n         * Detaches the view from the change detection tree.\n         *\n         * Detached views will not be checked during change detection runs until they are\n         * re-attached, even if they are dirty. `detach` can be used in combination with\n         * {\\@link ChangeDetectorRef#detectChanges detectChanges} to implement local change\n         * detection checks.\n         *\n         * <!-- TODO: Add a link to a chapter on detach/reattach/local digest -->\n         * <!-- TODO: Add a live demo once ref.detectChanges is merged into master -->\n         *\n         * \\@usageNotes\n         * ### Example\n         *\n         * The following example defines a component with a large list of readonly data.\n         * Imagine the data changes constantly, many times per second. For performance reasons,\n         * we want to check and update the list every five seconds. We can do that by detaching\n         * the component's change detector and doing a local check every five seconds.\n         *\n         * ```typescript\n         * class DataProvider {\n         *   // in a real application the returned data will be different every time\n         *   get data() {\n         *     return [1,2,3,4,5];\n         *   }\n         * }\n         *\n         * \\@Component({\n         *   selector: 'giant-list',\n         *   template: `\n         *     <li *ngFor=\"let d of dataProvider.data\">Data {{d}}</li>\n         *   `,\n         * })\n         * class GiantList {\n         *   constructor(private ref: ChangeDetectorRef, private dataProvider: DataProvider) {\n         *     ref.detach();\n         *     setInterval(() => {\n         *       this.ref.detectChanges();\n         *     }, 5000);\n         *   }\n         * }\n         *  /\n         *   selector: 'app',\n         *   providers: [DataProvider],\n         *   template: `\n         *     <giant-list><giant-list>\n         *   `,\n         * })\n         * class App {\n         * }\n         * ```\n         * @return {?}\n         */\n\n      }, {\n        key: \"detach\",\n        value: function detach() {\n          this._lView[FLAGS] &= ~128\n          /* Attached */\n          ;\n        }\n        /**\n         * Re-attaches a view to the change detection tree.\n         *\n         * This can be used to re-attach views that were previously detached from the tree\n         * using {\\@link ChangeDetectorRef#detach detach}. Views are attached to the tree by default.\n         *\n         * <!-- TODO: Add a link to a chapter on detach/reattach/local digest -->\n         *\n         * \\@usageNotes\n         * ### Example\n         *\n         * The following example creates a component displaying `live` data. The component will detach\n         * its change detector from the main change detector tree when the component's live property\n         * is set to false.\n         *\n         * ```typescript\n         * class DataProvider {\n         *   data = 1;\n         *\n         *   constructor() {\n         *     setInterval(() => {\n         *       this.data = this.data * 2;\n         *     }, 500);\n         *   }\n         * }\n         *\n         * \\@Component({\n         *   selector: 'live-data',\n         *   inputs: ['live'],\n         *   template: 'Data: {{dataProvider.data}}'\n         * })\n         * class LiveData {\n         *   constructor(private ref: ChangeDetectorRef, private dataProvider: DataProvider) {}\n         *\n         *   set live(value) {\n         *     if (value) {\n         *       this.ref.reattach();\n         *     } else {\n         *       this.ref.detach();\n         *     }\n         *   }\n         * }\n         *  /\n         *   selector: 'my-app',\n         *   providers: [DataProvider],\n         *   template: `\n         *     Live Update: <input type=\"checkbox\" [(ngModel)]=\"live\">\n         *     <live-data [live]=\"live\"><live-data>\n         *   `,\n         * })\n         * class AppComponent {\n         *   live = true;\n         * }\n         * ```\n         * @return {?}\n         */\n\n      }, {\n        key: \"reattach\",\n        value: function reattach() {\n          this._lView[FLAGS] |= 128\n          /* Attached */\n          ;\n        }\n        /**\n         * Checks the view and its children.\n         *\n         * This can also be used in combination with {\\@link ChangeDetectorRef#detach detach} to implement\n         * local change detection checks.\n         *\n         * <!-- TODO: Add a link to a chapter on detach/reattach/local digest -->\n         * <!-- TODO: Add a live demo once ref.detectChanges is merged into master -->\n         *\n         * \\@usageNotes\n         * ### Example\n         *\n         * The following example defines a component with a large list of readonly data.\n         * Imagine, the data changes constantly, many times per second. For performance reasons,\n         * we want to check and update the list every five seconds.\n         *\n         * We can do that by detaching the component's change detector and doing a local change detection\n         * check every five seconds.\n         *\n         * See {\\@link ChangeDetectorRef#detach detach} for more information.\n         * @return {?}\n         */\n\n      }, {\n        key: \"detectChanges\",\n        value: function detectChanges() {\n          detectChangesInternal(this._lView, this.context);\n        }\n        /**\n         * Checks the change detector and its children, and throws if any changes are detected.\n         *\n         * This is used in development mode to verify that running change detection doesn't\n         * introduce other changes.\n         * @return {?}\n         */\n\n      }, {\n        key: \"checkNoChanges\",\n        value: function checkNoChanges() {\n          checkNoChangesInternal(this._lView, this.context);\n        }\n        /**\n         * @param {?} vcRef\n         * @return {?}\n         */\n\n      }, {\n        key: \"attachToViewContainerRef\",\n        value: function attachToViewContainerRef(vcRef) {\n          if (this._appRef) {\n            throw new Error('This view is already attached directly to the ApplicationRef!');\n          }\n\n          this._viewContainerRef = vcRef;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"detachFromAppRef\",\n        value: function detachFromAppRef() {\n          this._appRef = null;\n          renderDetachView(this._lView);\n        }\n        /**\n         * @param {?} appRef\n         * @return {?}\n         */\n\n      }, {\n        key: \"attachToAppRef\",\n        value: function attachToAppRef(appRef) {\n          if (this._viewContainerRef) {\n            throw new Error('This view is already attached to a ViewContainer!');\n          }\n\n          this._appRef = appRef;\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_lookUpContext\",\n        value: function _lookUpContext() {\n          return this._context =\n          /** @type {?} */\n\n          /** @type {?} */\n          getLViewParent(this._lView)[this._componentIndex];\n        }\n      }, {\n        key: \"rootNodes\",\n        get: function get() {\n          if (this._lView[HOST] == null) {\n            /** @type {?} */\n            var tView =\n            /** @type {?} */\n            this._lView[T_HOST];\n            return collectNativeNodes(this._lView, tView, []);\n          }\n\n          return [];\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"context\",\n        get: function get() {\n          return this._context ? this._context : this._lookUpContext();\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"destroyed\",\n        get: function get() {\n          return (this._lView[FLAGS] & 256\n          /* Destroyed */\n          ) === 256\n          /* Destroyed */\n          ;\n        }\n      }]);\n\n      return ViewRef;\n    }();\n\n    if (false) {}\n    /**\n     * \\@internal\n     * @template T\n     */\n\n\n    var RootViewRef =\n    /*#__PURE__*/\n    function (_ViewRef) {\n      _inherits(RootViewRef, _ViewRef);\n\n      /**\n       * @param {?} _view\n       */\n      function RootViewRef(_view) {\n        var _this441;\n\n        _classCallCheck(this, RootViewRef);\n\n        _this441 = _possibleConstructorReturn(this, _getPrototypeOf(RootViewRef).call(this, _view, null, -1));\n        _this441._view = _view;\n        return _this441;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(RootViewRef, [{\n        key: \"detectChanges\",\n        value: function detectChanges() {\n          detectChangesInRootView(this._view);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"checkNoChanges\",\n        value: function checkNoChanges() {\n          checkNoChangesInRootView(this._view);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"context\",\n        get: function get() {\n          return (\n            /** @type {?} */\n            null\n          );\n        }\n      }]);\n\n      return RootViewRef;\n    }(ViewRef);\n\n    if (false) {}\n    /**\n     * @param {?} lView\n     * @param {?} parentTNode\n     * @param {?} result\n     * @return {?}\n     */\n\n\n    function collectNativeNodes(lView, parentTNode, result) {\n      /** @type {?} */\n      var tNodeChild = parentTNode.child;\n\n      while (tNodeChild) {\n        /** @type {?} */\n        var nativeNode = getNativeByTNodeOrNull(tNodeChild, lView);\n        nativeNode && result.push(nativeNode);\n\n        if (tNodeChild.type === 4\n        /* ElementContainer */\n        ) {\n            collectNativeNodes(lView, tNodeChild, result);\n          } else if (tNodeChild.type === 1\n        /* Projection */\n        ) {\n            /** @type {?} */\n            var componentView = findComponentView(lView);\n            /** @type {?} */\n\n            var componentHost =\n            /** @type {?} */\n            componentView[T_HOST];\n            /** @type {?} */\n\n            var parentView = getLViewParent(componentView);\n            /** @type {?} */\n\n            var currentProjectedNode =\n            /** @type {?} */\n            componentHost.projection[\n            /** @type {?} */\n            tNodeChild.projection];\n\n            while (currentProjectedNode && parentView) {\n              result.push(getNativeByTNode(currentProjectedNode, parentView));\n              currentProjectedNode = currentProjectedNode.next;\n            }\n          }\n\n        tNodeChild = tNodeChild.next;\n      }\n\n      return result;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Creates an ElementRef from the most recent node.\n     *\n     * @param {?} ElementRefToken\n     * @return {?} The ElementRef instance to use\n     */\n\n\n    function injectElementRef(ElementRefToken) {\n      return createElementRef(ElementRefToken, getPreviousOrParentTNode(), getLView());\n    }\n    /** @type {?} */\n\n\n    var R3ElementRef;\n    /**\n     * Creates an ElementRef given a node.\n     *\n     * @param {?} ElementRefToken The ElementRef type\n     * @param {?} tNode The node for which you'd like an ElementRef\n     * @param {?} view The view to which the node belongs\n     * @return {?} The ElementRef instance to use\n     */\n\n    function createElementRef(ElementRefToken, tNode, view) {\n      if (!R3ElementRef) {\n        // TODO: Fix class name, should be ElementRef, but there appears to be a rollup bug\n        R3ElementRef =\n        /*#__PURE__*/\n        function (_ElementRefToken) {\n          _inherits(ElementRef_, _ElementRefToken);\n\n          function ElementRef_() {\n            _classCallCheck(this, ElementRef_);\n\n            return _possibleConstructorReturn(this, _getPrototypeOf(ElementRef_).apply(this, arguments));\n          }\n\n          return ElementRef_;\n        }(ElementRefToken);\n      }\n\n      return new R3ElementRef(\n      /** @type {?} */\n      getNativeByTNode(tNode, view));\n    }\n    /** @type {?} */\n\n\n    var R3TemplateRef;\n    /**\n     * Creates a TemplateRef given a node.\n     *\n     * @template T\n     * @param {?} TemplateRefToken\n     * @param {?} ElementRefToken\n     * @return {?} The TemplateRef instance to use\n     */\n\n    function injectTemplateRef(TemplateRefToken, ElementRefToken) {\n      return createTemplateRef(TemplateRefToken, ElementRefToken, getPreviousOrParentTNode(), getLView());\n    }\n    /**\n     * Creates a TemplateRef and stores it on the injector.\n     *\n     * @template T\n     * @param {?} TemplateRefToken The TemplateRef type\n     * @param {?} ElementRefToken The ElementRef type\n     * @param {?} hostTNode The node on which a TemplateRef is requested\n     * @param {?} hostView The view to which the node belongs\n     * @return {?} The TemplateRef instance or null if we can't create a TemplateRef on a given node type\n     */\n\n\n    function createTemplateRef(TemplateRefToken, ElementRefToken, hostTNode, hostView) {\n      if (!R3TemplateRef) {\n        // TODO: Fix class name, should be TemplateRef, but there appears to be a rollup bug\n        R3TemplateRef =\n        /*#__PURE__*/\n        function (_TemplateRefToken) {\n          _inherits(TemplateRef_, _TemplateRefToken);\n\n          /**\n           * @param {?} _declarationView\n           * @param {?} _declarationTContainer\n           * @param {?} elementRef\n           */\n          function TemplateRef_(_declarationView, _declarationTContainer, elementRef) {\n            var _this442;\n\n            _classCallCheck(this, TemplateRef_);\n\n            _this442 = _possibleConstructorReturn(this, _getPrototypeOf(TemplateRef_).call(this));\n            _this442._declarationView = _declarationView;\n            _this442._declarationTContainer = _declarationTContainer;\n            _this442.elementRef = elementRef;\n            return _this442;\n          }\n          /**\n           * @param {?} context\n           * @return {?}\n           */\n\n\n          _createClass2(TemplateRef_, [{\n            key: \"createEmbeddedView\",\n            value: function createEmbeddedView(context) {\n              /** @type {?} */\n              var embeddedTView =\n              /** @type {?} */\n              this._declarationTContainer.tViews;\n              /** @type {?} */\n\n              var lView = createEmbeddedViewAndNode(embeddedTView, context, this._declarationView, this._declarationTContainer.injectorIndex);\n              /** @type {?} */\n\n              var declarationLContainer = this._declarationView[this._declarationTContainer.index];\n              ngDevMode && assertLContainer(declarationLContainer);\n              lView[DECLARATION_LCONTAINER] = declarationLContainer;\n              /** @type {?} */\n\n              var declarationViewLQueries = this._declarationView[QUERIES];\n\n              if (declarationViewLQueries !== null) {\n                lView[QUERIES] = declarationViewLQueries.createEmbeddedView(embeddedTView);\n              }\n\n              renderEmbeddedTemplate(lView, embeddedTView, context);\n              /** @type {?} */\n\n              var viewRef = new ViewRef(lView, context, -1);\n              viewRef._tViewNode =\n              /** @type {?} */\n              lView[T_HOST];\n              return viewRef;\n            }\n          }]);\n\n          return TemplateRef_;\n        }(TemplateRefToken);\n      }\n\n      if (hostTNode.type === 0\n      /* Container */\n      ) {\n          ngDevMode && assertDefined(hostTNode.tViews, 'TView must be allocated');\n          return new R3TemplateRef(hostView,\n          /** @type {?} */\n          hostTNode, createElementRef(ElementRefToken, hostTNode, hostView));\n        } else {\n        return null;\n      }\n    }\n    /** @type {?} */\n\n\n    var R3ViewContainerRef;\n    /**\n     * Creates a ViewContainerRef and stores it on the injector. Or, if the ViewContainerRef\n     * already exists, retrieves the existing ViewContainerRef.\n     *\n     * @param {?} ViewContainerRefToken\n     * @param {?} ElementRefToken\n     * @return {?} The ViewContainerRef instance to use\n     */\n\n    function injectViewContainerRef(ViewContainerRefToken, ElementRefToken) {\n      /** @type {?} */\n      var previousTNode =\n      /** @type {?} */\n      getPreviousOrParentTNode();\n      return createContainerRef(ViewContainerRefToken, ElementRefToken, previousTNode, getLView());\n    }\n    /**\n     * Creates a ViewContainerRef and stores it on the injector.\n     *\n     * @param {?} ViewContainerRefToken The ViewContainerRef type\n     * @param {?} ElementRefToken The ElementRef type\n     * @param {?} hostTNode The node that is requesting a ViewContainerRef\n     * @param {?} hostView The view to which the node belongs\n     * @return {?} The ViewContainerRef instance to use\n     */\n\n\n    function createContainerRef(ViewContainerRefToken, ElementRefToken, hostTNode, hostView) {\n      if (!R3ViewContainerRef) {\n        // TODO: Fix class name, should be ViewContainerRef, but there appears to be a rollup bug\n        R3ViewContainerRef =\n        /*#__PURE__*/\n        function (_ViewContainerRefToke) {\n          _inherits(ViewContainerRef_, _ViewContainerRefToke);\n\n          /**\n           * @param {?} _lContainer\n           * @param {?} _hostTNode\n           * @param {?} _hostView\n           */\n          function ViewContainerRef_(_lContainer, _hostTNode, _hostView) {\n            var _this443;\n\n            _classCallCheck(this, ViewContainerRef_);\n\n            _this443 = _possibleConstructorReturn(this, _getPrototypeOf(ViewContainerRef_).call(this));\n            _this443._lContainer = _lContainer;\n            _this443._hostTNode = _hostTNode;\n            _this443._hostView = _hostView;\n            return _this443;\n          }\n          /**\n           * @return {?}\n           */\n\n\n          _createClass2(ViewContainerRef_, [{\n            key: \"clear\",\n\n            /**\n             * @return {?}\n             */\n            value: function clear() {\n              while (this.length > 0) {\n                this.remove(this.length - 1);\n              }\n            }\n            /**\n             * @param {?} index\n             * @return {?}\n             */\n\n          }, {\n            key: \"get\",\n            value: function get(index) {\n              return this._lContainer[VIEW_REFS] !== null &&\n              /** @type {?} */\n              this._lContainer[VIEW_REFS][index] || null;\n            }\n            /**\n             * @return {?}\n             */\n\n          }, {\n            key: \"createEmbeddedView\",\n\n            /**\n             * @template C\n             * @param {?} templateRef\n             * @param {?=} context\n             * @param {?=} index\n             * @return {?}\n             */\n            value: function createEmbeddedView(templateRef, context, index) {\n              /** @type {?} */\n              var viewRef = templateRef.createEmbeddedView(context ||\n              /** @type {?} */\n              {});\n              this.insert(viewRef, index);\n              return viewRef;\n            }\n            /**\n             * @template C\n             * @param {?} componentFactory\n             * @param {?=} index\n             * @param {?=} injector\n             * @param {?=} projectableNodes\n             * @param {?=} ngModuleRef\n             * @return {?}\n             */\n\n          }, {\n            key: \"createComponent\",\n            value: function createComponent(componentFactory, index, injector, projectableNodes, ngModuleRef) {\n              /** @type {?} */\n              var contextInjector = injector || this.parentInjector;\n\n              if (!ngModuleRef &&\n              /** @type {?} */\n              componentFactory.ngModule == null && contextInjector) {\n                ngModuleRef = contextInjector.get(NgModuleRef, null);\n              }\n              /** @type {?} */\n\n\n              var componentRef = componentFactory.create(contextInjector, projectableNodes, undefined, ngModuleRef);\n              this.insert(componentRef.hostView, index);\n              return componentRef;\n            }\n            /**\n             * @param {?} viewRef\n             * @param {?=} index\n             * @return {?}\n             */\n\n          }, {\n            key: \"insert\",\n            value: function insert(viewRef, index) {\n              if (viewRef.destroyed) {\n                throw new Error('Cannot insert a destroyed View in a ViewContainer!');\n              }\n\n              this.allocateContainerIfNeeded();\n              /** @type {?} */\n\n              var lView =\n              /** @type {?} */\n\n              /** @type {?} */\n              viewRef._lView;\n              /** @type {?} */\n\n              var adjustedIdx = this._adjustIndex(index);\n\n              if (viewAttachedToContainer(lView)) {\n                // If view is already attached, fall back to move() so we clean up\n                // references appropriately.\n                return this.move(viewRef, adjustedIdx);\n              }\n\n              insertView(lView, this._lContainer, adjustedIdx);\n              /** @type {?} */\n\n              var beforeNode = getBeforeNodeForView(adjustedIdx, this._lContainer);\n              addRemoveViewFromContainer(lView, true, beforeNode);\n\n              /** @type {?} */\n              viewRef.attachToViewContainerRef(this);\n              addToArray(\n              /** @type {?} */\n              this._lContainer[VIEW_REFS], adjustedIdx, viewRef);\n              return viewRef;\n            }\n            /**\n             * @param {?} viewRef\n             * @param {?} newIndex\n             * @return {?}\n             */\n\n          }, {\n            key: \"move\",\n            value: function move(viewRef, newIndex) {\n              if (viewRef.destroyed) {\n                throw new Error('Cannot move a destroyed View in a ViewContainer!');\n              }\n              /** @type {?} */\n\n\n              var index = this.indexOf(viewRef);\n              if (index !== -1) this.detach(index);\n              this.insert(viewRef, newIndex);\n              return viewRef;\n            }\n            /**\n             * @param {?} viewRef\n             * @return {?}\n             */\n\n          }, {\n            key: \"indexOf\",\n            value: function indexOf(viewRef) {\n              return this._lContainer[VIEW_REFS] !== null ?\n              /** @type {?} */\n              this._lContainer[VIEW_REFS].indexOf(viewRef) : 0;\n            }\n            /**\n             * @param {?=} index\n             * @return {?}\n             */\n\n          }, {\n            key: \"remove\",\n            value: function remove(index) {\n              this.allocateContainerIfNeeded();\n              /** @type {?} */\n\n              var adjustedIdx = this._adjustIndex(index, -1);\n\n              removeView(this._lContainer, adjustedIdx);\n              removeFromArray(\n              /** @type {?} */\n              this._lContainer[VIEW_REFS], adjustedIdx);\n            }\n            /**\n             * @param {?=} index\n             * @return {?}\n             */\n\n          }, {\n            key: \"detach\",\n            value: function detach(index) {\n              this.allocateContainerIfNeeded();\n              /** @type {?} */\n\n              var adjustedIdx = this._adjustIndex(index, -1);\n              /** @type {?} */\n\n\n              var view = detachView(this._lContainer, adjustedIdx);\n              /** @type {?} */\n\n              var wasDetached = view && removeFromArray(\n              /** @type {?} */\n              this._lContainer[VIEW_REFS], adjustedIdx) != null;\n              return wasDetached ? new ViewRef(\n              /** @type {?} */\n              view,\n              /** @type {?} */\n              view[CONTEXT], -1) : null;\n            }\n            /**\n             * @private\n             * @param {?=} index\n             * @param {?=} shift\n             * @return {?}\n             */\n\n          }, {\n            key: \"_adjustIndex\",\n            value: function _adjustIndex(index) {\n              var shift = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n\n              if (index == null) {\n                return this.length + shift;\n              }\n\n              if (ngDevMode) {\n                assertGreaterThan(index, -1, 'index must be positive'); // +1 because it's legal to insert at the end.\n\n                assertLessThan(index, this.length + 1 + shift, 'index');\n              }\n\n              return index;\n            }\n            /**\n             * @private\n             * @return {?}\n             */\n\n          }, {\n            key: \"allocateContainerIfNeeded\",\n            value: function allocateContainerIfNeeded() {\n              if (this._lContainer[VIEW_REFS] === null) {\n                this._lContainer[VIEW_REFS] = [];\n              }\n            }\n          }, {\n            key: \"element\",\n            get: function get() {\n              return createElementRef(ElementRefToken, this._hostTNode, this._hostView);\n            }\n            /**\n             * @return {?}\n             */\n\n          }, {\n            key: \"injector\",\n            get: function get() {\n              return new NodeInjector(this._hostTNode, this._hostView);\n            }\n            /**\n             * @deprecated No replacement\n             * @return {?}\n             */\n\n          }, {\n            key: \"parentInjector\",\n            get: function get() {\n              /** @type {?} */\n              var parentLocation = getParentInjectorLocation(this._hostTNode, this._hostView);\n              /** @type {?} */\n\n              var parentView = getParentInjectorView(parentLocation, this._hostView);\n              /** @type {?} */\n\n              var parentTNode = getParentInjectorTNode(parentLocation, this._hostView, this._hostTNode);\n              return !hasParentInjector(parentLocation) || parentTNode == null ? new NodeInjector(null, this._hostView) : new NodeInjector(parentTNode, parentView);\n            }\n          }, {\n            key: \"length\",\n            get: function get() {\n              return this._lContainer.length - CONTAINER_HEADER_OFFSET;\n            }\n          }]);\n\n          return ViewContainerRef_;\n        }(ViewContainerRefToken);\n      }\n\n      ngDevMode && assertNodeOfPossibleTypes(hostTNode, 0\n      /* Container */\n      , 3\n      /* Element */\n      , 4\n      /* ElementContainer */\n      );\n      /** @type {?} */\n\n      var lContainer;\n      /** @type {?} */\n\n      var slotValue = hostView[hostTNode.index];\n\n      if (isLContainer(slotValue)) {\n        // If the host is a container, we don't need to create a new LContainer\n        lContainer = slotValue;\n        lContainer[ACTIVE_INDEX] = -1;\n      } else {\n        /** @type {?} */\n        var commentNode; // If the host is an element container, the native host element is guaranteed to be a\n        // comment and we can reuse that comment as anchor element for the new LContainer.\n\n        if (hostTNode.type === 4\n        /* ElementContainer */\n        ) {\n            commentNode =\n            /** @type {?} */\n            unwrapRNode(slotValue);\n          } else {\n          ngDevMode && ngDevMode.rendererCreateComment++;\n          commentNode = hostView[RENDERER].createComment(ngDevMode ? 'container' : '');\n        } // A container can be created on the root (topmost / bootstrapped) component and in this case we\n        // can't use LTree to insert container's marker node (both parent of a comment node and the\n        // commend node itself is located outside of elements hold by LTree). In this specific case we\n        // use low-level DOM manipulation to insert container's marker (comment) node.\n\n\n        if (isRootView(hostView)) {\n          /** @type {?} */\n          var renderer = hostView[RENDERER];\n          /** @type {?} */\n\n          var hostNative =\n          /** @type {?} */\n          getNativeByTNode(hostTNode, hostView);\n          /** @type {?} */\n\n          var parentOfHostNative = nativeParentNode(renderer, hostNative);\n          nativeInsertBefore(renderer,\n          /** @type {?} */\n          parentOfHostNative, commentNode, nativeNextSibling(renderer, hostNative));\n        } else {\n          appendChild(commentNode, hostTNode, hostView);\n        }\n\n        hostView[hostTNode.index] = lContainer = createLContainer(slotValue, hostView, commentNode, hostTNode, true);\n        addToViewTree(hostView, lContainer);\n      }\n\n      return new R3ViewContainerRef(lContainer, hostTNode, hostView);\n    }\n    /**\n     * Returns a ChangeDetectorRef (a.k.a. a ViewRef)\n     * @param {?=} isPipe\n     * @return {?}\n     */\n\n\n    function injectChangeDetectorRef() {\n      var isPipe = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n      return createViewRef(getPreviousOrParentTNode(), getLView(), isPipe);\n    }\n    /**\n     * Creates a ViewRef and stores it on the injector as ChangeDetectorRef (public alias).\n     *\n     * @param {?} hostTNode The node that is requesting a ChangeDetectorRef\n     * @param {?} hostView The view to which the node belongs\n     * @param {?} isPipe Whether the view is being injected into a pipe.\n     * @return {?} The ChangeDetectorRef to use\n     */\n\n\n    function createViewRef(hostTNode, hostView, isPipe) {\n      if (isComponent(hostTNode) && !isPipe) {\n        /** @type {?} */\n        var componentIndex = hostTNode.directiveStart;\n        /** @type {?} */\n\n        var componentView = getComponentViewByIndex(hostTNode.index, hostView);\n        return new ViewRef(componentView, null, componentIndex);\n      } else if (hostTNode.type === 3\n      /* Element */\n      || hostTNode.type === 0\n      /* Container */\n      || hostTNode.type === 4\n      /* ElementContainer */\n      ) {\n          /** @type {?} */\n          var hostComponentView = findComponentView(hostView);\n          return new ViewRef(hostComponentView, hostComponentView[CONTEXT], -1);\n        }\n\n      return (\n        /** @type {?} */\n        null\n      );\n    }\n    /**\n     * Returns a Renderer2 (or throws when application was bootstrapped with Renderer3)\n     * @param {?} view\n     * @return {?}\n     */\n\n\n    function getOrCreateRenderer2(view) {\n      /** @type {?} */\n      var renderer = view[RENDERER];\n\n      if (isProceduralRenderer(renderer)) {\n        return (\n          /** @type {?} */\n          renderer\n        );\n      } else {\n        throw new Error('Cannot inject Renderer2 when the application uses Renderer3!');\n      }\n    }\n    /**\n     * Injects a Renderer2 for the current component.\n     * @return {?}\n     */\n\n\n    function injectRenderer2() {\n      // We need the Renderer to be based on the component that it's being injected into, however since\n      // DI happens before we've entered its view, `getLView` will return the parent view instead.\n\n      /** @type {?} */\n      var lView = getLView();\n      /** @type {?} */\n\n      var tNode = getPreviousOrParentTNode();\n      /** @type {?} */\n\n      var nodeAtIndex = getComponentViewByIndex(tNode.index, lView);\n      return getOrCreateRenderer2(isLView(nodeAtIndex) ? nodeAtIndex : lView);\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Base class for Angular Views, provides change detection functionality.\n     * A change-detection tree collects all views that are to be checked for changes.\n     * Use the methods to add and remove views from the tree, initiate change-detection,\n     * and explicitly mark views as _dirty_, meaning that they have changed and need to be rerendered.\n     *\n     * \\@usageNotes\n     *\n     * The following examples demonstrate how to modify default change-detection behavior\n     * to perform explicit detection when needed.\n     *\n     * ### Use `markForCheck()` with `CheckOnce` strategy\n     *\n     * The following example sets the `OnPush` change-detection strategy for a component\n     * (`CheckOnce`, rather than the default `CheckAlways`), then forces a second check\n     * after an interval. See [live demo](http://plnkr.co/edit/GC512b?p=preview).\n     *\n     * <code-example path=\"core/ts/change_detect/change-detection.ts\"\n     * region=\"mark-for-check\"></code-example>\n     *\n     * ### Detach change detector to limit how often check occurs\n     *\n     * The following example defines a component with a large list of read-only data\n     * that is expected to change constantly, many times per second.\n     * To improve performance, we want to check and update the list\n     * less often than the changes actually occur. To do that, we detach\n     * the component's change detector and perform an explicit local check every five seconds.\n     *\n     * <code-example path=\"core/ts/change_detect/change-detection.ts\" region=\"detach\"></code-example>\n     *\n     *\n     * ### Reattaching a detached component\n     *\n     * The following example creates a component displaying live data.\n     * The component detaches its change detector from the main change detector tree\n     * when the `live` property is set to false, and reattaches it when the property\n     * becomes true.\n     *\n     * <code-example path=\"core/ts/change_detect/change-detection.ts\" region=\"reattach\"></code-example>\n     *\n     * \\@publicApi\n     * @abstract\n     */\n\n\n    var ChangeDetectorRef = function ChangeDetectorRef() {\n      _classCallCheck(this, ChangeDetectorRef);\n    };\n    /**\n     * \\@internal\n     * @nocollapse\n     */\n\n\n    ChangeDetectorRef.__NG_ELEMENT_ID__ =\n    /**\n    * @return {?}\n    */\n    function () {\n      return SWITCH_CHANGE_DETECTOR_REF_FACTORY();\n    };\n\n    if (false) {}\n    /** @type {?} */\n\n\n    var SWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__ = injectChangeDetectorRef;\n    /** @type {?} */\n\n    var SWITCH_CHANGE_DETECTOR_REF_FACTORY__PRE_R3__ =\n    /**\n    * @param {...?} args\n    * @return {?}\n    */\n    function SWITCH_CHANGE_DETECTOR_REF_FACTORY__PRE_R3__() {};\n\n    var ɵ0$6 = SWITCH_CHANGE_DETECTOR_REF_FACTORY__PRE_R3__;\n    /** @type {?} */\n\n    var SWITCH_CHANGE_DETECTOR_REF_FACTORY = SWITCH_CHANGE_DETECTOR_REF_FACTORY__PRE_R3__;\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * @description\n     *\n     * Represents a type that a Component or other object is instances of.\n     *\n     * An example of a `Type` is `MyCustomComponent` class, which in JavaScript is be represented by\n     * the `MyCustomComponent` constructor function.\n     *\n     * @publicApi\n     */\n\n    var Type = Function;\n\n    function isType(v) {\n      return typeof v === 'function';\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * Attention: These regex has to hold even if the code is minified!\n     */\n\n\n    var DELEGATE_CTOR = /^function\\s+\\S+\\(\\)\\s*{[\\s\\S]+\\.apply\\(this,\\s*arguments\\)/;\n    var INHERITED_CLASS = /^class\\s+[A-Za-z\\d$_]*\\s*extends\\s+[^{]+{/;\n    var INHERITED_CLASS_WITH_CTOR = /^class\\s+[A-Za-z\\d$_]*\\s*extends\\s+[^{]+{[\\s\\S]*constructor\\s*\\(/;\n    var INHERITED_CLASS_WITH_DELEGATE_CTOR = /^class\\s+[A-Za-z\\d$_]*\\s*extends\\s+[^{]+{[\\s\\S]*constructor\\s*\\(\\)\\s*{\\s+super\\(\\.\\.\\.arguments\\)/;\n    /**\n     * Determine whether a stringified type is a class which delegates its constructor\n     * to its parent.\n     *\n     * This is not trivial since compiled code can actually contain a constructor function\n     * even if the original source code did not. For instance, when the child class contains\n     * an initialized instance property.\n     */\n\n    function isDelegateCtor(typeStr) {\n      return DELEGATE_CTOR.test(typeStr) || INHERITED_CLASS_WITH_DELEGATE_CTOR.test(typeStr) || INHERITED_CLASS.test(typeStr) && !INHERITED_CLASS_WITH_CTOR.test(typeStr);\n    }\n\n    var ReflectionCapabilities =\n    /*#__PURE__*/\n    function () {\n      function ReflectionCapabilities(reflect) {\n        _classCallCheck(this, ReflectionCapabilities);\n\n        this._reflect = reflect || _global['Reflect'];\n      }\n\n      _createClass2(ReflectionCapabilities, [{\n        key: \"isReflectionEnabled\",\n        value: function isReflectionEnabled() {\n          return true;\n        }\n      }, {\n        key: \"factory\",\n        value: function factory(t) {\n          return function () {\n            for (var _len21 = arguments.length, args = new Array(_len21), _key23 = 0; _key23 < _len21; _key23++) {\n              args[_key23] = arguments[_key23];\n            }\n\n            return _construct(t, args);\n          };\n        }\n        /** @internal */\n\n      }, {\n        key: \"_zipTypesAndAnnotations\",\n        value: function _zipTypesAndAnnotations(paramTypes, paramAnnotations) {\n          var result;\n\n          if (typeof paramTypes === 'undefined') {\n            result = new Array(paramAnnotations.length);\n          } else {\n            result = new Array(paramTypes.length);\n          }\n\n          for (var i = 0; i < result.length; i++) {\n            // TS outputs Object for parameters without types, while Traceur omits\n            // the annotations. For now we preserve the Traceur behavior to aid\n            // migration, but this can be revisited.\n            if (typeof paramTypes === 'undefined') {\n              result[i] = [];\n            } else if (paramTypes[i] && paramTypes[i] != Object) {\n              result[i] = [paramTypes[i]];\n            } else {\n              result[i] = [];\n            }\n\n            if (paramAnnotations && paramAnnotations[i] != null) {\n              result[i] = result[i].concat(paramAnnotations[i]);\n            }\n          }\n\n          return result;\n        }\n      }, {\n        key: \"_ownParameters\",\n        value: function _ownParameters(type, parentCtor) {\n          var typeStr = type.toString(); // If we have no decorators, we only have function.length as metadata.\n          // In that case, to detect whether a child class declared an own constructor or not,\n          // we need to look inside of that constructor to check whether it is\n          // just calling the parent.\n          // This also helps to work around for https://github.com/Microsoft/TypeScript/issues/12439\n          // that sets 'design:paramtypes' to []\n          // if a class inherits from another class but has no ctor declared itself.\n\n          if (isDelegateCtor(typeStr)) {\n            return null;\n          } // Prefer the direct API.\n\n\n          if (type.parameters && type.parameters !== parentCtor.parameters) {\n            return type.parameters;\n          } // API of tsickle for lowering decorators to properties on the class.\n\n\n          var tsickleCtorParams = type.ctorParameters;\n\n          if (tsickleCtorParams && tsickleCtorParams !== parentCtor.ctorParameters) {\n            // Newer tsickle uses a function closure\n            // Retain the non-function case for compatibility with older tsickle\n            var ctorParameters = typeof tsickleCtorParams === 'function' ? tsickleCtorParams() : tsickleCtorParams;\n\n            var _paramTypes = ctorParameters.map(function (ctorParam) {\n              return ctorParam && ctorParam.type;\n            });\n\n            var _paramAnnotations = ctorParameters.map(function (ctorParam) {\n              return ctorParam && convertTsickleDecoratorIntoMetadata(ctorParam.decorators);\n            });\n\n            return this._zipTypesAndAnnotations(_paramTypes, _paramAnnotations);\n          } // API for metadata created by invoking the decorators.\n\n\n          var paramAnnotations = type.hasOwnProperty(PARAMETERS) && type[PARAMETERS];\n\n          var paramTypes = this._reflect && this._reflect.getOwnMetadata && this._reflect.getOwnMetadata('design:paramtypes', type);\n\n          if (paramTypes || paramAnnotations) {\n            return this._zipTypesAndAnnotations(paramTypes, paramAnnotations);\n          } // If a class has no decorators, at least create metadata\n          // based on function.length.\n          // Note: We know that this is a real constructor as we checked\n          // the content of the constructor above.\n\n\n          return new Array(type.length).fill(undefined);\n        }\n      }, {\n        key: \"parameters\",\n        value: function parameters(type) {\n          // Note: only report metadata if we have at least one class decorator\n          // to stay in sync with the static reflector.\n          if (!isType(type)) {\n            return [];\n          }\n\n          var parentCtor = getParentCtor(type);\n\n          var parameters = this._ownParameters(type, parentCtor);\n\n          if (!parameters && parentCtor !== Object) {\n            parameters = this.parameters(parentCtor);\n          }\n\n          return parameters || [];\n        }\n      }, {\n        key: \"_ownAnnotations\",\n        value: function _ownAnnotations(typeOrFunc, parentCtor) {\n          // Prefer the direct API.\n          if (typeOrFunc.annotations && typeOrFunc.annotations !== parentCtor.annotations) {\n            var annotations = typeOrFunc.annotations;\n\n            if (typeof annotations === 'function' && annotations.annotations) {\n              annotations = annotations.annotations;\n            }\n\n            return annotations;\n          } // API of tsickle for lowering decorators to properties on the class.\n\n\n          if (typeOrFunc.decorators && typeOrFunc.decorators !== parentCtor.decorators) {\n            return convertTsickleDecoratorIntoMetadata(typeOrFunc.decorators);\n          } // API for metadata created by invoking the decorators.\n\n\n          if (typeOrFunc.hasOwnProperty(ANNOTATIONS)) {\n            return typeOrFunc[ANNOTATIONS];\n          }\n\n          return null;\n        }\n      }, {\n        key: \"annotations\",\n        value: function annotations(typeOrFunc) {\n          if (!isType(typeOrFunc)) {\n            return [];\n          }\n\n          var parentCtor = getParentCtor(typeOrFunc);\n          var ownAnnotations = this._ownAnnotations(typeOrFunc, parentCtor) || [];\n          var parentAnnotations = parentCtor !== Object ? this.annotations(parentCtor) : [];\n          return parentAnnotations.concat(ownAnnotations);\n        }\n      }, {\n        key: \"_ownPropMetadata\",\n        value: function _ownPropMetadata(typeOrFunc, parentCtor) {\n          // Prefer the direct API.\n          if (typeOrFunc.propMetadata && typeOrFunc.propMetadata !== parentCtor.propMetadata) {\n            var propMetadata = typeOrFunc.propMetadata;\n\n            if (typeof propMetadata === 'function' && propMetadata.propMetadata) {\n              propMetadata = propMetadata.propMetadata;\n            }\n\n            return propMetadata;\n          } // API of tsickle for lowering decorators to properties on the class.\n\n\n          if (typeOrFunc.propDecorators && typeOrFunc.propDecorators !== parentCtor.propDecorators) {\n            var propDecorators = typeOrFunc.propDecorators;\n            var _propMetadata = {};\n            Object.keys(propDecorators).forEach(function (prop) {\n              _propMetadata[prop] = convertTsickleDecoratorIntoMetadata(propDecorators[prop]);\n            });\n            return _propMetadata;\n          } // API for metadata created by invoking the decorators.\n\n\n          if (typeOrFunc.hasOwnProperty(PROP_METADATA)) {\n            return typeOrFunc[PROP_METADATA];\n          }\n\n          return null;\n        }\n      }, {\n        key: \"propMetadata\",\n        value: function propMetadata(typeOrFunc) {\n          if (!isType(typeOrFunc)) {\n            return {};\n          }\n\n          var parentCtor = getParentCtor(typeOrFunc);\n          var propMetadata = {};\n\n          if (parentCtor !== Object) {\n            var parentPropMetadata = this.propMetadata(parentCtor);\n            Object.keys(parentPropMetadata).forEach(function (propName) {\n              propMetadata[propName] = parentPropMetadata[propName];\n            });\n          }\n\n          var ownPropMetadata = this._ownPropMetadata(typeOrFunc, parentCtor);\n\n          if (ownPropMetadata) {\n            Object.keys(ownPropMetadata).forEach(function (propName) {\n              var decorators = [];\n\n              if (propMetadata.hasOwnProperty(propName)) {\n                decorators.push.apply(decorators, _toConsumableArray(propMetadata[propName]));\n              }\n\n              decorators.push.apply(decorators, _toConsumableArray(ownPropMetadata[propName]));\n              propMetadata[propName] = decorators;\n            });\n          }\n\n          return propMetadata;\n        }\n      }, {\n        key: \"ownPropMetadata\",\n        value: function ownPropMetadata(typeOrFunc) {\n          if (!isType(typeOrFunc)) {\n            return {};\n          }\n\n          return this._ownPropMetadata(typeOrFunc, getParentCtor(typeOrFunc)) || {};\n        }\n      }, {\n        key: \"hasLifecycleHook\",\n        value: function hasLifecycleHook(type, lcProperty) {\n          return type instanceof Type && lcProperty in type.prototype;\n        }\n      }, {\n        key: \"guards\",\n        value: function guards(type) {\n          return {};\n        }\n      }, {\n        key: \"getter\",\n        value: function getter(name) {\n          return new Function('o', 'return o.' + name + ';');\n        }\n      }, {\n        key: \"setter\",\n        value: function setter(name) {\n          return new Function('o', 'v', 'return o.' + name + ' = v;');\n        }\n      }, {\n        key: \"method\",\n        value: function method(name) {\n          var functionBody = \"if (!o.\".concat(name, \") throw new Error('\\\"\").concat(name, \"\\\" is undefined');\\n        return o.\").concat(name, \".apply(o, args);\");\n          return new Function('o', 'args', functionBody);\n        } // There is not a concept of import uri in Js, but this is useful in developing Dart applications.\n\n      }, {\n        key: \"importUri\",\n        value: function importUri(type) {\n          // StaticSymbol\n          if (typeof type === 'object' && type['filePath']) {\n            return type['filePath'];\n          } // Runtime type\n\n\n          return \"./\".concat(stringify(type));\n        }\n      }, {\n        key: \"resourceUri\",\n        value: function resourceUri(type) {\n          return \"./\".concat(stringify(type));\n        }\n      }, {\n        key: \"resolveIdentifier\",\n        value: function resolveIdentifier(name, moduleUrl, members, runtime) {\n          return runtime;\n        }\n      }, {\n        key: \"resolveEnum\",\n        value: function resolveEnum(enumIdentifier, name) {\n          return enumIdentifier[name];\n        }\n      }]);\n\n      return ReflectionCapabilities;\n    }();\n\n    function convertTsickleDecoratorIntoMetadata(decoratorInvocations) {\n      if (!decoratorInvocations) {\n        return [];\n      }\n\n      return decoratorInvocations.map(function (decoratorInvocation) {\n        var decoratorType = decoratorInvocation.type;\n        var annotationCls = decoratorType.annotationCls;\n        var annotationArgs = decoratorInvocation.args ? decoratorInvocation.args : [];\n        return _construct(annotationCls, _toConsumableArray(annotationArgs));\n      });\n    }\n\n    function getParentCtor(ctor) {\n      var parentProto = ctor.prototype ? Object.getPrototypeOf(ctor.prototype) : null;\n      var parentCtor = parentProto ? parentProto.constructor : null; // Note: We always use `Object` as the null value\n      // to simplify checking later on.\n\n      return parentCtor || Object;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var _reflect = null;\n    /**\n     * @return {?}\n     */\n\n    function getReflect() {\n      return _reflect = _reflect || new ReflectionCapabilities();\n    }\n    /**\n     * @param {?} type\n     * @return {?}\n     */\n\n\n    function reflectDependencies(type) {\n      return convertDependencies(getReflect().parameters(type));\n    }\n    /**\n     * @param {?} deps\n     * @return {?}\n     */\n\n\n    function convertDependencies(deps) {\n      /** @type {?} */\n      var compiler = getCompilerFacade();\n      return deps.map(\n      /**\n      * @param {?} dep\n      * @return {?}\n      */\n      function (dep) {\n        return reflectDependency(compiler, dep);\n      });\n    }\n    /**\n     * @param {?} compiler\n     * @param {?} dep\n     * @return {?}\n     */\n\n\n    function reflectDependency(compiler, dep) {\n      /** @type {?} */\n      var meta = {\n        token: null,\n        host: false,\n        optional: false,\n        resolved: compiler.R3ResolvedDependencyType.Token,\n        self: false,\n        skipSelf: false\n      };\n      /**\n       * @param {?} token\n       * @return {?}\n       */\n\n      function setTokenAndResolvedType(token) {\n        meta.resolved = compiler.R3ResolvedDependencyType.Token;\n        meta.token = token;\n      }\n\n      if (Array.isArray(dep)) {\n        if (dep.length === 0) {\n          throw new Error('Dependency array must have arguments.');\n        }\n\n        for (var j = 0; j < dep.length; j++) {\n          /** @type {?} */\n          var param = dep[j];\n\n          if (param === undefined) {\n            // param may be undefined if type of dep is not set by ngtsc\n            continue;\n          } else if (param instanceof Optional || param.__proto__.ngMetadataName === 'Optional') {\n            meta.optional = true;\n          } else if (param instanceof SkipSelf || param.__proto__.ngMetadataName === 'SkipSelf') {\n            meta.skipSelf = true;\n          } else if (param instanceof Self || param.__proto__.ngMetadataName === 'Self') {\n            meta.self = true;\n          } else if (param instanceof Host || param.__proto__.ngMetadataName === 'Host') {\n            meta.host = true;\n          } else if (param instanceof Inject) {\n            meta.token = param.token;\n          } else if (param instanceof Attribute) {\n            if (param.attributeName === undefined) {\n              throw new Error(\"Attribute name must be defined.\");\n            }\n\n            meta.token = param.attributeName;\n            meta.resolved = compiler.R3ResolvedDependencyType.Attribute;\n          } else if (param === ChangeDetectorRef) {\n            meta.token = param;\n            meta.resolved = compiler.R3ResolvedDependencyType.ChangeDetectorRef;\n          } else {\n            setTokenAndResolvedType(param);\n          }\n        }\n      } else {\n        setTokenAndResolvedType(dep);\n      }\n\n      return meta;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Compile an Angular injectable according to its `Injectable` metadata, and patch the resulting\n     * `ngInjectableDef` onto the injectable type.\n     * @param {?} type\n     * @param {?=} srcMeta\n     * @return {?}\n     */\n\n\n    function compileInjectable(type, srcMeta) {\n      /** @type {?} */\n      var def = null; // if NG_INJECTABLE_DEF is already defined on this class then don't overwrite it\n\n      if (type.hasOwnProperty(NG_INJECTABLE_DEF)) return;\n      Object.defineProperty(type, NG_INJECTABLE_DEF, {\n        get:\n        /**\n        * @return {?}\n        */\n        function get() {\n          if (def === null) {\n            // Allow the compilation of a class with a `@Injectable()` decorator without parameters\n\n            /** @type {?} */\n            var meta = srcMeta || {\n              providedIn: null\n            };\n            /** @type {?} */\n\n            var hasAProvider = isUseClassProvider(meta) || isUseFactoryProvider(meta) || isUseValueProvider(meta) || isUseExistingProvider(meta);\n            /** @type {?} */\n\n            var compilerMeta = {\n              name: type.name,\n              type: type,\n              typeArgumentCount: 0,\n              providedIn: meta.providedIn,\n              ctorDeps: reflectDependencies(type),\n              userDeps: undefined\n            };\n\n            if ((isUseClassProvider(meta) || isUseFactoryProvider(meta)) && meta.deps !== undefined) {\n              compilerMeta.userDeps = convertDependencies(meta.deps);\n            }\n\n            if (!hasAProvider) {\n              // In the case the user specifies a type provider, treat it as {provide: X, useClass: X}.\n              // The deps will have been reflected above, causing the factory to create the class by\n              // calling\n              // its constructor with injected deps.\n              compilerMeta.useClass = type;\n            } else if (isUseClassProvider(meta)) {\n              // The user explicitly specified useClass, and may or may not have provided deps.\n              compilerMeta.useClass = meta.useClass;\n            } else if (isUseValueProvider(meta)) {\n              // The user explicitly specified useValue.\n              compilerMeta.useValue = meta.useValue;\n            } else if (isUseFactoryProvider(meta)) {\n              // The user explicitly specified useFactory.\n              compilerMeta.useFactory = meta.useFactory;\n            } else if (isUseExistingProvider(meta)) {\n              // The user explicitly specified useExisting.\n              compilerMeta.useExisting = meta.useExisting;\n            } else {\n              // Can't happen - either hasAProvider will be false, or one of the providers will be set.\n              throw new Error(\"Unreachable state.\");\n            }\n\n            def = getCompilerFacade().compileInjectable(angularCoreDiEnv, \"ng:///\".concat(type.name, \"/ngInjectableDef.js\"), compilerMeta);\n          }\n\n          return def;\n        }\n      });\n    }\n\n    var ɵ0$7 = getClosureSafeProperty;\n    /** @type {?} */\n\n    var USE_VALUE$1 = getClosureSafeProperty({\n      provide: String,\n      useValue: ɵ0$7\n    });\n    /**\n     * @param {?} meta\n     * @return {?}\n     */\n\n    function isUseClassProvider(meta) {\n      return (\n        /** @type {?} */\n        meta.useClass !== undefined\n      );\n    }\n    /**\n     * @param {?} meta\n     * @return {?}\n     */\n\n\n    function isUseValueProvider(meta) {\n      return USE_VALUE$1 in meta;\n    }\n    /**\n     * @param {?} meta\n     * @return {?}\n     */\n\n\n    function isUseFactoryProvider(meta) {\n      return (\n        /** @type {?} */\n        meta.useFactory !== undefined\n      );\n    }\n    /**\n     * @param {?} meta\n     * @return {?}\n     */\n\n\n    function isUseExistingProvider(meta) {\n      return (\n        /** @type {?} */\n        meta.useExisting !== undefined\n      );\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n\n    var ɵ0$8 = getClosureSafeProperty;\n    /** @type {?} */\n\n    var USE_VALUE$2 = getClosureSafeProperty({\n      provide: String,\n      useValue: ɵ0$8\n    });\n    /** @type {?} */\n\n    var EMPTY_ARRAY$1 = [];\n    /**\n     * @param {?} type\n     * @param {?=} provider\n     * @return {?}\n     */\n\n    function convertInjectableProviderToFactory(type, provider) {\n      if (!provider) {\n        /** @type {?} */\n        var reflectionCapabilities = new ReflectionCapabilities();\n        /** @type {?} */\n\n        var deps = reflectionCapabilities.parameters(type); // TODO - convert to flags.\n\n        return (\n          /**\n          * @return {?}\n          */\n          function () {\n            return _construct(type, _toConsumableArray(injectArgs(\n            /** @type {?} */\n            deps)));\n          }\n        );\n      }\n\n      if (USE_VALUE$2 in provider) {\n        /** @type {?} */\n        var valueProvider =\n        /** @type {?} */\n        provider;\n        return (\n          /**\n          * @return {?}\n          */\n          function () {\n            return valueProvider.useValue;\n          }\n        );\n      } else if (\n      /** @type {?} */\n      provider.useExisting) {\n        /** @type {?} */\n        var existingProvider =\n        /** @type {?} */\n        provider;\n        return (\n          /**\n          * @return {?}\n          */\n          function () {\n            return ɵɵinject(existingProvider.useExisting);\n          }\n        );\n      } else if (\n      /** @type {?} */\n      provider.useFactory) {\n        /** @type {?} */\n        var factoryProvider =\n        /** @type {?} */\n        provider;\n        return (\n          /**\n          * @return {?}\n          */\n          function () {\n            return factoryProvider.useFactory.apply(factoryProvider, _toConsumableArray(injectArgs(factoryProvider.deps || EMPTY_ARRAY$1)));\n          }\n        );\n      } else if (\n      /** @type {?} */\n      provider.useClass) {\n        /** @type {?} */\n        var classProvider =\n        /** @type {?} */\n        provider;\n        /** @type {?} */\n\n        var _deps3 =\n        /** @type {?} */\n        provider.deps;\n\n        if (!_deps3) {\n          /** @type {?} */\n          var _reflectionCapabilities = new ReflectionCapabilities();\n\n          _deps3 = _reflectionCapabilities.parameters(type);\n        }\n\n        return (\n          /**\n          * @return {?}\n          */\n          function () {\n            return _construct(classProvider.useClass, _toConsumableArray(injectArgs(_deps3)));\n          }\n        );\n      } else {\n        /** @type {?} */\n        var _deps4 =\n        /** @type {?} */\n        provider.deps;\n\n        if (!_deps4) {\n          /** @type {?} */\n          var _reflectionCapabilities2 = new ReflectionCapabilities();\n\n          _deps4 = _reflectionCapabilities2.parameters(type);\n        }\n\n        return (\n          /**\n          * @return {?}\n          */\n          function () {\n            return _construct(type, _toConsumableArray(injectArgs(\n            /** @type {?} */\n            _deps4)));\n          }\n        );\n      }\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Type of the Injectable decorator / constructor function.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n\n    function InjectableDecorator() {} // WARNING: interface has both a type and a value, skipping emit\n\n\n    var ɵ0$9 =\n    /**\n    * @param {?} type\n    * @param {?} meta\n    * @return {?}\n    */\n    function ɵ0$9(type, meta) {\n      return SWITCH_COMPILE_INJECTABLE(\n      /** @type {?} */\n      type, meta);\n    };\n    /**\n     * Injectable decorator and metadata.\n     *\n     * \\@Annotation\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var Injectable = makeDecorator('Injectable', undefined, undefined, undefined, ɵ0$9);\n    /**\n     * Type representing injectable service.\n     *\n     * \\@publicApi\n     * @record\n     * @template T\n     */\n\n    function InjectableType() {}\n\n    if (false) {}\n    /**\n     * Supports \\@Injectable() in JIT mode for Render2.\n     * @param {?} injectableType\n     * @param {?=} options\n     * @return {?}\n     */\n\n\n    function render2CompileInjectable(injectableType, options) {\n      if (options && options.providedIn !== undefined && !getInjectableDef(injectableType)) {\n        /** @type {?} */\n        injectableType.ngInjectableDef = ɵɵdefineInjectable({\n          token: injectableType,\n          providedIn: options.providedIn,\n          factory: convertInjectableProviderToFactory(injectableType, options)\n        });\n      }\n    }\n    /** @type {?} */\n\n\n    var SWITCH_COMPILE_INJECTABLE__POST_R3__ = compileInjectable;\n    /** @type {?} */\n\n    var SWITCH_COMPILE_INJECTABLE__PRE_R3__ = render2CompileInjectable;\n    /** @type {?} */\n\n    var SWITCH_COMPILE_INJECTABLE = SWITCH_COMPILE_INJECTABLE__PRE_R3__;\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * An internal token whose presence in an injector indicates that the injector should treat itself\n     * as a root scoped injector when processing requests for unknown tokens which may indicate\n     * they are provided in the root scope.\n     * @type {?}\n     */\n\n    var APP_ROOT = new InjectionToken('The presence of this token marks an injector as being the root injector.');\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Marker which indicates that a value has not yet been created from the factory function.\n     * @type {?}\n     */\n\n    var NOT_YET = {};\n    /**\n     * Marker which indicates that the factory function for a token is in the process of being called.\n     *\n     * If the injector is asked to inject a token with its value set to CIRCULAR, that indicates\n     * injection of a dependency has recursively attempted to inject the original token, and there is\n     * a circular dependency among the providers.\n     * @type {?}\n     */\n\n    var CIRCULAR = {};\n    /** @type {?} */\n\n    var EMPTY_ARRAY$2 =\n    /** @type {?} */\n    [];\n    /**\n     * A lazily initialized NullInjector.\n     * @type {?}\n     */\n\n    var NULL_INJECTOR = undefined;\n    /**\n     * @return {?}\n     */\n\n    function getNullInjector() {\n      if (NULL_INJECTOR === undefined) {\n        NULL_INJECTOR = new NullInjector();\n      }\n\n      return NULL_INJECTOR;\n    }\n    /**\n     * An entry in the injector which tracks information about the given token, including a possible\n     * current value.\n     * @record\n     * @template T\n     */\n\n\n    function Record() {}\n\n    if (false) {}\n    /**\n     * Create a new `Injector` which is configured using a `defType` of `InjectorType<any>`s.\n     *\n     * \\@publicApi\n     * @param {?} defType\n     * @param {?=} parent\n     * @param {?=} additionalProviders\n     * @param {?=} name\n     * @return {?}\n     */\n\n\n    function createInjector(defType) {\n      var parent = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n      var additionalProviders = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n      var name = arguments.length > 3 ? arguments[3] : undefined;\n      parent = parent || getNullInjector();\n      return new R3Injector(defType, additionalProviders, parent, name);\n    }\n\n    var R3Injector =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} def\n       * @param {?} additionalProviders\n       * @param {?} parent\n       * @param {?=} source\n       */\n      function R3Injector(def, additionalProviders, parent) {\n        var _this444 = this;\n\n        var source = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;\n\n        _classCallCheck(this, R3Injector);\n\n        this.parent = parent;\n        /**\n         * Map of tokens to records which contain the instances of those tokens.\n         */\n\n        this.records = new Map();\n        /**\n         * The transitive set of `InjectorType`s which define this injector.\n         */\n\n        this.injectorDefTypes = new Set();\n        /**\n         * Set of values instantiated by this injector which contain `ngOnDestroy` lifecycle hooks.\n         */\n\n        this.onDestroy = new Set();\n        this._destroyed = false; // Start off by creating Records for every provider declared in every InjectorType\n        // included transitively in `def`.\n\n        /** @type {?} */\n\n        var dedupStack = [];\n        deepForEach([def],\n        /**\n        * @param {?} injectorDef\n        * @return {?}\n        */\n        function (injectorDef) {\n          return _this444.processInjectorType(injectorDef, [], dedupStack);\n        });\n        additionalProviders && deepForEach(additionalProviders,\n        /**\n        * @param {?} provider\n        * @return {?}\n        */\n        function (provider) {\n          return _this444.processProvider(provider, def, additionalProviders);\n        }); // Make sure the INJECTOR token provides this injector.\n\n        this.records.set(INJECTOR, makeRecord(undefined, this)); // Detect whether this injector has the APP_ROOT_SCOPE token and thus should provide\n        // any injectable scoped to APP_ROOT_SCOPE.\n\n        this.isRootInjector = this.records.has(APP_ROOT); // Eagerly instantiate the InjectorType classes themselves.\n\n        this.injectorDefTypes.forEach(\n        /**\n        * @param {?} defType\n        * @return {?}\n        */\n        function (defType) {\n          return _this444.get(defType);\n        }); // Source name, used for debugging\n\n        this.source = source || (typeof def === 'object' ? null : stringify(def));\n      }\n      /**\n       * Flag indicating that this injector was previously destroyed.\n       * @return {?}\n       */\n\n\n      _createClass2(R3Injector, [{\n        key: \"destroy\",\n\n        /**\n         * Destroy the injector and release references to every instance or provider associated with it.\n         *\n         * Also calls the `OnDestroy` lifecycle hooks of every instance that was created for which a\n         * hook was found.\n         * @return {?}\n         */\n        value: function destroy() {\n          this.assertNotDestroyed(); // Set destroyed = true first, in case lifecycle hooks re-enter destroy().\n\n          this._destroyed = true;\n\n          try {\n            // Call all the lifecycle hooks.\n            this.onDestroy.forEach(\n            /**\n            * @param {?} service\n            * @return {?}\n            */\n            function (service) {\n              return service.ngOnDestroy();\n            });\n          } finally {\n            // Release all references.\n            this.records.clear();\n            this.onDestroy.clear();\n            this.injectorDefTypes.clear();\n          }\n        }\n        /**\n         * @template T\n         * @param {?} token\n         * @param {?=} notFoundValue\n         * @param {?=} flags\n         * @return {?}\n         */\n\n      }, {\n        key: \"get\",\n        value: function get(token) {\n          var notFoundValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : THROW_IF_NOT_FOUND;\n          var flags = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : InjectFlags.Default;\n          this.assertNotDestroyed(); // Set the injection context.\n\n          /** @type {?} */\n\n          var previousInjector = setCurrentInjector(this);\n\n          try {\n            // Check for the SkipSelf flag.\n            if (!(flags & InjectFlags.SkipSelf)) {\n              // SkipSelf isn't set, check if the record belongs to this injector.\n\n              /** @type {?} */\n              var record = this.records.get(token);\n\n              if (record === undefined) {\n                // No record, but maybe the token is scoped to this injector. Look for an ngInjectableDef\n                // with a scope matching this injector.\n\n                /** @type {?} */\n                var def = couldBeInjectableType(token) && getInjectableDef(token);\n\n                if (def && this.injectableDefInScope(def)) {\n                  // Found an ngInjectableDef and it's scoped to this injector. Pretend as if it was here\n                  // all along.\n                  record = makeRecord(injectableDefOrInjectorDefFactory(token), NOT_YET);\n                  this.records.set(token, record);\n                }\n              } // If a record was found, get the instance for it and return it.\n\n\n              if (record !== undefined) {\n                return this.hydrate(token, record);\n              }\n            } // Select the next injector based on the Self flag - if self is set, the next injector is\n            // the NullInjector, otherwise it's the parent.\n\n            /** @type {?} */\n\n\n            var nextInjector = !(flags & InjectFlags.Self) ? this.parent : getNullInjector();\n            return nextInjector.get(token, flags & InjectFlags.Optional ? null : notFoundValue);\n          } catch (e) {\n            if (e.name === 'NullInjectorError') {\n              /** @type {?} */\n              var path = e[NG_TEMP_TOKEN_PATH] = e[NG_TEMP_TOKEN_PATH] || [];\n              path.unshift(stringify(token));\n\n              if (previousInjector) {\n                // We still have a parent injector, keep throwing\n                throw e;\n              } else {\n                // Format & throw the final error message when we don't have any previous injector\n                return catchInjectorError(e, token, 'R3InjectorError', this.source);\n              }\n            } else {\n              throw e;\n            }\n          } finally {\n            // Lastly, clean up the state by restoring the previous injector.\n            setCurrentInjector(previousInjector);\n          }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"toString\",\n        value: function toString() {\n          /** @type {?} */\n          var tokens =\n          /** @type {?} */\n          [];\n          /** @type {?} */\n\n          var records = this.records;\n          records.forEach(\n          /**\n          * @param {?} v\n          * @param {?} token\n          * @return {?}\n          */\n          function (v, token) {\n            return tokens.push(stringify(token));\n          });\n          return \"R3Injector[\".concat(tokens.join(', '), \"]\");\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"assertNotDestroyed\",\n        value: function assertNotDestroyed() {\n          if (this._destroyed) {\n            throw new Error('Injector has already been destroyed.');\n          }\n        }\n        /**\n         * Add an `InjectorType` or `InjectorTypeWithProviders` and all of its transitive providers\n         * to this injector.\n         *\n         * If an `InjectorTypeWithProviders` that declares providers besides the type is specified,\n         * the function will return \"true\" to indicate that the providers of the type definition need\n         * to be processed. This allows us to process providers of injector types after all imports of\n         * an injector definition are processed. (following View Engine semantics: see FW-1349)\n         * @private\n         * @param {?} defOrWrappedDef\n         * @param {?} parents\n         * @param {?} dedupStack\n         * @return {?}\n         */\n\n      }, {\n        key: \"processInjectorType\",\n        value: function processInjectorType(defOrWrappedDef, parents, dedupStack) {\n          var _this445 = this;\n\n          defOrWrappedDef = resolveForwardRef(defOrWrappedDef);\n          if (!defOrWrappedDef) return false; // Either the defOrWrappedDef is an InjectorType (with ngInjectorDef) or an\n          // InjectorDefTypeWithProviders (aka ModuleWithProviders). Detecting either is a megamorphic\n          // read, so care is taken to only do the read once.\n          // First attempt to read the ngInjectorDef.\n\n          /** @type {?} */\n\n          var def = getInjectorDef(defOrWrappedDef); // If that's not present, then attempt to read ngModule from the InjectorDefTypeWithProviders.\n\n          /** @type {?} */\n\n          var ngModule = def == null &&\n          /** @type {?} */\n          defOrWrappedDef.ngModule || undefined; // Determine the InjectorType. In the case where `defOrWrappedDef` is an `InjectorType`,\n          // then this is easy. In the case of an InjectorDefTypeWithProviders, then the definition type\n          // is the `ngModule`.\n\n          /** @type {?} */\n\n          var defType = ngModule === undefined ?\n          /** @type {?} */\n          defOrWrappedDef : ngModule; // Check for circular dependencies.\n\n          if (ngDevMode && parents.indexOf(defType) !== -1) {\n            /** @type {?} */\n            var defName = stringify(defType);\n            throw new Error(\"Circular dependency in DI detected for type \".concat(defName, \". Dependency path: \").concat(parents.map(\n            /**\n            * @param {?} defType\n            * @return {?}\n            */\n            function (defType) {\n              return stringify(defType);\n            }).join(' > '), \" > \").concat(defName, \".\"));\n          } // Check for multiple imports of the same module\n\n          /** @type {?} */\n\n\n          var isDuplicate = dedupStack.indexOf(defType) !== -1; // Finally, if defOrWrappedType was an `InjectorDefTypeWithProviders`, then the actual\n          // `InjectorDef` is on its `ngModule`.\n\n          if (ngModule !== undefined) {\n            def = getInjectorDef(ngModule);\n          } // If no definition was found, it might be from exports. Remove it.\n\n\n          if (def == null) {\n            return false;\n          } // Track the InjectorType and add a provider for it.\n\n\n          this.injectorDefTypes.add(defType);\n          this.records.set(defType, makeRecord(def.factory, NOT_YET)); // Add providers in the same way that @NgModule resolution did:\n          // First, include providers from any imports.\n\n          if (def.imports != null && !isDuplicate) {\n            // Before processing defType's imports, add it to the set of parents. This way, if it ends\n            // up deeply importing itself, this can be detected.\n            ngDevMode && parents.push(defType); // Add it to the set of dedups. This way we can detect multiple imports of the same module\n\n            dedupStack.push(defType);\n            /** @type {?} */\n\n            var importTypesWithProviders;\n\n            try {\n              deepForEach(def.imports,\n              /**\n              * @param {?} imported\n              * @return {?}\n              */\n              function (imported) {\n                if (_this445.processInjectorType(imported, parents, dedupStack)) {\n                  if (importTypesWithProviders === undefined) importTypesWithProviders = []; // If the processed import is an injector type with providers, we store it in the\n                  // list of import types with providers, so that we can process those afterwards.\n\n                  importTypesWithProviders.push(imported);\n                }\n              });\n            } finally {\n              // Remove it from the parents set when finished.\n              ngDevMode && parents.pop();\n            } // Imports which are declared with providers (TypeWithProviders) need to be processed\n            // after all imported modules are processed. This is similar to how View Engine\n            // processes/merges module imports in the metadata resolver. See: FW-1349.\n\n\n            if (importTypesWithProviders !== undefined) {\n              var _loop6 = function _loop6(i) {\n                var _importTypesWithProvi = importTypesWithProviders[i],\n                    ngModule = _importTypesWithProvi.ngModule,\n                    providers = _importTypesWithProvi.providers;\n                deepForEach(\n                /** @type {?} */\n                providers,\n                /**\n                * @param {?} provider\n                * @return {?}\n                */\n                function (provider) {\n                  return _this445.processProvider(provider, ngModule, providers || EMPTY_ARRAY$2);\n                });\n              };\n\n              for (var i = 0; i < importTypesWithProviders.length; i++) {\n                _loop6(i);\n              }\n            }\n          } // Next, include providers listed on the definition itself.\n\n          /** @type {?} */\n\n\n          var defProviders = def.providers;\n\n          if (defProviders != null && !isDuplicate) {\n            /** @type {?} */\n            var injectorType =\n            /** @type {?} */\n            defOrWrappedDef;\n            deepForEach(defProviders,\n            /**\n            * @param {?} provider\n            * @return {?}\n            */\n            function (provider) {\n              return _this445.processProvider(provider, injectorType, defProviders);\n            });\n          }\n\n          return ngModule !== undefined &&\n          /** @type {?} */\n          defOrWrappedDef.providers !== undefined;\n        }\n        /**\n         * Process a `SingleProvider` and add it.\n         * @private\n         * @param {?} provider\n         * @param {?} ngModuleType\n         * @param {?} providers\n         * @return {?}\n         */\n\n      }, {\n        key: \"processProvider\",\n        value: function processProvider(provider, ngModuleType, providers) {\n          // Determine the token from the provider. Either it's its own token, or has a {provide: ...}\n          // property.\n          provider = resolveForwardRef(provider);\n          /** @type {?} */\n\n          var token = isTypeProvider(provider) ? provider : resolveForwardRef(provider && provider.provide); // Construct a `Record` for the provider.\n\n          /** @type {?} */\n\n          var record = providerToRecord(provider, ngModuleType, providers);\n\n          if (!isTypeProvider(provider) && provider.multi === true) {\n            // If the provider indicates that it's a multi-provider, process it specially.\n            // First check whether it's been defined already.\n\n            /** @type {?} */\n            var multiRecord = this.records.get(token);\n\n            if (multiRecord) {\n              // It has. Throw a nice error if\n              if (multiRecord.multi === undefined) {\n                throwMixedMultiProviderError();\n              }\n            } else {\n              multiRecord = makeRecord(undefined, NOT_YET, true);\n\n              multiRecord.factory =\n              /**\n              * @return {?}\n              */\n              function () {\n                return injectArgs(\n                /** @type {?} */\n\n                /** @type {?} */\n                multiRecord.multi);\n              };\n\n              this.records.set(token, multiRecord);\n            }\n\n            token = provider;\n\n            /** @type {?} */\n            multiRecord.multi.push(provider);\n          } else {\n            /** @type {?} */\n            var existing = this.records.get(token);\n\n            if (existing && existing.multi !== undefined) {\n              throwMixedMultiProviderError();\n            }\n          }\n\n          this.records.set(token, record);\n        }\n        /**\n         * @private\n         * @template T\n         * @param {?} token\n         * @param {?} record\n         * @return {?}\n         */\n\n      }, {\n        key: \"hydrate\",\n        value: function hydrate(token, record) {\n          if (record.value === CIRCULAR) {\n            throwCyclicDependencyError(stringify(token));\n          } else if (record.value === NOT_YET) {\n            record.value = CIRCULAR;\n            record.value =\n            /** @type {?} */\n            record.factory();\n          }\n\n          if (typeof record.value === 'object' && record.value && hasOnDestroy(record.value)) {\n            this.onDestroy.add(record.value);\n          }\n\n          return (\n            /** @type {?} */\n            record.value\n          );\n        }\n        /**\n         * @private\n         * @param {?} def\n         * @return {?}\n         */\n\n      }, {\n        key: \"injectableDefInScope\",\n        value: function injectableDefInScope(def) {\n          if (!def.providedIn) {\n            return false;\n          } else if (typeof def.providedIn === 'string') {\n            return def.providedIn === 'any' || def.providedIn === 'root' && this.isRootInjector;\n          } else {\n            return this.injectorDefTypes.has(def.providedIn);\n          }\n        }\n      }, {\n        key: \"destroyed\",\n        get: function get() {\n          return this._destroyed;\n        }\n      }]);\n\n      return R3Injector;\n    }();\n\n    if (false) {}\n    /**\n     * @param {?} token\n     * @return {?}\n     */\n\n\n    function injectableDefOrInjectorDefFactory(token) {\n      // Most tokens will have an ngInjectableDef directly on them, which specifies a factory directly.\n\n      /** @type {?} */\n      var injectableDef = getInjectableDef(token);\n\n      if (injectableDef !== null) {\n        return injectableDef.factory;\n      } // If the token is an NgModule, it's also injectable but the factory is on its ngInjectorDef.\n\n      /** @type {?} */\n\n\n      var injectorDef = getInjectorDef(token);\n\n      if (injectorDef !== null) {\n        return injectorDef.factory;\n      } // InjectionTokens should have an ngInjectableDef and thus should be handled above.\n      // If it's missing that, it's an error.\n\n\n      if (token instanceof InjectionToken) {\n        throw new Error(\"Token \".concat(stringify(token), \" is missing an ngInjectableDef definition.\"));\n      } // Undecorated types can sometimes be created if they have no constructor arguments.\n\n\n      if (token instanceof Function) {\n        return getUndecoratedInjectableFactory(token);\n      } // There was no way to resolve a factory for this token.\n\n\n      throw new Error('unreachable');\n    }\n    /**\n     * @param {?} token\n     * @return {?}\n     */\n\n\n    function getUndecoratedInjectableFactory(token) {\n      // If the token has parameters then it has dependencies that we cannot resolve implicitly.\n\n      /** @type {?} */\n      var paramLength = token.length;\n\n      if (paramLength > 0) {\n        /** @type {?} */\n        var args = new Array(paramLength).fill('?');\n        throw new Error(\"Can't resolve all parameters for \".concat(stringify(token), \": (\").concat(args.join(', '), \").\"));\n      } // The constructor function appears to have no parameters.\n      // This might be because it inherits from a super-class. In which case, use an ngInjectableDef\n      // from an ancestor if there is one.\n      // Otherwise this really is a simple class with no dependencies, so return a factory that\n      // just instantiates the zero-arg constructor.\n\n      /** @type {?} */\n\n\n      var inheritedInjectableDef = getInheritedInjectableDef(token);\n\n      if (inheritedInjectableDef !== null) {\n        return (\n          /**\n          * @return {?}\n          */\n          function () {\n            return inheritedInjectableDef.factory(\n            /** @type {?} */\n            token);\n          }\n        );\n      } else {\n        return (\n          /**\n          * @return {?}\n          */\n          function () {\n            return new\n            /** @type {?} */\n            token();\n          }\n        );\n      }\n    }\n    /**\n     * @param {?} provider\n     * @param {?} ngModuleType\n     * @param {?} providers\n     * @return {?}\n     */\n\n\n    function providerToRecord(provider, ngModuleType, providers) {\n      /** @type {?} */\n      var factory = providerToFactory(provider, ngModuleType, providers);\n\n      if (isValueProvider(provider)) {\n        return makeRecord(undefined, provider.useValue);\n      } else {\n        return makeRecord(factory, NOT_YET);\n      }\n    }\n    /**\n     * Converts a `SingleProvider` into a factory function.\n     *\n     * @param {?} provider provider to convert to factory\n     * @param {?=} ngModuleType\n     * @param {?=} providers\n     * @return {?}\n     */\n\n\n    function providerToFactory(provider, ngModuleType, providers) {\n      /** @type {?} */\n      var factory = undefined;\n\n      if (isTypeProvider(provider)) {\n        return injectableDefOrInjectorDefFactory(resolveForwardRef(provider));\n      } else {\n        if (isValueProvider(provider)) {\n          factory =\n          /**\n          * @return {?}\n          */\n          function factory() {\n            return resolveForwardRef(provider.useValue);\n          };\n        } else if (isExistingProvider(provider)) {\n          factory =\n          /**\n          * @return {?}\n          */\n          function factory() {\n            return ɵɵinject(resolveForwardRef(provider.useExisting));\n          };\n        } else if (isFactoryProvider(provider)) {\n          factory =\n          /**\n          * @return {?}\n          */\n          function factory() {\n            return provider.useFactory.apply(provider, _toConsumableArray(injectArgs(provider.deps || [])));\n          };\n        } else {\n          /** @type {?} */\n          var classRef = resolveForwardRef(provider && (\n          /** @type {?} */\n          provider.useClass || provider.provide));\n\n          if (!classRef) {\n            throwInvalidProviderError(ngModuleType, providers, provider);\n          }\n\n          if (hasDeps(provider)) {\n            factory =\n            /**\n            * @return {?}\n            */\n            function factory() {\n              return _construct(classRef, _toConsumableArray(injectArgs(provider.deps)));\n            };\n          } else {\n            return injectableDefOrInjectorDefFactory(classRef);\n          }\n        }\n      }\n\n      return factory;\n    }\n    /**\n     * @template T\n     * @param {?} factory\n     * @param {?} value\n     * @param {?=} multi\n     * @return {?}\n     */\n\n\n    function makeRecord(factory, value) {\n      var multi = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n      return {\n        factory: factory,\n        value: value,\n        multi: multi ? [] : undefined\n      };\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function isValueProvider(value) {\n      return value !== null && typeof value == 'object' && USE_VALUE in value;\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function isExistingProvider(value) {\n      return !!(value &&\n      /** @type {?} */\n      value.useExisting);\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function isFactoryProvider(value) {\n      return !!(value &&\n      /** @type {?} */\n      value.useFactory);\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function isTypeProvider(value) {\n      return typeof value === 'function';\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function isClassProvider(value) {\n      return !!\n      /** @type {?} */\n      value.useClass;\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function hasDeps(value) {\n      return !!\n      /** @type {?} */\n      value.deps;\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function hasOnDestroy(value) {\n      return value !== null && typeof value === 'object' && typeof\n      /** @type {?} */\n      value.ngOnDestroy === 'function';\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function couldBeInjectableType(value) {\n      return typeof value === 'function' || typeof value === 'object' && value instanceof InjectionToken;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @param {?} providers\n     * @param {?} parent\n     * @param {?} name\n     * @return {?}\n     */\n\n\n    function INJECTOR_IMPL__PRE_R3__(providers, parent, name) {\n      return new StaticInjector(providers, parent, name);\n    }\n    /**\n     * @param {?} providers\n     * @param {?} parent\n     * @param {?} name\n     * @return {?}\n     */\n\n\n    function INJECTOR_IMPL__POST_R3__(providers, parent, name) {\n      return createInjector({\n        name: name\n      }, parent, providers, name);\n    }\n    /** @type {?} */\n\n\n    var INJECTOR_IMPL = INJECTOR_IMPL__PRE_R3__;\n    /**\n     * Concrete injectors implement this interface.\n     *\n     * For more details, see the [\"Dependency Injection Guide\"](guide/dependency-injection).\n     *\n     * \\@usageNotes\n     * ### Example\n     *\n     * {\\@example core/di/ts/injector_spec.ts region='Injector'}\n     *\n     * `Injector` returns itself when given `Injector` as a token:\n     *\n     * {\\@example core/di/ts/injector_spec.ts region='injectInjector'}\n     *\n     * \\@publicApi\n     * @abstract\n     */\n\n    var Injector =\n    /*#__PURE__*/\n    function () {\n      function Injector() {\n        _classCallCheck(this, Injector);\n      }\n\n      _createClass2(Injector, null, [{\n        key: \"create\",\n\n        /**\n         * Create a new Injector which is configure using `StaticProvider`s.\n         *\n         * \\@usageNotes\n         * ### Example\n         *\n         * {\\@example core/di/ts/provider_spec.ts region='ConstructorProvider'}\n         * @param {?} options\n         * @param {?=} parent\n         * @return {?}\n         */\n        value: function create(options, parent) {\n          if (Array.isArray(options)) {\n            return INJECTOR_IMPL(options, parent, '');\n          } else {\n            return INJECTOR_IMPL(options.providers, options.parent, options.name || '');\n          }\n        }\n      }]);\n\n      return Injector;\n    }();\n\n    Injector.THROW_IF_NOT_FOUND = THROW_IF_NOT_FOUND;\n    Injector.NULL = new NullInjector();\n    /** @nocollapse */\n\n    /** @nocollapse */\n\n    Injector.ngInjectableDef = ɵɵdefineInjectable({\n      token: Injector,\n      providedIn:\n      /** @type {?} */\n      'any',\n      factory:\n      /**\n      * @return {?}\n      */\n      function factory() {\n        return ɵɵinject(INJECTOR);\n      }\n    });\n    /**\n     * \\@internal\n     * @nocollapse\n     */\n\n    Injector.__NG_ELEMENT_ID__ = -1;\n\n    if (false) {}\n    /** @type {?} */\n\n\n    var IDENT =\n    /**\n    * @template T\n    * @param {?} value\n    * @return {?}\n    */\n    function IDENT(value) {\n      return value;\n    };\n\n    var ɵ0$a = IDENT;\n    /** @type {?} */\n\n    var EMPTY =\n    /** @type {?} */\n    [];\n    /** @type {?} */\n\n    var CIRCULAR$1 = IDENT;\n    /** @type {?} */\n\n    var MULTI_PROVIDER_FN =\n    /**\n    * @return {?}\n    */\n    function MULTI_PROVIDER_FN() {\n      return Array.prototype.slice.call(arguments);\n    };\n\n    var ɵ1$2 = MULTI_PROVIDER_FN;\n    /** @enum {number} */\n\n    var OptionFlags = {\n      Optional: 1,\n      CheckSelf: 2,\n      CheckParent: 4,\n      Default: 6\n    };\n    /** @type {?} */\n\n    var NO_NEW_LINE$1 = 'ɵ';\n\n    var StaticInjector =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} providers\n       * @param {?=} parent\n       * @param {?=} source\n       */\n      function StaticInjector(providers) {\n        var parent = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : Injector.NULL;\n        var source = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n\n        _classCallCheck(this, StaticInjector);\n\n        this.parent = parent;\n        this.source = source;\n        /** @type {?} */\n\n        var records = this._records = new Map();\n        records.set(Injector,\n        /** @type {?} */\n        {\n          token: Injector,\n          fn: IDENT,\n          deps: EMPTY,\n          value: this,\n          useNew: false\n        });\n        records.set(INJECTOR,\n        /** @type {?} */\n        {\n          token: INJECTOR,\n          fn: IDENT,\n          deps: EMPTY,\n          value: this,\n          useNew: false\n        });\n        recursivelyProcessProviders(records, providers);\n      }\n      /**\n       * @param {?} token\n       * @param {?=} notFoundValue\n       * @param {?=} flags\n       * @return {?}\n       */\n\n\n      _createClass2(StaticInjector, [{\n        key: \"get\",\n        value: function get(token, notFoundValue) {\n          var flags = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : InjectFlags.Default;\n\n          /** @type {?} */\n          var record = this._records.get(token);\n\n          try {\n            return tryResolveToken(token, record, this._records, this.parent, notFoundValue, flags);\n          } catch (e) {\n            return catchInjectorError(e, token, 'StaticInjectorError', this.source);\n          }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"toString\",\n        value: function toString() {\n          /** @type {?} */\n          var tokens =\n          /** @type {?} */\n          [];\n          /** @type {?} */\n\n          var records = this._records;\n          records.forEach(\n          /**\n          * @param {?} v\n          * @param {?} token\n          * @return {?}\n          */\n          function (v, token) {\n            return tokens.push(stringify(token));\n          });\n          return \"StaticInjector[\".concat(tokens.join(', '), \"]\");\n        }\n      }]);\n\n      return StaticInjector;\n    }();\n\n    if (false) {}\n    /**\n     * @record\n     */\n\n\n    function Record$1() {}\n\n    if (false) {}\n    /**\n     * @record\n     */\n\n\n    function DependencyRecord() {}\n\n    if (false) {}\n    /**\n     * @param {?} provider\n     * @return {?}\n     */\n\n\n    function resolveProvider(provider) {\n      /** @type {?} */\n      var deps = computeDeps(provider);\n      /** @type {?} */\n\n      var fn = IDENT;\n      /** @type {?} */\n\n      var value = EMPTY;\n      /** @type {?} */\n\n      var useNew = false;\n      /** @type {?} */\n\n      var provide = resolveForwardRef(provider.provide);\n\n      if (USE_VALUE in provider) {\n        // We need to use USE_VALUE in provider since provider.useValue could be defined as undefined.\n        value =\n        /** @type {?} */\n        provider.useValue;\n      } else if (\n      /** @type {?} */\n      provider.useFactory) {\n        fn =\n        /** @type {?} */\n        provider.useFactory;\n      } else if (\n      /** @type {?} */\n      provider.useExisting) {// Just use IDENT\n      } else if (\n      /** @type {?} */\n      provider.useClass) {\n        useNew = true;\n        fn = resolveForwardRef(\n        /** @type {?} */\n        provider.useClass);\n      } else if (typeof provide == 'function') {\n        useNew = true;\n        fn = provide;\n      } else {\n        throw staticError('StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable', provider);\n      }\n\n      return {\n        deps: deps,\n        fn: fn,\n        useNew: useNew,\n        value: value\n      };\n    }\n    /**\n     * @param {?} token\n     * @return {?}\n     */\n\n\n    function multiProviderMixError(token) {\n      return staticError('Cannot mix multi providers and regular providers', token);\n    }\n    /**\n     * @param {?} records\n     * @param {?} provider\n     * @return {?}\n     */\n\n\n    function recursivelyProcessProviders(records, provider) {\n      if (provider) {\n        provider = resolveForwardRef(provider);\n\n        if (provider instanceof Array) {\n          // if we have an array recurse into the array\n          for (var i = 0; i < provider.length; i++) {\n            recursivelyProcessProviders(records, provider[i]);\n          }\n        } else if (typeof provider === 'function') {\n          // Functions were supported in ReflectiveInjector, but are not here. For safety give useful\n          // error messages\n          throw staticError('Function/Class not supported', provider);\n        } else if (provider && typeof provider === 'object' && provider.provide) {\n          // At this point we have what looks like a provider: {provide: ?, ....}\n\n          /** @type {?} */\n          var token = resolveForwardRef(provider.provide);\n          /** @type {?} */\n\n          var resolvedProvider = resolveProvider(provider);\n\n          if (provider.multi === true) {\n            // This is a multi provider.\n\n            /** @type {?} */\n            var multiProvider = records.get(token);\n\n            if (multiProvider) {\n              if (multiProvider.fn !== MULTI_PROVIDER_FN) {\n                throw multiProviderMixError(token);\n              }\n            } else {\n              // Create a placeholder factory which will look up the constituents of the multi provider.\n              records.set(token, multiProvider =\n              /** @type {?} */\n              {\n                token: provider.provide,\n                deps: [],\n                useNew: false,\n                fn: MULTI_PROVIDER_FN,\n                value: EMPTY\n              });\n            } // Treat the provider as the token.\n\n\n            token = provider;\n            multiProvider.deps.push({\n              token: token,\n              options: 6\n              /* Default */\n\n            });\n          }\n          /** @type {?} */\n\n\n          var record = records.get(token);\n\n          if (record && record.fn == MULTI_PROVIDER_FN) {\n            throw multiProviderMixError(token);\n          }\n\n          records.set(token, resolvedProvider);\n        } else {\n          throw staticError('Unexpected provider', provider);\n        }\n      }\n    }\n    /**\n     * @param {?} token\n     * @param {?} record\n     * @param {?} records\n     * @param {?} parent\n     * @param {?} notFoundValue\n     * @param {?} flags\n     * @return {?}\n     */\n\n\n    function tryResolveToken(token, record, records, parent, notFoundValue, flags) {\n      try {\n        return resolveToken(token, record, records, parent, notFoundValue, flags);\n      } catch (e) {\n        // ensure that 'e' is of type Error.\n        if (!(e instanceof Error)) {\n          e = new Error(e);\n        }\n        /** @type {?} */\n\n\n        var path = e[NG_TEMP_TOKEN_PATH] = e[NG_TEMP_TOKEN_PATH] || [];\n        path.unshift(token);\n\n        if (record && record.value == CIRCULAR$1) {\n          // Reset the Circular flag.\n          record.value = EMPTY;\n        }\n\n        throw e;\n      }\n    }\n    /**\n     * @param {?} token\n     * @param {?} record\n     * @param {?} records\n     * @param {?} parent\n     * @param {?} notFoundValue\n     * @param {?} flags\n     * @return {?}\n     */\n\n\n    function resolveToken(token, record, records, parent, notFoundValue, flags) {\n      /** @type {?} */\n      var value;\n\n      if (record && !(flags & InjectFlags.SkipSelf)) {\n        // If we don't have a record, this implies that we don't own the provider hence don't know how\n        // to resolve it.\n        value = record.value;\n\n        if (value == CIRCULAR$1) {\n          throw Error(NO_NEW_LINE$1 + 'Circular dependency');\n        } else if (value === EMPTY) {\n          record.value = CIRCULAR$1;\n          /** @type {?} */\n\n          var obj = undefined;\n          /** @type {?} */\n\n          var useNew = record.useNew;\n          /** @type {?} */\n\n          var fn = record.fn;\n          /** @type {?} */\n\n          var depRecords = record.deps;\n          /** @type {?} */\n\n          var deps = EMPTY;\n\n          if (depRecords.length) {\n            deps = [];\n\n            for (var i = 0; i < depRecords.length; i++) {\n              /** @type {?} */\n              var depRecord = depRecords[i];\n              /** @type {?} */\n\n              var options = depRecord.options;\n              /** @type {?} */\n\n              var childRecord = options & 2\n              /* CheckSelf */\n              ? records.get(depRecord.token) : undefined;\n              deps.push(tryResolveToken( // Current Token to resolve\n              depRecord.token, // A record which describes how to resolve the token.\n              // If undefined, this means we don't have such a record\n              childRecord, // Other records we know about.\n              records, // If we don't know how to resolve dependency and we should not check parent for it,\n              // than pass in Null injector.\n              !childRecord && !(options & 4\n              /* CheckParent */\n              ) ? Injector.NULL : parent, options & 1\n              /* Optional */\n              ? null : Injector.THROW_IF_NOT_FOUND, InjectFlags.Default));\n            }\n          }\n\n          record.value = value = useNew ? _construct(\n          /** @type {?} */\n          fn, _toConsumableArray(deps)) : fn.apply(obj, deps);\n        }\n      } else if (!(flags & InjectFlags.Self)) {\n        value = parent.get(token, notFoundValue, InjectFlags.Default);\n      }\n\n      return value;\n    }\n    /**\n     * @param {?} provider\n     * @return {?}\n     */\n\n\n    function computeDeps(provider) {\n      /** @type {?} */\n      var deps = EMPTY;\n      /** @type {?} */\n\n      var providerDeps =\n      /** @type {?} */\n      provider.deps;\n\n      if (providerDeps && providerDeps.length) {\n        deps = [];\n\n        for (var i = 0; i < providerDeps.length; i++) {\n          /** @type {?} */\n          var options = 6\n          /* Default */\n          ;\n          /** @type {?} */\n\n          var token = resolveForwardRef(providerDeps[i]);\n\n          if (token instanceof Array) {\n            for (var j = 0, annotations = token; j < annotations.length; j++) {\n              /** @type {?} */\n              var annotation = annotations[j];\n\n              if (annotation instanceof Optional || annotation == Optional) {\n                options = options | 1\n                /* Optional */\n                ;\n              } else if (annotation instanceof SkipSelf || annotation == SkipSelf) {\n                options = options & ~2\n                /* CheckSelf */\n                ;\n              } else if (annotation instanceof Self || annotation == Self) {\n                options = options & ~4\n                /* CheckParent */\n                ;\n              } else if (annotation instanceof Inject) {\n                token =\n                /** @type {?} */\n                annotation.token;\n              } else {\n                token = resolveForwardRef(annotation);\n              }\n            }\n          }\n\n          deps.push({\n            token: token,\n            options: options\n          });\n        }\n      } else if (\n      /** @type {?} */\n      provider.useExisting) {\n        /** @type {?} */\n        var _token = resolveForwardRef(\n        /** @type {?} */\n        provider.useExisting);\n\n        deps = [{\n          token: _token,\n          options: 6\n          /* Default */\n\n        }];\n      } else if (!providerDeps && !(USE_VALUE in provider)) {\n        // useValue & useExisting are the only ones which are exempt from deps all others need it.\n        throw staticError('\\'deps\\' required', provider);\n      }\n\n      return deps;\n    }\n    /**\n     * @param {?} text\n     * @param {?} obj\n     * @return {?}\n     */\n\n\n    function staticError(text, obj) {\n      return new Error(formatError(text, obj, 'StaticInjectorError'));\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @param {?} keys\n     * @return {?}\n     */\n\n\n    function findFirstClosedCycle(keys) {\n      /** @type {?} */\n      var res = [];\n\n      for (var i = 0; i < keys.length; ++i) {\n        if (res.indexOf(keys[i]) > -1) {\n          res.push(keys[i]);\n          return res;\n        }\n\n        res.push(keys[i]);\n      }\n\n      return res;\n    }\n    /**\n     * @param {?} keys\n     * @return {?}\n     */\n\n\n    function constructResolvingPath(keys) {\n      if (keys.length > 1) {\n        /** @type {?} */\n        var reversed = findFirstClosedCycle(keys.slice().reverse());\n        /** @type {?} */\n\n        var tokenStrs = reversed.map(\n        /**\n        * @param {?} k\n        * @return {?}\n        */\n        function (k) {\n          return stringify(k.token);\n        });\n        return ' (' + tokenStrs.join(' -> ') + ')';\n      }\n\n      return '';\n    }\n    /**\n     * @record\n     */\n\n\n    function InjectionError() {}\n\n    if (false) {}\n    /**\n     * @param {?} injector\n     * @param {?} key\n     * @param {?} constructResolvingMessage\n     * @param {?=} originalError\n     * @return {?}\n     */\n\n\n    function injectionError(injector, key, constructResolvingMessage, originalError) {\n      /** @type {?} */\n      var keys = [key];\n      /** @type {?} */\n\n      var errMsg = constructResolvingMessage(keys);\n      /** @type {?} */\n\n      var error =\n      /** @type {?} */\n      originalError ? wrappedError(errMsg, originalError) : Error(errMsg);\n      error.addKey = addKey;\n      error.keys = keys;\n      error.injectors = [injector];\n      error.constructResolvingMessage = constructResolvingMessage;\n\n      /** @type {?} */\n      error[ERROR_ORIGINAL_ERROR] = originalError;\n      return error;\n    }\n    /**\n     * @this {?}\n     * @param {?} injector\n     * @param {?} key\n     * @return {?}\n     */\n\n\n    function addKey(injector, key) {\n      this.injectors.push(injector);\n      this.keys.push(key); // Note: This updated message won't be reflected in the `.stack` property\n\n      this.message = this.constructResolvingMessage(this.keys);\n    }\n    /**\n     * Thrown when trying to retrieve a dependency by key from {\\@link Injector}, but the\n     * {\\@link Injector} does not have a {\\@link Provider} for the given key.\n     *\n     * \\@usageNotes\n     * ### Example\n     *\n     * ```typescript\n     * class A {\n     *   constructor(b:B) {}\n     * }\n     *\n     * expect(() => Injector.resolveAndCreate([A])).toThrowError();\n     * ```\n     * @param {?} injector\n     * @param {?} key\n     * @return {?}\n     */\n\n\n    function noProviderError(injector, key) {\n      return injectionError(injector, key,\n      /**\n      * @param {?} keys\n      * @return {?}\n      */\n      function (keys) {\n        /** @type {?} */\n        var first = stringify(keys[0].token);\n        return \"No provider for \".concat(first, \"!\").concat(constructResolvingPath(keys));\n      });\n    }\n    /**\n     * Thrown when dependencies form a cycle.\n     *\n     * \\@usageNotes\n     * ### Example\n     *\n     * ```typescript\n     * var injector = Injector.resolveAndCreate([\n     *   {provide: \"one\", useFactory: (two) => \"two\", deps: [[new Inject(\"two\")]]},\n     *   {provide: \"two\", useFactory: (one) => \"one\", deps: [[new Inject(\"one\")]]}\n     * ]);\n     *\n     * expect(() => injector.get(\"one\")).toThrowError();\n     * ```\n     *\n     * Retrieving `A` or `B` throws a `CyclicDependencyError` as the graph above cannot be constructed.\n     * @param {?} injector\n     * @param {?} key\n     * @return {?}\n     */\n\n\n    function cyclicDependencyError(injector, key) {\n      return injectionError(injector, key,\n      /**\n      * @param {?} keys\n      * @return {?}\n      */\n      function (keys) {\n        return \"Cannot instantiate cyclic dependency!\".concat(constructResolvingPath(keys));\n      });\n    }\n    /**\n     * Thrown when a constructing type returns with an Error.\n     *\n     * The `InstantiationError` class contains the original error plus the dependency graph which caused\n     * this object to be instantiated.\n     *\n     * \\@usageNotes\n     * ### Example\n     *\n     * ```typescript\n     * class A {\n     *   constructor() {\n     *     throw new Error('message');\n     *   }\n     * }\n     *\n     * var injector = Injector.resolveAndCreate([A]);\n     * try {\n     *   injector.get(A);\n     * } catch (e) {\n     *   expect(e instanceof InstantiationError).toBe(true);\n     *   expect(e.originalException.message).toEqual(\"message\");\n     *   expect(e.originalStack).toBeDefined();\n     * }\n     * ```\n     * @param {?} injector\n     * @param {?} originalException\n     * @param {?} originalStack\n     * @param {?} key\n     * @return {?}\n     */\n\n\n    function instantiationError(injector, originalException, originalStack, key) {\n      return injectionError(injector, key,\n      /**\n      * @param {?} keys\n      * @return {?}\n      */\n      function (keys) {\n        /** @type {?} */\n        var first = stringify(keys[0].token);\n        return \"\".concat(originalException.message, \": Error during instantiation of \").concat(first, \"!\").concat(constructResolvingPath(keys), \".\");\n      }, originalException);\n    }\n    /**\n     * Thrown when an object other then {\\@link Provider} (or `Type`) is passed to {\\@link Injector}\n     * creation.\n     *\n     * \\@usageNotes\n     * ### Example\n     *\n     * ```typescript\n     * expect(() => Injector.resolveAndCreate([\"not a type\"])).toThrowError();\n     * ```\n     * @param {?} provider\n     * @return {?}\n     */\n\n\n    function invalidProviderError(provider) {\n      return Error(\"Invalid provider - only instances of Provider and Type are allowed, got: \".concat(provider));\n    }\n    /**\n     * Thrown when the class has no annotation information.\n     *\n     * Lack of annotation information prevents the {\\@link Injector} from determining which dependencies\n     * need to be injected into the constructor.\n     *\n     * \\@usageNotes\n     * ### Example\n     *\n     * ```typescript\n     * class A {\n     *   constructor(b) {}\n     * }\n     *\n     * expect(() => Injector.resolveAndCreate([A])).toThrowError();\n     * ```\n     *\n     * This error is also thrown when the class not marked with {\\@link Injectable} has parameter types.\n     *\n     * ```typescript\n     * class B {}\n     *\n     * class A {\n     *   constructor(b:B) {} // no information about the parameter types of A is available at runtime.\n     * }\n     *\n     * expect(() => Injector.resolveAndCreate([A,B])).toThrowError();\n     * ```\n     *\n     * @param {?} typeOrFunc\n     * @param {?} params\n     * @return {?}\n     */\n\n\n    function noAnnotationError(typeOrFunc, params) {\n      /** @type {?} */\n      var signature = [];\n\n      for (var i = 0, ii = params.length; i < ii; i++) {\n        /** @type {?} */\n        var parameter = params[i];\n\n        if (!parameter || parameter.length == 0) {\n          signature.push('?');\n        } else {\n          signature.push(parameter.map(stringify).join(' '));\n        }\n      }\n\n      return Error('Cannot resolve all parameters for \\'' + stringify(typeOrFunc) + '\\'(' + signature.join(', ') + '). ' + 'Make sure that all the parameters are decorated with Inject or have valid type annotations and that \\'' + stringify(typeOrFunc) + '\\' is decorated with Injectable.');\n    }\n    /**\n     * Thrown when getting an object by index.\n     *\n     * \\@usageNotes\n     * ### Example\n     *\n     * ```typescript\n     * class A {}\n     *\n     * var injector = Injector.resolveAndCreate([A]);\n     *\n     * expect(() => injector.getAt(100)).toThrowError();\n     * ```\n     *\n     * @param {?} index\n     * @return {?}\n     */\n\n\n    function outOfBoundsError(index) {\n      return Error(\"Index \".concat(index, \" is out-of-bounds.\"));\n    } // TODO: add a working example after alpha38 is released\n\n    /**\n     * Thrown when a multi provider and a regular provider are bound to the same token.\n     *\n     * \\@usageNotes\n     * ### Example\n     *\n     * ```typescript\n     * expect(() => Injector.resolveAndCreate([\n     *   { provide: \"Strings\", useValue: \"string1\", multi: true},\n     *   { provide: \"Strings\", useValue: \"string2\", multi: false}\n     * ])).toThrowError();\n     * ```\n     * @param {?} provider1\n     * @param {?} provider2\n     * @return {?}\n     */\n\n\n    function mixingMultiProvidersWithRegularProvidersError(provider1, provider2) {\n      return Error(\"Cannot mix multi providers and regular providers, got: \".concat(provider1, \" \").concat(provider2));\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * A unique object used for retrieving items from the {\\@link ReflectiveInjector}.\n     *\n     * Keys have:\n     * - a system-wide unique `id`.\n     * - a `token`.\n     *\n     * `Key` is used internally by {\\@link ReflectiveInjector} because its system-wide unique `id` allows\n     * the\n     * injector to store created objects in a more efficient way.\n     *\n     * `Key` should not be created directly. {\\@link ReflectiveInjector} creates keys automatically when\n     * resolving\n     * providers.\n     *\n     * @deprecated No replacement\n     * \\@publicApi\n     */\n\n\n    var ReflectiveKey =\n    /*#__PURE__*/\n    function () {\n      /**\n       * Private\n       * @param {?} token\n       * @param {?} id\n       */\n      function ReflectiveKey(token, id) {\n        _classCallCheck(this, ReflectiveKey);\n\n        this.token = token;\n        this.id = id;\n\n        if (!token) {\n          throw new Error('Token must be defined!');\n        }\n\n        this.displayName = stringify(this.token);\n      }\n      /**\n       * Retrieves a `Key` for a token.\n       * @param {?} token\n       * @return {?}\n       */\n\n\n      _createClass2(ReflectiveKey, null, [{\n        key: \"get\",\n        value: function get(token) {\n          return _globalKeyRegistry.get(resolveForwardRef(token));\n        }\n        /**\n         * @return {?} the number of keys registered in the system.\n         */\n\n      }, {\n        key: \"numberOfKeys\",\n        get: function get() {\n          return _globalKeyRegistry.numberOfKeys;\n        }\n      }]);\n\n      return ReflectiveKey;\n    }();\n\n    if (false) {}\n\n    var KeyRegistry =\n    /*#__PURE__*/\n    function () {\n      function KeyRegistry() {\n        _classCallCheck(this, KeyRegistry);\n\n        this._allKeys = new Map();\n      }\n      /**\n       * @param {?} token\n       * @return {?}\n       */\n\n\n      _createClass2(KeyRegistry, [{\n        key: \"get\",\n        value: function get(token) {\n          if (token instanceof ReflectiveKey) return token;\n\n          if (this._allKeys.has(token)) {\n            return (\n              /** @type {?} */\n              this._allKeys.get(token)\n            );\n          }\n          /** @type {?} */\n\n\n          var newKey = new ReflectiveKey(token, ReflectiveKey.numberOfKeys);\n\n          this._allKeys.set(token, newKey);\n\n          return newKey;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"numberOfKeys\",\n        get: function get() {\n          return this._allKeys.size;\n        }\n      }]);\n\n      return KeyRegistry;\n    }();\n\n    if (false) {}\n    /** @type {?} */\n\n\n    var _globalKeyRegistry = new KeyRegistry();\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * Provides access to reflection data about symbols. Used internally by Angular\n     * to power dependency injection and compilation.\n     */\n\n\n    var Reflector =\n    /*#__PURE__*/\n    function () {\n      function Reflector(reflectionCapabilities) {\n        _classCallCheck(this, Reflector);\n\n        this.reflectionCapabilities = reflectionCapabilities;\n      }\n\n      _createClass2(Reflector, [{\n        key: \"updateCapabilities\",\n        value: function updateCapabilities(caps) {\n          this.reflectionCapabilities = caps;\n        }\n      }, {\n        key: \"factory\",\n        value: function factory(type) {\n          return this.reflectionCapabilities.factory(type);\n        }\n      }, {\n        key: \"parameters\",\n        value: function parameters(typeOrFunc) {\n          return this.reflectionCapabilities.parameters(typeOrFunc);\n        }\n      }, {\n        key: \"annotations\",\n        value: function annotations(typeOrFunc) {\n          return this.reflectionCapabilities.annotations(typeOrFunc);\n        }\n      }, {\n        key: \"propMetadata\",\n        value: function propMetadata(typeOrFunc) {\n          return this.reflectionCapabilities.propMetadata(typeOrFunc);\n        }\n      }, {\n        key: \"hasLifecycleHook\",\n        value: function hasLifecycleHook(type, lcProperty) {\n          return this.reflectionCapabilities.hasLifecycleHook(type, lcProperty);\n        }\n      }, {\n        key: \"getter\",\n        value: function getter(name) {\n          return this.reflectionCapabilities.getter(name);\n        }\n      }, {\n        key: \"setter\",\n        value: function setter(name) {\n          return this.reflectionCapabilities.setter(name);\n        }\n      }, {\n        key: \"method\",\n        value: function method(name) {\n          return this.reflectionCapabilities.method(name);\n        }\n      }, {\n        key: \"importUri\",\n        value: function importUri(type) {\n          return this.reflectionCapabilities.importUri(type);\n        }\n      }, {\n        key: \"resourceUri\",\n        value: function resourceUri(type) {\n          return this.reflectionCapabilities.resourceUri(type);\n        }\n      }, {\n        key: \"resolveIdentifier\",\n        value: function resolveIdentifier(name, moduleUrl, members, runtime) {\n          return this.reflectionCapabilities.resolveIdentifier(name, moduleUrl, members, runtime);\n        }\n      }, {\n        key: \"resolveEnum\",\n        value: function resolveEnum(identifier, name) {\n          return this.reflectionCapabilities.resolveEnum(identifier, name);\n        }\n      }]);\n\n      return Reflector;\n    }();\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * The {@link Reflector} used internally in Angular to access metadata\n     * about symbols.\n     */\n\n\n    var reflector = new Reflector(new ReflectionCapabilities());\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @record\n     */\n\n    function NormalizedProvider() {}\n    /**\n     * `Dependency` is used by the framework to extend DI.\n     * This is internal to Angular and should not be used directly.\n     */\n\n\n    var ReflectiveDependency =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} key\n       * @param {?} optional\n       * @param {?} visibility\n       */\n      function ReflectiveDependency(key, optional, visibility) {\n        _classCallCheck(this, ReflectiveDependency);\n\n        this.key = key;\n        this.optional = optional;\n        this.visibility = visibility;\n      }\n      /**\n       * @param {?} key\n       * @return {?}\n       */\n\n\n      _createClass2(ReflectiveDependency, null, [{\n        key: \"fromKey\",\n        value: function fromKey(key) {\n          return new ReflectiveDependency(key, false, null);\n        }\n      }]);\n\n      return ReflectiveDependency;\n    }();\n\n    if (false) {}\n    /** @type {?} */\n\n\n    var _EMPTY_LIST = [];\n    /**\n     * An internal resolved representation of a `Provider` used by the `Injector`.\n     *\n     * \\@usageNotes\n     * This is usually created automatically by `Injector.resolveAndCreate`.\n     *\n     * It can be created manually, as follows:\n     *\n     * ### Example\n     *\n     * ```typescript\n     * var resolvedProviders = Injector.resolve([{ provide: 'message', useValue: 'Hello' }]);\n     * var injector = Injector.fromResolvedProviders(resolvedProviders);\n     *\n     * expect(injector.get('message')).toEqual('Hello');\n     * ```\n     *\n     * \\@publicApi\n     * @record\n     */\n\n    function ResolvedReflectiveProvider() {}\n\n    if (false) {}\n\n    var ResolvedReflectiveProvider_ =\n    /**\n     * @param {?} key\n     * @param {?} resolvedFactories\n     * @param {?} multiProvider\n     */\n    function ResolvedReflectiveProvider_(key, resolvedFactories, multiProvider) {\n      _classCallCheck(this, ResolvedReflectiveProvider_);\n\n      this.key = key;\n      this.resolvedFactories = resolvedFactories;\n      this.multiProvider = multiProvider;\n      this.resolvedFactory = this.resolvedFactories[0];\n    };\n\n    if (false) {}\n    /**\n     * An internal resolved representation of a factory function created by resolving `Provider`.\n     * \\@publicApi\n     */\n\n\n    var ResolvedReflectiveFactory =\n    /**\n     * @param {?} factory\n     * @param {?} dependencies\n     */\n    function ResolvedReflectiveFactory(factory, dependencies) {\n      _classCallCheck(this, ResolvedReflectiveFactory);\n\n      this.factory = factory;\n      this.dependencies = dependencies;\n    };\n\n    if (false) {}\n    /**\n     * Resolve a single provider.\n     * @param {?} provider\n     * @return {?}\n     */\n\n\n    function resolveReflectiveFactory(provider) {\n      /** @type {?} */\n      var factoryFn;\n      /** @type {?} */\n\n      var resolvedDeps;\n\n      if (provider.useClass) {\n        /** @type {?} */\n        var useClass = resolveForwardRef(provider.useClass);\n        factoryFn = reflector.factory(useClass);\n        resolvedDeps = _dependenciesFor(useClass);\n      } else if (provider.useExisting) {\n        factoryFn =\n        /**\n        * @param {?} aliasInstance\n        * @return {?}\n        */\n        function factoryFn(aliasInstance) {\n          return aliasInstance;\n        };\n\n        resolvedDeps = [ReflectiveDependency.fromKey(ReflectiveKey.get(provider.useExisting))];\n      } else if (provider.useFactory) {\n        factoryFn = provider.useFactory;\n        resolvedDeps = constructDependencies(provider.useFactory, provider.deps);\n      } else {\n        factoryFn =\n        /**\n        * @return {?}\n        */\n        function factoryFn() {\n          return provider.useValue;\n        };\n\n        resolvedDeps = _EMPTY_LIST;\n      }\n\n      return new ResolvedReflectiveFactory(factoryFn, resolvedDeps);\n    }\n    /**\n     * Converts the `Provider` into `ResolvedProvider`.\n     *\n     * `Injector` internally only uses `ResolvedProvider`, `Provider` contains convenience provider\n     * syntax.\n     * @param {?} provider\n     * @return {?}\n     */\n\n\n    function resolveReflectiveProvider(provider) {\n      return new ResolvedReflectiveProvider_(ReflectiveKey.get(provider.provide), [resolveReflectiveFactory(provider)], provider.multi || false);\n    }\n    /**\n     * Resolve a list of Providers.\n     * @param {?} providers\n     * @return {?}\n     */\n\n\n    function resolveReflectiveProviders(providers) {\n      /** @type {?} */\n      var normalized = _normalizeProviders(providers, []);\n      /** @type {?} */\n\n\n      var resolved = normalized.map(resolveReflectiveProvider);\n      /** @type {?} */\n\n      var resolvedProviderMap = mergeResolvedReflectiveProviders(resolved, new Map());\n      return Array.from(resolvedProviderMap.values());\n    }\n    /**\n     * Merges a list of ResolvedProviders into a list where each key is contained exactly once and\n     * multi providers have been merged.\n     * @param {?} providers\n     * @param {?} normalizedProvidersMap\n     * @return {?}\n     */\n\n\n    function mergeResolvedReflectiveProviders(providers, normalizedProvidersMap) {\n      for (var i = 0; i < providers.length; i++) {\n        /** @type {?} */\n        var provider = providers[i];\n        /** @type {?} */\n\n        var existing = normalizedProvidersMap.get(provider.key.id);\n\n        if (existing) {\n          if (provider.multiProvider !== existing.multiProvider) {\n            throw mixingMultiProvidersWithRegularProvidersError(existing, provider);\n          }\n\n          if (provider.multiProvider) {\n            for (var j = 0; j < provider.resolvedFactories.length; j++) {\n              existing.resolvedFactories.push(provider.resolvedFactories[j]);\n            }\n          } else {\n            normalizedProvidersMap.set(provider.key.id, provider);\n          }\n        } else {\n          /** @type {?} */\n          var resolvedProvider = void 0;\n\n          if (provider.multiProvider) {\n            resolvedProvider = new ResolvedReflectiveProvider_(provider.key, provider.resolvedFactories.slice(), provider.multiProvider);\n          } else {\n            resolvedProvider = provider;\n          }\n\n          normalizedProvidersMap.set(provider.key.id, resolvedProvider);\n        }\n      }\n\n      return normalizedProvidersMap;\n    }\n    /**\n     * @param {?} providers\n     * @param {?} res\n     * @return {?}\n     */\n\n\n    function _normalizeProviders(providers, res) {\n      providers.forEach(\n      /**\n      * @param {?} b\n      * @return {?}\n      */\n      function (b) {\n        if (b instanceof Type) {\n          res.push(\n          /** @type {?} */\n          {\n            provide: b,\n            useClass: b\n          });\n        } else if (b && typeof b == 'object' &&\n        /** @type {?} */\n        b.provide !== undefined) {\n          res.push(\n          /** @type {?} */\n          b);\n        } else if (b instanceof Array) {\n          _normalizeProviders(b, res);\n        } else {\n          throw invalidProviderError(b);\n        }\n      });\n      return res;\n    }\n    /**\n     * @param {?} typeOrFunc\n     * @param {?=} dependencies\n     * @return {?}\n     */\n\n\n    function constructDependencies(typeOrFunc, dependencies) {\n      if (!dependencies) {\n        return _dependenciesFor(typeOrFunc);\n      } else {\n        /** @type {?} */\n        var params = dependencies.map(\n        /**\n        * @param {?} t\n        * @return {?}\n        */\n        function (t) {\n          return [t];\n        });\n        return dependencies.map(\n        /**\n        * @param {?} t\n        * @return {?}\n        */\n        function (t) {\n          return _extractToken(typeOrFunc, t, params);\n        });\n      }\n    }\n    /**\n     * @param {?} typeOrFunc\n     * @return {?}\n     */\n\n\n    function _dependenciesFor(typeOrFunc) {\n      /** @type {?} */\n      var params = reflector.parameters(typeOrFunc);\n      if (!params) return [];\n\n      if (params.some(\n      /**\n      * @param {?} p\n      * @return {?}\n      */\n      function (p) {\n        return p == null;\n      })) {\n        throw noAnnotationError(typeOrFunc, params);\n      }\n\n      return params.map(\n      /**\n      * @param {?} p\n      * @return {?}\n      */\n      function (p) {\n        return _extractToken(typeOrFunc, p, params);\n      });\n    }\n    /**\n     * @param {?} typeOrFunc\n     * @param {?} metadata\n     * @param {?} params\n     * @return {?}\n     */\n\n\n    function _extractToken(typeOrFunc, metadata, params) {\n      /** @type {?} */\n      var token = null;\n      /** @type {?} */\n\n      var optional = false;\n\n      if (!Array.isArray(metadata)) {\n        if (metadata instanceof Inject) {\n          return _createDependency(metadata.token, optional, null);\n        } else {\n          return _createDependency(metadata, optional, null);\n        }\n      }\n      /** @type {?} */\n\n\n      var visibility = null;\n\n      for (var i = 0; i < metadata.length; ++i) {\n        /** @type {?} */\n        var paramMetadata = metadata[i];\n\n        if (paramMetadata instanceof Type) {\n          token = paramMetadata;\n        } else if (paramMetadata instanceof Inject) {\n          token = paramMetadata.token;\n        } else if (paramMetadata instanceof Optional) {\n          optional = true;\n        } else if (paramMetadata instanceof Self || paramMetadata instanceof SkipSelf) {\n          visibility = paramMetadata;\n        } else if (paramMetadata instanceof InjectionToken) {\n          token = paramMetadata;\n        }\n      }\n\n      token = resolveForwardRef(token);\n\n      if (token != null) {\n        return _createDependency(token, optional, visibility);\n      } else {\n        throw noAnnotationError(typeOrFunc, params);\n      }\n    }\n    /**\n     * @param {?} token\n     * @param {?} optional\n     * @param {?} visibility\n     * @return {?}\n     */\n\n\n    function _createDependency(token, optional, visibility) {\n      return new ReflectiveDependency(ReflectiveKey.get(token), optional, visibility);\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n    // Threshold for the dynamic version\n\n    /** @type {?} */\n\n\n    var UNDEFINED = new Object();\n    /**\n     * A ReflectiveDependency injection container used for instantiating objects and resolving\n     * dependencies.\n     *\n     * An `Injector` is a replacement for a `new` operator, which can automatically resolve the\n     * constructor dependencies.\n     *\n     * In typical use, application code asks for the dependencies in the constructor and they are\n     * resolved by the `Injector`.\n     *\n     * \\@usageNotes\n     * ### Example\n     *\n     * The following example creates an `Injector` configured to create `Engine` and `Car`.\n     *\n     * ```typescript\n     * \\@Injectable()\n     * class Engine {\n     * }\n     *\n     * \\@Injectable()\n     * class Car {\n     *   constructor(public engine:Engine) {}\n     * }\n     *\n     * var injector = ReflectiveInjector.resolveAndCreate([Car, Engine]);\n     * var car = injector.get(Car);\n     * expect(car instanceof Car).toBe(true);\n     * expect(car.engine instanceof Engine).toBe(true);\n     * ```\n     *\n     * Notice, we don't use the `new` operator because we explicitly want to have the `Injector`\n     * resolve all of the object's dependencies automatically.\n     *\n     * @deprecated from v5 - slow and brings in a lot of code, Use `Injector.create` instead.\n     * \\@publicApi\n     * @abstract\n     */\n\n    var ReflectiveInjector =\n    /*#__PURE__*/\n    function () {\n      function ReflectiveInjector() {\n        _classCallCheck(this, ReflectiveInjector);\n      }\n\n      _createClass2(ReflectiveInjector, null, [{\n        key: \"resolve\",\n\n        /**\n         * Turns an array of provider definitions into an array of resolved providers.\n         *\n         * A resolution is a process of flattening multiple nested arrays and converting individual\n         * providers into an array of `ResolvedReflectiveProvider`s.\n         *\n         * \\@usageNotes\n         * ### Example\n         *\n         * ```typescript\n         * \\@Injectable()\n         * class Engine {\n         * }\n         *  /\n         * class Car {\n         *   constructor(public engine:Engine) {}\n         * }\n         *\n         * var providers = ReflectiveInjector.resolve([Car, [[Engine]]]);\n         *\n         * expect(providers.length).toEqual(2);\n         *\n         * expect(providers[0] instanceof ResolvedReflectiveProvider).toBe(true);\n         * expect(providers[0].key.displayName).toBe(\"Car\");\n         * expect(providers[0].dependencies.length).toEqual(1);\n         * expect(providers[0].factory).toBeDefined();\n         *\n         * expect(providers[1].key.displayName).toBe(\"Engine\");\n         * });\n         * ```\n         *\n         * @param {?} providers\n         * @return {?}\n         */\n        value: function resolve(providers) {\n          return resolveReflectiveProviders(providers);\n        }\n        /**\n         * Resolves an array of providers and creates an injector from those providers.\n         *\n         * The passed-in providers can be an array of `Type`, `Provider`,\n         * or a recursive array of more providers.\n         *\n         * \\@usageNotes\n         * ### Example\n         *\n         * ```typescript\n         * \\@Injectable()\n         * class Engine {\n         * }\n         *  /\n         * class Car {\n         *   constructor(public engine:Engine) {}\n         * }\n         *\n         * var injector = ReflectiveInjector.resolveAndCreate([Car, Engine]);\n         * expect(injector.get(Car) instanceof Car).toBe(true);\n         * ```\n         * @param {?} providers\n         * @param {?=} parent\n         * @return {?}\n         */\n\n      }, {\n        key: \"resolveAndCreate\",\n        value: function resolveAndCreate(providers, parent) {\n          /** @type {?} */\n          var ResolvedReflectiveProviders = ReflectiveInjector.resolve(providers);\n          return ReflectiveInjector.fromResolvedProviders(ResolvedReflectiveProviders, parent);\n        }\n        /**\n         * Creates an injector from previously resolved providers.\n         *\n         * This API is the recommended way to construct injectors in performance-sensitive parts.\n         *\n         * \\@usageNotes\n         * ### Example\n         *\n         * ```typescript\n         * \\@Injectable()\n         * class Engine {\n         * }\n         *  /\n         * class Car {\n         *   constructor(public engine:Engine) {}\n         * }\n         *\n         * var providers = ReflectiveInjector.resolve([Car, Engine]);\n         * var injector = ReflectiveInjector.fromResolvedProviders(providers);\n         * expect(injector.get(Car) instanceof Car).toBe(true);\n         * ```\n         * @param {?} providers\n         * @param {?=} parent\n         * @return {?}\n         */\n\n      }, {\n        key: \"fromResolvedProviders\",\n        value: function fromResolvedProviders(providers, parent) {\n          return new ReflectiveInjector_(providers, parent);\n        }\n      }]);\n\n      return ReflectiveInjector;\n    }();\n\n    if (false) {}\n\n    var ReflectiveInjector_ =\n    /*#__PURE__*/\n    function () {\n      /**\n       * Private\n       * @param {?} _providers\n       * @param {?=} _parent\n       */\n      function ReflectiveInjector_(_providers, _parent) {\n        _classCallCheck(this, ReflectiveInjector_);\n\n        /**\n         * \\@internal\n         */\n        this._constructionCounter = 0;\n        this._providers = _providers;\n        this.parent = _parent || null;\n        /** @type {?} */\n\n        var len = _providers.length;\n        this.keyIds = new Array(len);\n        this.objs = new Array(len);\n\n        for (var i = 0; i < len; i++) {\n          this.keyIds[i] = _providers[i].key.id;\n          this.objs[i] = UNDEFINED;\n        }\n      }\n      /**\n       * @param {?} token\n       * @param {?=} notFoundValue\n       * @return {?}\n       */\n\n\n      _createClass2(ReflectiveInjector_, [{\n        key: \"get\",\n        value: function get(token) {\n          var notFoundValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : THROW_IF_NOT_FOUND;\n          return this._getByKey(ReflectiveKey.get(token), null, notFoundValue);\n        }\n        /**\n         * @param {?} providers\n         * @return {?}\n         */\n\n      }, {\n        key: \"resolveAndCreateChild\",\n        value: function resolveAndCreateChild(providers) {\n          /** @type {?} */\n          var ResolvedReflectiveProviders = ReflectiveInjector.resolve(providers);\n          return this.createChildFromResolved(ResolvedReflectiveProviders);\n        }\n        /**\n         * @param {?} providers\n         * @return {?}\n         */\n\n      }, {\n        key: \"createChildFromResolved\",\n        value: function createChildFromResolved(providers) {\n          /** @type {?} */\n          var inj = new ReflectiveInjector_(providers);\n\n          /** @type {?} */\n          inj.parent = this;\n          return inj;\n        }\n        /**\n         * @param {?} provider\n         * @return {?}\n         */\n\n      }, {\n        key: \"resolveAndInstantiate\",\n        value: function resolveAndInstantiate(provider) {\n          return this.instantiateResolved(ReflectiveInjector.resolve([provider])[0]);\n        }\n        /**\n         * @param {?} provider\n         * @return {?}\n         */\n\n      }, {\n        key: \"instantiateResolved\",\n        value: function instantiateResolved(provider) {\n          return this._instantiateProvider(provider);\n        }\n        /**\n         * @param {?} index\n         * @return {?}\n         */\n\n      }, {\n        key: \"getProviderAtIndex\",\n        value: function getProviderAtIndex(index) {\n          if (index < 0 || index >= this._providers.length) {\n            throw outOfBoundsError(index);\n          }\n\n          return this._providers[index];\n        }\n        /**\n         * \\@internal\n         * @param {?} provider\n         * @return {?}\n         */\n\n      }, {\n        key: \"_new\",\n        value: function _new(provider) {\n          if (this._constructionCounter++ > this._getMaxNumberOfObjects()) {\n            throw cyclicDependencyError(this, provider.key);\n          }\n\n          return this._instantiateProvider(provider);\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_getMaxNumberOfObjects\",\n        value: function _getMaxNumberOfObjects() {\n          return this.objs.length;\n        }\n        /**\n         * @private\n         * @param {?} provider\n         * @return {?}\n         */\n\n      }, {\n        key: \"_instantiateProvider\",\n        value: function _instantiateProvider(provider) {\n          if (provider.multiProvider) {\n            /** @type {?} */\n            var res = new Array(provider.resolvedFactories.length);\n\n            for (var i = 0; i < provider.resolvedFactories.length; ++i) {\n              res[i] = this._instantiate(provider, provider.resolvedFactories[i]);\n            }\n\n            return res;\n          } else {\n            return this._instantiate(provider, provider.resolvedFactories[0]);\n          }\n        }\n        /**\n         * @private\n         * @param {?} provider\n         * @param {?} ResolvedReflectiveFactory\n         * @return {?}\n         */\n\n      }, {\n        key: \"_instantiate\",\n        value: function _instantiate(provider, ResolvedReflectiveFactory) {\n          var _this446 = this;\n\n          /** @type {?} */\n          var factory = ResolvedReflectiveFactory.factory;\n          /** @type {?} */\n\n          var deps;\n\n          try {\n            deps = ResolvedReflectiveFactory.dependencies.map(\n            /**\n            * @param {?} dep\n            * @return {?}\n            */\n            function (dep) {\n              return _this446._getByReflectiveDependency(dep);\n            });\n          } catch (e) {\n            if (e.addKey) {\n              e.addKey(this, provider.key);\n            }\n\n            throw e;\n          }\n          /** @type {?} */\n\n\n          var obj;\n\n          try {\n            obj = factory.apply(void 0, _toConsumableArray(deps));\n          } catch (e) {\n            throw instantiationError(this, e, e.stack, provider.key);\n          }\n\n          return obj;\n        }\n        /**\n         * @private\n         * @param {?} dep\n         * @return {?}\n         */\n\n      }, {\n        key: \"_getByReflectiveDependency\",\n        value: function _getByReflectiveDependency(dep) {\n          return this._getByKey(dep.key, dep.visibility, dep.optional ? null : THROW_IF_NOT_FOUND);\n        }\n        /**\n         * @private\n         * @param {?} key\n         * @param {?} visibility\n         * @param {?} notFoundValue\n         * @return {?}\n         */\n\n      }, {\n        key: \"_getByKey\",\n        value: function _getByKey(key, visibility, notFoundValue) {\n          if (key === ReflectiveInjector_.INJECTOR_KEY) {\n            return this;\n          }\n\n          if (visibility instanceof Self) {\n            return this._getByKeySelf(key, notFoundValue);\n          } else {\n            return this._getByKeyDefault(key, notFoundValue, visibility);\n          }\n        }\n        /**\n         * @private\n         * @param {?} keyId\n         * @return {?}\n         */\n\n      }, {\n        key: \"_getObjByKeyId\",\n        value: function _getObjByKeyId(keyId) {\n          for (var i = 0; i < this.keyIds.length; i++) {\n            if (this.keyIds[i] === keyId) {\n              if (this.objs[i] === UNDEFINED) {\n                this.objs[i] = this._new(this._providers[i]);\n              }\n\n              return this.objs[i];\n            }\n          }\n\n          return UNDEFINED;\n        }\n        /**\n         * \\@internal\n         * @param {?} key\n         * @param {?} notFoundValue\n         * @return {?}\n         */\n\n      }, {\n        key: \"_throwOrNull\",\n        value: function _throwOrNull(key, notFoundValue) {\n          if (notFoundValue !== THROW_IF_NOT_FOUND) {\n            return notFoundValue;\n          } else {\n            throw noProviderError(this, key);\n          }\n        }\n        /**\n         * \\@internal\n         * @param {?} key\n         * @param {?} notFoundValue\n         * @return {?}\n         */\n\n      }, {\n        key: \"_getByKeySelf\",\n        value: function _getByKeySelf(key, notFoundValue) {\n          /** @type {?} */\n          var obj = this._getObjByKeyId(key.id);\n\n          return obj !== UNDEFINED ? obj : this._throwOrNull(key, notFoundValue);\n        }\n        /**\n         * \\@internal\n         * @param {?} key\n         * @param {?} notFoundValue\n         * @param {?} visibility\n         * @return {?}\n         */\n\n      }, {\n        key: \"_getByKeyDefault\",\n        value: function _getByKeyDefault(key, notFoundValue, visibility) {\n          /** @type {?} */\n          var inj;\n\n          if (visibility instanceof SkipSelf) {\n            inj = this.parent;\n          } else {\n            inj = this;\n          }\n\n          while (inj instanceof ReflectiveInjector_) {\n            /** @type {?} */\n            var inj_ =\n            /** @type {?} */\n            inj;\n            /** @type {?} */\n\n            var obj = inj_._getObjByKeyId(key.id);\n\n            if (obj !== UNDEFINED) return obj;\n            inj = inj_.parent;\n          }\n\n          if (inj !== null) {\n            return inj.get(key.token, notFoundValue);\n          } else {\n            return this._throwOrNull(key, notFoundValue);\n          }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"toString\",\n\n        /**\n         * @return {?}\n         */\n        value: function toString() {\n          return this.displayName;\n        }\n      }, {\n        key: \"displayName\",\n        get: function get() {\n          /** @type {?} */\n          var providers = _mapProviders(this,\n          /**\n          * @param {?} b\n          * @return {?}\n          */\n          function (b) {\n            return ' \"' + b.key.displayName + '\" ';\n          }).join(', ');\n\n          return \"ReflectiveInjector(providers: [\".concat(providers, \"])\");\n        }\n      }]);\n\n      return ReflectiveInjector_;\n    }();\n\n    ReflectiveInjector_.INJECTOR_KEY = ReflectiveKey.get(Injector);\n\n    if (false) {}\n    /**\n     * @param {?} injector\n     * @param {?} fn\n     * @return {?}\n     */\n\n\n    function _mapProviders(injector, fn) {\n      /** @type {?} */\n      var res = new Array(injector._providers.length);\n\n      for (var i = 0; i < injector._providers.length; ++i) {\n        res[i] = fn(injector.getProviderAtIndex(i));\n      }\n\n      return res;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * A DI token that you can use to create a virtual [provider](guide/glossary#provider)\n     * that will populate the `entryComponents` field of components and NgModules\n     * based on its `useValue` property value.\n     * All components that are referenced in the `useValue` value (either directly\n     * or in a nested array or map) are added to the `entryComponents` property.\n     *\n     * \\@usageNotes\n     *\n     * The following example shows how the router can populate the `entryComponents`\n     * field of an NgModule based on a router configuration that refers\n     * to components.\n     *\n     * ```typescript\n     * // helper function inside the router\n     * function provideRoutes(routes) {\n     *   return [\n     *     {provide: ROUTES, useValue: routes},\n     *     {provide: ANALYZE_FOR_ENTRY_COMPONENTS, useValue: routes, multi: true}\n     *   ];\n     * }\n     *\n     * // user code\n     * let routes = [\n     *   {path: '/root', component: RootComp},\n     *   {path: '/teams', component: TeamsComp}\n     * ];\n     *\n     * \\@NgModule({\n     *   providers: [provideRoutes(routes)]\n     * })\n     * class ModuleWithRoutes {}\n     * ```\n     *\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var ANALYZE_FOR_ENTRY_COMPONENTS = new InjectionToken('AnalyzeForEntryComponents');\n    /**\n     * Type of the `Attribute` decorator / constructor function.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n    function AttributeDecorator$1() {}\n    /**\n     * Type of the Attribute metadata.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n\n    function Attribute$1() {}\n\n    if (false) {} // WARNING: interface has both a type and a value, skipping emit\n\n    /**\n     * Base class for query metadata.\n     *\n     * @see `ContentChildren`.\n     * @see `ContentChild`.\n     * @see `ViewChildren`.\n     * @see `ViewChild`.\n     *\n     * \\@publicApi\n     * @abstract\n     */\n\n\n    var Query = function Query() {\n      _classCallCheck(this, Query);\n    };\n    /**\n     * Type of the ContentChildren decorator / constructor function.\n     *\n     * @see `ContentChildren`.\n     * \\@publicApi\n     * @record\n     */\n\n\n    function ContentChildrenDecorator() {}\n\n    var ɵ0$b =\n    /**\n    * @param {?=} selector\n    * @param {?=} data\n    * @return {?}\n    */\n    function ɵ0$b(selector) {\n      var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n      return Object.assign({\n        selector: selector,\n        first: false,\n        isViewQuery: false,\n        descendants: false\n      }, data);\n    };\n    /**\n     * ContentChildren decorator and metadata.\n     *\n     *\n     * \\@Annotation\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var ContentChildren = makePropDecorator('ContentChildren', ɵ0$b, Query);\n    /**\n     * Type of the ContentChild decorator / constructor function.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n    function ContentChildDecorator() {}\n\n    var ɵ1$3 =\n    /**\n    * @param {?=} selector\n    * @param {?=} data\n    * @return {?}\n    */\n    function ɵ1$3(selector) {\n      var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n      return Object.assign({\n        selector: selector,\n        first: true,\n        isViewQuery: false,\n        descendants: true\n      }, data);\n    };\n    /**\n     * ContentChild decorator and metadata.\n     *\n     *\n     * \\@Annotation\n     *\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var ContentChild = makePropDecorator('ContentChild', ɵ1$3, Query);\n    /**\n     * Type of the ViewChildren decorator / constructor function.\n     *\n     * @see `ViewChildren`.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n    function ViewChildrenDecorator() {}\n\n    var ɵ2 =\n    /**\n    * @param {?=} selector\n    * @param {?=} data\n    * @return {?}\n    */\n    function ɵ2(selector) {\n      var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n      return Object.assign({\n        selector: selector,\n        first: false,\n        isViewQuery: true,\n        descendants: true\n      }, data);\n    };\n    /**\n     * ViewChildren decorator and metadata.\n     *\n     * \\@Annotation\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var ViewChildren = makePropDecorator('ViewChildren', ɵ2, Query);\n    /**\n     * Type of the ViewChild decorator / constructor function.\n     *\n     * @see `ViewChild`.\n     * \\@publicApi\n     * @record\n     */\n\n    function ViewChildDecorator() {}\n\n    var ɵ3 =\n    /**\n    * @param {?} selector\n    * @param {?} data\n    * @return {?}\n    */\n    function ɵ3(selector, data) {\n      return Object.assign({\n        selector: selector,\n        first: true,\n        isViewQuery: true,\n        descendants: true\n      }, data);\n    };\n    /**\n     * ViewChild decorator and metadata.\n     *\n     * \\@Annotation\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var ViewChild = makePropDecorator('ViewChild', ɵ3, Query);\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * Used to resolve resource URLs on `\\@Component` when used with JIT compilation.\n     *\n     * Example:\n     * ```\n     * \\@Component({\n     *   selector: 'my-comp',\n     *   templateUrl: 'my-comp.html', // This requires asynchronous resolution\n     * })\n     * class MyComponent{\n     * }\n     *\n     * // Calling `renderComponent` will fail because `renderComponent` is a synchronous process\n     * // and `MyComponent`'s `\\@Component.templateUrl` needs to be resolved asynchronously.\n     *\n     * // Calling `resolveComponentResources()` will resolve `\\@Component.templateUrl` into\n     * // `\\@Component.template`, which allows `renderComponent` to proceed in a synchronous manner.\n     *\n     * // Use browser's `fetch()` function as the default resource resolution strategy.\n     * resolveComponentResources(fetch).then(() => {\n     *   // After resolution all URLs have been converted into `template` strings.\n     *   renderComponent(MyComponent);\n     * });\n     *\n     * ```\n     *\n     * NOTE: In AOT the resolution happens during compilation, and so there should be no need\n     * to call this method outside JIT mode.\n     *\n     * @param {?} resourceResolver a function which is responsible for returning a `Promise` to the\n     * contents of the resolved URL. Browser's `fetch()` method is a good default implementation.\n     * @return {?}\n     */\n\n    function resolveComponentResources(resourceResolver) {\n      // Store all promises which are fetching the resources.\n\n      /** @type {?} */\n      var componentResolved = []; // Cache so that we don't fetch the same resource more than once.\n\n      /** @type {?} */\n\n      var urlMap = new Map();\n      /**\n       * @param {?} url\n       * @return {?}\n       */\n\n      function cachedResourceResolve(url) {\n        /** @type {?} */\n        var promise = urlMap.get(url);\n\n        if (!promise) {\n          /** @type {?} */\n          var resp = resourceResolver(url);\n          urlMap.set(url, promise = resp.then(unwrapResponse));\n        }\n\n        return promise;\n      }\n\n      componentResourceResolutionQueue.forEach(\n      /**\n      * @param {?} component\n      * @param {?} type\n      * @return {?}\n      */\n      function (component, type) {\n        /** @type {?} */\n        var promises = [];\n\n        if (component.templateUrl) {\n          promises.push(cachedResourceResolve(component.templateUrl).then(\n          /**\n          * @param {?} template\n          * @return {?}\n          */\n          function (template) {\n            component.template = template;\n          }));\n        }\n        /** @type {?} */\n\n\n        var styleUrls = component.styleUrls;\n        /** @type {?} */\n\n        var styles = component.styles || (component.styles = []);\n        /** @type {?} */\n\n        var styleOffset = component.styles.length;\n        styleUrls && styleUrls.forEach(\n        /**\n        * @param {?} styleUrl\n        * @param {?} index\n        * @return {?}\n        */\n        function (styleUrl, index) {\n          styles.push(''); // pre-allocate array.\n\n          promises.push(cachedResourceResolve(styleUrl).then(\n          /**\n          * @param {?} style\n          * @return {?}\n          */\n          function (style) {\n            styles[styleOffset + index] = style;\n            styleUrls.splice(styleUrls.indexOf(styleUrl), 1);\n\n            if (styleUrls.length == 0) {\n              component.styleUrls = undefined;\n            }\n          }));\n        });\n        /** @type {?} */\n\n        var fullyResolved = Promise.all(promises).then(\n        /**\n        * @return {?}\n        */\n        function () {\n          return componentDefResolved(type);\n        });\n        componentResolved.push(fullyResolved);\n      });\n      clearResolutionOfComponentResourcesQueue();\n      return Promise.all(componentResolved).then(\n      /**\n      * @return {?}\n      */\n      function () {\n        return undefined;\n      });\n    }\n    /** @type {?} */\n\n\n    var componentResourceResolutionQueue = new Map(); // Track when existing ngComponentDef for a Type is waiting on resources.\n\n    /** @type {?} */\n\n    var componentDefPendingResolution = new Set();\n    /**\n     * @param {?} type\n     * @param {?} metadata\n     * @return {?}\n     */\n\n    function maybeQueueResolutionOfComponentResources(type, metadata) {\n      if (componentNeedsResolution(metadata)) {\n        componentResourceResolutionQueue.set(type, metadata);\n        componentDefPendingResolution.add(type);\n      }\n    }\n    /**\n     * @param {?} type\n     * @return {?}\n     */\n\n\n    function isComponentDefPendingResolution(type) {\n      return componentDefPendingResolution.has(type);\n    }\n    /**\n     * @param {?} component\n     * @return {?}\n     */\n\n\n    function componentNeedsResolution(component) {\n      return !!(component.templateUrl && !component.hasOwnProperty('template') || component.styleUrls && component.styleUrls.length);\n    }\n    /**\n     * @return {?}\n     */\n\n\n    function clearResolutionOfComponentResourcesQueue() {\n      /** @type {?} */\n      var old = componentResourceResolutionQueue;\n      componentResourceResolutionQueue = new Map();\n      return old;\n    }\n    /**\n     * @param {?} queue\n     * @return {?}\n     */\n\n\n    function restoreComponentResolutionQueue(queue) {\n      componentDefPendingResolution.clear();\n      queue.forEach(\n      /**\n      * @param {?} _\n      * @param {?} type\n      * @return {?}\n      */\n      function (_, type) {\n        return componentDefPendingResolution.add(type);\n      });\n      componentResourceResolutionQueue = queue;\n    }\n    /**\n     * @return {?}\n     */\n\n\n    function isComponentResourceResolutionQueueEmpty() {\n      return componentResourceResolutionQueue.size === 0;\n    }\n    /**\n     * @param {?} response\n     * @return {?}\n     */\n\n\n    function unwrapResponse(response) {\n      return typeof response == 'string' ? response : response.text();\n    }\n    /**\n     * @param {?} type\n     * @return {?}\n     */\n\n\n    function componentDefResolved(type) {\n      componentDefPendingResolution.delete(type);\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Allocates the necessary amount of slots for host vars.\n     *\n     * \\@codeGenApi\n     * @param {?} count Amount of vars to be allocated\n     *\n     * @return {?}\n     */\n\n\n    function ɵɵallocHostVars(count) {\n      /** @type {?} */\n      var lView = getLView();\n      /** @type {?} */\n\n      var tView = lView[TVIEW];\n      if (!tView.firstTemplatePass) return;\n      queueHostBindingForCheck(tView,\n      /** @type {?} */\n      getCurrentDirectiveDef(), count);\n      prefillHostVars(tView, lView, count);\n    }\n    /**\n     * Stores host binding fn and number of host vars so it will be queued for binding refresh during\n     * CD.\n     * @param {?} tView\n     * @param {?} def\n     * @param {?} hostVars\n     * @return {?}\n     */\n\n\n    function queueHostBindingForCheck(tView, def, hostVars) {\n      ngDevMode && assertEqual(tView.firstTemplatePass, true, 'Should only be called in first template pass.');\n      /** @type {?} */\n\n      var expando =\n      /** @type {?} */\n      tView.expandoInstructions;\n      /** @type {?} */\n\n      var length = expando.length; // Check whether a given `hostBindings` function already exists in expandoInstructions,\n      // which can happen in case directive definition was extended from base definition (as a part of\n      // the `InheritDefinitionFeature` logic). If we found the same `hostBindings` function in the\n      // list, we just increase the number of host vars associated with that function, but do not add it\n      // into the list again.\n\n      if (length >= 2 && expando[length - 2] === def.hostBindings) {\n        expando[length - 1] =\n        /** @type {?} */\n        expando[length - 1] + hostVars;\n      } else {\n        expando.push(\n        /** @type {?} */\n        def.hostBindings, hostVars);\n      }\n    }\n    /**\n     * On the first template pass, we need to reserve space for host binding values\n     * after directives are matched (so all directives are saved, then bindings).\n     * Because we are updating the blueprint, we only need to do this once.\n     * @param {?} tView\n     * @param {?} lView\n     * @param {?} totalHostVars\n     * @return {?}\n     */\n\n\n    function prefillHostVars(tView, lView, totalHostVars) {\n      ngDevMode && assertEqual(tView.firstTemplatePass, true, 'Should only be called in first template pass.');\n\n      for (var i = 0; i < totalHostVars; i++) {\n        lView.push(NO_CHANGE);\n        tView.blueprint.push(NO_CHANGE);\n        tView.data.push(null);\n      }\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    var _symbolIterator = null;\n\n    function getSymbolIterator() {\n      if (!_symbolIterator) {\n        var _Symbol = _global['Symbol'];\n\n        if (_Symbol && _Symbol.iterator) {\n          _symbolIterator = _Symbol.iterator;\n        } else {\n          // es6-shim specific logic\n          var keys = Object.getOwnPropertyNames(Map.prototype);\n\n          for (var i = 0; i < keys.length; ++i) {\n            var key = keys[i];\n\n            if (key !== 'entries' && key !== 'size' && Map.prototype[key] === Map.prototype['entries']) {\n              _symbolIterator = key;\n            }\n          }\n        }\n      }\n\n      return _symbolIterator;\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    function isListLikeIterable(obj) {\n      if (!isJsObject(obj)) return false;\n      return Array.isArray(obj) || !(obj instanceof Map) && // JS Map are iterables but return entries as [k, v]\n      getSymbolIterator() in obj; // JS Iterable have a Symbol.iterator prop\n    }\n\n    function areIterablesEqual(a, b, comparator) {\n      var iterator1 = a[getSymbolIterator()]();\n      var iterator2 = b[getSymbolIterator()]();\n\n      while (true) {\n        var item1 = iterator1.next();\n        var item2 = iterator2.next();\n        if (item1.done && item2.done) return true;\n        if (item1.done || item2.done) return false;\n        if (!comparator(item1.value, item2.value)) return false;\n      }\n    }\n\n    function iterateListLike(obj, fn) {\n      if (Array.isArray(obj)) {\n        for (var i = 0; i < obj.length; i++) {\n          fn(obj[i]);\n        }\n      } else {\n        var iterator = obj[getSymbolIterator()]();\n        var item;\n\n        while (!(item = iterator.next()).done) {\n          fn(item.value);\n        }\n      }\n    }\n\n    function isJsObject(o) {\n      return o !== null && (typeof o === 'function' || typeof o === 'object');\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n    // JS has NaN !== NaN\n\n\n    function looseIdentical(a, b) {\n      return a === b || typeof a === 'number' && typeof b === 'number' && isNaN(a) && isNaN(b);\n    }\n\n    function devModeEqual(a, b) {\n      var isListLikeIterableA = isListLikeIterable(a);\n      var isListLikeIterableB = isListLikeIterable(b);\n\n      if (isListLikeIterableA && isListLikeIterableB) {\n        return areIterablesEqual(a, b, devModeEqual);\n      } else {\n        var isAObject = a && (typeof a === 'object' || typeof a === 'function');\n        var isBObject = b && (typeof b === 'object' || typeof b === 'function');\n\n        if (!isListLikeIterableA && isAObject && !isListLikeIterableB && isBObject) {\n          return true;\n        } else {\n          return looseIdentical(a, b);\n        }\n      }\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @param {?} a\n     * @param {?} b\n     * @return {?}\n     */\n\n\n    function devModeEqual$1(a, b) {\n      /** @type {?} */\n      var isListLikeIterableA = isListLikeIterable$1(a);\n      /** @type {?} */\n\n      var isListLikeIterableB = isListLikeIterable$1(b);\n\n      if (isListLikeIterableA && isListLikeIterableB) {\n        return areIterablesEqual$1(a, b, devModeEqual$1);\n      } else {\n        /** @type {?} */\n        var isAObject = a && (typeof a === 'object' || typeof a === 'function');\n        /** @type {?} */\n\n        var isBObject = b && (typeof b === 'object' || typeof b === 'function');\n\n        if (!isListLikeIterableA && isAObject && !isListLikeIterableB && isBObject) {\n          return true;\n        } else {\n          return looseIdentical(a, b);\n        }\n      }\n    }\n    /**\n     * Indicates that the result of a {\\@link Pipe} transformation has changed even though the\n     * reference has not changed.\n     *\n     * Wrapped values are unwrapped automatically during the change detection, and the unwrapped value\n     * is stored.\n     *\n     * Example:\n     *\n     * ```\n     * if (this._latestValue === this._latestReturnedValue) {\n     *    return this._latestReturnedValue;\n     *  } else {\n     *    this._latestReturnedValue = this._latestValue;\n     *    return WrappedValue.wrap(this._latestValue); // this will force update\n     *  }\n     * ```\n     *\n     * \\@publicApi\n     */\n\n\n    var WrappedValue =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} value\n       */\n      function WrappedValue(value) {\n        _classCallCheck(this, WrappedValue);\n\n        this.wrapped = value;\n      }\n      /**\n       * Creates a wrapped value.\n       * @param {?} value\n       * @return {?}\n       */\n\n\n      _createClass2(WrappedValue, null, [{\n        key: \"wrap\",\n        value: function wrap(value) {\n          return new WrappedValue(value);\n        }\n        /**\n         * Returns the underlying value of a wrapped value.\n         * Returns the given `value` when it is not wrapped.\n         *\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"unwrap\",\n        value: function unwrap(value) {\n          return WrappedValue.isWrapped(value) ? value.wrapped : value;\n        }\n        /**\n         * Returns true if `value` is a wrapped value.\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"isWrapped\",\n        value: function isWrapped(value) {\n          return value instanceof WrappedValue;\n        }\n      }]);\n\n      return WrappedValue;\n    }();\n\n    if (false) {}\n    /**\n     * @param {?} obj\n     * @return {?}\n     */\n\n\n    function isListLikeIterable$1(obj) {\n      if (!isJsObject$1(obj)) return false;\n      return Array.isArray(obj) || !(obj instanceof Map) && // JS Map are iterables but return entries as [k, v]\n      getSymbolIterator() in obj; // JS Iterable have a Symbol.iterator prop\n    }\n    /**\n     * @param {?} a\n     * @param {?} b\n     * @param {?} comparator\n     * @return {?}\n     */\n\n\n    function areIterablesEqual$1(a, b, comparator) {\n      /** @type {?} */\n      var iterator1 = a[getSymbolIterator()]();\n      /** @type {?} */\n\n      var iterator2 = b[getSymbolIterator()]();\n\n      while (true) {\n        /** @type {?} */\n        var item1 = iterator1.next();\n        /** @type {?} */\n\n        var item2 = iterator2.next();\n        if (item1.done && item2.done) return true;\n        if (item1.done || item2.done) return false;\n        if (!comparator(item1.value, item2.value)) return false;\n      }\n    }\n    /**\n     * @param {?} obj\n     * @param {?} fn\n     * @return {?}\n     */\n\n\n    function iterateListLike$1(obj, fn) {\n      if (Array.isArray(obj)) {\n        for (var i = 0; i < obj.length; i++) {\n          fn(obj[i]);\n        }\n      } else {\n        /** @type {?} */\n        var iterator = obj[getSymbolIterator()]();\n        /** @type {?} */\n\n        var item;\n\n        while (!(item = iterator.next()).done) {\n          fn(item.value);\n        }\n      }\n    }\n    /**\n     * @param {?} o\n     * @return {?}\n     */\n\n\n    function isJsObject$1(o) {\n      return o !== null && (typeof o === 'function' || typeof o === 'object');\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n    // TODO(misko): consider inlining\n\n    /**\n     * Updates binding and returns the value.\n     * @param {?} lView\n     * @param {?} bindingIndex\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function updateBinding(lView, bindingIndex, value) {\n      return lView[bindingIndex] = value;\n    }\n    /**\n     * Gets the current binding value.\n     * @param {?} lView\n     * @param {?} bindingIndex\n     * @return {?}\n     */\n\n\n    function getBinding(lView, bindingIndex) {\n      ngDevMode && assertDataInRange(lView, bindingIndex);\n      ngDevMode && assertNotSame(lView[bindingIndex], NO_CHANGE, 'Stored value should never be NO_CHANGE.');\n      return lView[bindingIndex];\n    }\n    /**\n     * Updates binding if changed, then returns whether it was updated.\n     * @param {?} lView\n     * @param {?} bindingIndex\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function bindingUpdated(lView, bindingIndex, value) {\n      ngDevMode && assertNotSame(value, NO_CHANGE, 'Incoming value should never be NO_CHANGE.');\n      ngDevMode && assertLessThan(bindingIndex, lView.length, \"Slot should have been initialized to NO_CHANGE\");\n      /** @type {?} */\n\n      var oldValue = lView[bindingIndex];\n\n      if (isDifferent(oldValue, value)) {\n        if (ngDevMode && getCheckNoChangesMode()) {\n          // View engine didn't report undefined values as changed on the first checkNoChanges pass\n          // (before the change detection was run).\n\n          /** @type {?} */\n          var oldValueToCompare = oldValue !== NO_CHANGE ? oldValue : undefined;\n\n          if (!devModeEqual$1(oldValueToCompare, value)) {\n            throwErrorIfNoChangesMode(oldValue === NO_CHANGE, oldValueToCompare, value);\n          }\n        }\n\n        lView[bindingIndex] = value;\n        return true;\n      }\n\n      return false;\n    }\n    /**\n     * Updates 2 bindings if changed, then returns whether either was updated.\n     * @param {?} lView\n     * @param {?} bindingIndex\n     * @param {?} exp1\n     * @param {?} exp2\n     * @return {?}\n     */\n\n\n    function bindingUpdated2(lView, bindingIndex, exp1, exp2) {\n      /** @type {?} */\n      var different = bindingUpdated(lView, bindingIndex, exp1);\n      return bindingUpdated(lView, bindingIndex + 1, exp2) || different;\n    }\n    /**\n     * Updates 3 bindings if changed, then returns whether any was updated.\n     * @param {?} lView\n     * @param {?} bindingIndex\n     * @param {?} exp1\n     * @param {?} exp2\n     * @param {?} exp3\n     * @return {?}\n     */\n\n\n    function bindingUpdated3(lView, bindingIndex, exp1, exp2, exp3) {\n      /** @type {?} */\n      var different = bindingUpdated2(lView, bindingIndex, exp1, exp2);\n      return bindingUpdated(lView, bindingIndex + 2, exp3) || different;\n    }\n    /**\n     * Updates 4 bindings if changed, then returns whether any was updated.\n     * @param {?} lView\n     * @param {?} bindingIndex\n     * @param {?} exp1\n     * @param {?} exp2\n     * @param {?} exp3\n     * @param {?} exp4\n     * @return {?}\n     */\n\n\n    function bindingUpdated4(lView, bindingIndex, exp1, exp2, exp3, exp4) {\n      /** @type {?} */\n      var different = bindingUpdated2(lView, bindingIndex, exp1, exp2);\n      return bindingUpdated2(lView, bindingIndex + 2, exp3, exp4) || different;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Update a property on a selected element.\n     *\n     * Operates on the element selected by index via the {\\@link select} instruction.\n     *\n     * If the property name also exists as an input property on one of the element's directives,\n     * the component property will be set instead of the element property. This check must\n     * be conducted at runtime so child components that add new `\\@Inputs` don't have to be re-compiled\n     *\n     * \\@codeGenApi\n     * @template T\n     * @param {?} propName Name of property. Because it is going to DOM, this is not subject to\n     *        renaming as part of minification.\n     * @param {?} value New value to write.\n     * @param {?=} sanitizer An optional function used to sanitize the value.\n     * @return {?} This function returns itself so that it may be chained\n     * (e.g. `property('name', ctx.name)('title', ctx.title)`)\n     *\n     */\n\n\n    function ɵɵproperty(propName, value, sanitizer) {\n      /** @type {?} */\n      var index = getSelectedIndex();\n      ngDevMode && assertNotEqual(index, -1, 'selected index cannot be -1');\n      /** @type {?} */\n\n      var lView = getLView();\n      /** @type {?} */\n\n      var bindReconciledValue = bind(lView, value);\n\n      if (bindReconciledValue !== NO_CHANGE) {\n        elementPropertyInternal(index, propName, bindReconciledValue, sanitizer);\n      }\n\n      return ɵɵproperty;\n    }\n    /**\n     * Creates a single value binding.\n     *\n     * @template T\n     * @param {?} lView Current view\n     * @param {?} value Value to diff\n     * @return {?}\n     */\n\n\n    function bind(lView, value) {\n      /** @type {?} */\n      var bindingIndex = lView[BINDING_INDEX]++;\n      storeBindingMetadata(lView);\n      return bindingUpdated(lView, bindingIndex, value) ? value : NO_CHANGE;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Updates the value of or removes a bound attribute on an Element.\n     *\n     * Used in the case of `[attr.title]=\"value\"`\n     *\n     * \\@codeGenApi\n     * @param {?} name name The name of the attribute.\n     * @param {?} value value The attribute is removed when value is `null` or `undefined`.\n     *                  Otherwise the attribute value is set to the stringified value.\n     * @param {?=} sanitizer An optional function used to sanitize the value.\n     * @param {?=} namespace Optional namespace to use when setting the attribute.\n     *\n     * @return {?}\n     */\n\n\n    function ɵɵattribute(name, value, sanitizer, namespace) {\n      /** @type {?} */\n      var index = getSelectedIndex();\n      /** @type {?} */\n\n      var lView = getLView();\n      /** @type {?} */\n\n      var bound = bind(lView, value);\n\n      if (bound !== NO_CHANGE) {\n        elementAttributeInternal(index, name, bound, lView, sanitizer, namespace);\n      }\n\n      return ɵɵattribute;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Create interpolation bindings with a variable number of expressions.\n     *\n     * If there are 1 to 8 expressions `interpolation1()` to `interpolation8()` should be used instead.\n     * Those are faster because there is no need to create an array of expressions and iterate over it.\n     *\n     * `values`:\n     * - has static text at even indexes,\n     * - has evaluated expressions at odd indexes.\n     *\n     * Returns the concatenated string when any of the arguments changes, `NO_CHANGE` otherwise.\n     * @param {?} lView\n     * @param {?} values\n     * @return {?}\n     */\n\n\n    function interpolationV(lView, values) {\n      ngDevMode && assertLessThan(2, values.length, 'should have at least 3 values');\n      ngDevMode && assertEqual(values.length % 2, 1, 'should have an odd number of values');\n      /** @type {?} */\n\n      var isBindingUpdated = false;\n      /** @type {?} */\n\n      var tData = lView[TVIEW].data;\n      /** @type {?} */\n\n      var bindingIndex = lView[BINDING_INDEX];\n\n      if (tData[bindingIndex] == null) {\n        // 2 is the index of the first static interstitial value (ie. not prefix)\n        for (var i = 2; i < values.length; i += 2) {\n          tData[bindingIndex++] = values[i];\n        }\n\n        bindingIndex = lView[BINDING_INDEX];\n      }\n\n      for (var _i23 = 1; _i23 < values.length; _i23 += 2) {\n        // Check if bindings (odd indexes) have changed\n        isBindingUpdated = bindingUpdated(lView, bindingIndex++, values[_i23]) || isBindingUpdated;\n      }\n\n      lView[BINDING_INDEX] = bindingIndex;\n      storeBindingMetadata(lView, values[0], values[values.length - 1]);\n\n      if (!isBindingUpdated) {\n        return NO_CHANGE;\n      } // Build the updated content\n\n      /** @type {?} */\n\n\n      var content = values[0];\n\n      for (var _i24 = 1; _i24 < values.length; _i24 += 2) {\n        content += renderStringify(values[_i24]) + values[_i24 + 1];\n      }\n\n      return content;\n    }\n    /**\n     * Creates an interpolation binding with 1 expression.\n     *\n     * @param {?} lView\n     * @param {?} prefix static value used for concatenation only.\n     * @param {?} v0 value checked for change.\n     * @param {?} suffix static value used for concatenation only.\n     * @return {?}\n     */\n\n\n    function interpolation1(lView, prefix, v0, suffix) {\n      /** @type {?} */\n      var different = bindingUpdated(lView, lView[BINDING_INDEX]++, v0);\n      storeBindingMetadata(lView, prefix, suffix);\n      return different ? prefix + renderStringify(v0) + suffix : NO_CHANGE;\n    }\n    /**\n     * Creates an interpolation binding with 2 expressions.\n     * @param {?} lView\n     * @param {?} prefix\n     * @param {?} v0\n     * @param {?} i0\n     * @param {?} v1\n     * @param {?} suffix\n     * @return {?}\n     */\n\n\n    function interpolation2(lView, prefix, v0, i0, v1, suffix) {\n      /** @type {?} */\n      var bindingIndex = lView[BINDING_INDEX];\n      /** @type {?} */\n\n      var different = bindingUpdated2(lView, bindingIndex, v0, v1);\n      lView[BINDING_INDEX] += 2; // Only set static strings the first time (data will be null subsequent runs).\n\n      /** @type {?} */\n\n      var data = storeBindingMetadata(lView, prefix, suffix);\n\n      if (data) {\n        lView[TVIEW].data[bindingIndex] = i0;\n      }\n\n      return different ? prefix + renderStringify(v0) + i0 + renderStringify(v1) + suffix : NO_CHANGE;\n    }\n    /**\n     * Creates an interpolation binding with 3 expressions.\n     * @param {?} lView\n     * @param {?} prefix\n     * @param {?} v0\n     * @param {?} i0\n     * @param {?} v1\n     * @param {?} i1\n     * @param {?} v2\n     * @param {?} suffix\n     * @return {?}\n     */\n\n\n    function interpolation3(lView, prefix, v0, i0, v1, i1, v2, suffix) {\n      /** @type {?} */\n      var bindingIndex = lView[BINDING_INDEX];\n      /** @type {?} */\n\n      var different = bindingUpdated3(lView, bindingIndex, v0, v1, v2);\n      lView[BINDING_INDEX] += 3; // Only set static strings the first time (data will be null subsequent runs).\n\n      /** @type {?} */\n\n      var data = storeBindingMetadata(lView, prefix, suffix);\n\n      if (data) {\n        /** @type {?} */\n        var tData = lView[TVIEW].data;\n        tData[bindingIndex] = i0;\n        tData[bindingIndex + 1] = i1;\n      }\n\n      return different ? prefix + renderStringify(v0) + i0 + renderStringify(v1) + i1 + renderStringify(v2) + suffix : NO_CHANGE;\n    }\n    /**\n     * Create an interpolation binding with 4 expressions.\n     * @param {?} lView\n     * @param {?} prefix\n     * @param {?} v0\n     * @param {?} i0\n     * @param {?} v1\n     * @param {?} i1\n     * @param {?} v2\n     * @param {?} i2\n     * @param {?} v3\n     * @param {?} suffix\n     * @return {?}\n     */\n\n\n    function interpolation4(lView, prefix, v0, i0, v1, i1, v2, i2, v3, suffix) {\n      /** @type {?} */\n      var bindingIndex = lView[BINDING_INDEX];\n      /** @type {?} */\n\n      var different = bindingUpdated4(lView, bindingIndex, v0, v1, v2, v3);\n      lView[BINDING_INDEX] += 4; // Only set static strings the first time (data will be null subsequent runs).\n\n      /** @type {?} */\n\n      var data = storeBindingMetadata(lView, prefix, suffix);\n\n      if (data) {\n        /** @type {?} */\n        var tData = lView[TVIEW].data;\n        tData[bindingIndex] = i0;\n        tData[bindingIndex + 1] = i1;\n        tData[bindingIndex + 2] = i2;\n      }\n\n      return different ? prefix + renderStringify(v0) + i0 + renderStringify(v1) + i1 + renderStringify(v2) + i2 + renderStringify(v3) + suffix : NO_CHANGE;\n    }\n    /**\n     * Creates an interpolation binding with 5 expressions.\n     * @param {?} lView\n     * @param {?} prefix\n     * @param {?} v0\n     * @param {?} i0\n     * @param {?} v1\n     * @param {?} i1\n     * @param {?} v2\n     * @param {?} i2\n     * @param {?} v3\n     * @param {?} i3\n     * @param {?} v4\n     * @param {?} suffix\n     * @return {?}\n     */\n\n\n    function interpolation5(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix) {\n      /** @type {?} */\n      var bindingIndex = lView[BINDING_INDEX];\n      /** @type {?} */\n\n      var different = bindingUpdated4(lView, bindingIndex, v0, v1, v2, v3);\n      different = bindingUpdated(lView, bindingIndex + 4, v4) || different;\n      lView[BINDING_INDEX] += 5; // Only set static strings the first time (data will be null subsequent runs).\n\n      /** @type {?} */\n\n      var data = storeBindingMetadata(lView, prefix, suffix);\n\n      if (data) {\n        /** @type {?} */\n        var tData = lView[TVIEW].data;\n        tData[bindingIndex] = i0;\n        tData[bindingIndex + 1] = i1;\n        tData[bindingIndex + 2] = i2;\n        tData[bindingIndex + 3] = i3;\n      }\n\n      return different ? prefix + renderStringify(v0) + i0 + renderStringify(v1) + i1 + renderStringify(v2) + i2 + renderStringify(v3) + i3 + renderStringify(v4) + suffix : NO_CHANGE;\n    }\n    /**\n     * Creates an interpolation binding with 6 expressions.\n     * @param {?} lView\n     * @param {?} prefix\n     * @param {?} v0\n     * @param {?} i0\n     * @param {?} v1\n     * @param {?} i1\n     * @param {?} v2\n     * @param {?} i2\n     * @param {?} v3\n     * @param {?} i3\n     * @param {?} v4\n     * @param {?} i4\n     * @param {?} v5\n     * @param {?} suffix\n     * @return {?}\n     */\n\n\n    function interpolation6(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix) {\n      /** @type {?} */\n      var bindingIndex = lView[BINDING_INDEX];\n      /** @type {?} */\n\n      var different = bindingUpdated4(lView, bindingIndex, v0, v1, v2, v3);\n      different = bindingUpdated2(lView, bindingIndex + 4, v4, v5) || different;\n      lView[BINDING_INDEX] += 6; // Only set static strings the first time (data will be null subsequent runs).\n\n      /** @type {?} */\n\n      var data = storeBindingMetadata(lView, prefix, suffix);\n\n      if (data) {\n        /** @type {?} */\n        var tData = lView[TVIEW].data;\n        tData[bindingIndex] = i0;\n        tData[bindingIndex + 1] = i1;\n        tData[bindingIndex + 2] = i2;\n        tData[bindingIndex + 3] = i3;\n        tData[bindingIndex + 4] = i4;\n      }\n\n      return different ? prefix + renderStringify(v0) + i0 + renderStringify(v1) + i1 + renderStringify(v2) + i2 + renderStringify(v3) + i3 + renderStringify(v4) + i4 + renderStringify(v5) + suffix : NO_CHANGE;\n    }\n    /**\n     * Creates an interpolation binding with 7 expressions.\n     * @param {?} lView\n     * @param {?} prefix\n     * @param {?} v0\n     * @param {?} i0\n     * @param {?} v1\n     * @param {?} i1\n     * @param {?} v2\n     * @param {?} i2\n     * @param {?} v3\n     * @param {?} i3\n     * @param {?} v4\n     * @param {?} i4\n     * @param {?} v5\n     * @param {?} i5\n     * @param {?} v6\n     * @param {?} suffix\n     * @return {?}\n     */\n\n\n    function interpolation7(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix) {\n      /** @type {?} */\n      var bindingIndex = lView[BINDING_INDEX];\n      /** @type {?} */\n\n      var different = bindingUpdated4(lView, bindingIndex, v0, v1, v2, v3);\n      different = bindingUpdated3(lView, bindingIndex + 4, v4, v5, v6) || different;\n      lView[BINDING_INDEX] += 7; // Only set static strings the first time (data will be null subsequent runs).\n\n      /** @type {?} */\n\n      var data = storeBindingMetadata(lView, prefix, suffix);\n\n      if (data) {\n        /** @type {?} */\n        var tData = lView[TVIEW].data;\n        tData[bindingIndex] = i0;\n        tData[bindingIndex + 1] = i1;\n        tData[bindingIndex + 2] = i2;\n        tData[bindingIndex + 3] = i3;\n        tData[bindingIndex + 4] = i4;\n        tData[bindingIndex + 5] = i5;\n      }\n\n      return different ? prefix + renderStringify(v0) + i0 + renderStringify(v1) + i1 + renderStringify(v2) + i2 + renderStringify(v3) + i3 + renderStringify(v4) + i4 + renderStringify(v5) + i5 + renderStringify(v6) + suffix : NO_CHANGE;\n    }\n    /**\n     * Creates an interpolation binding with 8 expressions.\n     * @param {?} lView\n     * @param {?} prefix\n     * @param {?} v0\n     * @param {?} i0\n     * @param {?} v1\n     * @param {?} i1\n     * @param {?} v2\n     * @param {?} i2\n     * @param {?} v3\n     * @param {?} i3\n     * @param {?} v4\n     * @param {?} i4\n     * @param {?} v5\n     * @param {?} i5\n     * @param {?} v6\n     * @param {?} i6\n     * @param {?} v7\n     * @param {?} suffix\n     * @return {?}\n     */\n\n\n    function interpolation8(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix) {\n      /** @type {?} */\n      var bindingIndex = lView[BINDING_INDEX];\n      /** @type {?} */\n\n      var different = bindingUpdated4(lView, bindingIndex, v0, v1, v2, v3);\n      different = bindingUpdated4(lView, bindingIndex + 4, v4, v5, v6, v7) || different;\n      lView[BINDING_INDEX] += 8; // Only set static strings the first time (data will be null subsequent runs).\n\n      /** @type {?} */\n\n      var data = storeBindingMetadata(lView, prefix, suffix);\n\n      if (data) {\n        /** @type {?} */\n        var tData = lView[TVIEW].data;\n        tData[bindingIndex] = i0;\n        tData[bindingIndex + 1] = i1;\n        tData[bindingIndex + 2] = i2;\n        tData[bindingIndex + 3] = i3;\n        tData[bindingIndex + 4] = i4;\n        tData[bindingIndex + 5] = i5;\n        tData[bindingIndex + 6] = i6;\n      }\n\n      return different ? prefix + renderStringify(v0) + i0 + renderStringify(v1) + i1 + renderStringify(v2) + i2 + renderStringify(v3) + i3 + renderStringify(v4) + i4 + renderStringify(v5) + i5 + renderStringify(v6) + i6 + renderStringify(v7) + suffix : NO_CHANGE;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     *\n     * Update an interpolated attribute on an element with single bound value surrounded by text.\n     *\n     * Used when the value passed to a property has 1 interpolated value in it:\n     *\n     * ```html\n     * <div attr.title=\"prefix{{v0}}suffix\"></div>\n     * ```\n     *\n     * Its compiled representation is::\n     *\n     * ```ts\n     * ɵɵattributeInterpolate1('title', 'prefix', v0, 'suffix');\n     * ```\n     *\n     * \\@codeGenApi\n     * @param {?} attrName The name of the attribute to update\n     * @param {?} prefix Static value used for concatenation only.\n     * @param {?} v0 Value checked for change.\n     * @param {?} suffix Static value used for concatenation only.\n     * @param {?=} sanitizer An optional sanitizer function\n     * @param {?=} namespace\n     * @return {?} itself, so that it may be chained.\n     */\n\n\n    function ɵɵattributeInterpolate1(attrName, prefix, v0, suffix, sanitizer, namespace) {\n      /** @type {?} */\n      var index = getSelectedIndex();\n      /** @type {?} */\n\n      var lView = getLView();\n      /** @type {?} */\n\n      var interpolatedValue = interpolation1(lView, prefix, v0, suffix);\n\n      if (interpolatedValue !== NO_CHANGE) {\n        elementAttributeInternal(index, attrName, interpolatedValue, lView, sanitizer, namespace);\n      }\n\n      return ɵɵattributeInterpolate1;\n    }\n    /**\n     *\n     * Update an interpolated attribute on an element with 2 bound values surrounded by text.\n     *\n     * Used when the value passed to a property has 2 interpolated values in it:\n     *\n     * ```html\n     * <div attr.title=\"prefix{{v0}}-{{v1}}suffix\"></div>\n     * ```\n     *\n     * Its compiled representation is::\n     *\n     * ```ts\n     * ɵɵattributeInterpolate2('title', 'prefix', v0, '-', v1, 'suffix');\n     * ```\n     *\n     * \\@codeGenApi\n     * @param {?} attrName The name of the attribute to update\n     * @param {?} prefix Static value used for concatenation only.\n     * @param {?} v0 Value checked for change.\n     * @param {?} i0 Static value used for concatenation only.\n     * @param {?} v1 Value checked for change.\n     * @param {?} suffix Static value used for concatenation only.\n     * @param {?=} sanitizer An optional sanitizer function\n     * @param {?=} namespace\n     * @return {?} itself, so that it may be chained.\n     */\n\n\n    function ɵɵattributeInterpolate2(attrName, prefix, v0, i0, v1, suffix, sanitizer, namespace) {\n      /** @type {?} */\n      var index = getSelectedIndex();\n      /** @type {?} */\n\n      var lView = getLView();\n      /** @type {?} */\n\n      var interpolatedValue = interpolation2(lView, prefix, v0, i0, v1, suffix);\n\n      if (interpolatedValue !== NO_CHANGE) {\n        elementAttributeInternal(index, attrName, interpolatedValue, lView, sanitizer, namespace);\n      }\n\n      return ɵɵattributeInterpolate2;\n    }\n    /**\n     *\n     * Update an interpolated attribute on an element with 3 bound values surrounded by text.\n     *\n     * Used when the value passed to a property has 3 interpolated values in it:\n     *\n     * ```html\n     * <div attr.title=\"prefix{{v0}}-{{v1}}-{{v2}}suffix\"></div>\n     * ```\n     *\n     * Its compiled representation is::\n     *\n     * ```ts\n     * ɵɵattributeInterpolate3(\n     * 'title', 'prefix', v0, '-', v1, '-', v2, 'suffix');\n     * ```\n     *\n     * \\@codeGenApi\n     * @param {?} attrName The name of the attribute to update\n     * @param {?} prefix Static value used for concatenation only.\n     * @param {?} v0 Value checked for change.\n     * @param {?} i0 Static value used for concatenation only.\n     * @param {?} v1 Value checked for change.\n     * @param {?} i1 Static value used for concatenation only.\n     * @param {?} v2 Value checked for change.\n     * @param {?} suffix Static value used for concatenation only.\n     * @param {?=} sanitizer An optional sanitizer function\n     * @param {?=} namespace\n     * @return {?} itself, so that it may be chained.\n     */\n\n\n    function ɵɵattributeInterpolate3(attrName, prefix, v0, i0, v1, i1, v2, suffix, sanitizer, namespace) {\n      /** @type {?} */\n      var index = getSelectedIndex();\n      /** @type {?} */\n\n      var lView = getLView();\n      /** @type {?} */\n\n      var interpolatedValue = interpolation3(lView, prefix, v0, i0, v1, i1, v2, suffix);\n\n      if (interpolatedValue !== NO_CHANGE) {\n        elementAttributeInternal(index, attrName, interpolatedValue, lView, sanitizer, namespace);\n      }\n\n      return ɵɵattributeInterpolate3;\n    }\n    /**\n     *\n     * Update an interpolated attribute on an element with 4 bound values surrounded by text.\n     *\n     * Used when the value passed to a property has 4 interpolated values in it:\n     *\n     * ```html\n     * <div attr.title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}suffix\"></div>\n     * ```\n     *\n     * Its compiled representation is::\n     *\n     * ```ts\n     * ɵɵattributeInterpolate4(\n     * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, 'suffix');\n     * ```\n     *\n     * \\@codeGenApi\n     * @param {?} attrName The name of the attribute to update\n     * @param {?} prefix Static value used for concatenation only.\n     * @param {?} v0 Value checked for change.\n     * @param {?} i0 Static value used for concatenation only.\n     * @param {?} v1 Value checked for change.\n     * @param {?} i1 Static value used for concatenation only.\n     * @param {?} v2 Value checked for change.\n     * @param {?} i2 Static value used for concatenation only.\n     * @param {?} v3 Value checked for change.\n     * @param {?} suffix Static value used for concatenation only.\n     * @param {?=} sanitizer An optional sanitizer function\n     * @param {?=} namespace\n     * @return {?} itself, so that it may be chained.\n     */\n\n\n    function ɵɵattributeInterpolate4(attrName, prefix, v0, i0, v1, i1, v2, i2, v3, suffix, sanitizer, namespace) {\n      /** @type {?} */\n      var index = getSelectedIndex();\n      /** @type {?} */\n\n      var lView = getLView();\n      /** @type {?} */\n\n      var interpolatedValue = interpolation4(lView, prefix, v0, i0, v1, i1, v2, i2, v3, suffix);\n\n      if (interpolatedValue !== NO_CHANGE) {\n        elementAttributeInternal(index, attrName, interpolatedValue, lView, sanitizer, namespace);\n      }\n\n      return ɵɵattributeInterpolate4;\n    }\n    /**\n     *\n     * Update an interpolated attribute on an element with 5 bound values surrounded by text.\n     *\n     * Used when the value passed to a property has 5 interpolated values in it:\n     *\n     * ```html\n     * <div attr.title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}suffix\"></div>\n     * ```\n     *\n     * Its compiled representation is::\n     *\n     * ```ts\n     * ɵɵattributeInterpolate5(\n     * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, 'suffix');\n     * ```\n     *\n     * \\@codeGenApi\n     * @param {?} attrName The name of the attribute to update\n     * @param {?} prefix Static value used for concatenation only.\n     * @param {?} v0 Value checked for change.\n     * @param {?} i0 Static value used for concatenation only.\n     * @param {?} v1 Value checked for change.\n     * @param {?} i1 Static value used for concatenation only.\n     * @param {?} v2 Value checked for change.\n     * @param {?} i2 Static value used for concatenation only.\n     * @param {?} v3 Value checked for change.\n     * @param {?} i3 Static value used for concatenation only.\n     * @param {?} v4 Value checked for change.\n     * @param {?} suffix Static value used for concatenation only.\n     * @param {?=} sanitizer An optional sanitizer function\n     * @param {?=} namespace\n     * @return {?} itself, so that it may be chained.\n     */\n\n\n    function ɵɵattributeInterpolate5(attrName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix, sanitizer, namespace) {\n      /** @type {?} */\n      var index = getSelectedIndex();\n      /** @type {?} */\n\n      var lView = getLView();\n      /** @type {?} */\n\n      var interpolatedValue = interpolation5(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix);\n\n      if (interpolatedValue !== NO_CHANGE) {\n        elementAttributeInternal(index, attrName, interpolatedValue, lView, sanitizer, namespace);\n      }\n\n      return ɵɵattributeInterpolate5;\n    }\n    /**\n     *\n     * Update an interpolated attribute on an element with 6 bound values surrounded by text.\n     *\n     * Used when the value passed to a property has 6 interpolated values in it:\n     *\n     * ```html\n     * <div attr.title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}suffix\"></div>\n     * ```\n     *\n     * Its compiled representation is::\n     *\n     * ```ts\n     * ɵɵattributeInterpolate6(\n     *    'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, 'suffix');\n     * ```\n     *\n     * \\@codeGenApi\n     * @param {?} attrName The name of the attribute to update\n     * @param {?} prefix Static value used for concatenation only.\n     * @param {?} v0 Value checked for change.\n     * @param {?} i0 Static value used for concatenation only.\n     * @param {?} v1 Value checked for change.\n     * @param {?} i1 Static value used for concatenation only.\n     * @param {?} v2 Value checked for change.\n     * @param {?} i2 Static value used for concatenation only.\n     * @param {?} v3 Value checked for change.\n     * @param {?} i3 Static value used for concatenation only.\n     * @param {?} v4 Value checked for change.\n     * @param {?} i4 Static value used for concatenation only.\n     * @param {?} v5 Value checked for change.\n     * @param {?} suffix Static value used for concatenation only.\n     * @param {?=} sanitizer An optional sanitizer function\n     * @param {?=} namespace\n     * @return {?} itself, so that it may be chained.\n     */\n\n\n    function ɵɵattributeInterpolate6(attrName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix, sanitizer, namespace) {\n      /** @type {?} */\n      var index = getSelectedIndex();\n      /** @type {?} */\n\n      var lView = getLView();\n      /** @type {?} */\n\n      var interpolatedValue = interpolation6(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix);\n\n      if (interpolatedValue !== NO_CHANGE) {\n        elementAttributeInternal(index, attrName, interpolatedValue, lView, sanitizer, namespace);\n      }\n\n      return ɵɵattributeInterpolate6;\n    }\n    /**\n     *\n     * Update an interpolated attribute on an element with 7 bound values surrounded by text.\n     *\n     * Used when the value passed to a property has 7 interpolated values in it:\n     *\n     * ```html\n     * <div attr.title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}suffix\"></div>\n     * ```\n     *\n     * Its compiled representation is::\n     *\n     * ```ts\n     * ɵɵattributeInterpolate7(\n     *    'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, 'suffix');\n     * ```\n     *\n     * \\@codeGenApi\n     * @param {?} attrName The name of the attribute to update\n     * @param {?} prefix Static value used for concatenation only.\n     * @param {?} v0 Value checked for change.\n     * @param {?} i0 Static value used for concatenation only.\n     * @param {?} v1 Value checked for change.\n     * @param {?} i1 Static value used for concatenation only.\n     * @param {?} v2 Value checked for change.\n     * @param {?} i2 Static value used for concatenation only.\n     * @param {?} v3 Value checked for change.\n     * @param {?} i3 Static value used for concatenation only.\n     * @param {?} v4 Value checked for change.\n     * @param {?} i4 Static value used for concatenation only.\n     * @param {?} v5 Value checked for change.\n     * @param {?} i5 Static value used for concatenation only.\n     * @param {?} v6 Value checked for change.\n     * @param {?} suffix Static value used for concatenation only.\n     * @param {?=} sanitizer An optional sanitizer function\n     * @param {?=} namespace\n     * @return {?} itself, so that it may be chained.\n     */\n\n\n    function ɵɵattributeInterpolate7(attrName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix, sanitizer, namespace) {\n      /** @type {?} */\n      var index = getSelectedIndex();\n      /** @type {?} */\n\n      var lView = getLView();\n      /** @type {?} */\n\n      var interpolatedValue = interpolation7(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix);\n\n      if (interpolatedValue !== NO_CHANGE) {\n        elementAttributeInternal(index, attrName, interpolatedValue, lView, sanitizer, namespace);\n      }\n\n      return ɵɵattributeInterpolate7;\n    }\n    /**\n     *\n     * Update an interpolated attribute on an element with 8 bound values surrounded by text.\n     *\n     * Used when the value passed to a property has 8 interpolated values in it:\n     *\n     * ```html\n     * <div attr.title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}suffix\"></div>\n     * ```\n     *\n     * Its compiled representation is::\n     *\n     * ```ts\n     * ɵɵattributeInterpolate8(\n     *  'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, 'suffix');\n     * ```\n     *\n     * \\@codeGenApi\n     * @param {?} attrName The name of the attribute to update\n     * @param {?} prefix Static value used for concatenation only.\n     * @param {?} v0 Value checked for change.\n     * @param {?} i0 Static value used for concatenation only.\n     * @param {?} v1 Value checked for change.\n     * @param {?} i1 Static value used for concatenation only.\n     * @param {?} v2 Value checked for change.\n     * @param {?} i2 Static value used for concatenation only.\n     * @param {?} v3 Value checked for change.\n     * @param {?} i3 Static value used for concatenation only.\n     * @param {?} v4 Value checked for change.\n     * @param {?} i4 Static value used for concatenation only.\n     * @param {?} v5 Value checked for change.\n     * @param {?} i5 Static value used for concatenation only.\n     * @param {?} v6 Value checked for change.\n     * @param {?} i6 Static value used for concatenation only.\n     * @param {?} v7 Value checked for change.\n     * @param {?} suffix Static value used for concatenation only.\n     * @param {?=} sanitizer An optional sanitizer function\n     * @param {?=} namespace\n     * @return {?} itself, so that it may be chained.\n     */\n\n\n    function ɵɵattributeInterpolate8(attrName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix, sanitizer, namespace) {\n      /** @type {?} */\n      var index = getSelectedIndex();\n      /** @type {?} */\n\n      var lView = getLView();\n      /** @type {?} */\n\n      var interpolatedValue = interpolation8(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix);\n\n      if (interpolatedValue !== NO_CHANGE) {\n        elementAttributeInternal(index, attrName, interpolatedValue, lView, sanitizer, namespace);\n      }\n\n      return ɵɵattributeInterpolate8;\n    }\n    /**\n     * Update an interpolated attribute on an element with 8 or more bound values surrounded by text.\n     *\n     * Used when the number of interpolated values exceeds 7.\n     *\n     * ```html\n     * <div\n     *  title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}-{{v8}}-{{v9}}suffix\"></div>\n     * ```\n     *\n     * Its compiled representation is::\n     *\n     * ```ts\n     * ɵɵattributeInterpolateV(\n     *  'title', ['prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, '-', v9,\n     *  'suffix']);\n     * ```\n     *\n     * \\@codeGenApi\n     * @param {?} attrName The name of the attribute to update.\n     * @param {?} values The a collection of values and the strings in-between those values, beginning with\n     * a string prefix and ending with a string suffix.\n     * (e.g. `['prefix', value0, '-', value1, '-', value2, ..., value99, 'suffix']`)\n     * @param {?=} sanitizer An optional sanitizer function\n     * @param {?=} namespace\n     * @return {?} itself, so that it may be chained.\n     */\n\n\n    function ɵɵattributeInterpolateV(attrName, values, sanitizer, namespace) {\n      /** @type {?} */\n      var index = getSelectedIndex();\n      /** @type {?} */\n\n      var lView = getLView();\n      /** @type {?} */\n\n      var interpolated = interpolationV(lView, values);\n\n      if (interpolated !== NO_CHANGE) {\n        elementAttributeInternal(index, attrName, interpolated, lView, sanitizer, namespace);\n      }\n\n      return ɵɵattributeInterpolateV;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Synchronously perform change detection on a component (and possibly its sub-components).\n     *\n     * This function triggers change detection in a synchronous way on a component. There should\n     * be very little reason to call this function directly since a preferred way to do change\n     * detection is to {\\@link markDirty} the component and wait for the scheduler to call this method\n     * at some future point in time. This is because a single user action often results in many\n     * components being invalidated and calling change detection on each component synchronously\n     * would be inefficient. It is better to wait until all components are marked as dirty and\n     * then perform single change detection across all of the components\n     *\n     * @template T\n     * @param {?} component The component which the change detection should be performed on.\n     * @return {?}\n     */\n\n\n    function detectChanges(component) {\n      /** @type {?} */\n      var view = getComponentViewByInstance(component);\n      detectChangesInternal(view, component);\n    }\n    /**\n     * Mark the component as dirty (needing change detection).\n     *\n     * Marking a component dirty will schedule a change detection on this\n     * component at some point in the future. Marking an already dirty\n     * component as dirty is a noop. Only one outstanding change detection\n     * can be scheduled per component tree. (Two components bootstrapped with\n     * separate `renderComponent` will have separate schedulers)\n     *\n     * When the root component is bootstrapped with `renderComponent`, a scheduler\n     * can be provided.\n     *\n     * \\@publicApi\n     * @template T\n     * @param {?} component Component to mark as dirty.\n     *\n     * @return {?}\n     */\n\n\n    function markDirty(component) {\n      ngDevMode && assertDefined(component, 'component');\n      /** @type {?} */\n\n      var rootView =\n      /** @type {?} */\n      markViewDirty(getComponentViewByInstance(component));\n      ngDevMode && assertDefined(rootView[CONTEXT], 'rootContext should be defined');\n      scheduleTick(\n      /** @type {?} */\n      rootView[CONTEXT], 1\n      /* DetectChanges */\n      );\n    }\n    /**\n     * Used to perform change detection on the whole application.\n     *\n     * This is equivalent to `detectChanges`, but invoked on root component. Additionally, `tick`\n     * executes lifecycle hooks and conditionally checks components based on their\n     * `ChangeDetectionStrategy` and dirtiness.\n     *\n     * The preferred way to trigger change detection is to call `markDirty`. `markDirty` internally\n     * schedules `tick` using a scheduler in order to coalesce multiple `markDirty` calls into a\n     * single change detection run. By default, the scheduler is `requestAnimationFrame`, but can\n     * be changed when calling `renderComponent` and providing the `scheduler` option.\n     * @template T\n     * @param {?} component\n     * @return {?}\n     */\n\n\n    function tick(component) {\n      /** @type {?} */\n      var rootView = getRootView(component);\n      /** @type {?} */\n\n      var rootContext =\n      /** @type {?} */\n      rootView[CONTEXT];\n      tickRootContext(rootContext);\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Creates an LContainer for inline views, e.g.\n     *\n     * % if (showing) {\n     *   <div></div>\n     * % }\n     *\n     * \\@codeGenApi\n     * @param {?} index The index of the container in the data array\n     *\n     * @return {?}\n     */\n\n\n    function ɵɵcontainer(index) {\n      /** @type {?} */\n      var lView = getLView();\n      /** @type {?} */\n\n      var tNode = containerInternal(lView, index, null, null);\n\n      if (lView[TVIEW].firstTemplatePass) {\n        tNode.tViews = [];\n      }\n\n      setIsNotParent();\n    }\n    /**\n     * Creates an LContainer for an ng-template (dynamically-inserted view), e.g.\n     *\n     * <ng-template #foo>\n     *    <div></div>\n     * </ng-template>\n     *\n     * \\@codeGenApi\n     * @param {?} index The index of the container in the data array\n     * @param {?} templateFn Inline template\n     * @param {?} consts The number of nodes, local refs, and pipes for this template\n     * @param {?} vars The number of bindings for this template\n     * @param {?=} tagName The name of the container element, if applicable\n     * @param {?=} attrs The attrs attached to the container, if applicable\n     * @param {?=} localRefs A set of local reference bindings on the element.\n     * @param {?=} localRefExtractor A function which extracts local-refs values from the template.\n     *        Defaults to the current element associated with the local-ref.\n     *\n     * @return {?}\n     */\n\n\n    function ɵɵtemplate(index, templateFn, consts, vars, tagName, attrs, localRefs, localRefExtractor) {\n      /** @type {?} */\n      var lView = getLView();\n      /** @type {?} */\n\n      var tView = lView[TVIEW]; // TODO: consider a separate node type for templates\n\n      /** @type {?} */\n\n      var tContainerNode = containerInternal(lView, index, tagName || null, attrs || null);\n\n      if (tView.firstTemplatePass) {\n        ngDevMode && ngDevMode.firstTemplatePass++;\n        resolveDirectives(tView, lView, tContainerNode, localRefs || null);\n        /** @type {?} */\n\n        var embeddedTView = tContainerNode.tViews = createTView(-1, templateFn, consts, vars, tView.directiveRegistry, tView.pipeRegistry, null, null);\n\n        if (tView.queries !== null) {\n          tView.queries.template(tView, tContainerNode);\n          embeddedTView.queries = tView.queries.embeddedTView(tContainerNode);\n        }\n      }\n\n      createDirectivesAndLocals(tView, lView, tContainerNode, localRefExtractor);\n      attachPatchData(getNativeByTNode(tContainerNode, lView), lView);\n      registerPostOrderHooks(tView, tContainerNode);\n      setIsNotParent();\n    }\n    /**\n     * Sets a container up to receive views.\n     *\n     * \\@codeGenApi\n     * @param {?} index The index of the container in the data array\n     *\n     * @return {?}\n     */\n\n\n    function ɵɵcontainerRefreshStart(index) {\n      /** @type {?} */\n      var lView = getLView();\n      /** @type {?} */\n\n      var tView = lView[TVIEW];\n      /** @type {?} */\n\n      var previousOrParentTNode =\n      /** @type {?} */\n      loadInternal(tView.data, index);\n      ngDevMode && assertNodeType(previousOrParentTNode, 0\n      /* Container */\n      );\n      setPreviousOrParentTNode(previousOrParentTNode, true);\n      lView[index + HEADER_OFFSET][ACTIVE_INDEX] = 0; // We need to execute init hooks here so ngOnInit hooks are called in top level views\n      // before they are called in embedded views (for backwards compatibility).\n\n      executePreOrderHooks(lView, tView, getCheckNoChangesMode(), undefined);\n    }\n    /**\n     * Marks the end of the LContainer.\n     *\n     * Marking the end of LContainer is the time when to child views get inserted or removed.\n     *\n     * \\@codeGenApi\n     * @return {?}\n     */\n\n\n    function ɵɵcontainerRefreshEnd() {\n      /** @type {?} */\n      var previousOrParentTNode = getPreviousOrParentTNode();\n\n      if (getIsParent()) {\n        setIsNotParent();\n      } else {\n        ngDevMode && assertNodeType(previousOrParentTNode, 2\n        /* View */\n        );\n        ngDevMode && assertHasParent(previousOrParentTNode);\n        previousOrParentTNode =\n        /** @type {?} */\n        previousOrParentTNode.parent;\n        setPreviousOrParentTNode(previousOrParentTNode, false);\n      }\n\n      ngDevMode && assertNodeType(previousOrParentTNode, 0\n      /* Container */\n      );\n      /** @type {?} */\n\n      var lContainer = getLView()[previousOrParentTNode.index];\n      /** @type {?} */\n\n      var nextIndex = lContainer[ACTIVE_INDEX]; // remove extra views at the end of the container\n\n      while (nextIndex < lContainer.length - CONTAINER_HEADER_OFFSET) {\n        removeView(lContainer, nextIndex);\n      }\n    }\n    /**\n     * @param {?} lView\n     * @param {?} nodeIndex\n     * @param {?} tagName\n     * @param {?} attrs\n     * @return {?}\n     */\n\n\n    function containerInternal(lView, nodeIndex, tagName, attrs) {\n      ngDevMode && assertEqual(lView[BINDING_INDEX], lView[TVIEW].bindingStartIndex, 'container nodes should be created before any bindings');\n      /** @type {?} */\n\n      var adjustedIndex = nodeIndex + HEADER_OFFSET;\n      ngDevMode && assertDataInRange(lView, nodeIndex + HEADER_OFFSET);\n      ngDevMode && ngDevMode.rendererCreateComment++;\n      /** @type {?} */\n\n      var comment = lView[adjustedIndex] = lView[RENDERER].createComment(ngDevMode ? 'container' : '');\n      /** @type {?} */\n\n      var tNode = getOrCreateTNode(lView[TVIEW], lView[T_HOST], nodeIndex, 0\n      /* Container */\n      , tagName, attrs);\n      /** @type {?} */\n\n      var lContainer = lView[adjustedIndex] = createLContainer(comment, lView, comment, tNode);\n      appendChild(comment, tNode, lView); // Containers are added to the current view tree instead of their embedded views\n      // because views can be removed and re-inserted.\n\n      addToViewTree(lView, lContainer);\n      ngDevMode && assertNodeType(getPreviousOrParentTNode(), 0\n      /* Container */\n      );\n      return tNode;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Store a value in the `data` at a given `index`.\n     * @template T\n     * @param {?} index\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function store(index, value) {\n      /** @type {?} */\n      var lView = getLView();\n      /** @type {?} */\n\n      var tView = lView[TVIEW]; // We don't store any static data for local variables, so the first time\n      // we see the template, we should store as null to avoid a sparse array\n\n      /** @type {?} */\n\n      var adjustedIndex = index + HEADER_OFFSET;\n\n      if (adjustedIndex >= tView.data.length) {\n        tView.data[adjustedIndex] = null;\n        tView.blueprint[adjustedIndex] = null;\n      }\n\n      lView[adjustedIndex] = value;\n    }\n    /**\n     * Retrieves a local reference from the current contextViewData.\n     *\n     * If the reference to retrieve is in a parent view, this instruction is used in conjunction\n     * with a nextContext() call, which walks up the tree and updates the contextViewData instance.\n     *\n     * \\@codeGenApi\n     * @template T\n     * @param {?} index The index of the local ref in contextViewData.\n     *\n     * @return {?}\n     */\n\n\n    function ɵɵreference(index) {\n      /** @type {?} */\n      var contextLView = getContextLView();\n      return loadInternal(contextLView, index);\n    }\n    /**\n     * Retrieves a value from current `viewData`.\n     *\n     * \\@codeGenApi\n     * @template T\n     * @param {?} index\n     * @return {?}\n     */\n\n\n    function ɵɵload(index) {\n      return loadInternal(getLView(), index);\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @template T\n     * @param {?} token\n     * @param {?=} flags\n     * @return {?}\n     */\n\n\n    function ɵɵdirectiveInject(token) {\n      var flags = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : InjectFlags.Default;\n      token = resolveForwardRef(token);\n      /** @type {?} */\n\n      var lView = getLView(); // Fall back to inject() if view hasn't been created. This situation can happen in tests\n      // if inject utilities are used before bootstrapping.\n\n      if (lView == null) return ɵɵinject(token, flags);\n      return getOrCreateInjectable(\n      /** @type {?} */\n      getPreviousOrParentTNode(), lView, token, flags);\n    }\n    /**\n     * Facade for the attribute injection from DI.\n     *\n     * \\@codeGenApi\n     * @param {?} attrNameToInject\n     * @return {?}\n     */\n\n\n    function ɵɵinjectAttribute(attrNameToInject) {\n      return injectAttributeImpl(getPreviousOrParentTNode(), attrNameToInject);\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * --------\n     *\n     * This file contains the core logic for how styling instructions are processed in Angular.\n     *\n     * To learn more about the algorithm see `TStylingContext`.\n     *\n     * --------\n     */\n\n    /**\n     * Temporary function to bridge styling functionality between this new\n     * refactor (which is here inside of `styling_next/`) and the old\n     * implementation (which lives inside of `styling/`).\n     *\n     * This function is executed during the creation block of an element.\n     * Because the existing styling implementation issues a call to the\n     * `styling()` instruction, this instruction will also get run. The\n     * central idea here is that the directive index values are bound\n     * into the context. The directive index is temporary and is only\n     * required until the `select(n)` instruction is fully functional.\n     *\n     * \\@codeGenApi\n     * @return {?}\n     */\n\n\n    function ɵɵstyling() {\n      /** @type {?} */\n      var tView = getLView()[TVIEW];\n\n      if (tView.firstTemplatePass) {\n        updateLastDirectiveIndex$1(getPreviousOrParentTNode(), getActiveDirectiveStylingIndex());\n      }\n    }\n    /**\n     * Sets the current style sanitizer function which will then be used\n     * within all follow-up prop and map-based style binding instructions\n     * for the given element.\n     *\n     * Note that once styling has been applied to the element (i.e. once\n     * `select(n)` is executed or the hostBindings/template function exits)\n     * then the active `sanitizerFn` will be set to `null`. This means that\n     * once styling is applied to another element then a another call to\n     * `styleSanitizer` will need to be made.\n     *\n     * \\@codeGenApi\n     * @param {?} sanitizer\n     * @return {?}\n     */\n\n\n    function ɵɵstyleSanitizer(sanitizer) {\n      setCurrentStyleSanitizer(sanitizer);\n    }\n    /**\n     * Update a style binding on an element with the provided value.\n     *\n     * If the style value is falsy then it will be removed from the element\n     * (or assigned a different value depending if there are any styles placed\n     * on the element with `styleMap` or any static styles that are\n     * present from when the element was created with `styling`).\n     *\n     * Note that the styling element is updated as part of `stylingApply`.\n     *\n     * \\@codeGenApi\n     * @param {?} prop A valid CSS property.\n     * @param {?} value New value to write (`null` or an empty string to remove).\n     * @param {?=} suffix Optional suffix. Used with scalar values to add unit such as `px`.\n     *        Note that when a suffix is provided then the underlying sanitizer will\n     *        be ignored.\n     *\n     * Note that this will apply the provided style value to the host element if this function is called\n     * within a host binding.\n     *\n     * @return {?}\n     */\n\n\n    function ɵɵstyleProp(prop, value, suffix) {\n      stylePropInternal(getSelectedIndex(), prop, value, suffix);\n    }\n    /**\n     * @param {?} elementIndex\n     * @param {?} prop\n     * @param {?} value\n     * @param {?=} suffix\n     * @return {?}\n     */\n\n\n    function stylePropInternal(elementIndex, prop, value, suffix) {\n      /** @type {?} */\n      var lView = getLView(); // if a value is interpolated then it may render a `NO_CHANGE` value.\n      // in this case we do not need to do anything, but the binding index\n      // still needs to be incremented because all styling binding values\n      // are stored inside of the lView.\n\n      /** @type {?} */\n\n      var bindingIndex = lView[BINDING_INDEX]++;\n      /** @type {?} */\n\n      var updated = _stylingProp(elementIndex, bindingIndex, prop, resolveStylePropValue(value, suffix), false, deferStylingUpdate());\n\n      if (ngDevMode) {\n        ngDevMode.styleProp++;\n\n        if (updated) {\n          ngDevMode.stylePropCacheMiss++;\n        }\n      }\n    }\n    /**\n     * Update a class binding on an element with the provided value.\n     *\n     * This instruction is meant to handle the `[class.foo]=\"exp\"` case and,\n     * therefore, the class binding itself must already be allocated using\n     * `styling` within the creation block.\n     *\n     * \\@codeGenApi\n     * @param {?} className\n     * @param {?} value A true/false value which will turn the class on or off.\n     *\n     * Note that this will apply the provided class value to the host element if this function\n     * is called within a host binding.\n     *\n     * @return {?}\n     */\n\n\n    function ɵɵclassProp(className, value) {\n      /** @type {?} */\n      var lView = getLView(); // if a value is interpolated then it may render a `NO_CHANGE` value.\n      // in this case we do not need to do anything, but the binding index\n      // still needs to be incremented because all styling binding values\n      // are stored inside of the lView.\n\n      /** @type {?} */\n\n      var bindingIndex = lView[BINDING_INDEX]++;\n      /** @type {?} */\n\n      var updated = _stylingProp(getSelectedIndex(), bindingIndex, className, value, true, deferStylingUpdate());\n\n      if (ngDevMode) {\n        ngDevMode.classProp++;\n\n        if (updated) {\n          ngDevMode.classPropCacheMiss++;\n        }\n      }\n    }\n    /**\n     * Shared function used to update a prop-based styling binding for an element.\n     * @param {?} elementIndex\n     * @param {?} bindingIndex\n     * @param {?} prop\n     * @param {?} value\n     * @param {?} isClassBased\n     * @param {?} defer\n     * @return {?}\n     */\n\n\n    function _stylingProp(elementIndex, bindingIndex, prop, value, isClassBased, defer) {\n      /** @type {?} */\n      var lView = getLView();\n      /** @type {?} */\n\n      var tNode = getTNode(elementIndex, lView);\n      /** @type {?} */\n\n      var native =\n      /** @type {?} */\n      getNativeByTNode(tNode, lView);\n      /** @type {?} */\n\n      var updated = false;\n\n      if (value !== NO_CHANGE) {\n        if (isClassBased) {\n          updated = updateClassBinding(getClassesContext(tNode), lView, native, prop, bindingIndex,\n          /** @type {?} */\n          value, defer, false);\n        } else {\n          /** @type {?} */\n          var sanitizer = getCurrentStyleSanitizer();\n          updated = updateStyleBinding(getStylesContext(tNode), lView, native, prop, bindingIndex,\n          /** @type {?} */\n          value, sanitizer, defer, false);\n        }\n      }\n\n      return updated;\n    }\n    /**\n     * Update style bindings using an object literal on an element.\n     *\n     * This instruction is meant to apply styling via the `[style]=\"exp\"` template bindings.\n     * When styles are applied to the element they will then be updated with respect to\n     * any styles/classes set via `styleProp`. If any styles are set to falsy\n     * then they will be removed from the element.\n     *\n     * Note that the styling instruction will not be applied until `stylingApply` is called.\n     *\n     * \\@codeGenApi\n     * @param {?} styles A key/value style map of the styles that will be applied to the given element.\n     *        Any missing styles (that have already been applied to the element beforehand) will be\n     *        removed (unset) from the element's styling.\n     *\n     * Note that this will apply the provided styleMap value to the host element if this function\n     * is called within a host binding.\n     *\n     * @return {?}\n     */\n\n\n    function ɵɵstyleMap(styles) {\n      /** @type {?} */\n      var index = getSelectedIndex();\n      /** @type {?} */\n\n      var lView = getLView();\n      /** @type {?} */\n\n      var tNode = getTNode(index, lView);\n      /** @type {?} */\n\n      var context = getStylesContext(tNode);\n      /** @type {?} */\n\n      var directiveIndex = getActiveDirectiveStylingIndex(); // if a value is interpolated then it may render a `NO_CHANGE` value.\n      // in this case we do not need to do anything, but the binding index\n      // still needs to be incremented because all styling binding values\n      // are stored inside of the lView.\n\n      /** @type {?} */\n\n      var bindingIndex = lView[BINDING_INDEX]++; // inputs are only evaluated from a template binding into a directive, therefore,\n      // there should not be a situation where a directive host bindings function\n      // evaluates the inputs (this should only happen in the template function)\n\n      if (!directiveIndex && hasStyleInput(tNode) && styles !== NO_CHANGE) {\n        updateDirectiveInputValue(context, lView, tNode, bindingIndex, styles, false);\n        styles = NO_CHANGE;\n      }\n      /** @type {?} */\n\n\n      var updated = _stylingMap(index, context, bindingIndex, styles, false, deferStylingUpdate());\n\n      if (ngDevMode) {\n        ngDevMode.styleMap++;\n\n        if (updated) {\n          ngDevMode.styleMapCacheMiss++;\n        }\n      }\n    }\n    /**\n     * Update class bindings using an object literal or class-string on an element.\n     *\n     * This instruction is meant to apply styling via the `[class]=\"exp\"` template bindings.\n     * When classes are applied to the element they will then be updated with\n     * respect to any styles/classes set via `classProp`. If any\n     * classes are set to falsy then they will be removed from the element.\n     *\n     * Note that the styling instruction will not be applied until `stylingApply` is called.\n     * Note that this will the provided classMap value to the host element if this function is called\n     * within a host binding.\n     *\n     * \\@codeGenApi\n     * @param {?} classes A key/value map or string of CSS classes that will be added to the\n     *        given element. Any missing classes (that have already been applied to the element\n     *        beforehand) will be removed (unset) from the element's list of CSS classes.\n     *\n     * @return {?}\n     */\n\n\n    function ɵɵclassMap(classes) {\n      classMapInternal(getSelectedIndex(), classes);\n    }\n    /**\n     * @param {?} elementIndex\n     * @param {?} classes\n     * @return {?}\n     */\n\n\n    function classMapInternal(elementIndex, classes) {\n      /** @type {?} */\n      var lView = getLView();\n      /** @type {?} */\n\n      var tNode = getTNode(elementIndex, lView);\n      /** @type {?} */\n\n      var context = getClassesContext(tNode);\n      /** @type {?} */\n\n      var directiveIndex = getActiveDirectiveStylingIndex(); // if a value is interpolated then it may render a `NO_CHANGE` value.\n      // in this case we do not need to do anything, but the binding index\n      // still needs to be incremented because all styling binding values\n      // are stored inside of the lView.\n\n      /** @type {?} */\n\n      var bindingIndex = lView[BINDING_INDEX]++; // inputs are only evaluated from a template binding into a directive, therefore,\n      // there should not be a situation where a directive host bindings function\n      // evaluates the inputs (this should only happen in the template function)\n\n      if (!directiveIndex && hasClassInput(tNode) && classes !== NO_CHANGE) {\n        updateDirectiveInputValue(context, lView, tNode, bindingIndex, classes, true);\n        classes = NO_CHANGE;\n      }\n      /** @type {?} */\n\n\n      var updated = _stylingMap(elementIndex, context, bindingIndex, classes, true, deferStylingUpdate());\n\n      if (ngDevMode) {\n        ngDevMode.classMap++;\n\n        if (updated) {\n          ngDevMode.classMapCacheMiss++;\n        }\n      }\n    }\n    /**\n     * Shared function used to update a map-based styling binding for an element.\n     *\n     * When this function is called it will activate support for `[style]` and\n     * `[class]` bindings in Angular.\n     * @param {?} elementIndex\n     * @param {?} context\n     * @param {?} bindingIndex\n     * @param {?} value\n     * @param {?} isClassBased\n     * @param {?} defer\n     * @return {?}\n     */\n\n\n    function _stylingMap(elementIndex, context, bindingIndex, value, isClassBased, defer) {\n      activateStylingMapFeature();\n      /** @type {?} */\n\n      var lView = getLView();\n      /** @type {?} */\n\n      var valueHasChanged = false;\n\n      if (value !== NO_CHANGE) {\n        /** @type {?} */\n        var tNode = getTNode(elementIndex, lView);\n        /** @type {?} */\n\n        var native =\n        /** @type {?} */\n        getNativeByTNode(tNode, lView);\n        /** @type {?} */\n\n        var oldValue = lView[bindingIndex];\n        valueHasChanged = hasValueChanged(oldValue, value);\n        /** @type {?} */\n\n        var stylingMapArr = normalizeIntoStylingMap(oldValue, value, !isClassBased);\n\n        if (isClassBased) {\n          updateClassBinding(context, lView, native, null, bindingIndex, stylingMapArr, defer, valueHasChanged);\n        } else {\n          /** @type {?} */\n          var sanitizer = getCurrentStyleSanitizer();\n          updateStyleBinding(context, lView, native, null, bindingIndex, stylingMapArr, sanitizer, defer, valueHasChanged);\n        }\n      }\n\n      return valueHasChanged;\n    }\n    /**\n     * Writes a value to a directive's `style` or `class` input binding (if it has changed).\n     *\n     * If a directive has a `\\@Input` binding that is set on `style` or `class` then that value\n     * will take priority over the underlying style/class styling bindings. This value will\n     * be updated for the binding each time during change detection.\n     *\n     * When this occurs this function will attempt to write the value to the input binding\n     * depending on the following situations:\n     *\n     * - If `oldValue !== newValue`\n     * - If `newValue` is `null` (but this is skipped if it is during the first update pass--\n     *    which is when the context is not locked yet)\n     * @param {?} context\n     * @param {?} lView\n     * @param {?} tNode\n     * @param {?} bindingIndex\n     * @param {?} newValue\n     * @param {?} isClassBased\n     * @return {?}\n     */\n\n\n    function updateDirectiveInputValue(context, lView, tNode, bindingIndex, newValue, isClassBased) {\n      /** @type {?} */\n      var oldValue = lView[bindingIndex];\n\n      if (oldValue !== newValue) {\n        // even if the value has changed we may not want to emit it to the\n        // directive input(s) in the event that it is falsy during the\n        // first update pass.\n        if (newValue || isContextLocked(context)) {\n          /** @type {?} */\n          var inputs =\n          /** @type {?} */\n\n          /** @type {?} */\n          tNode.inputs[isClassBased ? 'class' : 'style'];\n          /** @type {?} */\n\n          var initialValue = getInitialStylingValue(context);\n          /** @type {?} */\n\n          var value = normalizeStylingDirectiveInputValue(initialValue, newValue, isClassBased);\n          setInputsForProperty(lView, inputs, value);\n        }\n\n        lView[bindingIndex] = newValue;\n      }\n    }\n    /**\n     * Returns the appropriate directive input value for `style` or `class`.\n     *\n     * Earlier versions of Angular expect a binding value to be passed into directive code\n     * exactly as it is unless there is a static value present (in which case both values\n     * will be stringified and concatenated).\n     * @param {?} initialValue\n     * @param {?} bindingValue\n     * @param {?} isClassBased\n     * @return {?}\n     */\n\n\n    function normalizeStylingDirectiveInputValue(initialValue, bindingValue, isClassBased) {\n      /** @type {?} */\n      var value = bindingValue; // we only concat values if there is an initial value, otherwise we return the value as is.\n      // Note that this is to satisfy backwards-compatibility in Angular.\n\n      if (initialValue.length > 0) {\n        if (isClassBased) {\n          value = concatString(initialValue, forceClassesAsString(bindingValue));\n        } else {\n          value = concatString(initialValue, forceStylesAsString(\n          /** @type {?} */\n          bindingValue), ';');\n        }\n      }\n\n      return value;\n    }\n    /**\n     * Flushes all styling code to the element.\n     *\n     * This function is designed to be called from the template and hostBindings\n     * functions and may be called multiple times depending whether multiple\n     * sources of styling exist. If called multiple times, only the last call\n     * to `stlyingApply()` will render styling to the element.\n     *\n     * \\@codeGenApi\n     * @return {?}\n     */\n\n\n    function ɵɵstylingApply() {\n      /** @type {?} */\n      var elementIndex = getSelectedIndex();\n      /** @type {?} */\n\n      var lView = getLView();\n      /** @type {?} */\n\n      var tNode = getTNode(elementIndex, lView);\n      /** @type {?} */\n\n      var renderer = getRenderer(tNode, lView);\n      /** @type {?} */\n\n      var native =\n      /** @type {?} */\n      getNativeByTNode(tNode, lView);\n      /** @type {?} */\n\n      var directiveIndex = getActiveDirectiveStylingIndex();\n      /** @type {?} */\n\n      var sanitizer = getCurrentStyleSanitizer();\n      flushStyling(renderer, lView, getClassesContext(tNode), getStylesContext(tNode), native, directiveIndex, sanitizer);\n      setCurrentStyleSanitizer(null);\n    }\n    /**\n     * @param {?} tNode\n     * @param {?} lView\n     * @return {?}\n     */\n\n\n    function getRenderer(tNode, lView) {\n      return tNode.type === 3\n      /* Element */\n      ? lView[RENDERER] : null;\n    }\n    /**\n     * Searches and assigns provided all static style/class entries (found in the `attrs` value)\n     * and registers them in their respective styling contexts.\n     * @param {?} tNode\n     * @param {?} attrs\n     * @param {?} startIndex\n     * @return {?}\n     */\n\n\n    function registerInitialStylingOnTNode(tNode, attrs, startIndex) {\n      /** @type {?} */\n      var hasAdditionalInitialStyling = false;\n      /** @type {?} */\n\n      var styles = getStylingMapArray(tNode.styles);\n      /** @type {?} */\n\n      var classes = getStylingMapArray(tNode.classes);\n      /** @type {?} */\n\n      var mode = -1;\n\n      for (var i = startIndex; i < attrs.length; i++) {\n        /** @type {?} */\n        var attr =\n        /** @type {?} */\n        attrs[i];\n\n        if (typeof attr == 'number') {\n          mode = attr;\n        } else if (mode == 1\n        /* Classes */\n        ) {\n            classes = classes || [''];\n            addItemToStylingMap(classes, attr, true);\n            hasAdditionalInitialStyling = true;\n          } else if (mode == 2\n        /* Styles */\n        ) {\n            /** @type {?} */\n            var value =\n            /** @type {?} */\n            attrs[++i];\n            styles = styles || [''];\n            addItemToStylingMap(styles, attr, value);\n            hasAdditionalInitialStyling = true;\n          }\n      }\n\n      if (classes && classes.length > 1\n      /* ValuesStartPosition */\n      ) {\n          if (!tNode.classes) {\n            tNode.classes = classes;\n          }\n\n          updateRawValueOnContext(tNode.classes, stylingMapToString(classes, true));\n        }\n\n      if (styles && styles.length > 1\n      /* ValuesStartPosition */\n      ) {\n          if (!tNode.styles) {\n            tNode.styles = styles;\n          }\n\n          updateRawValueOnContext(tNode.styles, stylingMapToString(styles, false));\n        }\n\n      return hasAdditionalInitialStyling;\n    }\n    /**\n     * @param {?} context\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function updateRawValueOnContext(context, value) {\n      /** @type {?} */\n      var stylingMapArr =\n      /** @type {?} */\n      getStylingMapArray(context);\n      stylingMapArr[0\n      /* RawValuePosition */\n      ] = value;\n    }\n    /**\n     * @return {?}\n     */\n\n\n    function getActiveDirectiveStylingIndex() {\n      // whenever a directive's hostBindings function is called a uniqueId value\n      // is assigned. Normally this is enough to help distinguish one directive\n      // from another for the styling context, but there are situations where a\n      // sub-class directive could inherit and assign styling in concert with a\n      // parent directive. To help the styling code distinguish between a parent\n      // sub-classed directive the inheritance depth is taken into account as well.\n      return getActiveDirectiveId() + getActiveDirectiveSuperClassDepth();\n    }\n    /**\n     * Temporary function that will update the max directive index value in\n     * both the classes and styles contexts present on the provided `tNode`.\n     *\n     * This code is only used because the `select(n)` code functionality is not\n     * yet 100% functional. The `select(n)` instruction cannot yet evaluate host\n     * bindings function code in sync with the associated template function code.\n     * For this reason the styling algorithm needs to track the last directive index\n     * value so that it knows exactly when to render styling to the element since\n     * `stylingApply()` is called multiple times per CD (`stylingApply` will be\n     * removed once `select(n)` is fixed).\n     * @param {?} tNode\n     * @param {?} directiveIndex\n     * @return {?}\n     */\n\n\n    function updateLastDirectiveIndex$1(tNode, directiveIndex) {\n      updateLastDirectiveIndex(getClassesContext(tNode), directiveIndex);\n      updateLastDirectiveIndex(getStylesContext(tNode), directiveIndex);\n    }\n    /**\n     * @param {?} tNode\n     * @return {?}\n     */\n\n\n    function getStylesContext(tNode) {\n      return getContext(tNode, false);\n    }\n    /**\n     * @param {?} tNode\n     * @return {?}\n     */\n\n\n    function getClassesContext(tNode) {\n      return getContext(tNode, true);\n    }\n    /**\n     * Returns/instantiates a styling context from/to a `tNode` instance.\n     * @param {?} tNode\n     * @param {?} isClassBased\n     * @return {?}\n     */\n\n\n    function getContext(tNode, isClassBased) {\n      /** @type {?} */\n      var context = isClassBased ? tNode.classes : tNode.styles;\n\n      if (!isStylingContext(context)) {\n        context = allocTStylingContext(context);\n\n        if (ngDevMode) {\n          attachStylingDebugObject(\n          /** @type {?} */\n          context);\n        }\n\n        if (isClassBased) {\n          tNode.classes = context;\n        } else {\n          tNode.styles = context;\n        }\n      }\n\n      return (\n        /** @type {?} */\n        context\n      );\n    }\n    /**\n     * @param {?} value\n     * @param {?} suffix\n     * @return {?}\n     */\n\n\n    function resolveStylePropValue(value, suffix) {\n      if (value === NO_CHANGE) return value;\n      /** @type {?} */\n\n      var resolvedValue = null;\n\n      if (value !== null) {\n        if (suffix) {\n          // when a suffix is applied then it will bypass\n          // sanitization entirely (b/c a new string is created)\n          resolvedValue = renderStringify(value) + suffix;\n        } else {\n          // sanitization happens by dealing with a String value\n          // this means that the string value will be passed through\n          // into the style rendering later (which is where the value\n          // will be sanitized before it is applied)\n          resolvedValue =\n          /** @type {?} */\n\n          /** @type {?} */\n          value;\n        }\n      }\n\n      return resolvedValue;\n    }\n    /**\n     * Whether or not a style/class binding update should be applied later.\n     *\n     * This function will decide whether a binding should be applied immediately\n     * or later (just before the styles/classes are flushed to the element). The\n     * reason why this feature exists is because of super/sub directive inheritance.\n     * Angular will evaluate host bindings on the super directive first and the sub\n     * directive, but the styling bindings on the sub directive are of higher priority\n     * than the super directive. For this reason all styling bindings that take place\n     * in this circumstance will need to be deferred until later so that they can be\n     * applied together and in a different order (the algorithm handles that part).\n     * @return {?}\n     */\n\n\n    function deferStylingUpdate() {\n      return getActiveDirectiveSuperClassHeight() > 0;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Create DOM element. The instruction must later be followed by `elementEnd()` call.\n     *\n     * \\@codeGenApi\n     * @param {?} index Index of the element in the LView array\n     * @param {?} name Name of the DOM Node\n     * @param {?=} attrs Statically bound set of attributes, classes, and styles to be written into the DOM\n     *              element on creation. Use [AttributeMarker] to denote the meaning of this array.\n     * @param {?=} localRefs A set of local reference bindings on the element.\n     *\n     * Attributes and localRefs are passed as an array of strings where elements with an even index\n     * hold an attribute name and elements with an odd index hold an attribute value, ex.:\n     * ['id', 'warning5', 'class', 'alert']\n     *\n     * @return {?}\n     */\n\n\n    function ɵɵelementStart(index, name, attrs, localRefs) {\n      /** @type {?} */\n      var lView = getLView();\n      /** @type {?} */\n\n      var tView = lView[TVIEW];\n      ngDevMode && assertEqual(lView[BINDING_INDEX], tView.bindingStartIndex, 'elements should be created before any bindings ');\n      ngDevMode && ngDevMode.rendererCreateElement++;\n      ngDevMode && assertDataInRange(lView, index + HEADER_OFFSET);\n      /** @type {?} */\n\n      var native = lView[index + HEADER_OFFSET] = elementCreate(name);\n      /** @type {?} */\n\n      var renderer = lView[RENDERER];\n      /** @type {?} */\n\n      var tNode = getOrCreateTNode(tView, lView[T_HOST], index, 3\n      /* Element */\n      , name, attrs || null);\n\n      if (attrs != null) {\n        /** @type {?} */\n        var lastAttrIndex = setUpAttributes(native, attrs);\n\n        if (tView.firstTemplatePass) {\n          registerInitialStylingOnTNode(tNode, attrs, lastAttrIndex);\n        }\n      }\n\n      renderInitialStyling(renderer, native, tNode);\n      appendChild(native, tNode, lView); // any immediate children of a component or template container must be pre-emptively\n      // monkey-patched with the component view data so that the element can be inspected\n      // later on using any element discovery utility methods (see `element_discovery.ts`)\n\n      if (getElementDepthCount() === 0) {\n        attachPatchData(native, lView);\n      }\n\n      increaseElementDepthCount(); // if a directive contains a host binding for \"class\" then all class-based data will\n      // flow through that (except for `[class.prop]` bindings). This also includes initial\n      // static class values as well. (Note that this will be fixed once map-based `[style]`\n      // and `[class]` bindings work for multiple directives.)\n\n      if (tView.firstTemplatePass) {\n        ngDevMode && ngDevMode.firstTemplatePass++;\n        resolveDirectives(tView, lView, tNode, localRefs || null);\n        /** @type {?} */\n\n        var inputData = initializeTNodeInputs(tNode);\n\n        if (inputData && inputData.hasOwnProperty('class')) {\n          tNode.flags |= 8\n          /* hasClassInput */\n          ;\n        }\n\n        if (inputData && inputData.hasOwnProperty('style')) {\n          tNode.flags |= 16\n          /* hasStyleInput */\n          ;\n        }\n\n        if (tView.queries !== null) {\n          tView.queries.elementStart(tView, tNode);\n        }\n      }\n\n      createDirectivesAndLocals(tView, lView, tNode);\n      executeContentQueries(tView, tNode, lView);\n    }\n    /**\n     * Mark the end of the element.\n     *\n     * \\@codeGenApi\n     * @return {?}\n     */\n\n\n    function ɵɵelementEnd() {\n      /** @type {?} */\n      var previousOrParentTNode = getPreviousOrParentTNode();\n      ngDevMode && assertDefined(previousOrParentTNode, 'No parent node to close.');\n\n      if (getIsParent()) {\n        setIsNotParent();\n      } else {\n        ngDevMode && assertHasParent(getPreviousOrParentTNode());\n        previousOrParentTNode =\n        /** @type {?} */\n        previousOrParentTNode.parent;\n        setPreviousOrParentTNode(previousOrParentTNode, false);\n      }\n      /** @type {?} */\n\n\n      var tNode = previousOrParentTNode;\n      ngDevMode && assertNodeType(tNode, 3\n      /* Element */\n      );\n      /** @type {?} */\n\n      var lView = getLView();\n      /** @type {?} */\n\n      var tView = lView[TVIEW];\n      registerPostOrderHooks(tView, previousOrParentTNode);\n      decreaseElementDepthCount();\n\n      if (tView.firstTemplatePass && tView.queries !== null && isContentQueryHost(previousOrParentTNode)) {\n        /** @type {?} */\n        tView.queries.elementEnd(previousOrParentTNode);\n      }\n\n      if (hasClassInput(tNode) && tNode.classes) {\n        setDirectiveStylingInput(tNode.classes, lView,\n        /** @type {?} */\n        tNode.inputs['class']);\n      }\n\n      if (hasStyleInput(tNode) && tNode.styles) {\n        setDirectiveStylingInput(tNode.styles, lView,\n        /** @type {?} */\n        tNode.inputs['style']);\n      }\n    }\n    /**\n     * Creates an empty element using {\\@link elementStart} and {\\@link elementEnd}\n     *\n     * \\@codeGenApi\n     * @param {?} index Index of the element in the data array\n     * @param {?} name Name of the DOM Node\n     * @param {?=} attrs Statically bound set of attributes, classes, and styles to be written into the DOM\n     *              element on creation. Use [AttributeMarker] to denote the meaning of this array.\n     * @param {?=} localRefs A set of local reference bindings on the element.\n     *\n     * @return {?}\n     */\n\n\n    function ɵɵelement(index, name, attrs, localRefs) {\n      ɵɵelementStart(index, name, attrs, localRefs);\n      ɵɵelementEnd();\n    }\n    /**\n     * Assign static attribute values to a host element.\n     *\n     * This instruction will assign static attribute values as well as class and style\n     * values to an element within the host bindings function. Since attribute values\n     * can consist of different types of values, the `attrs` array must include the values in\n     * the following format:\n     *\n     * attrs = [\n     *   // static attributes (like `title`, `name`, `id`...)\n     *   attr1, value1, attr2, value,\n     *\n     *   // a single namespace value (like `x:id`)\n     *   NAMESPACE_MARKER, namespaceUri1, name1, value1,\n     *\n     *   // another single namespace value (like `x:name`)\n     *   NAMESPACE_MARKER, namespaceUri2, name2, value2,\n     *\n     *   // a series of CSS classes that will be applied to the element (no spaces)\n     *   CLASSES_MARKER, class1, class2, class3,\n     *\n     *   // a series of CSS styles (property + value) that will be applied to the element\n     *   STYLES_MARKER, prop1, value1, prop2, value2\n     * ]\n     *\n     * All non-class and non-style attributes must be defined at the start of the list\n     * first before all class and style values are set. When there is a change in value\n     * type (like when classes and styles are introduced) a marker must be used to separate\n     * the entries. The marker values themselves are set via entries found in the\n     * [AttributeMarker] enum.\n     *\n     * NOTE: This instruction is meant to used from `hostBindings` function only.\n     *\n     * \\@codeGenApi\n     * @param {?} attrs An array of static values (attributes, classes and styles) with the correct marker\n     * values.\n     *\n     * @return {?}\n     */\n\n\n    function ɵɵelementHostAttrs(attrs) {\n      /** @type {?} */\n      var hostElementIndex = getSelectedIndex();\n      /** @type {?} */\n\n      var lView = getLView();\n      /** @type {?} */\n\n      var tView = lView[TVIEW];\n      /** @type {?} */\n\n      var tNode = getTNode(hostElementIndex, lView); // non-element nodes (e.g. `<ng-container>`) are not rendered as actual\n      // element nodes and adding styles/classes on to them will cause runtime\n      // errors...\n\n      if (tNode.type === 3\n      /* Element */\n      ) {\n          /** @type {?} */\n          var native =\n          /** @type {?} */\n          getNativeByTNode(tNode, lView);\n          /** @type {?} */\n\n          var lastAttrIndex = setUpAttributes(native, attrs);\n\n          if (tView.firstTemplatePass) {\n            /** @type {?} */\n            var stylingNeedsToBeRendered = registerInitialStylingOnTNode(tNode, attrs, lastAttrIndex); // this is only called during the first template pass in the\n            // event that this current directive assigned initial style/class\n            // host attribute values to the element. Because initial styling\n            // values are applied before directives are first rendered (within\n            // `createElement`) this means that initial styling for any directives\n            // still needs to be applied. Note that this will only happen during\n            // the first template pass and not each time a directive applies its\n            // attribute values to the element.\n\n            if (stylingNeedsToBeRendered) {\n              /** @type {?} */\n              var renderer = lView[RENDERER];\n              renderInitialStyling(renderer, native, tNode);\n            }\n          }\n        }\n    }\n    /**\n     * @param {?} context\n     * @param {?} lView\n     * @param {?} stylingInputs\n     * @return {?}\n     */\n\n\n    function setDirectiveStylingInput(context, lView, stylingInputs) {\n      // older versions of Angular treat the input as `null` in the\n      // event that the value does not exist at all. For this reason\n      // we can't have a styling value be an empty string.\n\n      /** @type {?} */\n      var value = getInitialStylingValue(context) || null; // Ivy does an extra `[class]` write with a falsy value since the value\n      // is applied during creation mode. This is a deviation from VE and should\n      // be (Jira Issue = FW-1467).\n\n      setInputsForProperty(lView, stylingInputs, value);\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Creates a logical container for other nodes (<ng-container>) backed by a comment node in the DOM.\n     * The instruction must later be followed by `elementContainerEnd()` call.\n     *\n     * \\@codeGenApi\n     * @param {?} index Index of the element in the LView array\n     * @param {?=} attrs Set of attributes to be used when matching directives.\n     * @param {?=} localRefs A set of local reference bindings on the element.\n     *\n     * Even if this instruction accepts a set of attributes no actual attribute values are propagated to\n     * the DOM (as a comment node can't have attributes). Attributes are here only for directive\n     * matching purposes and setting initial inputs of directives.\n     *\n     * @return {?}\n     */\n\n\n    function ɵɵelementContainerStart(index, attrs, localRefs) {\n      /** @type {?} */\n      var lView = getLView();\n      /** @type {?} */\n\n      var tView = lView[TVIEW];\n      /** @type {?} */\n\n      var renderer = lView[RENDERER];\n      /** @type {?} */\n\n      var tagName = 'ng-container';\n      ngDevMode && assertEqual(lView[BINDING_INDEX], tView.bindingStartIndex, 'element containers should be created before any bindings');\n      ngDevMode && ngDevMode.rendererCreateComment++;\n      ngDevMode && assertDataInRange(lView, index + HEADER_OFFSET);\n      /** @type {?} */\n\n      var native = lView[index + HEADER_OFFSET] = renderer.createComment(ngDevMode ? tagName : '');\n      ngDevMode && assertDataInRange(lView, index - 1);\n      /** @type {?} */\n\n      var tNode = getOrCreateTNode(tView, lView[T_HOST], index, 4\n      /* ElementContainer */\n      , tagName, attrs || null);\n\n      if (attrs && tView.firstTemplatePass) {\n        // While ng-container doesn't necessarily support styling, we use the style context to identify\n        // and execute directives on the ng-container.\n        registerInitialStylingOnTNode(tNode,\n        /** @type {?} */\n        attrs, 0);\n      }\n\n      appendChild(native, tNode, lView);\n\n      if (tView.firstTemplatePass) {\n        ngDevMode && ngDevMode.firstTemplatePass++;\n        resolveDirectives(tView, lView, tNode, localRefs || null);\n\n        if (tView.queries) {\n          tView.queries.elementStart(tView, tNode);\n        }\n      }\n\n      createDirectivesAndLocals(tView, lView, tNode);\n      attachPatchData(native, lView);\n      executeContentQueries(tView, tNode, lView);\n    }\n    /**\n     * Mark the end of the <ng-container>.\n     *\n     * \\@codeGenApi\n     * @return {?}\n     */\n\n\n    function ɵɵelementContainerEnd() {\n      /** @type {?} */\n      var previousOrParentTNode = getPreviousOrParentTNode();\n      /** @type {?} */\n\n      var lView = getLView();\n      /** @type {?} */\n\n      var tView = lView[TVIEW];\n\n      if (getIsParent()) {\n        setIsNotParent();\n      } else {\n        ngDevMode && assertHasParent(previousOrParentTNode);\n        previousOrParentTNode =\n        /** @type {?} */\n        previousOrParentTNode.parent;\n        setPreviousOrParentTNode(previousOrParentTNode, false);\n      }\n\n      ngDevMode && assertNodeType(previousOrParentTNode, 4\n      /* ElementContainer */\n      );\n      registerPostOrderHooks(tView, previousOrParentTNode);\n\n      if (tView.firstTemplatePass && tView.queries !== null && isContentQueryHost(previousOrParentTNode)) {\n        tView.queries.elementEnd(previousOrParentTNode);\n      }\n    }\n    /**\n     * Creates an empty logical container using {\\@link elementContainerStart}\n     * and {\\@link elementContainerEnd}\n     *\n     * \\@codeGenApi\n     * @param {?} index Index of the element in the LView array\n     * @param {?=} attrs Set of attributes to be used when matching directives.\n     * @param {?=} localRefs A set of local reference bindings on the element.\n     *\n     * @return {?}\n     */\n\n\n    function ɵɵelementContainer(index, attrs, localRefs) {\n      ɵɵelementContainerStart(index, attrs, localRefs);\n      ɵɵelementContainerEnd();\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Marks the start of an embedded view.\n     *\n     * \\@codeGenApi\n     * @param {?} viewBlockId The ID of this view\n     * @param {?} consts\n     * @param {?} vars\n     * @return {?} boolean Whether or not this view is in creation mode\n     *\n     */\n\n\n    function ɵɵembeddedViewStart(viewBlockId, consts, vars) {\n      /** @type {?} */\n      var lView = getLView();\n      /** @type {?} */\n\n      var previousOrParentTNode = getPreviousOrParentTNode(); // The previous node can be a view node if we are processing an inline for loop\n\n      /** @type {?} */\n\n      var containerTNode = previousOrParentTNode.type === 2\n      /* View */\n      ?\n      /** @type {?} */\n      previousOrParentTNode.parent : previousOrParentTNode;\n      /** @type {?} */\n\n      var lContainer =\n      /** @type {?} */\n      lView[containerTNode.index];\n      ngDevMode && assertNodeType(containerTNode, 0\n      /* Container */\n      );\n      /** @type {?} */\n\n      var viewToRender = scanForView(lContainer,\n      /** @type {?} */\n      lContainer[ACTIVE_INDEX], viewBlockId);\n\n      if (viewToRender) {\n        setIsParent();\n        enterView(viewToRender, viewToRender[TVIEW].node);\n      } else {\n        // When we create a new LView, we always reset the state of the instructions.\n        viewToRender = createLView(lView, getOrCreateEmbeddedTView(viewBlockId, consts, vars,\n        /** @type {?} */\n        containerTNode), null, 16\n        /* CheckAlways */\n        , null, null);\n        /** @type {?} */\n\n        var tParentNode = getIsParent() ? previousOrParentTNode : previousOrParentTNode && previousOrParentTNode.parent;\n        assignTViewNodeToLView(viewToRender[TVIEW], tParentNode, viewBlockId, viewToRender);\n        enterView(viewToRender, viewToRender[TVIEW].node);\n      }\n\n      if (lContainer) {\n        if (isCreationMode(viewToRender)) {\n          // it is a new view, insert it into collection of views for a given container\n          insertView(viewToRender, lContainer,\n          /** @type {?} */\n          lContainer[ACTIVE_INDEX]);\n        }\n\n        /** @type {?} */lContainer[ACTIVE_INDEX]++;\n      }\n\n      return isCreationMode(viewToRender) ? 1\n      /* Create */\n      | 2\n      /* Update */\n      : 2\n      /* Update */\n      ;\n    }\n    /**\n     * Initialize the TView (e.g. static data) for the active embedded view.\n     *\n     * Each embedded view block must create or retrieve its own TView. Otherwise, the embedded view's\n     * static data for a particular node would overwrite the static data for a node in the view above\n     * it with the same index (since it's in the same template).\n     *\n     * @param {?} viewIndex The index of the TView in TNode.tViews\n     * @param {?} consts The number of nodes, local refs, and pipes in this template\n     * @param {?} vars The number of bindings and pure function bindings in this template\n     * @param {?} parent\n     * @return {?} TView\n     */\n\n\n    function getOrCreateEmbeddedTView(viewIndex, consts, vars, parent) {\n      /** @type {?} */\n      var tView = getLView()[TVIEW];\n      ngDevMode && assertNodeType(parent, 0\n      /* Container */\n      );\n      /** @type {?} */\n\n      var containerTViews =\n      /** @type {?} */\n      parent.tViews;\n      ngDevMode && assertDefined(containerTViews, 'TView expected');\n      ngDevMode && assertEqual(Array.isArray(containerTViews), true, 'TViews should be in an array');\n\n      if (viewIndex >= containerTViews.length || containerTViews[viewIndex] == null) {\n        containerTViews[viewIndex] = createTView(viewIndex, null, consts, vars, tView.directiveRegistry, tView.pipeRegistry, null, null);\n      }\n\n      return containerTViews[viewIndex];\n    }\n    /**\n     * Looks for a view with a given view block id inside a provided LContainer.\n     * Removes views that need to be deleted in the process.\n     *\n     * @param {?} lContainer to search for views\n     * @param {?} startIdx starting index in the views array to search from\n     * @param {?} viewBlockId exact view block id to look for\n     * @return {?}\n     */\n\n\n    function scanForView(lContainer, startIdx, viewBlockId) {\n      for (var i = startIdx + CONTAINER_HEADER_OFFSET; i < lContainer.length; i++) {\n        /** @type {?} */\n        var viewAtPositionId = lContainer[i][TVIEW].id;\n\n        if (viewAtPositionId === viewBlockId) {\n          return lContainer[i];\n        } else if (viewAtPositionId < viewBlockId) {\n          // found a view that should not be at this position - remove\n          removeView(lContainer, i - CONTAINER_HEADER_OFFSET);\n        } else {\n          // found a view with id greater than the one we are searching for\n          // which means that required view doesn't exist and can't be found at\n          // later positions in the views array - stop the searchdef.cont here\n          break;\n        }\n      }\n\n      return null;\n    }\n    /**\n     * Marks the end of an embedded view.\n     *\n     * \\@codeGenApi\n     * @return {?}\n     */\n\n\n    function ɵɵembeddedViewEnd() {\n      /** @type {?} */\n      var lView = getLView();\n      /** @type {?} */\n\n      var viewHost = lView[T_HOST];\n\n      if (isCreationMode(lView)) {\n        refreshDescendantViews(lView); // creation mode pass\n\n        lView[FLAGS] &= ~4\n        /* CreationMode */\n        ;\n      }\n\n      resetPreOrderHookFlags(lView);\n      refreshDescendantViews(lView); // update mode pass\n      // update mode pass\n\n      /** @type {?} */\n\n      var lContainer =\n      /** @type {?} */\n      lView[PARENT];\n      ngDevMode && assertLContainerOrUndefined(lContainer); // It's always safe to run hooks here, as `leaveView` is not called during the 'finally' block\n      // of a try-catch-finally statement, so it can never be reached while unwinding the stack due to\n      // an error being thrown.\n\n      leaveView(\n      /** @type {?} */\n      lContainer[PARENT],\n      /* safeToRunHooks */\n      true);\n      setPreviousOrParentTNode(\n      /** @type {?} */\n      viewHost, false);\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Returns the current OpaqueViewState instance.\n     *\n     * Used in conjunction with the restoreView() instruction to save a snapshot\n     * of the current view and restore it when listeners are invoked. This allows\n     * walking the declaration view tree in listeners to get vars from parent views.\n     *\n     * \\@codeGenApi\n     * @return {?}\n     */\n\n\n    function ɵɵgetCurrentView() {\n      return (\n        /** @type {?} */\n\n        /** @type {?} */\n        getLView()\n      );\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * Determine if the argument is shaped like a Promise\n     */\n\n\n    function isPromise(obj) {\n      // allow any Promise/A+ compliant thenable.\n      // It's up to the caller to ensure that obj.then conforms to the spec\n      return !!obj && typeof obj.then === 'function';\n    }\n    /**\n     * Determine if the argument is an Observable\n     */\n\n\n    function isObservable(obj) {\n      // TODO: use isObservable once we update pass rxjs 6.1\n      // https://github.com/ReactiveX/rxjs/blob/master/CHANGELOG.md#610-2018-05-03\n      return !!obj && typeof obj.subscribe === 'function';\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Adds an event listener to the current node.\n     *\n     * If an output exists on one of the node's directives, it also subscribes to the output\n     * and saves the subscription for later cleanup.\n     *\n     * \\@codeGenApi\n     * @param {?} eventName Name of the event\n     * @param {?} listenerFn The function to be called when event emits\n     * @param {?=} useCapture Whether or not to use capture in event listener\n     * @param {?=} eventTargetResolver Function that returns global target information in case this listener\n     * should be attached to a global object like window, document or body\n     *\n     * @return {?}\n     */\n\n\n    function ɵɵlistener(eventName, listenerFn) {\n      var useCapture = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n      var eventTargetResolver = arguments.length > 3 ? arguments[3] : undefined;\n      listenerInternal(eventName, listenerFn, useCapture, eventTargetResolver);\n    }\n    /**\n     * Registers a synthetic host listener (e.g. `(\\@foo.start)`) on a component.\n     *\n     * This instruction is for compatibility purposes and is designed to ensure that a\n     * synthetic host listener (e.g. `\\@HostListener('\\@foo.start')`) properly gets rendered\n     * in the component's renderer. Normally all host listeners are evaluated with the\n     * parent component's renderer, but, in the case of animation \\@triggers, they need\n     * to be evaluated with the sub component's renderer (because that's where the\n     * animation triggers are defined).\n     *\n     * Do not use this instruction as a replacement for `listener`. This instruction\n     * only exists to ensure compatibility with the ViewEngine's host binding behavior.\n     *\n     * \\@codeGenApi\n     * @param {?} eventName Name of the event\n     * @param {?} listenerFn The function to be called when event emits\n     * @param {?=} useCapture Whether or not to use capture in event listener\n     * @param {?=} eventTargetResolver Function that returns global target information in case this listener\n     * should be attached to a global object like window, document or body\n     *\n     * @return {?}\n     */\n\n\n    function ɵɵcomponentHostSyntheticListener(eventName, listenerFn) {\n      var useCapture = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n      var eventTargetResolver = arguments.length > 3 ? arguments[3] : undefined;\n      listenerInternal(eventName, listenerFn, useCapture, eventTargetResolver, loadComponentRenderer);\n    }\n    /**\n     * A utility function that checks if a given element has already an event handler registered for an\n     * event with a specified name. The TView.cleanup data structure is used to find out which events\n     * are registered for a given element.\n     * @param {?} lView\n     * @param {?} eventName\n     * @param {?} tNodeIdx\n     * @return {?}\n     */\n\n\n    function findExistingListener(lView, eventName, tNodeIdx) {\n      /** @type {?} */\n      var tView = lView[TVIEW];\n      /** @type {?} */\n\n      var tCleanup = tView.cleanup;\n\n      if (tCleanup != null) {\n        for (var i = 0; i < tCleanup.length - 1; i += 2) {\n          /** @type {?} */\n          var cleanupEventName = tCleanup[i];\n\n          if (cleanupEventName === eventName && tCleanup[i + 1] === tNodeIdx) {\n            // We have found a matching event name on the same node but it might not have been\n            // registered yet, so we must explicitly verify entries in the LView cleanup data\n            // structures.\n\n            /** @type {?} */\n            var lCleanup =\n            /** @type {?} */\n            lView[CLEANUP];\n            /** @type {?} */\n\n            var listenerIdxInLCleanup = tCleanup[i + 2];\n            return lCleanup.length > listenerIdxInLCleanup ? lCleanup[listenerIdxInLCleanup] : null;\n          } // TView.cleanup can have a mix of 4-elements entries (for event handler cleanups) or\n          // 2-element entries (for directive and queries destroy hooks). As such we can encounter\n          // blocks of 4 or 2 items in the tView.cleanup and this is why we iterate over 2 elements\n          // first and jump another 2 elements if we detect listeners cleanup (4 elements). Also check\n          // documentation of TView.cleanup for more details of this data structure layout.\n\n\n          if (typeof cleanupEventName === 'string') {\n            i += 2;\n          }\n        }\n      }\n\n      return null;\n    }\n    /**\n     * @param {?} eventName\n     * @param {?} listenerFn\n     * @param {?=} useCapture\n     * @param {?=} eventTargetResolver\n     * @param {?=} loadRendererFn\n     * @return {?}\n     */\n\n\n    function listenerInternal(eventName, listenerFn) {\n      var useCapture = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n      var eventTargetResolver = arguments.length > 3 ? arguments[3] : undefined;\n      var loadRendererFn = arguments.length > 4 ? arguments[4] : undefined;\n\n      /** @type {?} */\n      var lView = getLView();\n      /** @type {?} */\n\n      var tNode = getPreviousOrParentTNode();\n      /** @type {?} */\n\n      var tView = lView[TVIEW];\n      /** @type {?} */\n\n      var firstTemplatePass = tView.firstTemplatePass;\n      /** @type {?} */\n\n      var tCleanup = firstTemplatePass && (tView.cleanup || (tView.cleanup = []));\n      ngDevMode && assertNodeOfPossibleTypes(tNode, 3\n      /* Element */\n      , 0\n      /* Container */\n      , 4\n      /* ElementContainer */\n      );\n      /** @type {?} */\n\n      var processOutputs = true; // add native event listener - applicable to elements only\n\n      if (tNode.type === 3\n      /* Element */\n      ) {\n          /** @type {?} */\n          var native =\n          /** @type {?} */\n          getNativeByTNode(tNode, lView);\n          /** @type {?} */\n\n          var resolved = eventTargetResolver ? eventTargetResolver(native) :\n          /** @type {?} */\n          EMPTY_OBJ;\n          /** @type {?} */\n\n          var target = resolved.target || native;\n          /** @type {?} */\n\n          var renderer = loadRendererFn ? loadRendererFn(tNode, lView) : lView[RENDERER];\n          /** @type {?} */\n\n          var lCleanup = getCleanup(lView);\n          /** @type {?} */\n\n          var lCleanupIndex = lCleanup.length;\n          /** @type {?} */\n\n          var idxOrTargetGetter = eventTargetResolver ?\n          /**\n          * @param {?} _lView\n          * @return {?}\n          */\n          function (_lView) {\n            return eventTargetResolver(unwrapRNode(_lView[tNode.index])).target;\n          } : tNode.index; // In order to match current behavior, native DOM event listeners must be added for all\n          // events (including outputs).\n\n          if (isProceduralRenderer(renderer)) {\n            // There might be cases where multiple directives on the same element try to register an event\n            // handler function for the same event. In this situation we want to avoid registration of\n            // several native listeners as each registration would be intercepted by NgZone and\n            // trigger change detection. This would mean that a single user action would result in several\n            // change detections being invoked. To avoid this situation we want to have only one call to\n            // native handler registration (for the same element and same type of event).\n            //\n            // In order to have just one native event handler in presence of multiple handler functions,\n            // we just register a first handler function as a native event listener and then chain\n            // (coalesce) other handler functions on top of the first native handler function.\n\n            /** @type {?} */\n            var existingListener = null; // Please note that the coalescing described here doesn't happen for events specifying an\n            // alternative target (ex. (document:click)) - this is to keep backward compatibility with the\n            // view engine.\n            // Also, we don't have to search for existing listeners is there are no directives\n            // matching on a given node as we can't register multiple event handlers for the same event in\n            // a template (this would mean having duplicate attributes).\n\n            if (!eventTargetResolver && hasDirectives(tNode)) {\n              existingListener = findExistingListener(lView, eventName, tNode.index);\n            }\n\n            if (existingListener !== null) {\n              // Attach a new listener at the head of the coalesced listeners list.\n\n              /** @type {?} */\n              listenerFn.__ngNextListenerFn__ =\n              /** @type {?} */\n              existingListener.__ngNextListenerFn__;\n\n              /** @type {?} */\n              existingListener.__ngNextListenerFn__ = listenerFn;\n              processOutputs = false;\n            } else {\n              // The first argument of `listen` function in Procedural Renderer is:\n              // - either a target name (as a string) in case of global target (window, document, body)\n              // - or element reference (in all other cases)\n              listenerFn = wrapListener(tNode, lView, listenerFn, false\n              /** preventDefault */\n              );\n              /** @type {?} */\n\n              var cleanupFn = renderer.listen(resolved.name || target, eventName, listenerFn);\n              ngDevMode && ngDevMode.rendererAddEventListener++;\n              lCleanup.push(listenerFn, cleanupFn);\n              tCleanup && tCleanup.push(eventName, idxOrTargetGetter, lCleanupIndex, lCleanupIndex + 1);\n            }\n          } else {\n            listenerFn = wrapListener(tNode, lView, listenerFn, true\n            /** preventDefault */\n            );\n            target.addEventListener(eventName, listenerFn, useCapture);\n            ngDevMode && ngDevMode.rendererAddEventListener++;\n            lCleanup.push(listenerFn);\n            tCleanup && tCleanup.push(eventName, idxOrTargetGetter, lCleanupIndex, useCapture);\n          }\n        } // subscribe to directive outputs\n\n\n      if (tNode.outputs === undefined) {\n        // if we create TNode here, inputs must be undefined so we know they still need to be\n        // checked\n        tNode.outputs = generatePropertyAliases(tNode, 1\n        /* Output */\n        );\n      }\n      /** @type {?} */\n\n\n      var outputs = tNode.outputs;\n      /** @type {?} */\n\n      var props;\n\n      if (processOutputs && outputs && (props = outputs[eventName])) {\n        /** @type {?} */\n        var propsLength = props.length;\n\n        if (propsLength) {\n          /** @type {?} */\n          var _lCleanup = getCleanup(lView);\n\n          for (var i = 0; i < propsLength; i += 3) {\n            /** @type {?} */\n            var index =\n            /** @type {?} */\n            props[i];\n            ngDevMode && assertDataInRange(lView, index);\n            /** @type {?} */\n\n            var minifiedName = props[i + 2];\n            /** @type {?} */\n\n            var directiveInstance = lView[index];\n            /** @type {?} */\n\n            var output = directiveInstance[minifiedName];\n\n            if (ngDevMode && !isObservable(output)) {\n              throw new Error(\"@Output \".concat(minifiedName, \" not initialized in '\").concat(directiveInstance.constructor.name, \"'.\"));\n            }\n            /** @type {?} */\n\n\n            var subscription = output.subscribe(listenerFn);\n            /** @type {?} */\n\n            var idx = _lCleanup.length;\n\n            _lCleanup.push(listenerFn, subscription);\n\n            tCleanup && tCleanup.push(eventName, tNode.index, idx, -(idx + 1));\n          }\n        }\n      }\n    }\n    /**\n     * @param {?} lView\n     * @param {?} listenerFn\n     * @param {?} e\n     * @return {?}\n     */\n\n\n    function executeListenerWithErrorHandling(lView, listenerFn, e) {\n      try {\n        // Only explicitly returning false from a listener should preventDefault\n        return listenerFn(e) !== false;\n      } catch (error) {\n        handleError(lView, error);\n        return false;\n      }\n    }\n    /**\n     * Wraps an event listener with a function that marks ancestors dirty and prevents default behavior,\n     * if applicable.\n     *\n     * @param {?} tNode The TNode associated with this listener\n     * @param {?} lView The LView that contains this listener\n     * @param {?} listenerFn The listener function to call\n     * @param {?} wrapWithPreventDefault Whether or not to prevent default behavior\n     * (the procedural renderer does this already, so in those cases, we should skip)\n     * @return {?}\n     */\n\n\n    function wrapListener(tNode, lView, listenerFn, wrapWithPreventDefault) {\n      // Note: we are performing most of the work in the listener function itself\n      // to optimize listener registration.\n      return (\n        /**\n        * @param {?} e\n        * @return {?}\n        */\n        function wrapListenerIn_markDirtyAndPreventDefault(e) {\n          // In order to be backwards compatible with View Engine, events on component host nodes\n          // must also mark the component view itself dirty (i.e. the view that it owns).\n\n          /** @type {?} */\n          var startView = tNode.flags & 1\n          /* isComponent */\n          ? getComponentViewByIndex(tNode.index, lView) : lView; // See interfaces/view.ts for more on LViewFlags.ManualOnPush\n\n          if ((lView[FLAGS] & 32\n          /* ManualOnPush */\n          ) === 0) {\n            markViewDirty(startView);\n          }\n          /** @type {?} */\n\n\n          var result = executeListenerWithErrorHandling(lView, listenerFn, e); // A just-invoked listener function might have coalesced listeners so we need to check for\n          // their presence and invoke as needed.\n\n          /** @type {?} */\n\n          var nextListenerFn =\n          /** @type {?} */\n          wrapListenerIn_markDirtyAndPreventDefault.__ngNextListenerFn__;\n\n          while (nextListenerFn) {\n            // We should prevent default if any of the listeners explicitly return false\n            result = executeListenerWithErrorHandling(lView, nextListenerFn, e) && result;\n            nextListenerFn =\n            /** @type {?} */\n            nextListenerFn.__ngNextListenerFn__;\n          }\n\n          if (wrapWithPreventDefault && result === false) {\n            e.preventDefault(); // Necessary for legacy browsers that don't support preventDefault (e.g. IE)\n\n            e.returnValue = false;\n          }\n\n          return result;\n        }\n      );\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Retrieves a context at the level specified and saves it as the global, contextViewData.\n     * Will get the next level up if level is not specified.\n     *\n     * This is used to save contexts of parent views so they can be bound in embedded views, or\n     * in conjunction with reference() to bind a ref from a parent view.\n     *\n     * \\@codeGenApi\n     * @template T\n     * @param {?=} level The relative level of the view from which to grab context compared to contextVewData\n     * @return {?} context\n     *\n     */\n\n\n    function ɵɵnextContext() {\n      var level = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;\n      return nextContextImpl(level);\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Checks a given node against matching projection slots and returns the\n     * determined slot index. Returns \"null\" if no slot matched the given node.\n     *\n     * This function takes into account the parsed ngProjectAs selector from the\n     * node's attributes. If present, it will check whether the ngProjectAs selector\n     * matches any of the projection slot selectors.\n     * @param {?} tNode\n     * @param {?} projectionSlots\n     * @return {?}\n     */\n\n\n    function matchingProjectionSlotIndex(tNode, projectionSlots) {\n      /** @type {?} */\n      var wildcardNgContentIndex = null;\n      /** @type {?} */\n\n      var ngProjectAsAttrVal = getProjectAsAttrValue(tNode);\n\n      for (var i = 0; i < projectionSlots.length; i++) {\n        /** @type {?} */\n        var slotValue = projectionSlots[i]; // The last wildcard projection slot should match all nodes which aren't matching\n        // any selector. This is necessary to be backwards compatible with view engine.\n\n        if (slotValue === '*') {\n          wildcardNgContentIndex = i;\n          continue;\n        } // If we ran into an `ngProjectAs` attribute, we should match its parsed selector\n        // to the list of selectors, otherwise we fall back to matching against the node.\n\n\n        if (ngProjectAsAttrVal === null ? isNodeMatchingSelectorList(tNode, slotValue,\n        /* isProjectionMode */\n        true) : isSelectorInSelectorList(ngProjectAsAttrVal, slotValue)) {\n          return i; // first matching selector \"captures\" a given node\n        }\n      }\n\n      return wildcardNgContentIndex;\n    }\n    /**\n     * Instruction to distribute projectable nodes among <ng-content> occurrences in a given template.\n     * It takes all the selectors from the entire component's template and decides where\n     * each projected node belongs (it re-distributes nodes among \"buckets\" where each \"bucket\" is\n     * backed by a selector).\n     *\n     * This function requires CSS selectors to be provided in 2 forms: parsed (by a compiler) and text,\n     * un-parsed form.\n     *\n     * The parsed form is needed for efficient matching of a node against a given CSS selector.\n     * The un-parsed, textual form is needed for support of the ngProjectAs attribute.\n     *\n     * Having a CSS selector in 2 different formats is not ideal, but alternatives have even more\n     * drawbacks:\n     * - having only a textual form would require runtime parsing of CSS selectors;\n     * - we can't have only a parsed as we can't re-construct textual form from it (as entered by a\n     * template author).\n     *\n     * \\@codeGenApi\n     * @param {?=} projectionSlots\n     * @return {?}\n     */\n\n\n    function ɵɵprojectionDef(projectionSlots) {\n      /** @type {?} */\n      var componentNode =\n      /** @type {?} */\n      findComponentView(getLView())[T_HOST];\n\n      if (!componentNode.projection) {\n        // If no explicit projection slots are defined, fall back to a single\n        // projection slot with the wildcard selector.\n\n        /** @type {?} */\n        var numProjectionSlots = projectionSlots ? projectionSlots.length : 1;\n        /** @type {?} */\n\n        var projectionHeads = componentNode.projection = new Array(numProjectionSlots).fill(null);\n        /** @type {?} */\n\n        var tails = projectionHeads.slice();\n        /** @type {?} */\n\n        var componentChild = componentNode.child;\n\n        while (componentChild !== null) {\n          /** @type {?} */\n          var slotIndex = projectionSlots ? matchingProjectionSlotIndex(componentChild, projectionSlots) : 0;\n\n          if (slotIndex !== null) {\n            if (tails[slotIndex]) {\n              /** @type {?} */\n              tails[slotIndex].projectionNext = componentChild;\n            } else {\n              projectionHeads[slotIndex] = componentChild;\n            }\n\n            tails[slotIndex] = componentChild;\n          }\n\n          componentChild = componentChild.next;\n        }\n      }\n    }\n    /** @type {?} */\n\n\n    var delayProjection = false;\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n\n    function setDelayProjection(value) {\n      delayProjection = value;\n    }\n    /**\n     * Inserts previously re-distributed projected nodes. This instruction must be preceded by a call\n     * to the projectionDef instruction.\n     *\n     * \\@codeGenApi\n     * @param {?} nodeIndex\n     * @param {?=} selectorIndex\n     * @param {?=} attrs\n     * @return {?}\n     */\n\n\n    function ɵɵprojection(nodeIndex) {\n      var selectorIndex = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n      var attrs = arguments.length > 2 ? arguments[2] : undefined;\n\n      /** @type {?} */\n      var lView = getLView();\n      /** @type {?} */\n\n      var tProjectionNode = getOrCreateTNode(lView[TVIEW], lView[T_HOST], nodeIndex, 1\n      /* Projection */\n      , null, attrs || null); // We can't use viewData[HOST_NODE] because projection nodes can be nested in embedded views.\n\n      if (tProjectionNode.projection === null) tProjectionNode.projection = selectorIndex; // `<ng-content>` has no content\n\n      setIsNotParent(); // We might need to delay the projection of nodes if they are in the middle of an i18n block\n\n      if (!delayProjection) {\n        // re-distribution of projectable nodes is stored on a component's view level\n        appendProjectedNodes(lView, tProjectionNode, selectorIndex, findComponentView(lView));\n      }\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     *\n     * Update an interpolated property on an element with a lone bound value\n     *\n     * Used when the value passed to a property has 1 interpolated value in it, an no additional text\n     * surrounds that interpolated value:\n     *\n     * ```html\n     * <div title=\"{{v0}}\"></div>\n     * ```\n     *\n     * Its compiled representation is::\n     *\n     * ```ts\n     * ɵɵpropertyInterpolate('title', v0);\n     * ```\n     *\n     * If the property name also exists as an input property on one of the element's directives,\n     * the component property will be set instead of the element property. This check must\n     * be conducted at runtime so child components that add new `\\@Inputs` don't have to be re-compiled.\n     *\n     * \\@codeGenApi\n     * @param {?} propName The name of the property to update\n     * @param {?} v0 Value checked for change.\n     * @param {?=} sanitizer An optional sanitizer function\n     * @return {?} itself, so that it may be chained.\n     */\n\n\n    function ɵɵpropertyInterpolate(propName, v0, sanitizer) {\n      ɵɵpropertyInterpolate1(propName, '', v0, '', sanitizer);\n      return ɵɵpropertyInterpolate;\n    }\n    /**\n     *\n     * Update an interpolated property on an element with single bound value surrounded by text.\n     *\n     * Used when the value passed to a property has 1 interpolated value in it:\n     *\n     * ```html\n     * <div title=\"prefix{{v0}}suffix\"></div>\n     * ```\n     *\n     * Its compiled representation is::\n     *\n     * ```ts\n     * ɵɵpropertyInterpolate1('title', 'prefix', v0, 'suffix');\n     * ```\n     *\n     * If the property name also exists as an input property on one of the element's directives,\n     * the component property will be set instead of the element property. This check must\n     * be conducted at runtime so child components that add new `\\@Inputs` don't have to be re-compiled.\n     *\n     * \\@codeGenApi\n     * @param {?} propName The name of the property to update\n     * @param {?} prefix Static value used for concatenation only.\n     * @param {?} v0 Value checked for change.\n     * @param {?} suffix Static value used for concatenation only.\n     * @param {?=} sanitizer An optional sanitizer function\n     * @return {?} itself, so that it may be chained.\n     */\n\n\n    function ɵɵpropertyInterpolate1(propName, prefix, v0, suffix, sanitizer) {\n      /** @type {?} */\n      var index = getSelectedIndex();\n      /** @type {?} */\n\n      var interpolatedValue = interpolation1(getLView(), prefix, v0, suffix);\n\n      if (interpolatedValue !== NO_CHANGE) {\n        elementPropertyInternal(index, propName, interpolatedValue, sanitizer);\n      }\n\n      return ɵɵpropertyInterpolate1;\n    }\n    /**\n     *\n     * Update an interpolated property on an element with 2 bound values surrounded by text.\n     *\n     * Used when the value passed to a property has 2 interpolated values in it:\n     *\n     * ```html\n     * <div title=\"prefix{{v0}}-{{v1}}suffix\"></div>\n     * ```\n     *\n     * Its compiled representation is::\n     *\n     * ```ts\n     * ɵɵpropertyInterpolate2('title', 'prefix', v0, '-', v1, 'suffix');\n     * ```\n     *\n     * If the property name also exists as an input property on one of the element's directives,\n     * the component property will be set instead of the element property. This check must\n     * be conducted at runtime so child components that add new `\\@Inputs` don't have to be re-compiled.\n     *\n     * \\@codeGenApi\n     * @param {?} propName The name of the property to update\n     * @param {?} prefix Static value used for concatenation only.\n     * @param {?} v0 Value checked for change.\n     * @param {?} i0 Static value used for concatenation only.\n     * @param {?} v1 Value checked for change.\n     * @param {?} suffix Static value used for concatenation only.\n     * @param {?=} sanitizer An optional sanitizer function\n     * @return {?} itself, so that it may be chained.\n     */\n\n\n    function ɵɵpropertyInterpolate2(propName, prefix, v0, i0, v1, suffix, sanitizer) {\n      /** @type {?} */\n      var index = getSelectedIndex();\n      /** @type {?} */\n\n      var interpolatedValue = interpolation2(getLView(), prefix, v0, i0, v1, suffix);\n\n      if (interpolatedValue !== NO_CHANGE) {\n        elementPropertyInternal(index, propName, interpolatedValue, sanitizer);\n      }\n\n      return ɵɵpropertyInterpolate2;\n    }\n    /**\n     *\n     * Update an interpolated property on an element with 3 bound values surrounded by text.\n     *\n     * Used when the value passed to a property has 3 interpolated values in it:\n     *\n     * ```html\n     * <div title=\"prefix{{v0}}-{{v1}}-{{v2}}suffix\"></div>\n     * ```\n     *\n     * Its compiled representation is::\n     *\n     * ```ts\n     * ɵɵpropertyInterpolate3(\n     * 'title', 'prefix', v0, '-', v1, '-', v2, 'suffix');\n     * ```\n     *\n     * If the property name also exists as an input property on one of the element's directives,\n     * the component property will be set instead of the element property. This check must\n     * be conducted at runtime so child components that add new `\\@Inputs` don't have to be re-compiled.\n     *\n     * \\@codeGenApi\n     * @param {?} propName The name of the property to update\n     * @param {?} prefix Static value used for concatenation only.\n     * @param {?} v0 Value checked for change.\n     * @param {?} i0 Static value used for concatenation only.\n     * @param {?} v1 Value checked for change.\n     * @param {?} i1 Static value used for concatenation only.\n     * @param {?} v2 Value checked for change.\n     * @param {?} suffix Static value used for concatenation only.\n     * @param {?=} sanitizer An optional sanitizer function\n     * @return {?} itself, so that it may be chained.\n     */\n\n\n    function ɵɵpropertyInterpolate3(propName, prefix, v0, i0, v1, i1, v2, suffix, sanitizer) {\n      /** @type {?} */\n      var index = getSelectedIndex();\n      /** @type {?} */\n\n      var interpolatedValue = interpolation3(getLView(), prefix, v0, i0, v1, i1, v2, suffix);\n\n      if (interpolatedValue !== NO_CHANGE) {\n        elementPropertyInternal(index, propName, interpolatedValue, sanitizer);\n      }\n\n      return ɵɵpropertyInterpolate3;\n    }\n    /**\n     *\n     * Update an interpolated property on an element with 4 bound values surrounded by text.\n     *\n     * Used when the value passed to a property has 4 interpolated values in it:\n     *\n     * ```html\n     * <div title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}suffix\"></div>\n     * ```\n     *\n     * Its compiled representation is::\n     *\n     * ```ts\n     * ɵɵpropertyInterpolate4(\n     * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, 'suffix');\n     * ```\n     *\n     * If the property name also exists as an input property on one of the element's directives,\n     * the component property will be set instead of the element property. This check must\n     * be conducted at runtime so child components that add new `\\@Inputs` don't have to be re-compiled.\n     *\n     * \\@codeGenApi\n     * @param {?} propName The name of the property to update\n     * @param {?} prefix Static value used for concatenation only.\n     * @param {?} v0 Value checked for change.\n     * @param {?} i0 Static value used for concatenation only.\n     * @param {?} v1 Value checked for change.\n     * @param {?} i1 Static value used for concatenation only.\n     * @param {?} v2 Value checked for change.\n     * @param {?} i2 Static value used for concatenation only.\n     * @param {?} v3 Value checked for change.\n     * @param {?} suffix Static value used for concatenation only.\n     * @param {?=} sanitizer An optional sanitizer function\n     * @return {?} itself, so that it may be chained.\n     */\n\n\n    function ɵɵpropertyInterpolate4(propName, prefix, v0, i0, v1, i1, v2, i2, v3, suffix, sanitizer) {\n      /** @type {?} */\n      var index = getSelectedIndex();\n      /** @type {?} */\n\n      var interpolatedValue = interpolation4(getLView(), prefix, v0, i0, v1, i1, v2, i2, v3, suffix);\n\n      if (interpolatedValue !== NO_CHANGE) {\n        elementPropertyInternal(index, propName, interpolatedValue, sanitizer);\n      }\n\n      return ɵɵpropertyInterpolate4;\n    }\n    /**\n     *\n     * Update an interpolated property on an element with 5 bound values surrounded by text.\n     *\n     * Used when the value passed to a property has 5 interpolated values in it:\n     *\n     * ```html\n     * <div title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}suffix\"></div>\n     * ```\n     *\n     * Its compiled representation is::\n     *\n     * ```ts\n     * ɵɵpropertyInterpolate5(\n     * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, 'suffix');\n     * ```\n     *\n     * If the property name also exists as an input property on one of the element's directives,\n     * the component property will be set instead of the element property. This check must\n     * be conducted at runtime so child components that add new `\\@Inputs` don't have to be re-compiled.\n     *\n     * \\@codeGenApi\n     * @param {?} propName The name of the property to update\n     * @param {?} prefix Static value used for concatenation only.\n     * @param {?} v0 Value checked for change.\n     * @param {?} i0 Static value used for concatenation only.\n     * @param {?} v1 Value checked for change.\n     * @param {?} i1 Static value used for concatenation only.\n     * @param {?} v2 Value checked for change.\n     * @param {?} i2 Static value used for concatenation only.\n     * @param {?} v3 Value checked for change.\n     * @param {?} i3 Static value used for concatenation only.\n     * @param {?} v4 Value checked for change.\n     * @param {?} suffix Static value used for concatenation only.\n     * @param {?=} sanitizer An optional sanitizer function\n     * @return {?} itself, so that it may be chained.\n     */\n\n\n    function ɵɵpropertyInterpolate5(propName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix, sanitizer) {\n      /** @type {?} */\n      var index = getSelectedIndex();\n      /** @type {?} */\n\n      var interpolatedValue = interpolation5(getLView(), prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix);\n\n      if (interpolatedValue !== NO_CHANGE) {\n        elementPropertyInternal(index, propName, interpolatedValue, sanitizer);\n      }\n\n      return ɵɵpropertyInterpolate5;\n    }\n    /**\n     *\n     * Update an interpolated property on an element with 6 bound values surrounded by text.\n     *\n     * Used when the value passed to a property has 6 interpolated values in it:\n     *\n     * ```html\n     * <div title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}suffix\"></div>\n     * ```\n     *\n     * Its compiled representation is::\n     *\n     * ```ts\n     * ɵɵpropertyInterpolate6(\n     *    'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, 'suffix');\n     * ```\n     *\n     * If the property name also exists as an input property on one of the element's directives,\n     * the component property will be set instead of the element property. This check must\n     * be conducted at runtime so child components that add new `\\@Inputs` don't have to be re-compiled.\n     *\n     * \\@codeGenApi\n     * @param {?} propName The name of the property to update\n     * @param {?} prefix Static value used for concatenation only.\n     * @param {?} v0 Value checked for change.\n     * @param {?} i0 Static value used for concatenation only.\n     * @param {?} v1 Value checked for change.\n     * @param {?} i1 Static value used for concatenation only.\n     * @param {?} v2 Value checked for change.\n     * @param {?} i2 Static value used for concatenation only.\n     * @param {?} v3 Value checked for change.\n     * @param {?} i3 Static value used for concatenation only.\n     * @param {?} v4 Value checked for change.\n     * @param {?} i4 Static value used for concatenation only.\n     * @param {?} v5 Value checked for change.\n     * @param {?} suffix Static value used for concatenation only.\n     * @param {?=} sanitizer An optional sanitizer function\n     * @return {?} itself, so that it may be chained.\n     */\n\n\n    function ɵɵpropertyInterpolate6(propName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix, sanitizer) {\n      /** @type {?} */\n      var index = getSelectedIndex();\n      /** @type {?} */\n\n      var interpolatedValue = interpolation6(getLView(), prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix);\n\n      if (interpolatedValue !== NO_CHANGE) {\n        elementPropertyInternal(index, propName, interpolatedValue, sanitizer);\n      }\n\n      return ɵɵpropertyInterpolate6;\n    }\n    /**\n     *\n     * Update an interpolated property on an element with 7 bound values surrounded by text.\n     *\n     * Used when the value passed to a property has 7 interpolated values in it:\n     *\n     * ```html\n     * <div title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}suffix\"></div>\n     * ```\n     *\n     * Its compiled representation is::\n     *\n     * ```ts\n     * ɵɵpropertyInterpolate7(\n     *    'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, 'suffix');\n     * ```\n     *\n     * If the property name also exists as an input property on one of the element's directives,\n     * the component property will be set instead of the element property. This check must\n     * be conducted at runtime so child components that add new `\\@Inputs` don't have to be re-compiled.\n     *\n     * \\@codeGenApi\n     * @param {?} propName The name of the property to update\n     * @param {?} prefix Static value used for concatenation only.\n     * @param {?} v0 Value checked for change.\n     * @param {?} i0 Static value used for concatenation only.\n     * @param {?} v1 Value checked for change.\n     * @param {?} i1 Static value used for concatenation only.\n     * @param {?} v2 Value checked for change.\n     * @param {?} i2 Static value used for concatenation only.\n     * @param {?} v3 Value checked for change.\n     * @param {?} i3 Static value used for concatenation only.\n     * @param {?} v4 Value checked for change.\n     * @param {?} i4 Static value used for concatenation only.\n     * @param {?} v5 Value checked for change.\n     * @param {?} i5 Static value used for concatenation only.\n     * @param {?} v6 Value checked for change.\n     * @param {?} suffix Static value used for concatenation only.\n     * @param {?=} sanitizer An optional sanitizer function\n     * @return {?} itself, so that it may be chained.\n     */\n\n\n    function ɵɵpropertyInterpolate7(propName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix, sanitizer) {\n      /** @type {?} */\n      var index = getSelectedIndex();\n      /** @type {?} */\n\n      var interpolatedValue = interpolation7(getLView(), prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix);\n\n      if (interpolatedValue !== NO_CHANGE) {\n        elementPropertyInternal(index, propName, interpolatedValue, sanitizer);\n      }\n\n      return ɵɵpropertyInterpolate7;\n    }\n    /**\n     *\n     * Update an interpolated property on an element with 8 bound values surrounded by text.\n     *\n     * Used when the value passed to a property has 8 interpolated values in it:\n     *\n     * ```html\n     * <div title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}suffix\"></div>\n     * ```\n     *\n     * Its compiled representation is::\n     *\n     * ```ts\n     * ɵɵpropertyInterpolate8(\n     *  'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, 'suffix');\n     * ```\n     *\n     * If the property name also exists as an input property on one of the element's directives,\n     * the component property will be set instead of the element property. This check must\n     * be conducted at runtime so child components that add new `\\@Inputs` don't have to be re-compiled.\n     *\n     * \\@codeGenApi\n     * @param {?} propName The name of the property to update\n     * @param {?} prefix Static value used for concatenation only.\n     * @param {?} v0 Value checked for change.\n     * @param {?} i0 Static value used for concatenation only.\n     * @param {?} v1 Value checked for change.\n     * @param {?} i1 Static value used for concatenation only.\n     * @param {?} v2 Value checked for change.\n     * @param {?} i2 Static value used for concatenation only.\n     * @param {?} v3 Value checked for change.\n     * @param {?} i3 Static value used for concatenation only.\n     * @param {?} v4 Value checked for change.\n     * @param {?} i4 Static value used for concatenation only.\n     * @param {?} v5 Value checked for change.\n     * @param {?} i5 Static value used for concatenation only.\n     * @param {?} v6 Value checked for change.\n     * @param {?} i6 Static value used for concatenation only.\n     * @param {?} v7 Value checked for change.\n     * @param {?} suffix Static value used for concatenation only.\n     * @param {?=} sanitizer An optional sanitizer function\n     * @return {?} itself, so that it may be chained.\n     */\n\n\n    function ɵɵpropertyInterpolate8(propName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix, sanitizer) {\n      /** @type {?} */\n      var index = getSelectedIndex();\n      /** @type {?} */\n\n      var interpolatedValue = interpolation8(getLView(), prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix);\n\n      if (interpolatedValue !== NO_CHANGE) {\n        elementPropertyInternal(index, propName, interpolatedValue, sanitizer);\n      }\n\n      return ɵɵpropertyInterpolate8;\n    }\n    /**\n     * Update an interpolated property on an element with 8 or more bound values surrounded by text.\n     *\n     * Used when the number of interpolated values exceeds 7.\n     *\n     * ```html\n     * <div\n     *  title=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}-{{v8}}-{{v9}}suffix\"></div>\n     * ```\n     *\n     * Its compiled representation is::\n     *\n     * ```ts\n     * ɵɵpropertyInterpolateV(\n     *  'title', ['prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, '-', v9,\n     *  'suffix']);\n     * ```\n     *\n     * If the property name also exists as an input property on one of the element's directives,\n     * the component property will be set instead of the element property. This check must\n     * be conducted at runtime so child components that add new `\\@Inputs` don't have to be re-compiled.\n     *\n     * \\@codeGenApi\n     * @param {?} propName The name of the property to update.\n     * @param {?} values The a collection of values and the strings inbetween those values, beginning with a\n     * string prefix and ending with a string suffix.\n     * (e.g. `['prefix', value0, '-', value1, '-', value2, ..., value99, 'suffix']`)\n     * @param {?=} sanitizer An optional sanitizer function\n     * @return {?} itself, so that it may be chained.\n     */\n\n\n    function ɵɵpropertyInterpolateV(propName, values, sanitizer) {\n      /** @type {?} */\n      var index = getSelectedIndex();\n      /** @type {?} */\n\n      var interpolatedValue = interpolationV(getLView(), values);\n\n      if (interpolatedValue !== NO_CHANGE) {\n        elementPropertyInternal(index, propName, interpolatedValue, sanitizer);\n      }\n\n      return ɵɵpropertyInterpolateV;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Create static text node\n     *\n     * \\@codeGenApi\n     * @param {?} index Index of the node in the data array\n     * @param {?=} value Value to write. This value will be stringified.\n     *\n     * @return {?}\n     */\n\n\n    function ɵɵtext(index, value) {\n      /** @type {?} */\n      var lView = getLView();\n      ngDevMode && assertEqual(lView[BINDING_INDEX], lView[TVIEW].bindingStartIndex, 'text nodes should be created before any bindings');\n      ngDevMode && ngDevMode.rendererCreateTextNode++;\n      ngDevMode && assertDataInRange(lView, index + HEADER_OFFSET);\n      /** @type {?} */\n\n      var textNative = lView[index + HEADER_OFFSET] = createTextNode(value, lView[RENDERER]);\n      ngDevMode && ngDevMode.rendererSetText++;\n      /** @type {?} */\n\n      var tNode = getOrCreateTNode(lView[TVIEW], lView[T_HOST], index, 3\n      /* Element */\n      , null, null); // Text nodes are self closing.\n\n      setIsNotParent();\n      appendChild(textNative, tNode, lView);\n    }\n    /**\n     * Create text node with binding\n     * Bindings should be handled externally with the proper interpolation(1-8) method\n     *\n     * \\@codeGenApi\n     * @template T\n     * @param {?} value Stringified value to write.\n     *\n     * @return {?}\n     */\n\n\n    function ɵɵtextBinding(value) {\n      /** @type {?} */\n      var lView = getLView();\n      /** @type {?} */\n\n      var index = getSelectedIndex();\n      /** @type {?} */\n\n      var bound = bind(lView, value);\n\n      if (bound !== NO_CHANGE) {\n        textBindingInternal(lView, index, renderStringify(bound));\n      }\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     *\n     * Update text content with a lone bound value\n     *\n     * Used when a text node has 1 interpolated value in it, an no additional text\n     * surrounds that interpolated value:\n     *\n     * ```html\n     * <div>{{v0}}</div>\n     * ```\n     *\n     * Its compiled representation is:\n     *\n     * ```ts\n     * ɵɵtextInterpolate(v0);\n     * ```\n     * @see textInterpolateV\n     * \\@codeGenApi\n     * @param {?} v0\n     * @return {?} itself, so that it may be chained.\n     */\n\n\n    function ɵɵtextInterpolate(v0) {\n      ɵɵtextInterpolate1('', v0, '');\n      return ɵɵtextInterpolate;\n    }\n    /**\n     *\n     * Update text content with single bound value surrounded by other text.\n     *\n     * Used when a text node has 1 interpolated value in it:\n     *\n     * ```html\n     * <div>prefix{{v0}}suffix</div>\n     * ```\n     *\n     * Its compiled representation is:\n     *\n     * ```ts\n     * ɵɵtextInterpolate1('prefix', v0, 'suffix');\n     * ```\n     * @see textInterpolateV\n     * \\@codeGenApi\n     * @param {?} prefix\n     * @param {?} v0\n     * @param {?} suffix\n     * @return {?} itself, so that it may be chained.\n     */\n\n\n    function ɵɵtextInterpolate1(prefix, v0, suffix) {\n      /** @type {?} */\n      var index = getSelectedIndex();\n      /** @type {?} */\n\n      var lView = getLView();\n      /** @type {?} */\n\n      var interpolated = interpolation1(lView, prefix, v0, suffix);\n\n      if (interpolated !== NO_CHANGE) {\n        textBindingInternal(lView, index,\n        /** @type {?} */\n        interpolated);\n      }\n\n      return ɵɵtextInterpolate1;\n    }\n    /**\n     *\n     * Update text content with 2 bound values surrounded by other text.\n     *\n     * Used when a text node has 2 interpolated values in it:\n     *\n     * ```html\n     * <div>prefix{{v0}}-{{v1}}suffix</div>\n     * ```\n     *\n     * Its compiled representation is:\n     *\n     * ```ts\n     * ɵɵtextInterpolate2('prefix', v0, '-', v1, 'suffix');\n     * ```\n     * @see textInterpolateV\n     * \\@codeGenApi\n     * @param {?} prefix\n     * @param {?} v0\n     * @param {?} i0\n     * @param {?} v1\n     * @param {?} suffix\n     * @return {?} itself, so that it may be chained.\n     */\n\n\n    function ɵɵtextInterpolate2(prefix, v0, i0, v1, suffix) {\n      /** @type {?} */\n      var index = getSelectedIndex();\n      /** @type {?} */\n\n      var lView = getLView();\n      /** @type {?} */\n\n      var interpolated = interpolation2(lView, prefix, v0, i0, v1, suffix);\n\n      if (interpolated !== NO_CHANGE) {\n        textBindingInternal(lView, index,\n        /** @type {?} */\n        interpolated);\n      }\n\n      return ɵɵtextInterpolate2;\n    }\n    /**\n     *\n     * Update text content with 3 bound values surrounded by other text.\n     *\n     * Used when a text node has 3 interpolated values in it:\n     *\n     * ```html\n     * <div>prefix{{v0}}-{{v1}}-{{v2}}suffix</div>\n     * ```\n     *\n     * Its compiled representation is:\n     *\n     * ```ts\n     * ɵɵtextInterpolate3(\n     * 'prefix', v0, '-', v1, '-', v2, 'suffix');\n     * ```\n     * @see textInterpolateV\n     * \\@codeGenApi\n     * @param {?} prefix\n     * @param {?} v0\n     * @param {?} i0\n     * @param {?} v1\n     * @param {?} i1\n     * @param {?} v2\n     * @param {?} suffix\n     * @return {?} itself, so that it may be chained.\n     */\n\n\n    function ɵɵtextInterpolate3(prefix, v0, i0, v1, i1, v2, suffix) {\n      /** @type {?} */\n      var index = getSelectedIndex();\n      /** @type {?} */\n\n      var lView = getLView();\n      /** @type {?} */\n\n      var interpolated = interpolation3(lView, prefix, v0, i0, v1, i1, v2, suffix);\n\n      if (interpolated !== NO_CHANGE) {\n        textBindingInternal(lView, index,\n        /** @type {?} */\n        interpolated);\n      }\n\n      return ɵɵtextInterpolate3;\n    }\n    /**\n     *\n     * Update text content with 4 bound values surrounded by other text.\n     *\n     * Used when a text node has 4 interpolated values in it:\n     *\n     * ```html\n     * <div>prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}suffix</div>\n     * ```\n     *\n     * Its compiled representation is:\n     *\n     * ```ts\n     * ɵɵtextInterpolate4(\n     * 'prefix', v0, '-', v1, '-', v2, '-', v3, 'suffix');\n     * ```\n     * @see ɵɵtextInterpolateV\n     * \\@codeGenApi\n     * @param {?} prefix\n     * @param {?} v0\n     * @param {?} i0\n     * @param {?} v1\n     * @param {?} i1\n     * @param {?} v2\n     * @param {?} i2\n     * @param {?} v3\n     * @param {?} suffix\n     * @return {?} itself, so that it may be chained.\n     */\n\n\n    function ɵɵtextInterpolate4(prefix, v0, i0, v1, i1, v2, i2, v3, suffix) {\n      /** @type {?} */\n      var index = getSelectedIndex();\n      /** @type {?} */\n\n      var lView = getLView();\n      /** @type {?} */\n\n      var interpolated = interpolation4(lView, prefix, v0, i0, v1, i1, v2, i2, v3, suffix);\n\n      if (interpolated !== NO_CHANGE) {\n        textBindingInternal(lView, index,\n        /** @type {?} */\n        interpolated);\n      }\n\n      return ɵɵtextInterpolate4;\n    }\n    /**\n     *\n     * Update text content with 5 bound values surrounded by other text.\n     *\n     * Used when a text node has 5 interpolated values in it:\n     *\n     * ```html\n     * <div>prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}suffix</div>\n     * ```\n     *\n     * Its compiled representation is:\n     *\n     * ```ts\n     * ɵɵtextInterpolate5(\n     * 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, 'suffix');\n     * ```\n     * @see textInterpolateV\n     * \\@codeGenApi\n     * @param {?} prefix\n     * @param {?} v0\n     * @param {?} i0\n     * @param {?} v1\n     * @param {?} i1\n     * @param {?} v2\n     * @param {?} i2\n     * @param {?} v3\n     * @param {?} i3\n     * @param {?} v4\n     * @param {?} suffix\n     * @return {?} itself, so that it may be chained.\n     */\n\n\n    function ɵɵtextInterpolate5(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix) {\n      /** @type {?} */\n      var index = getSelectedIndex();\n      /** @type {?} */\n\n      var lView = getLView();\n      /** @type {?} */\n\n      var interpolated = interpolation5(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix);\n\n      if (interpolated !== NO_CHANGE) {\n        textBindingInternal(lView, index,\n        /** @type {?} */\n        interpolated);\n      }\n\n      return ɵɵtextInterpolate5;\n    }\n    /**\n     *\n     * Update text content with 6 bound values surrounded by other text.\n     *\n     * Used when a text node has 6 interpolated values in it:\n     *\n     * ```html\n     * <div>prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}suffix</div>\n     * ```\n     *\n     * Its compiled representation is:\n     *\n     * ```ts\n     * ɵɵtextInterpolate6(\n     *    'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, 'suffix');\n     * ```\n     *\n     * @see textInterpolateV\n     * \\@codeGenApi\n     * @param {?} prefix\n     * @param {?} v0\n     * @param {?} i0\n     * @param {?} v1\n     * @param {?} i1\n     * @param {?} v2\n     * @param {?} i2\n     * @param {?} v3\n     * @param {?} i3\n     * @param {?} v4\n     * @param {?} i4 Static value used for concatenation only.\n     * @param {?} v5 Value checked for change. \\@returns itself, so that it may be chained.\n     * @param {?} suffix\n     * @return {?}\n     */\n\n\n    function ɵɵtextInterpolate6(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix) {\n      /** @type {?} */\n      var index = getSelectedIndex();\n      /** @type {?} */\n\n      var lView = getLView();\n      /** @type {?} */\n\n      var interpolated = interpolation6(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix);\n\n      if (interpolated !== NO_CHANGE) {\n        textBindingInternal(lView, index,\n        /** @type {?} */\n        interpolated);\n      }\n\n      return ɵɵtextInterpolate6;\n    }\n    /**\n     *\n     * Update text content with 7 bound values surrounded by other text.\n     *\n     * Used when a text node has 7 interpolated values in it:\n     *\n     * ```html\n     * <div>prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}suffix</div>\n     * ```\n     *\n     * Its compiled representation is:\n     *\n     * ```ts\n     * ɵɵtextInterpolate7(\n     *    'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, 'suffix');\n     * ```\n     * @see textInterpolateV\n     * \\@codeGenApi\n     * @param {?} prefix\n     * @param {?} v0\n     * @param {?} i0\n     * @param {?} v1\n     * @param {?} i1\n     * @param {?} v2\n     * @param {?} i2\n     * @param {?} v3\n     * @param {?} i3\n     * @param {?} v4\n     * @param {?} i4\n     * @param {?} v5\n     * @param {?} i5\n     * @param {?} v6\n     * @param {?} suffix\n     * @return {?} itself, so that it may be chained.\n     */\n\n\n    function ɵɵtextInterpolate7(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix) {\n      /** @type {?} */\n      var index = getSelectedIndex();\n      /** @type {?} */\n\n      var lView = getLView();\n      /** @type {?} */\n\n      var interpolated = interpolation7(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix);\n\n      if (interpolated !== NO_CHANGE) {\n        textBindingInternal(lView, index,\n        /** @type {?} */\n        interpolated);\n      }\n\n      return ɵɵtextInterpolate7;\n    }\n    /**\n     *\n     * Update text content with 8 bound values surrounded by other text.\n     *\n     * Used when a text node has 8 interpolated values in it:\n     *\n     * ```html\n     * <div>prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}suffix</div>\n     * ```\n     *\n     * Its compiled representation is:\n     *\n     * ```ts\n     * ɵɵtextInterpolate8(\n     *  'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, 'suffix');\n     * ```\n     * @see textInterpolateV\n     * \\@codeGenApi\n     * @param {?} prefix\n     * @param {?} v0\n     * @param {?} i0\n     * @param {?} v1\n     * @param {?} i1\n     * @param {?} v2\n     * @param {?} i2\n     * @param {?} v3\n     * @param {?} i3\n     * @param {?} v4\n     * @param {?} i4\n     * @param {?} v5\n     * @param {?} i5\n     * @param {?} v6\n     * @param {?} i6\n     * @param {?} v7\n     * @param {?} suffix\n     * @return {?} itself, so that it may be chained.\n     */\n\n\n    function ɵɵtextInterpolate8(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix) {\n      /** @type {?} */\n      var index = getSelectedIndex();\n      /** @type {?} */\n\n      var lView = getLView();\n      /** @type {?} */\n\n      var interpolated = interpolation8(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix);\n\n      if (interpolated !== NO_CHANGE) {\n        textBindingInternal(lView, index,\n        /** @type {?} */\n        interpolated);\n      }\n\n      return ɵɵtextInterpolate8;\n    }\n    /**\n     * Update text content with 9 or more bound values other surrounded by text.\n     *\n     * Used when the number of interpolated values exceeds 8.\n     *\n     * ```html\n     * <div>prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}-{{v8}}-{{v9}}suffix</div>\n     * ```\n     *\n     * Its compiled representation is:\n     *\n     * ```ts\n     * ɵɵtextInterpolateV(\n     *  ['prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, '-', v9,\n     *  'suffix']);\n     * ```\n     * .\n     * \\@codeGenApi\n     * @param {?} values The a collection of values and the strings in between those values, beginning with\n     * a string prefix and ending with a string suffix.\n     * (e.g. `['prefix', value0, '-', value1, '-', value2, ..., value99, 'suffix']`)\n     *\n     * @return {?} itself, so that it may be chained.\n     */\n\n\n    function ɵɵtextInterpolateV(values) {\n      /** @type {?} */\n      var index = getSelectedIndex();\n      /** @type {?} */\n\n      var lView = getLView();\n      /** @type {?} */\n\n      var interpolated = interpolationV(lView, values);\n\n      if (interpolated !== NO_CHANGE) {\n        textBindingInternal(lView, index,\n        /** @type {?} */\n        interpolated);\n      }\n\n      return ɵɵtextInterpolateV;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     *\n     * Update an interpolated class on an element with single bound value surrounded by text.\n     *\n     * Used when the value passed to a property has 1 interpolated value in it:\n     *\n     * ```html\n     * <div class=\"prefix{{v0}}suffix\"></div>\n     * ```\n     *\n     * Its compiled representation is:\n     *\n     * ```ts\n     * ɵɵclassMapInterpolate1('prefix', v0, 'suffix');\n     * ```\n     *\n     * \\@codeGenApi\n     * @param {?} prefix Static value used for concatenation only.\n     * @param {?} v0 Value checked for change.\n     * @param {?} suffix Static value used for concatenation only.\n     * @return {?}\n     */\n\n\n    function ɵɵclassMapInterpolate1(prefix, v0, suffix) {\n      /** @type {?} */\n      var lView = getLView();\n      /** @type {?} */\n\n      var interpolatedValue = interpolation1(lView, prefix, v0, suffix);\n      classMapInternal(getSelectedIndex(), interpolatedValue);\n    }\n    /**\n     *\n     * Update an interpolated class on an element with 2 bound values surrounded by text.\n     *\n     * Used when the value passed to a property has 2 interpolated values in it:\n     *\n     * ```html\n     * <div class=\"prefix{{v0}}-{{v1}}suffix\"></div>\n     * ```\n     *\n     * Its compiled representation is:\n     *\n     * ```ts\n     * ɵɵclassMapInterpolate2('prefix', v0, '-', v1, 'suffix');\n     * ```\n     *\n     * \\@codeGenApi\n     * @param {?} prefix Static value used for concatenation only.\n     * @param {?} v0 Value checked for change.\n     * @param {?} i0 Static value used for concatenation only.\n     * @param {?} v1 Value checked for change.\n     * @param {?} suffix Static value used for concatenation only.\n     * @return {?}\n     */\n\n\n    function ɵɵclassMapInterpolate2(prefix, v0, i0, v1, suffix) {\n      /** @type {?} */\n      var lView = getLView();\n      /** @type {?} */\n\n      var interpolatedValue = interpolation2(lView, prefix, v0, i0, v1, suffix);\n      classMapInternal(getSelectedIndex(), interpolatedValue);\n    }\n    /**\n     *\n     * Update an interpolated class on an element with 3 bound values surrounded by text.\n     *\n     * Used when the value passed to a property has 3 interpolated values in it:\n     *\n     * ```html\n     * <div class=\"prefix{{v0}}-{{v1}}-{{v2}}suffix\"></div>\n     * ```\n     *\n     * Its compiled representation is:\n     *\n     * ```ts\n     * ɵɵclassMapInterpolate3(\n     * 'prefix', v0, '-', v1, '-', v2, 'suffix');\n     * ```\n     *\n     * \\@codeGenApi\n     * @param {?} prefix Static value used for concatenation only.\n     * @param {?} v0 Value checked for change.\n     * @param {?} i0 Static value used for concatenation only.\n     * @param {?} v1 Value checked for change.\n     * @param {?} i1 Static value used for concatenation only.\n     * @param {?} v2 Value checked for change.\n     * @param {?} suffix Static value used for concatenation only.\n     * @return {?}\n     */\n\n\n    function ɵɵclassMapInterpolate3(prefix, v0, i0, v1, i1, v2, suffix) {\n      /** @type {?} */\n      var lView = getLView();\n      /** @type {?} */\n\n      var interpolatedValue = interpolation3(lView, prefix, v0, i0, v1, i1, v2, suffix);\n      classMapInternal(getSelectedIndex(), interpolatedValue);\n    }\n    /**\n     *\n     * Update an interpolated class on an element with 4 bound values surrounded by text.\n     *\n     * Used when the value passed to a property has 4 interpolated values in it:\n     *\n     * ```html\n     * <div class=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}suffix\"></div>\n     * ```\n     *\n     * Its compiled representation is:\n     *\n     * ```ts\n     * ɵɵclassMapInterpolate4(\n     * 'prefix', v0, '-', v1, '-', v2, '-', v3, 'suffix');\n     * ```\n     *\n     * \\@codeGenApi\n     * @param {?} prefix Static value used for concatenation only.\n     * @param {?} v0 Value checked for change.\n     * @param {?} i0 Static value used for concatenation only.\n     * @param {?} v1 Value checked for change.\n     * @param {?} i1 Static value used for concatenation only.\n     * @param {?} v2 Value checked for change.\n     * @param {?} i2 Static value used for concatenation only.\n     * @param {?} v3 Value checked for change.\n     * @param {?} suffix Static value used for concatenation only.\n     * @return {?}\n     */\n\n\n    function ɵɵclassMapInterpolate4(prefix, v0, i0, v1, i1, v2, i2, v3, suffix) {\n      /** @type {?} */\n      var lView = getLView();\n      /** @type {?} */\n\n      var interpolatedValue = interpolation4(lView, prefix, v0, i0, v1, i1, v2, i2, v3, suffix);\n      classMapInternal(getSelectedIndex(), interpolatedValue);\n    }\n    /**\n     *\n     * Update an interpolated class on an element with 5 bound values surrounded by text.\n     *\n     * Used when the value passed to a property has 5 interpolated values in it:\n     *\n     * ```html\n     * <div class=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}suffix\"></div>\n     * ```\n     *\n     * Its compiled representation is:\n     *\n     * ```ts\n     * ɵɵclassMapInterpolate5(\n     * 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, 'suffix');\n     * ```\n     *\n     * \\@codeGenApi\n     * @param {?} prefix Static value used for concatenation only.\n     * @param {?} v0 Value checked for change.\n     * @param {?} i0 Static value used for concatenation only.\n     * @param {?} v1 Value checked for change.\n     * @param {?} i1 Static value used for concatenation only.\n     * @param {?} v2 Value checked for change.\n     * @param {?} i2 Static value used for concatenation only.\n     * @param {?} v3 Value checked for change.\n     * @param {?} i3 Static value used for concatenation only.\n     * @param {?} v4 Value checked for change.\n     * @param {?} suffix Static value used for concatenation only.\n     * @return {?}\n     */\n\n\n    function ɵɵclassMapInterpolate5(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix) {\n      /** @type {?} */\n      var lView = getLView();\n      /** @type {?} */\n\n      var interpolatedValue = interpolation5(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix);\n      classMapInternal(getSelectedIndex(), interpolatedValue);\n    }\n    /**\n     *\n     * Update an interpolated class on an element with 6 bound values surrounded by text.\n     *\n     * Used when the value passed to a property has 6 interpolated values in it:\n     *\n     * ```html\n     * <div class=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}suffix\"></div>\n     * ```\n     *\n     * Its compiled representation is:\n     *\n     * ```ts\n     * ɵɵclassMapInterpolate6(\n     *    'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, 'suffix');\n     * ```\n     *\n     * \\@codeGenApi\n     * @param {?} prefix Static value used for concatenation only.\n     * @param {?} v0 Value checked for change.\n     * @param {?} i0 Static value used for concatenation only.\n     * @param {?} v1 Value checked for change.\n     * @param {?} i1 Static value used for concatenation only.\n     * @param {?} v2 Value checked for change.\n     * @param {?} i2 Static value used for concatenation only.\n     * @param {?} v3 Value checked for change.\n     * @param {?} i3 Static value used for concatenation only.\n     * @param {?} v4 Value checked for change.\n     * @param {?} i4 Static value used for concatenation only.\n     * @param {?} v5 Value checked for change.\n     * @param {?} suffix Static value used for concatenation only.\n     * @return {?}\n     */\n\n\n    function ɵɵclassMapInterpolate6(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix) {\n      /** @type {?} */\n      var lView = getLView();\n      /** @type {?} */\n\n      var interpolatedValue = interpolation6(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix);\n      classMapInternal(getSelectedIndex(), interpolatedValue);\n    }\n    /**\n     *\n     * Update an interpolated class on an element with 7 bound values surrounded by text.\n     *\n     * Used when the value passed to a property has 7 interpolated values in it:\n     *\n     * ```html\n     * <div class=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}suffix\"></div>\n     * ```\n     *\n     * Its compiled representation is:\n     *\n     * ```ts\n     * ɵɵclassMapInterpolate7(\n     *    'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, 'suffix');\n     * ```\n     *\n     * \\@codeGenApi\n     * @param {?} prefix Static value used for concatenation only.\n     * @param {?} v0 Value checked for change.\n     * @param {?} i0 Static value used for concatenation only.\n     * @param {?} v1 Value checked for change.\n     * @param {?} i1 Static value used for concatenation only.\n     * @param {?} v2 Value checked for change.\n     * @param {?} i2 Static value used for concatenation only.\n     * @param {?} v3 Value checked for change.\n     * @param {?} i3 Static value used for concatenation only.\n     * @param {?} v4 Value checked for change.\n     * @param {?} i4 Static value used for concatenation only.\n     * @param {?} v5 Value checked for change.\n     * @param {?} i5 Static value used for concatenation only.\n     * @param {?} v6 Value checked for change.\n     * @param {?} suffix Static value used for concatenation only.\n     * @return {?}\n     */\n\n\n    function ɵɵclassMapInterpolate7(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix) {\n      /** @type {?} */\n      var lView = getLView();\n      /** @type {?} */\n\n      var interpolatedValue = interpolation7(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix);\n      classMapInternal(getSelectedIndex(), interpolatedValue);\n    }\n    /**\n     *\n     * Update an interpolated class on an element with 8 bound values surrounded by text.\n     *\n     * Used when the value passed to a property has 8 interpolated values in it:\n     *\n     * ```html\n     * <div class=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}suffix\"></div>\n     * ```\n     *\n     * Its compiled representation is:\n     *\n     * ```ts\n     * ɵɵclassMapInterpolate8(\n     *  'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, 'suffix');\n     * ```\n     *\n     * \\@codeGenApi\n     * @param {?} prefix Static value used for concatenation only.\n     * @param {?} v0 Value checked for change.\n     * @param {?} i0 Static value used for concatenation only.\n     * @param {?} v1 Value checked for change.\n     * @param {?} i1 Static value used for concatenation only.\n     * @param {?} v2 Value checked for change.\n     * @param {?} i2 Static value used for concatenation only.\n     * @param {?} v3 Value checked for change.\n     * @param {?} i3 Static value used for concatenation only.\n     * @param {?} v4 Value checked for change.\n     * @param {?} i4 Static value used for concatenation only.\n     * @param {?} v5 Value checked for change.\n     * @param {?} i5 Static value used for concatenation only.\n     * @param {?} v6 Value checked for change.\n     * @param {?} i6 Static value used for concatenation only.\n     * @param {?} v7 Value checked for change.\n     * @param {?} suffix Static value used for concatenation only.\n     * @return {?}\n     */\n\n\n    function ɵɵclassMapInterpolate8(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix) {\n      /** @type {?} */\n      var lView = getLView();\n      /** @type {?} */\n\n      var interpolatedValue = interpolation8(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix);\n      classMapInternal(getSelectedIndex(), interpolatedValue);\n    }\n    /**\n     * Update an interpolated class on an element with 8 or more bound values surrounded by text.\n     *\n     * Used when the number of interpolated values exceeds 7.\n     *\n     * ```html\n     * <div\n     *  class=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}-{{v8}}-{{v9}}suffix\"></div>\n     * ```\n     *\n     * Its compiled representation is:\n     *\n     * ```ts\n     * ɵɵclassMapInterpolateV(\n     *  ['prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, '-', v9,\n     *  'suffix']);\n     * ```\n     * .\n     * \\@codeGenApi\n     * @param {?} values The a collection of values and the strings in-between those values, beginning with\n     * a string prefix and ending with a string suffix.\n     * (e.g. `['prefix', value0, '-', value1, '-', value2, ..., value99, 'suffix']`)\n     * @return {?}\n     */\n\n\n    function ɵɵclassMapInterpolateV(values) {\n      /** @type {?} */\n      var lView = getLView();\n      /** @type {?} */\n\n      var interpolatedValue = interpolationV(lView, values);\n      classMapInternal(getSelectedIndex(), interpolatedValue);\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     *\n     * Update an interpolated style property on an element with single bound value surrounded by text.\n     *\n     * Used when the value passed to a property has 1 interpolated value in it:\n     *\n     * ```html\n     * <div style.color=\"prefix{{v0}}suffix\"></div>\n     * ```\n     *\n     * Its compiled representation is:\n     *\n     * ```ts\n     * ɵɵstylePropInterpolate1(0, 'prefix', v0, 'suffix');\n     * ```\n     *\n     * \\@codeGenApi\n     * @param {?} prop\n     * @param {?} prefix Static value used for concatenation only.\n     * @param {?} v0 Value checked for change.\n     * @param {?} suffix Static value used for concatenation only.\n     * @param {?=} valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.\n     * @return {?} itself, so that it may be chained.\n     */\n\n\n    function ɵɵstylePropInterpolate1(prop, prefix, v0, suffix, valueSuffix) {\n      /** @type {?} */\n      var lView = getLView();\n      /** @type {?} */\n\n      var interpolatedValue = interpolation1(lView, prefix, v0, suffix);\n      stylePropInternal(getSelectedIndex(), prop,\n      /** @type {?} */\n      interpolatedValue, valueSuffix);\n      return ɵɵstylePropInterpolate1;\n    }\n    /**\n     *\n     * Update an interpolated style property on an element with 2 bound values surrounded by text.\n     *\n     * Used when the value passed to a property has 2 interpolated values in it:\n     *\n     * ```html\n     * <div style.color=\"prefix{{v0}}-{{v1}}suffix\"></div>\n     * ```\n     *\n     * Its compiled representation is:\n     *\n     * ```ts\n     * ɵɵstylePropInterpolate2(0, 'prefix', v0, '-', v1, 'suffix');\n     * ```\n     *\n     * \\@codeGenApi\n     * @param {?} prop\n     * @param {?} prefix Static value used for concatenation only.\n     * @param {?} v0 Value checked for change.\n     * @param {?} i0 Static value used for concatenation only.\n     * @param {?} v1 Value checked for change.\n     * @param {?} suffix Static value used for concatenation only.\n     * @param {?=} valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.\n     * @return {?} itself, so that it may be chained.\n     */\n\n\n    function ɵɵstylePropInterpolate2(prop, prefix, v0, i0, v1, suffix, valueSuffix) {\n      /** @type {?} */\n      var lView = getLView();\n      /** @type {?} */\n\n      var interpolatedValue = interpolation2(lView, prefix, v0, i0, v1, suffix);\n      stylePropInternal(getSelectedIndex(), prop,\n      /** @type {?} */\n      interpolatedValue, valueSuffix);\n      return ɵɵstylePropInterpolate2;\n    }\n    /**\n     *\n     * Update an interpolated style property on an element with 3 bound values surrounded by text.\n     *\n     * Used when the value passed to a property has 3 interpolated values in it:\n     *\n     * ```html\n     * <div style.color=\"prefix{{v0}}-{{v1}}-{{v2}}suffix\"></div>\n     * ```\n     *\n     * Its compiled representation is:\n     *\n     * ```ts\n     * ɵɵstylePropInterpolate3(0, 'prefix', v0, '-', v1, '-', v2, 'suffix');\n     * ```\n     *\n     * \\@codeGenApi\n     * @param {?} prop\n     * @param {?} prefix Static value used for concatenation only.\n     * @param {?} v0 Value checked for change.\n     * @param {?} i0 Static value used for concatenation only.\n     * @param {?} v1 Value checked for change.\n     * @param {?} i1 Static value used for concatenation only.\n     * @param {?} v2 Value checked for change.\n     * @param {?} suffix Static value used for concatenation only.\n     * @param {?=} valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.\n     * @return {?} itself, so that it may be chained.\n     */\n\n\n    function ɵɵstylePropInterpolate3(prop, prefix, v0, i0, v1, i1, v2, suffix, valueSuffix) {\n      /** @type {?} */\n      var lView = getLView();\n      /** @type {?} */\n\n      var interpolatedValue = interpolation3(lView, prefix, v0, i0, v1, i1, v2, suffix);\n      stylePropInternal(getSelectedIndex(), prop,\n      /** @type {?} */\n      interpolatedValue, valueSuffix);\n      return ɵɵstylePropInterpolate3;\n    }\n    /**\n     *\n     * Update an interpolated style property on an element with 4 bound values surrounded by text.\n     *\n     * Used when the value passed to a property has 4 interpolated values in it:\n     *\n     * ```html\n     * <div style.color=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}suffix\"></div>\n     * ```\n     *\n     * Its compiled representation is:\n     *\n     * ```ts\n     * ɵɵstylePropInterpolate4(0, 'prefix', v0, '-', v1, '-', v2, '-', v3, 'suffix');\n     * ```\n     *\n     * \\@codeGenApi\n     * @param {?} prop\n     * @param {?} prefix Static value used for concatenation only.\n     * @param {?} v0 Value checked for change.\n     * @param {?} i0 Static value used for concatenation only.\n     * @param {?} v1 Value checked for change.\n     * @param {?} i1 Static value used for concatenation only.\n     * @param {?} v2 Value checked for change.\n     * @param {?} i2 Static value used for concatenation only.\n     * @param {?} v3 Value checked for change.\n     * @param {?} suffix Static value used for concatenation only.\n     * @param {?=} valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.\n     * @return {?} itself, so that it may be chained.\n     */\n\n\n    function ɵɵstylePropInterpolate4(prop, prefix, v0, i0, v1, i1, v2, i2, v3, suffix, valueSuffix) {\n      /** @type {?} */\n      var lView = getLView();\n      /** @type {?} */\n\n      var interpolatedValue = interpolation4(lView, prefix, v0, i0, v1, i1, v2, i2, v3, suffix);\n      stylePropInternal(getSelectedIndex(), prop,\n      /** @type {?} */\n      interpolatedValue, valueSuffix);\n      return ɵɵstylePropInterpolate4;\n    }\n    /**\n     *\n     * Update an interpolated style property on an element with 5 bound values surrounded by text.\n     *\n     * Used when the value passed to a property has 5 interpolated values in it:\n     *\n     * ```html\n     * <div style.color=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}suffix\"></div>\n     * ```\n     *\n     * Its compiled representation is:\n     *\n     * ```ts\n     * ɵɵstylePropInterpolate5(0, 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, 'suffix');\n     * ```\n     *\n     * \\@codeGenApi\n     * @param {?} prop\n     * @param {?} prefix Static value used for concatenation only.\n     * @param {?} v0 Value checked for change.\n     * @param {?} i0 Static value used for concatenation only.\n     * @param {?} v1 Value checked for change.\n     * @param {?} i1 Static value used for concatenation only.\n     * @param {?} v2 Value checked for change.\n     * @param {?} i2 Static value used for concatenation only.\n     * @param {?} v3 Value checked for change.\n     * @param {?} i3 Static value used for concatenation only.\n     * @param {?} v4 Value checked for change.\n     * @param {?} suffix Static value used for concatenation only.\n     * @param {?=} valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.\n     * @return {?} itself, so that it may be chained.\n     */\n\n\n    function ɵɵstylePropInterpolate5(prop, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix, valueSuffix) {\n      /** @type {?} */\n      var lView = getLView();\n      /** @type {?} */\n\n      var interpolatedValue = interpolation5(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix);\n      stylePropInternal(getSelectedIndex(), prop,\n      /** @type {?} */\n      interpolatedValue, valueSuffix);\n      return ɵɵstylePropInterpolate5;\n    }\n    /**\n     *\n     * Update an interpolated style property on an element with 6 bound values surrounded by text.\n     *\n     * Used when the value passed to a property has 6 interpolated values in it:\n     *\n     * ```html\n     * <div style.color=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}suffix\"></div>\n     * ```\n     *\n     * Its compiled representation is:\n     *\n     * ```ts\n     * ɵɵstylePropInterpolate6(0, 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, 'suffix');\n     * ```\n     *\n     * \\@codeGenApi\n     * @param {?} prop\n     * @param {?} prefix Static value used for concatenation only.\n     * @param {?} v0 Value checked for change.\n     * @param {?} i0 Static value used for concatenation only.\n     * @param {?} v1 Value checked for change.\n     * @param {?} i1 Static value used for concatenation only.\n     * @param {?} v2 Value checked for change.\n     * @param {?} i2 Static value used for concatenation only.\n     * @param {?} v3 Value checked for change.\n     * @param {?} i3 Static value used for concatenation only.\n     * @param {?} v4 Value checked for change.\n     * @param {?} i4 Static value used for concatenation only.\n     * @param {?} v5 Value checked for change.\n     * @param {?} suffix Static value used for concatenation only.\n     * @param {?=} valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.\n     * @return {?} itself, so that it may be chained.\n     */\n\n\n    function ɵɵstylePropInterpolate6(prop, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix, valueSuffix) {\n      /** @type {?} */\n      var lView = getLView();\n      /** @type {?} */\n\n      var interpolatedValue = interpolation6(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix);\n      stylePropInternal(getSelectedIndex(), prop,\n      /** @type {?} */\n      interpolatedValue, valueSuffix);\n      return ɵɵstylePropInterpolate6;\n    }\n    /**\n     *\n     * Update an interpolated style property on an element with 7 bound values surrounded by text.\n     *\n     * Used when the value passed to a property has 7 interpolated values in it:\n     *\n     * ```html\n     * <div style.color=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}suffix\"></div>\n     * ```\n     *\n     * Its compiled representation is:\n     *\n     * ```ts\n     * ɵɵstylePropInterpolate7(\n     *    0, 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, 'suffix');\n     * ```\n     *\n     * \\@codeGenApi\n     * @param {?} prop\n     * @param {?} prefix Static value used for concatenation only.\n     * @param {?} v0 Value checked for change.\n     * @param {?} i0 Static value used for concatenation only.\n     * @param {?} v1 Value checked for change.\n     * @param {?} i1 Static value used for concatenation only.\n     * @param {?} v2 Value checked for change.\n     * @param {?} i2 Static value used for concatenation only.\n     * @param {?} v3 Value checked for change.\n     * @param {?} i3 Static value used for concatenation only.\n     * @param {?} v4 Value checked for change.\n     * @param {?} i4 Static value used for concatenation only.\n     * @param {?} v5 Value checked for change.\n     * @param {?} i5 Static value used for concatenation only.\n     * @param {?} v6 Value checked for change.\n     * @param {?} suffix Static value used for concatenation only.\n     * @param {?=} valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.\n     * @return {?} itself, so that it may be chained.\n     */\n\n\n    function ɵɵstylePropInterpolate7(prop, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix, valueSuffix) {\n      /** @type {?} */\n      var lView = getLView();\n      /** @type {?} */\n\n      var interpolatedValue = interpolation7(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix);\n      stylePropInternal(getSelectedIndex(), prop,\n      /** @type {?} */\n      interpolatedValue, valueSuffix);\n      return ɵɵstylePropInterpolate7;\n    }\n    /**\n     *\n     * Update an interpolated style property on an element with 8 bound values surrounded by text.\n     *\n     * Used when the value passed to a property has 8 interpolated values in it:\n     *\n     * ```html\n     * <div style.color=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}suffix\"></div>\n     * ```\n     *\n     * Its compiled representation is:\n     *\n     * ```ts\n     * ɵɵstylePropInterpolate8(0, 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6,\n     * '-', v7, 'suffix');\n     * ```\n     *\n     * \\@codeGenApi\n     * @param {?} prop\n     * @param {?} prefix Static value used for concatenation only.\n     * @param {?} v0 Value checked for change.\n     * @param {?} i0 Static value used for concatenation only.\n     * @param {?} v1 Value checked for change.\n     * @param {?} i1 Static value used for concatenation only.\n     * @param {?} v2 Value checked for change.\n     * @param {?} i2 Static value used for concatenation only.\n     * @param {?} v3 Value checked for change.\n     * @param {?} i3 Static value used for concatenation only.\n     * @param {?} v4 Value checked for change.\n     * @param {?} i4 Static value used for concatenation only.\n     * @param {?} v5 Value checked for change.\n     * @param {?} i5 Static value used for concatenation only.\n     * @param {?} v6 Value checked for change.\n     * @param {?} i6 Static value used for concatenation only.\n     * @param {?} v7 Value checked for change.\n     * @param {?} suffix Static value used for concatenation only.\n     * @param {?=} valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.\n     * @return {?} itself, so that it may be chained.\n     */\n\n\n    function ɵɵstylePropInterpolate8(prop, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix, valueSuffix) {\n      /** @type {?} */\n      var lView = getLView();\n      /** @type {?} */\n\n      var interpolatedValue = interpolation8(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix);\n      stylePropInternal(getSelectedIndex(), prop,\n      /** @type {?} */\n      interpolatedValue, valueSuffix);\n      return ɵɵstylePropInterpolate8;\n    }\n    /**\n     * Update an interpolated style property on an element with 8 or more bound values surrounded by\n     * text.\n     *\n     * Used when the number of interpolated values exceeds 7.\n     *\n     * ```html\n     * <div\n     *  style.color=\"prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}-{{v8}}-{{v9}}suffix\">\n     * </div>\n     * ```\n     *\n     * Its compiled representation is:\n     *\n     * ```ts\n     * ɵɵstylePropInterpolateV(\n     *  0, ['prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, '-', v9,\n     *  'suffix']);\n     * ```\n     *\n     * \\@codeGenApi\n     * @param {?} prop\n     * @param {?} values The a collection of values and the strings in-between those values, beginning with\n     * a string prefix and ending with a string suffix.\n     * (e.g. `['prefix', value0, '-', value1, '-', value2, ..., value99, 'suffix']`)\n     * @param {?=} valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.\n     * @return {?} itself, so that it may be chained.\n     */\n\n\n    function ɵɵstylePropInterpolateV(prop, values, valueSuffix) {\n      /** @type {?} */\n      var lView = getLView();\n      /** @type {?} */\n\n      var interpolatedValue = interpolationV(lView, values);\n      stylePropInternal(getSelectedIndex(), prop,\n      /** @type {?} */\n      interpolatedValue, valueSuffix);\n      return ɵɵstylePropInterpolateV;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Update a property on a host element. Only applies to native node properties, not inputs.\n     *\n     * Operates on the element selected by index via the {\\@link select} instruction.\n     *\n     * \\@codeGenApi\n     * @template T\n     * @param {?} propName Name of property. Because it is going to DOM, this is not subject to\n     *        renaming as part of minification.\n     * @param {?} value New value to write.\n     * @param {?=} sanitizer An optional function used to sanitize the value.\n     * @return {?} This function returns itself so that it may be chained\n     * (e.g. `property('name', ctx.name)('title', ctx.title)`)\n     *\n     */\n\n\n    function ɵɵhostProperty(propName, value, sanitizer) {\n      /** @type {?} */\n      var index = getSelectedIndex();\n      ngDevMode && assertNotEqual(index, -1, 'selected index cannot be -1');\n      /** @type {?} */\n\n      var lView = getLView();\n      /** @type {?} */\n\n      var bindReconciledValue = bind(lView, value);\n\n      if (bindReconciledValue !== NO_CHANGE) {\n        elementPropertyInternal(index, propName, bindReconciledValue, sanitizer, true);\n      }\n\n      return ɵɵhostProperty;\n    }\n    /**\n     * Updates a synthetic host binding (e.g. `[\\@foo]`) on a component.\n     *\n     * This instruction is for compatibility purposes and is designed to ensure that a\n     * synthetic host binding (e.g. `\\@HostBinding('\\@foo')`) properly gets rendered in\n     * the component's renderer. Normally all host bindings are evaluated with the parent\n     * component's renderer, but, in the case of animation \\@triggers, they need to be\n     * evaluated with the sub component's renderer (because that's where the animation\n     * triggers are defined).\n     *\n     * Do not use this instruction as a replacement for `elementProperty`. This instruction\n     * only exists to ensure compatibility with the ViewEngine's host binding behavior.\n     *\n     * \\@codeGenApi\n     * @template T\n     * @param {?} propName Name of property. Because it is going to DOM, this is not subject to\n     *        renaming as part of minification.\n     * @param {?} value New value to write.\n     * @param {?=} sanitizer An optional function used to sanitize the value.\n     *\n     * @return {?}\n     */\n\n\n    function ɵɵupdateSyntheticHostBinding(propName, value, sanitizer) {\n      /** @type {?} */\n      var index = getSelectedIndex();\n      /** @type {?} */\n\n      var lView = getLView(); // TODO(benlesh): remove bind call here.\n\n      /** @type {?} */\n\n      var bound = bind(lView, value);\n\n      if (bound !== NO_CHANGE) {\n        elementPropertyInternal(index, propName, bound, sanitizer, true, loadComponentRenderer);\n      }\n\n      return ɵɵupdateSyntheticHostBinding;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Returns the component instance associated with a given DOM host element.\n     * Elements which don't represent components return `null`.\n     *\n     * \\@publicApi\n     * @template T\n     * @param {?} element Host DOM element from which the component should be retrieved.\n     *\n     * ```\n     * <my-app>\n     *   #VIEW\n     *     <div>\n     *       <child-comp></child-comp>\n     *     </div>\n     * </mp-app>\n     *\n     * expect(getComponent(<child-comp>) instanceof ChildComponent).toBeTruthy();\n     * expect(getComponent(<my-app>) instanceof MyApp).toBeTruthy();\n     * ```\n     *\n     * @return {?}\n     */\n\n\n    function getComponent(element) {\n      /** @type {?} */\n      var context = loadLContextFromNode(element);\n\n      if (context.component === undefined) {\n        context.component = getComponentAtNodeIndex(context.nodeIndex, context.lView);\n      }\n\n      return (\n        /** @type {?} */\n        context.component\n      );\n    }\n    /**\n     * Returns the component instance associated with a given DOM host element.\n     * Elements which don't represent components return `null`.\n     *\n     * \\@publicApi\n     * @template T\n     * @param {?} element Host DOM element from which the component should be retrieved.\n     *\n     * ```\n     * <my-app>\n     *   #VIEW\n     *     <div>\n     *       <child-comp></child-comp>\n     *     </div>\n     * </mp-app>\n     *\n     * expect(getComponent(<child-comp>) instanceof ChildComponent).toBeTruthy();\n     * expect(getComponent(<my-app>) instanceof MyApp).toBeTruthy();\n     * ```\n     *\n     * @return {?}\n     */\n\n\n    function getContext$1(element) {\n      /** @type {?} */\n      var context =\n      /** @type {?} */\n      loadLContextFromNode(element);\n      return (\n        /** @type {?} */\n        context.lView[CONTEXT]\n      );\n    }\n    /**\n     * Returns the component instance associated with view which owns the DOM element (`null`\n     * otherwise).\n     *\n     * \\@publicApi\n     * @template T\n     * @param {?} element DOM element which is owned by an existing component's view.\n     *\n     * ```\n     * <my-app>\n     *   #VIEW\n     *     <div>\n     *       <child-comp></child-comp>\n     *     </div>\n     * </mp-app>\n     *\n     * expect(getViewComponent(<child-comp>) instanceof MyApp).toBeTruthy();\n     * expect(getViewComponent(<my-app>)).toEqual(null);\n     * ```\n     *\n     * @return {?}\n     */\n\n\n    function getViewComponent(element) {\n      /** @type {?} */\n      var context =\n      /** @type {?} */\n      loadLContext(element);\n      /** @type {?} */\n\n      var lView = context.lView;\n      /** @type {?} */\n\n      var parent;\n      ngDevMode && assertLView(lView);\n\n      while (lView[HOST] === null && (parent =\n      /** @type {?} */\n      getLViewParent(lView))) {\n        // As long as lView[HOST] is null we know we are part of sub-template such as `*ngIf`\n        lView = parent;\n      }\n\n      return lView[FLAGS] & 512\n      /* IsRoot */\n      ? null :\n      /** @type {?} */\n      lView[CONTEXT];\n    }\n    /**\n     * Retrieve all root components.\n     *\n     * Root components are those which have been bootstrapped by Angular.\n     *\n     * \\@publicApi\n     * @param {?} target A DOM element, component or directive instance.\n     *\n     * @return {?}\n     */\n\n\n    function getRootComponents(target) {\n      return _toConsumableArray(getRootContext(target).components);\n    }\n    /**\n     * Retrieves an `Injector` associated with the element, component or directive.\n     *\n     * \\@publicApi\n     * @param {?} target A DOM element, component or directive instance.\n     *\n     * @return {?}\n     */\n\n\n    function getInjector(target) {\n      /** @type {?} */\n      var context = loadLContext(target);\n      /** @type {?} */\n\n      var tNode =\n      /** @type {?} */\n      context.lView[TVIEW].data[context.nodeIndex];\n      return new NodeInjector(tNode, context.lView);\n    }\n    /**\n     * Retrieve a set of injection tokens at a given DOM node.\n     *\n     * \\@publicApi\n     * @param {?} element Element for which the injection tokens should be retrieved.\n     * @return {?}\n     */\n\n\n    function getInjectionTokens(element) {\n      /** @type {?} */\n      var context = loadLContext(element, false);\n      if (!context) return [];\n      /** @type {?} */\n\n      var lView = context.lView;\n      /** @type {?} */\n\n      var tView = lView[TVIEW];\n      /** @type {?} */\n\n      var tNode =\n      /** @type {?} */\n      tView.data[context.nodeIndex];\n      /** @type {?} */\n\n      var providerTokens = [];\n      /** @type {?} */\n\n      var startIndex = tNode.providerIndexes & 65535\n      /* ProvidersStartIndexMask */\n      ;\n      /** @type {?} */\n\n      var endIndex = tNode.directiveEnd;\n\n      for (var i = startIndex; i < endIndex; i++) {\n        /** @type {?} */\n        var value = tView.data[i];\n\n        if (isDirectiveDefHack(value)) {\n          // The fact that we sometimes store Type and sometimes DirectiveDef in this location is a\n          // design flaw.  We should always store same type so that we can be monomorphic. The issue\n          // is that for Components/Directives we store the def instead the type. The correct behavior\n          // is that we should always be storing injectable type in this location.\n          value = value.type;\n        }\n\n        providerTokens.push(value);\n      }\n\n      return providerTokens;\n    }\n    /**\n     * Retrieves directives associated with a given DOM host element.\n     *\n     * \\@publicApi\n     * @param {?} target A DOM element, component or directive instance.\n     *\n     * @return {?}\n     */\n\n\n    function getDirectives(target) {\n      /** @type {?} */\n      var context =\n      /** @type {?} */\n      loadLContext(target);\n\n      if (context.directives === undefined) {\n        context.directives = getDirectivesAtNodeIndex(context.nodeIndex, context.lView, false);\n      }\n\n      return context.directives || [];\n    }\n    /**\n     * @param {?} target\n     * @param {?=} throwOnNotFound\n     * @return {?}\n     */\n\n\n    function loadLContext(target) {\n      var throwOnNotFound = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n\n      /** @type {?} */\n      var context = getLContext(target);\n\n      if (!context && throwOnNotFound) {\n        throw new Error(ngDevMode ? \"Unable to find context associated with \".concat(stringifyForError(target)) : 'Invalid ng target');\n      }\n\n      return context;\n    }\n    /**\n     * Retrieve map of local references.\n     *\n     * The references are retrieved as a map of local reference name to element or directive instance.\n     *\n     * \\@publicApi\n     * @param {?} target A DOM element, component or directive instance.\n     *\n     * @return {?}\n     */\n\n\n    function getLocalRefs(target) {\n      /** @type {?} */\n      var context =\n      /** @type {?} */\n      loadLContext(target);\n\n      if (context.localRefs === undefined) {\n        context.localRefs = discoverLocalRefs(context.lView, context.nodeIndex);\n      }\n\n      return context.localRefs || {};\n    }\n    /**\n     * Retrieve the host element of the component.\n     *\n     * Use this function to retrieve the host element of the component. The host\n     * element is the element which the component is associated with.\n     *\n     * \\@publicApi\n     * @template T\n     * @param {?} directive Component or Directive for which the host element should be retrieved.\n     *\n     * @return {?}\n     */\n\n\n    function getHostElement(directive) {\n      return (\n        /** @type {?} */\n\n        /** @type {?} */\n\n        /** @type {?} */\n        getLContext(directive).native\n      );\n    }\n    /**\n     * Retrieves the rendered text for a given component.\n     *\n     * This function retrieves the host element of a component and\n     * and then returns the `textContent` for that element. This implies\n     * that the text returned will include re-projected content of\n     * the component as well.\n     *\n     * @param {?} component The component to return the content text for.\n     * @return {?}\n     */\n\n\n    function getRenderedText(component) {\n      /** @type {?} */\n      var hostElement = getHostElement(component);\n      return hostElement.textContent || '';\n    }\n    /**\n     * @param {?} node\n     * @return {?}\n     */\n\n\n    function loadLContextFromNode(node) {\n      if (!(node instanceof Node)) throw new Error('Expecting instance of DOM Node');\n      return (\n        /** @type {?} */\n        loadLContext(node)\n      );\n    }\n    /**\n     * @record\n     */\n\n\n    function Listener() {}\n\n    if (false) {}\n    /**\n     * @param {?} listener\n     * @return {?}\n     */\n\n\n    function isBrowserEvents(listener) {\n      // Browser events are those which don't have `useCapture` as boolean.\n      return typeof listener.useCapture === 'boolean';\n    }\n    /**\n     * Retrieves a list of DOM listeners.\n     *\n     * ```\n     * <my-app>\n     *   #VIEW\n     *     <div (click)=\"doSomething()\">\n     *     </div>\n     * </mp-app>\n     *\n     * expect(getListeners(<div>)).toEqual({\n     *   name: 'click',\n     *   element: <div>,\n     *   callback: () => doSomething(),\n     *   useCapture: false\n     * });\n     * ```\n     *\n     * \\@publicApi\n     * @param {?} element Element for which the DOM listeners should be retrieved.\n     * @return {?}\n     */\n\n\n    function getListeners(element) {\n      /** @type {?} */\n      var lContext = loadLContextFromNode(element);\n      /** @type {?} */\n\n      var lView = lContext.lView;\n      /** @type {?} */\n\n      var tView = lView[TVIEW];\n      /** @type {?} */\n\n      var lCleanup = lView[CLEANUP];\n      /** @type {?} */\n\n      var tCleanup = tView.cleanup;\n      /** @type {?} */\n\n      var listeners = [];\n\n      if (tCleanup && lCleanup) {\n        for (var i = 0; i < tCleanup.length;) {\n          /** @type {?} */\n          var firstParam = tCleanup[i++];\n          /** @type {?} */\n\n          var secondParam = tCleanup[i++];\n\n          if (typeof firstParam === 'string') {\n            /** @type {?} */\n            var name = firstParam;\n            /** @type {?} */\n\n            var listenerElement =\n            /** @type {?} */\n\n            /** @type {?} */\n            unwrapRNode(lView[secondParam]);\n            /** @type {?} */\n\n            var callback = lCleanup[tCleanup[i++]];\n            /** @type {?} */\n\n            var useCaptureOrIndx = tCleanup[i++]; // if useCaptureOrIndx is boolean then report it as is.\n            // if useCaptureOrIndx is positive number then it in unsubscribe method\n            // if useCaptureOrIndx is negative number then it is a Subscription\n\n            /** @type {?} */\n\n            var useCapture = typeof useCaptureOrIndx === 'boolean' ? useCaptureOrIndx : useCaptureOrIndx >= 0 ? false : null;\n\n            if (element == listenerElement) {\n              listeners.push({\n                element: element,\n                name: name,\n                callback: callback,\n                useCapture: useCapture\n              });\n            }\n          }\n        }\n      }\n\n      listeners.sort(sortListeners);\n      return listeners;\n    }\n    /**\n     * @param {?} a\n     * @param {?} b\n     * @return {?}\n     */\n\n\n    function sortListeners(a, b) {\n      if (a.name == b.name) return 0;\n      return a.name < b.name ? -1 : 1;\n    }\n    /**\n     * This function should not exist because it is megamorphic and only mostly correct.\n     *\n     * See call site for more info.\n     * @param {?} obj\n     * @return {?}\n     */\n\n\n    function isDirectiveDefHack(obj) {\n      return obj.type !== undefined && obj.template !== undefined && obj.declaredInputs !== undefined;\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * This value reflects the property on the window where the dev\n     * tools are patched (window.ng).\n     *\n     * @type {?}\n     */\n\n\n    var GLOBAL_PUBLISH_EXPANDO_KEY = 'ng';\n    /** @type {?} */\n\n    var _published = false;\n    /**\n     * Publishes a collection of default debug tools onto`window.ng`.\n     *\n     * These functions are available globally when Angular is in development\n     * mode and are automatically stripped away from prod mode is on.\n     * @return {?}\n     */\n\n    function publishDefaultGlobalUtils() {\n      if (!_published) {\n        _published = true;\n        publishGlobalUtil('getComponent', getComponent);\n        publishGlobalUtil('getContext', getContext$1);\n        publishGlobalUtil('getListeners', getListeners);\n        publishGlobalUtil('getViewComponent', getViewComponent);\n        publishGlobalUtil('getHostElement', getHostElement);\n        publishGlobalUtil('getInjector', getInjector);\n        publishGlobalUtil('getRootComponents', getRootComponents);\n        publishGlobalUtil('getDirectives', getDirectives);\n        publishGlobalUtil('markDirty', markDirty);\n      }\n    }\n    /**\n     * Publishes the given function to `window.ng` so that it can be\n     * used from the browser console when an application is not in production.\n     * @param {?} name\n     * @param {?} fn\n     * @return {?}\n     */\n\n\n    function publishGlobalUtil(name, fn) {\n      /** @type {?} */\n      var w =\n      /** @type {?} */\n\n      /** @type {?} */\n      _global;\n      ngDevMode && assertDefined(fn, 'function not defined');\n\n      if (w) {\n        /** @type {?} */\n        var container = w[GLOBAL_PUBLISH_EXPANDO_KEY];\n\n        if (!container) {\n          container = w[GLOBAL_PUBLISH_EXPANDO_KEY] = {};\n        }\n\n        container[name] = fn;\n      }\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Options that control how the component should be bootstrapped.\n     * @record\n     */\n\n\n    function CreateComponentOptions() {}\n\n    if (false) {} // TODO: A hack to not pull in the NullInjector from @angular/core.\n\n\n    var ɵ0$c =\n    /**\n    * @param {?} token\n    * @param {?=} notFoundValue\n    * @return {?}\n    */\n    function ɵ0$c(token, notFoundValue) {\n      throw new Error('NullInjector: Not found: ' + stringifyForError(token));\n    };\n    /** @type {?} */\n\n\n    var NULL_INJECTOR$1 = {\n      get: ɵ0$c\n    };\n    /**\n     * Bootstraps a Component into an existing host element and returns an instance\n     * of the component.\n     *\n     * Use this function to bootstrap a component into the DOM tree. Each invocation\n     * of this function will create a separate tree of components, injectors and\n     * change detection cycles and lifetimes. To dynamically insert a new component\n     * into an existing tree such that it shares the same injection, change detection\n     * and object lifetime, use {\\@link ViewContainer#createComponent}.\n     *\n     * @template T\n     * @param {?} componentType Component to bootstrap\n     * @param {?=} opts\n     * @return {?}\n     */\n\n    function renderComponent(componentType\n    /* Type as workaround for: Microsoft/TypeScript/issues/4881 */\n    ) {\n      var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n      ngDevMode && publishDefaultGlobalUtils();\n      ngDevMode && assertComponentType(componentType); // this is preemptively set to avoid having test and debug code accidentally\n      // read data from a previous application state...\n\n      setActiveHostElement(null);\n      /** @type {?} */\n\n      var rendererFactory = opts.rendererFactory || domRendererFactory3;\n      /** @type {?} */\n\n      var sanitizer = opts.sanitizer || null;\n      /** @type {?} */\n\n      var componentDef =\n      /** @type {?} */\n      getComponentDef(componentType);\n      if (componentDef.type != componentType) componentDef.type = componentType; // The first index of the first selector is the tag name.\n\n      /** @type {?} */\n\n      var componentTag =\n      /** @type {?} */\n\n      /** @type {?} */\n\n      /** @type {?} */\n      componentDef.selectors[0][0];\n      /** @type {?} */\n\n      var hostRNode = locateHostElement(rendererFactory, opts.host || componentTag);\n      /** @type {?} */\n\n      var rootFlags = componentDef.onPush ? 64\n      /* Dirty */\n      | 512\n      /* IsRoot */\n      : 16\n      /* CheckAlways */\n      | 512\n      /* IsRoot */\n      ;\n      /** @type {?} */\n\n      var rootContext = createRootContext(opts.scheduler, opts.playerHandler);\n      /** @type {?} */\n\n      var renderer = rendererFactory.createRenderer(hostRNode, componentDef);\n      /** @type {?} */\n\n      var rootView = createLView(null, createTView(-1, null, 1, 0, null, null, null, null), rootContext, rootFlags, null, null, rendererFactory, renderer, undefined, opts.injector || null);\n      /** @type {?} */\n\n      var oldView = enterView(rootView, null);\n      /** @type {?} */\n\n      var component; // Will become true if the `try` block executes with no errors.\n\n      /** @type {?} */\n\n      var safeToRunHooks = false;\n\n      try {\n        if (rendererFactory.begin) rendererFactory.begin();\n        /** @type {?} */\n\n        var componentView = createRootComponentView(hostRNode, componentDef, rootView, rendererFactory, renderer, sanitizer);\n        component = createRootComponent(componentView, componentDef, rootView, rootContext, opts.hostFeatures || null);\n        addToViewTree(rootView, componentView);\n        refreshDescendantViews(rootView); // creation mode pass\n\n        rootView[FLAGS] &= ~4\n        /* CreationMode */\n        ;\n        resetPreOrderHookFlags(rootView);\n        refreshDescendantViews(rootView); // update mode pass\n\n        safeToRunHooks = true;\n      } finally {\n        leaveView(oldView, safeToRunHooks);\n        if (rendererFactory.end) rendererFactory.end();\n      }\n\n      return component;\n    }\n    /**\n     * Creates the root component view and the root component node.\n     *\n     * @param {?} rNode Render host element.\n     * @param {?} def ComponentDef\n     * @param {?} rootView The parent view where the host node is stored\n     * @param {?} rendererFactory\n     * @param {?} renderer The current renderer\n     * @param {?=} sanitizer The sanitizer, if provided\n     *\n     * @return {?} Component view created\n     */\n\n\n    function createRootComponentView(rNode, def, rootView, rendererFactory, renderer, sanitizer) {\n      resetComponentState();\n      /** @type {?} */\n\n      var tView = rootView[TVIEW];\n      ngDevMode && assertDataInRange(rootView, 0 + HEADER_OFFSET);\n      rootView[0 + HEADER_OFFSET] = rNode;\n      /** @type {?} */\n\n      var tNode = getOrCreateTNode(tView, null, 0, 3\n      /* Element */\n      , null, null);\n      /** @type {?} */\n\n      var componentView = createLView(rootView, getOrCreateTView(def), null, def.onPush ? 64\n      /* Dirty */\n      : 16\n      /* CheckAlways */\n      , rootView[HEADER_OFFSET], tNode, rendererFactory, renderer, sanitizer);\n\n      if (tView.firstTemplatePass) {\n        diPublicInInjector(getOrCreateNodeInjectorForNode(tNode, rootView), tView, def.type);\n        tNode.flags = 1\n        /* isComponent */\n        ;\n        initNodeFlags(tNode, rootView.length, 1);\n        queueComponentIndexForCheck(tNode);\n      } // Store component view at node index, with node as the HOST\n\n\n      return rootView[HEADER_OFFSET] = componentView;\n    }\n    /**\n     * Creates a root component and sets it up with features and host bindings. Shared by\n     * renderComponent() and ViewContainerRef.createComponent().\n     * @template T\n     * @param {?} componentView\n     * @param {?} componentDef\n     * @param {?} rootView\n     * @param {?} rootContext\n     * @param {?} hostFeatures\n     * @return {?}\n     */\n\n\n    function createRootComponent(componentView, componentDef, rootView, rootContext, hostFeatures) {\n      /** @type {?} */\n      var tView = rootView[TVIEW]; // Create directive instance with factory() and store at next index in viewData\n\n      /** @type {?} */\n\n      var component = instantiateRootComponent(tView, rootView, componentDef);\n      rootContext.components.push(component);\n      componentView[CONTEXT] = component;\n      hostFeatures && hostFeatures.forEach(\n      /**\n      * @param {?} feature\n      * @return {?}\n      */\n      function (feature) {\n        return feature(component, componentDef);\n      }); // We want to generate an empty QueryList for root content queries for backwards\n      // compatibility with ViewEngine.\n\n      if (componentDef.contentQueries) {\n        componentDef.contentQueries(1\n        /* Create */\n        , component, rootView.length - 1);\n      }\n      /** @type {?} */\n\n\n      var rootTNode = getPreviousOrParentTNode();\n\n      if (tView.firstTemplatePass && componentDef.hostBindings) {\n        /** @type {?} */\n        var elementIndex = rootTNode.index - HEADER_OFFSET;\n        setActiveHostElement(elementIndex);\n        /** @type {?} */\n\n        var expando =\n        /** @type {?} */\n        tView.expandoInstructions;\n        invokeHostBindingsInCreationMode(componentDef, expando, component, rootTNode, tView.firstTemplatePass);\n        setActiveHostElement(null);\n      }\n\n      return component;\n    }\n    /**\n     * @param {?=} scheduler\n     * @param {?=} playerHandler\n     * @return {?}\n     */\n\n\n    function createRootContext(scheduler, playerHandler) {\n      return {\n        components: [],\n        scheduler: scheduler || defaultScheduler,\n        clean: CLEAN_PROMISE,\n        playerHandler: playerHandler || null,\n        flags: 0\n        /* Empty */\n\n      };\n    }\n    /**\n     * Used to enable lifecycle hooks on the root component.\n     *\n     * Include this feature when calling `renderComponent` if the root component\n     * you are rendering has lifecycle hooks defined. Otherwise, the hooks won't\n     * be called properly.\n     *\n     * Example:\n     *\n     * ```\n     * renderComponent(AppComponent, {features: [RootLifecycleHooks]});\n     * ```\n     * @param {?} component\n     * @param {?} def\n     * @return {?}\n     */\n\n\n    function LifecycleHooksFeature(component, def) {\n      /** @type {?} */\n      var rootTView =\n      /** @type {?} */\n      readPatchedLView(component)[TVIEW];\n      /** @type {?} */\n\n      var dirIndex = rootTView.data.length - 1;\n      registerPreOrderHooks(dirIndex, def, rootTView, -1, -1, -1); // TODO(misko): replace `as TNode` with createTNode call. (needs refactoring to lose dep on\n      // LNode).\n\n      registerPostOrderHooks(rootTView,\n      /** @type {?} */\n      {\n        directiveStart: dirIndex,\n        directiveEnd: dirIndex + 1\n      });\n    }\n    /**\n     * Wait on component until it is rendered.\n     *\n     * This function returns a `Promise` which is resolved when the component's\n     * change detection is executed. This is determined by finding the scheduler\n     * associated with the `component`'s render tree and waiting until the scheduler\n     * flushes. If nothing is scheduled, the function returns a resolved promise.\n     *\n     * Example:\n     * ```\n     * await whenRendered(myComponent);\n     * ```\n     *\n     * @param {?} component Component to wait upon\n     * @return {?} Promise which resolves when the component is rendered.\n     */\n\n\n    function whenRendered(component) {\n      return getRootContext(component).clean;\n    }\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * Represents a basic change from a previous to a new value for a single\n     * property on a directive instance. Passed as a value in a\n     * {@link SimpleChanges} object to the `ngOnChanges` hook.\n     *\n     * @see `OnChanges`\n     *\n     * @publicApi\n     */\n\n\n    var SimpleChange =\n    /*#__PURE__*/\n    function () {\n      function SimpleChange(previousValue, currentValue, firstChange) {\n        _classCallCheck(this, SimpleChange);\n\n        this.previousValue = previousValue;\n        this.currentValue = currentValue;\n        this.firstChange = firstChange;\n      }\n      /**\n       * Check whether the new value is the first value assigned.\n       */\n\n\n      _createClass2(SimpleChange, [{\n        key: \"isFirstChange\",\n        value: function isFirstChange() {\n          return this.firstChange;\n        }\n      }]);\n\n      return SimpleChange;\n    }();\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var PRIVATE_PREFIX = '__ngOnChanges_';\n    /**\n     * The NgOnChangesFeature decorates a component with support for the ngOnChanges\n     * lifecycle hook, so it should be included in any component that implements\n     * that hook.\n     *\n     * If the component or directive uses inheritance, the NgOnChangesFeature MUST\n     * be included as a feature AFTER {\\@link InheritDefinitionFeature}, otherwise\n     * inherited properties will not be propagated to the ngOnChanges lifecycle\n     * hook.\n     *\n     * Example usage:\n     *\n     * ```\n     * static ngComponentDef = defineComponent({\n     *   ...\n     *   inputs: {name: 'publicName'},\n     *   features: [NgOnChangesFeature()]\n     * });\n     * ```\n     *\n     * \\@codeGenApi\n     * @template T\n     * @return {?}\n     */\n\n    function ɵɵNgOnChangesFeature() {\n      // This option ensures that the ngOnChanges lifecycle hook will be inherited\n      // from superclasses (in InheritDefinitionFeature).\n\n      /** @type {?} */\n      NgOnChangesFeatureImpl.ngInherit = true;\n      return NgOnChangesFeatureImpl;\n    }\n    /**\n     * @template T\n     * @param {?} definition\n     * @return {?}\n     */\n\n\n    function NgOnChangesFeatureImpl(definition) {\n      if (definition.type.prototype.ngOnChanges) {\n        definition.setInput = ngOnChangesSetInput;\n        definition.onChanges = wrapOnChanges();\n      }\n    }\n    /**\n     * @return {?}\n     */\n\n\n    function wrapOnChanges() {\n      return (\n        /**\n        * @this {?}\n        * @return {?}\n        */\n        function wrapOnChangesHook_inPreviousChangesStorage() {\n          /** @type {?} */\n          var simpleChangesStore = getSimpleChangesStore(this);\n          /** @type {?} */\n\n          var current = simpleChangesStore && simpleChangesStore.current;\n\n          if (current) {\n            /** @type {?} */\n            var previous =\n            /** @type {?} */\n            simpleChangesStore.previous;\n\n            if (previous === EMPTY_OBJ) {\n              /** @type {?} */\n              simpleChangesStore.previous = current;\n            } else {\n              // New changes are copied to the previous store, so that we don't lose history for inputs\n              // which were not changed this time\n              for (var key in current) {\n                previous[key] = current[key];\n              }\n            }\n\n            /** @type {?} */\n            simpleChangesStore.current = null;\n            this.ngOnChanges(current);\n          }\n        }\n      );\n    }\n    /**\n     * @template T\n     * @this {?}\n     * @param {?} instance\n     * @param {?} value\n     * @param {?} publicName\n     * @param {?} privateName\n     * @return {?}\n     */\n\n\n    function ngOnChangesSetInput(instance, value, publicName, privateName) {\n      /** @type {?} */\n      var simpleChangesStore = getSimpleChangesStore(instance) || setSimpleChangesStore(instance, {\n        previous: EMPTY_OBJ,\n        current: null\n      });\n      /** @type {?} */\n\n      var current = simpleChangesStore.current || (simpleChangesStore.current = {});\n      /** @type {?} */\n\n      var previous = simpleChangesStore.previous;\n      /** @type {?} */\n\n      var declaredName =\n      /** @type {?} */\n      this.declaredInputs[publicName];\n      /** @type {?} */\n\n      var previousChange = previous[declaredName];\n      current[declaredName] = new SimpleChange(previousChange && previousChange.currentValue, value, previous === EMPTY_OBJ);\n\n      /** @type {?} */\n      instance[privateName] = value;\n    }\n    /** @type {?} */\n\n\n    var SIMPLE_CHANGES_STORE = '__ngSimpleChanges__';\n    /**\n     * @param {?} instance\n     * @return {?}\n     */\n\n    function getSimpleChangesStore(instance) {\n      return instance[SIMPLE_CHANGES_STORE] || null;\n    }\n    /**\n     * @param {?} instance\n     * @param {?} store\n     * @return {?}\n     */\n\n\n    function setSimpleChangesStore(instance, store) {\n      return instance[SIMPLE_CHANGES_STORE] = store;\n    }\n    /**\n     * @record\n     */\n\n\n    function NgSimpleChangesStore() {}\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @param {?} type\n     * @return {?}\n     */\n\n\n    function getSuperType(type) {\n      return Object.getPrototypeOf(type.prototype).constructor;\n    }\n    /**\n     * Merges the definition from a super class to a sub class.\n     * \\@codeGenApi\n     * @param {?} definition The definition that is a SubClass of another directive of component\n     *\n     * @return {?}\n     */\n\n\n    function ɵɵInheritDefinitionFeature(definition) {\n      /** @type {?} */\n      var superType = getSuperType(definition.type);\n\n      while (superType) {\n        /** @type {?} */\n        var superDef = undefined;\n\n        if (isComponentDef(definition)) {\n          // Don't use getComponentDef/getDirectiveDef. This logic relies on inheritance.\n          superDef = superType.ngComponentDef || superType.ngDirectiveDef;\n        } else {\n          if (superType.ngComponentDef) {\n            throw new Error('Directives cannot inherit Components');\n          } // Don't use getComponentDef/getDirectiveDef. This logic relies on inheritance.\n\n\n          superDef = superType.ngDirectiveDef;\n        }\n        /** @nocollapse @type {?} */\n\n\n        var baseDef =\n        /** @type {?} */\n        superType.ngBaseDef; // Some fields in the definition may be empty, if there were no values to put in them that\n        // would've justified object creation. Unwrap them if necessary.\n\n        if (baseDef || superDef) {\n          /** @type {?} */\n          var writeableDef =\n          /** @type {?} */\n          definition;\n          writeableDef.inputs = maybeUnwrapEmpty(definition.inputs);\n          writeableDef.declaredInputs = maybeUnwrapEmpty(definition.declaredInputs);\n          writeableDef.outputs = maybeUnwrapEmpty(definition.outputs);\n        }\n\n        if (baseDef) {\n          /** @type {?} */\n          var baseViewQuery = baseDef.viewQuery;\n          /** @type {?} */\n\n          var baseContentQueries = baseDef.contentQueries;\n          /** @type {?} */\n\n          var baseHostBindings = baseDef.hostBindings;\n          baseHostBindings && inheritHostBindings(definition, baseHostBindings);\n          baseViewQuery && inheritViewQuery(definition, baseViewQuery);\n          baseContentQueries && inheritContentQueries(definition, baseContentQueries);\n          fillProperties(definition.inputs, baseDef.inputs);\n          fillProperties(definition.declaredInputs, baseDef.declaredInputs);\n          fillProperties(definition.outputs, baseDef.outputs);\n        }\n\n        if (superDef) {\n          // Merge hostBindings\n\n          /** @type {?} */\n          var superHostBindings = superDef.hostBindings;\n          superHostBindings && inheritHostBindings(definition, superHostBindings); // Merge queries\n\n          /** @type {?} */\n\n          var superViewQuery = superDef.viewQuery;\n          /** @type {?} */\n\n          var superContentQueries = superDef.contentQueries;\n          superViewQuery && inheritViewQuery(definition, superViewQuery);\n          superContentQueries && inheritContentQueries(definition, superContentQueries); // Merge inputs and outputs\n\n          fillProperties(definition.inputs, superDef.inputs);\n          fillProperties(definition.declaredInputs, superDef.declaredInputs);\n          fillProperties(definition.outputs, superDef.outputs); // Inherit hooks\n          // Assume super class inheritance feature has already run.\n\n          definition.afterContentChecked = definition.afterContentChecked || superDef.afterContentChecked;\n          definition.afterContentInit = definition.afterContentInit || superDef.afterContentInit;\n          definition.afterViewChecked = definition.afterViewChecked || superDef.afterViewChecked;\n          definition.afterViewInit = definition.afterViewInit || superDef.afterViewInit;\n          definition.doCheck = definition.doCheck || superDef.doCheck;\n          definition.onDestroy = definition.onDestroy || superDef.onDestroy;\n          definition.onInit = definition.onInit || superDef.onInit; // Run parent features\n\n          /** @type {?} */\n\n          var features = superDef.features;\n\n          if (features) {\n            var _iteratorNormalCompletion43 = true;\n            var _didIteratorError43 = false;\n            var _iteratorError43 = undefined;\n\n            try {\n              for (var _iterator43 = features[Symbol.iterator](), _step43; !(_iteratorNormalCompletion43 = (_step43 = _iterator43.next()).done); _iteratorNormalCompletion43 = true) {\n                var feature = _step43.value;\n\n                if (feature && feature.ngInherit) {\n                  /** @type {?} */\n                  feature(definition);\n                }\n              }\n            } catch (err) {\n              _didIteratorError43 = true;\n              _iteratorError43 = err;\n            } finally {\n              try {\n                if (!_iteratorNormalCompletion43 && _iterator43.return != null) {\n                  _iterator43.return();\n                }\n              } finally {\n                if (_didIteratorError43) {\n                  throw _iteratorError43;\n                }\n              }\n            }\n          }\n        } else {\n          // Even if we don't have a definition, check the type for the hooks and use those if need be\n\n          /** @type {?} */\n          var superPrototype = superType.prototype;\n\n          if (superPrototype) {\n            definition.afterContentChecked = definition.afterContentChecked || superPrototype.ngAfterContentChecked;\n            definition.afterContentInit = definition.afterContentInit || superPrototype.ngAfterContentInit;\n            definition.afterViewChecked = definition.afterViewChecked || superPrototype.ngAfterViewChecked;\n            definition.afterViewInit = definition.afterViewInit || superPrototype.ngAfterViewInit;\n            definition.doCheck = definition.doCheck || superPrototype.ngDoCheck;\n            definition.onDestroy = definition.onDestroy || superPrototype.ngOnDestroy;\n            definition.onInit = definition.onInit || superPrototype.ngOnInit;\n\n            if (superPrototype.ngOnChanges) {\n              ɵɵNgOnChangesFeature()(definition);\n            }\n          }\n        }\n\n        superType = Object.getPrototypeOf(superType);\n      }\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function maybeUnwrapEmpty(value) {\n      if (value === EMPTY_OBJ) {\n        return {};\n      } else if (value === EMPTY_ARRAY) {\n        return [];\n      } else {\n        return value;\n      }\n    }\n    /**\n     * @param {?} definition\n     * @param {?} superViewQuery\n     * @return {?}\n     */\n\n\n    function inheritViewQuery(definition, superViewQuery) {\n      /** @type {?} */\n      var prevViewQuery = definition.viewQuery;\n\n      if (prevViewQuery) {\n        definition.viewQuery =\n        /**\n        * @param {?} rf\n        * @param {?} ctx\n        * @return {?}\n        */\n        function (rf, ctx) {\n          superViewQuery(rf, ctx);\n          prevViewQuery(rf, ctx);\n        };\n      } else {\n        definition.viewQuery = superViewQuery;\n      }\n    }\n    /**\n     * @param {?} definition\n     * @param {?} superContentQueries\n     * @return {?}\n     */\n\n\n    function inheritContentQueries(definition, superContentQueries) {\n      /** @type {?} */\n      var prevContentQueries = definition.contentQueries;\n\n      if (prevContentQueries) {\n        definition.contentQueries =\n        /**\n        * @param {?} rf\n        * @param {?} ctx\n        * @param {?} directiveIndex\n        * @return {?}\n        */\n        function (rf, ctx, directiveIndex) {\n          superContentQueries(rf, ctx, directiveIndex);\n          prevContentQueries(rf, ctx, directiveIndex);\n        };\n      } else {\n        definition.contentQueries = superContentQueries;\n      }\n    }\n    /**\n     * @param {?} definition\n     * @param {?} superHostBindings\n     * @return {?}\n     */\n\n\n    function inheritHostBindings(definition, superHostBindings) {\n      /** @type {?} */\n      var prevHostBindings = definition.hostBindings; // If the subclass does not have a host bindings function, we set the subclass host binding\n      // function to be the superclass's (in this feature). We should check if they're the same here\n      // to ensure we don't inherit it twice.\n\n      if (superHostBindings !== prevHostBindings) {\n        if (prevHostBindings) {\n          // because inheritance is unknown during compile time, the runtime code\n          // needs to be informed of the super-class depth so that instruction code\n          // can distinguish one host bindings function from another. The reason why\n          // relying on the directive uniqueId exclusively is not enough is because the\n          // uniqueId value and the directive instance stay the same between hostBindings\n          // calls throughout the directive inheritance chain. This means that without\n          // a super-class depth value, there is no way to know whether a parent or\n          // sub-class host bindings function is currently being executed.\n          definition.hostBindings =\n          /**\n          * @param {?} rf\n          * @param {?} ctx\n          * @param {?} elementIndex\n          * @return {?}\n          */\n          function (rf, ctx, elementIndex) {\n            // The reason why we increment first and then decrement is so that parent\n            // hostBindings calls have a higher id value compared to sub-class hostBindings\n            // calls (this way the leaf directive is always at a super-class depth of 0).\n            adjustActiveDirectiveSuperClassDepthPosition(1);\n\n            try {\n              superHostBindings(rf, ctx, elementIndex);\n            } finally {\n              adjustActiveDirectiveSuperClassDepthPosition(-1);\n            }\n\n            prevHostBindings(rf, ctx, elementIndex);\n          };\n        } else {\n          definition.hostBindings = superHostBindings;\n        }\n      }\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Resolves the providers which are defined in the DirectiveDef.\n     *\n     * When inserting the tokens and the factories in their respective arrays, we can assume that\n     * this method is called first for the component (if any), and then for other directives on the same\n     * node.\n     * As a consequence,the providers are always processed in that order:\n     * 1) The view providers of the component\n     * 2) The providers of the component\n     * 3) The providers of the other directives\n     * This matches the structure of the injectables arrays of a view (for each node).\n     * So the tokens and the factories can be pushed at the end of the arrays, except\n     * in one case for multi providers.\n     *\n     * @template T\n     * @param {?} def the directive definition\n     * @param {?} providers\n     * @param {?} viewProviders\n     * @return {?}\n     */\n\n\n    function providersResolver(def, providers, viewProviders) {\n      /** @type {?} */\n      var lView = getLView();\n      /** @type {?} */\n\n      var tView = lView[TVIEW];\n\n      if (tView.firstTemplatePass) {\n        /** @type {?} */\n        var _isComponent2 = isComponentDef(def); // The list of view providers is processed first, and the flags are updated\n\n\n        resolveProvider$1(viewProviders, tView.data, tView.blueprint, _isComponent2, true); // Then, the list of providers is processed, and the flags are updated\n\n        resolveProvider$1(providers, tView.data, tView.blueprint, _isComponent2, false);\n      }\n    }\n    /**\n     * Resolves a provider and publishes it to the DI system.\n     * @param {?} provider\n     * @param {?} tInjectables\n     * @param {?} lInjectablesBlueprint\n     * @param {?} isComponent\n     * @param {?} isViewProvider\n     * @return {?}\n     */\n\n\n    function resolveProvider$1(provider, tInjectables, lInjectablesBlueprint, isComponent, isViewProvider) {\n      provider = resolveForwardRef(provider);\n\n      if (Array.isArray(provider)) {\n        // Recursively call `resolveProvider`\n        // Recursion is OK in this case because this code will not be in hot-path once we implement\n        // cloning of the initial state.\n        for (var i = 0; i < provider.length; i++) {\n          resolveProvider$1(provider[i], tInjectables, lInjectablesBlueprint, isComponent, isViewProvider);\n        }\n      } else {\n        /** @type {?} */\n        var _lView7 = getLView();\n        /** @type {?} */\n\n\n        var tView = _lView7[TVIEW];\n        /** @type {?} */\n\n        var token = isTypeProvider(provider) ? provider : resolveForwardRef(provider.provide);\n        /** @type {?} */\n\n        var providerFactory = providerToFactory(provider);\n        /** @type {?} */\n\n        var tNode = getPreviousOrParentTNode();\n        /** @type {?} */\n\n        var beginIndex = tNode.providerIndexes & 65535\n        /* ProvidersStartIndexMask */\n        ;\n        /** @type {?} */\n\n        var endIndex = tNode.directiveStart;\n        /** @type {?} */\n\n        var cptViewProvidersCount = tNode.providerIndexes >> 16\n        /* CptViewProvidersCountShift */\n        ;\n\n        if (isClassProvider(provider) || isTypeProvider(provider)) {\n          /** @type {?} */\n          var prototype = (\n          /** @type {?} */\n          provider.useClass || provider).prototype;\n          /** @type {?} */\n\n          var ngOnDestroy = prototype.ngOnDestroy;\n\n          if (ngOnDestroy) {\n            (tView.destroyHooks || (tView.destroyHooks = [])).push(tInjectables.length, ngOnDestroy);\n          }\n        }\n\n        if (isTypeProvider(provider) || !provider.multi) {\n          // Single provider case: the factory is created and pushed immediately\n\n          /** @type {?} */\n          var factory = new NodeInjectorFactory(providerFactory, isViewProvider, ɵɵdirectiveInject);\n          /** @type {?} */\n\n          var existingFactoryIndex = indexOf(token, tInjectables, isViewProvider ? beginIndex : beginIndex + cptViewProvidersCount, endIndex);\n\n          if (existingFactoryIndex == -1) {\n            diPublicInInjector(getOrCreateNodeInjectorForNode(\n            /** @type {?} */\n            tNode, _lView7), tView, token);\n            tInjectables.push(token);\n            tNode.directiveStart++;\n            tNode.directiveEnd++;\n\n            if (isViewProvider) {\n              tNode.providerIndexes += 65536\n              /* CptViewProvidersCountShifter */\n              ;\n            }\n\n            lInjectablesBlueprint.push(factory);\n\n            _lView7.push(factory);\n          } else {\n            lInjectablesBlueprint[existingFactoryIndex] = factory;\n            _lView7[existingFactoryIndex] = factory;\n          }\n        } else {\n          // Multi provider case:\n          // We create a multi factory which is going to aggregate all the values.\n          // Since the output of such a factory depends on content or view injection,\n          // we create two of them, which are linked together.\n          //\n          // The first one (for view providers) is always in the first block of the injectables array,\n          // and the second one (for providers) is always in the second block.\n          // This is important because view providers have higher priority. When a multi token\n          // is being looked up, the view providers should be found first.\n          // Note that it is not possible to have a multi factory in the third block (directive block).\n          //\n          // The algorithm to process multi providers is as follows:\n          // 1) If the multi provider comes from the `viewProviders` of the component:\n          //   a) If the special view providers factory doesn't exist, it is created and pushed.\n          //   b) Else, the multi provider is added to the existing multi factory.\n          // 2) If the multi provider comes from the `providers` of the component or of another\n          // directive:\n          //   a) If the multi factory doesn't exist, it is created and provider pushed into it.\n          //      It is also linked to the multi factory for view providers, if it exists.\n          //   b) Else, the multi provider is added to the existing multi factory.\n\n          /** @type {?} */\n          var existingProvidersFactoryIndex = indexOf(token, tInjectables, beginIndex + cptViewProvidersCount, endIndex);\n          /** @type {?} */\n\n          var existingViewProvidersFactoryIndex = indexOf(token, tInjectables, beginIndex, beginIndex + cptViewProvidersCount);\n          /** @type {?} */\n\n          var doesProvidersFactoryExist = existingProvidersFactoryIndex >= 0 && lInjectablesBlueprint[existingProvidersFactoryIndex];\n          /** @type {?} */\n\n          var doesViewProvidersFactoryExist = existingViewProvidersFactoryIndex >= 0 && lInjectablesBlueprint[existingViewProvidersFactoryIndex];\n\n          if (isViewProvider && !doesViewProvidersFactoryExist || !isViewProvider && !doesProvidersFactoryExist) {\n            // Cases 1.a and 2.a\n            diPublicInInjector(getOrCreateNodeInjectorForNode(\n            /** @type {?} */\n            tNode, _lView7), tView, token);\n            /** @type {?} */\n\n            var _factory2 = multiFactory(isViewProvider ? multiViewProvidersFactoryResolver : multiProvidersFactoryResolver, lInjectablesBlueprint.length, isViewProvider, isComponent, providerFactory);\n\n            if (!isViewProvider && doesViewProvidersFactoryExist) {\n              lInjectablesBlueprint[existingViewProvidersFactoryIndex].providerFactory = _factory2;\n            }\n\n            tInjectables.push(token);\n            tNode.directiveStart++;\n            tNode.directiveEnd++;\n\n            if (isViewProvider) {\n              tNode.providerIndexes += 65536\n              /* CptViewProvidersCountShifter */\n              ;\n            }\n\n            lInjectablesBlueprint.push(_factory2);\n\n            _lView7.push(_factory2);\n          } else {\n            // Cases 1.b and 2.b\n            multiFactoryAdd(\n            /** @type {?} */\n            lInjectablesBlueprint[isViewProvider ? existingViewProvidersFactoryIndex : existingProvidersFactoryIndex], providerFactory, !isViewProvider && isComponent);\n          }\n\n          if (!isViewProvider && isComponent && doesViewProvidersFactoryExist) {\n            /** @type {?} */lInjectablesBlueprint[existingViewProvidersFactoryIndex].componentProviders++;\n          }\n        }\n      }\n    }\n    /**\n     * Add a factory in a multi factory.\n     * @param {?} multiFactory\n     * @param {?} factory\n     * @param {?} isComponentProvider\n     * @return {?}\n     */\n\n\n    function multiFactoryAdd(multiFactory, factory, isComponentProvider) {\n      /** @type {?} */\n      multiFactory.multi.push(factory);\n\n      if (isComponentProvider) {\n        /** @type {?} */multiFactory.componentProviders++;\n      }\n    }\n    /**\n     * Returns the index of item in the array, but only in the begin to end range.\n     * @param {?} item\n     * @param {?} arr\n     * @param {?} begin\n     * @param {?} end\n     * @return {?}\n     */\n\n\n    function indexOf(item, arr, begin, end) {\n      for (var i = begin; i < end; i++) {\n        if (arr[i] === item) return i;\n      }\n\n      return -1;\n    }\n    /**\n     * Use this with `multi` `providers`.\n     * @this {?}\n     * @param {?} _\n     * @param {?} tData\n     * @param {?} lData\n     * @param {?} tNode\n     * @return {?}\n     */\n\n\n    function multiProvidersFactoryResolver(_, tData, lData, tNode) {\n      return multiResolve(\n      /** @type {?} */\n      this.multi, []);\n    }\n    /**\n     * Use this with `multi` `viewProviders`.\n     *\n     * This factory knows how to concatenate itself with the existing `multi` `providers`.\n     * @this {?}\n     * @param {?} _\n     * @param {?} tData\n     * @param {?} lData\n     * @param {?} tNode\n     * @return {?}\n     */\n\n\n    function multiViewProvidersFactoryResolver(_, tData, lData, tNode) {\n      /** @type {?} */\n      var factories =\n      /** @type {?} */\n      this.multi;\n      /** @type {?} */\n\n      var result;\n\n      if (this.providerFactory) {\n        /** @type {?} */\n        var componentCount =\n        /** @type {?} */\n        this.providerFactory.componentProviders;\n        /** @type {?} */\n\n        var multiProviders = getNodeInjectable(tData, lData,\n        /** @type {?} */\n\n        /** @type {?} */\n        this.providerFactory.index, tNode); // Copy the section of the array which contains `multi` `providers` from the component\n\n        result = multiProviders.slice(0, componentCount); // Insert the `viewProvider` instances.\n\n        multiResolve(factories, result); // Copy the section of the array which contains `multi` `providers` from other directives\n\n        for (var i = componentCount; i < multiProviders.length; i++) {\n          result.push(multiProviders[i]);\n        }\n      } else {\n        result = []; // Insert the `viewProvider` instances.\n\n        multiResolve(factories, result);\n      }\n\n      return result;\n    }\n    /**\n     * Maps an array of factories into an array of values.\n     * @param {?} factories\n     * @param {?} result\n     * @return {?}\n     */\n\n\n    function multiResolve(factories, result) {\n      for (var i = 0; i < factories.length; i++) {\n        /** @type {?} */\n        var factory =\n        /** @type {?} */\n\n        /** @type {?} */\n        factories[i];\n        result.push(factory());\n      }\n\n      return result;\n    }\n    /**\n     * Creates a multi factory.\n     * @param {?} factoryFn\n     * @param {?} index\n     * @param {?} isViewProvider\n     * @param {?} isComponent\n     * @param {?} f\n     * @return {?}\n     */\n\n\n    function multiFactory(factoryFn, index, isViewProvider, isComponent, f) {\n      /** @type {?} */\n      var factory = new NodeInjectorFactory(factoryFn, isViewProvider, ɵɵdirectiveInject);\n      factory.multi = [];\n      factory.index = index;\n      factory.componentProviders = 0;\n      multiFactoryAdd(factory, f, isComponent && !isViewProvider);\n      return factory;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * This feature resolves the providers of a directive (or component),\n     * and publish them into the DI system, making it visible to others for injection.\n     *\n     * For example:\n     * ```ts\n     * class ComponentWithProviders {\n     *   constructor(private greeter: GreeterDE) {}\n     *\n     *   static ngComponentDef = defineComponent({\n     *     type: ComponentWithProviders,\n     *     selectors: [['component-with-providers']],\n     *    factory: () => new ComponentWithProviders(directiveInject(GreeterDE as any)),\n     *    consts: 1,\n     *    vars: 1,\n     *    template: function(fs: RenderFlags, ctx: ComponentWithProviders) {\n     *      if (fs & RenderFlags.Create) {\n     *        ɵɵtext(0);\n     *      }\n     *      if (fs & RenderFlags.Update) {\n     *        ɵɵselect(0);\n     *        ɵɵtextBinding(ctx.greeter.greet());\n     *      }\n     *    },\n     *    features: [ProvidersFeature([GreeterDE])]\n     *  });\n     * }\n     * ```\n     *\n     * \\@codeGenApi\n     * @template T\n     * @param {?} providers\n     * @param {?=} viewProviders\n     * @return {?}\n     */\n\n\n    function ɵɵProvidersFeature(providers) {\n      var viewProviders = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n      return (\n        /**\n        * @param {?} definition\n        * @return {?}\n        */\n        function (definition) {\n          definition.providersResolver =\n          /**\n          * @param {?} def\n          * @param {?=} processProvidersFn\n          * @return {?}\n          */\n          function (def, processProvidersFn) {\n            return providersResolver(def, //\n            processProvidersFn ? processProvidersFn(providers) : providers, //\n            viewProviders);\n          };\n        }\n      );\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * Represents a component created by a `ComponentFactory`.\n     * Provides access to the component instance and related objects,\n     * and provides the means of destroying the instance.\n     *\n     * \\@publicApi\n     * @abstract\n     * @template C\n     */\n\n\n    var ComponentRef = function ComponentRef() {\n      _classCallCheck(this, ComponentRef);\n    };\n\n    if (false) {}\n    /**\n     * Base class for a factory that can create a component dynamically.\n     * Instantiate a factory for a given type of component with `resolveComponentFactory()`.\n     * Use the resulting `ComponentFactory.create()` method to create a component of that type.\n     *\n     * @see [Dynamic Components](guide/dynamic-component-loader)\n     *\n     * \\@publicApi\n     * @abstract\n     * @template C\n     */\n\n\n    var ComponentFactory = function ComponentFactory() {\n      _classCallCheck(this, ComponentFactory);\n    };\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @param {?} component\n     * @return {?}\n     */\n\n\n    function noComponentFactoryError(component) {\n      /** @type {?} */\n      var error = Error(\"No component factory found for \".concat(stringify(component), \". Did you add it to @NgModule.entryComponents?\"));\n\n      /** @type {?} */\n      error[ERROR_COMPONENT] = component;\n      return error;\n    }\n    /** @type {?} */\n\n\n    var ERROR_COMPONENT = 'ngComponent';\n    /**\n     * @param {?} error\n     * @return {?}\n     */\n\n    function getComponent$1(error) {\n      return (\n        /** @type {?} */\n        error[ERROR_COMPONENT]\n      );\n    }\n\n    var _NullComponentFactoryResolver =\n    /*#__PURE__*/\n    function () {\n      function _NullComponentFactoryResolver() {\n        _classCallCheck(this, _NullComponentFactoryResolver);\n      }\n\n      _createClass2(_NullComponentFactoryResolver, [{\n        key: \"resolveComponentFactory\",\n\n        /**\n         * @template T\n         * @param {?} component\n         * @return {?}\n         */\n        value: function resolveComponentFactory(component) {\n          throw noComponentFactoryError(component);\n        }\n      }]);\n\n      return _NullComponentFactoryResolver;\n    }();\n    /**\n     * A simple registry that maps `Components` to generated `ComponentFactory` classes\n     * that can be used to create instances of components.\n     * Use to obtain the factory for a given component type,\n     * then use the factory's `create()` method to create a component of that type.\n     *\n     * @see [Dynamic Components](guide/dynamic-component-loader)\n     * \\@publicApi\n     * @abstract\n     */\n\n\n    var ComponentFactoryResolver = function ComponentFactoryResolver() {\n      _classCallCheck(this, ComponentFactoryResolver);\n    };\n\n    ComponentFactoryResolver.NULL = new _NullComponentFactoryResolver();\n\n    if (false) {}\n\n    var CodegenComponentFactoryResolver =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} factories\n       * @param {?} _parent\n       * @param {?} _ngModule\n       */\n      function CodegenComponentFactoryResolver(factories, _parent, _ngModule) {\n        _classCallCheck(this, CodegenComponentFactoryResolver);\n\n        this._parent = _parent;\n        this._ngModule = _ngModule;\n        this._factories = new Map();\n\n        for (var i = 0; i < factories.length; i++) {\n          /** @type {?} */\n          var factory = factories[i];\n\n          this._factories.set(factory.componentType, factory);\n        }\n      }\n      /**\n       * @template T\n       * @param {?} component\n       * @return {?}\n       */\n\n\n      _createClass2(CodegenComponentFactoryResolver, [{\n        key: \"resolveComponentFactory\",\n        value: function resolveComponentFactory(component) {\n          /** @type {?} */\n          var factory = this._factories.get(component);\n\n          if (!factory && this._parent) {\n            factory = this._parent.resolveComponentFactory(component);\n          }\n\n          if (!factory) {\n            throw noComponentFactoryError(component);\n          }\n\n          return new ComponentFactoryBoundToModule(factory, this._ngModule);\n        }\n      }]);\n\n      return CodegenComponentFactoryResolver;\n    }();\n\n    if (false) {}\n    /**\n     * @template C\n     */\n\n\n    var ComponentFactoryBoundToModule =\n    /*#__PURE__*/\n    function (_ComponentFactory) {\n      _inherits(ComponentFactoryBoundToModule, _ComponentFactory);\n\n      /**\n       * @param {?} factory\n       * @param {?} ngModule\n       */\n      function ComponentFactoryBoundToModule(factory, ngModule) {\n        var _this447;\n\n        _classCallCheck(this, ComponentFactoryBoundToModule);\n\n        _this447 = _possibleConstructorReturn(this, _getPrototypeOf(ComponentFactoryBoundToModule).call(this));\n        _this447.factory = factory;\n        _this447.ngModule = ngModule;\n        _this447.selector = factory.selector;\n        _this447.componentType = factory.componentType;\n        _this447.ngContentSelectors = factory.ngContentSelectors;\n        _this447.inputs = factory.inputs;\n        _this447.outputs = factory.outputs;\n        return _this447;\n      }\n      /**\n       * @param {?} injector\n       * @param {?=} projectableNodes\n       * @param {?=} rootSelectorOrNode\n       * @param {?=} ngModule\n       * @return {?}\n       */\n\n\n      _createClass2(ComponentFactoryBoundToModule, [{\n        key: \"create\",\n        value: function create(injector, projectableNodes, rootSelectorOrNode, ngModule) {\n          return this.factory.create(injector, projectableNodes, rootSelectorOrNode, ngModule || this.ngModule);\n        }\n      }]);\n\n      return ComponentFactoryBoundToModule;\n    }(ComponentFactory);\n\n    if (false) {}\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n\n    function noop() {} // Do nothing.\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * A wrapper around a native element inside of a View.\n     *\n     * An `ElementRef` is backed by a render-specific element. In the browser, this is usually a DOM\n     * element.\n     *\n     * \\@security Permitting direct access to the DOM can make your application more vulnerable to\n     * XSS attacks. Carefully review any use of `ElementRef` in your code. For more detail, see the\n     * [Security Guide](http://g.co/ng/security).\n     *\n     * \\@publicApi\n     * @template T\n     */\n    // Note: We don't expose things like `Injector`, `ViewContainer`, ... here,\n    // i.e. users have to ask for what they need. With that, we can build better analysis tools\n    // and could do better codegen in the future.\n\n\n    var ElementRef =\n    /**\n     * @param {?} nativeElement\n     */\n    function ElementRef(nativeElement) {\n      _classCallCheck(this, ElementRef);\n\n      this.nativeElement = nativeElement;\n    };\n    /**\n     * \\@internal\n     * @nocollapse\n     */\n\n\n    ElementRef.__NG_ELEMENT_ID__ =\n    /**\n    * @return {?}\n    */\n    function () {\n      return SWITCH_ELEMENT_REF_FACTORY(ElementRef);\n    };\n\n    if (false) {}\n    /** @type {?} */\n\n\n    var SWITCH_ELEMENT_REF_FACTORY__POST_R3__ = injectElementRef;\n    /** @type {?} */\n\n    var SWITCH_ELEMENT_REF_FACTORY__PRE_R3__ = noop;\n    /** @type {?} */\n\n    var SWITCH_ELEMENT_REF_FACTORY = SWITCH_ELEMENT_REF_FACTORY__PRE_R3__;\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @deprecated Use `RendererType2` (and `Renderer2`) instead.\n     * \\@publicApi\n     */\n\n    var RenderComponentType =\n    /**\n     * @param {?} id\n     * @param {?} templateUrl\n     * @param {?} slotCount\n     * @param {?} encapsulation\n     * @param {?} styles\n     * @param {?} animations\n     */\n    function RenderComponentType(id, templateUrl, slotCount, encapsulation, styles, animations) {\n      _classCallCheck(this, RenderComponentType);\n\n      this.id = id;\n      this.templateUrl = templateUrl;\n      this.slotCount = slotCount;\n      this.encapsulation = encapsulation;\n      this.styles = styles;\n      this.animations = animations;\n    };\n\n    if (false) {}\n    /**\n     * @deprecated Debug info is handled internally in the view engine now.\n     * @abstract\n     */\n\n\n    var RenderDebugInfo = function RenderDebugInfo() {\n      _classCallCheck(this, RenderDebugInfo);\n    };\n\n    if (false) {}\n    /**\n     * @deprecated Use the `Renderer2` instead.\n     * @record\n     */\n\n\n    function DirectRenderer() {}\n\n    if (false) {}\n    /**\n     * @deprecated Use the `Renderer2` instead.\n     * \\@publicApi\n     * @abstract\n     */\n\n\n    var Renderer = function Renderer() {\n      _classCallCheck(this, Renderer);\n    };\n\n    if (false) {}\n    /** @type {?} */\n\n\n    var Renderer2Interceptor = new InjectionToken('Renderer2Interceptor');\n    /**\n     * Injectable service that provides a low-level interface for modifying the UI.\n     *\n     * Use this service to bypass Angular's templating and make custom UI changes that can't be\n     * expressed declaratively. For example if you need to set a property or an attribute whose name is\n     * not statically known, use {\\@link Renderer#setElementProperty setElementProperty} or\n     * {\\@link Renderer#setElementAttribute setElementAttribute} respectively.\n     *\n     * If you are implementing a custom renderer, you must implement this interface.\n     *\n     * The default Renderer implementation is `DomRenderer`. Also available is `WebWorkerRenderer`.\n     *\n     * @deprecated Use `RendererFactory2` instead.\n     * \\@publicApi\n     * @abstract\n     */\n\n    var RootRenderer = function RootRenderer() {\n      _classCallCheck(this, RootRenderer);\n    };\n\n    if (false) {}\n    /**\n     * Used by `RendererFactory2` to associate custom rendering data and styles\n     * with a rendering implementation.\n     * \\@publicApi\n     * @record\n     */\n\n\n    function RendererType2() {}\n\n    if (false) {}\n    /**\n     * Creates and initializes a custom renderer that implements the `Renderer2` base class.\n     *\n     * \\@publicApi\n     * @abstract\n     */\n\n\n    var RendererFactory2 = function RendererFactory2() {\n      _classCallCheck(this, RendererFactory2);\n    };\n\n    if (false) {}\n    /** @enum {number} */\n\n\n    var RendererStyleFlags2 = {\n      /**\n       * Marks a style as important.\n       */\n      Important: 1,\n\n      /**\n       * Marks a style as using dash case naming (this-is-dash-case).\n       */\n      DashCase: 2\n    };\n    RendererStyleFlags2[RendererStyleFlags2.Important] = 'Important';\n    RendererStyleFlags2[RendererStyleFlags2.DashCase] = 'DashCase';\n    /**\n     * Extend this base class to implement custom rendering. By default, Angular\n     * renders a template into DOM. You can use custom rendering to intercept\n     * rendering calls, or to render to something other than DOM.\n     *\n     * Create your custom renderer using `RendererFactory2`.\n     *\n     * Use a custom renderer to bypass Angular's templating and\n     * make custom UI changes that can't be expressed declaratively.\n     * For example if you need to set a property or an attribute whose name is\n     * not statically known, use the `setProperty()` or\n     * `setAttribute()` method.\n     *\n     * \\@publicApi\n     * @abstract\n     */\n\n    var Renderer2 = function Renderer2() {\n      _classCallCheck(this, Renderer2);\n    };\n    /**\n     * \\@internal\n     * @nocollapse\n     */\n\n\n    Renderer2.__NG_ELEMENT_ID__ =\n    /**\n    * @return {?}\n    */\n    function () {\n      return SWITCH_RENDERER2_FACTORY();\n    };\n\n    if (false) {}\n    /** @type {?} */\n\n\n    var SWITCH_RENDERER2_FACTORY__POST_R3__ = injectRenderer2;\n    /** @type {?} */\n\n    var SWITCH_RENDERER2_FACTORY__PRE_R3__ = noop;\n    /** @type {?} */\n\n    var SWITCH_RENDERER2_FACTORY = SWITCH_RENDERER2_FACTORY__PRE_R3__;\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * \\@description Represents the version of Angular\n     *\n     * \\@publicApi\n     */\n\n    var Version =\n    /**\n     * @param {?} full\n     */\n    function Version(full) {\n      _classCallCheck(this, Version);\n\n      this.full = full;\n      this.major = full.split('.')[0];\n      this.minor = full.split('.')[1];\n      this.patch = full.split('.').slice(2).join('.');\n    };\n\n    if (false) {}\n    /**\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var VERSION = new Version('8.2.14');\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    var DefaultIterableDifferFactory =\n    /*#__PURE__*/\n    function () {\n      function DefaultIterableDifferFactory() {\n        _classCallCheck(this, DefaultIterableDifferFactory);\n      }\n      /**\n       * @param {?} obj\n       * @return {?}\n       */\n\n\n      _createClass2(DefaultIterableDifferFactory, [{\n        key: \"supports\",\n        value: function supports(obj) {\n          return isListLikeIterable$1(obj);\n        }\n        /**\n         * @template V\n         * @param {?=} trackByFn\n         * @return {?}\n         */\n\n      }, {\n        key: \"create\",\n        value: function create(trackByFn) {\n          return new DefaultIterableDiffer(trackByFn);\n        }\n      }]);\n\n      return DefaultIterableDifferFactory;\n    }();\n    /** @type {?} */\n\n\n    var trackByIdentity =\n    /**\n    * @param {?} index\n    * @param {?} item\n    * @return {?}\n    */\n    function trackByIdentity(index, item) {\n      return item;\n    };\n\n    var ɵ0$d = trackByIdentity;\n    /**\n     * @deprecated v4.0.0 - Should not be part of public API.\n     * \\@publicApi\n     * @template V\n     */\n\n    var DefaultIterableDiffer =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?=} trackByFn\n       */\n      function DefaultIterableDiffer(trackByFn) {\n        _classCallCheck(this, DefaultIterableDiffer);\n\n        this.length = 0; // Keeps track of the used records at any point in time (during & across `_check()` calls)\n\n        this._linkedRecords = null; // Keeps track of the removed records at any point in time during `_check()` calls.\n\n        this._unlinkedRecords = null;\n        this._previousItHead = null;\n        this._itHead = null;\n        this._itTail = null;\n        this._additionsHead = null;\n        this._additionsTail = null;\n        this._movesHead = null;\n        this._movesTail = null;\n        this._removalsHead = null;\n        this._removalsTail = null; // Keeps track of records where custom track by is the same, but item identity has changed\n\n        this._identityChangesHead = null;\n        this._identityChangesTail = null;\n        this._trackByFn = trackByFn || trackByIdentity;\n      }\n      /**\n       * @param {?} fn\n       * @return {?}\n       */\n\n\n      _createClass2(DefaultIterableDiffer, [{\n        key: \"forEachItem\",\n        value: function forEachItem(fn) {\n          /** @type {?} */\n          var record;\n\n          for (record = this._itHead; record !== null; record = record._next) {\n            fn(record);\n          }\n        }\n        /**\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"forEachOperation\",\n        value: function forEachOperation(fn) {\n          /** @type {?} */\n          var nextIt = this._itHead;\n          /** @type {?} */\n\n          var nextRemove = this._removalsHead;\n          /** @type {?} */\n\n          var addRemoveOffset = 0;\n          /** @type {?} */\n\n          var moveOffsets = null;\n\n          while (nextIt || nextRemove) {\n            // Figure out which is the next record to process\n            // Order: remove, add, move\n\n            /** @type {?} */\n            var record = !nextRemove || nextIt &&\n            /** @type {?} */\n            nextIt.currentIndex < getPreviousIndex(nextRemove, addRemoveOffset, moveOffsets) ?\n            /** @type {?} */\n            nextIt : nextRemove;\n            /** @type {?} */\n\n            var adjPreviousIndex = getPreviousIndex(record, addRemoveOffset, moveOffsets);\n            /** @type {?} */\n\n            var currentIndex = record.currentIndex; // consume the item, and adjust the addRemoveOffset and update moveDistance if necessary\n\n            if (record === nextRemove) {\n              addRemoveOffset--;\n              nextRemove = nextRemove._nextRemoved;\n            } else {\n              nextIt =\n              /** @type {?} */\n              nextIt._next;\n\n              if (record.previousIndex == null) {\n                addRemoveOffset++;\n              } else {\n                // INVARIANT:  currentIndex < previousIndex\n                if (!moveOffsets) moveOffsets = [];\n                /** @type {?} */\n\n                var localMovePreviousIndex = adjPreviousIndex - addRemoveOffset;\n                /** @type {?} */\n\n                var localCurrentIndex =\n                /** @type {?} */\n                currentIndex - addRemoveOffset;\n\n                if (localMovePreviousIndex != localCurrentIndex) {\n                  for (var i = 0; i < localMovePreviousIndex; i++) {\n                    /** @type {?} */\n                    var offset = i < moveOffsets.length ? moveOffsets[i] : moveOffsets[i] = 0;\n                    /** @type {?} */\n\n                    var index = offset + i;\n\n                    if (localCurrentIndex <= index && index < localMovePreviousIndex) {\n                      moveOffsets[i] = offset + 1;\n                    }\n                  }\n                  /** @type {?} */\n\n\n                  var previousIndex = record.previousIndex;\n                  moveOffsets[previousIndex] = localCurrentIndex - localMovePreviousIndex;\n                }\n              }\n            }\n\n            if (adjPreviousIndex !== currentIndex) {\n              fn(record, adjPreviousIndex, currentIndex);\n            }\n          }\n        }\n        /**\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"forEachPreviousItem\",\n        value: function forEachPreviousItem(fn) {\n          /** @type {?} */\n          var record;\n\n          for (record = this._previousItHead; record !== null; record = record._nextPrevious) {\n            fn(record);\n          }\n        }\n        /**\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"forEachAddedItem\",\n        value: function forEachAddedItem(fn) {\n          /** @type {?} */\n          var record;\n\n          for (record = this._additionsHead; record !== null; record = record._nextAdded) {\n            fn(record);\n          }\n        }\n        /**\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"forEachMovedItem\",\n        value: function forEachMovedItem(fn) {\n          /** @type {?} */\n          var record;\n\n          for (record = this._movesHead; record !== null; record = record._nextMoved) {\n            fn(record);\n          }\n        }\n        /**\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"forEachRemovedItem\",\n        value: function forEachRemovedItem(fn) {\n          /** @type {?} */\n          var record;\n\n          for (record = this._removalsHead; record !== null; record = record._nextRemoved) {\n            fn(record);\n          }\n        }\n        /**\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"forEachIdentityChange\",\n        value: function forEachIdentityChange(fn) {\n          /** @type {?} */\n          var record;\n\n          for (record = this._identityChangesHead; record !== null; record = record._nextIdentityChange) {\n            fn(record);\n          }\n        }\n        /**\n         * @param {?} collection\n         * @return {?}\n         */\n\n      }, {\n        key: \"diff\",\n        value: function diff(collection) {\n          if (collection == null) collection = [];\n\n          if (!isListLikeIterable$1(collection)) {\n            throw new Error(\"Error trying to diff '\".concat(stringify(collection), \"'. Only arrays and iterables are allowed\"));\n          }\n\n          if (this.check(collection)) {\n            return this;\n          } else {\n            return null;\n          }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"onDestroy\",\n        value: function onDestroy() {}\n        /**\n         * @param {?} collection\n         * @return {?}\n         */\n\n      }, {\n        key: \"check\",\n        value: function check(collection) {\n          var _this448 = this;\n\n          this._reset();\n          /** @type {?} */\n\n\n          var record = this._itHead;\n          /** @type {?} */\n\n          var mayBeDirty = false;\n          /** @type {?} */\n\n          var index;\n          /** @type {?} */\n\n          var item;\n          /** @type {?} */\n\n          var itemTrackBy;\n\n          if (Array.isArray(collection)) {\n            /** @type {?} */\n            this.length = collection.length;\n\n            for (var _index3 = 0; _index3 < this.length; _index3++) {\n              item = collection[_index3];\n              itemTrackBy = this._trackByFn(_index3, item);\n\n              if (record === null || !looseIdentical(record.trackById, itemTrackBy)) {\n                record = this._mismatch(record, item, itemTrackBy, _index3);\n                mayBeDirty = true;\n              } else {\n                if (mayBeDirty) {\n                  // TODO(misko): can we limit this to duplicates only?\n                  record = this._verifyReinsertion(record, item, itemTrackBy, _index3);\n                }\n\n                if (!looseIdentical(record.item, item)) this._addIdentityChange(record, item);\n              }\n\n              record = record._next;\n            }\n          } else {\n            index = 0;\n            iterateListLike$1(collection,\n            /**\n            * @param {?} item\n            * @return {?}\n            */\n            function (item) {\n              itemTrackBy = _this448._trackByFn(index, item);\n\n              if (record === null || !looseIdentical(record.trackById, itemTrackBy)) {\n                record = _this448._mismatch(record, item, itemTrackBy, index);\n                mayBeDirty = true;\n              } else {\n                if (mayBeDirty) {\n                  // TODO(misko): can we limit this to duplicates only?\n                  record = _this448._verifyReinsertion(record, item, itemTrackBy, index);\n                }\n\n                if (!looseIdentical(record.item, item)) _this448._addIdentityChange(record, item);\n              }\n\n              record = record._next;\n              index++;\n            });\n\n            /** @type {?} */\n            this.length = index;\n          }\n\n          this._truncate(record);\n\n          /** @type {?} */\n          this.collection = collection;\n          return this.isDirty;\n        }\n        /* CollectionChanges is considered dirty if it has any additions, moves, removals, or identity\n           * changes.\n           */\n\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"_reset\",\n\n        /**\n         * Reset the state of the change objects to show no changes. This means set previousKey to\n         * currentKey, and clear all of the queues (additions, moves, removals).\n         * Set the previousIndexes of moved and added items to their currentIndexes\n         * Reset the list of additions, moves and removals\n         *\n         * \\@internal\n         * @return {?}\n         */\n        value: function _reset() {\n          if (this.isDirty) {\n            /** @type {?} */\n            var record;\n            /** @type {?} */\n\n            var nextRecord;\n\n            for (record = this._previousItHead = this._itHead; record !== null; record = record._next) {\n              record._nextPrevious = record._next;\n            }\n\n            for (record = this._additionsHead; record !== null; record = record._nextAdded) {\n              record.previousIndex = record.currentIndex;\n            }\n\n            this._additionsHead = this._additionsTail = null;\n\n            for (record = this._movesHead; record !== null; record = nextRecord) {\n              record.previousIndex = record.currentIndex;\n              nextRecord = record._nextMoved;\n            }\n\n            this._movesHead = this._movesTail = null;\n            this._removalsHead = this._removalsTail = null;\n            this._identityChangesHead = this._identityChangesTail = null; // TODO(vicb): when assert gets supported\n            // assert(!this.isDirty);\n          }\n        }\n        /**\n         * This is the core function which handles differences between collections.\n         *\n         * - `record` is the record which we saw at this position last time. If null then it is a new\n         *   item.\n         * - `item` is the current item in the collection\n         * - `index` is the position of the item in the collection\n         *\n         * \\@internal\n         * @param {?} record\n         * @param {?} item\n         * @param {?} itemTrackBy\n         * @param {?} index\n         * @return {?}\n         */\n\n      }, {\n        key: \"_mismatch\",\n        value: function _mismatch(record, item, itemTrackBy, index) {\n          // The previous record after which we will append the current one.\n\n          /** @type {?} */\n          var previousRecord;\n\n          if (record === null) {\n            previousRecord = this._itTail;\n          } else {\n            previousRecord = record._prev; // Remove the record from the collection since we know it does not match the item.\n\n            this._remove(record);\n          } // Attempt to see if we have seen the item before.\n\n\n          record = this._linkedRecords === null ? null : this._linkedRecords.get(itemTrackBy, index);\n\n          if (record !== null) {\n            // We have seen this before, we need to move it forward in the collection.\n            // But first we need to check if identity changed, so we can update in view if necessary\n            if (!looseIdentical(record.item, item)) this._addIdentityChange(record, item);\n\n            this._moveAfter(record, previousRecord, index);\n          } else {\n            // Never seen it, check evicted list.\n            record = this._unlinkedRecords === null ? null : this._unlinkedRecords.get(itemTrackBy, null);\n\n            if (record !== null) {\n              // It is an item which we have evicted earlier: reinsert it back into the list.\n              // But first we need to check if identity changed, so we can update in view if necessary\n              if (!looseIdentical(record.item, item)) this._addIdentityChange(record, item);\n\n              this._reinsertAfter(record, previousRecord, index);\n            } else {\n              // It is a new item: add it.\n              record = this._addAfter(new IterableChangeRecord_(item, itemTrackBy), previousRecord, index);\n            }\n          }\n\n          return record;\n        }\n        /**\n         * This check is only needed if an array contains duplicates. (Short circuit of nothing dirty)\n         *\n         * Use case: `[a, a]` => `[b, a, a]`\n         *\n         * If we did not have this check then the insertion of `b` would:\n         *   1) evict first `a`\n         *   2) insert `b` at `0` index.\n         *   3) leave `a` at index `1` as is. <-- this is wrong!\n         *   3) reinsert `a` at index 2. <-- this is wrong!\n         *\n         * The correct behavior is:\n         *   1) evict first `a`\n         *   2) insert `b` at `0` index.\n         *   3) reinsert `a` at index 1.\n         *   3) move `a` at from `1` to `2`.\n         *\n         *\n         * Double check that we have not evicted a duplicate item. We need to check if the item type may\n         * have already been removed:\n         * The insertion of b will evict the first 'a'. If we don't reinsert it now it will be reinserted\n         * at the end. Which will show up as the two 'a's switching position. This is incorrect, since a\n         * better way to think of it is as insert of 'b' rather then switch 'a' with 'b' and then add 'a'\n         * at the end.\n         *\n         * \\@internal\n         * @param {?} record\n         * @param {?} item\n         * @param {?} itemTrackBy\n         * @param {?} index\n         * @return {?}\n         */\n\n      }, {\n        key: \"_verifyReinsertion\",\n        value: function _verifyReinsertion(record, item, itemTrackBy, index) {\n          /** @type {?} */\n          var reinsertRecord = this._unlinkedRecords === null ? null : this._unlinkedRecords.get(itemTrackBy, null);\n\n          if (reinsertRecord !== null) {\n            record = this._reinsertAfter(reinsertRecord,\n            /** @type {?} */\n            record._prev, index);\n          } else if (record.currentIndex != index) {\n            record.currentIndex = index;\n\n            this._addToMoves(record, index);\n          }\n\n          return record;\n        }\n        /**\n         * Get rid of any excess {\\@link IterableChangeRecord_}s from the previous collection\n         *\n         * - `record` The first excess {\\@link IterableChangeRecord_}.\n         *\n         * \\@internal\n         * @param {?} record\n         * @return {?}\n         */\n\n      }, {\n        key: \"_truncate\",\n        value: function _truncate(record) {\n          // Anything after that needs to be removed;\n          while (record !== null) {\n            /** @type {?} */\n            var nextRecord = record._next;\n\n            this._addToRemovals(this._unlink(record));\n\n            record = nextRecord;\n          }\n\n          if (this._unlinkedRecords !== null) {\n            this._unlinkedRecords.clear();\n          }\n\n          if (this._additionsTail !== null) {\n            this._additionsTail._nextAdded = null;\n          }\n\n          if (this._movesTail !== null) {\n            this._movesTail._nextMoved = null;\n          }\n\n          if (this._itTail !== null) {\n            this._itTail._next = null;\n          }\n\n          if (this._removalsTail !== null) {\n            this._removalsTail._nextRemoved = null;\n          }\n\n          if (this._identityChangesTail !== null) {\n            this._identityChangesTail._nextIdentityChange = null;\n          }\n        }\n        /**\n         * \\@internal\n         * @param {?} record\n         * @param {?} prevRecord\n         * @param {?} index\n         * @return {?}\n         */\n\n      }, {\n        key: \"_reinsertAfter\",\n        value: function _reinsertAfter(record, prevRecord, index) {\n          if (this._unlinkedRecords !== null) {\n            this._unlinkedRecords.remove(record);\n          }\n          /** @type {?} */\n\n\n          var prev = record._prevRemoved;\n          /** @type {?} */\n\n          var next = record._nextRemoved;\n\n          if (prev === null) {\n            this._removalsHead = next;\n          } else {\n            prev._nextRemoved = next;\n          }\n\n          if (next === null) {\n            this._removalsTail = prev;\n          } else {\n            next._prevRemoved = prev;\n          }\n\n          this._insertAfter(record, prevRecord, index);\n\n          this._addToMoves(record, index);\n\n          return record;\n        }\n        /**\n         * \\@internal\n         * @param {?} record\n         * @param {?} prevRecord\n         * @param {?} index\n         * @return {?}\n         */\n\n      }, {\n        key: \"_moveAfter\",\n        value: function _moveAfter(record, prevRecord, index) {\n          this._unlink(record);\n\n          this._insertAfter(record, prevRecord, index);\n\n          this._addToMoves(record, index);\n\n          return record;\n        }\n        /**\n         * \\@internal\n         * @param {?} record\n         * @param {?} prevRecord\n         * @param {?} index\n         * @return {?}\n         */\n\n      }, {\n        key: \"_addAfter\",\n        value: function _addAfter(record, prevRecord, index) {\n          this._insertAfter(record, prevRecord, index);\n\n          if (this._additionsTail === null) {\n            // TODO(vicb):\n            // assert(this._additionsHead === null);\n            this._additionsTail = this._additionsHead = record;\n          } else {\n            // TODO(vicb):\n            // assert(_additionsTail._nextAdded === null);\n            // assert(record._nextAdded === null);\n            this._additionsTail = this._additionsTail._nextAdded = record;\n          }\n\n          return record;\n        }\n        /**\n         * \\@internal\n         * @param {?} record\n         * @param {?} prevRecord\n         * @param {?} index\n         * @return {?}\n         */\n\n      }, {\n        key: \"_insertAfter\",\n        value: function _insertAfter(record, prevRecord, index) {\n          // TODO(vicb):\n          // assert(record != prevRecord);\n          // assert(record._next === null);\n          // assert(record._prev === null);\n          // TODO(vicb):\n          // assert(record != prevRecord);\n          // assert(record._next === null);\n          // assert(record._prev === null);\n\n          /** @type {?} */\n          var next = prevRecord === null ? this._itHead : prevRecord._next; // TODO(vicb):\n          // assert(next != record);\n          // assert(prevRecord != record);\n\n          record._next = next;\n          record._prev = prevRecord;\n\n          if (next === null) {\n            this._itTail = record;\n          } else {\n            next._prev = record;\n          }\n\n          if (prevRecord === null) {\n            this._itHead = record;\n          } else {\n            prevRecord._next = record;\n          }\n\n          if (this._linkedRecords === null) {\n            this._linkedRecords = new _DuplicateMap();\n          }\n\n          this._linkedRecords.put(record);\n\n          record.currentIndex = index;\n          return record;\n        }\n        /**\n         * \\@internal\n         * @param {?} record\n         * @return {?}\n         */\n\n      }, {\n        key: \"_remove\",\n        value: function _remove(record) {\n          return this._addToRemovals(this._unlink(record));\n        }\n        /**\n         * \\@internal\n         * @param {?} record\n         * @return {?}\n         */\n\n      }, {\n        key: \"_unlink\",\n        value: function _unlink(record) {\n          if (this._linkedRecords !== null) {\n            this._linkedRecords.remove(record);\n          }\n          /** @type {?} */\n\n\n          var prev = record._prev;\n          /** @type {?} */\n\n          var next = record._next; // TODO(vicb):\n          // assert((record._prev = null) === null);\n          // assert((record._next = null) === null);\n\n          if (prev === null) {\n            this._itHead = next;\n          } else {\n            prev._next = next;\n          }\n\n          if (next === null) {\n            this._itTail = prev;\n          } else {\n            next._prev = prev;\n          }\n\n          return record;\n        }\n        /**\n         * \\@internal\n         * @param {?} record\n         * @param {?} toIndex\n         * @return {?}\n         */\n\n      }, {\n        key: \"_addToMoves\",\n        value: function _addToMoves(record, toIndex) {\n          // TODO(vicb):\n          // assert(record._nextMoved === null);\n          if (record.previousIndex === toIndex) {\n            return record;\n          }\n\n          if (this._movesTail === null) {\n            // TODO(vicb):\n            // assert(_movesHead === null);\n            this._movesTail = this._movesHead = record;\n          } else {\n            // TODO(vicb):\n            // assert(_movesTail._nextMoved === null);\n            this._movesTail = this._movesTail._nextMoved = record;\n          }\n\n          return record;\n        }\n        /**\n         * @private\n         * @param {?} record\n         * @return {?}\n         */\n\n      }, {\n        key: \"_addToRemovals\",\n        value: function _addToRemovals(record) {\n          if (this._unlinkedRecords === null) {\n            this._unlinkedRecords = new _DuplicateMap();\n          }\n\n          this._unlinkedRecords.put(record);\n\n          record.currentIndex = null;\n          record._nextRemoved = null;\n\n          if (this._removalsTail === null) {\n            // TODO(vicb):\n            // assert(_removalsHead === null);\n            this._removalsTail = this._removalsHead = record;\n            record._prevRemoved = null;\n          } else {\n            // TODO(vicb):\n            // assert(_removalsTail._nextRemoved === null);\n            // assert(record._nextRemoved === null);\n            record._prevRemoved = this._removalsTail;\n            this._removalsTail = this._removalsTail._nextRemoved = record;\n          }\n\n          return record;\n        }\n        /**\n         * \\@internal\n         * @param {?} record\n         * @param {?} item\n         * @return {?}\n         */\n\n      }, {\n        key: \"_addIdentityChange\",\n        value: function _addIdentityChange(record, item) {\n          record.item = item;\n\n          if (this._identityChangesTail === null) {\n            this._identityChangesTail = this._identityChangesHead = record;\n          } else {\n            this._identityChangesTail = this._identityChangesTail._nextIdentityChange = record;\n          }\n\n          return record;\n        }\n      }, {\n        key: \"isDirty\",\n        get: function get() {\n          return this._additionsHead !== null || this._movesHead !== null || this._removalsHead !== null || this._identityChangesHead !== null;\n        }\n      }]);\n\n      return DefaultIterableDiffer;\n    }();\n\n    if (false) {}\n    /**\n     * @template V\n     */\n\n\n    var IterableChangeRecord_ =\n    /**\n     * @param {?} item\n     * @param {?} trackById\n     */\n    function IterableChangeRecord_(item, trackById) {\n      _classCallCheck(this, IterableChangeRecord_);\n\n      this.item = item;\n      this.trackById = trackById;\n      this.currentIndex = null;\n      this.previousIndex = null;\n      /**\n       * \\@internal\n       */\n\n      this._nextPrevious = null;\n      /**\n       * \\@internal\n       */\n\n      this._prev = null;\n      /**\n       * \\@internal\n       */\n\n      this._next = null;\n      /**\n       * \\@internal\n       */\n\n      this._prevDup = null;\n      /**\n       * \\@internal\n       */\n\n      this._nextDup = null;\n      /**\n       * \\@internal\n       */\n\n      this._prevRemoved = null;\n      /**\n       * \\@internal\n       */\n\n      this._nextRemoved = null;\n      /**\n       * \\@internal\n       */\n\n      this._nextAdded = null;\n      /**\n       * \\@internal\n       */\n\n      this._nextMoved = null;\n      /**\n       * \\@internal\n       */\n\n      this._nextIdentityChange = null;\n    };\n\n    if (false) {} // A linked list of CollectionChangeRecords with the same IterableChangeRecord_.item\n\n    /**\n     * @template V\n     */\n\n\n    var _DuplicateItemRecordList =\n    /*#__PURE__*/\n    function () {\n      function _DuplicateItemRecordList() {\n        _classCallCheck(this, _DuplicateItemRecordList);\n\n        /**\n         * \\@internal\n         */\n        this._head = null;\n        /**\n         * \\@internal\n         */\n\n        this._tail = null;\n      }\n      /**\n       * Append the record to the list of duplicates.\n       *\n       * Note: by design all records in the list of duplicates hold the same value in record.item.\n       * @param {?} record\n       * @return {?}\n       */\n\n\n      _createClass2(_DuplicateItemRecordList, [{\n        key: \"add\",\n        value: function add(record) {\n          if (this._head === null) {\n            this._head = this._tail = record;\n            record._nextDup = null;\n            record._prevDup = null;\n          } else {\n            // TODO(vicb):\n            // assert(record.item ==  _head.item ||\n            //       record.item is num && record.item.isNaN && _head.item is num && _head.item.isNaN);\n\n            /** @type {?} */\n            this._tail._nextDup = record;\n            record._prevDup = this._tail;\n            record._nextDup = null;\n            this._tail = record;\n          }\n        } // Returns a IterableChangeRecord_ having IterableChangeRecord_.trackById == trackById and\n        // IterableChangeRecord_.currentIndex >= atOrAfterIndex\n\n        /**\n         * @param {?} trackById\n         * @param {?} atOrAfterIndex\n         * @return {?}\n         */\n\n      }, {\n        key: \"get\",\n        value: function get(trackById, atOrAfterIndex) {\n          /** @type {?} */\n          var record;\n\n          for (record = this._head; record !== null; record = record._nextDup) {\n            if ((atOrAfterIndex === null || atOrAfterIndex <=\n            /** @type {?} */\n            record.currentIndex) && looseIdentical(record.trackById, trackById)) {\n              return record;\n            }\n          }\n\n          return null;\n        }\n        /**\n         * Remove one {\\@link IterableChangeRecord_} from the list of duplicates.\n         *\n         * Returns whether the list of duplicates is empty.\n         * @param {?} record\n         * @return {?}\n         */\n\n      }, {\n        key: \"remove\",\n        value: function remove(record) {\n          // TODO(vicb):\n          // assert(() {\n          //  // verify that the record being removed is in the list.\n          //  for (IterableChangeRecord_ cursor = _head; cursor != null; cursor = cursor._nextDup) {\n          //    if (identical(cursor, record)) return true;\n          //  }\n          //  return false;\n          //});\n          // TODO(vicb):\n          // assert(() {\n          //  // verify that the record being removed is in the list.\n          //  for (IterableChangeRecord_ cursor = _head; cursor != null; cursor = cursor._nextDup) {\n          //    if (identical(cursor, record)) return true;\n          //  }\n          //  return false;\n          //});\n\n          /** @type {?} */\n          var prev = record._prevDup;\n          /** @type {?} */\n\n          var next = record._nextDup;\n\n          if (prev === null) {\n            this._head = next;\n          } else {\n            prev._nextDup = next;\n          }\n\n          if (next === null) {\n            this._tail = prev;\n          } else {\n            next._prevDup = prev;\n          }\n\n          return this._head === null;\n        }\n      }]);\n\n      return _DuplicateItemRecordList;\n    }();\n\n    if (false) {}\n    /**\n     * @template V\n     */\n\n\n    var _DuplicateMap =\n    /*#__PURE__*/\n    function () {\n      function _DuplicateMap() {\n        _classCallCheck(this, _DuplicateMap);\n\n        this.map = new Map();\n      }\n      /**\n       * @param {?} record\n       * @return {?}\n       */\n\n\n      _createClass2(_DuplicateMap, [{\n        key: \"put\",\n        value: function put(record) {\n          /** @type {?} */\n          var key = record.trackById;\n          /** @type {?} */\n\n          var duplicates = this.map.get(key);\n\n          if (!duplicates) {\n            duplicates = new _DuplicateItemRecordList();\n            this.map.set(key, duplicates);\n          }\n\n          duplicates.add(record);\n        }\n        /**\n         * Retrieve the `value` using key. Because the IterableChangeRecord_ value may be one which we\n         * have already iterated over, we use the `atOrAfterIndex` to pretend it is not there.\n         *\n         * Use case: `[a, b, c, a, a]` if we are at index `3` which is the second `a` then asking if we\n         * have any more `a`s needs to return the second `a`.\n         * @param {?} trackById\n         * @param {?} atOrAfterIndex\n         * @return {?}\n         */\n\n      }, {\n        key: \"get\",\n        value: function get(trackById, atOrAfterIndex) {\n          /** @type {?} */\n          var key = trackById;\n          /** @type {?} */\n\n          var recordList = this.map.get(key);\n          return recordList ? recordList.get(trackById, atOrAfterIndex) : null;\n        }\n        /**\n         * Removes a {\\@link IterableChangeRecord_} from the list of duplicates.\n         *\n         * The list of duplicates also is removed from the map if it gets empty.\n         * @param {?} record\n         * @return {?}\n         */\n\n      }, {\n        key: \"remove\",\n        value: function remove(record) {\n          /** @type {?} */\n          var key = record.trackById;\n          /** @type {?} */\n\n          var recordList =\n          /** @type {?} */\n          this.map.get(key); // Remove the list of duplicates when it gets empty\n\n          if (recordList.remove(record)) {\n            this.map.delete(key);\n          }\n\n          return record;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"clear\",\n\n        /**\n         * @return {?}\n         */\n        value: function clear() {\n          this.map.clear();\n        }\n      }, {\n        key: \"isEmpty\",\n        get: function get() {\n          return this.map.size === 0;\n        }\n      }]);\n\n      return _DuplicateMap;\n    }();\n\n    if (false) {}\n    /**\n     * @param {?} item\n     * @param {?} addRemoveOffset\n     * @param {?} moveOffsets\n     * @return {?}\n     */\n\n\n    function getPreviousIndex(item, addRemoveOffset, moveOffsets) {\n      /** @type {?} */\n      var previousIndex = item.previousIndex;\n      if (previousIndex === null) return previousIndex;\n      /** @type {?} */\n\n      var moveOffset = 0;\n\n      if (moveOffsets && previousIndex < moveOffsets.length) {\n        moveOffset = moveOffsets[previousIndex];\n      }\n\n      return previousIndex + addRemoveOffset + moveOffset;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @template K, V\n     */\n\n\n    var DefaultKeyValueDifferFactory =\n    /*#__PURE__*/\n    function () {\n      function DefaultKeyValueDifferFactory() {\n        _classCallCheck(this, DefaultKeyValueDifferFactory);\n      }\n      /**\n       * @param {?} obj\n       * @return {?}\n       */\n\n\n      _createClass2(DefaultKeyValueDifferFactory, [{\n        key: \"supports\",\n        value: function supports(obj) {\n          return obj instanceof Map || isJsObject$1(obj);\n        }\n        /**\n         * @template K, V\n         * @return {?}\n         */\n\n      }, {\n        key: \"create\",\n        value: function create() {\n          return new DefaultKeyValueDiffer();\n        }\n      }]);\n\n      return DefaultKeyValueDifferFactory;\n    }();\n    /**\n     * @template K, V\n     */\n\n\n    var DefaultKeyValueDiffer =\n    /*#__PURE__*/\n    function () {\n      function DefaultKeyValueDiffer() {\n        _classCallCheck(this, DefaultKeyValueDiffer);\n\n        this._records = new Map();\n        this._mapHead = null; // _appendAfter is used in the check loop\n\n        this._appendAfter = null;\n        this._previousMapHead = null;\n        this._changesHead = null;\n        this._changesTail = null;\n        this._additionsHead = null;\n        this._additionsTail = null;\n        this._removalsHead = null;\n        this._removalsTail = null;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(DefaultKeyValueDiffer, [{\n        key: \"forEachItem\",\n\n        /**\n         * @param {?} fn\n         * @return {?}\n         */\n        value: function forEachItem(fn) {\n          /** @type {?} */\n          var record;\n\n          for (record = this._mapHead; record !== null; record = record._next) {\n            fn(record);\n          }\n        }\n        /**\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"forEachPreviousItem\",\n        value: function forEachPreviousItem(fn) {\n          /** @type {?} */\n          var record;\n\n          for (record = this._previousMapHead; record !== null; record = record._nextPrevious) {\n            fn(record);\n          }\n        }\n        /**\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"forEachChangedItem\",\n        value: function forEachChangedItem(fn) {\n          /** @type {?} */\n          var record;\n\n          for (record = this._changesHead; record !== null; record = record._nextChanged) {\n            fn(record);\n          }\n        }\n        /**\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"forEachAddedItem\",\n        value: function forEachAddedItem(fn) {\n          /** @type {?} */\n          var record;\n\n          for (record = this._additionsHead; record !== null; record = record._nextAdded) {\n            fn(record);\n          }\n        }\n        /**\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"forEachRemovedItem\",\n        value: function forEachRemovedItem(fn) {\n          /** @type {?} */\n          var record;\n\n          for (record = this._removalsHead; record !== null; record = record._nextRemoved) {\n            fn(record);\n          }\n        }\n        /**\n         * @param {?=} map\n         * @return {?}\n         */\n\n      }, {\n        key: \"diff\",\n        value: function diff(map) {\n          if (!map) {\n            map = new Map();\n          } else if (!(map instanceof Map || isJsObject$1(map))) {\n            throw new Error(\"Error trying to diff '\".concat(stringify(map), \"'. Only maps and objects are allowed\"));\n          }\n\n          return this.check(map) ? this : null;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"onDestroy\",\n        value: function onDestroy() {}\n        /**\n         * Check the current state of the map vs the previous.\n         * The algorithm is optimised for when the keys do no change.\n         * @param {?} map\n         * @return {?}\n         */\n\n      }, {\n        key: \"check\",\n        value: function check(map) {\n          var _this449 = this;\n\n          this._reset();\n          /** @type {?} */\n\n\n          var insertBefore = this._mapHead;\n          this._appendAfter = null;\n\n          this._forEach(map,\n          /**\n          * @param {?} value\n          * @param {?} key\n          * @return {?}\n          */\n          function (value, key) {\n            if (insertBefore && insertBefore.key === key) {\n              _this449._maybeAddToChanges(insertBefore, value);\n\n              _this449._appendAfter = insertBefore;\n              insertBefore = insertBefore._next;\n            } else {\n              /** @type {?} */\n              var record = _this449._getOrCreateRecordForKey(key, value);\n\n              insertBefore = _this449._insertBeforeOrAppend(insertBefore, record);\n            }\n          }); // Items remaining at the end of the list have been deleted\n\n\n          if (insertBefore) {\n            if (insertBefore._prev) {\n              insertBefore._prev._next = null;\n            }\n\n            this._removalsHead = insertBefore;\n\n            for (var record = insertBefore; record !== null; record = record._nextRemoved) {\n              if (record === this._mapHead) {\n                this._mapHead = null;\n              }\n\n              this._records.delete(record.key);\n\n              record._nextRemoved = record._next;\n              record.previousValue = record.currentValue;\n              record.currentValue = null;\n              record._prev = null;\n              record._next = null;\n            }\n          } // Make sure tails have no next records from previous runs\n\n\n          if (this._changesTail) this._changesTail._nextChanged = null;\n          if (this._additionsTail) this._additionsTail._nextAdded = null;\n          return this.isDirty;\n        }\n        /**\n         * Inserts a record before `before` or append at the end of the list when `before` is null.\n         *\n         * Notes:\n         * - This method appends at `this._appendAfter`,\n         * - This method updates `this._appendAfter`,\n         * - The return value is the new value for the insertion pointer.\n         * @private\n         * @param {?} before\n         * @param {?} record\n         * @return {?}\n         */\n\n      }, {\n        key: \"_insertBeforeOrAppend\",\n        value: function _insertBeforeOrAppend(before, record) {\n          if (before) {\n            /** @type {?} */\n            var prev = before._prev;\n            record._next = before;\n            record._prev = prev;\n            before._prev = record;\n\n            if (prev) {\n              prev._next = record;\n            }\n\n            if (before === this._mapHead) {\n              this._mapHead = record;\n            }\n\n            this._appendAfter = before;\n            return before;\n          }\n\n          if (this._appendAfter) {\n            this._appendAfter._next = record;\n            record._prev = this._appendAfter;\n          } else {\n            this._mapHead = record;\n          }\n\n          this._appendAfter = record;\n          return null;\n        }\n        /**\n         * @private\n         * @param {?} key\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"_getOrCreateRecordForKey\",\n        value: function _getOrCreateRecordForKey(key, value) {\n          if (this._records.has(key)) {\n            /** @type {?} */\n            var _record =\n            /** @type {?} */\n            this._records.get(key);\n\n            this._maybeAddToChanges(_record, value);\n            /** @type {?} */\n\n\n            var prev = _record._prev;\n            /** @type {?} */\n\n            var next = _record._next;\n\n            if (prev) {\n              prev._next = next;\n            }\n\n            if (next) {\n              next._prev = prev;\n            }\n\n            _record._next = null;\n            _record._prev = null;\n            return _record;\n          }\n          /** @type {?} */\n\n\n          var record = new KeyValueChangeRecord_(key);\n\n          this._records.set(key, record);\n\n          record.currentValue = value;\n\n          this._addToAdditions(record);\n\n          return record;\n        }\n        /**\n         * \\@internal\n         * @return {?}\n         */\n\n      }, {\n        key: \"_reset\",\n        value: function _reset() {\n          if (this.isDirty) {\n            /** @type {?} */\n            var record; // let `_previousMapHead` contain the state of the map before the changes\n\n            this._previousMapHead = this._mapHead;\n\n            for (record = this._previousMapHead; record !== null; record = record._next) {\n              record._nextPrevious = record._next;\n            } // Update `record.previousValue` with the value of the item before the changes\n            // We need to update all changed items (that's those which have been added and changed)\n\n\n            for (record = this._changesHead; record !== null; record = record._nextChanged) {\n              record.previousValue = record.currentValue;\n            }\n\n            for (record = this._additionsHead; record != null; record = record._nextAdded) {\n              record.previousValue = record.currentValue;\n            }\n\n            this._changesHead = this._changesTail = null;\n            this._additionsHead = this._additionsTail = null;\n            this._removalsHead = null;\n          }\n        } // Add the record or a given key to the list of changes only when the value has actually changed\n\n        /**\n         * @private\n         * @param {?} record\n         * @param {?} newValue\n         * @return {?}\n         */\n\n      }, {\n        key: \"_maybeAddToChanges\",\n        value: function _maybeAddToChanges(record, newValue) {\n          if (!looseIdentical(newValue, record.currentValue)) {\n            record.previousValue = record.currentValue;\n            record.currentValue = newValue;\n\n            this._addToChanges(record);\n          }\n        }\n        /**\n         * @private\n         * @param {?} record\n         * @return {?}\n         */\n\n      }, {\n        key: \"_addToAdditions\",\n        value: function _addToAdditions(record) {\n          if (this._additionsHead === null) {\n            this._additionsHead = this._additionsTail = record;\n          } else {\n            /** @type {?} */\n            this._additionsTail._nextAdded = record;\n            this._additionsTail = record;\n          }\n        }\n        /**\n         * @private\n         * @param {?} record\n         * @return {?}\n         */\n\n      }, {\n        key: \"_addToChanges\",\n        value: function _addToChanges(record) {\n          if (this._changesHead === null) {\n            this._changesHead = this._changesTail = record;\n          } else {\n            /** @type {?} */\n            this._changesTail._nextChanged = record;\n            this._changesTail = record;\n          }\n        }\n        /**\n         * \\@internal\n         * @private\n         * @template K, V\n         * @param {?} obj\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"_forEach\",\n        value: function _forEach(obj, fn) {\n          if (obj instanceof Map) {\n            obj.forEach(fn);\n          } else {\n            Object.keys(obj).forEach(\n            /**\n            * @param {?} k\n            * @return {?}\n            */\n            function (k) {\n              return fn(obj[k], k);\n            });\n          }\n        }\n      }, {\n        key: \"isDirty\",\n        get: function get() {\n          return this._additionsHead !== null || this._changesHead !== null || this._removalsHead !== null;\n        }\n      }]);\n\n      return DefaultKeyValueDiffer;\n    }();\n\n    if (false) {}\n    /**\n     * @template K, V\n     */\n\n\n    var KeyValueChangeRecord_ =\n    /**\n     * @param {?} key\n     */\n    function KeyValueChangeRecord_(key) {\n      _classCallCheck(this, KeyValueChangeRecord_);\n\n      this.key = key;\n      this.previousValue = null;\n      this.currentValue = null;\n      /**\n       * \\@internal\n       */\n\n      this._nextPrevious = null;\n      /**\n       * \\@internal\n       */\n\n      this._next = null;\n      /**\n       * \\@internal\n       */\n\n      this._prev = null;\n      /**\n       * \\@internal\n       */\n\n      this._nextAdded = null;\n      /**\n       * \\@internal\n       */\n\n      this._nextRemoved = null;\n      /**\n       * \\@internal\n       */\n\n      this._nextChanged = null;\n    };\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * A strategy for tracking changes over time to an iterable. Used by {\\@link NgForOf} to\n     * respond to changes in an iterable by effecting equivalent changes in the DOM.\n     *\n     * \\@publicApi\n     * @record\n     * @template V\n     */\n\n\n    function IterableDiffer() {}\n\n    if (false) {}\n    /**\n     * An object describing the changes in the `Iterable` collection since last time\n     * `IterableDiffer#diff()` was invoked.\n     *\n     * \\@publicApi\n     * @record\n     * @template V\n     */\n\n\n    function IterableChanges() {}\n\n    if (false) {}\n    /**\n     * Record representing the item change information.\n     *\n     * \\@publicApi\n     * @record\n     * @template V\n     */\n\n\n    function IterableChangeRecord() {}\n\n    if (false) {}\n    /**\n     * @deprecated v4.0.0 - Use IterableChangeRecord instead.\n     * \\@publicApi\n     * @record\n     * @template V\n     */\n\n\n    function CollectionChangeRecord() {}\n    /**\n     * An optional function passed into the `NgForOf` directive that defines how to track\n     * changes for items in an iterable.\n     * The function takes the iteration index and item ID.\n     * When supplied, Angular tracks changes by the return value of the function.\n     *\n     * \\@publicApi\n     * @record\n     * @template T\n     */\n\n\n    function TrackByFunction() {}\n    /**\n     * Provides a factory for {\\@link IterableDiffer}.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n\n    function IterableDifferFactory() {}\n\n    if (false) {}\n    /**\n     * A repository of different iterable diffing strategies used by NgFor, NgClass, and others.\n     *\n     * \\@publicApi\n     */\n\n\n    var IterableDiffers =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} factories\n       */\n      function IterableDiffers(factories) {\n        _classCallCheck(this, IterableDiffers);\n\n        this.factories = factories;\n      }\n      /**\n       * @param {?} factories\n       * @param {?=} parent\n       * @return {?}\n       */\n\n\n      _createClass2(IterableDiffers, [{\n        key: \"find\",\n\n        /**\n         * @param {?} iterable\n         * @return {?}\n         */\n        value: function find(iterable) {\n          /** @type {?} */\n          var factory = this.factories.find(\n          /**\n          * @param {?} f\n          * @return {?}\n          */\n          function (f) {\n            return f.supports(iterable);\n          });\n\n          if (factory != null) {\n            return factory;\n          } else {\n            throw new Error(\"Cannot find a differ supporting object '\".concat(iterable, \"' of type '\").concat(getTypeNameForDebugging(iterable), \"'\"));\n          }\n        }\n      }], [{\n        key: \"create\",\n        value: function create(factories, parent) {\n          if (parent != null) {\n            /** @type {?} */\n            var copied = parent.factories.slice();\n            factories = factories.concat(copied);\n          }\n\n          return new IterableDiffers(factories);\n        }\n        /**\n         * Takes an array of {\\@link IterableDifferFactory} and returns a provider used to extend the\n         * inherited {\\@link IterableDiffers} instance with the provided factories and return a new\n         * {\\@link IterableDiffers} instance.\n         *\n         * \\@usageNotes\n         * ### Example\n         *\n         * The following example shows how to extend an existing list of factories,\n         * which will only be applied to the injector for this component and its children.\n         * This step is all that's required to make a new {\\@link IterableDiffer} available.\n         *\n         * ```\n         * \\@Component({\n         *   viewProviders: [\n         *     IterableDiffers.extend([new ImmutableListDiffer()])\n         *   ]\n         * })\n         * ```\n         * @param {?} factories\n         * @return {?}\n         */\n\n      }, {\n        key: \"extend\",\n        value: function extend(factories) {\n          return {\n            provide: IterableDiffers,\n            useFactory:\n            /**\n            * @param {?} parent\n            * @return {?}\n            */\n            function useFactory(parent) {\n              if (!parent) {\n                // Typically would occur when calling IterableDiffers.extend inside of dependencies passed\n                // to\n                // bootstrap(), which would override default pipes instead of extending them.\n                throw new Error('Cannot extend IterableDiffers without a parent injector');\n              }\n\n              return IterableDiffers.create(factories, parent);\n            },\n            // Dependency technically isn't optional, but we can provide a better error message this way.\n            deps: [[IterableDiffers, new SkipSelf(), new Optional()]]\n          };\n        }\n      }]);\n\n      return IterableDiffers;\n    }();\n    /** @nocollapse */\n\n    /** @nocollapse */\n\n\n    IterableDiffers.ngInjectableDef = ɵɵdefineInjectable({\n      token: IterableDiffers,\n      providedIn: 'root',\n      factory:\n      /**\n      * @nocollapse @return {?}\n      */\n      function factory() {\n        return new IterableDiffers([new DefaultIterableDifferFactory()]);\n      }\n    });\n\n    if (false) {}\n    /**\n     * @param {?} type\n     * @return {?}\n     */\n\n\n    function getTypeNameForDebugging(type) {\n      return type['name'] || typeof type;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * A differ that tracks changes made to an object over time.\n     *\n     * \\@publicApi\n     * @record\n     * @template K, V\n     */\n\n\n    function KeyValueDiffer() {}\n\n    if (false) {}\n    /**\n     * An object describing the changes in the `Map` or `{[k:string]: string}` since last time\n     * `KeyValueDiffer#diff()` was invoked.\n     *\n     * \\@publicApi\n     * @record\n     * @template K, V\n     */\n\n\n    function KeyValueChanges() {}\n\n    if (false) {}\n    /**\n     * Record representing the item change information.\n     *\n     * \\@publicApi\n     * @record\n     * @template K, V\n     */\n\n\n    function KeyValueChangeRecord() {}\n\n    if (false) {}\n    /**\n     * Provides a factory for {\\@link KeyValueDiffer}.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n\n    function KeyValueDifferFactory() {}\n\n    if (false) {}\n    /**\n     * A repository of different Map diffing strategies used by NgClass, NgStyle, and others.\n     *\n     * \\@publicApi\n     */\n\n\n    var KeyValueDiffers =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} factories\n       */\n      function KeyValueDiffers(factories) {\n        _classCallCheck(this, KeyValueDiffers);\n\n        this.factories = factories;\n      }\n      /**\n       * @template S\n       * @param {?} factories\n       * @param {?=} parent\n       * @return {?}\n       */\n\n\n      _createClass2(KeyValueDiffers, [{\n        key: \"find\",\n\n        /**\n         * @param {?} kv\n         * @return {?}\n         */\n        value: function find(kv) {\n          /** @type {?} */\n          var factory = this.factories.find(\n          /**\n          * @param {?} f\n          * @return {?}\n          */\n          function (f) {\n            return f.supports(kv);\n          });\n\n          if (factory) {\n            return factory;\n          }\n\n          throw new Error(\"Cannot find a differ supporting object '\".concat(kv, \"'\"));\n        }\n      }], [{\n        key: \"create\",\n        value: function create(factories, parent) {\n          if (parent) {\n            /** @type {?} */\n            var copied = parent.factories.slice();\n            factories = factories.concat(copied);\n          }\n\n          return new KeyValueDiffers(factories);\n        }\n        /**\n         * Takes an array of {\\@link KeyValueDifferFactory} and returns a provider used to extend the\n         * inherited {\\@link KeyValueDiffers} instance with the provided factories and return a new\n         * {\\@link KeyValueDiffers} instance.\n         *\n         * \\@usageNotes\n         * ### Example\n         *\n         * The following example shows how to extend an existing list of factories,\n         * which will only be applied to the injector for this component and its children.\n         * This step is all that's required to make a new {\\@link KeyValueDiffer} available.\n         *\n         * ```\n         * \\@Component({\n         *   viewProviders: [\n         *     KeyValueDiffers.extend([new ImmutableMapDiffer()])\n         *   ]\n         * })\n         * ```\n         * @template S\n         * @param {?} factories\n         * @return {?}\n         */\n\n      }, {\n        key: \"extend\",\n        value: function extend(factories) {\n          return {\n            provide: KeyValueDiffers,\n            useFactory:\n            /**\n            * @param {?} parent\n            * @return {?}\n            */\n            function useFactory(parent) {\n              if (!parent) {\n                // Typically would occur when calling KeyValueDiffers.extend inside of dependencies passed\n                // to bootstrap(), which would override default pipes instead of extending them.\n                throw new Error('Cannot extend KeyValueDiffers without a parent injector');\n              }\n\n              return KeyValueDiffers.create(factories, parent);\n            },\n            // Dependency technically isn't optional, but we can provide a better error message this way.\n            deps: [[KeyValueDiffers, new SkipSelf(), new Optional()]]\n          };\n        }\n      }]);\n\n      return KeyValueDiffers;\n    }();\n    /** @nocollapse */\n\n    /** @nocollapse */\n\n\n    KeyValueDiffers.ngInjectableDef = ɵɵdefineInjectable({\n      token: KeyValueDiffers,\n      providedIn: 'root',\n      factory:\n      /**\n      * @nocollapse @return {?}\n      */\n      function factory() {\n        return new KeyValueDiffers([new DefaultKeyValueDifferFactory()]);\n      }\n    });\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Structural diffing for `Object`s and `Map`s.\n     * @type {?}\n     */\n\n\n    var keyValDiff = [new DefaultKeyValueDifferFactory()];\n    /**\n     * Structural diffing for `Iterable` types such as `Array`s.\n     * @type {?}\n     */\n\n    var iterableDiff = [new DefaultIterableDifferFactory()];\n    /** @type {?} */\n\n    var defaultIterableDiffers = new IterableDiffers(iterableDiff);\n    /** @type {?} */\n\n    var defaultKeyValueDiffers = new KeyValueDiffers(keyValDiff);\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Represents an embedded template that can be used to instantiate embedded views.\n     * To instantiate embedded views based on a template, use the `ViewContainerRef`\n     * method `createEmbeddedView()`.\n     *\n     * Access a `TemplateRef` instance by placing a directive on an `<ng-template>`\n     * element (or directive prefixed with `*`). The `TemplateRef` for the embedded view\n     * is injected into the constructor of the directive,\n     * using the `TemplateRef` token.\n     *\n     * You can also use a `Query` to find a `TemplateRef` associated with\n     * a component or a directive.\n     *\n     * @see `ViewContainerRef`\n     * @see [Navigate the Component Tree with DI](guide/dependency-injection-navtree)\n     *\n     * \\@publicApi\n     * @abstract\n     * @template C\n     */\n\n    var TemplateRef = function TemplateRef() {\n      _classCallCheck(this, TemplateRef);\n    };\n    /**\n     * \\@internal\n     * @nocollapse\n     */\n\n\n    TemplateRef.__NG_ELEMENT_ID__ =\n    /**\n    * @return {?}\n    */\n    function () {\n      return SWITCH_TEMPLATE_REF_FACTORY(TemplateRef, ElementRef);\n    };\n\n    if (false) {}\n    /** @type {?} */\n\n\n    var SWITCH_TEMPLATE_REF_FACTORY__POST_R3__ = injectTemplateRef;\n    /** @type {?} */\n\n    var SWITCH_TEMPLATE_REF_FACTORY__PRE_R3__ = noop;\n    /** @type {?} */\n\n    var SWITCH_TEMPLATE_REF_FACTORY = SWITCH_TEMPLATE_REF_FACTORY__PRE_R3__;\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Represents a container where one or more views can be attached to a component.\n     *\n     * Can contain *host views* (created by instantiating a\n     * component with the `createComponent()` method), and *embedded views*\n     * (created by instantiating a `TemplateRef` with the `createEmbeddedView()` method).\n     *\n     * A view container instance can contain other view containers,\n     * creating a [view hierarchy](guide/glossary#view-tree).\n     *\n     * @see `ComponentRef`\n     * @see `EmbeddedViewRef`\n     *\n     * \\@publicApi\n     * @abstract\n     */\n\n    var ViewContainerRef = function ViewContainerRef() {\n      _classCallCheck(this, ViewContainerRef);\n    };\n    /**\n     * \\@internal\n     * @nocollapse\n     */\n\n\n    ViewContainerRef.__NG_ELEMENT_ID__ =\n    /**\n    * @return {?}\n    */\n    function () {\n      return SWITCH_VIEW_CONTAINER_REF_FACTORY(ViewContainerRef, ElementRef);\n    };\n\n    if (false) {}\n    /** @type {?} */\n\n\n    var SWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__ = injectViewContainerRef;\n    /** @type {?} */\n\n    var SWITCH_VIEW_CONTAINER_REF_FACTORY__PRE_R3__ = noop;\n    /** @type {?} */\n\n    var SWITCH_VIEW_CONTAINER_REF_FACTORY = SWITCH_VIEW_CONTAINER_REF_FACTORY__PRE_R3__;\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @param {?} context\n     * @param {?} oldValue\n     * @param {?} currValue\n     * @param {?} isFirstCheck\n     * @return {?}\n     */\n\n    function expressionChangedAfterItHasBeenCheckedError(context, oldValue, currValue, isFirstCheck) {\n      /** @type {?} */\n      var msg = \"ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '\".concat(oldValue, \"'. Current value: '\").concat(currValue, \"'.\");\n\n      if (isFirstCheck) {\n        msg += \" 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 ?\";\n      }\n\n      return viewDebugError(msg, context);\n    }\n    /**\n     * @param {?} err\n     * @param {?} context\n     * @return {?}\n     */\n\n\n    function viewWrappedDebugError(err, context) {\n      if (!(err instanceof Error)) {\n        // errors that are not Error instances don't have a stack,\n        // so it is ok to wrap them into a new Error object...\n        err = new Error(err.toString());\n      }\n\n      _addDebugContext(err, context);\n\n      return err;\n    }\n    /**\n     * @param {?} msg\n     * @param {?} context\n     * @return {?}\n     */\n\n\n    function viewDebugError(msg, context) {\n      /** @type {?} */\n      var err = new Error(msg);\n\n      _addDebugContext(err, context);\n\n      return err;\n    }\n    /**\n     * @param {?} err\n     * @param {?} context\n     * @return {?}\n     */\n\n\n    function _addDebugContext(err, context) {\n      /** @type {?} */\n      err[ERROR_DEBUG_CONTEXT] = context;\n\n      /** @type {?} */\n      err[ERROR_LOGGER] = context.logError.bind(context);\n    }\n    /**\n     * @param {?} err\n     * @return {?}\n     */\n\n\n    function isViewDebugError(err) {\n      return !!getDebugContext(err);\n    }\n    /**\n     * @param {?} action\n     * @return {?}\n     */\n\n\n    function viewDestroyedError(action) {\n      return new Error(\"ViewDestroyedError: Attempt to use a destroyed view: \".concat(action));\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * Factory for ViewDefinitions/NgModuleDefinitions.\n     * We use a function so we can reexeute it in case an error happens and use the given logger\n     * function to log the error from the definition of the node, which is shown in all browser\n     * logs.\n     * @record\n     * @template D\n     */\n\n\n    function DefinitionFactory() {}\n    /**\n     * Function to call console.error at the right source location. This is an indirection\n     * via another function as browser will log the location that actually called\n     * `console.error`.\n     * @record\n     */\n\n\n    function NodeLogger() {}\n    /**\n     * @record\n     * @template DF\n     */\n\n\n    function Definition() {}\n\n    if (false) {}\n    /**\n     * @record\n     */\n\n\n    function NgModuleDefinition() {}\n\n    if (false) {}\n    /**\n     * @record\n     */\n\n\n    function NgModuleDefinitionFactory() {}\n    /**\n     * @record\n     */\n\n\n    function ViewDefinition() {}\n\n    if (false) {}\n    /**\n     * @record\n     */\n\n\n    function ViewDefinitionFactory() {}\n    /**\n     * @record\n     */\n\n\n    function ViewUpdateFn() {}\n    /**\n     * @record\n     */\n\n\n    function NodeCheckFn() {}\n    /** @enum {number} */\n\n\n    var ArgumentType = {\n      Inline: 0,\n      Dynamic: 1\n    };\n    /**\n     * @record\n     */\n\n    function ViewHandleEventFn() {}\n    /** @enum {number} */\n\n\n    var ViewFlags = {\n      None: 0,\n      OnPush: 2\n    };\n    /**\n     * A node definition in the view.\n     *\n     * Note: We use one type for all nodes so that loops that loop over all nodes\n     * of a ViewDefinition stay monomorphic!\n     * @record\n     */\n\n    function NodeDef() {}\n\n    if (false) {}\n    /** @enum {number} */\n\n\n    var NodeFlags = {\n      None: 0,\n      TypeElement: 1,\n      TypeText: 2,\n      ProjectedTemplate: 4,\n      CatRenderNode: 3,\n      TypeNgContent: 8,\n      TypePipe: 16,\n      TypePureArray: 32,\n      TypePureObject: 64,\n      TypePurePipe: 128,\n      CatPureExpression: 224,\n      TypeValueProvider: 256,\n      TypeClassProvider: 512,\n      TypeFactoryProvider: 1024,\n      TypeUseExistingProvider: 2048,\n      LazyProvider: 4096,\n      PrivateProvider: 8192,\n      TypeDirective: 16384,\n      Component: 32768,\n      CatProviderNoDirective: 3840,\n      CatProvider: 20224,\n      OnInit: 65536,\n      OnDestroy: 131072,\n      DoCheck: 262144,\n      OnChanges: 524288,\n      AfterContentInit: 1048576,\n      AfterContentChecked: 2097152,\n      AfterViewInit: 4194304,\n      AfterViewChecked: 8388608,\n      EmbeddedViews: 16777216,\n      ComponentView: 33554432,\n      TypeContentQuery: 67108864,\n      TypeViewQuery: 134217728,\n      StaticQuery: 268435456,\n      DynamicQuery: 536870912,\n      TypeNgModule: 1073741824,\n      CatQuery: 201326592,\n      // mutually exclusive values...\n      Types: 201347067\n    };\n    /**\n     * @record\n     */\n\n    function BindingDef() {}\n\n    if (false) {}\n    /** @enum {number} */\n\n\n    var BindingFlags = {\n      TypeElementAttribute: 1,\n      TypeElementClass: 2,\n      TypeElementStyle: 4,\n      TypeProperty: 8,\n      SyntheticProperty: 16,\n      SyntheticHostProperty: 32,\n      CatSyntheticProperty: 48,\n      // mutually exclusive values...\n      Types: 15\n    };\n    /**\n     * @record\n     */\n\n    function OutputDef() {}\n\n    if (false) {}\n    /** @enum {number} */\n\n\n    var OutputType = {\n      ElementOutput: 0,\n      DirectiveOutput: 1\n    };\n    /** @enum {number} */\n\n    var QueryValueType = {\n      ElementRef: 0,\n      RenderElement: 1,\n      TemplateRef: 2,\n      ViewContainerRef: 3,\n      Provider: 4\n    };\n    /**\n     * @record\n     */\n\n    function ElementDef() {}\n\n    if (false) {}\n    /**\n     * @record\n     */\n\n\n    function ElementHandleEventFn() {}\n    /**\n     * @record\n     */\n\n\n    function ProviderDef() {}\n\n    if (false) {}\n    /**\n     * @record\n     */\n\n\n    function NgModuleProviderDef() {}\n\n    if (false) {}\n    /**\n     * @record\n     */\n\n\n    function DepDef() {}\n\n    if (false) {}\n    /** @enum {number} */\n\n\n    var DepFlags = {\n      None: 0,\n      SkipSelf: 1,\n      Optional: 2,\n      Self: 4,\n      Value: 8\n    };\n    /**\n     * @record\n     */\n\n    function TextDef() {}\n\n    if (false) {}\n    /**\n     * @record\n     */\n\n\n    function QueryDef() {}\n\n    if (false) {}\n    /**\n     * @record\n     */\n\n\n    function QueryBindingDef() {}\n\n    if (false) {}\n    /** @enum {number} */\n\n\n    var QueryBindingType = {\n      First: 0,\n      All: 1\n    };\n    /**\n     * @record\n     */\n\n    function NgContentDef() {}\n\n    if (false) {}\n    /**\n     * @record\n     */\n\n\n    function NgModuleData() {}\n\n    if (false) {}\n    /**\n     * View instance data.\n     * Attention: Adding fields to this is performance sensitive!\n     * @record\n     */\n\n\n    function ViewData() {}\n\n    if (false) {}\n    /** @enum {number} */\n\n\n    var ViewState = {\n      BeforeFirstCheck: 1,\n      FirstCheck: 2,\n      Attached: 4,\n      ChecksEnabled: 8,\n      IsProjectedView: 16,\n      CheckProjectedView: 32,\n      CheckProjectedViews: 64,\n      Destroyed: 128,\n      // InitState Uses 3 bits\n      InitState_Mask: 1792,\n      InitState_BeforeInit: 0,\n      InitState_CallingOnInit: 256,\n      InitState_CallingAfterContentInit: 512,\n      InitState_CallingAfterViewInit: 768,\n      InitState_AfterInit: 1024,\n      CatDetectChanges: 12,\n      CatInit: 13\n    }; // Called before each cycle of a view's check to detect whether this is in the\n    // initState for which we need to call ngOnInit, ngAfterContentInit or ngAfterViewInit\n    // lifecycle methods. Returns true if this check cycle should call lifecycle\n    // methods.\n\n    /**\n     * @param {?} view\n     * @param {?} priorInitState\n     * @param {?} newInitState\n     * @return {?}\n     */\n\n    function shiftInitState(view, priorInitState, newInitState) {\n      // Only update the InitState if we are currently in the prior state.\n      // For example, only move into CallingInit if we are in BeforeInit. Only\n      // move into CallingContentInit if we are in CallingInit. Normally this will\n      // always be true because of how checkCycle is called in checkAndUpdateView.\n      // However, if checkAndUpdateView is called recursively or if an exception is\n      // thrown while checkAndUpdateView is running, checkAndUpdateView starts over\n      // from the beginning. This ensures the state is monotonically increasing,\n      // terminating in the AfterInit state, which ensures the Init methods are called\n      // at least once and only once.\n\n      /** @type {?} */\n      var state = view.state;\n      /** @type {?} */\n\n      var initState = state & 1792\n      /* InitState_Mask */\n      ;\n\n      if (initState === priorInitState) {\n        view.state = state & ~1792\n        /* InitState_Mask */\n        | newInitState;\n        view.initIndex = -1;\n        return true;\n      }\n\n      return initState === newInitState;\n    } // Returns true if the lifecycle init method should be called for the node with\n    // the given init index.\n\n    /**\n     * @param {?} view\n     * @param {?} initState\n     * @param {?} index\n     * @return {?}\n     */\n\n\n    function shouldCallLifecycleInitHook(view, initState, index) {\n      if ((view.state & 1792\n      /* InitState_Mask */\n      ) === initState && view.initIndex <= index) {\n        view.initIndex = index + 1;\n        return true;\n      }\n\n      return false;\n    }\n    /**\n     * @record\n     */\n\n\n    function DisposableFn() {}\n    /**\n     * Node instance data.\n     *\n     * We have a separate type per NodeType to save memory\n     * (TextData | ElementData | ProviderData | PureExpressionData | QueryList<any>)\n     *\n     * To keep our code monomorphic,\n     * we prohibit using `NodeData` directly but enforce the use of accessors (`asElementData`, ...).\n     * This way, no usage site can get a `NodeData` from view.nodes and then use it for different\n     * purposes.\n     */\n\n\n    var NodeData = function NodeData() {\n      _classCallCheck(this, NodeData);\n    };\n\n    if (false) {}\n    /**\n     * Data for an instantiated NodeType.Text.\n     *\n     * Attention: Adding fields to this is performance sensitive!\n     * @record\n     */\n\n\n    function TextData() {}\n\n    if (false) {}\n    /**\n     * Accessor for view.nodes, enforcing that every usage site stays monomorphic.\n     * @param {?} view\n     * @param {?} index\n     * @return {?}\n     */\n\n\n    function asTextData(view, index) {\n      return (\n        /** @type {?} */\n        view.nodes[index]\n      );\n    }\n    /**\n     * Data for an instantiated NodeType.Element.\n     *\n     * Attention: Adding fields to this is performance sensitive!\n     * @record\n     */\n\n\n    function ElementData() {}\n\n    if (false) {}\n    /**\n     * @record\n     */\n\n\n    function ViewContainerData() {}\n\n    if (false) {}\n    /**\n     * @record\n     */\n\n\n    function TemplateData() {}\n\n    if (false) {}\n    /**\n     * Accessor for view.nodes, enforcing that every usage site stays monomorphic.\n     * @param {?} view\n     * @param {?} index\n     * @return {?}\n     */\n\n\n    function asElementData(view, index) {\n      return (\n        /** @type {?} */\n        view.nodes[index]\n      );\n    }\n    /**\n     * Data for an instantiated NodeType.Provider.\n     *\n     * Attention: Adding fields to this is performance sensitive!\n     * @record\n     */\n\n\n    function ProviderData() {}\n\n    if (false) {}\n    /**\n     * Accessor for view.nodes, enforcing that every usage site stays monomorphic.\n     * @param {?} view\n     * @param {?} index\n     * @return {?}\n     */\n\n\n    function asProviderData(view, index) {\n      return (\n        /** @type {?} */\n        view.nodes[index]\n      );\n    }\n    /**\n     * Data for an instantiated NodeType.PureExpression.\n     *\n     * Attention: Adding fields to this is performance sensitive!\n     * @record\n     */\n\n\n    function PureExpressionData() {}\n\n    if (false) {}\n    /**\n     * Accessor for view.nodes, enforcing that every usage site stays monomorphic.\n     * @param {?} view\n     * @param {?} index\n     * @return {?}\n     */\n\n\n    function asPureExpressionData(view, index) {\n      return (\n        /** @type {?} */\n        view.nodes[index]\n      );\n    }\n    /**\n     * Accessor for view.nodes, enforcing that every usage site stays monomorphic.\n     * @param {?} view\n     * @param {?} index\n     * @return {?}\n     */\n\n\n    function asQueryList(view, index) {\n      return (\n        /** @type {?} */\n        view.nodes[index]\n      );\n    }\n    /**\n     * @record\n     */\n\n\n    function RootData() {}\n\n    if (false) {}\n    /**\n     * @abstract\n     */\n\n\n    var DebugContext = function DebugContext() {\n      _classCallCheck(this, DebugContext);\n    };\n\n    if (false) {}\n    /** @enum {number} */\n\n\n    var CheckType = {\n      CheckAndUpdate: 0,\n      CheckNoChanges: 1\n    };\n    /**\n     * @record\n     */\n\n    function ProviderOverride() {}\n\n    if (false) {} // WARNING: interface has both a type and a value, skipping emit\n\n    /**\n     * This object is used to prevent cycles in the source files and to have a place where\n     * debug mode can hook it. It is lazily filled when `isDevMode` is known.\n     * @type {?}\n     */\n\n\n    var Services = {\n      setCurrentNode:\n      /** @type {?} */\n      undefined,\n      createRootView:\n      /** @type {?} */\n      undefined,\n      createEmbeddedView:\n      /** @type {?} */\n      undefined,\n      createComponentView:\n      /** @type {?} */\n      undefined,\n      createNgModuleRef:\n      /** @type {?} */\n      undefined,\n      overrideProvider:\n      /** @type {?} */\n      undefined,\n      overrideComponentView:\n      /** @type {?} */\n      undefined,\n      clearOverrides:\n      /** @type {?} */\n      undefined,\n      checkAndUpdateView:\n      /** @type {?} */\n      undefined,\n      checkNoChangesView:\n      /** @type {?} */\n      undefined,\n      destroyView:\n      /** @type {?} */\n      undefined,\n      resolveDep:\n      /** @type {?} */\n      undefined,\n      createDebugContext:\n      /** @type {?} */\n      undefined,\n      handleEvent:\n      /** @type {?} */\n      undefined,\n      updateDirectives:\n      /** @type {?} */\n      undefined,\n      updateRenderer:\n      /** @type {?} */\n      undefined,\n      dirtyParentQueries:\n      /** @type {?} */\n      undefined\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n    var NOOP =\n    /**\n    * @return {?}\n    */\n    function NOOP() {};\n    /** @type {?} */\n\n\n    var _tokenKeyCache = new Map();\n    /**\n     * @param {?} token\n     * @return {?}\n     */\n\n\n    function tokenKey(token) {\n      /** @type {?} */\n      var key = _tokenKeyCache.get(token);\n\n      if (!key) {\n        key = stringify(token) + '_' + _tokenKeyCache.size;\n\n        _tokenKeyCache.set(token, key);\n      }\n\n      return key;\n    }\n    /**\n     * @param {?} view\n     * @param {?} nodeIdx\n     * @param {?} bindingIdx\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function unwrapValue(view, nodeIdx, bindingIdx, value) {\n      if (WrappedValue.isWrapped(value)) {\n        value = WrappedValue.unwrap(value);\n        /** @type {?} */\n\n        var globalBindingIdx = view.def.nodes[nodeIdx].bindingIndex + bindingIdx;\n        /** @type {?} */\n\n        var oldValue = WrappedValue.unwrap(view.oldValues[globalBindingIdx]);\n        view.oldValues[globalBindingIdx] = new WrappedValue(oldValue);\n      }\n\n      return value;\n    }\n    /** @type {?} */\n\n\n    var UNDEFINED_RENDERER_TYPE_ID = '$$undefined';\n    /** @type {?} */\n\n    var EMPTY_RENDERER_TYPE_ID = '$$empty'; // Attention: this function is called as top level function.\n    // Putting any logic in here will destroy closure tree shaking!\n\n    /**\n     * @param {?} values\n     * @return {?}\n     */\n\n    function createRendererType2(values) {\n      return {\n        id: UNDEFINED_RENDERER_TYPE_ID,\n        styles: values.styles,\n        encapsulation: values.encapsulation,\n        data: values.data\n      };\n    }\n    /** @type {?} */\n\n\n    var _renderCompCount$1 = 0;\n    /**\n     * @param {?=} type\n     * @return {?}\n     */\n\n    function resolveRendererType2(type) {\n      if (type && type.id === UNDEFINED_RENDERER_TYPE_ID) {\n        // first time we see this RendererType2. Initialize it...\n\n        /** @type {?} */\n        var isFilled = type.encapsulation != null && type.encapsulation !== ViewEncapsulation.None || type.styles.length || Object.keys(type.data).length;\n\n        if (isFilled) {\n          type.id = \"c\".concat(_renderCompCount$1++);\n        } else {\n          type.id = EMPTY_RENDERER_TYPE_ID;\n        }\n      }\n\n      if (type && type.id === EMPTY_RENDERER_TYPE_ID) {\n        type = null;\n      }\n\n      return type || null;\n    }\n    /**\n     * @param {?} view\n     * @param {?} def\n     * @param {?} bindingIdx\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function checkBinding(view, def, bindingIdx, value) {\n      /** @type {?} */\n      var oldValues = view.oldValues;\n\n      if (view.state & 2\n      /* FirstCheck */\n      || !looseIdentical(oldValues[def.bindingIndex + bindingIdx], value)) {\n        return true;\n      }\n\n      return false;\n    }\n    /**\n     * @param {?} view\n     * @param {?} def\n     * @param {?} bindingIdx\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function checkAndUpdateBinding(view, def, bindingIdx, value) {\n      if (checkBinding(view, def, bindingIdx, value)) {\n        view.oldValues[def.bindingIndex + bindingIdx] = value;\n        return true;\n      }\n\n      return false;\n    }\n    /**\n     * @param {?} view\n     * @param {?} def\n     * @param {?} bindingIdx\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function checkBindingNoChanges(view, def, bindingIdx, value) {\n      /** @type {?} */\n      var oldValue = view.oldValues[def.bindingIndex + bindingIdx];\n\n      if (view.state & 1\n      /* BeforeFirstCheck */\n      || !devModeEqual$1(oldValue, value)) {\n        /** @type {?} */\n        var bindingName = def.bindings[bindingIdx].name;\n        throw expressionChangedAfterItHasBeenCheckedError(Services.createDebugContext(view, def.nodeIndex), \"\".concat(bindingName, \": \").concat(oldValue), \"\".concat(bindingName, \": \").concat(value), (view.state & 1\n        /* BeforeFirstCheck */\n        ) !== 0);\n      }\n    }\n    /**\n     * @param {?} view\n     * @return {?}\n     */\n\n\n    function markParentViewsForCheck(view) {\n      /** @type {?} */\n      var currView = view;\n\n      while (currView) {\n        if (currView.def.flags & 2\n        /* OnPush */\n        ) {\n            currView.state |= 8\n            /* ChecksEnabled */\n            ;\n          }\n\n        currView = currView.viewContainerParent || currView.parent;\n      }\n    }\n    /**\n     * @param {?} view\n     * @param {?} endView\n     * @return {?}\n     */\n\n\n    function markParentViewsForCheckProjectedViews(view, endView) {\n      /** @type {?} */\n      var currView = view;\n\n      while (currView && currView !== endView) {\n        currView.state |= 64\n        /* CheckProjectedViews */\n        ;\n        currView = currView.viewContainerParent || currView.parent;\n      }\n    }\n    /**\n     * @param {?} view\n     * @param {?} nodeIndex\n     * @param {?} eventName\n     * @param {?} event\n     * @return {?}\n     */\n\n\n    function dispatchEvent(view, nodeIndex, eventName, event) {\n      try {\n        /** @type {?} */\n        var nodeDef = view.def.nodes[nodeIndex];\n        /** @type {?} */\n\n        var startView = nodeDef.flags & 33554432\n        /* ComponentView */\n        ? asElementData(view, nodeIndex).componentView : view;\n        markParentViewsForCheck(startView);\n        return Services.handleEvent(view, nodeIndex, eventName, event);\n      } catch (e) {\n        // Attention: Don't rethrow, as it would cancel Observable subscriptions!\n        view.root.errorHandler.handleError(e);\n      }\n    }\n    /**\n     * @param {?} view\n     * @return {?}\n     */\n\n\n    function declaredViewContainer(view) {\n      if (view.parent) {\n        /** @type {?} */\n        var parentView = view.parent;\n        return asElementData(parentView,\n        /** @type {?} */\n        view.parentNodeDef.nodeIndex);\n      }\n\n      return null;\n    }\n    /**\n     * for component views, this is the host element.\n     * for embedded views, this is the index of the parent node\n     * that contains the view container.\n     * @param {?} view\n     * @return {?}\n     */\n\n\n    function viewParentEl(view) {\n      /** @type {?} */\n      var parentView = view.parent;\n\n      if (parentView) {\n        return (\n          /** @type {?} */\n          view.parentNodeDef.parent\n        );\n      } else {\n        return null;\n      }\n    }\n    /**\n     * @param {?} view\n     * @param {?} def\n     * @return {?}\n     */\n\n\n    function renderNode(view, def) {\n      switch (def.flags & 201347067\n      /* Types */\n      ) {\n        case 1\n        /* TypeElement */\n        :\n          return asElementData(view, def.nodeIndex).renderElement;\n\n        case 2\n        /* TypeText */\n        :\n          return asTextData(view, def.nodeIndex).renderText;\n      }\n    }\n    /**\n     * @param {?} target\n     * @param {?} name\n     * @return {?}\n     */\n\n\n    function elementEventFullName(target, name) {\n      return target ? \"\".concat(target, \":\").concat(name) : name;\n    }\n    /**\n     * @param {?} view\n     * @return {?}\n     */\n\n\n    function isComponentView(view) {\n      return !!view.parent && !!(\n      /** @type {?} */\n      view.parentNodeDef.flags & 32768\n      /* Component */\n      );\n    }\n    /**\n     * @param {?} view\n     * @return {?}\n     */\n\n\n    function isEmbeddedView(view) {\n      return !!view.parent && !(\n      /** @type {?} */\n      view.parentNodeDef.flags & 32768\n      /* Component */\n      );\n    }\n    /**\n     * @param {?} queryId\n     * @return {?}\n     */\n\n\n    function filterQueryId(queryId) {\n      return 1 << queryId % 32;\n    }\n    /**\n     * @param {?} matchedQueriesDsl\n     * @return {?}\n     */\n\n\n    function splitMatchedQueriesDsl(matchedQueriesDsl) {\n      /** @type {?} */\n      var matchedQueries = {};\n      /** @type {?} */\n\n      var matchedQueryIds = 0;\n      /** @type {?} */\n\n      var references = {};\n\n      if (matchedQueriesDsl) {\n        matchedQueriesDsl.forEach(\n        /**\n        * @param {?} __0\n        * @return {?}\n        */\n        function (_ref63) {\n          var _ref64 = _slicedToArray(_ref63, 2),\n              queryId = _ref64[0],\n              valueType = _ref64[1];\n\n          if (typeof queryId === 'number') {\n            matchedQueries[queryId] = valueType;\n            matchedQueryIds |= filterQueryId(queryId);\n          } else {\n            references[queryId] = valueType;\n          }\n        });\n      }\n\n      return {\n        matchedQueries: matchedQueries,\n        references: references,\n        matchedQueryIds: matchedQueryIds\n      };\n    }\n    /**\n     * @param {?} deps\n     * @param {?=} sourceName\n     * @return {?}\n     */\n\n\n    function splitDepsDsl(deps, sourceName) {\n      return deps.map(\n      /**\n      * @param {?} value\n      * @return {?}\n      */\n      function (value) {\n        /** @type {?} */\n        var token;\n        /** @type {?} */\n\n        var flags;\n\n        if (Array.isArray(value)) {\n          var _value10 = _slicedToArray(value, 2);\n\n          flags = _value10[0];\n          token = _value10[1];\n        } else {\n          flags = 0\n          /* None */\n          ;\n          token = value;\n        }\n\n        if (token && (typeof token === 'function' || typeof token === 'object') && sourceName) {\n          Object.defineProperty(token, SOURCE, {\n            value: sourceName,\n            configurable: true\n          });\n        }\n\n        return {\n          flags: flags,\n          token: token,\n          tokenKey: tokenKey(token)\n        };\n      });\n    }\n    /**\n     * @param {?} view\n     * @param {?} renderHost\n     * @param {?} def\n     * @return {?}\n     */\n\n\n    function getParentRenderElement(view, renderHost, def) {\n      /** @type {?} */\n      var renderParent = def.renderParent;\n\n      if (renderParent) {\n        if ((renderParent.flags & 1\n        /* TypeElement */\n        ) === 0 || (renderParent.flags & 33554432\n        /* ComponentView */\n        ) === 0 ||\n        /** @type {?} */\n        renderParent.element.componentRendererType &&\n        /** @type {?} */\n\n        /** @type {?} */\n        renderParent.element.componentRendererType.encapsulation === ViewEncapsulation.Native) {\n          // only children of non components, or children of components with native encapsulation should\n          // be attached.\n          return asElementData(view,\n          /** @type {?} */\n          def.renderParent.nodeIndex).renderElement;\n        }\n      } else {\n        return renderHost;\n      }\n    }\n    /** @type {?} */\n\n\n    var DEFINITION_CACHE = new WeakMap();\n    /**\n     * @template D\n     * @param {?} factory\n     * @return {?}\n     */\n\n    function resolveDefinition(factory) {\n      /** @type {?} */\n      var value =\n      /** @type {?} */\n\n      /** @type {?} */\n      DEFINITION_CACHE.get(factory);\n\n      if (!value) {\n        value = factory(\n        /**\n        * @return {?}\n        */\n        function () {\n          return NOOP;\n        });\n        value.factory = factory;\n        DEFINITION_CACHE.set(factory, value);\n      }\n\n      return value;\n    }\n    /**\n     * @param {?} view\n     * @return {?}\n     */\n\n\n    function rootRenderNodes(view) {\n      /** @type {?} */\n      var renderNodes = [];\n      visitRootRenderNodes(view, 0\n      /* Collect */\n      , undefined, undefined, renderNodes);\n      return renderNodes;\n    }\n    /** @enum {number} */\n\n\n    var RenderNodeAction = {\n      Collect: 0,\n      AppendChild: 1,\n      InsertBefore: 2,\n      RemoveChild: 3\n    };\n    /**\n     * @param {?} view\n     * @param {?} action\n     * @param {?} parentNode\n     * @param {?} nextSibling\n     * @param {?=} target\n     * @return {?}\n     */\n\n    function visitRootRenderNodes(view, action, parentNode, nextSibling, target) {\n      // We need to re-compute the parent node in case the nodes have been moved around manually\n      if (action === 3\n      /* RemoveChild */\n      ) {\n          parentNode = view.renderer.parentNode(renderNode(view,\n          /** @type {?} */\n          view.def.lastRenderRootNode));\n        }\n\n      visitSiblingRenderNodes(view, action, 0, view.def.nodes.length - 1, parentNode, nextSibling, target);\n    }\n    /**\n     * @param {?} view\n     * @param {?} action\n     * @param {?} startIndex\n     * @param {?} endIndex\n     * @param {?} parentNode\n     * @param {?} nextSibling\n     * @param {?=} target\n     * @return {?}\n     */\n\n\n    function visitSiblingRenderNodes(view, action, startIndex, endIndex, parentNode, nextSibling, target) {\n      for (var i = startIndex; i <= endIndex; i++) {\n        /** @type {?} */\n        var nodeDef = view.def.nodes[i];\n\n        if (nodeDef.flags & (1\n        /* TypeElement */\n        | 2\n        /* TypeText */\n        | 8\n        /* TypeNgContent */\n        )) {\n          visitRenderNode(view, nodeDef, action, parentNode, nextSibling, target);\n        } // jump to next sibling\n\n\n        i += nodeDef.childCount;\n      }\n    }\n    /**\n     * @param {?} view\n     * @param {?} ngContentIndex\n     * @param {?} action\n     * @param {?} parentNode\n     * @param {?} nextSibling\n     * @param {?=} target\n     * @return {?}\n     */\n\n\n    function visitProjectedRenderNodes(view, ngContentIndex, action, parentNode, nextSibling, target) {\n      /** @type {?} */\n      var compView = view;\n\n      while (compView && !isComponentView(compView)) {\n        compView = compView.parent;\n      }\n      /** @type {?} */\n\n\n      var hostView =\n      /** @type {?} */\n      compView.parent;\n      /** @type {?} */\n\n      var hostElDef = viewParentEl(\n      /** @type {?} */\n      compView);\n      /** @type {?} */\n\n      var startIndex =\n      /** @type {?} */\n      hostElDef.nodeIndex + 1;\n      /** @type {?} */\n\n      var endIndex =\n      /** @type {?} */\n      hostElDef.nodeIndex +\n      /** @type {?} */\n      hostElDef.childCount;\n\n      for (var i = startIndex; i <= endIndex; i++) {\n        /** @type {?} */\n        var nodeDef =\n        /** @type {?} */\n        hostView.def.nodes[i];\n\n        if (nodeDef.ngContentIndex === ngContentIndex) {\n          visitRenderNode(\n          /** @type {?} */\n          hostView, nodeDef, action, parentNode, nextSibling, target);\n        } // jump to next sibling\n\n\n        i += nodeDef.childCount;\n      }\n\n      if (!\n      /** @type {?} */\n      hostView.parent) {\n        // a root view\n\n        /** @type {?} */\n        var projectedNodes = view.root.projectableNodes[ngContentIndex];\n\n        if (projectedNodes) {\n          for (var _i25 = 0; _i25 < projectedNodes.length; _i25++) {\n            execRenderNodeAction(view, projectedNodes[_i25], action, parentNode, nextSibling, target);\n          }\n        }\n      }\n    }\n    /**\n     * @param {?} view\n     * @param {?} nodeDef\n     * @param {?} action\n     * @param {?} parentNode\n     * @param {?} nextSibling\n     * @param {?=} target\n     * @return {?}\n     */\n\n\n    function visitRenderNode(view, nodeDef, action, parentNode, nextSibling, target) {\n      if (nodeDef.flags & 8\n      /* TypeNgContent */\n      ) {\n          visitProjectedRenderNodes(view,\n          /** @type {?} */\n          nodeDef.ngContent.index, action, parentNode, nextSibling, target);\n        } else {\n        /** @type {?} */\n        var rn = renderNode(view, nodeDef);\n\n        if (action === 3\n        /* RemoveChild */\n        && nodeDef.flags & 33554432\n        /* ComponentView */\n        && nodeDef.bindingFlags & 48\n        /* CatSyntheticProperty */\n        ) {\n          // Note: we might need to do both actions.\n          if (nodeDef.bindingFlags & 16\n          /* SyntheticProperty */\n          ) {\n            execRenderNodeAction(view, rn, action, parentNode, nextSibling, target);\n          }\n\n          if (nodeDef.bindingFlags & 32\n          /* SyntheticHostProperty */\n          ) {\n            /** @type {?} */\n            var compView = asElementData(view, nodeDef.nodeIndex).componentView;\n            execRenderNodeAction(compView, rn, action, parentNode, nextSibling, target);\n          }\n        } else {\n          execRenderNodeAction(view, rn, action, parentNode, nextSibling, target);\n        }\n\n        if (nodeDef.flags & 16777216\n        /* EmbeddedViews */\n        ) {\n            /** @type {?} */\n            var embeddedViews =\n            /** @type {?} */\n            asElementData(view, nodeDef.nodeIndex).viewContainer._embeddedViews;\n\n            for (var k = 0; k < embeddedViews.length; k++) {\n              visitRootRenderNodes(embeddedViews[k], action, parentNode, nextSibling, target);\n            }\n          }\n\n        if (nodeDef.flags & 1\n        /* TypeElement */\n        && !\n        /** @type {?} */\n        nodeDef.element.name) {\n          visitSiblingRenderNodes(view, action, nodeDef.nodeIndex + 1, nodeDef.nodeIndex + nodeDef.childCount, parentNode, nextSibling, target);\n        }\n      }\n    }\n    /**\n     * @param {?} view\n     * @param {?} renderNode\n     * @param {?} action\n     * @param {?} parentNode\n     * @param {?} nextSibling\n     * @param {?=} target\n     * @return {?}\n     */\n\n\n    function execRenderNodeAction(view, renderNode, action, parentNode, nextSibling, target) {\n      /** @type {?} */\n      var renderer = view.renderer;\n\n      switch (action) {\n        case 1\n        /* AppendChild */\n        :\n          renderer.appendChild(parentNode, renderNode);\n          break;\n\n        case 2\n        /* InsertBefore */\n        :\n          renderer.insertBefore(parentNode, renderNode, nextSibling);\n          break;\n\n        case 3\n        /* RemoveChild */\n        :\n          renderer.removeChild(parentNode, renderNode);\n          break;\n\n        case 0\n        /* Collect */\n        :\n          /** @type {?} */\n          target.push(renderNode);\n          break;\n      }\n    }\n    /** @type {?} */\n\n\n    var NS_PREFIX_RE = /^:([^:]+):(.+)$/;\n    /**\n     * @param {?} name\n     * @return {?}\n     */\n\n    function splitNamespace(name) {\n      if (name[0] === ':') {\n        /** @type {?} */\n        var match =\n        /** @type {?} */\n        name.match(NS_PREFIX_RE);\n        return [match[1], match[2]];\n      }\n\n      return ['', name];\n    }\n    /**\n     * @param {?} bindings\n     * @return {?}\n     */\n\n\n    function calcBindingFlags(bindings) {\n      /** @type {?} */\n      var flags = 0;\n\n      for (var i = 0; i < bindings.length; i++) {\n        flags |= bindings[i].flags;\n      }\n\n      return flags;\n    }\n    /**\n     * @param {?} valueCount\n     * @param {?} constAndInterp\n     * @return {?}\n     */\n\n\n    function interpolate(valueCount, constAndInterp) {\n      /** @type {?} */\n      var result = '';\n\n      for (var i = 0; i < valueCount * 2; i = i + 2) {\n        result = result + constAndInterp[i] + _toStringWithNull(constAndInterp[i + 1]);\n      }\n\n      return result + constAndInterp[valueCount * 2];\n    }\n    /**\n     * @param {?} valueCount\n     * @param {?} c0\n     * @param {?} a1\n     * @param {?} c1\n     * @param {?=} a2\n     * @param {?=} c2\n     * @param {?=} a3\n     * @param {?=} c3\n     * @param {?=} a4\n     * @param {?=} c4\n     * @param {?=} a5\n     * @param {?=} c5\n     * @param {?=} a6\n     * @param {?=} c6\n     * @param {?=} a7\n     * @param {?=} c7\n     * @param {?=} a8\n     * @param {?=} c8\n     * @param {?=} a9\n     * @param {?=} c9\n     * @return {?}\n     */\n\n\n    function inlineInterpolate(valueCount, c0, a1, c1, a2, c2, a3, c3, a4, c4, a5, c5, a6, c6, a7, c7, a8, c8, a9, c9) {\n      switch (valueCount) {\n        case 1:\n          return c0 + _toStringWithNull(a1) + c1;\n\n        case 2:\n          return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2;\n\n        case 3:\n          return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) + c3;\n\n        case 4:\n          return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) + c3 + _toStringWithNull(a4) + c4;\n\n        case 5:\n          return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) + c3 + _toStringWithNull(a4) + c4 + _toStringWithNull(a5) + c5;\n\n        case 6:\n          return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) + c3 + _toStringWithNull(a4) + c4 + _toStringWithNull(a5) + c5 + _toStringWithNull(a6) + c6;\n\n        case 7:\n          return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) + c3 + _toStringWithNull(a4) + c4 + _toStringWithNull(a5) + c5 + _toStringWithNull(a6) + c6 + _toStringWithNull(a7) + c7;\n\n        case 8:\n          return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) + c3 + _toStringWithNull(a4) + c4 + _toStringWithNull(a5) + c5 + _toStringWithNull(a6) + c6 + _toStringWithNull(a7) + c7 + _toStringWithNull(a8) + c8;\n\n        case 9:\n          return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) + c3 + _toStringWithNull(a4) + c4 + _toStringWithNull(a5) + c5 + _toStringWithNull(a6) + c6 + _toStringWithNull(a7) + c7 + _toStringWithNull(a8) + c8 + _toStringWithNull(a9) + c9;\n\n        default:\n          throw new Error(\"Does not support more than 9 expressions\");\n      }\n    }\n    /**\n     * @param {?} v\n     * @return {?}\n     */\n\n\n    function _toStringWithNull(v) {\n      return v != null ? v.toString() : '';\n    }\n    /** @type {?} */\n\n\n    var EMPTY_ARRAY$3 = [];\n    /** @type {?} */\n\n    var EMPTY_MAP = {};\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n    var UNDEFINED_VALUE = new Object();\n    /** @type {?} */\n\n    var InjectorRefTokenKey = tokenKey(Injector);\n    /** @type {?} */\n\n    var INJECTORRefTokenKey = tokenKey(INJECTOR);\n    /** @type {?} */\n\n    var NgModuleRefTokenKey = tokenKey(NgModuleRef);\n    /**\n     * @param {?} flags\n     * @param {?} token\n     * @param {?} value\n     * @param {?} deps\n     * @return {?}\n     */\n\n    function moduleProvideDef(flags, token, value, deps) {\n      // Need to resolve forwardRefs as e.g. for `useValue` we\n      // lowered the expression and then stopped evaluating it,\n      // i.e. also didn't unwrap it.\n      value = resolveForwardRef(value);\n      /** @type {?} */\n\n      var depDefs = splitDepsDsl(deps, stringify(token));\n      return {\n        // will bet set by the module definition\n        index: -1,\n        deps: depDefs,\n        flags: flags,\n        token: token,\n        value: value\n      };\n    }\n    /**\n     * @param {?} providers\n     * @return {?}\n     */\n\n\n    function moduleDef(providers) {\n      /** @type {?} */\n      var providersByKey = {};\n      /** @type {?} */\n\n      var modules = [];\n      /** @type {?} */\n\n      var isRoot = false;\n\n      for (var i = 0; i < providers.length; i++) {\n        /** @type {?} */\n        var provider = providers[i];\n\n        if (provider.token === APP_ROOT && provider.value === true) {\n          isRoot = true;\n        }\n\n        if (provider.flags & 1073741824\n        /* TypeNgModule */\n        ) {\n            modules.push(provider.token);\n          }\n\n        provider.index = i;\n        providersByKey[tokenKey(provider.token)] = provider;\n      }\n\n      return {\n        // Will be filled later...\n        factory: null,\n        providersByKey: providersByKey,\n        providers: providers,\n        modules: modules,\n        isRoot: isRoot\n      };\n    }\n    /**\n     * @param {?} data\n     * @return {?}\n     */\n\n\n    function initNgModule(data) {\n      /** @type {?} */\n      var def = data._def;\n      /** @type {?} */\n\n      var providers = data._providers = new Array(def.providers.length);\n\n      for (var i = 0; i < def.providers.length; i++) {\n        /** @type {?} */\n        var provDef = def.providers[i];\n\n        if (!(provDef.flags & 4096\n        /* LazyProvider */\n        )) {\n          // Make sure the provider has not been already initialized outside this loop.\n          if (providers[i] === undefined) {\n            providers[i] = _createProviderInstance(data, provDef);\n          }\n        }\n      }\n    }\n    /**\n     * @param {?} data\n     * @param {?} depDef\n     * @param {?=} notFoundValue\n     * @return {?}\n     */\n\n\n    function resolveNgModuleDep(data, depDef) {\n      var notFoundValue = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : Injector.THROW_IF_NOT_FOUND;\n\n      /** @type {?} */\n      var former = setCurrentInjector(data);\n\n      try {\n        if (depDef.flags & 8\n        /* Value */\n        ) {\n            return depDef.token;\n          }\n\n        if (depDef.flags & 2\n        /* Optional */\n        ) {\n            notFoundValue = null;\n          }\n\n        if (depDef.flags & 1\n        /* SkipSelf */\n        ) {\n            return data._parent.get(depDef.token, notFoundValue);\n          }\n        /** @type {?} */\n\n\n        var _tokenKey = depDef.tokenKey;\n\n        switch (_tokenKey) {\n          case InjectorRefTokenKey:\n          case INJECTORRefTokenKey:\n          case NgModuleRefTokenKey:\n            return data;\n        }\n        /** @type {?} */\n\n\n        var _providerDef2 = data._def.providersByKey[_tokenKey];\n        /** @type {?} */\n\n        var injectableDef;\n\n        if (_providerDef2) {\n          /** @type {?} */\n          var providerInstance = data._providers[_providerDef2.index];\n\n          if (providerInstance === undefined) {\n            providerInstance = data._providers[_providerDef2.index] = _createProviderInstance(data, _providerDef2);\n          }\n\n          return providerInstance === UNDEFINED_VALUE ? undefined : providerInstance;\n        } else if ((injectableDef = getInjectableDef(depDef.token)) && targetsModule(data, injectableDef)) {\n          /** @type {?} */\n          var index = data._providers.length;\n          data._def.providers[index] = data._def.providersByKey[depDef.tokenKey] = {\n            flags: 1024\n            /* TypeFactoryProvider */\n            | 4096\n            /* LazyProvider */\n            ,\n            value: injectableDef.factory,\n            deps: [],\n            index: index,\n            token: depDef.token\n          };\n          data._providers[index] = UNDEFINED_VALUE;\n          return data._providers[index] = _createProviderInstance(data, data._def.providersByKey[depDef.tokenKey]);\n        } else if (depDef.flags & 4\n        /* Self */\n        ) {\n            return notFoundValue;\n          }\n\n        return data._parent.get(depDef.token, notFoundValue);\n      } finally {\n        setCurrentInjector(former);\n      }\n    }\n    /**\n     * @param {?} ngModule\n     * @param {?} scope\n     * @return {?}\n     */\n\n\n    function moduleTransitivelyPresent(ngModule, scope) {\n      return ngModule._def.modules.indexOf(scope) > -1;\n    }\n    /**\n     * @param {?} ngModule\n     * @param {?} def\n     * @return {?}\n     */\n\n\n    function targetsModule(ngModule, def) {\n      return def.providedIn != null && (moduleTransitivelyPresent(ngModule, def.providedIn) || def.providedIn === 'root' && ngModule._def.isRoot);\n    }\n    /**\n     * @param {?} ngModule\n     * @param {?} providerDef\n     * @return {?}\n     */\n\n\n    function _createProviderInstance(ngModule, providerDef) {\n      /** @type {?} */\n      var injectable;\n\n      switch (providerDef.flags & 201347067\n      /* Types */\n      ) {\n        case 512\n        /* TypeClassProvider */\n        :\n          injectable = _createClass(ngModule, providerDef.value, providerDef.deps);\n          break;\n\n        case 1024\n        /* TypeFactoryProvider */\n        :\n          injectable = _callFactory(ngModule, providerDef.value, providerDef.deps);\n          break;\n\n        case 2048\n        /* TypeUseExistingProvider */\n        :\n          injectable = resolveNgModuleDep(ngModule, providerDef.deps[0]);\n          break;\n\n        case 256\n        /* TypeValueProvider */\n        :\n          injectable = providerDef.value;\n          break;\n      } // The read of `ngOnDestroy` here is slightly expensive as it's megamorphic, so it should be\n      // avoided if possible. The sequence of checks here determines whether ngOnDestroy needs to be\n      // checked. It might not if the `injectable` isn't an object or if NodeFlags.OnDestroy is already\n      // set (ngOnDestroy was detected statically).\n\n\n      if (injectable !== UNDEFINED_VALUE && injectable !== null && typeof injectable === 'object' && !(providerDef.flags & 131072\n      /* OnDestroy */\n      ) && typeof injectable.ngOnDestroy === 'function') {\n        providerDef.flags |= 131072\n        /* OnDestroy */\n        ;\n      }\n\n      return injectable === undefined ? UNDEFINED_VALUE : injectable;\n    }\n    /**\n     * @param {?} ngModule\n     * @param {?} ctor\n     * @param {?} deps\n     * @return {?}\n     */\n\n\n    function _createClass(ngModule, ctor, deps) {\n      /** @type {?} */\n      var len = deps.length;\n\n      switch (len) {\n        case 0:\n          return new ctor();\n\n        case 1:\n          return new ctor(resolveNgModuleDep(ngModule, deps[0]));\n\n        case 2:\n          return new ctor(resolveNgModuleDep(ngModule, deps[0]), resolveNgModuleDep(ngModule, deps[1]));\n\n        case 3:\n          return new ctor(resolveNgModuleDep(ngModule, deps[0]), resolveNgModuleDep(ngModule, deps[1]), resolveNgModuleDep(ngModule, deps[2]));\n\n        default:\n          /** @type {?} */\n          var depValues = new Array(len);\n\n          for (var i = 0; i < len; i++) {\n            depValues[i] = resolveNgModuleDep(ngModule, deps[i]);\n          }\n\n          return _construct(ctor, depValues);\n      }\n    }\n    /**\n     * @param {?} ngModule\n     * @param {?} factory\n     * @param {?} deps\n     * @return {?}\n     */\n\n\n    function _callFactory(ngModule, factory, deps) {\n      /** @type {?} */\n      var len = deps.length;\n\n      switch (len) {\n        case 0:\n          return factory();\n\n        case 1:\n          return factory(resolveNgModuleDep(ngModule, deps[0]));\n\n        case 2:\n          return factory(resolveNgModuleDep(ngModule, deps[0]), resolveNgModuleDep(ngModule, deps[1]));\n\n        case 3:\n          return factory(resolveNgModuleDep(ngModule, deps[0]), resolveNgModuleDep(ngModule, deps[1]), resolveNgModuleDep(ngModule, deps[2]));\n\n        default:\n          /** @type {?} */\n          var depValues = Array(len);\n\n          for (var i = 0; i < len; i++) {\n            depValues[i] = resolveNgModuleDep(ngModule, deps[i]);\n          }\n\n          return factory.apply(void 0, depValues);\n      }\n    }\n    /**\n     * @param {?} ngModule\n     * @param {?} lifecycles\n     * @return {?}\n     */\n\n\n    function callNgModuleLifecycle(ngModule, lifecycles) {\n      /** @type {?} */\n      var def = ngModule._def;\n      /** @type {?} */\n\n      var destroyed = new Set();\n\n      for (var i = 0; i < def.providers.length; i++) {\n        /** @type {?} */\n        var provDef = def.providers[i];\n\n        if (provDef.flags & 131072\n        /* OnDestroy */\n        ) {\n            /** @type {?} */\n            var instance = ngModule._providers[i];\n\n            if (instance && instance !== UNDEFINED_VALUE) {\n              /** @type {?} */\n              var onDestroy = instance.ngOnDestroy;\n\n              if (typeof onDestroy === 'function' && !destroyed.has(instance)) {\n                onDestroy.apply(instance);\n                destroyed.add(instance);\n              }\n            }\n          }\n      }\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @param {?} parentView\n     * @param {?} elementData\n     * @param {?} viewIndex\n     * @param {?} view\n     * @return {?}\n     */\n\n\n    function attachEmbeddedView(parentView, elementData, viewIndex, view) {\n      /** @type {?} */\n      var embeddedViews =\n      /** @type {?} */\n      elementData.viewContainer._embeddedViews;\n\n      if (viewIndex === null || viewIndex === undefined) {\n        viewIndex = embeddedViews.length;\n      }\n\n      view.viewContainerParent = parentView;\n      addToArray(embeddedViews,\n      /** @type {?} */\n      viewIndex, view);\n      attachProjectedView(elementData, view);\n      Services.dirtyParentQueries(view);\n      /** @type {?} */\n\n      var prevView =\n      /** @type {?} */\n      viewIndex > 0 ? embeddedViews[\n      /** @type {?} */\n      viewIndex - 1] : null;\n      renderAttachEmbeddedView(elementData, prevView, view);\n    }\n    /**\n     * @param {?} vcElementData\n     * @param {?} view\n     * @return {?}\n     */\n\n\n    function attachProjectedView(vcElementData, view) {\n      /** @type {?} */\n      var dvcElementData = declaredViewContainer(view);\n\n      if (!dvcElementData || dvcElementData === vcElementData || view.state & 16\n      /* IsProjectedView */\n      ) {\n          return;\n        } // Note: For performance reasons, we\n      // - add a view to template._projectedViews only 1x throughout its lifetime,\n      //   and remove it not until the view is destroyed.\n      //   (hard, as when a parent view is attached/detached we would need to attach/detach all\n      //    nested projected views as well, even across component boundaries).\n      // - don't track the insertion order of views in the projected views array\n      //   (hard, as when the views of the same template are inserted different view containers)\n\n\n      view.state |= 16\n      /* IsProjectedView */\n      ;\n      /** @type {?} */\n\n      var projectedViews = dvcElementData.template._projectedViews;\n\n      if (!projectedViews) {\n        projectedViews = dvcElementData.template._projectedViews = [];\n      }\n\n      projectedViews.push(view); // Note: we are changing the NodeDef here as we cannot calculate\n      // the fact whether a template is used for projection during compilation.\n\n      markNodeAsProjectedTemplate(\n      /** @type {?} */\n      view.parent.def,\n      /** @type {?} */\n      view.parentNodeDef);\n    }\n    /**\n     * @param {?} viewDef\n     * @param {?} nodeDef\n     * @return {?}\n     */\n\n\n    function markNodeAsProjectedTemplate(viewDef, nodeDef) {\n      if (nodeDef.flags & 4\n      /* ProjectedTemplate */\n      ) {\n          return;\n        }\n\n      viewDef.nodeFlags |= 4\n      /* ProjectedTemplate */\n      ;\n      nodeDef.flags |= 4\n      /* ProjectedTemplate */\n      ;\n      /** @type {?} */\n\n      var parentNodeDef = nodeDef.parent;\n\n      while (parentNodeDef) {\n        parentNodeDef.childFlags |= 4\n        /* ProjectedTemplate */\n        ;\n        parentNodeDef = parentNodeDef.parent;\n      }\n    }\n    /**\n     * @param {?} elementData\n     * @param {?=} viewIndex\n     * @return {?}\n     */\n\n\n    function detachEmbeddedView(elementData, viewIndex) {\n      /** @type {?} */\n      var embeddedViews =\n      /** @type {?} */\n      elementData.viewContainer._embeddedViews;\n\n      if (viewIndex == null || viewIndex >= embeddedViews.length) {\n        viewIndex = embeddedViews.length - 1;\n      }\n\n      if (viewIndex < 0) {\n        return null;\n      }\n      /** @type {?} */\n\n\n      var view = embeddedViews[viewIndex];\n      view.viewContainerParent = null;\n      removeFromArray(embeddedViews, viewIndex); // See attachProjectedView for why we don't update projectedViews here.\n\n      Services.dirtyParentQueries(view);\n      renderDetachView$1(view);\n      return view;\n    }\n    /**\n     * @param {?} view\n     * @return {?}\n     */\n\n\n    function detachProjectedView(view) {\n      if (!(view.state & 16\n      /* IsProjectedView */\n      )) {\n        return;\n      }\n      /** @type {?} */\n\n\n      var dvcElementData = declaredViewContainer(view);\n\n      if (dvcElementData) {\n        /** @type {?} */\n        var projectedViews = dvcElementData.template._projectedViews;\n\n        if (projectedViews) {\n          removeFromArray(projectedViews, projectedViews.indexOf(view));\n          Services.dirtyParentQueries(view);\n        }\n      }\n    }\n    /**\n     * @param {?} elementData\n     * @param {?} oldViewIndex\n     * @param {?} newViewIndex\n     * @return {?}\n     */\n\n\n    function moveEmbeddedView(elementData, oldViewIndex, newViewIndex) {\n      /** @type {?} */\n      var embeddedViews =\n      /** @type {?} */\n      elementData.viewContainer._embeddedViews;\n      /** @type {?} */\n\n      var view = embeddedViews[oldViewIndex];\n      removeFromArray(embeddedViews, oldViewIndex);\n\n      if (newViewIndex == null) {\n        newViewIndex = embeddedViews.length;\n      }\n\n      addToArray(embeddedViews, newViewIndex, view); // Note: Don't need to change projectedViews as the order in there\n      // as always invalid...\n\n      Services.dirtyParentQueries(view);\n      renderDetachView$1(view);\n      /** @type {?} */\n\n      var prevView = newViewIndex > 0 ? embeddedViews[newViewIndex - 1] : null;\n      renderAttachEmbeddedView(elementData, prevView, view);\n      return view;\n    }\n    /**\n     * @param {?} elementData\n     * @param {?} prevView\n     * @param {?} view\n     * @return {?}\n     */\n\n\n    function renderAttachEmbeddedView(elementData, prevView, view) {\n      /** @type {?} */\n      var prevRenderNode = prevView ? renderNode(prevView,\n      /** @type {?} */\n      prevView.def.lastRenderRootNode) : elementData.renderElement;\n      /** @type {?} */\n\n      var parentNode = view.renderer.parentNode(prevRenderNode);\n      /** @type {?} */\n\n      var nextSibling = view.renderer.nextSibling(prevRenderNode); // Note: We can't check if `nextSibling` is present, as on WebWorkers it will always be!\n      // However, browsers automatically do `appendChild` when there is no `nextSibling`.\n\n      visitRootRenderNodes(view, 2\n      /* InsertBefore */\n      , parentNode, nextSibling, undefined);\n    }\n    /**\n     * @param {?} view\n     * @return {?}\n     */\n\n\n    function renderDetachView$1(view) {\n      visitRootRenderNodes(view, 3\n      /* RemoveChild */\n      , null, null, undefined);\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var EMPTY_CONTEXT = new Object(); // Attention: this function is called as top level function.\n    // Putting any logic in here will destroy closure tree shaking!\n\n    /**\n     * @param {?} selector\n     * @param {?} componentType\n     * @param {?} viewDefFactory\n     * @param {?} inputs\n     * @param {?} outputs\n     * @param {?} ngContentSelectors\n     * @return {?}\n     */\n\n    function createComponentFactory(selector, componentType, viewDefFactory, inputs, outputs, ngContentSelectors) {\n      return new ComponentFactory_(selector, componentType, viewDefFactory, inputs, outputs, ngContentSelectors);\n    }\n    /**\n     * @param {?} componentFactory\n     * @return {?}\n     */\n\n\n    function getComponentViewDefinitionFactory(componentFactory) {\n      return (\n        /** @type {?} */\n        componentFactory.viewDefFactory\n      );\n    }\n\n    var ComponentFactory_ =\n    /*#__PURE__*/\n    function (_ComponentFactory2) {\n      _inherits(ComponentFactory_, _ComponentFactory2);\n\n      /**\n       * @param {?} selector\n       * @param {?} componentType\n       * @param {?} viewDefFactory\n       * @param {?} _inputs\n       * @param {?} _outputs\n       * @param {?} ngContentSelectors\n       */\n      function ComponentFactory_(selector, componentType, viewDefFactory, _inputs, _outputs, ngContentSelectors) {\n        var _this450;\n\n        _classCallCheck(this, ComponentFactory_);\n\n        // Attention: this ctor is called as top level function.\n        // Putting any logic in here will destroy closure tree shaking!\n        _this450 = _possibleConstructorReturn(this, _getPrototypeOf(ComponentFactory_).call(this));\n        _this450.selector = selector;\n        _this450.componentType = componentType;\n        _this450._inputs = _inputs;\n        _this450._outputs = _outputs;\n        _this450.ngContentSelectors = ngContentSelectors;\n        _this450.viewDefFactory = viewDefFactory;\n        return _this450;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(ComponentFactory_, [{\n        key: \"create\",\n\n        /**\n         * Creates a new component.\n         * @param {?} injector\n         * @param {?=} projectableNodes\n         * @param {?=} rootSelectorOrNode\n         * @param {?=} ngModule\n         * @return {?}\n         */\n        value: function create(injector, projectableNodes, rootSelectorOrNode, ngModule) {\n          if (!ngModule) {\n            throw new Error('ngModule should be provided');\n          }\n          /** @type {?} */\n\n\n          var viewDef = resolveDefinition(this.viewDefFactory);\n          /** @type {?} */\n\n          var componentNodeIndex =\n          /** @type {?} */\n\n          /** @type {?} */\n          viewDef.nodes[0].element.componentProvider.nodeIndex;\n          /** @type {?} */\n\n          var view = Services.createRootView(injector, projectableNodes || [], rootSelectorOrNode, viewDef, ngModule, EMPTY_CONTEXT);\n          /** @type {?} */\n\n          var component = asProviderData(view, componentNodeIndex).instance;\n\n          if (rootSelectorOrNode) {\n            view.renderer.setAttribute(asElementData(view, 0).renderElement, 'ng-version', VERSION.full);\n          }\n\n          return new ComponentRef_(view, new ViewRef_(view), component);\n        }\n      }, {\n        key: \"inputs\",\n        get: function get() {\n          /** @type {?} */\n          var inputsArr = [];\n          /** @type {?} */\n\n          var inputs =\n          /** @type {?} */\n          this._inputs;\n\n          for (var propName in inputs) {\n            /** @type {?} */\n            var templateName = inputs[propName];\n            inputsArr.push({\n              propName: propName,\n              templateName: templateName\n            });\n          }\n\n          return inputsArr;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"outputs\",\n        get: function get() {\n          /** @type {?} */\n          var outputsArr = [];\n\n          for (var propName in this._outputs) {\n            /** @type {?} */\n            var templateName = this._outputs[propName];\n            outputsArr.push({\n              propName: propName,\n              templateName: templateName\n            });\n          }\n\n          return outputsArr;\n        }\n      }]);\n\n      return ComponentFactory_;\n    }(ComponentFactory);\n\n    if (false) {}\n\n    var ComponentRef_ =\n    /*#__PURE__*/\n    function (_ComponentRef) {\n      _inherits(ComponentRef_, _ComponentRef);\n\n      /**\n       * @param {?} _view\n       * @param {?} _viewRef\n       * @param {?} _component\n       */\n      function ComponentRef_(_view, _viewRef, _component) {\n        var _this451;\n\n        _classCallCheck(this, ComponentRef_);\n\n        _this451 = _possibleConstructorReturn(this, _getPrototypeOf(ComponentRef_).call(this));\n        _this451._view = _view;\n        _this451._viewRef = _viewRef;\n        _this451._component = _component;\n        _this451._elDef = _this451._view.def.nodes[0];\n        _this451.hostView = _viewRef;\n        _this451.changeDetectorRef = _viewRef;\n        _this451.instance = _component;\n        return _this451;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(ComponentRef_, [{\n        key: \"destroy\",\n\n        /**\n         * @return {?}\n         */\n        value: function destroy() {\n          this._viewRef.destroy();\n        }\n        /**\n         * @param {?} callback\n         * @return {?}\n         */\n\n      }, {\n        key: \"onDestroy\",\n        value: function onDestroy(callback) {\n          this._viewRef.onDestroy(callback);\n        }\n      }, {\n        key: \"location\",\n        get: function get() {\n          return new ElementRef(asElementData(this._view, this._elDef.nodeIndex).renderElement);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"injector\",\n        get: function get() {\n          return new Injector_(this._view, this._elDef);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"componentType\",\n        get: function get() {\n          return (\n            /** @type {?} */\n            this._component.constructor\n          );\n        }\n      }]);\n\n      return ComponentRef_;\n    }(ComponentRef);\n\n    if (false) {}\n    /**\n     * @param {?} view\n     * @param {?} elDef\n     * @param {?} elData\n     * @return {?}\n     */\n\n\n    function createViewContainerData(view, elDef, elData) {\n      return new ViewContainerRef_(view, elDef, elData);\n    }\n\n    var ViewContainerRef_ =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _view\n       * @param {?} _elDef\n       * @param {?} _data\n       */\n      function ViewContainerRef_(_view, _elDef, _data) {\n        _classCallCheck(this, ViewContainerRef_);\n\n        this._view = _view;\n        this._elDef = _elDef;\n        this._data = _data;\n        /**\n         * \\@internal\n         */\n\n        this._embeddedViews = [];\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(ViewContainerRef_, [{\n        key: \"clear\",\n\n        /**\n         * @return {?}\n         */\n        value: function clear() {\n          /** @type {?} */\n          var len = this._embeddedViews.length;\n\n          for (var i = len - 1; i >= 0; i--) {\n            /** @type {?} */\n            var view =\n            /** @type {?} */\n            detachEmbeddedView(this._data, i);\n            Services.destroyView(view);\n          }\n        }\n        /**\n         * @param {?} index\n         * @return {?}\n         */\n\n      }, {\n        key: \"get\",\n        value: function get(index) {\n          /** @type {?} */\n          var view = this._embeddedViews[index];\n\n          if (view) {\n            /** @type {?} */\n            var ref = new ViewRef_(view);\n            ref.attachToViewContainerRef(this);\n            return ref;\n          }\n\n          return null;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"createEmbeddedView\",\n\n        /**\n         * @template C\n         * @param {?} templateRef\n         * @param {?=} context\n         * @param {?=} index\n         * @return {?}\n         */\n        value: function createEmbeddedView(templateRef, context, index) {\n          /** @type {?} */\n          var viewRef = templateRef.createEmbeddedView(context ||\n          /** @type {?} */\n          {});\n          this.insert(viewRef, index);\n          return viewRef;\n        }\n        /**\n         * @template C\n         * @param {?} componentFactory\n         * @param {?=} index\n         * @param {?=} injector\n         * @param {?=} projectableNodes\n         * @param {?=} ngModuleRef\n         * @return {?}\n         */\n\n      }, {\n        key: \"createComponent\",\n        value: function createComponent(componentFactory, index, injector, projectableNodes, ngModuleRef) {\n          /** @type {?} */\n          var contextInjector = injector || this.parentInjector;\n\n          if (!ngModuleRef && !(componentFactory instanceof ComponentFactoryBoundToModule)) {\n            ngModuleRef = contextInjector.get(NgModuleRef);\n          }\n          /** @type {?} */\n\n\n          var componentRef = componentFactory.create(contextInjector, projectableNodes, undefined, ngModuleRef);\n          this.insert(componentRef.hostView, index);\n          return componentRef;\n        }\n        /**\n         * @param {?} viewRef\n         * @param {?=} index\n         * @return {?}\n         */\n\n      }, {\n        key: \"insert\",\n        value: function insert(viewRef, index) {\n          if (viewRef.destroyed) {\n            throw new Error('Cannot insert a destroyed View in a ViewContainer!');\n          }\n          /** @type {?} */\n\n\n          var viewRef_ =\n          /** @type {?} */\n          viewRef;\n          /** @type {?} */\n\n          var viewData = viewRef_._view;\n          attachEmbeddedView(this._view, this._data, index, viewData);\n          viewRef_.attachToViewContainerRef(this);\n          return viewRef;\n        }\n        /**\n         * @param {?} viewRef\n         * @param {?} currentIndex\n         * @return {?}\n         */\n\n      }, {\n        key: \"move\",\n        value: function move(viewRef, currentIndex) {\n          if (viewRef.destroyed) {\n            throw new Error('Cannot move a destroyed View in a ViewContainer!');\n          }\n          /** @type {?} */\n\n\n          var previousIndex = this._embeddedViews.indexOf(viewRef._view);\n\n          moveEmbeddedView(this._data, previousIndex, currentIndex);\n          return viewRef;\n        }\n        /**\n         * @param {?} viewRef\n         * @return {?}\n         */\n\n      }, {\n        key: \"indexOf\",\n        value: function indexOf(viewRef) {\n          return this._embeddedViews.indexOf(\n          /** @type {?} */\n          viewRef._view);\n        }\n        /**\n         * @param {?=} index\n         * @return {?}\n         */\n\n      }, {\n        key: \"remove\",\n        value: function remove(index) {\n          /** @type {?} */\n          var viewData = detachEmbeddedView(this._data, index);\n\n          if (viewData) {\n            Services.destroyView(viewData);\n          }\n        }\n        /**\n         * @param {?=} index\n         * @return {?}\n         */\n\n      }, {\n        key: \"detach\",\n        value: function detach(index) {\n          /** @type {?} */\n          var view = detachEmbeddedView(this._data, index);\n          return view ? new ViewRef_(view) : null;\n        }\n      }, {\n        key: \"element\",\n        get: function get() {\n          return new ElementRef(this._data.renderElement);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"injector\",\n        get: function get() {\n          return new Injector_(this._view, this._elDef);\n        }\n        /**\n         * @deprecated No replacement\n         * @return {?}\n         */\n\n      }, {\n        key: \"parentInjector\",\n        get: function get() {\n          /** @type {?} */\n          var view = this._view;\n          /** @type {?} */\n\n          var elDef = this._elDef.parent;\n\n          while (!elDef && view) {\n            elDef = viewParentEl(view);\n            view =\n            /** @type {?} */\n            view.parent;\n          }\n\n          return view ? new Injector_(view, elDef) : new Injector_(this._view, null);\n        }\n      }, {\n        key: \"length\",\n        get: function get() {\n          return this._embeddedViews.length;\n        }\n      }]);\n\n      return ViewContainerRef_;\n    }();\n\n    if (false) {}\n    /**\n     * @param {?} view\n     * @return {?}\n     */\n\n\n    function createChangeDetectorRef(view) {\n      return new ViewRef_(view);\n    }\n\n    var ViewRef_ =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _view\n       */\n      function ViewRef_(_view) {\n        _classCallCheck(this, ViewRef_);\n\n        this._view = _view;\n        this._viewContainerRef = null;\n        this._appRef = null;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(ViewRef_, [{\n        key: \"markForCheck\",\n\n        /**\n         * @return {?}\n         */\n        value: function markForCheck() {\n          markParentViewsForCheck(this._view);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"detach\",\n        value: function detach() {\n          this._view.state &= ~4\n          /* Attached */\n          ;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"detectChanges\",\n        value: function detectChanges() {\n          /** @type {?} */\n          var fs = this._view.root.rendererFactory;\n\n          if (fs.begin) {\n            fs.begin();\n          }\n\n          try {\n            Services.checkAndUpdateView(this._view);\n          } finally {\n            if (fs.end) {\n              fs.end();\n            }\n          }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"checkNoChanges\",\n        value: function checkNoChanges() {\n          Services.checkNoChangesView(this._view);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"reattach\",\n        value: function reattach() {\n          this._view.state |= 4\n          /* Attached */\n          ;\n        }\n        /**\n         * @param {?} callback\n         * @return {?}\n         */\n\n      }, {\n        key: \"onDestroy\",\n        value: function onDestroy(callback) {\n          if (!this._view.disposables) {\n            this._view.disposables = [];\n          }\n\n          this._view.disposables.push(\n          /** @type {?} */\n          callback);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"destroy\",\n        value: function destroy() {\n          if (this._appRef) {\n            this._appRef.detachView(this);\n          } else if (this._viewContainerRef) {\n            this._viewContainerRef.detach(this._viewContainerRef.indexOf(this));\n          }\n\n          Services.destroyView(this._view);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"detachFromAppRef\",\n        value: function detachFromAppRef() {\n          this._appRef = null;\n          renderDetachView$1(this._view);\n          Services.dirtyParentQueries(this._view);\n        }\n        /**\n         * @param {?} appRef\n         * @return {?}\n         */\n\n      }, {\n        key: \"attachToAppRef\",\n        value: function attachToAppRef(appRef) {\n          if (this._viewContainerRef) {\n            throw new Error('This view is already attached to a ViewContainer!');\n          }\n\n          this._appRef = appRef;\n        }\n        /**\n         * @param {?} vcRef\n         * @return {?}\n         */\n\n      }, {\n        key: \"attachToViewContainerRef\",\n        value: function attachToViewContainerRef(vcRef) {\n          if (this._appRef) {\n            throw new Error('This view is already attached directly to the ApplicationRef!');\n          }\n\n          this._viewContainerRef = vcRef;\n        }\n      }, {\n        key: \"rootNodes\",\n        get: function get() {\n          return rootRenderNodes(this._view);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"context\",\n        get: function get() {\n          return this._view.context;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"destroyed\",\n        get: function get() {\n          return (this._view.state & 128\n          /* Destroyed */\n          ) !== 0;\n        }\n      }]);\n\n      return ViewRef_;\n    }();\n\n    if (false) {}\n    /**\n     * @param {?} view\n     * @param {?} def\n     * @return {?}\n     */\n\n\n    function createTemplateData(view, def) {\n      return new TemplateRef_(view, def);\n    }\n\n    var TemplateRef_ =\n    /*#__PURE__*/\n    function (_TemplateRef) {\n      _inherits(TemplateRef_, _TemplateRef);\n\n      /**\n       * @param {?} _parentView\n       * @param {?} _def\n       */\n      function TemplateRef_(_parentView, _def) {\n        var _this452;\n\n        _classCallCheck(this, TemplateRef_);\n\n        _this452 = _possibleConstructorReturn(this, _getPrototypeOf(TemplateRef_).call(this));\n        _this452._parentView = _parentView;\n        _this452._def = _def;\n        return _this452;\n      }\n      /**\n       * @param {?} context\n       * @return {?}\n       */\n\n\n      _createClass2(TemplateRef_, [{\n        key: \"createEmbeddedView\",\n        value: function createEmbeddedView(context) {\n          return new ViewRef_(Services.createEmbeddedView(this._parentView, this._def,\n          /** @type {?} */\n\n          /** @type {?} */\n          this._def.element.template, context));\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"elementRef\",\n        get: function get() {\n          return new ElementRef(asElementData(this._parentView, this._def.nodeIndex).renderElement);\n        }\n      }]);\n\n      return TemplateRef_;\n    }(TemplateRef);\n\n    if (false) {}\n    /**\n     * @param {?} view\n     * @param {?} elDef\n     * @return {?}\n     */\n\n\n    function createInjector$1(view, elDef) {\n      return new Injector_(view, elDef);\n    }\n\n    var Injector_ =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} view\n       * @param {?} elDef\n       */\n      function Injector_(view, elDef) {\n        _classCallCheck(this, Injector_);\n\n        this.view = view;\n        this.elDef = elDef;\n      }\n      /**\n       * @param {?} token\n       * @param {?=} notFoundValue\n       * @return {?}\n       */\n\n\n      _createClass2(Injector_, [{\n        key: \"get\",\n        value: function get(token) {\n          var notFoundValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : Injector.THROW_IF_NOT_FOUND;\n\n          /** @type {?} */\n          var allowPrivateServices = this.elDef ? (this.elDef.flags & 33554432\n          /* ComponentView */\n          ) !== 0 : false;\n          return Services.resolveDep(this.view, this.elDef, allowPrivateServices, {\n            flags: 0\n            /* None */\n            ,\n            token: token,\n            tokenKey: tokenKey(token)\n          }, notFoundValue);\n        }\n      }]);\n\n      return Injector_;\n    }();\n\n    if (false) {}\n    /**\n     * @param {?} view\n     * @param {?} index\n     * @return {?}\n     */\n\n\n    function nodeValue(view, index) {\n      /** @type {?} */\n      var def = view.def.nodes[index];\n\n      if (def.flags & 1\n      /* TypeElement */\n      ) {\n          /** @type {?} */\n          var elData = asElementData(view, def.nodeIndex);\n          return (\n            /** @type {?} */\n            def.element.template ? elData.template : elData.renderElement\n          );\n        } else if (def.flags & 2\n      /* TypeText */\n      ) {\n          return asTextData(view, def.nodeIndex).renderText;\n        } else if (def.flags & (20224\n      /* CatProvider */\n      | 16\n      /* TypePipe */\n      )) {\n        return asProviderData(view, def.nodeIndex).instance;\n      }\n\n      throw new Error(\"Illegal state: read nodeValue for node index \".concat(index));\n    }\n    /**\n     * @param {?} view\n     * @return {?}\n     */\n\n\n    function createRendererV1(view) {\n      return new RendererAdapter(view.renderer);\n    }\n\n    var RendererAdapter =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} delegate\n       */\n      function RendererAdapter(delegate) {\n        _classCallCheck(this, RendererAdapter);\n\n        this.delegate = delegate;\n      }\n      /**\n       * @param {?} selectorOrNode\n       * @return {?}\n       */\n\n\n      _createClass2(RendererAdapter, [{\n        key: \"selectRootElement\",\n        value: function selectRootElement(selectorOrNode) {\n          return this.delegate.selectRootElement(selectorOrNode);\n        }\n        /**\n         * @param {?} parent\n         * @param {?} namespaceAndName\n         * @return {?}\n         */\n\n      }, {\n        key: \"createElement\",\n        value: function createElement(parent, namespaceAndName) {\n          var _splitNamespace = splitNamespace(namespaceAndName),\n              _splitNamespace2 = _slicedToArray(_splitNamespace, 2),\n              ns = _splitNamespace2[0],\n              name = _splitNamespace2[1];\n          /** @type {?} */\n\n\n          var el = this.delegate.createElement(name, ns);\n\n          if (parent) {\n            this.delegate.appendChild(parent, el);\n          }\n\n          return el;\n        }\n        /**\n         * @param {?} hostElement\n         * @return {?}\n         */\n\n      }, {\n        key: \"createViewRoot\",\n        value: function createViewRoot(hostElement) {\n          return hostElement;\n        }\n        /**\n         * @param {?} parentElement\n         * @return {?}\n         */\n\n      }, {\n        key: \"createTemplateAnchor\",\n        value: function createTemplateAnchor(parentElement) {\n          /** @type {?} */\n          var comment = this.delegate.createComment('');\n\n          if (parentElement) {\n            this.delegate.appendChild(parentElement, comment);\n          }\n\n          return comment;\n        }\n        /**\n         * @param {?} parentElement\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"createText\",\n        value: function createText(parentElement, value) {\n          /** @type {?} */\n          var node = this.delegate.createText(value);\n\n          if (parentElement) {\n            this.delegate.appendChild(parentElement, node);\n          }\n\n          return node;\n        }\n        /**\n         * @param {?} parentElement\n         * @param {?} nodes\n         * @return {?}\n         */\n\n      }, {\n        key: \"projectNodes\",\n        value: function projectNodes(parentElement, nodes) {\n          for (var i = 0; i < nodes.length; i++) {\n            this.delegate.appendChild(parentElement, nodes[i]);\n          }\n        }\n        /**\n         * @param {?} node\n         * @param {?} viewRootNodes\n         * @return {?}\n         */\n\n      }, {\n        key: \"attachViewAfter\",\n        value: function attachViewAfter(node, viewRootNodes) {\n          /** @type {?} */\n          var parentElement = this.delegate.parentNode(node);\n          /** @type {?} */\n\n          var nextSibling = this.delegate.nextSibling(node);\n\n          for (var i = 0; i < viewRootNodes.length; i++) {\n            this.delegate.insertBefore(parentElement, viewRootNodes[i], nextSibling);\n          }\n        }\n        /**\n         * @param {?} viewRootNodes\n         * @return {?}\n         */\n\n      }, {\n        key: \"detachView\",\n        value: function detachView(viewRootNodes) {\n          for (var i = 0; i < viewRootNodes.length; i++) {\n            /** @type {?} */\n            var node = viewRootNodes[i];\n            /** @type {?} */\n\n            var parentElement = this.delegate.parentNode(node);\n            this.delegate.removeChild(parentElement, node);\n          }\n        }\n        /**\n         * @param {?} hostElement\n         * @param {?} viewAllNodes\n         * @return {?}\n         */\n\n      }, {\n        key: \"destroyView\",\n        value: function destroyView(hostElement, viewAllNodes) {\n          for (var i = 0; i < viewAllNodes.length; i++) {\n            /** @type {?} */\n            this.delegate.destroyNode(viewAllNodes[i]);\n          }\n        }\n        /**\n         * @param {?} renderElement\n         * @param {?} name\n         * @param {?} callback\n         * @return {?}\n         */\n\n      }, {\n        key: \"listen\",\n        value: function listen(renderElement, name, callback) {\n          return this.delegate.listen(renderElement, name,\n          /** @type {?} */\n          callback);\n        }\n        /**\n         * @param {?} target\n         * @param {?} name\n         * @param {?} callback\n         * @return {?}\n         */\n\n      }, {\n        key: \"listenGlobal\",\n        value: function listenGlobal(target, name, callback) {\n          return this.delegate.listen(target, name,\n          /** @type {?} */\n          callback);\n        }\n        /**\n         * @param {?} renderElement\n         * @param {?} propertyName\n         * @param {?} propertyValue\n         * @return {?}\n         */\n\n      }, {\n        key: \"setElementProperty\",\n        value: function setElementProperty(renderElement, propertyName, propertyValue) {\n          this.delegate.setProperty(renderElement, propertyName, propertyValue);\n        }\n        /**\n         * @param {?} renderElement\n         * @param {?} namespaceAndName\n         * @param {?=} attributeValue\n         * @return {?}\n         */\n\n      }, {\n        key: \"setElementAttribute\",\n        value: function setElementAttribute(renderElement, namespaceAndName, attributeValue) {\n          var _splitNamespace3 = splitNamespace(namespaceAndName),\n              _splitNamespace4 = _slicedToArray(_splitNamespace3, 2),\n              ns = _splitNamespace4[0],\n              name = _splitNamespace4[1];\n\n          if (attributeValue != null) {\n            this.delegate.setAttribute(renderElement, name, attributeValue, ns);\n          } else {\n            this.delegate.removeAttribute(renderElement, name, ns);\n          }\n        }\n        /**\n         * @param {?} renderElement\n         * @param {?} propertyName\n         * @param {?} propertyValue\n         * @return {?}\n         */\n\n      }, {\n        key: \"setBindingDebugInfo\",\n        value: function setBindingDebugInfo(renderElement, propertyName, propertyValue) {}\n        /**\n         * @param {?} renderElement\n         * @param {?} className\n         * @param {?} isAdd\n         * @return {?}\n         */\n\n      }, {\n        key: \"setElementClass\",\n        value: function setElementClass(renderElement, className, isAdd) {\n          if (isAdd) {\n            this.delegate.addClass(renderElement, className);\n          } else {\n            this.delegate.removeClass(renderElement, className);\n          }\n        }\n        /**\n         * @param {?} renderElement\n         * @param {?} styleName\n         * @param {?=} styleValue\n         * @return {?}\n         */\n\n      }, {\n        key: \"setElementStyle\",\n        value: function setElementStyle(renderElement, styleName, styleValue) {\n          if (styleValue != null) {\n            this.delegate.setStyle(renderElement, styleName, styleValue);\n          } else {\n            this.delegate.removeStyle(renderElement, styleName);\n          }\n        }\n        /**\n         * @param {?} renderElement\n         * @param {?} methodName\n         * @param {?} args\n         * @return {?}\n         */\n\n      }, {\n        key: \"invokeElementMethod\",\n        value: function invokeElementMethod(renderElement, methodName, args) {\n          /** @type {?} */\n          renderElement[methodName].apply(renderElement, args);\n        }\n        /**\n         * @param {?} renderNode\n         * @param {?} text\n         * @return {?}\n         */\n\n      }, {\n        key: \"setText\",\n        value: function setText(renderNode, text) {\n          this.delegate.setValue(renderNode, text);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"animate\",\n        value: function animate() {\n          throw new Error('Renderer.animate is no longer supported!');\n        }\n      }]);\n\n      return RendererAdapter;\n    }();\n\n    if (false) {}\n    /**\n     * @param {?} moduleType\n     * @param {?} parent\n     * @param {?} bootstrapComponents\n     * @param {?} def\n     * @return {?}\n     */\n\n\n    function createNgModuleRef(moduleType, parent, bootstrapComponents, def) {\n      return new NgModuleRef_(moduleType, parent, bootstrapComponents, def);\n    }\n\n    var NgModuleRef_ =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _moduleType\n       * @param {?} _parent\n       * @param {?} _bootstrapComponents\n       * @param {?} _def\n       */\n      function NgModuleRef_(_moduleType, _parent, _bootstrapComponents, _def) {\n        _classCallCheck(this, NgModuleRef_);\n\n        this._moduleType = _moduleType;\n        this._parent = _parent;\n        this._bootstrapComponents = _bootstrapComponents;\n        this._def = _def;\n        this._destroyListeners = [];\n        this._destroyed = false;\n        this.injector = this;\n        initNgModule(this);\n      }\n      /**\n       * @param {?} token\n       * @param {?=} notFoundValue\n       * @param {?=} injectFlags\n       * @return {?}\n       */\n\n\n      _createClass2(NgModuleRef_, [{\n        key: \"get\",\n        value: function get(token) {\n          var notFoundValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : Injector.THROW_IF_NOT_FOUND;\n          var injectFlags = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : InjectFlags.Default;\n\n          /** @type {?} */\n          var flags = 0\n          /* None */\n          ;\n\n          if (injectFlags & InjectFlags.SkipSelf) {\n            flags |= 1\n            /* SkipSelf */\n            ;\n          } else if (injectFlags & InjectFlags.Self) {\n            flags |= 4\n            /* Self */\n            ;\n          }\n\n          return resolveNgModuleDep(this, {\n            token: token,\n            tokenKey: tokenKey(token),\n            flags: flags\n          }, notFoundValue);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"destroy\",\n\n        /**\n         * @return {?}\n         */\n        value: function destroy() {\n          if (this._destroyed) {\n            throw new Error(\"The ng module \".concat(stringify(this.instance.constructor), \" has already been destroyed.\"));\n          }\n\n          this._destroyed = true;\n          callNgModuleLifecycle(this, 131072\n          /* OnDestroy */\n          );\n\n          this._destroyListeners.forEach(\n          /**\n          * @param {?} listener\n          * @return {?}\n          */\n          function (listener) {\n            return listener();\n          });\n        }\n        /**\n         * @param {?} callback\n         * @return {?}\n         */\n\n      }, {\n        key: \"onDestroy\",\n        value: function onDestroy(callback) {\n          this._destroyListeners.push(callback);\n        }\n      }, {\n        key: \"instance\",\n        get: function get() {\n          return this.get(this._moduleType);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"componentFactoryResolver\",\n        get: function get() {\n          return this.get(ComponentFactoryResolver);\n        }\n      }]);\n\n      return NgModuleRef_;\n    }();\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var RendererV1TokenKey = tokenKey(Renderer);\n    /** @type {?} */\n\n    var Renderer2TokenKey = tokenKey(Renderer2);\n    /** @type {?} */\n\n    var ElementRefTokenKey = tokenKey(ElementRef);\n    /** @type {?} */\n\n    var ViewContainerRefTokenKey = tokenKey(ViewContainerRef);\n    /** @type {?} */\n\n    var TemplateRefTokenKey = tokenKey(TemplateRef);\n    /** @type {?} */\n\n    var ChangeDetectorRefTokenKey = tokenKey(ChangeDetectorRef);\n    /** @type {?} */\n\n    var InjectorRefTokenKey$1 = tokenKey(Injector);\n    /** @type {?} */\n\n    var INJECTORRefTokenKey$1 = tokenKey(INJECTOR);\n    /**\n     * @param {?} checkIndex\n     * @param {?} flags\n     * @param {?} matchedQueries\n     * @param {?} childCount\n     * @param {?} ctor\n     * @param {?} deps\n     * @param {?=} props\n     * @param {?=} outputs\n     * @return {?}\n     */\n\n    function directiveDef(checkIndex, flags, matchedQueries, childCount, ctor, deps, props, outputs) {\n      /** @type {?} */\n      var bindings = [];\n\n      if (props) {\n        for (var prop in props) {\n          var _props$prop = _slicedToArray(props[prop], 2),\n              bindingIndex = _props$prop[0],\n              nonMinifiedName = _props$prop[1];\n\n          bindings[bindingIndex] = {\n            flags: 8\n            /* TypeProperty */\n            ,\n            name: prop,\n            nonMinifiedName: nonMinifiedName,\n            ns: null,\n            securityContext: null,\n            suffix: null\n          };\n        }\n      }\n      /** @type {?} */\n\n\n      var outputDefs = [];\n\n      if (outputs) {\n        for (var propName in outputs) {\n          outputDefs.push({\n            type: 1\n            /* DirectiveOutput */\n            ,\n            propName: propName,\n            target: null,\n            eventName: outputs[propName]\n          });\n        }\n      }\n\n      flags |= 16384\n      /* TypeDirective */\n      ;\n      return _def(checkIndex, flags, matchedQueries, childCount, ctor, ctor, deps, bindings, outputDefs);\n    }\n    /**\n     * @param {?} flags\n     * @param {?} ctor\n     * @param {?} deps\n     * @return {?}\n     */\n\n\n    function pipeDef(flags, ctor, deps) {\n      flags |= 16\n      /* TypePipe */\n      ;\n      return _def(-1, flags, null, 0, ctor, ctor, deps);\n    }\n    /**\n     * @param {?} flags\n     * @param {?} matchedQueries\n     * @param {?} token\n     * @param {?} value\n     * @param {?} deps\n     * @return {?}\n     */\n\n\n    function providerDef(flags, matchedQueries, token, value, deps) {\n      return _def(-1, flags, matchedQueries, 0, token, value, deps);\n    }\n    /**\n     * @param {?} checkIndex\n     * @param {?} flags\n     * @param {?} matchedQueriesDsl\n     * @param {?} childCount\n     * @param {?} token\n     * @param {?} value\n     * @param {?} deps\n     * @param {?=} bindings\n     * @param {?=} outputs\n     * @return {?}\n     */\n\n\n    function _def(checkIndex, flags, matchedQueriesDsl, childCount, token, value, deps, bindings, outputs) {\n      var _splitMatchedQueriesD = splitMatchedQueriesDsl(matchedQueriesDsl),\n          matchedQueries = _splitMatchedQueriesD.matchedQueries,\n          references = _splitMatchedQueriesD.references,\n          matchedQueryIds = _splitMatchedQueriesD.matchedQueryIds;\n\n      if (!outputs) {\n        outputs = [];\n      }\n\n      if (!bindings) {\n        bindings = [];\n      } // Need to resolve forwardRefs as e.g. for `useValue` we\n      // lowered the expression and then stopped evaluating it,\n      // i.e. also didn't unwrap it.\n\n\n      value = resolveForwardRef(value);\n      /** @type {?} */\n\n      var depDefs = splitDepsDsl(deps, stringify(token));\n      return {\n        // will bet set by the view definition\n        nodeIndex: -1,\n        parent: null,\n        renderParent: null,\n        bindingIndex: -1,\n        outputIndex: -1,\n        // regular values\n        checkIndex: checkIndex,\n        flags: flags,\n        childFlags: 0,\n        directChildFlags: 0,\n        childMatchedQueries: 0,\n        matchedQueries: matchedQueries,\n        matchedQueryIds: matchedQueryIds,\n        references: references,\n        ngContentIndex: -1,\n        childCount: childCount,\n        bindings: bindings,\n        bindingFlags: calcBindingFlags(bindings),\n        outputs: outputs,\n        element: null,\n        provider: {\n          token: token,\n          value: value,\n          deps: depDefs\n        },\n        text: null,\n        query: null,\n        ngContent: null\n      };\n    }\n    /**\n     * @param {?} view\n     * @param {?} def\n     * @return {?}\n     */\n\n\n    function createProviderInstance(view, def) {\n      return _createProviderInstance$1(view, def);\n    }\n    /**\n     * @param {?} view\n     * @param {?} def\n     * @return {?}\n     */\n\n\n    function createPipeInstance(view, def) {\n      // deps are looked up from component.\n\n      /** @type {?} */\n      var compView = view;\n\n      while (compView.parent && !isComponentView(compView)) {\n        compView = compView.parent;\n      } // pipes can see the private services of the component\n\n      /** @type {?} */\n\n\n      var allowPrivateServices = true; // pipes are always eager and classes!\n\n      return createClass(\n      /** @type {?} */\n      compView.parent,\n      /** @type {?} */\n      viewParentEl(compView), allowPrivateServices,\n      /** @type {?} */\n      def.provider.value,\n      /** @type {?} */\n      def.provider.deps);\n    }\n    /**\n     * @param {?} view\n     * @param {?} def\n     * @return {?}\n     */\n\n\n    function createDirectiveInstance(view, def) {\n      // components can see other private services, other directives can't.\n\n      /** @type {?} */\n      var allowPrivateServices = (def.flags & 32768\n      /* Component */\n      ) > 0; // directives are always eager and classes!\n\n      /** @type {?} */\n\n      var instance = createClass(view,\n      /** @type {?} */\n      def.parent, allowPrivateServices,\n      /** @type {?} */\n      def.provider.value,\n      /** @type {?} */\n      def.provider.deps);\n\n      if (def.outputs.length) {\n        for (var i = 0; i < def.outputs.length; i++) {\n          /** @type {?} */\n          var output = def.outputs[i];\n          /** @type {?} */\n\n          var outputObservable = instance[\n          /** @type {?} */\n          output.propName];\n\n          if (isObservable(outputObservable)) {\n            /** @type {?} */\n            var subscription = outputObservable.subscribe(eventHandlerClosure(view,\n            /** @type {?} */\n            def.parent.nodeIndex, output.eventName));\n\n            /** @type {?} */\n            view.disposables[def.outputIndex + i] = subscription.unsubscribe.bind(subscription);\n          } else {\n            throw new Error(\"@Output \".concat(output.propName, \" not initialized in '\").concat(instance.constructor.name, \"'.\"));\n          }\n        }\n      }\n\n      return instance;\n    }\n    /**\n     * @param {?} view\n     * @param {?} index\n     * @param {?} eventName\n     * @return {?}\n     */\n\n\n    function eventHandlerClosure(view, index, eventName) {\n      return (\n        /**\n        * @param {?} event\n        * @return {?}\n        */\n        function (event) {\n          return dispatchEvent(view, index, eventName, event);\n        }\n      );\n    }\n    /**\n     * @param {?} view\n     * @param {?} def\n     * @param {?} v0\n     * @param {?} v1\n     * @param {?} v2\n     * @param {?} v3\n     * @param {?} v4\n     * @param {?} v5\n     * @param {?} v6\n     * @param {?} v7\n     * @param {?} v8\n     * @param {?} v9\n     * @return {?}\n     */\n\n\n    function checkAndUpdateDirectiveInline(view, def, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9) {\n      /** @type {?} */\n      var providerData = asProviderData(view, def.nodeIndex);\n      /** @type {?} */\n\n      var directive = providerData.instance;\n      /** @type {?} */\n\n      var changed = false;\n      /** @type {?} */\n\n      var changes =\n      /** @type {?} */\n      undefined;\n      /** @type {?} */\n\n      var bindLen = def.bindings.length;\n\n      if (bindLen > 0 && checkBinding(view, def, 0, v0)) {\n        changed = true;\n        changes = updateProp(view, providerData, def, 0, v0, changes);\n      }\n\n      if (bindLen > 1 && checkBinding(view, def, 1, v1)) {\n        changed = true;\n        changes = updateProp(view, providerData, def, 1, v1, changes);\n      }\n\n      if (bindLen > 2 && checkBinding(view, def, 2, v2)) {\n        changed = true;\n        changes = updateProp(view, providerData, def, 2, v2, changes);\n      }\n\n      if (bindLen > 3 && checkBinding(view, def, 3, v3)) {\n        changed = true;\n        changes = updateProp(view, providerData, def, 3, v3, changes);\n      }\n\n      if (bindLen > 4 && checkBinding(view, def, 4, v4)) {\n        changed = true;\n        changes = updateProp(view, providerData, def, 4, v4, changes);\n      }\n\n      if (bindLen > 5 && checkBinding(view, def, 5, v5)) {\n        changed = true;\n        changes = updateProp(view, providerData, def, 5, v5, changes);\n      }\n\n      if (bindLen > 6 && checkBinding(view, def, 6, v6)) {\n        changed = true;\n        changes = updateProp(view, providerData, def, 6, v6, changes);\n      }\n\n      if (bindLen > 7 && checkBinding(view, def, 7, v7)) {\n        changed = true;\n        changes = updateProp(view, providerData, def, 7, v7, changes);\n      }\n\n      if (bindLen > 8 && checkBinding(view, def, 8, v8)) {\n        changed = true;\n        changes = updateProp(view, providerData, def, 8, v8, changes);\n      }\n\n      if (bindLen > 9 && checkBinding(view, def, 9, v9)) {\n        changed = true;\n        changes = updateProp(view, providerData, def, 9, v9, changes);\n      }\n\n      if (changes) {\n        directive.ngOnChanges(changes);\n      }\n\n      if (def.flags & 65536\n      /* OnInit */\n      && shouldCallLifecycleInitHook(view, 256\n      /* InitState_CallingOnInit */\n      , def.nodeIndex)) {\n        directive.ngOnInit();\n      }\n\n      if (def.flags & 262144\n      /* DoCheck */\n      ) {\n          directive.ngDoCheck();\n        }\n\n      return changed;\n    }\n    /**\n     * @param {?} view\n     * @param {?} def\n     * @param {?} values\n     * @return {?}\n     */\n\n\n    function checkAndUpdateDirectiveDynamic(view, def, values) {\n      /** @type {?} */\n      var providerData = asProviderData(view, def.nodeIndex);\n      /** @type {?} */\n\n      var directive = providerData.instance;\n      /** @type {?} */\n\n      var changed = false;\n      /** @type {?} */\n\n      var changes =\n      /** @type {?} */\n      undefined;\n\n      for (var i = 0; i < values.length; i++) {\n        if (checkBinding(view, def, i, values[i])) {\n          changed = true;\n          changes = updateProp(view, providerData, def, i, values[i], changes);\n        }\n      }\n\n      if (changes) {\n        directive.ngOnChanges(changes);\n      }\n\n      if (def.flags & 65536\n      /* OnInit */\n      && shouldCallLifecycleInitHook(view, 256\n      /* InitState_CallingOnInit */\n      , def.nodeIndex)) {\n        directive.ngOnInit();\n      }\n\n      if (def.flags & 262144\n      /* DoCheck */\n      ) {\n          directive.ngDoCheck();\n        }\n\n      return changed;\n    }\n    /**\n     * @param {?} view\n     * @param {?} def\n     * @return {?}\n     */\n\n\n    function _createProviderInstance$1(view, def) {\n      // private services can see other private services\n\n      /** @type {?} */\n      var allowPrivateServices = (def.flags & 8192\n      /* PrivateProvider */\n      ) > 0;\n      /** @type {?} */\n\n      var providerDef = def.provider;\n\n      switch (def.flags & 201347067\n      /* Types */\n      ) {\n        case 512\n        /* TypeClassProvider */\n        :\n          return createClass(view,\n          /** @type {?} */\n          def.parent, allowPrivateServices,\n          /** @type {?} */\n          providerDef.value,\n          /** @type {?} */\n          providerDef.deps);\n\n        case 1024\n        /* TypeFactoryProvider */\n        :\n          return callFactory(view,\n          /** @type {?} */\n          def.parent, allowPrivateServices,\n          /** @type {?} */\n          providerDef.value,\n          /** @type {?} */\n          providerDef.deps);\n\n        case 2048\n        /* TypeUseExistingProvider */\n        :\n          return resolveDep(view,\n          /** @type {?} */\n          def.parent, allowPrivateServices,\n          /** @type {?} */\n          providerDef.deps[0]);\n\n        case 256\n        /* TypeValueProvider */\n        :\n          return (\n            /** @type {?} */\n            providerDef.value\n          );\n      }\n    }\n    /**\n     * @param {?} view\n     * @param {?} elDef\n     * @param {?} allowPrivateServices\n     * @param {?} ctor\n     * @param {?} deps\n     * @return {?}\n     */\n\n\n    function createClass(view, elDef, allowPrivateServices, ctor, deps) {\n      /** @type {?} */\n      var len = deps.length;\n\n      switch (len) {\n        case 0:\n          return new ctor();\n\n        case 1:\n          return new ctor(resolveDep(view, elDef, allowPrivateServices, deps[0]));\n\n        case 2:\n          return new ctor(resolveDep(view, elDef, allowPrivateServices, deps[0]), resolveDep(view, elDef, allowPrivateServices, deps[1]));\n\n        case 3:\n          return new ctor(resolveDep(view, elDef, allowPrivateServices, deps[0]), resolveDep(view, elDef, allowPrivateServices, deps[1]), resolveDep(view, elDef, allowPrivateServices, deps[2]));\n\n        default:\n          /** @type {?} */\n          var depValues = new Array(len);\n\n          for (var i = 0; i < len; i++) {\n            depValues[i] = resolveDep(view, elDef, allowPrivateServices, deps[i]);\n          }\n\n          return _construct(ctor, depValues);\n      }\n    }\n    /**\n     * @param {?} view\n     * @param {?} elDef\n     * @param {?} allowPrivateServices\n     * @param {?} factory\n     * @param {?} deps\n     * @return {?}\n     */\n\n\n    function callFactory(view, elDef, allowPrivateServices, factory, deps) {\n      /** @type {?} */\n      var len = deps.length;\n\n      switch (len) {\n        case 0:\n          return factory();\n\n        case 1:\n          return factory(resolveDep(view, elDef, allowPrivateServices, deps[0]));\n\n        case 2:\n          return factory(resolveDep(view, elDef, allowPrivateServices, deps[0]), resolveDep(view, elDef, allowPrivateServices, deps[1]));\n\n        case 3:\n          return factory(resolveDep(view, elDef, allowPrivateServices, deps[0]), resolveDep(view, elDef, allowPrivateServices, deps[1]), resolveDep(view, elDef, allowPrivateServices, deps[2]));\n\n        default:\n          /** @type {?} */\n          var depValues = Array(len);\n\n          for (var i = 0; i < len; i++) {\n            depValues[i] = resolveDep(view, elDef, allowPrivateServices, deps[i]);\n          }\n\n          return factory.apply(void 0, depValues);\n      }\n    } // This default value is when checking the hierarchy for a token.\n    //\n    // It means both:\n    // - the token is not provided by the current injector,\n    // - only the element injectors should be checked (ie do not check module injectors\n    //\n    //          mod1\n    //         /\n    //       el1   mod2\n    //         \\  /\n    //         el2\n    //\n    // When requesting el2.injector.get(token), we should check in the following order and return the\n    // first found value:\n    // - el2.injector.get(token, default)\n    // - el1.injector.get(token, NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR) -> do not check the module\n    // - mod2.injector.get(token, default)\n\n    /** @type {?} */\n\n\n    var NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR = {};\n    /**\n     * @param {?} view\n     * @param {?} elDef\n     * @param {?} allowPrivateServices\n     * @param {?} depDef\n     * @param {?=} notFoundValue\n     * @return {?}\n     */\n\n    function resolveDep(view, elDef, allowPrivateServices, depDef) {\n      var notFoundValue = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : Injector.THROW_IF_NOT_FOUND;\n\n      if (depDef.flags & 8\n      /* Value */\n      ) {\n          return depDef.token;\n        }\n      /** @type {?} */\n\n\n      var startView = view;\n\n      if (depDef.flags & 2\n      /* Optional */\n      ) {\n          notFoundValue = null;\n        }\n      /** @type {?} */\n\n\n      var tokenKey = depDef.tokenKey;\n\n      if (tokenKey === ChangeDetectorRefTokenKey) {\n        // directives on the same element as a component should be able to control the change detector\n        // of that component as well.\n        allowPrivateServices = !!(elDef &&\n        /** @type {?} */\n        elDef.element.componentView);\n      }\n\n      if (elDef && depDef.flags & 1\n      /* SkipSelf */\n      ) {\n        allowPrivateServices = false;\n        elDef =\n        /** @type {?} */\n        elDef.parent;\n      }\n      /** @type {?} */\n\n\n      var searchView = view;\n\n      while (searchView) {\n        if (elDef) {\n          switch (tokenKey) {\n            case RendererV1TokenKey:\n              {\n                /** @type {?} */\n                var compView = findCompView(searchView, elDef, allowPrivateServices);\n                return createRendererV1(compView);\n              }\n\n            case Renderer2TokenKey:\n              {\n                /** @type {?} */\n                var _compView = findCompView(searchView, elDef, allowPrivateServices);\n\n                return _compView.renderer;\n              }\n\n            case ElementRefTokenKey:\n              return new ElementRef(asElementData(searchView, elDef.nodeIndex).renderElement);\n\n            case ViewContainerRefTokenKey:\n              return asElementData(searchView, elDef.nodeIndex).viewContainer;\n\n            case TemplateRefTokenKey:\n              {\n                if (\n                /** @type {?} */\n                elDef.element.template) {\n                  return asElementData(searchView, elDef.nodeIndex).template;\n                }\n\n                break;\n              }\n\n            case ChangeDetectorRefTokenKey:\n              {\n                /** @type {?} */\n                var cdView = findCompView(searchView, elDef, allowPrivateServices);\n                return createChangeDetectorRef(cdView);\n              }\n\n            case InjectorRefTokenKey$1:\n            case INJECTORRefTokenKey$1:\n              return createInjector$1(searchView, elDef);\n\n            default:\n              /** @type {?} */\n              var _providerDef3 = (\n              /** @type {?} */\n              allowPrivateServices ?\n              /** @type {?} */\n              elDef.element.allProviders :\n              /** @type {?} */\n              elDef.element.publicProviders)[tokenKey];\n\n              if (_providerDef3) {\n                /** @type {?} */\n                var providerData = asProviderData(searchView, _providerDef3.nodeIndex);\n\n                if (!providerData) {\n                  providerData = {\n                    instance: _createProviderInstance$1(searchView, _providerDef3)\n                  };\n                  searchView.nodes[_providerDef3.nodeIndex] =\n                  /** @type {?} */\n                  providerData;\n                }\n\n                return providerData.instance;\n              }\n\n          }\n        }\n\n        allowPrivateServices = isComponentView(searchView);\n        elDef =\n        /** @type {?} */\n        viewParentEl(searchView);\n        searchView =\n        /** @type {?} */\n        searchView.parent;\n\n        if (depDef.flags & 4\n        /* Self */\n        ) {\n            searchView = null;\n          }\n      }\n      /** @type {?} */\n\n\n      var value = startView.root.injector.get(depDef.token, NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR);\n\n      if (value !== NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR || notFoundValue === NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR) {\n        // Return the value from the root element injector when\n        // - it provides it\n        //   (value !== NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR)\n        // - the module injector should not be checked\n        //   (notFoundValue === NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR)\n        return value;\n      }\n\n      return startView.root.ngModule.injector.get(depDef.token, notFoundValue);\n    }\n    /**\n     * @param {?} view\n     * @param {?} elDef\n     * @param {?} allowPrivateServices\n     * @return {?}\n     */\n\n\n    function findCompView(view, elDef, allowPrivateServices) {\n      /** @type {?} */\n      var compView;\n\n      if (allowPrivateServices) {\n        compView = asElementData(view, elDef.nodeIndex).componentView;\n      } else {\n        compView = view;\n\n        while (compView.parent && !isComponentView(compView)) {\n          compView = compView.parent;\n        }\n      }\n\n      return compView;\n    }\n    /**\n     * @param {?} view\n     * @param {?} providerData\n     * @param {?} def\n     * @param {?} bindingIdx\n     * @param {?} value\n     * @param {?} changes\n     * @return {?}\n     */\n\n\n    function updateProp(view, providerData, def, bindingIdx, value, changes) {\n      if (def.flags & 32768\n      /* Component */\n      ) {\n          /** @type {?} */\n          var compView = asElementData(view,\n          /** @type {?} */\n          def.parent.nodeIndex).componentView;\n\n          if (compView.def.flags & 2\n          /* OnPush */\n          ) {\n              compView.state |= 8\n              /* ChecksEnabled */\n              ;\n            }\n        }\n      /** @type {?} */\n\n\n      var binding = def.bindings[bindingIdx];\n      /** @type {?} */\n\n      var propName =\n      /** @type {?} */\n      binding.name; // Note: This is still safe with Closure Compiler as\n      // the user passed in the property name as an object has to `providerDef`,\n      // so Closure Compiler will have renamed the property correctly already.\n\n      providerData.instance[propName] = value;\n\n      if (def.flags & 524288\n      /* OnChanges */\n      ) {\n          changes = changes || {};\n          /** @type {?} */\n\n          var oldValue = WrappedValue.unwrap(view.oldValues[def.bindingIndex + bindingIdx]);\n          /** @type {?} */\n\n          var _binding = def.bindings[bindingIdx];\n          changes[\n          /** @type {?} */\n          _binding.nonMinifiedName] = new SimpleChange(oldValue, value, (view.state & 2\n          /* FirstCheck */\n          ) !== 0);\n        }\n\n      view.oldValues[def.bindingIndex + bindingIdx] = value;\n      return changes;\n    } // This function calls the ngAfterContentCheck, ngAfterContentInit,\n    // ngAfterViewCheck, and ngAfterViewInit lifecycle hooks (depending on the node\n    // flags in lifecycle). Unlike ngDoCheck, ngOnChanges and ngOnInit, which are\n    // called during a pre-order traversal of the view tree (that is calling the\n    // parent hooks before the child hooks) these events are sent in using a\n    // post-order traversal of the tree (children before parents). This changes the\n    // meaning of initIndex in the view state. For ngOnInit, initIndex tracks the\n    // expected nodeIndex which a ngOnInit should be called. When sending\n    // ngAfterContentInit and ngAfterViewInit it is the expected count of\n    // ngAfterContentInit or ngAfterViewInit methods that have been called. This\n    // ensure that despite being called recursively or after picking up after an\n    // exception, the ngAfterContentInit or ngAfterViewInit will be called on the\n    // correct nodes. Consider for example, the following (where E is an element\n    // and D is a directive)\n    //  Tree:       pre-order index  post-order index\n    //    E1        0                6\n    //      E2      1                1\n    //       D3     2                0\n    //      E4      3                5\n    //       E5     4                4\n    //        E6    5                2\n    //        E7    6                3\n    // As can be seen, the post-order index has an unclear relationship to the\n    // pre-order index (postOrderIndex === preOrderIndex - parentCount +\n    // childCount). Since number of calls to ngAfterContentInit and ngAfterViewInit\n    // are stable (will be the same for the same view regardless of exceptions or\n    // recursion) we just need to count them which will roughly correspond to the\n    // post-order index (it skips elements and directives that do not have\n    // lifecycle hooks).\n    //\n    // For example, if an exception is raised in the E6.onAfterViewInit() the\n    // initIndex is left at 3 (by shouldCallLifecycleInitHook() which set it to\n    // initIndex + 1). When checkAndUpdateView() is called again D3, E2 and E6 will\n    // not have their ngAfterViewInit() called but, starting with E7, the rest of\n    // the view will begin getting ngAfterViewInit() called until a check and\n    // pass is complete.\n    //\n    // This algorthim also handles recursion. Consider if E4's ngAfterViewInit()\n    // indirectly calls E1's ChangeDetectorRef.detectChanges(). The expected\n    // initIndex is set to 6, the recusive checkAndUpdateView() starts walk again.\n    // D3, E2, E6, E7, E5 and E4 are skipped, ngAfterViewInit() is called on E1.\n    // When the recursion returns the initIndex will be 7 so E1 is skipped as it\n    // has already been called in the recursively called checkAnUpdateView().\n\n    /**\n     * @param {?} view\n     * @param {?} lifecycles\n     * @return {?}\n     */\n\n\n    function callLifecycleHooksChildrenFirst(view, lifecycles) {\n      if (!(view.def.nodeFlags & lifecycles)) {\n        return;\n      }\n      /** @type {?} */\n\n\n      var nodes = view.def.nodes;\n      /** @type {?} */\n\n      var initIndex = 0;\n\n      for (var i = 0; i < nodes.length; i++) {\n        /** @type {?} */\n        var nodeDef = nodes[i];\n        /** @type {?} */\n\n        var parent = nodeDef.parent;\n\n        if (!parent && nodeDef.flags & lifecycles) {\n          // matching root node (e.g. a pipe)\n          callProviderLifecycles(view, i, nodeDef.flags & lifecycles, initIndex++);\n        }\n\n        if ((nodeDef.childFlags & lifecycles) === 0) {\n          // no child matches one of the lifecycles\n          i += nodeDef.childCount;\n        }\n\n        while (parent && parent.flags & 1\n        /* TypeElement */\n        && i === parent.nodeIndex + parent.childCount) {\n          // last child of an element\n          if (parent.directChildFlags & lifecycles) {\n            initIndex = callElementProvidersLifecycles(view, parent, lifecycles, initIndex);\n          }\n\n          parent = parent.parent;\n        }\n      }\n    }\n    /**\n     * @param {?} view\n     * @param {?} elDef\n     * @param {?} lifecycles\n     * @param {?} initIndex\n     * @return {?}\n     */\n\n\n    function callElementProvidersLifecycles(view, elDef, lifecycles, initIndex) {\n      for (var i = elDef.nodeIndex + 1; i <= elDef.nodeIndex + elDef.childCount; i++) {\n        /** @type {?} */\n        var nodeDef = view.def.nodes[i];\n\n        if (nodeDef.flags & lifecycles) {\n          callProviderLifecycles(view, i, nodeDef.flags & lifecycles, initIndex++);\n        } // only visit direct children\n\n\n        i += nodeDef.childCount;\n      }\n\n      return initIndex;\n    }\n    /**\n     * @param {?} view\n     * @param {?} index\n     * @param {?} lifecycles\n     * @param {?} initIndex\n     * @return {?}\n     */\n\n\n    function callProviderLifecycles(view, index, lifecycles, initIndex) {\n      /** @type {?} */\n      var providerData = asProviderData(view, index);\n\n      if (!providerData) {\n        return;\n      }\n      /** @type {?} */\n\n\n      var provider = providerData.instance;\n\n      if (!provider) {\n        return;\n      }\n\n      Services.setCurrentNode(view, index);\n\n      if (lifecycles & 1048576\n      /* AfterContentInit */\n      && shouldCallLifecycleInitHook(view, 512\n      /* InitState_CallingAfterContentInit */\n      , initIndex)) {\n        provider.ngAfterContentInit();\n      }\n\n      if (lifecycles & 2097152\n      /* AfterContentChecked */\n      ) {\n          provider.ngAfterContentChecked();\n        }\n\n      if (lifecycles & 4194304\n      /* AfterViewInit */\n      && shouldCallLifecycleInitHook(view, 768\n      /* InitState_CallingAfterViewInit */\n      , initIndex)) {\n        provider.ngAfterViewInit();\n      }\n\n      if (lifecycles & 8388608\n      /* AfterViewChecked */\n      ) {\n          provider.ngAfterViewChecked();\n        }\n\n      if (lifecycles & 131072\n      /* OnDestroy */\n      ) {\n          provider.ngOnDestroy();\n        }\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n\n    var ComponentFactoryResolver$1 =\n    /*#__PURE__*/\n    function (_ComponentFactoryReso) {\n      _inherits(ComponentFactoryResolver$1, _ComponentFactoryReso);\n\n      /**\n       * @param {?=} ngModule The NgModuleRef to which all resolved factories are bound.\n       */\n      function ComponentFactoryResolver$1(ngModule) {\n        var _this453;\n\n        _classCallCheck(this, ComponentFactoryResolver$1);\n\n        _this453 = _possibleConstructorReturn(this, _getPrototypeOf(ComponentFactoryResolver$1).call(this));\n        _this453.ngModule = ngModule;\n        return _this453;\n      }\n      /**\n       * @template T\n       * @param {?} component\n       * @return {?}\n       */\n\n\n      _createClass2(ComponentFactoryResolver$1, [{\n        key: \"resolveComponentFactory\",\n        value: function resolveComponentFactory(component) {\n          ngDevMode && assertComponentType(component);\n          /** @type {?} */\n\n          var componentDef =\n          /** @type {?} */\n          getComponentDef(component);\n          return new ComponentFactory$1(componentDef, this.ngModule);\n        }\n      }]);\n\n      return ComponentFactoryResolver$1;\n    }(ComponentFactoryResolver);\n\n    if (false) {}\n    /**\n     * @param {?} map\n     * @return {?}\n     */\n\n\n    function toRefArray(map) {\n      /** @type {?} */\n      var array = [];\n\n      for (var nonMinified in map) {\n        if (map.hasOwnProperty(nonMinified)) {\n          /** @type {?} */\n          var minified = map[nonMinified];\n          array.push({\n            propName: minified,\n            templateName: nonMinified\n          });\n        }\n      }\n\n      return array;\n    }\n    /**\n     * A change detection scheduler token for {\\@link RootContext}. This token is the default value used\n     * for the default `RootContext` found in the {\\@link ROOT_CONTEXT} token.\n     * @type {?}\n     */\n\n\n    var SCHEDULER = new InjectionToken('SCHEDULER_TOKEN', {\n      providedIn: 'root',\n      factory:\n      /**\n      * @return {?}\n      */\n      function factory() {\n        return defaultScheduler;\n      }\n    });\n    /**\n     * @param {?} rootViewInjector\n     * @param {?} moduleInjector\n     * @return {?}\n     */\n\n    function createChainedInjector(rootViewInjector, moduleInjector) {\n      return {\n        get:\n        /**\n        * @template T\n        * @param {?} token\n        * @param {?=} notFoundValue\n        * @param {?=} flags\n        * @return {?}\n        */\n        function get(token, notFoundValue, flags) {\n          /** @type {?} */\n          var value = rootViewInjector.get(token,\n          /** @type {?} */\n          NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR, flags);\n\n          if (value !== NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR || notFoundValue === NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR) {\n            // Return the value from the root element injector when\n            // - it provides it\n            //   (value !== NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR)\n            // - the module injector should not be checked\n            //   (notFoundValue === NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR)\n            return value;\n          }\n\n          return moduleInjector.get(token, notFoundValue, flags);\n        }\n      };\n    }\n    /**\n     * Render3 implementation of {\\@link viewEngine_ComponentFactory}.\n     * @template T\n     */\n\n\n    var ComponentFactory$1 =\n    /*#__PURE__*/\n    function (_ComponentFactory3) {\n      _inherits(ComponentFactory$1, _ComponentFactory3);\n\n      /**\n       * @param {?} componentDef The component definition.\n       * @param {?=} ngModule The NgModuleRef to which the factory is bound.\n       */\n      function ComponentFactory$1(componentDef, ngModule) {\n        var _this454;\n\n        _classCallCheck(this, ComponentFactory$1);\n\n        _this454 = _possibleConstructorReturn(this, _getPrototypeOf(ComponentFactory$1).call(this));\n        _this454.componentDef = componentDef;\n        _this454.ngModule = ngModule;\n        _this454.componentType = componentDef.type; // default to 'div' in case this component has an attribute selector\n\n        _this454.selector =\n        /** @type {?} */\n        componentDef.selectors[0][0] || 'div';\n        _this454.ngContentSelectors = componentDef.ngContentSelectors ? componentDef.ngContentSelectors : [];\n        _this454.isBoundToModule = !!ngModule;\n        return _this454;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(ComponentFactory$1, [{\n        key: \"create\",\n\n        /**\n         * @param {?} injector\n         * @param {?=} projectableNodes\n         * @param {?=} rootSelectorOrNode\n         * @param {?=} ngModule\n         * @return {?}\n         */\n        value: function create(injector, projectableNodes, rootSelectorOrNode, ngModule) {\n          ngModule = ngModule || this.ngModule;\n          /** @type {?} */\n\n          var rootViewInjector = ngModule ? createChainedInjector(injector, ngModule.injector) : injector;\n          /** @type {?} */\n\n          var rendererFactory =\n          /** @type {?} */\n          rootViewInjector.get(RendererFactory2, domRendererFactory3);\n          /** @type {?} */\n\n          var sanitizer = rootViewInjector.get(Sanitizer, null); // Ensure that the namespace for the root node is correct,\n          // otherwise the browser might not render out the element properly.\n\n          namespaceHTMLInternal();\n          /** @type {?} */\n\n          var hostRNode = rootSelectorOrNode ? locateHostElement(rendererFactory, rootSelectorOrNode) : elementCreate(this.selector, rendererFactory.createRenderer(null, this.componentDef));\n          /** @type {?} */\n\n          var rootFlags = this.componentDef.onPush ? 64\n          /* Dirty */\n          | 512\n          /* IsRoot */\n          : 16\n          /* CheckAlways */\n          | 512\n          /* IsRoot */\n          ; // Check whether this Component needs to be isolated from other components, i.e. whether it\n          // should be placed into its own (empty) root context or existing root context should be used.\n          // Note: this is internal-only convention and might change in the future, so it should not be\n          // relied upon externally.\n\n          /** @type {?} */\n\n          var isIsolated = typeof rootSelectorOrNode === 'string' && /^#root-ng-internal-isolated-\\d+/.test(rootSelectorOrNode);\n          /** @type {?} */\n\n          var rootContext = createRootContext();\n          /** @type {?} */\n\n          var renderer = rendererFactory.createRenderer(hostRNode, this.componentDef);\n\n          if (rootSelectorOrNode && hostRNode) {\n            ngDevMode && ngDevMode.rendererSetAttribute++;\n            isProceduralRenderer(renderer) ? renderer.setAttribute(hostRNode, 'ng-version', VERSION.full) : hostRNode.setAttribute('ng-version', VERSION.full);\n          } // Create the root view. Uses empty TView and ContentTemplate.\n\n          /** @type {?} */\n\n\n          var rootLView = createLView(null, createTView(-1, null, 1, 0, null, null, null, null), rootContext, rootFlags, null, null, rendererFactory, renderer, sanitizer, rootViewInjector); // rootView is the parent when bootstrapping\n\n          /** @type {?} */\n\n          var oldLView = enterView(rootLView, null);\n          /** @type {?} */\n\n          var component;\n          /** @type {?} */\n\n          var tElementNode; // Will become true if the `try` block executes with no errors.\n\n          /** @type {?} */\n\n          var safeToRunHooks = false;\n\n          try {\n            /** @type {?} */\n            var componentView = createRootComponentView(hostRNode, this.componentDef, rootLView, rendererFactory, renderer);\n            tElementNode =\n            /** @type {?} */\n            getTNode(0, rootLView);\n\n            if (projectableNodes) {\n              // projectable nodes can be passed as array of arrays or an array of iterables (ngUpgrade\n              // case). Here we do normalize passed data structure to be an array of arrays to avoid\n              // complex checks down the line.\n              tElementNode.projection = projectableNodes.map(\n              /**\n              * @param {?} nodesforSlot\n              * @return {?}\n              */\n              function (nodesforSlot) {\n                return Array.from(nodesforSlot);\n              });\n            } // TODO: should LifecycleHooksFeature and other host features be generated by the compiler and\n            // executed here?\n            // Angular 5 reference: https://stackblitz.com/edit/lifecycle-hooks-vcref\n\n\n            component = createRootComponent(componentView, this.componentDef, rootLView, rootContext, [LifecycleHooksFeature]);\n            addToViewTree(rootLView, componentView);\n            refreshDescendantViews(rootLView);\n            safeToRunHooks = true;\n          } finally {\n            leaveView(oldLView, safeToRunHooks);\n          }\n          /** @type {?} */\n\n\n          var componentRef = new ComponentRef$1(this.componentType, component, createElementRef(ElementRef, tElementNode, rootLView), rootLView, tElementNode);\n\n          if (!rootSelectorOrNode || isIsolated) {\n            // The host element of the internal or isolated root view is attached to the component's host\n            // view node.\n\n            /** @type {?} */\n            componentRef.hostView._tViewNode.child = tElementNode;\n          }\n\n          return componentRef;\n        }\n      }, {\n        key: \"inputs\",\n        get: function get() {\n          return toRefArray(this.componentDef.inputs);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"outputs\",\n        get: function get() {\n          return toRefArray(this.componentDef.outputs);\n        }\n      }]);\n\n      return ComponentFactory$1;\n    }(ComponentFactory);\n\n    if (false) {}\n    /** @type {?} */\n\n\n    var componentFactoryResolver = new ComponentFactoryResolver$1();\n    /**\n     * Creates a ComponentFactoryResolver and stores it on the injector. Or, if the\n     * ComponentFactoryResolver\n     * already exists, retrieves the existing ComponentFactoryResolver.\n     *\n     * @return {?} The ComponentFactoryResolver instance to use\n     */\n\n    function injectComponentFactoryResolver() {\n      return componentFactoryResolver;\n    }\n    /**\n     * Represents an instance of a Component created via a {\\@link ComponentFactory}.\n     *\n     * `ComponentRef` provides access to the Component Instance as well other objects related to this\n     * Component Instance and allows you to destroy the Component Instance via the {\\@link #destroy}\n     * method.\n     *\n     * @template T\n     */\n\n\n    var ComponentRef$1 =\n    /*#__PURE__*/\n    function (_ComponentRef2) {\n      _inherits(ComponentRef$1, _ComponentRef2);\n\n      /**\n       * @param {?} componentType\n       * @param {?} instance\n       * @param {?} location\n       * @param {?} _rootLView\n       * @param {?} _tNode\n       */\n      function ComponentRef$1(componentType, instance, location, _rootLView, _tNode) {\n        var _this455;\n\n        _classCallCheck(this, ComponentRef$1);\n\n        _this455 = _possibleConstructorReturn(this, _getPrototypeOf(ComponentRef$1).call(this));\n        _this455.location = location;\n        _this455._rootLView = _rootLView;\n        _this455._tNode = _tNode;\n        _this455.destroyCbs = [];\n        _this455.instance = instance;\n        _this455.hostView = _this455.changeDetectorRef = new RootViewRef(_rootLView);\n        _this455.hostView._tViewNode = assignTViewNodeToLView(_rootLView[TVIEW], null, -1, _rootLView);\n        _this455.componentType = componentType;\n        return _this455;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(ComponentRef$1, [{\n        key: \"destroy\",\n\n        /**\n         * @return {?}\n         */\n        value: function destroy() {\n          if (this.destroyCbs) {\n            this.destroyCbs.forEach(\n            /**\n            * @param {?} fn\n            * @return {?}\n            */\n            function (fn) {\n              return fn();\n            });\n            this.destroyCbs = null;\n            !this.hostView.destroyed && this.hostView.destroy();\n          }\n        }\n        /**\n         * @param {?} callback\n         * @return {?}\n         */\n\n      }, {\n        key: \"onDestroy\",\n        value: function onDestroy(callback) {\n          if (this.destroyCbs) {\n            this.destroyCbs.push(callback);\n          }\n        }\n      }, {\n        key: \"injector\",\n        get: function get() {\n          return new NodeInjector(this._tNode, this._rootLView);\n        }\n      }]);\n\n      return ComponentRef$1;\n    }(ComponentRef);\n\n    if (false) {}\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * NOTE: changes to the `ngI18nClosureMode` name must be synced with `compiler-cli/src/tooling.ts`.\n     */\n\n\n    if (typeof ngI18nClosureMode === 'undefined') {\n      // These property accesses can be ignored because ngI18nClosureMode will be set to false\n      // when optimizing code and the whole if statement will be dropped.\n      // Make sure to refer to ngI18nClosureMode as ['ngI18nClosureMode'] for closure.\n      // NOTE: we need to have it in IIFE so that the tree-shaker is happy.\n      (function () {\n        // tslint:disable-next-line:no-toplevel-property-access\n        _global['ngI18nClosureMode'] = // TODO(FW-1250): validate that this actually, you know, works.\n        // tslint:disable-next-line:no-toplevel-property-access\n        typeof goog !== 'undefined' && typeof goog.getMsg === 'function';\n      })();\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * This const is used to store the locale data registered with `registerLocaleData`\n     * @type {?}\n     */\n\n\n    var LOCALE_DATA = {};\n    /** @enum {number} */\n\n    var LocaleDataIndex = {\n      LocaleId: 0,\n      DayPeriodsFormat: 1,\n      DayPeriodsStandalone: 2,\n      DaysFormat: 3,\n      DaysStandalone: 4,\n      MonthsFormat: 5,\n      MonthsStandalone: 6,\n      Eras: 7,\n      FirstDayOfWeek: 8,\n      WeekendRange: 9,\n      DateFormat: 10,\n      TimeFormat: 11,\n      DateTimeFormat: 12,\n      NumberSymbols: 13,\n      NumberFormats: 14,\n      CurrencySymbol: 15,\n      CurrencyName: 16,\n      Currencies: 17,\n      PluralCase: 18,\n      ExtraData: 19\n    };\n    LocaleDataIndex[LocaleDataIndex.LocaleId] = 'LocaleId';\n    LocaleDataIndex[LocaleDataIndex.DayPeriodsFormat] = 'DayPeriodsFormat';\n    LocaleDataIndex[LocaleDataIndex.DayPeriodsStandalone] = 'DayPeriodsStandalone';\n    LocaleDataIndex[LocaleDataIndex.DaysFormat] = 'DaysFormat';\n    LocaleDataIndex[LocaleDataIndex.DaysStandalone] = 'DaysStandalone';\n    LocaleDataIndex[LocaleDataIndex.MonthsFormat] = 'MonthsFormat';\n    LocaleDataIndex[LocaleDataIndex.MonthsStandalone] = 'MonthsStandalone';\n    LocaleDataIndex[LocaleDataIndex.Eras] = 'Eras';\n    LocaleDataIndex[LocaleDataIndex.FirstDayOfWeek] = 'FirstDayOfWeek';\n    LocaleDataIndex[LocaleDataIndex.WeekendRange] = 'WeekendRange';\n    LocaleDataIndex[LocaleDataIndex.DateFormat] = 'DateFormat';\n    LocaleDataIndex[LocaleDataIndex.TimeFormat] = 'TimeFormat';\n    LocaleDataIndex[LocaleDataIndex.DateTimeFormat] = 'DateTimeFormat';\n    LocaleDataIndex[LocaleDataIndex.NumberSymbols] = 'NumberSymbols';\n    LocaleDataIndex[LocaleDataIndex.NumberFormats] = 'NumberFormats';\n    LocaleDataIndex[LocaleDataIndex.CurrencySymbol] = 'CurrencySymbol';\n    LocaleDataIndex[LocaleDataIndex.CurrencyName] = 'CurrencyName';\n    LocaleDataIndex[LocaleDataIndex.Currencies] = 'Currencies';\n    LocaleDataIndex[LocaleDataIndex.PluralCase] = 'PluralCase';\n    LocaleDataIndex[LocaleDataIndex.ExtraData] = 'ExtraData';\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n    // THIS CODE IS GENERATED - DO NOT MODIFY\n    // See angular/tools/gulp-tasks/cldr/extract.js\n\n    /** @type {?} */\n\n    var u = undefined;\n    /**\n     * @param {?} n\n     * @return {?}\n     */\n\n    function plural(n) {\n      /** @type {?} */\n      var i = Math.floor(Math.abs(n));\n      /** @type {?} */\n\n      var v = n.toString().replace(/^[^.]*\\.?/, '').length;\n      if (i === 1 && v === 0) return 1;\n      return 5;\n    }\n\n    var localeEn = ['en', [['a', 'p'], ['AM', 'PM'], u], [['AM', 'PM'], u, u], [['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']], u, [['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']], u, [['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}', u, '{1} \\'at\\' {0}', u], ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], '$', 'US Dollar', {}, plural];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Retrieves the plural function used by ICU expressions to determine the plural case to use\n     * for a given locale.\n     * @see `NgPlural` / [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n     * @param {?} locale A locale code for the locale format rules to use.\n     * @return {?} The plural function for the locale.\n     */\n\n    function getLocalePluralCase(locale) {\n      /** @type {?} */\n      var data = findLocaleData(locale);\n      return data[LocaleDataIndex.PluralCase];\n    }\n    /**\n     * Finds the locale data for a given locale.\n     *\n     * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)\n     * @param {?} locale The locale code.\n     * @return {?} The locale data.\n     */\n\n\n    function findLocaleData(locale) {\n      /** @type {?} */\n      var normalizedLocale = locale.toLowerCase().replace(/_/g, '-');\n      /** @type {?} */\n\n      var match = LOCALE_DATA[normalizedLocale];\n\n      if (match) {\n        return match;\n      } // let's try to find a parent locale\n\n      /** @type {?} */\n\n\n      var parentLocale = normalizedLocale.split('-')[0];\n      match = LOCALE_DATA[parentLocale];\n\n      if (match) {\n        return match;\n      }\n\n      if (parentLocale === 'en') {\n        return localeEn;\n      }\n\n      throw new Error(\"Missing locale data for the locale \\\"\".concat(locale, \"\\\".\"));\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Returns the plural case based on the locale\n     * @param {?} value\n     * @param {?} locale\n     * @return {?}\n     */\n\n\n    function getPluralCase(value, locale) {\n      /** @type {?} */\n      var plural = getLocalePluralCase(locale)(value);\n\n      switch (plural) {\n        case 0:\n          return 'zero';\n\n        case 1:\n          return 'one';\n\n        case 2:\n          return 'two';\n\n        case 3:\n          return 'few';\n\n        case 4:\n          return 'many';\n\n        default:\n          return 'other';\n      }\n    }\n    /**\n     * The locale id that the application is using by default (for translations and ICU expressions).\n     * @type {?}\n     */\n\n\n    var DEFAULT_LOCALE_ID = 'en-US';\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n    var MARKER = \"\\uFFFD\";\n    /** @type {?} */\n\n    var ICU_BLOCK_REGEXP = /^\\s*(�\\d+:?\\d*�)\\s*,\\s*(select|plural)\\s*,/;\n    /** @type {?} */\n\n    var SUBTEMPLATE_REGEXP = /�\\/?\\*(\\d+:\\d+)�/gi;\n    /** @type {?} */\n\n    var PH_REGEXP = /�(\\/?[#*!]\\d+):?\\d*�/gi;\n    /** @type {?} */\n\n    var BINDING_REGEXP = /�(\\d+):?\\d*�/gi;\n    /** @type {?} */\n\n    var ICU_REGEXP = /({\\s*�\\d+:?\\d*�\\s*,\\s*\\S{6}\\s*,[\\s\\S]*})/gi;\n    /** @enum {string} */\n\n    var TagType = {\n      ELEMENT: '#',\n      TEMPLATE: '*',\n      PROJECTION: '!'\n    }; // i18nPostprocess consts\n\n    /** @type {?} */\n\n    var ROOT_TEMPLATE_ID = 0;\n    /** @type {?} */\n\n    var PP_MULTI_VALUE_PLACEHOLDERS_REGEXP = /\\[(�.+?�?)\\]/;\n    /** @type {?} */\n\n    var PP_PLACEHOLDERS_REGEXP = /\\[(�.+?�?)\\]|(�\\/?\\*\\d+:\\d+�)/g;\n    /** @type {?} */\n\n    var PP_ICU_VARS_REGEXP = /({\\s*)(VAR_(PLURAL|SELECT)(_\\d+)?)(\\s*,)/g;\n    /** @type {?} */\n\n    var PP_ICU_PLACEHOLDERS_REGEXP = /{([A-Z0-9_]+)}/g;\n    /** @type {?} */\n\n    var PP_ICUS_REGEXP = /�I18N_EXP_(ICU(_\\d+)?)�/g;\n    /** @type {?} */\n\n    var PP_CLOSE_TEMPLATE_REGEXP = /\\/\\*/;\n    /** @type {?} */\n\n    var PP_TEMPLATE_ID_REGEXP = /\\d+\\:(\\d+)/;\n    /**\n     * @record\n     */\n\n    function IcuExpression() {}\n\n    if (false) {}\n    /**\n     * @record\n     */\n\n\n    function IcuCase() {}\n\n    if (false) {}\n    /**\n     * Breaks pattern into strings and top level {...} blocks.\n     * Can be used to break a message into text and ICU expressions, or to break an ICU expression into\n     * keys and cases.\n     * Original code from closure library, modified for Angular.\n     *\n     * @param {?} pattern (sub)Pattern to be broken.\n     *\n     * @return {?}\n     */\n\n\n    function extractParts(pattern) {\n      if (!pattern) {\n        return [];\n      }\n      /** @type {?} */\n\n\n      var prevPos = 0;\n      /** @type {?} */\n\n      var braceStack = [];\n      /** @type {?} */\n\n      var results = [];\n      /** @type {?} */\n\n      var braces = /[{}]/g; // lastIndex doesn't get set to 0 so we have to.\n\n      braces.lastIndex = 0;\n      /** @type {?} */\n\n      var match;\n\n      while (match = braces.exec(pattern)) {\n        /** @type {?} */\n        var pos = match.index;\n\n        if (match[0] == '}') {\n          braceStack.pop();\n\n          if (braceStack.length == 0) {\n            // End of the block.\n\n            /** @type {?} */\n            var block = pattern.substring(prevPos, pos);\n\n            if (ICU_BLOCK_REGEXP.test(block)) {\n              results.push(parseICUBlock(block));\n            } else {\n              results.push(block);\n            }\n\n            prevPos = pos + 1;\n          }\n        } else {\n          if (braceStack.length == 0) {\n            /** @type {?} */\n            var _substring = pattern.substring(prevPos, pos);\n\n            results.push(_substring);\n            prevPos = pos + 1;\n          }\n\n          braceStack.push('{');\n        }\n      }\n      /** @type {?} */\n\n\n      var substring = pattern.substring(prevPos);\n      results.push(substring);\n      return results;\n    }\n    /**\n     * Parses text containing an ICU expression and produces a JSON object for it.\n     * Original code from closure library, modified for Angular.\n     *\n     * @param {?} pattern Text containing an ICU expression that needs to be parsed.\n     *\n     * @return {?}\n     */\n\n\n    function parseICUBlock(pattern) {\n      /** @type {?} */\n      var cases = [];\n      /** @type {?} */\n\n      var values = [];\n      /** @type {?} */\n\n      var icuType = 1\n      /* plural */\n      ;\n      /** @type {?} */\n\n      var mainBinding = 0;\n      pattern = pattern.replace(ICU_BLOCK_REGEXP,\n      /**\n      * @param {?} str\n      * @param {?} binding\n      * @param {?} type\n      * @return {?}\n      */\n      function (str, binding, type) {\n        if (type === 'select') {\n          icuType = 0\n          /* select */\n          ;\n        } else {\n          icuType = 1\n          /* plural */\n          ;\n        }\n\n        mainBinding = parseInt(binding.substr(1), 10);\n        return '';\n      });\n      /** @type {?} */\n\n      var parts =\n      /** @type {?} */\n      extractParts(pattern); // Looking for (key block)+ sequence. One of the keys has to be \"other\".\n\n      for (var pos = 0; pos < parts.length;) {\n        /** @type {?} */\n        var key = parts[pos++].trim();\n\n        if (icuType === 1\n        /* plural */\n        ) {\n            // Key can be \"=x\", we just want \"x\"\n            key = key.replace(/\\s*(?:=)?(\\w+)\\s*/, '$1');\n          }\n\n        if (key.length) {\n          cases.push(key);\n        }\n        /** @type {?} */\n\n\n        var blocks =\n        /** @type {?} */\n        extractParts(parts[pos++]);\n\n        if (cases.length > values.length) {\n          values.push(blocks);\n        }\n      }\n\n      assertGreaterThan(cases.indexOf('other'), -1, 'Missing key \"other\" in ICU statement.'); // TODO(ocombe): support ICU expressions in attributes, see #21615\n\n      return {\n        type: icuType,\n        mainBinding: mainBinding,\n        cases: cases,\n        values: values\n      };\n    }\n    /**\n     * Removes everything inside the sub-templates of a message.\n     * @param {?} message\n     * @return {?}\n     */\n\n\n    function removeInnerTemplateTranslation(message) {\n      /** @type {?} */\n      var match;\n      /** @type {?} */\n\n      var res = '';\n      /** @type {?} */\n\n      var index = 0;\n      /** @type {?} */\n\n      var inTemplate = false;\n      /** @type {?} */\n\n      var tagMatched;\n\n      while ((match = SUBTEMPLATE_REGEXP.exec(message)) !== null) {\n        if (!inTemplate) {\n          res += message.substring(index, match.index + match[0].length);\n          tagMatched = match[1];\n          inTemplate = true;\n        } else {\n          if (match[0] === \"\".concat(MARKER, \"/*\").concat(tagMatched).concat(MARKER)) {\n            index = match.index;\n            inTemplate = false;\n          }\n        }\n      }\n\n      ngDevMode && assertEqual(inTemplate, false, \"Tag mismatch: unable to find the end of the sub-template in the translation \\\"\".concat(message, \"\\\"\"));\n      res += message.substr(index);\n      return res;\n    }\n    /**\n     * Extracts a part of a message and removes the rest.\n     *\n     * This method is used for extracting a part of the message associated with a template. A translated\n     * message can span multiple templates.\n     *\n     * Example:\n     * ```\n     * <div i18n>Translate <span *ngIf>me</span>!</div>\n     * ```\n     *\n     * @param {?} message The message to crop\n     * @param {?=} subTemplateIndex Index of the sub-template to extract. If undefined it returns the\n     * external template and removes all sub-templates.\n     * @return {?}\n     */\n\n\n    function getTranslationForTemplate(message, subTemplateIndex) {\n      if (typeof subTemplateIndex !== 'number') {\n        // We want the root template message, ignore all sub-templates\n        return removeInnerTemplateTranslation(message);\n      } else {\n        // We want a specific sub-template\n\n        /** @type {?} */\n        var start = message.indexOf(\":\".concat(subTemplateIndex).concat(MARKER)) + 2 + subTemplateIndex.toString().length;\n        /** @type {?} */\n\n        var end = message.search(new RegExp(\"\".concat(MARKER, \"\\\\/\\\\*\\\\d+:\").concat(subTemplateIndex).concat(MARKER)));\n        return removeInnerTemplateTranslation(message.substring(start, end));\n      }\n    }\n    /**\n     * Generate the OpCodes to update the bindings of a string.\n     *\n     * @param {?} str The string containing the bindings.\n     * @param {?} destinationNode Index of the destination node which will receive the binding.\n     * @param {?=} attrName Name of the attribute, if the string belongs to an attribute.\n     * @param {?=} sanitizeFn Sanitization function used to sanitize the string after update, if necessary.\n     * @return {?}\n     */\n\n\n    function generateBindingUpdateOpCodes(str, destinationNode, attrName) {\n      var sanitizeFn = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;\n\n      /** @type {?} */\n      var updateOpCodes = [null, null]; // Alloc space for mask and size\n\n      /** @type {?} */\n\n      var textParts = str.split(BINDING_REGEXP);\n      /** @type {?} */\n\n      var mask = 0;\n\n      for (var j = 0; j < textParts.length; j++) {\n        /** @type {?} */\n        var textValue = textParts[j];\n\n        if (j & 1) {\n          // Odd indexes are bindings\n\n          /** @type {?} */\n          var bindingIndex = parseInt(textValue, 10);\n          updateOpCodes.push(-1 - bindingIndex);\n          mask = mask | toMaskBit(bindingIndex);\n        } else if (textValue !== '') {\n          // Even indexes are text\n          updateOpCodes.push(textValue);\n        }\n      }\n\n      updateOpCodes.push(destinationNode << 2\n      /* SHIFT_REF */\n      | (attrName ? 1\n      /* Attr */\n      : 0\n      /* Text */\n      ));\n\n      if (attrName) {\n        updateOpCodes.push(attrName, sanitizeFn);\n      }\n\n      updateOpCodes[0] = mask;\n      updateOpCodes[1] = updateOpCodes.length - 2;\n      return updateOpCodes;\n    }\n    /**\n     * @param {?} icuExpression\n     * @param {?=} mask\n     * @return {?}\n     */\n\n\n    function getBindingMask(icuExpression) {\n      var mask = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n      mask = mask | toMaskBit(icuExpression.mainBinding);\n      /** @type {?} */\n\n      var match;\n\n      for (var i = 0; i < icuExpression.values.length; i++) {\n        /** @type {?} */\n        var valueArr = icuExpression.values[i];\n\n        for (var j = 0; j < valueArr.length; j++) {\n          /** @type {?} */\n          var value = valueArr[j];\n\n          if (typeof value === 'string') {\n            while (match = BINDING_REGEXP.exec(value)) {\n              mask = mask | toMaskBit(parseInt(match[1], 10));\n            }\n          } else {\n            mask = getBindingMask(\n            /** @type {?} */\n            value, mask);\n          }\n        }\n      }\n\n      return mask;\n    }\n    /** @type {?} */\n\n\n    var i18nIndexStack = [];\n    /** @type {?} */\n\n    var i18nIndexStackPointer = -1;\n    /**\n     * Convert binding index to mask bit.\n     *\n     * Each index represents a single bit on the bit-mask. Because bit-mask only has 32 bits, we make\n     * the 32nd bit share all masks for all bindings higher than 32. Since it is extremely rare to have\n     * more than 32 bindings this will be hit very rarely. The downside of hitting this corner case is\n     * that we will execute binding code more often than necessary. (penalty of performance)\n     * @param {?} bindingIndex\n     * @return {?}\n     */\n\n    function toMaskBit(bindingIndex) {\n      return 1 << Math.min(bindingIndex, 31);\n    }\n    /** @type {?} */\n\n\n    var parentIndexStack = [];\n    /**\n     * Marks a block of text as translatable.\n     *\n     * The instructions `i18nStart` and `i18nEnd` mark the translation block in the template.\n     * The translation `message` is the value which is locale specific. The translation string may\n     * contain placeholders which associate inner elements and sub-templates within the translation.\n     *\n     * The translation `message` placeholders are:\n     * - `�{index}(:{block})�`: *Binding Placeholder*: Marks a location where an expression will be\n     *   interpolated into. The placeholder `index` points to the expression binding index. An optional\n     *   `block` that matches the sub-template in which it was declared.\n     * - `�#{index}(:{block})�`/`�/#{index}(:{block})�`: *Element Placeholder*:  Marks the beginning\n     *   and end of DOM element that were embedded in the original translation block. The placeholder\n     *   `index` points to the element index in the template instructions set. An optional `block` that\n     *   matches the sub-template in which it was declared.\n     * - `�!{index}(:{block})�`/`�/!{index}(:{block})�`: *Projection Placeholder*:  Marks the\n     *   beginning and end of <ng-content> that was embedded in the original translation block.\n     *   The placeholder `index` points to the element index in the template instructions set.\n     *   An optional `block` that matches the sub-template in which it was declared.\n     * - `�*{index}:{block}�`/`�/*{index}:{block}�`: *Sub-template Placeholder*: Sub-templates must be\n     *   split up and translated separately in each angular template function. The `index` points to the\n     *   `template` instruction index. A `block` that matches the sub-template in which it was declared.\n     *\n     * \\@codeGenApi\n     * @param {?} index A unique index of the translation in the static block.\n     * @param {?} message The translation message.\n     * @param {?=} subTemplateIndex Optional sub-template index in the `message`.\n     *\n     * @return {?}\n     */\n\n    function ɵɵi18nStart(index, message, subTemplateIndex) {\n      /** @type {?} */\n      var tView = getLView()[TVIEW];\n      ngDevMode && assertDefined(tView, \"tView should be defined\");\n      i18nIndexStack[++i18nIndexStackPointer] = index; // We need to delay projections until `i18nEnd`\n\n      setDelayProjection(true);\n\n      if (tView.firstTemplatePass && tView.data[index + HEADER_OFFSET] === null) {\n        i18nStartFirstPass(tView, index, message, subTemplateIndex);\n      }\n    } // Count for the number of vars that will be allocated for each i18n block.\n    // It is global because this is used in multiple functions that include loops and recursive calls.\n    // This is reset to 0 when `i18nStartFirstPass` is called.\n\n    /** @type {?} */\n\n\n    var i18nVarsCount;\n    /**\n     * See `i18nStart` above.\n     * @param {?} tView\n     * @param {?} index\n     * @param {?} message\n     * @param {?=} subTemplateIndex\n     * @return {?}\n     */\n\n    function i18nStartFirstPass(tView, index, message, subTemplateIndex) {\n      /** @type {?} */\n      var viewData = getLView();\n      /** @type {?} */\n\n      var startIndex = tView.blueprint.length - HEADER_OFFSET;\n      i18nVarsCount = 0;\n      /** @type {?} */\n\n      var previousOrParentTNode = getPreviousOrParentTNode();\n      /** @type {?} */\n\n      var parentTNode = getIsParent() ? getPreviousOrParentTNode() : previousOrParentTNode && previousOrParentTNode.parent;\n      /** @type {?} */\n\n      var parentIndex = parentTNode && parentTNode !== viewData[T_HOST] ? parentTNode.index - HEADER_OFFSET : index;\n      /** @type {?} */\n\n      var parentIndexPointer = 0;\n      parentIndexStack[parentIndexPointer] = parentIndex;\n      /** @type {?} */\n\n      var createOpCodes = []; // If the previous node wasn't the direct parent then we have a translation without top level\n      // element and we need to keep a reference of the previous element if there is one\n\n      if (index > 0 && previousOrParentTNode !== parentTNode) {\n        // Create an OpCode to select the previous TNode\n        createOpCodes.push(previousOrParentTNode.index << 3\n        /* SHIFT_REF */\n        | 0\n        /* Select */\n        );\n      }\n      /** @type {?} */\n\n\n      var updateOpCodes = [];\n      /** @type {?} */\n\n      var icuExpressions = [];\n      /** @type {?} */\n\n      var templateTranslation = getTranslationForTemplate(message, subTemplateIndex);\n      /** @type {?} */\n\n      var msgParts = replaceNgsp(templateTranslation).split(PH_REGEXP);\n\n      for (var i = 0; i < msgParts.length; i++) {\n        /** @type {?} */\n        var value = msgParts[i];\n\n        if (i & 1) {\n          // Odd indexes are placeholders (elements and sub-templates)\n          if (value.charAt(0) === '/') {\n            // It is a closing tag\n            if (value.charAt(1) === \"#\"\n            /* ELEMENT */\n            ) {\n                /** @type {?} */\n                var phIndex = parseInt(value.substr(2), 10);\n                parentIndex = parentIndexStack[--parentIndexPointer];\n                createOpCodes.push(phIndex << 3\n                /* SHIFT_REF */\n                | 5\n                /* ElementEnd */\n                );\n              }\n          } else {\n            /** @type {?} */\n            var _phIndex = parseInt(value.substr(1), 10); // The value represents a placeholder that we move to the designated index\n\n\n            createOpCodes.push(_phIndex << 3\n            /* SHIFT_REF */\n            | 0\n            /* Select */\n            , parentIndex << 17\n            /* SHIFT_PARENT */\n            | 1\n            /* AppendChild */\n            );\n\n            if (value.charAt(0) === \"#\"\n            /* ELEMENT */\n            ) {\n                parentIndexStack[++parentIndexPointer] = parentIndex = _phIndex;\n              }\n          }\n        } else {\n          // Even indexes are text (including bindings & ICU expressions)\n\n          /** @type {?} */\n          var parts = extractParts(value);\n\n          for (var j = 0; j < parts.length; j++) {\n            if (j & 1) {\n              // Odd indexes are ICU expressions\n              // Create the comment node that will anchor the ICU expression\n\n              /** @type {?} */\n              var icuNodeIndex = startIndex + i18nVarsCount++;\n              createOpCodes.push(COMMENT_MARKER, ngDevMode ? \"ICU \".concat(icuNodeIndex) : '', icuNodeIndex, parentIndex << 17\n              /* SHIFT_PARENT */\n              | 1\n              /* AppendChild */\n              ); // Update codes for the ICU expression\n\n              /** @type {?} */\n\n              var icuExpression =\n              /** @type {?} */\n              parts[j];\n              /** @type {?} */\n\n              var mask = getBindingMask(icuExpression);\n              icuStart(icuExpressions, icuExpression, icuNodeIndex, icuNodeIndex); // Since this is recursive, the last TIcu that was pushed is the one we want\n\n              /** @type {?} */\n\n              var tIcuIndex = icuExpressions.length - 1;\n              updateOpCodes.push(toMaskBit(icuExpression.mainBinding), // mask of the main binding\n              3, // skip 3 opCodes if not changed\n              -1 - icuExpression.mainBinding, icuNodeIndex << 2\n              /* SHIFT_REF */\n              | 2\n              /* IcuSwitch */\n              , tIcuIndex, mask, // mask of all the bindings of this ICU expression\n              2, // skip 2 opCodes if not changed\n              icuNodeIndex << 2\n              /* SHIFT_REF */\n              | 3\n              /* IcuUpdate */\n              , tIcuIndex);\n            } else if (parts[j] !== '') {\n              /** @type {?} */\n              var text =\n              /** @type {?} */\n              parts[j]; // Even indexes are text (including bindings)\n\n              /** @type {?} */\n\n              var hasBinding = text.match(BINDING_REGEXP); // Create text nodes\n\n              /** @type {?} */\n\n              var textNodeIndex = startIndex + i18nVarsCount++;\n              createOpCodes.push( // If there is a binding, the value will be set during update\n              hasBinding ? '' : text, textNodeIndex, parentIndex << 17\n              /* SHIFT_PARENT */\n              | 1\n              /* AppendChild */\n              );\n\n              if (hasBinding) {\n                addAllToArray(generateBindingUpdateOpCodes(text, textNodeIndex), updateOpCodes);\n              }\n            }\n          }\n        }\n      }\n\n      if (i18nVarsCount > 0) {\n        allocExpando(viewData, i18nVarsCount);\n      }\n\n      ngDevMode && attachI18nOpCodesDebug(createOpCodes, updateOpCodes, icuExpressions.length ? icuExpressions : null, viewData); // NOTE: local var needed to properly assert the type of `TI18n`.\n\n      /** @type {?} */\n\n      var tI18n = {\n        vars: i18nVarsCount,\n        create: createOpCodes,\n        update: updateOpCodes,\n        icus: icuExpressions.length ? icuExpressions : null\n      };\n      tView.data[index + HEADER_OFFSET] = tI18n;\n    }\n    /**\n     * @param {?} tNode\n     * @param {?} parentTNode\n     * @param {?} previousTNode\n     * @param {?} viewData\n     * @return {?}\n     */\n\n\n    function appendI18nNode(tNode, parentTNode, previousTNode, viewData) {\n      ngDevMode && ngDevMode.rendererMoveNode++;\n      /** @type {?} */\n\n      var nextNode = tNode.next;\n\n      if (!previousTNode) {\n        previousTNode = parentTNode;\n      } // Re-organize node tree to put this node in the correct position.\n\n\n      if (previousTNode === parentTNode && tNode !== parentTNode.child) {\n        tNode.next = parentTNode.child;\n        parentTNode.child = tNode;\n      } else if (previousTNode !== parentTNode && tNode !== previousTNode.next) {\n        tNode.next = previousTNode.next;\n        previousTNode.next = tNode;\n      } else {\n        tNode.next = null;\n      }\n\n      if (parentTNode !== viewData[T_HOST]) {\n        tNode.parent =\n        /** @type {?} */\n        parentTNode;\n      } // If tNode was moved around, we might need to fix a broken link.\n\n      /** @type {?} */\n\n\n      var cursor = tNode.next;\n\n      while (cursor) {\n        if (cursor.next === tNode) {\n          cursor.next = nextNode;\n        }\n\n        cursor = cursor.next;\n      } // If the placeholder to append is a projection, we need to move the projected nodes instead\n\n\n      if (tNode.type === 1\n      /* Projection */\n      ) {\n          /** @type {?} */\n          var tProjectionNode =\n          /** @type {?} */\n          tNode;\n          appendProjectedNodes(viewData, tProjectionNode, tProjectionNode.projection, findComponentView(viewData));\n          return tNode;\n        }\n\n      appendChild(getNativeByTNode(tNode, viewData), tNode, viewData);\n      /** @type {?} */\n\n      var slotValue = viewData[tNode.index];\n\n      if (tNode.type !== 0\n      /* Container */\n      && isLContainer(slotValue)) {\n        // Nodes that inject ViewContainerRef also have a comment node that should be moved\n        appendChild(slotValue[NATIVE], tNode, viewData);\n      }\n\n      return tNode;\n    }\n    /**\n     * Handles message string post-processing for internationalization.\n     *\n     * Handles message string post-processing by transforming it from intermediate\n     * format (that might contain some markers that we need to replace) to the final\n     * form, consumable by i18nStart instruction. Post processing steps include:\n     *\n     * 1. Resolve all multi-value cases (like [�*1:1��#2:1�|�#4:1�|�5�])\n     * 2. Replace all ICU vars (like \"VAR_PLURAL\")\n     * 3. Replace all placeholders used inside ICUs in a form of {PLACEHOLDER}\n     * 4. Replace all ICU references with corresponding values (like �ICU_EXP_ICU_1�)\n     *    in case multiple ICUs have the same placeholder name\n     *\n     * \\@codeGenApi\n     * @param {?} message Raw translation string for post processing\n     * @param {?=} replacements Set of replacements that should be applied\n     *\n     * @return {?} Transformed string that can be consumed by i18nStart instruction\n     *\n     */\n\n\n    function ɵɵi18nPostprocess(message) {\n      var replacements = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n      /**\n       * Step 1: resolve all multi-value placeholders like [�#5�|�*1:1��#2:1�|�#4:1�]\n       *\n       * Note: due to the way we process nested templates (BFS), multi-value placeholders are typically\n       * grouped by templates, for example: [�#5�|�#6�|�#1:1�|�#3:2�] where �#5� and �#6� belong to root\n       * template, �#1:1� belong to nested template with index 1 and �#1:2� - nested template with index\n       * 3. However in real templates the order might be different: i.e. �#1:1� and/or �#3:2� may go in\n       * front of �#6�. The post processing step restores the right order by keeping track of the\n       * template id stack and looks for placeholders that belong to the currently active template.\n       * @type {?}\n       */\n      var result = message;\n\n      if (PP_MULTI_VALUE_PLACEHOLDERS_REGEXP.test(message)) {\n        /** @type {?} */\n        var matches = {};\n        /** @type {?} */\n\n        var templateIdsStack = [ROOT_TEMPLATE_ID];\n        result = result.replace(PP_PLACEHOLDERS_REGEXP,\n        /**\n        * @param {?} m\n        * @param {?} phs\n        * @param {?} tmpl\n        * @return {?}\n        */\n        function (m, phs, tmpl) {\n          /** @type {?} */\n          var content = phs || tmpl;\n          /** @type {?} */\n\n          var placeholders = matches[content] || [];\n\n          if (!placeholders.length) {\n            content.split('|').forEach(\n            /**\n            * @param {?} placeholder\n            * @return {?}\n            */\n            function (placeholder) {\n              /** @type {?} */\n              var match = placeholder.match(PP_TEMPLATE_ID_REGEXP);\n              /** @type {?} */\n\n              var templateId = match ? parseInt(match[1], 10) : ROOT_TEMPLATE_ID;\n              /** @type {?} */\n\n              var isCloseTemplateTag = PP_CLOSE_TEMPLATE_REGEXP.test(placeholder);\n              placeholders.push([templateId, isCloseTemplateTag, placeholder]);\n            });\n            matches[content] = placeholders;\n          }\n\n          if (!placeholders.length) {\n            throw new Error(\"i18n postprocess: unmatched placeholder - \".concat(content));\n          }\n          /** @type {?} */\n\n\n          var currentTemplateId = templateIdsStack[templateIdsStack.length - 1];\n          /** @type {?} */\n\n          var idx = 0; // find placeholder index that matches current template id\n\n          for (var i = 0; i < placeholders.length; i++) {\n            if (placeholders[i][0] === currentTemplateId) {\n              idx = i;\n              break;\n            }\n          } // update template id stack based on the current tag extracted\n\n\n          var _placeholders$idx = _slicedToArray(placeholders[idx], 3),\n              templateId = _placeholders$idx[0],\n              isCloseTemplateTag = _placeholders$idx[1],\n              placeholder = _placeholders$idx[2];\n\n          if (isCloseTemplateTag) {\n            templateIdsStack.pop();\n          } else if (currentTemplateId !== templateId) {\n            templateIdsStack.push(templateId);\n          } // remove processed tag from the list\n\n\n          placeholders.splice(idx, 1);\n          return placeholder;\n        });\n      } // return current result if no replacements specified\n\n\n      if (!Object.keys(replacements).length) {\n        return result;\n      }\n      /**\n       * Step 2: replace all ICU vars (like \"VAR_PLURAL\")\n       */\n\n\n      result = result.replace(PP_ICU_VARS_REGEXP,\n      /**\n      * @param {?} match\n      * @param {?} start\n      * @param {?} key\n      * @param {?} _type\n      * @param {?} _idx\n      * @param {?} end\n      * @return {?}\n      */\n      function (match, start, key, _type, _idx, end) {\n        return replacements.hasOwnProperty(key) ? \"\".concat(start).concat(replacements[key]).concat(end) : match;\n      });\n      /**\n       * Step 3: replace all placeholders used inside ICUs in a form of {PLACEHOLDER}\n       */\n\n      result = result.replace(PP_ICU_PLACEHOLDERS_REGEXP,\n      /**\n      * @param {?} match\n      * @param {?} key\n      * @return {?}\n      */\n      function (match, key) {\n        return replacements.hasOwnProperty(key) ?\n        /** @type {?} */\n        replacements[key] : match;\n      });\n      /**\n       * Step 4: replace all ICU references with corresponding values (like �ICU_EXP_ICU_1�) in case\n       * multiple ICUs have the same placeholder name\n       */\n\n      result = result.replace(PP_ICUS_REGEXP,\n      /**\n      * @param {?} match\n      * @param {?} key\n      * @return {?}\n      */\n      function (match, key) {\n        if (replacements.hasOwnProperty(key)) {\n          /** @type {?} */\n          var list =\n          /** @type {?} */\n          replacements[key];\n\n          if (!list.length) {\n            throw new Error(\"i18n postprocess: unmatched ICU - \".concat(match, \" with key: \").concat(key));\n          }\n\n          return (\n            /** @type {?} */\n            list.shift()\n          );\n        }\n\n        return match;\n      });\n      return result;\n    }\n    /**\n     * Translates a translation block marked by `i18nStart` and `i18nEnd`. It inserts the text/ICU nodes\n     * into the render tree, moves the placeholder nodes and removes the deleted nodes.\n     *\n     * \\@codeGenApi\n     * @return {?}\n     */\n\n\n    function ɵɵi18nEnd() {\n      /** @type {?} */\n      var tView = getLView()[TVIEW];\n      ngDevMode && assertDefined(tView, \"tView should be defined\");\n      i18nEndFirstPass(tView); // Stop delaying projections\n\n      setDelayProjection(false);\n    }\n    /**\n     * See `i18nEnd` above.\n     * @param {?} tView\n     * @return {?}\n     */\n\n\n    function i18nEndFirstPass(tView) {\n      /** @type {?} */\n      var viewData = getLView();\n      ngDevMode && assertEqual(viewData[BINDING_INDEX], viewData[TVIEW].bindingStartIndex, 'i18nEnd should be called before any binding');\n      /** @type {?} */\n\n      var rootIndex = i18nIndexStack[i18nIndexStackPointer--];\n      /** @type {?} */\n\n      var tI18n =\n      /** @type {?} */\n      tView.data[rootIndex + HEADER_OFFSET];\n      ngDevMode && assertDefined(tI18n, \"You should call i18nStart before i18nEnd\"); // Find the last node that was added before `i18nEnd`\n\n      /** @type {?} */\n\n      var lastCreatedNode = getPreviousOrParentTNode(); // Read the instructions to insert/move/remove DOM elements\n\n      /** @type {?} */\n\n      var visitedNodes = readCreateOpCodes(rootIndex, tI18n.create, tI18n.icus, viewData); // Remove deleted nodes\n\n      for (var i = rootIndex + 1; i <= lastCreatedNode.index - HEADER_OFFSET; i++) {\n        if (visitedNodes.indexOf(i) === -1) {\n          removeNode(i, viewData);\n        }\n      }\n    }\n    /**\n     * Creates and stores the dynamic TNode, and unhooks it from the tree for now.\n     * @param {?} lView\n     * @param {?} index\n     * @param {?} type\n     * @param {?} native\n     * @param {?} name\n     * @return {?}\n     */\n\n\n    function createDynamicNodeAtIndex(lView, index, type, native, name) {\n      /** @type {?} */\n      var previousOrParentTNode = getPreviousOrParentTNode();\n      ngDevMode && assertDataInRange(lView, index + HEADER_OFFSET);\n      lView[index + HEADER_OFFSET] = native;\n      /** @type {?} */\n\n      var tNode = getOrCreateTNode(lView[TVIEW], lView[T_HOST], index,\n      /** @type {?} */\n      type, name, null); // We are creating a dynamic node, the previous tNode might not be pointing at this node.\n      // We will link ourselves into the tree later with `appendI18nNode`.\n\n      if (previousOrParentTNode.next === tNode) {\n        previousOrParentTNode.next = null;\n      }\n\n      return tNode;\n    }\n    /**\n     * @param {?} index\n     * @param {?} createOpCodes\n     * @param {?} icus\n     * @param {?} viewData\n     * @return {?}\n     */\n\n\n    function readCreateOpCodes(index, createOpCodes, icus, viewData) {\n      /** @type {?} */\n      var renderer = getLView()[RENDERER];\n      /** @type {?} */\n\n      var currentTNode = null;\n      /** @type {?} */\n\n      var previousTNode = null;\n      /** @type {?} */\n\n      var visitedNodes = [];\n\n      for (var i = 0; i < createOpCodes.length; i++) {\n        /** @type {?} */\n        var opCode = createOpCodes[i];\n\n        if (typeof opCode == 'string') {\n          /** @type {?} */\n          var textRNode = createTextNode(opCode, renderer);\n          /** @type {?} */\n\n          var textNodeIndex =\n          /** @type {?} */\n          createOpCodes[++i];\n          ngDevMode && ngDevMode.rendererCreateTextNode++;\n          previousTNode = currentTNode;\n          currentTNode = createDynamicNodeAtIndex(viewData, textNodeIndex, 3\n          /* Element */\n          , textRNode, null);\n          visitedNodes.push(textNodeIndex);\n          setIsNotParent();\n        } else if (typeof opCode == 'number') {\n          switch (opCode & 7\n          /* MASK_OPCODE */\n          ) {\n            case 1\n            /* AppendChild */\n            :\n              /** @type {?} */\n              var destinationNodeIndex = opCode >>> 17\n              /* SHIFT_PARENT */\n              ;\n              /** @type {?} */\n\n              var destinationTNode = void 0;\n\n              if (destinationNodeIndex === index) {\n                // If the destination node is `i18nStart`, we don't have a\n                // top-level node and we should use the host node instead\n                destinationTNode =\n                /** @type {?} */\n                viewData[T_HOST];\n              } else {\n                destinationTNode = getTNode(destinationNodeIndex, viewData);\n              }\n\n              ngDevMode && assertDefined(\n              /** @type {?} */\n              currentTNode, \"You need to create or select a node before you can insert it into the DOM\");\n              previousTNode = appendI18nNode(\n              /** @type {?} */\n              currentTNode, destinationTNode, previousTNode, viewData);\n              break;\n\n            case 0\n            /* Select */\n            :\n              /** @type {?} */\n              var nodeIndex = opCode >>> 3\n              /* SHIFT_REF */\n              ;\n              visitedNodes.push(nodeIndex);\n              previousTNode = currentTNode;\n              currentTNode = getTNode(nodeIndex, viewData);\n\n              if (currentTNode) {\n                setPreviousOrParentTNode(currentTNode, currentTNode.type === 3\n                /* Element */\n                );\n              }\n\n              break;\n\n            case 5\n            /* ElementEnd */\n            :\n              /** @type {?} */\n              var elementIndex = opCode >>> 3\n              /* SHIFT_REF */\n              ;\n              previousTNode = currentTNode = getTNode(elementIndex, viewData);\n              setPreviousOrParentTNode(currentTNode, false);\n              break;\n\n            case 4\n            /* Attr */\n            :\n              /** @type {?} */\n              var elementNodeIndex = opCode >>> 3\n              /* SHIFT_REF */\n              ;\n              /** @type {?} */\n\n              var attrName =\n              /** @type {?} */\n              createOpCodes[++i];\n              /** @type {?} */\n\n              var attrValue =\n              /** @type {?} */\n              createOpCodes[++i]; // This code is used for ICU expressions only, since we don't support\n              // directives/components in ICUs, we don't need to worry about inputs here\n\n              elementAttributeInternal(elementNodeIndex, attrName, attrValue, viewData);\n              break;\n\n            default:\n              throw new Error(\"Unable to determine the type of mutate operation for \\\"\".concat(opCode, \"\\\"\"));\n          }\n        } else {\n          switch (opCode) {\n            case COMMENT_MARKER:\n              /** @type {?} */\n              var commentValue =\n              /** @type {?} */\n              createOpCodes[++i];\n              /** @type {?} */\n\n              var commentNodeIndex =\n              /** @type {?} */\n              createOpCodes[++i];\n              ngDevMode && assertEqual(typeof commentValue, 'string', \"Expected \\\"\".concat(commentValue, \"\\\" to be a comment node value\"));\n              /** @type {?} */\n\n              var commentRNode = renderer.createComment(commentValue);\n              ngDevMode && ngDevMode.rendererCreateComment++;\n              previousTNode = currentTNode;\n              currentTNode = createDynamicNodeAtIndex(viewData, commentNodeIndex, 5\n              /* IcuContainer */\n              , commentRNode, null);\n              visitedNodes.push(commentNodeIndex);\n              attachPatchData(commentRNode, viewData);\n\n              /** @type {?} */\n              currentTNode.activeCaseIndex = null; // We will add the case nodes later, during the update phase\n\n              setIsNotParent();\n              break;\n\n            case ELEMENT_MARKER:\n              /** @type {?} */\n              var tagNameValue =\n              /** @type {?} */\n              createOpCodes[++i];\n              /** @type {?} */\n\n              var _elementNodeIndex =\n              /** @type {?} */\n              createOpCodes[++i];\n              ngDevMode && assertEqual(typeof tagNameValue, 'string', \"Expected \\\"\".concat(tagNameValue, \"\\\" to be an element node tag name\"));\n              /** @type {?} */\n\n              var elementRNode = renderer.createElement(tagNameValue);\n              ngDevMode && ngDevMode.rendererCreateElement++;\n              previousTNode = currentTNode;\n              currentTNode = createDynamicNodeAtIndex(viewData, _elementNodeIndex, 3\n              /* Element */\n              , elementRNode, tagNameValue);\n              visitedNodes.push(_elementNodeIndex);\n              break;\n\n            default:\n              throw new Error(\"Unable to determine the type of mutate operation for \\\"\".concat(opCode, \"\\\"\"));\n          }\n        }\n      }\n\n      setIsNotParent();\n      return visitedNodes;\n    }\n    /**\n     * @param {?} updateOpCodes\n     * @param {?} icus\n     * @param {?} bindingsStartIndex\n     * @param {?} changeMask\n     * @param {?} viewData\n     * @param {?=} bypassCheckBit\n     * @return {?}\n     */\n\n\n    function readUpdateOpCodes(updateOpCodes, icus, bindingsStartIndex, changeMask, viewData) {\n      var bypassCheckBit = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : false;\n\n      /** @type {?} */\n      var caseCreated = false;\n\n      for (var i = 0; i < updateOpCodes.length; i++) {\n        // bit code to check if we should apply the next update\n\n        /** @type {?} */\n        var checkBit =\n        /** @type {?} */\n        updateOpCodes[i]; // Number of opCodes to skip until next set of update codes\n\n        /** @type {?} */\n\n        var skipCodes =\n        /** @type {?} */\n        updateOpCodes[++i];\n\n        if (bypassCheckBit || checkBit & changeMask) {\n          // The value has been updated since last checked\n\n          /** @type {?} */\n          var value = '';\n\n          for (var j = i + 1; j <= i + skipCodes; j++) {\n            /** @type {?} */\n            var opCode = updateOpCodes[j];\n\n            if (typeof opCode == 'string') {\n              value += opCode;\n            } else if (typeof opCode == 'number') {\n              if (opCode < 0) {\n                // It's a binding index whose value is negative\n                value += renderStringify(viewData[bindingsStartIndex - opCode]);\n              } else {\n                /** @type {?} */\n                var nodeIndex = opCode >>> 2\n                /* SHIFT_REF */\n                ;\n                /** @type {?} */\n\n                var tIcuIndex = void 0;\n                /** @type {?} */\n\n                var tIcu = void 0;\n                /** @type {?} */\n\n                var icuTNode = void 0;\n\n                switch (opCode & 3\n                /* MASK_OPCODE */\n                ) {\n                  case 1\n                  /* Attr */\n                  :\n                    /** @type {?} */\n                    var propName =\n                    /** @type {?} */\n                    updateOpCodes[++j];\n                    /** @type {?} */\n\n                    var sanitizeFn =\n                    /** @type {?} */\n                    updateOpCodes[++j];\n                    elementPropertyInternal(nodeIndex, propName, value, sanitizeFn);\n                    break;\n\n                  case 0\n                  /* Text */\n                  :\n                    textBindingInternal(viewData, nodeIndex, value);\n                    break;\n\n                  case 2\n                  /* IcuSwitch */\n                  :\n                    tIcuIndex =\n                    /** @type {?} */\n                    updateOpCodes[++j];\n                    tIcu =\n                    /** @type {?} */\n                    icus[tIcuIndex];\n                    icuTNode =\n                    /** @type {?} */\n                    getTNode(nodeIndex, viewData); // If there is an active case, delete the old nodes\n\n                    if (icuTNode.activeCaseIndex !== null) {\n                      /** @type {?} */\n                      var removeCodes = tIcu.remove[icuTNode.activeCaseIndex];\n\n                      for (var k = 0; k < removeCodes.length; k++) {\n                        /** @type {?} */\n                        var removeOpCode =\n                        /** @type {?} */\n                        removeCodes[k];\n\n                        switch (removeOpCode & 7\n                        /* MASK_OPCODE */\n                        ) {\n                          case 3\n                          /* Remove */\n                          :\n                            /** @type {?} */\n                            var _nodeIndex = removeOpCode >>> 3\n                            /* SHIFT_REF */\n                            ;\n\n                            removeNode(_nodeIndex, viewData);\n                            break;\n\n                          case 6\n                          /* RemoveNestedIcu */\n                          :\n                            /** @type {?} */\n                            var nestedIcuNodeIndex =\n                            /** @type {?} */\n                            removeCodes[k + 1] >>> 3\n                            /* SHIFT_REF */\n                            ;\n                            /** @type {?} */\n\n                            var nestedIcuTNode =\n                            /** @type {?} */\n                            getTNode(nestedIcuNodeIndex, viewData);\n                            /** @type {?} */\n\n                            var activeIndex = nestedIcuTNode.activeCaseIndex;\n\n                            if (activeIndex !== null) {\n                              /** @type {?} */\n                              var nestedIcuTIndex = removeOpCode >>> 3\n                              /* SHIFT_REF */\n                              ;\n                              /** @type {?} */\n\n                              var nestedTIcu =\n                              /** @type {?} */\n                              icus[nestedIcuTIndex];\n                              addAllToArray(nestedTIcu.remove[activeIndex], removeCodes);\n                            }\n\n                            break;\n                        }\n                      }\n                    } // Update the active caseIndex\n\n                    /** @type {?} */\n\n\n                    var caseIndex = getCaseIndex(tIcu, value);\n                    icuTNode.activeCaseIndex = caseIndex !== -1 ? caseIndex : null; // Add the nodes for the new case\n\n                    readCreateOpCodes(-1, tIcu.create[caseIndex], icus, viewData);\n                    caseCreated = true;\n                    break;\n\n                  case 3\n                  /* IcuUpdate */\n                  :\n                    tIcuIndex =\n                    /** @type {?} */\n                    updateOpCodes[++j];\n                    tIcu =\n                    /** @type {?} */\n                    icus[tIcuIndex];\n                    icuTNode =\n                    /** @type {?} */\n                    getTNode(nodeIndex, viewData);\n                    readUpdateOpCodes(tIcu.update[\n                    /** @type {?} */\n                    icuTNode.activeCaseIndex], icus, bindingsStartIndex, changeMask, viewData, caseCreated);\n                    break;\n                }\n              }\n            }\n          }\n        }\n\n        i += skipCodes;\n      }\n    }\n    /**\n     * @param {?} index\n     * @param {?} viewData\n     * @return {?}\n     */\n\n\n    function removeNode(index, viewData) {\n      /** @type {?} */\n      var removedPhTNode = getTNode(index, viewData);\n      /** @type {?} */\n\n      var removedPhRNode = getNativeByIndex(index, viewData);\n\n      if (removedPhRNode) {\n        nativeRemoveNode(viewData[RENDERER], removedPhRNode);\n      }\n      /** @type {?} */\n\n\n      var slotValue =\n      /** @type {?} */\n      ɵɵload(index);\n\n      if (isLContainer(slotValue)) {\n        /** @type {?} */\n        var lContainer =\n        /** @type {?} */\n        slotValue;\n\n        if (removedPhTNode.type !== 0\n        /* Container */\n        ) {\n            nativeRemoveNode(viewData[RENDERER], lContainer[NATIVE]);\n          }\n      } // Define this node as detached so that we don't risk projecting it\n\n\n      removedPhTNode.flags |= 32\n      /* isDetached */\n      ;\n      ngDevMode && ngDevMode.rendererRemoveNode++;\n    }\n    /**\n     *\n     * Use this instruction to create a translation block that doesn't contain any placeholder.\n     * It calls both {\\@link i18nStart} and {\\@link i18nEnd} in one instruction.\n     *\n     * The translation `message` is the value which is locale specific. The translation string may\n     * contain placeholders which associate inner elements and sub-templates within the translation.\n     *\n     * The translation `message` placeholders are:\n     * - `�{index}(:{block})�`: *Binding Placeholder*: Marks a location where an expression will be\n     *   interpolated into. The placeholder `index` points to the expression binding index. An optional\n     *   `block` that matches the sub-template in which it was declared.\n     * - `�#{index}(:{block})�`/`�/#{index}(:{block})�`: *Element Placeholder*:  Marks the beginning\n     *   and end of DOM element that were embedded in the original translation block. The placeholder\n     *   `index` points to the element index in the template instructions set. An optional `block` that\n     *   matches the sub-template in which it was declared.\n     * - `�*{index}:{block}�`/`�/*{index}:{block}�`: *Sub-template Placeholder*: Sub-templates must be\n     *   split up and translated separately in each angular template function. The `index` points to the\n     *   `template` instruction index. A `block` that matches the sub-template in which it was declared.\n     *\n     * \\@codeGenApi\n     * @param {?} index A unique index of the translation in the static block.\n     * @param {?} message The translation message.\n     * @param {?=} subTemplateIndex Optional sub-template index in the `message`.\n     *\n     * @return {?}\n     */\n\n\n    function ɵɵi18n(index, message, subTemplateIndex) {\n      ɵɵi18nStart(index, message, subTemplateIndex);\n      ɵɵi18nEnd();\n    }\n    /**\n     * Marks a list of attributes as translatable.\n     *\n     * \\@codeGenApi\n     * @param {?} index A unique index in the static block\n     * @param {?} values\n     *\n     * @return {?}\n     */\n\n\n    function ɵɵi18nAttributes(index, values) {\n      /** @type {?} */\n      var tView = getLView()[TVIEW];\n      ngDevMode && assertDefined(tView, \"tView should be defined\");\n      i18nAttributesFirstPass(tView, index, values);\n    }\n    /**\n     * See `i18nAttributes` above.\n     * @param {?} tView\n     * @param {?} index\n     * @param {?} values\n     * @return {?}\n     */\n\n\n    function i18nAttributesFirstPass(tView, index, values) {\n      /** @type {?} */\n      var previousElement = getPreviousOrParentTNode();\n      /** @type {?} */\n\n      var previousElementIndex = previousElement.index - HEADER_OFFSET;\n      /** @type {?} */\n\n      var updateOpCodes = [];\n\n      for (var i = 0; i < values.length; i += 2) {\n        /** @type {?} */\n        var attrName = values[i];\n        /** @type {?} */\n\n        var message = values[i + 1];\n        /** @type {?} */\n\n        var parts = message.split(ICU_REGEXP);\n\n        for (var j = 0; j < parts.length; j++) {\n          /** @type {?} */\n          var value = parts[j];\n\n          if (j & 1) {\n            // Odd indexes are ICU expressions\n            // TODO(ocombe): support ICU expressions in attributes\n            throw new Error('ICU expressions are not yet supported in attributes');\n          } else if (value !== '') {\n            // Even indexes are text (including bindings)\n\n            /** @type {?} */\n            var hasBinding = !!value.match(BINDING_REGEXP);\n\n            if (hasBinding) {\n              if (tView.firstTemplatePass && tView.data[index + HEADER_OFFSET] === null) {\n                addAllToArray(generateBindingUpdateOpCodes(value, previousElementIndex, attrName), updateOpCodes);\n              }\n            } else {\n              /** @type {?} */\n              var _lView8 = getLView();\n\n              elementAttributeInternal(previousElementIndex, attrName, value, _lView8); // Check if that attribute is a directive input\n\n              /** @type {?} */\n\n              var tNode = getTNode(previousElementIndex, _lView8);\n              /** @type {?} */\n\n              var dataValue = tNode.inputs && tNode.inputs[attrName];\n\n              if (dataValue) {\n                setInputsForProperty(_lView8, dataValue, value);\n              }\n            }\n          }\n        }\n      }\n\n      if (tView.firstTemplatePass && tView.data[index + HEADER_OFFSET] === null) {\n        tView.data[index + HEADER_OFFSET] = updateOpCodes;\n      }\n    }\n    /** @type {?} */\n\n\n    var changeMask = 0;\n    /** @type {?} */\n\n    var shiftsCounter = 0;\n    /**\n     * Stores the values of the bindings during each update cycle in order to determine if we need to\n     * update the translated nodes.\n     *\n     * \\@codeGenApi\n     * @template T\n     * @param {?} value The binding's value\n     * @return {?} This function returns itself so that it may be chained\n     * (e.g. `i18nExp(ctx.name)(ctx.title)`)\n     *\n     */\n\n    function ɵɵi18nExp(value) {\n      /** @type {?} */\n      var lView = getLView();\n      /** @type {?} */\n\n      var expression = bind(lView, value);\n\n      if (expression !== NO_CHANGE) {\n        changeMask = changeMask | 1 << shiftsCounter;\n      }\n\n      shiftsCounter++;\n      return ɵɵi18nExp;\n    }\n    /**\n     * Updates a translation block or an i18n attribute when the bindings have changed.\n     *\n     * \\@codeGenApi\n     * @param {?} index Index of either {\\@link i18nStart} (translation block) or {\\@link i18nAttributes}\n     * (i18n attribute) on which it should update the content.\n     *\n     * @return {?}\n     */\n\n\n    function ɵɵi18nApply(index) {\n      if (shiftsCounter) {\n        /** @type {?} */\n        var _lView9 = getLView();\n        /** @type {?} */\n\n\n        var tView = _lView9[TVIEW];\n        ngDevMode && assertDefined(tView, \"tView should be defined\");\n        /** @type {?} */\n\n        var tI18n = tView.data[index + HEADER_OFFSET];\n        /** @type {?} */\n\n        var updateOpCodes;\n        /** @type {?} */\n\n        var icus = null;\n\n        if (Array.isArray(tI18n)) {\n          updateOpCodes =\n          /** @type {?} */\n          tI18n;\n        } else {\n          updateOpCodes =\n          /** @type {?} */\n          tI18n.update;\n          icus =\n          /** @type {?} */\n          tI18n.icus;\n        }\n        /** @type {?} */\n\n\n        var bindingsStartIndex = _lView9[BINDING_INDEX] - shiftsCounter - 1;\n        readUpdateOpCodes(updateOpCodes, icus, bindingsStartIndex, changeMask, _lView9); // Reset changeMask & maskBit to default for the next update cycle\n\n        changeMask = 0;\n        shiftsCounter = 0;\n      }\n    }\n    /**\n     * Returns the index of the current case of an ICU expression depending on the main binding value\n     *\n     * @param {?} icuExpression\n     * @param {?} bindingValue The value of the main binding used by this ICU expression\n     * @return {?}\n     */\n\n\n    function getCaseIndex(icuExpression, bindingValue) {\n      /** @type {?} */\n      var index = icuExpression.cases.indexOf(bindingValue);\n\n      if (index === -1) {\n        switch (icuExpression.type) {\n          case 1\n          /* plural */\n          :\n            {\n              /** @type {?} */\n              var resolvedCase = getPluralCase(bindingValue, getLocaleId());\n              index = icuExpression.cases.indexOf(resolvedCase);\n\n              if (index === -1 && resolvedCase !== 'other') {\n                index = icuExpression.cases.indexOf('other');\n              }\n\n              break;\n            }\n\n          case 0\n          /* select */\n          :\n            {\n              index = icuExpression.cases.indexOf('other');\n              break;\n            }\n        }\n      }\n\n      return index;\n    }\n    /**\n     * Generate the OpCodes for ICU expressions.\n     *\n     * @param {?} tIcus\n     * @param {?} icuExpression\n     * @param {?} startIndex\n     * @param {?} expandoStartIndex\n     * @return {?}\n     */\n\n\n    function icuStart(tIcus, icuExpression, startIndex, expandoStartIndex) {\n      /** @type {?} */\n      var createCodes = [];\n      /** @type {?} */\n\n      var removeCodes = [];\n      /** @type {?} */\n\n      var updateCodes = [];\n      /** @type {?} */\n\n      var vars = [];\n      /** @type {?} */\n\n      var childIcus = [];\n\n      for (var i = 0; i < icuExpression.values.length; i++) {\n        // Each value is an array of strings & other ICU expressions\n\n        /** @type {?} */\n        var valueArr = icuExpression.values[i];\n        /** @type {?} */\n\n        var nestedIcus = [];\n\n        for (var j = 0; j < valueArr.length; j++) {\n          /** @type {?} */\n          var value = valueArr[j];\n\n          if (typeof value !== 'string') {\n            // It is an nested ICU expression\n\n            /** @type {?} */\n            var icuIndex = nestedIcus.push(\n            /** @type {?} */\n            value) - 1; // Replace nested ICU expression by a comment node\n\n            valueArr[j] = \"<!--\\uFFFD\".concat(icuIndex, \"\\uFFFD-->\");\n          }\n        }\n        /** @type {?} */\n\n\n        var icuCase = parseIcuCase(valueArr.join(''), startIndex, nestedIcus, tIcus, expandoStartIndex);\n        createCodes.push(icuCase.create);\n        removeCodes.push(icuCase.remove);\n        updateCodes.push(icuCase.update);\n        vars.push(icuCase.vars);\n        childIcus.push(icuCase.childIcus);\n      }\n      /** @type {?} */\n\n\n      var tIcu = {\n        type: icuExpression.type,\n        vars: vars,\n        childIcus: childIcus,\n        cases: icuExpression.cases,\n        create: createCodes,\n        remove: removeCodes,\n        update: updateCodes\n      };\n      tIcus.push(tIcu); // Adding the maximum possible of vars needed (based on the cases with the most vars)\n\n      i18nVarsCount += Math.max.apply(Math, vars);\n    }\n    /**\n     * Transforms a string template into an HTML template and a list of instructions used to update\n     * attributes or nodes that contain bindings.\n     *\n     * @param {?} unsafeHtml The string to parse\n     * @param {?} parentIndex\n     * @param {?} nestedIcus\n     * @param {?} tIcus\n     * @param {?} expandoStartIndex\n     * @return {?}\n     */\n\n\n    function parseIcuCase(unsafeHtml, parentIndex, nestedIcus, tIcus, expandoStartIndex) {\n      /** @type {?} */\n      var inertBodyHelper = new InertBodyHelper(document);\n      /** @type {?} */\n\n      var inertBodyElement = inertBodyHelper.getInertBodyElement(unsafeHtml);\n\n      if (!inertBodyElement) {\n        throw new Error('Unable to generate inert body element');\n      }\n      /** @type {?} */\n\n\n      var wrapper =\n      /** @type {?} */\n      getTemplateContent(\n      /** @type {?} */\n      inertBodyElement) || inertBodyElement;\n      /** @type {?} */\n\n      var opCodes = {\n        vars: 0,\n        childIcus: [],\n        create: [],\n        remove: [],\n        update: []\n      };\n      parseNodes(wrapper.firstChild, opCodes, parentIndex, nestedIcus, tIcus, expandoStartIndex);\n      return opCodes;\n    }\n    /** @type {?} */\n\n\n    var NESTED_ICU = /�(\\d+)�/;\n    /**\n     * Parses a node, its children and its siblings, and generates the mutate & update OpCodes.\n     *\n     * @param {?} currentNode The first node to parse\n     * @param {?} icuCase The data for the ICU expression case that contains those nodes\n     * @param {?} parentIndex Index of the current node's parent\n     * @param {?} nestedIcus Data for the nested ICU expressions that this case contains\n     * @param {?} tIcus Data for all ICU expressions of the current message\n     * @param {?} expandoStartIndex Expando start index for the current ICU expression\n     * @return {?}\n     */\n\n    function parseNodes(currentNode, icuCase, parentIndex, nestedIcus, tIcus, expandoStartIndex) {\n      if (currentNode) {\n        /** @type {?} */\n        var nestedIcusToCreate = [];\n\n        while (currentNode) {\n          /** @type {?} */\n          var nextNode = currentNode.nextSibling;\n          /** @type {?} */\n\n          var newIndex = expandoStartIndex + ++icuCase.vars;\n\n          switch (currentNode.nodeType) {\n            case Node.ELEMENT_NODE:\n              /** @type {?} */\n              var element =\n              /** @type {?} */\n              currentNode;\n              /** @type {?} */\n\n              var tagName = element.tagName.toLowerCase();\n\n              if (!VALID_ELEMENTS.hasOwnProperty(tagName)) {\n                // This isn't a valid element, we won't create an element for it\n                icuCase.vars--;\n              } else {\n                icuCase.create.push(ELEMENT_MARKER, tagName, newIndex, parentIndex << 17\n                /* SHIFT_PARENT */\n                | 1\n                /* AppendChild */\n                );\n                /** @type {?} */\n\n                var elAttrs = element.attributes;\n\n                for (var i = 0; i < elAttrs.length; i++) {\n                  /** @type {?} */\n                  var attr =\n                  /** @type {?} */\n                  elAttrs.item(i);\n                  /** @type {?} */\n\n                  var lowerAttrName = attr.name.toLowerCase();\n                  /** @type {?} */\n\n                  var _hasBinding = !!attr.value.match(BINDING_REGEXP); // we assume the input string is safe, unless it's using a binding\n\n\n                  if (_hasBinding) {\n                    if (VALID_ATTRS.hasOwnProperty(lowerAttrName)) {\n                      if (URI_ATTRS[lowerAttrName]) {\n                        addAllToArray(generateBindingUpdateOpCodes(attr.value, newIndex, attr.name, _sanitizeUrl), icuCase.update);\n                      } else if (SRCSET_ATTRS[lowerAttrName]) {\n                        addAllToArray(generateBindingUpdateOpCodes(attr.value, newIndex, attr.name, sanitizeSrcset), icuCase.update);\n                      } else {\n                        addAllToArray(generateBindingUpdateOpCodes(attr.value, newIndex, attr.name), icuCase.update);\n                      }\n                    } else {\n                      ngDevMode && console.warn(\"WARNING: ignoring unsafe attribute value \".concat(lowerAttrName, \" on element \").concat(tagName, \" (see http://g.co/ng/security#xss)\"));\n                    }\n                  } else {\n                    icuCase.create.push(newIndex << 3\n                    /* SHIFT_REF */\n                    | 4\n                    /* Attr */\n                    , attr.name, attr.value);\n                  }\n                } // Parse the children of this node (if any)\n\n\n                parseNodes(currentNode.firstChild, icuCase, newIndex, nestedIcus, tIcus, expandoStartIndex); // Remove the parent node after the children\n\n                icuCase.remove.push(newIndex << 3\n                /* SHIFT_REF */\n                | 3\n                /* Remove */\n                );\n              }\n\n              break;\n\n            case Node.TEXT_NODE:\n              /** @type {?} */\n              var value = currentNode.textContent || '';\n              /** @type {?} */\n\n              var hasBinding = value.match(BINDING_REGEXP);\n              icuCase.create.push(hasBinding ? '' : value, newIndex, parentIndex << 17\n              /* SHIFT_PARENT */\n              | 1\n              /* AppendChild */\n              );\n              icuCase.remove.push(newIndex << 3\n              /* SHIFT_REF */\n              | 3\n              /* Remove */\n              );\n\n              if (hasBinding) {\n                addAllToArray(generateBindingUpdateOpCodes(value, newIndex), icuCase.update);\n              }\n\n              break;\n\n            case Node.COMMENT_NODE:\n              // Check if the comment node is a placeholder for a nested ICU\n\n              /** @type {?} */\n              var match = NESTED_ICU.exec(currentNode.textContent || '');\n\n              if (match) {\n                /** @type {?} */\n                var nestedIcuIndex = parseInt(match[1], 10);\n                /** @type {?} */\n\n                var newLocal = ngDevMode ? \"nested ICU \".concat(nestedIcuIndex) : ''; // Create the comment node that will anchor the ICU expression\n\n                icuCase.create.push(COMMENT_MARKER, newLocal, newIndex, parentIndex << 17\n                /* SHIFT_PARENT */\n                | 1\n                /* AppendChild */\n                );\n                /** @type {?} */\n\n                var nestedIcu = nestedIcus[nestedIcuIndex];\n                nestedIcusToCreate.push([nestedIcu, newIndex]);\n              } else {\n                // We do not handle any other type of comment\n                icuCase.vars--;\n              }\n\n              break;\n\n            default:\n              // We do not handle any other type of element\n              icuCase.vars--;\n          }\n\n          currentNode =\n          /** @type {?} */\n          nextNode;\n        }\n\n        for (var _i26 = 0; _i26 < nestedIcusToCreate.length; _i26++) {\n          /** @type {?} */\n          var _nestedIcu = nestedIcusToCreate[_i26][0];\n          /** @type {?} */\n\n          var nestedIcuNodeIndex = nestedIcusToCreate[_i26][1];\n          icuStart(tIcus, _nestedIcu, nestedIcuNodeIndex, expandoStartIndex + icuCase.vars); // Since this is recursive, the last TIcu that was pushed is the one we want\n\n          /** @type {?} */\n\n          var nestTIcuIndex = tIcus.length - 1;\n          icuCase.vars += Math.max.apply(Math, _toConsumableArray(tIcus[nestTIcuIndex].vars));\n          icuCase.childIcus.push(nestTIcuIndex);\n          /** @type {?} */\n\n          var mask = getBindingMask(_nestedIcu);\n          icuCase.update.push(toMaskBit(_nestedIcu.mainBinding), // mask of the main binding\n          3, // skip 3 opCodes if not changed\n          -1 - _nestedIcu.mainBinding, nestedIcuNodeIndex << 2\n          /* SHIFT_REF */\n          | 2\n          /* IcuSwitch */\n          , nestTIcuIndex, mask, // mask of all the bindings of this ICU expression\n          2, // skip 2 opCodes if not changed\n          nestedIcuNodeIndex << 2\n          /* SHIFT_REF */\n          | 3\n          /* IcuUpdate */\n          , nestTIcuIndex);\n          icuCase.remove.push(nestTIcuIndex << 3\n          /* SHIFT_REF */\n          | 6\n          /* RemoveNestedIcu */\n          , nestedIcuNodeIndex << 3\n          /* SHIFT_REF */\n          | 3\n          /* Remove */\n          );\n        }\n      }\n    }\n    /**\n     * Angular Dart introduced &ngsp; as a placeholder for non-removable space, see:\n     * https://github.com/dart-lang/angular/blob/0bb611387d29d65b5af7f9d2515ab571fd3fbee4/_tests/test/compiler/preserve_whitespace_test.dart#L25-L32\n     * In Angular Dart &ngsp; is converted to the 0xE500 PUA (Private Use Areas) unicode character\n     * and later on replaced by a space. We are re-implementing the same idea here, since translations\n     * might contain this special character.\n     * @type {?}\n     */\n\n\n    var NGSP_UNICODE_REGEXP = /\\uE500/g;\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n\n    function replaceNgsp(value) {\n      return value.replace(NGSP_UNICODE_REGEXP, ' ');\n    }\n    /** @type {?} */\n\n\n    var TRANSLATIONS = {};\n    /**\n     * @record\n     */\n\n    function I18nLocalizeOptions() {}\n\n    if (false) {}\n    /**\n     * Set the configuration for `i18nLocalize`.\n     *\n     * @deprecated this method is temporary & should not be used as it will be removed soon\n     * @param {?=} options\n     * @return {?}\n     */\n\n\n    function i18nConfigureLocalize() {\n      var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {\n        translations: {}\n      };\n      TRANSLATIONS = options.translations;\n    }\n    /** @type {?} */\n\n\n    var LOCALIZE_PH_REGEXP = /\\{\\$(.*?)\\}/g;\n    /**\n     * A goog.getMsg-like function for users that do not use Closure.\n     *\n     * This method is required as a *temporary* measure to prevent i18n tests from being blocked while\n     * running outside of Closure Compiler. This method will not be needed once runtime translation\n     * service support is introduced.\n     *\n     * \\@codeGenApi\n     * @deprecated this method is temporary & should not be used as it will be removed soon\n     * @param {?} input\n     * @param {?=} placeholders\n     * @return {?}\n     */\n\n    function ɵɵi18nLocalize(input, placeholders) {\n      if (typeof TRANSLATIONS[input] !== 'undefined') {\n        // to account for empty string\n        input = TRANSLATIONS[input];\n      }\n\n      if (placeholders !== undefined && Object.keys(placeholders).length) {\n        return input.replace(LOCALIZE_PH_REGEXP,\n        /**\n        * @param {?} _\n        * @param {?} key\n        * @return {?}\n        */\n        function (_, key) {\n          return placeholders[key] || '';\n        });\n      }\n\n      return input;\n    }\n    /**\n     * The locale id that the application is currently using (for translations and ICU expressions).\n     * This is the ivy version of `LOCALE_ID` that was defined as an injection token for the view engine\n     * but is now defined as a global value.\n     * @type {?}\n     */\n\n\n    var LOCALE_ID = DEFAULT_LOCALE_ID;\n    /**\n     * Sets the locale id that will be used for translations and ICU expressions.\n     * This is the ivy version of `LOCALE_ID` that was defined as an injection token for the view engine\n     * but is now defined as a global value.\n     *\n     * @param {?} localeId\n     * @return {?}\n     */\n\n    function setLocaleId(localeId) {\n      assertDefined(localeId, \"Expected localeId to be defined\");\n\n      if (typeof localeId === 'string') {\n        LOCALE_ID = localeId.toLowerCase().replace(/_/g, '-');\n      }\n    }\n    /**\n     * Gets the locale id that will be used for translations and ICU expressions.\n     * This is the ivy version of `LOCALE_ID` that was defined as an injection token for the view engine\n     * but is now defined as a global value.\n     * @return {?}\n     */\n\n\n    function getLocaleId() {\n      return LOCALE_ID;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Map of module-id to the corresponding NgModule.\n     * - In pre Ivy we track NgModuleFactory,\n     * - In post Ivy we track the NgModuleType\n     * @type {?}\n     */\n\n\n    var modules = new Map();\n    /**\n     * Registers a loaded module. Should only be called from generated NgModuleFactory code.\n     * \\@publicApi\n     * @param {?} id\n     * @param {?} factory\n     * @return {?}\n     */\n\n    function registerModuleFactory(id, factory) {\n      /** @type {?} */\n      var existing =\n      /** @type {?} */\n      modules.get(id);\n      assertSameOrNotExisting(id, existing && existing.moduleType, factory.moduleType);\n      modules.set(id, factory);\n    }\n    /**\n     * @param {?} id\n     * @param {?} type\n     * @param {?} incoming\n     * @return {?}\n     */\n\n\n    function assertSameOrNotExisting(id, type, incoming) {\n      if (type && type !== incoming) {\n        throw new Error(\"Duplicate module registered for \".concat(id, \" - \").concat(stringify(type), \" vs \").concat(stringify(type.name)));\n      }\n    }\n    /**\n     * @param {?} ngModuleType\n     * @return {?}\n     */\n\n\n    function registerNgModuleType(ngModuleType) {\n      if (ngModuleType.ngModuleDef.id !== null) {\n        /** @type {?} */\n        var id = ngModuleType.ngModuleDef.id;\n        /** @type {?} */\n\n        var existing =\n        /** @type {?} */\n        modules.get(id);\n        assertSameOrNotExisting(id, existing, ngModuleType);\n        modules.set(id, ngModuleType);\n      }\n      /** @type {?} */\n\n\n      var imports = ngModuleType.ngModuleDef.imports;\n\n      if (imports instanceof Function) {\n        imports = imports();\n      }\n\n      if (imports) {\n        imports.forEach(\n        /**\n        * @param {?} i\n        * @return {?}\n        */\n        function (i) {\n          return registerNgModuleType(\n          /** @type {?} */\n          i);\n        });\n      }\n    }\n    /**\n     * @return {?}\n     */\n\n\n    function clearModulesForTest() {\n      modules.clear();\n    }\n    /**\n     * @param {?} id\n     * @return {?}\n     */\n\n\n    function getRegisteredNgModuleType(id) {\n      return modules.get(id);\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @record\n     * @template T\n     */\n\n\n    function NgModuleType() {}\n\n    if (false) {}\n    /** @type {?} */\n\n\n    var COMPONENT_FACTORY_RESOLVER = {\n      provide: ComponentFactoryResolver,\n      useClass: ComponentFactoryResolver$1,\n      deps: [NgModuleRef]\n    };\n    /**\n     * @template T\n     */\n\n    var NgModuleRef$1 =\n    /*#__PURE__*/\n    function (_NgModuleRef) {\n      _inherits(NgModuleRef$1, _NgModuleRef);\n\n      /**\n       * @param {?} ngModuleType\n       * @param {?} _parent\n       */\n      function NgModuleRef$1(ngModuleType, _parent) {\n        var _this456;\n\n        _classCallCheck(this, NgModuleRef$1);\n\n        _this456 = _possibleConstructorReturn(this, _getPrototypeOf(NgModuleRef$1).call(this));\n        _this456._parent = _parent; // tslint:disable-next-line:require-internal-with-underscore\n\n        _this456._bootstrapComponents = [];\n        _this456.injector = _assertThisInitialized(_this456);\n        _this456.destroyCbs = [];\n        /** @type {?} */\n\n        /** @nocollapse */\n\n        var ngModuleDef = getNgModuleDef(ngModuleType);\n        ngDevMode && assertDefined(ngModuleDef, \"NgModule '\".concat(stringify(ngModuleType), \"' is not a subtype of 'NgModuleType'.\"));\n        /** @type {?} */\n\n        var ngLocaleIdDef = getNgLocaleIdDef(ngModuleType);\n\n        if (ngLocaleIdDef) {\n          setLocaleId(ngLocaleIdDef);\n        }\n\n        _this456._bootstrapComponents = maybeUnwrapFn(\n        /** @type {?} */\n        ngModuleDef.bootstrap);\n        /** @type {?} */\n\n        var additionalProviders = [{\n          provide: NgModuleRef,\n          useValue: _assertThisInitialized(_this456)\n        }, COMPONENT_FACTORY_RESOLVER];\n        _this456._r3Injector =\n        /** @type {?} */\n        createInjector(ngModuleType, _parent, additionalProviders, stringify(ngModuleType));\n        _this456.instance = _this456.get(ngModuleType);\n        return _this456;\n      }\n      /**\n       * @param {?} token\n       * @param {?=} notFoundValue\n       * @param {?=} injectFlags\n       * @return {?}\n       */\n\n\n      _createClass2(NgModuleRef$1, [{\n        key: \"get\",\n        value: function get(token) {\n          var notFoundValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : Injector.THROW_IF_NOT_FOUND;\n          var injectFlags = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : InjectFlags.Default;\n\n          if (token === Injector || token === NgModuleRef || token === INJECTOR) {\n            return this;\n          }\n\n          return this._r3Injector.get(token, notFoundValue, injectFlags);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"destroy\",\n\n        /**\n         * @return {?}\n         */\n        value: function destroy() {\n          ngDevMode && assertDefined(this.destroyCbs, 'NgModule already destroyed');\n          /** @type {?} */\n\n          var injector = this._r3Injector;\n          !injector.destroyed && injector.destroy();\n\n          /** @type {?} */\n          this.destroyCbs.forEach(\n          /**\n          * @param {?} fn\n          * @return {?}\n          */\n          function (fn) {\n            return fn();\n          });\n          this.destroyCbs = null;\n        }\n        /**\n         * @param {?} callback\n         * @return {?}\n         */\n\n      }, {\n        key: \"onDestroy\",\n        value: function onDestroy(callback) {\n          ngDevMode && assertDefined(this.destroyCbs, 'NgModule already destroyed');\n\n          /** @type {?} */\n          this.destroyCbs.push(callback);\n        }\n      }, {\n        key: \"componentFactoryResolver\",\n        get: function get() {\n          return this.get(ComponentFactoryResolver);\n        }\n      }]);\n\n      return NgModuleRef$1;\n    }(NgModuleRef);\n\n    if (false) {}\n    /**\n     * @template T\n     */\n\n\n    var NgModuleFactory$1 =\n    /*#__PURE__*/\n    function (_NgModuleFactory) {\n      _inherits(NgModuleFactory$1, _NgModuleFactory);\n\n      /**\n       * @param {?} moduleType\n       */\n      function NgModuleFactory$1(moduleType) {\n        var _this457;\n\n        _classCallCheck(this, NgModuleFactory$1);\n\n        _this457 = _possibleConstructorReturn(this, _getPrototypeOf(NgModuleFactory$1).call(this));\n        _this457.moduleType = moduleType;\n        /** @type {?} */\n\n        /** @nocollapse */\n\n        var ngModuleDef = getNgModuleDef(moduleType);\n\n        if (ngModuleDef !== null) {\n          // Register the NgModule with Angular's module registry. The location (and hence timing) of\n          // this call is critical to ensure this works correctly (modules get registered when expected)\n          // without bloating bundles (modules are registered when otherwise not referenced).\n          //\n          // In View Engine, registration occurs in the .ngfactory.js file as a side effect. This has\n          // several practical consequences:\n          //\n          // - If an .ngfactory file is not imported from, the module won't be registered (and can be\n          //   tree shaken).\n          // - If an .ngfactory file is imported from, the module will be registered even if an instance\n          //   is not actually created (via `create` below).\n          // - Since an .ngfactory file in View Engine references the .ngfactory files of the NgModule's\n          //   imports,\n          //\n          // In Ivy, things are a bit different. .ngfactory files still exist for compatibility, but are\n          // not a required API to use - there are other ways to obtain an NgModuleFactory for a given\n          // NgModule. Thus, relying on a side effect in the .ngfactory file is not sufficient. Instead,\n          // the side effect of registration is added here, in the constructor of NgModuleFactory,\n          // ensuring no matter how a factory is created, the module is registered correctly.\n          //\n          // An alternative would be to include the registration side effect inline following the actual\n          // NgModule definition. This also has the correct timing, but breaks tree-shaking - modules\n          // will be registered and retained even if they're otherwise never referenced.\n          registerNgModuleType(\n          /** @type {?} */\n          moduleType);\n        }\n\n        return _this457;\n      }\n      /**\n       * @param {?} parentInjector\n       * @return {?}\n       */\n\n\n      _createClass2(NgModuleFactory$1, [{\n        key: \"create\",\n        value: function create(parentInjector) {\n          return new NgModuleRef$1(this.moduleType, parentInjector);\n        }\n      }]);\n\n      return NgModuleFactory$1;\n    }(NgModuleFactory);\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @record\n     */\n\n\n    function TypeWithMetadata() {}\n\n    if (false) {}\n    /**\n     * Adds decorator, constructor, and property metadata to a given type via static metadata fields\n     * on the type.\n     *\n     * These metadata fields can later be read with Angular's `ReflectionCapabilities` API.\n     *\n     * Calls to `setClassMetadata` can be marked as pure, resulting in the metadata assignments being\n     * tree-shaken away during production builds.\n     * @param {?} type\n     * @param {?} decorators\n     * @param {?} ctorParameters\n     * @param {?} propDecorators\n     * @return {?}\n     */\n\n\n    function setClassMetadata(type, decorators, ctorParameters, propDecorators) {\n      return (\n        /** @type {?} */\n        noSideEffects(\n        /**\n        * @return {?}\n        */\n        function () {\n          /** @type {?} */\n          var clazz =\n          /** @type {?} */\n          type; // We determine whether a class has its own metadata by taking the metadata from the parent\n          // constructor and checking whether it's the same as the subclass metadata below. We can't use\n          // `hasOwnProperty` here because it doesn't work correctly in IE10 for static fields that are\n          // defined by TS. See https://github.com/angular/angular/pull/28439#issuecomment-459349218.\n\n          /** @type {?} */\n\n          var parentPrototype = clazz.prototype ? Object.getPrototypeOf(clazz.prototype) : null;\n          /** @type {?} */\n\n          var parentConstructor = parentPrototype && parentPrototype.constructor;\n\n          if (decorators !== null) {\n            if (clazz.decorators !== undefined && (!parentConstructor || parentConstructor.decorators !== clazz.decorators)) {\n              var _clazz$decorators;\n\n              (_clazz$decorators = clazz.decorators).push.apply(_clazz$decorators, _toConsumableArray(decorators));\n            } else {\n              clazz.decorators = decorators;\n            }\n          }\n\n          if (ctorParameters !== null) {\n            // Rather than merging, clobber the existing parameters. If other projects exist which use\n            // tsickle-style annotations and reflect over them in the same way, this could cause issues,\n            // but that is vanishingly unlikely.\n            clazz.ctorParameters = ctorParameters;\n          }\n\n          if (propDecorators !== null) {\n            // The property decorator objects are merged as it is possible different fields have different\n            // decorator types. Decorators on individual fields are not merged, as it's also incredibly\n            // unlikely that a field will be decorated both with an Angular decorator and a non-Angular\n            // decorator that's also been downleveled.\n            if (clazz.propDecorators !== undefined && (!parentConstructor || parentConstructor.propDecorators !== clazz.propDecorators)) {\n              clazz.propDecorators = Object.assign({}, clazz.propDecorators, propDecorators);\n            } else {\n              clazz.propDecorators = propDecorators;\n            }\n          }\n        })\n      );\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Bindings for pure functions are stored after regular bindings.\n     *\n     * |------consts------|---------vars---------|                 |----- hostVars (dir1) ------|\n     * ------------------------------------------------------------------------------------------\n     * | nodes/refs/pipes | bindings | fn slots  | injector | dir1 | host bindings | host slots |\n     * ------------------------------------------------------------------------------------------\n     *                    ^                      ^\n     *      TView.bindingStartIndex      TView.expandoStartIndex\n     *\n     * Pure function instructions are given an offset from the binding root. Adding the offset to the\n     * binding root gives the first index where the bindings are stored. In component views, the binding\n     * root is the bindingStartIndex. In host bindings, the binding root is the expandoStartIndex +\n     * any directive instances + any hostVars in directives evaluated before it.\n     *\n     * See VIEW_DATA.md for more information about host binding resolution.\n     */\n\n    /**\n     * If the value hasn't been saved, calls the pure function to store and return the\n     * value. If it has been saved, returns the saved value.\n     *\n     * \\@codeGenApi\n     * @template T\n     * @param {?} slotOffset the offset from binding root to the reserved slot\n     * @param {?} pureFn Function that returns a value\n     * @param {?=} thisArg Optional calling context of pureFn\n     * @return {?} value\n     *\n     */\n\n\n    function ɵɵpureFunction0(slotOffset, pureFn, thisArg) {\n      // TODO(kara): use bindingRoot instead of bindingStartIndex when implementing host bindings\n\n      /** @type {?} */\n      var bindingIndex = getBindingRoot() + slotOffset;\n      /** @type {?} */\n\n      var lView = getLView();\n      return isCreationMode() ? updateBinding(lView, bindingIndex, thisArg ? pureFn.call(thisArg) : pureFn()) : getBinding(lView, bindingIndex);\n    }\n    /**\n     * If the value of the provided exp has changed, calls the pure function to return\n     * an updated value. Or if the value has not changed, returns cached value.\n     *\n     * \\@codeGenApi\n     * @param {?} slotOffset the offset from binding root to the reserved slot\n     * @param {?} pureFn Function that returns an updated value\n     * @param {?} exp Updated expression value\n     * @param {?=} thisArg Optional calling context of pureFn\n     * @return {?} Updated or cached value\n     *\n     */\n\n\n    function ɵɵpureFunction1(slotOffset, pureFn, exp, thisArg) {\n      // TODO(kara): use bindingRoot instead of bindingStartIndex when implementing host bindings\n\n      /** @type {?} */\n      var lView = getLView();\n      /** @type {?} */\n\n      var bindingIndex = getBindingRoot() + slotOffset;\n      return bindingUpdated(lView, bindingIndex, exp) ? updateBinding(lView, bindingIndex + 1, thisArg ? pureFn.call(thisArg, exp) : pureFn(exp)) : getBinding(lView, bindingIndex + 1);\n    }\n    /**\n     * If the value of any provided exp has changed, calls the pure function to return\n     * an updated value. Or if no values have changed, returns cached value.\n     *\n     * \\@codeGenApi\n     * @param {?} slotOffset the offset from binding root to the reserved slot\n     * @param {?} pureFn\n     * @param {?} exp1\n     * @param {?} exp2\n     * @param {?=} thisArg Optional calling context of pureFn\n     * @return {?} Updated or cached value\n     *\n     */\n\n\n    function ɵɵpureFunction2(slotOffset, pureFn, exp1, exp2, thisArg) {\n      // TODO(kara): use bindingRoot instead of bindingStartIndex when implementing host bindings\n\n      /** @type {?} */\n      var bindingIndex = getBindingRoot() + slotOffset;\n      /** @type {?} */\n\n      var lView = getLView();\n      return bindingUpdated2(lView, bindingIndex, exp1, exp2) ? updateBinding(lView, bindingIndex + 2, thisArg ? pureFn.call(thisArg, exp1, exp2) : pureFn(exp1, exp2)) : getBinding(lView, bindingIndex + 2);\n    }\n    /**\n     * If the value of any provided exp has changed, calls the pure function to return\n     * an updated value. Or if no values have changed, returns cached value.\n     *\n     * \\@codeGenApi\n     * @param {?} slotOffset the offset from binding root to the reserved slot\n     * @param {?} pureFn\n     * @param {?} exp1\n     * @param {?} exp2\n     * @param {?} exp3\n     * @param {?=} thisArg Optional calling context of pureFn\n     * @return {?} Updated or cached value\n     *\n     */\n\n\n    function ɵɵpureFunction3(slotOffset, pureFn, exp1, exp2, exp3, thisArg) {\n      // TODO(kara): use bindingRoot instead of bindingStartIndex when implementing host bindings\n\n      /** @type {?} */\n      var bindingIndex = getBindingRoot() + slotOffset;\n      /** @type {?} */\n\n      var lView = getLView();\n      return bindingUpdated3(lView, bindingIndex, exp1, exp2, exp3) ? updateBinding(lView, bindingIndex + 3, thisArg ? pureFn.call(thisArg, exp1, exp2, exp3) : pureFn(exp1, exp2, exp3)) : getBinding(lView, bindingIndex + 3);\n    }\n    /**\n     * If the value of any provided exp has changed, calls the pure function to return\n     * an updated value. Or if no values have changed, returns cached value.\n     *\n     * \\@codeGenApi\n     * @param {?} slotOffset the offset from binding root to the reserved slot\n     * @param {?} pureFn\n     * @param {?} exp1\n     * @param {?} exp2\n     * @param {?} exp3\n     * @param {?} exp4\n     * @param {?=} thisArg Optional calling context of pureFn\n     * @return {?} Updated or cached value\n     *\n     */\n\n\n    function ɵɵpureFunction4(slotOffset, pureFn, exp1, exp2, exp3, exp4, thisArg) {\n      // TODO(kara): use bindingRoot instead of bindingStartIndex when implementing host bindings\n\n      /** @type {?} */\n      var bindingIndex = getBindingRoot() + slotOffset;\n      /** @type {?} */\n\n      var lView = getLView();\n      return bindingUpdated4(lView, bindingIndex, exp1, exp2, exp3, exp4) ? updateBinding(lView, bindingIndex + 4, thisArg ? pureFn.call(thisArg, exp1, exp2, exp3, exp4) : pureFn(exp1, exp2, exp3, exp4)) : getBinding(lView, bindingIndex + 4);\n    }\n    /**\n     * If the value of any provided exp has changed, calls the pure function to return\n     * an updated value. Or if no values have changed, returns cached value.\n     *\n     * \\@codeGenApi\n     * @param {?} slotOffset the offset from binding root to the reserved slot\n     * @param {?} pureFn\n     * @param {?} exp1\n     * @param {?} exp2\n     * @param {?} exp3\n     * @param {?} exp4\n     * @param {?} exp5\n     * @param {?=} thisArg Optional calling context of pureFn\n     * @return {?} Updated or cached value\n     *\n     */\n\n\n    function ɵɵpureFunction5(slotOffset, pureFn, exp1, exp2, exp3, exp4, exp5, thisArg) {\n      // TODO(kara): use bindingRoot instead of bindingStartIndex when implementing host bindings\n\n      /** @type {?} */\n      var bindingIndex = getBindingRoot() + slotOffset;\n      /** @type {?} */\n\n      var lView = getLView();\n      /** @type {?} */\n\n      var different = bindingUpdated4(lView, bindingIndex, exp1, exp2, exp3, exp4);\n      return bindingUpdated(lView, bindingIndex + 4, exp5) || different ? updateBinding(lView, bindingIndex + 5, thisArg ? pureFn.call(thisArg, exp1, exp2, exp3, exp4, exp5) : pureFn(exp1, exp2, exp3, exp4, exp5)) : getBinding(lView, bindingIndex + 5);\n    }\n    /**\n     * If the value of any provided exp has changed, calls the pure function to return\n     * an updated value. Or if no values have changed, returns cached value.\n     *\n     * \\@codeGenApi\n     * @param {?} slotOffset the offset from binding root to the reserved slot\n     * @param {?} pureFn\n     * @param {?} exp1\n     * @param {?} exp2\n     * @param {?} exp3\n     * @param {?} exp4\n     * @param {?} exp5\n     * @param {?} exp6\n     * @param {?=} thisArg Optional calling context of pureFn\n     * @return {?} Updated or cached value\n     *\n     */\n\n\n    function ɵɵpureFunction6(slotOffset, pureFn, exp1, exp2, exp3, exp4, exp5, exp6, thisArg) {\n      // TODO(kara): use bindingRoot instead of bindingStartIndex when implementing host bindings\n\n      /** @type {?} */\n      var bindingIndex = getBindingRoot() + slotOffset;\n      /** @type {?} */\n\n      var lView = getLView();\n      /** @type {?} */\n\n      var different = bindingUpdated4(lView, bindingIndex, exp1, exp2, exp3, exp4);\n      return bindingUpdated2(lView, bindingIndex + 4, exp5, exp6) || different ? updateBinding(lView, bindingIndex + 6, thisArg ? pureFn.call(thisArg, exp1, exp2, exp3, exp4, exp5, exp6) : pureFn(exp1, exp2, exp3, exp4, exp5, exp6)) : getBinding(lView, bindingIndex + 6);\n    }\n    /**\n     * If the value of any provided exp has changed, calls the pure function to return\n     * an updated value. Or if no values have changed, returns cached value.\n     *\n     * \\@codeGenApi\n     * @param {?} slotOffset the offset from binding root to the reserved slot\n     * @param {?} pureFn\n     * @param {?} exp1\n     * @param {?} exp2\n     * @param {?} exp3\n     * @param {?} exp4\n     * @param {?} exp5\n     * @param {?} exp6\n     * @param {?} exp7\n     * @param {?=} thisArg Optional calling context of pureFn\n     * @return {?} Updated or cached value\n     *\n     */\n\n\n    function ɵɵpureFunction7(slotOffset, pureFn, exp1, exp2, exp3, exp4, exp5, exp6, exp7, thisArg) {\n      // TODO(kara): use bindingRoot instead of bindingStartIndex when implementing host bindings\n\n      /** @type {?} */\n      var bindingIndex = getBindingRoot() + slotOffset;\n      /** @type {?} */\n\n      var lView = getLView();\n      /** @type {?} */\n\n      var different = bindingUpdated4(lView, bindingIndex, exp1, exp2, exp3, exp4);\n      return bindingUpdated3(lView, bindingIndex + 4, exp5, exp6, exp7) || different ? updateBinding(lView, bindingIndex + 7, thisArg ? pureFn.call(thisArg, exp1, exp2, exp3, exp4, exp5, exp6, exp7) : pureFn(exp1, exp2, exp3, exp4, exp5, exp6, exp7)) : getBinding(lView, bindingIndex + 7);\n    }\n    /**\n     * If the value of any provided exp has changed, calls the pure function to return\n     * an updated value. Or if no values have changed, returns cached value.\n     *\n     * \\@codeGenApi\n     * @param {?} slotOffset the offset from binding root to the reserved slot\n     * @param {?} pureFn\n     * @param {?} exp1\n     * @param {?} exp2\n     * @param {?} exp3\n     * @param {?} exp4\n     * @param {?} exp5\n     * @param {?} exp6\n     * @param {?} exp7\n     * @param {?} exp8\n     * @param {?=} thisArg Optional calling context of pureFn\n     * @return {?} Updated or cached value\n     *\n     */\n\n\n    function ɵɵpureFunction8(slotOffset, pureFn, exp1, exp2, exp3, exp4, exp5, exp6, exp7, exp8, thisArg) {\n      // TODO(kara): use bindingRoot instead of bindingStartIndex when implementing host bindings\n\n      /** @type {?} */\n      var bindingIndex = getBindingRoot() + slotOffset;\n      /** @type {?} */\n\n      var lView = getLView();\n      /** @type {?} */\n\n      var different = bindingUpdated4(lView, bindingIndex, exp1, exp2, exp3, exp4);\n      return bindingUpdated4(lView, bindingIndex + 4, exp5, exp6, exp7, exp8) || different ? updateBinding(lView, bindingIndex + 8, thisArg ? pureFn.call(thisArg, exp1, exp2, exp3, exp4, exp5, exp6, exp7, exp8) : pureFn(exp1, exp2, exp3, exp4, exp5, exp6, exp7, exp8)) : getBinding(lView, bindingIndex + 8);\n    }\n    /**\n     * pureFunction instruction that can support any number of bindings.\n     *\n     * If the value of any provided exp has changed, calls the pure function to return\n     * an updated value. Or if no values have changed, returns cached value.\n     *\n     * \\@codeGenApi\n     * @param {?} slotOffset the offset from binding root to the reserved slot\n     * @param {?} pureFn A pure function that takes binding values and builds an object or array\n     * containing those values.\n     * @param {?} exps An array of binding values\n     * @param {?=} thisArg Optional calling context of pureFn\n     * @return {?} Updated or cached value\n     *\n     */\n\n\n    function ɵɵpureFunctionV(slotOffset, pureFn, exps, thisArg) {\n      // TODO(kara): use bindingRoot instead of bindingStartIndex when implementing host bindings\n\n      /** @type {?} */\n      var bindingIndex = getBindingRoot() + slotOffset;\n      /** @type {?} */\n\n      var different = false;\n      /** @type {?} */\n\n      var lView = getLView();\n\n      for (var i = 0; i < exps.length; i++) {\n        bindingUpdated(lView, bindingIndex++, exps[i]) && (different = true);\n      }\n\n      return different ? updateBinding(lView, bindingIndex, pureFn.apply(thisArg, exps)) : getBinding(lView, bindingIndex);\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Create a pipe.\n     *\n     * \\@codeGenApi\n     * @param {?} index Pipe index where the pipe will be stored.\n     * @param {?} pipeName The name of the pipe\n     * @return {?} T the instance of the pipe.\n     *\n     */\n\n\n    function ɵɵpipe(index, pipeName) {\n      /** @type {?} */\n      var tView = getLView()[TVIEW];\n      /** @type {?} */\n\n      var pipeDef;\n      /** @type {?} */\n\n      var adjustedIndex = index + HEADER_OFFSET;\n\n      if (tView.firstTemplatePass) {\n        pipeDef = getPipeDef$1(pipeName, tView.pipeRegistry);\n        tView.data[adjustedIndex] = pipeDef;\n\n        if (pipeDef.onDestroy) {\n          (tView.destroyHooks || (tView.destroyHooks = [])).push(adjustedIndex, pipeDef.onDestroy);\n        }\n      } else {\n        pipeDef =\n        /** @type {?} */\n        tView.data[adjustedIndex];\n      }\n      /** @type {?} */\n\n\n      var pipeInstance = pipeDef.factory();\n      store(index, pipeInstance);\n      return pipeInstance;\n    }\n    /**\n     * Searches the pipe registry for a pipe with the given name. If one is found,\n     * returns the pipe. Otherwise, an error is thrown because the pipe cannot be resolved.\n     *\n     * \\@publicApi\n     * @param {?} name Name of pipe to resolve\n     * @param {?} registry Full list of available pipes\n     * @return {?} Matching PipeDef\n     *\n     */\n\n\n    function getPipeDef$1(name, registry) {\n      if (registry) {\n        for (var i = registry.length - 1; i >= 0; i--) {\n          /** @type {?} */\n          var _pipeDef = registry[i];\n\n          if (name === _pipeDef.name) {\n            return _pipeDef;\n          }\n        }\n      }\n\n      throw new Error(\"The pipe '\".concat(name, \"' could not be found!\"));\n    }\n    /**\n     * Invokes a pipe with 1 arguments.\n     *\n     * This instruction acts as a guard to {\\@link PipeTransform#transform} invoking\n     * the pipe only when an input to the pipe changes.\n     *\n     * \\@codeGenApi\n     * @param {?} index Pipe index where the pipe was stored on creation.\n     * @param {?} slotOffset the offset in the reserved slot space\n     * @param {?} v1 1st argument to {\\@link PipeTransform#transform}.\n     *\n     * @return {?}\n     */\n\n\n    function ɵɵpipeBind1(index, slotOffset, v1) {\n      /** @type {?} */\n      var pipeInstance = ɵɵload(index);\n      return unwrapValue$1(isPure(index) ? ɵɵpureFunction1(slotOffset, pipeInstance.transform, v1, pipeInstance) : pipeInstance.transform(v1));\n    }\n    /**\n     * Invokes a pipe with 2 arguments.\n     *\n     * This instruction acts as a guard to {\\@link PipeTransform#transform} invoking\n     * the pipe only when an input to the pipe changes.\n     *\n     * \\@codeGenApi\n     * @param {?} index Pipe index where the pipe was stored on creation.\n     * @param {?} slotOffset the offset in the reserved slot space\n     * @param {?} v1 1st argument to {\\@link PipeTransform#transform}.\n     * @param {?} v2 2nd argument to {\\@link PipeTransform#transform}.\n     *\n     * @return {?}\n     */\n\n\n    function ɵɵpipeBind2(index, slotOffset, v1, v2) {\n      /** @type {?} */\n      var pipeInstance = ɵɵload(index);\n      return unwrapValue$1(isPure(index) ? ɵɵpureFunction2(slotOffset, pipeInstance.transform, v1, v2, pipeInstance) : pipeInstance.transform(v1, v2));\n    }\n    /**\n     * Invokes a pipe with 3 arguments.\n     *\n     * This instruction acts as a guard to {\\@link PipeTransform#transform} invoking\n     * the pipe only when an input to the pipe changes.\n     *\n     * \\@codeGenApi\n     * @param {?} index Pipe index where the pipe was stored on creation.\n     * @param {?} slotOffset the offset in the reserved slot space\n     * @param {?} v1 1st argument to {\\@link PipeTransform#transform}.\n     * @param {?} v2 2nd argument to {\\@link PipeTransform#transform}.\n     * @param {?} v3 4rd argument to {\\@link PipeTransform#transform}.\n     *\n     * @return {?}\n     */\n\n\n    function ɵɵpipeBind3(index, slotOffset, v1, v2, v3) {\n      /** @type {?} */\n      var pipeInstance = ɵɵload(index);\n      return unwrapValue$1(isPure(index) ? ɵɵpureFunction3(slotOffset, pipeInstance.transform, v1, v2, v3, pipeInstance) : pipeInstance.transform(v1, v2, v3));\n    }\n    /**\n     * Invokes a pipe with 4 arguments.\n     *\n     * This instruction acts as a guard to {\\@link PipeTransform#transform} invoking\n     * the pipe only when an input to the pipe changes.\n     *\n     * \\@codeGenApi\n     * @param {?} index Pipe index where the pipe was stored on creation.\n     * @param {?} slotOffset the offset in the reserved slot space\n     * @param {?} v1 1st argument to {\\@link PipeTransform#transform}.\n     * @param {?} v2 2nd argument to {\\@link PipeTransform#transform}.\n     * @param {?} v3 3rd argument to {\\@link PipeTransform#transform}.\n     * @param {?} v4 4th argument to {\\@link PipeTransform#transform}.\n     *\n     * @return {?}\n     */\n\n\n    function ɵɵpipeBind4(index, slotOffset, v1, v2, v3, v4) {\n      /** @type {?} */\n      var pipeInstance = ɵɵload(index);\n      return unwrapValue$1(isPure(index) ? ɵɵpureFunction4(slotOffset, pipeInstance.transform, v1, v2, v3, v4, pipeInstance) : pipeInstance.transform(v1, v2, v3, v4));\n    }\n    /**\n     * Invokes a pipe with variable number of arguments.\n     *\n     * This instruction acts as a guard to {\\@link PipeTransform#transform} invoking\n     * the pipe only when an input to the pipe changes.\n     *\n     * \\@codeGenApi\n     * @param {?} index Pipe index where the pipe was stored on creation.\n     * @param {?} slotOffset the offset in the reserved slot space\n     * @param {?} values Array of arguments to pass to {\\@link PipeTransform#transform} method.\n     *\n     * @return {?}\n     */\n\n\n    function ɵɵpipeBindV(index, slotOffset, values) {\n      /** @type {?} */\n      var pipeInstance = ɵɵload(index);\n      return unwrapValue$1(isPure(index) ? ɵɵpureFunctionV(slotOffset, pipeInstance.transform, values, pipeInstance) : pipeInstance.transform.apply(pipeInstance, values));\n    }\n    /**\n     * @param {?} index\n     * @return {?}\n     */\n\n\n    function isPure(index) {\n      return (\n        /** @type {?} */\n        getLView()[TVIEW].data[index + HEADER_OFFSET].pure\n      );\n    }\n    /**\n     * Unwrap the output of a pipe transformation.\n     * In order to trick change detection into considering that the new value is always different from\n     * the old one, the old value is overwritten by NO_CHANGE.\n     *\n     * @param {?} newValue the pipe transformation output.\n     * @return {?}\n     */\n\n\n    function unwrapValue$1(newValue) {\n      if (WrappedValue.isWrapped(newValue)) {\n        newValue = WrappedValue.unwrap(newValue);\n        /** @type {?} */\n\n        var _lView10 = getLView(); // The NO_CHANGE value needs to be written at the index where the impacted binding value is\n        // stored\n\n        /** @type {?} */\n\n\n        var bindingToInvalidateIdx = _lView10[BINDING_INDEX];\n        _lView10[bindingToInvalidateIdx] = NO_CHANGE;\n      }\n\n      return newValue;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Use in components with the `\\@Output` directive to emit custom events\n     * synchronously or asynchronously, and register handlers for those events\n     * by subscribing to an instance.\n     *\n     * \\@usageNotes\n     *\n     * Extends\n     * [RxJS `Subject`](https://rxjs.dev/api/index/class/Subject)\n     * for Angular by adding the `emit()` method.\n     *\n     * In the following example, a component defines two output properties\n     * that create event emitters. When the title is clicked, the emitter\n     * emits an open or close event to toggle the current visibility state.\n     *\n     * ```html\n     * \\@Component({\n     *   selector: 'zippy',\n     *   template: `\n     *   <div class=\"zippy\">\n     *     <div (click)=\"toggle()\">Toggle</div>\n     *     <div [hidden]=\"!visible\">\n     *       <ng-content></ng-content>\n     *     </div>\n     *  </div>`})\n     * export class Zippy {\n     *   visible: boolean = true;\n     * \\@Output() open: EventEmitter<any> = new EventEmitter();\n     * \\@Output() close: EventEmitter<any> = new EventEmitter();\n     *\n     *   toggle() {\n     *     this.visible = !this.visible;\n     *     if (this.visible) {\n     *       this.open.emit(null);\n     *     } else {\n     *       this.close.emit(null);\n     *     }\n     *   }\n     * }\n     * ```\n     *\n     * Access the event object with the `$event` argument passed to the output event\n     * handler:\n     *\n     * ```html\n     * <zippy (open)=\"onOpen($event)\" (close)=\"onClose($event)\"></zippy>\n     * ```\n     *\n     * @see [Observables in Angular](guide/observables-in-angular)\n     * \\@publicApi\n     * @template T\n     */\n\n\n    var EventEmitter =\n    /*#__PURE__*/\n    function (_rxjs__WEBPACK_IMPORT) {\n      _inherits(EventEmitter, _rxjs__WEBPACK_IMPORT);\n\n      // tslint:disable-line\n\n      /**\n       * Creates an instance of this class that can\n       * deliver events synchronously or asynchronously.\n       *\n       * @param {?=} isAsync When true, deliver events asynchronously.\n       *\n       */\n      function EventEmitter() {\n        var _this458;\n\n        var isAsync = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n\n        _classCallCheck(this, EventEmitter);\n\n        _this458 = _possibleConstructorReturn(this, _getPrototypeOf(EventEmitter).call(this));\n        _this458.__isAsync = isAsync;\n        return _this458;\n      }\n      /**\n       * Emits an event containing a given value.\n       * @param {?=} value The value to emit.\n       * @return {?}\n       */\n\n\n      _createClass2(EventEmitter, [{\n        key: \"emit\",\n        value: function emit(value) {\n          _get(_getPrototypeOf(EventEmitter.prototype), \"next\", this).call(this, value);\n        }\n        /**\n         * Registers handlers for events emitted by this instance.\n         * @param {?=} generatorOrNext When supplied, a custom handler for emitted events.\n         * @param {?=} error When supplied, a custom handler for an error notification\n         * from this emitter.\n         * @param {?=} complete When supplied, a custom handler for a completion\n         * notification from this emitter.\n         * @return {?}\n         */\n\n      }, {\n        key: \"subscribe\",\n        value: function subscribe(generatorOrNext, error, complete) {\n          /** @type {?} */\n          var schedulerFn;\n          /** @type {?} */\n\n          var errorFn =\n          /**\n          * @param {?} err\n          * @return {?}\n          */\n          function errorFn(err) {\n            return null;\n          };\n          /** @type {?} */\n\n\n          var completeFn =\n          /**\n          * @return {?}\n          */\n          function completeFn() {\n            return null;\n          };\n\n          if (generatorOrNext && typeof generatorOrNext === 'object') {\n            schedulerFn = this.__isAsync ?\n            /**\n            * @param {?} value\n            * @return {?}\n            */\n            function (value) {\n              setTimeout(\n              /**\n              * @return {?}\n              */\n              function () {\n                return generatorOrNext.next(value);\n              });\n            } :\n            /**\n            * @param {?} value\n            * @return {?}\n            */\n            function (value) {\n              generatorOrNext.next(value);\n            };\n\n            if (generatorOrNext.error) {\n              errorFn = this.__isAsync ?\n              /**\n              * @param {?} err\n              * @return {?}\n              */\n              function (err) {\n                setTimeout(\n                /**\n                * @return {?}\n                */\n                function () {\n                  return generatorOrNext.error(err);\n                });\n              } :\n              /**\n              * @param {?} err\n              * @return {?}\n              */\n              function (err) {\n                generatorOrNext.error(err);\n              };\n            }\n\n            if (generatorOrNext.complete) {\n              completeFn = this.__isAsync ?\n              /**\n              * @return {?}\n              */\n              function () {\n                setTimeout(\n                /**\n                * @return {?}\n                */\n                function () {\n                  return generatorOrNext.complete();\n                });\n              } :\n              /**\n              * @return {?}\n              */\n              function () {\n                generatorOrNext.complete();\n              };\n            }\n          } else {\n            schedulerFn = this.__isAsync ?\n            /**\n            * @param {?} value\n            * @return {?}\n            */\n            function (value) {\n              setTimeout(\n              /**\n              * @return {?}\n              */\n              function () {\n                return generatorOrNext(value);\n              });\n            } :\n            /**\n            * @param {?} value\n            * @return {?}\n            */\n            function (value) {\n              generatorOrNext(value);\n            };\n\n            if (error) {\n              errorFn = this.__isAsync ?\n              /**\n              * @param {?} err\n              * @return {?}\n              */\n              function (err) {\n                setTimeout(\n                /**\n                * @return {?}\n                */\n                function () {\n                  return error(err);\n                });\n              } :\n              /**\n              * @param {?} err\n              * @return {?}\n              */\n              function (err) {\n                error(err);\n              };\n            }\n\n            if (complete) {\n              completeFn = this.__isAsync ?\n              /**\n              * @return {?}\n              */\n              function () {\n                setTimeout(\n                /**\n                * @return {?}\n                */\n                function () {\n                  return complete();\n                });\n              } :\n              /**\n              * @return {?}\n              */\n              function () {\n                complete();\n              };\n            }\n          }\n          /** @type {?} */\n\n\n          var sink = _get(_getPrototypeOf(EventEmitter.prototype), \"subscribe\", this).call(this, schedulerFn, errorFn, completeFn);\n\n          if (generatorOrNext instanceof rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Subscription\"]) {\n            generatorOrNext.add(sink);\n          }\n\n          return sink;\n        }\n      }]);\n\n      return EventEmitter;\n    }(rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]);\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @template T\n     * @this {?}\n     * @return {?}\n     */\n\n\n    function symbolIterator() {\n      return (\n        /** @type {?} */\n\n        /** @type {?} */\n\n        /** @type {?} */\n        this._results[getSymbolIterator()]()\n      );\n    }\n    /**\n     * An unmodifiable list of items that Angular keeps up to date when the state\n     * of the application changes.\n     *\n     * The type of object that {\\@link ViewChildren}, {\\@link ContentChildren}, and {\\@link QueryList}\n     * provide.\n     *\n     * Implements an iterable interface, therefore it can be used in both ES6\n     * javascript `for (var i of items)` loops as well as in Angular templates with\n     * `*ngFor=\"let i of myList\"`.\n     *\n     * Changes can be observed by subscribing to the changes `Observable`.\n     *\n     * NOTE: In the future this class will implement an `Observable` interface.\n     *\n     * \\@usageNotes\n     * ### Example\n     * ```typescript\n     * \\@Component({...})\n     * class Container {\n     * \\@ViewChildren(Item) items:QueryList<Item>;\n     * }\n     * ```\n     *\n     * \\@publicApi\n     * @template T\n     */\n\n\n    var QueryList =\n    /*#__PURE__*/\n    function () {\n      function QueryList() {\n        _classCallCheck(this, QueryList);\n\n        this.dirty = true;\n        this._results = [];\n        this.changes = new EventEmitter();\n        this.length = 0; // This function should be declared on the prototype, but doing so there will cause the class\n        // declaration to have side-effects and become not tree-shakable. For this reason we do it in\n        // the constructor.\n        // [getSymbolIterator()](): Iterator<T> { ... }\n\n        /** @type {?} */\n\n        var symbol = getSymbolIterator();\n        /** @type {?} */\n\n        var proto =\n        /** @type {?} */\n        QueryList.prototype;\n        if (!proto[symbol]) proto[symbol] = symbolIterator;\n      }\n      /**\n       * See\n       * [Array.map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map)\n       * @template U\n       * @param {?} fn\n       * @return {?}\n       */\n\n\n      _createClass2(QueryList, [{\n        key: \"map\",\n        value: function map(fn) {\n          return this._results.map(fn);\n        }\n        /**\n         * See\n         * [Array.filter](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter)\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"filter\",\n        value: function filter(fn) {\n          return this._results.filter(fn);\n        }\n        /**\n         * See\n         * [Array.find](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find)\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"find\",\n        value: function find(fn) {\n          return this._results.find(fn);\n        }\n        /**\n         * See\n         * [Array.reduce](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce)\n         * @template U\n         * @param {?} fn\n         * @param {?} init\n         * @return {?}\n         */\n\n      }, {\n        key: \"reduce\",\n        value: function reduce(fn, init) {\n          return this._results.reduce(fn, init);\n        }\n        /**\n         * See\n         * [Array.forEach](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach)\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"forEach\",\n        value: function forEach(fn) {\n          this._results.forEach(fn);\n        }\n        /**\n         * See\n         * [Array.some](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/some)\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"some\",\n        value: function some(fn) {\n          return this._results.some(fn);\n        }\n        /**\n         * Returns a copy of the internal results list as an Array.\n         * @return {?}\n         */\n\n      }, {\n        key: \"toArray\",\n        value: function toArray() {\n          return this._results.slice();\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"toString\",\n        value: function toString() {\n          return this._results.toString();\n        }\n        /**\n         * Updates the stored data of the query list, and resets the `dirty` flag to `false`, so that\n         * on change detection, it will not notify of changes to the queries, unless a new change\n         * occurs.\n         *\n         * @param {?} resultsTree The query results to store\n         * @return {?}\n         */\n\n      }, {\n        key: \"reset\",\n        value: function reset(resultsTree) {\n          this._results = flatten(resultsTree);\n\n          /** @type {?} */\n          this.dirty = false;\n\n          /** @type {?} */\n          this.length = this._results.length;\n\n          /** @type {?} */\n          this.last = this._results[this.length - 1];\n\n          /** @type {?} */\n          this.first = this._results[0];\n        }\n        /**\n         * Triggers a change event by emitting on the `changes` {\\@link EventEmitter}.\n         * @return {?}\n         */\n\n      }, {\n        key: \"notifyOnChanges\",\n        value: function notifyOnChanges() {\n          /** @type {?} */\n          this.changes.emit(this);\n        }\n        /**\n         * internal\n         * @return {?}\n         */\n\n      }, {\n        key: \"setDirty\",\n        value: function setDirty() {\n          /** @type {?} */\n          this.dirty = true;\n        }\n        /**\n         * internal\n         * @return {?}\n         */\n\n      }, {\n        key: \"destroy\",\n        value: function destroy() {\n          /** @type {?} */\n          this.changes.complete();\n\n          /** @type {?} */\n          this.changes.unsubscribe();\n        }\n      }]);\n\n      return QueryList;\n    }();\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /** @enum {number} */\n\n\n    var RenderFlags = {\n      /* Whether to run the creation block (e.g. create elements and directives) */\n      Create: 1,\n\n      /* Whether to run the update block (e.g. refresh bindings) */\n      Update: 2\n    };\n    /**\n     * A subclass of `Type` which has a static `ngComponentDef`:`ComponentDef` field making it\n     * consumable for rendering.\n     * @record\n     * @template T\n     */\n\n    function ComponentType() {}\n\n    if (false) {}\n    /**\n     * A subclass of `Type` which has a static `ngDirectiveDef`:`DirectiveDef` field making it\n     * consumable for rendering.\n     * @record\n     * @template T\n     */\n\n\n    function DirectiveType() {}\n\n    if (false) {}\n    /** @enum {number} */\n\n\n    var DirectiveDefFlags = {\n      ContentQuery: 2\n    };\n    /**\n     * A subclass of `Type` which has a static `ngPipeDef`:`PipeDef` field making it\n     * consumable for rendering.\n     * @record\n     * @template T\n     */\n\n    function PipeType() {}\n\n    if (false) {}\n    /**\n     * Runtime information for classes that are inherited by components or directives\n     * that aren't defined as components or directives.\n     *\n     * This is an internal data structure used by the renderer to determine what inputs\n     * and outputs should be inherited.\n     *\n     * See: {\\@link defineBase}\n     *\n     * \\@codeGenApi\n     * @record\n     * @template T\n     */\n\n\n    function ɵɵBaseDef() {}\n\n    if (false) {}\n    /**\n     * Runtime link information for Directives.\n     *\n     * This is internal data structure used by the render to link\n     * directives into templates.\n     *\n     * NOTE: Always use `defineDirective` function to create this object,\n     * never create the object directly since the shape of this object\n     * can change between versions.\n     *\n     * @param Selector type metadata specifying the selector of the directive or component\n     *\n     * See: {\\@link defineDirective}\n     * @record\n     * @template T\n     */\n\n\n    function DirectiveDef() {}\n\n    if (false) {}\n    /**\n     * Runtime link information for Components.\n     *\n     * This is internal data structure used by the render to link\n     * components into templates.\n     *\n     * NOTE: Always use `defineComponent` function to create this object,\n     * never create the object directly since the shape of this object\n     * can change between versions.\n     *\n     * See: {\\@link defineComponent}\n     * @record\n     * @template T\n     */\n\n\n    function ComponentDef() {}\n\n    if (false) {}\n    /**\n     * Runtime link information for Pipes.\n     *\n     * This is internal data structure used by the renderer to link\n     * pipes into templates.\n     *\n     * NOTE: Always use `definePipe` function to create this object,\n     * never create the object directly since the shape of this object\n     * can change between versions.\n     *\n     * See: {\\@link definePipe}\n     * @record\n     * @template T\n     */\n\n\n    function PipeDef() {}\n\n    if (false) {}\n    /**\n     * @record\n     */\n\n\n    function DirectiveDefFeature() {}\n\n    if (false) {}\n    /**\n     * @record\n     */\n\n\n    function ComponentDefFeature() {}\n\n    if (false) {} // Note: This hack is necessary so we don't erroneously get a circular dependency\n    // failure based on types.\n\n    /** @type {?} */\n\n\n    var unusedValueExportToPlacateAjd$7 = 1;\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * An object representing query metadata extracted from query annotations.\n     * @record\n     */\n\n    function TQueryMetadata() {}\n\n    if (false) {}\n    /**\n     * TQuery objects represent all the query-related data that remain the same from one view instance\n     * to another and can be determined on the very first template pass. Most notably TQuery holds all\n     * the matches for a given view.\n     * @record\n     */\n\n\n    function TQuery() {}\n\n    if (false) {}\n    /**\n     * TQueries represent a collection of individual TQuery objects tracked in a given view. Most of the\n     * methods on this interface are simple proxy methods to the corresponding functionality on TQuery.\n     * @record\n     */\n\n\n    function TQueries() {}\n\n    if (false) {}\n    /**\n     * An interface that represents query-related information specific to a view instance. Most notably\n     * it contains:\n     * - materialized query matches;\n     * - a pointer to a QueryList where materialized query results should be reported.\n     * @record\n     * @template T\n     */\n\n\n    function LQuery() {}\n\n    if (false) {}\n    /**\n     * lQueries represent a collection of individual LQuery objects tracked in a given view.\n     * @record\n     */\n\n\n    function LQueries() {}\n\n    if (false) {} // Note: This hack is necessary so we don't erroneously get a circular dependency\n    // failure based on types.\n\n    /** @type {?} */\n\n\n    var unusedValueExportToPlacateAjd$8 = 1;\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n    var unusedValueToPlacateAjd$2 = unusedValueExportToPlacateAjd$7 + unusedValueExportToPlacateAjd$2 + unusedValueExportToPlacateAjd$4 + unusedValueExportToPlacateAjd$8;\n    /**\n     * @template T\n     */\n\n    var LQuery_ =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} queryList\n       */\n      function LQuery_(queryList) {\n        _classCallCheck(this, LQuery_);\n\n        this.queryList = queryList;\n        this.matches = null;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(LQuery_, [{\n        key: \"clone\",\n        value: function clone() {\n          return new LQuery_(this.queryList);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"setDirty\",\n        value: function setDirty() {\n          this.queryList.setDirty();\n        }\n      }]);\n\n      return LQuery_;\n    }();\n\n    if (false) {}\n\n    var LQueries_ =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?=} queries\n       */\n      function LQueries_() {\n        var queries = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n\n        _classCallCheck(this, LQueries_);\n\n        this.queries = queries;\n      }\n      /**\n       * @param {?} tView\n       * @return {?}\n       */\n\n\n      _createClass2(LQueries_, [{\n        key: \"createEmbeddedView\",\n        value: function createEmbeddedView(tView) {\n          /** @type {?} */\n          var tQueries = tView.queries;\n\n          if (tQueries !== null) {\n            /** @type {?} */\n            var noOfInheritedQueries = tView.contentQueries !== null ? tView.contentQueries[0] : tQueries.length;\n            /** @type {?} */\n\n            var viewLQueries = new Array(noOfInheritedQueries); // An embedded view has queries propagated from a declaration view at the beginning of the\n            // TQueries collection and up until a first content query declared in the embedded view. Only\n            // propagated LQueries are created at this point (LQuery corresponding to declared content\n            // queries will be instantiated from the content query instructions for each directive).\n\n            for (var i = 0; i < noOfInheritedQueries; i++) {\n              /** @type {?} */\n              var tQuery = tQueries.getByIndex(i);\n              /** @type {?} */\n\n              var parentLQuery = this.queries[tQuery.indexInDeclarationView];\n              viewLQueries[i] = parentLQuery.clone();\n            }\n\n            return new LQueries_(viewLQueries);\n          }\n\n          return null;\n        }\n        /**\n         * @param {?} tView\n         * @return {?}\n         */\n\n      }, {\n        key: \"insertView\",\n        value: function insertView(tView) {\n          this.dirtyQueriesWithMatches(tView);\n        }\n        /**\n         * @param {?} tView\n         * @return {?}\n         */\n\n      }, {\n        key: \"detachView\",\n        value: function detachView(tView) {\n          this.dirtyQueriesWithMatches(tView);\n        }\n        /**\n         * @private\n         * @param {?} tView\n         * @return {?}\n         */\n\n      }, {\n        key: \"dirtyQueriesWithMatches\",\n        value: function dirtyQueriesWithMatches(tView) {\n          for (var i = 0; i < this.queries.length; i++) {\n            if (getTQuery(tView, i).matches !== null) {\n              this.queries[i].setDirty();\n            }\n          }\n        }\n      }]);\n\n      return LQueries_;\n    }();\n\n    if (false) {}\n\n    var TQueryMetadata_ =\n    /**\n     * @param {?} predicate\n     * @param {?} descendants\n     * @param {?} isStatic\n     * @param {?=} read\n     */\n    function TQueryMetadata_(predicate, descendants, isStatic) {\n      var read = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;\n\n      _classCallCheck(this, TQueryMetadata_);\n\n      this.predicate = predicate;\n      this.descendants = descendants;\n      this.isStatic = isStatic;\n      this.read = read;\n    };\n\n    if (false) {}\n\n    var TQueries_ =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?=} queries\n       */\n      function TQueries_() {\n        var queries = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n\n        _classCallCheck(this, TQueries_);\n\n        this.queries = queries;\n      }\n      /**\n       * @param {?} tView\n       * @param {?} tNode\n       * @return {?}\n       */\n\n\n      _createClass2(TQueries_, [{\n        key: \"elementStart\",\n        value: function elementStart(tView, tNode) {\n          ngDevMode && assertFirstTemplatePass(tView, 'Queries should collect results on the first template pass only');\n          var _iteratorNormalCompletion44 = true;\n          var _didIteratorError44 = false;\n          var _iteratorError44 = undefined;\n\n          try {\n            for (var _iterator44 = this.queries[Symbol.iterator](), _step44; !(_iteratorNormalCompletion44 = (_step44 = _iterator44.next()).done); _iteratorNormalCompletion44 = true) {\n              var query = _step44.value;\n              query.elementStart(tView, tNode);\n            }\n          } catch (err) {\n            _didIteratorError44 = true;\n            _iteratorError44 = err;\n          } finally {\n            try {\n              if (!_iteratorNormalCompletion44 && _iterator44.return != null) {\n                _iterator44.return();\n              }\n            } finally {\n              if (_didIteratorError44) {\n                throw _iteratorError44;\n              }\n            }\n          }\n        }\n        /**\n         * @param {?} tNode\n         * @return {?}\n         */\n\n      }, {\n        key: \"elementEnd\",\n        value: function elementEnd(tNode) {\n          var _iteratorNormalCompletion45 = true;\n          var _didIteratorError45 = false;\n          var _iteratorError45 = undefined;\n\n          try {\n            for (var _iterator45 = this.queries[Symbol.iterator](), _step45; !(_iteratorNormalCompletion45 = (_step45 = _iterator45.next()).done); _iteratorNormalCompletion45 = true) {\n              var query = _step45.value;\n              query.elementEnd(tNode);\n            }\n          } catch (err) {\n            _didIteratorError45 = true;\n            _iteratorError45 = err;\n          } finally {\n            try {\n              if (!_iteratorNormalCompletion45 && _iterator45.return != null) {\n                _iterator45.return();\n              }\n            } finally {\n              if (_didIteratorError45) {\n                throw _iteratorError45;\n              }\n            }\n          }\n        }\n        /**\n         * @param {?} tNode\n         * @return {?}\n         */\n\n      }, {\n        key: \"embeddedTView\",\n        value: function embeddedTView(tNode) {\n          /** @type {?} */\n          var queriesForTemplateRef = null;\n\n          for (var i = 0; i < this.length; i++) {\n            /** @type {?} */\n            var childQueryIndex = queriesForTemplateRef !== null ? queriesForTemplateRef.length : 0;\n            /** @type {?} */\n\n            var tqueryClone = this.getByIndex(i).embeddedTView(tNode, childQueryIndex);\n\n            if (tqueryClone) {\n              tqueryClone.indexInDeclarationView = i;\n\n              if (queriesForTemplateRef !== null) {\n                queriesForTemplateRef.push(tqueryClone);\n              } else {\n                queriesForTemplateRef = [tqueryClone];\n              }\n            }\n          }\n\n          return queriesForTemplateRef !== null ? new TQueries_(queriesForTemplateRef) : null;\n        }\n        /**\n         * @param {?} tView\n         * @param {?} tNode\n         * @return {?}\n         */\n\n      }, {\n        key: \"template\",\n        value: function template(tView, tNode) {\n          ngDevMode && assertFirstTemplatePass(tView, 'Queries should collect results on the first template pass only');\n          var _iteratorNormalCompletion46 = true;\n          var _didIteratorError46 = false;\n          var _iteratorError46 = undefined;\n\n          try {\n            for (var _iterator46 = this.queries[Symbol.iterator](), _step46; !(_iteratorNormalCompletion46 = (_step46 = _iterator46.next()).done); _iteratorNormalCompletion46 = true) {\n              var query = _step46.value;\n              query.template(tView, tNode);\n            }\n          } catch (err) {\n            _didIteratorError46 = true;\n            _iteratorError46 = err;\n          } finally {\n            try {\n              if (!_iteratorNormalCompletion46 && _iterator46.return != null) {\n                _iterator46.return();\n              }\n            } finally {\n              if (_didIteratorError46) {\n                throw _iteratorError46;\n              }\n            }\n          }\n        }\n        /**\n         * @param {?} index\n         * @return {?}\n         */\n\n      }, {\n        key: \"getByIndex\",\n        value: function getByIndex(index) {\n          ngDevMode && assertDataInRange(this.queries, index);\n          return this.queries[index];\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"track\",\n\n        /**\n         * @param {?} tquery\n         * @return {?}\n         */\n        value: function track(tquery) {\n          this.queries.push(tquery);\n        }\n      }, {\n        key: \"length\",\n        get: function get() {\n          return this.queries.length;\n        }\n      }]);\n\n      return TQueries_;\n    }();\n\n    if (false) {}\n\n    var TQuery_ =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} metadata\n       * @param {?=} nodeIndex\n       */\n      function TQuery_(metadata) {\n        var nodeIndex = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : -1;\n\n        _classCallCheck(this, TQuery_);\n\n        this.metadata = metadata;\n        this.matches = null;\n        this.indexInDeclarationView = -1;\n        this.crossesNgTemplate = false;\n        /**\n         * A flag indicating if a given query still applies to nodes it is crossing. We use this flag\n         * (alongside with _declarationNodeIndex) to know when to stop applying content queries to\n         * elements in a template.\n         */\n\n        this._appliesToNextNode = true;\n        this._declarationNodeIndex = nodeIndex;\n      }\n      /**\n       * @param {?} tView\n       * @param {?} tNode\n       * @return {?}\n       */\n\n\n      _createClass2(TQuery_, [{\n        key: \"elementStart\",\n        value: function elementStart(tView, tNode) {\n          if (this.isApplyingToNode(tNode)) {\n            this.matchTNode(tView, tNode);\n          }\n        }\n        /**\n         * @param {?} tNode\n         * @return {?}\n         */\n\n      }, {\n        key: \"elementEnd\",\n        value: function elementEnd(tNode) {\n          if (this._declarationNodeIndex === tNode.index) {\n            this._appliesToNextNode = false;\n          }\n        }\n        /**\n         * @param {?} tView\n         * @param {?} tNode\n         * @return {?}\n         */\n\n      }, {\n        key: \"template\",\n        value: function template(tView, tNode) {\n          this.elementStart(tView, tNode);\n        }\n        /**\n         * @param {?} tNode\n         * @param {?} childQueryIndex\n         * @return {?}\n         */\n\n      }, {\n        key: \"embeddedTView\",\n        value: function embeddedTView(tNode, childQueryIndex) {\n          if (this.isApplyingToNode(tNode)) {\n            this.crossesNgTemplate = true; // A marker indicating a `<ng-template>` element (a placeholder for query results from\n            // embedded views created based on this `<ng-template>`).\n\n            this.addMatch(-tNode.index, childQueryIndex);\n            return new TQuery_(this.metadata);\n          }\n\n          return null;\n        }\n        /**\n         * @private\n         * @param {?} tNode\n         * @return {?}\n         */\n\n      }, {\n        key: \"isApplyingToNode\",\n        value: function isApplyingToNode(tNode) {\n          if (this._appliesToNextNode && this.metadata.descendants === false) {\n            return this._declarationNodeIndex === (tNode.parent ? tNode.parent.index : -1);\n          }\n\n          return this._appliesToNextNode;\n        }\n        /**\n         * @private\n         * @param {?} tView\n         * @param {?} tNode\n         * @return {?}\n         */\n\n      }, {\n        key: \"matchTNode\",\n        value: function matchTNode(tView, tNode) {\n          if (Array.isArray(this.metadata.predicate)) {\n            /** @type {?} */\n            var localNames =\n            /** @type {?} */\n            this.metadata.predicate;\n\n            for (var i = 0; i < localNames.length; i++) {\n              this.matchTNodeWithReadOption(tView, tNode, getIdxOfMatchingSelector(tNode, localNames[i]));\n            }\n          } else {\n            /** @type {?} */\n            var typePredicate =\n            /** @type {?} */\n            this.metadata.predicate;\n\n            if (typePredicate === TemplateRef) {\n              if (tNode.type === 0\n              /* Container */\n              ) {\n                  this.matchTNodeWithReadOption(tView, tNode, -1);\n                }\n            } else {\n              this.matchTNodeWithReadOption(tView, tNode, locateDirectiveOrProvider(tNode, tView, typePredicate, false, false));\n            }\n          }\n        }\n        /**\n         * @private\n         * @param {?} tView\n         * @param {?} tNode\n         * @param {?} nodeMatchIdx\n         * @return {?}\n         */\n\n      }, {\n        key: \"matchTNodeWithReadOption\",\n        value: function matchTNodeWithReadOption(tView, tNode, nodeMatchIdx) {\n          if (nodeMatchIdx !== null) {\n            /** @type {?} */\n            var read = this.metadata.read;\n\n            if (read !== null) {\n              if (read === ElementRef || read === ViewContainerRef || read === TemplateRef && tNode.type === 0\n              /* Container */\n              ) {\n                  this.addMatch(tNode.index, -2);\n                } else {\n                /** @type {?} */\n                var directiveOrProviderIdx = locateDirectiveOrProvider(tNode, tView, read, false, false);\n\n                if (directiveOrProviderIdx !== null) {\n                  this.addMatch(tNode.index, directiveOrProviderIdx);\n                }\n              }\n            } else {\n              this.addMatch(tNode.index, nodeMatchIdx);\n            }\n          }\n        }\n        /**\n         * @private\n         * @param {?} tNodeIdx\n         * @param {?} matchIdx\n         * @return {?}\n         */\n\n      }, {\n        key: \"addMatch\",\n        value: function addMatch(tNodeIdx, matchIdx) {\n          if (this.matches === null) {\n            this.matches = [tNodeIdx, matchIdx];\n          } else {\n            this.matches.push(tNodeIdx, matchIdx);\n          }\n        }\n      }]);\n\n      return TQuery_;\n    }();\n\n    if (false) {}\n    /**\n     * Iterates over local names for a given node and returns directive index\n     * (or -1 if a local name points to an element).\n     *\n     * @param {?} tNode static data of a node to check\n     * @param {?} selector selector to match\n     * @return {?} directive index, -1 or null if a selector didn't match any of the local names\n     */\n\n\n    function getIdxOfMatchingSelector(tNode, selector) {\n      /** @type {?} */\n      var localNames = tNode.localNames;\n\n      if (localNames !== null) {\n        for (var i = 0; i < localNames.length; i += 2) {\n          if (localNames[i] === selector) {\n            return (\n              /** @type {?} */\n              localNames[i + 1]\n            );\n          }\n        }\n      }\n\n      return null;\n    }\n    /**\n     * @param {?} tNode\n     * @param {?} currentView\n     * @return {?}\n     */\n\n\n    function createResultByTNodeType(tNode, currentView) {\n      if (tNode.type === 3\n      /* Element */\n      || tNode.type === 4\n      /* ElementContainer */\n      ) {\n          return createElementRef(ElementRef, tNode, currentView);\n        } else if (tNode.type === 0\n      /* Container */\n      ) {\n          return createTemplateRef(TemplateRef, ElementRef, tNode, currentView);\n        }\n\n      return null;\n    }\n    /**\n     * @param {?} lView\n     * @param {?} tNode\n     * @param {?} matchingIdx\n     * @param {?} read\n     * @return {?}\n     */\n\n\n    function createResultForNode(lView, tNode, matchingIdx, read) {\n      if (matchingIdx === -1) {\n        // if read token and / or strategy is not specified, detect it using appropriate tNode type\n        return createResultByTNodeType(tNode, lView);\n      } else if (matchingIdx === -2) {\n        // read a special token from a node injector\n        return createSpecialToken(lView, tNode, read);\n      } else {\n        // read a token\n        return getNodeInjectable(lView[TVIEW].data, lView, matchingIdx,\n        /** @type {?} */\n        tNode);\n      }\n    }\n    /**\n     * @param {?} lView\n     * @param {?} tNode\n     * @param {?} read\n     * @return {?}\n     */\n\n\n    function createSpecialToken(lView, tNode, read) {\n      if (read === ElementRef) {\n        return createElementRef(ElementRef, tNode, lView);\n      } else if (read === TemplateRef) {\n        return createTemplateRef(TemplateRef, ElementRef, tNode, lView);\n      } else if (read === ViewContainerRef) {\n        ngDevMode && assertNodeOfPossibleTypes(tNode, 3\n        /* Element */\n        , 0\n        /* Container */\n        , 4\n        /* ElementContainer */\n        );\n        return createContainerRef(ViewContainerRef, ElementRef,\n        /** @type {?} */\n        tNode, lView);\n      } else {\n        ngDevMode && throwError(\"Special token to read should be one of ElementRef, TemplateRef or ViewContainerRef but got \".concat(stringify(read), \".\"));\n      }\n    }\n    /**\n     * A helper function that creates query results for a given view. This function is meant to do the\n     * processing once and only once for a given view instance (a set of results for a given view\n     * doesn't change).\n     * @template T\n     * @param {?} lView\n     * @param {?} tQuery\n     * @param {?} queryIndex\n     * @return {?}\n     */\n\n\n    function materializeViewResults(lView, tQuery, queryIndex) {\n      /** @type {?} */\n      var lQuery =\n      /** @type {?} */\n\n      /** @type {?} */\n      lView[QUERIES].queries[queryIndex];\n\n      if (lQuery.matches === null) {\n        /** @type {?} */\n        var tViewData = lView[TVIEW].data;\n        /** @type {?} */\n\n        var tQueryMatches =\n        /** @type {?} */\n        tQuery.matches;\n        /** @type {?} */\n\n        var result = new Array(tQueryMatches.length / 2);\n\n        for (var i = 0; i < tQueryMatches.length; i += 2) {\n          /** @type {?} */\n          var matchedNodeIdx = tQueryMatches[i];\n\n          if (matchedNodeIdx < 0) {\n            // we at the <ng-template> marker which might have results in views created based on this\n            // <ng-template> - those results will be in separate views though, so here we just leave\n            // null as a placeholder\n            result[i / 2] = null;\n          } else {\n            ngDevMode && assertDataInRange(tViewData, matchedNodeIdx);\n            /** @type {?} */\n\n            var tNode =\n            /** @type {?} */\n            tViewData[matchedNodeIdx];\n            result[i / 2] = createResultForNode(lView, tNode, tQueryMatches[i + 1], tQuery.metadata.read);\n          }\n        }\n\n        lQuery.matches = result;\n      }\n\n      return lQuery.matches;\n    }\n    /**\n     * A helper function that collects (already materialized) query results from a tree of views,\n     * starting with a provided LView.\n     * @template T\n     * @param {?} lView\n     * @param {?} queryIndex\n     * @param {?} result\n     * @return {?}\n     */\n\n\n    function collectQueryResults(lView, queryIndex, result) {\n      /** @type {?} */\n      var tQuery =\n      /** @type {?} */\n      lView[TVIEW].queries.getByIndex(queryIndex);\n      /** @type {?} */\n\n      var tQueryMatches = tQuery.matches;\n\n      if (tQueryMatches !== null) {\n        /** @type {?} */\n        var lViewResults = materializeViewResults(lView, tQuery, queryIndex);\n\n        for (var i = 0; i < tQueryMatches.length; i += 2) {\n          /** @type {?} */\n          var tNodeIdx = tQueryMatches[i];\n\n          if (tNodeIdx > 0) {\n            /** @type {?} */\n            var viewResult = lViewResults[i / 2];\n            ngDevMode && assertDefined(viewResult, 'materialized query result should be defined');\n            result.push(\n            /** @type {?} */\n            viewResult);\n          } else {\n            /** @type {?} */\n            var childQueryIndex = tQueryMatches[i + 1];\n            /** @type {?} */\n\n            var declarationLContainer =\n            /** @type {?} */\n            lView[-tNodeIdx];\n            ngDevMode && assertLContainer(declarationLContainer); // collect matches for views inserted in this container\n\n            for (var _i27 = CONTAINER_HEADER_OFFSET; _i27 < declarationLContainer.length; _i27++) {\n              /** @type {?} */\n              var embeddedLView = declarationLContainer[_i27];\n\n              if (embeddedLView[DECLARATION_LCONTAINER] === embeddedLView[PARENT]) {\n                collectQueryResults(embeddedLView, childQueryIndex, result);\n              }\n            } // collect matches for views created from this declaration container and inserted into\n            // different containers\n\n\n            if (declarationLContainer[MOVED_VIEWS] !== null) {\n              var _iteratorNormalCompletion47 = true;\n              var _didIteratorError47 = false;\n              var _iteratorError47 = undefined;\n\n              try {\n                for (var _iterator47 =\n                /** @type {?} */\n                declarationLContainer[MOVED_VIEWS][Symbol.iterator](), _step47; !(_iteratorNormalCompletion47 = (_step47 = _iterator47.next()).done); _iteratorNormalCompletion47 = true) {\n                  var _embeddedLView = _step47.value;\n                  collectQueryResults(_embeddedLView, childQueryIndex, result);\n                }\n              } catch (err) {\n                _didIteratorError47 = true;\n                _iteratorError47 = err;\n              } finally {\n                try {\n                  if (!_iteratorNormalCompletion47 && _iterator47.return != null) {\n                    _iterator47.return();\n                  }\n                } finally {\n                  if (_didIteratorError47) {\n                    throw _iteratorError47;\n                  }\n                }\n              }\n            }\n          }\n        }\n      }\n\n      return result;\n    }\n    /**\n     * Refreshes a query by combining matches from all active views and removing matches from deleted\n     * views.\n     *\n     * \\@codeGenApi\n     * @param {?} queryList\n     * @return {?} `true` if a query got dirty during change detection or if this is a static query\n     * resolving in creation mode, `false` otherwise.\n     *\n     */\n\n\n    function ɵɵqueryRefresh(queryList) {\n      /** @type {?} */\n      var lView = getLView();\n      /** @type {?} */\n\n      var queryIndex = getCurrentQueryIndex();\n      setCurrentQueryIndex(queryIndex + 1);\n      /** @type {?} */\n\n      var tQuery = getTQuery(lView[TVIEW], queryIndex);\n\n      if (queryList.dirty && isCreationMode() === tQuery.metadata.isStatic) {\n        if (tQuery.matches === null) {\n          queryList.reset([]);\n        } else {\n          /** @type {?} */\n          var result = tQuery.crossesNgTemplate ? collectQueryResults(lView, queryIndex, []) : materializeViewResults(lView, tQuery, queryIndex);\n          queryList.reset(result);\n          queryList.notifyOnChanges();\n        }\n\n        return true;\n      }\n\n      return false;\n    }\n    /**\n     * Creates new QueryList for a static view query.\n     *\n     * \\@codeGenApi\n     * @template T\n     * @param {?} predicate The type for which the query will search\n     * @param {?} descend Whether or not to descend into children\n     * @param {?=} read What to save in the query\n     *\n     * @return {?}\n     */\n\n\n    function ɵɵstaticViewQuery(predicate, descend, read) {\n      viewQueryInternal(getLView(), predicate, descend, read, true);\n    }\n    /**\n     * Creates new QueryList, stores the reference in LView and returns QueryList.\n     *\n     * \\@codeGenApi\n     * @template T\n     * @param {?} predicate The type for which the query will search\n     * @param {?} descend Whether or not to descend into children\n     * @param {?=} read What to save in the query\n     *\n     * @return {?}\n     */\n\n\n    function ɵɵviewQuery(predicate, descend, read) {\n      viewQueryInternal(getLView(), predicate, descend, read, false);\n    }\n    /**\n     * @template T\n     * @param {?} lView\n     * @param {?} predicate\n     * @param {?} descend\n     * @param {?} read\n     * @param {?} isStatic\n     * @return {?}\n     */\n\n\n    function viewQueryInternal(lView, predicate, descend, read, isStatic) {\n      /** @type {?} */\n      var tView = lView[TVIEW];\n\n      if (tView.firstTemplatePass) {\n        createTQuery(tView, new TQueryMetadata_(predicate, descend, isStatic, read), -1);\n\n        if (isStatic) {\n          tView.staticViewQueries = true;\n        }\n      }\n\n      createLQuery(lView);\n    }\n    /**\n     * Loads a QueryList corresponding to the current view query.\n     *\n     * \\@codeGenApi\n     * @template T\n     * @return {?}\n     */\n\n\n    function ɵɵloadViewQuery() {\n      return loadQueryInternal(getLView(), getCurrentQueryIndex());\n    }\n    /**\n     * Registers a QueryList, associated with a content query, for later refresh (part of a view\n     * refresh).\n     *\n     * \\@codeGenApi\n     * @template T\n     * @param {?} directiveIndex Current directive index\n     * @param {?} predicate The type for which the query will search\n     * @param {?} descend Whether or not to descend into children\n     * @param {?=} read What to save in the query\n     * @return {?} QueryList<T>\n     *\n     */\n\n\n    function ɵɵcontentQuery(directiveIndex, predicate, descend, read) {\n      contentQueryInternal(getLView(), predicate, descend, read, false, getPreviousOrParentTNode(), directiveIndex);\n    }\n    /**\n     * Registers a QueryList, associated with a static content query, for later refresh\n     * (part of a view refresh).\n     *\n     * \\@codeGenApi\n     * @template T\n     * @param {?} directiveIndex Current directive index\n     * @param {?} predicate The type for which the query will search\n     * @param {?} descend Whether or not to descend into children\n     * @param {?=} read What to save in the query\n     * @return {?} QueryList<T>\n     *\n     */\n\n\n    function ɵɵstaticContentQuery(directiveIndex, predicate, descend, read) {\n      contentQueryInternal(getLView(), predicate, descend, read, true, getPreviousOrParentTNode(), directiveIndex);\n    }\n    /**\n     * @template T\n     * @param {?} lView\n     * @param {?} predicate\n     * @param {?} descend\n     * @param {?} read\n     * @param {?} isStatic\n     * @param {?} tNode\n     * @param {?} directiveIndex\n     * @return {?}\n     */\n\n\n    function contentQueryInternal(lView, predicate, descend, read, isStatic, tNode, directiveIndex) {\n      /** @type {?} */\n      var tView = lView[TVIEW];\n\n      if (tView.firstTemplatePass) {\n        createTQuery(tView, new TQueryMetadata_(predicate, descend, isStatic, read), tNode.index);\n        saveContentQueryAndDirectiveIndex(tView, directiveIndex);\n\n        if (isStatic) {\n          tView.staticContentQueries = true;\n        }\n      }\n\n      createLQuery(lView);\n    }\n    /**\n     * Loads a QueryList corresponding to the current content query.\n     *\n     * \\@codeGenApi\n     * @template T\n     * @return {?}\n     */\n\n\n    function ɵɵloadContentQuery() {\n      return loadQueryInternal(getLView(), getCurrentQueryIndex());\n    }\n    /**\n     * @template T\n     * @param {?} lView\n     * @param {?} queryIndex\n     * @return {?}\n     */\n\n\n    function loadQueryInternal(lView, queryIndex) {\n      ngDevMode && assertDefined(lView[QUERIES], 'LQueries should be defined when trying to load a query');\n      ngDevMode && assertDataInRange(\n      /** @type {?} */\n      lView[QUERIES].queries, queryIndex);\n      return (\n        /** @type {?} */\n        lView[QUERIES].queries[queryIndex].queryList\n      );\n    }\n    /**\n     * @template T\n     * @param {?} lView\n     * @return {?}\n     */\n\n\n    function createLQuery(lView) {\n      /** @type {?} */\n      var queryList = new QueryList();\n      storeCleanupWithContext(lView, queryList, queryList.destroy);\n      if (lView[QUERIES] === null) lView[QUERIES] = new LQueries_();\n\n      /** @type {?} */\n      lView[QUERIES].queries.push(new LQuery_(queryList));\n    }\n    /**\n     * @param {?} tView\n     * @param {?} metadata\n     * @param {?} nodeIndex\n     * @return {?}\n     */\n\n\n    function createTQuery(tView, metadata, nodeIndex) {\n      if (tView.queries === null) tView.queries = new TQueries_();\n      tView.queries.track(new TQuery_(metadata, nodeIndex));\n    }\n    /**\n     * @param {?} tView\n     * @param {?} directiveIndex\n     * @return {?}\n     */\n\n\n    function saveContentQueryAndDirectiveIndex(tView, directiveIndex) {\n      /** @type {?} */\n      var tViewContentQueries = tView.contentQueries || (tView.contentQueries = []);\n      /** @type {?} */\n\n      var lastSavedDirectiveIndex = tView.contentQueries.length ? tViewContentQueries[tViewContentQueries.length - 1] : -1;\n\n      if (directiveIndex !== lastSavedDirectiveIndex) {\n        tViewContentQueries.push(\n        /** @type {?} */\n        tView.queries.length - 1, directiveIndex);\n      }\n    }\n    /**\n     * @param {?} tView\n     * @param {?} index\n     * @return {?}\n     */\n\n\n    function getTQuery(tView, index) {\n      ngDevMode && assertDefined(tView.queries, 'TQueries must be defined to retrieve a TQuery');\n      return (\n        /** @type {?} */\n        tView.queries.getByIndex(index)\n      );\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Retrieves `TemplateRef` instance from `Injector` when a local reference is placed on the\n     * `<ng-template>` element.\n     *\n     * \\@codeGenApi\n     * @param {?} tNode\n     * @param {?} currentView\n     * @return {?}\n     */\n\n\n    function ɵɵtemplateRefExtractor(tNode, currentView) {\n      return createTemplateRef(TemplateRef, ElementRef, tNode, currentView);\n    }\n    /**\n     * Returns the appropriate `ChangeDetectorRef` for a pipe.\n     *\n     * \\@codeGenApi\n     * @param {?=} flags\n     * @return {?}\n     */\n\n\n    function ɵɵinjectPipeChangeDetectorRef() {\n      var flags = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : InjectFlags.Default;\n\n      /** @type {?} */\n      var value = injectChangeDetectorRef(true);\n\n      if (value == null && !(flags & InjectFlags.Optional)) {\n        throw new Error(\"No provider for ChangeDetectorRef!\");\n      } else {\n        return value;\n      }\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n\n    var ɵ0$e =\n    /**\n    * @return {?}\n    */\n    function ɵ0$e() {\n      return {\n        'ɵɵattribute': ɵɵattribute,\n        'ɵɵattributeInterpolate1': ɵɵattributeInterpolate1,\n        'ɵɵattributeInterpolate2': ɵɵattributeInterpolate2,\n        'ɵɵattributeInterpolate3': ɵɵattributeInterpolate3,\n        'ɵɵattributeInterpolate4': ɵɵattributeInterpolate4,\n        'ɵɵattributeInterpolate5': ɵɵattributeInterpolate5,\n        'ɵɵattributeInterpolate6': ɵɵattributeInterpolate6,\n        'ɵɵattributeInterpolate7': ɵɵattributeInterpolate7,\n        'ɵɵattributeInterpolate8': ɵɵattributeInterpolate8,\n        'ɵɵattributeInterpolateV': ɵɵattributeInterpolateV,\n        'ɵɵdefineBase': ɵɵdefineBase,\n        'ɵɵdefineComponent': ɵɵdefineComponent,\n        'ɵɵdefineDirective': ɵɵdefineDirective,\n        'ɵɵdefineInjectable': ɵɵdefineInjectable,\n        'ɵɵdefineInjector': ɵɵdefineInjector,\n        'ɵɵdefineNgModule': ɵɵdefineNgModule,\n        'ɵɵdefinePipe': ɵɵdefinePipe,\n        'ɵɵdirectiveInject': ɵɵdirectiveInject,\n        'ɵɵgetFactoryOf': ɵɵgetFactoryOf,\n        'ɵɵgetInheritedFactory': ɵɵgetInheritedFactory,\n        'ɵɵinject': ɵɵinject,\n        'ɵɵinjectAttribute': ɵɵinjectAttribute,\n        'ɵɵinjectPipeChangeDetectorRef': ɵɵinjectPipeChangeDetectorRef,\n        'ɵɵtemplateRefExtractor': ɵɵtemplateRefExtractor,\n        'ɵɵNgOnChangesFeature': ɵɵNgOnChangesFeature,\n        'ɵɵProvidersFeature': ɵɵProvidersFeature,\n        'ɵɵInheritDefinitionFeature': ɵɵInheritDefinitionFeature,\n        'ɵɵcontainer': ɵɵcontainer,\n        'ɵɵnextContext': ɵɵnextContext,\n        'ɵɵcontainerRefreshStart': ɵɵcontainerRefreshStart,\n        'ɵɵcontainerRefreshEnd': ɵɵcontainerRefreshEnd,\n        'ɵɵnamespaceHTML': ɵɵnamespaceHTML,\n        'ɵɵnamespaceMathML': ɵɵnamespaceMathML,\n        'ɵɵnamespaceSVG': ɵɵnamespaceSVG,\n        'ɵɵenableBindings': ɵɵenableBindings,\n        'ɵɵdisableBindings': ɵɵdisableBindings,\n        'ɵɵallocHostVars': ɵɵallocHostVars,\n        'ɵɵelementStart': ɵɵelementStart,\n        'ɵɵelementEnd': ɵɵelementEnd,\n        'ɵɵelement': ɵɵelement,\n        'ɵɵelementContainerStart': ɵɵelementContainerStart,\n        'ɵɵelementContainerEnd': ɵɵelementContainerEnd,\n        'ɵɵelementContainer': ɵɵelementContainer,\n        'ɵɵpureFunction0': ɵɵpureFunction0,\n        'ɵɵpureFunction1': ɵɵpureFunction1,\n        'ɵɵpureFunction2': ɵɵpureFunction2,\n        'ɵɵpureFunction3': ɵɵpureFunction3,\n        'ɵɵpureFunction4': ɵɵpureFunction4,\n        'ɵɵpureFunction5': ɵɵpureFunction5,\n        'ɵɵpureFunction6': ɵɵpureFunction6,\n        'ɵɵpureFunction7': ɵɵpureFunction7,\n        'ɵɵpureFunction8': ɵɵpureFunction8,\n        'ɵɵpureFunctionV': ɵɵpureFunctionV,\n        'ɵɵgetCurrentView': ɵɵgetCurrentView,\n        'ɵɵrestoreView': ɵɵrestoreView,\n        'ɵɵlistener': ɵɵlistener,\n        'ɵɵload': ɵɵload,\n        'ɵɵprojection': ɵɵprojection,\n        'ɵɵupdateSyntheticHostBinding': ɵɵupdateSyntheticHostBinding,\n        'ɵɵcomponentHostSyntheticListener': ɵɵcomponentHostSyntheticListener,\n        'ɵɵpipeBind1': ɵɵpipeBind1,\n        'ɵɵpipeBind2': ɵɵpipeBind2,\n        'ɵɵpipeBind3': ɵɵpipeBind3,\n        'ɵɵpipeBind4': ɵɵpipeBind4,\n        'ɵɵpipeBindV': ɵɵpipeBindV,\n        'ɵɵprojectionDef': ɵɵprojectionDef,\n        'ɵɵhostProperty': ɵɵhostProperty,\n        'ɵɵproperty': ɵɵproperty,\n        'ɵɵpropertyInterpolate': ɵɵpropertyInterpolate,\n        'ɵɵpropertyInterpolate1': ɵɵpropertyInterpolate1,\n        'ɵɵpropertyInterpolate2': ɵɵpropertyInterpolate2,\n        'ɵɵpropertyInterpolate3': ɵɵpropertyInterpolate3,\n        'ɵɵpropertyInterpolate4': ɵɵpropertyInterpolate4,\n        'ɵɵpropertyInterpolate5': ɵɵpropertyInterpolate5,\n        'ɵɵpropertyInterpolate6': ɵɵpropertyInterpolate6,\n        'ɵɵpropertyInterpolate7': ɵɵpropertyInterpolate7,\n        'ɵɵpropertyInterpolate8': ɵɵpropertyInterpolate8,\n        'ɵɵpropertyInterpolateV': ɵɵpropertyInterpolateV,\n        'ɵɵpipe': ɵɵpipe,\n        'ɵɵqueryRefresh': ɵɵqueryRefresh,\n        'ɵɵviewQuery': ɵɵviewQuery,\n        'ɵɵstaticViewQuery': ɵɵstaticViewQuery,\n        'ɵɵstaticContentQuery': ɵɵstaticContentQuery,\n        'ɵɵloadViewQuery': ɵɵloadViewQuery,\n        'ɵɵcontentQuery': ɵɵcontentQuery,\n        'ɵɵloadContentQuery': ɵɵloadContentQuery,\n        'ɵɵreference': ɵɵreference,\n        'ɵɵelementHostAttrs': ɵɵelementHostAttrs,\n        'ɵɵclassMap': ɵɵclassMap,\n        'ɵɵclassMapInterpolate1': ɵɵclassMapInterpolate1,\n        'ɵɵclassMapInterpolate2': ɵɵclassMapInterpolate2,\n        'ɵɵclassMapInterpolate3': ɵɵclassMapInterpolate3,\n        'ɵɵclassMapInterpolate4': ɵɵclassMapInterpolate4,\n        'ɵɵclassMapInterpolate5': ɵɵclassMapInterpolate5,\n        'ɵɵclassMapInterpolate6': ɵɵclassMapInterpolate6,\n        'ɵɵclassMapInterpolate7': ɵɵclassMapInterpolate7,\n        'ɵɵclassMapInterpolate8': ɵɵclassMapInterpolate8,\n        'ɵɵclassMapInterpolateV': ɵɵclassMapInterpolateV,\n        'ɵɵstyling': ɵɵstyling,\n        'ɵɵstyleMap': ɵɵstyleMap,\n        'ɵɵstyleProp': ɵɵstyleProp,\n        'ɵɵstylePropInterpolate1': ɵɵstylePropInterpolate1,\n        'ɵɵstylePropInterpolate2': ɵɵstylePropInterpolate2,\n        'ɵɵstylePropInterpolate3': ɵɵstylePropInterpolate3,\n        'ɵɵstylePropInterpolate4': ɵɵstylePropInterpolate4,\n        'ɵɵstylePropInterpolate5': ɵɵstylePropInterpolate5,\n        'ɵɵstylePropInterpolate6': ɵɵstylePropInterpolate6,\n        'ɵɵstylePropInterpolate7': ɵɵstylePropInterpolate7,\n        'ɵɵstylePropInterpolate8': ɵɵstylePropInterpolate8,\n        'ɵɵstylePropInterpolateV': ɵɵstylePropInterpolateV,\n        'ɵɵstyleSanitizer': ɵɵstyleSanitizer,\n        'ɵɵstylingApply': ɵɵstylingApply,\n        'ɵɵclassProp': ɵɵclassProp,\n        'ɵɵselect': ɵɵselect,\n        'ɵɵtemplate': ɵɵtemplate,\n        'ɵɵtext': ɵɵtext,\n        'ɵɵtextBinding': ɵɵtextBinding,\n        'ɵɵtextInterpolate': ɵɵtextInterpolate,\n        'ɵɵtextInterpolate1': ɵɵtextInterpolate1,\n        'ɵɵtextInterpolate2': ɵɵtextInterpolate2,\n        'ɵɵtextInterpolate3': ɵɵtextInterpolate3,\n        'ɵɵtextInterpolate4': ɵɵtextInterpolate4,\n        'ɵɵtextInterpolate5': ɵɵtextInterpolate5,\n        'ɵɵtextInterpolate6': ɵɵtextInterpolate6,\n        'ɵɵtextInterpolate7': ɵɵtextInterpolate7,\n        'ɵɵtextInterpolate8': ɵɵtextInterpolate8,\n        'ɵɵtextInterpolateV': ɵɵtextInterpolateV,\n        'ɵɵembeddedViewStart': ɵɵembeddedViewStart,\n        'ɵɵembeddedViewEnd': ɵɵembeddedViewEnd,\n        'ɵɵi18n': ɵɵi18n,\n        'ɵɵi18nAttributes': ɵɵi18nAttributes,\n        'ɵɵi18nExp': ɵɵi18nExp,\n        'ɵɵi18nStart': ɵɵi18nStart,\n        'ɵɵi18nEnd': ɵɵi18nEnd,\n        'ɵɵi18nApply': ɵɵi18nApply,\n        'ɵɵi18nPostprocess': ɵɵi18nPostprocess,\n        'ɵɵi18nLocalize': ɵɵi18nLocalize,\n        'ɵɵresolveWindow': ɵɵresolveWindow,\n        'ɵɵresolveDocument': ɵɵresolveDocument,\n        'ɵɵresolveBody': ɵɵresolveBody,\n        'ɵɵsetComponentScope': ɵɵsetComponentScope,\n        'ɵɵsetNgModuleScope': ɵɵsetNgModuleScope,\n        'ɵɵsanitizeHtml': ɵɵsanitizeHtml,\n        'ɵɵsanitizeStyle': ɵɵsanitizeStyle,\n        'ɵɵdefaultStyleSanitizer': ɵɵdefaultStyleSanitizer,\n        'ɵɵsanitizeResourceUrl': ɵɵsanitizeResourceUrl,\n        'ɵɵsanitizeScript': ɵɵsanitizeScript,\n        'ɵɵsanitizeUrl': ɵɵsanitizeUrl,\n        'ɵɵsanitizeUrlOrResourceUrl': ɵɵsanitizeUrlOrResourceUrl\n      };\n    };\n    /**\n     * A mapping of the \\@angular/core API surface used in generated expressions to the actual symbols.\n     *\n     * This should be kept up to date with the public exports of \\@angular/core.\n     * @type {?}\n     */\n\n\n    var angularCoreEnv = ɵ0$e();\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n    var EMPTY_ARRAY$4 = [];\n    /**\n     * @record\n     */\n\n    function ModuleQueueItem() {}\n\n    if (false) {}\n    /** @type {?} */\n\n\n    var moduleQueue = [];\n    /**\n     * Enqueues moduleDef to be checked later to see if scope can be set on its\n     * component declarations.\n     * @param {?} moduleType\n     * @param {?} ngModule\n     * @return {?}\n     */\n\n    function enqueueModuleForDelayedScoping(moduleType, ngModule) {\n      moduleQueue.push({\n        moduleType: moduleType,\n        ngModule: ngModule\n      });\n    }\n    /** @type {?} */\n\n\n    var flushingModuleQueue = false;\n    /**\n     * Loops over queued module definitions, if a given module definition has all of its\n     * declarations resolved, it dequeues that module definition and sets the scope on\n     * its declarations.\n     * @return {?}\n     */\n\n    function flushModuleScopingQueueAsMuchAsPossible() {\n      if (!flushingModuleQueue) {\n        flushingModuleQueue = true;\n\n        try {\n          for (var i = moduleQueue.length - 1; i >= 0; i--) {\n            var _moduleQueue$i = moduleQueue[i],\n                moduleType = _moduleQueue$i.moduleType,\n                ngModule = _moduleQueue$i.ngModule;\n\n            if (ngModule.declarations && ngModule.declarations.every(isResolvedDeclaration)) {\n              // dequeue\n              moduleQueue.splice(i, 1);\n              setScopeOnDeclaredComponents(moduleType, ngModule);\n            }\n          }\n        } finally {\n          flushingModuleQueue = false;\n        }\n      }\n    }\n    /**\n     * Returns truthy if a declaration has resolved. If the declaration happens to be\n     * an array of declarations, it will recurse to check each declaration in that array\n     * (which may also be arrays).\n     * @param {?} declaration\n     * @return {?}\n     */\n\n\n    function isResolvedDeclaration(declaration) {\n      if (Array.isArray(declaration)) {\n        return declaration.every(isResolvedDeclaration);\n      }\n\n      return !!resolveForwardRef(declaration);\n    }\n    /**\n     * Compiles a module in JIT mode.\n     *\n     * This function automatically gets called when a class has a `\\@NgModule` decorator.\n     * @param {?} moduleType\n     * @param {?=} ngModule\n     * @return {?}\n     */\n\n\n    function compileNgModule(moduleType) {\n      var ngModule = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n      compileNgModuleDefs(\n      /** @type {?} */\n      moduleType, ngModule); // Because we don't know if all declarations have resolved yet at the moment the\n      // NgModule decorator is executing, we're enqueueing the setting of module scope\n      // on its declarations to be run at a later time when all declarations for the module,\n      // including forward refs, have resolved.\n\n      enqueueModuleForDelayedScoping(moduleType, ngModule);\n    }\n    /**\n     * Compiles and adds the `ngModuleDef` and `ngInjectorDef` properties to the module class.\n     *\n     * It's possible to compile a module via this API which will allow duplicate declarations in its\n     * root.\n     * @param {?} moduleType\n     * @param {?} ngModule\n     * @param {?=} allowDuplicateDeclarationsInRoot\n     * @return {?}\n     */\n\n\n    function compileNgModuleDefs(moduleType, ngModule) {\n      var allowDuplicateDeclarationsInRoot = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n      ngDevMode && assertDefined(moduleType, 'Required value moduleType');\n      ngDevMode && assertDefined(ngModule, 'Required value ngModule');\n      /** @type {?} */\n\n      var declarations = flatten(ngModule.declarations || EMPTY_ARRAY$4);\n      /** @type {?} */\n\n      /** @nocollapse */\n\n      var ngModuleDef = null;\n      Object.defineProperty(moduleType, NG_MODULE_DEF, {\n        configurable: true,\n        get:\n        /**\n        * @return {?}\n        */\n        function get() {\n          if (ngModuleDef === null) {\n            if (ngDevMode && ngModule.imports && ngModule.imports.indexOf(moduleType) > -1) {\n              // We need to assert this immediately, because allowing it to continue will cause it to\n              // go into an infinite loop before we've reached the point where we throw all the errors.\n              throw new Error(\"'\".concat(stringifyForError(moduleType), \"' module can't import itself\"));\n            }\n\n            ngModuleDef = getCompilerFacade().compileNgModule(angularCoreEnv, \"ng:///\".concat(moduleType.name, \"/ngModuleDef.js\"), {\n              type: moduleType,\n              bootstrap: flatten(ngModule.bootstrap || EMPTY_ARRAY$4).map(resolveForwardRef),\n              declarations: declarations.map(resolveForwardRef),\n              imports: flatten(ngModule.imports || EMPTY_ARRAY$4).map(resolveForwardRef).map(expandModuleWithProviders),\n              exports: flatten(ngModule.exports || EMPTY_ARRAY$4).map(resolveForwardRef).map(expandModuleWithProviders),\n              emitInline: true,\n              schemas: ngModule.schemas ? flatten(ngModule.schemas) : null,\n              id: ngModule.id || null\n            });\n          }\n\n          return ngModuleDef;\n        }\n      });\n      /** @type {?} */\n\n      /** @nocollapse */\n\n      var ngInjectorDef = null;\n      Object.defineProperty(moduleType, NG_INJECTOR_DEF, {\n        get:\n        /**\n        * @return {?}\n        */\n        function get() {\n          if (ngInjectorDef === null) {\n            ngDevMode && verifySemanticsOfNgModuleDef(\n            /** @type {?} */\n\n            /** @type {?} */\n            moduleType, allowDuplicateDeclarationsInRoot);\n            /** @type {?} */\n\n            var meta = {\n              name: moduleType.name,\n              type: moduleType,\n              deps: reflectDependencies(moduleType),\n              providers: ngModule.providers || EMPTY_ARRAY$4,\n              imports: [(ngModule.imports || EMPTY_ARRAY$4).map(resolveForwardRef), (ngModule.exports || EMPTY_ARRAY$4).map(resolveForwardRef)]\n            };\n            ngInjectorDef = getCompilerFacade().compileInjector(angularCoreEnv, \"ng:///\".concat(moduleType.name, \"/ngInjectorDef.js\"), meta);\n          }\n\n          return ngInjectorDef;\n        },\n        // Make the property configurable in dev mode to allow overriding in tests\n        configurable: !!ngDevMode\n      });\n    }\n    /**\n     * @param {?} moduleType\n     * @param {?} allowDuplicateDeclarationsInRoot\n     * @param {?=} importingModule\n     * @return {?}\n     */\n\n\n    function verifySemanticsOfNgModuleDef(moduleType, allowDuplicateDeclarationsInRoot, importingModule) {\n      if (verifiedNgModule.get(moduleType)) return;\n      verifiedNgModule.set(moduleType, true);\n      moduleType = resolveForwardRef(moduleType);\n      /** @type {?} */\n\n      var ngModuleDef;\n\n      if (importingModule) {\n        ngModuleDef =\n        /** @type {?} */\n        getNgModuleDef(moduleType);\n\n        if (!ngModuleDef) {\n          throw new Error(\"Unexpected value '\".concat(moduleType.name, \"' imported by the module '\").concat(importingModule.name, \"'. Please add an @NgModule annotation.\"));\n        }\n      } else {\n        ngModuleDef = getNgModuleDef(moduleType, true);\n      }\n      /** @type {?} */\n\n\n      var errors = [];\n      /** @type {?} */\n\n      var declarations = maybeUnwrapFn(ngModuleDef.declarations);\n      /** @type {?} */\n\n      var imports = maybeUnwrapFn(ngModuleDef.imports);\n      flatten(imports).map(unwrapModuleWithProvidersImports).forEach(\n      /**\n      * @param {?} mod\n      * @return {?}\n      */\n      function (mod) {\n        verifySemanticsOfNgModuleImport(mod, moduleType);\n        verifySemanticsOfNgModuleDef(mod, false, moduleType);\n      });\n      /** @type {?} */\n\n      var exports = maybeUnwrapFn(ngModuleDef.exports);\n      declarations.forEach(verifyDeclarationsHaveDefinitions);\n      /** @type {?} */\n\n      var combinedDeclarations = [].concat(_toConsumableArray(declarations.map(resolveForwardRef)), _toConsumableArray(flatten(imports.map(computeCombinedExports)).map(resolveForwardRef)));\n      exports.forEach(verifyExportsAreDeclaredOrReExported);\n      declarations.forEach(\n      /**\n      * @param {?} decl\n      * @return {?}\n      */\n      function (decl) {\n        return verifyDeclarationIsUnique(decl, allowDuplicateDeclarationsInRoot);\n      });\n      declarations.forEach(verifyComponentEntryComponentsIsPartOfNgModule);\n      /** @type {?} */\n\n      var ngModule = getAnnotation(moduleType, 'NgModule');\n\n      if (ngModule) {\n        ngModule.imports && flatten(ngModule.imports).map(unwrapModuleWithProvidersImports).forEach(\n        /**\n        * @param {?} mod\n        * @return {?}\n        */\n        function (mod) {\n          verifySemanticsOfNgModuleImport(mod, moduleType);\n          verifySemanticsOfNgModuleDef(mod, false, moduleType);\n        });\n        ngModule.bootstrap && deepForEach(ngModule.bootstrap, verifyCorrectBootstrapType);\n        ngModule.bootstrap && deepForEach(ngModule.bootstrap, verifyComponentIsPartOfNgModule);\n        ngModule.entryComponents && deepForEach(ngModule.entryComponents, verifyComponentIsPartOfNgModule);\n      } // Throw Error if any errors were detected.\n\n\n      if (errors.length) {\n        throw new Error(errors.join('\\n'));\n      } ////////////////////////////////////////////////////////////////////////////////////////////////\n\n      /**\n       * @param {?} type\n       * @return {?}\n       */\n\n\n      function verifyDeclarationsHaveDefinitions(type) {\n        type = resolveForwardRef(type);\n        /** @type {?} */\n\n        var def = getComponentDef(type) || getDirectiveDef(type) || getPipeDef(type);\n\n        if (!def) {\n          errors.push(\"Unexpected value '\".concat(stringifyForError(type), \"' declared by the module '\").concat(stringifyForError(moduleType), \"'. Please add a @Pipe/@Directive/@Component annotation.\"));\n        }\n      }\n      /**\n       * @param {?} type\n       * @return {?}\n       */\n\n\n      function verifyExportsAreDeclaredOrReExported(type) {\n        type = resolveForwardRef(type);\n        /** @type {?} */\n\n        var kind = getComponentDef(type) && 'component' || getDirectiveDef(type) && 'directive' || getPipeDef(type) && 'pipe';\n\n        if (kind) {\n          // only checked if we are declared as Component, Directive, or Pipe\n          // Modules don't need to be declared or imported.\n          if (combinedDeclarations.lastIndexOf(type) === -1) {\n            // We are exporting something which we don't explicitly declare or import.\n            errors.push(\"Can't export \".concat(kind, \" \").concat(stringifyForError(type), \" from \").concat(stringifyForError(moduleType), \" as it was neither declared nor imported!\"));\n          }\n        }\n      }\n      /**\n       * @param {?} type\n       * @param {?} suppressErrors\n       * @return {?}\n       */\n\n\n      function verifyDeclarationIsUnique(type, suppressErrors) {\n        type = resolveForwardRef(type);\n        /** @type {?} */\n\n        var existingModule = ownerNgModule.get(type);\n\n        if (existingModule && existingModule !== moduleType) {\n          if (!suppressErrors) {\n            /** @type {?} */\n            var _modules = [existingModule, moduleType].map(stringifyForError).sort();\n\n            errors.push(\"Type \".concat(stringifyForError(type), \" is part of the declarations of 2 modules: \").concat(_modules[0], \" and \").concat(_modules[1], \"! \") + \"Please consider moving \".concat(stringifyForError(type), \" to a higher module that imports \").concat(_modules[0], \" and \").concat(_modules[1], \". \") + \"You can also create a new NgModule that exports and includes \".concat(stringifyForError(type), \" then import that NgModule in \").concat(_modules[0], \" and \").concat(_modules[1], \".\"));\n          }\n        } else {\n          // Mark type as having owner.\n          ownerNgModule.set(type, moduleType);\n        }\n      }\n      /**\n       * @param {?} type\n       * @return {?}\n       */\n\n\n      function verifyComponentIsPartOfNgModule(type) {\n        type = resolveForwardRef(type);\n        /** @type {?} */\n\n        var existingModule = ownerNgModule.get(type);\n\n        if (!existingModule) {\n          errors.push(\"Component \".concat(stringifyForError(type), \" is not part of any NgModule or the module has not been imported into your module.\"));\n        }\n      }\n      /**\n       * @param {?} type\n       * @return {?}\n       */\n\n\n      function verifyCorrectBootstrapType(type) {\n        type = resolveForwardRef(type);\n\n        if (!getComponentDef(type)) {\n          errors.push(\"\".concat(stringifyForError(type), \" cannot be used as an entry component.\"));\n        }\n      }\n      /**\n       * @param {?} type\n       * @return {?}\n       */\n\n\n      function verifyComponentEntryComponentsIsPartOfNgModule(type) {\n        type = resolveForwardRef(type);\n\n        if (getComponentDef(type)) {\n          // We know we are component\n\n          /** @type {?} */\n          var component = getAnnotation(type, 'Component');\n\n          if (component && component.entryComponents) {\n            deepForEach(component.entryComponents, verifyComponentIsPartOfNgModule);\n          }\n        }\n      }\n      /**\n       * @param {?} type\n       * @param {?} importingModule\n       * @return {?}\n       */\n\n\n      function verifySemanticsOfNgModuleImport(type, importingModule) {\n        type = resolveForwardRef(type);\n\n        if (getComponentDef(type) || getDirectiveDef(type)) {\n          throw new Error(\"Unexpected directive '\".concat(type.name, \"' imported by the module '\").concat(importingModule.name, \"'. Please add an @NgModule annotation.\"));\n        }\n\n        if (getPipeDef(type)) {\n          throw new Error(\"Unexpected pipe '\".concat(type.name, \"' imported by the module '\").concat(importingModule.name, \"'. Please add an @NgModule annotation.\"));\n        }\n      }\n    }\n    /**\n     * @param {?} typeOrWithProviders\n     * @return {?}\n     */\n\n\n    function unwrapModuleWithProvidersImports(typeOrWithProviders) {\n      typeOrWithProviders = resolveForwardRef(typeOrWithProviders);\n      return (\n        /** @type {?} */\n        typeOrWithProviders.ngModule || typeOrWithProviders\n      );\n    }\n    /**\n     * @template T\n     * @param {?} type\n     * @param {?} name\n     * @return {?}\n     */\n\n\n    function getAnnotation(type, name) {\n      /** @type {?} */\n      var annotation = null;\n      collect(type.__annotations__);\n      collect(type.decorators);\n      return annotation;\n      /**\n       * @param {?} annotations\n       * @return {?}\n       */\n\n      function collect(annotations) {\n        if (annotations) {\n          annotations.forEach(readAnnotation);\n        }\n      }\n      /**\n       * @param {?} decorator\n       * @return {?}\n       */\n\n\n      function readAnnotation(decorator) {\n        if (!annotation) {\n          /** @type {?} */\n          var proto = Object.getPrototypeOf(decorator);\n\n          if (proto.ngMetadataName == name) {\n            annotation =\n            /** @type {?} */\n            decorator;\n          } else if (decorator.type) {\n            /** @type {?} */\n            var _proto = Object.getPrototypeOf(decorator.type);\n\n            if (_proto.ngMetadataName == name) {\n              annotation = decorator.args[0];\n            }\n          }\n        }\n      }\n    }\n    /**\n     * Keep track of compiled components. This is needed because in tests we often want to compile the\n     * same component with more than one NgModule. This would cause an error unless we reset which\n     * NgModule the component belongs to. We keep the list of compiled components here so that the\n     * TestBed can reset it later.\n     * @type {?}\n     */\n\n\n    var ownerNgModule = new Map();\n    /** @type {?} */\n\n    var verifiedNgModule = new Map();\n    /**\n     * @return {?}\n     */\n\n    function resetCompiledComponents() {\n      ownerNgModule = new Map();\n      verifiedNgModule = new Map();\n      moduleQueue.length = 0;\n    }\n    /**\n     * Computes the combined declarations of explicit declarations, as well as declarations inherited by\n     * traversing the exports of imported modules.\n     * @param {?} type\n     * @return {?}\n     */\n\n\n    function computeCombinedExports(type) {\n      type = resolveForwardRef(type);\n      /** @type {?} */\n\n      /** @nocollapse */\n\n      var ngModuleDef = getNgModuleDef(type, true);\n      return _toConsumableArray(flatten(maybeUnwrapFn(ngModuleDef.exports).map(\n      /**\n      * @param {?} type\n      * @return {?}\n      */\n      function (type) {\n        /** @type {?} */\n\n        /** @nocollapse */\n        var ngModuleDef = getNgModuleDef(type);\n\n        if (ngModuleDef) {\n          verifySemanticsOfNgModuleDef(\n          /** @type {?} */\n\n          /** @type {?} */\n          type, false);\n          return computeCombinedExports(type);\n        } else {\n          return type;\n        }\n      })));\n    }\n    /**\n     * Some declared components may be compiled asynchronously, and thus may not have their\n     * ngComponentDef set yet. If this is the case, then a reference to the module is written into\n     * the `ngSelectorScope` property of the declared type.\n     * @param {?} moduleType\n     * @param {?} ngModule\n     * @return {?}\n     */\n\n\n    function setScopeOnDeclaredComponents(moduleType, ngModule) {\n      /** @type {?} */\n      var declarations = flatten(ngModule.declarations || EMPTY_ARRAY$4);\n      /** @type {?} */\n\n      var transitiveScopes = transitiveScopesFor(moduleType);\n      declarations.forEach(\n      /**\n      * @param {?} declaration\n      * @return {?}\n      */\n      function (declaration) {\n        if (declaration.hasOwnProperty(NG_COMPONENT_DEF)) {\n          // An `ngComponentDef` field exists - go ahead and patch the component directly.\n\n          /** @type {?} */\n          var component =\n          /** @type {?} */\n          declaration;\n          /** @type {?} */\n\n          var componentDef =\n          /** @type {?} */\n          getComponentDef(component);\n          patchComponentDefWithScope(componentDef, transitiveScopes);\n        } else if (!declaration.hasOwnProperty(NG_DIRECTIVE_DEF) && !declaration.hasOwnProperty(NG_PIPE_DEF)) {\n          // Set `ngSelectorScope` for future reference when the component compilation finishes.\n\n          /** @type {?} */\n          declaration.ngSelectorScope = moduleType;\n        }\n      });\n    }\n    /**\n     * Patch the definition of a component with directives and pipes from the compilation scope of\n     * a given module.\n     * @template C\n     * @param {?} componentDef\n     * @param {?} transitiveScopes\n     * @return {?}\n     */\n\n\n    function patchComponentDefWithScope(componentDef, transitiveScopes) {\n      componentDef.directiveDefs =\n      /**\n      * @return {?}\n      */\n      function () {\n        return Array.from(transitiveScopes.compilation.directives).map(\n        /**\n        * @param {?} dir\n        * @return {?}\n        */\n        function (dir) {\n          return dir.hasOwnProperty(NG_COMPONENT_DEF) ?\n          /** @type {?} */\n          getComponentDef(dir) :\n          /** @type {?} */\n          getDirectiveDef(dir);\n        }).filter(\n        /**\n        * @param {?} def\n        * @return {?}\n        */\n        function (def) {\n          return !!def;\n        });\n      };\n\n      componentDef.pipeDefs =\n      /**\n      * @return {?}\n      */\n      function () {\n        return Array.from(transitiveScopes.compilation.pipes).map(\n        /**\n        * @param {?} pipe\n        * @return {?}\n        */\n        function (pipe) {\n          return (\n            /** @type {?} */\n            getPipeDef(pipe)\n          );\n        });\n      };\n\n      componentDef.schemas = transitiveScopes.schemas; // Since we avoid Components/Directives/Pipes recompiling in case there are no overrides, we\n      // may face a problem where previously compiled defs available to a given Component/Directive\n      // are cached in TView and may become stale (in case any of these defs gets recompiled). In\n      // order to avoid this problem, we force fresh TView to be created.\n\n      componentDef.tView = null;\n    }\n    /**\n     * Compute the pair of transitive scopes (compilation scope and exported scope) for a given module.\n     *\n     * This operation is memoized and the result is cached on the module's definition. It can be called\n     * on modules with components that have not fully compiled yet, but the result should not be used\n     * until they have.\n     * @template T\n     * @param {?} moduleType\n     * @param {?=} processNgModuleFn\n     * @return {?}\n     */\n\n\n    function transitiveScopesFor(moduleType, processNgModuleFn) {\n      if (!isNgModule(moduleType)) {\n        throw new Error(\"\".concat(moduleType.name, \" does not have an ngModuleDef\"));\n      }\n      /** @type {?} */\n\n\n      var def =\n      /** @type {?} */\n      getNgModuleDef(moduleType);\n\n      if (def.transitiveCompileScopes !== null) {\n        return def.transitiveCompileScopes;\n      }\n      /** @type {?} */\n\n\n      var scopes = {\n        schemas: def.schemas || null,\n        compilation: {\n          directives: new Set(),\n          pipes: new Set()\n        },\n        exported: {\n          directives: new Set(),\n          pipes: new Set()\n        }\n      };\n      maybeUnwrapFn(def.declarations).forEach(\n      /**\n      * @param {?} declared\n      * @return {?}\n      */\n      function (declared) {\n        /** @type {?} */\n        var declaredWithDefs =\n        /** @type {?} */\n        declared;\n\n        if (getPipeDef(declaredWithDefs)) {\n          scopes.compilation.pipes.add(declared);\n        } else {\n          // Either declared has an ngComponentDef or ngDirectiveDef, or it's a component which hasn't\n          // had its template compiled yet. In either case, it gets added to the compilation's\n          // directives.\n          scopes.compilation.directives.add(declared);\n        }\n      });\n      maybeUnwrapFn(def.imports).forEach(\n      /**\n      * @template I\n      * @param {?} imported\n      * @return {?}\n      */\n      function (imported) {\n        /** @type {?} */\n        var importedType =\n        /** @type {?} */\n        imported;\n\n        if (!isNgModule(importedType)) {\n          throw new Error(\"Importing \".concat(importedType.name, \" which does not have an ngModuleDef\"));\n        }\n\n        if (processNgModuleFn) {\n          processNgModuleFn(\n          /** @type {?} */\n          importedType);\n        } // When this module imports another, the imported module's exported directives and pipes are\n        // added to the compilation scope of this module.\n\n        /** @type {?} */\n\n\n        var importedScope = transitiveScopesFor(importedType, processNgModuleFn);\n        importedScope.exported.directives.forEach(\n        /**\n        * @param {?} entry\n        * @return {?}\n        */\n        function (entry) {\n          return scopes.compilation.directives.add(entry);\n        });\n        importedScope.exported.pipes.forEach(\n        /**\n        * @param {?} entry\n        * @return {?}\n        */\n        function (entry) {\n          return scopes.compilation.pipes.add(entry);\n        });\n      });\n      maybeUnwrapFn(def.exports).forEach(\n      /**\n      * @template E\n      * @param {?} exported\n      * @return {?}\n      */\n      function (exported) {\n        /** @type {?} */\n        var exportedType =\n        /** @type {?} */\n        exported; // Either the type is a module, a pipe, or a component/directive (which may not have an\n        // ngComponentDef as it might be compiled asynchronously).\n\n        if (isNgModule(exportedType)) {\n          // When this module exports another, the exported module's exported directives and pipes are\n          // added to both the compilation and exported scopes of this module.\n\n          /** @type {?} */\n          var exportedScope = transitiveScopesFor(exportedType, processNgModuleFn);\n          exportedScope.exported.directives.forEach(\n          /**\n          * @param {?} entry\n          * @return {?}\n          */\n          function (entry) {\n            scopes.compilation.directives.add(entry);\n            scopes.exported.directives.add(entry);\n          });\n          exportedScope.exported.pipes.forEach(\n          /**\n          * @param {?} entry\n          * @return {?}\n          */\n          function (entry) {\n            scopes.compilation.pipes.add(entry);\n            scopes.exported.pipes.add(entry);\n          });\n        } else if (getPipeDef(exportedType)) {\n          scopes.exported.pipes.add(exportedType);\n        } else {\n          scopes.exported.directives.add(exportedType);\n        }\n      });\n      def.transitiveCompileScopes = scopes;\n      return scopes;\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function expandModuleWithProviders(value) {\n      if (isModuleWithProviders(value)) {\n        return value.ngModule;\n      }\n\n      return value;\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function isModuleWithProviders(value) {\n      return (\n        /** @type {?} */\n        value.ngModule !== undefined\n      );\n    }\n    /**\n     * @template T\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function isNgModule(value) {\n      return !!getNgModuleDef(value);\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Compile an Angular component according to its decorator metadata, and patch the resulting\n     * ngComponentDef onto the component type.\n     *\n     * Compilation may be asynchronous (due to the need to resolve URLs for the component template or\n     * other resources, for example). In the event that compilation is not immediate, `compileComponent`\n     * will enqueue resource resolution into a global queue and will fail to return the `ngComponentDef`\n     * until the global queue has been resolved with a call to `resolveComponentResources`.\n     * @param {?} type\n     * @param {?} metadata\n     * @return {?}\n     */\n\n\n    function compileComponent(type, metadata) {\n      /** @type {?} */\n\n      /** @nocollapse */\n      var ngComponentDef = null; // Metadata may have resources which need to be resolved.\n\n      maybeQueueResolutionOfComponentResources(type, metadata);\n      Object.defineProperty(type, NG_COMPONENT_DEF, {\n        get:\n        /**\n        * @return {?}\n        */\n        function get() {\n          /** @type {?} */\n          var compiler = getCompilerFacade();\n\n          if (ngComponentDef === null) {\n            if (componentNeedsResolution(metadata)) {\n              /** @type {?} */\n              var error = [\"Component '\".concat(type.name, \"' is not resolved:\")];\n\n              if (metadata.templateUrl) {\n                error.push(\" - templateUrl: \".concat(metadata.templateUrl));\n              }\n\n              if (metadata.styleUrls && metadata.styleUrls.length) {\n                error.push(\" - styleUrls: \".concat(JSON.stringify(metadata.styleUrls)));\n              }\n\n              error.push(\"Did you run and wait for 'resolveComponentResources()'?\");\n              throw new Error(error.join('\\n'));\n            }\n            /** @type {?} */\n\n\n            var templateUrl = metadata.templateUrl || \"ng:///\".concat(type.name, \"/template.html\");\n            /** @type {?} */\n\n            var meta = Object.assign({}, directiveMetadata(type, metadata), {\n              typeSourceSpan: compiler.createParseSourceSpan('Component', type.name, templateUrl),\n              template: metadata.template || '',\n              preserveWhitespaces: metadata.preserveWhitespaces || false,\n              styles: metadata.styles || EMPTY_ARRAY,\n              animations: metadata.animations,\n              directives: [],\n              changeDetection: metadata.changeDetection,\n              pipes: new Map(),\n              encapsulation: metadata.encapsulation || ViewEncapsulation.Emulated,\n              interpolation: metadata.interpolation,\n              viewProviders: metadata.viewProviders || null\n            });\n\n            if (meta.usesInheritance) {\n              addBaseDefToUndecoratedParents(type);\n            }\n\n            ngComponentDef = compiler.compileComponent(angularCoreEnv, templateUrl, meta); // When NgModule decorator executed, we enqueued the module definition such that\n            // it would only dequeue and add itself as module scope to all of its declarations,\n            // but only if  if all of its declarations had resolved. This call runs the check\n            // to see if any modules that are in the queue can be dequeued and add scope to\n            // their declarations.\n\n            flushModuleScopingQueueAsMuchAsPossible(); // If component compilation is async, then the @NgModule annotation which declares the\n            // component may execute and set an ngSelectorScope property on the component type. This\n            // allows the component to patch itself with directiveDefs from the module after it\n            // finishes compiling.\n\n            if (hasSelectorScope(type)) {\n              /** @type {?} */\n              var scopes = transitiveScopesFor(type.ngSelectorScope);\n              patchComponentDefWithScope(ngComponentDef, scopes);\n            }\n          }\n\n          return ngComponentDef;\n        },\n        // Make the property configurable in dev mode to allow overriding in tests\n        configurable: !!ngDevMode\n      }); // Add ngInjectableDef so components are reachable through the module injector by default\n      // This is mostly to support injecting components in tests. In real application code,\n      // components should be retrieved through the node injector, so this isn't a problem.\n\n      compileInjectable(type);\n    }\n    /**\n     * @template T\n     * @param {?} component\n     * @return {?}\n     */\n\n\n    function hasSelectorScope(component) {\n      return (\n        /** @type {?} */\n        component.ngSelectorScope !== undefined\n      );\n    }\n    /**\n     * Compile an Angular directive according to its decorator metadata, and patch the resulting\n     * ngDirectiveDef onto the component type.\n     *\n     * In the event that compilation is not immediate, `compileDirective` will return a `Promise` which\n     * will resolve when compilation completes and the directive becomes usable.\n     * @param {?} type\n     * @param {?} directive\n     * @return {?}\n     */\n\n\n    function compileDirective(type, directive) {\n      /** @type {?} */\n\n      /** @nocollapse */\n      var ngDirectiveDef = null;\n      Object.defineProperty(type, NG_DIRECTIVE_DEF, {\n        get:\n        /**\n        * @return {?}\n        */\n        function get() {\n          if (ngDirectiveDef === null) {\n            /** @type {?} */\n            var name = type && type.name;\n            /** @type {?} */\n\n            var sourceMapUrl = \"ng:///\".concat(name, \"/ngDirectiveDef.js\");\n            /** @type {?} */\n\n            var compiler = getCompilerFacade();\n            /** @type {?} */\n\n            var facade = directiveMetadata(\n            /** @type {?} */\n            type, directive);\n            facade.typeSourceSpan = compiler.createParseSourceSpan('Directive', name, sourceMapUrl);\n\n            if (facade.usesInheritance) {\n              addBaseDefToUndecoratedParents(type);\n            }\n\n            ngDirectiveDef = compiler.compileDirective(angularCoreEnv, sourceMapUrl, facade);\n          }\n\n          return ngDirectiveDef;\n        },\n        // Make the property configurable in dev mode to allow overriding in tests\n        configurable: !!ngDevMode\n      }); // Add ngInjectableDef so directives are reachable through the module injector by default\n      // This is mostly to support injecting directives in tests. In real application code,\n      // directives should be retrieved through the node injector, so this isn't a problem.\n\n      compileInjectable(type);\n    }\n    /**\n     * @param {?} type\n     * @return {?}\n     */\n\n\n    function extendsDirectlyFromObject(type) {\n      return Object.getPrototypeOf(type.prototype) === Object.prototype;\n    }\n    /**\n     * Extract the `R3DirectiveMetadata` for a particular directive (either a `Directive` or a\n     * `Component`).\n     * @param {?} type\n     * @param {?} metadata\n     * @return {?}\n     */\n\n\n    function directiveMetadata(type, metadata) {\n      // Reflect inputs and outputs.\n\n      /** @type {?} */\n      var propMetadata = getReflect().ownPropMetadata(type);\n      return {\n        name: type.name,\n        type: type,\n        typeArgumentCount: 0,\n        selector:\n        /** @type {?} */\n        metadata.selector,\n        deps: reflectDependencies(type),\n        host: metadata.host || EMPTY_OBJ,\n        propMetadata: propMetadata,\n        inputs: metadata.inputs || EMPTY_ARRAY,\n        outputs: metadata.outputs || EMPTY_ARRAY,\n        queries: extractQueriesMetadata(type, propMetadata, isContentQuery),\n        lifecycle: {\n          usesOnChanges: type.prototype.hasOwnProperty('ngOnChanges')\n        },\n        typeSourceSpan:\n        /** @type {?} */\n        null,\n        usesInheritance: !extendsDirectlyFromObject(type),\n        exportAs: extractExportAs(metadata.exportAs),\n        providers: metadata.providers || null,\n        viewQueries: extractQueriesMetadata(type, propMetadata, isViewQuery)\n      };\n    }\n    /**\n     * Adds an `ngBaseDef` to all parent classes of a type that don't have an Angular decorator.\n     * @param {?} type\n     * @return {?}\n     */\n\n\n    function addBaseDefToUndecoratedParents(type) {\n      /** @type {?} */\n      var objPrototype = Object.prototype;\n      /** @type {?} */\n\n      var parent = Object.getPrototypeOf(type); // Go up the prototype until we hit `Object`.\n\n      while (parent && parent !== objPrototype) {\n        // Since inheritance works if the class was annotated already, we only need to add\n        // the base def if there are no annotations and the base def hasn't been created already.\n        if (!getDirectiveDef(parent) && !getComponentDef(parent) && !getBaseDef(parent)) {\n          /** @type {?} */\n          var facade = extractBaseDefMetadata(parent);\n          facade && compileBase(parent, facade);\n        }\n\n        parent = Object.getPrototypeOf(parent);\n      }\n    }\n    /**\n     * Compiles the base metadata into a base definition.\n     * @param {?} type\n     * @param {?} facade\n     * @return {?}\n     */\n\n\n    function compileBase(type, facade) {\n      /** @type {?} */\n\n      /** @nocollapse */\n      var ngBaseDef = null;\n      Object.defineProperty(type, NG_BASE_DEF, {\n        get:\n        /**\n        * @return {?}\n        */\n        function get() {\n          if (ngBaseDef === null) {\n            /** @type {?} */\n            var name = type && type.name;\n            /** @type {?} */\n\n            var sourceMapUrl = \"ng://\".concat(name, \"/ngBaseDef.js\");\n            /** @type {?} */\n\n            var compiler = getCompilerFacade();\n            ngBaseDef = compiler.compileBase(angularCoreEnv, sourceMapUrl, facade);\n          }\n\n          return ngBaseDef;\n        },\n        // Make the property configurable in dev mode to allow overriding in tests\n        configurable: !!ngDevMode\n      });\n    }\n    /**\n     * Extracts the metadata necessary to construct an `ngBaseDef` from a class.\n     * @param {?} type\n     * @return {?}\n     */\n\n\n    function extractBaseDefMetadata(type) {\n      /** @type {?} */\n      var propMetadata = getReflect().ownPropMetadata(type);\n      /** @type {?} */\n\n      var viewQueries = extractQueriesMetadata(type, propMetadata, isViewQuery);\n      /** @type {?} */\n\n      var queries = extractQueriesMetadata(type, propMetadata, isContentQuery);\n      /** @type {?} */\n\n      var inputs;\n      /** @type {?} */\n\n      var outputs; // We only need to know whether there are any HostListener or HostBinding\n      // decorators present, the parsing logic is in the compiler already.\n\n      /** @type {?} */\n\n      var hasHostDecorators = false;\n\n      var _loop7 = function _loop7(field) {\n        propMetadata[field].forEach(\n        /**\n        * @param {?} ann\n        * @return {?}\n        */\n        function (ann) {\n          /** @type {?} */\n          var metadataName = ann.ngMetadataName;\n\n          if (metadataName === 'Input') {\n            inputs = inputs || {};\n            inputs[field] = ann.bindingPropertyName ? [ann.bindingPropertyName, field] : field;\n          } else if (metadataName === 'Output') {\n            outputs = outputs || {};\n            outputs[field] = ann.bindingPropertyName || field;\n          } else if (metadataName === 'HostBinding' || metadataName === 'HostListener') {\n            hasHostDecorators = true;\n          }\n        });\n      };\n\n      for (var field in propMetadata) {\n        _loop7(field);\n      } // Only generate the base def if there's any info inside it.\n\n\n      if (inputs || outputs || viewQueries.length || queries.length || hasHostDecorators) {\n        return {\n          name: type.name,\n          type: type,\n          inputs: inputs,\n          outputs: outputs,\n          viewQueries: viewQueries,\n          queries: queries,\n          propMetadata: propMetadata\n        };\n      }\n\n      return null;\n    }\n    /**\n     * @param {?} selector\n     * @return {?}\n     */\n\n\n    function convertToR3QueryPredicate(selector) {\n      return typeof selector === 'string' ? splitByComma(selector) : resolveForwardRef(selector);\n    }\n    /**\n     * @param {?} propertyName\n     * @param {?} ann\n     * @return {?}\n     */\n\n\n    function convertToR3QueryMetadata(propertyName, ann) {\n      return {\n        propertyName: propertyName,\n        predicate: convertToR3QueryPredicate(ann.selector),\n        descendants: ann.descendants,\n        first: ann.first,\n        read: ann.read ? ann.read : null,\n        static: !!ann.static\n      };\n    }\n    /**\n     * @param {?} type\n     * @param {?} propMetadata\n     * @param {?} isQueryAnn\n     * @return {?}\n     */\n\n\n    function extractQueriesMetadata(type, propMetadata, isQueryAnn) {\n      /** @type {?} */\n      var queriesMeta = [];\n\n      var _loop8 = function _loop8(field) {\n        if (propMetadata.hasOwnProperty(field)) {\n          /** @type {?} */\n          var annotations = propMetadata[field];\n          annotations.forEach(\n          /**\n          * @param {?} ann\n          * @return {?}\n          */\n          function (ann) {\n            if (isQueryAnn(ann)) {\n              if (!ann.selector) {\n                throw new Error(\"Can't construct a query for the property \\\"\".concat(field, \"\\\" of \") + \"\\\"\".concat(stringifyForError(type), \"\\\" since the query selector wasn't defined.\"));\n              }\n\n              if (annotations.some(isInputAnn)) {\n                throw new Error(\"Cannot combine @Input decorators with query decorators\");\n              }\n\n              queriesMeta.push(convertToR3QueryMetadata(field, ann));\n            }\n          });\n        }\n      };\n\n      for (var field in propMetadata) {\n        _loop8(field);\n      }\n\n      return queriesMeta;\n    }\n    /**\n     * @param {?} exportAs\n     * @return {?}\n     */\n\n\n    function extractExportAs(exportAs) {\n      if (exportAs === undefined) {\n        return null;\n      }\n\n      return exportAs.split(',').map(\n      /**\n      * @param {?} part\n      * @return {?}\n      */\n      function (part) {\n        return part.trim();\n      });\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function isContentQuery(value) {\n      /** @type {?} */\n      var name = value.ngMetadataName;\n      return name === 'ContentChild' || name === 'ContentChildren';\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function isViewQuery(value) {\n      /** @type {?} */\n      var name = value.ngMetadataName;\n      return name === 'ViewChild' || name === 'ViewChildren';\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function isInputAnn(value) {\n      return value.ngMetadataName === 'Input';\n    }\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function splitByComma(value) {\n      return value.split(',').map(\n      /**\n      * @param {?} piece\n      * @return {?}\n      */\n      function (piece) {\n        return piece.trim();\n      });\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @param {?} type\n     * @param {?} meta\n     * @return {?}\n     */\n\n\n    function compilePipe(type, meta) {\n      /** @type {?} */\n\n      /** @nocollapse */\n      var ngPipeDef = null;\n      Object.defineProperty(type, NG_PIPE_DEF, {\n        get:\n        /**\n        * @return {?}\n        */\n        function get() {\n          if (ngPipeDef === null) {\n            /** @type {?} */\n            var _typeName = type.name;\n            ngPipeDef = getCompilerFacade().compilePipe(angularCoreEnv, \"ng:///\".concat(_typeName, \"/ngPipeDef.js\"), {\n              type: type,\n              typeArgumentCount: 0,\n              name: _typeName,\n              deps: reflectDependencies(type),\n              pipeName: meta.name,\n              pure: meta.pure !== undefined ? meta.pure : true\n            });\n          }\n\n          return ngPipeDef;\n        },\n        // Make the property configurable in dev mode to allow overriding in tests\n        configurable: !!ngDevMode\n      });\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Type of the Directive decorator / constructor function.\n     * \\@publicApi\n     * @record\n     */\n\n\n    function DirectiveDecorator() {} // WARNING: interface has both a type and a value, skipping emit\n\n\n    var ɵ0$f =\n    /**\n    * @param {?=} dir\n    * @return {?}\n    */\n    function ɵ0$f() {\n      var dir = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n      return dir;\n    },\n        ɵ1$4 =\n    /**\n    * @param {?} type\n    * @param {?} meta\n    * @return {?}\n    */\n    function ɵ1$4(type, meta) {\n      return SWITCH_COMPILE_DIRECTIVE(type, meta);\n    };\n    /**\n     * Type of the Directive metadata.\n     *\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var Directive = makeDecorator('Directive', ɵ0$f, undefined, undefined, ɵ1$4);\n    /**\n     * Component decorator interface\n     *\n     * \\@publicApi\n     * @record\n     */\n\n    function ComponentDecorator() {} // WARNING: interface has both a type and a value, skipping emit\n\n\n    var ɵ2$1 =\n    /**\n    * @param {?=} c\n    * @return {?}\n    */\n    function ɵ2$1() {\n      var c = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n      return Object.assign({\n        changeDetection: ChangeDetectionStrategy.Default\n      }, c);\n    },\n        ɵ3$1 =\n    /**\n    * @param {?} type\n    * @param {?} meta\n    * @return {?}\n    */\n    function ɵ3$1(type, meta) {\n      return SWITCH_COMPILE_COMPONENT(type, meta);\n    };\n    /**\n     * Component decorator and metadata.\n     *\n     * \\@Annotation\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var Component = makeDecorator('Component', ɵ2$1, Directive, undefined, ɵ3$1);\n    /**\n     * Type of the Pipe decorator / constructor function.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n    function PipeDecorator() {} // WARNING: interface has both a type and a value, skipping emit\n\n\n    var ɵ4 =\n    /**\n    * @param {?} p\n    * @return {?}\n    */\n    function ɵ4(p) {\n      return Object.assign({\n        pure: true\n      }, p);\n    },\n        ɵ5 =\n    /**\n    * @param {?} type\n    * @param {?} meta\n    * @return {?}\n    */\n    function ɵ5(type, meta) {\n      return SWITCH_COMPILE_PIPE(type, meta);\n    };\n    /**\n     * \\@Annotation\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var Pipe = makeDecorator('Pipe', ɵ4, undefined, undefined, ɵ5);\n    /**\n     * \\@publicApi\n     * @record\n     */\n\n    function InputDecorator() {} // WARNING: interface has both a type and a value, skipping emit\n\n\n    var ɵ6 =\n    /**\n    * @param {?=} bindingPropertyName\n    * @return {?}\n    */\n    function ɵ6(bindingPropertyName) {\n      return {\n        bindingPropertyName: bindingPropertyName\n      };\n    };\n    /**\n     * \\@Annotation\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var Input = makePropDecorator('Input', ɵ6);\n    /**\n     * Type of the Output decorator / constructor function.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n    function OutputDecorator() {} // WARNING: interface has both a type and a value, skipping emit\n\n\n    var ɵ7 =\n    /**\n    * @param {?=} bindingPropertyName\n    * @return {?}\n    */\n    function ɵ7(bindingPropertyName) {\n      return {\n        bindingPropertyName: bindingPropertyName\n      };\n    };\n    /**\n     * \\@Annotation\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var Output = makePropDecorator('Output', ɵ7);\n    /**\n     * Type of the HostBinding decorator / constructor function.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n    function HostBindingDecorator() {} // WARNING: interface has both a type and a value, skipping emit\n\n\n    var ɵ8 =\n    /**\n    * @param {?=} hostPropertyName\n    * @return {?}\n    */\n    function ɵ8(hostPropertyName) {\n      return {\n        hostPropertyName: hostPropertyName\n      };\n    };\n    /**\n     * \\@Annotation\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var HostBinding = makePropDecorator('HostBinding', ɵ8);\n    /**\n     * Type of the HostListener decorator / constructor function.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n    function HostListenerDecorator() {} // WARNING: interface has both a type and a value, skipping emit\n\n\n    var ɵ9 =\n    /**\n    * @param {?=} eventName\n    * @param {?=} args\n    * @return {?}\n    */\n    function ɵ9(eventName, args) {\n      return {\n        eventName: eventName,\n        args: args\n      };\n    };\n    /**\n     * Decorator that binds a DOM event to a host listener and supplies configuration metadata.\n     * Angular invokes the supplied handler method when the host element emits the specified event,\n     * and updates the bound element with the result.\n     *\n     * If the handler method returns false, applies `preventDefault` on the bound element.\n     *\n     * \\@usageNotes\n     *\n     * The following example declares a directive\n     * that attaches a click listener to a button and counts clicks.\n     *\n     * ```ts\n     * \\@Directive({selector: 'button[counting]'})\n     * class CountClicks {\n     *   numberOfClicks = 0;\n     *\n     * \\@HostListener('click', ['$event.target'])\n     *   onClick(btn) {\n     *     console.log('button', btn, 'number of clicks:', this.numberOfClicks++);\n     *  }\n     * }\n     *\n     * \\@Component({\n     *   selector: 'app',\n     *   template: '<button counting>Increment</button>',\n     * })\n     * class App {}\n     * ```\n     *\n     * \\@Annotation\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var HostListener = makePropDecorator('HostListener', ɵ9);\n    /** @type {?} */\n\n    var SWITCH_COMPILE_COMPONENT__POST_R3__ = compileComponent;\n    /** @type {?} */\n\n    var SWITCH_COMPILE_DIRECTIVE__POST_R3__ = compileDirective;\n    /** @type {?} */\n\n    var SWITCH_COMPILE_PIPE__POST_R3__ = compilePipe;\n    /** @type {?} */\n\n    var SWITCH_COMPILE_COMPONENT__PRE_R3__ = noop;\n    /** @type {?} */\n\n    var SWITCH_COMPILE_DIRECTIVE__PRE_R3__ = noop;\n    /** @type {?} */\n\n    var SWITCH_COMPILE_PIPE__PRE_R3__ = noop;\n    /** @type {?} */\n\n    var SWITCH_COMPILE_COMPONENT = SWITCH_COMPILE_COMPONENT__PRE_R3__;\n    /** @type {?} */\n\n    var SWITCH_COMPILE_DIRECTIVE = SWITCH_COMPILE_DIRECTIVE__PRE_R3__;\n    /** @type {?} */\n\n    var SWITCH_COMPILE_PIPE = SWITCH_COMPILE_PIPE__PRE_R3__;\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Represents the expansion of an `NgModule` into its scopes.\n     *\n     * A scope is a set of directives and pipes that are visible in a particular context. Each\n     * `NgModule` has two scopes. The `compilation` scope is the set of directives and pipes that will\n     * be recognized in the templates of components declared by the module. The `exported` scope is the\n     * set of directives and pipes exported by a module (that is, module B's exported scope gets added\n     * to module A's compilation scope when module A imports B).\n     * @record\n     */\n\n    function NgModuleTransitiveScopes() {}\n\n    if (false) {}\n    /**\n     * Runtime link information for NgModules.\n     *\n     * This is the internal data structure used by the runtime to assemble components, directives,\n     * pipes, and injectors.\n     *\n     * NOTE: Always use `ɵɵdefineNgModule` function to create this object,\n     * never create the object directly since the shape of this object\n     * can change between versions.\n     * @record\n     * @template T\n     */\n\n\n    function NgModuleDef() {}\n\n    if (false) {}\n    /**\n     * A wrapper around an NgModule that associates it with the providers.\n     *\n     * @param T the module type. In Ivy applications, this must be explicitly\n     * provided.\n     *\n     * \\@publicApi\n     * @record\n     * @template T\n     */\n\n\n    function ModuleWithProviders() {}\n\n    if (false) {}\n    /**\n     * Type of the NgModule decorator / constructor function.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n\n    function NgModuleDecorator() {} // WARNING: interface has both a type and a value, skipping emit\n\n\n    var ɵ0$g =\n    /**\n    * @param {?} ngModule\n    * @return {?}\n    */\n    function ɵ0$g(ngModule) {\n      return ngModule;\n    },\n        ɵ1$5 =\n    /**\n    * Decorator that marks the following class as an NgModule, and supplies\n    * configuration metadata for it.\n    *\n    * * The `declarations` and `entryComponents` options configure the compiler\n    * with information about what belongs to the NgModule.\n    * * The `providers` options configures the NgModule's injector to provide\n    * dependencies the NgModule members.\n    * * The `imports` and `exports` options bring in members from other modules, and make\n    * this module's members available to others.\n    * @param {?} type\n    * @param {?} meta\n    * @return {?}\n    */\n    function ɵ1$5(type, meta) {\n      return SWITCH_COMPILE_NGMODULE(type, meta);\n    };\n    /**\n     * \\@Annotation\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var NgModule = makeDecorator('NgModule', ɵ0$g, undefined, undefined, ɵ1$5);\n    /**\n     * \\@description\n     * Hook for manual bootstrapping of the application instead of using bootstrap array in \\@NgModule\n     * annotation.\n     *\n     * Reference to the current application is provided as a parameter.\n     *\n     * See [\"Bootstrapping\"](guide/bootstrapping) and [\"Entry components\"](guide/entry-components).\n     *\n     * \\@usageNotes\n     * ```typescript\n     * class AppModule implements DoBootstrap {\n     *   ngDoBootstrap(appRef: ApplicationRef) {\n     *     appRef.bootstrap(AppComponent); // Or some other component\n     *   }\n     * }\n     * ```\n     *\n     * \\@publicApi\n     * @record\n     */\n\n    function DoBootstrap() {}\n\n    if (false) {}\n    /**\n     * @param {?} moduleType\n     * @param {?=} metadata\n     * @return {?}\n     */\n\n\n    function preR3NgModuleCompile(moduleType, metadata) {\n      /** @type {?} */\n      var imports = metadata && metadata.imports || [];\n\n      if (metadata && metadata.exports) {\n        imports = [].concat(_toConsumableArray(imports), [metadata.exports]);\n      }\n\n      /** @type {?} */\n      moduleType.ngInjectorDef = ɵɵdefineInjector({\n        factory: convertInjectableProviderToFactory(moduleType, {\n          useClass: moduleType\n        }),\n        providers: metadata && metadata.providers,\n        imports: imports\n      });\n    }\n    /** @type {?} */\n\n\n    var SWITCH_COMPILE_NGMODULE__POST_R3__ = compileNgModule;\n    /** @type {?} */\n\n    var SWITCH_COMPILE_NGMODULE__PRE_R3__ = preR3NgModuleCompile;\n    /** @type {?} */\n\n    var SWITCH_COMPILE_NGMODULE = SWITCH_COMPILE_NGMODULE__PRE_R3__;\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * A function that will be executed when an application is initialized.\n     *\n     * \\@publicApi\n     * @type {?}\n     */\n\n    var APP_INITIALIZER = new InjectionToken('Application Initializer');\n    /**\n     * A class that reflects the state of running {\\@link APP_INITIALIZER}s.\n     *\n     * \\@publicApi\n     */\n\n    var ApplicationInitStatus =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} appInits\n       */\n      function ApplicationInitStatus(appInits) {\n        var _this459 = this;\n\n        _classCallCheck(this, ApplicationInitStatus);\n\n        this.appInits = appInits;\n        this.initialized = false;\n        this.done = false;\n        this.donePromise = new Promise(\n        /**\n        * @param {?} res\n        * @param {?} rej\n        * @return {?}\n        */\n        function (res, rej) {\n          _this459.resolve = res;\n          _this459.reject = rej;\n        });\n      }\n      /**\n       * \\@internal\n       * @return {?}\n       */\n\n\n      _createClass2(ApplicationInitStatus, [{\n        key: \"runInitializers\",\n        value: function runInitializers() {\n          var _this460 = this;\n\n          if (this.initialized) {\n            return;\n          }\n          /** @type {?} */\n\n\n          var asyncInitPromises = [];\n          /** @type {?} */\n\n          var complete =\n          /**\n          * @return {?}\n          */\n          function complete() {\n            /** @type {?} */\n            _this460.done = true;\n\n            _this460.resolve();\n          };\n\n          if (this.appInits) {\n            for (var i = 0; i < this.appInits.length; i++) {\n              /** @type {?} */\n              var initResult = this.appInits[i]();\n\n              if (isPromise(initResult)) {\n                asyncInitPromises.push(initResult);\n              }\n            }\n          }\n\n          Promise.all(asyncInitPromises).then(\n          /**\n          * @return {?}\n          */\n          function () {\n            complete();\n          }).catch(\n          /**\n          * @param {?} e\n          * @return {?}\n          */\n          function (e) {\n            _this460.reject(e);\n          });\n\n          if (asyncInitPromises.length === 0) {\n            complete();\n          }\n\n          this.initialized = true;\n        }\n      }]);\n\n      return ApplicationInitStatus;\n    }();\n\n    ApplicationInitStatus.decorators = [{\n      type: Injectable\n    }];\n    /** @nocollapse */\n\n    ApplicationInitStatus.ctorParameters = function () {\n      return [{\n        type: Array,\n        decorators: [{\n          type: Inject,\n          args: [APP_INITIALIZER]\n        }, {\n          type: Optional\n        }]\n      }];\n    };\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * A DI Token representing a unique string id assigned to the application by Angular and used\n     * primarily for prefixing application attributes and CSS styles when\n     * {\\@link ViewEncapsulation#Emulated ViewEncapsulation.Emulated} is being used.\n     *\n     * If you need to avoid randomly generated value to be used as an application id, you can provide\n     * a custom value via a DI provider <!-- TODO: provider --> configuring the root {\\@link Injector}\n     * using this token.\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var APP_ID = new InjectionToken('AppId');\n    /**\n     * @return {?}\n     */\n\n    function _appIdRandomProviderFactory() {\n      return \"\".concat(_randomChar()).concat(_randomChar()).concat(_randomChar());\n    }\n    /**\n     * Providers that will generate a random APP_ID_TOKEN.\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var APP_ID_RANDOM_PROVIDER = {\n      provide: APP_ID,\n      useFactory: _appIdRandomProviderFactory,\n      deps:\n      /** @type {?} */\n      []\n    };\n    /**\n     * @return {?}\n     */\n\n    function _randomChar() {\n      return String.fromCharCode(97 + Math.floor(Math.random() * 25));\n    }\n    /**\n     * A function that will be executed when a platform is initialized.\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var PLATFORM_INITIALIZER = new InjectionToken('Platform Initializer');\n    /**\n     * A token that indicates an opaque platform id.\n     * \\@publicApi\n     * @type {?}\n     */\n\n    var PLATFORM_ID = new InjectionToken('Platform ID');\n    /**\n     * All callbacks provided via this token will be called for every component that is bootstrapped.\n     * Signature of the callback:\n     *\n     * `(componentRef: ComponentRef) => void`.\n     *\n     * \\@publicApi\n     * @type {?}\n     */\n\n    var APP_BOOTSTRAP_LISTENER = new InjectionToken('appBootstrapListener');\n    /**\n     * A token which indicates the root directory of the application\n     * \\@publicApi\n     * @type {?}\n     */\n\n    var PACKAGE_ROOT_URL = new InjectionToken('Application Packages Root URL');\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    var Console =\n    /*#__PURE__*/\n    function () {\n      function Console() {\n        _classCallCheck(this, Console);\n      }\n\n      _createClass2(Console, [{\n        key: \"log\",\n\n        /**\n         * @param {?} message\n         * @return {?}\n         */\n        value: function log(message) {\n          // tslint:disable-next-line:no-console\n          console.log(message);\n        } // Note: for reporting errors use `DOM.logError()` as it is platform specific\n\n        /**\n         * @param {?} message\n         * @return {?}\n         */\n\n      }, {\n        key: \"warn\",\n        value: function warn(message) {\n          // tslint:disable-next-line:no-console\n          console.warn(message);\n        }\n      }]);\n\n      return Console;\n    }();\n\n    Console.decorators = [{\n      type: Injectable\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Provide this token to set the locale of your application.\n     * It is used for i18n extraction, by i18n pipes (DatePipe, I18nPluralPipe, CurrencyPipe,\n     * DecimalPipe and PercentPipe) and by ICU expressions.\n     *\n     * See the [i18n guide](guide/i18n#setting-up-locale) for more information.\n     *\n     * \\@usageNotes\n     * ### Example\n     *\n     * ```typescript\n     * import { LOCALE_ID } from '\\@angular/core';\n     * import { platformBrowserDynamic } from '\\@angular/platform-browser-dynamic';\n     * import { AppModule } from './app/app.module';\n     *\n     * platformBrowserDynamic().bootstrapModule(AppModule, {\n     *   providers: [{provide: LOCALE_ID, useValue: 'en-US' }]\n     * });\n     * ```\n     *\n     * \\@publicApi\n     * @type {?}\n     */\n\n    var LOCALE_ID$1 = new InjectionToken('LocaleId');\n    /**\n     * Use this token at bootstrap to provide the content of your translation file (`xtb`,\n     * `xlf` or `xlf2`) when you want to translate your application in another language.\n     *\n     * See the [i18n guide](guide/i18n#merge) for more information.\n     *\n     * \\@usageNotes\n     * ### Example\n     *\n     * ```typescript\n     * import { TRANSLATIONS } from '\\@angular/core';\n     * import { platformBrowserDynamic } from '\\@angular/platform-browser-dynamic';\n     * import { AppModule } from './app/app.module';\n     *\n     * // content of your translation file\n     * const translations = '....';\n     *\n     * platformBrowserDynamic().bootstrapModule(AppModule, {\n     *   providers: [{provide: TRANSLATIONS, useValue: translations }]\n     * });\n     * ```\n     *\n     * \\@publicApi\n     * @type {?}\n     */\n\n    var TRANSLATIONS$1 = new InjectionToken('Translations');\n    /**\n     * Provide this token at bootstrap to set the format of your {\\@link TRANSLATIONS}: `xtb`,\n     * `xlf` or `xlf2`.\n     *\n     * See the [i18n guide](guide/i18n#merge) for more information.\n     *\n     * \\@usageNotes\n     * ### Example\n     *\n     * ```typescript\n     * import { TRANSLATIONS_FORMAT } from '\\@angular/core';\n     * import { platformBrowserDynamic } from '\\@angular/platform-browser-dynamic';\n     * import { AppModule } from './app/app.module';\n     *\n     * platformBrowserDynamic().bootstrapModule(AppModule, {\n     *   providers: [{provide: TRANSLATIONS_FORMAT, useValue: 'xlf' }]\n     * });\n     * ```\n     *\n     * \\@publicApi\n     * @type {?}\n     */\n\n    var TRANSLATIONS_FORMAT = new InjectionToken('TranslationsFormat');\n    /** @enum {number} */\n\n    var MissingTranslationStrategy = {\n      Error: 0,\n      Warning: 1,\n      Ignore: 2\n    };\n    MissingTranslationStrategy[MissingTranslationStrategy.Error] = 'Error';\n    MissingTranslationStrategy[MissingTranslationStrategy.Warning] = 'Warning';\n    MissingTranslationStrategy[MissingTranslationStrategy.Ignore] = 'Ignore';\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /** @type {?} */\n\n    var SWITCH_IVY_ENABLED__POST_R3__ = true;\n    /** @type {?} */\n\n    var SWITCH_IVY_ENABLED__PRE_R3__ = false;\n    /** @type {?} */\n\n    var ivyEnabled = SWITCH_IVY_ENABLED__PRE_R3__;\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Combination of NgModuleFactory and ComponentFactorys.\n     *\n     * \\@publicApi\n     * @template T\n     */\n\n    var ModuleWithComponentFactories =\n    /**\n     * @param {?} ngModuleFactory\n     * @param {?} componentFactories\n     */\n    function ModuleWithComponentFactories(ngModuleFactory, componentFactories) {\n      _classCallCheck(this, ModuleWithComponentFactories);\n\n      this.ngModuleFactory = ngModuleFactory;\n      this.componentFactories = componentFactories;\n    };\n\n    if (false) {}\n    /**\n     * @return {?}\n     */\n\n\n    function _throwError() {\n      throw new Error(\"Runtime compiler is not loaded\");\n    }\n    /** @type {?} */\n\n\n    var Compiler_compileModuleSync__PRE_R3__ =\n    /** @type {?} */\n    _throwError;\n    /** @type {?} */\n\n    var Compiler_compileModuleSync__POST_R3__ =\n    /**\n    * @template T\n    * @param {?} moduleType\n    * @return {?}\n    */\n    function Compiler_compileModuleSync__POST_R3__(moduleType) {\n      return new NgModuleFactory$1(moduleType);\n    };\n    /** @type {?} */\n\n\n    var Compiler_compileModuleSync = Compiler_compileModuleSync__PRE_R3__;\n    /** @type {?} */\n\n    var Compiler_compileModuleAsync__PRE_R3__ =\n    /** @type {?} */\n    _throwError;\n    /** @type {?} */\n\n    var Compiler_compileModuleAsync__POST_R3__ =\n    /**\n    * @template T\n    * @param {?} moduleType\n    * @return {?}\n    */\n    function Compiler_compileModuleAsync__POST_R3__(moduleType) {\n      return Promise.resolve(Compiler_compileModuleSync__POST_R3__(moduleType));\n    };\n    /** @type {?} */\n\n\n    var Compiler_compileModuleAsync = Compiler_compileModuleAsync__PRE_R3__;\n    /** @type {?} */\n\n    var Compiler_compileModuleAndAllComponentsSync__PRE_R3__ =\n    /** @type {?} */\n    _throwError;\n    /** @type {?} */\n\n    var Compiler_compileModuleAndAllComponentsSync__POST_R3__ =\n    /**\n    * @template T\n    * @param {?} moduleType\n    * @return {?}\n    */\n    function Compiler_compileModuleAndAllComponentsSync__POST_R3__(moduleType) {\n      /** @type {?} */\n      var ngModuleFactory = Compiler_compileModuleSync__POST_R3__(moduleType);\n      /** @type {?} */\n\n      var moduleDef =\n      /** @type {?} */\n      getNgModuleDef(moduleType);\n      /** @type {?} */\n\n      var componentFactories = maybeUnwrapFn(moduleDef.declarations).reduce(\n      /**\n      * @param {?} factories\n      * @param {?} declaration\n      * @return {?}\n      */\n      function (factories, declaration) {\n        /** @type {?} */\n        var componentDef = getComponentDef(declaration);\n        componentDef && factories.push(new ComponentFactory$1(componentDef));\n        return factories;\n      },\n      /** @type {?} */\n      []);\n      return new ModuleWithComponentFactories(ngModuleFactory, componentFactories);\n    };\n    /** @type {?} */\n\n\n    var Compiler_compileModuleAndAllComponentsSync = Compiler_compileModuleAndAllComponentsSync__PRE_R3__;\n    /** @type {?} */\n\n    var Compiler_compileModuleAndAllComponentsAsync__PRE_R3__ =\n    /** @type {?} */\n    _throwError;\n    /** @type {?} */\n\n    var Compiler_compileModuleAndAllComponentsAsync__POST_R3__ =\n    /**\n    * @template T\n    * @param {?} moduleType\n    * @return {?}\n    */\n    function Compiler_compileModuleAndAllComponentsAsync__POST_R3__(moduleType) {\n      return Promise.resolve(Compiler_compileModuleAndAllComponentsSync__POST_R3__(moduleType));\n    };\n    /** @type {?} */\n\n\n    var Compiler_compileModuleAndAllComponentsAsync = Compiler_compileModuleAndAllComponentsAsync__PRE_R3__;\n    /**\n     * Low-level service for running the angular compiler during runtime\n     * to create {\\@link ComponentFactory}s, which\n     * can later be used to create and render a Component instance.\n     *\n     * Each `\\@NgModule` provides an own `Compiler` to its injector,\n     * that will use the directives/pipes of the ng module for compilation\n     * of components.\n     *\n     * \\@publicApi\n     */\n\n    var Compiler =\n    /*#__PURE__*/\n    function () {\n      function Compiler() {\n        _classCallCheck(this, Compiler);\n\n        /**\n         * Compiles the given NgModule and all of its components. All templates of the components listed\n         * in `entryComponents` have to be inlined.\n         */\n        this.compileModuleSync = Compiler_compileModuleSync;\n        /**\n         * Compiles the given NgModule and all of its components\n         */\n\n        this.compileModuleAsync = Compiler_compileModuleAsync;\n        /**\n         * Same as {\\@link #compileModuleSync} but also creates ComponentFactories for all components.\n         */\n\n        this.compileModuleAndAllComponentsSync = Compiler_compileModuleAndAllComponentsSync;\n        /**\n         * Same as {\\@link #compileModuleAsync} but also creates ComponentFactories for all components.\n         */\n\n        this.compileModuleAndAllComponentsAsync = Compiler_compileModuleAndAllComponentsAsync;\n      }\n      /**\n       * Clears all caches.\n       * @return {?}\n       */\n\n\n      _createClass2(Compiler, [{\n        key: \"clearCache\",\n        value: function clearCache() {}\n        /**\n         * Clears the cache for the given component/ngModule.\n         * @param {?} type\n         * @return {?}\n         */\n\n      }, {\n        key: \"clearCacheFor\",\n        value: function clearCacheFor(type) {}\n        /**\n         * Returns the id for a given NgModule, if one is defined and known to the compiler.\n         * @param {?} moduleType\n         * @return {?}\n         */\n\n      }, {\n        key: \"getModuleId\",\n        value: function getModuleId(moduleType) {\n          return undefined;\n        }\n      }]);\n\n      return Compiler;\n    }();\n\n    Compiler.decorators = [{\n      type: Injectable\n    }];\n\n    if (false) {}\n    /**\n     * Token to provide CompilerOptions in the platform injector.\n     *\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var COMPILER_OPTIONS = new InjectionToken('compilerOptions');\n    /**\n     * A factory for creating a Compiler\n     *\n     * \\@publicApi\n     * @abstract\n     */\n\n    var CompilerFactory = function CompilerFactory() {\n      _classCallCheck(this, CompilerFactory);\n    };\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * A scope function for the Web Tracing Framework (WTF).\n     *\n     * \\@publicApi\n     * @deprecated the Web Tracing Framework is no longer supported in Angular\n     * @record\n     */\n\n\n    function WtfScopeFn() {}\n    /**\n     * @record\n     */\n\n\n    function WTF() {}\n\n    if (false) {}\n    /**\n     * @record\n     */\n\n\n    function Trace() {}\n\n    if (false) {}\n    /**\n     * @record\n     */\n\n\n    function Range() {}\n    /**\n     * @record\n     */\n\n\n    function Events() {}\n\n    if (false) {}\n    /**\n     * @record\n     */\n\n\n    function Scope() {}\n    /** @type {?} */\n\n\n    var trace;\n    /** @type {?} */\n\n    var events;\n    /**\n     * @return {?}\n     */\n\n    function detectWTF() {\n      /** @type {?} */\n      var wtf =\n      /** @type {?} */\n      _global['wtf'];\n\n      if (wtf) {\n        trace = wtf['trace'];\n\n        if (trace) {\n          events = trace['events'];\n          return true;\n        }\n      }\n\n      return false;\n    }\n    /**\n     * @param {?} signature\n     * @param {?=} flags\n     * @return {?}\n     */\n\n\n    function createScope(signature) {\n      var flags = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n      return events.createScope(signature, flags);\n    }\n    /**\n     * @template T\n     * @param {?} scope\n     * @param {?=} returnValue\n     * @return {?}\n     */\n\n\n    function leave(scope, returnValue) {\n      trace.leaveScope(scope, returnValue);\n      return returnValue;\n    }\n    /**\n     * @param {?} rangeType\n     * @param {?} action\n     * @return {?}\n     */\n\n\n    function startTimeRange(rangeType, action) {\n      return trace.beginTimeRange(rangeType, action);\n    }\n    /**\n     * @param {?} range\n     * @return {?}\n     */\n\n\n    function endTimeRange(range) {\n      trace.endTimeRange(range);\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * True if WTF is enabled.\n     * @type {?}\n     */\n\n\n    var wtfEnabled = detectWTF();\n    /**\n     * @param {?=} arg0\n     * @param {?=} arg1\n     * @return {?}\n     */\n\n    function noopScope(arg0, arg1) {\n      return null;\n    }\n    /**\n     * Create trace scope.\n     *\n     * Scopes must be strictly nested and are analogous to stack frames, but\n     * do not have to follow the stack frames. Instead it is recommended that they follow logical\n     * nesting. You may want to use\n     * [Event\n     * Signatures](http://google.github.io/tracing-framework/instrumenting-code.html#custom-events)\n     * as they are defined in WTF.\n     *\n     * Used to mark scope entry. The return value is used to leave the scope.\n     *\n     *     var myScope = wtfCreateScope('MyClass#myMethod(ascii someVal)');\n     *\n     *     someMethod() {\n     *        var s = myScope('Foo'); // 'Foo' gets stored in tracing UI\n     *        // DO SOME WORK HERE\n     *        return wtfLeave(s, 123); // Return value 123\n     *     }\n     *\n     * Note, adding try-finally block around the work to ensure that `wtfLeave` gets called can\n     * negatively impact the performance of your application. For this reason we recommend that\n     * you don't add them to ensure that `wtfLeave` gets called. In production `wtfLeave` is a noop and\n     * so try-finally block has no value. When debugging perf issues, skipping `wtfLeave`, do to\n     * exception, will produce incorrect trace, but presence of exception signifies logic error which\n     * needs to be fixed before the app should be profiled. Add try-finally only when you expect that\n     * an exception is expected during normal execution while profiling.\n     *\n     * \\@publicApi\n     * @deprecated the Web Tracing Framework is no longer supported in Angular\n     * @type {?}\n     */\n\n\n    var wtfCreateScope = wtfEnabled ? createScope :\n    /**\n    * @param {?} signature\n    * @param {?=} flags\n    * @return {?}\n    */\n    function (signature, flags) {\n      return noopScope;\n    };\n    /**\n     * Used to mark end of Scope.\n     *\n     * - `scope` to end.\n     * - `returnValue` (optional) to be passed to the WTF.\n     *\n     * Returns the `returnValue for easy chaining.\n     * \\@publicApi\n     * @deprecated the Web Tracing Framework is no longer supported in Angular\n     * @type {?}\n     */\n\n    var wtfLeave = wtfEnabled ? leave :\n    /**\n    * @param {?} s\n    * @param {?=} r\n    * @return {?}\n    */\n    function (s, r) {\n      return r;\n    };\n    /**\n     * Used to mark Async start. Async are similar to scope but they don't have to be strictly nested.\n     * The return value is used in the call to [endAsync]. Async ranges only work if WTF has been\n     * enabled.\n     *\n     *     someMethod() {\n     *        var s = wtfStartTimeRange('HTTP:GET', 'some.url');\n     *        var future = new Future.delay(5).then((_) {\n     *          wtfEndTimeRange(s);\n     *        });\n     *     }\n     * \\@publicApi\n     * @deprecated the Web Tracing Framework is no longer supported in Angular\n     * @type {?}\n     */\n\n    var wtfStartTimeRange = wtfEnabled ? startTimeRange :\n    /**\n    * @param {?} rangeType\n    * @param {?} action\n    * @return {?}\n    */\n    function (rangeType, action) {\n      return null;\n    };\n    /**\n     * Ends a async time range operation.\n     * [range] is the return value from [wtfStartTimeRange] Async ranges only work if WTF has been\n     * enabled.\n     * \\@publicApi\n     * @deprecated the Web Tracing Framework is no longer supported in Angular\n     * @type {?}\n     */\n\n    var wtfEndTimeRange = wtfEnabled ? endTimeRange :\n    /**\n    * @param {?} r\n    * @return {?}\n    */\n    function (r) {\n      return null;\n    };\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    var promise = function () {\n      return Promise.resolve(0);\n    }();\n\n    function scheduleMicroTask(fn) {\n      if (typeof Zone === 'undefined') {\n        // use promise to schedule microTask instead of use Zone\n        promise.then(function () {\n          fn && fn.apply(null, null);\n        });\n      } else {\n        Zone.current.scheduleMicroTask('scheduleMicrotask', fn);\n      }\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * An injectable service for executing work inside or outside of the Angular zone.\n     *\n     * The most common use of this service is to optimize performance when starting a work consisting of\n     * one or more asynchronous tasks that don't require UI updates or error handling to be handled by\n     * Angular. Such tasks can be kicked off via {\\@link #runOutsideAngular} and if needed, these tasks\n     * can reenter the Angular zone via {\\@link #run}.\n     *\n     * <!-- TODO: add/fix links to:\n     *   - docs explaining zones and the use of zones in Angular and change-detection\n     *   - link to runOutsideAngular/run (throughout this file!)\n     *   -->\n     *\n     * \\@usageNotes\n     * ### Example\n     *\n     * ```\n     * import {Component, NgZone} from '\\@angular/core';\n     * import {NgIf} from '\\@angular/common';\n     *\n     * \\@Component({\n     *   selector: 'ng-zone-demo',\n     *   template: `\n     *     <h2>Demo: NgZone</h2>\n     *\n     *     <p>Progress: {{progress}}%</p>\n     *     <p *ngIf=\"progress >= 100\">Done processing {{label}} of Angular zone!</p>\n     *\n     *     <button (click)=\"processWithinAngularZone()\">Process within Angular zone</button>\n     *     <button (click)=\"processOutsideOfAngularZone()\">Process outside of Angular zone</button>\n     *   `,\n     * })\n     * export class NgZoneDemo {\n     *   progress: number = 0;\n     *   label: string;\n     *\n     *   constructor(private _ngZone: NgZone) {}\n     *\n     *   // Loop inside the Angular zone\n     *   // so the UI DOES refresh after each setTimeout cycle\n     *   processWithinAngularZone() {\n     *     this.label = 'inside';\n     *     this.progress = 0;\n     *     this._increaseProgress(() => console.log('Inside Done!'));\n     *   }\n     *\n     *   // Loop outside of the Angular zone\n     *   // so the UI DOES NOT refresh after each setTimeout cycle\n     *   processOutsideOfAngularZone() {\n     *     this.label = 'outside';\n     *     this.progress = 0;\n     *     this._ngZone.runOutsideAngular(() => {\n     *       this._increaseProgress(() => {\n     *         // reenter the Angular zone and display done\n     *         this._ngZone.run(() => { console.log('Outside Done!'); });\n     *       });\n     *     });\n     *   }\n     *\n     *   _increaseProgress(doneCallback: () => void) {\n     *     this.progress += 1;\n     *     console.log(`Current progress: ${this.progress}%`);\n     *\n     *     if (this.progress < 100) {\n     *       window.setTimeout(() => this._increaseProgress(doneCallback), 10);\n     *     } else {\n     *       doneCallback();\n     *     }\n     *   }\n     * }\n     * ```\n     *\n     * \\@publicApi\n     */\n\n\n    var NgZone =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} __0\n       */\n      function NgZone(_ref65) {\n        var _ref65$enableLongStac = _ref65.enableLongStackTrace,\n            enableLongStackTrace = _ref65$enableLongStac === void 0 ? false : _ref65$enableLongStac;\n\n        _classCallCheck(this, NgZone);\n\n        this.hasPendingMicrotasks = false;\n        this.hasPendingMacrotasks = false;\n        /**\n         * Whether there are no outstanding microtasks or macrotasks.\n         */\n\n        this.isStable = true;\n        /**\n         * Notifies when code enters Angular Zone. This gets fired first on VM Turn.\n         */\n\n        this.onUnstable = new EventEmitter(false);\n        /**\n         * Notifies when there is no more microtasks enqueued in the current VM Turn.\n         * This is a hint for Angular to do change detection, which may enqueue more microtasks.\n         * For this reason this event can fire multiple times per VM Turn.\n         */\n\n        this.onMicrotaskEmpty = new EventEmitter(false);\n        /**\n         * Notifies when the last `onMicrotaskEmpty` has run and there are no more microtasks, which\n         * implies we are about to relinquish VM turn.\n         * This event gets called just once.\n         */\n\n        this.onStable = new EventEmitter(false);\n        /**\n         * Notifies that an error has been delivered.\n         */\n\n        this.onError = new EventEmitter(false);\n\n        if (typeof Zone == 'undefined') {\n          throw new Error(\"In this configuration Angular requires Zone.js\");\n        }\n\n        Zone.assertZonePatched();\n        /** @type {?} */\n\n        var self =\n        /** @type {?} */\n\n        /** @type {?} */\n        this;\n        self._nesting = 0;\n        self._outer = self._inner = Zone.current;\n\n        if (\n        /** @type {?} */\n        Zone['wtfZoneSpec']) {\n          self._inner = self._inner.fork(\n          /** @type {?} */\n          Zone['wtfZoneSpec']);\n        }\n\n        if (\n        /** @type {?} */\n        Zone['TaskTrackingZoneSpec']) {\n          self._inner = self._inner.fork(new\n          /** @type {?} */\n\n          /** @type {?} */\n          Zone['TaskTrackingZoneSpec']());\n        }\n\n        if (enableLongStackTrace &&\n        /** @type {?} */\n        Zone['longStackTraceZoneSpec']) {\n          self._inner = self._inner.fork(\n          /** @type {?} */\n          Zone['longStackTraceZoneSpec']);\n        }\n\n        forkInnerZoneWithAngularBehavior(self);\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(NgZone, [{\n        key: \"run\",\n\n        /**\n         * Executes the `fn` function synchronously within the Angular zone and returns value returned by\n         * the function.\n         *\n         * Running functions via `run` allows you to reenter Angular zone from a task that was executed\n         * outside of the Angular zone (typically started via {\\@link #runOutsideAngular}).\n         *\n         * Any future tasks or microtasks scheduled from within this function will continue executing from\n         * within the Angular zone.\n         *\n         * If a synchronous error happens it will be rethrown and not reported via `onError`.\n         * @template T\n         * @param {?} fn\n         * @param {?=} applyThis\n         * @param {?=} applyArgs\n         * @return {?}\n         */\n        value: function run(fn, applyThis, applyArgs) {\n          return (\n            /** @type {?} */\n\n            /** @type {?} */\n\n            /** @type {?} */\n            this._inner.run(fn, applyThis, applyArgs)\n          );\n        }\n        /**\n         * Executes the `fn` function synchronously within the Angular zone as a task and returns value\n         * returned by the function.\n         *\n         * Running functions via `run` allows you to reenter Angular zone from a task that was executed\n         * outside of the Angular zone (typically started via {\\@link #runOutsideAngular}).\n         *\n         * Any future tasks or microtasks scheduled from within this function will continue executing from\n         * within the Angular zone.\n         *\n         * If a synchronous error happens it will be rethrown and not reported via `onError`.\n         * @template T\n         * @param {?} fn\n         * @param {?=} applyThis\n         * @param {?=} applyArgs\n         * @param {?=} name\n         * @return {?}\n         */\n\n      }, {\n        key: \"runTask\",\n        value: function runTask(fn, applyThis, applyArgs, name) {\n          /** @type {?} */\n          var zone =\n          /** @type {?} */\n\n          /** @type {?} */\n          this._inner;\n          /** @type {?} */\n\n          var task = zone.scheduleEventTask('NgZoneEvent: ' + name, fn, EMPTY_PAYLOAD, noop$1, noop$1);\n\n          try {\n            return (\n              /** @type {?} */\n              zone.runTask(task, applyThis, applyArgs)\n            );\n          } finally {\n            zone.cancelTask(task);\n          }\n        }\n        /**\n         * Same as `run`, except that synchronous errors are caught and forwarded via `onError` and not\n         * rethrown.\n         * @template T\n         * @param {?} fn\n         * @param {?=} applyThis\n         * @param {?=} applyArgs\n         * @return {?}\n         */\n\n      }, {\n        key: \"runGuarded\",\n        value: function runGuarded(fn, applyThis, applyArgs) {\n          return (\n            /** @type {?} */\n\n            /** @type {?} */\n\n            /** @type {?} */\n            this._inner.runGuarded(fn, applyThis, applyArgs)\n          );\n        }\n        /**\n         * Executes the `fn` function synchronously in Angular's parent zone and returns value returned by\n         * the function.\n         *\n         * Running functions via {\\@link #runOutsideAngular} allows you to escape Angular's zone and do\n         * work that\n         * doesn't trigger Angular change-detection or is subject to Angular's error handling.\n         *\n         * Any future tasks or microtasks scheduled from within this function will continue executing from\n         * outside of the Angular zone.\n         *\n         * Use {\\@link #run} to reenter the Angular zone and do work that updates the application model.\n         * @template T\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"runOutsideAngular\",\n        value: function runOutsideAngular(fn) {\n          return (\n            /** @type {?} */\n\n            /** @type {?} */\n\n            /** @type {?} */\n            this._outer.run(fn)\n          );\n        }\n      }], [{\n        key: \"isInAngularZone\",\n        value: function isInAngularZone() {\n          return Zone.current.get('isAngularZone') === true;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"assertInAngularZone\",\n        value: function assertInAngularZone() {\n          if (!NgZone.isInAngularZone()) {\n            throw new Error('Expected to be in Angular Zone, but it is not!');\n          }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"assertNotInAngularZone\",\n        value: function assertNotInAngularZone() {\n          if (NgZone.isInAngularZone()) {\n            throw new Error('Expected to not be in Angular Zone, but it is!');\n          }\n        }\n      }]);\n\n      return NgZone;\n    }();\n\n    if (false) {}\n    /**\n     * @return {?}\n     */\n\n\n    function noop$1() {}\n    /** @type {?} */\n\n\n    var EMPTY_PAYLOAD = {};\n    /**\n     * @record\n     */\n\n    function NgZonePrivate() {}\n\n    if (false) {}\n    /**\n     * @param {?} zone\n     * @return {?}\n     */\n\n\n    function checkStable(zone) {\n      if (zone._nesting == 0 && !zone.hasPendingMicrotasks && !zone.isStable) {\n        try {\n          zone._nesting++;\n          zone.onMicrotaskEmpty.emit(null);\n        } finally {\n          zone._nesting--;\n\n          if (!zone.hasPendingMicrotasks) {\n            try {\n              zone.runOutsideAngular(\n              /**\n              * @return {?}\n              */\n              function () {\n                return zone.onStable.emit(null);\n              });\n            } finally {\n              zone.isStable = true;\n            }\n          }\n        }\n      }\n    }\n    /**\n     * @param {?} zone\n     * @return {?}\n     */\n\n\n    function forkInnerZoneWithAngularBehavior(zone) {\n      zone._inner = zone._inner.fork({\n        name: 'angular',\n        properties:\n        /** @type {?} */\n        {\n          'isAngularZone': true\n        },\n        onInvokeTask:\n        /**\n        * @param {?} delegate\n        * @param {?} current\n        * @param {?} target\n        * @param {?} task\n        * @param {?} applyThis\n        * @param {?} applyArgs\n        * @return {?}\n        */\n        function onInvokeTask(delegate, current, target, task, applyThis, applyArgs) {\n          try {\n            onEnter(zone);\n            return delegate.invokeTask(target, task, applyThis, applyArgs);\n          } finally {\n            onLeave(zone);\n          }\n        },\n        onInvoke:\n        /**\n        * @param {?} delegate\n        * @param {?} current\n        * @param {?} target\n        * @param {?} callback\n        * @param {?} applyThis\n        * @param {?=} applyArgs\n        * @param {?=} source\n        * @return {?}\n        */\n        function onInvoke(delegate, current, target, callback, applyThis, applyArgs, source) {\n          try {\n            onEnter(zone);\n            return delegate.invoke(target, callback, applyThis, applyArgs, source);\n          } finally {\n            onLeave(zone);\n          }\n        },\n        onHasTask:\n        /**\n        * @param {?} delegate\n        * @param {?} current\n        * @param {?} target\n        * @param {?} hasTaskState\n        * @return {?}\n        */\n        function onHasTask(delegate, current, target, hasTaskState) {\n          delegate.hasTask(target, hasTaskState);\n\n          if (current === target) {\n            // We are only interested in hasTask events which originate from our zone\n            // (A child hasTask event is not interesting to us)\n            if (hasTaskState.change == 'microTask') {\n              zone.hasPendingMicrotasks = hasTaskState.microTask;\n              checkStable(zone);\n            } else if (hasTaskState.change == 'macroTask') {\n              zone.hasPendingMacrotasks = hasTaskState.macroTask;\n            }\n          }\n        },\n        onHandleError:\n        /**\n        * @param {?} delegate\n        * @param {?} current\n        * @param {?} target\n        * @param {?} error\n        * @return {?}\n        */\n        function onHandleError(delegate, current, target, error) {\n          delegate.handleError(target, error);\n          zone.runOutsideAngular(\n          /**\n          * @return {?}\n          */\n          function () {\n            return zone.onError.emit(error);\n          });\n          return false;\n        }\n      });\n    }\n    /**\n     * @param {?} zone\n     * @return {?}\n     */\n\n\n    function onEnter(zone) {\n      zone._nesting++;\n\n      if (zone.isStable) {\n        zone.isStable = false;\n        zone.onUnstable.emit(null);\n      }\n    }\n    /**\n     * @param {?} zone\n     * @return {?}\n     */\n\n\n    function onLeave(zone) {\n      zone._nesting--;\n      checkStable(zone);\n    }\n    /**\n     * Provides a noop implementation of `NgZone` which does nothing. This zone requires explicit calls\n     * to framework to perform rendering.\n     */\n\n\n    var NoopNgZone =\n    /*#__PURE__*/\n    function () {\n      function NoopNgZone() {\n        _classCallCheck(this, NoopNgZone);\n\n        this.hasPendingMicrotasks = false;\n        this.hasPendingMacrotasks = false;\n        this.isStable = true;\n        this.onUnstable = new EventEmitter();\n        this.onMicrotaskEmpty = new EventEmitter();\n        this.onStable = new EventEmitter();\n        this.onError = new EventEmitter();\n      }\n      /**\n       * @param {?} fn\n       * @return {?}\n       */\n\n\n      _createClass2(NoopNgZone, [{\n        key: \"run\",\n        value: function run(fn) {\n          return fn();\n        }\n        /**\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"runGuarded\",\n        value: function runGuarded(fn) {\n          return fn();\n        }\n        /**\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"runOutsideAngular\",\n        value: function runOutsideAngular(fn) {\n          return fn();\n        }\n        /**\n         * @template T\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"runTask\",\n        value: function runTask(fn) {\n          return fn();\n        }\n      }]);\n\n      return NoopNgZone;\n    }();\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @record\n     */\n\n\n    function PendingMacrotask() {}\n\n    if (false) {}\n    /**\n     * @record\n     */\n\n\n    function TaskData() {}\n\n    if (false) {}\n    /**\n     * @record\n     */\n\n\n    function WaitCallback() {}\n\n    if (false) {}\n    /**\n     * The Testability service provides testing hooks that can be accessed from\n     * the browser and by services such as Protractor. Each bootstrapped Angular\n     * application on the page will have an instance of Testability.\n     * \\@publicApi\n     */\n\n\n    var Testability =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _ngZone\n       */\n      function Testability(_ngZone) {\n        var _this461 = this;\n\n        _classCallCheck(this, Testability);\n\n        this._ngZone = _ngZone;\n        this._pendingCount = 0;\n        this._isZoneStable = true;\n        /**\n         * Whether any work was done since the last 'whenStable' callback. This is\n         * useful to detect if this could have potentially destabilized another\n         * component while it is stabilizing.\n         * \\@internal\n         */\n\n        this._didWork = false;\n        this._callbacks = [];\n        this.taskTrackingZone = null;\n\n        this._watchAngularEvents();\n\n        _ngZone.run(\n        /**\n        * @return {?}\n        */\n        function () {\n          _this461.taskTrackingZone = typeof Zone == 'undefined' ? null : Zone.current.get('TaskTrackingZone');\n        });\n      }\n      /**\n       * @private\n       * @return {?}\n       */\n\n\n      _createClass2(Testability, [{\n        key: \"_watchAngularEvents\",\n        value: function _watchAngularEvents() {\n          var _this462 = this;\n\n          this._ngZone.onUnstable.subscribe({\n            next:\n            /**\n            * @return {?}\n            */\n            function next() {\n              _this462._didWork = true;\n              _this462._isZoneStable = false;\n            }\n          });\n\n          this._ngZone.runOutsideAngular(\n          /**\n          * @return {?}\n          */\n          function () {\n            _this462._ngZone.onStable.subscribe({\n              next:\n              /**\n              * @return {?}\n              */\n              function next() {\n                NgZone.assertNotInAngularZone();\n                scheduleMicroTask(\n                /**\n                * @return {?}\n                */\n                function () {\n                  _this462._isZoneStable = true;\n\n                  _this462._runCallbacksIfReady();\n                });\n              }\n            });\n          });\n        }\n        /**\n         * Increases the number of pending request\n         * @deprecated pending requests are now tracked with zones.\n         * @return {?}\n         */\n\n      }, {\n        key: \"increasePendingRequestCount\",\n        value: function increasePendingRequestCount() {\n          this._pendingCount += 1;\n          this._didWork = true;\n          return this._pendingCount;\n        }\n        /**\n         * Decreases the number of pending request\n         * @deprecated pending requests are now tracked with zones\n         * @return {?}\n         */\n\n      }, {\n        key: \"decreasePendingRequestCount\",\n        value: function decreasePendingRequestCount() {\n          this._pendingCount -= 1;\n\n          if (this._pendingCount < 0) {\n            throw new Error('pending async requests below zero');\n          }\n\n          this._runCallbacksIfReady();\n\n          return this._pendingCount;\n        }\n        /**\n         * Whether an associated application is stable\n         * @return {?}\n         */\n\n      }, {\n        key: \"isStable\",\n        value: function isStable() {\n          return this._isZoneStable && this._pendingCount === 0 && !this._ngZone.hasPendingMacrotasks;\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_runCallbacksIfReady\",\n        value: function _runCallbacksIfReady() {\n          var _this463 = this;\n\n          if (this.isStable()) {\n            // Schedules the call backs in a new frame so that it is always async.\n            scheduleMicroTask(\n            /**\n            * @return {?}\n            */\n            function () {\n              while (_this463._callbacks.length !== 0) {\n                /** @type {?} */\n                var cb =\n                /** @type {?} */\n                _this463._callbacks.pop();\n\n                clearTimeout(cb.timeoutId);\n                cb.doneCb(_this463._didWork);\n              }\n\n              _this463._didWork = false;\n            });\n          } else {\n            // Still not stable, send updates.\n\n            /** @type {?} */\n            var pending = this.getPendingTasks();\n            this._callbacks = this._callbacks.filter(\n            /**\n            * @param {?} cb\n            * @return {?}\n            */\n            function (cb) {\n              if (cb.updateCb && cb.updateCb(pending)) {\n                clearTimeout(cb.timeoutId);\n                return false;\n              }\n\n              return true;\n            });\n            this._didWork = true;\n          }\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"getPendingTasks\",\n        value: function getPendingTasks() {\n          if (!this.taskTrackingZone) {\n            return [];\n          } // Copy the tasks data so that we don't leak tasks.\n\n\n          return this.taskTrackingZone.macroTasks.map(\n          /**\n          * @param {?} t\n          * @return {?}\n          */\n          function (t) {\n            return {\n              source: t.source,\n              // From TaskTrackingZone:\n              // https://github.com/angular/zone.js/blob/master/lib/zone-spec/task-tracking.ts#L40\n              creationLocation:\n              /** @type {?} */\n\n              /** @type {?} */\n              t.creationLocation,\n              data: t.data\n            };\n          });\n        }\n        /**\n         * @private\n         * @param {?} cb\n         * @param {?=} timeout\n         * @param {?=} updateCb\n         * @return {?}\n         */\n\n      }, {\n        key: \"addCallback\",\n        value: function addCallback(cb, timeout, updateCb) {\n          var _this464 = this;\n\n          /** @type {?} */\n          var timeoutId = -1;\n\n          if (timeout && timeout > 0) {\n            timeoutId = setTimeout(\n            /**\n            * @return {?}\n            */\n            function () {\n              _this464._callbacks = _this464._callbacks.filter(\n              /**\n              * @param {?} cb\n              * @return {?}\n              */\n              function (cb) {\n                return cb.timeoutId !== timeoutId;\n              });\n              cb(_this464._didWork, _this464.getPendingTasks());\n            }, timeout);\n          }\n\n          this._callbacks.push(\n          /** @type {?} */\n          {\n            doneCb: cb,\n            timeoutId: timeoutId,\n            updateCb: updateCb\n          });\n        }\n        /**\n         * Wait for the application to be stable with a timeout. If the timeout is reached before that\n         * happens, the callback receives a list of the macro tasks that were pending, otherwise null.\n         *\n         * @param {?} doneCb The callback to invoke when Angular is stable or the timeout expires\n         *    whichever comes first.\n         * @param {?=} timeout Optional. The maximum time to wait for Angular to become stable. If not\n         *    specified, whenStable() will wait forever.\n         * @param {?=} updateCb Optional. If specified, this callback will be invoked whenever the set of\n         *    pending macrotasks changes. If this callback returns true doneCb will not be invoked\n         *    and no further updates will be issued.\n         * @return {?}\n         */\n\n      }, {\n        key: \"whenStable\",\n        value: function whenStable(doneCb, timeout, updateCb) {\n          if (updateCb && !this.taskTrackingZone) {\n            throw new Error('Task tracking zone is required when passing an update callback to ' + 'whenStable(). Is \"zone.js/dist/task-tracking.js\" loaded?');\n          } // These arguments are 'Function' above to keep the public API simple.\n\n\n          this.addCallback(\n          /** @type {?} */\n          doneCb, timeout,\n          /** @type {?} */\n          updateCb);\n\n          this._runCallbacksIfReady();\n        }\n        /**\n         * Get the number of pending requests\n         * @deprecated pending requests are now tracked with zones\n         * @return {?}\n         */\n\n      }, {\n        key: \"getPendingRequestCount\",\n        value: function getPendingRequestCount() {\n          return this._pendingCount;\n        }\n        /**\n         * Find providers by name\n         * @param {?} using The root element to search from\n         * @param {?} provider The name of binding variable\n         * @param {?} exactMatch Whether using exactMatch\n         * @return {?}\n         */\n\n      }, {\n        key: \"findProviders\",\n        value: function findProviders(using, provider, exactMatch) {\n          // TODO(juliemr): implement.\n          return [];\n        }\n      }]);\n\n      return Testability;\n    }();\n\n    Testability.decorators = [{\n      type: Injectable\n    }];\n    /** @nocollapse */\n\n    Testability.ctorParameters = function () {\n      return [{\n        type: NgZone\n      }];\n    };\n\n    if (false) {}\n    /**\n     * A global registry of {\\@link Testability} instances for specific elements.\n     * \\@publicApi\n     */\n\n\n    var TestabilityRegistry =\n    /*#__PURE__*/\n    function () {\n      function TestabilityRegistry() {\n        _classCallCheck(this, TestabilityRegistry);\n\n        /**\n         * \\@internal\n         */\n        this._applications = new Map();\n\n        _testabilityGetter.addToWindow(this);\n      }\n      /**\n       * Registers an application with a testability hook so that it can be tracked\n       * @param {?} token token of application, root element\n       * @param {?} testability Testability hook\n       * @return {?}\n       */\n\n\n      _createClass2(TestabilityRegistry, [{\n        key: \"registerApplication\",\n        value: function registerApplication(token, testability) {\n          this._applications.set(token, testability);\n        }\n        /**\n         * Unregisters an application.\n         * @param {?} token token of application, root element\n         * @return {?}\n         */\n\n      }, {\n        key: \"unregisterApplication\",\n        value: function unregisterApplication(token) {\n          this._applications.delete(token);\n        }\n        /**\n         * Unregisters all applications\n         * @return {?}\n         */\n\n      }, {\n        key: \"unregisterAllApplications\",\n        value: function unregisterAllApplications() {\n          this._applications.clear();\n        }\n        /**\n         * Get a testability hook associated with the application\n         * @param {?} elem root element\n         * @return {?}\n         */\n\n      }, {\n        key: \"getTestability\",\n        value: function getTestability(elem) {\n          return this._applications.get(elem) || null;\n        }\n        /**\n         * Get all registered testabilities\n         * @return {?}\n         */\n\n      }, {\n        key: \"getAllTestabilities\",\n        value: function getAllTestabilities() {\n          return Array.from(this._applications.values());\n        }\n        /**\n         * Get all registered applications(root elements)\n         * @return {?}\n         */\n\n      }, {\n        key: \"getAllRootElements\",\n        value: function getAllRootElements() {\n          return Array.from(this._applications.keys());\n        }\n        /**\n         * Find testability of a node in the Tree\n         * @param {?} elem node\n         * @param {?=} findInAncestors whether finding testability in ancestors if testability was not found in\n         * current node\n         * @return {?}\n         */\n\n      }, {\n        key: \"findTestabilityInTree\",\n        value: function findTestabilityInTree(elem) {\n          var findInAncestors = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n          return _testabilityGetter.findTestabilityInTree(this, elem, findInAncestors);\n        }\n      }]);\n\n      return TestabilityRegistry;\n    }();\n\n    TestabilityRegistry.decorators = [{\n      type: Injectable\n    }];\n    /** @nocollapse */\n\n    TestabilityRegistry.ctorParameters = function () {\n      return [];\n    };\n\n    if (false) {}\n    /**\n     * Adapter interface for retrieving the `Testability` service associated for a\n     * particular context.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n\n    function GetTestability() {}\n\n    if (false) {}\n\n    var _NoopGetTestability =\n    /*#__PURE__*/\n    function () {\n      function _NoopGetTestability() {\n        _classCallCheck(this, _NoopGetTestability);\n      }\n\n      _createClass2(_NoopGetTestability, [{\n        key: \"addToWindow\",\n\n        /**\n         * @param {?} registry\n         * @return {?}\n         */\n        value: function addToWindow(registry) {}\n        /**\n         * @param {?} registry\n         * @param {?} elem\n         * @param {?} findInAncestors\n         * @return {?}\n         */\n\n      }, {\n        key: \"findTestabilityInTree\",\n        value: function findTestabilityInTree(registry, elem, findInAncestors) {\n          return null;\n        }\n      }]);\n\n      return _NoopGetTestability;\n    }();\n    /**\n     * Set the {\\@link GetTestability} implementation used by the Angular testing framework.\n     * \\@publicApi\n     * @param {?} getter\n     * @return {?}\n     */\n\n\n    function setTestabilityGetter(getter) {\n      _testabilityGetter = getter;\n    }\n    /** @type {?} */\n\n\n    var _testabilityGetter = new _NoopGetTestability();\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var _platform;\n    /** @type {?} */\n\n\n    var compileNgModuleFactory = compileNgModuleFactory__PRE_R3__;\n    /**\n     * @template M\n     * @param {?} injector\n     * @param {?} options\n     * @param {?} moduleType\n     * @return {?}\n     */\n\n    function compileNgModuleFactory__PRE_R3__(injector, options, moduleType) {\n      /** @type {?} */\n      var compilerFactory = injector.get(CompilerFactory);\n      /** @type {?} */\n\n      var compiler = compilerFactory.createCompiler([options]);\n      return compiler.compileModuleAsync(moduleType);\n    }\n    /**\n     * @template M\n     * @param {?} injector\n     * @param {?} options\n     * @param {?} moduleType\n     * @return {?}\n     */\n\n\n    function compileNgModuleFactory__POST_R3__(injector, options, moduleType) {\n      ngDevMode && assertNgModuleType(moduleType);\n      /** @type {?} */\n\n      var moduleFactory = new NgModuleFactory$1(moduleType);\n\n      if (isComponentResourceResolutionQueueEmpty()) {\n        return Promise.resolve(moduleFactory);\n      }\n      /** @type {?} */\n\n\n      var compilerOptions = injector.get(COMPILER_OPTIONS, []).concat(options);\n      /** @type {?} */\n\n      var compilerProviders = _mergeArrays(compilerOptions.map(\n      /**\n      * @param {?} o\n      * @return {?}\n      */\n      function (o) {\n        return (\n          /** @type {?} */\n          o.providers\n        );\n      })); // In case there are no compiler providers, we just return the module factory as\n      // there won't be any resource loader. This can happen with Ivy, because AOT compiled\n      // modules can be still passed through \"bootstrapModule\". In that case we shouldn't\n      // unnecessarily require the JIT compiler.\n\n\n      if (compilerProviders.length === 0) {\n        return Promise.resolve(moduleFactory);\n      }\n      /** @type {?} */\n\n\n      var compiler = getCompilerFacade();\n      /** @type {?} */\n\n      var compilerInjector = Injector.create({\n        providers: compilerProviders\n      });\n      /** @type {?} */\n\n      var resourceLoader = compilerInjector.get(compiler.ResourceLoader); // The resource loader can also return a string while the \"resolveComponentResources\"\n      // always expects a promise. Therefore we need to wrap the returned value in a promise.\n\n      return resolveComponentResources(\n      /**\n      * @param {?} url\n      * @return {?}\n      */\n      function (url) {\n        return Promise.resolve(resourceLoader.get(url));\n      }).then(\n      /**\n      * @return {?}\n      */\n      function () {\n        return moduleFactory;\n      });\n    }\n    /** @type {?} */\n\n\n    var isBoundToModule = isBoundToModule__PRE_R3__;\n    /**\n     * @template C\n     * @param {?} cf\n     * @return {?}\n     */\n\n    function isBoundToModule__PRE_R3__(cf) {\n      return cf instanceof ComponentFactoryBoundToModule;\n    }\n    /**\n     * @template C\n     * @param {?} cf\n     * @return {?}\n     */\n\n\n    function isBoundToModule__POST_R3__(cf) {\n      return (\n        /** @type {?} */\n        cf.isBoundToModule\n      );\n    }\n    /** @type {?} */\n\n\n    var ALLOW_MULTIPLE_PLATFORMS = new InjectionToken('AllowMultipleToken');\n    /**\n     * A token for third-party components that can register themselves with NgProbe.\n     *\n     * \\@publicApi\n     */\n\n    var NgProbeToken =\n    /**\n     * @param {?} name\n     * @param {?} token\n     */\n    function NgProbeToken(name, token) {\n      _classCallCheck(this, NgProbeToken);\n\n      this.name = name;\n      this.token = token;\n    };\n\n    if (false) {}\n    /**\n     * Creates a platform.\n     * Platforms have to be eagerly created via this function.\n     *\n     * \\@publicApi\n     * @param {?} injector\n     * @return {?}\n     */\n\n\n    function createPlatform(injector) {\n      if (_platform && !_platform.destroyed && !_platform.injector.get(ALLOW_MULTIPLE_PLATFORMS, false)) {\n        throw new Error('There can be only one platform. Destroy the previous one to create a new one.');\n      }\n\n      _platform = injector.get(PlatformRef);\n      /** @type {?} */\n\n      var inits = injector.get(PLATFORM_INITIALIZER, null);\n      if (inits) inits.forEach(\n      /**\n      * @param {?} init\n      * @return {?}\n      */\n      function (init) {\n        return init();\n      });\n      return _platform;\n    }\n    /**\n     * Creates a factory for a platform\n     *\n     * \\@publicApi\n     * @param {?} parentPlatformFactory\n     * @param {?} name\n     * @param {?=} providers\n     * @return {?}\n     */\n\n\n    function createPlatformFactory(parentPlatformFactory, name) {\n      var providers = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n\n      /** @type {?} */\n      var desc = \"Platform: \".concat(name);\n      /** @type {?} */\n\n      var marker = new InjectionToken(desc);\n      return (\n        /**\n        * @param {?=} extraProviders\n        * @return {?}\n        */\n        function () {\n          var extraProviders = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n\n          /** @type {?} */\n          var platform = getPlatform();\n\n          if (!platform || platform.injector.get(ALLOW_MULTIPLE_PLATFORMS, false)) {\n            if (parentPlatformFactory) {\n              parentPlatformFactory(providers.concat(extraProviders).concat({\n                provide: marker,\n                useValue: true\n              }));\n            } else {\n              /** @type {?} */\n              var injectedProviders = providers.concat(extraProviders).concat({\n                provide: marker,\n                useValue: true\n              });\n              createPlatform(Injector.create({\n                providers: injectedProviders,\n                name: desc\n              }));\n            }\n          }\n\n          return assertPlatform(marker);\n        }\n      );\n    }\n    /**\n     * Checks that there currently is a platform which contains the given token as a provider.\n     *\n     * \\@publicApi\n     * @param {?} requiredToken\n     * @return {?}\n     */\n\n\n    function assertPlatform(requiredToken) {\n      /** @type {?} */\n      var platform = getPlatform();\n\n      if (!platform) {\n        throw new Error('No platform exists!');\n      }\n\n      if (!platform.injector.get(requiredToken, null)) {\n        throw new Error('A platform with a different configuration has been created. Please destroy it first.');\n      }\n\n      return platform;\n    }\n    /**\n     * Destroy the existing platform.\n     *\n     * \\@publicApi\n     * @return {?}\n     */\n\n\n    function destroyPlatform() {\n      if (_platform && !_platform.destroyed) {\n        _platform.destroy();\n      }\n    }\n    /**\n     * Returns the current platform.\n     *\n     * \\@publicApi\n     * @return {?}\n     */\n\n\n    function getPlatform() {\n      return _platform && !_platform.destroyed ? _platform : null;\n    }\n    /**\n     * Provides additional options to the bootstraping process.\n     *\n     *\n     * @record\n     */\n\n\n    function BootstrapOptions() {}\n\n    if (false) {}\n    /**\n     * The Angular platform is the entry point for Angular on a web page. Each page\n     * has exactly one platform, and services (such as reflection) which are common\n     * to every Angular application running on the page are bound in its scope.\n     *\n     * A page's platform is initialized implicitly when a platform is created via a platform factory\n     * (e.g. {\\@link platformBrowser}), or explicitly by calling the {\\@link createPlatform} function.\n     *\n     * \\@publicApi\n     */\n\n\n    var PlatformRef =\n    /*#__PURE__*/\n    function () {\n      /**\n       * \\@internal\n       * @param {?} _injector\n       */\n      function PlatformRef(_injector) {\n        _classCallCheck(this, PlatformRef);\n\n        this._injector = _injector;\n        this._modules = [];\n        this._destroyListeners = [];\n        this._destroyed = false;\n      }\n      /**\n       * Creates an instance of an `\\@NgModule` for the given platform\n       * for offline compilation.\n       *\n       * \\@usageNotes\n       * ### Simple Example\n       *\n       * ```typescript\n       * my_module.ts:\n       *\n       * \\@NgModule({\n       *   imports: [BrowserModule]\n       * })\n       * class MyModule {}\n       *\n       * main.ts:\n       * import {MyModuleNgFactory} from './my_module.ngfactory';\n       * import {platformBrowser} from '\\@angular/platform-browser';\n       *\n       * let moduleRef = platformBrowser().bootstrapModuleFactory(MyModuleNgFactory);\n       * ```\n       * @template M\n       * @param {?} moduleFactory\n       * @param {?=} options\n       * @return {?}\n       */\n\n\n      _createClass2(PlatformRef, [{\n        key: \"bootstrapModuleFactory\",\n        value: function bootstrapModuleFactory(moduleFactory, options) {\n          var _this465 = this;\n\n          // Note: We need to create the NgZone _before_ we instantiate the module,\n          // as instantiating the module creates some providers eagerly.\n          // So we create a mini parent injector that just contains the new NgZone and\n          // pass that as parent to the NgModuleFactory.\n\n          /** @type {?} */\n          var ngZoneOption = options ? options.ngZone : undefined;\n          /** @type {?} */\n\n          var ngZone = getNgZone(ngZoneOption);\n          /** @type {?} */\n\n          var providers = [{\n            provide: NgZone,\n            useValue: ngZone\n          }]; // Attention: Don't use ApplicationRef.run here,\n          // as we want to be sure that all possible constructor calls are inside `ngZone.run`!\n\n          return ngZone.run(\n          /**\n          * @return {?}\n          */\n          function () {\n            /** @type {?} */\n            var ngZoneInjector = Injector.create({\n              providers: providers,\n              parent: _this465.injector,\n              name: moduleFactory.moduleType.name\n            });\n            /** @type {?} */\n\n            var moduleRef =\n            /** @type {?} */\n            moduleFactory.create(ngZoneInjector);\n            /** @type {?} */\n\n            var exceptionHandler = moduleRef.injector.get(ErrorHandler, null);\n\n            if (!exceptionHandler) {\n              throw new Error('No ErrorHandler. Is platform module (BrowserModule) included?');\n            } // If the `LOCALE_ID` provider is defined at bootstrap we set the value for runtime i18n (ivy)\n\n\n            if (ivyEnabled) {\n              /** @type {?} */\n              var localeId = moduleRef.injector.get(LOCALE_ID$1, DEFAULT_LOCALE_ID);\n              setLocaleId(localeId || DEFAULT_LOCALE_ID);\n            }\n\n            moduleRef.onDestroy(\n            /**\n            * @return {?}\n            */\n            function () {\n              return remove(_this465._modules, moduleRef);\n            });\n\n            /** @type {?} */\n            ngZone.runOutsideAngular(\n            /**\n            * @return {?}\n            */\n            function () {\n              return (\n                /** @type {?} */\n                ngZone.onError.subscribe({\n                  next:\n                  /**\n                  * @param {?} error\n                  * @return {?}\n                  */\n                  function next(error) {\n                    exceptionHandler.handleError(error);\n                  }\n                })\n              );\n            });\n            return _callAndReportToErrorHandler(exceptionHandler,\n            /** @type {?} */\n            ngZone,\n            /**\n            * @return {?}\n            */\n            function () {\n              /** @type {?} */\n              var initStatus = moduleRef.injector.get(ApplicationInitStatus);\n              initStatus.runInitializers();\n              return initStatus.donePromise.then(\n              /**\n              * @return {?}\n              */\n              function () {\n                _this465._moduleDoBootstrap(moduleRef);\n\n                return moduleRef;\n              });\n            });\n          });\n        }\n        /**\n         * Creates an instance of an `\\@NgModule` for a given platform using the given runtime compiler.\n         *\n         * \\@usageNotes\n         * ### Simple Example\n         *\n         * ```typescript\n         * \\@NgModule({\n         *   imports: [BrowserModule]\n         * })\n         * class MyModule {}\n         *\n         * let moduleRef = platformBrowser().bootstrapModule(MyModule);\n         * ```\n         *\n         * @template M\n         * @param {?} moduleType\n         * @param {?=} compilerOptions\n         * @return {?}\n         */\n\n      }, {\n        key: \"bootstrapModule\",\n        value: function bootstrapModule(moduleType) {\n          var _this466 = this;\n\n          var compilerOptions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n\n          /** @type {?} */\n          var options = optionsReducer({}, compilerOptions);\n          return compileNgModuleFactory(this.injector, options, moduleType).then(\n          /**\n          * @param {?} moduleFactory\n          * @return {?}\n          */\n          function (moduleFactory) {\n            return _this466.bootstrapModuleFactory(moduleFactory, options);\n          });\n        }\n        /**\n         * @private\n         * @param {?} moduleRef\n         * @return {?}\n         */\n\n      }, {\n        key: \"_moduleDoBootstrap\",\n        value: function _moduleDoBootstrap(moduleRef) {\n          /** @type {?} */\n          var appRef =\n          /** @type {?} */\n          moduleRef.injector.get(ApplicationRef);\n\n          if (moduleRef._bootstrapComponents.length > 0) {\n            moduleRef._bootstrapComponents.forEach(\n            /**\n            * @param {?} f\n            * @return {?}\n            */\n            function (f) {\n              return appRef.bootstrap(f);\n            });\n          } else if (moduleRef.instance.ngDoBootstrap) {\n            moduleRef.instance.ngDoBootstrap(appRef);\n          } else {\n            throw new Error(\"The module \".concat(stringify(moduleRef.instance.constructor), \" was bootstrapped, but it does not declare \\\"@NgModule.bootstrap\\\" components nor a \\\"ngDoBootstrap\\\" method. \") + \"Please define one of these.\");\n          }\n\n          this._modules.push(moduleRef);\n        }\n        /**\n         * Register a listener to be called when the platform is disposed.\n         * @param {?} callback\n         * @return {?}\n         */\n\n      }, {\n        key: \"onDestroy\",\n        value: function onDestroy(callback) {\n          this._destroyListeners.push(callback);\n        }\n        /**\n         * Retrieve the platform {\\@link Injector}, which is the parent injector for\n         * every Angular application on the page and provides singleton providers.\n         * @return {?}\n         */\n\n      }, {\n        key: \"destroy\",\n\n        /**\n         * Destroy the Angular platform and all Angular applications on the page.\n         * @return {?}\n         */\n        value: function destroy() {\n          if (this._destroyed) {\n            throw new Error('The platform has already been destroyed!');\n          }\n\n          this._modules.slice().forEach(\n          /**\n          * @param {?} module\n          * @return {?}\n          */\n          function (module) {\n            return module.destroy();\n          });\n\n          this._destroyListeners.forEach(\n          /**\n          * @param {?} listener\n          * @return {?}\n          */\n          function (listener) {\n            return listener();\n          });\n\n          this._destroyed = true;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"injector\",\n        get: function get() {\n          return this._injector;\n        }\n      }, {\n        key: \"destroyed\",\n        get: function get() {\n          return this._destroyed;\n        }\n      }]);\n\n      return PlatformRef;\n    }();\n\n    PlatformRef.decorators = [{\n      type: Injectable\n    }];\n    /** @nocollapse */\n\n    PlatformRef.ctorParameters = function () {\n      return [{\n        type: Injector\n      }];\n    };\n\n    if (false) {}\n    /**\n     * @param {?=} ngZoneOption\n     * @return {?}\n     */\n\n\n    function getNgZone(ngZoneOption) {\n      /** @type {?} */\n      var ngZone;\n\n      if (ngZoneOption === 'noop') {\n        ngZone = new NoopNgZone();\n      } else {\n        ngZone = (ngZoneOption === 'zone.js' ? undefined : ngZoneOption) || new NgZone({\n          enableLongStackTrace: isDevMode()\n        });\n      }\n\n      return ngZone;\n    }\n    /**\n     * @param {?} errorHandler\n     * @param {?} ngZone\n     * @param {?} callback\n     * @return {?}\n     */\n\n\n    function _callAndReportToErrorHandler(errorHandler, ngZone, callback) {\n      try {\n        /** @type {?} */\n        var result = callback();\n\n        if (isPromise(result)) {\n          return result.catch(\n          /**\n          * @param {?} e\n          * @return {?}\n          */\n          function (e) {\n            ngZone.runOutsideAngular(\n            /**\n            * @return {?}\n            */\n            function () {\n              return errorHandler.handleError(e);\n            }); // rethrow as the exception handler might not do it\n\n            throw e;\n          });\n        }\n\n        return result;\n      } catch (e) {\n        ngZone.runOutsideAngular(\n        /**\n        * @return {?}\n        */\n        function () {\n          return errorHandler.handleError(e);\n        }); // rethrow as the exception handler might not do it\n\n        throw e;\n      }\n    }\n    /**\n     * @template T\n     * @param {?} dst\n     * @param {?} objs\n     * @return {?}\n     */\n\n\n    function optionsReducer(dst, objs) {\n      if (Array.isArray(objs)) {\n        dst = objs.reduce(optionsReducer, dst);\n      } else {\n        dst = Object.assign({}, dst,\n        /** @type {?} */\n        objs);\n      }\n\n      return dst;\n    }\n    /**\n     * A reference to an Angular application running on a page.\n     *\n     * \\@usageNotes\n     *\n     * {\\@a is-stable-examples}\n     * ### isStable examples and caveats\n     *\n     * Note two important points about `isStable`, demonstrated in the examples below:\n     * - the application will never be stable if you start any kind\n     * of recurrent asynchronous task when the application starts\n     * (for example for a polling process, started with a `setInterval`, a `setTimeout`\n     * or using RxJS operators like `interval`);\n     * - the `isStable` Observable runs outside of the Angular zone.\n     *\n     * Let's imagine that you start a recurrent task\n     * (here incrementing a counter, using RxJS `interval`),\n     * and at the same time subscribe to `isStable`.\n     *\n     * ```\n     * constructor(appRef: ApplicationRef) {\n     *   appRef.isStable.pipe(\n     *      filter(stable => stable)\n     *   ).subscribe(() => console.log('App is stable now');\n     *   interval(1000).subscribe(counter => console.log(counter));\n     * }\n     * ```\n     * In this example, `isStable` will never emit `true`,\n     * and the trace \"App is stable now\" will never get logged.\n     *\n     * If you want to execute something when the app is stable,\n     * you have to wait for the application to be stable\n     * before starting your polling process.\n     *\n     * ```\n     * constructor(appRef: ApplicationRef) {\n     *   appRef.isStable.pipe(\n     *     first(stable => stable),\n     *     tap(stable => console.log('App is stable now')),\n     *     switchMap(() => interval(1000))\n     *   ).subscribe(counter => console.log(counter));\n     * }\n     * ```\n     * In this example, the trace \"App is stable now\" will be logged\n     * and then the counter starts incrementing every second.\n     *\n     * Note also that this Observable runs outside of the Angular zone,\n     * which means that the code in the subscription\n     * to this Observable will not trigger the change detection.\n     *\n     * Let's imagine that instead of logging the counter value,\n     * you update a field of your component\n     * and display it in its template.\n     *\n     * ```\n     * constructor(appRef: ApplicationRef) {\n     *   appRef.isStable.pipe(\n     *     first(stable => stable),\n     *     switchMap(() => interval(1000))\n     *   ).subscribe(counter => this.value = counter);\n     * }\n     * ```\n     * As the `isStable` Observable runs outside the zone,\n     * the `value` field will be updated properly,\n     * but the template will not be refreshed!\n     *\n     * You'll have to manually trigger the change detection to update the template.\n     *\n     * ```\n     * constructor(appRef: ApplicationRef, cd: ChangeDetectorRef) {\n     *   appRef.isStable.pipe(\n     *     first(stable => stable),\n     *     switchMap(() => interval(1000))\n     *   ).subscribe(counter => {\n     *     this.value = counter;\n     *     cd.detectChanges();\n     *   });\n     * }\n     * ```\n     *\n     * Or make the subscription callback run inside the zone.\n     *\n     * ```\n     * constructor(appRef: ApplicationRef, zone: NgZone) {\n     *   appRef.isStable.pipe(\n     *     first(stable => stable),\n     *     switchMap(() => interval(1000))\n     *   ).subscribe(counter => zone.run(() => this.value = counter));\n     * }\n     * ```\n     *\n     * \\@publicApi\n     */\n\n\n    var ApplicationRef =\n    /*#__PURE__*/\n    function () {\n      /**\n       * \\@internal\n       * @param {?} _zone\n       * @param {?} _console\n       * @param {?} _injector\n       * @param {?} _exceptionHandler\n       * @param {?} _componentFactoryResolver\n       * @param {?} _initStatus\n       */\n      function ApplicationRef(_zone, _console, _injector, _exceptionHandler, _componentFactoryResolver, _initStatus) {\n        var _this467 = this;\n\n        _classCallCheck(this, ApplicationRef);\n\n        this._zone = _zone;\n        this._console = _console;\n        this._injector = _injector;\n        this._exceptionHandler = _exceptionHandler;\n        this._componentFactoryResolver = _componentFactoryResolver;\n        this._initStatus = _initStatus;\n        this._bootstrapListeners = [];\n        this._views = [];\n        this._runningTick = false;\n        this._enforceNoNewChanges = false;\n        this._stable = true;\n        /**\n         * Get a list of component types registered to this application.\n         * This list is populated even before the component is created.\n         */\n\n        this.componentTypes = [];\n        /**\n         * Get a list of components registered to this application.\n         */\n\n        this.components = [];\n        this._enforceNoNewChanges = isDevMode();\n\n        this._zone.onMicrotaskEmpty.subscribe({\n          next:\n          /**\n          * @return {?}\n          */\n          function next() {\n            _this467._zone.run(\n            /**\n            * @return {?}\n            */\n            function () {\n              _this467.tick();\n            });\n          }\n        });\n        /** @type {?} */\n\n\n        var isCurrentlyStable = new rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](\n        /**\n        * @param {?} observer\n        * @return {?}\n        */\n        function (observer) {\n          _this467._stable = _this467._zone.isStable && !_this467._zone.hasPendingMacrotasks && !_this467._zone.hasPendingMicrotasks;\n\n          _this467._zone.runOutsideAngular(\n          /**\n          * @return {?}\n          */\n          function () {\n            observer.next(_this467._stable);\n            observer.complete();\n          });\n        });\n        /** @type {?} */\n\n        var isStable = new rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](\n        /**\n        * @param {?} observer\n        * @return {?}\n        */\n        function (observer) {\n          // Create the subscription to onStable outside the Angular Zone so that\n          // the callback is run outside the Angular Zone.\n\n          /** @type {?} */\n          var stableSub;\n\n          _this467._zone.runOutsideAngular(\n          /**\n          * @return {?}\n          */\n          function () {\n            stableSub = _this467._zone.onStable.subscribe(\n            /**\n            * @return {?}\n            */\n            function () {\n              NgZone.assertNotInAngularZone(); // Check whether there are no pending macro/micro tasks in the next tick\n              // to allow for NgZone to update the state.\n\n              scheduleMicroTask(\n              /**\n              * @return {?}\n              */\n              function () {\n                if (!_this467._stable && !_this467._zone.hasPendingMacrotasks && !_this467._zone.hasPendingMicrotasks) {\n                  _this467._stable = true;\n                  observer.next(true);\n                }\n              });\n            });\n          });\n          /** @type {?} */\n\n\n          var unstableSub = _this467._zone.onUnstable.subscribe(\n          /**\n          * @return {?}\n          */\n          function () {\n            NgZone.assertInAngularZone();\n\n            if (_this467._stable) {\n              _this467._stable = false;\n\n              _this467._zone.runOutsideAngular(\n              /**\n              * @return {?}\n              */\n              function () {\n                observer.next(false);\n              });\n            }\n          });\n\n          return (\n            /**\n            * @return {?}\n            */\n            function () {\n              stableSub.unsubscribe();\n              unstableSub.unsubscribe();\n            }\n          );\n        });\n\n        /** @type {?} */\n        this.isStable = Object(rxjs__WEBPACK_IMPORTED_MODULE_0__[\"merge\"])(isCurrentlyStable, isStable.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__[\"share\"])()));\n      }\n      /**\n       * Bootstrap a new component at the root level of the application.\n       *\n       * \\@usageNotes\n       * ### Bootstrap process\n       *\n       * When bootstrapping a new root component into an application, Angular mounts the\n       * specified application component onto DOM elements identified by the componentType's\n       * selector and kicks off automatic change detection to finish initializing the component.\n       *\n       * Optionally, a component can be mounted onto a DOM element that does not match the\n       * componentType's selector.\n       *\n       * ### Example\n       * {\\@example core/ts/platform/platform.ts region='longform'}\n       * @template C\n       * @param {?} componentOrFactory\n       * @param {?=} rootSelectorOrNode\n       * @return {?}\n       */\n\n\n      _createClass2(ApplicationRef, [{\n        key: \"bootstrap\",\n        value: function bootstrap(componentOrFactory, rootSelectorOrNode) {\n          var _this468 = this;\n\n          if (!this._initStatus.done) {\n            throw new Error('Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.');\n          }\n          /** @type {?} */\n\n\n          var componentFactory;\n\n          if (componentOrFactory instanceof ComponentFactory) {\n            componentFactory = componentOrFactory;\n          } else {\n            componentFactory =\n            /** @type {?} */\n            this._componentFactoryResolver.resolveComponentFactory(componentOrFactory);\n          }\n\n          this.componentTypes.push(componentFactory.componentType); // Create a factory associated with the current module if it's not bound to some other\n\n          /** @type {?} */\n\n          var ngModule = isBoundToModule(componentFactory) ? null : this._injector.get(NgModuleRef);\n          /** @type {?} */\n\n          var selectorOrNode = rootSelectorOrNode || componentFactory.selector;\n          /** @type {?} */\n\n          var compRef = componentFactory.create(Injector.NULL, [], selectorOrNode, ngModule);\n          compRef.onDestroy(\n          /**\n          * @return {?}\n          */\n          function () {\n            _this468._unloadComponent(compRef);\n          });\n          /** @type {?} */\n\n          var testability = compRef.injector.get(Testability, null);\n\n          if (testability) {\n            compRef.injector.get(TestabilityRegistry).registerApplication(compRef.location.nativeElement, testability);\n          }\n\n          this._loadComponent(compRef);\n\n          if (isDevMode()) {\n            this._console.log(\"Angular is running in the development mode. Call enableProdMode() to enable the production mode.\");\n          }\n\n          return compRef;\n        }\n        /**\n         * Invoke this method to explicitly process change detection and its side-effects.\n         *\n         * In development mode, `tick()` also performs a second change detection cycle to ensure that no\n         * further changes are detected. If additional changes are picked up during this second cycle,\n         * bindings in the app have side-effects that cannot be resolved in a single change detection\n         * pass.\n         * In this case, Angular throws an error, since an Angular application can only have one change\n         * detection pass during which all change detection must complete.\n         * @return {?}\n         */\n\n      }, {\n        key: \"tick\",\n        value: function tick() {\n          var _this469 = this;\n\n          if (this._runningTick) {\n            throw new Error('ApplicationRef.tick is called recursively');\n          }\n          /** @type {?} */\n\n\n          var scope = ApplicationRef._tickScope();\n\n          try {\n            this._runningTick = true;\n            var _iteratorNormalCompletion48 = true;\n            var _didIteratorError48 = false;\n            var _iteratorError48 = undefined;\n\n            try {\n              for (var _iterator48 = this._views[Symbol.iterator](), _step48; !(_iteratorNormalCompletion48 = (_step48 = _iterator48.next()).done); _iteratorNormalCompletion48 = true) {\n                var _view4 = _step48.value;\n\n                _view4.detectChanges();\n              }\n            } catch (err) {\n              _didIteratorError48 = true;\n              _iteratorError48 = err;\n            } finally {\n              try {\n                if (!_iteratorNormalCompletion48 && _iterator48.return != null) {\n                  _iterator48.return();\n                }\n              } finally {\n                if (_didIteratorError48) {\n                  throw _iteratorError48;\n                }\n              }\n            }\n\n            if (this._enforceNoNewChanges) {\n              var _iteratorNormalCompletion49 = true;\n              var _didIteratorError49 = false;\n              var _iteratorError49 = undefined;\n\n              try {\n                for (var _iterator49 = this._views[Symbol.iterator](), _step49; !(_iteratorNormalCompletion49 = (_step49 = _iterator49.next()).done); _iteratorNormalCompletion49 = true) {\n                  var view = _step49.value;\n                  view.checkNoChanges();\n                }\n              } catch (err) {\n                _didIteratorError49 = true;\n                _iteratorError49 = err;\n              } finally {\n                try {\n                  if (!_iteratorNormalCompletion49 && _iterator49.return != null) {\n                    _iterator49.return();\n                  }\n                } finally {\n                  if (_didIteratorError49) {\n                    throw _iteratorError49;\n                  }\n                }\n              }\n            }\n          } catch (e) {\n            // Attention: Don't rethrow as it could cancel subscriptions to Observables!\n            this._zone.runOutsideAngular(\n            /**\n            * @return {?}\n            */\n            function () {\n              return _this469._exceptionHandler.handleError(e);\n            });\n          } finally {\n            this._runningTick = false;\n            wtfLeave(scope);\n          }\n        }\n        /**\n         * Attaches a view so that it will be dirty checked.\n         * The view will be automatically detached when it is destroyed.\n         * This will throw if the view is already attached to a ViewContainer.\n         * @param {?} viewRef\n         * @return {?}\n         */\n\n      }, {\n        key: \"attachView\",\n        value: function attachView(viewRef) {\n          /** @type {?} */\n          var view =\n          /** @type {?} */\n          viewRef;\n\n          this._views.push(view);\n\n          view.attachToAppRef(this);\n        }\n        /**\n         * Detaches a view from dirty checking again.\n         * @param {?} viewRef\n         * @return {?}\n         */\n\n      }, {\n        key: \"detachView\",\n        value: function detachView(viewRef) {\n          /** @type {?} */\n          var view =\n          /** @type {?} */\n          viewRef;\n          remove(this._views, view);\n          view.detachFromAppRef();\n        }\n        /**\n         * @private\n         * @param {?} componentRef\n         * @return {?}\n         */\n\n      }, {\n        key: \"_loadComponent\",\n        value: function _loadComponent(componentRef) {\n          this.attachView(componentRef.hostView);\n          this.tick();\n          this.components.push(componentRef); // Get the listeners lazily to prevent DI cycles.\n\n          /** @type {?} */\n\n          var listeners = this._injector.get(APP_BOOTSTRAP_LISTENER, []).concat(this._bootstrapListeners);\n\n          listeners.forEach(\n          /**\n          * @param {?} listener\n          * @return {?}\n          */\n          function (listener) {\n            return listener(componentRef);\n          });\n        }\n        /**\n         * @private\n         * @param {?} componentRef\n         * @return {?}\n         */\n\n      }, {\n        key: \"_unloadComponent\",\n        value: function _unloadComponent(componentRef) {\n          this.detachView(componentRef.hostView);\n          remove(this.components, componentRef);\n        }\n        /**\n         * \\@internal\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          // TODO(alxhub): Dispose of the NgZone.\n          this._views.slice().forEach(\n          /**\n          * @param {?} view\n          * @return {?}\n          */\n          function (view) {\n            return view.destroy();\n          });\n        }\n        /**\n         * Returns the number of attached views.\n         * @return {?}\n         */\n\n      }, {\n        key: \"viewCount\",\n        get: function get() {\n          return this._views.length;\n        }\n      }]);\n\n      return ApplicationRef;\n    }();\n    /**\n     * \\@internal\n     */\n\n\n    ApplicationRef._tickScope = wtfCreateScope('ApplicationRef#tick()');\n    ApplicationRef.decorators = [{\n      type: Injectable\n    }];\n    /** @nocollapse */\n\n    ApplicationRef.ctorParameters = function () {\n      return [{\n        type: NgZone\n      }, {\n        type: Console\n      }, {\n        type: Injector\n      }, {\n        type: ErrorHandler\n      }, {\n        type: ComponentFactoryResolver\n      }, {\n        type: ApplicationInitStatus\n      }];\n    };\n\n    if (false) {}\n    /**\n     * @template T\n     * @param {?} list\n     * @param {?} el\n     * @return {?}\n     */\n\n\n    function remove(list, el) {\n      /** @type {?} */\n      var index = list.indexOf(el);\n\n      if (index > -1) {\n        list.splice(index, 1);\n      }\n    }\n    /**\n     * @param {?} parts\n     * @return {?}\n     */\n\n\n    function _mergeArrays(parts) {\n      /** @type {?} */\n      var result = [];\n      parts.forEach(\n      /**\n      * @param {?} part\n      * @return {?}\n      */\n      function (part) {\n        return part && result.push.apply(result, _toConsumableArray(part));\n      });\n      return result;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Used to load ng module factories.\n     *\n     * \\@publicApi\n     * @deprecated the `string` form of `loadChildren` is deprecated, and `NgModuleFactoryLoader` is\n     * part of its implementation. See `LoadChildren` for more details.\n     * @abstract\n     */\n\n\n    var NgModuleFactoryLoader = function NgModuleFactoryLoader() {\n      _classCallCheck(this, NgModuleFactoryLoader);\n    };\n\n    if (false) {}\n    /**\n     * @param {?} id\n     * @return {?}\n     */\n\n\n    function getModuleFactory__PRE_R3__(id) {\n      /** @type {?} */\n      var factory =\n      /** @type {?} */\n      getRegisteredNgModuleType(id);\n      if (!factory) throw noModuleError(id);\n      return factory;\n    }\n    /**\n     * @param {?} id\n     * @return {?}\n     */\n\n\n    function getModuleFactory__POST_R3__(id) {\n      /** @type {?} */\n      var type =\n      /** @type {?} */\n      getRegisteredNgModuleType(id);\n      if (!type) throw noModuleError(id);\n      return new NgModuleFactory$1(type);\n    }\n    /**\n     * Returns the NgModuleFactory with the given id, if it exists and has been loaded.\n     * Factories for modules that do not specify an `id` cannot be retrieved. Throws if the module\n     * cannot be found.\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var getModuleFactory = getModuleFactory__PRE_R3__;\n    /**\n     * @param {?} id\n     * @return {?}\n     */\n\n    function noModuleError(id) {\n      return new Error(\"No module with ID \".concat(id, \" loaded\"));\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var _SEPARATOR = '#';\n    /** @type {?} */\n\n    var FACTORY_CLASS_SUFFIX = 'NgFactory';\n    /**\n     * Configuration for SystemJsNgModuleLoader.\n     * token.\n     *\n     * \\@publicApi\n     * @deprecated the `string` form of `loadChildren` is deprecated, and `SystemJsNgModuleLoaderConfig`\n     * is part of its implementation. See `LoadChildren` for more details.\n     * @abstract\n     */\n\n    var SystemJsNgModuleLoaderConfig = function SystemJsNgModuleLoaderConfig() {\n      _classCallCheck(this, SystemJsNgModuleLoaderConfig);\n    };\n\n    if (false) {}\n    /** @type {?} */\n\n\n    var DEFAULT_CONFIG = {\n      factoryPathPrefix: '',\n      factoryPathSuffix: '.ngfactory'\n    };\n    /**\n     * NgModuleFactoryLoader that uses SystemJS to load NgModuleFactory\n     * \\@publicApi\n     * @deprecated the `string` form of `loadChildren` is deprecated, and `SystemJsNgModuleLoader` is\n     * part of its implementation. See `LoadChildren` for more details.\n     */\n\n    var SystemJsNgModuleLoader =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _compiler\n       * @param {?=} config\n       */\n      function SystemJsNgModuleLoader(_compiler, config) {\n        _classCallCheck(this, SystemJsNgModuleLoader);\n\n        this._compiler = _compiler;\n        this._config = config || DEFAULT_CONFIG;\n      }\n      /**\n       * @param {?} path\n       * @return {?}\n       */\n\n\n      _createClass2(SystemJsNgModuleLoader, [{\n        key: \"load\",\n        value: function load(path) {\n          /** @type {?} */\n          var legacyOfflineMode = !ivyEnabled && this._compiler instanceof Compiler;\n          return legacyOfflineMode ? this.loadFactory(path) : this.loadAndCompile(path);\n        }\n        /**\n         * @private\n         * @param {?} path\n         * @return {?}\n         */\n\n      }, {\n        key: \"loadAndCompile\",\n        value: function loadAndCompile(path) {\n          var _this470 = this;\n\n          var _path$split = path.split(_SEPARATOR),\n              _path$split2 = _slicedToArray(_path$split, 2),\n              module = _path$split2[0],\n              exportName = _path$split2[1];\n\n          if (exportName === undefined) {\n            exportName = 'default';\n          }\n\n          return __webpack_require__(\"./$$_lazy_route_resource lazy recursive\")(module).then(\n          /**\n          * @param {?} module\n          * @return {?}\n          */\n          function (module) {\n            return module[exportName];\n          }).then(\n          /**\n          * @param {?} type\n          * @return {?}\n          */\n          function (type) {\n            return checkNotEmpty(type, module, exportName);\n          }).then(\n          /**\n          * @param {?} type\n          * @return {?}\n          */\n          function (type) {\n            return _this470._compiler.compileModuleAsync(type);\n          });\n        }\n        /**\n         * @private\n         * @param {?} path\n         * @return {?}\n         */\n\n      }, {\n        key: \"loadFactory\",\n        value: function loadFactory(path) {\n          var _path$split3 = path.split(_SEPARATOR),\n              _path$split4 = _slicedToArray(_path$split3, 2),\n              module = _path$split4[0],\n              exportName = _path$split4[1];\n          /** @type {?} */\n\n\n          var factoryClassSuffix = FACTORY_CLASS_SUFFIX;\n\n          if (exportName === undefined) {\n            exportName = 'default';\n            factoryClassSuffix = '';\n          }\n\n          return __webpack_require__(\"./$$_lazy_route_resource lazy recursive\")(this._config.factoryPathPrefix + module + this._config.factoryPathSuffix).then(\n          /**\n          * @param {?} module\n          * @return {?}\n          */\n          function (module) {\n            return module[exportName + factoryClassSuffix];\n          }).then(\n          /**\n          * @param {?} factory\n          * @return {?}\n          */\n          function (factory) {\n            return checkNotEmpty(factory, module, exportName);\n          });\n        }\n      }]);\n\n      return SystemJsNgModuleLoader;\n    }();\n\n    SystemJsNgModuleLoader.decorators = [{\n      type: Injectable\n    }];\n    /** @nocollapse */\n\n    SystemJsNgModuleLoader.ctorParameters = function () {\n      return [{\n        type: Compiler\n      }, {\n        type: SystemJsNgModuleLoaderConfig,\n        decorators: [{\n          type: Optional\n        }]\n      }];\n    };\n\n    if (false) {}\n    /**\n     * @param {?} value\n     * @param {?} modulePath\n     * @param {?} exportName\n     * @return {?}\n     */\n\n\n    function checkNotEmpty(value, modulePath, exportName) {\n      if (!value) {\n        throw new Error(\"Cannot find '\".concat(exportName, \"' in '\").concat(modulePath, \"'\"));\n      }\n\n      return value;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Represents an Angular [view](guide/glossary#view),\n     * specifically the [host view](guide/glossary#view-tree) that is defined by a component.\n     * Also serves as the base class\n     * that adds destroy methods for [embedded views](guide/glossary#view-tree).\n     *\n     * @see `EmbeddedViewRef`\n     *\n     * \\@publicApi\n     * @abstract\n     */\n\n\n    var ViewRef$1 =\n    /*#__PURE__*/\n    function (_ChangeDetectorRef) {\n      _inherits(ViewRef$1, _ChangeDetectorRef);\n\n      function ViewRef$1() {\n        _classCallCheck(this, ViewRef$1);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(ViewRef$1).apply(this, arguments));\n      }\n\n      return ViewRef$1;\n    }(ChangeDetectorRef);\n\n    if (false) {}\n    /**\n     * Represents an Angular [view](guide/glossary#view) in a view container.\n     * An [embedded view](guide/glossary#view-tree) can be referenced from a component\n     * other than the hosting component whose template defines it, or it can be defined\n     * independently by a `TemplateRef`.\n     *\n     * Properties of elements in a view can change, but the structure (number and order) of elements in\n     * a view cannot. Change the structure of elements by inserting, moving, or\n     * removing nested views in a view container.\n     *\n     * @see `ViewContainerRef`\n     *\n     * \\@usageNotes\n     *\n     * The following template breaks down into two separate `TemplateRef` instances,\n     * an outer one and an inner one.\n     *\n     * ```\n     * Count: {{items.length}}\n     * <ul>\n     *   <li *ngFor=\"let  item of items\">{{item}}</li>\n     * </ul>\n     * ```\n     *\n     * This is the outer `TemplateRef`:\n     *\n     * ```\n     * Count: {{items.length}}\n     * <ul>\n     *   <ng-template ngFor let-item [ngForOf]=\"items\"></ng-template>\n     * </ul>\n     * ```\n     *\n     * This is the inner `TemplateRef`:\n     *\n     * ```\n     *   <li>{{item}}</li>\n     * ```\n     *\n     * The outer and inner `TemplateRef` instances are assembled into views as follows:\n     *\n     * ```\n     * <!-- ViewRef: outer-0 -->\n     * Count: 2\n     * <ul>\n     *   <ng-template view-container-ref></ng-template>\n     *   <!-- ViewRef: inner-1 --><li>first</li><!-- /ViewRef: inner-1 -->\n     *   <!-- ViewRef: inner-2 --><li>second</li><!-- /ViewRef: inner-2 -->\n     * </ul>\n     * <!-- /ViewRef: outer-0 -->\n     * ```\n     * \\@publicApi\n     * @abstract\n     * @template C\n     */\n\n\n    var EmbeddedViewRef =\n    /*#__PURE__*/\n    function (_ViewRef$) {\n      _inherits(EmbeddedViewRef, _ViewRef$);\n\n      function EmbeddedViewRef() {\n        _classCallCheck(this, EmbeddedViewRef);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(EmbeddedViewRef).apply(this, arguments));\n      }\n\n      return EmbeddedViewRef;\n    }(ViewRef$1);\n\n    if (false) {}\n    /**\n     * @record\n     */\n\n\n    function InternalViewRef() {}\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * \\@publicApi\n     */\n\n\n    var DebugEventListener =\n    /**\n     * @param {?} name\n     * @param {?} callback\n     */\n    function DebugEventListener(name, callback) {\n      _classCallCheck(this, DebugEventListener);\n\n      this.name = name;\n      this.callback = callback;\n    };\n\n    if (false) {} // WARNING: interface has both a type and a value, skipping emit\n\n\n    var DebugNode__PRE_R3__ =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} nativeNode\n       * @param {?} parent\n       * @param {?} _debugContext\n       */\n      function DebugNode__PRE_R3__(nativeNode, parent, _debugContext) {\n        _classCallCheck(this, DebugNode__PRE_R3__);\n\n        this.listeners = [];\n        this.parent = null;\n        this._debugContext = _debugContext;\n        this.nativeNode = nativeNode;\n\n        if (parent && parent instanceof DebugElement__PRE_R3__) {\n          parent.addChild(this);\n        }\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(DebugNode__PRE_R3__, [{\n        key: \"injector\",\n        get: function get() {\n          return this._debugContext.injector;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"componentInstance\",\n        get: function get() {\n          return this._debugContext.component;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"context\",\n        get: function get() {\n          return this._debugContext.context;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"references\",\n        get: function get() {\n          return this._debugContext.references;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"providerTokens\",\n        get: function get() {\n          return this._debugContext.providerTokens;\n        }\n      }]);\n\n      return DebugNode__PRE_R3__;\n    }();\n\n    if (false) {} // WARNING: interface has both a type and a value, skipping emit\n\n\n    var DebugElement__PRE_R3__ =\n    /*#__PURE__*/\n    function (_DebugNode__PRE_R3__) {\n      _inherits(DebugElement__PRE_R3__, _DebugNode__PRE_R3__);\n\n      /**\n       * @param {?} nativeNode\n       * @param {?} parent\n       * @param {?} _debugContext\n       */\n      function DebugElement__PRE_R3__(nativeNode, parent, _debugContext) {\n        var _this471;\n\n        _classCallCheck(this, DebugElement__PRE_R3__);\n\n        _this471 = _possibleConstructorReturn(this, _getPrototypeOf(DebugElement__PRE_R3__).call(this, nativeNode, parent, _debugContext));\n        _this471.properties = {};\n        _this471.attributes = {};\n        _this471.classes = {};\n        _this471.styles = {};\n        _this471.childNodes = [];\n        _this471.nativeElement = nativeNode;\n        return _this471;\n      }\n      /**\n       * @param {?} child\n       * @return {?}\n       */\n\n\n      _createClass2(DebugElement__PRE_R3__, [{\n        key: \"addChild\",\n        value: function addChild(child) {\n          if (child) {\n            this.childNodes.push(child);\n\n            /** @type {?} */\n            child.parent = this;\n          }\n        }\n        /**\n         * @param {?} child\n         * @return {?}\n         */\n\n      }, {\n        key: \"removeChild\",\n        value: function removeChild(child) {\n          /** @type {?} */\n          var childIndex = this.childNodes.indexOf(child);\n\n          if (childIndex !== -1) {\n            /** @type {?} */\n            child.parent = null;\n            this.childNodes.splice(childIndex, 1);\n          }\n        }\n        /**\n         * @param {?} child\n         * @param {?} newChildren\n         * @return {?}\n         */\n\n      }, {\n        key: \"insertChildrenAfter\",\n        value: function insertChildrenAfter(child, newChildren) {\n          var _this472 = this;\n\n          /** @type {?} */\n          var siblingIndex = this.childNodes.indexOf(child);\n\n          if (siblingIndex !== -1) {\n            var _this$childNodes;\n\n            (_this$childNodes = this.childNodes).splice.apply(_this$childNodes, [siblingIndex + 1, 0].concat(_toConsumableArray(newChildren)));\n\n            newChildren.forEach(\n            /**\n            * @param {?} c\n            * @return {?}\n            */\n            function (c) {\n              if (c.parent) {\n                /** @type {?} */\n                c.parent.removeChild(c);\n              }\n\n              /** @type {?} */\n              child.parent = _this472;\n            });\n          }\n        }\n        /**\n         * @param {?} refChild\n         * @param {?} newChild\n         * @return {?}\n         */\n\n      }, {\n        key: \"insertBefore\",\n        value: function insertBefore(refChild, newChild) {\n          /** @type {?} */\n          var refIndex = this.childNodes.indexOf(refChild);\n\n          if (refIndex === -1) {\n            this.addChild(newChild);\n          } else {\n            if (newChild.parent) {\n              /** @type {?} */\n              newChild.parent.removeChild(newChild);\n            }\n\n            /** @type {?} */\n            newChild.parent = this;\n            this.childNodes.splice(refIndex, 0, newChild);\n          }\n        }\n        /**\n         * @param {?} predicate\n         * @return {?}\n         */\n\n      }, {\n        key: \"query\",\n        value: function query(predicate) {\n          /** @type {?} */\n          var results = this.queryAll(predicate);\n          return results[0] || null;\n        }\n        /**\n         * @param {?} predicate\n         * @return {?}\n         */\n\n      }, {\n        key: \"queryAll\",\n        value: function queryAll(predicate) {\n          /** @type {?} */\n          var matches = [];\n\n          _queryElementChildren(this, predicate, matches);\n\n          return matches;\n        }\n        /**\n         * @param {?} predicate\n         * @return {?}\n         */\n\n      }, {\n        key: \"queryAllNodes\",\n        value: function queryAllNodes(predicate) {\n          /** @type {?} */\n          var matches = [];\n\n          _queryNodeChildren(this, predicate, matches);\n\n          return matches;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"triggerEventHandler\",\n\n        /**\n         * @param {?} eventName\n         * @param {?} eventObj\n         * @return {?}\n         */\n        value: function triggerEventHandler(eventName, eventObj) {\n          this.listeners.forEach(\n          /**\n          * @param {?} listener\n          * @return {?}\n          */\n          function (listener) {\n            if (listener.name == eventName) {\n              listener.callback(eventObj);\n            }\n          });\n        }\n      }, {\n        key: \"children\",\n        get: function get() {\n          return (\n            /** @type {?} */\n            this.childNodes //\n            .filter(\n            /**\n            * @param {?} node\n            * @return {?}\n            */\n            function (node) {\n              return node instanceof DebugElement__PRE_R3__;\n            })\n          );\n        }\n      }]);\n\n      return DebugElement__PRE_R3__;\n    }(DebugNode__PRE_R3__);\n\n    if (false) {}\n    /**\n     * \\@publicApi\n     * @param {?} debugEls\n     * @return {?}\n     */\n\n\n    function asNativeElements(debugEls) {\n      return debugEls.map(\n      /**\n      * @param {?} el\n      * @return {?}\n      */\n      function (el) {\n        return el.nativeElement;\n      });\n    }\n    /**\n     * @param {?} element\n     * @param {?} predicate\n     * @param {?} matches\n     * @return {?}\n     */\n\n\n    function _queryElementChildren(element, predicate, matches) {\n      element.childNodes.forEach(\n      /**\n      * @param {?} node\n      * @return {?}\n      */\n      function (node) {\n        if (node instanceof DebugElement__PRE_R3__) {\n          if (predicate(node)) {\n            matches.push(node);\n          }\n\n          _queryElementChildren(node, predicate, matches);\n        }\n      });\n    }\n    /**\n     * @param {?} parentNode\n     * @param {?} predicate\n     * @param {?} matches\n     * @return {?}\n     */\n\n\n    function _queryNodeChildren(parentNode, predicate, matches) {\n      if (parentNode instanceof DebugElement__PRE_R3__) {\n        parentNode.childNodes.forEach(\n        /**\n        * @param {?} node\n        * @return {?}\n        */\n        function (node) {\n          if (predicate(node)) {\n            matches.push(node);\n          }\n\n          if (node instanceof DebugElement__PRE_R3__) {\n            _queryNodeChildren(node, predicate, matches);\n          }\n        });\n      }\n    }\n\n    var DebugNode__POST_R3__ =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} nativeNode\n       */\n      function DebugNode__POST_R3__(nativeNode) {\n        _classCallCheck(this, DebugNode__POST_R3__);\n\n        this.nativeNode = nativeNode;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(DebugNode__POST_R3__, [{\n        key: \"parent\",\n        get: function get() {\n          /** @type {?} */\n          var parent =\n          /** @type {?} */\n          this.nativeNode.parentNode;\n          return parent ? new DebugElement__POST_R3__(parent) : null;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"injector\",\n        get: function get() {\n          return getInjector(this.nativeNode);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"componentInstance\",\n        get: function get() {\n          /** @type {?} */\n          var nativeElement = this.nativeNode;\n          return nativeElement && (getComponent(\n          /** @type {?} */\n          nativeElement) || getViewComponent(nativeElement));\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"context\",\n        get: function get() {\n          return getComponent(\n          /** @type {?} */\n          this.nativeNode) || getContext$1(\n          /** @type {?} */\n          this.nativeNode);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"listeners\",\n        get: function get() {\n          return getListeners(\n          /** @type {?} */\n          this.nativeNode).filter(isBrowserEvents);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"references\",\n        get: function get() {\n          return getLocalRefs(this.nativeNode);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"providerTokens\",\n        get: function get() {\n          return getInjectionTokens(\n          /** @type {?} */\n          this.nativeNode);\n        }\n      }]);\n\n      return DebugNode__POST_R3__;\n    }();\n\n    if (false) {}\n\n    var DebugElement__POST_R3__ =\n    /*#__PURE__*/\n    function (_DebugNode__POST_R3__) {\n      _inherits(DebugElement__POST_R3__, _DebugNode__POST_R3__);\n\n      /**\n       * @param {?} nativeNode\n       */\n      function DebugElement__POST_R3__(nativeNode) {\n        _classCallCheck(this, DebugElement__POST_R3__);\n\n        ngDevMode && assertDomNode(nativeNode);\n        return _possibleConstructorReturn(this, _getPrototypeOf(DebugElement__POST_R3__).call(this, nativeNode));\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(DebugElement__POST_R3__, [{\n        key: \"query\",\n\n        /**\n         * @param {?} predicate\n         * @return {?}\n         */\n        value: function query(predicate) {\n          /** @type {?} */\n          var results = this.queryAll(predicate);\n          return results[0] || null;\n        }\n        /**\n         * @param {?} predicate\n         * @return {?}\n         */\n\n      }, {\n        key: \"queryAll\",\n        value: function queryAll(predicate) {\n          /** @type {?} */\n          var matches = [];\n\n          _queryAllR3(this, predicate, matches, true);\n\n          return matches;\n        }\n        /**\n         * @param {?} predicate\n         * @return {?}\n         */\n\n      }, {\n        key: \"queryAllNodes\",\n        value: function queryAllNodes(predicate) {\n          /** @type {?} */\n          var matches = [];\n\n          _queryAllR3(this, predicate, matches, false);\n\n          return matches;\n        }\n        /**\n         * @param {?} eventName\n         * @param {?} eventObj\n         * @return {?}\n         */\n\n      }, {\n        key: \"triggerEventHandler\",\n        value: function triggerEventHandler(eventName, eventObj) {\n          this.listeners.forEach(\n          /**\n          * @param {?} listener\n          * @return {?}\n          */\n          function (listener) {\n            if (listener.name === eventName) {\n              listener.callback(eventObj);\n            }\n          });\n        }\n      }, {\n        key: \"nativeElement\",\n        get: function get() {\n          return this.nativeNode.nodeType == Node.ELEMENT_NODE ?\n          /** @type {?} */\n          this.nativeNode : null;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"name\",\n        get: function get() {\n          return (\n            /** @type {?} */\n            this.nativeElement.nodeName\n          );\n        }\n        /**\n         *  Gets a map of property names to property values for an element.\n         *\n         *  This map includes:\n         *  - Regular property bindings (e.g. `[id]=\"id\"`)\n         *  - Host property bindings (e.g. `host: { '[id]': \"id\" }`)\n         *  - Interpolated property bindings (e.g. `id=\"{{ value }}\")\n         *\n         *  It does not include:\n         *  - input property bindings (e.g. `[myCustomInput]=\"value\"`)\n         *  - attribute bindings (e.g. `[attr.role]=\"menu\"`)\n         * @return {?}\n         */\n\n      }, {\n        key: \"properties\",\n        get: function get() {\n          /** @type {?} */\n          var context =\n          /** @type {?} */\n          loadLContext(this.nativeNode);\n          /** @type {?} */\n\n          var lView = context.lView;\n          /** @type {?} */\n\n          var tData = lView[TVIEW].data;\n          /** @type {?} */\n\n          var tNode =\n          /** @type {?} */\n          tData[context.nodeIndex];\n          /** @type {?} */\n\n          var properties = collectPropertyBindings(tNode, lView, tData);\n          /** @type {?} */\n\n          var hostProperties = collectHostPropertyBindings(tNode, lView, tData);\n          /** @type {?} */\n\n          var className = collectClassNames(this);\n          /** @type {?} */\n\n          var output = Object.assign({}, properties, hostProperties);\n\n          if (className) {\n            output['className'] = output['className'] ? output['className'] + \" \".concat(className) : className;\n          }\n\n          return output;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"attributes\",\n        get: function get() {\n          /** @type {?} */\n          var attributes = {};\n          /** @type {?} */\n\n          var element = this.nativeElement;\n\n          if (!element) {\n            return attributes;\n          }\n          /** @type {?} */\n\n\n          var context = loadLContext(element);\n          /** @type {?} */\n\n          var lView = context.lView;\n          /** @type {?} */\n\n          var tNodeAttrs =\n          /** @type {?} */\n          lView[TVIEW].data[context.nodeIndex].attrs;\n          /** @type {?} */\n\n          var lowercaseTNodeAttrs = []; // For debug nodes we take the element's attribute directly from the DOM since it allows us\n          // to account for ones that weren't set via bindings (e.g. ViewEngine keeps track of the ones\n          // that are set through `Renderer2`). The problem is that the browser will lowercase all names,\n          // however since we have the attributes already on the TNode, we can preserve the case by going\n          // through them once, adding them to the `attributes` map and putting their lower-cased name\n          // into an array. Afterwards when we're going through the native DOM attributes, we can check\n          // whether we haven't run into an attribute already through the TNode.\n\n          if (tNodeAttrs) {\n            /** @type {?} */\n            var i = 0;\n\n            while (i < tNodeAttrs.length) {\n              /** @type {?} */\n              var attrName = tNodeAttrs[i]; // Stop as soon as we hit a marker. We only care about the regular attributes. Everything\n              // else will be handled below when we read the final attributes off the DOM.\n\n              if (typeof attrName !== 'string') break;\n              /** @type {?} */\n\n              var attrValue = tNodeAttrs[i + 1];\n              attributes[attrName] =\n              /** @type {?} */\n              attrValue;\n              lowercaseTNodeAttrs.push(attrName.toLowerCase());\n              i += 2;\n            }\n          }\n          /** @type {?} */\n\n\n          var eAttrs = element.attributes;\n\n          for (var _i28 = 0; _i28 < eAttrs.length; _i28++) {\n            /** @type {?} */\n            var attr = eAttrs[_i28]; // Make sure that we don't assign the same attribute both in its\n            // case-sensitive form and the lower-cased one from the browser.\n\n            if (lowercaseTNodeAttrs.indexOf(attr.name) === -1) {\n              attributes[attr.name] = attr.value;\n            }\n          }\n\n          return attributes;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"styles\",\n        get: function get() {\n          return _getStylingDebugInfo(this.nativeElement, false);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"classes\",\n        get: function get() {\n          return _getStylingDebugInfo(this.nativeElement, true);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"childNodes\",\n        get: function get() {\n          /** @type {?} */\n          var childNodes = this.nativeNode.childNodes;\n          /** @type {?} */\n\n          var children = [];\n\n          for (var i = 0; i < childNodes.length; i++) {\n            /** @type {?} */\n            var element = childNodes[i];\n            children.push(getDebugNode__POST_R3__(element));\n          }\n\n          return children;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"children\",\n        get: function get() {\n          /** @type {?} */\n          var nativeElement = this.nativeElement;\n          if (!nativeElement) return [];\n          /** @type {?} */\n\n          var childNodes = nativeElement.children;\n          /** @type {?} */\n\n          var children = [];\n\n          for (var i = 0; i < childNodes.length; i++) {\n            /** @type {?} */\n            var element = childNodes[i];\n            children.push(getDebugNode__POST_R3__(element));\n          }\n\n          return children;\n        }\n      }]);\n\n      return DebugElement__POST_R3__;\n    }(DebugNode__POST_R3__);\n    /**\n     * @param {?} element\n     * @param {?} isClassBased\n     * @return {?}\n     */\n\n\n    function _getStylingDebugInfo(element, isClassBased) {\n      if (element) {\n        /** @type {?} */\n        var context = loadLContextFromNode(element);\n        /** @type {?} */\n\n        var _lView11 = context.lView;\n        /** @type {?} */\n\n        var tData = _lView11[TVIEW].data;\n        /** @type {?} */\n\n        var tNode =\n        /** @type {?} */\n        tData[context.nodeIndex];\n\n        if (isClassBased) {\n          return isStylingContext(tNode.classes) ? new NodeStylingDebug(\n          /** @type {?} */\n          tNode.classes, _lView11, true).values : stylingMapToStringMap(tNode.classes);\n        } else {\n          return isStylingContext(tNode.styles) ? new NodeStylingDebug(\n          /** @type {?} */\n          tNode.styles, _lView11, false).values : stylingMapToStringMap(tNode.styles);\n        }\n      }\n\n      return {};\n    }\n    /**\n     * @param {?} parentElement\n     * @param {?} predicate\n     * @param {?} matches\n     * @param {?} elementsOnly\n     * @return {?}\n     */\n\n\n    function _queryAllR3(parentElement, predicate, matches, elementsOnly) {\n      /** @type {?} */\n      var context =\n      /** @type {?} */\n      loadLContext(parentElement.nativeNode);\n      /** @type {?} */\n\n      var parentTNode =\n      /** @type {?} */\n      context.lView[TVIEW].data[context.nodeIndex];\n\n      _queryNodeChildrenR3(parentTNode, context.lView, predicate, matches, elementsOnly, parentElement.nativeNode);\n    }\n    /**\n     * Recursively match the current TNode against the predicate, and goes on with the next ones.\n     *\n     * @param {?} tNode the current TNode\n     * @param {?} lView the LView of this TNode\n     * @param {?} predicate the predicate to match\n     * @param {?} matches the list of positive matches\n     * @param {?} elementsOnly whether only elements should be searched\n     * @param {?} rootNativeNode the root native node on which predicate should not be matched\n     * @return {?}\n     */\n\n\n    function _queryNodeChildrenR3(tNode, lView, predicate, matches, elementsOnly, rootNativeNode) {\n      /** @type {?} */\n      var nativeNode = getNativeByTNodeOrNull(tNode, lView); // For each type of TNode, specific logic is executed.\n\n      if (tNode.type === 3\n      /* Element */\n      || tNode.type === 4\n      /* ElementContainer */\n      ) {\n          // Case 1: the TNode is an element\n          // The native node has to be checked.\n          _addQueryMatchR3(nativeNode, predicate, matches, elementsOnly, rootNativeNode);\n\n          if (isComponent(tNode)) {\n            // If the element is the host of a component, then all nodes in its view have to be processed.\n            // Note: the component's content (tNode.child) will be processed from the insertion points.\n\n            /** @type {?} */\n            var componentView = getComponentViewByIndex(tNode.index, lView);\n\n            if (componentView && componentView[TVIEW].firstChild) {\n              _queryNodeChildrenR3(\n              /** @type {?} */\n              componentView[TVIEW].firstChild, componentView, predicate, matches, elementsOnly, rootNativeNode);\n            }\n          } else {\n            if (tNode.child) {\n              // Otherwise, its children have to be processed.\n              _queryNodeChildrenR3(tNode.child, lView, predicate, matches, elementsOnly, rootNativeNode);\n            } // We also have to query the DOM directly in order to catch elements inserted through\n            // Renderer2. Note that this is __not__ optimal, because we're walking similar trees multiple\n            // times. ViewEngine could do it more efficiently, because all the insertions go through\n            // Renderer2, however that's not the case in Ivy. This approach is being used because:\n            // 1. Matching the ViewEngine behavior would mean potentially introducing a depedency\n            //    from `Renderer2` to Ivy which could bring Ivy code into ViewEngine.\n            // 2. We would have to make `Renderer3` \"know\" about debug nodes.\n            // 3. It allows us to capture nodes that were inserted directly via the DOM.\n\n\n            nativeNode && _queryNativeNodeDescendants(nativeNode, predicate, matches, elementsOnly);\n          } // In all cases, if a dynamic container exists for this node, each view inside it has to be\n          // processed.\n\n          /** @type {?} */\n\n\n          var nodeOrContainer = lView[tNode.index];\n\n          if (isLContainer(nodeOrContainer)) {\n            _queryNodeChildrenInContainerR3(nodeOrContainer, predicate, matches, elementsOnly, rootNativeNode);\n          }\n        } else if (tNode.type === 0\n      /* Container */\n      ) {\n          // Case 2: the TNode is a container\n          // The native node has to be checked.\n\n          /** @type {?} */\n          var lContainer = lView[tNode.index];\n\n          _addQueryMatchR3(lContainer[NATIVE], predicate, matches, elementsOnly, rootNativeNode); // Each view inside the container has to be processed.\n\n\n          _queryNodeChildrenInContainerR3(lContainer, predicate, matches, elementsOnly, rootNativeNode);\n        } else if (tNode.type === 1\n      /* Projection */\n      ) {\n          // Case 3: the TNode is a projection insertion point (i.e. a <ng-content>).\n          // The nodes projected at this location all need to be processed.\n\n          /** @type {?} */\n          var _componentView = findComponentView(\n          /** @type {?} */\n          lView);\n          /** @type {?} */\n\n\n          var componentHost =\n          /** @type {?} */\n          _componentView[T_HOST];\n          /** @type {?} */\n\n          var head =\n          /** @type {?} */\n          componentHost.projection[\n          /** @type {?} */\n          tNode.projection];\n\n          if (Array.isArray(head)) {\n            var _iteratorNormalCompletion50 = true;\n            var _didIteratorError50 = false;\n            var _iteratorError50 = undefined;\n\n            try {\n              for (var _iterator50 = head[Symbol.iterator](), _step50; !(_iteratorNormalCompletion50 = (_step50 = _iterator50.next()).done); _iteratorNormalCompletion50 = true) {\n                var _nativeNode = _step50.value;\n\n                _addQueryMatchR3(_nativeNode, predicate, matches, elementsOnly, rootNativeNode);\n              }\n            } catch (err) {\n              _didIteratorError50 = true;\n              _iteratorError50 = err;\n            } finally {\n              try {\n                if (!_iteratorNormalCompletion50 && _iterator50.return != null) {\n                  _iterator50.return();\n                }\n              } finally {\n                if (_didIteratorError50) {\n                  throw _iteratorError50;\n                }\n              }\n            }\n          } else if (head) {\n            /** @type {?} */\n            var nextLView =\n            /** @type {?} */\n\n            /** @type {?} */\n            _componentView[PARENT];\n            /** @type {?} */\n\n            var nextTNode =\n            /** @type {?} */\n            nextLView[TVIEW].data[head.index];\n\n            _queryNodeChildrenR3(nextTNode, nextLView, predicate, matches, elementsOnly, rootNativeNode);\n          }\n        } else if (tNode.child) {\n        // Case 4: the TNode is a view.\n        _queryNodeChildrenR3(tNode.child, lView, predicate, matches, elementsOnly, rootNativeNode);\n      } // We don't want to go to the next sibling of the root node.\n\n\n      if (rootNativeNode !== nativeNode) {\n        // To determine the next node to be processed, we need to use the next or the projectionNext\n        // link, depending on whether the current node has been projected.\n\n        /** @type {?} */\n        var _nextTNode = tNode.flags & 2\n        /* isProjected */\n        ? tNode.projectionNext : tNode.next;\n\n        if (_nextTNode) {\n          _queryNodeChildrenR3(_nextTNode, lView, predicate, matches, elementsOnly, rootNativeNode);\n        }\n      }\n    }\n    /**\n     * Process all TNodes in a given container.\n     *\n     * @param {?} lContainer the container to be processed\n     * @param {?} predicate the predicate to match\n     * @param {?} matches the list of positive matches\n     * @param {?} elementsOnly whether only elements should be searched\n     * @param {?} rootNativeNode the root native node on which predicate should not be matched\n     * @return {?}\n     */\n\n\n    function _queryNodeChildrenInContainerR3(lContainer, predicate, matches, elementsOnly, rootNativeNode) {\n      for (var i = CONTAINER_HEADER_OFFSET; i < lContainer.length; i++) {\n        /** @type {?} */\n        var childView = lContainer[i];\n\n        _queryNodeChildrenR3(\n        /** @type {?} */\n        childView[TVIEW].node, childView, predicate, matches, elementsOnly, rootNativeNode);\n      }\n    }\n    /**\n     * Match the current native node against the predicate.\n     *\n     * @param {?} nativeNode the current native node\n     * @param {?} predicate the predicate to match\n     * @param {?} matches the list of positive matches\n     * @param {?} elementsOnly whether only elements should be searched\n     * @param {?} rootNativeNode the root native node on which predicate should not be matched\n     * @return {?}\n     */\n\n\n    function _addQueryMatchR3(nativeNode, predicate, matches, elementsOnly, rootNativeNode) {\n      if (rootNativeNode !== nativeNode) {\n        /** @type {?} */\n        var debugNode = getDebugNode(nativeNode);\n\n        if (!debugNode) {\n          return;\n        } // Type of the \"predicate and \"matches\" array are set based on the value of\n        // the \"elementsOnly\" parameter. TypeScript is not able to properly infer these\n        // types with generics, so we manually cast the parameters accordingly.\n\n\n        if (elementsOnly && debugNode instanceof DebugElement__POST_R3__ && predicate(debugNode) && matches.indexOf(debugNode) === -1) {\n          matches.push(debugNode);\n        } else if (!elementsOnly &&\n        /** @type {?} */\n        predicate(debugNode) &&\n        /** @type {?} */\n        matches.indexOf(debugNode) === -1) {\n          /** @type {?} */\n          matches.push(debugNode);\n        }\n      }\n    }\n    /**\n     * Match all the descendants of a DOM node against a predicate.\n     *\n     * @param {?} parentNode\n     * @param {?} predicate the predicate to match\n     * @param {?} matches the list of positive matches\n     * @param {?} elementsOnly whether only elements should be searched\n     * @return {?}\n     */\n\n\n    function _queryNativeNodeDescendants(parentNode, predicate, matches, elementsOnly) {\n      /** @type {?} */\n      var nodes = parentNode.childNodes;\n      /** @type {?} */\n\n      var length = nodes.length;\n\n      for (var i = 0; i < length; i++) {\n        /** @type {?} */\n        var node = nodes[i];\n        /** @type {?} */\n\n        var debugNode = getDebugNode(node);\n\n        if (debugNode) {\n          if (elementsOnly && debugNode instanceof DebugElement__POST_R3__ && predicate(debugNode) && matches.indexOf(debugNode) === -1) {\n            matches.push(debugNode);\n          } else if (!elementsOnly &&\n          /** @type {?} */\n          predicate(debugNode) &&\n          /** @type {?} */\n          matches.indexOf(debugNode) === -1) {\n            /** @type {?} */\n            matches.push(debugNode);\n          }\n\n          _queryNativeNodeDescendants(node, predicate, matches, elementsOnly);\n        }\n      }\n    }\n    /**\n     * Iterates through the property bindings for a given node and generates\n     * a map of property names to values. This map only contains property bindings\n     * defined in templates, not in host bindings.\n     * @param {?} tNode\n     * @param {?} lView\n     * @param {?} tData\n     * @return {?}\n     */\n\n\n    function collectPropertyBindings(tNode, lView, tData) {\n      /** @type {?} */\n      var properties = {};\n      /** @type {?} */\n\n      var bindingIndex = getFirstBindingIndex(tNode.propertyMetadataStartIndex, tData);\n\n      while (bindingIndex < tNode.propertyMetadataEndIndex) {\n        /** @type {?} */\n        var value = void 0;\n        /** @type {?} */\n\n        var propMetadata =\n        /** @type {?} */\n        tData[bindingIndex];\n\n        while (!isPropMetadataString(propMetadata)) {\n          // This is the first value for an interpolation. We need to build up\n          // the full interpolation by combining runtime values in LView with\n          // the static interstitial values stored in TData.\n          value = (value || '') + renderStringify(lView[bindingIndex]) + tData[bindingIndex];\n          propMetadata =\n          /** @type {?} */\n          tData[++bindingIndex];\n        }\n\n        value = value === undefined ? lView[bindingIndex] : value += lView[bindingIndex]; // Property metadata string has 3 parts: property name, prefix, and suffix\n\n        /** @type {?} */\n\n        var metadataParts = propMetadata.split(INTERPOLATION_DELIMITER);\n        /** @type {?} */\n\n        var propertyName = metadataParts[0]; // Attr bindings don't have property names and should be skipped\n\n        if (propertyName) {\n          // Wrap value with prefix and suffix (will be '' for normal bindings), if they're defined.\n          // Avoid wrapping for normal bindings so that the value doesn't get cast to a string.\n          properties[propertyName] = metadataParts[1] && metadataParts[2] ? metadataParts[1] + value + metadataParts[2] : value;\n        }\n\n        bindingIndex++;\n      }\n\n      return properties;\n    }\n    /**\n     * Retrieves the first binding index that holds values for this property\n     * binding.\n     *\n     * For normal bindings (e.g. `[id]=\"id\"`), the binding index is the\n     * same as the metadata index. For interpolations (e.g. `id=\"{{id}}-{{name}}\"`),\n     * there can be multiple binding values, so we might have to loop backwards\n     * from the metadata index until we find the first one.\n     *\n     * @param {?} metadataIndex The index of the first property metadata string for\n     * this node.\n     * @param {?} tData The data array for the current TView\n     * @return {?} The first binding index for this binding\n     */\n\n\n    function getFirstBindingIndex(metadataIndex, tData) {\n      /** @type {?} */\n      var currentBindingIndex = metadataIndex - 1; // If the slot before the metadata holds a string, we know that this\n      // metadata applies to an interpolation with at least 2 bindings, and\n      // we need to search further to access the first binding value.\n\n      /** @type {?} */\n\n      var currentValue = tData[currentBindingIndex]; // We need to iterate until we hit either a:\n      // - TNode (it is an element slot marking the end of `consts` section), OR a\n      // - metadata string (slot is attribute metadata or a previous node's property metadata)\n\n      while (typeof currentValue === 'string' && !isPropMetadataString(currentValue)) {\n        currentValue = tData[--currentBindingIndex];\n      }\n\n      return currentBindingIndex + 1;\n    }\n    /**\n     * @param {?} tNode\n     * @param {?} lView\n     * @param {?} tData\n     * @return {?}\n     */\n\n\n    function collectHostPropertyBindings(tNode, lView, tData) {\n      /** @type {?} */\n      var properties = {}; // Host binding values for a node are stored after directives on that node\n\n      /** @type {?} */\n\n      var hostPropIndex = tNode.directiveEnd;\n      /** @type {?} */\n\n      var propMetadata =\n      /** @type {?} */\n      tData[hostPropIndex]; // When we reach a value in TView.data that is not a string, we know we've\n      // hit the next node's providers and directives and should stop copying data.\n\n      while (typeof propMetadata === 'string') {\n        /** @type {?} */\n        var propertyName = propMetadata.split(INTERPOLATION_DELIMITER)[0];\n        properties[propertyName] = lView[hostPropIndex];\n        propMetadata = tData[++hostPropIndex];\n      }\n\n      return properties;\n    }\n    /**\n     * @param {?} debugElement\n     * @return {?}\n     */\n\n\n    function collectClassNames(debugElement) {\n      /** @type {?} */\n      var classes = debugElement.classes;\n      /** @type {?} */\n\n      var output = '';\n\n      for (var _i29 = 0, _Object$keys4 = Object.keys(classes); _i29 < _Object$keys4.length; _i29++) {\n        var className = _Object$keys4[_i29];\n\n        if (classes[className]) {\n          output = output ? output + \" \".concat(className) : className;\n        }\n      }\n\n      return output;\n    } // Need to keep the nodes in a global Map so that multiple angular apps are supported.\n\n    /** @type {?} */\n\n\n    var _nativeNodeToDebugNode = new Map();\n    /**\n     * @param {?} nativeNode\n     * @return {?}\n     */\n\n\n    function getDebugNode__PRE_R3__(nativeNode) {\n      return _nativeNodeToDebugNode.get(nativeNode) || null;\n    }\n    /** @type {?} */\n\n\n    var NG_DEBUG_PROPERTY = '__ng_debug__';\n    /**\n     * @param {?} nativeNode\n     * @return {?}\n     */\n\n    function getDebugNode__POST_R3__(nativeNode) {\n      if (nativeNode instanceof Node) {\n        if (!nativeNode.hasOwnProperty(NG_DEBUG_PROPERTY)) {\n          /** @type {?} */\n          nativeNode[NG_DEBUG_PROPERTY] = nativeNode.nodeType == Node.ELEMENT_NODE ? new DebugElement__POST_R3__(\n          /** @type {?} */\n          nativeNode) : new DebugNode__POST_R3__(nativeNode);\n        }\n\n        return (\n          /** @type {?} */\n          nativeNode[NG_DEBUG_PROPERTY]\n        );\n      }\n\n      return null;\n    }\n    /**\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var getDebugNode = getDebugNode__PRE_R3__;\n    /**\n     * @return {?}\n     */\n\n    function getAllDebugNodes() {\n      return Array.from(_nativeNodeToDebugNode.values());\n    }\n    /**\n     * @param {?} node\n     * @return {?}\n     */\n\n\n    function indexDebugNode(node) {\n      _nativeNodeToDebugNode.set(node.nativeNode, node);\n    }\n    /**\n     * @param {?} node\n     * @return {?}\n     */\n\n\n    function removeDebugNodeFromIndex(node) {\n      _nativeNodeToDebugNode.delete(node.nativeNode);\n    }\n    /**\n     * A boolean-valued function over a value, possibly including context information\n     * regarding that value's position in an array.\n     *\n     * \\@publicApi\n     * @record\n     * @template T\n     */\n\n\n    function Predicate() {}\n    /**\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var DebugNode$1 = DebugNode__PRE_R3__;\n    /**\n     * \\@publicApi\n     * @type {?}\n     */\n\n    var DebugElement = DebugElement__PRE_R3__;\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n    var _CORE_PLATFORM_PROVIDERS = [// Set a default platform name for platforms that don't set it explicitly.\n    {\n      provide: PLATFORM_ID,\n      useValue: 'unknown'\n    }, {\n      provide: PlatformRef,\n      deps: [Injector]\n    }, {\n      provide: TestabilityRegistry,\n      deps: []\n    }, {\n      provide: Console,\n      deps: []\n    }];\n    /**\n     * This platform has to be included in any other platform\n     *\n     * \\@publicApi\n     * @type {?}\n     */\n\n    var platformCore = createPlatformFactory(null, 'core', _CORE_PLATFORM_PROVIDERS);\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @return {?}\n     */\n\n    function _iterableDiffersFactory() {\n      return defaultIterableDiffers;\n    }\n    /**\n     * @return {?}\n     */\n\n\n    function _keyValueDiffersFactory() {\n      return defaultKeyValueDiffers;\n    }\n    /**\n     * @param {?=} locale\n     * @return {?}\n     */\n\n\n    function _localeFactory(locale) {\n      if (locale) {\n        if (ivyEnabled) {\n          setLocaleId(locale);\n        }\n\n        return locale;\n      } // Use `goog.LOCALE` as default value for `LOCALE_ID` token for Closure Compiler.\n      // Note: default `goog.LOCALE` value is `en`, when Angular used `en-US`. In order to preserve\n      // backwards compatibility, we use Angular default value over Closure Compiler's one.\n\n\n      if (ngI18nClosureMode && typeof goog !== 'undefined' && goog.LOCALE !== 'en') {\n        if (ivyEnabled) {\n          setLocaleId(goog.LOCALE);\n        }\n\n        return goog.LOCALE;\n      }\n\n      return DEFAULT_LOCALE_ID;\n    }\n    /**\n     * A built-in [dependency injection token](guide/glossary#di-token)\n     * that is used to configure the root injector for bootstrapping.\n     * @type {?}\n     */\n\n\n    var APPLICATION_MODULE_PROVIDERS = [{\n      provide: ApplicationRef,\n      useClass: ApplicationRef,\n      deps: [NgZone, Console, Injector, ErrorHandler, ComponentFactoryResolver, ApplicationInitStatus]\n    }, {\n      provide: SCHEDULER,\n      deps: [NgZone],\n      useFactory: zoneSchedulerFactory\n    }, {\n      provide: ApplicationInitStatus,\n      useClass: ApplicationInitStatus,\n      deps: [[new Optional(), APP_INITIALIZER]]\n    }, {\n      provide: Compiler,\n      useClass: Compiler,\n      deps: []\n    }, APP_ID_RANDOM_PROVIDER, {\n      provide: IterableDiffers,\n      useFactory: _iterableDiffersFactory,\n      deps: []\n    }, {\n      provide: KeyValueDiffers,\n      useFactory: _keyValueDiffersFactory,\n      deps: []\n    }, {\n      provide: LOCALE_ID$1,\n      useFactory: _localeFactory,\n      deps: [[new Inject(LOCALE_ID$1), new Optional(), new SkipSelf()]]\n    }];\n    /**\n     * Schedule work at next available slot.\n     *\n     * In Ivy this is just `requestAnimationFrame`. For compatibility reasons when bootstrapped\n     * using `platformRef.bootstrap` we need to use `NgZone.onStable` as the scheduling mechanism.\n     * This overrides the scheduling mechanism in Ivy to `NgZone.onStable`.\n     *\n     * @param {?} ngZone NgZone to use for scheduling.\n     * @return {?}\n     */\n\n    function zoneSchedulerFactory(ngZone) {\n      /** @type {?} */\n      var queue = [];\n      ngZone.onStable.subscribe(\n      /**\n      * @return {?}\n      */\n      function () {\n        while (queue.length) {\n          /** @type {?} */\n          queue.pop()();\n        }\n      });\n      return (\n        /**\n        * @param {?} fn\n        * @return {?}\n        */\n        function (fn) {\n          queue.push(fn);\n        }\n      );\n    }\n    /**\n     * Configures the root injector for an app with\n     * providers of `\\@angular/core` dependencies that `ApplicationRef` needs\n     * to bootstrap components.\n     *\n     * Re-exported by `BrowserModule`, which is included automatically in the root\n     * `AppModule` when you create a new app with the CLI `new` command.\n     *\n     * \\@publicApi\n     */\n\n\n    var ApplicationModule = // Inject ApplicationRef to make it eager...\n\n    /**\n     * @param {?} appRef\n     */\n    function ApplicationModule(appRef) {\n      _classCallCheck(this, ApplicationModule);\n    };\n\n    ApplicationModule.decorators = [{\n      type: NgModule,\n      args: [{\n        providers: APPLICATION_MODULE_PROVIDERS\n      }]\n    }];\n    /** @nocollapse */\n\n    ApplicationModule.ctorParameters = function () {\n      return [{\n        type: ApplicationRef\n      }];\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @param {?} flags\n     * @param {?} matchedQueriesDsl\n     * @param {?} ngContentIndex\n     * @param {?} childCount\n     * @param {?=} handleEvent\n     * @param {?=} templateFactory\n     * @return {?}\n     */\n\n\n    function anchorDef(flags, matchedQueriesDsl, ngContentIndex, childCount, handleEvent, templateFactory) {\n      flags |= 1\n      /* TypeElement */\n      ;\n\n      var _splitMatchedQueriesD2 = splitMatchedQueriesDsl(matchedQueriesDsl),\n          matchedQueries = _splitMatchedQueriesD2.matchedQueries,\n          references = _splitMatchedQueriesD2.references,\n          matchedQueryIds = _splitMatchedQueriesD2.matchedQueryIds;\n      /** @type {?} */\n\n\n      var template = templateFactory ? resolveDefinition(templateFactory) : null;\n      return {\n        // will bet set by the view definition\n        nodeIndex: -1,\n        parent: null,\n        renderParent: null,\n        bindingIndex: -1,\n        outputIndex: -1,\n        // regular values\n        flags: flags,\n        checkIndex: -1,\n        childFlags: 0,\n        directChildFlags: 0,\n        childMatchedQueries: 0,\n        matchedQueries: matchedQueries,\n        matchedQueryIds: matchedQueryIds,\n        references: references,\n        ngContentIndex: ngContentIndex,\n        childCount: childCount,\n        bindings: [],\n        bindingFlags: 0,\n        outputs: [],\n        element: {\n          ns: null,\n          name: null,\n          attrs: null,\n          template: template,\n          componentProvider: null,\n          componentView: null,\n          componentRendererType: null,\n          publicProviders: null,\n          allProviders: null,\n          handleEvent: handleEvent || NOOP\n        },\n        provider: null,\n        text: null,\n        query: null,\n        ngContent: null\n      };\n    }\n    /**\n     * @param {?} checkIndex\n     * @param {?} flags\n     * @param {?} matchedQueriesDsl\n     * @param {?} ngContentIndex\n     * @param {?} childCount\n     * @param {?} namespaceAndName\n     * @param {?=} fixedAttrs\n     * @param {?=} bindings\n     * @param {?=} outputs\n     * @param {?=} handleEvent\n     * @param {?=} componentView\n     * @param {?=} componentRendererType\n     * @return {?}\n     */\n\n\n    function elementDef(checkIndex, flags, matchedQueriesDsl, ngContentIndex, childCount, namespaceAndName) {\n      var fixedAttrs = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : [];\n      var bindings = arguments.length > 7 ? arguments[7] : undefined;\n      var outputs = arguments.length > 8 ? arguments[8] : undefined;\n      var handleEvent = arguments.length > 9 ? arguments[9] : undefined;\n      var componentView = arguments.length > 10 ? arguments[10] : undefined;\n      var componentRendererType = arguments.length > 11 ? arguments[11] : undefined;\n\n      if (!handleEvent) {\n        handleEvent = NOOP;\n      }\n\n      var _splitMatchedQueriesD3 = splitMatchedQueriesDsl(matchedQueriesDsl),\n          matchedQueries = _splitMatchedQueriesD3.matchedQueries,\n          references = _splitMatchedQueriesD3.references,\n          matchedQueryIds = _splitMatchedQueriesD3.matchedQueryIds;\n      /** @type {?} */\n\n\n      var ns =\n      /** @type {?} */\n      null;\n      /** @type {?} */\n\n      var name =\n      /** @type {?} */\n      null;\n\n      if (namespaceAndName) {\n        var _splitNamespace5 = splitNamespace(namespaceAndName);\n\n        var _splitNamespace6 = _slicedToArray(_splitNamespace5, 2);\n\n        ns = _splitNamespace6[0];\n        name = _splitNamespace6[1];\n      }\n\n      bindings = bindings || [];\n      /** @type {?} */\n\n      var bindingDefs = new Array(bindings.length);\n\n      for (var i = 0; i < bindings.length; i++) {\n        var _bindings$i = _slicedToArray(bindings[i], 3),\n            bindingFlags = _bindings$i[0],\n            _namespaceAndName = _bindings$i[1],\n            suffixOrSecurityContext = _bindings$i[2];\n\n        var _splitNamespace7 = splitNamespace(_namespaceAndName),\n            _splitNamespace8 = _slicedToArray(_splitNamespace7, 2),\n            _ns = _splitNamespace8[0],\n            _name2 = _splitNamespace8[1];\n        /** @type {?} */\n\n\n        var securityContext =\n        /** @type {?} */\n        undefined;\n        /** @type {?} */\n\n        var suffix =\n        /** @type {?} */\n        undefined;\n\n        switch (bindingFlags & 15\n        /* Types */\n        ) {\n          case 4\n          /* TypeElementStyle */\n          :\n            suffix =\n            /** @type {?} */\n            suffixOrSecurityContext;\n            break;\n\n          case 1\n          /* TypeElementAttribute */\n          :\n          case 8\n          /* TypeProperty */\n          :\n            securityContext =\n            /** @type {?} */\n            suffixOrSecurityContext;\n            break;\n        }\n\n        bindingDefs[i] = {\n          flags: bindingFlags,\n          ns: _ns,\n          name: _name2,\n          nonMinifiedName: _name2,\n          securityContext: securityContext,\n          suffix: suffix\n        };\n      }\n\n      outputs = outputs || [];\n      /** @type {?} */\n\n      var outputDefs = new Array(outputs.length);\n\n      for (var _i30 = 0; _i30 < outputs.length; _i30++) {\n        var _outputs$_i = _slicedToArray(outputs[_i30], 2),\n            target = _outputs$_i[0],\n            eventName = _outputs$_i[1];\n\n        outputDefs[_i30] = {\n          type: 0\n          /* ElementOutput */\n          ,\n          target:\n          /** @type {?} */\n          target,\n          eventName: eventName,\n          propName: null\n        };\n      }\n\n      fixedAttrs = fixedAttrs || [];\n      /** @type {?} */\n\n      var attrs =\n      /** @type {?} */\n      fixedAttrs.map(\n      /**\n      * @param {?} __0\n      * @return {?}\n      */\n      function (_ref66) {\n        var _ref67 = _slicedToArray(_ref66, 2),\n            namespaceAndName = _ref67[0],\n            value = _ref67[1];\n\n        var _splitNamespace9 = splitNamespace(namespaceAndName),\n            _splitNamespace10 = _slicedToArray(_splitNamespace9, 2),\n            ns = _splitNamespace10[0],\n            name = _splitNamespace10[1];\n\n        return [ns, name, value];\n      });\n      componentRendererType = resolveRendererType2(componentRendererType);\n\n      if (componentView) {\n        flags |= 33554432\n        /* ComponentView */\n        ;\n      }\n\n      flags |= 1\n      /* TypeElement */\n      ;\n      return {\n        // will bet set by the view definition\n        nodeIndex: -1,\n        parent: null,\n        renderParent: null,\n        bindingIndex: -1,\n        outputIndex: -1,\n        // regular values\n        checkIndex: checkIndex,\n        flags: flags,\n        childFlags: 0,\n        directChildFlags: 0,\n        childMatchedQueries: 0,\n        matchedQueries: matchedQueries,\n        matchedQueryIds: matchedQueryIds,\n        references: references,\n        ngContentIndex: ngContentIndex,\n        childCount: childCount,\n        bindings: bindingDefs,\n        bindingFlags: calcBindingFlags(bindingDefs),\n        outputs: outputDefs,\n        element: {\n          ns: ns,\n          name: name,\n          attrs: attrs,\n          template: null,\n          // will bet set by the view definition\n          componentProvider: null,\n          componentView: componentView || null,\n          componentRendererType: componentRendererType,\n          publicProviders: null,\n          allProviders: null,\n          handleEvent: handleEvent || NOOP\n        },\n        provider: null,\n        text: null,\n        query: null,\n        ngContent: null\n      };\n    }\n    /**\n     * @param {?} view\n     * @param {?} renderHost\n     * @param {?} def\n     * @return {?}\n     */\n\n\n    function createElement(view, renderHost, def) {\n      /** @type {?} */\n      var elDef =\n      /** @type {?} */\n      def.element;\n      /** @type {?} */\n\n      var rootSelectorOrNode = view.root.selectorOrNode;\n      /** @type {?} */\n\n      var renderer = view.renderer;\n      /** @type {?} */\n\n      var el;\n\n      if (view.parent || !rootSelectorOrNode) {\n        if (elDef.name) {\n          el = renderer.createElement(elDef.name, elDef.ns);\n        } else {\n          el = renderer.createComment('');\n        }\n        /** @type {?} */\n\n\n        var parentEl = getParentRenderElement(view, renderHost, def);\n\n        if (parentEl) {\n          renderer.appendChild(parentEl, el);\n        }\n      } else {\n        // when using native Shadow DOM, do not clear the root element contents to allow slot projection\n\n        /** @type {?} */\n        var preserveContent = !!elDef.componentRendererType && elDef.componentRendererType.encapsulation === ViewEncapsulation.ShadowDom;\n        el = renderer.selectRootElement(rootSelectorOrNode, preserveContent);\n      }\n\n      if (elDef.attrs) {\n        for (var i = 0; i < elDef.attrs.length; i++) {\n          var _elDef$attrs$i = _slicedToArray(elDef.attrs[i], 3),\n              ns = _elDef$attrs$i[0],\n              name = _elDef$attrs$i[1],\n              value = _elDef$attrs$i[2];\n\n          renderer.setAttribute(el, name, value, ns);\n        }\n      }\n\n      return el;\n    }\n    /**\n     * @param {?} view\n     * @param {?} compView\n     * @param {?} def\n     * @param {?} el\n     * @return {?}\n     */\n\n\n    function listenToElementOutputs(view, compView, def, el) {\n      for (var i = 0; i < def.outputs.length; i++) {\n        /** @type {?} */\n        var output = def.outputs[i];\n        /** @type {?} */\n\n        var handleEventClosure = renderEventHandlerClosure(view, def.nodeIndex, elementEventFullName(output.target, output.eventName));\n        /** @type {?} */\n\n        var listenTarget = output.target;\n        /** @type {?} */\n\n        var listenerView = view;\n\n        if (output.target === 'component') {\n          listenTarget = null;\n          listenerView = compView;\n        }\n        /** @type {?} */\n\n\n        var disposable =\n        /** @type {?} */\n        listenerView.renderer.listen(listenTarget || el, output.eventName, handleEventClosure);\n\n        /** @type {?} */\n        view.disposables[def.outputIndex + i] = disposable;\n      }\n    }\n    /**\n     * @param {?} view\n     * @param {?} index\n     * @param {?} eventName\n     * @return {?}\n     */\n\n\n    function renderEventHandlerClosure(view, index, eventName) {\n      return (\n        /**\n        * @param {?} event\n        * @return {?}\n        */\n        function (event) {\n          return dispatchEvent(view, index, eventName, event);\n        }\n      );\n    }\n    /**\n     * @param {?} view\n     * @param {?} def\n     * @param {?} v0\n     * @param {?} v1\n     * @param {?} v2\n     * @param {?} v3\n     * @param {?} v4\n     * @param {?} v5\n     * @param {?} v6\n     * @param {?} v7\n     * @param {?} v8\n     * @param {?} v9\n     * @return {?}\n     */\n\n\n    function checkAndUpdateElementInline(view, def, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9) {\n      /** @type {?} */\n      var bindLen = def.bindings.length;\n      /** @type {?} */\n\n      var changed = false;\n      if (bindLen > 0 && checkAndUpdateElementValue(view, def, 0, v0)) changed = true;\n      if (bindLen > 1 && checkAndUpdateElementValue(view, def, 1, v1)) changed = true;\n      if (bindLen > 2 && checkAndUpdateElementValue(view, def, 2, v2)) changed = true;\n      if (bindLen > 3 && checkAndUpdateElementValue(view, def, 3, v3)) changed = true;\n      if (bindLen > 4 && checkAndUpdateElementValue(view, def, 4, v4)) changed = true;\n      if (bindLen > 5 && checkAndUpdateElementValue(view, def, 5, v5)) changed = true;\n      if (bindLen > 6 && checkAndUpdateElementValue(view, def, 6, v6)) changed = true;\n      if (bindLen > 7 && checkAndUpdateElementValue(view, def, 7, v7)) changed = true;\n      if (bindLen > 8 && checkAndUpdateElementValue(view, def, 8, v8)) changed = true;\n      if (bindLen > 9 && checkAndUpdateElementValue(view, def, 9, v9)) changed = true;\n      return changed;\n    }\n    /**\n     * @param {?} view\n     * @param {?} def\n     * @param {?} values\n     * @return {?}\n     */\n\n\n    function checkAndUpdateElementDynamic(view, def, values) {\n      /** @type {?} */\n      var changed = false;\n\n      for (var i = 0; i < values.length; i++) {\n        if (checkAndUpdateElementValue(view, def, i, values[i])) changed = true;\n      }\n\n      return changed;\n    }\n    /**\n     * @param {?} view\n     * @param {?} def\n     * @param {?} bindingIdx\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function checkAndUpdateElementValue(view, def, bindingIdx, value) {\n      if (!checkAndUpdateBinding(view, def, bindingIdx, value)) {\n        return false;\n      }\n      /** @type {?} */\n\n\n      var binding = def.bindings[bindingIdx];\n      /** @type {?} */\n\n      var elData = asElementData(view, def.nodeIndex);\n      /** @type {?} */\n\n      var renderNode = elData.renderElement;\n      /** @type {?} */\n\n      var name =\n      /** @type {?} */\n      binding.name;\n\n      switch (binding.flags & 15\n      /* Types */\n      ) {\n        case 1\n        /* TypeElementAttribute */\n        :\n          setElementAttribute(view, binding, renderNode, binding.ns, name, value);\n          break;\n\n        case 2\n        /* TypeElementClass */\n        :\n          setElementClass(view, renderNode, name, value);\n          break;\n\n        case 4\n        /* TypeElementStyle */\n        :\n          setElementStyle(view, binding, renderNode, name, value);\n          break;\n\n        case 8\n        /* TypeProperty */\n        :\n          /** @type {?} */\n          var bindView = def.flags & 33554432\n          /* ComponentView */\n          && binding.flags & 32\n          /* SyntheticHostProperty */\n          ? elData.componentView : view;\n          setElementProperty(bindView, binding, renderNode, name, value);\n          break;\n      }\n\n      return true;\n    }\n    /**\n     * @param {?} view\n     * @param {?} binding\n     * @param {?} renderNode\n     * @param {?} ns\n     * @param {?} name\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function setElementAttribute(view, binding, renderNode, ns, name, value) {\n      /** @type {?} */\n      var securityContext = binding.securityContext;\n      /** @type {?} */\n\n      var renderValue = securityContext ? view.root.sanitizer.sanitize(securityContext, value) : value;\n      renderValue = renderValue != null ? renderValue.toString() : null;\n      /** @type {?} */\n\n      var renderer = view.renderer;\n\n      if (value != null) {\n        renderer.setAttribute(renderNode, name, renderValue, ns);\n      } else {\n        renderer.removeAttribute(renderNode, name, ns);\n      }\n    }\n    /**\n     * @param {?} view\n     * @param {?} renderNode\n     * @param {?} name\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function setElementClass(view, renderNode, name, value) {\n      /** @type {?} */\n      var renderer = view.renderer;\n\n      if (value) {\n        renderer.addClass(renderNode, name);\n      } else {\n        renderer.removeClass(renderNode, name);\n      }\n    }\n    /**\n     * @param {?} view\n     * @param {?} binding\n     * @param {?} renderNode\n     * @param {?} name\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function setElementStyle(view, binding, renderNode, name, value) {\n      /** @type {?} */\n      var renderValue = view.root.sanitizer.sanitize(SecurityContext.STYLE,\n      /** @type {?} */\n      value);\n\n      if (renderValue != null) {\n        renderValue = renderValue.toString();\n        /** @type {?} */\n\n        var unit = binding.suffix;\n\n        if (unit != null) {\n          renderValue = renderValue + unit;\n        }\n      } else {\n        renderValue = null;\n      }\n      /** @type {?} */\n\n\n      var renderer = view.renderer;\n\n      if (renderValue != null) {\n        renderer.setStyle(renderNode, name, renderValue);\n      } else {\n        renderer.removeStyle(renderNode, name);\n      }\n    }\n    /**\n     * @param {?} view\n     * @param {?} binding\n     * @param {?} renderNode\n     * @param {?} name\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function setElementProperty(view, binding, renderNode, name, value) {\n      /** @type {?} */\n      var securityContext = binding.securityContext;\n      /** @type {?} */\n\n      var renderValue = securityContext ? view.root.sanitizer.sanitize(securityContext, value) : value;\n      view.renderer.setProperty(renderNode, name, renderValue);\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @param {?} flags\n     * @param {?} id\n     * @param {?} bindings\n     * @return {?}\n     */\n\n\n    function queryDef(flags, id, bindings) {\n      /** @type {?} */\n      var bindingDefs = [];\n\n      for (var propName in bindings) {\n        /** @type {?} */\n        var bindingType = bindings[propName];\n        bindingDefs.push({\n          propName: propName,\n          bindingType: bindingType\n        });\n      }\n\n      return {\n        // will bet set by the view definition\n        nodeIndex: -1,\n        parent: null,\n        renderParent: null,\n        bindingIndex: -1,\n        outputIndex: -1,\n        // regular values\n        // TODO(vicb): check\n        checkIndex: -1,\n        flags: flags,\n        childFlags: 0,\n        directChildFlags: 0,\n        childMatchedQueries: 0,\n        ngContentIndex: -1,\n        matchedQueries: {},\n        matchedQueryIds: 0,\n        references: {},\n        childCount: 0,\n        bindings: [],\n        bindingFlags: 0,\n        outputs: [],\n        element: null,\n        provider: null,\n        text: null,\n        query: {\n          id: id,\n          filterId: filterQueryId(id),\n          bindings: bindingDefs\n        },\n        ngContent: null\n      };\n    }\n    /**\n     * @return {?}\n     */\n\n\n    function createQuery() {\n      return new QueryList();\n    }\n    /**\n     * @param {?} view\n     * @return {?}\n     */\n\n\n    function dirtyParentQueries(view) {\n      /** @type {?} */\n      var queryIds = view.def.nodeMatchedQueries;\n\n      while (view.parent && isEmbeddedView(view)) {\n        /** @type {?} */\n        var tplDef =\n        /** @type {?} */\n        view.parentNodeDef;\n        view = view.parent; // content queries\n\n        /** @type {?} */\n\n        var end = tplDef.nodeIndex + tplDef.childCount;\n\n        for (var i = 0; i <= end; i++) {\n          /** @type {?} */\n          var nodeDef = view.def.nodes[i];\n\n          if (nodeDef.flags & 67108864\n          /* TypeContentQuery */\n          && nodeDef.flags & 536870912\n          /* DynamicQuery */\n          && (\n          /** @type {?} */\n          nodeDef.query.filterId & queryIds) ===\n          /** @type {?} */\n          nodeDef.query.filterId) {\n            asQueryList(view, i).setDirty();\n          }\n\n          if (nodeDef.flags & 1\n          /* TypeElement */\n          && i + nodeDef.childCount < tplDef.nodeIndex || !(nodeDef.childFlags & 67108864\n          /* TypeContentQuery */\n          ) || !(nodeDef.childFlags & 536870912\n          /* DynamicQuery */\n          )) {\n            // skip elements that don't contain the template element or no query.\n            i += nodeDef.childCount;\n          }\n        }\n      } // view queries\n\n\n      if (view.def.nodeFlags & 134217728\n      /* TypeViewQuery */\n      ) {\n          for (var _i31 = 0; _i31 < view.def.nodes.length; _i31++) {\n            /** @type {?} */\n            var _nodeDef = view.def.nodes[_i31];\n\n            if (_nodeDef.flags & 134217728\n            /* TypeViewQuery */\n            && _nodeDef.flags & 536870912\n            /* DynamicQuery */\n            ) {\n              asQueryList(view, _i31).setDirty();\n            } // only visit the root nodes\n\n\n            _i31 += _nodeDef.childCount;\n          }\n        }\n    }\n    /**\n     * @param {?} view\n     * @param {?} nodeDef\n     * @return {?}\n     */\n\n\n    function checkAndUpdateQuery(view, nodeDef) {\n      /** @type {?} */\n      var queryList = asQueryList(view, nodeDef.nodeIndex);\n\n      if (!queryList.dirty) {\n        return;\n      }\n      /** @type {?} */\n\n\n      var directiveInstance;\n      /** @type {?} */\n\n      var newValues =\n      /** @type {?} */\n      undefined;\n\n      if (nodeDef.flags & 67108864\n      /* TypeContentQuery */\n      ) {\n          /** @type {?} */\n          var _elementDef =\n          /** @type {?} */\n\n          /** @type {?} */\n          nodeDef.parent.parent;\n          newValues = calcQueryValues(view, _elementDef.nodeIndex, _elementDef.nodeIndex + _elementDef.childCount,\n          /** @type {?} */\n          nodeDef.query, []);\n          directiveInstance = asProviderData(view,\n          /** @type {?} */\n          nodeDef.parent.nodeIndex).instance;\n        } else if (nodeDef.flags & 134217728\n      /* TypeViewQuery */\n      ) {\n          newValues = calcQueryValues(view, 0, view.def.nodes.length - 1,\n          /** @type {?} */\n          nodeDef.query, []);\n          directiveInstance = view.component;\n        }\n\n      queryList.reset(newValues);\n      /** @type {?} */\n\n      var bindings =\n      /** @type {?} */\n      nodeDef.query.bindings;\n      /** @type {?} */\n\n      var notify = false;\n\n      for (var i = 0; i < bindings.length; i++) {\n        /** @type {?} */\n        var binding = bindings[i];\n        /** @type {?} */\n\n        var boundValue = void 0;\n\n        switch (binding.bindingType) {\n          case 0\n          /* First */\n          :\n            boundValue = queryList.first;\n            break;\n\n          case 1\n          /* All */\n          :\n            boundValue = queryList;\n            notify = true;\n            break;\n        }\n\n        directiveInstance[binding.propName] = boundValue;\n      }\n\n      if (notify) {\n        queryList.notifyOnChanges();\n      }\n    }\n    /**\n     * @param {?} view\n     * @param {?} startIndex\n     * @param {?} endIndex\n     * @param {?} queryDef\n     * @param {?} values\n     * @return {?}\n     */\n\n\n    function calcQueryValues(view, startIndex, endIndex, queryDef, values) {\n      for (var i = startIndex; i <= endIndex; i++) {\n        /** @type {?} */\n        var nodeDef = view.def.nodes[i];\n        /** @type {?} */\n\n        var valueType = nodeDef.matchedQueries[queryDef.id];\n\n        if (valueType != null) {\n          values.push(getQueryValue(view, nodeDef, valueType));\n        }\n\n        if (nodeDef.flags & 1\n        /* TypeElement */\n        &&\n        /** @type {?} */\n        nodeDef.element.template && (\n        /** @type {?} */\n\n        /** @type {?} */\n        nodeDef.element.template.nodeMatchedQueries & queryDef.filterId) === queryDef.filterId) {\n          /** @type {?} */\n          var elementData = asElementData(view, i); // check embedded views that were attached at the place of their template,\n          // but process child nodes first if some match the query (see issue #16568)\n\n          if ((nodeDef.childMatchedQueries & queryDef.filterId) === queryDef.filterId) {\n            calcQueryValues(view, i + 1, i + nodeDef.childCount, queryDef, values);\n            i += nodeDef.childCount;\n          }\n\n          if (nodeDef.flags & 16777216\n          /* EmbeddedViews */\n          ) {\n              /** @type {?} */\n              var embeddedViews =\n              /** @type {?} */\n              elementData.viewContainer._embeddedViews;\n\n              for (var k = 0; k < embeddedViews.length; k++) {\n                /** @type {?} */\n                var embeddedView = embeddedViews[k];\n                /** @type {?} */\n\n                var dvc = declaredViewContainer(embeddedView);\n\n                if (dvc && dvc === elementData) {\n                  calcQueryValues(embeddedView, 0, embeddedView.def.nodes.length - 1, queryDef, values);\n                }\n              }\n            }\n          /** @type {?} */\n\n\n          var projectedViews = elementData.template._projectedViews;\n\n          if (projectedViews) {\n            for (var _k = 0; _k < projectedViews.length; _k++) {\n              /** @type {?} */\n              var projectedView = projectedViews[_k];\n              calcQueryValues(projectedView, 0, projectedView.def.nodes.length - 1, queryDef, values);\n            }\n          }\n        }\n\n        if ((nodeDef.childMatchedQueries & queryDef.filterId) !== queryDef.filterId) {\n          // if no child matches the query, skip the children.\n          i += nodeDef.childCount;\n        }\n      }\n\n      return values;\n    }\n    /**\n     * @param {?} view\n     * @param {?} nodeDef\n     * @param {?} queryValueType\n     * @return {?}\n     */\n\n\n    function getQueryValue(view, nodeDef, queryValueType) {\n      if (queryValueType != null) {\n        // a match\n        switch (queryValueType) {\n          case 1\n          /* RenderElement */\n          :\n            return asElementData(view, nodeDef.nodeIndex).renderElement;\n\n          case 0\n          /* ElementRef */\n          :\n            return new ElementRef(asElementData(view, nodeDef.nodeIndex).renderElement);\n\n          case 2\n          /* TemplateRef */\n          :\n            return asElementData(view, nodeDef.nodeIndex).template;\n\n          case 3\n          /* ViewContainerRef */\n          :\n            return asElementData(view, nodeDef.nodeIndex).viewContainer;\n\n          case 4\n          /* Provider */\n          :\n            return asProviderData(view, nodeDef.nodeIndex).instance;\n        }\n      }\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @param {?} ngContentIndex\n     * @param {?} index\n     * @return {?}\n     */\n\n\n    function ngContentDef(ngContentIndex, index) {\n      return {\n        // will bet set by the view definition\n        nodeIndex: -1,\n        parent: null,\n        renderParent: null,\n        bindingIndex: -1,\n        outputIndex: -1,\n        // regular values\n        checkIndex: -1,\n        flags: 8\n        /* TypeNgContent */\n        ,\n        childFlags: 0,\n        directChildFlags: 0,\n        childMatchedQueries: 0,\n        matchedQueries: {},\n        matchedQueryIds: 0,\n        references: {},\n        ngContentIndex: ngContentIndex,\n        childCount: 0,\n        bindings: [],\n        bindingFlags: 0,\n        outputs: [],\n        element: null,\n        provider: null,\n        text: null,\n        query: null,\n        ngContent: {\n          index: index\n        }\n      };\n    }\n    /**\n     * @param {?} view\n     * @param {?} renderHost\n     * @param {?} def\n     * @return {?}\n     */\n\n\n    function appendNgContent(view, renderHost, def) {\n      /** @type {?} */\n      var parentEl = getParentRenderElement(view, renderHost, def);\n\n      if (!parentEl) {\n        // Nothing to do if there is no parent element.\n        return;\n      }\n      /** @type {?} */\n\n\n      var ngContentIndex =\n      /** @type {?} */\n      def.ngContent.index;\n      visitProjectedRenderNodes(view, ngContentIndex, 1\n      /* AppendChild */\n      , parentEl, null, undefined);\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @param {?} checkIndex\n     * @param {?} argCount\n     * @return {?}\n     */\n\n\n    function purePipeDef(checkIndex, argCount) {\n      // argCount + 1 to include the pipe as first arg\n      return _pureExpressionDef(128\n      /* TypePurePipe */\n      , checkIndex, new Array(argCount + 1));\n    }\n    /**\n     * @param {?} checkIndex\n     * @param {?} argCount\n     * @return {?}\n     */\n\n\n    function pureArrayDef(checkIndex, argCount) {\n      return _pureExpressionDef(32\n      /* TypePureArray */\n      , checkIndex, new Array(argCount));\n    }\n    /**\n     * @param {?} checkIndex\n     * @param {?} propToIndex\n     * @return {?}\n     */\n\n\n    function pureObjectDef(checkIndex, propToIndex) {\n      /** @type {?} */\n      var keys = Object.keys(propToIndex);\n      /** @type {?} */\n\n      var nbKeys = keys.length;\n      /** @type {?} */\n\n      var propertyNames = new Array(nbKeys);\n\n      for (var i = 0; i < nbKeys; i++) {\n        /** @type {?} */\n        var key = keys[i];\n        /** @type {?} */\n\n        var index = propToIndex[key];\n        propertyNames[index] = key;\n      }\n\n      return _pureExpressionDef(64\n      /* TypePureObject */\n      , checkIndex, propertyNames);\n    }\n    /**\n     * @param {?} flags\n     * @param {?} checkIndex\n     * @param {?} propertyNames\n     * @return {?}\n     */\n\n\n    function _pureExpressionDef(flags, checkIndex, propertyNames) {\n      /** @type {?} */\n      var bindings = new Array(propertyNames.length);\n\n      for (var i = 0; i < propertyNames.length; i++) {\n        /** @type {?} */\n        var prop = propertyNames[i];\n        bindings[i] = {\n          flags: 8\n          /* TypeProperty */\n          ,\n          name: prop,\n          ns: null,\n          nonMinifiedName: prop,\n          securityContext: null,\n          suffix: null\n        };\n      }\n\n      return {\n        // will bet set by the view definition\n        nodeIndex: -1,\n        parent: null,\n        renderParent: null,\n        bindingIndex: -1,\n        outputIndex: -1,\n        // regular values\n        checkIndex: checkIndex,\n        flags: flags,\n        childFlags: 0,\n        directChildFlags: 0,\n        childMatchedQueries: 0,\n        matchedQueries: {},\n        matchedQueryIds: 0,\n        references: {},\n        ngContentIndex: -1,\n        childCount: 0,\n        bindings: bindings,\n        bindingFlags: calcBindingFlags(bindings),\n        outputs: [],\n        element: null,\n        provider: null,\n        text: null,\n        query: null,\n        ngContent: null\n      };\n    }\n    /**\n     * @param {?} view\n     * @param {?} def\n     * @return {?}\n     */\n\n\n    function createPureExpression(view, def) {\n      return {\n        value: undefined\n      };\n    }\n    /**\n     * @param {?} view\n     * @param {?} def\n     * @param {?} v0\n     * @param {?} v1\n     * @param {?} v2\n     * @param {?} v3\n     * @param {?} v4\n     * @param {?} v5\n     * @param {?} v6\n     * @param {?} v7\n     * @param {?} v8\n     * @param {?} v9\n     * @return {?}\n     */\n\n\n    function checkAndUpdatePureExpressionInline(view, def, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9) {\n      /** @type {?} */\n      var bindings = def.bindings;\n      /** @type {?} */\n\n      var changed = false;\n      /** @type {?} */\n\n      var bindLen = bindings.length;\n      if (bindLen > 0 && checkAndUpdateBinding(view, def, 0, v0)) changed = true;\n      if (bindLen > 1 && checkAndUpdateBinding(view, def, 1, v1)) changed = true;\n      if (bindLen > 2 && checkAndUpdateBinding(view, def, 2, v2)) changed = true;\n      if (bindLen > 3 && checkAndUpdateBinding(view, def, 3, v3)) changed = true;\n      if (bindLen > 4 && checkAndUpdateBinding(view, def, 4, v4)) changed = true;\n      if (bindLen > 5 && checkAndUpdateBinding(view, def, 5, v5)) changed = true;\n      if (bindLen > 6 && checkAndUpdateBinding(view, def, 6, v6)) changed = true;\n      if (bindLen > 7 && checkAndUpdateBinding(view, def, 7, v7)) changed = true;\n      if (bindLen > 8 && checkAndUpdateBinding(view, def, 8, v8)) changed = true;\n      if (bindLen > 9 && checkAndUpdateBinding(view, def, 9, v9)) changed = true;\n\n      if (changed) {\n        /** @type {?} */\n        var data = asPureExpressionData(view, def.nodeIndex);\n        /** @type {?} */\n\n        var value;\n\n        switch (def.flags & 201347067\n        /* Types */\n        ) {\n          case 32\n          /* TypePureArray */\n          :\n            value = new Array(bindings.length);\n            if (bindLen > 0) value[0] = v0;\n            if (bindLen > 1) value[1] = v1;\n            if (bindLen > 2) value[2] = v2;\n            if (bindLen > 3) value[3] = v3;\n            if (bindLen > 4) value[4] = v4;\n            if (bindLen > 5) value[5] = v5;\n            if (bindLen > 6) value[6] = v6;\n            if (bindLen > 7) value[7] = v7;\n            if (bindLen > 8) value[8] = v8;\n            if (bindLen > 9) value[9] = v9;\n            break;\n\n          case 64\n          /* TypePureObject */\n          :\n            value = {};\n            if (bindLen > 0) value[\n            /** @type {?} */\n            bindings[0].name] = v0;\n            if (bindLen > 1) value[\n            /** @type {?} */\n            bindings[1].name] = v1;\n            if (bindLen > 2) value[\n            /** @type {?} */\n            bindings[2].name] = v2;\n            if (bindLen > 3) value[\n            /** @type {?} */\n            bindings[3].name] = v3;\n            if (bindLen > 4) value[\n            /** @type {?} */\n            bindings[4].name] = v4;\n            if (bindLen > 5) value[\n            /** @type {?} */\n            bindings[5].name] = v5;\n            if (bindLen > 6) value[\n            /** @type {?} */\n            bindings[6].name] = v6;\n            if (bindLen > 7) value[\n            /** @type {?} */\n            bindings[7].name] = v7;\n            if (bindLen > 8) value[\n            /** @type {?} */\n            bindings[8].name] = v8;\n            if (bindLen > 9) value[\n            /** @type {?} */\n            bindings[9].name] = v9;\n            break;\n\n          case 128\n          /* TypePurePipe */\n          :\n            /** @type {?} */\n            var pipe = v0;\n\n            switch (bindLen) {\n              case 1:\n                value = pipe.transform(v0);\n                break;\n\n              case 2:\n                value = pipe.transform(v1);\n                break;\n\n              case 3:\n                value = pipe.transform(v1, v2);\n                break;\n\n              case 4:\n                value = pipe.transform(v1, v2, v3);\n                break;\n\n              case 5:\n                value = pipe.transform(v1, v2, v3, v4);\n                break;\n\n              case 6:\n                value = pipe.transform(v1, v2, v3, v4, v5);\n                break;\n\n              case 7:\n                value = pipe.transform(v1, v2, v3, v4, v5, v6);\n                break;\n\n              case 8:\n                value = pipe.transform(v1, v2, v3, v4, v5, v6, v7);\n                break;\n\n              case 9:\n                value = pipe.transform(v1, v2, v3, v4, v5, v6, v7, v8);\n                break;\n\n              case 10:\n                value = pipe.transform(v1, v2, v3, v4, v5, v6, v7, v8, v9);\n                break;\n            }\n\n            break;\n        }\n\n        data.value = value;\n      }\n\n      return changed;\n    }\n    /**\n     * @param {?} view\n     * @param {?} def\n     * @param {?} values\n     * @return {?}\n     */\n\n\n    function checkAndUpdatePureExpressionDynamic(view, def, values) {\n      /** @type {?} */\n      var bindings = def.bindings;\n      /** @type {?} */\n\n      var changed = false;\n\n      for (var i = 0; i < values.length; i++) {\n        // Note: We need to loop over all values, so that\n        // the old values are updates as well!\n        if (checkAndUpdateBinding(view, def, i, values[i])) {\n          changed = true;\n        }\n      }\n\n      if (changed) {\n        /** @type {?} */\n        var data = asPureExpressionData(view, def.nodeIndex);\n        /** @type {?} */\n\n        var value;\n\n        switch (def.flags & 201347067\n        /* Types */\n        ) {\n          case 32\n          /* TypePureArray */\n          :\n            value = values;\n            break;\n\n          case 64\n          /* TypePureObject */\n          :\n            value = {};\n\n            for (var _i32 = 0; _i32 < values.length; _i32++) {\n              value[\n              /** @type {?} */\n              bindings[_i32].name] = values[_i32];\n            }\n\n            break;\n\n          case 128\n          /* TypePurePipe */\n          :\n            /** @type {?} */\n            var pipe = values[0];\n            /** @type {?} */\n\n            var params = values.slice(1);\n            value =\n            /** @type {?} */\n            pipe.transform.apply(pipe, _toConsumableArray(params));\n            break;\n        }\n\n        data.value = value;\n      }\n\n      return changed;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @param {?} checkIndex\n     * @param {?} ngContentIndex\n     * @param {?} staticText\n     * @return {?}\n     */\n\n\n    function textDef(checkIndex, ngContentIndex, staticText) {\n      /** @type {?} */\n      var bindings = new Array(staticText.length - 1);\n\n      for (var i = 1; i < staticText.length; i++) {\n        bindings[i - 1] = {\n          flags: 8\n          /* TypeProperty */\n          ,\n          name: null,\n          ns: null,\n          nonMinifiedName: null,\n          securityContext: null,\n          suffix: staticText[i]\n        };\n      }\n\n      return {\n        // will bet set by the view definition\n        nodeIndex: -1,\n        parent: null,\n        renderParent: null,\n        bindingIndex: -1,\n        outputIndex: -1,\n        // regular values\n        checkIndex: checkIndex,\n        flags: 2\n        /* TypeText */\n        ,\n        childFlags: 0,\n        directChildFlags: 0,\n        childMatchedQueries: 0,\n        matchedQueries: {},\n        matchedQueryIds: 0,\n        references: {},\n        ngContentIndex: ngContentIndex,\n        childCount: 0,\n        bindings: bindings,\n        bindingFlags: 8\n        /* TypeProperty */\n        ,\n        outputs: [],\n        element: null,\n        provider: null,\n        text: {\n          prefix: staticText[0]\n        },\n        query: null,\n        ngContent: null\n      };\n    }\n    /**\n     * @param {?} view\n     * @param {?} renderHost\n     * @param {?} def\n     * @return {?}\n     */\n\n\n    function createText(view, renderHost, def) {\n      /** @type {?} */\n      var renderNode;\n      /** @type {?} */\n\n      var renderer = view.renderer;\n      renderNode = renderer.createText(\n      /** @type {?} */\n      def.text.prefix);\n      /** @type {?} */\n\n      var parentEl = getParentRenderElement(view, renderHost, def);\n\n      if (parentEl) {\n        renderer.appendChild(parentEl, renderNode);\n      }\n\n      return {\n        renderText: renderNode\n      };\n    }\n    /**\n     * @param {?} view\n     * @param {?} def\n     * @param {?} v0\n     * @param {?} v1\n     * @param {?} v2\n     * @param {?} v3\n     * @param {?} v4\n     * @param {?} v5\n     * @param {?} v6\n     * @param {?} v7\n     * @param {?} v8\n     * @param {?} v9\n     * @return {?}\n     */\n\n\n    function checkAndUpdateTextInline(view, def, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9) {\n      /** @type {?} */\n      var changed = false;\n      /** @type {?} */\n\n      var bindings = def.bindings;\n      /** @type {?} */\n\n      var bindLen = bindings.length;\n      if (bindLen > 0 && checkAndUpdateBinding(view, def, 0, v0)) changed = true;\n      if (bindLen > 1 && checkAndUpdateBinding(view, def, 1, v1)) changed = true;\n      if (bindLen > 2 && checkAndUpdateBinding(view, def, 2, v2)) changed = true;\n      if (bindLen > 3 && checkAndUpdateBinding(view, def, 3, v3)) changed = true;\n      if (bindLen > 4 && checkAndUpdateBinding(view, def, 4, v4)) changed = true;\n      if (bindLen > 5 && checkAndUpdateBinding(view, def, 5, v5)) changed = true;\n      if (bindLen > 6 && checkAndUpdateBinding(view, def, 6, v6)) changed = true;\n      if (bindLen > 7 && checkAndUpdateBinding(view, def, 7, v7)) changed = true;\n      if (bindLen > 8 && checkAndUpdateBinding(view, def, 8, v8)) changed = true;\n      if (bindLen > 9 && checkAndUpdateBinding(view, def, 9, v9)) changed = true;\n\n      if (changed) {\n        /** @type {?} */\n        var value =\n        /** @type {?} */\n        def.text.prefix;\n        if (bindLen > 0) value += _addInterpolationPart(v0, bindings[0]);\n        if (bindLen > 1) value += _addInterpolationPart(v1, bindings[1]);\n        if (bindLen > 2) value += _addInterpolationPart(v2, bindings[2]);\n        if (bindLen > 3) value += _addInterpolationPart(v3, bindings[3]);\n        if (bindLen > 4) value += _addInterpolationPart(v4, bindings[4]);\n        if (bindLen > 5) value += _addInterpolationPart(v5, bindings[5]);\n        if (bindLen > 6) value += _addInterpolationPart(v6, bindings[6]);\n        if (bindLen > 7) value += _addInterpolationPart(v7, bindings[7]);\n        if (bindLen > 8) value += _addInterpolationPart(v8, bindings[8]);\n        if (bindLen > 9) value += _addInterpolationPart(v9, bindings[9]);\n        /** @type {?} */\n\n        var _renderNode = asTextData(view, def.nodeIndex).renderText;\n        view.renderer.setValue(_renderNode, value);\n      }\n\n      return changed;\n    }\n    /**\n     * @param {?} view\n     * @param {?} def\n     * @param {?} values\n     * @return {?}\n     */\n\n\n    function checkAndUpdateTextDynamic(view, def, values) {\n      /** @type {?} */\n      var bindings = def.bindings;\n      /** @type {?} */\n\n      var changed = false;\n\n      for (var i = 0; i < values.length; i++) {\n        // Note: We need to loop over all values, so that\n        // the old values are updates as well!\n        if (checkAndUpdateBinding(view, def, i, values[i])) {\n          changed = true;\n        }\n      }\n\n      if (changed) {\n        /** @type {?} */\n        var value = '';\n\n        for (var _i33 = 0; _i33 < values.length; _i33++) {\n          value = value + _addInterpolationPart(values[_i33], bindings[_i33]);\n        }\n\n        value =\n        /** @type {?} */\n        def.text.prefix + value;\n        /** @type {?} */\n\n        var _renderNode2 = asTextData(view, def.nodeIndex).renderText;\n        view.renderer.setValue(_renderNode2, value);\n      }\n\n      return changed;\n    }\n    /**\n     * @param {?} value\n     * @param {?} binding\n     * @return {?}\n     */\n\n\n    function _addInterpolationPart(value, binding) {\n      /** @type {?} */\n      var valueStr = value != null ? value.toString() : '';\n      return valueStr + binding.suffix;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @param {?} flags\n     * @param {?} nodes\n     * @param {?=} updateDirectives\n     * @param {?=} updateRenderer\n     * @return {?}\n     */\n\n\n    function viewDef(flags, nodes, updateDirectives, updateRenderer) {\n      // clone nodes and set auto calculated values\n\n      /** @type {?} */\n      var viewBindingCount = 0;\n      /** @type {?} */\n\n      var viewDisposableCount = 0;\n      /** @type {?} */\n\n      var viewNodeFlags = 0;\n      /** @type {?} */\n\n      var viewRootNodeFlags = 0;\n      /** @type {?} */\n\n      var viewMatchedQueries = 0;\n      /** @type {?} */\n\n      var currentParent = null;\n      /** @type {?} */\n\n      var currentRenderParent = null;\n      /** @type {?} */\n\n      var currentElementHasPublicProviders = false;\n      /** @type {?} */\n\n      var currentElementHasPrivateProviders = false;\n      /** @type {?} */\n\n      var lastRenderRootNode = null;\n\n      for (var i = 0; i < nodes.length; i++) {\n        /** @type {?} */\n        var node = nodes[i];\n        node.nodeIndex = i;\n        node.parent = currentParent;\n        node.bindingIndex = viewBindingCount;\n        node.outputIndex = viewDisposableCount;\n        node.renderParent = currentRenderParent;\n        viewNodeFlags |= node.flags;\n        viewMatchedQueries |= node.matchedQueryIds;\n\n        if (node.element) {\n          /** @type {?} */\n          var elDef = node.element;\n          elDef.publicProviders = currentParent ?\n          /** @type {?} */\n          currentParent.element.publicProviders : Object.create(null);\n          elDef.allProviders = elDef.publicProviders; // Note: We assume that all providers of an element are before any child element!\n\n          currentElementHasPublicProviders = false;\n          currentElementHasPrivateProviders = false;\n\n          if (node.element.template) {\n            viewMatchedQueries |= node.element.template.nodeMatchedQueries;\n          }\n        }\n\n        validateNode(currentParent, node, nodes.length);\n        viewBindingCount += node.bindings.length;\n        viewDisposableCount += node.outputs.length;\n\n        if (!currentRenderParent && node.flags & 3\n        /* CatRenderNode */\n        ) {\n          lastRenderRootNode = node;\n        }\n\n        if (node.flags & 20224\n        /* CatProvider */\n        ) {\n            if (!currentElementHasPublicProviders) {\n              currentElementHasPublicProviders = true; // Use prototypical inheritance to not get O(n^2) complexity...\n\n              /** @type {?} */\n\n              /** @type {?} */\n              currentParent.element.publicProviders = Object.create(\n              /** @type {?} */\n\n              /** @type {?} */\n              currentParent.element.publicProviders);\n\n              /** @type {?} */\n\n              /** @type {?} */\n              currentParent.element.allProviders =\n              /** @type {?} */\n\n              /** @type {?} */\n              currentParent.element.publicProviders;\n            }\n            /** @type {?} */\n\n\n            var isPrivateService = (node.flags & 8192\n            /* PrivateProvider */\n            ) !== 0;\n            /** @type {?} */\n\n            var _isComponent3 = (node.flags & 32768\n            /* Component */\n            ) !== 0;\n\n            if (!isPrivateService || _isComponent3) {\n              /** @type {?} */\n\n              /** @type {?} */\n\n              /** @type {?} */\n              currentParent.element.publicProviders[tokenKey(\n              /** @type {?} */\n              node.provider.token)] = node;\n            } else {\n              if (!currentElementHasPrivateProviders) {\n                currentElementHasPrivateProviders = true; // Use prototypical inheritance to not get O(n^2) complexity...\n\n                /** @type {?} */\n\n                /** @type {?} */\n                currentParent.element.allProviders = Object.create(\n                /** @type {?} */\n\n                /** @type {?} */\n                currentParent.element.publicProviders);\n              }\n\n              /** @type {?} */\n\n              /** @type {?} */\n\n              /** @type {?} */\n              currentParent.element.allProviders[tokenKey(\n              /** @type {?} */\n              node.provider.token)] = node;\n            }\n\n            if (_isComponent3) {\n              /** @type {?} */\n\n              /** @type {?} */\n              currentParent.element.componentProvider = node;\n            }\n          }\n\n        if (currentParent) {\n          currentParent.childFlags |= node.flags;\n          currentParent.directChildFlags |= node.flags;\n          currentParent.childMatchedQueries |= node.matchedQueryIds;\n\n          if (node.element && node.element.template) {\n            currentParent.childMatchedQueries |= node.element.template.nodeMatchedQueries;\n          }\n        } else {\n          viewRootNodeFlags |= node.flags;\n        }\n\n        if (node.childCount > 0) {\n          currentParent = node;\n\n          if (!isNgContainer(node)) {\n            currentRenderParent = node;\n          }\n        } else {\n          // When the current node has no children, check if it is the last children of its parent.\n          // When it is, propagate the flags up.\n          // The loop is required because an element could be the last transitive children of several\n          // elements. We loop to either the root or the highest opened element (= with remaining\n          // children)\n          while (currentParent && i === currentParent.nodeIndex + currentParent.childCount) {\n            /** @type {?} */\n            var newParent = currentParent.parent;\n\n            if (newParent) {\n              newParent.childFlags |= currentParent.childFlags;\n              newParent.childMatchedQueries |= currentParent.childMatchedQueries;\n            }\n\n            currentParent = newParent; // We also need to update the render parent & account for ng-container\n\n            if (currentParent && isNgContainer(currentParent)) {\n              currentRenderParent = currentParent.renderParent;\n            } else {\n              currentRenderParent = currentParent;\n            }\n          }\n        }\n      }\n      /** @type {?} */\n\n\n      var handleEvent =\n      /**\n      * @param {?} view\n      * @param {?} nodeIndex\n      * @param {?} eventName\n      * @param {?} event\n      * @return {?}\n      */\n      function handleEvent(view, nodeIndex, eventName, event) {\n        return (\n          /** @type {?} */\n\n          /** @type {?} */\n          nodes[nodeIndex].element.handleEvent(view, eventName, event)\n        );\n      };\n\n      return {\n        // Will be filled later...\n        factory: null,\n        nodeFlags: viewNodeFlags,\n        rootNodeFlags: viewRootNodeFlags,\n        nodeMatchedQueries: viewMatchedQueries,\n        flags: flags,\n        nodes: nodes,\n        updateDirectives: updateDirectives || NOOP,\n        updateRenderer: updateRenderer || NOOP,\n        handleEvent: handleEvent,\n        bindingCount: viewBindingCount,\n        outputCount: viewDisposableCount,\n        lastRenderRootNode: lastRenderRootNode\n      };\n    }\n    /**\n     * @param {?} node\n     * @return {?}\n     */\n\n\n    function isNgContainer(node) {\n      return (node.flags & 1\n      /* TypeElement */\n      ) !== 0 &&\n      /** @type {?} */\n      node.element.name === null;\n    }\n    /**\n     * @param {?} parent\n     * @param {?} node\n     * @param {?} nodeCount\n     * @return {?}\n     */\n\n\n    function validateNode(parent, node, nodeCount) {\n      /** @type {?} */\n      var template = node.element && node.element.template;\n\n      if (template) {\n        if (!template.lastRenderRootNode) {\n          throw new Error(\"Illegal State: Embedded templates without nodes are not allowed!\");\n        }\n\n        if (template.lastRenderRootNode && template.lastRenderRootNode.flags & 16777216\n        /* EmbeddedViews */\n        ) {\n            throw new Error(\"Illegal State: Last root node of a template can't have embedded views, at index \".concat(node.nodeIndex, \"!\"));\n          }\n      }\n\n      if (node.flags & 20224\n      /* CatProvider */\n      ) {\n          /** @type {?} */\n          var parentFlags = parent ? parent.flags : 0;\n\n          if ((parentFlags & 1\n          /* TypeElement */\n          ) === 0) {\n            throw new Error(\"Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index \".concat(node.nodeIndex, \"!\"));\n          }\n        }\n\n      if (node.query) {\n        if (node.flags & 67108864\n        /* TypeContentQuery */\n        && (!parent || (parent.flags & 16384\n        /* TypeDirective */\n        ) === 0)) {\n          throw new Error(\"Illegal State: Content Query nodes need to be children of directives, at index \".concat(node.nodeIndex, \"!\"));\n        }\n\n        if (node.flags & 134217728\n        /* TypeViewQuery */\n        && parent) {\n          throw new Error(\"Illegal State: View Query nodes have to be top level nodes, at index \".concat(node.nodeIndex, \"!\"));\n        }\n      }\n\n      if (node.childCount) {\n        /** @type {?} */\n        var parentEnd = parent ? parent.nodeIndex + parent.childCount : nodeCount - 1;\n\n        if (node.nodeIndex <= parentEnd && node.nodeIndex + node.childCount > parentEnd) {\n          throw new Error(\"Illegal State: childCount of node leads outside of parent, at index \".concat(node.nodeIndex, \"!\"));\n        }\n      }\n    }\n    /**\n     * @param {?} parent\n     * @param {?} anchorDef\n     * @param {?} viewDef\n     * @param {?=} context\n     * @return {?}\n     */\n\n\n    function createEmbeddedView(parent, anchorDef, viewDef, context) {\n      // embedded views are seen as siblings to the anchor, so we need\n      // to get the parent of the anchor and use it as parentIndex.\n\n      /** @type {?} */\n      var view = createView(parent.root, parent.renderer, parent, anchorDef, viewDef);\n      initView(view, parent.component, context);\n      createViewNodes(view);\n      return view;\n    }\n    /**\n     * @param {?} root\n     * @param {?} def\n     * @param {?=} context\n     * @return {?}\n     */\n\n\n    function createRootView(root, def, context) {\n      /** @type {?} */\n      var view = createView(root, root.renderer, null, null, def);\n      initView(view, context, context);\n      createViewNodes(view);\n      return view;\n    }\n    /**\n     * @param {?} parentView\n     * @param {?} nodeDef\n     * @param {?} viewDef\n     * @param {?} hostElement\n     * @return {?}\n     */\n\n\n    function createComponentView(parentView, nodeDef, viewDef, hostElement) {\n      /** @type {?} */\n      var rendererType =\n      /** @type {?} */\n      nodeDef.element.componentRendererType;\n      /** @type {?} */\n\n      var compRenderer;\n\n      if (!rendererType) {\n        compRenderer = parentView.root.renderer;\n      } else {\n        compRenderer = parentView.root.rendererFactory.createRenderer(hostElement, rendererType);\n      }\n\n      return createView(parentView.root, compRenderer, parentView,\n      /** @type {?} */\n      nodeDef.element.componentProvider, viewDef);\n    }\n    /**\n     * @param {?} root\n     * @param {?} renderer\n     * @param {?} parent\n     * @param {?} parentNodeDef\n     * @param {?} def\n     * @return {?}\n     */\n\n\n    function createView(root, renderer, parent, parentNodeDef, def) {\n      /** @type {?} */\n      var nodes = new Array(def.nodes.length);\n      /** @type {?} */\n\n      var disposables = def.outputCount ? new Array(def.outputCount) : null;\n      /** @type {?} */\n\n      var view = {\n        def: def,\n        parent: parent,\n        viewContainerParent: null,\n        parentNodeDef: parentNodeDef,\n        context: null,\n        component: null,\n        nodes: nodes,\n        state: 13\n        /* CatInit */\n        ,\n        root: root,\n        renderer: renderer,\n        oldValues: new Array(def.bindingCount),\n        disposables: disposables,\n        initIndex: -1\n      };\n      return view;\n    }\n    /**\n     * @param {?} view\n     * @param {?} component\n     * @param {?} context\n     * @return {?}\n     */\n\n\n    function initView(view, component, context) {\n      view.component = component;\n      view.context = context;\n    }\n    /**\n     * @param {?} view\n     * @return {?}\n     */\n\n\n    function createViewNodes(view) {\n      /** @type {?} */\n      var renderHost;\n\n      if (isComponentView(view)) {\n        /** @type {?} */\n        var hostDef = view.parentNodeDef;\n        renderHost = asElementData(\n        /** @type {?} */\n        view.parent,\n        /** @type {?} */\n\n        /** @type {?} */\n        hostDef.parent.nodeIndex).renderElement;\n      }\n      /** @type {?} */\n\n\n      var def = view.def;\n      /** @type {?} */\n\n      var nodes = view.nodes;\n\n      for (var i = 0; i < def.nodes.length; i++) {\n        /** @type {?} */\n        var nodeDef = def.nodes[i];\n        Services.setCurrentNode(view, i);\n        /** @type {?} */\n\n        var nodeData = void 0;\n\n        switch (nodeDef.flags & 201347067\n        /* Types */\n        ) {\n          case 1\n          /* TypeElement */\n          :\n            /** @type {?} */\n            var el =\n            /** @type {?} */\n            createElement(view, renderHost, nodeDef);\n            /** @type {?} */\n\n            var componentView =\n            /** @type {?} */\n            undefined;\n\n            if (nodeDef.flags & 33554432\n            /* ComponentView */\n            ) {\n                /** @type {?} */\n                var compViewDef = resolveDefinition(\n                /** @type {?} */\n\n                /** @type {?} */\n                nodeDef.element.componentView);\n                componentView = Services.createComponentView(view, nodeDef, compViewDef, el);\n              }\n\n            listenToElementOutputs(view, componentView, nodeDef, el);\n            nodeData =\n            /** @type {?} */\n            {\n              renderElement: el,\n              componentView: componentView,\n              viewContainer: null,\n              template:\n              /** @type {?} */\n              nodeDef.element.template ? createTemplateData(view, nodeDef) : undefined\n            };\n\n            if (nodeDef.flags & 16777216\n            /* EmbeddedViews */\n            ) {\n                nodeData.viewContainer = createViewContainerData(view, nodeDef, nodeData);\n              }\n\n            break;\n\n          case 2\n          /* TypeText */\n          :\n            nodeData =\n            /** @type {?} */\n            createText(view, renderHost, nodeDef);\n            break;\n\n          case 512\n          /* TypeClassProvider */\n          :\n          case 1024\n          /* TypeFactoryProvider */\n          :\n          case 2048\n          /* TypeUseExistingProvider */\n          :\n          case 256\n          /* TypeValueProvider */\n          :\n            {\n              nodeData = nodes[i];\n\n              if (!nodeData && !(nodeDef.flags & 4096\n              /* LazyProvider */\n              )) {\n                /** @type {?} */\n                var instance = createProviderInstance(view, nodeDef);\n                nodeData =\n                /** @type {?} */\n                {\n                  instance: instance\n                };\n              }\n\n              break;\n            }\n\n          case 16\n          /* TypePipe */\n          :\n            {\n              /** @type {?} */\n              var _instance = createPipeInstance(view, nodeDef);\n\n              nodeData =\n              /** @type {?} */\n              {\n                instance: _instance\n              };\n              break;\n            }\n\n          case 16384\n          /* TypeDirective */\n          :\n            {\n              nodeData = nodes[i];\n\n              if (!nodeData) {\n                /** @type {?} */\n                var _instance2 = createDirectiveInstance(view, nodeDef);\n\n                nodeData =\n                /** @type {?} */\n                {\n                  instance: _instance2\n                };\n              }\n\n              if (nodeDef.flags & 32768\n              /* Component */\n              ) {\n                  /** @type {?} */\n                  var compView = asElementData(view,\n                  /** @type {?} */\n                  nodeDef.parent.nodeIndex).componentView;\n                  initView(compView, nodeData.instance, nodeData.instance);\n                }\n\n              break;\n            }\n\n          case 32\n          /* TypePureArray */\n          :\n          case 64\n          /* TypePureObject */\n          :\n          case 128\n          /* TypePurePipe */\n          :\n            nodeData =\n            /** @type {?} */\n            createPureExpression(view, nodeDef);\n            break;\n\n          case 67108864\n          /* TypeContentQuery */\n          :\n          case 134217728\n          /* TypeViewQuery */\n          :\n            nodeData =\n            /** @type {?} */\n            createQuery();\n            break;\n\n          case 8\n          /* TypeNgContent */\n          :\n            appendNgContent(view, renderHost, nodeDef); // no runtime data needed for NgContent...\n\n            nodeData = undefined;\n            break;\n        }\n\n        nodes[i] = nodeData;\n      } // Create the ViewData.nodes of component views after we created everything else,\n      // so that e.g. ng-content works\n\n\n      execComponentViewsAction(view, ViewAction.CreateViewNodes); // fill static content and view queries\n\n      execQueriesAction(view, 67108864\n      /* TypeContentQuery */\n      | 134217728\n      /* TypeViewQuery */\n      , 268435456\n      /* StaticQuery */\n      , 0\n      /* CheckAndUpdate */\n      );\n    }\n    /**\n     * @param {?} view\n     * @return {?}\n     */\n\n\n    function checkNoChangesView(view) {\n      markProjectedViewsForCheck(view);\n      Services.updateDirectives(view, 1\n      /* CheckNoChanges */\n      );\n      execEmbeddedViewsAction(view, ViewAction.CheckNoChanges);\n      Services.updateRenderer(view, 1\n      /* CheckNoChanges */\n      );\n      execComponentViewsAction(view, ViewAction.CheckNoChanges); // Note: We don't check queries for changes as we didn't do this in v2.x.\n      // TODO(tbosch): investigate if we can enable the check again in v5.x with a nicer error message.\n\n      view.state &= ~(64\n      /* CheckProjectedViews */\n      | 32\n      /* CheckProjectedView */\n      );\n    }\n    /**\n     * @param {?} view\n     * @return {?}\n     */\n\n\n    function checkAndUpdateView(view) {\n      if (view.state & 1\n      /* BeforeFirstCheck */\n      ) {\n          view.state &= ~1\n          /* BeforeFirstCheck */\n          ;\n          view.state |= 2\n          /* FirstCheck */\n          ;\n        } else {\n        view.state &= ~2\n        /* FirstCheck */\n        ;\n      }\n\n      shiftInitState(view, 0\n      /* InitState_BeforeInit */\n      , 256\n      /* InitState_CallingOnInit */\n      );\n      markProjectedViewsForCheck(view);\n      Services.updateDirectives(view, 0\n      /* CheckAndUpdate */\n      );\n      execEmbeddedViewsAction(view, ViewAction.CheckAndUpdate);\n      execQueriesAction(view, 67108864\n      /* TypeContentQuery */\n      , 536870912\n      /* DynamicQuery */\n      , 0\n      /* CheckAndUpdate */\n      );\n      /** @type {?} */\n\n      var callInit = shiftInitState(view, 256\n      /* InitState_CallingOnInit */\n      , 512\n      /* InitState_CallingAfterContentInit */\n      );\n      callLifecycleHooksChildrenFirst(view, 2097152\n      /* AfterContentChecked */\n      | (callInit ? 1048576\n      /* AfterContentInit */\n      : 0));\n      Services.updateRenderer(view, 0\n      /* CheckAndUpdate */\n      );\n      execComponentViewsAction(view, ViewAction.CheckAndUpdate);\n      execQueriesAction(view, 134217728\n      /* TypeViewQuery */\n      , 536870912\n      /* DynamicQuery */\n      , 0\n      /* CheckAndUpdate */\n      );\n      callInit = shiftInitState(view, 512\n      /* InitState_CallingAfterContentInit */\n      , 768\n      /* InitState_CallingAfterViewInit */\n      );\n      callLifecycleHooksChildrenFirst(view, 8388608\n      /* AfterViewChecked */\n      | (callInit ? 4194304\n      /* AfterViewInit */\n      : 0));\n\n      if (view.def.flags & 2\n      /* OnPush */\n      ) {\n          view.state &= ~8\n          /* ChecksEnabled */\n          ;\n        }\n\n      view.state &= ~(64\n      /* CheckProjectedViews */\n      | 32\n      /* CheckProjectedView */\n      );\n      shiftInitState(view, 768\n      /* InitState_CallingAfterViewInit */\n      , 1024\n      /* InitState_AfterInit */\n      );\n    }\n    /**\n     * @param {?} view\n     * @param {?} nodeDef\n     * @param {?} argStyle\n     * @param {?=} v0\n     * @param {?=} v1\n     * @param {?=} v2\n     * @param {?=} v3\n     * @param {?=} v4\n     * @param {?=} v5\n     * @param {?=} v6\n     * @param {?=} v7\n     * @param {?=} v8\n     * @param {?=} v9\n     * @return {?}\n     */\n\n\n    function checkAndUpdateNode(view, nodeDef, argStyle, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9) {\n      if (argStyle === 0\n      /* Inline */\n      ) {\n          return checkAndUpdateNodeInline(view, nodeDef, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9);\n        } else {\n        return checkAndUpdateNodeDynamic(view, nodeDef, v0);\n      }\n    }\n    /**\n     * @param {?} view\n     * @return {?}\n     */\n\n\n    function markProjectedViewsForCheck(view) {\n      /** @type {?} */\n      var def = view.def;\n\n      if (!(def.nodeFlags & 4\n      /* ProjectedTemplate */\n      )) {\n        return;\n      }\n\n      for (var i = 0; i < def.nodes.length; i++) {\n        /** @type {?} */\n        var nodeDef = def.nodes[i];\n\n        if (nodeDef.flags & 4\n        /* ProjectedTemplate */\n        ) {\n            /** @type {?} */\n            var projectedViews = asElementData(view, i).template._projectedViews;\n\n            if (projectedViews) {\n              for (var _i34 = 0; _i34 < projectedViews.length; _i34++) {\n                /** @type {?} */\n                var projectedView = projectedViews[_i34];\n                projectedView.state |= 32\n                /* CheckProjectedView */\n                ;\n                markParentViewsForCheckProjectedViews(projectedView, view);\n              }\n            }\n          } else if ((nodeDef.childFlags & 4\n        /* ProjectedTemplate */\n        ) === 0) {\n          // a parent with leafs\n          // no child is a component,\n          // then skip the children\n          i += nodeDef.childCount;\n        }\n      }\n    }\n    /**\n     * @param {?} view\n     * @param {?} nodeDef\n     * @param {?=} v0\n     * @param {?=} v1\n     * @param {?=} v2\n     * @param {?=} v3\n     * @param {?=} v4\n     * @param {?=} v5\n     * @param {?=} v6\n     * @param {?=} v7\n     * @param {?=} v8\n     * @param {?=} v9\n     * @return {?}\n     */\n\n\n    function checkAndUpdateNodeInline(view, nodeDef, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9) {\n      switch (nodeDef.flags & 201347067\n      /* Types */\n      ) {\n        case 1\n        /* TypeElement */\n        :\n          return checkAndUpdateElementInline(view, nodeDef, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9);\n\n        case 2\n        /* TypeText */\n        :\n          return checkAndUpdateTextInline(view, nodeDef, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9);\n\n        case 16384\n        /* TypeDirective */\n        :\n          return checkAndUpdateDirectiveInline(view, nodeDef, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9);\n\n        case 32\n        /* TypePureArray */\n        :\n        case 64\n        /* TypePureObject */\n        :\n        case 128\n        /* TypePurePipe */\n        :\n          return checkAndUpdatePureExpressionInline(view, nodeDef, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9);\n\n        default:\n          throw 'unreachable';\n      }\n    }\n    /**\n     * @param {?} view\n     * @param {?} nodeDef\n     * @param {?} values\n     * @return {?}\n     */\n\n\n    function checkAndUpdateNodeDynamic(view, nodeDef, values) {\n      switch (nodeDef.flags & 201347067\n      /* Types */\n      ) {\n        case 1\n        /* TypeElement */\n        :\n          return checkAndUpdateElementDynamic(view, nodeDef, values);\n\n        case 2\n        /* TypeText */\n        :\n          return checkAndUpdateTextDynamic(view, nodeDef, values);\n\n        case 16384\n        /* TypeDirective */\n        :\n          return checkAndUpdateDirectiveDynamic(view, nodeDef, values);\n\n        case 32\n        /* TypePureArray */\n        :\n        case 64\n        /* TypePureObject */\n        :\n        case 128\n        /* TypePurePipe */\n        :\n          return checkAndUpdatePureExpressionDynamic(view, nodeDef, values);\n\n        default:\n          throw 'unreachable';\n      }\n    }\n    /**\n     * @param {?} view\n     * @param {?} nodeDef\n     * @param {?} argStyle\n     * @param {?=} v0\n     * @param {?=} v1\n     * @param {?=} v2\n     * @param {?=} v3\n     * @param {?=} v4\n     * @param {?=} v5\n     * @param {?=} v6\n     * @param {?=} v7\n     * @param {?=} v8\n     * @param {?=} v9\n     * @return {?}\n     */\n\n\n    function checkNoChangesNode(view, nodeDef, argStyle, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9) {\n      if (argStyle === 0\n      /* Inline */\n      ) {\n          checkNoChangesNodeInline(view, nodeDef, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9);\n        } else {\n        checkNoChangesNodeDynamic(view, nodeDef, v0);\n      } // Returning false is ok here as we would have thrown in case of a change.\n\n\n      return false;\n    }\n    /**\n     * @param {?} view\n     * @param {?} nodeDef\n     * @param {?} v0\n     * @param {?} v1\n     * @param {?} v2\n     * @param {?} v3\n     * @param {?} v4\n     * @param {?} v5\n     * @param {?} v6\n     * @param {?} v7\n     * @param {?} v8\n     * @param {?} v9\n     * @return {?}\n     */\n\n\n    function checkNoChangesNodeInline(view, nodeDef, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9) {\n      /** @type {?} */\n      var bindLen = nodeDef.bindings.length;\n      if (bindLen > 0) checkBindingNoChanges(view, nodeDef, 0, v0);\n      if (bindLen > 1) checkBindingNoChanges(view, nodeDef, 1, v1);\n      if (bindLen > 2) checkBindingNoChanges(view, nodeDef, 2, v2);\n      if (bindLen > 3) checkBindingNoChanges(view, nodeDef, 3, v3);\n      if (bindLen > 4) checkBindingNoChanges(view, nodeDef, 4, v4);\n      if (bindLen > 5) checkBindingNoChanges(view, nodeDef, 5, v5);\n      if (bindLen > 6) checkBindingNoChanges(view, nodeDef, 6, v6);\n      if (bindLen > 7) checkBindingNoChanges(view, nodeDef, 7, v7);\n      if (bindLen > 8) checkBindingNoChanges(view, nodeDef, 8, v8);\n      if (bindLen > 9) checkBindingNoChanges(view, nodeDef, 9, v9);\n    }\n    /**\n     * @param {?} view\n     * @param {?} nodeDef\n     * @param {?} values\n     * @return {?}\n     */\n\n\n    function checkNoChangesNodeDynamic(view, nodeDef, values) {\n      for (var i = 0; i < values.length; i++) {\n        checkBindingNoChanges(view, nodeDef, i, values[i]);\n      }\n    }\n    /**\n     * Workaround https://github.com/angular/tsickle/issues/497\n     * @suppress {misplacedTypeAnnotation}\n     * @param {?} view\n     * @param {?} nodeDef\n     * @return {?}\n     */\n\n\n    function checkNoChangesQuery(view, nodeDef) {\n      /** @type {?} */\n      var queryList = asQueryList(view, nodeDef.nodeIndex);\n\n      if (queryList.dirty) {\n        throw expressionChangedAfterItHasBeenCheckedError(Services.createDebugContext(view, nodeDef.nodeIndex), \"Query \".concat(\n        /** @type {?} */\n        nodeDef.query.id, \" not dirty\"), \"Query \".concat(\n        /** @type {?} */\n        nodeDef.query.id, \" dirty\"), (view.state & 1\n        /* BeforeFirstCheck */\n        ) !== 0);\n      }\n    }\n    /**\n     * @param {?} view\n     * @return {?}\n     */\n\n\n    function destroyView(view) {\n      if (view.state & 128\n      /* Destroyed */\n      ) {\n          return;\n        }\n\n      execEmbeddedViewsAction(view, ViewAction.Destroy);\n      execComponentViewsAction(view, ViewAction.Destroy);\n      callLifecycleHooksChildrenFirst(view, 131072\n      /* OnDestroy */\n      );\n\n      if (view.disposables) {\n        for (var i = 0; i < view.disposables.length; i++) {\n          view.disposables[i]();\n        }\n      }\n\n      detachProjectedView(view);\n\n      if (view.renderer.destroyNode) {\n        destroyViewNodes(view);\n      }\n\n      if (isComponentView(view)) {\n        view.renderer.destroy();\n      }\n\n      view.state |= 128\n      /* Destroyed */\n      ;\n    }\n    /**\n     * @param {?} view\n     * @return {?}\n     */\n\n\n    function destroyViewNodes(view) {\n      /** @type {?} */\n      var len = view.def.nodes.length;\n\n      for (var i = 0; i < len; i++) {\n        /** @type {?} */\n        var def = view.def.nodes[i];\n\n        if (def.flags & 1\n        /* TypeElement */\n        ) {\n            /** @type {?} */\n            view.renderer.destroyNode(asElementData(view, i).renderElement);\n          } else if (def.flags & 2\n        /* TypeText */\n        ) {\n            /** @type {?} */\n            view.renderer.destroyNode(asTextData(view, i).renderText);\n          } else if (def.flags & 67108864\n        /* TypeContentQuery */\n        || def.flags & 134217728\n        /* TypeViewQuery */\n        ) {\n            asQueryList(view, i).destroy();\n          }\n      }\n    }\n    /** @enum {number} */\n\n\n    var ViewAction = {\n      CreateViewNodes: 0,\n      CheckNoChanges: 1,\n      CheckNoChangesProjectedViews: 2,\n      CheckAndUpdate: 3,\n      CheckAndUpdateProjectedViews: 4,\n      Destroy: 5\n    };\n    ViewAction[ViewAction.CreateViewNodes] = 'CreateViewNodes';\n    ViewAction[ViewAction.CheckNoChanges] = 'CheckNoChanges';\n    ViewAction[ViewAction.CheckNoChangesProjectedViews] = 'CheckNoChangesProjectedViews';\n    ViewAction[ViewAction.CheckAndUpdate] = 'CheckAndUpdate';\n    ViewAction[ViewAction.CheckAndUpdateProjectedViews] = 'CheckAndUpdateProjectedViews';\n    ViewAction[ViewAction.Destroy] = 'Destroy';\n    /**\n     * @param {?} view\n     * @param {?} action\n     * @return {?}\n     */\n\n    function execComponentViewsAction(view, action) {\n      /** @type {?} */\n      var def = view.def;\n\n      if (!(def.nodeFlags & 33554432\n      /* ComponentView */\n      )) {\n        return;\n      }\n\n      for (var i = 0; i < def.nodes.length; i++) {\n        /** @type {?} */\n        var nodeDef = def.nodes[i];\n\n        if (nodeDef.flags & 33554432\n        /* ComponentView */\n        ) {\n            // a leaf\n            callViewAction(asElementData(view, i).componentView, action);\n          } else if ((nodeDef.childFlags & 33554432\n        /* ComponentView */\n        ) === 0) {\n          // a parent with leafs\n          // no child is a component,\n          // then skip the children\n          i += nodeDef.childCount;\n        }\n      }\n    }\n    /**\n     * @param {?} view\n     * @param {?} action\n     * @return {?}\n     */\n\n\n    function execEmbeddedViewsAction(view, action) {\n      /** @type {?} */\n      var def = view.def;\n\n      if (!(def.nodeFlags & 16777216\n      /* EmbeddedViews */\n      )) {\n        return;\n      }\n\n      for (var i = 0; i < def.nodes.length; i++) {\n        /** @type {?} */\n        var nodeDef = def.nodes[i];\n\n        if (nodeDef.flags & 16777216\n        /* EmbeddedViews */\n        ) {\n            // a leaf\n\n            /** @type {?} */\n            var embeddedViews =\n            /** @type {?} */\n            asElementData(view, i).viewContainer._embeddedViews;\n\n            for (var k = 0; k < embeddedViews.length; k++) {\n              callViewAction(embeddedViews[k], action);\n            }\n          } else if ((nodeDef.childFlags & 16777216\n        /* EmbeddedViews */\n        ) === 0) {\n          // a parent with leafs\n          // no child is a component,\n          // then skip the children\n          i += nodeDef.childCount;\n        }\n      }\n    }\n    /**\n     * @param {?} view\n     * @param {?} action\n     * @return {?}\n     */\n\n\n    function callViewAction(view, action) {\n      /** @type {?} */\n      var viewState = view.state;\n\n      switch (action) {\n        case ViewAction.CheckNoChanges:\n          if ((viewState & 128\n          /* Destroyed */\n          ) === 0) {\n            if ((viewState & 12\n            /* CatDetectChanges */\n            ) === 12\n            /* CatDetectChanges */\n            ) {\n                checkNoChangesView(view);\n              } else if (viewState & 64\n            /* CheckProjectedViews */\n            ) {\n                execProjectedViewsAction(view, ViewAction.CheckNoChangesProjectedViews);\n              }\n          }\n\n          break;\n\n        case ViewAction.CheckNoChangesProjectedViews:\n          if ((viewState & 128\n          /* Destroyed */\n          ) === 0) {\n            if (viewState & 32\n            /* CheckProjectedView */\n            ) {\n                checkNoChangesView(view);\n              } else if (viewState & 64\n            /* CheckProjectedViews */\n            ) {\n                execProjectedViewsAction(view, action);\n              }\n          }\n\n          break;\n\n        case ViewAction.CheckAndUpdate:\n          if ((viewState & 128\n          /* Destroyed */\n          ) === 0) {\n            if ((viewState & 12\n            /* CatDetectChanges */\n            ) === 12\n            /* CatDetectChanges */\n            ) {\n                checkAndUpdateView(view);\n              } else if (viewState & 64\n            /* CheckProjectedViews */\n            ) {\n                execProjectedViewsAction(view, ViewAction.CheckAndUpdateProjectedViews);\n              }\n          }\n\n          break;\n\n        case ViewAction.CheckAndUpdateProjectedViews:\n          if ((viewState & 128\n          /* Destroyed */\n          ) === 0) {\n            if (viewState & 32\n            /* CheckProjectedView */\n            ) {\n                checkAndUpdateView(view);\n              } else if (viewState & 64\n            /* CheckProjectedViews */\n            ) {\n                execProjectedViewsAction(view, action);\n              }\n          }\n\n          break;\n\n        case ViewAction.Destroy:\n          // Note: destroyView recurses over all views,\n          // so we don't need to special case projected views here.\n          destroyView(view);\n          break;\n\n        case ViewAction.CreateViewNodes:\n          createViewNodes(view);\n          break;\n      }\n    }\n    /**\n     * @param {?} view\n     * @param {?} action\n     * @return {?}\n     */\n\n\n    function execProjectedViewsAction(view, action) {\n      execEmbeddedViewsAction(view, action);\n      execComponentViewsAction(view, action);\n    }\n    /**\n     * @param {?} view\n     * @param {?} queryFlags\n     * @param {?} staticDynamicQueryFlag\n     * @param {?} checkType\n     * @return {?}\n     */\n\n\n    function execQueriesAction(view, queryFlags, staticDynamicQueryFlag, checkType) {\n      if (!(view.def.nodeFlags & queryFlags) || !(view.def.nodeFlags & staticDynamicQueryFlag)) {\n        return;\n      }\n      /** @type {?} */\n\n\n      var nodeCount = view.def.nodes.length;\n\n      for (var i = 0; i < nodeCount; i++) {\n        /** @type {?} */\n        var nodeDef = view.def.nodes[i];\n\n        if (nodeDef.flags & queryFlags && nodeDef.flags & staticDynamicQueryFlag) {\n          Services.setCurrentNode(view, nodeDef.nodeIndex);\n\n          switch (checkType) {\n            case 0\n            /* CheckAndUpdate */\n            :\n              checkAndUpdateQuery(view, nodeDef);\n              break;\n\n            case 1\n            /* CheckNoChanges */\n            :\n              checkNoChangesQuery(view, nodeDef);\n              break;\n          }\n        }\n\n        if (!(nodeDef.childFlags & queryFlags) || !(nodeDef.childFlags & staticDynamicQueryFlag)) {\n          // no child has a matching query\n          // then skip the children\n          i += nodeDef.childCount;\n        }\n      }\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var initialized = false;\n    /**\n     * @return {?}\n     */\n\n    function initServicesIfNeeded() {\n      if (initialized) {\n        return;\n      }\n\n      initialized = true;\n      /** @type {?} */\n\n      var services = isDevMode() ? createDebugServices() : createProdServices();\n      Services.setCurrentNode = services.setCurrentNode;\n      Services.createRootView = services.createRootView;\n      Services.createEmbeddedView = services.createEmbeddedView;\n      Services.createComponentView = services.createComponentView;\n      Services.createNgModuleRef = services.createNgModuleRef;\n      Services.overrideProvider = services.overrideProvider;\n      Services.overrideComponentView = services.overrideComponentView;\n      Services.clearOverrides = services.clearOverrides;\n      Services.checkAndUpdateView = services.checkAndUpdateView;\n      Services.checkNoChangesView = services.checkNoChangesView;\n      Services.destroyView = services.destroyView;\n      Services.resolveDep = resolveDep;\n      Services.createDebugContext = services.createDebugContext;\n      Services.handleEvent = services.handleEvent;\n      Services.updateDirectives = services.updateDirectives;\n      Services.updateRenderer = services.updateRenderer;\n      Services.dirtyParentQueries = dirtyParentQueries;\n    }\n    /**\n     * @return {?}\n     */\n\n\n    function createProdServices() {\n      return {\n        setCurrentNode:\n        /**\n        * @return {?}\n        */\n        function setCurrentNode() {},\n        createRootView: createProdRootView,\n        createEmbeddedView: createEmbeddedView,\n        createComponentView: createComponentView,\n        createNgModuleRef: createNgModuleRef,\n        overrideProvider: NOOP,\n        overrideComponentView: NOOP,\n        clearOverrides: NOOP,\n        checkAndUpdateView: checkAndUpdateView,\n        checkNoChangesView: checkNoChangesView,\n        destroyView: destroyView,\n        createDebugContext:\n        /**\n        * @param {?} view\n        * @param {?} nodeIndex\n        * @return {?}\n        */\n        function createDebugContext(view, nodeIndex) {\n          return new DebugContext_(view, nodeIndex);\n        },\n        handleEvent:\n        /**\n        * @param {?} view\n        * @param {?} nodeIndex\n        * @param {?} eventName\n        * @param {?} event\n        * @return {?}\n        */\n        function handleEvent(view, nodeIndex, eventName, event) {\n          return view.def.handleEvent(view, nodeIndex, eventName, event);\n        },\n        updateDirectives:\n        /**\n        * @param {?} view\n        * @param {?} checkType\n        * @return {?}\n        */\n        function updateDirectives(view, checkType) {\n          return view.def.updateDirectives(checkType === 0\n          /* CheckAndUpdate */\n          ? prodCheckAndUpdateNode : prodCheckNoChangesNode, view);\n        },\n        updateRenderer:\n        /**\n        * @param {?} view\n        * @param {?} checkType\n        * @return {?}\n        */\n        function updateRenderer(view, checkType) {\n          return view.def.updateRenderer(checkType === 0\n          /* CheckAndUpdate */\n          ? prodCheckAndUpdateNode : prodCheckNoChangesNode, view);\n        }\n      };\n    }\n    /**\n     * @return {?}\n     */\n\n\n    function createDebugServices() {\n      return {\n        setCurrentNode: debugSetCurrentNode,\n        createRootView: debugCreateRootView,\n        createEmbeddedView: debugCreateEmbeddedView,\n        createComponentView: debugCreateComponentView,\n        createNgModuleRef: debugCreateNgModuleRef,\n        overrideProvider: debugOverrideProvider,\n        overrideComponentView: debugOverrideComponentView,\n        clearOverrides: debugClearOverrides,\n        checkAndUpdateView: debugCheckAndUpdateView,\n        checkNoChangesView: debugCheckNoChangesView,\n        destroyView: debugDestroyView,\n        createDebugContext:\n        /**\n        * @param {?} view\n        * @param {?} nodeIndex\n        * @return {?}\n        */\n        function createDebugContext(view, nodeIndex) {\n          return new DebugContext_(view, nodeIndex);\n        },\n        handleEvent: debugHandleEvent,\n        updateDirectives: debugUpdateDirectives,\n        updateRenderer: debugUpdateRenderer\n      };\n    }\n    /**\n     * @param {?} elInjector\n     * @param {?} projectableNodes\n     * @param {?} rootSelectorOrNode\n     * @param {?} def\n     * @param {?} ngModule\n     * @param {?=} context\n     * @return {?}\n     */\n\n\n    function createProdRootView(elInjector, projectableNodes, rootSelectorOrNode, def, ngModule, context) {\n      /** @type {?} */\n      var rendererFactory = ngModule.injector.get(RendererFactory2);\n      return createRootView(createRootData(elInjector, ngModule, rendererFactory, projectableNodes, rootSelectorOrNode), def, context);\n    }\n    /**\n     * @param {?} elInjector\n     * @param {?} projectableNodes\n     * @param {?} rootSelectorOrNode\n     * @param {?} def\n     * @param {?} ngModule\n     * @param {?=} context\n     * @return {?}\n     */\n\n\n    function debugCreateRootView(elInjector, projectableNodes, rootSelectorOrNode, def, ngModule, context) {\n      /** @type {?} */\n      var rendererFactory = ngModule.injector.get(RendererFactory2);\n      /** @type {?} */\n\n      var root = createRootData(elInjector, ngModule, new DebugRendererFactory2(rendererFactory), projectableNodes, rootSelectorOrNode);\n      /** @type {?} */\n\n      var defWithOverride = applyProviderOverridesToView(def);\n      return callWithDebugContext(DebugAction.create, createRootView, null, [root, defWithOverride, context]);\n    }\n    /**\n     * @param {?} elInjector\n     * @param {?} ngModule\n     * @param {?} rendererFactory\n     * @param {?} projectableNodes\n     * @param {?} rootSelectorOrNode\n     * @return {?}\n     */\n\n\n    function createRootData(elInjector, ngModule, rendererFactory, projectableNodes, rootSelectorOrNode) {\n      /** @type {?} */\n      var sanitizer = ngModule.injector.get(Sanitizer);\n      /** @type {?} */\n\n      var errorHandler = ngModule.injector.get(ErrorHandler);\n      /** @type {?} */\n\n      var renderer = rendererFactory.createRenderer(null, null);\n      return {\n        ngModule: ngModule,\n        injector: elInjector,\n        projectableNodes: projectableNodes,\n        selectorOrNode: rootSelectorOrNode,\n        sanitizer: sanitizer,\n        rendererFactory: rendererFactory,\n        renderer: renderer,\n        errorHandler: errorHandler\n      };\n    }\n    /**\n     * @param {?} parentView\n     * @param {?} anchorDef\n     * @param {?} viewDef\n     * @param {?=} context\n     * @return {?}\n     */\n\n\n    function debugCreateEmbeddedView(parentView, anchorDef, viewDef, context) {\n      /** @type {?} */\n      var defWithOverride = applyProviderOverridesToView(viewDef);\n      return callWithDebugContext(DebugAction.create, createEmbeddedView, null, [parentView, anchorDef, defWithOverride, context]);\n    }\n    /**\n     * @param {?} parentView\n     * @param {?} nodeDef\n     * @param {?} viewDef\n     * @param {?} hostElement\n     * @return {?}\n     */\n\n\n    function debugCreateComponentView(parentView, nodeDef, viewDef, hostElement) {\n      /** @type {?} */\n      var overrideComponentView = viewDefOverrides.get(\n      /** @type {?} */\n\n      /** @type {?} */\n\n      /** @type {?} */\n      nodeDef.element.componentProvider.provider.token);\n\n      if (overrideComponentView) {\n        viewDef = overrideComponentView;\n      } else {\n        viewDef = applyProviderOverridesToView(viewDef);\n      }\n\n      return callWithDebugContext(DebugAction.create, createComponentView, null, [parentView, nodeDef, viewDef, hostElement]);\n    }\n    /**\n     * @param {?} moduleType\n     * @param {?} parentInjector\n     * @param {?} bootstrapComponents\n     * @param {?} def\n     * @return {?}\n     */\n\n\n    function debugCreateNgModuleRef(moduleType, parentInjector, bootstrapComponents, def) {\n      /** @type {?} */\n      var defWithOverride = applyProviderOverridesToNgModule(def);\n      return createNgModuleRef(moduleType, parentInjector, bootstrapComponents, defWithOverride);\n    }\n    /** @type {?} */\n\n\n    var providerOverrides = new Map();\n    /** @type {?} */\n\n    var providerOverridesWithScope = new Map();\n    /** @type {?} */\n\n    var viewDefOverrides = new Map();\n    /**\n     * @param {?} override\n     * @return {?}\n     */\n\n    function debugOverrideProvider(override) {\n      providerOverrides.set(override.token, override);\n      /** @type {?} */\n\n      var injectableDef;\n\n      if (typeof override.token === 'function' && (injectableDef = getInjectableDef(override.token)) && typeof injectableDef.providedIn === 'function') {\n        providerOverridesWithScope.set(\n        /** @type {?} */\n        override.token, override);\n      }\n    }\n    /**\n     * @param {?} comp\n     * @param {?} compFactory\n     * @return {?}\n     */\n\n\n    function debugOverrideComponentView(comp, compFactory) {\n      /** @type {?} */\n      var hostViewDef = resolveDefinition(getComponentViewDefinitionFactory(compFactory));\n      /** @type {?} */\n\n      var compViewDef = resolveDefinition(\n      /** @type {?} */\n\n      /** @type {?} */\n      hostViewDef.nodes[0].element.componentView);\n      viewDefOverrides.set(comp, compViewDef);\n    }\n    /**\n     * @return {?}\n     */\n\n\n    function debugClearOverrides() {\n      providerOverrides.clear();\n      providerOverridesWithScope.clear();\n      viewDefOverrides.clear();\n    } // Notes about the algorithm:\n    // 1) Locate the providers of an element and check if one of them was overwritten\n    // 2) Change the providers of that element\n    //\n    // We only create new datastructures if we need to, to keep perf impact\n    // reasonable.\n\n    /**\n     * @param {?} def\n     * @return {?}\n     */\n\n\n    function applyProviderOverridesToView(def) {\n      if (providerOverrides.size === 0) {\n        return def;\n      }\n      /** @type {?} */\n\n\n      var elementIndicesWithOverwrittenProviders = findElementIndicesWithOverwrittenProviders(def);\n\n      if (elementIndicesWithOverwrittenProviders.length === 0) {\n        return def;\n      } // clone the whole view definition,\n      // as it maintains references between the nodes that are hard to update.\n\n\n      def =\n      /** @type {?} */\n      def.factory(\n      /**\n      * @return {?}\n      */\n      function () {\n        return NOOP;\n      });\n\n      for (var i = 0; i < elementIndicesWithOverwrittenProviders.length; i++) {\n        applyProviderOverridesToElement(def, elementIndicesWithOverwrittenProviders[i]);\n      }\n\n      return def;\n      /**\n       * @param {?} def\n       * @return {?}\n       */\n\n      function findElementIndicesWithOverwrittenProviders(def) {\n        /** @type {?} */\n        var elIndicesWithOverwrittenProviders = [];\n        /** @type {?} */\n\n        var lastElementDef = null;\n\n        for (var _i35 = 0; _i35 < def.nodes.length; _i35++) {\n          /** @type {?} */\n          var nodeDef = def.nodes[_i35];\n\n          if (nodeDef.flags & 1\n          /* TypeElement */\n          ) {\n              lastElementDef = nodeDef;\n            }\n\n          if (lastElementDef && nodeDef.flags & 3840\n          /* CatProviderNoDirective */\n          && providerOverrides.has(\n          /** @type {?} */\n          nodeDef.provider.token)) {\n            elIndicesWithOverwrittenProviders.push(\n            /** @type {?} */\n            lastElementDef.nodeIndex);\n            lastElementDef = null;\n          }\n        }\n\n        return elIndicesWithOverwrittenProviders;\n      }\n      /**\n       * @param {?} viewDef\n       * @param {?} elIndex\n       * @return {?}\n       */\n\n\n      function applyProviderOverridesToElement(viewDef, elIndex) {\n        for (var _i36 = elIndex + 1; _i36 < viewDef.nodes.length; _i36++) {\n          /** @type {?} */\n          var nodeDef = viewDef.nodes[_i36];\n\n          if (nodeDef.flags & 1\n          /* TypeElement */\n          ) {\n              // stop at the next element\n              return;\n            }\n\n          if (nodeDef.flags & 3840\n          /* CatProviderNoDirective */\n          ) {\n              /** @type {?} */\n              var provider =\n              /** @type {?} */\n              nodeDef.provider;\n              /** @type {?} */\n\n              var override = providerOverrides.get(provider.token);\n\n              if (override) {\n                nodeDef.flags = nodeDef.flags & ~3840\n                /* CatProviderNoDirective */\n                | override.flags;\n                provider.deps = splitDepsDsl(override.deps);\n                provider.value = override.value;\n              }\n            }\n        }\n      }\n    } // Notes about the algorithm:\n    // We only create new datastructures if we need to, to keep perf impact\n    // reasonable.\n\n    /**\n     * @param {?} def\n     * @return {?}\n     */\n\n\n    function applyProviderOverridesToNgModule(def) {\n      var _calcHasOverrides = calcHasOverrides(def),\n          hasOverrides = _calcHasOverrides.hasOverrides,\n          hasDeprecatedOverrides = _calcHasOverrides.hasDeprecatedOverrides;\n\n      if (!hasOverrides) {\n        return def;\n      } // clone the whole view definition,\n      // as it maintains references between the nodes that are hard to update.\n\n\n      def =\n      /** @type {?} */\n      def.factory(\n      /**\n      * @return {?}\n      */\n      function () {\n        return NOOP;\n      });\n      applyProviderOverrides(def);\n      return def;\n      /**\n       * @param {?} def\n       * @return {?}\n       */\n\n      function calcHasOverrides(def) {\n        /** @type {?} */\n        var hasOverrides = false;\n        /** @type {?} */\n\n        var hasDeprecatedOverrides = false;\n\n        if (providerOverrides.size === 0) {\n          return {\n            hasOverrides: hasOverrides,\n            hasDeprecatedOverrides: hasDeprecatedOverrides\n          };\n        }\n\n        def.providers.forEach(\n        /**\n        * @param {?} node\n        * @return {?}\n        */\n        function (node) {\n          /** @type {?} */\n          var override = providerOverrides.get(node.token);\n\n          if (node.flags & 3840\n          /* CatProviderNoDirective */\n          && override) {\n            hasOverrides = true;\n            hasDeprecatedOverrides = hasDeprecatedOverrides || override.deprecatedBehavior;\n          }\n        });\n        def.modules.forEach(\n        /**\n        * @param {?} module\n        * @return {?}\n        */\n        function (module) {\n          providerOverridesWithScope.forEach(\n          /**\n          * @param {?} override\n          * @param {?} token\n          * @return {?}\n          */\n          function (override, token) {\n            if (\n            /** @type {?} */\n            getInjectableDef(token).providedIn === module) {\n              hasOverrides = true;\n              hasDeprecatedOverrides = hasDeprecatedOverrides || override.deprecatedBehavior;\n            }\n          });\n        });\n        return {\n          hasOverrides: hasOverrides,\n          hasDeprecatedOverrides: hasDeprecatedOverrides\n        };\n      }\n      /**\n       * @param {?} def\n       * @return {?}\n       */\n\n\n      function applyProviderOverrides(def) {\n        for (var i = 0; i < def.providers.length; i++) {\n          /** @type {?} */\n          var provider = def.providers[i];\n\n          if (hasDeprecatedOverrides) {\n            // We had a bug where me made\n            // all providers lazy. Keep this logic behind a flag\n            // for migrating existing users.\n            provider.flags |= 4096\n            /* LazyProvider */\n            ;\n          }\n          /** @type {?} */\n\n\n          var override = providerOverrides.get(provider.token);\n\n          if (override) {\n            provider.flags = provider.flags & ~3840\n            /* CatProviderNoDirective */\n            | override.flags;\n            provider.deps = splitDepsDsl(override.deps);\n            provider.value = override.value;\n          }\n        }\n\n        if (providerOverridesWithScope.size > 0) {\n          /** @type {?} */\n          var moduleSet = new Set(def.modules);\n          providerOverridesWithScope.forEach(\n          /**\n          * @param {?} override\n          * @param {?} token\n          * @return {?}\n          */\n          function (override, token) {\n            if (moduleSet.has(\n            /** @type {?} */\n            getInjectableDef(token).providedIn)) {\n              /** @type {?} */\n              var _provider = {\n                token: token,\n                flags: override.flags | (hasDeprecatedOverrides ? 4096\n                /* LazyProvider */\n                : 0\n                /* None */\n                ),\n                deps: splitDepsDsl(override.deps),\n                value: override.value,\n                index: def.providers.length\n              };\n              def.providers.push(_provider);\n              def.providersByKey[tokenKey(token)] = _provider;\n            }\n          });\n        }\n      }\n    }\n    /**\n     * @param {?} view\n     * @param {?} checkIndex\n     * @param {?} argStyle\n     * @param {?=} v0\n     * @param {?=} v1\n     * @param {?=} v2\n     * @param {?=} v3\n     * @param {?=} v4\n     * @param {?=} v5\n     * @param {?=} v6\n     * @param {?=} v7\n     * @param {?=} v8\n     * @param {?=} v9\n     * @return {?}\n     */\n\n\n    function prodCheckAndUpdateNode(view, checkIndex, argStyle, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9) {\n      /** @type {?} */\n      var nodeDef = view.def.nodes[checkIndex];\n      checkAndUpdateNode(view, nodeDef, argStyle, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9);\n      return nodeDef.flags & 224\n      /* CatPureExpression */\n      ? asPureExpressionData(view, checkIndex).value : undefined;\n    }\n    /**\n     * @param {?} view\n     * @param {?} checkIndex\n     * @param {?} argStyle\n     * @param {?=} v0\n     * @param {?=} v1\n     * @param {?=} v2\n     * @param {?=} v3\n     * @param {?=} v4\n     * @param {?=} v5\n     * @param {?=} v6\n     * @param {?=} v7\n     * @param {?=} v8\n     * @param {?=} v9\n     * @return {?}\n     */\n\n\n    function prodCheckNoChangesNode(view, checkIndex, argStyle, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9) {\n      /** @type {?} */\n      var nodeDef = view.def.nodes[checkIndex];\n      checkNoChangesNode(view, nodeDef, argStyle, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9);\n      return nodeDef.flags & 224\n      /* CatPureExpression */\n      ? asPureExpressionData(view, checkIndex).value : undefined;\n    }\n    /**\n     * @param {?} view\n     * @return {?}\n     */\n\n\n    function debugCheckAndUpdateView(view) {\n      return callWithDebugContext(DebugAction.detectChanges, checkAndUpdateView, null, [view]);\n    }\n    /**\n     * @param {?} view\n     * @return {?}\n     */\n\n\n    function debugCheckNoChangesView(view) {\n      return callWithDebugContext(DebugAction.checkNoChanges, checkNoChangesView, null, [view]);\n    }\n    /**\n     * @param {?} view\n     * @return {?}\n     */\n\n\n    function debugDestroyView(view) {\n      return callWithDebugContext(DebugAction.destroy, destroyView, null, [view]);\n    }\n    /** @enum {number} */\n\n\n    var DebugAction = {\n      create: 0,\n      detectChanges: 1,\n      checkNoChanges: 2,\n      destroy: 3,\n      handleEvent: 4\n    };\n    DebugAction[DebugAction.create] = 'create';\n    DebugAction[DebugAction.detectChanges] = 'detectChanges';\n    DebugAction[DebugAction.checkNoChanges] = 'checkNoChanges';\n    DebugAction[DebugAction.destroy] = 'destroy';\n    DebugAction[DebugAction.handleEvent] = 'handleEvent';\n    /** @type {?} */\n\n    var _currentAction;\n    /** @type {?} */\n\n\n    var _currentView;\n    /** @type {?} */\n\n\n    var _currentNodeIndex;\n    /**\n     * @param {?} view\n     * @param {?} nodeIndex\n     * @return {?}\n     */\n\n\n    function debugSetCurrentNode(view, nodeIndex) {\n      _currentView = view;\n      _currentNodeIndex = nodeIndex;\n    }\n    /**\n     * @param {?} view\n     * @param {?} nodeIndex\n     * @param {?} eventName\n     * @param {?} event\n     * @return {?}\n     */\n\n\n    function debugHandleEvent(view, nodeIndex, eventName, event) {\n      debugSetCurrentNode(view, nodeIndex);\n      return callWithDebugContext(DebugAction.handleEvent, view.def.handleEvent, null, [view, nodeIndex, eventName, event]);\n    }\n    /**\n     * @param {?} view\n     * @param {?} checkType\n     * @return {?}\n     */\n\n\n    function debugUpdateDirectives(view, checkType) {\n      if (view.state & 128\n      /* Destroyed */\n      ) {\n          throw viewDestroyedError(DebugAction[_currentAction]);\n        }\n\n      debugSetCurrentNode(view, nextDirectiveWithBinding(view, 0));\n      return view.def.updateDirectives(debugCheckDirectivesFn, view);\n      /**\n       * @param {?} view\n       * @param {?} nodeIndex\n       * @param {?} argStyle\n       * @param {...?} values\n       * @return {?}\n       */\n\n      function debugCheckDirectivesFn(view, nodeIndex, argStyle) {\n        /** @type {?} */\n        var nodeDef = view.def.nodes[nodeIndex];\n\n        for (var _len22 = arguments.length, values = new Array(_len22 > 3 ? _len22 - 3 : 0), _key24 = 3; _key24 < _len22; _key24++) {\n          values[_key24 - 3] = arguments[_key24];\n        }\n\n        if (checkType === 0\n        /* CheckAndUpdate */\n        ) {\n            debugCheckAndUpdateNode(view, nodeDef, argStyle, values);\n          } else {\n          debugCheckNoChangesNode(view, nodeDef, argStyle, values);\n        }\n\n        if (nodeDef.flags & 16384\n        /* TypeDirective */\n        ) {\n            debugSetCurrentNode(view, nextDirectiveWithBinding(view, nodeIndex));\n          }\n\n        return nodeDef.flags & 224\n        /* CatPureExpression */\n        ? asPureExpressionData(view, nodeDef.nodeIndex).value : undefined;\n      }\n    }\n    /**\n     * @param {?} view\n     * @param {?} checkType\n     * @return {?}\n     */\n\n\n    function debugUpdateRenderer(view, checkType) {\n      if (view.state & 128\n      /* Destroyed */\n      ) {\n          throw viewDestroyedError(DebugAction[_currentAction]);\n        }\n\n      debugSetCurrentNode(view, nextRenderNodeWithBinding(view, 0));\n      return view.def.updateRenderer(debugCheckRenderNodeFn, view);\n      /**\n       * @param {?} view\n       * @param {?} nodeIndex\n       * @param {?} argStyle\n       * @param {...?} values\n       * @return {?}\n       */\n\n      function debugCheckRenderNodeFn(view, nodeIndex, argStyle) {\n        /** @type {?} */\n        var nodeDef = view.def.nodes[nodeIndex];\n\n        for (var _len23 = arguments.length, values = new Array(_len23 > 3 ? _len23 - 3 : 0), _key25 = 3; _key25 < _len23; _key25++) {\n          values[_key25 - 3] = arguments[_key25];\n        }\n\n        if (checkType === 0\n        /* CheckAndUpdate */\n        ) {\n            debugCheckAndUpdateNode(view, nodeDef, argStyle, values);\n          } else {\n          debugCheckNoChangesNode(view, nodeDef, argStyle, values);\n        }\n\n        if (nodeDef.flags & 3\n        /* CatRenderNode */\n        ) {\n            debugSetCurrentNode(view, nextRenderNodeWithBinding(view, nodeIndex));\n          }\n\n        return nodeDef.flags & 224\n        /* CatPureExpression */\n        ? asPureExpressionData(view, nodeDef.nodeIndex).value : undefined;\n      }\n    }\n    /**\n     * @param {?} view\n     * @param {?} nodeDef\n     * @param {?} argStyle\n     * @param {?} givenValues\n     * @return {?}\n     */\n\n\n    function debugCheckAndUpdateNode(view, nodeDef, argStyle, givenValues) {\n      /** @type {?} */\n      var changed =\n      /** @type {?} */\n      checkAndUpdateNode.apply(void 0, [view, nodeDef, argStyle].concat(_toConsumableArray(givenValues)));\n\n      if (changed) {\n        /** @type {?} */\n        var values = argStyle === 1\n        /* Dynamic */\n        ? givenValues[0] : givenValues;\n\n        if (nodeDef.flags & 16384\n        /* TypeDirective */\n        ) {\n            /** @type {?} */\n            var bindingValues = {};\n\n            for (var i = 0; i < nodeDef.bindings.length; i++) {\n              /** @type {?} */\n              var binding = nodeDef.bindings[i];\n              /** @type {?} */\n\n              var value = values[i];\n\n              if (binding.flags & 8\n              /* TypeProperty */\n              ) {\n                  bindingValues[normalizeDebugBindingName(\n                  /** @type {?} */\n                  binding.nonMinifiedName)] = normalizeDebugBindingValue(value);\n                }\n            }\n            /** @type {?} */\n\n\n            var elDef =\n            /** @type {?} */\n            nodeDef.parent;\n            /** @type {?} */\n\n            var el = asElementData(view, elDef.nodeIndex).renderElement;\n\n            if (!\n            /** @type {?} */\n            elDef.element.name) {\n              // a comment.\n              view.renderer.setValue(el, \"bindings=\".concat(JSON.stringify(bindingValues, null, 2)));\n            } else {\n              // a regular element.\n              for (var attr in bindingValues) {\n                /** @type {?} */\n                var _value11 = bindingValues[attr];\n\n                if (_value11 != null) {\n                  view.renderer.setAttribute(el, attr, _value11);\n                } else {\n                  view.renderer.removeAttribute(el, attr);\n                }\n              }\n            }\n          }\n      }\n    }\n    /**\n     * @param {?} view\n     * @param {?} nodeDef\n     * @param {?} argStyle\n     * @param {?} values\n     * @return {?}\n     */\n\n\n    function debugCheckNoChangesNode(view, nodeDef, argStyle, values) {\n      /** @type {?} */\n      checkNoChangesNode.apply(void 0, [view, nodeDef, argStyle].concat(_toConsumableArray(values)));\n    }\n    /**\n     * @param {?} view\n     * @param {?} nodeIndex\n     * @return {?}\n     */\n\n\n    function nextDirectiveWithBinding(view, nodeIndex) {\n      for (var i = nodeIndex; i < view.def.nodes.length; i++) {\n        /** @type {?} */\n        var nodeDef = view.def.nodes[i];\n\n        if (nodeDef.flags & 16384\n        /* TypeDirective */\n        && nodeDef.bindings && nodeDef.bindings.length) {\n          return i;\n        }\n      }\n\n      return null;\n    }\n    /**\n     * @param {?} view\n     * @param {?} nodeIndex\n     * @return {?}\n     */\n\n\n    function nextRenderNodeWithBinding(view, nodeIndex) {\n      for (var i = nodeIndex; i < view.def.nodes.length; i++) {\n        /** @type {?} */\n        var nodeDef = view.def.nodes[i];\n\n        if (nodeDef.flags & 3\n        /* CatRenderNode */\n        && nodeDef.bindings && nodeDef.bindings.length) {\n          return i;\n        }\n      }\n\n      return null;\n    }\n\n    var DebugContext_ =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} view\n       * @param {?} nodeIndex\n       */\n      function DebugContext_(view, nodeIndex) {\n        _classCallCheck(this, DebugContext_);\n\n        this.view = view;\n        this.nodeIndex = nodeIndex;\n\n        if (nodeIndex == null) {\n          this.nodeIndex = nodeIndex = 0;\n        }\n\n        this.nodeDef = view.def.nodes[nodeIndex];\n        /** @type {?} */\n\n        var elDef = this.nodeDef;\n        /** @type {?} */\n\n        var elView = view;\n\n        while (elDef && (elDef.flags & 1\n        /* TypeElement */\n        ) === 0) {\n          elDef =\n          /** @type {?} */\n          elDef.parent;\n        }\n\n        if (!elDef) {\n          while (!elDef && elView) {\n            elDef =\n            /** @type {?} */\n            viewParentEl(elView);\n            elView =\n            /** @type {?} */\n            elView.parent;\n          }\n        }\n\n        this.elDef = elDef;\n        this.elView = elView;\n      }\n      /**\n       * @private\n       * @return {?}\n       */\n\n\n      _createClass2(DebugContext_, [{\n        key: \"logError\",\n\n        /**\n         * @param {?} console\n         * @param {...?} values\n         * @return {?}\n         */\n        value: function logError(console) {\n          for (var _len24 = arguments.length, values = new Array(_len24 > 1 ? _len24 - 1 : 0), _key26 = 1; _key26 < _len24; _key26++) {\n            values[_key26 - 1] = arguments[_key26];\n          }\n\n          /** @type {?} */\n          var logViewDef;\n          /** @type {?} */\n\n          var logNodeIndex;\n\n          if (this.nodeDef.flags & 2\n          /* TypeText */\n          ) {\n              logViewDef = this.view.def;\n              logNodeIndex = this.nodeDef.nodeIndex;\n            } else {\n            logViewDef = this.elView.def;\n            logNodeIndex = this.elDef.nodeIndex;\n          } // Note: we only generate a log function for text and element nodes\n          // to make the generated code as small as possible.\n\n          /** @type {?} */\n\n\n          var renderNodeIndex = getRenderNodeIndex(logViewDef, logNodeIndex);\n          /** @type {?} */\n\n          var currRenderNodeIndex = -1;\n          /** @type {?} */\n\n          var nodeLogger =\n          /**\n          * @return {?}\n          */\n          function nodeLogger() {\n            currRenderNodeIndex++;\n\n            if (currRenderNodeIndex === renderNodeIndex) {\n              var _console$error;\n\n              return (_console$error = console.error).bind.apply(_console$error, [console].concat(values));\n            } else {\n              return NOOP;\n            }\n          };\n\n          /** @type {?} */\n          logViewDef.factory(nodeLogger);\n\n          if (currRenderNodeIndex < renderNodeIndex) {\n            console.error('Illegal state: the ViewDefinitionFactory did not call the logger!');\n\n            /** @type {?} */\n            console.error.apply(console, values);\n          }\n        }\n      }, {\n        key: \"elOrCompView\",\n        get: function get() {\n          // Has to be done lazily as we use the DebugContext also during creation of elements...\n          return asElementData(this.elView, this.elDef.nodeIndex).componentView || this.view;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"injector\",\n        get: function get() {\n          return createInjector$1(this.elView, this.elDef);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"component\",\n        get: function get() {\n          return this.elOrCompView.component;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"context\",\n        get: function get() {\n          return this.elOrCompView.context;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"providerTokens\",\n        get: function get() {\n          /** @type {?} */\n          var tokens = [];\n\n          if (this.elDef) {\n            for (var i = this.elDef.nodeIndex + 1; i <= this.elDef.nodeIndex + this.elDef.childCount; i++) {\n              /** @type {?} */\n              var childDef = this.elView.def.nodes[i];\n\n              if (childDef.flags & 20224\n              /* CatProvider */\n              ) {\n                  tokens.push(\n                  /** @type {?} */\n                  childDef.provider.token);\n                }\n\n              i += childDef.childCount;\n            }\n          }\n\n          return tokens;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"references\",\n        get: function get() {\n          /** @type {?} */\n          var references = {};\n\n          if (this.elDef) {\n            collectReferences(this.elView, this.elDef, references);\n\n            for (var i = this.elDef.nodeIndex + 1; i <= this.elDef.nodeIndex + this.elDef.childCount; i++) {\n              /** @type {?} */\n              var childDef = this.elView.def.nodes[i];\n\n              if (childDef.flags & 20224\n              /* CatProvider */\n              ) {\n                  collectReferences(this.elView, childDef, references);\n                }\n\n              i += childDef.childCount;\n            }\n          }\n\n          return references;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"componentRenderElement\",\n        get: function get() {\n          /** @type {?} */\n          var elData = findHostElement(this.elOrCompView);\n          return elData ? elData.renderElement : undefined;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"renderNode\",\n        get: function get() {\n          return this.nodeDef.flags & 2\n          /* TypeText */\n          ? renderNode(this.view, this.nodeDef) : renderNode(this.elView, this.elDef);\n        }\n      }]);\n\n      return DebugContext_;\n    }();\n\n    if (false) {}\n    /**\n     * @param {?} viewDef\n     * @param {?} nodeIndex\n     * @return {?}\n     */\n\n\n    function getRenderNodeIndex(viewDef, nodeIndex) {\n      /** @type {?} */\n      var renderNodeIndex = -1;\n\n      for (var i = 0; i <= nodeIndex; i++) {\n        /** @type {?} */\n        var nodeDef = viewDef.nodes[i];\n\n        if (nodeDef.flags & 3\n        /* CatRenderNode */\n        ) {\n            renderNodeIndex++;\n          }\n      }\n\n      return renderNodeIndex;\n    }\n    /**\n     * @param {?} view\n     * @return {?}\n     */\n\n\n    function findHostElement(view) {\n      while (view && !isComponentView(view)) {\n        view =\n        /** @type {?} */\n        view.parent;\n      }\n\n      if (view.parent) {\n        return asElementData(view.parent,\n        /** @type {?} */\n        viewParentEl(view).nodeIndex);\n      }\n\n      return null;\n    }\n    /**\n     * @param {?} view\n     * @param {?} nodeDef\n     * @param {?} references\n     * @return {?}\n     */\n\n\n    function collectReferences(view, nodeDef, references) {\n      for (var refName in nodeDef.references) {\n        references[refName] = getQueryValue(view, nodeDef, nodeDef.references[refName]);\n      }\n    }\n    /**\n     * @param {?} action\n     * @param {?} fn\n     * @param {?} self\n     * @param {?} args\n     * @return {?}\n     */\n\n\n    function callWithDebugContext(action, fn, self, args) {\n      /** @type {?} */\n      var oldAction = _currentAction;\n      /** @type {?} */\n\n      var oldView = _currentView;\n      /** @type {?} */\n\n      var oldNodeIndex = _currentNodeIndex;\n\n      try {\n        _currentAction = action;\n        /** @type {?} */\n\n        var result = fn.apply(self, args);\n        _currentView = oldView;\n        _currentNodeIndex = oldNodeIndex;\n        _currentAction = oldAction;\n        return result;\n      } catch (e) {\n        if (isViewDebugError(e) || !_currentView) {\n          throw e;\n        }\n\n        throw viewWrappedDebugError(e,\n        /** @type {?} */\n        getCurrentDebugContext());\n      }\n    }\n    /**\n     * @return {?}\n     */\n\n\n    function getCurrentDebugContext() {\n      return _currentView ? new DebugContext_(_currentView, _currentNodeIndex) : null;\n    }\n\n    var DebugRendererFactory2 =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} delegate\n       */\n      function DebugRendererFactory2(delegate) {\n        _classCallCheck(this, DebugRendererFactory2);\n\n        this.delegate = delegate;\n      }\n      /**\n       * @param {?} element\n       * @param {?} renderData\n       * @return {?}\n       */\n\n\n      _createClass2(DebugRendererFactory2, [{\n        key: \"createRenderer\",\n        value: function createRenderer(element, renderData) {\n          return new DebugRenderer2(this.delegate.createRenderer(element, renderData));\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"begin\",\n        value: function begin() {\n          if (this.delegate.begin) {\n            this.delegate.begin();\n          }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"end\",\n        value: function end() {\n          if (this.delegate.end) {\n            this.delegate.end();\n          }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"whenRenderingDone\",\n        value: function whenRenderingDone() {\n          if (this.delegate.whenRenderingDone) {\n            return this.delegate.whenRenderingDone();\n          }\n\n          return Promise.resolve(null);\n        }\n      }]);\n\n      return DebugRendererFactory2;\n    }();\n\n    if (false) {}\n\n    var DebugRenderer2 =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} delegate\n       */\n      function DebugRenderer2(delegate) {\n        _classCallCheck(this, DebugRenderer2);\n\n        this.delegate = delegate;\n        /**\n         * Factory function used to create a `DebugContext` when a node is created.\n         *\n         * The `DebugContext` allows to retrieve information about the nodes that are useful in tests.\n         *\n         * The factory is configurable so that the `DebugRenderer2` could instantiate either a View Engine\n         * or a Render context.\n         */\n\n        this.debugContextFactory = getCurrentDebugContext;\n        this.data = this.delegate.data;\n      }\n      /**\n       * @private\n       * @param {?} nativeElement\n       * @return {?}\n       */\n\n\n      _createClass2(DebugRenderer2, [{\n        key: \"createDebugContext\",\n        value: function createDebugContext(nativeElement) {\n          return this.debugContextFactory(nativeElement);\n        }\n        /**\n         * @param {?} node\n         * @return {?}\n         */\n\n      }, {\n        key: \"destroyNode\",\n        value: function destroyNode(node) {\n          /** @type {?} */\n          var debugNode =\n          /** @type {?} */\n          getDebugNode(node);\n          removeDebugNodeFromIndex(debugNode);\n\n          if (debugNode instanceof DebugNode__PRE_R3__) {\n            debugNode.listeners.length = 0;\n          }\n\n          if (this.delegate.destroyNode) {\n            this.delegate.destroyNode(node);\n          }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"destroy\",\n        value: function destroy() {\n          this.delegate.destroy();\n        }\n        /**\n         * @param {?} name\n         * @param {?=} namespace\n         * @return {?}\n         */\n\n      }, {\n        key: \"createElement\",\n        value: function createElement(name, namespace) {\n          /** @type {?} */\n          var el = this.delegate.createElement(name, namespace);\n          /** @type {?} */\n\n          var debugCtx = this.createDebugContext(el);\n\n          if (debugCtx) {\n            /** @type {?} */\n            var debugEl = new DebugElement__PRE_R3__(el, null, debugCtx);\n\n            /** @type {?} */\n            debugEl.name = name;\n            indexDebugNode(debugEl);\n          }\n\n          return el;\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"createComment\",\n        value: function createComment(value) {\n          /** @type {?} */\n          var comment = this.delegate.createComment(value);\n          /** @type {?} */\n\n          var debugCtx = this.createDebugContext(comment);\n\n          if (debugCtx) {\n            indexDebugNode(new DebugNode__PRE_R3__(comment, null, debugCtx));\n          }\n\n          return comment;\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"createText\",\n        value: function createText(value) {\n          /** @type {?} */\n          var text = this.delegate.createText(value);\n          /** @type {?} */\n\n          var debugCtx = this.createDebugContext(text);\n\n          if (debugCtx) {\n            indexDebugNode(new DebugNode__PRE_R3__(text, null, debugCtx));\n          }\n\n          return text;\n        }\n        /**\n         * @param {?} parent\n         * @param {?} newChild\n         * @return {?}\n         */\n\n      }, {\n        key: \"appendChild\",\n        value: function appendChild(parent, newChild) {\n          /** @type {?} */\n          var debugEl = getDebugNode(parent);\n          /** @type {?} */\n\n          var debugChildEl = getDebugNode(newChild);\n\n          if (debugEl && debugChildEl && debugEl instanceof DebugElement__PRE_R3__) {\n            debugEl.addChild(debugChildEl);\n          }\n\n          this.delegate.appendChild(parent, newChild);\n        }\n        /**\n         * @param {?} parent\n         * @param {?} newChild\n         * @param {?} refChild\n         * @return {?}\n         */\n\n      }, {\n        key: \"insertBefore\",\n        value: function insertBefore(parent, newChild, refChild) {\n          /** @type {?} */\n          var debugEl = getDebugNode(parent);\n          /** @type {?} */\n\n          var debugChildEl = getDebugNode(newChild);\n          /** @type {?} */\n\n          var debugRefEl =\n          /** @type {?} */\n          getDebugNode(refChild);\n\n          if (debugEl && debugChildEl && debugEl instanceof DebugElement__PRE_R3__) {\n            debugEl.insertBefore(debugRefEl, debugChildEl);\n          }\n\n          this.delegate.insertBefore(parent, newChild, refChild);\n        }\n        /**\n         * @param {?} parent\n         * @param {?} oldChild\n         * @return {?}\n         */\n\n      }, {\n        key: \"removeChild\",\n        value: function removeChild(parent, oldChild) {\n          /** @type {?} */\n          var debugEl = getDebugNode(parent);\n          /** @type {?} */\n\n          var debugChildEl = getDebugNode(oldChild);\n\n          if (debugEl && debugChildEl && debugEl instanceof DebugElement__PRE_R3__) {\n            debugEl.removeChild(debugChildEl);\n          }\n\n          this.delegate.removeChild(parent, oldChild);\n        }\n        /**\n         * @param {?} selectorOrNode\n         * @param {?=} preserveContent\n         * @return {?}\n         */\n\n      }, {\n        key: \"selectRootElement\",\n        value: function selectRootElement(selectorOrNode, preserveContent) {\n          /** @type {?} */\n          var el = this.delegate.selectRootElement(selectorOrNode, preserveContent);\n          /** @type {?} */\n\n          var debugCtx = getCurrentDebugContext();\n\n          if (debugCtx) {\n            indexDebugNode(new DebugElement__PRE_R3__(el, null, debugCtx));\n          }\n\n          return el;\n        }\n        /**\n         * @param {?} el\n         * @param {?} name\n         * @param {?} value\n         * @param {?=} namespace\n         * @return {?}\n         */\n\n      }, {\n        key: \"setAttribute\",\n        value: function setAttribute(el, name, value, namespace) {\n          /** @type {?} */\n          var debugEl = getDebugNode(el);\n\n          if (debugEl && debugEl instanceof DebugElement__PRE_R3__) {\n            /** @type {?} */\n            var fullName = namespace ? namespace + ':' + name : name;\n            debugEl.attributes[fullName] = value;\n          }\n\n          this.delegate.setAttribute(el, name, value, namespace);\n        }\n        /**\n         * @param {?} el\n         * @param {?} name\n         * @param {?=} namespace\n         * @return {?}\n         */\n\n      }, {\n        key: \"removeAttribute\",\n        value: function removeAttribute(el, name, namespace) {\n          /** @type {?} */\n          var debugEl = getDebugNode(el);\n\n          if (debugEl && debugEl instanceof DebugElement__PRE_R3__) {\n            /** @type {?} */\n            var fullName = namespace ? namespace + ':' + name : name;\n            debugEl.attributes[fullName] = null;\n          }\n\n          this.delegate.removeAttribute(el, name, namespace);\n        }\n        /**\n         * @param {?} el\n         * @param {?} name\n         * @return {?}\n         */\n\n      }, {\n        key: \"addClass\",\n        value: function addClass(el, name) {\n          /** @type {?} */\n          var debugEl = getDebugNode(el);\n\n          if (debugEl && debugEl instanceof DebugElement__PRE_R3__) {\n            debugEl.classes[name] = true;\n          }\n\n          this.delegate.addClass(el, name);\n        }\n        /**\n         * @param {?} el\n         * @param {?} name\n         * @return {?}\n         */\n\n      }, {\n        key: \"removeClass\",\n        value: function removeClass(el, name) {\n          /** @type {?} */\n          var debugEl = getDebugNode(el);\n\n          if (debugEl && debugEl instanceof DebugElement__PRE_R3__) {\n            debugEl.classes[name] = false;\n          }\n\n          this.delegate.removeClass(el, name);\n        }\n        /**\n         * @param {?} el\n         * @param {?} style\n         * @param {?} value\n         * @param {?} flags\n         * @return {?}\n         */\n\n      }, {\n        key: \"setStyle\",\n        value: function setStyle(el, style, value, flags) {\n          /** @type {?} */\n          var debugEl = getDebugNode(el);\n\n          if (debugEl && debugEl instanceof DebugElement__PRE_R3__) {\n            debugEl.styles[style] = value;\n          }\n\n          this.delegate.setStyle(el, style, value, flags);\n        }\n        /**\n         * @param {?} el\n         * @param {?} style\n         * @param {?} flags\n         * @return {?}\n         */\n\n      }, {\n        key: \"removeStyle\",\n        value: function removeStyle(el, style, flags) {\n          /** @type {?} */\n          var debugEl = getDebugNode(el);\n\n          if (debugEl && debugEl instanceof DebugElement__PRE_R3__) {\n            debugEl.styles[style] = null;\n          }\n\n          this.delegate.removeStyle(el, style, flags);\n        }\n        /**\n         * @param {?} el\n         * @param {?} name\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"setProperty\",\n        value: function setProperty(el, name, value) {\n          /** @type {?} */\n          var debugEl = getDebugNode(el);\n\n          if (debugEl && debugEl instanceof DebugElement__PRE_R3__) {\n            debugEl.properties[name] = value;\n          }\n\n          this.delegate.setProperty(el, name, value);\n        }\n        /**\n         * @param {?} target\n         * @param {?} eventName\n         * @param {?} callback\n         * @return {?}\n         */\n\n      }, {\n        key: \"listen\",\n        value: function listen(target, eventName, callback) {\n          if (typeof target !== 'string') {\n            /** @type {?} */\n            var debugEl = getDebugNode(target);\n\n            if (debugEl) {\n              debugEl.listeners.push(new DebugEventListener(eventName, callback));\n            }\n          }\n\n          return this.delegate.listen(target, eventName, callback);\n        }\n        /**\n         * @param {?} node\n         * @return {?}\n         */\n\n      }, {\n        key: \"parentNode\",\n        value: function parentNode(node) {\n          return this.delegate.parentNode(node);\n        }\n        /**\n         * @param {?} node\n         * @return {?}\n         */\n\n      }, {\n        key: \"nextSibling\",\n        value: function nextSibling(node) {\n          return this.delegate.nextSibling(node);\n        }\n        /**\n         * @param {?} node\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"setValue\",\n        value: function setValue(node, value) {\n          return this.delegate.setValue(node, value);\n        }\n      }]);\n\n      return DebugRenderer2;\n    }();\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @param {?} override\n     * @return {?}\n     */\n\n\n    function overrideProvider(override) {\n      initServicesIfNeeded();\n      return Services.overrideProvider(override);\n    }\n    /**\n     * @param {?} comp\n     * @param {?} componentFactory\n     * @return {?}\n     */\n\n\n    function overrideComponentView(comp, componentFactory) {\n      initServicesIfNeeded();\n      return Services.overrideComponentView(comp, componentFactory);\n    }\n    /**\n     * @return {?}\n     */\n\n\n    function clearOverrides() {\n      initServicesIfNeeded();\n      return Services.clearOverrides();\n    } // Attention: this function is called as top level function.\n    // Putting any logic in here will destroy closure tree shaking!\n\n    /**\n     * @param {?} ngModuleType\n     * @param {?} bootstrapComponents\n     * @param {?} defFactory\n     * @return {?}\n     */\n\n\n    function createNgModuleFactory(ngModuleType, bootstrapComponents, defFactory) {\n      return new NgModuleFactory_(ngModuleType, bootstrapComponents, defFactory);\n    }\n    /**\n     * @param {?} def\n     * @return {?}\n     */\n\n\n    function cloneNgModuleDefinition(def) {\n      /** @type {?} */\n      var providers = Array.from(def.providers);\n      /** @type {?} */\n\n      var modules = Array.from(def.modules);\n      /** @type {?} */\n\n      var providersByKey = {};\n\n      for (var key in def.providersByKey) {\n        providersByKey[key] = def.providersByKey[key];\n      }\n\n      return {\n        factory: def.factory,\n        isRoot: def.isRoot,\n        providers: providers,\n        modules: modules,\n        providersByKey: providersByKey\n      };\n    }\n\n    var NgModuleFactory_ =\n    /*#__PURE__*/\n    function (_NgModuleFactory2) {\n      _inherits(NgModuleFactory_, _NgModuleFactory2);\n\n      /**\n       * @param {?} moduleType\n       * @param {?} _bootstrapComponents\n       * @param {?} _ngModuleDefFactory\n       */\n      function NgModuleFactory_(moduleType, _bootstrapComponents, _ngModuleDefFactory) {\n        var _this473;\n\n        _classCallCheck(this, NgModuleFactory_);\n\n        // Attention: this ctor is called as top level function.\n        // Putting any logic in here will destroy closure tree shaking!\n        _this473 = _possibleConstructorReturn(this, _getPrototypeOf(NgModuleFactory_).call(this));\n        _this473.moduleType = moduleType;\n        _this473._bootstrapComponents = _bootstrapComponents;\n        _this473._ngModuleDefFactory = _ngModuleDefFactory;\n        return _this473;\n      }\n      /**\n       * @param {?} parentInjector\n       * @return {?}\n       */\n\n\n      _createClass2(NgModuleFactory_, [{\n        key: \"create\",\n        value: function create(parentInjector) {\n          initServicesIfNeeded(); // Clone the NgModuleDefinition so that any tree shakeable provider definition\n          // added to this instance of the NgModuleRef doesn't affect the cached copy.\n          // See https://github.com/angular/angular/issues/25018.\n\n          /** @type {?} */\n\n          var def = cloneNgModuleDefinition(resolveDefinition(this._ngModuleDefFactory));\n          return Services.createNgModuleRef(this.moduleType, parentInjector || Injector.NULL, this._bootstrapComponents, def);\n        }\n      }]);\n\n      return NgModuleFactory_;\n    }(NgModuleFactory);\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Generated bundle index. Do not edit.\n     */\n\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/@angular/flex-layout/esm2015/core.js\":\n  /*!***********************************************************!*\\\n    !*** ./node_modules/@angular/flex-layout/esm2015/core.js ***!\n    \\***********************************************************/\n\n  /*! exports provided: ɵMatchMedia, ɵMockMatchMedia, ɵMockMatchMediaProvider, CoreModule, removeStyles, BROWSER_PROVIDER, CLASS_NAME, MediaChange, StylesheetMap, DEFAULT_CONFIG, LAYOUT_CONFIG, SERVER_TOKEN, BREAKPOINT, mergeAlias, BaseDirective2, DEFAULT_BREAKPOINTS, ScreenTypes, ORIENTATION_BREAKPOINTS, BreakPointRegistry, BREAKPOINTS, MediaObserver, MediaTrigger, sortDescendingPriority, sortAscendingPriority, coerceArray, StyleUtils, StyleBuilder, validateBasis, MediaMarshaller, BREAKPOINT_PRINT, PrintHook */\n\n  /***/\n  function node_modulesAngularFlexLayoutEsm2015CoreJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵMatchMedia\", function () {\n      return MatchMedia;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵMockMatchMedia\", function () {\n      return MockMatchMedia;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵMockMatchMediaProvider\", function () {\n      return MockMatchMediaProvider;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CoreModule\", function () {\n      return CoreModule;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"removeStyles\", function () {\n      return removeStyles;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"BROWSER_PROVIDER\", function () {\n      return BROWSER_PROVIDER;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CLASS_NAME\", function () {\n      return CLASS_NAME;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MediaChange\", function () {\n      return MediaChange;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"StylesheetMap\", function () {\n      return StylesheetMap;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DEFAULT_CONFIG\", function () {\n      return DEFAULT_CONFIG;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"LAYOUT_CONFIG\", function () {\n      return LAYOUT_CONFIG;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"SERVER_TOKEN\", function () {\n      return SERVER_TOKEN;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"BREAKPOINT\", function () {\n      return BREAKPOINT;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"mergeAlias\", function () {\n      return mergeAlias;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"BaseDirective2\", function () {\n      return BaseDirective2;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DEFAULT_BREAKPOINTS\", function () {\n      return DEFAULT_BREAKPOINTS;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ScreenTypes\", function () {\n      return ScreenTypes;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ORIENTATION_BREAKPOINTS\", function () {\n      return ORIENTATION_BREAKPOINTS;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"BreakPointRegistry\", function () {\n      return BreakPointRegistry;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"BREAKPOINTS\", function () {\n      return BREAKPOINTS;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MediaObserver\", function () {\n      return MediaObserver;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MediaTrigger\", function () {\n      return MediaTrigger;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"sortDescendingPriority\", function () {\n      return sortDescendingPriority;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"sortAscendingPriority\", function () {\n      return sortAscendingPriority;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"coerceArray\", function () {\n      return coerceArray;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"StyleUtils\", function () {\n      return StyleUtils;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"StyleBuilder\", function () {\n      return StyleBuilder;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"validateBasis\", function () {\n      return validateBasis;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MediaMarshaller\", function () {\n      return MediaMarshaller;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"BREAKPOINT_PRINT\", function () {\n      return BREAKPOINT_PRINT;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"PrintHook\", function () {\n      return PrintHook;\n    });\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/common */\n    \"./node_modules/@angular/common/fesm2015/common.js\");\n    /* harmony import */\n\n\n    var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! rxjs */\n    \"./node_modules/rxjs/_esm2015/index.js\");\n    /* harmony import */\n\n\n    var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! rxjs/operators */\n    \"./node_modules/rxjs/_esm2015/operators/index.js\");\n    /**\n     * @license\n     * Copyright Google LLC All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Find all of the server-generated stylings, if any, and remove them\n     * This will be in the form of inline classes and the style block in the\n     * head of the DOM\n     * @param {?} _document\n     * @param {?} platformId\n     * @return {?}\n     */\n\n\n    function removeStyles(_document, platformId) {\n      return (\n        /**\n        * @return {?}\n        */\n        function () {\n          if (Object(_angular_common__WEBPACK_IMPORTED_MODULE_1__[\"isPlatformBrowser\"])(platformId)) {\n            /** @type {?} */\n            var elements = Array.from(_document.querySelectorAll(\"[class*=\".concat(CLASS_NAME, \"]\"))); // RegExp constructor should only be used if passing a variable to the constructor.\n            // When using static regular expression it is more performant to use reg exp literal.\n            // This is also needed to provide Safari 9 compatibility, please see\n            // https://stackoverflow.com/questions/37919802 for more discussion.\n\n            /** @type {?} */\n\n            var classRegex = /\\bflex-layout-.+?\\b/g;\n            elements.forEach(\n            /**\n            * @param {?} el\n            * @return {?}\n            */\n            function (el) {\n              el.classList.contains(\"\".concat(CLASS_NAME, \"ssr\")) && el.parentNode ? el.parentNode.removeChild(el) : el.className.replace(classRegex, '');\n            });\n          }\n        }\n      );\n    }\n    /**\n     *  Provider to remove SSR styles on the browser\n     * @type {?}\n     */\n\n\n    var BROWSER_PROVIDER = {\n      provide:\n      /** @type {?} */\n      _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"APP_BOOTSTRAP_LISTENER\"],\n      useFactory: removeStyles,\n      deps: [_angular_common__WEBPACK_IMPORTED_MODULE_1__[\"DOCUMENT\"], _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"PLATFORM_ID\"]],\n      multi: true\n    };\n    /** @type {?} */\n\n    var CLASS_NAME = 'flex-layout-';\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * *****************************************************************\n     * Define module for the MediaQuery API\n     * *****************************************************************\n     */\n\n    var CoreModule = function CoreModule() {\n      _classCallCheck(this, CoreModule);\n    };\n\n    CoreModule.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"],\n      args: [{\n        providers: [BROWSER_PROVIDER]\n      }]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Class instances emitted [to observers] for each mql notification\n     */\n\n    var MediaChange =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?=} matches whether the mediaQuery is currently activated\n       * @param {?=} mediaQuery e.g. (min-width: 600px) and (max-width: 959px)\n       * @param {?=} mqAlias e.g. gt-sm, md, gt-lg\n       * @param {?=} suffix e.g. GtSM, Md, GtLg\n       * @param {?=} priority the priority of activation for the given breakpoint\n       */\n      function MediaChange() {\n        var matches = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n        var mediaQuery = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'all';\n        var mqAlias = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';\n        var suffix = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : '';\n        var priority = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 0;\n\n        _classCallCheck(this, MediaChange);\n\n        this.matches = matches;\n        this.mediaQuery = mediaQuery;\n        this.mqAlias = mqAlias;\n        this.suffix = suffix;\n        this.priority = priority;\n        this.property = '';\n      }\n      /**\n       * Create an exact copy of the MediaChange\n       * @return {?}\n       */\n\n\n      _createClass2(MediaChange, [{\n        key: \"clone\",\n        value: function clone() {\n          return new MediaChange(this.matches, this.mediaQuery, this.mqAlias, this.suffix);\n        }\n      }]);\n\n      return MediaChange;\n    }();\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Utility to emulate a CSS stylesheet\n     *\n     * This utility class stores all of the styles for a given HTML element\n     * as a readonly `stylesheet` map.\n     */\n\n\n    var StylesheetMap =\n    /*#__PURE__*/\n    function () {\n      function StylesheetMap() {\n        _classCallCheck(this, StylesheetMap);\n\n        this.stylesheet = new Map();\n      }\n      /**\n       * Add an individual style to an HTML element\n       * @param {?} element\n       * @param {?} style\n       * @param {?} value\n       * @return {?}\n       */\n\n\n      _createClass2(StylesheetMap, [{\n        key: \"addStyleToElement\",\n        value: function addStyleToElement(element, style, value) {\n          /** @type {?} */\n          var stylesheet = this.stylesheet.get(element);\n\n          if (stylesheet) {\n            stylesheet.set(style, value);\n          } else {\n            this.stylesheet.set(element, new Map([[style, value]]));\n          }\n        }\n        /**\n         * Clear the virtual stylesheet\n         * @return {?}\n         */\n\n      }, {\n        key: \"clearStyles\",\n        value: function clearStyles() {\n          this.stylesheet.clear();\n        }\n        /**\n         * Retrieve a given style for an HTML element\n         * @param {?} el\n         * @param {?} styleName\n         * @return {?}\n         */\n\n      }, {\n        key: \"getStyleForElement\",\n        value: function getStyleForElement(el, styleName) {\n          /** @type {?} */\n          var styles = this.stylesheet.get(el);\n          /** @type {?} */\n\n          var value = '';\n\n          if (styles) {\n            /** @type {?} */\n            var style = styles.get(styleName);\n\n            if (typeof style === 'number' || typeof style === 'string') {\n              value = style + '';\n            }\n          }\n\n          return value;\n        }\n      }]);\n\n      return StylesheetMap;\n    }();\n\n    StylesheetMap.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    StylesheetMap.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({\n      factory: function StylesheetMap_Factory() {\n        return new StylesheetMap();\n      },\n      token: StylesheetMap,\n      providedIn: \"root\"\n    });\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n    var DEFAULT_CONFIG = {\n      addFlexToParent: true,\n      addOrientationBps: false,\n      disableDefaultBps: false,\n      disableVendorPrefixes: false,\n      serverLoaded: false,\n      useColumnBasisZero: true,\n      printWithBreakpoints: [],\n      mediaTriggerAutoRestore: true,\n      ssrObserveBreakpoints: []\n    };\n    /** @type {?} */\n\n    var LAYOUT_CONFIG = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('Flex Layout token, config options for the library', {\n      providedIn: 'root',\n      factory:\n      /**\n      * @return {?}\n      */\n      function factory() {\n        return DEFAULT_CONFIG;\n      }\n    });\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Token that is provided to tell whether the FlexLayoutServerModule\n     * has been included in the bundle\n     *\n     * NOTE: This can be manually provided to disable styles when using SSR\n     * @type {?}\n     */\n\n    var SERVER_TOKEN = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('FlexLayoutServerLoaded', {\n      providedIn: 'root',\n      factory:\n      /**\n      * @return {?}\n      */\n      function factory() {\n        return false;\n      }\n    });\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n    var BREAKPOINT = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('Flex Layout token, collect all breakpoints into one provider', {\n      providedIn: 'root',\n      factory:\n      /**\n      * @return {?}\n      */\n      function factory() {\n        return null;\n      }\n    });\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * For the specified MediaChange, make sure it contains the breakpoint alias\n     * and suffix (if available).\n     * @param {?} dest\n     * @param {?} source\n     * @return {?}\n     */\n\n    function mergeAlias(dest, source) {\n      dest = dest ? dest.clone() : new MediaChange();\n\n      if (source) {\n        dest.mqAlias = source.alias;\n        dest.mediaQuery = source.mediaQuery;\n        dest.suffix =\n        /** @type {?} */\n        source.suffix;\n        dest.priority =\n        /** @type {?} */\n        source.priority;\n      }\n\n      return dest;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google LLC All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     * @type {?}\n     */\n\n\n    var INLINE = 'inline';\n    /** @type {?} */\n\n    var LAYOUT_VALUES = ['row', 'column', 'row-reverse', 'column-reverse'];\n    /**\n     * Validate the direction|'direction wrap' value and then update the host's inline flexbox styles\n     * @param {?} value\n     * @return {?}\n     */\n\n    function buildLayoutCSS(value) {\n      var _validateValue = validateValue(value),\n          _validateValue2 = _slicedToArray(_validateValue, 3),\n          direction = _validateValue2[0],\n          wrap = _validateValue2[1],\n          isInline = _validateValue2[2];\n\n      return buildCSS(direction, wrap, isInline);\n    }\n    /**\n     * Validate the value to be one of the acceptable value options\n     * Use default fallback of 'row'\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function validateValue(value) {\n      value = value ? value.toLowerCase() : '';\n\n      var _value$split = value.split(' '),\n          _value$split2 = _slicedToArray(_value$split, 3),\n          direction = _value$split2[0],\n          wrap = _value$split2[1],\n          inline = _value$split2[2]; // First value must be the `flex-direction`\n\n\n      if (!LAYOUT_VALUES.find(\n      /**\n      * @param {?} x\n      * @return {?}\n      */\n      function (x) {\n        return x === direction;\n      })) {\n        direction = LAYOUT_VALUES[0];\n      }\n\n      if (wrap === INLINE) {\n        wrap = inline !== INLINE ? inline : '';\n        inline = INLINE;\n      }\n\n      return [direction, validateWrapValue(wrap), !!inline];\n    }\n    /**\n     * Convert layout-wrap='<value>' to expected flex-wrap style\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function validateWrapValue(value) {\n      if (!!value) {\n        switch (value.toLowerCase()) {\n          case 'reverse':\n          case 'wrap-reverse':\n          case 'reverse-wrap':\n            value = 'wrap-reverse';\n            break;\n\n          case 'no':\n          case 'none':\n          case 'nowrap':\n            value = 'nowrap';\n            break;\n          // All other values fallback to 'wrap'\n\n          default:\n            value = 'wrap';\n            break;\n        }\n      }\n\n      return value;\n    }\n    /**\n     * Build the CSS that should be assigned to the element instance\n     * BUG:\n     *   1) min-height on a column flex container won’t apply to its flex item children in IE 10-11.\n     *      Use height instead if possible; height : <xxx>vh;\n     *\n     *  This way any padding or border specified on the child elements are\n     *  laid out and drawn inside that element's specified width and height.\n     * @param {?} direction\n     * @param {?=} wrap\n     * @param {?=} inline\n     * @return {?}\n     */\n\n\n    function buildCSS(direction) {\n      var wrap = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n      var inline = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n      return {\n        'display': inline ? 'inline-flex' : 'flex',\n        'box-sizing': 'border-box',\n        'flex-direction': direction,\n        'flex-wrap': !!wrap ? wrap : null\n      };\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @abstract\n     */\n\n\n    var BaseDirective2 =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @protected\n       * @param {?} elementRef\n       * @param {?} styleBuilder\n       * @param {?} styler\n       * @param {?} marshal\n       */\n      function BaseDirective2(elementRef, styleBuilder, styler, marshal) {\n        _classCallCheck(this, BaseDirective2);\n\n        this.elementRef = elementRef;\n        this.styleBuilder = styleBuilder;\n        this.styler = styler;\n        this.marshal = marshal;\n        this.DIRECTIVE_KEY = '';\n        this.inputs = [];\n        /**\n         * The most recently used styles for the builder\n         */\n\n        this.mru = {};\n        this.destroySubject = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Subject\"]();\n        /**\n         * Cache map for style computation\n         */\n\n        this.styleCache = new Map();\n      }\n      /**\n       * Access to host element's parent DOM node\n       * @protected\n       * @return {?}\n       */\n\n\n      _createClass2(BaseDirective2, [{\n        key: \"ngOnChanges\",\n\n        /**\n         * For \\@Input changes\n         * @param {?} changes\n         * @return {?}\n         */\n        value: function ngOnChanges(changes) {\n          var _this474 = this;\n\n          Object.keys(changes).forEach(\n          /**\n          * @param {?} key\n          * @return {?}\n          */\n          function (key) {\n            if (_this474.inputs.indexOf(key) !== -1) {\n              /** @type {?} */\n              var bp = key.split('.').slice(1).join('.');\n              /** @type {?} */\n\n              var val = changes[key].currentValue;\n\n              _this474.setValue(val, bp);\n            }\n          });\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          this.destroySubject.next();\n          this.destroySubject.complete();\n          this.marshal.releaseElement(this.nativeElement);\n        }\n        /**\n         * Register with central marshaller service\n         * @protected\n         * @param {?=} extraTriggers\n         * @return {?}\n         */\n\n      }, {\n        key: \"init\",\n        value: function init() {\n          var extraTriggers = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n          this.marshal.init(this.elementRef.nativeElement, this.DIRECTIVE_KEY, this.updateWithValue.bind(this), this.clearStyles.bind(this), extraTriggers);\n        }\n        /**\n         * Add styles to the element using predefined style builder\n         * @protected\n         * @param {?} input\n         * @param {?=} parent\n         * @return {?}\n         */\n\n      }, {\n        key: \"addStyles\",\n        value: function addStyles(input, parent) {\n          /** @type {?} */\n          var builder = this.styleBuilder;\n          /** @type {?} */\n\n          var useCache = builder.shouldCache;\n          /** @type {?} */\n\n          var genStyles = this.styleCache.get(input);\n\n          if (!genStyles || !useCache) {\n            genStyles = builder.buildStyles(input, parent);\n\n            if (useCache) {\n              this.styleCache.set(input, genStyles);\n            }\n          }\n\n          this.mru = Object.assign({}, genStyles);\n          this.applyStyleToElement(genStyles);\n          builder.sideEffect(input, genStyles, parent);\n        }\n        /**\n         * Remove generated styles from an element using predefined style builder\n         * @protected\n         * @return {?}\n         */\n\n      }, {\n        key: \"clearStyles\",\n        value: function clearStyles() {\n          var _this475 = this;\n\n          Object.keys(this.mru).forEach(\n          /**\n          * @param {?} k\n          * @return {?}\n          */\n          function (k) {\n            _this475.mru[k] = '';\n          });\n          this.applyStyleToElement(this.mru);\n          this.mru = {};\n        }\n        /**\n         * Force trigger style updates on DOM element\n         * @protected\n         * @return {?}\n         */\n\n      }, {\n        key: \"triggerUpdate\",\n        value: function triggerUpdate() {\n          this.marshal.triggerUpdate(this.nativeElement, this.DIRECTIVE_KEY);\n        }\n        /**\n         * Determine the DOM element's Flexbox flow (flex-direction).\n         *\n         * Check inline style first then check computed (stylesheet) style.\n         * And optionally add the flow value to element's inline style.\n         * @protected\n         * @param {?} target\n         * @param {?=} addIfMissing\n         * @return {?}\n         */\n\n      }, {\n        key: \"getFlexFlowDirection\",\n        value: function getFlexFlowDirection(target) {\n          var addIfMissing = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n          if (target) {\n            var _this$styler$getFlowD = this.styler.getFlowDirection(target),\n                _this$styler$getFlowD2 = _slicedToArray(_this$styler$getFlowD, 2),\n                value = _this$styler$getFlowD2[0],\n                hasInlineValue = _this$styler$getFlowD2[1];\n\n            if (!hasInlineValue && addIfMissing) {\n              /** @type {?} */\n              var style = buildLayoutCSS(value);\n              /** @type {?} */\n\n              var elements = [target];\n              this.styler.applyStyleToElements(style, elements);\n            }\n\n            return value.trim();\n          }\n\n          return 'row';\n        }\n        /**\n         * Applies styles given via string pair or object map to the directive element\n         * @protected\n         * @param {?} style\n         * @param {?=} value\n         * @param {?=} element\n         * @return {?}\n         */\n\n      }, {\n        key: \"applyStyleToElement\",\n        value: function applyStyleToElement(style, value) {\n          var element = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.nativeElement;\n          this.styler.applyStyleToElement(element, style, value);\n        }\n        /**\n         * @protected\n         * @param {?} val\n         * @param {?} bp\n         * @return {?}\n         */\n\n      }, {\n        key: \"setValue\",\n        value: function setValue(val, bp) {\n          this.marshal.setValue(this.nativeElement, this.DIRECTIVE_KEY, val, bp);\n        }\n        /**\n         * @protected\n         * @param {?} input\n         * @return {?}\n         */\n\n      }, {\n        key: \"updateWithValue\",\n        value: function updateWithValue(input) {\n          this.addStyles(input);\n        }\n      }, {\n        key: \"parentElement\",\n        get: function get() {\n          return this.elementRef.nativeElement.parentElement;\n        }\n        /**\n         * Access to the HTMLElement for the directive\n         * @protected\n         * @return {?}\n         */\n\n      }, {\n        key: \"nativeElement\",\n        get: function get() {\n          return this.elementRef.nativeElement;\n        }\n        /**\n         * Access to the activated value for the directive\n         * @return {?}\n         */\n\n      }, {\n        key: \"activatedValue\",\n        get: function get() {\n          return this.marshal.getValue(this.nativeElement, this.DIRECTIVE_KEY);\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n        ,\n        set: function set(value) {\n          this.marshal.setValue(this.nativeElement, this.DIRECTIVE_KEY, value, this.marshal.activatedAlias);\n        }\n      }]);\n\n      return BaseDirective2;\n    }();\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * NOTE: Smaller ranges have HIGHER priority since the match is more specific\n     * @type {?}\n     */\n\n\n    var DEFAULT_BREAKPOINTS = [{\n      alias: 'xs',\n      mediaQuery: 'screen and (min-width: 0px) and (max-width: 599.9px)',\n      priority: 1000\n    }, {\n      alias: 'sm',\n      mediaQuery: 'screen and (min-width: 600px) and (max-width: 959.9px)',\n      priority: 900\n    }, {\n      alias: 'md',\n      mediaQuery: 'screen and (min-width: 960px) and (max-width: 1279.9px)',\n      priority: 800\n    }, {\n      alias: 'lg',\n      mediaQuery: 'screen and (min-width: 1280px) and (max-width: 1919.9px)',\n      priority: 700\n    }, {\n      alias: 'xl',\n      mediaQuery: 'screen and (min-width: 1920px) and (max-width: 4999.9px)',\n      priority: 600\n    }, {\n      alias: 'lt-sm',\n      overlapping: true,\n      mediaQuery: 'screen and (max-width: 599.9px)',\n      priority: 950\n    }, {\n      alias: 'lt-md',\n      overlapping: true,\n      mediaQuery: 'screen and (max-width: 959.9px)',\n      priority: 850\n    }, {\n      alias: 'lt-lg',\n      overlapping: true,\n      mediaQuery: 'screen and (max-width: 1279.9px)',\n      priority: 750\n    }, {\n      alias: 'lt-xl',\n      overlapping: true,\n      priority: 650,\n      mediaQuery: 'screen and (max-width: 1919.9px)'\n    }, {\n      alias: 'gt-xs',\n      overlapping: true,\n      mediaQuery: 'screen and (min-width: 600px)',\n      priority: -950\n    }, {\n      alias: 'gt-sm',\n      overlapping: true,\n      mediaQuery: 'screen and (min-width: 960px)',\n      priority: -850\n    }, {\n      alias: 'gt-md',\n      overlapping: true,\n      mediaQuery: 'screen and (min-width: 1280px)',\n      priority: -750\n    }, {\n      alias: 'gt-lg',\n      overlapping: true,\n      mediaQuery: 'screen and (min-width: 1920px)',\n      priority: -650\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /* tslint:disable */\n\n    /** @type {?} */\n\n    var HANDSET_PORTRAIT = '(orientation: portrait) and (max-width: 599.9px)';\n    /** @type {?} */\n\n    var HANDSET_LANDSCAPE = '(orientation: landscape) and (max-width: 959.9px)';\n    /** @type {?} */\n\n    var TABLET_PORTRAIT = '(orientation: portrait) and (min-width: 600px) and (max-width: 839.9px)';\n    /** @type {?} */\n\n    var TABLET_LANDSCAPE = '(orientation: landscape) and (min-width: 960px) and (max-width: 1279.9px)';\n    /** @type {?} */\n\n    var WEB_PORTRAIT = '(orientation: portrait) and (min-width: 840px)';\n    /** @type {?} */\n\n    var WEB_LANDSCAPE = '(orientation: landscape) and (min-width: 1280px)';\n    /** @type {?} */\n\n    var ScreenTypes = {\n      'HANDSET': \"\".concat(HANDSET_PORTRAIT, \", \").concat(HANDSET_LANDSCAPE),\n      'TABLET': \"\".concat(TABLET_PORTRAIT, \" , \").concat(TABLET_LANDSCAPE),\n      'WEB': \"\".concat(WEB_PORTRAIT, \", \").concat(WEB_LANDSCAPE, \" \"),\n      'HANDSET_PORTRAIT': \"\".concat(HANDSET_PORTRAIT),\n      'TABLET_PORTRAIT': \"\".concat(TABLET_PORTRAIT, \" \"),\n      'WEB_PORTRAIT': \"\".concat(WEB_PORTRAIT),\n      'HANDSET_LANDSCAPE': \"\".concat(HANDSET_LANDSCAPE, \"]\"),\n      'TABLET_LANDSCAPE': \"\".concat(TABLET_LANDSCAPE),\n      'WEB_LANDSCAPE': \"\".concat(WEB_LANDSCAPE)\n    };\n    /**\n     * Extended Breakpoints for handset/tablets with landscape or portrait orientations\n     * @type {?}\n     */\n\n    var ORIENTATION_BREAKPOINTS = [{\n      'alias': 'handset',\n      priority: 2000,\n      'mediaQuery': ScreenTypes.HANDSET\n    }, {\n      'alias': 'handset.landscape',\n      priority: 2000,\n      'mediaQuery': ScreenTypes.HANDSET_LANDSCAPE\n    }, {\n      'alias': 'handset.portrait',\n      priority: 2000,\n      'mediaQuery': ScreenTypes.HANDSET_PORTRAIT\n    }, {\n      'alias': 'tablet',\n      priority: 2100,\n      'mediaQuery': ScreenTypes.TABLET\n    }, {\n      'alias': 'tablet.landscape',\n      priority: 2100,\n      'mediaQuery': ScreenTypes.TABLET\n    }, {\n      'alias': 'tablet.portrait',\n      priority: 2100,\n      'mediaQuery': ScreenTypes.TABLET_PORTRAIT\n    }, {\n      'alias': 'web',\n      priority: 2200,\n      'mediaQuery': ScreenTypes.WEB,\n      overlapping: true\n    }, {\n      'alias': 'web.landscape',\n      priority: 2200,\n      'mediaQuery': ScreenTypes.WEB_LANDSCAPE,\n      overlapping: true\n    }, {\n      'alias': 'web.portrait',\n      priority: 2200,\n      'mediaQuery': ScreenTypes.WEB_PORTRAIT,\n      overlapping: true\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Extends an object with the *enumerable* and *own* properties of one or more source objects,\n     * similar to Object.assign.\n     *\n     * @param {?} dest The object which will have properties copied to it.\n     * @param {...?} sources The source objects from which properties will be copied.\n     * @return {?}\n     */\n\n    function extendObject(dest) {\n      if (dest == null) {\n        throw TypeError('Cannot convert undefined or null to object');\n      }\n\n      for (var _len25 = arguments.length, sources = new Array(_len25 > 1 ? _len25 - 1 : 0), _key27 = 1; _key27 < _len25; _key27++) {\n        sources[_key27 - 1] = arguments[_key27];\n      }\n\n      for (var _i37 = 0, _sources = sources; _i37 < _sources.length; _i37++) {\n        var source = _sources[_i37];\n\n        if (source != null) {\n          for (var key in source) {\n            if (source.hasOwnProperty(key)) {\n              dest[key] = source[key];\n            }\n          }\n        }\n      }\n\n      return dest;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var ALIAS_DELIMITERS = /(\\.|-|_)/g;\n    /**\n     * @param {?} part\n     * @return {?}\n     */\n\n    function firstUpperCase(part) {\n      /** @type {?} */\n      var first = part.length > 0 ? part.charAt(0) : '';\n      /** @type {?} */\n\n      var remainder = part.length > 1 ? part.slice(1) : '';\n      return first.toUpperCase() + remainder;\n    }\n    /**\n     * Converts snake-case to SnakeCase.\n     * @param {?} name Text to UpperCamelCase\n     * @return {?}\n     */\n\n\n    function camelCase(name) {\n      return name.replace(ALIAS_DELIMITERS, '|').split('|').map(firstUpperCase).join('');\n    }\n    /**\n     * For each breakpoint, ensure that a Suffix is defined;\n     * fallback to UpperCamelCase the unique Alias value\n     * @param {?} list\n     * @return {?}\n     */\n\n\n    function validateSuffixes(list) {\n      list.forEach(\n      /**\n      * @param {?} bp\n      * @return {?}\n      */\n      function (bp) {\n        if (!bp.suffix) {\n          bp.suffix = camelCase(bp.alias); // create Suffix value based on alias\n\n          bp.overlapping = !!bp.overlapping; // ensure default value\n        }\n      });\n      return list;\n    }\n    /**\n     * Merge a custom breakpoint list with the default list based on unique alias values\n     *  - Items are added if the alias is not in the default list\n     *  - Items are merged with the custom override if the alias exists in the default list\n     * @param {?} defaults\n     * @param {?=} custom\n     * @return {?}\n     */\n\n\n    function mergeByAlias(defaults) {\n      var custom = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n\n      /** @type {?} */\n      var dict = {};\n      defaults.forEach(\n      /**\n      * @param {?} bp\n      * @return {?}\n      */\n      function (bp) {\n        dict[bp.alias] = bp;\n      }); // Merge custom breakpoints\n\n      custom.forEach(\n      /**\n      * @param {?} bp\n      * @return {?}\n      */\n      function (bp) {\n        if (dict[bp.alias]) {\n          extendObject(dict[bp.alias], bp);\n        } else {\n          dict[bp.alias] = bp;\n        }\n      });\n      return validateSuffixes(Object.keys(dict).map(\n      /**\n      * @param {?} k\n      * @return {?}\n      */\n      function (k) {\n        return dict[k];\n      }));\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     *  Injection token unique to the flex-layout library.\n     *  Use this token when build a custom provider (see below).\n     * @type {?}\n     */\n\n\n    var BREAKPOINTS = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('Token (@angular/flex-layout) Breakpoints', {\n      providedIn: 'root',\n      factory:\n      /**\n      * @return {?}\n      */\n      function factory() {\n        /** @type {?} */\n        var breakpoints = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"inject\"])(BREAKPOINT);\n        /** @type {?} */\n\n        var layoutConfig = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"inject\"])(LAYOUT_CONFIG);\n        /** @type {?} */\n\n        var bpFlattenArray = [].concat.apply([], (breakpoints || []).map(\n        /**\n        * @param {?} v\n        * @return {?}\n        */\n        function (v) {\n          return Array.isArray(v) ? v : [v];\n        }));\n        /** @type {?} */\n\n        var builtIns = (layoutConfig.disableDefaultBps ? [] : DEFAULT_BREAKPOINTS).concat(layoutConfig.addOrientationBps ? ORIENTATION_BREAKPOINTS : []);\n        return mergeByAlias(builtIns, bpFlattenArray);\n      }\n    });\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * HOF to sort the breakpoints by descending priority\n     * @template T\n     * @param {?} a\n     * @param {?} b\n     * @return {?}\n     */\n\n    function sortDescendingPriority(a, b) {\n      /** @type {?} */\n      var priorityA = a ? a.priority || 0 : 0;\n      /** @type {?} */\n\n      var priorityB = b ? b.priority || 0 : 0;\n      return priorityB - priorityA;\n    }\n    /**\n     * HOF to sort the breakpoints by ascending priority\n     * @template T\n     * @param {?} a\n     * @param {?} b\n     * @return {?}\n     */\n\n\n    function sortAscendingPriority(a, b) {\n      /** @type {?} */\n      var pA = a.priority || 0;\n      /** @type {?} */\n\n      var pB = b.priority || 0;\n      return pA - pB;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Registry of 1..n MediaQuery breakpoint ranges\n     * This is published as a provider and may be overridden from custom, application-specific ranges\n     *\n     */\n\n\n    var BreakPointRegistry =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} list\n       */\n      function BreakPointRegistry(list) {\n        _classCallCheck(this, BreakPointRegistry);\n\n        /**\n         * Memoized BreakPoint Lookups\n         */\n        this.findByMap = new Map();\n        this.items = _toConsumableArray(list).sort(sortAscendingPriority);\n      }\n      /**\n       * Search breakpoints by alias (e.g. gt-xs)\n       * @param {?} alias\n       * @return {?}\n       */\n\n\n      _createClass2(BreakPointRegistry, [{\n        key: \"findByAlias\",\n        value: function findByAlias(alias) {\n          return !alias ? null : this.findWithPredicate(alias,\n          /**\n          * @param {?} bp\n          * @return {?}\n          */\n          function (bp) {\n            return bp.alias == alias;\n          });\n        }\n        /**\n         * @param {?} query\n         * @return {?}\n         */\n\n      }, {\n        key: \"findByQuery\",\n        value: function findByQuery(query) {\n          return this.findWithPredicate(query,\n          /**\n          * @param {?} bp\n          * @return {?}\n          */\n          function (bp) {\n            return bp.mediaQuery == query;\n          });\n        }\n        /**\n         * Get all the breakpoints whose ranges could overlapping `normal` ranges;\n         * e.g. gt-sm overlaps md, lg, and xl\n         * @return {?}\n         */\n\n      }, {\n        key: \"findWithPredicate\",\n\n        /**\n         * Memoized lookup using custom predicate function\n         * @private\n         * @param {?} key\n         * @param {?} searchFn\n         * @return {?}\n         */\n        value: function findWithPredicate(key, searchFn) {\n          /** @type {?} */\n          var response = this.findByMap.get(key);\n\n          if (!response) {\n            response = this.items.find(searchFn) || null;\n            this.findByMap.set(key, response);\n          }\n\n          return response || null;\n        }\n      }, {\n        key: \"overlappings\",\n        get: function get() {\n          return this.items.filter(\n          /**\n          * @param {?} it\n          * @return {?}\n          */\n          function (it) {\n            return it.overlapping == true;\n          });\n        }\n        /**\n         * Get list of all registered (non-empty) breakpoint aliases\n         * @return {?}\n         */\n\n      }, {\n        key: \"aliases\",\n        get: function get() {\n          return this.items.map(\n          /**\n          * @param {?} it\n          * @return {?}\n          */\n          function (it) {\n            return it.alias;\n          });\n        }\n        /**\n         * Aliases are mapped to properties using suffixes\n         * e.g.  'gt-sm' for property 'layout'  uses suffix 'GtSm'\n         * for property layoutGtSM.\n         * @return {?}\n         */\n\n      }, {\n        key: \"suffixes\",\n        get: function get() {\n          return this.items.map(\n          /**\n          * @param {?} it\n          * @return {?}\n          */\n          function (it) {\n            return !!it.suffix ? it.suffix : '';\n          });\n        }\n      }]);\n\n      return BreakPointRegistry;\n    }();\n\n    BreakPointRegistry.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    BreakPointRegistry.ctorParameters = function () {\n      return [{\n        type: Array,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [BREAKPOINTS]\n        }]\n      }];\n    };\n    /** @nocollapse */\n\n\n    BreakPointRegistry.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({\n      factory: function BreakPointRegistry_Factory() {\n        return new BreakPointRegistry(Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(BREAKPOINTS));\n      },\n      token: BreakPointRegistry,\n      providedIn: \"root\"\n    });\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * MediaMonitor configures listeners to mediaQuery changes and publishes an Observable facade to\n     * convert mediaQuery change callbacks to subscriber notifications. These notifications will be\n     * performed within the ng Zone to trigger change detections and component updates.\n     *\n     * NOTE: both mediaQuery activations and de-activations are announced in notifications\n     */\n\n    var MatchMedia =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _zone\n       * @param {?} _platformId\n       * @param {?} _document\n       */\n      function MatchMedia(_zone, _platformId, _document) {\n        _classCallCheck(this, MatchMedia);\n\n        this._zone = _zone;\n        this._platformId = _platformId;\n        this._document = _document;\n        /**\n         * Initialize source with 'all' so all non-responsive APIs trigger style updates\n         */\n\n        this.source = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"BehaviorSubject\"](new MediaChange(true));\n        this.registry = new Map();\n        this._observable$ = this.source.asObservable();\n      }\n      /**\n       * Publish list of all current activations\n       * @return {?}\n       */\n\n\n      _createClass2(MatchMedia, [{\n        key: \"isActive\",\n\n        /**\n         * For the specified mediaQuery?\n         * @param {?} mediaQuery\n         * @return {?}\n         */\n        value: function isActive(mediaQuery) {\n          /** @type {?} */\n          var mql = this.registry.get(mediaQuery);\n          return !!mql ? mql.matches : false;\n        }\n        /**\n         * External observers can watch for all (or a specific) mql changes.\n         * Typically used by the MediaQueryAdaptor; optionally available to components\n         * who wish to use the MediaMonitor as mediaMonitor$ observable service.\n         *\n         * Use deferred registration process to register breakpoints only on subscription\n         * This logic also enforces logic to register all mediaQueries BEFORE notify\n         * subscribers of notifications.\n         * @param {?=} mqList\n         * @param {?=} filterOthers\n         * @return {?}\n         */\n\n      }, {\n        key: \"observe\",\n        value: function observe(mqList) {\n          var _this476 = this;\n\n          var filterOthers = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n          if (mqList && mqList.length) {\n            /** @type {?} */\n            var matchMedia$ = this._observable$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"filter\"])(\n            /**\n            * @param {?} change\n            * @return {?}\n            */\n            function (change) {\n              return !filterOthers ? true : mqList.indexOf(change.mediaQuery) > -1;\n            }));\n            /** @type {?} */\n\n\n            var registration$ = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Observable\"](\n            /**\n            * @param {?} observer\n            * @return {?}\n            */\n            function (observer) {\n              // tslint:disable-line:max-line-length\n\n              /** @type {?} */\n              var matches = _this476.registerQuery(mqList);\n\n              if (matches.length) {\n                /** @type {?} */\n                var lastChange =\n                /** @type {?} */\n                matches.pop();\n                matches.forEach(\n                /**\n                * @param {?} e\n                * @return {?}\n                */\n                function (e) {\n                  observer.next(e);\n                });\n\n                _this476.source.next(lastChange); // last match is cached\n\n              }\n\n              observer.complete();\n            });\n            return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"merge\"])(registration$, matchMedia$);\n          }\n\n          return this._observable$;\n        }\n        /**\n         * Based on the BreakPointRegistry provider, register internal listeners for each unique\n         * mediaQuery. Each listener emits specific MediaChange data to observers\n         * @param {?} mediaQuery\n         * @return {?}\n         */\n\n      }, {\n        key: \"registerQuery\",\n        value: function registerQuery(mediaQuery) {\n          var _this477 = this;\n\n          /** @type {?} */\n          var list = Array.isArray(mediaQuery) ? mediaQuery : [mediaQuery];\n          /** @type {?} */\n\n          var matches = [];\n          buildQueryCss(list, this._document);\n          list.forEach(\n          /**\n          * @param {?} query\n          * @return {?}\n          */\n          function (query) {\n            /** @type {?} */\n            var onMQLEvent =\n            /**\n            * @param {?} e\n            * @return {?}\n            */\n            function onMQLEvent(e) {\n              _this477._zone.run(\n              /**\n              * @return {?}\n              */\n              function () {\n                return _this477.source.next(new MediaChange(e.matches, query));\n              });\n            };\n            /** @type {?} */\n\n\n            var mql = _this477.registry.get(query);\n\n            if (!mql) {\n              mql = _this477.buildMQL(query);\n              mql.addListener(onMQLEvent);\n\n              _this477.registry.set(query, mql);\n            }\n\n            if (mql.matches) {\n              matches.push(new MediaChange(true, query));\n            }\n          });\n          return matches;\n        }\n        /**\n         * Call window.matchMedia() to build a MediaQueryList; which\n         * supports 0..n listeners for activation/deactivation\n         * @protected\n         * @param {?} query\n         * @return {?}\n         */\n\n      }, {\n        key: \"buildMQL\",\n        value: function buildMQL(query) {\n          return constructMql(query, Object(_angular_common__WEBPACK_IMPORTED_MODULE_1__[\"isPlatformBrowser\"])(this._platformId));\n        }\n      }, {\n        key: \"activations\",\n        get: function get() {\n          /** @type {?} */\n          var results = [];\n          this.registry.forEach(\n          /**\n          * @param {?} mql\n          * @param {?} key\n          * @return {?}\n          */\n          function (mql, key) {\n            if (mql.matches) {\n              results.push(key);\n            }\n          });\n          return results;\n        }\n      }]);\n\n      return MatchMedia;\n    }();\n\n    MatchMedia.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    MatchMedia.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgZone\"]\n      }, {\n        type: Object,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"PLATFORM_ID\"]]\n        }]\n      }, {\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [_angular_common__WEBPACK_IMPORTED_MODULE_1__[\"DOCUMENT\"]]\n        }]\n      }];\n    };\n    /** @nocollapse */\n\n\n    MatchMedia.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({\n      factory: function MatchMedia_Factory() {\n        return new MatchMedia(Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgZone\"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"PLATFORM_ID\"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(_angular_common__WEBPACK_IMPORTED_MODULE_1__[\"DOCUMENT\"]));\n      },\n      token: MatchMedia,\n      providedIn: \"root\"\n    });\n    /**\n     * Private global registry for all dynamically-created, injected style tags\n     * @see prepare(query)\n     * @type {?}\n     */\n\n    var ALL_STYLES = {};\n    /**\n     * For Webkit engines that only trigger the MediaQueryList Listener\n     * when there is at least one CSS selector for the respective media query.\n     *\n     * @param {?} mediaQueries\n     * @param {?} _document\n     * @return {?}\n     */\n\n    function buildQueryCss(mediaQueries, _document) {\n      /** @type {?} */\n      var list = mediaQueries.filter(\n      /**\n      * @param {?} it\n      * @return {?}\n      */\n      function (it) {\n        return !ALL_STYLES[it];\n      });\n\n      if (list.length > 0) {\n        /** @type {?} */\n        var query = list.join(', ');\n\n        try {\n          /** @type {?} */\n          var styleEl = _document.createElement('style');\n\n          styleEl.setAttribute('type', 'text/css');\n\n          if (!\n          /** @type {?} */\n          styleEl.styleSheet) {\n            /** @type {?} */\n            var cssText = \"\\n/*\\n  @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\\n  see http://bit.ly/2sd4HMP\\n*/\\n@media \".concat(query, \" {.fx-query-test{ }}\\n\");\n            styleEl.appendChild(_document.createTextNode(cssText));\n          }\n\n          /** @type {?} */\n          _document.head.appendChild(styleEl); // Store in private global registry\n\n\n          list.forEach(\n          /**\n          * @param {?} mq\n          * @return {?}\n          */\n          function (mq) {\n            return ALL_STYLES[mq] = styleEl;\n          });\n        } catch (e) {\n          console.error(e);\n        }\n      }\n    }\n    /**\n     * @param {?} query\n     * @param {?} isBrowser\n     * @return {?}\n     */\n\n\n    function constructMql(query, isBrowser) {\n      /** @type {?} */\n      var canListen = isBrowser && !!\n      /** @type {?} */\n      window.matchMedia('all').addListener;\n      return canListen ?\n      /** @type {?} */\n      window.matchMedia(query) :\n      /** @type {?} */\n\n      /** @type {?} */\n      {\n        matches: query === 'all' || query === '',\n        media: query,\n        addListener:\n        /**\n        * @return {?}\n        */\n        function addListener() {},\n        removeListener:\n        /**\n        * @return {?}\n        */\n        function removeListener() {}\n      };\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * MockMatchMedia mocks calls to the Window API matchMedia with a build of a simulated\n     * MockMediaQueryListener. Methods are available to simulate an activation of a mediaQuery\n     * range and to clearAll mediaQuery listeners.\n     */\n\n\n    var MockMatchMedia =\n    /*#__PURE__*/\n    function (_MatchMedia) {\n      _inherits(MockMatchMedia, _MatchMedia);\n\n      // Allow fallback to overlapping mediaQueries\n\n      /**\n       * @param {?} _zone\n       * @param {?} _platformId\n       * @param {?} _document\n       * @param {?} _breakpoints\n       */\n      function MockMatchMedia(_zone, _platformId, _document, _breakpoints) {\n        var _this478;\n\n        _classCallCheck(this, MockMatchMedia);\n\n        _this478 = _possibleConstructorReturn(this, _getPrototypeOf(MockMatchMedia).call(this, _zone, _platformId, _document));\n        _this478._breakpoints = _breakpoints;\n        _this478.autoRegisterQueries = true; // Used for testing BreakPoint registrations\n        // Used for testing BreakPoint registrations\n\n        _this478.useOverlaps = false; // Allow fallback to overlapping mediaQueries\n\n        return _this478;\n      }\n      /**\n       * Easy method to clear all listeners for all mediaQueries\n       * @return {?}\n       */\n\n\n      _createClass2(MockMatchMedia, [{\n        key: \"clearAll\",\n        value: function clearAll() {\n          this.registry.forEach(\n          /**\n          * @param {?} mql\n          * @return {?}\n          */\n          function (mql) {\n            /** @type {?} */\n            mql.destroy();\n          });\n          this.registry.clear();\n          this.useOverlaps = false;\n        }\n        /**\n         * Feature to support manual, simulated activation of a mediaQuery.\n         * @param {?} mediaQuery\n         * @param {?=} useOverlaps\n         * @return {?}\n         */\n\n      }, {\n        key: \"activate\",\n        value: function activate(mediaQuery) {\n          var useOverlaps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n          useOverlaps = useOverlaps || this.useOverlaps;\n          mediaQuery = this._validateQuery(mediaQuery);\n\n          if (useOverlaps || !this.isActive(mediaQuery)) {\n            this._deactivateAll();\n\n            this._registerMediaQuery(mediaQuery);\n\n            this._activateWithOverlaps(mediaQuery, useOverlaps);\n          }\n\n          return this.hasActivated;\n        }\n        /**\n         * Converts an optional mediaQuery alias to a specific, valid mediaQuery\n         * @param {?} queryOrAlias\n         * @return {?}\n         */\n\n      }, {\n        key: \"_validateQuery\",\n        value: function _validateQuery(queryOrAlias) {\n          /** @type {?} */\n          var bp = this._breakpoints.findByAlias(queryOrAlias);\n\n          return bp && bp.mediaQuery || queryOrAlias;\n        }\n        /**\n         * Manually onMediaChange any overlapping mediaQueries to simulate\n         * similar functionality in the window.matchMedia()\n         * @private\n         * @param {?} mediaQuery\n         * @param {?} useOverlaps\n         * @return {?}\n         */\n\n      }, {\n        key: \"_activateWithOverlaps\",\n        value: function _activateWithOverlaps(mediaQuery, useOverlaps) {\n          if (useOverlaps) {\n            /** @type {?} */\n            var bp = this._breakpoints.findByQuery(mediaQuery);\n            /** @type {?} */\n\n\n            var alias = bp ? bp.alias : 'unknown'; // Simulate activation of overlapping lt-<XXX> ranges\n\n            switch (alias) {\n              case 'lg':\n                this._activateByAlias('lt-xl');\n\n                break;\n\n              case 'md':\n                this._activateByAlias('lt-xl, lt-lg');\n\n                break;\n\n              case 'sm':\n                this._activateByAlias('lt-xl, lt-lg, lt-md');\n\n                break;\n\n              case 'xs':\n                this._activateByAlias('lt-xl, lt-lg, lt-md, lt-sm');\n\n                break;\n            } // Simulate activation of overlapping gt-<xxxx> mediaQuery ranges\n\n\n            switch (alias) {\n              case 'xl':\n                this._activateByAlias('gt-lg, gt-md, gt-sm, gt-xs');\n\n                break;\n\n              case 'lg':\n                this._activateByAlias('gt-md, gt-sm, gt-xs');\n\n                break;\n\n              case 'md':\n                this._activateByAlias('gt-sm, gt-xs');\n\n                break;\n\n              case 'sm':\n                this._activateByAlias('gt-xs');\n\n                break;\n            }\n          } // Activate last since the responsiveActivation is watching *this* mediaQuery\n\n\n          return this._activateByQuery(mediaQuery);\n        }\n        /**\n         *\n         * @private\n         * @param {?} aliases\n         * @return {?}\n         */\n\n      }, {\n        key: \"_activateByAlias\",\n        value: function _activateByAlias(aliases) {\n          var _this479 = this;\n\n          /** @type {?} */\n          var activate =\n          /**\n          * @param {?} alias\n          * @return {?}\n          */\n          function activate(alias) {\n            /** @type {?} */\n            var bp = _this479._breakpoints.findByAlias(alias);\n\n            _this479._activateByQuery(bp ? bp.mediaQuery : alias);\n          };\n\n          aliases.split(',').forEach(\n          /**\n          * @param {?} alias\n          * @return {?}\n          */\n          function (alias) {\n            return activate(alias.trim());\n          });\n        }\n        /**\n         *\n         * @private\n         * @param {?} mediaQuery\n         * @return {?}\n         */\n\n      }, {\n        key: \"_activateByQuery\",\n        value: function _activateByQuery(mediaQuery) {\n          /** @type {?} */\n          var mql =\n          /** @type {?} */\n          this.registry.get(mediaQuery);\n\n          if (mql && !this.isActive(mediaQuery)) {\n            this.registry.set(mediaQuery, mql.activate());\n          }\n\n          return this.hasActivated;\n        }\n        /**\n         * Deactivate all current MQLs and reset the buffer\n         * @private\n         * @template THIS\n         * @this {THIS}\n         * @return {THIS}\n         */\n\n      }, {\n        key: \"_deactivateAll\",\n        value: function _deactivateAll() {\n          /** @type {?} */\n          this.registry.forEach(\n          /**\n          * @param {?} it\n          * @return {?}\n          */\n          function (it) {\n            /** @type {?} */\n            it.deactivate();\n          });\n          return (\n            /** @type {?} */\n            this\n          );\n        }\n        /**\n         * Insure the mediaQuery is registered with MatchMedia\n         * @private\n         * @param {?} mediaQuery\n         * @return {?}\n         */\n\n      }, {\n        key: \"_registerMediaQuery\",\n        value: function _registerMediaQuery(mediaQuery) {\n          if (!this.registry.has(mediaQuery) && this.autoRegisterQueries) {\n            this.registerQuery(mediaQuery);\n          }\n        }\n        /**\n         * Call window.matchMedia() to build a MediaQueryList; which\n         * supports 0..n listeners for activation/deactivation\n         * @protected\n         * @param {?} query\n         * @return {?}\n         */\n\n      }, {\n        key: \"buildMQL\",\n        value: function buildMQL(query) {\n          return new MockMediaQueryList(query);\n        }\n        /**\n         * @protected\n         * @return {?}\n         */\n\n      }, {\n        key: \"hasActivated\",\n        get: function get() {\n          return this.activations.length > 0;\n        }\n      }]);\n\n      return MockMatchMedia;\n    }(MatchMedia);\n\n    MockMatchMedia.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"]\n    }];\n    /** @nocollapse */\n\n    MockMatchMedia.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgZone\"]\n      }, {\n        type: Object,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"PLATFORM_ID\"]]\n        }]\n      }, {\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [_angular_common__WEBPACK_IMPORTED_MODULE_1__[\"DOCUMENT\"]]\n        }]\n      }, {\n        type: BreakPointRegistry\n      }];\n    };\n    /**\n     * Special internal class to simulate a MediaQueryList and\n     * - supports manual activation to simulate mediaQuery matching\n     * - manages listeners\n     */\n\n\n    var MockMediaQueryList =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _mediaQuery\n       */\n      function MockMediaQueryList(_mediaQuery) {\n        _classCallCheck(this, MockMediaQueryList);\n\n        this._mediaQuery = _mediaQuery;\n        this._isActive = false;\n        this._listeners = [];\n        this.onchange = null;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(MockMediaQueryList, [{\n        key: \"destroy\",\n\n        /**\n         * Destroy the current list by deactivating the\n         * listeners and clearing the internal list\n         * @return {?}\n         */\n        value: function destroy() {\n          this.deactivate();\n          this._listeners = [];\n        }\n        /**\n         * Notify all listeners that 'matches === TRUE'\n         * @return {?}\n         */\n\n      }, {\n        key: \"activate\",\n        value: function activate() {\n          var _this480 = this;\n\n          if (!this._isActive) {\n            this._isActive = true;\n\n            this._listeners.forEach(\n            /**\n            * @param {?} callback\n            * @return {?}\n            */\n            function (callback) {\n              /** @type {?} */\n              var cb =\n              /** @type {?} */\n              callback;\n              cb.call(null, _this480);\n            });\n          }\n\n          return this;\n        }\n        /**\n         * Notify all listeners that 'matches === false'\n         * @return {?}\n         */\n\n      }, {\n        key: \"deactivate\",\n        value: function deactivate() {\n          var _this481 = this;\n\n          if (this._isActive) {\n            this._isActive = false;\n\n            this._listeners.forEach(\n            /**\n            * @param {?} callback\n            * @return {?}\n            */\n            function (callback) {\n              /** @type {?} */\n              var cb =\n              /** @type {?} */\n              callback;\n              cb.call(null, _this481);\n            });\n          }\n\n          return this;\n        }\n        /**\n         * Add a listener to our internal list to activate later\n         * @param {?} listener\n         * @return {?}\n         */\n\n      }, {\n        key: \"addListener\",\n        value: function addListener(listener) {\n          if (this._listeners.indexOf(listener) === -1) {\n            this._listeners.push(listener);\n          }\n\n          if (this._isActive) {\n            /** @type {?} */\n            var cb =\n            /** @type {?} */\n            listener;\n            cb.call(null, this);\n          }\n        }\n        /**\n         * Don't need to remove listeners in the testing environment\n         * @param {?} _\n         * @return {?}\n         */\n\n      }, {\n        key: \"removeListener\",\n        value: function removeListener(_) {}\n        /**\n         * @param {?} _\n         * @param {?} __\n         * @param {?=} ___\n         * @return {?}\n         */\n\n      }, {\n        key: \"addEventListener\",\n        value: function addEventListener(_, __, ___) {}\n        /**\n         * @param {?} _\n         * @param {?} __\n         * @param {?=} ___\n         * @return {?}\n         */\n\n      }, {\n        key: \"removeEventListener\",\n        value: function removeEventListener(_, __, ___) {}\n        /**\n         * @param {?} _\n         * @return {?}\n         */\n\n      }, {\n        key: \"dispatchEvent\",\n        value: function dispatchEvent(_) {\n          return false;\n        }\n      }, {\n        key: \"matches\",\n        get: function get() {\n          return this._isActive;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"media\",\n        get: function get() {\n          return this._mediaQuery;\n        }\n      }]);\n\n      return MockMediaQueryList;\n    }();\n    /**\n     * Pre-configured provider for MockMatchMedia\n     * @type {?}\n     */\n\n\n    var MockMatchMediaProvider = {\n      // tslint:disable-line:variable-name\n      provide: MatchMedia,\n      useClass: MockMatchMedia\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n    var PRINT = 'print';\n    /** @type {?} */\n\n    var BREAKPOINT_PRINT = {\n      alias: PRINT,\n      mediaQuery: PRINT,\n      priority: 1000\n    };\n    /**\n     * PrintHook - Use to intercept print MediaQuery activations and force\n     *             layouts to render with the specified print alias/breakpoint\n     *\n     * Used in MediaMarshaller and MediaObserver\n     */\n\n    var PrintHook =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} breakpoints\n       * @param {?} layoutConfig\n       */\n      function PrintHook(breakpoints, layoutConfig) {\n        _classCallCheck(this, PrintHook);\n\n        this.breakpoints = breakpoints;\n        this.layoutConfig = layoutConfig;\n        /**\n         * Is this service currently in Print-mode ?\n         */\n\n        this.isPrinting = false;\n        this.queue = new PrintQueue();\n        this.deactivations = [];\n      }\n      /**\n       * Add 'print' mediaQuery: to listen for matchMedia activations\n       * @param {?} queries\n       * @return {?}\n       */\n\n\n      _createClass2(PrintHook, [{\n        key: \"withPrintQuery\",\n        value: function withPrintQuery(queries) {\n          return [].concat(_toConsumableArray(queries), [PRINT]);\n        }\n        /**\n         * Is the MediaChange event for any 'print' \\@media\n         * @param {?} e\n         * @return {?}\n         */\n\n      }, {\n        key: \"isPrintEvent\",\n        value: function isPrintEvent(e) {\n          return e.mediaQuery.startsWith(PRINT);\n        }\n        /**\n         * What is the desired mqAlias to use while printing?\n         * @return {?}\n         */\n\n      }, {\n        key: \"getEventBreakpoints\",\n\n        /**\n         * Lookup breakpoint associated with mediaQuery\n         * @param {?} __0\n         * @return {?}\n         */\n        value: function getEventBreakpoints(_ref68) {\n          var mediaQuery = _ref68.mediaQuery;\n\n          /** @type {?} */\n          var bp = this.breakpoints.findByQuery(mediaQuery);\n          /** @type {?} */\n\n          var list = bp ? [].concat(_toConsumableArray(this.printBreakPoints), [bp]) : this.printBreakPoints;\n          return list.sort(sortDescendingPriority);\n        }\n        /**\n         * Update event with printAlias mediaQuery information\n         * @param {?} event\n         * @return {?}\n         */\n\n      }, {\n        key: \"updateEvent\",\n        value: function updateEvent(event) {\n          /** @type {?} */\n          var bp = this.breakpoints.findByQuery(event.mediaQuery);\n\n          if (this.isPrintEvent(event)) {\n            // Reset from 'print' to first (highest priority) print breakpoint\n            bp = this.getEventBreakpoints(event)[0];\n            event.mediaQuery = bp ? bp.mediaQuery : '';\n          }\n\n          return mergeAlias(event, bp);\n        }\n        /**\n         * Prepare RxJs filter operator with partial application\n         * @param {?} target\n         * @return {?} pipeable filter predicate\n         */\n\n      }, {\n        key: \"interceptEvents\",\n        value: function interceptEvents(target) {\n          var _this482 = this;\n\n          return (\n            /**\n            * @param {?} event\n            * @return {?}\n            */\n            function (event) {\n              if (_this482.isPrintEvent(event)) {\n                if (event.matches && !_this482.isPrinting) {\n                  _this482.startPrinting(target, _this482.getEventBreakpoints(event));\n\n                  target.updateStyles();\n                } else if (!event.matches && _this482.isPrinting) {\n                  _this482.stopPrinting(target);\n\n                  target.updateStyles();\n                }\n              } else {\n                _this482.collectActivations(event);\n              }\n            }\n          );\n        }\n        /**\n         * Stop mediaChange event propagation in event streams\n         * @return {?}\n         */\n\n      }, {\n        key: \"blockPropagation\",\n        value: function blockPropagation() {\n          var _this483 = this;\n\n          return (\n            /**\n            * @param {?} event\n            * @return {?}\n            */\n            function (event) {\n              return !(_this483.isPrinting || _this483.isPrintEvent(event));\n            }\n          );\n        }\n        /**\n         * Save current activateBreakpoints (for later restore)\n         * and substitute only the printAlias breakpoint\n         * @protected\n         * @param {?} target\n         * @param {?} bpList\n         * @return {?}\n         */\n\n      }, {\n        key: \"startPrinting\",\n        value: function startPrinting(target, bpList) {\n          this.isPrinting = true;\n          target.activatedBreakpoints = this.queue.addPrintBreakpoints(bpList);\n        }\n        /**\n         * For any print de-activations, reset the entire print queue\n         * @protected\n         * @param {?} target\n         * @return {?}\n         */\n\n      }, {\n        key: \"stopPrinting\",\n        value: function stopPrinting(target) {\n          target.activatedBreakpoints = this.deactivations;\n          this.deactivations = [];\n          this.queue.clear();\n          this.isPrinting = false;\n        }\n        /**\n         * To restore pre-Print Activations, we must capture the proper\n         * list of breakpoint activations BEFORE print starts. OnBeforePrint()\n         * is not supported; so 'print' mediaQuery activations must be used.\n         *\n         * >  But activated breakpoints are deactivated BEFORE 'print' activation.\n         *\n         * Let's capture all de-activations using the following logic:\n         *\n         *  When not printing:\n         *    - clear cache when activating non-print breakpoint\n         *    - update cache (and sort) when deactivating\n         *\n         *  When printing:\n         *    - sort and save when starting print\n         *    - restore as activatedTargets and clear when stop printing\n         * @param {?} event\n         * @return {?}\n         */\n\n      }, {\n        key: \"collectActivations\",\n        value: function collectActivations(event) {\n          if (!this.isPrinting) {\n            if (!event.matches) {\n              /** @type {?} */\n              var bp = this.breakpoints.findByQuery(event.mediaQuery);\n\n              if (bp) {\n                // Deactivating a breakpoint\n                this.deactivations.push(bp);\n                this.deactivations.sort(sortDescendingPriority);\n              }\n            } else {\n              this.deactivations = [];\n            }\n          }\n        }\n      }, {\n        key: \"printAlias\",\n        get: function get() {\n          return this.layoutConfig.printWithBreakpoints || [];\n        }\n        /**\n         * Lookup breakpoints associated with print aliases.\n         * @return {?}\n         */\n\n      }, {\n        key: \"printBreakPoints\",\n        get: function get() {\n          var _this484 = this;\n\n          return (\n            /** @type {?} */\n            this.printAlias.map(\n            /**\n            * @param {?} alias\n            * @return {?}\n            */\n            function (alias) {\n              return _this484.breakpoints.findByAlias(alias);\n            }).filter(\n            /**\n            * @param {?} bp\n            * @return {?}\n            */\n            function (bp) {\n              return bp !== null;\n            })\n          );\n        }\n      }]);\n\n      return PrintHook;\n    }();\n\n    PrintHook.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    PrintHook.ctorParameters = function () {\n      return [{\n        type: BreakPointRegistry\n      }, {\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [LAYOUT_CONFIG]\n        }]\n      }];\n    };\n    /** @nocollapse */\n\n\n    PrintHook.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({\n      factory: function PrintHook_Factory() {\n        return new PrintHook(Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(BreakPointRegistry), Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(LAYOUT_CONFIG));\n      },\n      token: PrintHook,\n      providedIn: \"root\"\n    }); // ************************************************************************\n    // Internal Utility class 'PrintQueue'\n    // ************************************************************************\n\n    /**\n     * Utility class to manage print breakpoints + activatedBreakpoints\n     * with correct sorting WHILE printing\n     */\n\n    var PrintQueue =\n    /*#__PURE__*/\n    function () {\n      function PrintQueue() {\n        _classCallCheck(this, PrintQueue);\n\n        /**\n         * Sorted queue with prioritized print breakpoints\n         */\n        this.printBreakpoints = [];\n      }\n      /**\n       * @param {?} bpList\n       * @return {?}\n       */\n\n\n      _createClass2(PrintQueue, [{\n        key: \"addPrintBreakpoints\",\n        value: function addPrintBreakpoints(bpList) {\n          var _this485 = this;\n\n          bpList.push(BREAKPOINT_PRINT);\n          bpList.sort(sortDescendingPriority);\n          bpList.forEach(\n          /**\n          * @param {?} bp\n          * @return {?}\n          */\n          function (bp) {\n            return _this485.addBreakpoint(bp);\n          });\n          return this.printBreakpoints;\n        }\n        /**\n         * Add Print breakpoint to queue\n         * @param {?} bp\n         * @return {?}\n         */\n\n      }, {\n        key: \"addBreakpoint\",\n        value: function addBreakpoint(bp) {\n          if (!!bp) {\n            /** @type {?} */\n            var bpInList = this.printBreakpoints.find(\n            /**\n            * @param {?} it\n            * @return {?}\n            */\n            function (it) {\n              return it.mediaQuery === bp.mediaQuery;\n            });\n\n            if (bpInList === undefined) {\n              // If this is a `printAlias` breakpoint, then append. If a true 'print' breakpoint,\n              // register as highest priority in the queue\n              this.printBreakpoints = isPrintBreakPoint(bp) ? [bp].concat(_toConsumableArray(this.printBreakpoints)) : [].concat(_toConsumableArray(this.printBreakpoints), [bp]);\n            }\n          }\n        }\n        /**\n         * Restore original activated breakpoints and clear internal caches\n         * @return {?}\n         */\n\n      }, {\n        key: \"clear\",\n        value: function clear() {\n          this.printBreakpoints = [];\n        }\n      }]);\n\n      return PrintQueue;\n    }(); // ************************************************************************\n    // Internal Utility methods\n    // ************************************************************************\n\n    /**\n     * Only support intercept queueing if the Breakpoint is a print \\@media query\n     * @param {?} bp\n     * @return {?}\n     */\n\n\n    function isPrintBreakPoint(bp) {\n      return bp ? bp.mediaQuery.startsWith(PRINT) : false;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Wraps the provided value in an array, unless the provided value is an array.\n     * @template T\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function coerceArray(value) {\n      return Array.isArray(value) ? value : [value];\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * MediaObserver enables applications to listen for 1..n mediaQuery activations and to determine\n     * if a mediaQuery is currently activated.\n     *\n     * Since a breakpoint change will first deactivate 1...n mediaQueries and then possibly activate\n     * 1..n mediaQueries, the MediaObserver will debounce notifications and report ALL *activations*\n     * in 1 event notification. The reported activations will be sorted in descending priority order.\n     *\n     * This class uses the BreakPoint Registry to inject alias information into the raw MediaChange\n     * notification. For custom mediaQuery notifications, alias information will not be injected and\n     * those fields will be ''.\n     *\n     * Note: Developers should note that only mediaChange activations (not de-activations)\n     *       are announced by the MediaObserver.\n     *\n     * \\@usage\n     *\n     *  // RxJS\n     *  import { filter } from 'rxjs/operators';\n     *  import { MediaObserver } from '\\@angular/flex-layout';\n     *\n     * \\@Component({ ... })\n     *  export class AppComponent {\n     *    status: string = '';\n     *\n     *    constructor(mediaObserver: MediaObserver) {\n     *      const media$ = mediaObserver.asObservable().pipe(\n     *        filter((changes: MediaChange[]) => true)   // silly noop filter\n     *      );\n     *\n     *      media$.subscribe((changes: MediaChange[]) => {\n     *        let status = '';\n     *        changes.forEach( change => {\n     *          status += `'${change.mqAlias}' = (${change.mediaQuery}) <br/>` ;\n     *        });\n     *        this.status = status;\n     *     });\n     *\n     *    }\n     *  }\n     */\n\n\n    var MediaObserver =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} breakpoints\n       * @param {?} matchMedia\n       * @param {?} hook\n       */\n      function MediaObserver(breakpoints, matchMedia, hook) {\n        _classCallCheck(this, MediaObserver);\n\n        this.breakpoints = breakpoints;\n        this.matchMedia = matchMedia;\n        this.hook = hook;\n        /**\n         * Filter MediaChange notifications for overlapping breakpoints\n         */\n\n        this.filterOverlaps = false;\n        this.destroyed$ = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Subject\"]();\n        this._media$ = this.watchActivations();\n        this.media$ = this._media$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"filter\"])(\n        /**\n        * @param {?} changes\n        * @return {?}\n        */\n        function (changes) {\n          return changes.length > 0;\n        }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(\n        /**\n        * @param {?} changes\n        * @return {?}\n        */\n        function (changes) {\n          return changes[0];\n        }));\n      }\n      /**\n       * Completes the active subject, signalling to all complete for all\n       * MediaObserver subscribers\n       * @return {?}\n       */\n\n\n      _createClass2(MediaObserver, [{\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          this.destroyed$.next();\n          this.destroyed$.complete();\n        } // ************************************************\n        // Public Methods\n        // ************************************************\n\n        /**\n         * Observe changes to current activation 'list'\n         * @return {?}\n         */\n\n      }, {\n        key: \"asObservable\",\n        value: function asObservable() {\n          return this._media$;\n        }\n        /**\n         * Allow programmatic query to determine if one or more media query/alias match\n         * the current viewport size.\n         * @param {?} value One or more media queries (or aliases) to check.\n         * @return {?} Whether any of the media queries match.\n         */\n\n      }, {\n        key: \"isActive\",\n        value: function isActive(value) {\n          var _this486 = this;\n\n          /** @type {?} */\n          var aliases = splitQueries(coerceArray(value));\n          return aliases.some(\n          /**\n          * @param {?} alias\n          * @return {?}\n          */\n          function (alias) {\n            /** @type {?} */\n            var query = toMediaQuery(alias, _this486.breakpoints);\n            return _this486.matchMedia.isActive(query);\n          });\n        } // ************************************************\n        // Internal Methods\n        // ************************************************\n\n        /**\n         * Register all the mediaQueries registered in the BreakPointRegistry\n         * This is needed so subscribers can be auto-notified of all standard, registered\n         * mediaQuery activations\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"watchActivations\",\n        value: function watchActivations() {\n          /** @type {?} */\n          var queries = this.breakpoints.items.map(\n          /**\n          * @param {?} bp\n          * @return {?}\n          */\n          function (bp) {\n            return bp.mediaQuery;\n          });\n          return this.buildObservable(queries);\n        }\n        /**\n         * Only pass/announce activations (not de-activations)\n         *\n         * Since multiple-mediaQueries can be activation in a cycle,\n         * gather all current activations into a single list of changes to observers\n         *\n         * Inject associated (if any) alias information into the MediaChange event\n         * - Exclude mediaQuery activations for overlapping mQs. List bounded mQ ranges only\n         * - Exclude print activations that do not have an associated mediaQuery\n         *\n         * NOTE: the raw MediaChange events [from MatchMedia] do not\n         *       contain important alias information; as such this info\n         *       must be injected into the MediaChange\n         * @private\n         * @param {?} mqList\n         * @return {?}\n         */\n\n      }, {\n        key: \"buildObservable\",\n        value: function buildObservable(mqList) {\n          var _this487 = this;\n\n          /** @type {?} */\n          var hasChanges =\n          /**\n          * @param {?} changes\n          * @return {?}\n          */\n          function hasChanges(changes) {\n            /** @type {?} */\n            var isValidQuery =\n            /**\n            * @param {?} change\n            * @return {?}\n            */\n            function isValidQuery(change) {\n              return change.mediaQuery.length > 0;\n            };\n\n            return changes.filter(isValidQuery).length > 0;\n          };\n          /** @type {?} */\n\n\n          var excludeOverlaps =\n          /**\n          * @param {?} changes\n          * @return {?}\n          */\n          function excludeOverlaps(changes) {\n            return !_this487.filterOverlaps ? changes : changes.filter(\n            /**\n            * @param {?} change\n            * @return {?}\n            */\n            function (change) {\n              /** @type {?} */\n              var bp = _this487.breakpoints.findByQuery(change.mediaQuery);\n\n              return !bp ? true : !bp.overlapping;\n            });\n          };\n          /**\n           */\n\n\n          return this.matchMedia.observe(this.hook.withPrintQuery(mqList)).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"filter\"])(\n          /**\n          * @param {?} change\n          * @return {?}\n          */\n          function (change) {\n            return change.matches;\n          }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"debounceTime\"])(0, rxjs__WEBPACK_IMPORTED_MODULE_2__[\"asapScheduler\"]), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"switchMap\"])(\n          /**\n          * @param {?} _\n          * @return {?}\n          */\n          function (_) {\n            return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(_this487.findAllActivations());\n          }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(excludeOverlaps), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"filter\"])(hasChanges), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"takeUntil\"])(this.destroyed$));\n        }\n        /**\n         * Find all current activations and prepare single list of activations\n         * sorted by descending priority.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"findAllActivations\",\n        value: function findAllActivations() {\n          var _this488 = this;\n\n          /** @type {?} */\n          var mergeMQAlias =\n          /**\n          * @param {?} change\n          * @return {?}\n          */\n          function mergeMQAlias(change) {\n            /** @type {?} */\n            var bp = _this488.breakpoints.findByQuery(change.mediaQuery);\n\n            return mergeAlias(change, bp);\n          };\n          /** @type {?} */\n\n\n          var replaceWithPrintAlias =\n          /**\n          * @param {?} change\n          * @return {?}\n          */\n          function replaceWithPrintAlias(change) {\n            return _this488.hook.isPrintEvent(change) ? _this488.hook.updateEvent(change) : change;\n          };\n\n          return this.matchMedia.activations.map(\n          /**\n          * @param {?} query\n          * @return {?}\n          */\n          function (query) {\n            return new MediaChange(true, query);\n          }).map(replaceWithPrintAlias).map(mergeMQAlias).sort(sortDescendingPriority);\n        }\n      }]);\n\n      return MediaObserver;\n    }();\n\n    MediaObserver.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    MediaObserver.ctorParameters = function () {\n      return [{\n        type: BreakPointRegistry\n      }, {\n        type: MatchMedia\n      }, {\n        type: PrintHook\n      }];\n    };\n    /** @nocollapse */\n\n\n    MediaObserver.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({\n      factory: function MediaObserver_Factory() {\n        return new MediaObserver(Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(BreakPointRegistry), Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(MatchMedia), Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(PrintHook));\n      },\n      token: MediaObserver,\n      providedIn: \"root\"\n    });\n    /**\n     * Find associated breakpoint (if any)\n     * @param {?} query\n     * @param {?} locator\n     * @return {?}\n     */\n\n    function toMediaQuery(query, locator) {\n      /** @type {?} */\n      var bp = locator.findByAlias(query) || locator.findByQuery(query);\n      return bp ? bp.mediaQuery : query;\n    }\n    /**\n     * Split each query string into separate query strings if two queries are provided as comma\n     * separated.\n     * @param {?} queries\n     * @return {?}\n     */\n\n\n    function splitQueries(queries) {\n      return queries.map(\n      /**\n      * @param {?} query\n      * @return {?}\n      */\n      function (query) {\n        return query.split(',');\n      }).reduce(\n      /**\n      * @param {?} a1\n      * @param {?} a2\n      * @return {?}\n      */\n      function (a1, a2) {\n        return a1.concat(a2);\n      }).map(\n      /**\n      * @param {?} query\n      * @return {?}\n      */\n      function (query) {\n        return query.trim();\n      });\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Class\n     */\n\n\n    var MediaTrigger =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} breakpoints\n       * @param {?} matchMedia\n       * @param {?} layoutConfig\n       * @param {?} _platformId\n       * @param {?} _document\n       */\n      function MediaTrigger(breakpoints, matchMedia, layoutConfig, _platformId, _document) {\n        _classCallCheck(this, MediaTrigger);\n\n        this.breakpoints = breakpoints;\n        this.matchMedia = matchMedia;\n        this.layoutConfig = layoutConfig;\n        this._platformId = _platformId;\n        this._document = _document;\n        this.hasCachedRegistryMatches = false;\n        this.originalActivations = [];\n        this.originalRegistry = new Map();\n      }\n      /**\n       * Manually activate range of breakpoints\n       * @param {?} list array of mediaQuery or alias strings\n       * @return {?}\n       */\n\n\n      _createClass2(MediaTrigger, [{\n        key: \"activate\",\n        value: function activate(list) {\n          list = list.map(\n          /**\n          * @param {?} it\n          * @return {?}\n          */\n          function (it) {\n            return it.trim();\n          }); // trim queries\n\n          this.saveActivations();\n          this.deactivateAll();\n          this.setActivations(list);\n          this.prepareAutoRestore();\n        }\n        /**\n         * Restore original, 'real' breakpoints and emit events\n         * to trigger stream notification\n         * @return {?}\n         */\n\n      }, {\n        key: \"restore\",\n        value: function restore() {\n          if (this.hasCachedRegistryMatches) {\n            /** @type {?} */\n            var extractQuery =\n            /**\n            * @param {?} change\n            * @return {?}\n            */\n            function extractQuery(change) {\n              return change.mediaQuery;\n            };\n            /** @type {?} */\n\n\n            var list = this.originalActivations.map(extractQuery);\n\n            try {\n              this.deactivateAll();\n              this.restoreRegistryMatches();\n              this.setActivations(list);\n            } finally {\n              this.originalActivations = [];\n\n              if (this.resizeSubscription) {\n                this.resizeSubscription.unsubscribe();\n              }\n            }\n          }\n        } // ************************************************\n        // Internal Methods\n        // ************************************************\n\n        /**\n         * Whenever window resizes, immediately auto-restore original\n         * activations (if we are simulating activations)\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"prepareAutoRestore\",\n        value: function prepareAutoRestore() {\n          /** @type {?} */\n          var isBrowser = Object(_angular_common__WEBPACK_IMPORTED_MODULE_1__[\"isPlatformBrowser\"])(this._platformId) && this._document;\n          /** @type {?} */\n\n\n          var enableAutoRestore = isBrowser && this.layoutConfig.mediaTriggerAutoRestore;\n\n          if (enableAutoRestore) {\n            /** @type {?} */\n            var resize$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"fromEvent\"])(window, 'resize').pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"take\"])(1));\n            this.resizeSubscription = resize$.subscribe(this.restore.bind(this));\n          }\n        }\n        /**\n         * Notify all matchMedia subscribers of de-activations\n         *\n         * Note: we must force 'matches' updates for\n         *       future matchMedia::activation lookups\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"deactivateAll\",\n        value: function deactivateAll() {\n          /** @type {?} */\n          var list = this.currentActivations;\n          this.forceRegistryMatches(list, false);\n          this.simulateMediaChanges(list, false);\n        }\n        /**\n         * Cache current activations as sorted, prioritized list of MediaChanges\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"saveActivations\",\n        value: function saveActivations() {\n          var _this489 = this;\n\n          if (!this.hasCachedRegistryMatches) {\n            /** @type {?} */\n            var toMediaChange =\n            /**\n            * @param {?} query\n            * @return {?}\n            */\n            function toMediaChange(query) {\n              return new MediaChange(true, query);\n            };\n            /** @type {?} */\n\n\n            var mergeMQAlias =\n            /**\n            * @param {?} change\n            * @return {?}\n            */\n            function mergeMQAlias(change) {\n              /** @type {?} */\n              var bp = _this489.breakpoints.findByQuery(change.mediaQuery);\n\n              return mergeAlias(change, bp);\n            };\n\n            this.originalActivations = this.currentActivations.map(toMediaChange).map(mergeMQAlias).sort(sortDescendingPriority);\n            this.cacheRegistryMatches();\n          }\n        }\n        /**\n         * Force set manual activations for specified mediaQuery list\n         * @private\n         * @param {?} list\n         * @return {?}\n         */\n\n      }, {\n        key: \"setActivations\",\n        value: function setActivations(list) {\n          if (!!this.originalRegistry) {\n            this.forceRegistryMatches(list, true);\n          }\n\n          this.simulateMediaChanges(list);\n        }\n        /**\n         * For specified mediaQuery list manually simulate activations or deactivations\n         * @private\n         * @param {?} queries\n         * @param {?=} matches\n         * @return {?}\n         */\n\n      }, {\n        key: \"simulateMediaChanges\",\n        value: function simulateMediaChanges(queries) {\n          var _this490 = this;\n\n          var matches = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n\n          /** @type {?} */\n          var toMediaQuery =\n          /**\n          * @param {?} query\n          * @return {?}\n          */\n          function toMediaQuery(query) {\n            /** @type {?} */\n            var locator = _this490.breakpoints;\n            /** @type {?} */\n\n            var bp = locator.findByAlias(query) || locator.findByQuery(query);\n            return bp ? bp.mediaQuery : query;\n          };\n          /** @type {?} */\n\n\n          var emitChangeEvent =\n          /**\n          * @param {?} query\n          * @return {?}\n          */\n          function emitChangeEvent(query) {\n            return _this490.emitChangeEvent(matches, query);\n          };\n\n          queries.map(toMediaQuery).forEach(emitChangeEvent);\n        }\n        /**\n         * Replace current registry with simulated registry...\n         * Note: this is required since MediaQueryList::matches is 'readOnly'\n         * @private\n         * @param {?} queries\n         * @param {?} matches\n         * @return {?}\n         */\n\n      }, {\n        key: \"forceRegistryMatches\",\n        value: function forceRegistryMatches(queries, matches) {\n          /** @type {?} */\n          var registry = new Map();\n          queries.forEach(\n          /**\n          * @param {?} query\n          * @return {?}\n          */\n          function (query) {\n            registry.set(query,\n            /** @type {?} */\n            {\n              matches: matches\n            });\n          });\n          this.matchMedia.registry = registry;\n        }\n        /**\n         * Save current MatchMedia::registry items.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"cacheRegistryMatches\",\n        value: function cacheRegistryMatches() {\n          /** @type {?} */\n          var target = this.originalRegistry;\n          target.clear();\n          this.matchMedia.registry.forEach(\n          /**\n          * @param {?} value\n          * @param {?} key\n          * @return {?}\n          */\n          function (value, key) {\n            target.set(key, value);\n          });\n          this.hasCachedRegistryMatches = true;\n        }\n        /**\n         * Restore original, 'true' registry\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"restoreRegistryMatches\",\n        value: function restoreRegistryMatches() {\n          /** @type {?} */\n          var target = this.matchMedia.registry;\n          target.clear();\n          this.originalRegistry.forEach(\n          /**\n          * @param {?} value\n          * @param {?} key\n          * @return {?}\n          */\n          function (value, key) {\n            target.set(key, value);\n          });\n          this.originalRegistry.clear();\n          this.hasCachedRegistryMatches = false;\n        }\n        /**\n         * Manually emit a MediaChange event via the MatchMedia to MediaMarshaller and MediaObserver\n         * @private\n         * @param {?} matches\n         * @param {?} query\n         * @return {?}\n         */\n\n      }, {\n        key: \"emitChangeEvent\",\n        value: function emitChangeEvent(matches, query) {\n          this.matchMedia.source.next(new MediaChange(matches, query));\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"currentActivations\",\n        get: function get() {\n          return this.matchMedia.activations;\n        }\n      }]);\n\n      return MediaTrigger;\n    }();\n\n    MediaTrigger.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    MediaTrigger.ctorParameters = function () {\n      return [{\n        type: BreakPointRegistry\n      }, {\n        type: MatchMedia\n      }, {\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [LAYOUT_CONFIG]\n        }]\n      }, {\n        type: Object,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"PLATFORM_ID\"]]\n        }]\n      }, {\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [_angular_common__WEBPACK_IMPORTED_MODULE_1__[\"DOCUMENT\"]]\n        }]\n      }];\n    };\n    /** @nocollapse */\n\n\n    MediaTrigger.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({\n      factory: function MediaTrigger_Factory() {\n        return new MediaTrigger(Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(BreakPointRegistry), Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(MatchMedia), Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(LAYOUT_CONFIG), Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"PLATFORM_ID\"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(_angular_common__WEBPACK_IMPORTED_MODULE_1__[\"DOCUMENT\"]));\n      },\n      token: MediaTrigger,\n      providedIn: \"root\"\n    });\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Applies CSS prefixes to appropriate style keys.\n     *\n     * Note: `-ms-`, `-moz` and `-webkit-box` are no longer supported. e.g.\n     *    {\n     *      display: -webkit-flex;     NEW - Safari 6.1+. iOS 7.1+, BB10\n     *      display: flex;             NEW, Spec - Firefox, Chrome, Opera\n     *      // display: -webkit-box;   OLD - iOS 6-, Safari 3.1-6, BB7\n     *      // display: -ms-flexbox;   TWEENER - IE 10\n     *      // display: -moz-flexbox;  OLD - Firefox\n     *    }\n     * @param {?} target\n     * @return {?}\n     */\n\n    function applyCssPrefixes(target) {\n      for (var key in target) {\n        /** @type {?} */\n        var value = target[key] || '';\n\n        switch (key) {\n          case 'display':\n            if (value === 'flex') {\n              target['display'] = ['-webkit-flex', 'flex'];\n            } else if (value === 'inline-flex') {\n              target['display'] = ['-webkit-inline-flex', 'inline-flex'];\n            } else {\n              target['display'] = value;\n            }\n\n            break;\n\n          case 'align-items':\n          case 'align-self':\n          case 'align-content':\n          case 'flex':\n          case 'flex-basis':\n          case 'flex-flow':\n          case 'flex-grow':\n          case 'flex-shrink':\n          case 'flex-wrap':\n          case 'justify-content':\n            target['-webkit-' + key] = value;\n            break;\n\n          case 'flex-direction':\n            value = value || 'row';\n            target['-webkit-flex-direction'] = value;\n            target['flex-direction'] = value;\n            break;\n\n          case 'order':\n            target['order'] = target['-webkit-' + key] = isNaN(+value) ? '0' : value;\n            break;\n        }\n      }\n\n      return target;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n\n    var StyleUtils =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _serverStylesheet\n       * @param {?} _serverModuleLoaded\n       * @param {?} _platformId\n       * @param {?} layoutConfig\n       */\n      function StyleUtils(_serverStylesheet, _serverModuleLoaded, _platformId, layoutConfig) {\n        _classCallCheck(this, StyleUtils);\n\n        this._serverStylesheet = _serverStylesheet;\n        this._serverModuleLoaded = _serverModuleLoaded;\n        this._platformId = _platformId;\n        this.layoutConfig = layoutConfig;\n      }\n      /**\n       * Applies styles given via string pair or object map to the directive element\n       * @param {?} element\n       * @param {?} style\n       * @param {?=} value\n       * @return {?}\n       */\n\n\n      _createClass2(StyleUtils, [{\n        key: \"applyStyleToElement\",\n        value: function applyStyleToElement(element, style) {\n          var value = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n\n          /** @type {?} */\n          var styles = {};\n\n          if (typeof style === 'string') {\n            styles[style] = value;\n            style = styles;\n          }\n\n          styles = this.layoutConfig.disableVendorPrefixes ? style : applyCssPrefixes(style);\n\n          this._applyMultiValueStyleToElement(styles, element);\n        }\n        /**\n         * Applies styles given via string pair or object map to the directive's element\n         * @param {?} style\n         * @param {?=} elements\n         * @return {?}\n         */\n\n      }, {\n        key: \"applyStyleToElements\",\n        value: function applyStyleToElements(style) {\n          var _this491 = this;\n\n          var elements = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n\n          /** @type {?} */\n          var styles = this.layoutConfig.disableVendorPrefixes ? style : applyCssPrefixes(style);\n          elements.forEach(\n          /**\n          * @param {?} el\n          * @return {?}\n          */\n          function (el) {\n            _this491._applyMultiValueStyleToElement(styles, el);\n          });\n        }\n        /**\n         * Determine the DOM element's Flexbox flow (flex-direction)\n         *\n         * Check inline style first then check computed (stylesheet) style\n         * @param {?} target\n         * @return {?}\n         */\n\n      }, {\n        key: \"getFlowDirection\",\n        value: function getFlowDirection(target) {\n          /** @type {?} */\n          var query = 'flex-direction';\n          /** @type {?} */\n\n          var value = this.lookupStyle(target, query);\n          /** @type {?} */\n\n          var hasInlineValue = this.lookupInlineStyle(target, query) || Object(_angular_common__WEBPACK_IMPORTED_MODULE_1__[\"isPlatformServer\"])(this._platformId) && this._serverModuleLoaded ? value : '';\n          return [value || 'row', hasInlineValue];\n        }\n        /**\n         * Find the DOM element's raw attribute value (if any)\n         * @param {?} element\n         * @param {?} attribute\n         * @return {?}\n         */\n\n      }, {\n        key: \"lookupAttributeValue\",\n        value: function lookupAttributeValue(element, attribute) {\n          return element.getAttribute(attribute) || '';\n        }\n        /**\n         * Find the DOM element's inline style value (if any)\n         * @param {?} element\n         * @param {?} styleName\n         * @return {?}\n         */\n\n      }, {\n        key: \"lookupInlineStyle\",\n        value: function lookupInlineStyle(element, styleName) {\n          return Object(_angular_common__WEBPACK_IMPORTED_MODULE_1__[\"isPlatformBrowser\"])(this._platformId) ? element.style.getPropertyValue(styleName) : this._getServerStyle(element, styleName);\n        }\n        /**\n         * Determine the inline or inherited CSS style\n         * NOTE: platform-server has no implementation for getComputedStyle\n         * @param {?} element\n         * @param {?} styleName\n         * @param {?=} inlineOnly\n         * @return {?}\n         */\n\n      }, {\n        key: \"lookupStyle\",\n        value: function lookupStyle(element, styleName) {\n          var inlineOnly = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n\n          /** @type {?} */\n          var value = '';\n\n          if (element) {\n            /** @type {?} */\n            var immediateValue = value = this.lookupInlineStyle(element, styleName);\n\n            if (!immediateValue) {\n              if (Object(_angular_common__WEBPACK_IMPORTED_MODULE_1__[\"isPlatformBrowser\"])(this._platformId)) {\n                if (!inlineOnly) {\n                  value = getComputedStyle(element).getPropertyValue(styleName);\n                }\n              } else {\n                if (this._serverModuleLoaded) {\n                  value = this._serverStylesheet.getStyleForElement(element, styleName);\n                }\n              }\n            }\n          } // Note: 'inline' is the default of all elements, unless UA stylesheet overrides;\n          //       in which case getComputedStyle() should determine a valid value.\n\n\n          return value ? value.trim() : '';\n        }\n        /**\n         * Applies the styles to the element. The styles object map may contain an array of values\n         * Each value will be added as element style\n         * Keys are sorted to add prefixed styles (like -webkit-x) first, before the standard ones\n         * @private\n         * @param {?} styles\n         * @param {?} element\n         * @return {?}\n         */\n\n      }, {\n        key: \"_applyMultiValueStyleToElement\",\n        value: function _applyMultiValueStyleToElement(styles, element) {\n          var _this492 = this;\n\n          Object.keys(styles).sort().forEach(\n          /**\n          * @param {?} key\n          * @return {?}\n          */\n          function (key) {\n            /** @type {?} */\n            var el = styles[key];\n            /** @type {?} */\n\n            var values = Array.isArray(el) ? el : [el];\n            values.sort();\n            var _iteratorNormalCompletion51 = true;\n            var _didIteratorError51 = false;\n            var _iteratorError51 = undefined;\n\n            try {\n              for (var _iterator51 = values[Symbol.iterator](), _step51; !(_iteratorNormalCompletion51 = (_step51 = _iterator51.next()).done); _iteratorNormalCompletion51 = true) {\n                var value = _step51.value;\n                value = value ? value + '' : '';\n\n                if (Object(_angular_common__WEBPACK_IMPORTED_MODULE_1__[\"isPlatformBrowser\"])(_this492._platformId) || !_this492._serverModuleLoaded) {\n                  Object(_angular_common__WEBPACK_IMPORTED_MODULE_1__[\"isPlatformBrowser\"])(_this492._platformId) ? element.style.setProperty(key, value) : _this492._setServerStyle(element, key, value);\n                } else {\n                  _this492._serverStylesheet.addStyleToElement(element, key, value);\n                }\n              }\n            } catch (err) {\n              _didIteratorError51 = true;\n              _iteratorError51 = err;\n            } finally {\n              try {\n                if (!_iteratorNormalCompletion51 && _iterator51.return != null) {\n                  _iterator51.return();\n                }\n              } finally {\n                if (_didIteratorError51) {\n                  throw _iteratorError51;\n                }\n              }\n            }\n          });\n        }\n        /**\n         * @private\n         * @param {?} element\n         * @param {?} styleName\n         * @param {?=} styleValue\n         * @return {?}\n         */\n\n      }, {\n        key: \"_setServerStyle\",\n        value: function _setServerStyle(element, styleName, styleValue) {\n          styleName = styleName.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();\n          /** @type {?} */\n\n          var styleMap = this._readStyleAttribute(element);\n\n          styleMap[styleName] = styleValue || '';\n\n          this._writeStyleAttribute(element, styleMap);\n        }\n        /**\n         * @private\n         * @param {?} element\n         * @param {?} styleName\n         * @return {?}\n         */\n\n      }, {\n        key: \"_getServerStyle\",\n        value: function _getServerStyle(element, styleName) {\n          /** @type {?} */\n          var styleMap = this._readStyleAttribute(element);\n\n          return styleMap[styleName] || '';\n        }\n        /**\n         * @private\n         * @param {?} element\n         * @return {?}\n         */\n\n      }, {\n        key: \"_readStyleAttribute\",\n        value: function _readStyleAttribute(element) {\n          /** @type {?} */\n          var styleMap = {};\n          /** @type {?} */\n\n          var styleAttribute = element.getAttribute('style');\n\n          if (styleAttribute) {\n            /** @type {?} */\n            var styleList = styleAttribute.split(/;+/g);\n\n            for (var i = 0; i < styleList.length; i++) {\n              /** @type {?} */\n              var style = styleList[i].trim();\n\n              if (style.length > 0) {\n                /** @type {?} */\n                var colonIndex = style.indexOf(':');\n\n                if (colonIndex === -1) {\n                  throw new Error(\"Invalid CSS style: \".concat(style));\n                }\n                /** @type {?} */\n\n\n                var name = style.substr(0, colonIndex).trim();\n                styleMap[name] = style.substr(colonIndex + 1).trim();\n              }\n            }\n          }\n\n          return styleMap;\n        }\n        /**\n         * @private\n         * @param {?} element\n         * @param {?} styleMap\n         * @return {?}\n         */\n\n      }, {\n        key: \"_writeStyleAttribute\",\n        value: function _writeStyleAttribute(element, styleMap) {\n          /** @type {?} */\n          var styleAttrValue = '';\n\n          for (var key in styleMap) {\n            /** @type {?} */\n            var newValue = styleMap[key];\n\n            if (newValue) {\n              styleAttrValue += key + ':' + styleMap[key] + ';';\n            }\n          }\n\n          element.setAttribute('style', styleAttrValue);\n        }\n      }]);\n\n      return StyleUtils;\n    }();\n\n    StyleUtils.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    StyleUtils.ctorParameters = function () {\n      return [{\n        type: StylesheetMap,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }]\n      }, {\n        type: Boolean,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [SERVER_TOKEN]\n        }]\n      }, {\n        type: Object,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"PLATFORM_ID\"]]\n        }]\n      }, {\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [LAYOUT_CONFIG]\n        }]\n      }];\n    };\n    /** @nocollapse */\n\n\n    StyleUtils.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({\n      factory: function StyleUtils_Factory() {\n        return new StyleUtils(Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(StylesheetMap, 8), Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(SERVER_TOKEN, 8), Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"PLATFORM_ID\"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(LAYOUT_CONFIG));\n      },\n      token: StyleUtils,\n      providedIn: \"root\"\n    });\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * A class that encapsulates CSS style generation for common directives\n     * @abstract\n     */\n\n    var StyleBuilder =\n    /*#__PURE__*/\n    function () {\n      function StyleBuilder() {\n        _classCallCheck(this, StyleBuilder);\n\n        /**\n         * Whether to cache the generated output styles\n         */\n        this.shouldCache = true;\n      }\n      /**\n       * Run a side effect computation given the input string and the computed styles\n       * from the build task and the host configuration object\n       * NOTE: This should be a no-op unless an algorithm is provided in a subclass\n       * @param {?} _input\n       * @param {?} _styles\n       * @param {?=} _parent\n       * @return {?}\n       */\n\n\n      _createClass2(StyleBuilder, [{\n        key: \"sideEffect\",\n        value: function sideEffect(_input, _styles, _parent) {}\n      }]);\n\n      return StyleBuilder;\n    }();\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * The flex API permits 3 or 1 parts of the value:\n     *    - `flex-grow flex-shrink flex-basis`, or\n     *    - `flex-basis`\n     * @param {?} basis\n     * @param {?=} grow\n     * @param {?=} shrink\n     * @return {?}\n     */\n\n\n    function validateBasis(basis) {\n      var grow = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '1';\n      var shrink = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '1';\n\n      /** @type {?} */\n      var parts = [grow, shrink, basis];\n      /** @type {?} */\n\n      var j = basis.indexOf('calc');\n\n      if (j > 0) {\n        parts[2] = _validateCalcValue(basis.substring(j).trim());\n        /** @type {?} */\n\n        var matches = basis.substr(0, j).trim().split(' ');\n\n        if (matches.length == 2) {\n          parts[0] = matches[0];\n          parts[1] = matches[1];\n        }\n      } else if (j == 0) {\n        parts[2] = _validateCalcValue(basis.trim());\n      } else {\n        /** @type {?} */\n        var _matches2 = basis.split(' ');\n\n        parts = _matches2.length === 3 ? _matches2 : [grow, shrink, basis];\n      }\n\n      return parts;\n    }\n    /**\n     * Calc expressions require whitespace before & after any expression operators\n     * This is a simple, crude whitespace padding solution.\n     *   - '3 3 calc(15em + 20px)'\n     *   - calc(100% / 7 * 2)\n     *   - 'calc(15em + 20px)'\n     *   - 'calc(15em+20px)'\n     *   - '37px'\n     *   = '43%'\n     * @param {?} calc\n     * @return {?}\n     */\n\n\n    function _validateCalcValue(calc) {\n      return calc.replace(/[\\s]/g, '').replace(/[\\/\\*\\+\\-]/g, ' $& ');\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * MediaMarshaller - register responsive values from directives and\n     *                   trigger them based on media query events\n     */\n\n\n    var MediaMarshaller =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} matchMedia\n       * @param {?} breakpoints\n       * @param {?} hook\n       */\n      function MediaMarshaller(matchMedia, breakpoints, hook) {\n        _classCallCheck(this, MediaMarshaller);\n\n        this.matchMedia = matchMedia;\n        this.breakpoints = breakpoints;\n        this.hook = hook;\n        this.activatedBreakpoints = [];\n        this.elementMap = new Map();\n        this.elementKeyMap = new WeakMap();\n        this.watcherMap = new WeakMap(); // special triggers to update elements\n        // special triggers to update elements\n\n        this.updateMap = new WeakMap(); // callback functions to update styles\n        // callback functions to update styles\n\n        this.clearMap = new WeakMap(); // callback functions to clear styles\n        // callback functions to clear styles\n\n        this.subject = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Subject\"]();\n        this.observeActivations();\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(MediaMarshaller, [{\n        key: \"onMediaChange\",\n\n        /**\n         * Update styles on breakpoint activates or deactivates\n         * @param {?} mc\n         * @return {?}\n         */\n        value: function onMediaChange(mc) {\n          /** @type {?} */\n          var bp = this.findByQuery(mc.mediaQuery);\n\n          if (bp) {\n            mc = mergeAlias(mc, bp);\n\n            if (mc.matches && this.activatedBreakpoints.indexOf(bp) === -1) {\n              this.activatedBreakpoints.push(bp);\n              this.activatedBreakpoints.sort(sortDescendingPriority);\n              this.updateStyles();\n            } else if (!mc.matches && this.activatedBreakpoints.indexOf(bp) !== -1) {\n              // Remove the breakpoint when it's deactivated\n              this.activatedBreakpoints.splice(this.activatedBreakpoints.indexOf(bp), 1);\n              this.activatedBreakpoints.sort(sortDescendingPriority);\n              this.updateStyles();\n            }\n          }\n        }\n        /**\n         * initialize the marshaller with necessary elements for delegation on an element\n         * @param {?} element\n         * @param {?} key\n         * @param {?=} updateFn optional callback so that custom bp directives don't have to re-provide this\n         * @param {?=} clearFn optional callback so that custom bp directives don't have to re-provide this\n         * @param {?=} extraTriggers other triggers to force style updates (e.g. layout, directionality, etc)\n         * @return {?}\n         */\n\n      }, {\n        key: \"init\",\n        value: function init(element, key, updateFn, clearFn) {\n          var extraTriggers = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : [];\n          initBuilderMap(this.updateMap, element, key, updateFn);\n          initBuilderMap(this.clearMap, element, key, clearFn);\n          this.buildElementKeyMap(element, key);\n          this.watchExtraTriggers(element, key, extraTriggers);\n        }\n        /**\n         * get the value for an element and key and optionally a given breakpoint\n         * @param {?} element\n         * @param {?} key\n         * @param {?=} bp\n         * @return {?}\n         */\n\n      }, {\n        key: \"getValue\",\n        value: function getValue(element, key, bp) {\n          /** @type {?} */\n          var bpMap = this.elementMap.get(element);\n\n          if (bpMap) {\n            /** @type {?} */\n            var values = bp !== undefined ? bpMap.get(bp) : this.getActivatedValues(bpMap, key);\n\n            if (values) {\n              return values.get(key);\n            }\n          }\n\n          return undefined;\n        }\n        /**\n         * whether the element has values for a given key\n         * @param {?} element\n         * @param {?} key\n         * @return {?}\n         */\n\n      }, {\n        key: \"hasValue\",\n        value: function hasValue(element, key) {\n          /** @type {?} */\n          var bpMap = this.elementMap.get(element);\n\n          if (bpMap) {\n            /** @type {?} */\n            var values = this.getActivatedValues(bpMap, key);\n\n            if (values) {\n              return values.get(key) !== undefined || false;\n            }\n          }\n\n          return false;\n        }\n        /**\n         * Set the value for an input on a directive\n         * @param {?} element the element in question\n         * @param {?} key the type of the directive (e.g. flex, layout-gap, etc)\n         * @param {?} val the value for the breakpoint\n         * @param {?} bp the breakpoint suffix (empty string = default)\n         * @return {?}\n         */\n\n      }, {\n        key: \"setValue\",\n        value: function setValue(element, key, val, bp) {\n          /** @type {?} */\n          var bpMap = this.elementMap.get(element);\n\n          if (!bpMap) {\n            bpMap = new Map().set(bp, new Map().set(key, val));\n            this.elementMap.set(element, bpMap);\n          } else {\n            /** @type {?} */\n            var values = (bpMap.get(bp) || new Map()).set(key, val);\n            bpMap.set(bp, values);\n            this.elementMap.set(element, bpMap);\n          }\n          /** @type {?} */\n\n\n          var value = this.getValue(element, key);\n\n          if (value !== undefined) {\n            this.updateElement(element, key, value);\n          }\n        }\n        /**\n         * Track element value changes for a specific key\n         * @param {?} element\n         * @param {?} key\n         * @return {?}\n         */\n\n      }, {\n        key: \"trackValue\",\n        value: function trackValue(element, key) {\n          return this.subject.asObservable().pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"filter\"])(\n          /**\n          * @param {?} v\n          * @return {?}\n          */\n          function (v) {\n            return v.element === element && v.key === key;\n          }));\n        }\n        /**\n         * update all styles for all elements on the current breakpoint\n         * @return {?}\n         */\n\n      }, {\n        key: \"updateStyles\",\n        value: function updateStyles() {\n          var _this493 = this;\n\n          this.elementMap.forEach(\n          /**\n          * @param {?} bpMap\n          * @param {?} el\n          * @return {?}\n          */\n          function (bpMap, el) {\n            /** @type {?} */\n            var keyMap = new Set(\n            /** @type {?} */\n            _this493.elementKeyMap.get(el));\n            /** @type {?} */\n\n            var valueMap = _this493.getActivatedValues(bpMap);\n\n            if (valueMap) {\n              valueMap.forEach(\n              /**\n              * @param {?} v\n              * @param {?} k\n              * @return {?}\n              */\n              function (v, k) {\n                _this493.updateElement(el, k, v);\n\n                keyMap.delete(k);\n              });\n            }\n\n            keyMap.forEach(\n            /**\n            * @param {?} k\n            * @return {?}\n            */\n            function (k) {\n              valueMap = _this493.getActivatedValues(bpMap, k);\n\n              if (valueMap) {\n                /** @type {?} */\n                var value = valueMap.get(k);\n\n                _this493.updateElement(el, k, value);\n              } else {\n                _this493.clearElement(el, k);\n              }\n            });\n          });\n        }\n        /**\n         * clear the styles for a given element\n         * @param {?} element\n         * @param {?} key\n         * @return {?}\n         */\n\n      }, {\n        key: \"clearElement\",\n        value: function clearElement(element, key) {\n          /** @type {?} */\n          var builders = this.clearMap.get(element);\n\n          if (builders) {\n            /** @type {?} */\n            var clearFn =\n            /** @type {?} */\n            builders.get(key);\n\n            if (!!clearFn) {\n              clearFn();\n              this.subject.next({\n                element: element,\n                key: key,\n                value: ''\n              });\n            }\n          }\n        }\n        /**\n         * update a given element with the activated values for a given key\n         * @param {?} element\n         * @param {?} key\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"updateElement\",\n        value: function updateElement(element, key, value) {\n          /** @type {?} */\n          var builders = this.updateMap.get(element);\n\n          if (builders) {\n            /** @type {?} */\n            var updateFn =\n            /** @type {?} */\n            builders.get(key);\n\n            if (!!updateFn) {\n              updateFn(value);\n              this.subject.next({\n                element: element,\n                key: key,\n                value: value\n              });\n            }\n          }\n        }\n        /**\n         * release all references to a given element\n         * @param {?} element\n         * @return {?}\n         */\n\n      }, {\n        key: \"releaseElement\",\n        value: function releaseElement(element) {\n          /** @type {?} */\n          var watcherMap = this.watcherMap.get(element);\n\n          if (watcherMap) {\n            watcherMap.forEach(\n            /**\n            * @param {?} s\n            * @return {?}\n            */\n            function (s) {\n              return s.unsubscribe();\n            });\n            this.watcherMap.delete(element);\n          }\n          /** @type {?} */\n\n\n          var elementMap = this.elementMap.get(element);\n\n          if (elementMap) {\n            elementMap.forEach(\n            /**\n            * @param {?} _\n            * @param {?} s\n            * @return {?}\n            */\n            function (_, s) {\n              return elementMap.delete(s);\n            });\n            this.elementMap.delete(element);\n          }\n        }\n        /**\n         * trigger an update for a given element and key (e.g. layout)\n         * @param {?} element\n         * @param {?=} key\n         * @return {?}\n         */\n\n      }, {\n        key: \"triggerUpdate\",\n        value: function triggerUpdate(element, key) {\n          var _this494 = this;\n\n          /** @type {?} */\n          var bpMap = this.elementMap.get(element);\n\n          if (bpMap) {\n            /** @type {?} */\n            var valueMap = this.getActivatedValues(bpMap, key);\n\n            if (valueMap) {\n              if (key) {\n                this.updateElement(element, key, valueMap.get(key));\n              } else {\n                valueMap.forEach(\n                /**\n                * @param {?} v\n                * @param {?} k\n                * @return {?}\n                */\n                function (v, k) {\n                  return _this494.updateElement(element, k, v);\n                });\n              }\n            }\n          }\n        }\n        /**\n         * Cross-reference for HTMLElement with directive key\n         * @private\n         * @param {?} element\n         * @param {?} key\n         * @return {?}\n         */\n\n      }, {\n        key: \"buildElementKeyMap\",\n        value: function buildElementKeyMap(element, key) {\n          /** @type {?} */\n          var keyMap = this.elementKeyMap.get(element);\n\n          if (!keyMap) {\n            keyMap = new Set();\n            this.elementKeyMap.set(element, keyMap);\n          }\n\n          keyMap.add(key);\n        }\n        /**\n         * Other triggers that should force style updates:\n         * - directionality\n         * - layout changes\n         * - mutationobserver updates\n         * @private\n         * @param {?} element\n         * @param {?} key\n         * @param {?} triggers\n         * @return {?}\n         */\n\n      }, {\n        key: \"watchExtraTriggers\",\n        value: function watchExtraTriggers(element, key, triggers) {\n          var _this495 = this;\n\n          if (triggers && triggers.length) {\n            /** @type {?} */\n            var watchers = this.watcherMap.get(element);\n\n            if (!watchers) {\n              watchers = new Map();\n              this.watcherMap.set(element, watchers);\n            }\n            /** @type {?} */\n\n\n            var subscription = watchers.get(key);\n\n            if (!subscription) {\n              /** @type {?} */\n              var newSubscription = Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"merge\"]).apply(void 0, _toConsumableArray(triggers)).subscribe(\n              /**\n              * @return {?}\n              */\n              function () {\n                /** @type {?} */\n                var currentValue = _this495.getValue(element, key);\n\n                _this495.updateElement(element, key, currentValue);\n              });\n              watchers.set(key, newSubscription);\n            }\n          }\n        }\n        /**\n         * Breakpoint locator by mediaQuery\n         * @private\n         * @param {?} query\n         * @return {?}\n         */\n\n      }, {\n        key: \"findByQuery\",\n        value: function findByQuery(query) {\n          return this.breakpoints.findByQuery(query);\n        }\n        /**\n         * get the fallback breakpoint for a given element, starting with the current breakpoint\n         * @private\n         * @param {?} bpMap\n         * @param {?=} key\n         * @return {?}\n         */\n\n      }, {\n        key: \"getActivatedValues\",\n        value: function getActivatedValues(bpMap, key) {\n          for (var i = 0; i < this.activatedBreakpoints.length; i++) {\n            /** @type {?} */\n            var activatedBp = this.activatedBreakpoints[i];\n            /** @type {?} */\n\n            var valueMap = bpMap.get(activatedBp.alias);\n\n            if (valueMap) {\n              if (key === undefined || valueMap.has(key)) {\n                return valueMap;\n              }\n            }\n          }\n          /** @type {?} */\n\n\n          var lastHope = bpMap.get('');\n          return key === undefined || lastHope && lastHope.has(key) ? lastHope : undefined;\n        }\n        /**\n         * Watch for mediaQuery breakpoint activations\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"observeActivations\",\n        value: function observeActivations() {\n          /** @type {?} */\n          var target =\n          /** @type {?} */\n\n          /** @type {?} */\n          this;\n          /** @type {?} */\n\n          var queries = this.breakpoints.items.map(\n          /**\n          * @param {?} bp\n          * @return {?}\n          */\n          function (bp) {\n            return bp.mediaQuery;\n          });\n          this.matchMedia.observe(this.hook.withPrintQuery(queries)).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"tap\"])(this.hook.interceptEvents(target)), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"filter\"])(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this));\n        }\n      }, {\n        key: \"activatedAlias\",\n        get: function get() {\n          return this.activatedBreakpoints[0] ? this.activatedBreakpoints[0].alias : '';\n        }\n      }]);\n\n      return MediaMarshaller;\n    }();\n\n    MediaMarshaller.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    MediaMarshaller.ctorParameters = function () {\n      return [{\n        type: MatchMedia\n      }, {\n        type: BreakPointRegistry\n      }, {\n        type: PrintHook\n      }];\n    };\n    /** @nocollapse */\n\n\n    MediaMarshaller.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({\n      factory: function MediaMarshaller_Factory() {\n        return new MediaMarshaller(Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(MatchMedia), Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(BreakPointRegistry), Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(PrintHook));\n      },\n      token: MediaMarshaller,\n      providedIn: \"root\"\n    });\n    /**\n     * @param {?} map\n     * @param {?} element\n     * @param {?} key\n     * @param {?=} input\n     * @return {?}\n     */\n\n    function initBuilderMap(map$$1, element, key, input) {\n      if (input !== undefined) {\n        /** @type {?} */\n        var oldMap = map$$1.get(element);\n\n        if (!oldMap) {\n          oldMap = new Map();\n          map$$1.set(element, oldMap);\n        }\n\n        oldMap.set(key, input);\n      }\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/@angular/flex-layout/esm2015/extended.js\":\n  /*!***************************************************************!*\\\n    !*** ./node_modules/@angular/flex-layout/esm2015/extended.js ***!\n    \\***************************************************************/\n\n  /*! exports provided: ExtendedModule, ClassDirective, LayoutNgClassImplProvider, DefaultClassDirective, ImgSrcStyleBuilder, ImgSrcDirective, DefaultImgSrcDirective, ShowHideStyleBuilder, ShowHideDirective, DefaultShowHideDirective, StyleDirective, LayoutNgStyleImplProvider, DefaultStyleDirective */\n\n  /***/\n  function node_modulesAngularFlexLayoutEsm2015ExtendedJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ExtendedModule\", function () {\n      return ExtendedModule;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ClassDirective\", function () {\n      return ClassDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"LayoutNgClassImplProvider\", function () {\n      return LayoutNgClassImplProvider;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DefaultClassDirective\", function () {\n      return DefaultClassDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ImgSrcStyleBuilder\", function () {\n      return ImgSrcStyleBuilder;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ImgSrcDirective\", function () {\n      return ImgSrcDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DefaultImgSrcDirective\", function () {\n      return DefaultImgSrcDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ShowHideStyleBuilder\", function () {\n      return ShowHideStyleBuilder;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ShowHideDirective\", function () {\n      return ShowHideDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DefaultShowHideDirective\", function () {\n      return DefaultShowHideDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"StyleDirective\", function () {\n      return StyleDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"LayoutNgStyleImplProvider\", function () {\n      return LayoutNgStyleImplProvider;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DefaultStyleDirective\", function () {\n      return DefaultStyleDirective;\n    });\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/common */\n    \"./node_modules/@angular/common/fesm2015/common.js\");\n    /* harmony import */\n\n\n    var _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! @angular/flex-layout/core */\n    \"./node_modules/@angular/flex-layout/esm2015/core.js\");\n    /* harmony import */\n\n\n    var _angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! @angular/cdk/coercion */\n    \"./node_modules/@angular/cdk/esm2015/coercion.js\");\n    /* harmony import */\n\n\n    var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! rxjs/operators */\n    \"./node_modules/rxjs/_esm2015/operators/index.js\");\n    /* harmony import */\n\n\n    var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\n    /*! @angular/platform-browser */\n    \"./node_modules/@angular/platform-browser/fesm2015/platform-browser.js\");\n    /**\n     * @license\n     * Copyright Google LLC All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n\n    var ImgSrcStyleBuilder =\n    /*#__PURE__*/\n    function (_angular_flex_layout_) {\n      _inherits(ImgSrcStyleBuilder, _angular_flex_layout_);\n\n      function ImgSrcStyleBuilder() {\n        _classCallCheck(this, ImgSrcStyleBuilder);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(ImgSrcStyleBuilder).apply(this, arguments));\n      }\n\n      _createClass2(ImgSrcStyleBuilder, [{\n        key: \"buildStyles\",\n\n        /**\n         * @param {?} url\n         * @return {?}\n         */\n        value: function buildStyles(url) {\n          return {\n            'content': url ? \"url(\".concat(url, \")\") : ''\n          };\n        }\n      }]);\n\n      return ImgSrcStyleBuilder;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"StyleBuilder\"]);\n\n    ImgSrcStyleBuilder.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    ImgSrcStyleBuilder.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({\n      factory: function ImgSrcStyleBuilder_Factory() {\n        return new ImgSrcStyleBuilder();\n      },\n      token: ImgSrcStyleBuilder,\n      providedIn: \"root\"\n    });\n\n    var ImgSrcDirective =\n    /*#__PURE__*/\n    function (_angular_flex_layout_2) {\n      _inherits(ImgSrcDirective, _angular_flex_layout_2);\n\n      /**\n       * @param {?} elementRef\n       * @param {?} styleBuilder\n       * @param {?} styler\n       * @param {?} marshal\n       * @param {?} platformId\n       * @param {?} serverModuleLoaded\n       */\n      function ImgSrcDirective(elementRef, styleBuilder, styler, marshal, platformId, serverModuleLoaded) {\n        var _this496;\n\n        _classCallCheck(this, ImgSrcDirective);\n\n        _this496 = _possibleConstructorReturn(this, _getPrototypeOf(ImgSrcDirective).call(this, elementRef, styleBuilder, styler, marshal));\n        _this496.elementRef = elementRef;\n        _this496.styleBuilder = styleBuilder;\n        _this496.styler = styler;\n        _this496.marshal = marshal;\n        _this496.platformId = platformId;\n        _this496.serverModuleLoaded = serverModuleLoaded;\n        _this496.DIRECTIVE_KEY = 'img-src';\n        _this496.defaultSrc = '';\n        _this496.styleCache = imgSrcCache;\n\n        _this496.init();\n\n        _this496.setValue(_this496.nativeElement.getAttribute('src') || '', '');\n\n        if (Object(_angular_common__WEBPACK_IMPORTED_MODULE_1__[\"isPlatformServer\"])(_this496.platformId) && _this496.serverModuleLoaded) {\n          _this496.nativeElement.setAttribute('src', '');\n        }\n\n        return _this496;\n      }\n      /**\n       * @param {?} val\n       * @return {?}\n       */\n\n\n      _createClass2(ImgSrcDirective, [{\n        key: \"updateWithValue\",\n\n        /**\n         * Use the [responsively] activated input value to update\n         * the host img src attribute or assign a default `img.src=''`\n         * if the src has not been defined.\n         *\n         * Do nothing to standard `<img src=\"\">` usages, only when responsive\n         * keys are present do we actually call `setAttribute()`\n         * @protected\n         * @param {?=} value\n         * @return {?}\n         */\n        value: function updateWithValue(value) {\n          /** @type {?} */\n          var url = value || this.defaultSrc;\n\n          if (Object(_angular_common__WEBPACK_IMPORTED_MODULE_1__[\"isPlatformServer\"])(this.platformId) && this.serverModuleLoaded) {\n            this.addStyles(url);\n          } else {\n            this.nativeElement.setAttribute('src', url);\n          }\n        }\n      }, {\n        key: \"src\",\n        set: function set(val) {\n          this.defaultSrc = val;\n          this.setValue(this.defaultSrc, '');\n        }\n      }]);\n\n      return ImgSrcDirective;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"BaseDirective2\"]);\n\n    ImgSrcDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: 'img-src-directive'\n      }]\n    }];\n    /** @nocollapse */\n\n    ImgSrcDirective.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"]\n      }, {\n        type: ImgSrcStyleBuilder\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"StyleUtils\"]\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"MediaMarshaller\"]\n      }, {\n        type: Object,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"PLATFORM_ID\"]]\n        }]\n      }, {\n        type: Boolean,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"SERVER_TOKEN\"]]\n        }]\n      }];\n    };\n\n    ImgSrcDirective.propDecorators = {\n      src: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"],\n        args: ['src']\n      }]\n    };\n    /** @type {?} */\n\n    var imgSrcCache = new Map();\n    /** @type {?} */\n\n    var inputs = ['src.xs', 'src.sm', 'src.md', 'src.lg', 'src.xl', 'src.lt-sm', 'src.lt-md', 'src.lt-lg', 'src.lt-xl', 'src.gt-xs', 'src.gt-sm', 'src.gt-md', 'src.gt-lg'];\n    /** @type {?} */\n\n    var selector = \"\\n  img[src.xs],    img[src.sm],    img[src.md],    img[src.lg],   img[src.xl],\\n  img[src.lt-sm], img[src.lt-md], img[src.lt-lg], img[src.lt-xl],\\n  img[src.gt-xs], img[src.gt-sm], img[src.gt-md], img[src.gt-lg]\\n\";\n    /**\n     * This directive provides a responsive API for the HTML <img> 'src' attribute\n     * and will update the img.src property upon each responsive activation.\n     *\n     * e.g.\n     *      <img src=\"defaultScene.jpg\" src.xs=\"mobileScene.jpg\"></img>\n     *\n     * @see https://css-tricks.com/responsive-images-youre-just-changing-resolutions-use-src/\n     */\n\n    var DefaultImgSrcDirective =\n    /*#__PURE__*/\n    function (_ImgSrcDirective) {\n      _inherits(DefaultImgSrcDirective, _ImgSrcDirective);\n\n      function DefaultImgSrcDirective() {\n        var _this497;\n\n        _classCallCheck(this, DefaultImgSrcDirective);\n\n        _this497 = _possibleConstructorReturn(this, _getPrototypeOf(DefaultImgSrcDirective).apply(this, arguments));\n        _this497.inputs = inputs;\n        return _this497;\n      }\n\n      return DefaultImgSrcDirective;\n    }(ImgSrcDirective);\n\n    DefaultImgSrcDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: selector,\n        inputs: inputs\n      }]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    var ClassDirective =\n    /*#__PURE__*/\n    function (_angular_flex_layout_3) {\n      _inherits(ClassDirective, _angular_flex_layout_3);\n\n      /**\n       * @param {?} elementRef\n       * @param {?} styler\n       * @param {?} marshal\n       * @param {?} delegate\n       * @param {?} ngClassInstance\n       */\n      function ClassDirective(elementRef, styler, marshal, delegate, ngClassInstance) {\n        var _this498;\n\n        _classCallCheck(this, ClassDirective);\n\n        _this498 = _possibleConstructorReturn(this, _getPrototypeOf(ClassDirective).call(this, elementRef,\n        /** @type {?} */\n        null, styler, marshal));\n        _this498.elementRef = elementRef;\n        _this498.styler = styler;\n        _this498.marshal = marshal;\n        _this498.delegate = delegate;\n        _this498.ngClassInstance = ngClassInstance;\n        _this498.DIRECTIVE_KEY = 'ngClass';\n\n        if (!_this498.ngClassInstance) {\n          // Create an instance NgClass Directive instance only if `ngClass=\"\"` has NOT been defined on\n          // the same host element; since the responsive variations may be defined...\n          _this498.ngClassInstance = new _angular_common__WEBPACK_IMPORTED_MODULE_1__[\"NgClass\"](_this498.delegate);\n        }\n\n        _this498.init();\n\n        _this498.setValue('', '');\n\n        return _this498;\n      }\n      /**\n       * Capture class assignments so we cache the default classes\n       * which are merged with activated styles and used as fallbacks.\n       * @param {?} val\n       * @return {?}\n       */\n\n\n      _createClass2(ClassDirective, [{\n        key: \"updateWithValue\",\n\n        /**\n         * @protected\n         * @param {?} value\n         * @return {?}\n         */\n        value: function updateWithValue(value) {\n          this.ngClassInstance.ngClass = value;\n          this.ngClassInstance.ngDoCheck();\n        } // ******************************************************************\n        // Lifecycle Hooks\n        // ******************************************************************\n\n        /**\n         * For ChangeDetectionStrategy.onPush and ngOnChanges() updates\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngDoCheck\",\n        value: function ngDoCheck() {\n          this.ngClassInstance.ngDoCheck();\n        }\n      }, {\n        key: \"klass\",\n        set: function set(val) {\n          this.ngClassInstance.klass = val;\n          this.setValue(val, '');\n        }\n      }]);\n\n      return ClassDirective;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"BaseDirective2\"]);\n\n    ClassDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: 'class-directive'\n      }]\n    }];\n    /** @nocollapse */\n\n    ClassDirective.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"]\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"StyleUtils\"]\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"MediaMarshaller\"]\n      }, {\n        type: _angular_common__WEBPACK_IMPORTED_MODULE_1__[\"ɵNgClassImpl\"]\n      }, {\n        type: _angular_common__WEBPACK_IMPORTED_MODULE_1__[\"NgClass\"],\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"]\n        }]\n      }];\n    };\n\n    ClassDirective.propDecorators = {\n      klass: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"],\n        args: ['class']\n      }]\n    };\n    /** @type {?} */\n\n    var inputs$1 = ['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'];\n    /** @type {?} */\n\n    var selector$1 = \"\\n  [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl],\\n  [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl],\\n  [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]\\n\"; // tslint:disable-next-line:variable-name\n\n    /** @type {?} */\n\n    var LayoutNgClassImplProvider = {\n      provide: _angular_common__WEBPACK_IMPORTED_MODULE_1__[\"ɵNgClassImpl\"],\n      useClass: _angular_common__WEBPACK_IMPORTED_MODULE_1__[\"ɵNgClassR2Impl\"]\n    };\n    /**\n     * Directive to add responsive support for ngClass.\n     * This maintains the core functionality of 'ngClass' and adds responsive API\n     * Note: this class is a no-op when rendered on the server\n     */\n\n    var DefaultClassDirective =\n    /*#__PURE__*/\n    function (_ClassDirective) {\n      _inherits(DefaultClassDirective, _ClassDirective);\n\n      function DefaultClassDirective() {\n        var _this499;\n\n        _classCallCheck(this, DefaultClassDirective);\n\n        _this499 = _possibleConstructorReturn(this, _getPrototypeOf(DefaultClassDirective).apply(this, arguments));\n        _this499.inputs = inputs$1;\n        return _this499;\n      }\n\n      return DefaultClassDirective;\n    }(ClassDirective);\n\n    DefaultClassDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: selector$1,\n        inputs: inputs$1,\n        providers: [LayoutNgClassImplProvider]\n      }]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    var ShowHideStyleBuilder =\n    /*#__PURE__*/\n    function (_angular_flex_layout_4) {\n      _inherits(ShowHideStyleBuilder, _angular_flex_layout_4);\n\n      function ShowHideStyleBuilder() {\n        _classCallCheck(this, ShowHideStyleBuilder);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(ShowHideStyleBuilder).apply(this, arguments));\n      }\n\n      _createClass2(ShowHideStyleBuilder, [{\n        key: \"buildStyles\",\n\n        /**\n         * @param {?} show\n         * @param {?} parent\n         * @return {?}\n         */\n        value: function buildStyles(show, parent) {\n          /** @type {?} */\n          var shouldShow = show === 'true';\n          return {\n            'display': shouldShow ? parent.display : 'none'\n          };\n        }\n      }]);\n\n      return ShowHideStyleBuilder;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"StyleBuilder\"]);\n\n    ShowHideStyleBuilder.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    ShowHideStyleBuilder.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({\n      factory: function ShowHideStyleBuilder_Factory() {\n        return new ShowHideStyleBuilder();\n      },\n      token: ShowHideStyleBuilder,\n      providedIn: \"root\"\n    });\n\n    var ShowHideDirective =\n    /*#__PURE__*/\n    function (_angular_flex_layout_5) {\n      _inherits(ShowHideDirective, _angular_flex_layout_5);\n\n      /**\n       * @param {?} elementRef\n       * @param {?} styleBuilder\n       * @param {?} styler\n       * @param {?} marshal\n       * @param {?} layoutConfig\n       * @param {?} platformId\n       * @param {?} serverModuleLoaded\n       */\n      function ShowHideDirective(elementRef, styleBuilder, styler, marshal, layoutConfig, platformId, serverModuleLoaded) {\n        var _this500;\n\n        _classCallCheck(this, ShowHideDirective);\n\n        _this500 = _possibleConstructorReturn(this, _getPrototypeOf(ShowHideDirective).call(this, elementRef, styleBuilder, styler, marshal));\n        _this500.elementRef = elementRef;\n        _this500.styleBuilder = styleBuilder;\n        _this500.styler = styler;\n        _this500.marshal = marshal;\n        _this500.layoutConfig = layoutConfig;\n        _this500.platformId = platformId;\n        _this500.serverModuleLoaded = serverModuleLoaded;\n        _this500.DIRECTIVE_KEY = 'show-hide';\n        /**\n         * Original dom Elements CSS display style\n         */\n\n        _this500.display = '';\n        _this500.hasLayout = false;\n        _this500.hasFlexChild = false;\n        return _this500;\n      } // *********************************************\n      // Lifecycle Methods\n      // *********************************************\n\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(ShowHideDirective, [{\n        key: \"ngAfterViewInit\",\n        value: function ngAfterViewInit() {\n          this.trackExtraTriggers();\n          /** @type {?} */\n\n          var children = Array.from(this.nativeElement.children);\n\n          for (var i = 0; i < children.length; i++) {\n            if (this.marshal.hasValue(\n            /** @type {?} */\n            children[i], 'flex')) {\n              this.hasFlexChild = true;\n              break;\n            }\n          }\n\n          if (DISPLAY_MAP.has(this.nativeElement)) {\n            this.display =\n            /** @type {?} */\n            DISPLAY_MAP.get(this.nativeElement);\n          } else {\n            this.display = this.getDisplayStyle();\n            DISPLAY_MAP.set(this.nativeElement, this.display);\n          }\n\n          this.init(); // set the default to show unless explicitly overridden\n\n          /** @type {?} */\n\n          var defaultValue = this.marshal.getValue(this.nativeElement, this.DIRECTIVE_KEY, '');\n\n          if (defaultValue === undefined || defaultValue === '') {\n            this.setValue(true, '');\n          } else {\n            this.triggerUpdate();\n          }\n        }\n        /**\n         * On changes to any \\@Input properties...\n         * Default to use the non-responsive Input value ('fxShow')\n         * Then conditionally override with the mq-activated Input's current value\n         * @param {?} changes\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngOnChanges\",\n        value: function ngOnChanges(changes) {\n          var _this501 = this;\n\n          Object.keys(changes).forEach(\n          /**\n          * @param {?} key\n          * @return {?}\n          */\n          function (key) {\n            if (_this501.inputs.indexOf(key) !== -1) {\n              /** @type {?} */\n              var inputKey = key.split('.');\n              /** @type {?} */\n\n              var bp = inputKey.slice(1).join('.');\n              /** @type {?} */\n\n              var inputValue = changes[key].currentValue;\n              /** @type {?} */\n\n              var shouldShow = inputValue !== '' ? inputValue !== 0 ? Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_3__[\"coerceBooleanProperty\"])(inputValue) : false : true;\n\n              if (inputKey[0] === 'fxHide') {\n                shouldShow = !shouldShow;\n              }\n\n              _this501.setValue(shouldShow, bp);\n            }\n          });\n        } // *********************************************\n        // Protected methods\n        // *********************************************\n\n        /**\n         *  Watch for these extra triggers to update fxShow, fxHide stylings\n         * @protected\n         * @return {?}\n         */\n\n      }, {\n        key: \"trackExtraTriggers\",\n        value: function trackExtraTriggers() {\n          var _this502 = this;\n\n          this.hasLayout = this.marshal.hasValue(this.nativeElement, 'layout');\n          ['layout', 'layout-align'].forEach(\n          /**\n          * @param {?} key\n          * @return {?}\n          */\n          function (key) {\n            _this502.marshal.trackValue(_this502.nativeElement, key).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"takeUntil\"])(_this502.destroySubject)).subscribe(_this502.triggerUpdate.bind(_this502));\n          });\n        }\n        /**\n         * Override accessor to the current HTMLElement's `display` style\n         * Note: Show/Hide will not change the display to 'flex' but will set it to 'block'\n         * unless it was already explicitly specified inline or in a CSS stylesheet.\n         * @protected\n         * @return {?}\n         */\n\n      }, {\n        key: \"getDisplayStyle\",\n        value: function getDisplayStyle() {\n          return this.hasLayout || this.hasFlexChild && this.layoutConfig.addFlexToParent ? 'flex' : this.styler.lookupStyle(this.nativeElement, 'display', true);\n        }\n        /**\n         * Validate the visibility value and then update the host's inline display style\n         * @protected\n         * @param {?=} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"updateWithValue\",\n        value: function updateWithValue() {\n          var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;\n\n          if (value === '') {\n            return;\n          }\n\n          this.addStyles(value ? 'true' : 'false', {\n            display: this.display\n          });\n\n          if (Object(_angular_common__WEBPACK_IMPORTED_MODULE_1__[\"isPlatformServer\"])(this.platformId) && this.serverModuleLoaded) {\n            this.nativeElement.style.setProperty('display', '');\n          }\n\n          this.marshal.triggerUpdate(\n          /** @type {?} */\n          this.parentElement, 'layout-gap');\n        }\n      }]);\n\n      return ShowHideDirective;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"BaseDirective2\"]);\n\n    ShowHideDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: 'show-hide-directive'\n      }]\n    }];\n    /** @nocollapse */\n\n    ShowHideDirective.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"]\n      }, {\n        type: ShowHideStyleBuilder\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"StyleUtils\"]\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"MediaMarshaller\"]\n      }, {\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"LAYOUT_CONFIG\"]]\n        }]\n      }, {\n        type: Object,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"PLATFORM_ID\"]]\n        }]\n      }, {\n        type: Boolean,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"SERVER_TOKEN\"]]\n        }]\n      }];\n    };\n    /** @type {?} */\n\n\n    var DISPLAY_MAP = new WeakMap();\n    /** @type {?} */\n\n    var inputs$2 = ['fxShow', 'fxShow.print', 'fxShow.xs', 'fxShow.sm', 'fxShow.md', 'fxShow.lg', 'fxShow.xl', 'fxShow.lt-sm', 'fxShow.lt-md', 'fxShow.lt-lg', 'fxShow.lt-xl', 'fxShow.gt-xs', 'fxShow.gt-sm', 'fxShow.gt-md', 'fxShow.gt-lg', 'fxHide', 'fxHide.print', 'fxHide.xs', 'fxHide.sm', 'fxHide.md', 'fxHide.lg', 'fxHide.xl', 'fxHide.lt-sm', 'fxHide.lt-md', 'fxHide.lt-lg', 'fxHide.lt-xl', 'fxHide.gt-xs', 'fxHide.gt-sm', 'fxHide.gt-md', 'fxHide.gt-lg'];\n    /** @type {?} */\n\n    var selector$2 = \"\\n  [fxShow], [fxShow.print],\\n  [fxShow.xs], [fxShow.sm], [fxShow.md], [fxShow.lg], [fxShow.xl],\\n  [fxShow.lt-sm], [fxShow.lt-md], [fxShow.lt-lg], [fxShow.lt-xl],\\n  [fxShow.gt-xs], [fxShow.gt-sm], [fxShow.gt-md], [fxShow.gt-lg],\\n  [fxHide], [fxHide.print],\\n  [fxHide.xs], [fxHide.sm], [fxHide.md], [fxHide.lg], [fxHide.xl],\\n  [fxHide.lt-sm], [fxHide.lt-md], [fxHide.lt-lg], [fxHide.lt-xl],\\n  [fxHide.gt-xs], [fxHide.gt-sm], [fxHide.gt-md], [fxHide.gt-lg]\\n\";\n    /**\n     * 'show' Layout API directive\n     */\n\n    var DefaultShowHideDirective =\n    /*#__PURE__*/\n    function (_ShowHideDirective) {\n      _inherits(DefaultShowHideDirective, _ShowHideDirective);\n\n      function DefaultShowHideDirective() {\n        var _this503;\n\n        _classCallCheck(this, DefaultShowHideDirective);\n\n        _this503 = _possibleConstructorReturn(this, _getPrototypeOf(DefaultShowHideDirective).apply(this, arguments));\n        _this503.inputs = inputs$2;\n        return _this503;\n      }\n\n      return DefaultShowHideDirective;\n    }(ShowHideDirective);\n\n    DefaultShowHideDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: selector$2,\n        inputs: inputs$2\n      }]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * NgStyle allowed inputs\n     */\n\n    var NgStyleKeyValue =\n    /**\n     * @param {?} key\n     * @param {?} value\n     * @param {?=} noQuotes\n     */\n    function NgStyleKeyValue(key, value) {\n      var noQuotes = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n\n      _classCallCheck(this, NgStyleKeyValue);\n\n      this.key = key;\n      this.value = value;\n      this.key = noQuotes ? key.replace(/['\"]/g, '').trim() : key.trim();\n      this.value = noQuotes ? value.replace(/['\"]/g, '').trim() : value.trim();\n      this.value = this.value.replace(/;/, '');\n    };\n    /**\n     * @param {?} target\n     * @return {?}\n     */\n\n\n    function getType(target) {\n      /** @type {?} */\n      var what = typeof target;\n\n      if (what === 'object') {\n        return target.constructor === Array ? 'array' : target.constructor === Set ? 'set' : 'object';\n      }\n\n      return what;\n    }\n    /**\n     * Split string of key:value pairs into Array of k-v pairs\n     * e.g.  'key:value; key:value; key:value;' -> ['key:value',...]\n     * @param {?} source\n     * @param {?=} delimiter\n     * @return {?}\n     */\n\n\n    function buildRawList(source) {\n      var delimiter = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ';';\n      return String(source).trim().split(delimiter).map(\n      /**\n      * @param {?} val\n      * @return {?}\n      */\n      function (val) {\n        return val.trim();\n      }).filter(\n      /**\n      * @param {?} val\n      * @return {?}\n      */\n      function (val) {\n        return val !== '';\n      });\n    }\n    /**\n     * Convert array of key:value strings to a iterable map object\n     * @param {?} styles\n     * @param {?=} sanitize\n     * @return {?}\n     */\n\n\n    function buildMapFromList(styles, sanitize) {\n      /** @type {?} */\n      var sanitizeValue =\n      /**\n      * @param {?} it\n      * @return {?}\n      */\n      function sanitizeValue(it) {\n        if (sanitize) {\n          it.value = sanitize(it.value);\n        }\n\n        return it;\n      };\n\n      return styles.map(stringToKeyValue).filter(\n      /**\n      * @param {?} entry\n      * @return {?}\n      */\n      function (entry) {\n        return !!entry;\n      }).map(sanitizeValue).reduce(keyValuesToMap,\n      /** @type {?} */\n      {});\n    }\n    /**\n     * Convert Set<string> or raw Object to an iterable NgStyleMap\n     * @param {?} source\n     * @param {?=} sanitize\n     * @return {?}\n     */\n\n\n    function buildMapFromSet(source, sanitize) {\n      /** @type {?} */\n      var list = [];\n\n      if (getType(source) === 'set') {\n        /** @type {?} */\n        source.forEach(\n        /**\n        * @param {?} entry\n        * @return {?}\n        */\n        function (entry) {\n          return list.push(entry);\n        });\n      } else {\n        Object.keys(source).forEach(\n        /**\n        * @param {?} key\n        * @return {?}\n        */\n        function (key) {\n          list.push(\"\".concat(key, \":\").concat(\n          /** @type {?} */\n          source[key]));\n        });\n      }\n\n      return buildMapFromList(list, sanitize);\n    }\n    /**\n     * Convert 'key:value' -> [key, value]\n     * @param {?} it\n     * @return {?}\n     */\n\n\n    function stringToKeyValue(it) {\n      var _it$split = it.split(':'),\n          _it$split2 = _toArray(_it$split),\n          key = _it$split2[0],\n          vals = _it$split2.slice(1);\n\n      return new NgStyleKeyValue(key, vals.join(':'));\n    }\n    /**\n     * Convert [ [key,value] ] -> { key : value }\n     * @param {?} map\n     * @param {?} entry\n     * @return {?}\n     */\n\n\n    function keyValuesToMap(map, entry) {\n      if (!!entry.key) {\n        map[entry.key] = entry.value;\n      }\n\n      return map;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n\n    var StyleDirective =\n    /*#__PURE__*/\n    function (_angular_flex_layout_6) {\n      _inherits(StyleDirective, _angular_flex_layout_6);\n\n      /**\n       * @param {?} elementRef\n       * @param {?} styler\n       * @param {?} marshal\n       * @param {?} delegate\n       * @param {?} sanitizer\n       * @param {?} ngStyleInstance\n       * @param {?} serverLoaded\n       * @param {?} platformId\n       */\n      function StyleDirective(elementRef, styler, marshal, delegate, sanitizer, ngStyleInstance, serverLoaded, platformId) {\n        var _this504;\n\n        _classCallCheck(this, StyleDirective);\n\n        _this504 = _possibleConstructorReturn(this, _getPrototypeOf(StyleDirective).call(this, elementRef,\n        /** @type {?} */\n        null, styler, marshal));\n        _this504.elementRef = elementRef;\n        _this504.styler = styler;\n        _this504.marshal = marshal;\n        _this504.delegate = delegate;\n        _this504.sanitizer = sanitizer;\n        _this504.ngStyleInstance = ngStyleInstance;\n        _this504.DIRECTIVE_KEY = 'ngStyle';\n\n        if (!_this504.ngStyleInstance) {\n          // Create an instance NgClass Directive instance only if `ngClass=\"\"` has NOT been\n          // defined on the same host element; since the responsive variations may be defined...\n          _this504.ngStyleInstance = new _angular_common__WEBPACK_IMPORTED_MODULE_1__[\"NgStyle\"](_this504.delegate);\n        }\n\n        _this504.init();\n        /** @type {?} */\n\n\n        var styles = _this504.nativeElement.getAttribute('style') || '';\n        _this504.fallbackStyles = _this504.buildStyleMap(styles);\n        _this504.isServer = serverLoaded && Object(_angular_common__WEBPACK_IMPORTED_MODULE_1__[\"isPlatformServer\"])(platformId);\n        return _this504;\n      }\n      /**\n       * Add generated styles\n       * @protected\n       * @param {?} value\n       * @return {?}\n       */\n\n\n      _createClass2(StyleDirective, [{\n        key: \"updateWithValue\",\n        value: function updateWithValue(value) {\n          /** @type {?} */\n          var styles = this.buildStyleMap(value);\n          this.ngStyleInstance.ngStyle = Object.assign({}, this.fallbackStyles, styles);\n\n          if (this.isServer) {\n            this.applyStyleToElement(styles);\n          }\n\n          this.ngStyleInstance.ngDoCheck();\n        }\n        /**\n         * Remove generated styles\n         * @protected\n         * @return {?}\n         */\n\n      }, {\n        key: \"clearStyles\",\n        value: function clearStyles() {\n          this.ngStyleInstance.ngStyle = this.fallbackStyles;\n          this.ngStyleInstance.ngDoCheck();\n        }\n        /**\n         * Convert raw strings to ngStyleMap; which is required by ngStyle\n         * NOTE: Raw string key-value pairs MUST be delimited by `;`\n         *       Comma-delimiters are not supported due to complexities of\n         *       possible style values such as `rgba(x,x,x,x)` and others\n         * @protected\n         * @param {?} styles\n         * @return {?}\n         */\n\n      }, {\n        key: \"buildStyleMap\",\n        value: function buildStyleMap(styles) {\n          var _this505 = this;\n\n          // Always safe-guard (aka sanitize) style property values\n\n          /** @type {?} */\n          var sanitizer =\n          /**\n          * @param {?} val\n          * @return {?}\n          */\n          function sanitizer(val) {\n            return _this505.sanitizer.sanitize(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"SecurityContext\"].STYLE, val) || '';\n          };\n\n          if (styles) {\n            switch (getType(styles)) {\n              case 'string':\n                return buildMapFromList$1(buildRawList(styles), sanitizer);\n\n              case 'array':\n                return buildMapFromList$1(\n                /** @type {?} */\n                styles, sanitizer);\n\n              case 'set':\n                return buildMapFromSet(styles, sanitizer);\n\n              default:\n                return buildMapFromSet(styles, sanitizer);\n            }\n          }\n\n          return {};\n        } // ******************************************************************\n        // Lifecycle Hooks\n        // ******************************************************************\n\n        /**\n         * For ChangeDetectionStrategy.onPush and ngOnChanges() updates\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngDoCheck\",\n        value: function ngDoCheck() {\n          this.ngStyleInstance.ngDoCheck();\n        }\n      }]);\n\n      return StyleDirective;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"BaseDirective2\"]);\n\n    StyleDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: 'style-directive'\n      }]\n    }];\n    /** @nocollapse */\n\n    StyleDirective.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"]\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"StyleUtils\"]\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"MediaMarshaller\"]\n      }, {\n        type: _angular_common__WEBPACK_IMPORTED_MODULE_1__[\"ɵNgStyleImpl\"]\n      }, {\n        type: _angular_platform_browser__WEBPACK_IMPORTED_MODULE_5__[\"DomSanitizer\"]\n      }, {\n        type: _angular_common__WEBPACK_IMPORTED_MODULE_1__[\"NgStyle\"],\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"]\n        }]\n      }, {\n        type: Boolean,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"SERVER_TOKEN\"]]\n        }]\n      }, {\n        type: Object,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"PLATFORM_ID\"]]\n        }]\n      }];\n    };\n    /** @type {?} */\n\n\n    var inputs$3 = ['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'];\n    /** @type {?} */\n\n    var selector$3 = \"\\n  [ngStyle],\\n  [ngStyle.xs], [ngStyle.sm], [ngStyle.md], [ngStyle.lg], [ngStyle.xl],\\n  [ngStyle.lt-sm], [ngStyle.lt-md], [ngStyle.lt-lg], [ngStyle.lt-xl],\\n  [ngStyle.gt-xs], [ngStyle.gt-sm], [ngStyle.gt-md], [ngStyle.gt-lg]\\n\"; // tslint:disable-next-line:variable-name\n\n    /** @type {?} */\n\n    var LayoutNgStyleImplProvider = {\n      provide: _angular_common__WEBPACK_IMPORTED_MODULE_1__[\"ɵNgStyleImpl\"],\n      useClass: _angular_common__WEBPACK_IMPORTED_MODULE_1__[\"ɵNgStyleR2Impl\"]\n    };\n    /**\n     * Directive to add responsive support for ngStyle.\n     *\n     */\n\n    var DefaultStyleDirective =\n    /*#__PURE__*/\n    function (_StyleDirective) {\n      _inherits(DefaultStyleDirective, _StyleDirective);\n\n      function DefaultStyleDirective() {\n        var _this506;\n\n        _classCallCheck(this, DefaultStyleDirective);\n\n        _this506 = _possibleConstructorReturn(this, _getPrototypeOf(DefaultStyleDirective).apply(this, arguments));\n        _this506.inputs = inputs$3;\n        return _this506;\n      }\n\n      return DefaultStyleDirective;\n    }(StyleDirective);\n\n    DefaultStyleDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: selector$3,\n        inputs: inputs$3,\n        providers: [LayoutNgStyleImplProvider]\n      }]\n    }];\n    /**\n     * Build a styles map from a list of styles, while sanitizing bad values first\n     * @param {?} styles\n     * @param {?=} sanitize\n     * @return {?}\n     */\n\n    function buildMapFromList$1(styles, sanitize) {\n      /** @type {?} */\n      var sanitizeValue =\n      /**\n      * @param {?} it\n      * @return {?}\n      */\n      function sanitizeValue(it) {\n        if (sanitize) {\n          it.value = sanitize(it.value);\n        }\n\n        return it;\n      };\n\n      return styles.map(stringToKeyValue).filter(\n      /**\n      * @param {?} entry\n      * @return {?}\n      */\n      function (entry) {\n        return !!entry;\n      }).map(sanitizeValue).reduce(keyValuesToMap,\n      /** @type {?} */\n      {});\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var ALL_DIRECTIVES = [DefaultShowHideDirective, DefaultClassDirective, DefaultStyleDirective, DefaultImgSrcDirective, ClassDirective, ImgSrcDirective, ShowHideDirective, StyleDirective];\n    /**\n     * *****************************************************************\n     * Define module for the Extended API\n     * *****************************************************************\n     */\n\n    var ExtendedModule = function ExtendedModule() {\n      _classCallCheck(this, ExtendedModule);\n    };\n\n    ExtendedModule.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"],\n      args: [{\n        imports: [_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"CoreModule\"]],\n        declarations: [].concat(ALL_DIRECTIVES),\n        exports: [].concat(ALL_DIRECTIVES)\n      }]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /***/\n  },\n\n  /***/\n  \"./node_modules/@angular/flex-layout/esm2015/flex-layout.js\":\n  /*!******************************************************************!*\\\n    !*** ./node_modules/@angular/flex-layout/esm2015/flex-layout.js ***!\n    \\******************************************************************/\n\n  /*! exports provided: ɵMatchMedia, ɵMockMatchMedia, ɵMockMatchMediaProvider, CoreModule, removeStyles, BROWSER_PROVIDER, CLASS_NAME, MediaChange, StylesheetMap, DEFAULT_CONFIG, LAYOUT_CONFIG, SERVER_TOKEN, BREAKPOINT, mergeAlias, BaseDirective2, DEFAULT_BREAKPOINTS, ScreenTypes, ORIENTATION_BREAKPOINTS, BreakPointRegistry, BREAKPOINTS, MediaObserver, MediaTrigger, sortDescendingPriority, sortAscendingPriority, coerceArray, StyleUtils, StyleBuilder, validateBasis, MediaMarshaller, BREAKPOINT_PRINT, PrintHook, ExtendedModule, ClassDirective, LayoutNgClassImplProvider, DefaultClassDirective, ImgSrcStyleBuilder, ImgSrcDirective, DefaultImgSrcDirective, ShowHideStyleBuilder, ShowHideDirective, DefaultShowHideDirective, StyleDirective, LayoutNgStyleImplProvider, DefaultStyleDirective, FlexModule, FlexStyleBuilder, FlexDirective, DefaultFlexDirective, FlexAlignStyleBuilder, FlexAlignDirective, DefaultFlexAlignDirective, FlexFillStyleBuilder, FlexFillDirective, FlexOffsetStyleBuilder, FlexOffsetDirective, DefaultFlexOffsetDirective, FlexOrderStyleBuilder, FlexOrderDirective, DefaultFlexOrderDirective, LayoutStyleBuilder, LayoutDirective, DefaultLayoutDirective, LayoutAlignStyleBuilder, LayoutAlignDirective, DefaultLayoutAlignDirective, LayoutGapStyleBuilder, LayoutGapDirective, DefaultLayoutGapDirective, ɵf2, ɵe2, ɵd2, ɵi2, ɵh2, ɵg2, ɵl2, ɵk2, ɵj2, ɵo2, ɵn2, ɵm2, ɵr2, ɵq2, ɵp2, ɵu2, ɵt2, ɵs2, ɵx2, ɵw2, ɵv2, ɵba2, ɵz2, ɵy2, ɵc2, ɵb2, ɵa2, ɵbd2, ɵbc2, ɵbb2, ɵbg2, ɵbf2, ɵbe2, GridModule, VERSION, FlexLayoutModule */\n\n  /***/\n  function node_modulesAngularFlexLayoutEsm2015FlexLayoutJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"VERSION\", function () {\n      return VERSION;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FlexLayoutModule\", function () {\n      return FlexLayoutModule;\n    });\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/common */\n    \"./node_modules/@angular/common/fesm2015/common.js\");\n    /* harmony import */\n\n\n    var _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! @angular/flex-layout/core */\n    \"./node_modules/@angular/flex-layout/esm2015/core.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵMatchMedia\", function () {\n      return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"ɵMatchMedia\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵMockMatchMedia\", function () {\n      return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"ɵMockMatchMedia\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵMockMatchMediaProvider\", function () {\n      return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"ɵMockMatchMediaProvider\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CoreModule\", function () {\n      return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"CoreModule\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"removeStyles\", function () {\n      return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"removeStyles\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"BROWSER_PROVIDER\", function () {\n      return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"BROWSER_PROVIDER\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CLASS_NAME\", function () {\n      return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"CLASS_NAME\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MediaChange\", function () {\n      return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"MediaChange\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"StylesheetMap\", function () {\n      return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"StylesheetMap\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DEFAULT_CONFIG\", function () {\n      return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"DEFAULT_CONFIG\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"LAYOUT_CONFIG\", function () {\n      return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"LAYOUT_CONFIG\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"SERVER_TOKEN\", function () {\n      return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"SERVER_TOKEN\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"BREAKPOINT\", function () {\n      return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"BREAKPOINT\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"mergeAlias\", function () {\n      return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"mergeAlias\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"BaseDirective2\", function () {\n      return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"BaseDirective2\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DEFAULT_BREAKPOINTS\", function () {\n      return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"DEFAULT_BREAKPOINTS\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ScreenTypes\", function () {\n      return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"ScreenTypes\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ORIENTATION_BREAKPOINTS\", function () {\n      return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"ORIENTATION_BREAKPOINTS\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"BreakPointRegistry\", function () {\n      return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"BreakPointRegistry\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"BREAKPOINTS\", function () {\n      return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"BREAKPOINTS\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MediaObserver\", function () {\n      return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"MediaObserver\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MediaTrigger\", function () {\n      return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"MediaTrigger\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"sortDescendingPriority\", function () {\n      return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"sortDescendingPriority\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"sortAscendingPriority\", function () {\n      return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"sortAscendingPriority\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"coerceArray\", function () {\n      return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"coerceArray\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"StyleUtils\", function () {\n      return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"StyleUtils\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"StyleBuilder\", function () {\n      return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"StyleBuilder\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"validateBasis\", function () {\n      return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"validateBasis\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MediaMarshaller\", function () {\n      return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"MediaMarshaller\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"BREAKPOINT_PRINT\", function () {\n      return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"BREAKPOINT_PRINT\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"PrintHook\", function () {\n      return _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"PrintHook\"];\n    });\n    /* harmony import */\n\n\n    var _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! @angular/flex-layout/extended */\n    \"./node_modules/@angular/flex-layout/esm2015/extended.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ExtendedModule\", function () {\n      return _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_3__[\"ExtendedModule\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ClassDirective\", function () {\n      return _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_3__[\"ClassDirective\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"LayoutNgClassImplProvider\", function () {\n      return _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_3__[\"LayoutNgClassImplProvider\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DefaultClassDirective\", function () {\n      return _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_3__[\"DefaultClassDirective\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ImgSrcStyleBuilder\", function () {\n      return _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_3__[\"ImgSrcStyleBuilder\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ImgSrcDirective\", function () {\n      return _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_3__[\"ImgSrcDirective\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DefaultImgSrcDirective\", function () {\n      return _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_3__[\"DefaultImgSrcDirective\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ShowHideStyleBuilder\", function () {\n      return _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_3__[\"ShowHideStyleBuilder\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ShowHideDirective\", function () {\n      return _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_3__[\"ShowHideDirective\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DefaultShowHideDirective\", function () {\n      return _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_3__[\"DefaultShowHideDirective\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"StyleDirective\", function () {\n      return _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_3__[\"StyleDirective\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"LayoutNgStyleImplProvider\", function () {\n      return _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_3__[\"LayoutNgStyleImplProvider\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DefaultStyleDirective\", function () {\n      return _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_3__[\"DefaultStyleDirective\"];\n    });\n    /* harmony import */\n\n\n    var _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! @angular/flex-layout/flex */\n    \"./node_modules/@angular/flex-layout/esm2015/flex.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FlexModule\", function () {\n      return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"FlexModule\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FlexStyleBuilder\", function () {\n      return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"FlexStyleBuilder\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FlexDirective\", function () {\n      return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"FlexDirective\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DefaultFlexDirective\", function () {\n      return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"DefaultFlexDirective\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FlexAlignStyleBuilder\", function () {\n      return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"FlexAlignStyleBuilder\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FlexAlignDirective\", function () {\n      return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"FlexAlignDirective\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DefaultFlexAlignDirective\", function () {\n      return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"DefaultFlexAlignDirective\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FlexFillStyleBuilder\", function () {\n      return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"FlexFillStyleBuilder\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FlexFillDirective\", function () {\n      return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"FlexFillDirective\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FlexOffsetStyleBuilder\", function () {\n      return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"FlexOffsetStyleBuilder\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FlexOffsetDirective\", function () {\n      return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"FlexOffsetDirective\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DefaultFlexOffsetDirective\", function () {\n      return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"DefaultFlexOffsetDirective\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FlexOrderStyleBuilder\", function () {\n      return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"FlexOrderStyleBuilder\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FlexOrderDirective\", function () {\n      return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"FlexOrderDirective\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DefaultFlexOrderDirective\", function () {\n      return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"DefaultFlexOrderDirective\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"LayoutStyleBuilder\", function () {\n      return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"LayoutStyleBuilder\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"LayoutDirective\", function () {\n      return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"LayoutDirective\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DefaultLayoutDirective\", function () {\n      return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"DefaultLayoutDirective\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"LayoutAlignStyleBuilder\", function () {\n      return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"LayoutAlignStyleBuilder\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"LayoutAlignDirective\", function () {\n      return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"LayoutAlignDirective\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DefaultLayoutAlignDirective\", function () {\n      return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"DefaultLayoutAlignDirective\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"LayoutGapStyleBuilder\", function () {\n      return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"LayoutGapStyleBuilder\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"LayoutGapDirective\", function () {\n      return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"LayoutGapDirective\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DefaultLayoutGapDirective\", function () {\n      return _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"DefaultLayoutGapDirective\"];\n    });\n    /* harmony import */\n\n\n    var _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\n    /*! @angular/flex-layout/grid */\n    \"./node_modules/@angular/flex-layout/esm2015/grid.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵf2\", function () {\n      return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵf2\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵe2\", function () {\n      return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵe2\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵd2\", function () {\n      return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵd2\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵi2\", function () {\n      return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵi2\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵh2\", function () {\n      return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵh2\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵg2\", function () {\n      return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵg2\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵl2\", function () {\n      return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵl2\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵk2\", function () {\n      return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵk2\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵj2\", function () {\n      return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵj2\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵo2\", function () {\n      return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵo2\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵn2\", function () {\n      return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵn2\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵm2\", function () {\n      return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵm2\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵr2\", function () {\n      return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵr2\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵq2\", function () {\n      return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵq2\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵp2\", function () {\n      return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵp2\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵu2\", function () {\n      return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵu2\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵt2\", function () {\n      return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵt2\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵs2\", function () {\n      return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵs2\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵx2\", function () {\n      return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵx2\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵw2\", function () {\n      return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵw2\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵv2\", function () {\n      return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵv2\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵba2\", function () {\n      return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵba2\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵz2\", function () {\n      return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵz2\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵy2\", function () {\n      return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵy2\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵc2\", function () {\n      return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵc2\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵb2\", function () {\n      return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵb2\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵa2\", function () {\n      return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵa2\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵbd2\", function () {\n      return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵbd2\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵbc2\", function () {\n      return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵbc2\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵbb2\", function () {\n      return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵbb2\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵbg2\", function () {\n      return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵbg2\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵbf2\", function () {\n      return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵbf2\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵbe2\", function () {\n      return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"ɵbe2\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"GridModule\", function () {\n      return _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"GridModule\"];\n    });\n    /**\n     * @license\n     * Copyright Google LLC All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Current version of Angular Flex-Layout.\n     * @type {?}\n     */\n\n\n    var VERSION = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Version\"]('8.0.0-beta.27');\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * FlexLayoutModule -- the main import for all utilities in the Angular Layout library\n     * * Will automatically provide Flex, Grid, and Extended modules for use in the application\n     * * Can be configured using the static withConfig method, options viewable on the Wiki's\n     *   Configuration page\n     */\n\n    var FlexLayoutModule =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} serverModuleLoaded\n       * @param {?} platformId\n       */\n      function FlexLayoutModule(serverModuleLoaded, platformId) {\n        _classCallCheck(this, FlexLayoutModule);\n\n        if (Object(_angular_common__WEBPACK_IMPORTED_MODULE_1__[\"isPlatformServer\"])(platformId) && !serverModuleLoaded) {\n          console.warn('Warning: Flex Layout loaded on the server without FlexLayoutServerModule');\n        }\n      }\n      /**\n       * Initialize the FlexLayoutModule with a set of config options,\n       * which sets the corresponding tokens accordingly\n       * @param {?} configOptions\n       * @param {?=} breakpoints\n       * @return {?}\n       */\n\n\n      _createClass2(FlexLayoutModule, null, [{\n        key: \"withConfig\",\n        value: function withConfig(configOptions) {\n          var breakpoints = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n          return {\n            ngModule: FlexLayoutModule,\n            providers: configOptions.serverLoaded ? [{\n              provide: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"LAYOUT_CONFIG\"],\n              useValue: Object.assign({}, _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"DEFAULT_CONFIG\"], configOptions)\n            }, {\n              provide: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"BREAKPOINT\"],\n              useValue: breakpoints,\n              multi: true\n            }, {\n              provide: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"SERVER_TOKEN\"],\n              useValue: true\n            }] : [{\n              provide: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"LAYOUT_CONFIG\"],\n              useValue: Object.assign({}, _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"DEFAULT_CONFIG\"], configOptions)\n            }, {\n              provide: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"BREAKPOINT\"],\n              useValue: breakpoints,\n              multi: true\n            }]\n          };\n        }\n      }]);\n\n      return FlexLayoutModule;\n    }();\n\n    FlexLayoutModule.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"],\n      args: [{\n        imports: [_angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"FlexModule\"], _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_3__[\"ExtendedModule\"], _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"GridModule\"]],\n        exports: [_angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_4__[\"FlexModule\"], _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_3__[\"ExtendedModule\"], _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_5__[\"GridModule\"]]\n      }]\n    }];\n    /** @nocollapse */\n\n    FlexLayoutModule.ctorParameters = function () {\n      return [{\n        type: Boolean,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_2__[\"SERVER_TOKEN\"]]\n        }]\n      }, {\n        type: Object,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"PLATFORM_ID\"]]\n        }]\n      }];\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/@angular/flex-layout/esm2015/flex.js\":\n  /*!***********************************************************!*\\\n    !*** ./node_modules/@angular/flex-layout/esm2015/flex.js ***!\n    \\***********************************************************/\n\n  /*! exports provided: FlexModule, FlexStyleBuilder, FlexDirective, DefaultFlexDirective, FlexAlignStyleBuilder, FlexAlignDirective, DefaultFlexAlignDirective, FlexFillStyleBuilder, FlexFillDirective, FlexOffsetStyleBuilder, FlexOffsetDirective, DefaultFlexOffsetDirective, FlexOrderStyleBuilder, FlexOrderDirective, DefaultFlexOrderDirective, LayoutStyleBuilder, LayoutDirective, DefaultLayoutDirective, LayoutAlignStyleBuilder, LayoutAlignDirective, DefaultLayoutAlignDirective, LayoutGapStyleBuilder, LayoutGapDirective, DefaultLayoutGapDirective */\n\n  /***/\n  function node_modulesAngularFlexLayoutEsm2015FlexJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FlexModule\", function () {\n      return FlexModule;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FlexStyleBuilder\", function () {\n      return FlexStyleBuilder;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FlexDirective\", function () {\n      return FlexDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DefaultFlexDirective\", function () {\n      return DefaultFlexDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FlexAlignStyleBuilder\", function () {\n      return FlexAlignStyleBuilder;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FlexAlignDirective\", function () {\n      return FlexAlignDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DefaultFlexAlignDirective\", function () {\n      return DefaultFlexAlignDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FlexFillStyleBuilder\", function () {\n      return FlexFillStyleBuilder;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FlexFillDirective\", function () {\n      return FlexFillDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FlexOffsetStyleBuilder\", function () {\n      return FlexOffsetStyleBuilder;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FlexOffsetDirective\", function () {\n      return FlexOffsetDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DefaultFlexOffsetDirective\", function () {\n      return DefaultFlexOffsetDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FlexOrderStyleBuilder\", function () {\n      return FlexOrderStyleBuilder;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FlexOrderDirective\", function () {\n      return FlexOrderDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DefaultFlexOrderDirective\", function () {\n      return DefaultFlexOrderDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"LayoutStyleBuilder\", function () {\n      return LayoutStyleBuilder;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"LayoutDirective\", function () {\n      return LayoutDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DefaultLayoutDirective\", function () {\n      return DefaultLayoutDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"LayoutAlignStyleBuilder\", function () {\n      return LayoutAlignStyleBuilder;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"LayoutAlignDirective\", function () {\n      return LayoutAlignDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DefaultLayoutAlignDirective\", function () {\n      return DefaultLayoutAlignDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"LayoutGapStyleBuilder\", function () {\n      return LayoutGapStyleBuilder;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"LayoutGapDirective\", function () {\n      return LayoutGapDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DefaultLayoutGapDirective\", function () {\n      return DefaultLayoutGapDirective;\n    });\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/flex-layout/core */\n    \"./node_modules/@angular/flex-layout/esm2015/core.js\");\n    /* harmony import */\n\n\n    var _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! @angular/cdk/bidi */\n    \"./node_modules/@angular/cdk/esm2015/bidi.js\");\n    /* harmony import */\n\n\n    var rxjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! rxjs */\n    \"./node_modules/rxjs/_esm2015/index.js\");\n    /* harmony import */\n\n\n    var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! rxjs/operators */\n    \"./node_modules/rxjs/_esm2015/operators/index.js\");\n    /**\n     * @license\n     * Copyright Google LLC All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google LLC All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     * @type {?}\n     */\n\n\n    var INLINE = 'inline';\n    /** @type {?} */\n\n    var LAYOUT_VALUES = ['row', 'column', 'row-reverse', 'column-reverse'];\n    /**\n     * Validate the direction|'direction wrap' value and then update the host's inline flexbox styles\n     * @param {?} value\n     * @return {?}\n     */\n\n    function buildLayoutCSS(value) {\n      var _validateValue3 = validateValue(value),\n          _validateValue4 = _slicedToArray(_validateValue3, 3),\n          direction = _validateValue4[0],\n          wrap = _validateValue4[1],\n          isInline = _validateValue4[2];\n\n      return buildCSS(direction, wrap, isInline);\n    }\n    /**\n     * Validate the value to be one of the acceptable value options\n     * Use default fallback of 'row'\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function validateValue(value) {\n      value = value ? value.toLowerCase() : '';\n\n      var _value$split3 = value.split(' '),\n          _value$split4 = _slicedToArray(_value$split3, 3),\n          direction = _value$split4[0],\n          wrap = _value$split4[1],\n          inline = _value$split4[2]; // First value must be the `flex-direction`\n\n\n      if (!LAYOUT_VALUES.find(\n      /**\n      * @param {?} x\n      * @return {?}\n      */\n      function (x) {\n        return x === direction;\n      })) {\n        direction = LAYOUT_VALUES[0];\n      }\n\n      if (wrap === INLINE) {\n        wrap = inline !== INLINE ? inline : '';\n        inline = INLINE;\n      }\n\n      return [direction, validateWrapValue(wrap), !!inline];\n    }\n    /**\n     * Determine if the validated, flex-direction value specifies\n     * a horizontal/row flow.\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function isFlowHorizontal(value) {\n      var _validateValue5 = validateValue(value),\n          _validateValue6 = _slicedToArray(_validateValue5, 1),\n          flow = _validateValue6[0];\n\n      return flow.indexOf('row') > -1;\n    }\n    /**\n     * Convert layout-wrap='<value>' to expected flex-wrap style\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function validateWrapValue(value) {\n      if (!!value) {\n        switch (value.toLowerCase()) {\n          case 'reverse':\n          case 'wrap-reverse':\n          case 'reverse-wrap':\n            value = 'wrap-reverse';\n            break;\n\n          case 'no':\n          case 'none':\n          case 'nowrap':\n            value = 'nowrap';\n            break;\n          // All other values fallback to 'wrap'\n\n          default:\n            value = 'wrap';\n            break;\n        }\n      }\n\n      return value;\n    }\n    /**\n     * Build the CSS that should be assigned to the element instance\n     * BUG:\n     *   1) min-height on a column flex container won’t apply to its flex item children in IE 10-11.\n     *      Use height instead if possible; height : <xxx>vh;\n     *\n     *  This way any padding or border specified on the child elements are\n     *  laid out and drawn inside that element's specified width and height.\n     * @param {?} direction\n     * @param {?=} wrap\n     * @param {?=} inline\n     * @return {?}\n     */\n\n\n    function buildCSS(direction) {\n      var wrap = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n      var inline = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n      return {\n        'display': inline ? 'inline-flex' : 'flex',\n        'box-sizing': 'border-box',\n        'flex-direction': direction,\n        'flex-wrap': !!wrap ? wrap : null\n      };\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n\n    var LayoutStyleBuilder =\n    /*#__PURE__*/\n    function (_angular_flex_layout_7) {\n      _inherits(LayoutStyleBuilder, _angular_flex_layout_7);\n\n      function LayoutStyleBuilder() {\n        _classCallCheck(this, LayoutStyleBuilder);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(LayoutStyleBuilder).apply(this, arguments));\n      }\n\n      _createClass2(LayoutStyleBuilder, [{\n        key: \"buildStyles\",\n\n        /**\n         * @param {?} input\n         * @return {?}\n         */\n        value: function buildStyles(input) {\n          return buildLayoutCSS(input);\n        }\n      }]);\n\n      return LayoutStyleBuilder;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleBuilder\"]);\n\n    LayoutStyleBuilder.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    LayoutStyleBuilder.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({\n      factory: function LayoutStyleBuilder_Factory() {\n        return new LayoutStyleBuilder();\n      },\n      token: LayoutStyleBuilder,\n      providedIn: \"root\"\n    });\n    /** @type {?} */\n\n    var inputs = ['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'];\n    /** @type {?} */\n\n    var selector = \"\\n  [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md],\\n  [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md],\\n  [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm],\\n  [fxLayout.gt-md], [fxLayout.gt-lg]\\n\";\n    /**\n     * 'layout' flexbox styling directive\n     * Defines the positioning flow direction for the child elements: row or column\n     * Optional values: column or row (default)\n     * @see https://css-tricks.com/almanac/properties/f/flex-direction/\n     *\n     */\n\n    var LayoutDirective =\n    /*#__PURE__*/\n    function (_angular_flex_layout_8) {\n      _inherits(LayoutDirective, _angular_flex_layout_8);\n\n      /**\n       * @param {?} elRef\n       * @param {?} styleUtils\n       * @param {?} styleBuilder\n       * @param {?} marshal\n       */\n      function LayoutDirective(elRef, styleUtils, styleBuilder, marshal) {\n        var _this507;\n\n        _classCallCheck(this, LayoutDirective);\n\n        _this507 = _possibleConstructorReturn(this, _getPrototypeOf(LayoutDirective).call(this, elRef, styleBuilder, styleUtils, marshal));\n        _this507.elRef = elRef;\n        _this507.styleUtils = styleUtils;\n        _this507.styleBuilder = styleBuilder;\n        _this507.marshal = marshal;\n        _this507.DIRECTIVE_KEY = 'layout';\n        _this507.styleCache = layoutCache;\n\n        _this507.init();\n\n        return _this507;\n      }\n\n      return LayoutDirective;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"BaseDirective2\"]);\n\n    LayoutDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: 'layout-directive'\n      }]\n    }];\n    /** @nocollapse */\n\n    LayoutDirective.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"]\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleUtils\"]\n      }, {\n        type: LayoutStyleBuilder,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }]\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"MediaMarshaller\"]\n      }];\n    };\n\n    var DefaultLayoutDirective =\n    /*#__PURE__*/\n    function (_LayoutDirective) {\n      _inherits(DefaultLayoutDirective, _LayoutDirective);\n\n      function DefaultLayoutDirective() {\n        var _this508;\n\n        _classCallCheck(this, DefaultLayoutDirective);\n\n        _this508 = _possibleConstructorReturn(this, _getPrototypeOf(DefaultLayoutDirective).apply(this, arguments));\n        _this508.inputs = inputs;\n        return _this508;\n      }\n\n      return DefaultLayoutDirective;\n    }(LayoutDirective);\n\n    DefaultLayoutDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: selector,\n        inputs: inputs\n      }]\n    }];\n    /** @type {?} */\n\n    var layoutCache = new Map();\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n    var CLEAR_MARGIN_CSS = {\n      'margin-left': null,\n      'margin-right': null,\n      'margin-top': null,\n      'margin-bottom': null\n    };\n\n    var LayoutGapStyleBuilder =\n    /*#__PURE__*/\n    function (_angular_flex_layout_9) {\n      _inherits(LayoutGapStyleBuilder, _angular_flex_layout_9);\n\n      /**\n       * @param {?} _styler\n       */\n      function LayoutGapStyleBuilder(_styler) {\n        var _this509;\n\n        _classCallCheck(this, LayoutGapStyleBuilder);\n\n        _this509 = _possibleConstructorReturn(this, _getPrototypeOf(LayoutGapStyleBuilder).call(this));\n        _this509._styler = _styler;\n        return _this509;\n      }\n      /**\n       * @param {?} gapValue\n       * @param {?} parent\n       * @return {?}\n       */\n\n\n      _createClass2(LayoutGapStyleBuilder, [{\n        key: \"buildStyles\",\n        value: function buildStyles(gapValue, parent) {\n          if (gapValue.endsWith(GRID_SPECIFIER)) {\n            gapValue = gapValue.slice(0, gapValue.indexOf(GRID_SPECIFIER)); // Add the margin to the host element\n\n            return buildGridMargin(gapValue, parent.directionality);\n          } else {\n            return {};\n          }\n        }\n        /**\n         * @param {?} gapValue\n         * @param {?} _styles\n         * @param {?} parent\n         * @return {?}\n         */\n\n      }, {\n        key: \"sideEffect\",\n        value: function sideEffect(gapValue, _styles, parent) {\n          /** @type {?} */\n          var items = parent.items;\n\n          if (gapValue.endsWith(GRID_SPECIFIER)) {\n            gapValue = gapValue.slice(0, gapValue.indexOf(GRID_SPECIFIER)); // For each `element` children, set the padding\n\n            /** @type {?} */\n\n            var paddingStyles = buildGridPadding(gapValue, parent.directionality);\n\n            this._styler.applyStyleToElements(paddingStyles, parent.items);\n          } else {\n            /** @type {?} */\n            var lastItem =\n            /** @type {?} */\n            items.pop(); // For each `element` children EXCEPT the last,\n            // set the margin right/bottom styles...\n\n            /** @type {?} */\n\n            var gapCss = buildGapCSS(gapValue, parent);\n\n            this._styler.applyStyleToElements(gapCss, items); // Clear all gaps for all visible elements\n\n\n            this._styler.applyStyleToElements(CLEAR_MARGIN_CSS, [lastItem]);\n          }\n        }\n      }]);\n\n      return LayoutGapStyleBuilder;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleBuilder\"]);\n\n    LayoutGapStyleBuilder.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    LayoutGapStyleBuilder.ctorParameters = function () {\n      return [{\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleUtils\"]\n      }];\n    };\n    /** @nocollapse */\n\n\n    LayoutGapStyleBuilder.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({\n      factory: function LayoutGapStyleBuilder_Factory() {\n        return new LayoutGapStyleBuilder(Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleUtils\"]));\n      },\n      token: LayoutGapStyleBuilder,\n      providedIn: \"root\"\n    });\n    /** @type {?} */\n\n    var inputs$1 = ['fxLayoutGap', 'fxLayoutGap.xs', 'fxLayoutGap.sm', 'fxLayoutGap.md', 'fxLayoutGap.lg', 'fxLayoutGap.xl', 'fxLayoutGap.lt-sm', 'fxLayoutGap.lt-md', 'fxLayoutGap.lt-lg', 'fxLayoutGap.lt-xl', 'fxLayoutGap.gt-xs', 'fxLayoutGap.gt-sm', 'fxLayoutGap.gt-md', 'fxLayoutGap.gt-lg'];\n    /** @type {?} */\n\n    var selector$1 = \"\\n  [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md],\\n  [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md],\\n  [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm],\\n  [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]\\n\";\n    /**\n     * 'layout-padding' styling directive\n     *  Defines padding of child elements in a layout container\n     */\n\n    var LayoutGapDirective =\n    /*#__PURE__*/\n    function (_angular_flex_layout_10) {\n      _inherits(LayoutGapDirective, _angular_flex_layout_10);\n\n      /**\n       * @param {?} elRef\n       * @param {?} zone\n       * @param {?} directionality\n       * @param {?} styleUtils\n       * @param {?} styleBuilder\n       * @param {?} marshal\n       */\n      function LayoutGapDirective(elRef, zone, directionality, styleUtils, styleBuilder, marshal) {\n        var _this510;\n\n        _classCallCheck(this, LayoutGapDirective);\n\n        _this510 = _possibleConstructorReturn(this, _getPrototypeOf(LayoutGapDirective).call(this, elRef, styleBuilder, styleUtils, marshal));\n        _this510.elRef = elRef;\n        _this510.zone = zone;\n        _this510.directionality = directionality;\n        _this510.styleUtils = styleUtils;\n        _this510.styleBuilder = styleBuilder;\n        _this510.marshal = marshal;\n        _this510.layout = 'row'; // default flex-direction\n        // default flex-direction\n\n        _this510.DIRECTIVE_KEY = 'layout-gap';\n        _this510.observerSubject = new rxjs__WEBPACK_IMPORTED_MODULE_3__[\"Subject\"]();\n        /** @type {?} */\n\n        var extraTriggers = [_this510.directionality.change, _this510.observerSubject.asObservable()];\n\n        _this510.init(extraTriggers);\n\n        _this510.marshal.trackValue(_this510.nativeElement, 'layout').pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"takeUntil\"])(_this510.destroySubject)).subscribe(_this510.onLayoutChange.bind(_assertThisInitialized(_this510)));\n\n        return _this510;\n      }\n      /**\n       * Special accessor to query for all child 'element' nodes regardless of type, class, etc\n       * @protected\n       * @return {?}\n       */\n\n\n      _createClass2(LayoutGapDirective, [{\n        key: \"ngAfterContentInit\",\n        // *********************************************\n        // Lifecycle Methods\n        // *********************************************\n\n        /**\n         * @return {?}\n         */\n        value: function ngAfterContentInit() {\n          this.buildChildObservable();\n          this.triggerUpdate();\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          _get(_getPrototypeOf(LayoutGapDirective.prototype), \"ngOnDestroy\", this).call(this);\n\n          if (this.observer) {\n            this.observer.disconnect();\n          }\n        } // *********************************************\n        // Protected methods\n        // *********************************************\n\n        /**\n         * Cache the parent container 'flex-direction' and update the 'margin' styles\n         * @protected\n         * @param {?} matcher\n         * @return {?}\n         */\n\n      }, {\n        key: \"onLayoutChange\",\n        value: function onLayoutChange(matcher) {\n          var _this511 = this;\n\n          /** @type {?} */\n          var layout = matcher.value; // Make sure to filter out 'wrap' option\n\n          /** @type {?} */\n\n          var direction = layout.split(' ');\n          this.layout = direction[0];\n\n          if (!LAYOUT_VALUES.find(\n          /**\n          * @param {?} x\n          * @return {?}\n          */\n          function (x) {\n            return x === _this511.layout;\n          })) {\n            this.layout = 'row';\n          }\n\n          this.triggerUpdate();\n        }\n        /**\n         *\n         * @protected\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"updateWithValue\",\n        value: function updateWithValue(value) {\n          var _this512 = this;\n\n          // Gather all non-hidden Element nodes\n\n          /** @type {?} */\n          var items = this.childrenNodes.filter(\n          /**\n          * @param {?} el\n          * @return {?}\n          */\n          function (el) {\n            return el.nodeType === 1 && _this512.willDisplay(el);\n          }).sort(\n          /**\n          * @param {?} a\n          * @param {?} b\n          * @return {?}\n          */\n          function (a, b) {\n            /** @type {?} */\n            var orderA = +_this512.styler.lookupStyle(a, 'order');\n            /** @type {?} */\n\n            var orderB = +_this512.styler.lookupStyle(b, 'order');\n\n            if (isNaN(orderA) || isNaN(orderB) || orderA === orderB) {\n              return 0;\n            } else {\n              return orderA > orderB ? 1 : -1;\n            }\n          });\n\n          if (items.length > 0) {\n            /** @type {?} */\n            var directionality = this.directionality.value;\n            /** @type {?} */\n\n            var layout = this.layout;\n\n            if (layout === 'row' && directionality === 'rtl') {\n              this.styleCache = layoutGapCacheRowRtl;\n            } else if (layout === 'row' && directionality !== 'rtl') {\n              this.styleCache = layoutGapCacheRowLtr;\n            } else if (layout === 'column' && directionality === 'rtl') {\n              this.styleCache = layoutGapCacheColumnRtl;\n            } else if (layout === 'column' && directionality !== 'rtl') {\n              this.styleCache = layoutGapCacheColumnLtr;\n            }\n\n            this.addStyles(value, {\n              directionality: directionality,\n              items: items,\n              layout: layout\n            });\n          }\n        }\n        /**\n         * We need to override clearStyles because in most cases mru isn't populated\n         * @protected\n         * @return {?}\n         */\n\n      }, {\n        key: \"clearStyles\",\n        value: function clearStyles() {\n          /** @type {?} */\n          var gridMode = Object.keys(this.mru).length > 0;\n          /** @type {?} */\n\n          var childrenStyle = gridMode ? 'padding' : getMarginType(this.directionality.value, this.layout); // If there are styles on the parent remove them\n\n          if (gridMode) {\n            _get(_getPrototypeOf(LayoutGapDirective.prototype), \"clearStyles\", this).call(this);\n          } // Then remove the children styles too\n\n\n          this.styleUtils.applyStyleToElements(_defineProperty({}, childrenStyle, ''), this.childrenNodes);\n        }\n        /**\n         * Determine if an element will show or hide based on current activation\n         * @protected\n         * @param {?} source\n         * @return {?}\n         */\n\n      }, {\n        key: \"willDisplay\",\n        value: function willDisplay(source) {\n          /** @type {?} */\n          var value = this.marshal.getValue(source, 'show-hide');\n          return value === true || value === undefined && this.styleUtils.lookupStyle(source, 'display') !== 'none';\n        }\n        /**\n         * @protected\n         * @return {?}\n         */\n\n      }, {\n        key: \"buildChildObservable\",\n        value: function buildChildObservable() {\n          var _this513 = this;\n\n          this.zone.runOutsideAngular(\n          /**\n          * @return {?}\n          */\n          function () {\n            if (typeof MutationObserver !== 'undefined') {\n              _this513.observer = new MutationObserver(\n              /**\n              * @param {?} mutations\n              * @return {?}\n              */\n              function (mutations) {\n                /** @type {?} */\n                var validatedChanges =\n                /**\n                * @param {?} it\n                * @return {?}\n                */\n                function validatedChanges(it) {\n                  return it.addedNodes && it.addedNodes.length > 0 || it.removedNodes && it.removedNodes.length > 0;\n                }; // update gap styles only for child 'added' or 'removed' events\n\n\n                if (mutations.some(validatedChanges)) {\n                  _this513.observerSubject.next();\n                }\n              });\n\n              _this513.observer.observe(_this513.nativeElement, {\n                childList: true\n              });\n            }\n          });\n        }\n      }, {\n        key: \"childrenNodes\",\n        get: function get() {\n          /** @type {?} */\n          var obj = this.nativeElement.children;\n          /** @type {?} */\n\n          var buffer = []; // iterate backwards ensuring that length is an UInt32\n\n          for (var i = obj.length; i--;) {\n            buffer[i] = obj[i];\n          }\n\n          return buffer;\n        }\n      }]);\n\n      return LayoutGapDirective;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"BaseDirective2\"]);\n\n    LayoutGapDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: 'layout-gap-directive'\n      }]\n    }];\n    /** @nocollapse */\n\n    LayoutGapDirective.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgZone\"]\n      }, {\n        type: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_2__[\"Directionality\"]\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleUtils\"]\n      }, {\n        type: LayoutGapStyleBuilder,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }]\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"MediaMarshaller\"]\n      }];\n    };\n\n    var DefaultLayoutGapDirective =\n    /*#__PURE__*/\n    function (_LayoutGapDirective) {\n      _inherits(DefaultLayoutGapDirective, _LayoutGapDirective);\n\n      function DefaultLayoutGapDirective() {\n        var _this514;\n\n        _classCallCheck(this, DefaultLayoutGapDirective);\n\n        _this514 = _possibleConstructorReturn(this, _getPrototypeOf(DefaultLayoutGapDirective).apply(this, arguments));\n        _this514.inputs = inputs$1;\n        return _this514;\n      }\n\n      return DefaultLayoutGapDirective;\n    }(LayoutGapDirective);\n\n    DefaultLayoutGapDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: selector$1,\n        inputs: inputs$1\n      }]\n    }];\n    /** @type {?} */\n\n    var layoutGapCacheRowRtl = new Map();\n    /** @type {?} */\n\n    var layoutGapCacheColumnRtl = new Map();\n    /** @type {?} */\n\n    var layoutGapCacheRowLtr = new Map();\n    /** @type {?} */\n\n    var layoutGapCacheColumnLtr = new Map();\n    /** @type {?} */\n\n    var GRID_SPECIFIER = ' grid';\n    /**\n     * @param {?} value\n     * @param {?} directionality\n     * @return {?}\n     */\n\n    function buildGridPadding(value, directionality) {\n      /** @type {?} */\n      var paddingTop = '0px';\n      /** @type {?} */\n\n      var paddingRight = '0px';\n      /** @type {?} */\n\n      var paddingBottom = value;\n      /** @type {?} */\n\n      var paddingLeft = '0px';\n\n      if (directionality === 'rtl') {\n        paddingLeft = value;\n      } else {\n        paddingRight = value;\n      }\n\n      return {\n        'padding': \"\".concat(paddingTop, \" \").concat(paddingRight, \" \").concat(paddingBottom, \" \").concat(paddingLeft)\n      };\n    }\n    /**\n     * @param {?} value\n     * @param {?} directionality\n     * @return {?}\n     */\n\n\n    function buildGridMargin(value, directionality) {\n      /** @type {?} */\n      var marginTop = '0px';\n      /** @type {?} */\n\n      var marginRight = '0px';\n      /** @type {?} */\n\n      var marginBottom = '-' + value;\n      /** @type {?} */\n\n      var marginLeft = '0px';\n\n      if (directionality === 'rtl') {\n        marginLeft = '-' + value;\n      } else {\n        marginRight = '-' + value;\n      }\n\n      return {\n        'margin': \"\".concat(marginTop, \" \").concat(marginRight, \" \").concat(marginBottom, \" \").concat(marginLeft)\n      };\n    }\n    /**\n     * @param {?} directionality\n     * @param {?} layout\n     * @return {?}\n     */\n\n\n    function getMarginType(directionality, layout) {\n      switch (layout) {\n        case 'column':\n          return 'margin-bottom';\n\n        case 'column-reverse':\n          return 'margin-top';\n\n        case 'row':\n          return directionality === 'rtl' ? 'margin-left' : 'margin-right';\n\n        case 'row-reverse':\n          return directionality === 'rtl' ? 'margin-right' : 'margin-left';\n\n        default:\n          return directionality === 'rtl' ? 'margin-left' : 'margin-right';\n      }\n    }\n    /**\n     * @param {?} gapValue\n     * @param {?} parent\n     * @return {?}\n     */\n\n\n    function buildGapCSS(gapValue, parent) {\n      /** @type {?} */\n      var key = getMarginType(parent.directionality, parent.layout);\n      /** @type {?} */\n\n      var margins = Object.assign({}, CLEAR_MARGIN_CSS);\n      margins[key] = gapValue;\n      return margins;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Extends an object with the *enumerable* and *own* properties of one or more source objects,\n     * similar to Object.assign.\n     *\n     * @param {?} dest The object which will have properties copied to it.\n     * @param {...?} sources The source objects from which properties will be copied.\n     * @return {?}\n     */\n\n\n    function extendObject(dest) {\n      if (dest == null) {\n        throw TypeError('Cannot convert undefined or null to object');\n      }\n\n      for (var _len26 = arguments.length, sources = new Array(_len26 > 1 ? _len26 - 1 : 0), _key28 = 1; _key28 < _len26; _key28++) {\n        sources[_key28 - 1] = arguments[_key28];\n      }\n\n      for (var _i38 = 0, _sources2 = sources; _i38 < _sources2.length; _i38++) {\n        var source = _sources2[_i38];\n\n        if (source != null) {\n          for (var key in source) {\n            if (source.hasOwnProperty(key)) {\n              dest[key] = source[key];\n            }\n          }\n        }\n      }\n\n      return dest;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n\n    var FlexStyleBuilder =\n    /*#__PURE__*/\n    function (_angular_flex_layout_11) {\n      _inherits(FlexStyleBuilder, _angular_flex_layout_11);\n\n      /**\n       * @param {?} layoutConfig\n       */\n      function FlexStyleBuilder(layoutConfig) {\n        var _this515;\n\n        _classCallCheck(this, FlexStyleBuilder);\n\n        _this515 = _possibleConstructorReturn(this, _getPrototypeOf(FlexStyleBuilder).call(this));\n        _this515.layoutConfig = layoutConfig;\n        return _this515;\n      }\n      /**\n       * @param {?} input\n       * @param {?} parent\n       * @return {?}\n       */\n\n\n      _createClass2(FlexStyleBuilder, [{\n        key: \"buildStyles\",\n        value: function buildStyles(input, parent) {\n          var _input$split = input.split(' '),\n              _input$split2 = _toArray(_input$split),\n              grow = _input$split2[0],\n              shrink = _input$split2[1],\n              basisParts = _input$split2.slice(2);\n          /** @type {?} */\n\n\n          var basis = basisParts.join(' '); // The flex-direction of this element's flex container. Defaults to 'row'.\n\n          /** @type {?} */\n\n          var direction = parent.direction.indexOf('column') > -1 ? 'column' : 'row';\n          /** @type {?} */\n\n          var max = isFlowHorizontal(direction) ? 'max-width' : 'max-height';\n          /** @type {?} */\n\n          var min = isFlowHorizontal(direction) ? 'min-width' : 'min-height';\n          /** @type {?} */\n\n          var hasCalc = String(basis).indexOf('calc') > -1;\n          /** @type {?} */\n\n          var usingCalc = hasCalc || basis === 'auto';\n          /** @type {?} */\n\n          var isPercent = String(basis).indexOf('%') > -1 && !hasCalc;\n          /** @type {?} */\n\n          var hasUnits = String(basis).indexOf('px') > -1 || String(basis).indexOf('rem') > -1 || String(basis).indexOf('em') > -1 || String(basis).indexOf('vw') > -1 || String(basis).indexOf('vh') > -1;\n          /** @type {?} */\n\n          var isValue = hasCalc || hasUnits;\n          grow = grow == '0' ? 0 : grow;\n          shrink = shrink == '0' ? 0 : shrink; // make box inflexible when shrink and grow are both zero\n          // should not set a min when the grow is zero\n          // should not set a max when the shrink is zero\n\n          /** @type {?} */\n\n          var isFixed = !grow && !shrink;\n          /** @type {?} */\n\n          var css = {}; // flex-basis allows you to specify the initial/starting main-axis size of the element,\n          // before anything else is computed. It can either be a percentage or an absolute value.\n          // It is, however, not the breaking point for flex-grow/shrink properties\n          //\n          // flex-grow can be seen as this:\n          //   0: Do not stretch. Either size to element's content width, or obey 'flex-basis'.\n          //   1: (Default value). Stretch; will be the same size to all other flex items on\n          //       the same row since they have a default value of 1.\n          //   ≥2 (integer n): Stretch. Will be n times the size of other elements\n          //      with 'flex-grow: 1' on the same row.\n          // Use `null` to clear existing styles.\n\n          /** @type {?} */\n\n          var clearStyles = {\n            'max-width': null,\n            'max-height': null,\n            'min-width': null,\n            'min-height': null\n          };\n\n          switch (basis || '') {\n            case '':\n              /** @type {?} */\n              var useColumnBasisZero = this.layoutConfig.useColumnBasisZero !== false;\n              basis = direction === 'row' ? '0%' : useColumnBasisZero ? '0.000000001px' : 'auto';\n              break;\n\n            case 'initial': // default\n\n            case 'nogrow':\n              grow = 0;\n              basis = 'auto';\n              break;\n\n            case 'grow':\n              basis = '100%';\n              break;\n\n            case 'noshrink':\n              shrink = 0;\n              basis = 'auto';\n              break;\n\n            case 'auto':\n              break;\n\n            case 'none':\n              grow = 0;\n              shrink = 0;\n              basis = 'auto';\n              break;\n\n            default:\n              // Defaults to percentage sizing unless `px` is explicitly set\n              if (!isValue && !isPercent && !isNaN(\n              /** @type {?} */\n              basis)) {\n                basis = basis + '%';\n              } // Fix for issue 280\n\n\n              if (basis === '0%') {\n                isValue = true;\n              }\n\n              if (basis === '0px') {\n                basis = '0%';\n              } // fix issue #5345\n\n\n              if (hasCalc) {\n                css = extendObject(clearStyles, {\n                  'flex-grow': grow,\n                  'flex-shrink': shrink,\n                  'flex-basis': isValue ? basis : '100%'\n                });\n              } else {\n                css = extendObject(clearStyles, {\n                  'flex': \"\".concat(grow, \" \").concat(shrink, \" \").concat(isValue ? basis : '100%')\n                });\n              }\n\n              break;\n          }\n\n          if (!(css['flex'] || css['flex-grow'])) {\n            if (hasCalc) {\n              css = extendObject(clearStyles, {\n                'flex-grow': grow,\n                'flex-shrink': shrink,\n                'flex-basis': basis\n              });\n            } else {\n              css = extendObject(clearStyles, {\n                'flex': \"\".concat(grow, \" \").concat(shrink, \" \").concat(basis)\n              });\n            }\n          } // Fix for issues 277, 534, and 728\n\n\n          if (basis !== '0%' && basis !== '0px' && basis !== '0.000000001px' && basis !== 'auto') {\n            css[min] = isFixed || isValue && grow ? basis : null;\n            css[max] = isFixed || !usingCalc && shrink ? basis : null;\n          } // Fix for issue 528\n\n\n          if (!css[min] && !css[max]) {\n            if (hasCalc) {\n              css = extendObject(clearStyles, {\n                'flex-grow': grow,\n                'flex-shrink': shrink,\n                'flex-basis': basis\n              });\n            } else {\n              css = extendObject(clearStyles, {\n                'flex': \"\".concat(grow, \" \").concat(shrink, \" \").concat(basis)\n              });\n            }\n          } else {\n            // Fix for issue 660\n            if (parent.hasWrap) {\n              css[hasCalc ? 'flex-basis' : 'flex'] = css[max] ? hasCalc ? css[max] : \"\".concat(grow, \" \").concat(shrink, \" \").concat(css[max]) : hasCalc ? css[min] : \"\".concat(grow, \" \").concat(shrink, \" \").concat(css[min]);\n            }\n          }\n\n          return (\n            /** @type {?} */\n            extendObject(css, {\n              'box-sizing': 'border-box'\n            })\n          );\n        }\n      }]);\n\n      return FlexStyleBuilder;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleBuilder\"]);\n\n    FlexStyleBuilder.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    FlexStyleBuilder.ctorParameters = function () {\n      return [{\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"LAYOUT_CONFIG\"]]\n        }]\n      }];\n    };\n    /** @nocollapse */\n\n\n    FlexStyleBuilder.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({\n      factory: function FlexStyleBuilder_Factory() {\n        return new FlexStyleBuilder(Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵinject\"])(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"LAYOUT_CONFIG\"]));\n      },\n      token: FlexStyleBuilder,\n      providedIn: \"root\"\n    });\n    /** @type {?} */\n\n    var inputs$2 = ['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'];\n    /** @type {?} */\n\n    var selector$2 = \"\\n  [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md],\\n  [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md],\\n  [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm],\\n  [fxFlex.gt-md], [fxFlex.gt-lg]\\n\";\n    /**\n     * Directive to control the size of a flex item using flex-basis, flex-grow, and flex-shrink.\n     * Corresponds to the css `flex` shorthand property.\n     *\n     * @see https://css-tricks.com/snippets/css/a-guide-to-flexbox/\n     */\n\n    var FlexDirective =\n    /*#__PURE__*/\n    function (_angular_flex_layout_12) {\n      _inherits(FlexDirective, _angular_flex_layout_12);\n\n      /**\n       * @param {?} elRef\n       * @param {?} styleUtils\n       * @param {?} layoutConfig\n       * @param {?} styleBuilder\n       * @param {?} marshal\n       */\n      function FlexDirective(elRef, styleUtils, layoutConfig, styleBuilder, marshal) {\n        var _this516;\n\n        _classCallCheck(this, FlexDirective);\n\n        _this516 = _possibleConstructorReturn(this, _getPrototypeOf(FlexDirective).call(this, elRef, styleBuilder, styleUtils, marshal));\n        _this516.elRef = elRef;\n        _this516.styleUtils = styleUtils;\n        _this516.layoutConfig = layoutConfig;\n        _this516.styleBuilder = styleBuilder;\n        _this516.marshal = marshal;\n        _this516.DIRECTIVE_KEY = 'flex';\n        _this516.direction = '';\n        _this516.wrap = false;\n        _this516.flexGrow = '1';\n        _this516.flexShrink = '1';\n\n        _this516.init();\n\n        if (_this516.parentElement) {\n          _this516.marshal.trackValue(_this516.parentElement, 'layout').pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"takeUntil\"])(_this516.destroySubject)).subscribe(_this516.onLayoutChange.bind(_assertThisInitialized(_this516)));\n\n          _this516.marshal.trackValue(_this516.nativeElement, 'layout-align').pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"takeUntil\"])(_this516.destroySubject)).subscribe(_this516.triggerReflow.bind(_assertThisInitialized(_this516)));\n        }\n\n        return _this516;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(FlexDirective, [{\n        key: \"onLayoutChange\",\n\n        /**\n         * Caches the parent container's 'flex-direction' and updates the element's style.\n         * Used as a handler for layout change events from the parent flex container.\n         * @protected\n         * @param {?} matcher\n         * @return {?}\n         */\n        value: function onLayoutChange(matcher) {\n          /** @type {?} */\n          var layout = matcher.value;\n          /** @type {?} */\n\n          var layoutParts = layout.split(' ');\n          this.direction = layoutParts[0];\n          this.wrap = layoutParts[1] !== undefined && layoutParts[1] === 'wrap';\n          this.triggerUpdate();\n        }\n        /**\n         * Input to this is exclusively the basis input value\n         * @protected\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"updateWithValue\",\n        value: function updateWithValue(value) {\n          /** @type {?} */\n          var addFlexToParent = this.layoutConfig.addFlexToParent !== false;\n\n          if (!this.direction) {\n            this.direction = this.getFlexFlowDirection(\n            /** @type {?} */\n            this.parentElement, addFlexToParent);\n          }\n          /** @type {?} */\n\n\n          var direction = this.direction;\n          /** @type {?} */\n\n          var isHorizontal = direction.startsWith('row');\n          /** @type {?} */\n\n          var hasWrap = this.wrap;\n\n          if (isHorizontal && hasWrap) {\n            this.styleCache = flexRowWrapCache;\n          } else if (isHorizontal && !hasWrap) {\n            this.styleCache = flexRowCache;\n          } else if (!isHorizontal && hasWrap) {\n            this.styleCache = flexColumnWrapCache;\n          } else if (!isHorizontal && !hasWrap) {\n            this.styleCache = flexColumnCache;\n          }\n          /** @type {?} */\n\n\n          var basis = String(value).replace(';', '');\n          /** @type {?} */\n\n          var parts = Object(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"validateBasis\"])(basis, this.flexGrow, this.flexShrink);\n          this.addStyles(parts.join(' '), {\n            direction: direction,\n            hasWrap: hasWrap\n          });\n        }\n        /**\n         * Trigger a style reflow, usually based on a shrink/grow input event\n         * @protected\n         * @return {?}\n         */\n\n      }, {\n        key: \"triggerReflow\",\n        value: function triggerReflow() {\n          /** @type {?} */\n          var activatedValue = this.activatedValue;\n\n          if (activatedValue !== undefined) {\n            /** @type {?} */\n            var parts = Object(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"validateBasis\"])(activatedValue + '', this.flexGrow, this.flexShrink);\n            this.marshal.updateElement(this.nativeElement, this.DIRECTIVE_KEY, parts.join(' '));\n          }\n        }\n      }, {\n        key: \"shrink\",\n        get: function get() {\n          return this.flexShrink;\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n        ,\n        set: function set(value) {\n          this.flexShrink = value || '1';\n          this.triggerReflow();\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"grow\",\n        get: function get() {\n          return this.flexGrow;\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n        ,\n        set: function set(value) {\n          this.flexGrow = value || '1';\n          this.triggerReflow();\n        }\n      }]);\n\n      return FlexDirective;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"BaseDirective2\"]);\n\n    FlexDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: 'flex-directive'\n      }]\n    }];\n    /** @nocollapse */\n\n    FlexDirective.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"]\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleUtils\"]\n      }, {\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"LAYOUT_CONFIG\"]]\n        }]\n      }, {\n        type: FlexStyleBuilder\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"MediaMarshaller\"]\n      }];\n    };\n\n    FlexDirective.propDecorators = {\n      shrink: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"],\n        args: ['fxShrink']\n      }],\n      grow: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"],\n        args: ['fxGrow']\n      }]\n    };\n\n    var DefaultFlexDirective =\n    /*#__PURE__*/\n    function (_FlexDirective) {\n      _inherits(DefaultFlexDirective, _FlexDirective);\n\n      function DefaultFlexDirective() {\n        var _this517;\n\n        _classCallCheck(this, DefaultFlexDirective);\n\n        _this517 = _possibleConstructorReturn(this, _getPrototypeOf(DefaultFlexDirective).apply(this, arguments));\n        _this517.inputs = inputs$2;\n        return _this517;\n      }\n\n      return DefaultFlexDirective;\n    }(FlexDirective);\n\n    DefaultFlexDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        inputs: inputs$2,\n        selector: selector$2\n      }]\n    }];\n    /** @type {?} */\n\n    var flexRowCache = new Map();\n    /** @type {?} */\n\n    var flexColumnCache = new Map();\n    /** @type {?} */\n\n    var flexRowWrapCache = new Map();\n    /** @type {?} */\n\n    var flexColumnWrapCache = new Map();\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    var FlexOrderStyleBuilder =\n    /*#__PURE__*/\n    function (_angular_flex_layout_13) {\n      _inherits(FlexOrderStyleBuilder, _angular_flex_layout_13);\n\n      function FlexOrderStyleBuilder() {\n        _classCallCheck(this, FlexOrderStyleBuilder);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(FlexOrderStyleBuilder).apply(this, arguments));\n      }\n\n      _createClass2(FlexOrderStyleBuilder, [{\n        key: \"buildStyles\",\n\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n        value: function buildStyles(value) {\n          return {\n            order: value && parseInt(value, 10) || ''\n          };\n        }\n      }]);\n\n      return FlexOrderStyleBuilder;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleBuilder\"]);\n\n    FlexOrderStyleBuilder.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    FlexOrderStyleBuilder.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({\n      factory: function FlexOrderStyleBuilder_Factory() {\n        return new FlexOrderStyleBuilder();\n      },\n      token: FlexOrderStyleBuilder,\n      providedIn: \"root\"\n    });\n    /** @type {?} */\n\n    var inputs$3 = ['fxFlexOrder', 'fxFlexOrder.xs', 'fxFlexOrder.sm', 'fxFlexOrder.md', 'fxFlexOrder.lg', 'fxFlexOrder.xl', 'fxFlexOrder.lt-sm', 'fxFlexOrder.lt-md', 'fxFlexOrder.lt-lg', 'fxFlexOrder.lt-xl', 'fxFlexOrder.gt-xs', 'fxFlexOrder.gt-sm', 'fxFlexOrder.gt-md', 'fxFlexOrder.gt-lg'];\n    /** @type {?} */\n\n    var selector$3 = \"\\n  [fxFlexOrder], [fxFlexOrder.xs], [fxFlexOrder.sm], [fxFlexOrder.md],\\n  [fxFlexOrder.lg], [fxFlexOrder.xl], [fxFlexOrder.lt-sm], [fxFlexOrder.lt-md],\\n  [fxFlexOrder.lt-lg], [fxFlexOrder.lt-xl], [fxFlexOrder.gt-xs], [fxFlexOrder.gt-sm],\\n  [fxFlexOrder.gt-md], [fxFlexOrder.gt-lg]\\n\";\n    /**\n     * 'flex-order' flexbox styling directive\n     * Configures the positional ordering of the element in a sorted layout container\n     * @see https://css-tricks.com/almanac/properties/o/order/\n     */\n\n    var FlexOrderDirective =\n    /*#__PURE__*/\n    function (_angular_flex_layout_14) {\n      _inherits(FlexOrderDirective, _angular_flex_layout_14);\n\n      /**\n       * @param {?} elRef\n       * @param {?} styleUtils\n       * @param {?} styleBuilder\n       * @param {?} marshal\n       */\n      function FlexOrderDirective(elRef, styleUtils, styleBuilder, marshal) {\n        var _this518;\n\n        _classCallCheck(this, FlexOrderDirective);\n\n        _this518 = _possibleConstructorReturn(this, _getPrototypeOf(FlexOrderDirective).call(this, elRef, styleBuilder, styleUtils, marshal));\n        _this518.elRef = elRef;\n        _this518.styleUtils = styleUtils;\n        _this518.styleBuilder = styleBuilder;\n        _this518.marshal = marshal;\n        _this518.DIRECTIVE_KEY = 'flex-order';\n        _this518.styleCache = flexOrderCache;\n\n        _this518.init();\n\n        return _this518;\n      }\n\n      return FlexOrderDirective;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"BaseDirective2\"]);\n\n    FlexOrderDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: 'flex-order-directive'\n      }]\n    }];\n    /** @nocollapse */\n\n    FlexOrderDirective.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"]\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleUtils\"]\n      }, {\n        type: FlexOrderStyleBuilder,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }]\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"MediaMarshaller\"]\n      }];\n    };\n    /** @type {?} */\n\n\n    var flexOrderCache = new Map();\n\n    var DefaultFlexOrderDirective =\n    /*#__PURE__*/\n    function (_FlexOrderDirective) {\n      _inherits(DefaultFlexOrderDirective, _FlexOrderDirective);\n\n      function DefaultFlexOrderDirective() {\n        var _this519;\n\n        _classCallCheck(this, DefaultFlexOrderDirective);\n\n        _this519 = _possibleConstructorReturn(this, _getPrototypeOf(DefaultFlexOrderDirective).apply(this, arguments));\n        _this519.inputs = inputs$3;\n        return _this519;\n      }\n\n      return DefaultFlexOrderDirective;\n    }(FlexOrderDirective);\n\n    DefaultFlexOrderDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: selector$3,\n        inputs: inputs$3\n      }]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    var FlexOffsetStyleBuilder =\n    /*#__PURE__*/\n    function (_angular_flex_layout_15) {\n      _inherits(FlexOffsetStyleBuilder, _angular_flex_layout_15);\n\n      function FlexOffsetStyleBuilder() {\n        _classCallCheck(this, FlexOffsetStyleBuilder);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(FlexOffsetStyleBuilder).apply(this, arguments));\n      }\n\n      _createClass2(FlexOffsetStyleBuilder, [{\n        key: \"buildStyles\",\n\n        /**\n         * @param {?} offset\n         * @param {?} parent\n         * @return {?}\n         */\n        value: function buildStyles(offset, parent) {\n          if (offset === '') {\n            offset = '0';\n          }\n          /** @type {?} */\n\n\n          var isPercent = String(offset).indexOf('%') > -1;\n          /** @type {?} */\n\n          var isPx = String(offset).indexOf('px') > -1;\n\n          if (!isPx && !isPercent && !isNaN(+offset)) {\n            offset = offset + '%';\n          }\n          /** @type {?} */\n\n\n          var horizontalLayoutKey = parent.isRtl ? 'margin-right' : 'margin-left';\n          /** @type {?} */\n\n          var styles = isFlowHorizontal(parent.layout) ? _defineProperty({}, horizontalLayoutKey, \"\".concat(offset)) : {\n            'margin-top': \"\".concat(offset)\n          };\n          return styles;\n        }\n      }]);\n\n      return FlexOffsetStyleBuilder;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleBuilder\"]);\n\n    FlexOffsetStyleBuilder.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    FlexOffsetStyleBuilder.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({\n      factory: function FlexOffsetStyleBuilder_Factory() {\n        return new FlexOffsetStyleBuilder();\n      },\n      token: FlexOffsetStyleBuilder,\n      providedIn: \"root\"\n    });\n    /** @type {?} */\n\n    var inputs$4 = ['fxFlexOffset', 'fxFlexOffset.xs', 'fxFlexOffset.sm', 'fxFlexOffset.md', 'fxFlexOffset.lg', 'fxFlexOffset.xl', 'fxFlexOffset.lt-sm', 'fxFlexOffset.lt-md', 'fxFlexOffset.lt-lg', 'fxFlexOffset.lt-xl', 'fxFlexOffset.gt-xs', 'fxFlexOffset.gt-sm', 'fxFlexOffset.gt-md', 'fxFlexOffset.gt-lg'];\n    /** @type {?} */\n\n    var selector$4 = \"\\n  [fxFlexOffset], [fxFlexOffset.xs], [fxFlexOffset.sm], [fxFlexOffset.md],\\n  [fxFlexOffset.lg], [fxFlexOffset.xl], [fxFlexOffset.lt-sm], [fxFlexOffset.lt-md],\\n  [fxFlexOffset.lt-lg], [fxFlexOffset.lt-xl], [fxFlexOffset.gt-xs], [fxFlexOffset.gt-sm],\\n  [fxFlexOffset.gt-md], [fxFlexOffset.gt-lg]\\n\";\n    /**\n     * 'flex-offset' flexbox styling directive\n     * Configures the 'margin-left' of the element in a layout container\n     */\n\n    var FlexOffsetDirective =\n    /*#__PURE__*/\n    function (_angular_flex_layout_16) {\n      _inherits(FlexOffsetDirective, _angular_flex_layout_16);\n\n      /**\n       * @param {?} elRef\n       * @param {?} directionality\n       * @param {?} styleBuilder\n       * @param {?} marshal\n       * @param {?} styler\n       */\n      function FlexOffsetDirective(elRef, directionality, styleBuilder, marshal, styler) {\n        var _this520;\n\n        _classCallCheck(this, FlexOffsetDirective);\n\n        _this520 = _possibleConstructorReturn(this, _getPrototypeOf(FlexOffsetDirective).call(this, elRef, styleBuilder, styler, marshal));\n        _this520.elRef = elRef;\n        _this520.directionality = directionality;\n        _this520.styleBuilder = styleBuilder;\n        _this520.marshal = marshal;\n        _this520.styler = styler;\n        _this520.DIRECTIVE_KEY = 'flex-offset';\n\n        _this520.init([_this520.directionality.change]); // Parent DOM `layout-gap` with affect the nested child with `flex-offset`\n\n\n        if (_this520.parentElement) {\n          _this520.marshal.trackValue(_this520.parentElement, 'layout-gap').pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"takeUntil\"])(_this520.destroySubject)).subscribe(_this520.triggerUpdate.bind(_assertThisInitialized(_this520)));\n        }\n\n        return _this520;\n      } // *********************************************\n      // Protected methods\n      // *********************************************\n\n      /**\n       * Using the current fxFlexOffset value, update the inline CSS\n       * NOTE: this will assign `margin-left` if the parent flex-direction == 'row',\n       *       otherwise `margin-top` is used for the offset.\n       * @protected\n       * @param {?=} value\n       * @return {?}\n       */\n\n\n      _createClass2(FlexOffsetDirective, [{\n        key: \"updateWithValue\",\n        value: function updateWithValue() {\n          var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n          // The flex-direction of this element's flex container. Defaults to 'row'.\n\n          /** @type {?} */\n          var layout = this.getFlexFlowDirection(\n          /** @type {?} */\n          this.parentElement, true);\n          /** @type {?} */\n\n          var isRtl = this.directionality.value === 'rtl';\n\n          if (layout === 'row' && isRtl) {\n            this.styleCache = flexOffsetCacheRowRtl;\n          } else if (layout === 'row' && !isRtl) {\n            this.styleCache = flexOffsetCacheRowLtr;\n          } else if (layout === 'column' && isRtl) {\n            this.styleCache = flexOffsetCacheColumnRtl;\n          } else if (layout === 'column' && !isRtl) {\n            this.styleCache = flexOffsetCacheColumnLtr;\n          }\n\n          this.addStyles(value + '', {\n            layout: layout,\n            isRtl: isRtl\n          });\n        }\n      }]);\n\n      return FlexOffsetDirective;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"BaseDirective2\"]);\n\n    FlexOffsetDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: 'flex-offset-directive'\n      }]\n    }];\n    /** @nocollapse */\n\n    FlexOffsetDirective.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"]\n      }, {\n        type: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_2__[\"Directionality\"]\n      }, {\n        type: FlexOffsetStyleBuilder,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }]\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"MediaMarshaller\"]\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleUtils\"]\n      }];\n    };\n\n    var DefaultFlexOffsetDirective =\n    /*#__PURE__*/\n    function (_FlexOffsetDirective) {\n      _inherits(DefaultFlexOffsetDirective, _FlexOffsetDirective);\n\n      function DefaultFlexOffsetDirective() {\n        var _this521;\n\n        _classCallCheck(this, DefaultFlexOffsetDirective);\n\n        _this521 = _possibleConstructorReturn(this, _getPrototypeOf(DefaultFlexOffsetDirective).apply(this, arguments));\n        _this521.inputs = inputs$4;\n        return _this521;\n      }\n\n      return DefaultFlexOffsetDirective;\n    }(FlexOffsetDirective);\n\n    DefaultFlexOffsetDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: selector$4,\n        inputs: inputs$4\n      }]\n    }];\n    /** @type {?} */\n\n    var flexOffsetCacheRowRtl = new Map();\n    /** @type {?} */\n\n    var flexOffsetCacheColumnRtl = new Map();\n    /** @type {?} */\n\n    var flexOffsetCacheRowLtr = new Map();\n    /** @type {?} */\n\n    var flexOffsetCacheColumnLtr = new Map();\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    var FlexAlignStyleBuilder =\n    /*#__PURE__*/\n    function (_angular_flex_layout_17) {\n      _inherits(FlexAlignStyleBuilder, _angular_flex_layout_17);\n\n      function FlexAlignStyleBuilder() {\n        _classCallCheck(this, FlexAlignStyleBuilder);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(FlexAlignStyleBuilder).apply(this, arguments));\n      }\n\n      _createClass2(FlexAlignStyleBuilder, [{\n        key: \"buildStyles\",\n\n        /**\n         * @param {?} input\n         * @return {?}\n         */\n        value: function buildStyles(input) {\n          input = input || 'stretch';\n          /** @type {?} */\n\n          var styles = {}; // Cross-axis\n\n          switch (input) {\n            case 'start':\n              styles['align-self'] = 'flex-start';\n              break;\n\n            case 'end':\n              styles['align-self'] = 'flex-end';\n              break;\n\n            default:\n              styles['align-self'] = input;\n              break;\n          }\n\n          return styles;\n        }\n      }]);\n\n      return FlexAlignStyleBuilder;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleBuilder\"]);\n\n    FlexAlignStyleBuilder.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    FlexAlignStyleBuilder.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({\n      factory: function FlexAlignStyleBuilder_Factory() {\n        return new FlexAlignStyleBuilder();\n      },\n      token: FlexAlignStyleBuilder,\n      providedIn: \"root\"\n    });\n    /** @type {?} */\n\n    var inputs$5 = ['fxFlexAlign', 'fxFlexAlign.xs', 'fxFlexAlign.sm', 'fxFlexAlign.md', 'fxFlexAlign.lg', 'fxFlexAlign.xl', 'fxFlexAlign.lt-sm', 'fxFlexAlign.lt-md', 'fxFlexAlign.lt-lg', 'fxFlexAlign.lt-xl', 'fxFlexAlign.gt-xs', 'fxFlexAlign.gt-sm', 'fxFlexAlign.gt-md', 'fxFlexAlign.gt-lg'];\n    /** @type {?} */\n\n    var selector$5 = \"\\n  [fxFlexAlign], [fxFlexAlign.xs], [fxFlexAlign.sm], [fxFlexAlign.md],\\n  [fxFlexAlign.lg], [fxFlexAlign.xl], [fxFlexAlign.lt-sm], [fxFlexAlign.lt-md],\\n  [fxFlexAlign.lt-lg], [fxFlexAlign.lt-xl], [fxFlexAlign.gt-xs], [fxFlexAlign.gt-sm],\\n  [fxFlexAlign.gt-md], [fxFlexAlign.gt-lg]\\n\";\n    /**\n     * 'flex-align' flexbox styling directive\n     * Allows element-specific overrides for cross-axis alignments in a layout container\n     * @see https://css-tricks.com/almanac/properties/a/align-self/\n     */\n\n    var FlexAlignDirective =\n    /*#__PURE__*/\n    function (_angular_flex_layout_18) {\n      _inherits(FlexAlignDirective, _angular_flex_layout_18);\n\n      /**\n       * @param {?} elRef\n       * @param {?} styleUtils\n       * @param {?} styleBuilder\n       * @param {?} marshal\n       */\n      function FlexAlignDirective(elRef, styleUtils, styleBuilder, marshal) {\n        var _this522;\n\n        _classCallCheck(this, FlexAlignDirective);\n\n        _this522 = _possibleConstructorReturn(this, _getPrototypeOf(FlexAlignDirective).call(this, elRef, styleBuilder, styleUtils, marshal));\n        _this522.elRef = elRef;\n        _this522.styleUtils = styleUtils;\n        _this522.styleBuilder = styleBuilder;\n        _this522.marshal = marshal;\n        _this522.DIRECTIVE_KEY = 'flex-align';\n        _this522.styleCache = flexAlignCache;\n\n        _this522.init();\n\n        return _this522;\n      }\n\n      return FlexAlignDirective;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"BaseDirective2\"]);\n\n    FlexAlignDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: 'flex-align-directive'\n      }]\n    }];\n    /** @nocollapse */\n\n    FlexAlignDirective.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"]\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleUtils\"]\n      }, {\n        type: FlexAlignStyleBuilder,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }]\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"MediaMarshaller\"]\n      }];\n    };\n    /** @type {?} */\n\n\n    var flexAlignCache = new Map();\n\n    var DefaultFlexAlignDirective =\n    /*#__PURE__*/\n    function (_FlexAlignDirective) {\n      _inherits(DefaultFlexAlignDirective, _FlexAlignDirective);\n\n      function DefaultFlexAlignDirective() {\n        var _this523;\n\n        _classCallCheck(this, DefaultFlexAlignDirective);\n\n        _this523 = _possibleConstructorReturn(this, _getPrototypeOf(DefaultFlexAlignDirective).apply(this, arguments));\n        _this523.inputs = inputs$5;\n        return _this523;\n      }\n\n      return DefaultFlexAlignDirective;\n    }(FlexAlignDirective);\n\n    DefaultFlexAlignDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: selector$5,\n        inputs: inputs$5\n      }]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n    var FLEX_FILL_CSS = {\n      'margin': 0,\n      'width': '100%',\n      'height': '100%',\n      'min-width': '100%',\n      'min-height': '100%'\n    };\n\n    var FlexFillStyleBuilder =\n    /*#__PURE__*/\n    function (_angular_flex_layout_19) {\n      _inherits(FlexFillStyleBuilder, _angular_flex_layout_19);\n\n      function FlexFillStyleBuilder() {\n        _classCallCheck(this, FlexFillStyleBuilder);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(FlexFillStyleBuilder).apply(this, arguments));\n      }\n\n      _createClass2(FlexFillStyleBuilder, [{\n        key: \"buildStyles\",\n\n        /**\n         * @param {?} _input\n         * @return {?}\n         */\n        value: function buildStyles(_input) {\n          return FLEX_FILL_CSS;\n        }\n      }]);\n\n      return FlexFillStyleBuilder;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleBuilder\"]);\n\n    FlexFillStyleBuilder.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    FlexFillStyleBuilder.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({\n      factory: function FlexFillStyleBuilder_Factory() {\n        return new FlexFillStyleBuilder();\n      },\n      token: FlexFillStyleBuilder,\n      providedIn: \"root\"\n    });\n    /**\n     * 'fxFill' flexbox styling directive\n     *  Maximizes width and height of element in a layout container\n     *\n     *  NOTE: fxFill is NOT responsive API!!\n     */\n\n    var FlexFillDirective =\n    /*#__PURE__*/\n    function (_angular_flex_layout_20) {\n      _inherits(FlexFillDirective, _angular_flex_layout_20);\n\n      /**\n       * @param {?} elRef\n       * @param {?} styleUtils\n       * @param {?} styleBuilder\n       * @param {?} marshal\n       */\n      function FlexFillDirective(elRef, styleUtils, styleBuilder, marshal) {\n        var _this524;\n\n        _classCallCheck(this, FlexFillDirective);\n\n        _this524 = _possibleConstructorReturn(this, _getPrototypeOf(FlexFillDirective).call(this, elRef, styleBuilder, styleUtils, marshal));\n        _this524.elRef = elRef;\n        _this524.styleUtils = styleUtils;\n        _this524.styleBuilder = styleBuilder;\n        _this524.marshal = marshal;\n        _this524.styleCache = flexFillCache;\n\n        _this524.addStyles('');\n\n        return _this524;\n      }\n\n      return FlexFillDirective;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"BaseDirective2\"]);\n\n    FlexFillDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: \"[fxFill], [fxFlexFill]\"\n      }]\n    }];\n    /** @nocollapse */\n\n    FlexFillDirective.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"]\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleUtils\"]\n      }, {\n        type: FlexFillStyleBuilder\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"MediaMarshaller\"]\n      }];\n    };\n    /** @type {?} */\n\n\n    var flexFillCache = new Map();\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    var LayoutAlignStyleBuilder =\n    /*#__PURE__*/\n    function (_angular_flex_layout_21) {\n      _inherits(LayoutAlignStyleBuilder, _angular_flex_layout_21);\n\n      function LayoutAlignStyleBuilder() {\n        _classCallCheck(this, LayoutAlignStyleBuilder);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(LayoutAlignStyleBuilder).apply(this, arguments));\n      }\n\n      _createClass2(LayoutAlignStyleBuilder, [{\n        key: \"buildStyles\",\n\n        /**\n         * @param {?} align\n         * @param {?} parent\n         * @return {?}\n         */\n        value: function buildStyles(align, parent) {\n          /** @type {?} */\n          var css = {};\n\n          var _align$split = align.split(' '),\n              _align$split2 = _slicedToArray(_align$split, 2),\n              mainAxis = _align$split2[0],\n              crossAxis = _align$split2[1]; // Main axis\n\n\n          switch (mainAxis) {\n            case 'center':\n              css['justify-content'] = 'center';\n              break;\n\n            case 'space-around':\n              css['justify-content'] = 'space-around';\n              break;\n\n            case 'space-between':\n              css['justify-content'] = 'space-between';\n              break;\n\n            case 'space-evenly':\n              css['justify-content'] = 'space-evenly';\n              break;\n\n            case 'end':\n            case 'flex-end':\n              css['justify-content'] = 'flex-end';\n              break;\n\n            case 'start':\n            case 'flex-start':\n            default:\n              css['justify-content'] = 'flex-start'; // default main axis\n\n              break;\n          } // Cross-axis\n\n\n          switch (crossAxis) {\n            case 'start':\n            case 'flex-start':\n              css['align-items'] = css['align-content'] = 'flex-start';\n              break;\n\n            case 'center':\n              css['align-items'] = css['align-content'] = 'center';\n              break;\n\n            case 'end':\n            case 'flex-end':\n              css['align-items'] = css['align-content'] = 'flex-end';\n              break;\n\n            case 'space-between':\n              css['align-content'] = 'space-between';\n              css['align-items'] = 'stretch';\n              break;\n\n            case 'space-around':\n              css['align-content'] = 'space-around';\n              css['align-items'] = 'stretch';\n              break;\n\n            case 'baseline':\n              css['align-content'] = 'stretch';\n              css['align-items'] = 'baseline';\n              break;\n\n            case 'stretch':\n            default:\n              // 'stretch'\n              css['align-items'] = css['align-content'] = 'stretch'; // default cross axis\n\n              break;\n          }\n\n          return (\n            /** @type {?} */\n            extendObject(css, {\n              'display': parent.inline ? 'inline-flex' : 'flex',\n              'flex-direction': parent.layout,\n              'box-sizing': 'border-box',\n              'max-width': crossAxis === 'stretch' ? !isFlowHorizontal(parent.layout) ? '100%' : null : null,\n              'max-height': crossAxis === 'stretch' ? isFlowHorizontal(parent.layout) ? '100%' : null : null\n            })\n          );\n        }\n      }]);\n\n      return LayoutAlignStyleBuilder;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleBuilder\"]);\n\n    LayoutAlignStyleBuilder.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    LayoutAlignStyleBuilder.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({\n      factory: function LayoutAlignStyleBuilder_Factory() {\n        return new LayoutAlignStyleBuilder();\n      },\n      token: LayoutAlignStyleBuilder,\n      providedIn: \"root\"\n    });\n    /** @type {?} */\n\n    var inputs$6 = ['fxLayoutAlign', 'fxLayoutAlign.xs', 'fxLayoutAlign.sm', 'fxLayoutAlign.md', 'fxLayoutAlign.lg', 'fxLayoutAlign.xl', 'fxLayoutAlign.lt-sm', 'fxLayoutAlign.lt-md', 'fxLayoutAlign.lt-lg', 'fxLayoutAlign.lt-xl', 'fxLayoutAlign.gt-xs', 'fxLayoutAlign.gt-sm', 'fxLayoutAlign.gt-md', 'fxLayoutAlign.gt-lg'];\n    /** @type {?} */\n\n    var selector$6 = \"\\n  [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md],\\n  [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md],\\n  [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm],\\n  [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]\\n\";\n    /**\n     * 'layout-align' flexbox styling directive\n     *  Defines positioning of child elements along main and cross axis in a layout container\n     *  Optional values: {main-axis} values or {main-axis cross-axis} value pairs\n     *\n     * @see https://css-tricks.com/almanac/properties/j/justify-content/\n     * @see https://css-tricks.com/almanac/properties/a/align-items/\n     * @see https://css-tricks.com/almanac/properties/a/align-content/\n     */\n\n    var LayoutAlignDirective =\n    /*#__PURE__*/\n    function (_angular_flex_layout_22) {\n      _inherits(LayoutAlignDirective, _angular_flex_layout_22);\n\n      // default inline value\n\n      /**\n       * @param {?} elRef\n       * @param {?} styleUtils\n       * @param {?} styleBuilder\n       * @param {?} marshal\n       */\n      function LayoutAlignDirective(elRef, styleUtils, styleBuilder, marshal) {\n        var _this525;\n\n        _classCallCheck(this, LayoutAlignDirective);\n\n        _this525 = _possibleConstructorReturn(this, _getPrototypeOf(LayoutAlignDirective).call(this, elRef, styleBuilder, styleUtils, marshal));\n        _this525.elRef = elRef;\n        _this525.styleUtils = styleUtils;\n        _this525.styleBuilder = styleBuilder;\n        _this525.marshal = marshal;\n        _this525.DIRECTIVE_KEY = 'layout-align';\n        _this525.layout = 'row'; // default flex-direction\n        // default flex-direction\n\n        _this525.inline = false; // default inline value\n\n        _this525.init();\n\n        _this525.marshal.trackValue(_this525.nativeElement, 'layout').pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"takeUntil\"])(_this525.destroySubject)).subscribe(_this525.onLayoutChange.bind(_assertThisInitialized(_this525)));\n\n        return _this525;\n      } // *********************************************\n      // Protected methods\n      // *********************************************\n\n      /**\n       *\n       * @protected\n       * @param {?} value\n       * @return {?}\n       */\n\n\n      _createClass2(LayoutAlignDirective, [{\n        key: \"updateWithValue\",\n        value: function updateWithValue(value) {\n          /** @type {?} */\n          var layout = this.layout || 'row';\n          /** @type {?} */\n\n          var inline = this.inline;\n\n          if (layout === 'row' && inline) {\n            this.styleCache = layoutAlignHorizontalInlineCache;\n          } else if (layout === 'row' && !inline) {\n            this.styleCache = layoutAlignHorizontalCache;\n          } else if (layout === 'row-reverse' && inline) {\n            this.styleCache = layoutAlignHorizontalRevInlineCache;\n          } else if (layout === 'row-reverse' && !inline) {\n            this.styleCache = layoutAlignHorizontalRevCache;\n          } else if (layout === 'column' && inline) {\n            this.styleCache = layoutAlignVerticalInlineCache;\n          } else if (layout === 'column' && !inline) {\n            this.styleCache = layoutAlignVerticalCache;\n          } else if (layout === 'column-reverse' && inline) {\n            this.styleCache = layoutAlignVerticalRevInlineCache;\n          } else if (layout === 'column-reverse' && !inline) {\n            this.styleCache = layoutAlignVerticalRevCache;\n          }\n\n          this.addStyles(value, {\n            layout: layout,\n            inline: inline\n          });\n        }\n        /**\n         * Cache the parent container 'flex-direction' and update the 'flex' styles\n         * @protected\n         * @param {?} matcher\n         * @return {?}\n         */\n\n      }, {\n        key: \"onLayoutChange\",\n        value: function onLayoutChange(matcher) {\n          var _this526 = this;\n\n          /** @type {?} */\n          var layoutKeys = matcher.value.split(' ');\n          this.layout = layoutKeys[0];\n          this.inline = matcher.value.includes('inline');\n\n          if (!LAYOUT_VALUES.find(\n          /**\n          * @param {?} x\n          * @return {?}\n          */\n          function (x) {\n            return x === _this526.layout;\n          })) {\n            this.layout = 'row';\n          }\n\n          this.triggerUpdate();\n        }\n      }]);\n\n      return LayoutAlignDirective;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"BaseDirective2\"]);\n\n    LayoutAlignDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: 'layout-align-directive'\n      }]\n    }];\n    /** @nocollapse */\n\n    LayoutAlignDirective.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"]\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleUtils\"]\n      }, {\n        type: LayoutAlignStyleBuilder,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }]\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"MediaMarshaller\"]\n      }];\n    };\n\n    var DefaultLayoutAlignDirective =\n    /*#__PURE__*/\n    function (_LayoutAlignDirective) {\n      _inherits(DefaultLayoutAlignDirective, _LayoutAlignDirective);\n\n      function DefaultLayoutAlignDirective() {\n        var _this527;\n\n        _classCallCheck(this, DefaultLayoutAlignDirective);\n\n        _this527 = _possibleConstructorReturn(this, _getPrototypeOf(DefaultLayoutAlignDirective).apply(this, arguments));\n        _this527.inputs = inputs$6;\n        return _this527;\n      }\n\n      return DefaultLayoutAlignDirective;\n    }(LayoutAlignDirective);\n\n    DefaultLayoutAlignDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: selector$6,\n        inputs: inputs$6\n      }]\n    }];\n    /** @type {?} */\n\n    var layoutAlignHorizontalCache = new Map();\n    /** @type {?} */\n\n    var layoutAlignVerticalCache = new Map();\n    /** @type {?} */\n\n    var layoutAlignHorizontalRevCache = new Map();\n    /** @type {?} */\n\n    var layoutAlignVerticalRevCache = new Map();\n    /** @type {?} */\n\n    var layoutAlignHorizontalInlineCache = new Map();\n    /** @type {?} */\n\n    var layoutAlignVerticalInlineCache = new Map();\n    /** @type {?} */\n\n    var layoutAlignHorizontalRevInlineCache = new Map();\n    /** @type {?} */\n\n    var layoutAlignVerticalRevInlineCache = new Map();\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n    var ALL_DIRECTIVES = [DefaultLayoutDirective, DefaultLayoutGapDirective, DefaultLayoutAlignDirective, DefaultFlexOrderDirective, DefaultFlexOffsetDirective, FlexFillDirective, DefaultFlexAlignDirective, DefaultFlexDirective, FlexDirective, FlexAlignDirective, FlexOffsetDirective, FlexOrderDirective, LayoutDirective, LayoutAlignDirective, LayoutGapDirective];\n    /**\n     * *****************************************************************\n     * Define module for the Flex API\n     * *****************************************************************\n     */\n\n    var FlexModule = function FlexModule() {\n      _classCallCheck(this, FlexModule);\n    };\n\n    FlexModule.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"],\n      args: [{\n        imports: [_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"CoreModule\"], _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_2__[\"BidiModule\"]],\n        declarations: [].concat(ALL_DIRECTIVES),\n        exports: [].concat(ALL_DIRECTIVES)\n      }]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /***/\n  },\n\n  /***/\n  \"./node_modules/@angular/flex-layout/esm2015/grid.js\":\n  /*!***********************************************************!*\\\n    !*** ./node_modules/@angular/flex-layout/esm2015/grid.js ***!\n    \\***********************************************************/\n\n  /*! exports provided: GridModule, ɵf2, ɵe2, ɵd2, ɵi2, ɵh2, ɵg2, ɵl2, ɵk2, ɵj2, ɵo2, ɵn2, ɵm2, ɵr2, ɵq2, ɵp2, ɵu2, ɵt2, ɵs2, ɵx2, ɵw2, ɵv2, ɵba2, ɵz2, ɵy2, ɵc2, ɵb2, ɵa2, ɵbd2, ɵbc2, ɵbb2, ɵbg2, ɵbf2, ɵbe2 */\n\n  /***/\n  function node_modulesAngularFlexLayoutEsm2015GridJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"GridModule\", function () {\n      return GridModule;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵf2\", function () {\n      return DefaultGridAlignColumnsDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵe2\", function () {\n      return GridAlignColumnsDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵd2\", function () {\n      return GridAlignColumnsStyleBuilder;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵi2\", function () {\n      return DefaultGridAlignRowsDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵh2\", function () {\n      return GridAlignRowsDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵg2\", function () {\n      return GridAlignRowsStyleBuilder;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵl2\", function () {\n      return DefaultGridAreaDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵk2\", function () {\n      return GridAreaDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵj2\", function () {\n      return GridAreaStyleBuilder;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵo2\", function () {\n      return DefaultGridAreasDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵn2\", function () {\n      return GridAreasDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵm2\", function () {\n      return GridAreasStyleBuiler;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵr2\", function () {\n      return DefaultGridAutoDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵq2\", function () {\n      return GridAutoDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵp2\", function () {\n      return GridAutoStyleBuilder;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵu2\", function () {\n      return DefaultGridColumnDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵt2\", function () {\n      return GridColumnDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵs2\", function () {\n      return GridColumnStyleBuilder;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵx2\", function () {\n      return DefaultGridColumnsDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵw2\", function () {\n      return GridColumnsDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵv2\", function () {\n      return GridColumnsStyleBuilder;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵba2\", function () {\n      return DefaultGridGapDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵz2\", function () {\n      return GridGapDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵy2\", function () {\n      return GridGapStyleBuilder;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵc2\", function () {\n      return DefaultGridAlignDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵb2\", function () {\n      return GridAlignDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵa2\", function () {\n      return GridAlignStyleBuilder;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵbd2\", function () {\n      return DefaultGridRowDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵbc2\", function () {\n      return GridRowDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵbb2\", function () {\n      return GridRowStyleBuilder;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵbg2\", function () {\n      return DefaultGridRowsDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵbf2\", function () {\n      return GridRowsDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵbe2\", function () {\n      return GridRowsStyleBuilder;\n    });\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/flex-layout/core */\n    \"./node_modules/@angular/flex-layout/esm2015/core.js\");\n    /* harmony import */\n\n\n    var _angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! @angular/cdk/coercion */\n    \"./node_modules/@angular/cdk/esm2015/coercion.js\");\n    /**\n     * @license\n     * Copyright Google LLC All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var ROW_DEFAULT = 'stretch';\n    /** @type {?} */\n\n    var COL_DEFAULT = 'stretch';\n\n    var GridAlignStyleBuilder =\n    /*#__PURE__*/\n    function (_angular_flex_layout_23) {\n      _inherits(GridAlignStyleBuilder, _angular_flex_layout_23);\n\n      function GridAlignStyleBuilder() {\n        _classCallCheck(this, GridAlignStyleBuilder);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(GridAlignStyleBuilder).apply(this, arguments));\n      }\n\n      _createClass2(GridAlignStyleBuilder, [{\n        key: \"buildStyles\",\n\n        /**\n         * @param {?} input\n         * @return {?}\n         */\n        value: function buildStyles(input) {\n          return buildCss(input || ROW_DEFAULT);\n        }\n      }]);\n\n      return GridAlignStyleBuilder;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleBuilder\"]);\n\n    GridAlignStyleBuilder.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    GridAlignStyleBuilder.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({\n      factory: function GridAlignStyleBuilder_Factory() {\n        return new GridAlignStyleBuilder();\n      },\n      token: GridAlignStyleBuilder,\n      providedIn: \"root\"\n    });\n\n    var GridAlignDirective =\n    /*#__PURE__*/\n    function (_angular_flex_layout_24) {\n      _inherits(GridAlignDirective, _angular_flex_layout_24);\n\n      /**\n       * @param {?} elementRef\n       * @param {?} styleBuilder\n       * @param {?} styler\n       * @param {?} marshal\n       */\n      function GridAlignDirective(elementRef, styleBuilder, styler, marshal) {\n        var _this528;\n\n        _classCallCheck(this, GridAlignDirective);\n\n        _this528 = _possibleConstructorReturn(this, _getPrototypeOf(GridAlignDirective).call(this, elementRef, styleBuilder, styler, marshal));\n        _this528.elementRef = elementRef;\n        _this528.styleBuilder = styleBuilder;\n        _this528.styler = styler;\n        _this528.marshal = marshal;\n        _this528.DIRECTIVE_KEY = 'grid-align';\n        _this528.styleCache = alignCache;\n\n        _this528.init();\n\n        return _this528;\n      }\n\n      return GridAlignDirective;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"BaseDirective2\"]);\n\n    GridAlignDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: 'grid-align-directive'\n      }]\n    }];\n    /** @nocollapse */\n\n    GridAlignDirective.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"]\n      }, {\n        type: GridAlignStyleBuilder,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }]\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleUtils\"]\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"MediaMarshaller\"]\n      }];\n    };\n    /** @type {?} */\n\n\n    var alignCache = new Map();\n    /** @type {?} */\n\n    var inputs = ['gdGridAlign', 'gdGridAlign.xs', 'gdGridAlign.sm', 'gdGridAlign.md', 'gdGridAlign.lg', 'gdGridAlign.xl', 'gdGridAlign.lt-sm', 'gdGridAlign.lt-md', 'gdGridAlign.lt-lg', 'gdGridAlign.lt-xl', 'gdGridAlign.gt-xs', 'gdGridAlign.gt-sm', 'gdGridAlign.gt-md', 'gdGridAlign.gt-lg'];\n    /** @type {?} */\n\n    var selector = \"\\n  [gdGridAlign],\\n  [gdGridAlign.xs], [gdGridAlign.sm], [gdGridAlign.md], [gdGridAlign.lg],[gdGridAlign.xl],\\n  [gdGridAlign.lt-sm], [gdGridAlign.lt-md], [gdGridAlign.lt-lg], [gdGridAlign.lt-xl],\\n  [gdGridAlign.gt-xs], [gdGridAlign.gt-sm], [gdGridAlign.gt-md], [gdGridAlign.gt-lg]\\n\";\n    /**\n     * 'align' CSS Grid styling directive for grid children\n     *  Defines positioning of child elements along row and column axis in a grid container\n     *  Optional values: {row-axis} values or {row-axis column-axis} value pairs\n     *\n     * @see https://css-tricks.com/snippets/css/complete-guide-grid/#prop-justify-self\n     * @see https://css-tricks.com/snippets/css/complete-guide-grid/#prop-align-self\n     */\n\n    var DefaultGridAlignDirective =\n    /*#__PURE__*/\n    function (_GridAlignDirective) {\n      _inherits(DefaultGridAlignDirective, _GridAlignDirective);\n\n      function DefaultGridAlignDirective() {\n        var _this529;\n\n        _classCallCheck(this, DefaultGridAlignDirective);\n\n        _this529 = _possibleConstructorReturn(this, _getPrototypeOf(DefaultGridAlignDirective).apply(this, arguments));\n        _this529.inputs = inputs;\n        return _this529;\n      }\n\n      return DefaultGridAlignDirective;\n    }(GridAlignDirective);\n\n    DefaultGridAlignDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: selector,\n        inputs: inputs\n      }]\n    }];\n    /**\n     * @param {?=} align\n     * @return {?}\n     */\n\n    function buildCss() {\n      var align = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n\n      /** @type {?} */\n      var css = {};\n\n      var _align$split3 = align.split(' '),\n          _align$split4 = _slicedToArray(_align$split3, 2),\n          rowAxis = _align$split4[0],\n          columnAxis = _align$split4[1]; // Row axis\n\n\n      switch (rowAxis) {\n        case 'end':\n          css['justify-self'] = 'end';\n          break;\n\n        case 'center':\n          css['justify-self'] = 'center';\n          break;\n\n        case 'stretch':\n          css['justify-self'] = 'stretch';\n          break;\n\n        case 'start':\n          css['justify-self'] = 'start';\n          break;\n\n        default:\n          css['justify-self'] = ROW_DEFAULT; // default row axis\n\n          break;\n      } // Column axis\n\n\n      switch (columnAxis) {\n        case 'end':\n          css['align-self'] = 'end';\n          break;\n\n        case 'center':\n          css['align-self'] = 'center';\n          break;\n\n        case 'stretch':\n          css['align-self'] = 'stretch';\n          break;\n\n        case 'start':\n          css['align-self'] = 'start';\n          break;\n\n        default:\n          css['align-self'] = COL_DEFAULT; // default column axis\n\n          break;\n      }\n\n      return css;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var DEFAULT_MAIN = 'start';\n    /** @type {?} */\n\n    var DEFAULT_CROSS = 'stretch';\n\n    var GridAlignColumnsStyleBuilder =\n    /*#__PURE__*/\n    function (_angular_flex_layout_25) {\n      _inherits(GridAlignColumnsStyleBuilder, _angular_flex_layout_25);\n\n      function GridAlignColumnsStyleBuilder() {\n        _classCallCheck(this, GridAlignColumnsStyleBuilder);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(GridAlignColumnsStyleBuilder).apply(this, arguments));\n      }\n\n      _createClass2(GridAlignColumnsStyleBuilder, [{\n        key: \"buildStyles\",\n\n        /**\n         * @param {?} input\n         * @param {?} parent\n         * @return {?}\n         */\n        value: function buildStyles(input, parent) {\n          return buildCss$1(input || \"\".concat(DEFAULT_MAIN, \" \").concat(DEFAULT_CROSS), parent.inline);\n        }\n      }]);\n\n      return GridAlignColumnsStyleBuilder;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleBuilder\"]);\n\n    GridAlignColumnsStyleBuilder.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    GridAlignColumnsStyleBuilder.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({\n      factory: function GridAlignColumnsStyleBuilder_Factory() {\n        return new GridAlignColumnsStyleBuilder();\n      },\n      token: GridAlignColumnsStyleBuilder,\n      providedIn: \"root\"\n    });\n\n    var GridAlignColumnsDirective =\n    /*#__PURE__*/\n    function (_angular_flex_layout_26) {\n      _inherits(GridAlignColumnsDirective, _angular_flex_layout_26);\n\n      /**\n       * @param {?} elementRef\n       * @param {?} styleBuilder\n       * @param {?} styler\n       * @param {?} marshal\n       */\n      function GridAlignColumnsDirective(elementRef, styleBuilder, styler, marshal) {\n        var _this530;\n\n        _classCallCheck(this, GridAlignColumnsDirective);\n\n        _this530 = _possibleConstructorReturn(this, _getPrototypeOf(GridAlignColumnsDirective).call(this, elementRef, styleBuilder, styler, marshal));\n        _this530.elementRef = elementRef;\n        _this530.styleBuilder = styleBuilder;\n        _this530.styler = styler;\n        _this530.marshal = marshal;\n        _this530.DIRECTIVE_KEY = 'grid-align-columns';\n        _this530._inline = false;\n\n        _this530.init();\n\n        return _this530;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(GridAlignColumnsDirective, [{\n        key: \"updateWithValue\",\n        // *********************************************\n        // Protected methods\n        // *********************************************\n\n        /**\n         * @protected\n         * @param {?} value\n         * @return {?}\n         */\n        value: function updateWithValue(value) {\n          this.styleCache = this.inline ? alignColumnsInlineCache : alignColumnsCache;\n          this.addStyles(value, {\n            inline: this.inline\n          });\n        }\n      }, {\n        key: \"inline\",\n        get: function get() {\n          return this._inline;\n        }\n        /**\n         * @param {?} val\n         * @return {?}\n         */\n        ,\n        set: function set(val) {\n          this._inline = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_2__[\"coerceBooleanProperty\"])(val);\n        }\n      }]);\n\n      return GridAlignColumnsDirective;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"BaseDirective2\"]);\n\n    GridAlignColumnsDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: 'grid-align-columns-directive'\n      }]\n    }];\n    /** @nocollapse */\n\n    GridAlignColumnsDirective.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"]\n      }, {\n        type: GridAlignColumnsStyleBuilder,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }]\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleUtils\"]\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"MediaMarshaller\"]\n      }];\n    };\n\n    GridAlignColumnsDirective.propDecorators = {\n      inline: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"],\n        args: ['gdInline']\n      }]\n    };\n    /** @type {?} */\n\n    var alignColumnsCache = new Map();\n    /** @type {?} */\n\n    var alignColumnsInlineCache = new Map();\n    /** @type {?} */\n\n    var inputs$1 = ['gdAlignColumns', 'gdAlignColumns.xs', 'gdAlignColumns.sm', 'gdAlignColumns.md', 'gdAlignColumns.lg', 'gdAlignColumns.xl', 'gdAlignColumns.lt-sm', 'gdAlignColumns.lt-md', 'gdAlignColumns.lt-lg', 'gdAlignColumns.lt-xl', 'gdAlignColumns.gt-xs', 'gdAlignColumns.gt-sm', 'gdAlignColumns.gt-md', 'gdAlignColumns.gt-lg'];\n    /** @type {?} */\n\n    var selector$1 = \"\\n  [gdAlignColumns],\\n  [gdAlignColumns.xs], [gdAlignColumns.sm], [gdAlignColumns.md],\\n  [gdAlignColumns.lg], [gdAlignColumns.xl], [gdAlignColumns.lt-sm],\\n  [gdAlignColumns.lt-md], [gdAlignColumns.lt-lg], [gdAlignColumns.lt-xl],\\n  [gdAlignColumns.gt-xs], [gdAlignColumns.gt-sm], [gdAlignColumns.gt-md],\\n  [gdAlignColumns.gt-lg]\\n\";\n    /**\n     * 'column alignment' CSS Grid styling directive\n     * Configures the alignment in the column direction\n     * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-19\n     * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-21\n     */\n\n    var DefaultGridAlignColumnsDirective =\n    /*#__PURE__*/\n    function (_GridAlignColumnsDire) {\n      _inherits(DefaultGridAlignColumnsDirective, _GridAlignColumnsDire);\n\n      function DefaultGridAlignColumnsDirective() {\n        var _this531;\n\n        _classCallCheck(this, DefaultGridAlignColumnsDirective);\n\n        _this531 = _possibleConstructorReturn(this, _getPrototypeOf(DefaultGridAlignColumnsDirective).apply(this, arguments));\n        _this531.inputs = inputs$1;\n        return _this531;\n      }\n\n      return DefaultGridAlignColumnsDirective;\n    }(GridAlignColumnsDirective);\n\n    DefaultGridAlignColumnsDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: selector$1,\n        inputs: inputs$1\n      }]\n    }];\n    /**\n     * @param {?} align\n     * @param {?} inline\n     * @return {?}\n     */\n\n    function buildCss$1(align, inline) {\n      /** @type {?} */\n      var css = {};\n\n      var _align$split5 = align.split(' '),\n          _align$split6 = _slicedToArray(_align$split5, 2),\n          mainAxis = _align$split6[0],\n          crossAxis = _align$split6[1]; // Main axis\n\n\n      switch (mainAxis) {\n        case 'center':\n          css['align-content'] = 'center';\n          break;\n\n        case 'space-around':\n          css['align-content'] = 'space-around';\n          break;\n\n        case 'space-between':\n          css['align-content'] = 'space-between';\n          break;\n\n        case 'space-evenly':\n          css['align-content'] = 'space-evenly';\n          break;\n\n        case 'end':\n          css['align-content'] = 'end';\n          break;\n\n        case 'start':\n          css['align-content'] = 'start';\n          break;\n\n        case 'stretch':\n          css['align-content'] = 'stretch';\n          break;\n\n        default:\n          css['align-content'] = DEFAULT_MAIN; // default main axis\n\n          break;\n      } // Cross-axis\n\n\n      switch (crossAxis) {\n        case 'start':\n          css['align-items'] = 'start';\n          break;\n\n        case 'center':\n          css['align-items'] = 'center';\n          break;\n\n        case 'end':\n          css['align-items'] = 'end';\n          break;\n\n        case 'stretch':\n          css['align-items'] = 'stretch';\n          break;\n\n        default:\n          // 'stretch'\n          css['align-items'] = DEFAULT_CROSS; // default cross axis\n\n          break;\n      }\n\n      css['display'] = inline ? 'inline-grid' : 'grid';\n      return css;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var DEFAULT_MAIN$1 = 'start';\n    /** @type {?} */\n\n    var DEFAULT_CROSS$1 = 'stretch';\n\n    var GridAlignRowsStyleBuilder =\n    /*#__PURE__*/\n    function (_angular_flex_layout_27) {\n      _inherits(GridAlignRowsStyleBuilder, _angular_flex_layout_27);\n\n      function GridAlignRowsStyleBuilder() {\n        _classCallCheck(this, GridAlignRowsStyleBuilder);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(GridAlignRowsStyleBuilder).apply(this, arguments));\n      }\n\n      _createClass2(GridAlignRowsStyleBuilder, [{\n        key: \"buildStyles\",\n\n        /**\n         * @param {?} input\n         * @param {?} parent\n         * @return {?}\n         */\n        value: function buildStyles(input, parent) {\n          return buildCss$2(input || \"\".concat(DEFAULT_MAIN$1, \" \").concat(DEFAULT_CROSS$1), parent.inline);\n        }\n      }]);\n\n      return GridAlignRowsStyleBuilder;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleBuilder\"]);\n\n    GridAlignRowsStyleBuilder.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    GridAlignRowsStyleBuilder.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({\n      factory: function GridAlignRowsStyleBuilder_Factory() {\n        return new GridAlignRowsStyleBuilder();\n      },\n      token: GridAlignRowsStyleBuilder,\n      providedIn: \"root\"\n    });\n\n    var GridAlignRowsDirective =\n    /*#__PURE__*/\n    function (_angular_flex_layout_28) {\n      _inherits(GridAlignRowsDirective, _angular_flex_layout_28);\n\n      /**\n       * @param {?} elementRef\n       * @param {?} styleBuilder\n       * @param {?} styler\n       * @param {?} marshal\n       */\n      function GridAlignRowsDirective(elementRef, styleBuilder, styler, marshal) {\n        var _this532;\n\n        _classCallCheck(this, GridAlignRowsDirective);\n\n        _this532 = _possibleConstructorReturn(this, _getPrototypeOf(GridAlignRowsDirective).call(this, elementRef, styleBuilder, styler, marshal));\n        _this532.elementRef = elementRef;\n        _this532.styleBuilder = styleBuilder;\n        _this532.styler = styler;\n        _this532.marshal = marshal;\n        _this532.DIRECTIVE_KEY = 'grid-align-rows';\n        _this532._inline = false;\n\n        _this532.init();\n\n        return _this532;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(GridAlignRowsDirective, [{\n        key: \"updateWithValue\",\n        // *********************************************\n        // Protected methods\n        // *********************************************\n\n        /**\n         * @protected\n         * @param {?} value\n         * @return {?}\n         */\n        value: function updateWithValue(value) {\n          this.styleCache = this.inline ? alignRowsInlineCache : alignRowsCache;\n          this.addStyles(value, {\n            inline: this.inline\n          });\n        }\n      }, {\n        key: \"inline\",\n        get: function get() {\n          return this._inline;\n        }\n        /**\n         * @param {?} val\n         * @return {?}\n         */\n        ,\n        set: function set(val) {\n          this._inline = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_2__[\"coerceBooleanProperty\"])(val);\n        }\n      }]);\n\n      return GridAlignRowsDirective;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"BaseDirective2\"]);\n\n    GridAlignRowsDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: 'grid-align-rows-directive'\n      }]\n    }];\n    /** @nocollapse */\n\n    GridAlignRowsDirective.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"]\n      }, {\n        type: GridAlignRowsStyleBuilder,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }]\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleUtils\"]\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"MediaMarshaller\"]\n      }];\n    };\n\n    GridAlignRowsDirective.propDecorators = {\n      inline: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"],\n        args: ['gdInline']\n      }]\n    };\n    /** @type {?} */\n\n    var alignRowsCache = new Map();\n    /** @type {?} */\n\n    var alignRowsInlineCache = new Map();\n    /** @type {?} */\n\n    var inputs$2 = ['gdAlignRows', 'gdAlignRows.xs', 'gdAlignRows.sm', 'gdAlignRows.md', 'gdAlignRows.lg', 'gdAlignRows.xl', 'gdAlignRows.lt-sm', 'gdAlignRows.lt-md', 'gdAlignRows.lt-lg', 'gdAlignRows.lt-xl', 'gdAlignRows.gt-xs', 'gdAlignRows.gt-sm', 'gdAlignRows.gt-md', 'gdAlignRows.gt-lg'];\n    /** @type {?} */\n\n    var selector$2 = \"\\n  [gdAlignRows],\\n  [gdAlignRows.xs], [gdAlignRows.sm], [gdAlignRows.md],\\n  [gdAlignRows.lg], [gdAlignRows.xl], [gdAlignRows.lt-sm],\\n  [gdAlignRows.lt-md], [gdAlignRows.lt-lg], [gdAlignRows.lt-xl],\\n  [gdAlignRows.gt-xs], [gdAlignRows.gt-sm], [gdAlignRows.gt-md],\\n  [gdAlignRows.gt-lg]\\n\";\n    /**\n     * 'row alignment' CSS Grid styling directive\n     * Configures the alignment in the row direction\n     * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-18\n     * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-20\n     */\n\n    var DefaultGridAlignRowsDirective =\n    /*#__PURE__*/\n    function (_GridAlignRowsDirecti) {\n      _inherits(DefaultGridAlignRowsDirective, _GridAlignRowsDirecti);\n\n      function DefaultGridAlignRowsDirective() {\n        var _this533;\n\n        _classCallCheck(this, DefaultGridAlignRowsDirective);\n\n        _this533 = _possibleConstructorReturn(this, _getPrototypeOf(DefaultGridAlignRowsDirective).apply(this, arguments));\n        _this533.inputs = inputs$2;\n        return _this533;\n      }\n\n      return DefaultGridAlignRowsDirective;\n    }(GridAlignRowsDirective);\n\n    DefaultGridAlignRowsDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: selector$2,\n        inputs: inputs$2\n      }]\n    }];\n    /**\n     * @param {?} align\n     * @param {?} inline\n     * @return {?}\n     */\n\n    function buildCss$2(align, inline) {\n      /** @type {?} */\n      var css = {};\n\n      var _align$split7 = align.split(' '),\n          _align$split8 = _slicedToArray(_align$split7, 2),\n          mainAxis = _align$split8[0],\n          crossAxis = _align$split8[1]; // Main axis\n\n\n      switch (mainAxis) {\n        case 'center':\n        case 'space-around':\n        case 'space-between':\n        case 'space-evenly':\n        case 'end':\n        case 'start':\n        case 'stretch':\n          css['justify-content'] = mainAxis;\n          break;\n\n        default:\n          css['justify-content'] = DEFAULT_MAIN$1; // default main axis\n\n          break;\n      } // Cross-axis\n\n\n      switch (crossAxis) {\n        case 'start':\n        case 'center':\n        case 'end':\n        case 'stretch':\n          css['justify-items'] = crossAxis;\n          break;\n\n        default:\n          // 'stretch'\n          css['justify-items'] = DEFAULT_CROSS$1; // default cross axis\n\n          break;\n      }\n\n      css['display'] = inline ? 'inline-grid' : 'grid';\n      return css;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var DEFAULT_VALUE = 'auto';\n\n    var GridAreaStyleBuilder =\n    /*#__PURE__*/\n    function (_angular_flex_layout_29) {\n      _inherits(GridAreaStyleBuilder, _angular_flex_layout_29);\n\n      function GridAreaStyleBuilder() {\n        _classCallCheck(this, GridAreaStyleBuilder);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(GridAreaStyleBuilder).apply(this, arguments));\n      }\n\n      _createClass2(GridAreaStyleBuilder, [{\n        key: \"buildStyles\",\n\n        /**\n         * @param {?} input\n         * @return {?}\n         */\n        value: function buildStyles(input) {\n          return {\n            'grid-area': input || DEFAULT_VALUE\n          };\n        }\n      }]);\n\n      return GridAreaStyleBuilder;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleBuilder\"]);\n\n    GridAreaStyleBuilder.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    GridAreaStyleBuilder.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({\n      factory: function GridAreaStyleBuilder_Factory() {\n        return new GridAreaStyleBuilder();\n      },\n      token: GridAreaStyleBuilder,\n      providedIn: \"root\"\n    });\n\n    var GridAreaDirective =\n    /*#__PURE__*/\n    function (_angular_flex_layout_30) {\n      _inherits(GridAreaDirective, _angular_flex_layout_30);\n\n      /**\n       * @param {?} elRef\n       * @param {?} styleUtils\n       * @param {?} styleBuilder\n       * @param {?} marshal\n       */\n      function GridAreaDirective(elRef, styleUtils, styleBuilder, marshal) {\n        var _this534;\n\n        _classCallCheck(this, GridAreaDirective);\n\n        _this534 = _possibleConstructorReturn(this, _getPrototypeOf(GridAreaDirective).call(this, elRef, styleBuilder, styleUtils, marshal));\n        _this534.elRef = elRef;\n        _this534.styleUtils = styleUtils;\n        _this534.styleBuilder = styleBuilder;\n        _this534.marshal = marshal;\n        _this534.DIRECTIVE_KEY = 'grid-area';\n        _this534.styleCache = gridAreaCache;\n\n        _this534.init();\n\n        return _this534;\n      }\n\n      return GridAreaDirective;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"BaseDirective2\"]);\n\n    GridAreaDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: 'grid-area-directive'\n      }]\n    }];\n    /** @nocollapse */\n\n    GridAreaDirective.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"]\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleUtils\"]\n      }, {\n        type: GridAreaStyleBuilder,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }]\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"MediaMarshaller\"]\n      }];\n    };\n    /** @type {?} */\n\n\n    var gridAreaCache = new Map();\n    /** @type {?} */\n\n    var inputs$3 = ['gdArea', 'gdArea.xs', 'gdArea.sm', 'gdArea.md', 'gdArea.lg', 'gdArea.xl', 'gdArea.lt-sm', 'gdArea.lt-md', 'gdArea.lt-lg', 'gdArea.lt-xl', 'gdArea.gt-xs', 'gdArea.gt-sm', 'gdArea.gt-md', 'gdArea.gt-lg'];\n    /** @type {?} */\n\n    var selector$3 = \"\\n  [gdArea],\\n  [gdArea.xs], [gdArea.sm], [gdArea.md], [gdArea.lg], [gdArea.xl],\\n  [gdArea.lt-sm], [gdArea.lt-md], [gdArea.lt-lg], [gdArea.lt-xl],\\n  [gdArea.gt-xs], [gdArea.gt-sm], [gdArea.gt-md], [gdArea.gt-lg]\\n\";\n    /**\n     * 'grid-area' CSS Grid styling directive\n     * Configures the name or position of an element within the grid\n     * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-27\n     */\n\n    var DefaultGridAreaDirective =\n    /*#__PURE__*/\n    function (_GridAreaDirective) {\n      _inherits(DefaultGridAreaDirective, _GridAreaDirective);\n\n      function DefaultGridAreaDirective() {\n        var _this535;\n\n        _classCallCheck(this, DefaultGridAreaDirective);\n\n        _this535 = _possibleConstructorReturn(this, _getPrototypeOf(DefaultGridAreaDirective).apply(this, arguments));\n        _this535.inputs = inputs$3;\n        return _this535;\n      }\n\n      return DefaultGridAreaDirective;\n    }(GridAreaDirective);\n\n    DefaultGridAreaDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: selector$3,\n        inputs: inputs$3\n      }]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n    var DEFAULT_VALUE$1 = 'none';\n    /** @type {?} */\n\n    var DELIMETER = '|';\n\n    var GridAreasStyleBuiler =\n    /*#__PURE__*/\n    function (_angular_flex_layout_31) {\n      _inherits(GridAreasStyleBuiler, _angular_flex_layout_31);\n\n      function GridAreasStyleBuiler() {\n        _classCallCheck(this, GridAreasStyleBuiler);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(GridAreasStyleBuiler).apply(this, arguments));\n      }\n\n      _createClass2(GridAreasStyleBuiler, [{\n        key: \"buildStyles\",\n\n        /**\n         * @param {?} input\n         * @param {?} parent\n         * @return {?}\n         */\n        value: function buildStyles(input, parent) {\n          /** @type {?} */\n          var areas = (input || DEFAULT_VALUE$1).split(DELIMETER).map(\n          /**\n          * @param {?} v\n          * @return {?}\n          */\n          function (v) {\n            return \"\\\"\".concat(v.trim(), \"\\\"\");\n          });\n          return {\n            'display': parent.inline ? 'inline-grid' : 'grid',\n            'grid-template-areas': areas.join(' ')\n          };\n        }\n      }]);\n\n      return GridAreasStyleBuiler;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleBuilder\"]);\n\n    GridAreasStyleBuiler.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    GridAreasStyleBuiler.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({\n      factory: function GridAreasStyleBuiler_Factory() {\n        return new GridAreasStyleBuiler();\n      },\n      token: GridAreasStyleBuiler,\n      providedIn: \"root\"\n    });\n\n    var GridAreasDirective =\n    /*#__PURE__*/\n    function (_angular_flex_layout_32) {\n      _inherits(GridAreasDirective, _angular_flex_layout_32);\n\n      /**\n       * @param {?} elRef\n       * @param {?} styleUtils\n       * @param {?} styleBuilder\n       * @param {?} marshal\n       */\n      function GridAreasDirective(elRef, styleUtils, styleBuilder, marshal) {\n        var _this536;\n\n        _classCallCheck(this, GridAreasDirective);\n\n        _this536 = _possibleConstructorReturn(this, _getPrototypeOf(GridAreasDirective).call(this, elRef, styleBuilder, styleUtils, marshal));\n        _this536.elRef = elRef;\n        _this536.styleUtils = styleUtils;\n        _this536.styleBuilder = styleBuilder;\n        _this536.marshal = marshal;\n        _this536.DIRECTIVE_KEY = 'grid-areas';\n        _this536._inline = false;\n\n        _this536.init();\n\n        return _this536;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(GridAreasDirective, [{\n        key: \"updateWithValue\",\n        // *********************************************\n        // Protected methods\n        // *********************************************\n\n        /**\n         * @protected\n         * @param {?} value\n         * @return {?}\n         */\n        value: function updateWithValue(value) {\n          this.styleCache = this.inline ? areasInlineCache : areasCache;\n          this.addStyles(value, {\n            inline: this.inline\n          });\n        }\n      }, {\n        key: \"inline\",\n        get: function get() {\n          return this._inline;\n        }\n        /**\n         * @param {?} val\n         * @return {?}\n         */\n        ,\n        set: function set(val) {\n          this._inline = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_2__[\"coerceBooleanProperty\"])(val);\n        }\n      }]);\n\n      return GridAreasDirective;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"BaseDirective2\"]);\n\n    GridAreasDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: 'grid-areas-directive'\n      }]\n    }];\n    /** @nocollapse */\n\n    GridAreasDirective.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"]\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleUtils\"]\n      }, {\n        type: GridAreasStyleBuiler,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }]\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"MediaMarshaller\"]\n      }];\n    };\n\n    GridAreasDirective.propDecorators = {\n      inline: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"],\n        args: ['gdInline']\n      }]\n    };\n    /** @type {?} */\n\n    var areasCache = new Map();\n    /** @type {?} */\n\n    var areasInlineCache = new Map();\n    /** @type {?} */\n\n    var inputs$4 = ['gdAreas', 'gdAreas.xs', 'gdAreas.sm', 'gdAreas.md', 'gdAreas.lg', 'gdAreas.xl', 'gdAreas.lt-sm', 'gdAreas.lt-md', 'gdAreas.lt-lg', 'gdAreas.lt-xl', 'gdAreas.gt-xs', 'gdAreas.gt-sm', 'gdAreas.gt-md', 'gdAreas.gt-lg'];\n    /** @type {?} */\n\n    var selector$4 = \"\\n  [gdAreas],\\n  [gdAreas.xs], [gdAreas.sm], [gdAreas.md], [gdAreas.lg], [gdAreas.xl],\\n  [gdAreas.lt-sm], [gdAreas.lt-md], [gdAreas.lt-lg], [gdAreas.lt-xl],\\n  [gdAreas.gt-xs], [gdAreas.gt-sm], [gdAreas.gt-md], [gdAreas.gt-lg]\\n\";\n    /**\n     * 'grid-template-areas' CSS Grid styling directive\n     * Configures the names of elements within the grid\n     * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-14\n     */\n\n    var DefaultGridAreasDirective =\n    /*#__PURE__*/\n    function (_GridAreasDirective) {\n      _inherits(DefaultGridAreasDirective, _GridAreasDirective);\n\n      function DefaultGridAreasDirective() {\n        var _this537;\n\n        _classCallCheck(this, DefaultGridAreasDirective);\n\n        _this537 = _possibleConstructorReturn(this, _getPrototypeOf(DefaultGridAreasDirective).apply(this, arguments));\n        _this537.inputs = inputs$4;\n        return _this537;\n      }\n\n      return DefaultGridAreasDirective;\n    }(GridAreasDirective);\n\n    DefaultGridAreasDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: selector$4,\n        inputs: inputs$4\n      }]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n    var DEFAULT_VALUE$2 = 'initial';\n\n    var GridAutoStyleBuilder =\n    /*#__PURE__*/\n    function (_angular_flex_layout_33) {\n      _inherits(GridAutoStyleBuilder, _angular_flex_layout_33);\n\n      function GridAutoStyleBuilder() {\n        _classCallCheck(this, GridAutoStyleBuilder);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(GridAutoStyleBuilder).apply(this, arguments));\n      }\n\n      _createClass2(GridAutoStyleBuilder, [{\n        key: \"buildStyles\",\n\n        /**\n         * @param {?} input\n         * @param {?} parent\n         * @return {?}\n         */\n        value: function buildStyles(input, parent) {\n          var _split2 = (input || DEFAULT_VALUE$2).split(' '),\n              _split3 = _slicedToArray(_split2, 2),\n              direction = _split3[0],\n              dense = _split3[1];\n\n          if (direction !== 'column' && direction !== 'row' && direction !== 'dense') {\n            direction = 'row';\n          }\n\n          dense = dense === 'dense' && direction !== 'dense' ? ' dense' : '';\n          return {\n            'display': parent.inline ? 'inline-grid' : 'grid',\n            'grid-auto-flow': direction + dense\n          };\n        }\n      }]);\n\n      return GridAutoStyleBuilder;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleBuilder\"]);\n\n    GridAutoStyleBuilder.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    GridAutoStyleBuilder.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({\n      factory: function GridAutoStyleBuilder_Factory() {\n        return new GridAutoStyleBuilder();\n      },\n      token: GridAutoStyleBuilder,\n      providedIn: \"root\"\n    });\n\n    var GridAutoDirective =\n    /*#__PURE__*/\n    function (_angular_flex_layout_34) {\n      _inherits(GridAutoDirective, _angular_flex_layout_34);\n\n      /**\n       * @param {?} elementRef\n       * @param {?} styleBuilder\n       * @param {?} styler\n       * @param {?} marshal\n       */\n      function GridAutoDirective(elementRef, styleBuilder, styler, marshal) {\n        var _this538;\n\n        _classCallCheck(this, GridAutoDirective);\n\n        _this538 = _possibleConstructorReturn(this, _getPrototypeOf(GridAutoDirective).call(this, elementRef, styleBuilder, styler, marshal));\n        _this538.elementRef = elementRef;\n        _this538.styleBuilder = styleBuilder;\n        _this538.styler = styler;\n        _this538.marshal = marshal;\n        _this538._inline = false;\n        _this538.DIRECTIVE_KEY = 'grid-auto';\n\n        _this538.init();\n\n        return _this538;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(GridAutoDirective, [{\n        key: \"updateWithValue\",\n        // *********************************************\n        // Protected methods\n        // *********************************************\n\n        /**\n         * @protected\n         * @param {?} value\n         * @return {?}\n         */\n        value: function updateWithValue(value) {\n          this.styleCache = this.inline ? autoInlineCache : autoCache;\n          this.addStyles(value, {\n            inline: this.inline\n          });\n        }\n      }, {\n        key: \"inline\",\n        get: function get() {\n          return this._inline;\n        }\n        /**\n         * @param {?} val\n         * @return {?}\n         */\n        ,\n        set: function set(val) {\n          this._inline = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_2__[\"coerceBooleanProperty\"])(val);\n        }\n      }]);\n\n      return GridAutoDirective;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"BaseDirective2\"]);\n\n    GridAutoDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: \"grid-auto-directive\"\n      }]\n    }];\n    /** @nocollapse */\n\n    GridAutoDirective.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"]\n      }, {\n        type: GridAutoStyleBuilder,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }]\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleUtils\"]\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"MediaMarshaller\"]\n      }];\n    };\n\n    GridAutoDirective.propDecorators = {\n      inline: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"],\n        args: ['gdInline']\n      }]\n    };\n    /** @type {?} */\n\n    var autoCache = new Map();\n    /** @type {?} */\n\n    var autoInlineCache = new Map();\n    /** @type {?} */\n\n    var inputs$5 = ['gdAuto', 'gdAuto.xs', 'gdAuto.sm', 'gdAuto.md', 'gdAuto.lg', 'gdAuto.xl', 'gdAuto.lt-sm', 'gdAuto.lt-md', 'gdAuto.lt-lg', 'gdAuto.lt-xl', 'gdAuto.gt-xs', 'gdAuto.gt-sm', 'gdAuto.gt-md', 'gdAuto.gt-lg'];\n    /** @type {?} */\n\n    var selector$5 = \"\\n  [gdAuto],\\n  [gdAuto.xs], [gdAuto.sm], [gdAuto.md], [gdAuto.lg], [gdAuto.xl],\\n  [gdAuto.lt-sm], [gdAuto.lt-md], [gdAuto.lt-lg], [gdAuto.lt-xl],\\n  [gdAuto.gt-xs], [gdAuto.gt-sm], [gdAuto.gt-md], [gdAuto.gt-lg]\\n\";\n    /**\n     * 'grid-auto-flow' CSS Grid styling directive\n     * Configures the auto placement algorithm for the grid\n     * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-23\n     */\n\n    var DefaultGridAutoDirective =\n    /*#__PURE__*/\n    function (_GridAutoDirective) {\n      _inherits(DefaultGridAutoDirective, _GridAutoDirective);\n\n      function DefaultGridAutoDirective() {\n        var _this539;\n\n        _classCallCheck(this, DefaultGridAutoDirective);\n\n        _this539 = _possibleConstructorReturn(this, _getPrototypeOf(DefaultGridAutoDirective).apply(this, arguments));\n        _this539.inputs = inputs$5;\n        return _this539;\n      }\n\n      return DefaultGridAutoDirective;\n    }(GridAutoDirective);\n\n    DefaultGridAutoDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: selector$5,\n        inputs: inputs$5\n      }]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n    var DEFAULT_VALUE$3 = 'auto';\n\n    var GridColumnStyleBuilder =\n    /*#__PURE__*/\n    function (_angular_flex_layout_35) {\n      _inherits(GridColumnStyleBuilder, _angular_flex_layout_35);\n\n      function GridColumnStyleBuilder() {\n        _classCallCheck(this, GridColumnStyleBuilder);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(GridColumnStyleBuilder).apply(this, arguments));\n      }\n\n      _createClass2(GridColumnStyleBuilder, [{\n        key: \"buildStyles\",\n\n        /**\n         * @param {?} input\n         * @return {?}\n         */\n        value: function buildStyles(input) {\n          return {\n            'grid-column': input || DEFAULT_VALUE$3\n          };\n        }\n      }]);\n\n      return GridColumnStyleBuilder;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleBuilder\"]);\n\n    GridColumnStyleBuilder.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    GridColumnStyleBuilder.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({\n      factory: function GridColumnStyleBuilder_Factory() {\n        return new GridColumnStyleBuilder();\n      },\n      token: GridColumnStyleBuilder,\n      providedIn: \"root\"\n    });\n\n    var GridColumnDirective =\n    /*#__PURE__*/\n    function (_angular_flex_layout_36) {\n      _inherits(GridColumnDirective, _angular_flex_layout_36);\n\n      /**\n       * @param {?} elementRef\n       * @param {?} styleBuilder\n       * @param {?} styler\n       * @param {?} marshal\n       */\n      function GridColumnDirective(elementRef, styleBuilder, styler, marshal) {\n        var _this540;\n\n        _classCallCheck(this, GridColumnDirective);\n\n        _this540 = _possibleConstructorReturn(this, _getPrototypeOf(GridColumnDirective).call(this, elementRef, styleBuilder, styler, marshal));\n        _this540.elementRef = elementRef;\n        _this540.styleBuilder = styleBuilder;\n        _this540.styler = styler;\n        _this540.marshal = marshal;\n        _this540.DIRECTIVE_KEY = 'grid-column';\n        _this540.styleCache = columnCache;\n\n        _this540.init();\n\n        return _this540;\n      }\n\n      return GridColumnDirective;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"BaseDirective2\"]);\n\n    GridColumnDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: 'grid-column-directive'\n      }]\n    }];\n    /** @nocollapse */\n\n    GridColumnDirective.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"]\n      }, {\n        type: GridColumnStyleBuilder,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }]\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleUtils\"]\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"MediaMarshaller\"]\n      }];\n    };\n    /** @type {?} */\n\n\n    var columnCache = new Map();\n    /** @type {?} */\n\n    var inputs$6 = ['gdColumn', 'gdColumn.xs', 'gdColumn.sm', 'gdColumn.md', 'gdColumn.lg', 'gdColumn.xl', 'gdColumn.lt-sm', 'gdColumn.lt-md', 'gdColumn.lt-lg', 'gdColumn.lt-xl', 'gdColumn.gt-xs', 'gdColumn.gt-sm', 'gdColumn.gt-md', 'gdColumn.gt-lg'];\n    /** @type {?} */\n\n    var selector$6 = \"\\n  [gdColumn],\\n  [gdColumn.xs], [gdColumn.sm], [gdColumn.md], [gdColumn.lg], [gdColumn.xl],\\n  [gdColumn.lt-sm], [gdColumn.lt-md], [gdColumn.lt-lg], [gdColumn.lt-xl],\\n  [gdColumn.gt-xs], [gdColumn.gt-sm], [gdColumn.gt-md], [gdColumn.gt-lg]\\n\";\n    /**\n     * 'grid-column' CSS Grid styling directive\n     * Configures the name or position of an element within the grid\n     * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-26\n     */\n\n    var DefaultGridColumnDirective =\n    /*#__PURE__*/\n    function (_GridColumnDirective) {\n      _inherits(DefaultGridColumnDirective, _GridColumnDirective);\n\n      function DefaultGridColumnDirective() {\n        var _this541;\n\n        _classCallCheck(this, DefaultGridColumnDirective);\n\n        _this541 = _possibleConstructorReturn(this, _getPrototypeOf(DefaultGridColumnDirective).apply(this, arguments));\n        _this541.inputs = inputs$6;\n        return _this541;\n      }\n\n      return DefaultGridColumnDirective;\n    }(GridColumnDirective);\n\n    DefaultGridColumnDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: selector$6,\n        inputs: inputs$6\n      }]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n    var DEFAULT_VALUE$4 = 'none';\n    /** @type {?} */\n\n    var AUTO_SPECIFIER = '!';\n\n    var GridColumnsStyleBuilder =\n    /*#__PURE__*/\n    function (_angular_flex_layout_37) {\n      _inherits(GridColumnsStyleBuilder, _angular_flex_layout_37);\n\n      function GridColumnsStyleBuilder() {\n        _classCallCheck(this, GridColumnsStyleBuilder);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(GridColumnsStyleBuilder).apply(this, arguments));\n      }\n\n      _createClass2(GridColumnsStyleBuilder, [{\n        key: \"buildStyles\",\n\n        /**\n         * @param {?} input\n         * @param {?} parent\n         * @return {?}\n         */\n        value: function buildStyles(input, parent) {\n          input = input || DEFAULT_VALUE$4;\n          /** @type {?} */\n\n          var auto = false;\n\n          if (input.endsWith(AUTO_SPECIFIER)) {\n            input = input.substring(0, input.indexOf(AUTO_SPECIFIER));\n            auto = true;\n          }\n          /** @type {?} */\n\n\n          var css = {\n            'display': parent.inline ? 'inline-grid' : 'grid',\n            'grid-auto-columns': '',\n            'grid-template-columns': ''\n          };\n          /** @type {?} */\n\n          var key = auto ? 'grid-auto-columns' : 'grid-template-columns';\n          css[key] = input;\n          return css;\n        }\n      }]);\n\n      return GridColumnsStyleBuilder;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleBuilder\"]);\n\n    GridColumnsStyleBuilder.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    GridColumnsStyleBuilder.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({\n      factory: function GridColumnsStyleBuilder_Factory() {\n        return new GridColumnsStyleBuilder();\n      },\n      token: GridColumnsStyleBuilder,\n      providedIn: \"root\"\n    });\n\n    var GridColumnsDirective =\n    /*#__PURE__*/\n    function (_angular_flex_layout_38) {\n      _inherits(GridColumnsDirective, _angular_flex_layout_38);\n\n      /**\n       * @param {?} elementRef\n       * @param {?} styleBuilder\n       * @param {?} styler\n       * @param {?} marshal\n       */\n      function GridColumnsDirective(elementRef, styleBuilder, styler, marshal) {\n        var _this542;\n\n        _classCallCheck(this, GridColumnsDirective);\n\n        _this542 = _possibleConstructorReturn(this, _getPrototypeOf(GridColumnsDirective).call(this, elementRef, styleBuilder, styler, marshal));\n        _this542.elementRef = elementRef;\n        _this542.styleBuilder = styleBuilder;\n        _this542.styler = styler;\n        _this542.marshal = marshal;\n        _this542.DIRECTIVE_KEY = 'grid-columns';\n        _this542._inline = false;\n\n        _this542.init();\n\n        return _this542;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(GridColumnsDirective, [{\n        key: \"updateWithValue\",\n        // *********************************************\n        // Protected methods\n        // *********************************************\n\n        /**\n         * @protected\n         * @param {?} value\n         * @return {?}\n         */\n        value: function updateWithValue(value) {\n          this.styleCache = this.inline ? columnsInlineCache : columnsCache;\n          this.addStyles(value, {\n            inline: this.inline\n          });\n        }\n      }, {\n        key: \"inline\",\n        get: function get() {\n          return this._inline;\n        }\n        /**\n         * @param {?} val\n         * @return {?}\n         */\n        ,\n        set: function set(val) {\n          this._inline = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_2__[\"coerceBooleanProperty\"])(val);\n        }\n      }]);\n\n      return GridColumnsDirective;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"BaseDirective2\"]);\n\n    GridColumnsDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: 'grid-columns-directive'\n      }]\n    }];\n    /** @nocollapse */\n\n    GridColumnsDirective.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"]\n      }, {\n        type: GridColumnsStyleBuilder,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }]\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleUtils\"]\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"MediaMarshaller\"]\n      }];\n    };\n\n    GridColumnsDirective.propDecorators = {\n      inline: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"],\n        args: ['gdInline']\n      }]\n    };\n    /** @type {?} */\n\n    var columnsCache = new Map();\n    /** @type {?} */\n\n    var columnsInlineCache = new Map();\n    /** @type {?} */\n\n    var inputs$7 = ['gdColumns', 'gdColumns.xs', 'gdColumns.sm', 'gdColumns.md', 'gdColumns.lg', 'gdColumns.xl', 'gdColumns.lt-sm', 'gdColumns.lt-md', 'gdColumns.lt-lg', 'gdColumns.lt-xl', 'gdColumns.gt-xs', 'gdColumns.gt-sm', 'gdColumns.gt-md', 'gdColumns.gt-lg'];\n    /** @type {?} */\n\n    var selector$7 = \"\\n  [gdColumns],\\n  [gdColumns.xs], [gdColumns.sm], [gdColumns.md], [gdColumns.lg], [gdColumns.xl],\\n  [gdColumns.lt-sm], [gdColumns.lt-md], [gdColumns.lt-lg], [gdColumns.lt-xl],\\n  [gdColumns.gt-xs], [gdColumns.gt-sm], [gdColumns.gt-md], [gdColumns.gt-lg]\\n\";\n    /**\n     * 'grid-template-columns' CSS Grid styling directive\n     * Configures the sizing for the columns in the grid\n     * Syntax: <column value> [auto]\n     * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-13\n     */\n\n    var DefaultGridColumnsDirective =\n    /*#__PURE__*/\n    function (_GridColumnsDirective) {\n      _inherits(DefaultGridColumnsDirective, _GridColumnsDirective);\n\n      function DefaultGridColumnsDirective() {\n        var _this543;\n\n        _classCallCheck(this, DefaultGridColumnsDirective);\n\n        _this543 = _possibleConstructorReturn(this, _getPrototypeOf(DefaultGridColumnsDirective).apply(this, arguments));\n        _this543.inputs = inputs$7;\n        return _this543;\n      }\n\n      return DefaultGridColumnsDirective;\n    }(GridColumnsDirective);\n\n    DefaultGridColumnsDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: selector$7,\n        inputs: inputs$7\n      }]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n    var DEFAULT_VALUE$5 = '0';\n\n    var GridGapStyleBuilder =\n    /*#__PURE__*/\n    function (_angular_flex_layout_39) {\n      _inherits(GridGapStyleBuilder, _angular_flex_layout_39);\n\n      function GridGapStyleBuilder() {\n        _classCallCheck(this, GridGapStyleBuilder);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(GridGapStyleBuilder).apply(this, arguments));\n      }\n\n      _createClass2(GridGapStyleBuilder, [{\n        key: \"buildStyles\",\n\n        /**\n         * @param {?} input\n         * @param {?} parent\n         * @return {?}\n         */\n        value: function buildStyles(input, parent) {\n          return {\n            'display': parent.inline ? 'inline-grid' : 'grid',\n            'grid-gap': input || DEFAULT_VALUE$5\n          };\n        }\n      }]);\n\n      return GridGapStyleBuilder;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleBuilder\"]);\n\n    GridGapStyleBuilder.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    GridGapStyleBuilder.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({\n      factory: function GridGapStyleBuilder_Factory() {\n        return new GridGapStyleBuilder();\n      },\n      token: GridGapStyleBuilder,\n      providedIn: \"root\"\n    });\n\n    var GridGapDirective =\n    /*#__PURE__*/\n    function (_angular_flex_layout_40) {\n      _inherits(GridGapDirective, _angular_flex_layout_40);\n\n      /**\n       * @param {?} elRef\n       * @param {?} styleUtils\n       * @param {?} styleBuilder\n       * @param {?} marshal\n       */\n      function GridGapDirective(elRef, styleUtils, styleBuilder, marshal) {\n        var _this544;\n\n        _classCallCheck(this, GridGapDirective);\n\n        _this544 = _possibleConstructorReturn(this, _getPrototypeOf(GridGapDirective).call(this, elRef, styleBuilder, styleUtils, marshal));\n        _this544.elRef = elRef;\n        _this544.styleUtils = styleUtils;\n        _this544.styleBuilder = styleBuilder;\n        _this544.marshal = marshal;\n        _this544.DIRECTIVE_KEY = 'grid-gap';\n        _this544._inline = false;\n\n        _this544.init();\n\n        return _this544;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(GridGapDirective, [{\n        key: \"updateWithValue\",\n        // *********************************************\n        // Protected methods\n        // *********************************************\n\n        /**\n         * @protected\n         * @param {?} value\n         * @return {?}\n         */\n        value: function updateWithValue(value) {\n          this.styleCache = this.inline ? gapInlineCache : gapCache;\n          this.addStyles(value, {\n            inline: this.inline\n          });\n        }\n      }, {\n        key: \"inline\",\n        get: function get() {\n          return this._inline;\n        }\n        /**\n         * @param {?} val\n         * @return {?}\n         */\n        ,\n        set: function set(val) {\n          this._inline = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_2__[\"coerceBooleanProperty\"])(val);\n        }\n      }]);\n\n      return GridGapDirective;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"BaseDirective2\"]);\n\n    GridGapDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: 'grid-gap-directive'\n      }]\n    }];\n    /** @nocollapse */\n\n    GridGapDirective.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"]\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleUtils\"]\n      }, {\n        type: GridGapStyleBuilder,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }]\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"MediaMarshaller\"]\n      }];\n    };\n\n    GridGapDirective.propDecorators = {\n      inline: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"],\n        args: ['gdInline']\n      }]\n    };\n    /** @type {?} */\n\n    var gapCache = new Map();\n    /** @type {?} */\n\n    var gapInlineCache = new Map();\n    /** @type {?} */\n\n    var inputs$8 = ['gdGap', 'gdGap.xs', 'gdGap.sm', 'gdGap.md', 'gdGap.lg', 'gdGap.xl', 'gdGap.lt-sm', 'gdGap.lt-md', 'gdGap.lt-lg', 'gdGap.lt-xl', 'gdGap.gt-xs', 'gdGap.gt-sm', 'gdGap.gt-md', 'gdGap.gt-lg'];\n    /** @type {?} */\n\n    var selector$8 = \"\\n  [gdGap],\\n  [gdGap.xs], [gdGap.sm], [gdGap.md], [gdGap.lg], [gdGap.xl],\\n  [gdGap.lt-sm], [gdGap.lt-md], [gdGap.lt-lg], [gdGap.lt-xl],\\n  [gdGap.gt-xs], [gdGap.gt-sm], [gdGap.gt-md], [gdGap.gt-lg]\\n\";\n    /**\n     * 'grid-gap' CSS Grid styling directive\n     * Configures the gap between items in the grid\n     * Syntax: <row gap> [<column-gap>]\n     * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-17\n     */\n\n    var DefaultGridGapDirective =\n    /*#__PURE__*/\n    function (_GridGapDirective) {\n      _inherits(DefaultGridGapDirective, _GridGapDirective);\n\n      function DefaultGridGapDirective() {\n        var _this545;\n\n        _classCallCheck(this, DefaultGridGapDirective);\n\n        _this545 = _possibleConstructorReturn(this, _getPrototypeOf(DefaultGridGapDirective).apply(this, arguments));\n        _this545.inputs = inputs$8;\n        return _this545;\n      }\n\n      return DefaultGridGapDirective;\n    }(GridGapDirective);\n\n    DefaultGridGapDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: selector$8,\n        inputs: inputs$8\n      }]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n    var DEFAULT_VALUE$6 = 'auto';\n\n    var GridRowStyleBuilder =\n    /*#__PURE__*/\n    function (_angular_flex_layout_41) {\n      _inherits(GridRowStyleBuilder, _angular_flex_layout_41);\n\n      function GridRowStyleBuilder() {\n        _classCallCheck(this, GridRowStyleBuilder);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(GridRowStyleBuilder).apply(this, arguments));\n      }\n\n      _createClass2(GridRowStyleBuilder, [{\n        key: \"buildStyles\",\n\n        /**\n         * @param {?} input\n         * @return {?}\n         */\n        value: function buildStyles(input) {\n          return {\n            'grid-row': input || DEFAULT_VALUE$6\n          };\n        }\n      }]);\n\n      return GridRowStyleBuilder;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleBuilder\"]);\n\n    GridRowStyleBuilder.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    GridRowStyleBuilder.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({\n      factory: function GridRowStyleBuilder_Factory() {\n        return new GridRowStyleBuilder();\n      },\n      token: GridRowStyleBuilder,\n      providedIn: \"root\"\n    });\n\n    var GridRowDirective =\n    /*#__PURE__*/\n    function (_angular_flex_layout_42) {\n      _inherits(GridRowDirective, _angular_flex_layout_42);\n\n      /**\n       * @param {?} elementRef\n       * @param {?} styleBuilder\n       * @param {?} styler\n       * @param {?} marshal\n       */\n      function GridRowDirective(elementRef, styleBuilder, styler, marshal) {\n        var _this546;\n\n        _classCallCheck(this, GridRowDirective);\n\n        _this546 = _possibleConstructorReturn(this, _getPrototypeOf(GridRowDirective).call(this, elementRef, styleBuilder, styler, marshal));\n        _this546.elementRef = elementRef;\n        _this546.styleBuilder = styleBuilder;\n        _this546.styler = styler;\n        _this546.marshal = marshal;\n        _this546.DIRECTIVE_KEY = 'grid-row';\n        _this546.styleCache = rowCache;\n\n        _this546.init();\n\n        return _this546;\n      }\n\n      return GridRowDirective;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"BaseDirective2\"]);\n\n    GridRowDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: 'grid-row-directive'\n      }]\n    }];\n    /** @nocollapse */\n\n    GridRowDirective.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"]\n      }, {\n        type: GridRowStyleBuilder,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }]\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleUtils\"]\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"MediaMarshaller\"]\n      }];\n    };\n    /** @type {?} */\n\n\n    var rowCache = new Map();\n    /** @type {?} */\n\n    var inputs$9 = ['gdRow', 'gdRow.xs', 'gdRow.sm', 'gdRow.md', 'gdRow.lg', 'gdRow.xl', 'gdRow.lt-sm', 'gdRow.lt-md', 'gdRow.lt-lg', 'gdRow.lt-xl', 'gdRow.gt-xs', 'gdRow.gt-sm', 'gdRow.gt-md', 'gdRow.gt-lg'];\n    /** @type {?} */\n\n    var selector$9 = \"\\n  [gdRow],\\n  [gdRow.xs], [gdRow.sm], [gdRow.md], [gdRow.lg], [gdRow.xl],\\n  [gdRow.lt-sm], [gdRow.lt-md], [gdRow.lt-lg], [gdRow.lt-xl],\\n  [gdRow.gt-xs], [gdRow.gt-sm], [gdRow.gt-md], [gdRow.gt-lg]\\n\";\n    /**\n     * 'grid-row' CSS Grid styling directive\n     * Configures the name or position of an element within the grid\n     * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-26\n     */\n\n    var DefaultGridRowDirective =\n    /*#__PURE__*/\n    function (_GridRowDirective) {\n      _inherits(DefaultGridRowDirective, _GridRowDirective);\n\n      function DefaultGridRowDirective() {\n        var _this547;\n\n        _classCallCheck(this, DefaultGridRowDirective);\n\n        _this547 = _possibleConstructorReturn(this, _getPrototypeOf(DefaultGridRowDirective).apply(this, arguments));\n        _this547.inputs = inputs$9;\n        return _this547;\n      }\n\n      return DefaultGridRowDirective;\n    }(GridRowDirective);\n\n    DefaultGridRowDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: selector$9,\n        inputs: inputs$9\n      }]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n    var DEFAULT_VALUE$7 = 'none';\n    /** @type {?} */\n\n    var AUTO_SPECIFIER$1 = '!';\n\n    var GridRowsStyleBuilder =\n    /*#__PURE__*/\n    function (_angular_flex_layout_43) {\n      _inherits(GridRowsStyleBuilder, _angular_flex_layout_43);\n\n      function GridRowsStyleBuilder() {\n        _classCallCheck(this, GridRowsStyleBuilder);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(GridRowsStyleBuilder).apply(this, arguments));\n      }\n\n      _createClass2(GridRowsStyleBuilder, [{\n        key: \"buildStyles\",\n\n        /**\n         * @param {?} input\n         * @param {?} parent\n         * @return {?}\n         */\n        value: function buildStyles(input, parent) {\n          input = input || DEFAULT_VALUE$7;\n          /** @type {?} */\n\n          var auto = false;\n\n          if (input.endsWith(AUTO_SPECIFIER$1)) {\n            input = input.substring(0, input.indexOf(AUTO_SPECIFIER$1));\n            auto = true;\n          }\n          /** @type {?} */\n\n\n          var css = {\n            'display': parent.inline ? 'inline-grid' : 'grid',\n            'grid-auto-rows': '',\n            'grid-template-rows': ''\n          };\n          /** @type {?} */\n\n          var key = auto ? 'grid-auto-rows' : 'grid-template-rows';\n          css[key] = input;\n          return css;\n        }\n      }]);\n\n      return GridRowsStyleBuilder;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleBuilder\"]);\n\n    GridRowsStyleBuilder.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    GridRowsStyleBuilder.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({\n      factory: function GridRowsStyleBuilder_Factory() {\n        return new GridRowsStyleBuilder();\n      },\n      token: GridRowsStyleBuilder,\n      providedIn: \"root\"\n    });\n\n    var GridRowsDirective =\n    /*#__PURE__*/\n    function (_angular_flex_layout_44) {\n      _inherits(GridRowsDirective, _angular_flex_layout_44);\n\n      /**\n       * @param {?} elementRef\n       * @param {?} styleBuilder\n       * @param {?} styler\n       * @param {?} marshal\n       */\n      function GridRowsDirective(elementRef, styleBuilder, styler, marshal) {\n        var _this548;\n\n        _classCallCheck(this, GridRowsDirective);\n\n        _this548 = _possibleConstructorReturn(this, _getPrototypeOf(GridRowsDirective).call(this, elementRef, styleBuilder, styler, marshal));\n        _this548.elementRef = elementRef;\n        _this548.styleBuilder = styleBuilder;\n        _this548.styler = styler;\n        _this548.marshal = marshal;\n        _this548.DIRECTIVE_KEY = 'grid-rows';\n        _this548._inline = false;\n\n        _this548.init();\n\n        return _this548;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(GridRowsDirective, [{\n        key: \"updateWithValue\",\n        // *********************************************\n        // Protected methods\n        // *********************************************\n\n        /**\n         * @protected\n         * @param {?} value\n         * @return {?}\n         */\n        value: function updateWithValue(value) {\n          this.styleCache = this.inline ? rowsInlineCache : rowsCache;\n          this.addStyles(value, {\n            inline: this.inline\n          });\n        }\n      }, {\n        key: \"inline\",\n        get: function get() {\n          return this._inline;\n        }\n        /**\n         * @param {?} val\n         * @return {?}\n         */\n        ,\n        set: function set(val) {\n          this._inline = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_2__[\"coerceBooleanProperty\"])(val);\n        }\n      }]);\n\n      return GridRowsDirective;\n    }(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"BaseDirective2\"]);\n\n    GridRowsDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: 'grid-rows-directive'\n      }]\n    }];\n    /** @nocollapse */\n\n    GridRowsDirective.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"]\n      }, {\n        type: GridRowsStyleBuilder,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }]\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"StyleUtils\"]\n      }, {\n        type: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"MediaMarshaller\"]\n      }];\n    };\n\n    GridRowsDirective.propDecorators = {\n      inline: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"],\n        args: ['gdInline']\n      }]\n    };\n    /** @type {?} */\n\n    var rowsCache = new Map();\n    /** @type {?} */\n\n    var rowsInlineCache = new Map();\n    /** @type {?} */\n\n    var inputs$10 = ['gdRows', 'gdRows.xs', 'gdRows.sm', 'gdRows.md', 'gdRows.lg', 'gdRows.xl', 'gdRows.lt-sm', 'gdRows.lt-md', 'gdRows.lt-lg', 'gdRows.lt-xl', 'gdRows.gt-xs', 'gdRows.gt-sm', 'gdRows.gt-md', 'gdRows.gt-lg'];\n    /** @type {?} */\n\n    var selector$10 = \"\\n  [gdRows],\\n  [gdRows.xs], [gdRows.sm], [gdRows.md], [gdRows.lg], [gdRows.xl],\\n  [gdRows.lt-sm], [gdRows.lt-md], [gdRows.lt-lg], [gdRows.lt-xl],\\n  [gdRows.gt-xs], [gdRows.gt-sm], [gdRows.gt-md], [gdRows.gt-lg]\\n\";\n    /**\n     * 'grid-template-rows' CSS Grid styling directive\n     * Configures the sizing for the rows in the grid\n     * Syntax: <column value> [auto]\n     * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-13\n     */\n\n    var DefaultGridRowsDirective =\n    /*#__PURE__*/\n    function (_GridRowsDirective) {\n      _inherits(DefaultGridRowsDirective, _GridRowsDirective);\n\n      function DefaultGridRowsDirective() {\n        var _this549;\n\n        _classCallCheck(this, DefaultGridRowsDirective);\n\n        _this549 = _possibleConstructorReturn(this, _getPrototypeOf(DefaultGridRowsDirective).apply(this, arguments));\n        _this549.inputs = inputs$10;\n        return _this549;\n      }\n\n      return DefaultGridRowsDirective;\n    }(GridRowsDirective);\n\n    DefaultGridRowsDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: selector$10,\n        inputs: inputs$10\n      }]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n    var ALL_DIRECTIVES = [DefaultGridAlignDirective, DefaultGridAlignColumnsDirective, DefaultGridAlignRowsDirective, DefaultGridAreaDirective, DefaultGridAreasDirective, DefaultGridAutoDirective, DefaultGridColumnDirective, DefaultGridColumnsDirective, DefaultGridGapDirective, DefaultGridRowDirective, DefaultGridRowsDirective, GridAlignColumnsDirective, GridAlignRowsDirective, GridAreaDirective, GridAreasDirective, GridAutoDirective, GridColumnDirective, GridColumnsDirective, GridGapDirective, GridAlignDirective, GridRowDirective, GridRowsDirective];\n    /**\n     * *****************************************************************\n     * Define module for the CSS Grid API\n     * *****************************************************************\n     */\n\n    var GridModule = function GridModule() {\n      _classCallCheck(this, GridModule);\n    };\n\n    GridModule.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"],\n      args: [{\n        imports: [_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_1__[\"CoreModule\"]],\n        declarations: [].concat(ALL_DIRECTIVES),\n        exports: [].concat(ALL_DIRECTIVES)\n      }]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /***/\n  },\n\n  /***/\n  \"./node_modules/@angular/forms/fesm2015/forms.js\":\n  /*!*******************************************************!*\\\n    !*** ./node_modules/@angular/forms/fesm2015/forms.js ***!\n    \\*******************************************************/\n\n  /*! exports provided: ɵangular_packages_forms_forms_d, ɵInternalFormsSharedModule, ɵangular_packages_forms_forms_c, ɵangular_packages_forms_forms_a, ɵangular_packages_forms_forms_b, ɵangular_packages_forms_forms_e, ɵangular_packages_forms_forms_f, ɵangular_packages_forms_forms_g, ɵangular_packages_forms_forms_h, ɵangular_packages_forms_forms_i, ɵangular_packages_forms_forms_j, ɵangular_packages_forms_forms_k, ɵangular_packages_forms_forms_l, ɵangular_packages_forms_forms_z, ɵNgNoValidate, ɵangular_packages_forms_forms_m, ɵangular_packages_forms_forms_n, ɵangular_packages_forms_forms_o, ɵangular_packages_forms_forms_p, ɵangular_packages_forms_forms_q, ɵangular_packages_forms_forms_r, ɵangular_packages_forms_forms_s, ɵangular_packages_forms_forms_t, ɵangular_packages_forms_forms_v, ɵangular_packages_forms_forms_u, ɵangular_packages_forms_forms_w, ɵangular_packages_forms_forms_y, ɵNgSelectMultipleOption, ɵangular_packages_forms_forms_x, ɵangular_packages_forms_forms_bb, ɵangular_packages_forms_forms_bc, ɵangular_packages_forms_forms_be, ɵangular_packages_forms_forms_bd, ɵangular_packages_forms_forms_bf, ɵangular_packages_forms_forms_ba, AbstractControlDirective, AbstractFormGroupDirective, CheckboxControlValueAccessor, ControlContainer, NG_VALUE_ACCESSOR, COMPOSITION_BUFFER_MODE, DefaultValueAccessor, NgControl, NgControlStatus, NgControlStatusGroup, NgForm, NgFormSelectorWarning, NgModel, NgModelGroup, NumberValueAccessor, RadioControlValueAccessor, RangeValueAccessor, FormControlDirective, FormControlName, FormGroupDirective, FormArrayName, FormGroupName, NgSelectOption, SelectControlValueAccessor, SelectMultipleControlValueAccessor, CheckboxRequiredValidator, EmailValidator, MaxLengthValidator, MinLengthValidator, PatternValidator, RequiredValidator, FormBuilder, AbstractControl, FormArray, FormControl, FormGroup, NG_ASYNC_VALIDATORS, NG_VALIDATORS, Validators, VERSION, FormsModule, ReactiveFormsModule */\n\n  /***/\n  function node_modulesAngularFormsFesm2015FormsJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_d\", function () {\n      return ɵInternalFormsSharedModule;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵInternalFormsSharedModule\", function () {\n      return ɵInternalFormsSharedModule;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_c\", function () {\n      return REACTIVE_DRIVEN_DIRECTIVES;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_a\", function () {\n      return SHARED_FORM_DIRECTIVES;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_b\", function () {\n      return TEMPLATE_DRIVEN_DIRECTIVES;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_e\", function () {\n      return CHECKBOX_VALUE_ACCESSOR;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_f\", function () {\n      return DEFAULT_VALUE_ACCESSOR;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_g\", function () {\n      return AbstractControlStatus;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_h\", function () {\n      return ngControlStatusHost;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_i\", function () {\n      return formDirectiveProvider;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_j\", function () {\n      return NG_FORM_SELECTOR_WARNING;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_k\", function () {\n      return formControlBinding;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_l\", function () {\n      return modelGroupProvider;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_z\", function () {\n      return ɵNgNoValidate;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵNgNoValidate\", function () {\n      return ɵNgNoValidate;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_m\", function () {\n      return NUMBER_VALUE_ACCESSOR;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_n\", function () {\n      return RADIO_VALUE_ACCESSOR;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_o\", function () {\n      return RadioControlRegistry;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_p\", function () {\n      return RANGE_VALUE_ACCESSOR;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_q\", function () {\n      return NG_MODEL_WITH_FORM_CONTROL_WARNING;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_r\", function () {\n      return formControlBinding$1;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_s\", function () {\n      return controlNameBinding;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_t\", function () {\n      return formDirectiveProvider$1;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_v\", function () {\n      return formArrayNameProvider;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_u\", function () {\n      return formGroupNameProvider;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_w\", function () {\n      return SELECT_VALUE_ACCESSOR;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_y\", function () {\n      return ɵNgSelectMultipleOption;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵNgSelectMultipleOption\", function () {\n      return ɵNgSelectMultipleOption;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_x\", function () {\n      return SELECT_MULTIPLE_VALUE_ACCESSOR;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_bb\", function () {\n      return CHECKBOX_REQUIRED_VALIDATOR;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_bc\", function () {\n      return EMAIL_VALIDATOR;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_be\", function () {\n      return MAX_LENGTH_VALIDATOR;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_bd\", function () {\n      return MIN_LENGTH_VALIDATOR;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_bf\", function () {\n      return PATTERN_VALIDATOR;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_forms_forms_ba\", function () {\n      return REQUIRED_VALIDATOR;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"AbstractControlDirective\", function () {\n      return AbstractControlDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"AbstractFormGroupDirective\", function () {\n      return AbstractFormGroupDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CheckboxControlValueAccessor\", function () {\n      return CheckboxControlValueAccessor;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ControlContainer\", function () {\n      return ControlContainer;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NG_VALUE_ACCESSOR\", function () {\n      return NG_VALUE_ACCESSOR;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"COMPOSITION_BUFFER_MODE\", function () {\n      return COMPOSITION_BUFFER_MODE;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DefaultValueAccessor\", function () {\n      return DefaultValueAccessor;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NgControl\", function () {\n      return NgControl;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NgControlStatus\", function () {\n      return NgControlStatus;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NgControlStatusGroup\", function () {\n      return NgControlStatusGroup;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NgForm\", function () {\n      return NgForm;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NgFormSelectorWarning\", function () {\n      return NgFormSelectorWarning;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NgModel\", function () {\n      return NgModel;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NgModelGroup\", function () {\n      return NgModelGroup;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NumberValueAccessor\", function () {\n      return NumberValueAccessor;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"RadioControlValueAccessor\", function () {\n      return RadioControlValueAccessor;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"RangeValueAccessor\", function () {\n      return RangeValueAccessor;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FormControlDirective\", function () {\n      return FormControlDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FormControlName\", function () {\n      return FormControlName;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FormGroupDirective\", function () {\n      return FormGroupDirective;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FormArrayName\", function () {\n      return FormArrayName;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FormGroupName\", function () {\n      return FormGroupName;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NgSelectOption\", function () {\n      return NgSelectOption;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"SelectControlValueAccessor\", function () {\n      return SelectControlValueAccessor;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"SelectMultipleControlValueAccessor\", function () {\n      return SelectMultipleControlValueAccessor;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CheckboxRequiredValidator\", function () {\n      return CheckboxRequiredValidator;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"EmailValidator\", function () {\n      return EmailValidator;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MaxLengthValidator\", function () {\n      return MaxLengthValidator;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MinLengthValidator\", function () {\n      return MinLengthValidator;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"PatternValidator\", function () {\n      return PatternValidator;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"RequiredValidator\", function () {\n      return RequiredValidator;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FormBuilder\", function () {\n      return FormBuilder;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"AbstractControl\", function () {\n      return AbstractControl;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FormArray\", function () {\n      return FormArray;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FormControl\", function () {\n      return FormControl;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FormGroup\", function () {\n      return FormGroup;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NG_ASYNC_VALIDATORS\", function () {\n      return NG_ASYNC_VALIDATORS;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NG_VALIDATORS\", function () {\n      return NG_VALIDATORS;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Validators\", function () {\n      return Validators;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"VERSION\", function () {\n      return VERSION;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FormsModule\", function () {\n      return FormsModule;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ReactiveFormsModule\", function () {\n      return ReactiveFormsModule;\n    });\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/platform-browser */\n    \"./node_modules/@angular/platform-browser/fesm2015/platform-browser.js\");\n    /* harmony import */\n\n\n    var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! rxjs */\n    \"./node_modules/rxjs/_esm2015/index.js\");\n    /* harmony import */\n\n\n    var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! rxjs/operators */\n    \"./node_modules/rxjs/_esm2015/operators/index.js\");\n    /**\n     * @license Angular v8.2.14\n     * (c) 2010-2019 Google LLC. https://angular.io/\n     * License: MIT\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * \\@description\n     * Defines an interface that acts as a bridge between the Angular forms API and a\n     * native element in the DOM.\n     *\n     * Implement this interface to create a custom form control directive\n     * that integrates with Angular forms.\n     *\n     * @see DefaultValueAccessor\n     *\n     * \\@publicApi\n     * @record\n     */\n\n\n    function ControlValueAccessor() {}\n\n    if (false) {}\n    /**\n     * Used to provide a `ControlValueAccessor` for form controls.\n     *\n     * See `DefaultValueAccessor` for how to implement one.\n     *\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var NG_VALUE_ACCESSOR = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('NgValueAccessor');\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n    var CHECKBOX_VALUE_ACCESSOR = {\n      provide: NG_VALUE_ACCESSOR,\n      useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])(\n      /**\n      * @return {?}\n      */\n      function () {\n        return CheckboxControlValueAccessor;\n      }),\n      multi: true\n    };\n    /**\n     * \\@description\n     * A `ControlValueAccessor` for writing a value and listening to changes on a checkbox input\n     * element.\n     *\n     * \\@usageNotes\n     *\n     * ### Using a checkbox with a reactive form.\n     *\n     * The following example shows how to use a checkbox with a reactive form.\n     *\n     * ```ts\n     * const rememberLoginControl = new FormControl();\n     * ```\n     *\n     * ```\n     * <input type=\"checkbox\" [formControl]=\"rememberLoginControl\">\n     * ```\n     *\n     * \\@ngModule ReactiveFormsModule\n     * \\@ngModule FormsModule\n     * \\@publicApi\n     */\n\n    var CheckboxControlValueAccessor =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _renderer\n       * @param {?} _elementRef\n       */\n      function CheckboxControlValueAccessor(_renderer, _elementRef) {\n        _classCallCheck(this, CheckboxControlValueAccessor);\n\n        this._renderer = _renderer;\n        this._elementRef = _elementRef;\n        /**\n         * \\@description\n         * The registered callback function called when a change event occurs on the input element.\n         */\n\n        this.onChange =\n        /**\n        * @param {?} _\n        * @return {?}\n        */\n        function (_) {};\n        /**\n         * \\@description\n         * The registered callback function called when a blur event occurs on the input element.\n         */\n\n\n        this.onTouched =\n        /**\n        * @return {?}\n        */\n        function () {};\n      }\n      /**\n       * Sets the \"checked\" property on the input element.\n       *\n       * @param {?} value The checked value\n       * @return {?}\n       */\n\n\n      _createClass2(CheckboxControlValueAccessor, [{\n        key: \"writeValue\",\n        value: function writeValue(value) {\n          this._renderer.setProperty(this._elementRef.nativeElement, 'checked', value);\n        }\n        /**\n         * \\@description\n         * Registers a function called when the control value changes.\n         *\n         * @param {?} fn The callback function\n         * @return {?}\n         */\n\n      }, {\n        key: \"registerOnChange\",\n        value: function registerOnChange(fn) {\n          this.onChange = fn;\n        }\n        /**\n         * \\@description\n         * Registers a function called when the control is touched.\n         *\n         * @param {?} fn The callback function\n         * @return {?}\n         */\n\n      }, {\n        key: \"registerOnTouched\",\n        value: function registerOnTouched(fn) {\n          this.onTouched = fn;\n        }\n        /**\n         * Sets the \"disabled\" property on the input element.\n         *\n         * @param {?} isDisabled The disabled value\n         * @return {?}\n         */\n\n      }, {\n        key: \"setDisabledState\",\n        value: function setDisabledState(isDisabled) {\n          this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled);\n        }\n      }]);\n\n      return CheckboxControlValueAccessor;\n    }();\n\n    CheckboxControlValueAccessor.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: 'input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]',\n        host: {\n          '(change)': 'onChange($event.target.checked)',\n          '(blur)': 'onTouched()'\n        },\n        providers: [CHECKBOX_VALUE_ACCESSOR]\n      }]\n    }];\n    /** @nocollapse */\n\n    CheckboxControlValueAccessor.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Renderer2\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"]\n      }];\n    };\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var DEFAULT_VALUE_ACCESSOR = {\n      provide: NG_VALUE_ACCESSOR,\n      useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])(\n      /**\n      * @return {?}\n      */\n      function () {\n        return DefaultValueAccessor;\n      }),\n      multi: true\n    };\n    /**\n     * We must check whether the agent is Android because composition events\n     * behave differently between iOS and Android.\n     * @return {?}\n     */\n\n    function _isAndroid() {\n      /** @type {?} */\n      var userAgent = Object(_angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__[\"ɵgetDOM\"])() ? Object(_angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__[\"ɵgetDOM\"])().getUserAgent() : '';\n      return /android (\\d+)/.test(userAgent.toLowerCase());\n    }\n    /**\n     * \\@description\n     * Provide this token to control if form directives buffer IME input until\n     * the \"compositionend\" event occurs.\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var COMPOSITION_BUFFER_MODE = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('CompositionEventMode');\n    /**\n     * \\@description\n     * The default `ControlValueAccessor` for writing a value and listening to changes on input\n     * elements. The accessor is used by the `FormControlDirective`, `FormControlName`, and\n     * `NgModel` directives.\n     *\n     * \\@usageNotes\n     *\n     * ### Using the default value accessor\n     *\n     * The following example shows how to use an input element that activates the default value accessor\n     * (in this case, a text field).\n     *\n     * ```ts\n     * const firstNameControl = new FormControl();\n     * ```\n     *\n     * ```\n     * <input type=\"text\" [formControl]=\"firstNameControl\">\n     * ```\n     *\n     * \\@ngModule ReactiveFormsModule\n     * \\@ngModule FormsModule\n     * \\@publicApi\n     */\n\n    var DefaultValueAccessor =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _renderer\n       * @param {?} _elementRef\n       * @param {?} _compositionMode\n       */\n      function DefaultValueAccessor(_renderer, _elementRef, _compositionMode) {\n        _classCallCheck(this, DefaultValueAccessor);\n\n        this._renderer = _renderer;\n        this._elementRef = _elementRef;\n        this._compositionMode = _compositionMode;\n        /**\n         * \\@description\n         * The registered callback function called when an input event occurs on the input element.\n         */\n\n        this.onChange =\n        /**\n        * @param {?} _\n        * @return {?}\n        */\n        function (_) {};\n        /**\n         * \\@description\n         * The registered callback function called when a blur event occurs on the input element.\n         */\n\n\n        this.onTouched =\n        /**\n        * @return {?}\n        */\n        function () {};\n        /**\n         * Whether the user is creating a composition string (IME events).\n         */\n\n\n        this._composing = false;\n\n        if (this._compositionMode == null) {\n          this._compositionMode = !_isAndroid();\n        }\n      }\n      /**\n       * Sets the \"value\" property on the input element.\n       *\n       * @param {?} value The checked value\n       * @return {?}\n       */\n\n\n      _createClass2(DefaultValueAccessor, [{\n        key: \"writeValue\",\n        value: function writeValue(value) {\n          /** @type {?} */\n          var normalizedValue = value == null ? '' : value;\n\n          this._renderer.setProperty(this._elementRef.nativeElement, 'value', normalizedValue);\n        }\n        /**\n         * \\@description\n         * Registers a function called when the control value changes.\n         *\n         * @param {?} fn The callback function\n         * @return {?}\n         */\n\n      }, {\n        key: \"registerOnChange\",\n        value: function registerOnChange(fn) {\n          this.onChange = fn;\n        }\n        /**\n         * \\@description\n         * Registers a function called when the control is touched.\n         *\n         * @param {?} fn The callback function\n         * @return {?}\n         */\n\n      }, {\n        key: \"registerOnTouched\",\n        value: function registerOnTouched(fn) {\n          this.onTouched = fn;\n        }\n        /**\n         * Sets the \"disabled\" property on the input element.\n         *\n         * @param {?} isDisabled The disabled value\n         * @return {?}\n         */\n\n      }, {\n        key: \"setDisabledState\",\n        value: function setDisabledState(isDisabled) {\n          this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled);\n        }\n        /**\n         * \\@internal\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"_handleInput\",\n        value: function _handleInput(value) {\n          if (!this._compositionMode || this._compositionMode && !this._composing) {\n            this.onChange(value);\n          }\n        }\n        /**\n         * \\@internal\n         * @return {?}\n         */\n\n      }, {\n        key: \"_compositionStart\",\n        value: function _compositionStart() {\n          this._composing = true;\n        }\n        /**\n         * \\@internal\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"_compositionEnd\",\n        value: function _compositionEnd(value) {\n          this._composing = false;\n          this._compositionMode && this.onChange(value);\n        }\n      }]);\n\n      return DefaultValueAccessor;\n    }();\n\n    DefaultValueAccessor.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: 'input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]',\n        // TODO: vsavkin replace the above selector with the one below it once\n        // https://github.com/angular/angular/issues/3011 is implemented\n        // selector: '[ngModel],[formControl],[formControlName]',\n        host: {\n          '(input)': '$any(this)._handleInput($event.target.value)',\n          '(blur)': 'onTouched()',\n          '(compositionstart)': '$any(this)._compositionStart()',\n          '(compositionend)': '$any(this)._compositionEnd($event.target.value)'\n        },\n        providers: [DEFAULT_VALUE_ACCESSOR]\n      }]\n    }];\n    /** @nocollapse */\n\n    DefaultValueAccessor.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Renderer2\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"]\n      }, {\n        type: Boolean,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [COMPOSITION_BUFFER_MODE]\n        }]\n      }];\n    };\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * \\@description\n     * Base class for control directives.\n     *\n     * This class is only used internally in the `ReactiveFormsModule` and the `FormsModule`.\n     *\n     * \\@publicApi\n     * @abstract\n     */\n\n\n    var AbstractControlDirective =\n    /*#__PURE__*/\n    function () {\n      function AbstractControlDirective() {\n        _classCallCheck(this, AbstractControlDirective);\n      }\n\n      _createClass2(AbstractControlDirective, [{\n        key: \"reset\",\n\n        /**\n         * \\@description\n         * Resets the control with the provided value if the control is present.\n         * @param {?=} value\n         * @return {?}\n         */\n        value: function reset() {\n          var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : undefined;\n          if (this.control) this.control.reset(value);\n        }\n        /**\n         * \\@description\n         * Reports whether the control with the given path has the error specified.\n         *\n         * \\@usageNotes\n         * For example, for the following `FormGroup`:\n         *\n         * ```\n         * form = new FormGroup({\n         *   address: new FormGroup({ street: new FormControl() })\n         * });\n         * ```\n         *\n         * The path to the 'street' control from the root form would be 'address' -> 'street'.\n         *\n         * It can be provided to this method in one of two formats:\n         *\n         * 1. An array of string control names, e.g. `['address', 'street']`\n         * 1. A period-delimited list of control names in one string, e.g. `'address.street'`\n         *\n         * If no path is given, this method checks for the error on the current control.\n         *\n         * @param {?} errorCode The code of the error to check\n         * @param {?=} path A list of control names that designates how to move from the current control\n         * to the control that should be queried for errors.\n         *\n         * @return {?} whether the given error is present in the control at the given path.\n         *\n         * If the control is not present, false is returned.\n         */\n\n      }, {\n        key: \"hasError\",\n        value: function hasError(errorCode, path) {\n          return this.control ? this.control.hasError(errorCode, path) : false;\n        }\n        /**\n         * \\@description\n         * Reports error data for the control with the given path.\n         *\n         * \\@usageNotes\n         * For example, for the following `FormGroup`:\n         *\n         * ```\n         * form = new FormGroup({\n         *   address: new FormGroup({ street: new FormControl() })\n         * });\n         * ```\n         *\n         * The path to the 'street' control from the root form would be 'address' -> 'street'.\n         *\n         * It can be provided to this method in one of two formats:\n         *\n         * 1. An array of string control names, e.g. `['address', 'street']`\n         * 1. A period-delimited list of control names in one string, e.g. `'address.street'`\n         *\n         * @param {?} errorCode The code of the error to check\n         * @param {?=} path A list of control names that designates how to move from the current control\n         * to the control that should be queried for errors.\n         *\n         * @return {?} error data for that particular error. If the control or error is not present,\n         * null is returned.\n         */\n\n      }, {\n        key: \"getError\",\n        value: function getError(errorCode, path) {\n          return this.control ? this.control.getError(errorCode, path) : null;\n        }\n      }, {\n        key: \"value\",\n\n        /**\n         * \\@description\n         * Reports the value of the control if it is present, otherwise null.\n         * @return {?}\n         */\n        get: function get() {\n          return this.control ? this.control.value : null;\n        }\n        /**\n         * \\@description\n         * Reports whether the control is valid. A control is considered valid if no\n         * validation errors exist with the current value.\n         * If the control is not present, null is returned.\n         * @return {?}\n         */\n\n      }, {\n        key: \"valid\",\n        get: function get() {\n          return this.control ? this.control.valid : null;\n        }\n        /**\n         * \\@description\n         * Reports whether the control is invalid, meaning that an error exists in the input value.\n         * If the control is not present, null is returned.\n         * @return {?}\n         */\n\n      }, {\n        key: \"invalid\",\n        get: function get() {\n          return this.control ? this.control.invalid : null;\n        }\n        /**\n         * \\@description\n         * Reports whether a control is pending, meaning that that async validation is occurring and\n         * errors are not yet available for the input value. If the control is not present, null is\n         * returned.\n         * @return {?}\n         */\n\n      }, {\n        key: \"pending\",\n        get: function get() {\n          return this.control ? this.control.pending : null;\n        }\n        /**\n         * \\@description\n         * Reports whether the control is disabled, meaning that the control is disabled\n         * in the UI and is exempt from validation checks and excluded from aggregate\n         * values of ancestor controls. If the control is not present, null is returned.\n         * @return {?}\n         */\n\n      }, {\n        key: \"disabled\",\n        get: function get() {\n          return this.control ? this.control.disabled : null;\n        }\n        /**\n         * \\@description\n         * Reports whether the control is enabled, meaning that the control is included in ancestor\n         * calculations of validity or value. If the control is not present, null is returned.\n         * @return {?}\n         */\n\n      }, {\n        key: \"enabled\",\n        get: function get() {\n          return this.control ? this.control.enabled : null;\n        }\n        /**\n         * \\@description\n         * Reports the control's validation errors. If the control is not present, null is returned.\n         * @return {?}\n         */\n\n      }, {\n        key: \"errors\",\n        get: function get() {\n          return this.control ? this.control.errors : null;\n        }\n        /**\n         * \\@description\n         * Reports whether the control is pristine, meaning that the user has not yet changed\n         * the value in the UI. If the control is not present, null is returned.\n         * @return {?}\n         */\n\n      }, {\n        key: \"pristine\",\n        get: function get() {\n          return this.control ? this.control.pristine : null;\n        }\n        /**\n         * \\@description\n         * Reports whether the control is dirty, meaning that the user has changed\n         * the value in the UI. If the control is not present, null is returned.\n         * @return {?}\n         */\n\n      }, {\n        key: \"dirty\",\n        get: function get() {\n          return this.control ? this.control.dirty : null;\n        }\n        /**\n         * \\@description\n         * Reports whether the control is touched, meaning that the user has triggered\n         * a `blur` event on it. If the control is not present, null is returned.\n         * @return {?}\n         */\n\n      }, {\n        key: \"touched\",\n        get: function get() {\n          return this.control ? this.control.touched : null;\n        }\n        /**\n         * \\@description\n         * Reports the validation status of the control. Possible values include:\n         * 'VALID', 'INVALID', 'DISABLED', and 'PENDING'.\n         * If the control is not present, null is returned.\n         * @return {?}\n         */\n\n      }, {\n        key: \"status\",\n        get: function get() {\n          return this.control ? this.control.status : null;\n        }\n        /**\n         * \\@description\n         * Reports whether the control is untouched, meaning that the user has not yet triggered\n         * a `blur` event on it. If the control is not present, null is returned.\n         * @return {?}\n         */\n\n      }, {\n        key: \"untouched\",\n        get: function get() {\n          return this.control ? this.control.untouched : null;\n        }\n        /**\n         * \\@description\n         * Returns a multicasting observable that emits a validation status whenever it is\n         * calculated for the control. If the control is not present, null is returned.\n         * @return {?}\n         */\n\n      }, {\n        key: \"statusChanges\",\n        get: function get() {\n          return this.control ? this.control.statusChanges : null;\n        }\n        /**\n         * \\@description\n         * Returns a multicasting observable of value changes for the control that emits every time the\n         * value of the control changes in the UI or programmatically.\n         * If the control is not present, null is returned.\n         * @return {?}\n         */\n\n      }, {\n        key: \"valueChanges\",\n        get: function get() {\n          return this.control ? this.control.valueChanges : null;\n        }\n        /**\n         * \\@description\n         * Returns an array that represents the path from the top-level form to this control.\n         * Each index is the string name of the control on that level.\n         * @return {?}\n         */\n\n      }, {\n        key: \"path\",\n        get: function get() {\n          return null;\n        }\n      }]);\n\n      return AbstractControlDirective;\n    }();\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * \\@description\n     * A base class for directives that contain multiple registered instances of `NgControl`.\n     * Only used by the forms module.\n     *\n     * \\@publicApi\n     * @abstract\n     */\n\n\n    var ControlContainer =\n    /*#__PURE__*/\n    function (_AbstractControlDirec) {\n      _inherits(ControlContainer, _AbstractControlDirec);\n\n      function ControlContainer() {\n        _classCallCheck(this, ControlContainer);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(ControlContainer).apply(this, arguments));\n      }\n\n      _createClass2(ControlContainer, [{\n        key: \"formDirective\",\n\n        /**\n         * \\@description\n         * The top-level form directive for the control.\n         * @return {?}\n         */\n        get: function get() {\n          return null;\n        }\n        /**\n         * \\@description\n         * The path to this group.\n         * @return {?}\n         */\n\n      }, {\n        key: \"path\",\n        get: function get() {\n          return null;\n        }\n      }]);\n\n      return ControlContainer;\n    }(AbstractControlDirective);\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @return {?}\n     */\n\n\n    function unimplemented() {\n      throw new Error('unimplemented');\n    }\n    /**\n     * \\@description\n     * A base class that all control `FormControl`-based directives extend. It binds a `FormControl`\n     * object to a DOM element.\n     *\n     * \\@publicApi\n     * @abstract\n     */\n\n\n    var NgControl =\n    /*#__PURE__*/\n    function (_AbstractControlDirec2) {\n      _inherits(NgControl, _AbstractControlDirec2);\n\n      function NgControl() {\n        var _this550;\n\n        _classCallCheck(this, NgControl);\n\n        _this550 = _possibleConstructorReturn(this, _getPrototypeOf(NgControl).apply(this, arguments));\n        /**\n         * \\@description\n         * The parent form for the control.\n         *\n         * \\@internal\n         */\n\n        _this550._parent = null;\n        /**\n         * \\@description\n         * The name for the control\n         */\n\n        _this550.name = null;\n        /**\n         * \\@description\n         * The value accessor for the control\n         */\n\n        _this550.valueAccessor = null;\n        /**\n         * \\@description\n         * The uncomposed array of synchronous validators for the control\n         *\n         * \\@internal\n         */\n\n        _this550._rawValidators = [];\n        /**\n         * \\@description\n         * The uncomposed array of async validators for the control\n         *\n         * \\@internal\n         */\n\n        _this550._rawAsyncValidators = [];\n        return _this550;\n      }\n      /**\n       * \\@description\n       * The registered synchronous validator function for the control\n       *\n       * @throws An exception that this method is not implemented\n       * @return {?}\n       */\n\n\n      _createClass2(NgControl, [{\n        key: \"validator\",\n        get: function get() {\n          return (\n            /** @type {?} */\n            unimplemented()\n          );\n        }\n        /**\n         * \\@description\n         * The registered async validator function for the control\n         *\n         * @throws An exception that this method is not implemented\n         * @return {?}\n         */\n\n      }, {\n        key: \"asyncValidator\",\n        get: function get() {\n          return (\n            /** @type {?} */\n            unimplemented()\n          );\n        }\n      }]);\n\n      return NgControl;\n    }(AbstractControlDirective);\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n\n    var AbstractControlStatus =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} cd\n       */\n      function AbstractControlStatus(cd) {\n        _classCallCheck(this, AbstractControlStatus);\n\n        this._cd = cd;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(AbstractControlStatus, [{\n        key: \"ngClassUntouched\",\n        get: function get() {\n          return this._cd.control ? this._cd.control.untouched : false;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngClassTouched\",\n        get: function get() {\n          return this._cd.control ? this._cd.control.touched : false;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngClassPristine\",\n        get: function get() {\n          return this._cd.control ? this._cd.control.pristine : false;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngClassDirty\",\n        get: function get() {\n          return this._cd.control ? this._cd.control.dirty : false;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngClassValid\",\n        get: function get() {\n          return this._cd.control ? this._cd.control.valid : false;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngClassInvalid\",\n        get: function get() {\n          return this._cd.control ? this._cd.control.invalid : false;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngClassPending\",\n        get: function get() {\n          return this._cd.control ? this._cd.control.pending : false;\n        }\n      }]);\n\n      return AbstractControlStatus;\n    }();\n\n    if (false) {}\n    /** @type {?} */\n\n\n    var ngControlStatusHost = {\n      '[class.ng-untouched]': 'ngClassUntouched',\n      '[class.ng-touched]': 'ngClassTouched',\n      '[class.ng-pristine]': 'ngClassPristine',\n      '[class.ng-dirty]': 'ngClassDirty',\n      '[class.ng-valid]': 'ngClassValid',\n      '[class.ng-invalid]': 'ngClassInvalid',\n      '[class.ng-pending]': 'ngClassPending'\n    };\n    /**\n     * \\@description\n     * Directive automatically applied to Angular form controls that sets CSS classes\n     * based on control status.\n     *\n     * \\@usageNotes\n     *\n     * ### CSS classes applied\n     *\n     * The following classes are applied as the properties become true:\n     *\n     * * ng-valid\n     * * ng-invalid\n     * * ng-pending\n     * * ng-pristine\n     * * ng-dirty\n     * * ng-untouched\n     * * ng-touched\n     *\n     * \\@ngModule ReactiveFormsModule\n     * \\@ngModule FormsModule\n     * \\@publicApi\n     */\n\n    var NgControlStatus =\n    /*#__PURE__*/\n    function (_AbstractControlStatu) {\n      _inherits(NgControlStatus, _AbstractControlStatu);\n\n      /**\n       * @param {?} cd\n       */\n      function NgControlStatus(cd) {\n        _classCallCheck(this, NgControlStatus);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(NgControlStatus).call(this, cd));\n      }\n\n      return NgControlStatus;\n    }(AbstractControlStatus);\n\n    NgControlStatus.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: '[formControlName],[ngModel],[formControl]',\n        host: ngControlStatusHost\n      }]\n    }];\n    /** @nocollapse */\n\n    NgControlStatus.ctorParameters = function () {\n      return [{\n        type: NgControl,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"]\n        }]\n      }];\n    };\n    /**\n     * \\@description\n     * Directive automatically applied to Angular form groups that sets CSS classes\n     * based on control status (valid/invalid/dirty/etc).\n     *\n     * @see `NgControlStatus`\n     *\n     * \\@ngModule ReactiveFormsModule\n     * \\@ngModule FormsModule\n     * \\@publicApi\n     */\n\n\n    var NgControlStatusGroup =\n    /*#__PURE__*/\n    function (_AbstractControlStatu2) {\n      _inherits(NgControlStatusGroup, _AbstractControlStatu2);\n\n      /**\n       * @param {?} cd\n       */\n      function NgControlStatusGroup(cd) {\n        _classCallCheck(this, NgControlStatusGroup);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(NgControlStatusGroup).call(this, cd));\n      }\n\n      return NgControlStatusGroup;\n    }(AbstractControlStatus);\n\n    NgControlStatusGroup.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: '[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]',\n        host: ngControlStatusHost\n      }]\n    }];\n    /** @nocollapse */\n\n    NgControlStatusGroup.ctorParameters = function () {\n      return [{\n        type: ControlContainer,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"]\n        }]\n      }];\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function isEmptyInputValue(value) {\n      // we don't check for string here so it also works with arrays\n      return value == null || value.length === 0;\n    }\n    /**\n     * \\@description\n     * An `InjectionToken` for registering additional synchronous validators used with `AbstractControl`s.\n     *\n     * @see `NG_ASYNC_VALIDATORS`\n     *\n     * \\@usageNotes\n     *\n     * ### Providing a custom validator\n     *\n     * The following example registers a custom validator directive. Adding the validator to the\n     * existing collection of validators requires the `multi: true` option.\n     *\n     * ```typescript\n     * \\@Directive({\n     *   selector: '[customValidator]',\n     *   providers: [{provide: NG_VALIDATORS, useExisting: CustomValidatorDirective, multi: true}]\n     * })\n     * class CustomValidatorDirective implements Validator {\n     *   validate(control: AbstractControl): ValidationErrors | null {\n     *     return { 'custom': true };\n     *   }\n     * }\n     * ```\n     *\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var NG_VALIDATORS = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('NgValidators');\n    /**\n     * \\@description\n     * An `InjectionToken` for registering additional asynchronous validators used with `AbstractControl`s.\n     *\n     * @see `NG_VALIDATORS`\n     *\n     * \\@publicApi\n     * @type {?}\n     */\n\n    var NG_ASYNC_VALIDATORS = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('NgAsyncValidators');\n    /**\n     * A regular expression that matches valid e-mail addresses.\n     *\n     * At a high level, this regexp matches e-mail addresses of the format `local-part\\@tld`, where:\n     * - `local-part` consists of one or more of the allowed characters (alphanumeric and some\n     *   punctuation symbols).\n     * - `local-part` cannot begin or end with a period (`.`).\n     * - `local-part` cannot be longer than 64 characters.\n     * - `tld` consists of one or more `labels` separated by periods (`.`). For example `localhost` or\n     *   `foo.com`.\n     * - A `label` consists of one or more of the allowed characters (alphanumeric, dashes (`-`) and\n     *   periods (`.`)).\n     * - A `label` cannot begin or end with a dash (`-`) or a period (`.`).\n     * - A `label` cannot be longer than 63 characters.\n     * - The whole address cannot be longer than 254 characters.\n     *\n     * ## Implementation background\n     *\n     * This regexp was ported over from AngularJS (see there for git history):\n     * https://github.com/angular/angular.js/blob/c133ef836/src/ng/directive/input.js#L27\n     * It is based on the\n     * [WHATWG version](https://html.spec.whatwg.org/multipage/input.html#valid-e-mail-address) with\n     * some enhancements to incorporate more RFC rules (such as rules related to domain names and the\n     * lengths of different parts of the address). The main differences from the WHATWG version are:\n     *   - Disallow `local-part` to begin or end with a period (`.`).\n     *   - Disallow `local-part` length to exceed 64 characters.\n     *   - Disallow total address length to exceed 254 characters.\n     *\n     * See [this commit](https://github.com/angular/angular.js/commit/f3f5cf72e) for more details.\n     * @type {?}\n     */\n\n    var EMAIL_REGEXP = /^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;\n    /**\n     * \\@description\n     * Provides a set of built-in validators that can be used by form controls.\n     *\n     * A validator is a function that processes a `FormControl` or collection of\n     * controls and returns an error map or null. A null map means that validation has passed.\n     *\n     * @see [Form Validation](/guide/form-validation)\n     *\n     * \\@publicApi\n     */\n\n    var Validators =\n    /*#__PURE__*/\n    function () {\n      function Validators() {\n        _classCallCheck(this, Validators);\n      }\n\n      _createClass2(Validators, null, [{\n        key: \"min\",\n\n        /**\n         * \\@description\n         * Validator that requires the control's value to be greater than or equal to the provided number.\n         * The validator exists only as a function and not as a directive.\n         *\n         * \\@usageNotes\n         *\n         * ### Validate against a minimum of 3\n         *\n         * ```typescript\n         * const control = new FormControl(2, Validators.min(3));\n         *\n         * console.log(control.errors); // {min: {min: 3, actual: 2}}\n         * ```\n         *\n         * @see `updateValueAndValidity()`\n         *\n         * @param {?} min\n         * @return {?} A validator function that returns an error map with the\n         * `min` property if the validation check fails, otherwise `null`.\n         *\n         */\n        value: function min(_min) {\n          return (\n            /**\n            * @param {?} control\n            * @return {?}\n            */\n            function (control) {\n              if (isEmptyInputValue(control.value) || isEmptyInputValue(_min)) {\n                return null; // don't validate empty values to allow optional controls\n              }\n              /** @type {?} */\n\n\n              var value = parseFloat(control.value); // Controls with NaN values after parsing should be treated as not having a\n              // minimum, per the HTML forms spec: https://www.w3.org/TR/html5/forms.html#attr-input-min\n\n              return !isNaN(value) && value < _min ? {\n                'min': {\n                  'min': _min,\n                  'actual': control.value\n                }\n              } : null;\n            }\n          );\n        }\n        /**\n         * \\@description\n         * Validator that requires the control's value to be less than or equal to the provided number.\n         * The validator exists only as a function and not as a directive.\n         *\n         * \\@usageNotes\n         *\n         * ### Validate against a maximum of 15\n         *\n         * ```typescript\n         * const control = new FormControl(16, Validators.max(15));\n         *\n         * console.log(control.errors); // {max: {max: 15, actual: 16}}\n         * ```\n         *\n         * @see `updateValueAndValidity()`\n         *\n         * @param {?} max\n         * @return {?} A validator function that returns an error map with the\n         * `max` property if the validation check fails, otherwise `null`.\n         *\n         */\n\n      }, {\n        key: \"max\",\n        value: function max(_max) {\n          return (\n            /**\n            * @param {?} control\n            * @return {?}\n            */\n            function (control) {\n              if (isEmptyInputValue(control.value) || isEmptyInputValue(_max)) {\n                return null; // don't validate empty values to allow optional controls\n              }\n              /** @type {?} */\n\n\n              var value = parseFloat(control.value); // Controls with NaN values after parsing should be treated as not having a\n              // maximum, per the HTML forms spec: https://www.w3.org/TR/html5/forms.html#attr-input-max\n\n              return !isNaN(value) && value > _max ? {\n                'max': {\n                  'max': _max,\n                  'actual': control.value\n                }\n              } : null;\n            }\n          );\n        }\n        /**\n         * \\@description\n         * Validator that requires the control have a non-empty value.\n         *\n         * \\@usageNotes\n         *\n         * ### Validate that the field is non-empty\n         *\n         * ```typescript\n         * const control = new FormControl('', Validators.required);\n         *\n         * console.log(control.errors); // {required: true}\n         * ```\n         *\n         * @see `updateValueAndValidity()`\n         *\n         * @param {?} control\n         * @return {?} An error map with the `required` property\n         * if the validation check fails, otherwise `null`.\n         *\n         */\n\n      }, {\n        key: \"required\",\n        value: function required(control) {\n          return isEmptyInputValue(control.value) ? {\n            'required': true\n          } : null;\n        }\n        /**\n         * \\@description\n         * Validator that requires the control's value be true. This validator is commonly\n         * used for required checkboxes.\n         *\n         * \\@usageNotes\n         *\n         * ### Validate that the field value is true\n         *\n         * ```typescript\n         * const control = new FormControl('', Validators.requiredTrue);\n         *\n         * console.log(control.errors); // {required: true}\n         * ```\n         *\n         * @see `updateValueAndValidity()`\n         *\n         * @param {?} control\n         * @return {?} An error map that contains the `required` property\n         * set to `true` if the validation check fails, otherwise `null`.\n         *\n         */\n\n      }, {\n        key: \"requiredTrue\",\n        value: function requiredTrue(control) {\n          return control.value === true ? null : {\n            'required': true\n          };\n        }\n        /**\n         * \\@description\n         * Validator that requires the control's value pass an email validation test.\n         *\n         * Tests the value using a [regular expression](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions)\n         * pattern suitable for common usecases. The pattern is based on the definition of a valid email\n         * address in the [WHATWG HTML specification](https://html.spec.whatwg.org/multipage/input.html#valid-e-mail-address)\n         * with some enhancements to incorporate more RFC rules (such as rules related to domain names and\n         * the lengths of different parts of the address).\n         *\n         * The differences from the WHATWG version include:\n         * - Disallow `local-part` (the part before the `\\@` symbol) to begin or end with a period (`.`).\n         * - Disallow `local-part` to be longer than 64 characters.\n         * - Disallow the whole address to be longer than 254 characters.\n         *\n         * If this pattern does not satisfy your business needs, you can use `Validators.pattern()` to\n         * validate the value against a different pattern.\n         *\n         * \\@usageNotes\n         *\n         * ### Validate that the field matches a valid email pattern\n         *\n         * ```typescript\n         * const control = new FormControl('bad\\@', Validators.email);\n         *\n         * console.log(control.errors); // {email: true}\n         * ```\n         *\n         * @see `updateValueAndValidity()`\n         *\n         * @param {?} control\n         * @return {?} An error map with the `email` property\n         * if the validation check fails, otherwise `null`.\n         *\n         */\n\n      }, {\n        key: \"email\",\n        value: function email(control) {\n          if (isEmptyInputValue(control.value)) {\n            return null; // don't validate empty values to allow optional controls\n          }\n\n          return EMAIL_REGEXP.test(control.value) ? null : {\n            'email': true\n          };\n        }\n        /**\n         * \\@description\n         * Validator that requires the length of the control's value to be greater than or equal\n         * to the provided minimum length. This validator is also provided by default if you use the\n         * the HTML5 `minlength` attribute.\n         *\n         * \\@usageNotes\n         *\n         * ### Validate that the field has a minimum of 3 characters\n         *\n         * ```typescript\n         * const control = new FormControl('ng', Validators.minLength(3));\n         *\n         * console.log(control.errors); // {minlength: {requiredLength: 3, actualLength: 2}}\n         * ```\n         *\n         * ```html\n         * <input minlength=\"5\">\n         * ```\n         *\n         * @see `updateValueAndValidity()`\n         *\n         * @param {?} minLength\n         * @return {?} A validator function that returns an error map with the\n         * `minlength` if the validation check fails, otherwise `null`.\n         *\n         */\n\n      }, {\n        key: \"minLength\",\n        value: function minLength(_minLength) {\n          return (\n            /**\n            * @param {?} control\n            * @return {?}\n            */\n            function (control) {\n              if (isEmptyInputValue(control.value)) {\n                return null; // don't validate empty values to allow optional controls\n              }\n              /** @type {?} */\n\n\n              var length = control.value ? control.value.length : 0;\n              return length < _minLength ? {\n                'minlength': {\n                  'requiredLength': _minLength,\n                  'actualLength': length\n                }\n              } : null;\n            }\n          );\n        }\n        /**\n         * \\@description\n         * Validator that requires the length of the control's value to be less than or equal\n         * to the provided maximum length. This validator is also provided by default if you use the\n         * the HTML5 `maxlength` attribute.\n         *\n         * \\@usageNotes\n         *\n         * ### Validate that the field has maximum of 5 characters\n         *\n         * ```typescript\n         * const control = new FormControl('Angular', Validators.maxLength(5));\n         *\n         * console.log(control.errors); // {maxlength: {requiredLength: 5, actualLength: 7}}\n         * ```\n         *\n         * ```html\n         * <input maxlength=\"5\">\n         * ```\n         *\n         * @see `updateValueAndValidity()`\n         *\n         * @param {?} maxLength\n         * @return {?} A validator function that returns an error map with the\n         * `maxlength` property if the validation check fails, otherwise `null`.\n         *\n         */\n\n      }, {\n        key: \"maxLength\",\n        value: function maxLength(_maxLength) {\n          return (\n            /**\n            * @param {?} control\n            * @return {?}\n            */\n            function (control) {\n              /** @type {?} */\n              var length = control.value ? control.value.length : 0;\n              return length > _maxLength ? {\n                'maxlength': {\n                  'requiredLength': _maxLength,\n                  'actualLength': length\n                }\n              } : null;\n            }\n          );\n        }\n        /**\n         * \\@description\n         * Validator that requires the control's value to match a regex pattern. This validator is also\n         * provided by default if you use the HTML5 `pattern` attribute.\n         *\n         * \\@usageNotes\n         *\n         * ### Validate that the field only contains letters or spaces\n         *\n         * ```typescript\n         * const control = new FormControl('1', Validators.pattern('[a-zA-Z ]*'));\n         *\n         * console.log(control.errors); // {pattern: {requiredPattern: '^[a-zA-Z ]*$', actualValue: '1'}}\n         * ```\n         *\n         * ```html\n         * <input pattern=\"[a-zA-Z ]*\">\n         * ```\n         *\n         * @see `updateValueAndValidity()`\n         *\n         * @param {?} pattern A regular expression to be used as is to test the values, or a string.\n         * If a string is passed, the `^` character is prepended and the `$` character is\n         * appended to the provided string (if not already present), and the resulting regular\n         * expression is used to test the values.\n         *\n         * @return {?} A validator function that returns an error map with the\n         * `pattern` property if the validation check fails, otherwise `null`.\n         *\n         */\n\n      }, {\n        key: \"pattern\",\n        value: function pattern(_pattern) {\n          if (!_pattern) return Validators.nullValidator;\n          /** @type {?} */\n\n          var regex;\n          /** @type {?} */\n\n          var regexStr;\n\n          if (typeof _pattern === 'string') {\n            regexStr = '';\n            if (_pattern.charAt(0) !== '^') regexStr += '^';\n            regexStr += _pattern;\n            if (_pattern.charAt(_pattern.length - 1) !== '$') regexStr += '$';\n            regex = new RegExp(regexStr);\n          } else {\n            regexStr = _pattern.toString();\n            regex = _pattern;\n          }\n\n          return (\n            /**\n            * @param {?} control\n            * @return {?}\n            */\n            function (control) {\n              if (isEmptyInputValue(control.value)) {\n                return null; // don't validate empty values to allow optional controls\n              }\n              /** @type {?} */\n\n\n              var value = control.value;\n              return regex.test(value) ? null : {\n                'pattern': {\n                  'requiredPattern': regexStr,\n                  'actualValue': value\n                }\n              };\n            }\n          );\n        }\n        /**\n         * \\@description\n         * Validator that performs no operation.\n         *\n         * @see `updateValueAndValidity()`\n         *\n         * @param {?} control\n         * @return {?}\n         */\n\n      }, {\n        key: \"nullValidator\",\n        value: function nullValidator(control) {\n          return null;\n        }\n        /**\n         * @param {?} validators\n         * @return {?}\n         */\n\n      }, {\n        key: \"compose\",\n        value: function compose(validators) {\n          if (!validators) return null;\n          /** @type {?} */\n\n          var presentValidators =\n          /** @type {?} */\n          validators.filter(isPresent);\n          if (presentValidators.length == 0) return null;\n          return (\n            /**\n            * @param {?} control\n            * @return {?}\n            */\n            function (control) {\n              return _mergeErrors(_executeValidators(control, presentValidators));\n            }\n          );\n        }\n        /**\n         * \\@description\n         * Compose multiple async validators into a single function that returns the union\n         * of the individual error objects for the provided control.\n         *\n         * @see `updateValueAndValidity()`\n         *\n         * @param {?} validators\n         * @return {?} A validator function that returns an error map with the\n         * merged error objects of the async validators if the validation check fails, otherwise `null`.\n         *\n         */\n\n      }, {\n        key: \"composeAsync\",\n        value: function composeAsync(validators) {\n          if (!validators) return null;\n          /** @type {?} */\n\n          var presentValidators =\n          /** @type {?} */\n          validators.filter(isPresent);\n          if (presentValidators.length == 0) return null;\n          return (\n            /**\n            * @param {?} control\n            * @return {?}\n            */\n            function (control) {\n              /** @type {?} */\n              var observables = _executeAsyncValidators(control, presentValidators).map(toObservable);\n\n              return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"forkJoin\"])(observables).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(_mergeErrors));\n            }\n          );\n        }\n      }]);\n\n      return Validators;\n    }();\n    /**\n     * @param {?} o\n     * @return {?}\n     */\n\n\n    function isPresent(o) {\n      return o != null;\n    }\n    /**\n     * @param {?} r\n     * @return {?}\n     */\n\n\n    function toObservable(r) {\n      /** @type {?} */\n      var obs = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵisPromise\"])(r) ? Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"from\"])(r) : r;\n\n      if (!Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵisObservable\"])(obs)) {\n        throw new Error(\"Expected validator to return Promise or Observable.\");\n      }\n\n      return obs;\n    }\n    /**\n     * @param {?} control\n     * @param {?} validators\n     * @return {?}\n     */\n\n\n    function _executeValidators(control, validators) {\n      return validators.map(\n      /**\n      * @param {?} v\n      * @return {?}\n      */\n      function (v) {\n        return v(control);\n      });\n    }\n    /**\n     * @param {?} control\n     * @param {?} validators\n     * @return {?}\n     */\n\n\n    function _executeAsyncValidators(control, validators) {\n      return validators.map(\n      /**\n      * @param {?} v\n      * @return {?}\n      */\n      function (v) {\n        return v(control);\n      });\n    }\n    /**\n     * @param {?} arrayOfErrors\n     * @return {?}\n     */\n\n\n    function _mergeErrors(arrayOfErrors) {\n      /** @type {?} */\n      var res = arrayOfErrors.reduce(\n      /**\n      * @param {?} res\n      * @param {?} errors\n      * @return {?}\n      */\n      function (res, errors) {\n        return errors != null ? Object.assign({},\n        /** @type {?} */\n        res, errors) :\n        /** @type {?} */\n        res;\n      }, {});\n      return Object.keys(res).length === 0 ? null : res;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * @param {?} validator\n     * @return {?}\n     */\n\n\n    function normalizeValidator(validator) {\n      if (\n      /** @type {?} */\n      validator.validate) {\n        return (\n          /**\n          * @param {?} c\n          * @return {?}\n          */\n          function (c) {\n            return (\n              /** @type {?} */\n              validator.validate(c)\n            );\n          }\n        );\n      } else {\n        return (\n          /** @type {?} */\n          validator\n        );\n      }\n    }\n    /**\n     * @param {?} validator\n     * @return {?}\n     */\n\n\n    function normalizeAsyncValidator(validator) {\n      if (\n      /** @type {?} */\n      validator.validate) {\n        return (\n          /**\n          * @param {?} c\n          * @return {?}\n          */\n          function (c) {\n            return (\n              /** @type {?} */\n              validator.validate(c)\n            );\n          }\n        );\n      } else {\n        return (\n          /** @type {?} */\n          validator\n        );\n      }\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var NUMBER_VALUE_ACCESSOR = {\n      provide: NG_VALUE_ACCESSOR,\n      useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])(\n      /**\n      * @return {?}\n      */\n      function () {\n        return NumberValueAccessor;\n      }),\n      multi: true\n    };\n    /**\n     * \\@description\n     * The `ControlValueAccessor` for writing a number value and listening to number input changes.\n     * The value accessor is used by the `FormControlDirective`, `FormControlName`, and  `NgModel`\n     * directives.\n     *\n     * \\@usageNotes\n     *\n     * ### Using a number input with a reactive form.\n     *\n     * The following example shows how to use a number input with a reactive form.\n     *\n     * ```ts\n     * const totalCountControl = new FormControl();\n     * ```\n     *\n     * ```\n     * <input type=\"number\" [formControl]=\"totalCountControl\">\n     * ```\n     *\n     * \\@ngModule ReactiveFormsModule\n     * \\@ngModule FormsModule\n     * \\@publicApi\n     */\n\n    var NumberValueAccessor =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _renderer\n       * @param {?} _elementRef\n       */\n      function NumberValueAccessor(_renderer, _elementRef) {\n        _classCallCheck(this, NumberValueAccessor);\n\n        this._renderer = _renderer;\n        this._elementRef = _elementRef;\n        /**\n         * \\@description\n         * The registered callback function called when a change or input event occurs on the input\n         * element.\n         */\n\n        this.onChange =\n        /**\n        * @param {?} _\n        * @return {?}\n        */\n        function (_) {};\n        /**\n         * \\@description\n         * The registered callback function called when a blur event occurs on the input element.\n         */\n\n\n        this.onTouched =\n        /**\n        * @return {?}\n        */\n        function () {};\n      }\n      /**\n       * Sets the \"value\" property on the input element.\n       *\n       * @param {?} value The checked value\n       * @return {?}\n       */\n\n\n      _createClass2(NumberValueAccessor, [{\n        key: \"writeValue\",\n        value: function writeValue(value) {\n          // The value needs to be normalized for IE9, otherwise it is set to 'null' when null\n\n          /** @type {?} */\n          var normalizedValue = value == null ? '' : value;\n\n          this._renderer.setProperty(this._elementRef.nativeElement, 'value', normalizedValue);\n        }\n        /**\n         * \\@description\n         * Registers a function called when the control value changes.\n         *\n         * @param {?} fn The callback function\n         * @return {?}\n         */\n\n      }, {\n        key: \"registerOnChange\",\n        value: function registerOnChange(fn) {\n          this.onChange =\n          /**\n          * @param {?} value\n          * @return {?}\n          */\n          function (value) {\n            fn(value == '' ? null : parseFloat(value));\n          };\n        }\n        /**\n         * \\@description\n         * Registers a function called when the control is touched.\n         *\n         * @param {?} fn The callback function\n         * @return {?}\n         */\n\n      }, {\n        key: \"registerOnTouched\",\n        value: function registerOnTouched(fn) {\n          this.onTouched = fn;\n        }\n        /**\n         * Sets the \"disabled\" property on the input element.\n         *\n         * @param {?} isDisabled The disabled value\n         * @return {?}\n         */\n\n      }, {\n        key: \"setDisabledState\",\n        value: function setDisabledState(isDisabled) {\n          this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled);\n        }\n      }]);\n\n      return NumberValueAccessor;\n    }();\n\n    NumberValueAccessor.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: 'input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]',\n        host: {\n          '(change)': 'onChange($event.target.value)',\n          '(input)': 'onChange($event.target.value)',\n          '(blur)': 'onTouched()'\n        },\n        providers: [NUMBER_VALUE_ACCESSOR]\n      }]\n    }];\n    /** @nocollapse */\n\n    NumberValueAccessor.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Renderer2\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"]\n      }];\n    };\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var RADIO_VALUE_ACCESSOR = {\n      provide: NG_VALUE_ACCESSOR,\n      useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])(\n      /**\n      * @return {?}\n      */\n      function () {\n        return RadioControlValueAccessor;\n      }),\n      multi: true\n    };\n    /**\n     * \\@description\n     * Class used by Angular to track radio buttons. For internal use only.\n     */\n\n    var RadioControlRegistry =\n    /*#__PURE__*/\n    function () {\n      function RadioControlRegistry() {\n        _classCallCheck(this, RadioControlRegistry);\n\n        this._accessors = [];\n      }\n      /**\n       * \\@description\n       * Adds a control to the internal registry. For internal use only.\n       * @param {?} control\n       * @param {?} accessor\n       * @return {?}\n       */\n\n\n      _createClass2(RadioControlRegistry, [{\n        key: \"add\",\n        value: function add(control, accessor) {\n          this._accessors.push([control, accessor]);\n        }\n        /**\n         * \\@description\n         * Removes a control from the internal registry. For internal use only.\n         * @param {?} accessor\n         * @return {?}\n         */\n\n      }, {\n        key: \"remove\",\n        value: function remove(accessor) {\n          for (var i = this._accessors.length - 1; i >= 0; --i) {\n            if (this._accessors[i][1] === accessor) {\n              this._accessors.splice(i, 1);\n\n              return;\n            }\n          }\n        }\n        /**\n         * \\@description\n         * Selects a radio button. For internal use only.\n         * @param {?} accessor\n         * @return {?}\n         */\n\n      }, {\n        key: \"select\",\n        value: function select(accessor) {\n          var _this551 = this;\n\n          this._accessors.forEach(\n          /**\n          * @param {?} c\n          * @return {?}\n          */\n          function (c) {\n            if (_this551._isSameGroup(c, accessor) && c[1] !== accessor) {\n              c[1].fireUncheck(accessor.value);\n            }\n          });\n        }\n        /**\n         * @private\n         * @param {?} controlPair\n         * @param {?} accessor\n         * @return {?}\n         */\n\n      }, {\n        key: \"_isSameGroup\",\n        value: function _isSameGroup(controlPair, accessor) {\n          if (!controlPair[0].control) return false;\n          return controlPair[0]._parent === accessor._control._parent && controlPair[1].name === accessor.name;\n        }\n      }]);\n\n      return RadioControlRegistry;\n    }();\n\n    RadioControlRegistry.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"]\n    }];\n\n    if (false) {}\n    /**\n     * \\@description\n     * The `ControlValueAccessor` for writing radio control values and listening to radio control\n     * changes. The value accessor is used by the `FormControlDirective`, `FormControlName`, and\n     * `NgModel` directives.\n     *\n     * \\@usageNotes\n     *\n     * ### Using radio buttons with reactive form directives\n     *\n     * The follow example shows how to use radio buttons in a reactive form. When using radio buttons in\n     * a reactive form, radio buttons in the same group should have the same `formControlName`.\n     * Providing a `name` attribute is optional.\n     *\n     * {\\@example forms/ts/reactiveRadioButtons/reactive_radio_button_example.ts region='Reactive'}\n     *\n     * \\@ngModule ReactiveFormsModule\n     * \\@ngModule FormsModule\n     * \\@publicApi\n     */\n\n\n    var RadioControlValueAccessor =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _renderer\n       * @param {?} _elementRef\n       * @param {?} _registry\n       * @param {?} _injector\n       */\n      function RadioControlValueAccessor(_renderer, _elementRef, _registry, _injector) {\n        _classCallCheck(this, RadioControlValueAccessor);\n\n        this._renderer = _renderer;\n        this._elementRef = _elementRef;\n        this._registry = _registry;\n        this._injector = _injector;\n        /**\n         * \\@description\n         * The registered callback function called when a change event occurs on the input element.\n         */\n\n        this.onChange =\n        /**\n        * @return {?}\n        */\n        function () {};\n        /**\n         * \\@description\n         * The registered callback function called when a blur event occurs on the input element.\n         */\n\n\n        this.onTouched =\n        /**\n        * @return {?}\n        */\n        function () {};\n      }\n      /**\n       * \\@description\n       * A lifecycle method called when the directive is initialized. For internal use only.\n       * @return {?}\n       */\n\n\n      _createClass2(RadioControlValueAccessor, [{\n        key: \"ngOnInit\",\n        value: function ngOnInit() {\n          this._control = this._injector.get(NgControl);\n\n          this._checkName();\n\n          this._registry.add(this._control, this);\n        }\n        /**\n         * \\@description\n         * Lifecycle method called before the directive's instance is destroyed. For internal use only.\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          this._registry.remove(this);\n        }\n        /**\n         * \\@description\n         * Sets the \"checked\" property value on the radio input element.\n         *\n         * @param {?} value The checked value\n         * @return {?}\n         */\n\n      }, {\n        key: \"writeValue\",\n        value: function writeValue(value) {\n          this._state = value === this.value;\n\n          this._renderer.setProperty(this._elementRef.nativeElement, 'checked', this._state);\n        }\n        /**\n         * \\@description\n         * Registers a function called when the control value changes.\n         *\n         * @param {?} fn The callback function\n         * @return {?}\n         */\n\n      }, {\n        key: \"registerOnChange\",\n        value: function registerOnChange(fn) {\n          var _this552 = this;\n\n          this._fn = fn;\n\n          this.onChange =\n          /**\n          * @return {?}\n          */\n          function () {\n            fn(_this552.value);\n\n            _this552._registry.select(_this552);\n          };\n        }\n        /**\n         * Sets the \"value\" on the radio input element and unchecks it.\n         *\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"fireUncheck\",\n        value: function fireUncheck(value) {\n          this.writeValue(value);\n        }\n        /**\n         * \\@description\n         * Registers a function called when the control is touched.\n         *\n         * @param {?} fn The callback function\n         * @return {?}\n         */\n\n      }, {\n        key: \"registerOnTouched\",\n        value: function registerOnTouched(fn) {\n          this.onTouched = fn;\n        }\n        /**\n         * Sets the \"disabled\" property on the input element.\n         *\n         * @param {?} isDisabled The disabled value\n         * @return {?}\n         */\n\n      }, {\n        key: \"setDisabledState\",\n        value: function setDisabledState(isDisabled) {\n          this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled);\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_checkName\",\n        value: function _checkName() {\n          if (this.name && this.formControlName && this.name !== this.formControlName) {\n            this._throwNameError();\n          }\n\n          if (!this.name && this.formControlName) this.name = this.formControlName;\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_throwNameError\",\n        value: function _throwNameError() {\n          throw new Error(\"\\n      If you define both a name and a formControlName attribute on your radio button, their values\\n      must match. Ex: <input type=\\\"radio\\\" formControlName=\\\"food\\\" name=\\\"food\\\">\\n    \");\n        }\n      }]);\n\n      return RadioControlValueAccessor;\n    }();\n\n    RadioControlValueAccessor.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: 'input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]',\n        host: {\n          '(change)': 'onChange()',\n          '(blur)': 'onTouched()'\n        },\n        providers: [RADIO_VALUE_ACCESSOR]\n      }]\n    }];\n    /** @nocollapse */\n\n    RadioControlValueAccessor.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Renderer2\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"]\n      }, {\n        type: RadioControlRegistry\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injector\"]\n      }];\n    };\n\n    RadioControlValueAccessor.propDecorators = {\n      name: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"]\n      }],\n      formControlName: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"]\n      }],\n      value: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"]\n      }]\n    };\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var RANGE_VALUE_ACCESSOR = {\n      provide: NG_VALUE_ACCESSOR,\n      useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])(\n      /**\n      * @return {?}\n      */\n      function () {\n        return RangeValueAccessor;\n      }),\n      multi: true\n    };\n    /**\n     * \\@description\n     * The `ControlValueAccessor` for writing a range value and listening to range input changes.\n     * The value accessor is used by the `FormControlDirective`, `FormControlName`, and  `NgModel`\n     * directives.\n     *\n     * \\@usageNotes\n     *\n     * ### Using a range input with a reactive form\n     *\n     * The following example shows how to use a range input with a reactive form.\n     *\n     * ```ts\n     * const ageControl = new FormControl();\n     * ```\n     *\n     * ```\n     * <input type=\"range\" [formControl]=\"ageControl\">\n     * ```\n     *\n     * \\@ngModule ReactiveFormsModule\n     * \\@ngModule FormsModule\n     * \\@publicApi\n     */\n\n    var RangeValueAccessor =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _renderer\n       * @param {?} _elementRef\n       */\n      function RangeValueAccessor(_renderer, _elementRef) {\n        _classCallCheck(this, RangeValueAccessor);\n\n        this._renderer = _renderer;\n        this._elementRef = _elementRef;\n        /**\n         * \\@description\n         * The registered callback function called when a change or input event occurs on the input\n         * element.\n         */\n\n        this.onChange =\n        /**\n        * @param {?} _\n        * @return {?}\n        */\n        function (_) {};\n        /**\n         * \\@description\n         * The registered callback function called when a blur event occurs on the input element.\n         */\n\n\n        this.onTouched =\n        /**\n        * @return {?}\n        */\n        function () {};\n      }\n      /**\n       * Sets the \"value\" property on the input element.\n       *\n       * @param {?} value The checked value\n       * @return {?}\n       */\n\n\n      _createClass2(RangeValueAccessor, [{\n        key: \"writeValue\",\n        value: function writeValue(value) {\n          this._renderer.setProperty(this._elementRef.nativeElement, 'value', parseFloat(value));\n        }\n        /**\n         * \\@description\n         * Registers a function called when the control value changes.\n         *\n         * @param {?} fn The callback function\n         * @return {?}\n         */\n\n      }, {\n        key: \"registerOnChange\",\n        value: function registerOnChange(fn) {\n          this.onChange =\n          /**\n          * @param {?} value\n          * @return {?}\n          */\n          function (value) {\n            fn(value == '' ? null : parseFloat(value));\n          };\n        }\n        /**\n         * \\@description\n         * Registers a function called when the control is touched.\n         *\n         * @param {?} fn The callback function\n         * @return {?}\n         */\n\n      }, {\n        key: \"registerOnTouched\",\n        value: function registerOnTouched(fn) {\n          this.onTouched = fn;\n        }\n        /**\n         * Sets the \"disabled\" property on the range input element.\n         *\n         * @param {?} isDisabled The disabled value\n         * @return {?}\n         */\n\n      }, {\n        key: \"setDisabledState\",\n        value: function setDisabledState(isDisabled) {\n          this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled);\n        }\n      }]);\n\n      return RangeValueAccessor;\n    }();\n\n    RangeValueAccessor.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: 'input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]',\n        host: {\n          '(change)': 'onChange($event.target.value)',\n          '(input)': 'onChange($event.target.value)',\n          '(blur)': 'onTouched()'\n        },\n        providers: [RANGE_VALUE_ACCESSOR]\n      }]\n    }];\n    /** @nocollapse */\n\n    RangeValueAccessor.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Renderer2\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"]\n      }];\n    };\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /** @type {?} */\n\n\n    var FormErrorExamples = {\n      formControlName: \"\\n    <div [formGroup]=\\\"myGroup\\\">\\n      <input formControlName=\\\"firstName\\\">\\n    </div>\\n\\n    In your class:\\n\\n    this.myGroup = new FormGroup({\\n       firstName: new FormControl()\\n    });\",\n      formGroupName: \"\\n    <div [formGroup]=\\\"myGroup\\\">\\n       <div formGroupName=\\\"person\\\">\\n          <input formControlName=\\\"firstName\\\">\\n       </div>\\n    </div>\\n\\n    In your class:\\n\\n    this.myGroup = new FormGroup({\\n       person: new FormGroup({ firstName: new FormControl() })\\n    });\",\n      formArrayName: \"\\n    <div [formGroup]=\\\"myGroup\\\">\\n      <div formArrayName=\\\"cities\\\">\\n        <div *ngFor=\\\"let city of cityArray.controls; index as i\\\">\\n          <input [formControlName]=\\\"i\\\">\\n        </div>\\n      </div>\\n    </div>\\n\\n    In your class:\\n\\n    this.cityArray = new FormArray([new FormControl('SF')]);\\n    this.myGroup = new FormGroup({\\n      cities: this.cityArray\\n    });\",\n      ngModelGroup: \"\\n    <form>\\n       <div ngModelGroup=\\\"person\\\">\\n          <input [(ngModel)]=\\\"person.name\\\" name=\\\"firstName\\\">\\n       </div>\\n    </form>\",\n      ngModelWithFormGroup: \"\\n    <div [formGroup]=\\\"myGroup\\\">\\n       <input formControlName=\\\"firstName\\\">\\n       <input [(ngModel)]=\\\"showMoreControls\\\" [ngModelOptions]=\\\"{standalone: true}\\\">\\n    </div>\\n  \"\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    var ReactiveErrors =\n    /*#__PURE__*/\n    function () {\n      function ReactiveErrors() {\n        _classCallCheck(this, ReactiveErrors);\n      }\n\n      _createClass2(ReactiveErrors, null, [{\n        key: \"controlParentException\",\n\n        /**\n         * @return {?}\n         */\n        value: function controlParentException() {\n          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      \".concat(FormErrorExamples.formControlName));\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngModelGroupException\",\n        value: function ngModelGroupException() {\n          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        \".concat(FormErrorExamples.formGroupName, \"\\n\\n        Option 2: Use ngModel instead of formControlName (template-driven strategy)\\n\\n        \").concat(FormErrorExamples.ngModelGroup));\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"missingFormException\",\n        value: function missingFormException() {\n          throw new Error(\"formGroup expects a FormGroup instance. Please pass one in.\\n\\n       Example:\\n\\n       \".concat(FormErrorExamples.formControlName));\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"groupParentException\",\n        value: function groupParentException() {\n          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      \".concat(FormErrorExamples.formGroupName));\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"arrayParentException\",\n        value: function arrayParentException() {\n          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        \".concat(FormErrorExamples.formArrayName));\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"disabledAttrWarning\",\n        value: function disabledAttrWarning() {\n          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    \");\n        }\n        /**\n         * @param {?} directiveName\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngModelWarning\",\n        value: function ngModelWarning(directiveName) {\n          console.warn(\"\\n    It looks like you're using ngModel on the same form field as \".concat(directiveName, \". \\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/\").concat(directiveName === 'formControl' ? 'FormControlDirective' : 'FormControlName', \"#use-with-ngmodel\\n    \"));\n        }\n      }]);\n\n      return ReactiveErrors;\n    }();\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var SELECT_VALUE_ACCESSOR = {\n      provide: NG_VALUE_ACCESSOR,\n      useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])(\n      /**\n      * @return {?}\n      */\n      function () {\n        return SelectControlValueAccessor;\n      }),\n      multi: true\n    };\n    /**\n     * @param {?} id\n     * @param {?} value\n     * @return {?}\n     */\n\n    function _buildValueString(id, value) {\n      if (id == null) return \"\".concat(value);\n      if (value && typeof value === 'object') value = 'Object';\n      return \"\".concat(id, \": \").concat(value).slice(0, 50);\n    }\n    /**\n     * @param {?} valueString\n     * @return {?}\n     */\n\n\n    function _extractId(valueString) {\n      return valueString.split(':')[0];\n    }\n    /**\n     * \\@description\n     * The `ControlValueAccessor` for writing select control values and listening to select control\n     * changes. The value accessor is used by the `FormControlDirective`, `FormControlName`, and\n     * `NgModel` directives.\n     *\n     * \\@usageNotes\n     *\n     * ### Using select controls in a reactive form\n     *\n     * The following examples show how to use a select control in a reactive form.\n     *\n     * {\\@example forms/ts/reactiveSelectControl/reactive_select_control_example.ts region='Component'}\n     *\n     * ### Using select controls in a template-driven form\n     *\n     * To use a select in a template-driven form, simply add an `ngModel` and a `name`\n     * attribute to the main `<select>` tag.\n     *\n     * {\\@example forms/ts/selectControl/select_control_example.ts region='Component'}\n     *\n     * ### Customizing option selection\n     *\n     * Angular uses object identity to select option. It's possible for the identities of items\n     * to change while the data does not. This can happen, for example, if the items are produced\n     * from an RPC to the server, and that RPC is re-run. Even if the data hasn't changed, the\n     * second response will produce objects with different identities.\n     *\n     * To customize the default option comparison algorithm, `<select>` supports `compareWith` input.\n     * `compareWith` takes a **function** which has two arguments: `option1` and `option2`.\n     * If `compareWith` is given, Angular selects option by the return value of the function.\n     *\n     * ```ts\n     * const selectedCountriesControl = new FormControl();\n     * ```\n     *\n     * ```\n     * <select [compareWith]=\"compareFn\"  [formControl]=\"selectedCountriesControl\">\n     *     <option *ngFor=\"let country of countries\" [ngValue]=\"country\">\n     *         {{country.name}}\n     *     </option>\n     * </select>\n     *\n     * compareFn(c1: Country, c2: Country): boolean {\n     *     return c1 && c2 ? c1.id === c2.id : c1 === c2;\n     * }\n     * ```\n     *\n     * **Note:** We listen to the 'change' event because 'input' events aren't fired\n     * for selects in Firefox and IE:\n     * https://bugzilla.mozilla.org/show_bug.cgi?id=1024350\n     * https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/4660045/\n     *\n     * \\@ngModule ReactiveFormsModule\n     * \\@ngModule FormsModule\n     * \\@publicApi\n     */\n\n\n    var SelectControlValueAccessor =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _renderer\n       * @param {?} _elementRef\n       */\n      function SelectControlValueAccessor(_renderer, _elementRef) {\n        _classCallCheck(this, SelectControlValueAccessor);\n\n        this._renderer = _renderer;\n        this._elementRef = _elementRef;\n        /**\n         * \\@internal\n         */\n\n        this._optionMap = new Map();\n        /**\n         * \\@internal\n         */\n\n        this._idCounter = 0;\n        /**\n         * \\@description\n         * The registered callback function called when a change event occurs on the input element.\n         */\n\n        this.onChange =\n        /**\n        * @param {?} _\n        * @return {?}\n        */\n        function (_) {};\n        /**\n         * \\@description\n         * The registered callback function called when a blur event occurs on the input element.\n         */\n\n\n        this.onTouched =\n        /**\n        * @return {?}\n        */\n        function () {};\n\n        this._compareWith = _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵlooseIdentical\"];\n      }\n      /**\n       * \\@description\n       * Tracks the option comparison algorithm for tracking identities when\n       * checking for changes.\n       * @param {?} fn\n       * @return {?}\n       */\n\n\n      _createClass2(SelectControlValueAccessor, [{\n        key: \"writeValue\",\n\n        /**\n         * Sets the \"value\" property on the input element. The \"selectedIndex\"\n         * property is also set if an ID is provided on the option element.\n         *\n         * @param {?} value The checked value\n         * @return {?}\n         */\n        value: function writeValue(value) {\n          this.value = value;\n          /** @type {?} */\n\n          var id = this._getOptionId(value);\n\n          if (id == null) {\n            this._renderer.setProperty(this._elementRef.nativeElement, 'selectedIndex', -1);\n          }\n          /** @type {?} */\n\n\n          var valueString = _buildValueString(id, value);\n\n          this._renderer.setProperty(this._elementRef.nativeElement, 'value', valueString);\n        }\n        /**\n         * \\@description\n         * Registers a function called when the control value changes.\n         *\n         * @param {?} fn The callback function\n         * @return {?}\n         */\n\n      }, {\n        key: \"registerOnChange\",\n        value: function registerOnChange(fn) {\n          var _this553 = this;\n\n          this.onChange =\n          /**\n          * @param {?} valueString\n          * @return {?}\n          */\n          function (valueString) {\n            _this553.value = _this553._getOptionValue(valueString);\n            fn(_this553.value);\n          };\n        }\n        /**\n         * \\@description\n         * Registers a function called when the control is touched.\n         *\n         * @param {?} fn The callback function\n         * @return {?}\n         */\n\n      }, {\n        key: \"registerOnTouched\",\n        value: function registerOnTouched(fn) {\n          this.onTouched = fn;\n        }\n        /**\n         * Sets the \"disabled\" property on the select input element.\n         *\n         * @param {?} isDisabled The disabled value\n         * @return {?}\n         */\n\n      }, {\n        key: \"setDisabledState\",\n        value: function setDisabledState(isDisabled) {\n          this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled);\n        }\n        /**\n         * \\@internal\n         * @return {?}\n         */\n\n      }, {\n        key: \"_registerOption\",\n        value: function _registerOption() {\n          return (this._idCounter++).toString();\n        }\n        /**\n         * \\@internal\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"_getOptionId\",\n        value: function _getOptionId(value) {\n          for (var _i39 = 0, _Array$from = Array.from(this._optionMap.keys()); _i39 < _Array$from.length; _i39++) {\n            var id = _Array$from[_i39];\n            if (this._compareWith(this._optionMap.get(id), value)) return id;\n          }\n\n          return null;\n        }\n        /**\n         * \\@internal\n         * @param {?} valueString\n         * @return {?}\n         */\n\n      }, {\n        key: \"_getOptionValue\",\n        value: function _getOptionValue(valueString) {\n          /** @type {?} */\n          var id = _extractId(valueString);\n\n          return this._optionMap.has(id) ? this._optionMap.get(id) : valueString;\n        }\n      }, {\n        key: \"compareWith\",\n        set: function set(fn) {\n          if (typeof fn !== 'function') {\n            throw new Error(\"compareWith must be a function, but received \".concat(JSON.stringify(fn)));\n          }\n\n          this._compareWith = fn;\n        }\n      }]);\n\n      return SelectControlValueAccessor;\n    }();\n\n    SelectControlValueAccessor.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: 'select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]',\n        host: {\n          '(change)': 'onChange($event.target.value)',\n          '(blur)': 'onTouched()'\n        },\n        providers: [SELECT_VALUE_ACCESSOR]\n      }]\n    }];\n    /** @nocollapse */\n\n    SelectControlValueAccessor.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Renderer2\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"]\n      }];\n    };\n\n    SelectControlValueAccessor.propDecorators = {\n      compareWith: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"]\n      }]\n    };\n\n    if (false) {}\n    /**\n     * \\@description\n     * Marks `<option>` as dynamic, so Angular can be notified when options change.\n     *\n     * @see `SelectControlValueAccessor`\n     *\n     * \\@ngModule ReactiveFormsModule\n     * \\@ngModule FormsModule\n     * \\@publicApi\n     */\n\n\n    var NgSelectOption =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _element\n       * @param {?} _renderer\n       * @param {?} _select\n       */\n      function NgSelectOption(_element, _renderer, _select) {\n        _classCallCheck(this, NgSelectOption);\n\n        this._element = _element;\n        this._renderer = _renderer;\n        this._select = _select;\n        if (this._select) this.id = this._select._registerOption();\n      }\n      /**\n       * \\@description\n       * Tracks the value bound to the option element. Unlike the value binding,\n       * ngValue supports binding to objects.\n       * @param {?} value\n       * @return {?}\n       */\n\n\n      _createClass2(NgSelectOption, [{\n        key: \"_setElementValue\",\n\n        /**\n         * \\@internal\n         * @param {?} value\n         * @return {?}\n         */\n        value: function _setElementValue(value) {\n          this._renderer.setProperty(this._element.nativeElement, 'value', value);\n        }\n        /**\n         * \\@description\n         * Lifecycle method called before the directive's instance is destroyed. For internal use only.\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          if (this._select) {\n            this._select._optionMap.delete(this.id);\n\n            this._select.writeValue(this._select.value);\n          }\n        }\n      }, {\n        key: \"ngValue\",\n        set: function set(value) {\n          if (this._select == null) return;\n\n          this._select._optionMap.set(this.id, value);\n\n          this._setElementValue(_buildValueString(this.id, value));\n\n          this._select.writeValue(this._select.value);\n        }\n        /**\n         * \\@description\n         * Tracks simple string values bound to the option element.\n         * For objects, use the `ngValue` input binding.\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"value\",\n        set: function set(value) {\n          this._setElementValue(value);\n\n          if (this._select) this._select.writeValue(this._select.value);\n        }\n      }]);\n\n      return NgSelectOption;\n    }();\n\n    NgSelectOption.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: 'option'\n      }]\n    }];\n    /** @nocollapse */\n\n    NgSelectOption.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Renderer2\"]\n      }, {\n        type: SelectControlValueAccessor,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Host\"]\n        }]\n      }];\n    };\n\n    NgSelectOption.propDecorators = {\n      ngValue: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"],\n        args: ['ngValue']\n      }],\n      value: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"],\n        args: ['value']\n      }]\n    };\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var SELECT_MULTIPLE_VALUE_ACCESSOR = {\n      provide: NG_VALUE_ACCESSOR,\n      useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])(\n      /**\n      * @return {?}\n      */\n      function () {\n        return SelectMultipleControlValueAccessor;\n      }),\n      multi: true\n    };\n    /**\n     * @param {?} id\n     * @param {?} value\n     * @return {?}\n     */\n\n    function _buildValueString$1(id, value) {\n      if (id == null) return \"\".concat(value);\n      if (typeof value === 'string') value = \"'\".concat(value, \"'\");\n      if (value && typeof value === 'object') value = 'Object';\n      return \"\".concat(id, \": \").concat(value).slice(0, 50);\n    }\n    /**\n     * @param {?} valueString\n     * @return {?}\n     */\n\n\n    function _extractId$1(valueString) {\n      return valueString.split(':')[0];\n    }\n    /**\n     * Mock interface for HTML Options\n     * @record\n     */\n\n\n    function HTMLOption() {}\n\n    if (false) {}\n    /**\n     * Mock interface for HTMLCollection\n     * @abstract\n     */\n\n\n    var HTMLCollection = function HTMLCollection() {\n      _classCallCheck(this, HTMLCollection);\n    };\n\n    if (false) {}\n    /**\n     * \\@description\n     * The `ControlValueAccessor` for writing multi-select control values and listening to multi-select control\n     * changes. The value accessor is used by the `FormControlDirective`, `FormControlName`, and `NgModel`\n     * directives.\n     *\n     * @see `SelectControlValueAccessor`\n     *\n     * \\@usageNotes\n     *\n     * ### Using a multi-select control\n     *\n     * The follow example shows you how to use a multi-select control with a reactive form.\n     *\n     * ```ts\n     * const countryControl = new FormControl();\n     * ```\n     *\n     * ```\n     * <select multiple name=\"countries\" [formControl]=\"countryControl\">\n     *   <option *ngFor=\"let country of countries\" [ngValue]=\"country\">\n     *     {{ country.name }}\n     *   </option>\n     * </select>\n     * ```\n     *\n     * ### Customizing option selection\n     *\n     * To customize the default option comparison algorithm, `<select>` supports `compareWith` input.\n     * See the `SelectControlValueAccessor` for usage.\n     *\n     * \\@ngModule ReactiveFormsModule\n     * \\@ngModule FormsModule\n     * \\@publicApi\n     */\n\n\n    var SelectMultipleControlValueAccessor =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _renderer\n       * @param {?} _elementRef\n       */\n      function SelectMultipleControlValueAccessor(_renderer, _elementRef) {\n        _classCallCheck(this, SelectMultipleControlValueAccessor);\n\n        this._renderer = _renderer;\n        this._elementRef = _elementRef;\n        /**\n         * \\@internal\n         */\n\n        this._optionMap = new Map();\n        /**\n         * \\@internal\n         */\n\n        this._idCounter = 0;\n        /**\n         * \\@description\n         * The registered callback function called when a change event occurs on the input element.\n         */\n\n        this.onChange =\n        /**\n        * @param {?} _\n        * @return {?}\n        */\n        function (_) {};\n        /**\n         * \\@description\n         * The registered callback function called when a blur event occurs on the input element.\n         */\n\n\n        this.onTouched =\n        /**\n        * @return {?}\n        */\n        function () {};\n\n        this._compareWith = _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵlooseIdentical\"];\n      }\n      /**\n       * \\@description\n       * Tracks the option comparison algorithm for tracking identities when\n       * checking for changes.\n       * @param {?} fn\n       * @return {?}\n       */\n\n\n      _createClass2(SelectMultipleControlValueAccessor, [{\n        key: \"writeValue\",\n\n        /**\n         * \\@description\n         * Sets the \"value\" property on one or of more\n         * of the select's options.\n         *\n         * @param {?} value The value\n         * @return {?}\n         */\n        value: function writeValue(value) {\n          var _this554 = this;\n\n          this.value = value;\n          /** @type {?} */\n\n          var optionSelectedStateSetter;\n\n          if (Array.isArray(value)) {\n            // convert values to ids\n\n            /** @type {?} */\n            var ids = value.map(\n            /**\n            * @param {?} v\n            * @return {?}\n            */\n            function (v) {\n              return _this554._getOptionId(v);\n            });\n\n            optionSelectedStateSetter =\n            /**\n            * @param {?} opt\n            * @param {?} o\n            * @return {?}\n            */\n            function optionSelectedStateSetter(opt, o) {\n              opt._setSelected(ids.indexOf(o.toString()) > -1);\n            };\n          } else {\n            optionSelectedStateSetter =\n            /**\n            * @param {?} opt\n            * @param {?} o\n            * @return {?}\n            */\n            function optionSelectedStateSetter(opt, o) {\n              opt._setSelected(false);\n            };\n          }\n\n          this._optionMap.forEach(optionSelectedStateSetter);\n        }\n        /**\n         * \\@description\n         * Registers a function called when the control value changes\n         * and writes an array of the selected options.\n         *\n         * @param {?} fn The callback function\n         * @return {?}\n         */\n\n      }, {\n        key: \"registerOnChange\",\n        value: function registerOnChange(fn) {\n          var _this555 = this;\n\n          this.onChange =\n          /**\n          * @param {?} _\n          * @return {?}\n          */\n          function (_) {\n            /** @type {?} */\n            var selected = [];\n\n            if (_.hasOwnProperty('selectedOptions')) {\n              /** @type {?} */\n              var options = _.selectedOptions;\n\n              for (var i = 0; i < options.length; i++) {\n                /** @type {?} */\n                var opt = options.item(i);\n                /** @type {?} */\n\n                var val = _this555._getOptionValue(opt.value);\n\n                selected.push(val);\n              }\n            } // Degrade on IE\n            else {\n                /** @type {?} */\n                var _options3 =\n                /** @type {?} */\n                _.options;\n\n                for (var _i40 = 0; _i40 < _options3.length; _i40++) {\n                  /** @type {?} */\n                  var _opt = _options3.item(_i40);\n\n                  if (_opt.selected) {\n                    /** @type {?} */\n                    var _val = _this555._getOptionValue(_opt.value);\n\n                    selected.push(_val);\n                  }\n                }\n              }\n\n            _this555.value = selected;\n            fn(selected);\n          };\n        }\n        /**\n         * \\@description\n         * Registers a function called when the control is touched.\n         *\n         * @param {?} fn The callback function\n         * @return {?}\n         */\n\n      }, {\n        key: \"registerOnTouched\",\n        value: function registerOnTouched(fn) {\n          this.onTouched = fn;\n        }\n        /**\n         * Sets the \"disabled\" property on the select input element.\n         *\n         * @param {?} isDisabled The disabled value\n         * @return {?}\n         */\n\n      }, {\n        key: \"setDisabledState\",\n        value: function setDisabledState(isDisabled) {\n          this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled);\n        }\n        /**\n         * \\@internal\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"_registerOption\",\n        value: function _registerOption(value) {\n          /** @type {?} */\n          var id = (this._idCounter++).toString();\n\n          this._optionMap.set(id, value);\n\n          return id;\n        }\n        /**\n         * \\@internal\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"_getOptionId\",\n        value: function _getOptionId(value) {\n          for (var _i41 = 0, _Array$from2 = Array.from(this._optionMap.keys()); _i41 < _Array$from2.length; _i41++) {\n            var id = _Array$from2[_i41];\n            if (this._compareWith(\n            /** @type {?} */\n            this._optionMap.get(id)._value, value)) return id;\n          }\n\n          return null;\n        }\n        /**\n         * \\@internal\n         * @param {?} valueString\n         * @return {?}\n         */\n\n      }, {\n        key: \"_getOptionValue\",\n        value: function _getOptionValue(valueString) {\n          /** @type {?} */\n          var id = _extractId$1(valueString);\n\n          return this._optionMap.has(id) ?\n          /** @type {?} */\n          this._optionMap.get(id)._value : valueString;\n        }\n      }, {\n        key: \"compareWith\",\n        set: function set(fn) {\n          if (typeof fn !== 'function') {\n            throw new Error(\"compareWith must be a function, but received \".concat(JSON.stringify(fn)));\n          }\n\n          this._compareWith = fn;\n        }\n      }]);\n\n      return SelectMultipleControlValueAccessor;\n    }();\n\n    SelectMultipleControlValueAccessor.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: 'select[multiple][formControlName],select[multiple][formControl],select[multiple][ngModel]',\n        host: {\n          '(change)': 'onChange($event.target)',\n          '(blur)': 'onTouched()'\n        },\n        providers: [SELECT_MULTIPLE_VALUE_ACCESSOR]\n      }]\n    }];\n    /** @nocollapse */\n\n    SelectMultipleControlValueAccessor.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Renderer2\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"]\n      }];\n    };\n\n    SelectMultipleControlValueAccessor.propDecorators = {\n      compareWith: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"]\n      }]\n    };\n\n    if (false) {}\n    /**\n     * \\@description\n     * Marks `<option>` as dynamic, so Angular can be notified when options change.\n     *\n     * @see `SelectMultipleControlValueAccessor`\n     *\n     * \\@ngModule ReactiveFormsModule\n     * \\@ngModule FormsModule\n     * \\@publicApi\n     */\n\n\n    var ɵNgSelectMultipleOption =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _element\n       * @param {?} _renderer\n       * @param {?} _select\n       */\n      function ɵNgSelectMultipleOption(_element, _renderer, _select) {\n        _classCallCheck(this, ɵNgSelectMultipleOption);\n\n        this._element = _element;\n        this._renderer = _renderer;\n        this._select = _select;\n\n        if (this._select) {\n          this.id = this._select._registerOption(this);\n        }\n      }\n      /**\n       * \\@description\n       * Tracks the value bound to the option element. Unlike the value binding,\n       * ngValue supports binding to objects.\n       * @param {?} value\n       * @return {?}\n       */\n\n\n      _createClass2(ɵNgSelectMultipleOption, [{\n        key: \"_setElementValue\",\n\n        /**\n         * \\@internal\n         * @param {?} value\n         * @return {?}\n         */\n        value: function _setElementValue(value) {\n          this._renderer.setProperty(this._element.nativeElement, 'value', value);\n        }\n        /**\n         * \\@internal\n         * @param {?} selected\n         * @return {?}\n         */\n\n      }, {\n        key: \"_setSelected\",\n        value: function _setSelected(selected) {\n          this._renderer.setProperty(this._element.nativeElement, 'selected', selected);\n        }\n        /**\n         * \\@description\n         * Lifecycle method called before the directive's instance is destroyed. For internal use only.\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          if (this._select) {\n            this._select._optionMap.delete(this.id);\n\n            this._select.writeValue(this._select.value);\n          }\n        }\n      }, {\n        key: \"ngValue\",\n        set: function set(value) {\n          if (this._select == null) return;\n          this._value = value;\n\n          this._setElementValue(_buildValueString$1(this.id, value));\n\n          this._select.writeValue(this._select.value);\n        }\n        /**\n         * \\@description\n         * Tracks simple string values bound to the option element.\n         * For objects, use the `ngValue` input binding.\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"value\",\n        set: function set(value) {\n          if (this._select) {\n            this._value = value;\n\n            this._setElementValue(_buildValueString$1(this.id, value));\n\n            this._select.writeValue(this._select.value);\n          } else {\n            this._setElementValue(value);\n          }\n        }\n      }]);\n\n      return ɵNgSelectMultipleOption;\n    }();\n\n    ɵNgSelectMultipleOption.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: 'option'\n      }]\n    }];\n    /** @nocollapse */\n\n    ɵNgSelectMultipleOption.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Renderer2\"]\n      }, {\n        type: SelectMultipleControlValueAccessor,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Host\"]\n        }]\n      }];\n    };\n\n    ɵNgSelectMultipleOption.propDecorators = {\n      ngValue: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"],\n        args: ['ngValue']\n      }],\n      value: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"],\n        args: ['value']\n      }]\n    };\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @param {?} name\n     * @param {?} parent\n     * @return {?}\n     */\n\n\n    function controlPath(name, parent) {\n      return [].concat(_toConsumableArray(\n      /** @type {?} */\n      parent.path), [name]);\n    }\n    /**\n     * @param {?} control\n     * @param {?} dir\n     * @return {?}\n     */\n\n\n    function setUpControl(control, dir) {\n      if (!control) _throwError(dir, 'Cannot find control with');\n      if (!dir.valueAccessor) _throwError(dir, 'No value accessor for form control with');\n      control.validator = Validators.compose([\n      /** @type {?} */\n      control.validator, dir.validator]);\n      control.asyncValidator = Validators.composeAsync([\n      /** @type {?} */\n      control.asyncValidator, dir.asyncValidator]);\n\n      /** @type {?} */\n      dir.valueAccessor.writeValue(control.value);\n      setUpViewChangePipeline(control, dir);\n      setUpModelChangePipeline(control, dir);\n      setUpBlurPipeline(control, dir);\n\n      if (\n      /** @type {?} */\n      dir.valueAccessor.setDisabledState) {\n        control.registerOnDisabledChange(\n        /**\n        * @param {?} isDisabled\n        * @return {?}\n        */\n        function (isDisabled) {\n          /** @type {?} */\n\n          /** @type {?} */\n          dir.valueAccessor.setDisabledState(isDisabled);\n        });\n      } // re-run validation when validator binding changes, e.g. minlength=3 -> minlength=4\n\n\n      dir._rawValidators.forEach(\n      /**\n      * @param {?} validator\n      * @return {?}\n      */\n      function (validator) {\n        if (\n        /** @type {?} */\n        validator.registerOnValidatorChange)\n        /** @type {?} */\n\n        /** @type {?} */\n        validator.registerOnValidatorChange(\n        /**\n        * @return {?}\n        */\n        function () {\n          return control.updateValueAndValidity();\n        });\n      });\n\n      dir._rawAsyncValidators.forEach(\n      /**\n      * @param {?} validator\n      * @return {?}\n      */\n      function (validator) {\n        if (\n        /** @type {?} */\n        validator.registerOnValidatorChange)\n        /** @type {?} */\n\n        /** @type {?} */\n        validator.registerOnValidatorChange(\n        /**\n        * @return {?}\n        */\n        function () {\n          return control.updateValueAndValidity();\n        });\n      });\n    }\n    /**\n     * @param {?} control\n     * @param {?} dir\n     * @return {?}\n     */\n\n\n    function cleanUpControl(control, dir) {\n      /** @type {?} */\n      dir.valueAccessor.registerOnChange(\n      /**\n      * @return {?}\n      */\n      function () {\n        return _noControlError(dir);\n      });\n\n      /** @type {?} */\n      dir.valueAccessor.registerOnTouched(\n      /**\n      * @return {?}\n      */\n      function () {\n        return _noControlError(dir);\n      });\n\n      dir._rawValidators.forEach(\n      /**\n      * @param {?} validator\n      * @return {?}\n      */\n      function (validator) {\n        if (validator.registerOnValidatorChange) {\n          validator.registerOnValidatorChange(null);\n        }\n      });\n\n      dir._rawAsyncValidators.forEach(\n      /**\n      * @param {?} validator\n      * @return {?}\n      */\n      function (validator) {\n        if (validator.registerOnValidatorChange) {\n          validator.registerOnValidatorChange(null);\n        }\n      });\n\n      if (control) control._clearChangeFns();\n    }\n    /**\n     * @param {?} control\n     * @param {?} dir\n     * @return {?}\n     */\n\n\n    function setUpViewChangePipeline(control, dir) {\n      /** @type {?} */\n      dir.valueAccessor.registerOnChange(\n      /**\n      * @param {?} newValue\n      * @return {?}\n      */\n      function (newValue) {\n        control._pendingValue = newValue;\n        control._pendingChange = true;\n        control._pendingDirty = true;\n        if (control.updateOn === 'change') updateControl(control, dir);\n      });\n    }\n    /**\n     * @param {?} control\n     * @param {?} dir\n     * @return {?}\n     */\n\n\n    function setUpBlurPipeline(control, dir) {\n      /** @type {?} */\n      dir.valueAccessor.registerOnTouched(\n      /**\n      * @return {?}\n      */\n      function () {\n        control._pendingTouched = true;\n        if (control.updateOn === 'blur' && control._pendingChange) updateControl(control, dir);\n        if (control.updateOn !== 'submit') control.markAsTouched();\n      });\n    }\n    /**\n     * @param {?} control\n     * @param {?} dir\n     * @return {?}\n     */\n\n\n    function updateControl(control, dir) {\n      if (control._pendingDirty) control.markAsDirty();\n      control.setValue(control._pendingValue, {\n        emitModelToViewChange: false\n      });\n      dir.viewToModelUpdate(control._pendingValue);\n      control._pendingChange = false;\n    }\n    /**\n     * @param {?} control\n     * @param {?} dir\n     * @return {?}\n     */\n\n\n    function setUpModelChangePipeline(control, dir) {\n      control.registerOnChange(\n      /**\n      * @param {?} newValue\n      * @param {?} emitModelEvent\n      * @return {?}\n      */\n      function (newValue, emitModelEvent) {\n        // control -> view\n\n        /** @type {?} */\n        dir.valueAccessor.writeValue(newValue); // control -> ngModel\n\n        if (emitModelEvent) dir.viewToModelUpdate(newValue);\n      });\n    }\n    /**\n     * @param {?} control\n     * @param {?} dir\n     * @return {?}\n     */\n\n\n    function setUpFormContainer(control, dir) {\n      if (control == null) _throwError(dir, 'Cannot find control with');\n      control.validator = Validators.compose([control.validator, dir.validator]);\n      control.asyncValidator = Validators.composeAsync([control.asyncValidator, dir.asyncValidator]);\n    }\n    /**\n     * @param {?} dir\n     * @return {?}\n     */\n\n\n    function _noControlError(dir) {\n      return _throwError(dir, 'There is no FormControl instance attached to form control element with');\n    }\n    /**\n     * @param {?} dir\n     * @param {?} message\n     * @return {?}\n     */\n\n\n    function _throwError(dir, message) {\n      /** @type {?} */\n      var messageEnd;\n\n      if (\n      /** @type {?} */\n      dir.path.length > 1) {\n        messageEnd = \"path: '\".concat(\n        /** @type {?} */\n        dir.path.join(' -> '), \"'\");\n      } else if (\n      /** @type {?} */\n      dir.path[0]) {\n        messageEnd = \"name: '\".concat(dir.path, \"'\");\n      } else {\n        messageEnd = 'unspecified name attribute';\n      }\n\n      throw new Error(\"\".concat(message, \" \").concat(messageEnd));\n    }\n    /**\n     * @param {?} validators\n     * @return {?}\n     */\n\n\n    function composeValidators(validators) {\n      return validators != null ? Validators.compose(validators.map(normalizeValidator)) : null;\n    }\n    /**\n     * @param {?} validators\n     * @return {?}\n     */\n\n\n    function composeAsyncValidators(validators) {\n      return validators != null ? Validators.composeAsync(validators.map(normalizeAsyncValidator)) : null;\n    }\n    /**\n     * @param {?} changes\n     * @param {?} viewModel\n     * @return {?}\n     */\n\n\n    function isPropertyUpdated(changes, viewModel) {\n      if (!changes.hasOwnProperty('model')) return false;\n      /** @type {?} */\n\n      var change = changes['model'];\n      if (change.isFirstChange()) return true;\n      return !Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵlooseIdentical\"])(viewModel, change.currentValue);\n    }\n    /** @type {?} */\n\n\n    var BUILTIN_ACCESSORS = [CheckboxControlValueAccessor, RangeValueAccessor, NumberValueAccessor, SelectControlValueAccessor, SelectMultipleControlValueAccessor, RadioControlValueAccessor];\n    /**\n     * @param {?} valueAccessor\n     * @return {?}\n     */\n\n    function isBuiltInAccessor(valueAccessor) {\n      return BUILTIN_ACCESSORS.some(\n      /**\n      * @param {?} a\n      * @return {?}\n      */\n      function (a) {\n        return valueAccessor.constructor === a;\n      });\n    }\n    /**\n     * @param {?} form\n     * @param {?} directives\n     * @return {?}\n     */\n\n\n    function syncPendingControls(form, directives) {\n      form._syncPendingControls();\n\n      directives.forEach(\n      /**\n      * @param {?} dir\n      * @return {?}\n      */\n      function (dir) {\n        /** @type {?} */\n        var control =\n        /** @type {?} */\n        dir.control;\n\n        if (control.updateOn === 'submit' && control._pendingChange) {\n          dir.viewToModelUpdate(control._pendingValue);\n          control._pendingChange = false;\n        }\n      });\n    } // TODO: vsavkin remove it once https://github.com/angular/angular/issues/3011 is implemented\n\n    /**\n     * @param {?} dir\n     * @param {?} valueAccessors\n     * @return {?}\n     */\n\n\n    function selectValueAccessor(dir, valueAccessors) {\n      if (!valueAccessors) return null;\n      if (!Array.isArray(valueAccessors)) _throwError(dir, 'Value accessor was not provided as an array for form control with');\n      /** @type {?} */\n\n      var defaultAccessor = undefined;\n      /** @type {?} */\n\n      var builtinAccessor = undefined;\n      /** @type {?} */\n\n      var customAccessor = undefined;\n      valueAccessors.forEach(\n      /**\n      * @param {?} v\n      * @return {?}\n      */\n      function (v) {\n        if (v.constructor === DefaultValueAccessor) {\n          defaultAccessor = v;\n        } else if (isBuiltInAccessor(v)) {\n          if (builtinAccessor) _throwError(dir, 'More than one built-in value accessor matches form control with');\n          builtinAccessor = v;\n        } else {\n          if (customAccessor) _throwError(dir, 'More than one custom value accessor matches form control with');\n          customAccessor = v;\n        }\n      });\n      if (customAccessor) return customAccessor;\n      if (builtinAccessor) return builtinAccessor;\n      if (defaultAccessor) return defaultAccessor;\n\n      _throwError(dir, 'No valid value accessor for form control with');\n\n      return null;\n    }\n    /**\n     * @template T\n     * @param {?} list\n     * @param {?} el\n     * @return {?}\n     */\n\n\n    function removeDir(list, el) {\n      /** @type {?} */\n      var index = list.indexOf(el);\n      if (index > -1) list.splice(index, 1);\n    } // TODO(kara): remove after deprecation period\n\n    /**\n     * @param {?} name\n     * @param {?} type\n     * @param {?} instance\n     * @param {?} warningConfig\n     * @return {?}\n     */\n\n\n    function _ngModelWarning(name, type, instance, warningConfig) {\n      if (!Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"isDevMode\"])() || warningConfig === 'never') return;\n\n      if ((warningConfig === null || warningConfig === 'once') && !type._ngModelWarningSentOnce || warningConfig === 'always' && !instance._ngModelWarningSent) {\n        ReactiveErrors.ngModelWarning(name);\n        type._ngModelWarningSentOnce = true;\n        instance._ngModelWarningSent = true;\n      }\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Reports that a FormControl is valid, meaning that no errors exist in the input value.\n     *\n     * @see `status`\n     * @type {?}\n     */\n\n\n    var VALID = 'VALID';\n    /**\n     * Reports that a FormControl is invalid, meaning that an error exists in the input value.\n     *\n     * @see `status`\n     * @type {?}\n     */\n\n    var INVALID = 'INVALID';\n    /**\n     * Reports that a FormControl is pending, meaning that that async validation is occurring and\n     * errors are not yet available for the input value.\n     *\n     * @see `markAsPending`\n     * @see `status`\n     * @type {?}\n     */\n\n    var PENDING = 'PENDING';\n    /**\n     * Reports that a FormControl is disabled, meaning that the control is exempt from ancestor\n     * calculations of validity or value.\n     *\n     * @see `markAsDisabled`\n     * @see `status`\n     * @type {?}\n     */\n\n    var DISABLED = 'DISABLED';\n    /**\n     * @param {?} control\n     * @param {?} path\n     * @param {?} delimiter\n     * @return {?}\n     */\n\n    function _find(control, path, delimiter) {\n      if (path == null) return null;\n\n      if (!(path instanceof Array)) {\n        path =\n        /** @type {?} */\n        path.split(delimiter);\n      }\n\n      if (path instanceof Array && path.length === 0) return null;\n      return (\n        /** @type {?} */\n        path.reduce(\n        /**\n        * @param {?} v\n        * @param {?} name\n        * @return {?}\n        */\n        function (v, name) {\n          if (v instanceof FormGroup) {\n            return v.controls.hasOwnProperty(\n            /** @type {?} */\n            name) ? v.controls[name] : null;\n          }\n\n          if (v instanceof FormArray) {\n            return v.at(\n            /** @type {?} */\n            name) || null;\n          }\n\n          return null;\n        }, control)\n      );\n    }\n    /**\n     * @param {?=} validatorOrOpts\n     * @return {?}\n     */\n\n\n    function coerceToValidator(validatorOrOpts) {\n      /** @type {?} */\n      var validator =\n      /** @type {?} */\n      isOptionsObj(validatorOrOpts) ?\n      /** @type {?} */\n      validatorOrOpts.validators : validatorOrOpts;\n      return Array.isArray(validator) ? composeValidators(validator) : validator || null;\n    }\n    /**\n     * @param {?=} asyncValidator\n     * @param {?=} validatorOrOpts\n     * @return {?}\n     */\n\n\n    function coerceToAsyncValidator(asyncValidator, validatorOrOpts) {\n      /** @type {?} */\n      var origAsyncValidator =\n      /** @type {?} */\n      isOptionsObj(validatorOrOpts) ?\n      /** @type {?} */\n      validatorOrOpts.asyncValidators : asyncValidator;\n      return Array.isArray(origAsyncValidator) ? composeAsyncValidators(origAsyncValidator) : origAsyncValidator || null;\n    }\n    /**\n     * Interface for options provided to an `AbstractControl`.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n\n    function AbstractControlOptions() {}\n\n    if (false) {}\n    /**\n     * @param {?=} validatorOrOpts\n     * @return {?}\n     */\n\n\n    function isOptionsObj(validatorOrOpts) {\n      return validatorOrOpts != null && !Array.isArray(validatorOrOpts) && typeof validatorOrOpts === 'object';\n    }\n    /**\n     * This is the base class for `FormControl`, `FormGroup`, and `FormArray`.\n     *\n     * It provides some of the shared behavior that all controls and groups of controls have, like\n     * running validators, calculating status, and resetting state. It also defines the properties\n     * that are shared between all sub-classes, like `value`, `valid`, and `dirty`. It shouldn't be\n     * instantiated directly.\n     *\n     * @see [Forms Guide](/guide/forms)\n     * @see [Reactive Forms Guide](/guide/reactive-forms)\n     * @see [Dynamic Forms Guide](/guide/dynamic-form)\n     *\n     * \\@publicApi\n     * @abstract\n     */\n\n\n    var AbstractControl =\n    /*#__PURE__*/\n    function () {\n      /**\n       * Initialize the AbstractControl instance.\n       *\n       * @param {?} validator The function that determines the synchronous validity of this control.\n       * @param {?} asyncValidator The function that determines the asynchronous validity of this\n       * control.\n       */\n      function AbstractControl(validator, asyncValidator) {\n        _classCallCheck(this, AbstractControl);\n\n        this.validator = validator;\n        this.asyncValidator = asyncValidator;\n        /**\n         * \\@internal\n         */\n\n        this._onCollectionChange =\n        /**\n        * @return {?}\n        */\n        function () {};\n        /**\n         * A control is `pristine` if the user has not yet changed\n         * the value in the UI.\n         *\n         * @return True if the user has not yet changed the value in the UI; compare `dirty`.\n         * Programmatic changes to a control's value do not mark it dirty.\n         */\n\n\n        this.pristine = true;\n        /**\n         * True if the control is marked as `touched`.\n         *\n         * A control is marked `touched` once the user has triggered\n         * a `blur` event on it.\n         */\n\n        this.touched = false;\n        /**\n         * \\@internal\n         */\n\n        this._onDisabledChange = [];\n      }\n      /**\n       * The parent control.\n       * @return {?}\n       */\n\n\n      _createClass2(AbstractControl, [{\n        key: \"setValidators\",\n\n        /**\n         * Sets the synchronous validators that are active on this control.  Calling\n         * this overwrites any existing sync validators.\n         *\n         * When you add or remove a validator at run time, you must call\n         * `updateValueAndValidity()` for the new validation to take effect.\n         *\n         * @param {?} newValidator\n         * @return {?}\n         */\n        value: function setValidators(newValidator) {\n          this.validator = coerceToValidator(newValidator);\n        }\n        /**\n         * Sets the async validators that are active on this control. Calling this\n         * overwrites any existing async validators.\n         *\n         * When you add or remove a validator at run time, you must call\n         * `updateValueAndValidity()` for the new validation to take effect.\n         *\n         * @param {?} newValidator\n         * @return {?}\n         */\n\n      }, {\n        key: \"setAsyncValidators\",\n        value: function setAsyncValidators(newValidator) {\n          this.asyncValidator = coerceToAsyncValidator(newValidator);\n        }\n        /**\n         * Empties out the sync validator list.\n         *\n         * When you add or remove a validator at run time, you must call\n         * `updateValueAndValidity()` for the new validation to take effect.\n         *\n         * @return {?}\n         */\n\n      }, {\n        key: \"clearValidators\",\n        value: function clearValidators() {\n          this.validator = null;\n        }\n        /**\n         * Empties out the async validator list.\n         *\n         * When you add or remove a validator at run time, you must call\n         * `updateValueAndValidity()` for the new validation to take effect.\n         *\n         * @return {?}\n         */\n\n      }, {\n        key: \"clearAsyncValidators\",\n        value: function clearAsyncValidators() {\n          this.asyncValidator = null;\n        }\n        /**\n         * Marks the control as `touched`. A control is touched by focus and\n         * blur events that do not change the value.\n         *\n         * @see `markAsUntouched()` / `markAsDirty()` / `markAsPristine()`\n         *\n         * @param {?=} opts Configuration options that determine how the control propagates changes\n         * and emits events events after marking is applied.\n         * * `onlySelf`: When true, mark only this control. When false or not supplied,\n         * marks all direct ancestors. Default is false.\n         * @return {?}\n         */\n\n      }, {\n        key: \"markAsTouched\",\n        value: function markAsTouched() {\n          var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n          /** @type {?} */\n          this.touched = true;\n\n          if (this._parent && !opts.onlySelf) {\n            this._parent.markAsTouched(opts);\n          }\n        }\n        /**\n         * Marks the control and all its descendant controls as `touched`.\n         * @see `markAsTouched()`\n         * @return {?}\n         */\n\n      }, {\n        key: \"markAllAsTouched\",\n        value: function markAllAsTouched() {\n          this.markAsTouched({\n            onlySelf: true\n          });\n\n          this._forEachChild(\n          /**\n          * @param {?} control\n          * @return {?}\n          */\n          function (control) {\n            return control.markAllAsTouched();\n          });\n        }\n        /**\n         * Marks the control as `untouched`.\n         *\n         * If the control has any children, also marks all children as `untouched`\n         * and recalculates the `touched` status of all parent controls.\n         *\n         * @see `markAsTouched()` / `markAsDirty()` / `markAsPristine()`\n         *\n         * @param {?=} opts Configuration options that determine how the control propagates changes\n         * and emits events after the marking is applied.\n         * * `onlySelf`: When true, mark only this control. When false or not supplied,\n         * marks all direct ancestors. Default is false.\n         * @return {?}\n         */\n\n      }, {\n        key: \"markAsUntouched\",\n        value: function markAsUntouched() {\n          var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n          /** @type {?} */\n          this.touched = false;\n          this._pendingTouched = false;\n\n          this._forEachChild(\n          /**\n          * @param {?} control\n          * @return {?}\n          */\n          function (control) {\n            control.markAsUntouched({\n              onlySelf: true\n            });\n          });\n\n          if (this._parent && !opts.onlySelf) {\n            this._parent._updateTouched(opts);\n          }\n        }\n        /**\n         * Marks the control as `dirty`. A control becomes dirty when\n         * the control's value is changed through the UI; compare `markAsTouched`.\n         *\n         * @see `markAsTouched()` / `markAsUntouched()` / `markAsPristine()`\n         *\n         * @param {?=} opts Configuration options that determine how the control propagates changes\n         * and emits events after marking is applied.\n         * * `onlySelf`: When true, mark only this control. When false or not supplied,\n         * marks all direct ancestors. Default is false.\n         * @return {?}\n         */\n\n      }, {\n        key: \"markAsDirty\",\n        value: function markAsDirty() {\n          var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n          /** @type {?} */\n          this.pristine = false;\n\n          if (this._parent && !opts.onlySelf) {\n            this._parent.markAsDirty(opts);\n          }\n        }\n        /**\n         * Marks the control as `pristine`.\n         *\n         * If the control has any children, marks all children as `pristine`,\n         * and recalculates the `pristine` status of all parent\n         * controls.\n         *\n         * @see `markAsTouched()` / `markAsUntouched()` / `markAsDirty()`\n         *\n         * @param {?=} opts Configuration options that determine how the control emits events after\n         * marking is applied.\n         * * `onlySelf`: When true, mark only this control. When false or not supplied,\n         * marks all direct ancestors. Default is false..\n         * @return {?}\n         */\n\n      }, {\n        key: \"markAsPristine\",\n        value: function markAsPristine() {\n          var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n          /** @type {?} */\n          this.pristine = true;\n          this._pendingDirty = false;\n\n          this._forEachChild(\n          /**\n          * @param {?} control\n          * @return {?}\n          */\n          function (control) {\n            control.markAsPristine({\n              onlySelf: true\n            });\n          });\n\n          if (this._parent && !opts.onlySelf) {\n            this._parent._updatePristine(opts);\n          }\n        }\n        /**\n         * Marks the control as `pending`.\n         *\n         * A control is pending while the control performs async validation.\n         *\n         * @see {\\@link AbstractControl.status}\n         *\n         * @param {?=} opts Configuration options that determine how the control propagates changes and\n         * emits events after marking is applied.\n         * * `onlySelf`: When true, mark only this control. When false or not supplied,\n         * marks all direct ancestors. Default is false..\n         * * `emitEvent`: When true or not supplied (the default), the `statusChanges`\n         * observable emits an event with the latest status the control is marked pending.\n         * When false, no events are emitted.\n         *\n         * @return {?}\n         */\n\n      }, {\n        key: \"markAsPending\",\n        value: function markAsPending() {\n          var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n          /** @type {?} */\n          this.status = PENDING;\n\n          if (opts.emitEvent !== false) {\n            /** @type {?} */\n            this.statusChanges.emit(this.status);\n          }\n\n          if (this._parent && !opts.onlySelf) {\n            this._parent.markAsPending(opts);\n          }\n        }\n        /**\n         * Disables the control. This means the control is exempt from validation checks and\n         * excluded from the aggregate value of any parent. Its status is `DISABLED`.\n         *\n         * If the control has children, all children are also disabled.\n         *\n         * @see {\\@link AbstractControl.status}\n         *\n         * @param {?=} opts Configuration options that determine how the control propagates\n         * changes and emits events after the control is disabled.\n         * * `onlySelf`: When true, mark only this control. When false or not supplied,\n         * marks all direct ancestors. Default is false..\n         * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n         * `valueChanges`\n         * observables emit events with the latest status and value when the control is disabled.\n         * When false, no events are emitted.\n         * @return {?}\n         */\n\n      }, {\n        key: \"disable\",\n        value: function disable() {\n          var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n          // If parent has been marked artificially dirty we don't want to re-calculate the\n          // parent's dirtiness based on the children.\n\n          /** @type {?} */\n          var skipPristineCheck = this._parentMarkedDirty(opts.onlySelf);\n\n          /** @type {?} */\n          this.status = DISABLED;\n\n          /** @type {?} */\n          this.errors = null;\n\n          this._forEachChild(\n          /**\n          * @param {?} control\n          * @return {?}\n          */\n          function (control) {\n            control.disable(Object.assign({}, opts, {\n              onlySelf: true\n            }));\n          });\n\n          this._updateValue();\n\n          if (opts.emitEvent !== false) {\n            /** @type {?} */\n            this.valueChanges.emit(this.value);\n\n            /** @type {?} */\n            this.statusChanges.emit(this.status);\n          }\n\n          this._updateAncestors(Object.assign({}, opts, {\n            skipPristineCheck: skipPristineCheck\n          }));\n\n          this._onDisabledChange.forEach(\n          /**\n          * @param {?} changeFn\n          * @return {?}\n          */\n          function (changeFn) {\n            return changeFn(true);\n          });\n        }\n        /**\n         * Enables the control. This means the control is included in validation checks and\n         * the aggregate value of its parent. Its status recalculates based on its value and\n         * its validators.\n         *\n         * By default, if the control has children, all children are enabled.\n         *\n         * @see {\\@link AbstractControl.status}\n         *\n         * @param {?=} opts Configure options that control how the control propagates changes and\n         * emits events when marked as untouched\n         * * `onlySelf`: When true, mark only this control. When false or not supplied,\n         * marks all direct ancestors. Default is false..\n         * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n         * `valueChanges`\n         * observables emit events with the latest status and value when the control is enabled.\n         * When false, no events are emitted.\n         * @return {?}\n         */\n\n      }, {\n        key: \"enable\",\n        value: function enable() {\n          var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n          // If parent has been marked artificially dirty we don't want to re-calculate the\n          // parent's dirtiness based on the children.\n\n          /** @type {?} */\n          var skipPristineCheck = this._parentMarkedDirty(opts.onlySelf);\n\n          /** @type {?} */\n          this.status = VALID;\n\n          this._forEachChild(\n          /**\n          * @param {?} control\n          * @return {?}\n          */\n          function (control) {\n            control.enable(Object.assign({}, opts, {\n              onlySelf: true\n            }));\n          });\n\n          this.updateValueAndValidity({\n            onlySelf: true,\n            emitEvent: opts.emitEvent\n          });\n\n          this._updateAncestors(Object.assign({}, opts, {\n            skipPristineCheck: skipPristineCheck\n          }));\n\n          this._onDisabledChange.forEach(\n          /**\n          * @param {?} changeFn\n          * @return {?}\n          */\n          function (changeFn) {\n            return changeFn(false);\n          });\n        }\n        /**\n         * @private\n         * @param {?} opts\n         * @return {?}\n         */\n\n      }, {\n        key: \"_updateAncestors\",\n        value: function _updateAncestors(opts) {\n          if (this._parent && !opts.onlySelf) {\n            this._parent.updateValueAndValidity(opts);\n\n            if (!opts.skipPristineCheck) {\n              this._parent._updatePristine();\n            }\n\n            this._parent._updateTouched();\n          }\n        }\n        /**\n         * @param {?} parent Sets the parent of the control\n         * @return {?}\n         */\n\n      }, {\n        key: \"setParent\",\n        value: function setParent(parent) {\n          this._parent = parent;\n        }\n        /**\n         * Recalculates the value and validation status of the control.\n         *\n         * By default, it also updates the value and validity of its ancestors.\n         *\n         * @param {?=} opts Configuration options determine how the control propagates changes and emits events\n         * after updates and validity checks are applied.\n         * * `onlySelf`: When true, only update this control. When false or not supplied,\n         * update all direct ancestors. Default is false..\n         * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n         * `valueChanges`\n         * observables emit events with the latest status and value when the control is updated.\n         * When false, no events are emitted.\n         * @return {?}\n         */\n\n      }, {\n        key: \"updateValueAndValidity\",\n        value: function updateValueAndValidity() {\n          var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n          this._setInitialStatus();\n\n          this._updateValue();\n\n          if (this.enabled) {\n            this._cancelExistingSubscription();\n\n            /** @type {?} */\n            this.errors = this._runValidator();\n\n            /** @type {?} */\n            this.status = this._calculateStatus();\n\n            if (this.status === VALID || this.status === PENDING) {\n              this._runAsyncValidator(opts.emitEvent);\n            }\n          }\n\n          if (opts.emitEvent !== false) {\n            /** @type {?} */\n            this.valueChanges.emit(this.value);\n\n            /** @type {?} */\n            this.statusChanges.emit(this.status);\n          }\n\n          if (this._parent && !opts.onlySelf) {\n            this._parent.updateValueAndValidity(opts);\n          }\n        }\n        /**\n         * \\@internal\n         * @param {?=} opts\n         * @return {?}\n         */\n\n      }, {\n        key: \"_updateTreeValidity\",\n        value: function _updateTreeValidity() {\n          var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {\n            emitEvent: true\n          };\n\n          this._forEachChild(\n          /**\n          * @param {?} ctrl\n          * @return {?}\n          */\n          function (ctrl) {\n            return ctrl._updateTreeValidity(opts);\n          });\n\n          this.updateValueAndValidity({\n            onlySelf: true,\n            emitEvent: opts.emitEvent\n          });\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_setInitialStatus\",\n        value: function _setInitialStatus() {\n          /** @type {?} */\n          this.status = this._allControlsDisabled() ? DISABLED : VALID;\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_runValidator\",\n        value: function _runValidator() {\n          return this.validator ? this.validator(this) : null;\n        }\n        /**\n         * @private\n         * @param {?=} emitEvent\n         * @return {?}\n         */\n\n      }, {\n        key: \"_runAsyncValidator\",\n        value: function _runAsyncValidator(emitEvent) {\n          var _this556 = this;\n\n          if (this.asyncValidator) {\n            /** @type {?} */\n            this.status = PENDING;\n            /** @type {?} */\n\n            var obs = toObservable(this.asyncValidator(this));\n            this._asyncValidationSubscription = obs.subscribe(\n            /**\n            * @param {?} errors\n            * @return {?}\n            */\n            function (errors) {\n              return _this556.setErrors(errors, {\n                emitEvent: emitEvent\n              });\n            });\n          }\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_cancelExistingSubscription\",\n        value: function _cancelExistingSubscription() {\n          if (this._asyncValidationSubscription) {\n            this._asyncValidationSubscription.unsubscribe();\n          }\n        }\n        /**\n         * Sets errors on a form control when running validations manually, rather than automatically.\n         *\n         * Calling `setErrors` also updates the validity of the parent control.\n         *\n         * \\@usageNotes\n         * ### Manually set the errors for a control\n         *\n         * ```\n         * const login = new FormControl('someLogin');\n         * login.setErrors({\n         *   notUnique: true\n         * });\n         *\n         * expect(login.valid).toEqual(false);\n         * expect(login.errors).toEqual({ notUnique: true });\n         *\n         * login.setValue('someOtherLogin');\n         *\n         * expect(login.valid).toEqual(true);\n         * ```\n         * @param {?} errors\n         * @param {?=} opts\n         * @return {?}\n         */\n\n      }, {\n        key: \"setErrors\",\n        value: function setErrors(errors) {\n          var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n          /** @type {?} */\n          this.errors = errors;\n\n          this._updateControlsErrors(opts.emitEvent !== false);\n        }\n        /**\n         * Retrieves a child control given the control's name or path.\n         *\n         * \\@usageNotes\n         * ### Retrieve a nested control\n         *\n         * For example, to get a `name` control nested within a `person` sub-group:\n         *\n         * * `this.form.get('person.name');`\n         *\n         * -OR-\n         *\n         * * `this.form.get(['person', 'name']);`\n         * @param {?} path A dot-delimited string or array of string/number values that define the path to the\n         * control.\n         *\n         * @return {?}\n         */\n\n      }, {\n        key: \"get\",\n        value: function get(path) {\n          return _find(this, path, '.');\n        }\n        /**\n         * \\@description\n         * Reports error data for the control with the given path.\n         *\n         * \\@usageNotes\n         * For example, for the following `FormGroup`:\n         *\n         * ```\n         * form = new FormGroup({\n         *   address: new FormGroup({ street: new FormControl() })\n         * });\n         * ```\n         *\n         * The path to the 'street' control from the root form would be 'address' -> 'street'.\n         *\n         * It can be provided to this method in one of two formats:\n         *\n         * 1. An array of string control names, e.g. `['address', 'street']`\n         * 1. A period-delimited list of control names in one string, e.g. `'address.street'`\n         *\n         * @param {?} errorCode The code of the error to check\n         * @param {?=} path A list of control names that designates how to move from the current control\n         * to the control that should be queried for errors.\n         *\n         * @return {?} error data for that particular error. If the control or error is not present,\n         * null is returned.\n         */\n\n      }, {\n        key: \"getError\",\n        value: function getError(errorCode, path) {\n          /** @type {?} */\n          var control = path ? this.get(path) : this;\n          return control && control.errors ? control.errors[errorCode] : null;\n        }\n        /**\n         * \\@description\n         * Reports whether the control with the given path has the error specified.\n         *\n         * \\@usageNotes\n         * For example, for the following `FormGroup`:\n         *\n         * ```\n         * form = new FormGroup({\n         *   address: new FormGroup({ street: new FormControl() })\n         * });\n         * ```\n         *\n         * The path to the 'street' control from the root form would be 'address' -> 'street'.\n         *\n         * It can be provided to this method in one of two formats:\n         *\n         * 1. An array of string control names, e.g. `['address', 'street']`\n         * 1. A period-delimited list of control names in one string, e.g. `'address.street'`\n         *\n         * If no path is given, this method checks for the error on the current control.\n         *\n         * @param {?} errorCode The code of the error to check\n         * @param {?=} path A list of control names that designates how to move from the current control\n         * to the control that should be queried for errors.\n         *\n         * @return {?} whether the given error is present in the control at the given path.\n         *\n         * If the control is not present, false is returned.\n         */\n\n      }, {\n        key: \"hasError\",\n        value: function hasError(errorCode, path) {\n          return !!this.getError(errorCode, path);\n        }\n        /**\n         * Retrieves the top-level ancestor of this control.\n         * @return {?}\n         */\n\n      }, {\n        key: \"_updateControlsErrors\",\n\n        /**\n         * \\@internal\n         * @param {?} emitEvent\n         * @return {?}\n         */\n        value: function _updateControlsErrors(emitEvent) {\n          /** @type {?} */\n          this.status = this._calculateStatus();\n\n          if (emitEvent) {\n            /** @type {?} */\n            this.statusChanges.emit(this.status);\n          }\n\n          if (this._parent) {\n            this._parent._updateControlsErrors(emitEvent);\n          }\n        }\n        /**\n         * \\@internal\n         * @return {?}\n         */\n\n      }, {\n        key: \"_initObservables\",\n        value: function _initObservables() {\n          /** @type {?} */\n          this.valueChanges = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"EventEmitter\"]();\n\n          /** @type {?} */\n          this.statusChanges = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"EventEmitter\"]();\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_calculateStatus\",\n        value: function _calculateStatus() {\n          if (this._allControlsDisabled()) return DISABLED;\n          if (this.errors) return INVALID;\n          if (this._anyControlsHaveStatus(PENDING)) return PENDING;\n          if (this._anyControlsHaveStatus(INVALID)) return INVALID;\n          return VALID;\n        }\n        /**\n         * \\@internal\n         * @param {?} status\n         * @return {?}\n         */\n\n      }, {\n        key: \"_anyControlsHaveStatus\",\n        value: function _anyControlsHaveStatus(status) {\n          return this._anyControls(\n          /**\n          * @param {?} control\n          * @return {?}\n          */\n          function (control) {\n            return control.status === status;\n          });\n        }\n        /**\n         * \\@internal\n         * @return {?}\n         */\n\n      }, {\n        key: \"_anyControlsDirty\",\n        value: function _anyControlsDirty() {\n          return this._anyControls(\n          /**\n          * @param {?} control\n          * @return {?}\n          */\n          function (control) {\n            return control.dirty;\n          });\n        }\n        /**\n         * \\@internal\n         * @return {?}\n         */\n\n      }, {\n        key: \"_anyControlsTouched\",\n        value: function _anyControlsTouched() {\n          return this._anyControls(\n          /**\n          * @param {?} control\n          * @return {?}\n          */\n          function (control) {\n            return control.touched;\n          });\n        }\n        /**\n         * \\@internal\n         * @param {?=} opts\n         * @return {?}\n         */\n\n      }, {\n        key: \"_updatePristine\",\n        value: function _updatePristine() {\n          var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n          /** @type {?} */\n          this.pristine = !this._anyControlsDirty();\n\n          if (this._parent && !opts.onlySelf) {\n            this._parent._updatePristine(opts);\n          }\n        }\n        /**\n         * \\@internal\n         * @param {?=} opts\n         * @return {?}\n         */\n\n      }, {\n        key: \"_updateTouched\",\n        value: function _updateTouched() {\n          var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n          /** @type {?} */\n          this.touched = this._anyControlsTouched();\n\n          if (this._parent && !opts.onlySelf) {\n            this._parent._updateTouched(opts);\n          }\n        }\n        /**\n         * \\@internal\n         * @param {?} formState\n         * @return {?}\n         */\n\n      }, {\n        key: \"_isBoxedValue\",\n        value: function _isBoxedValue(formState) {\n          return typeof formState === 'object' && formState !== null && Object.keys(formState).length === 2 && 'value' in formState && 'disabled' in formState;\n        }\n        /**\n         * \\@internal\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"_registerOnCollectionChange\",\n        value: function _registerOnCollectionChange(fn) {\n          this._onCollectionChange = fn;\n        }\n        /**\n         * \\@internal\n         * @param {?=} opts\n         * @return {?}\n         */\n\n      }, {\n        key: \"_setUpdateStrategy\",\n        value: function _setUpdateStrategy(opts) {\n          if (isOptionsObj(opts) &&\n          /** @type {?} */\n          opts.updateOn != null) {\n            this._updateOn =\n            /** @type {?} */\n\n            /** @type {?} */\n            opts.updateOn;\n          }\n        }\n        /**\n         * Check to see if parent has been marked artificially dirty.\n         *\n         * \\@internal\n         * @private\n         * @param {?=} onlySelf\n         * @return {?}\n         */\n\n      }, {\n        key: \"_parentMarkedDirty\",\n        value: function _parentMarkedDirty(onlySelf) {\n          /** @type {?} */\n          var parentDirty = this._parent && this._parent.dirty;\n          return !onlySelf && parentDirty && !this._parent._anyControlsDirty();\n        }\n      }, {\n        key: \"parent\",\n        get: function get() {\n          return this._parent;\n        }\n        /**\n         * A control is `valid` when its `status` is `VALID`.\n         *\n         * @see {\\@link AbstractControl.status}\n         *\n         * @return {?} True if the control has passed all of its validation tests,\n         * false otherwise.\n         */\n\n      }, {\n        key: \"valid\",\n        get: function get() {\n          return this.status === VALID;\n        }\n        /**\n         * A control is `invalid` when its `status` is `INVALID`.\n         *\n         * @see {\\@link AbstractControl.status}\n         *\n         * @return {?} True if this control has failed one or more of its validation checks,\n         * false otherwise.\n         */\n\n      }, {\n        key: \"invalid\",\n        get: function get() {\n          return this.status === INVALID;\n        }\n        /**\n         * A control is `pending` when its `status` is `PENDING`.\n         *\n         * @see {\\@link AbstractControl.status}\n         *\n         * @return {?} True if this control is in the process of conducting a validation check,\n         * false otherwise.\n         */\n\n      }, {\n        key: \"pending\",\n        get: function get() {\n          return this.status == PENDING;\n        }\n        /**\n         * A control is `disabled` when its `status` is `DISABLED`.\n         *\n         * Disabled controls are exempt from validation checks and\n         * are not included in the aggregate value of their ancestor\n         * controls.\n         *\n         * @see {\\@link AbstractControl.status}\n         *\n         * @return {?} True if the control is disabled, false otherwise.\n         */\n\n      }, {\n        key: \"disabled\",\n        get: function get() {\n          return this.status === DISABLED;\n        }\n        /**\n         * A control is `enabled` as long as its `status` is not `DISABLED`.\n         *\n         * @see {\\@link AbstractControl.status}\n         *\n         * @return {?} True if the control has any status other than 'DISABLED',\n         * false if the status is 'DISABLED'.\n         *\n         */\n\n      }, {\n        key: \"enabled\",\n        get: function get() {\n          return this.status !== DISABLED;\n        }\n        /**\n         * A control is `dirty` if the user has changed the value\n         * in the UI.\n         *\n         * @return {?} True if the user has changed the value of this control in the UI; compare `pristine`.\n         * Programmatic changes to a control's value do not mark it dirty.\n         */\n\n      }, {\n        key: \"dirty\",\n        get: function get() {\n          return !this.pristine;\n        }\n        /**\n         * True if the control has not been marked as touched\n         *\n         * A control is `untouched` if the user has not yet triggered\n         * a `blur` event on it.\n         * @return {?}\n         */\n\n      }, {\n        key: \"untouched\",\n        get: function get() {\n          return !this.touched;\n        }\n        /**\n         * Reports the update strategy of the `AbstractControl` (meaning\n         * the event on which the control updates itself).\n         * Possible values: `'change'` | `'blur'` | `'submit'`\n         * Default value: `'change'`\n         * @return {?}\n         */\n\n      }, {\n        key: \"updateOn\",\n        get: function get() {\n          return this._updateOn ? this._updateOn : this.parent ? this.parent.updateOn : 'change';\n        }\n      }, {\n        key: \"root\",\n        get: function get() {\n          /** @type {?} */\n          var x = this;\n\n          while (x._parent) {\n            x = x._parent;\n          }\n\n          return x;\n        }\n      }]);\n\n      return AbstractControl;\n    }();\n\n    if (false) {}\n    /**\n     * Tracks the value and validation status of an individual form control.\n     *\n     * This is one of the three fundamental building blocks of Angular forms, along with\n     * `FormGroup` and `FormArray`. It extends the `AbstractControl` class that\n     * implements most of the base functionality for accessing the value, validation status,\n     * user interactions and events.\n     *\n     * @see `AbstractControl`\n     * @see [Reactive Forms Guide](guide/reactive-forms)\n     * @see [Usage Notes](#usage-notes)\n     *\n     * \\@usageNotes\n     *\n     * ### Initializing Form Controls\n     *\n     * Instantiate a `FormControl`, with an initial value.\n     *\n     * ```ts\n     * const control = new FormControl('some value');\n     * console.log(control.value);     // 'some value'\n     * ```\n     *\n     * The following example initializes the control with a form state object. The `value`\n     * and `disabled` keys are required in this case.\n     *\n     * ```ts\n     * const control = new FormControl({ value: 'n/a', disabled: true });\n     * console.log(control.value);     // 'n/a'\n     * console.log(control.status);    // 'DISABLED'\n     * ```\n     *\n     * The following example initializes the control with a sync validator.\n     *\n     * ```ts\n     * const control = new FormControl('', Validators.required);\n     * console.log(control.value);      // ''\n     * console.log(control.status);     // 'INVALID'\n     * ```\n     *\n     * The following example initializes the control using an options object.\n     *\n     * ```ts\n     * const control = new FormControl('', {\n     *    validators: Validators.required,\n     *    asyncValidators: myAsyncValidator\n     * });\n     * ```\n     *\n     * ### Configure the control to update on a blur event\n     *\n     * Set the `updateOn` option to `'blur'` to update on the blur `event`.\n     *\n     * ```ts\n     * const control = new FormControl('', { updateOn: 'blur' });\n     * ```\n     *\n     * ### Configure the control to update on a submit event\n     *\n     * Set the `updateOn` option to `'submit'` to update on a submit `event`.\n     *\n     * ```ts\n     * const control = new FormControl('', { updateOn: 'submit' });\n     * ```\n     *\n     * ### Reset the control back to an initial value\n     *\n     * You reset to a specific form state by passing through a standalone\n     * value or a form state object that contains both a value and a disabled state\n     * (these are the only two properties that cannot be calculated).\n     *\n     * ```ts\n     * const control = new FormControl('Nancy');\n     *\n     * console.log(control.value); // 'Nancy'\n     *\n     * control.reset('Drew');\n     *\n     * console.log(control.value); // 'Drew'\n     * ```\n     *\n     * ### Reset the control back to an initial value and disabled\n     *\n     * ```\n     * const control = new FormControl('Nancy');\n     *\n     * console.log(control.value); // 'Nancy'\n     * console.log(control.status); // 'VALID'\n     *\n     * control.reset({ value: 'Drew', disabled: true });\n     *\n     * console.log(control.value); // 'Drew'\n     * console.log(control.status); // 'DISABLED'\n     * ```\n     *\n     * \\@publicApi\n     */\n\n\n    var FormControl =\n    /*#__PURE__*/\n    function (_AbstractControl) {\n      _inherits(FormControl, _AbstractControl);\n\n      /**\n       * Creates a new `FormControl` instance.\n       *\n       * @param {?=} formState Initializes the control with an initial value,\n       * or an object that defines the initial value and disabled state.\n       *\n       * @param {?=} validatorOrOpts A synchronous validator function, or an array of\n       * such functions, or an `AbstractControlOptions` object that contains validation functions\n       * and a validation trigger.\n       *\n       * @param {?=} asyncValidator A single async validator or array of async validator functions\n       *\n       */\n      function FormControl() {\n        var _this557;\n\n        var formState = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n        var validatorOrOpts = arguments.length > 1 ? arguments[1] : undefined;\n        var asyncValidator = arguments.length > 2 ? arguments[2] : undefined;\n\n        _classCallCheck(this, FormControl);\n\n        _this557 = _possibleConstructorReturn(this, _getPrototypeOf(FormControl).call(this, coerceToValidator(validatorOrOpts), coerceToAsyncValidator(asyncValidator, validatorOrOpts)));\n        /**\n         * \\@internal\n         */\n\n        _this557._onChange = [];\n\n        _this557._applyFormState(formState);\n\n        _this557._setUpdateStrategy(validatorOrOpts);\n\n        _this557.updateValueAndValidity({\n          onlySelf: true,\n          emitEvent: false\n        });\n\n        _this557._initObservables();\n\n        return _this557;\n      }\n      /**\n       * Sets a new value for the form control.\n       *\n       * @param {?} value The new value for the control.\n       * @param {?=} options Configuration options that determine how the control propagates changes\n       * and emits events when the value changes.\n       * The configuration options are passed to the {\\@link AbstractControl#updateValueAndValidity\n       * updateValueAndValidity} method.\n       *\n       * * `onlySelf`: When true, each change only affects this control, and not its parent. Default is\n       * false.\n       * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n       * `valueChanges`\n       * observables emit events with the latest status and value when the control value is updated.\n       * When false, no events are emitted.\n       * * `emitModelToViewChange`: When true or not supplied  (the default), each change triggers an\n       * `onChange` event to\n       * update the view.\n       * * `emitViewToModelChange`: When true or not supplied (the default), each change triggers an\n       * `ngModelChange`\n       * event to update the model.\n       *\n       * @return {?}\n       */\n\n\n      _createClass2(FormControl, [{\n        key: \"setValue\",\n        value: function setValue(value) {\n          var _this558 = this;\n\n          var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n          /** @type {?} */\n          this.value = this._pendingValue = value;\n\n          if (this._onChange.length && options.emitModelToViewChange !== false) {\n            this._onChange.forEach(\n            /**\n            * @param {?} changeFn\n            * @return {?}\n            */\n            function (changeFn) {\n              return changeFn(_this558.value, options.emitViewToModelChange !== false);\n            });\n          }\n\n          this.updateValueAndValidity(options);\n        }\n        /**\n         * Patches the value of a control.\n         *\n         * This function is functionally the same as {\\@link FormControl#setValue setValue} at this level.\n         * It exists for symmetry with {\\@link FormGroup#patchValue patchValue} on `FormGroups` and\n         * `FormArrays`, where it does behave differently.\n         *\n         * @see `setValue` for options\n         * @param {?} value\n         * @param {?=} options\n         * @return {?}\n         */\n\n      }, {\n        key: \"patchValue\",\n        value: function patchValue(value) {\n          var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n          this.setValue(value, options);\n        }\n        /**\n         * Resets the form control, marking it `pristine` and `untouched`, and setting\n         * the value to null.\n         *\n         * @param {?=} formState Resets the control with an initial value,\n         * or an object that defines the initial value and disabled state.\n         *\n         * @param {?=} options Configuration options that determine how the control propagates changes\n         * and emits events after the value changes.\n         *\n         * * `onlySelf`: When true, each change only affects this control, and not its parent. Default is\n         * false.\n         * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n         * `valueChanges`\n         * observables emit events with the latest status and value when the control is reset.\n         * When false, no events are emitted.\n         *\n         * @return {?}\n         */\n\n      }, {\n        key: \"reset\",\n        value: function reset() {\n          var formState = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n          var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n          this._applyFormState(formState);\n\n          this.markAsPristine(options);\n          this.markAsUntouched(options);\n          this.setValue(this.value, options);\n          this._pendingChange = false;\n        }\n        /**\n         * \\@internal\n         * @return {?}\n         */\n\n      }, {\n        key: \"_updateValue\",\n        value: function _updateValue() {}\n        /**\n         * \\@internal\n         * @param {?} condition\n         * @return {?}\n         */\n\n      }, {\n        key: \"_anyControls\",\n        value: function _anyControls(condition) {\n          return false;\n        }\n        /**\n         * \\@internal\n         * @return {?}\n         */\n\n      }, {\n        key: \"_allControlsDisabled\",\n        value: function _allControlsDisabled() {\n          return this.disabled;\n        }\n        /**\n         * Register a listener for change events.\n         *\n         * @param {?} fn The method that is called when the value changes\n         * @return {?}\n         */\n\n      }, {\n        key: \"registerOnChange\",\n        value: function registerOnChange(fn) {\n          this._onChange.push(fn);\n        }\n        /**\n         * \\@internal\n         * @return {?}\n         */\n\n      }, {\n        key: \"_clearChangeFns\",\n        value: function _clearChangeFns() {\n          this._onChange = [];\n          this._onDisabledChange = [];\n\n          this._onCollectionChange =\n          /**\n          * @return {?}\n          */\n          function () {};\n        }\n        /**\n         * Register a listener for disabled events.\n         *\n         * @param {?} fn The method that is called when the disabled status changes.\n         * @return {?}\n         */\n\n      }, {\n        key: \"registerOnDisabledChange\",\n        value: function registerOnDisabledChange(fn) {\n          this._onDisabledChange.push(fn);\n        }\n        /**\n         * \\@internal\n         * @param {?} cb\n         * @return {?}\n         */\n\n      }, {\n        key: \"_forEachChild\",\n        value: function _forEachChild(cb) {}\n        /**\n         * \\@internal\n         * @return {?}\n         */\n\n      }, {\n        key: \"_syncPendingControls\",\n        value: function _syncPendingControls() {\n          if (this.updateOn === 'submit') {\n            if (this._pendingDirty) this.markAsDirty();\n            if (this._pendingTouched) this.markAsTouched();\n\n            if (this._pendingChange) {\n              this.setValue(this._pendingValue, {\n                onlySelf: true,\n                emitModelToViewChange: false\n              });\n              return true;\n            }\n          }\n\n          return false;\n        }\n        /**\n         * @private\n         * @param {?} formState\n         * @return {?}\n         */\n\n      }, {\n        key: \"_applyFormState\",\n        value: function _applyFormState(formState) {\n          if (this._isBoxedValue(formState)) {\n            /** @type {?} */\n            this.value = this._pendingValue = formState.value;\n            formState.disabled ? this.disable({\n              onlySelf: true,\n              emitEvent: false\n            }) : this.enable({\n              onlySelf: true,\n              emitEvent: false\n            });\n          } else {\n            /** @type {?} */\n            this.value = this._pendingValue = formState;\n          }\n        }\n      }]);\n\n      return FormControl;\n    }(AbstractControl);\n\n    if (false) {}\n    /**\n     * Tracks the value and validity state of a group of `FormControl` instances.\n     *\n     * A `FormGroup` aggregates the values of each child `FormControl` into one object,\n     * with each control name as the key.  It calculates its status by reducing the status values\n     * of its children. For example, if one of the controls in a group is invalid, the entire\n     * group becomes invalid.\n     *\n     * `FormGroup` is one of the three fundamental building blocks used to define forms in Angular,\n     * along with `FormControl` and `FormArray`.\n     *\n     * When instantiating a `FormGroup`, pass in a collection of child controls as the first\n     * argument. The key for each child registers the name for the control.\n     *\n     * \\@usageNotes\n     *\n     * ### Create a form group with 2 controls\n     *\n     * ```\n     * const form = new FormGroup({\n     *   first: new FormControl('Nancy', Validators.minLength(2)),\n     *   last: new FormControl('Drew'),\n     * });\n     *\n     * console.log(form.value);   // {first: 'Nancy', last; 'Drew'}\n     * console.log(form.status);  // 'VALID'\n     * ```\n     *\n     * ### Create a form group with a group-level validator\n     *\n     * You include group-level validators as the second arg, or group-level async\n     * validators as the third arg. These come in handy when you want to perform validation\n     * that considers the value of more than one child control.\n     *\n     * ```\n     * const form = new FormGroup({\n     *   password: new FormControl('', Validators.minLength(2)),\n     *   passwordConfirm: new FormControl('', Validators.minLength(2)),\n     * }, passwordMatchValidator);\n     *\n     *\n     * function passwordMatchValidator(g: FormGroup) {\n     *    return g.get('password').value === g.get('passwordConfirm').value\n     *       ? null : {'mismatch': true};\n     * }\n     * ```\n     *\n     * Like `FormControl` instances, you choose to pass in\n     * validators and async validators as part of an options object.\n     *\n     * ```\n     * const form = new FormGroup({\n     *   password: new FormControl('')\n     *   passwordConfirm: new FormControl('')\n     * }, { validators: passwordMatchValidator, asyncValidators: otherValidator });\n     * ```\n     *\n     * ### Set the updateOn property for all controls in a form group\n     *\n     * The options object is used to set a default value for each child\n     * control's `updateOn` property. If you set `updateOn` to `'blur'` at the\n     * group level, all child controls default to 'blur', unless the child\n     * has explicitly specified a different `updateOn` value.\n     *\n     * ```ts\n     * const c = new FormGroup({\n     *   one: new FormControl()\n     * }, { updateOn: 'blur' });\n     * ```\n     *\n     * \\@publicApi\n     */\n\n\n    var FormGroup =\n    /*#__PURE__*/\n    function (_AbstractControl2) {\n      _inherits(FormGroup, _AbstractControl2);\n\n      /**\n       * Creates a new `FormGroup` instance.\n       *\n       * @param {?} controls A collection of child controls. The key for each child is the name\n       * under which it is registered.\n       *\n       * @param {?=} validatorOrOpts A synchronous validator function, or an array of\n       * such functions, or an `AbstractControlOptions` object that contains validation functions\n       * and a validation trigger.\n       *\n       * @param {?=} asyncValidator A single async validator or array of async validator functions\n       *\n       */\n      function FormGroup(controls, validatorOrOpts, asyncValidator) {\n        var _this559;\n\n        _classCallCheck(this, FormGroup);\n\n        _this559 = _possibleConstructorReturn(this, _getPrototypeOf(FormGroup).call(this, coerceToValidator(validatorOrOpts), coerceToAsyncValidator(asyncValidator, validatorOrOpts)));\n        _this559.controls = controls;\n\n        _this559._initObservables();\n\n        _this559._setUpdateStrategy(validatorOrOpts);\n\n        _this559._setUpControls();\n\n        _this559.updateValueAndValidity({\n          onlySelf: true,\n          emitEvent: false\n        });\n\n        return _this559;\n      }\n      /**\n       * Registers a control with the group's list of controls.\n       *\n       * This method does not update the value or validity of the control.\n       * Use {\\@link FormGroup#addControl addControl} instead.\n       *\n       * @param {?} name The control name to register in the collection\n       * @param {?} control Provides the control for the given name\n       * @return {?}\n       */\n\n\n      _createClass2(FormGroup, [{\n        key: \"registerControl\",\n        value: function registerControl(name, control) {\n          if (this.controls[name]) return this.controls[name];\n          this.controls[name] = control;\n          control.setParent(this);\n\n          control._registerOnCollectionChange(this._onCollectionChange);\n\n          return control;\n        }\n        /**\n         * Add a control to this group.\n         *\n         * This method also updates the value and validity of the control.\n         *\n         * @param {?} name The control name to add to the collection\n         * @param {?} control Provides the control for the given name\n         * @return {?}\n         */\n\n      }, {\n        key: \"addControl\",\n        value: function addControl(name, control) {\n          this.registerControl(name, control);\n          this.updateValueAndValidity();\n\n          this._onCollectionChange();\n        }\n        /**\n         * Remove a control from this group.\n         *\n         * @param {?} name The control name to remove from the collection\n         * @return {?}\n         */\n\n      }, {\n        key: \"removeControl\",\n        value: function removeControl(name) {\n          if (this.controls[name]) this.controls[name]._registerOnCollectionChange(\n          /**\n          * @return {?}\n          */\n          function () {});\n          delete this.controls[name];\n          this.updateValueAndValidity();\n\n          this._onCollectionChange();\n        }\n        /**\n         * Replace an existing control.\n         *\n         * @param {?} name The control name to replace in the collection\n         * @param {?} control Provides the control for the given name\n         * @return {?}\n         */\n\n      }, {\n        key: \"setControl\",\n        value: function setControl(name, control) {\n          if (this.controls[name]) this.controls[name]._registerOnCollectionChange(\n          /**\n          * @return {?}\n          */\n          function () {});\n          delete this.controls[name];\n          if (control) this.registerControl(name, control);\n          this.updateValueAndValidity();\n\n          this._onCollectionChange();\n        }\n        /**\n         * Check whether there is an enabled control with the given name in the group.\n         *\n         * Reports false for disabled controls. If you'd like to check for existence in the group\n         * only, use {\\@link AbstractControl#get get} instead.\n         *\n         * @param {?} controlName The control name to check for existence in the collection\n         *\n         * @return {?} false for disabled controls, true otherwise.\n         */\n\n      }, {\n        key: \"contains\",\n        value: function contains(controlName) {\n          return this.controls.hasOwnProperty(controlName) && this.controls[controlName].enabled;\n        }\n        /**\n         * Sets the value of the `FormGroup`. It accepts an object that matches\n         * the structure of the group, with control names as keys.\n         *\n         * \\@usageNotes\n         * ### Set the complete value for the form group\n         *\n         * ```\n         * const form = new FormGroup({\n         *   first: new FormControl(),\n         *   last: new FormControl()\n         * });\n         *\n         * console.log(form.value);   // {first: null, last: null}\n         *\n         * form.setValue({first: 'Nancy', last: 'Drew'});\n         * console.log(form.value);   // {first: 'Nancy', last: 'Drew'}\n         * ```\n         *\n         * @throws When strict checks fail, such as setting the value of a control\n         * that doesn't exist or if you exclude a value of a control that does exist.\n         *\n         * @param {?} value The new value for the control that matches the structure of the group.\n         * @param {?=} options Configuration options that determine how the control propagates changes\n         * and emits events after the value changes.\n         * The configuration options are passed to the {\\@link AbstractControl#updateValueAndValidity\n         * updateValueAndValidity} method.\n         *\n         * * `onlySelf`: When true, each change only affects this control, and not its parent. Default is\n         * false.\n         * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n         * `valueChanges`\n         * observables emit events with the latest status and value when the control value is updated.\n         * When false, no events are emitted.\n         * @return {?}\n         */\n\n      }, {\n        key: \"setValue\",\n        value: function setValue(value) {\n          var _this560 = this;\n\n          var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n          this._checkAllValuesPresent(value);\n\n          Object.keys(value).forEach(\n          /**\n          * @param {?} name\n          * @return {?}\n          */\n          function (name) {\n            _this560._throwIfControlMissing(name);\n\n            _this560.controls[name].setValue(value[name], {\n              onlySelf: true,\n              emitEvent: options.emitEvent\n            });\n          });\n          this.updateValueAndValidity(options);\n        }\n        /**\n         * Patches the value of the `FormGroup`. It accepts an object with control\n         * names as keys, and does its best to match the values to the correct controls\n         * in the group.\n         *\n         * It accepts both super-sets and sub-sets of the group without throwing an error.\n         *\n         * \\@usageNotes\n         * ### Patch the value for a form group\n         *\n         * ```\n         * const form = new FormGroup({\n         *    first: new FormControl(),\n         *    last: new FormControl()\n         * });\n         * console.log(form.value);   // {first: null, last: null}\n         *\n         * form.patchValue({first: 'Nancy'});\n         * console.log(form.value);   // {first: 'Nancy', last: null}\n         * ```\n         *\n         * @param {?} value The object that matches the structure of the group.\n         * @param {?=} options Configuration options that determine how the control propagates changes and\n         * emits events after the value is patched.\n         * * `onlySelf`: When true, each change only affects this control and not its parent. Default is\n         * true.\n         * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n         * `valueChanges`\n         * observables emit events with the latest status and value when the control value is updated.\n         * When false, no events are emitted.\n         * The configuration options are passed to the {\\@link AbstractControl#updateValueAndValidity\n         * updateValueAndValidity} method.\n         * @return {?}\n         */\n\n      }, {\n        key: \"patchValue\",\n        value: function patchValue(value) {\n          var _this561 = this;\n\n          var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n          Object.keys(value).forEach(\n          /**\n          * @param {?} name\n          * @return {?}\n          */\n          function (name) {\n            if (_this561.controls[name]) {\n              _this561.controls[name].patchValue(value[name], {\n                onlySelf: true,\n                emitEvent: options.emitEvent\n              });\n            }\n          });\n          this.updateValueAndValidity(options);\n        }\n        /**\n         * Resets the `FormGroup`, marks all descendants are marked `pristine` and `untouched`, and\n         * the value of all descendants to null.\n         *\n         * You reset to a specific form state by passing in a map of states\n         * that matches the structure of your form, with control names as keys. The state\n         * is a standalone value or a form state object with both a value and a disabled\n         * status.\n         *\n         * \\@usageNotes\n         *\n         * ### Reset the form group values\n         *\n         * ```ts\n         * const form = new FormGroup({\n         *   first: new FormControl('first name'),\n         *   last: new FormControl('last name')\n         * });\n         *\n         * console.log(form.value);  // {first: 'first name', last: 'last name'}\n         *\n         * form.reset({ first: 'name', last: 'last name' });\n         *\n         * console.log(form.value);  // {first: 'name', last: 'last name'}\n         * ```\n         *\n         * ### Reset the form group values and disabled status\n         *\n         * ```\n         * const form = new FormGroup({\n         *   first: new FormControl('first name'),\n         *   last: new FormControl('last name')\n         * });\n         *\n         * form.reset({\n         *   first: {value: 'name', disabled: true},\n         *   last: 'last'\n         * });\n         *\n         * console.log(this.form.value);  // {first: 'name', last: 'last name'}\n         * console.log(this.form.get('first').status);  // 'DISABLED'\n         * ```\n         * @param {?=} value Resets the control with an initial value,\n         * or an object that defines the initial value and disabled state.\n         *\n         * @param {?=} options Configuration options that determine how the control propagates changes\n         * and emits events when the group is reset.\n         * * `onlySelf`: When true, each change only affects this control, and not its parent. Default is\n         * false.\n         * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n         * `valueChanges`\n         * observables emit events with the latest status and value when the control is reset.\n         * When false, no events are emitted.\n         * The configuration options are passed to the {\\@link AbstractControl#updateValueAndValidity\n         * updateValueAndValidity} method.\n         *\n         * @return {?}\n         */\n\n      }, {\n        key: \"reset\",\n        value: function reset() {\n          var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n          var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n          this._forEachChild(\n          /**\n          * @param {?} control\n          * @param {?} name\n          * @return {?}\n          */\n          function (control, name) {\n            control.reset(value[name], {\n              onlySelf: true,\n              emitEvent: options.emitEvent\n            });\n          });\n\n          this._updatePristine(options);\n\n          this._updateTouched(options);\n\n          this.updateValueAndValidity(options);\n        }\n        /**\n         * The aggregate value of the `FormGroup`, including any disabled controls.\n         *\n         * Retrieves all values regardless of disabled status.\n         * The `value` property is the best way to get the value of the group, because\n         * it excludes disabled controls in the `FormGroup`.\n         * @return {?}\n         */\n\n      }, {\n        key: \"getRawValue\",\n        value: function getRawValue() {\n          return this._reduceChildren({},\n          /**\n          * @param {?} acc\n          * @param {?} control\n          * @param {?} name\n          * @return {?}\n          */\n          function (acc, control, name) {\n            acc[name] = control instanceof FormControl ? control.value :\n            /** @type {?} */\n            control.getRawValue();\n            return acc;\n          });\n        }\n        /**\n         * \\@internal\n         * @return {?}\n         */\n\n      }, {\n        key: \"_syncPendingControls\",\n        value: function _syncPendingControls() {\n          /** @type {?} */\n          var subtreeUpdated = this._reduceChildren(false,\n          /**\n          * @param {?} updated\n          * @param {?} child\n          * @return {?}\n          */\n          function (updated, child) {\n            return child._syncPendingControls() ? true : updated;\n          });\n\n          if (subtreeUpdated) this.updateValueAndValidity({\n            onlySelf: true\n          });\n          return subtreeUpdated;\n        }\n        /**\n         * \\@internal\n         * @param {?} name\n         * @return {?}\n         */\n\n      }, {\n        key: \"_throwIfControlMissing\",\n        value: function _throwIfControlMissing(name) {\n          if (!Object.keys(this.controls).length) {\n            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      \");\n          }\n\n          if (!this.controls[name]) {\n            throw new Error(\"Cannot find form control with name: \".concat(name, \".\"));\n          }\n        }\n        /**\n         * \\@internal\n         * @param {?} cb\n         * @return {?}\n         */\n\n      }, {\n        key: \"_forEachChild\",\n        value: function _forEachChild(cb) {\n          var _this562 = this;\n\n          Object.keys(this.controls).forEach(\n          /**\n          * @param {?} k\n          * @return {?}\n          */\n          function (k) {\n            return cb(_this562.controls[k], k);\n          });\n        }\n        /**\n         * \\@internal\n         * @return {?}\n         */\n\n      }, {\n        key: \"_setUpControls\",\n        value: function _setUpControls() {\n          var _this563 = this;\n\n          this._forEachChild(\n          /**\n          * @param {?} control\n          * @return {?}\n          */\n          function (control) {\n            control.setParent(_this563);\n\n            control._registerOnCollectionChange(_this563._onCollectionChange);\n          });\n        }\n        /**\n         * \\@internal\n         * @return {?}\n         */\n\n      }, {\n        key: \"_updateValue\",\n        value: function _updateValue() {\n          /** @type {?} */\n          this.value = this._reduceValue();\n        }\n        /**\n         * \\@internal\n         * @param {?} condition\n         * @return {?}\n         */\n\n      }, {\n        key: \"_anyControls\",\n        value: function _anyControls(condition) {\n          var _this564 = this;\n\n          /** @type {?} */\n          var res = false;\n\n          this._forEachChild(\n          /**\n          * @param {?} control\n          * @param {?} name\n          * @return {?}\n          */\n          function (control, name) {\n            res = res || _this564.contains(name) && condition(control);\n          });\n\n          return res;\n        }\n        /**\n         * \\@internal\n         * @return {?}\n         */\n\n      }, {\n        key: \"_reduceValue\",\n        value: function _reduceValue() {\n          var _this565 = this;\n\n          return this._reduceChildren({},\n          /**\n          * @param {?} acc\n          * @param {?} control\n          * @param {?} name\n          * @return {?}\n          */\n          function (acc, control, name) {\n            if (control.enabled || _this565.disabled) {\n              acc[name] = control.value;\n            }\n\n            return acc;\n          });\n        }\n        /**\n         * \\@internal\n         * @param {?} initValue\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"_reduceChildren\",\n        value: function _reduceChildren(initValue, fn) {\n          /** @type {?} */\n          var res = initValue;\n\n          this._forEachChild(\n          /**\n          * @param {?} control\n          * @param {?} name\n          * @return {?}\n          */\n          function (control, name) {\n            res = fn(res, control, name);\n          });\n\n          return res;\n        }\n        /**\n         * \\@internal\n         * @return {?}\n         */\n\n      }, {\n        key: \"_allControlsDisabled\",\n        value: function _allControlsDisabled() {\n          for (var _i42 = 0, _Object$keys5 = Object.keys(this.controls); _i42 < _Object$keys5.length; _i42++) {\n            var controlName = _Object$keys5[_i42];\n\n            if (this.controls[controlName].enabled) {\n              return false;\n            }\n          }\n\n          return Object.keys(this.controls).length > 0 || this.disabled;\n        }\n        /**\n         * \\@internal\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"_checkAllValuesPresent\",\n        value: function _checkAllValuesPresent(value) {\n          this._forEachChild(\n          /**\n          * @param {?} control\n          * @param {?} name\n          * @return {?}\n          */\n          function (control, name) {\n            if (value[name] === undefined) {\n              throw new Error(\"Must supply a value for form control with name: '\".concat(name, \"'.\"));\n            }\n          });\n        }\n      }]);\n\n      return FormGroup;\n    }(AbstractControl);\n\n    if (false) {}\n    /**\n     * Tracks the value and validity state of an array of `FormControl`,\n     * `FormGroup` or `FormArray` instances.\n     *\n     * A `FormArray` aggregates the values of each child `FormControl` into an array.\n     * It calculates its status by reducing the status values of its children. For example, if one of\n     * the controls in a `FormArray` is invalid, the entire array becomes invalid.\n     *\n     * `FormArray` is one of the three fundamental building blocks used to define forms in Angular,\n     * along with `FormControl` and `FormGroup`.\n     *\n     * \\@usageNotes\n     *\n     * ### Create an array of form controls\n     *\n     * ```\n     * const arr = new FormArray([\n     *   new FormControl('Nancy', Validators.minLength(2)),\n     *   new FormControl('Drew'),\n     * ]);\n     *\n     * console.log(arr.value);   // ['Nancy', 'Drew']\n     * console.log(arr.status);  // 'VALID'\n     * ```\n     *\n     * ### Create a form array with array-level validators\n     *\n     * You include array-level validators and async validators. These come in handy\n     * when you want to perform validation that considers the value of more than one child\n     * control.\n     *\n     * The two types of validators are passed in separately as the second and third arg\n     * respectively, or together as part of an options object.\n     *\n     * ```\n     * const arr = new FormArray([\n     *   new FormControl('Nancy'),\n     *   new FormControl('Drew')\n     * ], {validators: myValidator, asyncValidators: myAsyncValidator});\n     * ```\n     *\n     * ### Set the updateOn property for all controls in a form array\n     *\n     * The options object is used to set a default value for each child\n     * control's `updateOn` property. If you set `updateOn` to `'blur'` at the\n     * array level, all child controls default to 'blur', unless the child\n     * has explicitly specified a different `updateOn` value.\n     *\n     * ```ts\n     * const arr = new FormArray([\n     *    new FormControl()\n     * ], {updateOn: 'blur'});\n     * ```\n     *\n     * ### Adding or removing controls from a form array\n     *\n     * To change the controls in the array, use the `push`, `insert`, `removeAt` or `clear` methods\n     * in `FormArray` itself. These methods ensure the controls are properly tracked in the\n     * form's hierarchy. Do not modify the array of `AbstractControl`s used to instantiate\n     * the `FormArray` directly, as that result in strange and unexpected behavior such\n     * as broken change detection.\n     *\n     * \\@publicApi\n     */\n\n\n    var FormArray =\n    /*#__PURE__*/\n    function (_AbstractControl3) {\n      _inherits(FormArray, _AbstractControl3);\n\n      /**\n       * Creates a new `FormArray` instance.\n       *\n       * @param {?} controls An array of child controls. Each child control is given an index\n       * where it is registered.\n       *\n       * @param {?=} validatorOrOpts A synchronous validator function, or an array of\n       * such functions, or an `AbstractControlOptions` object that contains validation functions\n       * and a validation trigger.\n       *\n       * @param {?=} asyncValidator A single async validator or array of async validator functions\n       *\n       */\n      function FormArray(controls, validatorOrOpts, asyncValidator) {\n        var _this566;\n\n        _classCallCheck(this, FormArray);\n\n        _this566 = _possibleConstructorReturn(this, _getPrototypeOf(FormArray).call(this, coerceToValidator(validatorOrOpts), coerceToAsyncValidator(asyncValidator, validatorOrOpts)));\n        _this566.controls = controls;\n\n        _this566._initObservables();\n\n        _this566._setUpdateStrategy(validatorOrOpts);\n\n        _this566._setUpControls();\n\n        _this566.updateValueAndValidity({\n          onlySelf: true,\n          emitEvent: false\n        });\n\n        return _this566;\n      }\n      /**\n       * Get the `AbstractControl` at the given `index` in the array.\n       *\n       * @param {?} index Index in the array to retrieve the control\n       * @return {?}\n       */\n\n\n      _createClass2(FormArray, [{\n        key: \"at\",\n        value: function at(index) {\n          return this.controls[index];\n        }\n        /**\n         * Insert a new `AbstractControl` at the end of the array.\n         *\n         * @param {?} control Form control to be inserted\n         * @return {?}\n         */\n\n      }, {\n        key: \"push\",\n        value: function push(control) {\n          this.controls.push(control);\n\n          this._registerControl(control);\n\n          this.updateValueAndValidity();\n\n          this._onCollectionChange();\n        }\n        /**\n         * Insert a new `AbstractControl` at the given `index` in the array.\n         *\n         * @param {?} index Index in the array to insert the control\n         * @param {?} control Form control to be inserted\n         * @return {?}\n         */\n\n      }, {\n        key: \"insert\",\n        value: function insert(index, control) {\n          this.controls.splice(index, 0, control);\n\n          this._registerControl(control);\n\n          this.updateValueAndValidity();\n        }\n        /**\n         * Remove the control at the given `index` in the array.\n         *\n         * @param {?} index Index in the array to remove the control\n         * @return {?}\n         */\n\n      }, {\n        key: \"removeAt\",\n        value: function removeAt(index) {\n          if (this.controls[index]) this.controls[index]._registerOnCollectionChange(\n          /**\n          * @return {?}\n          */\n          function () {});\n          this.controls.splice(index, 1);\n          this.updateValueAndValidity();\n        }\n        /**\n         * Replace an existing control.\n         *\n         * @param {?} index Index in the array to replace the control\n         * @param {?} control The `AbstractControl` control to replace the existing control\n         * @return {?}\n         */\n\n      }, {\n        key: \"setControl\",\n        value: function setControl(index, control) {\n          if (this.controls[index]) this.controls[index]._registerOnCollectionChange(\n          /**\n          * @return {?}\n          */\n          function () {});\n          this.controls.splice(index, 1);\n\n          if (control) {\n            this.controls.splice(index, 0, control);\n\n            this._registerControl(control);\n          }\n\n          this.updateValueAndValidity();\n\n          this._onCollectionChange();\n        }\n        /**\n         * Length of the control array.\n         * @return {?}\n         */\n\n      }, {\n        key: \"setValue\",\n\n        /**\n         * Sets the value of the `FormArray`. It accepts an array that matches\n         * the structure of the control.\n         *\n         * This method performs strict checks, and throws an error if you try\n         * to set the value of a control that doesn't exist or if you exclude the\n         * value of a control.\n         *\n         * \\@usageNotes\n         * ### Set the values for the controls in the form array\n         *\n         * ```\n         * const arr = new FormArray([\n         *   new FormControl(),\n         *   new FormControl()\n         * ]);\n         * console.log(arr.value);   // [null, null]\n         *\n         * arr.setValue(['Nancy', 'Drew']);\n         * console.log(arr.value);   // ['Nancy', 'Drew']\n         * ```\n         *\n         * @param {?} value Array of values for the controls\n         * @param {?=} options Configure options that determine how the control propagates changes and\n         * emits events after the value changes\n         *\n         * * `onlySelf`: When true, each change only affects this control, and not its parent. Default\n         * is false.\n         * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n         * `valueChanges`\n         * observables emit events with the latest status and value when the control value is updated.\n         * When false, no events are emitted.\n         * The configuration options are passed to the {\\@link AbstractControl#updateValueAndValidity\n         * updateValueAndValidity} method.\n         * @return {?}\n         */\n        value: function setValue(value) {\n          var _this567 = this;\n\n          var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n          this._checkAllValuesPresent(value);\n\n          value.forEach(\n          /**\n          * @param {?} newValue\n          * @param {?} index\n          * @return {?}\n          */\n          function (newValue, index) {\n            _this567._throwIfControlMissing(index);\n\n            _this567.at(index).setValue(newValue, {\n              onlySelf: true,\n              emitEvent: options.emitEvent\n            });\n          });\n          this.updateValueAndValidity(options);\n        }\n        /**\n         * Patches the value of the `FormArray`. It accepts an array that matches the\n         * structure of the control, and does its best to match the values to the correct\n         * controls in the group.\n         *\n         * It accepts both super-sets and sub-sets of the array without throwing an error.\n         *\n         * \\@usageNotes\n         * ### Patch the values for controls in a form array\n         *\n         * ```\n         * const arr = new FormArray([\n         *    new FormControl(),\n         *    new FormControl()\n         * ]);\n         * console.log(arr.value);   // [null, null]\n         *\n         * arr.patchValue(['Nancy']);\n         * console.log(arr.value);   // ['Nancy', null]\n         * ```\n         *\n         * @param {?} value Array of latest values for the controls\n         * @param {?=} options Configure options that determine how the control propagates changes and\n         * emits events after the value changes\n         *\n         * * `onlySelf`: When true, each change only affects this control, and not its parent. Default\n         * is false.\n         * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n         * `valueChanges`\n         * observables emit events with the latest status and value when the control value is updated.\n         * When false, no events are emitted.\n         * The configuration options are passed to the {\\@link AbstractControl#updateValueAndValidity\n         * updateValueAndValidity} method.\n         * @return {?}\n         */\n\n      }, {\n        key: \"patchValue\",\n        value: function patchValue(value) {\n          var _this568 = this;\n\n          var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n          value.forEach(\n          /**\n          * @param {?} newValue\n          * @param {?} index\n          * @return {?}\n          */\n          function (newValue, index) {\n            if (_this568.at(index)) {\n              _this568.at(index).patchValue(newValue, {\n                onlySelf: true,\n                emitEvent: options.emitEvent\n              });\n            }\n          });\n          this.updateValueAndValidity(options);\n        }\n        /**\n         * Resets the `FormArray` and all descendants are marked `pristine` and `untouched`, and the\n         * value of all descendants to null or null maps.\n         *\n         * You reset to a specific form state by passing in an array of states\n         * that matches the structure of the control. The state is a standalone value\n         * or a form state object with both a value and a disabled status.\n         *\n         * \\@usageNotes\n         * ### Reset the values in a form array\n         *\n         * ```ts\n         * const arr = new FormArray([\n         *    new FormControl(),\n         *    new FormControl()\n         * ]);\n         * arr.reset(['name', 'last name']);\n         *\n         * console.log(this.arr.value);  // ['name', 'last name']\n         * ```\n         *\n         * ### Reset the values in a form array and the disabled status for the first control\n         *\n         * ```\n         * this.arr.reset([\n         *   {value: 'name', disabled: true},\n         *   'last'\n         * ]);\n         *\n         * console.log(this.arr.value);  // ['name', 'last name']\n         * console.log(this.arr.get(0).status);  // 'DISABLED'\n         * ```\n         *\n         * @param {?=} value Array of values for the controls\n         * @param {?=} options Configure options that determine how the control propagates changes and\n         * emits events after the value changes\n         *\n         * * `onlySelf`: When true, each change only affects this control, and not its parent. Default\n         * is false.\n         * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and\n         * `valueChanges`\n         * observables emit events with the latest status and value when the control is reset.\n         * When false, no events are emitted.\n         * The configuration options are passed to the {\\@link AbstractControl#updateValueAndValidity\n         * updateValueAndValidity} method.\n         * @return {?}\n         */\n\n      }, {\n        key: \"reset\",\n        value: function reset() {\n          var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n          var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n          this._forEachChild(\n          /**\n          * @param {?} control\n          * @param {?} index\n          * @return {?}\n          */\n          function (control, index) {\n            control.reset(value[index], {\n              onlySelf: true,\n              emitEvent: options.emitEvent\n            });\n          });\n\n          this._updatePristine(options);\n\n          this._updateTouched(options);\n\n          this.updateValueAndValidity(options);\n        }\n        /**\n         * The aggregate value of the array, including any disabled controls.\n         *\n         * Reports all values regardless of disabled status.\n         * For enabled controls only, the `value` property is the best way to get the value of the array.\n         * @return {?}\n         */\n\n      }, {\n        key: \"getRawValue\",\n        value: function getRawValue() {\n          return this.controls.map(\n          /**\n          * @param {?} control\n          * @return {?}\n          */\n          function (control) {\n            return control instanceof FormControl ? control.value :\n            /** @type {?} */\n            control.getRawValue();\n          });\n        }\n        /**\n         * Remove all controls in the `FormArray`.\n         *\n         * \\@usageNotes\n         * ### Remove all elements from a FormArray\n         *\n         * ```ts\n         * const arr = new FormArray([\n         *    new FormControl(),\n         *    new FormControl()\n         * ]);\n         * console.log(arr.length);  // 2\n         *\n         * arr.clear();\n         * console.log(arr.length);  // 0\n         * ```\n         *\n         * It's a simpler and more efficient alternative to removing all elements one by one:\n         *\n         * ```ts\n         * const arr = new FormArray([\n         *    new FormControl(),\n         *    new FormControl()\n         * ]);\n         *\n         * while (arr.length) {\n         *    arr.removeAt(0);\n         * }\n         * ```\n         * @return {?}\n         */\n\n      }, {\n        key: \"clear\",\n        value: function clear() {\n          if (this.controls.length < 1) return;\n\n          this._forEachChild(\n          /**\n          * @param {?} control\n          * @return {?}\n          */\n          function (control) {\n            return control._registerOnCollectionChange(\n            /**\n            * @return {?}\n            */\n            function () {});\n          });\n\n          this.controls.splice(0);\n          this.updateValueAndValidity();\n        }\n        /**\n         * \\@internal\n         * @return {?}\n         */\n\n      }, {\n        key: \"_syncPendingControls\",\n        value: function _syncPendingControls() {\n          /** @type {?} */\n          var subtreeUpdated = this.controls.reduce(\n          /**\n          * @param {?} updated\n          * @param {?} child\n          * @return {?}\n          */\n          function (updated, child) {\n            return child._syncPendingControls() ? true : updated;\n          }, false);\n          if (subtreeUpdated) this.updateValueAndValidity({\n            onlySelf: true\n          });\n          return subtreeUpdated;\n        }\n        /**\n         * \\@internal\n         * @param {?} index\n         * @return {?}\n         */\n\n      }, {\n        key: \"_throwIfControlMissing\",\n        value: function _throwIfControlMissing(index) {\n          if (!this.controls.length) {\n            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      \");\n          }\n\n          if (!this.at(index)) {\n            throw new Error(\"Cannot find form control at index \".concat(index));\n          }\n        }\n        /**\n         * \\@internal\n         * @param {?} cb\n         * @return {?}\n         */\n\n      }, {\n        key: \"_forEachChild\",\n        value: function _forEachChild(cb) {\n          this.controls.forEach(\n          /**\n          * @param {?} control\n          * @param {?} index\n          * @return {?}\n          */\n          function (control, index) {\n            cb(control, index);\n          });\n        }\n        /**\n         * \\@internal\n         * @return {?}\n         */\n\n      }, {\n        key: \"_updateValue\",\n        value: function _updateValue() {\n          var _this569 = this;\n\n          /** @type {?} */\n          this.value = this.controls.filter(\n          /**\n          * @param {?} control\n          * @return {?}\n          */\n          function (control) {\n            return control.enabled || _this569.disabled;\n          }).map(\n          /**\n          * @param {?} control\n          * @return {?}\n          */\n          function (control) {\n            return control.value;\n          });\n        }\n        /**\n         * \\@internal\n         * @param {?} condition\n         * @return {?}\n         */\n\n      }, {\n        key: \"_anyControls\",\n        value: function _anyControls(condition) {\n          return this.controls.some(\n          /**\n          * @param {?} control\n          * @return {?}\n          */\n          function (control) {\n            return control.enabled && condition(control);\n          });\n        }\n        /**\n         * \\@internal\n         * @return {?}\n         */\n\n      }, {\n        key: \"_setUpControls\",\n        value: function _setUpControls() {\n          var _this570 = this;\n\n          this._forEachChild(\n          /**\n          * @param {?} control\n          * @return {?}\n          */\n          function (control) {\n            return _this570._registerControl(control);\n          });\n        }\n        /**\n         * \\@internal\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"_checkAllValuesPresent\",\n        value: function _checkAllValuesPresent(value) {\n          this._forEachChild(\n          /**\n          * @param {?} control\n          * @param {?} i\n          * @return {?}\n          */\n          function (control, i) {\n            if (value[i] === undefined) {\n              throw new Error(\"Must supply a value for form control at index: \".concat(i, \".\"));\n            }\n          });\n        }\n        /**\n         * \\@internal\n         * @return {?}\n         */\n\n      }, {\n        key: \"_allControlsDisabled\",\n        value: function _allControlsDisabled() {\n          var _iteratorNormalCompletion52 = true;\n          var _didIteratorError52 = false;\n          var _iteratorError52 = undefined;\n\n          try {\n            for (var _iterator52 = this.controls[Symbol.iterator](), _step52; !(_iteratorNormalCompletion52 = (_step52 = _iterator52.next()).done); _iteratorNormalCompletion52 = true) {\n              var control = _step52.value;\n              if (control.enabled) return false;\n            }\n          } catch (err) {\n            _didIteratorError52 = true;\n            _iteratorError52 = err;\n          } finally {\n            try {\n              if (!_iteratorNormalCompletion52 && _iterator52.return != null) {\n                _iterator52.return();\n              }\n            } finally {\n              if (_didIteratorError52) {\n                throw _iteratorError52;\n              }\n            }\n          }\n\n          return this.controls.length > 0 || this.disabled;\n        }\n        /**\n         * @private\n         * @param {?} control\n         * @return {?}\n         */\n\n      }, {\n        key: \"_registerControl\",\n        value: function _registerControl(control) {\n          control.setParent(this);\n\n          control._registerOnCollectionChange(this._onCollectionChange);\n        }\n      }, {\n        key: \"length\",\n        get: function get() {\n          return this.controls.length;\n        }\n      }]);\n\n      return FormArray;\n    }(AbstractControl);\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var formDirectiveProvider = {\n      provide: ControlContainer,\n      useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])(\n      /**\n      * @return {?}\n      */\n      function () {\n        return NgForm;\n      })\n    };\n\n    var ɵ0 =\n    /**\n    * @return {?}\n    */\n    function ɵ0() {\n      return Promise.resolve(null);\n    };\n    /** @type {?} */\n\n\n    var resolvedPromise = ɵ0();\n    /**\n     * \\@description\n     * Creates a top-level `FormGroup` instance and binds it to a form\n     * to track aggregate form value and validation status.\n     *\n     * As soon as you import the `FormsModule`, this directive becomes active by default on\n     * all `<form>` tags.  You don't need to add a special selector.\n     *\n     * You optionally export the directive into a local template variable using `ngForm` as the key\n     * (ex: `#myForm=\"ngForm\"`). This is optional, but useful.  Many properties from the underlying\n     * `FormGroup` instance are duplicated on the directive itself, so a reference to it\n     * gives you access to the aggregate value and validity status of the form, as well as\n     * user interaction properties like `dirty` and `touched`.\n     *\n     * To register child controls with the form, use `NgModel` with a `name`\n     * attribute. You may use `NgModelGroup` to create sub-groups within the form.\n     *\n     * If necessary, listen to the directive's `ngSubmit` event to be notified when the user has\n     * triggered a form submission. The `ngSubmit` event emits the original form\n     * submission event.\n     *\n     * In template driven forms, all `<form>` tags are automatically tagged as `NgForm`.\n     * To import the `FormsModule` but skip its usage in some forms,\n     * for example, to use native HTML5 validation, add the `ngNoForm` and the `<form>`\n     * tags won't create an `NgForm` directive. In reactive forms, using `ngNoForm` is\n     * unnecessary because the `<form>` tags are inert. In that case, you would\n     * refrain from using the `formGroup` directive.\n     *\n     * \\@usageNotes\n     *\n     * ### Migrating from deprecated ngForm selector\n     *\n     * Support for using `ngForm` element selector has been deprecated in Angular v6 and will be removed\n     * in Angular v9.\n     *\n     * This has been deprecated to keep selectors consistent with other core Angular selectors,\n     * as element selectors are typically written in kebab-case.\n     *\n     * Now deprecated:\n     * ```html\n     * <ngForm #myForm=\"ngForm\">\n     * ```\n     *\n     * After:\n     * ```html\n     * <ng-form #myForm=\"ngForm\">\n     * ```\n     *\n     * ### Listening for form submission\n     *\n     * The following example shows how to capture the form values from the \"ngSubmit\" event.\n     *\n     * {\\@example forms/ts/simpleForm/simple_form_example.ts region='Component'}\n     *\n     * ### Setting the update options\n     *\n     * The following example shows you how to change the \"updateOn\" option from its default using\n     * ngFormOptions.\n     *\n     * ```html\n     * <form [ngFormOptions]=\"{updateOn: 'blur'}\">\n     *    <input name=\"one\" ngModel>  <!-- this ngModel will update on blur -->\n     * </form>\n     * ```\n     *\n     * \\@ngModule FormsModule\n     * \\@publicApi\n     */\n\n    var NgForm =\n    /*#__PURE__*/\n    function (_ControlContainer) {\n      _inherits(NgForm, _ControlContainer);\n\n      /**\n       * @param {?} validators\n       * @param {?} asyncValidators\n       */\n      function NgForm(validators, asyncValidators) {\n        var _this571;\n\n        _classCallCheck(this, NgForm);\n\n        _this571 = _possibleConstructorReturn(this, _getPrototypeOf(NgForm).call(this));\n        /**\n         * \\@description\n         * Returns whether the form submission has been triggered.\n         */\n\n        _this571.submitted = false;\n        _this571._directives = [];\n        /**\n         * \\@description\n         * Event emitter for the \"ngSubmit\" event\n         */\n\n        _this571.ngSubmit = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"EventEmitter\"]();\n        _this571.form = new FormGroup({}, composeValidators(validators), composeAsyncValidators(asyncValidators));\n        return _this571;\n      }\n      /**\n       * \\@description\n       * Lifecycle method called after the view is initialized. For internal use only.\n       * @return {?}\n       */\n\n\n      _createClass2(NgForm, [{\n        key: \"ngAfterViewInit\",\n        value: function ngAfterViewInit() {\n          this._setUpdateStrategy();\n        }\n        /**\n         * \\@description\n         * The directive instance.\n         * @return {?}\n         */\n\n      }, {\n        key: \"addControl\",\n\n        /**\n         * \\@description\n         * Method that sets up the control directive in this group, re-calculates its value\n         * and validity, and adds the instance to the internal list of directives.\n         *\n         * @param {?} dir The `NgModel` directive instance.\n         * @return {?}\n         */\n        value: function addControl(dir) {\n          var _this572 = this;\n\n          resolvedPromise.then(\n          /**\n          * @return {?}\n          */\n          function () {\n            /** @type {?} */\n            var container = _this572._findContainer(dir.path);\n\n            /** @type {?} */\n            dir.control =\n            /** @type {?} */\n            container.registerControl(dir.name, dir.control);\n            setUpControl(dir.control, dir);\n            dir.control.updateValueAndValidity({\n              emitEvent: false\n            });\n\n            _this572._directives.push(dir);\n          });\n        }\n        /**\n         * \\@description\n         * Retrieves the `FormControl` instance from the provided `NgModel` directive.\n         *\n         * @param {?} dir The `NgModel` directive instance.\n         * @return {?}\n         */\n\n      }, {\n        key: \"getControl\",\n        value: function getControl(dir) {\n          return (\n            /** @type {?} */\n            this.form.get(dir.path)\n          );\n        }\n        /**\n         * \\@description\n         * Removes the `NgModel` instance from the internal list of directives\n         *\n         * @param {?} dir The `NgModel` directive instance.\n         * @return {?}\n         */\n\n      }, {\n        key: \"removeControl\",\n        value: function removeControl(dir) {\n          var _this573 = this;\n\n          resolvedPromise.then(\n          /**\n          * @return {?}\n          */\n          function () {\n            /** @type {?} */\n            var container = _this573._findContainer(dir.path);\n\n            if (container) {\n              container.removeControl(dir.name);\n            }\n\n            removeDir(_this573._directives, dir);\n          });\n        }\n        /**\n         * \\@description\n         * Adds a new `NgModelGroup` directive instance to the form.\n         *\n         * @param {?} dir The `NgModelGroup` directive instance.\n         * @return {?}\n         */\n\n      }, {\n        key: \"addFormGroup\",\n        value: function addFormGroup(dir) {\n          var _this574 = this;\n\n          resolvedPromise.then(\n          /**\n          * @return {?}\n          */\n          function () {\n            /** @type {?} */\n            var container = _this574._findContainer(dir.path);\n            /** @type {?} */\n\n\n            var group = new FormGroup({});\n            setUpFormContainer(group, dir);\n            container.registerControl(dir.name, group);\n            group.updateValueAndValidity({\n              emitEvent: false\n            });\n          });\n        }\n        /**\n         * \\@description\n         * Removes the `NgModelGroup` directive instance from the form.\n         *\n         * @param {?} dir The `NgModelGroup` directive instance.\n         * @return {?}\n         */\n\n      }, {\n        key: \"removeFormGroup\",\n        value: function removeFormGroup(dir) {\n          var _this575 = this;\n\n          resolvedPromise.then(\n          /**\n          * @return {?}\n          */\n          function () {\n            /** @type {?} */\n            var container = _this575._findContainer(dir.path);\n\n            if (container) {\n              container.removeControl(dir.name);\n            }\n          });\n        }\n        /**\n         * \\@description\n         * Retrieves the `FormGroup` for a provided `NgModelGroup` directive instance\n         *\n         * @param {?} dir The `NgModelGroup` directive instance.\n         * @return {?}\n         */\n\n      }, {\n        key: \"getFormGroup\",\n        value: function getFormGroup(dir) {\n          return (\n            /** @type {?} */\n            this.form.get(dir.path)\n          );\n        }\n        /**\n         * Sets the new value for the provided `NgControl` directive.\n         *\n         * @param {?} dir The `NgControl` directive instance.\n         * @param {?} value The new value for the directive's control.\n         * @return {?}\n         */\n\n      }, {\n        key: \"updateModel\",\n        value: function updateModel(dir, value) {\n          var _this576 = this;\n\n          resolvedPromise.then(\n          /**\n          * @return {?}\n          */\n          function () {\n            /** @type {?} */\n            var ctrl =\n            /** @type {?} */\n            _this576.form.get(\n            /** @type {?} */\n            dir.path);\n\n            ctrl.setValue(value);\n          });\n        }\n        /**\n         * \\@description\n         * Sets the value for this `FormGroup`.\n         *\n         * @param {?} value The new value\n         * @return {?}\n         */\n\n      }, {\n        key: \"setValue\",\n        value: function setValue(value) {\n          this.control.setValue(value);\n        }\n        /**\n         * \\@description\n         * Method called when the \"submit\" event is triggered on the form.\n         * Triggers the `ngSubmit` emitter to emit the \"submit\" event as its payload.\n         *\n         * @param {?} $event The \"submit\" event object\n         * @return {?}\n         */\n\n      }, {\n        key: \"onSubmit\",\n        value: function onSubmit($event) {\n          /** @type {?} */\n          this.submitted = true;\n          syncPendingControls(this.form, this._directives);\n          this.ngSubmit.emit($event);\n          return false;\n        }\n        /**\n         * \\@description\n         * Method called when the \"reset\" event is triggered on the form.\n         * @return {?}\n         */\n\n      }, {\n        key: \"onReset\",\n        value: function onReset() {\n          this.resetForm();\n        }\n        /**\n         * \\@description\n         * Resets the form to an initial value and resets its submitted status.\n         *\n         * @param {?=} value The new value for the form.\n         * @return {?}\n         */\n\n      }, {\n        key: \"resetForm\",\n        value: function resetForm() {\n          var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : undefined;\n          this.form.reset(value);\n\n          /** @type {?} */\n          this.submitted = false;\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_setUpdateStrategy\",\n        value: function _setUpdateStrategy() {\n          if (this.options && this.options.updateOn != null) {\n            this.form._updateOn = this.options.updateOn;\n          }\n        }\n        /**\n         * \\@internal\n         * @param {?} path\n         * @return {?}\n         */\n\n      }, {\n        key: \"_findContainer\",\n        value: function _findContainer(path) {\n          path.pop();\n          return path.length ?\n          /** @type {?} */\n          this.form.get(path) : this.form;\n        }\n      }, {\n        key: \"formDirective\",\n        get: function get() {\n          return this;\n        }\n        /**\n         * \\@description\n         * The internal `FormGroup` instance.\n         * @return {?}\n         */\n\n      }, {\n        key: \"control\",\n        get: function get() {\n          return this.form;\n        }\n        /**\n         * \\@description\n         * Returns an array representing the path to this group. Because this directive\n         * always lives at the top level of a form, it is always an empty array.\n         * @return {?}\n         */\n\n      }, {\n        key: \"path\",\n        get: function get() {\n          return [];\n        }\n        /**\n         * \\@description\n         * Returns a map of the controls in this group.\n         * @return {?}\n         */\n\n      }, {\n        key: \"controls\",\n        get: function get() {\n          return this.form.controls;\n        }\n      }]);\n\n      return NgForm;\n    }(ControlContainer);\n\n    NgForm.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: 'form:not([ngNoForm]):not([formGroup]),ngForm,ng-form,[ngForm]',\n        providers: [formDirectiveProvider],\n        host: {\n          '(submit)': 'onSubmit($event)',\n          '(reset)': 'onReset()'\n        },\n        outputs: ['ngSubmit'],\n        exportAs: 'ngForm'\n      }]\n    }];\n    /** @nocollapse */\n\n    NgForm.ctorParameters = function () {\n      return [{\n        type: Array,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [NG_VALIDATORS]\n        }]\n      }, {\n        type: Array,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [NG_ASYNC_VALIDATORS]\n        }]\n      }];\n    };\n\n    NgForm.propDecorators = {\n      options: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"],\n        args: ['ngFormOptions']\n      }]\n    };\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n\n    var TemplateDrivenErrors =\n    /*#__PURE__*/\n    function () {\n      function TemplateDrivenErrors() {\n        _classCallCheck(this, TemplateDrivenErrors);\n      }\n\n      _createClass2(TemplateDrivenErrors, null, [{\n        key: \"modelParentException\",\n\n        /**\n         * @return {?}\n         */\n        value: function modelParentException() {\n          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      \".concat(FormErrorExamples.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      \").concat(FormErrorExamples.ngModelWithFormGroup));\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"formGroupNameException\",\n        value: function formGroupNameException() {\n          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      \".concat(FormErrorExamples.formGroupName, \"\\n\\n      Option 2:  Update ngModel's parent be ngModelGroup (template-driven strategy):\\n\\n      \").concat(FormErrorExamples.ngModelGroup));\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"missingNameException\",\n        value: function missingNameException() {\n          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: <input [(ngModel)]=\\\"person.firstName\\\" name=\\\"first\\\">\\n      Example 2: <input [(ngModel)]=\\\"person.firstName\\\" [ngModelOptions]=\\\"{standalone: true}\\\">\");\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"modelGroupParentException\",\n        value: function modelGroupParentException() {\n          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      \".concat(FormErrorExamples.formGroupName, \"\\n\\n      Option 2:  Use a regular form tag instead of the formGroup directive (template-driven strategy):\\n\\n      \").concat(FormErrorExamples.ngModelGroup));\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngFormWarning\",\n        value: function ngFormWarning() {\n          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    <ngForm #myForm=\\\"ngForm\\\">\\n\\n    After:\\n    <ng-form #myForm=\\\"ngForm\\\">\\n    \");\n        }\n      }]);\n\n      return TemplateDrivenErrors;\n    }();\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * \\@description\n     * `InjectionToken` to provide to turn off the warning when using 'ngForm' deprecated selector.\n     * @type {?}\n     */\n\n\n    var NG_FORM_SELECTOR_WARNING = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('NgFormSelectorWarning');\n    /**\n     * This directive is solely used to display warnings when the deprecated `ngForm` selector is used.\n     *\n     * @deprecated in Angular v6 and will be removed in Angular v9.\n     * \\@ngModule FormsModule\n     * \\@publicApi\n     */\n\n    var NgFormSelectorWarning =\n    /**\n     * @param {?} ngFormWarning\n     */\n    function NgFormSelectorWarning(ngFormWarning) {\n      _classCallCheck(this, NgFormSelectorWarning);\n\n      if ((!ngFormWarning || ngFormWarning === 'once') && !NgFormSelectorWarning._ngFormWarning || ngFormWarning === 'always') {\n        TemplateDrivenErrors.ngFormWarning();\n        NgFormSelectorWarning._ngFormWarning = true;\n      }\n    };\n    /**\n     * Static property used to track whether the deprecation warning for this selector has been sent.\n     * Used to support warning config of \"once\".\n     *\n     * \\@internal\n     */\n\n\n    NgFormSelectorWarning._ngFormWarning = false;\n    NgFormSelectorWarning.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: 'ngForm'\n      }]\n    }];\n    /** @nocollapse */\n\n    NgFormSelectorWarning.ctorParameters = function () {\n      return [{\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [NG_FORM_SELECTOR_WARNING]\n        }]\n      }];\n    };\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * \\@description\n     * A base class for code shared between the `NgModelGroup` and `FormGroupName` directives.\n     *\n     * \\@publicApi\n     */\n\n\n    var AbstractFormGroupDirective =\n    /*#__PURE__*/\n    function (_ControlContainer2) {\n      _inherits(AbstractFormGroupDirective, _ControlContainer2);\n\n      function AbstractFormGroupDirective() {\n        _classCallCheck(this, AbstractFormGroupDirective);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(AbstractFormGroupDirective).apply(this, arguments));\n      }\n\n      _createClass2(AbstractFormGroupDirective, [{\n        key: \"ngOnInit\",\n\n        /**\n         * \\@description\n         * An internal callback method triggered on the instance after the inputs are set.\n         * Registers the group with its parent group.\n         * @return {?}\n         */\n        value: function ngOnInit() {\n          this._checkParentType();\n\n          /** @type {?} */\n          this.formDirective.addFormGroup(this);\n        }\n        /**\n         * \\@description\n         * An internal callback method triggered before the instance is destroyed.\n         * Removes the group from its parent group.\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          if (this.formDirective) {\n            this.formDirective.removeFormGroup(this);\n          }\n        }\n        /**\n         * \\@description\n         * The `FormGroup` bound to this directive.\n         * @return {?}\n         */\n\n      }, {\n        key: \"_checkParentType\",\n\n        /**\n         * \\@internal\n         * @return {?}\n         */\n        value: function _checkParentType() {}\n      }, {\n        key: \"control\",\n        get: function get() {\n          return (\n            /** @type {?} */\n            this.formDirective.getFormGroup(this)\n          );\n        }\n        /**\n         * \\@description\n         * The path to this group from the top-level directive.\n         * @return {?}\n         */\n\n      }, {\n        key: \"path\",\n        get: function get() {\n          return controlPath(this.name, this._parent);\n        }\n        /**\n         * \\@description\n         * The top-level directive for this group if present, otherwise null.\n         * @return {?}\n         */\n\n      }, {\n        key: \"formDirective\",\n        get: function get() {\n          return this._parent ? this._parent.formDirective : null;\n        }\n        /**\n         * \\@description\n         * The synchronous validators registered with this group.\n         * @return {?}\n         */\n\n      }, {\n        key: \"validator\",\n        get: function get() {\n          return composeValidators(this._validators);\n        }\n        /**\n         * \\@description\n         * The async validators registered with this group.\n         * @return {?}\n         */\n\n      }, {\n        key: \"asyncValidator\",\n        get: function get() {\n          return composeAsyncValidators(this._asyncValidators);\n        }\n      }]);\n\n      return AbstractFormGroupDirective;\n    }(ControlContainer);\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var modelGroupProvider = {\n      provide: ControlContainer,\n      useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])(\n      /**\n      * @return {?}\n      */\n      function () {\n        return NgModelGroup;\n      })\n    };\n    /**\n     * \\@description\n     * Creates and binds a `FormGroup` instance to a DOM element.\n     *\n     * This directive can only be used as a child of `NgForm` (within `<form>` tags).\n     *\n     * Use this directive to validate a sub-group of your form separately from the\n     * rest of your form, or if some values in your domain model make more sense\n     * to consume together in a nested object.\n     *\n     * Provide a name for the sub-group and it will become the key\n     * for the sub-group in the form's full value. If you need direct access, export the directive into\n     * a local template variable using `ngModelGroup` (ex: `#myGroup=\"ngModelGroup\"`).\n     *\n     * \\@usageNotes\n     *\n     * ### Consuming controls in a grouping\n     *\n     * The following example shows you how to combine controls together in a sub-group\n     * of the form.\n     *\n     * {\\@example forms/ts/ngModelGroup/ng_model_group_example.ts region='Component'}\n     *\n     * \\@ngModule FormsModule\n     * \\@publicApi\n     */\n\n    var NgModelGroup =\n    /*#__PURE__*/\n    function (_AbstractFormGroupDir) {\n      _inherits(NgModelGroup, _AbstractFormGroupDir);\n\n      /**\n       * @param {?} parent\n       * @param {?} validators\n       * @param {?} asyncValidators\n       */\n      function NgModelGroup(parent, validators, asyncValidators) {\n        var _this577;\n\n        _classCallCheck(this, NgModelGroup);\n\n        _this577 = _possibleConstructorReturn(this, _getPrototypeOf(NgModelGroup).call(this));\n        _this577._parent = parent;\n        _this577._validators = validators;\n        _this577._asyncValidators = asyncValidators;\n        return _this577;\n      }\n      /**\n       * \\@internal\n       * @return {?}\n       */\n\n\n      _createClass2(NgModelGroup, [{\n        key: \"_checkParentType\",\n        value: function _checkParentType() {\n          if (!(this._parent instanceof NgModelGroup) && !(this._parent instanceof NgForm)) {\n            TemplateDrivenErrors.modelGroupParentException();\n          }\n        }\n      }]);\n\n      return NgModelGroup;\n    }(AbstractFormGroupDirective);\n\n    NgModelGroup.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: '[ngModelGroup]',\n        providers: [modelGroupProvider],\n        exportAs: 'ngModelGroup'\n      }]\n    }];\n    /** @nocollapse */\n\n    NgModelGroup.ctorParameters = function () {\n      return [{\n        type: ControlContainer,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Host\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"SkipSelf\"]\n        }]\n      }, {\n        type: Array,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [NG_VALIDATORS]\n        }]\n      }, {\n        type: Array,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [NG_ASYNC_VALIDATORS]\n        }]\n      }];\n    };\n\n    NgModelGroup.propDecorators = {\n      name: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"],\n        args: ['ngModelGroup']\n      }]\n    };\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var formControlBinding = {\n      provide: NgControl,\n      useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])(\n      /**\n      * @return {?}\n      */\n      function () {\n        return NgModel;\n      })\n    };\n\n    var ɵ0$1 =\n    /**\n    * @return {?}\n    */\n    function ɵ0$1() {\n      return Promise.resolve(null);\n    };\n    /**\n     * `ngModel` forces an additional change detection run when its inputs change:\n     * E.g.:\n     * ```\n     * <div>{{myModel.valid}}</div>\n     * <input [(ngModel)]=\"myValue\" #myModel=\"ngModel\">\n     * ```\n     * I.e. `ngModel` can export itself on the element and then be used in the template.\n     * Normally, this would result in expressions before the `input` that use the exported directive\n     * to have and old value as they have been\n     * dirty checked before. As this is a very common case for `ngModel`, we added this second change\n     * detection run.\n     *\n     * Notes:\n     * - this is just one extra run no matter how many `ngModel` have been changed.\n     * - this is a general problem when using `exportAs` for directives!\n     * @type {?}\n     */\n\n\n    var resolvedPromise$1 = ɵ0$1();\n    /**\n     * \\@description\n     * Creates a `FormControl` instance from a domain model and binds it\n     * to a form control element.\n     *\n     * The `FormControl` instance tracks the value, user interaction, and\n     * validation status of the control and keeps the view synced with the model. If used\n     * within a parent form, the directive also registers itself with the form as a child\n     * control.\n     *\n     * This directive is used by itself or as part of a larger form. Use the\n     * `ngModel` selector to activate it.\n     *\n     * It accepts a domain model as an optional `Input`. If you have a one-way binding\n     * to `ngModel` with `[]` syntax, changing the value of the domain model in the component\n     * class sets the value in the view. If you have a two-way binding with `[()]` syntax\n     * (also known as 'banana-box syntax'), the value in the UI always syncs back to\n     * the domain model in your class.\n     *\n     * To inspect the properties of the associated `FormControl` (like validity state),\n     * export the directive into a local template variable using `ngModel` as the key (ex: `#myVar=\"ngModel\"`).\n     * You then access the control using the directive's `control` property,\n     * but most properties used (like `valid` and `dirty`) fall through to the control anyway for direct access.\n     * See a full list of properties directly available in `AbstractControlDirective`.\n     *\n     * @see `RadioControlValueAccessor`\n     * @see `SelectControlValueAccessor`\n     *\n     * \\@usageNotes\n     *\n     * ### Using ngModel on a standalone control\n     *\n     * The following examples show a simple standalone control using `ngModel`:\n     *\n     * {\\@example forms/ts/simpleNgModel/simple_ng_model_example.ts region='Component'}\n     *\n     * When using the `ngModel` within `<form>` tags, you'll also need to supply a `name` attribute\n     * so that the control can be registered with the parent form under that name.\n     *\n     * In the context of a parent form, it's often unnecessary to include one-way or two-way binding,\n     * as the parent form syncs the value for you. You access its properties by exporting it into a\n     * local template variable using `ngForm` such as (`#f=\"ngForm\"`). Use the variable where\n     * needed on form submission.\n     *\n     * If you do need to populate initial values into your form, using a one-way binding for\n     * `ngModel` tends to be sufficient as long as you use the exported form's value rather\n     * than the domain model's value on submit.\n     *\n     * ### Using ngModel within a form\n     *\n     * The following example shows controls using `ngModel` within a form:\n     *\n     * {\\@example forms/ts/simpleForm/simple_form_example.ts region='Component'}\n     *\n     * ### Using a standalone ngModel within a group\n     *\n     * The following example shows you how to use a standalone ngModel control\n     * within a form. This controls the display of the form, but doesn't contain form data.\n     *\n     * ```html\n     * <form>\n     *   <input name=\"login\" ngModel placeholder=\"Login\">\n     *   <input type=\"checkbox\" ngModel [ngModelOptions]=\"{standalone: true}\"> Show more options?\n     * </form>\n     * <!-- form value: {login: ''} -->\n     * ```\n     *\n     * ### Setting the ngModel name attribute through options\n     *\n     * The following example shows you an alternate way to set the name attribute. The name attribute is used\n     * within a custom form component, and the name `\\@Input` property serves a different purpose.\n     *\n     * ```html\n     * <form>\n     *   <my-person-control name=\"Nancy\" ngModel [ngModelOptions]=\"{name: 'user'}\">\n     *   </my-person-control>\n     * </form>\n     * <!-- form value: {user: ''} -->\n     * ```\n     *\n     * \\@ngModule FormsModule\n     * \\@publicApi\n     */\n\n    var NgModel =\n    /*#__PURE__*/\n    function (_NgControl) {\n      _inherits(NgModel, _NgControl);\n\n      /**\n       * @param {?} parent\n       * @param {?} validators\n       * @param {?} asyncValidators\n       * @param {?} valueAccessors\n       */\n      function NgModel(parent, validators, asyncValidators, valueAccessors) {\n        var _this578;\n\n        _classCallCheck(this, NgModel);\n\n        _this578 = _possibleConstructorReturn(this, _getPrototypeOf(NgModel).call(this));\n        _this578.control = new FormControl();\n        /**\n         * \\@internal\n         */\n\n        _this578._registered = false;\n        /**\n         * \\@description\n         * Event emitter for producing the `ngModelChange` event after\n         * the view model updates.\n         */\n\n        _this578.update = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"EventEmitter\"]();\n        _this578._parent = parent;\n        _this578._rawValidators = validators || [];\n        _this578._rawAsyncValidators = asyncValidators || [];\n        _this578.valueAccessor = selectValueAccessor(_assertThisInitialized(_this578), valueAccessors);\n        return _this578;\n      }\n      /**\n       * \\@description\n       * A lifecycle method called when the directive's inputs change. For internal use\n       * only.\n       *\n       * @param {?} changes A object of key/value pairs for the set of changed inputs.\n       * @return {?}\n       */\n\n\n      _createClass2(NgModel, [{\n        key: \"ngOnChanges\",\n        value: function ngOnChanges(changes) {\n          this._checkForErrors();\n\n          if (!this._registered) this._setUpControl();\n\n          if ('isDisabled' in changes) {\n            this._updateDisabled(changes);\n          }\n\n          if (isPropertyUpdated(changes, this.viewModel)) {\n            this._updateValue(this.model);\n\n            this.viewModel = this.model;\n          }\n        }\n        /**\n         * \\@description\n         * Lifecycle method called before the directive's instance is destroyed. For internal\n         * use only.\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          this.formDirective && this.formDirective.removeControl(this);\n        }\n        /**\n         * \\@description\n         * Returns an array that represents the path from the top-level form to this control.\n         * Each index is the string name of the control on that level.\n         * @return {?}\n         */\n\n      }, {\n        key: \"viewToModelUpdate\",\n\n        /**\n         * \\@description\n         * Sets the new value for the view model and emits an `ngModelChange` event.\n         *\n         * @param {?} newValue The new value emitted by `ngModelChange`.\n         * @return {?}\n         */\n        value: function viewToModelUpdate(newValue) {\n          this.viewModel = newValue;\n          this.update.emit(newValue);\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_setUpControl\",\n        value: function _setUpControl() {\n          this._setUpdateStrategy();\n\n          this._isStandalone() ? this._setUpStandalone() : this.formDirective.addControl(this);\n          this._registered = true;\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_setUpdateStrategy\",\n        value: function _setUpdateStrategy() {\n          if (this.options && this.options.updateOn != null) {\n            this.control._updateOn = this.options.updateOn;\n          }\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_isStandalone\",\n        value: function _isStandalone() {\n          return !this._parent || !!(this.options && this.options.standalone);\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_setUpStandalone\",\n        value: function _setUpStandalone() {\n          setUpControl(this.control, this);\n          this.control.updateValueAndValidity({\n            emitEvent: false\n          });\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_checkForErrors\",\n        value: function _checkForErrors() {\n          if (!this._isStandalone()) {\n            this._checkParentType();\n          }\n\n          this._checkName();\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_checkParentType\",\n        value: function _checkParentType() {\n          if (!(this._parent instanceof NgModelGroup) && this._parent instanceof AbstractFormGroupDirective) {\n            TemplateDrivenErrors.formGroupNameException();\n          } else if (!(this._parent instanceof NgModelGroup) && !(this._parent instanceof NgForm)) {\n            TemplateDrivenErrors.modelParentException();\n          }\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_checkName\",\n        value: function _checkName() {\n          if (this.options && this.options.name) this.name = this.options.name;\n\n          if (!this._isStandalone() && !this.name) {\n            TemplateDrivenErrors.missingNameException();\n          }\n        }\n        /**\n         * @private\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"_updateValue\",\n        value: function _updateValue(value) {\n          var _this579 = this;\n\n          resolvedPromise$1.then(\n          /**\n          * @return {?}\n          */\n          function () {\n            _this579.control.setValue(value, {\n              emitViewToModelChange: false\n            });\n          });\n        }\n        /**\n         * @private\n         * @param {?} changes\n         * @return {?}\n         */\n\n      }, {\n        key: \"_updateDisabled\",\n        value: function _updateDisabled(changes) {\n          var _this580 = this;\n\n          /** @type {?} */\n          var disabledValue = changes['isDisabled'].currentValue;\n          /** @type {?} */\n\n          var isDisabled = disabledValue === '' || disabledValue && disabledValue !== 'false';\n          resolvedPromise$1.then(\n          /**\n          * @return {?}\n          */\n          function () {\n            if (isDisabled && !_this580.control.disabled) {\n              _this580.control.disable();\n            } else if (!isDisabled && _this580.control.disabled) {\n              _this580.control.enable();\n            }\n          });\n        }\n      }, {\n        key: \"path\",\n        get: function get() {\n          return this._parent ? controlPath(this.name, this._parent) : [this.name];\n        }\n        /**\n         * \\@description\n         * The top-level directive for this control if present, otherwise null.\n         * @return {?}\n         */\n\n      }, {\n        key: \"formDirective\",\n        get: function get() {\n          return this._parent ? this._parent.formDirective : null;\n        }\n        /**\n         * \\@description\n         * Synchronous validator function composed of all the synchronous validators\n         * registered with this directive.\n         * @return {?}\n         */\n\n      }, {\n        key: \"validator\",\n        get: function get() {\n          return composeValidators(this._rawValidators);\n        }\n        /**\n         * \\@description\n         * Async validator function composed of all the async validators registered with this\n         * directive.\n         * @return {?}\n         */\n\n      }, {\n        key: \"asyncValidator\",\n        get: function get() {\n          return composeAsyncValidators(this._rawAsyncValidators);\n        }\n      }]);\n\n      return NgModel;\n    }(NgControl);\n\n    NgModel.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: '[ngModel]:not([formControlName]):not([formControl])',\n        providers: [formControlBinding],\n        exportAs: 'ngModel'\n      }]\n    }];\n    /** @nocollapse */\n\n    NgModel.ctorParameters = function () {\n      return [{\n        type: ControlContainer,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Host\"]\n        }]\n      }, {\n        type: Array,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [NG_VALIDATORS]\n        }]\n      }, {\n        type: Array,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [NG_ASYNC_VALIDATORS]\n        }]\n      }, {\n        type: Array,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [NG_VALUE_ACCESSOR]\n        }]\n      }];\n    };\n\n    NgModel.propDecorators = {\n      name: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"]\n      }],\n      isDisabled: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"],\n        args: ['disabled']\n      }],\n      model: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"],\n        args: ['ngModel']\n      }],\n      options: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"],\n        args: ['ngModelOptions']\n      }],\n      update: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Output\"],\n        args: ['ngModelChange']\n      }]\n    };\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * \\@description\n     *\n     * Adds `novalidate` attribute to all forms by default.\n     *\n     * `novalidate` is used to disable browser's native form validation.\n     *\n     * If you want to use native validation with Angular forms, just add `ngNativeValidate` attribute:\n     *\n     * ```\n     * <form ngNativeValidate></form>\n     * ```\n     *\n     * \\@publicApi\n     * \\@ngModule ReactiveFormsModule\n     * \\@ngModule FormsModule\n     */\n\n\n    var ɵNgNoValidate = function ɵNgNoValidate() {\n      _classCallCheck(this, ɵNgNoValidate);\n    };\n\n    ɵNgNoValidate.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: 'form:not([ngNoForm]):not([ngNativeValidate])',\n        host: {\n          'novalidate': ''\n        }\n      }]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Token to provide to turn off the ngModel warning on formControl and formControlName.\n     * @type {?}\n     */\n\n    var NG_MODEL_WITH_FORM_CONTROL_WARNING = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('NgModelWithFormControlWarning');\n    /** @type {?} */\n\n    var formControlBinding$1 = {\n      provide: NgControl,\n      useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])(\n      /**\n      * @return {?}\n      */\n      function () {\n        return FormControlDirective;\n      })\n    };\n    /**\n     * \\@description\n     * * Syncs a standalone `FormControl` instance to a form control element.\n     *\n     * @see [Reactive Forms Guide](guide/reactive-forms)\n     * @see `FormControl`\n     * @see `AbstractControl`\n     *\n     * \\@usageNotes\n     *\n     * ### Registering a single form control\n     *\n     * The following examples shows how to register a standalone control and set its value.\n     *\n     * {\\@example forms/ts/simpleFormControl/simple_form_control_example.ts region='Component'}\n     *\n     * ### Use with ngModel\n     *\n     * Support for using the `ngModel` input property and `ngModelChange` event with reactive\n     * form directives has been deprecated in Angular v6 and will be removed in Angular v7.\n     *\n     * Now deprecated:\n     *\n     * ```html\n     * <input [formControl]=\"control\" [(ngModel)]=\"value\">\n     * ```\n     *\n     * ```ts\n     * this.value = 'some value';\n     * ```\n     *\n     * This has been deprecated for a few reasons. First, developers have found this pattern\n     * confusing. It seems like the actual `ngModel` directive is being used, but in fact it's\n     * an input/output property named `ngModel` on the reactive form directive that simply\n     * approximates (some of) its behavior. Specifically, it allows getting/setting the value\n     * and intercepting value events. However, some of `ngModel`'s other features - like\n     * delaying updates with`ngModelOptions` or exporting the directive - simply don't work,\n     * which has understandably caused some confusion.\n     *\n     * In addition, this pattern mixes template-driven and reactive forms strategies, which\n     * we generally don't recommend because it doesn't take advantage of the full benefits of\n     * either strategy. Setting the value in the template violates the template-agnostic\n     * principles behind reactive forms, whereas adding a `FormControl`/`FormGroup` layer in\n     * the class removes the convenience of defining forms in the template.\n     *\n     * To update your code before v7, you'll want to decide whether to stick with reactive form\n     * directives (and get/set values using reactive forms patterns) or switch over to\n     * template-driven directives.\n     *\n     * After (choice 1 - use reactive forms):\n     *\n     * ```html\n     * <input [formControl]=\"control\">\n     * ```\n     *\n     * ```ts\n     * this.control.setValue('some value');\n     * ```\n     *\n     * After (choice 2 - use template-driven forms):\n     *\n     * ```html\n     * <input [(ngModel)]=\"value\">\n     * ```\n     *\n     * ```ts\n     * this.value = 'some value';\n     * ```\n     *\n     * By default, when you use this pattern, you will see a deprecation warning once in dev\n     * mode. You can choose to silence this warning by providing a config for\n     * `ReactiveFormsModule` at import time:\n     *\n     * ```ts\n     * imports: [\n     *   ReactiveFormsModule.withConfig({warnOnNgModelWithFormControl: 'never'});\n     * ]\n     * ```\n     *\n     * Alternatively, you can choose to surface a separate warning for each instance of this\n     * pattern with a config value of `\"always\"`. This may help to track down where in the code\n     * the pattern is being used as the code is being updated.\n     *\n     * \\@ngModule ReactiveFormsModule\n     * \\@publicApi\n     */\n\n    var FormControlDirective =\n    /*#__PURE__*/\n    function (_NgControl2) {\n      _inherits(FormControlDirective, _NgControl2);\n\n      /**\n       * @param {?} validators\n       * @param {?} asyncValidators\n       * @param {?} valueAccessors\n       * @param {?} _ngModelWarningConfig\n       */\n      function FormControlDirective(validators, asyncValidators, valueAccessors, _ngModelWarningConfig) {\n        var _this581;\n\n        _classCallCheck(this, FormControlDirective);\n\n        _this581 = _possibleConstructorReturn(this, _getPrototypeOf(FormControlDirective).call(this));\n        _this581._ngModelWarningConfig = _ngModelWarningConfig;\n        /**\n         * @deprecated as of v6\n         */\n\n        _this581.update = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"EventEmitter\"]();\n        /**\n         * \\@description\n         * Instance property used to track whether an ngModel warning has been sent out for this\n         * particular `FormControlDirective` instance. Used to support warning config of \"always\".\n         *\n         * \\@internal\n         */\n\n        _this581._ngModelWarningSent = false;\n        _this581._rawValidators = validators || [];\n        _this581._rawAsyncValidators = asyncValidators || [];\n        _this581.valueAccessor = selectValueAccessor(_assertThisInitialized(_this581), valueAccessors);\n        return _this581;\n      }\n      /**\n       * \\@description\n       * Triggers a warning that this input should not be used with reactive forms.\n       * @param {?} isDisabled\n       * @return {?}\n       */\n\n\n      _createClass2(FormControlDirective, [{\n        key: \"ngOnChanges\",\n\n        /**\n         * \\@description\n         * A lifecycle method called when the directive's inputs change. For internal use\n         * only.\n         *\n         * @param {?} changes A object of key/value pairs for the set of changed inputs.\n         * @return {?}\n         */\n        value: function ngOnChanges(changes) {\n          if (this._isControlChanged(changes)) {\n            setUpControl(this.form, this);\n\n            if (this.control.disabled &&\n            /** @type {?} */\n            this.valueAccessor.setDisabledState) {\n              /** @type {?} */\n\n              /** @type {?} */\n              this.valueAccessor.setDisabledState(true);\n            }\n\n            this.form.updateValueAndValidity({\n              emitEvent: false\n            });\n          }\n\n          if (isPropertyUpdated(changes, this.viewModel)) {\n            _ngModelWarning('formControl', FormControlDirective, this, this._ngModelWarningConfig);\n\n            this.form.setValue(this.model);\n            this.viewModel = this.model;\n          }\n        }\n        /**\n         * \\@description\n         * Returns an array that represents the path from the top-level form to this control.\n         * Each index is the string name of the control on that level.\n         * @return {?}\n         */\n\n      }, {\n        key: \"viewToModelUpdate\",\n\n        /**\n         * \\@description\n         * Sets the new value for the view model and emits an `ngModelChange` event.\n         *\n         * @param {?} newValue The new value for the view model.\n         * @return {?}\n         */\n        value: function viewToModelUpdate(newValue) {\n          this.viewModel = newValue;\n          this.update.emit(newValue);\n        }\n        /**\n         * @private\n         * @param {?} changes\n         * @return {?}\n         */\n\n      }, {\n        key: \"_isControlChanged\",\n        value: function _isControlChanged(changes) {\n          return changes.hasOwnProperty('form');\n        }\n      }, {\n        key: \"isDisabled\",\n        set: function set(isDisabled) {\n          ReactiveErrors.disabledAttrWarning();\n        }\n      }, {\n        key: \"path\",\n        get: function get() {\n          return [];\n        }\n        /**\n         * \\@description\n         * Synchronous validator function composed of all the synchronous validators\n         * registered with this directive.\n         * @return {?}\n         */\n\n      }, {\n        key: \"validator\",\n        get: function get() {\n          return composeValidators(this._rawValidators);\n        }\n        /**\n         * \\@description\n         * Async validator function composed of all the async validators registered with this\n         * directive.\n         * @return {?}\n         */\n\n      }, {\n        key: \"asyncValidator\",\n        get: function get() {\n          return composeAsyncValidators(this._rawAsyncValidators);\n        }\n        /**\n         * \\@description\n         * The `FormControl` bound to this directive.\n         * @return {?}\n         */\n\n      }, {\n        key: \"control\",\n        get: function get() {\n          return this.form;\n        }\n      }]);\n\n      return FormControlDirective;\n    }(NgControl);\n    /**\n     * \\@description\n     * Static property used to track whether any ngModel warnings have been sent across\n     * all instances of FormControlDirective. Used to support warning config of \"once\".\n     *\n     * \\@internal\n     */\n\n\n    FormControlDirective._ngModelWarningSentOnce = false;\n    FormControlDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: '[formControl]',\n        providers: [formControlBinding$1],\n        exportAs: 'ngForm'\n      }]\n    }];\n    /** @nocollapse */\n\n    FormControlDirective.ctorParameters = function () {\n      return [{\n        type: Array,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [NG_VALIDATORS]\n        }]\n      }, {\n        type: Array,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [NG_ASYNC_VALIDATORS]\n        }]\n      }, {\n        type: Array,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [NG_VALUE_ACCESSOR]\n        }]\n      }, {\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [NG_MODEL_WITH_FORM_CONTROL_WARNING]\n        }]\n      }];\n    };\n\n    FormControlDirective.propDecorators = {\n      form: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"],\n        args: ['formControl']\n      }],\n      isDisabled: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"],\n        args: ['disabled']\n      }],\n      model: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"],\n        args: ['ngModel']\n      }],\n      update: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Output\"],\n        args: ['ngModelChange']\n      }]\n    };\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var formDirectiveProvider$1 = {\n      provide: ControlContainer,\n      useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])(\n      /**\n      * @return {?}\n      */\n      function () {\n        return FormGroupDirective;\n      })\n    };\n    /**\n     * \\@description\n     *\n     * Binds an existing `FormGroup` to a DOM element.\n     *\n     * This directive accepts an existing `FormGroup` instance. It will then use this\n     * `FormGroup` instance to match any child `FormControl`, `FormGroup`,\n     * and `FormArray` instances to child `FormControlName`, `FormGroupName`,\n     * and `FormArrayName` directives.\n     *\n     * @see [Reactive Forms Guide](guide/reactive-forms)\n     * @see `AbstractControl`\n     *\n     * ### Register Form Group\n     *\n     * The following example registers a `FormGroup` with first name and last name controls,\n     * and listens for the *ngSubmit* event when the button is clicked.\n     *\n     * {\\@example forms/ts/simpleFormGroup/simple_form_group_example.ts region='Component'}\n     *\n     * \\@ngModule ReactiveFormsModule\n     * \\@publicApi\n     */\n\n    var FormGroupDirective =\n    /*#__PURE__*/\n    function (_ControlContainer3) {\n      _inherits(FormGroupDirective, _ControlContainer3);\n\n      /**\n       * @param {?} _validators\n       * @param {?} _asyncValidators\n       */\n      function FormGroupDirective(_validators, _asyncValidators) {\n        var _this582;\n\n        _classCallCheck(this, FormGroupDirective);\n\n        _this582 = _possibleConstructorReturn(this, _getPrototypeOf(FormGroupDirective).call(this));\n        _this582._validators = _validators;\n        _this582._asyncValidators = _asyncValidators;\n        /**\n         * \\@description\n         * Reports whether the form submission has been triggered.\n         */\n\n        _this582.submitted = false;\n        /**\n         * \\@description\n         * Tracks the list of added `FormControlName` instances\n         */\n\n        _this582.directives = [];\n        /**\n         * \\@description\n         * Tracks the `FormGroup` bound to this directive.\n         */\n\n        _this582.form =\n        /** @type {?} */\n        null;\n        /**\n         * \\@description\n         * Emits an event when the form submission has been triggered.\n         */\n\n        _this582.ngSubmit = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"EventEmitter\"]();\n        return _this582;\n      }\n      /**\n       * \\@description\n       * A lifecycle method called when the directive's inputs change. For internal use only.\n       *\n       * @param {?} changes A object of key/value pairs for the set of changed inputs.\n       * @return {?}\n       */\n\n\n      _createClass2(FormGroupDirective, [{\n        key: \"ngOnChanges\",\n        value: function ngOnChanges(changes) {\n          this._checkFormPresent();\n\n          if (changes.hasOwnProperty('form')) {\n            this._updateValidators();\n\n            this._updateDomValue();\n\n            this._updateRegistrations();\n          }\n        }\n        /**\n         * \\@description\n         * Returns this directive's instance.\n         * @return {?}\n         */\n\n      }, {\n        key: \"addControl\",\n\n        /**\n         * \\@description\n         * Method that sets up the control directive in this group, re-calculates its value\n         * and validity, and adds the instance to the internal list of directives.\n         *\n         * @param {?} dir The `FormControlName` directive instance.\n         * @return {?}\n         */\n        value: function addControl(dir) {\n          /** @type {?} */\n          var ctrl = this.form.get(dir.path);\n          setUpControl(ctrl, dir);\n          ctrl.updateValueAndValidity({\n            emitEvent: false\n          });\n          this.directives.push(dir);\n          return ctrl;\n        }\n        /**\n         * \\@description\n         * Retrieves the `FormControl` instance from the provided `FormControlName` directive\n         *\n         * @param {?} dir The `FormControlName` directive instance.\n         * @return {?}\n         */\n\n      }, {\n        key: \"getControl\",\n        value: function getControl(dir) {\n          return (\n            /** @type {?} */\n            this.form.get(dir.path)\n          );\n        }\n        /**\n         * \\@description\n         * Removes the `FormControlName` instance from the internal list of directives\n         *\n         * @param {?} dir The `FormControlName` directive instance.\n         * @return {?}\n         */\n\n      }, {\n        key: \"removeControl\",\n        value: function removeControl(dir) {\n          removeDir(this.directives, dir);\n        }\n        /**\n         * Adds a new `FormGroupName` directive instance to the form.\n         *\n         * @param {?} dir The `FormGroupName` directive instance.\n         * @return {?}\n         */\n\n      }, {\n        key: \"addFormGroup\",\n        value: function addFormGroup(dir) {\n          /** @type {?} */\n          var ctrl = this.form.get(dir.path);\n          setUpFormContainer(ctrl, dir);\n          ctrl.updateValueAndValidity({\n            emitEvent: false\n          });\n        }\n        /**\n         * No-op method to remove the form group.\n         *\n         * @param {?} dir The `FormGroupName` directive instance.\n         * @return {?}\n         */\n\n      }, {\n        key: \"removeFormGroup\",\n        value: function removeFormGroup(dir) {}\n        /**\n         * \\@description\n         * Retrieves the `FormGroup` for a provided `FormGroupName` directive instance\n         *\n         * @param {?} dir The `FormGroupName` directive instance.\n         * @return {?}\n         */\n\n      }, {\n        key: \"getFormGroup\",\n        value: function getFormGroup(dir) {\n          return (\n            /** @type {?} */\n            this.form.get(dir.path)\n          );\n        }\n        /**\n         * Adds a new `FormArrayName` directive instance to the form.\n         *\n         * @param {?} dir The `FormArrayName` directive instance.\n         * @return {?}\n         */\n\n      }, {\n        key: \"addFormArray\",\n        value: function addFormArray(dir) {\n          /** @type {?} */\n          var ctrl = this.form.get(dir.path);\n          setUpFormContainer(ctrl, dir);\n          ctrl.updateValueAndValidity({\n            emitEvent: false\n          });\n        }\n        /**\n         * No-op method to remove the form array.\n         *\n         * @param {?} dir The `FormArrayName` directive instance.\n         * @return {?}\n         */\n\n      }, {\n        key: \"removeFormArray\",\n        value: function removeFormArray(dir) {}\n        /**\n         * \\@description\n         * Retrieves the `FormArray` for a provided `FormArrayName` directive instance.\n         *\n         * @param {?} dir The `FormArrayName` directive instance.\n         * @return {?}\n         */\n\n      }, {\n        key: \"getFormArray\",\n        value: function getFormArray(dir) {\n          return (\n            /** @type {?} */\n            this.form.get(dir.path)\n          );\n        }\n        /**\n         * Sets the new value for the provided `FormControlName` directive.\n         *\n         * @param {?} dir The `FormControlName` directive instance.\n         * @param {?} value The new value for the directive's control.\n         * @return {?}\n         */\n\n      }, {\n        key: \"updateModel\",\n        value: function updateModel(dir, value) {\n          /** @type {?} */\n          var ctrl =\n          /** @type {?} */\n          this.form.get(dir.path);\n          ctrl.setValue(value);\n        }\n        /**\n         * \\@description\n         * Method called with the \"submit\" event is triggered on the form.\n         * Triggers the `ngSubmit` emitter to emit the \"submit\" event as its payload.\n         *\n         * @param {?} $event The \"submit\" event object\n         * @return {?}\n         */\n\n      }, {\n        key: \"onSubmit\",\n        value: function onSubmit($event) {\n          /** @type {?} */\n          this.submitted = true;\n          syncPendingControls(this.form, this.directives);\n          this.ngSubmit.emit($event);\n          return false;\n        }\n        /**\n         * \\@description\n         * Method called when the \"reset\" event is triggered on the form.\n         * @return {?}\n         */\n\n      }, {\n        key: \"onReset\",\n        value: function onReset() {\n          this.resetForm();\n        }\n        /**\n         * \\@description\n         * Resets the form to an initial value and resets its submitted status.\n         *\n         * @param {?=} value The new value for the form.\n         * @return {?}\n         */\n\n      }, {\n        key: \"resetForm\",\n        value: function resetForm() {\n          var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : undefined;\n          this.form.reset(value);\n\n          /** @type {?} */\n          this.submitted = false;\n        }\n        /**\n         * \\@internal\n         * @return {?}\n         */\n\n      }, {\n        key: \"_updateDomValue\",\n        value: function _updateDomValue() {\n          var _this583 = this;\n\n          this.directives.forEach(\n          /**\n          * @param {?} dir\n          * @return {?}\n          */\n          function (dir) {\n            /** @type {?} */\n            var newCtrl = _this583.form.get(dir.path);\n\n            if (dir.control !== newCtrl) {\n              cleanUpControl(dir.control, dir);\n              if (newCtrl) setUpControl(newCtrl, dir);\n\n              /** @type {?} */\n              dir.control = newCtrl;\n            }\n          });\n\n          this.form._updateTreeValidity({\n            emitEvent: false\n          });\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_updateRegistrations\",\n        value: function _updateRegistrations() {\n          var _this584 = this;\n\n          this.form._registerOnCollectionChange(\n          /**\n          * @return {?}\n          */\n          function () {\n            return _this584._updateDomValue();\n          });\n\n          if (this._oldForm) this._oldForm._registerOnCollectionChange(\n          /**\n          * @return {?}\n          */\n          function () {});\n          this._oldForm = this.form;\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_updateValidators\",\n        value: function _updateValidators() {\n          /** @type {?} */\n          var sync = composeValidators(this._validators);\n          this.form.validator = Validators.compose([\n          /** @type {?} */\n          this.form.validator,\n          /** @type {?} */\n          sync]);\n          /** @type {?} */\n\n          var async = composeAsyncValidators(this._asyncValidators);\n          this.form.asyncValidator = Validators.composeAsync([\n          /** @type {?} */\n          this.form.asyncValidator,\n          /** @type {?} */\n          async]);\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_checkFormPresent\",\n        value: function _checkFormPresent() {\n          if (!this.form) {\n            ReactiveErrors.missingFormException();\n          }\n        }\n      }, {\n        key: \"formDirective\",\n        get: function get() {\n          return this;\n        }\n        /**\n         * \\@description\n         * Returns the `FormGroup` bound to this directive.\n         * @return {?}\n         */\n\n      }, {\n        key: \"control\",\n        get: function get() {\n          return this.form;\n        }\n        /**\n         * \\@description\n         * Returns an array representing the path to this group. Because this directive\n         * always lives at the top level of a form, it always an empty array.\n         * @return {?}\n         */\n\n      }, {\n        key: \"path\",\n        get: function get() {\n          return [];\n        }\n      }]);\n\n      return FormGroupDirective;\n    }(ControlContainer);\n\n    FormGroupDirective.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: '[formGroup]',\n        providers: [formDirectiveProvider$1],\n        host: {\n          '(submit)': 'onSubmit($event)',\n          '(reset)': 'onReset()'\n        },\n        exportAs: 'ngForm'\n      }]\n    }];\n    /** @nocollapse */\n\n    FormGroupDirective.ctorParameters = function () {\n      return [{\n        type: Array,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [NG_VALIDATORS]\n        }]\n      }, {\n        type: Array,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [NG_ASYNC_VALIDATORS]\n        }]\n      }];\n    };\n\n    FormGroupDirective.propDecorators = {\n      form: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"],\n        args: ['formGroup']\n      }],\n      ngSubmit: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Output\"]\n      }]\n    };\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var formGroupNameProvider = {\n      provide: ControlContainer,\n      useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])(\n      /**\n      * @return {?}\n      */\n      function () {\n        return FormGroupName;\n      })\n    };\n    /**\n     * \\@description\n     *\n     * Syncs a nested `FormGroup` to a DOM element.\n     *\n     * This directive can only be used with a parent `FormGroupDirective`.\n     *\n     * It accepts the string name of the nested `FormGroup` to link, and\n     * looks for a `FormGroup` registered with that name in the parent\n     * `FormGroup` instance you passed into `FormGroupDirective`.\n     *\n     * Use nested form groups to validate a sub-group of a\n     * form separately from the rest or to group the values of certain\n     * controls into their own nested object.\n     *\n     * @see [Reactive Forms Guide](guide/reactive-forms)\n     *\n     * \\@usageNotes\n     *\n     * ### Access the group by name\n     *\n     * The following example uses the {\\@link AbstractControl#get get} method to access the\n     * associated `FormGroup`\n     *\n     * ```ts\n     *   this.form.get('name');\n     * ```\n     *\n     * ### Access individual controls in the group\n     *\n     * The following example uses the {\\@link AbstractControl#get get} method to access\n     * individual controls within the group using dot syntax.\n     *\n     * ```ts\n     *   this.form.get('name.first');\n     * ```\n     *\n     * ### Register a nested `FormGroup`.\n     *\n     * The following example registers a nested *name* `FormGroup` within an existing `FormGroup`,\n     * and provides methods to retrieve the nested `FormGroup` and individual controls.\n     *\n     * {\\@example forms/ts/nestedFormGroup/nested_form_group_example.ts region='Component'}\n     *\n     * \\@ngModule ReactiveFormsModule\n     * \\@publicApi\n     */\n\n    var FormGroupName =\n    /*#__PURE__*/\n    function (_AbstractFormGroupDir2) {\n      _inherits(FormGroupName, _AbstractFormGroupDir2);\n\n      /**\n       * @param {?} parent\n       * @param {?} validators\n       * @param {?} asyncValidators\n       */\n      function FormGroupName(parent, validators, asyncValidators) {\n        var _this585;\n\n        _classCallCheck(this, FormGroupName);\n\n        _this585 = _possibleConstructorReturn(this, _getPrototypeOf(FormGroupName).call(this));\n        _this585._parent = parent;\n        _this585._validators = validators;\n        _this585._asyncValidators = asyncValidators;\n        return _this585;\n      }\n      /**\n       * \\@internal\n       * @return {?}\n       */\n\n\n      _createClass2(FormGroupName, [{\n        key: \"_checkParentType\",\n        value: function _checkParentType() {\n          if (_hasInvalidParent(this._parent)) {\n            ReactiveErrors.groupParentException();\n          }\n        }\n      }]);\n\n      return FormGroupName;\n    }(AbstractFormGroupDirective);\n\n    FormGroupName.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: '[formGroupName]',\n        providers: [formGroupNameProvider]\n      }]\n    }];\n    /** @nocollapse */\n\n    FormGroupName.ctorParameters = function () {\n      return [{\n        type: ControlContainer,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Host\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"SkipSelf\"]\n        }]\n      }, {\n        type: Array,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [NG_VALIDATORS]\n        }]\n      }, {\n        type: Array,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [NG_ASYNC_VALIDATORS]\n        }]\n      }];\n    };\n\n    FormGroupName.propDecorators = {\n      name: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"],\n        args: ['formGroupName']\n      }]\n    };\n\n    if (false) {}\n    /** @type {?} */\n\n\n    var formArrayNameProvider = {\n      provide: ControlContainer,\n      useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])(\n      /**\n      * @return {?}\n      */\n      function () {\n        return FormArrayName;\n      })\n    };\n    /**\n     * \\@description\n     *\n     * Syncs a nested `FormArray` to a DOM element.\n     *\n     * This directive is designed to be used with a parent `FormGroupDirective` (selector:\n     * `[formGroup]`).\n     *\n     * It accepts the string name of the nested `FormArray` you want to link, and\n     * will look for a `FormArray` registered with that name in the parent\n     * `FormGroup` instance you passed into `FormGroupDirective`.\n     *\n     * @see [Reactive Forms Guide](guide/reactive-forms)\n     * @see `AbstractControl`\n     *\n     * \\@usageNotes\n     *\n     * ### Example\n     *\n     * {\\@example forms/ts/nestedFormArray/nested_form_array_example.ts region='Component'}\n     *\n     * \\@ngModule ReactiveFormsModule\n     * \\@publicApi\n     */\n\n    var FormArrayName =\n    /*#__PURE__*/\n    function (_ControlContainer4) {\n      _inherits(FormArrayName, _ControlContainer4);\n\n      /**\n       * @param {?} parent\n       * @param {?} validators\n       * @param {?} asyncValidators\n       */\n      function FormArrayName(parent, validators, asyncValidators) {\n        var _this586;\n\n        _classCallCheck(this, FormArrayName);\n\n        _this586 = _possibleConstructorReturn(this, _getPrototypeOf(FormArrayName).call(this));\n        _this586._parent = parent;\n        _this586._validators = validators;\n        _this586._asyncValidators = asyncValidators;\n        return _this586;\n      }\n      /**\n       * \\@description\n       * A lifecycle method called when the directive's inputs are initialized. For internal use only.\n       *\n       * @throws If the directive does not have a valid parent.\n       * @return {?}\n       */\n\n\n      _createClass2(FormArrayName, [{\n        key: \"ngOnInit\",\n        value: function ngOnInit() {\n          this._checkParentType();\n\n          /** @type {?} */\n          this.formDirective.addFormArray(this);\n        }\n        /**\n         * \\@description\n         * A lifecycle method called before the directive's instance is destroyed. For internal use only.\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          if (this.formDirective) {\n            this.formDirective.removeFormArray(this);\n          }\n        }\n        /**\n         * \\@description\n         * The `FormArray` bound to this directive.\n         * @return {?}\n         */\n\n      }, {\n        key: \"_checkParentType\",\n\n        /**\n         * @private\n         * @return {?}\n         */\n        value: function _checkParentType() {\n          if (_hasInvalidParent(this._parent)) {\n            ReactiveErrors.arrayParentException();\n          }\n        }\n      }, {\n        key: \"control\",\n        get: function get() {\n          return (\n            /** @type {?} */\n            this.formDirective.getFormArray(this)\n          );\n        }\n        /**\n         * \\@description\n         * The top-level directive for this group if present, otherwise null.\n         * @return {?}\n         */\n\n      }, {\n        key: \"formDirective\",\n        get: function get() {\n          return this._parent ?\n          /** @type {?} */\n          this._parent.formDirective : null;\n        }\n        /**\n         * \\@description\n         * Returns an array that represents the path from the top-level form to this control.\n         * Each index is the string name of the control on that level.\n         * @return {?}\n         */\n\n      }, {\n        key: \"path\",\n        get: function get() {\n          return controlPath(this.name, this._parent);\n        }\n        /**\n         * \\@description\n         * Synchronous validator function composed of all the synchronous validators registered with this\n         * directive.\n         * @return {?}\n         */\n\n      }, {\n        key: \"validator\",\n        get: function get() {\n          return composeValidators(this._validators);\n        }\n        /**\n         * \\@description\n         * Async validator function composed of all the async validators registered with this directive.\n         * @return {?}\n         */\n\n      }, {\n        key: \"asyncValidator\",\n        get: function get() {\n          return composeAsyncValidators(this._asyncValidators);\n        }\n      }]);\n\n      return FormArrayName;\n    }(ControlContainer);\n\n    FormArrayName.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: '[formArrayName]',\n        providers: [formArrayNameProvider]\n      }]\n    }];\n    /** @nocollapse */\n\n    FormArrayName.ctorParameters = function () {\n      return [{\n        type: ControlContainer,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Host\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"SkipSelf\"]\n        }]\n      }, {\n        type: Array,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [NG_VALIDATORS]\n        }]\n      }, {\n        type: Array,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [NG_ASYNC_VALIDATORS]\n        }]\n      }];\n    };\n\n    FormArrayName.propDecorators = {\n      name: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"],\n        args: ['formArrayName']\n      }]\n    };\n\n    if (false) {}\n    /**\n     * @param {?} parent\n     * @return {?}\n     */\n\n\n    function _hasInvalidParent(parent) {\n      return !(parent instanceof FormGroupName) && !(parent instanceof FormGroupDirective) && !(parent instanceof FormArrayName);\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var controlNameBinding = {\n      provide: NgControl,\n      useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])(\n      /**\n      * @return {?}\n      */\n      function () {\n        return FormControlName;\n      })\n    };\n    /**\n     * \\@description\n     * Syncs a `FormControl` in an existing `FormGroup` to a form control\n     * element by name.\n     *\n     * @see [Reactive Forms Guide](guide/reactive-forms)\n     * @see `FormControl`\n     * @see `AbstractControl`\n     *\n     * \\@usageNotes\n     *\n     * ### Register `FormControl` within a group\n     *\n     * The following example shows how to register multiple form controls within a form group\n     * and set their value.\n     *\n     * {\\@example forms/ts/simpleFormGroup/simple_form_group_example.ts region='Component'}\n     *\n     * To see `formControlName` examples with different form control types, see:\n     *\n     * * Radio buttons: `RadioControlValueAccessor`\n     * * Selects: `SelectControlValueAccessor`\n     *\n     * ### Use with ngModel\n     *\n     * Support for using the `ngModel` input property and `ngModelChange` event with reactive\n     * form directives has been deprecated in Angular v6 and will be removed in Angular v7.\n     *\n     * Now deprecated:\n     *\n     * ```html\n     * <form [formGroup]=\"form\">\n     *   <input formControlName=\"first\" [(ngModel)]=\"value\">\n     * </form>\n     * ```\n     *\n     * ```ts\n     * this.value = 'some value';\n     * ```\n     *\n     * This has been deprecated for a few reasons. First, developers have found this pattern\n     * confusing. It seems like the actual `ngModel` directive is being used, but in fact it's\n     * an input/output property named `ngModel` on the reactive form directive that simply\n     * approximates (some of) its behavior. Specifically, it allows getting/setting the value\n     * and intercepting value events. However, some of `ngModel`'s other features - like\n     * delaying updates with`ngModelOptions` or exporting the directive - simply don't work,\n     * which has understandably caused some confusion.\n     *\n     * In addition, this pattern mixes template-driven and reactive forms strategies, which\n     * we generally don't recommend because it doesn't take advantage of the full benefits of\n     * either strategy. Setting the value in the template violates the template-agnostic\n     * principles behind reactive forms, whereas adding a `FormControl`/`FormGroup` layer in\n     * the class removes the convenience of defining forms in the template.\n     *\n     * To update your code before v7, you'll want to decide whether to stick with reactive form\n     * directives (and get/set values using reactive forms patterns) or switch over to\n     * template-driven directives.\n     *\n     * After (choice 1 - use reactive forms):\n     *\n     * ```html\n     * <form [formGroup]=\"form\">\n     *   <input formControlName=\"first\">\n     * </form>\n     * ```\n     *\n     * ```ts\n     * this.form.get('first').setValue('some value');\n     * ```\n     *\n     * After (choice 2 - use template-driven forms):\n     *\n     * ```html\n     * <input [(ngModel)]=\"value\">\n     * ```\n     *\n     * ```ts\n     * this.value = 'some value';\n     * ```\n     *\n     * By default, when you use this pattern, you will see a deprecation warning once in dev\n     * mode. You can choose to silence this warning by providing a config for\n     * `ReactiveFormsModule` at import time:\n     *\n     * ```ts\n     * imports: [\n     *   ReactiveFormsModule.withConfig({warnOnNgModelWithFormControl: 'never'})\n     * ]\n     * ```\n     *\n     * Alternatively, you can choose to surface a separate warning for each instance of this\n     * pattern with a config value of `\"always\"`. This may help to track down where in the code\n     * the pattern is being used as the code is being updated.\n     *\n     * \\@ngModule ReactiveFormsModule\n     * \\@publicApi\n     */\n\n    var FormControlName =\n    /*#__PURE__*/\n    function (_NgControl3) {\n      _inherits(FormControlName, _NgControl3);\n\n      /**\n       * @param {?} parent\n       * @param {?} validators\n       * @param {?} asyncValidators\n       * @param {?} valueAccessors\n       * @param {?} _ngModelWarningConfig\n       */\n      function FormControlName(parent, validators, asyncValidators, valueAccessors, _ngModelWarningConfig) {\n        var _this587;\n\n        _classCallCheck(this, FormControlName);\n\n        _this587 = _possibleConstructorReturn(this, _getPrototypeOf(FormControlName).call(this));\n        _this587._ngModelWarningConfig = _ngModelWarningConfig;\n        _this587._added = false;\n        /**\n         * @deprecated as of v6\n         */\n\n        _this587.update = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"EventEmitter\"]();\n        /**\n         * \\@description\n         * Instance property used to track whether an ngModel warning has been sent out for this\n         * particular FormControlName instance. Used to support warning config of \"always\".\n         *\n         * \\@internal\n         */\n\n        _this587._ngModelWarningSent = false;\n        _this587._parent = parent;\n        _this587._rawValidators = validators || [];\n        _this587._rawAsyncValidators = asyncValidators || [];\n        _this587.valueAccessor = selectValueAccessor(_assertThisInitialized(_this587), valueAccessors);\n        return _this587;\n      }\n      /**\n       * \\@description\n       * Triggers a warning that this input should not be used with reactive forms.\n       * @param {?} isDisabled\n       * @return {?}\n       */\n\n\n      _createClass2(FormControlName, [{\n        key: \"ngOnChanges\",\n\n        /**\n         * \\@description\n         * A lifecycle method called when the directive's inputs change. For internal use only.\n         *\n         * @param {?} changes A object of key/value pairs for the set of changed inputs.\n         * @return {?}\n         */\n        value: function ngOnChanges(changes) {\n          if (!this._added) this._setUpControl();\n\n          if (isPropertyUpdated(changes, this.viewModel)) {\n            _ngModelWarning('formControlName', FormControlName, this, this._ngModelWarningConfig);\n\n            this.viewModel = this.model;\n            this.formDirective.updateModel(this, this.model);\n          }\n        }\n        /**\n         * \\@description\n         * Lifecycle method called before the directive's instance is destroyed. For internal use only.\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          if (this.formDirective) {\n            this.formDirective.removeControl(this);\n          }\n        }\n        /**\n         * \\@description\n         * Sets the new value for the view model and emits an `ngModelChange` event.\n         *\n         * @param {?} newValue The new value for the view model.\n         * @return {?}\n         */\n\n      }, {\n        key: \"viewToModelUpdate\",\n        value: function viewToModelUpdate(newValue) {\n          this.viewModel = newValue;\n          this.update.emit(newValue);\n        }\n        /**\n         * \\@description\n         * Returns an array that represents the path from the top-level form to this control.\n         * Each index is the string name of the control on that level.\n         * @return {?}\n         */\n\n      }, {\n        key: \"_checkParentType\",\n\n        /**\n         * @private\n         * @return {?}\n         */\n        value: function _checkParentType() {\n          if (!(this._parent instanceof FormGroupName) && this._parent instanceof AbstractFormGroupDirective) {\n            ReactiveErrors.ngModelGroupException();\n          } else if (!(this._parent instanceof FormGroupName) && !(this._parent instanceof FormGroupDirective) && !(this._parent instanceof FormArrayName)) {\n            ReactiveErrors.controlParentException();\n          }\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_setUpControl\",\n        value: function _setUpControl() {\n          this._checkParentType();\n\n          /** @type {?} */\n          this.control = this.formDirective.addControl(this);\n\n          if (this.control.disabled &&\n          /** @type {?} */\n          this.valueAccessor.setDisabledState) {\n            /** @type {?} */\n\n            /** @type {?} */\n            this.valueAccessor.setDisabledState(true);\n          }\n\n          this._added = true;\n        }\n      }, {\n        key: \"isDisabled\",\n        set: function set(isDisabled) {\n          ReactiveErrors.disabledAttrWarning();\n        }\n      }, {\n        key: \"path\",\n        get: function get() {\n          return controlPath(this.name,\n          /** @type {?} */\n          this._parent);\n        }\n        /**\n         * \\@description\n         * The top-level directive for this group if present, otherwise null.\n         * @return {?}\n         */\n\n      }, {\n        key: \"formDirective\",\n        get: function get() {\n          return this._parent ? this._parent.formDirective : null;\n        }\n        /**\n         * \\@description\n         * Synchronous validator function composed of all the synchronous validators\n         * registered with this directive.\n         * @return {?}\n         */\n\n      }, {\n        key: \"validator\",\n        get: function get() {\n          return composeValidators(this._rawValidators);\n        }\n        /**\n         * \\@description\n         * Async validator function composed of all the async validators registered with this\n         * directive.\n         * @return {?}\n         */\n\n      }, {\n        key: \"asyncValidator\",\n        get: function get() {\n          return (\n            /** @type {?} */\n            composeAsyncValidators(this._rawAsyncValidators)\n          );\n        }\n      }]);\n\n      return FormControlName;\n    }(NgControl);\n    /**\n     * \\@description\n     * Static property used to track whether any ngModel warnings have been sent across\n     * all instances of FormControlName. Used to support warning config of \"once\".\n     *\n     * \\@internal\n     */\n\n\n    FormControlName._ngModelWarningSentOnce = false;\n    FormControlName.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: '[formControlName]',\n        providers: [controlNameBinding]\n      }]\n    }];\n    /** @nocollapse */\n\n    FormControlName.ctorParameters = function () {\n      return [{\n        type: ControlContainer,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Host\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"SkipSelf\"]\n        }]\n      }, {\n        type: Array,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [NG_VALIDATORS]\n        }]\n      }, {\n        type: Array,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [NG_ASYNC_VALIDATORS]\n        }]\n      }, {\n        type: Array,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Self\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [NG_VALUE_ACCESSOR]\n        }]\n      }, {\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [NG_MODEL_WITH_FORM_CONTROL_WARNING]\n        }]\n      }];\n    };\n\n    FormControlName.propDecorators = {\n      name: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"],\n        args: ['formControlName']\n      }],\n      isDisabled: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"],\n        args: ['disabled']\n      }],\n      model: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"],\n        args: ['ngModel']\n      }],\n      update: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Output\"],\n        args: ['ngModelChange']\n      }]\n    };\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * \\@description\n     * An interface implemented by classes that perform synchronous validation.\n     *\n     * \\@usageNotes\n     *\n     * ### Provide a custom validator\n     *\n     * The following example implements the `Validator` interface to create a\n     * validator directive with a custom error key.\n     *\n     * ```typescript\n     * \\@Directive({\n     *   selector: '[customValidator]',\n     *   providers: [{provide: NG_VALIDATORS, useExisting: CustomValidatorDirective, multi: true}]\n     * })\n     * class CustomValidatorDirective implements Validator {\n     *   validate(control: AbstractControl): ValidationErrors|null {\n     *     return {'custom': true};\n     *   }\n     * }\n     * ```\n     *\n     * \\@publicApi\n     * @record\n     */\n\n\n    function Validator() {}\n\n    if (false) {}\n    /**\n     * \\@description\n     * An interface implemented by classes that perform asynchronous validation.\n     *\n     * \\@usageNotes\n     *\n     * ### Provide a custom async validator directive\n     *\n     * The following example implements the `AsyncValidator` interface to create an\n     * async validator directive with a custom error key.\n     *\n     * ```typescript\n     * import { of as observableOf } from 'rxjs';\n     *\n     * \\@Directive({\n     *   selector: '[customAsyncValidator]',\n     *   providers: [{provide: NG_ASYNC_VALIDATORS, useExisting: CustomAsyncValidatorDirective, multi:\n     * true}]\n     * })\n     * class CustomAsyncValidatorDirective implements AsyncValidator {\n     *   validate(control: AbstractControl): Observable<ValidationErrors|null> {\n     *     return observableOf({'custom': true});\n     *   }\n     * }\n     * ```\n     *\n     * \\@publicApi\n     * @record\n     */\n\n\n    function AsyncValidator() {}\n\n    if (false) {}\n    /**\n     * \\@description\n     * Provider which adds `RequiredValidator` to the `NG_VALIDATORS` multi-provider list.\n     * @type {?}\n     */\n\n\n    var REQUIRED_VALIDATOR = {\n      provide: NG_VALIDATORS,\n      useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])(\n      /**\n      * @return {?}\n      */\n      function () {\n        return RequiredValidator;\n      }),\n      multi: true\n    };\n    /**\n     * \\@description\n     * Provider which adds `CheckboxRequiredValidator` to the `NG_VALIDATORS` multi-provider list.\n     * @type {?}\n     */\n\n    var CHECKBOX_REQUIRED_VALIDATOR = {\n      provide: NG_VALIDATORS,\n      useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])(\n      /**\n      * @return {?}\n      */\n      function () {\n        return CheckboxRequiredValidator;\n      }),\n      multi: true\n    };\n    /**\n     * \\@description\n     * A directive that adds the `required` validator to any controls marked with the\n     * `required` attribute. The directive is provided with the `NG_VALIDATORS` multi-provider list.\n     *\n     * @see [Form Validation](guide/form-validation)\n     *\n     * \\@usageNotes\n     *\n     * ### Adding a required validator using template-driven forms\n     *\n     * ```\n     * <input name=\"fullName\" ngModel required>\n     * ```\n     *\n     * \\@ngModule FormsModule\n     * \\@ngModule ReactiveFormsModule\n     * \\@publicApi\n     */\n\n    var RequiredValidator =\n    /*#__PURE__*/\n    function () {\n      function RequiredValidator() {\n        _classCallCheck(this, RequiredValidator);\n      }\n\n      _createClass2(RequiredValidator, [{\n        key: \"validate\",\n\n        /**\n         * \\@description\n         * Method that validates whether the control is empty.\n         * Returns the validation result if enabled, otherwise null.\n         * @param {?} control\n         * @return {?}\n         */\n        value: function validate(control) {\n          return this.required ? Validators.required(control) : null;\n        }\n        /**\n         * \\@description\n         * Registers a callback function to call when the validator inputs change.\n         *\n         * @param {?} fn The callback function\n         * @return {?}\n         */\n\n      }, {\n        key: \"registerOnValidatorChange\",\n        value: function registerOnValidatorChange(fn) {\n          this._onChange = fn;\n        }\n      }, {\n        key: \"required\",\n\n        /**\n         * \\@description\n         * Tracks changes to the required attribute bound to this directive.\n         * @return {?}\n         */\n        get: function get() {\n          return this._required;\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n        ,\n        set: function set(value) {\n          this._required = value != null && value !== false && \"\".concat(value) !== 'false';\n          if (this._onChange) this._onChange();\n        }\n      }]);\n\n      return RequiredValidator;\n    }();\n\n    RequiredValidator.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: ':not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]',\n        providers: [REQUIRED_VALIDATOR],\n        host: {\n          '[attr.required]': 'required ? \"\" : null'\n        }\n      }]\n    }];\n    RequiredValidator.propDecorators = {\n      required: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"]\n      }]\n    };\n\n    if (false) {}\n    /**\n     * A Directive that adds the `required` validator to checkbox controls marked with the\n     * `required` attribute. The directive is provided with the `NG_VALIDATORS` multi-provider list.\n     *\n     * @see [Form Validation](guide/form-validation)\n     *\n     * \\@usageNotes\n     *\n     * ### Adding a required checkbox validator using template-driven forms\n     *\n     * The following example shows how to add a checkbox required validator to an input attached to an ngModel binding.\n     *\n     * ```\n     * <input type=\"checkbox\" name=\"active\" ngModel required>\n     * ```\n     *\n     * \\@publicApi\n     * \\@ngModule FormsModule\n     * \\@ngModule ReactiveFormsModule\n     */\n\n\n    var CheckboxRequiredValidator =\n    /*#__PURE__*/\n    function (_RequiredValidator) {\n      _inherits(CheckboxRequiredValidator, _RequiredValidator);\n\n      function CheckboxRequiredValidator() {\n        _classCallCheck(this, CheckboxRequiredValidator);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(CheckboxRequiredValidator).apply(this, arguments));\n      }\n\n      _createClass2(CheckboxRequiredValidator, [{\n        key: \"validate\",\n\n        /**\n         * \\@description\n         * Method that validates whether or not the checkbox has been checked.\n         * Returns the validation result if enabled, otherwise null.\n         * @param {?} control\n         * @return {?}\n         */\n        value: function validate(control) {\n          return this.required ? Validators.requiredTrue(control) : null;\n        }\n      }]);\n\n      return CheckboxRequiredValidator;\n    }(RequiredValidator);\n\n    CheckboxRequiredValidator.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: 'input[type=checkbox][required][formControlName],input[type=checkbox][required][formControl],input[type=checkbox][required][ngModel]',\n        providers: [CHECKBOX_REQUIRED_VALIDATOR],\n        host: {\n          '[attr.required]': 'required ? \"\" : null'\n        }\n      }]\n    }];\n    /**\n     * \\@description\n     * Provider which adds `EmailValidator` to the `NG_VALIDATORS` multi-provider list.\n     * @type {?}\n     */\n\n    var EMAIL_VALIDATOR = {\n      provide: NG_VALIDATORS,\n      useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])(\n      /**\n      * @return {?}\n      */\n      function () {\n        return EmailValidator;\n      }),\n      multi: true\n    };\n    /**\n     * A directive that adds the `email` validator to controls marked with the\n     * `email` attribute. The directive is provided with the `NG_VALIDATORS` multi-provider list.\n     *\n     * @see [Form Validation](guide/form-validation)\n     *\n     * \\@usageNotes\n     *\n     * ### Adding an email validator\n     *\n     * The following example shows how to add an email validator to an input attached to an ngModel binding.\n     *\n     * ```\n     * <input type=\"email\" name=\"email\" ngModel email>\n     * <input type=\"email\" name=\"email\" ngModel email=\"true\">\n     * <input type=\"email\" name=\"email\" ngModel [email]=\"true\">\n     * ```\n     *\n     * \\@publicApi\n     * \\@ngModule FormsModule\n     * \\@ngModule ReactiveFormsModule\n     */\n\n    var EmailValidator =\n    /*#__PURE__*/\n    function () {\n      function EmailValidator() {\n        _classCallCheck(this, EmailValidator);\n      }\n\n      _createClass2(EmailValidator, [{\n        key: \"validate\",\n\n        /**\n         * \\@description\n         * Method that validates whether an email address is valid.\n         * Returns the validation result if enabled, otherwise null.\n         * @param {?} control\n         * @return {?}\n         */\n        value: function validate(control) {\n          return this._enabled ? Validators.email(control) : null;\n        }\n        /**\n         * \\@description\n         * Registers a callback function to call when the validator inputs change.\n         *\n         * @param {?} fn The callback function\n         * @return {?}\n         */\n\n      }, {\n        key: \"registerOnValidatorChange\",\n        value: function registerOnValidatorChange(fn) {\n          this._onChange = fn;\n        }\n      }, {\n        key: \"email\",\n\n        /**\n         * \\@description\n         * Tracks changes to the email attribute bound to this directive.\n         * @param {?} value\n         * @return {?}\n         */\n        set: function set(value) {\n          this._enabled = value === '' || value === true || value === 'true';\n          if (this._onChange) this._onChange();\n        }\n      }]);\n\n      return EmailValidator;\n    }();\n\n    EmailValidator.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: '[email][formControlName],[email][formControl],[email][ngModel]',\n        providers: [EMAIL_VALIDATOR]\n      }]\n    }];\n    EmailValidator.propDecorators = {\n      email: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"]\n      }]\n    };\n\n    if (false) {}\n    /**\n     * \\@description\n     * A function that receives a control and synchronously returns a map of\n     * validation errors if present, otherwise null.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n\n    function ValidatorFn() {}\n    /**\n     * \\@description\n     * A function that receives a control and returns a Promise or observable\n     * that emits validation errors if present, otherwise null.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n\n    function AsyncValidatorFn() {}\n    /**\n     * \\@description\n     * Provider which adds `MinLengthValidator` to the `NG_VALIDATORS` multi-provider list.\n     * @type {?}\n     */\n\n\n    var MIN_LENGTH_VALIDATOR = {\n      provide: NG_VALIDATORS,\n      useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])(\n      /**\n      * @return {?}\n      */\n      function () {\n        return MinLengthValidator;\n      }),\n      multi: true\n    };\n    /**\n     * A directive that adds minimum length validation to controls marked with the\n     * `minlength` attribute. The directive is provided with the `NG_VALIDATORS` mult-provider list.\n     *\n     * @see [Form Validation](guide/form-validation)\n     *\n     * \\@usageNotes\n     *\n     * ### Adding a minimum length validator\n     *\n     * The following example shows how to add a minimum length validator to an input attached to an\n     * ngModel binding.\n     *\n     * ```html\n     * <input name=\"firstName\" ngModel minlength=\"4\">\n     * ```\n     *\n     * \\@ngModule ReactiveFormsModule\n     * \\@ngModule FormsModule\n     * \\@publicApi\n     */\n\n    var MinLengthValidator =\n    /*#__PURE__*/\n    function () {\n      function MinLengthValidator() {\n        _classCallCheck(this, MinLengthValidator);\n      }\n\n      _createClass2(MinLengthValidator, [{\n        key: \"ngOnChanges\",\n\n        /**\n         * \\@description\n         * A lifecycle method called when the directive's inputs change. For internal use\n         * only.\n         *\n         * @param {?} changes A object of key/value pairs for the set of changed inputs.\n         * @return {?}\n         */\n        value: function ngOnChanges(changes) {\n          if ('minlength' in changes) {\n            this._createValidator();\n\n            if (this._onChange) this._onChange();\n          }\n        }\n        /**\n         * \\@description\n         * Method that validates whether the value meets a minimum length\n         * requirement. Returns the validation result if enabled, otherwise null.\n         * @param {?} control\n         * @return {?}\n         */\n\n      }, {\n        key: \"validate\",\n        value: function validate(control) {\n          return this.minlength == null ? null : this._validator(control);\n        }\n        /**\n         * \\@description\n         * Registers a callback function to call when the validator inputs change.\n         *\n         * @param {?} fn The callback function\n         * @return {?}\n         */\n\n      }, {\n        key: \"registerOnValidatorChange\",\n        value: function registerOnValidatorChange(fn) {\n          this._onChange = fn;\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_createValidator\",\n        value: function _createValidator() {\n          this._validator = Validators.minLength(parseInt(this.minlength, 10));\n        }\n      }]);\n\n      return MinLengthValidator;\n    }();\n\n    MinLengthValidator.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: '[minlength][formControlName],[minlength][formControl],[minlength][ngModel]',\n        providers: [MIN_LENGTH_VALIDATOR],\n        host: {\n          '[attr.minlength]': 'minlength ? minlength : null'\n        }\n      }]\n    }];\n    MinLengthValidator.propDecorators = {\n      minlength: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"]\n      }]\n    };\n\n    if (false) {}\n    /**\n     * \\@description\n     * Provider which adds `MaxLengthValidator` to the `NG_VALIDATORS` multi-provider list.\n     * @type {?}\n     */\n\n\n    var MAX_LENGTH_VALIDATOR = {\n      provide: NG_VALIDATORS,\n      useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])(\n      /**\n      * @return {?}\n      */\n      function () {\n        return MaxLengthValidator;\n      }),\n      multi: true\n    };\n    /**\n     * A directive that adds max length validation to controls marked with the\n     * `maxlength` attribute. The directive is provided with the `NG_VALIDATORS` multi-provider list.\n     *\n     * @see [Form Validation](guide/form-validation)\n     *\n     * \\@usageNotes\n     *\n     * ### Adding a maximum length validator\n     *\n     * The following example shows how to add a maximum length validator to an input attached to an\n     * ngModel binding.\n     *\n     * ```html\n     * <input name=\"firstName\" ngModel maxlength=\"25\">\n     * ```\n     *\n     * \\@ngModule ReactiveFormsModule\n     * \\@ngModule FormsModule\n     * \\@publicApi\n     */\n\n    var MaxLengthValidator =\n    /*#__PURE__*/\n    function () {\n      function MaxLengthValidator() {\n        _classCallCheck(this, MaxLengthValidator);\n      }\n\n      _createClass2(MaxLengthValidator, [{\n        key: \"ngOnChanges\",\n\n        /**\n         * \\@description\n         * A lifecycle method called when the directive's inputs change. For internal use\n         * only.\n         *\n         * @param {?} changes A object of key/value pairs for the set of changed inputs.\n         * @return {?}\n         */\n        value: function ngOnChanges(changes) {\n          if ('maxlength' in changes) {\n            this._createValidator();\n\n            if (this._onChange) this._onChange();\n          }\n        }\n        /**\n         * \\@description\n         * Method that validates whether the value exceeds\n         * the maximum length requirement.\n         * @param {?} control\n         * @return {?}\n         */\n\n      }, {\n        key: \"validate\",\n        value: function validate(control) {\n          return this.maxlength != null ? this._validator(control) : null;\n        }\n        /**\n         * \\@description\n         * Registers a callback function to call when the validator inputs change.\n         *\n         * @param {?} fn The callback function\n         * @return {?}\n         */\n\n      }, {\n        key: \"registerOnValidatorChange\",\n        value: function registerOnValidatorChange(fn) {\n          this._onChange = fn;\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_createValidator\",\n        value: function _createValidator() {\n          this._validator = Validators.maxLength(parseInt(this.maxlength, 10));\n        }\n      }]);\n\n      return MaxLengthValidator;\n    }();\n\n    MaxLengthValidator.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: '[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]',\n        providers: [MAX_LENGTH_VALIDATOR],\n        host: {\n          '[attr.maxlength]': 'maxlength ? maxlength : null'\n        }\n      }]\n    }];\n    MaxLengthValidator.propDecorators = {\n      maxlength: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"]\n      }]\n    };\n\n    if (false) {}\n    /**\n     * \\@description\n     * Provider which adds `PatternValidator` to the `NG_VALIDATORS` multi-provider list.\n     * @type {?}\n     */\n\n\n    var PATTERN_VALIDATOR = {\n      provide: NG_VALIDATORS,\n      useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"forwardRef\"])(\n      /**\n      * @return {?}\n      */\n      function () {\n        return PatternValidator;\n      }),\n      multi: true\n    };\n    /**\n     * \\@description\n     * A directive that adds regex pattern validation to controls marked with the\n     * `pattern` attribute. The regex must match the entire control value.\n     * The directive is provided with the `NG_VALIDATORS` multi-provider list.\n     *\n     * @see [Form Validation](guide/form-validation)\n     *\n     * \\@usageNotes\n     *\n     * ### Adding a pattern validator\n     *\n     * The following example shows how to add a pattern validator to an input attached to an\n     * ngModel binding.\n     *\n     * ```html\n     * <input name=\"firstName\" ngModel pattern=\"[a-zA-Z ]*\">\n     * ```\n     *\n     * \\@ngModule ReactiveFormsModule\n     * \\@ngModule FormsModule\n     * \\@publicApi\n     */\n\n    var PatternValidator =\n    /*#__PURE__*/\n    function () {\n      function PatternValidator() {\n        _classCallCheck(this, PatternValidator);\n      }\n\n      _createClass2(PatternValidator, [{\n        key: \"ngOnChanges\",\n\n        /**\n         * \\@description\n         * A lifecycle method called when the directive's inputs change. For internal use\n         * only.\n         *\n         * @param {?} changes A object of key/value pairs for the set of changed inputs.\n         * @return {?}\n         */\n        value: function ngOnChanges(changes) {\n          if ('pattern' in changes) {\n            this._createValidator();\n\n            if (this._onChange) this._onChange();\n          }\n        }\n        /**\n         * \\@description\n         * Method that validates whether the value matches the\n         * the pattern requirement.\n         * @param {?} control\n         * @return {?}\n         */\n\n      }, {\n        key: \"validate\",\n        value: function validate(control) {\n          return this._validator(control);\n        }\n        /**\n         * \\@description\n         * Registers a callback function to call when the validator inputs change.\n         *\n         * @param {?} fn The callback function\n         * @return {?}\n         */\n\n      }, {\n        key: \"registerOnValidatorChange\",\n        value: function registerOnValidatorChange(fn) {\n          this._onChange = fn;\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_createValidator\",\n        value: function _createValidator() {\n          this._validator = Validators.pattern(this.pattern);\n        }\n      }]);\n\n      return PatternValidator;\n    }();\n\n    PatternValidator.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: '[pattern][formControlName],[pattern][formControl],[pattern][ngModel]',\n        providers: [PATTERN_VALIDATOR],\n        host: {\n          '[attr.pattern]': 'pattern ? pattern : null'\n        }\n      }]\n    }];\n    PatternValidator.propDecorators = {\n      pattern: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"]\n      }]\n    };\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var SHARED_FORM_DIRECTIVES = [ɵNgNoValidate, NgSelectOption, ɵNgSelectMultipleOption, DefaultValueAccessor, NumberValueAccessor, RangeValueAccessor, CheckboxControlValueAccessor, SelectControlValueAccessor, SelectMultipleControlValueAccessor, RadioControlValueAccessor, NgControlStatus, NgControlStatusGroup, RequiredValidator, MinLengthValidator, MaxLengthValidator, PatternValidator, CheckboxRequiredValidator, EmailValidator];\n    /** @type {?} */\n\n    var TEMPLATE_DRIVEN_DIRECTIVES = [NgModel, NgModelGroup, NgForm, NgFormSelectorWarning];\n    /** @type {?} */\n\n    var REACTIVE_DRIVEN_DIRECTIVES = [FormControlDirective, FormGroupDirective, FormControlName, FormGroupName, FormArrayName];\n    /**\n     * Internal module used for sharing directives between FormsModule and ReactiveFormsModule\n     */\n\n    var ɵInternalFormsSharedModule = function ɵInternalFormsSharedModule() {\n      _classCallCheck(this, ɵInternalFormsSharedModule);\n    };\n\n    ɵInternalFormsSharedModule.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"],\n      args: [{\n        declarations: SHARED_FORM_DIRECTIVES,\n        exports: SHARED_FORM_DIRECTIVES\n      }]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @param {?} options\n     * @return {?}\n     */\n\n    function isAbstractControlOptions(options) {\n      return (\n        /** @type {?} */\n        options.asyncValidators !== undefined ||\n        /** @type {?} */\n        options.validators !== undefined ||\n        /** @type {?} */\n        options.updateOn !== undefined\n      );\n    }\n    /**\n     * \\@description\n     * Creates an `AbstractControl` from a user-specified configuration.\n     *\n     * The `FormBuilder` provides syntactic sugar that shortens creating instances of a `FormControl`,\n     * `FormGroup`, or `FormArray`. It reduces the amount of boilerplate needed to build complex\n     * forms.\n     *\n     * @see [Reactive Forms Guide](/guide/reactive-forms)\n     *\n     * \\@publicApi\n     */\n\n\n    var FormBuilder =\n    /*#__PURE__*/\n    function () {\n      function FormBuilder() {\n        _classCallCheck(this, FormBuilder);\n      }\n\n      _createClass2(FormBuilder, [{\n        key: \"group\",\n\n        /**\n         * \\@description\n         * Construct a new `FormGroup` instance.\n         *\n         * @param {?} controlsConfig A collection of child controls. The key for each child is the name\n         * under which it is registered.\n         *\n         * @param {?=} options Configuration options object for the `FormGroup`. The object can\n         * have two shapes:\n         *\n         * 1) `AbstractControlOptions` object (preferred), which consists of:\n         * * `validators`: A synchronous validator function, or an array of validator functions\n         * * `asyncValidators`: A single async validator or array of async validator functions\n         * * `updateOn`: The event upon which the control should be updated (options: 'change' | 'blur' |\n         * submit')\n         *\n         * 2) Legacy configuration object, which consists of:\n         * * `validator`: A synchronous validator function, or an array of validator functions\n         * * `asyncValidator`: A single async validator or array of async validator functions\n         *\n         * @return {?}\n         */\n        value: function group(controlsConfig) {\n          var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n\n          /** @type {?} */\n          var controls = this._reduceControls(controlsConfig);\n          /** @type {?} */\n\n\n          var validators = null;\n          /** @type {?} */\n\n          var asyncValidators = null;\n          /** @type {?} */\n\n          var updateOn = undefined;\n\n          if (options != null) {\n            if (isAbstractControlOptions(options)) {\n              // `options` are `AbstractControlOptions`\n              validators = options.validators != null ? options.validators : null;\n              asyncValidators = options.asyncValidators != null ? options.asyncValidators : null;\n              updateOn = options.updateOn != null ? options.updateOn : undefined;\n            } else {\n              // `options` are legacy form group options\n              validators = options['validator'] != null ? options['validator'] : null;\n              asyncValidators = options['asyncValidator'] != null ? options['asyncValidator'] : null;\n            }\n          }\n\n          return new FormGroup(controls, {\n            asyncValidators: asyncValidators,\n            updateOn: updateOn,\n            validators: validators\n          });\n        }\n        /**\n         * \\@description\n         * Construct a new `FormControl` with the given state, validators and options.\n         *\n         * \\@usageNotes\n         *\n         * ### Initialize a control as disabled\n         *\n         * The following example returns a control with an initial value in a disabled state.\n         *\n         * <code-example path=\"forms/ts/formBuilder/form_builder_example.ts\" region=\"disabled-control\">\n         * </code-example>\n         * @param {?} formState Initializes the control with an initial state value, or\n         * with an object that contains both a value and a disabled status.\n         *\n         * @param {?=} validatorOrOpts A synchronous validator function, or an array of\n         * such functions, or an `AbstractControlOptions` object that contains\n         * validation functions and a validation trigger.\n         *\n         * @param {?=} asyncValidator A single async validator or array of async validator\n         * functions.\n         *\n         * @return {?}\n         */\n\n      }, {\n        key: \"control\",\n        value: function control(formState, validatorOrOpts, asyncValidator) {\n          return new FormControl(formState, validatorOrOpts, asyncValidator);\n        }\n        /**\n         * Constructs a new `FormArray` from the given array of configurations,\n         * validators and options.\n         *\n         * @param {?} controlsConfig An array of child controls or control configs. Each\n         * child control is given an index when it is registered.\n         *\n         * @param {?=} validatorOrOpts A synchronous validator function, or an array of\n         * such functions, or an `AbstractControlOptions` object that contains\n         * validation functions and a validation trigger.\n         *\n         * @param {?=} asyncValidator A single async validator or array of async validator\n         * functions.\n         * @return {?}\n         */\n\n      }, {\n        key: \"array\",\n        value: function array(controlsConfig, validatorOrOpts, asyncValidator) {\n          var _this588 = this;\n\n          /** @type {?} */\n          var controls = controlsConfig.map(\n          /**\n          * @param {?} c\n          * @return {?}\n          */\n          function (c) {\n            return _this588._createControl(c);\n          });\n          return new FormArray(controls, validatorOrOpts, asyncValidator);\n        }\n        /**\n         * \\@internal\n         * @param {?} controlsConfig\n         * @return {?}\n         */\n\n      }, {\n        key: \"_reduceControls\",\n        value: function _reduceControls(controlsConfig) {\n          var _this589 = this;\n\n          /** @type {?} */\n          var controls = {};\n          Object.keys(controlsConfig).forEach(\n          /**\n          * @param {?} controlName\n          * @return {?}\n          */\n          function (controlName) {\n            controls[controlName] = _this589._createControl(controlsConfig[controlName]);\n          });\n          return controls;\n        }\n        /**\n         * \\@internal\n         * @param {?} controlConfig\n         * @return {?}\n         */\n\n      }, {\n        key: \"_createControl\",\n        value: function _createControl(controlConfig) {\n          if (controlConfig instanceof FormControl || controlConfig instanceof FormGroup || controlConfig instanceof FormArray) {\n            return controlConfig;\n          } else if (Array.isArray(controlConfig)) {\n            /** @type {?} */\n            var value = controlConfig[0];\n            /** @type {?} */\n\n            var validator = controlConfig.length > 1 ? controlConfig[1] : null;\n            /** @type {?} */\n\n            var asyncValidator = controlConfig.length > 2 ? controlConfig[2] : null;\n            return this.control(value, validator, asyncValidator);\n          } else {\n            return this.control(controlConfig);\n          }\n        }\n      }]);\n\n      return FormBuilder;\n    }();\n\n    FormBuilder.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * \\@publicApi\n     * @type {?}\n     */\n\n    var VERSION = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Version\"]('8.2.14');\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Exports the required providers and directives for template-driven forms,\n     * making them available for import by NgModules that import this module.\n     *\n     * @see [Forms Guide](/guide/forms)\n     *\n     * \\@publicApi\n     */\n\n    var FormsModule =\n    /*#__PURE__*/\n    function () {\n      function FormsModule() {\n        _classCallCheck(this, FormsModule);\n      }\n\n      _createClass2(FormsModule, null, [{\n        key: \"withConfig\",\n\n        /**\n         * \\@description\n         * Provides options for configuring the template-driven forms module.\n         *\n         * @param {?} opts An object of configuration options\n         * * `warnOnDeprecatedNgFormSelector` Configures when to emit a warning when the deprecated\n         * `ngForm` selector is used.\n         * @return {?}\n         */\n        value: function withConfig(opts) {\n          return {\n            ngModule: FormsModule,\n            providers: [{\n              provide: NG_FORM_SELECTOR_WARNING,\n              useValue: opts.warnOnDeprecatedNgFormSelector\n            }]\n          };\n        }\n      }]);\n\n      return FormsModule;\n    }();\n\n    FormsModule.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"],\n      args: [{\n        declarations: TEMPLATE_DRIVEN_DIRECTIVES,\n        providers: [RadioControlRegistry],\n        exports: [ɵInternalFormsSharedModule, TEMPLATE_DRIVEN_DIRECTIVES]\n      }]\n    }];\n    /**\n     * Exports the required infrastructure and directives for reactive forms,\n     * making them available for import by NgModules that import this module.\n     * @see [Forms](guide/reactive-forms)\n     *\n     * @see [Reactive Forms Guide](/guide/reactive-forms)\n     *\n     * \\@publicApi\n     */\n\n    var ReactiveFormsModule =\n    /*#__PURE__*/\n    function () {\n      function ReactiveFormsModule() {\n        _classCallCheck(this, ReactiveFormsModule);\n      }\n\n      _createClass2(ReactiveFormsModule, null, [{\n        key: \"withConfig\",\n\n        /**\n         * \\@description\n         * Provides options for configuring the reactive forms module.\n         *\n         * @param {?} opts An object of configuration options\n         * * `warnOnNgModelWithFormControl` Configures when to emit a warning when an `ngModel`\n         * binding is used with reactive form directives.\n         * @return {?}\n         */\n        value: function withConfig(opts) {\n          return {\n            ngModule: ReactiveFormsModule,\n            providers: [{\n              provide: NG_MODEL_WITH_FORM_CONTROL_WARNING,\n              useValue: opts.warnOnNgModelWithFormControl\n            }]\n          };\n        }\n      }]);\n\n      return ReactiveFormsModule;\n    }();\n\n    ReactiveFormsModule.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"],\n      args: [{\n        declarations: [REACTIVE_DRIVEN_DIRECTIVES],\n        providers: [FormBuilder, RadioControlRegistry],\n        exports: [ɵInternalFormsSharedModule, REACTIVE_DRIVEN_DIRECTIVES]\n      }]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Generated bundle index. Do not edit.\n     */\n\n    /***/\n  },\n\n  /***/\n  \"./node_modules/@angular/material/esm2015/button.js\":\n  /*!**********************************************************!*\\\n    !*** ./node_modules/@angular/material/esm2015/button.js ***!\n    \\**********************************************************/\n\n  /*! exports provided: MatButtonModule, MatButton, MatAnchor */\n\n  /***/\n  function node_modulesAngularMaterialEsm2015ButtonJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MatButtonModule\", function () {\n      return MatButtonModule;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MatButton\", function () {\n      return MatButton;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MatAnchor\", function () {\n      return MatAnchor;\n    });\n    /* harmony import */\n\n\n    var _angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! @angular/cdk/a11y */\n    \"./node_modules/@angular/cdk/esm2015/a11y.js\");\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var _angular_material_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! @angular/material/core */\n    \"./node_modules/@angular/material/esm2015/core.js\");\n    /* harmony import */\n\n\n    var _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! @angular/platform-browser/animations */\n    \"./node_modules/@angular/platform-browser/fesm2015/animations.js\");\n    /* harmony import */\n\n\n    var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! @angular/common */\n    \"./node_modules/@angular/common/fesm2015/common.js\");\n    /**\n     * @license\n     * Copyright Google LLC All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Default color palette for round buttons (mat-fab and mat-mini-fab)\n     * @type {?}\n     */\n\n\n    var DEFAULT_ROUND_BUTTON_COLOR = 'accent';\n    /**\n     * List of classes to add to MatButton instances based on host attributes to\n     * style as different variants.\n     * @type {?}\n     */\n\n    var BUTTON_HOST_ATTRIBUTES = ['mat-button', 'mat-flat-button', 'mat-icon-button', 'mat-raised-button', 'mat-stroked-button', 'mat-mini-fab', 'mat-fab']; // Boilerplate for applying mixins to MatButton.\n\n    /**\n     * \\@docs-private\n     */\n\n    var MatButtonBase =\n    /**\n     * @param {?} _elementRef\n     */\n    function MatButtonBase(_elementRef) {\n      _classCallCheck(this, MatButtonBase);\n\n      this._elementRef = _elementRef;\n    };\n    /** @type {?} */\n\n\n    var _MatButtonMixinBase = Object(_angular_material_core__WEBPACK_IMPORTED_MODULE_2__[\"mixinColor\"])(Object(_angular_material_core__WEBPACK_IMPORTED_MODULE_2__[\"mixinDisabled\"])(Object(_angular_material_core__WEBPACK_IMPORTED_MODULE_2__[\"mixinDisableRipple\"])(MatButtonBase)));\n    /**\n     * Material design button.\n     */\n\n\n    var MatButton =\n    /*#__PURE__*/\n    function (_MatButtonMixinBase2) {\n      _inherits(MatButton, _MatButtonMixinBase2);\n\n      /**\n       * @param {?} elementRef\n       * @param {?} _focusMonitor\n       * @param {?} _animationMode\n       */\n      function MatButton(elementRef, _focusMonitor, _animationMode) {\n        var _this590;\n\n        _classCallCheck(this, MatButton);\n\n        _this590 = _possibleConstructorReturn(this, _getPrototypeOf(MatButton).call(this, elementRef));\n        _this590._focusMonitor = _focusMonitor;\n        _this590._animationMode = _animationMode;\n        /**\n         * Whether the button is round.\n         */\n\n        _this590.isRoundButton = _this590._hasHostAttributes('mat-fab', 'mat-mini-fab');\n        /**\n         * Whether the button is icon button.\n         */\n\n        _this590.isIconButton = _this590._hasHostAttributes('mat-icon-button'); // For each of the variant selectors that is present in the button's host\n        // attributes, add the correct corresponding class.\n\n        var _iteratorNormalCompletion53 = true;\n        var _didIteratorError53 = false;\n        var _iteratorError53 = undefined;\n\n        try {\n          for (var _iterator53 = BUTTON_HOST_ATTRIBUTES[Symbol.iterator](), _step53; !(_iteratorNormalCompletion53 = (_step53 = _iterator53.next()).done); _iteratorNormalCompletion53 = true) {\n            var attr = _step53.value;\n\n            if (_this590._hasHostAttributes(attr)) {\n              /** @type {?} */\n              _this590._getHostElement().classList.add(attr);\n            }\n          } // Add a class that applies to all buttons. This makes it easier to target if somebody\n          // wants to target all Material buttons. We do it here rather than `host` to ensure that\n          // the class is applied to derived classes.\n\n        } catch (err) {\n          _didIteratorError53 = true;\n          _iteratorError53 = err;\n        } finally {\n          try {\n            if (!_iteratorNormalCompletion53 && _iterator53.return != null) {\n              _iterator53.return();\n            }\n          } finally {\n            if (_didIteratorError53) {\n              throw _iteratorError53;\n            }\n          }\n        }\n\n        elementRef.nativeElement.classList.add('mat-button-base');\n\n        _this590._focusMonitor.monitor(_this590._elementRef, true);\n\n        if (_this590.isRoundButton) {\n          _this590.color = DEFAULT_ROUND_BUTTON_COLOR;\n        }\n\n        return _this590;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(MatButton, [{\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          this._focusMonitor.stopMonitoring(this._elementRef);\n        }\n        /**\n         * Focuses the button.\n         * @param {?=} origin\n         * @param {?=} options\n         * @return {?}\n         */\n\n      }, {\n        key: \"focus\",\n        value: function focus() {\n          var origin = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'program';\n          var options = arguments.length > 1 ? arguments[1] : undefined;\n\n          this._focusMonitor.focusVia(this._getHostElement(), origin, options);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"_getHostElement\",\n        value: function _getHostElement() {\n          return this._elementRef.nativeElement;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"_isRippleDisabled\",\n        value: function _isRippleDisabled() {\n          return this.disableRipple || this.disabled;\n        }\n        /**\n         * Gets whether the button has one of the given attributes.\n         * @param {...?} attributes\n         * @return {?}\n         */\n\n      }, {\n        key: \"_hasHostAttributes\",\n        value: function _hasHostAttributes() {\n          var _this591 = this;\n\n          for (var _len27 = arguments.length, attributes = new Array(_len27), _key29 = 0; _key29 < _len27; _key29++) {\n            attributes[_key29] = arguments[_key29];\n          }\n\n          return attributes.some(\n          /**\n          * @param {?} attribute\n          * @return {?}\n          */\n          function (attribute) {\n            return _this591._getHostElement().hasAttribute(attribute);\n          });\n        }\n      }]);\n\n      return MatButton;\n    }(_MatButtonMixinBase);\n\n    MatButton.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Component\"],\n      args: [{\n        selector: \"button[mat-button], button[mat-raised-button], button[mat-icon-button],\\n             button[mat-fab], button[mat-mini-fab], button[mat-stroked-button],\\n             button[mat-flat-button]\",\n        exportAs: 'matButton',\n        host: {\n          '[attr.disabled]': 'disabled || null',\n          '[class._mat-animation-noopable]': '_animationMode === \"NoopAnimations\"'\n        },\n        template: \"<span class=\\\"mat-button-wrapper\\\"><ng-content></ng-content></span><div matRipple class=\\\"mat-button-ripple\\\" [class.mat-button-ripple-round]=\\\"isRoundButton || isIconButton\\\" [matRippleDisabled]=\\\"_isRippleDisabled()\\\" [matRippleCentered]=\\\"isIconButton\\\" [matRippleTrigger]=\\\"_getHostElement()\\\"></div><div class=\\\"mat-button-focus-overlay\\\"></div>\",\n        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}}\"],\n        inputs: ['disabled', 'disableRipple', 'color'],\n        encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ViewEncapsulation\"].None,\n        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ChangeDetectionStrategy\"].OnPush\n      }]\n    }];\n    /** @nocollapse */\n\n    MatButton.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ElementRef\"]\n      }, {\n        type: _angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_0__[\"FocusMonitor\"]\n      }, {\n        type: String,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"],\n          args: [_angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_3__[\"ANIMATION_MODULE_TYPE\"]]\n        }]\n      }];\n    };\n\n    MatButton.propDecorators = {\n      ripple: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ViewChild\"],\n        args: [_angular_material_core__WEBPACK_IMPORTED_MODULE_2__[\"MatRipple\"], {\n          static: false\n        }]\n      }]\n    };\n    /**\n     * Material design anchor button.\n     */\n\n    var MatAnchor =\n    /*#__PURE__*/\n    function (_MatButton) {\n      _inherits(MatAnchor, _MatButton);\n\n      /**\n       * @param {?} focusMonitor\n       * @param {?} elementRef\n       * @param {?} animationMode\n       */\n      function MatAnchor(focusMonitor, elementRef, animationMode) {\n        _classCallCheck(this, MatAnchor);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(MatAnchor).call(this, elementRef, focusMonitor, animationMode));\n      }\n      /**\n       * @param {?} event\n       * @return {?}\n       */\n\n\n      _createClass2(MatAnchor, [{\n        key: \"_haltDisabledEvents\",\n        value: function _haltDisabledEvents(event) {\n          // A disabled button shouldn't apply any actions\n          if (this.disabled) {\n            event.preventDefault();\n            event.stopImmediatePropagation();\n          }\n        }\n      }]);\n\n      return MatAnchor;\n    }(MatButton);\n\n    MatAnchor.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Component\"],\n      args: [{\n        selector: \"a[mat-button], a[mat-raised-button], a[mat-icon-button], a[mat-fab],\\n             a[mat-mini-fab], a[mat-stroked-button], a[mat-flat-button]\",\n        exportAs: 'matButton, matAnchor',\n        host: {\n          // Note that we ignore the user-specified tabindex when it's disabled for\n          // consistency with the `mat-button` applied on native buttons where even\n          // though they have an index, they're not tabbable.\n          '[attr.tabindex]': 'disabled ? -1 : (tabIndex || 0)',\n          '[attr.disabled]': 'disabled || null',\n          '[attr.aria-disabled]': 'disabled.toString()',\n          '(click)': '_haltDisabledEvents($event)',\n          '[class._mat-animation-noopable]': '_animationMode === \"NoopAnimations\"'\n        },\n        inputs: ['disabled', 'disableRipple', 'color'],\n        template: \"<span class=\\\"mat-button-wrapper\\\"><ng-content></ng-content></span><div matRipple class=\\\"mat-button-ripple\\\" [class.mat-button-ripple-round]=\\\"isRoundButton || isIconButton\\\" [matRippleDisabled]=\\\"_isRippleDisabled()\\\" [matRippleCentered]=\\\"isIconButton\\\" [matRippleTrigger]=\\\"_getHostElement()\\\"></div><div class=\\\"mat-button-focus-overlay\\\"></div>\",\n        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}}\"],\n        encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ViewEncapsulation\"].None,\n        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ChangeDetectionStrategy\"].OnPush\n      }]\n    }];\n    /** @nocollapse */\n\n    MatAnchor.ctorParameters = function () {\n      return [{\n        type: _angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_0__[\"FocusMonitor\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ElementRef\"]\n      }, {\n        type: String,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"],\n          args: [_angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_3__[\"ANIMATION_MODULE_TYPE\"]]\n        }]\n      }];\n    };\n\n    MatAnchor.propDecorators = {\n      tabIndex: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"]\n      }]\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    var MatButtonModule = function MatButtonModule() {\n      _classCallCheck(this, MatButtonModule);\n    };\n\n    MatButtonModule.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgModule\"],\n      args: [{\n        imports: [_angular_common__WEBPACK_IMPORTED_MODULE_4__[\"CommonModule\"], _angular_material_core__WEBPACK_IMPORTED_MODULE_2__[\"MatRippleModule\"], _angular_material_core__WEBPACK_IMPORTED_MODULE_2__[\"MatCommonModule\"]],\n        exports: [MatButton, MatAnchor, _angular_material_core__WEBPACK_IMPORTED_MODULE_2__[\"MatCommonModule\"]],\n        declarations: [MatButton, MatAnchor]\n      }]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /***/\n  },\n\n  /***/\n  \"./node_modules/@angular/material/esm2015/core.js\":\n  /*!********************************************************!*\\\n    !*** ./node_modules/@angular/material/esm2015/core.js ***!\n    \\********************************************************/\n\n  /*! exports provided: VERSION, AnimationCurves, AnimationDurations, MatCommonModule, MATERIAL_SANITY_CHECKS, mixinDisabled, mixinColor, mixinDisableRipple, mixinTabIndex, mixinErrorState, mixinInitialized, NativeDateModule, MatNativeDateModule, MAT_DATE_LOCALE_FACTORY, MAT_DATE_LOCALE, MAT_DATE_LOCALE_PROVIDER, DateAdapter, MAT_DATE_FORMATS, NativeDateAdapter, MAT_NATIVE_DATE_FORMATS, ShowOnDirtyErrorStateMatcher, ErrorStateMatcher, MAT_HAMMER_OPTIONS, GestureConfig, setLines, MatLine, MatLineSetter, MatLineModule, MatOptionModule, _countGroupLabelsBeforeOption, _getOptionScrollPosition, MatOptionSelectionChange, MAT_OPTION_PARENT_COMPONENT, MatOption, MatOptgroup, MAT_LABEL_GLOBAL_OPTIONS, MatRippleModule, MAT_RIPPLE_GLOBAL_OPTIONS, MatRipple, RippleState, RippleRef, defaultRippleAnimationConfig, RippleRenderer, MatPseudoCheckboxModule, MatPseudoCheckbox, JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC, ɵa1 */\n\n  /***/\n  function node_modulesAngularMaterialEsm2015CoreJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"VERSION\", function () {\n      return VERSION$1;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"AnimationCurves\", function () {\n      return AnimationCurves;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"AnimationDurations\", function () {\n      return AnimationDurations;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MatCommonModule\", function () {\n      return MatCommonModule;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MATERIAL_SANITY_CHECKS\", function () {\n      return MATERIAL_SANITY_CHECKS;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"mixinDisabled\", function () {\n      return mixinDisabled;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"mixinColor\", function () {\n      return mixinColor;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"mixinDisableRipple\", function () {\n      return mixinDisableRipple;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"mixinTabIndex\", function () {\n      return mixinTabIndex;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"mixinErrorState\", function () {\n      return mixinErrorState;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"mixinInitialized\", function () {\n      return mixinInitialized;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NativeDateModule\", function () {\n      return NativeDateModule;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MatNativeDateModule\", function () {\n      return MatNativeDateModule;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MAT_DATE_LOCALE_FACTORY\", function () {\n      return MAT_DATE_LOCALE_FACTORY;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MAT_DATE_LOCALE\", function () {\n      return MAT_DATE_LOCALE;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MAT_DATE_LOCALE_PROVIDER\", function () {\n      return MAT_DATE_LOCALE_PROVIDER;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DateAdapter\", function () {\n      return DateAdapter;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MAT_DATE_FORMATS\", function () {\n      return MAT_DATE_FORMATS;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NativeDateAdapter\", function () {\n      return NativeDateAdapter;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MAT_NATIVE_DATE_FORMATS\", function () {\n      return MAT_NATIVE_DATE_FORMATS;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ShowOnDirtyErrorStateMatcher\", function () {\n      return ShowOnDirtyErrorStateMatcher;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ErrorStateMatcher\", function () {\n      return ErrorStateMatcher;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MAT_HAMMER_OPTIONS\", function () {\n      return MAT_HAMMER_OPTIONS;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"GestureConfig\", function () {\n      return GestureConfig;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"setLines\", function () {\n      return setLines;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MatLine\", function () {\n      return MatLine;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MatLineSetter\", function () {\n      return MatLineSetter;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MatLineModule\", function () {\n      return MatLineModule;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MatOptionModule\", function () {\n      return MatOptionModule;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"_countGroupLabelsBeforeOption\", function () {\n      return _countGroupLabelsBeforeOption;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"_getOptionScrollPosition\", function () {\n      return _getOptionScrollPosition;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MatOptionSelectionChange\", function () {\n      return MatOptionSelectionChange;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MAT_OPTION_PARENT_COMPONENT\", function () {\n      return MAT_OPTION_PARENT_COMPONENT;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MatOption\", function () {\n      return MatOption;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MatOptgroup\", function () {\n      return MatOptgroup;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MAT_LABEL_GLOBAL_OPTIONS\", function () {\n      return MAT_LABEL_GLOBAL_OPTIONS;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MatRippleModule\", function () {\n      return MatRippleModule;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MAT_RIPPLE_GLOBAL_OPTIONS\", function () {\n      return MAT_RIPPLE_GLOBAL_OPTIONS;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MatRipple\", function () {\n      return MatRipple;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"RippleState\", function () {\n      return RippleState;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"RippleRef\", function () {\n      return RippleRef;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"defaultRippleAnimationConfig\", function () {\n      return defaultRippleAnimationConfig;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"RippleRenderer\", function () {\n      return RippleRenderer;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MatPseudoCheckboxModule\", function () {\n      return MatPseudoCheckboxModule;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MatPseudoCheckbox\", function () {\n      return MatPseudoCheckbox;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"JAN\", function () {\n      return JAN;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FEB\", function () {\n      return FEB;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MAR\", function () {\n      return MAR;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"APR\", function () {\n      return APR;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MAY\", function () {\n      return MAY;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"JUN\", function () {\n      return JUN;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"JUL\", function () {\n      return JUL;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"AUG\", function () {\n      return AUG;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"SEP\", function () {\n      return SEP;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"OCT\", function () {\n      return OCT;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NOV\", function () {\n      return NOV;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DEC\", function () {\n      return DEC;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵa1\", function () {\n      return MATERIAL_SANITY_CHECKS_FACTORY;\n    });\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/platform-browser */\n    \"./node_modules/@angular/platform-browser/fesm2015/platform-browser.js\");\n    /* harmony import */\n\n\n    var _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! @angular/cdk/bidi */\n    \"./node_modules/@angular/cdk/esm2015/bidi.js\");\n    /* harmony import */\n\n\n    var _angular_cdk__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! @angular/cdk */\n    \"./node_modules/@angular/cdk/esm2015/cdk.js\");\n    /* harmony import */\n\n\n    var _angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! @angular/cdk/coercion */\n    \"./node_modules/@angular/cdk/esm2015/coercion.js\");\n    /* harmony import */\n\n\n    var rxjs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\n    /*! rxjs */\n    \"./node_modules/rxjs/_esm2015/index.js\");\n    /* harmony import */\n\n\n    var _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(\n    /*! @angular/cdk/platform */\n    \"./node_modules/@angular/cdk/esm2015/platform.js\");\n    /* harmony import */\n\n\n    var rxjs_operators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(\n    /*! rxjs/operators */\n    \"./node_modules/rxjs/_esm2015/operators/index.js\");\n    /* harmony import */\n\n\n    var _angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(\n    /*! @angular/cdk/a11y */\n    \"./node_modules/@angular/cdk/esm2015/a11y.js\");\n    /* harmony import */\n\n\n    var _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(\n    /*! @angular/platform-browser/animations */\n    \"./node_modules/@angular/platform-browser/fesm2015/animations.js\");\n    /* harmony import */\n\n\n    var _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(\n    /*! @angular/cdk/keycodes */\n    \"./node_modules/@angular/cdk/esm2015/keycodes.js\");\n    /* harmony import */\n\n\n    var _angular_common__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(\n    /*! @angular/common */\n    \"./node_modules/@angular/common/fesm2015/common.js\");\n    /**\n     * @license\n     * Copyright Google LLC All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Current version of Angular Material.\n     * @type {?}\n     */\n\n\n    var VERSION$1 = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Version\"]('8.2.3');\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * \\@docs-private\n     */\n\n    var AnimationCurves = function AnimationCurves() {\n      _classCallCheck(this, AnimationCurves);\n    };\n\n    AnimationCurves.STANDARD_CURVE = 'cubic-bezier(0.4,0.0,0.2,1)';\n    AnimationCurves.DECELERATION_CURVE = 'cubic-bezier(0.0,0.0,0.2,1)';\n    AnimationCurves.ACCELERATION_CURVE = 'cubic-bezier(0.4,0.0,1,1)';\n    AnimationCurves.SHARP_CURVE = 'cubic-bezier(0.4,0.0,0.6,1)';\n    /**\n     * \\@docs-private\n     */\n\n    var AnimationDurations = function AnimationDurations() {\n      _classCallCheck(this, AnimationDurations);\n    };\n\n    AnimationDurations.COMPLEX = '375ms';\n    AnimationDurations.ENTERING = '225ms';\n    AnimationDurations.EXITING = '195ms';\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n    // Private version constant to circumvent test/build issues,\n    // i.e. avoid core to depend on the @angular/material primary entry-point\n    // Can be removed once the Material primary entry-point no longer\n    // re-exports all secondary entry-points\n\n    /** @type {?} */\n\n    var VERSION$2 = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Version\"]('8.2.3');\n    /**\n     * \\@docs-private\n     * @return {?}\n     */\n\n    function MATERIAL_SANITY_CHECKS_FACTORY() {\n      return true;\n    }\n    /**\n     * Injection token that configures whether the Material sanity checks are enabled.\n     * @type {?}\n     */\n\n\n    var MATERIAL_SANITY_CHECKS = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('mat-sanity-checks', {\n      providedIn: 'root',\n      factory: MATERIAL_SANITY_CHECKS_FACTORY\n    });\n    /**\n     * Module that captures anything that should be loaded and/or run for *all* Angular Material\n     * components. This includes Bidi, etc.\n     *\n     * This module should be imported to each top-level component module (e.g., MatTabsModule).\n     */\n\n    var MatCommonModule =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _sanityChecksEnabled\n       * @param {?=} _hammerLoader\n       */\n      function MatCommonModule(_sanityChecksEnabled, _hammerLoader) {\n        _classCallCheck(this, MatCommonModule);\n\n        this._sanityChecksEnabled = _sanityChecksEnabled;\n        this._hammerLoader = _hammerLoader;\n        /**\n         * Whether we've done the global sanity checks (e.g. a theme is loaded, there is a doctype).\n         */\n\n        this._hasDoneGlobalChecks = false;\n        /**\n         * Whether we've already checked for HammerJs availability.\n         */\n\n        this._hasCheckedHammer = false;\n        /**\n         * Reference to the global `document` object.\n         */\n\n        this._document = typeof document === 'object' && document ? document : null;\n        /**\n         * Reference to the global 'window' object.\n         */\n\n        this._window = typeof window === 'object' && window ? window : null;\n\n        if (this._areChecksEnabled() && !this._hasDoneGlobalChecks) {\n          this._checkDoctypeIsDefined();\n\n          this._checkThemeIsPresent();\n\n          this._checkCdkVersionMatch();\n\n          this._hasDoneGlobalChecks = true;\n        }\n      }\n      /**\n       * Whether any sanity checks are enabled\n       * @private\n       * @return {?}\n       */\n\n\n      _createClass2(MatCommonModule, [{\n        key: \"_areChecksEnabled\",\n        value: function _areChecksEnabled() {\n          return this._sanityChecksEnabled && Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"isDevMode\"])() && !this._isTestEnv();\n        }\n        /**\n         * Whether the code is running in tests.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_isTestEnv\",\n        value: function _isTestEnv() {\n          /** @type {?} */\n          var window =\n          /** @type {?} */\n          this._window;\n          return window && (window.__karma__ || window.jasmine);\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_checkDoctypeIsDefined\",\n        value: function _checkDoctypeIsDefined() {\n          if (this._document && !this._document.doctype) {\n            console.warn('Current document does not have a doctype. This may cause ' + 'some Angular Material components not to behave as expected.');\n          }\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_checkThemeIsPresent\",\n        value: function _checkThemeIsPresent() {\n          // We need to assert that the `body` is defined, because these checks run very early\n          // and the `body` won't be defined if the consumer put their scripts in the `head`.\n          if (!this._document || !this._document.body || typeof getComputedStyle !== 'function') {\n            return;\n          }\n          /** @type {?} */\n\n\n          var testElement = this._document.createElement('div');\n\n          testElement.classList.add('mat-theme-loaded-marker');\n\n          this._document.body.appendChild(testElement);\n          /** @type {?} */\n\n\n          var computedStyle = getComputedStyle(testElement); // In some situations the computed style of the test element can be null. For example in\n          // Firefox, the computed style is null if an application is running inside of a hidden iframe.\n          // See: https://bugzilla.mozilla.org/show_bug.cgi?id=548397\n\n          if (computedStyle && computedStyle.display !== 'none') {\n            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');\n          }\n\n          this._document.body.removeChild(testElement);\n        }\n        /**\n         * Checks whether the material version matches the cdk version\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_checkCdkVersionMatch\",\n        value: function _checkCdkVersionMatch() {\n          if (VERSION$2.full !== _angular_cdk__WEBPACK_IMPORTED_MODULE_3__[\"VERSION\"].full) {\n            console.warn('The Angular Material version (' + VERSION$2.full + ') does not match ' + 'the Angular CDK version (' + _angular_cdk__WEBPACK_IMPORTED_MODULE_3__[\"VERSION\"].full + ').\\n' + 'Please ensure the versions of these two packages exactly match.');\n          }\n        }\n        /**\n         * Checks whether HammerJS is available.\n         * @return {?}\n         */\n\n      }, {\n        key: \"_checkHammerIsAvailable\",\n        value: function _checkHammerIsAvailable() {\n          if (this._hasCheckedHammer || !this._window) {\n            return;\n          }\n\n          if (this._areChecksEnabled() && !\n          /** @type {?} */\n          this._window['Hammer'] && !this._hammerLoader) {\n            console.warn('Could not find HammerJS. Certain Angular Material components may not work correctly.');\n          }\n\n          this._hasCheckedHammer = true;\n        }\n      }]);\n\n      return MatCommonModule;\n    }();\n\n    MatCommonModule.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"],\n      args: [{\n        imports: [_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_2__[\"BidiModule\"]],\n        exports: [_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_2__[\"BidiModule\"]]\n      }]\n    }];\n    /** @nocollapse */\n\n    MatCommonModule.ctorParameters = function () {\n      return [{\n        type: Boolean,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [MATERIAL_SANITY_CHECKS]\n        }]\n      }, {\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [_angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__[\"HAMMER_LOADER\"]]\n        }]\n      }];\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Mixin to augment a directive with a `disabled` property.\n     * @template T\n     * @param {?} base\n     * @return {?}\n     */\n\n\n    function mixinDisabled(base) {\n      return (\n        /*#__PURE__*/\n        function (_base2) {\n          _inherits(_class2, _base2);\n\n          /**\n           * @param {...?} args\n           */\n          function _class2() {\n            var _getPrototypeOf2;\n\n            var _this592;\n\n            _classCallCheck(this, _class2);\n\n            for (var _len28 = arguments.length, args = new Array(_len28), _key30 = 0; _key30 < _len28; _key30++) {\n              args[_key30] = arguments[_key30];\n            }\n\n            _this592 = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(_class2)).call.apply(_getPrototypeOf2, [this].concat(args)));\n            _this592._disabled = false;\n            return _this592;\n          }\n          /**\n           * @return {?}\n           */\n\n\n          _createClass2(_class2, [{\n            key: \"disabled\",\n            get: function get() {\n              return this._disabled;\n            }\n            /**\n             * @param {?} value\n             * @return {?}\n             */\n            ,\n            set: function set(value) {\n              this._disabled = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_4__[\"coerceBooleanProperty\"])(value);\n            }\n          }]);\n\n          return _class2;\n        }(base)\n      );\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Mixin to augment a directive with a `color` property.\n     * @template T\n     * @param {?} base\n     * @param {?=} defaultColor\n     * @return {?}\n     */\n\n\n    function mixinColor(base, defaultColor) {\n      return (\n        /*#__PURE__*/\n        function (_base3) {\n          _inherits(_class3, _base3);\n\n          _createClass2(_class3, [{\n            key: \"color\",\n\n            /**\n             * @return {?}\n             */\n            get: function get() {\n              return this._color;\n            }\n            /**\n             * @param {?} value\n             * @return {?}\n             */\n            ,\n            set: function set(value) {\n              /** @type {?} */\n              var colorPalette = value || defaultColor;\n\n              if (colorPalette !== this._color) {\n                if (this._color) {\n                  this._elementRef.nativeElement.classList.remove(\"mat-\".concat(this._color));\n                }\n\n                if (colorPalette) {\n                  this._elementRef.nativeElement.classList.add(\"mat-\".concat(colorPalette));\n                }\n\n                this._color = colorPalette;\n              }\n            }\n            /**\n             * @param {...?} args\n             */\n\n          }]);\n\n          function _class3() {\n            var _getPrototypeOf3;\n\n            var _this593;\n\n            _classCallCheck(this, _class3);\n\n            for (var _len29 = arguments.length, args = new Array(_len29), _key31 = 0; _key31 < _len29; _key31++) {\n              args[_key31] = arguments[_key31];\n            }\n\n            _this593 = _possibleConstructorReturn(this, (_getPrototypeOf3 = _getPrototypeOf(_class3)).call.apply(_getPrototypeOf3, [this].concat(args))); // Set the default color that can be specified from the mixin.\n\n            _this593.color = defaultColor;\n            return _this593;\n          }\n\n          return _class3;\n        }(base)\n      );\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Mixin to augment a directive with a `disableRipple` property.\n     * @template T\n     * @param {?} base\n     * @return {?}\n     */\n\n\n    function mixinDisableRipple(base) {\n      return (\n        /*#__PURE__*/\n        function (_base4) {\n          _inherits(_class4, _base4);\n\n          /**\n           * @param {...?} args\n           */\n          function _class4() {\n            var _getPrototypeOf4;\n\n            var _this594;\n\n            _classCallCheck(this, _class4);\n\n            for (var _len30 = arguments.length, args = new Array(_len30), _key32 = 0; _key32 < _len30; _key32++) {\n              args[_key32] = arguments[_key32];\n            }\n\n            _this594 = _possibleConstructorReturn(this, (_getPrototypeOf4 = _getPrototypeOf(_class4)).call.apply(_getPrototypeOf4, [this].concat(args)));\n            _this594._disableRipple = false;\n            return _this594;\n          }\n          /**\n           * Whether the ripple effect is disabled or not.\n           * @return {?}\n           */\n\n\n          _createClass2(_class4, [{\n            key: \"disableRipple\",\n            get: function get() {\n              return this._disableRipple;\n            }\n            /**\n             * @param {?} value\n             * @return {?}\n             */\n            ,\n            set: function set(value) {\n              this._disableRipple = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_4__[\"coerceBooleanProperty\"])(value);\n            }\n          }]);\n\n          return _class4;\n        }(base)\n      );\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Mixin to augment a directive with a `tabIndex` property.\n     * @template T\n     * @param {?} base\n     * @param {?=} defaultTabIndex\n     * @return {?}\n     */\n\n\n    function mixinTabIndex(base) {\n      var defaultTabIndex = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n      return (\n        /*#__PURE__*/\n        function (_base5) {\n          _inherits(_class5, _base5);\n\n          /**\n           * @param {...?} args\n           */\n          function _class5() {\n            var _getPrototypeOf5;\n\n            var _this595;\n\n            _classCallCheck(this, _class5);\n\n            for (var _len31 = arguments.length, args = new Array(_len31), _key33 = 0; _key33 < _len31; _key33++) {\n              args[_key33] = arguments[_key33];\n            }\n\n            _this595 = _possibleConstructorReturn(this, (_getPrototypeOf5 = _getPrototypeOf(_class5)).call.apply(_getPrototypeOf5, [this].concat(args)));\n            _this595._tabIndex = defaultTabIndex;\n            return _this595;\n          }\n          /**\n           * @return {?}\n           */\n\n\n          _createClass2(_class5, [{\n            key: \"tabIndex\",\n            get: function get() {\n              return this.disabled ? -1 : this._tabIndex;\n            }\n            /**\n             * @param {?} value\n             * @return {?}\n             */\n            ,\n            set: function set(value) {\n              // If the specified tabIndex value is null or undefined, fall back to the default value.\n              this._tabIndex = value != null ? value : defaultTabIndex;\n            }\n          }]);\n\n          return _class5;\n        }(base)\n      );\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Mixin to augment a directive with updateErrorState method.\n     * For component with `errorState` and need to update `errorState`.\n     * @template T\n     * @param {?} base\n     * @return {?}\n     */\n\n\n    function mixinErrorState(base) {\n      return (\n        /*#__PURE__*/\n        function (_base6) {\n          _inherits(_class6, _base6);\n\n          /**\n           * @param {...?} args\n           */\n          function _class6() {\n            var _getPrototypeOf6;\n\n            var _this596;\n\n            _classCallCheck(this, _class6);\n\n            for (var _len32 = arguments.length, args = new Array(_len32), _key34 = 0; _key34 < _len32; _key34++) {\n              args[_key34] = arguments[_key34];\n            }\n\n            _this596 = _possibleConstructorReturn(this, (_getPrototypeOf6 = _getPrototypeOf(_class6)).call.apply(_getPrototypeOf6, [this].concat(args)));\n            /**\n             * Whether the component is in an error state.\n             */\n\n            _this596.errorState = false;\n            /**\n             * Stream that emits whenever the state of the input changes such that the wrapping\n             * `MatFormField` needs to run change detection.\n             */\n\n            _this596.stateChanges = new rxjs__WEBPACK_IMPORTED_MODULE_5__[\"Subject\"]();\n            return _this596;\n          }\n          /**\n           * @return {?}\n           */\n\n\n          _createClass2(_class6, [{\n            key: \"updateErrorState\",\n            value: function updateErrorState() {\n              /** @type {?} */\n              var oldState = this.errorState;\n              /** @type {?} */\n\n              var parent = this._parentFormGroup || this._parentForm;\n              /** @type {?} */\n\n              var matcher = this.errorStateMatcher || this._defaultErrorStateMatcher;\n              /** @type {?} */\n\n              var control = this.ngControl ?\n              /** @type {?} */\n              this.ngControl.control : null;\n              /** @type {?} */\n\n              var newState = matcher.isErrorState(control, parent);\n\n              if (newState !== oldState) {\n                this.errorState = newState;\n                this.stateChanges.next();\n              }\n            }\n          }]);\n\n          return _class6;\n        }(base)\n      );\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Mixin to augment a directive with an initialized property that will emits when ngOnInit ends.\n     * @template T\n     * @param {?} base\n     * @return {?}\n     */\n\n\n    function mixinInitialized(base) {\n      return (\n        /*#__PURE__*/\n        function (_base7) {\n          _inherits(_class7, _base7);\n\n          /**\n           * @param {...?} args\n           */\n          function _class7() {\n            var _getPrototypeOf7;\n\n            var _this597;\n\n            _classCallCheck(this, _class7);\n\n            for (var _len33 = arguments.length, args = new Array(_len33), _key35 = 0; _key35 < _len33; _key35++) {\n              args[_key35] = arguments[_key35];\n            }\n\n            _this597 = _possibleConstructorReturn(this, (_getPrototypeOf7 = _getPrototypeOf(_class7)).call.apply(_getPrototypeOf7, [this].concat(args)));\n            /**\n             * Whether this directive has been marked as initialized.\n             */\n\n            _this597._isInitialized = false;\n            /**\n             * List of subscribers that subscribed before the directive was initialized. Should be notified\n             * during _markInitialized. Set to null after pending subscribers are notified, and should\n             * not expect to be populated after.\n             */\n\n            _this597._pendingSubscribers = [];\n            /**\n             * Observable stream that emits when the directive initializes. If already initialized, the\n             * subscriber is stored to be notified once _markInitialized is called.\n             */\n\n            _this597.initialized = new rxjs__WEBPACK_IMPORTED_MODULE_5__[\"Observable\"](\n            /**\n            * @param {?} subscriber\n            * @return {?}\n            */\n            function (subscriber) {\n              // If initialized, immediately notify the subscriber. Otherwise store the subscriber to notify\n              // when _markInitialized is called.\n              if (_this597._isInitialized) {\n                _this597._notifySubscriber(subscriber);\n              } else {\n                /** @type {?} */\n                _this597._pendingSubscribers.push(subscriber);\n              }\n            });\n            return _this597;\n          }\n          /**\n           * Marks the state as initialized and notifies pending subscribers. Should be called at the end\n           * of ngOnInit.\n           * \\@docs-private\n           * @return {?}\n           */\n\n\n          _createClass2(_class7, [{\n            key: \"_markInitialized\",\n            value: function _markInitialized() {\n              if (this._isInitialized) {\n                throw Error('This directive has already been marked as initialized and ' + 'should not be called twice.');\n              }\n\n              this._isInitialized = true;\n\n              /** @type {?} */\n              this._pendingSubscribers.forEach(this._notifySubscriber);\n\n              this._pendingSubscribers = null;\n            }\n            /**\n             * Emits and completes the subscriber stream (should only emit once).\n             * @param {?} subscriber\n             * @return {?}\n             */\n\n          }, {\n            key: \"_notifySubscriber\",\n            value: function _notifySubscriber(subscriber) {\n              subscriber.next();\n              subscriber.complete();\n            }\n          }]);\n\n          return _class7;\n        }(base)\n      );\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * InjectionToken for datepicker that can be used to override default locale code.\n     * @type {?}\n     */\n\n\n    var MAT_DATE_LOCALE = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('MAT_DATE_LOCALE', {\n      providedIn: 'root',\n      factory: MAT_DATE_LOCALE_FACTORY\n    });\n    /**\n     * \\@docs-private\n     * @return {?}\n     */\n\n    function MAT_DATE_LOCALE_FACTORY() {\n      return Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"inject\"])(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"LOCALE_ID\"]);\n    }\n    /**\n     * No longer needed since MAT_DATE_LOCALE has been changed to a scoped injectable.\n     * If you are importing and providing this in your code you can simply remove it.\n     * @deprecated\n     * \\@breaking-change 8.0.0\n     * @type {?}\n     */\n\n\n    var MAT_DATE_LOCALE_PROVIDER = {\n      provide: MAT_DATE_LOCALE,\n      useExisting: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"LOCALE_ID\"]\n    };\n    /**\n     * Adapts type `D` to be usable as a date by cdk-based components that work with dates.\n     * @abstract\n     * @template D\n     */\n\n    var DateAdapter =\n    /*#__PURE__*/\n    function () {\n      function DateAdapter() {\n        _classCallCheck(this, DateAdapter);\n\n        this._localeChanges = new rxjs__WEBPACK_IMPORTED_MODULE_5__[\"Subject\"]();\n      }\n      /**\n       * A stream that emits when the locale changes.\n       * @return {?}\n       */\n\n\n      _createClass2(DateAdapter, [{\n        key: \"deserialize\",\n\n        /**\n         * Attempts to deserialize a value to a valid date object. This is different from parsing in that\n         * deserialize should only accept non-ambiguous, locale-independent formats (e.g. a ISO 8601\n         * string). The default implementation does not allow any deserialization, it simply checks that\n         * the given value is already a valid date object or null. The `<mat-datepicker>` will call this\n         * method on all of its `\\@Input()` properties that accept dates. It is therefore possible to\n         * support passing values from your backend directly to these properties by overriding this method\n         * to also deserialize the format used by your backend.\n         * @param {?} value The value to be deserialized into a date object.\n         * @return {?} The deserialized date object, either a valid date, null if the value can be\n         *     deserialized into a null date (e.g. the empty string), or an invalid date.\n         */\n        value: function deserialize(value) {\n          if (value == null || this.isDateInstance(value) && this.isValid(value)) {\n            return value;\n          }\n\n          return this.invalid();\n        }\n        /**\n         * Sets the locale used for all dates.\n         * @param {?} locale The new locale.\n         * @return {?}\n         */\n\n      }, {\n        key: \"setLocale\",\n        value: function setLocale(locale) {\n          this.locale = locale;\n\n          this._localeChanges.next();\n        }\n        /**\n         * Compares two dates.\n         * @param {?} first The first date to compare.\n         * @param {?} second The second date to compare.\n         * @return {?} 0 if the dates are equal, a number less than 0 if the first date is earlier,\n         *     a number greater than 0 if the first date is later.\n         */\n\n      }, {\n        key: \"compareDate\",\n        value: function compareDate(first, second) {\n          return this.getYear(first) - this.getYear(second) || this.getMonth(first) - this.getMonth(second) || this.getDate(first) - this.getDate(second);\n        }\n        /**\n         * Checks if two dates are equal.\n         * @param {?} first The first date to check.\n         * @param {?} second The second date to check.\n         * @return {?} Whether the two dates are equal.\n         *     Null dates are considered equal to other null dates.\n         */\n\n      }, {\n        key: \"sameDate\",\n        value: function sameDate(first, second) {\n          if (first && second) {\n            /** @type {?} */\n            var firstValid = this.isValid(first);\n            /** @type {?} */\n\n            var secondValid = this.isValid(second);\n\n            if (firstValid && secondValid) {\n              return !this.compareDate(first, second);\n            }\n\n            return firstValid == secondValid;\n          }\n\n          return first == second;\n        }\n        /**\n         * Clamp the given date between min and max dates.\n         * @param {?} date The date to clamp.\n         * @param {?=} min The minimum value to allow. If null or omitted no min is enforced.\n         * @param {?=} max The maximum value to allow. If null or omitted no max is enforced.\n         * @return {?} `min` if `date` is less than `min`, `max` if date is greater than `max`,\n         *     otherwise `date`.\n         */\n\n      }, {\n        key: \"clampDate\",\n        value: function clampDate(date, min, max) {\n          if (min && this.compareDate(date, min) < 0) {\n            return min;\n          }\n\n          if (max && this.compareDate(date, max) > 0) {\n            return max;\n          }\n\n          return date;\n        }\n      }, {\n        key: \"localeChanges\",\n        get: function get() {\n          return this._localeChanges;\n        }\n      }]);\n\n      return DateAdapter;\n    }();\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var MAT_DATE_FORMATS = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('mat-date-formats');\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n    // TODO(mmalerba): Remove when we no longer support safari 9.\n\n    /**\n     * Whether the browser supports the Intl API.\n     * @type {?}\n     */\n\n    var SUPPORTS_INTL_API; // We need a try/catch around the reference to `Intl`, because accessing it in some cases can\n    // cause IE to throw. These cases are tied to particular versions of Windows and can happen if\n    // the consumer is providing a polyfilled `Map`. See:\n    // https://github.com/Microsoft/ChakraCore/issues/3189\n    // https://github.com/angular/components/issues/15687\n\n    try {\n      SUPPORTS_INTL_API = typeof Intl != 'undefined';\n    } catch (_a) {\n      SUPPORTS_INTL_API = false;\n    }\n    /**\n     * The default month names to use if Intl API is not available.\n     * @type {?}\n     */\n\n\n    var DEFAULT_MONTH_NAMES = {\n      'long': ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],\n      'short': ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],\n      'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D']\n    };\n\n    var ɵ0 =\n    /**\n    * @param {?} i\n    * @return {?}\n    */\n    function ɵ0(i) {\n      return String(i + 1);\n    };\n    /**\n     * The default date names to use if Intl API is not available.\n     * @type {?}\n     */\n\n\n    var DEFAULT_DATE_NAMES = range(31, ɵ0);\n    /**\n     * The default day of the week names to use if Intl API is not available.\n     * @type {?}\n     */\n\n    var DEFAULT_DAY_OF_WEEK_NAMES = {\n      'long': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],\n      'short': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],\n      'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S']\n    };\n    /**\n     * Matches strings that have the form of a valid RFC 3339 string\n     * (https://tools.ietf.org/html/rfc3339). Note that the string may not actually be a valid date\n     * because the regex will match strings an with out of bounds month, date, etc.\n     * @type {?}\n     */\n\n    var ISO_8601_REGEX = /^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|(?:(?:\\+|-)\\d{2}:\\d{2}))?)?$/;\n    /**\n     * Creates an array and fills it with values.\n     * @template T\n     * @param {?} length\n     * @param {?} valueFunction\n     * @return {?}\n     */\n\n    function range(length, valueFunction) {\n      /** @type {?} */\n      var valuesArray = Array(length);\n\n      for (var i = 0; i < length; i++) {\n        valuesArray[i] = valueFunction(i);\n      }\n\n      return valuesArray;\n    }\n    /**\n     * Adapts the native JS Date for use with cdk-based components that work with dates.\n     */\n\n\n    var NativeDateAdapter =\n    /*#__PURE__*/\n    function (_DateAdapter) {\n      _inherits(NativeDateAdapter, _DateAdapter);\n\n      /**\n       * @param {?} matDateLocale\n       * @param {?} platform\n       */\n      function NativeDateAdapter(matDateLocale, platform) {\n        var _this598;\n\n        _classCallCheck(this, NativeDateAdapter);\n\n        _this598 = _possibleConstructorReturn(this, _getPrototypeOf(NativeDateAdapter).call(this));\n        /**\n         * Whether to use `timeZone: 'utc'` with `Intl.DateTimeFormat` when formatting dates.\n         * Without this `Intl.DateTimeFormat` sometimes chooses the wrong timeZone, which can throw off\n         * the result. (e.g. in the en-US locale `new Date(1800, 7, 14).toLocaleDateString()`\n         * will produce `'8/13/1800'`.\n         *\n         * TODO(mmalerba): drop this variable. It's not being used in the code right now. We're now\n         * getting the string representation of a Date object from its utc representation. We're keeping\n         * it here for sometime, just for precaution, in case we decide to revert some of these changes\n         * though.\n         */\n\n        _this598.useUtcForDisplay = true;\n\n        _get(_getPrototypeOf(NativeDateAdapter.prototype), \"setLocale\", _assertThisInitialized(_this598)).call(_assertThisInitialized(_this598), matDateLocale); // IE does its own time zone correction, so we disable this on IE.\n\n\n        _this598.useUtcForDisplay = !platform.TRIDENT;\n        _this598._clampDate = platform.TRIDENT || platform.EDGE;\n        return _this598;\n      }\n      /**\n       * @param {?} date\n       * @return {?}\n       */\n\n\n      _createClass2(NativeDateAdapter, [{\n        key: \"getYear\",\n        value: function getYear(date) {\n          return date.getFullYear();\n        }\n        /**\n         * @param {?} date\n         * @return {?}\n         */\n\n      }, {\n        key: \"getMonth\",\n        value: function getMonth(date) {\n          return date.getMonth();\n        }\n        /**\n         * @param {?} date\n         * @return {?}\n         */\n\n      }, {\n        key: \"getDate\",\n        value: function getDate(date) {\n          return date.getDate();\n        }\n        /**\n         * @param {?} date\n         * @return {?}\n         */\n\n      }, {\n        key: \"getDayOfWeek\",\n        value: function getDayOfWeek(date) {\n          return date.getDay();\n        }\n        /**\n         * @param {?} style\n         * @return {?}\n         */\n\n      }, {\n        key: \"getMonthNames\",\n        value: function getMonthNames(style) {\n          var _this599 = this;\n\n          if (SUPPORTS_INTL_API) {\n            /** @type {?} */\n            var dtf = new Intl.DateTimeFormat(this.locale, {\n              month: style,\n              timeZone: 'utc'\n            });\n            return range(12,\n            /**\n            * @param {?} i\n            * @return {?}\n            */\n            function (i) {\n              return _this599._stripDirectionalityCharacters(_this599._format(dtf, new Date(2017, i, 1)));\n            });\n          }\n\n          return DEFAULT_MONTH_NAMES[style];\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"getDateNames\",\n        value: function getDateNames() {\n          var _this600 = this;\n\n          if (SUPPORTS_INTL_API) {\n            /** @type {?} */\n            var dtf = new Intl.DateTimeFormat(this.locale, {\n              day: 'numeric',\n              timeZone: 'utc'\n            });\n            return range(31,\n            /**\n            * @param {?} i\n            * @return {?}\n            */\n            function (i) {\n              return _this600._stripDirectionalityCharacters(_this600._format(dtf, new Date(2017, 0, i + 1)));\n            });\n          }\n\n          return DEFAULT_DATE_NAMES;\n        }\n        /**\n         * @param {?} style\n         * @return {?}\n         */\n\n      }, {\n        key: \"getDayOfWeekNames\",\n        value: function getDayOfWeekNames(style) {\n          var _this601 = this;\n\n          if (SUPPORTS_INTL_API) {\n            /** @type {?} */\n            var dtf = new Intl.DateTimeFormat(this.locale, {\n              weekday: style,\n              timeZone: 'utc'\n            });\n            return range(7,\n            /**\n            * @param {?} i\n            * @return {?}\n            */\n            function (i) {\n              return _this601._stripDirectionalityCharacters(_this601._format(dtf, new Date(2017, 0, i + 1)));\n            });\n          }\n\n          return DEFAULT_DAY_OF_WEEK_NAMES[style];\n        }\n        /**\n         * @param {?} date\n         * @return {?}\n         */\n\n      }, {\n        key: \"getYearName\",\n        value: function getYearName(date) {\n          if (SUPPORTS_INTL_API) {\n            /** @type {?} */\n            var dtf = new Intl.DateTimeFormat(this.locale, {\n              year: 'numeric',\n              timeZone: 'utc'\n            });\n            return this._stripDirectionalityCharacters(this._format(dtf, date));\n          }\n\n          return String(this.getYear(date));\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"getFirstDayOfWeek\",\n        value: function getFirstDayOfWeek() {\n          // We can't tell using native JS Date what the first day of the week is, we default to Sunday.\n          return 0;\n        }\n        /**\n         * @param {?} date\n         * @return {?}\n         */\n\n      }, {\n        key: \"getNumDaysInMonth\",\n        value: function getNumDaysInMonth(date) {\n          return this.getDate(this._createDateWithOverflow(this.getYear(date), this.getMonth(date) + 1, 0));\n        }\n        /**\n         * @param {?} date\n         * @return {?}\n         */\n\n      }, {\n        key: \"clone\",\n        value: function clone(date) {\n          return new Date(date.getTime());\n        }\n        /**\n         * @param {?} year\n         * @param {?} month\n         * @param {?} date\n         * @return {?}\n         */\n\n      }, {\n        key: \"createDate\",\n        value: function createDate(year, month, date) {\n          // Check for invalid month and date (except upper bound on date which we have to check after\n          // creating the Date).\n          if (month < 0 || month > 11) {\n            throw Error(\"Invalid month index \\\"\".concat(month, \"\\\". Month index has to be between 0 and 11.\"));\n          }\n\n          if (date < 1) {\n            throw Error(\"Invalid date \\\"\".concat(date, \"\\\". Date has to be greater than 0.\"));\n          }\n          /** @type {?} */\n\n\n          var result = this._createDateWithOverflow(year, month, date); // Check that the date wasn't above the upper bound for the month, causing the month to overflow\n\n\n          if (result.getMonth() != month) {\n            throw Error(\"Invalid date \\\"\".concat(date, \"\\\" for month with index \\\"\").concat(month, \"\\\".\"));\n          }\n\n          return result;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"today\",\n        value: function today() {\n          return new Date();\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"parse\",\n        value: function parse(value) {\n          // We have no way using the native JS Date to set the parse format or locale, so we ignore these\n          // parameters.\n          if (typeof value == 'number') {\n            return new Date(value);\n          }\n\n          return value ? new Date(Date.parse(value)) : null;\n        }\n        /**\n         * @param {?} date\n         * @param {?} displayFormat\n         * @return {?}\n         */\n\n      }, {\n        key: \"format\",\n        value: function format(date, displayFormat) {\n          if (!this.isValid(date)) {\n            throw Error('NativeDateAdapter: Cannot format invalid date.');\n          }\n\n          if (SUPPORTS_INTL_API) {\n            // On IE and Edge the i18n API will throw a hard error that can crash the entire app\n            // if we attempt to format a date whose year is less than 1 or greater than 9999.\n            if (this._clampDate && (date.getFullYear() < 1 || date.getFullYear() > 9999)) {\n              date = this.clone(date);\n              date.setFullYear(Math.max(1, Math.min(9999, date.getFullYear())));\n            }\n\n            displayFormat = Object.assign({}, displayFormat, {\n              timeZone: 'utc'\n            });\n            /** @type {?} */\n\n            var dtf = new Intl.DateTimeFormat(this.locale, displayFormat);\n            return this._stripDirectionalityCharacters(this._format(dtf, date));\n          }\n\n          return this._stripDirectionalityCharacters(date.toDateString());\n        }\n        /**\n         * @param {?} date\n         * @param {?} years\n         * @return {?}\n         */\n\n      }, {\n        key: \"addCalendarYears\",\n        value: function addCalendarYears(date, years) {\n          return this.addCalendarMonths(date, years * 12);\n        }\n        /**\n         * @param {?} date\n         * @param {?} months\n         * @return {?}\n         */\n\n      }, {\n        key: \"addCalendarMonths\",\n        value: function addCalendarMonths(date, months) {\n          /** @type {?} */\n          var newDate = this._createDateWithOverflow(this.getYear(date), this.getMonth(date) + months, this.getDate(date)); // It's possible to wind up in the wrong month if the original month has more days than the new\n          // month. In this case we want to go to the last day of the desired month.\n          // Note: the additional + 12 % 12 ensures we end up with a positive number, since JS % doesn't\n          // guarantee this.\n\n\n          if (this.getMonth(newDate) != ((this.getMonth(date) + months) % 12 + 12) % 12) {\n            newDate = this._createDateWithOverflow(this.getYear(newDate), this.getMonth(newDate), 0);\n          }\n\n          return newDate;\n        }\n        /**\n         * @param {?} date\n         * @param {?} days\n         * @return {?}\n         */\n\n      }, {\n        key: \"addCalendarDays\",\n        value: function addCalendarDays(date, days) {\n          return this._createDateWithOverflow(this.getYear(date), this.getMonth(date), this.getDate(date) + days);\n        }\n        /**\n         * @param {?} date\n         * @return {?}\n         */\n\n      }, {\n        key: \"toIso8601\",\n        value: function toIso8601(date) {\n          return [date.getUTCFullYear(), this._2digit(date.getUTCMonth() + 1), this._2digit(date.getUTCDate())].join('-');\n        }\n        /**\n         * Returns the given value if given a valid Date or null. Deserializes valid ISO 8601 strings\n         * (https://www.ietf.org/rfc/rfc3339.txt) into valid Dates and empty string into null. Returns an\n         * invalid date for all other values.\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"deserialize\",\n        value: function deserialize(value) {\n          if (typeof value === 'string') {\n            if (!value) {\n              return null;\n            } // The `Date` constructor accepts formats other than ISO 8601, so we need to make sure the\n            // string is the right format first.\n\n\n            if (ISO_8601_REGEX.test(value)) {\n              /** @type {?} */\n              var date = new Date(value);\n\n              if (this.isValid(date)) {\n                return date;\n              }\n            }\n          }\n\n          return _get(_getPrototypeOf(NativeDateAdapter.prototype), \"deserialize\", this).call(this, value);\n        }\n        /**\n         * @param {?} obj\n         * @return {?}\n         */\n\n      }, {\n        key: \"isDateInstance\",\n        value: function isDateInstance(obj) {\n          return obj instanceof Date;\n        }\n        /**\n         * @param {?} date\n         * @return {?}\n         */\n\n      }, {\n        key: \"isValid\",\n        value: function isValid(date) {\n          return !isNaN(date.getTime());\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"invalid\",\n        value: function invalid() {\n          return new Date(NaN);\n        }\n        /**\n         * Creates a date but allows the month and date to overflow.\n         * @private\n         * @param {?} year\n         * @param {?} month\n         * @param {?} date\n         * @return {?}\n         */\n\n      }, {\n        key: \"_createDateWithOverflow\",\n        value: function _createDateWithOverflow(year, month, date) {\n          /** @type {?} */\n          var result = new Date(year, month, date); // We need to correct for the fact that JS native Date treats years in range [0, 99] as\n          // abbreviations for 19xx.\n\n          if (year >= 0 && year < 100) {\n            result.setFullYear(this.getYear(result) - 1900);\n          }\n\n          return result;\n        }\n        /**\n         * Pads a number to make it two digits.\n         * @private\n         * @param {?} n The number to pad.\n         * @return {?} The padded number.\n         */\n\n      }, {\n        key: \"_2digit\",\n        value: function _2digit(n) {\n          return ('00' + n).slice(-2);\n        }\n        /**\n         * Strip out unicode LTR and RTL characters. Edge and IE insert these into formatted dates while\n         * other browsers do not. We remove them to make output consistent and because they interfere with\n         * date parsing.\n         * @private\n         * @param {?} str The string to strip direction characters from.\n         * @return {?} The stripped string.\n         */\n\n      }, {\n        key: \"_stripDirectionalityCharacters\",\n        value: function _stripDirectionalityCharacters(str) {\n          return str.replace(/[\\u200e\\u200f]/g, '');\n        }\n        /**\n         * When converting Date object to string, javascript built-in functions may return wrong\n         * results because it applies its internal DST rules. The DST rules around the world change\n         * very frequently, and the current valid rule is not always valid in previous years though.\n         * We work around this problem building a new Date object which has its internal UTC\n         * representation with the local date and time.\n         * @private\n         * @param {?} dtf Intl.DateTimeFormat object, containg the desired string format. It must have\n         *    timeZone set to 'utc' to work fine.\n         * @param {?} date Date from which we want to get the string representation according to dtf\n         * @return {?} A Date object with its UTC representation based on the passed in date info\n         */\n\n      }, {\n        key: \"_format\",\n        value: function _format(dtf, date) {\n          /** @type {?} */\n          var d = new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds()));\n          return dtf.format(d);\n        }\n      }]);\n\n      return NativeDateAdapter;\n    }(DateAdapter);\n\n    NativeDateAdapter.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"]\n    }];\n    /** @nocollapse */\n\n    NativeDateAdapter.ctorParameters = function () {\n      return [{\n        type: String,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [MAT_DATE_LOCALE]\n        }]\n      }, {\n        type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_6__[\"Platform\"]\n      }];\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var MAT_NATIVE_DATE_FORMATS = {\n      parse: {\n        dateInput: null\n      },\n      display: {\n        dateInput: {\n          year: 'numeric',\n          month: 'numeric',\n          day: 'numeric'\n        },\n        monthYearLabel: {\n          year: 'numeric',\n          month: 'short'\n        },\n        dateA11yLabel: {\n          year: 'numeric',\n          month: 'long',\n          day: 'numeric'\n        },\n        monthYearA11yLabel: {\n          year: 'numeric',\n          month: 'long'\n        }\n      }\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    var NativeDateModule = function NativeDateModule() {\n      _classCallCheck(this, NativeDateModule);\n    };\n\n    NativeDateModule.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"],\n      args: [{\n        imports: [_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_6__[\"PlatformModule\"]],\n        providers: [{\n          provide: DateAdapter,\n          useClass: NativeDateAdapter\n        }]\n      }]\n    }];\n    var ɵ0$1 = MAT_NATIVE_DATE_FORMATS;\n\n    var MatNativeDateModule = function MatNativeDateModule() {\n      _classCallCheck(this, MatNativeDateModule);\n    };\n\n    MatNativeDateModule.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"],\n      args: [{\n        imports: [NativeDateModule],\n        providers: [{\n          provide: MAT_DATE_FORMATS,\n          useValue: ɵ0$1\n        }]\n      }]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Error state matcher that matches when a control is invalid and dirty.\n     */\n\n    var ShowOnDirtyErrorStateMatcher =\n    /*#__PURE__*/\n    function () {\n      function ShowOnDirtyErrorStateMatcher() {\n        _classCallCheck(this, ShowOnDirtyErrorStateMatcher);\n      }\n\n      _createClass2(ShowOnDirtyErrorStateMatcher, [{\n        key: \"isErrorState\",\n\n        /**\n         * @param {?} control\n         * @param {?} form\n         * @return {?}\n         */\n        value: function isErrorState(control, form) {\n          return !!(control && control.invalid && (control.dirty || form && form.submitted));\n        }\n      }]);\n\n      return ShowOnDirtyErrorStateMatcher;\n    }();\n\n    ShowOnDirtyErrorStateMatcher.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"]\n    }];\n    /**\n     * Provider that defines how form controls behave with regards to displaying error messages.\n     */\n\n    var ErrorStateMatcher =\n    /*#__PURE__*/\n    function () {\n      function ErrorStateMatcher() {\n        _classCallCheck(this, ErrorStateMatcher);\n      }\n\n      _createClass2(ErrorStateMatcher, [{\n        key: \"isErrorState\",\n\n        /**\n         * @param {?} control\n         * @param {?} form\n         * @return {?}\n         */\n        value: function isErrorState(control, form) {\n          return !!(control && control.invalid && (control.touched || form && form.submitted));\n        }\n      }]);\n\n      return ErrorStateMatcher;\n    }();\n\n    ErrorStateMatcher.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"],\n      args: [{\n        providedIn: 'root'\n      }]\n    }];\n    /** @nocollapse */\n\n    ErrorStateMatcher.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ɵɵdefineInjectable\"])({\n      factory: function ErrorStateMatcher_Factory() {\n        return new ErrorStateMatcher();\n      },\n      token: ErrorStateMatcher,\n      providedIn: \"root\"\n    });\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Injection token that can be used to provide options to the Hammerjs instance.\n     * More info at http://hammerjs.github.io/api/.\n     * @type {?}\n     */\n\n    var MAT_HAMMER_OPTIONS = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('MAT_HAMMER_OPTIONS');\n    /** @type {?} */\n\n    var ANGULAR_MATERIAL_SUPPORTED_HAMMER_GESTURES = ['longpress', 'slide', 'slidestart', 'slideend', 'slideright', 'slideleft'];\n\n    var ɵ0$2 =\n    /**\n    * @return {?}\n    */\n    function ɵ0$2() {},\n        ɵ1 =\n    /**\n    * @return {?}\n    */\n    function ɵ1() {};\n    /**\n     * Fake HammerInstance that is used when a Hammer instance is requested when HammerJS has not\n     * been loaded on the page.\n     * @type {?}\n     */\n\n\n    var noopHammerInstance = {\n      on: ɵ0$2,\n      off: ɵ1\n    };\n    /**\n     * Adjusts configuration of our gesture library, Hammer.\n     */\n\n    var GestureConfig =\n    /*#__PURE__*/\n    function (_angular_platform_bro) {\n      _inherits(GestureConfig, _angular_platform_bro);\n\n      /**\n       * @param {?=} _hammerOptions\n       * @param {?=} commonModule\n       */\n      function GestureConfig(_hammerOptions, commonModule) {\n        var _this602;\n\n        _classCallCheck(this, GestureConfig);\n\n        _this602 = _possibleConstructorReturn(this, _getPrototypeOf(GestureConfig).call(this));\n        _this602._hammerOptions = _hammerOptions;\n        /**\n         * List of new event names to add to the gesture support list\n         */\n\n        _this602.events = ANGULAR_MATERIAL_SUPPORTED_HAMMER_GESTURES;\n\n        if (commonModule) {\n          commonModule._checkHammerIsAvailable();\n        }\n\n        return _this602;\n      }\n      /**\n       * Builds Hammer instance manually to add custom recognizers that match the Material Design spec.\n       *\n       * Our gesture names come from the Material Design gestures spec:\n       * https://material.io/design/#gestures-touch-mechanics\n       *\n       * More information on default recognizers can be found in Hammer docs:\n       * http://hammerjs.github.io/recognizer-pan/\n       * http://hammerjs.github.io/recognizer-press/\n       *\n       * @param {?} element Element to which to assign the new HammerJS gestures.\n       * @return {?} Newly-created HammerJS instance.\n       */\n\n\n      _createClass2(GestureConfig, [{\n        key: \"buildHammer\",\n        value: function buildHammer(element) {\n          /** @type {?} */\n          var hammer = typeof window !== 'undefined' ?\n          /** @type {?} */\n          window.Hammer : null;\n\n          if (!hammer) {\n            // If HammerJS is not loaded here, return the noop HammerInstance. This is necessary to\n            // ensure that omitting HammerJS completely will not cause any errors while *also* supporting\n            // the lazy-loading of HammerJS via the HAMMER_LOADER token introduced in Angular 6.1.\n            // Because we can't depend on HAMMER_LOADER's existance until 7.0, we have to always set\n            // `this.events` to the set we support, instead of conditionally setting it to `[]` if\n            // `HAMMER_LOADER` is present (and then throwing an Error here if `window.Hammer` is\n            // undefined).\n            // @breaking-change 8.0.0\n            return noopHammerInstance;\n          }\n          /** @type {?} */\n\n\n          var mc = new hammer(element, this._hammerOptions || undefined); // Default Hammer Recognizers.\n\n          /** @type {?} */\n\n          var pan = new hammer.Pan();\n          /** @type {?} */\n\n          var swipe = new hammer.Swipe();\n          /** @type {?} */\n\n          var press = new hammer.Press(); // Notice that a HammerJS recognizer can only depend on one other recognizer once.\n          // Otherwise the previous `recognizeWith` will be dropped.\n          // TODO: Confirm threshold numbers with Material Design UX Team\n\n          /** @type {?} */\n\n          var slide = this._createRecognizer(pan, {\n            event: 'slide',\n            threshold: 0\n          }, swipe);\n          /** @type {?} */\n\n\n          var longpress = this._createRecognizer(press, {\n            event: 'longpress',\n            time: 500\n          }); // Overwrite the default `pan` event to use the swipe event.\n\n\n          pan.recognizeWith(swipe); // Since the slide event threshold is set to zero, the slide recognizer can fire and\n          // accidentally reset the longpress recognizer. In order to make sure that the two\n          // recognizers can run simultaneously but don't affect each other, we allow the slide\n          // recognizer to recognize while a longpress is being processed.\n          // See: https://github.com/hammerjs/hammer.js/blob/master/src/manager.js#L123-L124\n\n          longpress.recognizeWith(slide); // Add customized gestures to Hammer manager\n\n          mc.add([swipe, press, pan, slide, longpress]);\n          return (\n            /** @type {?} */\n            mc\n          );\n        }\n        /**\n         * Creates a new recognizer, without affecting the default recognizers of HammerJS\n         * @private\n         * @param {?} base\n         * @param {?} options\n         * @param {...?} inheritances\n         * @return {?}\n         */\n\n      }, {\n        key: \"_createRecognizer\",\n        value: function _createRecognizer(base, options) {\n          /** @type {?} */\n          var recognizer = new\n          /** @type {?} */\n          base.constructor(options);\n\n          for (var _len34 = arguments.length, inheritances = new Array(_len34 > 2 ? _len34 - 2 : 0), _key36 = 2; _key36 < _len34; _key36++) {\n            inheritances[_key36 - 2] = arguments[_key36];\n          }\n\n          inheritances.push(base);\n          inheritances.forEach(\n          /**\n          * @param {?} item\n          * @return {?}\n          */\n          function (item) {\n            return recognizer.recognizeWith(item);\n          });\n          return recognizer;\n        }\n      }]);\n\n      return GestureConfig;\n    }(_angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__[\"HammerGestureConfig\"]);\n\n    GestureConfig.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"]\n    }];\n    /** @nocollapse */\n\n    GestureConfig.ctorParameters = function () {\n      return [{\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [MAT_HAMMER_OPTIONS]\n        }]\n      }, {\n        type: MatCommonModule,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }]\n      }];\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Shared directive to count lines inside a text area, such as a list item.\n     * Line elements can be extracted with a \\@ContentChildren(MatLine) query, then\n     * counted by checking the query list's length.\n     */\n\n\n    var MatLine = function MatLine() {\n      _classCallCheck(this, MatLine);\n    };\n\n    MatLine.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: '[mat-line], [matLine]',\n        host: {\n          'class': 'mat-line'\n        }\n      }]\n    }];\n    /**\n     * Helper that takes a query list of lines and sets the correct class on the host.\n     * \\@docs-private\n     * @param {?} lines\n     * @param {?} element\n     * @return {?}\n     */\n\n    function setLines(lines, element) {\n      // Note: doesn't need to unsubscribe, because `changes`\n      // gets completed by Angular when the view is destroyed.\n      lines.changes.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_7__[\"startWith\"])(lines)).subscribe(\n      /**\n      * @param {?} __0\n      * @return {?}\n      */\n      function (_ref70) {\n        var length = _ref70.length;\n        setClass(element, 'mat-2-line', false);\n        setClass(element, 'mat-3-line', false);\n        setClass(element, 'mat-multi-line', false);\n\n        if (length === 2 || length === 3) {\n          setClass(element, \"mat-\".concat(length, \"-line\"), true);\n        } else if (length > 3) {\n          setClass(element, \"mat-multi-line\", true);\n        }\n      });\n    }\n    /**\n     * Adds or removes a class from an element.\n     * @param {?} element\n     * @param {?} className\n     * @param {?} isAdd\n     * @return {?}\n     */\n\n\n    function setClass(element, className, isAdd) {\n      /** @type {?} */\n      var classList = element.nativeElement.classList;\n      isAdd ? classList.add(className) : classList.remove(className);\n    }\n    /**\n     * Helper that takes a query list of lines and sets the correct class on the host.\n     * \\@docs-private\n     * @deprecated Use `setLines` instead.\n     * \\@breaking-change 8.0.0\n     */\n\n\n    var MatLineSetter =\n    /**\n     * @param {?} lines\n     * @param {?} element\n     */\n    function MatLineSetter(lines, element) {\n      _classCallCheck(this, MatLineSetter);\n\n      setLines(lines, element);\n    };\n\n    var MatLineModule = function MatLineModule() {\n      _classCallCheck(this, MatLineModule);\n    };\n\n    MatLineModule.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"],\n      args: [{\n        imports: [MatCommonModule],\n        exports: [MatLine, MatCommonModule],\n        declarations: [MatLine]\n      }]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @enum {number} */\n\n    var RippleState = {\n      FADING_IN: 0,\n      VISIBLE: 1,\n      FADING_OUT: 2,\n      HIDDEN: 3\n    };\n    RippleState[RippleState.FADING_IN] = 'FADING_IN';\n    RippleState[RippleState.VISIBLE] = 'VISIBLE';\n    RippleState[RippleState.FADING_OUT] = 'FADING_OUT';\n    RippleState[RippleState.HIDDEN] = 'HIDDEN';\n    /**\n     * Reference to a previously launched ripple element.\n     */\n\n    var RippleRef =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _renderer\n       * @param {?} element\n       * @param {?} config\n       */\n      function RippleRef(_renderer, element, config) {\n        _classCallCheck(this, RippleRef);\n\n        this._renderer = _renderer;\n        this.element = element;\n        this.config = config;\n        /**\n         * Current state of the ripple.\n         */\n\n        this.state = RippleState.HIDDEN;\n      }\n      /**\n       * Fades out the ripple element.\n       * @return {?}\n       */\n\n\n      _createClass2(RippleRef, [{\n        key: \"fadeOut\",\n        value: function fadeOut() {\n          this._renderer.fadeOutRipple(this);\n        }\n      }]);\n\n      return RippleRef;\n    }();\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Default ripple animation configuration for ripples without an explicit\n     * animation config specified.\n     * @type {?}\n     */\n\n\n    var defaultRippleAnimationConfig = {\n      enterDuration: 450,\n      exitDuration: 400\n    };\n    /**\n     * Timeout for ignoring mouse events. Mouse events will be temporary ignored after touch\n     * events to avoid synthetic mouse events.\n     * @type {?}\n     */\n\n    var ignoreMouseEventsTimeout = 800;\n    /**\n     * Options that apply to all the event listeners that are bound by the ripple renderer.\n     * @type {?}\n     */\n\n    var passiveEventOptions = Object(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_6__[\"normalizePassiveListenerOptions\"])({\n      passive: true\n    });\n    /**\n     * Helper service that performs DOM manipulations. Not intended to be used outside this module.\n     * The constructor takes a reference to the ripple directive's host element and a map of DOM\n     * event handlers to be installed on the element that triggers ripple animations.\n     * This will eventually become a custom renderer once Angular support exists.\n     * \\@docs-private\n     */\n\n    var RippleRenderer =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _target\n       * @param {?} _ngZone\n       * @param {?} elementOrElementRef\n       * @param {?} platform\n       */\n      function RippleRenderer(_target, _ngZone, elementOrElementRef, platform) {\n        var _this603 = this;\n\n        _classCallCheck(this, RippleRenderer);\n\n        this._target = _target;\n        this._ngZone = _ngZone;\n        /**\n         * Whether the pointer is currently down or not.\n         */\n\n        this._isPointerDown = false;\n        /**\n         * Events to be registered on the trigger element.\n         */\n\n        this._triggerEvents = new Map();\n        /**\n         * Set of currently active ripple references.\n         */\n\n        this._activeRipples = new Set();\n        /**\n         * Function being called whenever the trigger is being pressed using mouse.\n         */\n\n        this._onMousedown =\n        /**\n        * @param {?} event\n        * @return {?}\n        */\n        function (event) {\n          // Screen readers will fire fake mouse events for space/enter. Skip launching a\n          // ripple in this case for consistency with the non-screen-reader experience.\n\n          /** @type {?} */\n          var isFakeMousedown = Object(_angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_8__[\"isFakeMousedownFromScreenReader\"])(event);\n          /** @type {?} */\n\n          var isSyntheticEvent = _this603._lastTouchStartEvent && Date.now() < _this603._lastTouchStartEvent + ignoreMouseEventsTimeout;\n\n          if (!_this603._target.rippleDisabled && !isFakeMousedown && !isSyntheticEvent) {\n            _this603._isPointerDown = true;\n\n            _this603.fadeInRipple(event.clientX, event.clientY, _this603._target.rippleConfig);\n          }\n        };\n        /**\n         * Function being called whenever the trigger is being pressed using touch.\n         */\n\n\n        this._onTouchStart =\n        /**\n        * @param {?} event\n        * @return {?}\n        */\n        function (event) {\n          if (!_this603._target.rippleDisabled) {\n            // Some browsers fire mouse events after a `touchstart` event. Those synthetic mouse\n            // events will launch a second ripple if we don't ignore mouse events for a specific\n            // time after a touchstart event.\n            _this603._lastTouchStartEvent = Date.now();\n            _this603._isPointerDown = true; // Use `changedTouches` so we skip any touches where the user put\n            // their finger down, but used another finger to tap the element again.\n\n            /** @type {?} */\n\n            var touches = event.changedTouches;\n\n            for (var i = 0; i < touches.length; i++) {\n              _this603.fadeInRipple(touches[i].clientX, touches[i].clientY, _this603._target.rippleConfig);\n            }\n          }\n        };\n        /**\n         * Function being called whenever the trigger is being released.\n         */\n\n\n        this._onPointerUp =\n        /**\n        * @return {?}\n        */\n        function () {\n          if (!_this603._isPointerDown) {\n            return;\n          }\n\n          _this603._isPointerDown = false; // Fade-out all ripples that are visible and not persistent.\n\n          _this603._activeRipples.forEach(\n          /**\n          * @param {?} ripple\n          * @return {?}\n          */\n          function (ripple) {\n            // By default, only ripples that are completely visible will fade out on pointer release.\n            // If the `terminateOnPointerUp` option is set, ripples that still fade in will also fade out.\n\n            /** @type {?} */\n            var isVisible = ripple.state === RippleState.VISIBLE || ripple.config.terminateOnPointerUp && ripple.state === RippleState.FADING_IN;\n\n            if (!ripple.config.persistent && isVisible) {\n              ripple.fadeOut();\n            }\n          });\n        }; // Only do anything if we're on the browser.\n\n\n        if (platform.isBrowser) {\n          this._containerElement = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_4__[\"coerceElement\"])(elementOrElementRef); // Specify events which need to be registered on the trigger.\n\n          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);\n        }\n      }\n      /**\n       * Fades in a ripple at the given coordinates.\n       * @param {?} x Coordinate within the element, along the X axis at which to start the ripple.\n       * @param {?} y Coordinate within the element, along the Y axis at which to start the ripple.\n       * @param {?=} config Extra ripple options.\n       * @return {?}\n       */\n\n\n      _createClass2(RippleRenderer, [{\n        key: \"fadeInRipple\",\n        value: function fadeInRipple(x, y) {\n          var _this604 = this;\n\n          var config = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n          /** @type {?} */\n          var containerRect = this._containerRect = this._containerRect || this._containerElement.getBoundingClientRect();\n          /** @type {?} */\n\n\n          var animationConfig = Object.assign({}, defaultRippleAnimationConfig, config.animation);\n\n          if (config.centered) {\n            x = containerRect.left + containerRect.width / 2;\n            y = containerRect.top + containerRect.height / 2;\n          }\n          /** @type {?} */\n\n\n          var radius = config.radius || distanceToFurthestCorner(x, y, containerRect);\n          /** @type {?} */\n\n          var offsetX = x - containerRect.left;\n          /** @type {?} */\n\n          var offsetY = y - containerRect.top;\n          /** @type {?} */\n\n          var duration = animationConfig.enterDuration;\n          /** @type {?} */\n\n          var ripple = document.createElement('div');\n          ripple.classList.add('mat-ripple-element');\n          ripple.style.left = \"\".concat(offsetX - radius, \"px\");\n          ripple.style.top = \"\".concat(offsetY - radius, \"px\");\n          ripple.style.height = \"\".concat(radius * 2, \"px\");\n          ripple.style.width = \"\".concat(radius * 2, \"px\"); // If the color is not set, the default CSS color will be used.\n\n          ripple.style.backgroundColor = config.color || null;\n          ripple.style.transitionDuration = \"\".concat(duration, \"ms\");\n\n          this._containerElement.appendChild(ripple); // By default the browser does not recalculate the styles of dynamically created\n          // ripple elements. This is critical because then the `scale` would not animate properly.\n\n\n          enforceStyleRecalculation(ripple);\n          ripple.style.transform = 'scale(1)'; // Exposed reference to the ripple that will be returned.\n\n          /** @type {?} */\n\n          var rippleRef = new RippleRef(this, ripple, config);\n          rippleRef.state = RippleState.FADING_IN; // Add the ripple reference to the list of all active ripples.\n\n          this._activeRipples.add(rippleRef);\n\n          if (!config.persistent) {\n            this._mostRecentTransientRipple = rippleRef;\n          } // Wait for the ripple element to be completely faded in.\n          // Once it's faded in, the ripple can be hidden immediately if the mouse is released.\n\n\n          this._runTimeoutOutsideZone(\n          /**\n          * @return {?}\n          */\n          function () {\n            /** @type {?} */\n            var isMostRecentTransientRipple = rippleRef === _this604._mostRecentTransientRipple;\n            rippleRef.state = RippleState.VISIBLE; // When the timer runs out while the user has kept their pointer down, we want to\n            // keep only the persistent ripples and the latest transient ripple. We do this,\n            // because we don't want stacked transient ripples to appear after their enter\n            // animation has finished.\n\n            if (!config.persistent && (!isMostRecentTransientRipple || !_this604._isPointerDown)) {\n              rippleRef.fadeOut();\n            }\n          }, duration);\n\n          return rippleRef;\n        }\n        /**\n         * Fades out a ripple reference.\n         * @param {?} rippleRef\n         * @return {?}\n         */\n\n      }, {\n        key: \"fadeOutRipple\",\n        value: function fadeOutRipple(rippleRef) {\n          /** @type {?} */\n          var wasActive = this._activeRipples.delete(rippleRef);\n\n          if (rippleRef === this._mostRecentTransientRipple) {\n            this._mostRecentTransientRipple = null;\n          } // Clear out the cached bounding rect if we have no more ripples.\n\n\n          if (!this._activeRipples.size) {\n            this._containerRect = null;\n          } // For ripples that are not active anymore, don't re-run the fade-out animation.\n\n\n          if (!wasActive) {\n            return;\n          }\n          /** @type {?} */\n\n\n          var rippleEl = rippleRef.element;\n          /** @type {?} */\n\n          var animationConfig = Object.assign({}, defaultRippleAnimationConfig, rippleRef.config.animation);\n          rippleEl.style.transitionDuration = \"\".concat(animationConfig.exitDuration, \"ms\");\n          rippleEl.style.opacity = '0';\n          rippleRef.state = RippleState.FADING_OUT; // Once the ripple faded out, the ripple can be safely removed from the DOM.\n\n          this._runTimeoutOutsideZone(\n          /**\n          * @return {?}\n          */\n          function () {\n            rippleRef.state = RippleState.HIDDEN;\n\n            /** @type {?} */\n            rippleEl.parentNode.removeChild(rippleEl);\n          }, animationConfig.exitDuration);\n        }\n        /**\n         * Fades out all currently active ripples.\n         * @return {?}\n         */\n\n      }, {\n        key: \"fadeOutAll\",\n        value: function fadeOutAll() {\n          this._activeRipples.forEach(\n          /**\n          * @param {?} ripple\n          * @return {?}\n          */\n          function (ripple) {\n            return ripple.fadeOut();\n          });\n        }\n        /**\n         * Sets up the trigger event listeners\n         * @param {?} elementOrElementRef\n         * @return {?}\n         */\n\n      }, {\n        key: \"setupTriggerEvents\",\n        value: function setupTriggerEvents(elementOrElementRef) {\n          var _this605 = this;\n\n          /** @type {?} */\n          var element = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_4__[\"coerceElement\"])(elementOrElementRef);\n\n          if (!element || element === this._triggerElement) {\n            return;\n          } // Remove all previously registered event listeners from the trigger element.\n\n\n          this._removeTriggerEvents();\n\n          this._ngZone.runOutsideAngular(\n          /**\n          * @return {?}\n          */\n          function () {\n            _this605._triggerEvents.forEach(\n            /**\n            * @param {?} fn\n            * @param {?} type\n            * @return {?}\n            */\n            function (fn, type) {\n              element.addEventListener(type, fn, passiveEventOptions);\n            });\n          });\n\n          this._triggerElement = element;\n        }\n        /**\n         * Runs a timeout outside of the Angular zone to avoid triggering the change detection.\n         * @private\n         * @param {?} fn\n         * @param {?=} delay\n         * @return {?}\n         */\n\n      }, {\n        key: \"_runTimeoutOutsideZone\",\n        value: function _runTimeoutOutsideZone(fn) {\n          var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n\n          this._ngZone.runOutsideAngular(\n          /**\n          * @return {?}\n          */\n          function () {\n            return setTimeout(fn, delay);\n          });\n        }\n        /**\n         * Removes previously registered event listeners from the trigger element.\n         * @return {?}\n         */\n\n      }, {\n        key: \"_removeTriggerEvents\",\n        value: function _removeTriggerEvents() {\n          var _this606 = this;\n\n          if (this._triggerElement) {\n            this._triggerEvents.forEach(\n            /**\n            * @param {?} fn\n            * @param {?} type\n            * @return {?}\n            */\n            function (fn, type) {\n              /** @type {?} */\n              _this606._triggerElement.removeEventListener(type, fn, passiveEventOptions);\n            });\n          }\n        }\n      }]);\n\n      return RippleRenderer;\n    }();\n    /**\n     * Enforces a style recalculation of a DOM element by computing its styles.\n     * @param {?} element\n     * @return {?}\n     */\n\n\n    function enforceStyleRecalculation(element) {\n      // Enforce a style recalculation by calling `getComputedStyle` and accessing any property.\n      // Calling `getPropertyValue` is important to let optimizers know that this is not a noop.\n      // See: https://gist.github.com/paulirish/5d52fb081b3570c81e3a\n      window.getComputedStyle(element).getPropertyValue('opacity');\n    }\n    /**\n     * Returns the distance from the point (x, y) to the furthest corner of a rectangle.\n     * @param {?} x\n     * @param {?} y\n     * @param {?} rect\n     * @return {?}\n     */\n\n\n    function distanceToFurthestCorner(x, y, rect) {\n      /** @type {?} */\n      var distX = Math.max(Math.abs(x - rect.left), Math.abs(x - rect.right));\n      /** @type {?} */\n\n      var distY = Math.max(Math.abs(y - rect.top), Math.abs(y - rect.bottom));\n      return Math.sqrt(distX * distX + distY * distY);\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Injection token that can be used to specify the global ripple options.\n     * @type {?}\n     */\n\n\n    var MAT_RIPPLE_GLOBAL_OPTIONS = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('mat-ripple-global-options');\n\n    var MatRipple =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _elementRef\n       * @param {?} ngZone\n       * @param {?} platform\n       * @param {?=} globalOptions\n       * @param {?=} animationMode\n       */\n      function MatRipple(_elementRef, ngZone, platform, globalOptions, animationMode) {\n        _classCallCheck(this, MatRipple);\n\n        this._elementRef = _elementRef;\n        /**\n         * If set, the radius in pixels of foreground ripples when fully expanded. If unset, the radius\n         * will be the distance from the center of the ripple to the furthest corner of the host element's\n         * bounding rectangle.\n         */\n\n        this.radius = 0;\n        this._disabled = false;\n        /**\n         * Whether ripple directive is initialized and the input bindings are set.\n         */\n\n        this._isInitialized = false;\n        this._globalOptions = globalOptions || {};\n        this._rippleRenderer = new RippleRenderer(this, ngZone, _elementRef, platform);\n\n        if (animationMode === 'NoopAnimations') {\n          this._globalOptions.animation = {\n            enterDuration: 0,\n            exitDuration: 0\n          };\n        }\n      }\n      /**\n       * Whether click events will not trigger the ripple. Ripples can be still launched manually\n       * by using the `launch()` method.\n       * @return {?}\n       */\n\n\n      _createClass2(MatRipple, [{\n        key: \"ngOnInit\",\n\n        /**\n         * @return {?}\n         */\n        value: function ngOnInit() {\n          this._isInitialized = true;\n\n          this._setupTriggerEventsIfEnabled();\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          this._rippleRenderer._removeTriggerEvents();\n        }\n        /**\n         * Fades out all currently showing ripple elements.\n         * @return {?}\n         */\n\n      }, {\n        key: \"fadeOutAll\",\n        value: function fadeOutAll() {\n          this._rippleRenderer.fadeOutAll();\n        }\n        /**\n         * Ripple configuration from the directive's input values.\n         * \\@docs-private Implemented as part of RippleTarget\n         * @return {?}\n         */\n\n      }, {\n        key: \"_setupTriggerEventsIfEnabled\",\n\n        /**\n         * Sets up the trigger event listeners if ripples are enabled.\n         * @private\n         * @return {?}\n         */\n        value: function _setupTriggerEventsIfEnabled() {\n          if (!this.disabled && this._isInitialized) {\n            this._rippleRenderer.setupTriggerEvents(this.trigger);\n          }\n        }\n        /**\n         * Launches a manual ripple at the specified coordinated or just by the ripple config.\n         * @param {?} configOrX\n         * @param {?=} y\n         * @param {?=} config\n         * @return {?}\n         */\n\n      }, {\n        key: \"launch\",\n        value: function launch(configOrX) {\n          var y = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n          var config = arguments.length > 2 ? arguments[2] : undefined;\n\n          if (typeof configOrX === 'number') {\n            return this._rippleRenderer.fadeInRipple(configOrX, y, Object.assign({}, this.rippleConfig, config));\n          } else {\n            return this._rippleRenderer.fadeInRipple(0, 0, Object.assign({}, this.rippleConfig, configOrX));\n          }\n        }\n      }, {\n        key: \"disabled\",\n        get: function get() {\n          return this._disabled;\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n        ,\n        set: function set(value) {\n          this._disabled = value;\n\n          this._setupTriggerEventsIfEnabled();\n        }\n        /**\n         * The element that triggers the ripple when click events are received.\n         * Defaults to the directive's host element.\n         * @return {?}\n         */\n\n      }, {\n        key: \"trigger\",\n        get: function get() {\n          return this._trigger || this._elementRef.nativeElement;\n        }\n        /**\n         * @param {?} trigger\n         * @return {?}\n         */\n        ,\n        set: function set(trigger) {\n          this._trigger = trigger;\n\n          this._setupTriggerEventsIfEnabled();\n        }\n      }, {\n        key: \"rippleConfig\",\n        get: function get() {\n          return {\n            centered: this.centered,\n            radius: this.radius,\n            color: this.color,\n            animation: Object.assign({}, this._globalOptions.animation, this.animation),\n            terminateOnPointerUp: this._globalOptions.terminateOnPointerUp\n          };\n        }\n        /**\n         * Whether ripples on pointer-down are disabled or not.\n         * \\@docs-private Implemented as part of RippleTarget\n         * @return {?}\n         */\n\n      }, {\n        key: \"rippleDisabled\",\n        get: function get() {\n          return this.disabled || !!this._globalOptions.disabled;\n        }\n      }]);\n\n      return MatRipple;\n    }();\n\n    MatRipple.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Directive\"],\n      args: [{\n        selector: '[mat-ripple], [matRipple]',\n        exportAs: 'matRipple',\n        host: {\n          'class': 'mat-ripple',\n          '[class.mat-ripple-unbounded]': 'unbounded'\n        }\n      }]\n    }];\n    /** @nocollapse */\n\n    MatRipple.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgZone\"]\n      }, {\n        type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_6__[\"Platform\"]\n      }, {\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [MAT_RIPPLE_GLOBAL_OPTIONS]\n        }]\n      }, {\n        type: String,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [_angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_9__[\"ANIMATION_MODULE_TYPE\"]]\n        }]\n      }];\n    };\n\n    MatRipple.propDecorators = {\n      color: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"],\n        args: ['matRippleColor']\n      }],\n      unbounded: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"],\n        args: ['matRippleUnbounded']\n      }],\n      centered: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"],\n        args: ['matRippleCentered']\n      }],\n      radius: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"],\n        args: ['matRippleRadius']\n      }],\n      animation: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"],\n        args: ['matRippleAnimation']\n      }],\n      disabled: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"],\n        args: ['matRippleDisabled']\n      }],\n      trigger: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"],\n        args: ['matRippleTrigger']\n      }]\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    var MatRippleModule = function MatRippleModule() {\n      _classCallCheck(this, MatRippleModule);\n    };\n\n    MatRippleModule.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"],\n      args: [{\n        imports: [MatCommonModule, _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_6__[\"PlatformModule\"]],\n        exports: [MatRipple, MatCommonModule],\n        declarations: [MatRipple]\n      }]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Component that shows a simplified checkbox without including any kind of \"real\" checkbox.\n     * Meant to be used when the checkbox is purely decorative and a large number of them will be\n     * included, such as for the options in a multi-select. Uses no SVGs or complex animations.\n     * Note that theming is meant to be handled by the parent element, e.g.\n     * `mat-primary .mat-pseudo-checkbox`.\n     *\n     * Note that this component will be completely invisible to screen-reader users. This is *not*\n     * interchangeable with `<mat-checkbox>` and should *not* be used if the user would directly\n     * interact with the checkbox. The pseudo-checkbox should only be used as an implementation detail\n     * of more complex components that appropriately handle selected / checked state.\n     * \\@docs-private\n     */\n\n    var MatPseudoCheckbox =\n    /**\n     * @param {?=} _animationMode\n     */\n    function MatPseudoCheckbox(_animationMode) {\n      _classCallCheck(this, MatPseudoCheckbox);\n\n      this._animationMode = _animationMode;\n      /**\n       * Display state of the checkbox.\n       */\n\n      this.state = 'unchecked';\n      /**\n       * Whether the checkbox is disabled.\n       */\n\n      this.disabled = false;\n    };\n\n    MatPseudoCheckbox.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Component\"],\n      args: [{\n        encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ViewEncapsulation\"].None,\n        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ChangeDetectionStrategy\"].OnPush,\n        selector: 'mat-pseudo-checkbox',\n        styles: [\".mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0,0,.2,.1),background-color 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:'';border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\"],\n        template: '',\n        host: {\n          'class': 'mat-pseudo-checkbox',\n          '[class.mat-pseudo-checkbox-indeterminate]': 'state === \"indeterminate\"',\n          '[class.mat-pseudo-checkbox-checked]': 'state === \"checked\"',\n          '[class.mat-pseudo-checkbox-disabled]': 'disabled',\n          '[class._mat-animation-noopable]': '_animationMode === \"NoopAnimations\"'\n        }\n      }]\n    }];\n    /** @nocollapse */\n\n    MatPseudoCheckbox.ctorParameters = function () {\n      return [{\n        type: String,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [_angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_9__[\"ANIMATION_MODULE_TYPE\"]]\n        }]\n      }];\n    };\n\n    MatPseudoCheckbox.propDecorators = {\n      state: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"]\n      }],\n      disabled: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"]\n      }]\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    var MatPseudoCheckboxModule = function MatPseudoCheckboxModule() {\n      _classCallCheck(this, MatPseudoCheckboxModule);\n    };\n\n    MatPseudoCheckboxModule.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"],\n      args: [{\n        exports: [MatPseudoCheckbox],\n        declarations: [MatPseudoCheckbox]\n      }]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n    // Boilerplate for applying mixins to MatOptgroup.\n\n    /**\n     * \\@docs-private\n     */\n\n    var MatOptgroupBase = function MatOptgroupBase() {\n      _classCallCheck(this, MatOptgroupBase);\n    };\n    /** @type {?} */\n\n\n    var _MatOptgroupMixinBase = mixinDisabled(MatOptgroupBase); // Counter for unique group ids.\n\n    /** @type {?} */\n\n\n    var _uniqueOptgroupIdCounter = 0;\n    /**\n     * Component that is used to group instances of `mat-option`.\n     */\n\n    var MatOptgroup =\n    /*#__PURE__*/\n    function (_MatOptgroupMixinBase2) {\n      _inherits(MatOptgroup, _MatOptgroupMixinBase2);\n\n      function MatOptgroup() {\n        var _this607;\n\n        _classCallCheck(this, MatOptgroup);\n\n        _this607 = _possibleConstructorReturn(this, _getPrototypeOf(MatOptgroup).apply(this, arguments));\n        /**\n         * Unique id for the underlying label.\n         */\n\n        _this607._labelId = \"mat-optgroup-label-\".concat(_uniqueOptgroupIdCounter++);\n        return _this607;\n      }\n\n      return MatOptgroup;\n    }(_MatOptgroupMixinBase);\n\n    MatOptgroup.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Component\"],\n      args: [{\n        selector: 'mat-optgroup',\n        exportAs: 'matOptgroup',\n        template: \"<label class=\\\"mat-optgroup-label\\\" [id]=\\\"_labelId\\\">{{ label }}<ng-content></ng-content></label><ng-content select=\\\"mat-option, ng-container\\\"></ng-content>\",\n        encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ViewEncapsulation\"].None,\n        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ChangeDetectionStrategy\"].OnPush,\n        inputs: ['disabled'],\n        styles: [\".mat-optgroup-label{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%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}\"],\n        host: {\n          'class': 'mat-optgroup',\n          'role': 'group',\n          '[class.mat-optgroup-disabled]': 'disabled',\n          '[attr.aria-disabled]': 'disabled.toString()',\n          '[attr.aria-labelledby]': '_labelId'\n        }\n      }]\n    }];\n    MatOptgroup.propDecorators = {\n      label: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"]\n      }]\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Option IDs need to be unique across components, so this counter exists outside of\n     * the component definition.\n     * @type {?}\n     */\n\n    var _uniqueIdCounter = 0;\n    /**\n     * Event object emitted by MatOption when selected or deselected.\n     */\n\n    var MatOptionSelectionChange =\n    /**\n     * @param {?} source\n     * @param {?=} isUserInput\n     */\n    function MatOptionSelectionChange(source) {\n      var isUserInput = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n      _classCallCheck(this, MatOptionSelectionChange);\n\n      this.source = source;\n      this.isUserInput = isUserInput;\n    };\n    /**\n     * Injection token used to provide the parent component to options.\n     * @type {?}\n     */\n\n\n    var MAT_OPTION_PARENT_COMPONENT = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('MAT_OPTION_PARENT_COMPONENT');\n    /**\n     * Single option inside of a `<mat-select>` element.\n     */\n\n    var MatOption =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _element\n       * @param {?} _changeDetectorRef\n       * @param {?} _parent\n       * @param {?} group\n       */\n      function MatOption(_element, _changeDetectorRef, _parent, group) {\n        _classCallCheck(this, MatOption);\n\n        this._element = _element;\n        this._changeDetectorRef = _changeDetectorRef;\n        this._parent = _parent;\n        this.group = group;\n        this._selected = false;\n        this._active = false;\n        this._disabled = false;\n        this._mostRecentViewValue = '';\n        /**\n         * The unique ID of the option.\n         */\n\n        this.id = \"mat-option-\".concat(_uniqueIdCounter++);\n        /**\n         * Event emitted when the option is selected or deselected.\n         */\n        // tslint:disable-next-line:no-output-on-prefix\n\n        this.onSelectionChange = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"EventEmitter\"]();\n        /**\n         * Emits when the state of the option changes and any parents have to be notified.\n         */\n\n        this._stateChanges = new rxjs__WEBPACK_IMPORTED_MODULE_5__[\"Subject\"]();\n      }\n      /**\n       * Whether the wrapping component is in multiple selection mode.\n       * @return {?}\n       */\n\n\n      _createClass2(MatOption, [{\n        key: \"select\",\n\n        /**\n         * Selects the option.\n         * @return {?}\n         */\n        value: function select() {\n          if (!this._selected) {\n            this._selected = true;\n\n            this._changeDetectorRef.markForCheck();\n\n            this._emitSelectionChangeEvent();\n          }\n        }\n        /**\n         * Deselects the option.\n         * @return {?}\n         */\n\n      }, {\n        key: \"deselect\",\n        value: function deselect() {\n          if (this._selected) {\n            this._selected = false;\n\n            this._changeDetectorRef.markForCheck();\n\n            this._emitSelectionChangeEvent();\n          }\n        }\n        /**\n         * Sets focus onto this option.\n         * @param {?=} _origin\n         * @param {?=} options\n         * @return {?}\n         */\n\n      }, {\n        key: \"focus\",\n        value: function focus(_origin, options) {\n          // Note that we aren't using `_origin`, but we need to keep it because some internal consumers\n          // use `MatOption` in a `FocusKeyManager` and we need it to match `FocusableOption`.\n\n          /** @type {?} */\n          var element = this._getHostElement();\n\n          if (typeof element.focus === 'function') {\n            element.focus(options);\n          }\n        }\n        /**\n         * This method sets display styles on the option to make it appear\n         * active. This is used by the ActiveDescendantKeyManager so key\n         * events will display the proper options as active on arrow key events.\n         * @return {?}\n         */\n\n      }, {\n        key: \"setActiveStyles\",\n        value: function setActiveStyles() {\n          if (!this._active) {\n            this._active = true;\n\n            this._changeDetectorRef.markForCheck();\n          }\n        }\n        /**\n         * This method removes display styles on the option that made it appear\n         * active. This is used by the ActiveDescendantKeyManager so key\n         * events will display the proper options as active on arrow key events.\n         * @return {?}\n         */\n\n      }, {\n        key: \"setInactiveStyles\",\n        value: function setInactiveStyles() {\n          if (this._active) {\n            this._active = false;\n\n            this._changeDetectorRef.markForCheck();\n          }\n        }\n        /**\n         * Gets the label to be used when determining whether the option should be focused.\n         * @return {?}\n         */\n\n      }, {\n        key: \"getLabel\",\n        value: function getLabel() {\n          return this.viewValue;\n        }\n        /**\n         * Ensures the option is selected when activated from the keyboard.\n         * @param {?} event\n         * @return {?}\n         */\n\n      }, {\n        key: \"_handleKeydown\",\n        value: function _handleKeydown(event) {\n          if ((event.keyCode === _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_10__[\"ENTER\"] || event.keyCode === _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_10__[\"SPACE\"]) && !Object(_angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_10__[\"hasModifierKey\"])(event)) {\n            this._selectViaInteraction(); // Prevent the page from scrolling down and form submits.\n\n\n            event.preventDefault();\n          }\n        }\n        /**\n         * `Selects the option while indicating the selection came from the user. Used to\n         * determine if the select's view -> model callback should be invoked.`\n         * @return {?}\n         */\n\n      }, {\n        key: \"_selectViaInteraction\",\n        value: function _selectViaInteraction() {\n          if (!this.disabled) {\n            this._selected = this.multiple ? !this._selected : true;\n\n            this._changeDetectorRef.markForCheck();\n\n            this._emitSelectionChangeEvent(true);\n          }\n        }\n        /**\n         * Gets the `aria-selected` value for the option. We explicitly omit the `aria-selected`\n         * attribute from single-selection, unselected options. Including the `aria-selected=\"false\"`\n         * attributes adds a significant amount of noise to screen-reader users without providing useful\n         * information.\n         * @return {?}\n         */\n\n      }, {\n        key: \"_getAriaSelected\",\n        value: function _getAriaSelected() {\n          return this.selected || (this.multiple ? false : null);\n        }\n        /**\n         * Returns the correct tabindex for the option depending on disabled state.\n         * @return {?}\n         */\n\n      }, {\n        key: \"_getTabIndex\",\n        value: function _getTabIndex() {\n          return this.disabled ? '-1' : '0';\n        }\n        /**\n         * Gets the host DOM element.\n         * @return {?}\n         */\n\n      }, {\n        key: \"_getHostElement\",\n        value: function _getHostElement() {\n          return this._element.nativeElement;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngAfterViewChecked\",\n        value: function ngAfterViewChecked() {\n          // Since parent components could be using the option's label to display the selected values\n          // (e.g. `mat-select`) and they don't have a way of knowing if the option's label has changed\n          // we have to check for changes in the DOM ourselves and dispatch an event. These checks are\n          // relatively cheap, however we still limit them only to selected options in order to avoid\n          // hitting the DOM too often.\n          if (this._selected) {\n            /** @type {?} */\n            var viewValue = this.viewValue;\n\n            if (viewValue !== this._mostRecentViewValue) {\n              this._mostRecentViewValue = viewValue;\n\n              this._stateChanges.next();\n            }\n          }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          this._stateChanges.complete();\n        }\n        /**\n         * Emits the selection change event.\n         * @private\n         * @param {?=} isUserInput\n         * @return {?}\n         */\n\n      }, {\n        key: \"_emitSelectionChangeEvent\",\n        value: function _emitSelectionChangeEvent() {\n          var isUserInput = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n          this.onSelectionChange.emit(new MatOptionSelectionChange(this, isUserInput));\n        }\n      }, {\n        key: \"multiple\",\n        get: function get() {\n          return this._parent && this._parent.multiple;\n        }\n        /**\n         * Whether or not the option is currently selected.\n         * @return {?}\n         */\n\n      }, {\n        key: \"selected\",\n        get: function get() {\n          return this._selected;\n        }\n        /**\n         * Whether the option is disabled.\n         * @return {?}\n         */\n\n      }, {\n        key: \"disabled\",\n        get: function get() {\n          return this.group && this.group.disabled || this._disabled;\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n        ,\n        set: function set(value) {\n          this._disabled = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_4__[\"coerceBooleanProperty\"])(value);\n        }\n        /**\n         * Whether ripples for the option are disabled.\n         * @return {?}\n         */\n\n      }, {\n        key: \"disableRipple\",\n        get: function get() {\n          return this._parent && this._parent.disableRipple;\n        }\n        /**\n         * Whether or not the option is currently active and ready to be selected.\n         * An active option displays styles as if it is focused, but the\n         * focus is actually retained somewhere else. This comes in handy\n         * for components like autocomplete where focus must remain on the input.\n         * @return {?}\n         */\n\n      }, {\n        key: \"active\",\n        get: function get() {\n          return this._active;\n        }\n        /**\n         * The displayed value of the option. It is necessary to show the selected option in the\n         * select's trigger.\n         * @return {?}\n         */\n\n      }, {\n        key: \"viewValue\",\n        get: function get() {\n          // TODO(kara): Add input property alternative for node envs.\n          return (this._getHostElement().textContent || '').trim();\n        }\n      }]);\n\n      return MatOption;\n    }();\n\n    MatOption.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Component\"],\n      args: [{\n        selector: 'mat-option',\n        exportAs: 'matOption',\n        host: {\n          'role': 'option',\n          '[attr.tabindex]': '_getTabIndex()',\n          '[class.mat-selected]': 'selected',\n          '[class.mat-option-multiple]': 'multiple',\n          '[class.mat-active]': 'active',\n          '[id]': 'id',\n          '[attr.aria-selected]': '_getAriaSelected()',\n          '[attr.aria-disabled]': 'disabled.toString()',\n          '[class.mat-option-disabled]': 'disabled',\n          '(click)': '_selectViaInteraction()',\n          '(keydown)': '_handleKeydown($event)',\n          'class': 'mat-option'\n        },\n        styles: [\".mat-option{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;cursor:pointer;outline:0;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}@media (-ms-high-contrast:active){.mat-option{margin:0 1px}.mat-option.mat-active{border:solid 1px currentColor;margin:0}}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}@media (-ms-high-contrast:active){.mat-option .mat-option-ripple{opacity:.5}}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\"],\n        template: \"<mat-pseudo-checkbox *ngIf=\\\"multiple\\\" class=\\\"mat-option-pseudo-checkbox\\\" [state]=\\\"selected ? 'checked' : ''\\\" [disabled]=\\\"disabled\\\"></mat-pseudo-checkbox><span class=\\\"mat-option-text\\\"><ng-content></ng-content></span><div class=\\\"mat-option-ripple\\\" mat-ripple [matRippleTrigger]=\\\"_getHostElement()\\\" [matRippleDisabled]=\\\"disabled || disableRipple\\\"></div>\",\n        encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ViewEncapsulation\"].None,\n        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ChangeDetectionStrategy\"].OnPush\n      }]\n    }];\n    /** @nocollapse */\n\n    MatOption.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ElementRef\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ChangeDetectorRef\"]\n      }, {\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [MAT_OPTION_PARENT_COMPONENT]\n        }]\n      }, {\n        type: MatOptgroup,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Optional\"]\n        }]\n      }];\n    };\n\n    MatOption.propDecorators = {\n      value: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"]\n      }],\n      id: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"]\n      }],\n      disabled: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Input\"]\n      }],\n      onSelectionChange: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Output\"]\n      }]\n    };\n    /**\n     * Counts the amount of option group labels that precede the specified option.\n     * \\@docs-private\n     * @param {?} optionIndex Index of the option at which to start counting.\n     * @param {?} options Flat list of all of the options.\n     * @param {?} optionGroups Flat list of all of the option groups.\n     * @return {?}\n     */\n\n    function _countGroupLabelsBeforeOption(optionIndex, options, optionGroups) {\n      if (optionGroups.length) {\n        /** @type {?} */\n        var optionsArray = options.toArray();\n        /** @type {?} */\n\n        var groups = optionGroups.toArray();\n        /** @type {?} */\n\n        var groupCounter = 0;\n\n        for (var i = 0; i < optionIndex + 1; i++) {\n          if (optionsArray[i].group && optionsArray[i].group === groups[groupCounter]) {\n            groupCounter++;\n          }\n        }\n\n        return groupCounter;\n      }\n\n      return 0;\n    }\n    /**\n     * Determines the position to which to scroll a panel in order for an option to be into view.\n     * \\@docs-private\n     * @param {?} optionIndex Index of the option to be scrolled into the view.\n     * @param {?} optionHeight Height of the options.\n     * @param {?} currentScrollPosition Current scroll position of the panel.\n     * @param {?} panelHeight Height of the panel.\n     * @return {?}\n     */\n\n\n    function _getOptionScrollPosition(optionIndex, optionHeight, currentScrollPosition, panelHeight) {\n      /** @type {?} */\n      var optionOffset = optionIndex * optionHeight;\n\n      if (optionOffset < currentScrollPosition) {\n        return optionOffset;\n      }\n\n      if (optionOffset + optionHeight > currentScrollPosition + panelHeight) {\n        return Math.max(0, optionOffset - panelHeight + optionHeight);\n      }\n\n      return currentScrollPosition;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n\n    var MatOptionModule = function MatOptionModule() {\n      _classCallCheck(this, MatOptionModule);\n    };\n\n    MatOptionModule.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"],\n      args: [{\n        imports: [MatRippleModule, _angular_common__WEBPACK_IMPORTED_MODULE_11__[\"CommonModule\"], MatPseudoCheckboxModule],\n        exports: [MatOption, MatOptgroup],\n        declarations: [MatOption, MatOptgroup]\n      }]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * InjectionToken that can be used to specify the global label options.\n     * @type {?}\n     */\n\n    var MAT_LABEL_GLOBAL_OPTIONS = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('mat-label-global-options');\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * When constructing a Date, the month is zero-based. This can be confusing, since people are\n     * used to seeing them one-based. So we create these aliases to make writing the tests easier.\n     * \\@docs-private\n     * \\@breaking-change 8.0.0 Remove this with V8 since it was only targeted for testing.\n     * @type {?}\n     */\n\n    var JAN = 0;\n    /** @type {?} */\n\n    var FEB = 1;\n    /** @type {?} */\n\n    var MAR = 2;\n    /** @type {?} */\n\n    var APR = 3;\n    /** @type {?} */\n\n    var MAY = 4;\n    /** @type {?} */\n\n    var JUN = 5;\n    /** @type {?} */\n\n    var JUL = 6;\n    /** @type {?} */\n\n    var AUG = 7;\n    /** @type {?} */\n\n    var SEP = 8;\n    /** @type {?} */\n\n    var OCT = 9;\n    /** @type {?} */\n\n    var NOV = 10;\n    /** @type {?} */\n\n    var DEC = 11;\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /***/\n  },\n\n  /***/\n  \"./node_modules/@angular/material/esm2015/menu.js\":\n  /*!********************************************************!*\\\n    !*** ./node_modules/@angular/material/esm2015/menu.js ***!\n    \\********************************************************/\n\n  /*! exports provided: MatMenu, MAT_MENU_DEFAULT_OPTIONS, _MatMenu, _MatMenuBase, MatMenuItem, MatMenuTrigger, MAT_MENU_SCROLL_STRATEGY, MAT_MENU_PANEL, _MatMenuDirectivesModule, MatMenuModule, matMenuAnimations, fadeInItems, transformMenu, MatMenuContent, ɵa22, ɵb22, ɵc22 */\n\n  /***/\n  function node_modulesAngularMaterialEsm2015MenuJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MatMenu\", function () {\n      return MatMenu;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MAT_MENU_DEFAULT_OPTIONS\", function () {\n      return MAT_MENU_DEFAULT_OPTIONS;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"_MatMenu\", function () {\n      return _MatMenu;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"_MatMenuBase\", function () {\n      return _MatMenuBase;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MatMenuItem\", function () {\n      return MatMenuItem;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MatMenuTrigger\", function () {\n      return MatMenuTrigger;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MAT_MENU_SCROLL_STRATEGY\", function () {\n      return MAT_MENU_SCROLL_STRATEGY;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MAT_MENU_PANEL\", function () {\n      return MAT_MENU_PANEL;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"_MatMenuDirectivesModule\", function () {\n      return _MatMenuDirectivesModule;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MatMenuModule\", function () {\n      return MatMenuModule;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"matMenuAnimations\", function () {\n      return matMenuAnimations;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"fadeInItems\", function () {\n      return fadeInItems;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"transformMenu\", function () {\n      return transformMenu;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MatMenuContent\", function () {\n      return MatMenuContent;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵa22\", function () {\n      return MAT_MENU_DEFAULT_OPTIONS_FACTORY;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵb22\", function () {\n      return MAT_MENU_SCROLL_STRATEGY_FACTORY;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵc22\", function () {\n      return MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER;\n    });\n    /* harmony import */\n\n\n    var _angular_animations__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! @angular/animations */\n    \"./node_modules/@angular/animations/fesm2015/animations.js\");\n    /* harmony import */\n\n\n    var _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/cdk/portal */\n    \"./node_modules/@angular/cdk/esm2015/portal.js\");\n    /* harmony import */\n\n\n    var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! @angular/common */\n    \"./node_modules/@angular/common/fesm2015/common.js\");\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var rxjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! rxjs */\n    \"./node_modules/rxjs/_esm2015/index.js\");\n    /* harmony import */\n\n\n    var _angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\n    /*! @angular/cdk/a11y */\n    \"./node_modules/@angular/cdk/esm2015/a11y.js\");\n    /* harmony import */\n\n\n    var _angular_material_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(\n    /*! @angular/material/core */\n    \"./node_modules/@angular/material/esm2015/core.js\");\n    /* harmony import */\n\n\n    var _angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(\n    /*! @angular/cdk/coercion */\n    \"./node_modules/@angular/cdk/esm2015/coercion.js\");\n    /* harmony import */\n\n\n    var _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(\n    /*! @angular/cdk/keycodes */\n    \"./node_modules/@angular/cdk/esm2015/keycodes.js\");\n    /* harmony import */\n\n\n    var rxjs_operators__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(\n    /*! rxjs/operators */\n    \"./node_modules/rxjs/_esm2015/operators/index.js\");\n    /* harmony import */\n\n\n    var _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(\n    /*! @angular/cdk/bidi */\n    \"./node_modules/@angular/cdk/esm2015/bidi.js\");\n    /* harmony import */\n\n\n    var _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(\n    /*! @angular/cdk/overlay */\n    \"./node_modules/@angular/cdk/esm2015/overlay.js\");\n    /* harmony import */\n\n\n    var _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(\n    /*! @angular/cdk/platform */\n    \"./node_modules/@angular/cdk/esm2015/platform.js\");\n    /**\n     * @license\n     * Copyright Google LLC All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Animations used by the mat-menu component.\n     * Animation duration and timing values are based on:\n     * https://material.io/guidelines/components/menus.html#menus-usage\n     * \\@docs-private\n     * @type {?}\n     */\n\n\n    var matMenuAnimations = {\n      /**\n       * This animation controls the menu panel's entry and exit from the page.\n       *\n       * When the menu panel is added to the DOM, it scales in and fades in its border.\n       *\n       * When the menu panel is removed from the DOM, it simply fades out after a brief\n       * delay to display the ripple.\n       */\n      transformMenu: Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"trigger\"])('transformMenu', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"state\"])('void', Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"style\"])({\n        opacity: 0,\n        transform: 'scale(0.8)'\n      })), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"transition\"])('void => enter', Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"group\"])([Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"query\"])('.mat-menu-content, .mat-mdc-menu-content', Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"animate\"])('100ms linear', Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"style\"])({\n        opacity: 1\n      }))), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"animate\"])('120ms cubic-bezier(0, 0, 0.2, 1)', Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"style\"])({\n        transform: 'scale(1)'\n      }))])), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"transition\"])('* => void', Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"animate\"])('100ms 25ms linear', Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"style\"])({\n        opacity: 0\n      })))]),\n\n      /**\n       * This animation fades in the background color and content of the menu panel\n       * after its containing element is scaled in.\n       */\n      fadeInItems: Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"trigger\"])('fadeInItems', [// TODO(crisbeto): this is inside the `transformMenu`\n      // now. Remove next time we do breaking changes.\n      Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"state\"])('showing', Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"style\"])({\n        opacity: 1\n      })), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"transition\"])('void => *', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"style\"])({\n        opacity: 0\n      }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__[\"animate\"])('400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)')])])\n    };\n    /**\n     * @deprecated\n     * \\@breaking-change 8.0.0\n     * \\@docs-private\n     * @type {?}\n     */\n\n    var fadeInItems = matMenuAnimations.fadeInItems;\n    /**\n     * @deprecated\n     * \\@breaking-change 8.0.0\n     * \\@docs-private\n     * @type {?}\n     */\n\n    var transformMenu = matMenuAnimations.transformMenu;\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Menu content that will be rendered lazily once the menu is opened.\n     */\n\n    var MatMenuContent =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _template\n       * @param {?} _componentFactoryResolver\n       * @param {?} _appRef\n       * @param {?} _injector\n       * @param {?} _viewContainerRef\n       * @param {?} _document\n       * @param {?=} _changeDetectorRef\n       */\n      function MatMenuContent(_template, _componentFactoryResolver, _appRef, _injector, _viewContainerRef, _document, _changeDetectorRef) {\n        _classCallCheck(this, MatMenuContent);\n\n        this._template = _template;\n        this._componentFactoryResolver = _componentFactoryResolver;\n        this._appRef = _appRef;\n        this._injector = _injector;\n        this._viewContainerRef = _viewContainerRef;\n        this._document = _document;\n        this._changeDetectorRef = _changeDetectorRef;\n        /**\n         * Emits when the menu content has been attached.\n         */\n\n        this._attached = new rxjs__WEBPACK_IMPORTED_MODULE_4__[\"Subject\"]();\n      }\n      /**\n       * Attaches the content with a particular context.\n       * \\@docs-private\n       * @param {?=} context\n       * @return {?}\n       */\n\n\n      _createClass2(MatMenuContent, [{\n        key: \"attach\",\n        value: function attach() {\n          var context = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n          if (!this._portal) {\n            this._portal = new _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_1__[\"TemplatePortal\"](this._template, this._viewContainerRef);\n          }\n\n          this.detach();\n\n          if (!this._outlet) {\n            this._outlet = new _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_1__[\"DomPortalOutlet\"](this._document.createElement('div'), this._componentFactoryResolver, this._appRef, this._injector);\n          }\n          /** @type {?} */\n\n\n          var element = this._template.elementRef.nativeElement; // Because we support opening the same menu from different triggers (which in turn have their\n          // own `OverlayRef` panel), we have to re-insert the host element every time, otherwise we\n          // risk it staying attached to a pane that's no longer in the DOM.\n\n          /** @type {?} */\n          element.parentNode.insertBefore(this._outlet.outletElement, element); // When `MatMenuContent` is used in an `OnPush` component, the insertion of the menu\n          // content via `createEmbeddedView` does not cause the content to be seen as \"dirty\"\n          // by Angular. This causes the `@ContentChildren` for menu items within the menu to\n          // not be updated by Angular. By explicitly marking for check here, we tell Angular that\n          // it needs to check for new menu items and update the `@ContentChild` in `MatMenu`.\n          // @breaking-change 9.0.0 Make change detector ref required\n\n          if (this._changeDetectorRef) {\n            this._changeDetectorRef.markForCheck();\n          }\n\n          this._portal.attach(this._outlet, context);\n\n          this._attached.next();\n        }\n        /**\n         * Detaches the content.\n         * \\@docs-private\n         * @return {?}\n         */\n\n      }, {\n        key: \"detach\",\n        value: function detach() {\n          if (this._portal.isAttached) {\n            this._portal.detach();\n          }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          if (this._outlet) {\n            this._outlet.dispose();\n          }\n        }\n      }]);\n\n      return MatMenuContent;\n    }();\n\n    MatMenuContent.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Directive\"],\n      args: [{\n        selector: 'ng-template[matMenuContent]'\n      }]\n    }];\n    /** @nocollapse */\n\n    MatMenuContent.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"TemplateRef\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ComponentFactoryResolver\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ApplicationRef\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Injector\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ViewContainerRef\"]\n      }, {\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Inject\"],\n          args: [_angular_common__WEBPACK_IMPORTED_MODULE_2__[\"DOCUMENT\"]]\n        }]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ChangeDetectorRef\"]\n      }];\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Throws an exception for the case when menu trigger doesn't have a valid mat-menu instance\n     * \\@docs-private\n     * @return {?}\n     */\n\n\n    function throwMatMenuMissingError() {\n      throw Error(\"matMenuTriggerFor: must pass in an mat-menu instance.\\n\\n    Example:\\n      <mat-menu #menu=\\\"matMenu\\\"></mat-menu>\\n      <button [matMenuTriggerFor]=\\\"menu\\\"></button>\");\n    }\n    /**\n     * Throws an exception for the case when menu's x-position value isn't valid.\n     * In other words, it doesn't match 'before' or 'after'.\n     * \\@docs-private\n     * @return {?}\n     */\n\n\n    function throwMatMenuInvalidPositionX() {\n      throw Error(\"xPosition value must be either 'before' or after'.\\n      Example: <mat-menu xPosition=\\\"before\\\" #menu=\\\"matMenu\\\"></mat-menu>\");\n    }\n    /**\n     * Throws an exception for the case when menu's y-position value isn't valid.\n     * In other words, it doesn't match 'above' or 'below'.\n     * \\@docs-private\n     * @return {?}\n     */\n\n\n    function throwMatMenuInvalidPositionY() {\n      throw Error(\"yPosition value must be either 'above' or below'.\\n      Example: <mat-menu yPosition=\\\"above\\\" #menu=\\\"matMenu\\\"></mat-menu>\");\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Injection token used to provide the parent menu to menu-specific components.\n     * \\@docs-private\n     * @type {?}\n     */\n\n\n    var MAT_MENU_PANEL = new _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"InjectionToken\"]('MAT_MENU_PANEL');\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n    // Boilerplate for applying mixins to MatMenuItem.\n\n    /**\n     * \\@docs-private\n     */\n\n    var MatMenuItemBase = function MatMenuItemBase() {\n      _classCallCheck(this, MatMenuItemBase);\n    };\n    /** @type {?} */\n\n\n    var _MatMenuItemMixinBase = Object(_angular_material_core__WEBPACK_IMPORTED_MODULE_6__[\"mixinDisableRipple\"])(Object(_angular_material_core__WEBPACK_IMPORTED_MODULE_6__[\"mixinDisabled\"])(MatMenuItemBase));\n    /**\n     * This directive is intended to be used inside an mat-menu tag.\n     * It exists mostly to set the role attribute.\n     */\n\n\n    var MatMenuItem =\n    /*#__PURE__*/\n    function (_MatMenuItemMixinBase2) {\n      _inherits(MatMenuItem, _MatMenuItemMixinBase2);\n\n      /**\n       * @param {?} _elementRef\n       * @param {?=} document\n       * @param {?=} _focusMonitor\n       * @param {?=} _parentMenu\n       */\n      function MatMenuItem(_elementRef, document, _focusMonitor, _parentMenu) {\n        var _this608;\n\n        _classCallCheck(this, MatMenuItem);\n\n        // @breaking-change 8.0.0 make `_focusMonitor` and `document` required params.\n        _this608 = _possibleConstructorReturn(this, _getPrototypeOf(MatMenuItem).call(this));\n        _this608._elementRef = _elementRef;\n        _this608._focusMonitor = _focusMonitor;\n        _this608._parentMenu = _parentMenu;\n        /**\n         * ARIA role for the menu item.\n         */\n\n        _this608.role = 'menuitem';\n        /**\n         * Stream that emits when the menu item is hovered.\n         */\n\n        _this608._hovered = new rxjs__WEBPACK_IMPORTED_MODULE_4__[\"Subject\"]();\n        /**\n         * Whether the menu item is highlighted.\n         */\n\n        _this608._highlighted = false;\n        /**\n         * Whether the menu item acts as a trigger for a sub-menu.\n         */\n\n        _this608._triggersSubmenu = false;\n\n        if (_focusMonitor) {\n          // Start monitoring the element so it gets the appropriate focused classes. We want\n          // to show the focus style for menu items only when the focus was not caused by a\n          // mouse or touch interaction.\n          _focusMonitor.monitor(_this608._elementRef, false);\n        }\n\n        if (_parentMenu && _parentMenu.addItem) {\n          _parentMenu.addItem(_assertThisInitialized(_this608));\n        }\n\n        _this608._document = document;\n        return _this608;\n      }\n      /**\n       * Focuses the menu item.\n       * @param {?=} origin\n       * @param {?=} options\n       * @return {?}\n       */\n\n\n      _createClass2(MatMenuItem, [{\n        key: \"focus\",\n        value: function focus() {\n          var origin = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'program';\n          var options = arguments.length > 1 ? arguments[1] : undefined;\n\n          if (this._focusMonitor) {\n            this._focusMonitor.focusVia(this._getHostElement(), origin, options);\n          } else {\n            this._getHostElement().focus(options);\n          }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          if (this._focusMonitor) {\n            this._focusMonitor.stopMonitoring(this._elementRef);\n          }\n\n          if (this._parentMenu && this._parentMenu.removeItem) {\n            this._parentMenu.removeItem(this);\n          }\n\n          this._hovered.complete();\n        }\n        /**\n         * Used to set the `tabindex`.\n         * @return {?}\n         */\n\n      }, {\n        key: \"_getTabIndex\",\n        value: function _getTabIndex() {\n          return this.disabled ? '-1' : '0';\n        }\n        /**\n         * Returns the host DOM element.\n         * @return {?}\n         */\n\n      }, {\n        key: \"_getHostElement\",\n        value: function _getHostElement() {\n          return this._elementRef.nativeElement;\n        }\n        /**\n         * Prevents the default element actions if it is disabled.\n         * @param {?} event\n         * @return {?}\n         */\n        // We have to use a `HostListener` here in order to support both Ivy and ViewEngine.\n        // In Ivy the `host` bindings will be merged when this class is extended, whereas in\n        // ViewEngine they're overwritten.\n        // TODO(crisbeto): we move this back into `host` once Ivy is turned on by default.\n        // tslint:disable-next-line:no-host-decorator-in-concrete\n\n      }, {\n        key: \"_checkDisabled\",\n        value: function _checkDisabled(event) {\n          if (this.disabled) {\n            event.preventDefault();\n            event.stopPropagation();\n          }\n        }\n        /**\n         * Emits to the hover stream.\n         * @return {?}\n         */\n        // We have to use a `HostListener` here in order to support both Ivy and ViewEngine.\n        // In Ivy the `host` bindings will be merged when this class is extended, whereas in\n        // ViewEngine they're overwritten.\n        // TODO(crisbeto): we move this back into `host` once Ivy is turned on by default.\n        // tslint:disable-next-line:no-host-decorator-in-concrete\n\n      }, {\n        key: \"_handleMouseEnter\",\n        value: function _handleMouseEnter() {\n          this._hovered.next(this);\n        }\n        /**\n         * Gets the label to be used when determining whether the option should be focused.\n         * @return {?}\n         */\n\n      }, {\n        key: \"getLabel\",\n        value: function getLabel() {\n          /** @type {?} */\n          var element = this._elementRef.nativeElement;\n          /** @type {?} */\n\n          var textNodeType = this._document ? this._document.TEXT_NODE : 3;\n          /** @type {?} */\n\n          var output = '';\n\n          if (element.childNodes) {\n            /** @type {?} */\n            var length = element.childNodes.length; // Go through all the top-level text nodes and extract their text.\n            // We skip anything that's not a text node to prevent the text from\n            // being thrown off by something like an icon.\n\n            for (var i = 0; i < length; i++) {\n              if (element.childNodes[i].nodeType === textNodeType) {\n                output += element.childNodes[i].textContent;\n              }\n            }\n          }\n\n          return output.trim();\n        }\n      }]);\n\n      return MatMenuItem;\n    }(_MatMenuItemMixinBase);\n\n    MatMenuItem.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Component\"],\n      args: [{\n        selector: '[mat-menu-item]',\n        exportAs: 'matMenuItem',\n        inputs: ['disabled', 'disableRipple'],\n        host: {\n          '[attr.role]': 'role',\n          'class': 'mat-menu-item',\n          '[class.mat-menu-item-highlighted]': '_highlighted',\n          '[class.mat-menu-item-submenu-trigger]': '_triggersSubmenu',\n          '[attr.tabindex]': '_getTabIndex()',\n          '[attr.aria-disabled]': 'disabled.toString()',\n          '[attr.disabled]': 'disabled || null'\n        },\n        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ChangeDetectionStrategy\"].OnPush,\n        encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ViewEncapsulation\"].None,\n        template: \"<ng-content></ng-content><div class=\\\"mat-menu-ripple\\\" matRipple [matRippleDisabled]=\\\"disableRipple || disabled\\\" [matRippleTrigger]=\\\"_getHostElement()\\\"></div>\"\n      }]\n    }];\n    /** @nocollapse */\n\n    MatMenuItem.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ElementRef\"]\n      }, {\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Inject\"],\n          args: [_angular_common__WEBPACK_IMPORTED_MODULE_2__[\"DOCUMENT\"]]\n        }]\n      }, {\n        type: _angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_5__[\"FocusMonitor\"]\n      }, {\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Inject\"],\n          args: [MAT_MENU_PANEL]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Optional\"]\n        }]\n      }];\n    };\n\n    MatMenuItem.propDecorators = {\n      role: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"]\n      }],\n      _checkDisabled: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"HostListener\"],\n        args: ['click', ['$event']]\n      }],\n      _handleMouseEnter: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"HostListener\"],\n        args: ['mouseenter']\n      }]\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Injection token to be used to override the default options for `mat-menu`.\n     * @type {?}\n     */\n\n    var MAT_MENU_DEFAULT_OPTIONS = new _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"InjectionToken\"]('mat-menu-default-options', {\n      providedIn: 'root',\n      factory: MAT_MENU_DEFAULT_OPTIONS_FACTORY\n    });\n    /**\n     * \\@docs-private\n     * @return {?}\n     */\n\n    function MAT_MENU_DEFAULT_OPTIONS_FACTORY() {\n      return {\n        overlapTrigger: false,\n        xPosition: 'after',\n        yPosition: 'below',\n        backdropClass: 'cdk-overlay-transparent-backdrop'\n      };\n    }\n    /**\n     * Start elevation for the menu panel.\n     * \\@docs-private\n     * @type {?}\n     */\n\n\n    var MAT_MENU_BASE_ELEVATION = 4;\n    /**\n     * Base class with all of the `MatMenu` functionality.\n     */\n    // tslint:disable-next-line:class-name\n\n    var _MatMenuBase =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _elementRef\n       * @param {?} _ngZone\n       * @param {?} _defaultOptions\n       */\n      function _MatMenuBase(_elementRef, _ngZone, _defaultOptions) {\n        _classCallCheck(this, _MatMenuBase);\n\n        this._elementRef = _elementRef;\n        this._ngZone = _ngZone;\n        this._defaultOptions = _defaultOptions;\n        this._xPosition = this._defaultOptions.xPosition;\n        this._yPosition = this._defaultOptions.yPosition;\n        /**\n         * Only the direct descendant menu items.\n         */\n\n        this._directDescendantItems = new _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"QueryList\"]();\n        /**\n         * Subscription to tab events on the menu panel\n         */\n\n        this._tabSubscription = rxjs__WEBPACK_IMPORTED_MODULE_4__[\"Subscription\"].EMPTY;\n        /**\n         * Config object to be passed into the menu's ngClass\n         */\n\n        this._classList = {};\n        /**\n         * Current state of the panel animation.\n         */\n\n        this._panelAnimationState = 'void';\n        /**\n         * Emits whenever an animation on the menu completes.\n         */\n\n        this._animationDone = new rxjs__WEBPACK_IMPORTED_MODULE_4__[\"Subject\"]();\n        /**\n         * Class to be added to the backdrop element.\n         */\n\n        this.backdropClass = this._defaultOptions.backdropClass;\n        this._overlapTrigger = this._defaultOptions.overlapTrigger;\n        this._hasBackdrop = this._defaultOptions.hasBackdrop;\n        /**\n         * Event emitted when the menu is closed.\n         */\n\n        this.closed = new _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"EventEmitter\"]();\n        /**\n         * Event emitted when the menu is closed.\n         * @deprecated Switch to `closed` instead\n         * \\@breaking-change 8.0.0\n         */\n\n        this.close = this.closed;\n      }\n      /**\n       * Position of the menu in the X axis.\n       * @return {?}\n       */\n\n\n      _createClass2(_MatMenuBase, [{\n        key: \"ngOnInit\",\n\n        /**\n         * @return {?}\n         */\n        value: function ngOnInit() {\n          this.setPositionClasses();\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngAfterContentInit\",\n        value: function ngAfterContentInit() {\n          var _this609 = this;\n\n          this._updateDirectDescendants();\n\n          this._keyManager = new _angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_5__[\"FocusKeyManager\"](this._directDescendantItems).withWrap().withTypeAhead();\n          this._tabSubscription = this._keyManager.tabOut.subscribe(\n          /**\n          * @return {?}\n          */\n          function () {\n            return _this609.closed.emit('tab');\n          });\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          this._directDescendantItems.destroy();\n\n          this._tabSubscription.unsubscribe();\n\n          this.closed.complete();\n        }\n        /**\n         * Stream that emits whenever the hovered menu item changes.\n         * @return {?}\n         */\n\n      }, {\n        key: \"_hovered\",\n        value: function _hovered() {\n          // Coerce the `changes` property because Angular types it as `Observable<any>`\n\n          /** @type {?} */\n          var itemChanges =\n          /** @type {?} */\n          this._directDescendantItems.changes;\n          return itemChanges.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__[\"startWith\"])(this._directDescendantItems), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__[\"switchMap\"])(\n          /**\n          * @param {?} items\n          * @return {?}\n          */\n          function (items) {\n            return Object(rxjs__WEBPACK_IMPORTED_MODULE_4__[\"merge\"]).apply(void 0, _toConsumableArray(items.map(\n            /**\n            * @param {?} item\n            * @return {?}\n            */\n            function (item) {\n              return item._hovered;\n            })));\n          }));\n        }\n        /*\n           * Registers a menu item with the menu.\n           * @docs-private\n           * @deprecated No longer being used. To be removed.\n           * @breaking-change 9.0.0\n           */\n\n        /**\n         * @param {?} _item\n         * @return {?}\n         */\n\n      }, {\n        key: \"addItem\",\n        value: function addItem(_item) {}\n        /**\n         * Removes an item from the menu.\n         * \\@docs-private\n         * @deprecated No longer being used. To be removed.\n         * \\@breaking-change 9.0.0\n         * @param {?} _item\n         * @return {?}\n         */\n\n      }, {\n        key: \"removeItem\",\n        value: function removeItem(_item) {}\n        /**\n         * Handle a keyboard event from the menu, delegating to the appropriate action.\n         * @param {?} event\n         * @return {?}\n         */\n\n      }, {\n        key: \"_handleKeydown\",\n        value: function _handleKeydown(event) {\n          /** @type {?} */\n          var keyCode = event.keyCode;\n          /** @type {?} */\n\n          var manager = this._keyManager;\n\n          switch (keyCode) {\n            case _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_8__[\"ESCAPE\"]:\n              if (!Object(_angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_8__[\"hasModifierKey\"])(event)) {\n                event.preventDefault();\n                this.closed.emit('keydown');\n              }\n\n              break;\n\n            case _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_8__[\"LEFT_ARROW\"]:\n              if (this.parentMenu && this.direction === 'ltr') {\n                this.closed.emit('keydown');\n              }\n\n              break;\n\n            case _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_8__[\"RIGHT_ARROW\"]:\n              if (this.parentMenu && this.direction === 'rtl') {\n                this.closed.emit('keydown');\n              }\n\n              break;\n\n            case _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_8__[\"HOME\"]:\n            case _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_8__[\"END\"]:\n              if (!Object(_angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_8__[\"hasModifierKey\"])(event)) {\n                keyCode === _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_8__[\"HOME\"] ? manager.setFirstItemActive() : manager.setLastItemActive();\n                event.preventDefault();\n              }\n\n              break;\n\n            default:\n              if (keyCode === _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_8__[\"UP_ARROW\"] || keyCode === _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_8__[\"DOWN_ARROW\"]) {\n                manager.setFocusOrigin('keyboard');\n              }\n\n              manager.onKeydown(event);\n          }\n        }\n        /**\n         * Focus the first item in the menu.\n         * @param {?=} origin Action from which the focus originated. Used to set the correct styling.\n         * @return {?}\n         */\n\n      }, {\n        key: \"focusFirstItem\",\n        value: function focusFirstItem() {\n          var origin = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'program';\n\n          /** @type {?} */\n          var manager = this._keyManager; // When the content is rendered lazily, it takes a bit before the items are inside the DOM.\n\n          if (this.lazyContent) {\n            this._ngZone.onStable.asObservable().pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__[\"take\"])(1)).subscribe(\n            /**\n            * @return {?}\n            */\n            function () {\n              return manager.setFocusOrigin(origin).setFirstItemActive();\n            });\n          } else {\n            manager.setFocusOrigin(origin).setFirstItemActive();\n          } // If there's no active item at this point, it means that all the items are disabled.\n          // Move focus to the menu panel so keyboard events like Escape still work. Also this will\n          // give _some_ feedback to screen readers.\n\n\n          if (!manager.activeItem && this._directDescendantItems.length) {\n            /** @type {?} */\n            var element = this._directDescendantItems.first._getHostElement().parentElement; // Because the `mat-menu` is at the DOM insertion point, not inside the overlay, we don't\n            // have a nice way of getting a hold of the menu panel. We can't use a `ViewChild` either\n            // because the panel is inside an `ng-template`. We work around it by starting from one of\n            // the items and walking up the DOM.\n\n\n            while (element) {\n              if (element.getAttribute('role') === 'menu') {\n                element.focus();\n                break;\n              } else {\n                element = element.parentElement;\n              }\n            }\n          }\n        }\n        /**\n         * Resets the active item in the menu. This is used when the menu is opened, allowing\n         * the user to start from the first option when pressing the down arrow.\n         * @return {?}\n         */\n\n      }, {\n        key: \"resetActiveItem\",\n        value: function resetActiveItem() {\n          this._keyManager.setActiveItem(-1);\n        }\n        /**\n         * Sets the menu panel elevation.\n         * @param {?} depth Number of parent menus that come before the menu.\n         * @return {?}\n         */\n\n      }, {\n        key: \"setElevation\",\n        value: function setElevation(depth) {\n          // The elevation starts at the base and increases by one for each level.\n\n          /** @type {?} */\n          var newElevation = \"mat-elevation-z\".concat(MAT_MENU_BASE_ELEVATION + depth);\n          /** @type {?} */\n\n          var customElevation = Object.keys(this._classList).find(\n          /**\n          * @param {?} c\n          * @return {?}\n          */\n          function (c) {\n            return c.startsWith('mat-elevation-z');\n          });\n\n          if (!customElevation || customElevation === this._previousElevation) {\n            if (this._previousElevation) {\n              this._classList[this._previousElevation] = false;\n            }\n\n            this._classList[newElevation] = true;\n            this._previousElevation = newElevation;\n          }\n        }\n        /**\n         * Adds classes to the menu panel based on its position. Can be used by\n         * consumers to add specific styling based on the position.\n         * \\@docs-private\n         * @param {?=} posX Position of the menu along the x axis.\n         * @param {?=} posY Position of the menu along the y axis.\n         * @return {?}\n         */\n\n      }, {\n        key: \"setPositionClasses\",\n        value: function setPositionClasses() {\n          var posX = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.xPosition;\n          var posY = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.yPosition;\n\n          /** @type {?} */\n          var classes = this._classList;\n          classes['mat-menu-before'] = posX === 'before';\n          classes['mat-menu-after'] = posX === 'after';\n          classes['mat-menu-above'] = posY === 'above';\n          classes['mat-menu-below'] = posY === 'below';\n        }\n        /**\n         * Starts the enter animation.\n         * @return {?}\n         */\n\n      }, {\n        key: \"_startAnimation\",\n        value: function _startAnimation() {\n          // @breaking-change 8.0.0 Combine with _resetAnimation.\n          this._panelAnimationState = 'enter';\n        }\n        /**\n         * Resets the panel animation to its initial state.\n         * @return {?}\n         */\n\n      }, {\n        key: \"_resetAnimation\",\n        value: function _resetAnimation() {\n          // @breaking-change 8.0.0 Combine with _startAnimation.\n          this._panelAnimationState = 'void';\n        }\n        /**\n         * Callback that is invoked when the panel animation completes.\n         * @param {?} event\n         * @return {?}\n         */\n\n      }, {\n        key: \"_onAnimationDone\",\n        value: function _onAnimationDone(event) {\n          this._animationDone.next(event);\n\n          this._isAnimating = false;\n        }\n        /**\n         * @param {?} event\n         * @return {?}\n         */\n\n      }, {\n        key: \"_onAnimationStart\",\n        value: function _onAnimationStart(event) {\n          this._isAnimating = true; // Scroll the content element to the top as soon as the animation starts. This is necessary,\n          // because we move focus to the first item while it's still being animated, which can throw\n          // the browser off when it determines the scroll position. Alternatively we can move focus\n          // when the animation is done, however moving focus asynchronously will interrupt screen\n          // readers which are in the process of reading out the menu already. We take the `element`\n          // from the `event` since we can't use a `ViewChild` to access the pane.\n\n          if (event.toState === 'enter' && this._keyManager.activeItemIndex === 0) {\n            event.element.scrollTop = 0;\n          }\n        }\n        /**\n         * Sets up a stream that will keep track of any newly-added menu items and will update the list\n         * of direct descendants. We collect the descendants this way, because `_allItems` can include\n         * items that are part of child menus, and using a custom way of registering items is unreliable\n         * when it comes to maintaining the item order.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_updateDirectDescendants\",\n        value: function _updateDirectDescendants() {\n          var _this610 = this;\n\n          this._allItems.changes.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__[\"startWith\"])(this._allItems)).subscribe(\n          /**\n          * @param {?} items\n          * @return {?}\n          */\n          function (items) {\n            _this610._directDescendantItems.reset(items.filter(\n            /**\n            * @param {?} item\n            * @return {?}\n            */\n            function (item) {\n              return item._parentMenu === _this610;\n            }));\n\n            _this610._directDescendantItems.notifyOnChanges();\n          });\n        }\n      }, {\n        key: \"xPosition\",\n        get: function get() {\n          return this._xPosition;\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n        ,\n        set: function set(value) {\n          if (value !== 'before' && value !== 'after') {\n            throwMatMenuInvalidPositionX();\n          }\n\n          this._xPosition = value;\n          this.setPositionClasses();\n        }\n        /**\n         * Position of the menu in the Y axis.\n         * @return {?}\n         */\n\n      }, {\n        key: \"yPosition\",\n        get: function get() {\n          return this._yPosition;\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n        ,\n        set: function set(value) {\n          if (value !== 'above' && value !== 'below') {\n            throwMatMenuInvalidPositionY();\n          }\n\n          this._yPosition = value;\n          this.setPositionClasses();\n        }\n        /**\n         * Whether the menu should overlap its trigger.\n         * @return {?}\n         */\n\n      }, {\n        key: \"overlapTrigger\",\n        get: function get() {\n          return this._overlapTrigger;\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n        ,\n        set: function set(value) {\n          this._overlapTrigger = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_7__[\"coerceBooleanProperty\"])(value);\n        }\n        /**\n         * Whether the menu has a backdrop.\n         * @return {?}\n         */\n\n      }, {\n        key: \"hasBackdrop\",\n        get: function get() {\n          return this._hasBackdrop;\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n        ,\n        set: function set(value) {\n          this._hasBackdrop = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_7__[\"coerceBooleanProperty\"])(value);\n        }\n        /**\n         * This method takes classes set on the host mat-menu element and applies them on the\n         * menu template that displays in the overlay container.  Otherwise, it's difficult\n         * to style the containing menu from outside the component.\n         * @param {?} classes list of class names\n         * @return {?}\n         */\n\n      }, {\n        key: \"panelClass\",\n        set: function set(classes) {\n          var _this611 = this;\n\n          /** @type {?} */\n          var previousPanelClass = this._previousPanelClass;\n\n          if (previousPanelClass && previousPanelClass.length) {\n            previousPanelClass.split(' ').forEach(\n            /**\n            * @param {?} className\n            * @return {?}\n            */\n            function (className) {\n              _this611._classList[className] = false;\n            });\n          }\n\n          this._previousPanelClass = classes;\n\n          if (classes && classes.length) {\n            classes.split(' ').forEach(\n            /**\n            * @param {?} className\n            * @return {?}\n            */\n            function (className) {\n              _this611._classList[className] = true;\n            });\n            this._elementRef.nativeElement.className = '';\n          }\n        }\n        /**\n         * This method takes classes set on the host mat-menu element and applies them on the\n         * menu template that displays in the overlay container.  Otherwise, it's difficult\n         * to style the containing menu from outside the component.\n         * @deprecated Use `panelClass` instead.\n         * \\@breaking-change 8.0.0\n         * @return {?}\n         */\n\n      }, {\n        key: \"classList\",\n        get: function get() {\n          return this.panelClass;\n        }\n        /**\n         * @param {?} classes\n         * @return {?}\n         */\n        ,\n        set: function set(classes) {\n          this.panelClass = classes;\n        }\n      }]);\n\n      return _MatMenuBase;\n    }();\n    /** @nocollapse */\n\n\n    _MatMenuBase.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ElementRef\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"NgZone\"]\n      }, {\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Inject\"],\n          args: [MAT_MENU_DEFAULT_OPTIONS]\n        }]\n      }];\n    };\n\n    _MatMenuBase.propDecorators = {\n      _allItems: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ContentChildren\"],\n        args: [MatMenuItem, {\n          descendants: true\n        }]\n      }],\n      backdropClass: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"]\n      }],\n      xPosition: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"]\n      }],\n      yPosition: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"]\n      }],\n      templateRef: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ViewChild\"],\n        args: [_angular_core__WEBPACK_IMPORTED_MODULE_3__[\"TemplateRef\"], {\n          static: false\n        }]\n      }],\n      items: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ContentChildren\"],\n        args: [MatMenuItem]\n      }],\n      lazyContent: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ContentChild\"],\n        args: [MatMenuContent, {\n          static: false\n        }]\n      }],\n      overlapTrigger: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"]\n      }],\n      hasBackdrop: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"]\n      }],\n      panelClass: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"],\n        args: ['class']\n      }],\n      classList: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"]\n      }],\n      closed: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Output\"]\n      }],\n      close: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Output\"]\n      }]\n    };\n    /**\n     * \\@docs-private We show the \"_MatMenu\" class as \"MatMenu\" in the docs.\n     */\n\n    var MatMenu =\n    /*#__PURE__*/\n    function (_MatMenuBase2) {\n      _inherits(MatMenu, _MatMenuBase2);\n\n      function MatMenu() {\n        _classCallCheck(this, MatMenu);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(MatMenu).apply(this, arguments));\n      }\n\n      return MatMenu;\n    }(_MatMenuBase); // Note on the weird inheritance setup: we need three classes, because the MDC-based menu has to\n    // extend `MatMenu`, however keeping a reference to it will cause the inlined template and styles\n    // to be retained as well. The MDC menu also has to provide itself as a `MatMenu` in order for\n    // queries and DI to work correctly, while still not referencing the actual menu class.\n    // Class responsibility is split up as follows:\n    // * _MatMenuBase - provides all the functionality without any of the Angular metadata.\n    // * MatMenu - keeps the same name symbol name as the current menu and\n    // is used as a provider for DI and query purposes.\n    // * _MatMenu - the actual menu component implementation with the Angular metadata that should\n    // be tree shaken away for MDC.\n\n    /**\n     * \\@docs-public MatMenu\n     */\n    // tslint:disable-next-line:class-name\n\n\n    var _MatMenu =\n    /*#__PURE__*/\n    function (_MatMenu2) {\n      _inherits(_MatMenu, _MatMenu2);\n\n      /**\n       * @param {?} elementRef\n       * @param {?} ngZone\n       * @param {?} defaultOptions\n       */\n      function _MatMenu(elementRef, ngZone, defaultOptions) {\n        _classCallCheck(this, _MatMenu);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(_MatMenu).call(this, elementRef, ngZone, defaultOptions));\n      }\n\n      return _MatMenu;\n    }(MatMenu);\n\n    _MatMenu.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Component\"],\n      args: [{\n        selector: 'mat-menu',\n        template: \"<ng-template><div class=\\\"mat-menu-panel\\\" [ngClass]=\\\"_classList\\\" (keydown)=\\\"_handleKeydown($event)\\\" (click)=\\\"closed.emit('click')\\\" [@transformMenu]=\\\"_panelAnimationState\\\" (@transformMenu.start)=\\\"_onAnimationStart($event)\\\" (@transformMenu.done)=\\\"_onAnimationDone($event)\\\" tabindex=\\\"-1\\\" role=\\\"menu\\\"><div class=\\\"mat-menu-content\\\"><ng-content></ng-content></div></div></ng-template>\",\n        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}.mat-menu-item[disabled]{pointer-events:none}@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}\"],\n        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ChangeDetectionStrategy\"].OnPush,\n        encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ViewEncapsulation\"].None,\n        exportAs: 'matMenu',\n        animations: [matMenuAnimations.transformMenu, matMenuAnimations.fadeInItems],\n        providers: [{\n          provide: MAT_MENU_PANEL,\n          useExisting: MatMenu\n        }, {\n          provide: MatMenu,\n          useExisting: _MatMenu\n        }]\n      }]\n    }];\n    /** @nocollapse */\n\n    _MatMenu.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ElementRef\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"NgZone\"]\n      }, {\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Inject\"],\n          args: [MAT_MENU_DEFAULT_OPTIONS]\n        }]\n      }];\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Injection token that determines the scroll handling while the menu is open.\n     * @type {?}\n     */\n\n\n    var MAT_MENU_SCROLL_STRATEGY = new _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"InjectionToken\"]('mat-menu-scroll-strategy');\n    /**\n     * \\@docs-private\n     * @param {?} overlay\n     * @return {?}\n     */\n\n    function MAT_MENU_SCROLL_STRATEGY_FACTORY(overlay) {\n      return (\n        /**\n        * @return {?}\n        */\n        function () {\n          return overlay.scrollStrategies.reposition();\n        }\n      );\n    }\n    /**\n     * \\@docs-private\n     * @type {?}\n     */\n\n\n    var MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER = {\n      provide: MAT_MENU_SCROLL_STRATEGY,\n      deps: [_angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_11__[\"Overlay\"]],\n      useFactory: MAT_MENU_SCROLL_STRATEGY_FACTORY\n    };\n    /**\n     * Default top padding of the menu panel.\n     * @type {?}\n     */\n\n    var MENU_PANEL_TOP_PADDING = 8;\n    /**\n     * Options for binding a passive event listener.\n     * @type {?}\n     */\n\n    var passiveEventListenerOptions = Object(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_12__[\"normalizePassiveListenerOptions\"])({\n      passive: true\n    }); // TODO(andrewseguin): Remove the kebab versions in favor of camelCased attribute selectors\n\n    /**\n     * This directive is intended to be used in conjunction with an mat-menu tag.  It is\n     * responsible for toggling the display of the provided menu instance.\n     */\n\n    var MatMenuTrigger =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _overlay\n       * @param {?} _element\n       * @param {?} _viewContainerRef\n       * @param {?} scrollStrategy\n       * @param {?} _parentMenu\n       * @param {?} _menuItemInstance\n       * @param {?} _dir\n       * @param {?=} _focusMonitor\n       */\n      function MatMenuTrigger(_overlay, _element, _viewContainerRef, scrollStrategy, _parentMenu, _menuItemInstance, _dir, _focusMonitor) {\n        var _this612 = this;\n\n        _classCallCheck(this, MatMenuTrigger);\n\n        this._overlay = _overlay;\n        this._element = _element;\n        this._viewContainerRef = _viewContainerRef;\n        this._parentMenu = _parentMenu;\n        this._menuItemInstance = _menuItemInstance;\n        this._dir = _dir;\n        this._focusMonitor = _focusMonitor;\n        this._overlayRef = null;\n        this._menuOpen = false;\n        this._closingActionsSubscription = rxjs__WEBPACK_IMPORTED_MODULE_4__[\"Subscription\"].EMPTY;\n        this._hoverSubscription = rxjs__WEBPACK_IMPORTED_MODULE_4__[\"Subscription\"].EMPTY;\n        this._menuCloseSubscription = rxjs__WEBPACK_IMPORTED_MODULE_4__[\"Subscription\"].EMPTY;\n        /**\n         * Handles touch start events on the trigger.\n         * Needs to be an arrow function so we can easily use addEventListener and removeEventListener.\n         */\n\n        this._handleTouchStart =\n        /**\n        * @return {?}\n        */\n        function () {\n          return _this612._openedBy = 'touch';\n        }; // Tracking input type is necessary so it's possible to only auto-focus\n        // the first item of the list when the menu is opened via the keyboard\n\n\n        this._openedBy = null;\n        /**\n         * Whether focus should be restored when the menu is closed.\n         * Note that disabling this option can have accessibility implications\n         * and it's up to you to manage focus, if you decide to turn it off.\n         */\n\n        this.restoreFocus = true;\n        /**\n         * Event emitted when the associated menu is opened.\n         */\n\n        this.menuOpened = new _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"EventEmitter\"]();\n        /**\n         * Event emitted when the associated menu is opened.\n         * @deprecated Switch to `menuOpened` instead\n         * \\@breaking-change 8.0.0\n         */\n        // tslint:disable-next-line:no-output-on-prefix\n\n        this.onMenuOpen = this.menuOpened;\n        /**\n         * Event emitted when the associated menu is closed.\n         */\n\n        this.menuClosed = new _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"EventEmitter\"]();\n        /**\n         * Event emitted when the associated menu is closed.\n         * @deprecated Switch to `menuClosed` instead\n         * \\@breaking-change 8.0.0\n         */\n        // tslint:disable-next-line:no-output-on-prefix\n\n        this.onMenuClose = this.menuClosed;\n\n        _element.nativeElement.addEventListener('touchstart', this._handleTouchStart, passiveEventListenerOptions);\n\n        if (_menuItemInstance) {\n          _menuItemInstance._triggersSubmenu = this.triggersSubmenu();\n        }\n\n        this._scrollStrategy = scrollStrategy;\n      }\n      /**\n       * @deprecated\n       * \\@breaking-change 8.0.0\n       * @return {?}\n       */\n\n\n      _createClass2(MatMenuTrigger, [{\n        key: \"ngAfterContentInit\",\n\n        /**\n         * @return {?}\n         */\n        value: function ngAfterContentInit() {\n          this._checkMenu();\n\n          this._handleHover();\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          if (this._overlayRef) {\n            this._overlayRef.dispose();\n\n            this._overlayRef = null;\n          }\n\n          this._element.nativeElement.removeEventListener('touchstart', this._handleTouchStart, passiveEventListenerOptions);\n\n          this._menuCloseSubscription.unsubscribe();\n\n          this._closingActionsSubscription.unsubscribe();\n\n          this._hoverSubscription.unsubscribe();\n        }\n        /**\n         * Whether the menu is open.\n         * @return {?}\n         */\n\n      }, {\n        key: \"triggersSubmenu\",\n\n        /**\n         * Whether the menu triggers a sub-menu or a top-level one.\n         * @return {?}\n         */\n        value: function triggersSubmenu() {\n          return !!(this._menuItemInstance && this._parentMenu);\n        }\n        /**\n         * Toggles the menu between the open and closed states.\n         * @return {?}\n         */\n\n      }, {\n        key: \"toggleMenu\",\n        value: function toggleMenu() {\n          return this._menuOpen ? this.closeMenu() : this.openMenu();\n        }\n        /**\n         * Opens the menu.\n         * @return {?}\n         */\n\n      }, {\n        key: \"openMenu\",\n        value: function openMenu() {\n          var _this613 = this;\n\n          if (this._menuOpen) {\n            return;\n          }\n\n          this._checkMenu();\n          /** @type {?} */\n\n\n          var overlayRef = this._createOverlay();\n          /** @type {?} */\n\n\n          var overlayConfig = overlayRef.getConfig();\n\n          this._setPosition(\n          /** @type {?} */\n          overlayConfig.positionStrategy);\n\n          overlayConfig.hasBackdrop = this.menu.hasBackdrop == null ? !this.triggersSubmenu() : this.menu.hasBackdrop;\n          overlayRef.attach(this._getPortal());\n\n          if (this.menu.lazyContent) {\n            this.menu.lazyContent.attach(this.menuData);\n          }\n\n          this._closingActionsSubscription = this._menuClosingActions().subscribe(\n          /**\n          * @return {?}\n          */\n          function () {\n            return _this613.closeMenu();\n          });\n\n          this._initMenu();\n\n          if (this.menu instanceof MatMenu) {\n            this.menu._startAnimation();\n          }\n        }\n        /**\n         * Closes the menu.\n         * @return {?}\n         */\n\n      }, {\n        key: \"closeMenu\",\n        value: function closeMenu() {\n          this.menu.close.emit();\n        }\n        /**\n         * Focuses the menu trigger.\n         * @param {?=} origin Source of the menu trigger's focus.\n         * @param {?=} options\n         * @return {?}\n         */\n\n      }, {\n        key: \"focus\",\n        value: function focus() {\n          var origin = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'program';\n          var options = arguments.length > 1 ? arguments[1] : undefined;\n\n          if (this._focusMonitor) {\n            this._focusMonitor.focusVia(this._element, origin, options);\n          } else {\n            this._element.nativeElement.focus(options);\n          }\n        }\n        /**\n         * Closes the menu and does the necessary cleanup.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_destroyMenu\",\n        value: function _destroyMenu() {\n          var _this614 = this;\n\n          if (!this._overlayRef || !this.menuOpen) {\n            return;\n          }\n          /** @type {?} */\n\n\n          var menu = this.menu;\n\n          this._closingActionsSubscription.unsubscribe();\n\n          this._overlayRef.detach();\n\n          if (menu instanceof MatMenu) {\n            menu._resetAnimation();\n\n            if (menu.lazyContent) {\n              // Wait for the exit animation to finish before detaching the content.\n              menu._animationDone.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__[\"filter\"])(\n              /**\n              * @param {?} event\n              * @return {?}\n              */\n              function (event) {\n                return event.toState === 'void';\n              }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__[\"take\"])(1), // Interrupt if the content got re-attached.\n              Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__[\"takeUntil\"])(menu.lazyContent._attached)).subscribe({\n                next:\n                /**\n                * @return {?}\n                */\n                function next() {\n                  return (\n                    /** @type {?} */\n                    menu.lazyContent.detach()\n                  );\n                },\n                // No matter whether the content got re-attached, reset the menu.\n                complete:\n                /**\n                * @return {?}\n                */\n                function complete() {\n                  return _this614._setIsMenuOpen(false);\n                }\n              });\n            } else {\n              this._setIsMenuOpen(false);\n            }\n          } else {\n            this._setIsMenuOpen(false);\n\n            if (menu.lazyContent) {\n              menu.lazyContent.detach();\n            }\n          }\n\n          this._restoreFocus();\n        }\n        /**\n         * This method sets the menu state to open and focuses the first item if\n         * the menu was opened via the keyboard.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_initMenu\",\n        value: function _initMenu() {\n          this.menu.parentMenu = this.triggersSubmenu() ? this._parentMenu : undefined;\n          this.menu.direction = this.dir;\n\n          this._setMenuElevation();\n\n          this._setIsMenuOpen(true);\n\n          this.menu.focusFirstItem(this._openedBy || 'program');\n        }\n        /**\n         * Updates the menu elevation based on the amount of parent menus that it has.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_setMenuElevation\",\n        value: function _setMenuElevation() {\n          if (this.menu.setElevation) {\n            /** @type {?} */\n            var depth = 0;\n            /** @type {?} */\n\n            var parentMenu = this.menu.parentMenu;\n\n            while (parentMenu) {\n              depth++;\n              parentMenu = parentMenu.parentMenu;\n            }\n\n            this.menu.setElevation(depth);\n          }\n        }\n        /**\n         * Restores focus to the element that was focused before the menu was open.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_restoreFocus\",\n        value: function _restoreFocus() {\n          // We should reset focus if the user is navigating using a keyboard or\n          // if we have a top-level trigger which might cause focus to be lost\n          // when clicking on the backdrop.\n          if (this.restoreFocus) {\n            if (!this._openedBy) {\n              // Note that the focus style will show up both for `program` and\n              // `keyboard` so we don't have to specify which one it is.\n              this.focus();\n            } else if (!this.triggersSubmenu()) {\n              this.focus(this._openedBy);\n            }\n          }\n\n          this._openedBy = null;\n        } // set state rather than toggle to support triggers sharing a menu\n\n        /**\n         * @private\n         * @param {?} isOpen\n         * @return {?}\n         */\n\n      }, {\n        key: \"_setIsMenuOpen\",\n        value: function _setIsMenuOpen(isOpen) {\n          this._menuOpen = isOpen;\n          this._menuOpen ? this.menuOpened.emit() : this.menuClosed.emit();\n\n          if (this.triggersSubmenu()) {\n            this._menuItemInstance._highlighted = isOpen;\n          }\n        }\n        /**\n         * This method checks that a valid instance of MatMenu has been passed into\n         * matMenuTriggerFor. If not, an exception is thrown.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_checkMenu\",\n        value: function _checkMenu() {\n          if (!this.menu) {\n            throwMatMenuMissingError();\n          }\n        }\n        /**\n         * This method creates the overlay from the provided menu's template and saves its\n         * OverlayRef so that it can be attached to the DOM when openMenu is called.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_createOverlay\",\n        value: function _createOverlay() {\n          if (!this._overlayRef) {\n            /** @type {?} */\n            var config = this._getOverlayConfig();\n\n            this._subscribeToPositions(\n            /** @type {?} */\n            config.positionStrategy);\n\n            this._overlayRef = this._overlay.create(config); // Consume the `keydownEvents` in order to prevent them from going to another overlay.\n            // Ideally we'd also have our keyboard event logic in here, however doing so will\n            // break anybody that may have implemented the `MatMenuPanel` themselves.\n\n            this._overlayRef.keydownEvents().subscribe();\n          }\n\n          return this._overlayRef;\n        }\n        /**\n         * This method builds the configuration object needed to create the overlay, the OverlayState.\n         * @private\n         * @return {?} OverlayConfig\n         */\n\n      }, {\n        key: \"_getOverlayConfig\",\n        value: function _getOverlayConfig() {\n          return new _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_11__[\"OverlayConfig\"]({\n            positionStrategy: this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withTransformOriginOn('.mat-menu-panel, .mat-mdc-menu-panel'),\n            backdropClass: this.menu.backdropClass || 'cdk-overlay-transparent-backdrop',\n            scrollStrategy: this._scrollStrategy(),\n            direction: this._dir\n          });\n        }\n        /**\n         * Listens to changes in the position of the overlay and sets the correct classes\n         * on the menu based on the new position. This ensures the animation origin is always\n         * correct, even if a fallback position is used for the overlay.\n         * @private\n         * @param {?} position\n         * @return {?}\n         */\n\n      }, {\n        key: \"_subscribeToPositions\",\n        value: function _subscribeToPositions(position) {\n          var _this615 = this;\n\n          if (this.menu.setPositionClasses) {\n            position.positionChanges.subscribe(\n            /**\n            * @param {?} change\n            * @return {?}\n            */\n            function (change) {\n              /** @type {?} */\n              var posX = change.connectionPair.overlayX === 'start' ? 'after' : 'before';\n              /** @type {?} */\n\n              var posY = change.connectionPair.overlayY === 'top' ? 'below' : 'above';\n\n              /** @type {?} */\n              _this615.menu.setPositionClasses(posX, posY);\n            });\n          }\n        }\n        /**\n         * Sets the appropriate positions on a position strategy\n         * so the overlay connects with the trigger correctly.\n         * @private\n         * @param {?} positionStrategy Strategy whose position to update.\n         * @return {?}\n         */\n\n      }, {\n        key: \"_setPosition\",\n        value: function _setPosition(positionStrategy) {\n          var _ref71 = this.menu.xPosition === 'before' ? ['end', 'start'] : ['start', 'end'],\n              _ref72 = _slicedToArray(_ref71, 2),\n              originX = _ref72[0],\n              originFallbackX = _ref72[1];\n\n          var _ref73 = this.menu.yPosition === 'above' ? ['bottom', 'top'] : ['top', 'bottom'],\n              _ref74 = _slicedToArray(_ref73, 2),\n              overlayY = _ref74[0],\n              overlayFallbackY = _ref74[1];\n\n          var originY = overlayY,\n              originFallbackY = overlayFallbackY;\n          var overlayX = originX,\n              overlayFallbackX = originFallbackX;\n          /** @type {?} */\n\n          var offsetY = 0;\n\n          if (this.triggersSubmenu()) {\n            // When the menu is a sub-menu, it should always align itself\n            // to the edges of the trigger, instead of overlapping it.\n            overlayFallbackX = originX = this.menu.xPosition === 'before' ? 'start' : 'end';\n            originFallbackX = overlayX = originX === 'end' ? 'start' : 'end';\n            offsetY = overlayY === 'bottom' ? MENU_PANEL_TOP_PADDING : -MENU_PANEL_TOP_PADDING;\n          } else if (!this.menu.overlapTrigger) {\n            originY = overlayY === 'top' ? 'bottom' : 'top';\n            originFallbackY = overlayFallbackY === 'top' ? 'bottom' : 'top';\n          }\n\n          positionStrategy.withPositions([{\n            originX: originX,\n            originY: originY,\n            overlayX: overlayX,\n            overlayY: overlayY,\n            offsetY: offsetY\n          }, {\n            originX: originFallbackX,\n            originY: originY,\n            overlayX: overlayFallbackX,\n            overlayY: overlayY,\n            offsetY: offsetY\n          }, {\n            originX: originX,\n            originY: originFallbackY,\n            overlayX: overlayX,\n            overlayY: overlayFallbackY,\n            offsetY: -offsetY\n          }, {\n            originX: originFallbackX,\n            originY: originFallbackY,\n            overlayX: overlayFallbackX,\n            overlayY: overlayFallbackY,\n            offsetY: -offsetY\n          }]);\n        }\n        /**\n         * Returns a stream that emits whenever an action that should close the menu occurs.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_menuClosingActions\",\n        value: function _menuClosingActions() {\n          var _this616 = this;\n\n          /** @type {?} */\n          var backdrop =\n          /** @type {?} */\n          this._overlayRef.backdropClick();\n          /** @type {?} */\n\n\n          var detachments =\n          /** @type {?} */\n          this._overlayRef.detachments();\n          /** @type {?} */\n\n\n          var parentClose = this._parentMenu ? this._parentMenu.closed : Object(rxjs__WEBPACK_IMPORTED_MODULE_4__[\"of\"])();\n          /** @type {?} */\n\n          var hover = this._parentMenu ? this._parentMenu._hovered().pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__[\"filter\"])(\n          /**\n          * @param {?} active\n          * @return {?}\n          */\n          function (active) {\n            return active !== _this616._menuItemInstance;\n          }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__[\"filter\"])(\n          /**\n          * @return {?}\n          */\n          function () {\n            return _this616._menuOpen;\n          })) : Object(rxjs__WEBPACK_IMPORTED_MODULE_4__[\"of\"])();\n          return Object(rxjs__WEBPACK_IMPORTED_MODULE_4__[\"merge\"])(backdrop, parentClose, hover, detachments);\n        }\n        /**\n         * Handles mouse presses on the trigger.\n         * @param {?} event\n         * @return {?}\n         */\n\n      }, {\n        key: \"_handleMousedown\",\n        value: function _handleMousedown(event) {\n          if (!Object(_angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_5__[\"isFakeMousedownFromScreenReader\"])(event)) {\n            // Since right or middle button clicks won't trigger the `click` event,\n            // we shouldn't consider the menu as opened by mouse in those cases.\n            this._openedBy = event.button === 0 ? 'mouse' : null; // Since clicking on the trigger won't close the menu if it opens a sub-menu,\n            // we should prevent focus from moving onto it via click to avoid the\n            // highlight from lingering on the menu item.\n\n            if (this.triggersSubmenu()) {\n              event.preventDefault();\n            }\n          }\n        }\n        /**\n         * Handles key presses on the trigger.\n         * @param {?} event\n         * @return {?}\n         */\n\n      }, {\n        key: \"_handleKeydown\",\n        value: function _handleKeydown(event) {\n          /** @type {?} */\n          var keyCode = event.keyCode;\n\n          if (this.triggersSubmenu() && (keyCode === _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_8__[\"RIGHT_ARROW\"] && this.dir === 'ltr' || keyCode === _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_8__[\"LEFT_ARROW\"] && this.dir === 'rtl')) {\n            this.openMenu();\n          }\n        }\n        /**\n         * Handles click events on the trigger.\n         * @param {?} event\n         * @return {?}\n         */\n\n      }, {\n        key: \"_handleClick\",\n        value: function _handleClick(event) {\n          if (this.triggersSubmenu()) {\n            // Stop event propagation to avoid closing the parent menu.\n            event.stopPropagation();\n            this.openMenu();\n          } else {\n            this.toggleMenu();\n          }\n        }\n        /**\n         * Handles the cases where the user hovers over the trigger.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_handleHover\",\n        value: function _handleHover() {\n          var _this617 = this;\n\n          // Subscribe to changes in the hovered item in order to toggle the panel.\n          if (!this.triggersSubmenu()) {\n            return;\n          }\n\n          this._hoverSubscription = this._parentMenu._hovered() // Since we might have multiple competing triggers for the same menu (e.g. a sub-menu\n          // with different data and triggers), we have to delay it by a tick to ensure that\n          // it won't be closed immediately after it is opened.\n          .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__[\"filter\"])(\n          /**\n          * @param {?} active\n          * @return {?}\n          */\n          function (active) {\n            return active === _this617._menuItemInstance && !active.disabled;\n          }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__[\"delay\"])(0, rxjs__WEBPACK_IMPORTED_MODULE_4__[\"asapScheduler\"])).subscribe(\n          /**\n          * @return {?}\n          */\n          function () {\n            _this617._openedBy = 'mouse'; // If the same menu is used between multiple triggers, it might still be animating\n            // while the new trigger tries to re-open it. Wait for the animation to finish\n            // before doing so. Also interrupt if the user moves to another item.\n\n            if (_this617.menu instanceof MatMenu && _this617.menu._isAnimating) {\n              // We need the `delay(0)` here in order to avoid\n              // 'changed after checked' errors in some cases. See #12194.\n              _this617.menu._animationDone.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__[\"take\"])(1), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__[\"delay\"])(0, rxjs__WEBPACK_IMPORTED_MODULE_4__[\"asapScheduler\"]), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__[\"takeUntil\"])(_this617._parentMenu._hovered())).subscribe(\n              /**\n              * @return {?}\n              */\n              function () {\n                return _this617.openMenu();\n              });\n            } else {\n              _this617.openMenu();\n            }\n          });\n        }\n        /**\n         * Gets the portal that should be attached to the overlay.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_getPortal\",\n        value: function _getPortal() {\n          // Note that we can avoid this check by keeping the portal on the menu panel.\n          // While it would be cleaner, we'd have to introduce another required method on\n          // `MatMenuPanel`, making it harder to consume.\n          if (!this._portal || this._portal.templateRef !== this.menu.templateRef) {\n            this._portal = new _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_1__[\"TemplatePortal\"](this.menu.templateRef, this._viewContainerRef);\n          }\n\n          return this._portal;\n        }\n      }, {\n        key: \"_deprecatedMatMenuTriggerFor\",\n        get: function get() {\n          return this.menu;\n        }\n        /**\n         * @param {?} v\n         * @return {?}\n         */\n        ,\n        set: function set(v) {\n          this.menu = v;\n        }\n        /**\n         * References the menu instance that the trigger is associated with.\n         * @return {?}\n         */\n\n      }, {\n        key: \"menu\",\n        get: function get() {\n          return this._menu;\n        }\n        /**\n         * @param {?} menu\n         * @return {?}\n         */\n        ,\n        set: function set(menu) {\n          var _this618 = this;\n\n          if (menu === this._menu) {\n            return;\n          }\n\n          this._menu = menu;\n\n          this._menuCloseSubscription.unsubscribe();\n\n          if (menu) {\n            this._menuCloseSubscription = menu.close.asObservable().subscribe(\n            /**\n            * @param {?} reason\n            * @return {?}\n            */\n            function (reason) {\n              _this618._destroyMenu(); // If a click closed the menu, we should close the entire chain of nested menus.\n\n\n              if ((reason === 'click' || reason === 'tab') && _this618._parentMenu) {\n                _this618._parentMenu.closed.emit(reason);\n              }\n            });\n          }\n        }\n      }, {\n        key: \"menuOpen\",\n        get: function get() {\n          return this._menuOpen;\n        }\n        /**\n         * The text direction of the containing app.\n         * @return {?}\n         */\n\n      }, {\n        key: \"dir\",\n        get: function get() {\n          return this._dir && this._dir.value === 'rtl' ? 'rtl' : 'ltr';\n        }\n      }]);\n\n      return MatMenuTrigger;\n    }();\n\n    MatMenuTrigger.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Directive\"],\n      args: [{\n        selector: \"[mat-menu-trigger-for], [matMenuTriggerFor]\",\n        host: {\n          'class': 'mat-menu-trigger',\n          'aria-haspopup': 'true',\n          '[attr.aria-expanded]': 'menuOpen || null',\n          '(mousedown)': '_handleMousedown($event)',\n          '(keydown)': '_handleKeydown($event)',\n          '(click)': '_handleClick($event)'\n        },\n        exportAs: 'matMenuTrigger'\n      }]\n    }];\n    /** @nocollapse */\n\n    MatMenuTrigger.ctorParameters = function () {\n      return [{\n        type: _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_11__[\"Overlay\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ElementRef\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ViewContainerRef\"]\n      }, {\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Inject\"],\n          args: [MAT_MENU_SCROLL_STRATEGY]\n        }]\n      }, {\n        type: MatMenu,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Optional\"]\n        }]\n      }, {\n        type: MatMenuItem,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Self\"]\n        }]\n      }, {\n        type: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_10__[\"Directionality\"],\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Optional\"]\n        }]\n      }, {\n        type: _angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_5__[\"FocusMonitor\"]\n      }];\n    };\n\n    MatMenuTrigger.propDecorators = {\n      _deprecatedMatMenuTriggerFor: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"],\n        args: ['mat-menu-trigger-for']\n      }],\n      menu: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"],\n        args: ['matMenuTriggerFor']\n      }],\n      menuData: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"],\n        args: ['matMenuTriggerData']\n      }],\n      restoreFocus: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"],\n        args: ['matMenuTriggerRestoreFocus']\n      }],\n      menuOpened: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Output\"]\n      }],\n      onMenuOpen: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Output\"]\n      }],\n      menuClosed: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Output\"]\n      }],\n      onMenuClose: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Output\"]\n      }]\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Used by both the current `MatMenuModule` and the MDC `MatMenuModule`\n     * to declare the menu-related directives.\n     */\n    // tslint:disable-next-line:class-name\n\n    var _MatMenuDirectivesModule = function _MatMenuDirectivesModule() {\n      _classCallCheck(this, _MatMenuDirectivesModule);\n    };\n\n    _MatMenuDirectivesModule.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"NgModule\"],\n      args: [{\n        exports: [MatMenuTrigger, MatMenuContent, _angular_material_core__WEBPACK_IMPORTED_MODULE_6__[\"MatCommonModule\"]],\n        declarations: [MatMenuTrigger, MatMenuContent],\n        providers: [MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER]\n      }]\n    }];\n\n    var MatMenuModule = function MatMenuModule() {\n      _classCallCheck(this, MatMenuModule);\n    };\n\n    MatMenuModule.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"NgModule\"],\n      args: [{\n        imports: [_angular_common__WEBPACK_IMPORTED_MODULE_2__[\"CommonModule\"], _angular_material_core__WEBPACK_IMPORTED_MODULE_6__[\"MatCommonModule\"], _angular_material_core__WEBPACK_IMPORTED_MODULE_6__[\"MatRippleModule\"], _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_11__[\"OverlayModule\"], _MatMenuDirectivesModule],\n        exports: [_MatMenu, MatMenuItem, _MatMenuDirectivesModule],\n        declarations: [_MatMenu, MatMenuItem],\n        providers: [MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER]\n      }]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /***/\n  },\n\n  /***/\n  \"./node_modules/@angular/material/esm2015/radio.js\":\n  /*!*********************************************************!*\\\n    !*** ./node_modules/@angular/material/esm2015/radio.js ***!\n    \\*********************************************************/\n\n  /*! exports provided: MatRadioModule, MAT_RADIO_DEFAULT_OPTIONS_FACTORY, MAT_RADIO_DEFAULT_OPTIONS, MAT_RADIO_GROUP_CONTROL_VALUE_ACCESSOR, MatRadioChange, MatRadioGroup, MatRadioButton */\n\n  /***/\n  function node_modulesAngularMaterialEsm2015RadioJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MatRadioModule\", function () {\n      return MatRadioModule;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MAT_RADIO_DEFAULT_OPTIONS_FACTORY\", function () {\n      return MAT_RADIO_DEFAULT_OPTIONS_FACTORY;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MAT_RADIO_DEFAULT_OPTIONS\", function () {\n      return MAT_RADIO_DEFAULT_OPTIONS;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MAT_RADIO_GROUP_CONTROL_VALUE_ACCESSOR\", function () {\n      return MAT_RADIO_GROUP_CONTROL_VALUE_ACCESSOR;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MatRadioChange\", function () {\n      return MatRadioChange;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MatRadioGroup\", function () {\n      return MatRadioGroup;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MatRadioButton\", function () {\n      return MatRadioButton;\n    });\n    /* harmony import */\n\n\n    var _angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! @angular/cdk/a11y */\n    \"./node_modules/@angular/cdk/esm2015/a11y.js\");\n    /* harmony import */\n\n\n    var _angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/cdk/coercion */\n    \"./node_modules/@angular/cdk/esm2015/coercion.js\");\n    /* harmony import */\n\n\n    var _angular_cdk_collections__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! @angular/cdk/collections */\n    \"./node_modules/@angular/cdk/esm2015/collections.js\");\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var _angular_forms__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! @angular/forms */\n    \"./node_modules/@angular/forms/fesm2015/forms.js\");\n    /* harmony import */\n\n\n    var _angular_material_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\n    /*! @angular/material/core */\n    \"./node_modules/@angular/material/esm2015/core.js\");\n    /* harmony import */\n\n\n    var _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(\n    /*! @angular/platform-browser/animations */\n    \"./node_modules/@angular/platform-browser/fesm2015/animations.js\");\n    /* harmony import */\n\n\n    var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(\n    /*! @angular/common */\n    \"./node_modules/@angular/common/fesm2015/common.js\");\n    /**\n     * @license\n     * Copyright Google LLC All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var MAT_RADIO_DEFAULT_OPTIONS = new _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"InjectionToken\"]('mat-radio-default-options', {\n      providedIn: 'root',\n      factory: MAT_RADIO_DEFAULT_OPTIONS_FACTORY\n    });\n    /**\n     * @return {?}\n     */\n\n    function MAT_RADIO_DEFAULT_OPTIONS_FACTORY() {\n      return {\n        color: 'accent'\n      };\n    } // Increasing integer for generating unique ids for radio components.\n\n    /** @type {?} */\n\n\n    var nextUniqueId = 0;\n    /**\n     * Provider Expression that allows mat-radio-group to register as a ControlValueAccessor. This\n     * allows it to support [(ngModel)] and ngControl.\n     * \\@docs-private\n     * @type {?}\n     */\n\n    var MAT_RADIO_GROUP_CONTROL_VALUE_ACCESSOR = {\n      provide: _angular_forms__WEBPACK_IMPORTED_MODULE_4__[\"NG_VALUE_ACCESSOR\"],\n      useExisting: Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__[\"forwardRef\"])(\n      /**\n      * @return {?}\n      */\n      function () {\n        return MatRadioGroup;\n      }),\n      multi: true\n    };\n    /**\n     * Change event object emitted by MatRadio and MatRadioGroup.\n     */\n\n    var MatRadioChange =\n    /**\n     * @param {?} source\n     * @param {?} value\n     */\n    function MatRadioChange(source, value) {\n      _classCallCheck(this, MatRadioChange);\n\n      this.source = source;\n      this.value = value;\n    };\n    /**\n     * A group of radio buttons. May contain one or more `<mat-radio-button>` elements.\n     */\n\n\n    var MatRadioGroup =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _changeDetector\n       */\n      function MatRadioGroup(_changeDetector) {\n        _classCallCheck(this, MatRadioGroup);\n\n        this._changeDetector = _changeDetector;\n        /**\n         * Selected value for the radio group.\n         */\n\n        this._value = null;\n        /**\n         * The HTML name attribute applied to radio buttons in this group.\n         */\n\n        this._name = \"mat-radio-group-\".concat(nextUniqueId++);\n        /**\n         * The currently selected radio button. Should match value.\n         */\n\n        this._selected = null;\n        /**\n         * Whether the `value` has been set to its initial value.\n         */\n\n        this._isInitialized = false;\n        /**\n         * Whether the labels should appear after or before the radio-buttons. Defaults to 'after'\n         */\n\n        this._labelPosition = 'after';\n        /**\n         * Whether the radio group is disabled.\n         */\n\n        this._disabled = false;\n        /**\n         * Whether the radio group is required.\n         */\n\n        this._required = false;\n        /**\n         * The method to be called in order to update ngModel\n         */\n\n        this._controlValueAccessorChangeFn =\n        /**\n        * @return {?}\n        */\n        function () {};\n        /**\n         * onTouch function registered via registerOnTouch (ControlValueAccessor).\n         * \\@docs-private\n         */\n\n\n        this.onTouched =\n        /**\n        * @return {?}\n        */\n        function () {};\n        /**\n         * Event emitted when the group value changes.\n         * Change events are only emitted when the value changes due to user interaction with\n         * a radio button (the same behavior as `<input type-\"radio\">`).\n         */\n\n\n        this.change = new _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"EventEmitter\"]();\n      }\n      /**\n       * Name of the radio button group. All radio buttons inside this group will use this name.\n       * @return {?}\n       */\n\n\n      _createClass2(MatRadioGroup, [{\n        key: \"_checkSelectedRadioButton\",\n\n        /**\n         * @return {?}\n         */\n        value: function _checkSelectedRadioButton() {\n          if (this._selected && !this._selected.checked) {\n            this._selected.checked = true;\n          }\n        }\n        /**\n         * The currently selected radio button. If set to a new radio button, the radio group value\n         * will be updated to match the new selected button.\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngAfterContentInit\",\n\n        /**\n         * Initialize properties once content children are available.\n         * This allows us to propagate relevant attributes to associated buttons.\n         * @return {?}\n         */\n        value: function ngAfterContentInit() {\n          // Mark this component as initialized in AfterContentInit because the initial value can\n          // possibly be set by NgModel on MatRadioGroup, and it is possible that the OnInit of the\n          // NgModel occurs *after* the OnInit of the MatRadioGroup.\n          this._isInitialized = true;\n        }\n        /**\n         * Mark this group as being \"touched\" (for ngModel). Meant to be called by the contained\n         * radio buttons upon their blur.\n         * @return {?}\n         */\n\n      }, {\n        key: \"_touch\",\n        value: function _touch() {\n          if (this.onTouched) {\n            this.onTouched();\n          }\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_updateRadioButtonNames\",\n        value: function _updateRadioButtonNames() {\n          var _this619 = this;\n\n          if (this._radios) {\n            this._radios.forEach(\n            /**\n            * @param {?} radio\n            * @return {?}\n            */\n            function (radio) {\n              radio.name = _this619.name;\n\n              radio._markForCheck();\n            });\n          }\n        }\n        /**\n         * Updates the `selected` radio button from the internal _value state.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_updateSelectedRadioFromValue\",\n        value: function _updateSelectedRadioFromValue() {\n          var _this620 = this;\n\n          // If the value already matches the selected radio, do nothing.\n\n          /** @type {?} */\n          var isAlreadySelected = this._selected !== null && this._selected.value === this._value;\n\n          if (this._radios && !isAlreadySelected) {\n            this._selected = null;\n\n            this._radios.forEach(\n            /**\n            * @param {?} radio\n            * @return {?}\n            */\n            function (radio) {\n              radio.checked = _this620.value === radio.value;\n\n              if (radio.checked) {\n                _this620._selected = radio;\n              }\n            });\n          }\n        }\n        /**\n         * Dispatch change event with current selection and group value.\n         * @return {?}\n         */\n\n      }, {\n        key: \"_emitChangeEvent\",\n        value: function _emitChangeEvent() {\n          if (this._isInitialized) {\n            this.change.emit(new MatRadioChange(\n            /** @type {?} */\n            this._selected, this._value));\n          }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"_markRadiosForCheck\",\n        value: function _markRadiosForCheck() {\n          if (this._radios) {\n            this._radios.forEach(\n            /**\n            * @param {?} radio\n            * @return {?}\n            */\n            function (radio) {\n              return radio._markForCheck();\n            });\n          }\n        }\n        /**\n         * Sets the model value. Implemented as part of ControlValueAccessor.\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"writeValue\",\n        value: function writeValue(value) {\n          this.value = value;\n\n          this._changeDetector.markForCheck();\n        }\n        /**\n         * Registers a callback to be triggered when the model value changes.\n         * Implemented as part of ControlValueAccessor.\n         * @param {?} fn Callback to be registered.\n         * @return {?}\n         */\n\n      }, {\n        key: \"registerOnChange\",\n        value: function registerOnChange(fn) {\n          this._controlValueAccessorChangeFn = fn;\n        }\n        /**\n         * Registers a callback to be triggered when the control is touched.\n         * Implemented as part of ControlValueAccessor.\n         * @param {?} fn Callback to be registered.\n         * @return {?}\n         */\n\n      }, {\n        key: \"registerOnTouched\",\n        value: function registerOnTouched(fn) {\n          this.onTouched = fn;\n        }\n        /**\n         * Sets the disabled state of the control. Implemented as a part of ControlValueAccessor.\n         * @param {?} isDisabled Whether the control should be disabled.\n         * @return {?}\n         */\n\n      }, {\n        key: \"setDisabledState\",\n        value: function setDisabledState(isDisabled) {\n          this.disabled = isDisabled;\n\n          this._changeDetector.markForCheck();\n        }\n      }, {\n        key: \"name\",\n        get: function get() {\n          return this._name;\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n        ,\n        set: function set(value) {\n          this._name = value;\n\n          this._updateRadioButtonNames();\n        }\n        /**\n         * Whether the labels should appear after or before the radio-buttons. Defaults to 'after'\n         * @return {?}\n         */\n\n      }, {\n        key: \"labelPosition\",\n        get: function get() {\n          return this._labelPosition;\n        }\n        /**\n         * @param {?} v\n         * @return {?}\n         */\n        ,\n        set: function set(v) {\n          this._labelPosition = v === 'before' ? 'before' : 'after';\n\n          this._markRadiosForCheck();\n        }\n        /**\n         * Value for the radio-group. Should equal the value of the selected radio button if there is\n         * a corresponding radio button with a matching value. If there is not such a corresponding\n         * radio button, this value persists to be applied in case a new radio button is added with a\n         * matching value.\n         * @return {?}\n         */\n\n      }, {\n        key: \"value\",\n        get: function get() {\n          return this._value;\n        }\n        /**\n         * @param {?} newValue\n         * @return {?}\n         */\n        ,\n        set: function set(newValue) {\n          if (this._value !== newValue) {\n            // Set this before proceeding to ensure no circular loop occurs with selection.\n            this._value = newValue;\n\n            this._updateSelectedRadioFromValue();\n\n            this._checkSelectedRadioButton();\n          }\n        }\n      }, {\n        key: \"selected\",\n        get: function get() {\n          return this._selected;\n        }\n        /**\n         * @param {?} selected\n         * @return {?}\n         */\n        ,\n        set: function set(selected) {\n          this._selected = selected;\n          this.value = selected ? selected.value : null;\n\n          this._checkSelectedRadioButton();\n        }\n        /**\n         * Whether the radio group is disabled\n         * @return {?}\n         */\n\n      }, {\n        key: \"disabled\",\n        get: function get() {\n          return this._disabled;\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n        ,\n        set: function set(value) {\n          this._disabled = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_1__[\"coerceBooleanProperty\"])(value);\n\n          this._markRadiosForCheck();\n        }\n        /**\n         * Whether the radio group is required\n         * @return {?}\n         */\n\n      }, {\n        key: \"required\",\n        get: function get() {\n          return this._required;\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n        ,\n        set: function set(value) {\n          this._required = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_1__[\"coerceBooleanProperty\"])(value);\n\n          this._markRadiosForCheck();\n        }\n      }]);\n\n      return MatRadioGroup;\n    }();\n\n    MatRadioGroup.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Directive\"],\n      args: [{\n        selector: 'mat-radio-group',\n        exportAs: 'matRadioGroup',\n        providers: [MAT_RADIO_GROUP_CONTROL_VALUE_ACCESSOR],\n        host: {\n          'role': 'radiogroup',\n          'class': 'mat-radio-group'\n        }\n      }]\n    }];\n    /** @nocollapse */\n\n    MatRadioGroup.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ChangeDetectorRef\"]\n      }];\n    };\n\n    MatRadioGroup.propDecorators = {\n      change: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Output\"]\n      }],\n      _radios: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ContentChildren\"],\n        args: [Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__[\"forwardRef\"])(\n        /**\n        * @return {?}\n        */\n        function () {\n          return MatRadioButton;\n        }), {\n          descendants: true\n        }]\n      }],\n      color: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"]\n      }],\n      name: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"]\n      }],\n      labelPosition: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"]\n      }],\n      value: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"]\n      }],\n      selected: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"]\n      }],\n      disabled: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"]\n      }],\n      required: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"]\n      }]\n    }; // Boilerplate for applying mixins to MatRadioButton.\n\n    /**\n     * \\@docs-private\n     */\n\n    var MatRadioButtonBase =\n    /**\n     * @param {?} _elementRef\n     */\n    function MatRadioButtonBase(_elementRef) {\n      _classCallCheck(this, MatRadioButtonBase);\n\n      this._elementRef = _elementRef;\n    }; // As per Material design specifications the selection control radio should use the accent color\n    // palette by default. https://material.io/guidelines/components/selection-controls.html\n\n    /** @type {?} */\n\n\n    var _MatRadioButtonMixinBase = Object(_angular_material_core__WEBPACK_IMPORTED_MODULE_5__[\"mixinDisableRipple\"])(Object(_angular_material_core__WEBPACK_IMPORTED_MODULE_5__[\"mixinTabIndex\"])(MatRadioButtonBase));\n    /**\n     * A Material design radio-button. Typically placed inside of `<mat-radio-group>` elements.\n     */\n\n\n    var MatRadioButton =\n    /*#__PURE__*/\n    function (_MatRadioButtonMixinB) {\n      _inherits(MatRadioButton, _MatRadioButtonMixinB);\n\n      /**\n       * @param {?} radioGroup\n       * @param {?} elementRef\n       * @param {?} _changeDetector\n       * @param {?} _focusMonitor\n       * @param {?} _radioDispatcher\n       * @param {?=} _animationMode\n       * @param {?=} _providerOverride\n       */\n      function MatRadioButton(radioGroup, elementRef, _changeDetector, _focusMonitor, _radioDispatcher, _animationMode, _providerOverride) {\n        var _this621;\n\n        _classCallCheck(this, MatRadioButton);\n\n        _this621 = _possibleConstructorReturn(this, _getPrototypeOf(MatRadioButton).call(this, elementRef));\n        _this621._changeDetector = _changeDetector;\n        _this621._focusMonitor = _focusMonitor;\n        _this621._radioDispatcher = _radioDispatcher;\n        _this621._animationMode = _animationMode;\n        _this621._providerOverride = _providerOverride;\n        _this621._uniqueId = \"mat-radio-\".concat(++nextUniqueId);\n        /**\n         * The unique ID for the radio button.\n         */\n\n        _this621.id = _this621._uniqueId;\n        /**\n         * Event emitted when the checked state of this radio button changes.\n         * Change events are only emitted when the value changes due to user interaction with\n         * the radio button (the same behavior as `<input type-\"radio\">`).\n         */\n\n        _this621.change = new _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"EventEmitter\"]();\n        /**\n         * Whether this radio is checked.\n         */\n\n        _this621._checked = false;\n        /**\n         * Value assigned to this radio.\n         */\n\n        _this621._value = null;\n        /**\n         * Unregister function for _radioDispatcher\n         */\n\n        _this621._removeUniqueSelectionListener =\n        /**\n        * @return {?}\n        */\n        function () {}; // Assertions. Ideally these should be stripped out by the compiler.\n        // TODO(jelbourn): Assert that there's no name binding AND a parent radio group.\n\n\n        _this621.radioGroup = radioGroup;\n        _this621._removeUniqueSelectionListener = _radioDispatcher.listen(\n        /**\n        * @param {?} id\n        * @param {?} name\n        * @return {?}\n        */\n        function (id, name) {\n          if (id !== _this621.id && name === _this621.name) {\n            _this621.checked = false;\n          }\n        });\n        return _this621;\n      }\n      /**\n       * Whether this radio button is checked.\n       * @return {?}\n       */\n\n\n      _createClass2(MatRadioButton, [{\n        key: \"focus\",\n\n        /**\n         * Focuses the radio button.\n         * @param {?=} options\n         * @return {?}\n         */\n        value: function focus(options) {\n          this._focusMonitor.focusVia(this._inputElement, 'keyboard', options);\n        }\n        /**\n         * Marks the radio button as needing checking for change detection.\n         * This method is exposed because the parent radio group will directly\n         * update bound properties of the radio button.\n         * @return {?}\n         */\n\n      }, {\n        key: \"_markForCheck\",\n        value: function _markForCheck() {\n          // When group value changes, the button will not be notified. Use `markForCheck` to explicit\n          // update radio button's status\n          this._changeDetector.markForCheck();\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngOnInit\",\n        value: function ngOnInit() {\n          if (this.radioGroup) {\n            // If the radio is inside a radio group, determine if it should be checked\n            this.checked = this.radioGroup.value === this._value; // Copy name from parent radio group\n\n            this.name = this.radioGroup.name;\n          }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngAfterViewInit\",\n        value: function ngAfterViewInit() {\n          var _this622 = this;\n\n          this._focusMonitor.monitor(this._elementRef, true).subscribe(\n          /**\n          * @param {?} focusOrigin\n          * @return {?}\n          */\n          function (focusOrigin) {\n            if (!focusOrigin && _this622.radioGroup) {\n              _this622.radioGroup._touch();\n            }\n          });\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          this._focusMonitor.stopMonitoring(this._elementRef);\n\n          this._removeUniqueSelectionListener();\n        }\n        /**\n         * Dispatch change event with current value.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_emitChangeEvent\",\n        value: function _emitChangeEvent() {\n          this.change.emit(new MatRadioChange(this, this._value));\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"_isRippleDisabled\",\n        value: function _isRippleDisabled() {\n          return this.disableRipple || this.disabled;\n        }\n        /**\n         * @param {?} event\n         * @return {?}\n         */\n\n      }, {\n        key: \"_onInputClick\",\n        value: function _onInputClick(event) {\n          // We have to stop propagation for click events on the visual hidden input element.\n          // By default, when a user clicks on a label element, a generated click event will be\n          // dispatched on the associated input element. Since we are using a label element as our\n          // root container, the click event on the `radio-button` will be executed twice.\n          // The real click event will bubble up, and the generated click event also tries to bubble up.\n          // This will lead to multiple click events.\n          // Preventing bubbling for the second event will solve that issue.\n          event.stopPropagation();\n        }\n        /**\n         * Triggered when the radio button received a click or the input recognized any change.\n         * Clicking on a label element, will trigger a change event on the associated input.\n         * @param {?} event\n         * @return {?}\n         */\n\n      }, {\n        key: \"_onInputChange\",\n        value: function _onInputChange(event) {\n          // We always have to stop propagation on the change event.\n          // Otherwise the change event, from the input element, will bubble up and\n          // emit its event object to the `change` output.\n          event.stopPropagation();\n          /** @type {?} */\n\n          var groupValueChanged = this.radioGroup && this.value !== this.radioGroup.value;\n          this.checked = true;\n\n          this._emitChangeEvent();\n\n          if (this.radioGroup) {\n            this.radioGroup._controlValueAccessorChangeFn(this.value);\n\n            if (groupValueChanged) {\n              this.radioGroup._emitChangeEvent();\n            }\n          }\n        }\n      }, {\n        key: \"checked\",\n        get: function get() {\n          return this._checked;\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n        ,\n        set: function set(value) {\n          /** @type {?} */\n          var newCheckedState = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_1__[\"coerceBooleanProperty\"])(value);\n\n          if (this._checked !== newCheckedState) {\n            this._checked = newCheckedState;\n\n            if (newCheckedState && this.radioGroup && this.radioGroup.value !== this.value) {\n              this.radioGroup.selected = this;\n            } else if (!newCheckedState && this.radioGroup && this.radioGroup.value === this.value) {\n              // When unchecking the selected radio button, update the selected radio\n              // property on the group.\n              this.radioGroup.selected = null;\n            }\n\n            if (newCheckedState) {\n              // Notify all radio buttons with the same name to un-check.\n              this._radioDispatcher.notify(this.id, this.name);\n            }\n\n            this._changeDetector.markForCheck();\n          }\n        }\n        /**\n         * The value of this radio button.\n         * @return {?}\n         */\n\n      }, {\n        key: \"value\",\n        get: function get() {\n          return this._value;\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n        ,\n        set: function set(value) {\n          if (this._value !== value) {\n            this._value = value;\n\n            if (this.radioGroup !== null) {\n              if (!this.checked) {\n                // Update checked when the value changed to match the radio group's value\n                this.checked = this.radioGroup.value === value;\n              }\n\n              if (this.checked) {\n                this.radioGroup.selected = this;\n              }\n            }\n          }\n        }\n        /**\n         * Whether the label should appear after or before the radio button. Defaults to 'after'\n         * @return {?}\n         */\n\n      }, {\n        key: \"labelPosition\",\n        get: function get() {\n          return this._labelPosition || this.radioGroup && this.radioGroup.labelPosition || 'after';\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n        ,\n        set: function set(value) {\n          this._labelPosition = value;\n        }\n        /**\n         * Whether the radio button is disabled.\n         * @return {?}\n         */\n\n      }, {\n        key: \"disabled\",\n        get: function get() {\n          return this._disabled || this.radioGroup !== null && this.radioGroup.disabled;\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n        ,\n        set: function set(value) {\n          /** @type {?} */\n          var newDisabledState = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_1__[\"coerceBooleanProperty\"])(value);\n\n          if (this._disabled !== newDisabledState) {\n            this._disabled = newDisabledState;\n\n            this._changeDetector.markForCheck();\n          }\n        }\n        /**\n         * Whether the radio button is required.\n         * @return {?}\n         */\n\n      }, {\n        key: \"required\",\n        get: function get() {\n          return this._required || this.radioGroup && this.radioGroup.required;\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n        ,\n        set: function set(value) {\n          this._required = Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_1__[\"coerceBooleanProperty\"])(value);\n        }\n        /**\n         * Theme color of the radio button.\n         * @return {?}\n         */\n\n      }, {\n        key: \"color\",\n        get: function get() {\n          return this._color || this.radioGroup && this.radioGroup.color || this._providerOverride && this._providerOverride.color || 'accent';\n        }\n        /**\n         * @param {?} newValue\n         * @return {?}\n         */\n        ,\n        set: function set(newValue) {\n          this._color = newValue;\n        }\n        /**\n         * ID of the native input element inside `<mat-radio-button>`\n         * @return {?}\n         */\n\n      }, {\n        key: \"inputId\",\n        get: function get() {\n          return \"\".concat(this.id || this._uniqueId, \"-input\");\n        }\n      }]);\n\n      return MatRadioButton;\n    }(_MatRadioButtonMixinBase);\n\n    MatRadioButton.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Component\"],\n      args: [{\n        selector: 'mat-radio-button',\n        template: \"<label [attr.for]=\\\"inputId\\\" class=\\\"mat-radio-label\\\" #label><div class=\\\"mat-radio-container\\\"><div class=\\\"mat-radio-outer-circle\\\"></div><div class=\\\"mat-radio-inner-circle\\\"></div><div mat-ripple class=\\\"mat-radio-ripple\\\" [matRippleTrigger]=\\\"label\\\" [matRippleDisabled]=\\\"_isRippleDisabled()\\\" [matRippleCentered]=\\\"true\\\" [matRippleRadius]=\\\"20\\\" [matRippleAnimation]=\\\"{enterDuration: 150}\\\"><div class=\\\"mat-ripple-element mat-radio-persistent-ripple\\\"></div></div><input #input class=\\\"mat-radio-input cdk-visually-hidden\\\" type=\\\"radio\\\" [id]=\\\"inputId\\\" [checked]=\\\"checked\\\" [disabled]=\\\"disabled\\\" [tabIndex]=\\\"tabIndex\\\" [attr.name]=\\\"name\\\" [attr.value]=\\\"value\\\" [required]=\\\"required\\\" [attr.aria-label]=\\\"ariaLabel\\\" [attr.aria-labelledby]=\\\"ariaLabelledby\\\" [attr.aria-describedby]=\\\"ariaDescribedby\\\" (change)=\\\"_onInputChange($event)\\\" (click)=\\\"_onInputClick($event)\\\"></div><div class=\\\"mat-radio-label-content\\\" [class.mat-radio-label-before]=\\\"labelPosition == 'before'\\\"><span style=\\\"display:none\\\">&nbsp;</span><ng-content></ng-content></div></label>\",\n        styles: [\".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;height:20px;left:0;position:absolute;top:0;transition:transform ease 280ms,background-color ease 280ms;width:20px;transform:scale(.001)}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-checked .mat-radio-inner-circle{transform:scale(.5)}@media (-ms-high-contrast:active){.mat-radio-checked .mat-radio-inner-circle{border:solid 10px}}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple,.mat-radio-persistent-ripple{opacity:0}@media (hover:none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}@media (-ms-high-contrast:active){.mat-radio-disabled{opacity:.5}}\"],\n        inputs: ['disableRipple', 'tabIndex'],\n        encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ViewEncapsulation\"].None,\n        exportAs: 'matRadioButton',\n        host: {\n          'class': 'mat-radio-button',\n          '[class.mat-radio-checked]': 'checked',\n          '[class.mat-radio-disabled]': 'disabled',\n          '[class._mat-animation-noopable]': '_animationMode === \"NoopAnimations\"',\n          '[class.mat-primary]': 'color === \"primary\"',\n          '[class.mat-accent]': 'color === \"accent\"',\n          '[class.mat-warn]': 'color === \"warn\"',\n          // Needs to be -1 so the `focus` event still fires.\n          '[attr.tabindex]': '-1',\n          '[attr.id]': 'id',\n          '[attr.aria-label]': 'null',\n          '[attr.aria-labelledby]': 'null',\n          '[attr.aria-describedby]': 'null',\n          // Note: under normal conditions focus shouldn't land on this element, however it may be\n          // programmatically set, for example inside of a focus trap, in this case we want to forward\n          // the focus to the native element.\n          '(focus)': '_inputElement.nativeElement.focus()'\n        },\n        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ChangeDetectionStrategy\"].OnPush\n      }]\n    }];\n    /** @nocollapse */\n\n    MatRadioButton.ctorParameters = function () {\n      return [{\n        type: MatRadioGroup,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Optional\"]\n        }]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ElementRef\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ChangeDetectorRef\"]\n      }, {\n        type: _angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_0__[\"FocusMonitor\"]\n      }, {\n        type: _angular_cdk_collections__WEBPACK_IMPORTED_MODULE_2__[\"UniqueSelectionDispatcher\"]\n      }, {\n        type: String,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Inject\"],\n          args: [_angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_6__[\"ANIMATION_MODULE_TYPE\"]]\n        }]\n      }, {\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Inject\"],\n          args: [MAT_RADIO_DEFAULT_OPTIONS]\n        }]\n      }];\n    };\n\n    MatRadioButton.propDecorators = {\n      id: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"]\n      }],\n      name: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"]\n      }],\n      ariaLabel: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"],\n        args: ['aria-label']\n      }],\n      ariaLabelledby: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"],\n        args: ['aria-labelledby']\n      }],\n      ariaDescribedby: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"],\n        args: ['aria-describedby']\n      }],\n      checked: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"]\n      }],\n      value: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"]\n      }],\n      labelPosition: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"]\n      }],\n      disabled: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"]\n      }],\n      required: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"]\n      }],\n      color: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Input\"]\n      }],\n      change: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"Output\"]\n      }],\n      _inputElement: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"ViewChild\"],\n        args: ['input', {\n          static: false\n        }]\n      }]\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    var MatRadioModule = function MatRadioModule() {\n      _classCallCheck(this, MatRadioModule);\n    };\n\n    MatRadioModule.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_3__[\"NgModule\"],\n      args: [{\n        imports: [_angular_common__WEBPACK_IMPORTED_MODULE_7__[\"CommonModule\"], _angular_material_core__WEBPACK_IMPORTED_MODULE_5__[\"MatRippleModule\"], _angular_material_core__WEBPACK_IMPORTED_MODULE_5__[\"MatCommonModule\"]],\n        exports: [MatRadioGroup, MatRadioButton, _angular_material_core__WEBPACK_IMPORTED_MODULE_5__[\"MatCommonModule\"]],\n        declarations: [MatRadioGroup, MatRadioButton]\n      }]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /***/\n  },\n\n  /***/\n  \"./node_modules/@angular/material/esm2015/snack-bar.js\":\n  /*!*************************************************************!*\\\n    !*** ./node_modules/@angular/material/esm2015/snack-bar.js ***!\n    \\*************************************************************/\n\n  /*! exports provided: MatSnackBarModule, MAT_SNACK_BAR_DEFAULT_OPTIONS_FACTORY, MAT_SNACK_BAR_DEFAULT_OPTIONS, MatSnackBar, MatSnackBarContainer, MAT_SNACK_BAR_DATA, MatSnackBarConfig, MatSnackBarRef, SimpleSnackBar, matSnackBarAnimations */\n\n  /***/\n  function node_modulesAngularMaterialEsm2015SnackBarJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MatSnackBarModule\", function () {\n      return MatSnackBarModule;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MAT_SNACK_BAR_DEFAULT_OPTIONS_FACTORY\", function () {\n      return MAT_SNACK_BAR_DEFAULT_OPTIONS_FACTORY;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MAT_SNACK_BAR_DEFAULT_OPTIONS\", function () {\n      return MAT_SNACK_BAR_DEFAULT_OPTIONS;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MatSnackBar\", function () {\n      return MatSnackBar;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MatSnackBarContainer\", function () {\n      return MatSnackBarContainer;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MAT_SNACK_BAR_DATA\", function () {\n      return MAT_SNACK_BAR_DATA;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MatSnackBarConfig\", function () {\n      return MatSnackBarConfig;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MatSnackBarRef\", function () {\n      return MatSnackBarRef;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"SimpleSnackBar\", function () {\n      return SimpleSnackBar;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"matSnackBarAnimations\", function () {\n      return matSnackBarAnimations;\n    });\n    /* harmony import */\n\n\n    var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! rxjs */\n    \"./node_modules/rxjs/_esm2015/index.js\");\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var _angular_animations__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! @angular/animations */\n    \"./node_modules/@angular/animations/fesm2015/animations.js\");\n    /* harmony import */\n\n\n    var _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! @angular/cdk/portal */\n    \"./node_modules/@angular/cdk/esm2015/portal.js\");\n    /* harmony import */\n\n\n    var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! rxjs/operators */\n    \"./node_modules/rxjs/_esm2015/operators/index.js\");\n    /* harmony import */\n\n\n    var _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\n    /*! @angular/cdk/overlay */\n    \"./node_modules/@angular/cdk/esm2015/overlay.js\");\n    /* harmony import */\n\n\n    var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(\n    /*! @angular/common */\n    \"./node_modules/@angular/common/fesm2015/common.js\");\n    /* harmony import */\n\n\n    var _angular_material_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(\n    /*! @angular/material/core */\n    \"./node_modules/@angular/material/esm2015/core.js\");\n    /* harmony import */\n\n\n    var _angular_material_button__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(\n    /*! @angular/material/button */\n    \"./node_modules/@angular/material/esm2015/button.js\");\n    /* harmony import */\n\n\n    var _angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(\n    /*! @angular/cdk/a11y */\n    \"./node_modules/@angular/cdk/esm2015/a11y.js\");\n    /* harmony import */\n\n\n    var _angular_cdk_layout__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(\n    /*! @angular/cdk/layout */\n    \"./node_modules/@angular/cdk/esm2015/layout.js\");\n    /**\n     * @license\n     * Copyright Google LLC All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Reference to a snack bar dispatched from the snack bar service.\n     * @template T\n     */\n\n\n    var MatSnackBarRef =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} containerInstance\n       * @param {?} _overlayRef\n       */\n      function MatSnackBarRef(containerInstance, _overlayRef) {\n        var _this623 = this;\n\n        _classCallCheck(this, MatSnackBarRef);\n\n        this._overlayRef = _overlayRef;\n        /**\n         * Subject for notifying the user that the snack bar has been dismissed.\n         */\n\n        this._afterDismissed = new rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]();\n        /**\n         * Subject for notifying the user that the snack bar has opened and appeared.\n         */\n\n        this._afterOpened = new rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]();\n        /**\n         * Subject for notifying the user that the snack bar action was called.\n         */\n\n        this._onAction = new rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]();\n        /**\n         * Whether the snack bar was dismissed using the action button.\n         */\n\n        this._dismissedByAction = false;\n        this.containerInstance = containerInstance; // Dismiss snackbar on action.\n\n        this.onAction().subscribe(\n        /**\n        * @return {?}\n        */\n        function () {\n          return _this623.dismiss();\n        });\n\n        containerInstance._onExit.subscribe(\n        /**\n        * @return {?}\n        */\n        function () {\n          return _this623._finishDismiss();\n        });\n      }\n      /**\n       * Dismisses the snack bar.\n       * @return {?}\n       */\n\n\n      _createClass2(MatSnackBarRef, [{\n        key: \"dismiss\",\n        value: function dismiss() {\n          if (!this._afterDismissed.closed) {\n            this.containerInstance.exit();\n          }\n\n          clearTimeout(this._durationTimeoutId);\n        }\n        /**\n         * Marks the snackbar action clicked.\n         * @return {?}\n         */\n\n      }, {\n        key: \"dismissWithAction\",\n        value: function dismissWithAction() {\n          if (!this._onAction.closed) {\n            this._dismissedByAction = true;\n\n            this._onAction.next();\n\n            this._onAction.complete();\n          }\n        }\n        /**\n         * Marks the snackbar action clicked.\n         * @deprecated Use `dismissWithAction` instead.\n         * \\@breaking-change 8.0.0\n         * @return {?}\n         */\n\n      }, {\n        key: \"closeWithAction\",\n        value: function closeWithAction() {\n          this.dismissWithAction();\n        }\n        /**\n         * Dismisses the snack bar after some duration\n         * @param {?} duration\n         * @return {?}\n         */\n\n      }, {\n        key: \"_dismissAfter\",\n        value: function _dismissAfter(duration) {\n          var _this624 = this;\n\n          this._durationTimeoutId = setTimeout(\n          /**\n          * @return {?}\n          */\n          function () {\n            return _this624.dismiss();\n          }, duration);\n        }\n        /**\n         * Marks the snackbar as opened\n         * @return {?}\n         */\n\n      }, {\n        key: \"_open\",\n        value: function _open() {\n          if (!this._afterOpened.closed) {\n            this._afterOpened.next();\n\n            this._afterOpened.complete();\n          }\n        }\n        /**\n         * Cleans up the DOM after closing.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_finishDismiss\",\n        value: function _finishDismiss() {\n          this._overlayRef.dispose();\n\n          if (!this._onAction.closed) {\n            this._onAction.complete();\n          }\n\n          this._afterDismissed.next({\n            dismissedByAction: this._dismissedByAction\n          });\n\n          this._afterDismissed.complete();\n\n          this._dismissedByAction = false;\n        }\n        /**\n         * Gets an observable that is notified when the snack bar is finished closing.\n         * @return {?}\n         */\n\n      }, {\n        key: \"afterDismissed\",\n        value: function afterDismissed() {\n          return this._afterDismissed.asObservable();\n        }\n        /**\n         * Gets an observable that is notified when the snack bar has opened and appeared.\n         * @return {?}\n         */\n\n      }, {\n        key: \"afterOpened\",\n        value: function afterOpened() {\n          return this.containerInstance._onEnter;\n        }\n        /**\n         * Gets an observable that is notified when the snack bar action is called.\n         * @return {?}\n         */\n\n      }, {\n        key: \"onAction\",\n        value: function onAction() {\n          return this._onAction.asObservable();\n        }\n      }]);\n\n      return MatSnackBarRef;\n    }();\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Injection token that can be used to access the data that was passed in to a snack bar.\n     * @type {?}\n     */\n\n\n    var MAT_SNACK_BAR_DATA = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"InjectionToken\"]('MatSnackBarData');\n    /**\n     * Configuration used when opening a snack-bar.\n     * @template D\n     */\n\n    var MatSnackBarConfig = function MatSnackBarConfig() {\n      _classCallCheck(this, MatSnackBarConfig);\n\n      /**\n       * The politeness level for the MatAriaLiveAnnouncer announcement.\n       */\n      this.politeness = 'assertive';\n      /**\n       * Message to be announced by the LiveAnnouncer. When opening a snackbar without a custom\n       * component or template, the announcement message will default to the specified message.\n       */\n\n      this.announcementMessage = '';\n      /**\n       * The length of time in milliseconds to wait before automatically dismissing the snack bar.\n       */\n\n      this.duration = 0;\n      /**\n       * Data being injected into the child component.\n       */\n\n      this.data = null;\n      /**\n       * The horizontal position to place the snack bar.\n       */\n\n      this.horizontalPosition = 'center';\n      /**\n       * The vertical position to place the snack bar.\n       */\n\n      this.verticalPosition = 'bottom';\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * A component used to open as the default snack bar, matching material spec.\n     * This should only be used internally by the snack bar service.\n     */\n\n\n    var SimpleSnackBar =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} snackBarRef\n       * @param {?} data\n       */\n      function SimpleSnackBar(snackBarRef, data) {\n        _classCallCheck(this, SimpleSnackBar);\n\n        this.snackBarRef = snackBarRef;\n        this.data = data;\n      }\n      /**\n       * Performs the action on the snack bar.\n       * @return {?}\n       */\n\n\n      _createClass2(SimpleSnackBar, [{\n        key: \"action\",\n        value: function action() {\n          this.snackBarRef.dismissWithAction();\n        }\n        /**\n         * If the action button should be shown.\n         * @return {?}\n         */\n\n      }, {\n        key: \"hasAction\",\n        get: function get() {\n          return !!this.data.action;\n        }\n      }]);\n\n      return SimpleSnackBar;\n    }();\n\n    SimpleSnackBar.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Component\"],\n      args: [{\n        selector: 'simple-snack-bar',\n        template: \"<span>{{data.message}}</span><div class=\\\"mat-simple-snackbar-action\\\" *ngIf=\\\"hasAction\\\"><button mat-button (click)=\\\"action()\\\">{{data.action}}</button></div>\",\n        styles: [\".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}\"],\n        encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ViewEncapsulation\"].None,\n        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ChangeDetectionStrategy\"].OnPush,\n        host: {\n          'class': 'mat-simple-snackbar'\n        }\n      }]\n    }];\n    /** @nocollapse */\n\n    SimpleSnackBar.ctorParameters = function () {\n      return [{\n        type: MatSnackBarRef\n      }, {\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"],\n          args: [MAT_SNACK_BAR_DATA]\n        }]\n      }];\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Animations used by the Material snack bar.\n     * \\@docs-private\n     * @type {?}\n     */\n\n\n    var matSnackBarAnimations = {\n      /**\n       * Animation that shows and hides a snack bar.\n       */\n      snackBarState: Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__[\"trigger\"])('state', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__[\"state\"])('void, hidden', Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__[\"style\"])({\n        transform: 'scale(0.8)',\n        opacity: 0\n      })), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__[\"state\"])('visible', Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__[\"style\"])({\n        transform: 'scale(1)',\n        opacity: 1\n      })), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__[\"transition\"])('* => visible', Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__[\"animate\"])('150ms cubic-bezier(0, 0, 0.2, 1)')), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__[\"transition\"])('* => void, * => hidden', Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__[\"animate\"])('75ms cubic-bezier(0.4, 0.0, 1, 1)', Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__[\"style\"])({\n        opacity: 0\n      })))])\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Internal component that wraps user-provided snack bar content.\n     * \\@docs-private\n     */\n\n    var MatSnackBarContainer =\n    /*#__PURE__*/\n    function (_angular_cdk_portal__) {\n      _inherits(MatSnackBarContainer, _angular_cdk_portal__);\n\n      /**\n       * @param {?} _ngZone\n       * @param {?} _elementRef\n       * @param {?} _changeDetectorRef\n       * @param {?} snackBarConfig\n       */\n      function MatSnackBarContainer(_ngZone, _elementRef, _changeDetectorRef, snackBarConfig) {\n        var _this625;\n\n        _classCallCheck(this, MatSnackBarContainer);\n\n        _this625 = _possibleConstructorReturn(this, _getPrototypeOf(MatSnackBarContainer).call(this));\n        _this625._ngZone = _ngZone;\n        _this625._elementRef = _elementRef;\n        _this625._changeDetectorRef = _changeDetectorRef;\n        _this625.snackBarConfig = snackBarConfig;\n        /**\n         * Whether the component has been destroyed.\n         */\n\n        _this625._destroyed = false;\n        /**\n         * Subject for notifying that the snack bar has exited from view.\n         */\n\n        _this625._onExit = new rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]();\n        /**\n         * Subject for notifying that the snack bar has finished entering the view.\n         */\n\n        _this625._onEnter = new rxjs__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]();\n        /**\n         * The state of the snack bar animations.\n         */\n\n        _this625._animationState = 'void'; // Based on the ARIA spec, `alert` and `status` roles have an\n        // implicit `assertive` and `polite` politeness respectively.\n\n        if (snackBarConfig.politeness === 'assertive' && !snackBarConfig.announcementMessage) {\n          _this625._role = 'alert';\n        } else if (snackBarConfig.politeness === 'off') {\n          _this625._role = null;\n        } else {\n          _this625._role = 'status';\n        }\n\n        return _this625;\n      }\n      /**\n       * Attach a component portal as content to this snack bar container.\n       * @template T\n       * @param {?} portal\n       * @return {?}\n       */\n\n\n      _createClass2(MatSnackBarContainer, [{\n        key: \"attachComponentPortal\",\n        value: function attachComponentPortal(portal) {\n          this._assertNotAttached();\n\n          this._applySnackBarClasses();\n\n          return this._portalOutlet.attachComponentPortal(portal);\n        }\n        /**\n         * Attach a template portal as content to this snack bar container.\n         * @template C\n         * @param {?} portal\n         * @return {?}\n         */\n\n      }, {\n        key: \"attachTemplatePortal\",\n        value: function attachTemplatePortal(portal) {\n          this._assertNotAttached();\n\n          this._applySnackBarClasses();\n\n          return this._portalOutlet.attachTemplatePortal(portal);\n        }\n        /**\n         * Handle end of animations, updating the state of the snackbar.\n         * @param {?} event\n         * @return {?}\n         */\n\n      }, {\n        key: \"onAnimationEnd\",\n        value: function onAnimationEnd(event) {\n          var fromState = event.fromState,\n              toState = event.toState;\n\n          if (toState === 'void' && fromState !== 'void' || toState === 'hidden') {\n            this._completeExit();\n          }\n\n          if (toState === 'visible') {\n            // Note: we shouldn't use `this` inside the zone callback,\n            // because it can cause a memory leak.\n\n            /** @type {?} */\n            var onEnter = this._onEnter;\n\n            this._ngZone.run(\n            /**\n            * @return {?}\n            */\n            function () {\n              onEnter.next();\n              onEnter.complete();\n            });\n          }\n        }\n        /**\n         * Begin animation of snack bar entrance into view.\n         * @return {?}\n         */\n\n      }, {\n        key: \"enter\",\n        value: function enter() {\n          if (!this._destroyed) {\n            this._animationState = 'visible';\n\n            this._changeDetectorRef.detectChanges();\n          }\n        }\n        /**\n         * Begin animation of the snack bar exiting from view.\n         * @return {?}\n         */\n\n      }, {\n        key: \"exit\",\n        value: function exit() {\n          // Note: this one transitions to `hidden`, rather than `void`, in order to handle the case\n          // where multiple snack bars are opened in quick succession (e.g. two consecutive calls to\n          // `MatSnackBar.open`).\n          this._animationState = 'hidden';\n          return this._onExit;\n        }\n        /**\n         * Makes sure the exit callbacks have been invoked when the element is destroyed.\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          this._destroyed = true;\n\n          this._completeExit();\n        }\n        /**\n         * Waits for the zone to settle before removing the element. Helps prevent\n         * errors where we end up removing an element which is in the middle of an animation.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_completeExit\",\n        value: function _completeExit() {\n          var _this626 = this;\n\n          this._ngZone.onMicrotaskEmpty.asObservable().pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"take\"])(1)).subscribe(\n          /**\n          * @return {?}\n          */\n          function () {\n            _this626._onExit.next();\n\n            _this626._onExit.complete();\n          });\n        }\n        /**\n         * Applies the various positioning and user-configured CSS classes to the snack bar.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_applySnackBarClasses\",\n        value: function _applySnackBarClasses() {\n          /** @type {?} */\n          var element = this._elementRef.nativeElement;\n          /** @type {?} */\n\n          var panelClasses = this.snackBarConfig.panelClass;\n\n          if (panelClasses) {\n            if (Array.isArray(panelClasses)) {\n              // Note that we can't use a spread here, because IE doesn't support multiple arguments.\n              panelClasses.forEach(\n              /**\n              * @param {?} cssClass\n              * @return {?}\n              */\n              function (cssClass) {\n                return element.classList.add(cssClass);\n              });\n            } else {\n              element.classList.add(panelClasses);\n            }\n          }\n\n          if (this.snackBarConfig.horizontalPosition === 'center') {\n            element.classList.add('mat-snack-bar-center');\n          }\n\n          if (this.snackBarConfig.verticalPosition === 'top') {\n            element.classList.add('mat-snack-bar-top');\n          }\n        }\n        /**\n         * Asserts that no content is already attached to the container.\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_assertNotAttached\",\n        value: function _assertNotAttached() {\n          if (this._portalOutlet.hasAttached()) {\n            throw Error('Attempting to attach snack bar content after content is already attached');\n          }\n        }\n      }]);\n\n      return MatSnackBarContainer;\n    }(_angular_cdk_portal__WEBPACK_IMPORTED_MODULE_3__[\"BasePortalOutlet\"]);\n\n    MatSnackBarContainer.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Component\"],\n      args: [{\n        selector: 'snack-bar-container',\n        template: \"<ng-template cdkPortalOutlet></ng-template>\",\n        styles: [\".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}@media (-ms-high-contrast:active){.mat-snack-bar-container{border:solid 1px}}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\"],\n        // In Ivy embedded views will be change detected from their declaration place, rather than\n        // where they were stamped out. This means that we can't have the snack bar container be OnPush,\n        // because it might cause snack bars that were opened from a template not to be out of date.\n        // tslint:disable-next-line:validate-decorators\n        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ChangeDetectionStrategy\"].Default,\n        encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ViewEncapsulation\"].None,\n        animations: [matSnackBarAnimations.snackBarState],\n        host: {\n          '[attr.role]': '_role',\n          'class': 'mat-snack-bar-container',\n          '[@state]': '_animationState',\n          '(@state.done)': 'onAnimationEnd($event)'\n        }\n      }]\n    }];\n    /** @nocollapse */\n\n    MatSnackBarContainer.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgZone\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ElementRef\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ChangeDetectorRef\"]\n      }, {\n        type: MatSnackBarConfig\n      }];\n    };\n\n    MatSnackBarContainer.propDecorators = {\n      _portalOutlet: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ViewChild\"],\n        args: [_angular_cdk_portal__WEBPACK_IMPORTED_MODULE_3__[\"CdkPortalOutlet\"], {\n          static: true\n        }]\n      }]\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    var MatSnackBarModule = function MatSnackBarModule() {\n      _classCallCheck(this, MatSnackBarModule);\n    };\n\n    MatSnackBarModule.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgModule\"],\n      args: [{\n        imports: [_angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_5__[\"OverlayModule\"], _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_3__[\"PortalModule\"], _angular_common__WEBPACK_IMPORTED_MODULE_6__[\"CommonModule\"], _angular_material_button__WEBPACK_IMPORTED_MODULE_8__[\"MatButtonModule\"], _angular_material_core__WEBPACK_IMPORTED_MODULE_7__[\"MatCommonModule\"]],\n        exports: [MatSnackBarContainer, _angular_material_core__WEBPACK_IMPORTED_MODULE_7__[\"MatCommonModule\"]],\n        declarations: [MatSnackBarContainer, SimpleSnackBar],\n        entryComponents: [MatSnackBarContainer, SimpleSnackBar]\n      }]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Injection token that can be used to specify default snack bar.\n     * @type {?}\n     */\n\n    var MAT_SNACK_BAR_DEFAULT_OPTIONS = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"InjectionToken\"]('mat-snack-bar-default-options', {\n      providedIn: 'root',\n      factory: MAT_SNACK_BAR_DEFAULT_OPTIONS_FACTORY\n    });\n    /**\n     * \\@docs-private\n     * @return {?}\n     */\n\n    function MAT_SNACK_BAR_DEFAULT_OPTIONS_FACTORY() {\n      return new MatSnackBarConfig();\n    }\n    /**\n     * Service to dispatch Material Design snack bar messages.\n     */\n\n\n    var MatSnackBar =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _overlay\n       * @param {?} _live\n       * @param {?} _injector\n       * @param {?} _breakpointObserver\n       * @param {?} _parentSnackBar\n       * @param {?} _defaultConfig\n       */\n      function MatSnackBar(_overlay, _live, _injector, _breakpointObserver, _parentSnackBar, _defaultConfig) {\n        _classCallCheck(this, MatSnackBar);\n\n        this._overlay = _overlay;\n        this._live = _live;\n        this._injector = _injector;\n        this._breakpointObserver = _breakpointObserver;\n        this._parentSnackBar = _parentSnackBar;\n        this._defaultConfig = _defaultConfig;\n        /**\n         * Reference to the current snack bar in the view *at this level* (in the Angular injector tree).\n         * If there is a parent snack-bar service, all operations should delegate to that parent\n         * via `_openedSnackBarRef`.\n         */\n\n        this._snackBarRefAtThisLevel = null;\n      }\n      /**\n       * Reference to the currently opened snackbar at *any* level.\n       * @return {?}\n       */\n\n\n      _createClass2(MatSnackBar, [{\n        key: \"openFromComponent\",\n\n        /**\n         * Creates and dispatches a snack bar with a custom component for the content, removing any\n         * currently opened snack bars.\n         *\n         * @template T\n         * @param {?} component Component to be instantiated.\n         * @param {?=} config Extra configuration for the snack bar.\n         * @return {?}\n         */\n        value: function openFromComponent(component, config) {\n          return (\n            /** @type {?} */\n            this._attach(component, config)\n          );\n        }\n        /**\n         * Creates and dispatches a snack bar with a custom template for the content, removing any\n         * currently opened snack bars.\n         *\n         * @param {?} template Template to be instantiated.\n         * @param {?=} config Extra configuration for the snack bar.\n         * @return {?}\n         */\n\n      }, {\n        key: \"openFromTemplate\",\n        value: function openFromTemplate(template, config) {\n          return this._attach(template, config);\n        }\n        /**\n         * Opens a snackbar with a message and an optional action.\n         * @param {?} message The message to show in the snackbar.\n         * @param {?=} action The label for the snackbar action.\n         * @param {?=} config Additional configuration options for the snackbar.\n         * @return {?}\n         */\n\n      }, {\n        key: \"open\",\n        value: function open(message) {\n          var action = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n          var config = arguments.length > 2 ? arguments[2] : undefined;\n\n          /** @type {?} */\n          var _config = Object.assign({}, this._defaultConfig, config); // Since the user doesn't have access to the component, we can\n          // override the data to pass in our own message and action.\n\n\n          _config.data = {\n            message: message,\n            action: action\n          };\n\n          if (!_config.announcementMessage) {\n            _config.announcementMessage = message;\n          }\n\n          return this.openFromComponent(SimpleSnackBar, _config);\n        }\n        /**\n         * Dismisses the currently-visible snack bar.\n         * @return {?}\n         */\n\n      }, {\n        key: \"dismiss\",\n        value: function dismiss() {\n          if (this._openedSnackBarRef) {\n            this._openedSnackBarRef.dismiss();\n          }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          // Only dismiss the snack bar at the current level on destroy.\n          if (this._snackBarRefAtThisLevel) {\n            this._snackBarRefAtThisLevel.dismiss();\n          }\n        }\n        /**\n         * Attaches the snack bar container component to the overlay.\n         * @private\n         * @param {?} overlayRef\n         * @param {?} config\n         * @return {?}\n         */\n\n      }, {\n        key: \"_attachSnackBarContainer\",\n        value: function _attachSnackBarContainer(overlayRef, config) {\n          /** @type {?} */\n          var userInjector = config && config.viewContainerRef && config.viewContainerRef.injector;\n          /** @type {?} */\n\n          var injector = new _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_3__[\"PortalInjector\"](userInjector || this._injector, new WeakMap([[MatSnackBarConfig, config]]));\n          /** @type {?} */\n\n          var containerPortal = new _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_3__[\"ComponentPortal\"](MatSnackBarContainer, config.viewContainerRef, injector);\n          /** @type {?} */\n\n          var containerRef = overlayRef.attach(containerPortal);\n          containerRef.instance.snackBarConfig = config;\n          return containerRef.instance;\n        }\n        /**\n         * Places a new component or a template as the content of the snack bar container.\n         * @private\n         * @template T\n         * @param {?} content\n         * @param {?=} userConfig\n         * @return {?}\n         */\n\n      }, {\n        key: \"_attach\",\n        value: function _attach(content, userConfig) {\n          /** @type {?} */\n          var config = Object.assign({}, new MatSnackBarConfig(), this._defaultConfig, userConfig);\n          /** @type {?} */\n\n          var overlayRef = this._createOverlay(config);\n          /** @type {?} */\n\n\n          var container = this._attachSnackBarContainer(overlayRef, config);\n          /** @type {?} */\n\n\n          var snackBarRef = new MatSnackBarRef(container, overlayRef);\n\n          if (content instanceof _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"TemplateRef\"]) {\n            /** @type {?} */\n            var portal = new _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_3__[\"TemplatePortal\"](content,\n            /** @type {?} */\n            null,\n            /** @type {?} */\n            {\n              $implicit: config.data,\n              snackBarRef: snackBarRef\n            });\n            snackBarRef.instance = container.attachTemplatePortal(portal);\n          } else {\n            /** @type {?} */\n            var injector = this._createInjector(config, snackBarRef);\n            /** @type {?} */\n\n\n            var _portal = new _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_3__[\"ComponentPortal\"](content, undefined, injector);\n            /** @type {?} */\n\n\n            var contentRef = container.attachComponentPortal(_portal); // We can't pass this via the injector, because the injector is created earlier.\n\n            snackBarRef.instance = contentRef.instance;\n          } // Subscribe to the breakpoint observer and attach the mat-snack-bar-handset class as\n          // appropriate. This class is applied to the overlay element because the overlay must expand to\n          // fill the width of the screen for full width snackbars.\n\n\n          this._breakpointObserver.observe(_angular_cdk_layout__WEBPACK_IMPORTED_MODULE_10__[\"Breakpoints\"].HandsetPortrait).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__[\"takeUntil\"])(overlayRef.detachments())).subscribe(\n          /**\n          * @param {?} state\n          * @return {?}\n          */\n          function (state$$1) {\n            /** @type {?} */\n            var classList = overlayRef.overlayElement.classList;\n            /** @type {?} */\n\n            var className = 'mat-snack-bar-handset';\n            state$$1.matches ? classList.add(className) : classList.remove(className);\n          });\n\n          this._animateSnackBar(snackBarRef, config);\n\n          this._openedSnackBarRef = snackBarRef;\n          return this._openedSnackBarRef;\n        }\n        /**\n         * Animates the old snack bar out and the new one in.\n         * @private\n         * @param {?} snackBarRef\n         * @param {?} config\n         * @return {?}\n         */\n\n      }, {\n        key: \"_animateSnackBar\",\n        value: function _animateSnackBar(snackBarRef, config) {\n          var _this627 = this;\n\n          // When the snackbar is dismissed, clear the reference to it.\n          snackBarRef.afterDismissed().subscribe(\n          /**\n          * @return {?}\n          */\n          function () {\n            // Clear the snackbar ref if it hasn't already been replaced by a newer snackbar.\n            if (_this627._openedSnackBarRef == snackBarRef) {\n              _this627._openedSnackBarRef = null;\n            }\n\n            if (config.announcementMessage) {\n              _this627._live.clear();\n            }\n          });\n\n          if (this._openedSnackBarRef) {\n            // If a snack bar is already in view, dismiss it and enter the\n            // new snack bar after exit animation is complete.\n            this._openedSnackBarRef.afterDismissed().subscribe(\n            /**\n            * @return {?}\n            */\n            function () {\n              snackBarRef.containerInstance.enter();\n            });\n\n            this._openedSnackBarRef.dismiss();\n          } else {\n            // If no snack bar is in view, enter the new snack bar.\n            snackBarRef.containerInstance.enter();\n          } // If a dismiss timeout is provided, set up dismiss based on after the snackbar is opened.\n\n\n          if (config.duration && config.duration > 0) {\n            snackBarRef.afterOpened().subscribe(\n            /**\n            * @return {?}\n            */\n            function () {\n              return snackBarRef._dismissAfter(\n              /** @type {?} */\n              config.duration);\n            });\n          }\n\n          if (config.announcementMessage) {\n            this._live.announce(config.announcementMessage, config.politeness);\n          }\n        }\n        /**\n         * Creates a new overlay and places it in the correct location.\n         * @private\n         * @param {?} config The user-specified snack bar config.\n         * @return {?}\n         */\n\n      }, {\n        key: \"_createOverlay\",\n        value: function _createOverlay(config) {\n          /** @type {?} */\n          var overlayConfig = new _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_5__[\"OverlayConfig\"]();\n          overlayConfig.direction = config.direction;\n          /** @type {?} */\n\n          var positionStrategy = this._overlay.position().global(); // Set horizontal position.\n\n          /** @type {?} */\n\n\n          var isRtl = config.direction === 'rtl';\n          /** @type {?} */\n\n          var isLeft = config.horizontalPosition === 'left' || config.horizontalPosition === 'start' && !isRtl || config.horizontalPosition === 'end' && isRtl;\n          /** @type {?} */\n\n          var isRight = !isLeft && config.horizontalPosition !== 'center';\n\n          if (isLeft) {\n            positionStrategy.left('0');\n          } else if (isRight) {\n            positionStrategy.right('0');\n          } else {\n            positionStrategy.centerHorizontally();\n          } // Set horizontal position.\n\n\n          if (config.verticalPosition === 'top') {\n            positionStrategy.top('0');\n          } else {\n            positionStrategy.bottom('0');\n          }\n\n          overlayConfig.positionStrategy = positionStrategy;\n          return this._overlay.create(overlayConfig);\n        }\n        /**\n         * Creates an injector to be used inside of a snack bar component.\n         * @private\n         * @template T\n         * @param {?} config Config that was used to create the snack bar.\n         * @param {?} snackBarRef Reference to the snack bar.\n         * @return {?}\n         */\n\n      }, {\n        key: \"_createInjector\",\n        value: function _createInjector(config, snackBarRef) {\n          /** @type {?} */\n          var userInjector = config && config.viewContainerRef && config.viewContainerRef.injector;\n          return new _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_3__[\"PortalInjector\"](userInjector || this._injector, new WeakMap([[MatSnackBarRef, snackBarRef], [MAT_SNACK_BAR_DATA, config.data]]));\n        }\n      }, {\n        key: \"_openedSnackBarRef\",\n        get: function get() {\n          /** @type {?} */\n          var parent = this._parentSnackBar;\n          return parent ? parent._openedSnackBarRef : this._snackBarRefAtThisLevel;\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n        ,\n        set: function set(value) {\n          if (this._parentSnackBar) {\n            this._parentSnackBar._openedSnackBarRef = value;\n          } else {\n            this._snackBarRefAtThisLevel = value;\n          }\n        }\n      }]);\n\n      return MatSnackBar;\n    }();\n\n    MatSnackBar.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"],\n      args: [{\n        providedIn: MatSnackBarModule\n      }]\n    }];\n    /** @nocollapse */\n\n    MatSnackBar.ctorParameters = function () {\n      return [{\n        type: _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_5__[\"Overlay\"]\n      }, {\n        type: _angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_9__[\"LiveAnnouncer\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injector\"]\n      }, {\n        type: _angular_cdk_layout__WEBPACK_IMPORTED_MODULE_10__[\"BreakpointObserver\"]\n      }, {\n        type: MatSnackBar,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"SkipSelf\"]\n        }]\n      }, {\n        type: MatSnackBarConfig,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"],\n          args: [MAT_SNACK_BAR_DEFAULT_OPTIONS]\n        }]\n      }];\n    };\n    /** @nocollapse */\n\n\n    MatSnackBar.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵdefineInjectable\"])({\n      factory: function MatSnackBar_Factory() {\n        return new MatSnackBar(Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(_angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_5__[\"Overlay\"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(_angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_9__[\"LiveAnnouncer\"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"INJECTOR\"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(_angular_cdk_layout__WEBPACK_IMPORTED_MODULE_10__[\"BreakpointObserver\"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(MatSnackBar, 12), Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(MAT_SNACK_BAR_DEFAULT_OPTIONS));\n      },\n      token: MatSnackBar,\n      providedIn: MatSnackBarModule\n    });\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /***/\n  },\n\n  /***/\n  \"./node_modules/@angular/platform-browser-dynamic/fesm2015/platform-browser-dynamic.js\":\n  /*!*********************************************************************************************!*\\\n    !*** ./node_modules/@angular/platform-browser-dynamic/fesm2015/platform-browser-dynamic.js ***!\n    \\*********************************************************************************************/\n\n  /*! exports provided: ɵangular_packages_platform_browser_dynamic_platform_browser_dynamic_a, VERSION, JitCompilerFactory, RESOURCE_CACHE_PROVIDER, platformBrowserDynamic, ɵCompilerImpl, ɵplatformCoreDynamic, ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS, ɵResourceLoaderImpl */\n\n  /***/\n  function node_modulesAngularPlatformBrowserDynamicFesm2015PlatformBrowserDynamicJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_platform_browser_dynamic_platform_browser_dynamic_a\", function () {\n      return CachedResourceLoader;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"VERSION\", function () {\n      return VERSION;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"JitCompilerFactory\", function () {\n      return JitCompilerFactory;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"RESOURCE_CACHE_PROVIDER\", function () {\n      return RESOURCE_CACHE_PROVIDER;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"platformBrowserDynamic\", function () {\n      return platformBrowserDynamic;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵCompilerImpl\", function () {\n      return CompilerImpl;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵplatformCoreDynamic\", function () {\n      return platformCoreDynamic;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS\", function () {\n      return INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵResourceLoaderImpl\", function () {\n      return ResourceLoaderImpl;\n    });\n    /* harmony import */\n\n\n    var _angular_compiler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! @angular/compiler */\n    \"./node_modules/@angular/compiler/fesm2015/compiler.js\");\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! @angular/common */\n    \"./node_modules/@angular/common/fesm2015/common.js\");\n    /* harmony import */\n\n\n    var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! @angular/platform-browser */\n    \"./node_modules/@angular/platform-browser/fesm2015/platform-browser.js\");\n    /**\n     * @license Angular v8.2.14\n     * (c) 2010-2019 Google LLC. https://angular.io/\n     * License: MIT\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var MODULE_SUFFIX = '';\n    /** @type {?} */\n\n    var builtinExternalReferences = createBuiltinExternalReferencesMap();\n\n    var JitReflector =\n    /*#__PURE__*/\n    function () {\n      function JitReflector() {\n        _classCallCheck(this, JitReflector);\n\n        this.reflectionCapabilities = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵReflectionCapabilities\"]();\n      }\n      /**\n       * @param {?} type\n       * @param {?} cmpMetadata\n       * @return {?}\n       */\n\n\n      _createClass2(JitReflector, [{\n        key: \"componentModuleUrl\",\n        value: function componentModuleUrl(type, cmpMetadata) {\n          /** @type {?} */\n          var moduleId = cmpMetadata.moduleId;\n\n          if (typeof moduleId === 'string') {\n            /** @type {?} */\n            var scheme = Object(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"getUrlScheme\"])(moduleId);\n            return scheme ? moduleId : \"package:\".concat(moduleId).concat(MODULE_SUFFIX);\n          } else if (moduleId !== null && moduleId !== void 0) {\n            throw Object(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"syntaxError\"])(\"moduleId should be a string in \\\"\".concat(Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵstringify\"])(type), \"\\\". See https://goo.gl/wIDDiL for more information.\\n\") + \"If you're using Webpack you should inline the template and the styles, see https://goo.gl/X2J8zc.\");\n          }\n\n          return \"./\".concat(Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵstringify\"])(type));\n        }\n        /**\n         * @param {?} typeOrFunc\n         * @return {?}\n         */\n\n      }, {\n        key: \"parameters\",\n        value: function parameters(typeOrFunc) {\n          return this.reflectionCapabilities.parameters(typeOrFunc);\n        }\n        /**\n         * @param {?} typeOrFunc\n         * @return {?}\n         */\n\n      }, {\n        key: \"tryAnnotations\",\n        value: function tryAnnotations(typeOrFunc) {\n          return this.annotations(typeOrFunc);\n        }\n        /**\n         * @param {?} typeOrFunc\n         * @return {?}\n         */\n\n      }, {\n        key: \"annotations\",\n        value: function annotations(typeOrFunc) {\n          return this.reflectionCapabilities.annotations(typeOrFunc);\n        }\n        /**\n         * @param {?} typeOrFunc\n         * @return {?}\n         */\n\n      }, {\n        key: \"shallowAnnotations\",\n        value: function shallowAnnotations(typeOrFunc) {\n          throw new Error('Not supported in JIT mode');\n        }\n        /**\n         * @param {?} typeOrFunc\n         * @return {?}\n         */\n\n      }, {\n        key: \"propMetadata\",\n        value: function propMetadata(typeOrFunc) {\n          return this.reflectionCapabilities.propMetadata(typeOrFunc);\n        }\n        /**\n         * @param {?} type\n         * @param {?} lcProperty\n         * @return {?}\n         */\n\n      }, {\n        key: \"hasLifecycleHook\",\n        value: function hasLifecycleHook(type, lcProperty) {\n          return this.reflectionCapabilities.hasLifecycleHook(type, lcProperty);\n        }\n        /**\n         * @param {?} type\n         * @return {?}\n         */\n\n      }, {\n        key: \"guards\",\n        value: function guards(type) {\n          return this.reflectionCapabilities.guards(type);\n        }\n        /**\n         * @param {?} ref\n         * @return {?}\n         */\n\n      }, {\n        key: \"resolveExternalReference\",\n        value: function resolveExternalReference(ref) {\n          return builtinExternalReferences.get(ref) || ref.runtime;\n        }\n      }]);\n\n      return JitReflector;\n    }();\n\n    if (false) {}\n    /**\n     * @return {?}\n     */\n\n\n    function createBuiltinExternalReferencesMap() {\n      /** @type {?} */\n      var map = new Map();\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].ANALYZE_FOR_ENTRY_COMPONENTS, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ANALYZE_FOR_ENTRY_COMPONENTS\"]);\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].ElementRef, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ElementRef\"]);\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].NgModuleRef, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgModuleRef\"]);\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].ViewContainerRef, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ViewContainerRef\"]);\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].ChangeDetectorRef, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ChangeDetectorRef\"]);\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].Renderer2, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Renderer2\"]);\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].QueryList, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"QueryList\"]);\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].TemplateRef, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"TemplateRef\"]);\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].CodegenComponentFactoryResolver, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵCodegenComponentFactoryResolver\"]);\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].ComponentFactoryResolver, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ComponentFactoryResolver\"]);\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].ComponentFactory, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ComponentFactory\"]);\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].ComponentRef, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ComponentRef\"]);\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].NgModuleFactory, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgModuleFactory\"]);\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].createModuleFactory, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵcmf\"]);\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].moduleDef, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵmod\"]);\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].moduleProviderDef, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵmpd\"]);\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].RegisterModuleFactoryFn, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵregisterModuleFactory\"]);\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].Injector, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injector\"]);\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].ViewEncapsulation, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ViewEncapsulation\"]);\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].ChangeDetectionStrategy, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ChangeDetectionStrategy\"]);\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].SecurityContext, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"SecurityContext\"]);\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].LOCALE_ID, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"LOCALE_ID\"]);\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].TRANSLATIONS_FORMAT, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"TRANSLATIONS_FORMAT\"]);\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].inlineInterpolate, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵinlineInterpolate\"]);\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].interpolate, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵinterpolate\"]);\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].EMPTY_ARRAY, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵEMPTY_ARRAY\"]);\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].EMPTY_MAP, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵEMPTY_MAP\"]);\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].Renderer, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Renderer\"]);\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].viewDef, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵvid\"]);\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].elementDef, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵeld\"]);\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].anchorDef, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵand\"]);\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].textDef, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵted\"]);\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].directiveDef, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵdid\"]);\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].providerDef, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵprd\"]);\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].queryDef, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵqud\"]);\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].pureArrayDef, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵpad\"]);\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].pureObjectDef, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵpod\"]);\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].purePipeDef, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵppd\"]);\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].pipeDef, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵpid\"]);\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].nodeValue, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵnov\"]);\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].ngContentDef, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵncd\"]);\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].unwrapValue, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵunv\"]);\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].createRendererType2, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵcrt\"]);\n      map.set(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Identifiers\"].createComponentFactory, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵccf\"]);\n      return map;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var ERROR_COLLECTOR_TOKEN = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"InjectionToken\"]('ErrorCollector');\n    /**\n     * A default provider for {\\@link PACKAGE_ROOT_URL} that maps to '/'.\n     * @type {?}\n     */\n\n    var DEFAULT_PACKAGE_URL_PROVIDER = {\n      provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"PACKAGE_ROOT_URL\"],\n      useValue: '/'\n    };\n    /** @type {?} */\n\n    var _NO_RESOURCE_LOADER = {\n      /**\n       * @param {?} url\n       * @return {?}\n       */\n      get: function get(url) {\n        throw new Error(\"No ResourceLoader implementation has been provided. Can't read the url \\\"\".concat(url, \"\\\"\"));\n      }\n    };\n    /** @type {?} */\n\n    var baseHtmlParser = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"InjectionToken\"]('HtmlParser');\n\n    var CompilerImpl =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} injector\n       * @param {?} _metadataResolver\n       * @param {?} templateParser\n       * @param {?} styleCompiler\n       * @param {?} viewCompiler\n       * @param {?} ngModuleCompiler\n       * @param {?} summaryResolver\n       * @param {?} compileReflector\n       * @param {?} jitEvaluator\n       * @param {?} compilerConfig\n       * @param {?} console\n       */\n      function CompilerImpl(injector, _metadataResolver, templateParser, styleCompiler, viewCompiler, ngModuleCompiler, summaryResolver, compileReflector, jitEvaluator, compilerConfig, console) {\n        _classCallCheck(this, CompilerImpl);\n\n        this._metadataResolver = _metadataResolver;\n        this._delegate = new _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"JitCompiler\"](_metadataResolver, templateParser, styleCompiler, viewCompiler, ngModuleCompiler, summaryResolver, compileReflector, jitEvaluator, compilerConfig, console, this.getExtraNgModuleProviders.bind(this));\n        this.injector = injector;\n      }\n      /**\n       * @private\n       * @return {?}\n       */\n\n\n      _createClass2(CompilerImpl, [{\n        key: \"getExtraNgModuleProviders\",\n        value: function getExtraNgModuleProviders() {\n          return [this._metadataResolver.getProviderMetadata(new _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"ProviderMeta\"](_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Compiler\"], {\n            useValue: this\n          }))];\n        }\n        /**\n         * @template T\n         * @param {?} moduleType\n         * @return {?}\n         */\n\n      }, {\n        key: \"compileModuleSync\",\n        value: function compileModuleSync(moduleType) {\n          return (\n            /** @type {?} */\n            this._delegate.compileModuleSync(moduleType)\n          );\n        }\n        /**\n         * @template T\n         * @param {?} moduleType\n         * @return {?}\n         */\n\n      }, {\n        key: \"compileModuleAsync\",\n        value: function compileModuleAsync(moduleType) {\n          return (\n            /** @type {?} */\n            this._delegate.compileModuleAsync(moduleType)\n          );\n        }\n        /**\n         * @template T\n         * @param {?} moduleType\n         * @return {?}\n         */\n\n      }, {\n        key: \"compileModuleAndAllComponentsSync\",\n        value: function compileModuleAndAllComponentsSync(moduleType) {\n          /** @type {?} */\n          var result = this._delegate.compileModuleAndAllComponentsSync(moduleType);\n\n          return {\n            ngModuleFactory:\n            /** @type {?} */\n            result.ngModuleFactory,\n            componentFactories:\n            /** @type {?} */\n            result.componentFactories\n          };\n        }\n        /**\n         * @template T\n         * @param {?} moduleType\n         * @return {?}\n         */\n\n      }, {\n        key: \"compileModuleAndAllComponentsAsync\",\n        value: function compileModuleAndAllComponentsAsync(moduleType) {\n          return this._delegate.compileModuleAndAllComponentsAsync(moduleType).then(\n          /**\n          * @param {?} result\n          * @return {?}\n          */\n          function (result) {\n            return {\n              ngModuleFactory:\n              /** @type {?} */\n              result.ngModuleFactory,\n              componentFactories:\n              /** @type {?} */\n              result.componentFactories\n            };\n          });\n        }\n        /**\n         * @param {?} summaries\n         * @return {?}\n         */\n\n      }, {\n        key: \"loadAotSummaries\",\n        value: function loadAotSummaries(summaries) {\n          this._delegate.loadAotSummaries(summaries);\n        }\n        /**\n         * @param {?} ref\n         * @return {?}\n         */\n\n      }, {\n        key: \"hasAotSummary\",\n        value: function hasAotSummary(ref) {\n          return this._delegate.hasAotSummary(ref);\n        }\n        /**\n         * @template T\n         * @param {?} component\n         * @return {?}\n         */\n\n      }, {\n        key: \"getComponentFactory\",\n        value: function getComponentFactory(component) {\n          return (\n            /** @type {?} */\n            this._delegate.getComponentFactory(component)\n          );\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"clearCache\",\n        value: function clearCache() {\n          this._delegate.clearCache();\n        }\n        /**\n         * @param {?} type\n         * @return {?}\n         */\n\n      }, {\n        key: \"clearCacheFor\",\n        value: function clearCacheFor(type) {\n          this._delegate.clearCacheFor(type);\n        }\n        /**\n         * @param {?} moduleType\n         * @return {?}\n         */\n\n      }, {\n        key: \"getModuleId\",\n        value: function getModuleId(moduleType) {\n          /** @type {?} */\n          var meta = this._metadataResolver.getNgModuleMetadata(moduleType);\n\n          return meta && meta.id || undefined;\n        }\n      }]);\n\n      return CompilerImpl;\n    }();\n\n    if (false) {}\n    /**\n     * A set of providers that provide `JitCompiler` and its dependencies to use for\n     * template compilation.\n     * @type {?}\n     */\n\n\n    var COMPILER_PROVIDERS =\n    /** @type {?} */\n    [{\n      provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"CompileReflector\"],\n      useValue: new JitReflector()\n    }, {\n      provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"ResourceLoader\"],\n      useValue: _NO_RESOURCE_LOADER\n    }, {\n      provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"JitSummaryResolver\"],\n      deps: []\n    }, {\n      provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"SummaryResolver\"],\n      useExisting: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"JitSummaryResolver\"]\n    }, {\n      provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵConsole\"],\n      deps: []\n    }, {\n      provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Lexer\"],\n      deps: []\n    }, {\n      provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Parser\"],\n      deps: [_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Lexer\"]]\n    }, {\n      provide: baseHtmlParser,\n      useClass: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"HtmlParser\"],\n      deps: []\n    }, {\n      provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"I18NHtmlParser\"],\n      useFactory:\n      /**\n      * @param {?} parser\n      * @param {?} translations\n      * @param {?} format\n      * @param {?} config\n      * @param {?} console\n      * @return {?}\n      */\n      function useFactory(parser, translations, format, config, console) {\n        translations = translations || '';\n        /** @type {?} */\n\n        var missingTranslation = translations ?\n        /** @type {?} */\n        config.missingTranslation : _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"MissingTranslationStrategy\"].Ignore;\n        return new _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"I18NHtmlParser\"](parser, translations, format, missingTranslation, console);\n      },\n      deps: [baseHtmlParser, [new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"](), new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"](_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"TRANSLATIONS\"])], [new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"](), new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"](_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"TRANSLATIONS_FORMAT\"])], [_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"CompilerConfig\"]], [_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵConsole\"]]]\n    }, {\n      provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"HtmlParser\"],\n      useExisting: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"I18NHtmlParser\"]\n    }, {\n      provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"TemplateParser\"],\n      deps: [_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"CompilerConfig\"], _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"CompileReflector\"], _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"Parser\"], _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"ElementSchemaRegistry\"], _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"I18NHtmlParser\"], _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵConsole\"]]\n    }, {\n      provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"JitEvaluator\"],\n      useClass: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"JitEvaluator\"],\n      deps: []\n    }, {\n      provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"DirectiveNormalizer\"],\n      deps: [_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"ResourceLoader\"], _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"UrlResolver\"], _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"HtmlParser\"], _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"CompilerConfig\"]]\n    }, {\n      provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"CompileMetadataResolver\"],\n      deps: [_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"CompilerConfig\"], _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"HtmlParser\"], _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"NgModuleResolver\"], _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"DirectiveResolver\"], _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"PipeResolver\"], _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"SummaryResolver\"], _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"ElementSchemaRegistry\"], _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"DirectiveNormalizer\"], _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵConsole\"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"], _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"StaticSymbolCache\"]], _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"CompileReflector\"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"], ERROR_COLLECTOR_TOKEN]]\n    }, DEFAULT_PACKAGE_URL_PROVIDER, {\n      provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"StyleCompiler\"],\n      deps: [_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"UrlResolver\"]]\n    }, {\n      provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"ViewCompiler\"],\n      deps: [_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"CompileReflector\"]]\n    }, {\n      provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"NgModuleCompiler\"],\n      deps: [_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"CompileReflector\"]]\n    }, {\n      provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"CompilerConfig\"],\n      useValue: new _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"CompilerConfig\"]()\n    }, {\n      provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Compiler\"],\n      useClass: CompilerImpl,\n      deps: [_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injector\"], _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"CompileMetadataResolver\"], _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"TemplateParser\"], _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"StyleCompiler\"], _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"ViewCompiler\"], _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"NgModuleCompiler\"], _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"SummaryResolver\"], _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"CompileReflector\"], _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"JitEvaluator\"], _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"CompilerConfig\"], _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵConsole\"]]\n    }, {\n      provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"DomElementSchemaRegistry\"],\n      deps: []\n    }, {\n      provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"ElementSchemaRegistry\"],\n      useExisting: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"DomElementSchemaRegistry\"]\n    }, {\n      provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"UrlResolver\"],\n      deps: [_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"PACKAGE_ROOT_URL\"]]\n    }, {\n      provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"DirectiveResolver\"],\n      deps: [_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"CompileReflector\"]]\n    }, {\n      provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"PipeResolver\"],\n      deps: [_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"CompileReflector\"]]\n    }, {\n      provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"NgModuleResolver\"],\n      deps: [_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"CompileReflector\"]]\n    }];\n    /**\n     * \\@publicApi\n     */\n\n    var JitCompilerFactory =\n    /*#__PURE__*/\n    function () {\n      /* @internal */\n\n      /**\n       * @param {?} defaultOptions\n       */\n      function JitCompilerFactory(defaultOptions) {\n        _classCallCheck(this, JitCompilerFactory);\n\n        /** @type {?} */\n        var compilerOptions = {\n          useJit: true,\n          defaultEncapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ViewEncapsulation\"].Emulated,\n          missingTranslation: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"MissingTranslationStrategy\"].Warning\n        };\n        this._defaultOptions = [compilerOptions].concat(_toConsumableArray(defaultOptions));\n      }\n      /**\n       * @param {?=} options\n       * @return {?}\n       */\n\n\n      _createClass2(JitCompilerFactory, [{\n        key: \"createCompiler\",\n        value: function createCompiler() {\n          var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n\n          /** @type {?} */\n          var opts = _mergeOptions(this._defaultOptions.concat(options));\n          /** @type {?} */\n\n\n          var injector = _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injector\"].create([COMPILER_PROVIDERS, {\n            provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"CompilerConfig\"],\n            useFactory:\n            /**\n            * @return {?}\n            */\n            function useFactory() {\n              return new _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"CompilerConfig\"]({\n                // let explicit values from the compiler options overwrite options\n                // from the app providers\n                useJit: opts.useJit,\n                jitDevMode: Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"isDevMode\"])(),\n                // let explicit values from the compiler options overwrite options\n                // from the app providers\n                defaultEncapsulation: opts.defaultEncapsulation,\n                missingTranslation: opts.missingTranslation,\n                preserveWhitespaces: opts.preserveWhitespaces\n              });\n            },\n            deps: []\n          },\n          /** @type {?} */\n          opts.providers]);\n\n          return injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Compiler\"]);\n        }\n      }]);\n\n      return JitCompilerFactory;\n    }();\n\n    if (false) {}\n    /**\n     * @param {?} optionsArr\n     * @return {?}\n     */\n\n\n    function _mergeOptions(optionsArr) {\n      return {\n        useJit: _lastDefined(optionsArr.map(\n        /**\n        * @param {?} options\n        * @return {?}\n        */\n        function (options) {\n          return options.useJit;\n        })),\n        defaultEncapsulation: _lastDefined(optionsArr.map(\n        /**\n        * @param {?} options\n        * @return {?}\n        */\n        function (options) {\n          return options.defaultEncapsulation;\n        })),\n        providers: _mergeArrays(optionsArr.map(\n        /**\n        * @param {?} options\n        * @return {?}\n        */\n        function (options) {\n          return (\n            /** @type {?} */\n            options.providers\n          );\n        })),\n        missingTranslation: _lastDefined(optionsArr.map(\n        /**\n        * @param {?} options\n        * @return {?}\n        */\n        function (options) {\n          return options.missingTranslation;\n        })),\n        preserveWhitespaces: _lastDefined(optionsArr.map(\n        /**\n        * @param {?} options\n        * @return {?}\n        */\n        function (options) {\n          return options.preserveWhitespaces;\n        }))\n      };\n    }\n    /**\n     * @template T\n     * @param {?} args\n     * @return {?}\n     */\n\n\n    function _lastDefined(args) {\n      for (var i = args.length - 1; i >= 0; i--) {\n        if (args[i] !== undefined) {\n          return args[i];\n        }\n      }\n\n      return undefined;\n    }\n    /**\n     * @param {?} parts\n     * @return {?}\n     */\n\n\n    function _mergeArrays(parts) {\n      /** @type {?} */\n      var result = [];\n      parts.forEach(\n      /**\n      * @param {?} part\n      * @return {?}\n      */\n      function (part) {\n        return part && result.push.apply(result, _toConsumableArray(part));\n      });\n      return result;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n\n    var ɵ0 = {};\n    /**\n     * A platform that included corePlatform and the compiler.\n     *\n     * \\@publicApi\n     * @type {?}\n     */\n\n    var platformCoreDynamic = Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"createPlatformFactory\"])(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"platformCore\"], 'coreDynamic', [{\n      provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"COMPILER_OPTIONS\"],\n      useValue: ɵ0,\n      multi: true\n    }, {\n      provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"CompilerFactory\"],\n      useClass: JitCompilerFactory,\n      deps: [_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"COMPILER_OPTIONS\"]]\n    }]);\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    var ResourceLoaderImpl =\n    /*#__PURE__*/\n    function (_angular_compiler__WE) {\n      _inherits(ResourceLoaderImpl, _angular_compiler__WE);\n\n      function ResourceLoaderImpl() {\n        _classCallCheck(this, ResourceLoaderImpl);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(ResourceLoaderImpl).apply(this, arguments));\n      }\n\n      _createClass2(ResourceLoaderImpl, [{\n        key: \"get\",\n\n        /**\n         * @param {?} url\n         * @return {?}\n         */\n        value: function get(url) {\n          /** @type {?} */\n          var resolve;\n          /** @type {?} */\n\n          var reject;\n          /** @type {?} */\n\n          var promise = new Promise(\n          /**\n          * @param {?} res\n          * @param {?} rej\n          * @return {?}\n          */\n          function (res, rej) {\n            resolve = res;\n            reject = rej;\n          });\n          /** @type {?} */\n\n          var xhr = new XMLHttpRequest();\n          xhr.open('GET', url, true);\n          xhr.responseType = 'text';\n\n          xhr.onload =\n          /**\n          * @return {?}\n          */\n          function () {\n            // responseText is the old-school way of retrieving response (supported by IE8 & 9)\n            // response/responseType properties were introduced in ResourceLoader Level2 spec (supported\n            // by IE10)\n\n            /** @type {?} */\n            var response = xhr.response || xhr.responseText; // normalize IE9 bug (http://bugs.jquery.com/ticket/1450)\n\n            /** @type {?} */\n\n            var status = xhr.status === 1223 ? 204 : xhr.status; // fix status code when it is 0 (0 status is undocumented).\n            // Occurs when accessing file resources or on Android 4.1 stock browser\n            // while retrieving files from application cache.\n\n            if (status === 0) {\n              status = response ? 200 : 0;\n            }\n\n            if (200 <= status && status <= 300) {\n              resolve(response);\n            } else {\n              reject(\"Failed to load \".concat(url));\n            }\n          };\n\n          xhr.onerror =\n          /**\n          * @return {?}\n          */\n          function () {\n            reject(\"Failed to load \".concat(url));\n          };\n\n          xhr.send();\n          return promise;\n        }\n      }]);\n\n      return ResourceLoaderImpl;\n    }(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"ResourceLoader\"]);\n\n    ResourceLoaderImpl.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    var ɵ0$1 = {\n      providers: [{\n        provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"ResourceLoader\"],\n        useClass: ResourceLoaderImpl,\n        deps: []\n      }]\n    },\n        ɵ1 = _angular_common__WEBPACK_IMPORTED_MODULE_2__[\"ɵPLATFORM_BROWSER_ID\"];\n    /**\n     * \\@publicApi\n     * @type {?}\n     */\n\n    var INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS = [_angular_platform_browser__WEBPACK_IMPORTED_MODULE_3__[\"ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS\"], {\n      provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"COMPILER_OPTIONS\"],\n      useValue: ɵ0$1,\n      multi: true\n    }, {\n      provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"PLATFORM_ID\"],\n      useValue: ɵ1\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * An implementation of ResourceLoader that uses a template cache to avoid doing an actual\n     * ResourceLoader.\n     *\n     * The template cache needs to be built and loaded into window.$templateCache\n     * via a separate mechanism.\n     *\n     * \\@publicApi\n     */\n\n    var CachedResourceLoader =\n    /*#__PURE__*/\n    function (_angular_compiler__WE2) {\n      _inherits(CachedResourceLoader, _angular_compiler__WE2);\n\n      function CachedResourceLoader() {\n        var _this628;\n\n        _classCallCheck(this, CachedResourceLoader);\n\n        _this628 = _possibleConstructorReturn(this, _getPrototypeOf(CachedResourceLoader).call(this));\n        _this628._cache =\n        /** @type {?} */\n        _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵglobal\"].$templateCache;\n\n        if (_this628._cache == null) {\n          throw new Error('CachedResourceLoader: Template cache was not found in $templateCache.');\n        }\n\n        return _this628;\n      }\n      /**\n       * @param {?} url\n       * @return {?}\n       */\n\n\n      _createClass2(CachedResourceLoader, [{\n        key: \"get\",\n        value: function get(url) {\n          if (this._cache.hasOwnProperty(url)) {\n            return Promise.resolve(this._cache[url]);\n          } else {\n            return (\n              /** @type {?} */\n              Promise.reject('CachedResourceLoader: Did not find cached template for ' + url)\n            );\n          }\n        }\n      }]);\n\n      return CachedResourceLoader;\n    }(_angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"ResourceLoader\"]);\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var VERSION = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Version\"]('8.2.14');\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * \\@publicApi\n     * @type {?}\n     */\n\n    var RESOURCE_CACHE_PROVIDER = [{\n      provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__[\"ResourceLoader\"],\n      useClass: CachedResourceLoader,\n      deps: []\n    }];\n    /**\n     * \\@publicApi\n     * @type {?}\n     */\n\n    var platformBrowserDynamic = Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"createPlatformFactory\"])(platformCoreDynamic, 'browserDynamic', INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS);\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Generated bundle index. Do not edit.\n     */\n\n    /***/\n  },\n\n  /***/\n  \"./node_modules/@angular/platform-browser/fesm2015/animations.js\":\n  /*!***********************************************************************!*\\\n    !*** ./node_modules/@angular/platform-browser/fesm2015/animations.js ***!\n    \\***********************************************************************/\n\n  /*! exports provided: ɵangular_packages_platform_browser_animations_animations_f, ɵangular_packages_platform_browser_animations_animations_d, ɵangular_packages_platform_browser_animations_animations_e, ɵangular_packages_platform_browser_animations_animations_b, ɵangular_packages_platform_browser_animations_animations_c, ɵangular_packages_platform_browser_animations_animations_a, BrowserAnimationsModule, NoopAnimationsModule, ANIMATION_MODULE_TYPE, ɵBrowserAnimationBuilder, ɵBrowserAnimationFactory, ɵAnimationRenderer, ɵAnimationRendererFactory, ɵInjectableAnimationEngine */\n\n  /***/\n  function node_modulesAngularPlatformBrowserFesm2015AnimationsJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_platform_browser_animations_animations_f\", function () {\n      return BaseAnimationRenderer;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_platform_browser_animations_animations_d\", function () {\n      return BROWSER_ANIMATIONS_PROVIDERS;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_platform_browser_animations_animations_e\", function () {\n      return BROWSER_NOOP_ANIMATIONS_PROVIDERS;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_platform_browser_animations_animations_b\", function () {\n      return instantiateDefaultStyleNormalizer;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_platform_browser_animations_animations_c\", function () {\n      return instantiateRendererFactory;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_platform_browser_animations_animations_a\", function () {\n      return instantiateSupportedAnimationDriver;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"BrowserAnimationsModule\", function () {\n      return BrowserAnimationsModule;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NoopAnimationsModule\", function () {\n      return NoopAnimationsModule;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ANIMATION_MODULE_TYPE\", function () {\n      return ANIMATION_MODULE_TYPE;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵBrowserAnimationBuilder\", function () {\n      return BrowserAnimationBuilder;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵBrowserAnimationFactory\", function () {\n      return BrowserAnimationFactory;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵAnimationRenderer\", function () {\n      return AnimationRenderer;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵAnimationRendererFactory\", function () {\n      return AnimationRendererFactory;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵInjectableAnimationEngine\", function () {\n      return InjectableAnimationEngine;\n    });\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/platform-browser */\n    \"./node_modules/@angular/platform-browser/fesm2015/platform-browser.js\");\n    /* harmony import */\n\n\n    var _angular_animations__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! @angular/animations */\n    \"./node_modules/@angular/animations/fesm2015/animations.js\");\n    /* harmony import */\n\n\n    var _angular_animations_browser__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! @angular/animations/browser */\n    \"./node_modules/@angular/animations/fesm2015/browser.js\");\n    /* harmony import */\n\n\n    var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! @angular/common */\n    \"./node_modules/@angular/common/fesm2015/common.js\");\n    /**\n     * @license Angular v8.2.14\n     * (c) 2010-2019 Google LLC. https://angular.io/\n     * License: MIT\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n\n    var BrowserAnimationBuilder =\n    /*#__PURE__*/\n    function (_angular_animations__2) {\n      _inherits(BrowserAnimationBuilder, _angular_animations__2);\n\n      /**\n       * @param {?} rootRenderer\n       * @param {?} doc\n       */\n      function BrowserAnimationBuilder(rootRenderer, doc) {\n        var _this629;\n\n        _classCallCheck(this, BrowserAnimationBuilder);\n\n        _this629 = _possibleConstructorReturn(this, _getPrototypeOf(BrowserAnimationBuilder).call(this));\n        _this629._nextAnimationId = 0;\n        /** @type {?} */\n\n        var typeData =\n        /** @type {?} */\n        {\n          id: '0',\n          encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"ViewEncapsulation\"].None,\n          styles: [],\n          data: {\n            animation: []\n          }\n        };\n        _this629._renderer =\n        /** @type {?} */\n        rootRenderer.createRenderer(doc.body, typeData);\n        return _this629;\n      }\n      /**\n       * @param {?} animation\n       * @return {?}\n       */\n\n\n      _createClass2(BrowserAnimationBuilder, [{\n        key: \"build\",\n        value: function build(animation) {\n          /** @type {?} */\n          var id = this._nextAnimationId.toString();\n\n          this._nextAnimationId++;\n          /** @type {?} */\n\n          var entry = Array.isArray(animation) ? Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__[\"sequence\"])(animation) : animation;\n          issueAnimationCommand(this._renderer, null, id, 'register', [entry]);\n          return new BrowserAnimationFactory(id, this._renderer);\n        }\n      }]);\n\n      return BrowserAnimationBuilder;\n    }(_angular_animations__WEBPACK_IMPORTED_MODULE_2__[\"AnimationBuilder\"]);\n\n    BrowserAnimationBuilder.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"]\n    }];\n    /** @nocollapse */\n\n    BrowserAnimationBuilder.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"RendererFactory2\"]\n      }, {\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [_angular_common__WEBPACK_IMPORTED_MODULE_4__[\"DOCUMENT\"]]\n        }]\n      }];\n    };\n\n    if (false) {}\n\n    var BrowserAnimationFactory =\n    /*#__PURE__*/\n    function (_angular_animations__3) {\n      _inherits(BrowserAnimationFactory, _angular_animations__3);\n\n      /**\n       * @param {?} _id\n       * @param {?} _renderer\n       */\n      function BrowserAnimationFactory(_id, _renderer) {\n        var _this630;\n\n        _classCallCheck(this, BrowserAnimationFactory);\n\n        _this630 = _possibleConstructorReturn(this, _getPrototypeOf(BrowserAnimationFactory).call(this));\n        _this630._id = _id;\n        _this630._renderer = _renderer;\n        return _this630;\n      }\n      /**\n       * @param {?} element\n       * @param {?=} options\n       * @return {?}\n       */\n\n\n      _createClass2(BrowserAnimationFactory, [{\n        key: \"create\",\n        value: function create(element, options) {\n          return new RendererAnimationPlayer(this._id, element, options || {}, this._renderer);\n        }\n      }]);\n\n      return BrowserAnimationFactory;\n    }(_angular_animations__WEBPACK_IMPORTED_MODULE_2__[\"AnimationFactory\"]);\n\n    if (false) {}\n\n    var RendererAnimationPlayer =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} id\n       * @param {?} element\n       * @param {?} options\n       * @param {?} _renderer\n       */\n      function RendererAnimationPlayer(id, element, options, _renderer) {\n        _classCallCheck(this, RendererAnimationPlayer);\n\n        this.id = id;\n        this.element = element;\n        this._renderer = _renderer;\n        this.parentPlayer = null;\n        this._started = false;\n        this.totalTime = 0;\n\n        this._command('create', options);\n      }\n      /**\n       * @private\n       * @param {?} eventName\n       * @param {?} callback\n       * @return {?}\n       */\n\n\n      _createClass2(RendererAnimationPlayer, [{\n        key: \"_listen\",\n        value: function _listen(eventName, callback) {\n          return this._renderer.listen(this.element, \"@@\".concat(this.id, \":\").concat(eventName), callback);\n        }\n        /**\n         * @private\n         * @param {?} command\n         * @param {...?} args\n         * @return {?}\n         */\n\n      }, {\n        key: \"_command\",\n        value: function _command(command) {\n          for (var _len35 = arguments.length, args = new Array(_len35 > 1 ? _len35 - 1 : 0), _key37 = 1; _key37 < _len35; _key37++) {\n            args[_key37 - 1] = arguments[_key37];\n          }\n\n          return issueAnimationCommand(this._renderer, this.element, this.id, command, args);\n        }\n        /**\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"onDone\",\n        value: function onDone(fn) {\n          this._listen('done', fn);\n        }\n        /**\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"onStart\",\n        value: function onStart(fn) {\n          this._listen('start', fn);\n        }\n        /**\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"onDestroy\",\n        value: function onDestroy(fn) {\n          this._listen('destroy', fn);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"init\",\n        value: function init() {\n          this._command('init');\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"hasStarted\",\n        value: function hasStarted() {\n          return this._started;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"play\",\n        value: function play() {\n          this._command('play');\n\n          this._started = true;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"pause\",\n        value: function pause() {\n          this._command('pause');\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"restart\",\n        value: function restart() {\n          this._command('restart');\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"finish\",\n        value: function finish() {\n          this._command('finish');\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"destroy\",\n        value: function destroy() {\n          this._command('destroy');\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"reset\",\n        value: function reset() {\n          this._command('reset');\n        }\n        /**\n         * @param {?} p\n         * @return {?}\n         */\n\n      }, {\n        key: \"setPosition\",\n        value: function setPosition(p) {\n          this._command('setPosition', p);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"getPosition\",\n        value: function getPosition() {\n          return 0;\n        }\n      }]);\n\n      return RendererAnimationPlayer;\n    }();\n\n    if (false) {}\n    /**\n     * @param {?} renderer\n     * @param {?} element\n     * @param {?} id\n     * @param {?} command\n     * @param {?} args\n     * @return {?}\n     */\n\n\n    function issueAnimationCommand(renderer, element, id, command, args) {\n      return renderer.setProperty(element, \"@@\".concat(id, \":\").concat(command), args);\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var ANIMATION_PREFIX = '@';\n    /** @type {?} */\n\n    var DISABLE_ANIMATIONS_FLAG = '@.disabled';\n\n    var AnimationRendererFactory =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} delegate\n       * @param {?} engine\n       * @param {?} _zone\n       */\n      function AnimationRendererFactory(delegate, engine, _zone) {\n        _classCallCheck(this, AnimationRendererFactory);\n\n        this.delegate = delegate;\n        this.engine = engine;\n        this._zone = _zone;\n        this._currentId = 0;\n        this._microtaskId = 1;\n        this._animationCallbacksBuffer = [];\n        this._rendererCache = new Map();\n        this._cdRecurDepth = 0;\n        this.promise = Promise.resolve(0);\n\n        engine.onRemovalComplete =\n        /**\n        * @param {?} element\n        * @param {?} delegate\n        * @return {?}\n        */\n        function (element, delegate) {\n          // Note: if an component element has a leave animation, and the component\n          // a host leave animation, the view engine will call `removeChild` for the parent\n          // component renderer as well as for the child component renderer.\n          // Therefore, we need to check if we already removed the element.\n          if (delegate && delegate.parentNode(element)) {\n            delegate.removeChild(element.parentNode, element);\n          }\n        };\n      }\n      /**\n       * @param {?} hostElement\n       * @param {?} type\n       * @return {?}\n       */\n\n\n      _createClass2(AnimationRendererFactory, [{\n        key: \"createRenderer\",\n        value: function createRenderer(hostElement, type) {\n          var _this631 = this;\n\n          /** @type {?} */\n          var EMPTY_NAMESPACE_ID = ''; // cache the delegates to find out which cached delegate can\n          // be used by which cached renderer\n\n          /** @type {?} */\n\n          var delegate = this.delegate.createRenderer(hostElement, type);\n\n          if (!hostElement || !type || !type.data || !type.data['animation']) {\n            /** @type {?} */\n            var renderer = this._rendererCache.get(delegate);\n\n            if (!renderer) {\n              renderer = new BaseAnimationRenderer(EMPTY_NAMESPACE_ID, delegate, this.engine); // only cache this result when the base renderer is used\n\n              this._rendererCache.set(delegate, renderer);\n            }\n\n            return renderer;\n          }\n          /** @type {?} */\n\n\n          var componentId = type.id;\n          /** @type {?} */\n\n          var namespaceId = type.id + '-' + this._currentId;\n          this._currentId++;\n          this.engine.register(namespaceId, hostElement);\n          /** @type {?} */\n\n          var animationTriggers =\n          /** @type {?} */\n          type.data['animation'];\n          animationTriggers.forEach(\n          /**\n          * @param {?} trigger\n          * @return {?}\n          */\n          function (trigger) {\n            return _this631.engine.registerTrigger(componentId, namespaceId, hostElement, trigger.name, trigger);\n          });\n          return new AnimationRenderer(this, namespaceId, delegate, this.engine);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"begin\",\n        value: function begin() {\n          this._cdRecurDepth++;\n\n          if (this.delegate.begin) {\n            this.delegate.begin();\n          }\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"_scheduleCountTask\",\n        value: function _scheduleCountTask() {\n          var _this632 = this;\n\n          // always use promise to schedule microtask instead of use Zone\n          this.promise.then(\n          /**\n          * @return {?}\n          */\n          function () {\n            _this632._microtaskId++;\n          });\n        }\n        /**\n         * \\@internal\n         * @param {?} count\n         * @param {?} fn\n         * @param {?} data\n         * @return {?}\n         */\n\n      }, {\n        key: \"scheduleListenerCallback\",\n        value: function scheduleListenerCallback(count, fn, data) {\n          var _this633 = this;\n\n          if (count >= 0 && count < this._microtaskId) {\n            this._zone.run(\n            /**\n            * @return {?}\n            */\n            function () {\n              return fn(data);\n            });\n\n            return;\n          }\n\n          if (this._animationCallbacksBuffer.length == 0) {\n            Promise.resolve(null).then(\n            /**\n            * @return {?}\n            */\n            function () {\n              _this633._zone.run(\n              /**\n              * @return {?}\n              */\n              function () {\n                _this633._animationCallbacksBuffer.forEach(\n                /**\n                * @param {?} tuple\n                * @return {?}\n                */\n                function (tuple) {\n                  var _tuple2 = _slicedToArray(tuple, 2),\n                      fn = _tuple2[0],\n                      data = _tuple2[1];\n\n                  fn(data);\n                });\n\n                _this633._animationCallbacksBuffer = [];\n              });\n            });\n          }\n\n          this._animationCallbacksBuffer.push([fn, data]);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"end\",\n        value: function end() {\n          var _this634 = this;\n\n          this._cdRecurDepth--; // this is to prevent animations from running twice when an inner\n          // component does CD when a parent component instead has inserted it\n\n          if (this._cdRecurDepth == 0) {\n            this._zone.runOutsideAngular(\n            /**\n            * @return {?}\n            */\n            function () {\n              _this634._scheduleCountTask();\n\n              _this634.engine.flush(_this634._microtaskId);\n            });\n          }\n\n          if (this.delegate.end) {\n            this.delegate.end();\n          }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"whenRenderingDone\",\n        value: function whenRenderingDone() {\n          return this.engine.whenRenderingDone();\n        }\n      }]);\n\n      return AnimationRendererFactory;\n    }();\n\n    AnimationRendererFactory.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"]\n    }];\n    /** @nocollapse */\n\n    AnimationRendererFactory.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"RendererFactory2\"]\n      }, {\n        type: _angular_animations_browser__WEBPACK_IMPORTED_MODULE_3__[\"ɵAnimationEngine\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgZone\"]\n      }];\n    };\n\n    if (false) {}\n\n    var BaseAnimationRenderer =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} namespaceId\n       * @param {?} delegate\n       * @param {?} engine\n       */\n      function BaseAnimationRenderer(namespaceId, delegate, engine) {\n        _classCallCheck(this, BaseAnimationRenderer);\n\n        this.namespaceId = namespaceId;\n        this.delegate = delegate;\n        this.engine = engine;\n        this.destroyNode = this.delegate.destroyNode ?\n        /**\n        * @param {?} n\n        * @return {?}\n        */\n        function (n) {\n          return (\n            /** @type {?} */\n            delegate.destroyNode(n)\n          );\n        } : null;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(BaseAnimationRenderer, [{\n        key: \"destroy\",\n\n        /**\n         * @return {?}\n         */\n        value: function destroy() {\n          this.engine.destroy(this.namespaceId, this.delegate);\n          this.delegate.destroy();\n        }\n        /**\n         * @param {?} name\n         * @param {?=} namespace\n         * @return {?}\n         */\n\n      }, {\n        key: \"createElement\",\n        value: function createElement(name, namespace) {\n          return this.delegate.createElement(name, namespace);\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"createComment\",\n        value: function createComment(value) {\n          return this.delegate.createComment(value);\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"createText\",\n        value: function createText(value) {\n          return this.delegate.createText(value);\n        }\n        /**\n         * @param {?} parent\n         * @param {?} newChild\n         * @return {?}\n         */\n\n      }, {\n        key: \"appendChild\",\n        value: function appendChild(parent, newChild) {\n          this.delegate.appendChild(parent, newChild);\n          this.engine.onInsert(this.namespaceId, newChild, parent, false);\n        }\n        /**\n         * @param {?} parent\n         * @param {?} newChild\n         * @param {?} refChild\n         * @return {?}\n         */\n\n      }, {\n        key: \"insertBefore\",\n        value: function insertBefore(parent, newChild, refChild) {\n          this.delegate.insertBefore(parent, newChild, refChild);\n          this.engine.onInsert(this.namespaceId, newChild, parent, true);\n        }\n        /**\n         * @param {?} parent\n         * @param {?} oldChild\n         * @param {?} isHostElement\n         * @return {?}\n         */\n\n      }, {\n        key: \"removeChild\",\n        value: function removeChild(parent, oldChild, isHostElement) {\n          this.engine.onRemove(this.namespaceId, oldChild, this.delegate, isHostElement);\n        }\n        /**\n         * @param {?} selectorOrNode\n         * @param {?=} preserveContent\n         * @return {?}\n         */\n\n      }, {\n        key: \"selectRootElement\",\n        value: function selectRootElement(selectorOrNode, preserveContent) {\n          return this.delegate.selectRootElement(selectorOrNode, preserveContent);\n        }\n        /**\n         * @param {?} node\n         * @return {?}\n         */\n\n      }, {\n        key: \"parentNode\",\n        value: function parentNode(node) {\n          return this.delegate.parentNode(node);\n        }\n        /**\n         * @param {?} node\n         * @return {?}\n         */\n\n      }, {\n        key: \"nextSibling\",\n        value: function nextSibling(node) {\n          return this.delegate.nextSibling(node);\n        }\n        /**\n         * @param {?} el\n         * @param {?} name\n         * @param {?} value\n         * @param {?=} namespace\n         * @return {?}\n         */\n\n      }, {\n        key: \"setAttribute\",\n        value: function setAttribute(el, name, value, namespace) {\n          this.delegate.setAttribute(el, name, value, namespace);\n        }\n        /**\n         * @param {?} el\n         * @param {?} name\n         * @param {?=} namespace\n         * @return {?}\n         */\n\n      }, {\n        key: \"removeAttribute\",\n        value: function removeAttribute(el, name, namespace) {\n          this.delegate.removeAttribute(el, name, namespace);\n        }\n        /**\n         * @param {?} el\n         * @param {?} name\n         * @return {?}\n         */\n\n      }, {\n        key: \"addClass\",\n        value: function addClass(el, name) {\n          this.delegate.addClass(el, name);\n        }\n        /**\n         * @param {?} el\n         * @param {?} name\n         * @return {?}\n         */\n\n      }, {\n        key: \"removeClass\",\n        value: function removeClass(el, name) {\n          this.delegate.removeClass(el, name);\n        }\n        /**\n         * @param {?} el\n         * @param {?} style\n         * @param {?} value\n         * @param {?=} flags\n         * @return {?}\n         */\n\n      }, {\n        key: \"setStyle\",\n        value: function setStyle(el, style, value, flags) {\n          this.delegate.setStyle(el, style, value, flags);\n        }\n        /**\n         * @param {?} el\n         * @param {?} style\n         * @param {?=} flags\n         * @return {?}\n         */\n\n      }, {\n        key: \"removeStyle\",\n        value: function removeStyle(el, style, flags) {\n          this.delegate.removeStyle(el, style, flags);\n        }\n        /**\n         * @param {?} el\n         * @param {?} name\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"setProperty\",\n        value: function setProperty(el, name, value) {\n          if (name.charAt(0) == ANIMATION_PREFIX && name == DISABLE_ANIMATIONS_FLAG) {\n            this.disableAnimations(el, !!value);\n          } else {\n            this.delegate.setProperty(el, name, value);\n          }\n        }\n        /**\n         * @param {?} node\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"setValue\",\n        value: function setValue(node, value) {\n          this.delegate.setValue(node, value);\n        }\n        /**\n         * @param {?} target\n         * @param {?} eventName\n         * @param {?} callback\n         * @return {?}\n         */\n\n      }, {\n        key: \"listen\",\n        value: function listen(target, eventName, callback) {\n          return this.delegate.listen(target, eventName, callback);\n        }\n        /**\n         * @protected\n         * @param {?} element\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"disableAnimations\",\n        value: function disableAnimations(element, value) {\n          this.engine.disableAnimations(element, value);\n        }\n      }, {\n        key: \"data\",\n        get: function get() {\n          return this.delegate.data;\n        }\n      }]);\n\n      return BaseAnimationRenderer;\n    }();\n\n    if (false) {}\n\n    var AnimationRenderer =\n    /*#__PURE__*/\n    function (_BaseAnimationRendere) {\n      _inherits(AnimationRenderer, _BaseAnimationRendere);\n\n      /**\n       * @param {?} factory\n       * @param {?} namespaceId\n       * @param {?} delegate\n       * @param {?} engine\n       */\n      function AnimationRenderer(factory, namespaceId, delegate, engine) {\n        var _this635;\n\n        _classCallCheck(this, AnimationRenderer);\n\n        _this635 = _possibleConstructorReturn(this, _getPrototypeOf(AnimationRenderer).call(this, namespaceId, delegate, engine));\n        _this635.factory = factory;\n        _this635.namespaceId = namespaceId;\n        return _this635;\n      }\n      /**\n       * @param {?} el\n       * @param {?} name\n       * @param {?} value\n       * @return {?}\n       */\n\n\n      _createClass2(AnimationRenderer, [{\n        key: \"setProperty\",\n        value: function setProperty(el, name, value) {\n          if (name.charAt(0) == ANIMATION_PREFIX) {\n            if (name.charAt(1) == '.' && name == DISABLE_ANIMATIONS_FLAG) {\n              value = value === undefined ? true : !!value;\n              this.disableAnimations(el,\n              /** @type {?} */\n              value);\n            } else {\n              this.engine.process(this.namespaceId, el, name.substr(1), value);\n            }\n          } else {\n            this.delegate.setProperty(el, name, value);\n          }\n        }\n        /**\n         * @param {?} target\n         * @param {?} eventName\n         * @param {?} callback\n         * @return {?}\n         */\n\n      }, {\n        key: \"listen\",\n        value: function listen(target, eventName, callback) {\n          var _this636 = this;\n\n          if (eventName.charAt(0) == ANIMATION_PREFIX) {\n            /** @type {?} */\n            var element = resolveElementFromTarget(target);\n            /** @type {?} */\n\n            var name = eventName.substr(1);\n            /** @type {?} */\n\n            var phase = ''; // @listener.phase is for trigger animation callbacks\n            // @@listener is for animation builder callbacks\n\n            if (name.charAt(0) != ANIMATION_PREFIX) {\n              var _parseTriggerCallback = parseTriggerCallbackName(name);\n\n              var _parseTriggerCallback2 = _slicedToArray(_parseTriggerCallback, 2);\n\n              name = _parseTriggerCallback2[0];\n              phase = _parseTriggerCallback2[1];\n            }\n\n            return this.engine.listen(this.namespaceId, element, name, phase,\n            /**\n            * @param {?} event\n            * @return {?}\n            */\n            function (event) {\n              /** @type {?} */\n              var countId =\n              /** @type {?} */\n              event['_data'] || -1;\n\n              _this636.factory.scheduleListenerCallback(countId, callback, event);\n            });\n          }\n\n          return this.delegate.listen(target, eventName, callback);\n        }\n      }]);\n\n      return AnimationRenderer;\n    }(BaseAnimationRenderer);\n\n    if (false) {}\n    /**\n     * @param {?} target\n     * @return {?}\n     */\n\n\n    function resolveElementFromTarget(target) {\n      switch (target) {\n        case 'body':\n          return document.body;\n\n        case 'document':\n          return document;\n\n        case 'window':\n          return window;\n\n        default:\n          return target;\n      }\n    }\n    /**\n     * @param {?} triggerName\n     * @return {?}\n     */\n\n\n    function parseTriggerCallbackName(triggerName) {\n      /** @type {?} */\n      var dotIndex = triggerName.indexOf('.');\n      /** @type {?} */\n\n      var trigger = triggerName.substring(0, dotIndex);\n      /** @type {?} */\n\n      var phase = triggerName.substr(dotIndex + 1);\n      return [trigger, phase];\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n\n    var InjectableAnimationEngine =\n    /*#__PURE__*/\n    function (_angular_animations_b) {\n      _inherits(InjectableAnimationEngine, _angular_animations_b);\n\n      /**\n       * @param {?} doc\n       * @param {?} driver\n       * @param {?} normalizer\n       */\n      function InjectableAnimationEngine(doc, driver, normalizer) {\n        _classCallCheck(this, InjectableAnimationEngine);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(InjectableAnimationEngine).call(this, doc.body, driver, normalizer));\n      }\n\n      return InjectableAnimationEngine;\n    }(_angular_animations_browser__WEBPACK_IMPORTED_MODULE_3__[\"ɵAnimationEngine\"]);\n\n    InjectableAnimationEngine.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Injectable\"]\n    }];\n    /** @nocollapse */\n\n    InjectableAnimationEngine.ctorParameters = function () {\n      return [{\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"Inject\"],\n          args: [_angular_common__WEBPACK_IMPORTED_MODULE_4__[\"DOCUMENT\"]]\n        }]\n      }, {\n        type: _angular_animations_browser__WEBPACK_IMPORTED_MODULE_3__[\"AnimationDriver\"]\n      }, {\n        type: _angular_animations_browser__WEBPACK_IMPORTED_MODULE_3__[\"ɵAnimationStyleNormalizer\"]\n      }];\n    };\n    /**\n     * @return {?}\n     */\n\n\n    function instantiateSupportedAnimationDriver() {\n      return Object(_angular_animations_browser__WEBPACK_IMPORTED_MODULE_3__[\"ɵsupportsWebAnimations\"])() ? new _angular_animations_browser__WEBPACK_IMPORTED_MODULE_3__[\"ɵWebAnimationsDriver\"]() : new _angular_animations_browser__WEBPACK_IMPORTED_MODULE_3__[\"ɵCssKeyframesDriver\"]();\n    }\n    /**\n     * @return {?}\n     */\n\n\n    function instantiateDefaultStyleNormalizer() {\n      return new _angular_animations_browser__WEBPACK_IMPORTED_MODULE_3__[\"ɵWebAnimationsStyleNormalizer\"]();\n    }\n    /**\n     * @param {?} renderer\n     * @param {?} engine\n     * @param {?} zone\n     * @return {?}\n     */\n\n\n    function instantiateRendererFactory(renderer, engine, zone) {\n      return new AnimationRendererFactory(renderer, engine, zone);\n    }\n    /**\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var ANIMATION_MODULE_TYPE = new _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"InjectionToken\"]('AnimationModuleType');\n    /** @type {?} */\n\n    var SHARED_ANIMATION_PROVIDERS = [{\n      provide: _angular_animations__WEBPACK_IMPORTED_MODULE_2__[\"AnimationBuilder\"],\n      useClass: BrowserAnimationBuilder\n    }, {\n      provide: _angular_animations_browser__WEBPACK_IMPORTED_MODULE_3__[\"ɵAnimationStyleNormalizer\"],\n      useFactory: instantiateDefaultStyleNormalizer\n    }, {\n      provide: _angular_animations_browser__WEBPACK_IMPORTED_MODULE_3__[\"ɵAnimationEngine\"],\n      useClass: InjectableAnimationEngine\n    }, {\n      provide: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"RendererFactory2\"],\n      useFactory: instantiateRendererFactory,\n      deps: [_angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__[\"ɵDomRendererFactory2\"], _angular_animations_browser__WEBPACK_IMPORTED_MODULE_3__[\"ɵAnimationEngine\"], _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgZone\"]]\n    }];\n    /**\n     * Separate providers from the actual module so that we can do a local modification in Google3 to\n     * include them in the BrowserModule.\n     * @type {?}\n     */\n\n    var BROWSER_ANIMATIONS_PROVIDERS = [{\n      provide: _angular_animations_browser__WEBPACK_IMPORTED_MODULE_3__[\"AnimationDriver\"],\n      useFactory: instantiateSupportedAnimationDriver\n    }, {\n      provide: ANIMATION_MODULE_TYPE,\n      useValue: 'BrowserAnimations'\n    }].concat(SHARED_ANIMATION_PROVIDERS);\n    /**\n     * Separate providers from the actual module so that we can do a local modification in Google3 to\n     * include them in the BrowserTestingModule.\n     * @type {?}\n     */\n\n    var BROWSER_NOOP_ANIMATIONS_PROVIDERS = [{\n      provide: _angular_animations_browser__WEBPACK_IMPORTED_MODULE_3__[\"AnimationDriver\"],\n      useClass: _angular_animations_browser__WEBPACK_IMPORTED_MODULE_3__[\"ɵNoopAnimationDriver\"]\n    }, {\n      provide: ANIMATION_MODULE_TYPE,\n      useValue: 'NoopAnimations'\n    }].concat(SHARED_ANIMATION_PROVIDERS);\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Exports `BrowserModule` with additional [dependency-injection providers](guide/glossary#provider)\n     * for use with animations. See [Animations](guide/animations).\n     * \\@publicApi\n     */\n\n    var BrowserAnimationsModule = function BrowserAnimationsModule() {\n      _classCallCheck(this, BrowserAnimationsModule);\n    };\n\n    BrowserAnimationsModule.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"],\n      args: [{\n        exports: [_angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__[\"BrowserModule\"]],\n        providers: BROWSER_ANIMATIONS_PROVIDERS\n      }]\n    }];\n    /**\n     * A null player that must be imported to allow disabling of animations.\n     * \\@publicApi\n     */\n\n    var NoopAnimationsModule = function NoopAnimationsModule() {\n      _classCallCheck(this, NoopAnimationsModule);\n    };\n\n    NoopAnimationsModule.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__[\"NgModule\"],\n      args: [{\n        exports: [_angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__[\"BrowserModule\"]],\n        providers: BROWSER_NOOP_ANIMATIONS_PROVIDERS\n      }]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Generated bundle index. Do not edit.\n     */\n\n    /***/\n  },\n\n  /***/\n  \"./node_modules/@angular/platform-browser/fesm2015/platform-browser.js\":\n  /*!*****************************************************************************!*\\\n    !*** ./node_modules/@angular/platform-browser/fesm2015/platform-browser.js ***!\n    \\*****************************************************************************/\n\n  /*! exports provided: ɵangular_packages_platform_browser_platform_browser_c, ɵangular_packages_platform_browser_platform_browser_b, ɵangular_packages_platform_browser_platform_browser_a, ɵangular_packages_platform_browser_platform_browser_l, ɵangular_packages_platform_browser_platform_browser_d, ɵangular_packages_platform_browser_platform_browser_i, ɵangular_packages_platform_browser_platform_browser_h, ɵangular_packages_platform_browser_platform_browser_e, ɵangular_packages_platform_browser_platform_browser_f, ɵangular_packages_platform_browser_platform_browser_k, ɵangular_packages_platform_browser_platform_browser_j, ɵangular_packages_platform_browser_platform_browser_g, BrowserModule, platformBrowser, Meta, Title, disableDebugTools, enableDebugTools, BrowserTransferStateModule, TransferState, makeStateKey, By, EVENT_MANAGER_PLUGINS, EventManager, HAMMER_GESTURE_CONFIG, HAMMER_LOADER, HammerGestureConfig, DomSanitizer, VERSION, ɵELEMENT_PROBE_PROVIDERS__POST_R3__, ɵBROWSER_SANITIZATION_PROVIDERS, ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS, ɵinitDomAdapter, ɵBrowserDomAdapter, ɵBrowserPlatformLocation, ɵTRANSITION_ID, ɵBrowserGetTestability, ɵescapeHtml, ɵELEMENT_PROBE_PROVIDERS, ɵDomAdapter, ɵgetDOM, ɵsetRootDomAdapter, ɵDomRendererFactory2, ɵNAMESPACE_URIS, ɵflattenStyles, ɵshimContentAttribute, ɵshimHostAttribute, ɵDomEventsPlugin, ɵHammerGesturesPlugin, ɵKeyEventsPlugin, ɵDomSharedStylesHost, ɵSharedStylesHost, ɵDomSanitizerImpl */\n\n  /***/\n  function node_modulesAngularPlatformBrowserFesm2015PlatformBrowserJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_platform_browser_platform_browser_c\", function () {\n      return BROWSER_MODULE_PROVIDERS;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_platform_browser_platform_browser_b\", function () {\n      return _document;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_platform_browser_platform_browser_a\", function () {\n      return errorHandler;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_platform_browser_platform_browser_l\", function () {\n      return GenericBrowserDomAdapter;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_platform_browser_platform_browser_d\", function () {\n      return createMeta;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_platform_browser_platform_browser_i\", function () {\n      return SERVER_TRANSITION_PROVIDERS;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_platform_browser_platform_browser_h\", function () {\n      return appInitializerFactory;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_platform_browser_platform_browser_e\", function () {\n      return createTitle;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_platform_browser_platform_browser_f\", function () {\n      return initTransferState;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_platform_browser_platform_browser_k\", function () {\n      return ELEMENT_PROBE_PROVIDERS__PRE_R3__;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_platform_browser_platform_browser_j\", function () {\n      return _createNgProbe;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_platform_browser_platform_browser_g\", function () {\n      return EventManagerPlugin;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"BrowserModule\", function () {\n      return BrowserModule;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"platformBrowser\", function () {\n      return platformBrowser;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Meta\", function () {\n      return Meta;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Title\", function () {\n      return Title;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"disableDebugTools\", function () {\n      return disableDebugTools;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"enableDebugTools\", function () {\n      return enableDebugTools;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"BrowserTransferStateModule\", function () {\n      return BrowserTransferStateModule;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TransferState\", function () {\n      return TransferState;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"makeStateKey\", function () {\n      return makeStateKey;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"By\", function () {\n      return By;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"EVENT_MANAGER_PLUGINS\", function () {\n      return EVENT_MANAGER_PLUGINS;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"EventManager\", function () {\n      return EventManager;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"HAMMER_GESTURE_CONFIG\", function () {\n      return HAMMER_GESTURE_CONFIG;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"HAMMER_LOADER\", function () {\n      return HAMMER_LOADER;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"HammerGestureConfig\", function () {\n      return HammerGestureConfig;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DomSanitizer\", function () {\n      return DomSanitizer;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"VERSION\", function () {\n      return VERSION;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵELEMENT_PROBE_PROVIDERS__POST_R3__\", function () {\n      return ELEMENT_PROBE_PROVIDERS__POST_R3__;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵBROWSER_SANITIZATION_PROVIDERS\", function () {\n      return BROWSER_SANITIZATION_PROVIDERS;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS\", function () {\n      return INTERNAL_BROWSER_PLATFORM_PROVIDERS;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵinitDomAdapter\", function () {\n      return initDomAdapter;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵBrowserDomAdapter\", function () {\n      return BrowserDomAdapter;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵBrowserPlatformLocation\", function () {\n      return BrowserPlatformLocation;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵTRANSITION_ID\", function () {\n      return TRANSITION_ID;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵBrowserGetTestability\", function () {\n      return BrowserGetTestability;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵescapeHtml\", function () {\n      return escapeHtml;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵELEMENT_PROBE_PROVIDERS\", function () {\n      return ELEMENT_PROBE_PROVIDERS;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵDomAdapter\", function () {\n      return DomAdapter;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵgetDOM\", function () {\n      return getDOM;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵsetRootDomAdapter\", function () {\n      return setRootDomAdapter;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵDomRendererFactory2\", function () {\n      return DomRendererFactory2;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵNAMESPACE_URIS\", function () {\n      return NAMESPACE_URIS;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵflattenStyles\", function () {\n      return flattenStyles;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵshimContentAttribute\", function () {\n      return shimContentAttribute;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵshimHostAttribute\", function () {\n      return shimHostAttribute;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵDomEventsPlugin\", function () {\n      return DomEventsPlugin;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵHammerGesturesPlugin\", function () {\n      return HammerGesturesPlugin;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵKeyEventsPlugin\", function () {\n      return KeyEventsPlugin;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵDomSharedStylesHost\", function () {\n      return DomSharedStylesHost;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵSharedStylesHost\", function () {\n      return SharedStylesHost;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵDomSanitizerImpl\", function () {\n      return DomSanitizerImpl;\n    });\n    /* harmony import */\n\n\n    var _angular_common__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! @angular/common */\n    \"./node_modules/@angular/common/fesm2015/common.js\");\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /**\n     * @license Angular v8.2.14\n     * (c) 2010-2019 Google LLC. https://angular.io/\n     * License: MIT\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /** @type {?} */\n\n\n    var _DOM =\n    /** @type {?} */\n    null;\n    /**\n     * @return {?}\n     */\n\n    function getDOM() {\n      return _DOM;\n    }\n    /**\n     * @param {?} adapter\n     * @return {?}\n     */\n\n\n    function setDOM(adapter) {\n      _DOM = adapter;\n    }\n    /**\n     * @param {?} adapter\n     * @return {?}\n     */\n\n\n    function setRootDomAdapter(adapter) {\n      if (!_DOM) {\n        _DOM = adapter;\n      }\n    }\n    /* tslint:disable:requireParameterType */\n\n    /**\n     * Provides DOM operations in an environment-agnostic way.\n     *\n     * \\@security Tread carefully! Interacting with the DOM directly is dangerous and\n     * can introduce XSS risks.\n     * @abstract\n     */\n\n\n    var DomAdapter =\n    /*#__PURE__*/\n    function () {\n      function DomAdapter() {\n        _classCallCheck(this, DomAdapter);\n\n        this.resourceLoaderType =\n        /** @type {?} */\n        null;\n      }\n      /**\n       * Maps attribute names to their corresponding property names for cases\n       * where attribute name doesn't match property name.\n       * @return {?}\n       */\n\n\n      _createClass2(DomAdapter, [{\n        key: \"attrToPropMap\",\n        get: function get() {\n          return this._attrToPropMap;\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n        ,\n        set: function set(value) {\n          this._attrToPropMap = value;\n        }\n      }]);\n\n      return DomAdapter;\n    }();\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Provides DOM operations in any browser environment.\n     *\n     * \\@security Tread carefully! Interacting with the DOM directly is dangerous and\n     * can introduce XSS risks.\n     * @abstract\n     */\n\n\n    var GenericBrowserDomAdapter =\n    /*#__PURE__*/\n    function (_DomAdapter) {\n      _inherits(GenericBrowserDomAdapter, _DomAdapter);\n\n      function GenericBrowserDomAdapter() {\n        var _this637;\n\n        _classCallCheck(this, GenericBrowserDomAdapter);\n\n        _this637 = _possibleConstructorReturn(this, _getPrototypeOf(GenericBrowserDomAdapter).call(this));\n        _this637._animationPrefix = null;\n        _this637._transitionEnd = null;\n\n        try {\n          /** @type {?} */\n          var element = _this637.createElement('div', document);\n\n          if (_this637.getStyle(element, 'animationName') != null) {\n            _this637._animationPrefix = '';\n          } else {\n            /** @type {?} */\n            var domPrefixes = ['Webkit', 'Moz', 'O', 'ms'];\n\n            for (var i = 0; i < domPrefixes.length; i++) {\n              if (_this637.getStyle(element, domPrefixes[i] + 'AnimationName') != null) {\n                _this637._animationPrefix = '-' + domPrefixes[i].toLowerCase() + '-';\n                break;\n              }\n            }\n          }\n          /** @type {?} */\n\n\n          var transEndEventNames = {\n            WebkitTransition: 'webkitTransitionEnd',\n            MozTransition: 'transitionend',\n            OTransition: 'oTransitionEnd otransitionend',\n            transition: 'transitionend'\n          };\n          Object.keys(transEndEventNames).forEach(\n          /**\n          * @param {?} key\n          * @return {?}\n          */\n          function (key) {\n            if (_this637.getStyle(element, key) != null) {\n              _this637._transitionEnd = transEndEventNames[key];\n            }\n          });\n        } catch (_a) {\n          _this637._animationPrefix = null;\n          _this637._transitionEnd = null;\n        }\n\n        return _this637;\n      }\n      /**\n       * @param {?} el\n       * @return {?}\n       */\n\n\n      _createClass2(GenericBrowserDomAdapter, [{\n        key: \"getDistributedNodes\",\n        value: function getDistributedNodes(el) {\n          return (\n            /** @type {?} */\n            el.getDistributedNodes()\n          );\n        }\n        /**\n         * @param {?} el\n         * @param {?} baseUrl\n         * @param {?} href\n         * @return {?}\n         */\n\n      }, {\n        key: \"resolveAndSetHref\",\n        value: function resolveAndSetHref(el, baseUrl, href) {\n          el.href = href == null ? baseUrl : baseUrl + '/../' + href;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"supportsDOMEvents\",\n        value: function supportsDOMEvents() {\n          return true;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"supportsNativeShadowDOM\",\n        value: function supportsNativeShadowDOM() {\n          return typeof\n          /** @type {?} */\n          document.body.createShadowRoot === 'function';\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"getAnimationPrefix\",\n        value: function getAnimationPrefix() {\n          return this._animationPrefix ? this._animationPrefix : '';\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"getTransitionEnd\",\n        value: function getTransitionEnd() {\n          return this._transitionEnd ? this._transitionEnd : '';\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"supportsAnimation\",\n        value: function supportsAnimation() {\n          return this._animationPrefix != null && this._transitionEnd != null;\n        }\n      }]);\n\n      return GenericBrowserDomAdapter;\n    }(DomAdapter);\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var _attrToPropMap = {\n      'class': 'className',\n      'innerHtml': 'innerHTML',\n      'readonly': 'readOnly',\n      'tabindex': 'tabIndex'\n    };\n    /** @type {?} */\n\n    var DOM_KEY_LOCATION_NUMPAD = 3; // Map to convert some key or keyIdentifier values to what will be returned by getEventKey\n\n    /** @type {?} */\n\n    var _keyMap = {\n      // The following values are here for cross-browser compatibility and to match the W3C standard\n      // cf http://www.w3.org/TR/DOM-Level-3-Events-key/\n      '\\b': 'Backspace',\n      '\\t': 'Tab',\n      '\\x7F': 'Delete',\n      '\\x1B': 'Escape',\n      'Del': 'Delete',\n      'Esc': 'Escape',\n      'Left': 'ArrowLeft',\n      'Right': 'ArrowRight',\n      'Up': 'ArrowUp',\n      'Down': 'ArrowDown',\n      'Menu': 'ContextMenu',\n      'Scroll': 'ScrollLock',\n      'Win': 'OS'\n    }; // There is a bug in Chrome for numeric keypad keys:\n    // https://code.google.com/p/chromium/issues/detail?id=155654\n    // 1, 2, 3 ... are reported as A, B, C ...\n\n    /** @type {?} */\n\n    var _chromeNumKeyPadMap = {\n      'A': '1',\n      'B': '2',\n      'C': '3',\n      'D': '4',\n      'E': '5',\n      'F': '6',\n      'G': '7',\n      'H': '8',\n      'I': '9',\n      'J': '*',\n      'K': '+',\n      'M': '-',\n      'N': '.',\n      'O': '/',\n      '\\x60': '0',\n      '\\x90': 'NumLock'\n    };\n\n    var ɵ0 =\n    /**\n    * @return {?}\n    */\n    function ɵ0() {\n      if (_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵglobal\"]['Node']) {\n        return _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵglobal\"]['Node'].prototype.contains ||\n        /**\n        * @this {?}\n        * @param {?} node\n        * @return {?}\n        */\n        function (node) {\n          return !!(this.compareDocumentPosition(node) & 16);\n        };\n      }\n\n      return (\n        /** @type {?} */\n        undefined\n      );\n    };\n    /** @type {?} */\n\n\n    var nodeContains = ɵ0();\n    /**\n     * A `DomAdapter` powered by full browser DOM APIs.\n     *\n     * \\@security Tread carefully! Interacting with the DOM directly is dangerous and\n     * can introduce XSS risks.\n     */\n\n    /* tslint:disable:requireParameterType no-console */\n\n    var BrowserDomAdapter =\n    /*#__PURE__*/\n    function (_GenericBrowserDomAda) {\n      _inherits(BrowserDomAdapter, _GenericBrowserDomAda);\n\n      function BrowserDomAdapter() {\n        _classCallCheck(this, BrowserDomAdapter);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(BrowserDomAdapter).apply(this, arguments));\n      }\n\n      _createClass2(BrowserDomAdapter, [{\n        key: \"parse\",\n\n        /**\n         * @param {?} templateHtml\n         * @return {?}\n         */\n        value: function parse(templateHtml) {\n          throw new Error('parse not implemented');\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"hasProperty\",\n\n        /**\n         * @param {?} element\n         * @param {?} name\n         * @return {?}\n         */\n        value: function hasProperty(element, name) {\n          return name in element;\n        }\n        /**\n         * @param {?} el\n         * @param {?} name\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"setProperty\",\n        value: function setProperty(el, name, value) {\n          /** @type {?} */\n          el[name] = value;\n        }\n        /**\n         * @param {?} el\n         * @param {?} name\n         * @return {?}\n         */\n\n      }, {\n        key: \"getProperty\",\n        value: function getProperty(el, name) {\n          return (\n            /** @type {?} */\n            el[name]\n          );\n        }\n        /**\n         * @param {?} el\n         * @param {?} methodName\n         * @param {?} args\n         * @return {?}\n         */\n\n      }, {\n        key: \"invoke\",\n        value: function invoke(el, methodName, args) {\n          /** @type {?} */\n          el[methodName].apply(el, _toConsumableArray(args));\n        } // TODO(tbosch): move this into a separate environment class once we have it\n\n        /**\n         * @param {?} error\n         * @return {?}\n         */\n\n      }, {\n        key: \"logError\",\n        value: function logError(error) {\n          if (window.console) {\n            if (console.error) {\n              console.error(error);\n            } else {\n              console.log(error);\n            }\n          }\n        }\n        /**\n         * @param {?} error\n         * @return {?}\n         */\n\n      }, {\n        key: \"log\",\n        value: function log(error) {\n          if (window.console) {\n            window.console.log && window.console.log(error);\n          }\n        }\n        /**\n         * @param {?} error\n         * @return {?}\n         */\n\n      }, {\n        key: \"logGroup\",\n        value: function logGroup(error) {\n          if (window.console) {\n            window.console.group && window.console.group(error);\n          }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"logGroupEnd\",\n        value: function logGroupEnd() {\n          if (window.console) {\n            window.console.groupEnd && window.console.groupEnd();\n          }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"contains\",\n\n        /**\n         * @param {?} nodeA\n         * @param {?} nodeB\n         * @return {?}\n         */\n        value: function contains(nodeA, nodeB) {\n          return nodeContains.call(nodeA, nodeB);\n        }\n        /**\n         * @param {?} el\n         * @param {?} selector\n         * @return {?}\n         */\n\n      }, {\n        key: \"querySelector\",\n        value: function querySelector(el, selector) {\n          return el.querySelector(selector);\n        }\n        /**\n         * @param {?} el\n         * @param {?} selector\n         * @return {?}\n         */\n\n      }, {\n        key: \"querySelectorAll\",\n        value: function querySelectorAll(el, selector) {\n          return el.querySelectorAll(selector);\n        }\n        /**\n         * @param {?} el\n         * @param {?} evt\n         * @param {?} listener\n         * @return {?}\n         */\n\n      }, {\n        key: \"on\",\n        value: function on(el, evt, listener) {\n          el.addEventListener(evt, listener, false);\n        }\n        /**\n         * @param {?} el\n         * @param {?} evt\n         * @param {?} listener\n         * @return {?}\n         */\n\n      }, {\n        key: \"onAndCancel\",\n        value: function onAndCancel(el, evt, listener) {\n          el.addEventListener(evt, listener, false); // Needed to follow Dart's subscription semantic, until fix of\n          // https://code.google.com/p/dart/issues/detail?id=17406\n\n          return (\n            /**\n            * @return {?}\n            */\n            function () {\n              el.removeEventListener(evt, listener, false);\n            }\n          );\n        }\n        /**\n         * @param {?} el\n         * @param {?} evt\n         * @return {?}\n         */\n\n      }, {\n        key: \"dispatchEvent\",\n        value: function dispatchEvent(el, evt) {\n          el.dispatchEvent(evt);\n        }\n        /**\n         * @param {?} eventType\n         * @return {?}\n         */\n\n      }, {\n        key: \"createMouseEvent\",\n        value: function createMouseEvent(eventType) {\n          /** @type {?} */\n          var evt = this.getDefaultDocument().createEvent('MouseEvent');\n          evt.initEvent(eventType, true, true);\n          return evt;\n        }\n        /**\n         * @param {?} eventType\n         * @return {?}\n         */\n\n      }, {\n        key: \"createEvent\",\n        value: function createEvent(eventType) {\n          /** @type {?} */\n          var evt = this.getDefaultDocument().createEvent('Event');\n          evt.initEvent(eventType, true, true);\n          return evt;\n        }\n        /**\n         * @param {?} evt\n         * @return {?}\n         */\n\n      }, {\n        key: \"preventDefault\",\n        value: function preventDefault(evt) {\n          evt.preventDefault();\n          evt.returnValue = false;\n        }\n        /**\n         * @param {?} evt\n         * @return {?}\n         */\n\n      }, {\n        key: \"isPrevented\",\n        value: function isPrevented(evt) {\n          return evt.defaultPrevented || evt.returnValue != null && !evt.returnValue;\n        }\n        /**\n         * @param {?} el\n         * @return {?}\n         */\n\n      }, {\n        key: \"getInnerHTML\",\n        value: function getInnerHTML(el) {\n          return el.innerHTML;\n        }\n        /**\n         * @param {?} el\n         * @return {?}\n         */\n\n      }, {\n        key: \"getTemplateContent\",\n        value: function getTemplateContent(el) {\n          return 'content' in el && this.isTemplateElement(el) ?\n          /** @type {?} */\n          el.content : null;\n        }\n        /**\n         * @param {?} el\n         * @return {?}\n         */\n\n      }, {\n        key: \"getOuterHTML\",\n        value: function getOuterHTML(el) {\n          return el.outerHTML;\n        }\n        /**\n         * @param {?} node\n         * @return {?}\n         */\n\n      }, {\n        key: \"nodeName\",\n        value: function nodeName(node) {\n          return node.nodeName;\n        }\n        /**\n         * @param {?} node\n         * @return {?}\n         */\n\n      }, {\n        key: \"nodeValue\",\n        value: function nodeValue(node) {\n          return node.nodeValue;\n        }\n        /**\n         * @param {?} node\n         * @return {?}\n         */\n\n      }, {\n        key: \"type\",\n        value: function type(node) {\n          return node.type;\n        }\n        /**\n         * @param {?} node\n         * @return {?}\n         */\n\n      }, {\n        key: \"content\",\n        value: function content(node) {\n          if (this.hasProperty(node, 'content')) {\n            return (\n              /** @type {?} */\n              node.content\n            );\n          } else {\n            return node;\n          }\n        }\n        /**\n         * @param {?} el\n         * @return {?}\n         */\n\n      }, {\n        key: \"firstChild\",\n        value: function firstChild(el) {\n          return el.firstChild;\n        }\n        /**\n         * @param {?} el\n         * @return {?}\n         */\n\n      }, {\n        key: \"nextSibling\",\n        value: function nextSibling(el) {\n          return el.nextSibling;\n        }\n        /**\n         * @param {?} el\n         * @return {?}\n         */\n\n      }, {\n        key: \"parentElement\",\n        value: function parentElement(el) {\n          return el.parentNode;\n        }\n        /**\n         * @param {?} el\n         * @return {?}\n         */\n\n      }, {\n        key: \"childNodes\",\n        value: function childNodes(el) {\n          return el.childNodes;\n        }\n        /**\n         * @param {?} el\n         * @return {?}\n         */\n\n      }, {\n        key: \"childNodesAsList\",\n        value: function childNodesAsList(el) {\n          /** @type {?} */\n          var childNodes = el.childNodes;\n          /** @type {?} */\n\n          var res = new Array(childNodes.length);\n\n          for (var i = 0; i < childNodes.length; i++) {\n            res[i] = childNodes[i];\n          }\n\n          return res;\n        }\n        /**\n         * @param {?} el\n         * @return {?}\n         */\n\n      }, {\n        key: \"clearNodes\",\n        value: function clearNodes(el) {\n          while (el.firstChild) {\n            el.removeChild(el.firstChild);\n          }\n        }\n        /**\n         * @param {?} el\n         * @param {?} node\n         * @return {?}\n         */\n\n      }, {\n        key: \"appendChild\",\n        value: function appendChild(el, node) {\n          el.appendChild(node);\n        }\n        /**\n         * @param {?} el\n         * @param {?} node\n         * @return {?}\n         */\n\n      }, {\n        key: \"removeChild\",\n        value: function removeChild(el, node) {\n          el.removeChild(node);\n        }\n        /**\n         * @param {?} el\n         * @param {?} newChild\n         * @param {?} oldChild\n         * @return {?}\n         */\n\n      }, {\n        key: \"replaceChild\",\n        value: function replaceChild(el, newChild, oldChild) {\n          el.replaceChild(newChild, oldChild);\n        }\n        /**\n         * @param {?} node\n         * @return {?}\n         */\n\n      }, {\n        key: \"remove\",\n        value: function remove(node) {\n          if (node.parentNode) {\n            node.parentNode.removeChild(node);\n          }\n\n          return node;\n        }\n        /**\n         * @param {?} parent\n         * @param {?} ref\n         * @param {?} node\n         * @return {?}\n         */\n\n      }, {\n        key: \"insertBefore\",\n        value: function insertBefore(parent, ref, node) {\n          parent.insertBefore(node, ref);\n        }\n        /**\n         * @param {?} parent\n         * @param {?} ref\n         * @param {?} nodes\n         * @return {?}\n         */\n\n      }, {\n        key: \"insertAllBefore\",\n        value: function insertAllBefore(parent, ref, nodes) {\n          nodes.forEach(\n          /**\n          * @param {?} n\n          * @return {?}\n          */\n          function (n) {\n            return parent.insertBefore(n, ref);\n          });\n        }\n        /**\n         * @param {?} parent\n         * @param {?} ref\n         * @param {?} node\n         * @return {?}\n         */\n\n      }, {\n        key: \"insertAfter\",\n        value: function insertAfter(parent, ref, node) {\n          parent.insertBefore(node, ref.nextSibling);\n        }\n        /**\n         * @param {?} el\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"setInnerHTML\",\n        value: function setInnerHTML(el, value) {\n          el.innerHTML = value;\n        }\n        /**\n         * @param {?} el\n         * @return {?}\n         */\n\n      }, {\n        key: \"getText\",\n        value: function getText(el) {\n          return el.textContent;\n        }\n        /**\n         * @param {?} el\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"setText\",\n        value: function setText(el, value) {\n          el.textContent = value;\n        }\n        /**\n         * @param {?} el\n         * @return {?}\n         */\n\n      }, {\n        key: \"getValue\",\n        value: function getValue(el) {\n          return el.value;\n        }\n        /**\n         * @param {?} el\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"setValue\",\n        value: function setValue(el, value) {\n          el.value = value;\n        }\n        /**\n         * @param {?} el\n         * @return {?}\n         */\n\n      }, {\n        key: \"getChecked\",\n        value: function getChecked(el) {\n          return el.checked;\n        }\n        /**\n         * @param {?} el\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"setChecked\",\n        value: function setChecked(el, value) {\n          el.checked = value;\n        }\n        /**\n         * @param {?} text\n         * @return {?}\n         */\n\n      }, {\n        key: \"createComment\",\n        value: function createComment(text) {\n          return this.getDefaultDocument().createComment(text);\n        }\n        /**\n         * @param {?} html\n         * @return {?}\n         */\n\n      }, {\n        key: \"createTemplate\",\n        value: function createTemplate(html) {\n          /** @type {?} */\n          var t = this.getDefaultDocument().createElement('template');\n          t.innerHTML = html;\n          return t;\n        }\n        /**\n         * @param {?} tagName\n         * @param {?=} doc\n         * @return {?}\n         */\n\n      }, {\n        key: \"createElement\",\n        value: function createElement(tagName, doc) {\n          doc = doc || this.getDefaultDocument();\n          return doc.createElement(tagName);\n        }\n        /**\n         * @param {?} ns\n         * @param {?} tagName\n         * @param {?=} doc\n         * @return {?}\n         */\n\n      }, {\n        key: \"createElementNS\",\n        value: function createElementNS(ns, tagName, doc) {\n          doc = doc || this.getDefaultDocument();\n          return doc.createElementNS(ns, tagName);\n        }\n        /**\n         * @param {?} text\n         * @param {?=} doc\n         * @return {?}\n         */\n\n      }, {\n        key: \"createTextNode\",\n        value: function createTextNode(text, doc) {\n          doc = doc || this.getDefaultDocument();\n          return doc.createTextNode(text);\n        }\n        /**\n         * @param {?} attrName\n         * @param {?} attrValue\n         * @param {?=} doc\n         * @return {?}\n         */\n\n      }, {\n        key: \"createScriptTag\",\n        value: function createScriptTag(attrName, attrValue, doc) {\n          doc = doc || this.getDefaultDocument();\n          /** @type {?} */\n\n          var el =\n          /** @type {?} */\n          doc.createElement('SCRIPT');\n          el.setAttribute(attrName, attrValue);\n          return el;\n        }\n        /**\n         * @param {?} css\n         * @param {?=} doc\n         * @return {?}\n         */\n\n      }, {\n        key: \"createStyleElement\",\n        value: function createStyleElement(css, doc) {\n          doc = doc || this.getDefaultDocument();\n          /** @type {?} */\n\n          var style =\n          /** @type {?} */\n          doc.createElement('style');\n          this.appendChild(style, this.createTextNode(css, doc));\n          return style;\n        }\n        /**\n         * @param {?} el\n         * @return {?}\n         */\n\n      }, {\n        key: \"createShadowRoot\",\n        value: function createShadowRoot(el) {\n          return (\n            /** @type {?} */\n            el.createShadowRoot()\n          );\n        }\n        /**\n         * @param {?} el\n         * @return {?}\n         */\n\n      }, {\n        key: \"getShadowRoot\",\n        value: function getShadowRoot(el) {\n          return (\n            /** @type {?} */\n            el.shadowRoot\n          );\n        }\n        /**\n         * @param {?} el\n         * @return {?}\n         */\n\n      }, {\n        key: \"getHost\",\n        value: function getHost(el) {\n          return (\n            /** @type {?} */\n            el.host\n          );\n        }\n        /**\n         * @param {?} node\n         * @return {?}\n         */\n\n      }, {\n        key: \"clone\",\n        value: function clone(node) {\n          return node.cloneNode(true);\n        }\n        /**\n         * @param {?} element\n         * @param {?} name\n         * @return {?}\n         */\n\n      }, {\n        key: \"getElementsByClassName\",\n        value: function getElementsByClassName(element, name) {\n          return element.getElementsByClassName(name);\n        }\n        /**\n         * @param {?} element\n         * @param {?} name\n         * @return {?}\n         */\n\n      }, {\n        key: \"getElementsByTagName\",\n        value: function getElementsByTagName(element, name) {\n          return element.getElementsByTagName(name);\n        }\n        /**\n         * @param {?} element\n         * @return {?}\n         */\n\n      }, {\n        key: \"classList\",\n        value: function classList(element) {\n          return Array.prototype.slice.call(element.classList, 0);\n        }\n        /**\n         * @param {?} element\n         * @param {?} className\n         * @return {?}\n         */\n\n      }, {\n        key: \"addClass\",\n        value: function addClass(element, className) {\n          element.classList.add(className);\n        }\n        /**\n         * @param {?} element\n         * @param {?} className\n         * @return {?}\n         */\n\n      }, {\n        key: \"removeClass\",\n        value: function removeClass(element, className) {\n          element.classList.remove(className);\n        }\n        /**\n         * @param {?} element\n         * @param {?} className\n         * @return {?}\n         */\n\n      }, {\n        key: \"hasClass\",\n        value: function hasClass(element, className) {\n          return element.classList.contains(className);\n        }\n        /**\n         * @param {?} element\n         * @param {?} styleName\n         * @param {?} styleValue\n         * @return {?}\n         */\n\n      }, {\n        key: \"setStyle\",\n        value: function setStyle(element, styleName, styleValue) {\n          element.style[styleName] = styleValue;\n        }\n        /**\n         * @param {?} element\n         * @param {?} stylename\n         * @return {?}\n         */\n\n      }, {\n        key: \"removeStyle\",\n        value: function removeStyle(element, stylename) {\n          // IE requires '' instead of null\n          // see https://github.com/angular/angular/issues/7916\n          element.style[stylename] = '';\n        }\n        /**\n         * @param {?} element\n         * @param {?} stylename\n         * @return {?}\n         */\n\n      }, {\n        key: \"getStyle\",\n        value: function getStyle(element, stylename) {\n          return element.style[stylename];\n        }\n        /**\n         * @param {?} element\n         * @param {?} styleName\n         * @param {?=} styleValue\n         * @return {?}\n         */\n\n      }, {\n        key: \"hasStyle\",\n        value: function hasStyle(element, styleName, styleValue) {\n          /** @type {?} */\n          var value = this.getStyle(element, styleName) || '';\n          return styleValue ? value == styleValue : value.length > 0;\n        }\n        /**\n         * @param {?} element\n         * @return {?}\n         */\n\n      }, {\n        key: \"tagName\",\n        value: function tagName(element) {\n          return element.tagName;\n        }\n        /**\n         * @param {?} element\n         * @return {?}\n         */\n\n      }, {\n        key: \"attributeMap\",\n        value: function attributeMap(element) {\n          /** @type {?} */\n          var res = new Map();\n          /** @type {?} */\n\n          var elAttrs = element.attributes;\n\n          for (var i = 0; i < elAttrs.length; i++) {\n            /** @type {?} */\n            var attrib = elAttrs.item(i);\n            res.set(attrib.name, attrib.value);\n          }\n\n          return res;\n        }\n        /**\n         * @param {?} element\n         * @param {?} attribute\n         * @return {?}\n         */\n\n      }, {\n        key: \"hasAttribute\",\n        value: function hasAttribute(element, attribute) {\n          return element.hasAttribute(attribute);\n        }\n        /**\n         * @param {?} element\n         * @param {?} ns\n         * @param {?} attribute\n         * @return {?}\n         */\n\n      }, {\n        key: \"hasAttributeNS\",\n        value: function hasAttributeNS(element, ns, attribute) {\n          return element.hasAttributeNS(ns, attribute);\n        }\n        /**\n         * @param {?} element\n         * @param {?} attribute\n         * @return {?}\n         */\n\n      }, {\n        key: \"getAttribute\",\n        value: function getAttribute(element, attribute) {\n          return element.getAttribute(attribute);\n        }\n        /**\n         * @param {?} element\n         * @param {?} ns\n         * @param {?} name\n         * @return {?}\n         */\n\n      }, {\n        key: \"getAttributeNS\",\n        value: function getAttributeNS(element, ns, name) {\n          return element.getAttributeNS(ns, name);\n        }\n        /**\n         * @param {?} element\n         * @param {?} name\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"setAttribute\",\n        value: function setAttribute(element, name, value) {\n          element.setAttribute(name, value);\n        }\n        /**\n         * @param {?} element\n         * @param {?} ns\n         * @param {?} name\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"setAttributeNS\",\n        value: function setAttributeNS(element, ns, name, value) {\n          element.setAttributeNS(ns, name, value);\n        }\n        /**\n         * @param {?} element\n         * @param {?} attribute\n         * @return {?}\n         */\n\n      }, {\n        key: \"removeAttribute\",\n        value: function removeAttribute(element, attribute) {\n          element.removeAttribute(attribute);\n        }\n        /**\n         * @param {?} element\n         * @param {?} ns\n         * @param {?} name\n         * @return {?}\n         */\n\n      }, {\n        key: \"removeAttributeNS\",\n        value: function removeAttributeNS(element, ns, name) {\n          element.removeAttributeNS(ns, name);\n        }\n        /**\n         * @param {?} el\n         * @return {?}\n         */\n\n      }, {\n        key: \"templateAwareRoot\",\n        value: function templateAwareRoot(el) {\n          return this.isTemplateElement(el) ? this.content(el) : el;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"createHtmlDocument\",\n        value: function createHtmlDocument() {\n          return document.implementation.createHTMLDocument('fakeTitle');\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"getDefaultDocument\",\n        value: function getDefaultDocument() {\n          return document;\n        }\n        /**\n         * @param {?} el\n         * @return {?}\n         */\n\n      }, {\n        key: \"getBoundingClientRect\",\n        value: function getBoundingClientRect(el) {\n          try {\n            return el.getBoundingClientRect();\n          } catch (_a) {\n            return {\n              top: 0,\n              bottom: 0,\n              left: 0,\n              right: 0,\n              width: 0,\n              height: 0\n            };\n          }\n        }\n        /**\n         * @param {?} doc\n         * @return {?}\n         */\n\n      }, {\n        key: \"getTitle\",\n        value: function getTitle(doc) {\n          return doc.title;\n        }\n        /**\n         * @param {?} doc\n         * @param {?} newTitle\n         * @return {?}\n         */\n\n      }, {\n        key: \"setTitle\",\n        value: function setTitle(doc, newTitle) {\n          doc.title = newTitle || '';\n        }\n        /**\n         * @param {?} n\n         * @param {?} selector\n         * @return {?}\n         */\n\n      }, {\n        key: \"elementMatches\",\n        value: function elementMatches(n, selector) {\n          if (this.isElementNode(n)) {\n            return n.matches && n.matches(selector) || n.msMatchesSelector && n.msMatchesSelector(selector) || n.webkitMatchesSelector && n.webkitMatchesSelector(selector);\n          }\n\n          return false;\n        }\n        /**\n         * @param {?} el\n         * @return {?}\n         */\n\n      }, {\n        key: \"isTemplateElement\",\n        value: function isTemplateElement(el) {\n          return this.isElementNode(el) && el.nodeName === 'TEMPLATE';\n        }\n        /**\n         * @param {?} node\n         * @return {?}\n         */\n\n      }, {\n        key: \"isTextNode\",\n        value: function isTextNode(node) {\n          return node.nodeType === Node.TEXT_NODE;\n        }\n        /**\n         * @param {?} node\n         * @return {?}\n         */\n\n      }, {\n        key: \"isCommentNode\",\n        value: function isCommentNode(node) {\n          return node.nodeType === Node.COMMENT_NODE;\n        }\n        /**\n         * @param {?} node\n         * @return {?}\n         */\n\n      }, {\n        key: \"isElementNode\",\n        value: function isElementNode(node) {\n          return node.nodeType === Node.ELEMENT_NODE;\n        }\n        /**\n         * @param {?} node\n         * @return {?}\n         */\n\n      }, {\n        key: \"hasShadowRoot\",\n        value: function hasShadowRoot(node) {\n          return node.shadowRoot != null && node instanceof HTMLElement;\n        }\n        /**\n         * @param {?} node\n         * @return {?}\n         */\n\n      }, {\n        key: \"isShadowRoot\",\n        value: function isShadowRoot(node) {\n          return node instanceof DocumentFragment;\n        }\n        /**\n         * @param {?} node\n         * @return {?}\n         */\n\n      }, {\n        key: \"importIntoDoc\",\n        value: function importIntoDoc(node) {\n          return document.importNode(this.templateAwareRoot(node), true);\n        }\n        /**\n         * @param {?} node\n         * @return {?}\n         */\n\n      }, {\n        key: \"adoptNode\",\n        value: function adoptNode(node) {\n          return document.adoptNode(node);\n        }\n        /**\n         * @param {?} el\n         * @return {?}\n         */\n\n      }, {\n        key: \"getHref\",\n        value: function getHref(el) {\n          return (\n            /** @type {?} */\n            el.getAttribute('href')\n          );\n        }\n        /**\n         * @param {?} event\n         * @return {?}\n         */\n\n      }, {\n        key: \"getEventKey\",\n        value: function getEventKey(event) {\n          /** @type {?} */\n          var key = event.key;\n\n          if (key == null) {\n            key = event.keyIdentifier; // keyIdentifier is defined in the old draft of DOM Level 3 Events implemented by Chrome and\n            // Safari cf\n            // http://www.w3.org/TR/2007/WD-DOM-Level-3-Events-20071221/events.html#Events-KeyboardEvents-Interfaces\n\n            if (key == null) {\n              return 'Unidentified';\n            }\n\n            if (key.startsWith('U+')) {\n              key = String.fromCharCode(parseInt(key.substring(2), 16));\n\n              if (event.location === DOM_KEY_LOCATION_NUMPAD && _chromeNumKeyPadMap.hasOwnProperty(key)) {\n                // There is a bug in Chrome for numeric keypad keys:\n                // https://code.google.com/p/chromium/issues/detail?id=155654\n                // 1, 2, 3 ... are reported as A, B, C ...\n                key =\n                /** @type {?} */\n                _chromeNumKeyPadMap[key];\n              }\n            }\n          }\n\n          return _keyMap[key] || key;\n        }\n        /**\n         * @param {?} doc\n         * @param {?} target\n         * @return {?}\n         */\n\n      }, {\n        key: \"getGlobalEventTarget\",\n        value: function getGlobalEventTarget(doc, target) {\n          if (target === 'window') {\n            return window;\n          }\n\n          if (target === 'document') {\n            return doc;\n          }\n\n          if (target === 'body') {\n            return doc.body;\n          }\n\n          return null;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"getHistory\",\n        value: function getHistory() {\n          return window.history;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"getLocation\",\n        value: function getLocation() {\n          return window.location;\n        }\n        /**\n         * @param {?} doc\n         * @return {?}\n         */\n\n      }, {\n        key: \"getBaseHref\",\n        value: function getBaseHref(doc) {\n          /** @type {?} */\n          var href = getBaseElementHref();\n          return href == null ? null : relativePath(href);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"resetBaseElement\",\n        value: function resetBaseElement() {\n          baseElement = null;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"getUserAgent\",\n        value: function getUserAgent() {\n          return window.navigator.userAgent;\n        }\n        /**\n         * @param {?} element\n         * @param {?} name\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"setData\",\n        value: function setData(element, name, value) {\n          this.setAttribute(element, 'data-' + name, value);\n        }\n        /**\n         * @param {?} element\n         * @param {?} name\n         * @return {?}\n         */\n\n      }, {\n        key: \"getData\",\n        value: function getData(element, name) {\n          return this.getAttribute(element, 'data-' + name);\n        }\n        /**\n         * @param {?} element\n         * @return {?}\n         */\n\n      }, {\n        key: \"getComputedStyle\",\n        value: function (_getComputedStyle) {\n          function getComputedStyle(_x) {\n            return _getComputedStyle.apply(this, arguments);\n          }\n\n          getComputedStyle.toString = function () {\n            return _getComputedStyle.toString();\n          };\n\n          return getComputedStyle;\n        }(function (element) {\n          return getComputedStyle(element);\n        }) // TODO(tbosch): move this into a separate environment class once we have it\n\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"supportsWebAnimation\",\n        value: function supportsWebAnimation() {\n          return typeof\n          /** @type {?} */\n          Element.prototype['animate'] === 'function';\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"performanceNow\",\n        value: function performanceNow() {\n          // performance.now() is not available in all browsers, see\n          // http://caniuse.com/#search=performance.now\n          return window.performance && window.performance.now ? window.performance.now() : new Date().getTime();\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"supportsCookies\",\n        value: function supportsCookies() {\n          return true;\n        }\n        /**\n         * @param {?} name\n         * @return {?}\n         */\n\n      }, {\n        key: \"getCookie\",\n        value: function getCookie(name) {\n          return Object(_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"ɵparseCookieValue\"])(document.cookie, name);\n        }\n        /**\n         * @param {?} name\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"setCookie\",\n        value: function setCookie(name, value) {\n          // document.cookie is magical, assigning into it assigns/overrides one cookie value, but does\n          // not clear other cookies.\n          document.cookie = encodeURIComponent(name) + '=' + encodeURIComponent(value);\n        }\n      }, {\n        key: \"attrToPropMap\",\n        get: function get() {\n          return _attrToPropMap;\n        }\n      }], [{\n        key: \"makeCurrent\",\n        value: function makeCurrent() {\n          setRootDomAdapter(new BrowserDomAdapter());\n        }\n      }]);\n\n      return BrowserDomAdapter;\n    }(GenericBrowserDomAdapter);\n    /** @type {?} */\n\n\n    var baseElement = null;\n    /**\n     * @return {?}\n     */\n\n    function getBaseElementHref() {\n      if (!baseElement) {\n        baseElement =\n        /** @type {?} */\n        document.querySelector('base');\n\n        if (!baseElement) {\n          return null;\n        }\n      }\n\n      return baseElement.getAttribute('href');\n    } // based on urlUtils.js in AngularJS 1\n\n    /** @type {?} */\n\n\n    var urlParsingNode;\n    /**\n     * @param {?} url\n     * @return {?}\n     */\n\n    function relativePath(url) {\n      if (!urlParsingNode) {\n        urlParsingNode = document.createElement('a');\n      }\n\n      urlParsingNode.setAttribute('href', url);\n      return urlParsingNode.pathname.charAt(0) === '/' ? urlParsingNode.pathname : '/' + urlParsingNode.pathname;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * @return {?}\n     */\n\n\n    function supportsState() {\n      return !!window.history.pushState;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * `PlatformLocation` encapsulates all of the direct calls to platform APIs.\n     * This class should not be used directly by an application developer. Instead, use\n     * {\\@link Location}.\n     */\n\n\n    var BrowserPlatformLocation =\n    /*#__PURE__*/\n    function (_angular_common__WEBP) {\n      _inherits(BrowserPlatformLocation, _angular_common__WEBP);\n\n      /**\n       * @param {?} _doc\n       */\n      function BrowserPlatformLocation(_doc) {\n        var _this638;\n\n        _classCallCheck(this, BrowserPlatformLocation);\n\n        _this638 = _possibleConstructorReturn(this, _getPrototypeOf(BrowserPlatformLocation).call(this));\n        _this638._doc = _doc;\n\n        _this638._init();\n\n        return _this638;\n      } // This is moved to its own method so that `MockPlatformLocationStrategy` can overwrite it\n\n      /**\n       * \\@internal\n       * @return {?}\n       */\n\n\n      _createClass2(BrowserPlatformLocation, [{\n        key: \"_init\",\n        value: function _init() {\n          /** @type {?} */\n          this.location = getDOM().getLocation();\n          this._history = getDOM().getHistory();\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"getBaseHrefFromDOM\",\n        value: function getBaseHrefFromDOM() {\n          return (\n            /** @type {?} */\n            getDOM().getBaseHref(this._doc)\n          );\n        }\n        /**\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"onPopState\",\n        value: function onPopState(fn) {\n          getDOM().getGlobalEventTarget(this._doc, 'window').addEventListener('popstate', fn, false);\n        }\n        /**\n         * @param {?} fn\n         * @return {?}\n         */\n\n      }, {\n        key: \"onHashChange\",\n        value: function onHashChange(fn) {\n          getDOM().getGlobalEventTarget(this._doc, 'window').addEventListener('hashchange', fn, false);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"pushState\",\n\n        /**\n         * @param {?} state\n         * @param {?} title\n         * @param {?} url\n         * @return {?}\n         */\n        value: function pushState(state, title, url) {\n          if (supportsState()) {\n            this._history.pushState(state, title, url);\n          } else {\n            this.location.hash = url;\n          }\n        }\n        /**\n         * @param {?} state\n         * @param {?} title\n         * @param {?} url\n         * @return {?}\n         */\n\n      }, {\n        key: \"replaceState\",\n        value: function replaceState(state, title, url) {\n          if (supportsState()) {\n            this._history.replaceState(state, title, url);\n          } else {\n            this.location.hash = url;\n          }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"forward\",\n        value: function forward() {\n          this._history.forward();\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"back\",\n        value: function back() {\n          this._history.back();\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"getState\",\n        value: function getState() {\n          return this._history.state;\n        }\n      }, {\n        key: \"href\",\n        get: function get() {\n          return this.location.href;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"protocol\",\n        get: function get() {\n          return this.location.protocol;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"hostname\",\n        get: function get() {\n          return this.location.hostname;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"port\",\n        get: function get() {\n          return this.location.port;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"pathname\",\n        get: function get() {\n          return this.location.pathname;\n        }\n        /**\n         * @return {?}\n         */\n        ,\n\n        /**\n         * @param {?} newPath\n         * @return {?}\n         */\n        set: function set(newPath) {\n          this.location.pathname = newPath;\n        }\n      }, {\n        key: \"search\",\n        get: function get() {\n          return this.location.search;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"hash\",\n        get: function get() {\n          return this.location.hash;\n        }\n      }]);\n\n      return BrowserPlatformLocation;\n    }(_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"PlatformLocation\"]);\n\n    BrowserPlatformLocation.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"]\n    }];\n    /** @nocollapse */\n\n    BrowserPlatformLocation.ctorParameters = function () {\n      return [{\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"],\n          args: [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"]]\n        }]\n      }];\n    };\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * An id that identifies a particular application being bootstrapped, that should\n     * match across the client/server boundary.\n     * @type {?}\n     */\n\n\n    var TRANSITION_ID = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"InjectionToken\"]('TRANSITION_ID');\n    /**\n     * @param {?} transitionId\n     * @param {?} document\n     * @param {?} injector\n     * @return {?}\n     */\n\n    function appInitializerFactory(transitionId, document, injector) {\n      return (\n        /**\n        * @return {?}\n        */\n        function () {\n          // Wait for all application initializers to be completed before removing the styles set by\n          // the server.\n          injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ApplicationInitStatus\"]).donePromise.then(\n          /**\n          * @return {?}\n          */\n          function () {\n            /** @type {?} */\n            var dom = getDOM();\n            /** @type {?} */\n\n            var styles = Array.prototype.slice.apply(dom.querySelectorAll(document, \"style[ng-transition]\"));\n            styles.filter(\n            /**\n            * @param {?} el\n            * @return {?}\n            */\n            function (el) {\n              return dom.getAttribute(el, 'ng-transition') === transitionId;\n            }).forEach(\n            /**\n            * @param {?} el\n            * @return {?}\n            */\n            function (el) {\n              return dom.remove(el);\n            });\n          });\n        }\n      );\n    }\n    /** @type {?} */\n\n\n    var SERVER_TRANSITION_PROVIDERS = [{\n      provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"APP_INITIALIZER\"],\n      useFactory: appInitializerFactory,\n      deps: [TRANSITION_ID, _angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"], _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injector\"]],\n      multi: true\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    var BrowserGetTestability =\n    /*#__PURE__*/\n    function () {\n      function BrowserGetTestability() {\n        _classCallCheck(this, BrowserGetTestability);\n      }\n\n      _createClass2(BrowserGetTestability, [{\n        key: \"addToWindow\",\n\n        /**\n         * @param {?} registry\n         * @return {?}\n         */\n        value: function addToWindow(registry) {\n          _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵglobal\"]['getAngularTestability'] =\n          /**\n          * @param {?} elem\n          * @param {?=} findInAncestors\n          * @return {?}\n          */\n          function (elem) {\n            var findInAncestors = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n\n            /** @type {?} */\n            var testability = registry.findTestabilityInTree(elem, findInAncestors);\n\n            if (testability == null) {\n              throw new Error('Could not find testability for element.');\n            }\n\n            return testability;\n          };\n\n          _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵglobal\"]['getAllAngularTestabilities'] =\n          /**\n          * @return {?}\n          */\n          function () {\n            return registry.getAllTestabilities();\n          };\n\n          _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵglobal\"]['getAllAngularRootElements'] =\n          /**\n          * @return {?}\n          */\n          function () {\n            return registry.getAllRootElements();\n          };\n          /** @type {?} */\n\n\n          var whenAllStable =\n          /**\n          * @param {?} callback\n          * @return {?}\n          */\n          function whenAllStable(callback\n          /** TODO #9100 */\n          ) {\n            /** @type {?} */\n            var testabilities = _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵglobal\"]['getAllAngularTestabilities']();\n            /** @type {?} */\n\n\n            var count = testabilities.length;\n            /** @type {?} */\n\n            var didWork = false;\n            /** @type {?} */\n\n            var decrement =\n            /**\n            * @param {?} didWork_\n            * @return {?}\n            */\n            function decrement(didWork_\n            /** TODO #9100 */\n            ) {\n              didWork = didWork || didWork_;\n              count--;\n\n              if (count == 0) {\n                callback(didWork);\n              }\n            };\n\n            testabilities.forEach(\n            /**\n            * @param {?} testability\n            * @return {?}\n            */\n            function (testability\n            /** TODO #9100 */\n            ) {\n              testability.whenStable(decrement);\n            });\n          };\n\n          if (!_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵglobal\"]['frameworkStabilizers']) {\n            _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵglobal\"]['frameworkStabilizers'] = [];\n          }\n\n          _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵglobal\"]['frameworkStabilizers'].push(whenAllStable);\n        }\n        /**\n         * @param {?} registry\n         * @param {?} elem\n         * @param {?} findInAncestors\n         * @return {?}\n         */\n\n      }, {\n        key: \"findTestabilityInTree\",\n        value: function findTestabilityInTree(registry, elem, findInAncestors) {\n          if (elem == null) {\n            return null;\n          }\n          /** @type {?} */\n\n\n          var t = registry.getTestability(elem);\n\n          if (t != null) {\n            return t;\n          } else if (!findInAncestors) {\n            return null;\n          }\n\n          if (getDOM().isShadowRoot(elem)) {\n            return this.findTestabilityInTree(registry, getDOM().getHost(elem), true);\n          }\n\n          return this.findTestabilityInTree(registry, getDOM().parentElement(elem), true);\n        }\n      }], [{\n        key: \"init\",\n\n        /**\n         * @return {?}\n         */\n        value: function init() {\n          Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"setTestabilityGetter\"])(new BrowserGetTestability());\n        }\n      }]);\n\n      return BrowserGetTestability;\n    }();\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var CAMEL_CASE_REGEXP = /([A-Z])/g;\n    /** @type {?} */\n\n    var DASH_CASE_REGEXP = /-([a-z])/g;\n    /**\n     * @param {?} input\n     * @return {?}\n     */\n\n    function camelCaseToDashCase(input) {\n      return input.replace(CAMEL_CASE_REGEXP,\n      /**\n      * @param {...?} m\n      * @return {?}\n      */\n      function () {\n        for (var _len36 = arguments.length, m = new Array(_len36), _key38 = 0; _key38 < _len36; _key38++) {\n          m[_key38] = arguments[_key38];\n        }\n\n        return '-' + m[1].toLowerCase();\n      });\n    }\n    /**\n     * @param {?} input\n     * @return {?}\n     */\n\n\n    function dashCaseToCamelCase(input) {\n      return input.replace(DASH_CASE_REGEXP,\n      /**\n      * @param {...?} m\n      * @return {?}\n      */\n      function () {\n        for (var _len37 = arguments.length, m = new Array(_len37), _key39 = 0; _key39 < _len37; _key39++) {\n          m[_key39] = arguments[_key39];\n        }\n\n        return m[1].toUpperCase();\n      });\n    }\n    /**\n     * Exports the value under a given `name` in the global property `ng`. For example `ng.probe` if\n     * `name` is `'probe'`.\n     * @param {?} name Name under which it will be exported. Keep in mind this will be a property of the\n     * global `ng` object.\n     * @param {?} value The value to export.\n     * @return {?}\n     */\n\n\n    function exportNgVar(name, value) {\n      if (typeof COMPILED === 'undefined' || !COMPILED) {\n        // Note: we can't export `ng` when using closure enhanced optimization as:\n        // - closure declares globals itself for minified names, which sometimes clobber our `ng` global\n        // - we can't declare a closure extern as the namespace `ng` is already used within Google\n        //   for typings for angularJS (via `goog.provide('ng....')`).\n\n        /** @type {?} */\n        var ng = _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵglobal\"]['ng'] =\n        /** @type {?} */\n        _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵglobal\"]['ng'] || {};\n        ng[name] = value;\n      }\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n\n    var ɵ0$1 =\n    /**\n    * @return {?}\n    */\n    function ɵ0$1() {\n      return {\n        'ApplicationRef': _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ApplicationRef\"],\n        'NgZone': _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgZone\"]\n      };\n    };\n    /** @type {?} */\n\n\n    var CORE_TOKENS = ɵ0$1();\n    /** @type {?} */\n\n    var INSPECT_GLOBAL_NAME = 'probe';\n    /** @type {?} */\n\n    var CORE_TOKENS_GLOBAL_NAME = 'coreTokens';\n    /**\n     * Returns a {\\@link DebugElement} for the given native DOM element, or\n     * null if the given native element does not have an Angular view associated\n     * with it.\n     * @param {?} element\n     * @return {?}\n     */\n\n    function inspectNativeElement(element) {\n      return Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"getDebugNode\"])(element);\n    }\n    /**\n     * @param {?} coreTokens\n     * @return {?}\n     */\n\n\n    function _createNgProbe(coreTokens) {\n      exportNgVar(INSPECT_GLOBAL_NAME, inspectNativeElement);\n      exportNgVar(CORE_TOKENS_GLOBAL_NAME, Object.assign({}, CORE_TOKENS, _ngProbeTokensToMap(coreTokens || [])));\n      return (\n        /**\n        * @return {?}\n        */\n        function () {\n          return inspectNativeElement;\n        }\n      );\n    }\n    /**\n     * @param {?} tokens\n     * @return {?}\n     */\n\n\n    function _ngProbeTokensToMap(tokens) {\n      return tokens.reduce(\n      /**\n      * @param {?} prev\n      * @param {?} t\n      * @return {?}\n      */\n      function (prev, t) {\n        return prev[t.name] = t.token, prev;\n      }, {});\n    }\n    /**\n     * In Ivy, we don't support NgProbe because we have our own set of testing utilities\n     * with more robust functionality.\n     *\n     * We shouldn't bring in NgProbe because it prevents DebugNode and friends from\n     * tree-shaking properly.\n     * @type {?}\n     */\n\n\n    var ELEMENT_PROBE_PROVIDERS__POST_R3__ = [];\n    /**\n     * Providers which support debugging Angular applications (e.g. via `ng.probe`).\n     * @type {?}\n     */\n\n    var ELEMENT_PROBE_PROVIDERS__PRE_R3__ = [{\n      provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"APP_INITIALIZER\"],\n      useFactory: _createNgProbe,\n      deps: [[_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgProbeToken\"], new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"]()]],\n      multi: true\n    }];\n    /** @type {?} */\n\n    var ELEMENT_PROBE_PROVIDERS = ELEMENT_PROBE_PROVIDERS__PRE_R3__;\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * The injection token for the event-manager plug-in service.\n     *\n     * \\@publicApi\n     * @type {?}\n     */\n\n    var EVENT_MANAGER_PLUGINS = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"InjectionToken\"]('EventManagerPlugins');\n    /**\n     * An injectable service that provides event management for Angular\n     * through a browser plug-in.\n     *\n     * \\@publicApi\n     */\n\n    var EventManager =\n    /*#__PURE__*/\n    function () {\n      /**\n       * Initializes an instance of the event-manager service.\n       * @param {?} plugins\n       * @param {?} _zone\n       */\n      function EventManager(plugins, _zone) {\n        var _this639 = this;\n\n        _classCallCheck(this, EventManager);\n\n        this._zone = _zone;\n        this._eventNameToPlugin = new Map();\n        plugins.forEach(\n        /**\n        * @template THIS\n        * @this {THIS}\n        * @param {?} p\n        * @return {THIS}\n        */\n        function (p) {\n          return p.manager = _this639;\n        });\n        this._plugins = plugins.slice().reverse();\n      }\n      /**\n       * Registers a handler for a specific element and event.\n       *\n       * @param {?} element The HTML element to receive event notifications.\n       * @param {?} eventName The name of the event to listen for.\n       * @param {?} handler A function to call when the notification occurs. Receives the\n       * event object as an argument.\n       * @return {?} A callback function that can be used to remove the handler.\n       */\n\n\n      _createClass2(EventManager, [{\n        key: \"addEventListener\",\n        value: function addEventListener(element, eventName, handler) {\n          /** @type {?} */\n          var plugin = this._findPluginFor(eventName);\n\n          return plugin.addEventListener(element, eventName, handler);\n        }\n        /**\n         * Registers a global handler for an event in a target view.\n         *\n         * @param {?} target A target for global event notifications. One of \"window\", \"document\", or \"body\".\n         * @param {?} eventName The name of the event to listen for.\n         * @param {?} handler A function to call when the notification occurs. Receives the\n         * event object as an argument.\n         * @return {?} A callback function that can be used to remove the handler.\n         */\n\n      }, {\n        key: \"addGlobalEventListener\",\n        value: function addGlobalEventListener(target, eventName, handler) {\n          /** @type {?} */\n          var plugin = this._findPluginFor(eventName);\n\n          return plugin.addGlobalEventListener(target, eventName, handler);\n        }\n        /**\n         * Retrieves the compilation zone in which event listeners are registered.\n         * @return {?}\n         */\n\n      }, {\n        key: \"getZone\",\n        value: function getZone() {\n          return this._zone;\n        }\n        /**\n         * \\@internal\n         * @param {?} eventName\n         * @return {?}\n         */\n\n      }, {\n        key: \"_findPluginFor\",\n        value: function _findPluginFor(eventName) {\n          /** @type {?} */\n          var plugin = this._eventNameToPlugin.get(eventName);\n\n          if (plugin) {\n            return plugin;\n          }\n          /** @type {?} */\n\n\n          var plugins = this._plugins;\n\n          for (var i = 0; i < plugins.length; i++) {\n            /** @type {?} */\n            var _plugin = plugins[i];\n\n            if (_plugin.supports(eventName)) {\n              this._eventNameToPlugin.set(eventName, _plugin);\n\n              return _plugin;\n            }\n          }\n\n          throw new Error(\"No event manager plugin found for event \".concat(eventName));\n        }\n      }]);\n\n      return EventManager;\n    }();\n\n    EventManager.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"]\n    }];\n    /** @nocollapse */\n\n    EventManager.ctorParameters = function () {\n      return [{\n        type: Array,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"],\n          args: [EVENT_MANAGER_PLUGINS]\n        }]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgZone\"]\n      }];\n    };\n\n    if (false) {}\n    /**\n     * @abstract\n     */\n\n\n    var EventManagerPlugin =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _doc\n       */\n      function EventManagerPlugin(_doc) {\n        _classCallCheck(this, EventManagerPlugin);\n\n        this._doc = _doc;\n      }\n      /**\n       * @param {?} element\n       * @param {?} eventName\n       * @param {?} handler\n       * @return {?}\n       */\n\n\n      _createClass2(EventManagerPlugin, [{\n        key: \"addGlobalEventListener\",\n        value: function addGlobalEventListener(element, eventName, handler) {\n          /** @type {?} */\n          var target = getDOM().getGlobalEventTarget(this._doc, element);\n\n          if (!target) {\n            throw new Error(\"Unsupported event target \".concat(target, \" for event \").concat(eventName));\n          }\n\n          return this.addEventListener(target, eventName, handler);\n        }\n      }]);\n\n      return EventManagerPlugin;\n    }();\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n\n    var SharedStylesHost =\n    /*#__PURE__*/\n    function () {\n      function SharedStylesHost() {\n        _classCallCheck(this, SharedStylesHost);\n\n        /**\n         * \\@internal\n         */\n        this._stylesSet = new Set();\n      }\n      /**\n       * @param {?} styles\n       * @return {?}\n       */\n\n\n      _createClass2(SharedStylesHost, [{\n        key: \"addStyles\",\n        value: function addStyles(styles) {\n          var _this640 = this;\n\n          /** @type {?} */\n          var additions = new Set();\n          styles.forEach(\n          /**\n          * @param {?} style\n          * @return {?}\n          */\n          function (style) {\n            if (!_this640._stylesSet.has(style)) {\n              _this640._stylesSet.add(style);\n\n              additions.add(style);\n            }\n          });\n          this.onStylesAdded(additions);\n        }\n        /**\n         * @param {?} additions\n         * @return {?}\n         */\n\n      }, {\n        key: \"onStylesAdded\",\n        value: function onStylesAdded(additions) {}\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"getAllStyles\",\n        value: function getAllStyles() {\n          return Array.from(this._stylesSet);\n        }\n      }]);\n\n      return SharedStylesHost;\n    }();\n\n    SharedStylesHost.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"]\n    }];\n\n    if (false) {}\n\n    var DomSharedStylesHost =\n    /*#__PURE__*/\n    function (_SharedStylesHost) {\n      _inherits(DomSharedStylesHost, _SharedStylesHost);\n\n      /**\n       * @param {?} _doc\n       */\n      function DomSharedStylesHost(_doc) {\n        var _this641;\n\n        _classCallCheck(this, DomSharedStylesHost);\n\n        _this641 = _possibleConstructorReturn(this, _getPrototypeOf(DomSharedStylesHost).call(this));\n        _this641._doc = _doc;\n        _this641._hostNodes = new Set();\n        _this641._styleNodes = new Set();\n\n        _this641._hostNodes.add(_doc.head);\n\n        return _this641;\n      }\n      /**\n       * @private\n       * @param {?} styles\n       * @param {?} host\n       * @return {?}\n       */\n\n\n      _createClass2(DomSharedStylesHost, [{\n        key: \"_addStylesToHost\",\n        value: function _addStylesToHost(styles, host) {\n          var _this642 = this;\n\n          styles.forEach(\n          /**\n          * @param {?} style\n          * @return {?}\n          */\n          function (style) {\n            /** @type {?} */\n            var styleEl = _this642._doc.createElement('style');\n\n            styleEl.textContent = style;\n\n            _this642._styleNodes.add(host.appendChild(styleEl));\n          });\n        }\n        /**\n         * @param {?} hostNode\n         * @return {?}\n         */\n\n      }, {\n        key: \"addHost\",\n        value: function addHost(hostNode) {\n          this._addStylesToHost(this._stylesSet, hostNode);\n\n          this._hostNodes.add(hostNode);\n        }\n        /**\n         * @param {?} hostNode\n         * @return {?}\n         */\n\n      }, {\n        key: \"removeHost\",\n        value: function removeHost(hostNode) {\n          this._hostNodes.delete(hostNode);\n        }\n        /**\n         * @param {?} additions\n         * @return {?}\n         */\n\n      }, {\n        key: \"onStylesAdded\",\n        value: function onStylesAdded(additions) {\n          var _this643 = this;\n\n          this._hostNodes.forEach(\n          /**\n          * @param {?} hostNode\n          * @return {?}\n          */\n          function (hostNode) {\n            return _this643._addStylesToHost(additions, hostNode);\n          });\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          this._styleNodes.forEach(\n          /**\n          * @param {?} styleNode\n          * @return {?}\n          */\n          function (styleNode) {\n            return getDOM().remove(styleNode);\n          });\n        }\n      }]);\n\n      return DomSharedStylesHost;\n    }(SharedStylesHost);\n\n    DomSharedStylesHost.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"]\n    }];\n    /** @nocollapse */\n\n    DomSharedStylesHost.ctorParameters = function () {\n      return [{\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"],\n          args: [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"]]\n        }]\n      }];\n    };\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var NAMESPACE_URIS = {\n      'svg': 'http://www.w3.org/2000/svg',\n      'xhtml': 'http://www.w3.org/1999/xhtml',\n      'xlink': 'http://www.w3.org/1999/xlink',\n      'xml': 'http://www.w3.org/XML/1998/namespace',\n      'xmlns': 'http://www.w3.org/2000/xmlns/'\n    };\n    /** @type {?} */\n\n    var COMPONENT_REGEX = /%COMP%/g;\n    /** @type {?} */\n\n    var COMPONENT_VARIABLE = '%COMP%';\n    /** @type {?} */\n\n    var HOST_ATTR = \"_nghost-\".concat(COMPONENT_VARIABLE);\n    /** @type {?} */\n\n    var CONTENT_ATTR = \"_ngcontent-\".concat(COMPONENT_VARIABLE);\n    /**\n     * @param {?} componentShortId\n     * @return {?}\n     */\n\n    function shimContentAttribute(componentShortId) {\n      return CONTENT_ATTR.replace(COMPONENT_REGEX, componentShortId);\n    }\n    /**\n     * @param {?} componentShortId\n     * @return {?}\n     */\n\n\n    function shimHostAttribute(componentShortId) {\n      return HOST_ATTR.replace(COMPONENT_REGEX, componentShortId);\n    }\n    /**\n     * @param {?} compId\n     * @param {?} styles\n     * @param {?} target\n     * @return {?}\n     */\n\n\n    function flattenStyles(compId, styles, target) {\n      for (var i = 0; i < styles.length; i++) {\n        /** @type {?} */\n        var style = styles[i];\n\n        if (Array.isArray(style)) {\n          flattenStyles(compId, style, target);\n        } else {\n          style = style.replace(COMPONENT_REGEX, compId);\n          target.push(style);\n        }\n      }\n\n      return target;\n    }\n    /**\n     * @param {?} eventHandler\n     * @return {?}\n     */\n\n\n    function decoratePreventDefault(eventHandler) {\n      return (\n        /**\n        * @param {?} event\n        * @return {?}\n        */\n        function (event) {\n          /** @type {?} */\n          var allowDefaultBehavior = eventHandler(event);\n\n          if (allowDefaultBehavior === false) {\n            // TODO(tbosch): move preventDefault into event plugins...\n            event.preventDefault();\n            event.returnValue = false;\n          }\n        }\n      );\n    }\n\n    var DomRendererFactory2 =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} eventManager\n       * @param {?} sharedStylesHost\n       * @param {?} appId\n       */\n      function DomRendererFactory2(eventManager, sharedStylesHost, appId) {\n        _classCallCheck(this, DomRendererFactory2);\n\n        this.eventManager = eventManager;\n        this.sharedStylesHost = sharedStylesHost;\n        this.appId = appId;\n        this.rendererByCompId = new Map();\n        this.defaultRenderer = new DefaultDomRenderer2(eventManager);\n      }\n      /**\n       * @param {?} element\n       * @param {?} type\n       * @return {?}\n       */\n\n\n      _createClass2(DomRendererFactory2, [{\n        key: \"createRenderer\",\n        value: function createRenderer(element, type) {\n          if (!element || !type) {\n            return this.defaultRenderer;\n          }\n\n          switch (type.encapsulation) {\n            case _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ViewEncapsulation\"].Emulated:\n              {\n                /** @type {?} */\n                var renderer = this.rendererByCompId.get(type.id);\n\n                if (!renderer) {\n                  renderer = new EmulatedEncapsulationDomRenderer2(this.eventManager, this.sharedStylesHost, type, this.appId);\n                  this.rendererByCompId.set(type.id, renderer);\n                }\n\n                /** @type {?} */\n                renderer.applyToHost(element);\n                return renderer;\n              }\n\n            case _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ViewEncapsulation\"].Native:\n            case _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ViewEncapsulation\"].ShadowDom:\n              return new ShadowDomRenderer(this.eventManager, this.sharedStylesHost, element, type);\n\n            default:\n              {\n                if (!this.rendererByCompId.has(type.id)) {\n                  /** @type {?} */\n                  var styles = flattenStyles(type.id, type.styles, []);\n                  this.sharedStylesHost.addStyles(styles);\n                  this.rendererByCompId.set(type.id, this.defaultRenderer);\n                }\n\n                return this.defaultRenderer;\n              }\n          }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"begin\",\n        value: function begin() {}\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"end\",\n        value: function end() {}\n      }]);\n\n      return DomRendererFactory2;\n    }();\n\n    DomRendererFactory2.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"]\n    }];\n    /** @nocollapse */\n\n    DomRendererFactory2.ctorParameters = function () {\n      return [{\n        type: EventManager\n      }, {\n        type: DomSharedStylesHost\n      }, {\n        type: String,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"],\n          args: [_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"APP_ID\"]]\n        }]\n      }];\n    };\n\n    if (false) {}\n\n    var DefaultDomRenderer2 =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} eventManager\n       */\n      function DefaultDomRenderer2(eventManager) {\n        _classCallCheck(this, DefaultDomRenderer2);\n\n        this.eventManager = eventManager;\n        this.data = Object.create(null);\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(DefaultDomRenderer2, [{\n        key: \"destroy\",\n        value: function destroy() {}\n        /**\n         * @param {?} name\n         * @param {?=} namespace\n         * @return {?}\n         */\n\n      }, {\n        key: \"createElement\",\n        value: function createElement(name, namespace) {\n          if (namespace) {\n            // In cases where Ivy (not ViewEngine) is giving us the actual namespace, the look up by key\n            // will result in undefined, so we just return the namespace here.\n            return document.createElementNS(NAMESPACE_URIS[namespace] || namespace, name);\n          }\n\n          return document.createElement(name);\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"createComment\",\n        value: function createComment(value) {\n          return document.createComment(value);\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"createText\",\n        value: function createText(value) {\n          return document.createTextNode(value);\n        }\n        /**\n         * @param {?} parent\n         * @param {?} newChild\n         * @return {?}\n         */\n\n      }, {\n        key: \"appendChild\",\n        value: function appendChild(parent, newChild) {\n          parent.appendChild(newChild);\n        }\n        /**\n         * @param {?} parent\n         * @param {?} newChild\n         * @param {?} refChild\n         * @return {?}\n         */\n\n      }, {\n        key: \"insertBefore\",\n        value: function insertBefore(parent, newChild, refChild) {\n          if (parent) {\n            parent.insertBefore(newChild, refChild);\n          }\n        }\n        /**\n         * @param {?} parent\n         * @param {?} oldChild\n         * @return {?}\n         */\n\n      }, {\n        key: \"removeChild\",\n        value: function removeChild(parent, oldChild) {\n          if (parent) {\n            parent.removeChild(oldChild);\n          }\n        }\n        /**\n         * @param {?} selectorOrNode\n         * @param {?=} preserveContent\n         * @return {?}\n         */\n\n      }, {\n        key: \"selectRootElement\",\n        value: function selectRootElement(selectorOrNode, preserveContent) {\n          /** @type {?} */\n          var el = typeof selectorOrNode === 'string' ? document.querySelector(selectorOrNode) : selectorOrNode;\n\n          if (!el) {\n            throw new Error(\"The selector \\\"\".concat(selectorOrNode, \"\\\" did not match any elements\"));\n          }\n\n          if (!preserveContent) {\n            el.textContent = '';\n          }\n\n          return el;\n        }\n        /**\n         * @param {?} node\n         * @return {?}\n         */\n\n      }, {\n        key: \"parentNode\",\n        value: function parentNode(node) {\n          return node.parentNode;\n        }\n        /**\n         * @param {?} node\n         * @return {?}\n         */\n\n      }, {\n        key: \"nextSibling\",\n        value: function nextSibling(node) {\n          return node.nextSibling;\n        }\n        /**\n         * @param {?} el\n         * @param {?} name\n         * @param {?} value\n         * @param {?=} namespace\n         * @return {?}\n         */\n\n      }, {\n        key: \"setAttribute\",\n        value: function setAttribute(el, name, value, namespace) {\n          if (namespace) {\n            name = namespace + ':' + name; // TODO(benlesh): Ivy may cause issues here because it's passing around\n            // full URIs for namespaces, therefore this lookup will fail.\n\n            /** @type {?} */\n\n            var namespaceUri = NAMESPACE_URIS[namespace];\n\n            if (namespaceUri) {\n              el.setAttributeNS(namespaceUri, name, value);\n            } else {\n              el.setAttribute(name, value);\n            }\n          } else {\n            el.setAttribute(name, value);\n          }\n        }\n        /**\n         * @param {?} el\n         * @param {?} name\n         * @param {?=} namespace\n         * @return {?}\n         */\n\n      }, {\n        key: \"removeAttribute\",\n        value: function removeAttribute(el, name, namespace) {\n          if (namespace) {\n            // TODO(benlesh): Ivy may cause issues here because it's passing around\n            // full URIs for namespaces, therefore this lookup will fail.\n\n            /** @type {?} */\n            var namespaceUri = NAMESPACE_URIS[namespace];\n\n            if (namespaceUri) {\n              el.removeAttributeNS(namespaceUri, name);\n            } else {\n              // TODO(benlesh): Since ivy is passing around full URIs for namespaces\n              // this could result in properties like `http://www.w3.org/2000/svg:cx=\"123\"`,\n              // which is wrong.\n              el.removeAttribute(\"\".concat(namespace, \":\").concat(name));\n            }\n          } else {\n            el.removeAttribute(name);\n          }\n        }\n        /**\n         * @param {?} el\n         * @param {?} name\n         * @return {?}\n         */\n\n      }, {\n        key: \"addClass\",\n        value: function addClass(el, name) {\n          el.classList.add(name);\n        }\n        /**\n         * @param {?} el\n         * @param {?} name\n         * @return {?}\n         */\n\n      }, {\n        key: \"removeClass\",\n        value: function removeClass(el, name) {\n          el.classList.remove(name);\n        }\n        /**\n         * @param {?} el\n         * @param {?} style\n         * @param {?} value\n         * @param {?} flags\n         * @return {?}\n         */\n\n      }, {\n        key: \"setStyle\",\n        value: function setStyle(el, style, value, flags) {\n          if (flags & _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"RendererStyleFlags2\"].DashCase) {\n            el.style.setProperty(style, value, !!(flags & _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"RendererStyleFlags2\"].Important) ? 'important' : '');\n          } else {\n            el.style[style] = value;\n          }\n        }\n        /**\n         * @param {?} el\n         * @param {?} style\n         * @param {?} flags\n         * @return {?}\n         */\n\n      }, {\n        key: \"removeStyle\",\n        value: function removeStyle(el, style, flags) {\n          if (flags & _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"RendererStyleFlags2\"].DashCase) {\n            el.style.removeProperty(style);\n          } else {\n            // IE requires '' instead of null\n            // see https://github.com/angular/angular/issues/7916\n            el.style[style] = '';\n          }\n        }\n        /**\n         * @param {?} el\n         * @param {?} name\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"setProperty\",\n        value: function setProperty(el, name, value) {\n          checkNoSyntheticProp(name, 'property');\n          el[name] = value;\n        }\n        /**\n         * @param {?} node\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"setValue\",\n        value: function setValue(node, value) {\n          node.nodeValue = value;\n        }\n        /**\n         * @param {?} target\n         * @param {?} event\n         * @param {?} callback\n         * @return {?}\n         */\n\n      }, {\n        key: \"listen\",\n        value: function listen(target, event, callback) {\n          checkNoSyntheticProp(event, 'listener');\n\n          if (typeof target === 'string') {\n            return (\n              /** @type {?} */\n              this.eventManager.addGlobalEventListener(target, event, decoratePreventDefault(callback))\n            );\n          }\n\n          return (\n            /** @type {?} */\n\n            /** @type {?} */\n            this.eventManager.addEventListener(target, event, decoratePreventDefault(callback))\n          );\n        }\n      }]);\n\n      return DefaultDomRenderer2;\n    }();\n\n    if (false) {}\n\n    var ɵ0$2 =\n    /**\n    * @return {?}\n    */\n    function ɵ0$2() {\n      return '@'.charCodeAt(0);\n    };\n    /** @type {?} */\n\n\n    var AT_CHARCODE = ɵ0$2();\n    /**\n     * @param {?} name\n     * @param {?} nameKind\n     * @return {?}\n     */\n\n    function checkNoSyntheticProp(name, nameKind) {\n      if (name.charCodeAt(0) === AT_CHARCODE) {\n        throw new Error(\"Found the synthetic \".concat(nameKind, \" \").concat(name, \". Please include either \\\"BrowserAnimationsModule\\\" or \\\"NoopAnimationsModule\\\" in your application.\"));\n      }\n    }\n\n    var EmulatedEncapsulationDomRenderer2 =\n    /*#__PURE__*/\n    function (_DefaultDomRenderer) {\n      _inherits(EmulatedEncapsulationDomRenderer2, _DefaultDomRenderer);\n\n      /**\n       * @param {?} eventManager\n       * @param {?} sharedStylesHost\n       * @param {?} component\n       * @param {?} appId\n       */\n      function EmulatedEncapsulationDomRenderer2(eventManager, sharedStylesHost, component, appId) {\n        var _this644;\n\n        _classCallCheck(this, EmulatedEncapsulationDomRenderer2);\n\n        _this644 = _possibleConstructorReturn(this, _getPrototypeOf(EmulatedEncapsulationDomRenderer2).call(this, eventManager));\n        _this644.component = component;\n        /** @type {?} */\n\n        var styles = flattenStyles(appId + '-' + component.id, component.styles, []);\n        sharedStylesHost.addStyles(styles);\n        _this644.contentAttr = shimContentAttribute(appId + '-' + component.id);\n        _this644.hostAttr = shimHostAttribute(appId + '-' + component.id);\n        return _this644;\n      }\n      /**\n       * @param {?} element\n       * @return {?}\n       */\n\n\n      _createClass2(EmulatedEncapsulationDomRenderer2, [{\n        key: \"applyToHost\",\n        value: function applyToHost(element) {\n          _get(_getPrototypeOf(EmulatedEncapsulationDomRenderer2.prototype), \"setAttribute\", this).call(this, element, this.hostAttr, '');\n        }\n        /**\n         * @param {?} parent\n         * @param {?} name\n         * @return {?}\n         */\n\n      }, {\n        key: \"createElement\",\n        value: function createElement(parent, name) {\n          /** @type {?} */\n          var el = _get(_getPrototypeOf(EmulatedEncapsulationDomRenderer2.prototype), \"createElement\", this).call(this, parent, name);\n\n          _get(_getPrototypeOf(EmulatedEncapsulationDomRenderer2.prototype), \"setAttribute\", this).call(this, el, this.contentAttr, '');\n\n          return el;\n        }\n      }]);\n\n      return EmulatedEncapsulationDomRenderer2;\n    }(DefaultDomRenderer2);\n\n    if (false) {}\n\n    var ShadowDomRenderer =\n    /*#__PURE__*/\n    function (_DefaultDomRenderer2) {\n      _inherits(ShadowDomRenderer, _DefaultDomRenderer2);\n\n      /**\n       * @param {?} eventManager\n       * @param {?} sharedStylesHost\n       * @param {?} hostEl\n       * @param {?} component\n       */\n      function ShadowDomRenderer(eventManager, sharedStylesHost, hostEl, component) {\n        var _this645;\n\n        _classCallCheck(this, ShadowDomRenderer);\n\n        _this645 = _possibleConstructorReturn(this, _getPrototypeOf(ShadowDomRenderer).call(this, eventManager));\n        _this645.sharedStylesHost = sharedStylesHost;\n        _this645.hostEl = hostEl;\n        _this645.component = component;\n\n        if (component.encapsulation === _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ViewEncapsulation\"].ShadowDom) {\n          _this645.shadowRoot =\n          /** @type {?} */\n          hostEl.attachShadow({\n            mode: 'open'\n          });\n        } else {\n          _this645.shadowRoot =\n          /** @type {?} */\n          hostEl.createShadowRoot();\n        }\n\n        _this645.sharedStylesHost.addHost(_this645.shadowRoot);\n        /** @type {?} */\n\n\n        var styles = flattenStyles(component.id, component.styles, []);\n\n        for (var i = 0; i < styles.length; i++) {\n          /** @type {?} */\n          var styleEl = document.createElement('style');\n          styleEl.textContent = styles[i];\n\n          _this645.shadowRoot.appendChild(styleEl);\n        }\n\n        return _this645;\n      }\n      /**\n       * @private\n       * @param {?} node\n       * @return {?}\n       */\n\n\n      _createClass2(ShadowDomRenderer, [{\n        key: \"nodeOrShadowRoot\",\n        value: function nodeOrShadowRoot(node) {\n          return node === this.hostEl ? this.shadowRoot : node;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"destroy\",\n        value: function destroy() {\n          this.sharedStylesHost.removeHost(this.shadowRoot);\n        }\n        /**\n         * @param {?} parent\n         * @param {?} newChild\n         * @return {?}\n         */\n\n      }, {\n        key: \"appendChild\",\n        value: function appendChild(parent, newChild) {\n          return _get(_getPrototypeOf(ShadowDomRenderer.prototype), \"appendChild\", this).call(this, this.nodeOrShadowRoot(parent), newChild);\n        }\n        /**\n         * @param {?} parent\n         * @param {?} newChild\n         * @param {?} refChild\n         * @return {?}\n         */\n\n      }, {\n        key: \"insertBefore\",\n        value: function insertBefore(parent, newChild, refChild) {\n          return _get(_getPrototypeOf(ShadowDomRenderer.prototype), \"insertBefore\", this).call(this, this.nodeOrShadowRoot(parent), newChild, refChild);\n        }\n        /**\n         * @param {?} parent\n         * @param {?} oldChild\n         * @return {?}\n         */\n\n      }, {\n        key: \"removeChild\",\n        value: function removeChild(parent, oldChild) {\n          return _get(_getPrototypeOf(ShadowDomRenderer.prototype), \"removeChild\", this).call(this, this.nodeOrShadowRoot(parent), oldChild);\n        }\n        /**\n         * @param {?} node\n         * @return {?}\n         */\n\n      }, {\n        key: \"parentNode\",\n        value: function parentNode(node) {\n          return this.nodeOrShadowRoot(_get(_getPrototypeOf(ShadowDomRenderer.prototype), \"parentNode\", this).call(this, this.nodeOrShadowRoot(node)));\n        }\n      }]);\n\n      return ShadowDomRenderer;\n    }(DefaultDomRenderer2);\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n\n    var ɵ0$3 =\n    /**\n    * @return {?}\n    */\n    function ɵ0$3() {\n      return typeof Zone !== 'undefined' &&\n      /** @type {?} */\n      Zone['__symbol__'] ||\n      /**\n      * @param {?} v\n      * @return {?}\n      */\n      function (v) {\n        return '__zone_symbol__' + v;\n      };\n    };\n    /**\n     * Detect if Zone is present. If it is then use simple zone aware 'addEventListener'\n     * since Angular can do much more\n     * efficient bookkeeping than Zone can, because we have additional information. This speeds up\n     * addEventListener by 3x.\n     * @type {?}\n     */\n\n\n    var __symbol__ = ɵ0$3();\n    /** @type {?} */\n\n\n    var ADD_EVENT_LISTENER = __symbol__('addEventListener');\n    /** @type {?} */\n\n\n    var REMOVE_EVENT_LISTENER = __symbol__('removeEventListener');\n    /** @type {?} */\n\n\n    var symbolNames = {};\n    /** @type {?} */\n\n    var FALSE = 'FALSE';\n    /** @type {?} */\n\n    var ANGULAR = 'ANGULAR';\n    /** @type {?} */\n\n    var NATIVE_ADD_LISTENER = 'addEventListener';\n    /** @type {?} */\n\n    var NATIVE_REMOVE_LISTENER = 'removeEventListener'; // use the same symbol string which is used in zone.js\n\n    /** @type {?} */\n\n    var stopSymbol = '__zone_symbol__propagationStopped';\n    /** @type {?} */\n\n    var stopMethodSymbol = '__zone_symbol__stopImmediatePropagation';\n\n    var ɵ1 =\n    /**\n    * @return {?}\n    */\n    function ɵ1() {\n      /** @type {?} */\n      var blackListedEvents = typeof Zone !== 'undefined' &&\n      /** @type {?} */\n      Zone[__symbol__('BLACK_LISTED_EVENTS')];\n\n      if (blackListedEvents) {\n        /** @type {?} */\n        var res = {};\n        blackListedEvents.forEach(\n        /**\n        * @param {?} eventName\n        * @return {?}\n        */\n        function (eventName) {\n          res[eventName] = eventName;\n        });\n        return res;\n      }\n\n      return undefined;\n    };\n    /** @type {?} */\n\n\n    var blackListedMap = ɵ1();\n    /** @type {?} */\n\n    var isBlackListedEvent =\n    /**\n    * @param {?} eventName\n    * @return {?}\n    */\n    function isBlackListedEvent(eventName) {\n      if (!blackListedMap) {\n        return false;\n      }\n\n      return blackListedMap.hasOwnProperty(eventName);\n    };\n\n    var ɵ2 = isBlackListedEvent;\n    /**\n     * @record\n     */\n\n    function TaskData() {}\n\n    if (false) {} // a global listener to handle all dom event,\n    // so we do not need to create a closure every time\n\n    /** @type {?} */\n\n\n    var globalListener =\n    /**\n    * @this {?}\n    * @param {?} event\n    * @return {?}\n    */\n    function globalListener(event) {\n      /** @type {?} */\n      var symbolName = symbolNames[event.type];\n\n      if (!symbolName) {\n        return;\n      }\n      /** @type {?} */\n\n\n      var taskDatas = this[symbolName];\n\n      if (!taskDatas) {\n        return;\n      }\n      /** @type {?} */\n\n\n      var args = [event];\n\n      if (taskDatas.length === 1) {\n        // if taskDatas only have one element, just invoke it\n\n        /** @type {?} */\n        var taskData = taskDatas[0];\n\n        if (taskData.zone !== Zone.current) {\n          // only use Zone.run when Zone.current not equals to stored zone\n          return taskData.zone.run(taskData.handler, this, args);\n        } else {\n          return taskData.handler.apply(this, args);\n        }\n      } else {\n        // copy tasks as a snapshot to avoid event handlers remove\n        // itself or others\n\n        /** @type {?} */\n        var copiedTasks = taskDatas.slice();\n\n        for (var i = 0; i < copiedTasks.length; i++) {\n          // if other listener call event.stopImmediatePropagation\n          // just break\n          if (\n          /** @type {?} */\n          event[stopSymbol] === true) {\n            break;\n          }\n          /** @type {?} */\n\n\n          var _taskData = copiedTasks[i];\n\n          if (_taskData.zone !== Zone.current) {\n            // only use Zone.run when Zone.current not equals to stored zone\n            _taskData.zone.run(_taskData.handler, this, args);\n          } else {\n            _taskData.handler.apply(this, args);\n          }\n        }\n      }\n    };\n\n    var ɵ3 = globalListener;\n\n    var DomEventsPlugin =\n    /*#__PURE__*/\n    function (_EventManagerPlugin) {\n      _inherits(DomEventsPlugin, _EventManagerPlugin);\n\n      /**\n       * @param {?} doc\n       * @param {?} ngZone\n       * @param {?} platformId\n       */\n      function DomEventsPlugin(doc, ngZone, platformId) {\n        var _this646;\n\n        _classCallCheck(this, DomEventsPlugin);\n\n        _this646 = _possibleConstructorReturn(this, _getPrototypeOf(DomEventsPlugin).call(this, doc));\n        _this646.ngZone = ngZone;\n\n        if (!platformId || !Object(_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"isPlatformServer\"])(platformId)) {\n          _this646.patchEvent();\n        }\n\n        return _this646;\n      }\n      /**\n       * @private\n       * @return {?}\n       */\n\n\n      _createClass2(DomEventsPlugin, [{\n        key: \"patchEvent\",\n        value: function patchEvent() {\n          if (typeof Event === 'undefined' || !Event || !Event.prototype) {\n            return;\n          }\n\n          if (\n          /** @type {?} */\n          Event.prototype[stopMethodSymbol]) {\n            // already patched by zone.js\n            return;\n          }\n          /** @type {?} */\n\n\n          var delegate =\n          /** @type {?} */\n          Event.prototype[stopMethodSymbol] = Event.prototype.stopImmediatePropagation;\n\n          Event.prototype.stopImmediatePropagation =\n          /**\n          * @this {?}\n          * @return {?}\n          */\n          function () {\n            if (this) {\n              this[stopSymbol] = true;\n            } // We should call native delegate in case in some environment part of\n            // the application will not use the patched Event. Also we cast the\n            // \"arguments\" to any since \"stopImmediatePropagation\" technically does not\n            // accept any arguments, but we don't know what developers pass through the\n            // function and we want to not break these calls.\n\n\n            delegate && delegate.apply(this,\n            /** @type {?} */\n            arguments);\n          };\n        } // This plugin should come last in the list of plugins, because it accepts all\n        // events.\n\n        /**\n         * @param {?} eventName\n         * @return {?}\n         */\n\n      }, {\n        key: \"supports\",\n        value: function supports(eventName) {\n          return true;\n        }\n        /**\n         * @param {?} element\n         * @param {?} eventName\n         * @param {?} handler\n         * @return {?}\n         */\n\n      }, {\n        key: \"addEventListener\",\n        value: function addEventListener(element, eventName, handler) {\n          var _this647 = this;\n\n          /**\n           * This code is about to add a listener to the DOM. If Zone.js is present, than\n           * `addEventListener` has been patched. The patched code adds overhead in both\n           * memory and speed (3x slower) than native. For this reason if we detect that\n           * Zone.js is present we use a simple version of zone aware addEventListener instead.\n           * The result is faster registration and the zone will be restored.\n           * But ZoneSpec.onScheduleTask, ZoneSpec.onInvokeTask, ZoneSpec.onCancelTask\n           * will not be invoked\n           * We also do manual zone restoration in element.ts renderEventHandlerClosure method.\n           *\n           * NOTE: it is possible that the element is from different iframe, and so we\n           * have to check before we execute the method.\n           * @type {?}\n           */\n          var self = this;\n          /** @type {?} */\n\n          var zoneJsLoaded = element[ADD_EVENT_LISTENER];\n          /** @type {?} */\n\n          var callback =\n          /** @type {?} */\n          handler; // if zonejs is loaded and current zone is not ngZone\n          // we keep Zone.current on target for later restoration.\n\n          if (zoneJsLoaded && (!_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgZone\"].isInAngularZone() || isBlackListedEvent(eventName))) {\n            /** @type {?} */\n            var symbolName = symbolNames[eventName];\n\n            if (!symbolName) {\n              symbolName = symbolNames[eventName] = __symbol__(ANGULAR + eventName + FALSE);\n            }\n            /** @type {?} */\n\n\n            var taskDatas =\n            /** @type {?} */\n            element[symbolName];\n            /** @type {?} */\n\n            var globalListenerRegistered = taskDatas && taskDatas.length > 0;\n\n            if (!taskDatas) {\n              taskDatas =\n              /** @type {?} */\n              element[symbolName] = [];\n            }\n            /** @type {?} */\n\n\n            var zone = isBlackListedEvent(eventName) ? Zone.root : Zone.current;\n\n            if (taskDatas.length === 0) {\n              taskDatas.push({\n                zone: zone,\n                handler: callback\n              });\n            } else {\n              /** @type {?} */\n              var callbackRegistered = false;\n\n              for (var i = 0; i < taskDatas.length; i++) {\n                if (taskDatas[i].handler === callback) {\n                  callbackRegistered = true;\n                  break;\n                }\n              }\n\n              if (!callbackRegistered) {\n                taskDatas.push({\n                  zone: zone,\n                  handler: callback\n                });\n              }\n            }\n\n            if (!globalListenerRegistered) {\n              element[ADD_EVENT_LISTENER](eventName, globalListener, false);\n            }\n          } else {\n            element[NATIVE_ADD_LISTENER](eventName, callback, false);\n          }\n\n          return (\n            /**\n            * @return {?}\n            */\n            function () {\n              return _this647.removeEventListener(element, eventName, callback);\n            }\n          );\n        }\n        /**\n         * @param {?} target\n         * @param {?} eventName\n         * @param {?} callback\n         * @return {?}\n         */\n\n      }, {\n        key: \"removeEventListener\",\n        value: function removeEventListener(target, eventName, callback) {\n          /** @type {?} */\n          var underlyingRemove = target[REMOVE_EVENT_LISTENER]; // zone.js not loaded, use native removeEventListener\n\n          if (!underlyingRemove) {\n            return target[NATIVE_REMOVE_LISTENER].apply(target, [eventName, callback, false]);\n          }\n          /** @type {?} */\n\n\n          var symbolName = symbolNames[eventName];\n          /** @type {?} */\n\n          var taskDatas = symbolName && target[symbolName];\n\n          if (!taskDatas) {\n            // addEventListener not using patched version\n            // just call native removeEventListener\n            return target[NATIVE_REMOVE_LISTENER].apply(target, [eventName, callback, false]);\n          } // fix issue 20532, should be able to remove\n          // listener which was added inside of ngZone\n\n          /** @type {?} */\n\n\n          var found = false;\n\n          for (var i = 0; i < taskDatas.length; i++) {\n            // remove listener from taskDatas if the callback equals\n            if (taskDatas[i].handler === callback) {\n              found = true;\n              taskDatas.splice(i, 1);\n              break;\n            }\n          }\n\n          if (found) {\n            if (taskDatas.length === 0) {\n              // all listeners are removed, we can remove the globalListener from target\n              underlyingRemove.apply(target, [eventName, globalListener, false]);\n            }\n          } else {\n            // not found in taskDatas, the callback may be added inside of ngZone\n            // use native remove listener to remove the callback\n            target[NATIVE_REMOVE_LISTENER].apply(target, [eventName, callback, false]);\n          }\n        }\n      }]);\n\n      return DomEventsPlugin;\n    }(EventManagerPlugin);\n\n    DomEventsPlugin.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"]\n    }];\n    /** @nocollapse */\n\n    DomEventsPlugin.ctorParameters = function () {\n      return [{\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"],\n          args: [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"]]\n        }]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgZone\"]\n      }, {\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"],\n          args: [_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"PLATFORM_ID\"]]\n        }]\n      }];\n    };\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Supported HammerJS recognizer event names.\n     * @type {?}\n     */\n\n\n    var EVENT_NAMES = {\n      // pan\n      'pan': true,\n      'panstart': true,\n      'panmove': true,\n      'panend': true,\n      'pancancel': true,\n      'panleft': true,\n      'panright': true,\n      'panup': true,\n      'pandown': true,\n      // pinch\n      'pinch': true,\n      'pinchstart': true,\n      'pinchmove': true,\n      'pinchend': true,\n      'pinchcancel': true,\n      'pinchin': true,\n      'pinchout': true,\n      // press\n      'press': true,\n      'pressup': true,\n      // rotate\n      'rotate': true,\n      'rotatestart': true,\n      'rotatemove': true,\n      'rotateend': true,\n      'rotatecancel': true,\n      // swipe\n      'swipe': true,\n      'swipeleft': true,\n      'swiperight': true,\n      'swipeup': true,\n      'swipedown': true,\n      // tap\n      'tap': true\n    };\n    /**\n     * DI token for providing [HammerJS](http://hammerjs.github.io/) support to Angular.\n     * @see `HammerGestureConfig`\n     *\n     * \\@publicApi\n     * @type {?}\n     */\n\n    var HAMMER_GESTURE_CONFIG = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"InjectionToken\"]('HammerGestureConfig');\n    /**\n     * Injection token used to provide a {\\@link HammerLoader} to Angular.\n     *\n     * \\@publicApi\n     * @type {?}\n     */\n\n    var HAMMER_LOADER = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"InjectionToken\"]('HammerLoader');\n    /**\n     * @record\n     */\n\n    function HammerInstance() {}\n\n    if (false) {}\n    /**\n     * An injectable [HammerJS Manager](http://hammerjs.github.io/api/#hammer.manager)\n     * for gesture recognition. Configures specific event recognition.\n     * \\@publicApi\n     */\n\n\n    var HammerGestureConfig =\n    /*#__PURE__*/\n    function () {\n      function HammerGestureConfig() {\n        _classCallCheck(this, HammerGestureConfig);\n\n        /**\n         * A set of supported event names for gestures to be used in Angular.\n         * Angular supports all built-in recognizers, as listed in\n         * [HammerJS documentation](http://hammerjs.github.io/).\n         */\n        this.events = [];\n        /**\n         * Maps gesture event names to a set of configuration options\n         * that specify overrides to the default values for specific properties.\n         *\n         * The key is a supported event name to be configured,\n         * and the options object contains a set of properties, with override values\n         * to be applied to the named recognizer event.\n         * For example, to disable recognition of the rotate event, specify\n         *  `{\"rotate\": {\"enable\": false}}`.\n         *\n         * Properties that are not present take the HammerJS default values.\n         * For information about which properties are supported for which events,\n         * and their allowed and default values, see\n         * [HammerJS documentation](http://hammerjs.github.io/).\n         *\n         */\n\n        this.overrides = {};\n      }\n      /**\n       * Creates a [HammerJS Manager](http://hammerjs.github.io/api/#hammer.manager)\n       * and attaches it to a given HTML element.\n       * @param {?} element The element that will recognize gestures.\n       * @return {?} A HammerJS event-manager object.\n       */\n\n\n      _createClass2(HammerGestureConfig, [{\n        key: \"buildHammer\",\n        value: function buildHammer(element) {\n          /** @type {?} */\n          var mc = new\n          /** @type {?} */\n          Hammer(element, this.options);\n          mc.get('pinch').set({\n            enable: true\n          });\n          mc.get('rotate').set({\n            enable: true\n          });\n\n          for (var eventName in this.overrides) {\n            mc.get(eventName).set(this.overrides[eventName]);\n          }\n\n          return mc;\n        }\n      }]);\n\n      return HammerGestureConfig;\n    }();\n\n    HammerGestureConfig.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"]\n    }];\n\n    if (false) {}\n\n    var HammerGesturesPlugin =\n    /*#__PURE__*/\n    function (_EventManagerPlugin2) {\n      _inherits(HammerGesturesPlugin, _EventManagerPlugin2);\n\n      /**\n       * @param {?} doc\n       * @param {?} _config\n       * @param {?} console\n       * @param {?=} loader\n       */\n      function HammerGesturesPlugin(doc, _config, console, loader) {\n        var _this648;\n\n        _classCallCheck(this, HammerGesturesPlugin);\n\n        _this648 = _possibleConstructorReturn(this, _getPrototypeOf(HammerGesturesPlugin).call(this, doc));\n        _this648._config = _config;\n        _this648.console = console;\n        _this648.loader = loader;\n        return _this648;\n      }\n      /**\n       * @param {?} eventName\n       * @return {?}\n       */\n\n\n      _createClass2(HammerGesturesPlugin, [{\n        key: \"supports\",\n        value: function supports(eventName) {\n          if (!EVENT_NAMES.hasOwnProperty(eventName.toLowerCase()) && !this.isCustomEvent(eventName)) {\n            return false;\n          }\n\n          if (!\n          /** @type {?} */\n          window.Hammer && !this.loader) {\n            this.console.warn(\"The \\\"\".concat(eventName, \"\\\" event cannot be bound because Hammer.JS is not \") + \"loaded and no custom loader has been specified.\");\n            return false;\n          }\n\n          return true;\n        }\n        /**\n         * @param {?} element\n         * @param {?} eventName\n         * @param {?} handler\n         * @return {?}\n         */\n\n      }, {\n        key: \"addEventListener\",\n        value: function addEventListener(element, eventName, handler) {\n          var _this649 = this;\n\n          /** @type {?} */\n          var zone = this.manager.getZone();\n          eventName = eventName.toLowerCase(); // If Hammer is not present but a loader is specified, we defer adding the event listener\n          // until Hammer is loaded.\n\n          if (!\n          /** @type {?} */\n          window.Hammer && this.loader) {\n            // This `addEventListener` method returns a function to remove the added listener.\n            // Until Hammer is loaded, the returned function needs to *cancel* the registration rather\n            // than remove anything.\n\n            /** @type {?} */\n            var cancelRegistration = false;\n            /** @type {?} */\n\n            var deregister =\n            /**\n            * @return {?}\n            */\n            function deregister() {\n              cancelRegistration = true;\n            };\n\n            this.loader().then(\n            /**\n            * @return {?}\n            */\n            function () {\n              // If Hammer isn't actually loaded when the custom loader resolves, give up.\n              if (!\n              /** @type {?} */\n              window.Hammer) {\n                _this649.console.warn(\"The custom HAMMER_LOADER completed, but Hammer.JS is not present.\");\n\n                deregister =\n                /**\n                * @return {?}\n                */\n                function deregister() {};\n\n                return;\n              }\n\n              if (!cancelRegistration) {\n                // Now that Hammer is loaded and the listener is being loaded for real,\n                // the deregistration function changes from canceling registration to removal.\n                deregister = _this649.addEventListener(element, eventName, handler);\n              }\n            }).catch(\n            /**\n            * @return {?}\n            */\n            function () {\n              _this649.console.warn(\"The \\\"\".concat(eventName, \"\\\" event cannot be bound because the custom \") + \"Hammer.JS loader failed.\");\n\n              deregister =\n              /**\n              * @return {?}\n              */\n              function deregister() {};\n            }); // Return a function that *executes* `deregister` (and not `deregister` itself) so that we\n            // can change the behavior of `deregister` once the listener is added. Using a closure in\n            // this way allows us to avoid any additional data structures to track listener removal.\n\n            return (\n              /**\n              * @return {?}\n              */\n              function () {\n                deregister();\n              }\n            );\n          }\n\n          return zone.runOutsideAngular(\n          /**\n          * @return {?}\n          */\n          function () {\n            // Creating the manager bind events, must be done outside of angular\n\n            /** @type {?} */\n            var mc = _this649._config.buildHammer(element);\n            /** @type {?} */\n\n\n            var callback =\n            /**\n            * @param {?} eventObj\n            * @return {?}\n            */\n            function callback(eventObj) {\n              zone.runGuarded(\n              /**\n              * @return {?}\n              */\n              function () {\n                handler(eventObj);\n              });\n            };\n\n            mc.on(eventName, callback);\n            return (\n              /**\n              * @return {?}\n              */\n              function () {\n                mc.off(eventName, callback); // destroy mc to prevent memory leak\n\n                if (typeof mc.destroy === 'function') {\n                  mc.destroy();\n                }\n              }\n            );\n          });\n        }\n        /**\n         * @param {?} eventName\n         * @return {?}\n         */\n\n      }, {\n        key: \"isCustomEvent\",\n        value: function isCustomEvent(eventName) {\n          return this._config.events.indexOf(eventName) > -1;\n        }\n      }]);\n\n      return HammerGesturesPlugin;\n    }(EventManagerPlugin);\n\n    HammerGesturesPlugin.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"]\n    }];\n    /** @nocollapse */\n\n    HammerGesturesPlugin.ctorParameters = function () {\n      return [{\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"],\n          args: [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"]]\n        }]\n      }, {\n        type: HammerGestureConfig,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"],\n          args: [HAMMER_GESTURE_CONFIG]\n        }]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵConsole\"]\n      }, {\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"],\n          args: [HAMMER_LOADER]\n        }]\n      }];\n    };\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Defines supported modifiers for key events.\n     * @type {?}\n     */\n\n\n    var MODIFIER_KEYS = ['alt', 'control', 'meta', 'shift'];\n\n    var ɵ0$4 =\n    /**\n    * @param {?} event\n    * @return {?}\n    */\n    function ɵ0$4(event) {\n      return event.altKey;\n    },\n        ɵ1$1 =\n    /**\n    * @param {?} event\n    * @return {?}\n    */\n    function ɵ1$1(event) {\n      return event.ctrlKey;\n    },\n        ɵ2$1 =\n    /**\n    * @param {?} event\n    * @return {?}\n    */\n    function ɵ2$1(event) {\n      return event.metaKey;\n    },\n        ɵ3$1 =\n    /**\n    * @param {?} event\n    * @return {?}\n    */\n    function ɵ3$1(event) {\n      return event.shiftKey;\n    };\n    /**\n     * Retrieves modifiers from key-event objects.\n     * @type {?}\n     */\n\n\n    var MODIFIER_KEY_GETTERS = {\n      'alt': ɵ0$4,\n      'control': ɵ1$1,\n      'meta': ɵ2$1,\n      'shift': ɵ3$1\n    };\n    /**\n     * \\@publicApi\n     * A browser plug-in that provides support for handling of key events in Angular.\n     */\n\n    var KeyEventsPlugin =\n    /*#__PURE__*/\n    function (_EventManagerPlugin3) {\n      _inherits(KeyEventsPlugin, _EventManagerPlugin3);\n\n      /**\n       * Initializes an instance of the browser plug-in.\n       * @param {?} doc The document in which key events will be detected.\n       */\n      function KeyEventsPlugin(doc) {\n        _classCallCheck(this, KeyEventsPlugin);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(KeyEventsPlugin).call(this, doc));\n      }\n      /**\n       * Reports whether a named key event is supported.\n       * @param {?} eventName The event name to query.\n       * @return {?} True if the named key event is supported.\n       */\n\n\n      _createClass2(KeyEventsPlugin, [{\n        key: \"supports\",\n        value: function supports(eventName) {\n          return KeyEventsPlugin.parseEventName(eventName) != null;\n        }\n        /**\n         * Registers a handler for a specific element and key event.\n         * @param {?} element The HTML element to receive event notifications.\n         * @param {?} eventName The name of the key event to listen for.\n         * @param {?} handler A function to call when the notification occurs. Receives the\n         * event object as an argument.\n         * @return {?} The key event that was registered.\n         */\n\n      }, {\n        key: \"addEventListener\",\n        value: function addEventListener(element, eventName, handler) {\n          /** @type {?} */\n          var parsedEvent =\n          /** @type {?} */\n          KeyEventsPlugin.parseEventName(eventName);\n          /** @type {?} */\n\n          var outsideHandler = KeyEventsPlugin.eventCallback(parsedEvent['fullKey'], handler, this.manager.getZone());\n          return this.manager.getZone().runOutsideAngular(\n          /**\n          * @return {?}\n          */\n          function () {\n            return getDOM().onAndCancel(element, parsedEvent['domEventName'], outsideHandler);\n          });\n        }\n        /**\n         * @param {?} eventName\n         * @return {?}\n         */\n\n      }], [{\n        key: \"parseEventName\",\n        value: function parseEventName(eventName) {\n          /** @type {?} */\n          var parts = eventName.toLowerCase().split('.');\n          /** @type {?} */\n\n          var domEventName = parts.shift();\n\n          if (parts.length === 0 || !(domEventName === 'keydown' || domEventName === 'keyup')) {\n            return null;\n          }\n          /** @type {?} */\n\n\n          var key = KeyEventsPlugin._normalizeKey(\n          /** @type {?} */\n          parts.pop());\n          /** @type {?} */\n\n\n          var fullKey = '';\n          MODIFIER_KEYS.forEach(\n          /**\n          * @param {?} modifierName\n          * @return {?}\n          */\n          function (modifierName) {\n            /** @type {?} */\n            var index = parts.indexOf(modifierName);\n\n            if (index > -1) {\n              parts.splice(index, 1);\n              fullKey += modifierName + '.';\n            }\n          });\n          fullKey += key;\n\n          if (parts.length != 0 || key.length === 0) {\n            // returning null instead of throwing to let another plugin process the event\n            return null;\n          }\n          /** @type {?} */\n\n\n          var result = {};\n          result['domEventName'] = domEventName;\n          result['fullKey'] = fullKey;\n          return result;\n        }\n        /**\n         * @param {?} event\n         * @return {?}\n         */\n\n      }, {\n        key: \"getEventFullKey\",\n        value: function getEventFullKey(event) {\n          /** @type {?} */\n          var fullKey = '';\n          /** @type {?} */\n\n          var key = getDOM().getEventKey(event);\n          key = key.toLowerCase();\n\n          if (key === ' ') {\n            key = 'space'; // for readability\n          } else if (key === '.') {\n            key = 'dot'; // because '.' is used as a separator in event names\n          }\n\n          MODIFIER_KEYS.forEach(\n          /**\n          * @param {?} modifierName\n          * @return {?}\n          */\n          function (modifierName) {\n            if (modifierName != key) {\n              /** @type {?} */\n              var modifierGetter = MODIFIER_KEY_GETTERS[modifierName];\n\n              if (modifierGetter(event)) {\n                fullKey += modifierName + '.';\n              }\n            }\n          });\n          fullKey += key;\n          return fullKey;\n        }\n        /**\n         * Configures a handler callback for a key event.\n         * @param {?} fullKey The event name that combines all simultaneous keystrokes.\n         * @param {?} handler The function that responds to the key event.\n         * @param {?} zone The zone in which the event occurred.\n         * @return {?} A callback function.\n         */\n\n      }, {\n        key: \"eventCallback\",\n        value: function eventCallback(fullKey, handler, zone) {\n          return (\n            /**\n            * @param {?} event\n            * @return {?}\n            */\n            function (event\n            /** TODO #9100 */\n            ) {\n              if (KeyEventsPlugin.getEventFullKey(event) === fullKey) {\n                zone.runGuarded(\n                /**\n                * @return {?}\n                */\n                function () {\n                  return handler(event);\n                });\n              }\n            }\n          );\n        }\n        /**\n         * \\@internal\n         * @param {?} keyName\n         * @return {?}\n         */\n\n      }, {\n        key: \"_normalizeKey\",\n        value: function _normalizeKey(keyName) {\n          // TODO: switch to a Map if the mapping grows too much\n          switch (keyName) {\n            case 'esc':\n              return 'escape';\n\n            default:\n              return keyName;\n          }\n        }\n      }]);\n\n      return KeyEventsPlugin;\n    }(EventManagerPlugin);\n\n    KeyEventsPlugin.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"]\n    }];\n    /** @nocollapse */\n\n    KeyEventsPlugin.ctorParameters = function () {\n      return [{\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"],\n          args: [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"]]\n        }]\n      }];\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Marker interface for a value that's safe to use in a particular context.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n\n    function SafeValue() {}\n    /**\n     * Marker interface for a value that's safe to use as HTML.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n\n    function SafeHtml() {}\n    /**\n     * Marker interface for a value that's safe to use as style (CSS).\n     *\n     * \\@publicApi\n     * @record\n     */\n\n\n    function SafeStyle() {}\n    /**\n     * Marker interface for a value that's safe to use as JavaScript.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n\n    function SafeScript() {}\n    /**\n     * Marker interface for a value that's safe to use as a URL linking to a document.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n\n    function SafeUrl() {}\n    /**\n     * Marker interface for a value that's safe to use as a URL to load executable code from.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n\n    function SafeResourceUrl() {}\n    /**\n     * DomSanitizer helps preventing Cross Site Scripting Security bugs (XSS) by sanitizing\n     * values to be safe to use in the different DOM contexts.\n     *\n     * For example, when binding a URL in an `<a [href]=\"someValue\">` hyperlink, `someValue` will be\n     * sanitized so that an attacker cannot inject e.g. a `javascript:` URL that would execute code on\n     * the website.\n     *\n     * In specific situations, it might be necessary to disable sanitization, for example if the\n     * application genuinely needs to produce a `javascript:` style link with a dynamic value in it.\n     * Users can bypass security by constructing a value with one of the `bypassSecurityTrust...`\n     * methods, and then binding to that value from the template.\n     *\n     * These situations should be very rare, and extraordinary care must be taken to avoid creating a\n     * Cross Site Scripting (XSS) security bug!\n     *\n     * When using `bypassSecurityTrust...`, make sure to call the method as early as possible and as\n     * close as possible to the source of the value, to make it easy to verify no security bug is\n     * created by its use.\n     *\n     * It is not required (and not recommended) to bypass security if the value is safe, e.g. a URL that\n     * does not start with a suspicious protocol, or an HTML snippet that does not contain dangerous\n     * code. The sanitizer leaves safe values intact.\n     *\n     * \\@security Calling any of the `bypassSecurityTrust...` APIs disables Angular's built-in\n     * sanitization for the value passed in. Carefully check and audit all values and code paths going\n     * into this call. Make sure any user data is appropriately escaped for this security context.\n     * For more detail, see the [Security Guide](http://g.co/ng/security).\n     *\n     * \\@publicApi\n     * @abstract\n     */\n\n\n    var DomSanitizer = function DomSanitizer() {\n      _classCallCheck(this, DomSanitizer);\n    };\n\n    if (false) {}\n\n    var DomSanitizerImpl =\n    /*#__PURE__*/\n    function (_DomSanitizer) {\n      _inherits(DomSanitizerImpl, _DomSanitizer);\n\n      /**\n       * @param {?} _doc\n       */\n      function DomSanitizerImpl(_doc) {\n        var _this650;\n\n        _classCallCheck(this, DomSanitizerImpl);\n\n        _this650 = _possibleConstructorReturn(this, _getPrototypeOf(DomSanitizerImpl).call(this));\n        _this650._doc = _doc;\n        return _this650;\n      }\n      /**\n       * @param {?} ctx\n       * @param {?} value\n       * @return {?}\n       */\n\n\n      _createClass2(DomSanitizerImpl, [{\n        key: \"sanitize\",\n        value: function sanitize(ctx, value) {\n          if (value == null) return null;\n\n          switch (ctx) {\n            case _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"SecurityContext\"].NONE:\n              return (\n                /** @type {?} */\n                value\n              );\n\n            case _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"SecurityContext\"].HTML:\n              if (value instanceof SafeHtmlImpl) return value.changingThisBreaksApplicationSecurity;\n              this.checkNotSafeValue(value, 'HTML');\n              return Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵ_sanitizeHtml\"])(this._doc, String(value));\n\n            case _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"SecurityContext\"].STYLE:\n              if (value instanceof SafeStyleImpl) return value.changingThisBreaksApplicationSecurity;\n              this.checkNotSafeValue(value, 'Style');\n              return Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵ_sanitizeStyle\"])(\n              /** @type {?} */\n              value);\n\n            case _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"SecurityContext\"].SCRIPT:\n              if (value instanceof SafeScriptImpl) return value.changingThisBreaksApplicationSecurity;\n              this.checkNotSafeValue(value, 'Script');\n              throw new Error('unsafe value used in a script context');\n\n            case _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"SecurityContext\"].URL:\n              if (value instanceof SafeResourceUrlImpl || value instanceof SafeUrlImpl) {\n                // Allow resource URLs in URL contexts, they are strictly more trusted.\n                return value.changingThisBreaksApplicationSecurity;\n              }\n\n              this.checkNotSafeValue(value, 'URL');\n              return Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵ_sanitizeUrl\"])(String(value));\n\n            case _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"SecurityContext\"].RESOURCE_URL:\n              if (value instanceof SafeResourceUrlImpl) {\n                return value.changingThisBreaksApplicationSecurity;\n              }\n\n              this.checkNotSafeValue(value, 'ResourceURL');\n              throw new Error('unsafe value used in a resource URL context (see http://g.co/ng/security#xss)');\n\n            default:\n              throw new Error(\"Unexpected SecurityContext \".concat(ctx, \" (see http://g.co/ng/security#xss)\"));\n          }\n        }\n        /**\n         * @private\n         * @param {?} value\n         * @param {?} expectedType\n         * @return {?}\n         */\n\n      }, {\n        key: \"checkNotSafeValue\",\n        value: function checkNotSafeValue(value, expectedType) {\n          if (value instanceof SafeValueImpl) {\n            throw new Error(\"Required a safe \".concat(expectedType, \", got a \").concat(value.getTypeName(), \" \") + \"(see http://g.co/ng/security#xss)\");\n          }\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"bypassSecurityTrustHtml\",\n        value: function bypassSecurityTrustHtml(value) {\n          return new SafeHtmlImpl(value);\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"bypassSecurityTrustStyle\",\n        value: function bypassSecurityTrustStyle(value) {\n          return new SafeStyleImpl(value);\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"bypassSecurityTrustScript\",\n        value: function bypassSecurityTrustScript(value) {\n          return new SafeScriptImpl(value);\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"bypassSecurityTrustUrl\",\n        value: function bypassSecurityTrustUrl(value) {\n          return new SafeUrlImpl(value);\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"bypassSecurityTrustResourceUrl\",\n        value: function bypassSecurityTrustResourceUrl(value) {\n          return new SafeResourceUrlImpl(value);\n        }\n      }]);\n\n      return DomSanitizerImpl;\n    }(DomSanitizer);\n\n    DomSanitizerImpl.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"]\n    }];\n    /** @nocollapse */\n\n    DomSanitizerImpl.ctorParameters = function () {\n      return [{\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"],\n          args: [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"]]\n        }]\n      }];\n    };\n\n    if (false) {}\n    /**\n     * @abstract\n     */\n\n\n    var SafeValueImpl =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} changingThisBreaksApplicationSecurity\n       */\n      function SafeValueImpl(changingThisBreaksApplicationSecurity) {\n        _classCallCheck(this, SafeValueImpl);\n\n        this.changingThisBreaksApplicationSecurity = changingThisBreaksApplicationSecurity; // empty\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(SafeValueImpl, [{\n        key: \"toString\",\n        value: function toString() {\n          return \"SafeValue must use [property]=binding: \".concat(this.changingThisBreaksApplicationSecurity) + \" (see http://g.co/ng/security#xss)\";\n        }\n      }]);\n\n      return SafeValueImpl;\n    }();\n\n    if (false) {}\n\n    var SafeHtmlImpl =\n    /*#__PURE__*/\n    function (_SafeValueImpl) {\n      _inherits(SafeHtmlImpl, _SafeValueImpl);\n\n      function SafeHtmlImpl() {\n        _classCallCheck(this, SafeHtmlImpl);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(SafeHtmlImpl).apply(this, arguments));\n      }\n\n      _createClass2(SafeHtmlImpl, [{\n        key: \"getTypeName\",\n\n        /**\n         * @return {?}\n         */\n        value: function getTypeName() {\n          return 'HTML';\n        }\n      }]);\n\n      return SafeHtmlImpl;\n    }(SafeValueImpl);\n\n    var SafeStyleImpl =\n    /*#__PURE__*/\n    function (_SafeValueImpl2) {\n      _inherits(SafeStyleImpl, _SafeValueImpl2);\n\n      function SafeStyleImpl() {\n        _classCallCheck(this, SafeStyleImpl);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(SafeStyleImpl).apply(this, arguments));\n      }\n\n      _createClass2(SafeStyleImpl, [{\n        key: \"getTypeName\",\n\n        /**\n         * @return {?}\n         */\n        value: function getTypeName() {\n          return 'Style';\n        }\n      }]);\n\n      return SafeStyleImpl;\n    }(SafeValueImpl);\n\n    var SafeScriptImpl =\n    /*#__PURE__*/\n    function (_SafeValueImpl3) {\n      _inherits(SafeScriptImpl, _SafeValueImpl3);\n\n      function SafeScriptImpl() {\n        _classCallCheck(this, SafeScriptImpl);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(SafeScriptImpl).apply(this, arguments));\n      }\n\n      _createClass2(SafeScriptImpl, [{\n        key: \"getTypeName\",\n\n        /**\n         * @return {?}\n         */\n        value: function getTypeName() {\n          return 'Script';\n        }\n      }]);\n\n      return SafeScriptImpl;\n    }(SafeValueImpl);\n\n    var SafeUrlImpl =\n    /*#__PURE__*/\n    function (_SafeValueImpl4) {\n      _inherits(SafeUrlImpl, _SafeValueImpl4);\n\n      function SafeUrlImpl() {\n        _classCallCheck(this, SafeUrlImpl);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(SafeUrlImpl).apply(this, arguments));\n      }\n\n      _createClass2(SafeUrlImpl, [{\n        key: \"getTypeName\",\n\n        /**\n         * @return {?}\n         */\n        value: function getTypeName() {\n          return 'URL';\n        }\n      }]);\n\n      return SafeUrlImpl;\n    }(SafeValueImpl);\n\n    var SafeResourceUrlImpl =\n    /*#__PURE__*/\n    function (_SafeValueImpl5) {\n      _inherits(SafeResourceUrlImpl, _SafeValueImpl5);\n\n      function SafeResourceUrlImpl() {\n        _classCallCheck(this, SafeResourceUrlImpl);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(SafeResourceUrlImpl).apply(this, arguments));\n      }\n\n      _createClass2(SafeResourceUrlImpl, [{\n        key: \"getTypeName\",\n\n        /**\n         * @return {?}\n         */\n        value: function getTypeName() {\n          return 'ResourceURL';\n        }\n      }]);\n\n      return SafeResourceUrlImpl;\n    }(SafeValueImpl);\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n\n    var ɵ0$5 = _angular_common__WEBPACK_IMPORTED_MODULE_0__[\"ɵPLATFORM_BROWSER_ID\"];\n    /** @type {?} */\n\n    var INTERNAL_BROWSER_PLATFORM_PROVIDERS = [{\n      provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"PLATFORM_ID\"],\n      useValue: ɵ0$5\n    }, {\n      provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"PLATFORM_INITIALIZER\"],\n      useValue: initDomAdapter,\n      multi: true\n    }, {\n      provide: _angular_common__WEBPACK_IMPORTED_MODULE_0__[\"PlatformLocation\"],\n      useClass: BrowserPlatformLocation,\n      deps: [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"]]\n    }, {\n      provide: _angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"],\n      useFactory: _document,\n      deps: []\n    }];\n    /**\n     * \\@security Replacing built-in sanitization providers exposes the application to XSS risks.\n     * Attacker-controlled data introduced by an unsanitized provider could expose your\n     * application to XSS risks. For more detail, see the [Security Guide](http://g.co/ng/security).\n     * \\@publicApi\n     * @type {?}\n     */\n\n    var BROWSER_SANITIZATION_PROVIDERS = [{\n      provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Sanitizer\"],\n      useExisting: DomSanitizer\n    }, {\n      provide: DomSanitizer,\n      useClass: DomSanitizerImpl,\n      deps: [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"]]\n    }];\n    /**\n     * \\@publicApi\n     * @type {?}\n     */\n\n    var platformBrowser = Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"createPlatformFactory\"])(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"platformCore\"], 'browser', INTERNAL_BROWSER_PLATFORM_PROVIDERS);\n    /**\n     * @return {?}\n     */\n\n    function initDomAdapter() {\n      BrowserDomAdapter.makeCurrent();\n      BrowserGetTestability.init();\n    }\n    /**\n     * @return {?}\n     */\n\n\n    function errorHandler() {\n      return new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ErrorHandler\"]();\n    }\n    /**\n     * @return {?}\n     */\n\n\n    function _document() {\n      return document;\n    }\n    /** @type {?} */\n\n\n    var BROWSER_MODULE_PROVIDERS = [BROWSER_SANITIZATION_PROVIDERS, {\n      provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵAPP_ROOT\"],\n      useValue: true\n    }, {\n      provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ErrorHandler\"],\n      useFactory: errorHandler,\n      deps: []\n    }, {\n      provide: EVENT_MANAGER_PLUGINS,\n      useClass: DomEventsPlugin,\n      multi: true,\n      deps: [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"], _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgZone\"], _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"PLATFORM_ID\"]]\n    }, {\n      provide: EVENT_MANAGER_PLUGINS,\n      useClass: KeyEventsPlugin,\n      multi: true,\n      deps: [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"]]\n    }, {\n      provide: EVENT_MANAGER_PLUGINS,\n      useClass: HammerGesturesPlugin,\n      multi: true,\n      deps: [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"], HAMMER_GESTURE_CONFIG, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵConsole\"], [new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"](), HAMMER_LOADER]]\n    }, {\n      provide: HAMMER_GESTURE_CONFIG,\n      useClass: HammerGestureConfig,\n      deps: []\n    }, {\n      provide: DomRendererFactory2,\n      useClass: DomRendererFactory2,\n      deps: [EventManager, DomSharedStylesHost, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"APP_ID\"]]\n    }, {\n      provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"RendererFactory2\"],\n      useExisting: DomRendererFactory2\n    }, {\n      provide: SharedStylesHost,\n      useExisting: DomSharedStylesHost\n    }, {\n      provide: DomSharedStylesHost,\n      useClass: DomSharedStylesHost,\n      deps: [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"]]\n    }, {\n      provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Testability\"],\n      useClass: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Testability\"],\n      deps: [_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgZone\"]]\n    }, {\n      provide: EventManager,\n      useClass: EventManager,\n      deps: [EVENT_MANAGER_PLUGINS, _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgZone\"]]\n    }, ELEMENT_PROBE_PROVIDERS];\n    /**\n     * Exports required infrastructure for all Angular apps.\n     * Included by default in all Angular apps created with the CLI\n     * `new` command.\n     * Re-exports `CommonModule` and `ApplicationModule`, making their\n     * exports and providers available to all apps.\n     *\n     * \\@publicApi\n     */\n\n    var BrowserModule =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} parentModule\n       */\n      function BrowserModule(parentModule) {\n        _classCallCheck(this, BrowserModule);\n\n        if (parentModule) {\n          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.\");\n        }\n      }\n      /**\n       * Configures a browser-based app to transition from a server-rendered app, if\n       * one is present on the page.\n       *\n       * @param {?} params An object containing an identifier for the app to transition.\n       * The ID must match between the client and server versions of the app.\n       * @return {?} The reconfigured `BrowserModule` to import into the app's root `AppModule`.\n       */\n\n\n      _createClass2(BrowserModule, null, [{\n        key: \"withServerTransition\",\n        value: function withServerTransition(params) {\n          return {\n            ngModule: BrowserModule,\n            providers: [{\n              provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"APP_ID\"],\n              useValue: params.appId\n            }, {\n              provide: TRANSITION_ID,\n              useExisting: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"APP_ID\"]\n            }, SERVER_TRANSITION_PROVIDERS]\n          };\n        }\n      }]);\n\n      return BrowserModule;\n    }();\n\n    BrowserModule.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgModule\"],\n      args: [{\n        providers: BROWSER_MODULE_PROVIDERS,\n        exports: [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"CommonModule\"], _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ApplicationModule\"]]\n      }]\n    }];\n    /** @nocollapse */\n\n    BrowserModule.ctorParameters = function () {\n      return [{\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"SkipSelf\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"],\n          args: [BrowserModule]\n        }]\n      }];\n    };\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Factory to create Meta service.\n     * @return {?}\n     */\n\n\n    function createMeta() {\n      return new Meta(Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"]));\n    }\n    /**\n     * A service that can be used to get and add meta tags.\n     *\n     * \\@publicApi\n     */\n\n\n    var Meta =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _doc\n       */\n      function Meta(_doc) {\n        _classCallCheck(this, Meta);\n\n        this._doc = _doc;\n        this._dom = getDOM();\n      }\n      /**\n       * @param {?} tag\n       * @param {?=} forceCreation\n       * @return {?}\n       */\n\n\n      _createClass2(Meta, [{\n        key: \"addTag\",\n        value: function addTag(tag) {\n          var forceCreation = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n          if (!tag) return null;\n          return this._getOrCreateElement(tag, forceCreation);\n        }\n        /**\n         * @param {?} tags\n         * @param {?=} forceCreation\n         * @return {?}\n         */\n\n      }, {\n        key: \"addTags\",\n        value: function addTags(tags) {\n          var _this651 = this;\n\n          var forceCreation = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n          if (!tags) return [];\n          return tags.reduce(\n          /**\n          * @param {?} result\n          * @param {?} tag\n          * @return {?}\n          */\n          function (result, tag) {\n            if (tag) {\n              result.push(_this651._getOrCreateElement(tag, forceCreation));\n            }\n\n            return result;\n          }, []);\n        }\n        /**\n         * @param {?} attrSelector\n         * @return {?}\n         */\n\n      }, {\n        key: \"getTag\",\n        value: function getTag(attrSelector) {\n          if (!attrSelector) return null;\n          return this._dom.querySelector(this._doc, \"meta[\".concat(attrSelector, \"]\")) || null;\n        }\n        /**\n         * @param {?} attrSelector\n         * @return {?}\n         */\n\n      }, {\n        key: \"getTags\",\n        value: function getTags(attrSelector) {\n          if (!attrSelector) return [];\n          /** @type {?} */\n\n          var list\n          /*NodeList*/\n          = this._dom.querySelectorAll(this._doc, \"meta[\".concat(attrSelector, \"]\"));\n\n          return list ? [].slice.call(list) : [];\n        }\n        /**\n         * @param {?} tag\n         * @param {?=} selector\n         * @return {?}\n         */\n\n      }, {\n        key: \"updateTag\",\n        value: function updateTag(tag, selector) {\n          if (!tag) return null;\n          selector = selector || this._parseSelector(tag);\n          /** @type {?} */\n\n          var meta =\n          /** @type {?} */\n          this.getTag(selector);\n\n          if (meta) {\n            return this._setMetaElementAttributes(tag, meta);\n          }\n\n          return this._getOrCreateElement(tag, true);\n        }\n        /**\n         * @param {?} attrSelector\n         * @return {?}\n         */\n\n      }, {\n        key: \"removeTag\",\n        value: function removeTag(attrSelector) {\n          this.removeTagElement(\n          /** @type {?} */\n          this.getTag(attrSelector));\n        }\n        /**\n         * @param {?} meta\n         * @return {?}\n         */\n\n      }, {\n        key: \"removeTagElement\",\n        value: function removeTagElement(meta) {\n          if (meta) {\n            this._dom.remove(meta);\n          }\n        }\n        /**\n         * @private\n         * @param {?} meta\n         * @param {?=} forceCreation\n         * @return {?}\n         */\n\n      }, {\n        key: \"_getOrCreateElement\",\n        value: function _getOrCreateElement(meta) {\n          var forceCreation = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n          if (!forceCreation) {\n            /** @type {?} */\n            var selector = this._parseSelector(meta);\n            /** @type {?} */\n\n\n            var elem =\n            /** @type {?} */\n            this.getTag(selector); // It's allowed to have multiple elements with the same name so it's not enough to\n            // just check that element with the same name already present on the page. We also need to\n            // check if element has tag attributes\n\n            if (elem && this._containsAttributes(meta, elem)) return elem;\n          }\n          /** @type {?} */\n\n\n          var element =\n          /** @type {?} */\n          this._dom.createElement('meta');\n\n          this._setMetaElementAttributes(meta, element);\n          /** @type {?} */\n\n\n          var head = this._dom.getElementsByTagName(this._doc, 'head')[0];\n\n          this._dom.appendChild(head, element);\n\n          return element;\n        }\n        /**\n         * @private\n         * @param {?} tag\n         * @param {?} el\n         * @return {?}\n         */\n\n      }, {\n        key: \"_setMetaElementAttributes\",\n        value: function _setMetaElementAttributes(tag, el) {\n          var _this652 = this;\n\n          Object.keys(tag).forEach(\n          /**\n          * @param {?} prop\n          * @return {?}\n          */\n          function (prop) {\n            return _this652._dom.setAttribute(el, prop, tag[prop]);\n          });\n          return el;\n        }\n        /**\n         * @private\n         * @param {?} tag\n         * @return {?}\n         */\n\n      }, {\n        key: \"_parseSelector\",\n        value: function _parseSelector(tag) {\n          /** @type {?} */\n          var attr = tag.name ? 'name' : 'property';\n          return \"\".concat(attr, \"=\\\"\").concat(tag[attr], \"\\\"\");\n        }\n        /**\n         * @private\n         * @param {?} tag\n         * @param {?} elem\n         * @return {?}\n         */\n\n      }, {\n        key: \"_containsAttributes\",\n        value: function _containsAttributes(tag, elem) {\n          var _this653 = this;\n\n          return Object.keys(tag).every(\n          /**\n          * @param {?} key\n          * @return {?}\n          */\n          function (key) {\n            return _this653._dom.getAttribute(elem, key) === tag[key];\n          });\n        }\n      }]);\n\n      return Meta;\n    }();\n\n    Meta.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"],\n      args: [{\n        providedIn: 'root',\n        useFactory: createMeta,\n        deps: []\n      }]\n    }];\n    /** @nocollapse */\n\n    Meta.ctorParameters = function () {\n      return [{\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"],\n          args: [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"]]\n        }]\n      }];\n    };\n    /** @nocollapse */\n\n\n    Meta.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵdefineInjectable\"])({\n      factory: createMeta,\n      token: Meta,\n      providedIn: \"root\"\n    });\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Factory to create Title service.\n     * @return {?}\n     */\n\n\n    function createTitle() {\n      return new Title(Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"]));\n    }\n    /**\n     * A service that can be used to get and set the title of a current HTML document.\n     *\n     * Since an Angular application can't be bootstrapped on the entire HTML document (`<html>` tag)\n     * it is not possible to bind to the `text` property of the `HTMLTitleElement` elements\n     * (representing the `<title>` tag). Instead, this service can be used to set and get the current\n     * title value.\n     *\n     * \\@publicApi\n     */\n\n\n    var Title =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} _doc\n       */\n      function Title(_doc) {\n        _classCallCheck(this, Title);\n\n        this._doc = _doc;\n      }\n      /**\n       * Get the title of the current HTML document.\n       * @return {?}\n       */\n\n\n      _createClass2(Title, [{\n        key: \"getTitle\",\n        value: function getTitle() {\n          return getDOM().getTitle(this._doc);\n        }\n        /**\n         * Set the title of the current HTML document.\n         * @param {?} newTitle\n         * @return {?}\n         */\n\n      }, {\n        key: \"setTitle\",\n        value: function setTitle(newTitle) {\n          getDOM().setTitle(this._doc, newTitle);\n        }\n      }]);\n\n      return Title;\n    }();\n\n    Title.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"],\n      args: [{\n        providedIn: 'root',\n        useFactory: createTitle,\n        deps: []\n      }]\n    }];\n    /** @nocollapse */\n\n    Title.ctorParameters = function () {\n      return [{\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"],\n          args: [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"]]\n        }]\n      }];\n    };\n    /** @nocollapse */\n\n\n    Title.ngInjectableDef = Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵdefineInjectable\"])({\n      factory: createTitle,\n      token: Title,\n      providedIn: \"root\"\n    });\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /** @type {?} */\n\n\n    var win = typeof window !== 'undefined' && window ||\n    /** @type {?} */\n    {};\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    var ChangeDetectionPerfRecord =\n    /**\n     * @param {?} msPerTick\n     * @param {?} numTicks\n     */\n    function ChangeDetectionPerfRecord(msPerTick, numTicks) {\n      _classCallCheck(this, ChangeDetectionPerfRecord);\n\n      this.msPerTick = msPerTick;\n      this.numTicks = numTicks;\n    };\n\n    if (false) {}\n    /**\n     * Entry point for all Angular profiling-related debug tools. This object\n     * corresponds to the `ng.profiler` in the dev console.\n     */\n\n\n    var AngularProfiler =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} ref\n       */\n      function AngularProfiler(ref) {\n        _classCallCheck(this, AngularProfiler);\n\n        this.appRef = ref.injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ApplicationRef\"]);\n      } // tslint:disable:no-console\n\n      /**\n       * Exercises change detection in a loop and then prints the average amount of\n       * time in milliseconds how long a single round of change detection takes for\n       * the current state of the UI. It runs a minimum of 5 rounds for a minimum\n       * of 500 milliseconds.\n       *\n       * Optionally, a user may pass a `config` parameter containing a map of\n       * options. Supported options are:\n       *\n       * `record` (boolean) - causes the profiler to record a CPU profile while\n       * it exercises the change detector. Example:\n       *\n       * ```\n       * ng.profiler.timeChangeDetection({record: true})\n       * ```\n       * @param {?} config\n       * @return {?}\n       */\n\n\n      _createClass2(AngularProfiler, [{\n        key: \"timeChangeDetection\",\n        value: function timeChangeDetection(config) {\n          /** @type {?} */\n          var record = config && config['record'];\n          /** @type {?} */\n\n          var profileName = 'Change Detection'; // Profiler is not available in Android browsers, nor in IE 9 without dev tools opened\n\n          /** @type {?} */\n\n          var isProfilerAvailable = win.console.profile != null;\n\n          if (record && isProfilerAvailable) {\n            win.console.profile(profileName);\n          }\n          /** @type {?} */\n\n\n          var start = getDOM().performanceNow();\n          /** @type {?} */\n\n          var numTicks = 0;\n\n          while (numTicks < 5 || getDOM().performanceNow() - start < 500) {\n            this.appRef.tick();\n            numTicks++;\n          }\n          /** @type {?} */\n\n\n          var end = getDOM().performanceNow();\n\n          if (record && isProfilerAvailable) {\n            win.console.profileEnd(profileName);\n          }\n          /** @type {?} */\n\n\n          var msPerTick = (end - start) / numTicks;\n          win.console.log(\"ran \".concat(numTicks, \" change detection cycles\"));\n          win.console.log(\"\".concat(msPerTick.toFixed(2), \" ms per check\"));\n          return new ChangeDetectionPerfRecord(msPerTick, numTicks);\n        }\n      }]);\n\n      return AngularProfiler;\n    }();\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var PROFILER_GLOBAL_NAME = 'profiler';\n    /**\n     * Enabled Angular debug tools that are accessible via your browser's\n     * developer console.\n     *\n     * Usage:\n     *\n     * 1. Open developer console (e.g. in Chrome Ctrl + Shift + j)\n     * 1. Type `ng.` (usually the console will show auto-complete suggestion)\n     * 1. Try the change detection profiler `ng.profiler.timeChangeDetection()`\n     *    then hit Enter.\n     *\n     * \\@publicApi\n     * @template T\n     * @param {?} ref\n     * @return {?}\n     */\n\n    function enableDebugTools(ref) {\n      exportNgVar(PROFILER_GLOBAL_NAME, new AngularProfiler(ref));\n      return ref;\n    }\n    /**\n     * Disables Angular tools.\n     *\n     * \\@publicApi\n     * @return {?}\n     */\n\n\n    function disableDebugTools() {\n      exportNgVar(PROFILER_GLOBAL_NAME, null);\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @param {?} text\n     * @return {?}\n     */\n\n\n    function escapeHtml(text) {\n      /** @type {?} */\n      var escapedText = {\n        '&': '&a;',\n        '\"': '&q;',\n        '\\'': '&s;',\n        '<': '&l;',\n        '>': '&g;'\n      };\n      return text.replace(/[&\"'<>]/g,\n      /**\n      * @param {?} s\n      * @return {?}\n      */\n      function (s) {\n        return escapedText[s];\n      });\n    }\n    /**\n     * @param {?} text\n     * @return {?}\n     */\n\n\n    function unescapeHtml(text) {\n      /** @type {?} */\n      var unescapedText = {\n        '&a;': '&',\n        '&q;': '\"',\n        '&s;': '\\'',\n        '&l;': '<',\n        '&g;': '>'\n      };\n      return text.replace(/&[^;]+;/g,\n      /**\n      * @param {?} s\n      * @return {?}\n      */\n      function (s) {\n        return unescapedText[s];\n      });\n    }\n    /**\n     * Create a `StateKey<T>` that can be used to store value of type T with `TransferState`.\n     *\n     * Example:\n     *\n     * ```\n     * const COUNTER_KEY = makeStateKey<number>('counter');\n     * let value = 10;\n     *\n     * transferState.set(COUNTER_KEY, value);\n     * ```\n     *\n     * \\@publicApi\n     * @template T\n     * @param {?} key\n     * @return {?}\n     */\n\n\n    function makeStateKey(key) {\n      return (\n        /** @type {?} */\n        key\n      );\n    }\n    /**\n     * A key value store that is transferred from the application on the server side to the application\n     * on the client side.\n     *\n     * `TransferState` will be available as an injectable token. To use it import\n     * `ServerTransferStateModule` on the server and `BrowserTransferStateModule` on the client.\n     *\n     * The values in the store are serialized/deserialized using JSON.stringify/JSON.parse. So only\n     * boolean, number, string, null and non-class objects will be serialized and deserialzied in a\n     * non-lossy manner.\n     *\n     * \\@publicApi\n     */\n\n\n    var TransferState =\n    /*#__PURE__*/\n    function () {\n      function TransferState() {\n        _classCallCheck(this, TransferState);\n\n        this.store = {};\n        this.onSerializeCallbacks = {};\n      }\n      /**\n       * \\@internal\n       * @param {?} initState\n       * @return {?}\n       */\n\n\n      _createClass2(TransferState, [{\n        key: \"get\",\n\n        /**\n         * Get the value corresponding to a key. Return `defaultValue` if key is not found.\n         * @template T\n         * @param {?} key\n         * @param {?} defaultValue\n         * @return {?}\n         */\n        value: function get(key, defaultValue) {\n          return this.store[key] !== undefined ?\n          /** @type {?} */\n          this.store[key] : defaultValue;\n        }\n        /**\n         * Set the value corresponding to a key.\n         * @template T\n         * @param {?} key\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"set\",\n        value: function set(key, value) {\n          this.store[key] = value;\n        }\n        /**\n         * Remove a key from the store.\n         * @template T\n         * @param {?} key\n         * @return {?}\n         */\n\n      }, {\n        key: \"remove\",\n        value: function remove(key) {\n          delete this.store[key];\n        }\n        /**\n         * Test whether a key exists in the store.\n         * @template T\n         * @param {?} key\n         * @return {?}\n         */\n\n      }, {\n        key: \"hasKey\",\n        value: function hasKey(key) {\n          return this.store.hasOwnProperty(key);\n        }\n        /**\n         * Register a callback to provide the value for a key when `toJson` is called.\n         * @template T\n         * @param {?} key\n         * @param {?} callback\n         * @return {?}\n         */\n\n      }, {\n        key: \"onSerialize\",\n        value: function onSerialize(key, callback) {\n          this.onSerializeCallbacks[key] = callback;\n        }\n        /**\n         * Serialize the current state of the store to JSON.\n         * @return {?}\n         */\n\n      }, {\n        key: \"toJson\",\n        value: function toJson() {\n          // Call the onSerialize callbacks and put those values into the store.\n          for (var key in this.onSerializeCallbacks) {\n            if (this.onSerializeCallbacks.hasOwnProperty(key)) {\n              try {\n                this.store[key] = this.onSerializeCallbacks[key]();\n              } catch (e) {\n                console.warn('Exception in onSerialize callback: ', e);\n              }\n            }\n          }\n\n          return JSON.stringify(this.store);\n        }\n      }], [{\n        key: \"init\",\n        value: function init(initState) {\n          /** @type {?} */\n          var transferState = new TransferState();\n          transferState.store = initState;\n          return transferState;\n        }\n      }]);\n\n      return TransferState;\n    }();\n\n    TransferState.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"]\n    }];\n\n    if (false) {}\n    /**\n     * @param {?} doc\n     * @param {?} appId\n     * @return {?}\n     */\n\n\n    function initTransferState(doc, appId) {\n      // Locate the script tag with the JSON data transferred from the server.\n      // The id of the script tag is set to the Angular appId + 'state'.\n\n      /** @type {?} */\n      var script = doc.getElementById(appId + '-state');\n      /** @type {?} */\n\n      var initialState = {};\n\n      if (script && script.textContent) {\n        try {\n          initialState = JSON.parse(unescapeHtml(script.textContent));\n        } catch (e) {\n          console.warn('Exception while restoring TransferState for app ' + appId, e);\n        }\n      }\n\n      return TransferState.init(initialState);\n    }\n    /**\n     * NgModule to install on the client side while using the `TransferState` to transfer state from\n     * server to client.\n     *\n     * \\@publicApi\n     */\n\n\n    var BrowserTransferStateModule = function BrowserTransferStateModule() {\n      _classCallCheck(this, BrowserTransferStateModule);\n    };\n\n    BrowserTransferStateModule.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgModule\"],\n      args: [{\n        providers: [{\n          provide: TransferState,\n          useFactory: initTransferState,\n          deps: [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"DOCUMENT\"], _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"APP_ID\"]]\n        }]\n      }]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Predicates for use with {\\@link DebugElement}'s query functions.\n     *\n     * \\@publicApi\n     */\n\n    var By =\n    /*#__PURE__*/\n    function () {\n      function By() {\n        _classCallCheck(this, By);\n      }\n\n      _createClass2(By, null, [{\n        key: \"all\",\n\n        /**\n         * Match all nodes.\n         *\n         * \\@usageNotes\n         * ### Example\n         *\n         * {\\@example platform-browser/dom/debug/ts/by/by.ts region='by_all'}\n         * @return {?}\n         */\n        value: function all() {\n          return (\n            /**\n            * @return {?}\n            */\n            function () {\n              return true;\n            }\n          );\n        }\n        /**\n         * Match elements by the given CSS selector.\n         *\n         * \\@usageNotes\n         * ### Example\n         *\n         * {\\@example platform-browser/dom/debug/ts/by/by.ts region='by_css'}\n         * @param {?} selector\n         * @return {?}\n         */\n\n      }, {\n        key: \"css\",\n        value: function css(selector) {\n          return (\n            /**\n            * @param {?} debugElement\n            * @return {?}\n            */\n            function (debugElement) {\n              return debugElement.nativeElement != null ? getDOM().elementMatches(debugElement.nativeElement, selector) : false;\n            }\n          );\n        }\n        /**\n         * Match nodes that have the given directive present.\n         *\n         * \\@usageNotes\n         * ### Example\n         *\n         * {\\@example platform-browser/dom/debug/ts/by/by.ts region='by_directive'}\n         * @param {?} type\n         * @return {?}\n         */\n\n      }, {\n        key: \"directive\",\n        value: function directive(type) {\n          return (\n            /**\n            * @param {?} debugNode\n            * @return {?}\n            */\n            function (debugNode) {\n              return (\n                /** @type {?} */\n                debugNode.providerTokens.indexOf(type) !== -1\n              );\n            }\n          );\n        }\n      }]);\n\n      return By;\n    }();\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var VERSION = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Version\"]('8.2.14');\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Generated bundle index. Do not edit.\n     */\n\n    /***/\n  },\n\n  /***/\n  \"./node_modules/@angular/router/fesm2015/router.js\":\n  /*!*********************************************************!*\\\n    !*** ./node_modules/@angular/router/fesm2015/router.js ***!\n    \\*********************************************************/\n\n  /*! exports provided: ɵangular_packages_router_router_l, ɵEmptyOutletComponent, ɵangular_packages_router_router_a, ɵangular_packages_router_router_h, ɵangular_packages_router_router_c, ɵangular_packages_router_router_i, ɵangular_packages_router_router_j, ɵangular_packages_router_router_e, ɵangular_packages_router_router_d, ɵangular_packages_router_router_k, ɵangular_packages_router_router_g, ɵangular_packages_router_router_b, ɵangular_packages_router_router_f, ɵangular_packages_router_router_o, ɵangular_packages_router_router_m, ɵangular_packages_router_router_n, RouterLink, RouterLinkWithHref, RouterLinkActive, RouterOutlet, ActivationEnd, ActivationStart, ChildActivationEnd, ChildActivationStart, GuardsCheckEnd, GuardsCheckStart, NavigationCancel, NavigationEnd, NavigationError, NavigationStart, ResolveEnd, ResolveStart, RouteConfigLoadEnd, RouteConfigLoadStart, RouterEvent, RoutesRecognized, Scroll, RouteReuseStrategy, Router, ROUTES, ROUTER_CONFIGURATION, ROUTER_INITIALIZER, RouterModule, provideRoutes, ChildrenOutletContexts, OutletContext, NoPreloading, PreloadAllModules, PreloadingStrategy, RouterPreloader, ActivatedRoute, ActivatedRouteSnapshot, RouterState, RouterStateSnapshot, PRIMARY_OUTLET, convertToParamMap, UrlHandlingStrategy, DefaultUrlSerializer, UrlSegment, UrlSegmentGroup, UrlSerializer, UrlTree, VERSION, ɵROUTER_PROVIDERS, ɵflatten */\n\n  /***/\n  function node_modulesAngularRouterFesm2015RouterJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_router_router_l\", function () {\n      return ɵEmptyOutletComponent;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵEmptyOutletComponent\", function () {\n      return ɵEmptyOutletComponent;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_router_router_a\", function () {\n      return ROUTER_FORROOT_GUARD;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_router_router_h\", function () {\n      return RouterInitializer;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_router_router_c\", function () {\n      return createRouterScroller;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_router_router_i\", function () {\n      return getAppInitializer;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_router_router_j\", function () {\n      return getBootstrapListener;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_router_router_e\", function () {\n      return provideForRootGuard;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_router_router_d\", function () {\n      return provideLocationStrategy;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_router_router_k\", function () {\n      return provideRouterInitializer;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_router_router_g\", function () {\n      return rootRoute;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_router_router_b\", function () {\n      return routerNgProbeToken;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_router_router_f\", function () {\n      return setupRouter;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_router_router_o\", function () {\n      return RouterScroller;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_router_router_m\", function () {\n      return Tree;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵangular_packages_router_router_n\", function () {\n      return TreeNode;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"RouterLink\", function () {\n      return RouterLink;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"RouterLinkWithHref\", function () {\n      return RouterLinkWithHref;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"RouterLinkActive\", function () {\n      return RouterLinkActive;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"RouterOutlet\", function () {\n      return RouterOutlet;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ActivationEnd\", function () {\n      return ActivationEnd;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ActivationStart\", function () {\n      return ActivationStart;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ChildActivationEnd\", function () {\n      return ChildActivationEnd;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ChildActivationStart\", function () {\n      return ChildActivationStart;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"GuardsCheckEnd\", function () {\n      return GuardsCheckEnd;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"GuardsCheckStart\", function () {\n      return GuardsCheckStart;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NavigationCancel\", function () {\n      return NavigationCancel;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NavigationEnd\", function () {\n      return NavigationEnd;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NavigationError\", function () {\n      return NavigationError;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NavigationStart\", function () {\n      return NavigationStart;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ResolveEnd\", function () {\n      return ResolveEnd;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ResolveStart\", function () {\n      return ResolveStart;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"RouteConfigLoadEnd\", function () {\n      return RouteConfigLoadEnd;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"RouteConfigLoadStart\", function () {\n      return RouteConfigLoadStart;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"RouterEvent\", function () {\n      return RouterEvent;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"RoutesRecognized\", function () {\n      return RoutesRecognized;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Scroll\", function () {\n      return Scroll;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"RouteReuseStrategy\", function () {\n      return RouteReuseStrategy;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Router\", function () {\n      return Router;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ROUTES\", function () {\n      return ROUTES;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ROUTER_CONFIGURATION\", function () {\n      return ROUTER_CONFIGURATION;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ROUTER_INITIALIZER\", function () {\n      return ROUTER_INITIALIZER;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"RouterModule\", function () {\n      return RouterModule;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"provideRoutes\", function () {\n      return provideRoutes;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ChildrenOutletContexts\", function () {\n      return ChildrenOutletContexts;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"OutletContext\", function () {\n      return OutletContext;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NoPreloading\", function () {\n      return NoPreloading;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"PreloadAllModules\", function () {\n      return PreloadAllModules;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"PreloadingStrategy\", function () {\n      return PreloadingStrategy;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"RouterPreloader\", function () {\n      return RouterPreloader;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ActivatedRoute\", function () {\n      return ActivatedRoute;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ActivatedRouteSnapshot\", function () {\n      return ActivatedRouteSnapshot;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"RouterState\", function () {\n      return RouterState;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"RouterStateSnapshot\", function () {\n      return RouterStateSnapshot;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"PRIMARY_OUTLET\", function () {\n      return PRIMARY_OUTLET;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"convertToParamMap\", function () {\n      return convertToParamMap;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"UrlHandlingStrategy\", function () {\n      return UrlHandlingStrategy;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DefaultUrlSerializer\", function () {\n      return DefaultUrlSerializer;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"UrlSegment\", function () {\n      return UrlSegment;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"UrlSegmentGroup\", function () {\n      return UrlSegmentGroup;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"UrlSerializer\", function () {\n      return UrlSerializer;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"UrlTree\", function () {\n      return UrlTree;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"VERSION\", function () {\n      return VERSION;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵROUTER_PROVIDERS\", function () {\n      return ROUTER_PROVIDERS;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ɵflatten\", function () {\n      return flatten;\n    });\n    /* harmony import */\n\n\n    var _angular_common__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! @angular/common */\n    \"./node_modules/@angular/common/fesm2015/common.js\");\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! rxjs */\n    \"./node_modules/rxjs/_esm2015/index.js\");\n    /* harmony import */\n\n\n    var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! rxjs/operators */\n    \"./node_modules/rxjs/_esm2015/operators/index.js\");\n    /* harmony import */\n\n\n    var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! @angular/platform-browser */\n    \"./node_modules/@angular/platform-browser/fesm2015/platform-browser.js\");\n    /**\n     * @license Angular v8.2.14\n     * (c) 2010-2019 Google LLC. https://angular.io/\n     * License: MIT\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * Base for events the router goes through, as opposed to events tied to a specific\n     * route. Fired one time for any given navigation.\n     *\n     * \\@usageNotes\n     *\n     * ```ts\n     * class MyService {\n     *   constructor(public router: Router, logger: Logger) {\n     *     router.events.pipe(\n     *       filter(e => e instanceof RouterEvent)\n     *     ).subscribe(e => {\n     *       logger.log(e.id, e.url);\n     *     });\n     *   }\n     * }\n     * ```\n     *\n     * @see `Event`\n     * \\@publicApi\n     */\n\n\n    var RouterEvent =\n    /**\n     * @param {?} id\n     * @param {?} url\n     */\n    function RouterEvent(id, url) {\n      _classCallCheck(this, RouterEvent);\n\n      this.id = id;\n      this.url = url;\n    };\n\n    if (false) {}\n    /**\n     * An event triggered when a navigation starts.\n     *\n     * \\@publicApi\n     */\n\n\n    var NavigationStart =\n    /*#__PURE__*/\n    function (_RouterEvent) {\n      _inherits(NavigationStart, _RouterEvent);\n\n      /**\n       * @param {?} id\n       * @param {?} url\n       * @param {?=} navigationTrigger\n       * @param {?=} restoredState\n       */\n      function NavigationStart(\n      /** @docsNotRequired */\n      id,\n      /** @docsNotRequired */\n      url) {\n        var _this654;\n\n        var navigationTrigger = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'imperative';\n        var restoredState = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;\n\n        _classCallCheck(this, NavigationStart);\n\n        _this654 = _possibleConstructorReturn(this, _getPrototypeOf(NavigationStart).call(this, id, url));\n        _this654.navigationTrigger = navigationTrigger;\n        _this654.restoredState = restoredState;\n        return _this654;\n      }\n      /**\n       * \\@docsNotRequired\n       * @return {?}\n       */\n\n\n      _createClass2(NavigationStart, [{\n        key: \"toString\",\n        value: function toString() {\n          return \"NavigationStart(id: \".concat(this.id, \", url: '\").concat(this.url, \"')\");\n        }\n      }]);\n\n      return NavigationStart;\n    }(RouterEvent);\n\n    if (false) {}\n    /**\n     * An event triggered when a navigation ends successfully.\n     *\n     * \\@publicApi\n     */\n\n\n    var NavigationEnd =\n    /*#__PURE__*/\n    function (_RouterEvent2) {\n      _inherits(NavigationEnd, _RouterEvent2);\n\n      /**\n       * @param {?} id\n       * @param {?} url\n       * @param {?} urlAfterRedirects\n       */\n      function NavigationEnd(\n      /** @docsNotRequired */\n      id,\n      /** @docsNotRequired */\n      url, urlAfterRedirects) {\n        var _this655;\n\n        _classCallCheck(this, NavigationEnd);\n\n        _this655 = _possibleConstructorReturn(this, _getPrototypeOf(NavigationEnd).call(this, id, url));\n        _this655.urlAfterRedirects = urlAfterRedirects;\n        return _this655;\n      }\n      /**\n       * \\@docsNotRequired\n       * @return {?}\n       */\n\n\n      _createClass2(NavigationEnd, [{\n        key: \"toString\",\n        value: function toString() {\n          return \"NavigationEnd(id: \".concat(this.id, \", url: '\").concat(this.url, \"', urlAfterRedirects: '\").concat(this.urlAfterRedirects, \"')\");\n        }\n      }]);\n\n      return NavigationEnd;\n    }(RouterEvent);\n\n    if (false) {}\n    /**\n     * An event triggered when a navigation is canceled, directly or indirectly.\n     *\n     * This can happen when a [route guard](guide/router#milestone-5-route-guards)\n     * returns `false` or initiates a redirect by returning a `UrlTree`.\n     *\n     * \\@publicApi\n     */\n\n\n    var NavigationCancel =\n    /*#__PURE__*/\n    function (_RouterEvent3) {\n      _inherits(NavigationCancel, _RouterEvent3);\n\n      /**\n       * @param {?} id\n       * @param {?} url\n       * @param {?} reason\n       */\n      function NavigationCancel(\n      /** @docsNotRequired */\n      id,\n      /** @docsNotRequired */\n      url, reason) {\n        var _this656;\n\n        _classCallCheck(this, NavigationCancel);\n\n        _this656 = _possibleConstructorReturn(this, _getPrototypeOf(NavigationCancel).call(this, id, url));\n        _this656.reason = reason;\n        return _this656;\n      }\n      /**\n       * \\@docsNotRequired\n       * @return {?}\n       */\n\n\n      _createClass2(NavigationCancel, [{\n        key: \"toString\",\n        value: function toString() {\n          return \"NavigationCancel(id: \".concat(this.id, \", url: '\").concat(this.url, \"')\");\n        }\n      }]);\n\n      return NavigationCancel;\n    }(RouterEvent);\n\n    if (false) {}\n    /**\n     * An event triggered when a navigation fails due to an unexpected error.\n     *\n     * \\@publicApi\n     */\n\n\n    var NavigationError =\n    /*#__PURE__*/\n    function (_RouterEvent4) {\n      _inherits(NavigationError, _RouterEvent4);\n\n      /**\n       * @param {?} id\n       * @param {?} url\n       * @param {?} error\n       */\n      function NavigationError(\n      /** @docsNotRequired */\n      id,\n      /** @docsNotRequired */\n      url, error) {\n        var _this657;\n\n        _classCallCheck(this, NavigationError);\n\n        _this657 = _possibleConstructorReturn(this, _getPrototypeOf(NavigationError).call(this, id, url));\n        _this657.error = error;\n        return _this657;\n      }\n      /**\n       * \\@docsNotRequired\n       * @return {?}\n       */\n\n\n      _createClass2(NavigationError, [{\n        key: \"toString\",\n        value: function toString() {\n          return \"NavigationError(id: \".concat(this.id, \", url: '\").concat(this.url, \"', error: \").concat(this.error, \")\");\n        }\n      }]);\n\n      return NavigationError;\n    }(RouterEvent);\n\n    if (false) {}\n    /**\n     * An event triggered when routes are recognized.\n     *\n     * \\@publicApi\n     */\n\n\n    var RoutesRecognized =\n    /*#__PURE__*/\n    function (_RouterEvent5) {\n      _inherits(RoutesRecognized, _RouterEvent5);\n\n      /**\n       * @param {?} id\n       * @param {?} url\n       * @param {?} urlAfterRedirects\n       * @param {?} state\n       */\n      function RoutesRecognized(\n      /** @docsNotRequired */\n      id,\n      /** @docsNotRequired */\n      url, urlAfterRedirects, state) {\n        var _this658;\n\n        _classCallCheck(this, RoutesRecognized);\n\n        _this658 = _possibleConstructorReturn(this, _getPrototypeOf(RoutesRecognized).call(this, id, url));\n        _this658.urlAfterRedirects = urlAfterRedirects;\n        _this658.state = state;\n        return _this658;\n      }\n      /**\n       * \\@docsNotRequired\n       * @return {?}\n       */\n\n\n      _createClass2(RoutesRecognized, [{\n        key: \"toString\",\n        value: function toString() {\n          return \"RoutesRecognized(id: \".concat(this.id, \", url: '\").concat(this.url, \"', urlAfterRedirects: '\").concat(this.urlAfterRedirects, \"', state: \").concat(this.state, \")\");\n        }\n      }]);\n\n      return RoutesRecognized;\n    }(RouterEvent);\n\n    if (false) {}\n    /**\n     * An event triggered at the start of the Guard phase of routing.\n     *\n     * \\@publicApi\n     */\n\n\n    var GuardsCheckStart =\n    /*#__PURE__*/\n    function (_RouterEvent6) {\n      _inherits(GuardsCheckStart, _RouterEvent6);\n\n      /**\n       * @param {?} id\n       * @param {?} url\n       * @param {?} urlAfterRedirects\n       * @param {?} state\n       */\n      function GuardsCheckStart(\n      /** @docsNotRequired */\n      id,\n      /** @docsNotRequired */\n      url, urlAfterRedirects, state) {\n        var _this659;\n\n        _classCallCheck(this, GuardsCheckStart);\n\n        _this659 = _possibleConstructorReturn(this, _getPrototypeOf(GuardsCheckStart).call(this, id, url));\n        _this659.urlAfterRedirects = urlAfterRedirects;\n        _this659.state = state;\n        return _this659;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(GuardsCheckStart, [{\n        key: \"toString\",\n        value: function toString() {\n          return \"GuardsCheckStart(id: \".concat(this.id, \", url: '\").concat(this.url, \"', urlAfterRedirects: '\").concat(this.urlAfterRedirects, \"', state: \").concat(this.state, \")\");\n        }\n      }]);\n\n      return GuardsCheckStart;\n    }(RouterEvent);\n\n    if (false) {}\n    /**\n     * An event triggered at the end of the Guard phase of routing.\n     *\n     * \\@publicApi\n     */\n\n\n    var GuardsCheckEnd =\n    /*#__PURE__*/\n    function (_RouterEvent7) {\n      _inherits(GuardsCheckEnd, _RouterEvent7);\n\n      /**\n       * @param {?} id\n       * @param {?} url\n       * @param {?} urlAfterRedirects\n       * @param {?} state\n       * @param {?} shouldActivate\n       */\n      function GuardsCheckEnd(\n      /** @docsNotRequired */\n      id,\n      /** @docsNotRequired */\n      url, urlAfterRedirects, state, shouldActivate) {\n        var _this660;\n\n        _classCallCheck(this, GuardsCheckEnd);\n\n        _this660 = _possibleConstructorReturn(this, _getPrototypeOf(GuardsCheckEnd).call(this, id, url));\n        _this660.urlAfterRedirects = urlAfterRedirects;\n        _this660.state = state;\n        _this660.shouldActivate = shouldActivate;\n        return _this660;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(GuardsCheckEnd, [{\n        key: \"toString\",\n        value: function toString() {\n          return \"GuardsCheckEnd(id: \".concat(this.id, \", url: '\").concat(this.url, \"', urlAfterRedirects: '\").concat(this.urlAfterRedirects, \"', state: \").concat(this.state, \", shouldActivate: \").concat(this.shouldActivate, \")\");\n        }\n      }]);\n\n      return GuardsCheckEnd;\n    }(RouterEvent);\n\n    if (false) {}\n    /**\n     * An event triggered at the the start of the Resolve phase of routing.\n     *\n     * Runs in the \"resolve\" phase whether or not there is anything to resolve.\n     * In future, may change to only run when there are things to be resolved.\n     *\n     * \\@publicApi\n     */\n\n\n    var ResolveStart =\n    /*#__PURE__*/\n    function (_RouterEvent8) {\n      _inherits(ResolveStart, _RouterEvent8);\n\n      /**\n       * @param {?} id\n       * @param {?} url\n       * @param {?} urlAfterRedirects\n       * @param {?} state\n       */\n      function ResolveStart(\n      /** @docsNotRequired */\n      id,\n      /** @docsNotRequired */\n      url, urlAfterRedirects, state) {\n        var _this661;\n\n        _classCallCheck(this, ResolveStart);\n\n        _this661 = _possibleConstructorReturn(this, _getPrototypeOf(ResolveStart).call(this, id, url));\n        _this661.urlAfterRedirects = urlAfterRedirects;\n        _this661.state = state;\n        return _this661;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(ResolveStart, [{\n        key: \"toString\",\n        value: function toString() {\n          return \"ResolveStart(id: \".concat(this.id, \", url: '\").concat(this.url, \"', urlAfterRedirects: '\").concat(this.urlAfterRedirects, \"', state: \").concat(this.state, \")\");\n        }\n      }]);\n\n      return ResolveStart;\n    }(RouterEvent);\n\n    if (false) {}\n    /**\n     * An event triggered at the end of the Resolve phase of routing.\n     * @see `ResolveStart`.\n     *\n     * \\@publicApi\n     */\n\n\n    var ResolveEnd =\n    /*#__PURE__*/\n    function (_RouterEvent9) {\n      _inherits(ResolveEnd, _RouterEvent9);\n\n      /**\n       * @param {?} id\n       * @param {?} url\n       * @param {?} urlAfterRedirects\n       * @param {?} state\n       */\n      function ResolveEnd(\n      /** @docsNotRequired */\n      id,\n      /** @docsNotRequired */\n      url, urlAfterRedirects, state) {\n        var _this662;\n\n        _classCallCheck(this, ResolveEnd);\n\n        _this662 = _possibleConstructorReturn(this, _getPrototypeOf(ResolveEnd).call(this, id, url));\n        _this662.urlAfterRedirects = urlAfterRedirects;\n        _this662.state = state;\n        return _this662;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(ResolveEnd, [{\n        key: \"toString\",\n        value: function toString() {\n          return \"ResolveEnd(id: \".concat(this.id, \", url: '\").concat(this.url, \"', urlAfterRedirects: '\").concat(this.urlAfterRedirects, \"', state: \").concat(this.state, \")\");\n        }\n      }]);\n\n      return ResolveEnd;\n    }(RouterEvent);\n\n    if (false) {}\n    /**\n     * An event triggered before lazy loading a route configuration.\n     *\n     * \\@publicApi\n     */\n\n\n    var RouteConfigLoadStart =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} route\n       */\n      function RouteConfigLoadStart(route) {\n        _classCallCheck(this, RouteConfigLoadStart);\n\n        this.route = route;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(RouteConfigLoadStart, [{\n        key: \"toString\",\n        value: function toString() {\n          return \"RouteConfigLoadStart(path: \".concat(this.route.path, \")\");\n        }\n      }]);\n\n      return RouteConfigLoadStart;\n    }();\n\n    if (false) {}\n    /**\n     * An event triggered when a route has been lazy loaded.\n     *\n     * \\@publicApi\n     */\n\n\n    var RouteConfigLoadEnd =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} route\n       */\n      function RouteConfigLoadEnd(route) {\n        _classCallCheck(this, RouteConfigLoadEnd);\n\n        this.route = route;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(RouteConfigLoadEnd, [{\n        key: \"toString\",\n        value: function toString() {\n          return \"RouteConfigLoadEnd(path: \".concat(this.route.path, \")\");\n        }\n      }]);\n\n      return RouteConfigLoadEnd;\n    }();\n\n    if (false) {}\n    /**\n     * An event triggered at the start of the child-activation\n     * part of the Resolve phase of routing.\n     * @see `ChildActivationEnd`\n     * @see `ResolveStart`\n     *\n     * \\@publicApi\n     */\n\n\n    var ChildActivationStart =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} snapshot\n       */\n      function ChildActivationStart(snapshot) {\n        _classCallCheck(this, ChildActivationStart);\n\n        this.snapshot = snapshot;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(ChildActivationStart, [{\n        key: \"toString\",\n        value: function toString() {\n          /** @type {?} */\n          var path = this.snapshot.routeConfig && this.snapshot.routeConfig.path || '';\n          return \"ChildActivationStart(path: '\".concat(path, \"')\");\n        }\n      }]);\n\n      return ChildActivationStart;\n    }();\n\n    if (false) {}\n    /**\n     * An event triggered at the end of the child-activation part\n     * of the Resolve phase of routing.\n     * @see `ChildActivationStart`\n     * @see `ResolveStart` *\n     * \\@publicApi\n     */\n\n\n    var ChildActivationEnd =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} snapshot\n       */\n      function ChildActivationEnd(snapshot) {\n        _classCallCheck(this, ChildActivationEnd);\n\n        this.snapshot = snapshot;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(ChildActivationEnd, [{\n        key: \"toString\",\n        value: function toString() {\n          /** @type {?} */\n          var path = this.snapshot.routeConfig && this.snapshot.routeConfig.path || '';\n          return \"ChildActivationEnd(path: '\".concat(path, \"')\");\n        }\n      }]);\n\n      return ChildActivationEnd;\n    }();\n\n    if (false) {}\n    /**\n     * An event triggered at the start of the activation part\n     * of the Resolve phase of routing.\n     * @see ActivationEnd`\n     * @see `ResolveStart`\n     *\n     * \\@publicApi\n     */\n\n\n    var ActivationStart =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} snapshot\n       */\n      function ActivationStart(snapshot) {\n        _classCallCheck(this, ActivationStart);\n\n        this.snapshot = snapshot;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(ActivationStart, [{\n        key: \"toString\",\n        value: function toString() {\n          /** @type {?} */\n          var path = this.snapshot.routeConfig && this.snapshot.routeConfig.path || '';\n          return \"ActivationStart(path: '\".concat(path, \"')\");\n        }\n      }]);\n\n      return ActivationStart;\n    }();\n\n    if (false) {}\n    /**\n     * An event triggered at the end of the activation part\n     * of the Resolve phase of routing.\n     * @see `ActivationStart`\n     * @see `ResolveStart`\n     *\n     * \\@publicApi\n     */\n\n\n    var ActivationEnd =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} snapshot\n       */\n      function ActivationEnd(snapshot) {\n        _classCallCheck(this, ActivationEnd);\n\n        this.snapshot = snapshot;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(ActivationEnd, [{\n        key: \"toString\",\n        value: function toString() {\n          /** @type {?} */\n          var path = this.snapshot.routeConfig && this.snapshot.routeConfig.path || '';\n          return \"ActivationEnd(path: '\".concat(path, \"')\");\n        }\n      }]);\n\n      return ActivationEnd;\n    }();\n\n    if (false) {}\n    /**\n     * An event triggered by scrolling.\n     *\n     * \\@publicApi\n     */\n\n\n    var Scroll =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} routerEvent\n       * @param {?} position\n       * @param {?} anchor\n       */\n      function Scroll(routerEvent, position, anchor) {\n        _classCallCheck(this, Scroll);\n\n        this.routerEvent = routerEvent;\n        this.position = position;\n        this.anchor = anchor;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(Scroll, [{\n        key: \"toString\",\n        value: function toString() {\n          /** @type {?} */\n          var pos = this.position ? \"\".concat(this.position[0], \", \").concat(this.position[1]) : null;\n          return \"Scroll(anchor: '\".concat(this.anchor, \"', position: '\").concat(pos, \"')\");\n        }\n      }]);\n\n      return Scroll;\n    }();\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * This component is used internally within the router to be a placeholder when an empty\n     * router-outlet is needed. For example, with a config such as:\n     *\n     * `{path: 'parent', outlet: 'nav', children: [...]}`\n     *\n     * In order to render, there needs to be a component on this config, which will default\n     * to this `EmptyOutletComponent`.\n     */\n\n\n    var ɵEmptyOutletComponent = function ɵEmptyOutletComponent() {\n      _classCallCheck(this, ɵEmptyOutletComponent);\n    };\n\n    ɵEmptyOutletComponent.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Component\"],\n      args: [{\n        template: \"<router-outlet></router-outlet>\"\n      }]\n    }];\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * The primary routing outlet.\n     *\n     * \\@publicApi\n     * @type {?}\n     */\n\n    var PRIMARY_OUTLET = 'primary';\n    /**\n     * A map that provides access to the required and optional parameters\n     * specific to a route.\n     * The map supports retrieving a single value with `get()`\n     * or multiple values with `getAll()`.\n     *\n     * @see [URLSearchParams](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams)\n     *\n     * \\@publicApi\n     * @record\n     */\n\n    function ParamMap() {}\n\n    if (false) {}\n\n    var ParamsAsMap =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} params\n       */\n      function ParamsAsMap(params) {\n        _classCallCheck(this, ParamsAsMap);\n\n        this.params = params || {};\n      }\n      /**\n       * @param {?} name\n       * @return {?}\n       */\n\n\n      _createClass2(ParamsAsMap, [{\n        key: \"has\",\n        value: function has(name) {\n          return this.params.hasOwnProperty(name);\n        }\n        /**\n         * @param {?} name\n         * @return {?}\n         */\n\n      }, {\n        key: \"get\",\n        value: function get(name) {\n          if (this.has(name)) {\n            /** @type {?} */\n            var v = this.params[name];\n            return Array.isArray(v) ? v[0] : v;\n          }\n\n          return null;\n        }\n        /**\n         * @param {?} name\n         * @return {?}\n         */\n\n      }, {\n        key: \"getAll\",\n        value: function getAll(name) {\n          if (this.has(name)) {\n            /** @type {?} */\n            var v = this.params[name];\n            return Array.isArray(v) ? v : [v];\n          }\n\n          return [];\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"keys\",\n        get: function get() {\n          return Object.keys(this.params);\n        }\n      }]);\n\n      return ParamsAsMap;\n    }();\n\n    if (false) {}\n    /**\n     * Converts a `Params` instance to a `ParamMap`.\n     * \\@publicApi\n     * @param {?} params The instance to convert.\n     * @return {?} The new map instance.\n     *\n     */\n\n\n    function convertToParamMap(params) {\n      return new ParamsAsMap(params);\n    }\n    /** @type {?} */\n\n\n    var NAVIGATION_CANCELING_ERROR = 'ngNavigationCancelingError';\n    /**\n     * @param {?} message\n     * @return {?}\n     */\n\n    function navigationCancelingError(message) {\n      /** @type {?} */\n      var error = Error('NavigationCancelingError: ' + message);\n\n      /** @type {?} */\n      error[NAVIGATION_CANCELING_ERROR] = true;\n      return error;\n    }\n    /**\n     * @param {?} error\n     * @return {?}\n     */\n\n\n    function isNavigationCancelingError(error) {\n      return error &&\n      /** @type {?} */\n      error[NAVIGATION_CANCELING_ERROR];\n    } // Matches the route configuration (`route`) against the actual URL (`segments`).\n\n    /**\n     * @param {?} segments\n     * @param {?} segmentGroup\n     * @param {?} route\n     * @return {?}\n     */\n\n\n    function defaultUrlMatcher(segments, segmentGroup, route) {\n      /** @type {?} */\n      var parts =\n      /** @type {?} */\n      route.path.split('/');\n\n      if (parts.length > segments.length) {\n        // The actual URL is shorter than the config, no match\n        return null;\n      }\n\n      if (route.pathMatch === 'full' && (segmentGroup.hasChildren() || parts.length < segments.length)) {\n        // The config is longer than the actual URL but we are looking for a full match, return null\n        return null;\n      }\n      /** @type {?} */\n\n\n      var posParams = {}; // Check each config part against the actual URL\n\n      for (var index = 0; index < parts.length; index++) {\n        /** @type {?} */\n        var part = parts[index];\n        /** @type {?} */\n\n        var segment = segments[index];\n        /** @type {?} */\n\n        var isParameter = part.startsWith(':');\n\n        if (isParameter) {\n          posParams[part.substring(1)] = segment;\n        } else if (part !== segment.path) {\n          // The actual URL part does not match the config, no match\n          return null;\n        }\n      }\n\n      return {\n        consumed: segments.slice(0, parts.length),\n        posParams: posParams\n      };\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * A configuration object that defines a single route.\n     * A set of routes are collected in a `Routes` array to define a `Router` configuration.\n     * The router attempts to match segments of a given URL against each route,\n     * using the configuration options defined in this object.\n     *\n     * Supports static, parameterized, redirect, and wildcard routes, as well as\n     * custom route data and resolve methods.\n     *\n     * For detailed usage information, see the [Routing Guide](guide/router).\n     *\n     * \\@usageNotes\n     *\n     * ### Simple Configuration\n     *\n     * The following route specifies that when navigating to, for example,\n     * `/team/11/user/bob`, the router creates the 'Team' component\n     * with the 'User' child component in it.\n     *\n     * ```\n     * [{\n     *   path: 'team/:id',\n     *  component: Team,\n     *   children: [{\n     *     path: 'user/:name',\n     *     component: User\n     *   }]\n     * }]\n     * ```\n     *\n     * ### Multiple Outlets\n     *\n     * The following route creates sibling components with multiple outlets.\n     * When navigating to `/team/11(aux:chat/jim)`, the router creates the 'Team' component next to\n     * the 'Chat' component. The 'Chat' component is placed into the 'aux' outlet.\n     *\n     * ```\n     * [{\n     *   path: 'team/:id',\n     *   component: Team\n     * }, {\n     *   path: 'chat/:user',\n     *   component: Chat\n     *   outlet: 'aux'\n     * }]\n     * ```\n     *\n     * ### Wild Cards\n     *\n     * The following route uses wild-card notation to specify a component\n     * that is always instantiated regardless of where you navigate to.\n     *\n     * ```\n     * [{\n     *   path: '**',\n     *   component: WildcardComponent\n     * }]\n     * ```\n     *\n     * ### Redirects\n     *\n     * The following route uses the `redirectTo` property to ignore a segment of\n     * a given URL when looking for a child path.\n     *\n     * When navigating to '/team/11/legacy/user/jim', the router changes the URL segment\n     * '/team/11/legacy/user/jim' to '/team/11/user/jim', and then instantiates\n     * the Team component with the User child component in it.\n     *\n     * ```\n     * [{\n     *   path: 'team/:id',\n     *   component: Team,\n     *   children: [{\n     *     path: 'legacy/user/:name',\n     *     redirectTo: 'user/:name'\n     *   }, {\n     *     path: 'user/:name',\n     *     component: User\n     *   }]\n     * }]\n     * ```\n     *\n     * The redirect path can be relative, as shown in this example, or absolute.\n     * If we change the `redirectTo` value in the example to the absolute URL segment '/user/:name',\n     * the result URL is also absolute, '/user/jim'.\n     * ### Empty Path\n     *\n     * Empty-path route configurations can be used to instantiate components that do not 'consume'\n     * any URL segments.\n     *\n     * In the following configuration, when navigating to\n     * `/team/11`, the router instantiates the 'AllUsers' component.\n     *\n     * ```\n     * [{\n     *   path: 'team/:id',\n     *   component: Team,\n     *   children: [{\n     *     path: '',\n     *     component: AllUsers\n     *   }, {\n     *     path: 'user/:name',\n     *     component: User\n     *   }]\n     * }]\n     * ```\n     *\n     * Empty-path routes can have children. In the following example, when navigating\n     * to `/team/11/user/jim`, the router instantiates the wrapper component with\n     * the user component in it.\n     *\n     * Note that an empty path route inherits its parent's parameters and data.\n     *\n     * ```\n     * [{\n     *   path: 'team/:id',\n     *   component: Team,\n     *   children: [{\n     *     path: '',\n     *     component: WrapperCmp,\n     *     children: [{\n     *       path: 'user/:name',\n     *       component: User\n     *     }]\n     *   }]\n     * }]\n     * ```\n     *\n     * ### Matching Strategy\n     *\n     * The default path-match strategy is 'prefix', which means that the router\n     * checks URL elements from the left to see if the URL matches a specified path.\n     * For example, '/team/11/user' matches 'team/:id'.\n     *\n     * ```\n     * [{\n     *   path: '',\n     *   pathMatch: 'prefix', //default\n     *   redirectTo: 'main'\n     * }, {\n     *   path: 'main',\n     *   component: Main\n     * }]\n     * ```\n     *\n     * You can specify the path-match strategy 'full' to make sure that the path\n     * covers the whole unconsumed URL. It is important to do this when redirecting\n     * empty-path routes. Otherwise, because an empty path is a prefix of any URL,\n     * the router would apply the redirect even when navigating to the redirect destination,\n     * creating an endless loop.\n     *\n     * In the following example, supplying the 'full' `pathMatch` strategy ensures\n     * that the router applies the redirect if and only if navigating to '/'.\n     *\n     * ```\n     * [{\n     *   path: '',\n     *   pathMatch: 'full',\n     *   redirectTo: 'main'\n     * }, {\n     *   path: 'main',\n     *   component: Main\n     * }]\n     * ```\n     *\n     * ### Componentless Routes\n     *\n     * You can share parameters between sibling components.\n     * For example, suppose that two sibling components should go next to each other,\n     * and both of them require an ID parameter. You can accomplish this using a route\n     * that does not specify a component at the top level.\n     *\n     * In the following example, 'MainChild' and 'AuxChild' are siblings.\n     * When navigating to 'parent/10/(a//aux:b)', the route instantiates\n     * the main child and aux child components next to each other.\n     * For this to work, the application component must have the primary and aux outlets defined.\n     *\n     * ```\n     * [{\n     *    path: 'parent/:id',\n     *    children: [\n     *      { path: 'a', component: MainChild },\n     *      { path: 'b', component: AuxChild, outlet: 'aux' }\n     *    ]\n     * }]\n     * ```\n     *\n     * The router merges the parameters, data, and resolve of the componentless\n     * parent into the parameters, data, and resolve of the children.\n     *\n     * This is especially useful when child components are defined\n     * with an empty path string, as in the following example.\n     * With this configuration, navigating to '/parent/10' creates\n     * the main child and aux components.\n     *\n     * ```\n     * [{\n     *    path: 'parent/:id',\n     *    children: [\n     *      { path: '', component: MainChild },\n     *      { path: '', component: AuxChild, outlet: 'aux' }\n     *    ]\n     * }]\n     * ```\n     *\n     * ### Lazy Loading\n     *\n     * Lazy loading speeds up application load time by splitting the application\n     * into multiple bundles and loading them on demand.\n     * To use lazy loading, provide the `loadChildren` property  instead of the `children` property.\n     *\n     * Given the following example route, the router will lazy load\n     * the associated module on demand using the browser native import system.\n     *\n     * ```\n     * [{\n     *   path: 'lazy',\n     *   loadChildren: () => import('./lazy-route/lazy.module').then(mod => mod.LazyModule),\n     * }];\n     * ```\n     *\n     * \\@publicApi\n     * @record\n     */\n\n\n    function Route() {}\n\n    if (false) {}\n\n    var LoadedRouterConfig =\n    /**\n     * @param {?} routes\n     * @param {?} module\n     */\n    function LoadedRouterConfig(routes, module) {\n      _classCallCheck(this, LoadedRouterConfig);\n\n      this.routes = routes;\n      this.module = module;\n    };\n\n    if (false) {}\n    /**\n     * @param {?} config\n     * @param {?=} parentPath\n     * @return {?}\n     */\n\n\n    function validateConfig(config) {\n      var parentPath = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n\n      // forEach doesn't iterate undefined values\n      for (var i = 0; i < config.length; i++) {\n        /** @type {?} */\n        var route = config[i];\n        /** @type {?} */\n\n        var fullPath = getFullPath(parentPath, route);\n        validateNode(route, fullPath);\n      }\n    }\n    /**\n     * @param {?} route\n     * @param {?} fullPath\n     * @return {?}\n     */\n\n\n    function validateNode(route, fullPath) {\n      if (!route) {\n        throw new Error(\"\\n      Invalid configuration of route '\".concat(fullPath, \"': 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    \"));\n      }\n\n      if (Array.isArray(route)) {\n        throw new Error(\"Invalid configuration of route '\".concat(fullPath, \"': Array cannot be specified\"));\n      }\n\n      if (!route.component && !route.children && !route.loadChildren && route.outlet && route.outlet !== PRIMARY_OUTLET) {\n        throw new Error(\"Invalid configuration of route '\".concat(fullPath, \"': a componentless route without children or loadChildren cannot have a named outlet set\"));\n      }\n\n      if (route.redirectTo && route.children) {\n        throw new Error(\"Invalid configuration of route '\".concat(fullPath, \"': redirectTo and children cannot be used together\"));\n      }\n\n      if (route.redirectTo && route.loadChildren) {\n        throw new Error(\"Invalid configuration of route '\".concat(fullPath, \"': redirectTo and loadChildren cannot be used together\"));\n      }\n\n      if (route.children && route.loadChildren) {\n        throw new Error(\"Invalid configuration of route '\".concat(fullPath, \"': children and loadChildren cannot be used together\"));\n      }\n\n      if (route.redirectTo && route.component) {\n        throw new Error(\"Invalid configuration of route '\".concat(fullPath, \"': redirectTo and component cannot be used together\"));\n      }\n\n      if (route.path && route.matcher) {\n        throw new Error(\"Invalid configuration of route '\".concat(fullPath, \"': path and matcher cannot be used together\"));\n      }\n\n      if (route.redirectTo === void 0 && !route.component && !route.children && !route.loadChildren) {\n        throw new Error(\"Invalid configuration of route '\".concat(fullPath, \"'. One of the following must be provided: component, redirectTo, children or loadChildren\"));\n      }\n\n      if (route.path === void 0 && route.matcher === void 0) {\n        throw new Error(\"Invalid configuration of route '\".concat(fullPath, \"': routes must have either a path or a matcher specified\"));\n      }\n\n      if (typeof route.path === 'string' && route.path.charAt(0) === '/') {\n        throw new Error(\"Invalid configuration of route '\".concat(fullPath, \"': path cannot start with a slash\"));\n      }\n\n      if (route.path === '' && route.redirectTo !== void 0 && route.pathMatch === void 0) {\n        /** @type {?} */\n        var exp = \"The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.\";\n        throw new Error(\"Invalid configuration of route '{path: \\\"\".concat(fullPath, \"\\\", redirectTo: \\\"\").concat(route.redirectTo, \"\\\"}': please provide 'pathMatch'. \").concat(exp));\n      }\n\n      if (route.pathMatch !== void 0 && route.pathMatch !== 'full' && route.pathMatch !== 'prefix') {\n        throw new Error(\"Invalid configuration of route '\".concat(fullPath, \"': pathMatch can only be set to 'prefix' or 'full'\"));\n      }\n\n      if (route.children) {\n        validateConfig(route.children, fullPath);\n      }\n    }\n    /**\n     * @param {?} parentPath\n     * @param {?} currentRoute\n     * @return {?}\n     */\n\n\n    function getFullPath(parentPath, currentRoute) {\n      if (!currentRoute) {\n        return parentPath;\n      }\n\n      if (!parentPath && !currentRoute.path) {\n        return '';\n      } else if (parentPath && !currentRoute.path) {\n        return \"\".concat(parentPath, \"/\");\n      } else if (!parentPath && currentRoute.path) {\n        return currentRoute.path;\n      } else {\n        return \"\".concat(parentPath, \"/\").concat(currentRoute.path);\n      }\n    }\n    /**\n     * Makes a copy of the config and adds any default required properties.\n     * @param {?} r\n     * @return {?}\n     */\n\n\n    function standardizeConfig(r) {\n      /** @type {?} */\n      var children = r.children && r.children.map(standardizeConfig);\n      /** @type {?} */\n\n      var c = children ? Object.assign({}, r, {\n        children: children\n      }) : Object.assign({}, r);\n\n      if (!c.component && (children || c.loadChildren) && c.outlet && c.outlet !== PRIMARY_OUTLET) {\n        c.component = ɵEmptyOutletComponent;\n      }\n\n      return c;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @param {?} a\n     * @param {?} b\n     * @return {?}\n     */\n\n\n    function shallowEqualArrays(a, b) {\n      if (a.length !== b.length) return false;\n\n      for (var i = 0; i < a.length; ++i) {\n        if (!shallowEqual(a[i], b[i])) return false;\n      }\n\n      return true;\n    }\n    /**\n     * @param {?} a\n     * @param {?} b\n     * @return {?}\n     */\n\n\n    function shallowEqual(a, b) {\n      // Casting Object.keys return values to include `undefined` as there are some cases\n      // in IE 11 where this can happen. Cannot provide a test because the behavior only\n      // exists in certain circumstances in IE 11, therefore doing this cast ensures the\n      // logic is correct for when this edge case is hit.\n\n      /** @type {?} */\n      var k1 =\n      /** @type {?} */\n      Object.keys(a);\n      /** @type {?} */\n\n      var k2 =\n      /** @type {?} */\n      Object.keys(b);\n\n      if (!k1 || !k2 || k1.length != k2.length) {\n        return false;\n      }\n      /** @type {?} */\n\n\n      var key;\n\n      for (var i = 0; i < k1.length; i++) {\n        key = k1[i];\n\n        if (a[key] !== b[key]) {\n          return false;\n        }\n      }\n\n      return true;\n    }\n    /**\n     * Flattens single-level nested arrays.\n     * @template T\n     * @param {?} arr\n     * @return {?}\n     */\n\n\n    function flatten(arr) {\n      return Array.prototype.concat.apply([], arr);\n    }\n    /**\n     * Return the last element of an array.\n     * @template T\n     * @param {?} a\n     * @return {?}\n     */\n\n\n    function last(a) {\n      return a.length > 0 ? a[a.length - 1] : null;\n    }\n    /**\n     * Verifys all booleans in an array are `true`.\n     * @param {?} bools\n     * @return {?}\n     */\n\n\n    function and(bools) {\n      return !bools.some(\n      /**\n      * @param {?} v\n      * @return {?}\n      */\n      function (v) {\n        return !v;\n      });\n    }\n    /**\n     * @template K, V\n     * @param {?} map\n     * @param {?} callback\n     * @return {?}\n     */\n\n\n    function forEach(map, callback) {\n      for (var prop in map) {\n        if (map.hasOwnProperty(prop)) {\n          callback(map[prop], prop);\n        }\n      }\n    }\n    /**\n     * @template A, B\n     * @param {?} obj\n     * @param {?} fn\n     * @return {?}\n     */\n\n\n    function waitForMap(obj, fn) {\n      if (Object.keys(obj).length === 0) {\n        return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])({});\n      }\n      /** @type {?} */\n\n\n      var waitHead = [];\n      /** @type {?} */\n\n      var waitTail = [];\n      /** @type {?} */\n\n      var res = {};\n      forEach(obj,\n      /**\n      * @param {?} a\n      * @param {?} k\n      * @return {?}\n      */\n      function (a, k) {\n        /** @type {?} */\n        var mapped = fn(k, a).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(\n        /**\n        * @param {?} r\n        * @return {?}\n        */\n        function (r) {\n          return res[k] = r;\n        }));\n\n        if (k === PRIMARY_OUTLET) {\n          waitHead.push(mapped);\n        } else {\n          waitTail.push(mapped);\n        }\n      }); // Closure compiler has problem with using spread operator here. So we use \"Array.concat\".\n      // Note that we also need to cast the new promise because TypeScript cannot infer the type\n      // when calling the \"of\" function through \"Function.apply\"\n\n      return (\n        /** @type {?} */\n        rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"].apply(null, waitHead.concat(waitTail)).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"concatAll\"])(), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"last\"])(), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(\n        /**\n        * @return {?}\n        */\n        function () {\n          return res;\n        }))\n      );\n    }\n    /**\n     * @template T\n     * @param {?} value\n     * @return {?}\n     */\n\n\n    function wrapIntoObservable(value) {\n      if (Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵisObservable\"])(value)) {\n        return value;\n      }\n\n      if (Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵisPromise\"])(value)) {\n        // Use `Promise.resolve()` to wrap promise-like instances.\n        // Required ie when a Resolver returns a AngularJS `$q` promise to correctly trigger the\n        // change detection.\n        return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"from\"])(Promise.resolve(value));\n      }\n\n      return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(value);\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @return {?}\n     */\n\n\n    function createEmptyUrlTree() {\n      return new UrlTree(new UrlSegmentGroup([], {}), {}, null);\n    }\n    /**\n     * @param {?} container\n     * @param {?} containee\n     * @param {?} exact\n     * @return {?}\n     */\n\n\n    function containsTree(container, containee, exact) {\n      if (exact) {\n        return equalQueryParams(container.queryParams, containee.queryParams) && equalSegmentGroups(container.root, containee.root);\n      }\n\n      return containsQueryParams(container.queryParams, containee.queryParams) && containsSegmentGroup(container.root, containee.root);\n    }\n    /**\n     * @param {?} container\n     * @param {?} containee\n     * @return {?}\n     */\n\n\n    function equalQueryParams(container, containee) {\n      // TODO: This does not handle array params correctly.\n      return shallowEqual(container, containee);\n    }\n    /**\n     * @param {?} container\n     * @param {?} containee\n     * @return {?}\n     */\n\n\n    function equalSegmentGroups(container, containee) {\n      if (!equalPath(container.segments, containee.segments)) return false;\n      if (container.numberOfChildren !== containee.numberOfChildren) return false;\n\n      for (var c in containee.children) {\n        if (!container.children[c]) return false;\n        if (!equalSegmentGroups(container.children[c], containee.children[c])) return false;\n      }\n\n      return true;\n    }\n    /**\n     * @param {?} container\n     * @param {?} containee\n     * @return {?}\n     */\n\n\n    function containsQueryParams(container, containee) {\n      // TODO: This does not handle array params correctly.\n      return Object.keys(containee).length <= Object.keys(container).length && Object.keys(containee).every(\n      /**\n      * @param {?} key\n      * @return {?}\n      */\n      function (key) {\n        return containee[key] === container[key];\n      });\n    }\n    /**\n     * @param {?} container\n     * @param {?} containee\n     * @return {?}\n     */\n\n\n    function containsSegmentGroup(container, containee) {\n      return containsSegmentGroupHelper(container, containee, containee.segments);\n    }\n    /**\n     * @param {?} container\n     * @param {?} containee\n     * @param {?} containeePaths\n     * @return {?}\n     */\n\n\n    function containsSegmentGroupHelper(container, containee, containeePaths) {\n      if (container.segments.length > containeePaths.length) {\n        /** @type {?} */\n        var current = container.segments.slice(0, containeePaths.length);\n        if (!equalPath(current, containeePaths)) return false;\n        if (containee.hasChildren()) return false;\n        return true;\n      } else if (container.segments.length === containeePaths.length) {\n        if (!equalPath(container.segments, containeePaths)) return false;\n\n        for (var c in containee.children) {\n          if (!container.children[c]) return false;\n          if (!containsSegmentGroup(container.children[c], containee.children[c])) return false;\n        }\n\n        return true;\n      } else {\n        /** @type {?} */\n        var _current = containeePaths.slice(0, container.segments.length);\n        /** @type {?} */\n\n\n        var next = containeePaths.slice(container.segments.length);\n        if (!equalPath(container.segments, _current)) return false;\n        if (!container.children[PRIMARY_OUTLET]) return false;\n        return containsSegmentGroupHelper(container.children[PRIMARY_OUTLET], containee, next);\n      }\n    }\n    /**\n     * \\@description\n     *\n     * Represents the parsed URL.\n     *\n     * Since a router state is a tree, and the URL is nothing but a serialized state, the URL is a\n     * serialized tree.\n     * UrlTree is a data structure that provides a lot of affordances in dealing with URLs\n     *\n     * \\@usageNotes\n     * ### Example\n     *\n     * ```\n     * \\@Component({templateUrl:'template.html'})\n     * class MyComponent {\n     *   constructor(router: Router) {\n     *     const tree: UrlTree =\n     *       router.parseUrl('/team/33/(user/victor//support:help)?debug=true#fragment');\n     *     const f = tree.fragment; // return 'fragment'\n     *     const q = tree.queryParams; // returns {debug: 'true'}\n     *     const g: UrlSegmentGroup = tree.root.children[PRIMARY_OUTLET];\n     *     const s: UrlSegment[] = g.segments; // returns 2 segments 'team' and '33'\n     *     g.children[PRIMARY_OUTLET].segments; // returns 2 segments 'user' and 'victor'\n     *     g.children['support'].segments; // return 1 segment 'help'\n     *   }\n     * }\n     * ```\n     *\n     * \\@publicApi\n     */\n\n\n    var UrlTree =\n    /*#__PURE__*/\n    function () {\n      /**\n       * \\@internal\n       * @param {?} root\n       * @param {?} queryParams\n       * @param {?} fragment\n       */\n      function UrlTree(root, queryParams, fragment) {\n        _classCallCheck(this, UrlTree);\n\n        this.root = root;\n        this.queryParams = queryParams;\n        this.fragment = fragment;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(UrlTree, [{\n        key: \"toString\",\n\n        /**\n         * \\@docsNotRequired\n         * @return {?}\n         */\n        value: function toString() {\n          return DEFAULT_SERIALIZER.serialize(this);\n        }\n      }, {\n        key: \"queryParamMap\",\n        get: function get() {\n          if (!this._queryParamMap) {\n            this._queryParamMap = convertToParamMap(this.queryParams);\n          }\n\n          return this._queryParamMap;\n        }\n      }]);\n\n      return UrlTree;\n    }();\n\n    if (false) {}\n    /**\n     * \\@description\n     *\n     * Represents the parsed URL segment group.\n     *\n     * See `UrlTree` for more information.\n     *\n     * \\@publicApi\n     */\n\n\n    var UrlSegmentGroup =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} segments\n       * @param {?} children\n       */\n      function UrlSegmentGroup(segments, children) {\n        var _this663 = this;\n\n        _classCallCheck(this, UrlSegmentGroup);\n\n        this.segments = segments;\n        this.children = children;\n        /**\n         * The parent node in the url tree\n         */\n\n        this.parent = null;\n        forEach(children,\n        /**\n        * @template THIS\n        * @this {THIS}\n        * @param {?} v\n        * @param {?} k\n        * @return {THIS}\n        */\n        function (v, k) {\n          return v.parent = _this663;\n        });\n      }\n      /**\n       * Whether the segment has child segments\n       * @return {?}\n       */\n\n\n      _createClass2(UrlSegmentGroup, [{\n        key: \"hasChildren\",\n        value: function hasChildren() {\n          return this.numberOfChildren > 0;\n        }\n        /**\n         * Number of child segments\n         * @return {?}\n         */\n\n      }, {\n        key: \"toString\",\n\n        /**\n         * \\@docsNotRequired\n         * @return {?}\n         */\n        value: function toString() {\n          return serializePaths(this);\n        }\n      }, {\n        key: \"numberOfChildren\",\n        get: function get() {\n          return Object.keys(this.children).length;\n        }\n      }]);\n\n      return UrlSegmentGroup;\n    }();\n\n    if (false) {}\n    /**\n     * \\@description\n     *\n     * Represents a single URL segment.\n     *\n     * A UrlSegment is a part of a URL between the two slashes. It contains a path and the matrix\n     * parameters associated with the segment.\n     *\n     * \\@usageNotes\n     *  ### Example\n     *\n     * ```\n     * \\@Component({templateUrl:'template.html'})\n     * class MyComponent {\n     *   constructor(router: Router) {\n     *     const tree: UrlTree = router.parseUrl('/team;id=33');\n     *     const g: UrlSegmentGroup = tree.root.children[PRIMARY_OUTLET];\n     *     const s: UrlSegment[] = g.segments;\n     *     s[0].path; // returns 'team'\n     *     s[0].parameters; // returns {id: 33}\n     *   }\n     * }\n     * ```\n     *\n     * \\@publicApi\n     */\n\n\n    var UrlSegment =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} path\n       * @param {?} parameters\n       */\n      function UrlSegment(path, parameters) {\n        _classCallCheck(this, UrlSegment);\n\n        this.path = path;\n        this.parameters = parameters;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(UrlSegment, [{\n        key: \"toString\",\n\n        /**\n         * \\@docsNotRequired\n         * @return {?}\n         */\n        value: function toString() {\n          return serializePath(this);\n        }\n      }, {\n        key: \"parameterMap\",\n        get: function get() {\n          if (!this._parameterMap) {\n            this._parameterMap = convertToParamMap(this.parameters);\n          }\n\n          return this._parameterMap;\n        }\n      }]);\n\n      return UrlSegment;\n    }();\n\n    if (false) {}\n    /**\n     * @param {?} as\n     * @param {?} bs\n     * @return {?}\n     */\n\n\n    function equalSegments(as, bs) {\n      return equalPath(as, bs) && as.every(\n      /**\n      * @param {?} a\n      * @param {?} i\n      * @return {?}\n      */\n      function (a, i) {\n        return shallowEqual(a.parameters, bs[i].parameters);\n      });\n    }\n    /**\n     * @param {?} as\n     * @param {?} bs\n     * @return {?}\n     */\n\n\n    function equalPath(as, bs) {\n      if (as.length !== bs.length) return false;\n      return as.every(\n      /**\n      * @param {?} a\n      * @param {?} i\n      * @return {?}\n      */\n      function (a, i) {\n        return a.path === bs[i].path;\n      });\n    }\n    /**\n     * @template T\n     * @param {?} segment\n     * @param {?} fn\n     * @return {?}\n     */\n\n\n    function mapChildrenIntoArray(segment, fn) {\n      /** @type {?} */\n      var res = [];\n      forEach(segment.children,\n      /**\n      * @param {?} child\n      * @param {?} childOutlet\n      * @return {?}\n      */\n      function (child, childOutlet) {\n        if (childOutlet === PRIMARY_OUTLET) {\n          res = res.concat(fn(child, childOutlet));\n        }\n      });\n      forEach(segment.children,\n      /**\n      * @param {?} child\n      * @param {?} childOutlet\n      * @return {?}\n      */\n      function (child, childOutlet) {\n        if (childOutlet !== PRIMARY_OUTLET) {\n          res = res.concat(fn(child, childOutlet));\n        }\n      });\n      return res;\n    }\n    /**\n     * \\@description\n     *\n     * Serializes and deserializes a URL string into a URL tree.\n     *\n     * The url serialization strategy is customizable. You can\n     * make all URLs case insensitive by providing a custom UrlSerializer.\n     *\n     * See `DefaultUrlSerializer` for an example of a URL serializer.\n     *\n     * \\@publicApi\n     * @abstract\n     */\n\n\n    var UrlSerializer = function UrlSerializer() {\n      _classCallCheck(this, UrlSerializer);\n    };\n\n    if (false) {}\n    /**\n     * \\@description\n     *\n     * A default implementation of the `UrlSerializer`.\n     *\n     * Example URLs:\n     *\n     * ```\n     * /inbox/33(popup:compose)\n     * /inbox/33;open=true/messages/44\n     * ```\n     *\n     * DefaultUrlSerializer uses parentheses to serialize secondary segments (e.g., popup:compose), the\n     * colon syntax to specify the outlet, and the ';parameter=value' syntax (e.g., open=true) to\n     * specify route specific parameters.\n     *\n     * \\@publicApi\n     */\n\n\n    var DefaultUrlSerializer =\n    /*#__PURE__*/\n    function () {\n      function DefaultUrlSerializer() {\n        _classCallCheck(this, DefaultUrlSerializer);\n      }\n\n      _createClass2(DefaultUrlSerializer, [{\n        key: \"parse\",\n\n        /**\n         * Parses a url into a `UrlTree`\n         * @param {?} url\n         * @return {?}\n         */\n        value: function parse(url) {\n          /** @type {?} */\n          var p = new UrlParser(url);\n          return new UrlTree(p.parseRootSegment(), p.parseQueryParams(), p.parseFragment());\n        }\n        /**\n         * Converts a `UrlTree` into a url\n         * @param {?} tree\n         * @return {?}\n         */\n\n      }, {\n        key: \"serialize\",\n        value: function serialize(tree) {\n          /** @type {?} */\n          var segment = \"/\".concat(serializeSegment(tree.root, true));\n          /** @type {?} */\n\n          var query = serializeQueryParams(tree.queryParams);\n          /** @type {?} */\n\n          var fragment = typeof tree.fragment === \"string\" ? \"#\".concat(encodeUriFragment(\n          /** @type {?} */\n          tree.fragment)) : '';\n          return \"\".concat(segment).concat(query).concat(fragment);\n        }\n      }]);\n\n      return DefaultUrlSerializer;\n    }();\n    /** @type {?} */\n\n\n    var DEFAULT_SERIALIZER = new DefaultUrlSerializer();\n    /**\n     * @param {?} segment\n     * @return {?}\n     */\n\n    function serializePaths(segment) {\n      return segment.segments.map(\n      /**\n      * @param {?} p\n      * @return {?}\n      */\n      function (p) {\n        return serializePath(p);\n      }).join('/');\n    }\n    /**\n     * @param {?} segment\n     * @param {?} root\n     * @return {?}\n     */\n\n\n    function serializeSegment(segment, root) {\n      if (!segment.hasChildren()) {\n        return serializePaths(segment);\n      }\n\n      if (root) {\n        /** @type {?} */\n        var primary = segment.children[PRIMARY_OUTLET] ? serializeSegment(segment.children[PRIMARY_OUTLET], false) : '';\n        /** @type {?} */\n\n        var children = [];\n        forEach(segment.children,\n        /**\n        * @param {?} v\n        * @param {?} k\n        * @return {?}\n        */\n        function (v, k) {\n          if (k !== PRIMARY_OUTLET) {\n            children.push(\"\".concat(k, \":\").concat(serializeSegment(v, false)));\n          }\n        });\n        return children.length > 0 ? \"\".concat(primary, \"(\").concat(children.join('//'), \")\") : primary;\n      } else {\n        /** @type {?} */\n        var _children = mapChildrenIntoArray(segment,\n        /**\n        * @param {?} v\n        * @param {?} k\n        * @return {?}\n        */\n        function (v, k) {\n          if (k === PRIMARY_OUTLET) {\n            return [serializeSegment(segment.children[PRIMARY_OUTLET], false)];\n          }\n\n          return [\"\".concat(k, \":\").concat(serializeSegment(v, false))];\n        });\n\n        return \"\".concat(serializePaths(segment), \"/(\").concat(_children.join('//'), \")\");\n      }\n    }\n    /**\n     * Encodes a URI string with the default encoding. This function will only ever be called from\n     * `encodeUriQuery` or `encodeUriSegment` as it's the base set of encodings to be used. We need\n     * a custom encoding because encodeURIComponent is too aggressive and encodes stuff that doesn't\n     * have to be encoded per https://url.spec.whatwg.org.\n     * @param {?} s\n     * @return {?}\n     */\n\n\n    function encodeUriString(s) {\n      return encodeURIComponent(s).replace(/%40/g, '@').replace(/%3A/gi, ':').replace(/%24/g, '$').replace(/%2C/gi, ',');\n    }\n    /**\n     * This function should be used to encode both keys and values in a query string key/value. In\n     * the following URL, you need to call encodeUriQuery on \"k\" and \"v\":\n     *\n     * http://www.site.org/html;mk=mv?k=v#f\n     * @param {?} s\n     * @return {?}\n     */\n\n\n    function encodeUriQuery(s) {\n      return encodeUriString(s).replace(/%3B/gi, ';');\n    }\n    /**\n     * This function should be used to encode a URL fragment. In the following URL, you need to call\n     * encodeUriFragment on \"f\":\n     *\n     * http://www.site.org/html;mk=mv?k=v#f\n     * @param {?} s\n     * @return {?}\n     */\n\n\n    function encodeUriFragment(s) {\n      return encodeURI(s);\n    }\n    /**\n     * This function should be run on any URI segment as well as the key and value in a key/value\n     * pair for matrix params. In the following URL, you need to call encodeUriSegment on \"html\",\n     * \"mk\", and \"mv\":\n     *\n     * http://www.site.org/html;mk=mv?k=v#f\n     * @param {?} s\n     * @return {?}\n     */\n\n\n    function encodeUriSegment(s) {\n      return encodeUriString(s).replace(/\\(/g, '%28').replace(/\\)/g, '%29').replace(/%26/gi, '&');\n    }\n    /**\n     * @param {?} s\n     * @return {?}\n     */\n\n\n    function decode(s) {\n      return decodeURIComponent(s);\n    } // Query keys/values should have the \"+\" replaced first, as \"+\" in a query string is \" \".\n    // decodeURIComponent function will not decode \"+\" as a space.\n\n    /**\n     * @param {?} s\n     * @return {?}\n     */\n\n\n    function decodeQuery(s) {\n      return decode(s.replace(/\\+/g, '%20'));\n    }\n    /**\n     * @param {?} path\n     * @return {?}\n     */\n\n\n    function serializePath(path) {\n      return \"\".concat(encodeUriSegment(path.path)).concat(serializeMatrixParams(path.parameters));\n    }\n    /**\n     * @param {?} params\n     * @return {?}\n     */\n\n\n    function serializeMatrixParams(params) {\n      return Object.keys(params).map(\n      /**\n      * @param {?} key\n      * @return {?}\n      */\n      function (key) {\n        return \";\".concat(encodeUriSegment(key), \"=\").concat(encodeUriSegment(params[key]));\n      }).join('');\n    }\n    /**\n     * @param {?} params\n     * @return {?}\n     */\n\n\n    function serializeQueryParams(params) {\n      /** @type {?} */\n      var strParams = Object.keys(params).map(\n      /**\n      * @param {?} name\n      * @return {?}\n      */\n      function (name) {\n        /** @type {?} */\n        var value = params[name];\n        return Array.isArray(value) ? value.map(\n        /**\n        * @param {?} v\n        * @return {?}\n        */\n        function (v) {\n          return \"\".concat(encodeUriQuery(name), \"=\").concat(encodeUriQuery(v));\n        }).join('&') : \"\".concat(encodeUriQuery(name), \"=\").concat(encodeUriQuery(value));\n      });\n      return strParams.length ? \"?\".concat(strParams.join(\"&\")) : '';\n    }\n    /** @type {?} */\n\n\n    var SEGMENT_RE = /^[^\\/()?;=#]+/;\n    /**\n     * @param {?} str\n     * @return {?}\n     */\n\n    function matchSegments(str) {\n      /** @type {?} */\n      var match = str.match(SEGMENT_RE);\n      return match ? match[0] : '';\n    }\n    /** @type {?} */\n\n\n    var QUERY_PARAM_RE = /^[^=?&#]+/; // Return the name of the query param at the start of the string or an empty string\n\n    /**\n     * @param {?} str\n     * @return {?}\n     */\n\n    function matchQueryParams(str) {\n      /** @type {?} */\n      var match = str.match(QUERY_PARAM_RE);\n      return match ? match[0] : '';\n    }\n    /** @type {?} */\n\n\n    var QUERY_PARAM_VALUE_RE = /^[^?&#]+/; // Return the value of the query param at the start of the string or an empty string\n\n    /**\n     * @param {?} str\n     * @return {?}\n     */\n\n    function matchUrlQueryParamValue(str) {\n      /** @type {?} */\n      var match = str.match(QUERY_PARAM_VALUE_RE);\n      return match ? match[0] : '';\n    }\n\n    var UrlParser =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} url\n       */\n      function UrlParser(url) {\n        _classCallCheck(this, UrlParser);\n\n        this.url = url;\n        this.remaining = url;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(UrlParser, [{\n        key: \"parseRootSegment\",\n        value: function parseRootSegment() {\n          this.consumeOptional('/');\n\n          if (this.remaining === '' || this.peekStartsWith('?') || this.peekStartsWith('#')) {\n            return new UrlSegmentGroup([], {});\n          } // The root segment group never has segments\n\n\n          return new UrlSegmentGroup([], this.parseChildren());\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"parseQueryParams\",\n        value: function parseQueryParams() {\n          /** @type {?} */\n          var params = {};\n\n          if (this.consumeOptional('?')) {\n            do {\n              this.parseQueryParam(params);\n            } while (this.consumeOptional('&'));\n          }\n\n          return params;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"parseFragment\",\n        value: function parseFragment() {\n          return this.consumeOptional('#') ? decodeURIComponent(this.remaining) : null;\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"parseChildren\",\n        value: function parseChildren() {\n          if (this.remaining === '') {\n            return {};\n          }\n\n          this.consumeOptional('/');\n          /** @type {?} */\n\n          var segments = [];\n\n          if (!this.peekStartsWith('(')) {\n            segments.push(this.parseSegment());\n          }\n\n          while (this.peekStartsWith('/') && !this.peekStartsWith('//') && !this.peekStartsWith('/(')) {\n            this.capture('/');\n            segments.push(this.parseSegment());\n          }\n          /** @type {?} */\n\n\n          var children = {};\n\n          if (this.peekStartsWith('/(')) {\n            this.capture('/');\n            children = this.parseParens(true);\n          }\n          /** @type {?} */\n\n\n          var res = {};\n\n          if (this.peekStartsWith('(')) {\n            res = this.parseParens(false);\n          }\n\n          if (segments.length > 0 || Object.keys(children).length > 0) {\n            res[PRIMARY_OUTLET] = new UrlSegmentGroup(segments, children);\n          }\n\n          return res;\n        } // parse a segment with its matrix parameters\n        // ie `name;k1=v1;k2`\n\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"parseSegment\",\n        value: function parseSegment() {\n          /** @type {?} */\n          var path = matchSegments(this.remaining);\n\n          if (path === '' && this.peekStartsWith(';')) {\n            throw new Error(\"Empty path url segment cannot have parameters: '\".concat(this.remaining, \"'.\"));\n          }\n\n          this.capture(path);\n          return new UrlSegment(decode(path), this.parseMatrixParams());\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"parseMatrixParams\",\n        value: function parseMatrixParams() {\n          /** @type {?} */\n          var params = {};\n\n          while (this.consumeOptional(';')) {\n            this.parseParam(params);\n          }\n\n          return params;\n        }\n        /**\n         * @private\n         * @param {?} params\n         * @return {?}\n         */\n\n      }, {\n        key: \"parseParam\",\n        value: function parseParam(params) {\n          /** @type {?} */\n          var key = matchSegments(this.remaining);\n\n          if (!key) {\n            return;\n          }\n\n          this.capture(key);\n          /** @type {?} */\n\n          var value = '';\n\n          if (this.consumeOptional('=')) {\n            /** @type {?} */\n            var valueMatch = matchSegments(this.remaining);\n\n            if (valueMatch) {\n              value = valueMatch;\n              this.capture(value);\n            }\n          }\n\n          params[decode(key)] = decode(value);\n        } // Parse a single query parameter `name[=value]`\n\n        /**\n         * @private\n         * @param {?} params\n         * @return {?}\n         */\n\n      }, {\n        key: \"parseQueryParam\",\n        value: function parseQueryParam(params) {\n          /** @type {?} */\n          var key = matchQueryParams(this.remaining);\n\n          if (!key) {\n            return;\n          }\n\n          this.capture(key);\n          /** @type {?} */\n\n          var value = '';\n\n          if (this.consumeOptional('=')) {\n            /** @type {?} */\n            var valueMatch = matchUrlQueryParamValue(this.remaining);\n\n            if (valueMatch) {\n              value = valueMatch;\n              this.capture(value);\n            }\n          }\n          /** @type {?} */\n\n\n          var decodedKey = decodeQuery(key);\n          /** @type {?} */\n\n          var decodedVal = decodeQuery(value);\n\n          if (params.hasOwnProperty(decodedKey)) {\n            // Append to existing values\n\n            /** @type {?} */\n            var currentVal = params[decodedKey];\n\n            if (!Array.isArray(currentVal)) {\n              currentVal = [currentVal];\n              params[decodedKey] = currentVal;\n            }\n\n            currentVal.push(decodedVal);\n          } else {\n            // Create a new value\n            params[decodedKey] = decodedVal;\n          }\n        } // parse `(a/b//outlet_name:c/d)`\n\n        /**\n         * @private\n         * @param {?} allowPrimary\n         * @return {?}\n         */\n\n      }, {\n        key: \"parseParens\",\n        value: function parseParens(allowPrimary) {\n          /** @type {?} */\n          var segments = {};\n          this.capture('(');\n\n          while (!this.consumeOptional(')') && this.remaining.length > 0) {\n            /** @type {?} */\n            var path = matchSegments(this.remaining);\n            /** @type {?} */\n\n            var next = this.remaining[path.length]; // if is is not one of these characters, then the segment was unescaped\n            // or the group was not closed\n\n            if (next !== '/' && next !== ')' && next !== ';') {\n              throw new Error(\"Cannot parse url '\".concat(this.url, \"'\"));\n            }\n            /** @type {?} */\n\n\n            var outletName =\n            /** @type {?} */\n            undefined;\n\n            if (path.indexOf(':') > -1) {\n              outletName = path.substr(0, path.indexOf(':'));\n              this.capture(outletName);\n              this.capture(':');\n            } else if (allowPrimary) {\n              outletName = PRIMARY_OUTLET;\n            }\n            /** @type {?} */\n\n\n            var children = this.parseChildren();\n            segments[outletName] = Object.keys(children).length === 1 ? children[PRIMARY_OUTLET] : new UrlSegmentGroup([], children);\n            this.consumeOptional('//');\n          }\n\n          return segments;\n        }\n        /**\n         * @private\n         * @param {?} str\n         * @return {?}\n         */\n\n      }, {\n        key: \"peekStartsWith\",\n        value: function peekStartsWith(str) {\n          return this.remaining.startsWith(str);\n        } // Consumes the prefix when it is present and returns whether it has been consumed\n\n        /**\n         * @private\n         * @param {?} str\n         * @return {?}\n         */\n\n      }, {\n        key: \"consumeOptional\",\n        value: function consumeOptional(str) {\n          if (this.peekStartsWith(str)) {\n            this.remaining = this.remaining.substring(str.length);\n            return true;\n          }\n\n          return false;\n        }\n        /**\n         * @private\n         * @param {?} str\n         * @return {?}\n         */\n\n      }, {\n        key: \"capture\",\n        value: function capture(str) {\n          if (!this.consumeOptional(str)) {\n            throw new Error(\"Expected \\\"\".concat(str, \"\\\".\"));\n          }\n        }\n      }]);\n\n      return UrlParser;\n    }();\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * @template T\n     */\n\n\n    var Tree =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} root\n       */\n      function Tree(root) {\n        _classCallCheck(this, Tree);\n\n        this._root = root;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(Tree, [{\n        key: \"parent\",\n\n        /**\n         * \\@internal\n         * @param {?} t\n         * @return {?}\n         */\n        value: function parent(t) {\n          /** @type {?} */\n          var p = this.pathFromRoot(t);\n          return p.length > 1 ? p[p.length - 2] : null;\n        }\n        /**\n         * \\@internal\n         * @param {?} t\n         * @return {?}\n         */\n\n      }, {\n        key: \"children\",\n        value: function children(t) {\n          /** @type {?} */\n          var n = findNode(t, this._root);\n          return n ? n.children.map(\n          /**\n          * @param {?} t\n          * @return {?}\n          */\n          function (t) {\n            return t.value;\n          }) : [];\n        }\n        /**\n         * \\@internal\n         * @param {?} t\n         * @return {?}\n         */\n\n      }, {\n        key: \"firstChild\",\n        value: function firstChild(t) {\n          /** @type {?} */\n          var n = findNode(t, this._root);\n          return n && n.children.length > 0 ? n.children[0].value : null;\n        }\n        /**\n         * \\@internal\n         * @param {?} t\n         * @return {?}\n         */\n\n      }, {\n        key: \"siblings\",\n        value: function siblings(t) {\n          /** @type {?} */\n          var p = findPath(t, this._root);\n          if (p.length < 2) return [];\n          /** @type {?} */\n\n          var c = p[p.length - 2].children.map(\n          /**\n          * @param {?} c\n          * @return {?}\n          */\n          function (c) {\n            return c.value;\n          });\n          return c.filter(\n          /**\n          * @param {?} cc\n          * @return {?}\n          */\n          function (cc) {\n            return cc !== t;\n          });\n        }\n        /**\n         * \\@internal\n         * @param {?} t\n         * @return {?}\n         */\n\n      }, {\n        key: \"pathFromRoot\",\n        value: function pathFromRoot(t) {\n          return findPath(t, this._root).map(\n          /**\n          * @param {?} s\n          * @return {?}\n          */\n          function (s) {\n            return s.value;\n          });\n        }\n      }, {\n        key: \"root\",\n        get: function get() {\n          return this._root.value;\n        }\n      }]);\n\n      return Tree;\n    }();\n\n    if (false) {} // DFS for the node matching the value\n\n    /**\n     * @template T\n     * @param {?} value\n     * @param {?} node\n     * @return {?}\n     */\n\n\n    function findNode(value, node) {\n      if (value === node.value) return node;\n      var _iteratorNormalCompletion54 = true;\n      var _didIteratorError54 = false;\n      var _iteratorError54 = undefined;\n\n      try {\n        for (var _iterator54 = node.children[Symbol.iterator](), _step54; !(_iteratorNormalCompletion54 = (_step54 = _iterator54.next()).done); _iteratorNormalCompletion54 = true) {\n          var child = _step54.value;\n\n          /** @type {?} */\n          var _node2 = findNode(value, child);\n\n          if (_node2) return _node2;\n        }\n      } catch (err) {\n        _didIteratorError54 = true;\n        _iteratorError54 = err;\n      } finally {\n        try {\n          if (!_iteratorNormalCompletion54 && _iterator54.return != null) {\n            _iterator54.return();\n          }\n        } finally {\n          if (_didIteratorError54) {\n            throw _iteratorError54;\n          }\n        }\n      }\n\n      return null;\n    } // Return the path to the node with the given value using DFS\n\n    /**\n     * @template T\n     * @param {?} value\n     * @param {?} node\n     * @return {?}\n     */\n\n\n    function findPath(value, node) {\n      if (value === node.value) return [node];\n      var _iteratorNormalCompletion55 = true;\n      var _didIteratorError55 = false;\n      var _iteratorError55 = undefined;\n\n      try {\n        for (var _iterator55 = node.children[Symbol.iterator](), _step55; !(_iteratorNormalCompletion55 = (_step55 = _iterator55.next()).done); _iteratorNormalCompletion55 = true) {\n          var child = _step55.value;\n\n          /** @type {?} */\n          var path = findPath(value, child);\n\n          if (path.length) {\n            path.unshift(node);\n            return path;\n          }\n        }\n      } catch (err) {\n        _didIteratorError55 = true;\n        _iteratorError55 = err;\n      } finally {\n        try {\n          if (!_iteratorNormalCompletion55 && _iterator55.return != null) {\n            _iterator55.return();\n          }\n        } finally {\n          if (_didIteratorError55) {\n            throw _iteratorError55;\n          }\n        }\n      }\n\n      return [];\n    }\n    /**\n     * @template T\n     */\n\n\n    var TreeNode =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} value\n       * @param {?} children\n       */\n      function TreeNode(value, children) {\n        _classCallCheck(this, TreeNode);\n\n        this.value = value;\n        this.children = children;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(TreeNode, [{\n        key: \"toString\",\n        value: function toString() {\n          return \"TreeNode(\".concat(this.value, \")\");\n        }\n      }]);\n\n      return TreeNode;\n    }();\n\n    if (false) {} // Return the list of T indexed by outlet name\n\n    /**\n     * @template T\n     * @param {?} node\n     * @return {?}\n     */\n\n\n    function nodeChildrenAsMap(node) {\n      /** @type {?} */\n      var map = {};\n\n      if (node) {\n        node.children.forEach(\n        /**\n        * @param {?} child\n        * @return {?}\n        */\n        function (child) {\n          return map[child.value.outlet] = child;\n        });\n      }\n\n      return map;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Represents the state of the router as a tree of activated routes.\n     *\n     * \\@usageNotes\n     *\n     * Every node in the route tree is an `ActivatedRoute` instance\n     * that knows about the \"consumed\" URL segments, the extracted parameters,\n     * and the resolved data.\n     * Use the `ActivatedRoute` properties to traverse the tree from any node.\n     *\n     * ### Example\n     *\n     * ```\n     * \\@Component({templateUrl:'template.html'})\n     * class MyComponent {\n     *   constructor(router: Router) {\n     *     const state: RouterState = router.routerState;\n     *     const root: ActivatedRoute = state.root;\n     *     const child = root.firstChild;\n     *     const id: Observable<string> = child.params.map(p => p.id);\n     *     //...\n     *   }\n     * }\n     * ```\n     *\n     * @see `ActivatedRoute`\n     *\n     * \\@publicApi\n     */\n\n\n    var RouterState =\n    /*#__PURE__*/\n    function (_Tree) {\n      _inherits(RouterState, _Tree);\n\n      /**\n       * \\@internal\n       * @param {?} root\n       * @param {?} snapshot\n       */\n      function RouterState(root, snapshot) {\n        var _this664;\n\n        _classCallCheck(this, RouterState);\n\n        _this664 = _possibleConstructorReturn(this, _getPrototypeOf(RouterState).call(this, root));\n        _this664.snapshot = snapshot;\n        setRouterState(\n        /** @type {?} */\n        _assertThisInitialized(_this664), root);\n        return _this664;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(RouterState, [{\n        key: \"toString\",\n        value: function toString() {\n          return this.snapshot.toString();\n        }\n      }]);\n\n      return RouterState;\n    }(Tree);\n\n    if (false) {}\n    /**\n     * @param {?} urlTree\n     * @param {?} rootComponent\n     * @return {?}\n     */\n\n\n    function createEmptyState(urlTree, rootComponent) {\n      /** @type {?} */\n      var snapshot = createEmptyStateSnapshot(urlTree, rootComponent);\n      /** @type {?} */\n\n      var emptyUrl = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"BehaviorSubject\"]([new UrlSegment('', {})]);\n      /** @type {?} */\n\n      var emptyParams = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"BehaviorSubject\"]({});\n      /** @type {?} */\n\n      var emptyData = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"BehaviorSubject\"]({});\n      /** @type {?} */\n\n      var emptyQueryParams = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"BehaviorSubject\"]({});\n      /** @type {?} */\n\n      var fragment = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"BehaviorSubject\"]('');\n      /** @type {?} */\n\n      var activated = new ActivatedRoute(emptyUrl, emptyParams, emptyQueryParams, fragment, emptyData, PRIMARY_OUTLET, rootComponent, snapshot.root);\n      activated.snapshot = snapshot.root;\n      return new RouterState(new TreeNode(activated, []), snapshot);\n    }\n    /**\n     * @param {?} urlTree\n     * @param {?} rootComponent\n     * @return {?}\n     */\n\n\n    function createEmptyStateSnapshot(urlTree, rootComponent) {\n      /** @type {?} */\n      var emptyParams = {};\n      /** @type {?} */\n\n      var emptyData = {};\n      /** @type {?} */\n\n      var emptyQueryParams = {};\n      /** @type {?} */\n\n      var fragment = '';\n      /** @type {?} */\n\n      var activated = new ActivatedRouteSnapshot([], emptyParams, emptyQueryParams, fragment, emptyData, PRIMARY_OUTLET, rootComponent, null, urlTree.root, -1, {});\n      return new RouterStateSnapshot('', new TreeNode(activated, []));\n    }\n    /**\n     * Provides access to information about a route associated with a component\n     * that is loaded in an outlet.\n     * Use to traverse the `RouterState` tree and extract information from nodes.\n     *\n     * {\\@example router/activated-route/module.ts region=\"activated-route\"\n     *     header=\"activated-route.component.ts\"}\n     *\n     * \\@publicApi\n     */\n\n\n    var ActivatedRoute =\n    /*#__PURE__*/\n    function () {\n      /**\n       * \\@internal\n       * @param {?} url\n       * @param {?} params\n       * @param {?} queryParams\n       * @param {?} fragment\n       * @param {?} data\n       * @param {?} outlet\n       * @param {?} component\n       * @param {?} futureSnapshot\n       */\n      function ActivatedRoute(url, params, queryParams, fragment, data, outlet, component, futureSnapshot) {\n        _classCallCheck(this, ActivatedRoute);\n\n        this.url = url;\n        this.params = params;\n        this.queryParams = queryParams;\n        this.fragment = fragment;\n        this.data = data;\n        this.outlet = outlet;\n        this.component = component;\n        this._futureSnapshot = futureSnapshot;\n      }\n      /**\n       * The configuration used to match this route.\n       * @return {?}\n       */\n\n\n      _createClass2(ActivatedRoute, [{\n        key: \"toString\",\n\n        /**\n         * @return {?}\n         */\n        value: function toString() {\n          return this.snapshot ? this.snapshot.toString() : \"Future(\".concat(this._futureSnapshot, \")\");\n        }\n      }, {\n        key: \"routeConfig\",\n        get: function get() {\n          return this._futureSnapshot.routeConfig;\n        }\n        /**\n         * The root of the router state.\n         * @return {?}\n         */\n\n      }, {\n        key: \"root\",\n        get: function get() {\n          return this._routerState.root;\n        }\n        /**\n         * The parent of this route in the router state tree.\n         * @return {?}\n         */\n\n      }, {\n        key: \"parent\",\n        get: function get() {\n          return this._routerState.parent(this);\n        }\n        /**\n         * The first child of this route in the router state tree.\n         * @return {?}\n         */\n\n      }, {\n        key: \"firstChild\",\n        get: function get() {\n          return this._routerState.firstChild(this);\n        }\n        /**\n         * The children of this route in the router state tree.\n         * @return {?}\n         */\n\n      }, {\n        key: \"children\",\n        get: function get() {\n          return this._routerState.children(this);\n        }\n        /**\n         * The path from the root of the router state tree to this route.\n         * @return {?}\n         */\n\n      }, {\n        key: \"pathFromRoot\",\n        get: function get() {\n          return this._routerState.pathFromRoot(this);\n        }\n        /**\n         * An Observable that contains a map of the required and optional parameters\n         * specific to the route.\n         * The map supports retrieving single and multiple values from the same parameter.\n         * @return {?}\n         */\n\n      }, {\n        key: \"paramMap\",\n        get: function get() {\n          if (!this._paramMap) {\n            this._paramMap = this.params.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(\n            /**\n            * @param {?} p\n            * @return {?}\n            */\n            function (p) {\n              return convertToParamMap(p);\n            }));\n          }\n\n          return this._paramMap;\n        }\n        /**\n         * An Observable that contains a map of the query parameters available to all routes.\n         * The map supports retrieving single and multiple values from the query parameter.\n         * @return {?}\n         */\n\n      }, {\n        key: \"queryParamMap\",\n        get: function get() {\n          if (!this._queryParamMap) {\n            this._queryParamMap = this.queryParams.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(\n            /**\n            * @param {?} p\n            * @return {?}\n            */\n            function (p) {\n              return convertToParamMap(p);\n            }));\n          }\n\n          return this._queryParamMap;\n        }\n      }]);\n\n      return ActivatedRoute;\n    }();\n\n    if (false) {}\n    /**\n     * Returns the inherited params, data, and resolve for a given route.\n     * By default, this only inherits values up to the nearest path-less or component-less route.\n     * \\@internal\n     * @param {?} route\n     * @param {?=} paramsInheritanceStrategy\n     * @return {?}\n     */\n\n\n    function inheritedParamsDataResolve(route) {\n      var paramsInheritanceStrategy = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'emptyOnly';\n\n      /** @type {?} */\n      var pathFromRoot = route.pathFromRoot;\n      /** @type {?} */\n\n      var inheritingStartingFrom = 0;\n\n      if (paramsInheritanceStrategy !== 'always') {\n        inheritingStartingFrom = pathFromRoot.length - 1;\n\n        while (inheritingStartingFrom >= 1) {\n          /** @type {?} */\n          var current = pathFromRoot[inheritingStartingFrom];\n          /** @type {?} */\n\n          var parent = pathFromRoot[inheritingStartingFrom - 1]; // current route is an empty path => inherits its parent's params and data\n\n          if (current.routeConfig && current.routeConfig.path === '') {\n            inheritingStartingFrom--; // parent is componentless => current route should inherit its params and data\n          } else if (!parent.component) {\n            inheritingStartingFrom--;\n          } else {\n            break;\n          }\n        }\n      }\n\n      return flattenInherited(pathFromRoot.slice(inheritingStartingFrom));\n    }\n    /**\n     * \\@internal\n     * @param {?} pathFromRoot\n     * @return {?}\n     */\n\n\n    function flattenInherited(pathFromRoot) {\n      return pathFromRoot.reduce(\n      /**\n      * @param {?} res\n      * @param {?} curr\n      * @return {?}\n      */\n      function (res, curr) {\n        /** @type {?} */\n        var params = Object.assign({}, res.params, curr.params);\n        /** @type {?} */\n\n        var data = Object.assign({}, res.data, curr.data);\n        /** @type {?} */\n\n        var resolve = Object.assign({}, res.resolve, curr._resolvedData);\n        return {\n          params: params,\n          data: data,\n          resolve: resolve\n        };\n      },\n      /** @type {?} */\n      {\n        params: {},\n        data: {},\n        resolve: {}\n      });\n    }\n    /**\n     * \\@description\n     *\n     * Contains the information about a route associated with a component loaded in an\n     * outlet at a particular moment in time. ActivatedRouteSnapshot can also be used to\n     * traverse the router state tree.\n     *\n     * ```\n     * \\@Component({templateUrl:'./my-component.html'})\n     * class MyComponent {\n     *   constructor(route: ActivatedRoute) {\n     *     const id: string = route.snapshot.params.id;\n     *     const url: string = route.snapshot.url.join('');\n     *     const user = route.snapshot.data.user;\n     *   }\n     * }\n     * ```\n     *\n     * \\@publicApi\n     */\n\n\n    var ActivatedRouteSnapshot =\n    /*#__PURE__*/\n    function () {\n      /**\n       * \\@internal\n       * @param {?} url\n       * @param {?} params\n       * @param {?} queryParams\n       * @param {?} fragment\n       * @param {?} data\n       * @param {?} outlet\n       * @param {?} component\n       * @param {?} routeConfig\n       * @param {?} urlSegment\n       * @param {?} lastPathIndex\n       * @param {?} resolve\n       */\n      function ActivatedRouteSnapshot(url, params, queryParams, fragment, data, outlet, component, routeConfig, urlSegment, lastPathIndex, resolve) {\n        _classCallCheck(this, ActivatedRouteSnapshot);\n\n        this.url = url;\n        this.params = params;\n        this.queryParams = queryParams;\n        this.fragment = fragment;\n        this.data = data;\n        this.outlet = outlet;\n        this.component = component;\n        this.routeConfig = routeConfig;\n        this._urlSegment = urlSegment;\n        this._lastPathIndex = lastPathIndex;\n        this._resolve = resolve;\n      }\n      /**\n       * The root of the router state\n       * @return {?}\n       */\n\n\n      _createClass2(ActivatedRouteSnapshot, [{\n        key: \"toString\",\n\n        /**\n         * @return {?}\n         */\n        value: function toString() {\n          /** @type {?} */\n          var url = this.url.map(\n          /**\n          * @param {?} segment\n          * @return {?}\n          */\n          function (segment) {\n            return segment.toString();\n          }).join('/');\n          /** @type {?} */\n\n          var matched = this.routeConfig ? this.routeConfig.path : '';\n          return \"Route(url:'\".concat(url, \"', path:'\").concat(matched, \"')\");\n        }\n      }, {\n        key: \"root\",\n        get: function get() {\n          return this._routerState.root;\n        }\n        /**\n         * The parent of this route in the router state tree\n         * @return {?}\n         */\n\n      }, {\n        key: \"parent\",\n        get: function get() {\n          return this._routerState.parent(this);\n        }\n        /**\n         * The first child of this route in the router state tree\n         * @return {?}\n         */\n\n      }, {\n        key: \"firstChild\",\n        get: function get() {\n          return this._routerState.firstChild(this);\n        }\n        /**\n         * The children of this route in the router state tree\n         * @return {?}\n         */\n\n      }, {\n        key: \"children\",\n        get: function get() {\n          return this._routerState.children(this);\n        }\n        /**\n         * The path from the root of the router state tree to this route\n         * @return {?}\n         */\n\n      }, {\n        key: \"pathFromRoot\",\n        get: function get() {\n          return this._routerState.pathFromRoot(this);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"paramMap\",\n        get: function get() {\n          if (!this._paramMap) {\n            this._paramMap = convertToParamMap(this.params);\n          }\n\n          return this._paramMap;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"queryParamMap\",\n        get: function get() {\n          if (!this._queryParamMap) {\n            this._queryParamMap = convertToParamMap(this.queryParams);\n          }\n\n          return this._queryParamMap;\n        }\n      }]);\n\n      return ActivatedRouteSnapshot;\n    }();\n\n    if (false) {}\n    /**\n     * \\@description\n     *\n     * Represents the state of the router at a moment in time.\n     *\n     * This is a tree of activated route snapshots. Every node in this tree knows about\n     * the \"consumed\" URL segments, the extracted parameters, and the resolved data.\n     *\n     * \\@usageNotes\n     * ### Example\n     *\n     * ```\n     * \\@Component({templateUrl:'template.html'})\n     * class MyComponent {\n     *   constructor(router: Router) {\n     *     const state: RouterState = router.routerState;\n     *     const snapshot: RouterStateSnapshot = state.snapshot;\n     *     const root: ActivatedRouteSnapshot = snapshot.root;\n     *     const child = root.firstChild;\n     *     const id: Observable<string> = child.params.map(p => p.id);\n     *     //...\n     *   }\n     * }\n     * ```\n     *\n     * \\@publicApi\n     */\n\n\n    var RouterStateSnapshot =\n    /*#__PURE__*/\n    function (_Tree2) {\n      _inherits(RouterStateSnapshot, _Tree2);\n\n      /**\n       * \\@internal\n       * @param {?} url\n       * @param {?} root\n       */\n      function RouterStateSnapshot(url, root) {\n        var _this665;\n\n        _classCallCheck(this, RouterStateSnapshot);\n\n        _this665 = _possibleConstructorReturn(this, _getPrototypeOf(RouterStateSnapshot).call(this, root));\n        _this665.url = url;\n        setRouterState(\n        /** @type {?} */\n        _assertThisInitialized(_this665), root);\n        return _this665;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(RouterStateSnapshot, [{\n        key: \"toString\",\n        value: function toString() {\n          return serializeNode(this._root);\n        }\n      }]);\n\n      return RouterStateSnapshot;\n    }(Tree);\n\n    if (false) {}\n    /**\n     * @template U, T\n     * @param {?} state\n     * @param {?} node\n     * @return {?}\n     */\n\n\n    function setRouterState(state, node) {\n      node.value._routerState = state;\n      node.children.forEach(\n      /**\n      * @param {?} c\n      * @return {?}\n      */\n      function (c) {\n        return setRouterState(state, c);\n      });\n    }\n    /**\n     * @param {?} node\n     * @return {?}\n     */\n\n\n    function serializeNode(node) {\n      /** @type {?} */\n      var c = node.children.length > 0 ? \" { \".concat(node.children.map(serializeNode).join(', '), \" } \") : '';\n      return \"\".concat(node.value).concat(c);\n    }\n    /**\n     * The expectation is that the activate route is created with the right set of parameters.\n     * So we push new values into the observables only when they are not the initial values.\n     * And we detect that by checking if the snapshot field is set.\n     * @param {?} route\n     * @return {?}\n     */\n\n\n    function advanceActivatedRoute(route) {\n      if (route.snapshot) {\n        /** @type {?} */\n        var currentSnapshot = route.snapshot;\n        /** @type {?} */\n\n        var nextSnapshot = route._futureSnapshot;\n        route.snapshot = nextSnapshot;\n\n        if (!shallowEqual(currentSnapshot.queryParams, nextSnapshot.queryParams)) {\n          /** @type {?} */\n          route.queryParams.next(nextSnapshot.queryParams);\n        }\n\n        if (currentSnapshot.fragment !== nextSnapshot.fragment) {\n          /** @type {?} */\n          route.fragment.next(nextSnapshot.fragment);\n        }\n\n        if (!shallowEqual(currentSnapshot.params, nextSnapshot.params)) {\n          /** @type {?} */\n          route.params.next(nextSnapshot.params);\n        }\n\n        if (!shallowEqualArrays(currentSnapshot.url, nextSnapshot.url)) {\n          /** @type {?} */\n          route.url.next(nextSnapshot.url);\n        }\n\n        if (!shallowEqual(currentSnapshot.data, nextSnapshot.data)) {\n          /** @type {?} */\n          route.data.next(nextSnapshot.data);\n        }\n      } else {\n        route.snapshot = route._futureSnapshot; // this is for resolved data\n\n        /** @type {?} */\n        route.data.next(route._futureSnapshot.data);\n      }\n    }\n    /**\n     * @param {?} a\n     * @param {?} b\n     * @return {?}\n     */\n\n\n    function equalParamsAndUrlSegments(a, b) {\n      /** @type {?} */\n      var equalUrlParams = shallowEqual(a.params, b.params) && equalSegments(a.url, b.url);\n      /** @type {?} */\n\n      var parentsMismatch = !a.parent !== !b.parent;\n      return equalUrlParams && !parentsMismatch && (!a.parent || equalParamsAndUrlSegments(a.parent,\n      /** @type {?} */\n      b.parent));\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @param {?} routeReuseStrategy\n     * @param {?} curr\n     * @param {?} prevState\n     * @return {?}\n     */\n\n\n    function createRouterState(routeReuseStrategy, curr, prevState) {\n      /** @type {?} */\n      var root = createNode(routeReuseStrategy, curr._root, prevState ? prevState._root : undefined);\n      return new RouterState(root, curr);\n    }\n    /**\n     * @param {?} routeReuseStrategy\n     * @param {?} curr\n     * @param {?=} prevState\n     * @return {?}\n     */\n\n\n    function createNode(routeReuseStrategy, curr, prevState) {\n      // reuse an activated route that is currently displayed on the screen\n      if (prevState && routeReuseStrategy.shouldReuseRoute(curr.value, prevState.value.snapshot)) {\n        /** @type {?} */\n        var value = prevState.value;\n        value._futureSnapshot = curr.value;\n        /** @type {?} */\n\n        var children = createOrReuseChildren(routeReuseStrategy, curr, prevState);\n        return new TreeNode(value, children); // retrieve an activated route that is used to be displayed, but is not currently displayed\n      } else {\n        /** @type {?} */\n        var detachedRouteHandle =\n        /** @type {?} */\n        routeReuseStrategy.retrieve(curr.value);\n\n        if (detachedRouteHandle) {\n          /** @type {?} */\n          var _tree = detachedRouteHandle.route;\n          setFutureSnapshotsOfActivatedRoutes(curr, _tree);\n          return _tree;\n        } else {\n          /** @type {?} */\n          var _value12 = createActivatedRoute(curr.value);\n          /** @type {?} */\n\n\n          var _children2 = curr.children.map(\n          /**\n          * @param {?} c\n          * @return {?}\n          */\n          function (c) {\n            return createNode(routeReuseStrategy, c);\n          });\n\n          return new TreeNode(_value12, _children2);\n        }\n      }\n    }\n    /**\n     * @param {?} curr\n     * @param {?} result\n     * @return {?}\n     */\n\n\n    function setFutureSnapshotsOfActivatedRoutes(curr, result) {\n      if (curr.value.routeConfig !== result.value.routeConfig) {\n        throw new Error('Cannot reattach ActivatedRouteSnapshot created from a different route');\n      }\n\n      if (curr.children.length !== result.children.length) {\n        throw new Error('Cannot reattach ActivatedRouteSnapshot with a different number of children');\n      }\n\n      result.value._futureSnapshot = curr.value;\n\n      for (var i = 0; i < curr.children.length; ++i) {\n        setFutureSnapshotsOfActivatedRoutes(curr.children[i], result.children[i]);\n      }\n    }\n    /**\n     * @param {?} routeReuseStrategy\n     * @param {?} curr\n     * @param {?} prevState\n     * @return {?}\n     */\n\n\n    function createOrReuseChildren(routeReuseStrategy, curr, prevState) {\n      return curr.children.map(\n      /**\n      * @param {?} child\n      * @return {?}\n      */\n      function (child) {\n        var _iteratorNormalCompletion56 = true;\n        var _didIteratorError56 = false;\n        var _iteratorError56 = undefined;\n\n        try {\n          for (var _iterator56 = prevState.children[Symbol.iterator](), _step56; !(_iteratorNormalCompletion56 = (_step56 = _iterator56.next()).done); _iteratorNormalCompletion56 = true) {\n            var p = _step56.value;\n\n            if (routeReuseStrategy.shouldReuseRoute(p.value.snapshot, child.value)) {\n              return createNode(routeReuseStrategy, child, p);\n            }\n          }\n        } catch (err) {\n          _didIteratorError56 = true;\n          _iteratorError56 = err;\n        } finally {\n          try {\n            if (!_iteratorNormalCompletion56 && _iterator56.return != null) {\n              _iterator56.return();\n            }\n          } finally {\n            if (_didIteratorError56) {\n              throw _iteratorError56;\n            }\n          }\n        }\n\n        return createNode(routeReuseStrategy, child);\n      });\n    }\n    /**\n     * @param {?} c\n     * @return {?}\n     */\n\n\n    function createActivatedRoute(c) {\n      return new ActivatedRoute(new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"BehaviorSubject\"](c.url), new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"BehaviorSubject\"](c.params), new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"BehaviorSubject\"](c.queryParams), new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"BehaviorSubject\"](c.fragment), new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"BehaviorSubject\"](c.data), c.outlet, c.component, c);\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @param {?} route\n     * @param {?} urlTree\n     * @param {?} commands\n     * @param {?} queryParams\n     * @param {?} fragment\n     * @return {?}\n     */\n\n\n    function _createUrlTree(route, urlTree, commands, queryParams, fragment) {\n      if (commands.length === 0) {\n        return tree(urlTree.root, urlTree.root, urlTree, queryParams, fragment);\n      }\n      /** @type {?} */\n\n\n      var nav = computeNavigation(commands);\n\n      if (nav.toRoot()) {\n        return tree(urlTree.root, new UrlSegmentGroup([], {}), urlTree, queryParams, fragment);\n      }\n      /** @type {?} */\n\n\n      var startingPosition = findStartingPosition(nav, urlTree, route);\n      /** @type {?} */\n\n      var segmentGroup = startingPosition.processChildren ? updateSegmentGroupChildren(startingPosition.segmentGroup, startingPosition.index, nav.commands) : updateSegmentGroup(startingPosition.segmentGroup, startingPosition.index, nav.commands);\n      return tree(startingPosition.segmentGroup, segmentGroup, urlTree, queryParams, fragment);\n    }\n    /**\n     * @param {?} command\n     * @return {?}\n     */\n\n\n    function isMatrixParams(command) {\n      return typeof command === 'object' && command != null && !command.outlets && !command.segmentPath;\n    }\n    /**\n     * @param {?} oldSegmentGroup\n     * @param {?} newSegmentGroup\n     * @param {?} urlTree\n     * @param {?} queryParams\n     * @param {?} fragment\n     * @return {?}\n     */\n\n\n    function tree(oldSegmentGroup, newSegmentGroup, urlTree, queryParams, fragment) {\n      /** @type {?} */\n      var qp = {};\n\n      if (queryParams) {\n        forEach(queryParams,\n        /**\n        * @param {?} value\n        * @param {?} name\n        * @return {?}\n        */\n        function (value, name) {\n          qp[name] = Array.isArray(value) ? value.map(\n          /**\n          * @param {?} v\n          * @return {?}\n          */\n          function (v) {\n            return \"\".concat(v);\n          }) : \"\".concat(value);\n        });\n      }\n\n      if (urlTree.root === oldSegmentGroup) {\n        return new UrlTree(newSegmentGroup, qp, fragment);\n      }\n\n      return new UrlTree(replaceSegment(urlTree.root, oldSegmentGroup, newSegmentGroup), qp, fragment);\n    }\n    /**\n     * @param {?} current\n     * @param {?} oldSegment\n     * @param {?} newSegment\n     * @return {?}\n     */\n\n\n    function replaceSegment(current, oldSegment, newSegment) {\n      /** @type {?} */\n      var children = {};\n      forEach(current.children,\n      /**\n      * @param {?} c\n      * @param {?} outletName\n      * @return {?}\n      */\n      function (c, outletName) {\n        if (c === oldSegment) {\n          children[outletName] = newSegment;\n        } else {\n          children[outletName] = replaceSegment(c, oldSegment, newSegment);\n        }\n      });\n      return new UrlSegmentGroup(current.segments, children);\n    }\n\n    var Navigation =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} isAbsolute\n       * @param {?} numberOfDoubleDots\n       * @param {?} commands\n       */\n      function Navigation(isAbsolute, numberOfDoubleDots, commands) {\n        _classCallCheck(this, Navigation);\n\n        this.isAbsolute = isAbsolute;\n        this.numberOfDoubleDots = numberOfDoubleDots;\n        this.commands = commands;\n\n        if (isAbsolute && commands.length > 0 && isMatrixParams(commands[0])) {\n          throw new Error('Root segment cannot have matrix parameters');\n        }\n        /** @type {?} */\n\n\n        var cmdWithOutlet = commands.find(\n        /**\n        * @param {?} c\n        * @return {?}\n        */\n        function (c) {\n          return typeof c === 'object' && c != null && c.outlets;\n        });\n\n        if (cmdWithOutlet && cmdWithOutlet !== last(commands)) {\n          throw new Error('{outlets:{}} has to be the last command');\n        }\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(Navigation, [{\n        key: \"toRoot\",\n        value: function toRoot() {\n          return this.isAbsolute && this.commands.length === 1 && this.commands[0] == '/';\n        }\n      }]);\n\n      return Navigation;\n    }();\n\n    if (false) {}\n    /**\n     * Transforms commands to a normalized `Navigation`\n     * @param {?} commands\n     * @return {?}\n     */\n\n\n    function computeNavigation(commands) {\n      if (typeof commands[0] === 'string' && commands.length === 1 && commands[0] === '/') {\n        return new Navigation(true, 0, commands);\n      }\n      /** @type {?} */\n\n\n      var numberOfDoubleDots = 0;\n      /** @type {?} */\n\n      var isAbsolute = false;\n      /** @type {?} */\n\n      var res = commands.reduce(\n      /**\n      * @param {?} res\n      * @param {?} cmd\n      * @param {?} cmdIdx\n      * @return {?}\n      */\n      function (res, cmd, cmdIdx) {\n        if (typeof cmd === 'object' && cmd != null) {\n          if (cmd.outlets) {\n            /** @type {?} */\n            var outlets = {};\n            forEach(cmd.outlets,\n            /**\n            * @param {?} commands\n            * @param {?} name\n            * @return {?}\n            */\n            function (commands, name) {\n              outlets[name] = typeof commands === 'string' ? commands.split('/') : commands;\n            });\n            return [].concat(_toConsumableArray(res), [{\n              outlets: outlets\n            }]);\n          }\n\n          if (cmd.segmentPath) {\n            return [].concat(_toConsumableArray(res), [cmd.segmentPath]);\n          }\n        }\n\n        if (!(typeof cmd === 'string')) {\n          return [].concat(_toConsumableArray(res), [cmd]);\n        }\n\n        if (cmdIdx === 0) {\n          cmd.split('/').forEach(\n          /**\n          * @param {?} urlPart\n          * @param {?} partIndex\n          * @return {?}\n          */\n          function (urlPart, partIndex) {\n            if (partIndex == 0 && urlPart === '.') {// skip './a'\n            } else if (partIndex == 0 && urlPart === '') {\n              //  '/a'\n              isAbsolute = true;\n            } else if (urlPart === '..') {\n              //  '../a'\n              numberOfDoubleDots++;\n            } else if (urlPart != '') {\n              res.push(urlPart);\n            }\n          });\n          return res;\n        }\n\n        return [].concat(_toConsumableArray(res), [cmd]);\n      }, []);\n      return new Navigation(isAbsolute, numberOfDoubleDots, res);\n    }\n\n    var Position =\n    /**\n     * @param {?} segmentGroup\n     * @param {?} processChildren\n     * @param {?} index\n     */\n    function Position(segmentGroup, processChildren, index) {\n      _classCallCheck(this, Position);\n\n      this.segmentGroup = segmentGroup;\n      this.processChildren = processChildren;\n      this.index = index;\n    };\n\n    if (false) {}\n    /**\n     * @param {?} nav\n     * @param {?} tree\n     * @param {?} route\n     * @return {?}\n     */\n\n\n    function findStartingPosition(nav, tree, route) {\n      if (nav.isAbsolute) {\n        return new Position(tree.root, true, 0);\n      }\n\n      if (route.snapshot._lastPathIndex === -1) {\n        return new Position(route.snapshot._urlSegment, true, 0);\n      }\n      /** @type {?} */\n\n\n      var modifier = isMatrixParams(nav.commands[0]) ? 0 : 1;\n      /** @type {?} */\n\n      var index = route.snapshot._lastPathIndex + modifier;\n      return createPositionApplyingDoubleDots(route.snapshot._urlSegment, index, nav.numberOfDoubleDots);\n    }\n    /**\n     * @param {?} group\n     * @param {?} index\n     * @param {?} numberOfDoubleDots\n     * @return {?}\n     */\n\n\n    function createPositionApplyingDoubleDots(group, index, numberOfDoubleDots) {\n      /** @type {?} */\n      var g = group;\n      /** @type {?} */\n\n      var ci = index;\n      /** @type {?} */\n\n      var dd = numberOfDoubleDots;\n\n      while (dd > ci) {\n        dd -= ci;\n        g =\n        /** @type {?} */\n        g.parent;\n\n        if (!g) {\n          throw new Error('Invalid number of \\'../\\'');\n        }\n\n        ci = g.segments.length;\n      }\n\n      return new Position(g, false, ci - dd);\n    }\n    /**\n     * @param {?} command\n     * @return {?}\n     */\n\n\n    function getPath(command) {\n      if (typeof command === 'object' && command != null && command.outlets) {\n        return command.outlets[PRIMARY_OUTLET];\n      }\n\n      return \"\".concat(command);\n    }\n    /**\n     * @param {?} commands\n     * @return {?}\n     */\n\n\n    function getOutlets(commands) {\n      if (!(typeof commands[0] === 'object')) return _defineProperty({}, PRIMARY_OUTLET, commands);\n      if (commands[0].outlets === undefined) return _defineProperty({}, PRIMARY_OUTLET, commands);\n      return commands[0].outlets;\n    }\n    /**\n     * @param {?} segmentGroup\n     * @param {?} startIndex\n     * @param {?} commands\n     * @return {?}\n     */\n\n\n    function updateSegmentGroup(segmentGroup, startIndex, commands) {\n      if (!segmentGroup) {\n        segmentGroup = new UrlSegmentGroup([], {});\n      }\n\n      if (segmentGroup.segments.length === 0 && segmentGroup.hasChildren()) {\n        return updateSegmentGroupChildren(segmentGroup, startIndex, commands);\n      }\n      /** @type {?} */\n\n\n      var m = prefixedWith(segmentGroup, startIndex, commands);\n      /** @type {?} */\n\n      var slicedCommands = commands.slice(m.commandIndex);\n\n      if (m.match && m.pathIndex < segmentGroup.segments.length) {\n        /** @type {?} */\n        var g = new UrlSegmentGroup(segmentGroup.segments.slice(0, m.pathIndex), {});\n        g.children[PRIMARY_OUTLET] = new UrlSegmentGroup(segmentGroup.segments.slice(m.pathIndex), segmentGroup.children);\n        return updateSegmentGroupChildren(g, 0, slicedCommands);\n      } else if (m.match && slicedCommands.length === 0) {\n        return new UrlSegmentGroup(segmentGroup.segments, {});\n      } else if (m.match && !segmentGroup.hasChildren()) {\n        return createNewSegmentGroup(segmentGroup, startIndex, commands);\n      } else if (m.match) {\n        return updateSegmentGroupChildren(segmentGroup, 0, slicedCommands);\n      } else {\n        return createNewSegmentGroup(segmentGroup, startIndex, commands);\n      }\n    }\n    /**\n     * @param {?} segmentGroup\n     * @param {?} startIndex\n     * @param {?} commands\n     * @return {?}\n     */\n\n\n    function updateSegmentGroupChildren(segmentGroup, startIndex, commands) {\n      if (commands.length === 0) {\n        return new UrlSegmentGroup(segmentGroup.segments, {});\n      } else {\n        /** @type {?} */\n        var outlets = getOutlets(commands);\n        /** @type {?} */\n\n        var children = {};\n        forEach(outlets,\n        /**\n        * @param {?} commands\n        * @param {?} outlet\n        * @return {?}\n        */\n        function (commands, outlet) {\n          if (commands !== null) {\n            children[outlet] = updateSegmentGroup(segmentGroup.children[outlet], startIndex, commands);\n          }\n        });\n        forEach(segmentGroup.children,\n        /**\n        * @param {?} child\n        * @param {?} childOutlet\n        * @return {?}\n        */\n        function (child, childOutlet) {\n          if (outlets[childOutlet] === undefined) {\n            children[childOutlet] = child;\n          }\n        });\n        return new UrlSegmentGroup(segmentGroup.segments, children);\n      }\n    }\n    /**\n     * @param {?} segmentGroup\n     * @param {?} startIndex\n     * @param {?} commands\n     * @return {?}\n     */\n\n\n    function prefixedWith(segmentGroup, startIndex, commands) {\n      /** @type {?} */\n      var currentCommandIndex = 0;\n      /** @type {?} */\n\n      var currentPathIndex = startIndex;\n      /** @type {?} */\n\n      var noMatch = {\n        match: false,\n        pathIndex: 0,\n        commandIndex: 0\n      };\n\n      while (currentPathIndex < segmentGroup.segments.length) {\n        if (currentCommandIndex >= commands.length) return noMatch;\n        /** @type {?} */\n\n        var path = segmentGroup.segments[currentPathIndex];\n        /** @type {?} */\n\n        var curr = getPath(commands[currentCommandIndex]);\n        /** @type {?} */\n\n        var next = currentCommandIndex < commands.length - 1 ? commands[currentCommandIndex + 1] : null;\n        if (currentPathIndex > 0 && curr === undefined) break;\n\n        if (curr && next && typeof next === 'object' && next.outlets === undefined) {\n          if (!compare(curr, next, path)) return noMatch;\n          currentCommandIndex += 2;\n        } else {\n          if (!compare(curr, {}, path)) return noMatch;\n          currentCommandIndex++;\n        }\n\n        currentPathIndex++;\n      }\n\n      return {\n        match: true,\n        pathIndex: currentPathIndex,\n        commandIndex: currentCommandIndex\n      };\n    }\n    /**\n     * @param {?} segmentGroup\n     * @param {?} startIndex\n     * @param {?} commands\n     * @return {?}\n     */\n\n\n    function createNewSegmentGroup(segmentGroup, startIndex, commands) {\n      /** @type {?} */\n      var paths = segmentGroup.segments.slice(0, startIndex);\n      /** @type {?} */\n\n      var i = 0;\n\n      while (i < commands.length) {\n        if (typeof commands[i] === 'object' && commands[i].outlets !== undefined) {\n          /** @type {?} */\n          var children = createNewSegmentChildren(commands[i].outlets);\n          return new UrlSegmentGroup(paths, children);\n        } // if we start with an object literal, we need to reuse the path part from the segment\n\n\n        if (i === 0 && isMatrixParams(commands[0])) {\n          /** @type {?} */\n          var p = segmentGroup.segments[startIndex];\n          paths.push(new UrlSegment(p.path, commands[0]));\n          i++;\n          continue;\n        }\n        /** @type {?} */\n\n\n        var curr = getPath(commands[i]);\n        /** @type {?} */\n\n        var next = i < commands.length - 1 ? commands[i + 1] : null;\n\n        if (curr && next && isMatrixParams(next)) {\n          paths.push(new UrlSegment(curr, stringify(next)));\n          i += 2;\n        } else {\n          paths.push(new UrlSegment(curr, {}));\n          i++;\n        }\n      }\n\n      return new UrlSegmentGroup(paths, {});\n    }\n    /**\n     * @param {?} outlets\n     * @return {?}\n     */\n\n\n    function createNewSegmentChildren(outlets) {\n      /** @type {?} */\n      var children = {};\n      forEach(outlets,\n      /**\n      * @param {?} commands\n      * @param {?} outlet\n      * @return {?}\n      */\n      function (commands, outlet) {\n        if (commands !== null) {\n          children[outlet] = createNewSegmentGroup(new UrlSegmentGroup([], {}), 0, commands);\n        }\n      });\n      return children;\n    }\n    /**\n     * @param {?} params\n     * @return {?}\n     */\n\n\n    function stringify(params) {\n      /** @type {?} */\n      var res = {};\n      forEach(params,\n      /**\n      * @param {?} v\n      * @param {?} k\n      * @return {?}\n      */\n      function (v, k) {\n        return res[k] = \"\".concat(v);\n      });\n      return res;\n    }\n    /**\n     * @param {?} path\n     * @param {?} params\n     * @param {?} segment\n     * @return {?}\n     */\n\n\n    function compare(path, params, segment) {\n      return path == segment.path && shallowEqual(params, segment.parameters);\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var activateRoutes =\n    /**\n    * @param {?} rootContexts\n    * @param {?} routeReuseStrategy\n    * @param {?} forwardEvent\n    * @return {?}\n    */\n    function activateRoutes(rootContexts, routeReuseStrategy, forwardEvent) {\n      return Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(\n      /**\n      * @param {?} t\n      * @return {?}\n      */\n      function (t) {\n        new ActivateRoutes(routeReuseStrategy,\n        /** @type {?} */\n        t.targetRouterState, t.currentRouterState, forwardEvent).activate(rootContexts);\n        return t;\n      });\n    };\n\n    var ActivateRoutes =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} routeReuseStrategy\n       * @param {?} futureState\n       * @param {?} currState\n       * @param {?} forwardEvent\n       */\n      function ActivateRoutes(routeReuseStrategy, futureState, currState, forwardEvent) {\n        _classCallCheck(this, ActivateRoutes);\n\n        this.routeReuseStrategy = routeReuseStrategy;\n        this.futureState = futureState;\n        this.currState = currState;\n        this.forwardEvent = forwardEvent;\n      }\n      /**\n       * @param {?} parentContexts\n       * @return {?}\n       */\n\n\n      _createClass2(ActivateRoutes, [{\n        key: \"activate\",\n        value: function activate(parentContexts) {\n          /** @type {?} */\n          var futureRoot = this.futureState._root;\n          /** @type {?} */\n\n          var currRoot = this.currState ? this.currState._root : null;\n          this.deactivateChildRoutes(futureRoot, currRoot, parentContexts);\n          advanceActivatedRoute(this.futureState.root);\n          this.activateChildRoutes(futureRoot, currRoot, parentContexts);\n        } // De-activate the child route that are not re-used for the future state\n\n        /**\n         * @private\n         * @param {?} futureNode\n         * @param {?} currNode\n         * @param {?} contexts\n         * @return {?}\n         */\n\n      }, {\n        key: \"deactivateChildRoutes\",\n        value: function deactivateChildRoutes(futureNode, currNode, contexts) {\n          var _this666 = this;\n\n          /** @type {?} */\n          var children = nodeChildrenAsMap(currNode); // Recurse on the routes active in the future state to de-activate deeper children\n\n          futureNode.children.forEach(\n          /**\n          * @param {?} futureChild\n          * @return {?}\n          */\n          function (futureChild) {\n            /** @type {?} */\n            var childOutletName = futureChild.value.outlet;\n\n            _this666.deactivateRoutes(futureChild, children[childOutletName], contexts);\n\n            delete children[childOutletName];\n          }); // De-activate the routes that will not be re-used\n\n          forEach(children,\n          /**\n          * @param {?} v\n          * @param {?} childName\n          * @return {?}\n          */\n          function (v, childName) {\n            _this666.deactivateRouteAndItsChildren(v, contexts);\n          });\n        }\n        /**\n         * @private\n         * @param {?} futureNode\n         * @param {?} currNode\n         * @param {?} parentContext\n         * @return {?}\n         */\n\n      }, {\n        key: \"deactivateRoutes\",\n        value: function deactivateRoutes(futureNode, currNode, parentContext) {\n          /** @type {?} */\n          var future = futureNode.value;\n          /** @type {?} */\n\n          var curr = currNode ? currNode.value : null;\n\n          if (future === curr) {\n            // Reusing the node, check to see if the children need to be de-activated\n            if (future.component) {\n              // If we have a normal route, we need to go through an outlet.\n\n              /** @type {?} */\n              var context = parentContext.getContext(future.outlet);\n\n              if (context) {\n                this.deactivateChildRoutes(futureNode, currNode, context.children);\n              }\n            } else {\n              // if we have a componentless route, we recurse but keep the same outlet map.\n              this.deactivateChildRoutes(futureNode, currNode, parentContext);\n            }\n          } else {\n            if (curr) {\n              // Deactivate the current route which will not be re-used\n              this.deactivateRouteAndItsChildren(currNode, parentContext);\n            }\n          }\n        }\n        /**\n         * @private\n         * @param {?} route\n         * @param {?} parentContexts\n         * @return {?}\n         */\n\n      }, {\n        key: \"deactivateRouteAndItsChildren\",\n        value: function deactivateRouteAndItsChildren(route, parentContexts) {\n          if (this.routeReuseStrategy.shouldDetach(route.value.snapshot)) {\n            this.detachAndStoreRouteSubtree(route, parentContexts);\n          } else {\n            this.deactivateRouteAndOutlet(route, parentContexts);\n          }\n        }\n        /**\n         * @private\n         * @param {?} route\n         * @param {?} parentContexts\n         * @return {?}\n         */\n\n      }, {\n        key: \"detachAndStoreRouteSubtree\",\n        value: function detachAndStoreRouteSubtree(route, parentContexts) {\n          /** @type {?} */\n          var context = parentContexts.getContext(route.value.outlet);\n\n          if (context && context.outlet) {\n            /** @type {?} */\n            var componentRef = context.outlet.detach();\n            /** @type {?} */\n\n            var contexts = context.children.onOutletDeactivated();\n            this.routeReuseStrategy.store(route.value.snapshot, {\n              componentRef: componentRef,\n              route: route,\n              contexts: contexts\n            });\n          }\n        }\n        /**\n         * @private\n         * @param {?} route\n         * @param {?} parentContexts\n         * @return {?}\n         */\n\n      }, {\n        key: \"deactivateRouteAndOutlet\",\n        value: function deactivateRouteAndOutlet(route, parentContexts) {\n          var _this667 = this;\n\n          /** @type {?} */\n          var context = parentContexts.getContext(route.value.outlet);\n\n          if (context) {\n            /** @type {?} */\n            var children = nodeChildrenAsMap(route);\n            /** @type {?} */\n\n            var contexts = route.value.component ? context.children : parentContexts;\n            forEach(children,\n            /**\n            * @param {?} v\n            * @param {?} k\n            * @return {?}\n            */\n            function (v, k) {\n              return _this667.deactivateRouteAndItsChildren(v, contexts);\n            });\n\n            if (context.outlet) {\n              // Destroy the component\n              context.outlet.deactivate(); // Destroy the contexts for all the outlets that were in the component\n\n              context.children.onOutletDeactivated();\n            }\n          }\n        }\n        /**\n         * @private\n         * @param {?} futureNode\n         * @param {?} currNode\n         * @param {?} contexts\n         * @return {?}\n         */\n\n      }, {\n        key: \"activateChildRoutes\",\n        value: function activateChildRoutes(futureNode, currNode, contexts) {\n          var _this668 = this;\n\n          /** @type {?} */\n          var children = nodeChildrenAsMap(currNode);\n          futureNode.children.forEach(\n          /**\n          * @param {?} c\n          * @return {?}\n          */\n          function (c) {\n            _this668.activateRoutes(c, children[c.value.outlet], contexts);\n\n            _this668.forwardEvent(new ActivationEnd(c.value.snapshot));\n          });\n\n          if (futureNode.children.length) {\n            this.forwardEvent(new ChildActivationEnd(futureNode.value.snapshot));\n          }\n        }\n        /**\n         * @private\n         * @param {?} futureNode\n         * @param {?} currNode\n         * @param {?} parentContexts\n         * @return {?}\n         */\n\n      }, {\n        key: \"activateRoutes\",\n        value: function activateRoutes(futureNode, currNode, parentContexts) {\n          /** @type {?} */\n          var future = futureNode.value;\n          /** @type {?} */\n\n          var curr = currNode ? currNode.value : null;\n          advanceActivatedRoute(future); // reusing the node\n\n          if (future === curr) {\n            if (future.component) {\n              // If we have a normal route, we need to go through an outlet.\n\n              /** @type {?} */\n              var context = parentContexts.getOrCreateContext(future.outlet);\n              this.activateChildRoutes(futureNode, currNode, context.children);\n            } else {\n              // if we have a componentless route, we recurse but keep the same outlet map.\n              this.activateChildRoutes(futureNode, currNode, parentContexts);\n            }\n          } else {\n            if (future.component) {\n              // if we have a normal route, we need to place the component into the outlet and recurse.\n\n              /** @type {?} */\n              var _context4 = parentContexts.getOrCreateContext(future.outlet);\n\n              if (this.routeReuseStrategy.shouldAttach(future.snapshot)) {\n                /** @type {?} */\n                var stored =\n                /** @type {?} */\n                this.routeReuseStrategy.retrieve(future.snapshot);\n                this.routeReuseStrategy.store(future.snapshot, null);\n\n                _context4.children.onOutletReAttached(stored.contexts);\n\n                _context4.attachRef = stored.componentRef;\n                _context4.route = stored.route.value;\n\n                if (_context4.outlet) {\n                  // Attach right away when the outlet has already been instantiated\n                  // Otherwise attach from `RouterOutlet.ngOnInit` when it is instantiated\n                  _context4.outlet.attach(stored.componentRef, stored.route.value);\n                }\n\n                advanceActivatedRouteNodeAndItsChildren(stored.route);\n              } else {\n                /** @type {?} */\n                var config = parentLoadedConfig(future.snapshot);\n                /** @type {?} */\n\n                var cmpFactoryResolver = config ? config.module.componentFactoryResolver : null;\n                _context4.attachRef = null;\n                _context4.route = future;\n                _context4.resolver = cmpFactoryResolver;\n\n                if (_context4.outlet) {\n                  // Activate the outlet when it has already been instantiated\n                  // Otherwise it will get activated from its `ngOnInit` when instantiated\n                  _context4.outlet.activateWith(future, cmpFactoryResolver);\n                }\n\n                this.activateChildRoutes(futureNode, null, _context4.children);\n              }\n            } else {\n              // if we have a componentless route, we recurse but keep the same outlet map.\n              this.activateChildRoutes(futureNode, null, parentContexts);\n            }\n          }\n        }\n      }]);\n\n      return ActivateRoutes;\n    }();\n\n    if (false) {}\n    /**\n     * @param {?} node\n     * @return {?}\n     */\n\n\n    function advanceActivatedRouteNodeAndItsChildren(node) {\n      advanceActivatedRoute(node.value);\n      node.children.forEach(advanceActivatedRouteNodeAndItsChildren);\n    }\n    /**\n     * @param {?} snapshot\n     * @return {?}\n     */\n\n\n    function parentLoadedConfig(snapshot) {\n      for (var s = snapshot.parent; s; s = s.parent) {\n        /** @type {?} */\n        var route = s.routeConfig;\n        if (route && route._loadedConfig) return route._loadedConfig;\n        if (route && route.component) return null;\n      }\n\n      return null;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Simple function check, but generic so type inference will flow. Example:\n     *\n     * function product(a: number, b: number) {\n     *   return a * b;\n     * }\n     *\n     * if (isFunction<product>(fn)) {\n     *   return fn(1, 2);\n     * } else {\n     *   throw \"Must provide the `product` function\";\n     * }\n     * @template T\n     * @param {?} v\n     * @return {?}\n     */\n\n\n    function isFunction(v) {\n      return typeof v === 'function';\n    }\n    /**\n     * @param {?} v\n     * @return {?}\n     */\n\n\n    function isBoolean(v) {\n      return typeof v === 'boolean';\n    }\n    /**\n     * @param {?} v\n     * @return {?}\n     */\n\n\n    function isUrlTree(v) {\n      return v instanceof UrlTree;\n    }\n    /**\n     * @param {?} guard\n     * @return {?}\n     */\n\n\n    function isCanLoad(guard) {\n      return guard && isFunction(guard.canLoad);\n    }\n    /**\n     * @param {?} guard\n     * @return {?}\n     */\n\n\n    function isCanActivate(guard) {\n      return guard && isFunction(guard.canActivate);\n    }\n    /**\n     * @param {?} guard\n     * @return {?}\n     */\n\n\n    function isCanActivateChild(guard) {\n      return guard && isFunction(guard.canActivateChild);\n    }\n    /**\n     * @template T\n     * @param {?} guard\n     * @return {?}\n     */\n\n\n    function isCanDeactivate(guard) {\n      return guard && isFunction(guard.canDeactivate);\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n\n    var NoMatch =\n    /**\n     * @param {?=} segmentGroup\n     */\n    function NoMatch(segmentGroup) {\n      _classCallCheck(this, NoMatch);\n\n      this.segmentGroup = segmentGroup || null;\n    };\n\n    if (false) {}\n\n    var AbsoluteRedirect =\n    /**\n     * @param {?} urlTree\n     */\n    function AbsoluteRedirect(urlTree) {\n      _classCallCheck(this, AbsoluteRedirect);\n\n      this.urlTree = urlTree;\n    };\n\n    if (false) {}\n    /**\n     * @param {?} segmentGroup\n     * @return {?}\n     */\n\n\n    function noMatch(segmentGroup) {\n      return new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Observable\"](\n      /**\n      * @param {?} obs\n      * @return {?}\n      */\n      function (obs) {\n        return obs.error(new NoMatch(segmentGroup));\n      });\n    }\n    /**\n     * @param {?} newTree\n     * @return {?}\n     */\n\n\n    function absoluteRedirect(newTree) {\n      return new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Observable\"](\n      /**\n      * @param {?} obs\n      * @return {?}\n      */\n      function (obs) {\n        return obs.error(new AbsoluteRedirect(newTree));\n      });\n    }\n    /**\n     * @param {?} redirectTo\n     * @return {?}\n     */\n\n\n    function namedOutletsRedirect(redirectTo) {\n      return new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Observable\"](\n      /**\n      * @param {?} obs\n      * @return {?}\n      */\n      function (obs) {\n        return obs.error(new Error(\"Only absolute redirects can have named outlets. redirectTo: '\".concat(redirectTo, \"'\")));\n      });\n    }\n    /**\n     * @param {?} route\n     * @return {?}\n     */\n\n\n    function canLoadFails(route) {\n      return new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Observable\"](\n      /**\n      * @param {?} obs\n      * @return {?}\n      */\n      function (obs) {\n        return obs.error(navigationCancelingError(\"Cannot load children because the guard of the route \\\"path: '\".concat(route.path, \"'\\\" returned false\")));\n      });\n    }\n    /**\n     * Returns the `UrlTree` with the redirection applied.\n     *\n     * Lazy modules are loaded along the way.\n     * @param {?} moduleInjector\n     * @param {?} configLoader\n     * @param {?} urlSerializer\n     * @param {?} urlTree\n     * @param {?} config\n     * @return {?}\n     */\n\n\n    function applyRedirects(moduleInjector, configLoader, urlSerializer, urlTree, config) {\n      return new ApplyRedirects(moduleInjector, configLoader, urlSerializer, urlTree, config).apply();\n    }\n\n    var ApplyRedirects =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} moduleInjector\n       * @param {?} configLoader\n       * @param {?} urlSerializer\n       * @param {?} urlTree\n       * @param {?} config\n       */\n      function ApplyRedirects(moduleInjector, configLoader, urlSerializer, urlTree, config) {\n        _classCallCheck(this, ApplyRedirects);\n\n        this.configLoader = configLoader;\n        this.urlSerializer = urlSerializer;\n        this.urlTree = urlTree;\n        this.config = config;\n        this.allowRedirects = true;\n        this.ngModule = moduleInjector.get(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgModuleRef\"]);\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(ApplyRedirects, [{\n        key: \"apply\",\n        value: function apply() {\n          var _this669 = this;\n\n          /** @type {?} */\n          var expanded$ = this.expandSegmentGroup(this.ngModule, this.config, this.urlTree.root, PRIMARY_OUTLET);\n          /** @type {?} */\n\n          var urlTrees$ = expanded$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(\n          /**\n          * @param {?} rootSegmentGroup\n          * @return {?}\n          */\n          function (rootSegmentGroup) {\n            return _this669.createUrlTree(rootSegmentGroup, _this669.urlTree.queryParams,\n            /** @type {?} */\n            _this669.urlTree.fragment);\n          }));\n          return urlTrees$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"catchError\"])(\n          /**\n          * @param {?} e\n          * @return {?}\n          */\n          function (e) {\n            if (e instanceof AbsoluteRedirect) {\n              // after an absolute redirect we do not apply any more redirects!\n              _this669.allowRedirects = false; // we need to run matching, so we can fetch all lazy-loaded modules\n\n              return _this669.match(e.urlTree);\n            }\n\n            if (e instanceof NoMatch) {\n              throw _this669.noMatchError(e);\n            }\n\n            throw e;\n          }));\n        }\n        /**\n         * @private\n         * @param {?} tree\n         * @return {?}\n         */\n\n      }, {\n        key: \"match\",\n        value: function match(tree) {\n          var _this670 = this;\n\n          /** @type {?} */\n          var expanded$ = this.expandSegmentGroup(this.ngModule, this.config, tree.root, PRIMARY_OUTLET);\n          /** @type {?} */\n\n          var mapped$ = expanded$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(\n          /**\n          * @param {?} rootSegmentGroup\n          * @return {?}\n          */\n          function (rootSegmentGroup) {\n            return _this670.createUrlTree(rootSegmentGroup, tree.queryParams,\n            /** @type {?} */\n            tree.fragment);\n          }));\n          return mapped$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"catchError\"])(\n          /**\n          * @param {?} e\n          * @return {?}\n          */\n          function (e) {\n            if (e instanceof NoMatch) {\n              throw _this670.noMatchError(e);\n            }\n\n            throw e;\n          }));\n        }\n        /**\n         * @private\n         * @param {?} e\n         * @return {?}\n         */\n\n      }, {\n        key: \"noMatchError\",\n        value: function noMatchError(e) {\n          return new Error(\"Cannot match any routes. URL Segment: '\".concat(e.segmentGroup, \"'\"));\n        }\n        /**\n         * @private\n         * @param {?} rootCandidate\n         * @param {?} queryParams\n         * @param {?} fragment\n         * @return {?}\n         */\n\n      }, {\n        key: \"createUrlTree\",\n        value: function createUrlTree(rootCandidate, queryParams, fragment) {\n          /** @type {?} */\n          var root = rootCandidate.segments.length > 0 ? new UrlSegmentGroup([], _defineProperty({}, PRIMARY_OUTLET, rootCandidate)) : rootCandidate;\n          return new UrlTree(root, queryParams, fragment);\n        }\n        /**\n         * @private\n         * @param {?} ngModule\n         * @param {?} routes\n         * @param {?} segmentGroup\n         * @param {?} outlet\n         * @return {?}\n         */\n\n      }, {\n        key: \"expandSegmentGroup\",\n        value: function expandSegmentGroup(ngModule, routes, segmentGroup, outlet) {\n          if (segmentGroup.segments.length === 0 && segmentGroup.hasChildren()) {\n            return this.expandChildren(ngModule, routes, segmentGroup).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(\n            /**\n            * @param {?} children\n            * @return {?}\n            */\n            function (children) {\n              return new UrlSegmentGroup([], children);\n            }));\n          }\n\n          return this.expandSegment(ngModule, segmentGroup, routes, segmentGroup.segments, outlet, true);\n        } // Recursively expand segment groups for all the child outlets\n\n        /**\n         * @private\n         * @param {?} ngModule\n         * @param {?} routes\n         * @param {?} segmentGroup\n         * @return {?}\n         */\n\n      }, {\n        key: \"expandChildren\",\n        value: function expandChildren(ngModule, routes, segmentGroup) {\n          var _this671 = this;\n\n          return waitForMap(segmentGroup.children,\n          /**\n          * @param {?} childOutlet\n          * @param {?} child\n          * @return {?}\n          */\n          function (childOutlet, child) {\n            return _this671.expandSegmentGroup(ngModule, routes, child, childOutlet);\n          });\n        }\n        /**\n         * @private\n         * @param {?} ngModule\n         * @param {?} segmentGroup\n         * @param {?} routes\n         * @param {?} segments\n         * @param {?} outlet\n         * @param {?} allowRedirects\n         * @return {?}\n         */\n\n      }, {\n        key: \"expandSegment\",\n        value: function expandSegment(ngModule, segmentGroup, routes, segments, outlet, allowRedirects) {\n          var _this672 = this;\n\n          return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"]).apply(void 0, _toConsumableArray(routes)).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(\n          /**\n          * @param {?} r\n          * @return {?}\n          */\n          function (r) {\n            /** @type {?} */\n            var expanded$ = _this672.expandSegmentAgainstRoute(ngModule, segmentGroup, routes, r, segments, outlet, allowRedirects);\n\n            return expanded$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"catchError\"])(\n            /**\n            * @param {?} e\n            * @return {?}\n            */\n            function (e) {\n              if (e instanceof NoMatch) {\n                // TODO(i): this return type doesn't match the declared Observable<UrlSegmentGroup> -\n                // talk to Jason\n                return (\n                  /** @type {?} */\n                  Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(null)\n                );\n              }\n\n              throw e;\n            }));\n          }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"concatAll\"])(), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"first\"])(\n          /**\n          * @param {?} s\n          * @return {?}\n          */\n          function (s) {\n            return !!s;\n          }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"catchError\"])(\n          /**\n          * @param {?} e\n          * @param {?} _\n          * @return {?}\n          */\n          function (e, _) {\n            if (e instanceof rxjs__WEBPACK_IMPORTED_MODULE_2__[\"EmptyError\"] || e.name === 'EmptyError') {\n              if (_this672.noLeftoversInUrl(segmentGroup, segments, outlet)) {\n                return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(new UrlSegmentGroup([], {}));\n              }\n\n              throw new NoMatch(segmentGroup);\n            }\n\n            throw e;\n          }));\n        }\n        /**\n         * @private\n         * @param {?} segmentGroup\n         * @param {?} segments\n         * @param {?} outlet\n         * @return {?}\n         */\n\n      }, {\n        key: \"noLeftoversInUrl\",\n        value: function noLeftoversInUrl(segmentGroup, segments, outlet) {\n          return segments.length === 0 && !segmentGroup.children[outlet];\n        }\n        /**\n         * @private\n         * @param {?} ngModule\n         * @param {?} segmentGroup\n         * @param {?} routes\n         * @param {?} route\n         * @param {?} paths\n         * @param {?} outlet\n         * @param {?} allowRedirects\n         * @return {?}\n         */\n\n      }, {\n        key: \"expandSegmentAgainstRoute\",\n        value: function expandSegmentAgainstRoute(ngModule, segmentGroup, routes, route, paths, outlet, allowRedirects) {\n          if (getOutlet(route) !== outlet) {\n            return noMatch(segmentGroup);\n          }\n\n          if (route.redirectTo === undefined) {\n            return this.matchSegmentAgainstRoute(ngModule, segmentGroup, route, paths);\n          }\n\n          if (allowRedirects && this.allowRedirects) {\n            return this.expandSegmentAgainstRouteUsingRedirect(ngModule, segmentGroup, routes, route, paths, outlet);\n          }\n\n          return noMatch(segmentGroup);\n        }\n        /**\n         * @private\n         * @param {?} ngModule\n         * @param {?} segmentGroup\n         * @param {?} routes\n         * @param {?} route\n         * @param {?} segments\n         * @param {?} outlet\n         * @return {?}\n         */\n\n      }, {\n        key: \"expandSegmentAgainstRouteUsingRedirect\",\n        value: function expandSegmentAgainstRouteUsingRedirect(ngModule, segmentGroup, routes, route, segments, outlet) {\n          if (route.path === '**') {\n            return this.expandWildCardWithParamsAgainstRouteUsingRedirect(ngModule, routes, route, outlet);\n          }\n\n          return this.expandRegularSegmentAgainstRouteUsingRedirect(ngModule, segmentGroup, routes, route, segments, outlet);\n        }\n        /**\n         * @private\n         * @param {?} ngModule\n         * @param {?} routes\n         * @param {?} route\n         * @param {?} outlet\n         * @return {?}\n         */\n\n      }, {\n        key: \"expandWildCardWithParamsAgainstRouteUsingRedirect\",\n        value: function expandWildCardWithParamsAgainstRouteUsingRedirect(ngModule, routes, route, outlet) {\n          var _this673 = this;\n\n          /** @type {?} */\n          var newTree = this.applyRedirectCommands([],\n          /** @type {?} */\n          route.redirectTo, {});\n\n          if (\n          /** @type {?} */\n          route.redirectTo.startsWith('/')) {\n            return absoluteRedirect(newTree);\n          }\n\n          return this.lineralizeSegments(route, newTree).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"mergeMap\"])(\n          /**\n          * @param {?} newSegments\n          * @return {?}\n          */\n          function (newSegments) {\n            /** @type {?} */\n            var group = new UrlSegmentGroup(newSegments, {});\n            return _this673.expandSegment(ngModule, group, routes, newSegments, outlet, false);\n          }));\n        }\n        /**\n         * @private\n         * @param {?} ngModule\n         * @param {?} segmentGroup\n         * @param {?} routes\n         * @param {?} route\n         * @param {?} segments\n         * @param {?} outlet\n         * @return {?}\n         */\n\n      }, {\n        key: \"expandRegularSegmentAgainstRouteUsingRedirect\",\n        value: function expandRegularSegmentAgainstRouteUsingRedirect(ngModule, segmentGroup, routes, route, segments, outlet) {\n          var _this674 = this;\n\n          var _match = match(segmentGroup, route, segments),\n              matched = _match.matched,\n              consumedSegments = _match.consumedSegments,\n              lastChild = _match.lastChild,\n              positionalParamSegments = _match.positionalParamSegments;\n\n          if (!matched) return noMatch(segmentGroup);\n          /** @type {?} */\n\n          var newTree = this.applyRedirectCommands(consumedSegments,\n          /** @type {?} */\n          route.redirectTo,\n          /** @type {?} */\n          positionalParamSegments);\n\n          if (\n          /** @type {?} */\n          route.redirectTo.startsWith('/')) {\n            return absoluteRedirect(newTree);\n          }\n\n          return this.lineralizeSegments(route, newTree).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"mergeMap\"])(\n          /**\n          * @param {?} newSegments\n          * @return {?}\n          */\n          function (newSegments) {\n            return _this674.expandSegment(ngModule, segmentGroup, routes, newSegments.concat(segments.slice(lastChild)), outlet, false);\n          }));\n        }\n        /**\n         * @private\n         * @param {?} ngModule\n         * @param {?} rawSegmentGroup\n         * @param {?} route\n         * @param {?} segments\n         * @return {?}\n         */\n\n      }, {\n        key: \"matchSegmentAgainstRoute\",\n        value: function matchSegmentAgainstRoute(ngModule, rawSegmentGroup, route, segments) {\n          var _this675 = this;\n\n          if (route.path === '**') {\n            if (route.loadChildren) {\n              return this.configLoader.load(ngModule.injector, route).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(\n              /**\n              * @param {?} cfg\n              * @return {?}\n              */\n              function (cfg) {\n                route._loadedConfig = cfg;\n                return new UrlSegmentGroup(segments, {});\n              }));\n            }\n\n            return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(new UrlSegmentGroup(segments, {}));\n          }\n\n          var _match2 = match(rawSegmentGroup, route, segments),\n              matched = _match2.matched,\n              consumedSegments = _match2.consumedSegments,\n              lastChild = _match2.lastChild;\n\n          if (!matched) return noMatch(rawSegmentGroup);\n          /** @type {?} */\n\n          var rawSlicedSegments = segments.slice(lastChild);\n          /** @type {?} */\n\n          var childConfig$ = this.getChildConfig(ngModule, route, segments);\n          return childConfig$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"mergeMap\"])(\n          /**\n          * @param {?} routerConfig\n          * @return {?}\n          */\n          function (routerConfig) {\n            /** @type {?} */\n            var childModule = routerConfig.module;\n            /** @type {?} */\n\n            var childConfig = routerConfig.routes;\n\n            var _split4 = split(rawSegmentGroup, consumedSegments, rawSlicedSegments, childConfig),\n                segmentGroup = _split4.segmentGroup,\n                slicedSegments = _split4.slicedSegments;\n\n            if (slicedSegments.length === 0 && segmentGroup.hasChildren()) {\n              /** @type {?} */\n              var _expanded$ = _this675.expandChildren(childModule, childConfig, segmentGroup);\n\n              return _expanded$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(\n              /**\n              * @param {?} children\n              * @return {?}\n              */\n              function (children) {\n                return new UrlSegmentGroup(consumedSegments, children);\n              }));\n            }\n\n            if (childConfig.length === 0 && slicedSegments.length === 0) {\n              return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(new UrlSegmentGroup(consumedSegments, {}));\n            }\n            /** @type {?} */\n\n\n            var expanded$ = _this675.expandSegment(childModule, segmentGroup, childConfig, slicedSegments, PRIMARY_OUTLET, true);\n\n            return expanded$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(\n            /**\n            * @param {?} cs\n            * @return {?}\n            */\n            function (cs) {\n              return new UrlSegmentGroup(consumedSegments.concat(cs.segments), cs.children);\n            }));\n          }));\n        }\n        /**\n         * @private\n         * @param {?} ngModule\n         * @param {?} route\n         * @param {?} segments\n         * @return {?}\n         */\n\n      }, {\n        key: \"getChildConfig\",\n        value: function getChildConfig(ngModule, route, segments) {\n          var _this676 = this;\n\n          if (route.children) {\n            // The children belong to the same module\n            return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(new LoadedRouterConfig(route.children, ngModule));\n          }\n\n          if (route.loadChildren) {\n            // lazy children belong to the loaded module\n            if (route._loadedConfig !== undefined) {\n              return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(route._loadedConfig);\n            }\n\n            return runCanLoadGuard(ngModule.injector, route, segments).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"mergeMap\"])(\n            /**\n            * @param {?} shouldLoad\n            * @return {?}\n            */\n            function (shouldLoad) {\n              if (shouldLoad) {\n                return _this676.configLoader.load(ngModule.injector, route).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(\n                /**\n                * @param {?} cfg\n                * @return {?}\n                */\n                function (cfg) {\n                  route._loadedConfig = cfg;\n                  return cfg;\n                }));\n              }\n\n              return canLoadFails(route);\n            }));\n          }\n\n          return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(new LoadedRouterConfig([], ngModule));\n        }\n        /**\n         * @private\n         * @param {?} route\n         * @param {?} urlTree\n         * @return {?}\n         */\n\n      }, {\n        key: \"lineralizeSegments\",\n        value: function lineralizeSegments(route, urlTree) {\n          /** @type {?} */\n          var res = [];\n          /** @type {?} */\n\n          var c = urlTree.root;\n\n          while (true) {\n            res = res.concat(c.segments);\n\n            if (c.numberOfChildren === 0) {\n              return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(res);\n            }\n\n            if (c.numberOfChildren > 1 || !c.children[PRIMARY_OUTLET]) {\n              return namedOutletsRedirect(\n              /** @type {?} */\n              route.redirectTo);\n            }\n\n            c = c.children[PRIMARY_OUTLET];\n          }\n        }\n        /**\n         * @private\n         * @param {?} segments\n         * @param {?} redirectTo\n         * @param {?} posParams\n         * @return {?}\n         */\n\n      }, {\n        key: \"applyRedirectCommands\",\n        value: function applyRedirectCommands(segments, redirectTo, posParams) {\n          return this.applyRedirectCreatreUrlTree(redirectTo, this.urlSerializer.parse(redirectTo), segments, posParams);\n        }\n        /**\n         * @private\n         * @param {?} redirectTo\n         * @param {?} urlTree\n         * @param {?} segments\n         * @param {?} posParams\n         * @return {?}\n         */\n\n      }, {\n        key: \"applyRedirectCreatreUrlTree\",\n        value: function applyRedirectCreatreUrlTree(redirectTo, urlTree, segments, posParams) {\n          /** @type {?} */\n          var newRoot = this.createSegmentGroup(redirectTo, urlTree.root, segments, posParams);\n          return new UrlTree(newRoot, this.createQueryParams(urlTree.queryParams, this.urlTree.queryParams), urlTree.fragment);\n        }\n        /**\n         * @private\n         * @param {?} redirectToParams\n         * @param {?} actualParams\n         * @return {?}\n         */\n\n      }, {\n        key: \"createQueryParams\",\n        value: function createQueryParams(redirectToParams, actualParams) {\n          /** @type {?} */\n          var res = {};\n          forEach(redirectToParams,\n          /**\n          * @param {?} v\n          * @param {?} k\n          * @return {?}\n          */\n          function (v, k) {\n            /** @type {?} */\n            var copySourceValue = typeof v === 'string' && v.startsWith(':');\n\n            if (copySourceValue) {\n              /** @type {?} */\n              var sourceName = v.substring(1);\n              res[k] = actualParams[sourceName];\n            } else {\n              res[k] = v;\n            }\n          });\n          return res;\n        }\n        /**\n         * @private\n         * @param {?} redirectTo\n         * @param {?} group\n         * @param {?} segments\n         * @param {?} posParams\n         * @return {?}\n         */\n\n      }, {\n        key: \"createSegmentGroup\",\n        value: function createSegmentGroup(redirectTo, group, segments, posParams) {\n          var _this677 = this;\n\n          /** @type {?} */\n          var updatedSegments = this.createSegments(redirectTo, group.segments, segments, posParams);\n          /** @type {?} */\n\n          var children = {};\n          forEach(group.children,\n          /**\n          * @param {?} child\n          * @param {?} name\n          * @return {?}\n          */\n          function (child, name) {\n            children[name] = _this677.createSegmentGroup(redirectTo, child, segments, posParams);\n          });\n          return new UrlSegmentGroup(updatedSegments, children);\n        }\n        /**\n         * @private\n         * @param {?} redirectTo\n         * @param {?} redirectToSegments\n         * @param {?} actualSegments\n         * @param {?} posParams\n         * @return {?}\n         */\n\n      }, {\n        key: \"createSegments\",\n        value: function createSegments(redirectTo, redirectToSegments, actualSegments, posParams) {\n          var _this678 = this;\n\n          return redirectToSegments.map(\n          /**\n          * @param {?} s\n          * @return {?}\n          */\n          function (s) {\n            return s.path.startsWith(':') ? _this678.findPosParam(redirectTo, s, posParams) : _this678.findOrReturn(s, actualSegments);\n          });\n        }\n        /**\n         * @private\n         * @param {?} redirectTo\n         * @param {?} redirectToUrlSegment\n         * @param {?} posParams\n         * @return {?}\n         */\n\n      }, {\n        key: \"findPosParam\",\n        value: function findPosParam(redirectTo, redirectToUrlSegment, posParams) {\n          /** @type {?} */\n          var pos = posParams[redirectToUrlSegment.path.substring(1)];\n          if (!pos) throw new Error(\"Cannot redirect to '\".concat(redirectTo, \"'. Cannot find '\").concat(redirectToUrlSegment.path, \"'.\"));\n          return pos;\n        }\n        /**\n         * @private\n         * @param {?} redirectToUrlSegment\n         * @param {?} actualSegments\n         * @return {?}\n         */\n\n      }, {\n        key: \"findOrReturn\",\n        value: function findOrReturn(redirectToUrlSegment, actualSegments) {\n          /** @type {?} */\n          var idx = 0;\n          var _iteratorNormalCompletion57 = true;\n          var _didIteratorError57 = false;\n          var _iteratorError57 = undefined;\n\n          try {\n            for (var _iterator57 = actualSegments[Symbol.iterator](), _step57; !(_iteratorNormalCompletion57 = (_step57 = _iterator57.next()).done); _iteratorNormalCompletion57 = true) {\n              var s = _step57.value;\n\n              if (s.path === redirectToUrlSegment.path) {\n                actualSegments.splice(idx);\n                return s;\n              }\n\n              idx++;\n            }\n          } catch (err) {\n            _didIteratorError57 = true;\n            _iteratorError57 = err;\n          } finally {\n            try {\n              if (!_iteratorNormalCompletion57 && _iterator57.return != null) {\n                _iterator57.return();\n              }\n            } finally {\n              if (_didIteratorError57) {\n                throw _iteratorError57;\n              }\n            }\n          }\n\n          return redirectToUrlSegment;\n        }\n      }]);\n\n      return ApplyRedirects;\n    }();\n\n    if (false) {}\n    /**\n     * @param {?} moduleInjector\n     * @param {?} route\n     * @param {?} segments\n     * @return {?}\n     */\n\n\n    function runCanLoadGuard(moduleInjector, route, segments) {\n      /** @type {?} */\n      var canLoad = route.canLoad;\n      if (!canLoad || canLoad.length === 0) return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(true);\n      /** @type {?} */\n\n      var obs = Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"from\"])(canLoad).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(\n      /**\n      * @param {?} injectionToken\n      * @return {?}\n      */\n      function (injectionToken) {\n        /** @type {?} */\n        var guard = moduleInjector.get(injectionToken);\n        /** @type {?} */\n\n        var guardVal;\n\n        if (isCanLoad(guard)) {\n          guardVal = guard.canLoad(route, segments);\n        } else if (isFunction(guard)) {\n          guardVal = guard(route, segments);\n        } else {\n          throw new Error('Invalid CanLoad guard');\n        }\n\n        return wrapIntoObservable(guardVal);\n      }));\n      return obs.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"concatAll\"])(), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"every\"])(\n      /**\n      * @param {?} result\n      * @return {?}\n      */\n      function (result) {\n        return result === true;\n      }));\n    }\n    /**\n     * @param {?} segmentGroup\n     * @param {?} route\n     * @param {?} segments\n     * @return {?}\n     */\n\n\n    function match(segmentGroup, route, segments) {\n      if (route.path === '') {\n        if (route.pathMatch === 'full' && (segmentGroup.hasChildren() || segments.length > 0)) {\n          return {\n            matched: false,\n            consumedSegments: [],\n            lastChild: 0,\n            positionalParamSegments: {}\n          };\n        }\n\n        return {\n          matched: true,\n          consumedSegments: [],\n          lastChild: 0,\n          positionalParamSegments: {}\n        };\n      }\n      /** @type {?} */\n\n\n      var matcher = route.matcher || defaultUrlMatcher;\n      /** @type {?} */\n\n      var res = matcher(segments, segmentGroup, route);\n\n      if (!res) {\n        return {\n          matched: false,\n          consumedSegments:\n          /** @type {?} */\n          [],\n          lastChild: 0,\n          positionalParamSegments: {}\n        };\n      }\n\n      return {\n        matched: true,\n        consumedSegments:\n        /** @type {?} */\n        res.consumed,\n        lastChild:\n        /** @type {?} */\n        res.consumed.length,\n        positionalParamSegments:\n        /** @type {?} */\n        res.posParams\n      };\n    }\n    /**\n     * @param {?} segmentGroup\n     * @param {?} consumedSegments\n     * @param {?} slicedSegments\n     * @param {?} config\n     * @return {?}\n     */\n\n\n    function split(segmentGroup, consumedSegments, slicedSegments, config) {\n      if (slicedSegments.length > 0 && containsEmptyPathRedirectsWithNamedOutlets(segmentGroup, slicedSegments, config)) {\n        /** @type {?} */\n        var s = new UrlSegmentGroup(consumedSegments, createChildrenForEmptySegments(config, new UrlSegmentGroup(slicedSegments, segmentGroup.children)));\n        return {\n          segmentGroup: mergeTrivialChildren(s),\n          slicedSegments: []\n        };\n      }\n\n      if (slicedSegments.length === 0 && containsEmptyPathRedirects(segmentGroup, slicedSegments, config)) {\n        /** @type {?} */\n        var _s2 = new UrlSegmentGroup(segmentGroup.segments, addEmptySegmentsToChildrenIfNeeded(segmentGroup, slicedSegments, config, segmentGroup.children));\n\n        return {\n          segmentGroup: mergeTrivialChildren(_s2),\n          slicedSegments: slicedSegments\n        };\n      }\n\n      return {\n        segmentGroup: segmentGroup,\n        slicedSegments: slicedSegments\n      };\n    }\n    /**\n     * @param {?} s\n     * @return {?}\n     */\n\n\n    function mergeTrivialChildren(s) {\n      if (s.numberOfChildren === 1 && s.children[PRIMARY_OUTLET]) {\n        /** @type {?} */\n        var c = s.children[PRIMARY_OUTLET];\n        return new UrlSegmentGroup(s.segments.concat(c.segments), c.children);\n      }\n\n      return s;\n    }\n    /**\n     * @param {?} segmentGroup\n     * @param {?} slicedSegments\n     * @param {?} routes\n     * @param {?} children\n     * @return {?}\n     */\n\n\n    function addEmptySegmentsToChildrenIfNeeded(segmentGroup, slicedSegments, routes, children) {\n      /** @type {?} */\n      var res = {};\n      var _iteratorNormalCompletion58 = true;\n      var _didIteratorError58 = false;\n      var _iteratorError58 = undefined;\n\n      try {\n        for (var _iterator58 = routes[Symbol.iterator](), _step58; !(_iteratorNormalCompletion58 = (_step58 = _iterator58.next()).done); _iteratorNormalCompletion58 = true) {\n          var r = _step58.value;\n\n          if (isEmptyPathRedirect(segmentGroup, slicedSegments, r) && !children[getOutlet(r)]) {\n            res[getOutlet(r)] = new UrlSegmentGroup([], {});\n          }\n        }\n      } catch (err) {\n        _didIteratorError58 = true;\n        _iteratorError58 = err;\n      } finally {\n        try {\n          if (!_iteratorNormalCompletion58 && _iterator58.return != null) {\n            _iterator58.return();\n          }\n        } finally {\n          if (_didIteratorError58) {\n            throw _iteratorError58;\n          }\n        }\n      }\n\n      return Object.assign({}, children, res);\n    }\n    /**\n     * @param {?} routes\n     * @param {?} primarySegmentGroup\n     * @return {?}\n     */\n\n\n    function createChildrenForEmptySegments(routes, primarySegmentGroup) {\n      /** @type {?} */\n      var res = {};\n      res[PRIMARY_OUTLET] = primarySegmentGroup;\n      var _iteratorNormalCompletion59 = true;\n      var _didIteratorError59 = false;\n      var _iteratorError59 = undefined;\n\n      try {\n        for (var _iterator59 = routes[Symbol.iterator](), _step59; !(_iteratorNormalCompletion59 = (_step59 = _iterator59.next()).done); _iteratorNormalCompletion59 = true) {\n          var r = _step59.value;\n\n          if (r.path === '' && getOutlet(r) !== PRIMARY_OUTLET) {\n            res[getOutlet(r)] = new UrlSegmentGroup([], {});\n          }\n        }\n      } catch (err) {\n        _didIteratorError59 = true;\n        _iteratorError59 = err;\n      } finally {\n        try {\n          if (!_iteratorNormalCompletion59 && _iterator59.return != null) {\n            _iterator59.return();\n          }\n        } finally {\n          if (_didIteratorError59) {\n            throw _iteratorError59;\n          }\n        }\n      }\n\n      return res;\n    }\n    /**\n     * @param {?} segmentGroup\n     * @param {?} segments\n     * @param {?} routes\n     * @return {?}\n     */\n\n\n    function containsEmptyPathRedirectsWithNamedOutlets(segmentGroup, segments, routes) {\n      return routes.some(\n      /**\n      * @param {?} r\n      * @return {?}\n      */\n      function (r) {\n        return isEmptyPathRedirect(segmentGroup, segments, r) && getOutlet(r) !== PRIMARY_OUTLET;\n      });\n    }\n    /**\n     * @param {?} segmentGroup\n     * @param {?} segments\n     * @param {?} routes\n     * @return {?}\n     */\n\n\n    function containsEmptyPathRedirects(segmentGroup, segments, routes) {\n      return routes.some(\n      /**\n      * @param {?} r\n      * @return {?}\n      */\n      function (r) {\n        return isEmptyPathRedirect(segmentGroup, segments, r);\n      });\n    }\n    /**\n     * @param {?} segmentGroup\n     * @param {?} segments\n     * @param {?} r\n     * @return {?}\n     */\n\n\n    function isEmptyPathRedirect(segmentGroup, segments, r) {\n      if ((segmentGroup.hasChildren() || segments.length > 0) && r.pathMatch === 'full') {\n        return false;\n      }\n\n      return r.path === '' && r.redirectTo !== undefined;\n    }\n    /**\n     * @param {?} route\n     * @return {?}\n     */\n\n\n    function getOutlet(route) {\n      return route.outlet || PRIMARY_OUTLET;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @param {?} moduleInjector\n     * @param {?} configLoader\n     * @param {?} urlSerializer\n     * @param {?} config\n     * @return {?}\n     */\n\n\n    function applyRedirects$1(moduleInjector, configLoader, urlSerializer, config) {\n      return (\n        /**\n        * @param {?} source\n        * @return {?}\n        */\n        function (source) {\n          return source.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"switchMap\"])(\n          /**\n          * @param {?} t\n          * @return {?}\n          */\n          function (t) {\n            return applyRedirects(moduleInjector, configLoader, urlSerializer, t.extractedUrl, config).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(\n            /**\n            * @param {?} urlAfterRedirects\n            * @return {?}\n            */\n            function (urlAfterRedirects) {\n              return Object.assign({}, t, {\n                urlAfterRedirects: urlAfterRedirects\n              });\n            }));\n          }));\n        }\n      );\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n\n    var CanActivate =\n    /**\n     * @param {?} path\n     */\n    function CanActivate(path) {\n      _classCallCheck(this, CanActivate);\n\n      this.path = path;\n      this.route = this.path[this.path.length - 1];\n    };\n\n    if (false) {}\n\n    var CanDeactivate =\n    /**\n     * @param {?} component\n     * @param {?} route\n     */\n    function CanDeactivate(component, route) {\n      _classCallCheck(this, CanDeactivate);\n\n      this.component = component;\n      this.route = route;\n    };\n\n    if (false) {}\n    /**\n     * @param {?} future\n     * @param {?} curr\n     * @param {?} parentContexts\n     * @return {?}\n     */\n\n\n    function getAllRouteGuards(future, curr, parentContexts) {\n      /** @type {?} */\n      var futureRoot = future._root;\n      /** @type {?} */\n\n      var currRoot = curr ? curr._root : null;\n      return getChildRouteGuards(futureRoot, currRoot, parentContexts, [futureRoot.value]);\n    }\n    /**\n     * @param {?} p\n     * @return {?}\n     */\n\n\n    function getCanActivateChild(p) {\n      /** @type {?} */\n      var canActivateChild = p.routeConfig ? p.routeConfig.canActivateChild : null;\n      if (!canActivateChild || canActivateChild.length === 0) return null;\n      return {\n        node: p,\n        guards: canActivateChild\n      };\n    }\n    /**\n     * @param {?} token\n     * @param {?} snapshot\n     * @param {?} moduleInjector\n     * @return {?}\n     */\n\n\n    function getToken(token, snapshot, moduleInjector) {\n      /** @type {?} */\n      var config = getClosestLoadedConfig(snapshot);\n      /** @type {?} */\n\n      var injector = config ? config.module.injector : moduleInjector;\n      return injector.get(token);\n    }\n    /**\n     * @param {?} snapshot\n     * @return {?}\n     */\n\n\n    function getClosestLoadedConfig(snapshot) {\n      if (!snapshot) return null;\n\n      for (var s = snapshot.parent; s; s = s.parent) {\n        /** @type {?} */\n        var route = s.routeConfig;\n        if (route && route._loadedConfig) return route._loadedConfig;\n      }\n\n      return null;\n    }\n    /**\n     * @param {?} futureNode\n     * @param {?} currNode\n     * @param {?} contexts\n     * @param {?} futurePath\n     * @param {?=} checks\n     * @return {?}\n     */\n\n\n    function getChildRouteGuards(futureNode, currNode, contexts, futurePath) {\n      var checks = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {\n        canDeactivateChecks: [],\n        canActivateChecks: []\n      };\n\n      /** @type {?} */\n      var prevChildren = nodeChildrenAsMap(currNode); // Process the children of the future route\n\n      futureNode.children.forEach(\n      /**\n      * @param {?} c\n      * @return {?}\n      */\n      function (c) {\n        getRouteGuards(c, prevChildren[c.value.outlet], contexts, futurePath.concat([c.value]), checks);\n        delete prevChildren[c.value.outlet];\n      }); // Process any children left from the current route (not active for the future route)\n\n      forEach(prevChildren,\n      /**\n      * @param {?} v\n      * @param {?} k\n      * @return {?}\n      */\n      function (v, k) {\n        return deactivateRouteAndItsChildren(v,\n        /** @type {?} */\n        contexts.getContext(k), checks);\n      });\n      return checks;\n    }\n    /**\n     * @param {?} futureNode\n     * @param {?} currNode\n     * @param {?} parentContexts\n     * @param {?} futurePath\n     * @param {?=} checks\n     * @return {?}\n     */\n\n\n    function getRouteGuards(futureNode, currNode, parentContexts, futurePath) {\n      var checks = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {\n        canDeactivateChecks: [],\n        canActivateChecks: []\n      };\n\n      /** @type {?} */\n      var future = futureNode.value;\n      /** @type {?} */\n\n      var curr = currNode ? currNode.value : null;\n      /** @type {?} */\n\n      var context = parentContexts ? parentContexts.getContext(futureNode.value.outlet) : null; // reusing the node\n\n      if (curr && future.routeConfig === curr.routeConfig) {\n        /** @type {?} */\n        var shouldRun = shouldRunGuardsAndResolvers(curr, future,\n        /** @type {?} */\n        future.routeConfig.runGuardsAndResolvers);\n\n        if (shouldRun) {\n          checks.canActivateChecks.push(new CanActivate(futurePath));\n        } else {\n          // we need to set the data\n          future.data = curr.data;\n          future._resolvedData = curr._resolvedData;\n        } // If we have a component, we need to go through an outlet.\n\n\n        if (future.component) {\n          getChildRouteGuards(futureNode, currNode, context ? context.children : null, futurePath, checks); // if we have a componentless route, we recurse but keep the same outlet map.\n        } else {\n          getChildRouteGuards(futureNode, currNode, parentContexts, futurePath, checks);\n        }\n\n        if (shouldRun) {\n          /** @type {?} */\n          var component = context && context.outlet && context.outlet.component || null;\n          checks.canDeactivateChecks.push(new CanDeactivate(component, curr));\n        }\n      } else {\n        if (curr) {\n          deactivateRouteAndItsChildren(currNode, context, checks);\n        }\n\n        checks.canActivateChecks.push(new CanActivate(futurePath)); // If we have a component, we need to go through an outlet.\n\n        if (future.component) {\n          getChildRouteGuards(futureNode, null, context ? context.children : null, futurePath, checks); // if we have a componentless route, we recurse but keep the same outlet map.\n        } else {\n          getChildRouteGuards(futureNode, null, parentContexts, futurePath, checks);\n        }\n      }\n\n      return checks;\n    }\n    /**\n     * @param {?} curr\n     * @param {?} future\n     * @param {?} mode\n     * @return {?}\n     */\n\n\n    function shouldRunGuardsAndResolvers(curr, future, mode) {\n      if (typeof mode === 'function') {\n        return mode(curr, future);\n      }\n\n      switch (mode) {\n        case 'pathParamsChange':\n          return !equalPath(curr.url, future.url);\n\n        case 'pathParamsOrQueryParamsChange':\n          return !equalPath(curr.url, future.url) || !shallowEqual(curr.queryParams, future.queryParams);\n\n        case 'always':\n          return true;\n\n        case 'paramsOrQueryParamsChange':\n          return !equalParamsAndUrlSegments(curr, future) || !shallowEqual(curr.queryParams, future.queryParams);\n\n        case 'paramsChange':\n        default:\n          return !equalParamsAndUrlSegments(curr, future);\n      }\n    }\n    /**\n     * @param {?} route\n     * @param {?} context\n     * @param {?} checks\n     * @return {?}\n     */\n\n\n    function deactivateRouteAndItsChildren(route, context, checks) {\n      /** @type {?} */\n      var children = nodeChildrenAsMap(route);\n      /** @type {?} */\n\n      var r = route.value;\n      forEach(children,\n      /**\n      * @param {?} node\n      * @param {?} childName\n      * @return {?}\n      */\n      function (node, childName) {\n        if (!r.component) {\n          deactivateRouteAndItsChildren(node, context, checks);\n        } else if (context) {\n          deactivateRouteAndItsChildren(node, context.children.getContext(childName), checks);\n        } else {\n          deactivateRouteAndItsChildren(node, null, checks);\n        }\n      });\n\n      if (!r.component) {\n        checks.canDeactivateChecks.push(new CanDeactivate(null, r));\n      } else if (context && context.outlet && context.outlet.isActivated) {\n        checks.canDeactivateChecks.push(new CanDeactivate(context.outlet.component, r));\n      } else {\n        checks.canDeactivateChecks.push(new CanDeactivate(null, r));\n      }\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /** @type {?} */\n\n\n    var INITIAL_VALUE = Symbol('INITIAL_VALUE');\n    /**\n     * @return {?}\n     */\n\n    function prioritizedGuardValue() {\n      return Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"switchMap\"])(\n      /**\n      * @param {?} obs\n      * @return {?}\n      */\n      function (obs) {\n        return (\n          /** @type {?} */\n          Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"combineLatest\"]).apply(void 0, _toConsumableArray(obs.map(\n          /**\n          * @param {?} o\n          * @return {?}\n          */\n          function (o) {\n            return o.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"take\"])(1), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"startWith\"])(\n            /** @type {?} */\n            INITIAL_VALUE));\n          }))).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"scan\"])(\n          /**\n          * @param {?} acc\n          * @param {?} list\n          * @return {?}\n          */\n          function (acc, list) {\n            /** @type {?} */\n            var isPending = false;\n            return list.reduce(\n            /**\n            * @param {?} innerAcc\n            * @param {?} val\n            * @param {?} i\n            * @return {?}\n            */\n            function (innerAcc, val, i) {\n              if (innerAcc !== INITIAL_VALUE) return innerAcc; // Toggle pending flag if any values haven't been set yet\n\n              if (val === INITIAL_VALUE) isPending = true; // Any other return values are only valid if we haven't yet hit a pending call.\n              // This guarantees that in the case of a guard at the bottom of the tree that\n              // returns a redirect, we will wait for the higher priority guard at the top to\n              // finish before performing the redirect.\n\n              if (!isPending) {\n                // Early return when we hit a `false` value as that should always cancel\n                // navigation\n                if (val === false) return val;\n\n                if (i === list.length - 1 || isUrlTree(val)) {\n                  return val;\n                }\n              }\n\n              return innerAcc;\n            }, acc);\n          }, INITIAL_VALUE), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"filter\"])(\n          /**\n          * @param {?} item\n          * @return {?}\n          */\n          function (item) {\n            return item !== INITIAL_VALUE;\n          }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(\n          /**\n          * @param {?} item\n          * @return {?}\n          */\n          function (item) {\n            return isUrlTree(item) ? item : item === true;\n          }), //\n          Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"take\"])(1))\n        );\n      });\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @param {?} moduleInjector\n     * @param {?=} forwardEvent\n     * @return {?}\n     */\n\n\n    function checkGuards(moduleInjector, forwardEvent) {\n      return (\n        /**\n        * @param {?} source\n        * @return {?}\n        */\n        function (source) {\n          return source.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"mergeMap\"])(\n          /**\n          * @param {?} t\n          * @return {?}\n          */\n          function (t) {\n            var targetSnapshot = t.targetSnapshot,\n                currentSnapshot = t.currentSnapshot,\n                _t$guards = t.guards,\n                canActivateChecks = _t$guards.canActivateChecks,\n                canDeactivateChecks = _t$guards.canDeactivateChecks;\n\n            if (canDeactivateChecks.length === 0 && canActivateChecks.length === 0) {\n              return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(Object.assign({}, t, {\n                guardsResult: true\n              }));\n            }\n\n            return runCanDeactivateChecks(canDeactivateChecks,\n            /** @type {?} */\n            targetSnapshot, currentSnapshot, moduleInjector).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"mergeMap\"])(\n            /**\n            * @param {?} canDeactivate\n            * @return {?}\n            */\n            function (canDeactivate) {\n              return canDeactivate && isBoolean(canDeactivate) ? runCanActivateChecks(\n              /** @type {?} */\n              targetSnapshot, canActivateChecks, moduleInjector, forwardEvent) : Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(canDeactivate);\n            }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(\n            /**\n            * @param {?} guardsResult\n            * @return {?}\n            */\n            function (guardsResult) {\n              return Object.assign({}, t, {\n                guardsResult: guardsResult\n              });\n            }));\n          }));\n        }\n      );\n    }\n    /**\n     * @param {?} checks\n     * @param {?} futureRSS\n     * @param {?} currRSS\n     * @param {?} moduleInjector\n     * @return {?}\n     */\n\n\n    function runCanDeactivateChecks(checks, futureRSS, currRSS, moduleInjector) {\n      return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"from\"])(checks).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"mergeMap\"])(\n      /**\n      * @param {?} check\n      * @return {?}\n      */\n      function (check) {\n        return runCanDeactivate(check.component, check.route, currRSS, futureRSS, moduleInjector);\n      }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"first\"])(\n      /**\n      * @param {?} result\n      * @return {?}\n      */\n      function (result) {\n        return result !== true;\n      },\n      /** @type {?} */\n      true));\n    }\n    /**\n     * @param {?} futureSnapshot\n     * @param {?} checks\n     * @param {?} moduleInjector\n     * @param {?=} forwardEvent\n     * @return {?}\n     */\n\n\n    function runCanActivateChecks(futureSnapshot, checks, moduleInjector, forwardEvent) {\n      return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"from\"])(checks).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"concatMap\"])(\n      /**\n      * @param {?} check\n      * @return {?}\n      */\n      function (check) {\n        return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"from\"])([fireChildActivationStart(check.route.parent, forwardEvent), fireActivationStart(check.route, forwardEvent), runCanActivateChild(futureSnapshot, check.path, moduleInjector), runCanActivate(futureSnapshot, check.route, moduleInjector)]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"concatAll\"])(), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"first\"])(\n        /**\n        * @param {?} result\n        * @return {?}\n        */\n        function (result) {\n          return result !== true;\n        },\n        /** @type {?} */\n        true));\n      }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"first\"])(\n      /**\n      * @param {?} result\n      * @return {?}\n      */\n      function (result) {\n        return result !== true;\n      },\n      /** @type {?} */\n      true));\n    }\n    /**\n     * This should fire off `ActivationStart` events for each route being activated at this\n     * level.\n     * In other words, if you're activating `a` and `b` below, `path` will contain the\n     * `ActivatedRouteSnapshot`s for both and we will fire `ActivationStart` for both. Always\n     * return\n     * `true` so checks continue to run.\n     * @param {?} snapshot\n     * @param {?=} forwardEvent\n     * @return {?}\n     */\n\n\n    function fireActivationStart(snapshot, forwardEvent) {\n      if (snapshot !== null && forwardEvent) {\n        forwardEvent(new ActivationStart(snapshot));\n      }\n\n      return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(true);\n    }\n    /**\n     * This should fire off `ChildActivationStart` events for each route being activated at this\n     * level.\n     * In other words, if you're activating `a` and `b` below, `path` will contain the\n     * `ActivatedRouteSnapshot`s for both and we will fire `ChildActivationStart` for both. Always\n     * return\n     * `true` so checks continue to run.\n     * @param {?} snapshot\n     * @param {?=} forwardEvent\n     * @return {?}\n     */\n\n\n    function fireChildActivationStart(snapshot, forwardEvent) {\n      if (snapshot !== null && forwardEvent) {\n        forwardEvent(new ChildActivationStart(snapshot));\n      }\n\n      return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(true);\n    }\n    /**\n     * @param {?} futureRSS\n     * @param {?} futureARS\n     * @param {?} moduleInjector\n     * @return {?}\n     */\n\n\n    function runCanActivate(futureRSS, futureARS, moduleInjector) {\n      /** @type {?} */\n      var canActivate = futureARS.routeConfig ? futureARS.routeConfig.canActivate : null;\n      if (!canActivate || canActivate.length === 0) return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(true);\n      /** @type {?} */\n\n      var canActivateObservables = canActivate.map(\n      /**\n      * @param {?} c\n      * @return {?}\n      */\n      function (c) {\n        return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"defer\"])(\n        /**\n        * @return {?}\n        */\n        function () {\n          /** @type {?} */\n          var guard = getToken(c, futureARS, moduleInjector);\n          /** @type {?} */\n\n          var observable;\n\n          if (isCanActivate(guard)) {\n            observable = wrapIntoObservable(guard.canActivate(futureARS, futureRSS));\n          } else if (isFunction(guard)) {\n            observable = wrapIntoObservable(guard(futureARS, futureRSS));\n          } else {\n            throw new Error('Invalid CanActivate guard');\n          }\n\n          return observable.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"first\"])());\n        });\n      });\n      return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(canActivateObservables).pipe(prioritizedGuardValue());\n    }\n    /**\n     * @param {?} futureRSS\n     * @param {?} path\n     * @param {?} moduleInjector\n     * @return {?}\n     */\n\n\n    function runCanActivateChild(futureRSS, path, moduleInjector) {\n      /** @type {?} */\n      var futureARS = path[path.length - 1];\n      /** @type {?} */\n\n      var canActivateChildGuards = path.slice(0, path.length - 1).reverse().map(\n      /**\n      * @param {?} p\n      * @return {?}\n      */\n      function (p) {\n        return getCanActivateChild(p);\n      }).filter(\n      /**\n      * @param {?} _\n      * @return {?}\n      */\n      function (_) {\n        return _ !== null;\n      });\n      /** @type {?} */\n\n      var canActivateChildGuardsMapped = canActivateChildGuards.map(\n      /**\n      * @param {?} d\n      * @return {?}\n      */\n      function (d) {\n        return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"defer\"])(\n        /**\n        * @return {?}\n        */\n        function () {\n          /** @type {?} */\n          var guardsMapped = d.guards.map(\n          /**\n          * @param {?} c\n          * @return {?}\n          */\n          function (c) {\n            /** @type {?} */\n            var guard = getToken(c, d.node, moduleInjector);\n            /** @type {?} */\n\n            var observable;\n\n            if (isCanActivateChild(guard)) {\n              observable = wrapIntoObservable(guard.canActivateChild(futureARS, futureRSS));\n            } else if (isFunction(guard)) {\n              observable = wrapIntoObservable(guard(futureARS, futureRSS));\n            } else {\n              throw new Error('Invalid CanActivateChild guard');\n            }\n\n            return observable.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"first\"])());\n          });\n          return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(guardsMapped).pipe(prioritizedGuardValue());\n        });\n      });\n      return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(canActivateChildGuardsMapped).pipe(prioritizedGuardValue());\n    }\n    /**\n     * @param {?} component\n     * @param {?} currARS\n     * @param {?} currRSS\n     * @param {?} futureRSS\n     * @param {?} moduleInjector\n     * @return {?}\n     */\n\n\n    function runCanDeactivate(component, currARS, currRSS, futureRSS, moduleInjector) {\n      /** @type {?} */\n      var canDeactivate = currARS && currARS.routeConfig ? currARS.routeConfig.canDeactivate : null;\n      if (!canDeactivate || canDeactivate.length === 0) return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(true);\n      /** @type {?} */\n\n      var canDeactivateObservables = canDeactivate.map(\n      /**\n      * @param {?} c\n      * @return {?}\n      */\n      function (c) {\n        /** @type {?} */\n        var guard = getToken(c, currARS, moduleInjector);\n        /** @type {?} */\n\n        var observable;\n\n        if (isCanDeactivate(guard)) {\n          observable = wrapIntoObservable(guard.canDeactivate(\n          /** @type {?} */\n          component, currARS, currRSS, futureRSS));\n        } else if (isFunction(guard)) {\n          observable = wrapIntoObservable(guard(component, currARS, currRSS, futureRSS));\n        } else {\n          throw new Error('Invalid CanDeactivate guard');\n        }\n\n        return observable.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"first\"])());\n      });\n      return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(canDeactivateObservables).pipe(prioritizedGuardValue());\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n\n    var NoMatch$1 = function NoMatch$1() {\n      _classCallCheck(this, NoMatch$1);\n    };\n    /**\n     * @param {?} rootComponentType\n     * @param {?} config\n     * @param {?} urlTree\n     * @param {?} url\n     * @param {?=} paramsInheritanceStrategy\n     * @param {?=} relativeLinkResolution\n     * @return {?}\n     */\n\n\n    function recognize(rootComponentType, config, urlTree, url) {\n      var paramsInheritanceStrategy = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 'emptyOnly';\n      var relativeLinkResolution = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : 'legacy';\n      return new Recognizer(rootComponentType, config, urlTree, url, paramsInheritanceStrategy, relativeLinkResolution).recognize();\n    }\n\n    var Recognizer =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} rootComponentType\n       * @param {?} config\n       * @param {?} urlTree\n       * @param {?} url\n       * @param {?} paramsInheritanceStrategy\n       * @param {?} relativeLinkResolution\n       */\n      function Recognizer(rootComponentType, config, urlTree, url, paramsInheritanceStrategy, relativeLinkResolution) {\n        _classCallCheck(this, Recognizer);\n\n        this.rootComponentType = rootComponentType;\n        this.config = config;\n        this.urlTree = urlTree;\n        this.url = url;\n        this.paramsInheritanceStrategy = paramsInheritanceStrategy;\n        this.relativeLinkResolution = relativeLinkResolution;\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(Recognizer, [{\n        key: \"recognize\",\n        value: function recognize() {\n          try {\n            /** @type {?} */\n            var rootSegmentGroup = split$1(this.urlTree.root, [], [], this.config, this.relativeLinkResolution).segmentGroup;\n            /** @type {?} */\n\n            var children = this.processSegmentGroup(this.config, rootSegmentGroup, PRIMARY_OUTLET);\n            /** @type {?} */\n\n            var root = new ActivatedRouteSnapshot([], Object.freeze({}), Object.freeze(Object.assign({}, this.urlTree.queryParams)),\n            /** @type {?} */\n            this.urlTree.fragment, {}, PRIMARY_OUTLET, this.rootComponentType, null, this.urlTree.root, -1, {});\n            /** @type {?} */\n\n            var rootNode = new TreeNode(root, children);\n            /** @type {?} */\n\n            var routeState = new RouterStateSnapshot(this.url, rootNode);\n            this.inheritParamsAndData(routeState._root);\n            return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(routeState);\n          } catch (e) {\n            return new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Observable\"](\n            /**\n            * @param {?} obs\n            * @return {?}\n            */\n            function (obs) {\n              return obs.error(e);\n            });\n          }\n        }\n        /**\n         * @param {?} routeNode\n         * @return {?}\n         */\n\n      }, {\n        key: \"inheritParamsAndData\",\n        value: function inheritParamsAndData(routeNode) {\n          var _this679 = this;\n\n          /** @type {?} */\n          var route = routeNode.value;\n          /** @type {?} */\n\n          var i = inheritedParamsDataResolve(route, this.paramsInheritanceStrategy);\n          route.params = Object.freeze(i.params);\n          route.data = Object.freeze(i.data);\n          routeNode.children.forEach(\n          /**\n          * @param {?} n\n          * @return {?}\n          */\n          function (n) {\n            return _this679.inheritParamsAndData(n);\n          });\n        }\n        /**\n         * @param {?} config\n         * @param {?} segmentGroup\n         * @param {?} outlet\n         * @return {?}\n         */\n\n      }, {\n        key: \"processSegmentGroup\",\n        value: function processSegmentGroup(config, segmentGroup, outlet) {\n          if (segmentGroup.segments.length === 0 && segmentGroup.hasChildren()) {\n            return this.processChildren(config, segmentGroup);\n          }\n\n          return this.processSegment(config, segmentGroup, segmentGroup.segments, outlet);\n        }\n        /**\n         * @param {?} config\n         * @param {?} segmentGroup\n         * @return {?}\n         */\n\n      }, {\n        key: \"processChildren\",\n        value: function processChildren(config, segmentGroup) {\n          var _this680 = this;\n\n          /** @type {?} */\n          var children = mapChildrenIntoArray(segmentGroup,\n          /**\n          * @param {?} child\n          * @param {?} childOutlet\n          * @return {?}\n          */\n          function (child, childOutlet) {\n            return _this680.processSegmentGroup(config, child, childOutlet);\n          });\n          checkOutletNameUniqueness(children);\n          sortActivatedRouteSnapshots(children);\n          return children;\n        }\n        /**\n         * @param {?} config\n         * @param {?} segmentGroup\n         * @param {?} segments\n         * @param {?} outlet\n         * @return {?}\n         */\n\n      }, {\n        key: \"processSegment\",\n        value: function processSegment(config, segmentGroup, segments, outlet) {\n          var _iteratorNormalCompletion60 = true;\n          var _didIteratorError60 = false;\n          var _iteratorError60 = undefined;\n\n          try {\n            for (var _iterator60 = config[Symbol.iterator](), _step60; !(_iteratorNormalCompletion60 = (_step60 = _iterator60.next()).done); _iteratorNormalCompletion60 = true) {\n              var r = _step60.value;\n\n              try {\n                return this.processSegmentAgainstRoute(r, segmentGroup, segments, outlet);\n              } catch (e) {\n                if (!(e instanceof NoMatch$1)) throw e;\n              }\n            }\n          } catch (err) {\n            _didIteratorError60 = true;\n            _iteratorError60 = err;\n          } finally {\n            try {\n              if (!_iteratorNormalCompletion60 && _iterator60.return != null) {\n                _iterator60.return();\n              }\n            } finally {\n              if (_didIteratorError60) {\n                throw _iteratorError60;\n              }\n            }\n          }\n\n          if (this.noLeftoversInUrl(segmentGroup, segments, outlet)) {\n            return [];\n          }\n\n          throw new NoMatch$1();\n        }\n        /**\n         * @private\n         * @param {?} segmentGroup\n         * @param {?} segments\n         * @param {?} outlet\n         * @return {?}\n         */\n\n      }, {\n        key: \"noLeftoversInUrl\",\n        value: function noLeftoversInUrl(segmentGroup, segments, outlet) {\n          return segments.length === 0 && !segmentGroup.children[outlet];\n        }\n        /**\n         * @param {?} route\n         * @param {?} rawSegment\n         * @param {?} segments\n         * @param {?} outlet\n         * @return {?}\n         */\n\n      }, {\n        key: \"processSegmentAgainstRoute\",\n        value: function processSegmentAgainstRoute(route, rawSegment, segments, outlet) {\n          if (route.redirectTo) throw new NoMatch$1();\n          if ((route.outlet || PRIMARY_OUTLET) !== outlet) throw new NoMatch$1();\n          /** @type {?} */\n\n          var snapshot;\n          /** @type {?} */\n\n          var consumedSegments = [];\n          /** @type {?} */\n\n          var rawSlicedSegments = [];\n\n          if (route.path === '**') {\n            /** @type {?} */\n            var params = segments.length > 0 ?\n            /** @type {?} */\n            last(segments).parameters : {};\n            snapshot = new ActivatedRouteSnapshot(segments, params, Object.freeze(Object.assign({}, this.urlTree.queryParams)),\n            /** @type {?} */\n            this.urlTree.fragment, getData(route), outlet,\n            /** @type {?} */\n            route.component, route, getSourceSegmentGroup(rawSegment), getPathIndexShift(rawSegment) + segments.length, getResolve(route));\n          } else {\n            /** @type {?} */\n            var result = match$1(rawSegment, route, segments);\n            consumedSegments = result.consumedSegments;\n            rawSlicedSegments = segments.slice(result.lastChild);\n            snapshot = new ActivatedRouteSnapshot(consumedSegments, result.parameters, Object.freeze(Object.assign({}, this.urlTree.queryParams)),\n            /** @type {?} */\n            this.urlTree.fragment, getData(route), outlet,\n            /** @type {?} */\n            route.component, route, getSourceSegmentGroup(rawSegment), getPathIndexShift(rawSegment) + consumedSegments.length, getResolve(route));\n          }\n          /** @type {?} */\n\n\n          var childConfig = getChildConfig(route);\n\n          var _split$ = split$1(rawSegment, consumedSegments, rawSlicedSegments, childConfig, this.relativeLinkResolution),\n              segmentGroup = _split$.segmentGroup,\n              slicedSegments = _split$.slicedSegments;\n\n          if (slicedSegments.length === 0 && segmentGroup.hasChildren()) {\n            /** @type {?} */\n            var _children3 = this.processChildren(childConfig, segmentGroup);\n\n            return [new TreeNode(snapshot, _children3)];\n          }\n\n          if (childConfig.length === 0 && slicedSegments.length === 0) {\n            return [new TreeNode(snapshot, [])];\n          }\n          /** @type {?} */\n\n\n          var children = this.processSegment(childConfig, segmentGroup, slicedSegments, PRIMARY_OUTLET);\n          return [new TreeNode(snapshot, children)];\n        }\n      }]);\n\n      return Recognizer;\n    }();\n\n    if (false) {}\n    /**\n     * @param {?} nodes\n     * @return {?}\n     */\n\n\n    function sortActivatedRouteSnapshots(nodes) {\n      nodes.sort(\n      /**\n      * @param {?} a\n      * @param {?} b\n      * @return {?}\n      */\n      function (a, b) {\n        if (a.value.outlet === PRIMARY_OUTLET) return -1;\n        if (b.value.outlet === PRIMARY_OUTLET) return 1;\n        return a.value.outlet.localeCompare(b.value.outlet);\n      });\n    }\n    /**\n     * @param {?} route\n     * @return {?}\n     */\n\n\n    function getChildConfig(route) {\n      if (route.children) {\n        return route.children;\n      }\n\n      if (route.loadChildren) {\n        return (\n          /** @type {?} */\n          route._loadedConfig.routes\n        );\n      }\n\n      return [];\n    }\n    /**\n     * @record\n     */\n\n\n    function MatchResult() {}\n\n    if (false) {}\n    /**\n     * @param {?} segmentGroup\n     * @param {?} route\n     * @param {?} segments\n     * @return {?}\n     */\n\n\n    function match$1(segmentGroup, route, segments) {\n      if (route.path === '') {\n        if (route.pathMatch === 'full' && (segmentGroup.hasChildren() || segments.length > 0)) {\n          throw new NoMatch$1();\n        }\n\n        return {\n          consumedSegments: [],\n          lastChild: 0,\n          parameters: {}\n        };\n      }\n      /** @type {?} */\n\n\n      var matcher = route.matcher || defaultUrlMatcher;\n      /** @type {?} */\n\n      var res = matcher(segments, segmentGroup, route);\n      if (!res) throw new NoMatch$1();\n      /** @type {?} */\n\n      var posParams = {};\n      forEach(\n      /** @type {?} */\n      res.posParams,\n      /**\n      * @param {?} v\n      * @param {?} k\n      * @return {?}\n      */\n      function (v, k) {\n        posParams[k] = v.path;\n      });\n      /** @type {?} */\n\n      var parameters = res.consumed.length > 0 ? Object.assign({}, posParams, res.consumed[res.consumed.length - 1].parameters) : posParams;\n      return {\n        consumedSegments: res.consumed,\n        lastChild: res.consumed.length,\n        parameters: parameters\n      };\n    }\n    /**\n     * @param {?} nodes\n     * @return {?}\n     */\n\n\n    function checkOutletNameUniqueness(nodes) {\n      /** @type {?} */\n      var names = {};\n      nodes.forEach(\n      /**\n      * @param {?} n\n      * @return {?}\n      */\n      function (n) {\n        /** @type {?} */\n        var routeWithSameOutletName = names[n.value.outlet];\n\n        if (routeWithSameOutletName) {\n          /** @type {?} */\n          var p = routeWithSameOutletName.url.map(\n          /**\n          * @param {?} s\n          * @return {?}\n          */\n          function (s) {\n            return s.toString();\n          }).join('/');\n          /** @type {?} */\n\n          var c = n.value.url.map(\n          /**\n          * @param {?} s\n          * @return {?}\n          */\n          function (s) {\n            return s.toString();\n          }).join('/');\n          throw new Error(\"Two segments cannot have the same outlet name: '\".concat(p, \"' and '\").concat(c, \"'.\"));\n        }\n\n        names[n.value.outlet] = n.value;\n      });\n    }\n    /**\n     * @param {?} segmentGroup\n     * @return {?}\n     */\n\n\n    function getSourceSegmentGroup(segmentGroup) {\n      /** @type {?} */\n      var s = segmentGroup;\n\n      while (s._sourceSegment) {\n        s = s._sourceSegment;\n      }\n\n      return s;\n    }\n    /**\n     * @param {?} segmentGroup\n     * @return {?}\n     */\n\n\n    function getPathIndexShift(segmentGroup) {\n      /** @type {?} */\n      var s = segmentGroup;\n      /** @type {?} */\n\n      var res = s._segmentIndexShift ? s._segmentIndexShift : 0;\n\n      while (s._sourceSegment) {\n        s = s._sourceSegment;\n        res += s._segmentIndexShift ? s._segmentIndexShift : 0;\n      }\n\n      return res - 1;\n    }\n    /**\n     * @param {?} segmentGroup\n     * @param {?} consumedSegments\n     * @param {?} slicedSegments\n     * @param {?} config\n     * @param {?} relativeLinkResolution\n     * @return {?}\n     */\n\n\n    function split$1(segmentGroup, consumedSegments, slicedSegments, config, relativeLinkResolution) {\n      if (slicedSegments.length > 0 && containsEmptyPathMatchesWithNamedOutlets(segmentGroup, slicedSegments, config)) {\n        /** @type {?} */\n        var _s3 = new UrlSegmentGroup(consumedSegments, createChildrenForEmptyPaths(segmentGroup, consumedSegments, config, new UrlSegmentGroup(slicedSegments, segmentGroup.children)));\n\n        _s3._sourceSegment = segmentGroup;\n        _s3._segmentIndexShift = consumedSegments.length;\n        return {\n          segmentGroup: _s3,\n          slicedSegments: []\n        };\n      }\n\n      if (slicedSegments.length === 0 && containsEmptyPathMatches(segmentGroup, slicedSegments, config)) {\n        /** @type {?} */\n        var _s4 = new UrlSegmentGroup(segmentGroup.segments, addEmptyPathsToChildrenIfNeeded(segmentGroup, consumedSegments, slicedSegments, config, segmentGroup.children, relativeLinkResolution));\n\n        _s4._sourceSegment = segmentGroup;\n        _s4._segmentIndexShift = consumedSegments.length;\n        return {\n          segmentGroup: _s4,\n          slicedSegments: slicedSegments\n        };\n      }\n      /** @type {?} */\n\n\n      var s = new UrlSegmentGroup(segmentGroup.segments, segmentGroup.children);\n      s._sourceSegment = segmentGroup;\n      s._segmentIndexShift = consumedSegments.length;\n      return {\n        segmentGroup: s,\n        slicedSegments: slicedSegments\n      };\n    }\n    /**\n     * @param {?} segmentGroup\n     * @param {?} consumedSegments\n     * @param {?} slicedSegments\n     * @param {?} routes\n     * @param {?} children\n     * @param {?} relativeLinkResolution\n     * @return {?}\n     */\n\n\n    function addEmptyPathsToChildrenIfNeeded(segmentGroup, consumedSegments, slicedSegments, routes, children, relativeLinkResolution) {\n      /** @type {?} */\n      var res = {};\n      var _iteratorNormalCompletion61 = true;\n      var _didIteratorError61 = false;\n      var _iteratorError61 = undefined;\n\n      try {\n        for (var _iterator61 = routes[Symbol.iterator](), _step61; !(_iteratorNormalCompletion61 = (_step61 = _iterator61.next()).done); _iteratorNormalCompletion61 = true) {\n          var r = _step61.value;\n\n          if (emptyPathMatch(segmentGroup, slicedSegments, r) && !children[getOutlet$1(r)]) {\n            /** @type {?} */\n            var s = new UrlSegmentGroup([], {});\n            s._sourceSegment = segmentGroup;\n\n            if (relativeLinkResolution === 'legacy') {\n              s._segmentIndexShift = segmentGroup.segments.length;\n            } else {\n              s._segmentIndexShift = consumedSegments.length;\n            }\n\n            res[getOutlet$1(r)] = s;\n          }\n        }\n      } catch (err) {\n        _didIteratorError61 = true;\n        _iteratorError61 = err;\n      } finally {\n        try {\n          if (!_iteratorNormalCompletion61 && _iterator61.return != null) {\n            _iterator61.return();\n          }\n        } finally {\n          if (_didIteratorError61) {\n            throw _iteratorError61;\n          }\n        }\n      }\n\n      return Object.assign({}, children, res);\n    }\n    /**\n     * @param {?} segmentGroup\n     * @param {?} consumedSegments\n     * @param {?} routes\n     * @param {?} primarySegment\n     * @return {?}\n     */\n\n\n    function createChildrenForEmptyPaths(segmentGroup, consumedSegments, routes, primarySegment) {\n      /** @type {?} */\n      var res = {};\n      res[PRIMARY_OUTLET] = primarySegment;\n      primarySegment._sourceSegment = segmentGroup;\n      primarySegment._segmentIndexShift = consumedSegments.length;\n      var _iteratorNormalCompletion62 = true;\n      var _didIteratorError62 = false;\n      var _iteratorError62 = undefined;\n\n      try {\n        for (var _iterator62 = routes[Symbol.iterator](), _step62; !(_iteratorNormalCompletion62 = (_step62 = _iterator62.next()).done); _iteratorNormalCompletion62 = true) {\n          var r = _step62.value;\n\n          if (r.path === '' && getOutlet$1(r) !== PRIMARY_OUTLET) {\n            /** @type {?} */\n            var s = new UrlSegmentGroup([], {});\n            s._sourceSegment = segmentGroup;\n            s._segmentIndexShift = consumedSegments.length;\n            res[getOutlet$1(r)] = s;\n          }\n        }\n      } catch (err) {\n        _didIteratorError62 = true;\n        _iteratorError62 = err;\n      } finally {\n        try {\n          if (!_iteratorNormalCompletion62 && _iterator62.return != null) {\n            _iterator62.return();\n          }\n        } finally {\n          if (_didIteratorError62) {\n            throw _iteratorError62;\n          }\n        }\n      }\n\n      return res;\n    }\n    /**\n     * @param {?} segmentGroup\n     * @param {?} slicedSegments\n     * @param {?} routes\n     * @return {?}\n     */\n\n\n    function containsEmptyPathMatchesWithNamedOutlets(segmentGroup, slicedSegments, routes) {\n      return routes.some(\n      /**\n      * @param {?} r\n      * @return {?}\n      */\n      function (r) {\n        return emptyPathMatch(segmentGroup, slicedSegments, r) && getOutlet$1(r) !== PRIMARY_OUTLET;\n      });\n    }\n    /**\n     * @param {?} segmentGroup\n     * @param {?} slicedSegments\n     * @param {?} routes\n     * @return {?}\n     */\n\n\n    function containsEmptyPathMatches(segmentGroup, slicedSegments, routes) {\n      return routes.some(\n      /**\n      * @param {?} r\n      * @return {?}\n      */\n      function (r) {\n        return emptyPathMatch(segmentGroup, slicedSegments, r);\n      });\n    }\n    /**\n     * @param {?} segmentGroup\n     * @param {?} slicedSegments\n     * @param {?} r\n     * @return {?}\n     */\n\n\n    function emptyPathMatch(segmentGroup, slicedSegments, r) {\n      if ((segmentGroup.hasChildren() || slicedSegments.length > 0) && r.pathMatch === 'full') {\n        return false;\n      }\n\n      return r.path === '' && r.redirectTo === undefined;\n    }\n    /**\n     * @param {?} route\n     * @return {?}\n     */\n\n\n    function getOutlet$1(route) {\n      return route.outlet || PRIMARY_OUTLET;\n    }\n    /**\n     * @param {?} route\n     * @return {?}\n     */\n\n\n    function getData(route) {\n      return route.data || {};\n    }\n    /**\n     * @param {?} route\n     * @return {?}\n     */\n\n\n    function getResolve(route) {\n      return route.resolve || {};\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @param {?} rootComponentType\n     * @param {?} config\n     * @param {?} serializer\n     * @param {?} paramsInheritanceStrategy\n     * @param {?} relativeLinkResolution\n     * @return {?}\n     */\n\n\n    function recognize$1(rootComponentType, config, serializer, paramsInheritanceStrategy, relativeLinkResolution) {\n      return (\n        /**\n        * @param {?} source\n        * @return {?}\n        */\n        function (source) {\n          return source.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"mergeMap\"])(\n          /**\n          * @param {?} t\n          * @return {?}\n          */\n          function (t) {\n            return recognize(rootComponentType, config, t.urlAfterRedirects, serializer(t.urlAfterRedirects), paramsInheritanceStrategy, relativeLinkResolution).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(\n            /**\n            * @param {?} targetSnapshot\n            * @return {?}\n            */\n            function (targetSnapshot) {\n              return Object.assign({}, t, {\n                targetSnapshot: targetSnapshot\n              });\n            }));\n          }));\n        }\n      );\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @param {?} paramsInheritanceStrategy\n     * @param {?} moduleInjector\n     * @return {?}\n     */\n\n\n    function resolveData(paramsInheritanceStrategy, moduleInjector) {\n      return (\n        /**\n        * @param {?} source\n        * @return {?}\n        */\n        function (source) {\n          return source.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"mergeMap\"])(\n          /**\n          * @param {?} t\n          * @return {?}\n          */\n          function (t) {\n            var targetSnapshot = t.targetSnapshot,\n                canActivateChecks = t.guards.canActivateChecks;\n\n            if (!canActivateChecks.length) {\n              return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(t);\n            }\n\n            return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"from\"])(canActivateChecks).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"concatMap\"])(\n            /**\n            * @param {?} check\n            * @return {?}\n            */\n            function (check) {\n              return runResolve(check.route,\n              /** @type {?} */\n              targetSnapshot, paramsInheritanceStrategy, moduleInjector);\n            }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"reduce\"])(\n            /**\n            * @param {?} _\n            * @param {?} __\n            * @return {?}\n            */\n            function (_, __) {\n              return _;\n            }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(\n            /**\n            * @param {?} _\n            * @return {?}\n            */\n            function (_) {\n              return t;\n            }));\n          }));\n        }\n      );\n    }\n    /**\n     * @param {?} futureARS\n     * @param {?} futureRSS\n     * @param {?} paramsInheritanceStrategy\n     * @param {?} moduleInjector\n     * @return {?}\n     */\n\n\n    function runResolve(futureARS, futureRSS, paramsInheritanceStrategy, moduleInjector) {\n      /** @type {?} */\n      var resolve = futureARS._resolve;\n      return resolveNode(resolve, futureARS, futureRSS, moduleInjector).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(\n      /**\n      * @param {?} resolvedData\n      * @return {?}\n      */\n      function (resolvedData) {\n        futureARS._resolvedData = resolvedData;\n        futureARS.data = Object.assign({}, futureARS.data, inheritedParamsDataResolve(futureARS, paramsInheritanceStrategy).resolve);\n        return null;\n      }));\n    }\n    /**\n     * @param {?} resolve\n     * @param {?} futureARS\n     * @param {?} futureRSS\n     * @param {?} moduleInjector\n     * @return {?}\n     */\n\n\n    function resolveNode(resolve, futureARS, futureRSS, moduleInjector) {\n      /** @type {?} */\n      var keys = Object.keys(resolve);\n\n      if (keys.length === 0) {\n        return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])({});\n      }\n\n      if (keys.length === 1) {\n        /** @type {?} */\n        var key = keys[0];\n        return getResolver(resolve[key], futureARS, futureRSS, moduleInjector).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(\n        /**\n        * @param {?} value\n        * @return {?}\n        */\n        function (value) {\n          return _defineProperty({}, key, value);\n        }));\n      }\n      /** @type {?} */\n\n\n      var data = {};\n      /** @type {?} */\n\n      var runningResolvers$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"from\"])(keys).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"mergeMap\"])(\n      /**\n      * @param {?} key\n      * @return {?}\n      */\n      function (key) {\n        return getResolver(resolve[key], futureARS, futureRSS, moduleInjector).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(\n        /**\n        * @param {?} value\n        * @return {?}\n        */\n        function (value) {\n          data[key] = value;\n          return value;\n        }));\n      }));\n      return runningResolvers$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"last\"])(), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(\n      /**\n      * @return {?}\n      */\n      function () {\n        return data;\n      }));\n    }\n    /**\n     * @param {?} injectionToken\n     * @param {?} futureARS\n     * @param {?} futureRSS\n     * @param {?} moduleInjector\n     * @return {?}\n     */\n\n\n    function getResolver(injectionToken, futureARS, futureRSS, moduleInjector) {\n      /** @type {?} */\n      var resolver = getToken(injectionToken, futureARS, moduleInjector);\n      return resolver.resolve ? wrapIntoObservable(resolver.resolve(futureARS, futureRSS)) : wrapIntoObservable(resolver(futureARS, futureRSS));\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Perform a side effect through a switchMap for every emission on the source Observable,\n     * but return an Observable that is identical to the source. It's essentially the same as\n     * the `tap` operator, but if the side effectful `next` function returns an ObservableInput,\n     * it will wait before continuing with the original value.\n     * @template T\n     * @param {?} next\n     * @return {?}\n     */\n\n\n    function switchTap(next) {\n      return (\n        /**\n        * @param {?} source\n        * @return {?}\n        */\n        function (source) {\n          return source.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"switchMap\"])(\n          /**\n          * @param {?} v\n          * @return {?}\n          */\n          function (v) {\n            /** @type {?} */\n            var nextResult = next(v);\n\n            if (nextResult) {\n              return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"from\"])(nextResult).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(\n              /**\n              * @return {?}\n              */\n              function () {\n                return v;\n              }));\n            }\n\n            return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"from\"])([v]);\n          }));\n        }\n      );\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * \\@description\n     *\n     * Provides a way to customize when activated routes get reused.\n     *\n     * \\@publicApi\n     * @abstract\n     */\n\n\n    var RouteReuseStrategy = function RouteReuseStrategy() {\n      _classCallCheck(this, RouteReuseStrategy);\n    };\n\n    if (false) {}\n    /**\n     * Does not detach any subtrees. Reuses routes as long as their route config is the same.\n     */\n\n\n    var DefaultRouteReuseStrategy =\n    /*#__PURE__*/\n    function () {\n      function DefaultRouteReuseStrategy() {\n        _classCallCheck(this, DefaultRouteReuseStrategy);\n      }\n\n      _createClass2(DefaultRouteReuseStrategy, [{\n        key: \"shouldDetach\",\n\n        /**\n         * @param {?} route\n         * @return {?}\n         */\n        value: function shouldDetach(route) {\n          return false;\n        }\n        /**\n         * @param {?} route\n         * @param {?} detachedTree\n         * @return {?}\n         */\n\n      }, {\n        key: \"store\",\n        value: function store(route, detachedTree) {}\n        /**\n         * @param {?} route\n         * @return {?}\n         */\n\n      }, {\n        key: \"shouldAttach\",\n        value: function shouldAttach(route) {\n          return false;\n        }\n        /**\n         * @param {?} route\n         * @return {?}\n         */\n\n      }, {\n        key: \"retrieve\",\n        value: function retrieve(route) {\n          return null;\n        }\n        /**\n         * @param {?} future\n         * @param {?} curr\n         * @return {?}\n         */\n\n      }, {\n        key: \"shouldReuseRoute\",\n        value: function shouldReuseRoute(future, curr) {\n          return future.routeConfig === curr.routeConfig;\n        }\n      }]);\n\n      return DefaultRouteReuseStrategy;\n    }();\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * The [DI token](guide/glossary/#di-token) for a router configuration.\n     * @see `ROUTES`\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var ROUTES = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"InjectionToken\"]('ROUTES');\n\n    var RouterConfigLoader =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} loader\n       * @param {?} compiler\n       * @param {?=} onLoadStartListener\n       * @param {?=} onLoadEndListener\n       */\n      function RouterConfigLoader(loader, compiler, onLoadStartListener, onLoadEndListener) {\n        _classCallCheck(this, RouterConfigLoader);\n\n        this.loader = loader;\n        this.compiler = compiler;\n        this.onLoadStartListener = onLoadStartListener;\n        this.onLoadEndListener = onLoadEndListener;\n      }\n      /**\n       * @param {?} parentInjector\n       * @param {?} route\n       * @return {?}\n       */\n\n\n      _createClass2(RouterConfigLoader, [{\n        key: \"load\",\n        value: function load(parentInjector, route) {\n          var _this681 = this;\n\n          if (this.onLoadStartListener) {\n            this.onLoadStartListener(route);\n          }\n          /** @type {?} */\n\n\n          var moduleFactory$ = this.loadModuleFactory(\n          /** @type {?} */\n          route.loadChildren);\n          return moduleFactory$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(\n          /**\n          * @param {?} factory\n          * @return {?}\n          */\n          function (factory) {\n            if (_this681.onLoadEndListener) {\n              _this681.onLoadEndListener(route);\n            }\n            /** @type {?} */\n\n\n            var module = factory.create(parentInjector);\n            return new LoadedRouterConfig(flatten(module.injector.get(ROUTES)).map(standardizeConfig), module);\n          }));\n        }\n        /**\n         * @private\n         * @param {?} loadChildren\n         * @return {?}\n         */\n\n      }, {\n        key: \"loadModuleFactory\",\n        value: function loadModuleFactory(loadChildren) {\n          var _this682 = this;\n\n          if (typeof loadChildren === 'string') {\n            return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"from\"])(this.loader.load(loadChildren));\n          } else {\n            return wrapIntoObservable(loadChildren()).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"mergeMap\"])(\n            /**\n            * @param {?} t\n            * @return {?}\n            */\n            function (t) {\n              if (t instanceof _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgModuleFactory\"]) {\n                return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(t);\n              } else {\n                return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"from\"])(_this682.compiler.compileModuleAsync(t));\n              }\n            }));\n          }\n        }\n      }]);\n\n      return RouterConfigLoader;\n    }();\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * \\@description\n     *\n     * Provides a way to migrate AngularJS applications to Angular.\n     *\n     * \\@publicApi\n     * @abstract\n     */\n\n\n    var UrlHandlingStrategy = function UrlHandlingStrategy() {\n      _classCallCheck(this, UrlHandlingStrategy);\n    };\n\n    if (false) {}\n    /**\n     * \\@publicApi\n     */\n\n\n    var DefaultUrlHandlingStrategy =\n    /*#__PURE__*/\n    function () {\n      function DefaultUrlHandlingStrategy() {\n        _classCallCheck(this, DefaultUrlHandlingStrategy);\n      }\n\n      _createClass2(DefaultUrlHandlingStrategy, [{\n        key: \"shouldProcessUrl\",\n\n        /**\n         * @param {?} url\n         * @return {?}\n         */\n        value: function shouldProcessUrl(url) {\n          return true;\n        }\n        /**\n         * @param {?} url\n         * @return {?}\n         */\n\n      }, {\n        key: \"extract\",\n        value: function extract(url) {\n          return url;\n        }\n        /**\n         * @param {?} newUrlPart\n         * @param {?} wholeUrl\n         * @return {?}\n         */\n\n      }, {\n        key: \"merge\",\n        value: function merge(newUrlPart, wholeUrl) {\n          return newUrlPart;\n        }\n      }]);\n\n      return DefaultUrlHandlingStrategy;\n    }();\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * \\@description\n     *\n     * Options that modify the navigation strategy.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n\n    function NavigationExtras() {}\n\n    if (false) {}\n    /**\n     * @param {?} error\n     * @return {?}\n     */\n\n\n    function defaultErrorHandler(error) {\n      throw error;\n    }\n    /**\n     * @param {?} error\n     * @param {?} urlSerializer\n     * @param {?} url\n     * @return {?}\n     */\n\n\n    function defaultMalformedUriErrorHandler(error, urlSerializer, url) {\n      return urlSerializer.parse('/');\n    }\n    /**\n     * \\@internal\n     * @param {?} snapshot\n     * @param {?} runExtras\n     * @return {?}\n     */\n\n\n    function defaultRouterHook(snapshot, runExtras) {\n      return (\n        /** @type {?} */\n        Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(null)\n      );\n    }\n    /**\n     * \\@description\n     *\n     * A service that provides navigation and URL manipulation capabilities.\n     *\n     * @see `Route`.\n     * @see [Routing and Navigation Guide](guide/router).\n     *\n     * \\@ngModule RouterModule\n     *\n     * \\@publicApi\n     */\n\n\n    var Router =\n    /*#__PURE__*/\n    function () {\n      /**\n       * Creates the router service.\n       * @param {?} rootComponentType\n       * @param {?} urlSerializer\n       * @param {?} rootContexts\n       * @param {?} location\n       * @param {?} injector\n       * @param {?} loader\n       * @param {?} compiler\n       * @param {?} config\n       */\n      // TODO: vsavkin make internal after the final is out.\n      function Router(rootComponentType, urlSerializer, rootContexts, location, injector, loader, compiler, config) {\n        var _this683 = this;\n\n        _classCallCheck(this, Router);\n\n        this.rootComponentType = rootComponentType;\n        this.urlSerializer = urlSerializer;\n        this.rootContexts = rootContexts;\n        this.location = location;\n        this.config = config;\n        this.lastSuccessfulNavigation = null;\n        this.currentNavigation = null;\n        this.navigationId = 0;\n        this.isNgZoneEnabled = false;\n        /**\n         * An event stream for routing events in this NgModule.\n         */\n\n        this.events = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Subject\"]();\n        /**\n         * A handler for navigation errors in this NgModule.\n         */\n\n        this.errorHandler = defaultErrorHandler;\n        /**\n         * A handler for errors thrown by `Router.parseUrl(url)`\n         * when `url` contains an invalid character.\n         * The most common case is a `%` sign\n         * that's not encoded and is not part of a percent encoded sequence.\n         */\n\n        this.malformedUriErrorHandler = defaultMalformedUriErrorHandler;\n        /**\n         * True if at least one navigation event has occurred,\n         * false otherwise.\n         */\n\n        this.navigated = false;\n        this.lastSuccessfulId = -1;\n        /**\n         * Hooks that enable you to pause navigation,\n         * either before or after the preactivation phase.\n         * Used by `RouterModule`.\n         *\n         * \\@internal\n         */\n\n        this.hooks = {\n          beforePreactivation: defaultRouterHook,\n          afterPreactivation: defaultRouterHook\n        };\n        /**\n         * A strategy for extracting and merging URLs.\n         * Used for AngularJS to Angular migrations.\n         */\n\n        this.urlHandlingStrategy = new DefaultUrlHandlingStrategy();\n        /**\n         * A strategy for re-using routes.\n         */\n\n        this.routeReuseStrategy = new DefaultRouteReuseStrategy();\n        /**\n         * How to handle a navigation request to the current URL. One of:\n         * - `'ignore'` :  The router ignores the request.\n         * - `'reload'` : The router reloads the URL. Use to implement a \"refresh\" feature.\n         */\n\n        this.onSameUrlNavigation = 'ignore';\n        /**\n         * How to merge parameters, data, and resolved data from parent to child\n         * routes. One of:\n         *\n         * - `'emptyOnly'` : Inherit parent parameters, data, and resolved data\n         * for path-less or component-less routes.\n         * - `'always'` : Inherit parent parameters, data, and resolved data\n         * for all child routes.\n         */\n\n        this.paramsInheritanceStrategy = 'emptyOnly';\n        /**\n         * Determines when the router updates the browser URL.\n         * By default (`\"deferred\"`), updates the browser URL after navigation has finished.\n         * Set to `'eager'` to update the browser URL at the beginning of navigation.\n         * You can choose to update early so that, if navigation fails,\n         * you can show an error message with the URL that failed.\n         */\n\n        this.urlUpdateStrategy = 'deferred';\n        /**\n         * Enables a bug fix that corrects relative link resolution in components with empty paths.\n         * @see `RouterModule`\n         */\n\n        this.relativeLinkResolution = 'legacy';\n        /** @type {?} */\n\n        var onLoadStart =\n        /**\n        * @param {?} r\n        * @return {?}\n        */\n        function onLoadStart(r) {\n          return _this683.triggerEvent(new RouteConfigLoadStart(r));\n        };\n        /** @type {?} */\n\n\n        var onLoadEnd =\n        /**\n        * @param {?} r\n        * @return {?}\n        */\n        function onLoadEnd(r) {\n          return _this683.triggerEvent(new RouteConfigLoadEnd(r));\n        };\n\n        this.ngModule = injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgModuleRef\"]);\n        this.console = injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵConsole\"]);\n        /** @type {?} */\n\n        var ngZone = injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgZone\"]);\n        this.isNgZoneEnabled = ngZone instanceof _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgZone\"];\n        this.resetConfig(config);\n        this.currentUrlTree = createEmptyUrlTree();\n        this.rawUrlTree = this.currentUrlTree;\n        this.browserUrlTree = this.currentUrlTree;\n        this.configLoader = new RouterConfigLoader(loader, compiler, onLoadStart, onLoadEnd);\n        this.routerState = createEmptyState(this.currentUrlTree, this.rootComponentType);\n        this.transitions = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"BehaviorSubject\"]({\n          id: 0,\n          currentUrlTree: this.currentUrlTree,\n          currentRawUrl: this.currentUrlTree,\n          extractedUrl: this.urlHandlingStrategy.extract(this.currentUrlTree),\n          urlAfterRedirects: this.urlHandlingStrategy.extract(this.currentUrlTree),\n          rawUrl: this.currentUrlTree,\n          extras: {},\n          resolve: null,\n          reject: null,\n          promise: Promise.resolve(true),\n          source: 'imperative',\n          restoredState: null,\n          currentSnapshot: this.routerState.snapshot,\n          targetSnapshot: null,\n          currentRouterState: this.routerState,\n          targetRouterState: null,\n          guards: {\n            canActivateChecks: [],\n            canDeactivateChecks: []\n          },\n          guardsResult: null\n        });\n        this.navigations = this.setupNavigations(this.transitions);\n        this.processNavigations();\n      }\n      /**\n       * @private\n       * @param {?} transitions\n       * @return {?}\n       */\n\n\n      _createClass2(Router, [{\n        key: \"setupNavigations\",\n        value: function setupNavigations(transitions) {\n          var _this684 = this;\n\n          /** @type {?} */\n          var eventsSubject =\n          /** @type {?} */\n          this.events;\n          return (\n            /** @type {?} */\n\n            /** @type {?} */\n            transitions.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"filter\"])(\n            /**\n            * @param {?} t\n            * @return {?}\n            */\n            function (t) {\n              return t.id !== 0;\n            }), // Extract URL\n            Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(\n            /**\n            * @param {?} t\n            * @return {?}\n            */\n            function (t) {\n              return (\n                /** @type {?} */\n                Object.assign({}, t, {\n                  extractedUrl: _this684.urlHandlingStrategy.extract(t.rawUrl)\n                })\n              );\n            }), // Using switchMap so we cancel executing navigations when a new one comes in\n            Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"switchMap\"])(\n            /**\n            * @param {?} t\n            * @return {?}\n            */\n            function (t) {\n              /** @type {?} */\n              var completed = false;\n              /** @type {?} */\n\n              var errored = false;\n              return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(t).pipe( // Store the Navigation object\n              Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"tap\"])(\n              /**\n              * @param {?} t\n              * @return {?}\n              */\n              function (t) {\n                _this684.currentNavigation = {\n                  id: t.id,\n                  initialUrl: t.currentRawUrl,\n                  extractedUrl: t.extractedUrl,\n                  trigger: t.source,\n                  extras: t.extras,\n                  previousNavigation: _this684.lastSuccessfulNavigation ? Object.assign({}, _this684.lastSuccessfulNavigation, {\n                    previousNavigation: null\n                  }) : null\n                };\n              }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"switchMap\"])(\n              /**\n              * @param {?} t\n              * @return {?}\n              */\n              function (t) {\n                /** @type {?} */\n                var urlTransition = !_this684.navigated || t.extractedUrl.toString() !== _this684.browserUrlTree.toString();\n                /** @type {?} */\n\n\n                var processCurrentUrl = (_this684.onSameUrlNavigation === 'reload' ? true : urlTransition) && _this684.urlHandlingStrategy.shouldProcessUrl(t.rawUrl);\n\n                if (processCurrentUrl) {\n                  return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(t).pipe( // Fire NavigationStart event\n                  Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"switchMap\"])(\n                  /**\n                  * @param {?} t\n                  * @return {?}\n                  */\n                  function (t) {\n                    /** @type {?} */\n                    var transition = _this684.transitions.getValue();\n\n                    eventsSubject.next(new NavigationStart(t.id, _this684.serializeUrl(t.extractedUrl), t.source, t.restoredState));\n\n                    if (transition !== _this684.transitions.getValue()) {\n                      return rxjs__WEBPACK_IMPORTED_MODULE_2__[\"EMPTY\"];\n                    }\n\n                    return [t];\n                  }), // This delay is required to match old behavior that forced navigation to\n                  // always be async\n                  Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"switchMap\"])(\n                  /**\n                  * @param {?} t\n                  * @return {?}\n                  */\n                  function (t) {\n                    return Promise.resolve(t);\n                  }), // ApplyRedirects\n                  applyRedirects$1(_this684.ngModule.injector, _this684.configLoader, _this684.urlSerializer, _this684.config), // Update the currentNavigation\n                  Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"tap\"])(\n                  /**\n                  * @param {?} t\n                  * @return {?}\n                  */\n                  function (t) {\n                    _this684.currentNavigation = Object.assign({},\n                    /** @type {?} */\n                    _this684.currentNavigation, {\n                      finalUrl: t.urlAfterRedirects\n                    });\n                  }), // Recognize\n                  recognize$1(_this684.rootComponentType, _this684.config,\n                  /**\n                  * @param {?} url\n                  * @return {?}\n                  */\n                  function (url) {\n                    return _this684.serializeUrl(url);\n                  }, _this684.paramsInheritanceStrategy, _this684.relativeLinkResolution), // Update URL if in `eager` update mode\n                  Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"tap\"])(\n                  /**\n                  * @param {?} t\n                  * @return {?}\n                  */\n                  function (t) {\n                    if (_this684.urlUpdateStrategy === 'eager') {\n                      if (!t.extras.skipLocationChange) {\n                        _this684.setBrowserUrl(t.urlAfterRedirects, !!t.extras.replaceUrl, t.id, t.extras.state);\n                      }\n\n                      _this684.browserUrlTree = t.urlAfterRedirects;\n                    }\n                  }), // Fire RoutesRecognized\n                  Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"tap\"])(\n                  /**\n                  * @param {?} t\n                  * @return {?}\n                  */\n                  function (t) {\n                    /** @type {?} */\n                    var routesRecognized = new RoutesRecognized(t.id, _this684.serializeUrl(t.extractedUrl), _this684.serializeUrl(t.urlAfterRedirects),\n                    /** @type {?} */\n                    t.targetSnapshot);\n                    eventsSubject.next(routesRecognized);\n                  }));\n                } else {\n                  /** @type {?} */\n                  var processPreviousUrl = urlTransition && _this684.rawUrlTree && _this684.urlHandlingStrategy.shouldProcessUrl(_this684.rawUrlTree);\n                  /* When the current URL shouldn't be processed, but the previous one was, we\n                   * handle this \"error condition\" by navigating to the previously successful URL,\n                   * but leaving the URL intact.*/\n\n\n                  if (processPreviousUrl) {\n                    var id = t.id,\n                        extractedUrl = t.extractedUrl,\n                        source = t.source,\n                        restoredState = t.restoredState,\n                        extras = t.extras;\n                    /** @type {?} */\n\n                    var navStart = new NavigationStart(id, _this684.serializeUrl(extractedUrl), source, restoredState);\n                    eventsSubject.next(navStart);\n                    /** @type {?} */\n\n                    var targetSnapshot = createEmptyState(extractedUrl, _this684.rootComponentType).snapshot;\n                    return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(Object.assign({}, t, {\n                      targetSnapshot: targetSnapshot,\n                      urlAfterRedirects: extractedUrl,\n                      extras: Object.assign({}, extras, {\n                        skipLocationChange: false,\n                        replaceUrl: false\n                      })\n                    }));\n                  } else {\n                    /* When neither the current or previous URL can be processed, do nothing other\n                     * than update router's internal reference to the current \"settled\" URL. This\n                     * way the next navigation will be coming from the current URL in the browser.\n                     */\n                    _this684.rawUrlTree = t.rawUrl;\n                    _this684.browserUrlTree = t.urlAfterRedirects;\n                    t.resolve(null);\n                    return rxjs__WEBPACK_IMPORTED_MODULE_2__[\"EMPTY\"];\n                  }\n                }\n              }), // Before Preactivation\n              switchTap(\n              /**\n              * @param {?} t\n              * @return {?}\n              */\n              function (t) {\n                var targetSnapshot = t.targetSnapshot,\n                    navigationId = t.id,\n                    appliedUrlTree = t.extractedUrl,\n                    rawUrlTree = t.rawUrl,\n                    _t$extras = t.extras,\n                    skipLocationChange = _t$extras.skipLocationChange,\n                    replaceUrl = _t$extras.replaceUrl;\n                return _this684.hooks.beforePreactivation(\n                /** @type {?} */\n                targetSnapshot, {\n                  navigationId: navigationId,\n                  appliedUrlTree: appliedUrlTree,\n                  rawUrlTree: rawUrlTree,\n                  skipLocationChange: !!skipLocationChange,\n                  replaceUrl: !!replaceUrl\n                });\n              }), // --- GUARDS ---\n              Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"tap\"])(\n              /**\n              * @param {?} t\n              * @return {?}\n              */\n              function (t) {\n                /** @type {?} */\n                var guardsStart = new GuardsCheckStart(t.id, _this684.serializeUrl(t.extractedUrl), _this684.serializeUrl(t.urlAfterRedirects),\n                /** @type {?} */\n                t.targetSnapshot);\n\n                _this684.triggerEvent(guardsStart);\n              }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(\n              /**\n              * @param {?} t\n              * @return {?}\n              */\n              function (t) {\n                return Object.assign({}, t, {\n                  guards: getAllRouteGuards(\n                  /** @type {?} */\n                  t.targetSnapshot, t.currentSnapshot, _this684.rootContexts)\n                });\n              }), checkGuards(_this684.ngModule.injector,\n              /**\n              * @param {?} evt\n              * @return {?}\n              */\n              function (evt) {\n                return _this684.triggerEvent(evt);\n              }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"tap\"])(\n              /**\n              * @param {?} t\n              * @return {?}\n              */\n              function (t) {\n                if (isUrlTree(t.guardsResult)) {\n                  /** @type {?} */\n                  var error = navigationCancelingError(\"Redirecting to \\\"\".concat(_this684.serializeUrl(t.guardsResult), \"\\\"\"));\n                  error.url = t.guardsResult;\n                  throw error;\n                }\n              }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"tap\"])(\n              /**\n              * @param {?} t\n              * @return {?}\n              */\n              function (t) {\n                /** @type {?} */\n                var guardsEnd = new GuardsCheckEnd(t.id, _this684.serializeUrl(t.extractedUrl), _this684.serializeUrl(t.urlAfterRedirects),\n                /** @type {?} */\n                t.targetSnapshot, !!t.guardsResult);\n\n                _this684.triggerEvent(guardsEnd);\n              }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"filter\"])(\n              /**\n              * @param {?} t\n              * @return {?}\n              */\n              function (t) {\n                if (!t.guardsResult) {\n                  _this684.resetUrlToCurrentUrlTree();\n                  /** @type {?} */\n\n\n                  var navCancel = new NavigationCancel(t.id, _this684.serializeUrl(t.extractedUrl), '');\n                  eventsSubject.next(navCancel);\n                  t.resolve(false);\n                  return false;\n                }\n\n                return true;\n              }), // --- RESOLVE ---\n              switchTap(\n              /**\n              * @param {?} t\n              * @return {?}\n              */\n              function (t) {\n                if (t.guards.canActivateChecks.length) {\n                  return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(t).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"tap\"])(\n                  /**\n                  * @param {?} t\n                  * @return {?}\n                  */\n                  function (t) {\n                    /** @type {?} */\n                    var resolveStart = new ResolveStart(t.id, _this684.serializeUrl(t.extractedUrl), _this684.serializeUrl(t.urlAfterRedirects),\n                    /** @type {?} */\n                    t.targetSnapshot);\n\n                    _this684.triggerEvent(resolveStart);\n                  }), resolveData(_this684.paramsInheritanceStrategy, _this684.ngModule.injector), //\n                  Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"tap\"])(\n                  /**\n                  * @param {?} t\n                  * @return {?}\n                  */\n                  function (t) {\n                    /** @type {?} */\n                    var resolveEnd = new ResolveEnd(t.id, _this684.serializeUrl(t.extractedUrl), _this684.serializeUrl(t.urlAfterRedirects),\n                    /** @type {?} */\n                    t.targetSnapshot);\n\n                    _this684.triggerEvent(resolveEnd);\n                  }));\n                }\n\n                return undefined;\n              }), // --- AFTER PREACTIVATION ---\n              switchTap(\n              /**\n              * @param {?} t\n              * @return {?}\n              */\n              function (t) {\n                var targetSnapshot = t.targetSnapshot,\n                    navigationId = t.id,\n                    appliedUrlTree = t.extractedUrl,\n                    rawUrlTree = t.rawUrl,\n                    _t$extras2 = t.extras,\n                    skipLocationChange = _t$extras2.skipLocationChange,\n                    replaceUrl = _t$extras2.replaceUrl;\n                return _this684.hooks.afterPreactivation(\n                /** @type {?} */\n                targetSnapshot, {\n                  navigationId: navigationId,\n                  appliedUrlTree: appliedUrlTree,\n                  rawUrlTree: rawUrlTree,\n                  skipLocationChange: !!skipLocationChange,\n                  replaceUrl: !!replaceUrl\n                });\n              }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(\n              /**\n              * @param {?} t\n              * @return {?}\n              */\n              function (t) {\n                /** @type {?} */\n                var targetRouterState = createRouterState(_this684.routeReuseStrategy,\n                /** @type {?} */\n                t.targetSnapshot, t.currentRouterState);\n                return Object.assign({}, t, {\n                  targetRouterState: targetRouterState\n                });\n              }),\n              /* Once here, we are about to activate syncronously. The assumption is this will\n                 succeed, and user code may read from the Router service. Therefore before\n                 activation, we need to update router properties storing the current URL and the\n                 RouterState, as well as updated the browser URL. All this should happen *before*\n                 activating. */\n              Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"tap\"])(\n              /**\n              * @param {?} t\n              * @return {?}\n              */\n              function (t) {\n                _this684.currentUrlTree = t.urlAfterRedirects;\n                _this684.rawUrlTree = _this684.urlHandlingStrategy.merge(_this684.currentUrlTree, t.rawUrl);\n\n                /** @type {?} */\n                _this684.routerState =\n                /** @type {?} */\n                t.targetRouterState;\n\n                if (_this684.urlUpdateStrategy === 'deferred') {\n                  if (!t.extras.skipLocationChange) {\n                    _this684.setBrowserUrl(_this684.rawUrlTree, !!t.extras.replaceUrl, t.id, t.extras.state);\n                  }\n\n                  _this684.browserUrlTree = t.urlAfterRedirects;\n                }\n              }), activateRoutes(_this684.rootContexts, _this684.routeReuseStrategy,\n              /**\n              * @param {?} evt\n              * @return {?}\n              */\n              function (evt) {\n                return _this684.triggerEvent(evt);\n              }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"tap\"])({\n                /**\n                * @return {?}\n                */\n                next: function next() {\n                  completed = true;\n                },\n\n                /**\n                * @return {?}\n                */\n                complete: function complete() {\n                  completed = true;\n                }\n              }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"finalize\"])(\n              /**\n              * @return {?}\n              */\n              function () {\n                /* When the navigation stream finishes either through error or success, we set the\n                 * `completed` or `errored` flag. However, there are some situations where we could\n                 * get here without either of those being set. For instance, a redirect during\n                 * NavigationStart. Therefore, this is a catch-all to make sure the NavigationCancel\n                 * event is fired when a navigation gets cancelled but not caught by other means. */\n                if (!completed && !errored) {\n                  // Must reset to current URL tree here to ensure history.state is set. On a fresh\n                  // page load, if a new navigation comes in before a successful navigation\n                  // completes, there will be nothing in history.state.navigationId. This can cause\n                  // sync problems with AngularJS sync code which looks for a value here in order\n                  // to determine whether or not to handle a given popstate event or to leave it\n                  // to the Angualr router.\n                  _this684.resetUrlToCurrentUrlTree();\n                  /** @type {?} */\n\n\n                  var navCancel = new NavigationCancel(t.id, _this684.serializeUrl(t.extractedUrl), \"Navigation ID \".concat(t.id, \" is not equal to the current navigation id \").concat(_this684.navigationId));\n                  eventsSubject.next(navCancel);\n                  t.resolve(false);\n                } // currentNavigation should always be reset to null here. If navigation was\n                // successful, lastSuccessfulTransition will have already been set. Therefore we\n                // can safely set currentNavigation to null here.\n\n\n                _this684.currentNavigation = null;\n              }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"catchError\"])(\n              /**\n              * @param {?} e\n              * @return {?}\n              */\n              function (e) {\n                errored = true;\n                /* This error type is issued during Redirect, and is handled as a cancellation\n                 * rather than an error. */\n\n                if (isNavigationCancelingError(e)) {\n                  /** @type {?} */\n                  var redirecting = isUrlTree(e.url);\n\n                  if (!redirecting) {\n                    // Set property only if we're not redirecting. If we landed on a page and\n                    // redirect to `/` route, the new navigation is going to see the `/` isn't\n                    // a change from the default currentUrlTree and won't navigate. This is\n                    // only applicable with initial navigation, so setting `navigated` only when\n                    // not redirecting resolves this scenario.\n                    _this684.navigated = true;\n\n                    _this684.resetStateAndUrl(t.currentRouterState, t.currentUrlTree, t.rawUrl);\n                  }\n                  /** @type {?} */\n\n\n                  var navCancel = new NavigationCancel(t.id, _this684.serializeUrl(t.extractedUrl), e.message);\n                  eventsSubject.next(navCancel);\n                  t.resolve(false);\n\n                  if (redirecting) {\n                    _this684.navigateByUrl(e.url);\n                  }\n                  /* All other errors should reset to the router's internal URL reference to the\n                   * pre-error state. */\n\n                } else {\n                  _this684.resetStateAndUrl(t.currentRouterState, t.currentUrlTree, t.rawUrl);\n                  /** @type {?} */\n\n\n                  var navError = new NavigationError(t.id, _this684.serializeUrl(t.extractedUrl), e);\n                  eventsSubject.next(navError);\n\n                  try {\n                    t.resolve(_this684.errorHandler(e));\n                  } catch (ee) {\n                    t.reject(ee);\n                  }\n                }\n\n                return rxjs__WEBPACK_IMPORTED_MODULE_2__[\"EMPTY\"];\n              })); // TODO(jasonaden): remove cast once g3 is on updated TypeScript\n            }))\n          );\n        }\n        /**\n         * \\@internal\n         * TODO: this should be removed once the constructor of the router made internal\n         * @param {?} rootComponentType\n         * @return {?}\n         */\n\n      }, {\n        key: \"resetRootComponentType\",\n        value: function resetRootComponentType(rootComponentType) {\n          this.rootComponentType = rootComponentType; // TODO: vsavkin router 4.0 should make the root component set to null\n          // this will simplify the lifecycle of the router.\n\n          this.routerState.root.component = this.rootComponentType;\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"getTransition\",\n        value: function getTransition() {\n          /** @type {?} */\n          var transition = this.transitions.value; // This value needs to be set. Other values such as extractedUrl are set on initial navigation\n          // but the urlAfterRedirects may not get set if we aren't processing the new URL *and* not\n          // processing the previous URL.\n\n          transition.urlAfterRedirects = this.browserUrlTree;\n          return transition;\n        }\n        /**\n         * @private\n         * @param {?} t\n         * @return {?}\n         */\n\n      }, {\n        key: \"setTransition\",\n        value: function setTransition(t) {\n          this.transitions.next(Object.assign({}, this.getTransition(), t));\n        }\n        /**\n         * Sets up the location change listener and performs the initial navigation.\n         * @return {?}\n         */\n\n      }, {\n        key: \"initialNavigation\",\n        value: function initialNavigation() {\n          this.setUpLocationChangeListener();\n\n          if (this.navigationId === 0) {\n            this.navigateByUrl(this.location.path(true), {\n              replaceUrl: true\n            });\n          }\n        }\n        /**\n         * Sets up the location change listener.\n         * @return {?}\n         */\n\n      }, {\n        key: \"setUpLocationChangeListener\",\n        value: function setUpLocationChangeListener() {\n          var _this685 = this;\n\n          // Don't need to use Zone.wrap any more, because zone.js\n          // already patch onPopState, so location change callback will\n          // run into ngZone\n          if (!this.locationSubscription) {\n            this.locationSubscription =\n            /** @type {?} */\n            this.location.subscribe(\n            /**\n            * @param {?} change\n            * @return {?}\n            */\n            function (change) {\n              /** @type {?} */\n              var rawUrlTree = _this685.parseUrl(change['url']);\n              /** @type {?} */\n\n\n              var source = change['type'] === 'popstate' ? 'popstate' : 'hashchange'; // Navigations coming from Angular router have a navigationId state property. When this\n              // exists, restore the state.\n\n              /** @type {?} */\n\n              var state = change.state && change.state.navigationId ? change.state : null;\n              setTimeout(\n              /**\n              * @return {?}\n              */\n              function () {\n                _this685.scheduleNavigation(rawUrlTree, source, state, {\n                  replaceUrl: true\n                });\n              }, 0);\n            });\n          }\n        }\n        /**\n         * The current URL.\n         * @return {?}\n         */\n\n      }, {\n        key: \"getCurrentNavigation\",\n\n        /**\n         * The current Navigation object if one exists\n         * @return {?}\n         */\n        value: function getCurrentNavigation() {\n          return this.currentNavigation;\n        }\n        /**\n         * \\@internal\n         * @param {?} event\n         * @return {?}\n         */\n\n      }, {\n        key: \"triggerEvent\",\n        value: function triggerEvent(event) {\n          /** @type {?} */\n          this.events.next(event);\n        }\n        /**\n         * Resets the configuration used for navigation and generating links.\n         *\n         * \\@usageNotes\n         *\n         * ```\n         * router.resetConfig([\n         *  { path: 'team/:id', component: TeamCmp, children: [\n         *    { path: 'simple', component: SimpleCmp },\n         *    { path: 'user/:name', component: UserCmp }\n         *  ]}\n         * ]);\n         * ```\n         * @param {?} config The route array for the new configuration.\n         *\n         * @return {?}\n         */\n\n      }, {\n        key: \"resetConfig\",\n        value: function resetConfig(config) {\n          validateConfig(config);\n          this.config = config.map(standardizeConfig);\n          this.navigated = false;\n          this.lastSuccessfulId = -1;\n        }\n        /**\n         * \\@docsNotRequired\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          this.dispose();\n        }\n        /**\n         * Disposes of the router.\n         * @return {?}\n         */\n\n      }, {\n        key: \"dispose\",\n        value: function dispose() {\n          if (this.locationSubscription) {\n            this.locationSubscription.unsubscribe();\n            this.locationSubscription =\n            /** @type {?} */\n            null;\n          }\n        }\n        /**\n         * Applies an array of commands to the current URL tree and creates a new URL tree.\n         *\n         * When given an activated route, applies the given commands starting from the route.\n         * Otherwise, applies the given command starting from the root.\n         *\n         * \\@usageNotes\n         *\n         * ```\n         * // create /team/33/user/11\n         * router.createUrlTree(['/team', 33, 'user', 11]);\n         *\n         * // create /team/33;expand=true/user/11\n         * router.createUrlTree(['/team', 33, {expand: true}, 'user', 11]);\n         *\n         * // you can collapse static segments like this (this works only with the first passed-in value):\n         * router.createUrlTree(['/team/33/user', userId]);\n         *\n         * // If the first segment can contain slashes, and you do not want the router to split it,\n         * // you can do the following:\n         * router.createUrlTree([{segmentPath: '/one/two'}]);\n         *\n         * // create /team/33/(user/11//right:chat)\n         * router.createUrlTree(['/team', 33, {outlets: {primary: 'user/11', right: 'chat'}}]);\n         *\n         * // remove the right secondary node\n         * router.createUrlTree(['/team', 33, {outlets: {primary: 'user/11', right: null}}]);\n         *\n         * // assuming the current url is `/team/33/user/11` and the route points to `user/11`\n         *\n         * // navigate to /team/33/user/11/details\n         * router.createUrlTree(['details'], {relativeTo: route});\n         *\n         * // navigate to /team/33/user/22\n         * router.createUrlTree(['../22'], {relativeTo: route});\n         *\n         * // navigate to /team/44/user/22\n         * router.createUrlTree(['../../team/44/user/22'], {relativeTo: route});\n         * ```\n         * @param {?} commands An array of commands to apply.\n         * @param {?=} navigationExtras Options that control the navigation strategy.\n         * @return {?} The new URL tree.\n         *\n         */\n\n      }, {\n        key: \"createUrlTree\",\n        value: function createUrlTree(commands) {\n          var navigationExtras = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n          var relativeTo = navigationExtras.relativeTo,\n              queryParams = navigationExtras.queryParams,\n              fragment = navigationExtras.fragment,\n              preserveQueryParams = navigationExtras.preserveQueryParams,\n              queryParamsHandling = navigationExtras.queryParamsHandling,\n              preserveFragment = navigationExtras.preserveFragment;\n\n          if (Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"isDevMode\"])() && preserveQueryParams &&\n          /** @type {?} */\n          console &&\n          /** @type {?} */\n          console.warn) {\n            console.warn('preserveQueryParams is deprecated, use queryParamsHandling instead.');\n          }\n          /** @type {?} */\n\n\n          var a = relativeTo || this.routerState.root;\n          /** @type {?} */\n\n          var f = preserveFragment ? this.currentUrlTree.fragment : fragment;\n          /** @type {?} */\n\n          var q = null;\n\n          if (queryParamsHandling) {\n            switch (queryParamsHandling) {\n              case 'merge':\n                q = Object.assign({}, this.currentUrlTree.queryParams, queryParams);\n                break;\n\n              case 'preserve':\n                q = this.currentUrlTree.queryParams;\n                break;\n\n              default:\n                q = queryParams || null;\n            }\n          } else {\n            q = preserveQueryParams ? this.currentUrlTree.queryParams : queryParams || null;\n          }\n\n          if (q !== null) {\n            q = this.removeEmptyProps(q);\n          }\n\n          return _createUrlTree(a, this.currentUrlTree, commands,\n          /** @type {?} */\n          q,\n          /** @type {?} */\n          f);\n        }\n        /**\n         * Navigate based on the provided URL, which must be absolute.\n         *\n         * \\@usageNotes\n         *\n         * ```\n         * router.navigateByUrl(\"/team/33/user/11\");\n         *\n         * // Navigate without updating the URL\n         * router.navigateByUrl(\"/team/33/user/11\", { skipLocationChange: true });\n         * ```\n         *\n         * @param {?} url An absolute URL. The function does not apply any delta to the current URL.\n         * @param {?=} extras An object containing properties that modify the navigation strategy.\n         * The function ignores any properties in the `NavigationExtras` that would change the\n         * provided URL.\n         *\n         * @return {?} A Promise that resolves to 'true' when navigation succeeds,\n         * to 'false' when navigation fails, or is rejected on error.\n         *\n         */\n\n      }, {\n        key: \"navigateByUrl\",\n        value: function navigateByUrl(url) {\n          var extras = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {\n            skipLocationChange: false\n          };\n\n          if (Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"isDevMode\"])() && this.isNgZoneEnabled && !_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgZone\"].isInAngularZone()) {\n            this.console.warn(\"Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?\");\n          }\n          /** @type {?} */\n\n\n          var urlTree = isUrlTree(url) ? url : this.parseUrl(url);\n          /** @type {?} */\n\n          var mergedTree = this.urlHandlingStrategy.merge(urlTree, this.rawUrlTree);\n          return this.scheduleNavigation(mergedTree, 'imperative', null, extras);\n        }\n        /**\n         * Navigate based on the provided array of commands and a starting point.\n         * If no starting route is provided, the navigation is absolute.\n         *\n         * Returns a promise that:\n         * - resolves to 'true' when navigation succeeds,\n         * - resolves to 'false' when navigation fails,\n         * - is rejected when an error happens.\n         *\n         * \\@usageNotes\n         *\n         * ```\n         * router.navigate(['team', 33, 'user', 11], {relativeTo: route});\n         *\n         * // Navigate without updating the URL\n         * router.navigate(['team', 33, 'user', 11], {relativeTo: route, skipLocationChange: true});\n         * ```\n         *\n         * The first parameter of `navigate()` is a delta to be applied to the current URL\n         * or the one provided in the `relativeTo` property of the second parameter (the\n         * `NavigationExtras`).\n         *\n         * In order to affect this browser's `history.state` entry, the `state`\n         * parameter can be passed. This must be an object because the router\n         * will add the `navigationId` property to this object before creating\n         * the new history item.\n         * @param {?} commands\n         * @param {?=} extras\n         * @return {?}\n         */\n\n      }, {\n        key: \"navigate\",\n        value: function navigate(commands) {\n          var extras = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {\n            skipLocationChange: false\n          };\n          validateCommands(commands);\n          return this.navigateByUrl(this.createUrlTree(commands, extras), extras);\n        }\n        /**\n         * Serializes a `UrlTree` into a string\n         * @param {?} url\n         * @return {?}\n         */\n\n      }, {\n        key: \"serializeUrl\",\n        value: function serializeUrl(url) {\n          return this.urlSerializer.serialize(url);\n        }\n        /**\n         * Parses a string into a `UrlTree`\n         * @param {?} url\n         * @return {?}\n         */\n\n      }, {\n        key: \"parseUrl\",\n        value: function parseUrl(url) {\n          /** @type {?} */\n          var urlTree;\n\n          try {\n            urlTree = this.urlSerializer.parse(url);\n          } catch (e) {\n            urlTree = this.malformedUriErrorHandler(e, this.urlSerializer, url);\n          }\n\n          return urlTree;\n        }\n        /**\n         * Returns whether the url is activated\n         * @param {?} url\n         * @param {?} exact\n         * @return {?}\n         */\n\n      }, {\n        key: \"isActive\",\n        value: function isActive(url, exact) {\n          if (isUrlTree(url)) {\n            return containsTree(this.currentUrlTree, url, exact);\n          }\n          /** @type {?} */\n\n\n          var urlTree = this.parseUrl(url);\n          return containsTree(this.currentUrlTree, urlTree, exact);\n        }\n        /**\n         * @private\n         * @param {?} params\n         * @return {?}\n         */\n\n      }, {\n        key: \"removeEmptyProps\",\n        value: function removeEmptyProps(params) {\n          return Object.keys(params).reduce(\n          /**\n          * @param {?} result\n          * @param {?} key\n          * @return {?}\n          */\n          function (result, key) {\n            /** @type {?} */\n            var value = params[key];\n\n            if (value !== null && value !== undefined) {\n              result[key] = value;\n            }\n\n            return result;\n          }, {});\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"processNavigations\",\n        value: function processNavigations() {\n          var _this686 = this;\n\n          this.navigations.subscribe(\n          /**\n          * @param {?} t\n          * @return {?}\n          */\n          function (t) {\n            _this686.navigated = true;\n            _this686.lastSuccessfulId = t.id;\n\n            /** @type {?} */\n            _this686.events.next(new NavigationEnd(t.id, _this686.serializeUrl(t.extractedUrl), _this686.serializeUrl(_this686.currentUrlTree)));\n\n            _this686.lastSuccessfulNavigation = _this686.currentNavigation;\n            _this686.currentNavigation = null;\n            t.resolve(true);\n          },\n          /**\n          * @param {?} e\n          * @return {?}\n          */\n          function (e) {\n            _this686.console.warn(\"Unhandled Navigation Error: \");\n          });\n        }\n        /**\n         * @private\n         * @param {?} rawUrl\n         * @param {?} source\n         * @param {?} restoredState\n         * @param {?} extras\n         * @return {?}\n         */\n\n      }, {\n        key: \"scheduleNavigation\",\n        value: function scheduleNavigation(rawUrl, source, restoredState, extras) {\n          /** @type {?} */\n          var lastNavigation = this.getTransition(); // If the user triggers a navigation imperatively (e.g., by using navigateByUrl),\n          // and that navigation results in 'replaceState' that leads to the same URL,\n          // we should skip those.\n\n          if (lastNavigation && source !== 'imperative' && lastNavigation.source === 'imperative' && lastNavigation.rawUrl.toString() === rawUrl.toString()) {\n            return Promise.resolve(true); // return value is not used\n          } // Because of a bug in IE and Edge, the location class fires two events (popstate and\n          // hashchange) every single time. The second one should be ignored. Otherwise, the URL will\n          // flicker. Handles the case when a popstate was emitted first.\n\n\n          if (lastNavigation && source == 'hashchange' && lastNavigation.source === 'popstate' && lastNavigation.rawUrl.toString() === rawUrl.toString()) {\n            return Promise.resolve(true); // return value is not used\n          } // Because of a bug in IE and Edge, the location class fires two events (popstate and\n          // hashchange) every single time. The second one should be ignored. Otherwise, the URL will\n          // flicker. Handles the case when a hashchange was emitted first.\n\n\n          if (lastNavigation && source == 'popstate' && lastNavigation.source === 'hashchange' && lastNavigation.rawUrl.toString() === rawUrl.toString()) {\n            return Promise.resolve(true); // return value is not used\n          }\n          /** @type {?} */\n\n\n          var resolve = null;\n          /** @type {?} */\n\n          var reject = null;\n          /** @type {?} */\n\n          var promise = new Promise(\n          /**\n          * @param {?} res\n          * @param {?} rej\n          * @return {?}\n          */\n          function (res, rej) {\n            resolve = res;\n            reject = rej;\n          });\n          /** @type {?} */\n\n          var id = ++this.navigationId;\n          this.setTransition({\n            id: id,\n            source: source,\n            restoredState: restoredState,\n            currentUrlTree: this.currentUrlTree,\n            currentRawUrl: this.rawUrlTree,\n            rawUrl: rawUrl,\n            extras: extras,\n            resolve: resolve,\n            reject: reject,\n            promise: promise,\n            currentSnapshot: this.routerState.snapshot,\n            currentRouterState: this.routerState\n          }); // Make sure that the error is propagated even though `processNavigations` catch\n          // handler does not rethrow\n\n          return promise.catch(\n          /**\n          * @param {?} e\n          * @return {?}\n          */\n          function (e) {\n            return Promise.reject(e);\n          });\n        }\n        /**\n         * @private\n         * @param {?} url\n         * @param {?} replaceUrl\n         * @param {?} id\n         * @param {?=} state\n         * @return {?}\n         */\n\n      }, {\n        key: \"setBrowserUrl\",\n        value: function setBrowserUrl(url, replaceUrl, id, state) {\n          /** @type {?} */\n          var path = this.urlSerializer.serialize(url);\n          state = state || {};\n\n          if (this.location.isCurrentPathEqualTo(path) || replaceUrl) {\n            // TODO(jasonaden): Remove first `navigationId` and rely on `ng` namespace.\n            this.location.replaceState(path, '', Object.assign({}, state, {\n              navigationId: id\n            }));\n          } else {\n            this.location.go(path, '', Object.assign({}, state, {\n              navigationId: id\n            }));\n          }\n        }\n        /**\n         * @private\n         * @param {?} storedState\n         * @param {?} storedUrl\n         * @param {?} rawUrl\n         * @return {?}\n         */\n\n      }, {\n        key: \"resetStateAndUrl\",\n        value: function resetStateAndUrl(storedState, storedUrl, rawUrl) {\n          /** @type {?} */\n          this.routerState = storedState;\n          this.currentUrlTree = storedUrl;\n          this.rawUrlTree = this.urlHandlingStrategy.merge(this.currentUrlTree, rawUrl);\n          this.resetUrlToCurrentUrlTree();\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"resetUrlToCurrentUrlTree\",\n        value: function resetUrlToCurrentUrlTree() {\n          this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree), '', {\n            navigationId: this.lastSuccessfulId\n          });\n        }\n      }, {\n        key: \"url\",\n        get: function get() {\n          return this.serializeUrl(this.currentUrlTree);\n        }\n      }]);\n\n      return Router;\n    }();\n\n    if (false) {}\n    /**\n     * @param {?} commands\n     * @return {?}\n     */\n\n\n    function validateCommands(commands) {\n      for (var i = 0; i < commands.length; i++) {\n        /** @type {?} */\n        var cmd = commands[i];\n\n        if (cmd == null) {\n          throw new Error(\"The requested path contains \".concat(cmd, \" segment at index \").concat(i));\n        }\n      }\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * \\@description\n     *\n     * Lets you link to specific routes in your app.\n     *\n     * Consider the following route configuration:\n     * `[{ path: 'user/:name', component: UserCmp }]`.\n     * When linking to this `user/:name` route, you use the `RouterLink` directive.\n     *\n     * If the link is static, you can use the directive as follows:\n     * `<a routerLink=\"/user/bob\">link to user component</a>`\n     *\n     * If you use dynamic values to generate the link, you can pass an array of path\n     * segments, followed by the params for each segment.\n     *\n     * For instance `['/team', teamId, 'user', userName, {details: true}]`\n     * means that we want to generate a link to `/team/11/user/bob;details=true`.\n     *\n     * Multiple static segments can be merged into one\n     * (e.g., `['/team/11/user', userName, {details: true}]`).\n     *\n     * The first segment name can be prepended with `/`, `./`, or `../`:\n     * * If the first segment begins with `/`, the router will look up the route from the root of the\n     *   app.\n     * * If the first segment begins with `./`, or doesn't begin with a slash, the router will\n     *   instead look in the children of the current activated route.\n     * * And if the first segment begins with `../`, the router will go up one level.\n     *\n     * You can set query params and fragment as follows:\n     *\n     * ```\n     * <a [routerLink]=\"['/user/bob']\" [queryParams]=\"{debug: true}\" fragment=\"education\">\n     *   link to user component\n     * </a>\n     * ```\n     * RouterLink will use these to generate this link: `/user/bob#education?debug=true`.\n     *\n     * (Deprecated in v4.0.0 use `queryParamsHandling` instead) You can also tell the\n     * directive to preserve the current query params and fragment:\n     *\n     * ```\n     * <a [routerLink]=\"['/user/bob']\" preserveQueryParams preserveFragment>\n     *   link to user component\n     * </a>\n     * ```\n     *\n     * You can tell the directive how to handle queryParams. Available options are:\n     *  - `'merge'`: merge the queryParams into the current queryParams\n     *  - `'preserve'`: preserve the current queryParams\n     *  - default/`''`: use the queryParams only\n     *\n     * Same options for {\\@link NavigationExtras#queryParamsHandling\n     * NavigationExtras#queryParamsHandling}.\n     *\n     * ```\n     * <a [routerLink]=\"['/user/bob']\" [queryParams]=\"{debug: true}\" queryParamsHandling=\"merge\">\n     *   link to user component\n     * </a>\n     * ```\n     *\n     * You can provide a `state` value to be persisted to the browser's History.state\n     * property (See https://developer.mozilla.org/en-US/docs/Web/API/History#Properties). It's\n     * used as follows:\n     *\n     * ```\n     * <a [routerLink]=\"['/user/bob']\" [state]=\"{tracingId: 123}\">\n     *   link to user component\n     * </a>\n     * ```\n     *\n     * And later the value can be read from the router through `router.getCurrentNavigation`.\n     * For example, to capture the `tracingId` above during the `NavigationStart` event:\n     *\n     * ```\n     * // Get NavigationStart events\n     * router.events.pipe(filter(e => e instanceof NavigationStart)).subscribe(e => {\n     *   const navigation = router.getCurrentNavigation();\n     *   tracingService.trace({id: navigation.extras.state.tracingId});\n     * });\n     * ```\n     *\n     * The router link directive always treats the provided input as a delta to the current url.\n     *\n     * For instance, if the current url is `/user/(box//aux:team)`.\n     *\n     * Then the following link `<a [routerLink]=\"['/user/jim']\">Jim</a>` will generate the link\n     * `/user/(jim//aux:team)`.\n     *\n     * See {\\@link Router#createUrlTree createUrlTree} for more information.\n     *\n     * \\@ngModule RouterModule\n     *\n     * \\@publicApi\n     */\n\n\n    var RouterLink =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} router\n       * @param {?} route\n       * @param {?} tabIndex\n       * @param {?} renderer\n       * @param {?} el\n       */\n      function RouterLink(router, route, tabIndex, renderer, el) {\n        _classCallCheck(this, RouterLink);\n\n        this.router = router;\n        this.route = route;\n        this.commands = [];\n\n        if (tabIndex == null) {\n          renderer.setAttribute(el.nativeElement, 'tabindex', '0');\n        }\n      }\n      /**\n       * @param {?} commands\n       * @return {?}\n       */\n\n\n      _createClass2(RouterLink, [{\n        key: \"onClick\",\n\n        /**\n         * @return {?}\n         */\n        value: function onClick() {\n          /** @type {?} */\n          var extras = {\n            skipLocationChange: attrBoolValue(this.skipLocationChange),\n            replaceUrl: attrBoolValue(this.replaceUrl)\n          };\n          this.router.navigateByUrl(this.urlTree, extras);\n          return true;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"routerLink\",\n        set: function set(commands) {\n          if (commands != null) {\n            this.commands = Array.isArray(commands) ? commands : [commands];\n          } else {\n            this.commands = [];\n          }\n        }\n        /**\n         * @deprecated 4.0.0 use `queryParamsHandling` instead.\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"preserveQueryParams\",\n        set: function set(value) {\n          if (Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"isDevMode\"])() &&\n          /** @type {?} */\n          console &&\n          /** @type {?} */\n          console.warn) {\n            console.warn('preserveQueryParams is deprecated!, use queryParamsHandling instead.');\n          }\n\n          this.preserve = value;\n        }\n      }, {\n        key: \"urlTree\",\n        get: function get() {\n          return this.router.createUrlTree(this.commands, {\n            relativeTo: this.route,\n            queryParams: this.queryParams,\n            fragment: this.fragment,\n            preserveQueryParams: attrBoolValue(this.preserve),\n            queryParamsHandling: this.queryParamsHandling,\n            preserveFragment: attrBoolValue(this.preserveFragment)\n          });\n        }\n      }]);\n\n      return RouterLink;\n    }();\n\n    RouterLink.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Directive\"],\n      args: [{\n        selector: ':not(a):not(area)[routerLink]'\n      }]\n    }];\n    /** @nocollapse */\n\n    RouterLink.ctorParameters = function () {\n      return [{\n        type: Router\n      }, {\n        type: ActivatedRoute\n      }, {\n        type: String,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Attribute\"],\n          args: ['tabindex']\n        }]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Renderer2\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ElementRef\"]\n      }];\n    };\n\n    RouterLink.propDecorators = {\n      queryParams: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"]\n      }],\n      fragment: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"]\n      }],\n      queryParamsHandling: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"]\n      }],\n      preserveFragment: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"]\n      }],\n      skipLocationChange: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"]\n      }],\n      replaceUrl: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"]\n      }],\n      state: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"]\n      }],\n      routerLink: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"]\n      }],\n      preserveQueryParams: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"]\n      }],\n      onClick: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"HostListener\"],\n        args: ['click']\n      }]\n    };\n\n    if (false) {}\n    /**\n     * \\@description\n     *\n     * Lets you link to specific routes in your app.\n     *\n     * See `RouterLink` for more information.\n     *\n     * \\@ngModule RouterModule\n     *\n     * \\@publicApi\n     */\n\n\n    var RouterLinkWithHref =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} router\n       * @param {?} route\n       * @param {?} locationStrategy\n       */\n      function RouterLinkWithHref(router, route, locationStrategy) {\n        var _this687 = this;\n\n        _classCallCheck(this, RouterLinkWithHref);\n\n        this.router = router;\n        this.route = route;\n        this.locationStrategy = locationStrategy;\n        this.commands = [];\n        this.subscription = router.events.subscribe(\n        /**\n        * @param {?} s\n        * @return {?}\n        */\n        function (s) {\n          if (s instanceof NavigationEnd) {\n            _this687.updateTargetUrlAndHref();\n          }\n        });\n      }\n      /**\n       * @param {?} commands\n       * @return {?}\n       */\n\n\n      _createClass2(RouterLinkWithHref, [{\n        key: \"ngOnChanges\",\n\n        /**\n         * @param {?} changes\n         * @return {?}\n         */\n        value: function ngOnChanges(changes) {\n          this.updateTargetUrlAndHref();\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          this.subscription.unsubscribe();\n        }\n        /**\n         * @param {?} button\n         * @param {?} ctrlKey\n         * @param {?} metaKey\n         * @param {?} shiftKey\n         * @return {?}\n         */\n\n      }, {\n        key: \"onClick\",\n        value: function onClick(button, ctrlKey, metaKey, shiftKey) {\n          if (button !== 0 || ctrlKey || metaKey || shiftKey) {\n            return true;\n          }\n\n          if (typeof this.target === 'string' && this.target != '_self') {\n            return true;\n          }\n          /** @type {?} */\n\n\n          var extras = {\n            skipLocationChange: attrBoolValue(this.skipLocationChange),\n            replaceUrl: attrBoolValue(this.replaceUrl),\n            state: this.state\n          };\n          this.router.navigateByUrl(this.urlTree, extras);\n          return false;\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"updateTargetUrlAndHref\",\n        value: function updateTargetUrlAndHref() {\n          this.href = this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree));\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"routerLink\",\n        set: function set(commands) {\n          if (commands != null) {\n            this.commands = Array.isArray(commands) ? commands : [commands];\n          } else {\n            this.commands = [];\n          }\n        }\n        /**\n         * @param {?} value\n         * @return {?}\n         */\n\n      }, {\n        key: \"preserveQueryParams\",\n        set: function set(value) {\n          if (Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"isDevMode\"])() &&\n          /** @type {?} */\n          console &&\n          /** @type {?} */\n          console.warn) {\n            console.warn('preserveQueryParams is deprecated, use queryParamsHandling instead.');\n          }\n\n          this.preserve = value;\n        }\n      }, {\n        key: \"urlTree\",\n        get: function get() {\n          return this.router.createUrlTree(this.commands, {\n            relativeTo: this.route,\n            queryParams: this.queryParams,\n            fragment: this.fragment,\n            preserveQueryParams: attrBoolValue(this.preserve),\n            queryParamsHandling: this.queryParamsHandling,\n            preserveFragment: attrBoolValue(this.preserveFragment)\n          });\n        }\n      }]);\n\n      return RouterLinkWithHref;\n    }();\n\n    RouterLinkWithHref.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Directive\"],\n      args: [{\n        selector: 'a[routerLink],area[routerLink]'\n      }]\n    }];\n    /** @nocollapse */\n\n    RouterLinkWithHref.ctorParameters = function () {\n      return [{\n        type: Router\n      }, {\n        type: ActivatedRoute\n      }, {\n        type: _angular_common__WEBPACK_IMPORTED_MODULE_0__[\"LocationStrategy\"]\n      }];\n    };\n\n    RouterLinkWithHref.propDecorators = {\n      target: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"HostBinding\"],\n        args: ['attr.target']\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"]\n      }],\n      queryParams: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"]\n      }],\n      fragment: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"]\n      }],\n      queryParamsHandling: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"]\n      }],\n      preserveFragment: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"]\n      }],\n      skipLocationChange: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"]\n      }],\n      replaceUrl: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"]\n      }],\n      state: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"]\n      }],\n      href: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"HostBinding\"]\n      }],\n      routerLink: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"]\n      }],\n      preserveQueryParams: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"]\n      }],\n      onClick: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"HostListener\"],\n        args: ['click', ['$event.button', '$event.ctrlKey', '$event.metaKey', '$event.shiftKey']]\n      }]\n    };\n\n    if (false) {}\n    /**\n     * @param {?} s\n     * @return {?}\n     */\n\n\n    function attrBoolValue(s) {\n      return s === '' || !!s;\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     *\n     * \\@description\n     *\n     * Lets you add a CSS class to an element when the link's route becomes active.\n     *\n     * This directive lets you add a CSS class to an element when the link's route\n     * becomes active.\n     *\n     * Consider the following example:\n     *\n     * ```\n     * <a routerLink=\"/user/bob\" routerLinkActive=\"active-link\">Bob</a>\n     * ```\n     *\n     * When the url is either '/user' or '/user/bob', the active-link class will\n     * be added to the `a` tag. If the url changes, the class will be removed.\n     *\n     * You can set more than one class, as follows:\n     *\n     * ```\n     * <a routerLink=\"/user/bob\" routerLinkActive=\"class1 class2\">Bob</a>\n     * <a routerLink=\"/user/bob\" [routerLinkActive]=\"['class1', 'class2']\">Bob</a>\n     * ```\n     *\n     * You can configure RouterLinkActive by passing `exact: true`. This will add the classes\n     * only when the url matches the link exactly.\n     *\n     * ```\n     * <a routerLink=\"/user/bob\" routerLinkActive=\"active-link\" [routerLinkActiveOptions]=\"{exact:\n     * true}\">Bob</a>\n     * ```\n     *\n     * You can assign the RouterLinkActive instance to a template variable and directly check\n     * the `isActive` status.\n     * ```\n     * <a routerLink=\"/user/bob\" routerLinkActive #rla=\"routerLinkActive\">\n     *   Bob {{ rla.isActive ? '(already open)' : ''}}\n     * </a>\n     * ```\n     *\n     * Finally, you can apply the RouterLinkActive directive to an ancestor of a RouterLink.\n     *\n     * ```\n     * <div routerLinkActive=\"active-link\" [routerLinkActiveOptions]=\"{exact: true}\">\n     *   <a routerLink=\"/user/jim\">Jim</a>\n     *   <a routerLink=\"/user/bob\">Bob</a>\n     * </div>\n     * ```\n     *\n     * This will set the active-link class on the div tag if the url is either '/user/jim' or\n     * '/user/bob'.\n     *\n     * \\@ngModule RouterModule\n     *\n     * \\@publicApi\n     */\n\n\n    var RouterLinkActive =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} router\n       * @param {?} element\n       * @param {?} renderer\n       * @param {?=} link\n       * @param {?=} linkWithHref\n       */\n      function RouterLinkActive(router, element, renderer, link, linkWithHref) {\n        var _this688 = this;\n\n        _classCallCheck(this, RouterLinkActive);\n\n        this.router = router;\n        this.element = element;\n        this.renderer = renderer;\n        this.link = link;\n        this.linkWithHref = linkWithHref;\n        this.classes = [];\n        this.isActive = false;\n        this.routerLinkActiveOptions = {\n          exact: false\n        };\n        this.subscription = router.events.subscribe(\n        /**\n        * @param {?} s\n        * @return {?}\n        */\n        function (s) {\n          if (s instanceof NavigationEnd) {\n            _this688.update();\n          }\n        });\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(RouterLinkActive, [{\n        key: \"ngAfterContentInit\",\n        value: function ngAfterContentInit() {\n          var _this689 = this;\n\n          this.links.changes.subscribe(\n          /**\n          * @param {?} _\n          * @return {?}\n          */\n          function (_) {\n            return _this689.update();\n          });\n          this.linksWithHrefs.changes.subscribe(\n          /**\n          * @param {?} _\n          * @return {?}\n          */\n          function (_) {\n            return _this689.update();\n          });\n          this.update();\n        }\n        /**\n         * @param {?} data\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngOnChanges\",\n\n        /**\n         * @param {?} changes\n         * @return {?}\n         */\n        value: function ngOnChanges(changes) {\n          this.update();\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          this.subscription.unsubscribe();\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"update\",\n        value: function update() {\n          var _this690 = this;\n\n          if (!this.links || !this.linksWithHrefs || !this.router.navigated) return;\n          Promise.resolve().then(\n          /**\n          * @return {?}\n          */\n          function () {\n            /** @type {?} */\n            var hasActiveLinks = _this690.hasActiveLinks();\n\n            if (_this690.isActive !== hasActiveLinks) {\n              /** @type {?} */\n              _this690.isActive = hasActiveLinks;\n\n              _this690.classes.forEach(\n              /**\n              * @param {?} c\n              * @return {?}\n              */\n              function (c) {\n                if (hasActiveLinks) {\n                  _this690.renderer.addClass(_this690.element.nativeElement, c);\n                } else {\n                  _this690.renderer.removeClass(_this690.element.nativeElement, c);\n                }\n              });\n            }\n          });\n        }\n        /**\n         * @private\n         * @param {?} router\n         * @return {?}\n         */\n\n      }, {\n        key: \"isLinkActive\",\n        value: function isLinkActive(router) {\n          var _this691 = this;\n\n          return (\n            /**\n            * @param {?} link\n            * @return {?}\n            */\n            function (link) {\n              return router.isActive(link.urlTree, _this691.routerLinkActiveOptions.exact);\n            }\n          );\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"hasActiveLinks\",\n        value: function hasActiveLinks() {\n          /** @type {?} */\n          var isActiveCheckFn = this.isLinkActive(this.router);\n          return this.link && isActiveCheckFn(this.link) || this.linkWithHref && isActiveCheckFn(this.linkWithHref) || this.links.some(isActiveCheckFn) || this.linksWithHrefs.some(isActiveCheckFn);\n        }\n      }, {\n        key: \"routerLinkActive\",\n        set: function set(data) {\n          /** @type {?} */\n          var classes = Array.isArray(data) ? data : data.split(' ');\n          this.classes = classes.filter(\n          /**\n          * @param {?} c\n          * @return {?}\n          */\n          function (c) {\n            return !!c;\n          });\n        }\n      }]);\n\n      return RouterLinkActive;\n    }();\n\n    RouterLinkActive.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Directive\"],\n      args: [{\n        selector: '[routerLinkActive]',\n        exportAs: 'routerLinkActive'\n      }]\n    }];\n    /** @nocollapse */\n\n    RouterLinkActive.ctorParameters = function () {\n      return [{\n        type: Router\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ElementRef\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Renderer2\"]\n      }, {\n        type: RouterLink,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"]\n        }]\n      }, {\n        type: RouterLinkWithHref,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"]\n        }]\n      }];\n    };\n\n    RouterLinkActive.propDecorators = {\n      links: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ContentChildren\"],\n        args: [RouterLink, {\n          descendants: true\n        }]\n      }],\n      linksWithHrefs: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ContentChildren\"],\n        args: [RouterLinkWithHref, {\n          descendants: true\n        }]\n      }],\n      routerLinkActiveOptions: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"]\n      }],\n      routerLinkActive: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Input\"]\n      }]\n    };\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @license\n     * Copyright Google Inc. All Rights Reserved.\n     *\n     * Use of this source code is governed by an MIT-style license that can be\n     * found in the LICENSE file at https://angular.io/license\n     */\n\n    /**\n     * Store contextual information about a `RouterOutlet`\n     *\n     * \\@publicApi\n     */\n\n\n    var OutletContext = function OutletContext() {\n      _classCallCheck(this, OutletContext);\n\n      this.outlet = null;\n      this.route = null;\n      this.resolver = null;\n      this.children = new ChildrenOutletContexts();\n      this.attachRef = null;\n    };\n\n    if (false) {}\n    /**\n     * Store contextual information about the children (= nested) `RouterOutlet`\n     *\n     * \\@publicApi\n     */\n\n\n    var ChildrenOutletContexts =\n    /*#__PURE__*/\n    function () {\n      function ChildrenOutletContexts() {\n        _classCallCheck(this, ChildrenOutletContexts);\n\n        // contexts for child outlets, by name.\n        this.contexts = new Map();\n      }\n      /**\n       * Called when a `RouterOutlet` directive is instantiated\n       * @param {?} childName\n       * @param {?} outlet\n       * @return {?}\n       */\n\n\n      _createClass2(ChildrenOutletContexts, [{\n        key: \"onChildOutletCreated\",\n        value: function onChildOutletCreated(childName, outlet) {\n          /** @type {?} */\n          var context = this.getOrCreateContext(childName);\n          context.outlet = outlet;\n          this.contexts.set(childName, context);\n        }\n        /**\n         * Called when a `RouterOutlet` directive is destroyed.\n         * We need to keep the context as the outlet could be destroyed inside a NgIf and might be\n         * re-created later.\n         * @param {?} childName\n         * @return {?}\n         */\n\n      }, {\n        key: \"onChildOutletDestroyed\",\n        value: function onChildOutletDestroyed(childName) {\n          /** @type {?} */\n          var context = this.getContext(childName);\n\n          if (context) {\n            context.outlet = null;\n          }\n        }\n        /**\n         * Called when the corresponding route is deactivated during navigation.\n         * Because the component get destroyed, all children outlet are destroyed.\n         * @return {?}\n         */\n\n      }, {\n        key: \"onOutletDeactivated\",\n        value: function onOutletDeactivated() {\n          /** @type {?} */\n          var contexts = this.contexts;\n          this.contexts = new Map();\n          return contexts;\n        }\n        /**\n         * @param {?} contexts\n         * @return {?}\n         */\n\n      }, {\n        key: \"onOutletReAttached\",\n        value: function onOutletReAttached(contexts) {\n          this.contexts = contexts;\n        }\n        /**\n         * @param {?} childName\n         * @return {?}\n         */\n\n      }, {\n        key: \"getOrCreateContext\",\n        value: function getOrCreateContext(childName) {\n          /** @type {?} */\n          var context = this.getContext(childName);\n\n          if (!context) {\n            context = new OutletContext();\n            this.contexts.set(childName, context);\n          }\n\n          return context;\n        }\n        /**\n         * @param {?} childName\n         * @return {?}\n         */\n\n      }, {\n        key: \"getContext\",\n        value: function getContext(childName) {\n          return this.contexts.get(childName) || null;\n        }\n      }]);\n\n      return ChildrenOutletContexts;\n    }();\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * \\@description\n     *\n     * Acts as a placeholder that Angular dynamically fills based on the current router state.\n     *\n     * Each outlet can have a unique name, determined by the optional `name` attribute.\n     * The name cannot be set or changed dynamically. If not set, default value is \"primary\".\n     *\n     * ```\n     * <router-outlet></router-outlet>\n     * <router-outlet name='left'></router-outlet>\n     * <router-outlet name='right'></router-outlet>\n     * ```\n     *\n     * A router outlet emits an activate event when a new component is instantiated,\n     * and a deactivate event when a component is destroyed.\n     *\n     * ```\n     * <router-outlet\n     *   (activate)='onActivate($event)'\n     *   (deactivate)='onDeactivate($event)'></router-outlet>\n     * ```\n     * \\@ngModule RouterModule\n     *\n     * \\@publicApi\n     */\n\n\n    var RouterOutlet =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} parentContexts\n       * @param {?} location\n       * @param {?} resolver\n       * @param {?} name\n       * @param {?} changeDetector\n       */\n      function RouterOutlet(parentContexts, location, resolver, name, changeDetector) {\n        _classCallCheck(this, RouterOutlet);\n\n        this.parentContexts = parentContexts;\n        this.location = location;\n        this.resolver = resolver;\n        this.changeDetector = changeDetector;\n        this.activated = null;\n        this._activatedRoute = null;\n        this.activateEvents = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"EventEmitter\"]();\n        this.deactivateEvents = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"EventEmitter\"]();\n        this.name = name || PRIMARY_OUTLET;\n        parentContexts.onChildOutletCreated(this.name, this);\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(RouterOutlet, [{\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          this.parentContexts.onChildOutletDestroyed(this.name);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngOnInit\",\n        value: function ngOnInit() {\n          if (!this.activated) {\n            // If the outlet was not instantiated at the time the route got activated we need to populate\n            // the outlet when it is initialized (ie inside a NgIf)\n\n            /** @type {?} */\n            var context = this.parentContexts.getContext(this.name);\n\n            if (context && context.route) {\n              if (context.attachRef) {\n                // `attachRef` is populated when there is an existing component to mount\n                this.attach(context.attachRef, context.route);\n              } else {\n                // otherwise the component defined in the configuration is created\n                this.activateWith(context.route, context.resolver || null);\n              }\n            }\n          }\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"detach\",\n\n        /**\n         * Called when the `RouteReuseStrategy` instructs to detach the subtree\n         * @return {?}\n         */\n        value: function detach() {\n          if (!this.activated) throw new Error('Outlet is not activated');\n          this.location.detach();\n          /** @type {?} */\n\n          var cmp = this.activated;\n          this.activated = null;\n          this._activatedRoute = null;\n          return cmp;\n        }\n        /**\n         * Called when the `RouteReuseStrategy` instructs to re-attach a previously detached subtree\n         * @param {?} ref\n         * @param {?} activatedRoute\n         * @return {?}\n         */\n\n      }, {\n        key: \"attach\",\n        value: function attach(ref, activatedRoute) {\n          this.activated = ref;\n          this._activatedRoute = activatedRoute;\n          this.location.insert(ref.hostView);\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"deactivate\",\n        value: function deactivate() {\n          if (this.activated) {\n            /** @type {?} */\n            var c = this.component;\n            this.activated.destroy();\n            this.activated = null;\n            this._activatedRoute = null;\n            this.deactivateEvents.emit(c);\n          }\n        }\n        /**\n         * @param {?} activatedRoute\n         * @param {?} resolver\n         * @return {?}\n         */\n\n      }, {\n        key: \"activateWith\",\n        value: function activateWith(activatedRoute, resolver) {\n          if (this.isActivated) {\n            throw new Error('Cannot activate an already activated outlet');\n          }\n\n          this._activatedRoute = activatedRoute;\n          /** @type {?} */\n\n          var snapshot = activatedRoute._futureSnapshot;\n          /** @type {?} */\n\n          var component =\n          /** @type {?} */\n\n          /** @type {?} */\n          snapshot.routeConfig.component;\n          resolver = resolver || this.resolver;\n          /** @type {?} */\n\n          var factory = resolver.resolveComponentFactory(component);\n          /** @type {?} */\n\n          var childContexts = this.parentContexts.getOrCreateContext(this.name).children;\n          /** @type {?} */\n\n          var injector = new OutletInjector(activatedRoute, childContexts, this.location.injector);\n          this.activated = this.location.createComponent(factory, this.location.length, injector); // Calling `markForCheck` to make sure we will run the change detection when the\n          // `RouterOutlet` is inside a `ChangeDetectionStrategy.OnPush` component.\n\n          this.changeDetector.markForCheck();\n          this.activateEvents.emit(this.activated.instance);\n        }\n      }, {\n        key: \"isActivated\",\n        get: function get() {\n          return !!this.activated;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"component\",\n        get: function get() {\n          if (!this.activated) throw new Error('Outlet is not activated');\n          return this.activated.instance;\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"activatedRoute\",\n        get: function get() {\n          if (!this.activated) throw new Error('Outlet is not activated');\n          return (\n            /** @type {?} */\n            this._activatedRoute\n          );\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"activatedRouteData\",\n        get: function get() {\n          if (this._activatedRoute) {\n            return this._activatedRoute.snapshot.data;\n          }\n\n          return {};\n        }\n      }]);\n\n      return RouterOutlet;\n    }();\n\n    RouterOutlet.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Directive\"],\n      args: [{\n        selector: 'router-outlet',\n        exportAs: 'outlet'\n      }]\n    }];\n    /** @nocollapse */\n\n    RouterOutlet.ctorParameters = function () {\n      return [{\n        type: ChildrenOutletContexts\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ViewContainerRef\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ComponentFactoryResolver\"]\n      }, {\n        type: String,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Attribute\"],\n          args: ['name']\n        }]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ChangeDetectorRef\"]\n      }];\n    };\n\n    RouterOutlet.propDecorators = {\n      activateEvents: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Output\"],\n        args: ['activate']\n      }],\n      deactivateEvents: [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Output\"],\n        args: ['deactivate']\n      }]\n    };\n\n    if (false) {}\n\n    var OutletInjector =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} route\n       * @param {?} childContexts\n       * @param {?} parent\n       */\n      function OutletInjector(route, childContexts, parent) {\n        _classCallCheck(this, OutletInjector);\n\n        this.route = route;\n        this.childContexts = childContexts;\n        this.parent = parent;\n      }\n      /**\n       * @param {?} token\n       * @param {?=} notFoundValue\n       * @return {?}\n       */\n\n\n      _createClass2(OutletInjector, [{\n        key: \"get\",\n        value: function get(token, notFoundValue) {\n          if (token === ActivatedRoute) {\n            return this.route;\n          }\n\n          if (token === ChildrenOutletContexts) {\n            return this.childContexts;\n          }\n\n          return this.parent.get(token, notFoundValue);\n        }\n      }]);\n\n      return OutletInjector;\n    }();\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * \\@description\n     *\n     * Provides a preloading strategy.\n     *\n     * \\@publicApi\n     * @abstract\n     */\n\n\n    var PreloadingStrategy = function PreloadingStrategy() {\n      _classCallCheck(this, PreloadingStrategy);\n    };\n\n    if (false) {}\n    /**\n     * \\@description\n     *\n     * Provides a preloading strategy that preloads all modules as quickly as possible.\n     *\n     * ```\n     * RouteModule.forRoot(ROUTES, {preloadingStrategy: PreloadAllModules})\n     * ```\n     *\n     * \\@publicApi\n     */\n\n\n    var PreloadAllModules =\n    /*#__PURE__*/\n    function () {\n      function PreloadAllModules() {\n        _classCallCheck(this, PreloadAllModules);\n      }\n\n      _createClass2(PreloadAllModules, [{\n        key: \"preload\",\n\n        /**\n         * @param {?} route\n         * @param {?} fn\n         * @return {?}\n         */\n        value: function preload(route, fn) {\n          return fn().pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"catchError\"])(\n          /**\n          * @return {?}\n          */\n          function () {\n            return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(null);\n          }));\n        }\n      }]);\n\n      return PreloadAllModules;\n    }();\n    /**\n     * \\@description\n     *\n     * Provides a preloading strategy that does not preload any modules.\n     *\n     * This strategy is enabled by default.\n     *\n     * \\@publicApi\n     */\n\n\n    var NoPreloading =\n    /*#__PURE__*/\n    function () {\n      function NoPreloading() {\n        _classCallCheck(this, NoPreloading);\n      }\n\n      _createClass2(NoPreloading, [{\n        key: \"preload\",\n\n        /**\n         * @param {?} route\n         * @param {?} fn\n         * @return {?}\n         */\n        value: function preload(route, fn) {\n          return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(null);\n        }\n      }]);\n\n      return NoPreloading;\n    }();\n    /**\n     * The preloader optimistically loads all router configurations to\n     * make navigations into lazily-loaded sections of the application faster.\n     *\n     * The preloader runs in the background. When the router bootstraps, the preloader\n     * starts listening to all navigation events. After every such event, the preloader\n     * will check if any configurations can be loaded lazily.\n     *\n     * If a route is protected by `canLoad` guards, the preloaded will not load it.\n     *\n     * \\@publicApi\n     */\n\n\n    var RouterPreloader =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} router\n       * @param {?} moduleLoader\n       * @param {?} compiler\n       * @param {?} injector\n       * @param {?} preloadingStrategy\n       */\n      function RouterPreloader(router, moduleLoader, compiler, injector, preloadingStrategy) {\n        _classCallCheck(this, RouterPreloader);\n\n        this.router = router;\n        this.injector = injector;\n        this.preloadingStrategy = preloadingStrategy;\n        /** @type {?} */\n\n        var onStartLoad =\n        /**\n        * @param {?} r\n        * @return {?}\n        */\n        function onStartLoad(r) {\n          return router.triggerEvent(new RouteConfigLoadStart(r));\n        };\n        /** @type {?} */\n\n\n        var onEndLoad =\n        /**\n        * @param {?} r\n        * @return {?}\n        */\n        function onEndLoad(r) {\n          return router.triggerEvent(new RouteConfigLoadEnd(r));\n        };\n\n        this.loader = new RouterConfigLoader(moduleLoader, compiler, onStartLoad, onEndLoad);\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(RouterPreloader, [{\n        key: \"setUpPreloading\",\n        value: function setUpPreloading() {\n          var _this692 = this;\n\n          this.subscription = this.router.events.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"filter\"])(\n          /**\n          * @param {?} e\n          * @return {?}\n          */\n          function (e) {\n            return e instanceof NavigationEnd;\n          }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"concatMap\"])(\n          /**\n          * @return {?}\n          */\n          function () {\n            return _this692.preload();\n          })).subscribe(\n          /**\n          * @return {?}\n          */\n          function () {});\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"preload\",\n        value: function preload() {\n          /** @type {?} */\n          var ngModule = this.injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgModuleRef\"]);\n          return this.processRoutes(ngModule, this.router.config);\n        } // TODO(jasonaden): This class relies on code external to the class to call setUpPreloading. If\n        // this hasn't been done, ngOnDestroy will fail as this.subscription will be undefined. This\n        // should be refactored.\n\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          this.subscription.unsubscribe();\n        }\n        /**\n         * @private\n         * @param {?} ngModule\n         * @param {?} routes\n         * @return {?}\n         */\n\n      }, {\n        key: \"processRoutes\",\n        value: function processRoutes(ngModule, routes) {\n          /** @type {?} */\n          var res = [];\n          var _iteratorNormalCompletion63 = true;\n          var _didIteratorError63 = false;\n          var _iteratorError63 = undefined;\n\n          try {\n            for (var _iterator63 = routes[Symbol.iterator](), _step63; !(_iteratorNormalCompletion63 = (_step63 = _iterator63.next()).done); _iteratorNormalCompletion63 = true) {\n              var route = _step63.value;\n\n              // we already have the config loaded, just recurse\n              if (route.loadChildren && !route.canLoad && route._loadedConfig) {\n                /** @type {?} */\n                var childConfig = route._loadedConfig;\n                res.push(this.processRoutes(childConfig.module, childConfig.routes)); // no config loaded, fetch the config\n              } else if (route.loadChildren && !route.canLoad) {\n                res.push(this.preloadConfig(ngModule, route)); // recurse into children\n              } else if (route.children) {\n                res.push(this.processRoutes(ngModule, route.children));\n              }\n            }\n          } catch (err) {\n            _didIteratorError63 = true;\n            _iteratorError63 = err;\n          } finally {\n            try {\n              if (!_iteratorNormalCompletion63 && _iterator63.return != null) {\n                _iterator63.return();\n              }\n            } finally {\n              if (_didIteratorError63) {\n                throw _iteratorError63;\n              }\n            }\n          }\n\n          return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"from\"])(res).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"mergeAll\"])(), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(\n          /**\n          * @param {?} _\n          * @return {?}\n          */\n          function (_) {\n            return void 0;\n          }));\n        }\n        /**\n         * @private\n         * @param {?} ngModule\n         * @param {?} route\n         * @return {?}\n         */\n\n      }, {\n        key: \"preloadConfig\",\n        value: function preloadConfig(ngModule, route) {\n          var _this693 = this;\n\n          return this.preloadingStrategy.preload(route,\n          /**\n          * @return {?}\n          */\n          function () {\n            /** @type {?} */\n            var loaded$ = _this693.loader.load(ngModule.injector, route);\n\n            return loaded$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__[\"mergeMap\"])(\n            /**\n            * @param {?} config\n            * @return {?}\n            */\n            function (config) {\n              route._loadedConfig = config;\n              return _this693.processRoutes(config.module, config.routes);\n            }));\n          });\n        }\n      }]);\n\n      return RouterPreloader;\n    }();\n\n    RouterPreloader.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"]\n    }];\n    /** @nocollapse */\n\n    RouterPreloader.ctorParameters = function () {\n      return [{\n        type: Router\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgModuleFactoryLoader\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Compiler\"]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injector\"]\n      }, {\n        type: PreloadingStrategy\n      }];\n    };\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n\n    var RouterScroller =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} router\n       * @param {?} viewportScroller\n       * @param {?=} options\n       */\n      function RouterScroller(router, viewportScroller) {\n        var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n        _classCallCheck(this, RouterScroller);\n\n        this.router = router;\n        this.viewportScroller = viewportScroller;\n        this.options = options;\n        this.lastId = 0;\n        this.lastSource = 'imperative';\n        this.restoredId = 0;\n        this.store = {}; // Default both options to 'disabled'\n\n        options.scrollPositionRestoration = options.scrollPositionRestoration || 'disabled';\n        options.anchorScrolling = options.anchorScrolling || 'disabled';\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(RouterScroller, [{\n        key: \"init\",\n        value: function init() {\n          // we want to disable the automatic scrolling because having two places\n          // responsible for scrolling results race conditions, especially given\n          // that browser don't implement this behavior consistently\n          if (this.options.scrollPositionRestoration !== 'disabled') {\n            this.viewportScroller.setHistoryScrollRestoration('manual');\n          }\n\n          this.routerEventsSubscription = this.createScrollEvents();\n          this.scrollEventsSubscription = this.consumeScrollEvents();\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"createScrollEvents\",\n        value: function createScrollEvents() {\n          var _this694 = this;\n\n          return this.router.events.subscribe(\n          /**\n          * @param {?} e\n          * @return {?}\n          */\n          function (e) {\n            if (e instanceof NavigationStart) {\n              // store the scroll position of the current stable navigations.\n              _this694.store[_this694.lastId] = _this694.viewportScroller.getScrollPosition();\n              _this694.lastSource = e.navigationTrigger;\n              _this694.restoredId = e.restoredState ? e.restoredState.navigationId : 0;\n            } else if (e instanceof NavigationEnd) {\n              _this694.lastId = e.id;\n\n              _this694.scheduleScrollEvent(e, _this694.router.parseUrl(e.urlAfterRedirects).fragment);\n            }\n          });\n        }\n        /**\n         * @private\n         * @return {?}\n         */\n\n      }, {\n        key: \"consumeScrollEvents\",\n        value: function consumeScrollEvents() {\n          var _this695 = this;\n\n          return this.router.events.subscribe(\n          /**\n          * @param {?} e\n          * @return {?}\n          */\n          function (e) {\n            if (!(e instanceof Scroll)) return; // a popstate event. The pop state event will always ignore anchor scrolling.\n\n            if (e.position) {\n              if (_this695.options.scrollPositionRestoration === 'top') {\n                _this695.viewportScroller.scrollToPosition([0, 0]);\n              } else if (_this695.options.scrollPositionRestoration === 'enabled') {\n                _this695.viewportScroller.scrollToPosition(e.position);\n              } // imperative navigation \"forward\"\n\n            } else {\n              if (e.anchor && _this695.options.anchorScrolling === 'enabled') {\n                _this695.viewportScroller.scrollToAnchor(e.anchor);\n              } else if (_this695.options.scrollPositionRestoration !== 'disabled') {\n                _this695.viewportScroller.scrollToPosition([0, 0]);\n              }\n            }\n          });\n        }\n        /**\n         * @private\n         * @param {?} routerEvent\n         * @param {?} anchor\n         * @return {?}\n         */\n\n      }, {\n        key: \"scheduleScrollEvent\",\n        value: function scheduleScrollEvent(routerEvent, anchor) {\n          this.router.triggerEvent(new Scroll(routerEvent, this.lastSource === 'popstate' ? this.store[this.restoredId] : null, anchor));\n        }\n        /**\n         * @return {?}\n         */\n\n      }, {\n        key: \"ngOnDestroy\",\n        value: function ngOnDestroy() {\n          if (this.routerEventsSubscription) {\n            this.routerEventsSubscription.unsubscribe();\n          }\n\n          if (this.scrollEventsSubscription) {\n            this.scrollEventsSubscription.unsubscribe();\n          }\n        }\n      }]);\n\n      return RouterScroller;\n    }();\n\n    if (false) {}\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * The directives defined in the `RouterModule`.\n     * @type {?}\n     */\n\n\n    var ROUTER_DIRECTIVES = [RouterOutlet, RouterLink, RouterLinkWithHref, RouterLinkActive, ɵEmptyOutletComponent];\n    /**\n     * A [DI token](guide/glossary/#di-token) for the router service.\n     *\n     * \\@publicApi\n     * @type {?}\n     */\n\n    var ROUTER_CONFIGURATION = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"InjectionToken\"]('ROUTER_CONFIGURATION');\n    /**\n     * \\@docsNotRequired\n     * @type {?}\n     */\n\n    var ROUTER_FORROOT_GUARD = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"InjectionToken\"]('ROUTER_FORROOT_GUARD');\n    var ɵ0 = {\n      enableTracing: false\n    };\n    /** @type {?} */\n\n    var ROUTER_PROVIDERS = [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"Location\"], {\n      provide: UrlSerializer,\n      useClass: DefaultUrlSerializer\n    }, {\n      provide: Router,\n      useFactory: setupRouter,\n      deps: [_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ApplicationRef\"], UrlSerializer, ChildrenOutletContexts, _angular_common__WEBPACK_IMPORTED_MODULE_0__[\"Location\"], _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injector\"], _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgModuleFactoryLoader\"], _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Compiler\"], ROUTES, ROUTER_CONFIGURATION, [UrlHandlingStrategy, new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"]()], [RouteReuseStrategy, new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"]()]]\n    }, ChildrenOutletContexts, {\n      provide: ActivatedRoute,\n      useFactory: rootRoute,\n      deps: [Router]\n    }, {\n      provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgModuleFactoryLoader\"],\n      useClass: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"SystemJsNgModuleLoader\"]\n    }, RouterPreloader, NoPreloading, PreloadAllModules, {\n      provide: ROUTER_CONFIGURATION,\n      useValue: ɵ0\n    }];\n    /**\n     * @return {?}\n     */\n\n    function routerNgProbeToken() {\n      return new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgProbeToken\"]('Router', Router);\n    }\n    /**\n     * \\@usageNotes\n     *\n     * RouterModule can be imported multiple times: once per lazily-loaded bundle.\n     * Since the router deals with a global shared resource--location, we cannot have\n     * more than one router service active.\n     *\n     * That is why there are two ways to create the module: `RouterModule.forRoot` and\n     * `RouterModule.forChild`.\n     *\n     * * `forRoot` creates a module that contains all the directives, the given routes, and the router\n     *   service itself.\n     * * `forChild` creates a module that contains all the directives and the given routes, but does not\n     *   include the router service.\n     *\n     * When registered at the root, the module should be used as follows\n     *\n     * ```\n     * \\@NgModule({\n     *   imports: [RouterModule.forRoot(ROUTES)]\n     * })\n     * class MyNgModule {}\n     * ```\n     *\n     * For submodules and lazy loaded submodules the module should be used as follows:\n     *\n     * ```\n     * \\@NgModule({\n     *   imports: [RouterModule.forChild(ROUTES)]\n     * })\n     * class MyNgModule {}\n     * ```\n     *\n     * \\@description\n     *\n     * Adds router directives and providers.\n     *\n     * Managing state transitions is one of the hardest parts of building applications. This is\n     * especially true on the web, where you also need to ensure that the state is reflected in the URL.\n     * In addition, we often want to split applications into multiple bundles and load them on demand.\n     * Doing this transparently is not trivial.\n     *\n     * The Angular router service solves these problems. Using the router, you can declaratively specify\n     * application states, manage state transitions while taking care of the URL, and load bundles on\n     * demand.\n     *\n     * @see [Routing and Navigation](guide/router.html) for an\n     * overview of how the router service should be used.\n     *\n     * \\@publicApi\n     */\n\n\n    var RouterModule =\n    /*#__PURE__*/\n    function () {\n      // Note: We are injecting the Router so it gets created eagerly...\n\n      /**\n       * @param {?} guard\n       * @param {?} router\n       */\n      function RouterModule(guard, router) {\n        _classCallCheck(this, RouterModule);\n      }\n      /**\n       * Creates and configures a module with all the router providers and directives.\n       * Optionally sets up an application listener to perform an initial navigation.\n       *\n       * @param {?} routes An array of `Route` objects that define the navigation paths for the application.\n       * @param {?=} config An `ExtraOptions` configuration object that controls how navigation is performed.\n       * @return {?} The new router module.\n       */\n\n\n      _createClass2(RouterModule, null, [{\n        key: \"forRoot\",\n        value: function forRoot(routes, config) {\n          return {\n            ngModule: RouterModule,\n            providers: [ROUTER_PROVIDERS, provideRoutes(routes), {\n              provide: ROUTER_FORROOT_GUARD,\n              useFactory: provideForRootGuard,\n              deps: [[Router, new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"](), new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"SkipSelf\"]()]]\n            }, {\n              provide: ROUTER_CONFIGURATION,\n              useValue: config ? config : {}\n            }, {\n              provide: _angular_common__WEBPACK_IMPORTED_MODULE_0__[\"LocationStrategy\"],\n              useFactory: provideLocationStrategy,\n              deps: [_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"PlatformLocation\"], [new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"](_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"APP_BASE_HREF\"]), new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"]()], ROUTER_CONFIGURATION]\n            }, {\n              provide: RouterScroller,\n              useFactory: createRouterScroller,\n              deps: [Router, _angular_common__WEBPACK_IMPORTED_MODULE_0__[\"ViewportScroller\"], ROUTER_CONFIGURATION]\n            }, {\n              provide: PreloadingStrategy,\n              useExisting: config && config.preloadingStrategy ? config.preloadingStrategy : NoPreloading\n            }, {\n              provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgProbeToken\"],\n              multi: true,\n              useFactory: routerNgProbeToken\n            }, provideRouterInitializer()]\n          };\n        }\n        /**\n         * Creates a module with all the router directives and a provider registering routes.\n         * @param {?} routes\n         * @return {?}\n         */\n\n      }, {\n        key: \"forChild\",\n        value: function forChild(routes) {\n          return {\n            ngModule: RouterModule,\n            providers: [provideRoutes(routes)]\n          };\n        }\n      }]);\n\n      return RouterModule;\n    }();\n\n    RouterModule.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"NgModule\"],\n      args: [{\n        declarations: ROUTER_DIRECTIVES,\n        exports: ROUTER_DIRECTIVES,\n        entryComponents: [ɵEmptyOutletComponent]\n      }]\n    }];\n    /** @nocollapse */\n\n    RouterModule.ctorParameters = function () {\n      return [{\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"]\n        }, {\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"],\n          args: [ROUTER_FORROOT_GUARD]\n        }]\n      }, {\n        type: Router,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Optional\"]\n        }]\n      }];\n    };\n    /**\n     * @param {?} router\n     * @param {?} viewportScroller\n     * @param {?} config\n     * @return {?}\n     */\n\n\n    function createRouterScroller(router, viewportScroller, config) {\n      if (config.scrollOffset) {\n        viewportScroller.setOffset(config.scrollOffset);\n      }\n\n      return new RouterScroller(router, viewportScroller, config);\n    }\n    /**\n     * @param {?} platformLocationStrategy\n     * @param {?} baseHref\n     * @param {?=} options\n     * @return {?}\n     */\n\n\n    function provideLocationStrategy(platformLocationStrategy, baseHref) {\n      var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n      return options.useHash ? new _angular_common__WEBPACK_IMPORTED_MODULE_0__[\"HashLocationStrategy\"](platformLocationStrategy, baseHref) : new _angular_common__WEBPACK_IMPORTED_MODULE_0__[\"PathLocationStrategy\"](platformLocationStrategy, baseHref);\n    }\n    /**\n     * @param {?} router\n     * @return {?}\n     */\n\n\n    function provideForRootGuard(router) {\n      if (router) {\n        throw new Error(\"RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.\");\n      }\n\n      return 'guarded';\n    }\n    /**\n     * Registers a [DI provider](guide/glossary#provider) for a set of routes.\n     * \\@usageNotes\n     *\n     * ```\n     * \\@NgModule({\n     *   imports: [RouterModule.forChild(ROUTES)],\n     *   providers: [provideRoutes(EXTRA_ROUTES)]\n     * })\n     * class MyNgModule {}\n     * ```\n     *\n     * \\@publicApi\n     * @param {?} routes The route configuration to provide.\n     *\n     * @return {?}\n     */\n\n\n    function provideRoutes(routes) {\n      return [{\n        provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ANALYZE_FOR_ENTRY_COMPONENTS\"],\n        multi: true,\n        useValue: routes\n      }, {\n        provide: ROUTES,\n        multi: true,\n        useValue: routes\n      }];\n    }\n    /**\n     * A set of configuration options for a router module, provided in the\n     * `forRoot()` method.\n     *\n     * \\@publicApi\n     * @record\n     */\n\n\n    function ExtraOptions() {}\n\n    if (false) {}\n    /**\n     * @param {?} ref\n     * @param {?} urlSerializer\n     * @param {?} contexts\n     * @param {?} location\n     * @param {?} injector\n     * @param {?} loader\n     * @param {?} compiler\n     * @param {?} config\n     * @param {?=} opts\n     * @param {?=} urlHandlingStrategy\n     * @param {?=} routeReuseStrategy\n     * @return {?}\n     */\n\n\n    function setupRouter(ref, urlSerializer, contexts, location, injector, loader, compiler, config) {\n      var opts = arguments.length > 8 && arguments[8] !== undefined ? arguments[8] : {};\n      var urlHandlingStrategy = arguments.length > 9 ? arguments[9] : undefined;\n      var routeReuseStrategy = arguments.length > 10 ? arguments[10] : undefined;\n\n      /** @type {?} */\n      var router = new Router(null, urlSerializer, contexts, location, injector, loader, compiler, flatten(config));\n\n      if (urlHandlingStrategy) {\n        router.urlHandlingStrategy = urlHandlingStrategy;\n      }\n\n      if (routeReuseStrategy) {\n        router.routeReuseStrategy = routeReuseStrategy;\n      }\n\n      if (opts.errorHandler) {\n        router.errorHandler = opts.errorHandler;\n      }\n\n      if (opts.malformedUriErrorHandler) {\n        router.malformedUriErrorHandler = opts.malformedUriErrorHandler;\n      }\n\n      if (opts.enableTracing) {\n        /** @type {?} */\n        var dom = Object(_angular_platform_browser__WEBPACK_IMPORTED_MODULE_4__[\"ɵgetDOM\"])();\n        router.events.subscribe(\n        /**\n        * @param {?} e\n        * @return {?}\n        */\n        function (e) {\n          dom.logGroup(\"Router Event: \".concat(\n          /** @type {?} */\n          e.constructor.name));\n          dom.log(e.toString());\n          dom.log(e);\n          dom.logGroupEnd();\n        });\n      }\n\n      if (opts.onSameUrlNavigation) {\n        router.onSameUrlNavigation = opts.onSameUrlNavigation;\n      }\n\n      if (opts.paramsInheritanceStrategy) {\n        router.paramsInheritanceStrategy = opts.paramsInheritanceStrategy;\n      }\n\n      if (opts.urlUpdateStrategy) {\n        router.urlUpdateStrategy = opts.urlUpdateStrategy;\n      }\n\n      if (opts.relativeLinkResolution) {\n        router.relativeLinkResolution = opts.relativeLinkResolution;\n      }\n\n      return router;\n    }\n    /**\n     * @param {?} router\n     * @return {?}\n     */\n\n\n    function rootRoute(router) {\n      return router.routerState.root;\n    }\n    /**\n     * Router initialization requires two steps:\n     *\n     * First, we start the navigation in a `APP_INITIALIZER` to block the bootstrap if\n     * a resolver or a guard executes asynchronously.\n     *\n     * Next, we actually run activation in a `BOOTSTRAP_LISTENER`, using the\n     * `afterPreactivation` hook provided by the router.\n     * The router navigation starts, reaches the point when preactivation is done, and then\n     * pauses. It waits for the hook to be resolved. We then resolve it only in a bootstrap listener.\n     */\n\n\n    var RouterInitializer =\n    /*#__PURE__*/\n    function () {\n      /**\n       * @param {?} injector\n       */\n      function RouterInitializer(injector) {\n        _classCallCheck(this, RouterInitializer);\n\n        this.injector = injector;\n        this.initNavigation = false;\n        this.resultOfPreactivationDone = new rxjs__WEBPACK_IMPORTED_MODULE_2__[\"Subject\"]();\n      }\n      /**\n       * @return {?}\n       */\n\n\n      _createClass2(RouterInitializer, [{\n        key: \"appInitializer\",\n        value: function appInitializer() {\n          var _this696 = this;\n\n          /** @type {?} */\n          var p = this.injector.get(_angular_common__WEBPACK_IMPORTED_MODULE_0__[\"LOCATION_INITIALIZED\"], Promise.resolve(null));\n          return p.then(\n          /**\n          * @return {?}\n          */\n          function () {\n            /** @type {?} */\n            var resolve =\n            /** @type {?} */\n            null;\n            /** @type {?} */\n\n            var res = new Promise(\n            /**\n            * @param {?} r\n            * @return {?}\n            */\n            function (r) {\n              return resolve = r;\n            });\n            /** @type {?} */\n\n            var router = _this696.injector.get(Router);\n            /** @type {?} */\n\n\n            var opts = _this696.injector.get(ROUTER_CONFIGURATION);\n\n            if (_this696.isLegacyDisabled(opts) || _this696.isLegacyEnabled(opts)) {\n              resolve(true);\n            } else if (opts.initialNavigation === 'disabled') {\n              router.setUpLocationChangeListener();\n              resolve(true);\n            } else if (opts.initialNavigation === 'enabled') {\n              router.hooks.afterPreactivation =\n              /**\n              * @return {?}\n              */\n              function () {\n                // only the initial navigation should be delayed\n                if (!_this696.initNavigation) {\n                  _this696.initNavigation = true;\n                  resolve(true);\n                  return _this696.resultOfPreactivationDone; // subsequent navigations should not be delayed\n                } else {\n                  return (\n                    /** @type {?} */\n                    Object(rxjs__WEBPACK_IMPORTED_MODULE_2__[\"of\"])(null)\n                  );\n                }\n              };\n\n              router.initialNavigation();\n            } else {\n              throw new Error(\"Invalid initialNavigation options: '\".concat(opts.initialNavigation, \"'\"));\n            }\n\n            return res;\n          });\n        }\n        /**\n         * @param {?} bootstrappedComponentRef\n         * @return {?}\n         */\n\n      }, {\n        key: \"bootstrapListener\",\n        value: function bootstrapListener(bootstrappedComponentRef) {\n          /** @type {?} */\n          var opts = this.injector.get(ROUTER_CONFIGURATION);\n          /** @type {?} */\n\n          var preloader = this.injector.get(RouterPreloader);\n          /** @type {?} */\n\n          var routerScroller = this.injector.get(RouterScroller);\n          /** @type {?} */\n\n          var router = this.injector.get(Router);\n          /** @type {?} */\n\n          var ref = this.injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ApplicationRef\"]);\n\n          if (bootstrappedComponentRef !== ref.components[0]) {\n            return;\n          }\n\n          if (this.isLegacyEnabled(opts)) {\n            router.initialNavigation();\n          } else if (this.isLegacyDisabled(opts)) {\n            router.setUpLocationChangeListener();\n          }\n\n          preloader.setUpPreloading();\n          routerScroller.init();\n          router.resetRootComponentType(ref.componentTypes[0]);\n          this.resultOfPreactivationDone.next(\n          /** @type {?} */\n          null);\n          this.resultOfPreactivationDone.complete();\n        }\n        /**\n         * @private\n         * @param {?} opts\n         * @return {?}\n         */\n\n      }, {\n        key: \"isLegacyEnabled\",\n        value: function isLegacyEnabled(opts) {\n          return opts.initialNavigation === 'legacy_enabled' || opts.initialNavigation === true || opts.initialNavigation === undefined;\n        }\n        /**\n         * @private\n         * @param {?} opts\n         * @return {?}\n         */\n\n      }, {\n        key: \"isLegacyDisabled\",\n        value: function isLegacyDisabled(opts) {\n          return opts.initialNavigation === 'legacy_disabled' || opts.initialNavigation === false;\n        }\n      }]);\n\n      return RouterInitializer;\n    }();\n\n    RouterInitializer.decorators = [{\n      type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"]\n    }];\n    /** @nocollapse */\n\n    RouterInitializer.ctorParameters = function () {\n      return [{\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injector\"]\n      }];\n    };\n\n    if (false) {}\n    /**\n     * @param {?} r\n     * @return {?}\n     */\n\n\n    function getAppInitializer(r) {\n      return r.appInitializer.bind(r);\n    }\n    /**\n     * @param {?} r\n     * @return {?}\n     */\n\n\n    function getBootstrapListener(r) {\n      return r.bootstrapListener.bind(r);\n    }\n    /**\n     * A [DI token](guide/glossary/#di-token) for the router initializer that\n     * is called after the app is bootstrapped.\n     *\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var ROUTER_INITIALIZER = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"InjectionToken\"]('Router Initializer');\n    /**\n     * @return {?}\n     */\n\n    function provideRouterInitializer() {\n      return [RouterInitializer, {\n        provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"APP_INITIALIZER\"],\n        multi: true,\n        useFactory: getAppInitializer,\n        deps: [RouterInitializer]\n      }, {\n        provide: ROUTER_INITIALIZER,\n        useFactory: getBootstrapListener,\n        deps: [RouterInitializer]\n      }, {\n        provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"APP_BOOTSTRAP_LISTENER\"],\n        multi: true,\n        useExisting: ROUTER_INITIALIZER\n      }];\n    }\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * \\@publicApi\n     * @type {?}\n     */\n\n\n    var VERSION = new _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Version\"]('8.2.14');\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * @fileoverview added by tsickle\n     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n     */\n\n    /**\n     * Generated bundle index. Do not edit.\n     */\n\n    /***/\n  },\n\n  /***/\n  \"./node_modules/hammerjs/hammer.js\":\n  /*!*****************************************!*\\\n    !*** ./node_modules/hammerjs/hammer.js ***!\n    \\*****************************************/\n\n  /*! no static exports found */\n\n  /***/\n  function node_modulesHammerjsHammerJs(module, exports, __webpack_require__) {\n    var __WEBPACK_AMD_DEFINE_RESULT__;\n    /*! Hammer.JS - v2.0.7 - 2016-04-22\n    * http://hammerjs.github.io/\n    *\n    * Copyright (c) 2016 Jorik Tangelder;\n    * Licensed under the MIT license */\n\n\n    (function (window, document, exportName, undefined) {\n      'use strict';\n\n      var VENDOR_PREFIXES = ['', 'webkit', 'Moz', 'MS', 'ms', 'o'];\n      var TEST_ELEMENT = document.createElement('div');\n      var TYPE_FUNCTION = 'function';\n      var round = Math.round;\n      var abs = Math.abs;\n      var now = Date.now;\n      /**\n       * set a timeout with a given scope\n       * @param {Function} fn\n       * @param {Number} timeout\n       * @param {Object} context\n       * @returns {number}\n       */\n\n      function setTimeoutContext(fn, timeout, context) {\n        return setTimeout(bindFn(fn, context), timeout);\n      }\n      /**\n       * if the argument is an array, we want to execute the fn on each entry\n       * if it aint an array we don't want to do a thing.\n       * this is used by all the methods that accept a single and array argument.\n       * @param {*|Array} arg\n       * @param {String} fn\n       * @param {Object} [context]\n       * @returns {Boolean}\n       */\n\n\n      function invokeArrayArg(arg, fn, context) {\n        if (Array.isArray(arg)) {\n          each(arg, context[fn], context);\n          return true;\n        }\n\n        return false;\n      }\n      /**\n       * walk objects and arrays\n       * @param {Object} obj\n       * @param {Function} iterator\n       * @param {Object} context\n       */\n\n\n      function each(obj, iterator, context) {\n        var i;\n\n        if (!obj) {\n          return;\n        }\n\n        if (obj.forEach) {\n          obj.forEach(iterator, context);\n        } else if (obj.length !== undefined) {\n          i = 0;\n\n          while (i < obj.length) {\n            iterator.call(context, obj[i], i, obj);\n            i++;\n          }\n        } else {\n          for (i in obj) {\n            obj.hasOwnProperty(i) && iterator.call(context, obj[i], i, obj);\n          }\n        }\n      }\n      /**\n       * wrap a method with a deprecation warning and stack trace\n       * @param {Function} method\n       * @param {String} name\n       * @param {String} message\n       * @returns {Function} A new function wrapping the supplied method.\n       */\n\n\n      function deprecate(method, name, message) {\n        var deprecationMessage = 'DEPRECATED METHOD: ' + name + '\\n' + message + ' AT \\n';\n        return function () {\n          var e = new Error('get-stack-trace');\n          var stack = e && e.stack ? e.stack.replace(/^[^\\(]+?[\\n$]/gm, '').replace(/^\\s+at\\s+/gm, '').replace(/^Object.<anonymous>\\s*\\(/gm, '{anonymous}()@') : 'Unknown Stack Trace';\n          var log = window.console && (window.console.warn || window.console.log);\n\n          if (log) {\n            log.call(window.console, deprecationMessage, stack);\n          }\n\n          return method.apply(this, arguments);\n        };\n      }\n      /**\n       * extend object.\n       * means that properties in dest will be overwritten by the ones in src.\n       * @param {Object} target\n       * @param {...Object} objects_to_assign\n       * @returns {Object} target\n       */\n\n\n      var assign;\n\n      if (typeof Object.assign !== 'function') {\n        assign = function assign(target) {\n          if (target === undefined || target === null) {\n            throw new TypeError('Cannot convert undefined or null to object');\n          }\n\n          var output = Object(target);\n\n          for (var index = 1; index < arguments.length; index++) {\n            var source = arguments[index];\n\n            if (source !== undefined && source !== null) {\n              for (var nextKey in source) {\n                if (source.hasOwnProperty(nextKey)) {\n                  output[nextKey] = source[nextKey];\n                }\n              }\n            }\n          }\n\n          return output;\n        };\n      } else {\n        assign = Object.assign;\n      }\n      /**\n       * extend object.\n       * means that properties in dest will be overwritten by the ones in src.\n       * @param {Object} dest\n       * @param {Object} src\n       * @param {Boolean} [merge=false]\n       * @returns {Object} dest\n       */\n\n\n      var extend = deprecate(function extend(dest, src, merge) {\n        var keys = Object.keys(src);\n        var i = 0;\n\n        while (i < keys.length) {\n          if (!merge || merge && dest[keys[i]] === undefined) {\n            dest[keys[i]] = src[keys[i]];\n          }\n\n          i++;\n        }\n\n        return dest;\n      }, 'extend', 'Use `assign`.');\n      /**\n       * merge the values from src in the dest.\n       * means that properties that exist in dest will not be overwritten by src\n       * @param {Object} dest\n       * @param {Object} src\n       * @returns {Object} dest\n       */\n\n      var merge = deprecate(function merge(dest, src) {\n        return extend(dest, src, true);\n      }, 'merge', 'Use `assign`.');\n      /**\n       * simple class inheritance\n       * @param {Function} child\n       * @param {Function} base\n       * @param {Object} [properties]\n       */\n\n      function inherit(child, base, properties) {\n        var baseP = base.prototype,\n            childP;\n        childP = child.prototype = Object.create(baseP);\n        childP.constructor = child;\n        childP._super = baseP;\n\n        if (properties) {\n          assign(childP, properties);\n        }\n      }\n      /**\n       * simple function bind\n       * @param {Function} fn\n       * @param {Object} context\n       * @returns {Function}\n       */\n\n\n      function bindFn(fn, context) {\n        return function boundFn() {\n          return fn.apply(context, arguments);\n        };\n      }\n      /**\n       * let a boolean value also be a function that must return a boolean\n       * this first item in args will be used as the context\n       * @param {Boolean|Function} val\n       * @param {Array} [args]\n       * @returns {Boolean}\n       */\n\n\n      function boolOrFn(val, args) {\n        if (typeof val == TYPE_FUNCTION) {\n          return val.apply(args ? args[0] || undefined : undefined, args);\n        }\n\n        return val;\n      }\n      /**\n       * use the val2 when val1 is undefined\n       * @param {*} val1\n       * @param {*} val2\n       * @returns {*}\n       */\n\n\n      function ifUndefined(val1, val2) {\n        return val1 === undefined ? val2 : val1;\n      }\n      /**\n       * addEventListener with multiple events at once\n       * @param {EventTarget} target\n       * @param {String} types\n       * @param {Function} handler\n       */\n\n\n      function addEventListeners(target, types, handler) {\n        each(splitStr(types), function (type) {\n          target.addEventListener(type, handler, false);\n        });\n      }\n      /**\n       * removeEventListener with multiple events at once\n       * @param {EventTarget} target\n       * @param {String} types\n       * @param {Function} handler\n       */\n\n\n      function removeEventListeners(target, types, handler) {\n        each(splitStr(types), function (type) {\n          target.removeEventListener(type, handler, false);\n        });\n      }\n      /**\n       * find if a node is in the given parent\n       * @method hasParent\n       * @param {HTMLElement} node\n       * @param {HTMLElement} parent\n       * @return {Boolean} found\n       */\n\n\n      function hasParent(node, parent) {\n        while (node) {\n          if (node == parent) {\n            return true;\n          }\n\n          node = node.parentNode;\n        }\n\n        return false;\n      }\n      /**\n       * small indexOf wrapper\n       * @param {String} str\n       * @param {String} find\n       * @returns {Boolean} found\n       */\n\n\n      function inStr(str, find) {\n        return str.indexOf(find) > -1;\n      }\n      /**\n       * split string on whitespace\n       * @param {String} str\n       * @returns {Array} words\n       */\n\n\n      function splitStr(str) {\n        return str.trim().split(/\\s+/g);\n      }\n      /**\n       * find if a array contains the object using indexOf or a simple polyFill\n       * @param {Array} src\n       * @param {String} find\n       * @param {String} [findByKey]\n       * @return {Boolean|Number} false when not found, or the index\n       */\n\n\n      function inArray(src, find, findByKey) {\n        if (src.indexOf && !findByKey) {\n          return src.indexOf(find);\n        } else {\n          var i = 0;\n\n          while (i < src.length) {\n            if (findByKey && src[i][findByKey] == find || !findByKey && src[i] === find) {\n              return i;\n            }\n\n            i++;\n          }\n\n          return -1;\n        }\n      }\n      /**\n       * convert array-like objects to real arrays\n       * @param {Object} obj\n       * @returns {Array}\n       */\n\n\n      function toArray(obj) {\n        return Array.prototype.slice.call(obj, 0);\n      }\n      /**\n       * unique array with objects based on a key (like 'id') or just by the array's value\n       * @param {Array} src [{id:1},{id:2},{id:1}]\n       * @param {String} [key]\n       * @param {Boolean} [sort=False]\n       * @returns {Array} [{id:1},{id:2}]\n       */\n\n\n      function uniqueArray(src, key, sort) {\n        var results = [];\n        var values = [];\n        var i = 0;\n\n        while (i < src.length) {\n          var val = key ? src[i][key] : src[i];\n\n          if (inArray(values, val) < 0) {\n            results.push(src[i]);\n          }\n\n          values[i] = val;\n          i++;\n        }\n\n        if (sort) {\n          if (!key) {\n            results = results.sort();\n          } else {\n            results = results.sort(function sortUniqueArray(a, b) {\n              return a[key] > b[key];\n            });\n          }\n        }\n\n        return results;\n      }\n      /**\n       * get the prefixed property\n       * @param {Object} obj\n       * @param {String} property\n       * @returns {String|Undefined} prefixed\n       */\n\n\n      function prefixed(obj, property) {\n        var prefix, prop;\n        var camelProp = property[0].toUpperCase() + property.slice(1);\n        var i = 0;\n\n        while (i < VENDOR_PREFIXES.length) {\n          prefix = VENDOR_PREFIXES[i];\n          prop = prefix ? prefix + camelProp : property;\n\n          if (prop in obj) {\n            return prop;\n          }\n\n          i++;\n        }\n\n        return undefined;\n      }\n      /**\n       * get a unique id\n       * @returns {number} uniqueId\n       */\n\n\n      var _uniqueId = 1;\n\n      function uniqueId() {\n        return _uniqueId++;\n      }\n      /**\n       * get the window object of an element\n       * @param {HTMLElement} element\n       * @returns {DocumentView|Window}\n       */\n\n\n      function getWindowForElement(element) {\n        var doc = element.ownerDocument || element;\n        return doc.defaultView || doc.parentWindow || window;\n      }\n\n      var MOBILE_REGEX = /mobile|tablet|ip(ad|hone|od)|android/i;\n      var SUPPORT_TOUCH = 'ontouchstart' in window;\n      var SUPPORT_POINTER_EVENTS = prefixed(window, 'PointerEvent') !== undefined;\n      var SUPPORT_ONLY_TOUCH = SUPPORT_TOUCH && MOBILE_REGEX.test(navigator.userAgent);\n      var INPUT_TYPE_TOUCH = 'touch';\n      var INPUT_TYPE_PEN = 'pen';\n      var INPUT_TYPE_MOUSE = 'mouse';\n      var INPUT_TYPE_KINECT = 'kinect';\n      var COMPUTE_INTERVAL = 25;\n      var INPUT_START = 1;\n      var INPUT_MOVE = 2;\n      var INPUT_END = 4;\n      var INPUT_CANCEL = 8;\n      var DIRECTION_NONE = 1;\n      var DIRECTION_LEFT = 2;\n      var DIRECTION_RIGHT = 4;\n      var DIRECTION_UP = 8;\n      var DIRECTION_DOWN = 16;\n      var DIRECTION_HORIZONTAL = DIRECTION_LEFT | DIRECTION_RIGHT;\n      var DIRECTION_VERTICAL = DIRECTION_UP | DIRECTION_DOWN;\n      var DIRECTION_ALL = DIRECTION_HORIZONTAL | DIRECTION_VERTICAL;\n      var PROPS_XY = ['x', 'y'];\n      var PROPS_CLIENT_XY = ['clientX', 'clientY'];\n      /**\n       * create new input type manager\n       * @param {Manager} manager\n       * @param {Function} callback\n       * @returns {Input}\n       * @constructor\n       */\n\n      function Input(manager, callback) {\n        var self = this;\n        this.manager = manager;\n        this.callback = callback;\n        this.element = manager.element;\n        this.target = manager.options.inputTarget; // smaller wrapper around the handler, for the scope and the enabled state of the manager,\n        // so when disabled the input events are completely bypassed.\n\n        this.domHandler = function (ev) {\n          if (boolOrFn(manager.options.enable, [manager])) {\n            self.handler(ev);\n          }\n        };\n\n        this.init();\n      }\n\n      Input.prototype = {\n        /**\n         * should handle the inputEvent data and trigger the callback\n         * @virtual\n         */\n        handler: function handler() {},\n\n        /**\n         * bind the events\n         */\n        init: function init() {\n          this.evEl && addEventListeners(this.element, this.evEl, this.domHandler);\n          this.evTarget && addEventListeners(this.target, this.evTarget, this.domHandler);\n          this.evWin && addEventListeners(getWindowForElement(this.element), this.evWin, this.domHandler);\n        },\n\n        /**\n         * unbind the events\n         */\n        destroy: function destroy() {\n          this.evEl && removeEventListeners(this.element, this.evEl, this.domHandler);\n          this.evTarget && removeEventListeners(this.target, this.evTarget, this.domHandler);\n          this.evWin && removeEventListeners(getWindowForElement(this.element), this.evWin, this.domHandler);\n        }\n      };\n      /**\n       * create new input type manager\n       * called by the Manager constructor\n       * @param {Hammer} manager\n       * @returns {Input}\n       */\n\n      function createInputInstance(manager) {\n        var Type;\n        var inputClass = manager.options.inputClass;\n\n        if (inputClass) {\n          Type = inputClass;\n        } else if (SUPPORT_POINTER_EVENTS) {\n          Type = PointerEventInput;\n        } else if (SUPPORT_ONLY_TOUCH) {\n          Type = TouchInput;\n        } else if (!SUPPORT_TOUCH) {\n          Type = MouseInput;\n        } else {\n          Type = TouchMouseInput;\n        }\n\n        return new Type(manager, inputHandler);\n      }\n      /**\n       * handle input events\n       * @param {Manager} manager\n       * @param {String} eventType\n       * @param {Object} input\n       */\n\n\n      function inputHandler(manager, eventType, input) {\n        var pointersLen = input.pointers.length;\n        var changedPointersLen = input.changedPointers.length;\n        var isFirst = eventType & INPUT_START && pointersLen - changedPointersLen === 0;\n        var isFinal = eventType & (INPUT_END | INPUT_CANCEL) && pointersLen - changedPointersLen === 0;\n        input.isFirst = !!isFirst;\n        input.isFinal = !!isFinal;\n\n        if (isFirst) {\n          manager.session = {};\n        } // source event is the normalized value of the domEvents\n        // like 'touchstart, mouseup, pointerdown'\n\n\n        input.eventType = eventType; // compute scale, rotation etc\n\n        computeInputData(manager, input); // emit secret event\n\n        manager.emit('hammer.input', input);\n        manager.recognize(input);\n        manager.session.prevInput = input;\n      }\n      /**\n       * extend the data with some usable properties like scale, rotate, velocity etc\n       * @param {Object} manager\n       * @param {Object} input\n       */\n\n\n      function computeInputData(manager, input) {\n        var session = manager.session;\n        var pointers = input.pointers;\n        var pointersLength = pointers.length; // store the first input to calculate the distance and direction\n\n        if (!session.firstInput) {\n          session.firstInput = simpleCloneInputData(input);\n        } // to compute scale and rotation we need to store the multiple touches\n\n\n        if (pointersLength > 1 && !session.firstMultiple) {\n          session.firstMultiple = simpleCloneInputData(input);\n        } else if (pointersLength === 1) {\n          session.firstMultiple = false;\n        }\n\n        var firstInput = session.firstInput;\n        var firstMultiple = session.firstMultiple;\n        var offsetCenter = firstMultiple ? firstMultiple.center : firstInput.center;\n        var center = input.center = getCenter(pointers);\n        input.timeStamp = now();\n        input.deltaTime = input.timeStamp - firstInput.timeStamp;\n        input.angle = getAngle(offsetCenter, center);\n        input.distance = getDistance(offsetCenter, center);\n        computeDeltaXY(session, input);\n        input.offsetDirection = getDirection(input.deltaX, input.deltaY);\n        var overallVelocity = getVelocity(input.deltaTime, input.deltaX, input.deltaY);\n        input.overallVelocityX = overallVelocity.x;\n        input.overallVelocityY = overallVelocity.y;\n        input.overallVelocity = abs(overallVelocity.x) > abs(overallVelocity.y) ? overallVelocity.x : overallVelocity.y;\n        input.scale = firstMultiple ? getScale(firstMultiple.pointers, pointers) : 1;\n        input.rotation = firstMultiple ? getRotation(firstMultiple.pointers, pointers) : 0;\n        input.maxPointers = !session.prevInput ? input.pointers.length : input.pointers.length > session.prevInput.maxPointers ? input.pointers.length : session.prevInput.maxPointers;\n        computeIntervalInputData(session, input); // find the correct target\n\n        var target = manager.element;\n\n        if (hasParent(input.srcEvent.target, target)) {\n          target = input.srcEvent.target;\n        }\n\n        input.target = target;\n      }\n\n      function computeDeltaXY(session, input) {\n        var center = input.center;\n        var offset = session.offsetDelta || {};\n        var prevDelta = session.prevDelta || {};\n        var prevInput = session.prevInput || {};\n\n        if (input.eventType === INPUT_START || prevInput.eventType === INPUT_END) {\n          prevDelta = session.prevDelta = {\n            x: prevInput.deltaX || 0,\n            y: prevInput.deltaY || 0\n          };\n          offset = session.offsetDelta = {\n            x: center.x,\n            y: center.y\n          };\n        }\n\n        input.deltaX = prevDelta.x + (center.x - offset.x);\n        input.deltaY = prevDelta.y + (center.y - offset.y);\n      }\n      /**\n       * velocity is calculated every x ms\n       * @param {Object} session\n       * @param {Object} input\n       */\n\n\n      function computeIntervalInputData(session, input) {\n        var last = session.lastInterval || input,\n            deltaTime = input.timeStamp - last.timeStamp,\n            velocity,\n            velocityX,\n            velocityY,\n            direction;\n\n        if (input.eventType != INPUT_CANCEL && (deltaTime > COMPUTE_INTERVAL || last.velocity === undefined)) {\n          var deltaX = input.deltaX - last.deltaX;\n          var deltaY = input.deltaY - last.deltaY;\n          var v = getVelocity(deltaTime, deltaX, deltaY);\n          velocityX = v.x;\n          velocityY = v.y;\n          velocity = abs(v.x) > abs(v.y) ? v.x : v.y;\n          direction = getDirection(deltaX, deltaY);\n          session.lastInterval = input;\n        } else {\n          // use latest velocity info if it doesn't overtake a minimum period\n          velocity = last.velocity;\n          velocityX = last.velocityX;\n          velocityY = last.velocityY;\n          direction = last.direction;\n        }\n\n        input.velocity = velocity;\n        input.velocityX = velocityX;\n        input.velocityY = velocityY;\n        input.direction = direction;\n      }\n      /**\n       * create a simple clone from the input used for storage of firstInput and firstMultiple\n       * @param {Object} input\n       * @returns {Object} clonedInputData\n       */\n\n\n      function simpleCloneInputData(input) {\n        // make a simple copy of the pointers because we will get a reference if we don't\n        // we only need clientXY for the calculations\n        var pointers = [];\n        var i = 0;\n\n        while (i < input.pointers.length) {\n          pointers[i] = {\n            clientX: round(input.pointers[i].clientX),\n            clientY: round(input.pointers[i].clientY)\n          };\n          i++;\n        }\n\n        return {\n          timeStamp: now(),\n          pointers: pointers,\n          center: getCenter(pointers),\n          deltaX: input.deltaX,\n          deltaY: input.deltaY\n        };\n      }\n      /**\n       * get the center of all the pointers\n       * @param {Array} pointers\n       * @return {Object} center contains `x` and `y` properties\n       */\n\n\n      function getCenter(pointers) {\n        var pointersLength = pointers.length; // no need to loop when only one touch\n\n        if (pointersLength === 1) {\n          return {\n            x: round(pointers[0].clientX),\n            y: round(pointers[0].clientY)\n          };\n        }\n\n        var x = 0,\n            y = 0,\n            i = 0;\n\n        while (i < pointersLength) {\n          x += pointers[i].clientX;\n          y += pointers[i].clientY;\n          i++;\n        }\n\n        return {\n          x: round(x / pointersLength),\n          y: round(y / pointersLength)\n        };\n      }\n      /**\n       * calculate the velocity between two points. unit is in px per ms.\n       * @param {Number} deltaTime\n       * @param {Number} x\n       * @param {Number} y\n       * @return {Object} velocity `x` and `y`\n       */\n\n\n      function getVelocity(deltaTime, x, y) {\n        return {\n          x: x / deltaTime || 0,\n          y: y / deltaTime || 0\n        };\n      }\n      /**\n       * get the direction between two points\n       * @param {Number} x\n       * @param {Number} y\n       * @return {Number} direction\n       */\n\n\n      function getDirection(x, y) {\n        if (x === y) {\n          return DIRECTION_NONE;\n        }\n\n        if (abs(x) >= abs(y)) {\n          return x < 0 ? DIRECTION_LEFT : DIRECTION_RIGHT;\n        }\n\n        return y < 0 ? DIRECTION_UP : DIRECTION_DOWN;\n      }\n      /**\n       * calculate the absolute distance between two points\n       * @param {Object} p1 {x, y}\n       * @param {Object} p2 {x, y}\n       * @param {Array} [props] containing x and y keys\n       * @return {Number} distance\n       */\n\n\n      function getDistance(p1, p2, props) {\n        if (!props) {\n          props = PROPS_XY;\n        }\n\n        var x = p2[props[0]] - p1[props[0]],\n            y = p2[props[1]] - p1[props[1]];\n        return Math.sqrt(x * x + y * y);\n      }\n      /**\n       * calculate the angle between two coordinates\n       * @param {Object} p1\n       * @param {Object} p2\n       * @param {Array} [props] containing x and y keys\n       * @return {Number} angle\n       */\n\n\n      function getAngle(p1, p2, props) {\n        if (!props) {\n          props = PROPS_XY;\n        }\n\n        var x = p2[props[0]] - p1[props[0]],\n            y = p2[props[1]] - p1[props[1]];\n        return Math.atan2(y, x) * 180 / Math.PI;\n      }\n      /**\n       * calculate the rotation degrees between two pointersets\n       * @param {Array} start array of pointers\n       * @param {Array} end array of pointers\n       * @return {Number} rotation\n       */\n\n\n      function getRotation(start, end) {\n        return getAngle(end[1], end[0], PROPS_CLIENT_XY) + getAngle(start[1], start[0], PROPS_CLIENT_XY);\n      }\n      /**\n       * calculate the scale factor between two pointersets\n       * no scale is 1, and goes down to 0 when pinched together, and bigger when pinched out\n       * @param {Array} start array of pointers\n       * @param {Array} end array of pointers\n       * @return {Number} scale\n       */\n\n\n      function getScale(start, end) {\n        return getDistance(end[0], end[1], PROPS_CLIENT_XY) / getDistance(start[0], start[1], PROPS_CLIENT_XY);\n      }\n\n      var MOUSE_INPUT_MAP = {\n        mousedown: INPUT_START,\n        mousemove: INPUT_MOVE,\n        mouseup: INPUT_END\n      };\n      var MOUSE_ELEMENT_EVENTS = 'mousedown';\n      var MOUSE_WINDOW_EVENTS = 'mousemove mouseup';\n      /**\n       * Mouse events input\n       * @constructor\n       * @extends Input\n       */\n\n      function MouseInput() {\n        this.evEl = MOUSE_ELEMENT_EVENTS;\n        this.evWin = MOUSE_WINDOW_EVENTS;\n        this.pressed = false; // mousedown state\n\n        Input.apply(this, arguments);\n      }\n\n      inherit(MouseInput, Input, {\n        /**\n         * handle mouse events\n         * @param {Object} ev\n         */\n        handler: function MEhandler(ev) {\n          var eventType = MOUSE_INPUT_MAP[ev.type]; // on start we want to have the left mouse button down\n\n          if (eventType & INPUT_START && ev.button === 0) {\n            this.pressed = true;\n          }\n\n          if (eventType & INPUT_MOVE && ev.which !== 1) {\n            eventType = INPUT_END;\n          } // mouse must be down\n\n\n          if (!this.pressed) {\n            return;\n          }\n\n          if (eventType & INPUT_END) {\n            this.pressed = false;\n          }\n\n          this.callback(this.manager, eventType, {\n            pointers: [ev],\n            changedPointers: [ev],\n            pointerType: INPUT_TYPE_MOUSE,\n            srcEvent: ev\n          });\n        }\n      });\n      var POINTER_INPUT_MAP = {\n        pointerdown: INPUT_START,\n        pointermove: INPUT_MOVE,\n        pointerup: INPUT_END,\n        pointercancel: INPUT_CANCEL,\n        pointerout: INPUT_CANCEL\n      }; // in IE10 the pointer types is defined as an enum\n\n      var IE10_POINTER_TYPE_ENUM = {\n        2: INPUT_TYPE_TOUCH,\n        3: INPUT_TYPE_PEN,\n        4: INPUT_TYPE_MOUSE,\n        5: INPUT_TYPE_KINECT // see https://twitter.com/jacobrossi/status/480596438489890816\n\n      };\n      var POINTER_ELEMENT_EVENTS = 'pointerdown';\n      var POINTER_WINDOW_EVENTS = 'pointermove pointerup pointercancel'; // IE10 has prefixed support, and case-sensitive\n\n      if (window.MSPointerEvent && !window.PointerEvent) {\n        POINTER_ELEMENT_EVENTS = 'MSPointerDown';\n        POINTER_WINDOW_EVENTS = 'MSPointerMove MSPointerUp MSPointerCancel';\n      }\n      /**\n       * Pointer events input\n       * @constructor\n       * @extends Input\n       */\n\n\n      function PointerEventInput() {\n        this.evEl = POINTER_ELEMENT_EVENTS;\n        this.evWin = POINTER_WINDOW_EVENTS;\n        Input.apply(this, arguments);\n        this.store = this.manager.session.pointerEvents = [];\n      }\n\n      inherit(PointerEventInput, Input, {\n        /**\n         * handle mouse events\n         * @param {Object} ev\n         */\n        handler: function PEhandler(ev) {\n          var store = this.store;\n          var removePointer = false;\n          var eventTypeNormalized = ev.type.toLowerCase().replace('ms', '');\n          var eventType = POINTER_INPUT_MAP[eventTypeNormalized];\n          var pointerType = IE10_POINTER_TYPE_ENUM[ev.pointerType] || ev.pointerType;\n          var isTouch = pointerType == INPUT_TYPE_TOUCH; // get index of the event in the store\n\n          var storeIndex = inArray(store, ev.pointerId, 'pointerId'); // start and mouse must be down\n\n          if (eventType & INPUT_START && (ev.button === 0 || isTouch)) {\n            if (storeIndex < 0) {\n              store.push(ev);\n              storeIndex = store.length - 1;\n            }\n          } else if (eventType & (INPUT_END | INPUT_CANCEL)) {\n            removePointer = true;\n          } // it not found, so the pointer hasn't been down (so it's probably a hover)\n\n\n          if (storeIndex < 0) {\n            return;\n          } // update the event in the store\n\n\n          store[storeIndex] = ev;\n          this.callback(this.manager, eventType, {\n            pointers: store,\n            changedPointers: [ev],\n            pointerType: pointerType,\n            srcEvent: ev\n          });\n\n          if (removePointer) {\n            // remove from the store\n            store.splice(storeIndex, 1);\n          }\n        }\n      });\n      var SINGLE_TOUCH_INPUT_MAP = {\n        touchstart: INPUT_START,\n        touchmove: INPUT_MOVE,\n        touchend: INPUT_END,\n        touchcancel: INPUT_CANCEL\n      };\n      var SINGLE_TOUCH_TARGET_EVENTS = 'touchstart';\n      var SINGLE_TOUCH_WINDOW_EVENTS = 'touchstart touchmove touchend touchcancel';\n      /**\n       * Touch events input\n       * @constructor\n       * @extends Input\n       */\n\n      function SingleTouchInput() {\n        this.evTarget = SINGLE_TOUCH_TARGET_EVENTS;\n        this.evWin = SINGLE_TOUCH_WINDOW_EVENTS;\n        this.started = false;\n        Input.apply(this, arguments);\n      }\n\n      inherit(SingleTouchInput, Input, {\n        handler: function TEhandler(ev) {\n          var type = SINGLE_TOUCH_INPUT_MAP[ev.type]; // should we handle the touch events?\n\n          if (type === INPUT_START) {\n            this.started = true;\n          }\n\n          if (!this.started) {\n            return;\n          }\n\n          var touches = normalizeSingleTouches.call(this, ev, type); // when done, reset the started state\n\n          if (type & (INPUT_END | INPUT_CANCEL) && touches[0].length - touches[1].length === 0) {\n            this.started = false;\n          }\n\n          this.callback(this.manager, type, {\n            pointers: touches[0],\n            changedPointers: touches[1],\n            pointerType: INPUT_TYPE_TOUCH,\n            srcEvent: ev\n          });\n        }\n      });\n      /**\n       * @this {TouchInput}\n       * @param {Object} ev\n       * @param {Number} type flag\n       * @returns {undefined|Array} [all, changed]\n       */\n\n      function normalizeSingleTouches(ev, type) {\n        var all = toArray(ev.touches);\n        var changed = toArray(ev.changedTouches);\n\n        if (type & (INPUT_END | INPUT_CANCEL)) {\n          all = uniqueArray(all.concat(changed), 'identifier', true);\n        }\n\n        return [all, changed];\n      }\n\n      var TOUCH_INPUT_MAP = {\n        touchstart: INPUT_START,\n        touchmove: INPUT_MOVE,\n        touchend: INPUT_END,\n        touchcancel: INPUT_CANCEL\n      };\n      var TOUCH_TARGET_EVENTS = 'touchstart touchmove touchend touchcancel';\n      /**\n       * Multi-user touch events input\n       * @constructor\n       * @extends Input\n       */\n\n      function TouchInput() {\n        this.evTarget = TOUCH_TARGET_EVENTS;\n        this.targetIds = {};\n        Input.apply(this, arguments);\n      }\n\n      inherit(TouchInput, Input, {\n        handler: function MTEhandler(ev) {\n          var type = TOUCH_INPUT_MAP[ev.type];\n          var touches = getTouches.call(this, ev, type);\n\n          if (!touches) {\n            return;\n          }\n\n          this.callback(this.manager, type, {\n            pointers: touches[0],\n            changedPointers: touches[1],\n            pointerType: INPUT_TYPE_TOUCH,\n            srcEvent: ev\n          });\n        }\n      });\n      /**\n       * @this {TouchInput}\n       * @param {Object} ev\n       * @param {Number} type flag\n       * @returns {undefined|Array} [all, changed]\n       */\n\n      function getTouches(ev, type) {\n        var allTouches = toArray(ev.touches);\n        var targetIds = this.targetIds; // when there is only one touch, the process can be simplified\n\n        if (type & (INPUT_START | INPUT_MOVE) && allTouches.length === 1) {\n          targetIds[allTouches[0].identifier] = true;\n          return [allTouches, allTouches];\n        }\n\n        var i,\n            targetTouches,\n            changedTouches = toArray(ev.changedTouches),\n            changedTargetTouches = [],\n            target = this.target; // get target touches from touches\n\n        targetTouches = allTouches.filter(function (touch) {\n          return hasParent(touch.target, target);\n        }); // collect touches\n\n        if (type === INPUT_START) {\n          i = 0;\n\n          while (i < targetTouches.length) {\n            targetIds[targetTouches[i].identifier] = true;\n            i++;\n          }\n        } // filter changed touches to only contain touches that exist in the collected target ids\n\n\n        i = 0;\n\n        while (i < changedTouches.length) {\n          if (targetIds[changedTouches[i].identifier]) {\n            changedTargetTouches.push(changedTouches[i]);\n          } // cleanup removed touches\n\n\n          if (type & (INPUT_END | INPUT_CANCEL)) {\n            delete targetIds[changedTouches[i].identifier];\n          }\n\n          i++;\n        }\n\n        if (!changedTargetTouches.length) {\n          return;\n        }\n\n        return [// merge targetTouches with changedTargetTouches so it contains ALL touches, including 'end' and 'cancel'\n        uniqueArray(targetTouches.concat(changedTargetTouches), 'identifier', true), changedTargetTouches];\n      }\n      /**\n       * Combined touch and mouse input\n       *\n       * Touch has a higher priority then mouse, and while touching no mouse events are allowed.\n       * This because touch devices also emit mouse events while doing a touch.\n       *\n       * @constructor\n       * @extends Input\n       */\n\n\n      var DEDUP_TIMEOUT = 2500;\n      var DEDUP_DISTANCE = 25;\n\n      function TouchMouseInput() {\n        Input.apply(this, arguments);\n        var handler = bindFn(this.handler, this);\n        this.touch = new TouchInput(this.manager, handler);\n        this.mouse = new MouseInput(this.manager, handler);\n        this.primaryTouch = null;\n        this.lastTouches = [];\n      }\n\n      inherit(TouchMouseInput, Input, {\n        /**\n         * handle mouse and touch events\n         * @param {Hammer} manager\n         * @param {String} inputEvent\n         * @param {Object} inputData\n         */\n        handler: function TMEhandler(manager, inputEvent, inputData) {\n          var isTouch = inputData.pointerType == INPUT_TYPE_TOUCH,\n              isMouse = inputData.pointerType == INPUT_TYPE_MOUSE;\n\n          if (isMouse && inputData.sourceCapabilities && inputData.sourceCapabilities.firesTouchEvents) {\n            return;\n          } // when we're in a touch event, record touches to  de-dupe synthetic mouse event\n\n\n          if (isTouch) {\n            recordTouches.call(this, inputEvent, inputData);\n          } else if (isMouse && isSyntheticEvent.call(this, inputData)) {\n            return;\n          }\n\n          this.callback(manager, inputEvent, inputData);\n        },\n\n        /**\n         * remove the event listeners\n         */\n        destroy: function destroy() {\n          this.touch.destroy();\n          this.mouse.destroy();\n        }\n      });\n\n      function recordTouches(eventType, eventData) {\n        if (eventType & INPUT_START) {\n          this.primaryTouch = eventData.changedPointers[0].identifier;\n          setLastTouch.call(this, eventData);\n        } else if (eventType & (INPUT_END | INPUT_CANCEL)) {\n          setLastTouch.call(this, eventData);\n        }\n      }\n\n      function setLastTouch(eventData) {\n        var touch = eventData.changedPointers[0];\n\n        if (touch.identifier === this.primaryTouch) {\n          var lastTouch = {\n            x: touch.clientX,\n            y: touch.clientY\n          };\n          this.lastTouches.push(lastTouch);\n          var lts = this.lastTouches;\n\n          var removeLastTouch = function removeLastTouch() {\n            var i = lts.indexOf(lastTouch);\n\n            if (i > -1) {\n              lts.splice(i, 1);\n            }\n          };\n\n          setTimeout(removeLastTouch, DEDUP_TIMEOUT);\n        }\n      }\n\n      function isSyntheticEvent(eventData) {\n        var x = eventData.srcEvent.clientX,\n            y = eventData.srcEvent.clientY;\n\n        for (var i = 0; i < this.lastTouches.length; i++) {\n          var t = this.lastTouches[i];\n          var dx = Math.abs(x - t.x),\n              dy = Math.abs(y - t.y);\n\n          if (dx <= DEDUP_DISTANCE && dy <= DEDUP_DISTANCE) {\n            return true;\n          }\n        }\n\n        return false;\n      }\n\n      var PREFIXED_TOUCH_ACTION = prefixed(TEST_ELEMENT.style, 'touchAction');\n      var NATIVE_TOUCH_ACTION = PREFIXED_TOUCH_ACTION !== undefined; // magical touchAction value\n\n      var TOUCH_ACTION_COMPUTE = 'compute';\n      var TOUCH_ACTION_AUTO = 'auto';\n      var TOUCH_ACTION_MANIPULATION = 'manipulation'; // not implemented\n\n      var TOUCH_ACTION_NONE = 'none';\n      var TOUCH_ACTION_PAN_X = 'pan-x';\n      var TOUCH_ACTION_PAN_Y = 'pan-y';\n      var TOUCH_ACTION_MAP = getTouchActionProps();\n      /**\n       * Touch Action\n       * sets the touchAction property or uses the js alternative\n       * @param {Manager} manager\n       * @param {String} value\n       * @constructor\n       */\n\n      function TouchAction(manager, value) {\n        this.manager = manager;\n        this.set(value);\n      }\n\n      TouchAction.prototype = {\n        /**\n         * set the touchAction value on the element or enable the polyfill\n         * @param {String} value\n         */\n        set: function set(value) {\n          // find out the touch-action by the event handlers\n          if (value == TOUCH_ACTION_COMPUTE) {\n            value = this.compute();\n          }\n\n          if (NATIVE_TOUCH_ACTION && this.manager.element.style && TOUCH_ACTION_MAP[value]) {\n            this.manager.element.style[PREFIXED_TOUCH_ACTION] = value;\n          }\n\n          this.actions = value.toLowerCase().trim();\n        },\n\n        /**\n         * just re-set the touchAction value\n         */\n        update: function update() {\n          this.set(this.manager.options.touchAction);\n        },\n\n        /**\n         * compute the value for the touchAction property based on the recognizer's settings\n         * @returns {String} value\n         */\n        compute: function compute() {\n          var actions = [];\n          each(this.manager.recognizers, function (recognizer) {\n            if (boolOrFn(recognizer.options.enable, [recognizer])) {\n              actions = actions.concat(recognizer.getTouchAction());\n            }\n          });\n          return cleanTouchActions(actions.join(' '));\n        },\n\n        /**\n         * this method is called on each input cycle and provides the preventing of the browser behavior\n         * @param {Object} input\n         */\n        preventDefaults: function preventDefaults(input) {\n          var srcEvent = input.srcEvent;\n          var direction = input.offsetDirection; // if the touch action did prevented once this session\n\n          if (this.manager.session.prevented) {\n            srcEvent.preventDefault();\n            return;\n          }\n\n          var actions = this.actions;\n          var hasNone = inStr(actions, TOUCH_ACTION_NONE) && !TOUCH_ACTION_MAP[TOUCH_ACTION_NONE];\n          var hasPanY = inStr(actions, TOUCH_ACTION_PAN_Y) && !TOUCH_ACTION_MAP[TOUCH_ACTION_PAN_Y];\n          var hasPanX = inStr(actions, TOUCH_ACTION_PAN_X) && !TOUCH_ACTION_MAP[TOUCH_ACTION_PAN_X];\n\n          if (hasNone) {\n            //do not prevent defaults if this is a tap gesture\n            var isTapPointer = input.pointers.length === 1;\n            var isTapMovement = input.distance < 2;\n            var isTapTouchTime = input.deltaTime < 250;\n\n            if (isTapPointer && isTapMovement && isTapTouchTime) {\n              return;\n            }\n          }\n\n          if (hasPanX && hasPanY) {\n            // `pan-x pan-y` means browser handles all scrolling/panning, do not prevent\n            return;\n          }\n\n          if (hasNone || hasPanY && direction & DIRECTION_HORIZONTAL || hasPanX && direction & DIRECTION_VERTICAL) {\n            return this.preventSrc(srcEvent);\n          }\n        },\n\n        /**\n         * call preventDefault to prevent the browser's default behavior (scrolling in most cases)\n         * @param {Object} srcEvent\n         */\n        preventSrc: function preventSrc(srcEvent) {\n          this.manager.session.prevented = true;\n          srcEvent.preventDefault();\n        }\n      };\n      /**\n       * when the touchActions are collected they are not a valid value, so we need to clean things up. *\n       * @param {String} actions\n       * @returns {*}\n       */\n\n      function cleanTouchActions(actions) {\n        // none\n        if (inStr(actions, TOUCH_ACTION_NONE)) {\n          return TOUCH_ACTION_NONE;\n        }\n\n        var hasPanX = inStr(actions, TOUCH_ACTION_PAN_X);\n        var hasPanY = inStr(actions, TOUCH_ACTION_PAN_Y); // if both pan-x and pan-y are set (different recognizers\n        // for different directions, e.g. horizontal pan but vertical swipe?)\n        // we need none (as otherwise with pan-x pan-y combined none of these\n        // recognizers will work, since the browser would handle all panning\n\n        if (hasPanX && hasPanY) {\n          return TOUCH_ACTION_NONE;\n        } // pan-x OR pan-y\n\n\n        if (hasPanX || hasPanY) {\n          return hasPanX ? TOUCH_ACTION_PAN_X : TOUCH_ACTION_PAN_Y;\n        } // manipulation\n\n\n        if (inStr(actions, TOUCH_ACTION_MANIPULATION)) {\n          return TOUCH_ACTION_MANIPULATION;\n        }\n\n        return TOUCH_ACTION_AUTO;\n      }\n\n      function getTouchActionProps() {\n        if (!NATIVE_TOUCH_ACTION) {\n          return false;\n        }\n\n        var touchMap = {};\n        var cssSupports = window.CSS && window.CSS.supports;\n        ['auto', 'manipulation', 'pan-y', 'pan-x', 'pan-x pan-y', 'none'].forEach(function (val) {\n          // If css.supports is not supported but there is native touch-action assume it supports\n          // all values. This is the case for IE 10 and 11.\n          touchMap[val] = cssSupports ? window.CSS.supports('touch-action', val) : true;\n        });\n        return touchMap;\n      }\n      /**\n       * Recognizer flow explained; *\n       * All recognizers have the initial state of POSSIBLE when a input session starts.\n       * The definition of a input session is from the first input until the last input, with all it's movement in it. *\n       * Example session for mouse-input: mousedown -> mousemove -> mouseup\n       *\n       * On each recognizing cycle (see Manager.recognize) the .recognize() method is executed\n       * which determines with state it should be.\n       *\n       * If the recognizer has the state FAILED, CANCELLED or RECOGNIZED (equals ENDED), it is reset to\n       * POSSIBLE to give it another change on the next cycle.\n       *\n       *               Possible\n       *                  |\n       *            +-----+---------------+\n       *            |                     |\n       *      +-----+-----+               |\n       *      |           |               |\n       *   Failed      Cancelled          |\n       *                          +-------+------+\n       *                          |              |\n       *                      Recognized       Began\n       *                                         |\n       *                                      Changed\n       *                                         |\n       *                                  Ended/Recognized\n       */\n\n\n      var STATE_POSSIBLE = 1;\n      var STATE_BEGAN = 2;\n      var STATE_CHANGED = 4;\n      var STATE_ENDED = 8;\n      var STATE_RECOGNIZED = STATE_ENDED;\n      var STATE_CANCELLED = 16;\n      var STATE_FAILED = 32;\n      /**\n       * Recognizer\n       * Every recognizer needs to extend from this class.\n       * @constructor\n       * @param {Object} options\n       */\n\n      function Recognizer(options) {\n        this.options = assign({}, this.defaults, options || {});\n        this.id = uniqueId();\n        this.manager = null; // default is enable true\n\n        this.options.enable = ifUndefined(this.options.enable, true);\n        this.state = STATE_POSSIBLE;\n        this.simultaneous = {};\n        this.requireFail = [];\n      }\n\n      Recognizer.prototype = {\n        /**\n         * @virtual\n         * @type {Object}\n         */\n        defaults: {},\n\n        /**\n         * set options\n         * @param {Object} options\n         * @return {Recognizer}\n         */\n        set: function set(options) {\n          assign(this.options, options); // also update the touchAction, in case something changed about the directions/enabled state\n\n          this.manager && this.manager.touchAction.update();\n          return this;\n        },\n\n        /**\n         * recognize simultaneous with an other recognizer.\n         * @param {Recognizer} otherRecognizer\n         * @returns {Recognizer} this\n         */\n        recognizeWith: function recognizeWith(otherRecognizer) {\n          if (invokeArrayArg(otherRecognizer, 'recognizeWith', this)) {\n            return this;\n          }\n\n          var simultaneous = this.simultaneous;\n          otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this);\n\n          if (!simultaneous[otherRecognizer.id]) {\n            simultaneous[otherRecognizer.id] = otherRecognizer;\n            otherRecognizer.recognizeWith(this);\n          }\n\n          return this;\n        },\n\n        /**\n         * drop the simultaneous link. it doesnt remove the link on the other recognizer.\n         * @param {Recognizer} otherRecognizer\n         * @returns {Recognizer} this\n         */\n        dropRecognizeWith: function dropRecognizeWith(otherRecognizer) {\n          if (invokeArrayArg(otherRecognizer, 'dropRecognizeWith', this)) {\n            return this;\n          }\n\n          otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this);\n          delete this.simultaneous[otherRecognizer.id];\n          return this;\n        },\n\n        /**\n         * recognizer can only run when an other is failing\n         * @param {Recognizer} otherRecognizer\n         * @returns {Recognizer} this\n         */\n        requireFailure: function requireFailure(otherRecognizer) {\n          if (invokeArrayArg(otherRecognizer, 'requireFailure', this)) {\n            return this;\n          }\n\n          var requireFail = this.requireFail;\n          otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this);\n\n          if (inArray(requireFail, otherRecognizer) === -1) {\n            requireFail.push(otherRecognizer);\n            otherRecognizer.requireFailure(this);\n          }\n\n          return this;\n        },\n\n        /**\n         * drop the requireFailure link. it does not remove the link on the other recognizer.\n         * @param {Recognizer} otherRecognizer\n         * @returns {Recognizer} this\n         */\n        dropRequireFailure: function dropRequireFailure(otherRecognizer) {\n          if (invokeArrayArg(otherRecognizer, 'dropRequireFailure', this)) {\n            return this;\n          }\n\n          otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this);\n          var index = inArray(this.requireFail, otherRecognizer);\n\n          if (index > -1) {\n            this.requireFail.splice(index, 1);\n          }\n\n          return this;\n        },\n\n        /**\n         * has require failures boolean\n         * @returns {boolean}\n         */\n        hasRequireFailures: function hasRequireFailures() {\n          return this.requireFail.length > 0;\n        },\n\n        /**\n         * if the recognizer can recognize simultaneous with an other recognizer\n         * @param {Recognizer} otherRecognizer\n         * @returns {Boolean}\n         */\n        canRecognizeWith: function canRecognizeWith(otherRecognizer) {\n          return !!this.simultaneous[otherRecognizer.id];\n        },\n\n        /**\n         * You should use `tryEmit` instead of `emit` directly to check\n         * that all the needed recognizers has failed before emitting.\n         * @param {Object} input\n         */\n        emit: function emit(input) {\n          var self = this;\n          var state = this.state;\n\n          function emit(event) {\n            self.manager.emit(event, input);\n          } // 'panstart' and 'panmove'\n\n\n          if (state < STATE_ENDED) {\n            emit(self.options.event + stateStr(state));\n          }\n\n          emit(self.options.event); // simple 'eventName' events\n\n          if (input.additionalEvent) {\n            // additional event(panleft, panright, pinchin, pinchout...)\n            emit(input.additionalEvent);\n          } // panend and pancancel\n\n\n          if (state >= STATE_ENDED) {\n            emit(self.options.event + stateStr(state));\n          }\n        },\n\n        /**\n         * Check that all the require failure recognizers has failed,\n         * if true, it emits a gesture event,\n         * otherwise, setup the state to FAILED.\n         * @param {Object} input\n         */\n        tryEmit: function tryEmit(input) {\n          if (this.canEmit()) {\n            return this.emit(input);\n          } // it's failing anyway\n\n\n          this.state = STATE_FAILED;\n        },\n\n        /**\n         * can we emit?\n         * @returns {boolean}\n         */\n        canEmit: function canEmit() {\n          var i = 0;\n\n          while (i < this.requireFail.length) {\n            if (!(this.requireFail[i].state & (STATE_FAILED | STATE_POSSIBLE))) {\n              return false;\n            }\n\n            i++;\n          }\n\n          return true;\n        },\n\n        /**\n         * update the recognizer\n         * @param {Object} inputData\n         */\n        recognize: function recognize(inputData) {\n          // make a new copy of the inputData\n          // so we can change the inputData without messing up the other recognizers\n          var inputDataClone = assign({}, inputData); // is is enabled and allow recognizing?\n\n          if (!boolOrFn(this.options.enable, [this, inputDataClone])) {\n            this.reset();\n            this.state = STATE_FAILED;\n            return;\n          } // reset when we've reached the end\n\n\n          if (this.state & (STATE_RECOGNIZED | STATE_CANCELLED | STATE_FAILED)) {\n            this.state = STATE_POSSIBLE;\n          }\n\n          this.state = this.process(inputDataClone); // the recognizer has recognized a gesture\n          // so trigger an event\n\n          if (this.state & (STATE_BEGAN | STATE_CHANGED | STATE_ENDED | STATE_CANCELLED)) {\n            this.tryEmit(inputDataClone);\n          }\n        },\n\n        /**\n         * return the state of the recognizer\n         * the actual recognizing happens in this method\n         * @virtual\n         * @param {Object} inputData\n         * @returns {Const} STATE\n         */\n        process: function process(inputData) {},\n        // jshint ignore:line\n\n        /**\n         * return the preferred touch-action\n         * @virtual\n         * @returns {Array}\n         */\n        getTouchAction: function getTouchAction() {},\n\n        /**\n         * called when the gesture isn't allowed to recognize\n         * like when another is being recognized or it is disabled\n         * @virtual\n         */\n        reset: function reset() {}\n      };\n      /**\n       * get a usable string, used as event postfix\n       * @param {Const} state\n       * @returns {String} state\n       */\n\n      function stateStr(state) {\n        if (state & STATE_CANCELLED) {\n          return 'cancel';\n        } else if (state & STATE_ENDED) {\n          return 'end';\n        } else if (state & STATE_CHANGED) {\n          return 'move';\n        } else if (state & STATE_BEGAN) {\n          return 'start';\n        }\n\n        return '';\n      }\n      /**\n       * direction cons to string\n       * @param {Const} direction\n       * @returns {String}\n       */\n\n\n      function directionStr(direction) {\n        if (direction == DIRECTION_DOWN) {\n          return 'down';\n        } else if (direction == DIRECTION_UP) {\n          return 'up';\n        } else if (direction == DIRECTION_LEFT) {\n          return 'left';\n        } else if (direction == DIRECTION_RIGHT) {\n          return 'right';\n        }\n\n        return '';\n      }\n      /**\n       * get a recognizer by name if it is bound to a manager\n       * @param {Recognizer|String} otherRecognizer\n       * @param {Recognizer} recognizer\n       * @returns {Recognizer}\n       */\n\n\n      function getRecognizerByNameIfManager(otherRecognizer, recognizer) {\n        var manager = recognizer.manager;\n\n        if (manager) {\n          return manager.get(otherRecognizer);\n        }\n\n        return otherRecognizer;\n      }\n      /**\n       * This recognizer is just used as a base for the simple attribute recognizers.\n       * @constructor\n       * @extends Recognizer\n       */\n\n\n      function AttrRecognizer() {\n        Recognizer.apply(this, arguments);\n      }\n\n      inherit(AttrRecognizer, Recognizer, {\n        /**\n         * @namespace\n         * @memberof AttrRecognizer\n         */\n        defaults: {\n          /**\n           * @type {Number}\n           * @default 1\n           */\n          pointers: 1\n        },\n\n        /**\n         * Used to check if it the recognizer receives valid input, like input.distance > 10.\n         * @memberof AttrRecognizer\n         * @param {Object} input\n         * @returns {Boolean} recognized\n         */\n        attrTest: function attrTest(input) {\n          var optionPointers = this.options.pointers;\n          return optionPointers === 0 || input.pointers.length === optionPointers;\n        },\n\n        /**\n         * Process the input and return the state for the recognizer\n         * @memberof AttrRecognizer\n         * @param {Object} input\n         * @returns {*} State\n         */\n        process: function process(input) {\n          var state = this.state;\n          var eventType = input.eventType;\n          var isRecognized = state & (STATE_BEGAN | STATE_CHANGED);\n          var isValid = this.attrTest(input); // on cancel input and we've recognized before, return STATE_CANCELLED\n\n          if (isRecognized && (eventType & INPUT_CANCEL || !isValid)) {\n            return state | STATE_CANCELLED;\n          } else if (isRecognized || isValid) {\n            if (eventType & INPUT_END) {\n              return state | STATE_ENDED;\n            } else if (!(state & STATE_BEGAN)) {\n              return STATE_BEGAN;\n            }\n\n            return state | STATE_CHANGED;\n          }\n\n          return STATE_FAILED;\n        }\n      });\n      /**\n       * Pan\n       * Recognized when the pointer is down and moved in the allowed direction.\n       * @constructor\n       * @extends AttrRecognizer\n       */\n\n      function PanRecognizer() {\n        AttrRecognizer.apply(this, arguments);\n        this.pX = null;\n        this.pY = null;\n      }\n\n      inherit(PanRecognizer, AttrRecognizer, {\n        /**\n         * @namespace\n         * @memberof PanRecognizer\n         */\n        defaults: {\n          event: 'pan',\n          threshold: 10,\n          pointers: 1,\n          direction: DIRECTION_ALL\n        },\n        getTouchAction: function getTouchAction() {\n          var direction = this.options.direction;\n          var actions = [];\n\n          if (direction & DIRECTION_HORIZONTAL) {\n            actions.push(TOUCH_ACTION_PAN_Y);\n          }\n\n          if (direction & DIRECTION_VERTICAL) {\n            actions.push(TOUCH_ACTION_PAN_X);\n          }\n\n          return actions;\n        },\n        directionTest: function directionTest(input) {\n          var options = this.options;\n          var hasMoved = true;\n          var distance = input.distance;\n          var direction = input.direction;\n          var x = input.deltaX;\n          var y = input.deltaY; // lock to axis?\n\n          if (!(direction & options.direction)) {\n            if (options.direction & DIRECTION_HORIZONTAL) {\n              direction = x === 0 ? DIRECTION_NONE : x < 0 ? DIRECTION_LEFT : DIRECTION_RIGHT;\n              hasMoved = x != this.pX;\n              distance = Math.abs(input.deltaX);\n            } else {\n              direction = y === 0 ? DIRECTION_NONE : y < 0 ? DIRECTION_UP : DIRECTION_DOWN;\n              hasMoved = y != this.pY;\n              distance = Math.abs(input.deltaY);\n            }\n          }\n\n          input.direction = direction;\n          return hasMoved && distance > options.threshold && direction & options.direction;\n        },\n        attrTest: function attrTest(input) {\n          return AttrRecognizer.prototype.attrTest.call(this, input) && (this.state & STATE_BEGAN || !(this.state & STATE_BEGAN) && this.directionTest(input));\n        },\n        emit: function emit(input) {\n          this.pX = input.deltaX;\n          this.pY = input.deltaY;\n          var direction = directionStr(input.direction);\n\n          if (direction) {\n            input.additionalEvent = this.options.event + direction;\n          }\n\n          this._super.emit.call(this, input);\n        }\n      });\n      /**\n       * Pinch\n       * Recognized when two or more pointers are moving toward (zoom-in) or away from each other (zoom-out).\n       * @constructor\n       * @extends AttrRecognizer\n       */\n\n      function PinchRecognizer() {\n        AttrRecognizer.apply(this, arguments);\n      }\n\n      inherit(PinchRecognizer, AttrRecognizer, {\n        /**\n         * @namespace\n         * @memberof PinchRecognizer\n         */\n        defaults: {\n          event: 'pinch',\n          threshold: 0,\n          pointers: 2\n        },\n        getTouchAction: function getTouchAction() {\n          return [TOUCH_ACTION_NONE];\n        },\n        attrTest: function attrTest(input) {\n          return this._super.attrTest.call(this, input) && (Math.abs(input.scale - 1) > this.options.threshold || this.state & STATE_BEGAN);\n        },\n        emit: function emit(input) {\n          if (input.scale !== 1) {\n            var inOut = input.scale < 1 ? 'in' : 'out';\n            input.additionalEvent = this.options.event + inOut;\n          }\n\n          this._super.emit.call(this, input);\n        }\n      });\n      /**\n       * Press\n       * Recognized when the pointer is down for x ms without any movement.\n       * @constructor\n       * @extends Recognizer\n       */\n\n      function PressRecognizer() {\n        Recognizer.apply(this, arguments);\n        this._timer = null;\n        this._input = null;\n      }\n\n      inherit(PressRecognizer, Recognizer, {\n        /**\n         * @namespace\n         * @memberof PressRecognizer\n         */\n        defaults: {\n          event: 'press',\n          pointers: 1,\n          time: 251,\n          // minimal time of the pointer to be pressed\n          threshold: 9 // a minimal movement is ok, but keep it low\n\n        },\n        getTouchAction: function getTouchAction() {\n          return [TOUCH_ACTION_AUTO];\n        },\n        process: function process(input) {\n          var options = this.options;\n          var validPointers = input.pointers.length === options.pointers;\n          var validMovement = input.distance < options.threshold;\n          var validTime = input.deltaTime > options.time;\n          this._input = input; // we only allow little movement\n          // and we've reached an end event, so a tap is possible\n\n          if (!validMovement || !validPointers || input.eventType & (INPUT_END | INPUT_CANCEL) && !validTime) {\n            this.reset();\n          } else if (input.eventType & INPUT_START) {\n            this.reset();\n            this._timer = setTimeoutContext(function () {\n              this.state = STATE_RECOGNIZED;\n              this.tryEmit();\n            }, options.time, this);\n          } else if (input.eventType & INPUT_END) {\n            return STATE_RECOGNIZED;\n          }\n\n          return STATE_FAILED;\n        },\n        reset: function reset() {\n          clearTimeout(this._timer);\n        },\n        emit: function emit(input) {\n          if (this.state !== STATE_RECOGNIZED) {\n            return;\n          }\n\n          if (input && input.eventType & INPUT_END) {\n            this.manager.emit(this.options.event + 'up', input);\n          } else {\n            this._input.timeStamp = now();\n            this.manager.emit(this.options.event, this._input);\n          }\n        }\n      });\n      /**\n       * Rotate\n       * Recognized when two or more pointer are moving in a circular motion.\n       * @constructor\n       * @extends AttrRecognizer\n       */\n\n      function RotateRecognizer() {\n        AttrRecognizer.apply(this, arguments);\n      }\n\n      inherit(RotateRecognizer, AttrRecognizer, {\n        /**\n         * @namespace\n         * @memberof RotateRecognizer\n         */\n        defaults: {\n          event: 'rotate',\n          threshold: 0,\n          pointers: 2\n        },\n        getTouchAction: function getTouchAction() {\n          return [TOUCH_ACTION_NONE];\n        },\n        attrTest: function attrTest(input) {\n          return this._super.attrTest.call(this, input) && (Math.abs(input.rotation) > this.options.threshold || this.state & STATE_BEGAN);\n        }\n      });\n      /**\n       * Swipe\n       * Recognized when the pointer is moving fast (velocity), with enough distance in the allowed direction.\n       * @constructor\n       * @extends AttrRecognizer\n       */\n\n      function SwipeRecognizer() {\n        AttrRecognizer.apply(this, arguments);\n      }\n\n      inherit(SwipeRecognizer, AttrRecognizer, {\n        /**\n         * @namespace\n         * @memberof SwipeRecognizer\n         */\n        defaults: {\n          event: 'swipe',\n          threshold: 10,\n          velocity: 0.3,\n          direction: DIRECTION_HORIZONTAL | DIRECTION_VERTICAL,\n          pointers: 1\n        },\n        getTouchAction: function getTouchAction() {\n          return PanRecognizer.prototype.getTouchAction.call(this);\n        },\n        attrTest: function attrTest(input) {\n          var direction = this.options.direction;\n          var velocity;\n\n          if (direction & (DIRECTION_HORIZONTAL | DIRECTION_VERTICAL)) {\n            velocity = input.overallVelocity;\n          } else if (direction & DIRECTION_HORIZONTAL) {\n            velocity = input.overallVelocityX;\n          } else if (direction & DIRECTION_VERTICAL) {\n            velocity = input.overallVelocityY;\n          }\n\n          return this._super.attrTest.call(this, input) && direction & input.offsetDirection && input.distance > this.options.threshold && input.maxPointers == this.options.pointers && abs(velocity) > this.options.velocity && input.eventType & INPUT_END;\n        },\n        emit: function emit(input) {\n          var direction = directionStr(input.offsetDirection);\n\n          if (direction) {\n            this.manager.emit(this.options.event + direction, input);\n          }\n\n          this.manager.emit(this.options.event, input);\n        }\n      });\n      /**\n       * A tap is ecognized when the pointer is doing a small tap/click. Multiple taps are recognized if they occur\n       * between the given interval and position. The delay option can be used to recognize multi-taps without firing\n       * a single tap.\n       *\n       * The eventData from the emitted event contains the property `tapCount`, which contains the amount of\n       * multi-taps being recognized.\n       * @constructor\n       * @extends Recognizer\n       */\n\n      function TapRecognizer() {\n        Recognizer.apply(this, arguments); // previous time and center,\n        // used for tap counting\n\n        this.pTime = false;\n        this.pCenter = false;\n        this._timer = null;\n        this._input = null;\n        this.count = 0;\n      }\n\n      inherit(TapRecognizer, Recognizer, {\n        /**\n         * @namespace\n         * @memberof PinchRecognizer\n         */\n        defaults: {\n          event: 'tap',\n          pointers: 1,\n          taps: 1,\n          interval: 300,\n          // max time between the multi-tap taps\n          time: 250,\n          // max time of the pointer to be down (like finger on the screen)\n          threshold: 9,\n          // a minimal movement is ok, but keep it low\n          posThreshold: 10 // a multi-tap can be a bit off the initial position\n\n        },\n        getTouchAction: function getTouchAction() {\n          return [TOUCH_ACTION_MANIPULATION];\n        },\n        process: function process(input) {\n          var options = this.options;\n          var validPointers = input.pointers.length === options.pointers;\n          var validMovement = input.distance < options.threshold;\n          var validTouchTime = input.deltaTime < options.time;\n          this.reset();\n\n          if (input.eventType & INPUT_START && this.count === 0) {\n            return this.failTimeout();\n          } // we only allow little movement\n          // and we've reached an end event, so a tap is possible\n\n\n          if (validMovement && validTouchTime && validPointers) {\n            if (input.eventType != INPUT_END) {\n              return this.failTimeout();\n            }\n\n            var validInterval = this.pTime ? input.timeStamp - this.pTime < options.interval : true;\n            var validMultiTap = !this.pCenter || getDistance(this.pCenter, input.center) < options.posThreshold;\n            this.pTime = input.timeStamp;\n            this.pCenter = input.center;\n\n            if (!validMultiTap || !validInterval) {\n              this.count = 1;\n            } else {\n              this.count += 1;\n            }\n\n            this._input = input; // if tap count matches we have recognized it,\n            // else it has began recognizing...\n\n            var tapCount = this.count % options.taps;\n\n            if (tapCount === 0) {\n              // no failing requirements, immediately trigger the tap event\n              // or wait as long as the multitap interval to trigger\n              if (!this.hasRequireFailures()) {\n                return STATE_RECOGNIZED;\n              } else {\n                this._timer = setTimeoutContext(function () {\n                  this.state = STATE_RECOGNIZED;\n                  this.tryEmit();\n                }, options.interval, this);\n                return STATE_BEGAN;\n              }\n            }\n          }\n\n          return STATE_FAILED;\n        },\n        failTimeout: function failTimeout() {\n          this._timer = setTimeoutContext(function () {\n            this.state = STATE_FAILED;\n          }, this.options.interval, this);\n          return STATE_FAILED;\n        },\n        reset: function reset() {\n          clearTimeout(this._timer);\n        },\n        emit: function emit() {\n          if (this.state == STATE_RECOGNIZED) {\n            this._input.tapCount = this.count;\n            this.manager.emit(this.options.event, this._input);\n          }\n        }\n      });\n      /**\n       * Simple way to create a manager with a default set of recognizers.\n       * @param {HTMLElement} element\n       * @param {Object} [options]\n       * @constructor\n       */\n\n      function Hammer(element, options) {\n        options = options || {};\n        options.recognizers = ifUndefined(options.recognizers, Hammer.defaults.preset);\n        return new Manager(element, options);\n      }\n      /**\n       * @const {string}\n       */\n\n\n      Hammer.VERSION = '2.0.7';\n      /**\n       * default settings\n       * @namespace\n       */\n\n      Hammer.defaults = {\n        /**\n         * set if DOM events are being triggered.\n         * But this is slower and unused by simple implementations, so disabled by default.\n         * @type {Boolean}\n         * @default false\n         */\n        domEvents: false,\n\n        /**\n         * The value for the touchAction property/fallback.\n         * When set to `compute` it will magically set the correct value based on the added recognizers.\n         * @type {String}\n         * @default compute\n         */\n        touchAction: TOUCH_ACTION_COMPUTE,\n\n        /**\n         * @type {Boolean}\n         * @default true\n         */\n        enable: true,\n\n        /**\n         * EXPERIMENTAL FEATURE -- can be removed/changed\n         * Change the parent input target element.\n         * If Null, then it is being set the to main element.\n         * @type {Null|EventTarget}\n         * @default null\n         */\n        inputTarget: null,\n\n        /**\n         * force an input class\n         * @type {Null|Function}\n         * @default null\n         */\n        inputClass: null,\n\n        /**\n         * Default recognizer setup when calling `Hammer()`\n         * When creating a new Manager these will be skipped.\n         * @type {Array}\n         */\n        preset: [// RecognizerClass, options, [recognizeWith, ...], [requireFailure, ...]\n        [RotateRecognizer, {\n          enable: false\n        }], [PinchRecognizer, {\n          enable: false\n        }, ['rotate']], [SwipeRecognizer, {\n          direction: DIRECTION_HORIZONTAL\n        }], [PanRecognizer, {\n          direction: DIRECTION_HORIZONTAL\n        }, ['swipe']], [TapRecognizer], [TapRecognizer, {\n          event: 'doubletap',\n          taps: 2\n        }, ['tap']], [PressRecognizer]],\n\n        /**\n         * Some CSS properties can be used to improve the working of Hammer.\n         * Add them to this method and they will be set when creating a new Manager.\n         * @namespace\n         */\n        cssProps: {\n          /**\n           * Disables text selection to improve the dragging gesture. Mainly for desktop browsers.\n           * @type {String}\n           * @default 'none'\n           */\n          userSelect: 'none',\n\n          /**\n           * Disable the Windows Phone grippers when pressing an element.\n           * @type {String}\n           * @default 'none'\n           */\n          touchSelect: 'none',\n\n          /**\n           * Disables the default callout shown when you touch and hold a touch target.\n           * On iOS, when you touch and hold a touch target such as a link, Safari displays\n           * a callout containing information about the link. This property allows you to disable that callout.\n           * @type {String}\n           * @default 'none'\n           */\n          touchCallout: 'none',\n\n          /**\n           * Specifies whether zooming is enabled. Used by IE10>\n           * @type {String}\n           * @default 'none'\n           */\n          contentZooming: 'none',\n\n          /**\n           * Specifies that an entire element should be draggable instead of its contents. Mainly for desktop browsers.\n           * @type {String}\n           * @default 'none'\n           */\n          userDrag: 'none',\n\n          /**\n           * Overrides the highlight color shown when the user taps a link or a JavaScript\n           * clickable element in iOS. This property obeys the alpha value, if specified.\n           * @type {String}\n           * @default 'rgba(0,0,0,0)'\n           */\n          tapHighlightColor: 'rgba(0,0,0,0)'\n        }\n      };\n      var STOP = 1;\n      var FORCED_STOP = 2;\n      /**\n       * Manager\n       * @param {HTMLElement} element\n       * @param {Object} [options]\n       * @constructor\n       */\n\n      function Manager(element, options) {\n        this.options = assign({}, Hammer.defaults, options || {});\n        this.options.inputTarget = this.options.inputTarget || element;\n        this.handlers = {};\n        this.session = {};\n        this.recognizers = [];\n        this.oldCssProps = {};\n        this.element = element;\n        this.input = createInputInstance(this);\n        this.touchAction = new TouchAction(this, this.options.touchAction);\n        toggleCssProps(this, true);\n        each(this.options.recognizers, function (item) {\n          var recognizer = this.add(new item[0](item[1]));\n          item[2] && recognizer.recognizeWith(item[2]);\n          item[3] && recognizer.requireFailure(item[3]);\n        }, this);\n      }\n\n      Manager.prototype = {\n        /**\n         * set options\n         * @param {Object} options\n         * @returns {Manager}\n         */\n        set: function set(options) {\n          assign(this.options, options); // Options that need a little more setup\n\n          if (options.touchAction) {\n            this.touchAction.update();\n          }\n\n          if (options.inputTarget) {\n            // Clean up existing event listeners and reinitialize\n            this.input.destroy();\n            this.input.target = options.inputTarget;\n            this.input.init();\n          }\n\n          return this;\n        },\n\n        /**\n         * stop recognizing for this session.\n         * This session will be discarded, when a new [input]start event is fired.\n         * When forced, the recognizer cycle is stopped immediately.\n         * @param {Boolean} [force]\n         */\n        stop: function stop(force) {\n          this.session.stopped = force ? FORCED_STOP : STOP;\n        },\n\n        /**\n         * run the recognizers!\n         * called by the inputHandler function on every movement of the pointers (touches)\n         * it walks through all the recognizers and tries to detect the gesture that is being made\n         * @param {Object} inputData\n         */\n        recognize: function recognize(inputData) {\n          var session = this.session;\n\n          if (session.stopped) {\n            return;\n          } // run the touch-action polyfill\n\n\n          this.touchAction.preventDefaults(inputData);\n          var recognizer;\n          var recognizers = this.recognizers; // this holds the recognizer that is being recognized.\n          // so the recognizer's state needs to be BEGAN, CHANGED, ENDED or RECOGNIZED\n          // if no recognizer is detecting a thing, it is set to `null`\n\n          var curRecognizer = session.curRecognizer; // reset when the last recognizer is recognized\n          // or when we're in a new session\n\n          if (!curRecognizer || curRecognizer && curRecognizer.state & STATE_RECOGNIZED) {\n            curRecognizer = session.curRecognizer = null;\n          }\n\n          var i = 0;\n\n          while (i < recognizers.length) {\n            recognizer = recognizers[i]; // find out if we are allowed try to recognize the input for this one.\n            // 1.   allow if the session is NOT forced stopped (see the .stop() method)\n            // 2.   allow if we still haven't recognized a gesture in this session, or the this recognizer is the one\n            //      that is being recognized.\n            // 3.   allow if the recognizer is allowed to run simultaneous with the current recognized recognizer.\n            //      this can be setup with the `recognizeWith()` method on the recognizer.\n\n            if (session.stopped !== FORCED_STOP && ( // 1\n            !curRecognizer || recognizer == curRecognizer || // 2\n            recognizer.canRecognizeWith(curRecognizer))) {\n              // 3\n              recognizer.recognize(inputData);\n            } else {\n              recognizer.reset();\n            } // if the recognizer has been recognizing the input as a valid gesture, we want to store this one as the\n            // current active recognizer. but only if we don't already have an active recognizer\n\n\n            if (!curRecognizer && recognizer.state & (STATE_BEGAN | STATE_CHANGED | STATE_ENDED)) {\n              curRecognizer = session.curRecognizer = recognizer;\n            }\n\n            i++;\n          }\n        },\n\n        /**\n         * get a recognizer by its event name.\n         * @param {Recognizer|String} recognizer\n         * @returns {Recognizer|Null}\n         */\n        get: function get(recognizer) {\n          if (recognizer instanceof Recognizer) {\n            return recognizer;\n          }\n\n          var recognizers = this.recognizers;\n\n          for (var i = 0; i < recognizers.length; i++) {\n            if (recognizers[i].options.event == recognizer) {\n              return recognizers[i];\n            }\n          }\n\n          return null;\n        },\n\n        /**\n         * add a recognizer to the manager\n         * existing recognizers with the same event name will be removed\n         * @param {Recognizer} recognizer\n         * @returns {Recognizer|Manager}\n         */\n        add: function add(recognizer) {\n          if (invokeArrayArg(recognizer, 'add', this)) {\n            return this;\n          } // remove existing\n\n\n          var existing = this.get(recognizer.options.event);\n\n          if (existing) {\n            this.remove(existing);\n          }\n\n          this.recognizers.push(recognizer);\n          recognizer.manager = this;\n          this.touchAction.update();\n          return recognizer;\n        },\n\n        /**\n         * remove a recognizer by name or instance\n         * @param {Recognizer|String} recognizer\n         * @returns {Manager}\n         */\n        remove: function remove(recognizer) {\n          if (invokeArrayArg(recognizer, 'remove', this)) {\n            return this;\n          }\n\n          recognizer = this.get(recognizer); // let's make sure this recognizer exists\n\n          if (recognizer) {\n            var recognizers = this.recognizers;\n            var index = inArray(recognizers, recognizer);\n\n            if (index !== -1) {\n              recognizers.splice(index, 1);\n              this.touchAction.update();\n            }\n          }\n\n          return this;\n        },\n\n        /**\n         * bind event\n         * @param {String} events\n         * @param {Function} handler\n         * @returns {EventEmitter} this\n         */\n        on: function on(events, handler) {\n          if (events === undefined) {\n            return;\n          }\n\n          if (handler === undefined) {\n            return;\n          }\n\n          var handlers = this.handlers;\n          each(splitStr(events), function (event) {\n            handlers[event] = handlers[event] || [];\n            handlers[event].push(handler);\n          });\n          return this;\n        },\n\n        /**\n         * unbind event, leave emit blank to remove all handlers\n         * @param {String} events\n         * @param {Function} [handler]\n         * @returns {EventEmitter} this\n         */\n        off: function off(events, handler) {\n          if (events === undefined) {\n            return;\n          }\n\n          var handlers = this.handlers;\n          each(splitStr(events), function (event) {\n            if (!handler) {\n              delete handlers[event];\n            } else {\n              handlers[event] && handlers[event].splice(inArray(handlers[event], handler), 1);\n            }\n          });\n          return this;\n        },\n\n        /**\n         * emit event to the listeners\n         * @param {String} event\n         * @param {Object} data\n         */\n        emit: function emit(event, data) {\n          // we also want to trigger dom events\n          if (this.options.domEvents) {\n            triggerDomEvent(event, data);\n          } // no handlers, so skip it all\n\n\n          var handlers = this.handlers[event] && this.handlers[event].slice();\n\n          if (!handlers || !handlers.length) {\n            return;\n          }\n\n          data.type = event;\n\n          data.preventDefault = function () {\n            data.srcEvent.preventDefault();\n          };\n\n          var i = 0;\n\n          while (i < handlers.length) {\n            handlers[i](data);\n            i++;\n          }\n        },\n\n        /**\n         * destroy the manager and unbinds all events\n         * it doesn't unbind dom events, that is the user own responsibility\n         */\n        destroy: function destroy() {\n          this.element && toggleCssProps(this, false);\n          this.handlers = {};\n          this.session = {};\n          this.input.destroy();\n          this.element = null;\n        }\n      };\n      /**\n       * add/remove the css properties as defined in manager.options.cssProps\n       * @param {Manager} manager\n       * @param {Boolean} add\n       */\n\n      function toggleCssProps(manager, add) {\n        var element = manager.element;\n\n        if (!element.style) {\n          return;\n        }\n\n        var prop;\n        each(manager.options.cssProps, function (value, name) {\n          prop = prefixed(element.style, name);\n\n          if (add) {\n            manager.oldCssProps[prop] = element.style[prop];\n            element.style[prop] = value;\n          } else {\n            element.style[prop] = manager.oldCssProps[prop] || '';\n          }\n        });\n\n        if (!add) {\n          manager.oldCssProps = {};\n        }\n      }\n      /**\n       * trigger dom event\n       * @param {String} event\n       * @param {Object} data\n       */\n\n\n      function triggerDomEvent(event, data) {\n        var gestureEvent = document.createEvent('Event');\n        gestureEvent.initEvent(event, true, true);\n        gestureEvent.gesture = data;\n        data.target.dispatchEvent(gestureEvent);\n      }\n\n      assign(Hammer, {\n        INPUT_START: INPUT_START,\n        INPUT_MOVE: INPUT_MOVE,\n        INPUT_END: INPUT_END,\n        INPUT_CANCEL: INPUT_CANCEL,\n        STATE_POSSIBLE: STATE_POSSIBLE,\n        STATE_BEGAN: STATE_BEGAN,\n        STATE_CHANGED: STATE_CHANGED,\n        STATE_ENDED: STATE_ENDED,\n        STATE_RECOGNIZED: STATE_RECOGNIZED,\n        STATE_CANCELLED: STATE_CANCELLED,\n        STATE_FAILED: STATE_FAILED,\n        DIRECTION_NONE: DIRECTION_NONE,\n        DIRECTION_LEFT: DIRECTION_LEFT,\n        DIRECTION_RIGHT: DIRECTION_RIGHT,\n        DIRECTION_UP: DIRECTION_UP,\n        DIRECTION_DOWN: DIRECTION_DOWN,\n        DIRECTION_HORIZONTAL: DIRECTION_HORIZONTAL,\n        DIRECTION_VERTICAL: DIRECTION_VERTICAL,\n        DIRECTION_ALL: DIRECTION_ALL,\n        Manager: Manager,\n        Input: Input,\n        TouchAction: TouchAction,\n        TouchInput: TouchInput,\n        MouseInput: MouseInput,\n        PointerEventInput: PointerEventInput,\n        TouchMouseInput: TouchMouseInput,\n        SingleTouchInput: SingleTouchInput,\n        Recognizer: Recognizer,\n        AttrRecognizer: AttrRecognizer,\n        Tap: TapRecognizer,\n        Pan: PanRecognizer,\n        Swipe: SwipeRecognizer,\n        Pinch: PinchRecognizer,\n        Rotate: RotateRecognizer,\n        Press: PressRecognizer,\n        on: addEventListeners,\n        off: removeEventListeners,\n        each: each,\n        merge: merge,\n        extend: extend,\n        assign: assign,\n        inherit: inherit,\n        bindFn: bindFn,\n        prefixed: prefixed\n      }); // this prevents errors when Hammer is loaded in the presence of an AMD\n      //  style loader but by script tag, not by the loader.\n\n      var freeGlobal = typeof window !== 'undefined' ? window : typeof self !== 'undefined' ? self : {}; // jshint ignore:line\n\n      freeGlobal.Hammer = Hammer;\n\n      if (true) {\n        !(__WEBPACK_AMD_DEFINE_RESULT__ = function () {\n          return Hammer;\n        }.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n      } else {}\n    })(window, document, 'Hammer');\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/ngx-cookie-service/fesm2015/ngx-cookie-service.js\":\n  /*!************************************************************************!*\\\n    !*** ./node_modules/ngx-cookie-service/fesm2015/ngx-cookie-service.js ***!\n    \\************************************************************************/\n\n  /*! exports provided: CookieService */\n\n  /***/\n  function node_modulesNgxCookieServiceFesm2015NgxCookieServiceJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CookieService\", function () {\n      return CookieService;\n    });\n    /* harmony import */\n\n\n    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! tslib */\n    \"./node_modules/tslib/tslib.es6.js\");\n    /* harmony import */\n\n\n    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! @angular/core */\n    \"./node_modules/@angular/core/fesm2015/core.js\");\n    /* harmony import */\n\n\n    var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! @angular/common */\n    \"./node_modules/@angular/common/fesm2015/common.js\");\n\n    var CookieService =\n    /*#__PURE__*/\n    function () {\n      function CookieService( // The type `Document` may not be used here. Although a fix is on its way,\n      // we will go with `any` for now to support Angular 2.4.x projects.\n      // Issue: https://github.com/angular/angular/issues/12631\n      // Fix: https://github.com/angular/angular/pull/14894\n      document, // Get the `PLATFORM_ID` so we can check if we're in a browser.\n      platformId) {\n        _classCallCheck(this, CookieService);\n\n        this.document = document;\n        this.platformId = platformId;\n        this.documentIsAccessible = Object(_angular_common__WEBPACK_IMPORTED_MODULE_2__[\"isPlatformBrowser\"])(this.platformId);\n      }\n      /**\n       * @param name Cookie name\n       * @returns boolean - whether cookie with specified name exists\n       */\n\n\n      _createClass2(CookieService, [{\n        key: \"check\",\n        value: function check(name) {\n          if (!this.documentIsAccessible) {\n            return false;\n          }\n\n          name = encodeURIComponent(name);\n          var regExp = this.getCookieRegExp(name);\n          var exists = regExp.test(this.document.cookie);\n          return exists;\n        }\n        /**\n         * @param name Cookie name\n         * @returns property value\n         */\n\n      }, {\n        key: \"get\",\n        value: function get(name) {\n          if (this.documentIsAccessible && this.check(name)) {\n            name = encodeURIComponent(name);\n            var regExp = this.getCookieRegExp(name);\n            var result = regExp.exec(this.document.cookie);\n            return this.safeDecodeURIComponent(result[1]);\n          } else {\n            return '';\n          }\n        }\n        /**\n         * @returns all the cookies in json\n         */\n\n      }, {\n        key: \"getAll\",\n        value: function getAll() {\n          var _this697 = this;\n\n          if (!this.documentIsAccessible) {\n            return {};\n          }\n\n          var cookies = {};\n          var document = this.document;\n\n          if (document.cookie && document.cookie !== '') {\n            document.cookie.split(';').forEach(function (currentCookie) {\n              var _currentCookie$split = currentCookie.split('='),\n                  _currentCookie$split2 = _slicedToArray(_currentCookie$split, 2),\n                  cookieName = _currentCookie$split2[0],\n                  cookieValue = _currentCookie$split2[1];\n\n              cookies[_this697.safeDecodeURIComponent(cookieName.replace(/^ /, ''))] = _this697.safeDecodeURIComponent(cookieValue);\n            });\n          }\n\n          return cookies;\n        }\n        /**\n         * @param name     Cookie name\n         * @param value    Cookie value\n         * @param expires  Number of days until the cookies expires or an actual `Date`\n         * @param path     Cookie path\n         * @param domain   Cookie domain\n         * @param secure   Secure flag\n         * @param sameSite OWASP samesite token `Lax`, `None`, or `Strict`. Defaults to `Lax`\n         */\n\n      }, {\n        key: \"set\",\n        value: function set(name, value, expires, path, domain, secure) {\n          var sameSite = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : 'Lax';\n\n          if (!this.documentIsAccessible) {\n            return;\n          }\n\n          var cookieString = encodeURIComponent(name) + '=' + encodeURIComponent(value) + ';';\n\n          if (expires) {\n            if (typeof expires === 'number') {\n              var dateExpires = new Date(new Date().getTime() + expires * 1000 * 60 * 60 * 24);\n              cookieString += 'expires=' + dateExpires.toUTCString() + ';';\n            } else {\n              cookieString += 'expires=' + expires.toUTCString() + ';';\n            }\n          }\n\n          if (path) {\n            cookieString += 'path=' + path + ';';\n          }\n\n          if (domain) {\n            cookieString += 'domain=' + domain + ';';\n          }\n\n          if (secure === false && sameSite === 'None') {\n            secure = true;\n            console.warn(\"[ngx-cookie-service] Cookie \".concat(name, \" was forced with secure flag because sameSite=None.\") + \"More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130\");\n          }\n\n          if (secure) {\n            cookieString += 'secure;';\n          }\n\n          cookieString += 'sameSite=' + sameSite + ';';\n          this.document.cookie = cookieString;\n        }\n        /**\n         * @param name   Cookie name\n         * @param path   Cookie path\n         * @param domain Cookie domain\n         */\n\n      }, {\n        key: \"delete\",\n        value: function _delete(name, path, domain, secure) {\n          var sameSite = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 'Lax';\n\n          if (!this.documentIsAccessible) {\n            return;\n          }\n\n          this.set(name, '', new Date('Thu, 01 Jan 1970 00:00:01 GMT'), path, domain, secure, sameSite);\n        }\n        /**\n         * @param path   Cookie path\n         * @param domain Cookie domain\n         */\n\n      }, {\n        key: \"deleteAll\",\n        value: function deleteAll(path, domain, secure) {\n          var sameSite = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 'Lax';\n\n          if (!this.documentIsAccessible) {\n            return;\n          }\n\n          var cookies = this.getAll();\n\n          for (var cookieName in cookies) {\n            if (cookies.hasOwnProperty(cookieName)) {\n              this.delete(cookieName, path, domain, secure, sameSite);\n            }\n          }\n        }\n        /**\n         * @param name Cookie name\n         * @returns property RegExp\n         */\n\n      }, {\n        key: \"getCookieRegExp\",\n        value: function getCookieRegExp(name) {\n          var escapedName = name.replace(/([\\[\\]\\{\\}\\(\\)\\|\\=\\;\\+\\?\\,\\.\\*\\^\\$])/ig, '\\\\$1');\n          return new RegExp('(?:^' + escapedName + '|;\\\\s*' + escapedName + ')=(.*?)(?:;|$)', 'g');\n        }\n      }, {\n        key: \"safeDecodeURIComponent\",\n        value: function safeDecodeURIComponent(encodedURIComponent) {\n          try {\n            return decodeURIComponent(encodedURIComponent);\n          } catch (_a) {\n            // probably it is not uri encoded. return as is\n            return encodedURIComponent;\n          }\n        }\n      }]);\n\n      return CookieService;\n    }();\n\n    CookieService.ctorParameters = function () {\n      return [{\n        type: undefined,\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"],\n          args: [_angular_common__WEBPACK_IMPORTED_MODULE_2__[\"DOCUMENT\"]]\n        }]\n      }, {\n        type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"InjectionToken\"],\n        decorators: [{\n          type: _angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"],\n          args: [_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"PLATFORM_ID\"]]\n        }]\n      }];\n    };\n\n    CookieService.ɵprov = Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵdefineInjectable\"])({\n      factory: function CookieService_Factory() {\n        return new CookieService(Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(_angular_common__WEBPACK_IMPORTED_MODULE_2__[\"DOCUMENT\"]), Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"ɵɵinject\"])(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"PLATFORM_ID\"]));\n      },\n      token: CookieService,\n      providedIn: \"root\"\n    });\n    CookieService = Object(tslib__WEBPACK_IMPORTED_MODULE_0__[\"__decorate\"])([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Injectable\"])({\n      providedIn: 'root'\n    }), Object(tslib__WEBPACK_IMPORTED_MODULE_0__[\"__param\"])(0, Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"])(_angular_common__WEBPACK_IMPORTED_MODULE_2__[\"DOCUMENT\"])), Object(tslib__WEBPACK_IMPORTED_MODULE_0__[\"__param\"])(1, Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"Inject\"])(_angular_core__WEBPACK_IMPORTED_MODULE_1__[\"PLATFORM_ID\"]))], CookieService);\n    /*\n     * Public API Surface of ngx-cookie-service\n     */\n\n    /**\n     * Generated bundle index. Do not edit.\n     */\n\n    /***/\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/index.js\":\n  /*!*********************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/index.js ***!\n    \\*********************************************/\n\n  /*! exports provided: Observable, ConnectableObservable, GroupedObservable, observable, Subject, BehaviorSubject, ReplaySubject, AsyncSubject, asapScheduler, asyncScheduler, queueScheduler, animationFrameScheduler, VirtualTimeScheduler, VirtualAction, Scheduler, Subscription, Subscriber, Notification, pipe, noop, identity, isObservable, ArgumentOutOfRangeError, EmptyError, ObjectUnsubscribedError, UnsubscriptionError, TimeoutError, bindCallback, bindNodeCallback, combineLatest, concat, defer, empty, forkJoin, from, fromEvent, fromEventPattern, generate, iif, interval, merge, never, of, onErrorResumeNext, pairs, race, range, throwError, timer, using, zip, EMPTY, NEVER, config */\n\n  /***/\n  function node_modulesRxjs_esm2015IndexJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony import */\n\n\n    var _internal_Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./internal/Observable */\n    \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Observable\", function () {\n      return _internal_Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"];\n    });\n    /* harmony import */\n\n\n    var _internal_observable_ConnectableObservable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ./internal/observable/ConnectableObservable */\n    \"./node_modules/rxjs/_esm2015/internal/observable/ConnectableObservable.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ConnectableObservable\", function () {\n      return _internal_observable_ConnectableObservable__WEBPACK_IMPORTED_MODULE_1__[\"ConnectableObservable\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_groupBy__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ./internal/operators/groupBy */\n    \"./node_modules/rxjs/_esm2015/internal/operators/groupBy.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"GroupedObservable\", function () {\n      return _internal_operators_groupBy__WEBPACK_IMPORTED_MODULE_2__[\"GroupedObservable\"];\n    });\n    /* harmony import */\n\n\n    var _internal_symbol_observable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ./internal/symbol/observable */\n    \"./node_modules/rxjs/_esm2015/internal/symbol/observable.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"observable\", function () {\n      return _internal_symbol_observable__WEBPACK_IMPORTED_MODULE_3__[\"observable\"];\n    });\n    /* harmony import */\n\n\n    var _internal_Subject__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! ./internal/Subject */\n    \"./node_modules/rxjs/_esm2015/internal/Subject.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Subject\", function () {\n      return _internal_Subject__WEBPACK_IMPORTED_MODULE_4__[\"Subject\"];\n    });\n    /* harmony import */\n\n\n    var _internal_BehaviorSubject__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\n    /*! ./internal/BehaviorSubject */\n    \"./node_modules/rxjs/_esm2015/internal/BehaviorSubject.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"BehaviorSubject\", function () {\n      return _internal_BehaviorSubject__WEBPACK_IMPORTED_MODULE_5__[\"BehaviorSubject\"];\n    });\n    /* harmony import */\n\n\n    var _internal_ReplaySubject__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(\n    /*! ./internal/ReplaySubject */\n    \"./node_modules/rxjs/_esm2015/internal/ReplaySubject.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ReplaySubject\", function () {\n      return _internal_ReplaySubject__WEBPACK_IMPORTED_MODULE_6__[\"ReplaySubject\"];\n    });\n    /* harmony import */\n\n\n    var _internal_AsyncSubject__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(\n    /*! ./internal/AsyncSubject */\n    \"./node_modules/rxjs/_esm2015/internal/AsyncSubject.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"AsyncSubject\", function () {\n      return _internal_AsyncSubject__WEBPACK_IMPORTED_MODULE_7__[\"AsyncSubject\"];\n    });\n    /* harmony import */\n\n\n    var _internal_scheduler_asap__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(\n    /*! ./internal/scheduler/asap */\n    \"./node_modules/rxjs/_esm2015/internal/scheduler/asap.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"asapScheduler\", function () {\n      return _internal_scheduler_asap__WEBPACK_IMPORTED_MODULE_8__[\"asap\"];\n    });\n    /* harmony import */\n\n\n    var _internal_scheduler_async__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(\n    /*! ./internal/scheduler/async */\n    \"./node_modules/rxjs/_esm2015/internal/scheduler/async.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"asyncScheduler\", function () {\n      return _internal_scheduler_async__WEBPACK_IMPORTED_MODULE_9__[\"async\"];\n    });\n    /* harmony import */\n\n\n    var _internal_scheduler_queue__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(\n    /*! ./internal/scheduler/queue */\n    \"./node_modules/rxjs/_esm2015/internal/scheduler/queue.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"queueScheduler\", function () {\n      return _internal_scheduler_queue__WEBPACK_IMPORTED_MODULE_10__[\"queue\"];\n    });\n    /* harmony import */\n\n\n    var _internal_scheduler_animationFrame__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(\n    /*! ./internal/scheduler/animationFrame */\n    \"./node_modules/rxjs/_esm2015/internal/scheduler/animationFrame.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"animationFrameScheduler\", function () {\n      return _internal_scheduler_animationFrame__WEBPACK_IMPORTED_MODULE_11__[\"animationFrame\"];\n    });\n    /* harmony import */\n\n\n    var _internal_scheduler_VirtualTimeScheduler__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(\n    /*! ./internal/scheduler/VirtualTimeScheduler */\n    \"./node_modules/rxjs/_esm2015/internal/scheduler/VirtualTimeScheduler.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"VirtualTimeScheduler\", function () {\n      return _internal_scheduler_VirtualTimeScheduler__WEBPACK_IMPORTED_MODULE_12__[\"VirtualTimeScheduler\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"VirtualAction\", function () {\n      return _internal_scheduler_VirtualTimeScheduler__WEBPACK_IMPORTED_MODULE_12__[\"VirtualAction\"];\n    });\n    /* harmony import */\n\n\n    var _internal_Scheduler__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(\n    /*! ./internal/Scheduler */\n    \"./node_modules/rxjs/_esm2015/internal/Scheduler.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Scheduler\", function () {\n      return _internal_Scheduler__WEBPACK_IMPORTED_MODULE_13__[\"Scheduler\"];\n    });\n    /* harmony import */\n\n\n    var _internal_Subscription__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(\n    /*! ./internal/Subscription */\n    \"./node_modules/rxjs/_esm2015/internal/Subscription.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Subscription\", function () {\n      return _internal_Subscription__WEBPACK_IMPORTED_MODULE_14__[\"Subscription\"];\n    });\n    /* harmony import */\n\n\n    var _internal_Subscriber__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(\n    /*! ./internal/Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Subscriber\", function () {\n      return _internal_Subscriber__WEBPACK_IMPORTED_MODULE_15__[\"Subscriber\"];\n    });\n    /* harmony import */\n\n\n    var _internal_Notification__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(\n    /*! ./internal/Notification */\n    \"./node_modules/rxjs/_esm2015/internal/Notification.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Notification\", function () {\n      return _internal_Notification__WEBPACK_IMPORTED_MODULE_16__[\"Notification\"];\n    });\n    /* harmony import */\n\n\n    var _internal_util_pipe__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(\n    /*! ./internal/util/pipe */\n    \"./node_modules/rxjs/_esm2015/internal/util/pipe.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"pipe\", function () {\n      return _internal_util_pipe__WEBPACK_IMPORTED_MODULE_17__[\"pipe\"];\n    });\n    /* harmony import */\n\n\n    var _internal_util_noop__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(\n    /*! ./internal/util/noop */\n    \"./node_modules/rxjs/_esm2015/internal/util/noop.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"noop\", function () {\n      return _internal_util_noop__WEBPACK_IMPORTED_MODULE_18__[\"noop\"];\n    });\n    /* harmony import */\n\n\n    var _internal_util_identity__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(\n    /*! ./internal/util/identity */\n    \"./node_modules/rxjs/_esm2015/internal/util/identity.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"identity\", function () {\n      return _internal_util_identity__WEBPACK_IMPORTED_MODULE_19__[\"identity\"];\n    });\n    /* harmony import */\n\n\n    var _internal_util_isObservable__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(\n    /*! ./internal/util/isObservable */\n    \"./node_modules/rxjs/_esm2015/internal/util/isObservable.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"isObservable\", function () {\n      return _internal_util_isObservable__WEBPACK_IMPORTED_MODULE_20__[\"isObservable\"];\n    });\n    /* harmony import */\n\n\n    var _internal_util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(\n    /*! ./internal/util/ArgumentOutOfRangeError */\n    \"./node_modules/rxjs/_esm2015/internal/util/ArgumentOutOfRangeError.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ArgumentOutOfRangeError\", function () {\n      return _internal_util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_21__[\"ArgumentOutOfRangeError\"];\n    });\n    /* harmony import */\n\n\n    var _internal_util_EmptyError__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(\n    /*! ./internal/util/EmptyError */\n    \"./node_modules/rxjs/_esm2015/internal/util/EmptyError.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"EmptyError\", function () {\n      return _internal_util_EmptyError__WEBPACK_IMPORTED_MODULE_22__[\"EmptyError\"];\n    });\n    /* harmony import */\n\n\n    var _internal_util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(\n    /*! ./internal/util/ObjectUnsubscribedError */\n    \"./node_modules/rxjs/_esm2015/internal/util/ObjectUnsubscribedError.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ObjectUnsubscribedError\", function () {\n      return _internal_util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_23__[\"ObjectUnsubscribedError\"];\n    });\n    /* harmony import */\n\n\n    var _internal_util_UnsubscriptionError__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(\n    /*! ./internal/util/UnsubscriptionError */\n    \"./node_modules/rxjs/_esm2015/internal/util/UnsubscriptionError.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"UnsubscriptionError\", function () {\n      return _internal_util_UnsubscriptionError__WEBPACK_IMPORTED_MODULE_24__[\"UnsubscriptionError\"];\n    });\n    /* harmony import */\n\n\n    var _internal_util_TimeoutError__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(\n    /*! ./internal/util/TimeoutError */\n    \"./node_modules/rxjs/_esm2015/internal/util/TimeoutError.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TimeoutError\", function () {\n      return _internal_util_TimeoutError__WEBPACK_IMPORTED_MODULE_25__[\"TimeoutError\"];\n    });\n    /* harmony import */\n\n\n    var _internal_observable_bindCallback__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(\n    /*! ./internal/observable/bindCallback */\n    \"./node_modules/rxjs/_esm2015/internal/observable/bindCallback.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"bindCallback\", function () {\n      return _internal_observable_bindCallback__WEBPACK_IMPORTED_MODULE_26__[\"bindCallback\"];\n    });\n    /* harmony import */\n\n\n    var _internal_observable_bindNodeCallback__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(\n    /*! ./internal/observable/bindNodeCallback */\n    \"./node_modules/rxjs/_esm2015/internal/observable/bindNodeCallback.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"bindNodeCallback\", function () {\n      return _internal_observable_bindNodeCallback__WEBPACK_IMPORTED_MODULE_27__[\"bindNodeCallback\"];\n    });\n    /* harmony import */\n\n\n    var _internal_observable_combineLatest__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(\n    /*! ./internal/observable/combineLatest */\n    \"./node_modules/rxjs/_esm2015/internal/observable/combineLatest.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"combineLatest\", function () {\n      return _internal_observable_combineLatest__WEBPACK_IMPORTED_MODULE_28__[\"combineLatest\"];\n    });\n    /* harmony import */\n\n\n    var _internal_observable_concat__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(\n    /*! ./internal/observable/concat */\n    \"./node_modules/rxjs/_esm2015/internal/observable/concat.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"concat\", function () {\n      return _internal_observable_concat__WEBPACK_IMPORTED_MODULE_29__[\"concat\"];\n    });\n    /* harmony import */\n\n\n    var _internal_observable_defer__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(\n    /*! ./internal/observable/defer */\n    \"./node_modules/rxjs/_esm2015/internal/observable/defer.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"defer\", function () {\n      return _internal_observable_defer__WEBPACK_IMPORTED_MODULE_30__[\"defer\"];\n    });\n    /* harmony import */\n\n\n    var _internal_observable_empty__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(\n    /*! ./internal/observable/empty */\n    \"./node_modules/rxjs/_esm2015/internal/observable/empty.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"empty\", function () {\n      return _internal_observable_empty__WEBPACK_IMPORTED_MODULE_31__[\"empty\"];\n    });\n    /* harmony import */\n\n\n    var _internal_observable_forkJoin__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(\n    /*! ./internal/observable/forkJoin */\n    \"./node_modules/rxjs/_esm2015/internal/observable/forkJoin.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"forkJoin\", function () {\n      return _internal_observable_forkJoin__WEBPACK_IMPORTED_MODULE_32__[\"forkJoin\"];\n    });\n    /* harmony import */\n\n\n    var _internal_observable_from__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(\n    /*! ./internal/observable/from */\n    \"./node_modules/rxjs/_esm2015/internal/observable/from.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"from\", function () {\n      return _internal_observable_from__WEBPACK_IMPORTED_MODULE_33__[\"from\"];\n    });\n    /* harmony import */\n\n\n    var _internal_observable_fromEvent__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(\n    /*! ./internal/observable/fromEvent */\n    \"./node_modules/rxjs/_esm2015/internal/observable/fromEvent.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"fromEvent\", function () {\n      return _internal_observable_fromEvent__WEBPACK_IMPORTED_MODULE_34__[\"fromEvent\"];\n    });\n    /* harmony import */\n\n\n    var _internal_observable_fromEventPattern__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(\n    /*! ./internal/observable/fromEventPattern */\n    \"./node_modules/rxjs/_esm2015/internal/observable/fromEventPattern.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"fromEventPattern\", function () {\n      return _internal_observable_fromEventPattern__WEBPACK_IMPORTED_MODULE_35__[\"fromEventPattern\"];\n    });\n    /* harmony import */\n\n\n    var _internal_observable_generate__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(\n    /*! ./internal/observable/generate */\n    \"./node_modules/rxjs/_esm2015/internal/observable/generate.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"generate\", function () {\n      return _internal_observable_generate__WEBPACK_IMPORTED_MODULE_36__[\"generate\"];\n    });\n    /* harmony import */\n\n\n    var _internal_observable_iif__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(\n    /*! ./internal/observable/iif */\n    \"./node_modules/rxjs/_esm2015/internal/observable/iif.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"iif\", function () {\n      return _internal_observable_iif__WEBPACK_IMPORTED_MODULE_37__[\"iif\"];\n    });\n    /* harmony import */\n\n\n    var _internal_observable_interval__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(\n    /*! ./internal/observable/interval */\n    \"./node_modules/rxjs/_esm2015/internal/observable/interval.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"interval\", function () {\n      return _internal_observable_interval__WEBPACK_IMPORTED_MODULE_38__[\"interval\"];\n    });\n    /* harmony import */\n\n\n    var _internal_observable_merge__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(\n    /*! ./internal/observable/merge */\n    \"./node_modules/rxjs/_esm2015/internal/observable/merge.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"merge\", function () {\n      return _internal_observable_merge__WEBPACK_IMPORTED_MODULE_39__[\"merge\"];\n    });\n    /* harmony import */\n\n\n    var _internal_observable_never__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(\n    /*! ./internal/observable/never */\n    \"./node_modules/rxjs/_esm2015/internal/observable/never.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"never\", function () {\n      return _internal_observable_never__WEBPACK_IMPORTED_MODULE_40__[\"never\"];\n    });\n    /* harmony import */\n\n\n    var _internal_observable_of__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(\n    /*! ./internal/observable/of */\n    \"./node_modules/rxjs/_esm2015/internal/observable/of.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"of\", function () {\n      return _internal_observable_of__WEBPACK_IMPORTED_MODULE_41__[\"of\"];\n    });\n    /* harmony import */\n\n\n    var _internal_observable_onErrorResumeNext__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(\n    /*! ./internal/observable/onErrorResumeNext */\n    \"./node_modules/rxjs/_esm2015/internal/observable/onErrorResumeNext.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"onErrorResumeNext\", function () {\n      return _internal_observable_onErrorResumeNext__WEBPACK_IMPORTED_MODULE_42__[\"onErrorResumeNext\"];\n    });\n    /* harmony import */\n\n\n    var _internal_observable_pairs__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(\n    /*! ./internal/observable/pairs */\n    \"./node_modules/rxjs/_esm2015/internal/observable/pairs.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"pairs\", function () {\n      return _internal_observable_pairs__WEBPACK_IMPORTED_MODULE_43__[\"pairs\"];\n    });\n    /* harmony import */\n\n\n    var _internal_observable_race__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(\n    /*! ./internal/observable/race */\n    \"./node_modules/rxjs/_esm2015/internal/observable/race.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"race\", function () {\n      return _internal_observable_race__WEBPACK_IMPORTED_MODULE_44__[\"race\"];\n    });\n    /* harmony import */\n\n\n    var _internal_observable_range__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(\n    /*! ./internal/observable/range */\n    \"./node_modules/rxjs/_esm2015/internal/observable/range.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"range\", function () {\n      return _internal_observable_range__WEBPACK_IMPORTED_MODULE_45__[\"range\"];\n    });\n    /* harmony import */\n\n\n    var _internal_observable_throwError__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(\n    /*! ./internal/observable/throwError */\n    \"./node_modules/rxjs/_esm2015/internal/observable/throwError.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"throwError\", function () {\n      return _internal_observable_throwError__WEBPACK_IMPORTED_MODULE_46__[\"throwError\"];\n    });\n    /* harmony import */\n\n\n    var _internal_observable_timer__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(\n    /*! ./internal/observable/timer */\n    \"./node_modules/rxjs/_esm2015/internal/observable/timer.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"timer\", function () {\n      return _internal_observable_timer__WEBPACK_IMPORTED_MODULE_47__[\"timer\"];\n    });\n    /* harmony import */\n\n\n    var _internal_observable_using__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(\n    /*! ./internal/observable/using */\n    \"./node_modules/rxjs/_esm2015/internal/observable/using.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"using\", function () {\n      return _internal_observable_using__WEBPACK_IMPORTED_MODULE_48__[\"using\"];\n    });\n    /* harmony import */\n\n\n    var _internal_observable_zip__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(\n    /*! ./internal/observable/zip */\n    \"./node_modules/rxjs/_esm2015/internal/observable/zip.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"zip\", function () {\n      return _internal_observable_zip__WEBPACK_IMPORTED_MODULE_49__[\"zip\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"EMPTY\", function () {\n      return _internal_observable_empty__WEBPACK_IMPORTED_MODULE_31__[\"EMPTY\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NEVER\", function () {\n      return _internal_observable_never__WEBPACK_IMPORTED_MODULE_40__[\"NEVER\"];\n    });\n    /* harmony import */\n\n\n    var _internal_config__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(\n    /*! ./internal/config */\n    \"./node_modules/rxjs/_esm2015/internal/config.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"config\", function () {\n      return _internal_config__WEBPACK_IMPORTED_MODULE_50__[\"config\"];\n    });\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/AsyncSubject.js\":\n  /*!*************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/AsyncSubject.js ***!\n    \\*************************************************************/\n\n  /*! exports provided: AsyncSubject */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalAsyncSubjectJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"AsyncSubject\", function () {\n      return AsyncSubject;\n    });\n    /* harmony import */\n\n\n    var _Subject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./Subject */\n    \"./node_modules/rxjs/_esm2015/internal/Subject.js\");\n    /* harmony import */\n\n\n    var _Subscription__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ./Subscription */\n    \"./node_modules/rxjs/_esm2015/internal/Subscription.js\");\n\n    var AsyncSubject =\n    /*#__PURE__*/\n    function (_Subject__WEBPACK_IMP) {\n      _inherits(AsyncSubject, _Subject__WEBPACK_IMP);\n\n      function AsyncSubject() {\n        var _this698;\n\n        _classCallCheck(this, AsyncSubject);\n\n        _this698 = _possibleConstructorReturn(this, _getPrototypeOf(AsyncSubject).apply(this, arguments));\n        _this698.value = null;\n        _this698.hasNext = false;\n        _this698.hasCompleted = false;\n        return _this698;\n      }\n\n      _createClass2(AsyncSubject, [{\n        key: \"_subscribe\",\n        value: function _subscribe(subscriber) {\n          if (this.hasError) {\n            subscriber.error(this.thrownError);\n            return _Subscription__WEBPACK_IMPORTED_MODULE_1__[\"Subscription\"].EMPTY;\n          } else if (this.hasCompleted && this.hasNext) {\n            subscriber.next(this.value);\n            subscriber.complete();\n            return _Subscription__WEBPACK_IMPORTED_MODULE_1__[\"Subscription\"].EMPTY;\n          }\n\n          return _get(_getPrototypeOf(AsyncSubject.prototype), \"_subscribe\", this).call(this, subscriber);\n        }\n      }, {\n        key: \"next\",\n        value: function next(value) {\n          if (!this.hasCompleted) {\n            this.value = value;\n            this.hasNext = true;\n          }\n        }\n      }, {\n        key: \"error\",\n        value: function error(_error3) {\n          if (!this.hasCompleted) {\n            _get(_getPrototypeOf(AsyncSubject.prototype), \"error\", this).call(this, _error3);\n          }\n        }\n      }, {\n        key: \"complete\",\n        value: function complete() {\n          this.hasCompleted = true;\n\n          if (this.hasNext) {\n            _get(_getPrototypeOf(AsyncSubject.prototype), \"next\", this).call(this, this.value);\n          }\n\n          _get(_getPrototypeOf(AsyncSubject.prototype), \"complete\", this).call(this);\n        }\n      }]);\n\n      return AsyncSubject;\n    }(_Subject__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/BehaviorSubject.js\":\n  /*!****************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/BehaviorSubject.js ***!\n    \\****************************************************************/\n\n  /*! exports provided: BehaviorSubject */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalBehaviorSubjectJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"BehaviorSubject\", function () {\n      return BehaviorSubject;\n    });\n    /* harmony import */\n\n\n    var _Subject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./Subject */\n    \"./node_modules/rxjs/_esm2015/internal/Subject.js\");\n    /* harmony import */\n\n\n    var _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ./util/ObjectUnsubscribedError */\n    \"./node_modules/rxjs/_esm2015/internal/util/ObjectUnsubscribedError.js\");\n\n    var BehaviorSubject =\n    /*#__PURE__*/\n    function (_Subject__WEBPACK_IMP2) {\n      _inherits(BehaviorSubject, _Subject__WEBPACK_IMP2);\n\n      function BehaviorSubject(_value) {\n        var _this699;\n\n        _classCallCheck(this, BehaviorSubject);\n\n        _this699 = _possibleConstructorReturn(this, _getPrototypeOf(BehaviorSubject).call(this));\n        _this699._value = _value;\n        return _this699;\n      }\n\n      _createClass2(BehaviorSubject, [{\n        key: \"_subscribe\",\n        value: function _subscribe(subscriber) {\n          var subscription = _get(_getPrototypeOf(BehaviorSubject.prototype), \"_subscribe\", this).call(this, subscriber);\n\n          if (subscription && !subscription.closed) {\n            subscriber.next(this._value);\n          }\n\n          return subscription;\n        }\n      }, {\n        key: \"getValue\",\n        value: function getValue() {\n          if (this.hasError) {\n            throw this.thrownError;\n          } else if (this.closed) {\n            throw new _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_1__[\"ObjectUnsubscribedError\"]();\n          } else {\n            return this._value;\n          }\n        }\n      }, {\n        key: \"next\",\n        value: function next(value) {\n          _get(_getPrototypeOf(BehaviorSubject.prototype), \"next\", this).call(this, this._value = value);\n        }\n      }, {\n        key: \"value\",\n        get: function get() {\n          return this.getValue();\n        }\n      }]);\n\n      return BehaviorSubject;\n    }(_Subject__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/InnerSubscriber.js\":\n  /*!****************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/InnerSubscriber.js ***!\n    \\****************************************************************/\n\n  /*! exports provided: InnerSubscriber */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalInnerSubscriberJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"InnerSubscriber\", function () {\n      return InnerSubscriber;\n    });\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\n    var InnerSubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_) {\n      _inherits(InnerSubscriber, _Subscriber__WEBPACK_);\n\n      function InnerSubscriber(parent, outerValue, outerIndex) {\n        var _this700;\n\n        _classCallCheck(this, InnerSubscriber);\n\n        _this700 = _possibleConstructorReturn(this, _getPrototypeOf(InnerSubscriber).call(this));\n        _this700.parent = parent;\n        _this700.outerValue = outerValue;\n        _this700.outerIndex = outerIndex;\n        _this700.index = 0;\n        return _this700;\n      }\n\n      _createClass2(InnerSubscriber, [{\n        key: \"_next\",\n        value: function _next(value) {\n          this.parent.notifyNext(this.outerValue, value, this.outerIndex, this.index++, this);\n        }\n      }, {\n        key: \"_error\",\n        value: function _error(error) {\n          this.parent.notifyError(error, this);\n          this.unsubscribe();\n        }\n      }, {\n        key: \"_complete\",\n        value: function _complete() {\n          this.parent.notifyComplete(this);\n          this.unsubscribe();\n        }\n      }]);\n\n      return InnerSubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/Notification.js\":\n  /*!*************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/Notification.js ***!\n    \\*************************************************************/\n\n  /*! exports provided: NotificationKind, Notification */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalNotificationJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NotificationKind\", function () {\n      return NotificationKind;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Notification\", function () {\n      return Notification;\n    });\n    /* harmony import */\n\n\n    var _observable_empty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./observable/empty */\n    \"./node_modules/rxjs/_esm2015/internal/observable/empty.js\");\n    /* harmony import */\n\n\n    var _observable_of__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ./observable/of */\n    \"./node_modules/rxjs/_esm2015/internal/observable/of.js\");\n    /* harmony import */\n\n\n    var _observable_throwError__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ./observable/throwError */\n    \"./node_modules/rxjs/_esm2015/internal/observable/throwError.js\");\n\n    var NotificationKind;\n\n    (function (NotificationKind) {\n      NotificationKind[\"NEXT\"] = \"N\";\n      NotificationKind[\"ERROR\"] = \"E\";\n      NotificationKind[\"COMPLETE\"] = \"C\";\n    })(NotificationKind || (NotificationKind = {}));\n\n    var Notification =\n    /*#__PURE__*/\n    function () {\n      function Notification(kind, value, error) {\n        _classCallCheck(this, Notification);\n\n        this.kind = kind;\n        this.value = value;\n        this.error = error;\n        this.hasValue = kind === \"N\";\n      }\n\n      _createClass2(Notification, [{\n        key: \"observe\",\n        value: function observe(observer) {\n          switch (this.kind) {\n            case \"N\":\n              return observer.next && observer.next(this.value);\n\n            case \"E\":\n              return observer.error && observer.error(this.error);\n\n            case \"C\":\n              return observer.complete && observer.complete();\n          }\n        }\n      }, {\n        key: \"do\",\n        value: function _do(next, error, complete) {\n          var kind = this.kind;\n\n          switch (kind) {\n            case \"N\":\n              return next && next(this.value);\n\n            case \"E\":\n              return error && error(this.error);\n\n            case \"C\":\n              return complete && complete();\n          }\n        }\n      }, {\n        key: \"accept\",\n        value: function accept(nextOrObserver, error, complete) {\n          if (nextOrObserver && typeof nextOrObserver.next === 'function') {\n            return this.observe(nextOrObserver);\n          } else {\n            return this.do(nextOrObserver, error, complete);\n          }\n        }\n      }, {\n        key: \"toObservable\",\n        value: function toObservable() {\n          var kind = this.kind;\n\n          switch (kind) {\n            case \"N\":\n              return Object(_observable_of__WEBPACK_IMPORTED_MODULE_1__[\"of\"])(this.value);\n\n            case \"E\":\n              return Object(_observable_throwError__WEBPACK_IMPORTED_MODULE_2__[\"throwError\"])(this.error);\n\n            case \"C\":\n              return Object(_observable_empty__WEBPACK_IMPORTED_MODULE_0__[\"empty\"])();\n          }\n\n          throw new Error('unexpected notification kind value');\n        }\n      }], [{\n        key: \"createNext\",\n        value: function createNext(value) {\n          if (typeof value !== 'undefined') {\n            return new Notification(\"N\", value);\n          }\n\n          return Notification.undefinedValueNotification;\n        }\n      }, {\n        key: \"createError\",\n        value: function createError(err) {\n          return new Notification(\"E\", undefined, err);\n        }\n      }, {\n        key: \"createComplete\",\n        value: function createComplete() {\n          return Notification.completeNotification;\n        }\n      }]);\n\n      return Notification;\n    }();\n\n    Notification.completeNotification = new Notification(\"C\");\n    Notification.undefinedValueNotification = new Notification(\"N\", undefined);\n    /***/\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/Observable.js\":\n  /*!***********************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/Observable.js ***!\n    \\***********************************************************/\n\n  /*! exports provided: Observable */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalObservableJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Observable\", function () {\n      return Observable;\n    });\n    /* harmony import */\n\n\n    var _util_canReportError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./util/canReportError */\n    \"./node_modules/rxjs/_esm2015/internal/util/canReportError.js\");\n    /* harmony import */\n\n\n    var _util_toSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ./util/toSubscriber */\n    \"./node_modules/rxjs/_esm2015/internal/util/toSubscriber.js\");\n    /* harmony import */\n\n\n    var _internal_symbol_observable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../internal/symbol/observable */\n    \"./node_modules/rxjs/_esm2015/internal/symbol/observable.js\");\n    /* harmony import */\n\n\n    var _util_pipe__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ./util/pipe */\n    \"./node_modules/rxjs/_esm2015/internal/util/pipe.js\");\n    /* harmony import */\n\n\n    var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! ./config */\n    \"./node_modules/rxjs/_esm2015/internal/config.js\");\n\n    var Observable =\n    /*#__PURE__*/\n    function () {\n      function Observable(subscribe) {\n        _classCallCheck(this, Observable);\n\n        this._isScalar = false;\n\n        if (subscribe) {\n          this._subscribe = subscribe;\n        }\n      }\n\n      _createClass2(Observable, [{\n        key: \"lift\",\n        value: function lift(operator) {\n          var observable = new Observable();\n          observable.source = this;\n          observable.operator = operator;\n          return observable;\n        }\n      }, {\n        key: \"subscribe\",\n        value: function subscribe(observerOrNext, error, complete) {\n          var operator = this.operator;\n          var sink = Object(_util_toSubscriber__WEBPACK_IMPORTED_MODULE_1__[\"toSubscriber\"])(observerOrNext, error, complete);\n\n          if (operator) {\n            sink.add(operator.call(sink, this.source));\n          } else {\n            sink.add(this.source || _config__WEBPACK_IMPORTED_MODULE_4__[\"config\"].useDeprecatedSynchronousErrorHandling && !sink.syncErrorThrowable ? this._subscribe(sink) : this._trySubscribe(sink));\n          }\n\n          if (_config__WEBPACK_IMPORTED_MODULE_4__[\"config\"].useDeprecatedSynchronousErrorHandling) {\n            if (sink.syncErrorThrowable) {\n              sink.syncErrorThrowable = false;\n\n              if (sink.syncErrorThrown) {\n                throw sink.syncErrorValue;\n              }\n            }\n          }\n\n          return sink;\n        }\n      }, {\n        key: \"_trySubscribe\",\n        value: function _trySubscribe(sink) {\n          try {\n            return this._subscribe(sink);\n          } catch (err) {\n            if (_config__WEBPACK_IMPORTED_MODULE_4__[\"config\"].useDeprecatedSynchronousErrorHandling) {\n              sink.syncErrorThrown = true;\n              sink.syncErrorValue = err;\n            }\n\n            if (Object(_util_canReportError__WEBPACK_IMPORTED_MODULE_0__[\"canReportError\"])(sink)) {\n              sink.error(err);\n            } else {\n              console.warn(err);\n            }\n          }\n        }\n      }, {\n        key: \"forEach\",\n        value: function forEach(next, promiseCtor) {\n          var _this701 = this;\n\n          promiseCtor = getPromiseCtor(promiseCtor);\n          return new promiseCtor(function (resolve, reject) {\n            var subscription;\n            subscription = _this701.subscribe(function (value) {\n              try {\n                next(value);\n              } catch (err) {\n                reject(err);\n\n                if (subscription) {\n                  subscription.unsubscribe();\n                }\n              }\n            }, reject, resolve);\n          });\n        }\n      }, {\n        key: \"_subscribe\",\n        value: function _subscribe(subscriber) {\n          var source = this.source;\n          return source && source.subscribe(subscriber);\n        }\n      }, {\n        key: _internal_symbol_observable__WEBPACK_IMPORTED_MODULE_2__[\"observable\"],\n        value: function value() {\n          return this;\n        }\n      }, {\n        key: \"pipe\",\n        value: function pipe() {\n          for (var _len38 = arguments.length, operations = new Array(_len38), _key40 = 0; _key40 < _len38; _key40++) {\n            operations[_key40] = arguments[_key40];\n          }\n\n          if (operations.length === 0) {\n            return this;\n          }\n\n          return Object(_util_pipe__WEBPACK_IMPORTED_MODULE_3__[\"pipeFromArray\"])(operations)(this);\n        }\n      }, {\n        key: \"toPromise\",\n        value: function toPromise(promiseCtor) {\n          var _this702 = this;\n\n          promiseCtor = getPromiseCtor(promiseCtor);\n          return new promiseCtor(function (resolve, reject) {\n            var value;\n\n            _this702.subscribe(function (x) {\n              return value = x;\n            }, function (err) {\n              return reject(err);\n            }, function () {\n              return resolve(value);\n            });\n          });\n        }\n      }]);\n\n      return Observable;\n    }();\n\n    Observable.create = function (subscribe) {\n      return new Observable(subscribe);\n    };\n\n    function getPromiseCtor(promiseCtor) {\n      if (!promiseCtor) {\n        promiseCtor = _config__WEBPACK_IMPORTED_MODULE_4__[\"config\"].Promise || Promise;\n      }\n\n      if (!promiseCtor) {\n        throw new Error('no Promise impl found');\n      }\n\n      return promiseCtor;\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/Observer.js\":\n  /*!*********************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/Observer.js ***!\n    \\*********************************************************/\n\n  /*! exports provided: empty */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalObserverJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"empty\", function () {\n      return empty;\n    });\n    /* harmony import */\n\n\n    var _config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./config */\n    \"./node_modules/rxjs/_esm2015/internal/config.js\");\n    /* harmony import */\n\n\n    var _util_hostReportError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ./util/hostReportError */\n    \"./node_modules/rxjs/_esm2015/internal/util/hostReportError.js\");\n\n    var empty = {\n      closed: true,\n      next: function next(value) {},\n      error: function error(err) {\n        if (_config__WEBPACK_IMPORTED_MODULE_0__[\"config\"].useDeprecatedSynchronousErrorHandling) {\n          throw err;\n        } else {\n          Object(_util_hostReportError__WEBPACK_IMPORTED_MODULE_1__[\"hostReportError\"])(err);\n        }\n      },\n      complete: function complete() {}\n    };\n    /***/\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\":\n  /*!****************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js ***!\n    \\****************************************************************/\n\n  /*! exports provided: OuterSubscriber */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOuterSubscriberJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"OuterSubscriber\", function () {\n      return OuterSubscriber;\n    });\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\n    var OuterSubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_2) {\n      _inherits(OuterSubscriber, _Subscriber__WEBPACK_2);\n\n      function OuterSubscriber() {\n        _classCallCheck(this, OuterSubscriber);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(OuterSubscriber).apply(this, arguments));\n      }\n\n      _createClass2(OuterSubscriber, [{\n        key: \"notifyNext\",\n        value: function notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n          this.destination.next(innerValue);\n        }\n      }, {\n        key: \"notifyError\",\n        value: function notifyError(error, innerSub) {\n          this.destination.error(error);\n        }\n      }, {\n        key: \"notifyComplete\",\n        value: function notifyComplete(innerSub) {\n          this.destination.complete();\n        }\n      }]);\n\n      return OuterSubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/ReplaySubject.js\":\n  /*!**************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/ReplaySubject.js ***!\n    \\**************************************************************/\n\n  /*! exports provided: ReplaySubject */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalReplaySubjectJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ReplaySubject\", function () {\n      return ReplaySubject;\n    });\n    /* harmony import */\n\n\n    var _Subject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./Subject */\n    \"./node_modules/rxjs/_esm2015/internal/Subject.js\");\n    /* harmony import */\n\n\n    var _scheduler_queue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ./scheduler/queue */\n    \"./node_modules/rxjs/_esm2015/internal/scheduler/queue.js\");\n    /* harmony import */\n\n\n    var _Subscription__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ./Subscription */\n    \"./node_modules/rxjs/_esm2015/internal/Subscription.js\");\n    /* harmony import */\n\n\n    var _operators_observeOn__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ./operators/observeOn */\n    \"./node_modules/rxjs/_esm2015/internal/operators/observeOn.js\");\n    /* harmony import */\n\n\n    var _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! ./util/ObjectUnsubscribedError */\n    \"./node_modules/rxjs/_esm2015/internal/util/ObjectUnsubscribedError.js\");\n    /* harmony import */\n\n\n    var _SubjectSubscription__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\n    /*! ./SubjectSubscription */\n    \"./node_modules/rxjs/_esm2015/internal/SubjectSubscription.js\");\n\n    var ReplaySubject =\n    /*#__PURE__*/\n    function (_Subject__WEBPACK_IMP3) {\n      _inherits(ReplaySubject, _Subject__WEBPACK_IMP3);\n\n      function ReplaySubject() {\n        var _this703;\n\n        var bufferSize = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : Number.POSITIVE_INFINITY;\n        var windowTime = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : Number.POSITIVE_INFINITY;\n        var scheduler = arguments.length > 2 ? arguments[2] : undefined;\n\n        _classCallCheck(this, ReplaySubject);\n\n        _this703 = _possibleConstructorReturn(this, _getPrototypeOf(ReplaySubject).call(this));\n        _this703.scheduler = scheduler;\n        _this703._events = [];\n        _this703._infiniteTimeWindow = false;\n        _this703._bufferSize = bufferSize < 1 ? 1 : bufferSize;\n        _this703._windowTime = windowTime < 1 ? 1 : windowTime;\n\n        if (windowTime === Number.POSITIVE_INFINITY) {\n          _this703._infiniteTimeWindow = true;\n          _this703.next = _this703.nextInfiniteTimeWindow;\n        } else {\n          _this703.next = _this703.nextTimeWindow;\n        }\n\n        return _this703;\n      }\n\n      _createClass2(ReplaySubject, [{\n        key: \"nextInfiniteTimeWindow\",\n        value: function nextInfiniteTimeWindow(value) {\n          var _events = this._events;\n\n          _events.push(value);\n\n          if (_events.length > this._bufferSize) {\n            _events.shift();\n          }\n\n          _get(_getPrototypeOf(ReplaySubject.prototype), \"next\", this).call(this, value);\n        }\n      }, {\n        key: \"nextTimeWindow\",\n        value: function nextTimeWindow(value) {\n          this._events.push(new ReplayEvent(this._getNow(), value));\n\n          this._trimBufferThenGetEvents();\n\n          _get(_getPrototypeOf(ReplaySubject.prototype), \"next\", this).call(this, value);\n        }\n      }, {\n        key: \"_subscribe\",\n        value: function _subscribe(subscriber) {\n          var _infiniteTimeWindow = this._infiniteTimeWindow;\n\n          var _events = _infiniteTimeWindow ? this._events : this._trimBufferThenGetEvents();\n\n          var scheduler = this.scheduler;\n          var len = _events.length;\n          var subscription;\n\n          if (this.closed) {\n            throw new _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_4__[\"ObjectUnsubscribedError\"]();\n          } else if (this.isStopped || this.hasError) {\n            subscription = _Subscription__WEBPACK_IMPORTED_MODULE_2__[\"Subscription\"].EMPTY;\n          } else {\n            this.observers.push(subscriber);\n            subscription = new _SubjectSubscription__WEBPACK_IMPORTED_MODULE_5__[\"SubjectSubscription\"](this, subscriber);\n          }\n\n          if (scheduler) {\n            subscriber.add(subscriber = new _operators_observeOn__WEBPACK_IMPORTED_MODULE_3__[\"ObserveOnSubscriber\"](subscriber, scheduler));\n          }\n\n          if (_infiniteTimeWindow) {\n            for (var i = 0; i < len && !subscriber.closed; i++) {\n              subscriber.next(_events[i]);\n            }\n          } else {\n            for (var _i43 = 0; _i43 < len && !subscriber.closed; _i43++) {\n              subscriber.next(_events[_i43].value);\n            }\n          }\n\n          if (this.hasError) {\n            subscriber.error(this.thrownError);\n          } else if (this.isStopped) {\n            subscriber.complete();\n          }\n\n          return subscription;\n        }\n      }, {\n        key: \"_getNow\",\n        value: function _getNow() {\n          return (this.scheduler || _scheduler_queue__WEBPACK_IMPORTED_MODULE_1__[\"queue\"]).now();\n        }\n      }, {\n        key: \"_trimBufferThenGetEvents\",\n        value: function _trimBufferThenGetEvents() {\n          var now = this._getNow();\n\n          var _bufferSize = this._bufferSize;\n          var _windowTime = this._windowTime;\n          var _events = this._events;\n          var eventsCount = _events.length;\n          var spliceCount = 0;\n\n          while (spliceCount < eventsCount) {\n            if (now - _events[spliceCount].time < _windowTime) {\n              break;\n            }\n\n            spliceCount++;\n          }\n\n          if (eventsCount > _bufferSize) {\n            spliceCount = Math.max(spliceCount, eventsCount - _bufferSize);\n          }\n\n          if (spliceCount > 0) {\n            _events.splice(0, spliceCount);\n          }\n\n          return _events;\n        }\n      }]);\n\n      return ReplaySubject;\n    }(_Subject__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]);\n\n    var ReplayEvent = function ReplayEvent(time, value) {\n      _classCallCheck(this, ReplayEvent);\n\n      this.time = time;\n      this.value = value;\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/Scheduler.js\":\n  /*!**********************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/Scheduler.js ***!\n    \\**********************************************************/\n\n  /*! exports provided: Scheduler */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalSchedulerJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Scheduler\", function () {\n      return Scheduler;\n    });\n\n    var Scheduler =\n    /*#__PURE__*/\n    function () {\n      function Scheduler(SchedulerAction) {\n        var now = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : Scheduler.now;\n\n        _classCallCheck(this, Scheduler);\n\n        this.SchedulerAction = SchedulerAction;\n        this.now = now;\n      }\n\n      _createClass2(Scheduler, [{\n        key: \"schedule\",\n        value: function schedule(work) {\n          var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n          var state = arguments.length > 2 ? arguments[2] : undefined;\n          return new this.SchedulerAction(this, work).schedule(state, delay);\n        }\n      }]);\n\n      return Scheduler;\n    }();\n\n    Scheduler.now = function () {\n      return Date.now();\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/Subject.js\":\n  /*!********************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/Subject.js ***!\n    \\********************************************************/\n\n  /*! exports provided: SubjectSubscriber, Subject, AnonymousSubject */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalSubjectJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"SubjectSubscriber\", function () {\n      return SubjectSubscriber;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Subject\", function () {\n      return Subject;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"AnonymousSubject\", function () {\n      return AnonymousSubject;\n    });\n    /* harmony import */\n\n\n    var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./Observable */\n    \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ./Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n    /* harmony import */\n\n\n    var _Subscription__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ./Subscription */\n    \"./node_modules/rxjs/_esm2015/internal/Subscription.js\");\n    /* harmony import */\n\n\n    var _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ./util/ObjectUnsubscribedError */\n    \"./node_modules/rxjs/_esm2015/internal/util/ObjectUnsubscribedError.js\");\n    /* harmony import */\n\n\n    var _SubjectSubscription__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! ./SubjectSubscription */\n    \"./node_modules/rxjs/_esm2015/internal/SubjectSubscription.js\");\n    /* harmony import */\n\n\n    var _internal_symbol_rxSubscriber__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\n    /*! ../internal/symbol/rxSubscriber */\n    \"./node_modules/rxjs/_esm2015/internal/symbol/rxSubscriber.js\");\n\n    var SubjectSubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_3) {\n      _inherits(SubjectSubscriber, _Subscriber__WEBPACK_3);\n\n      function SubjectSubscriber(destination) {\n        var _this704;\n\n        _classCallCheck(this, SubjectSubscriber);\n\n        _this704 = _possibleConstructorReturn(this, _getPrototypeOf(SubjectSubscriber).call(this, destination));\n        _this704.destination = destination;\n        return _this704;\n      }\n\n      return SubjectSubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]);\n\n    var Subject =\n    /*#__PURE__*/\n    function (_Observable__WEBPACK_) {\n      _inherits(Subject, _Observable__WEBPACK_);\n\n      function Subject() {\n        var _this705;\n\n        _classCallCheck(this, Subject);\n\n        _this705 = _possibleConstructorReturn(this, _getPrototypeOf(Subject).call(this));\n        _this705.observers = [];\n        _this705.closed = false;\n        _this705.isStopped = false;\n        _this705.hasError = false;\n        _this705.thrownError = null;\n        return _this705;\n      }\n\n      _createClass2(Subject, [{\n        key: _internal_symbol_rxSubscriber__WEBPACK_IMPORTED_MODULE_5__[\"rxSubscriber\"],\n        value: function value() {\n          return new SubjectSubscriber(this);\n        }\n      }, {\n        key: \"lift\",\n        value: function lift(operator) {\n          var subject = new AnonymousSubject(this, this);\n          subject.operator = operator;\n          return subject;\n        }\n      }, {\n        key: \"next\",\n        value: function next(value) {\n          if (this.closed) {\n            throw new _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_3__[\"ObjectUnsubscribedError\"]();\n          }\n\n          if (!this.isStopped) {\n            var observers = this.observers;\n            var _len39 = observers.length;\n            var copy = observers.slice();\n\n            for (var i = 0; i < _len39; i++) {\n              copy[i].next(value);\n            }\n          }\n        }\n      }, {\n        key: \"error\",\n        value: function error(err) {\n          if (this.closed) {\n            throw new _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_3__[\"ObjectUnsubscribedError\"]();\n          }\n\n          this.hasError = true;\n          this.thrownError = err;\n          this.isStopped = true;\n          var observers = this.observers;\n          var len = observers.length;\n          var copy = observers.slice();\n\n          for (var i = 0; i < len; i++) {\n            copy[i].error(err);\n          }\n\n          this.observers.length = 0;\n        }\n      }, {\n        key: \"complete\",\n        value: function complete() {\n          if (this.closed) {\n            throw new _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_3__[\"ObjectUnsubscribedError\"]();\n          }\n\n          this.isStopped = true;\n          var observers = this.observers;\n          var len = observers.length;\n          var copy = observers.slice();\n\n          for (var i = 0; i < len; i++) {\n            copy[i].complete();\n          }\n\n          this.observers.length = 0;\n        }\n      }, {\n        key: \"unsubscribe\",\n        value: function unsubscribe() {\n          this.isStopped = true;\n          this.closed = true;\n          this.observers = null;\n        }\n      }, {\n        key: \"_trySubscribe\",\n        value: function _trySubscribe(subscriber) {\n          if (this.closed) {\n            throw new _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_3__[\"ObjectUnsubscribedError\"]();\n          } else {\n            return _get(_getPrototypeOf(Subject.prototype), \"_trySubscribe\", this).call(this, subscriber);\n          }\n        }\n      }, {\n        key: \"_subscribe\",\n        value: function _subscribe(subscriber) {\n          if (this.closed) {\n            throw new _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_3__[\"ObjectUnsubscribedError\"]();\n          } else if (this.hasError) {\n            subscriber.error(this.thrownError);\n            return _Subscription__WEBPACK_IMPORTED_MODULE_2__[\"Subscription\"].EMPTY;\n          } else if (this.isStopped) {\n            subscriber.complete();\n            return _Subscription__WEBPACK_IMPORTED_MODULE_2__[\"Subscription\"].EMPTY;\n          } else {\n            this.observers.push(subscriber);\n            return new _SubjectSubscription__WEBPACK_IMPORTED_MODULE_4__[\"SubjectSubscription\"](this, subscriber);\n          }\n        }\n      }, {\n        key: \"asObservable\",\n        value: function asObservable() {\n          var observable = new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"]();\n          observable.source = this;\n          return observable;\n        }\n      }]);\n\n      return Subject;\n    }(_Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"]);\n\n    Subject.create = function (destination, source) {\n      return new AnonymousSubject(destination, source);\n    };\n\n    var AnonymousSubject =\n    /*#__PURE__*/\n    function (_Subject) {\n      _inherits(AnonymousSubject, _Subject);\n\n      function AnonymousSubject(destination, source) {\n        var _this706;\n\n        _classCallCheck(this, AnonymousSubject);\n\n        _this706 = _possibleConstructorReturn(this, _getPrototypeOf(AnonymousSubject).call(this));\n        _this706.destination = destination;\n        _this706.source = source;\n        return _this706;\n      }\n\n      _createClass2(AnonymousSubject, [{\n        key: \"next\",\n        value: function next(value) {\n          var destination = this.destination;\n\n          if (destination && destination.next) {\n            destination.next(value);\n          }\n        }\n      }, {\n        key: \"error\",\n        value: function error(err) {\n          var destination = this.destination;\n\n          if (destination && destination.error) {\n            this.destination.error(err);\n          }\n        }\n      }, {\n        key: \"complete\",\n        value: function complete() {\n          var destination = this.destination;\n\n          if (destination && destination.complete) {\n            this.destination.complete();\n          }\n        }\n      }, {\n        key: \"_subscribe\",\n        value: function _subscribe(subscriber) {\n          var source = this.source;\n\n          if (source) {\n            return this.source.subscribe(subscriber);\n          } else {\n            return _Subscription__WEBPACK_IMPORTED_MODULE_2__[\"Subscription\"].EMPTY;\n          }\n        }\n      }]);\n\n      return AnonymousSubject;\n    }(Subject);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/SubjectSubscription.js\":\n  /*!********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/SubjectSubscription.js ***!\n    \\********************************************************************/\n\n  /*! exports provided: SubjectSubscription */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalSubjectSubscriptionJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"SubjectSubscription\", function () {\n      return SubjectSubscription;\n    });\n    /* harmony import */\n\n\n    var _Subscription__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./Subscription */\n    \"./node_modules/rxjs/_esm2015/internal/Subscription.js\");\n\n    var SubjectSubscription =\n    /*#__PURE__*/\n    function (_Subscription__WEBPAC) {\n      _inherits(SubjectSubscription, _Subscription__WEBPAC);\n\n      function SubjectSubscription(subject, subscriber) {\n        var _this707;\n\n        _classCallCheck(this, SubjectSubscription);\n\n        _this707 = _possibleConstructorReturn(this, _getPrototypeOf(SubjectSubscription).call(this));\n        _this707.subject = subject;\n        _this707.subscriber = subscriber;\n        _this707.closed = false;\n        return _this707;\n      }\n\n      _createClass2(SubjectSubscription, [{\n        key: \"unsubscribe\",\n        value: function unsubscribe() {\n          if (this.closed) {\n            return;\n          }\n\n          this.closed = true;\n          var subject = this.subject;\n          var observers = subject.observers;\n          this.subject = null;\n\n          if (!observers || observers.length === 0 || subject.isStopped || subject.closed) {\n            return;\n          }\n\n          var subscriberIndex = observers.indexOf(this.subscriber);\n\n          if (subscriberIndex !== -1) {\n            observers.splice(subscriberIndex, 1);\n          }\n        }\n      }]);\n\n      return SubjectSubscription;\n    }(_Subscription__WEBPACK_IMPORTED_MODULE_0__[\"Subscription\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\":\n  /*!***********************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/Subscriber.js ***!\n    \\***********************************************************/\n\n  /*! exports provided: Subscriber, SafeSubscriber */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalSubscriberJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Subscriber\", function () {\n      return Subscriber;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"SafeSubscriber\", function () {\n      return SafeSubscriber;\n    });\n    /* harmony import */\n\n\n    var _util_isFunction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./util/isFunction */\n    \"./node_modules/rxjs/_esm2015/internal/util/isFunction.js\");\n    /* harmony import */\n\n\n    var _Observer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ./Observer */\n    \"./node_modules/rxjs/_esm2015/internal/Observer.js\");\n    /* harmony import */\n\n\n    var _Subscription__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ./Subscription */\n    \"./node_modules/rxjs/_esm2015/internal/Subscription.js\");\n    /* harmony import */\n\n\n    var _internal_symbol_rxSubscriber__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ../internal/symbol/rxSubscriber */\n    \"./node_modules/rxjs/_esm2015/internal/symbol/rxSubscriber.js\");\n    /* harmony import */\n\n\n    var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! ./config */\n    \"./node_modules/rxjs/_esm2015/internal/config.js\");\n    /* harmony import */\n\n\n    var _util_hostReportError__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\n    /*! ./util/hostReportError */\n    \"./node_modules/rxjs/_esm2015/internal/util/hostReportError.js\");\n\n    var Subscriber =\n    /*#__PURE__*/\n    function (_Subscription__WEBPAC2) {\n      _inherits(Subscriber, _Subscription__WEBPAC2);\n\n      function Subscriber(destinationOrNext, error, complete) {\n        var _this708;\n\n        _classCallCheck(this, Subscriber);\n\n        _this708 = _possibleConstructorReturn(this, _getPrototypeOf(Subscriber).call(this));\n        _this708.syncErrorValue = null;\n        _this708.syncErrorThrown = false;\n        _this708.syncErrorThrowable = false;\n        _this708.isStopped = false;\n\n        switch (arguments.length) {\n          case 0:\n            _this708.destination = _Observer__WEBPACK_IMPORTED_MODULE_1__[\"empty\"];\n            break;\n\n          case 1:\n            if (!destinationOrNext) {\n              _this708.destination = _Observer__WEBPACK_IMPORTED_MODULE_1__[\"empty\"];\n              break;\n            }\n\n            if (typeof destinationOrNext === 'object') {\n              if (destinationOrNext instanceof Subscriber) {\n                _this708.syncErrorThrowable = destinationOrNext.syncErrorThrowable;\n                _this708.destination = destinationOrNext;\n                destinationOrNext.add(_assertThisInitialized(_this708));\n              } else {\n                _this708.syncErrorThrowable = true;\n                _this708.destination = new SafeSubscriber(_assertThisInitialized(_this708), destinationOrNext);\n              }\n\n              break;\n            }\n\n          default:\n            _this708.syncErrorThrowable = true;\n            _this708.destination = new SafeSubscriber(_assertThisInitialized(_this708), destinationOrNext, error, complete);\n            break;\n        }\n\n        return _this708;\n      }\n\n      _createClass2(Subscriber, [{\n        key: _internal_symbol_rxSubscriber__WEBPACK_IMPORTED_MODULE_3__[\"rxSubscriber\"],\n        value: function value() {\n          return this;\n        }\n      }, {\n        key: \"next\",\n        value: function next(value) {\n          if (!this.isStopped) {\n            this._next(value);\n          }\n        }\n      }, {\n        key: \"error\",\n        value: function error(err) {\n          if (!this.isStopped) {\n            this.isStopped = true;\n\n            this._error(err);\n          }\n        }\n      }, {\n        key: \"complete\",\n        value: function complete() {\n          if (!this.isStopped) {\n            this.isStopped = true;\n\n            this._complete();\n          }\n        }\n      }, {\n        key: \"unsubscribe\",\n        value: function unsubscribe() {\n          if (this.closed) {\n            return;\n          }\n\n          this.isStopped = true;\n\n          _get(_getPrototypeOf(Subscriber.prototype), \"unsubscribe\", this).call(this);\n        }\n      }, {\n        key: \"_next\",\n        value: function _next(value) {\n          this.destination.next(value);\n        }\n      }, {\n        key: \"_error\",\n        value: function _error(err) {\n          this.destination.error(err);\n          this.unsubscribe();\n        }\n      }, {\n        key: \"_complete\",\n        value: function _complete() {\n          this.destination.complete();\n          this.unsubscribe();\n        }\n      }, {\n        key: \"_unsubscribeAndRecycle\",\n        value: function _unsubscribeAndRecycle() {\n          var _parent = this._parent,\n              _parents = this._parents;\n          this._parent = null;\n          this._parents = null;\n          this.unsubscribe();\n          this.closed = false;\n          this.isStopped = false;\n          this._parent = _parent;\n          this._parents = _parents;\n          return this;\n        }\n      }], [{\n        key: \"create\",\n        value: function create(next, error, complete) {\n          var subscriber = new Subscriber(next, error, complete);\n          subscriber.syncErrorThrowable = false;\n          return subscriber;\n        }\n      }]);\n\n      return Subscriber;\n    }(_Subscription__WEBPACK_IMPORTED_MODULE_2__[\"Subscription\"]);\n\n    var SafeSubscriber =\n    /*#__PURE__*/\n    function (_Subscriber) {\n      _inherits(SafeSubscriber, _Subscriber);\n\n      function SafeSubscriber(_parentSubscriber, observerOrNext, error, complete) {\n        var _this709;\n\n        _classCallCheck(this, SafeSubscriber);\n\n        _this709 = _possibleConstructorReturn(this, _getPrototypeOf(SafeSubscriber).call(this));\n        _this709._parentSubscriber = _parentSubscriber;\n        var next;\n\n        var context = _assertThisInitialized(_this709);\n\n        if (Object(_util_isFunction__WEBPACK_IMPORTED_MODULE_0__[\"isFunction\"])(observerOrNext)) {\n          next = observerOrNext;\n        } else if (observerOrNext) {\n          next = observerOrNext.next;\n          error = observerOrNext.error;\n          complete = observerOrNext.complete;\n\n          if (observerOrNext !== _Observer__WEBPACK_IMPORTED_MODULE_1__[\"empty\"]) {\n            context = Object.create(observerOrNext);\n\n            if (Object(_util_isFunction__WEBPACK_IMPORTED_MODULE_0__[\"isFunction\"])(context.unsubscribe)) {\n              _this709.add(context.unsubscribe.bind(context));\n            }\n\n            context.unsubscribe = _this709.unsubscribe.bind(_assertThisInitialized(_this709));\n          }\n        }\n\n        _this709._context = context;\n        _this709._next = next;\n        _this709._error = error;\n        _this709._complete = complete;\n        return _this709;\n      }\n\n      _createClass2(SafeSubscriber, [{\n        key: \"next\",\n        value: function next(value) {\n          if (!this.isStopped && this._next) {\n            var _parentSubscriber = this._parentSubscriber;\n\n            if (!_config__WEBPACK_IMPORTED_MODULE_4__[\"config\"].useDeprecatedSynchronousErrorHandling || !_parentSubscriber.syncErrorThrowable) {\n              this.__tryOrUnsub(this._next, value);\n            } else if (this.__tryOrSetError(_parentSubscriber, this._next, value)) {\n              this.unsubscribe();\n            }\n          }\n        }\n      }, {\n        key: \"error\",\n        value: function error(err) {\n          if (!this.isStopped) {\n            var _parentSubscriber = this._parentSubscriber;\n            var useDeprecatedSynchronousErrorHandling = _config__WEBPACK_IMPORTED_MODULE_4__[\"config\"].useDeprecatedSynchronousErrorHandling;\n\n            if (this._error) {\n              if (!useDeprecatedSynchronousErrorHandling || !_parentSubscriber.syncErrorThrowable) {\n                this.__tryOrUnsub(this._error, err);\n\n                this.unsubscribe();\n              } else {\n                this.__tryOrSetError(_parentSubscriber, this._error, err);\n\n                this.unsubscribe();\n              }\n            } else if (!_parentSubscriber.syncErrorThrowable) {\n              this.unsubscribe();\n\n              if (useDeprecatedSynchronousErrorHandling) {\n                throw err;\n              }\n\n              Object(_util_hostReportError__WEBPACK_IMPORTED_MODULE_5__[\"hostReportError\"])(err);\n            } else {\n              if (useDeprecatedSynchronousErrorHandling) {\n                _parentSubscriber.syncErrorValue = err;\n                _parentSubscriber.syncErrorThrown = true;\n              } else {\n                Object(_util_hostReportError__WEBPACK_IMPORTED_MODULE_5__[\"hostReportError\"])(err);\n              }\n\n              this.unsubscribe();\n            }\n          }\n        }\n      }, {\n        key: \"complete\",\n        value: function complete() {\n          var _this710 = this;\n\n          if (!this.isStopped) {\n            var _parentSubscriber = this._parentSubscriber;\n\n            if (this._complete) {\n              var wrappedComplete = function wrappedComplete() {\n                return _this710._complete.call(_this710._context);\n              };\n\n              if (!_config__WEBPACK_IMPORTED_MODULE_4__[\"config\"].useDeprecatedSynchronousErrorHandling || !_parentSubscriber.syncErrorThrowable) {\n                this.__tryOrUnsub(wrappedComplete);\n\n                this.unsubscribe();\n              } else {\n                this.__tryOrSetError(_parentSubscriber, wrappedComplete);\n\n                this.unsubscribe();\n              }\n            } else {\n              this.unsubscribe();\n            }\n          }\n        }\n      }, {\n        key: \"__tryOrUnsub\",\n        value: function __tryOrUnsub(fn, value) {\n          try {\n            fn.call(this._context, value);\n          } catch (err) {\n            this.unsubscribe();\n\n            if (_config__WEBPACK_IMPORTED_MODULE_4__[\"config\"].useDeprecatedSynchronousErrorHandling) {\n              throw err;\n            } else {\n              Object(_util_hostReportError__WEBPACK_IMPORTED_MODULE_5__[\"hostReportError\"])(err);\n            }\n          }\n        }\n      }, {\n        key: \"__tryOrSetError\",\n        value: function __tryOrSetError(parent, fn, value) {\n          if (!_config__WEBPACK_IMPORTED_MODULE_4__[\"config\"].useDeprecatedSynchronousErrorHandling) {\n            throw new Error('bad call');\n          }\n\n          try {\n            fn.call(this._context, value);\n          } catch (err) {\n            if (_config__WEBPACK_IMPORTED_MODULE_4__[\"config\"].useDeprecatedSynchronousErrorHandling) {\n              parent.syncErrorValue = err;\n              parent.syncErrorThrown = true;\n              return true;\n            } else {\n              Object(_util_hostReportError__WEBPACK_IMPORTED_MODULE_5__[\"hostReportError\"])(err);\n              return true;\n            }\n          }\n\n          return false;\n        }\n      }, {\n        key: \"_unsubscribe\",\n        value: function _unsubscribe() {\n          var _parentSubscriber = this._parentSubscriber;\n          this._context = null;\n          this._parentSubscriber = null;\n\n          _parentSubscriber.unsubscribe();\n        }\n      }]);\n\n      return SafeSubscriber;\n    }(Subscriber);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/Subscription.js\":\n  /*!*************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/Subscription.js ***!\n    \\*************************************************************/\n\n  /*! exports provided: Subscription */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalSubscriptionJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Subscription\", function () {\n      return Subscription;\n    });\n    /* harmony import */\n\n\n    var _util_isArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./util/isArray */\n    \"./node_modules/rxjs/_esm2015/internal/util/isArray.js\");\n    /* harmony import */\n\n\n    var _util_isObject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ./util/isObject */\n    \"./node_modules/rxjs/_esm2015/internal/util/isObject.js\");\n    /* harmony import */\n\n\n    var _util_isFunction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ./util/isFunction */\n    \"./node_modules/rxjs/_esm2015/internal/util/isFunction.js\");\n    /* harmony import */\n\n\n    var _util_UnsubscriptionError__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ./util/UnsubscriptionError */\n    \"./node_modules/rxjs/_esm2015/internal/util/UnsubscriptionError.js\");\n\n    var Subscription =\n    /*#__PURE__*/\n    function () {\n      function Subscription(unsubscribe) {\n        _classCallCheck(this, Subscription);\n\n        this.closed = false;\n        this._parent = null;\n        this._parents = null;\n        this._subscriptions = null;\n\n        if (unsubscribe) {\n          this._unsubscribe = unsubscribe;\n        }\n      }\n\n      _createClass2(Subscription, [{\n        key: \"unsubscribe\",\n        value: function unsubscribe() {\n          var hasErrors = false;\n          var errors;\n\n          if (this.closed) {\n            return;\n          }\n\n          var _parent = this._parent,\n              _parents = this._parents,\n              _unsubscribe = this._unsubscribe,\n              _subscriptions = this._subscriptions;\n          this.closed = true;\n          this._parent = null;\n          this._parents = null;\n          this._subscriptions = null;\n          var index = -1;\n          var len = _parents ? _parents.length : 0;\n\n          while (_parent) {\n            _parent.remove(this);\n\n            _parent = ++index < len && _parents[index] || null;\n          }\n\n          if (Object(_util_isFunction__WEBPACK_IMPORTED_MODULE_2__[\"isFunction\"])(_unsubscribe)) {\n            try {\n              _unsubscribe.call(this);\n            } catch (e) {\n              hasErrors = true;\n              errors = e instanceof _util_UnsubscriptionError__WEBPACK_IMPORTED_MODULE_3__[\"UnsubscriptionError\"] ? flattenUnsubscriptionErrors(e.errors) : [e];\n            }\n          }\n\n          if (Object(_util_isArray__WEBPACK_IMPORTED_MODULE_0__[\"isArray\"])(_subscriptions)) {\n            index = -1;\n            len = _subscriptions.length;\n\n            while (++index < len) {\n              var sub = _subscriptions[index];\n\n              if (Object(_util_isObject__WEBPACK_IMPORTED_MODULE_1__[\"isObject\"])(sub)) {\n                try {\n                  sub.unsubscribe();\n                } catch (e) {\n                  hasErrors = true;\n                  errors = errors || [];\n\n                  if (e instanceof _util_UnsubscriptionError__WEBPACK_IMPORTED_MODULE_3__[\"UnsubscriptionError\"]) {\n                    errors = errors.concat(flattenUnsubscriptionErrors(e.errors));\n                  } else {\n                    errors.push(e);\n                  }\n                }\n              }\n            }\n          }\n\n          if (hasErrors) {\n            throw new _util_UnsubscriptionError__WEBPACK_IMPORTED_MODULE_3__[\"UnsubscriptionError\"](errors);\n          }\n        }\n      }, {\n        key: \"add\",\n        value: function add(teardown) {\n          var subscription = teardown;\n\n          switch (typeof teardown) {\n            case 'function':\n              subscription = new Subscription(teardown);\n\n            case 'object':\n              if (subscription === this || subscription.closed || typeof subscription.unsubscribe !== 'function') {\n                return subscription;\n              } else if (this.closed) {\n                subscription.unsubscribe();\n                return subscription;\n              } else if (!(subscription instanceof Subscription)) {\n                var tmp = subscription;\n                subscription = new Subscription();\n                subscription._subscriptions = [tmp];\n              }\n\n              break;\n\n            default:\n              {\n                if (!teardown) {\n                  return Subscription.EMPTY;\n                }\n\n                throw new Error('unrecognized teardown ' + teardown + ' added to Subscription.');\n              }\n          }\n\n          if (subscription._addParent(this)) {\n            var subscriptions = this._subscriptions;\n\n            if (subscriptions) {\n              subscriptions.push(subscription);\n            } else {\n              this._subscriptions = [subscription];\n            }\n          }\n\n          return subscription;\n        }\n      }, {\n        key: \"remove\",\n        value: function remove(subscription) {\n          var subscriptions = this._subscriptions;\n\n          if (subscriptions) {\n            var subscriptionIndex = subscriptions.indexOf(subscription);\n\n            if (subscriptionIndex !== -1) {\n              subscriptions.splice(subscriptionIndex, 1);\n            }\n          }\n        }\n      }, {\n        key: \"_addParent\",\n        value: function _addParent(parent) {\n          var _parent = this._parent,\n              _parents = this._parents;\n\n          if (_parent === parent) {\n            return false;\n          } else if (!_parent) {\n            this._parent = parent;\n            return true;\n          } else if (!_parents) {\n            this._parents = [parent];\n            return true;\n          } else if (_parents.indexOf(parent) === -1) {\n            _parents.push(parent);\n\n            return true;\n          }\n\n          return false;\n        }\n      }]);\n\n      return Subscription;\n    }();\n\n    Subscription.EMPTY = function (empty) {\n      empty.closed = true;\n      return empty;\n    }(new Subscription());\n\n    function flattenUnsubscriptionErrors(errors) {\n      return errors.reduce(function (errs, err) {\n        return errs.concat(err instanceof _util_UnsubscriptionError__WEBPACK_IMPORTED_MODULE_3__[\"UnsubscriptionError\"] ? err.errors : err);\n      }, []);\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/config.js\":\n  /*!*******************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/config.js ***!\n    \\*******************************************************/\n\n  /*! exports provided: config */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalConfigJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"config\", function () {\n      return config;\n    });\n\n    var _enable_super_gross_mode_that_will_cause_bad_things = false;\n    var config = {\n      Promise: undefined,\n\n      set useDeprecatedSynchronousErrorHandling(value) {\n        if (value) {\n          var error = new Error();\n          console.warn('DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \\n' + error.stack);\n        } else if (_enable_super_gross_mode_that_will_cause_bad_things) {\n          console.log('RxJS: Back to a better error behavior. Thank you. <3');\n        }\n\n        _enable_super_gross_mode_that_will_cause_bad_things = value;\n      },\n\n      get useDeprecatedSynchronousErrorHandling() {\n        return _enable_super_gross_mode_that_will_cause_bad_things;\n      }\n\n    };\n    /***/\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/observable/ConnectableObservable.js\":\n  /*!*********************************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/observable/ConnectableObservable.js ***!\n    \\*********************************************************************************/\n\n  /*! exports provided: ConnectableObservable, connectableObservableDescriptor */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalObservableConnectableObservableJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ConnectableObservable\", function () {\n      return ConnectableObservable;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"connectableObservableDescriptor\", function () {\n      return connectableObservableDescriptor;\n    });\n    /* harmony import */\n\n\n    var _Subject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subject */\n    \"./node_modules/rxjs/_esm2015/internal/Subject.js\");\n    /* harmony import */\n\n\n    var _Observable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../Observable */\n    \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n    /* harmony import */\n\n\n    var _Subscription__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ../Subscription */\n    \"./node_modules/rxjs/_esm2015/internal/Subscription.js\");\n    /* harmony import */\n\n\n    var _operators_refCount__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! ../operators/refCount */\n    \"./node_modules/rxjs/_esm2015/internal/operators/refCount.js\");\n\n    var ConnectableObservable =\n    /*#__PURE__*/\n    function (_Observable__WEBPACK_2) {\n      _inherits(ConnectableObservable, _Observable__WEBPACK_2);\n\n      function ConnectableObservable(source, subjectFactory) {\n        var _this711;\n\n        _classCallCheck(this, ConnectableObservable);\n\n        _this711 = _possibleConstructorReturn(this, _getPrototypeOf(ConnectableObservable).call(this));\n        _this711.source = source;\n        _this711.subjectFactory = subjectFactory;\n        _this711._refCount = 0;\n        _this711._isComplete = false;\n        return _this711;\n      }\n\n      _createClass2(ConnectableObservable, [{\n        key: \"_subscribe\",\n        value: function _subscribe(subscriber) {\n          return this.getSubject().subscribe(subscriber);\n        }\n      }, {\n        key: \"getSubject\",\n        value: function getSubject() {\n          var subject = this._subject;\n\n          if (!subject || subject.isStopped) {\n            this._subject = this.subjectFactory();\n          }\n\n          return this._subject;\n        }\n      }, {\n        key: \"connect\",\n        value: function connect() {\n          var connection = this._connection;\n\n          if (!connection) {\n            this._isComplete = false;\n            connection = this._connection = new _Subscription__WEBPACK_IMPORTED_MODULE_3__[\"Subscription\"]();\n            connection.add(this.source.subscribe(new ConnectableSubscriber(this.getSubject(), this)));\n\n            if (connection.closed) {\n              this._connection = null;\n              connection = _Subscription__WEBPACK_IMPORTED_MODULE_3__[\"Subscription\"].EMPTY;\n            } else {\n              this._connection = connection;\n            }\n          }\n\n          return connection;\n        }\n      }, {\n        key: \"refCount\",\n        value: function refCount() {\n          return Object(_operators_refCount__WEBPACK_IMPORTED_MODULE_4__[\"refCount\"])()(this);\n        }\n      }]);\n\n      return ConnectableObservable;\n    }(_Observable__WEBPACK_IMPORTED_MODULE_1__[\"Observable\"]);\n\n    var connectableProto = ConnectableObservable.prototype;\n    var connectableObservableDescriptor = {\n      operator: {\n        value: null\n      },\n      _refCount: {\n        value: 0,\n        writable: true\n      },\n      _subject: {\n        value: null,\n        writable: true\n      },\n      _connection: {\n        value: null,\n        writable: true\n      },\n      _subscribe: {\n        value: connectableProto._subscribe\n      },\n      _isComplete: {\n        value: connectableProto._isComplete,\n        writable: true\n      },\n      getSubject: {\n        value: connectableProto.getSubject\n      },\n      connect: {\n        value: connectableProto.connect\n      },\n      refCount: {\n        value: connectableProto.refCount\n      }\n    };\n\n    var ConnectableSubscriber =\n    /*#__PURE__*/\n    function (_Subject__WEBPACK_IMP4) {\n      _inherits(ConnectableSubscriber, _Subject__WEBPACK_IMP4);\n\n      function ConnectableSubscriber(destination, connectable) {\n        var _this712;\n\n        _classCallCheck(this, ConnectableSubscriber);\n\n        _this712 = _possibleConstructorReturn(this, _getPrototypeOf(ConnectableSubscriber).call(this, destination));\n        _this712.connectable = connectable;\n        return _this712;\n      }\n\n      _createClass2(ConnectableSubscriber, [{\n        key: \"_error\",\n        value: function _error(err) {\n          this._unsubscribe();\n\n          _get(_getPrototypeOf(ConnectableSubscriber.prototype), \"_error\", this).call(this, err);\n        }\n      }, {\n        key: \"_complete\",\n        value: function _complete() {\n          this.connectable._isComplete = true;\n\n          this._unsubscribe();\n\n          _get(_getPrototypeOf(ConnectableSubscriber.prototype), \"_complete\", this).call(this);\n        }\n      }, {\n        key: \"_unsubscribe\",\n        value: function _unsubscribe() {\n          var connectable = this.connectable;\n\n          if (connectable) {\n            this.connectable = null;\n            var connection = connectable._connection;\n            connectable._refCount = 0;\n            connectable._subject = null;\n            connectable._connection = null;\n\n            if (connection) {\n              connection.unsubscribe();\n            }\n          }\n        }\n      }]);\n\n      return ConnectableSubscriber;\n    }(_Subject__WEBPACK_IMPORTED_MODULE_0__[\"SubjectSubscriber\"]);\n\n    var RefCountOperator =\n    /*#__PURE__*/\n    function () {\n      function RefCountOperator(connectable) {\n        _classCallCheck(this, RefCountOperator);\n\n        this.connectable = connectable;\n      }\n\n      _createClass2(RefCountOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          var connectable = this.connectable;\n          connectable._refCount++;\n          var refCounter = new RefCountSubscriber(subscriber, connectable);\n          var subscription = source.subscribe(refCounter);\n\n          if (!refCounter.closed) {\n            refCounter.connection = connectable.connect();\n          }\n\n          return subscription;\n        }\n      }]);\n\n      return RefCountOperator;\n    }();\n\n    var RefCountSubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_4) {\n      _inherits(RefCountSubscriber, _Subscriber__WEBPACK_4);\n\n      function RefCountSubscriber(destination, connectable) {\n        var _this713;\n\n        _classCallCheck(this, RefCountSubscriber);\n\n        _this713 = _possibleConstructorReturn(this, _getPrototypeOf(RefCountSubscriber).call(this, destination));\n        _this713.connectable = connectable;\n        return _this713;\n      }\n\n      _createClass2(RefCountSubscriber, [{\n        key: \"_unsubscribe\",\n        value: function _unsubscribe() {\n          var connectable = this.connectable;\n\n          if (!connectable) {\n            this.connection = null;\n            return;\n          }\n\n          this.connectable = null;\n          var refCount = connectable._refCount;\n\n          if (refCount <= 0) {\n            this.connection = null;\n            return;\n          }\n\n          connectable._refCount = refCount - 1;\n\n          if (refCount > 1) {\n            this.connection = null;\n            return;\n          }\n\n          var connection = this.connection;\n          var sharedConnection = connectable._connection;\n          this.connection = null;\n\n          if (sharedConnection && (!connection || sharedConnection === connection)) {\n            sharedConnection.unsubscribe();\n          }\n        }\n      }]);\n\n      return RefCountSubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_2__[\"Subscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/observable/SubscribeOnObservable.js\":\n  /*!*********************************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/observable/SubscribeOnObservable.js ***!\n    \\*********************************************************************************/\n\n  /*! exports provided: SubscribeOnObservable */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalObservableSubscribeOnObservableJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"SubscribeOnObservable\", function () {\n      return SubscribeOnObservable;\n    });\n    /* harmony import */\n\n\n    var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Observable */\n    \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n    /* harmony import */\n\n\n    var _scheduler_asap__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../scheduler/asap */\n    \"./node_modules/rxjs/_esm2015/internal/scheduler/asap.js\");\n    /* harmony import */\n\n\n    var _util_isNumeric__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../util/isNumeric */\n    \"./node_modules/rxjs/_esm2015/internal/util/isNumeric.js\");\n\n    var SubscribeOnObservable =\n    /*#__PURE__*/\n    function (_Observable__WEBPACK_3) {\n      _inherits(SubscribeOnObservable, _Observable__WEBPACK_3);\n\n      function SubscribeOnObservable(source) {\n        var _this714;\n\n        var delayTime = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n        var scheduler = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : _scheduler_asap__WEBPACK_IMPORTED_MODULE_1__[\"asap\"];\n\n        _classCallCheck(this, SubscribeOnObservable);\n\n        _this714 = _possibleConstructorReturn(this, _getPrototypeOf(SubscribeOnObservable).call(this));\n        _this714.source = source;\n        _this714.delayTime = delayTime;\n        _this714.scheduler = scheduler;\n\n        if (!Object(_util_isNumeric__WEBPACK_IMPORTED_MODULE_2__[\"isNumeric\"])(delayTime) || delayTime < 0) {\n          _this714.delayTime = 0;\n        }\n\n        if (!scheduler || typeof scheduler.schedule !== 'function') {\n          _this714.scheduler = _scheduler_asap__WEBPACK_IMPORTED_MODULE_1__[\"asap\"];\n        }\n\n        return _this714;\n      }\n\n      _createClass2(SubscribeOnObservable, [{\n        key: \"_subscribe\",\n        value: function _subscribe(subscriber) {\n          var delay = this.delayTime;\n          var source = this.source;\n          var scheduler = this.scheduler;\n          return scheduler.schedule(SubscribeOnObservable.dispatch, delay, {\n            source: source,\n            subscriber: subscriber\n          });\n        }\n      }], [{\n        key: \"create\",\n        value: function create(source) {\n          var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n          var scheduler = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : _scheduler_asap__WEBPACK_IMPORTED_MODULE_1__[\"asap\"];\n          return new SubscribeOnObservable(source, delay, scheduler);\n        }\n      }, {\n        key: \"dispatch\",\n        value: function dispatch(arg) {\n          var source = arg.source,\n              subscriber = arg.subscriber;\n          return this.add(source.subscribe(subscriber));\n        }\n      }]);\n\n      return SubscribeOnObservable;\n    }(_Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/observable/bindCallback.js\":\n  /*!************************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/observable/bindCallback.js ***!\n    \\************************************************************************/\n\n  /*! exports provided: bindCallback */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalObservableBindCallbackJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"bindCallback\", function () {\n      return bindCallback;\n    });\n    /* harmony import */\n\n\n    var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Observable */\n    \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n    /* harmony import */\n\n\n    var _AsyncSubject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../AsyncSubject */\n    \"./node_modules/rxjs/_esm2015/internal/AsyncSubject.js\");\n    /* harmony import */\n\n\n    var _operators_map__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../operators/map */\n    \"./node_modules/rxjs/_esm2015/internal/operators/map.js\");\n    /* harmony import */\n\n\n    var _util_canReportError__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ../util/canReportError */\n    \"./node_modules/rxjs/_esm2015/internal/util/canReportError.js\");\n    /* harmony import */\n\n\n    var _util_isArray__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! ../util/isArray */\n    \"./node_modules/rxjs/_esm2015/internal/util/isArray.js\");\n    /* harmony import */\n\n\n    var _util_isScheduler__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\n    /*! ../util/isScheduler */\n    \"./node_modules/rxjs/_esm2015/internal/util/isScheduler.js\");\n\n    function bindCallback(callbackFunc, resultSelector, scheduler) {\n      if (resultSelector) {\n        if (Object(_util_isScheduler__WEBPACK_IMPORTED_MODULE_5__[\"isScheduler\"])(resultSelector)) {\n          scheduler = resultSelector;\n        } else {\n          return function () {\n            return bindCallback(callbackFunc, scheduler).apply(void 0, arguments).pipe(Object(_operators_map__WEBPACK_IMPORTED_MODULE_2__[\"map\"])(function (args) {\n              return Object(_util_isArray__WEBPACK_IMPORTED_MODULE_4__[\"isArray\"])(args) ? resultSelector.apply(void 0, _toConsumableArray(args)) : resultSelector(args);\n            }));\n          };\n        }\n      }\n\n      return function () {\n        for (var _len40 = arguments.length, args = new Array(_len40), _key41 = 0; _key41 < _len40; _key41++) {\n          args[_key41] = arguments[_key41];\n        }\n\n        var context = this;\n        var subject;\n        var params = {\n          context: context,\n          subject: subject,\n          callbackFunc: callbackFunc,\n          scheduler: scheduler\n        };\n        return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) {\n          if (!scheduler) {\n            if (!subject) {\n              subject = new _AsyncSubject__WEBPACK_IMPORTED_MODULE_1__[\"AsyncSubject\"]();\n\n              var handler = function handler() {\n                for (var _len41 = arguments.length, innerArgs = new Array(_len41), _key42 = 0; _key42 < _len41; _key42++) {\n                  innerArgs[_key42] = arguments[_key42];\n                }\n\n                subject.next(innerArgs.length <= 1 ? innerArgs[0] : innerArgs);\n                subject.complete();\n              };\n\n              try {\n                callbackFunc.apply(context, [].concat(args, [handler]));\n              } catch (err) {\n                if (Object(_util_canReportError__WEBPACK_IMPORTED_MODULE_3__[\"canReportError\"])(subject)) {\n                  subject.error(err);\n                } else {\n                  console.warn(err);\n                }\n              }\n            }\n\n            return subject.subscribe(subscriber);\n          } else {\n            var state = {\n              args: args,\n              subscriber: subscriber,\n              params: params\n            };\n            return scheduler.schedule(dispatch, 0, state);\n          }\n        });\n      };\n    }\n\n    function dispatch(state) {\n      var _this715 = this;\n\n      var self = this;\n      var args = state.args,\n          subscriber = state.subscriber,\n          params = state.params;\n      var callbackFunc = params.callbackFunc,\n          context = params.context,\n          scheduler = params.scheduler;\n      var subject = params.subject;\n\n      if (!subject) {\n        subject = params.subject = new _AsyncSubject__WEBPACK_IMPORTED_MODULE_1__[\"AsyncSubject\"]();\n\n        var handler = function handler() {\n          for (var _len42 = arguments.length, innerArgs = new Array(_len42), _key43 = 0; _key43 < _len42; _key43++) {\n            innerArgs[_key43] = arguments[_key43];\n          }\n\n          var value = innerArgs.length <= 1 ? innerArgs[0] : innerArgs;\n\n          _this715.add(scheduler.schedule(dispatchNext, 0, {\n            value: value,\n            subject: subject\n          }));\n        };\n\n        try {\n          callbackFunc.apply(context, [].concat(_toConsumableArray(args), [handler]));\n        } catch (err) {\n          subject.error(err);\n        }\n      }\n\n      this.add(subject.subscribe(subscriber));\n    }\n\n    function dispatchNext(state) {\n      var value = state.value,\n          subject = state.subject;\n      subject.next(value);\n      subject.complete();\n    }\n\n    function dispatchError(state) {\n      var err = state.err,\n          subject = state.subject;\n      subject.error(err);\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/observable/bindNodeCallback.js\":\n  /*!****************************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/observable/bindNodeCallback.js ***!\n    \\****************************************************************************/\n\n  /*! exports provided: bindNodeCallback */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalObservableBindNodeCallbackJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"bindNodeCallback\", function () {\n      return bindNodeCallback;\n    });\n    /* harmony import */\n\n\n    var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Observable */\n    \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n    /* harmony import */\n\n\n    var _AsyncSubject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../AsyncSubject */\n    \"./node_modules/rxjs/_esm2015/internal/AsyncSubject.js\");\n    /* harmony import */\n\n\n    var _operators_map__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../operators/map */\n    \"./node_modules/rxjs/_esm2015/internal/operators/map.js\");\n    /* harmony import */\n\n\n    var _util_canReportError__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ../util/canReportError */\n    \"./node_modules/rxjs/_esm2015/internal/util/canReportError.js\");\n    /* harmony import */\n\n\n    var _util_isScheduler__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! ../util/isScheduler */\n    \"./node_modules/rxjs/_esm2015/internal/util/isScheduler.js\");\n    /* harmony import */\n\n\n    var _util_isArray__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\n    /*! ../util/isArray */\n    \"./node_modules/rxjs/_esm2015/internal/util/isArray.js\");\n\n    function bindNodeCallback(callbackFunc, resultSelector, scheduler) {\n      if (resultSelector) {\n        if (Object(_util_isScheduler__WEBPACK_IMPORTED_MODULE_4__[\"isScheduler\"])(resultSelector)) {\n          scheduler = resultSelector;\n        } else {\n          return function () {\n            return bindNodeCallback(callbackFunc, scheduler).apply(void 0, arguments).pipe(Object(_operators_map__WEBPACK_IMPORTED_MODULE_2__[\"map\"])(function (args) {\n              return Object(_util_isArray__WEBPACK_IMPORTED_MODULE_5__[\"isArray\"])(args) ? resultSelector.apply(void 0, _toConsumableArray(args)) : resultSelector(args);\n            }));\n          };\n        }\n      }\n\n      return function () {\n        for (var _len43 = arguments.length, args = new Array(_len43), _key44 = 0; _key44 < _len43; _key44++) {\n          args[_key44] = arguments[_key44];\n        }\n\n        var params = {\n          subject: undefined,\n          args: args,\n          callbackFunc: callbackFunc,\n          scheduler: scheduler,\n          context: this\n        };\n        return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) {\n          var context = params.context;\n          var subject = params.subject;\n\n          if (!scheduler) {\n            if (!subject) {\n              subject = params.subject = new _AsyncSubject__WEBPACK_IMPORTED_MODULE_1__[\"AsyncSubject\"]();\n\n              var handler = function handler() {\n                for (var _len44 = arguments.length, innerArgs = new Array(_len44), _key45 = 0; _key45 < _len44; _key45++) {\n                  innerArgs[_key45] = arguments[_key45];\n                }\n\n                var err = innerArgs.shift();\n\n                if (err) {\n                  subject.error(err);\n                  return;\n                }\n\n                subject.next(innerArgs.length <= 1 ? innerArgs[0] : innerArgs);\n                subject.complete();\n              };\n\n              try {\n                callbackFunc.apply(context, [].concat(args, [handler]));\n              } catch (err) {\n                if (Object(_util_canReportError__WEBPACK_IMPORTED_MODULE_3__[\"canReportError\"])(subject)) {\n                  subject.error(err);\n                } else {\n                  console.warn(err);\n                }\n              }\n            }\n\n            return subject.subscribe(subscriber);\n          } else {\n            return scheduler.schedule(dispatch, 0, {\n              params: params,\n              subscriber: subscriber,\n              context: context\n            });\n          }\n        });\n      };\n    }\n\n    function dispatch(state) {\n      var _this716 = this;\n\n      var params = state.params,\n          subscriber = state.subscriber,\n          context = state.context;\n      var callbackFunc = params.callbackFunc,\n          args = params.args,\n          scheduler = params.scheduler;\n      var subject = params.subject;\n\n      if (!subject) {\n        subject = params.subject = new _AsyncSubject__WEBPACK_IMPORTED_MODULE_1__[\"AsyncSubject\"]();\n\n        var handler = function handler() {\n          for (var _len45 = arguments.length, innerArgs = new Array(_len45), _key46 = 0; _key46 < _len45; _key46++) {\n            innerArgs[_key46] = arguments[_key46];\n          }\n\n          var err = innerArgs.shift();\n\n          if (err) {\n            _this716.add(scheduler.schedule(dispatchError, 0, {\n              err: err,\n              subject: subject\n            }));\n          } else {\n            var value = innerArgs.length <= 1 ? innerArgs[0] : innerArgs;\n\n            _this716.add(scheduler.schedule(dispatchNext, 0, {\n              value: value,\n              subject: subject\n            }));\n          }\n        };\n\n        try {\n          callbackFunc.apply(context, [].concat(_toConsumableArray(args), [handler]));\n        } catch (err) {\n          this.add(scheduler.schedule(dispatchError, 0, {\n            err: err,\n            subject: subject\n          }));\n        }\n      }\n\n      this.add(subject.subscribe(subscriber));\n    }\n\n    function dispatchNext(arg) {\n      var value = arg.value,\n          subject = arg.subject;\n      subject.next(value);\n      subject.complete();\n    }\n\n    function dispatchError(arg) {\n      var err = arg.err,\n          subject = arg.subject;\n      subject.error(err);\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/observable/combineLatest.js\":\n  /*!*************************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/observable/combineLatest.js ***!\n    \\*************************************************************************/\n\n  /*! exports provided: combineLatest, CombineLatestOperator, CombineLatestSubscriber */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalObservableCombineLatestJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"combineLatest\", function () {\n      return combineLatest;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CombineLatestOperator\", function () {\n      return CombineLatestOperator;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"CombineLatestSubscriber\", function () {\n      return CombineLatestSubscriber;\n    });\n    /* harmony import */\n\n\n    var _util_isScheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../util/isScheduler */\n    \"./node_modules/rxjs/_esm2015/internal/util/isScheduler.js\");\n    /* harmony import */\n\n\n    var _util_isArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../util/isArray */\n    \"./node_modules/rxjs/_esm2015/internal/util/isArray.js\");\n    /* harmony import */\n\n\n    var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../OuterSubscriber */\n    \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n    /* harmony import */\n\n\n    var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ../util/subscribeToResult */\n    \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n    /* harmony import */\n\n\n    var _fromArray__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! ./fromArray */\n    \"./node_modules/rxjs/_esm2015/internal/observable/fromArray.js\");\n\n    var NONE = {};\n\n    function combineLatest() {\n      for (var _len46 = arguments.length, observables = new Array(_len46), _key47 = 0; _key47 < _len46; _key47++) {\n        observables[_key47] = arguments[_key47];\n      }\n\n      var resultSelector = null;\n      var scheduler = null;\n\n      if (Object(_util_isScheduler__WEBPACK_IMPORTED_MODULE_0__[\"isScheduler\"])(observables[observables.length - 1])) {\n        scheduler = observables.pop();\n      }\n\n      if (typeof observables[observables.length - 1] === 'function') {\n        resultSelector = observables.pop();\n      }\n\n      if (observables.length === 1 && Object(_util_isArray__WEBPACK_IMPORTED_MODULE_1__[\"isArray\"])(observables[0])) {\n        observables = observables[0];\n      }\n\n      return Object(_fromArray__WEBPACK_IMPORTED_MODULE_4__[\"fromArray\"])(observables, scheduler).lift(new CombineLatestOperator(resultSelector));\n    }\n\n    var CombineLatestOperator =\n    /*#__PURE__*/\n    function () {\n      function CombineLatestOperator(resultSelector) {\n        _classCallCheck(this, CombineLatestOperator);\n\n        this.resultSelector = resultSelector;\n      }\n\n      _createClass2(CombineLatestOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new CombineLatestSubscriber(subscriber, this.resultSelector));\n        }\n      }]);\n\n      return CombineLatestOperator;\n    }();\n\n    var CombineLatestSubscriber =\n    /*#__PURE__*/\n    function (_OuterSubscriber__WEB) {\n      _inherits(CombineLatestSubscriber, _OuterSubscriber__WEB);\n\n      function CombineLatestSubscriber(destination, resultSelector) {\n        var _this717;\n\n        _classCallCheck(this, CombineLatestSubscriber);\n\n        _this717 = _possibleConstructorReturn(this, _getPrototypeOf(CombineLatestSubscriber).call(this, destination));\n        _this717.resultSelector = resultSelector;\n        _this717.active = 0;\n        _this717.values = [];\n        _this717.observables = [];\n        return _this717;\n      }\n\n      _createClass2(CombineLatestSubscriber, [{\n        key: \"_next\",\n        value: function _next(observable) {\n          this.values.push(NONE);\n          this.observables.push(observable);\n        }\n      }, {\n        key: \"_complete\",\n        value: function _complete() {\n          var observables = this.observables;\n          var len = observables.length;\n\n          if (len === 0) {\n            this.destination.complete();\n          } else {\n            this.active = len;\n            this.toRespond = len;\n\n            for (var i = 0; i < len; i++) {\n              var observable = observables[i];\n              this.add(Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_3__[\"subscribeToResult\"])(this, observable, observable, i));\n            }\n          }\n        }\n      }, {\n        key: \"notifyComplete\",\n        value: function notifyComplete(unused) {\n          if ((this.active -= 1) === 0) {\n            this.destination.complete();\n          }\n        }\n      }, {\n        key: \"notifyNext\",\n        value: function notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n          var values = this.values;\n          var oldVal = values[outerIndex];\n          var toRespond = !this.toRespond ? 0 : oldVal === NONE ? --this.toRespond : this.toRespond;\n          values[outerIndex] = innerValue;\n\n          if (toRespond === 0) {\n            if (this.resultSelector) {\n              this._tryResultSelector(values);\n            } else {\n              this.destination.next(values.slice());\n            }\n          }\n        }\n      }, {\n        key: \"_tryResultSelector\",\n        value: function _tryResultSelector(values) {\n          var result;\n\n          try {\n            result = this.resultSelector.apply(this, values);\n          } catch (err) {\n            this.destination.error(err);\n            return;\n          }\n\n          this.destination.next(result);\n        }\n      }]);\n\n      return CombineLatestSubscriber;\n    }(_OuterSubscriber__WEBPACK_IMPORTED_MODULE_2__[\"OuterSubscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/observable/concat.js\":\n  /*!******************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/observable/concat.js ***!\n    \\******************************************************************/\n\n  /*! exports provided: concat */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalObservableConcatJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"concat\", function () {\n      return concat;\n    });\n    /* harmony import */\n\n\n    var _of__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./of */\n    \"./node_modules/rxjs/_esm2015/internal/observable/of.js\");\n    /* harmony import */\n\n\n    var _operators_concatAll__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../operators/concatAll */\n    \"./node_modules/rxjs/_esm2015/internal/operators/concatAll.js\");\n\n    function concat() {\n      return Object(_operators_concatAll__WEBPACK_IMPORTED_MODULE_1__[\"concatAll\"])()(Object(_of__WEBPACK_IMPORTED_MODULE_0__[\"of\"]).apply(void 0, arguments));\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/observable/defer.js\":\n  /*!*****************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/observable/defer.js ***!\n    \\*****************************************************************/\n\n  /*! exports provided: defer */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalObservableDeferJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"defer\", function () {\n      return defer;\n    });\n    /* harmony import */\n\n\n    var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Observable */\n    \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n    /* harmony import */\n\n\n    var _from__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ./from */\n    \"./node_modules/rxjs/_esm2015/internal/observable/from.js\");\n    /* harmony import */\n\n\n    var _empty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ./empty */\n    \"./node_modules/rxjs/_esm2015/internal/observable/empty.js\");\n\n    function defer(observableFactory) {\n      return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) {\n        var input;\n\n        try {\n          input = observableFactory();\n        } catch (err) {\n          subscriber.error(err);\n          return undefined;\n        }\n\n        var source = input ? Object(_from__WEBPACK_IMPORTED_MODULE_1__[\"from\"])(input) : Object(_empty__WEBPACK_IMPORTED_MODULE_2__[\"empty\"])();\n        return source.subscribe(subscriber);\n      });\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/observable/empty.js\":\n  /*!*****************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/observable/empty.js ***!\n    \\*****************************************************************/\n\n  /*! exports provided: EMPTY, empty, emptyScheduled */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalObservableEmptyJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"EMPTY\", function () {\n      return EMPTY;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"empty\", function () {\n      return empty;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"emptyScheduled\", function () {\n      return emptyScheduled;\n    });\n    /* harmony import */\n\n\n    var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Observable */\n    \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n\n    var EMPTY = new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) {\n      return subscriber.complete();\n    });\n\n    function empty(scheduler) {\n      return scheduler ? emptyScheduled(scheduler) : EMPTY;\n    }\n\n    function emptyScheduled(scheduler) {\n      return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) {\n        return scheduler.schedule(function () {\n          return subscriber.complete();\n        });\n      });\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/observable/forkJoin.js\":\n  /*!********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/observable/forkJoin.js ***!\n    \\********************************************************************/\n\n  /*! exports provided: forkJoin */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalObservableForkJoinJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"forkJoin\", function () {\n      return forkJoin;\n    });\n    /* harmony import */\n\n\n    var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Observable */\n    \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n    /* harmony import */\n\n\n    var _util_isArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../util/isArray */\n    \"./node_modules/rxjs/_esm2015/internal/util/isArray.js\");\n    /* harmony import */\n\n\n    var _empty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ./empty */\n    \"./node_modules/rxjs/_esm2015/internal/observable/empty.js\");\n    /* harmony import */\n\n\n    var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ../util/subscribeToResult */\n    \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n    /* harmony import */\n\n\n    var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! ../OuterSubscriber */\n    \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n    /* harmony import */\n\n\n    var _operators_map__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\n    /*! ../operators/map */\n    \"./node_modules/rxjs/_esm2015/internal/operators/map.js\");\n\n    function forkJoin() {\n      for (var _len47 = arguments.length, sources = new Array(_len47), _key48 = 0; _key48 < _len47; _key48++) {\n        sources[_key48] = arguments[_key48];\n      }\n\n      var resultSelector;\n\n      if (typeof sources[sources.length - 1] === 'function') {\n        resultSelector = sources.pop();\n      }\n\n      if (sources.length === 1 && Object(_util_isArray__WEBPACK_IMPORTED_MODULE_1__[\"isArray\"])(sources[0])) {\n        sources = sources[0];\n      }\n\n      if (sources.length === 0) {\n        return _empty__WEBPACK_IMPORTED_MODULE_2__[\"EMPTY\"];\n      }\n\n      if (resultSelector) {\n        return forkJoin(sources).pipe(Object(_operators_map__WEBPACK_IMPORTED_MODULE_5__[\"map\"])(function (args) {\n          return resultSelector.apply(void 0, _toConsumableArray(args));\n        }));\n      }\n\n      return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) {\n        return new ForkJoinSubscriber(subscriber, sources);\n      });\n    }\n\n    var ForkJoinSubscriber =\n    /*#__PURE__*/\n    function (_OuterSubscriber__WEB2) {\n      _inherits(ForkJoinSubscriber, _OuterSubscriber__WEB2);\n\n      function ForkJoinSubscriber(destination, sources) {\n        var _this718;\n\n        _classCallCheck(this, ForkJoinSubscriber);\n\n        _this718 = _possibleConstructorReturn(this, _getPrototypeOf(ForkJoinSubscriber).call(this, destination));\n        _this718.sources = sources;\n        _this718.completed = 0;\n        _this718.haveValues = 0;\n        var len = sources.length;\n        _this718.values = new Array(len);\n\n        for (var i = 0; i < len; i++) {\n          var source = sources[i];\n          var innerSubscription = Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_3__[\"subscribeToResult\"])(_assertThisInitialized(_this718), source, null, i);\n\n          if (innerSubscription) {\n            _this718.add(innerSubscription);\n          }\n        }\n\n        return _this718;\n      }\n\n      _createClass2(ForkJoinSubscriber, [{\n        key: \"notifyNext\",\n        value: function notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n          this.values[outerIndex] = innerValue;\n\n          if (!innerSub._hasValue) {\n            innerSub._hasValue = true;\n            this.haveValues++;\n          }\n        }\n      }, {\n        key: \"notifyComplete\",\n        value: function notifyComplete(innerSub) {\n          var destination = this.destination,\n              haveValues = this.haveValues,\n              values = this.values;\n          var len = values.length;\n\n          if (!innerSub._hasValue) {\n            destination.complete();\n            return;\n          }\n\n          this.completed++;\n\n          if (this.completed !== len) {\n            return;\n          }\n\n          if (haveValues === len) {\n            destination.next(values);\n          }\n\n          destination.complete();\n        }\n      }]);\n\n      return ForkJoinSubscriber;\n    }(_OuterSubscriber__WEBPACK_IMPORTED_MODULE_4__[\"OuterSubscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/observable/from.js\":\n  /*!****************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/observable/from.js ***!\n    \\****************************************************************/\n\n  /*! exports provided: from */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalObservableFromJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"from\", function () {\n      return from;\n    });\n    /* harmony import */\n\n\n    var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Observable */\n    \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n    /* harmony import */\n\n\n    var _util_isPromise__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../util/isPromise */\n    \"./node_modules/rxjs/_esm2015/internal/util/isPromise.js\");\n    /* harmony import */\n\n\n    var _util_isArrayLike__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../util/isArrayLike */\n    \"./node_modules/rxjs/_esm2015/internal/util/isArrayLike.js\");\n    /* harmony import */\n\n\n    var _util_isInteropObservable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ../util/isInteropObservable */\n    \"./node_modules/rxjs/_esm2015/internal/util/isInteropObservable.js\");\n    /* harmony import */\n\n\n    var _util_isIterable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! ../util/isIterable */\n    \"./node_modules/rxjs/_esm2015/internal/util/isIterable.js\");\n    /* harmony import */\n\n\n    var _fromArray__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\n    /*! ./fromArray */\n    \"./node_modules/rxjs/_esm2015/internal/observable/fromArray.js\");\n    /* harmony import */\n\n\n    var _fromPromise__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(\n    /*! ./fromPromise */\n    \"./node_modules/rxjs/_esm2015/internal/observable/fromPromise.js\");\n    /* harmony import */\n\n\n    var _fromIterable__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(\n    /*! ./fromIterable */\n    \"./node_modules/rxjs/_esm2015/internal/observable/fromIterable.js\");\n    /* harmony import */\n\n\n    var _fromObservable__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(\n    /*! ./fromObservable */\n    \"./node_modules/rxjs/_esm2015/internal/observable/fromObservable.js\");\n    /* harmony import */\n\n\n    var _util_subscribeTo__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(\n    /*! ../util/subscribeTo */\n    \"./node_modules/rxjs/_esm2015/internal/util/subscribeTo.js\");\n\n    function from(input, scheduler) {\n      if (!scheduler) {\n        if (input instanceof _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"]) {\n          return input;\n        }\n\n        return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](Object(_util_subscribeTo__WEBPACK_IMPORTED_MODULE_9__[\"subscribeTo\"])(input));\n      }\n\n      if (input != null) {\n        if (Object(_util_isInteropObservable__WEBPACK_IMPORTED_MODULE_3__[\"isInteropObservable\"])(input)) {\n          return Object(_fromObservable__WEBPACK_IMPORTED_MODULE_8__[\"fromObservable\"])(input, scheduler);\n        } else if (Object(_util_isPromise__WEBPACK_IMPORTED_MODULE_1__[\"isPromise\"])(input)) {\n          return Object(_fromPromise__WEBPACK_IMPORTED_MODULE_6__[\"fromPromise\"])(input, scheduler);\n        } else if (Object(_util_isArrayLike__WEBPACK_IMPORTED_MODULE_2__[\"isArrayLike\"])(input)) {\n          return Object(_fromArray__WEBPACK_IMPORTED_MODULE_5__[\"fromArray\"])(input, scheduler);\n        } else if (Object(_util_isIterable__WEBPACK_IMPORTED_MODULE_4__[\"isIterable\"])(input) || typeof input === 'string') {\n          return Object(_fromIterable__WEBPACK_IMPORTED_MODULE_7__[\"fromIterable\"])(input, scheduler);\n        }\n      }\n\n      throw new TypeError((input !== null && typeof input || input) + ' is not observable');\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/observable/fromArray.js\":\n  /*!*********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/observable/fromArray.js ***!\n    \\*********************************************************************/\n\n  /*! exports provided: fromArray */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalObservableFromArrayJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"fromArray\", function () {\n      return fromArray;\n    });\n    /* harmony import */\n\n\n    var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Observable */\n    \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n    /* harmony import */\n\n\n    var _Subscription__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../Subscription */\n    \"./node_modules/rxjs/_esm2015/internal/Subscription.js\");\n    /* harmony import */\n\n\n    var _util_subscribeToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../util/subscribeToArray */\n    \"./node_modules/rxjs/_esm2015/internal/util/subscribeToArray.js\");\n\n    function fromArray(input, scheduler) {\n      if (!scheduler) {\n        return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](Object(_util_subscribeToArray__WEBPACK_IMPORTED_MODULE_2__[\"subscribeToArray\"])(input));\n      } else {\n        return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) {\n          var sub = new _Subscription__WEBPACK_IMPORTED_MODULE_1__[\"Subscription\"]();\n          var i = 0;\n          sub.add(scheduler.schedule(function () {\n            if (i === input.length) {\n              subscriber.complete();\n              return;\n            }\n\n            subscriber.next(input[i++]);\n\n            if (!subscriber.closed) {\n              sub.add(this.schedule());\n            }\n          }));\n          return sub;\n        });\n      }\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/observable/fromEvent.js\":\n  /*!*********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/observable/fromEvent.js ***!\n    \\*********************************************************************/\n\n  /*! exports provided: fromEvent */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalObservableFromEventJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"fromEvent\", function () {\n      return fromEvent;\n    });\n    /* harmony import */\n\n\n    var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Observable */\n    \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n    /* harmony import */\n\n\n    var _util_isArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../util/isArray */\n    \"./node_modules/rxjs/_esm2015/internal/util/isArray.js\");\n    /* harmony import */\n\n\n    var _util_isFunction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../util/isFunction */\n    \"./node_modules/rxjs/_esm2015/internal/util/isFunction.js\");\n    /* harmony import */\n\n\n    var _operators_map__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ../operators/map */\n    \"./node_modules/rxjs/_esm2015/internal/operators/map.js\");\n\n    var toString = Object.prototype.toString;\n\n    function fromEvent(target, eventName, options, resultSelector) {\n      if (Object(_util_isFunction__WEBPACK_IMPORTED_MODULE_2__[\"isFunction\"])(options)) {\n        resultSelector = options;\n        options = undefined;\n      }\n\n      if (resultSelector) {\n        return fromEvent(target, eventName, options).pipe(Object(_operators_map__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(function (args) {\n          return Object(_util_isArray__WEBPACK_IMPORTED_MODULE_1__[\"isArray\"])(args) ? resultSelector.apply(void 0, _toConsumableArray(args)) : resultSelector(args);\n        }));\n      }\n\n      return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) {\n        function handler(e) {\n          if (arguments.length > 1) {\n            subscriber.next(Array.prototype.slice.call(arguments));\n          } else {\n            subscriber.next(e);\n          }\n        }\n\n        setupSubscription(target, eventName, handler, subscriber, options);\n      });\n    }\n\n    function setupSubscription(sourceObj, eventName, handler, subscriber, options) {\n      var unsubscribe;\n\n      if (isEventTarget(sourceObj)) {\n        var source = sourceObj;\n        sourceObj.addEventListener(eventName, handler, options);\n\n        unsubscribe = function unsubscribe() {\n          return source.removeEventListener(eventName, handler, options);\n        };\n      } else if (isJQueryStyleEventEmitter(sourceObj)) {\n        var _source = sourceObj;\n        sourceObj.on(eventName, handler);\n\n        unsubscribe = function unsubscribe() {\n          return _source.off(eventName, handler);\n        };\n      } else if (isNodeStyleEventEmitter(sourceObj)) {\n        var _source2 = sourceObj;\n        sourceObj.addListener(eventName, handler);\n\n        unsubscribe = function unsubscribe() {\n          return _source2.removeListener(eventName, handler);\n        };\n      } else if (sourceObj && sourceObj.length) {\n        for (var i = 0, _len48 = sourceObj.length; i < _len48; i++) {\n          setupSubscription(sourceObj[i], eventName, handler, subscriber, options);\n        }\n      } else {\n        throw new TypeError('Invalid event target');\n      }\n\n      subscriber.add(unsubscribe);\n    }\n\n    function isNodeStyleEventEmitter(sourceObj) {\n      return sourceObj && typeof sourceObj.addListener === 'function' && typeof sourceObj.removeListener === 'function';\n    }\n\n    function isJQueryStyleEventEmitter(sourceObj) {\n      return sourceObj && typeof sourceObj.on === 'function' && typeof sourceObj.off === 'function';\n    }\n\n    function isEventTarget(sourceObj) {\n      return sourceObj && typeof sourceObj.addEventListener === 'function' && typeof sourceObj.removeEventListener === 'function';\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/observable/fromEventPattern.js\":\n  /*!****************************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/observable/fromEventPattern.js ***!\n    \\****************************************************************************/\n\n  /*! exports provided: fromEventPattern */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalObservableFromEventPatternJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"fromEventPattern\", function () {\n      return fromEventPattern;\n    });\n    /* harmony import */\n\n\n    var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Observable */\n    \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n    /* harmony import */\n\n\n    var _util_isArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../util/isArray */\n    \"./node_modules/rxjs/_esm2015/internal/util/isArray.js\");\n    /* harmony import */\n\n\n    var _util_isFunction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../util/isFunction */\n    \"./node_modules/rxjs/_esm2015/internal/util/isFunction.js\");\n    /* harmony import */\n\n\n    var _operators_map__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ../operators/map */\n    \"./node_modules/rxjs/_esm2015/internal/operators/map.js\");\n\n    function fromEventPattern(addHandler, removeHandler, resultSelector) {\n      if (resultSelector) {\n        return fromEventPattern(addHandler, removeHandler).pipe(Object(_operators_map__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(function (args) {\n          return Object(_util_isArray__WEBPACK_IMPORTED_MODULE_1__[\"isArray\"])(args) ? resultSelector.apply(void 0, _toConsumableArray(args)) : resultSelector(args);\n        }));\n      }\n\n      return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) {\n        var handler = function handler() {\n          for (var _len49 = arguments.length, e = new Array(_len49), _key49 = 0; _key49 < _len49; _key49++) {\n            e[_key49] = arguments[_key49];\n          }\n\n          return subscriber.next(e.length === 1 ? e[0] : e);\n        };\n\n        var retValue;\n\n        try {\n          retValue = addHandler(handler);\n        } catch (err) {\n          subscriber.error(err);\n          return undefined;\n        }\n\n        if (!Object(_util_isFunction__WEBPACK_IMPORTED_MODULE_2__[\"isFunction\"])(removeHandler)) {\n          return undefined;\n        }\n\n        return function () {\n          return removeHandler(handler, retValue);\n        };\n      });\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/observable/fromIterable.js\":\n  /*!************************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/observable/fromIterable.js ***!\n    \\************************************************************************/\n\n  /*! exports provided: fromIterable */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalObservableFromIterableJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"fromIterable\", function () {\n      return fromIterable;\n    });\n    /* harmony import */\n\n\n    var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Observable */\n    \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n    /* harmony import */\n\n\n    var _Subscription__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../Subscription */\n    \"./node_modules/rxjs/_esm2015/internal/Subscription.js\");\n    /* harmony import */\n\n\n    var _symbol_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../symbol/iterator */\n    \"./node_modules/rxjs/_esm2015/internal/symbol/iterator.js\");\n    /* harmony import */\n\n\n    var _util_subscribeToIterable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ../util/subscribeToIterable */\n    \"./node_modules/rxjs/_esm2015/internal/util/subscribeToIterable.js\");\n\n    function fromIterable(input, scheduler) {\n      if (!input) {\n        throw new Error('Iterable cannot be null');\n      }\n\n      if (!scheduler) {\n        return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](Object(_util_subscribeToIterable__WEBPACK_IMPORTED_MODULE_3__[\"subscribeToIterable\"])(input));\n      } else {\n        return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) {\n          var sub = new _Subscription__WEBPACK_IMPORTED_MODULE_1__[\"Subscription\"]();\n          var iterator;\n          sub.add(function () {\n            if (iterator && typeof iterator.return === 'function') {\n              iterator.return();\n            }\n          });\n          sub.add(scheduler.schedule(function () {\n            iterator = input[_symbol_iterator__WEBPACK_IMPORTED_MODULE_2__[\"iterator\"]]();\n            sub.add(scheduler.schedule(function () {\n              if (subscriber.closed) {\n                return;\n              }\n\n              var value;\n              var done;\n\n              try {\n                var result = iterator.next();\n                value = result.value;\n                done = result.done;\n              } catch (err) {\n                subscriber.error(err);\n                return;\n              }\n\n              if (done) {\n                subscriber.complete();\n              } else {\n                subscriber.next(value);\n                this.schedule();\n              }\n            }));\n          }));\n          return sub;\n        });\n      }\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/observable/fromObservable.js\":\n  /*!**************************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/observable/fromObservable.js ***!\n    \\**************************************************************************/\n\n  /*! exports provided: fromObservable */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalObservableFromObservableJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"fromObservable\", function () {\n      return fromObservable;\n    });\n    /* harmony import */\n\n\n    var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Observable */\n    \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n    /* harmony import */\n\n\n    var _Subscription__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../Subscription */\n    \"./node_modules/rxjs/_esm2015/internal/Subscription.js\");\n    /* harmony import */\n\n\n    var _symbol_observable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../symbol/observable */\n    \"./node_modules/rxjs/_esm2015/internal/symbol/observable.js\");\n    /* harmony import */\n\n\n    var _util_subscribeToObservable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ../util/subscribeToObservable */\n    \"./node_modules/rxjs/_esm2015/internal/util/subscribeToObservable.js\");\n\n    function fromObservable(input, scheduler) {\n      if (!scheduler) {\n        return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](Object(_util_subscribeToObservable__WEBPACK_IMPORTED_MODULE_3__[\"subscribeToObservable\"])(input));\n      } else {\n        return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) {\n          var sub = new _Subscription__WEBPACK_IMPORTED_MODULE_1__[\"Subscription\"]();\n          sub.add(scheduler.schedule(function () {\n            var observable = input[_symbol_observable__WEBPACK_IMPORTED_MODULE_2__[\"observable\"]]();\n\n            sub.add(observable.subscribe({\n              next: function next(value) {\n                sub.add(scheduler.schedule(function () {\n                  return subscriber.next(value);\n                }));\n              },\n              error: function error(err) {\n                sub.add(scheduler.schedule(function () {\n                  return subscriber.error(err);\n                }));\n              },\n              complete: function complete() {\n                sub.add(scheduler.schedule(function () {\n                  return subscriber.complete();\n                }));\n              }\n            }));\n          }));\n          return sub;\n        });\n      }\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/observable/fromPromise.js\":\n  /*!***********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/observable/fromPromise.js ***!\n    \\***********************************************************************/\n\n  /*! exports provided: fromPromise */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalObservableFromPromiseJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"fromPromise\", function () {\n      return fromPromise;\n    });\n    /* harmony import */\n\n\n    var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Observable */\n    \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n    /* harmony import */\n\n\n    var _Subscription__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../Subscription */\n    \"./node_modules/rxjs/_esm2015/internal/Subscription.js\");\n    /* harmony import */\n\n\n    var _util_subscribeToPromise__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../util/subscribeToPromise */\n    \"./node_modules/rxjs/_esm2015/internal/util/subscribeToPromise.js\");\n\n    function fromPromise(input, scheduler) {\n      if (!scheduler) {\n        return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](Object(_util_subscribeToPromise__WEBPACK_IMPORTED_MODULE_2__[\"subscribeToPromise\"])(input));\n      } else {\n        return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) {\n          var sub = new _Subscription__WEBPACK_IMPORTED_MODULE_1__[\"Subscription\"]();\n          sub.add(scheduler.schedule(function () {\n            return input.then(function (value) {\n              sub.add(scheduler.schedule(function () {\n                subscriber.next(value);\n                sub.add(scheduler.schedule(function () {\n                  return subscriber.complete();\n                }));\n              }));\n            }, function (err) {\n              sub.add(scheduler.schedule(function () {\n                return subscriber.error(err);\n              }));\n            });\n          }));\n          return sub;\n        });\n      }\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/observable/generate.js\":\n  /*!********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/observable/generate.js ***!\n    \\********************************************************************/\n\n  /*! exports provided: generate */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalObservableGenerateJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"generate\", function () {\n      return generate;\n    });\n    /* harmony import */\n\n\n    var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Observable */\n    \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n    /* harmony import */\n\n\n    var _util_identity__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../util/identity */\n    \"./node_modules/rxjs/_esm2015/internal/util/identity.js\");\n    /* harmony import */\n\n\n    var _util_isScheduler__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../util/isScheduler */\n    \"./node_modules/rxjs/_esm2015/internal/util/isScheduler.js\");\n\n    function generate(initialStateOrOptions, condition, iterate, resultSelectorOrObservable, scheduler) {\n      var resultSelector;\n      var initialState;\n\n      if (arguments.length == 1) {\n        var options = initialStateOrOptions;\n        initialState = options.initialState;\n        condition = options.condition;\n        iterate = options.iterate;\n        resultSelector = options.resultSelector || _util_identity__WEBPACK_IMPORTED_MODULE_1__[\"identity\"];\n        scheduler = options.scheduler;\n      } else if (resultSelectorOrObservable === undefined || Object(_util_isScheduler__WEBPACK_IMPORTED_MODULE_2__[\"isScheduler\"])(resultSelectorOrObservable)) {\n        initialState = initialStateOrOptions;\n        resultSelector = _util_identity__WEBPACK_IMPORTED_MODULE_1__[\"identity\"];\n        scheduler = resultSelectorOrObservable;\n      } else {\n        initialState = initialStateOrOptions;\n        resultSelector = resultSelectorOrObservable;\n      }\n\n      return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) {\n        var state = initialState;\n\n        if (scheduler) {\n          return scheduler.schedule(dispatch, 0, {\n            subscriber: subscriber,\n            iterate: iterate,\n            condition: condition,\n            resultSelector: resultSelector,\n            state: state\n          });\n        }\n\n        do {\n          if (condition) {\n            var conditionResult = void 0;\n\n            try {\n              conditionResult = condition(state);\n            } catch (err) {\n              subscriber.error(err);\n              return undefined;\n            }\n\n            if (!conditionResult) {\n              subscriber.complete();\n              break;\n            }\n          }\n\n          var value = void 0;\n\n          try {\n            value = resultSelector(state);\n          } catch (err) {\n            subscriber.error(err);\n            return undefined;\n          }\n\n          subscriber.next(value);\n\n          if (subscriber.closed) {\n            break;\n          }\n\n          try {\n            state = iterate(state);\n          } catch (err) {\n            subscriber.error(err);\n            return undefined;\n          }\n        } while (true);\n\n        return undefined;\n      });\n    }\n\n    function dispatch(state) {\n      var subscriber = state.subscriber,\n          condition = state.condition;\n\n      if (subscriber.closed) {\n        return undefined;\n      }\n\n      if (state.needIterate) {\n        try {\n          state.state = state.iterate(state.state);\n        } catch (err) {\n          subscriber.error(err);\n          return undefined;\n        }\n      } else {\n        state.needIterate = true;\n      }\n\n      if (condition) {\n        var conditionResult;\n\n        try {\n          conditionResult = condition(state.state);\n        } catch (err) {\n          subscriber.error(err);\n          return undefined;\n        }\n\n        if (!conditionResult) {\n          subscriber.complete();\n          return undefined;\n        }\n\n        if (subscriber.closed) {\n          return undefined;\n        }\n      }\n\n      var value;\n\n      try {\n        value = state.resultSelector(state.state);\n      } catch (err) {\n        subscriber.error(err);\n        return undefined;\n      }\n\n      if (subscriber.closed) {\n        return undefined;\n      }\n\n      subscriber.next(value);\n\n      if (subscriber.closed) {\n        return undefined;\n      }\n\n      return this.schedule(state);\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/observable/iif.js\":\n  /*!***************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/observable/iif.js ***!\n    \\***************************************************************/\n\n  /*! exports provided: iif */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalObservableIifJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"iif\", function () {\n      return iif;\n    });\n    /* harmony import */\n\n\n    var _defer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./defer */\n    \"./node_modules/rxjs/_esm2015/internal/observable/defer.js\");\n    /* harmony import */\n\n\n    var _empty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ./empty */\n    \"./node_modules/rxjs/_esm2015/internal/observable/empty.js\");\n\n    function iif(condition) {\n      var trueResult = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _empty__WEBPACK_IMPORTED_MODULE_1__[\"EMPTY\"];\n      var falseResult = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : _empty__WEBPACK_IMPORTED_MODULE_1__[\"EMPTY\"];\n      return Object(_defer__WEBPACK_IMPORTED_MODULE_0__[\"defer\"])(function () {\n        return condition() ? trueResult : falseResult;\n      });\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/observable/interval.js\":\n  /*!********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/observable/interval.js ***!\n    \\********************************************************************/\n\n  /*! exports provided: interval */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalObservableIntervalJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"interval\", function () {\n      return interval;\n    });\n    /* harmony import */\n\n\n    var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Observable */\n    \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n    /* harmony import */\n\n\n    var _scheduler_async__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../scheduler/async */\n    \"./node_modules/rxjs/_esm2015/internal/scheduler/async.js\");\n    /* harmony import */\n\n\n    var _util_isNumeric__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../util/isNumeric */\n    \"./node_modules/rxjs/_esm2015/internal/util/isNumeric.js\");\n\n    function interval() {\n      var period = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n      var scheduler = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _scheduler_async__WEBPACK_IMPORTED_MODULE_1__[\"async\"];\n\n      if (!Object(_util_isNumeric__WEBPACK_IMPORTED_MODULE_2__[\"isNumeric\"])(period) || period < 0) {\n        period = 0;\n      }\n\n      if (!scheduler || typeof scheduler.schedule !== 'function') {\n        scheduler = _scheduler_async__WEBPACK_IMPORTED_MODULE_1__[\"async\"];\n      }\n\n      return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) {\n        subscriber.add(scheduler.schedule(dispatch, period, {\n          subscriber: subscriber,\n          counter: 0,\n          period: period\n        }));\n        return subscriber;\n      });\n    }\n\n    function dispatch(state) {\n      var subscriber = state.subscriber,\n          counter = state.counter,\n          period = state.period;\n      subscriber.next(counter);\n      this.schedule({\n        subscriber: subscriber,\n        counter: counter + 1,\n        period: period\n      }, period);\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/observable/merge.js\":\n  /*!*****************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/observable/merge.js ***!\n    \\*****************************************************************/\n\n  /*! exports provided: merge */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalObservableMergeJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"merge\", function () {\n      return merge;\n    });\n    /* harmony import */\n\n\n    var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Observable */\n    \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n    /* harmony import */\n\n\n    var _util_isScheduler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../util/isScheduler */\n    \"./node_modules/rxjs/_esm2015/internal/util/isScheduler.js\");\n    /* harmony import */\n\n\n    var _operators_mergeAll__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../operators/mergeAll */\n    \"./node_modules/rxjs/_esm2015/internal/operators/mergeAll.js\");\n    /* harmony import */\n\n\n    var _fromArray__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ./fromArray */\n    \"./node_modules/rxjs/_esm2015/internal/observable/fromArray.js\");\n\n    function merge() {\n      var concurrent = Number.POSITIVE_INFINITY;\n      var scheduler = null;\n\n      for (var _len50 = arguments.length, observables = new Array(_len50), _key50 = 0; _key50 < _len50; _key50++) {\n        observables[_key50] = arguments[_key50];\n      }\n\n      var last = observables[observables.length - 1];\n\n      if (Object(_util_isScheduler__WEBPACK_IMPORTED_MODULE_1__[\"isScheduler\"])(last)) {\n        scheduler = observables.pop();\n\n        if (observables.length > 1 && typeof observables[observables.length - 1] === 'number') {\n          concurrent = observables.pop();\n        }\n      } else if (typeof last === 'number') {\n        concurrent = observables.pop();\n      }\n\n      if (scheduler === null && observables.length === 1 && observables[0] instanceof _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"]) {\n        return observables[0];\n      }\n\n      return Object(_operators_mergeAll__WEBPACK_IMPORTED_MODULE_2__[\"mergeAll\"])(concurrent)(Object(_fromArray__WEBPACK_IMPORTED_MODULE_3__[\"fromArray\"])(observables, scheduler));\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/observable/never.js\":\n  /*!*****************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/observable/never.js ***!\n    \\*****************************************************************/\n\n  /*! exports provided: NEVER, never */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalObservableNeverJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"NEVER\", function () {\n      return NEVER;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"never\", function () {\n      return never;\n    });\n    /* harmony import */\n\n\n    var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Observable */\n    \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n    /* harmony import */\n\n\n    var _util_noop__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../util/noop */\n    \"./node_modules/rxjs/_esm2015/internal/util/noop.js\");\n\n    var NEVER = new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](_util_noop__WEBPACK_IMPORTED_MODULE_1__[\"noop\"]);\n\n    function never() {\n      return NEVER;\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/observable/of.js\":\n  /*!**************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/observable/of.js ***!\n    \\**************************************************************/\n\n  /*! exports provided: of */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalObservableOfJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"of\", function () {\n      return of;\n    });\n    /* harmony import */\n\n\n    var _util_isScheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../util/isScheduler */\n    \"./node_modules/rxjs/_esm2015/internal/util/isScheduler.js\");\n    /* harmony import */\n\n\n    var _fromArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ./fromArray */\n    \"./node_modules/rxjs/_esm2015/internal/observable/fromArray.js\");\n    /* harmony import */\n\n\n    var _empty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ./empty */\n    \"./node_modules/rxjs/_esm2015/internal/observable/empty.js\");\n    /* harmony import */\n\n\n    var _scalar__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ./scalar */\n    \"./node_modules/rxjs/_esm2015/internal/observable/scalar.js\");\n\n    function of() {\n      for (var _len51 = arguments.length, args = new Array(_len51), _key51 = 0; _key51 < _len51; _key51++) {\n        args[_key51] = arguments[_key51];\n      }\n\n      var scheduler = args[args.length - 1];\n\n      if (Object(_util_isScheduler__WEBPACK_IMPORTED_MODULE_0__[\"isScheduler\"])(scheduler)) {\n        args.pop();\n      } else {\n        scheduler = undefined;\n      }\n\n      switch (args.length) {\n        case 0:\n          return Object(_empty__WEBPACK_IMPORTED_MODULE_2__[\"empty\"])(scheduler);\n\n        case 1:\n          return scheduler ? Object(_fromArray__WEBPACK_IMPORTED_MODULE_1__[\"fromArray\"])(args, scheduler) : Object(_scalar__WEBPACK_IMPORTED_MODULE_3__[\"scalar\"])(args[0]);\n\n        default:\n          return Object(_fromArray__WEBPACK_IMPORTED_MODULE_1__[\"fromArray\"])(args, scheduler);\n      }\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/observable/onErrorResumeNext.js\":\n  /*!*****************************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/observable/onErrorResumeNext.js ***!\n    \\*****************************************************************************/\n\n  /*! exports provided: onErrorResumeNext */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalObservableOnErrorResumeNextJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"onErrorResumeNext\", function () {\n      return onErrorResumeNext;\n    });\n    /* harmony import */\n\n\n    var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Observable */\n    \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n    /* harmony import */\n\n\n    var _from__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ./from */\n    \"./node_modules/rxjs/_esm2015/internal/observable/from.js\");\n    /* harmony import */\n\n\n    var _util_isArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../util/isArray */\n    \"./node_modules/rxjs/_esm2015/internal/util/isArray.js\");\n    /* harmony import */\n\n\n    var _empty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ./empty */\n    \"./node_modules/rxjs/_esm2015/internal/observable/empty.js\");\n\n    function onErrorResumeNext() {\n      for (var _len52 = arguments.length, sources = new Array(_len52), _key52 = 0; _key52 < _len52; _key52++) {\n        sources[_key52] = arguments[_key52];\n      }\n\n      if (sources.length === 0) {\n        return _empty__WEBPACK_IMPORTED_MODULE_3__[\"EMPTY\"];\n      }\n\n      var first = sources[0],\n          remainder = sources.slice(1);\n\n      if (sources.length === 1 && Object(_util_isArray__WEBPACK_IMPORTED_MODULE_2__[\"isArray\"])(first)) {\n        return onErrorResumeNext.apply(void 0, _toConsumableArray(first));\n      }\n\n      return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) {\n        var subNext = function subNext() {\n          return subscriber.add(onErrorResumeNext.apply(void 0, _toConsumableArray(remainder)).subscribe(subscriber));\n        };\n\n        return Object(_from__WEBPACK_IMPORTED_MODULE_1__[\"from\"])(first).subscribe({\n          next: function next(value) {\n            subscriber.next(value);\n          },\n          error: subNext,\n          complete: subNext\n        });\n      });\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/observable/pairs.js\":\n  /*!*****************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/observable/pairs.js ***!\n    \\*****************************************************************/\n\n  /*! exports provided: pairs, dispatch */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalObservablePairsJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"pairs\", function () {\n      return pairs;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"dispatch\", function () {\n      return dispatch;\n    });\n    /* harmony import */\n\n\n    var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Observable */\n    \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n    /* harmony import */\n\n\n    var _Subscription__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../Subscription */\n    \"./node_modules/rxjs/_esm2015/internal/Subscription.js\");\n\n    function pairs(obj, scheduler) {\n      if (!scheduler) {\n        return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) {\n          var keys = Object.keys(obj);\n\n          for (var i = 0; i < keys.length && !subscriber.closed; i++) {\n            var key = keys[i];\n\n            if (obj.hasOwnProperty(key)) {\n              subscriber.next([key, obj[key]]);\n            }\n          }\n\n          subscriber.complete();\n        });\n      } else {\n        return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) {\n          var keys = Object.keys(obj);\n          var subscription = new _Subscription__WEBPACK_IMPORTED_MODULE_1__[\"Subscription\"]();\n          subscription.add(scheduler.schedule(dispatch, 0, {\n            keys: keys,\n            index: 0,\n            subscriber: subscriber,\n            subscription: subscription,\n            obj: obj\n          }));\n          return subscription;\n        });\n      }\n    }\n\n    function dispatch(state) {\n      var keys = state.keys,\n          index = state.index,\n          subscriber = state.subscriber,\n          subscription = state.subscription,\n          obj = state.obj;\n\n      if (!subscriber.closed) {\n        if (index < keys.length) {\n          var key = keys[index];\n          subscriber.next([key, obj[key]]);\n          subscription.add(this.schedule({\n            keys: keys,\n            index: index + 1,\n            subscriber: subscriber,\n            subscription: subscription,\n            obj: obj\n          }));\n        } else {\n          subscriber.complete();\n        }\n      }\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/observable/race.js\":\n  /*!****************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/observable/race.js ***!\n    \\****************************************************************/\n\n  /*! exports provided: race, RaceOperator, RaceSubscriber */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalObservableRaceJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"race\", function () {\n      return race;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"RaceOperator\", function () {\n      return RaceOperator;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"RaceSubscriber\", function () {\n      return RaceSubscriber;\n    });\n    /* harmony import */\n\n\n    var _util_isArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../util/isArray */\n    \"./node_modules/rxjs/_esm2015/internal/util/isArray.js\");\n    /* harmony import */\n\n\n    var _fromArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ./fromArray */\n    \"./node_modules/rxjs/_esm2015/internal/observable/fromArray.js\");\n    /* harmony import */\n\n\n    var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../OuterSubscriber */\n    \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n    /* harmony import */\n\n\n    var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ../util/subscribeToResult */\n    \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n    function race() {\n      for (var _len53 = arguments.length, observables = new Array(_len53), _key53 = 0; _key53 < _len53; _key53++) {\n        observables[_key53] = arguments[_key53];\n      }\n\n      if (observables.length === 1) {\n        if (Object(_util_isArray__WEBPACK_IMPORTED_MODULE_0__[\"isArray\"])(observables[0])) {\n          observables = observables[0];\n        } else {\n          return observables[0];\n        }\n      }\n\n      return Object(_fromArray__WEBPACK_IMPORTED_MODULE_1__[\"fromArray\"])(observables, undefined).lift(new RaceOperator());\n    }\n\n    var RaceOperator =\n    /*#__PURE__*/\n    function () {\n      function RaceOperator() {\n        _classCallCheck(this, RaceOperator);\n      }\n\n      _createClass2(RaceOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new RaceSubscriber(subscriber));\n        }\n      }]);\n\n      return RaceOperator;\n    }();\n\n    var RaceSubscriber =\n    /*#__PURE__*/\n    function (_OuterSubscriber__WEB3) {\n      _inherits(RaceSubscriber, _OuterSubscriber__WEB3);\n\n      function RaceSubscriber(destination) {\n        var _this719;\n\n        _classCallCheck(this, RaceSubscriber);\n\n        _this719 = _possibleConstructorReturn(this, _getPrototypeOf(RaceSubscriber).call(this, destination));\n        _this719.hasFirst = false;\n        _this719.observables = [];\n        _this719.subscriptions = [];\n        return _this719;\n      }\n\n      _createClass2(RaceSubscriber, [{\n        key: \"_next\",\n        value: function _next(observable) {\n          this.observables.push(observable);\n        }\n      }, {\n        key: \"_complete\",\n        value: function _complete() {\n          var observables = this.observables;\n          var len = observables.length;\n\n          if (len === 0) {\n            this.destination.complete();\n          } else {\n            for (var i = 0; i < len && !this.hasFirst; i++) {\n              var observable = observables[i];\n              var subscription = Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_3__[\"subscribeToResult\"])(this, observable, observable, i);\n\n              if (this.subscriptions) {\n                this.subscriptions.push(subscription);\n              }\n\n              this.add(subscription);\n            }\n\n            this.observables = null;\n          }\n        }\n      }, {\n        key: \"notifyNext\",\n        value: function notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n          if (!this.hasFirst) {\n            this.hasFirst = true;\n\n            for (var i = 0; i < this.subscriptions.length; i++) {\n              if (i !== outerIndex) {\n                var subscription = this.subscriptions[i];\n                subscription.unsubscribe();\n                this.remove(subscription);\n              }\n            }\n\n            this.subscriptions = null;\n          }\n\n          this.destination.next(innerValue);\n        }\n      }]);\n\n      return RaceSubscriber;\n    }(_OuterSubscriber__WEBPACK_IMPORTED_MODULE_2__[\"OuterSubscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/observable/range.js\":\n  /*!*****************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/observable/range.js ***!\n    \\*****************************************************************/\n\n  /*! exports provided: range, dispatch */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalObservableRangeJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"range\", function () {\n      return range;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"dispatch\", function () {\n      return dispatch;\n    });\n    /* harmony import */\n\n\n    var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Observable */\n    \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n\n    function range() {\n      var start = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n      var count = arguments.length > 1 ? arguments[1] : undefined;\n      var scheduler = arguments.length > 2 ? arguments[2] : undefined;\n      return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) {\n        if (count === undefined) {\n          count = start;\n          start = 0;\n        }\n\n        var index = 0;\n        var current = start;\n\n        if (scheduler) {\n          return scheduler.schedule(dispatch, 0, {\n            index: index,\n            count: count,\n            start: start,\n            subscriber: subscriber\n          });\n        } else {\n          do {\n            if (index++ >= count) {\n              subscriber.complete();\n              break;\n            }\n\n            subscriber.next(current++);\n\n            if (subscriber.closed) {\n              break;\n            }\n          } while (true);\n        }\n\n        return undefined;\n      });\n    }\n\n    function dispatch(state) {\n      var start = state.start,\n          index = state.index,\n          count = state.count,\n          subscriber = state.subscriber;\n\n      if (index >= count) {\n        subscriber.complete();\n        return;\n      }\n\n      subscriber.next(start);\n\n      if (subscriber.closed) {\n        return;\n      }\n\n      state.index = index + 1;\n      state.start = start + 1;\n      this.schedule(state);\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/observable/scalar.js\":\n  /*!******************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/observable/scalar.js ***!\n    \\******************************************************************/\n\n  /*! exports provided: scalar */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalObservableScalarJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"scalar\", function () {\n      return scalar;\n    });\n    /* harmony import */\n\n\n    var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Observable */\n    \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n\n    function scalar(value) {\n      var result = new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) {\n        subscriber.next(value);\n        subscriber.complete();\n      });\n      result._isScalar = true;\n      result.value = value;\n      return result;\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/observable/throwError.js\":\n  /*!**********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/observable/throwError.js ***!\n    \\**********************************************************************/\n\n  /*! exports provided: throwError */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalObservableThrowErrorJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"throwError\", function () {\n      return throwError;\n    });\n    /* harmony import */\n\n\n    var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Observable */\n    \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n\n    function throwError(error, scheduler) {\n      if (!scheduler) {\n        return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) {\n          return subscriber.error(error);\n        });\n      } else {\n        return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) {\n          return scheduler.schedule(dispatch, 0, {\n            error: error,\n            subscriber: subscriber\n          });\n        });\n      }\n    }\n\n    function dispatch(_ref79) {\n      var error = _ref79.error,\n          subscriber = _ref79.subscriber;\n      subscriber.error(error);\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/observable/timer.js\":\n  /*!*****************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/observable/timer.js ***!\n    \\*****************************************************************/\n\n  /*! exports provided: timer */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalObservableTimerJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"timer\", function () {\n      return timer;\n    });\n    /* harmony import */\n\n\n    var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Observable */\n    \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n    /* harmony import */\n\n\n    var _scheduler_async__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../scheduler/async */\n    \"./node_modules/rxjs/_esm2015/internal/scheduler/async.js\");\n    /* harmony import */\n\n\n    var _util_isNumeric__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../util/isNumeric */\n    \"./node_modules/rxjs/_esm2015/internal/util/isNumeric.js\");\n    /* harmony import */\n\n\n    var _util_isScheduler__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ../util/isScheduler */\n    \"./node_modules/rxjs/_esm2015/internal/util/isScheduler.js\");\n\n    function timer() {\n      var dueTime = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n      var periodOrScheduler = arguments.length > 1 ? arguments[1] : undefined;\n      var scheduler = arguments.length > 2 ? arguments[2] : undefined;\n      var period = -1;\n\n      if (Object(_util_isNumeric__WEBPACK_IMPORTED_MODULE_2__[\"isNumeric\"])(periodOrScheduler)) {\n        period = Number(periodOrScheduler) < 1 && 1 || Number(periodOrScheduler);\n      } else if (Object(_util_isScheduler__WEBPACK_IMPORTED_MODULE_3__[\"isScheduler\"])(periodOrScheduler)) {\n        scheduler = periodOrScheduler;\n      }\n\n      if (!Object(_util_isScheduler__WEBPACK_IMPORTED_MODULE_3__[\"isScheduler\"])(scheduler)) {\n        scheduler = _scheduler_async__WEBPACK_IMPORTED_MODULE_1__[\"async\"];\n      }\n\n      return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) {\n        var due = Object(_util_isNumeric__WEBPACK_IMPORTED_MODULE_2__[\"isNumeric\"])(dueTime) ? dueTime : +dueTime - scheduler.now();\n        return scheduler.schedule(dispatch, due, {\n          index: 0,\n          period: period,\n          subscriber: subscriber\n        });\n      });\n    }\n\n    function dispatch(state) {\n      var index = state.index,\n          period = state.period,\n          subscriber = state.subscriber;\n      subscriber.next(index);\n\n      if (subscriber.closed) {\n        return;\n      } else if (period === -1) {\n        return subscriber.complete();\n      }\n\n      state.index = index + 1;\n      this.schedule(state, period);\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/observable/using.js\":\n  /*!*****************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/observable/using.js ***!\n    \\*****************************************************************/\n\n  /*! exports provided: using */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalObservableUsingJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"using\", function () {\n      return using;\n    });\n    /* harmony import */\n\n\n    var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Observable */\n    \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n    /* harmony import */\n\n\n    var _from__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ./from */\n    \"./node_modules/rxjs/_esm2015/internal/observable/from.js\");\n    /* harmony import */\n\n\n    var _empty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ./empty */\n    \"./node_modules/rxjs/_esm2015/internal/observable/empty.js\");\n\n    function using(resourceFactory, observableFactory) {\n      return new _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"](function (subscriber) {\n        var resource;\n\n        try {\n          resource = resourceFactory();\n        } catch (err) {\n          subscriber.error(err);\n          return undefined;\n        }\n\n        var result;\n\n        try {\n          result = observableFactory(resource);\n        } catch (err) {\n          subscriber.error(err);\n          return undefined;\n        }\n\n        var source = result ? Object(_from__WEBPACK_IMPORTED_MODULE_1__[\"from\"])(result) : _empty__WEBPACK_IMPORTED_MODULE_2__[\"EMPTY\"];\n        var subscription = source.subscribe(subscriber);\n        return function () {\n          subscription.unsubscribe();\n\n          if (resource) {\n            resource.unsubscribe();\n          }\n        };\n      });\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/observable/zip.js\":\n  /*!***************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/observable/zip.js ***!\n    \\***************************************************************/\n\n  /*! exports provided: zip, ZipOperator, ZipSubscriber */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalObservableZipJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"zip\", function () {\n      return zip;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ZipOperator\", function () {\n      return ZipOperator;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ZipSubscriber\", function () {\n      return ZipSubscriber;\n    });\n    /* harmony import */\n\n\n    var _fromArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./fromArray */\n    \"./node_modules/rxjs/_esm2015/internal/observable/fromArray.js\");\n    /* harmony import */\n\n\n    var _util_isArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../util/isArray */\n    \"./node_modules/rxjs/_esm2015/internal/util/isArray.js\");\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n    /* harmony import */\n\n\n    var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ../OuterSubscriber */\n    \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n    /* harmony import */\n\n\n    var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! ../util/subscribeToResult */\n    \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n    /* harmony import */\n\n\n    var _internal_symbol_iterator__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\n    /*! ../../internal/symbol/iterator */\n    \"./node_modules/rxjs/_esm2015/internal/symbol/iterator.js\");\n\n    function zip() {\n      for (var _len54 = arguments.length, observables = new Array(_len54), _key54 = 0; _key54 < _len54; _key54++) {\n        observables[_key54] = arguments[_key54];\n      }\n\n      var resultSelector = observables[observables.length - 1];\n\n      if (typeof resultSelector === 'function') {\n        observables.pop();\n      }\n\n      return Object(_fromArray__WEBPACK_IMPORTED_MODULE_0__[\"fromArray\"])(observables, undefined).lift(new ZipOperator(resultSelector));\n    }\n\n    var ZipOperator =\n    /*#__PURE__*/\n    function () {\n      function ZipOperator(resultSelector) {\n        _classCallCheck(this, ZipOperator);\n\n        this.resultSelector = resultSelector;\n      }\n\n      _createClass2(ZipOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new ZipSubscriber(subscriber, this.resultSelector));\n        }\n      }]);\n\n      return ZipOperator;\n    }();\n\n    var ZipSubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_5) {\n      _inherits(ZipSubscriber, _Subscriber__WEBPACK_5);\n\n      function ZipSubscriber(destination, resultSelector) {\n        var _this720;\n\n        var values = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : Object.create(null);\n\n        _classCallCheck(this, ZipSubscriber);\n\n        _this720 = _possibleConstructorReturn(this, _getPrototypeOf(ZipSubscriber).call(this, destination));\n        _this720.iterators = [];\n        _this720.active = 0;\n        _this720.resultSelector = typeof resultSelector === 'function' ? resultSelector : null;\n        _this720.values = values;\n        return _this720;\n      }\n\n      _createClass2(ZipSubscriber, [{\n        key: \"_next\",\n        value: function _next(value) {\n          var iterators = this.iterators;\n\n          if (Object(_util_isArray__WEBPACK_IMPORTED_MODULE_1__[\"isArray\"])(value)) {\n            iterators.push(new StaticArrayIterator(value));\n          } else if (typeof value[_internal_symbol_iterator__WEBPACK_IMPORTED_MODULE_5__[\"iterator\"]] === 'function') {\n            iterators.push(new StaticIterator(value[_internal_symbol_iterator__WEBPACK_IMPORTED_MODULE_5__[\"iterator\"]]()));\n          } else {\n            iterators.push(new ZipBufferIterator(this.destination, this, value));\n          }\n        }\n      }, {\n        key: \"_complete\",\n        value: function _complete() {\n          var iterators = this.iterators;\n          var len = iterators.length;\n          this.unsubscribe();\n\n          if (len === 0) {\n            this.destination.complete();\n            return;\n          }\n\n          this.active = len;\n\n          for (var i = 0; i < len; i++) {\n            var iterator = iterators[i];\n\n            if (iterator.stillUnsubscribed) {\n              var destination = this.destination;\n              destination.add(iterator.subscribe(iterator, i));\n            } else {\n              this.active--;\n            }\n          }\n        }\n      }, {\n        key: \"notifyInactive\",\n        value: function notifyInactive() {\n          this.active--;\n\n          if (this.active === 0) {\n            this.destination.complete();\n          }\n        }\n      }, {\n        key: \"checkIterators\",\n        value: function checkIterators() {\n          var iterators = this.iterators;\n          var len = iterators.length;\n          var destination = this.destination;\n\n          for (var i = 0; i < len; i++) {\n            var iterator = iterators[i];\n\n            if (typeof iterator.hasValue === 'function' && !iterator.hasValue()) {\n              return;\n            }\n          }\n\n          var shouldComplete = false;\n          var args = [];\n\n          for (var _i44 = 0; _i44 < len; _i44++) {\n            var _iterator64 = iterators[_i44];\n\n            var result = _iterator64.next();\n\n            if (_iterator64.hasCompleted()) {\n              shouldComplete = true;\n            }\n\n            if (result.done) {\n              destination.complete();\n              return;\n            }\n\n            args.push(result.value);\n          }\n\n          if (this.resultSelector) {\n            this._tryresultSelector(args);\n          } else {\n            destination.next(args);\n          }\n\n          if (shouldComplete) {\n            destination.complete();\n          }\n        }\n      }, {\n        key: \"_tryresultSelector\",\n        value: function _tryresultSelector(args) {\n          var result;\n\n          try {\n            result = this.resultSelector.apply(this, args);\n          } catch (err) {\n            this.destination.error(err);\n            return;\n          }\n\n          this.destination.next(result);\n        }\n      }]);\n\n      return ZipSubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_2__[\"Subscriber\"]);\n\n    var StaticIterator =\n    /*#__PURE__*/\n    function () {\n      function StaticIterator(iterator) {\n        _classCallCheck(this, StaticIterator);\n\n        this.iterator = iterator;\n        this.nextResult = iterator.next();\n      }\n\n      _createClass2(StaticIterator, [{\n        key: \"hasValue\",\n        value: function hasValue() {\n          return true;\n        }\n      }, {\n        key: \"next\",\n        value: function next() {\n          var result = this.nextResult;\n          this.nextResult = this.iterator.next();\n          return result;\n        }\n      }, {\n        key: \"hasCompleted\",\n        value: function hasCompleted() {\n          var nextResult = this.nextResult;\n          return nextResult && nextResult.done;\n        }\n      }]);\n\n      return StaticIterator;\n    }();\n\n    var StaticArrayIterator =\n    /*#__PURE__*/\n    function () {\n      function StaticArrayIterator(array) {\n        _classCallCheck(this, StaticArrayIterator);\n\n        this.array = array;\n        this.index = 0;\n        this.length = 0;\n        this.length = array.length;\n      }\n\n      _createClass2(StaticArrayIterator, [{\n        key: _internal_symbol_iterator__WEBPACK_IMPORTED_MODULE_5__[\"iterator\"],\n        value: function value() {\n          return this;\n        }\n      }, {\n        key: \"next\",\n        value: function next(value) {\n          var i = this.index++;\n          var array = this.array;\n          return i < this.length ? {\n            value: array[i],\n            done: false\n          } : {\n            value: null,\n            done: true\n          };\n        }\n      }, {\n        key: \"hasValue\",\n        value: function hasValue() {\n          return this.array.length > this.index;\n        }\n      }, {\n        key: \"hasCompleted\",\n        value: function hasCompleted() {\n          return this.array.length === this.index;\n        }\n      }]);\n\n      return StaticArrayIterator;\n    }();\n\n    var ZipBufferIterator =\n    /*#__PURE__*/\n    function (_OuterSubscriber__WEB4) {\n      _inherits(ZipBufferIterator, _OuterSubscriber__WEB4);\n\n      function ZipBufferIterator(destination, parent, observable) {\n        var _this721;\n\n        _classCallCheck(this, ZipBufferIterator);\n\n        _this721 = _possibleConstructorReturn(this, _getPrototypeOf(ZipBufferIterator).call(this, destination));\n        _this721.parent = parent;\n        _this721.observable = observable;\n        _this721.stillUnsubscribed = true;\n        _this721.buffer = [];\n        _this721.isComplete = false;\n        return _this721;\n      }\n\n      _createClass2(ZipBufferIterator, [{\n        key: _internal_symbol_iterator__WEBPACK_IMPORTED_MODULE_5__[\"iterator\"],\n        value: function value() {\n          return this;\n        }\n      }, {\n        key: \"next\",\n        value: function next() {\n          var buffer = this.buffer;\n\n          if (buffer.length === 0 && this.isComplete) {\n            return {\n              value: null,\n              done: true\n            };\n          } else {\n            return {\n              value: buffer.shift(),\n              done: false\n            };\n          }\n        }\n      }, {\n        key: \"hasValue\",\n        value: function hasValue() {\n          return this.buffer.length > 0;\n        }\n      }, {\n        key: \"hasCompleted\",\n        value: function hasCompleted() {\n          return this.buffer.length === 0 && this.isComplete;\n        }\n      }, {\n        key: \"notifyComplete\",\n        value: function notifyComplete() {\n          if (this.buffer.length > 0) {\n            this.isComplete = true;\n            this.parent.notifyInactive();\n          } else {\n            this.destination.complete();\n          }\n        }\n      }, {\n        key: \"notifyNext\",\n        value: function notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n          this.buffer.push(innerValue);\n          this.parent.checkIterators();\n        }\n      }, {\n        key: \"subscribe\",\n        value: function subscribe(value, index) {\n          return Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_4__[\"subscribeToResult\"])(this, this.observable, this, index);\n        }\n      }]);\n\n      return ZipBufferIterator;\n    }(_OuterSubscriber__WEBPACK_IMPORTED_MODULE_3__[\"OuterSubscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/audit.js\":\n  /*!****************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/audit.js ***!\n    \\****************************************************************/\n\n  /*! exports provided: audit */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsAuditJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"audit\", function () {\n      return audit;\n    });\n    /* harmony import */\n\n\n    var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../OuterSubscriber */\n    \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n    /* harmony import */\n\n\n    var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../util/subscribeToResult */\n    \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n    function audit(durationSelector) {\n      return function auditOperatorFunction(source) {\n        return source.lift(new AuditOperator(durationSelector));\n      };\n    }\n\n    var AuditOperator =\n    /*#__PURE__*/\n    function () {\n      function AuditOperator(durationSelector) {\n        _classCallCheck(this, AuditOperator);\n\n        this.durationSelector = durationSelector;\n      }\n\n      _createClass2(AuditOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new AuditSubscriber(subscriber, this.durationSelector));\n        }\n      }]);\n\n      return AuditOperator;\n    }();\n\n    var AuditSubscriber =\n    /*#__PURE__*/\n    function (_OuterSubscriber__WEB5) {\n      _inherits(AuditSubscriber, _OuterSubscriber__WEB5);\n\n      function AuditSubscriber(destination, durationSelector) {\n        var _this722;\n\n        _classCallCheck(this, AuditSubscriber);\n\n        _this722 = _possibleConstructorReturn(this, _getPrototypeOf(AuditSubscriber).call(this, destination));\n        _this722.durationSelector = durationSelector;\n        _this722.hasValue = false;\n        return _this722;\n      }\n\n      _createClass2(AuditSubscriber, [{\n        key: \"_next\",\n        value: function _next(value) {\n          this.value = value;\n          this.hasValue = true;\n\n          if (!this.throttled) {\n            var duration;\n\n            try {\n              var durationSelector = this.durationSelector;\n              duration = durationSelector(value);\n            } catch (err) {\n              return this.destination.error(err);\n            }\n\n            var innerSubscription = Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__[\"subscribeToResult\"])(this, duration);\n\n            if (!innerSubscription || innerSubscription.closed) {\n              this.clearThrottle();\n            } else {\n              this.add(this.throttled = innerSubscription);\n            }\n          }\n        }\n      }, {\n        key: \"clearThrottle\",\n        value: function clearThrottle() {\n          var value = this.value,\n              hasValue = this.hasValue,\n              throttled = this.throttled;\n\n          if (throttled) {\n            this.remove(throttled);\n            this.throttled = null;\n            throttled.unsubscribe();\n          }\n\n          if (hasValue) {\n            this.value = null;\n            this.hasValue = false;\n            this.destination.next(value);\n          }\n        }\n      }, {\n        key: \"notifyNext\",\n        value: function notifyNext(outerValue, innerValue, outerIndex, innerIndex) {\n          this.clearThrottle();\n        }\n      }, {\n        key: \"notifyComplete\",\n        value: function notifyComplete() {\n          this.clearThrottle();\n        }\n      }]);\n\n      return AuditSubscriber;\n    }(_OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__[\"OuterSubscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/auditTime.js\":\n  /*!********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/auditTime.js ***!\n    \\********************************************************************/\n\n  /*! exports provided: auditTime */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsAuditTimeJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"auditTime\", function () {\n      return auditTime;\n    });\n    /* harmony import */\n\n\n    var _scheduler_async__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../scheduler/async */\n    \"./node_modules/rxjs/_esm2015/internal/scheduler/async.js\");\n    /* harmony import */\n\n\n    var _audit__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ./audit */\n    \"./node_modules/rxjs/_esm2015/internal/operators/audit.js\");\n    /* harmony import */\n\n\n    var _observable_timer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../observable/timer */\n    \"./node_modules/rxjs/_esm2015/internal/observable/timer.js\");\n\n    function auditTime(duration) {\n      var scheduler = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _scheduler_async__WEBPACK_IMPORTED_MODULE_0__[\"async\"];\n      return Object(_audit__WEBPACK_IMPORTED_MODULE_1__[\"audit\"])(function () {\n        return Object(_observable_timer__WEBPACK_IMPORTED_MODULE_2__[\"timer\"])(duration, scheduler);\n      });\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/buffer.js\":\n  /*!*****************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/buffer.js ***!\n    \\*****************************************************************/\n\n  /*! exports provided: buffer */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsBufferJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"buffer\", function () {\n      return buffer;\n    });\n    /* harmony import */\n\n\n    var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../OuterSubscriber */\n    \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n    /* harmony import */\n\n\n    var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../util/subscribeToResult */\n    \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n    function buffer(closingNotifier) {\n      return function bufferOperatorFunction(source) {\n        return source.lift(new BufferOperator(closingNotifier));\n      };\n    }\n\n    var BufferOperator =\n    /*#__PURE__*/\n    function () {\n      function BufferOperator(closingNotifier) {\n        _classCallCheck(this, BufferOperator);\n\n        this.closingNotifier = closingNotifier;\n      }\n\n      _createClass2(BufferOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new BufferSubscriber(subscriber, this.closingNotifier));\n        }\n      }]);\n\n      return BufferOperator;\n    }();\n\n    var BufferSubscriber =\n    /*#__PURE__*/\n    function (_OuterSubscriber__WEB6) {\n      _inherits(BufferSubscriber, _OuterSubscriber__WEB6);\n\n      function BufferSubscriber(destination, closingNotifier) {\n        var _this723;\n\n        _classCallCheck(this, BufferSubscriber);\n\n        _this723 = _possibleConstructorReturn(this, _getPrototypeOf(BufferSubscriber).call(this, destination));\n        _this723.buffer = [];\n\n        _this723.add(Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__[\"subscribeToResult\"])(_assertThisInitialized(_this723), closingNotifier));\n\n        return _this723;\n      }\n\n      _createClass2(BufferSubscriber, [{\n        key: \"_next\",\n        value: function _next(value) {\n          this.buffer.push(value);\n        }\n      }, {\n        key: \"notifyNext\",\n        value: function notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n          var buffer = this.buffer;\n          this.buffer = [];\n          this.destination.next(buffer);\n        }\n      }]);\n\n      return BufferSubscriber;\n    }(_OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__[\"OuterSubscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/bufferCount.js\":\n  /*!**********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/bufferCount.js ***!\n    \\**********************************************************************/\n\n  /*! exports provided: bufferCount */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsBufferCountJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"bufferCount\", function () {\n      return bufferCount;\n    });\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\n    function bufferCount(bufferSize) {\n      var startBufferEvery = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n      return function bufferCountOperatorFunction(source) {\n        return source.lift(new BufferCountOperator(bufferSize, startBufferEvery));\n      };\n    }\n\n    var BufferCountOperator =\n    /*#__PURE__*/\n    function () {\n      function BufferCountOperator(bufferSize, startBufferEvery) {\n        _classCallCheck(this, BufferCountOperator);\n\n        this.bufferSize = bufferSize;\n        this.startBufferEvery = startBufferEvery;\n\n        if (!startBufferEvery || bufferSize === startBufferEvery) {\n          this.subscriberClass = BufferCountSubscriber;\n        } else {\n          this.subscriberClass = BufferSkipCountSubscriber;\n        }\n      }\n\n      _createClass2(BufferCountOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new this.subscriberClass(subscriber, this.bufferSize, this.startBufferEvery));\n        }\n      }]);\n\n      return BufferCountOperator;\n    }();\n\n    var BufferCountSubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_6) {\n      _inherits(BufferCountSubscriber, _Subscriber__WEBPACK_6);\n\n      function BufferCountSubscriber(destination, bufferSize) {\n        var _this724;\n\n        _classCallCheck(this, BufferCountSubscriber);\n\n        _this724 = _possibleConstructorReturn(this, _getPrototypeOf(BufferCountSubscriber).call(this, destination));\n        _this724.bufferSize = bufferSize;\n        _this724.buffer = [];\n        return _this724;\n      }\n\n      _createClass2(BufferCountSubscriber, [{\n        key: \"_next\",\n        value: function _next(value) {\n          var buffer = this.buffer;\n          buffer.push(value);\n\n          if (buffer.length == this.bufferSize) {\n            this.destination.next(buffer);\n            this.buffer = [];\n          }\n        }\n      }, {\n        key: \"_complete\",\n        value: function _complete() {\n          var buffer = this.buffer;\n\n          if (buffer.length > 0) {\n            this.destination.next(buffer);\n          }\n\n          _get(_getPrototypeOf(BufferCountSubscriber.prototype), \"_complete\", this).call(this);\n        }\n      }]);\n\n      return BufferCountSubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]);\n\n    var BufferSkipCountSubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_7) {\n      _inherits(BufferSkipCountSubscriber, _Subscriber__WEBPACK_7);\n\n      function BufferSkipCountSubscriber(destination, bufferSize, startBufferEvery) {\n        var _this725;\n\n        _classCallCheck(this, BufferSkipCountSubscriber);\n\n        _this725 = _possibleConstructorReturn(this, _getPrototypeOf(BufferSkipCountSubscriber).call(this, destination));\n        _this725.bufferSize = bufferSize;\n        _this725.startBufferEvery = startBufferEvery;\n        _this725.buffers = [];\n        _this725.count = 0;\n        return _this725;\n      }\n\n      _createClass2(BufferSkipCountSubscriber, [{\n        key: \"_next\",\n        value: function _next(value) {\n          var bufferSize = this.bufferSize,\n              startBufferEvery = this.startBufferEvery,\n              buffers = this.buffers,\n              count = this.count;\n          this.count++;\n\n          if (count % startBufferEvery === 0) {\n            buffers.push([]);\n          }\n\n          for (var i = buffers.length; i--;) {\n            var buffer = buffers[i];\n            buffer.push(value);\n\n            if (buffer.length === bufferSize) {\n              buffers.splice(i, 1);\n              this.destination.next(buffer);\n            }\n          }\n        }\n      }, {\n        key: \"_complete\",\n        value: function _complete() {\n          var buffers = this.buffers,\n              destination = this.destination;\n\n          while (buffers.length > 0) {\n            var buffer = buffers.shift();\n\n            if (buffer.length > 0) {\n              destination.next(buffer);\n            }\n          }\n\n          _get(_getPrototypeOf(BufferSkipCountSubscriber.prototype), \"_complete\", this).call(this);\n        }\n      }]);\n\n      return BufferSkipCountSubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/bufferTime.js\":\n  /*!*********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/bufferTime.js ***!\n    \\*********************************************************************/\n\n  /*! exports provided: bufferTime */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsBufferTimeJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"bufferTime\", function () {\n      return bufferTime;\n    });\n    /* harmony import */\n\n\n    var _scheduler_async__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../scheduler/async */\n    \"./node_modules/rxjs/_esm2015/internal/scheduler/async.js\");\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n    /* harmony import */\n\n\n    var _util_isScheduler__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../util/isScheduler */\n    \"./node_modules/rxjs/_esm2015/internal/util/isScheduler.js\");\n\n    function bufferTime(bufferTimeSpan) {\n      var length = arguments.length;\n      var scheduler = _scheduler_async__WEBPACK_IMPORTED_MODULE_0__[\"async\"];\n\n      if (Object(_util_isScheduler__WEBPACK_IMPORTED_MODULE_2__[\"isScheduler\"])(arguments[arguments.length - 1])) {\n        scheduler = arguments[arguments.length - 1];\n        length--;\n      }\n\n      var bufferCreationInterval = null;\n\n      if (length >= 2) {\n        bufferCreationInterval = arguments[1];\n      }\n\n      var maxBufferSize = Number.POSITIVE_INFINITY;\n\n      if (length >= 3) {\n        maxBufferSize = arguments[2];\n      }\n\n      return function bufferTimeOperatorFunction(source) {\n        return source.lift(new BufferTimeOperator(bufferTimeSpan, bufferCreationInterval, maxBufferSize, scheduler));\n      };\n    }\n\n    var BufferTimeOperator =\n    /*#__PURE__*/\n    function () {\n      function BufferTimeOperator(bufferTimeSpan, bufferCreationInterval, maxBufferSize, scheduler) {\n        _classCallCheck(this, BufferTimeOperator);\n\n        this.bufferTimeSpan = bufferTimeSpan;\n        this.bufferCreationInterval = bufferCreationInterval;\n        this.maxBufferSize = maxBufferSize;\n        this.scheduler = scheduler;\n      }\n\n      _createClass2(BufferTimeOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new BufferTimeSubscriber(subscriber, this.bufferTimeSpan, this.bufferCreationInterval, this.maxBufferSize, this.scheduler));\n        }\n      }]);\n\n      return BufferTimeOperator;\n    }();\n\n    var Context = function Context() {\n      _classCallCheck(this, Context);\n\n      this.buffer = [];\n    };\n\n    var BufferTimeSubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_8) {\n      _inherits(BufferTimeSubscriber, _Subscriber__WEBPACK_8);\n\n      function BufferTimeSubscriber(destination, bufferTimeSpan, bufferCreationInterval, maxBufferSize, scheduler) {\n        var _this726;\n\n        _classCallCheck(this, BufferTimeSubscriber);\n\n        _this726 = _possibleConstructorReturn(this, _getPrototypeOf(BufferTimeSubscriber).call(this, destination));\n        _this726.bufferTimeSpan = bufferTimeSpan;\n        _this726.bufferCreationInterval = bufferCreationInterval;\n        _this726.maxBufferSize = maxBufferSize;\n        _this726.scheduler = scheduler;\n        _this726.contexts = [];\n\n        var context = _this726.openContext();\n\n        _this726.timespanOnly = bufferCreationInterval == null || bufferCreationInterval < 0;\n\n        if (_this726.timespanOnly) {\n          var timeSpanOnlyState = {\n            subscriber: _assertThisInitialized(_this726),\n            context: context,\n            bufferTimeSpan: bufferTimeSpan\n          };\n\n          _this726.add(context.closeAction = scheduler.schedule(dispatchBufferTimeSpanOnly, bufferTimeSpan, timeSpanOnlyState));\n        } else {\n          var closeState = {\n            subscriber: _assertThisInitialized(_this726),\n            context: context\n          };\n          var creationState = {\n            bufferTimeSpan: bufferTimeSpan,\n            bufferCreationInterval: bufferCreationInterval,\n            subscriber: _assertThisInitialized(_this726),\n            scheduler: scheduler\n          };\n\n          _this726.add(context.closeAction = scheduler.schedule(dispatchBufferClose, bufferTimeSpan, closeState));\n\n          _this726.add(scheduler.schedule(dispatchBufferCreation, bufferCreationInterval, creationState));\n        }\n\n        return _this726;\n      }\n\n      _createClass2(BufferTimeSubscriber, [{\n        key: \"_next\",\n        value: function _next(value) {\n          var contexts = this.contexts;\n          var len = contexts.length;\n          var filledBufferContext;\n\n          for (var i = 0; i < len; i++) {\n            var context = contexts[i];\n            var buffer = context.buffer;\n            buffer.push(value);\n\n            if (buffer.length == this.maxBufferSize) {\n              filledBufferContext = context;\n            }\n          }\n\n          if (filledBufferContext) {\n            this.onBufferFull(filledBufferContext);\n          }\n        }\n      }, {\n        key: \"_error\",\n        value: function _error(err) {\n          this.contexts.length = 0;\n\n          _get(_getPrototypeOf(BufferTimeSubscriber.prototype), \"_error\", this).call(this, err);\n        }\n      }, {\n        key: \"_complete\",\n        value: function _complete() {\n          var contexts = this.contexts,\n              destination = this.destination;\n\n          while (contexts.length > 0) {\n            var context = contexts.shift();\n            destination.next(context.buffer);\n          }\n\n          _get(_getPrototypeOf(BufferTimeSubscriber.prototype), \"_complete\", this).call(this);\n        }\n      }, {\n        key: \"_unsubscribe\",\n        value: function _unsubscribe() {\n          this.contexts = null;\n        }\n      }, {\n        key: \"onBufferFull\",\n        value: function onBufferFull(context) {\n          this.closeContext(context);\n          var closeAction = context.closeAction;\n          closeAction.unsubscribe();\n          this.remove(closeAction);\n\n          if (!this.closed && this.timespanOnly) {\n            context = this.openContext();\n            var bufferTimeSpan = this.bufferTimeSpan;\n            var timeSpanOnlyState = {\n              subscriber: this,\n              context: context,\n              bufferTimeSpan: bufferTimeSpan\n            };\n            this.add(context.closeAction = this.scheduler.schedule(dispatchBufferTimeSpanOnly, bufferTimeSpan, timeSpanOnlyState));\n          }\n        }\n      }, {\n        key: \"openContext\",\n        value: function openContext() {\n          var context = new Context();\n          this.contexts.push(context);\n          return context;\n        }\n      }, {\n        key: \"closeContext\",\n        value: function closeContext(context) {\n          this.destination.next(context.buffer);\n          var contexts = this.contexts;\n          var spliceIndex = contexts ? contexts.indexOf(context) : -1;\n\n          if (spliceIndex >= 0) {\n            contexts.splice(contexts.indexOf(context), 1);\n          }\n        }\n      }]);\n\n      return BufferTimeSubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_1__[\"Subscriber\"]);\n\n    function dispatchBufferTimeSpanOnly(state) {\n      var subscriber = state.subscriber;\n      var prevContext = state.context;\n\n      if (prevContext) {\n        subscriber.closeContext(prevContext);\n      }\n\n      if (!subscriber.closed) {\n        state.context = subscriber.openContext();\n        state.context.closeAction = this.schedule(state, state.bufferTimeSpan);\n      }\n    }\n\n    function dispatchBufferCreation(state) {\n      var bufferCreationInterval = state.bufferCreationInterval,\n          bufferTimeSpan = state.bufferTimeSpan,\n          subscriber = state.subscriber,\n          scheduler = state.scheduler;\n      var context = subscriber.openContext();\n      var action = this;\n\n      if (!subscriber.closed) {\n        subscriber.add(context.closeAction = scheduler.schedule(dispatchBufferClose, bufferTimeSpan, {\n          subscriber: subscriber,\n          context: context\n        }));\n        action.schedule(state, bufferCreationInterval);\n      }\n    }\n\n    function dispatchBufferClose(arg) {\n      var subscriber = arg.subscriber,\n          context = arg.context;\n      subscriber.closeContext(context);\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/bufferToggle.js\":\n  /*!***********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/bufferToggle.js ***!\n    \\***********************************************************************/\n\n  /*! exports provided: bufferToggle */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsBufferToggleJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"bufferToggle\", function () {\n      return bufferToggle;\n    });\n    /* harmony import */\n\n\n    var _Subscription__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subscription */\n    \"./node_modules/rxjs/_esm2015/internal/Subscription.js\");\n    /* harmony import */\n\n\n    var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../util/subscribeToResult */\n    \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n    /* harmony import */\n\n\n    var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../OuterSubscriber */\n    \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n\n    function bufferToggle(openings, closingSelector) {\n      return function bufferToggleOperatorFunction(source) {\n        return source.lift(new BufferToggleOperator(openings, closingSelector));\n      };\n    }\n\n    var BufferToggleOperator =\n    /*#__PURE__*/\n    function () {\n      function BufferToggleOperator(openings, closingSelector) {\n        _classCallCheck(this, BufferToggleOperator);\n\n        this.openings = openings;\n        this.closingSelector = closingSelector;\n      }\n\n      _createClass2(BufferToggleOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new BufferToggleSubscriber(subscriber, this.openings, this.closingSelector));\n        }\n      }]);\n\n      return BufferToggleOperator;\n    }();\n\n    var BufferToggleSubscriber =\n    /*#__PURE__*/\n    function (_OuterSubscriber__WEB7) {\n      _inherits(BufferToggleSubscriber, _OuterSubscriber__WEB7);\n\n      function BufferToggleSubscriber(destination, openings, closingSelector) {\n        var _this727;\n\n        _classCallCheck(this, BufferToggleSubscriber);\n\n        _this727 = _possibleConstructorReturn(this, _getPrototypeOf(BufferToggleSubscriber).call(this, destination));\n        _this727.openings = openings;\n        _this727.closingSelector = closingSelector;\n        _this727.contexts = [];\n\n        _this727.add(Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__[\"subscribeToResult\"])(_assertThisInitialized(_this727), openings));\n\n        return _this727;\n      }\n\n      _createClass2(BufferToggleSubscriber, [{\n        key: \"_next\",\n        value: function _next(value) {\n          var contexts = this.contexts;\n          var len = contexts.length;\n\n          for (var i = 0; i < len; i++) {\n            contexts[i].buffer.push(value);\n          }\n        }\n      }, {\n        key: \"_error\",\n        value: function _error(err) {\n          var contexts = this.contexts;\n\n          while (contexts.length > 0) {\n            var context = contexts.shift();\n            context.subscription.unsubscribe();\n            context.buffer = null;\n            context.subscription = null;\n          }\n\n          this.contexts = null;\n\n          _get(_getPrototypeOf(BufferToggleSubscriber.prototype), \"_error\", this).call(this, err);\n        }\n      }, {\n        key: \"_complete\",\n        value: function _complete() {\n          var contexts = this.contexts;\n\n          while (contexts.length > 0) {\n            var context = contexts.shift();\n            this.destination.next(context.buffer);\n            context.subscription.unsubscribe();\n            context.buffer = null;\n            context.subscription = null;\n          }\n\n          this.contexts = null;\n\n          _get(_getPrototypeOf(BufferToggleSubscriber.prototype), \"_complete\", this).call(this);\n        }\n      }, {\n        key: \"notifyNext\",\n        value: function notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n          outerValue ? this.closeBuffer(outerValue) : this.openBuffer(innerValue);\n        }\n      }, {\n        key: \"notifyComplete\",\n        value: function notifyComplete(innerSub) {\n          this.closeBuffer(innerSub.context);\n        }\n      }, {\n        key: \"openBuffer\",\n        value: function openBuffer(value) {\n          try {\n            var closingSelector = this.closingSelector;\n            var closingNotifier = closingSelector.call(this, value);\n\n            if (closingNotifier) {\n              this.trySubscribe(closingNotifier);\n            }\n          } catch (err) {\n            this._error(err);\n          }\n        }\n      }, {\n        key: \"closeBuffer\",\n        value: function closeBuffer(context) {\n          var contexts = this.contexts;\n\n          if (contexts && context) {\n            var buffer = context.buffer,\n                subscription = context.subscription;\n            this.destination.next(buffer);\n            contexts.splice(contexts.indexOf(context), 1);\n            this.remove(subscription);\n            subscription.unsubscribe();\n          }\n        }\n      }, {\n        key: \"trySubscribe\",\n        value: function trySubscribe(closingNotifier) {\n          var contexts = this.contexts;\n          var buffer = [];\n          var subscription = new _Subscription__WEBPACK_IMPORTED_MODULE_0__[\"Subscription\"]();\n          var context = {\n            buffer: buffer,\n            subscription: subscription\n          };\n          contexts.push(context);\n          var innerSubscription = Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__[\"subscribeToResult\"])(this, closingNotifier, context);\n\n          if (!innerSubscription || innerSubscription.closed) {\n            this.closeBuffer(context);\n          } else {\n            innerSubscription.context = context;\n            this.add(innerSubscription);\n            subscription.add(innerSubscription);\n          }\n        }\n      }]);\n\n      return BufferToggleSubscriber;\n    }(_OuterSubscriber__WEBPACK_IMPORTED_MODULE_2__[\"OuterSubscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/bufferWhen.js\":\n  /*!*********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/bufferWhen.js ***!\n    \\*********************************************************************/\n\n  /*! exports provided: bufferWhen */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsBufferWhenJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"bufferWhen\", function () {\n      return bufferWhen;\n    });\n    /* harmony import */\n\n\n    var _Subscription__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subscription */\n    \"./node_modules/rxjs/_esm2015/internal/Subscription.js\");\n    /* harmony import */\n\n\n    var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../OuterSubscriber */\n    \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n    /* harmony import */\n\n\n    var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../util/subscribeToResult */\n    \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n    function bufferWhen(closingSelector) {\n      return function (source) {\n        return source.lift(new BufferWhenOperator(closingSelector));\n      };\n    }\n\n    var BufferWhenOperator =\n    /*#__PURE__*/\n    function () {\n      function BufferWhenOperator(closingSelector) {\n        _classCallCheck(this, BufferWhenOperator);\n\n        this.closingSelector = closingSelector;\n      }\n\n      _createClass2(BufferWhenOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new BufferWhenSubscriber(subscriber, this.closingSelector));\n        }\n      }]);\n\n      return BufferWhenOperator;\n    }();\n\n    var BufferWhenSubscriber =\n    /*#__PURE__*/\n    function (_OuterSubscriber__WEB8) {\n      _inherits(BufferWhenSubscriber, _OuterSubscriber__WEB8);\n\n      function BufferWhenSubscriber(destination, closingSelector) {\n        var _this728;\n\n        _classCallCheck(this, BufferWhenSubscriber);\n\n        _this728 = _possibleConstructorReturn(this, _getPrototypeOf(BufferWhenSubscriber).call(this, destination));\n        _this728.closingSelector = closingSelector;\n        _this728.subscribing = false;\n\n        _this728.openBuffer();\n\n        return _this728;\n      }\n\n      _createClass2(BufferWhenSubscriber, [{\n        key: \"_next\",\n        value: function _next(value) {\n          this.buffer.push(value);\n        }\n      }, {\n        key: \"_complete\",\n        value: function _complete() {\n          var buffer = this.buffer;\n\n          if (buffer) {\n            this.destination.next(buffer);\n          }\n\n          _get(_getPrototypeOf(BufferWhenSubscriber.prototype), \"_complete\", this).call(this);\n        }\n      }, {\n        key: \"_unsubscribe\",\n        value: function _unsubscribe() {\n          this.buffer = null;\n          this.subscribing = false;\n        }\n      }, {\n        key: \"notifyNext\",\n        value: function notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n          this.openBuffer();\n        }\n      }, {\n        key: \"notifyComplete\",\n        value: function notifyComplete() {\n          if (this.subscribing) {\n            this.complete();\n          } else {\n            this.openBuffer();\n          }\n        }\n      }, {\n        key: \"openBuffer\",\n        value: function openBuffer() {\n          var closingSubscription = this.closingSubscription;\n\n          if (closingSubscription) {\n            this.remove(closingSubscription);\n            closingSubscription.unsubscribe();\n          }\n\n          var buffer = this.buffer;\n\n          if (this.buffer) {\n            this.destination.next(buffer);\n          }\n\n          this.buffer = [];\n          var closingNotifier;\n\n          try {\n            var closingSelector = this.closingSelector;\n            closingNotifier = closingSelector();\n          } catch (err) {\n            return this.error(err);\n          }\n\n          closingSubscription = new _Subscription__WEBPACK_IMPORTED_MODULE_0__[\"Subscription\"]();\n          this.closingSubscription = closingSubscription;\n          this.add(closingSubscription);\n          this.subscribing = true;\n          closingSubscription.add(Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_2__[\"subscribeToResult\"])(this, closingNotifier));\n          this.subscribing = false;\n        }\n      }]);\n\n      return BufferWhenSubscriber;\n    }(_OuterSubscriber__WEBPACK_IMPORTED_MODULE_1__[\"OuterSubscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/catchError.js\":\n  /*!*********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/catchError.js ***!\n    \\*********************************************************************/\n\n  /*! exports provided: catchError */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsCatchErrorJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"catchError\", function () {\n      return catchError;\n    });\n    /* harmony import */\n\n\n    var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../OuterSubscriber */\n    \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n    /* harmony import */\n\n\n    var _InnerSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../InnerSubscriber */\n    \"./node_modules/rxjs/_esm2015/internal/InnerSubscriber.js\");\n    /* harmony import */\n\n\n    var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../util/subscribeToResult */\n    \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n    function catchError(selector) {\n      return function catchErrorOperatorFunction(source) {\n        var operator = new CatchOperator(selector);\n        var caught = source.lift(operator);\n        return operator.caught = caught;\n      };\n    }\n\n    var CatchOperator =\n    /*#__PURE__*/\n    function () {\n      function CatchOperator(selector) {\n        _classCallCheck(this, CatchOperator);\n\n        this.selector = selector;\n      }\n\n      _createClass2(CatchOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new CatchSubscriber(subscriber, this.selector, this.caught));\n        }\n      }]);\n\n      return CatchOperator;\n    }();\n\n    var CatchSubscriber =\n    /*#__PURE__*/\n    function (_OuterSubscriber__WEB9) {\n      _inherits(CatchSubscriber, _OuterSubscriber__WEB9);\n\n      function CatchSubscriber(destination, selector, caught) {\n        var _this729;\n\n        _classCallCheck(this, CatchSubscriber);\n\n        _this729 = _possibleConstructorReturn(this, _getPrototypeOf(CatchSubscriber).call(this, destination));\n        _this729.selector = selector;\n        _this729.caught = caught;\n        return _this729;\n      }\n\n      _createClass2(CatchSubscriber, [{\n        key: \"error\",\n        value: function error(err) {\n          if (!this.isStopped) {\n            var result;\n\n            try {\n              result = this.selector(err, this.caught);\n            } catch (err2) {\n              _get(_getPrototypeOf(CatchSubscriber.prototype), \"error\", this).call(this, err2);\n\n              return;\n            }\n\n            this._unsubscribeAndRecycle();\n\n            var innerSubscriber = new _InnerSubscriber__WEBPACK_IMPORTED_MODULE_1__[\"InnerSubscriber\"](this, undefined, undefined);\n            this.add(innerSubscriber);\n            Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_2__[\"subscribeToResult\"])(this, result, undefined, undefined, innerSubscriber);\n          }\n        }\n      }]);\n\n      return CatchSubscriber;\n    }(_OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__[\"OuterSubscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/combineAll.js\":\n  /*!*********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/combineAll.js ***!\n    \\*********************************************************************/\n\n  /*! exports provided: combineAll */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsCombineAllJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"combineAll\", function () {\n      return combineAll;\n    });\n    /* harmony import */\n\n\n    var _observable_combineLatest__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../observable/combineLatest */\n    \"./node_modules/rxjs/_esm2015/internal/observable/combineLatest.js\");\n\n    function combineAll(project) {\n      return function (source) {\n        return source.lift(new _observable_combineLatest__WEBPACK_IMPORTED_MODULE_0__[\"CombineLatestOperator\"](project));\n      };\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/combineLatest.js\":\n  /*!************************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/combineLatest.js ***!\n    \\************************************************************************/\n\n  /*! exports provided: combineLatest */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsCombineLatestJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"combineLatest\", function () {\n      return combineLatest;\n    });\n    /* harmony import */\n\n\n    var _util_isArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../util/isArray */\n    \"./node_modules/rxjs/_esm2015/internal/util/isArray.js\");\n    /* harmony import */\n\n\n    var _observable_combineLatest__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../observable/combineLatest */\n    \"./node_modules/rxjs/_esm2015/internal/observable/combineLatest.js\");\n    /* harmony import */\n\n\n    var _observable_from__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../observable/from */\n    \"./node_modules/rxjs/_esm2015/internal/observable/from.js\");\n\n    var none = {};\n\n    function combineLatest() {\n      for (var _len55 = arguments.length, observables = new Array(_len55), _key55 = 0; _key55 < _len55; _key55++) {\n        observables[_key55] = arguments[_key55];\n      }\n\n      var project = null;\n\n      if (typeof observables[observables.length - 1] === 'function') {\n        project = observables.pop();\n      }\n\n      if (observables.length === 1 && Object(_util_isArray__WEBPACK_IMPORTED_MODULE_0__[\"isArray\"])(observables[0])) {\n        observables = observables[0].slice();\n      }\n\n      return function (source) {\n        return source.lift.call(Object(_observable_from__WEBPACK_IMPORTED_MODULE_2__[\"from\"])([source].concat(_toConsumableArray(observables))), new _observable_combineLatest__WEBPACK_IMPORTED_MODULE_1__[\"CombineLatestOperator\"](project));\n      };\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/concat.js\":\n  /*!*****************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/concat.js ***!\n    \\*****************************************************************/\n\n  /*! exports provided: concat */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsConcatJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"concat\", function () {\n      return concat;\n    });\n    /* harmony import */\n\n\n    var _observable_concat__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../observable/concat */\n    \"./node_modules/rxjs/_esm2015/internal/observable/concat.js\");\n\n    function concat() {\n      for (var _len56 = arguments.length, observables = new Array(_len56), _key56 = 0; _key56 < _len56; _key56++) {\n        observables[_key56] = arguments[_key56];\n      }\n\n      return function (source) {\n        return source.lift.call(Object(_observable_concat__WEBPACK_IMPORTED_MODULE_0__[\"concat\"]).apply(void 0, [source].concat(observables)));\n      };\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/concatAll.js\":\n  /*!********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/concatAll.js ***!\n    \\********************************************************************/\n\n  /*! exports provided: concatAll */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsConcatAllJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"concatAll\", function () {\n      return concatAll;\n    });\n    /* harmony import */\n\n\n    var _mergeAll__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./mergeAll */\n    \"./node_modules/rxjs/_esm2015/internal/operators/mergeAll.js\");\n\n    function concatAll() {\n      return Object(_mergeAll__WEBPACK_IMPORTED_MODULE_0__[\"mergeAll\"])(1);\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/concatMap.js\":\n  /*!********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/concatMap.js ***!\n    \\********************************************************************/\n\n  /*! exports provided: concatMap */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsConcatMapJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"concatMap\", function () {\n      return concatMap;\n    });\n    /* harmony import */\n\n\n    var _mergeMap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./mergeMap */\n    \"./node_modules/rxjs/_esm2015/internal/operators/mergeMap.js\");\n\n    function concatMap(project, resultSelector) {\n      return Object(_mergeMap__WEBPACK_IMPORTED_MODULE_0__[\"mergeMap\"])(project, resultSelector, 1);\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/concatMapTo.js\":\n  /*!**********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/concatMapTo.js ***!\n    \\**********************************************************************/\n\n  /*! exports provided: concatMapTo */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsConcatMapToJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"concatMapTo\", function () {\n      return concatMapTo;\n    });\n    /* harmony import */\n\n\n    var _concatMap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./concatMap */\n    \"./node_modules/rxjs/_esm2015/internal/operators/concatMap.js\");\n\n    function concatMapTo(innerObservable, resultSelector) {\n      return Object(_concatMap__WEBPACK_IMPORTED_MODULE_0__[\"concatMap\"])(function () {\n        return innerObservable;\n      }, resultSelector);\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/count.js\":\n  /*!****************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/count.js ***!\n    \\****************************************************************/\n\n  /*! exports provided: count */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsCountJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"count\", function () {\n      return count;\n    });\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\n    function count(predicate) {\n      return function (source) {\n        return source.lift(new CountOperator(predicate, source));\n      };\n    }\n\n    var CountOperator =\n    /*#__PURE__*/\n    function () {\n      function CountOperator(predicate, source) {\n        _classCallCheck(this, CountOperator);\n\n        this.predicate = predicate;\n        this.source = source;\n      }\n\n      _createClass2(CountOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new CountSubscriber(subscriber, this.predicate, this.source));\n        }\n      }]);\n\n      return CountOperator;\n    }();\n\n    var CountSubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_9) {\n      _inherits(CountSubscriber, _Subscriber__WEBPACK_9);\n\n      function CountSubscriber(destination, predicate, source) {\n        var _this730;\n\n        _classCallCheck(this, CountSubscriber);\n\n        _this730 = _possibleConstructorReturn(this, _getPrototypeOf(CountSubscriber).call(this, destination));\n        _this730.predicate = predicate;\n        _this730.source = source;\n        _this730.count = 0;\n        _this730.index = 0;\n        return _this730;\n      }\n\n      _createClass2(CountSubscriber, [{\n        key: \"_next\",\n        value: function _next(value) {\n          if (this.predicate) {\n            this._tryPredicate(value);\n          } else {\n            this.count++;\n          }\n        }\n      }, {\n        key: \"_tryPredicate\",\n        value: function _tryPredicate(value) {\n          var result;\n\n          try {\n            result = this.predicate(value, this.index++, this.source);\n          } catch (err) {\n            this.destination.error(err);\n            return;\n          }\n\n          if (result) {\n            this.count++;\n          }\n        }\n      }, {\n        key: \"_complete\",\n        value: function _complete() {\n          this.destination.next(this.count);\n          this.destination.complete();\n        }\n      }]);\n\n      return CountSubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/debounce.js\":\n  /*!*******************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/debounce.js ***!\n    \\*******************************************************************/\n\n  /*! exports provided: debounce */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsDebounceJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"debounce\", function () {\n      return debounce;\n    });\n    /* harmony import */\n\n\n    var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../OuterSubscriber */\n    \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n    /* harmony import */\n\n\n    var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../util/subscribeToResult */\n    \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n    function debounce(durationSelector) {\n      return function (source) {\n        return source.lift(new DebounceOperator(durationSelector));\n      };\n    }\n\n    var DebounceOperator =\n    /*#__PURE__*/\n    function () {\n      function DebounceOperator(durationSelector) {\n        _classCallCheck(this, DebounceOperator);\n\n        this.durationSelector = durationSelector;\n      }\n\n      _createClass2(DebounceOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new DebounceSubscriber(subscriber, this.durationSelector));\n        }\n      }]);\n\n      return DebounceOperator;\n    }();\n\n    var DebounceSubscriber =\n    /*#__PURE__*/\n    function (_OuterSubscriber__WEB10) {\n      _inherits(DebounceSubscriber, _OuterSubscriber__WEB10);\n\n      function DebounceSubscriber(destination, durationSelector) {\n        var _this731;\n\n        _classCallCheck(this, DebounceSubscriber);\n\n        _this731 = _possibleConstructorReturn(this, _getPrototypeOf(DebounceSubscriber).call(this, destination));\n        _this731.durationSelector = durationSelector;\n        _this731.hasValue = false;\n        _this731.durationSubscription = null;\n        return _this731;\n      }\n\n      _createClass2(DebounceSubscriber, [{\n        key: \"_next\",\n        value: function _next(value) {\n          try {\n            var result = this.durationSelector.call(this, value);\n\n            if (result) {\n              this._tryNext(value, result);\n            }\n          } catch (err) {\n            this.destination.error(err);\n          }\n        }\n      }, {\n        key: \"_complete\",\n        value: function _complete() {\n          this.emitValue();\n          this.destination.complete();\n        }\n      }, {\n        key: \"_tryNext\",\n        value: function _tryNext(value, duration) {\n          var subscription = this.durationSubscription;\n          this.value = value;\n          this.hasValue = true;\n\n          if (subscription) {\n            subscription.unsubscribe();\n            this.remove(subscription);\n          }\n\n          subscription = Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__[\"subscribeToResult\"])(this, duration);\n\n          if (subscription && !subscription.closed) {\n            this.add(this.durationSubscription = subscription);\n          }\n        }\n      }, {\n        key: \"notifyNext\",\n        value: function notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n          this.emitValue();\n        }\n      }, {\n        key: \"notifyComplete\",\n        value: function notifyComplete() {\n          this.emitValue();\n        }\n      }, {\n        key: \"emitValue\",\n        value: function emitValue() {\n          if (this.hasValue) {\n            var value = this.value;\n            var subscription = this.durationSubscription;\n\n            if (subscription) {\n              this.durationSubscription = null;\n              subscription.unsubscribe();\n              this.remove(subscription);\n            }\n\n            this.value = null;\n            this.hasValue = false;\n\n            _get(_getPrototypeOf(DebounceSubscriber.prototype), \"_next\", this).call(this, value);\n          }\n        }\n      }]);\n\n      return DebounceSubscriber;\n    }(_OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__[\"OuterSubscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/debounceTime.js\":\n  /*!***********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/debounceTime.js ***!\n    \\***********************************************************************/\n\n  /*! exports provided: debounceTime */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsDebounceTimeJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"debounceTime\", function () {\n      return debounceTime;\n    });\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n    /* harmony import */\n\n\n    var _scheduler_async__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../scheduler/async */\n    \"./node_modules/rxjs/_esm2015/internal/scheduler/async.js\");\n\n    function debounceTime(dueTime) {\n      var scheduler = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _scheduler_async__WEBPACK_IMPORTED_MODULE_1__[\"async\"];\n      return function (source) {\n        return source.lift(new DebounceTimeOperator(dueTime, scheduler));\n      };\n    }\n\n    var DebounceTimeOperator =\n    /*#__PURE__*/\n    function () {\n      function DebounceTimeOperator(dueTime, scheduler) {\n        _classCallCheck(this, DebounceTimeOperator);\n\n        this.dueTime = dueTime;\n        this.scheduler = scheduler;\n      }\n\n      _createClass2(DebounceTimeOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new DebounceTimeSubscriber(subscriber, this.dueTime, this.scheduler));\n        }\n      }]);\n\n      return DebounceTimeOperator;\n    }();\n\n    var DebounceTimeSubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_10) {\n      _inherits(DebounceTimeSubscriber, _Subscriber__WEBPACK_10);\n\n      function DebounceTimeSubscriber(destination, dueTime, scheduler) {\n        var _this732;\n\n        _classCallCheck(this, DebounceTimeSubscriber);\n\n        _this732 = _possibleConstructorReturn(this, _getPrototypeOf(DebounceTimeSubscriber).call(this, destination));\n        _this732.dueTime = dueTime;\n        _this732.scheduler = scheduler;\n        _this732.debouncedSubscription = null;\n        _this732.lastValue = null;\n        _this732.hasValue = false;\n        return _this732;\n      }\n\n      _createClass2(DebounceTimeSubscriber, [{\n        key: \"_next\",\n        value: function _next(value) {\n          this.clearDebounce();\n          this.lastValue = value;\n          this.hasValue = true;\n          this.add(this.debouncedSubscription = this.scheduler.schedule(dispatchNext, this.dueTime, this));\n        }\n      }, {\n        key: \"_complete\",\n        value: function _complete() {\n          this.debouncedNext();\n          this.destination.complete();\n        }\n      }, {\n        key: \"debouncedNext\",\n        value: function debouncedNext() {\n          this.clearDebounce();\n\n          if (this.hasValue) {\n            var lastValue = this.lastValue;\n            this.lastValue = null;\n            this.hasValue = false;\n            this.destination.next(lastValue);\n          }\n        }\n      }, {\n        key: \"clearDebounce\",\n        value: function clearDebounce() {\n          var debouncedSubscription = this.debouncedSubscription;\n\n          if (debouncedSubscription !== null) {\n            this.remove(debouncedSubscription);\n            debouncedSubscription.unsubscribe();\n            this.debouncedSubscription = null;\n          }\n        }\n      }]);\n\n      return DebounceTimeSubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]);\n\n    function dispatchNext(subscriber) {\n      subscriber.debouncedNext();\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/defaultIfEmpty.js\":\n  /*!*************************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/defaultIfEmpty.js ***!\n    \\*************************************************************************/\n\n  /*! exports provided: defaultIfEmpty */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsDefaultIfEmptyJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"defaultIfEmpty\", function () {\n      return defaultIfEmpty;\n    });\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\n    function defaultIfEmpty() {\n      var defaultValue = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n      return function (source) {\n        return source.lift(new DefaultIfEmptyOperator(defaultValue));\n      };\n    }\n\n    var DefaultIfEmptyOperator =\n    /*#__PURE__*/\n    function () {\n      function DefaultIfEmptyOperator(defaultValue) {\n        _classCallCheck(this, DefaultIfEmptyOperator);\n\n        this.defaultValue = defaultValue;\n      }\n\n      _createClass2(DefaultIfEmptyOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new DefaultIfEmptySubscriber(subscriber, this.defaultValue));\n        }\n      }]);\n\n      return DefaultIfEmptyOperator;\n    }();\n\n    var DefaultIfEmptySubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_11) {\n      _inherits(DefaultIfEmptySubscriber, _Subscriber__WEBPACK_11);\n\n      function DefaultIfEmptySubscriber(destination, defaultValue) {\n        var _this733;\n\n        _classCallCheck(this, DefaultIfEmptySubscriber);\n\n        _this733 = _possibleConstructorReturn(this, _getPrototypeOf(DefaultIfEmptySubscriber).call(this, destination));\n        _this733.defaultValue = defaultValue;\n        _this733.isEmpty = true;\n        return _this733;\n      }\n\n      _createClass2(DefaultIfEmptySubscriber, [{\n        key: \"_next\",\n        value: function _next(value) {\n          this.isEmpty = false;\n          this.destination.next(value);\n        }\n      }, {\n        key: \"_complete\",\n        value: function _complete() {\n          if (this.isEmpty) {\n            this.destination.next(this.defaultValue);\n          }\n\n          this.destination.complete();\n        }\n      }]);\n\n      return DefaultIfEmptySubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/delay.js\":\n  /*!****************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/delay.js ***!\n    \\****************************************************************/\n\n  /*! exports provided: delay */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsDelayJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"delay\", function () {\n      return delay;\n    });\n    /* harmony import */\n\n\n    var _scheduler_async__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../scheduler/async */\n    \"./node_modules/rxjs/_esm2015/internal/scheduler/async.js\");\n    /* harmony import */\n\n\n    var _util_isDate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../util/isDate */\n    \"./node_modules/rxjs/_esm2015/internal/util/isDate.js\");\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n    /* harmony import */\n\n\n    var _Notification__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ../Notification */\n    \"./node_modules/rxjs/_esm2015/internal/Notification.js\");\n\n    function delay(delay) {\n      var scheduler = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _scheduler_async__WEBPACK_IMPORTED_MODULE_0__[\"async\"];\n      var absoluteDelay = Object(_util_isDate__WEBPACK_IMPORTED_MODULE_1__[\"isDate\"])(delay);\n      var delayFor = absoluteDelay ? +delay - scheduler.now() : Math.abs(delay);\n      return function (source) {\n        return source.lift(new DelayOperator(delayFor, scheduler));\n      };\n    }\n\n    var DelayOperator =\n    /*#__PURE__*/\n    function () {\n      function DelayOperator(delay, scheduler) {\n        _classCallCheck(this, DelayOperator);\n\n        this.delay = delay;\n        this.scheduler = scheduler;\n      }\n\n      _createClass2(DelayOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new DelaySubscriber(subscriber, this.delay, this.scheduler));\n        }\n      }]);\n\n      return DelayOperator;\n    }();\n\n    var DelaySubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_12) {\n      _inherits(DelaySubscriber, _Subscriber__WEBPACK_12);\n\n      function DelaySubscriber(destination, delay, scheduler) {\n        var _this734;\n\n        _classCallCheck(this, DelaySubscriber);\n\n        _this734 = _possibleConstructorReturn(this, _getPrototypeOf(DelaySubscriber).call(this, destination));\n        _this734.delay = delay;\n        _this734.scheduler = scheduler;\n        _this734.queue = [];\n        _this734.active = false;\n        _this734.errored = false;\n        return _this734;\n      }\n\n      _createClass2(DelaySubscriber, [{\n        key: \"_schedule\",\n        value: function _schedule(scheduler) {\n          this.active = true;\n          var destination = this.destination;\n          destination.add(scheduler.schedule(DelaySubscriber.dispatch, this.delay, {\n            source: this,\n            destination: this.destination,\n            scheduler: scheduler\n          }));\n        }\n      }, {\n        key: \"scheduleNotification\",\n        value: function scheduleNotification(notification) {\n          if (this.errored === true) {\n            return;\n          }\n\n          var scheduler = this.scheduler;\n          var message = new DelayMessage(scheduler.now() + this.delay, notification);\n          this.queue.push(message);\n\n          if (this.active === false) {\n            this._schedule(scheduler);\n          }\n        }\n      }, {\n        key: \"_next\",\n        value: function _next(value) {\n          this.scheduleNotification(_Notification__WEBPACK_IMPORTED_MODULE_3__[\"Notification\"].createNext(value));\n        }\n      }, {\n        key: \"_error\",\n        value: function _error(err) {\n          this.errored = true;\n          this.queue = [];\n          this.destination.error(err);\n          this.unsubscribe();\n        }\n      }, {\n        key: \"_complete\",\n        value: function _complete() {\n          this.scheduleNotification(_Notification__WEBPACK_IMPORTED_MODULE_3__[\"Notification\"].createComplete());\n          this.unsubscribe();\n        }\n      }], [{\n        key: \"dispatch\",\n        value: function dispatch(state) {\n          var source = state.source;\n          var queue = source.queue;\n          var scheduler = state.scheduler;\n          var destination = state.destination;\n\n          while (queue.length > 0 && queue[0].time - scheduler.now() <= 0) {\n            queue.shift().notification.observe(destination);\n          }\n\n          if (queue.length > 0) {\n            var _delay2 = Math.max(0, queue[0].time - scheduler.now());\n\n            this.schedule(state, _delay2);\n          } else {\n            this.unsubscribe();\n            source.active = false;\n          }\n        }\n      }]);\n\n      return DelaySubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_2__[\"Subscriber\"]);\n\n    var DelayMessage = function DelayMessage(time, notification) {\n      _classCallCheck(this, DelayMessage);\n\n      this.time = time;\n      this.notification = notification;\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/delayWhen.js\":\n  /*!********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/delayWhen.js ***!\n    \\********************************************************************/\n\n  /*! exports provided: delayWhen */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsDelayWhenJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"delayWhen\", function () {\n      return delayWhen;\n    });\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n    /* harmony import */\n\n\n    var _Observable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../Observable */\n    \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n    /* harmony import */\n\n\n    var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../OuterSubscriber */\n    \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n    /* harmony import */\n\n\n    var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ../util/subscribeToResult */\n    \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n    function delayWhen(delayDurationSelector, subscriptionDelay) {\n      if (subscriptionDelay) {\n        return function (source) {\n          return new SubscriptionDelayObservable(source, subscriptionDelay).lift(new DelayWhenOperator(delayDurationSelector));\n        };\n      }\n\n      return function (source) {\n        return source.lift(new DelayWhenOperator(delayDurationSelector));\n      };\n    }\n\n    var DelayWhenOperator =\n    /*#__PURE__*/\n    function () {\n      function DelayWhenOperator(delayDurationSelector) {\n        _classCallCheck(this, DelayWhenOperator);\n\n        this.delayDurationSelector = delayDurationSelector;\n      }\n\n      _createClass2(DelayWhenOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new DelayWhenSubscriber(subscriber, this.delayDurationSelector));\n        }\n      }]);\n\n      return DelayWhenOperator;\n    }();\n\n    var DelayWhenSubscriber =\n    /*#__PURE__*/\n    function (_OuterSubscriber__WEB11) {\n      _inherits(DelayWhenSubscriber, _OuterSubscriber__WEB11);\n\n      function DelayWhenSubscriber(destination, delayDurationSelector) {\n        var _this735;\n\n        _classCallCheck(this, DelayWhenSubscriber);\n\n        _this735 = _possibleConstructorReturn(this, _getPrototypeOf(DelayWhenSubscriber).call(this, destination));\n        _this735.delayDurationSelector = delayDurationSelector;\n        _this735.completed = false;\n        _this735.delayNotifierSubscriptions = [];\n        _this735.index = 0;\n        return _this735;\n      }\n\n      _createClass2(DelayWhenSubscriber, [{\n        key: \"notifyNext\",\n        value: function notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n          this.destination.next(outerValue);\n          this.removeSubscription(innerSub);\n          this.tryComplete();\n        }\n      }, {\n        key: \"notifyError\",\n        value: function notifyError(error, innerSub) {\n          this._error(error);\n        }\n      }, {\n        key: \"notifyComplete\",\n        value: function notifyComplete(innerSub) {\n          var value = this.removeSubscription(innerSub);\n\n          if (value) {\n            this.destination.next(value);\n          }\n\n          this.tryComplete();\n        }\n      }, {\n        key: \"_next\",\n        value: function _next(value) {\n          var index = this.index++;\n\n          try {\n            var delayNotifier = this.delayDurationSelector(value, index);\n\n            if (delayNotifier) {\n              this.tryDelay(delayNotifier, value);\n            }\n          } catch (err) {\n            this.destination.error(err);\n          }\n        }\n      }, {\n        key: \"_complete\",\n        value: function _complete() {\n          this.completed = true;\n          this.tryComplete();\n          this.unsubscribe();\n        }\n      }, {\n        key: \"removeSubscription\",\n        value: function removeSubscription(subscription) {\n          subscription.unsubscribe();\n          var subscriptionIdx = this.delayNotifierSubscriptions.indexOf(subscription);\n\n          if (subscriptionIdx !== -1) {\n            this.delayNotifierSubscriptions.splice(subscriptionIdx, 1);\n          }\n\n          return subscription.outerValue;\n        }\n      }, {\n        key: \"tryDelay\",\n        value: function tryDelay(delayNotifier, value) {\n          var notifierSubscription = Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_3__[\"subscribeToResult\"])(this, delayNotifier, value);\n\n          if (notifierSubscription && !notifierSubscription.closed) {\n            var destination = this.destination;\n            destination.add(notifierSubscription);\n            this.delayNotifierSubscriptions.push(notifierSubscription);\n          }\n        }\n      }, {\n        key: \"tryComplete\",\n        value: function tryComplete() {\n          if (this.completed && this.delayNotifierSubscriptions.length === 0) {\n            this.destination.complete();\n          }\n        }\n      }]);\n\n      return DelayWhenSubscriber;\n    }(_OuterSubscriber__WEBPACK_IMPORTED_MODULE_2__[\"OuterSubscriber\"]);\n\n    var SubscriptionDelayObservable =\n    /*#__PURE__*/\n    function (_Observable__WEBPACK_4) {\n      _inherits(SubscriptionDelayObservable, _Observable__WEBPACK_4);\n\n      function SubscriptionDelayObservable(source, subscriptionDelay) {\n        var _this736;\n\n        _classCallCheck(this, SubscriptionDelayObservable);\n\n        _this736 = _possibleConstructorReturn(this, _getPrototypeOf(SubscriptionDelayObservable).call(this));\n        _this736.source = source;\n        _this736.subscriptionDelay = subscriptionDelay;\n        return _this736;\n      }\n\n      _createClass2(SubscriptionDelayObservable, [{\n        key: \"_subscribe\",\n        value: function _subscribe(subscriber) {\n          this.subscriptionDelay.subscribe(new SubscriptionDelaySubscriber(subscriber, this.source));\n        }\n      }]);\n\n      return SubscriptionDelayObservable;\n    }(_Observable__WEBPACK_IMPORTED_MODULE_1__[\"Observable\"]);\n\n    var SubscriptionDelaySubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_13) {\n      _inherits(SubscriptionDelaySubscriber, _Subscriber__WEBPACK_13);\n\n      function SubscriptionDelaySubscriber(parent, source) {\n        var _this737;\n\n        _classCallCheck(this, SubscriptionDelaySubscriber);\n\n        _this737 = _possibleConstructorReturn(this, _getPrototypeOf(SubscriptionDelaySubscriber).call(this));\n        _this737.parent = parent;\n        _this737.source = source;\n        _this737.sourceSubscribed = false;\n        return _this737;\n      }\n\n      _createClass2(SubscriptionDelaySubscriber, [{\n        key: \"_next\",\n        value: function _next(unused) {\n          this.subscribeToSource();\n        }\n      }, {\n        key: \"_error\",\n        value: function _error(err) {\n          this.unsubscribe();\n          this.parent.error(err);\n        }\n      }, {\n        key: \"_complete\",\n        value: function _complete() {\n          this.unsubscribe();\n          this.subscribeToSource();\n        }\n      }, {\n        key: \"subscribeToSource\",\n        value: function subscribeToSource() {\n          if (!this.sourceSubscribed) {\n            this.sourceSubscribed = true;\n            this.unsubscribe();\n            this.source.subscribe(this.parent);\n          }\n        }\n      }]);\n\n      return SubscriptionDelaySubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/dematerialize.js\":\n  /*!************************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/dematerialize.js ***!\n    \\************************************************************************/\n\n  /*! exports provided: dematerialize */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsDematerializeJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"dematerialize\", function () {\n      return dematerialize;\n    });\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\n    function dematerialize() {\n      return function dematerializeOperatorFunction(source) {\n        return source.lift(new DeMaterializeOperator());\n      };\n    }\n\n    var DeMaterializeOperator =\n    /*#__PURE__*/\n    function () {\n      function DeMaterializeOperator() {\n        _classCallCheck(this, DeMaterializeOperator);\n      }\n\n      _createClass2(DeMaterializeOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new DeMaterializeSubscriber(subscriber));\n        }\n      }]);\n\n      return DeMaterializeOperator;\n    }();\n\n    var DeMaterializeSubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_14) {\n      _inherits(DeMaterializeSubscriber, _Subscriber__WEBPACK_14);\n\n      function DeMaterializeSubscriber(destination) {\n        _classCallCheck(this, DeMaterializeSubscriber);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(DeMaterializeSubscriber).call(this, destination));\n      }\n\n      _createClass2(DeMaterializeSubscriber, [{\n        key: \"_next\",\n        value: function _next(value) {\n          value.observe(this.destination);\n        }\n      }]);\n\n      return DeMaterializeSubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/distinct.js\":\n  /*!*******************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/distinct.js ***!\n    \\*******************************************************************/\n\n  /*! exports provided: distinct, DistinctSubscriber */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsDistinctJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"distinct\", function () {\n      return distinct;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"DistinctSubscriber\", function () {\n      return DistinctSubscriber;\n    });\n    /* harmony import */\n\n\n    var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../OuterSubscriber */\n    \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n    /* harmony import */\n\n\n    var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../util/subscribeToResult */\n    \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n    function distinct(keySelector, flushes) {\n      return function (source) {\n        return source.lift(new DistinctOperator(keySelector, flushes));\n      };\n    }\n\n    var DistinctOperator =\n    /*#__PURE__*/\n    function () {\n      function DistinctOperator(keySelector, flushes) {\n        _classCallCheck(this, DistinctOperator);\n\n        this.keySelector = keySelector;\n        this.flushes = flushes;\n      }\n\n      _createClass2(DistinctOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new DistinctSubscriber(subscriber, this.keySelector, this.flushes));\n        }\n      }]);\n\n      return DistinctOperator;\n    }();\n\n    var DistinctSubscriber =\n    /*#__PURE__*/\n    function (_OuterSubscriber__WEB12) {\n      _inherits(DistinctSubscriber, _OuterSubscriber__WEB12);\n\n      function DistinctSubscriber(destination, keySelector, flushes) {\n        var _this738;\n\n        _classCallCheck(this, DistinctSubscriber);\n\n        _this738 = _possibleConstructorReturn(this, _getPrototypeOf(DistinctSubscriber).call(this, destination));\n        _this738.keySelector = keySelector;\n        _this738.values = new Set();\n\n        if (flushes) {\n          _this738.add(Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__[\"subscribeToResult\"])(_assertThisInitialized(_this738), flushes));\n        }\n\n        return _this738;\n      }\n\n      _createClass2(DistinctSubscriber, [{\n        key: \"notifyNext\",\n        value: function notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n          this.values.clear();\n        }\n      }, {\n        key: \"notifyError\",\n        value: function notifyError(error, innerSub) {\n          this._error(error);\n        }\n      }, {\n        key: \"_next\",\n        value: function _next(value) {\n          if (this.keySelector) {\n            this._useKeySelector(value);\n          } else {\n            this._finalizeNext(value, value);\n          }\n        }\n      }, {\n        key: \"_useKeySelector\",\n        value: function _useKeySelector(value) {\n          var key;\n          var destination = this.destination;\n\n          try {\n            key = this.keySelector(value);\n          } catch (err) {\n            destination.error(err);\n            return;\n          }\n\n          this._finalizeNext(key, value);\n        }\n      }, {\n        key: \"_finalizeNext\",\n        value: function _finalizeNext(key, value) {\n          var values = this.values;\n\n          if (!values.has(key)) {\n            values.add(key);\n            this.destination.next(value);\n          }\n        }\n      }]);\n\n      return DistinctSubscriber;\n    }(_OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__[\"OuterSubscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/distinctUntilChanged.js\":\n  /*!*******************************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/distinctUntilChanged.js ***!\n    \\*******************************************************************************/\n\n  /*! exports provided: distinctUntilChanged */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsDistinctUntilChangedJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"distinctUntilChanged\", function () {\n      return distinctUntilChanged;\n    });\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\n    function distinctUntilChanged(compare, keySelector) {\n      return function (source) {\n        return source.lift(new DistinctUntilChangedOperator(compare, keySelector));\n      };\n    }\n\n    var DistinctUntilChangedOperator =\n    /*#__PURE__*/\n    function () {\n      function DistinctUntilChangedOperator(compare, keySelector) {\n        _classCallCheck(this, DistinctUntilChangedOperator);\n\n        this.compare = compare;\n        this.keySelector = keySelector;\n      }\n\n      _createClass2(DistinctUntilChangedOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new DistinctUntilChangedSubscriber(subscriber, this.compare, this.keySelector));\n        }\n      }]);\n\n      return DistinctUntilChangedOperator;\n    }();\n\n    var DistinctUntilChangedSubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_15) {\n      _inherits(DistinctUntilChangedSubscriber, _Subscriber__WEBPACK_15);\n\n      function DistinctUntilChangedSubscriber(destination, compare, keySelector) {\n        var _this739;\n\n        _classCallCheck(this, DistinctUntilChangedSubscriber);\n\n        _this739 = _possibleConstructorReturn(this, _getPrototypeOf(DistinctUntilChangedSubscriber).call(this, destination));\n        _this739.keySelector = keySelector;\n        _this739.hasKey = false;\n\n        if (typeof compare === 'function') {\n          _this739.compare = compare;\n        }\n\n        return _this739;\n      }\n\n      _createClass2(DistinctUntilChangedSubscriber, [{\n        key: \"compare\",\n        value: function compare(x, y) {\n          return x === y;\n        }\n      }, {\n        key: \"_next\",\n        value: function _next(value) {\n          var key;\n\n          try {\n            var keySelector = this.keySelector;\n            key = keySelector ? keySelector(value) : value;\n          } catch (err) {\n            return this.destination.error(err);\n          }\n\n          var result = false;\n\n          if (this.hasKey) {\n            try {\n              var compare = this.compare;\n              result = compare(this.key, key);\n            } catch (err) {\n              return this.destination.error(err);\n            }\n          } else {\n            this.hasKey = true;\n          }\n\n          if (!result) {\n            this.key = key;\n            this.destination.next(value);\n          }\n        }\n      }]);\n\n      return DistinctUntilChangedSubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/distinctUntilKeyChanged.js\":\n  /*!**********************************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/distinctUntilKeyChanged.js ***!\n    \\**********************************************************************************/\n\n  /*! exports provided: distinctUntilKeyChanged */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsDistinctUntilKeyChangedJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"distinctUntilKeyChanged\", function () {\n      return distinctUntilKeyChanged;\n    });\n    /* harmony import */\n\n\n    var _distinctUntilChanged__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./distinctUntilChanged */\n    \"./node_modules/rxjs/_esm2015/internal/operators/distinctUntilChanged.js\");\n\n    function distinctUntilKeyChanged(key, compare) {\n      return Object(_distinctUntilChanged__WEBPACK_IMPORTED_MODULE_0__[\"distinctUntilChanged\"])(function (x, y) {\n        return compare ? compare(x[key], y[key]) : x[key] === y[key];\n      });\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/elementAt.js\":\n  /*!********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/elementAt.js ***!\n    \\********************************************************************/\n\n  /*! exports provided: elementAt */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsElementAtJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"elementAt\", function () {\n      return elementAt;\n    });\n    /* harmony import */\n\n\n    var _util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../util/ArgumentOutOfRangeError */\n    \"./node_modules/rxjs/_esm2015/internal/util/ArgumentOutOfRangeError.js\");\n    /* harmony import */\n\n\n    var _filter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ./filter */\n    \"./node_modules/rxjs/_esm2015/internal/operators/filter.js\");\n    /* harmony import */\n\n\n    var _throwIfEmpty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ./throwIfEmpty */\n    \"./node_modules/rxjs/_esm2015/internal/operators/throwIfEmpty.js\");\n    /* harmony import */\n\n\n    var _defaultIfEmpty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ./defaultIfEmpty */\n    \"./node_modules/rxjs/_esm2015/internal/operators/defaultIfEmpty.js\");\n    /* harmony import */\n\n\n    var _take__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! ./take */\n    \"./node_modules/rxjs/_esm2015/internal/operators/take.js\");\n\n    function elementAt(index, defaultValue) {\n      if (index < 0) {\n        throw new _util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_0__[\"ArgumentOutOfRangeError\"]();\n      }\n\n      var hasDefaultValue = arguments.length >= 2;\n      return function (source) {\n        return source.pipe(Object(_filter__WEBPACK_IMPORTED_MODULE_1__[\"filter\"])(function (v, i) {\n          return i === index;\n        }), Object(_take__WEBPACK_IMPORTED_MODULE_4__[\"take\"])(1), hasDefaultValue ? Object(_defaultIfEmpty__WEBPACK_IMPORTED_MODULE_3__[\"defaultIfEmpty\"])(defaultValue) : Object(_throwIfEmpty__WEBPACK_IMPORTED_MODULE_2__[\"throwIfEmpty\"])(function () {\n          return new _util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_0__[\"ArgumentOutOfRangeError\"]();\n        }));\n      };\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/endWith.js\":\n  /*!******************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/endWith.js ***!\n    \\******************************************************************/\n\n  /*! exports provided: endWith */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsEndWithJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"endWith\", function () {\n      return endWith;\n    });\n    /* harmony import */\n\n\n    var _observable_fromArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../observable/fromArray */\n    \"./node_modules/rxjs/_esm2015/internal/observable/fromArray.js\");\n    /* harmony import */\n\n\n    var _observable_scalar__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../observable/scalar */\n    \"./node_modules/rxjs/_esm2015/internal/observable/scalar.js\");\n    /* harmony import */\n\n\n    var _observable_empty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../observable/empty */\n    \"./node_modules/rxjs/_esm2015/internal/observable/empty.js\");\n    /* harmony import */\n\n\n    var _observable_concat__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ../observable/concat */\n    \"./node_modules/rxjs/_esm2015/internal/observable/concat.js\");\n    /* harmony import */\n\n\n    var _util_isScheduler__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! ../util/isScheduler */\n    \"./node_modules/rxjs/_esm2015/internal/util/isScheduler.js\");\n\n    function endWith() {\n      for (var _len57 = arguments.length, array = new Array(_len57), _key57 = 0; _key57 < _len57; _key57++) {\n        array[_key57] = arguments[_key57];\n      }\n\n      return function (source) {\n        var scheduler = array[array.length - 1];\n\n        if (Object(_util_isScheduler__WEBPACK_IMPORTED_MODULE_4__[\"isScheduler\"])(scheduler)) {\n          array.pop();\n        } else {\n          scheduler = null;\n        }\n\n        var len = array.length;\n\n        if (len === 1 && !scheduler) {\n          return Object(_observable_concat__WEBPACK_IMPORTED_MODULE_3__[\"concat\"])(source, Object(_observable_scalar__WEBPACK_IMPORTED_MODULE_1__[\"scalar\"])(array[0]));\n        } else if (len > 0) {\n          return Object(_observable_concat__WEBPACK_IMPORTED_MODULE_3__[\"concat\"])(source, Object(_observable_fromArray__WEBPACK_IMPORTED_MODULE_0__[\"fromArray\"])(array, scheduler));\n        } else {\n          return Object(_observable_concat__WEBPACK_IMPORTED_MODULE_3__[\"concat\"])(source, Object(_observable_empty__WEBPACK_IMPORTED_MODULE_2__[\"empty\"])(scheduler));\n        }\n      };\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/every.js\":\n  /*!****************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/every.js ***!\n    \\****************************************************************/\n\n  /*! exports provided: every */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsEveryJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"every\", function () {\n      return every;\n    });\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\n    function every(predicate, thisArg) {\n      return function (source) {\n        return source.lift(new EveryOperator(predicate, thisArg, source));\n      };\n    }\n\n    var EveryOperator =\n    /*#__PURE__*/\n    function () {\n      function EveryOperator(predicate, thisArg, source) {\n        _classCallCheck(this, EveryOperator);\n\n        this.predicate = predicate;\n        this.thisArg = thisArg;\n        this.source = source;\n      }\n\n      _createClass2(EveryOperator, [{\n        key: \"call\",\n        value: function call(observer, source) {\n          return source.subscribe(new EverySubscriber(observer, this.predicate, this.thisArg, this.source));\n        }\n      }]);\n\n      return EveryOperator;\n    }();\n\n    var EverySubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_16) {\n      _inherits(EverySubscriber, _Subscriber__WEBPACK_16);\n\n      function EverySubscriber(destination, predicate, thisArg, source) {\n        var _this740;\n\n        _classCallCheck(this, EverySubscriber);\n\n        _this740 = _possibleConstructorReturn(this, _getPrototypeOf(EverySubscriber).call(this, destination));\n        _this740.predicate = predicate;\n        _this740.thisArg = thisArg;\n        _this740.source = source;\n        _this740.index = 0;\n        _this740.thisArg = thisArg || _assertThisInitialized(_this740);\n        return _this740;\n      }\n\n      _createClass2(EverySubscriber, [{\n        key: \"notifyComplete\",\n        value: function notifyComplete(everyValueMatch) {\n          this.destination.next(everyValueMatch);\n          this.destination.complete();\n        }\n      }, {\n        key: \"_next\",\n        value: function _next(value) {\n          var result = false;\n\n          try {\n            result = this.predicate.call(this.thisArg, value, this.index++, this.source);\n          } catch (err) {\n            this.destination.error(err);\n            return;\n          }\n\n          if (!result) {\n            this.notifyComplete(false);\n          }\n        }\n      }, {\n        key: \"_complete\",\n        value: function _complete() {\n          this.notifyComplete(true);\n        }\n      }]);\n\n      return EverySubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/exhaust.js\":\n  /*!******************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/exhaust.js ***!\n    \\******************************************************************/\n\n  /*! exports provided: exhaust */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsExhaustJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"exhaust\", function () {\n      return exhaust;\n    });\n    /* harmony import */\n\n\n    var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../OuterSubscriber */\n    \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n    /* harmony import */\n\n\n    var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../util/subscribeToResult */\n    \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n    function exhaust() {\n      return function (source) {\n        return source.lift(new SwitchFirstOperator());\n      };\n    }\n\n    var SwitchFirstOperator =\n    /*#__PURE__*/\n    function () {\n      function SwitchFirstOperator() {\n        _classCallCheck(this, SwitchFirstOperator);\n      }\n\n      _createClass2(SwitchFirstOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new SwitchFirstSubscriber(subscriber));\n        }\n      }]);\n\n      return SwitchFirstOperator;\n    }();\n\n    var SwitchFirstSubscriber =\n    /*#__PURE__*/\n    function (_OuterSubscriber__WEB13) {\n      _inherits(SwitchFirstSubscriber, _OuterSubscriber__WEB13);\n\n      function SwitchFirstSubscriber(destination) {\n        var _this741;\n\n        _classCallCheck(this, SwitchFirstSubscriber);\n\n        _this741 = _possibleConstructorReturn(this, _getPrototypeOf(SwitchFirstSubscriber).call(this, destination));\n        _this741.hasCompleted = false;\n        _this741.hasSubscription = false;\n        return _this741;\n      }\n\n      _createClass2(SwitchFirstSubscriber, [{\n        key: \"_next\",\n        value: function _next(value) {\n          if (!this.hasSubscription) {\n            this.hasSubscription = true;\n            this.add(Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__[\"subscribeToResult\"])(this, value));\n          }\n        }\n      }, {\n        key: \"_complete\",\n        value: function _complete() {\n          this.hasCompleted = true;\n\n          if (!this.hasSubscription) {\n            this.destination.complete();\n          }\n        }\n      }, {\n        key: \"notifyComplete\",\n        value: function notifyComplete(innerSub) {\n          this.remove(innerSub);\n          this.hasSubscription = false;\n\n          if (this.hasCompleted) {\n            this.destination.complete();\n          }\n        }\n      }]);\n\n      return SwitchFirstSubscriber;\n    }(_OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__[\"OuterSubscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/exhaustMap.js\":\n  /*!*********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/exhaustMap.js ***!\n    \\*********************************************************************/\n\n  /*! exports provided: exhaustMap */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsExhaustMapJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"exhaustMap\", function () {\n      return exhaustMap;\n    });\n    /* harmony import */\n\n\n    var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../OuterSubscriber */\n    \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n    /* harmony import */\n\n\n    var _InnerSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../InnerSubscriber */\n    \"./node_modules/rxjs/_esm2015/internal/InnerSubscriber.js\");\n    /* harmony import */\n\n\n    var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../util/subscribeToResult */\n    \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n    /* harmony import */\n\n\n    var _map__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ./map */\n    \"./node_modules/rxjs/_esm2015/internal/operators/map.js\");\n    /* harmony import */\n\n\n    var _observable_from__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! ../observable/from */\n    \"./node_modules/rxjs/_esm2015/internal/observable/from.js\");\n\n    function exhaustMap(project, resultSelector) {\n      if (resultSelector) {\n        return function (source) {\n          return source.pipe(exhaustMap(function (a, i) {\n            return Object(_observable_from__WEBPACK_IMPORTED_MODULE_4__[\"from\"])(project(a, i)).pipe(Object(_map__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(function (b, ii) {\n              return resultSelector(a, b, i, ii);\n            }));\n          }));\n        };\n      }\n\n      return function (source) {\n        return source.lift(new ExhaustMapOperator(project));\n      };\n    }\n\n    var ExhaustMapOperator =\n    /*#__PURE__*/\n    function () {\n      function ExhaustMapOperator(project) {\n        _classCallCheck(this, ExhaustMapOperator);\n\n        this.project = project;\n      }\n\n      _createClass2(ExhaustMapOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new ExhaustMapSubscriber(subscriber, this.project));\n        }\n      }]);\n\n      return ExhaustMapOperator;\n    }();\n\n    var ExhaustMapSubscriber =\n    /*#__PURE__*/\n    function (_OuterSubscriber__WEB14) {\n      _inherits(ExhaustMapSubscriber, _OuterSubscriber__WEB14);\n\n      function ExhaustMapSubscriber(destination, project) {\n        var _this742;\n\n        _classCallCheck(this, ExhaustMapSubscriber);\n\n        _this742 = _possibleConstructorReturn(this, _getPrototypeOf(ExhaustMapSubscriber).call(this, destination));\n        _this742.project = project;\n        _this742.hasSubscription = false;\n        _this742.hasCompleted = false;\n        _this742.index = 0;\n        return _this742;\n      }\n\n      _createClass2(ExhaustMapSubscriber, [{\n        key: \"_next\",\n        value: function _next(value) {\n          if (!this.hasSubscription) {\n            this.tryNext(value);\n          }\n        }\n      }, {\n        key: \"tryNext\",\n        value: function tryNext(value) {\n          var result;\n          var index = this.index++;\n\n          try {\n            result = this.project(value, index);\n          } catch (err) {\n            this.destination.error(err);\n            return;\n          }\n\n          this.hasSubscription = true;\n\n          this._innerSub(result, value, index);\n        }\n      }, {\n        key: \"_innerSub\",\n        value: function _innerSub(result, value, index) {\n          var innerSubscriber = new _InnerSubscriber__WEBPACK_IMPORTED_MODULE_1__[\"InnerSubscriber\"](this, undefined, undefined);\n          var destination = this.destination;\n          destination.add(innerSubscriber);\n          Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_2__[\"subscribeToResult\"])(this, result, value, index, innerSubscriber);\n        }\n      }, {\n        key: \"_complete\",\n        value: function _complete() {\n          this.hasCompleted = true;\n\n          if (!this.hasSubscription) {\n            this.destination.complete();\n          }\n\n          this.unsubscribe();\n        }\n      }, {\n        key: \"notifyNext\",\n        value: function notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n          this.destination.next(innerValue);\n        }\n      }, {\n        key: \"notifyError\",\n        value: function notifyError(err) {\n          this.destination.error(err);\n        }\n      }, {\n        key: \"notifyComplete\",\n        value: function notifyComplete(innerSub) {\n          var destination = this.destination;\n          destination.remove(innerSub);\n          this.hasSubscription = false;\n\n          if (this.hasCompleted) {\n            this.destination.complete();\n          }\n        }\n      }]);\n\n      return ExhaustMapSubscriber;\n    }(_OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__[\"OuterSubscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/expand.js\":\n  /*!*****************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/expand.js ***!\n    \\*****************************************************************/\n\n  /*! exports provided: expand, ExpandOperator, ExpandSubscriber */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsExpandJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"expand\", function () {\n      return expand;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ExpandOperator\", function () {\n      return ExpandOperator;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ExpandSubscriber\", function () {\n      return ExpandSubscriber;\n    });\n    /* harmony import */\n\n\n    var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../OuterSubscriber */\n    \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n    /* harmony import */\n\n\n    var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../util/subscribeToResult */\n    \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n    function expand(project) {\n      var concurrent = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : Number.POSITIVE_INFINITY;\n      var scheduler = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : undefined;\n      concurrent = (concurrent || 0) < 1 ? Number.POSITIVE_INFINITY : concurrent;\n      return function (source) {\n        return source.lift(new ExpandOperator(project, concurrent, scheduler));\n      };\n    }\n\n    var ExpandOperator =\n    /*#__PURE__*/\n    function () {\n      function ExpandOperator(project, concurrent, scheduler) {\n        _classCallCheck(this, ExpandOperator);\n\n        this.project = project;\n        this.concurrent = concurrent;\n        this.scheduler = scheduler;\n      }\n\n      _createClass2(ExpandOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new ExpandSubscriber(subscriber, this.project, this.concurrent, this.scheduler));\n        }\n      }]);\n\n      return ExpandOperator;\n    }();\n\n    var ExpandSubscriber =\n    /*#__PURE__*/\n    function (_OuterSubscriber__WEB15) {\n      _inherits(ExpandSubscriber, _OuterSubscriber__WEB15);\n\n      function ExpandSubscriber(destination, project, concurrent, scheduler) {\n        var _this743;\n\n        _classCallCheck(this, ExpandSubscriber);\n\n        _this743 = _possibleConstructorReturn(this, _getPrototypeOf(ExpandSubscriber).call(this, destination));\n        _this743.project = project;\n        _this743.concurrent = concurrent;\n        _this743.scheduler = scheduler;\n        _this743.index = 0;\n        _this743.active = 0;\n        _this743.hasCompleted = false;\n\n        if (concurrent < Number.POSITIVE_INFINITY) {\n          _this743.buffer = [];\n        }\n\n        return _this743;\n      }\n\n      _createClass2(ExpandSubscriber, [{\n        key: \"_next\",\n        value: function _next(value) {\n          var destination = this.destination;\n\n          if (destination.closed) {\n            this._complete();\n\n            return;\n          }\n\n          var index = this.index++;\n\n          if (this.active < this.concurrent) {\n            destination.next(value);\n\n            try {\n              var project = this.project;\n              var result = project(value, index);\n\n              if (!this.scheduler) {\n                this.subscribeToProjection(result, value, index);\n              } else {\n                var state = {\n                  subscriber: this,\n                  result: result,\n                  value: value,\n                  index: index\n                };\n                var _destination = this.destination;\n\n                _destination.add(this.scheduler.schedule(ExpandSubscriber.dispatch, 0, state));\n              }\n            } catch (e) {\n              destination.error(e);\n            }\n          } else {\n            this.buffer.push(value);\n          }\n        }\n      }, {\n        key: \"subscribeToProjection\",\n        value: function subscribeToProjection(result, value, index) {\n          this.active++;\n          var destination = this.destination;\n          destination.add(Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__[\"subscribeToResult\"])(this, result, value, index));\n        }\n      }, {\n        key: \"_complete\",\n        value: function _complete() {\n          this.hasCompleted = true;\n\n          if (this.hasCompleted && this.active === 0) {\n            this.destination.complete();\n          }\n\n          this.unsubscribe();\n        }\n      }, {\n        key: \"notifyNext\",\n        value: function notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n          this._next(innerValue);\n        }\n      }, {\n        key: \"notifyComplete\",\n        value: function notifyComplete(innerSub) {\n          var buffer = this.buffer;\n          var destination = this.destination;\n          destination.remove(innerSub);\n          this.active--;\n\n          if (buffer && buffer.length > 0) {\n            this._next(buffer.shift());\n          }\n\n          if (this.hasCompleted && this.active === 0) {\n            this.destination.complete();\n          }\n        }\n      }], [{\n        key: \"dispatch\",\n        value: function dispatch(arg) {\n          var subscriber = arg.subscriber,\n              result = arg.result,\n              value = arg.value,\n              index = arg.index;\n          subscriber.subscribeToProjection(result, value, index);\n        }\n      }]);\n\n      return ExpandSubscriber;\n    }(_OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__[\"OuterSubscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/filter.js\":\n  /*!*****************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/filter.js ***!\n    \\*****************************************************************/\n\n  /*! exports provided: filter */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsFilterJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"filter\", function () {\n      return filter;\n    });\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\n    function filter(predicate, thisArg) {\n      return function filterOperatorFunction(source) {\n        return source.lift(new FilterOperator(predicate, thisArg));\n      };\n    }\n\n    var FilterOperator =\n    /*#__PURE__*/\n    function () {\n      function FilterOperator(predicate, thisArg) {\n        _classCallCheck(this, FilterOperator);\n\n        this.predicate = predicate;\n        this.thisArg = thisArg;\n      }\n\n      _createClass2(FilterOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new FilterSubscriber(subscriber, this.predicate, this.thisArg));\n        }\n      }]);\n\n      return FilterOperator;\n    }();\n\n    var FilterSubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_17) {\n      _inherits(FilterSubscriber, _Subscriber__WEBPACK_17);\n\n      function FilterSubscriber(destination, predicate, thisArg) {\n        var _this744;\n\n        _classCallCheck(this, FilterSubscriber);\n\n        _this744 = _possibleConstructorReturn(this, _getPrototypeOf(FilterSubscriber).call(this, destination));\n        _this744.predicate = predicate;\n        _this744.thisArg = thisArg;\n        _this744.count = 0;\n        return _this744;\n      }\n\n      _createClass2(FilterSubscriber, [{\n        key: \"_next\",\n        value: function _next(value) {\n          var result;\n\n          try {\n            result = this.predicate.call(this.thisArg, value, this.count++);\n          } catch (err) {\n            this.destination.error(err);\n            return;\n          }\n\n          if (result) {\n            this.destination.next(value);\n          }\n        }\n      }]);\n\n      return FilterSubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/finalize.js\":\n  /*!*******************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/finalize.js ***!\n    \\*******************************************************************/\n\n  /*! exports provided: finalize */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsFinalizeJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"finalize\", function () {\n      return finalize;\n    });\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n    /* harmony import */\n\n\n    var _Subscription__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../Subscription */\n    \"./node_modules/rxjs/_esm2015/internal/Subscription.js\");\n\n    function finalize(callback) {\n      return function (source) {\n        return source.lift(new FinallyOperator(callback));\n      };\n    }\n\n    var FinallyOperator =\n    /*#__PURE__*/\n    function () {\n      function FinallyOperator(callback) {\n        _classCallCheck(this, FinallyOperator);\n\n        this.callback = callback;\n      }\n\n      _createClass2(FinallyOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new FinallySubscriber(subscriber, this.callback));\n        }\n      }]);\n\n      return FinallyOperator;\n    }();\n\n    var FinallySubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_18) {\n      _inherits(FinallySubscriber, _Subscriber__WEBPACK_18);\n\n      function FinallySubscriber(destination, callback) {\n        var _this745;\n\n        _classCallCheck(this, FinallySubscriber);\n\n        _this745 = _possibleConstructorReturn(this, _getPrototypeOf(FinallySubscriber).call(this, destination));\n\n        _this745.add(new _Subscription__WEBPACK_IMPORTED_MODULE_1__[\"Subscription\"](callback));\n\n        return _this745;\n      }\n\n      return FinallySubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/find.js\":\n  /*!***************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/find.js ***!\n    \\***************************************************************/\n\n  /*! exports provided: find, FindValueOperator, FindValueSubscriber */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsFindJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"find\", function () {\n      return find;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FindValueOperator\", function () {\n      return FindValueOperator;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"FindValueSubscriber\", function () {\n      return FindValueSubscriber;\n    });\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\n    function find(predicate, thisArg) {\n      if (typeof predicate !== 'function') {\n        throw new TypeError('predicate is not a function');\n      }\n\n      return function (source) {\n        return source.lift(new FindValueOperator(predicate, source, false, thisArg));\n      };\n    }\n\n    var FindValueOperator =\n    /*#__PURE__*/\n    function () {\n      function FindValueOperator(predicate, source, yieldIndex, thisArg) {\n        _classCallCheck(this, FindValueOperator);\n\n        this.predicate = predicate;\n        this.source = source;\n        this.yieldIndex = yieldIndex;\n        this.thisArg = thisArg;\n      }\n\n      _createClass2(FindValueOperator, [{\n        key: \"call\",\n        value: function call(observer, source) {\n          return source.subscribe(new FindValueSubscriber(observer, this.predicate, this.source, this.yieldIndex, this.thisArg));\n        }\n      }]);\n\n      return FindValueOperator;\n    }();\n\n    var FindValueSubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_19) {\n      _inherits(FindValueSubscriber, _Subscriber__WEBPACK_19);\n\n      function FindValueSubscriber(destination, predicate, source, yieldIndex, thisArg) {\n        var _this746;\n\n        _classCallCheck(this, FindValueSubscriber);\n\n        _this746 = _possibleConstructorReturn(this, _getPrototypeOf(FindValueSubscriber).call(this, destination));\n        _this746.predicate = predicate;\n        _this746.source = source;\n        _this746.yieldIndex = yieldIndex;\n        _this746.thisArg = thisArg;\n        _this746.index = 0;\n        return _this746;\n      }\n\n      _createClass2(FindValueSubscriber, [{\n        key: \"notifyComplete\",\n        value: function notifyComplete(value) {\n          var destination = this.destination;\n          destination.next(value);\n          destination.complete();\n          this.unsubscribe();\n        }\n      }, {\n        key: \"_next\",\n        value: function _next(value) {\n          var predicate = this.predicate,\n              thisArg = this.thisArg;\n          var index = this.index++;\n\n          try {\n            var result = predicate.call(thisArg || this, value, index, this.source);\n\n            if (result) {\n              this.notifyComplete(this.yieldIndex ? index : value);\n            }\n          } catch (err) {\n            this.destination.error(err);\n          }\n        }\n      }, {\n        key: \"_complete\",\n        value: function _complete() {\n          this.notifyComplete(this.yieldIndex ? -1 : undefined);\n        }\n      }]);\n\n      return FindValueSubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/findIndex.js\":\n  /*!********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/findIndex.js ***!\n    \\********************************************************************/\n\n  /*! exports provided: findIndex */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsFindIndexJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"findIndex\", function () {\n      return findIndex;\n    });\n    /* harmony import */\n\n\n    var _operators_find__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../operators/find */\n    \"./node_modules/rxjs/_esm2015/internal/operators/find.js\");\n\n    function findIndex(predicate, thisArg) {\n      return function (source) {\n        return source.lift(new _operators_find__WEBPACK_IMPORTED_MODULE_0__[\"FindValueOperator\"](predicate, source, true, thisArg));\n      };\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/first.js\":\n  /*!****************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/first.js ***!\n    \\****************************************************************/\n\n  /*! exports provided: first */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsFirstJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"first\", function () {\n      return first;\n    });\n    /* harmony import */\n\n\n    var _util_EmptyError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../util/EmptyError */\n    \"./node_modules/rxjs/_esm2015/internal/util/EmptyError.js\");\n    /* harmony import */\n\n\n    var _filter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ./filter */\n    \"./node_modules/rxjs/_esm2015/internal/operators/filter.js\");\n    /* harmony import */\n\n\n    var _take__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ./take */\n    \"./node_modules/rxjs/_esm2015/internal/operators/take.js\");\n    /* harmony import */\n\n\n    var _defaultIfEmpty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ./defaultIfEmpty */\n    \"./node_modules/rxjs/_esm2015/internal/operators/defaultIfEmpty.js\");\n    /* harmony import */\n\n\n    var _throwIfEmpty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! ./throwIfEmpty */\n    \"./node_modules/rxjs/_esm2015/internal/operators/throwIfEmpty.js\");\n    /* harmony import */\n\n\n    var _util_identity__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\n    /*! ../util/identity */\n    \"./node_modules/rxjs/_esm2015/internal/util/identity.js\");\n\n    function first(predicate, defaultValue) {\n      var hasDefaultValue = arguments.length >= 2;\n      return function (source) {\n        return source.pipe(predicate ? Object(_filter__WEBPACK_IMPORTED_MODULE_1__[\"filter\"])(function (v, i) {\n          return predicate(v, i, source);\n        }) : _util_identity__WEBPACK_IMPORTED_MODULE_5__[\"identity\"], Object(_take__WEBPACK_IMPORTED_MODULE_2__[\"take\"])(1), hasDefaultValue ? Object(_defaultIfEmpty__WEBPACK_IMPORTED_MODULE_3__[\"defaultIfEmpty\"])(defaultValue) : Object(_throwIfEmpty__WEBPACK_IMPORTED_MODULE_4__[\"throwIfEmpty\"])(function () {\n          return new _util_EmptyError__WEBPACK_IMPORTED_MODULE_0__[\"EmptyError\"]();\n        }));\n      };\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/groupBy.js\":\n  /*!******************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/groupBy.js ***!\n    \\******************************************************************/\n\n  /*! exports provided: groupBy, GroupedObservable */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsGroupByJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"groupBy\", function () {\n      return groupBy;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"GroupedObservable\", function () {\n      return GroupedObservable;\n    });\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n    /* harmony import */\n\n\n    var _Subscription__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../Subscription */\n    \"./node_modules/rxjs/_esm2015/internal/Subscription.js\");\n    /* harmony import */\n\n\n    var _Observable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../Observable */\n    \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n    /* harmony import */\n\n\n    var _Subject__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ../Subject */\n    \"./node_modules/rxjs/_esm2015/internal/Subject.js\");\n\n    function groupBy(keySelector, elementSelector, durationSelector, subjectSelector) {\n      return function (source) {\n        return source.lift(new GroupByOperator(keySelector, elementSelector, durationSelector, subjectSelector));\n      };\n    }\n\n    var GroupByOperator =\n    /*#__PURE__*/\n    function () {\n      function GroupByOperator(keySelector, elementSelector, durationSelector, subjectSelector) {\n        _classCallCheck(this, GroupByOperator);\n\n        this.keySelector = keySelector;\n        this.elementSelector = elementSelector;\n        this.durationSelector = durationSelector;\n        this.subjectSelector = subjectSelector;\n      }\n\n      _createClass2(GroupByOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new GroupBySubscriber(subscriber, this.keySelector, this.elementSelector, this.durationSelector, this.subjectSelector));\n        }\n      }]);\n\n      return GroupByOperator;\n    }();\n\n    var GroupBySubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_20) {\n      _inherits(GroupBySubscriber, _Subscriber__WEBPACK_20);\n\n      function GroupBySubscriber(destination, keySelector, elementSelector, durationSelector, subjectSelector) {\n        var _this747;\n\n        _classCallCheck(this, GroupBySubscriber);\n\n        _this747 = _possibleConstructorReturn(this, _getPrototypeOf(GroupBySubscriber).call(this, destination));\n        _this747.keySelector = keySelector;\n        _this747.elementSelector = elementSelector;\n        _this747.durationSelector = durationSelector;\n        _this747.subjectSelector = subjectSelector;\n        _this747.groups = null;\n        _this747.attemptedToUnsubscribe = false;\n        _this747.count = 0;\n        return _this747;\n      }\n\n      _createClass2(GroupBySubscriber, [{\n        key: \"_next\",\n        value: function _next(value) {\n          var key;\n\n          try {\n            key = this.keySelector(value);\n          } catch (err) {\n            this.error(err);\n            return;\n          }\n\n          this._group(value, key);\n        }\n      }, {\n        key: \"_group\",\n        value: function _group(value, key) {\n          var groups = this.groups;\n\n          if (!groups) {\n            groups = this.groups = new Map();\n          }\n\n          var group = groups.get(key);\n          var element;\n\n          if (this.elementSelector) {\n            try {\n              element = this.elementSelector(value);\n            } catch (err) {\n              this.error(err);\n            }\n          } else {\n            element = value;\n          }\n\n          if (!group) {\n            group = this.subjectSelector ? this.subjectSelector() : new _Subject__WEBPACK_IMPORTED_MODULE_3__[\"Subject\"]();\n            groups.set(key, group);\n            var groupedObservable = new GroupedObservable(key, group, this);\n            this.destination.next(groupedObservable);\n\n            if (this.durationSelector) {\n              var duration;\n\n              try {\n                duration = this.durationSelector(new GroupedObservable(key, group));\n              } catch (err) {\n                this.error(err);\n                return;\n              }\n\n              this.add(duration.subscribe(new GroupDurationSubscriber(key, group, this)));\n            }\n          }\n\n          if (!group.closed) {\n            group.next(element);\n          }\n        }\n      }, {\n        key: \"_error\",\n        value: function _error(err) {\n          var groups = this.groups;\n\n          if (groups) {\n            groups.forEach(function (group, key) {\n              group.error(err);\n            });\n            groups.clear();\n          }\n\n          this.destination.error(err);\n        }\n      }, {\n        key: \"_complete\",\n        value: function _complete() {\n          var groups = this.groups;\n\n          if (groups) {\n            groups.forEach(function (group, key) {\n              group.complete();\n            });\n            groups.clear();\n          }\n\n          this.destination.complete();\n        }\n      }, {\n        key: \"removeGroup\",\n        value: function removeGroup(key) {\n          this.groups.delete(key);\n        }\n      }, {\n        key: \"unsubscribe\",\n        value: function unsubscribe() {\n          if (!this.closed) {\n            this.attemptedToUnsubscribe = true;\n\n            if (this.count === 0) {\n              _get(_getPrototypeOf(GroupBySubscriber.prototype), \"unsubscribe\", this).call(this);\n            }\n          }\n        }\n      }]);\n\n      return GroupBySubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]);\n\n    var GroupDurationSubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_21) {\n      _inherits(GroupDurationSubscriber, _Subscriber__WEBPACK_21);\n\n      function GroupDurationSubscriber(key, group, parent) {\n        var _this748;\n\n        _classCallCheck(this, GroupDurationSubscriber);\n\n        _this748 = _possibleConstructorReturn(this, _getPrototypeOf(GroupDurationSubscriber).call(this, group));\n        _this748.key = key;\n        _this748.group = group;\n        _this748.parent = parent;\n        return _this748;\n      }\n\n      _createClass2(GroupDurationSubscriber, [{\n        key: \"_next\",\n        value: function _next(value) {\n          this.complete();\n        }\n      }, {\n        key: \"_unsubscribe\",\n        value: function _unsubscribe() {\n          var parent = this.parent,\n              key = this.key;\n          this.key = this.parent = null;\n\n          if (parent) {\n            parent.removeGroup(key);\n          }\n        }\n      }]);\n\n      return GroupDurationSubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]);\n\n    var GroupedObservable =\n    /*#__PURE__*/\n    function (_Observable__WEBPACK_5) {\n      _inherits(GroupedObservable, _Observable__WEBPACK_5);\n\n      function GroupedObservable(key, groupSubject, refCountSubscription) {\n        var _this749;\n\n        _classCallCheck(this, GroupedObservable);\n\n        _this749 = _possibleConstructorReturn(this, _getPrototypeOf(GroupedObservable).call(this));\n        _this749.key = key;\n        _this749.groupSubject = groupSubject;\n        _this749.refCountSubscription = refCountSubscription;\n        return _this749;\n      }\n\n      _createClass2(GroupedObservable, [{\n        key: \"_subscribe\",\n        value: function _subscribe(subscriber) {\n          var subscription = new _Subscription__WEBPACK_IMPORTED_MODULE_1__[\"Subscription\"]();\n          var refCountSubscription = this.refCountSubscription,\n              groupSubject = this.groupSubject;\n\n          if (refCountSubscription && !refCountSubscription.closed) {\n            subscription.add(new InnerRefCountSubscription(refCountSubscription));\n          }\n\n          subscription.add(groupSubject.subscribe(subscriber));\n          return subscription;\n        }\n      }]);\n\n      return GroupedObservable;\n    }(_Observable__WEBPACK_IMPORTED_MODULE_2__[\"Observable\"]);\n\n    var InnerRefCountSubscription =\n    /*#__PURE__*/\n    function (_Subscription__WEBPAC3) {\n      _inherits(InnerRefCountSubscription, _Subscription__WEBPAC3);\n\n      function InnerRefCountSubscription(parent) {\n        var _this750;\n\n        _classCallCheck(this, InnerRefCountSubscription);\n\n        _this750 = _possibleConstructorReturn(this, _getPrototypeOf(InnerRefCountSubscription).call(this));\n        _this750.parent = parent;\n        parent.count++;\n        return _this750;\n      }\n\n      _createClass2(InnerRefCountSubscription, [{\n        key: \"unsubscribe\",\n        value: function unsubscribe() {\n          var parent = this.parent;\n\n          if (!parent.closed && !this.closed) {\n            _get(_getPrototypeOf(InnerRefCountSubscription.prototype), \"unsubscribe\", this).call(this);\n\n            parent.count -= 1;\n\n            if (parent.count === 0 && parent.attemptedToUnsubscribe) {\n              parent.unsubscribe();\n            }\n          }\n        }\n      }]);\n\n      return InnerRefCountSubscription;\n    }(_Subscription__WEBPACK_IMPORTED_MODULE_1__[\"Subscription\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/ignoreElements.js\":\n  /*!*************************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/ignoreElements.js ***!\n    \\*************************************************************************/\n\n  /*! exports provided: ignoreElements */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsIgnoreElementsJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ignoreElements\", function () {\n      return ignoreElements;\n    });\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\n    function ignoreElements() {\n      return function ignoreElementsOperatorFunction(source) {\n        return source.lift(new IgnoreElementsOperator());\n      };\n    }\n\n    var IgnoreElementsOperator =\n    /*#__PURE__*/\n    function () {\n      function IgnoreElementsOperator() {\n        _classCallCheck(this, IgnoreElementsOperator);\n      }\n\n      _createClass2(IgnoreElementsOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new IgnoreElementsSubscriber(subscriber));\n        }\n      }]);\n\n      return IgnoreElementsOperator;\n    }();\n\n    var IgnoreElementsSubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_22) {\n      _inherits(IgnoreElementsSubscriber, _Subscriber__WEBPACK_22);\n\n      function IgnoreElementsSubscriber() {\n        _classCallCheck(this, IgnoreElementsSubscriber);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(IgnoreElementsSubscriber).apply(this, arguments));\n      }\n\n      _createClass2(IgnoreElementsSubscriber, [{\n        key: \"_next\",\n        value: function _next(unused) {}\n      }]);\n\n      return IgnoreElementsSubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/isEmpty.js\":\n  /*!******************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/isEmpty.js ***!\n    \\******************************************************************/\n\n  /*! exports provided: isEmpty */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsIsEmptyJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"isEmpty\", function () {\n      return isEmpty;\n    });\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\n    function isEmpty() {\n      return function (source) {\n        return source.lift(new IsEmptyOperator());\n      };\n    }\n\n    var IsEmptyOperator =\n    /*#__PURE__*/\n    function () {\n      function IsEmptyOperator() {\n        _classCallCheck(this, IsEmptyOperator);\n      }\n\n      _createClass2(IsEmptyOperator, [{\n        key: \"call\",\n        value: function call(observer, source) {\n          return source.subscribe(new IsEmptySubscriber(observer));\n        }\n      }]);\n\n      return IsEmptyOperator;\n    }();\n\n    var IsEmptySubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_23) {\n      _inherits(IsEmptySubscriber, _Subscriber__WEBPACK_23);\n\n      function IsEmptySubscriber(destination) {\n        _classCallCheck(this, IsEmptySubscriber);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(IsEmptySubscriber).call(this, destination));\n      }\n\n      _createClass2(IsEmptySubscriber, [{\n        key: \"notifyComplete\",\n        value: function notifyComplete(isEmpty) {\n          var destination = this.destination;\n          destination.next(isEmpty);\n          destination.complete();\n        }\n      }, {\n        key: \"_next\",\n        value: function _next(value) {\n          this.notifyComplete(false);\n        }\n      }, {\n        key: \"_complete\",\n        value: function _complete() {\n          this.notifyComplete(true);\n        }\n      }]);\n\n      return IsEmptySubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/last.js\":\n  /*!***************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/last.js ***!\n    \\***************************************************************/\n\n  /*! exports provided: last */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsLastJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"last\", function () {\n      return last;\n    });\n    /* harmony import */\n\n\n    var _util_EmptyError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../util/EmptyError */\n    \"./node_modules/rxjs/_esm2015/internal/util/EmptyError.js\");\n    /* harmony import */\n\n\n    var _filter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ./filter */\n    \"./node_modules/rxjs/_esm2015/internal/operators/filter.js\");\n    /* harmony import */\n\n\n    var _takeLast__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ./takeLast */\n    \"./node_modules/rxjs/_esm2015/internal/operators/takeLast.js\");\n    /* harmony import */\n\n\n    var _throwIfEmpty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ./throwIfEmpty */\n    \"./node_modules/rxjs/_esm2015/internal/operators/throwIfEmpty.js\");\n    /* harmony import */\n\n\n    var _defaultIfEmpty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! ./defaultIfEmpty */\n    \"./node_modules/rxjs/_esm2015/internal/operators/defaultIfEmpty.js\");\n    /* harmony import */\n\n\n    var _util_identity__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\n    /*! ../util/identity */\n    \"./node_modules/rxjs/_esm2015/internal/util/identity.js\");\n\n    function last(predicate, defaultValue) {\n      var hasDefaultValue = arguments.length >= 2;\n      return function (source) {\n        return source.pipe(predicate ? Object(_filter__WEBPACK_IMPORTED_MODULE_1__[\"filter\"])(function (v, i) {\n          return predicate(v, i, source);\n        }) : _util_identity__WEBPACK_IMPORTED_MODULE_5__[\"identity\"], Object(_takeLast__WEBPACK_IMPORTED_MODULE_2__[\"takeLast\"])(1), hasDefaultValue ? Object(_defaultIfEmpty__WEBPACK_IMPORTED_MODULE_4__[\"defaultIfEmpty\"])(defaultValue) : Object(_throwIfEmpty__WEBPACK_IMPORTED_MODULE_3__[\"throwIfEmpty\"])(function () {\n          return new _util_EmptyError__WEBPACK_IMPORTED_MODULE_0__[\"EmptyError\"]();\n        }));\n      };\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/map.js\":\n  /*!**************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/map.js ***!\n    \\**************************************************************/\n\n  /*! exports provided: map, MapOperator */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsMapJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"map\", function () {\n      return map;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MapOperator\", function () {\n      return MapOperator;\n    });\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\n    function map(project, thisArg) {\n      return function mapOperation(source) {\n        if (typeof project !== 'function') {\n          throw new TypeError('argument is not a function. Are you looking for `mapTo()`?');\n        }\n\n        return source.lift(new MapOperator(project, thisArg));\n      };\n    }\n\n    var MapOperator =\n    /*#__PURE__*/\n    function () {\n      function MapOperator(project, thisArg) {\n        _classCallCheck(this, MapOperator);\n\n        this.project = project;\n        this.thisArg = thisArg;\n      }\n\n      _createClass2(MapOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new MapSubscriber(subscriber, this.project, this.thisArg));\n        }\n      }]);\n\n      return MapOperator;\n    }();\n\n    var MapSubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_24) {\n      _inherits(MapSubscriber, _Subscriber__WEBPACK_24);\n\n      function MapSubscriber(destination, project, thisArg) {\n        var _this751;\n\n        _classCallCheck(this, MapSubscriber);\n\n        _this751 = _possibleConstructorReturn(this, _getPrototypeOf(MapSubscriber).call(this, destination));\n        _this751.project = project;\n        _this751.count = 0;\n        _this751.thisArg = thisArg || _assertThisInitialized(_this751);\n        return _this751;\n      }\n\n      _createClass2(MapSubscriber, [{\n        key: \"_next\",\n        value: function _next(value) {\n          var result;\n\n          try {\n            result = this.project.call(this.thisArg, value, this.count++);\n          } catch (err) {\n            this.destination.error(err);\n            return;\n          }\n\n          this.destination.next(result);\n        }\n      }]);\n\n      return MapSubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/mapTo.js\":\n  /*!****************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/mapTo.js ***!\n    \\****************************************************************/\n\n  /*! exports provided: mapTo */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsMapToJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"mapTo\", function () {\n      return mapTo;\n    });\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\n    function mapTo(value) {\n      return function (source) {\n        return source.lift(new MapToOperator(value));\n      };\n    }\n\n    var MapToOperator =\n    /*#__PURE__*/\n    function () {\n      function MapToOperator(value) {\n        _classCallCheck(this, MapToOperator);\n\n        this.value = value;\n      }\n\n      _createClass2(MapToOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new MapToSubscriber(subscriber, this.value));\n        }\n      }]);\n\n      return MapToOperator;\n    }();\n\n    var MapToSubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_25) {\n      _inherits(MapToSubscriber, _Subscriber__WEBPACK_25);\n\n      function MapToSubscriber(destination, value) {\n        var _this752;\n\n        _classCallCheck(this, MapToSubscriber);\n\n        _this752 = _possibleConstructorReturn(this, _getPrototypeOf(MapToSubscriber).call(this, destination));\n        _this752.value = value;\n        return _this752;\n      }\n\n      _createClass2(MapToSubscriber, [{\n        key: \"_next\",\n        value: function _next(x) {\n          this.destination.next(this.value);\n        }\n      }]);\n\n      return MapToSubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/materialize.js\":\n  /*!**********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/materialize.js ***!\n    \\**********************************************************************/\n\n  /*! exports provided: materialize */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsMaterializeJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"materialize\", function () {\n      return materialize;\n    });\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n    /* harmony import */\n\n\n    var _Notification__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../Notification */\n    \"./node_modules/rxjs/_esm2015/internal/Notification.js\");\n\n    function materialize() {\n      return function materializeOperatorFunction(source) {\n        return source.lift(new MaterializeOperator());\n      };\n    }\n\n    var MaterializeOperator =\n    /*#__PURE__*/\n    function () {\n      function MaterializeOperator() {\n        _classCallCheck(this, MaterializeOperator);\n      }\n\n      _createClass2(MaterializeOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new MaterializeSubscriber(subscriber));\n        }\n      }]);\n\n      return MaterializeOperator;\n    }();\n\n    var MaterializeSubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_26) {\n      _inherits(MaterializeSubscriber, _Subscriber__WEBPACK_26);\n\n      function MaterializeSubscriber(destination) {\n        _classCallCheck(this, MaterializeSubscriber);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(MaterializeSubscriber).call(this, destination));\n      }\n\n      _createClass2(MaterializeSubscriber, [{\n        key: \"_next\",\n        value: function _next(value) {\n          this.destination.next(_Notification__WEBPACK_IMPORTED_MODULE_1__[\"Notification\"].createNext(value));\n        }\n      }, {\n        key: \"_error\",\n        value: function _error(err) {\n          var destination = this.destination;\n          destination.next(_Notification__WEBPACK_IMPORTED_MODULE_1__[\"Notification\"].createError(err));\n          destination.complete();\n        }\n      }, {\n        key: \"_complete\",\n        value: function _complete() {\n          var destination = this.destination;\n          destination.next(_Notification__WEBPACK_IMPORTED_MODULE_1__[\"Notification\"].createComplete());\n          destination.complete();\n        }\n      }]);\n\n      return MaterializeSubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/max.js\":\n  /*!**************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/max.js ***!\n    \\**************************************************************/\n\n  /*! exports provided: max */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsMaxJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"max\", function () {\n      return max;\n    });\n    /* harmony import */\n\n\n    var _reduce__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./reduce */\n    \"./node_modules/rxjs/_esm2015/internal/operators/reduce.js\");\n\n    function max(comparer) {\n      var max = typeof comparer === 'function' ? function (x, y) {\n        return comparer(x, y) > 0 ? x : y;\n      } : function (x, y) {\n        return x > y ? x : y;\n      };\n      return Object(_reduce__WEBPACK_IMPORTED_MODULE_0__[\"reduce\"])(max);\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/merge.js\":\n  /*!****************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/merge.js ***!\n    \\****************************************************************/\n\n  /*! exports provided: merge */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsMergeJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"merge\", function () {\n      return merge;\n    });\n    /* harmony import */\n\n\n    var _observable_merge__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../observable/merge */\n    \"./node_modules/rxjs/_esm2015/internal/observable/merge.js\");\n\n    function merge() {\n      for (var _len58 = arguments.length, observables = new Array(_len58), _key58 = 0; _key58 < _len58; _key58++) {\n        observables[_key58] = arguments[_key58];\n      }\n\n      return function (source) {\n        return source.lift.call(Object(_observable_merge__WEBPACK_IMPORTED_MODULE_0__[\"merge\"]).apply(void 0, [source].concat(observables)));\n      };\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/mergeAll.js\":\n  /*!*******************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/mergeAll.js ***!\n    \\*******************************************************************/\n\n  /*! exports provided: mergeAll */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsMergeAllJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"mergeAll\", function () {\n      return mergeAll;\n    });\n    /* harmony import */\n\n\n    var _mergeMap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./mergeMap */\n    \"./node_modules/rxjs/_esm2015/internal/operators/mergeMap.js\");\n    /* harmony import */\n\n\n    var _util_identity__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../util/identity */\n    \"./node_modules/rxjs/_esm2015/internal/util/identity.js\");\n\n    function mergeAll() {\n      var concurrent = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : Number.POSITIVE_INFINITY;\n      return Object(_mergeMap__WEBPACK_IMPORTED_MODULE_0__[\"mergeMap\"])(_util_identity__WEBPACK_IMPORTED_MODULE_1__[\"identity\"], concurrent);\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/mergeMap.js\":\n  /*!*******************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/mergeMap.js ***!\n    \\*******************************************************************/\n\n  /*! exports provided: mergeMap, MergeMapOperator, MergeMapSubscriber */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsMergeMapJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"mergeMap\", function () {\n      return mergeMap;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MergeMapOperator\", function () {\n      return MergeMapOperator;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MergeMapSubscriber\", function () {\n      return MergeMapSubscriber;\n    });\n    /* harmony import */\n\n\n    var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../util/subscribeToResult */\n    \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n    /* harmony import */\n\n\n    var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../OuterSubscriber */\n    \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n    /* harmony import */\n\n\n    var _InnerSubscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../InnerSubscriber */\n    \"./node_modules/rxjs/_esm2015/internal/InnerSubscriber.js\");\n    /* harmony import */\n\n\n    var _map__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ./map */\n    \"./node_modules/rxjs/_esm2015/internal/operators/map.js\");\n    /* harmony import */\n\n\n    var _observable_from__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! ../observable/from */\n    \"./node_modules/rxjs/_esm2015/internal/observable/from.js\");\n\n    function mergeMap(project, resultSelector) {\n      var concurrent = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : Number.POSITIVE_INFINITY;\n\n      if (typeof resultSelector === 'function') {\n        return function (source) {\n          return source.pipe(mergeMap(function (a, i) {\n            return Object(_observable_from__WEBPACK_IMPORTED_MODULE_4__[\"from\"])(project(a, i)).pipe(Object(_map__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(function (b, ii) {\n              return resultSelector(a, b, i, ii);\n            }));\n          }, concurrent));\n        };\n      } else if (typeof resultSelector === 'number') {\n        concurrent = resultSelector;\n      }\n\n      return function (source) {\n        return source.lift(new MergeMapOperator(project, concurrent));\n      };\n    }\n\n    var MergeMapOperator =\n    /*#__PURE__*/\n    function () {\n      function MergeMapOperator(project) {\n        var concurrent = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : Number.POSITIVE_INFINITY;\n\n        _classCallCheck(this, MergeMapOperator);\n\n        this.project = project;\n        this.concurrent = concurrent;\n      }\n\n      _createClass2(MergeMapOperator, [{\n        key: \"call\",\n        value: function call(observer, source) {\n          return source.subscribe(new MergeMapSubscriber(observer, this.project, this.concurrent));\n        }\n      }]);\n\n      return MergeMapOperator;\n    }();\n\n    var MergeMapSubscriber =\n    /*#__PURE__*/\n    function (_OuterSubscriber__WEB16) {\n      _inherits(MergeMapSubscriber, _OuterSubscriber__WEB16);\n\n      function MergeMapSubscriber(destination, project) {\n        var _this753;\n\n        var concurrent = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : Number.POSITIVE_INFINITY;\n\n        _classCallCheck(this, MergeMapSubscriber);\n\n        _this753 = _possibleConstructorReturn(this, _getPrototypeOf(MergeMapSubscriber).call(this, destination));\n        _this753.project = project;\n        _this753.concurrent = concurrent;\n        _this753.hasCompleted = false;\n        _this753.buffer = [];\n        _this753.active = 0;\n        _this753.index = 0;\n        return _this753;\n      }\n\n      _createClass2(MergeMapSubscriber, [{\n        key: \"_next\",\n        value: function _next(value) {\n          if (this.active < this.concurrent) {\n            this._tryNext(value);\n          } else {\n            this.buffer.push(value);\n          }\n        }\n      }, {\n        key: \"_tryNext\",\n        value: function _tryNext(value) {\n          var result;\n          var index = this.index++;\n\n          try {\n            result = this.project(value, index);\n          } catch (err) {\n            this.destination.error(err);\n            return;\n          }\n\n          this.active++;\n\n          this._innerSub(result, value, index);\n        }\n      }, {\n        key: \"_innerSub\",\n        value: function _innerSub(ish, value, index) {\n          var innerSubscriber = new _InnerSubscriber__WEBPACK_IMPORTED_MODULE_2__[\"InnerSubscriber\"](this, undefined, undefined);\n          var destination = this.destination;\n          destination.add(innerSubscriber);\n          Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_0__[\"subscribeToResult\"])(this, ish, value, index, innerSubscriber);\n        }\n      }, {\n        key: \"_complete\",\n        value: function _complete() {\n          this.hasCompleted = true;\n\n          if (this.active === 0 && this.buffer.length === 0) {\n            this.destination.complete();\n          }\n\n          this.unsubscribe();\n        }\n      }, {\n        key: \"notifyNext\",\n        value: function notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n          this.destination.next(innerValue);\n        }\n      }, {\n        key: \"notifyComplete\",\n        value: function notifyComplete(innerSub) {\n          var buffer = this.buffer;\n          this.remove(innerSub);\n          this.active--;\n\n          if (buffer.length > 0) {\n            this._next(buffer.shift());\n          } else if (this.active === 0 && this.hasCompleted) {\n            this.destination.complete();\n          }\n        }\n      }]);\n\n      return MergeMapSubscriber;\n    }(_OuterSubscriber__WEBPACK_IMPORTED_MODULE_1__[\"OuterSubscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/mergeMapTo.js\":\n  /*!*********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/mergeMapTo.js ***!\n    \\*********************************************************************/\n\n  /*! exports provided: mergeMapTo */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsMergeMapToJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"mergeMapTo\", function () {\n      return mergeMapTo;\n    });\n    /* harmony import */\n\n\n    var _mergeMap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./mergeMap */\n    \"./node_modules/rxjs/_esm2015/internal/operators/mergeMap.js\");\n\n    function mergeMapTo(innerObservable, resultSelector) {\n      var concurrent = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : Number.POSITIVE_INFINITY;\n\n      if (typeof resultSelector === 'function') {\n        return Object(_mergeMap__WEBPACK_IMPORTED_MODULE_0__[\"mergeMap\"])(function () {\n          return innerObservable;\n        }, resultSelector, concurrent);\n      }\n\n      if (typeof resultSelector === 'number') {\n        concurrent = resultSelector;\n      }\n\n      return Object(_mergeMap__WEBPACK_IMPORTED_MODULE_0__[\"mergeMap\"])(function () {\n        return innerObservable;\n      }, concurrent);\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/mergeScan.js\":\n  /*!********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/mergeScan.js ***!\n    \\********************************************************************/\n\n  /*! exports provided: mergeScan, MergeScanOperator, MergeScanSubscriber */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsMergeScanJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"mergeScan\", function () {\n      return mergeScan;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MergeScanOperator\", function () {\n      return MergeScanOperator;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MergeScanSubscriber\", function () {\n      return MergeScanSubscriber;\n    });\n    /* harmony import */\n\n\n    var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../util/subscribeToResult */\n    \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n    /* harmony import */\n\n\n    var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../OuterSubscriber */\n    \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n    /* harmony import */\n\n\n    var _InnerSubscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../InnerSubscriber */\n    \"./node_modules/rxjs/_esm2015/internal/InnerSubscriber.js\");\n\n    function mergeScan(accumulator, seed) {\n      var concurrent = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : Number.POSITIVE_INFINITY;\n      return function (source) {\n        return source.lift(new MergeScanOperator(accumulator, seed, concurrent));\n      };\n    }\n\n    var MergeScanOperator =\n    /*#__PURE__*/\n    function () {\n      function MergeScanOperator(accumulator, seed, concurrent) {\n        _classCallCheck(this, MergeScanOperator);\n\n        this.accumulator = accumulator;\n        this.seed = seed;\n        this.concurrent = concurrent;\n      }\n\n      _createClass2(MergeScanOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new MergeScanSubscriber(subscriber, this.accumulator, this.seed, this.concurrent));\n        }\n      }]);\n\n      return MergeScanOperator;\n    }();\n\n    var MergeScanSubscriber =\n    /*#__PURE__*/\n    function (_OuterSubscriber__WEB17) {\n      _inherits(MergeScanSubscriber, _OuterSubscriber__WEB17);\n\n      function MergeScanSubscriber(destination, accumulator, acc, concurrent) {\n        var _this754;\n\n        _classCallCheck(this, MergeScanSubscriber);\n\n        _this754 = _possibleConstructorReturn(this, _getPrototypeOf(MergeScanSubscriber).call(this, destination));\n        _this754.accumulator = accumulator;\n        _this754.acc = acc;\n        _this754.concurrent = concurrent;\n        _this754.hasValue = false;\n        _this754.hasCompleted = false;\n        _this754.buffer = [];\n        _this754.active = 0;\n        _this754.index = 0;\n        return _this754;\n      }\n\n      _createClass2(MergeScanSubscriber, [{\n        key: \"_next\",\n        value: function _next(value) {\n          if (this.active < this.concurrent) {\n            var index = this.index++;\n            var destination = this.destination;\n            var ish;\n\n            try {\n              var accumulator = this.accumulator;\n              ish = accumulator(this.acc, value, index);\n            } catch (e) {\n              return destination.error(e);\n            }\n\n            this.active++;\n\n            this._innerSub(ish, value, index);\n          } else {\n            this.buffer.push(value);\n          }\n        }\n      }, {\n        key: \"_innerSub\",\n        value: function _innerSub(ish, value, index) {\n          var innerSubscriber = new _InnerSubscriber__WEBPACK_IMPORTED_MODULE_2__[\"InnerSubscriber\"](this, undefined, undefined);\n          var destination = this.destination;\n          destination.add(innerSubscriber);\n          Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_0__[\"subscribeToResult\"])(this, ish, value, index, innerSubscriber);\n        }\n      }, {\n        key: \"_complete\",\n        value: function _complete() {\n          this.hasCompleted = true;\n\n          if (this.active === 0 && this.buffer.length === 0) {\n            if (this.hasValue === false) {\n              this.destination.next(this.acc);\n            }\n\n            this.destination.complete();\n          }\n\n          this.unsubscribe();\n        }\n      }, {\n        key: \"notifyNext\",\n        value: function notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n          var destination = this.destination;\n          this.acc = innerValue;\n          this.hasValue = true;\n          destination.next(innerValue);\n        }\n      }, {\n        key: \"notifyComplete\",\n        value: function notifyComplete(innerSub) {\n          var buffer = this.buffer;\n          var destination = this.destination;\n          destination.remove(innerSub);\n          this.active--;\n\n          if (buffer.length > 0) {\n            this._next(buffer.shift());\n          } else if (this.active === 0 && this.hasCompleted) {\n            if (this.hasValue === false) {\n              this.destination.next(this.acc);\n            }\n\n            this.destination.complete();\n          }\n        }\n      }]);\n\n      return MergeScanSubscriber;\n    }(_OuterSubscriber__WEBPACK_IMPORTED_MODULE_1__[\"OuterSubscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/min.js\":\n  /*!**************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/min.js ***!\n    \\**************************************************************/\n\n  /*! exports provided: min */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsMinJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"min\", function () {\n      return min;\n    });\n    /* harmony import */\n\n\n    var _reduce__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./reduce */\n    \"./node_modules/rxjs/_esm2015/internal/operators/reduce.js\");\n\n    function min(comparer) {\n      var min = typeof comparer === 'function' ? function (x, y) {\n        return comparer(x, y) < 0 ? x : y;\n      } : function (x, y) {\n        return x < y ? x : y;\n      };\n      return Object(_reduce__WEBPACK_IMPORTED_MODULE_0__[\"reduce\"])(min);\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/multicast.js\":\n  /*!********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/multicast.js ***!\n    \\********************************************************************/\n\n  /*! exports provided: multicast, MulticastOperator */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsMulticastJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"multicast\", function () {\n      return multicast;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"MulticastOperator\", function () {\n      return MulticastOperator;\n    });\n    /* harmony import */\n\n\n    var _observable_ConnectableObservable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../observable/ConnectableObservable */\n    \"./node_modules/rxjs/_esm2015/internal/observable/ConnectableObservable.js\");\n\n    function multicast(subjectOrSubjectFactory, selector) {\n      return function multicastOperatorFunction(source) {\n        var subjectFactory;\n\n        if (typeof subjectOrSubjectFactory === 'function') {\n          subjectFactory = subjectOrSubjectFactory;\n        } else {\n          subjectFactory = function subjectFactory() {\n            return subjectOrSubjectFactory;\n          };\n        }\n\n        if (typeof selector === 'function') {\n          return source.lift(new MulticastOperator(subjectFactory, selector));\n        }\n\n        var connectable = Object.create(source, _observable_ConnectableObservable__WEBPACK_IMPORTED_MODULE_0__[\"connectableObservableDescriptor\"]);\n        connectable.source = source;\n        connectable.subjectFactory = subjectFactory;\n        return connectable;\n      };\n    }\n\n    var MulticastOperator =\n    /*#__PURE__*/\n    function () {\n      function MulticastOperator(subjectFactory, selector) {\n        _classCallCheck(this, MulticastOperator);\n\n        this.subjectFactory = subjectFactory;\n        this.selector = selector;\n      }\n\n      _createClass2(MulticastOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          var selector = this.selector;\n          var subject = this.subjectFactory();\n          var subscription = selector(subject).subscribe(subscriber);\n          subscription.add(source.subscribe(subject));\n          return subscription;\n        }\n      }]);\n\n      return MulticastOperator;\n    }();\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/observeOn.js\":\n  /*!********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/observeOn.js ***!\n    \\********************************************************************/\n\n  /*! exports provided: observeOn, ObserveOnOperator, ObserveOnSubscriber, ObserveOnMessage */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsObserveOnJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"observeOn\", function () {\n      return observeOn;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ObserveOnOperator\", function () {\n      return ObserveOnOperator;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ObserveOnSubscriber\", function () {\n      return ObserveOnSubscriber;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ObserveOnMessage\", function () {\n      return ObserveOnMessage;\n    });\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n    /* harmony import */\n\n\n    var _Notification__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../Notification */\n    \"./node_modules/rxjs/_esm2015/internal/Notification.js\");\n\n    function observeOn(scheduler) {\n      var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n      return function observeOnOperatorFunction(source) {\n        return source.lift(new ObserveOnOperator(scheduler, delay));\n      };\n    }\n\n    var ObserveOnOperator =\n    /*#__PURE__*/\n    function () {\n      function ObserveOnOperator(scheduler) {\n        var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n\n        _classCallCheck(this, ObserveOnOperator);\n\n        this.scheduler = scheduler;\n        this.delay = delay;\n      }\n\n      _createClass2(ObserveOnOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new ObserveOnSubscriber(subscriber, this.scheduler, this.delay));\n        }\n      }]);\n\n      return ObserveOnOperator;\n    }();\n\n    var ObserveOnSubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_27) {\n      _inherits(ObserveOnSubscriber, _Subscriber__WEBPACK_27);\n\n      function ObserveOnSubscriber(destination, scheduler) {\n        var _this755;\n\n        var delay = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n\n        _classCallCheck(this, ObserveOnSubscriber);\n\n        _this755 = _possibleConstructorReturn(this, _getPrototypeOf(ObserveOnSubscriber).call(this, destination));\n        _this755.scheduler = scheduler;\n        _this755.delay = delay;\n        return _this755;\n      }\n\n      _createClass2(ObserveOnSubscriber, [{\n        key: \"scheduleMessage\",\n        value: function scheduleMessage(notification) {\n          var destination = this.destination;\n          destination.add(this.scheduler.schedule(ObserveOnSubscriber.dispatch, this.delay, new ObserveOnMessage(notification, this.destination)));\n        }\n      }, {\n        key: \"_next\",\n        value: function _next(value) {\n          this.scheduleMessage(_Notification__WEBPACK_IMPORTED_MODULE_1__[\"Notification\"].createNext(value));\n        }\n      }, {\n        key: \"_error\",\n        value: function _error(err) {\n          this.scheduleMessage(_Notification__WEBPACK_IMPORTED_MODULE_1__[\"Notification\"].createError(err));\n          this.unsubscribe();\n        }\n      }, {\n        key: \"_complete\",\n        value: function _complete() {\n          this.scheduleMessage(_Notification__WEBPACK_IMPORTED_MODULE_1__[\"Notification\"].createComplete());\n          this.unsubscribe();\n        }\n      }], [{\n        key: \"dispatch\",\n        value: function dispatch(arg) {\n          var notification = arg.notification,\n              destination = arg.destination;\n          notification.observe(destination);\n          this.unsubscribe();\n        }\n      }]);\n\n      return ObserveOnSubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]);\n\n    var ObserveOnMessage = function ObserveOnMessage(notification, destination) {\n      _classCallCheck(this, ObserveOnMessage);\n\n      this.notification = notification;\n      this.destination = destination;\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/onErrorResumeNext.js\":\n  /*!****************************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/onErrorResumeNext.js ***!\n    \\****************************************************************************/\n\n  /*! exports provided: onErrorResumeNext, onErrorResumeNextStatic */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsOnErrorResumeNextJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"onErrorResumeNext\", function () {\n      return onErrorResumeNext;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"onErrorResumeNextStatic\", function () {\n      return onErrorResumeNextStatic;\n    });\n    /* harmony import */\n\n\n    var _observable_from__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../observable/from */\n    \"./node_modules/rxjs/_esm2015/internal/observable/from.js\");\n    /* harmony import */\n\n\n    var _util_isArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../util/isArray */\n    \"./node_modules/rxjs/_esm2015/internal/util/isArray.js\");\n    /* harmony import */\n\n\n    var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../OuterSubscriber */\n    \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n    /* harmony import */\n\n\n    var _InnerSubscriber__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ../InnerSubscriber */\n    \"./node_modules/rxjs/_esm2015/internal/InnerSubscriber.js\");\n    /* harmony import */\n\n\n    var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! ../util/subscribeToResult */\n    \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n    function onErrorResumeNext() {\n      for (var _len59 = arguments.length, nextSources = new Array(_len59), _key59 = 0; _key59 < _len59; _key59++) {\n        nextSources[_key59] = arguments[_key59];\n      }\n\n      if (nextSources.length === 1 && Object(_util_isArray__WEBPACK_IMPORTED_MODULE_1__[\"isArray\"])(nextSources[0])) {\n        nextSources = nextSources[0];\n      }\n\n      return function (source) {\n        return source.lift(new OnErrorResumeNextOperator(nextSources));\n      };\n    }\n\n    function onErrorResumeNextStatic() {\n      for (var _len60 = arguments.length, nextSources = new Array(_len60), _key60 = 0; _key60 < _len60; _key60++) {\n        nextSources[_key60] = arguments[_key60];\n      }\n\n      var source = null;\n\n      if (nextSources.length === 1 && Object(_util_isArray__WEBPACK_IMPORTED_MODULE_1__[\"isArray\"])(nextSources[0])) {\n        nextSources = nextSources[0];\n      }\n\n      source = nextSources.shift();\n      return Object(_observable_from__WEBPACK_IMPORTED_MODULE_0__[\"from\"])(source, null).lift(new OnErrorResumeNextOperator(nextSources));\n    }\n\n    var OnErrorResumeNextOperator =\n    /*#__PURE__*/\n    function () {\n      function OnErrorResumeNextOperator(nextSources) {\n        _classCallCheck(this, OnErrorResumeNextOperator);\n\n        this.nextSources = nextSources;\n      }\n\n      _createClass2(OnErrorResumeNextOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new OnErrorResumeNextSubscriber(subscriber, this.nextSources));\n        }\n      }]);\n\n      return OnErrorResumeNextOperator;\n    }();\n\n    var OnErrorResumeNextSubscriber =\n    /*#__PURE__*/\n    function (_OuterSubscriber__WEB18) {\n      _inherits(OnErrorResumeNextSubscriber, _OuterSubscriber__WEB18);\n\n      function OnErrorResumeNextSubscriber(destination, nextSources) {\n        var _this756;\n\n        _classCallCheck(this, OnErrorResumeNextSubscriber);\n\n        _this756 = _possibleConstructorReturn(this, _getPrototypeOf(OnErrorResumeNextSubscriber).call(this, destination));\n        _this756.destination = destination;\n        _this756.nextSources = nextSources;\n        return _this756;\n      }\n\n      _createClass2(OnErrorResumeNextSubscriber, [{\n        key: \"notifyError\",\n        value: function notifyError(error, innerSub) {\n          this.subscribeToNextSource();\n        }\n      }, {\n        key: \"notifyComplete\",\n        value: function notifyComplete(innerSub) {\n          this.subscribeToNextSource();\n        }\n      }, {\n        key: \"_error\",\n        value: function _error(err) {\n          this.subscribeToNextSource();\n          this.unsubscribe();\n        }\n      }, {\n        key: \"_complete\",\n        value: function _complete() {\n          this.subscribeToNextSource();\n          this.unsubscribe();\n        }\n      }, {\n        key: \"subscribeToNextSource\",\n        value: function subscribeToNextSource() {\n          var next = this.nextSources.shift();\n\n          if (!!next) {\n            var innerSubscriber = new _InnerSubscriber__WEBPACK_IMPORTED_MODULE_3__[\"InnerSubscriber\"](this, undefined, undefined);\n            var destination = this.destination;\n            destination.add(innerSubscriber);\n            Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_4__[\"subscribeToResult\"])(this, next, undefined, undefined, innerSubscriber);\n          } else {\n            this.destination.complete();\n          }\n        }\n      }]);\n\n      return OnErrorResumeNextSubscriber;\n    }(_OuterSubscriber__WEBPACK_IMPORTED_MODULE_2__[\"OuterSubscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/pairwise.js\":\n  /*!*******************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/pairwise.js ***!\n    \\*******************************************************************/\n\n  /*! exports provided: pairwise */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsPairwiseJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"pairwise\", function () {\n      return pairwise;\n    });\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\n    function pairwise() {\n      return function (source) {\n        return source.lift(new PairwiseOperator());\n      };\n    }\n\n    var PairwiseOperator =\n    /*#__PURE__*/\n    function () {\n      function PairwiseOperator() {\n        _classCallCheck(this, PairwiseOperator);\n      }\n\n      _createClass2(PairwiseOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new PairwiseSubscriber(subscriber));\n        }\n      }]);\n\n      return PairwiseOperator;\n    }();\n\n    var PairwiseSubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_28) {\n      _inherits(PairwiseSubscriber, _Subscriber__WEBPACK_28);\n\n      function PairwiseSubscriber(destination) {\n        var _this757;\n\n        _classCallCheck(this, PairwiseSubscriber);\n\n        _this757 = _possibleConstructorReturn(this, _getPrototypeOf(PairwiseSubscriber).call(this, destination));\n        _this757.hasPrev = false;\n        return _this757;\n      }\n\n      _createClass2(PairwiseSubscriber, [{\n        key: \"_next\",\n        value: function _next(value) {\n          if (this.hasPrev) {\n            this.destination.next([this.prev, value]);\n          } else {\n            this.hasPrev = true;\n          }\n\n          this.prev = value;\n        }\n      }]);\n\n      return PairwiseSubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/partition.js\":\n  /*!********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/partition.js ***!\n    \\********************************************************************/\n\n  /*! exports provided: partition */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsPartitionJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"partition\", function () {\n      return partition;\n    });\n    /* harmony import */\n\n\n    var _util_not__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../util/not */\n    \"./node_modules/rxjs/_esm2015/internal/util/not.js\");\n    /* harmony import */\n\n\n    var _filter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ./filter */\n    \"./node_modules/rxjs/_esm2015/internal/operators/filter.js\");\n\n    function partition(predicate, thisArg) {\n      return function (source) {\n        return [Object(_filter__WEBPACK_IMPORTED_MODULE_1__[\"filter\"])(predicate, thisArg)(source), Object(_filter__WEBPACK_IMPORTED_MODULE_1__[\"filter\"])(Object(_util_not__WEBPACK_IMPORTED_MODULE_0__[\"not\"])(predicate, thisArg))(source)];\n      };\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/pluck.js\":\n  /*!****************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/pluck.js ***!\n    \\****************************************************************/\n\n  /*! exports provided: pluck */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsPluckJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"pluck\", function () {\n      return pluck;\n    });\n    /* harmony import */\n\n\n    var _map__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./map */\n    \"./node_modules/rxjs/_esm2015/internal/operators/map.js\");\n\n    function pluck() {\n      for (var _len61 = arguments.length, properties = new Array(_len61), _key61 = 0; _key61 < _len61; _key61++) {\n        properties[_key61] = arguments[_key61];\n      }\n\n      var length = properties.length;\n\n      if (length === 0) {\n        throw new Error('list of properties cannot be empty.');\n      }\n\n      return function (source) {\n        return Object(_map__WEBPACK_IMPORTED_MODULE_0__[\"map\"])(plucker(properties, length))(source);\n      };\n    }\n\n    function plucker(props, length) {\n      var mapper = function mapper(x) {\n        var currentProp = x;\n\n        for (var i = 0; i < length; i++) {\n          var p = currentProp[props[i]];\n\n          if (typeof p !== 'undefined') {\n            currentProp = p;\n          } else {\n            return undefined;\n          }\n        }\n\n        return currentProp;\n      };\n\n      return mapper;\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/publish.js\":\n  /*!******************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/publish.js ***!\n    \\******************************************************************/\n\n  /*! exports provided: publish */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsPublishJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"publish\", function () {\n      return publish;\n    });\n    /* harmony import */\n\n\n    var _Subject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subject */\n    \"./node_modules/rxjs/_esm2015/internal/Subject.js\");\n    /* harmony import */\n\n\n    var _multicast__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ./multicast */\n    \"./node_modules/rxjs/_esm2015/internal/operators/multicast.js\");\n\n    function publish(selector) {\n      return selector ? Object(_multicast__WEBPACK_IMPORTED_MODULE_1__[\"multicast\"])(function () {\n        return new _Subject__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]();\n      }, selector) : Object(_multicast__WEBPACK_IMPORTED_MODULE_1__[\"multicast\"])(new _Subject__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]());\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/publishBehavior.js\":\n  /*!**************************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/publishBehavior.js ***!\n    \\**************************************************************************/\n\n  /*! exports provided: publishBehavior */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsPublishBehaviorJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"publishBehavior\", function () {\n      return publishBehavior;\n    });\n    /* harmony import */\n\n\n    var _BehaviorSubject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../BehaviorSubject */\n    \"./node_modules/rxjs/_esm2015/internal/BehaviorSubject.js\");\n    /* harmony import */\n\n\n    var _multicast__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ./multicast */\n    \"./node_modules/rxjs/_esm2015/internal/operators/multicast.js\");\n\n    function publishBehavior(value) {\n      return function (source) {\n        return Object(_multicast__WEBPACK_IMPORTED_MODULE_1__[\"multicast\"])(new _BehaviorSubject__WEBPACK_IMPORTED_MODULE_0__[\"BehaviorSubject\"](value))(source);\n      };\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/publishLast.js\":\n  /*!**********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/publishLast.js ***!\n    \\**********************************************************************/\n\n  /*! exports provided: publishLast */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsPublishLastJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"publishLast\", function () {\n      return publishLast;\n    });\n    /* harmony import */\n\n\n    var _AsyncSubject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../AsyncSubject */\n    \"./node_modules/rxjs/_esm2015/internal/AsyncSubject.js\");\n    /* harmony import */\n\n\n    var _multicast__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ./multicast */\n    \"./node_modules/rxjs/_esm2015/internal/operators/multicast.js\");\n\n    function publishLast() {\n      return function (source) {\n        return Object(_multicast__WEBPACK_IMPORTED_MODULE_1__[\"multicast\"])(new _AsyncSubject__WEBPACK_IMPORTED_MODULE_0__[\"AsyncSubject\"]())(source);\n      };\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/publishReplay.js\":\n  /*!************************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/publishReplay.js ***!\n    \\************************************************************************/\n\n  /*! exports provided: publishReplay */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsPublishReplayJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"publishReplay\", function () {\n      return publishReplay;\n    });\n    /* harmony import */\n\n\n    var _ReplaySubject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../ReplaySubject */\n    \"./node_modules/rxjs/_esm2015/internal/ReplaySubject.js\");\n    /* harmony import */\n\n\n    var _multicast__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ./multicast */\n    \"./node_modules/rxjs/_esm2015/internal/operators/multicast.js\");\n\n    function publishReplay(bufferSize, windowTime, selectorOrScheduler, scheduler) {\n      if (selectorOrScheduler && typeof selectorOrScheduler !== 'function') {\n        scheduler = selectorOrScheduler;\n      }\n\n      var selector = typeof selectorOrScheduler === 'function' ? selectorOrScheduler : undefined;\n      var subject = new _ReplaySubject__WEBPACK_IMPORTED_MODULE_0__[\"ReplaySubject\"](bufferSize, windowTime, scheduler);\n      return function (source) {\n        return Object(_multicast__WEBPACK_IMPORTED_MODULE_1__[\"multicast\"])(function () {\n          return subject;\n        }, selector)(source);\n      };\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/race.js\":\n  /*!***************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/race.js ***!\n    \\***************************************************************/\n\n  /*! exports provided: race */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsRaceJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"race\", function () {\n      return race;\n    });\n    /* harmony import */\n\n\n    var _util_isArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../util/isArray */\n    \"./node_modules/rxjs/_esm2015/internal/util/isArray.js\");\n    /* harmony import */\n\n\n    var _observable_race__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../observable/race */\n    \"./node_modules/rxjs/_esm2015/internal/observable/race.js\");\n\n    function race() {\n      for (var _len62 = arguments.length, observables = new Array(_len62), _key62 = 0; _key62 < _len62; _key62++) {\n        observables[_key62] = arguments[_key62];\n      }\n\n      return function raceOperatorFunction(source) {\n        if (observables.length === 1 && Object(_util_isArray__WEBPACK_IMPORTED_MODULE_0__[\"isArray\"])(observables[0])) {\n          observables = observables[0];\n        }\n\n        return source.lift.call(Object(_observable_race__WEBPACK_IMPORTED_MODULE_1__[\"race\"]).apply(void 0, [source].concat(_toConsumableArray(observables))));\n      };\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/reduce.js\":\n  /*!*****************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/reduce.js ***!\n    \\*****************************************************************/\n\n  /*! exports provided: reduce */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsReduceJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"reduce\", function () {\n      return reduce;\n    });\n    /* harmony import */\n\n\n    var _scan__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./scan */\n    \"./node_modules/rxjs/_esm2015/internal/operators/scan.js\");\n    /* harmony import */\n\n\n    var _takeLast__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ./takeLast */\n    \"./node_modules/rxjs/_esm2015/internal/operators/takeLast.js\");\n    /* harmony import */\n\n\n    var _defaultIfEmpty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ./defaultIfEmpty */\n    \"./node_modules/rxjs/_esm2015/internal/operators/defaultIfEmpty.js\");\n    /* harmony import */\n\n\n    var _util_pipe__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ../util/pipe */\n    \"./node_modules/rxjs/_esm2015/internal/util/pipe.js\");\n\n    function reduce(accumulator, seed) {\n      if (arguments.length >= 2) {\n        return function reduceOperatorFunctionWithSeed(source) {\n          return Object(_util_pipe__WEBPACK_IMPORTED_MODULE_3__[\"pipe\"])(Object(_scan__WEBPACK_IMPORTED_MODULE_0__[\"scan\"])(accumulator, seed), Object(_takeLast__WEBPACK_IMPORTED_MODULE_1__[\"takeLast\"])(1), Object(_defaultIfEmpty__WEBPACK_IMPORTED_MODULE_2__[\"defaultIfEmpty\"])(seed))(source);\n        };\n      }\n\n      return function reduceOperatorFunction(source) {\n        return Object(_util_pipe__WEBPACK_IMPORTED_MODULE_3__[\"pipe\"])(Object(_scan__WEBPACK_IMPORTED_MODULE_0__[\"scan\"])(function (acc, value, index) {\n          return accumulator(acc, value, index + 1);\n        }), Object(_takeLast__WEBPACK_IMPORTED_MODULE_1__[\"takeLast\"])(1))(source);\n      };\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/refCount.js\":\n  /*!*******************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/refCount.js ***!\n    \\*******************************************************************/\n\n  /*! exports provided: refCount */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsRefCountJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"refCount\", function () {\n      return refCount;\n    });\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\n    function refCount() {\n      return function refCountOperatorFunction(source) {\n        return source.lift(new RefCountOperator(source));\n      };\n    }\n\n    var RefCountOperator =\n    /*#__PURE__*/\n    function () {\n      function RefCountOperator(connectable) {\n        _classCallCheck(this, RefCountOperator);\n\n        this.connectable = connectable;\n      }\n\n      _createClass2(RefCountOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          var connectable = this.connectable;\n          connectable._refCount++;\n          var refCounter = new RefCountSubscriber(subscriber, connectable);\n          var subscription = source.subscribe(refCounter);\n\n          if (!refCounter.closed) {\n            refCounter.connection = connectable.connect();\n          }\n\n          return subscription;\n        }\n      }]);\n\n      return RefCountOperator;\n    }();\n\n    var RefCountSubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_29) {\n      _inherits(RefCountSubscriber, _Subscriber__WEBPACK_29);\n\n      function RefCountSubscriber(destination, connectable) {\n        var _this758;\n\n        _classCallCheck(this, RefCountSubscriber);\n\n        _this758 = _possibleConstructorReturn(this, _getPrototypeOf(RefCountSubscriber).call(this, destination));\n        _this758.connectable = connectable;\n        return _this758;\n      }\n\n      _createClass2(RefCountSubscriber, [{\n        key: \"_unsubscribe\",\n        value: function _unsubscribe() {\n          var connectable = this.connectable;\n\n          if (!connectable) {\n            this.connection = null;\n            return;\n          }\n\n          this.connectable = null;\n          var refCount = connectable._refCount;\n\n          if (refCount <= 0) {\n            this.connection = null;\n            return;\n          }\n\n          connectable._refCount = refCount - 1;\n\n          if (refCount > 1) {\n            this.connection = null;\n            return;\n          }\n\n          var connection = this.connection;\n          var sharedConnection = connectable._connection;\n          this.connection = null;\n\n          if (sharedConnection && (!connection || sharedConnection === connection)) {\n            sharedConnection.unsubscribe();\n          }\n        }\n      }]);\n\n      return RefCountSubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/repeat.js\":\n  /*!*****************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/repeat.js ***!\n    \\*****************************************************************/\n\n  /*! exports provided: repeat */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsRepeatJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"repeat\", function () {\n      return repeat;\n    });\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n    /* harmony import */\n\n\n    var _observable_empty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../observable/empty */\n    \"./node_modules/rxjs/_esm2015/internal/observable/empty.js\");\n\n    function repeat() {\n      var count = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : -1;\n      return function (source) {\n        if (count === 0) {\n          return Object(_observable_empty__WEBPACK_IMPORTED_MODULE_1__[\"empty\"])();\n        } else if (count < 0) {\n          return source.lift(new RepeatOperator(-1, source));\n        } else {\n          return source.lift(new RepeatOperator(count - 1, source));\n        }\n      };\n    }\n\n    var RepeatOperator =\n    /*#__PURE__*/\n    function () {\n      function RepeatOperator(count, source) {\n        _classCallCheck(this, RepeatOperator);\n\n        this.count = count;\n        this.source = source;\n      }\n\n      _createClass2(RepeatOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new RepeatSubscriber(subscriber, this.count, this.source));\n        }\n      }]);\n\n      return RepeatOperator;\n    }();\n\n    var RepeatSubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_30) {\n      _inherits(RepeatSubscriber, _Subscriber__WEBPACK_30);\n\n      function RepeatSubscriber(destination, count, source) {\n        var _this759;\n\n        _classCallCheck(this, RepeatSubscriber);\n\n        _this759 = _possibleConstructorReturn(this, _getPrototypeOf(RepeatSubscriber).call(this, destination));\n        _this759.count = count;\n        _this759.source = source;\n        return _this759;\n      }\n\n      _createClass2(RepeatSubscriber, [{\n        key: \"complete\",\n        value: function complete() {\n          if (!this.isStopped) {\n            var source = this.source,\n                count = this.count;\n\n            if (count === 0) {\n              return _get(_getPrototypeOf(RepeatSubscriber.prototype), \"complete\", this).call(this);\n            } else if (count > -1) {\n              this.count = count - 1;\n            }\n\n            source.subscribe(this._unsubscribeAndRecycle());\n          }\n        }\n      }]);\n\n      return RepeatSubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/repeatWhen.js\":\n  /*!*********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/repeatWhen.js ***!\n    \\*********************************************************************/\n\n  /*! exports provided: repeatWhen */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsRepeatWhenJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"repeatWhen\", function () {\n      return repeatWhen;\n    });\n    /* harmony import */\n\n\n    var _Subject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subject */\n    \"./node_modules/rxjs/_esm2015/internal/Subject.js\");\n    /* harmony import */\n\n\n    var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../OuterSubscriber */\n    \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n    /* harmony import */\n\n\n    var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../util/subscribeToResult */\n    \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n    function repeatWhen(notifier) {\n      return function (source) {\n        return source.lift(new RepeatWhenOperator(notifier));\n      };\n    }\n\n    var RepeatWhenOperator =\n    /*#__PURE__*/\n    function () {\n      function RepeatWhenOperator(notifier) {\n        _classCallCheck(this, RepeatWhenOperator);\n\n        this.notifier = notifier;\n      }\n\n      _createClass2(RepeatWhenOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new RepeatWhenSubscriber(subscriber, this.notifier, source));\n        }\n      }]);\n\n      return RepeatWhenOperator;\n    }();\n\n    var RepeatWhenSubscriber =\n    /*#__PURE__*/\n    function (_OuterSubscriber__WEB19) {\n      _inherits(RepeatWhenSubscriber, _OuterSubscriber__WEB19);\n\n      function RepeatWhenSubscriber(destination, notifier, source) {\n        var _this760;\n\n        _classCallCheck(this, RepeatWhenSubscriber);\n\n        _this760 = _possibleConstructorReturn(this, _getPrototypeOf(RepeatWhenSubscriber).call(this, destination));\n        _this760.notifier = notifier;\n        _this760.source = source;\n        _this760.sourceIsBeingSubscribedTo = true;\n        return _this760;\n      }\n\n      _createClass2(RepeatWhenSubscriber, [{\n        key: \"notifyNext\",\n        value: function notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n          this.sourceIsBeingSubscribedTo = true;\n          this.source.subscribe(this);\n        }\n      }, {\n        key: \"notifyComplete\",\n        value: function notifyComplete(innerSub) {\n          if (this.sourceIsBeingSubscribedTo === false) {\n            return _get(_getPrototypeOf(RepeatWhenSubscriber.prototype), \"complete\", this).call(this);\n          }\n        }\n      }, {\n        key: \"complete\",\n        value: function complete() {\n          this.sourceIsBeingSubscribedTo = false;\n\n          if (!this.isStopped) {\n            if (!this.retries) {\n              this.subscribeToRetries();\n            }\n\n            if (!this.retriesSubscription || this.retriesSubscription.closed) {\n              return _get(_getPrototypeOf(RepeatWhenSubscriber.prototype), \"complete\", this).call(this);\n            }\n\n            this._unsubscribeAndRecycle();\n\n            this.notifications.next();\n          }\n        }\n      }, {\n        key: \"_unsubscribe\",\n        value: function _unsubscribe() {\n          var notifications = this.notifications,\n              retriesSubscription = this.retriesSubscription;\n\n          if (notifications) {\n            notifications.unsubscribe();\n            this.notifications = null;\n          }\n\n          if (retriesSubscription) {\n            retriesSubscription.unsubscribe();\n            this.retriesSubscription = null;\n          }\n\n          this.retries = null;\n        }\n      }, {\n        key: \"_unsubscribeAndRecycle\",\n        value: function _unsubscribeAndRecycle() {\n          var _unsubscribe = this._unsubscribe;\n          this._unsubscribe = null;\n\n          _get(_getPrototypeOf(RepeatWhenSubscriber.prototype), \"_unsubscribeAndRecycle\", this).call(this);\n\n          this._unsubscribe = _unsubscribe;\n          return this;\n        }\n      }, {\n        key: \"subscribeToRetries\",\n        value: function subscribeToRetries() {\n          this.notifications = new _Subject__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]();\n          var retries;\n\n          try {\n            var notifier = this.notifier;\n            retries = notifier(this.notifications);\n          } catch (e) {\n            return _get(_getPrototypeOf(RepeatWhenSubscriber.prototype), \"complete\", this).call(this);\n          }\n\n          this.retries = retries;\n          this.retriesSubscription = Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_2__[\"subscribeToResult\"])(this, retries);\n        }\n      }]);\n\n      return RepeatWhenSubscriber;\n    }(_OuterSubscriber__WEBPACK_IMPORTED_MODULE_1__[\"OuterSubscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/retry.js\":\n  /*!****************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/retry.js ***!\n    \\****************************************************************/\n\n  /*! exports provided: retry */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsRetryJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"retry\", function () {\n      return retry;\n    });\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\n    function retry() {\n      var count = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : -1;\n      return function (source) {\n        return source.lift(new RetryOperator(count, source));\n      };\n    }\n\n    var RetryOperator =\n    /*#__PURE__*/\n    function () {\n      function RetryOperator(count, source) {\n        _classCallCheck(this, RetryOperator);\n\n        this.count = count;\n        this.source = source;\n      }\n\n      _createClass2(RetryOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new RetrySubscriber(subscriber, this.count, this.source));\n        }\n      }]);\n\n      return RetryOperator;\n    }();\n\n    var RetrySubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_31) {\n      _inherits(RetrySubscriber, _Subscriber__WEBPACK_31);\n\n      function RetrySubscriber(destination, count, source) {\n        var _this761;\n\n        _classCallCheck(this, RetrySubscriber);\n\n        _this761 = _possibleConstructorReturn(this, _getPrototypeOf(RetrySubscriber).call(this, destination));\n        _this761.count = count;\n        _this761.source = source;\n        return _this761;\n      }\n\n      _createClass2(RetrySubscriber, [{\n        key: \"error\",\n        value: function error(err) {\n          if (!this.isStopped) {\n            var source = this.source,\n                count = this.count;\n\n            if (count === 0) {\n              return _get(_getPrototypeOf(RetrySubscriber.prototype), \"error\", this).call(this, err);\n            } else if (count > -1) {\n              this.count = count - 1;\n            }\n\n            source.subscribe(this._unsubscribeAndRecycle());\n          }\n        }\n      }]);\n\n      return RetrySubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/retryWhen.js\":\n  /*!********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/retryWhen.js ***!\n    \\********************************************************************/\n\n  /*! exports provided: retryWhen */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsRetryWhenJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"retryWhen\", function () {\n      return retryWhen;\n    });\n    /* harmony import */\n\n\n    var _Subject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subject */\n    \"./node_modules/rxjs/_esm2015/internal/Subject.js\");\n    /* harmony import */\n\n\n    var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../OuterSubscriber */\n    \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n    /* harmony import */\n\n\n    var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../util/subscribeToResult */\n    \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n    function retryWhen(notifier) {\n      return function (source) {\n        return source.lift(new RetryWhenOperator(notifier, source));\n      };\n    }\n\n    var RetryWhenOperator =\n    /*#__PURE__*/\n    function () {\n      function RetryWhenOperator(notifier, source) {\n        _classCallCheck(this, RetryWhenOperator);\n\n        this.notifier = notifier;\n        this.source = source;\n      }\n\n      _createClass2(RetryWhenOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new RetryWhenSubscriber(subscriber, this.notifier, this.source));\n        }\n      }]);\n\n      return RetryWhenOperator;\n    }();\n\n    var RetryWhenSubscriber =\n    /*#__PURE__*/\n    function (_OuterSubscriber__WEB20) {\n      _inherits(RetryWhenSubscriber, _OuterSubscriber__WEB20);\n\n      function RetryWhenSubscriber(destination, notifier, source) {\n        var _this762;\n\n        _classCallCheck(this, RetryWhenSubscriber);\n\n        _this762 = _possibleConstructorReturn(this, _getPrototypeOf(RetryWhenSubscriber).call(this, destination));\n        _this762.notifier = notifier;\n        _this762.source = source;\n        return _this762;\n      }\n\n      _createClass2(RetryWhenSubscriber, [{\n        key: \"error\",\n        value: function error(err) {\n          if (!this.isStopped) {\n            var errors = this.errors;\n            var retries = this.retries;\n            var retriesSubscription = this.retriesSubscription;\n\n            if (!retries) {\n              errors = new _Subject__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]();\n\n              try {\n                var notifier = this.notifier;\n                retries = notifier(errors);\n              } catch (e) {\n                return _get(_getPrototypeOf(RetryWhenSubscriber.prototype), \"error\", this).call(this, e);\n              }\n\n              retriesSubscription = Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_2__[\"subscribeToResult\"])(this, retries);\n            } else {\n              this.errors = null;\n              this.retriesSubscription = null;\n            }\n\n            this._unsubscribeAndRecycle();\n\n            this.errors = errors;\n            this.retries = retries;\n            this.retriesSubscription = retriesSubscription;\n            errors.next(err);\n          }\n        }\n      }, {\n        key: \"_unsubscribe\",\n        value: function _unsubscribe() {\n          var errors = this.errors,\n              retriesSubscription = this.retriesSubscription;\n\n          if (errors) {\n            errors.unsubscribe();\n            this.errors = null;\n          }\n\n          if (retriesSubscription) {\n            retriesSubscription.unsubscribe();\n            this.retriesSubscription = null;\n          }\n\n          this.retries = null;\n        }\n      }, {\n        key: \"notifyNext\",\n        value: function notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n          var _unsubscribe = this._unsubscribe;\n          this._unsubscribe = null;\n\n          this._unsubscribeAndRecycle();\n\n          this._unsubscribe = _unsubscribe;\n          this.source.subscribe(this);\n        }\n      }]);\n\n      return RetryWhenSubscriber;\n    }(_OuterSubscriber__WEBPACK_IMPORTED_MODULE_1__[\"OuterSubscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/sample.js\":\n  /*!*****************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/sample.js ***!\n    \\*****************************************************************/\n\n  /*! exports provided: sample */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsSampleJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"sample\", function () {\n      return sample;\n    });\n    /* harmony import */\n\n\n    var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../OuterSubscriber */\n    \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n    /* harmony import */\n\n\n    var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../util/subscribeToResult */\n    \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n    function sample(notifier) {\n      return function (source) {\n        return source.lift(new SampleOperator(notifier));\n      };\n    }\n\n    var SampleOperator =\n    /*#__PURE__*/\n    function () {\n      function SampleOperator(notifier) {\n        _classCallCheck(this, SampleOperator);\n\n        this.notifier = notifier;\n      }\n\n      _createClass2(SampleOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          var sampleSubscriber = new SampleSubscriber(subscriber);\n          var subscription = source.subscribe(sampleSubscriber);\n          subscription.add(Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__[\"subscribeToResult\"])(sampleSubscriber, this.notifier));\n          return subscription;\n        }\n      }]);\n\n      return SampleOperator;\n    }();\n\n    var SampleSubscriber =\n    /*#__PURE__*/\n    function (_OuterSubscriber__WEB21) {\n      _inherits(SampleSubscriber, _OuterSubscriber__WEB21);\n\n      function SampleSubscriber() {\n        var _this763;\n\n        _classCallCheck(this, SampleSubscriber);\n\n        _this763 = _possibleConstructorReturn(this, _getPrototypeOf(SampleSubscriber).apply(this, arguments));\n        _this763.hasValue = false;\n        return _this763;\n      }\n\n      _createClass2(SampleSubscriber, [{\n        key: \"_next\",\n        value: function _next(value) {\n          this.value = value;\n          this.hasValue = true;\n        }\n      }, {\n        key: \"notifyNext\",\n        value: function notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n          this.emitValue();\n        }\n      }, {\n        key: \"notifyComplete\",\n        value: function notifyComplete() {\n          this.emitValue();\n        }\n      }, {\n        key: \"emitValue\",\n        value: function emitValue() {\n          if (this.hasValue) {\n            this.hasValue = false;\n            this.destination.next(this.value);\n          }\n        }\n      }]);\n\n      return SampleSubscriber;\n    }(_OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__[\"OuterSubscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/sampleTime.js\":\n  /*!*********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/sampleTime.js ***!\n    \\*********************************************************************/\n\n  /*! exports provided: sampleTime */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsSampleTimeJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"sampleTime\", function () {\n      return sampleTime;\n    });\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n    /* harmony import */\n\n\n    var _scheduler_async__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../scheduler/async */\n    \"./node_modules/rxjs/_esm2015/internal/scheduler/async.js\");\n\n    function sampleTime(period) {\n      var scheduler = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _scheduler_async__WEBPACK_IMPORTED_MODULE_1__[\"async\"];\n      return function (source) {\n        return source.lift(new SampleTimeOperator(period, scheduler));\n      };\n    }\n\n    var SampleTimeOperator =\n    /*#__PURE__*/\n    function () {\n      function SampleTimeOperator(period, scheduler) {\n        _classCallCheck(this, SampleTimeOperator);\n\n        this.period = period;\n        this.scheduler = scheduler;\n      }\n\n      _createClass2(SampleTimeOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new SampleTimeSubscriber(subscriber, this.period, this.scheduler));\n        }\n      }]);\n\n      return SampleTimeOperator;\n    }();\n\n    var SampleTimeSubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_32) {\n      _inherits(SampleTimeSubscriber, _Subscriber__WEBPACK_32);\n\n      function SampleTimeSubscriber(destination, period, scheduler) {\n        var _this764;\n\n        _classCallCheck(this, SampleTimeSubscriber);\n\n        _this764 = _possibleConstructorReturn(this, _getPrototypeOf(SampleTimeSubscriber).call(this, destination));\n        _this764.period = period;\n        _this764.scheduler = scheduler;\n        _this764.hasValue = false;\n\n        _this764.add(scheduler.schedule(dispatchNotification, period, {\n          subscriber: _assertThisInitialized(_this764),\n          period: period\n        }));\n\n        return _this764;\n      }\n\n      _createClass2(SampleTimeSubscriber, [{\n        key: \"_next\",\n        value: function _next(value) {\n          this.lastValue = value;\n          this.hasValue = true;\n        }\n      }, {\n        key: \"notifyNext\",\n        value: function notifyNext() {\n          if (this.hasValue) {\n            this.hasValue = false;\n            this.destination.next(this.lastValue);\n          }\n        }\n      }]);\n\n      return SampleTimeSubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]);\n\n    function dispatchNotification(state) {\n      var subscriber = state.subscriber,\n          period = state.period;\n      subscriber.notifyNext();\n      this.schedule(state, period);\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/scan.js\":\n  /*!***************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/scan.js ***!\n    \\***************************************************************/\n\n  /*! exports provided: scan */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsScanJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"scan\", function () {\n      return scan;\n    });\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\n    function scan(accumulator, seed) {\n      var hasSeed = false;\n\n      if (arguments.length >= 2) {\n        hasSeed = true;\n      }\n\n      return function scanOperatorFunction(source) {\n        return source.lift(new ScanOperator(accumulator, seed, hasSeed));\n      };\n    }\n\n    var ScanOperator =\n    /*#__PURE__*/\n    function () {\n      function ScanOperator(accumulator, seed) {\n        var hasSeed = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n\n        _classCallCheck(this, ScanOperator);\n\n        this.accumulator = accumulator;\n        this.seed = seed;\n        this.hasSeed = hasSeed;\n      }\n\n      _createClass2(ScanOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new ScanSubscriber(subscriber, this.accumulator, this.seed, this.hasSeed));\n        }\n      }]);\n\n      return ScanOperator;\n    }();\n\n    var ScanSubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_33) {\n      _inherits(ScanSubscriber, _Subscriber__WEBPACK_33);\n\n      function ScanSubscriber(destination, accumulator, _seed, hasSeed) {\n        var _this765;\n\n        _classCallCheck(this, ScanSubscriber);\n\n        _this765 = _possibleConstructorReturn(this, _getPrototypeOf(ScanSubscriber).call(this, destination));\n        _this765.accumulator = accumulator;\n        _this765._seed = _seed;\n        _this765.hasSeed = hasSeed;\n        _this765.index = 0;\n        return _this765;\n      }\n\n      _createClass2(ScanSubscriber, [{\n        key: \"_next\",\n        value: function _next(value) {\n          if (!this.hasSeed) {\n            this.seed = value;\n            this.destination.next(value);\n          } else {\n            return this._tryNext(value);\n          }\n        }\n      }, {\n        key: \"_tryNext\",\n        value: function _tryNext(value) {\n          var index = this.index++;\n          var result;\n\n          try {\n            result = this.accumulator(this.seed, value, index);\n          } catch (err) {\n            this.destination.error(err);\n          }\n\n          this.seed = result;\n          this.destination.next(result);\n        }\n      }, {\n        key: \"seed\",\n        get: function get() {\n          return this._seed;\n        },\n        set: function set(value) {\n          this.hasSeed = true;\n          this._seed = value;\n        }\n      }]);\n\n      return ScanSubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/sequenceEqual.js\":\n  /*!************************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/sequenceEqual.js ***!\n    \\************************************************************************/\n\n  /*! exports provided: sequenceEqual, SequenceEqualOperator, SequenceEqualSubscriber */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsSequenceEqualJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"sequenceEqual\", function () {\n      return sequenceEqual;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"SequenceEqualOperator\", function () {\n      return SequenceEqualOperator;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"SequenceEqualSubscriber\", function () {\n      return SequenceEqualSubscriber;\n    });\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\n    function sequenceEqual(compareTo, comparator) {\n      return function (source) {\n        return source.lift(new SequenceEqualOperator(compareTo, comparator));\n      };\n    }\n\n    var SequenceEqualOperator =\n    /*#__PURE__*/\n    function () {\n      function SequenceEqualOperator(compareTo, comparator) {\n        _classCallCheck(this, SequenceEqualOperator);\n\n        this.compareTo = compareTo;\n        this.comparator = comparator;\n      }\n\n      _createClass2(SequenceEqualOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new SequenceEqualSubscriber(subscriber, this.compareTo, this.comparator));\n        }\n      }]);\n\n      return SequenceEqualOperator;\n    }();\n\n    var SequenceEqualSubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_34) {\n      _inherits(SequenceEqualSubscriber, _Subscriber__WEBPACK_34);\n\n      function SequenceEqualSubscriber(destination, compareTo, comparator) {\n        var _this766;\n\n        _classCallCheck(this, SequenceEqualSubscriber);\n\n        _this766 = _possibleConstructorReturn(this, _getPrototypeOf(SequenceEqualSubscriber).call(this, destination));\n        _this766.compareTo = compareTo;\n        _this766.comparator = comparator;\n        _this766._a = [];\n        _this766._b = [];\n        _this766._oneComplete = false;\n\n        _this766.destination.add(compareTo.subscribe(new SequenceEqualCompareToSubscriber(destination, _assertThisInitialized(_this766))));\n\n        return _this766;\n      }\n\n      _createClass2(SequenceEqualSubscriber, [{\n        key: \"_next\",\n        value: function _next(value) {\n          if (this._oneComplete && this._b.length === 0) {\n            this.emit(false);\n          } else {\n            this._a.push(value);\n\n            this.checkValues();\n          }\n        }\n      }, {\n        key: \"_complete\",\n        value: function _complete() {\n          if (this._oneComplete) {\n            this.emit(this._a.length === 0 && this._b.length === 0);\n          } else {\n            this._oneComplete = true;\n          }\n\n          this.unsubscribe();\n        }\n      }, {\n        key: \"checkValues\",\n        value: function checkValues() {\n          var _a = this._a,\n              _b = this._b,\n              comparator = this.comparator;\n\n          while (_a.length > 0 && _b.length > 0) {\n            var a = _a.shift();\n\n            var b = _b.shift();\n\n            var areEqual = false;\n\n            try {\n              areEqual = comparator ? comparator(a, b) : a === b;\n            } catch (e) {\n              this.destination.error(e);\n            }\n\n            if (!areEqual) {\n              this.emit(false);\n            }\n          }\n        }\n      }, {\n        key: \"emit\",\n        value: function emit(value) {\n          var destination = this.destination;\n          destination.next(value);\n          destination.complete();\n        }\n      }, {\n        key: \"nextB\",\n        value: function nextB(value) {\n          if (this._oneComplete && this._a.length === 0) {\n            this.emit(false);\n          } else {\n            this._b.push(value);\n\n            this.checkValues();\n          }\n        }\n      }, {\n        key: \"completeB\",\n        value: function completeB() {\n          if (this._oneComplete) {\n            this.emit(this._a.length === 0 && this._b.length === 0);\n          } else {\n            this._oneComplete = true;\n          }\n        }\n      }]);\n\n      return SequenceEqualSubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]);\n\n    var SequenceEqualCompareToSubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_35) {\n      _inherits(SequenceEqualCompareToSubscriber, _Subscriber__WEBPACK_35);\n\n      function SequenceEqualCompareToSubscriber(destination, parent) {\n        var _this767;\n\n        _classCallCheck(this, SequenceEqualCompareToSubscriber);\n\n        _this767 = _possibleConstructorReturn(this, _getPrototypeOf(SequenceEqualCompareToSubscriber).call(this, destination));\n        _this767.parent = parent;\n        return _this767;\n      }\n\n      _createClass2(SequenceEqualCompareToSubscriber, [{\n        key: \"_next\",\n        value: function _next(value) {\n          this.parent.nextB(value);\n        }\n      }, {\n        key: \"_error\",\n        value: function _error(err) {\n          this.parent.error(err);\n          this.unsubscribe();\n        }\n      }, {\n        key: \"_complete\",\n        value: function _complete() {\n          this.parent.completeB();\n          this.unsubscribe();\n        }\n      }]);\n\n      return SequenceEqualCompareToSubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/share.js\":\n  /*!****************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/share.js ***!\n    \\****************************************************************/\n\n  /*! exports provided: share */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsShareJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"share\", function () {\n      return share;\n    });\n    /* harmony import */\n\n\n    var _multicast__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./multicast */\n    \"./node_modules/rxjs/_esm2015/internal/operators/multicast.js\");\n    /* harmony import */\n\n\n    var _refCount__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ./refCount */\n    \"./node_modules/rxjs/_esm2015/internal/operators/refCount.js\");\n    /* harmony import */\n\n\n    var _Subject__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../Subject */\n    \"./node_modules/rxjs/_esm2015/internal/Subject.js\");\n\n    function shareSubjectFactory() {\n      return new _Subject__WEBPACK_IMPORTED_MODULE_2__[\"Subject\"]();\n    }\n\n    function share() {\n      return function (source) {\n        return Object(_refCount__WEBPACK_IMPORTED_MODULE_1__[\"refCount\"])()(Object(_multicast__WEBPACK_IMPORTED_MODULE_0__[\"multicast\"])(shareSubjectFactory)(source));\n      };\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/shareReplay.js\":\n  /*!**********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/shareReplay.js ***!\n    \\**********************************************************************/\n\n  /*! exports provided: shareReplay */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsShareReplayJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"shareReplay\", function () {\n      return shareReplay;\n    });\n    /* harmony import */\n\n\n    var _ReplaySubject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../ReplaySubject */\n    \"./node_modules/rxjs/_esm2015/internal/ReplaySubject.js\");\n\n    function shareReplay(configOrBufferSize, windowTime, scheduler) {\n      var config;\n\n      if (configOrBufferSize && typeof configOrBufferSize === 'object') {\n        config = configOrBufferSize;\n      } else {\n        config = {\n          bufferSize: configOrBufferSize,\n          windowTime: windowTime,\n          refCount: false,\n          scheduler: scheduler\n        };\n      }\n\n      return function (source) {\n        return source.lift(shareReplayOperator(config));\n      };\n    }\n\n    function shareReplayOperator(_ref80) {\n      var _ref80$bufferSize = _ref80.bufferSize,\n          bufferSize = _ref80$bufferSize === void 0 ? Number.POSITIVE_INFINITY : _ref80$bufferSize,\n          _ref80$windowTime = _ref80.windowTime,\n          windowTime = _ref80$windowTime === void 0 ? Number.POSITIVE_INFINITY : _ref80$windowTime,\n          useRefCount = _ref80.refCount,\n          scheduler = _ref80.scheduler;\n      var subject;\n      var refCount = 0;\n      var subscription;\n      var hasError = false;\n      var isComplete = false;\n      return function shareReplayOperation(source) {\n        refCount++;\n\n        if (!subject || hasError) {\n          hasError = false;\n          subject = new _ReplaySubject__WEBPACK_IMPORTED_MODULE_0__[\"ReplaySubject\"](bufferSize, windowTime, scheduler);\n          subscription = source.subscribe({\n            next: function next(value) {\n              subject.next(value);\n            },\n            error: function error(err) {\n              hasError = true;\n              subject.error(err);\n            },\n            complete: function complete() {\n              isComplete = true;\n              subject.complete();\n            }\n          });\n        }\n\n        var innerSub = subject.subscribe(this);\n        this.add(function () {\n          refCount--;\n          innerSub.unsubscribe();\n\n          if (subscription && !isComplete && useRefCount && refCount === 0) {\n            subscription.unsubscribe();\n            subscription = undefined;\n            subject = undefined;\n          }\n        });\n      };\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/single.js\":\n  /*!*****************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/single.js ***!\n    \\*****************************************************************/\n\n  /*! exports provided: single */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsSingleJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"single\", function () {\n      return single;\n    });\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n    /* harmony import */\n\n\n    var _util_EmptyError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../util/EmptyError */\n    \"./node_modules/rxjs/_esm2015/internal/util/EmptyError.js\");\n\n    function single(predicate) {\n      return function (source) {\n        return source.lift(new SingleOperator(predicate, source));\n      };\n    }\n\n    var SingleOperator =\n    /*#__PURE__*/\n    function () {\n      function SingleOperator(predicate, source) {\n        _classCallCheck(this, SingleOperator);\n\n        this.predicate = predicate;\n        this.source = source;\n      }\n\n      _createClass2(SingleOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new SingleSubscriber(subscriber, this.predicate, this.source));\n        }\n      }]);\n\n      return SingleOperator;\n    }();\n\n    var SingleSubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_36) {\n      _inherits(SingleSubscriber, _Subscriber__WEBPACK_36);\n\n      function SingleSubscriber(destination, predicate, source) {\n        var _this768;\n\n        _classCallCheck(this, SingleSubscriber);\n\n        _this768 = _possibleConstructorReturn(this, _getPrototypeOf(SingleSubscriber).call(this, destination));\n        _this768.predicate = predicate;\n        _this768.source = source;\n        _this768.seenValue = false;\n        _this768.index = 0;\n        return _this768;\n      }\n\n      _createClass2(SingleSubscriber, [{\n        key: \"applySingleValue\",\n        value: function applySingleValue(value) {\n          if (this.seenValue) {\n            this.destination.error('Sequence contains more than one element');\n          } else {\n            this.seenValue = true;\n            this.singleValue = value;\n          }\n        }\n      }, {\n        key: \"_next\",\n        value: function _next(value) {\n          var index = this.index++;\n\n          if (this.predicate) {\n            this.tryNext(value, index);\n          } else {\n            this.applySingleValue(value);\n          }\n        }\n      }, {\n        key: \"tryNext\",\n        value: function tryNext(value, index) {\n          try {\n            if (this.predicate(value, index, this.source)) {\n              this.applySingleValue(value);\n            }\n          } catch (err) {\n            this.destination.error(err);\n          }\n        }\n      }, {\n        key: \"_complete\",\n        value: function _complete() {\n          var destination = this.destination;\n\n          if (this.index > 0) {\n            destination.next(this.seenValue ? this.singleValue : undefined);\n            destination.complete();\n          } else {\n            destination.error(new _util_EmptyError__WEBPACK_IMPORTED_MODULE_1__[\"EmptyError\"]());\n          }\n        }\n      }]);\n\n      return SingleSubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/skip.js\":\n  /*!***************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/skip.js ***!\n    \\***************************************************************/\n\n  /*! exports provided: skip */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsSkipJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"skip\", function () {\n      return skip;\n    });\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\n    function skip(count) {\n      return function (source) {\n        return source.lift(new SkipOperator(count));\n      };\n    }\n\n    var SkipOperator =\n    /*#__PURE__*/\n    function () {\n      function SkipOperator(total) {\n        _classCallCheck(this, SkipOperator);\n\n        this.total = total;\n      }\n\n      _createClass2(SkipOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new SkipSubscriber(subscriber, this.total));\n        }\n      }]);\n\n      return SkipOperator;\n    }();\n\n    var SkipSubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_37) {\n      _inherits(SkipSubscriber, _Subscriber__WEBPACK_37);\n\n      function SkipSubscriber(destination, total) {\n        var _this769;\n\n        _classCallCheck(this, SkipSubscriber);\n\n        _this769 = _possibleConstructorReturn(this, _getPrototypeOf(SkipSubscriber).call(this, destination));\n        _this769.total = total;\n        _this769.count = 0;\n        return _this769;\n      }\n\n      _createClass2(SkipSubscriber, [{\n        key: \"_next\",\n        value: function _next(x) {\n          if (++this.count > this.total) {\n            this.destination.next(x);\n          }\n        }\n      }]);\n\n      return SkipSubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/skipLast.js\":\n  /*!*******************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/skipLast.js ***!\n    \\*******************************************************************/\n\n  /*! exports provided: skipLast */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsSkipLastJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"skipLast\", function () {\n      return skipLast;\n    });\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n    /* harmony import */\n\n\n    var _util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../util/ArgumentOutOfRangeError */\n    \"./node_modules/rxjs/_esm2015/internal/util/ArgumentOutOfRangeError.js\");\n\n    function skipLast(count) {\n      return function (source) {\n        return source.lift(new SkipLastOperator(count));\n      };\n    }\n\n    var SkipLastOperator =\n    /*#__PURE__*/\n    function () {\n      function SkipLastOperator(_skipCount) {\n        _classCallCheck(this, SkipLastOperator);\n\n        this._skipCount = _skipCount;\n\n        if (this._skipCount < 0) {\n          throw new _util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_1__[\"ArgumentOutOfRangeError\"]();\n        }\n      }\n\n      _createClass2(SkipLastOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          if (this._skipCount === 0) {\n            return source.subscribe(new _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"](subscriber));\n          } else {\n            return source.subscribe(new SkipLastSubscriber(subscriber, this._skipCount));\n          }\n        }\n      }]);\n\n      return SkipLastOperator;\n    }();\n\n    var SkipLastSubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_38) {\n      _inherits(SkipLastSubscriber, _Subscriber__WEBPACK_38);\n\n      function SkipLastSubscriber(destination, _skipCount) {\n        var _this770;\n\n        _classCallCheck(this, SkipLastSubscriber);\n\n        _this770 = _possibleConstructorReturn(this, _getPrototypeOf(SkipLastSubscriber).call(this, destination));\n        _this770._skipCount = _skipCount;\n        _this770._count = 0;\n        _this770._ring = new Array(_skipCount);\n        return _this770;\n      }\n\n      _createClass2(SkipLastSubscriber, [{\n        key: \"_next\",\n        value: function _next(value) {\n          var skipCount = this._skipCount;\n          var count = this._count++;\n\n          if (count < skipCount) {\n            this._ring[count] = value;\n          } else {\n            var currentIndex = count % skipCount;\n            var ring = this._ring;\n            var oldValue = ring[currentIndex];\n            ring[currentIndex] = value;\n            this.destination.next(oldValue);\n          }\n        }\n      }]);\n\n      return SkipLastSubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/skipUntil.js\":\n  /*!********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/skipUntil.js ***!\n    \\********************************************************************/\n\n  /*! exports provided: skipUntil */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsSkipUntilJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"skipUntil\", function () {\n      return skipUntil;\n    });\n    /* harmony import */\n\n\n    var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../OuterSubscriber */\n    \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n    /* harmony import */\n\n\n    var _InnerSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../InnerSubscriber */\n    \"./node_modules/rxjs/_esm2015/internal/InnerSubscriber.js\");\n    /* harmony import */\n\n\n    var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../util/subscribeToResult */\n    \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n    function skipUntil(notifier) {\n      return function (source) {\n        return source.lift(new SkipUntilOperator(notifier));\n      };\n    }\n\n    var SkipUntilOperator =\n    /*#__PURE__*/\n    function () {\n      function SkipUntilOperator(notifier) {\n        _classCallCheck(this, SkipUntilOperator);\n\n        this.notifier = notifier;\n      }\n\n      _createClass2(SkipUntilOperator, [{\n        key: \"call\",\n        value: function call(destination, source) {\n          return source.subscribe(new SkipUntilSubscriber(destination, this.notifier));\n        }\n      }]);\n\n      return SkipUntilOperator;\n    }();\n\n    var SkipUntilSubscriber =\n    /*#__PURE__*/\n    function (_OuterSubscriber__WEB22) {\n      _inherits(SkipUntilSubscriber, _OuterSubscriber__WEB22);\n\n      function SkipUntilSubscriber(destination, notifier) {\n        var _this771;\n\n        _classCallCheck(this, SkipUntilSubscriber);\n\n        _this771 = _possibleConstructorReturn(this, _getPrototypeOf(SkipUntilSubscriber).call(this, destination));\n        _this771.hasValue = false;\n        var innerSubscriber = new _InnerSubscriber__WEBPACK_IMPORTED_MODULE_1__[\"InnerSubscriber\"](_assertThisInitialized(_this771), undefined, undefined);\n\n        _this771.add(innerSubscriber);\n\n        _this771.innerSubscription = innerSubscriber;\n        Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_2__[\"subscribeToResult\"])(_assertThisInitialized(_this771), notifier, undefined, undefined, innerSubscriber);\n        return _this771;\n      }\n\n      _createClass2(SkipUntilSubscriber, [{\n        key: \"_next\",\n        value: function _next(value) {\n          if (this.hasValue) {\n            _get(_getPrototypeOf(SkipUntilSubscriber.prototype), \"_next\", this).call(this, value);\n          }\n        }\n      }, {\n        key: \"notifyNext\",\n        value: function notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n          this.hasValue = true;\n\n          if (this.innerSubscription) {\n            this.innerSubscription.unsubscribe();\n          }\n        }\n      }, {\n        key: \"notifyComplete\",\n        value: function notifyComplete() {}\n      }]);\n\n      return SkipUntilSubscriber;\n    }(_OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__[\"OuterSubscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/skipWhile.js\":\n  /*!********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/skipWhile.js ***!\n    \\********************************************************************/\n\n  /*! exports provided: skipWhile */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsSkipWhileJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"skipWhile\", function () {\n      return skipWhile;\n    });\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\n    function skipWhile(predicate) {\n      return function (source) {\n        return source.lift(new SkipWhileOperator(predicate));\n      };\n    }\n\n    var SkipWhileOperator =\n    /*#__PURE__*/\n    function () {\n      function SkipWhileOperator(predicate) {\n        _classCallCheck(this, SkipWhileOperator);\n\n        this.predicate = predicate;\n      }\n\n      _createClass2(SkipWhileOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new SkipWhileSubscriber(subscriber, this.predicate));\n        }\n      }]);\n\n      return SkipWhileOperator;\n    }();\n\n    var SkipWhileSubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_39) {\n      _inherits(SkipWhileSubscriber, _Subscriber__WEBPACK_39);\n\n      function SkipWhileSubscriber(destination, predicate) {\n        var _this772;\n\n        _classCallCheck(this, SkipWhileSubscriber);\n\n        _this772 = _possibleConstructorReturn(this, _getPrototypeOf(SkipWhileSubscriber).call(this, destination));\n        _this772.predicate = predicate;\n        _this772.skipping = true;\n        _this772.index = 0;\n        return _this772;\n      }\n\n      _createClass2(SkipWhileSubscriber, [{\n        key: \"_next\",\n        value: function _next(value) {\n          var destination = this.destination;\n\n          if (this.skipping) {\n            this.tryCallPredicate(value);\n          }\n\n          if (!this.skipping) {\n            destination.next(value);\n          }\n        }\n      }, {\n        key: \"tryCallPredicate\",\n        value: function tryCallPredicate(value) {\n          try {\n            var result = this.predicate(value, this.index++);\n            this.skipping = Boolean(result);\n          } catch (err) {\n            this.destination.error(err);\n          }\n        }\n      }]);\n\n      return SkipWhileSubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/startWith.js\":\n  /*!********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/startWith.js ***!\n    \\********************************************************************/\n\n  /*! exports provided: startWith */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsStartWithJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"startWith\", function () {\n      return startWith;\n    });\n    /* harmony import */\n\n\n    var _observable_fromArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../observable/fromArray */\n    \"./node_modules/rxjs/_esm2015/internal/observable/fromArray.js\");\n    /* harmony import */\n\n\n    var _observable_scalar__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../observable/scalar */\n    \"./node_modules/rxjs/_esm2015/internal/observable/scalar.js\");\n    /* harmony import */\n\n\n    var _observable_empty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../observable/empty */\n    \"./node_modules/rxjs/_esm2015/internal/observable/empty.js\");\n    /* harmony import */\n\n\n    var _observable_concat__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ../observable/concat */\n    \"./node_modules/rxjs/_esm2015/internal/observable/concat.js\");\n    /* harmony import */\n\n\n    var _util_isScheduler__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! ../util/isScheduler */\n    \"./node_modules/rxjs/_esm2015/internal/util/isScheduler.js\");\n\n    function startWith() {\n      for (var _len63 = arguments.length, array = new Array(_len63), _key63 = 0; _key63 < _len63; _key63++) {\n        array[_key63] = arguments[_key63];\n      }\n\n      return function (source) {\n        var scheduler = array[array.length - 1];\n\n        if (Object(_util_isScheduler__WEBPACK_IMPORTED_MODULE_4__[\"isScheduler\"])(scheduler)) {\n          array.pop();\n        } else {\n          scheduler = null;\n        }\n\n        var len = array.length;\n\n        if (len === 1 && !scheduler) {\n          return Object(_observable_concat__WEBPACK_IMPORTED_MODULE_3__[\"concat\"])(Object(_observable_scalar__WEBPACK_IMPORTED_MODULE_1__[\"scalar\"])(array[0]), source);\n        } else if (len > 0) {\n          return Object(_observable_concat__WEBPACK_IMPORTED_MODULE_3__[\"concat\"])(Object(_observable_fromArray__WEBPACK_IMPORTED_MODULE_0__[\"fromArray\"])(array, scheduler), source);\n        } else {\n          return Object(_observable_concat__WEBPACK_IMPORTED_MODULE_3__[\"concat\"])(Object(_observable_empty__WEBPACK_IMPORTED_MODULE_2__[\"empty\"])(scheduler), source);\n        }\n      };\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/subscribeOn.js\":\n  /*!**********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/subscribeOn.js ***!\n    \\**********************************************************************/\n\n  /*! exports provided: subscribeOn */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsSubscribeOnJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"subscribeOn\", function () {\n      return subscribeOn;\n    });\n    /* harmony import */\n\n\n    var _observable_SubscribeOnObservable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../observable/SubscribeOnObservable */\n    \"./node_modules/rxjs/_esm2015/internal/observable/SubscribeOnObservable.js\");\n\n    function subscribeOn(scheduler) {\n      var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n      return function subscribeOnOperatorFunction(source) {\n        return source.lift(new SubscribeOnOperator(scheduler, delay));\n      };\n    }\n\n    var SubscribeOnOperator =\n    /*#__PURE__*/\n    function () {\n      function SubscribeOnOperator(scheduler, delay) {\n        _classCallCheck(this, SubscribeOnOperator);\n\n        this.scheduler = scheduler;\n        this.delay = delay;\n      }\n\n      _createClass2(SubscribeOnOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return new _observable_SubscribeOnObservable__WEBPACK_IMPORTED_MODULE_0__[\"SubscribeOnObservable\"](source, this.delay, this.scheduler).subscribe(subscriber);\n        }\n      }]);\n\n      return SubscribeOnOperator;\n    }();\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/switchAll.js\":\n  /*!********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/switchAll.js ***!\n    \\********************************************************************/\n\n  /*! exports provided: switchAll */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsSwitchAllJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"switchAll\", function () {\n      return switchAll;\n    });\n    /* harmony import */\n\n\n    var _switchMap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./switchMap */\n    \"./node_modules/rxjs/_esm2015/internal/operators/switchMap.js\");\n    /* harmony import */\n\n\n    var _util_identity__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../util/identity */\n    \"./node_modules/rxjs/_esm2015/internal/util/identity.js\");\n\n    function switchAll() {\n      return Object(_switchMap__WEBPACK_IMPORTED_MODULE_0__[\"switchMap\"])(_util_identity__WEBPACK_IMPORTED_MODULE_1__[\"identity\"]);\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/switchMap.js\":\n  /*!********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/switchMap.js ***!\n    \\********************************************************************/\n\n  /*! exports provided: switchMap */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsSwitchMapJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"switchMap\", function () {\n      return switchMap;\n    });\n    /* harmony import */\n\n\n    var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../OuterSubscriber */\n    \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n    /* harmony import */\n\n\n    var _InnerSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../InnerSubscriber */\n    \"./node_modules/rxjs/_esm2015/internal/InnerSubscriber.js\");\n    /* harmony import */\n\n\n    var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../util/subscribeToResult */\n    \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n    /* harmony import */\n\n\n    var _map__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ./map */\n    \"./node_modules/rxjs/_esm2015/internal/operators/map.js\");\n    /* harmony import */\n\n\n    var _observable_from__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! ../observable/from */\n    \"./node_modules/rxjs/_esm2015/internal/observable/from.js\");\n\n    function switchMap(project, resultSelector) {\n      if (typeof resultSelector === 'function') {\n        return function (source) {\n          return source.pipe(switchMap(function (a, i) {\n            return Object(_observable_from__WEBPACK_IMPORTED_MODULE_4__[\"from\"])(project(a, i)).pipe(Object(_map__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(function (b, ii) {\n              return resultSelector(a, b, i, ii);\n            }));\n          }));\n        };\n      }\n\n      return function (source) {\n        return source.lift(new SwitchMapOperator(project));\n      };\n    }\n\n    var SwitchMapOperator =\n    /*#__PURE__*/\n    function () {\n      function SwitchMapOperator(project) {\n        _classCallCheck(this, SwitchMapOperator);\n\n        this.project = project;\n      }\n\n      _createClass2(SwitchMapOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new SwitchMapSubscriber(subscriber, this.project));\n        }\n      }]);\n\n      return SwitchMapOperator;\n    }();\n\n    var SwitchMapSubscriber =\n    /*#__PURE__*/\n    function (_OuterSubscriber__WEB23) {\n      _inherits(SwitchMapSubscriber, _OuterSubscriber__WEB23);\n\n      function SwitchMapSubscriber(destination, project) {\n        var _this773;\n\n        _classCallCheck(this, SwitchMapSubscriber);\n\n        _this773 = _possibleConstructorReturn(this, _getPrototypeOf(SwitchMapSubscriber).call(this, destination));\n        _this773.project = project;\n        _this773.index = 0;\n        return _this773;\n      }\n\n      _createClass2(SwitchMapSubscriber, [{\n        key: \"_next\",\n        value: function _next(value) {\n          var result;\n          var index = this.index++;\n\n          try {\n            result = this.project(value, index);\n          } catch (error) {\n            this.destination.error(error);\n            return;\n          }\n\n          this._innerSub(result, value, index);\n        }\n      }, {\n        key: \"_innerSub\",\n        value: function _innerSub(result, value, index) {\n          var innerSubscription = this.innerSubscription;\n\n          if (innerSubscription) {\n            innerSubscription.unsubscribe();\n          }\n\n          var innerSubscriber = new _InnerSubscriber__WEBPACK_IMPORTED_MODULE_1__[\"InnerSubscriber\"](this, undefined, undefined);\n          var destination = this.destination;\n          destination.add(innerSubscriber);\n          this.innerSubscription = Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_2__[\"subscribeToResult\"])(this, result, value, index, innerSubscriber);\n        }\n      }, {\n        key: \"_complete\",\n        value: function _complete() {\n          var innerSubscription = this.innerSubscription;\n\n          if (!innerSubscription || innerSubscription.closed) {\n            _get(_getPrototypeOf(SwitchMapSubscriber.prototype), \"_complete\", this).call(this);\n          }\n\n          this.unsubscribe();\n        }\n      }, {\n        key: \"_unsubscribe\",\n        value: function _unsubscribe() {\n          this.innerSubscription = null;\n        }\n      }, {\n        key: \"notifyComplete\",\n        value: function notifyComplete(innerSub) {\n          var destination = this.destination;\n          destination.remove(innerSub);\n          this.innerSubscription = null;\n\n          if (this.isStopped) {\n            _get(_getPrototypeOf(SwitchMapSubscriber.prototype), \"_complete\", this).call(this);\n          }\n        }\n      }, {\n        key: \"notifyNext\",\n        value: function notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n          this.destination.next(innerValue);\n        }\n      }]);\n\n      return SwitchMapSubscriber;\n    }(_OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__[\"OuterSubscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/switchMapTo.js\":\n  /*!**********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/switchMapTo.js ***!\n    \\**********************************************************************/\n\n  /*! exports provided: switchMapTo */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsSwitchMapToJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"switchMapTo\", function () {\n      return switchMapTo;\n    });\n    /* harmony import */\n\n\n    var _switchMap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./switchMap */\n    \"./node_modules/rxjs/_esm2015/internal/operators/switchMap.js\");\n\n    function switchMapTo(innerObservable, resultSelector) {\n      return resultSelector ? Object(_switchMap__WEBPACK_IMPORTED_MODULE_0__[\"switchMap\"])(function () {\n        return innerObservable;\n      }, resultSelector) : Object(_switchMap__WEBPACK_IMPORTED_MODULE_0__[\"switchMap\"])(function () {\n        return innerObservable;\n      });\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/take.js\":\n  /*!***************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/take.js ***!\n    \\***************************************************************/\n\n  /*! exports provided: take */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsTakeJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"take\", function () {\n      return take;\n    });\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n    /* harmony import */\n\n\n    var _util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../util/ArgumentOutOfRangeError */\n    \"./node_modules/rxjs/_esm2015/internal/util/ArgumentOutOfRangeError.js\");\n    /* harmony import */\n\n\n    var _observable_empty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../observable/empty */\n    \"./node_modules/rxjs/_esm2015/internal/observable/empty.js\");\n\n    function take(count) {\n      return function (source) {\n        if (count === 0) {\n          return Object(_observable_empty__WEBPACK_IMPORTED_MODULE_2__[\"empty\"])();\n        } else {\n          return source.lift(new TakeOperator(count));\n        }\n      };\n    }\n\n    var TakeOperator =\n    /*#__PURE__*/\n    function () {\n      function TakeOperator(total) {\n        _classCallCheck(this, TakeOperator);\n\n        this.total = total;\n\n        if (this.total < 0) {\n          throw new _util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_1__[\"ArgumentOutOfRangeError\"]();\n        }\n      }\n\n      _createClass2(TakeOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new TakeSubscriber(subscriber, this.total));\n        }\n      }]);\n\n      return TakeOperator;\n    }();\n\n    var TakeSubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_40) {\n      _inherits(TakeSubscriber, _Subscriber__WEBPACK_40);\n\n      function TakeSubscriber(destination, total) {\n        var _this774;\n\n        _classCallCheck(this, TakeSubscriber);\n\n        _this774 = _possibleConstructorReturn(this, _getPrototypeOf(TakeSubscriber).call(this, destination));\n        _this774.total = total;\n        _this774.count = 0;\n        return _this774;\n      }\n\n      _createClass2(TakeSubscriber, [{\n        key: \"_next\",\n        value: function _next(value) {\n          var total = this.total;\n          var count = ++this.count;\n\n          if (count <= total) {\n            this.destination.next(value);\n\n            if (count === total) {\n              this.destination.complete();\n              this.unsubscribe();\n            }\n          }\n        }\n      }]);\n\n      return TakeSubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/takeLast.js\":\n  /*!*******************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/takeLast.js ***!\n    \\*******************************************************************/\n\n  /*! exports provided: takeLast */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsTakeLastJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"takeLast\", function () {\n      return takeLast;\n    });\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n    /* harmony import */\n\n\n    var _util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../util/ArgumentOutOfRangeError */\n    \"./node_modules/rxjs/_esm2015/internal/util/ArgumentOutOfRangeError.js\");\n    /* harmony import */\n\n\n    var _observable_empty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../observable/empty */\n    \"./node_modules/rxjs/_esm2015/internal/observable/empty.js\");\n\n    function takeLast(count) {\n      return function takeLastOperatorFunction(source) {\n        if (count === 0) {\n          return Object(_observable_empty__WEBPACK_IMPORTED_MODULE_2__[\"empty\"])();\n        } else {\n          return source.lift(new TakeLastOperator(count));\n        }\n      };\n    }\n\n    var TakeLastOperator =\n    /*#__PURE__*/\n    function () {\n      function TakeLastOperator(total) {\n        _classCallCheck(this, TakeLastOperator);\n\n        this.total = total;\n\n        if (this.total < 0) {\n          throw new _util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_1__[\"ArgumentOutOfRangeError\"]();\n        }\n      }\n\n      _createClass2(TakeLastOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new TakeLastSubscriber(subscriber, this.total));\n        }\n      }]);\n\n      return TakeLastOperator;\n    }();\n\n    var TakeLastSubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_41) {\n      _inherits(TakeLastSubscriber, _Subscriber__WEBPACK_41);\n\n      function TakeLastSubscriber(destination, total) {\n        var _this775;\n\n        _classCallCheck(this, TakeLastSubscriber);\n\n        _this775 = _possibleConstructorReturn(this, _getPrototypeOf(TakeLastSubscriber).call(this, destination));\n        _this775.total = total;\n        _this775.ring = new Array();\n        _this775.count = 0;\n        return _this775;\n      }\n\n      _createClass2(TakeLastSubscriber, [{\n        key: \"_next\",\n        value: function _next(value) {\n          var ring = this.ring;\n          var total = this.total;\n          var count = this.count++;\n\n          if (ring.length < total) {\n            ring.push(value);\n          } else {\n            var index = count % total;\n            ring[index] = value;\n          }\n        }\n      }, {\n        key: \"_complete\",\n        value: function _complete() {\n          var destination = this.destination;\n          var count = this.count;\n\n          if (count > 0) {\n            var total = this.count >= this.total ? this.total : this.count;\n            var ring = this.ring;\n\n            for (var i = 0; i < total; i++) {\n              var idx = count++ % total;\n              destination.next(ring[idx]);\n            }\n          }\n\n          destination.complete();\n        }\n      }]);\n\n      return TakeLastSubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/takeUntil.js\":\n  /*!********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/takeUntil.js ***!\n    \\********************************************************************/\n\n  /*! exports provided: takeUntil */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsTakeUntilJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"takeUntil\", function () {\n      return takeUntil;\n    });\n    /* harmony import */\n\n\n    var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../OuterSubscriber */\n    \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n    /* harmony import */\n\n\n    var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../util/subscribeToResult */\n    \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n    function takeUntil(notifier) {\n      return function (source) {\n        return source.lift(new TakeUntilOperator(notifier));\n      };\n    }\n\n    var TakeUntilOperator =\n    /*#__PURE__*/\n    function () {\n      function TakeUntilOperator(notifier) {\n        _classCallCheck(this, TakeUntilOperator);\n\n        this.notifier = notifier;\n      }\n\n      _createClass2(TakeUntilOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          var takeUntilSubscriber = new TakeUntilSubscriber(subscriber);\n          var notifierSubscription = Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__[\"subscribeToResult\"])(takeUntilSubscriber, this.notifier);\n\n          if (notifierSubscription && !takeUntilSubscriber.seenValue) {\n            takeUntilSubscriber.add(notifierSubscription);\n            return source.subscribe(takeUntilSubscriber);\n          }\n\n          return takeUntilSubscriber;\n        }\n      }]);\n\n      return TakeUntilOperator;\n    }();\n\n    var TakeUntilSubscriber =\n    /*#__PURE__*/\n    function (_OuterSubscriber__WEB24) {\n      _inherits(TakeUntilSubscriber, _OuterSubscriber__WEB24);\n\n      function TakeUntilSubscriber(destination) {\n        var _this776;\n\n        _classCallCheck(this, TakeUntilSubscriber);\n\n        _this776 = _possibleConstructorReturn(this, _getPrototypeOf(TakeUntilSubscriber).call(this, destination));\n        _this776.seenValue = false;\n        return _this776;\n      }\n\n      _createClass2(TakeUntilSubscriber, [{\n        key: \"notifyNext\",\n        value: function notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n          this.seenValue = true;\n          this.complete();\n        }\n      }, {\n        key: \"notifyComplete\",\n        value: function notifyComplete() {}\n      }]);\n\n      return TakeUntilSubscriber;\n    }(_OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__[\"OuterSubscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/takeWhile.js\":\n  /*!********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/takeWhile.js ***!\n    \\********************************************************************/\n\n  /*! exports provided: takeWhile */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsTakeWhileJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"takeWhile\", function () {\n      return takeWhile;\n    });\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\n    function takeWhile(predicate) {\n      var inclusive = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n      return function (source) {\n        return source.lift(new TakeWhileOperator(predicate, inclusive));\n      };\n    }\n\n    var TakeWhileOperator =\n    /*#__PURE__*/\n    function () {\n      function TakeWhileOperator(predicate, inclusive) {\n        _classCallCheck(this, TakeWhileOperator);\n\n        this.predicate = predicate;\n        this.inclusive = inclusive;\n      }\n\n      _createClass2(TakeWhileOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new TakeWhileSubscriber(subscriber, this.predicate, this.inclusive));\n        }\n      }]);\n\n      return TakeWhileOperator;\n    }();\n\n    var TakeWhileSubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_42) {\n      _inherits(TakeWhileSubscriber, _Subscriber__WEBPACK_42);\n\n      function TakeWhileSubscriber(destination, predicate, inclusive) {\n        var _this777;\n\n        _classCallCheck(this, TakeWhileSubscriber);\n\n        _this777 = _possibleConstructorReturn(this, _getPrototypeOf(TakeWhileSubscriber).call(this, destination));\n        _this777.predicate = predicate;\n        _this777.inclusive = inclusive;\n        _this777.index = 0;\n        return _this777;\n      }\n\n      _createClass2(TakeWhileSubscriber, [{\n        key: \"_next\",\n        value: function _next(value) {\n          var destination = this.destination;\n          var result;\n\n          try {\n            result = this.predicate(value, this.index++);\n          } catch (err) {\n            destination.error(err);\n            return;\n          }\n\n          this.nextOrComplete(value, result);\n        }\n      }, {\n        key: \"nextOrComplete\",\n        value: function nextOrComplete(value, predicateResult) {\n          var destination = this.destination;\n\n          if (Boolean(predicateResult)) {\n            destination.next(value);\n          } else {\n            if (this.inclusive) {\n              destination.next(value);\n            }\n\n            destination.complete();\n          }\n        }\n      }]);\n\n      return TakeWhileSubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/tap.js\":\n  /*!**************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/tap.js ***!\n    \\**************************************************************/\n\n  /*! exports provided: tap */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsTapJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"tap\", function () {\n      return tap;\n    });\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n    /* harmony import */\n\n\n    var _util_noop__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../util/noop */\n    \"./node_modules/rxjs/_esm2015/internal/util/noop.js\");\n    /* harmony import */\n\n\n    var _util_isFunction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../util/isFunction */\n    \"./node_modules/rxjs/_esm2015/internal/util/isFunction.js\");\n\n    function tap(nextOrObserver, error, complete) {\n      return function tapOperatorFunction(source) {\n        return source.lift(new DoOperator(nextOrObserver, error, complete));\n      };\n    }\n\n    var DoOperator =\n    /*#__PURE__*/\n    function () {\n      function DoOperator(nextOrObserver, error, complete) {\n        _classCallCheck(this, DoOperator);\n\n        this.nextOrObserver = nextOrObserver;\n        this.error = error;\n        this.complete = complete;\n      }\n\n      _createClass2(DoOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new TapSubscriber(subscriber, this.nextOrObserver, this.error, this.complete));\n        }\n      }]);\n\n      return DoOperator;\n    }();\n\n    var TapSubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_43) {\n      _inherits(TapSubscriber, _Subscriber__WEBPACK_43);\n\n      function TapSubscriber(destination, observerOrNext, error, complete) {\n        var _this778;\n\n        _classCallCheck(this, TapSubscriber);\n\n        _this778 = _possibleConstructorReturn(this, _getPrototypeOf(TapSubscriber).call(this, destination));\n        _this778._tapNext = _util_noop__WEBPACK_IMPORTED_MODULE_1__[\"noop\"];\n        _this778._tapError = _util_noop__WEBPACK_IMPORTED_MODULE_1__[\"noop\"];\n        _this778._tapComplete = _util_noop__WEBPACK_IMPORTED_MODULE_1__[\"noop\"];\n        _this778._tapError = error || _util_noop__WEBPACK_IMPORTED_MODULE_1__[\"noop\"];\n        _this778._tapComplete = complete || _util_noop__WEBPACK_IMPORTED_MODULE_1__[\"noop\"];\n\n        if (Object(_util_isFunction__WEBPACK_IMPORTED_MODULE_2__[\"isFunction\"])(observerOrNext)) {\n          _this778._context = _assertThisInitialized(_this778);\n          _this778._tapNext = observerOrNext;\n        } else if (observerOrNext) {\n          _this778._context = observerOrNext;\n          _this778._tapNext = observerOrNext.next || _util_noop__WEBPACK_IMPORTED_MODULE_1__[\"noop\"];\n          _this778._tapError = observerOrNext.error || _util_noop__WEBPACK_IMPORTED_MODULE_1__[\"noop\"];\n          _this778._tapComplete = observerOrNext.complete || _util_noop__WEBPACK_IMPORTED_MODULE_1__[\"noop\"];\n        }\n\n        return _this778;\n      }\n\n      _createClass2(TapSubscriber, [{\n        key: \"_next\",\n        value: function _next(value) {\n          try {\n            this._tapNext.call(this._context, value);\n          } catch (err) {\n            this.destination.error(err);\n            return;\n          }\n\n          this.destination.next(value);\n        }\n      }, {\n        key: \"_error\",\n        value: function _error(err) {\n          try {\n            this._tapError.call(this._context, err);\n          } catch (err) {\n            this.destination.error(err);\n            return;\n          }\n\n          this.destination.error(err);\n        }\n      }, {\n        key: \"_complete\",\n        value: function _complete() {\n          try {\n            this._tapComplete.call(this._context);\n          } catch (err) {\n            this.destination.error(err);\n            return;\n          }\n\n          return this.destination.complete();\n        }\n      }]);\n\n      return TapSubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/throttle.js\":\n  /*!*******************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/throttle.js ***!\n    \\*******************************************************************/\n\n  /*! exports provided: defaultThrottleConfig, throttle */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsThrottleJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"defaultThrottleConfig\", function () {\n      return defaultThrottleConfig;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"throttle\", function () {\n      return throttle;\n    });\n    /* harmony import */\n\n\n    var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../OuterSubscriber */\n    \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n    /* harmony import */\n\n\n    var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../util/subscribeToResult */\n    \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n    var defaultThrottleConfig = {\n      leading: true,\n      trailing: false\n    };\n\n    function throttle(durationSelector) {\n      var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultThrottleConfig;\n      return function (source) {\n        return source.lift(new ThrottleOperator(durationSelector, config.leading, config.trailing));\n      };\n    }\n\n    var ThrottleOperator =\n    /*#__PURE__*/\n    function () {\n      function ThrottleOperator(durationSelector, leading, trailing) {\n        _classCallCheck(this, ThrottleOperator);\n\n        this.durationSelector = durationSelector;\n        this.leading = leading;\n        this.trailing = trailing;\n      }\n\n      _createClass2(ThrottleOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new ThrottleSubscriber(subscriber, this.durationSelector, this.leading, this.trailing));\n        }\n      }]);\n\n      return ThrottleOperator;\n    }();\n\n    var ThrottleSubscriber =\n    /*#__PURE__*/\n    function (_OuterSubscriber__WEB25) {\n      _inherits(ThrottleSubscriber, _OuterSubscriber__WEB25);\n\n      function ThrottleSubscriber(destination, durationSelector, _leading, _trailing) {\n        var _this779;\n\n        _classCallCheck(this, ThrottleSubscriber);\n\n        _this779 = _possibleConstructorReturn(this, _getPrototypeOf(ThrottleSubscriber).call(this, destination));\n        _this779.destination = destination;\n        _this779.durationSelector = durationSelector;\n        _this779._leading = _leading;\n        _this779._trailing = _trailing;\n        _this779._hasValue = false;\n        return _this779;\n      }\n\n      _createClass2(ThrottleSubscriber, [{\n        key: \"_next\",\n        value: function _next(value) {\n          this._hasValue = true;\n          this._sendValue = value;\n\n          if (!this._throttled) {\n            if (this._leading) {\n              this.send();\n            } else {\n              this.throttle(value);\n            }\n          }\n        }\n      }, {\n        key: \"send\",\n        value: function send() {\n          var _hasValue = this._hasValue,\n              _sendValue = this._sendValue;\n\n          if (_hasValue) {\n            this.destination.next(_sendValue);\n            this.throttle(_sendValue);\n          }\n\n          this._hasValue = false;\n          this._sendValue = null;\n        }\n      }, {\n        key: \"throttle\",\n        value: function throttle(value) {\n          var duration = this.tryDurationSelector(value);\n\n          if (!!duration) {\n            this.add(this._throttled = Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__[\"subscribeToResult\"])(this, duration));\n          }\n        }\n      }, {\n        key: \"tryDurationSelector\",\n        value: function tryDurationSelector(value) {\n          try {\n            return this.durationSelector(value);\n          } catch (err) {\n            this.destination.error(err);\n            return null;\n          }\n        }\n      }, {\n        key: \"throttlingDone\",\n        value: function throttlingDone() {\n          var _throttled = this._throttled,\n              _trailing = this._trailing;\n\n          if (_throttled) {\n            _throttled.unsubscribe();\n          }\n\n          this._throttled = null;\n\n          if (_trailing) {\n            this.send();\n          }\n        }\n      }, {\n        key: \"notifyNext\",\n        value: function notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n          this.throttlingDone();\n        }\n      }, {\n        key: \"notifyComplete\",\n        value: function notifyComplete() {\n          this.throttlingDone();\n        }\n      }]);\n\n      return ThrottleSubscriber;\n    }(_OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__[\"OuterSubscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/throttleTime.js\":\n  /*!***********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/throttleTime.js ***!\n    \\***********************************************************************/\n\n  /*! exports provided: throttleTime */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsThrottleTimeJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"throttleTime\", function () {\n      return throttleTime;\n    });\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n    /* harmony import */\n\n\n    var _scheduler_async__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../scheduler/async */\n    \"./node_modules/rxjs/_esm2015/internal/scheduler/async.js\");\n    /* harmony import */\n\n\n    var _throttle__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ./throttle */\n    \"./node_modules/rxjs/_esm2015/internal/operators/throttle.js\");\n\n    function throttleTime(duration) {\n      var scheduler = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _scheduler_async__WEBPACK_IMPORTED_MODULE_1__[\"async\"];\n      var config = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : _throttle__WEBPACK_IMPORTED_MODULE_2__[\"defaultThrottleConfig\"];\n      return function (source) {\n        return source.lift(new ThrottleTimeOperator(duration, scheduler, config.leading, config.trailing));\n      };\n    }\n\n    var ThrottleTimeOperator =\n    /*#__PURE__*/\n    function () {\n      function ThrottleTimeOperator(duration, scheduler, leading, trailing) {\n        _classCallCheck(this, ThrottleTimeOperator);\n\n        this.duration = duration;\n        this.scheduler = scheduler;\n        this.leading = leading;\n        this.trailing = trailing;\n      }\n\n      _createClass2(ThrottleTimeOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new ThrottleTimeSubscriber(subscriber, this.duration, this.scheduler, this.leading, this.trailing));\n        }\n      }]);\n\n      return ThrottleTimeOperator;\n    }();\n\n    var ThrottleTimeSubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_44) {\n      _inherits(ThrottleTimeSubscriber, _Subscriber__WEBPACK_44);\n\n      function ThrottleTimeSubscriber(destination, duration, scheduler, leading, trailing) {\n        var _this780;\n\n        _classCallCheck(this, ThrottleTimeSubscriber);\n\n        _this780 = _possibleConstructorReturn(this, _getPrototypeOf(ThrottleTimeSubscriber).call(this, destination));\n        _this780.duration = duration;\n        _this780.scheduler = scheduler;\n        _this780.leading = leading;\n        _this780.trailing = trailing;\n        _this780._hasTrailingValue = false;\n        _this780._trailingValue = null;\n        return _this780;\n      }\n\n      _createClass2(ThrottleTimeSubscriber, [{\n        key: \"_next\",\n        value: function _next(value) {\n          if (this.throttled) {\n            if (this.trailing) {\n              this._trailingValue = value;\n              this._hasTrailingValue = true;\n            }\n          } else {\n            this.add(this.throttled = this.scheduler.schedule(dispatchNext, this.duration, {\n              subscriber: this\n            }));\n\n            if (this.leading) {\n              this.destination.next(value);\n            }\n          }\n        }\n      }, {\n        key: \"_complete\",\n        value: function _complete() {\n          if (this._hasTrailingValue) {\n            this.destination.next(this._trailingValue);\n            this.destination.complete();\n          } else {\n            this.destination.complete();\n          }\n        }\n      }, {\n        key: \"clearThrottle\",\n        value: function clearThrottle() {\n          var throttled = this.throttled;\n\n          if (throttled) {\n            if (this.trailing && this._hasTrailingValue) {\n              this.destination.next(this._trailingValue);\n              this._trailingValue = null;\n              this._hasTrailingValue = false;\n            }\n\n            throttled.unsubscribe();\n            this.remove(throttled);\n            this.throttled = null;\n          }\n        }\n      }]);\n\n      return ThrottleTimeSubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]);\n\n    function dispatchNext(arg) {\n      var subscriber = arg.subscriber;\n      subscriber.clearThrottle();\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/throwIfEmpty.js\":\n  /*!***********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/throwIfEmpty.js ***!\n    \\***********************************************************************/\n\n  /*! exports provided: throwIfEmpty */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsThrowIfEmptyJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"throwIfEmpty\", function () {\n      return throwIfEmpty;\n    });\n    /* harmony import */\n\n\n    var _tap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./tap */\n    \"./node_modules/rxjs/_esm2015/internal/operators/tap.js\");\n    /* harmony import */\n\n\n    var _util_EmptyError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../util/EmptyError */\n    \"./node_modules/rxjs/_esm2015/internal/util/EmptyError.js\");\n\n    var throwIfEmpty = function throwIfEmpty() {\n      var errorFactory = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultErrorFactory;\n      return Object(_tap__WEBPACK_IMPORTED_MODULE_0__[\"tap\"])({\n        hasValue: false,\n        next: function next() {\n          this.hasValue = true;\n        },\n        complete: function complete() {\n          if (!this.hasValue) {\n            throw errorFactory();\n          }\n        }\n      });\n    };\n\n    function defaultErrorFactory() {\n      return new _util_EmptyError__WEBPACK_IMPORTED_MODULE_1__[\"EmptyError\"]();\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/timeInterval.js\":\n  /*!***********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/timeInterval.js ***!\n    \\***********************************************************************/\n\n  /*! exports provided: timeInterval, TimeInterval */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsTimeIntervalJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"timeInterval\", function () {\n      return timeInterval;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TimeInterval\", function () {\n      return TimeInterval;\n    });\n    /* harmony import */\n\n\n    var _scheduler_async__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../scheduler/async */\n    \"./node_modules/rxjs/_esm2015/internal/scheduler/async.js\");\n    /* harmony import */\n\n\n    var _scan__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ./scan */\n    \"./node_modules/rxjs/_esm2015/internal/operators/scan.js\");\n    /* harmony import */\n\n\n    var _observable_defer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../observable/defer */\n    \"./node_modules/rxjs/_esm2015/internal/observable/defer.js\");\n    /* harmony import */\n\n\n    var _map__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ./map */\n    \"./node_modules/rxjs/_esm2015/internal/operators/map.js\");\n\n    function timeInterval() {\n      var scheduler = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _scheduler_async__WEBPACK_IMPORTED_MODULE_0__[\"async\"];\n      return function (source) {\n        return Object(_observable_defer__WEBPACK_IMPORTED_MODULE_2__[\"defer\"])(function () {\n          return source.pipe(Object(_scan__WEBPACK_IMPORTED_MODULE_1__[\"scan\"])(function (_ref81, value) {\n            var current = _ref81.current;\n            return {\n              value: value,\n              current: scheduler.now(),\n              last: current\n            };\n          }, {\n            current: scheduler.now(),\n            value: undefined,\n            last: undefined\n          }), Object(_map__WEBPACK_IMPORTED_MODULE_3__[\"map\"])(function (_ref82) {\n            var current = _ref82.current,\n                last = _ref82.last,\n                value = _ref82.value;\n            return new TimeInterval(value, current - last);\n          }));\n        });\n      };\n    }\n\n    var TimeInterval = function TimeInterval(value, interval) {\n      _classCallCheck(this, TimeInterval);\n\n      this.value = value;\n      this.interval = interval;\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/timeout.js\":\n  /*!******************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/timeout.js ***!\n    \\******************************************************************/\n\n  /*! exports provided: timeout */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsTimeoutJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"timeout\", function () {\n      return timeout;\n    });\n    /* harmony import */\n\n\n    var _scheduler_async__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../scheduler/async */\n    \"./node_modules/rxjs/_esm2015/internal/scheduler/async.js\");\n    /* harmony import */\n\n\n    var _util_TimeoutError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../util/TimeoutError */\n    \"./node_modules/rxjs/_esm2015/internal/util/TimeoutError.js\");\n    /* harmony import */\n\n\n    var _timeoutWith__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ./timeoutWith */\n    \"./node_modules/rxjs/_esm2015/internal/operators/timeoutWith.js\");\n    /* harmony import */\n\n\n    var _observable_throwError__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ../observable/throwError */\n    \"./node_modules/rxjs/_esm2015/internal/observable/throwError.js\");\n\n    function timeout(due) {\n      var scheduler = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _scheduler_async__WEBPACK_IMPORTED_MODULE_0__[\"async\"];\n      return Object(_timeoutWith__WEBPACK_IMPORTED_MODULE_2__[\"timeoutWith\"])(due, Object(_observable_throwError__WEBPACK_IMPORTED_MODULE_3__[\"throwError\"])(new _util_TimeoutError__WEBPACK_IMPORTED_MODULE_1__[\"TimeoutError\"]()), scheduler);\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/timeoutWith.js\":\n  /*!**********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/timeoutWith.js ***!\n    \\**********************************************************************/\n\n  /*! exports provided: timeoutWith */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsTimeoutWithJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"timeoutWith\", function () {\n      return timeoutWith;\n    });\n    /* harmony import */\n\n\n    var _scheduler_async__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../scheduler/async */\n    \"./node_modules/rxjs/_esm2015/internal/scheduler/async.js\");\n    /* harmony import */\n\n\n    var _util_isDate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../util/isDate */\n    \"./node_modules/rxjs/_esm2015/internal/util/isDate.js\");\n    /* harmony import */\n\n\n    var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../OuterSubscriber */\n    \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n    /* harmony import */\n\n\n    var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ../util/subscribeToResult */\n    \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n    function timeoutWith(due, withObservable) {\n      var scheduler = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : _scheduler_async__WEBPACK_IMPORTED_MODULE_0__[\"async\"];\n      return function (source) {\n        var absoluteTimeout = Object(_util_isDate__WEBPACK_IMPORTED_MODULE_1__[\"isDate\"])(due);\n        var waitFor = absoluteTimeout ? +due - scheduler.now() : Math.abs(due);\n        return source.lift(new TimeoutWithOperator(waitFor, absoluteTimeout, withObservable, scheduler));\n      };\n    }\n\n    var TimeoutWithOperator =\n    /*#__PURE__*/\n    function () {\n      function TimeoutWithOperator(waitFor, absoluteTimeout, withObservable, scheduler) {\n        _classCallCheck(this, TimeoutWithOperator);\n\n        this.waitFor = waitFor;\n        this.absoluteTimeout = absoluteTimeout;\n        this.withObservable = withObservable;\n        this.scheduler = scheduler;\n      }\n\n      _createClass2(TimeoutWithOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new TimeoutWithSubscriber(subscriber, this.absoluteTimeout, this.waitFor, this.withObservable, this.scheduler));\n        }\n      }]);\n\n      return TimeoutWithOperator;\n    }();\n\n    var TimeoutWithSubscriber =\n    /*#__PURE__*/\n    function (_OuterSubscriber__WEB26) {\n      _inherits(TimeoutWithSubscriber, _OuterSubscriber__WEB26);\n\n      function TimeoutWithSubscriber(destination, absoluteTimeout, waitFor, withObservable, scheduler) {\n        var _this781;\n\n        _classCallCheck(this, TimeoutWithSubscriber);\n\n        _this781 = _possibleConstructorReturn(this, _getPrototypeOf(TimeoutWithSubscriber).call(this, destination));\n        _this781.absoluteTimeout = absoluteTimeout;\n        _this781.waitFor = waitFor;\n        _this781.withObservable = withObservable;\n        _this781.scheduler = scheduler;\n        _this781.action = null;\n\n        _this781.scheduleTimeout();\n\n        return _this781;\n      }\n\n      _createClass2(TimeoutWithSubscriber, [{\n        key: \"scheduleTimeout\",\n        value: function scheduleTimeout() {\n          var action = this.action;\n\n          if (action) {\n            this.action = action.schedule(this, this.waitFor);\n          } else {\n            this.add(this.action = this.scheduler.schedule(TimeoutWithSubscriber.dispatchTimeout, this.waitFor, this));\n          }\n        }\n      }, {\n        key: \"_next\",\n        value: function _next(value) {\n          if (!this.absoluteTimeout) {\n            this.scheduleTimeout();\n          }\n\n          _get(_getPrototypeOf(TimeoutWithSubscriber.prototype), \"_next\", this).call(this, value);\n        }\n      }, {\n        key: \"_unsubscribe\",\n        value: function _unsubscribe() {\n          this.action = null;\n          this.scheduler = null;\n          this.withObservable = null;\n        }\n      }], [{\n        key: \"dispatchTimeout\",\n        value: function dispatchTimeout(subscriber) {\n          var withObservable = subscriber.withObservable;\n\n          subscriber._unsubscribeAndRecycle();\n\n          subscriber.add(Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_3__[\"subscribeToResult\"])(subscriber, withObservable));\n        }\n      }]);\n\n      return TimeoutWithSubscriber;\n    }(_OuterSubscriber__WEBPACK_IMPORTED_MODULE_2__[\"OuterSubscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/timestamp.js\":\n  /*!********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/timestamp.js ***!\n    \\********************************************************************/\n\n  /*! exports provided: timestamp, Timestamp */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsTimestampJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"timestamp\", function () {\n      return timestamp;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Timestamp\", function () {\n      return Timestamp;\n    });\n    /* harmony import */\n\n\n    var _scheduler_async__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../scheduler/async */\n    \"./node_modules/rxjs/_esm2015/internal/scheduler/async.js\");\n    /* harmony import */\n\n\n    var _map__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ./map */\n    \"./node_modules/rxjs/_esm2015/internal/operators/map.js\");\n\n    function timestamp() {\n      var scheduler = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _scheduler_async__WEBPACK_IMPORTED_MODULE_0__[\"async\"];\n      return Object(_map__WEBPACK_IMPORTED_MODULE_1__[\"map\"])(function (value) {\n        return new Timestamp(value, scheduler.now());\n      });\n    }\n\n    var Timestamp = function Timestamp(value, timestamp) {\n      _classCallCheck(this, Timestamp);\n\n      this.value = value;\n      this.timestamp = timestamp;\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/toArray.js\":\n  /*!******************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/toArray.js ***!\n    \\******************************************************************/\n\n  /*! exports provided: toArray */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsToArrayJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"toArray\", function () {\n      return toArray;\n    });\n    /* harmony import */\n\n\n    var _reduce__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./reduce */\n    \"./node_modules/rxjs/_esm2015/internal/operators/reduce.js\");\n\n    function toArrayReducer(arr, item, index) {\n      if (index === 0) {\n        return [item];\n      }\n\n      arr.push(item);\n      return arr;\n    }\n\n    function toArray() {\n      return Object(_reduce__WEBPACK_IMPORTED_MODULE_0__[\"reduce\"])(toArrayReducer, []);\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/window.js\":\n  /*!*****************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/window.js ***!\n    \\*****************************************************************/\n\n  /*! exports provided: window */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsWindowJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"window\", function () {\n      return window;\n    });\n    /* harmony import */\n\n\n    var _Subject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subject */\n    \"./node_modules/rxjs/_esm2015/internal/Subject.js\");\n    /* harmony import */\n\n\n    var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../OuterSubscriber */\n    \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n    /* harmony import */\n\n\n    var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../util/subscribeToResult */\n    \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n    function window(windowBoundaries) {\n      return function windowOperatorFunction(source) {\n        return source.lift(new WindowOperator(windowBoundaries));\n      };\n    }\n\n    var WindowOperator =\n    /*#__PURE__*/\n    function () {\n      function WindowOperator(windowBoundaries) {\n        _classCallCheck(this, WindowOperator);\n\n        this.windowBoundaries = windowBoundaries;\n      }\n\n      _createClass2(WindowOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          var windowSubscriber = new WindowSubscriber(subscriber);\n          var sourceSubscription = source.subscribe(windowSubscriber);\n\n          if (!sourceSubscription.closed) {\n            windowSubscriber.add(Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_2__[\"subscribeToResult\"])(windowSubscriber, this.windowBoundaries));\n          }\n\n          return sourceSubscription;\n        }\n      }]);\n\n      return WindowOperator;\n    }();\n\n    var WindowSubscriber =\n    /*#__PURE__*/\n    function (_OuterSubscriber__WEB27) {\n      _inherits(WindowSubscriber, _OuterSubscriber__WEB27);\n\n      function WindowSubscriber(destination) {\n        var _this782;\n\n        _classCallCheck(this, WindowSubscriber);\n\n        _this782 = _possibleConstructorReturn(this, _getPrototypeOf(WindowSubscriber).call(this, destination));\n        _this782.window = new _Subject__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]();\n        destination.next(_this782.window);\n        return _this782;\n      }\n\n      _createClass2(WindowSubscriber, [{\n        key: \"notifyNext\",\n        value: function notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n          this.openWindow();\n        }\n      }, {\n        key: \"notifyError\",\n        value: function notifyError(error, innerSub) {\n          this._error(error);\n        }\n      }, {\n        key: \"notifyComplete\",\n        value: function notifyComplete(innerSub) {\n          this._complete();\n        }\n      }, {\n        key: \"_next\",\n        value: function _next(value) {\n          this.window.next(value);\n        }\n      }, {\n        key: \"_error\",\n        value: function _error(err) {\n          this.window.error(err);\n          this.destination.error(err);\n        }\n      }, {\n        key: \"_complete\",\n        value: function _complete() {\n          this.window.complete();\n          this.destination.complete();\n        }\n      }, {\n        key: \"_unsubscribe\",\n        value: function _unsubscribe() {\n          this.window = null;\n        }\n      }, {\n        key: \"openWindow\",\n        value: function openWindow() {\n          var prevWindow = this.window;\n\n          if (prevWindow) {\n            prevWindow.complete();\n          }\n\n          var destination = this.destination;\n          var newWindow = this.window = new _Subject__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]();\n          destination.next(newWindow);\n        }\n      }]);\n\n      return WindowSubscriber;\n    }(_OuterSubscriber__WEBPACK_IMPORTED_MODULE_1__[\"OuterSubscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/windowCount.js\":\n  /*!**********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/windowCount.js ***!\n    \\**********************************************************************/\n\n  /*! exports provided: windowCount */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsWindowCountJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"windowCount\", function () {\n      return windowCount;\n    });\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n    /* harmony import */\n\n\n    var _Subject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../Subject */\n    \"./node_modules/rxjs/_esm2015/internal/Subject.js\");\n\n    function windowCount(windowSize) {\n      var startWindowEvery = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n      return function windowCountOperatorFunction(source) {\n        return source.lift(new WindowCountOperator(windowSize, startWindowEvery));\n      };\n    }\n\n    var WindowCountOperator =\n    /*#__PURE__*/\n    function () {\n      function WindowCountOperator(windowSize, startWindowEvery) {\n        _classCallCheck(this, WindowCountOperator);\n\n        this.windowSize = windowSize;\n        this.startWindowEvery = startWindowEvery;\n      }\n\n      _createClass2(WindowCountOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new WindowCountSubscriber(subscriber, this.windowSize, this.startWindowEvery));\n        }\n      }]);\n\n      return WindowCountOperator;\n    }();\n\n    var WindowCountSubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_45) {\n      _inherits(WindowCountSubscriber, _Subscriber__WEBPACK_45);\n\n      function WindowCountSubscriber(destination, windowSize, startWindowEvery) {\n        var _this783;\n\n        _classCallCheck(this, WindowCountSubscriber);\n\n        _this783 = _possibleConstructorReturn(this, _getPrototypeOf(WindowCountSubscriber).call(this, destination));\n        _this783.destination = destination;\n        _this783.windowSize = windowSize;\n        _this783.startWindowEvery = startWindowEvery;\n        _this783.windows = [new _Subject__WEBPACK_IMPORTED_MODULE_1__[\"Subject\"]()];\n        _this783.count = 0;\n        destination.next(_this783.windows[0]);\n        return _this783;\n      }\n\n      _createClass2(WindowCountSubscriber, [{\n        key: \"_next\",\n        value: function _next(value) {\n          var startWindowEvery = this.startWindowEvery > 0 ? this.startWindowEvery : this.windowSize;\n          var destination = this.destination;\n          var windowSize = this.windowSize;\n          var windows = this.windows;\n          var len = windows.length;\n\n          for (var i = 0; i < len && !this.closed; i++) {\n            windows[i].next(value);\n          }\n\n          var c = this.count - windowSize + 1;\n\n          if (c >= 0 && c % startWindowEvery === 0 && !this.closed) {\n            windows.shift().complete();\n          }\n\n          if (++this.count % startWindowEvery === 0 && !this.closed) {\n            var _window = new _Subject__WEBPACK_IMPORTED_MODULE_1__[\"Subject\"]();\n\n            windows.push(_window);\n            destination.next(_window);\n          }\n        }\n      }, {\n        key: \"_error\",\n        value: function _error(err) {\n          var windows = this.windows;\n\n          if (windows) {\n            while (windows.length > 0 && !this.closed) {\n              windows.shift().error(err);\n            }\n          }\n\n          this.destination.error(err);\n        }\n      }, {\n        key: \"_complete\",\n        value: function _complete() {\n          var windows = this.windows;\n\n          if (windows) {\n            while (windows.length > 0 && !this.closed) {\n              windows.shift().complete();\n            }\n          }\n\n          this.destination.complete();\n        }\n      }, {\n        key: \"_unsubscribe\",\n        value: function _unsubscribe() {\n          this.count = 0;\n          this.windows = null;\n        }\n      }]);\n\n      return WindowCountSubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/windowTime.js\":\n  /*!*********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/windowTime.js ***!\n    \\*********************************************************************/\n\n  /*! exports provided: windowTime */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsWindowTimeJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"windowTime\", function () {\n      return windowTime;\n    });\n    /* harmony import */\n\n\n    var _Subject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subject */\n    \"./node_modules/rxjs/_esm2015/internal/Subject.js\");\n    /* harmony import */\n\n\n    var _scheduler_async__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../scheduler/async */\n    \"./node_modules/rxjs/_esm2015/internal/scheduler/async.js\");\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n    /* harmony import */\n\n\n    var _util_isNumeric__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ../util/isNumeric */\n    \"./node_modules/rxjs/_esm2015/internal/util/isNumeric.js\");\n    /* harmony import */\n\n\n    var _util_isScheduler__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! ../util/isScheduler */\n    \"./node_modules/rxjs/_esm2015/internal/util/isScheduler.js\");\n\n    function windowTime(windowTimeSpan) {\n      var scheduler = _scheduler_async__WEBPACK_IMPORTED_MODULE_1__[\"async\"];\n      var windowCreationInterval = null;\n      var maxWindowSize = Number.POSITIVE_INFINITY;\n\n      if (Object(_util_isScheduler__WEBPACK_IMPORTED_MODULE_4__[\"isScheduler\"])(arguments[3])) {\n        scheduler = arguments[3];\n      }\n\n      if (Object(_util_isScheduler__WEBPACK_IMPORTED_MODULE_4__[\"isScheduler\"])(arguments[2])) {\n        scheduler = arguments[2];\n      } else if (Object(_util_isNumeric__WEBPACK_IMPORTED_MODULE_3__[\"isNumeric\"])(arguments[2])) {\n        maxWindowSize = arguments[2];\n      }\n\n      if (Object(_util_isScheduler__WEBPACK_IMPORTED_MODULE_4__[\"isScheduler\"])(arguments[1])) {\n        scheduler = arguments[1];\n      } else if (Object(_util_isNumeric__WEBPACK_IMPORTED_MODULE_3__[\"isNumeric\"])(arguments[1])) {\n        windowCreationInterval = arguments[1];\n      }\n\n      return function windowTimeOperatorFunction(source) {\n        return source.lift(new WindowTimeOperator(windowTimeSpan, windowCreationInterval, maxWindowSize, scheduler));\n      };\n    }\n\n    var WindowTimeOperator =\n    /*#__PURE__*/\n    function () {\n      function WindowTimeOperator(windowTimeSpan, windowCreationInterval, maxWindowSize, scheduler) {\n        _classCallCheck(this, WindowTimeOperator);\n\n        this.windowTimeSpan = windowTimeSpan;\n        this.windowCreationInterval = windowCreationInterval;\n        this.maxWindowSize = maxWindowSize;\n        this.scheduler = scheduler;\n      }\n\n      _createClass2(WindowTimeOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new WindowTimeSubscriber(subscriber, this.windowTimeSpan, this.windowCreationInterval, this.maxWindowSize, this.scheduler));\n        }\n      }]);\n\n      return WindowTimeOperator;\n    }();\n\n    var CountedSubject =\n    /*#__PURE__*/\n    function (_Subject__WEBPACK_IMP5) {\n      _inherits(CountedSubject, _Subject__WEBPACK_IMP5);\n\n      function CountedSubject() {\n        var _this784;\n\n        _classCallCheck(this, CountedSubject);\n\n        _this784 = _possibleConstructorReturn(this, _getPrototypeOf(CountedSubject).apply(this, arguments));\n        _this784._numberOfNextedValues = 0;\n        return _this784;\n      }\n\n      _createClass2(CountedSubject, [{\n        key: \"next\",\n        value: function next(value) {\n          this._numberOfNextedValues++;\n\n          _get(_getPrototypeOf(CountedSubject.prototype), \"next\", this).call(this, value);\n        }\n      }, {\n        key: \"numberOfNextedValues\",\n        get: function get() {\n          return this._numberOfNextedValues;\n        }\n      }]);\n\n      return CountedSubject;\n    }(_Subject__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]);\n\n    var WindowTimeSubscriber =\n    /*#__PURE__*/\n    function (_Subscriber__WEBPACK_46) {\n      _inherits(WindowTimeSubscriber, _Subscriber__WEBPACK_46);\n\n      function WindowTimeSubscriber(destination, windowTimeSpan, windowCreationInterval, maxWindowSize, scheduler) {\n        var _this785;\n\n        _classCallCheck(this, WindowTimeSubscriber);\n\n        _this785 = _possibleConstructorReturn(this, _getPrototypeOf(WindowTimeSubscriber).call(this, destination));\n        _this785.destination = destination;\n        _this785.windowTimeSpan = windowTimeSpan;\n        _this785.windowCreationInterval = windowCreationInterval;\n        _this785.maxWindowSize = maxWindowSize;\n        _this785.scheduler = scheduler;\n        _this785.windows = [];\n\n        var window = _this785.openWindow();\n\n        if (windowCreationInterval !== null && windowCreationInterval >= 0) {\n          var closeState = {\n            subscriber: _assertThisInitialized(_this785),\n            window: window,\n            context: null\n          };\n          var creationState = {\n            windowTimeSpan: windowTimeSpan,\n            windowCreationInterval: windowCreationInterval,\n            subscriber: _assertThisInitialized(_this785),\n            scheduler: scheduler\n          };\n\n          _this785.add(scheduler.schedule(dispatchWindowClose, windowTimeSpan, closeState));\n\n          _this785.add(scheduler.schedule(dispatchWindowCreation, windowCreationInterval, creationState));\n        } else {\n          var timeSpanOnlyState = {\n            subscriber: _assertThisInitialized(_this785),\n            window: window,\n            windowTimeSpan: windowTimeSpan\n          };\n\n          _this785.add(scheduler.schedule(dispatchWindowTimeSpanOnly, windowTimeSpan, timeSpanOnlyState));\n        }\n\n        return _this785;\n      }\n\n      _createClass2(WindowTimeSubscriber, [{\n        key: \"_next\",\n        value: function _next(value) {\n          var windows = this.windows;\n          var len = windows.length;\n\n          for (var i = 0; i < len; i++) {\n            var _window2 = windows[i];\n\n            if (!_window2.closed) {\n              _window2.next(value);\n\n              if (_window2.numberOfNextedValues >= this.maxWindowSize) {\n                this.closeWindow(_window2);\n              }\n            }\n          }\n        }\n      }, {\n        key: \"_error\",\n        value: function _error(err) {\n          var windows = this.windows;\n\n          while (windows.length > 0) {\n            windows.shift().error(err);\n          }\n\n          this.destination.error(err);\n        }\n      }, {\n        key: \"_complete\",\n        value: function _complete() {\n          var windows = this.windows;\n\n          while (windows.length > 0) {\n            var _window3 = windows.shift();\n\n            if (!_window3.closed) {\n              _window3.complete();\n            }\n          }\n\n          this.destination.complete();\n        }\n      }, {\n        key: \"openWindow\",\n        value: function openWindow() {\n          var window = new CountedSubject();\n          this.windows.push(window);\n          var destination = this.destination;\n          destination.next(window);\n          return window;\n        }\n      }, {\n        key: \"closeWindow\",\n        value: function closeWindow(window) {\n          window.complete();\n          var windows = this.windows;\n          windows.splice(windows.indexOf(window), 1);\n        }\n      }]);\n\n      return WindowTimeSubscriber;\n    }(_Subscriber__WEBPACK_IMPORTED_MODULE_2__[\"Subscriber\"]);\n\n    function dispatchWindowTimeSpanOnly(state) {\n      var subscriber = state.subscriber,\n          windowTimeSpan = state.windowTimeSpan,\n          window = state.window;\n\n      if (window) {\n        subscriber.closeWindow(window);\n      }\n\n      state.window = subscriber.openWindow();\n      this.schedule(state, windowTimeSpan);\n    }\n\n    function dispatchWindowCreation(state) {\n      var windowTimeSpan = state.windowTimeSpan,\n          subscriber = state.subscriber,\n          scheduler = state.scheduler,\n          windowCreationInterval = state.windowCreationInterval;\n      var window = subscriber.openWindow();\n      var action = this;\n      var context = {\n        action: action,\n        subscription: null\n      };\n      var timeSpanState = {\n        subscriber: subscriber,\n        window: window,\n        context: context\n      };\n      context.subscription = scheduler.schedule(dispatchWindowClose, windowTimeSpan, timeSpanState);\n      action.add(context.subscription);\n      action.schedule(state, windowCreationInterval);\n    }\n\n    function dispatchWindowClose(state) {\n      var subscriber = state.subscriber,\n          window = state.window,\n          context = state.context;\n\n      if (context && context.action && context.subscription) {\n        context.action.remove(context.subscription);\n      }\n\n      subscriber.closeWindow(window);\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/windowToggle.js\":\n  /*!***********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/windowToggle.js ***!\n    \\***********************************************************************/\n\n  /*! exports provided: windowToggle */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsWindowToggleJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"windowToggle\", function () {\n      return windowToggle;\n    });\n    /* harmony import */\n\n\n    var _Subject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subject */\n    \"./node_modules/rxjs/_esm2015/internal/Subject.js\");\n    /* harmony import */\n\n\n    var _Subscription__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../Subscription */\n    \"./node_modules/rxjs/_esm2015/internal/Subscription.js\");\n    /* harmony import */\n\n\n    var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../OuterSubscriber */\n    \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n    /* harmony import */\n\n\n    var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ../util/subscribeToResult */\n    \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n    function windowToggle(openings, closingSelector) {\n      return function (source) {\n        return source.lift(new WindowToggleOperator(openings, closingSelector));\n      };\n    }\n\n    var WindowToggleOperator =\n    /*#__PURE__*/\n    function () {\n      function WindowToggleOperator(openings, closingSelector) {\n        _classCallCheck(this, WindowToggleOperator);\n\n        this.openings = openings;\n        this.closingSelector = closingSelector;\n      }\n\n      _createClass2(WindowToggleOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new WindowToggleSubscriber(subscriber, this.openings, this.closingSelector));\n        }\n      }]);\n\n      return WindowToggleOperator;\n    }();\n\n    var WindowToggleSubscriber =\n    /*#__PURE__*/\n    function (_OuterSubscriber__WEB28) {\n      _inherits(WindowToggleSubscriber, _OuterSubscriber__WEB28);\n\n      function WindowToggleSubscriber(destination, openings, closingSelector) {\n        var _this786;\n\n        _classCallCheck(this, WindowToggleSubscriber);\n\n        _this786 = _possibleConstructorReturn(this, _getPrototypeOf(WindowToggleSubscriber).call(this, destination));\n        _this786.openings = openings;\n        _this786.closingSelector = closingSelector;\n        _this786.contexts = [];\n\n        _this786.add(_this786.openSubscription = Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_3__[\"subscribeToResult\"])(_assertThisInitialized(_this786), openings, openings));\n\n        return _this786;\n      }\n\n      _createClass2(WindowToggleSubscriber, [{\n        key: \"_next\",\n        value: function _next(value) {\n          var contexts = this.contexts;\n\n          if (contexts) {\n            var _len64 = contexts.length;\n\n            for (var i = 0; i < _len64; i++) {\n              contexts[i].window.next(value);\n            }\n          }\n        }\n      }, {\n        key: \"_error\",\n        value: function _error(err) {\n          var contexts = this.contexts;\n          this.contexts = null;\n\n          if (contexts) {\n            var _len65 = contexts.length;\n            var index = -1;\n\n            while (++index < _len65) {\n              var context = contexts[index];\n              context.window.error(err);\n              context.subscription.unsubscribe();\n            }\n          }\n\n          _get(_getPrototypeOf(WindowToggleSubscriber.prototype), \"_error\", this).call(this, err);\n        }\n      }, {\n        key: \"_complete\",\n        value: function _complete() {\n          var contexts = this.contexts;\n          this.contexts = null;\n\n          if (contexts) {\n            var _len66 = contexts.length;\n            var index = -1;\n\n            while (++index < _len66) {\n              var context = contexts[index];\n              context.window.complete();\n              context.subscription.unsubscribe();\n            }\n          }\n\n          _get(_getPrototypeOf(WindowToggleSubscriber.prototype), \"_complete\", this).call(this);\n        }\n      }, {\n        key: \"_unsubscribe\",\n        value: function _unsubscribe() {\n          var contexts = this.contexts;\n          this.contexts = null;\n\n          if (contexts) {\n            var _len67 = contexts.length;\n            var index = -1;\n\n            while (++index < _len67) {\n              var context = contexts[index];\n              context.window.unsubscribe();\n              context.subscription.unsubscribe();\n            }\n          }\n        }\n      }, {\n        key: \"notifyNext\",\n        value: function notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n          if (outerValue === this.openings) {\n            var closingNotifier;\n\n            try {\n              var closingSelector = this.closingSelector;\n              closingNotifier = closingSelector(innerValue);\n            } catch (e) {\n              return this.error(e);\n            }\n\n            var _window4 = new _Subject__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]();\n\n            var subscription = new _Subscription__WEBPACK_IMPORTED_MODULE_1__[\"Subscription\"]();\n            var context = {\n              window: _window4,\n              subscription: subscription\n            };\n            this.contexts.push(context);\n            var innerSubscription = Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_3__[\"subscribeToResult\"])(this, closingNotifier, context);\n\n            if (innerSubscription.closed) {\n              this.closeWindow(this.contexts.length - 1);\n            } else {\n              innerSubscription.context = context;\n              subscription.add(innerSubscription);\n            }\n\n            this.destination.next(_window4);\n          } else {\n            this.closeWindow(this.contexts.indexOf(outerValue));\n          }\n        }\n      }, {\n        key: \"notifyError\",\n        value: function notifyError(err) {\n          this.error(err);\n        }\n      }, {\n        key: \"notifyComplete\",\n        value: function notifyComplete(inner) {\n          if (inner !== this.openSubscription) {\n            this.closeWindow(this.contexts.indexOf(inner.context));\n          }\n        }\n      }, {\n        key: \"closeWindow\",\n        value: function closeWindow(index) {\n          if (index === -1) {\n            return;\n          }\n\n          var contexts = this.contexts;\n          var context = contexts[index];\n          var window = context.window,\n              subscription = context.subscription;\n          contexts.splice(index, 1);\n          window.complete();\n          subscription.unsubscribe();\n        }\n      }]);\n\n      return WindowToggleSubscriber;\n    }(_OuterSubscriber__WEBPACK_IMPORTED_MODULE_2__[\"OuterSubscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/windowWhen.js\":\n  /*!*********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/windowWhen.js ***!\n    \\*********************************************************************/\n\n  /*! exports provided: windowWhen */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsWindowWhenJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"windowWhen\", function () {\n      return windowWhen;\n    });\n    /* harmony import */\n\n\n    var _Subject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subject */\n    \"./node_modules/rxjs/_esm2015/internal/Subject.js\");\n    /* harmony import */\n\n\n    var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../OuterSubscriber */\n    \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n    /* harmony import */\n\n\n    var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../util/subscribeToResult */\n    \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n    function windowWhen(closingSelector) {\n      return function windowWhenOperatorFunction(source) {\n        return source.lift(new WindowOperator(closingSelector));\n      };\n    }\n\n    var WindowOperator =\n    /*#__PURE__*/\n    function () {\n      function WindowOperator(closingSelector) {\n        _classCallCheck(this, WindowOperator);\n\n        this.closingSelector = closingSelector;\n      }\n\n      _createClass2(WindowOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new WindowSubscriber(subscriber, this.closingSelector));\n        }\n      }]);\n\n      return WindowOperator;\n    }();\n\n    var WindowSubscriber =\n    /*#__PURE__*/\n    function (_OuterSubscriber__WEB29) {\n      _inherits(WindowSubscriber, _OuterSubscriber__WEB29);\n\n      function WindowSubscriber(destination, closingSelector) {\n        var _this787;\n\n        _classCallCheck(this, WindowSubscriber);\n\n        _this787 = _possibleConstructorReturn(this, _getPrototypeOf(WindowSubscriber).call(this, destination));\n        _this787.destination = destination;\n        _this787.closingSelector = closingSelector;\n\n        _this787.openWindow();\n\n        return _this787;\n      }\n\n      _createClass2(WindowSubscriber, [{\n        key: \"notifyNext\",\n        value: function notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n          this.openWindow(innerSub);\n        }\n      }, {\n        key: \"notifyError\",\n        value: function notifyError(error, innerSub) {\n          this._error(error);\n        }\n      }, {\n        key: \"notifyComplete\",\n        value: function notifyComplete(innerSub) {\n          this.openWindow(innerSub);\n        }\n      }, {\n        key: \"_next\",\n        value: function _next(value) {\n          this.window.next(value);\n        }\n      }, {\n        key: \"_error\",\n        value: function _error(err) {\n          this.window.error(err);\n          this.destination.error(err);\n          this.unsubscribeClosingNotification();\n        }\n      }, {\n        key: \"_complete\",\n        value: function _complete() {\n          this.window.complete();\n          this.destination.complete();\n          this.unsubscribeClosingNotification();\n        }\n      }, {\n        key: \"unsubscribeClosingNotification\",\n        value: function unsubscribeClosingNotification() {\n          if (this.closingNotification) {\n            this.closingNotification.unsubscribe();\n          }\n        }\n      }, {\n        key: \"openWindow\",\n        value: function openWindow() {\n          var innerSub = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n\n          if (innerSub) {\n            this.remove(innerSub);\n            innerSub.unsubscribe();\n          }\n\n          var prevWindow = this.window;\n\n          if (prevWindow) {\n            prevWindow.complete();\n          }\n\n          var window = this.window = new _Subject__WEBPACK_IMPORTED_MODULE_0__[\"Subject\"]();\n          this.destination.next(window);\n          var closingNotifier;\n\n          try {\n            var closingSelector = this.closingSelector;\n            closingNotifier = closingSelector();\n          } catch (e) {\n            this.destination.error(e);\n            this.window.error(e);\n            return;\n          }\n\n          this.add(this.closingNotification = Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_2__[\"subscribeToResult\"])(this, closingNotifier));\n        }\n      }]);\n\n      return WindowSubscriber;\n    }(_OuterSubscriber__WEBPACK_IMPORTED_MODULE_1__[\"OuterSubscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/withLatestFrom.js\":\n  /*!*************************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/withLatestFrom.js ***!\n    \\*************************************************************************/\n\n  /*! exports provided: withLatestFrom */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsWithLatestFromJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"withLatestFrom\", function () {\n      return withLatestFrom;\n    });\n    /* harmony import */\n\n\n    var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../OuterSubscriber */\n    \"./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js\");\n    /* harmony import */\n\n\n    var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../util/subscribeToResult */\n    \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\");\n\n    function withLatestFrom() {\n      for (var _len68 = arguments.length, args = new Array(_len68), _key64 = 0; _key64 < _len68; _key64++) {\n        args[_key64] = arguments[_key64];\n      }\n\n      return function (source) {\n        var project;\n\n        if (typeof args[args.length - 1] === 'function') {\n          project = args.pop();\n        }\n\n        var observables = args;\n        return source.lift(new WithLatestFromOperator(observables, project));\n      };\n    }\n\n    var WithLatestFromOperator =\n    /*#__PURE__*/\n    function () {\n      function WithLatestFromOperator(observables, project) {\n        _classCallCheck(this, WithLatestFromOperator);\n\n        this.observables = observables;\n        this.project = project;\n      }\n\n      _createClass2(WithLatestFromOperator, [{\n        key: \"call\",\n        value: function call(subscriber, source) {\n          return source.subscribe(new WithLatestFromSubscriber(subscriber, this.observables, this.project));\n        }\n      }]);\n\n      return WithLatestFromOperator;\n    }();\n\n    var WithLatestFromSubscriber =\n    /*#__PURE__*/\n    function (_OuterSubscriber__WEB30) {\n      _inherits(WithLatestFromSubscriber, _OuterSubscriber__WEB30);\n\n      function WithLatestFromSubscriber(destination, observables, project) {\n        var _this788;\n\n        _classCallCheck(this, WithLatestFromSubscriber);\n\n        _this788 = _possibleConstructorReturn(this, _getPrototypeOf(WithLatestFromSubscriber).call(this, destination));\n        _this788.observables = observables;\n        _this788.project = project;\n        _this788.toRespond = [];\n        var len = observables.length;\n        _this788.values = new Array(len);\n\n        for (var i = 0; i < len; i++) {\n          _this788.toRespond.push(i);\n        }\n\n        for (var _i45 = 0; _i45 < len; _i45++) {\n          var observable = observables[_i45];\n\n          _this788.add(Object(_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_1__[\"subscribeToResult\"])(_assertThisInitialized(_this788), observable, observable, _i45));\n        }\n\n        return _this788;\n      }\n\n      _createClass2(WithLatestFromSubscriber, [{\n        key: \"notifyNext\",\n        value: function notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n          this.values[outerIndex] = innerValue;\n          var toRespond = this.toRespond;\n\n          if (toRespond.length > 0) {\n            var found = toRespond.indexOf(outerIndex);\n\n            if (found !== -1) {\n              toRespond.splice(found, 1);\n            }\n          }\n        }\n      }, {\n        key: \"notifyComplete\",\n        value: function notifyComplete() {}\n      }, {\n        key: \"_next\",\n        value: function _next(value) {\n          if (this.toRespond.length === 0) {\n            var args = [value].concat(_toConsumableArray(this.values));\n\n            if (this.project) {\n              this._tryProject(args);\n            } else {\n              this.destination.next(args);\n            }\n          }\n        }\n      }, {\n        key: \"_tryProject\",\n        value: function _tryProject(args) {\n          var result;\n\n          try {\n            result = this.project.apply(this, args);\n          } catch (err) {\n            this.destination.error(err);\n            return;\n          }\n\n          this.destination.next(result);\n        }\n      }]);\n\n      return WithLatestFromSubscriber;\n    }(_OuterSubscriber__WEBPACK_IMPORTED_MODULE_0__[\"OuterSubscriber\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/zip.js\":\n  /*!**************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/zip.js ***!\n    \\**************************************************************/\n\n  /*! exports provided: zip */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsZipJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"zip\", function () {\n      return zip;\n    });\n    /* harmony import */\n\n\n    var _observable_zip__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../observable/zip */\n    \"./node_modules/rxjs/_esm2015/internal/observable/zip.js\");\n\n    function zip() {\n      for (var _len69 = arguments.length, observables = new Array(_len69), _key65 = 0; _key65 < _len69; _key65++) {\n        observables[_key65] = arguments[_key65];\n      }\n\n      return function zipOperatorFunction(source) {\n        return source.lift.call(Object(_observable_zip__WEBPACK_IMPORTED_MODULE_0__[\"zip\"]).apply(void 0, [source].concat(observables)));\n      };\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/operators/zipAll.js\":\n  /*!*****************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/operators/zipAll.js ***!\n    \\*****************************************************************/\n\n  /*! exports provided: zipAll */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalOperatorsZipAllJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"zipAll\", function () {\n      return zipAll;\n    });\n    /* harmony import */\n\n\n    var _observable_zip__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../observable/zip */\n    \"./node_modules/rxjs/_esm2015/internal/observable/zip.js\");\n\n    function zipAll(project) {\n      return function (source) {\n        return source.lift(new _observable_zip__WEBPACK_IMPORTED_MODULE_0__[\"ZipOperator\"](project));\n      };\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/scheduler/Action.js\":\n  /*!*****************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/scheduler/Action.js ***!\n    \\*****************************************************************/\n\n  /*! exports provided: Action */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalSchedulerActionJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Action\", function () {\n      return Action;\n    });\n    /* harmony import */\n\n\n    var _Subscription__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subscription */\n    \"./node_modules/rxjs/_esm2015/internal/Subscription.js\");\n\n    var Action =\n    /*#__PURE__*/\n    function (_Subscription__WEBPAC4) {\n      _inherits(Action, _Subscription__WEBPAC4);\n\n      function Action(scheduler, work) {\n        _classCallCheck(this, Action);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(Action).call(this));\n      }\n\n      _createClass2(Action, [{\n        key: \"schedule\",\n        value: function schedule(state) {\n          var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n          return this;\n        }\n      }]);\n\n      return Action;\n    }(_Subscription__WEBPACK_IMPORTED_MODULE_0__[\"Subscription\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/scheduler/AnimationFrameAction.js\":\n  /*!*******************************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/scheduler/AnimationFrameAction.js ***!\n    \\*******************************************************************************/\n\n  /*! exports provided: AnimationFrameAction */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalSchedulerAnimationFrameActionJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"AnimationFrameAction\", function () {\n      return AnimationFrameAction;\n    });\n    /* harmony import */\n\n\n    var _AsyncAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./AsyncAction */\n    \"./node_modules/rxjs/_esm2015/internal/scheduler/AsyncAction.js\");\n\n    var AnimationFrameAction =\n    /*#__PURE__*/\n    function (_AsyncAction__WEBPACK) {\n      _inherits(AnimationFrameAction, _AsyncAction__WEBPACK);\n\n      function AnimationFrameAction(scheduler, work) {\n        var _this789;\n\n        _classCallCheck(this, AnimationFrameAction);\n\n        _this789 = _possibleConstructorReturn(this, _getPrototypeOf(AnimationFrameAction).call(this, scheduler, work));\n        _this789.scheduler = scheduler;\n        _this789.work = work;\n        return _this789;\n      }\n\n      _createClass2(AnimationFrameAction, [{\n        key: \"requestAsyncId\",\n        value: function requestAsyncId(scheduler, id) {\n          var delay = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n\n          if (delay !== null && delay > 0) {\n            return _get(_getPrototypeOf(AnimationFrameAction.prototype), \"requestAsyncId\", this).call(this, scheduler, id, delay);\n          }\n\n          scheduler.actions.push(this);\n          return scheduler.scheduled || (scheduler.scheduled = requestAnimationFrame(function () {\n            return scheduler.flush(null);\n          }));\n        }\n      }, {\n        key: \"recycleAsyncId\",\n        value: function recycleAsyncId(scheduler, id) {\n          var delay = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n\n          if (delay !== null && delay > 0 || delay === null && this.delay > 0) {\n            return _get(_getPrototypeOf(AnimationFrameAction.prototype), \"recycleAsyncId\", this).call(this, scheduler, id, delay);\n          }\n\n          if (scheduler.actions.length === 0) {\n            cancelAnimationFrame(id);\n            scheduler.scheduled = undefined;\n          }\n\n          return undefined;\n        }\n      }]);\n\n      return AnimationFrameAction;\n    }(_AsyncAction__WEBPACK_IMPORTED_MODULE_0__[\"AsyncAction\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/scheduler/AnimationFrameScheduler.js\":\n  /*!**********************************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/scheduler/AnimationFrameScheduler.js ***!\n    \\**********************************************************************************/\n\n  /*! exports provided: AnimationFrameScheduler */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalSchedulerAnimationFrameSchedulerJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"AnimationFrameScheduler\", function () {\n      return AnimationFrameScheduler;\n    });\n    /* harmony import */\n\n\n    var _AsyncScheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./AsyncScheduler */\n    \"./node_modules/rxjs/_esm2015/internal/scheduler/AsyncScheduler.js\");\n\n    var AnimationFrameScheduler =\n    /*#__PURE__*/\n    function (_AsyncScheduler__WEBP) {\n      _inherits(AnimationFrameScheduler, _AsyncScheduler__WEBP);\n\n      function AnimationFrameScheduler() {\n        _classCallCheck(this, AnimationFrameScheduler);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(AnimationFrameScheduler).apply(this, arguments));\n      }\n\n      _createClass2(AnimationFrameScheduler, [{\n        key: \"flush\",\n        value: function flush(action) {\n          this.active = true;\n          this.scheduled = undefined;\n          var actions = this.actions;\n          var error;\n          var index = -1;\n          var count = actions.length;\n          action = action || actions.shift();\n\n          do {\n            if (error = action.execute(action.state, action.delay)) {\n              break;\n            }\n          } while (++index < count && (action = actions.shift()));\n\n          this.active = false;\n\n          if (error) {\n            while (++index < count && (action = actions.shift())) {\n              action.unsubscribe();\n            }\n\n            throw error;\n          }\n        }\n      }]);\n\n      return AnimationFrameScheduler;\n    }(_AsyncScheduler__WEBPACK_IMPORTED_MODULE_0__[\"AsyncScheduler\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/scheduler/AsapAction.js\":\n  /*!*********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/scheduler/AsapAction.js ***!\n    \\*********************************************************************/\n\n  /*! exports provided: AsapAction */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalSchedulerAsapActionJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"AsapAction\", function () {\n      return AsapAction;\n    });\n    /* harmony import */\n\n\n    var _util_Immediate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../util/Immediate */\n    \"./node_modules/rxjs/_esm2015/internal/util/Immediate.js\");\n    /* harmony import */\n\n\n    var _AsyncAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ./AsyncAction */\n    \"./node_modules/rxjs/_esm2015/internal/scheduler/AsyncAction.js\");\n\n    var AsapAction =\n    /*#__PURE__*/\n    function (_AsyncAction__WEBPACK2) {\n      _inherits(AsapAction, _AsyncAction__WEBPACK2);\n\n      function AsapAction(scheduler, work) {\n        var _this790;\n\n        _classCallCheck(this, AsapAction);\n\n        _this790 = _possibleConstructorReturn(this, _getPrototypeOf(AsapAction).call(this, scheduler, work));\n        _this790.scheduler = scheduler;\n        _this790.work = work;\n        return _this790;\n      }\n\n      _createClass2(AsapAction, [{\n        key: \"requestAsyncId\",\n        value: function requestAsyncId(scheduler, id) {\n          var delay = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n\n          if (delay !== null && delay > 0) {\n            return _get(_getPrototypeOf(AsapAction.prototype), \"requestAsyncId\", this).call(this, scheduler, id, delay);\n          }\n\n          scheduler.actions.push(this);\n          return scheduler.scheduled || (scheduler.scheduled = _util_Immediate__WEBPACK_IMPORTED_MODULE_0__[\"Immediate\"].setImmediate(scheduler.flush.bind(scheduler, null)));\n        }\n      }, {\n        key: \"recycleAsyncId\",\n        value: function recycleAsyncId(scheduler, id) {\n          var delay = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n\n          if (delay !== null && delay > 0 || delay === null && this.delay > 0) {\n            return _get(_getPrototypeOf(AsapAction.prototype), \"recycleAsyncId\", this).call(this, scheduler, id, delay);\n          }\n\n          if (scheduler.actions.length === 0) {\n            _util_Immediate__WEBPACK_IMPORTED_MODULE_0__[\"Immediate\"].clearImmediate(id);\n\n            scheduler.scheduled = undefined;\n          }\n\n          return undefined;\n        }\n      }]);\n\n      return AsapAction;\n    }(_AsyncAction__WEBPACK_IMPORTED_MODULE_1__[\"AsyncAction\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/scheduler/AsapScheduler.js\":\n  /*!************************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/scheduler/AsapScheduler.js ***!\n    \\************************************************************************/\n\n  /*! exports provided: AsapScheduler */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalSchedulerAsapSchedulerJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"AsapScheduler\", function () {\n      return AsapScheduler;\n    });\n    /* harmony import */\n\n\n    var _AsyncScheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./AsyncScheduler */\n    \"./node_modules/rxjs/_esm2015/internal/scheduler/AsyncScheduler.js\");\n\n    var AsapScheduler =\n    /*#__PURE__*/\n    function (_AsyncScheduler__WEBP2) {\n      _inherits(AsapScheduler, _AsyncScheduler__WEBP2);\n\n      function AsapScheduler() {\n        _classCallCheck(this, AsapScheduler);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(AsapScheduler).apply(this, arguments));\n      }\n\n      _createClass2(AsapScheduler, [{\n        key: \"flush\",\n        value: function flush(action) {\n          this.active = true;\n          this.scheduled = undefined;\n          var actions = this.actions;\n          var error;\n          var index = -1;\n          var count = actions.length;\n          action = action || actions.shift();\n\n          do {\n            if (error = action.execute(action.state, action.delay)) {\n              break;\n            }\n          } while (++index < count && (action = actions.shift()));\n\n          this.active = false;\n\n          if (error) {\n            while (++index < count && (action = actions.shift())) {\n              action.unsubscribe();\n            }\n\n            throw error;\n          }\n        }\n      }]);\n\n      return AsapScheduler;\n    }(_AsyncScheduler__WEBPACK_IMPORTED_MODULE_0__[\"AsyncScheduler\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/scheduler/AsyncAction.js\":\n  /*!**********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/scheduler/AsyncAction.js ***!\n    \\**********************************************************************/\n\n  /*! exports provided: AsyncAction */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalSchedulerAsyncActionJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"AsyncAction\", function () {\n      return AsyncAction;\n    });\n    /* harmony import */\n\n\n    var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./Action */\n    \"./node_modules/rxjs/_esm2015/internal/scheduler/Action.js\");\n\n    var AsyncAction =\n    /*#__PURE__*/\n    function (_Action__WEBPACK_IMPO) {\n      _inherits(AsyncAction, _Action__WEBPACK_IMPO);\n\n      function AsyncAction(scheduler, work) {\n        var _this791;\n\n        _classCallCheck(this, AsyncAction);\n\n        _this791 = _possibleConstructorReturn(this, _getPrototypeOf(AsyncAction).call(this, scheduler, work));\n        _this791.scheduler = scheduler;\n        _this791.work = work;\n        _this791.pending = false;\n        return _this791;\n      }\n\n      _createClass2(AsyncAction, [{\n        key: \"schedule\",\n        value: function schedule(state) {\n          var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n\n          if (this.closed) {\n            return this;\n          }\n\n          this.state = state;\n          var id = this.id;\n          var scheduler = this.scheduler;\n\n          if (id != null) {\n            this.id = this.recycleAsyncId(scheduler, id, delay);\n          }\n\n          this.pending = true;\n          this.delay = delay;\n          this.id = this.id || this.requestAsyncId(scheduler, this.id, delay);\n          return this;\n        }\n      }, {\n        key: \"requestAsyncId\",\n        value: function requestAsyncId(scheduler, id) {\n          var delay = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n          return setInterval(scheduler.flush.bind(scheduler, this), delay);\n        }\n      }, {\n        key: \"recycleAsyncId\",\n        value: function recycleAsyncId(scheduler, id) {\n          var delay = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n\n          if (delay !== null && this.delay === delay && this.pending === false) {\n            return id;\n          }\n\n          clearInterval(id);\n          return undefined;\n        }\n      }, {\n        key: \"execute\",\n        value: function execute(state, delay) {\n          if (this.closed) {\n            return new Error('executing a cancelled action');\n          }\n\n          this.pending = false;\n\n          var error = this._execute(state, delay);\n\n          if (error) {\n            return error;\n          } else if (this.pending === false && this.id != null) {\n            this.id = this.recycleAsyncId(this.scheduler, this.id, null);\n          }\n        }\n      }, {\n        key: \"_execute\",\n        value: function _execute(state, delay) {\n          var errored = false;\n          var errorValue = undefined;\n\n          try {\n            this.work(state);\n          } catch (e) {\n            errored = true;\n            errorValue = !!e && e || new Error(e);\n          }\n\n          if (errored) {\n            this.unsubscribe();\n            return errorValue;\n          }\n        }\n      }, {\n        key: \"_unsubscribe\",\n        value: function _unsubscribe() {\n          var id = this.id;\n          var scheduler = this.scheduler;\n          var actions = scheduler.actions;\n          var index = actions.indexOf(this);\n          this.work = null;\n          this.state = null;\n          this.pending = false;\n          this.scheduler = null;\n\n          if (index !== -1) {\n            actions.splice(index, 1);\n          }\n\n          if (id != null) {\n            this.id = this.recycleAsyncId(scheduler, id, null);\n          }\n\n          this.delay = null;\n        }\n      }]);\n\n      return AsyncAction;\n    }(_Action__WEBPACK_IMPORTED_MODULE_0__[\"Action\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/scheduler/AsyncScheduler.js\":\n  /*!*************************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/scheduler/AsyncScheduler.js ***!\n    \\*************************************************************************/\n\n  /*! exports provided: AsyncScheduler */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalSchedulerAsyncSchedulerJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"AsyncScheduler\", function () {\n      return AsyncScheduler;\n    });\n    /* harmony import */\n\n\n    var _Scheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Scheduler */\n    \"./node_modules/rxjs/_esm2015/internal/Scheduler.js\");\n\n    var AsyncScheduler =\n    /*#__PURE__*/\n    function (_Scheduler__WEBPACK_I) {\n      _inherits(AsyncScheduler, _Scheduler__WEBPACK_I);\n\n      function AsyncScheduler(SchedulerAction) {\n        var _this792;\n\n        var now = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _Scheduler__WEBPACK_IMPORTED_MODULE_0__[\"Scheduler\"].now;\n\n        _classCallCheck(this, AsyncScheduler);\n\n        _this792 = _possibleConstructorReturn(this, _getPrototypeOf(AsyncScheduler).call(this, SchedulerAction, function () {\n          if (AsyncScheduler.delegate && AsyncScheduler.delegate !== _assertThisInitialized(_this792)) {\n            return AsyncScheduler.delegate.now();\n          } else {\n            return now();\n          }\n        }));\n        _this792.actions = [];\n        _this792.active = false;\n        _this792.scheduled = undefined;\n        return _this792;\n      }\n\n      _createClass2(AsyncScheduler, [{\n        key: \"schedule\",\n        value: function schedule(work) {\n          var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n          var state = arguments.length > 2 ? arguments[2] : undefined;\n\n          if (AsyncScheduler.delegate && AsyncScheduler.delegate !== this) {\n            return AsyncScheduler.delegate.schedule(work, delay, state);\n          } else {\n            return _get(_getPrototypeOf(AsyncScheduler.prototype), \"schedule\", this).call(this, work, delay, state);\n          }\n        }\n      }, {\n        key: \"flush\",\n        value: function flush(action) {\n          var actions = this.actions;\n\n          if (this.active) {\n            actions.push(action);\n            return;\n          }\n\n          var error;\n          this.active = true;\n\n          do {\n            if (error = action.execute(action.state, action.delay)) {\n              break;\n            }\n          } while (action = actions.shift());\n\n          this.active = false;\n\n          if (error) {\n            while (action = actions.shift()) {\n              action.unsubscribe();\n            }\n\n            throw error;\n          }\n        }\n      }]);\n\n      return AsyncScheduler;\n    }(_Scheduler__WEBPACK_IMPORTED_MODULE_0__[\"Scheduler\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/scheduler/QueueAction.js\":\n  /*!**********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/scheduler/QueueAction.js ***!\n    \\**********************************************************************/\n\n  /*! exports provided: QueueAction */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalSchedulerQueueActionJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"QueueAction\", function () {\n      return QueueAction;\n    });\n    /* harmony import */\n\n\n    var _AsyncAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./AsyncAction */\n    \"./node_modules/rxjs/_esm2015/internal/scheduler/AsyncAction.js\");\n\n    var QueueAction =\n    /*#__PURE__*/\n    function (_AsyncAction__WEBPACK3) {\n      _inherits(QueueAction, _AsyncAction__WEBPACK3);\n\n      function QueueAction(scheduler, work) {\n        var _this793;\n\n        _classCallCheck(this, QueueAction);\n\n        _this793 = _possibleConstructorReturn(this, _getPrototypeOf(QueueAction).call(this, scheduler, work));\n        _this793.scheduler = scheduler;\n        _this793.work = work;\n        return _this793;\n      }\n\n      _createClass2(QueueAction, [{\n        key: \"schedule\",\n        value: function schedule(state) {\n          var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n\n          if (delay > 0) {\n            return _get(_getPrototypeOf(QueueAction.prototype), \"schedule\", this).call(this, state, delay);\n          }\n\n          this.delay = delay;\n          this.state = state;\n          this.scheduler.flush(this);\n          return this;\n        }\n      }, {\n        key: \"execute\",\n        value: function execute(state, delay) {\n          return delay > 0 || this.closed ? _get(_getPrototypeOf(QueueAction.prototype), \"execute\", this).call(this, state, delay) : this._execute(state, delay);\n        }\n      }, {\n        key: \"requestAsyncId\",\n        value: function requestAsyncId(scheduler, id) {\n          var delay = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n\n          if (delay !== null && delay > 0 || delay === null && this.delay > 0) {\n            return _get(_getPrototypeOf(QueueAction.prototype), \"requestAsyncId\", this).call(this, scheduler, id, delay);\n          }\n\n          return scheduler.flush(this);\n        }\n      }]);\n\n      return QueueAction;\n    }(_AsyncAction__WEBPACK_IMPORTED_MODULE_0__[\"AsyncAction\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/scheduler/QueueScheduler.js\":\n  /*!*************************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/scheduler/QueueScheduler.js ***!\n    \\*************************************************************************/\n\n  /*! exports provided: QueueScheduler */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalSchedulerQueueSchedulerJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"QueueScheduler\", function () {\n      return QueueScheduler;\n    });\n    /* harmony import */\n\n\n    var _AsyncScheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./AsyncScheduler */\n    \"./node_modules/rxjs/_esm2015/internal/scheduler/AsyncScheduler.js\");\n\n    var QueueScheduler =\n    /*#__PURE__*/\n    function (_AsyncScheduler__WEBP3) {\n      _inherits(QueueScheduler, _AsyncScheduler__WEBP3);\n\n      function QueueScheduler() {\n        _classCallCheck(this, QueueScheduler);\n\n        return _possibleConstructorReturn(this, _getPrototypeOf(QueueScheduler).apply(this, arguments));\n      }\n\n      return QueueScheduler;\n    }(_AsyncScheduler__WEBPACK_IMPORTED_MODULE_0__[\"AsyncScheduler\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/scheduler/VirtualTimeScheduler.js\":\n  /*!*******************************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/scheduler/VirtualTimeScheduler.js ***!\n    \\*******************************************************************************/\n\n  /*! exports provided: VirtualTimeScheduler, VirtualAction */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalSchedulerVirtualTimeSchedulerJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"VirtualTimeScheduler\", function () {\n      return VirtualTimeScheduler;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"VirtualAction\", function () {\n      return VirtualAction;\n    });\n    /* harmony import */\n\n\n    var _AsyncAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./AsyncAction */\n    \"./node_modules/rxjs/_esm2015/internal/scheduler/AsyncAction.js\");\n    /* harmony import */\n\n\n    var _AsyncScheduler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ./AsyncScheduler */\n    \"./node_modules/rxjs/_esm2015/internal/scheduler/AsyncScheduler.js\");\n\n    var VirtualTimeScheduler =\n    /*#__PURE__*/\n    function (_AsyncScheduler__WEBP4) {\n      _inherits(VirtualTimeScheduler, _AsyncScheduler__WEBP4);\n\n      function VirtualTimeScheduler() {\n        var _this794;\n\n        var SchedulerAction = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : VirtualAction;\n        var maxFrames = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : Number.POSITIVE_INFINITY;\n\n        _classCallCheck(this, VirtualTimeScheduler);\n\n        _this794 = _possibleConstructorReturn(this, _getPrototypeOf(VirtualTimeScheduler).call(this, SchedulerAction, function () {\n          return _this794.frame;\n        }));\n        _this794.maxFrames = maxFrames;\n        _this794.frame = 0;\n        _this794.index = -1;\n        return _this794;\n      }\n\n      _createClass2(VirtualTimeScheduler, [{\n        key: \"flush\",\n        value: function flush() {\n          var actions = this.actions,\n              maxFrames = this.maxFrames;\n          var error, action;\n\n          while ((action = actions[0]) && action.delay <= maxFrames) {\n            actions.shift();\n            this.frame = action.delay;\n\n            if (error = action.execute(action.state, action.delay)) {\n              break;\n            }\n          }\n\n          if (error) {\n            while (action = actions.shift()) {\n              action.unsubscribe();\n            }\n\n            throw error;\n          }\n        }\n      }]);\n\n      return VirtualTimeScheduler;\n    }(_AsyncScheduler__WEBPACK_IMPORTED_MODULE_1__[\"AsyncScheduler\"]);\n\n    VirtualTimeScheduler.frameTimeFactor = 10;\n\n    var VirtualAction =\n    /*#__PURE__*/\n    function (_AsyncAction__WEBPACK4) {\n      _inherits(VirtualAction, _AsyncAction__WEBPACK4);\n\n      function VirtualAction(scheduler, work) {\n        var _this795;\n\n        var index = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : scheduler.index += 1;\n\n        _classCallCheck(this, VirtualAction);\n\n        _this795 = _possibleConstructorReturn(this, _getPrototypeOf(VirtualAction).call(this, scheduler, work));\n        _this795.scheduler = scheduler;\n        _this795.work = work;\n        _this795.index = index;\n        _this795.active = true;\n        _this795.index = scheduler.index = index;\n        return _this795;\n      }\n\n      _createClass2(VirtualAction, [{\n        key: \"schedule\",\n        value: function schedule(state) {\n          var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n\n          if (!this.id) {\n            return _get(_getPrototypeOf(VirtualAction.prototype), \"schedule\", this).call(this, state, delay);\n          }\n\n          this.active = false;\n          var action = new VirtualAction(this.scheduler, this.work);\n          this.add(action);\n          return action.schedule(state, delay);\n        }\n      }, {\n        key: \"requestAsyncId\",\n        value: function requestAsyncId(scheduler, id) {\n          var delay = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n          this.delay = scheduler.frame + delay;\n          var actions = scheduler.actions;\n          actions.push(this);\n          actions.sort(VirtualAction.sortActions);\n          return true;\n        }\n      }, {\n        key: \"recycleAsyncId\",\n        value: function recycleAsyncId(scheduler, id) {\n          var delay = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n          return undefined;\n        }\n      }, {\n        key: \"_execute\",\n        value: function _execute(state, delay) {\n          if (this.active === true) {\n            return _get(_getPrototypeOf(VirtualAction.prototype), \"_execute\", this).call(this, state, delay);\n          }\n        }\n      }], [{\n        key: \"sortActions\",\n        value: function sortActions(a, b) {\n          if (a.delay === b.delay) {\n            if (a.index === b.index) {\n              return 0;\n            } else if (a.index > b.index) {\n              return 1;\n            } else {\n              return -1;\n            }\n          } else if (a.delay > b.delay) {\n            return 1;\n          } else {\n            return -1;\n          }\n        }\n      }]);\n\n      return VirtualAction;\n    }(_AsyncAction__WEBPACK_IMPORTED_MODULE_0__[\"AsyncAction\"]);\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/scheduler/animationFrame.js\":\n  /*!*************************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/scheduler/animationFrame.js ***!\n    \\*************************************************************************/\n\n  /*! exports provided: animationFrame */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalSchedulerAnimationFrameJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"animationFrame\", function () {\n      return animationFrame;\n    });\n    /* harmony import */\n\n\n    var _AnimationFrameAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./AnimationFrameAction */\n    \"./node_modules/rxjs/_esm2015/internal/scheduler/AnimationFrameAction.js\");\n    /* harmony import */\n\n\n    var _AnimationFrameScheduler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ./AnimationFrameScheduler */\n    \"./node_modules/rxjs/_esm2015/internal/scheduler/AnimationFrameScheduler.js\");\n\n    var animationFrame = new _AnimationFrameScheduler__WEBPACK_IMPORTED_MODULE_1__[\"AnimationFrameScheduler\"](_AnimationFrameAction__WEBPACK_IMPORTED_MODULE_0__[\"AnimationFrameAction\"]);\n    /***/\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/scheduler/asap.js\":\n  /*!***************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/scheduler/asap.js ***!\n    \\***************************************************************/\n\n  /*! exports provided: asap */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalSchedulerAsapJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"asap\", function () {\n      return asap;\n    });\n    /* harmony import */\n\n\n    var _AsapAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./AsapAction */\n    \"./node_modules/rxjs/_esm2015/internal/scheduler/AsapAction.js\");\n    /* harmony import */\n\n\n    var _AsapScheduler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ./AsapScheduler */\n    \"./node_modules/rxjs/_esm2015/internal/scheduler/AsapScheduler.js\");\n\n    var asap = new _AsapScheduler__WEBPACK_IMPORTED_MODULE_1__[\"AsapScheduler\"](_AsapAction__WEBPACK_IMPORTED_MODULE_0__[\"AsapAction\"]);\n    /***/\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/scheduler/async.js\":\n  /*!****************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/scheduler/async.js ***!\n    \\****************************************************************/\n\n  /*! exports provided: async */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalSchedulerAsyncJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"async\", function () {\n      return async;\n    });\n    /* harmony import */\n\n\n    var _AsyncAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./AsyncAction */\n    \"./node_modules/rxjs/_esm2015/internal/scheduler/AsyncAction.js\");\n    /* harmony import */\n\n\n    var _AsyncScheduler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ./AsyncScheduler */\n    \"./node_modules/rxjs/_esm2015/internal/scheduler/AsyncScheduler.js\");\n\n    var async = new _AsyncScheduler__WEBPACK_IMPORTED_MODULE_1__[\"AsyncScheduler\"](_AsyncAction__WEBPACK_IMPORTED_MODULE_0__[\"AsyncAction\"]);\n    /***/\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/scheduler/queue.js\":\n  /*!****************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/scheduler/queue.js ***!\n    \\****************************************************************/\n\n  /*! exports provided: queue */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalSchedulerQueueJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"queue\", function () {\n      return queue;\n    });\n    /* harmony import */\n\n\n    var _QueueAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./QueueAction */\n    \"./node_modules/rxjs/_esm2015/internal/scheduler/QueueAction.js\");\n    /* harmony import */\n\n\n    var _QueueScheduler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ./QueueScheduler */\n    \"./node_modules/rxjs/_esm2015/internal/scheduler/QueueScheduler.js\");\n\n    var queue = new _QueueScheduler__WEBPACK_IMPORTED_MODULE_1__[\"QueueScheduler\"](_QueueAction__WEBPACK_IMPORTED_MODULE_0__[\"QueueAction\"]);\n    /***/\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/symbol/iterator.js\":\n  /*!****************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/symbol/iterator.js ***!\n    \\****************************************************************/\n\n  /*! exports provided: getSymbolIterator, iterator, $$iterator */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalSymbolIteratorJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"getSymbolIterator\", function () {\n      return getSymbolIterator;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"iterator\", function () {\n      return iterator;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"$$iterator\", function () {\n      return $$iterator;\n    });\n\n    function getSymbolIterator() {\n      if (typeof Symbol !== 'function' || !Symbol.iterator) {\n        return '@@iterator';\n      }\n\n      return Symbol.iterator;\n    }\n\n    var iterator = getSymbolIterator();\n    var $$iterator = iterator;\n    /***/\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/symbol/observable.js\":\n  /*!******************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/symbol/observable.js ***!\n    \\******************************************************************/\n\n  /*! exports provided: observable */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalSymbolObservableJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"observable\", function () {\n      return observable;\n    });\n\n    var observable = typeof Symbol === 'function' && Symbol.observable || '@@observable';\n    /***/\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/symbol/rxSubscriber.js\":\n  /*!********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/symbol/rxSubscriber.js ***!\n    \\********************************************************************/\n\n  /*! exports provided: rxSubscriber, $$rxSubscriber */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalSymbolRxSubscriberJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"rxSubscriber\", function () {\n      return rxSubscriber;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"$$rxSubscriber\", function () {\n      return $$rxSubscriber;\n    });\n\n    var rxSubscriber = typeof Symbol === 'function' ? Symbol('rxSubscriber') : '@@rxSubscriber_' + Math.random();\n    var $$rxSubscriber = rxSubscriber;\n    /***/\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/util/ArgumentOutOfRangeError.js\":\n  /*!*****************************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/util/ArgumentOutOfRangeError.js ***!\n    \\*****************************************************************************/\n\n  /*! exports provided: ArgumentOutOfRangeError */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalUtilArgumentOutOfRangeErrorJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ArgumentOutOfRangeError\", function () {\n      return ArgumentOutOfRangeError;\n    });\n\n    function ArgumentOutOfRangeErrorImpl() {\n      Error.call(this);\n      this.message = 'argument out of range';\n      this.name = 'ArgumentOutOfRangeError';\n      return this;\n    }\n\n    ArgumentOutOfRangeErrorImpl.prototype = Object.create(Error.prototype);\n    var ArgumentOutOfRangeError = ArgumentOutOfRangeErrorImpl;\n    /***/\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/util/EmptyError.js\":\n  /*!****************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/util/EmptyError.js ***!\n    \\****************************************************************/\n\n  /*! exports provided: EmptyError */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalUtilEmptyErrorJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"EmptyError\", function () {\n      return EmptyError;\n    });\n\n    function EmptyErrorImpl() {\n      Error.call(this);\n      this.message = 'no elements in sequence';\n      this.name = 'EmptyError';\n      return this;\n    }\n\n    EmptyErrorImpl.prototype = Object.create(Error.prototype);\n    var EmptyError = EmptyErrorImpl;\n    /***/\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/util/Immediate.js\":\n  /*!***************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/util/Immediate.js ***!\n    \\***************************************************************/\n\n  /*! exports provided: Immediate */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalUtilImmediateJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"Immediate\", function () {\n      return Immediate;\n    });\n\n    var nextHandle = 1;\n    var tasksByHandle = {};\n\n    function runIfPresent(handle) {\n      var cb = tasksByHandle[handle];\n\n      if (cb) {\n        cb();\n      }\n    }\n\n    var Immediate = {\n      setImmediate: function setImmediate(cb) {\n        var handle = nextHandle++;\n        tasksByHandle[handle] = cb;\n        Promise.resolve().then(function () {\n          return runIfPresent(handle);\n        });\n        return handle;\n      },\n      clearImmediate: function clearImmediate(handle) {\n        delete tasksByHandle[handle];\n      }\n    };\n    /***/\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/util/ObjectUnsubscribedError.js\":\n  /*!*****************************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/util/ObjectUnsubscribedError.js ***!\n    \\*****************************************************************************/\n\n  /*! exports provided: ObjectUnsubscribedError */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalUtilObjectUnsubscribedErrorJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ObjectUnsubscribedError\", function () {\n      return ObjectUnsubscribedError;\n    });\n\n    function ObjectUnsubscribedErrorImpl() {\n      Error.call(this);\n      this.message = 'object unsubscribed';\n      this.name = 'ObjectUnsubscribedError';\n      return this;\n    }\n\n    ObjectUnsubscribedErrorImpl.prototype = Object.create(Error.prototype);\n    var ObjectUnsubscribedError = ObjectUnsubscribedErrorImpl;\n    /***/\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/util/TimeoutError.js\":\n  /*!******************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/util/TimeoutError.js ***!\n    \\******************************************************************/\n\n  /*! exports provided: TimeoutError */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalUtilTimeoutErrorJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"TimeoutError\", function () {\n      return TimeoutError;\n    });\n\n    function TimeoutErrorImpl() {\n      Error.call(this);\n      this.message = 'Timeout has occurred';\n      this.name = 'TimeoutError';\n      return this;\n    }\n\n    TimeoutErrorImpl.prototype = Object.create(Error.prototype);\n    var TimeoutError = TimeoutErrorImpl;\n    /***/\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/util/UnsubscriptionError.js\":\n  /*!*************************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/util/UnsubscriptionError.js ***!\n    \\*************************************************************************/\n\n  /*! exports provided: UnsubscriptionError */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalUtilUnsubscriptionErrorJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"UnsubscriptionError\", function () {\n      return UnsubscriptionError;\n    });\n\n    function UnsubscriptionErrorImpl(errors) {\n      Error.call(this);\n      this.message = errors ? \"\".concat(errors.length, \" errors occurred during unsubscription:\\n\").concat(errors.map(function (err, i) {\n        return \"\".concat(i + 1, \") \").concat(err.toString());\n      }).join('\\n  ')) : '';\n      this.name = 'UnsubscriptionError';\n      this.errors = errors;\n      return this;\n    }\n\n    UnsubscriptionErrorImpl.prototype = Object.create(Error.prototype);\n    var UnsubscriptionError = UnsubscriptionErrorImpl;\n    /***/\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/util/canReportError.js\":\n  /*!********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/util/canReportError.js ***!\n    \\********************************************************************/\n\n  /*! exports provided: canReportError */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalUtilCanReportErrorJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"canReportError\", function () {\n      return canReportError;\n    });\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n\n    function canReportError(observer) {\n      while (observer) {\n        var _observer = observer,\n            closed = _observer.closed,\n            destination = _observer.destination,\n            isStopped = _observer.isStopped;\n\n        if (closed || isStopped) {\n          return false;\n        } else if (destination && destination instanceof _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]) {\n          observer = destination;\n        } else {\n          observer = null;\n        }\n      }\n\n      return true;\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/util/hostReportError.js\":\n  /*!*********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/util/hostReportError.js ***!\n    \\*********************************************************************/\n\n  /*! exports provided: hostReportError */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalUtilHostReportErrorJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"hostReportError\", function () {\n      return hostReportError;\n    });\n\n    function hostReportError(err) {\n      setTimeout(function () {\n        throw err;\n      });\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/util/identity.js\":\n  /*!**************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/util/identity.js ***!\n    \\**************************************************************/\n\n  /*! exports provided: identity */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalUtilIdentityJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"identity\", function () {\n      return identity;\n    });\n\n    function identity(x) {\n      return x;\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/util/isArray.js\":\n  /*!*************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/util/isArray.js ***!\n    \\*************************************************************/\n\n  /*! exports provided: isArray */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalUtilIsArrayJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"isArray\", function () {\n      return isArray;\n    });\n\n    var isArray = Array.isArray || function (x) {\n      return x && typeof x.length === 'number';\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/util/isArrayLike.js\":\n  /*!*****************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/util/isArrayLike.js ***!\n    \\*****************************************************************/\n\n  /*! exports provided: isArrayLike */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalUtilIsArrayLikeJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"isArrayLike\", function () {\n      return isArrayLike;\n    });\n\n    var isArrayLike = function isArrayLike(x) {\n      return x && typeof x.length === 'number' && typeof x !== 'function';\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/util/isDate.js\":\n  /*!************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/util/isDate.js ***!\n    \\************************************************************/\n\n  /*! exports provided: isDate */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalUtilIsDateJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"isDate\", function () {\n      return isDate;\n    });\n\n    function isDate(value) {\n      return value instanceof Date && !isNaN(+value);\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/util/isFunction.js\":\n  /*!****************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/util/isFunction.js ***!\n    \\****************************************************************/\n\n  /*! exports provided: isFunction */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalUtilIsFunctionJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"isFunction\", function () {\n      return isFunction;\n    });\n\n    function isFunction(x) {\n      return typeof x === 'function';\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/util/isInteropObservable.js\":\n  /*!*************************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/util/isInteropObservable.js ***!\n    \\*************************************************************************/\n\n  /*! exports provided: isInteropObservable */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalUtilIsInteropObservableJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"isInteropObservable\", function () {\n      return isInteropObservable;\n    });\n    /* harmony import */\n\n\n    var _symbol_observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../symbol/observable */\n    \"./node_modules/rxjs/_esm2015/internal/symbol/observable.js\");\n\n    function isInteropObservable(input) {\n      return input && typeof input[_symbol_observable__WEBPACK_IMPORTED_MODULE_0__[\"observable\"]] === 'function';\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/util/isIterable.js\":\n  /*!****************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/util/isIterable.js ***!\n    \\****************************************************************/\n\n  /*! exports provided: isIterable */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalUtilIsIterableJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"isIterable\", function () {\n      return isIterable;\n    });\n    /* harmony import */\n\n\n    var _symbol_iterator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../symbol/iterator */\n    \"./node_modules/rxjs/_esm2015/internal/symbol/iterator.js\");\n\n    function isIterable(input) {\n      return input && typeof input[_symbol_iterator__WEBPACK_IMPORTED_MODULE_0__[\"iterator\"]] === 'function';\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/util/isNumeric.js\":\n  /*!***************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/util/isNumeric.js ***!\n    \\***************************************************************/\n\n  /*! exports provided: isNumeric */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalUtilIsNumericJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"isNumeric\", function () {\n      return isNumeric;\n    });\n    /* harmony import */\n\n\n    var _isArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./isArray */\n    \"./node_modules/rxjs/_esm2015/internal/util/isArray.js\");\n\n    function isNumeric(val) {\n      return !Object(_isArray__WEBPACK_IMPORTED_MODULE_0__[\"isArray\"])(val) && val - parseFloat(val) + 1 >= 0;\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/util/isObject.js\":\n  /*!**************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/util/isObject.js ***!\n    \\**************************************************************/\n\n  /*! exports provided: isObject */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalUtilIsObjectJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"isObject\", function () {\n      return isObject;\n    });\n\n    function isObject(x) {\n      return x !== null && typeof x === 'object';\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/util/isObservable.js\":\n  /*!******************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/util/isObservable.js ***!\n    \\******************************************************************/\n\n  /*! exports provided: isObservable */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalUtilIsObservableJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"isObservable\", function () {\n      return isObservable;\n    });\n    /* harmony import */\n\n\n    var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Observable */\n    \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n\n    function isObservable(obj) {\n      return !!obj && (obj instanceof _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"] || typeof obj.lift === 'function' && typeof obj.subscribe === 'function');\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/util/isPromise.js\":\n  /*!***************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/util/isPromise.js ***!\n    \\***************************************************************/\n\n  /*! exports provided: isPromise */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalUtilIsPromiseJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"isPromise\", function () {\n      return isPromise;\n    });\n\n    function isPromise(value) {\n      return !!value && typeof value.subscribe !== 'function' && typeof value.then === 'function';\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/util/isScheduler.js\":\n  /*!*****************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/util/isScheduler.js ***!\n    \\*****************************************************************/\n\n  /*! exports provided: isScheduler */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalUtilIsSchedulerJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"isScheduler\", function () {\n      return isScheduler;\n    });\n\n    function isScheduler(value) {\n      return value && typeof value.schedule === 'function';\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/util/noop.js\":\n  /*!**********************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/util/noop.js ***!\n    \\**********************************************************/\n\n  /*! exports provided: noop */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalUtilNoopJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"noop\", function () {\n      return noop;\n    });\n\n    function noop() {}\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/util/not.js\":\n  /*!*********************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/util/not.js ***!\n    \\*********************************************************/\n\n  /*! exports provided: not */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalUtilNotJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"not\", function () {\n      return not;\n    });\n\n    function not(pred, thisArg) {\n      function notPred() {\n        return !notPred.pred.apply(notPred.thisArg, arguments);\n      }\n\n      notPred.pred = pred;\n      notPred.thisArg = thisArg;\n      return notPred;\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/util/pipe.js\":\n  /*!**********************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/util/pipe.js ***!\n    \\**********************************************************/\n\n  /*! exports provided: pipe, pipeFromArray */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalUtilPipeJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"pipe\", function () {\n      return pipe;\n    });\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"pipeFromArray\", function () {\n      return pipeFromArray;\n    });\n    /* harmony import */\n\n\n    var _noop__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./noop */\n    \"./node_modules/rxjs/_esm2015/internal/util/noop.js\");\n\n    function pipe() {\n      for (var _len70 = arguments.length, fns = new Array(_len70), _key66 = 0; _key66 < _len70; _key66++) {\n        fns[_key66] = arguments[_key66];\n      }\n\n      return pipeFromArray(fns);\n    }\n\n    function pipeFromArray(fns) {\n      if (!fns) {\n        return _noop__WEBPACK_IMPORTED_MODULE_0__[\"noop\"];\n      }\n\n      if (fns.length === 1) {\n        return fns[0];\n      }\n\n      return function piped(input) {\n        return fns.reduce(function (prev, fn) {\n          return fn(prev);\n        }, input);\n      };\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/util/subscribeTo.js\":\n  /*!*****************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/util/subscribeTo.js ***!\n    \\*****************************************************************/\n\n  /*! exports provided: subscribeTo */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalUtilSubscribeToJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"subscribeTo\", function () {\n      return subscribeTo;\n    });\n    /* harmony import */\n\n\n    var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Observable */\n    \"./node_modules/rxjs/_esm2015/internal/Observable.js\");\n    /* harmony import */\n\n\n    var _subscribeToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ./subscribeToArray */\n    \"./node_modules/rxjs/_esm2015/internal/util/subscribeToArray.js\");\n    /* harmony import */\n\n\n    var _subscribeToPromise__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ./subscribeToPromise */\n    \"./node_modules/rxjs/_esm2015/internal/util/subscribeToPromise.js\");\n    /* harmony import */\n\n\n    var _subscribeToIterable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ./subscribeToIterable */\n    \"./node_modules/rxjs/_esm2015/internal/util/subscribeToIterable.js\");\n    /* harmony import */\n\n\n    var _subscribeToObservable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! ./subscribeToObservable */\n    \"./node_modules/rxjs/_esm2015/internal/util/subscribeToObservable.js\");\n    /* harmony import */\n\n\n    var _isArrayLike__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\n    /*! ./isArrayLike */\n    \"./node_modules/rxjs/_esm2015/internal/util/isArrayLike.js\");\n    /* harmony import */\n\n\n    var _isPromise__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(\n    /*! ./isPromise */\n    \"./node_modules/rxjs/_esm2015/internal/util/isPromise.js\");\n    /* harmony import */\n\n\n    var _isObject__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(\n    /*! ./isObject */\n    \"./node_modules/rxjs/_esm2015/internal/util/isObject.js\");\n    /* harmony import */\n\n\n    var _symbol_iterator__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(\n    /*! ../symbol/iterator */\n    \"./node_modules/rxjs/_esm2015/internal/symbol/iterator.js\");\n    /* harmony import */\n\n\n    var _symbol_observable__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(\n    /*! ../symbol/observable */\n    \"./node_modules/rxjs/_esm2015/internal/symbol/observable.js\");\n\n    var subscribeTo = function subscribeTo(result) {\n      if (result instanceof _Observable__WEBPACK_IMPORTED_MODULE_0__[\"Observable\"]) {\n        return function (subscriber) {\n          if (result._isScalar) {\n            subscriber.next(result.value);\n            subscriber.complete();\n            return undefined;\n          } else {\n            return result.subscribe(subscriber);\n          }\n        };\n      } else if (!!result && typeof result[_symbol_observable__WEBPACK_IMPORTED_MODULE_9__[\"observable\"]] === 'function') {\n        return Object(_subscribeToObservable__WEBPACK_IMPORTED_MODULE_4__[\"subscribeToObservable\"])(result);\n      } else if (Object(_isArrayLike__WEBPACK_IMPORTED_MODULE_5__[\"isArrayLike\"])(result)) {\n        return Object(_subscribeToArray__WEBPACK_IMPORTED_MODULE_1__[\"subscribeToArray\"])(result);\n      } else if (Object(_isPromise__WEBPACK_IMPORTED_MODULE_6__[\"isPromise\"])(result)) {\n        return Object(_subscribeToPromise__WEBPACK_IMPORTED_MODULE_2__[\"subscribeToPromise\"])(result);\n      } else if (!!result && typeof result[_symbol_iterator__WEBPACK_IMPORTED_MODULE_8__[\"iterator\"]] === 'function') {\n        return Object(_subscribeToIterable__WEBPACK_IMPORTED_MODULE_3__[\"subscribeToIterable\"])(result);\n      } else {\n        var value = Object(_isObject__WEBPACK_IMPORTED_MODULE_7__[\"isObject\"])(result) ? 'an invalid object' : \"'\".concat(result, \"'\");\n        var msg = \"You provided \".concat(value, \" where a stream was expected.\") + ' You can provide an Observable, Promise, Array, or Iterable.';\n        throw new TypeError(msg);\n      }\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/util/subscribeToArray.js\":\n  /*!**********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/util/subscribeToArray.js ***!\n    \\**********************************************************************/\n\n  /*! exports provided: subscribeToArray */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalUtilSubscribeToArrayJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"subscribeToArray\", function () {\n      return subscribeToArray;\n    });\n\n    var subscribeToArray = function subscribeToArray(array) {\n      return function (subscriber) {\n        for (var i = 0, _len71 = array.length; i < _len71 && !subscriber.closed; i++) {\n          subscriber.next(array[i]);\n        }\n\n        if (!subscriber.closed) {\n          subscriber.complete();\n        }\n      };\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/util/subscribeToIterable.js\":\n  /*!*************************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/util/subscribeToIterable.js ***!\n    \\*************************************************************************/\n\n  /*! exports provided: subscribeToIterable */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalUtilSubscribeToIterableJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"subscribeToIterable\", function () {\n      return subscribeToIterable;\n    });\n    /* harmony import */\n\n\n    var _symbol_iterator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../symbol/iterator */\n    \"./node_modules/rxjs/_esm2015/internal/symbol/iterator.js\");\n\n    var subscribeToIterable = function subscribeToIterable(iterable) {\n      return function (subscriber) {\n        var iterator = iterable[_symbol_iterator__WEBPACK_IMPORTED_MODULE_0__[\"iterator\"]]();\n\n        do {\n          var item = iterator.next();\n\n          if (item.done) {\n            subscriber.complete();\n            break;\n          }\n\n          subscriber.next(item.value);\n\n          if (subscriber.closed) {\n            break;\n          }\n        } while (true);\n\n        if (typeof iterator.return === 'function') {\n          subscriber.add(function () {\n            if (iterator.return) {\n              iterator.return();\n            }\n          });\n        }\n\n        return subscriber;\n      };\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/util/subscribeToObservable.js\":\n  /*!***************************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/util/subscribeToObservable.js ***!\n    \\***************************************************************************/\n\n  /*! exports provided: subscribeToObservable */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalUtilSubscribeToObservableJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"subscribeToObservable\", function () {\n      return subscribeToObservable;\n    });\n    /* harmony import */\n\n\n    var _symbol_observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../symbol/observable */\n    \"./node_modules/rxjs/_esm2015/internal/symbol/observable.js\");\n\n    var subscribeToObservable = function subscribeToObservable(obj) {\n      return function (subscriber) {\n        var obs = obj[_symbol_observable__WEBPACK_IMPORTED_MODULE_0__[\"observable\"]]();\n\n        if (typeof obs.subscribe !== 'function') {\n          throw new TypeError('Provided object does not correctly implement Symbol.observable');\n        } else {\n          return obs.subscribe(subscriber);\n        }\n      };\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/util/subscribeToPromise.js\":\n  /*!************************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/util/subscribeToPromise.js ***!\n    \\************************************************************************/\n\n  /*! exports provided: subscribeToPromise */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalUtilSubscribeToPromiseJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"subscribeToPromise\", function () {\n      return subscribeToPromise;\n    });\n    /* harmony import */\n\n\n    var _hostReportError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ./hostReportError */\n    \"./node_modules/rxjs/_esm2015/internal/util/hostReportError.js\");\n\n    var subscribeToPromise = function subscribeToPromise(promise) {\n      return function (subscriber) {\n        promise.then(function (value) {\n          if (!subscriber.closed) {\n            subscriber.next(value);\n            subscriber.complete();\n          }\n        }, function (err) {\n          return subscriber.error(err);\n        }).then(null, _hostReportError__WEBPACK_IMPORTED_MODULE_0__[\"hostReportError\"]);\n        return subscriber;\n      };\n    };\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js\":\n  /*!***********************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js ***!\n    \\***********************************************************************/\n\n  /*! exports provided: subscribeToResult */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalUtilSubscribeToResultJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"subscribeToResult\", function () {\n      return subscribeToResult;\n    });\n    /* harmony import */\n\n\n    var _InnerSubscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../InnerSubscriber */\n    \"./node_modules/rxjs/_esm2015/internal/InnerSubscriber.js\");\n    /* harmony import */\n\n\n    var _subscribeTo__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ./subscribeTo */\n    \"./node_modules/rxjs/_esm2015/internal/util/subscribeTo.js\");\n\n    function subscribeToResult(outerSubscriber, result, outerValue, outerIndex) {\n      var destination = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : new _InnerSubscriber__WEBPACK_IMPORTED_MODULE_0__[\"InnerSubscriber\"](outerSubscriber, outerValue, outerIndex);\n\n      if (destination.closed) {\n        return;\n      }\n\n      return Object(_subscribeTo__WEBPACK_IMPORTED_MODULE_1__[\"subscribeTo\"])(result)(destination);\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/internal/util/toSubscriber.js\":\n  /*!******************************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/internal/util/toSubscriber.js ***!\n    \\******************************************************************/\n\n  /*! exports provided: toSubscriber */\n\n  /***/\n  function node_modulesRxjs_esm2015InternalUtilToSubscriberJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony export (binding) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"toSubscriber\", function () {\n      return toSubscriber;\n    });\n    /* harmony import */\n\n\n    var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../Subscriber */\n    \"./node_modules/rxjs/_esm2015/internal/Subscriber.js\");\n    /* harmony import */\n\n\n    var _symbol_rxSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../symbol/rxSubscriber */\n    \"./node_modules/rxjs/_esm2015/internal/symbol/rxSubscriber.js\");\n    /* harmony import */\n\n\n    var _Observer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../Observer */\n    \"./node_modules/rxjs/_esm2015/internal/Observer.js\");\n\n    function toSubscriber(nextOrObserver, error, complete) {\n      if (nextOrObserver) {\n        if (nextOrObserver instanceof _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"]) {\n          return nextOrObserver;\n        }\n\n        if (nextOrObserver[_symbol_rxSubscriber__WEBPACK_IMPORTED_MODULE_1__[\"rxSubscriber\"]]) {\n          return nextOrObserver[_symbol_rxSubscriber__WEBPACK_IMPORTED_MODULE_1__[\"rxSubscriber\"]]();\n        }\n      }\n\n      if (!nextOrObserver && !error && !complete) {\n        return new _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"](_Observer__WEBPACK_IMPORTED_MODULE_2__[\"empty\"]);\n      }\n\n      return new _Subscriber__WEBPACK_IMPORTED_MODULE_0__[\"Subscriber\"](nextOrObserver, error, complete);\n    }\n    /***/\n\n  },\n\n  /***/\n  \"./node_modules/rxjs/_esm2015/operators/index.js\":\n  /*!*******************************************************!*\\\n    !*** ./node_modules/rxjs/_esm2015/operators/index.js ***!\n    \\*******************************************************/\n\n  /*! exports provided: audit, auditTime, buffer, bufferCount, bufferTime, bufferToggle, bufferWhen, catchError, combineAll, combineLatest, concat, concatAll, concatMap, concatMapTo, count, debounce, debounceTime, defaultIfEmpty, delay, delayWhen, dematerialize, distinct, distinctUntilChanged, distinctUntilKeyChanged, elementAt, endWith, every, exhaust, exhaustMap, expand, filter, finalize, find, findIndex, first, groupBy, ignoreElements, isEmpty, last, map, mapTo, materialize, max, merge, mergeAll, mergeMap, flatMap, mergeMapTo, mergeScan, min, multicast, observeOn, onErrorResumeNext, pairwise, partition, pluck, publish, publishBehavior, publishLast, publishReplay, race, reduce, repeat, repeatWhen, retry, retryWhen, refCount, sample, sampleTime, scan, sequenceEqual, share, shareReplay, single, skip, skipLast, skipUntil, skipWhile, startWith, subscribeOn, switchAll, switchMap, switchMapTo, take, takeLast, takeUntil, takeWhile, tap, throttle, throttleTime, throwIfEmpty, timeInterval, timeout, timeoutWith, timestamp, toArray, window, windowCount, windowTime, windowToggle, windowWhen, withLatestFrom, zip, zipAll */\n\n  /***/\n  function node_modulesRxjs_esm2015OperatorsIndexJs(module, __webpack_exports__, __webpack_require__) {\n    \"use strict\";\n\n    __webpack_require__.r(__webpack_exports__);\n    /* harmony import */\n\n\n    var _internal_operators_audit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n    /*! ../internal/operators/audit */\n    \"./node_modules/rxjs/_esm2015/internal/operators/audit.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"audit\", function () {\n      return _internal_operators_audit__WEBPACK_IMPORTED_MODULE_0__[\"audit\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_auditTime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\n    /*! ../internal/operators/auditTime */\n    \"./node_modules/rxjs/_esm2015/internal/operators/auditTime.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"auditTime\", function () {\n      return _internal_operators_auditTime__WEBPACK_IMPORTED_MODULE_1__[\"auditTime\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_buffer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\n    /*! ../internal/operators/buffer */\n    \"./node_modules/rxjs/_esm2015/internal/operators/buffer.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"buffer\", function () {\n      return _internal_operators_buffer__WEBPACK_IMPORTED_MODULE_2__[\"buffer\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_bufferCount__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\n    /*! ../internal/operators/bufferCount */\n    \"./node_modules/rxjs/_esm2015/internal/operators/bufferCount.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"bufferCount\", function () {\n      return _internal_operators_bufferCount__WEBPACK_IMPORTED_MODULE_3__[\"bufferCount\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_bufferTime__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\n    /*! ../internal/operators/bufferTime */\n    \"./node_modules/rxjs/_esm2015/internal/operators/bufferTime.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"bufferTime\", function () {\n      return _internal_operators_bufferTime__WEBPACK_IMPORTED_MODULE_4__[\"bufferTime\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_bufferToggle__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\n    /*! ../internal/operators/bufferToggle */\n    \"./node_modules/rxjs/_esm2015/internal/operators/bufferToggle.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"bufferToggle\", function () {\n      return _internal_operators_bufferToggle__WEBPACK_IMPORTED_MODULE_5__[\"bufferToggle\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_bufferWhen__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(\n    /*! ../internal/operators/bufferWhen */\n    \"./node_modules/rxjs/_esm2015/internal/operators/bufferWhen.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"bufferWhen\", function () {\n      return _internal_operators_bufferWhen__WEBPACK_IMPORTED_MODULE_6__[\"bufferWhen\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_catchError__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(\n    /*! ../internal/operators/catchError */\n    \"./node_modules/rxjs/_esm2015/internal/operators/catchError.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"catchError\", function () {\n      return _internal_operators_catchError__WEBPACK_IMPORTED_MODULE_7__[\"catchError\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_combineAll__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(\n    /*! ../internal/operators/combineAll */\n    \"./node_modules/rxjs/_esm2015/internal/operators/combineAll.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"combineAll\", function () {\n      return _internal_operators_combineAll__WEBPACK_IMPORTED_MODULE_8__[\"combineAll\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_combineLatest__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(\n    /*! ../internal/operators/combineLatest */\n    \"./node_modules/rxjs/_esm2015/internal/operators/combineLatest.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"combineLatest\", function () {\n      return _internal_operators_combineLatest__WEBPACK_IMPORTED_MODULE_9__[\"combineLatest\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_concat__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(\n    /*! ../internal/operators/concat */\n    \"./node_modules/rxjs/_esm2015/internal/operators/concat.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"concat\", function () {\n      return _internal_operators_concat__WEBPACK_IMPORTED_MODULE_10__[\"concat\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_concatAll__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(\n    /*! ../internal/operators/concatAll */\n    \"./node_modules/rxjs/_esm2015/internal/operators/concatAll.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"concatAll\", function () {\n      return _internal_operators_concatAll__WEBPACK_IMPORTED_MODULE_11__[\"concatAll\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_concatMap__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(\n    /*! ../internal/operators/concatMap */\n    \"./node_modules/rxjs/_esm2015/internal/operators/concatMap.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"concatMap\", function () {\n      return _internal_operators_concatMap__WEBPACK_IMPORTED_MODULE_12__[\"concatMap\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_concatMapTo__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(\n    /*! ../internal/operators/concatMapTo */\n    \"./node_modules/rxjs/_esm2015/internal/operators/concatMapTo.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"concatMapTo\", function () {\n      return _internal_operators_concatMapTo__WEBPACK_IMPORTED_MODULE_13__[\"concatMapTo\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_count__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(\n    /*! ../internal/operators/count */\n    \"./node_modules/rxjs/_esm2015/internal/operators/count.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"count\", function () {\n      return _internal_operators_count__WEBPACK_IMPORTED_MODULE_14__[\"count\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_debounce__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(\n    /*! ../internal/operators/debounce */\n    \"./node_modules/rxjs/_esm2015/internal/operators/debounce.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"debounce\", function () {\n      return _internal_operators_debounce__WEBPACK_IMPORTED_MODULE_15__[\"debounce\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_debounceTime__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(\n    /*! ../internal/operators/debounceTime */\n    \"./node_modules/rxjs/_esm2015/internal/operators/debounceTime.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"debounceTime\", function () {\n      return _internal_operators_debounceTime__WEBPACK_IMPORTED_MODULE_16__[\"debounceTime\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_defaultIfEmpty__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(\n    /*! ../internal/operators/defaultIfEmpty */\n    \"./node_modules/rxjs/_esm2015/internal/operators/defaultIfEmpty.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"defaultIfEmpty\", function () {\n      return _internal_operators_defaultIfEmpty__WEBPACK_IMPORTED_MODULE_17__[\"defaultIfEmpty\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_delay__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(\n    /*! ../internal/operators/delay */\n    \"./node_modules/rxjs/_esm2015/internal/operators/delay.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"delay\", function () {\n      return _internal_operators_delay__WEBPACK_IMPORTED_MODULE_18__[\"delay\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_delayWhen__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(\n    /*! ../internal/operators/delayWhen */\n    \"./node_modules/rxjs/_esm2015/internal/operators/delayWhen.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"delayWhen\", function () {\n      return _internal_operators_delayWhen__WEBPACK_IMPORTED_MODULE_19__[\"delayWhen\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_dematerialize__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(\n    /*! ../internal/operators/dematerialize */\n    \"./node_modules/rxjs/_esm2015/internal/operators/dematerialize.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"dematerialize\", function () {\n      return _internal_operators_dematerialize__WEBPACK_IMPORTED_MODULE_20__[\"dematerialize\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_distinct__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(\n    /*! ../internal/operators/distinct */\n    \"./node_modules/rxjs/_esm2015/internal/operators/distinct.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"distinct\", function () {\n      return _internal_operators_distinct__WEBPACK_IMPORTED_MODULE_21__[\"distinct\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_distinctUntilChanged__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(\n    /*! ../internal/operators/distinctUntilChanged */\n    \"./node_modules/rxjs/_esm2015/internal/operators/distinctUntilChanged.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"distinctUntilChanged\", function () {\n      return _internal_operators_distinctUntilChanged__WEBPACK_IMPORTED_MODULE_22__[\"distinctUntilChanged\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_distinctUntilKeyChanged__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(\n    /*! ../internal/operators/distinctUntilKeyChanged */\n    \"./node_modules/rxjs/_esm2015/internal/operators/distinctUntilKeyChanged.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"distinctUntilKeyChanged\", function () {\n      return _internal_operators_distinctUntilKeyChanged__WEBPACK_IMPORTED_MODULE_23__[\"distinctUntilKeyChanged\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_elementAt__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(\n    /*! ../internal/operators/elementAt */\n    \"./node_modules/rxjs/_esm2015/internal/operators/elementAt.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"elementAt\", function () {\n      return _internal_operators_elementAt__WEBPACK_IMPORTED_MODULE_24__[\"elementAt\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_endWith__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(\n    /*! ../internal/operators/endWith */\n    \"./node_modules/rxjs/_esm2015/internal/operators/endWith.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"endWith\", function () {\n      return _internal_operators_endWith__WEBPACK_IMPORTED_MODULE_25__[\"endWith\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_every__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(\n    /*! ../internal/operators/every */\n    \"./node_modules/rxjs/_esm2015/internal/operators/every.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"every\", function () {\n      return _internal_operators_every__WEBPACK_IMPORTED_MODULE_26__[\"every\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_exhaust__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(\n    /*! ../internal/operators/exhaust */\n    \"./node_modules/rxjs/_esm2015/internal/operators/exhaust.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"exhaust\", function () {\n      return _internal_operators_exhaust__WEBPACK_IMPORTED_MODULE_27__[\"exhaust\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_exhaustMap__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(\n    /*! ../internal/operators/exhaustMap */\n    \"./node_modules/rxjs/_esm2015/internal/operators/exhaustMap.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"exhaustMap\", function () {\n      return _internal_operators_exhaustMap__WEBPACK_IMPORTED_MODULE_28__[\"exhaustMap\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_expand__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(\n    /*! ../internal/operators/expand */\n    \"./node_modules/rxjs/_esm2015/internal/operators/expand.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"expand\", function () {\n      return _internal_operators_expand__WEBPACK_IMPORTED_MODULE_29__[\"expand\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_filter__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(\n    /*! ../internal/operators/filter */\n    \"./node_modules/rxjs/_esm2015/internal/operators/filter.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"filter\", function () {\n      return _internal_operators_filter__WEBPACK_IMPORTED_MODULE_30__[\"filter\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_finalize__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(\n    /*! ../internal/operators/finalize */\n    \"./node_modules/rxjs/_esm2015/internal/operators/finalize.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"finalize\", function () {\n      return _internal_operators_finalize__WEBPACK_IMPORTED_MODULE_31__[\"finalize\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_find__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(\n    /*! ../internal/operators/find */\n    \"./node_modules/rxjs/_esm2015/internal/operators/find.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"find\", function () {\n      return _internal_operators_find__WEBPACK_IMPORTED_MODULE_32__[\"find\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_findIndex__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(\n    /*! ../internal/operators/findIndex */\n    \"./node_modules/rxjs/_esm2015/internal/operators/findIndex.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"findIndex\", function () {\n      return _internal_operators_findIndex__WEBPACK_IMPORTED_MODULE_33__[\"findIndex\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_first__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(\n    /*! ../internal/operators/first */\n    \"./node_modules/rxjs/_esm2015/internal/operators/first.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"first\", function () {\n      return _internal_operators_first__WEBPACK_IMPORTED_MODULE_34__[\"first\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_groupBy__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(\n    /*! ../internal/operators/groupBy */\n    \"./node_modules/rxjs/_esm2015/internal/operators/groupBy.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"groupBy\", function () {\n      return _internal_operators_groupBy__WEBPACK_IMPORTED_MODULE_35__[\"groupBy\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_ignoreElements__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(\n    /*! ../internal/operators/ignoreElements */\n    \"./node_modules/rxjs/_esm2015/internal/operators/ignoreElements.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"ignoreElements\", function () {\n      return _internal_operators_ignoreElements__WEBPACK_IMPORTED_MODULE_36__[\"ignoreElements\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_isEmpty__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(\n    /*! ../internal/operators/isEmpty */\n    \"./node_modules/rxjs/_esm2015/internal/operators/isEmpty.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"isEmpty\", function () {\n      return _internal_operators_isEmpty__WEBPACK_IMPORTED_MODULE_37__[\"isEmpty\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_last__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(\n    /*! ../internal/operators/last */\n    \"./node_modules/rxjs/_esm2015/internal/operators/last.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"last\", function () {\n      return _internal_operators_last__WEBPACK_IMPORTED_MODULE_38__[\"last\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_map__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(\n    /*! ../internal/operators/map */\n    \"./node_modules/rxjs/_esm2015/internal/operators/map.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"map\", function () {\n      return _internal_operators_map__WEBPACK_IMPORTED_MODULE_39__[\"map\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_mapTo__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(\n    /*! ../internal/operators/mapTo */\n    \"./node_modules/rxjs/_esm2015/internal/operators/mapTo.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"mapTo\", function () {\n      return _internal_operators_mapTo__WEBPACK_IMPORTED_MODULE_40__[\"mapTo\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_materialize__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(\n    /*! ../internal/operators/materialize */\n    \"./node_modules/rxjs/_esm2015/internal/operators/materialize.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"materialize\", function () {\n      return _internal_operators_materialize__WEBPACK_IMPORTED_MODULE_41__[\"materialize\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_max__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(\n    /*! ../internal/operators/max */\n    \"./node_modules/rxjs/_esm2015/internal/operators/max.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"max\", function () {\n      return _internal_operators_max__WEBPACK_IMPORTED_MODULE_42__[\"max\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_merge__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(\n    /*! ../internal/operators/merge */\n    \"./node_modules/rxjs/_esm2015/internal/operators/merge.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"merge\", function () {\n      return _internal_operators_merge__WEBPACK_IMPORTED_MODULE_43__[\"merge\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_mergeAll__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(\n    /*! ../internal/operators/mergeAll */\n    \"./node_modules/rxjs/_esm2015/internal/operators/mergeAll.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"mergeAll\", function () {\n      return _internal_operators_mergeAll__WEBPACK_IMPORTED_MODULE_44__[\"mergeAll\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_mergeMap__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(\n    /*! ../internal/operators/mergeMap */\n    \"./node_modules/rxjs/_esm2015/internal/operators/mergeMap.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"mergeMap\", function () {\n      return _internal_operators_mergeMap__WEBPACK_IMPORTED_MODULE_45__[\"mergeMap\"];\n    });\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"flatMap\", function () {\n      return _internal_operators_mergeMap__WEBPACK_IMPORTED_MODULE_45__[\"mergeMap\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_mergeMapTo__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(\n    /*! ../internal/operators/mergeMapTo */\n    \"./node_modules/rxjs/_esm2015/internal/operators/mergeMapTo.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"mergeMapTo\", function () {\n      return _internal_operators_mergeMapTo__WEBPACK_IMPORTED_MODULE_46__[\"mergeMapTo\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_mergeScan__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(\n    /*! ../internal/operators/mergeScan */\n    \"./node_modules/rxjs/_esm2015/internal/operators/mergeScan.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"mergeScan\", function () {\n      return _internal_operators_mergeScan__WEBPACK_IMPORTED_MODULE_47__[\"mergeScan\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_min__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(\n    /*! ../internal/operators/min */\n    \"./node_modules/rxjs/_esm2015/internal/operators/min.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"min\", function () {\n      return _internal_operators_min__WEBPACK_IMPORTED_MODULE_48__[\"min\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_multicast__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(\n    /*! ../internal/operators/multicast */\n    \"./node_modules/rxjs/_esm2015/internal/operators/multicast.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"multicast\", function () {\n      return _internal_operators_multicast__WEBPACK_IMPORTED_MODULE_49__[\"multicast\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_observeOn__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(\n    /*! ../internal/operators/observeOn */\n    \"./node_modules/rxjs/_esm2015/internal/operators/observeOn.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"observeOn\", function () {\n      return _internal_operators_observeOn__WEBPACK_IMPORTED_MODULE_50__[\"observeOn\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_onErrorResumeNext__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(\n    /*! ../internal/operators/onErrorResumeNext */\n    \"./node_modules/rxjs/_esm2015/internal/operators/onErrorResumeNext.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"onErrorResumeNext\", function () {\n      return _internal_operators_onErrorResumeNext__WEBPACK_IMPORTED_MODULE_51__[\"onErrorResumeNext\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_pairwise__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(\n    /*! ../internal/operators/pairwise */\n    \"./node_modules/rxjs/_esm2015/internal/operators/pairwise.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"pairwise\", function () {\n      return _internal_operators_pairwise__WEBPACK_IMPORTED_MODULE_52__[\"pairwise\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_partition__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(\n    /*! ../internal/operators/partition */\n    \"./node_modules/rxjs/_esm2015/internal/operators/partition.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"partition\", function () {\n      return _internal_operators_partition__WEBPACK_IMPORTED_MODULE_53__[\"partition\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_pluck__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(\n    /*! ../internal/operators/pluck */\n    \"./node_modules/rxjs/_esm2015/internal/operators/pluck.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"pluck\", function () {\n      return _internal_operators_pluck__WEBPACK_IMPORTED_MODULE_54__[\"pluck\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_publish__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(\n    /*! ../internal/operators/publish */\n    \"./node_modules/rxjs/_esm2015/internal/operators/publish.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"publish\", function () {\n      return _internal_operators_publish__WEBPACK_IMPORTED_MODULE_55__[\"publish\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_publishBehavior__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(\n    /*! ../internal/operators/publishBehavior */\n    \"./node_modules/rxjs/_esm2015/internal/operators/publishBehavior.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"publishBehavior\", function () {\n      return _internal_operators_publishBehavior__WEBPACK_IMPORTED_MODULE_56__[\"publishBehavior\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_publishLast__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(\n    /*! ../internal/operators/publishLast */\n    \"./node_modules/rxjs/_esm2015/internal/operators/publishLast.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"publishLast\", function () {\n      return _internal_operators_publishLast__WEBPACK_IMPORTED_MODULE_57__[\"publishLast\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_publishReplay__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(\n    /*! ../internal/operators/publishReplay */\n    \"./node_modules/rxjs/_esm2015/internal/operators/publishReplay.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"publishReplay\", function () {\n      return _internal_operators_publishReplay__WEBPACK_IMPORTED_MODULE_58__[\"publishReplay\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_race__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(\n    /*! ../internal/operators/race */\n    \"./node_modules/rxjs/_esm2015/internal/operators/race.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"race\", function () {\n      return _internal_operators_race__WEBPACK_IMPORTED_MODULE_59__[\"race\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_reduce__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(\n    /*! ../internal/operators/reduce */\n    \"./node_modules/rxjs/_esm2015/internal/operators/reduce.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"reduce\", function () {\n      return _internal_operators_reduce__WEBPACK_IMPORTED_MODULE_60__[\"reduce\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_repeat__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(\n    /*! ../internal/operators/repeat */\n    \"./node_modules/rxjs/_esm2015/internal/operators/repeat.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"repeat\", function () {\n      return _internal_operators_repeat__WEBPACK_IMPORTED_MODULE_61__[\"repeat\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_repeatWhen__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(\n    /*! ../internal/operators/repeatWhen */\n    \"./node_modules/rxjs/_esm2015/internal/operators/repeatWhen.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"repeatWhen\", function () {\n      return _internal_operators_repeatWhen__WEBPACK_IMPORTED_MODULE_62__[\"repeatWhen\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_retry__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(\n    /*! ../internal/operators/retry */\n    \"./node_modules/rxjs/_esm2015/internal/operators/retry.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"retry\", function () {\n      return _internal_operators_retry__WEBPACK_IMPORTED_MODULE_63__[\"retry\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_retryWhen__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(\n    /*! ../internal/operators/retryWhen */\n    \"./node_modules/rxjs/_esm2015/internal/operators/retryWhen.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"retryWhen\", function () {\n      return _internal_operators_retryWhen__WEBPACK_IMPORTED_MODULE_64__[\"retryWhen\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_refCount__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(\n    /*! ../internal/operators/refCount */\n    \"./node_modules/rxjs/_esm2015/internal/operators/refCount.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"refCount\", function () {\n      return _internal_operators_refCount__WEBPACK_IMPORTED_MODULE_65__[\"refCount\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_sample__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(\n    /*! ../internal/operators/sample */\n    \"./node_modules/rxjs/_esm2015/internal/operators/sample.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"sample\", function () {\n      return _internal_operators_sample__WEBPACK_IMPORTED_MODULE_66__[\"sample\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_sampleTime__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(\n    /*! ../internal/operators/sampleTime */\n    \"./node_modules/rxjs/_esm2015/internal/operators/sampleTime.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"sampleTime\", function () {\n      return _internal_operators_sampleTime__WEBPACK_IMPORTED_MODULE_67__[\"sampleTime\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_scan__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(\n    /*! ../internal/operators/scan */\n    \"./node_modules/rxjs/_esm2015/internal/operators/scan.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"scan\", function () {\n      return _internal_operators_scan__WEBPACK_IMPORTED_MODULE_68__[\"scan\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_sequenceEqual__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(\n    /*! ../internal/operators/sequenceEqual */\n    \"./node_modules/rxjs/_esm2015/internal/operators/sequenceEqual.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"sequenceEqual\", function () {\n      return _internal_operators_sequenceEqual__WEBPACK_IMPORTED_MODULE_69__[\"sequenceEqual\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_share__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(\n    /*! ../internal/operators/share */\n    \"./node_modules/rxjs/_esm2015/internal/operators/share.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"share\", function () {\n      return _internal_operators_share__WEBPACK_IMPORTED_MODULE_70__[\"share\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_shareReplay__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(\n    /*! ../internal/operators/shareReplay */\n    \"./node_modules/rxjs/_esm2015/internal/operators/shareReplay.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"shareReplay\", function () {\n      return _internal_operators_shareReplay__WEBPACK_IMPORTED_MODULE_71__[\"shareReplay\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_single__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(\n    /*! ../internal/operators/single */\n    \"./node_modules/rxjs/_esm2015/internal/operators/single.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"single\", function () {\n      return _internal_operators_single__WEBPACK_IMPORTED_MODULE_72__[\"single\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_skip__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(\n    /*! ../internal/operators/skip */\n    \"./node_modules/rxjs/_esm2015/internal/operators/skip.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"skip\", function () {\n      return _internal_operators_skip__WEBPACK_IMPORTED_MODULE_73__[\"skip\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_skipLast__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(\n    /*! ../internal/operators/skipLast */\n    \"./node_modules/rxjs/_esm2015/internal/operators/skipLast.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"skipLast\", function () {\n      return _internal_operators_skipLast__WEBPACK_IMPORTED_MODULE_74__[\"skipLast\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_skipUntil__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(\n    /*! ../internal/operators/skipUntil */\n    \"./node_modules/rxjs/_esm2015/internal/operators/skipUntil.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"skipUntil\", function () {\n      return _internal_operators_skipUntil__WEBPACK_IMPORTED_MODULE_75__[\"skipUntil\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_skipWhile__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(\n    /*! ../internal/operators/skipWhile */\n    \"./node_modules/rxjs/_esm2015/internal/operators/skipWhile.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"skipWhile\", function () {\n      return _internal_operators_skipWhile__WEBPACK_IMPORTED_MODULE_76__[\"skipWhile\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_startWith__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(\n    /*! ../internal/operators/startWith */\n    \"./node_modules/rxjs/_esm2015/internal/operators/startWith.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"startWith\", function () {\n      return _internal_operators_startWith__WEBPACK_IMPORTED_MODULE_77__[\"startWith\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_subscribeOn__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(\n    /*! ../internal/operators/subscribeOn */\n    \"./node_modules/rxjs/_esm2015/internal/operators/subscribeOn.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"subscribeOn\", function () {\n      return _internal_operators_subscribeOn__WEBPACK_IMPORTED_MODULE_78__[\"subscribeOn\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_switchAll__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(\n    /*! ../internal/operators/switchAll */\n    \"./node_modules/rxjs/_esm2015/internal/operators/switchAll.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"switchAll\", function () {\n      return _internal_operators_switchAll__WEBPACK_IMPORTED_MODULE_79__[\"switchAll\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_switchMap__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__(\n    /*! ../internal/operators/switchMap */\n    \"./node_modules/rxjs/_esm2015/internal/operators/switchMap.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"switchMap\", function () {\n      return _internal_operators_switchMap__WEBPACK_IMPORTED_MODULE_80__[\"switchMap\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_switchMapTo__WEBPACK_IMPORTED_MODULE_81__ = __webpack_require__(\n    /*! ../internal/operators/switchMapTo */\n    \"./node_modules/rxjs/_esm2015/internal/operators/switchMapTo.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"switchMapTo\", function () {\n      return _internal_operators_switchMapTo__WEBPACK_IMPORTED_MODULE_81__[\"switchMapTo\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_take__WEBPACK_IMPORTED_MODULE_82__ = __webpack_require__(\n    /*! ../internal/operators/take */\n    \"./node_modules/rxjs/_esm2015/internal/operators/take.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"take\", function () {\n      return _internal_operators_take__WEBPACK_IMPORTED_MODULE_82__[\"take\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_takeLast__WEBPACK_IMPORTED_MODULE_83__ = __webpack_require__(\n    /*! ../internal/operators/takeLast */\n    \"./node_modules/rxjs/_esm2015/internal/operators/takeLast.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"takeLast\", function () {\n      return _internal_operators_takeLast__WEBPACK_IMPORTED_MODULE_83__[\"takeLast\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_takeUntil__WEBPACK_IMPORTED_MODULE_84__ = __webpack_require__(\n    /*! ../internal/operators/takeUntil */\n    \"./node_modules/rxjs/_esm2015/internal/operators/takeUntil.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"takeUntil\", function () {\n      return _internal_operators_takeUntil__WEBPACK_IMPORTED_MODULE_84__[\"takeUntil\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_takeWhile__WEBPACK_IMPORTED_MODULE_85__ = __webpack_require__(\n    /*! ../internal/operators/takeWhile */\n    \"./node_modules/rxjs/_esm2015/internal/operators/takeWhile.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"takeWhile\", function () {\n      return _internal_operators_takeWhile__WEBPACK_IMPORTED_MODULE_85__[\"takeWhile\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_tap__WEBPACK_IMPORTED_MODULE_86__ = __webpack_require__(\n    /*! ../internal/operators/tap */\n    \"./node_modules/rxjs/_esm2015/internal/operators/tap.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"tap\", function () {\n      return _internal_operators_tap__WEBPACK_IMPORTED_MODULE_86__[\"tap\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_throttle__WEBPACK_IMPORTED_MODULE_87__ = __webpack_require__(\n    /*! ../internal/operators/throttle */\n    \"./node_modules/rxjs/_esm2015/internal/operators/throttle.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"throttle\", function () {\n      return _internal_operators_throttle__WEBPACK_IMPORTED_MODULE_87__[\"throttle\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_throttleTime__WEBPACK_IMPORTED_MODULE_88__ = __webpack_require__(\n    /*! ../internal/operators/throttleTime */\n    \"./node_modules/rxjs/_esm2015/internal/operators/throttleTime.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"throttleTime\", function () {\n      return _internal_operators_throttleTime__WEBPACK_IMPORTED_MODULE_88__[\"throttleTime\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_throwIfEmpty__WEBPACK_IMPORTED_MODULE_89__ = __webpack_require__(\n    /*! ../internal/operators/throwIfEmpty */\n    \"./node_modules/rxjs/_esm2015/internal/operators/throwIfEmpty.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"throwIfEmpty\", function () {\n      return _internal_operators_throwIfEmpty__WEBPACK_IMPORTED_MODULE_89__[\"throwIfEmpty\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_timeInterval__WEBPACK_IMPORTED_MODULE_90__ = __webpack_require__(\n    /*! ../internal/operators/timeInterval */\n    \"./node_modules/rxjs/_esm2015/internal/operators/timeInterval.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"timeInterval\", function () {\n      return _internal_operators_timeInterval__WEBPACK_IMPORTED_MODULE_90__[\"timeInterval\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_timeout__WEBPACK_IMPORTED_MODULE_91__ = __webpack_require__(\n    /*! ../internal/operators/timeout */\n    \"./node_modules/rxjs/_esm2015/internal/operators/timeout.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"timeout\", function () {\n      return _internal_operators_timeout__WEBPACK_IMPORTED_MODULE_91__[\"timeout\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_timeoutWith__WEBPACK_IMPORTED_MODULE_92__ = __webpack_require__(\n    /*! ../internal/operators/timeoutWith */\n    \"./node_modules/rxjs/_esm2015/internal/operators/timeoutWith.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"timeoutWith\", function () {\n      return _internal_operators_timeoutWith__WEBPACK_IMPORTED_MODULE_92__[\"timeoutWith\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_timestamp__WEBPACK_IMPORTED_MODULE_93__ = __webpack_require__(\n    /*! ../internal/operators/timestamp */\n    \"./node_modules/rxjs/_esm2015/internal/operators/timestamp.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"timestamp\", function () {\n      return _internal_operators_timestamp__WEBPACK_IMPORTED_MODULE_93__[\"timestamp\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_toArray__WEBPACK_IMPORTED_MODULE_94__ = __webpack_require__(\n    /*! ../internal/operators/toArray */\n    \"./node_modules/rxjs/_esm2015/internal/operators/toArray.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"toArray\", function () {\n      return _internal_operators_toArray__WEBPACK_IMPORTED_MODULE_94__[\"toArray\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_window__WEBPACK_IMPORTED_MODULE_95__ = __webpack_require__(\n    /*! ../internal/operators/window */\n    \"./node_modules/rxjs/_esm2015/internal/operators/window.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"window\", function () {\n      return _internal_operators_window__WEBPACK_IMPORTED_MODULE_95__[\"window\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_windowCount__WEBPACK_IMPORTED_MODULE_96__ = __webpack_require__(\n    /*! ../internal/operators/windowCount */\n    \"./node_modules/rxjs/_esm2015/internal/operators/windowCount.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"windowCount\", function () {\n      return _internal_operators_windowCount__WEBPACK_IMPORTED_MODULE_96__[\"windowCount\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_windowTime__WEBPACK_IMPORTED_MODULE_97__ = __webpack_require__(\n    /*! ../internal/operators/windowTime */\n    \"./node_modules/rxjs/_esm2015/internal/operators/windowTime.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"windowTime\", function () {\n      return _internal_operators_windowTime__WEBPACK_IMPORTED_MODULE_97__[\"windowTime\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_windowToggle__WEBPACK_IMPORTED_MODULE_98__ = __webpack_require__(\n    /*! ../internal/operators/windowToggle */\n    \"./node_modules/rxjs/_esm2015/internal/operators/windowToggle.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"windowToggle\", function () {\n      return _internal_operators_windowToggle__WEBPACK_IMPORTED_MODULE_98__[\"windowToggle\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_windowWhen__WEBPACK_IMPORTED_MODULE_99__ = __webpack_require__(\n    /*! ../internal/operators/windowWhen */\n    \"./node_modules/rxjs/_esm2015/internal/operators/windowWhen.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"windowWhen\", function () {\n      return _internal_operators_windowWhen__WEBPACK_IMPORTED_MODULE_99__[\"windowWhen\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_withLatestFrom__WEBPACK_IMPORTED_MODULE_100__ = __webpack_require__(\n    /*! ../internal/operators/withLatestFrom */\n    \"./node_modules/rxjs/_esm2015/internal/operators/withLatestFrom.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"withLatestFrom\", function () {\n      return _internal_operators_withLatestFrom__WEBPACK_IMPORTED_MODULE_100__[\"withLatestFrom\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_zip__WEBPACK_IMPORTED_MODULE_101__ = __webpack_require__(\n    /*! ../internal/operators/zip */\n    \"./node_modules/rxjs/_esm2015/internal/operators/zip.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"zip\", function () {\n      return _internal_operators_zip__WEBPACK_IMPORTED_MODULE_101__[\"zip\"];\n    });\n    /* harmony import */\n\n\n    var _internal_operators_zipAll__WEBPACK_IMPORTED_MODULE_102__ = __webpack_require__(\n    /*! ../internal/operators/zipAll */\n    \"./node_modules/rxjs/_esm2015/internal/operators/zipAll.js\");\n    /* harmony reexport (safe) */\n\n\n    __webpack_require__.d(__webpack_exports__, \"zipAll\", function () {\n      return _internal_operators_zipAll__WEBPACK_IMPORTED_MODULE_102__[\"zipAll\"];\n    });\n    /***/\n\n  }\n}]);\n//# sourceMappingURL=vendor-es5.js.map"
  },
  {
    "path": "frontend/e2e/protractor.conf.js",
    "content": "// @ts-check\n// Protractor configuration file, see link for more information\n// https://github.com/angular/protractor/blob/master/lib/config.ts\n\nconst { SpecReporter } = require('jasmine-spec-reporter');\n\n/**\n * @type { import(\"protractor\").Config }\n */\nexports.config = {\n  allScriptsTimeout: 11000,\n  specs: [\n    './src/**/*.e2e-spec.ts'\n  ],\n  capabilities: {\n    browserName: 'chrome'\n  },\n  directConnect: true,\n  baseUrl: 'http://localhost:4200/',\n  framework: 'jasmine',\n  jasmineNodeOpts: {\n    showColors: true,\n    defaultTimeoutInterval: 30000,\n    print: function() {}\n  },\n  onPrepare() {\n    require('ts-node').register({\n      project: require('path').join(__dirname, './tsconfig.json')\n    });\n    jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } }));\n  }\n};"
  },
  {
    "path": "frontend/e2e/src/app.e2e-spec.ts",
    "content": "import { AppPage } from './app.po';\nimport { browser, logging } from 'protractor';\n\ndescribe('workspace-project App', () => {\n  let page: AppPage;\n\n  beforeEach(() => {\n    page = new AppPage();\n  });\n\n  it('should display welcome message', () => {\n    page.navigateTo();\n    expect(page.getTitleText()).toEqual('obscurify3 app is running!');\n  });\n\n  afterEach(async () => {\n    // Assert that there are no errors emitted from the browser\n    const logs = await browser.manage().logs().get(logging.Type.BROWSER);\n    expect(logs).not.toContain(jasmine.objectContaining({\n      level: logging.Level.SEVERE,\n    } as logging.Entry));\n  });\n});\n"
  },
  {
    "path": "frontend/e2e/src/app.po.ts",
    "content": "import { browser, by, element } from 'protractor';\n\nexport class AppPage {\n  navigateTo() {\n    return browser.get(browser.baseUrl) as Promise<any>;\n  }\n\n  getTitleText() {\n    return element(by.css('app-root .content span')).getText() as Promise<string>;\n  }\n}\n"
  },
  {
    "path": "frontend/e2e/tsconfig.json",
    "content": "{\n  \"extends\": \"../tsconfig.json\",\n  \"compilerOptions\": {\n    \"outDir\": \"../out-tsc/e2e\",\n    \"module\": \"commonjs\",\n    \"target\": \"es5\",\n    \"types\": [\n      \"jasmine\",\n      \"jasminewd2\",\n      \"node\"\n    ]\n  }\n}\n"
  },
  {
    "path": "frontend/karma.conf.js",
    "content": "// Karma configuration file, see link for more information\n// https://karma-runner.github.io/1.0/config/configuration-file.html\n\nmodule.exports = function (config) {\n  config.set({\n    basePath: '',\n    frameworks: ['jasmine', '@angular-devkit/build-angular'],\n    plugins: [\n      require('karma-jasmine'),\n      require('karma-chrome-launcher'),\n      require('karma-jasmine-html-reporter'),\n      require('karma-coverage-istanbul-reporter'),\n      require('@angular-devkit/build-angular/plugins/karma')\n    ],\n    client: {\n      clearContext: false // leave Jasmine Spec Runner output visible in browser\n    },\n    coverageIstanbulReporter: {\n      dir: require('path').join(__dirname, './coverage/obscurify3'),\n      reports: ['html', 'lcovonly', 'text-summary'],\n      fixWebpackSourcePaths: true\n    },\n    reporters: ['progress', 'kjhtml'],\n    port: 9876,\n    colors: true,\n    logLevel: config.LOG_INFO,\n    autoWatch: true,\n    browsers: ['Chrome'],\n    singleRun: false,\n    restartOnFileChange: true\n  });\n};\n"
  },
  {
    "path": "frontend/ngsw-config.json",
    "content": "{\n  \"$schema\": \"./node_modules/@angular/service-worker/config/schema.json\",\n  \"index\": \"/index.html\",\n  \"assetGroups\": [\n    {\n      \"name\": \"app\",\n      \"installMode\": \"prefetch\",\n      \"resources\": {\n        \"files\": [\n          \"/favicon.ico\",\n          \"/index.html\",\n          \"/manifest.webmanifest\",\n          \"/*.css\",\n          \"/*.js\"\n        ]\n      }\n    }, {\n      \"name\": \"assets\",\n      \"installMode\": \"lazy\",\n      \"updateMode\": \"prefetch\",\n      \"resources\": {\n        \"files\": [\n          \"/assets/**\",\n          \"/*.(eot|svg|cur|jpg|png|webp|gif|otf|ttf|woff|woff2|ani)\"\n        ]\n      }\n    }\n  ]\n}\n"
  },
  {
    "path": "frontend/package.json",
    "content": "{\n  \"name\": \"obscurify3\",\n  \"version\": \"0.0.0\",\n  \"scripts\": {\n    \"ng\": \"ng\",\n    \"start\": \"ng serve\",\n    \"build\": \"ng build\",\n    \"build:prod\": \"ng build --prod\",\n    \"build:dev\": \"ng build --configuration=develop\",\n    \"test\": \"ng test\",\n    \"lint\": \"ng lint\",\n    \"e2e\": \"ng e2e\"\n  },\n  \"private\": true,\n  \"dependencies\": {\n    \"@angular/animations\": \"~9.1.9\",\n    \"@angular/cdk\": \"~9.2.4\",\n    \"@angular/common\": \"~9.1.9\",\n    \"@angular/compiler\": \"~9.1.9\",\n    \"@angular/core\": \"~9.1.9\",\n    \"@angular/flex-layout\": \"^9.0.0-beta.31\",\n    \"@angular/forms\": \"~9.1.9\",\n    \"@angular/material\": \"^9.2.4\",\n    \"@angular/platform-browser\": \"~9.1.9\",\n    \"@angular/platform-browser-dynamic\": \"~9.1.9\",\n    \"@angular/router\": \"~9.1.9\",\n    \"@angular/service-worker\": \"~9.1.9\",\n    \"chart.js\": \"^2.9.3\",\n    \"chartjs-plugin-annotation\": \"^0.5.7\",\n    \"intersection-observer\": \"^0.10.0\",\n    \"ngx-cookie-service\": \"^3.0.4\",\n    \"rxjs\": \"^6.5.5\",\n    \"tslib\": \"^1.10.0\",\n    \"zone.js\": \"~0.10.2\"\n  },\n  \"devDependencies\": {\n    \"@angular-devkit/build-angular\": \"~0.901.7\",\n    \"@angular/cli\": \"^9.1.7\",\n    \"@angular/compiler-cli\": \"~9.1.9\",\n    \"@angular/language-service\": \"~9.1.9\",\n    \"@types/jasmine\": \"~3.3.8\",\n    \"@types/jasminewd2\": \"~2.0.3\",\n    \"@types/node\": \"^12.11.1\",\n    \"codelyzer\": \"^5.1.2\",\n    \"jasmine-core\": \"~3.4.0\",\n    \"jasmine-spec-reporter\": \"~4.2.1\",\n    \"karma\": \"~4.1.0\",\n    \"karma-chrome-launcher\": \"~2.2.0\",\n    \"karma-coverage-istanbul-reporter\": \"~2.0.1\",\n    \"karma-jasmine\": \"~2.0.1\",\n    \"karma-jasmine-html-reporter\": \"^1.5.4\",\n    \"protractor\": \"^5.4.4\",\n    \"ts-node\": \"~7.0.0\",\n    \"tslint\": \"~5.15.0\",\n    \"typescript\": \"~3.8.3\"\n  }\n}\n"
  },
  {
    "path": "frontend/src/app/app-routing.module.ts",
    "content": "import { NgModule } from '@angular/core';\nimport { Routes, RouterModule } from '@angular/router';\nimport { LoginComponent } from './components/login/login.component';\nimport { HomeComponent } from './components/home/home.component';\nimport { AuthGuard } from './services/spotifyAuth';\nimport { SpotifyAuthComponent } from './components/spotify-auth/spotify-auth.component';\nimport { AboutComponent } from './components/about/about.component';\nimport { PrivacyComponent } from './components/privacy/privacy.component';\n\n\nconst routes: Routes = [\n  {\n    path: 'about',\n    component: AboutComponent\n  },\n  {\n    path: 'privacy',\n    component: PrivacyComponent\n  },\n  {\n    path: 'login',\n    component: LoginComponent\n  },\n  {\n    path: 'home',\n    component: HomeComponent\n  },\n  {\n    path: '',\n    redirectTo: 'login',\n    pathMatch: 'full'\n  },\n  {\n    path: 'authorized',\n    canActivate: [ AuthGuard ],\n    component: SpotifyAuthComponent\n  }\n];\n\n@NgModule({\n  imports: [RouterModule.forRoot(routes, {\n    initialNavigation: 'enabled'\n})],\n  exports: [RouterModule]\n})\nexport class AppRoutingModule { }\n"
  },
  {
    "path": "frontend/src/app/app.component.html",
    "content": "<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\n<!-- * * * * * * * * * * * The content below * * * * * * * * * * * -->\n<!-- * * * * * * * * * * is only a placeholder * * * * * * * * * * -->\n<!-- * * * * * * * * * * and can be replaced. * * * * * * * * * * * -->\n<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\n<!-- * * * * * * * * * Delete the template below * * * * * * * * * * -->\n<!-- * * * * * * * to get started with your project! * * * * * * * * -->\n<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\n\n<!-- <style>\n  :host {\n    font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n    font-size: 14px;\n    color: #333;\n    box-sizing: border-box;\n    -webkit-font-smoothing: antialiased;\n    -moz-osx-font-smoothing: grayscale;\n  }\n\n  h1,\n  h2,\n  h3,\n  h4,\n  h5,\n  h6 {\n    margin: 8px 0;\n  }\n\n  p {\n    margin: 0;\n  }\n\n  .spacer {\n    flex: 1;\n  }\n\n  .toolbar {\n    height: 60px;\n    margin: -8px;\n    display: flex;\n    align-items: center;\n    background-color: #1976d2;\n    color: white;\n    font-weight: 600;\n  }\n\n  .toolbar img {\n    margin: 0 16px;\n  }\n\n  .toolbar #twitter-logo {\n    height: 40px;\n    margin: 0 16px;\n  }\n\n  .toolbar #twitter-logo:hover {\n    opacity: 0.8;\n  }\n\n  .content {\n    display: flex;\n    margin: 32px auto;\n    padding: 0 16px;\n    max-width: 960px;\n    flex-direction: column;\n    align-items: center;\n  }\n\n  svg.material-icons {\n    height: 24px;\n    width: auto;\n  }\n\n  svg.material-icons:not(:last-child) {\n    margin-right: 8px;\n  }\n\n  .card svg.material-icons path {\n    fill: #888;\n  }\n\n  .card-container {\n    display: flex;\n    flex-wrap: wrap;\n    justify-content: center;\n    margin-top: 16px;\n  }\n\n  .card {\n    border-radius: 4px;\n    border: 1px solid #eee;\n    background-color: #fafafa;\n    height: 40px;\n    width: 200px;\n    margin: 0 8px 16px;\n    padding: 16px;\n    display: flex;\n    flex-direction: row;\n    justify-content: center;\n    align-items: center;\n    transition: all 0.2s ease-in-out;\n    line-height: 24px;\n  }\n\n  .card-container .card:not(:last-child) {\n    margin-right: 0;\n  }\n\n  .card.card-small {\n    height: 16px;\n    width: 168px;\n  }\n\n  .card-container .card:not(.highlight-card) {\n    cursor: pointer;\n  }\n\n  .card-container .card:not(.highlight-card):hover {\n    transform: translateY(-3px);\n    box-shadow: 0 4px 17px rgba(black, 0.35);\n  }\n\n  .card-container .card:not(.highlight-card):hover .material-icons path {\n    fill: rgb(105, 103, 103);\n  }\n\n  .card.highlight-card {\n    background-color: #1976d2;\n    color: white;\n    font-weight: 600;\n    border: none;\n    width: auto;\n    min-width: 30%;\n    position: relative;\n  }\n\n  .card.card.highlight-card span {\n    margin-left: 60px;\n  }\n\n  svg#rocket {\n    width: 80px;\n    position: absolute;\n    left: -10px;\n    top: -24px;\n  }\n\n  svg#rocket-smoke {\n    height: 100vh;\n    position: absolute;\n    top: 10px;\n    right: 180px;\n    z-index: -10;\n  }\n\n  a,\n  a:visited,\n  a:hover {\n    color: #1976d2;\n    text-decoration: none;\n  }\n\n  a:hover {\n    color: #125699;\n  }\n\n  .terminal {\n    position: relative;\n    width: 80%;\n    max-width: 600px;\n    border-radius: 6px;\n    padding-top: 45px;\n    margin-top: 8px;\n    overflow: hidden;\n    background-color: rgb(15, 15, 16);\n  }\n\n  .terminal::before {\n    content: \"\\2022 \\2022 \\2022\";\n    position: absolute;\n    top: 0;\n    left: 0;\n    height: 4px;\n    background: rgb(58, 58, 58);\n    color: #c2c3c4;\n    width: 100%;\n    font-size: 2rem;\n    line-height: 0;\n    padding: 14px 0;\n    text-indent: 4px;\n  }\n\n  .terminal pre {\n    font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;\n    color: white;\n    padding: 0 1rem 1rem;\n    margin: 0;\n  }\n\n  .circle-link {\n    height: 40px;\n    width: 40px;\n    border-radius: 40px;\n    margin: 8px;\n    background-color: white;\n    border: 1px solid #eeeeee;\n    display: flex;\n    justify-content: center;\n    align-items: center;\n    cursor: pointer;\n    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);\n    transition: 1s ease-out;\n  }\n\n  .circle-link:hover {\n    transform: translateY(-0.25rem);\n    box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.2);\n  }\n\n  footer {\n    margin-top: 8px;\n    display: flex;\n    align-items: center;\n    line-height: 20px;\n  }\n\n  footer a {\n    display: flex;\n    align-items: center;\n  }\n\n  .github-star-badge {\n    color: #24292e;\n    display: flex;\n    align-items: center;\n    font-size: 12px;\n    padding: 3px 10px;\n    border: 1px solid rgba(27,31,35,.2);\n    border-radius: 3px;\n    background-image: linear-gradient(-180deg,#fafbfc,#eff3f6 90%);\n    margin-left: 4px;\n    font-weight: 600;\n    font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;\n  }\n\n  .github-star-badge:hover {\n    background-image: linear-gradient(-180deg,#f0f3f6,#e6ebf1 90%);\n    border-color: rgba(27,31,35,.35);\n    background-position: -.5em;\n  }\n\n  .github-star-badge .material-icons {\n    height: 16px;\n    width: 16px;\n    margin-right: 4px;\n  }\n\n  svg#clouds {\n    position: fixed;\n    bottom: -160px;\n    left: -230px;\n    z-index: -10;\n    width: 1920px;\n  }\n\n\n  /* Responsive Styles */\n  @media screen and (max-width: 767px) {\n\n    .card-container > *:not(.circle-link) ,\n    .terminal {\n      width: 100%;\n    }\n\n    .card:not(.highlight-card) {\n      height: 16px;\n      margin: 8px 0;\n    }\n\n    .card.highlight-card span {\n      margin-left: 72px;\n    }\n\n    svg#rocket-smoke {\n      right: 120px;\n      transform: rotate(-5deg);\n    }\n  }\n\n  @media screen and (max-width: 575px) {\n    svg#rocket-smoke {\n      display: none;\n      visibility: hidden;\n    }\n  }\n</style> -->\n\n<div id=\"app\">\n  <router-outlet></router-outlet>\n\n</div>\n"
  },
  {
    "path": "frontend/src/app/app.component.scss",
    "content": "@import 'mixins';\n\n#app {\n    height: 100%;\n}\n"
  },
  {
    "path": "frontend/src/app/app.component.spec.ts",
    "content": "import { TestBed, async } from '@angular/core/testing';\nimport { RouterTestingModule } from '@angular/router/testing';\nimport { AppComponent } from './app.component';\n\ndescribe('AppComponent', () => {\n  beforeEach(async(() => {\n    TestBed.configureTestingModule({\n      imports: [\n        RouterTestingModule\n      ],\n      declarations: [\n        AppComponent\n      ],\n    }).compileComponents();\n  }));\n\n  it('should create the app', () => {\n    const fixture = TestBed.createComponent(AppComponent);\n    const app = fixture.debugElement.componentInstance;\n    expect(app).toBeTruthy();\n  });\n\n  it(`should have as title 'obscurify3'`, () => {\n    const fixture = TestBed.createComponent(AppComponent);\n    const app = fixture.debugElement.componentInstance;\n    expect(app.title).toEqual('obscurify3');\n  });\n\n  it('should render title', () => {\n    const fixture = TestBed.createComponent(AppComponent);\n    fixture.detectChanges();\n    const compiled = fixture.debugElement.nativeElement;\n    expect(compiled.querySelector('.content span').textContent).toContain('obscurify3 app is running!');\n  });\n});\n"
  },
  {
    "path": "frontend/src/app/app.component.ts",
    "content": "import { Inject } from '@angular/core';\nimport { PLATFORM_ID } from '@angular/core';\nimport { DOCUMENT } from '@angular/common';\nimport { isPlatformBrowser } from '@angular/common';\nimport { environment } from '../environments/environment';\nimport { Component, OnInit } from '@angular/core';\nimport { TokenService, AuthService } from './services/spotifyAuth';\nimport { Router } from '@angular/router';\nimport { MatSnackBar } from '@angular/material/snack-bar';\n\n@Component({\n  selector: 'app-root',\n  templateUrl: './app.component.html',\n  styleUrls: ['./app.component.scss'],\n})\nexport class AppComponent implements OnInit {\n  title = 'obscurify3';\n\n  constructor(@Inject(PLATFORM_ID) private platformId: any, @Inject(DOCUMENT) private document: any,\n    private tokenSvc: TokenService,\n    private authService: AuthService,\n    private router: Router,\n    public snackBar: MatSnackBar\n\n  ) {}\n\n  ngOnInit(): void {\n    this.authService.authorizedStream.subscribe((x: boolean) => {\n      if (x) {\n        this.router.navigate(['home']);\n      }\n    });\n    if (!isPlatformBrowser(this.platformId)) {\n      const bases = this.document.getElementsByTagName('base');\n\n      if (bases.length > 0) {\n        bases[0].setAttribute('href', environment.baseHref);\n      }\n    }\n  }\n\n  public getUserInfo(): void {\n  }\n\n  public logout(): void {\n    this.tokenSvc.clearToken();\n    this.router.navigate(['login']);\n  }\n}\n"
  },
  {
    "path": "frontend/src/app/app.module.ts",
    "content": "import { BrowserModule } from '@angular/platform-browser';\nimport { NgModule } from '@angular/core';\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\nimport { PlatformModule } from '@angular/cdk/platform';\nimport { MatRadioModule } from '@angular/material/radio';\nimport { FormsModule } from '@angular/forms';\nimport { FlexLayoutModule } from '@angular/flex-layout';\nimport { HTTP_INTERCEPTORS, HttpClientModule } from '@angular/common/http';\nimport { MatSnackBarModule } from '@angular/material/snack-bar';\nimport { MatMenuModule } from '@angular/material/menu';\nimport { AppRoutingModule } from './app-routing.module';\nimport { AppComponent } from './app.component';\nimport { HomeComponent } from './components/home/home.component';\nimport { IntroComponent } from './components/intro/intro.component';\nimport { TopGenresComponent } from './components/top-genres/top-genres.component';\nimport { ObscurityRatingComponent } from './components/obscurity-rating/obscurity-rating.component';\nimport { ObscurityGraphComponent } from './components/obscurity-graph/obscurity-graph.component';\nimport { ArtistListComponent } from './components/artist/artist-list/artist-list.component';\nimport { ArtistCardComponent } from './components/artist/artist-card/artist-card.component';\nimport { ArtistNavComponent } from './components/artist/artist-nav/artist-nav.component';\nimport { MoodsGraphComponent } from './components/moods-graph/moods-graph.component';\nimport { RecommendationsComponent } from './components/recommendations/recommendations.component';\nimport { LoginComponent } from './components/login/login.component';\nimport { AuthService, TokenService, AuthGuard, SpotifyAuthInterceptor } from './services/spotifyAuth';\nimport { SpotifyAuthComponent } from './components/spotify-auth/spotify-auth.component';\nimport { InfoService } from './services/infoService';\nimport { ObscurityFuncs } from './utilities/obscurityFuncs';\nimport { TrackCardComponent } from './components/artist/track-card/track-card.component';\nimport { SpotifyService } from './services/spotifyService';\nimport { AboutComponent } from './components/about/about.component';\nimport { PrivacyComponent } from './components/privacy/privacy.component';\nimport { FooterComponent } from './components/footer/footer.component';\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\nimport { MatBottomSheetModule } from '@angular/material/bottom-sheet';\nimport { MatSelectModule } from '@angular/material/select';\nimport { MatFormFieldModule } from '@angular/material/form-field';\n\nimport { ObscurifyService } from './services/obscurifyService';\nimport { BrowserCheck } from './services/browserCheck';\nimport { ServiceWorkerModule } from '@angular/service-worker';\nimport { environment } from '../environments/environment';\nimport { SpyOnDirective } from './directives/spy-on.directive';\n\n@NgModule({\n  declarations: [\n    AppComponent,\n    HomeComponent,\n    IntroComponent,\n    TopGenresComponent,\n    ObscurityRatingComponent,\n    ObscurityGraphComponent,\n    ArtistListComponent,\n    ArtistCardComponent,\n    ArtistNavComponent,\n    MoodsGraphComponent,\n    RecommendationsComponent,\n    LoginComponent,\n    SpotifyAuthComponent,\n    TrackCardComponent,\n    AboutComponent,\n    PrivacyComponent,\n    FooterComponent,\n    SpyOnDirective,\n  ],\n  imports: [\n    FlexLayoutModule,\n    BrowserModule.withServerTransition({ appId: 'serverApp' }),\n    AppRoutingModule,\n    BrowserAnimationsModule,\n    PlatformModule,\n    MatRadioModule,\n    MatSnackBarModule,\n    MatSelectModule,\n    FormsModule,\n    AppRoutingModule,\n    HttpClientModule,\n    MatMenuModule,\n    MatProgressBarModule,\n    MatBottomSheetModule,\n    ServiceWorkerModule.register('ngsw-worker.js', { enabled: environment.production })\n  ],\n  providers: [\n    ObscurityFuncs,\n    AuthService,\n    TokenService,\n    AuthGuard,\n    InfoService,\n    ObscurifyService,\n    SpotifyService,\n    BrowserCheck,\n    [{\n      provide:  HTTP_INTERCEPTORS,\n      // Force interception to use your new shiny headers!\n      useClass:  SpotifyAuthInterceptor,\n      multi:  true\n    }]],\n  bootstrap: [AppComponent]\n})\nexport class AppModule { }\n"
  },
  {
    "path": "frontend/src/app/components/about/about.component.html",
    "content": "\n<div fxLayout.gt-sm=\"row\" fxLayout=\"column\">\n\n  <aside fxFlex=\"0 0 40%\" fxLayoutAlign=\"start center\" fxLayout=\"column nowrap\" >\n    <a class=\"back__btn\" routerLink=\"/login\"> <i class=\"fas fa-arrow-left\"></i> Go back </a>\n    <!-- ObscurifyMusic_S2S_Sidebar_ROS_Pos2 -->\n    <div class=\"about__ad\" id=\"bsa-zone_1597164756381-4_123456\"></div>\n\n  </aside>\n  <main fxLayout=\"column\">\n    <section>\n        <h1>\n            About Us\n          </h1>\n          <p>\n            The goal of Obscurify is to help you better understand your own music taste. It uses\n            Spotify's <a href=\"https://developer.spotify.com/web-api/\">Web API</a> to display your listening history, define\n            your top genres, and to recommend under-the-radar songs you might like.\n          </p>\n          <p>\n            The global popularity ratings of the artists in your lists are aggregated to result in an Obscurity score\n            which is compared to the Obscurify users in your country to show how unique (or energetic, danceable, and happy) a music taste you have.\n          </p>\n          <p>\n            Obscurify can also make playlists of the music in your track lists and place them in your Spotify library - including the historical snapshots\n            that are saved when you view your Obscurify profile each month.\n          </p>\n    </section>\n\n    <section>\n        <h2>F.A.Q.</h2>\n\n        <h3>Is it secure?</h3>\n        <p>\n          Obscurify adheres to all the latest standards in web security. And as logging in to Obscurify is\n          handled by Spotify, it's as secure as logging in to Spotify itself.\n        </p>\n\n        <h3>How is my data used?</h3>\n        <p>\n          To use Obscurify, you'll need to allow the app to have access to some of your account information -\n          that being your Spotify user ID, the country your account is registered to, and a list of your top artists & tracks.\n          Your data is only used to calculate an average with which users can compare their own scores.\n        </p>\n\n        <h3>Where does the artist and track ranking come from?</h3>\n        <p>\n        The content and order of your lists come directly from <a href=\"https://developer.spotify.com/web-api/\">Spotify's API</a>.\n        Popularity, genres, and musical traits are all determined by Spotify.\n        </p>\n\n        <h3>Why are there no (or few) results showing up in my lists?</h3>\n        <p>\n        If you listen in Private Mode, those songs won't show up in either list.\n        If your account is new, it's normal for your All-Time list to be short,\n        as it takes some time (one to two weeks) for Spotify to update their information.\n        </p>\n\n        <h3>I have some other issue (or concern, compliment, maybe a suggestion)</h3>\n        <p>\n          I'd like to know about it! <a href=\"mailto:oliveroalex@gmail.com\">Send me an email!</a>\n        </p>\n    </section>\n    <section>\n        <h3>Credit</h3>\n        <p>\n          Background Photo on login page by MARK S. on Unsplash.\n        </p>\n    </section>\n  </main>\n</div>\n"
  },
  {
    "path": "frontend/src/app/components/about/about.component.scss",
    "content": "@import 'variables';\n@import 'mixins';\n\nmain {\n    width: 100%;\n}\n\nsection {\n    margin: 2em 0;\n    max-width: 772px;\n    padding: 0 2em;\n\n    p {\n        margin-bottom: 1em;\n        font-weight: normal;\n        font-family: $secondary-font;\n    }\n\n    h1, h2, h3 {\n        margin-bottom: 1rem;\n    }\n}\n\n.about__ad {\n  margin-top:3em;\n}\n\n.back__btn {\n    padding: 1em 1em;\n    background: #FFFFFF;\n    border-radius: 5px;\n    font-size: 16px;\n    color: #000000;\n    text-align: center;\n    width: 175px;\n    box-sizing: border-box;\n    box-shadow: $box-shadow;\n    font-family: $primary-font;\n    text-decoration: none;\n    font-weight: bold;\n\n    i {\n        margin-right: 5px;\n    }\n}\n\n\n\naside {\n    padding: 2em;\n    background-color: #A9E5AC;\n\n}\n\nh1 {\n    font-size: 36px;\n}\n\n@include desktop {\n    h1 {\n        font-size: 72px;\n    }\n}\n"
  },
  {
    "path": "frontend/src/app/components/about/about.component.spec.ts",
    "content": "import { async, ComponentFixture, TestBed } from '@angular/core/testing';\n\nimport { AboutComponent } from './about.component';\n\ndescribe('AboutComponent', () => {\n  let component: AboutComponent;\n  let fixture: ComponentFixture<AboutComponent>;\n\n  beforeEach(async(() => {\n    TestBed.configureTestingModule({\n      declarations: [ AboutComponent ]\n    })\n    .compileComponents();\n  }));\n\n  beforeEach(() => {\n    fixture = TestBed.createComponent(AboutComponent);\n    component = fixture.componentInstance;\n    fixture.detectChanges();\n  });\n\n  it('should create', () => {\n    expect(component).toBeTruthy();\n  });\n});\n"
  },
  {
    "path": "frontend/src/app/components/about/about.component.ts",
    "content": "import { Component, OnInit } from '@angular/core';\n\n@Component({\n  selector: 'app-about',\n  templateUrl: './about.component.html',\n  styleUrls: ['./about.component.scss']\n})\nexport class AboutComponent implements OnInit {\n\n  constructor() { }\n\n  ngOnInit() {\n  }\n\n}\n"
  },
  {
    "path": "frontend/src/app/components/artist/artist-card/artist-card.component.html",
    "content": "<div class=\"artist__card\" [ngClass]=\"{'active': activeView}\">\n    <img *ngIf=\"artist.images.length > 1\" [src]=\"artist.images[1].url \" />\n    <div class=\"artist__card__info\">\n        <div fxLayout=\"row\" fxLayoutAlign=\"flex-start start\">\n            <p fxFlex=\"0 0 auto\">\n                <span > {{ i + 1 }} /</span>\n\n            </p>\n\n            <div fxLayout=\"column\" fxFlex=\"1 1 auto\" fxLayoutAlign=\"center start\">\n                <p class=\"artist__card__info--primary\">\n                    {{(artist.name.length < 20) ? (artist.name):(artist.name | slice:0:28)+'...' }}\n                </p>\n                <p *ngIf=\"activeView && artist.genres.length > 1\" class=\"artist__card__info--secondary\">\n                    {{ artist.genres[0] }}, {{ artist.genres[1] }}\n                </p>\n                <p *ngIf=\"activeView && artist.genres.length == 1\" class=\"artist__card__info--secondary\">\n                    {{ artist.genres[0] }}\n                </p>\n                <p *ngIf=\"activeView\" class=\"artist__card__info--secondary artist__card__stars\"> {{ this.stars }}</p>\n            </div>\n            <a class=\"artist__card__external\" [href]=\"this.sanitizer.bypassSecurityTrustResourceUrl(artist.uri)\" *ngIf=\"activeView\" fxFlex=\"0 1 auto\"><i class=\"fas fa-external-link-alt\"></i></a>\n        </div>\n\n        <!-- <div *ngIf=\"activeView\">\n            <button >More Like This</button>\n        </div> -->\n\n\n    </div>\n</div>\n"
  },
  {
    "path": "frontend/src/app/components/artist/artist-card/artist-card.component.scss",
    "content": "@import 'variables';\n@import 'mixins';\n\n.artist__card__stars {\n    margin-top: 1em;\n}\n\n.artist__card {\n    width: 100%;\n    min-width: 200px;\n    height: 100px;\n    position: relative;\n    overflow: hidden;\n    border-radius: 5px;\n    box-shadow: 5px 5px 4px 4px rgba(0, 0, 0, 0.5);\n    color: white;\n    transition: .3s cubic-bezier(.25,.1,.25,1);\n\n    img {\n        position: absolute;\n        object-fit: cover;\n        width: 100%;\n        transform: translateY(-50%);\n        top: 50%;\n    }\n\n    &.active {\n        height: 200px;\n\n        .artist__card__info {\n            height: 100%;\n        }\n    }\n\n    &__info {\n        height: 60px;\n        transition: .3s cubic-bezier(.25,.1,.25,1);\n        position: absolute;\n        width: 100%;\n        background: rgba(0,0,0,.55);\n        border-radius: 5px;\n        bottom: 0;\n        box-sizing: border-box;\n        padding: 1rem 0.5rem;\n        font-size: 1.2rem;\n\n        &--secondary, &--primary {\n            transition: .3s cubic-bezier(.25,.1,.25,1);\n            margin-left: 1rem;\n        }\n\n        &--primary {\n            font-size: 1em;\n            margin-bottom: 0.5em;\n\n        }\n\n        &--secondary {\n            font-size: 1em;\n        }\n    }\n\n    &__external {\n        color: white;\n        cursor: pointer;\n    }\n\n    button {\n        margin-top: 1em;\n        background: transparent;\n        width: 125px;\n        text-align: center;\n        font-size: 12px;\n        color: #fff;\n        display: block;\n        border-radius: 25px;\n        font-weight: 700;\n        margin: 1em auto 0;\n        border: 2px solid $primary-color;\n        padding: 1em;\n        cursor: pointer;\n    }\n}\n\n@include tablet {\n    .artist__card {\n        height: 150px;\n        margin-bottom: 1em;\n        &.active {\n            height: 150px;\n        }\n\n    }\n}\n\n@include desktop {\n    .artist__card {\n        height: 170px;\n        margin-bottom: 1em;\n\n        &__info {\n            font-size: 1rem;\n\n            &--primary {\n                font-size: 1em;\n            }\n\n            &--secondary {\n                font-size: 1em;\n            }\n        }\n\n        &.active {\n            height: 170px;\n        }\n    }\n\n}\n"
  },
  {
    "path": "frontend/src/app/components/artist/artist-card/artist-card.component.spec.ts",
    "content": "import { async, ComponentFixture, TestBed } from '@angular/core/testing';\n\nimport { ArtistCardComponent } from './artist-card.component';\n\ndescribe('ArtistCardComponent', () => {\n  let component: ArtistCardComponent;\n  let fixture: ComponentFixture<ArtistCardComponent>;\n\n  beforeEach(async(() => {\n    TestBed.configureTestingModule({\n      declarations: [ ArtistCardComponent ]\n    })\n    .compileComponents();\n  }));\n\n  beforeEach(() => {\n    fixture = TestBed.createComponent(ArtistCardComponent);\n    component = fixture.componentInstance;\n    fixture.detectChanges();\n  });\n\n  it('should create', () => {\n    expect(component).toBeTruthy();\n  });\n});\n"
  },
  {
    "path": "frontend/src/app/components/artist/artist-card/artist-card.component.ts",
    "content": "import { Component, OnInit, HostListener, Input } from '@angular/core';\nimport { BrowserCheck } from 'src/app/services/browserCheck';\nimport { DomSanitizer } from '@angular/platform-browser';\nimport ObscurityFuncs from 'src/app/utilities/obscurityFuncs';\n\n@Component({\n  selector: 'app-artist-card',\n  templateUrl: './artist-card.component.html',\n  styleUrls: ['./artist-card.component.scss']\n})\nexport class ArtistCardComponent implements OnInit {\n\n  @Input() artist;\n  @Input() i;\n  public activeView = false;\n  public stars;\n\n  @HostListener('click', ['$event.target'])\n  onClick(btn) {\n    if (this.browserCheck.isDevice) {\n      this.activeView = !this.activeView;\n    }\n  }\n\n  @HostListener('mouseenter', ['$event.target'])\n  onMouseEnter(btn) {\n    if (this.browserCheck.checkIfBrowser && !this.browserCheck.isDevice) {\n      this.activeView = true;\n    }\n  }\n  @HostListener('mouseleave', ['$event.target'])\n  onMouseLeave(btn) {\n    if (this.browserCheck.checkIfBrowser && !this.browserCheck.isDevice) {\n      this.activeView = false;\n    }\n  }\n\n  constructor(\n    public browserCheck: BrowserCheck,\n    public sanitizer: DomSanitizer,\n    private obscurityFuncs: ObscurityFuncs) { }\n\n  ngOnInit() {\n    this.stars = this.obscurityFuncs.findStarRating(parseInt(this.artist.popularity, 10));\n  }\n\n}\n"
  },
  {
    "path": "frontend/src/app/components/artist/artist-list/artist-list.component.html",
    "content": "<div #slate class=\"slate\">\n    <div class=\"artist\">\n        <div class=\"header\" [ngClass]=\"{'sticky': stickHeader}\">\n            <h2 class=\"header__title\">\n                {{ this.navState.selectedHistory.name }} Top {{ navState.listType}}\n            </h2>\n            <button class=\"bottomsheet__btn\" type=\"button\" mat-button (click)=\"openBottomSheet()\">\n                Switch list\n                </button>\n        </div>\n        <div #sentinelTop class=\"sticky_sentinel sticky_sentinel--top\"></div>\n        <div #sentinelBottom class=\"sticky_sentinel sticky_sentinel--bottom\"></div>\n\n\n        <div  class=\"artist__container\" fxlayout=\"column\" fxLayout.gt-sm=\"row nowrap\">\n            <div fxLayout=\"column\">\n                <div *ngIf=\"this.navState.selectedHistory.value == 'allTime' && this.navState.listType === 'artists'\"\n                    class=\"artist__container__grid\"\n                    fxFLex=\"100%\"\n                    fxLayout.gt-xs=\"row wrap\"\n                    fxLayout=\"column nowrap\"\n                    fxLayoutGap=\"16px\">\n\n                        <app-artist-card [artist]=\"artist\" [i]=\"i\" *ngFor=\"let artist of data.allTimeArtists | slice:0:sliceLimit; let i = index\"></app-artist-card>\n\n                </div>\n                <div *ngIf=\"this.navState.selectedHistory.value == 'current'  && this.navState.listType === 'artists'\"\n                    class=\"artist__container__grid\"\n                    fxFLex=\"100%\"\n                    fxLayout.gt-xs=\"row wrap\"\n                    fxLayout=\"column nowrap\"\n                    fxLayoutGap=\"16px\">\n\n                    <app-artist-card [artist]=\"artist\" [i]=\"i\" *ngFor=\"let artist of data.currentArtists | slice:0:sliceLimit; let i = index\"></app-artist-card>\n\n                </div>\n\n                <div *ngIf=\"this.navState.selectedHistory.value == 'allTime' && this.navState.listType === 'songs'\"\n                class=\"artist__container__grid\"\n                fxFLex=\"100%\"\n                fxLayout.gt-xs=\"row wrap\"\n                fxLayout=\"column nowrap\"\n                fxLayoutGap=\"16px\">\n\n                    <app-track-card [track]=\"track\" [i]=\"i\" *ngFor=\"let track of data.allTimeTracks | slice:0:sliceLimit; let i = index\"></app-track-card>\n\n            </div>\n            <div *ngIf=\"this.navState.selectedHistory.value == 'current' && this.navState.listType === 'songs'\"\n                class=\"artist__container__grid\"\n                fxFLex=\"100%\"\n                fxLayout.gt-xs=\"row wrap\"\n                fxLayout=\"column nowrap\"\n                fxLayoutGap=\"16px\">\n\n                <app-track-card [track]=\"track\" [i]=\"i\" *ngFor=\"let track of data.currentTracks | slice:0:sliceLimit; let i = index\"></app-track-card>\n\n            </div>\n\n            <div *ngIf=\"this.navState.selectedHistory.value != 'current' &&\n                this.navState.selectedHistory.value != 'allTime' &&\n                this.navState.listType === 'artists'\"\n                class=\"artist__container__grid\"\n                fxFLex=\"100%\"\n                fxLayout.gt-xs=\"row wrap\"\n                fxLayout=\"column nowrap\"\n                fxLayoutGap=\"16px\">\n                <app-artist-card [artist]=\"artist\" [i]=\"i\" *ngFor=\"let artist of selectedArtistsFromHistory | slice:0:sliceLimit; let i = index\"></app-artist-card>\n\n\n\n            </div>\n\n            <div *ngIf=\"this.navState.selectedHistory.value != 'current' &&\n                this.navState.selectedHistory.value != 'allTime' &&\n                this.navState.listType === 'songs'\"\n                class=\"artist__container__grid\"\n                fxFLex=\"100%\"\n                fxLayout.gt-xs=\"row wrap\"\n                fxLayout=\"column nowrap\"\n                fxLayoutGap=\"16px\">\n            <app-track-card [track]=\"track\" [i]=\"i\" *ngFor=\"let track of selectedTracksFromHistory | slice:0:sliceLimit; let i = index\"></app-track-card>\n\n\n        </div>\n\n                <div fxLayoutAlign=\"center center\">\n                    <button *ngIf=\"this.sliceLimit === 12\" class=\"artist__button artist__button--primary\" (click)=\"showMore()\">Show More</button>\n                    <button *ngIf=\"this.sliceLimit === 50\" class=\"artist__button artist__button--primary\" (click)=\"showLess()\">Show Less</button>\n\n                </div>\n            </div>\n\n            <div fxFlex.gt-sm=\"1 0 30%\" class=\"artist__nav--desktop\" *ngIf=\"showNav\">\n                <app-artist-nav [navState]=\"navState\" (createPlaylist)=\"createPlaylist()\" (updateHistory)=\"getHistory($event)\"></app-artist-nav>\n\n            </div>\n\n\n        </div>\n    </div>\n</div>\n"
  },
  {
    "path": "frontend/src/app/components/artist/artist-list/artist-list.component.scss",
    "content": "@import 'mixins';\n@import 'components/header';\n@import 'variables';\n\n:host {\n  display: block;\n}\n\n.bottomsheet__btn {\n    margin-top: 1em;\n    padding: 1em 2em;\n    border: none;\n    border-radius: 5px;\n    background-color: $primary-color;\n    font-weight: bold;\n    box-shadow: $box-shadow;\n}\n\n.header {\n    &.sticky {\n        position: sticky;\n        top: 0;\n        background-color: white;\n        z-index: 1;\n        width: calc(100% + 2em);\n        margin-left: -1em;\n        padding: 1em 1em;\n        box-sizing: border-box;\n        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);\n    }\n}\n\n.artist {\n    max-width: 1024px;\n    position: relative;\n\n\n    .header__title {\n        text-transform: capitalize;\n        width: 100;\n        font-size: 2em;\n    }\n\n    &__container {\n        margin-top: 2em;\n    }\n\n    &__container__grid {\n        &::after {\n            content: \"\";\n            flex: auto;\n          }\n    }\n\n    &__button {\n        margin-top: 2em;\n        background: #D8D8D8;\n        border-radius: 23.5px;\n        font-size: 16px;\n        color: #090909;\n        text-align: center;\n        padding: 1em 2em;\n        border: none;\n        font-weight: bold;\n        &:hover {\n            border: none;\n            cursor: pointer;\n        }\n    }\n\n    &__nav--desktop {\n        display: none;\n    }\n}\n\n@include desktop {\n    .artist {\n        margin: 0 auto;\n\n        &__nav--desktop {\n            display: block;\n        }\n\n        .bottomsheet__btn {\n          display: none;\n        }\n\n        .header__title {\n          font-size: 3em;\n      }\n\n    }\n}\n"
  },
  {
    "path": "frontend/src/app/components/artist/artist-list/artist-list.component.spec.ts",
    "content": "import { async, ComponentFixture, TestBed } from '@angular/core/testing';\n\nimport { ArtistListComponent } from './artist-list.component';\n\ndescribe('ArtistListComponent', () => {\n  let component: ArtistListComponent;\n  let fixture: ComponentFixture<ArtistListComponent>;\n\n  beforeEach(async(() => {\n    TestBed.configureTestingModule({\n      declarations: [ ArtistListComponent ]\n    })\n    .compileComponents();\n  }));\n\n  beforeEach(() => {\n    fixture = TestBed.createComponent(ArtistListComponent);\n    component = fixture.componentInstance;\n    fixture.detectChanges();\n  });\n\n  it('should create', () => {\n    expect(component).toBeTruthy();\n  });\n});\n"
  },
  {
    "path": "frontend/src/app/components/artist/artist-list/artist-list.component.ts",
    "content": "import { Component, OnInit, Output, EventEmitter, ElementRef, AfterViewInit, Input, ViewChild, OnChanges, SimpleChanges } from '@angular/core';\nimport { MatSnackBar } from '@angular/material/snack-bar';\n\nimport { IntersectionObserverService } from 'src/app/services/intersectionObserver';\nimport { Subscription } from 'rxjs';\nimport { InfoService } from 'src/app/services/infoService';\nimport { TokenService } from 'src/app/services/spotifyAuth';\nimport { SpotifyService } from 'src/app/services/spotifyService';\nimport { MatBottomSheet } from '@angular/material/bottom-sheet';\nimport { ArtistNavComponent } from '../artist-nav/artist-nav.component';\nimport { BrowserCheck } from 'src/app/services/browserCheck';\n\n@Component({\n  selector: 'app-artist-list',\n  templateUrl: './artist-list.component.html',\n  styleUrls: ['./artist-list.component.scss'],\n  providers: [IntersectionObserverService]\n})\nexport class ArtistListComponent implements AfterViewInit, OnInit, OnChanges {\n\n  @Input() data: any;\n\n  @ViewChild('sentinelTop') sentinelTop;\n  @ViewChild('sentinelBottom') sentinelBottom;\n  @ViewChild('slate') slate;\n  constructor(\n    public element: ElementRef,\n    public intersectionObserverService: IntersectionObserverService,\n    public infoSvc: InfoService,\n    public tokenSvc: TokenService,\n    public spotifyService: SpotifyService,\n    public snackBar: MatSnackBar,\n    private bottomSheet: MatBottomSheet,\n    private browserCheck: BrowserCheck) { }\n\n  public navState;\n  public selectedArtistsFromHistory;\n  public selectedTracksFromHistory;\n\n  public userInfo;\n\n  public sliceLimit = 12;\n\n  public showNav = false;\n  public stickHeader = false;\n\n  private componentIntersectObserverSub: Subscription;\n  private sentinelTopIntersectSub: Subscription;\n  private sentinelBottomIntersectSub: Subscription;\n\n  ngOnChanges(changes: SimpleChanges) {\n    if (changes.data.currentValue.userHistory) {\n\n      const historyList = [];\n\n      changes.data.currentValue.userHistory.forEach((item, index) => {\n        const historyItem = {\n          name: item.formattedDate,\n          value: index\n        };\n        historyList.push(historyItem);\n      });\n      const newState = {...this.navState };\n      newState.historyList = [...this.navState.historyList, ...historyList];\n      this.navState = { ...newState };\n    }\n  }\n\n  ngOnInit() {\n    this.userInfo = this.data.userInfo;\n    if (!this.browserCheck.isDevice) {\n      this.showNav = true;\n    }\n\n    const historyList = [];\n\n    if (this.data.currentArtists.length > 0) {\n      historyList.push({name: 'Current', value: 'current'});\n    }\n    if (this.data.allTimeArtists.length > 0) {\n      historyList.push({name: 'All Time', value: 'allTime'});\n    }\n\n\n\n    this.navState = {\n      listType: 'artists',\n      historyList: [\n        ...historyList\n      ],\n      selectedHistory: historyList[0]\n    };\n\n  }\n\n  ngAfterViewInit(): void {\n    if (this.browserCheck.isDevice) {\n      this.intersectionObserverService.init(this.sentinelTop.nativeElement,\n        {\n          threshold: [0]\n        });\n\n      this.intersectionObserverService.init(this.sentinelBottom.nativeElement,\n        {\n          threshold: [1]\n        });\n    }\n\n    this.componentIntersectObserverSub = this.intersectionObserverService\n      .getSubject()\n      .subscribe(el => {\n        const targetInfo = el.boundingClientRect;\n        const rootBoundsInfo = el.rootBounds;\n        const ratio = el.intersectionRatio;\n\n              // Started sticking.\n        if (el.target.classList[1] === 'sticky_sentinel--top') {\n          if (targetInfo.bottom < rootBoundsInfo.top) {\n            this.stickHeader = true;\n          }\n          // Stopped sticking.\n          if (targetInfo.bottom >= rootBoundsInfo.top &&\n            targetInfo.bottom < rootBoundsInfo.bottom) {\n                this.stickHeader = false;\n          }\n        }\n\n        if (el.target.classList[1] === 'sticky_sentinel--bottom') {\n          if (targetInfo.bottom > rootBoundsInfo.top && ratio === 1) {\n            this.stickHeader = true;\n          }\n\n          // Stopped sticking.\n          if (targetInfo.top < rootBoundsInfo.top &&\n            targetInfo.bottom < rootBoundsInfo.bottom) {\n                this.stickHeader = false;\n          }\n        }\n      });\n  }\n\n  openBottomSheet() {\n    const bottomsheetRef = this.bottomSheet.open(ArtistNavComponent, {\n      panelClass: 'bottom-sheet__artist__nav',\n      data: {\n        navState: this.navState\n      }});\n    bottomsheetRef.instance.updateHistory.subscribe((res) => {\n      this.getHistory(res);\n    });\n    bottomsheetRef.instance.createPlaylist.subscribe((res)=> {\n      this.createPlaylist();\n    });\n\n    bottomsheetRef.instance.dismissBottomSheet.subscribe((res)=> {\n      bottomsheetRef.dismiss();\n    });\n  }\n\n  getHistory(data) {\n\n    if (data.selectedHistory.value !== 'current' && data.selectedHistory.value !== 'allTime') {\n      this.spotifyService.getArtists({artistIDs: this.data.userHistory[data.selectedHistory.value].shortTermArtistIDs})\n        .then((res: any) => {\n          this.selectedArtistsFromHistory = [...res.artists];\n          this.navState = {...data};\n        })\n        .catch(err => {\n          this.snackBar.open('Server Error. Could not get history', '' , {\n            duration: 5000,\n            panelClass: 'panel-error',\n            verticalPosition: 'top'\n          });\n        });\n      this.spotifyService.getTracks({trackIDs: this.data.userHistory[data.selectedHistory.value].shortTermTrackIDs})\n      .then((res: any) => {\n        this.selectedTracksFromHistory = [...res.tracks];\n        this.navState = {...data};\n\n      })\n      .catch(err => {\n        this.snackBar.open('Server Error. Could not get history', '' , {\n          duration: 5000,\n          panelClass: 'panel-error',\n          verticalPosition: 'top'\n        });\n      });\n    } else {\n      this.navState = {...data};\n    }\n  }\n\n  createPlaylist() {\n    let playlistName = '';\n\n    if (this.navState.selectedHistory.name === 'current') {\n      playlistName = 'Current';\n    } else {\n      playlistName = `${this.navState.selectedHistory.name} // Obscurify`;\n    }\n\n    if (playlistName === 'Current') {\n      const monthNames = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',\n        'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'\n      ];\n      const dateObj = new Date();\n      const month = monthNames[dateObj.getMonth()]; // months from 1-12\n      const day = dateObj.getDate();\n      const year = dateObj.getFullYear() % 100;\n      const newdate = month + ' ' + day + ' \\'' + year;\n      playlistName = newdate + ' // Obscurify';\n    }\n\n    const config = {\n      userID: this.data.userInfo.id,\n      token: this.tokenSvc.oAuthToken,\n      playlistName: (playlistName),\n      tracks: null\n    };\n\n    if (this.navState.selectedHistory.value === 'current') {\n      config.tracks = this.data.currentTracks;\n    } else if (this.navState.selectedHistory.value === 'allTime') {\n      config.tracks = this.data.allTimeTracks;\n    } else {\n      config.tracks = this.selectedTracksFromHistory;\n    }\n\n    this.spotifyService.makePlaylist(config).then((results: any) => {\n      this.snackBar.open('Playlist Created in Spotify!', '' , { duration: 5000, panelClass: 'panel-success', verticalPosition: 'top'});\n\n    }).catch((err: any) => {\n      this.snackBar.open('Server Error. Please Try Again Later.', '' , {\n        duration: 5000,\n        panelClass: 'panel-error',\n        verticalPosition: 'top'\n      });\n    });\n  }\n\n  showMore() {\n    this.sliceLimit = 50;\n  }\n  showLess() {\n    this.sliceLimit = 12;\n  }\n}\n"
  },
  {
    "path": "frontend/src/app/components/artist/artist-nav/artist-nav.component.html",
    "content": "<div class=\"artist__nav\" [ngClass]=\"{'active': navOpen}\">\n    <div class=\"artist__nav__container\">\n\n        <div class=\"artist__nav__mobile\">\n            <button (click)=\"closeBottomSheet()\">\n                <i class=\"fas fa-times\"></i>\n            </button>\n        </div>\n        <div class=\"artist__nav__content\">\n            <h2>Select</h2>\n            <div class=\"artist__nav__main\" fxLayout=\"row\" fxLayoutAlign=\"flex-start start\">\n                <button class=\"artist__nav__button\" [ngClass]=\"{'active': navState.listType === 'artists'}\" (click)=\"updateArtistTrack('artists')\">Artists</button>\n                <button class=\"artist__nav__button\" [ngClass]=\"{'active': navState.listType === 'songs'}\" (click)=\"updateArtistTrack('songs')\">Songs</button>\n            </div>\n            <div class=\"artist__nav__playlist\" fxLayout=\"row\" fxLayoutAlign=\"start\" *ngIf=\"this.navState.listType === 'songs'\">\n                <button\n                    class=\"artist__nav__button\"\n                    (click)=\"emitCreatePlaylist()\">\n                    <i class=\"fas fa-plus-circle\"></i>Create Playlist\n                </button>\n            </div>\n            <div class=\"artist__nav__history\">\n                <h3> View History </h3>\n\n\n                <mat-radio-group\n                    aria-labelledby=\"select history date\"\n                    class=\"artist__nav__history--select\"\n                    [(ngModel)]=\"selectedHistory\"\n                    fxLayout=\"column\"\n                    (change)=\"getRadioValue($event)\"\n                    [required]=\"true\">\n                <mat-radio-button class=\"select__item\"\n                    *ngFor=\"let date of historyList\"\n                    [value]=\"date\"\n                    >\n                    {{ date.name }}\n                </mat-radio-button>\n            </mat-radio-group>\n            </div>\n\n\n        </div>\n\n    </div>\n</div>\n\n<div class=\"artist__ad\">\n  <!-- ObscurifyMusic_S2S_Sidebar_ROS_Pos1 -->\n  <div id=\"bsa-zone_1597164673990-7_123456\"></div>\n</div>\n"
  },
  {
    "path": "frontend/src/app/components/artist/artist-nav/artist-nav.component.scss",
    "content": "@import 'variables';\n@import 'mixins';\n\n.artist__nav {\n    padding: 0em 2em 2em;\n\n    height: 20em;\n    width: 100%;\n    box-sizing: border-box;\n    background: white;\n    transition: .2s cubic-bezier(.25,.1,.25,1);\n\n    &.active {\n        height: 70vh;\n    }\n\n    &__mobile {\n        margin-bottom: 1em;\n        display: flex;\n        justify-content: stretch;\n\n        button {\n            font-size: 1em;\n            border: none;\n            background: none;\n            width: 100%;\n            text-align: right;\n            cursor: pointer;\n            span {\n                float: left;\n                font-size: 24px;\n                font-weight: bold;\n            }\n\n            i {\n                margin-left: 1em;\n            }\n        }\n    }\n\n    &__content {\n        h2 {\n            margin-bottom: .5em;\n        }\n    }\n\n\n    &__main {\n        margin-bottom: 2em;\n\n        .artist__nav__button {\n            margin-right: 1em;\n            font-size: 1em;\n        }\n    }\n\n    &__history {\n        h3 {\n            margin-bottom: 1em;\n        }\n        margin-bottom: 2em;\n    }\n\n    &__playlist {\n        margin-bottom: 2em;\n\n        button {\n            background: #2d3436;\n            padding: 15px 1em;\n            font-size: 1em;\n            border: none;\n            font-weight: bold;\n            box-shadow: $box-shadow;\n            color: #fff;\n            i {\n                margin-right: 5px;\n            }\n        }\n    }\n\n    &__button {\n        background: transparent;\n        border-radius: 5px;\n        font-size: 1.5em;\n        padding: 8px 1em;\n        border: 2px solid #e4e4e4;\n        font-weight: bold;\n        &.active {\n            background: $primary-color;\n            border: 2px solid $primary-color;\n        }\n    }\n\n    .select__item {\n        margin-bottom: 1em;\n    }\n}\n\n.artist__ad {\n  margin-top: 2em;\n}\n\n@include gt-xs {\n    .artist__nav__content {\n        width: 60%;\n        max-width: 310px;\n    }\n}\n\n@include lt-md {\n\n    .artist__nav {\n        &__container {\n            margin: 0em 0 0;\n        }\n    }\n\n    .artist__nav__content {\n        margin: 0 auto;\n    }\n}\n\n@include gt-md {\n\n    .artist__nav {\n        padding: 1em 1em;\n        border-radius: 5px;\n\n        height: auto;\n        box-sizing: border-box;\n        position: static;\n        background: white;\n        margin-left: 0em;\n\n\n        &__container {\n            margin: 0em 0 0;\n        }\n\n        &__content {\n            width: 100%;\n        }\n\n        &__mobile {\n            display: none;\n        }\n\n        &.active {\n            height: auto;\n        }\n\n    }\n\n}\n"
  },
  {
    "path": "frontend/src/app/components/artist/artist-nav/artist-nav.component.spec.ts",
    "content": "import { async, ComponentFixture, TestBed } from '@angular/core/testing';\n\nimport { ArtistNavComponent } from './artist-nav.component';\n\ndescribe('ArtistNavComponent', () => {\n  let component: ArtistNavComponent;\n  let fixture: ComponentFixture<ArtistNavComponent>;\n\n  beforeEach(async(() => {\n    TestBed.configureTestingModule({\n      declarations: [ ArtistNavComponent ]\n    })\n    .compileComponents();\n  }));\n\n  beforeEach(() => {\n    fixture = TestBed.createComponent(ArtistNavComponent);\n    component = fixture.componentInstance;\n    fixture.detectChanges();\n  });\n\n  it('should create', () => {\n    expect(component).toBeTruthy();\n  });\n});\n"
  },
  {
    "path": "frontend/src/app/components/artist/artist-nav/artist-nav.component.ts",
    "content": "import { Component, OnInit, Input, Output, Inject, Optional, OnChanges, SimpleChanges } from '@angular/core';\nimport { EventEmitter } from '@angular/core';\nimport { MAT_BOTTOM_SHEET_DATA } from '@angular/material/bottom-sheet';\n@Component({\n  selector: 'app-artist-nav',\n  templateUrl: './artist-nav.component.html',\n  styleUrls: ['./artist-nav.component.scss'],\n})\n\nexport class ArtistNavComponent implements OnChanges, OnInit {\n\n  @Input() navState;\n  @Output() updateHistory: EventEmitter<any> = new EventEmitter();\n  @Output() createPlaylist: EventEmitter<any> = new EventEmitter();\n  @Output() dismissBottomSheet: EventEmitter<any> = new EventEmitter();\n\n  constructor(@Optional() @Inject(MAT_BOTTOM_SHEET_DATA) public data: any) {\n\n   }\n\n  public historyList = [];\n  public navOpen;\n  public selectedHistory = { name: 'Current', value: 'songs' };\n\n  ngOnInit() {\n    if (this.data?.navState) {\n      this.navState = { ...this.data.navState };\n      this.historyList = [...this.data.navState.historyList];\n      this.selectedHistory = this.data.navState.historyList[0];\n\n    }\n  }\n\n  ngOnChanges(changes: SimpleChanges) {\n    if (changes.navState) {\n      this.navState = {...changes.navState.currentValue };\n      this.historyList = [...changes.navState.currentValue.historyList];\n    }\n    if (changes.navState.firstChange) {\n      this.selectedHistory = changes.navState.currentValue.selectedHistory;\n    }\n  }\n\n  closeBottomSheet() {\n    this.dismissBottomSheet.emit(true);\n  }\n\n  getRadioValue(data) {\n    const navState = {\n      listType: this.navState.listType,\n      selectedHistory: this.selectedHistory,\n      historyList: this.navState.historyList\n\n    };\n    this.updateHistory.next(navState);\n  }\n\n  updateArtistTrack(type) {\n    this.navState.listType = type;\n    const navState = {\n      listType: type,\n      selectedHistory: this.selectedHistory,\n      historyList: this.navState.historyList\n    };\n    this.updateHistory.next(navState);\n  }\n\n  emitCreatePlaylist() {\n    this.createPlaylist.next(true);\n  }\n\n}\n"
  },
  {
    "path": "frontend/src/app/components/artist/track-card/track-card.component.html",
    "content": "<div class=\"artist__card\" [ngClass]=\"{'active': activeView}\">\n\n    <img *ngIf=\"track.album.images.length > 1\" [src]=\"track.album.images[1].url\" />\n    \n    <div class=\"artist__card__info\">\n        <div fxLayout=\"row\" fxLayoutAlign=\"flex-start start\">\n            <p fxFlex=\"0 0 auto\">\n                <span > {{ i + 1 }} /</span> \n\n            </p>\n            <div fxLayout=\"column\" fxFlex=\"1 1 auto\" fxLayoutAlign=\"center start\">\n                <p class=\"artist__card__info--primary\">\n                    {{(track.name.length < 20) ? (track.name):(track.name | slice:0:28)+'...' }}\n                </p>\n                <p *ngIf=\"activeView\" class=\"artist__card__info--secondary\">\n                    {{ track.artists[0].name }}\n                </p>\n\n                <p *ngIf=\"activeView\" class=\"artist__card__info--secondary artist__card__stars\"> {{ this.stars }}</p>\n\n            </div>\n            <a class=\"artist__card__external\" [href]=\"this.sanitizer.bypassSecurityTrustResourceUrl(track.uri)\" *ngIf=\"activeView\" fxFlex=\"0 1 auto\"><i class=\"fas fa-external-link-alt\"></i></a>\n        </div>\n<!-- \n        <div *ngIf=\"activeView\">\n            <button >More Like This</button>\n        </div> -->\n\n\n    </div>\n</div>"
  },
  {
    "path": "frontend/src/app/components/artist/track-card/track-card.component.scss",
    "content": "@import 'variables';\n@import 'mixins';\n\n.artist__card__stars {\n    margin-top: 1em;\n}\n\n.artist__card {\n    width: 100%;\n    min-width: 200px;\n    height: 100px;\n    position: relative;\n    overflow: hidden;\n    border-radius: 5px;\n    box-shadow: 5px 5px 4px 4px rgba(0, 0, 0, 0.5);\n    color: white;\n    transition: .3s cubic-bezier(.25,.1,.25,1);\n\n    img {\n        position: absolute;\n        object-fit: cover;\n        width: 100%;\n        transform: translateY(-50%);\n        top: 50%;\n    }\n\n    &.active {\n        height: 200px;\n\n        .artist__card__info {\n            height: 100%;\n        }\n    }\n\n    &__info {\n        height: 60px;\n        transition: .3s cubic-bezier(.25,.1,.25,1);\n        position: absolute;\n        width: 100%;\n        background: rgba(0,0,0,.55);\n        border-radius: 5px;\n        bottom: 0;\n        box-sizing: border-box;\n        padding: 1rem 0.5rem;\n        font-size: 1.2rem;\n\n        &--secondary, &--primary {\n            transition: .3s cubic-bezier(.25,.1,.25,1);\n            margin-left: 1rem;\n        }\n\n        &--primary {\n            font-size: 1em;\n            margin-bottom: 0.5em;\n\n        }\n\n        &--secondary {\n            font-size: 1em;\n        }\n    }\n\n    &__external {\n        color: white;\n        cursor: pointer;\n    }\n\n    button {\n        margin-top: 1em;\n        background: transparent;\n        width: 125px;\n        text-align: center;\n        font-size: 12px;\n        color: #fff;\n        display: block;\n        border-radius: 25px;\n        font-weight: 700;\n        margin: 1em auto 0;\n        border: 2px solid $primary-color;\n        padding: 1em;\n        cursor: pointer;\n    }\n}\n\n@include tablet {\n    .artist__card {\n        height: 150px;\n        margin-bottom: 1em;\n        &.active {\n            height: 150px;\n        }\n\n    }\n}\n\n@include desktop {\n    .artist__card {\n        height: 170px;\n        margin-bottom: 1em;\n\n        &__info {\n            font-size: 1rem;\n\n            &--primary {\n                font-size: 1em;\n            }\n\n            &--secondary {\n                font-size: 1em;\n            }\n        }\n\n        &.active {\n            height: 170px;\n        }\n    }\n\n}\n"
  },
  {
    "path": "frontend/src/app/components/artist/track-card/track-card.component.spec.ts",
    "content": "import { async, ComponentFixture, TestBed } from '@angular/core/testing';\n\nimport { TrackCardComponent } from './track-card.component';\n\ndescribe('TrackCardComponent', () => {\n  let component: TrackCardComponent;\n  let fixture: ComponentFixture<TrackCardComponent>;\n\n  beforeEach(async(() => {\n    TestBed.configureTestingModule({\n      declarations: [ TrackCardComponent ]\n    })\n    .compileComponents();\n  }));\n\n  beforeEach(() => {\n    fixture = TestBed.createComponent(TrackCardComponent);\n    component = fixture.componentInstance;\n    fixture.detectChanges();\n  });\n\n  it('should create', () => {\n    expect(component).toBeTruthy();\n  });\n});\n"
  },
  {
    "path": "frontend/src/app/components/artist/track-card/track-card.component.ts",
    "content": "import { Component, OnInit, Input, HostListener } from '@angular/core';\nimport { BrowserCheck } from 'src/app/services/browserCheck';\nimport { DomSanitizer } from '@angular/platform-browser';\nimport ObscurityFuncs from 'src/app/utilities/obscurityFuncs';\n\n@Component({\n  selector: 'app-track-card',\n  templateUrl: './track-card.component.html',\n  styleUrls: ['./track-card.component.scss']\n})\nexport class TrackCardComponent implements OnInit {\n\n  @Input() track: any;\n  @Input() i: any;\n  public activeView = false;\n  public stars;\n\n  @HostListener('click', ['$event.target'])\n  onClick(btn) {\n    if (this.browserCheck.isDevice) {\n      this.activeView = !this.activeView;\n    }\n  }\n\n  @HostListener('mouseenter', ['$event.target'])\n  onMouseEnter(btn) {\n    if (this.browserCheck.checkIfBrowser && !this.browserCheck.isDevice) {\n      this.activeView = true;\n    }\n  }\n  @HostListener('mouseleave', ['$event.target'])\n  onMouseLeave(btn) {\n    if (this.browserCheck.checkIfBrowser && !this.browserCheck.isDevice) {\n      this.activeView = false;\n    }\n  }\n  \n  constructor(\n    public browserCheck: BrowserCheck,\n    public sanitizer: DomSanitizer,\n    private obscurityFuncs: ObscurityFuncs) { }\n\n  ngOnInit() {\n    this.stars = this.obscurityFuncs.findStarRating(parseInt(this.track.popularity, 10));\n  }\n\n}\n"
  },
  {
    "path": "frontend/src/app/components/footer/footer.component.html",
    "content": "<footer >\n  <div class=\"footer\" fxflex=\"row nowrap\" fxLayoutAlign=\"space-between center\">\n    <div class=\"footer__links\" fxLayout=\"column nowrap\">\n      <a routerLink=\"/about\"> About</a>\n      <a routerLink=\"/privacy\"> Privacy</a>\n      <a (click)=\"login()\" *ngIf=\"login\">Login</a>\n      <a (click)=\"logout()\" *ngIf=\"!login\"> Log Out</a>\n  </div>\n\n  <div class=\"social__links\" fxLayoutAlign=\"row nowrap\">\n      <a href=\"https://twitter.com/obscurifymusic\">\n          <i class=\"fab fa-twitter-square fa-2x\"> </i>\n      </a>\n      <a href=\"mailto:oliveroalex@gmail.com\">\n          <i class=\"fas fa-envelope-square fa-2x\"></i>\n      </a>\n      <a href=\"https://github.com/alexolivero/Obscurify\">\n          <i class=\"fab fa-github-square fa-2x\"></i>\n      </a>\n  </div>\n  </div>\n\n</footer>\n"
  },
  {
    "path": "frontend/src/app/components/footer/footer.component.scss",
    "content": "footer {\n    min-height: 100px;\n    padding: 3em;\n    background-color: rgba(0,0,0,0.8);\n    color: white;\n    bottom: 0;\n\n    .footer {\n      max-width: 1024px;\n      margin: 0 auto;\n    }\n\n    a {\n        color: white;\n        text-decoration: none;\n        margin-bottom: 1em;\n        cursor: pointer;\n\n        &:hover, &:focus {\n            text-decoration: underline;\n        }\n    }\n\n    .social__links  a{\n        width: 40px;\n        height: 40px;\n    }\n}\n"
  },
  {
    "path": "frontend/src/app/components/footer/footer.component.spec.ts",
    "content": "import { async, ComponentFixture, TestBed } from '@angular/core/testing';\n\nimport { FooterComponent } from './footer.component';\n\ndescribe('FooterComponent', () => {\n  let component: FooterComponent;\n  let fixture: ComponentFixture<FooterComponent>;\n\n  beforeEach(async(() => {\n    TestBed.configureTestingModule({\n      declarations: [ FooterComponent ]\n    })\n    .compileComponents();\n  }));\n\n  beforeEach(() => {\n    fixture = TestBed.createComponent(FooterComponent);\n    component = fixture.componentInstance;\n    fixture.detectChanges();\n  });\n\n  it('should create', () => {\n    expect(component).toBeTruthy();\n  });\n});\n"
  },
  {
    "path": "frontend/src/app/components/footer/footer.component.ts",
    "content": "import { Component, OnInit, Input } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { TokenService } from 'src/app/services/spotifyAuth';\n\n@Component({\n  selector: 'app-footer',\n  templateUrl: './footer.component.html',\n  styleUrls: ['./footer.component.scss']\n})\nexport class FooterComponent implements OnInit {\n\n  @Input() login;\n\n  constructor(\n    public router: Router,\n    public tokenSvc: TokenService\n    ) { }\n\n\n  ngOnInit() {\n  }\n\n  logout() {\n    this.tokenSvc.clearToken();\n    window.open('https://www.spotify.com/logout', '_blank');\n    this.router.navigate(['login']);\n  }\n\n}\n"
  },
  {
    "path": "frontend/src/app/components/home/home.component.html",
    "content": "<main class=\"app\" spyOn (loaded)=\"loadEvent($event)\">\n\n    <app-intro [data]=\"user\" [error]=\"allTimeTracks?.allTimeTracks.length == 0 ? true : false\"></app-intro>\n    <div *ngIf=\"allTimeTracks && allTimeTracks.allTimeTracks.length > 0\">\n        <app-top-genres [data]=\"allTimeArtists\"></app-top-genres>\n        <app-obscurity-rating\n            *ngIf=\"obscurifyInfo && user && allTimeArtists && currentArtists\"\n            (switchCountryEvent)=\"switchCountry($event)\"\n            [data]=\"{\n                obscurifyInfo: obscurifyInfo,\n                country: user.country,\n                allTimeObscurifyScore: allTimeArtists.allTimeObscurifyScore,\n                recentObscurifyScore: currentArtists.recentObscurifyScore\n            }\">\n        </app-obscurity-rating>\n        <app-artist-list\n            [data]=\"{\n                allTimeArtists: allTimeArtists.allTimeArtists,\n                allTimeTracks: allTimeTracks.allTimeTracks,\n                currentArtists: currentArtists.currentArtists,\n                currentTracks: currentTracks.currentTracks,\n                userInfo: user,\n                userHistory: userHistory\n            }\">\n        </app-artist-list>\n\n        <app-moods-graph\n            (audioData)=\"getUserHistory($event)\"\n            *ngIf=\"(audioFeatures && obscurifyInfo && user)\"\n            [data]=\"{\n                audioFeatureAverages: obscurifyInfo.audioFeatureAverages,\n                userAudioFeatures: audioFeatures,\n                country: user.country\n            }\">\n        </app-moods-graph>\n\n\n    </div>\n\n    <app-recommendations\n    [data]=\"{\n        allTimeArtistIDs: allTimeArtists?.allTimeArtistIDs,\n        allTimeTrackIDs: allTimeTracks?.allTimeTrackIDs,\n        currentArtistIDs: currentArtists?.currentArtistIDs,\n        currentTrackIDs: currentTracks?.currentTrackIDs,\n        userInfo: user\n        }\">\n    </app-recommendations>\n\n    <app-footer *ngIf=\"(obscurifyInfo && user && allTimeArtists && currentArtists)\" [login]=\"false\"></app-footer>\n</main>\n\n<div class=\"app__loading active\" [ngClass]=\"{'active': !loaded}\">\n  <h1>O<span>.</span></h1>\n  <div style=\"max-width: 250px; width: 100%\">\n    <mat-progress-bar mode=\"indeterminate\"></mat-progress-bar>\n  </div>\n</div>\n"
  },
  {
    "path": "frontend/src/app/components/home/home.component.scss",
    "content": "@import 'variables';\n\n.app {\n    transition: .3s cubic-bezier(.25,.1,.25,1);\n}\n\n.app__loading {\n    height: 100vh;\n    width: 100%;\n    margin: 0 auto;\n    position: fixed;\n    top: 0;\n    background: white;\n    display: none;\n    justify-content: center;\n    align-items: center;\n    flex-direction: column;\n\n    &.active {\n      display: flex;\n    }\n    h1 {\n        font-size: 144px;\n        margin-bottom: 1rem;\n\n        span {\n            color: $primary-color;\n        }\n    }\n\n    .mat-progress-bar-fill::after {\n        background-color: $primary-color;\n    }\n}\n"
  },
  {
    "path": "frontend/src/app/components/home/home.component.spec.ts",
    "content": "import { async, ComponentFixture, TestBed } from '@angular/core/testing';\n\nimport { HomeComponent } from './home.component';\n\ndescribe('HomeComponent', () => {\n  let component: HomeComponent;\n  let fixture: ComponentFixture<HomeComponent>;\n\n  beforeEach(async(() => {\n    TestBed.configureTestingModule({\n      declarations: [ HomeComponent ]\n    })\n    .compileComponents();\n  }));\n\n  beforeEach(() => {\n    fixture = TestBed.createComponent(HomeComponent);\n    component = fixture.componentInstance;\n    fixture.detectChanges();\n  });\n\n  it('should create', () => {\n    expect(component).toBeTruthy();\n  });\n});\n"
  },
  {
    "path": "frontend/src/app/components/home/home.component.ts",
    "content": "import { Component, OnInit, Directive } from '@angular/core';\nimport { TokenService, AuthService } from '../../services/spotifyAuth';\nimport { Router } from '@angular/router';\nimport { InfoService } from '../../services/infoService';\nimport { Subscription} from 'rxjs';\nimport { combineLatest } from 'rxjs/index';\nimport { ObscurifyService } from 'src/app/services/obscurifyService';\nimport { SpotifyService } from 'src/app/services/spotifyService';\nimport { map } from 'rxjs/operators';\nimport { MatSnackBar } from '@angular/material/snack-bar';\nimport { SeoService } from '../../services/metaData';\n\n@Component({\n  selector: 'app-home',\n  templateUrl: './home.component.html',\n  styleUrls: ['./home.component.scss'],\n\n})\nexport class HomeComponent implements OnInit {\n\n  constructor(\n    public tokenSvc: TokenService,\n    public router: Router,\n    public infoSvc: InfoService,\n    public authService: AuthService,\n    public obscurifyService: ObscurifyService,\n    public spotifyService: SpotifyService,\n    public snkBar: MatSnackBar,\n    private seoService: SeoService\n  ) {\n    this.loaded = false;\n  }\n  private stream: Subscription | null = null;\n\n  // public bgColor = '#A9E5AC';\n  public userHistory = null;\n  public user: any = null;\n  public obscurifyInfo = null;\n  public audioFeatures = null;\n  public allTimeArtists = null;\n  public allTimeTracks = null;\n  public currentArtists = null;\n  public currentTracks = null;\n  public loaded = false;\n\n  ngOnInit() {\n    this.seoService.setMetaTags();\n    const userStream = this.tokenSvc.authTokens.pipe((x) => {\n      if (this.tokenSvc.oAuthToken.spotifyToken) {\n        this.authService.authorized();\n      } else {\n        this.tokenSvc.clearToken();\n        this.authService.authorize();\n      }\n      const stream = this.tokenSvc.authTokens.pipe(() => {\n        return this.infoSvc.fetchUserInfo();\n      });\n      return this.infoSvc.fetchUserInfo();\n    });\n\n    userStream.subscribe((user: any ) => {\n      if (user.error && user.error.error.status === 401) {\n        this.authService.authorize();\n      } else if (user.error && user.error.error.status === 402) {\n        this.router.navigate(['login', { serverError: true }]);\n      } else {\n        this.user = user;\n        // Get the rest of Spotify Data\n\n        const artistAndTrackStream = combineLatest([\n          this.infoSvc.fetchAllTimeTracks(),\n          this.infoSvc.fetchCurrentTracks(),\n          this.infoSvc.fetchAllTimeArtists(),\n          this.infoSvc.fetchCurrentArtists(),\n        ]).pipe(map(([a$, b$, c$, d$]) => ({\n          allTimeTracks: a$,\n          currentTracks: b$,\n          allTimeArtists: c$,\n          currentArtists: d$\n        })));\n\n        artistAndTrackStream.subscribe((data: any) => {\n          if (!data.allTimeTracks.error || !data.currentTracks.error) {\n            this.currentTracks = { ...data.currentTracks };\n            this.allTimeTracks = { ...data.allTimeTracks };\n            this.allTimeArtists = { ...data.allTimeArtists };\n            this.currentArtists = { ...data.currentArtists };\n\n            const config = {\n              allTimeTrackIDs: this.allTimeTracks.allTimeTrackIDs,\n              currentTrackIDs: this.currentTracks.currentTrackIDs\n            };\n\n            this.spotifyService.getAudioFeatures(config).subscribe((audioFeatures) => {\n              this.audioFeatures = audioFeatures;\n            });\n\n            this.obscurifyService.getObscurifyData(\n              this.user.country,\n              this.allTimeArtists.allTimeObscurifyScore,\n              this.currentArtists.recentObscurifyScore).subscribe(\n                (obscurifyData: any) => {\n                  if (obscurifyData.error) {\n                    this.router.navigate(['login', { serverError: true }]);\n                  } else {\n                    this.obscurifyInfo = { ...obscurifyData };\n                  }\n              }\n            );\n          }\n        });\n      }\n    });\n  }\n\n  switchCountry(countryCode) {\n    this.obscurifyService.getObscurifyData(\n      countryCode,\n      this.allTimeArtists.allTimeObscurifyScore,\n      this.currentArtists.recentObscurifyScore).subscribe(\n        (obscurifyData: any) => {\n          if (obscurifyData.error) {\n            this.router.navigate(['login', { serverError: true }]);\n          } else {\n            this.obscurifyInfo = { ...obscurifyData };\n            this.user.country = countryCode;\n          }\n      }\n    );\n  }\n\n  getUserHistory(val) {\n    const getUserHistoryBody = {\n      hex: this.tokenSvc.oAuthToken.obscurifyToken,\n      userID: this.user.id\n    };\n\n    this.obscurifyService.getUserHistory(getUserHistoryBody).subscribe((res: any) => {\n      if (!res.error && res.userHistory != undefined) {\n        this.userHistory = [...res.userHistory];\n        for (let history of this.userHistory) {\n          let tempDate = history.formattedDate;\n          if (tempDate.length > 2) {\n            tempDate = tempDate.slice(0, tempDate.length - 2) + \"'\" + tempDate.slice(tempDate.length - 2);\n          }\n          history.formattedDate = tempDate;\n        }\n      }\n      const saveUserHistoryBody = {\n        country: this.user.country,\n        userID: this.user.id,\n        longTermArtistIDs: this.allTimeArtists.allTimeArtistIDs,\n        longTermTrackIDs: this.allTimeTracks.allTimeTrackIDs,\n        obscurifyScore: this.allTimeArtists.allTimeObscurifyScore,\n        longTermAudioFeatures: val,\n        shortTermArtistIDs: this.currentArtists.currentArtistIDs,\n        shortTermTrackIDs: this.currentTracks.currentTrackIDs,\n        hex: this.tokenSvc.oAuthToken.obscurifyToken\n      };\n      this.obscurifyService.saveUserHistory(saveUserHistoryBody).subscribe((res: any) => {\n        if (res.error) {\n          this.snkBar.open('Server Error. Could not save history.', '' , {\n            duration: 5000,\n            panelClass: 'panel-error',\n          verticalPosition: 'top'\n        });\n        } else {\n          // console.log('Save History', res);\n        }\n      });\n    });\n  }\n\n  loadEvent(val) {\n    this.loaded = val;\n  }\n\n}\n"
  },
  {
    "path": "frontend/src/app/components/intro/intro.component.html",
    "content": "<nav *ngIf=\"data\">\n    <div fxLayout=\"row\" fxLayoutAlign=\"end start\">\n        <button [matMenuTriggerFor]=\"appMenu\">\n            <span class=\"profile__image\">\n                <img  alt=\"User Image\" [src]=\"this.userImage ? this.userImage : 'assets/images/app/profile-placeholder.png'\">\n            </span>\n             Menu\n        </button>\n    </div>\n\n    <mat-menu #appMenu=\"matMenu\">\n      <button mat-menu-item routerLink=\"/about\" >About</button>\n      <button mat-menu-item (click)=\"logout()\">Logout</button>\n      <a  mat-menu-item href=\"https://www.spotify.com/us/account/apps/\">Remove Obscurify account</a>\n    </mat-menu>\n</nav>\n\n<div *ngIf=\"data\">\n  <div class=\"welcome\" fxLayout=\"column\" fxLayoutAlign=\"center center\">\n    <h1>Welcome to <br /> Obscurify<span>.</span></h1>\n</div>\n\n<div *ngIf=\"!error\">\n    <div class=\"profile\" fxLayout=\"column\" fxLayoutAlign=\"center center\">\n        <h1 *ngIf=\"userName\" class=\"profile__header\">{{ greeting }}<span >{{ userName }}</span> {{ welcomeMessage }}</h1>\n        <h1 *ngIf=\"!userName\" class=\"profile__header\"> {{ welcomeMessage }} </h1>\n    </div>\n</div>\n\n<div *ngIf=\"error\">\n    <div class=\"profile\" fxLayout=\"column\" fxLayoutAlign=\"center center\">\n        <h1 class=\"profile__header\">Looks like you haven't listened to music on Spotify enough to get a score.  Please try again later.</h1>\n\n    </div>\n</div>\n\n<div class=\"arrow\" fxLayout=\"row nowrap\" fxLayoutAlign=\"center center\">\n  <i class=\"fas fa-chevron-down\"></i>\n</div>\n\n</div>\n\n"
  },
  {
    "path": "frontend/src/app/components/intro/intro.component.scss",
    "content": "@import 'variables';\n@import 'mixins';\n\nnav {\n    max-width: 1024px;\n    padding: 1em 1em;\n    margin: 0 auto 1em;\n    position: relative;\n    color: rgba(0,0,0,0.5);\n\n    i {\n        font-size: 2em;\n        cursor: pointer;\n    }\n\n    a {\n        font-size: 1em;\n    }\n\n    button {\n        background: none;\n        border: none;\n        display: flex;\n        flex-direction: row;\n        align-items: center;\n        font-size: 1em;\n        font-weight: bold;\n        padding: 5px;\n        i {\n            margin-left: 5px;\n        }\n    }\n}\n\n.welcome {\n    width: 100%;\n    font-size: 1.5em;\n    padding-top: 70px;\n    padding-left: 1em;\n    padding-right: 1em;\n    text-align: center;\n\n    span {\n        color: $primary-color;\n    }\n}\n\n.profile {\n    width: 100%;\n    padding: 4em 0;\n    padding-left: 1em;\n    padding-right: 1em;\n    text-align: center;\n\n    &__image {\n        width: 50px;\n        height: 50px;\n        margin-right: 0.5em;\n        background: #e5e5e5;\n        border-radius: 50%;\n\n        img {\n            width: 100%;\n            height: auto;\n            border-radius: 50%;\n        }\n    }\n\n    &__header {\n        max-width: 500px;\n        text-align: center;\n        font-size: 2em;\n    }\n}\n\n.arrow {\n  font-size: 2rem;\n  padding-bottom: 3rem;\n}\n\n\n@include desktop {\n\n    .welcome {\n        font-size: 2em;\n    }\n\n    .profile {\n        padding-top: 4em;\n\n        &__image {\n            width: 50px;\n            height: 50px;\n        }\n\n        &__header {\n            font-size: 3em;\n            max-width: 800px;\n        }\n    }\n\n    .welcome {\n        padding-top: 80px;\n    }\n\n}\n\n\n\n// Bounce Animation\n@-webkit-keyframes bounce {\n  0% { transform: translateY(-5px)  }\n  50% { transform: translateY(10px) }\n  100% { transform: translateY(-5px) }\n}\n\n@keyframes bounce {\n  0% { transform: translateY(-5px)  }\n  50% { transform: translateY(10px) }\n  100% { transform: translateY(-5px) }\n}\n\n.arrow i {\n  -webkit-animation: bounce 2s infinite ease-in-out;\n  -o-animation: bounce 2s infinite ease-in-out;\n  -ms-animation: bounce 2s infinite ease-in-out;\n  -moz-animation: bounce 2s infinite ease-in-out;\n  animation: bounce 2s infinite ease-in-out;\n}\n"
  },
  {
    "path": "frontend/src/app/components/intro/intro.component.spec.ts",
    "content": "import { async, ComponentFixture, TestBed } from '@angular/core/testing';\n\nimport { IntroComponent } from './intro.component';\n\ndescribe('IntroComponent', () => {\n  let component: IntroComponent;\n  let fixture: ComponentFixture<IntroComponent>;\n\n  beforeEach(async(() => {\n    TestBed.configureTestingModule({\n      declarations: [ IntroComponent ]\n    })\n    .compileComponents();\n  }));\n\n  beforeEach(() => {\n    fixture = TestBed.createComponent(IntroComponent);\n    component = fixture.componentInstance;\n    fixture.detectChanges();\n  });\n\n  it('should create', () => {\n    expect(component).toBeTruthy();\n  });\n});\n"
  },
  {
    "path": "frontend/src/app/components/intro/intro.component.ts",
    "content": "import { Component, OnInit, Output, EventEmitter, ElementRef, Input, OnChanges } from '@angular/core';\nimport { IntersectionObserverService } from 'src/app/services/intersectionObserver';\nimport { InfoService } from 'src/app/services/infoService';\nimport { Router } from '@angular/router';\nimport { TokenService } from 'src/app/services/spotifyAuth';\nimport { MatSnackBar } from '@angular/material/snack-bar';\nimport { Platform } from '@angular/cdk/platform';\n\n@Component({\n  selector: 'app-intro',\n  templateUrl: './intro.component.html',\n  styleUrls: ['./intro.component.scss'],\n  providers: [IntersectionObserverService]\n\n})\nexport class IntroComponent implements OnInit, OnChanges {\n  @Input() data;\n  @Input() error;\n\n  constructor(\n    public element: ElementRef,\n    public intersectionObserverService: IntersectionObserverService,\n    public infoSvc: InfoService,\n    public router: Router,\n    public tokenSvc: TokenService,\n    public snkBar: MatSnackBar,\n    public platform: Platform\n    ) { }\n\n  public userImage;\n  public userName;\n  public welcomeMessage;\n  public greeting;\n\n  ngOnChanges(change) {\n    if (!change.data.previousValue && change.data.currentValue) {\n      this.userName = this.checkName(this.data.display_name);\n      this.userImage = this.data.images[0] ? this.data.images[0].url : null;\n      this.welcomeMessage = this.getRandomWelcomeMessage();\n      this.greeting = this.getRandomGreeting();\n    }\n  }\n\n  ngOnInit() {\n    if (this.error) {\n      this.snkBar.open('No data. Try again later.', '' , {\n        duration: 5000,\n        panelClass: 'panel-error',\n      verticalPosition: 'top'\n    });\n    }\n  }\n\n  public logout() {\n    this.tokenSvc.clearToken();\n    window.open('https://www.spotify.com/logout', '_blank');\n    this.router.navigate(['login']);\n  }\n\n  private checkName(name) {\n    if (name.split(' ').length >= 2) {\n      return ' ' + name.split(' ')[0] + '.';\n    } else {\n      const nameArray = name.split('');\n      nameArray.forEach(element => {\n        if (Number(element)) {\n          return '.';\n        }\n      });\n    }\n  }\n\n  private getRandomGreeting() {\n    const greetings = [\n      'Hi',\n      'Hey',\n      'Hello'\n    ];\n    return greetings[Math.floor(Math.random() * Math.floor(greetings.length - 1))];\n  }\n\n  private getRandomWelcomeMessage() {\n    const messages = [\n      'Let\\'s see how obscure your taste is...',\n      'Check out your stats below',\n      'Find out more about your music taste below'\n    ];\n    return messages[Math.floor(Math.random() * Math.floor(messages.length - 1))];\n  }\n\n}\n"
  },
  {
    "path": "frontend/src/app/components/login/login.component.html",
    "content": "<main>\n  <div class=\"banner-container\" >\n    <!-- ObscurifyMusic_S2S_Leaderboard_ROS_ATF -->\n    <div id=\"bsa-zone_1597164528738-4_123456\"></div>\n  </div>\n    <div class=\"login__container\">\n        <h1>Obscurify<span>.</span></h1>\n\n        <p>Learn more about your music taste and compare it to others' with Obscurify.</p>\n\n        <div class=\"login\">\n            <a (click)=\"login()\" class=\"login__btn\">\n                Log in with Spotify\n            </a>\n        </div>\n\n      </div>\n\n\n\n</main>\n\n\n\n<app-footer [login]=\"true\"></app-footer>\n"
  },
  {
    "path": "frontend/src/app/components/login/login.component.scss",
    "content": "@import 'mixins';\n\nmain {\n    background:linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url(../../../assets/images/app/login-background.jpg);\n    background-size: cover;\n    background-position: center;\n    width: 100%;\n    height: 100%;\n    display: flex;\n    flex-direction: column;\n    justify-content: center;\n    align-items: center;\n    min-height: 700px;\n    color: white;\n    overflow: hidden;\n\n    .login__container {\n        width: 320px;\n    }\n\n    h1 {\n        color: #fff;\n        font-size: 4em;\n        color: #FFFFFF;\n        letter-spacing: 1.92px;\n        text-align: center;\n        top: 118px;\n        font-weight: bold;\n        margin-bottom: 1rem;\n        span {\n          color: #65D26E;\n          font-size: inherit;\n          letter-spacing: 1.92px;\n          text-align: center;\n          font-weight: bold;\n\n        }\n      }\n      p {\n          margin-bottom: 3rem;\n      }\n\n    .login {\n        width: 258px;\n        height: 70px;\n        margin: 0 auto;\n        border-radius: 2px;\n        background: #65d26e;\n        display: flex;\n        justify-content: center;\n        align-items: center;\n        cursor: pointer;\n\n        &:hover,:focus {\n            .login__btn {\n                opacity: .7;\n            }\n        }\n    }\n\n    .login__btn {\n        font-size: 16px;\n        color: #FFFFFF;\n        letter-spacing: 1.49px;\n        text-align: center;\n        text-decoration: none;\n        font-weight: bold;\n        background: transparent;\n    }\n\n    .banner-container {\n      padding: 1em;\n      position: absolute;\n      top: 50px;\n      overflow: hidden;\n    }\n  }\n\n\n\n\n  @include desktop {\n    main {\n\n      .login__container {\n        width: 550px;\n      }\n\n      h1 {\n        font-size: 6em;\n      }\n\n      p {\n        font-size: 1.5em;\n        text-align: center;\n      }\n    }\n  }\n"
  },
  {
    "path": "frontend/src/app/components/login/login.component.spec.ts",
    "content": "import { async, ComponentFixture, TestBed } from '@angular/core/testing';\n\nimport { LoginComponent } from './login.component';\n\ndescribe('LoginComponent', () => {\n  let component: LoginComponent;\n  let fixture: ComponentFixture<LoginComponent>;\n\n  beforeEach(async(() => {\n    TestBed.configureTestingModule({\n      declarations: [ LoginComponent ]\n    })\n    .compileComponents();\n  }));\n\n  beforeEach(() => {\n    fixture = TestBed.createComponent(LoginComponent);\n    component = fixture.componentInstance;\n    fixture.detectChanges();\n  });\n\n  it('should create', () => {\n    expect(component).toBeTruthy();\n  });\n});\n"
  },
  {
    "path": "frontend/src/app/components/login/login.component.ts",
    "content": "import { Component, OnInit } from '@angular/core';\nimport { AuthService, AuthConfig, TokenService } from '../../services/spotifyAuth/index';\nimport { Router } from '@angular/router';\nimport { MatSnackBar } from '@angular/material/snack-bar';\nimport { SeoService } from '../../services/metaData';\n@Component({\n  selector: 'app-login',\n  templateUrl: './login.component.html',\n  styleUrls: ['./login.component.scss']\n})\nexport class LoginComponent implements OnInit {\n\n  public serverError;\n  constructor(\n    private authService: AuthService,\n    private tokenSvc: TokenService,\n    private router: Router,\n    private snkBar: MatSnackBar,\n    private seoService: SeoService) { }\n\n  ngOnInit() {\n    this.seoService.setMetaTags();\n    if (this.serverError) {\n      this.snkBar.open('Server Error. Please Try Again Later.', '' , {\n        duration: 5000,\n        panelClass: 'panel-error',\n        verticalPosition: 'top'\n      });\n    }\n    if (!!this.tokenSvc.oAuthToken.spotifyToken) {\n      this.router.navigate(['home']);\n    }\n  }\n\n  public login(): void {\n    this.authService.authorize();\n  }\n}\n"
  },
  {
    "path": "frontend/src/app/components/moods-graph/moods-graph.component.html",
    "content": "<div class=\"slate\" >\n    <div class=\"moods-graph\" [ngClass]=\"{'show': this.show}\">\n        <div class=\"header\">\n            <h2 class=\"header__title\">\n                Your Moods\n            </h2>\n        </div>\n\n        <div class=\"moods-graph__container\">\n            <div class=\"moods-graph__content\">\n                <h3>Happiness</h3>\n\n                <div class=\"moods-graph__card\" fxLayout=\"column\" fxLayout.gt-sm=\"row nowrap\">\n                  <div class=\"moods-graph__card__container\">\n                    <p class=\"moods-graph__card__paragraph\">\n                      Scores with a higher number sound more positive (e.g. happy, cheerful),\n                       while tracks with a lower number sound more negative (e.g. sad, angry)\n                    </p>\n                    <p class=\"moods-graph__card__paragraph\">\n                      <strong>Current:</strong> {{happinessCurrentText}} the {{data.country}} avg\n                    </p>\n                    <p class=\"moods-graph__card__paragraph\">\n                      <strong>All Time:</strong> {{happinessAllTimeText}} the {{data.country}} avg\n                    </p>\n                  </div>\n\n                  <div class=\"moods-graph__card__container\" fxLayout=\"row\" fxLayoutAlign=\"center end\">\n                    <div class=\"obscurity__canvas\">\n                      <canvas #happinessGraphElement id=\"happinessGraphElement\">\n                      </canvas>\n                    </div>\n                  </div>\n\n              </div>\n\n            </div>\n        </div>\n\n        <div class=\"moods-graph__container moods-graph__container--right\">\n            <div class=\"moods-graph__content\">\n                <h3>Danceability</h3>\n\n                <div class=\"moods-graph__card\" fxLayout=\"column\" fxLayout.gt-sm=\"row nowrap\">\n                  <div class=\"moods-graph__card__container\">\n                    <p class=\"moods-graph__card__paragraph\">\n                      Danceability describes how suitable your music is for dancing based on a combination of musical elements including tempo, rhythm stability, beat strength, and overall regularity.\n                    </p>\n                    <p class=\"moods-graph__card__paragraph\">\n                      <strong>Current:</strong> {{danceabilityCurrentText}} the {{data.country}} avg\n                    </p>\n                    <p class=\"moods-graph__card__paragraph\">\n                      <strong>All Time:</strong> {{danceabilityAllTimeText}} the {{data.country}} avg\n                    </p>\n                  </div>\n                  <div class=\"moods-graph__card__container\" fxLayout=\"row\" fxLayoutAlign=\"center end\">\n                    <div class=\"obscurity__canvas\">\n                      <canvas #danceabilityGraphElement id=\"danceabilityGraphElement\">\n                      </canvas>\n                    </div>\n                  </div>\n                </div>\n\n            </div>\n        </div>\n\n        <div class=\"moods-graph__container\">\n            <div class=\"moods-graph__content\">\n                <h3>Energy</h3>\n\n                <div class=\"moods-graph__card\" fxLayout=\"column\" fxLayout.gt-sm=\"row nowrap\">\n                  <div class=\"moods-graph__card__container\">\n                    <p class=\"moods-graph__card__paragraph\">\n                      Energy represents a perceptual measure of intensity and activity.\n                      Typically, energetic tracks feel fast, loud, and noisy.\n                    </p>\n                    <p class=\"moods-graph__card__paragraph\">\n                      <strong>Current:</strong> {{energyCurrentText}} the {{data.country}} avg\n                    </p>\n                    <p class=\"moods-graph__card__paragraph\">\n                      <strong>All Time:</strong> {{energyAllTimeText}} the {{data.country}} avg\n                    </p>\n                  </div>\n\n                  <div class=\"moods-graph__card__container\" fxLayout=\"row\" fxLayoutAlign=\"center end\">\n                    <div class=\"obscurity__canvas\">\n                      <canvas #energyGraphElement id=\"energyGraphElement\">\n                      </canvas>\n                    </div>\n                  </div>\n                </div>\n            </div>\n        </div>\n\n        <div class=\"moods-graph__container moods-graph__container--right\">\n            <div class=\"moods-graph__content\">\n                <h3>Acousticness</h3>\n\n                <div class=\"moods-graph__card\" fxLayout=\"column\" fxLayout.gt-sm=\"row nowrap\">\n\n                  <div class=\"moods-graph__card__container\">\n                    <p class=\"moods-graph__card__paragraph\">\n                    A measure whether your music is acoustic. The higher the number the more acoustic sounding your music is.\n                    </p>\n                    <p class=\"moods-graph__card__paragraph\">\n                      <strong>Current:</strong> {{acousticnessCurrentText}} the {{data.country}} avg\n                    </p>\n                    <p class=\"moods-graph__card__paragraph\">\n                      <strong>All Time:</strong> {{acousticnessAllTimeText}} the {{data.country}} avg\n                    </p>\n                  </div>\n\n                  <div class=\"moods-graph__card__container\" fxLayout=\"row\" fxLayoutAlign=\"center end\">\n                    <div class=\"obscurity__canvas\">\n                        <canvas #acousticnessGraphElement id=\"acousticnessGraphElement\">\n                        </canvas>\n                    </div>\n                  </div>\n              </div>\n            </div>\n        </div>\n\n    </div>\n</div>\n"
  },
  {
    "path": "frontend/src/app/components/moods-graph/moods-graph.component.scss",
    "content": "@import 'components/header';\n@import 'mixins';\n@import 'variables';\n\n:host {\n  display: block;\n}\n\n.slate {\n    background: #A9E5AC;\n}\n\n.moods-graph {\n    max-width: 1024px;\n    margin: 0 auto;\n    display: flex;\n    flex-direction: column;\n    opacity: 0;\n    transform: translateY(100px);\n    transition: .3s cubic-bezier(.25,.1,.25,1);\n    align-items: flex-start;\n\n    &.show {\n        opacity: 1;\n        transform: translateY(0px);\n\n    }\n\n    &__container {\n        margin-top: 1em;\n    }\n\n    &__container--right {\n        align-self: flex-end;\n\n        h3 {\n            text-align: right;\n        }\n\n\n    }\n\n    &__content {\n        margin-top: 2em;\n        display: flex;\n        flex-direction: column;\n\n        h3 {\n            font-size: 36px;\n        }\n    }\n\n    &__card {\n        padding: 1em;\n        background-color: white;\n        margin-top: 1em;\n        display: flex;\n        border-radius: 5px;\n    }\n\n    &__card--reverse {\n        flex-direction: row-reverse;\n    }\n\n    &__card__header {\n        font-size: 24px;\n        margin-bottom: 0.5em;\n    }\n\n    &__card__paragraph {\n        font-family: $secondary-font;\n        font-weight: normal;\n        line-height: 1.5;\n        margin-bottom: 1em\n    }\n\n    &__card__container {\n        width: 100%;\n    }\n}\n\n.obscurity__canvas {\n    min-height: 150px;\n    width: 100%;\n\n    &__labels--x {\n      width: 100%;\n      padding-left: 70px;\n      p {\n        font-size: 14px;\n        font-weight: normal;\n        i.fa-arrow-left {\n          margin-right: 5px;\n        }\n        i.fa-arrow-right {\n          margin-left: 5px;\n        }\n      }\n    }\n}\n\n@include tablet {\n  .moods-graph {\n    &__card__container {\n      width: 50%;\n    }\n    &__card__paragraph {\n      margin-bottom: 0em\n    }\n  }\n}\n\n\n@include desktop {\n    .moods-graph {\n        margin-bottom: 20em auto;\n        &__container {\n            width: 65%;\n        }\n    }\n\n}\n"
  },
  {
    "path": "frontend/src/app/components/moods-graph/moods-graph.component.spec.ts",
    "content": "import { async, ComponentFixture, TestBed } from '@angular/core/testing';\n\nimport { MoodsGraphComponent } from './moods-graph.component';\n\ndescribe('MoodsGraphComponent', () => {\n  let component: MoodsGraphComponent;\n  let fixture: ComponentFixture<MoodsGraphComponent>;\n\n  beforeEach(async(() => {\n    TestBed.configureTestingModule({\n      declarations: [ MoodsGraphComponent ]\n    })\n    .compileComponents();\n  }));\n\n  beforeEach(() => {\n    fixture = TestBed.createComponent(MoodsGraphComponent);\n    component = fixture.componentInstance;\n    fixture.detectChanges();\n  });\n\n  it('should create', () => {\n    expect(component).toBeTruthy();\n  });\n});\n"
  },
  {
    "path": "frontend/src/app/components/moods-graph/moods-graph.component.ts",
    "content": "import { Component, OnInit, Output, EventEmitter, ElementRef, AfterViewInit, Input, OnChanges, SimpleChanges, ViewChild } from '@angular/core';\nimport { IntersectionObserverService } from 'src/app/services/intersectionObserver';\nimport { Chart } from 'chart.js';\nimport { Subscription } from 'rxjs';\nimport { Platform } from '@angular/cdk/platform';\n\n@Component({\n  selector: 'app-moods-graph',\n  templateUrl: './moods-graph.component.html',\n  styleUrls: ['./moods-graph.component.scss'],\n  providers: [IntersectionObserverService]\n})\nexport class MoodsGraphComponent implements OnInit, AfterViewInit {\n  @Input() data;\n  @Output() audioData = new EventEmitter<{}>();\n  @ViewChild('happinessGraphElement') happinessGraphElement: ElementRef;\n  @ViewChild('danceabilityGraphElement') danceabilityGraphElement: ElementRef;\n  @ViewChild('energyGraphElement') energyGraphElement: ElementRef;\n  @ViewChild('acousticnessGraphElement') acousticnessGraphElement: ElementRef;\n\n  constructor(\n    public element: ElementRef,\n    public intersectionObserverService: IntersectionObserverService,\n    public platform: Platform) { }\n\n  public show = false;\n\n  public happinessGraph: Chart;\n  public danceabilityGraph: Chart;\n  public energyGraph: Chart;\n  public acousticnessGraph: Chart;\n\n  private intersectionObserverSubs: Subscription;\n  private longTermAudioFeatures = {\n    danceability : 0,\n    energy : 0,\n    happiness : 0,\n    acousticness : 0,\n    tracksCounted : 0\n  };\n  private shortTermAudioFeatures = {\n    danceability : 0,\n    energy : 0,\n    happiness : 0,\n    acousticness : 0,\n    tracksCounted : 0\n  };\n\n  public acousticnessCurrentText = \" same as \";\n  public acousticnessAllTimeText = \" same as \";\n  public energyCurrentText = \" same as \";\n  public energyAllTimeText = \" same as \";\n  public danceabilityCurrentText = \" same as \";\n  public danceabilityAllTimeText = \" same as \";\n  public happinessCurrentText = \" same as \";\n  public happinessAllTimeText = \" same as \";\n\n  ngOnChanges(changes: SimpleChanges) {\n    if(!changes.data.firstChange && changes.data.previousValue.country != changes.data.currentValue.country) {\n      this.happinessGraph.destroy();\n      this.danceabilityGraph.destroy();\n      this.energyGraph.destroy();\n      this.acousticnessGraph.destroy();\n      this.createAudioFeatures();\n    };\n  }\n\n  ngOnInit() {\n    this.audioData.emit(this.longTermAudioFeatures);\n  }\n\n  private createAudioFeatures() {\n    this.longTermAudioFeatures = {\n      danceability : 0,\n      energy : 0,\n      happiness : 0,\n      acousticness : 0,\n      tracksCounted : 0\n    };\n    this.shortTermAudioFeatures = {\n      danceability : 0,\n      energy : 0,\n      happiness : 0,\n      acousticness : 0,\n      tracksCounted : 0\n    };\n    for (const track of this.data.userAudioFeatures[0].audio_features) {\n      if (track != null) {\n        this.longTermAudioFeatures.danceability += track.danceability;\n        this.longTermAudioFeatures.energy += track.energy;\n        this.longTermAudioFeatures.happiness += track.valence;\n        this.longTermAudioFeatures.acousticness += track.acousticness;\n        this.longTermAudioFeatures.tracksCounted += 1;\n      }\n    }\n\n    this.longTermAudioFeatures.danceability /= this.longTermAudioFeatures.tracksCounted;\n    this.longTermAudioFeatures.energy /= this.longTermAudioFeatures.tracksCounted;\n    this.longTermAudioFeatures.happiness /= this.longTermAudioFeatures.tracksCounted;\n    this.longTermAudioFeatures.acousticness /= this.longTermAudioFeatures.tracksCounted;\n\n    for (const track of this.data.userAudioFeatures[1].audio_features) {\n      if (track != null) {\n        this.shortTermAudioFeatures.danceability += track.danceability;\n        this.shortTermAudioFeatures.energy += track.energy;\n        this.shortTermAudioFeatures.happiness += track.valence;\n        this.shortTermAudioFeatures.acousticness += track.acousticness;\n        this.shortTermAudioFeatures.tracksCounted += 1;\n      }\n    }\n\n    this.shortTermAudioFeatures.danceability /= this.shortTermAudioFeatures.tracksCounted;\n    this.shortTermAudioFeatures.energy /= this.shortTermAudioFeatures.tracksCounted;\n    this.shortTermAudioFeatures.happiness /= this.shortTermAudioFeatures.tracksCounted;\n    this.shortTermAudioFeatures.acousticness /= this.shortTermAudioFeatures.tracksCounted;\n\n    let shortTermHappinessDiff = this.shortTermAudioFeatures.happiness - this.data.audioFeatureAverages.happiness.N;\n    if (shortTermHappinessDiff > 0.02) {\n        this.happinessCurrentText = (shortTermHappinessDiff * 100).toFixed(1) + \"% higher than\";\n    } else if (shortTermHappinessDiff < -0.02) {\n        this.happinessCurrentText = (Math.abs(shortTermHappinessDiff) * 100).toFixed(1) + \"% lower than\";\n    }\n    let longTermHappinessDiff = this.longTermAudioFeatures.happiness - this.data.audioFeatureAverages.happiness.N;\n    if (longTermHappinessDiff > 0.02) {\n        this.happinessAllTimeText = (longTermHappinessDiff * 100).toFixed(1) + \"% higher than\";\n    } else if (longTermHappinessDiff < -0.02) {\n        this.happinessAllTimeText = (Math.abs(longTermHappinessDiff) * 100).toFixed(1) + \"% lower than\";\n    }\n    let shortTermEnergyDiff = this.shortTermAudioFeatures.energy - this.data.audioFeatureAverages.energy.N;\n    if (shortTermEnergyDiff > 0.02) {\n        this.energyCurrentText = (shortTermEnergyDiff * 100).toFixed(1) + \"% higher than\";\n    } else if (shortTermEnergyDiff < -0.02) {\n        this.energyCurrentText = (Math.abs(shortTermEnergyDiff) * 100).toFixed(1) + \"% lower than\";\n    }\n    let longTermEnergyDiff = this.longTermAudioFeatures.energy - this.data.audioFeatureAverages.energy.N;\n    if (longTermEnergyDiff > 0.02) {\n        this.energyAllTimeText = (longTermEnergyDiff * 100).toFixed(1) + \"% higher than\";\n    } else if (longTermEnergyDiff < -0.02) {\n        this.energyAllTimeText = (Math.abs(longTermEnergyDiff) * 100).toFixed(1) + \"% lower than\";\n    }\n    let shortTermDanceabilityDiff = this.shortTermAudioFeatures.danceability - this.data.audioFeatureAverages.danceability.N;\n    if (shortTermDanceabilityDiff > 0.02) {\n        this.danceabilityCurrentText = (shortTermDanceabilityDiff * 100).toFixed(1) + \"% higher than\";\n    } else if (shortTermEnergyDiff < -0.02) {\n        this.danceabilityCurrentText = (Math.abs(shortTermDanceabilityDiff) * 100).toFixed(1) + \"% lower than\";\n    }\n    let longTermDanceabilityDiff = this.longTermAudioFeatures.danceability - this.data.audioFeatureAverages.danceability.N;\n    if (longTermDanceabilityDiff > 0.02) {\n        this.danceabilityAllTimeText = (longTermDanceabilityDiff * 100).toFixed(1) + \"% higher than\";\n    } else if (longTermDanceabilityDiff < -0.02) {\n        this.danceabilityAllTimeText = (Math.abs(longTermDanceabilityDiff) * 100).toFixed(1) + \"% lower than\";\n    }\n    let shortTermAcousticnessDiff = this.shortTermAudioFeatures.acousticness - this.data.audioFeatureAverages.acousticness.N;\n    if (shortTermAcousticnessDiff > 0.02) {\n        this.acousticnessCurrentText = (shortTermAcousticnessDiff * 100).toFixed(1) + \"% higher than\";\n    } else if (shortTermAcousticnessDiff < -0.02) {\n        this.acousticnessCurrentText = (Math.abs(shortTermAcousticnessDiff) * 100).toFixed(1) + \"% lower than\";\n    }\n    let longTermAcousticnessDiff = this.longTermAudioFeatures.acousticness - this.data.audioFeatureAverages.acousticness.N;\n    if (longTermAcousticnessDiff > 0.02) {\n        this.acousticnessAllTimeText = (longTermAcousticnessDiff * 100).toFixed(1) + \"% higher than\";\n    } else if (longTermAcousticnessDiff < -0.02) {\n        this.acousticnessAllTimeText = (Math.abs(longTermAcousticnessDiff) * 100).toFixed(1) + \"% lower than\";\n    }\n\n    const data = {\n        labels: ['Your Current', 'Your All Time', this.data.country + ' Avg'],\n        datasets: [{\n            data: [],\n            backgroundColor: [\n                '#5AA9E6',\n                'rgba(0,0,0,0.9)',\n                '#A9E5AC'\n            ],\n            borderColor: [\n                '#fefefe',\n                '#fefefe',\n                '#fefefe'\n            ],\n            borderWidth: 1,\n            barThickness: 50\n        }]\n    };\n    const option = {\n      global: {\n        defaultFontColor: '#000',\n        defaultFontFamily\t: '\"Helvetica Neue\", sans-serif'\n      },\n      responsive: true,\n      maintainAspectRatio: false,\n      animation: {\n        duration: 3000\n      },\n      tooltips: {\n        enabled: false\n      },\n      legend: {\n        display: false\n      },\n\n      scales: {\n        yAxes: [{\n          display: true,\n          scaleLabel: {\n            display: true,\n            fontColor: '#000'\n          },\n          ticks: {\n            fontFamily: '\"Helvetica Neue\", sans-serif',\n            fontColor: '#000',\n            beginAtZero: true,\n            stepSize: 0.2,\n            fontStyle\t: 'bold'\n\n          },\n          gridLines: {\n            display: false\n          },\n        }],\n        xAxes: [{\n            ticks: {\n              fontFamily: '\"Helvetica Neue\", sans-serif',\n              fontColor: '#000',\n              fontSize: '12',\n              fontStyle\t: 'bold'\n            },\n            barPercentage: 1.0,\n            categoryPercentage: 1.0,\n            gridLines: {\n              display: false\n            }\n        }]\n      }\n    };\n    if (this.platform.isBrowser) {\n      const happinessGraphContext = this.happinessGraphElement.nativeElement;\n      const happinessData = data;\n      happinessData.datasets[0].data = [\n        this.shortTermAudioFeatures.happiness,\n        this.longTermAudioFeatures.happiness,\n        this.data.audioFeatureAverages.happiness.N\n      ];\n      this.happinessGraph = new Chart(happinessGraphContext, {\n        type: 'bar',\n        data: happinessData,\n        options: option\n      });\n\n      const danceabilityGraphContext = this.danceabilityGraphElement.nativeElement;\n      const danceabilityData = data;\n      danceabilityData.datasets[0].data = [\n        this.shortTermAudioFeatures.danceability,\n        this.longTermAudioFeatures.danceability,\n        this.data.audioFeatureAverages.danceability.N\n      ];\n\n      this.danceabilityGraph = new Chart(danceabilityGraphContext, {\n        type: 'bar',\n        data: danceabilityData,\n        options: option\n      });\n\n      const energyGraphContext = this.energyGraphElement.nativeElement;\n      const energyData = data;\n      energyData.datasets[0].data = [\n        this.shortTermAudioFeatures.energy,\n        this.longTermAudioFeatures.energy,\n        this.data.audioFeatureAverages.energy.N\n      ];\n\n      this.energyGraph = new Chart(energyGraphContext, {\n        type: 'bar',\n        data: energyData,\n        options: option\n      });\n      const acousticnessGraphContext = this.acousticnessGraphElement.nativeElement;\n      const acousticnessData = data;\n      acousticnessData.datasets[0].data = [\n        this.shortTermAudioFeatures.acousticness,\n        this.longTermAudioFeatures.acousticness,\n        this.data.audioFeatureAverages.acousticness.N\n      ];\n\n      this.acousticnessGraph = new Chart(acousticnessGraphContext, {\n        type: 'bar',\n        data: acousticnessData,\n        options: option\n      });\n    }\n\n\n  }\n\n\n  ngAfterViewInit(): void {\n    this.intersectionObserverService.init(this.element.nativeElement, {\n      threshold: 0.30\n    });\n    this.intersectionObserverSubs = this.intersectionObserverService\n    .getSubject()\n    .subscribe(el => {\n      if (el.isIntersecting) {\n        this.show = true;\n      } else {\n        this.show = false;\n      }\n    });\n    this.createAudioFeatures();\n  }\n\n}\n"
  },
  {
    "path": "frontend/src/app/components/obscurity-graph/obscurity-graph.component.html",
    "content": "\n<div fxLayout=\"row\" fxLayoutAlign=\"end center\">\n    <div class=\"obscurity__graph\" fxLayout=\"column\" fxLayoutAlign=\"center center\" fxFlexAlign=\"end\">\n        <h2>How you compare with {{ data.country}} users</h2>\n        <div class=\"obscurity__canvas\">\n            <canvas id=\"obscurityGraph\">\n            </canvas>\n\n        </div>\n        <div class=\"obscurity__canvas__labels--x\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\" fxFlex=\"100%\">\n          <p><i class=\"fas fa-arrow-left\"></i>More Popular</p>\n          <p>More Obscure <i class=\"fas fa-arrow-right\"></i></p>\n        </div>\n    </div>\n\n\n\n</div>\n"
  },
  {
    "path": "frontend/src/app/components/obscurity-graph/obscurity-graph.component.scss",
    "content": "@import 'variables';\n@import 'mixins';\n\n\n.obscurity__graph {\n    margin-top: 2em;\n    border-radius: 5px;\n    width: 100%;\n    padding: 2em 1em;\n    display: flex;\n    justify-content: space-around;\n    align-items: flex-end;\n    background-color: #2d3436;\n    box-shadow: 22px 21px 1px 0 rgba(0, 0, 0, 0.5);\n    color: white;\n\n    h2 {\n      margin-bottom: 2em;\n    }\n}\n\n.obscurity__canvas {\n    min-height: 350px;\n    width: 100%;\n\n    &__labels--x {\n      width: 100%;\n      padding-left: 70px;\n      p {\n        font-size: 14px;\n        font-weight: normal;\n        i.fa-arrow-left {\n          margin-right: 5px;\n        }\n        i.fa-arrow-right {\n          margin-left: 5px;\n        }\n      }\n    }\n}\n\n@include desktop {\n    .obscurity__graph{\n        margin-top: 1em;\n        max-width: 600px;\n        max-height: 350px;\n        position: relative;\n        padding: 5em 5em;\n        box-sizing: content-box !important;\n\n        &__info {\n            font-size: 1rem;\n        }\n    }\n\n    .obscurity__canvas {\n        width: 100%;\n    }\n}\n"
  },
  {
    "path": "frontend/src/app/components/obscurity-graph/obscurity-graph.component.spec.ts",
    "content": "import { async, ComponentFixture, TestBed } from '@angular/core/testing';\n\nimport { ObscurityGraphComponent } from './obscurity-graph.component';\n\ndescribe('ObscurityGraphComponent', () => {\n  let component: ObscurityGraphComponent;\n  let fixture: ComponentFixture<ObscurityGraphComponent>;\n\n  beforeEach(async(() => {\n    TestBed.configureTestingModule({\n      declarations: [ ObscurityGraphComponent ]\n    })\n    .compileComponents();\n  }));\n\n  beforeEach(() => {\n    fixture = TestBed.createComponent(ObscurityGraphComponent);\n    component = fixture.componentInstance;\n    fixture.detectChanges();\n  });\n\n  it('should create', () => {\n    expect(component).toBeTruthy();\n  });\n});\n"
  },
  {
    "path": "frontend/src/app/components/obscurity-graph/obscurity-graph.component.ts",
    "content": "import { Component, OnInit, Input, ElementRef, SimpleChanges, OnChanges } from '@angular/core';\nimport { DomSanitizer } from '@angular/platform-browser';\nimport { Chart } from 'chart.js';\nimport * as pluginAnnotations from 'chartjs-plugin-annotation';\nimport { Platform } from '@angular/cdk/platform';\n\n@Component({\n  selector: 'app-obscurity-graph',\n  templateUrl: './obscurity-graph.component.html',\n  styleUrls: ['./obscurity-graph.component.scss']\n})\nexport class ObscurityGraphComponent implements OnInit, OnChanges {\n  @Input() data;\n\n  constructor(\n    public el: ElementRef,\n    public sanitizer: DomSanitizer,\n    public platform: Platform) {\n\n  }\n\n  public histogram: Chart;\n\n  ngOnChanges(changes: SimpleChanges) {\n    if (!changes.data.firstChange && changes.data.previousValue.country !== changes.data.currentValue.country) {\n      this.histogram.destroy();\n      this.ngOnInit();\n    }\n  }\n\n  ngOnInit() {\n    const oldData = Object.entries(this.data.breakdown);\n    const labels = [...oldData.map((val: any) => {\n      if (Number(val[0]) >= 110  && val[0] <= 240) {\n        return Number(val[0]);\n      } else {\n        return false;\n      }\n    })].filter((val) => {\n      return val;\n    });\n\n    let tempMax = 0;\n    const dataSet = [...oldData.map((val: any) => {\n      if (Number(val[0]) >= 110  && val[0] <= 240) {\n        if (Number(val[1].N) > tempMax) {\n          tempMax = Number(val[1].N);\n        }\n        return Number(val[1].N);\n      } else {\n        return false;\n      }\n    })].filter((val) => {\n      return val;\n    });\n\n    let userRecentScoreToDisplay = this.data.userRecentScore;\n    if (userRecentScoreToDisplay > 240) {\n      userRecentScoreToDisplay = 240;\n    } else if (userRecentScoreToDisplay < 110) {\n      userRecentScoreToDisplay = 110;\n    }\n    let userAllTimeScoreToDisplay = this.data.userAllTimeScore;\n    if (userAllTimeScoreToDisplay > 240) {\n      userAllTimeScoreToDisplay = 240;\n    } else if (userAllTimeScoreToDisplay < 110) {\n      userAllTimeScoreToDisplay = 110;\n    }\n\n    let allTimeXAdjust = 0;\n    if (userAllTimeScoreToDisplay > 230) {\n      allTimeXAdjust = 45;\n    } else if (userAllTimeScoreToDisplay < 120) {\n      allTimeXAdjust = -45;\n    }\n    let recentXAdjust = 0;\n    if (userRecentScoreToDisplay > 230) {\n      recentXAdjust = 45;\n    } else if (userRecentScoreToDisplay < 120) {\n      recentXAdjust = -45;\n    }\n\n    const userAllTimeAnnotation = {\n      type: 'line',\n      mode: 'vertical',\n      scaleID: 'x-axis-0',\n      value: userAllTimeScoreToDisplay,\n      borderColor: 'rgb(162, 158, 255)',\n      borderWidth: 2,\n      label: {\n        fontColor: 'rgb(162, 158, 255)',\n        content: `Your All Time ${Math.round(this.data.percentileByCountryAllTime)}%`,\n        enabled: true,\n        position: 'center',\n        fontSize: 10,\n        yAdjust: -40,\n        xAdjust: allTimeXAdjust\n      }\n    };\n\n    const userRecentAnnotation = {\n      type: 'line',\n      mode: 'vertical',\n      scaleID: 'x-axis-0',\n      value: userRecentScoreToDisplay,\n      borderColor: 'rgb(229, 202, 169)',\n      borderWidth: 2,\n      label: {\n        fontColor: 'rgb(229, 202, 169)',\n        content: `Your Current ${Math.round(this.data.percentileByCountryRecent)}%`,\n        enabled: true,\n        position: 'center',\n        yAdjust: -65,\n        fontSize: 10,\n        xAdjust: recentXAdjust\n      }\n    };\n\n    // const globalAverageAnnotation = {\n    //   type: 'line',\n    //   mode: 'vertical',\n    //   scaleID: 'x-axis-0',\n    //   value: this.data.averageScoreGlobal,\n    //   borderColor: 'rgb(169, 196, 229)',\n    //   borderWidth: 2,\n    //   z: 2,\n    //   label: {\n    //     fontColor: 'rgb(169, 196, 229)',\n    //     content: `Global Avg ${this.data.averageScoreGlobal}`,\n    //     enabled: true,\n    //     position: 'center',\n    //     fontSize: 10,\n    //     yAdjust: -10\n    //   }\n    // };\n\n\n    const data = {\n      labels: (labels),\n      datasets: [{\n          data: dataSet,\n          backgroundColor: '#fff'\n      }],\n      barPercentage: 1.0,\n      categoryPercentage: 1.0,\n    };\n    const annotations = [userAllTimeAnnotation];\n    if (this.data.userRecentScore > 0) {\n      annotations.push(userRecentAnnotation);\n    }\n    const option = {\n        global: {\n          defaultFontColor: '#fff',\n          defaultFontFamily\t: '\"Helvetica Neue\", sans-serif'\n        },\n        responsive: true,\n        maintainAspectRatio: false,\n        animation: {\n          duration: 3000\n        },\n      tooltips: {\n            enabled: false\n        },\n      legend: {\n          display: false\n        },\n      plugins: [\n        pluginAnnotations\n      ],\n      annotation: {\n        annotations: (annotations)\n      },\n      scales: {\n        yAxes: [{\n          display: true,\n          scaleLabel: {\n            display: true,\n            fontColor: '#fff',\n            labelString: 'User Count'\n          },\n          ticks: {\n            fontColor: '#fff',\n            stepSize: Math.ceil(tempMax/500)*100\n          },\n          gridLines: {\n            display: false\n          },\n        }],\n        xAxes: [{\n            gridLines: {\n              display: false\n            },\n            ticks: {\n              reverse: true,\n              display: false\n            }\n        }]\n      }\n    };\n    if (this.platform.isBrowser) {\n      this.histogram = Chart.Bar('obscurityGraph', {\n        data,\n        options: option\n      });\n    }\n  }\n\n\n}\n"
  },
  {
    "path": "frontend/src/app/components/obscurity-rating/obscurity-rating.component.html",
    "content": "\n<div class=\"slate\">\n    <div class=\"obscurity\" [ngClass]=\"{'show': this.show}\">\n\n        <div class=\"header\">\n            <h2 class=\"header__title\">\n                Obscurity Rating\n            </h2>\n        </div>\n\n        <div class=\"percentile\">\n            <div class=\"percentile__card\">\n                <h2>{{ this.data.obscurifyInfo.percentileByCountryAllTime | number:'1.0-0' }}%</h2>\n\n                <p>Your music is more obscure than <br>\n                    <strong>{{ this.data.obscurifyInfo.percentileByCountryAllTime | number:'1.0-0' }}%</strong>\n                    of <strong>{{ this.data.obscurifyInfo.userCountByCountry | number:'1.0-0':'en'  }} {{ this.data.country }}</strong> users on Obscurify.\n                </p>\n\n                <p><strong>{{ this.data.obscurifyInfo.totalUserCount| number:'1.0-0':'en' }} </strong>Global Users</p>\n            </div>\n        </div>\n        <div class=\"dark-theme\" fxLayout=\"row\" fxLayoutAlign=\"end center\">\n          <p>Switch country to</p>\n\n          <mat-form-field color=\"primary\" appearance=\"standard\">\n            <mat-select (selectionChange)='switchCountry($event.value)' panelClass=\"obscurity__rating__select\">\n              <mat-option *ngFor=\"let country of countryList\" [value]=\"country.value\">\n                {{country.viewValue}}\n              </mat-option>\n            </mat-select>\n          </mat-form-field>\n        </div>\n\n        <app-obscurity-graph [data]=\"{\n            breakdown: data.obscurifyInfo.breakdown,\n            averageScoreCountry: data.obscurifyInfo.averageScore,\n            averageScoreGlobal: data.obscurifyInfo.globalAverageScore,\n            userRecentScore: data.recentObscurifyScore,\n            userAllTimeScore: data.allTimeObscurifyScore,\n            percentileByCountryRecent: data.obscurifyInfo.percentileByCountryRecent,\n            percentileByCountryAllTime: data.obscurifyInfo.percentileByCountryAllTime,\n            country: data.country\n        }\">\n\n        </app-obscurity-graph>\n\n\n\n    </div>\n</div>\n"
  },
  {
    "path": "frontend/src/app/components/obscurity-rating/obscurity-rating.component.scss",
    "content": "@import 'components/header';\n@import 'variables';\n@import 'mixins';\n@import '~@angular/material/theming';\n\n\n:host {\n  display: block;\n}\n\n.slate {\n  background: rgba(0,0,0,0.9);\n}\n\n.obscurity {\n    max-width: 1024px;\n    margin: 2rem auto;\n    transform: translateY(100px);\n    transition: .3s cubic-bezier(.25,.1,.25,1);\n    opacity: 0;\n    transform: translateY(100px);\n\n    &.show {\n        opacity: 1;\n        transform: translateY(0px);\n    }\n  }\n.header__title {\n    color: white;\n    border-bottom: 5px $primary-color solid;\n}\n\n.percentile {\n    display:flex;\n    justify-content: flex-start;\n    margin-top: 4em;\n    h2 {\n      font-size: 4em;\n      text-align: center;\n    }\n\n    p {\n        text-align: center;\n        font-size: 1em;\n        margin-top: 1em;\n        font-weight: 500;\n    }\n\n    &__card {\n      max-width: 600px;\n      border-radius: 5px;\n      background-color: #fff;\n      display: flex;\n      flex-wrap: wrap;\n      flex-direction: column;\n      justify-content: flex-start;\n      align-items: stretch;\n      padding: 2em 2em 2em;\n      box-shadow: 22px 21px 4px 4px rgba(0, 0, 0, 0.5);\n    }\n  }\n\n  .obscurity__rating__select {\n    min-height: 300px;\n  }\n\n  .dark-theme {\n    color: white;\n    margin-top: 1em;\n    font-size: 1.5em;\n\n    p {\n      margin-bottom: -3px;\n      margin-right: 11px;\n    }\n  }\n\n\n@include desktop {\n\n    .percentile {\n\n        &__card {\n            padding: 2em 2em 5em;\n            min-width: 600px;\n            box-sizing: border-box;\n        }\n\n\n        h2 {\n          font-size: 8em;\n        }\n\n        p {\n            font-size: 1.5em;\n            margin-top: 1em;\n        }\n    }\n\n}\n"
  },
  {
    "path": "frontend/src/app/components/obscurity-rating/obscurity-rating.component.spec.ts",
    "content": "import { async, ComponentFixture, TestBed } from '@angular/core/testing';\n\nimport { ObscurityRatingComponent } from './obscurity-rating.component';\n\ndescribe('ObscurityRatingComponent', () => {\n  let component: ObscurityRatingComponent;\n  let fixture: ComponentFixture<ObscurityRatingComponent>;\n\n  beforeEach(async(() => {\n    TestBed.configureTestingModule({\n      declarations: [ ObscurityRatingComponent ]\n    })\n    .compileComponents();\n  }));\n\n  beforeEach(() => {\n    fixture = TestBed.createComponent(ObscurityRatingComponent);\n    component = fixture.componentInstance;\n    fixture.detectChanges();\n  });\n\n  it('should create', () => {\n    expect(component).toBeTruthy();\n  });\n});\n"
  },
  {
    "path": "frontend/src/app/components/obscurity-rating/obscurity-rating.component.ts",
    "content": "import { Component, OnInit, Output, EventEmitter, ElementRef, AfterViewInit, Input } from '@angular/core';\nimport { IntersectionObserverService } from 'src/app/services/intersectionObserver';\nimport { Subscription } from 'rxjs';\nimport { FormControl, FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { MatSelectChange } from '@angular/material/select';\n\n\n@Component({\n  selector: 'app-obscurity-rating',\n  templateUrl: './obscurity-rating.component.html',\n  styleUrls: ['./obscurity-rating.component.scss'],\n  providers: [IntersectionObserverService]\n\n})\nexport class ObscurityRatingComponent implements OnInit, AfterViewInit {\n  @Input() data;\n  @Output() switchCountryEvent: EventEmitter<string> = new EventEmitter<string>();\n\n  constructor(public element: ElementRef, public intersectionObserverService: IntersectionObserverService) { }\n  public show = false;\n  private intersectionObserverSubs: Subscription;\n  public countryList: any = [\n    {value: 'US', viewValue: 'United States'},\n    {value: 'AR', viewValue: 'Argentina'},\n    {value: 'AU', viewValue: 'Australia'},\n    {value: 'BE', viewValue: 'Belgium'},\n    {value: 'BR', viewValue: 'Brazil'},\n    {value: 'CL', viewValue: 'Chile'},\n    {value: 'DK', viewValue: 'Denmark'},\n    {value: 'FI', viewValue: 'Finland'},\n    {value: 'FR', viewValue: 'France'},\n    {value: 'DE', viewValue: 'Germany'},\n    {value: 'GB', viewValue: 'Great Britain'},\n    {value: 'HU', viewValue: 'Hungary'},\n    {value: 'IN', viewValue: 'India'},\n    {value: 'ID', viewValue: 'Indonesia'},\n    {value: 'IE', viewValue: 'Ireland'},\n    {value: 'IT', viewValue: 'Italy'},\n    {value: 'MX', viewValue: 'Mexico'},\n    {value: 'MY', viewValue: 'Malaysia'},\n    {value: 'NL', viewValue: 'Netherlands'},\n    {value: 'NZ', viewValue: 'New Zealand'},\n    {value: 'NO', viewValue: 'Norway'},\n    {value: 'PH', viewValue: 'Philippines'},\n    {value: 'PL', viewValue: 'Poland'},\n    {value: 'PT', viewValue: 'Portugal'},\n    {value: 'ES', viewValue: 'Spain'},\n    {value: 'SG', viewValue: 'Singapore'},\n    {value: 'SE', viewValue: 'Sweden'},\n    {value: 'TR', viewValue: 'Turkey'},\n    {value: 'VN', viewValue: 'Vietnam'}\n  ];\n\n  ngOnInit() {\n  }\n\n  ngAfterViewInit(): void {\n    this.intersectionObserverService.init(this.element.nativeElement, {\n      root: null,\n      rootMargin: '0px',\n      threshold: [0.20]\n    });\n    this.intersectionObserverSubs = this.intersectionObserverService\n      .getSubject()\n      .subscribe(el => {\n\n        if (el.isIntersecting) {\n          this.show = true;\n        } else {\n          this.show = false;\n        }\n      });\n  }\n\n  switchCountry(code) {\n    this.switchCountryEvent.emit(code);\n  }\n}\n"
  },
  {
    "path": "frontend/src/app/components/privacy/privacy.component.html",
    "content": "<main fxLayout=\"column\">\n    <section fxFlex=\"1 1 100%\">\n        <a class=\"back__btn\" routerLink=\"/login\"> <i class=\"fas fa-arrow-left\"></i> Go back </a>\n    </section>\n    <section>\n        <h2>\n          Privacy Policy\n        </h2>\n        <p>\n          Alex and Nirmal built Obscurify as an open source app.\n          This service is provided by us at no cost and is intended for use as is.\n          This page is used to inform visitors regarding our policies with the collection,\n          use, and disclosure of information if anyone decided to use my service.\n          If you choose to use the service, then you agree to the collection and use of\n          information in relation to this policy. The information that I collect\n          is used for providing and improving the service. I will not use or share your\n          information with anyone except as described in this policy.\n        </p>\n    </section>\n    <section>\n        <h3>Information Collection and Use</h3>\n        <p>\n          For a better experience, while using our service,\n          we may require you to provide us with certain personally identifiable information,\n          which we store on Amazon Web Service's DynamoDB.\n          This information is limited to a user's Spotify user ID, their country,\n          and the Spotify IDs of their top 50 tracks and artists,\n          and is obtained via Spotify's API. This information is not shared with\n          any person or organization or used in any purpose other than to aggregate by Obscurify to\n          find an average score that a user can compare their own to.\n        </p>\n    </section>\n    <section>\n        <h3>Cookies</h3>\n        <p>\n          Obscurify does not set cookies itself.\n          However, it does uses cookies set by Spotify to maintain a user's login state.\n          You have the option to either accept or refuse these cookies and know\n          when a cookie is being sent to your device. If you choose to refuse cookies,\n          you may not be able to use some portions of this service.\n        </p>\n    </section>\n    <section>\n        <h3>Contact Us</h3>\n        <p>\n        If you have any questions or suggestions about the privacy policy,\n        do not hesitate to contact me at <a href=\"mailto:oliveroalex@gmail.com\">oliveroalex@gmail.com</a>.\n        </p>\n    </section>\n\n</main>\n"
  },
  {
    "path": "frontend/src/app/components/privacy/privacy.component.scss",
    "content": "main {\n    width: 100%;\n    background-color: #A9E5AC;\n}\n\nsection {\n    margin: 2em 0;\n    max-width: 772px;\n    padding: 0 2em;\n\n    p {\n        margin-bottom: 1em;\n    }\n\n    h2, h3 {\n        margin-bottom: 1em;\n    }\n}\n\n.back__btn {\n    padding: 1em 1em;\n    color: black;\n    width: 200px;\n    background-color: white;\n    text-decoration: none;\n    border-radius: 5px;\n}"
  },
  {
    "path": "frontend/src/app/components/privacy/privacy.component.spec.ts",
    "content": "import { async, ComponentFixture, TestBed } from '@angular/core/testing';\n\nimport { PrivacyComponent } from './privacy.component';\n\ndescribe('PrivacyComponent', () => {\n  let component: PrivacyComponent;\n  let fixture: ComponentFixture<PrivacyComponent>;\n\n  beforeEach(async(() => {\n    TestBed.configureTestingModule({\n      declarations: [ PrivacyComponent ]\n    })\n    .compileComponents();\n  }));\n\n  beforeEach(() => {\n    fixture = TestBed.createComponent(PrivacyComponent);\n    component = fixture.componentInstance;\n    fixture.detectChanges();\n  });\n\n  it('should create', () => {\n    expect(component).toBeTruthy();\n  });\n});\n"
  },
  {
    "path": "frontend/src/app/components/privacy/privacy.component.ts",
    "content": "import { Component, OnInit } from '@angular/core';\n\n@Component({\n  selector: 'app-privacy',\n  templateUrl: './privacy.component.html',\n  styleUrls: ['./privacy.component.scss']\n})\nexport class PrivacyComponent implements OnInit {\n\n  constructor() { }\n\n  ngOnInit() {\n  }\n\n}\n"
  },
  {
    "path": "frontend/src/app/components/recommendations/recommendations.component.html",
    "content": "<div class=\"slate\">\n    <div class=\"recommendations\" [ngClass]=\"{'show': this.show}\">\n        <div class=\"header\">\n            <h2 class=\"header__title\">\n                Recommendations\n            </h2>\n        </div>\n        <div class=\"recommendations__content\">\n            <div class=\"recommendations__container\">\n                <!-- <button id=\"filter-btn\" class=\"filter-btn\" (click)=\"toggleFilter()\">\n                  <i class=\"fas fa-sliders-h\"></i>\n                </button> -->\n\n                <button class=\"refresh-btn\" (click)=\"refreshTracks()\">\n                  <span>Refresh</span>\n                  <i class=\"fas fa-sync\"></i>\n                </button>\n\n                <button class=\"add-playlist-btn\" (click)=\"makePlaylist()\">\n                  <span>Create Playlist</span>\n                  <i class=\"fas fa-plus-circle\"></i>\n                </button>\n                <div class=\"track-container\">\n                  <div class=\"card-track\">\n                    <div class=\"card\" *ngFor=\"let track of recommendedTracks\">\n                      <a [href]=\"this.sanitizer.bypassSecurityTrustResourceUrl(track.uri)\">\n\n                        <div class=\"card-info\">\n                            <h3>\n                              {{ (track.name.length < 25) ? (track.name):(track.name | slice:0:20)+'...' }}\n                            </h3>\n                            <p>\n                              {{ (track.artists[0].name.length < 25) ? (track.artists[0].name):(track.artists[0].name | slice:0:20)+'...' }}\n\n                            </p>\n                        </div>\n                        <div class=\"card-content\">\n                            <img item-start *ngIf=\"track.album.images.length > 1\" [src]=\"track.album.images[1].url\">\n                        </div>\n                      </a>\n                    </div>\n                  </div>\n                </div>\n              </div>\n        </div>\n\n\n    </div>\n</div>\n"
  },
  {
    "path": "frontend/src/app/components/recommendations/recommendations.component.scss",
    "content": "@import \"components/header\";\n@import \"mixins\";\n@import \"variables\";\n\n:host {\n  display: block;\n}\n\n.slate {\n  background-color: #759398;\n  padding-bottom: 4em;\n}\n\n.recommendations {\n  max-width: 620px;\n  display: flex;\n  flex-direction: column;\n  margin: 0 auto ;\n  position: relative;\n  height: 100%;\n  min-height: 520px;\n  opacity: 0;\n  transform: translateY(100px);\n  transition: .3s cubic-bezier(.25,.1,.25,1);\n\n  &.show {\n    opacity: 1;\n    transform: translateY(0px);\n  }\n\n  .header {\n    color: white;\n  }\n\n  .header__title {\n    border-color: white;\n    font-size: 2.3em;\n  }\n}\n\n.recommendations__content {\n    position: relative;\n}\n\n.recommendations__container {\n  position: absolute;\n  left: 0;\n  top: 0;\n  width: calc(100% + 16px);\n  height: 100%;\n  border-radius: 25px 25px 0 0;\n  overflow: hidden;\n  box-sizing: content-box;\n  padding-top: 80px;\n  min-height: 620px;\n}\n\n.recommendations__ad {\n  text-align: center;\n  background-color: #759398;\n  padding-bottom: 2em;\n  border: 1px solid #759398;\n}\n\n.filter-btn {\n  background-color: #2d3436;\n  border: none;\n  height: 29px;\n  width: 44px;\n  border-radius: 19px;\n  color: white;\n  font-size: 17px;\n  padding-top: 1px;\n  top: 20px;\n  left: 10px;\n  position: absolute;\n  z-index: 3;\n}\n\n.add-playlist-btn {\n  background-color: transparent;\n  border: none;\n  height: 29px;\n  border-radius: 19px;\n  color: #2d3436;\n  font-size: 17px;\n  padding-top: 1px;\n  top: 20px;\n  right: 10px;\n  position: absolute;\n  z-index: 1;\n  display: inline-block;\n  cursor: pointer;\n\n  span {\n    /* Create Playlist: */\n    font-size: 14px;\n    font-weight: bold;\n    color: #fffbfa;\n    letter-spacing: 1.35px;\n    text-align: center;\n    margin-right: 6px;\n    z-index: 1;\n  }\n}\n\n.refresh-btn {\n  @extend .add-playlist-btn;\n  right: auto;\n}\n\n.content {\n  position: relative;\n}\n\n.track-container {\n  overflow-x: auto;\n  width: 100%;\n  height: 100%;\n  -ms-overflow-style: none;  // IE 10+\n  overflow: -moz-scrollbars-none;  // Firefox\n  overflow-y: hidden;\n  -ms-overflow-style: none;  /* IE and Edge */\n  scrollbar-width: none;\n  &::-webkit-scrollbar {\n    display: none;\n  }\n\n}\n\n\n.card-track {\n  display: flex;\n  overflow-y: hidden;\n  overflow-x: scroll;\n  width: 2700px;\n  z-index: 1;\n  padding-left: 1.5em;\n  flex-wrap: wrap;\n  height: 470px;\n  align-items: flex-start;\n  align-content: baseline;\n  -webkit-box-align: start;\n  -ms-overflow-style: none;  /* IE and Edge */\n  scrollbar-width: none;\n  /* Firefox */\n\n  &::-webkit-scrollbar {\n    display: none;\n  }\n\n  .card {\n    background: none;\n    width: 252px;\n    height: 200px;\n    margin-right: 70px;\n    position: relative;\n    img {\n      object-fit: cover;\n      width: 100%;\n      max-height: 100%;\n    }\n\n    .card-info {\n      background: #2d3436;\n      box-shadow: -12px 5px 4px 0 rgba(0, 0, 0, 0.5);\n      width: 252px;\n      height: 142px;\n      position: absolute;\n      left: -16px;\n      top: 70px;\n      display: flex;\n      flex-wrap: wrap;\n      align-content: flex-end;\n      justify-content: flex-start;\n      padding: 16px 16px;\n      transition: .3s cubic-bezier(.25,.1,.25,1);\n      box-sizing: border-box;\n\n      h3 {\n        font-size: 1em;\n        margin: 0 0 5px;\n        width: 100%;\n        color: #fff;\n      }\n\n      p {\n        color: #fff;\n        font-size: 1em;\n        margin: 0;\n        font-family: $secondary-font;\n      }\n    }\n    .card-content {\n      background: #fffbfa;\n      width: 252px;\n      height: 142px;\n      margin-right: 70px;\n      position: relative;\n    }\n\n    &:nth-child(9) {\n      margin-left: 40px;\n    }\n\n    &:nth-child(1n + 9) {\n      margin-top: 50px;\n    }\n  }\n}\n\n  @include desktop {\n    .recommendations {\n      max-width: 1024px;\n      margin: 0 auto;\n\n      .header__title {\n        border-color: white;\n        font-size: 3em;\n      }\n\n      &__container {\n        position: relative;\n      }\n\n      .track-container {\n        overflow: hidden;\n      }\n\n      .card-track {\n        height: 100%;\n        width: 100%;\n        overflow: hidden;\n\n        .card {\n          min-height: 240px;\n          &:nth-child(9) {\n            margin-left: 0;\n          }\n\n          &:nth-child(1n + 9) {\n            margin-top: 0;\n          }\n        }\n\n      }\n    }\n\n  }\n"
  },
  {
    "path": "frontend/src/app/components/recommendations/recommendations.component.spec.ts",
    "content": "import { async, ComponentFixture, TestBed } from '@angular/core/testing';\n\nimport { RecommendationsComponent } from './recommendations.component';\n\ndescribe('RecommendationsComponent', () => {\n  let component: RecommendationsComponent;\n  let fixture: ComponentFixture<RecommendationsComponent>;\n\n  beforeEach(async(() => {\n    TestBed.configureTestingModule({\n      declarations: [ RecommendationsComponent ]\n    })\n    .compileComponents();\n  }));\n\n  beforeEach(() => {\n    fixture = TestBed.createComponent(RecommendationsComponent);\n    component = fixture.componentInstance;\n    fixture.detectChanges();\n  });\n\n  it('should create', () => {\n    expect(component).toBeTruthy();\n  });\n});\n"
  },
  {
    "path": "frontend/src/app/components/recommendations/recommendations.component.ts",
    "content": "import { Component, OnInit, Output, EventEmitter, ElementRef, AfterViewInit, Input, OnChanges, SimpleChanges } from '@angular/core';\nimport { IntersectionObserverService } from 'src/app/services/intersectionObserver';\nimport { Subscription } from 'rxjs';\nimport { InfoService } from 'src/app/services/infoService';\nimport { SpotifyService } from 'src/app/services/spotifyService';\nimport { DomSanitizer } from '@angular/platform-browser';\nimport { MatSnackBar } from '@angular/material/snack-bar';\n\n@Component({\n  selector: 'app-recommendations',\n  templateUrl: './recommendations.component.html',\n  styleUrls: ['./recommendations.component.scss'],\n  providers: [IntersectionObserverService]\n\n})\nexport class RecommendationsComponent implements OnInit, AfterViewInit, OnChanges {\n  @Input() data;\n\n  constructor(\n    public element: ElementRef,\n    public intersectionObserverService: IntersectionObserverService,\n    public infoSvc: InfoService,\n    public spotifyService: SpotifyService,\n    public sanitizer: DomSanitizer,\n    public snackBar: MatSnackBar) { }\n    public show = false;\n    public user: any;\n    public recommendedTracks: any;\n\n    private intersectionObserverSubs: Subscription;\n    private initialTracks = false;\n\n  ngOnInit() {\n\n  }\n\n  ngOnChanges(changes: SimpleChanges) {\n    if (changes.data.currentValue.allTimeArtistIDs) {\n      this.intersectionObserverService.init(this.element.nativeElement, {\n        threshold: 0.20\n      });\n      this.intersectionObserverSubs = this.intersectionObserverService\n      .getSubject()\n      .subscribe(el => {\n\n        if (el.isIntersecting) {\n          this.show = true;\n\n          const config = {\n            allTimeArtistIDs: this.data.allTimeArtistIDs,\n            currentArtistIDs: this.data.currentArtistIDs,\n            allTimeTrackIDs: this.data.allTimeTrackIDs,\n            currentTrackIDs: this.data.currentTrackIDs,\n            country: this.data.userInfo.country\n          };\n\n          if (!this.initialTracks) {\n            this.spotifyService.getRecommendations(config)\n            .then((data: any) => {\n              this.recommendedTracks = data.tracks;\n              this.initialTracks = true;\n            })\n            .catch((err) => {\n              console.log('Error getting recommended Tracks');\n            });\n          }\n\n        } else {\n          this.show = false;\n        }\n\n      });\n    }\n  }\n\n  ngAfterViewInit(): void {\n\n  }\n\n  refreshTracks() {\n    const config = {\n      allTimeArtistIDs: this.data.allTimeArtistIDs,\n      currentArtistIDs: this.data.currentArtistIDs,\n      allTimeTrackIDs: this.data.allTimeTrackIDs,\n      currentTrackIDs: this.data.currentTrackIDs,\n      country: this.data.userInfo.country\n    };\n\n    this.spotifyService.getRecommendations(config).then((data: any) => {\n      this.recommendedTracks = data.tracks;\n    }).catch((err) => {\n      this.snackBar.open('Server Error. Please Try Again Later.', '' , { duration: 5000, panelClass: 'panel-error', verticalPosition: 'top'});\n    });\n  }\n\n  makePlaylist() {\n    const config = {\n      userID: this.data.userInfo.id,\n      playlistName: 'Recommended for You // Obscurify',\n      tracks: this.recommendedTracks\n    };\n    this.spotifyService.makePlaylist(config).then((results: any) => {\n      this.snackBar.open('Playlist Created in Spotify!', '' , { duration: 5000, panelClass: 'panel-success', verticalPosition: 'top'});\n\n    }).catch((err: any) => {\n      this.snackBar.open('Server Error. Please Try Again Later.', '' , {\n        duration: 5000,\n        panelClass: 'panel-error',\n        verticalPosition: 'top'\n      });\n    });\n  }\n}\n"
  },
  {
    "path": "frontend/src/app/components/spotify-auth/spotify-auth.component.html",
    "content": "<p>spotify-auth-component works!</p>\n"
  },
  {
    "path": "frontend/src/app/components/spotify-auth/spotify-auth.component.scss",
    "content": ""
  },
  {
    "path": "frontend/src/app/components/spotify-auth/spotify-auth.component.spec.ts",
    "content": "import { async, ComponentFixture, TestBed } from '@angular/core/testing';\n\nimport { SpotifyAuthComponentComponent } from './spotify-auth-component.component';\n\ndescribe('SpotifyAuthComponentComponent', () => {\n  let component: SpotifyAuthComponentComponent;\n  let fixture: ComponentFixture<SpotifyAuthComponentComponent>;\n\n  beforeEach(async(() => {\n    TestBed.configureTestingModule({\n      declarations: [ SpotifyAuthComponentComponent ]\n    })\n    .compileComponents();\n  }));\n\n  beforeEach(() => {\n    fixture = TestBed.createComponent(SpotifyAuthComponentComponent);\n    component = fixture.componentInstance;\n    fixture.detectChanges();\n  });\n\n  it('should create', () => {\n    expect(component).toBeTruthy();\n  });\n});\n"
  },
  {
    "path": "frontend/src/app/components/spotify-auth/spotify-auth.component.ts",
    "content": "import { Component, OnInit, AfterViewInit } from '@angular/core';\nimport { AuthService, TokenService } from 'src/app/services/spotifyAuth';\nimport { CookieService } from 'ngx-cookie-service';\n\n@Component({\n  selector: 'app-spotify-auth',\n  template: `<h3>Authorizing&hellip;</h3>`,\n  styles: [``]\n})\nexport class SpotifyAuthComponent implements AfterViewInit {\n\n  public constructor(private authService: AuthService, private cookieService: CookieService, private tknService: TokenService) {\n\n  }\n\n  public ngAfterViewInit() {\n    this.authService.authorized();\n  }\n}\n"
  },
  {
    "path": "frontend/src/app/components/top-genres/top-genres.component.html",
    "content": "<div class=\"slate\" *ngIf=\"topGenres.length > 0\">\n    <div class=\"genre\" [ngClass]=\"{'show': show}\">\n        <div class=\"header\">\n            <h2 class=\"header__title\">\n                Top Genres\n            </h2>\n        </div>\n\n        <div class=\"genre__list\" fxLayout=\"column\" fxLayoutAlign=\"start stretch\" fxLayoutGap=\"1em\">\n            <div class=\"genre__card genre__card--{{i}}\" fxFlex=\"1 1 100%\" *ngFor=\"let item of topGenres; let i = index\">\n                <h3>{{ i + 1 }} / {{ item[0] }}</h3>\n            </div>\n\n            \n        </div>\n    </div>\n</div>"
  },
  {
    "path": "frontend/src/app/components/top-genres/top-genres.component.scss",
    "content": "@import 'components/header';\n@import 'mixins';\n\n:host {\n  display: block;\n}\n\n.slate {\n    background: #FFA69E;\n\n}\n\n.genre {\n    max-width: 1024px;\n    margin: 0 auto;\n    opacity: 0;\n    transition: opacity .3s cubic-bezier(.25,.1,.25,1);\n\n    &__list {\n        margin-top: 2em;\n    }\n\n    &__card {\n        background-color: rgba(0, 0, 0, .2);\n        border-radius: 5px;\n        padding: 1em 1.5em;\n        opacity: 0;\n        transform: translateY(50px);\n        transition: .3s cubic-bezier(.25,.1,.25,1);\n        h3 {\n            font-size: 1.5em;\n        }\n\n    }\n\n}\n\n@include desktop {\n    .genre {\n\n        &__card {\n            padding: 1.5em 1.5em;\n\n            min-width: 636px;\n\n            h3 {\n                font-size: 3em;\n            }\n        }\n    }\n\n}\n\n@for $i from 0 through 10 {\n    .genre.show {\n        opacity: 1;\n        transform: translateY(0px);\n        transition: .3s cubic-bezier(.25,.1,.25,1);\n\n        .genre__card {\n            opacity: 1;\n            transform: translateY(0px)\n        }\n        .genre__card:nth-child(#{$i + 1}) {\n            transition:  0.3s * $i;\n        }\n    }\n\n  }\n"
  },
  {
    "path": "frontend/src/app/components/top-genres/top-genres.component.spec.ts",
    "content": "import { async, ComponentFixture, TestBed } from '@angular/core/testing';\n\nimport { TopGenresComponent } from './top-genres.component';\n\ndescribe('TopGenresComponent', () => {\n  let component: TopGenresComponent;\n  let fixture: ComponentFixture<TopGenresComponent>;\n\n  beforeEach(async(() => {\n    TestBed.configureTestingModule({\n      declarations: [ TopGenresComponent ]\n    })\n    .compileComponents();\n  }));\n\n  beforeEach(() => {\n    fixture = TestBed.createComponent(TopGenresComponent);\n    component = fixture.componentInstance;\n    fixture.detectChanges();\n  });\n\n  it('should create', () => {\n    expect(component).toBeTruthy();\n  });\n});\n"
  },
  {
    "path": "frontend/src/app/components/top-genres/top-genres.component.ts",
    "content": "import { Component, OnInit, ElementRef, AfterViewInit, Input } from '@angular/core';\nimport { IntersectionObserverService } from 'src/app/services/intersectionObserver';\nimport { Subscription } from 'rxjs';\nimport { InfoService } from 'src/app/services/infoService';\nimport { ObscurityFuncs } from 'src/app/utilities/obscurityFuncs';\n\n@Component({\n  selector: 'app-top-genres',\n  templateUrl: './top-genres.component.html',\n  styleUrls: ['./top-genres.component.scss'],\n  providers: [IntersectionObserverService]\n\n})\nexport class TopGenresComponent implements OnInit, AfterViewInit {\n\n  @Input() data: any;\n\n  constructor(\n    public element: ElementRef,\n    public intersectionObserverService: IntersectionObserverService,\n    public infoSvc: InfoService,\n    private obscurifyFunc: ObscurityFuncs\n    ) { }\n  public items = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];\n  public show = false;\n\n  public topGenres = [];\n  private intersectionObserverSubs: Subscription;\n\n  ngOnInit() {\n    const genres: any = {};\n    const topGenres: any = [];\n\n    // tslint:disable-next-line: prefer-for-of\n    for (let i = 0; i < this.data.allTimeArtists.length; i++) {\n      // tslint:disable-next-line: prefer-for-of\n      for (let y = 0; y < this.data.allTimeArtists[i].genres.length; y++) {\n        if (genres[this.data.allTimeArtists[i].genres[y]] != null) {\n        genres[this.data.allTimeArtists[i].genres[y]] = genres[this.data.allTimeArtists[i].genres[y]] + 1;\n      } else {\n        genres[this.data.allTimeArtists[i].genres[y]] = 1;\n        }\n      }\n\n    }\n    for (const g in genres) {\n      if (genres.hasOwnProperty(g) && genres[g] > 4) {\n        topGenres.push([g, genres[g]]);\n      }\n    }\n    topGenres.sort(this.obscurifyFunc.comparator);\n    this.topGenres = [...topGenres.slice(0, 10)];\n  }\n\n\n  ngAfterViewInit(): void {\n    this.intersectionObserverService.init(this.element.nativeElement, {\n      threshold: [0.20]\n    });\n    this.intersectionObserverSubs = this.intersectionObserverService\n    .getSubject()\n    .subscribe(el => {\n\n      if (el.isIntersecting) {\n        this.show = true;\n      }\n    });\n  }\n\n}\n"
  },
  {
    "path": "frontend/src/app/scss/_mixins.scss",
    "content": "$tablet-width: 768px;\n$desktop-width: 1024px;\n\n@mixin tablet {\n  @media (min-width: #{$tablet-width}) and (max-width: #{$desktop-width - 1px}) {\n    @content;\n  }\n}\n\n@mixin desktop {\n  @media (min-width: #{$desktop-width}) {\n    @content;\n  }\n}\n\n@mixin lt-md {\n  @media screen and (max-width: 959px) {\n    @content\n  }\n}\n\n@mixin gt-md {\n  @media screen and (min-width: 960px) {\n    @content\n  }\n}\n\n@mixin gt-xs {\n  @media screen and (min-width: 600px) {\n    @content\n  }\n}"
  },
  {
    "path": "frontend/src/app/scss/_variables.scss",
    "content": "\n$primary-font: 'Helvetica Neue', sans-serif;\n$secondary-font: -apple-system, BlinkMacSystemFont, 'Segoe UI';\n\n// Colors\n\n$primary-color: #A9E5AC;\n\n\n$box-shadow: 4px 5px 4px rgba(0,0,0,0.5);\n"
  },
  {
    "path": "frontend/src/app/scss/components/_header.scss",
    "content": ".header {\n\n    &__title {\n        font-size: 3em;\n        border-bottom: 8px black solid;\n        width: fit-content;\n        padding-bottom: .2em;\n        margin: 0;\n    }\n}"
  },
  {
    "path": "frontend/src/app/scss/components/_slate.scss",
    "content": ""
  },
  {
    "path": "frontend/src/app/services/browserCheck.ts",
    "content": "import { Injectable } from '@angular/core';\nimport { Platform } from '@angular/cdk/platform';\n\n@Injectable()\nexport class BrowserCheck {\n\n    public isDevice;\n\n    constructor(public platform: Platform) {\n      if (this.platform.isBrowser) {\n        if (window.screen.width < 1021) {\n          this.isDevice = true;\n        } else {\n            this.isDevice = false;\n        }\n      }\n    }\n\n    checkIfBrowser() {\n        return this.platform.isBrowser;\n    }\n}\n\nexport default BrowserCheck;\n\n"
  },
  {
    "path": "frontend/src/app/services/infoService.ts",
    "content": "import { Injectable } from '@angular/core';\nimport { Observable, of } from 'rxjs';\n\n\nimport { tap, catchError, map } from 'rxjs/operators';\nimport { HttpClient } from '@angular/common/http';\n\n@Injectable()\nexport class InfoService {\n\n  private apiUserUrl = 'https://api.spotify.com/v1/me';\n  private apiAllTimeArtists = 'https://api.spotify.com/v1/me/top/artists?limit=50&time_range=long_term';\n  private apiCurrentArtists = 'https://api.spotify.com/v1/me/top/artists?limit=50&time_range=short_term';\n  private apiAllTimeTracks = 'https://api.spotify.com/v1/me/top/tracks?limit=50&time_range=long_term';\n  private apiCurrentTracks = 'https://api.spotify.com/v1/me/top/tracks?limit=50&time_range=short_term';\n\n\n  constructor(\n    private http: HttpClient) {\n  }\n\n  public fetchUserInfo(): Observable<{}> {\n    return this.http.get(this.apiUserUrl).pipe(\n      (user) => {\n        return user;\n      },\n      catchError(this.handleError('getSelf'))\n    );\n  }\n\n  public fetchAllTimeTracks(): Observable<{}> {\n    return this.http.get(this.apiAllTimeTracks).pipe(\n      map((tracks: {items: [{id: string, popularity: number}]}) => {\n\n        const allTimeTrackIDs = [];\n\n        for (const track of tracks.items) {\n          allTimeTrackIDs.push(track.id);\n        }\n\n        return {\n          allTimeTracks: tracks.items,\n          allTimeTrackIDs: [...allTimeTrackIDs]\n        };\n      }),\n      catchError(this.handleError('getSelfAlbums'))\n    );\n  }\n\n  public fetchCurrentTracks(): Observable<{}> {\n    return this.http.get(this.apiCurrentTracks).pipe(\n      map((tracks: {items: [{id: string, popularity: number}]}) => {\n        const currentTrackIDs = [];\n\n        for (const track of tracks.items) {\n          currentTrackIDs.push(track.id);\n        }\n\n        return {\n          currentTracks: tracks.items,\n          currentTrackIDs: [...currentTrackIDs]\n        };\n      }),\n      catchError(this.handleError('getSelfAlbums'))\n    );\n  }\n\n  public fetchAllTimeArtists(): Observable<{}> {\n    return this.http.get(this.apiAllTimeArtists).pipe(\n      map((artists: {items: [{id: string, popularity: number, genres: []}]}) => {\n        let allTimeObscurifyScore = 0;\n        // const genres: any = {};\n        // const topGenres: any = [];\n        const allTimeArtistIDs = [];\n\n        // Loop Through All Time Artists\n        // Get Obscure Score and Top Genres\n        for (let i = 0; i < artists.items.length; i++) {\n\n          allTimeObscurifyScore = allTimeObscurifyScore + (50 / artists.items.length) *\n            Math.floor(artists.items[i].popularity * (1 - i / artists.items.length));\n\n          allTimeArtistIDs.push(artists.items[i].id);\n        }\n\n\n\n        allTimeObscurifyScore =  Math.floor(allTimeObscurifyScore / 10);\n\n        return {\n          allTimeArtists: artists.items,\n          allTimeObscurifyScore: (allTimeObscurifyScore),\n          allTimeArtistIDs: (allTimeArtistIDs)\n        };\n      }),\n      catchError(this.handleError('getSelfAlbums'))\n    );\n  }\n\n  public fetchCurrentArtists(): Observable<{}> {\n    return this.http.get(this.apiCurrentArtists).pipe(\n      map((artists: {items: [{id: string, popularity: any}]}) => {\n        let recentObscurifyScore = 0;\n        const currentArtistsIDs = [];\n\n        for (let i = 0; i < artists.items.length; i++) {\n\n          currentArtistsIDs.push(artists.items[i].id);\n\n          recentObscurifyScore = recentObscurifyScore + (50 / artists.items.length) *\n            Math.floor(artists.items[i].popularity * (1 - i / artists.items.length));\n        }\n\n        recentObscurifyScore = Math.floor(recentObscurifyScore / 10);\n\n        return {\n          currentArtistIDs: [...currentArtistsIDs],\n          currentArtists: artists.items,\n          recentObscurifyScore: (recentObscurifyScore)\n        };\n\n      }),\n      catchError(this.handleError('getSelfAlbums'))\n    );\n  }\n\n  private handleError<T>(operation = 'operation', result?: T) {\n    return (error: any): Observable<T> => {\n      (result as any) = error;\n      return of(result as T);\n    };\n  }\n}\n"
  },
  {
    "path": "frontend/src/app/services/intersectionObserver.ts",
    "content": "import { Subject } from 'rxjs';\nimport { Injectable } from '@angular/core';\nimport { Platform } from '@angular/cdk/platform';\n\n@Injectable()\nexport class IntersectionObserverService {\n\n    constructor(public platform: Platform) {}\n\n    private intersectionObserverSubject = new Subject<any>();\n\n    getSubject(): Subject<any> {\n        return this.intersectionObserverSubject;\n    }\n    init(el: HTMLElement, options: object): void {\n        if (this.platform.isBrowser) {\n          // Check if platform is running on client not server to call Browser API\n          const OBS = new IntersectionObserver(entries => {\n            this.intersectionObserverSubject.next(entries[0]);\n          }, options);\n\n          OBS.observe(el);\n        }\n\n    }\n\n}\n\n\nexport default IntersectionObserverService;\n\n\n"
  },
  {
    "path": "frontend/src/app/services/obscurifyService.ts",
    "content": "import { HttpClient, HttpHeaders } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { Observable, BehaviorSubject, of } from 'rxjs';\nimport { tap, catchError } from 'rxjs/operators';\nimport { environment } from '../../environments/environment';\n\n@Injectable()\nexport class ObscurifyService {\n    constructor(public http: HttpClient) {\n        this.obscurifyData$ = new BehaviorSubject<{}>(this.obscurifyData);\n    }\n\n    private obscurifyData = {};\n    private obscurifyData$: BehaviorSubject<{}>;\n\n    public obscurifyUrl = environment.obscurifyApiUrl;\n\n    getObscurifyData(countryID, obscurifyScore, recentObscurifyScore): Observable<{}> {\n        return this.http.get(this.obscurifyUrl +\n            `/getObscurifyData?code=${countryID}&obscurifyScore=${obscurifyScore}&recentObscurifyScore=${recentObscurifyScore}`)\n            .pipe(\n            tap((data: any) => {\n              data.averageScore = Math.round(data.averageScore);\n              data.globalAverageScore = Math.round(data.globalAverageScore);\n              this.obscurifyData = {...data};\n              this.obscurifyData$.next(this.obscurifyData);\n            }),\n            catchError(this.handleError('Error')\n            )\n          );\n    }\n\n    getUserHistory(config): Observable<{}> {\n      return this.http.get(this.obscurifyUrl + `/getUserHistory?userID=${config.userID}&hex=${config.hex}`);\n    }\n\n    saveUserHistory(config): Observable<{}> {\n      return this.http.post(this.obscurifyUrl + '/saveUserHistory', config);\n    }\n\n    private handleError<T>(operation = 'operation', result?: T) {\n        return (error: any): Observable<T> => {\n          (result as any) = error;\n          return of(result as T);\n        };\n      }\n\n}\n\nexport default ObscurifyService;\n"
  },
  {
    "path": "frontend/src/app/services/spotifyAuth/index.ts",
    "content": "export { AuthConfig } from './shared/spotify-auth-config.i';\nexport { ScopesBuilder } from './shared/scopes-builder';\nexport { SpotifyAuthResponse } from './shared/spotify-auth-response.i';\nexport { TokenService } from './service/token.service';\nexport { AuthService } from './service/auth.service';\nexport { AuthGuard } from './service/auth.guard';\nexport { SpotifyAuthInterceptor } from './service/spotify-auth.interceptor';\n\n"
  },
  {
    "path": "frontend/src/app/services/spotifyAuth/service/auth.guard.ts",
    "content": "import { Injectable } from '@angular/core';\nimport { CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, CanActivateChild } from '@angular/router';\n\nimport { AuthService } from './auth.service';\nimport { TokenService } from './token.service';\nimport { SpotifyAuthResponse } from '../shared/spotify-auth-response.i';\n\n@Injectable()\nexport class AuthGuard implements CanActivate, CanActivateChild {\n\n  constructor(private authService: AuthService, private tokenSvc: TokenService) { }\n\n  public canActivate(\n    next: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean {\n    return this.canActivateChild(next, state);\n  }\n\n  public canActivateChild(next: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean {\n    const response = next.queryParams;\n    if (response.spotifyToken && response.obscurifyToken) {\n      this.tokenSvc.setAuthToken(response);\n    }\n    return !!response;\n  }\n}\n"
  },
  {
    "path": "frontend/src/app/services/spotifyAuth/service/auth.service.ts",
    "content": "import { Injectable, PLATFORM_ID, Inject } from '@angular/core';\n\nimport { AuthConfig } from '../shared/spotify-auth-config.i';\nimport { BehaviorSubject } from 'rxjs';\nimport { Observable } from 'rxjs';\nimport { environment } from '../../../../environments/environment';\nimport { isPlatformBrowser } from '@angular/common';\n\n\n@Injectable()\nexport class AuthService {\n\n  constructor(@Inject(PLATFORM_ID) private platformId) {\n    this.isBrowser = isPlatformBrowser(platformId);\n  }\n  private isBrowser: boolean;\n  private requestAuthUrl = 'https://accounts.spotify.com/authorize';\n  private authorized$: BehaviorSubject<boolean> = new BehaviorSubject(false);\n  private state = this.generateRandomString();\n\n  private authConfig: AuthConfig = {\n    client_id: environment.client_id,  // WebPortal App Id. Shoud be config\n    response_type: 'code',\n    redirect_uri: environment.redirect_uri, // My URL\n    state: this.state,\n    show_dialog: false,\n    scope: 'user-read-private user-top-read playlist-modify-public playlist-modify-private'\n\n  };\n\n  private generateRandomString() {\n    let text = '';\n    const possible = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';\n    for (let i = 0; i < 16; i++) {\n      text += possible.charAt(Math.floor(Math.random() * possible.length));\n    }\n    return text;\n  };\n\n  public authorize() {\n    if (this.isBrowser) {\n      window.location.href = this.buildAuthUrl();\n    }\n  }\n\n  // Signal someone, that router can navigate somewhere\n  public authorized(): void {\n    this.authorized$.next(true);\n  }\n\n  public get authorizedStream(): Observable<boolean> {\n    return this.authorized$.asObservable();\n  }\n\n  public configure(config: AuthConfig): AuthService {\n    // Validate Config\n    this.authConfig = config;\n    return this;\n  }\n\n  private buildAuthUrl(): string {\n\n    const params = [];\n    for (const [key, value] of Object.entries(this.authConfig)) {\n      if (typeof (value) === 'object') {\n        params.push(`${key}=${(value as string[]).join(' ')}`);\n      } else {\n        params.push(`${key}=${value}`);\n      }\n    }\n\n    return `${this.requestAuthUrl}?${params.join('&')}`;\n  }\n}\n"
  },
  {
    "path": "frontend/src/app/services/spotifyAuth/service/spotify-auth.interceptor.ts",
    "content": "import { Injectable } from '@angular/core';\nimport { HttpEvent, HttpInterceptor, HttpHandler, HttpRequest, HttpErrorResponse } from '@angular/common/http';\nimport { Observable } from 'rxjs';\nimport { TokenService } from './token.service';\nimport { tap } from 'rxjs/operators';\n\n@Injectable()\nexport abstract class SpotifyAuthInterceptor implements HttpInterceptor {\n  constructor(private tokenSvc: TokenService) {}\n\n  abstract doOnError(err: any): void;\n\n  public intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>> {\n\n    const authReq = req.clone({ setHeaders: this.tokenSvc.authHeader });\n    return next.handle(authReq).pipe(tap(\n        (event: HttpEvent<any>) => {},\n        this.doOnError\n      )\n    );\n  }\n}\n"
  },
  {
    "path": "frontend/src/app/services/spotifyAuth/service/token.service.ts",
    "content": "import { Injectable } from '@angular/core';\nimport { Observable } from 'rxjs';\nimport { BehaviorSubject } from 'rxjs';\n\n@Injectable()\nexport class TokenService {\n\n  constructor() {}\n\n  private token = {\n    spotifyToken: '',\n    obscurifyToken: ''\n  };\n\n  private token$ = new BehaviorSubject(this.token);\n\n  public get oAuthToken(): any {\n    return this.token;\n  }\n\n  public clearToken(): void {\n    this.token = {\n      spotifyToken: '',\n      obscurifyToken: ''\n    };\n    this.token$.next(this.token);\n  }\n\n  public get authHeader(): {[name: string]: string} {\n    return this.token.spotifyToken ? { Authorization: `Bearer ${this.token.spotifyToken}` } : {};\n  }\n\n  public get authTokens(): Observable<any> {\n    return this.token$.asObservable();\n  }\n\n  public setAuthToken(spotifyResponse: any): boolean {\n    if (!!spotifyResponse && !!spotifyResponse.spotifyToken && !!spotifyResponse.obscurifyToken) {\n      const now = new Date();\n      this.token.spotifyToken = spotifyResponse.spotifyToken;\n      this.token.obscurifyToken = spotifyResponse.obscurifyToken;\n    } else {\n      this.token = {\n        spotifyToken: '',\n        obscurifyToken: ''\n      };\n    }\n    this.token$.next(this.token);\n    return !!this.token;\n  }\n\n}\n"
  },
  {
    "path": "frontend/src/app/services/spotifyAuth/shared/index.ts",
    "content": "export { SpotifyScope } from './spotify-scope';\nexport { AuthConfig } from './spotify-auth-config.i';\nexport { SpotifyAuthResponse } from './spotify-auth-response.i';\nexport { ScopesBuilder } from './scopes-builder';\n"
  },
  {
    "path": "frontend/src/app/services/spotifyAuth/shared/scopes-builder.ts",
    "content": "import { SpotifyScope } from './spotify-scope';\n\nexport class ScopesBuilder {\n\n  public static USERS: {[name: string]: SpotifyScope} = {\n    READ_PRIVATE: 'user-read-private',\n    READ_EMAIL: 'user-read-email',\n    READ_BIRTHDATE: 'user-read-birthdate'\n  };\n\n  public static PLAYLISTS: {[name: string]: SpotifyScope} = {\n    READ_PRIVATE: 'playlist-read-private',\n    MODIFY_PRIVATE: 'playlist-modify-private',\n    MODIFY_PPUBLIC: 'playlist-modify-public',\n    READ_COLLABORATIVE: 'playlist-read-collaborative'\n  };\n\n  public static HISTORY: {[name: string]: SpotifyScope} = {\n    TOP_READ: 'user-top-read',\n    READ_RECENTLY_PLAYED: 'user-read-recently-played'\n  };\n\n  public static LIBRARY: {[name: string]: SpotifyScope} = {\n    READ: 'user-library-read',\n    MODIFY: 'user-library-modify'    \n  };\n\n  public static CONNECT: {[name: string]: SpotifyScope} = {\n    READ_CURRENTLY_PLAYING: 'user-read-currently-playing',\n    MODIFY_PLAYBACK_STATE: 'user-modify-playback-state',\n    READ_PLAYBACK_STATE: 'user-read-playback-state'\n  };\n\n  public static FOLLOW: {[name: string]: SpotifyScope} = {\n    READ: 'user-follow-read',\n    MODIFY: 'user-follow-modify'\n  };\n\n  public static PLAYBACK: {[name: string]: SpotifyScope} = {\n    STREAMING: 'streaming'\n  };\n\n  private scopes: ({[name: string]: SpotifyScope} | SpotifyScope)[] = [\n    ScopesBuilder.USERS,\n    ScopesBuilder.PLAYLISTS,\n    ScopesBuilder.HISTORY,\n    ScopesBuilder.LIBRARY,\n    ScopesBuilder.CONNECT,\n    ScopesBuilder.FOLLOW,\n    ScopesBuilder.PLAYBACK\n  ];\n\n  /**\n   *\n   * @param args [] means no particular scopes or public only\n   */\n  public withScopes(...args: ({[name: string]: SpotifyScope} | SpotifyScope)[]): ScopesBuilder {\n    this.scopes = args;\n    return this;\n  }\n\n  public build(): string {\n\n    const buffer: string[] = [];\n\n    this.scopes.forEach(scope => {\n\n      if (typeof(scope) === 'string') {\n        buffer.push(scope);\n      } else {\n        Object.keys(scope).forEach((property) => buffer.push(scope[property]));\n      }\n    });\n\n    return buffer.join(' ');\n  }\n}\n"
  },
  {
    "path": "frontend/src/app/services/spotifyAuth/shared/spotify-auth-config.i.ts",
    "content": "import { SpotifyScope } from './spotify-scope';\n\nexport interface AuthConfig {\n    client_id: string;\n    response_type: 'token' | string;\n    redirect_uri: string;\n    state: string;\n    show_dialog: boolean;\n    scope: SpotifyScope[] | string;\n}"
  },
  {
    "path": "frontend/src/app/services/spotifyAuth/shared/spotify-auth-response.i.ts",
    "content": "export interface SpotifyAuthResponse {\n    access_token: string;\n    expires_in: number;\n    state: string;\n    token_type: string;\n}\n"
  },
  {
    "path": "frontend/src/app/services/spotifyAuth/shared/spotify-scope.ts",
    "content": "export type SpotifyScope =\n'user-read-email' |\n'user-read-birthdate' |\n'user-read-private' |\n'user-library-read' |\n'playlist-read-private' |\n'playlist-modify-private' |\n'playlist-modify-public' |\n'playlist-read-collaborative' |\n'user-top-read' |\n'user-read-recently-played' |\n'user-library-read' |\n'user-library-modify' |\n'user-read-currently-playing' |\n'user-modify-playback-state' |\n'user-read-playback-state' |\n'user-follow-read' |\n'user-follow-modify' |\n'streaming';\n"
  },
  {
    "path": "frontend/src/app/services/spotifyService.ts",
    "content": "import { HttpClient, HttpHeaders } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { Platform } from '@angular/cdk/platform';\nimport { forkJoin } from 'rxjs';\n\n\n@Injectable()\nexport class SpotifyService {\n\n  userData: any;\n\n  constructor(\n      public http: HttpClient,\n      public platform: Platform) {\n  }\n\n    getArtists(config) {\n      const url = `https://api.spotify.com/v1/artists?ids=${config.artistIDs.join()}`;\n\n      return new Promise((resolve, reject) => {\n        this.http.get(url).subscribe((data: any) => {\n          resolve(data);\n        }, err => {\n          reject(err);\n        });\n      });\n    }\n\n    getTracks(config) {\n      const url = `https://api.spotify.com/v1/tracks?ids=${config.trackIDs.join()}`;\n\n      return new Promise((resolve, reject) => {\n        this.http.get(url).subscribe((data: any) => {\n          resolve(data);\n        }, err => {\n          reject(err);\n        });\n      });\n    }\n\n    getAudioFeatures(config) {\n      if (config.allTimeTrackIDs && config.currentTrackIDs) {\n        const longTermUrl = `https://api.spotify.com/v1/audio-features?ids=${config.allTimeTrackIDs.join()}`;\n        const currentUrl = `https://api.spotify.com/v1/audio-features?ids=${config.currentTrackIDs.join()}`;\n\n        const longTermRequest = this.http.get(longTermUrl);\n        const currentRequest = this.http.get(currentUrl);\n\n        return forkJoin([longTermRequest, currentRequest]);\n      }\n    }\n\n    getRecommendations(config) {\n      let url;\n      if (config.allTimeArtistIDs.length > 0 &&\n        config.allTimeTrackIDs.length > 0 &&\n        config.currentArtistIDs.length > 0 &&\n        config.currentTrackIDs.length > 0) {\n          url = 'https://api.spotify.com/v1/recommendations?seed_artists=' +\n          config.allTimeArtistIDs[Math.floor(Math.random() * config.allTimeArtistIDs.length)] + ',' +\n          config.currentArtistIDs[Math.floor(Math.random() * config.currentArtistIDs.length)] + '&seed_tracks='\n          + config.allTimeTrackIDs[Math.floor(Math.random() * config.allTimeTrackIDs.length)] + ','\n              + config.currentTrackIDs[Math.floor(Math.random() * config.currentTrackIDs.length)]\n                  + '&market=' + config.country + '&max_popularity=55' + '&min_popularity=15' + '&limit=15';\n      } else if (config.allTimeArtistIDs.length > 0 &&\n        config.allTimeTrackIDs.length > 0 &&\n        config.currentArtistIDs.length <= 0 &&\n        config.currentTrackIDs.length <= 0) {\n          url = 'https://api.spotify.com/v1/recommendations?seed_artists=' +\n          config.allTimeArtistIDs[Math.floor(Math.random() * config.allTimeArtistIDs.length)] + '&seed_tracks='\n          + config.allTimeTrackIDs[Math.floor(Math.random() * config.allTimeTrackIDs.length)]\n                  + '&market=' + config.country + '&max_popularity=55' + '&min_popularity=15' + '&limit=15';\n\n      } else {\n        url = 'https://api.spotify.com/v1/recommendations?seed_artists=' +\n        config.currentArtistIDs[Math.floor(Math.random() * config.currentArtistIDs.length)] + '&seed_tracks='\n            + config.currentTrackIDs[Math.floor(Math.random() * config.currentTrackIDs.length)]\n                + '&market=' + config.country + '&max_popularity=55' + '&min_popularity=15' + '&limit=15';\n      }\n\n      return new Promise((resolve, reject) => {\n        this.http.get(url).subscribe((data: any) => {\n          resolve(data);\n        }, err => {\n          reject(err);\n        });\n      });\n    }\n\n    makePlaylist(config) {\n      const {userID, token, playlistName, tracks} = config;\n      const url =  'https://api.spotify.com/v1/users/' + userID + '/playlists';\n      const headers = new HttpHeaders()\n            .set('Authorization',  'Bearer ' + token)\n            .set('Accept', 'application/json');\n\n      const that = this;\n      return new Promise((resolve, reject) => {\n        this.http.post(url, { name: playlistName }, { headers: (headers) }).subscribe((data: any) => {\n          resolve(data);\n          const uriArray = [];\n          const playlistID = data.id;\n\n          for (const track of tracks) {\n            uriArray.push(track.uri);\n          }\n          that.fillPlaylistWithTracks(config, uriArray, playlistID);\n        }, (err) => {\n          reject(err);\n        });\n      });\n    }\n\n\n    fillPlaylistWithTracks(config, uriArray: any[], playlistID: string) {\n      const url =  'https://api.spotify.com/v1/users/' + config.userID + '/playlists/' + playlistID + '/tracks';\n      const headers = new HttpHeaders()\n            .set('Authorization',  'Bearer ' )\n            .set('Accept', 'application/json');\n      return new Promise((resolve, reject) => {\n        this.http.post(url, { uris: uriArray }, { headers: (headers) }).subscribe((data: any) => {\n          resolve(data);\n\n        }, (err) => {\n          reject(err);\n        });\n      });\n    }\n\n\n\n}\n"
  },
  {
    "path": "frontend/src/app/utilities/obscurityFuncs.ts",
    "content": "import { Injectable } from '@angular/core';\n\n@Injectable()\nexport class ObscurityFuncs {\n    findRandomGenres(artist) {\n        if (artist.genres.length > 1) {\n            const random1 = Math.floor(Math.random() * artist.genres.length);\n            let random2 = Math.floor(Math.random() * artist.genres.length);\n            while (random1 === random2) {\n                random2 = Math.floor(Math.random() * artist.genres.length);\n            }\n            const returnData = { randomGenre1 : artist.genres[random1], randomGenre2 : artist.genres[random2] };\n            // check to see if these genres contain the word \"christmas\", if so remove it\n            if (returnData.randomGenre1.indexOf('christmas') > -1) {\n                returnData.randomGenre1 = returnData.randomGenre1.replace('christmas','');\n            }\n            if (returnData.randomGenre2.indexOf('christmas') > -1) {\n                returnData.randomGenre2 = returnData.randomGenre2.replace('christmas','');\n            }\n            return returnData;\n        } else if (artist.genres.length == 1) {\n            return { randomGenre1 : artist.genres[0], randomGenre2 : null };\n        } else {\n            return { randomGenre1 : null, randomGenre2 : null };\n        }\n  }\n\n  findStarRating(popularity) {\n\n    switch (true) {\n        case (popularity >= 90):\n            return '★★★★★';\n        case (popularity >= 80):\n            return '★★★★';\n        case (popularity >= 65):\n            return '★★★';\n        case (popularity >= 50):\n            return '★★';\n        case (popularity >= 35):\n            return '★';\n        default:\n            return '';\n      }\n  }\n\n  comparator(a, b) {\n    if (a[1] > b[1]) { return -1; }\n    if (a[1] < b[1]) { return 1; }\n    return 0;\n    }\n}\n\nexport default ObscurityFuncs;\n"
  },
  {
    "path": "frontend/src/assets/.gitkeep",
    "content": ""
  },
  {
    "path": "frontend/src/environments/environment.dev.ts",
    "content": "export const environment = {\n  production: true,\n  redirect_uri: 'https://ktp0b5os1g.execute-api.us-east-2.amazonaws.com/dev/callbackDev',\n  obscurifyApiUrl: 'https://ktp0b5os1g.execute-api.us-east-2.amazonaws.com/dev',\n  client_id: '31e362f6085c4309a2e1a6d2c0f8d8ec',\n  baseHref: ''\n\n};\n"
  },
  {
    "path": "frontend/src/environments/environment.prod.ts",
    "content": "export const environment = {\n  production: true,\n  redirect_uri: 'https://ktp0b5os1g.execute-api.us-east-2.amazonaws.com/dev/callback',\n  obscurifyApiUrl: 'https://ktp0b5os1g.execute-api.us-east-2.amazonaws.com/dev',\n  client_id: '31e362f6085c4309a2e1a6d2c0f8d8ec',\n  baseHref: '/'\n\n};\n"
  },
  {
    "path": "frontend/src/environments/environment.ts",
    "content": "// This file can be replaced during build by using the `fileReplacements` array.\n// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.\n// The list of file replacements can be found in `angular.json`.\n\nexport const environment = {\n  production: false,\n  redirect_uri: 'https://ktp0b5os1g.execute-api.us-east-2.amazonaws.com/dev/callbackLocal',\n  obscurifyApiUrl: 'https://ktp0b5os1g.execute-api.us-east-2.amazonaws.com/dev',\n  client_id: '31e362f6085c4309a2e1a6d2c0f8d8ec',\n  baseHref: '/'\n};\n\n/*\n * For easier debugging in development mode, you can import the following file\n * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.\n *\n * This import should be commented out in production mode because it will have a negative impact\n * on performance if an error is thrown.\n */\n// import 'zone.js/dist/zone-error';  // Included with Angular CLI.\n"
  },
  {
    "path": "frontend/src/index.html",
    "content": "<!doctype html>\n<html lang=\"en\" dir=\"ltr\">\n<head>\n  <!-- Global site tag (gtag.js) - Google Analytics -->\n  <script async src=\"https://www.googletagmanager.com/gtag/js?id=UA-97508444-1\"></script>\n  <script>\n    window.dataLayer = window.dataLayer || [];\n    function gtag(){dataLayer.push(arguments);}\n    gtag('js', new Date());\n    gtag('config', 'UA-97508444-1');\n  </script>\n  <meta charset=\"utf-8\">\n  <title>Obscurify</title>\n  <base href=\"/\">\n  <meta name=\"viewport\" content=\"viewport-fit=cover, width=device-width, initial-scale=1.0\">\n  <meta name=\"apple-mobile-web-app-capable\" content=\"yes\">\n  <meta name=\"apple-mobile-web-app-status-bar-style\" content=\"black\">\n  <meta name=\"theme-color\" content=\"#65d26e\">\n  <meta name=\"msapplication-TileColor\" content=\"#00a300\">\n  <link rel=\"icon\" type=\"image/x-icon\" href=\"favicon.ico\">\n  <script src=\"https://kit.fontawesome.com/432e11ca7a.js\" crossorigin=\"anonymous\"></script>\n\n  <link href=\"https://fonts.googleapis.com/icon?family=Material+Icons\" rel=\"stylesheet\">\n  <link rel=\"manifest\" href=\"manifest.webmanifest\">\n\n  <meta name=\"theme-color\" content=\"#65d26e\">\n  <script type=\"text/javascript\">\n    (function(){\n      var bsa_optimize=document.createElement('script');\n      bsa_optimize.type='text/javascript';\n      bsa_optimize.async=true;\n      bsa_optimize.src='https://cdn4.buysellads.net/pub/obscurifymusic.js?'+(new Date()-new Date()%600000);\n      (document.getElementsByTagName('head')[0]||document.getElementsByTagName('body')[0]).appendChild(bsa_optimize);\n    })();\n  </script>\n</head>\n<body>\n  <app-root></app-root>\n  <noscript>Please enable JavaScript to continue using this application.</noscript>\n</body>\n</html>\n"
  },
  {
    "path": "frontend/src/main.ts",
    "content": "\nimport { enableProdMode } from '@angular/core';\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n\nimport { AppModule } from './app/app.module';\nimport { environment } from './environments/environment';\n\nif (environment.production) {\n  enableProdMode();\n}\n\ndocument.addEventListener('DOMContentLoaded', () => {\n  platformBrowserDynamic().bootstrapModule(AppModule)\n  .catch(err => console.error(err));\n});\n"
  },
  {
    "path": "frontend/src/manifest.webmanifest",
    "content": "{\n  \"name\": \"Obscurify Music\",\n  \"short_name\": \"Obscurify\",\n  \"start_url\": \"https://obscurifymusic.com/\",\n  \"display\": \"standalone\",\n  \"scope\": \"/#/\",\n  \"icons\": [\n    {\n      \"src\": \"assets/icons/icon-72x72.png\",\n      \"sizes\": \"72x72\",\n      \"type\": \"image/png\",\n      \"purpose\": \"maskable any\"\n    },\n    {\n      \"src\": \"assets/icons/icon-144x144.png\",\n      \"sizes\": \"144x144\",\n      \"type\": \"image/png\",\n      \"purpose\": \"maskable any\"\n    },\n    {\n      \"src\": \"assets/icons/icon-152x152.png\",\n      \"sizes\": \"152x152\",\n      \"type\": \"image/png\",\n      \"purpose\": \"maskable any\"\n    },\n    {\n      \"src\": \"assets/icons/icon-192x192.png\",\n      \"sizes\": \"192x192\",\n      \"type\": \"image/png\",\n      \"purpose\": \"maskable any\"\n    },\n    {\n      \"src\": \"assets/icons/icon-384x384.png\",\n      \"sizes\": \"384x384\",\n      \"type\": \"image/png\",\n      \"purpose\": \"maskable any\"\n    },\n    {\n      \"src\": \"assets/icons/icon-512x512.png\",\n      \"sizes\": \"512x512\",\n      \"type\": \"image/png\",\n      \"purpose\": \"maskable any\"\n    }\n  ],\n  \"background_color\": \"#65d26e\",\n  \"theme_color\": \"#65d26e\"\n}\n"
  },
  {
    "path": "frontend/src/polyfills.ts",
    "content": "/**\n * This file includes polyfills needed by Angular and is loaded before the app.\n * You can add your own extra polyfills to this file.\n *\n * This file is divided into 2 sections:\n *   1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.\n *   2. Application imports. Files imported after ZoneJS that should be loaded before your main\n *      file.\n *\n * The current setup is for so-called \"evergreen\" browsers; the last versions of browsers that\n * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),\n * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.\n *\n * Learn more in https://angular.io/guide/browser-support\n */\n\n/***************************************************************************************************\n * BROWSER POLYFILLS\n */\n\n/** IE10 and IE11 requires the following for NgClass support on SVG elements */\n// import 'classlist.js';  // Run `npm install --save classlist.js`.\n\n/**\n * Web Animations `@angular/platform-browser/animations`\n * Only required if AnimationBuilder is used within the application and using IE/Edge or Safari.\n * Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0).\n */\n// import 'web-animations-js';  // Run `npm install --save web-animations-js`.\n\n/**\n * By default, zone.js will patch all possible macroTask and DomEvents\n * user can disable parts of macroTask/DomEvents patch by setting following flags\n * because those flags need to be set before `zone.js` being loaded, and webpack\n * will put import in the top of bundle, so user need to create a separate file\n * in this directory (for example: zone-flags.ts), and put the following flags\n * into that file, and then add the following code before importing zone.js.\n * import './zone-flags.ts';\n *\n * The flags allowed in zone-flags.ts are listed here.\n *\n * The following flags will work for all browsers.\n *\n * (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame\n * (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick\n * (window as any).__zone_symbol__UNPATCHED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames\n *\n *  in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js\n *  with the following flag, it will bypass `zone.js` patch for IE/Edge\n *\n *  (window as any).__Zone_enable_cross_context_check = true;\n *\n */\n\n/***************************************************************************************************\n * Zone JS is required by default for Angular itself.\n */\nimport 'zone.js/dist/zone';  // Included with Angular CLI.\nimport 'intersection-observer';\n\n/***************************************************************************************************\n * APPLICATION IMPORTS\n */\n"
  },
  {
    "path": "frontend/src/styles.scss",
    "content": "\n// Custom Theming for Angular Material\n// For more information: https://material.angular.io/guide/theming\n@import '~@angular/material/theming';\n@import './app/scss/mixins';\n@import 'variables';\n\n// Plus imports for other components in your app.\n\n// Include the common styles for Angular Material. We include this here so that you only\n// have to load a single css file for Angular Material in your app.\n// Be sure that you only ever include this mixin once!\n@include mat-core();\n\n// Define the palettes for your theme using the Material Design palettes available in palette.scss\n// (imported above). For each palette, you can optionally specify a default, lighter, and darker\n// hue. Available color palettes: https://material.io/design/color/\n$dark-primary-text: #020d10;\n$light-primary-text: #FFF;\n$mat-black: (\n  50: #efefef,\n  100: #d6d8d8,\n  200: #b7bfc1,\n  300: #97a6aa,\n  400: #7f9398,\n  500: #678087,\n  600: #5b7176,\n  700: #5b7176,\n  800: #4c5d61,\n  900: #2D3436,\n  contrast: (\n    50: $light-primary-text,\n    100: $light-primary-text,\n    200: $light-primary-text,\n    300: $light-primary-text,\n    400: $light-primary-text,\n    500: $light-primary-text,\n    600: $light-primary-text,\n    700: $light-primary-text,\n    800: $light-primary-text,\n    900: $light-primary-text,\n  )\n);\n\n$mat-white: (\n  50: #efefef,\n  100: #fff,\n  200: #fff,\n  300: #fff,\n  400: #fff,\n  500: #fff,\n  600: #fff,\n  700: #fff,\n  800: #fff,\n  900: #fff,\n  contrast: (\n    50: $light-primary-text,\n    100: $light-primary-text,\n    200: $light-primary-text,\n    300: $light-primary-text,\n    400: $light-primary-text,\n    500: $light-primary-text,\n    600: $light-primary-text,\n    700: $light-primary-text,\n    800: $light-primary-text,\n    900: $light-primary-text,\n  )\n);\n\n$mat-green: (\n  50: #e9f9ea,\n  100: #cbefcc,\n  200: #a9e5ac,\n  300: #86db8b,\n  400: #6dd173,\n  500: #55c85a,\n  600: #4bb850,\n  700: #3fa545,\n  800:#35933a,\n  900: #217328,\n  contrast: (\n    50: $dark-primary-text,\n    100: $dark-primary-text,\n    200: $dark-primary-text,\n    300: $dark-primary-text,\n    400: $dark-primary-text,\n    500: $dark-primary-text,\n    600: $dark-primary-text,\n    700: $dark-primary-text,\n    800: $dark-primary-text,\n    900: $dark-primary-text,\n    A100: $dark-primary-text,\n    A200: $dark-primary-text,\n    A400: $dark-primary-text,\n    A700: $dark-primary-text,\n  )\n);\n\n\n$obscurify3-primary: mat-palette($mat-black, 900, 700, 500);\n$obscurify3-accent: mat-palette($mat-green, 200, 500, 100);\n\n// The warn palette is optional (defaults to red).\n$obscurify3-warn: mat-palette($mat-red);\n\n// Create the theme object (a Sass map containing all of the palettes).\n$obscurify3-theme: mat-light-theme($obscurify3-primary, $obscurify3-accent, $obscurify3-warn);\n\n$dark-primary: mat-palette($mat-white);\n$dark-accent:  mat-palette($mat-white);\n$dark-warn:    mat-palette($mat-red);\n$dark-foreground: #fff;\n\n$dark-theme:   mat-dark-theme($dark-primary, $dark-accent, $dark-warn);\n\n// Define a custom typography config that overrides the font-family as well as the\n// `headlines` and `body-1` levels.\n$custom-typography: mat-typography-config(\n  $font-family: $primary-font,\n  $headline: mat-typography-level(32px, 48px, 700),\n  $body-1: mat-typography-level(16px, 24px, 700)\n);\n// Include theme styles for core and each component used in your app.\n// Alternatively, you can import and @include the theme mixins for each component\n// that you are using.\n@include mat-select-typography($custom-typography);\n\n@include angular-material-theme($obscurify3-theme);\n\n.dark-theme {\n  @include angular-material-theme($dark-theme)\n}\n\n\n\nhtml, body { height: 100%; width: 100%; scroll-behavior: smooth;}\nbody { margin: 0; font-family: $primary-font; font-size: 16px; font-weight: bold; -webkit-font-smoothing: antialiased}\n\nh1,h2,h3,h4,h5,p,li,ul {\n    margin: 0;\n    padding: 0;\n}\n\nbutton, a {\n    font-size: inherit;\n}\n\na {\n    font-weight: normal;\n    touch-action: manipulation;\n}\n\n$primary-font: 'Helvetica Neue', sans-serif;\n$secondary-font: -apple-system, BlinkMacSystemFont, 'Segoe UI';\n\n.obscurity__rating__select {\n  min-height: 500px;\n}\n\n.panel-success {\n    color: $primary-color;\n}\n\n.panel-error {\n    color: red;\n}\n\n.slate {\n  padding: 8rem 1em;\n}\n\n.sticky_sentinel {\n  position: absolute;\n  left: 0;\n  right: 0; /* needs dimensions */\n}\n.sticky_sentinel--top {\n  /* Adjust the height and top values based on your on your sticky top position.\n  e.g. make the height bigger and adjust the top so observeHeaders()'s\n  IntersectionObserver fires as soon as the bottom of the sentinel crosses the\n  top of the intersection container. */\n  height: 40px;\n  top: -24px;\n  z-index: -1;\n\n}\n.sticky_sentinel--bottom {\n  /* Height should match the top of the header when it's at the bottom of the\n  intersection container. */\n  height: 40px;\n  bottom: 0;\n  z-index: -1;\n}\n\n.bottom-sheet__artist__nav {\n  padding: 2em 1em !important;\n  font-family: \"Helvetica Neue\", sans-serif;\n  font-size: 1em;\n}\n\nhtml, body { height: 100%; }\nbody { margin: 0; font-family: \"Helvetica Neue\", sans-serif; }\n\nbutton {\n  font-family:  \"Helvetica Neue\", sans-serif;\n  cursor: pointer;\n}\n"
  },
  {
    "path": "frontend/src/test.ts",
    "content": "// This file is required by karma.conf.js and loads recursively all the .spec and framework files\n\nimport 'zone.js/dist/zone-testing';\nimport { getTestBed } from '@angular/core/testing';\nimport {\n  BrowserDynamicTestingModule,\n  platformBrowserDynamicTesting\n} from '@angular/platform-browser-dynamic/testing';\n\ndeclare const require: any;\n\n// First, initialize the Angular testing environment.\ngetTestBed().initTestEnvironment(\n  BrowserDynamicTestingModule,\n  platformBrowserDynamicTesting()\n);\n// Then we find all the tests.\nconst context = require.context('./', true, /\\.spec\\.ts$/);\n// And load the modules.\ncontext.keys().map(context);\n"
  },
  {
    "path": "frontend/tsconfig.app.json",
    "content": "{\n  \"extends\": \"./tsconfig.json\",\n  \"compilerOptions\": {\n    \"outDir\": \"./out-tsc/app\",\n    \"types\": []\n  },\n  \"files\": [\n    \"src/main.ts\",\n    \"src/polyfills.ts\"\n  ],\n  \"include\": [\n    \"src/**/*.d.ts\"\n  ],\n  \"exclude\": [\n    \"src/test.ts\",\n    \"src/**/*.spec.ts\"\n  ]\n}\n"
  },
  {
    "path": "frontend/tsconfig.json",
    "content": "{\n  \"compileOnSave\": false,\n  \"compilerOptions\": {\n    \"baseUrl\": \"./\",\n    \"outDir\": \"./dist/out-tsc\",\n    \"sourceMap\": true,\n    \"declaration\": false,\n    \"downlevelIteration\": true,\n    \"experimentalDecorators\": true,\n    \"module\": \"esnext\",\n    \"moduleResolution\": \"node\",\n    \"importHelpers\": true,\n    \"target\": \"es2015\",\n    \"typeRoots\": [\n      \"node_modules/@types\"\n    ],\n    \"lib\": [\n      \"es2018\",\n      \"dom\"\n    ]\n  },\n  \"angularCompilerOptions\": {\n    \"fullTemplateTypeCheck\": true,\n    \"strictInjectionParameters\": true\n  }\n}\n"
  },
  {
    "path": "frontend/tsconfig.spec.json",
    "content": "{\n  \"extends\": \"./tsconfig.json\",\n  \"compilerOptions\": {\n    \"outDir\": \"./out-tsc/spec\",\n    \"types\": [\n      \"jasmine\",\n      \"node\"\n    ]\n  },\n  \"files\": [\n    \"src/test.ts\",\n    \"src/polyfills.ts\"\n  ],\n  \"include\": [\n    \"src/**/*.spec.ts\",\n    \"src/**/*.d.ts\"\n  ]\n}\n"
  },
  {
    "path": "frontend/tslint.json",
    "content": "{\n  \"extends\": \"tslint:recommended\",\n  \"rules\": {\n    \"array-type\": false,\n    \"arrow-parens\": false,\n    \"deprecation\": {\n      \"severity\": \"warning\"\n    },\n    \"component-class-suffix\": true,\n    \"contextual-lifecycle\": true,\n    \"directive-class-suffix\": true,\n    \"directive-selector\": [\n      true,\n      \"attribute\",\n      \"app\",\n      \"camelCase\"\n    ],\n    \"component-selector\": [\n      true,\n      \"element\",\n      \"app\",\n      \"kebab-case\"\n    ],\n    \"import-blacklist\": [\n      true,\n      \"rxjs/Rx\"\n    ],\n    \"interface-name\": false,\n    \"max-classes-per-file\": false,\n    \"max-line-length\": [\n      true,\n      140\n    ],\n    \"member-access\": false,\n    \"member-ordering\": [\n      true,\n      {\n        \"order\": [\n          \"static-field\",\n          \"instance-field\",\n          \"static-method\",\n          \"instance-method\"\n        ]\n      }\n    ],\n    \"no-consecutive-blank-lines\": false,\n    \"no-console\": [\n      true,\n      \"debug\",\n      \"info\",\n      \"time\",\n      \"timeEnd\",\n      \"trace\"\n    ],\n    \"no-empty\": false,\n    \"no-inferrable-types\": [\n      true,\n      \"ignore-params\"\n    ],\n    \"no-non-null-assertion\": true,\n    \"no-redundant-jsdoc\": true,\n    \"no-switch-case-fall-through\": true,\n    \"no-var-requires\": false,\n    \"object-literal-key-quotes\": [\n      true,\n      \"as-needed\"\n    ],\n    \"object-literal-sort-keys\": false,\n    \"ordered-imports\": false,\n    \"quotemark\": [\n      true,\n      \"single\"\n    ],\n    \"trailing-comma\": false,\n    \"no-conflicting-lifecycle\": true,\n    \"no-host-metadata-property\": true,\n    \"no-input-rename\": true,\n    \"no-inputs-metadata-property\": true,\n    \"no-output-native\": true,\n    \"no-output-on-prefix\": true,\n    \"no-output-rename\": true,\n    \"no-outputs-metadata-property\": true,\n    \"template-banana-in-box\": true,\n    \"template-no-negated-async\": true,\n    \"use-lifecycle-interface\": true,\n    \"use-pipe-transform-interface\": true\n  },\n  \"rulesDirectory\": [\n    \"codelyzer\"\n  ]\n}"
  },
  {
    "path": "generate_countries.js",
    "content": "////////////////////////////////////////////////////////////////////////////////\n//                                                                            //\n// Utility that updates the 'countries' and 'global' tables based on 'users'  //\n//                                                                            //\n////////////////////////////////////////////////////////////////////////////////\n\n\n// Load the AWS SDK for Node.js\nvar AWS = require('aws-sdk');\n// Set the region\nAWS.config.update({region: 'us-east-2'});\n// Create DynamoDB service object\nvar ddb = new AWS.DynamoDB({apiVersion: '2012-08-10'});\nvar params = {\n    TableName: \"users\",\n    ProjectionExpression: \"longTermAudioFeatures, country, obscurifyScore\"\n};\nvar requests = [];\nvar batches = [];\nvar countries = {}; // a country looks like:\n// key -> country code, ex. \"US\"\n// breakdown : [ { score of x : amount of users getting that score }, { } , ...]\n// averageScore : 180\n// userCount : 15,000\n// audioFeatureAverages : audioFeatureAverages\nvar globalAverageScore = 0;\nvar globalUserCount = 0;\ntry {\n  ddb.scan(params, onScan);\n} catch (err) {\n  console.log(err);\n}\nasync function onScan(err, data) {\n    var count = 0;\n    if (err) {\n        console.error(\"Unable to scan the table. Error JSON:\", JSON.stringify(err, null, 2));\n    } else {\n        console.log(\"Scan succeeded.\");\n        data.Items.forEach(function(user) {\n            if (user.obscurifyScore != undefined) {\n              globalAverageScore += parseInt(user.obscurifyScore.N);\n              globalUserCount += 1;\n              if (user.country.S in countries) {\n                  var newUserCount = parseInt(countries[user.country.S].userCount) + 1;\n                  var newTotalScore = parseFloat(countries[user.country.S].averageScore) * parseInt(countries[user.country.S].userCount) + parseFloat(user.obscurifyScore.N);\n                  var oldAudioFeatureAverages = countries[user.country.S].audioFeatureAverages;\n                  var newAudioFeatureAverages = {\n                    'danceability' : { N: ((parseFloat(oldAudioFeatureAverages.danceability.N) * parseInt(countries[user.country.S].userCount) + parseFloat(user.longTermAudioFeatures.M.danceability.N)) / newUserCount).toString() },\n                    'energy' : { N: ((parseFloat(oldAudioFeatureAverages.energy.N) * parseInt(countries[user.country.S].userCount) + parseFloat(user.longTermAudioFeatures.M.energy.N)) / newUserCount).toString() },\n                    'happiness' : { N: ((parseFloat(oldAudioFeatureAverages.happiness.N) * parseInt(countries[user.country.S].userCount) + parseFloat(user.longTermAudioFeatures.M.happiness.N)) / newUserCount).toString() },\n                    'acousticness' : { N: ((parseFloat(oldAudioFeatureAverages.acousticness.N) * parseInt(countries[user.country.S].userCount) + parseFloat(user.longTermAudioFeatures.M.acousticness.N)) / newUserCount).toString() }\n                  };\n                  var breakdown = countries[user.country.S].breakdown;\n                  var key = user.obscurifyScore.N.toString();\n                  if (key in breakdown) {\n                      breakdown[key] = breakdown[key] + 1;\n                  }\n                  else {\n                      breakdown[key] = 1;\n                  }\n                  countries[user.country.S] = {\n                    \"code\" : user.country.S,\n                    \"breakdown\" : breakdown,\n                    \"averageScore\" : newTotalScore / newUserCount,\n                    \"userCount\" : newUserCount,\n                    \"audioFeatureAverages\" : newAudioFeatureAverages\n                  }\n              }\n              else { //new country\n                  var breakdown = {};\n                  var key = user.obscurifyScore.N.toString();\n                  breakdown[key] = 1;\n                  countries[user.country.S] = {\n                    'code' : user.country.S,\n                    'breakdown' : breakdown,\n                    'averageScore' : user.obscurifyScore.N,\n                    'userCount' : 1,\n                    'audioFeatureAverages' : user.longTermAudioFeatures.M\n                  }\n              }\n            }\n        });\n        // continue scanning if we have more items\n        if (typeof data.LastEvaluatedKey != \"undefined\") {\n            console.log(\"Scanning for more...\");\n            params.ExclusiveStartKey = data.LastEvaluatedKey;\n            ddb.scan(params, onScan);\n        } else {\n          let params = {\n              TableName: 'global',\n              Item: {\n                'planet' : { S: 'earth' },\n                'userCount' : { N: globalUserCount.toString() },\n                'averageScore' : { N: (globalAverageScore / globalUserCount).toString() }\n              }\n          };\n          ddb.putItem(params, function(err, data) {\n              if (err) {\n                console.log(err);\n              } else {\n                console.log(data);\n              }\n          });\n          for (country in countries) {\n              Object.keys(countries[country].breakdown).forEach(function(key) {\n                  countries[country].breakdown[key] = { N: countries[country].breakdown[key].toString() };\n              });\n              let request = {\n                  PutRequest: {\n                    Item: {\n                      'code' : { S: countries[country].code },\n                      'audioFeatureAverages' : { M: countries[country].audioFeatureAverages },\n                      'averageScore' : { N: countries[country].averageScore.toString() },\n                      'breakdown' : { M: countries[country].breakdown },\n                      'userCount' : { N: countries[country].userCount.toString() }\n                    }\n                  }\n              }\n              requests.push(request);\n          }\n          batches = splitRecordsIntoBatches(requests);\n          const dbResponse = await Promise.all(batches.map(batch => putRecordsIntoDynamo(batch)));\n        }\n    }\n\n}\n\n\nfunction putRecordsIntoDynamo(requests) {\n  return new Promise(async(resolve, reject) => {\n      var dbParams = {\n          RequestItems: {\n              \"countries\": requests\n          }\n      };\n      let attemptCount = 0;\n      var processItemsCallback = function(err, data) {\n          if (err) {\n              return reject(err);\n          }\n          else {\n              var params = {};\n              params.RequestItems = data.UnprocessedItems;\n              if (Object.keys(params.RequestItems).length != 0 && attemptCount < 5) {\n                  attemptCount += 1;\n                  console.log(\"attempt #\" + attemptCount + \": \" + data);\n                  ddb.batchWriteItem(params, processItemsCallback);\n              }\n              else {\n                  console.log(data);\n                  return resolve(data);\n              }\n          }\n      };\n      ddb.batchWriteItem(dbParams, processItemsCallback);\n  });\n}\n\n\nfunction splitRecordsIntoBatches(records) {\n    let batches = [];\n    while (records.length > 0) {\n        let batch = [];\n        if (records.length > 25) {\n            batch = records.slice(0, 25);\n            records = records.slice(25, records.length);\n        }\n        else {\n            batch = records;\n            records = [];\n        }\n        batches.push(batch);\n    }\n    return batches;\n}\n"
  },
  {
    "path": "lambda/getObscurifyData.js",
    "content": "// dependencies\nvar AWS = require('aws-sdk');\n\n// Set the region\nAWS.config.update({ region: 'us-east-2' });\n\n// Create DynamoDB service object\nvar ddb = new AWS.DynamoDB({ apiVersion: '2012-08-10' });\n\n\nexports.handler = function(event, context, callback) {\n    var obscurifyScore = event['queryStringParameters']['obscurifyScore'] || null;\n    var recentObscurifyScore = event['queryStringParameters']['recentObscurifyScore'] || null;\n    var code = event['queryStringParameters']['code'] || null;\n    if (obscurifyScore == null || code == null || recentObscurifyScore == null) {\n      return callback('provide parameters');\n    }\n    var audioFeatureAverages = {\n      'danceability' : 0,\n      'energy' : 0,\n      'happiness' : 0,\n      'acousticness' : 0\n    };\n    var percentileByCountryAllTime = 0;\n    var percentileByCountryRecent = 0;\n    let params = {\n      TableName: 'countries',\n      Key: {\n        'code': { S: code }\n      }\n    };\n    // Call DynamoDB to read the item from the table\n    ddb.getItem(params, function(err, data) {\n      if (err) {\n        console.log(\"Error on countries read\", err);\n        callback(err);\n      } else {\n        console.log(\"Success\", data.Item);\n        if (data.Item == undefined) {\n          percentileByCountryAllTime = null;\n          percentileByCountryRecent = null;\n          //values pulled from obscurify 1.0 global averages\n      \t\taudioFeatureAverages.danceability = 0.57;\n      \t\taudioFeatureAverages.energy = 0.65;\n      \t\taudioFeatureAverages.happiness = 0.45;\n      \t\taudioFeatureAverages.acousticness = 0.22;\n        } else {\n          var usersBelowAllTime = 0;\n          var usersBelowRecent = 0;\n          var value;\n          Object.keys(data.Item.breakdown.M).forEach(function(key) {\n              value = data.Item.breakdown.M[key];\n              if (parseInt(key) < parseInt(obscurifyScore)) {\n                usersBelowAllTime += parseInt(value.N);\n              }\n              if (parseInt(key) < parseInt(recentObscurifyScore)) {\n                usersBelowRecent += parseInt(value.N);\n              }\n          });\n          var usersAboveAllTime = data.Item.userCount.N - usersBelowAllTime;\n          var usersAboveRecent = data.Item.userCount.N - usersBelowRecent;\n    \t\t  percentileByCountryAllTime = ( usersAboveAllTime / data.Item.userCount.N ) * 100;\n    \t\t  percentileByCountryRecent = ( usersAboveRecent / data.Item.userCount.N ) * 100;\n          let globalParams = {\n            TableName: 'global',\n            Key: {\n              'planet': { S: 'earth' }\n            }\n          };\n          ddb.getItem(globalParams, function(err2, globalData) {\n            if (err2 || globalData.Item.averageScore == undefined) {\n                console.log(\"Error on global table get:\", err);\n                return callback(null, JSON.stringify({\n                    \"percentileByCountryAllTime\" : null,\n                    \"percentileByCountryRecent\" : null,\n                    \"globalAverageScore\" : null,\n                    \"totalUserCount\" : null,\n                    \"userCountByCountry\" : null,\n                    \"audioFeatureAverages\" : null,\n                    \"averageScore\" : null,\n                    \"breakdown\" : null\n                  }));\n            } else {\n              callback(null, {\n                  \"statusCode\": 200,\n                  \"headers\": {\n                      \"X-Requested-With\": '*',\n                      \"Access-Control-Allow-Headers\": 'Content-Type,X-Amz-Date,Authorization,X-Api-Key,x-requested-with',\n                      \"Access-Control-Allow-Origin\": '*',\n                      \"Access-Control-Allow-Methods\": 'GET,OPTIONS'\n                  },\n                  \"body\": JSON.stringify({\n                    \"percentileByCountryAllTime\" : percentileByCountryAllTime,\n                    \"percentileByCountryRecent\" : percentileByCountryRecent,\n                    \"globalAverageScore\" : globalData.Item.averageScore.N,\n                    \"totalUserCount\" : globalData.Item.userCount.N,\n                    \"userCountByCountry\" : data.Item.userCount.N,\n                    \"audioFeatureAverages\" : data.Item.audioFeatureAverages.M,\n                    \"averageScore\" : data.Item.averageScore.N,\n                    \"breakdown\" : data.Item.breakdown.M\n                  }),\n              });\n            }\n          });\n        }\n\n      }\n    });\n\n};\n"
  },
  {
    "path": "lambda/getUserHistory.js",
    "content": "// dependencies\nvar AWS = require('aws-sdk');\n\n// Set the region\nAWS.config.update({ region: 'us-east-2' });\n\n// Create DynamoDB service object\nvar ddb = new AWS.DynamoDB({ apiVersion: '2012-08-10' });\n\n\nexports.handler = function(event, context, callback) {\n    var userID = event['queryStringParameters']['userID'] || null;\n    var hex = event['queryStringParameters']['hex'] || null;\n    if (userID == undefined || hex == undefined) {\n  \t\tcallback('supply userID and hex')\n  \t}\n    //var initialTime = new Date();\n    var params = {\n      TableName: 'users',\n      Key: {\n        'userID': { S: userID }\n      },\n      ProjectionExpression: 'userHistory, hex'\n    };\n    ddb.getItem(params, function(err, data) {\n        if (err) {\n          console.log(\"Error on user history read:\", err);\n          callback(err);\n        } else {\n          if (data.Item == undefined || data.Item.userHistory == undefined) {\n            callback(null, {\n                  \"statusCode\": 200,\n                  \"headers\": {\n                      \"X-Requested-With\": '*',\n                      \"Access-Control-Allow-Headers\": 'Content-Type,X-Amz-Date,Authorization,X-Api-Key,x-requested-with',\n                      \"Access-Control-Allow-Origin\": '*',\n                      \"Access-Control-Allow-Methods\": 'GET,OPTIONS'\n                  },\n                  \"body\": JSON.stringify({\n                    \"message\" : \"getUserHistory returned nothing on DB read\"\n                  }),\n              });\n          } else if (data.Item.hex.S != hex) {\n            callback(\"query hex does not match DB hex\");\n          } else {\n              //var difference = (new Date() - initialTime) / 1000;\n              //console.log(\"DB :: You waited \" + difference + \" seconds for the get history call\");\n              let formattedHistory = data.Item.userHistory.L;\n              formattedHistory = data.Item.userHistory.L.map(x => x.M);\n              for (let history of formattedHistory) {\n                  history.shortTermArtistIDs = history.shortTermArtistIDs.L;\n                  history.shortTermArtistIDs = history.shortTermArtistIDs.map(x => x.S);\n                  history.shortTermTrackIDs = history.shortTermTrackIDs.L;\n                  history.shortTermTrackIDs = history.shortTermTrackIDs.map(x => x.S);\n                  history.dayOfYear = history.dayOfYear.N;\n                  history.year = history.year.N;\n                  history.formattedDate = history.formattedDate.S;\n              }\n              callback(null, {\n                  \"statusCode\": 200,\n                  \"headers\": {\n                      \"X-Requested-With\": '*',\n                      \"Access-Control-Allow-Headers\": 'Content-Type,X-Amz-Date,Authorization,X-Api-Key,x-requested-with',\n                      \"Access-Control-Allow-Origin\": '*',\n                      \"Access-Control-Allow-Methods\": 'GET,OPTIONS'\n                  },\n                  \"body\": JSON.stringify({\n                    'userID' : userID,\n                    'userHistory' : formattedHistory\n                  }),\n              });\n          }\n        }\n      });\n   \n};\n"
  },
  {
    "path": "lambda/saveUserHistory.js",
    "content": "// dependencies\nvar AWS = require('aws-sdk');\nvar moment = require('moment');\n\n// Set the region\nAWS.config.update({ region: 'us-east-2' });\n\n// Create DynamoDB service object\nvar ddb = new AWS.DynamoDB({ apiVersion: '2012-08-10' });\nvar minDaysBetweenUpdateUser = 28;\n\nexports.handler = function(event, context, callback) {\n    var body = JSON.parse(event['body']);\n    var country = body['country'] || null;\n    var userID = body['userID'] || null;\n    var longTermArtistIDs = body['longTermArtistIDs'] || null;\n    var longTermTrackIDs = body['longTermTrackIDs'] || null;\n    var obscurifyScore = body['obscurifyScore'] || null;\n    var longTermAudioFeatures = body['longTermAudioFeatures'] || null;\n    var shortTermArtistIDs = body['shortTermArtistIDs'] || null;\n    var shortTermTrackIDs = body['shortTermTrackIDs'] || null;\n    var hex = body['hex'] || null;\n    if (country == null || longTermArtistIDs == null || longTermTrackIDs == null ||\n        obscurifyScore == null || longTermAudioFeatures == null || hex == null) {\n  \t\t    callback('missing params');\n  \t}\n  \tvar historyInstance = {\n  \t\t'shortTermArtistIDs' : shortTermArtistIDs,\n  \t\t'shortTermTrackIDs' : shortTermTrackIDs,\n  \t\t'formattedDate' : moment().format(\"MMM Do YY\"),\n  \t\t'dayOfYear' : moment().dayOfYear(),\n  \t\t'year' : moment().year()\n  \t};\n    var userHistory = [];\n    var params = {\n      TableName: 'users',\n      Key: {\n        'userID': { S: userID }\n      },\n      ProjectionExpression: 'userHistory, obscurifyScore, longTermAudioFeatures, hex'\n    };\n    ddb.getItem(params, function(err, data) {\n      if (err) {\n        console.log(\"Error on users table get:\", err);\n        return callback(err)\n      } else if (data.Item.hex == undefined || data.Item.hex.S != hex) {\n        return callback('hex probs')\n      } else {\n        longTermArtistIDs = longTermArtistIDs.map(id => ({\"S\" : id }) );\n        longTermTrackIDs = longTermTrackIDs.map(id => ({\"S\" : id }) );\n        for (let feature in longTermAudioFeatures) {\n            longTermAudioFeatures[feature] = { \"N\" : longTermAudioFeatures[feature].toString() };\n        }\n        var formattedHistory = {};\n        if ((shortTermArtistIDs == undefined || shortTermArtistIDs.length == 0)\n            || (shortTermTrackIDs == undefined || shortTermTrackIDs.length == 0)) {\n          //\n        } else {\n          shortTermArtistIDs = historyInstance.shortTermArtistIDs.map(id => ({\"S\" : id }) );\n          shortTermTrackIDs = historyInstance.shortTermTrackIDs.map(id => ({\"S\" : id }) );\n          formattedHistory.shortTermArtistIDs = { \"L\" : shortTermArtistIDs };\n          formattedHistory.shortTermTrackIDs = { \"L\" : shortTermTrackIDs };\n          formattedHistory.formattedDate = { \"S\" : historyInstance.formattedDate };\n          formattedHistory.dayOfYear = { \"N\" : historyInstance.dayOfYear.toString() };\n          formattedHistory.year = { \"N\" : historyInstance.year.toString() };\n        }\n        if (data.Item == undefined || data.Item.userHistory == undefined || data.Item.userHistory.L == undefined) {\n              //user history not found in DB\n              if (shortTermTrackIDs.length > 0 && formattedHistory.year != undefined) {\n                userHistory.unshift( { \"M\" : formattedHistory} );\n              }\n              addOrUpdateUser(userHistory, longTermAudioFeatures, obscurifyScore.toString(),\n                                    longTermTrackIDs, longTermArtistIDs, country, userID,\n                                    true, null, null);\n        } else {\n            //existing user\n            userHistory = data.Item.userHistory.L;\n            if (userHistory.length == 0) {\n              if (formattedHistory.year == undefined || formattedHistory.shortTermTrackIDs == undefined) {\n                callback(null, {\n                  \"statusCode\": 200,\n                  \"headers\": {\n                      \"X-Requested-With\": '*',\n                      \"Access-Control-Allow-Headers\": 'Content-Type,X-Amz-Date,Authorization,X-Api-Key,x-requested-with',\n                      \"Access-Control-Allow-Origin\": '*',\n                      \"Access-Control-Allow-Methods\": 'POST,OPTIONS'\n                  },\n                  \"body\": JSON.stringify({\"status\" : \"ok, no update history still empty\"}),\n              });\n              } else {\n                userHistory.unshift( { \"M\" : formattedHistory} );\n                addOrUpdateUser(userHistory, longTermAudioFeatures, obscurifyScore.toString(),\n                                    longTermTrackIDs, longTermArtistIDs, country, userID,\n                                    false, data.Item.longTermAudioFeatures.M, data.Item.obscurifyScore.N);\n              }\n            } else if (moment().year() > userHistory[0].M.year.N || (moment().dayOfYear() - userHistory[0].M.dayOfYear.N > minDaysBetweenUpdateUser)) {\n                if (formattedHistory.year != undefined && formattedHistory.shortTermTrackIDs != undefined) {\n                  userHistory.unshift( { \"M\" : formattedHistory} );\n                }\n                addOrUpdateUser(userHistory, longTermAudioFeatures, obscurifyScore.toString(),\n                                    longTermTrackIDs, longTermArtistIDs, country, userID,\n                                    false, data.Item.longTermAudioFeatures.M, data.Item.obscurifyScore.N);\n          \t} else {\n          \t  callback(null, {\n                  \"statusCode\": 200,\n                  \"headers\": {\n                      \"X-Requested-With\": '*',\n                      \"Access-Control-Allow-Headers\": 'Content-Type,X-Amz-Date,Authorization,X-Api-Key,x-requested-with',\n                      \"Access-Control-Allow-Origin\": '*',\n                      \"Access-Control-Allow-Methods\": 'POST,OPTIONS'\n                  },\n                  \"body\": JSON.stringify({\"status\" : \"ok, no update because last history is recent\"}),\n              });\n          \t}\n        }\n      }\n    });\n\n\n    function addOrUpdateUser(userHistory, longTermAudioFeatures, obscurifyScore,\n                            longTermTrackIDs, longTermArtistIDs, country, userID,\n                            newUserFlag, oldLongTermAudioFeatures, oldObscurifyScore) {\n      let userParams = {\n        TableName: 'users',\n        Item: {\n          'userID' : { S: userID },\n          'hex' : { S: hex },\n          'country' : { S: country },\n          'longTermArtistIDs' : { L: longTermArtistIDs },\n          'longTermTrackIDs' : { L: longTermTrackIDs },\n          'obscurifyScore' : { N: obscurifyScore },\n          'longTermAudioFeatures' : { M: longTermAudioFeatures },\n          'userHistory' : { L: userHistory }\n        }\n      };\n      ddb.putItem(userParams, function(err, userData) {\n          if (err) {\n            console.log(\"Error on user table insert:\", err);\n            callback(err)\n          } else {\n            //now update the countries table\n            let countryParams = {\n              TableName: 'countries',\n              Key: {\n                'code' : { S: country }\n              }\n            };\n            ddb.getItem(countryParams, function(err2, countryData) {\n              if (err2) {\n                console.log(\"Error on countries table get:\", err2);\n                callback(err2)\n              } else {\n                  if (countryData.Item == undefined) {\n                      addNewCountry(country, longTermAudioFeatures, obscurifyScore);\n                  } else {\n                      updateCountry(countryData.Item, longTermAudioFeatures, obscurifyScore,\n                        newUserFlag, oldLongTermAudioFeatures, oldObscurifyScore);\n                  }\n              }\n            });\n          }\n      });\n    }\n\n    function updateCountry(countryData, longTermAudioFeatures, obscurifyScore,\n                          newUserFlag, oldLongTermAudioFeatures, oldObscurifyScore) {\n        if (newUserFlag) {\n            let breakdown = countryData.breakdown.M;\n            if (breakdown[obscurifyScore.toString()]) {\n                let newValue = parseInt(breakdown[obscurifyScore.toString()].N) + 1;\n                breakdown[obscurifyScore.toString()] = { N: newValue.toString()};\n            } else {\n                breakdown[obscurifyScore.toString()] = { N: \"1\" };\n            }\n            let oldUserCount = parseInt(countryData.userCount.N);\n            let oldAverageScore = parseFloat(countryData.averageScore.N);\n            let averageScore = ((oldUserCount * oldAverageScore) + parseInt(obscurifyScore)) / (oldUserCount + 1);\n            let userCount = (oldUserCount + 1).toString();\n            let audioFeatureAverages = countryData.audioFeatureAverages.M;\n            for (let key in audioFeatureAverages) {\n                let oldAudioFeature = parseFloat(audioFeatureAverages[key].N);\n                let audioFeature = ((oldUserCount * oldAudioFeature) + parseFloat(longTermAudioFeatures[key].N)) / (oldUserCount + 1);\n                audioFeatureAverages[key].N = audioFeature.toString();\n            }\n            let params = {\n                TableName: 'countries',\n                Item: {\n                  'code' : { S: countryData.code.S },\n                  'audioFeatureAverages' : { M: audioFeatureAverages },\n                  'averageScore' : { N: averageScore.toString() },\n                  'breakdown' : { M: breakdown },\n                  'userCount' : { N: userCount }\n                }\n            };\n            ddb.putItem(params, function(err, data) {\n                if (err) {\n                  console.log(\"Error on country table update:\", err);\n                  callback(err)\n                } else {\n                  updateGlobalTable(true, obscurifyScore, null);\n                }\n            });\n        } else {\n          let breakdown = countryData.breakdown.M;\n          if (breakdown[oldObscurifyScore.toString()]) {\n              let newValue = parseInt(breakdown[oldObscurifyScore.toString()].N) - 1;\n              breakdown[oldObscurifyScore.toString()] = { N: newValue.toString()};\n          }\n          if (breakdown[obscurifyScore.toString()]) {\n              let newValue = parseInt(breakdown[obscurifyScore.toString()].N) + 1;\n              breakdown[obscurifyScore.toString()] = { N: newValue.toString()};\n          } else {\n              breakdown[obscurifyScore.toString()] = { N: \"1\" };\n          }\n          let userCount = parseInt(countryData.userCount.N);\n          let oldAverageScore = parseFloat(countryData.averageScore.N);\n          let averageScore = ((userCount * oldAverageScore) - parseInt(oldObscurifyScore) + parseInt(obscurifyScore)) / userCount;\n          let audioFeatureAverages = countryData.audioFeatureAverages.M;\n          for (let key in audioFeatureAverages) {\n              let oldAudioFeature = parseFloat(audioFeatureAverages[key].N);\n              let audioFeature = ((userCount * oldAudioFeature) + parseFloat(longTermAudioFeatures[key].N) - parseFloat(oldLongTermAudioFeatures[key].N)) / userCount;\n              audioFeatureAverages[key].N = audioFeature.toString();\n          }\n          let params = {\n              TableName: 'countries',\n              Item: {\n                'code' : { S: countryData.code.S },\n                'audioFeatureAverages' : { M: audioFeatureAverages },\n                'averageScore' : { N: averageScore.toString() },\n                'breakdown' : { M: breakdown },\n                'userCount' : { N: userCount.toString() }\n              }\n          };\n          ddb.putItem(params, function(err, data) {\n              if (err) {\n                console.log(\"Error on country table update:\", err);\n                callback(err)\n              } else {\n                updateGlobalTable(false, obscurifyScore, oldObscurifyScore);\n              }\n          });\n        }\n    }\n\n    function addNewCountry(country, longTermAudioFeatures, obscurifyScore) {\n        let breakdown = {};\n        breakdown[obscurifyScore.toString()] = { N: \"1\" };\n        if (longTermAudioFeatures[\"tracksCounted\"]) { delete longTermAudioFeatures[\"tracksCounted\"]; }\n        let params = {\n            TableName: 'countries',\n            Item: {\n              'code' : { S: country },\n              'audioFeatureAverages' : { M: longTermAudioFeatures },\n              'averageScore' : { N: obscurifyScore },\n              'breakdown' : { M: breakdown },\n              'userCount' : { N: \"1\" }\n            }\n        };\n        ddb.putItem(params, function(err, data) {\n            if (err) {\n              console.log(\"Error on country table insert:\", err);\n              callback(err)\n            } else {\n              updateGlobalTable(true, obscurifyScore, null);\n            }\n        });\n    }\n\n\n    function updateGlobalTable(newUserFlag, obscurifyScore, oldObscurifyScore) {\n        let params = {\n          TableName: 'global',\n          Key: {\n            'planet' : { S: 'earth' }\n          }\n        };\n        ddb.getItem(params, function(err, data) {\n            if (err) {\n              console.log(\"Error on global table get:\", err);\n              callback(err)\n            } else {\n                if (data.Item == undefined) {\n                  let globalParams = {\n                      TableName: 'global',\n                      Item: {\n                        'planet' : { S: 'earth' },\n                        'userCount' : { N: '1' },\n                        'averageScore' : { N: obscurifyScore.toString() }\n                      }\n                  };\n                  ddb.putItem(globalParams, function(err2, globalData) {\n                      if (err2) {\n                        console.log(\"Error on global table insert:\", err2);\n                        callback(err2)\n                      } else {\n                        callback(null, {\n                            \"statusCode\": 200,\n                            \"headers\": {\n                                \"X-Requested-With\": '*',\n                                \"Access-Control-Allow-Headers\": 'Content-Type,X-Amz-Date,Authorization,X-Api-Key,x-requested-with',\n                                \"Access-Control-Allow-Origin\": '*',\n                                \"Access-Control-Allow-Methods\": 'POST,OPTIONS'\n                            },\n                            \"body\": JSON.stringify({\"status\" : \"all clear -- fresh global table began\"}),\n                        });\n                      }\n                  });\n                } else {\n                    let averageScore = parseFloat(data.Item.averageScore.N);\n                    let userCount = parseInt(data.Item.userCount.N);\n                    if (newUserFlag && oldObscurifyScore == null) {\n                        averageScore = ((userCount * averageScore) + parseInt(obscurifyScore)) / (userCount + 1);\n                        userCount += 1;\n                    } else {\n                        averageScore = ((userCount * averageScore) - parseInt(oldObscurifyScore) + parseInt(obscurifyScore)) / userCount;\n                    }\n                    let globalParams = {\n                        TableName: 'global',\n                        Item: {\n                          'planet' : { S: 'earth' },\n                          'userCount' : { N: userCount.toString() },\n                          'averageScore' : { N: averageScore.toString() }\n                        }\n                    };\n                    ddb.putItem(globalParams, function(err2, globalData) {\n                        if (err2) {\n                          console.log(\"Error on global table insert:\", err2);\n                          callback(err2)\n                        } else {\n                            callback(null, {\n                                \"statusCode\": 200,\n                                \"headers\": {\n                                    \"X-Requested-With\": '*',\n                                    \"Access-Control-Allow-Headers\": 'Content-Type,X-Amz-Date,Authorization,X-Api-Key,x-requested-with',\n                                    \"Access-Control-Allow-Origin\": '*',\n                                    \"Access-Control-Allow-Methods\": 'POST,OPTIONS'\n                                },\n                                \"body\": JSON.stringify({\"status\" : newUserFlag ? \"all clear - new user added\" : \"all clear - user updated\"}),\n                            });\n                        }\n                    });\n                }\n            }\n        });\n    }\n\n};\n"
  },
  {
    "path": "lambda/spotifyCallback.js",
    "content": "const axios = require(\"axios\");\nconst querystring = require('querystring');\nvar crypto = require('crypto');\nvar AWS = require('aws-sdk');\nAWS.config.update({ region: 'us-east-2' });\n\n// Create DynamoDB service object\nvar ddb = new AWS.DynamoDB({ apiVersion: '2012-08-10' });\n\nvar redirect_uri = process.env.redirect_uri;\nvar client_id = process.env.client_id;\nvar client_secret = process.env.client_secret;\n\nmodule.exports.handler = (event, context, callback) => {\n    var code = event['queryStringParameters']['code'] || null;\n    var state = event['queryStringParameters']['state'] || null;\n    const headers = {\n            'Content-Type': 'application/x-www-form-urlencoded',\n            'Authorization': 'Basic ' + (new Buffer.from(client_id + ':' + client_secret).toString('base64'))\n          }\n    axios.post('https://accounts.spotify.com/api/token?grant_type=authorization_code&code='\n    + code + '&redirect_uri=' + redirect_uri, querystring.stringify({}), {\n        headers: headers\n    })\n    .then(function(response) {\n        const headers2 = {\n            'Accept' : 'application/json',\n            'Authorization': 'Bearer ' + response.data.access_token\n          }\n        axios.get(\"https://api.spotify.com/v1/me\", {\n            headers: headers2\n        })\n        .then(function(response2) {\n            let userID = response2.data.id;\n            var params = {\n              TableName: 'users',\n              Key: {\n                'userID': { S: userID }\n              },\n              ProjectionExpression: 'userHistory, hex'\n            };\n            ddb.getItem(params, function(err, data) {\n            if (err) {\n              console.log(\"Error on user history read:\", err);\n              callback(err);\n            } else {\n                if (data.Item != undefined && data.Item.hex != undefined && data.Item.hex.S.length > 0) {\n                    callback(null, {\n                                statusCode: 301,\n                                headers: {\n                                    Location: process.env.callback_uri + '?spotifyToken=' + response.data.access_token +\n                                        '&obscurifyToken=' + data.Item.hex.S\n                                },\n                            });\n                } else {\n                    // insert new user to dynamo with a hex key\n                    let hex = crypto.randomBytes(20).toString('hex');\n                    let userParams = {\n                        TableName: 'users',\n                        Item: {\n                            'userID' : { S: userID },\n                            'hex' : { S: hex }\n                        }\n                    };\n                    ddb.putItem(userParams, function(err, userData) {\n                        if (err) {\n                            console.log(\"Error on user table insert for adding hex:\", err);\n                            callback(err)\n                        } else {\n                            callback(null, {\n                                statusCode: 301,\n                                headers: {\n                                    Location: process.env.callback_uri + '?spotifyToken=' + response.data.access_token + '&obscurifyToken=' + hex\n                                },\n                            });\n                        }\n                    });\n                }\n            }\n          });\n        })\n        .catch(function(err) {\n          console.error(\"Error: \" + err);\n          callback(err);\n        });\n    })\n    .catch(function(err) {\n       console.error(\"Error: \" + err);\n       callback(err);\n    });\n};\n"
  }
]